PYRSS-Website/apps/static/js/index.min.js
2024-01-28 23:18:51 +00:00

1 line
1.0 MiB
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

!function i(r,o,a){function l(n,e){if(!o[n]){if(!r[n]){var t="function"==typeof require&&require;if(!e&&t)return t(n,!0);if(s)return s(n,!0);throw new Error("Cannot find module '"+n+"'")}e=o[n]={exports:{}};r[n][0].call(e.exports,function(e){var t=r[n][1][e];return l(t||e)},e,e.exports,i,r,o,a)}return o[n].exports}for(var s="function"==typeof require&&require,e=0;e<a.length;e++)l(a[e]);return l}({1:[function(L,H,t){"use strict";function u(e){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0});var A=L("tslib"),p=L("./vdom.cjs"),W=(j.prototype.remove=function(){this.context.dispatch({type:"REMOVE_EVENT_SOURCE",sourceId:this.internalEventSource.sourceId})},j.prototype.refetch=function(){this.context.dispatch({type:"FETCH_EVENT_SOURCES",sourceIds:[this.internalEventSource.sourceId],isRefetch:!0})},Object.defineProperty(j.prototype,"id",{get:function(){return this.internalEventSource.publicId},enumerable:!1,configurable:!0}),Object.defineProperty(j.prototype,"url",{get:function(){return this.internalEventSource.meta.url},enumerable:!1,configurable:!0}),Object.defineProperty(j.prototype,"format",{get:function(){return this.internalEventSource.meta.format},enumerable:!1,configurable:!0}),j);function j(e,t){this.context=e,this.internalEventSource=t}function F(e){e.parentNode&&e.parentNode.removeChild(e)}function l(e,t){if(e.closest)return e.closest(t);if(document.documentElement.contains(e))do{if(z(e,t))return e}while(null!==(e=e.parentElement||e.parentNode)&&1===e.nodeType);return null}function z(e,t){return(e.matches||e.matchesSelector||e.msMatchesSelector).call(e,t)}function V(e,t){for(var n=e instanceof HTMLElement?[e]:e,i=[],r=0;r<n.length;r+=1)for(var o=n[r].querySelectorAll(t),a=0;a<o.length;a+=1)i.push(o[a]);return i}var B=/(top|left|right|bottom|width|height)$/i;function Y(e,t){for(var n in t)U(e,n,t[n])}function U(e,t,n){null==n?e.style[t]="":"number"==typeof n&&B.test(t)?e.style[t]=n+"px":e.style[t]=n}function q(e){var t;return null!=(t=null==(t=e.composedPath)?void 0:t.call(e)[0])?t:e.target}var Z=0;function G(){return"fc-dom-"+(Z+=1)}function X(e){e.preventDefault()}function $(e,t,n,i){function r(e){var t=l(e.target,o);t&&a.call(t,e,t)}var o,a;o=n,a=i;return e.addEventListener(t,r),function(){e.removeEventListener(t,r)}}var K=["webkitTransitionEnd","otransitionend","oTransitionEnd","msTransitionEnd","transitionend"];function Q(e){return A.__assign({onClick:e},J(e))}function J(t){return{tabIndex:0,onKeyDown:function(e){"Enter"!==e.key&&" "!==e.key||(t(e),e.preventDefault())}}}var ee=0;function te(){return ee+=1,String(ee)}function ne(e){var t,n,i=[],r=[];for("string"==typeof e?r=e.split(/\s*,\s*/):"function"==typeof e?r=[e]:Array.isArray(e)&&(r=e),t=0;t<r.length;t+=1)"string"==typeof(n=r[t])?i.push("-"===n.charAt(0)?{field:n.substring(1),order:-1}:{field:n,order:1}):"function"==typeof n&&i.push({func:n});return i}function ie(e,t,n){for(var i,r=0;r<n.length;r+=1)if(i=re(e,t,n[r]))return i;return 0}function re(e,t,n){return n.func?n.func(e,t):oe(e[n.field],t[n.field])*(n.order||1)}function oe(e,t){return e||t?null==t?-1:null==e?1:"string"==typeof e||"string"==typeof t?String(e).localeCompare(String(t)):e-t:0}function ae(e,t){e=String(e);return"000".substr(0,t-e.length)+e}function le(e,t,n){return"function"==typeof e?e.apply(void 0,t):"string"==typeof e?t.reduce(function(e,t,n){return e.replace("$"+n,t||"")},e):n}function se(e){return e%1==0}function ue(e){var t=e.querySelector(".fc-scrollgrid-shrink-frame"),n=e.querySelector(".fc-scrollgrid-shrink-cushion");if(!t)throw new Error("needs fc-scrollgrid-shrink-frame className");if(n)return e.getBoundingClientRect().width-t.getBoundingClientRect().width+n.getBoundingClientRect().width;throw new Error("needs fc-scrollgrid-shrink-cushion className")}var ce=["sun","mon","tue","wed","thu","fri","sat"];function h(e,t){e=n(e);return e[2]+=t,o(e)}function g(e,t){e=n(e);return e[6]+=t,o(e)}function r(e,t){return(t.valueOf()-e.valueOf())/864e5}function he(e,t){var n=m(e),i=m(t);return{years:0,months:0,days:Math.round(r(n,i)),milliseconds:t.valueOf()-i.valueOf()-(e.valueOf()-n.valueOf())}}function de(e,t){e=fe(e,t);return null!==e&&e%7==0?e/7:null}function fe(e,t){return c(e)===c(t)?Math.round(r(e,t)):null}function m(e){return o([e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()])}function pe(e,t,n,i){t=o([t,0,1+function(e,t,n){n=7+t-n;return-(7+o([e,0,n]).getUTCDay()-t)%7+n-1}(t,n,i)]),n=m(e),i=Math.round(r(t,n));return Math.floor(i/7)+1}function ge(e){return[e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()]}function me(e){return new Date(e[0],e[1]||0,null==e[2]?1:e[2],e[3]||0,e[4]||0,e[5]||0)}function n(e){return[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()]}function o(e){return 1===e.length&&(e=e.concat([0])),new Date(Date.UTC.apply(Date,e))}function ve(e){return!isNaN(e.valueOf())}function c(e){return 1e3*e.getUTCHours()*60*60+1e3*e.getUTCMinutes()*60+1e3*e.getUTCSeconds()+e.getUTCMilliseconds()}function ye(e,t,n,i){return{instanceId:te(),defId:e,range:t,forcedStartTzo:null==n?null:n,forcedEndTzo:null==i?null:i}}var be=Object.prototype.hasOwnProperty;function _e(e,t){var n={};if(t)for(var i in t){for(var r=[],o=e.length-1;0<=o;--o){var a=e[o][i];if("object"===u(a)&&a)r.unshift(a);else if(void 0!==a){n[i]=a;break}}r.length&&(n[i]=_e(r))}for(o=e.length-1;0<=o;--o){var l,s=e[o];for(l in s)l in n||(n[l]=s[l])}return n}function O(e,t){var n,i={};for(n in e)t(e[n],n)&&(i[n]=e[n]);return i}function P(e,t){var n,i={};for(n in e)i[n]=t(e[n],n);return i}function we(e){for(var t={},n=0,i=e;n<i.length;n++)t[i[n]]=!0;return t}function xe(e){var t,n=[];for(t in e)n.push(e[t]);return n}function _(e,t){if(e!==t){for(var n in e)if(be.call(e,n)&&!(n in t))return!1;for(var n in t)if(be.call(t,n)&&e[n]!==t[n])return!1}return!0}function Se(e,t){var n,i=[];for(n in e)!be.call(e,n)||n in t||i.push(n);for(n in t)be.call(t,n)&&e[n]!==t[n]&&i.push(n);return i}function Ce(e,t,n){if(void 0===n&&(n={}),e!==t){for(var i in t)if(!(i in e&&function(e,t,n){if(e===t||!0===n)return 1;if(n)return n(e,t);return}(e[i],t[i],n[i])))return!1;for(var i in e)if(!(i in t))return!1}return!0}function Ee(e,t,n,i){void 0===t&&(t=0),void 0===i&&(i=1);var r=[];null==n&&(n=Object.keys(e).length);for(var o=t;o<n;o+=i){var a=e[o];void 0!==a&&r.push(a)}return r}function ke(e,t,n){var i,r=n.dateEnv,o=n.pluginHooks,a=n.options,l=e.defs,s=O(s=e.instances,function(e){return!l[e.defId].recurringDef});for(i in l){var u=l[i];if(u.recurringDef)for(var c=u.recurringDef.duration,h=0,d=function(e,t,n,i,r){r=r[e.recurringDef.typeId].expand(e.recurringDef.typeData,{start:i.subtract(n.start,t),end:n.end},i);e.allDay&&(r=r.map(m));return r}(u,c=c||(u.allDay?a.defaultAllDayEventDuration:a.defaultTimedEventDuration),t,r,o.recurringTypes);h<d.length;h++){var f=d[h],f=ye(i,{start:f,end:r.add(f,c)});s[f.instanceId]=f}}return{defs:l,instances:s}}var Me=["years","months","days","milliseconds"],De=/^(-?)(?:(\d+)\.)?(\d+):(\d\d)(?::(\d\d)(?:\.(\d\d\d))?)?/;function v(e,t){var n,i;return"string"==typeof e?(n=e,(n=De.exec(n))?{years:0,months:0,days:(i=n[1]?-1:1)*(n[2]?parseInt(n[2],10):0),milliseconds:i*(60*(n[3]?parseInt(n[3],10):0)*60*1e3+60*(n[4]?parseInt(n[4],10):0)*1e3+1e3*(n[5]?parseInt(n[5],10):0)+(n[6]?parseInt(n[6],10):0))}:null):"object"===u(e)&&e?Te(e):"number"==typeof e?Te(((i={})[t||"milliseconds"]=e,i)):null}function Te(e){var t={years:e.years||e.year||0,months:e.months||e.month||0,days:e.days||e.day||0,milliseconds:60*(e.hours||e.hour||0)*60*1e3+60*(e.minutes||e.minute||0)*1e3+1e3*(e.seconds||e.second||0)+(e.milliseconds||e.millisecond||e.ms||0)},e=e.weeks||e.week;return e&&(t.days+=7*e,t.specifiedWeeks=!0),t}function Re(e){return Ae(e)/864e5}function Ae(e){return 31536e6*e.years+2592e6*e.months+864e5*e.days+e.milliseconds}function Oe(e){var t=e.milliseconds;if(t){if(t%1e3!=0)return{unit:"millisecond",value:t};if(t%6e4!=0)return{unit:"second",value:t/1e3};if(t%36e5!=0)return{unit:"minute",value:t/6e4};if(t)return{unit:"hour",value:t/36e5}}return e.days?e.specifiedWeeks&&e.days%7==0?{unit:"week",value:e.days/7}:{unit:"day",value:e.days}:e.months?{unit:"month",value:e.months}:e.years?{unit:"year",value:e.years}:{unit:"millisecond",value:0}}function Pe(e,t,n){void 0===n&&(n=!1);e=(e=e.toISOString()).replace(".000","");return 10<(e=n?e.replace("T00:00:00Z",""):e).length&&(null==t?e=e.replace("Z",""):0!==t&&(e=e.replace("Z",Ne(t,!0)))),e}function Ie(e){return e.toISOString().replace(/T.*$/,"")}function Ne(e,t){void 0===t&&(t=!1);var n=e<0?"-":"+",e=Math.abs(e),i=Math.floor(e/60),e=Math.round(e%60);return t?n+ae(i,2)+":"+ae(e,2):"GMT"+n+i+(e?":"+ae(e,2):"")}function Le(e,t,n){if(e!==t){var i,r=e.length;if(r!==t.length)return!1;for(i=0;i<r;i+=1)if(!(n?n(e[i],t[i]):e[i]===t[i]))return!1}return!0}function w(i,r,o){var a,l;return function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return a?Le(a,t)||(o&&o(l),e=i.apply(this,t),r&&r(e,l)||(l=e)):l=i.apply(this,t),a=t,l}}function He(n,i,r){var o,a,l=this;return function(e){var t;return o?_(o,e)||(r&&r(a),t=n.call(l,e),i&&i(t,a)||(a=t)):a=n.call(l,e),o=e,a}}var We={week:3,separator:0,omitZeroMinute:0,meridiem:0,omitCommas:0},je={timeZoneName:7,era:6,year:5,month:4,day:2,weekday:2,hour:1,minute:1,second:1},Fe=/\s*([ap])\.?m\.?/i,ze=/,/g,Ve=/\s+/g,Be=/\u200e/g,Ye=/UTC|GMT/,Ue=(qe.prototype.format=function(e,t){return this.buildFormattingFunc(this.standardDateProps,this.extendedSettings,t)(e)},qe.prototype.formatRange=function(e,t,n,i){var r=this.standardDateProps,o=this.extendedSettings,a=(l=e.marker,s=t.marker,(a=n.calendarSystem).getMarkerYear(l)===a.getMarkerYear(s)?a.getMarkerMonth(l)===a.getMarkerMonth(s)?a.getMarkerDay(l)===a.getMarkerDay(s)?c(l)===c(s)?0:1:2:4:5);if(!a)return this.format(e,n);var l=a,s=(!(1<l)||"numeric"!==r.year&&"2-digit"!==r.year||"numeric"!==r.month&&"2-digit"!==r.month||"numeric"!==r.day&&"2-digit"!==r.day||(l=1),this.format(e,n)),a=this.format(t,n);if(s===a)return s;r=Ze(function(e,t){var n,i={};for(n in e)n in je&&!(je[n]<=t)||(i[n]=e[n]);return i}(r,l),o,n),l=r(e),e=r(t),r=function(e,t,n,i){var r=0;for(;r<e.length;){var o=e.indexOf(t,r);if(-1===o)break;for(var a=e.substr(0,o),l=(r=o+t.length,e.substr(r)),s=0;s<n.length;){var u=n.indexOf(i,s);if(-1===u)break;var c=n.substr(0,u),u=(s=u+i.length,n.substr(s));if(a===c&&l===u)return{before:a,after:l}}}return null}(s,l,a,e),t=o.separator||i||n.defaultSeparator||"";return r?r.before+l+t+e+r.after:s+t+a},qe.prototype.getLargestUnit=function(){switch(this.severity){case 7:case 6:case 5:return"year";case 4:return"month";case 3:return"week";case 2:return"day";default:return"time"}},qe);function qe(e){var t,n={},i={},r=0;for(t in e)t in We?(i[t]=e[t],r=Math.max(We[t],r)):(n[t]=e[t],t in je&&(r=Math.max(je[t],r)));this.standardDateProps=n,this.extendedSettings=i,this.severity=r,this.buildFormattingFunc=w(Ze)}function Ze(e,a,l){var t=Object.keys(e).length;{var o,s,u,n,i,c,h;if(1===t&&"short"===e.timeZoneName)return function(e){return Ne(e.timeZoneOffset)};else return 0===t&&a.week?function(e){var e=l.computeWeekNumber(e.marker),t=l.weekText,n=l.weekTextLong,i=l.locale,r=a.week,o=[];return"long"===r?o.push(n):"short"!==r&&"narrow"!==r||o.push(t),"long"!==r&&"short"!==r||o.push(" "),o.push(i.simpleNumberFormat.format(e)),"rtl"===i.options.direction&&o.reverse(),o.join("")}:(o=e,s=a,u=l,o=A.__assign({},o),s=A.__assign({},s),i=s,(n=o).timeZoneName&&(n.hour||(n.hour="2-digit"),n.minute||(n.minute="2-digit")),"long"===n.timeZoneName&&(n.timeZoneName="short"),i.omitZeroMinute&&(n.second||n.millisecond)&&delete i.omitZeroMinute,o.timeZone="UTC",h=new Intl.DateTimeFormat(u.locale.codes,o),s.omitZeroMinute&&(delete(t=A.__assign({},o)).minute,c=new Intl.DateTimeFormat(u.locale.codes,t)),function(e){var t=e.marker,n=c&&!t.getUTCMinutes()?c:h,n=n.format(t),t=e,e=o,i=s,r=u;return n=n.replace(Be,""),"short"===e.timeZoneName&&(n=function(e,t){var n=!1;e=e.replace(Ye,function(){return n=!0,t}),n||(e+=" "+t);return e}(n,"UTC"===r.timeZone||null==t.timeZoneOffset?"UTC":Ne(t.timeZoneOffset))),i.omitCommas&&(n=n.replace(ze,"").trim()),i.omitZeroMinute&&(n=n.replace(":00","")),!1===i.meridiem?n=n.replace(Fe,"").trim():"narrow"===i.meridiem?n=n.replace(Fe,function(e,t){return t.toLocaleLowerCase()}):"short"===i.meridiem?n=n.replace(Fe,function(e,t){return t.toLocaleLowerCase()+"m"}):"lowercase"===i.meridiem&&(n=n.replace(Fe,function(e){return e.toLocaleLowerCase()})),n=(n=n.replace(Ve," ")).trim()})}}function Ge(e,t){t=t.markerToArray(e.marker);return{marker:e.marker,timeZoneOffset:e.timeZoneOffset,array:t,year:t[0],month:t[1],day:t[2],hour:t[3],minute:t[4],second:t[5],millisecond:t[6]}}function Xe(e,t,n,i){e=Ge(e,n.calendarSystem);return{date:e,start:e,end:t?Ge(t,n.calendarSystem):null,timeZone:n.timeZone,localeCodes:n.locale.codes,defaultSeparator:i||n.defaultSeparator}}Ke.prototype.format=function(e,t,n){return t.cmdFormatter(this.cmdStr,Xe(e,null,t,n))},Ke.prototype.formatRange=function(e,t,n,i){return n.cmdFormatter(this.cmdStr,Xe(e,t,n,i))};var $e=Ke;function Ke(e){this.cmdStr=e}Je.prototype.format=function(e,t,n){return this.func(Xe(e,null,t,n))},Je.prototype.formatRange=function(e,t,n,i){return this.func(Xe(e,t,n,i))};var Qe=Je;function Je(e){this.func=e}function a(e){return"object"===u(e)&&e?new Ue(e):"string"==typeof e?new $e(e):"function"==typeof e?new Qe(e):null}var et={navLinkDayClick:e,navLinkWeekClick:e,duration:v,bootstrapFontAwesome:e,buttonIcons:e,customButtons:e,defaultAllDayEventDuration:v,defaultTimedEventDuration:v,nextDayThreshold:v,scrollTime:v,scrollTimeReset:Boolean,slotMinTime:v,slotMaxTime:v,dayPopoverFormat:a,slotDuration:v,snapDuration:v,headerToolbar:e,footerToolbar:e,defaultRangeSeparator:String,titleRangeSeparator:String,forceEventDuration:Boolean,dayHeaders:Boolean,dayHeaderFormat:a,dayHeaderClassNames:e,dayHeaderContent:e,dayHeaderDidMount:e,dayHeaderWillUnmount:e,dayCellClassNames:e,dayCellContent:e,dayCellDidMount:e,dayCellWillUnmount:e,initialView:String,aspectRatio:Number,weekends:Boolean,weekNumberCalculation:e,weekNumbers:Boolean,weekNumberClassNames:e,weekNumberContent:e,weekNumberDidMount:e,weekNumberWillUnmount:e,editable:Boolean,viewClassNames:e,viewDidMount:e,viewWillUnmount:e,nowIndicator:Boolean,nowIndicatorClassNames:e,nowIndicatorContent:e,nowIndicatorDidMount:e,nowIndicatorWillUnmount:e,showNonCurrentDates:Boolean,lazyFetching:Boolean,startParam:String,endParam:String,timeZoneParam:String,timeZone:String,locales:e,locale:e,themeSystem:String,dragRevertDuration:Number,dragScroll:Boolean,allDayMaintainDuration:Boolean,unselectAuto:Boolean,dropAccept:e,eventOrder:ne,eventOrderStrict:Boolean,handleWindowResize:Boolean,windowResizeDelay:Number,longPressDelay:Number,eventDragMinDistance:Number,expandRows:Boolean,height:e,contentHeight:e,direction:String,weekNumberFormat:a,eventResizableFromStart:Boolean,displayEventTime:Boolean,displayEventEnd:Boolean,weekText:String,weekTextLong:String,progressiveEventRendering:Boolean,businessHours:e,initialDate:e,now:e,eventDataTransform:e,stickyHeaderDates:e,stickyFooterScrollbar:e,viewHeight:e,defaultAllDay:Boolean,eventSourceFailure:e,eventSourceSuccess:e,eventDisplay:String,eventStartEditable:Boolean,eventDurationEditable:Boolean,eventOverlap:e,eventConstraint:e,eventAllow:e,eventBackgroundColor:String,eventBorderColor:String,eventTextColor:String,eventColor:String,eventClassNames:e,eventContent:e,eventDidMount:e,eventWillUnmount:e,selectConstraint:e,selectOverlap:e,selectAllow:e,droppable:Boolean,unselectCancel:String,slotLabelFormat:e,slotLaneClassNames:e,slotLaneContent:e,slotLaneDidMount:e,slotLaneWillUnmount:e,slotLabelClassNames:e,slotLabelContent:e,slotLabelDidMount:e,slotLabelWillUnmount:e,dayMaxEvents:e,dayMaxEventRows:e,dayMinWidth:Number,slotLabelInterval:v,allDayText:String,allDayClassNames:e,allDayContent:e,allDayDidMount:e,allDayWillUnmount:e,slotMinWidth:Number,navLinks:Boolean,eventTimeFormat:a,rerenderDelay:Number,moreLinkText:e,moreLinkHint:e,selectMinDistance:Number,selectable:Boolean,selectLongPressDelay:Number,eventLongPressDelay:Number,selectMirror:Boolean,eventMaxStack:Number,eventMinHeight:Number,eventMinWidth:Number,eventShortHeight:Number,slotEventOverlap:Boolean,plugins:e,firstDay:Number,dayCount:Number,dateAlignment:String,dateIncrement:v,hiddenDays:e,monthMode:Boolean,fixedWeekCount:Boolean,validRange:e,visibleRange:e,titleFormat:e,eventInteractive:Boolean,noEventsText:String,viewHint:e,navLinkHint:e,closeHint:String,timeHint:String,eventHint:String,moreLinkClick:e,moreLinkClassNames:e,moreLinkContent:e,moreLinkDidMount:e,moreLinkWillUnmount:e},tt={eventDisplay:"auto",defaultRangeSeparator:" - ",titleRangeSeparator:" ",defaultTimedEventDuration:"01:00:00",defaultAllDayEventDuration:{day:1},forceEventDuration:!1,nextDayThreshold:"00:00:00",dayHeaders:!0,initialView:"",aspectRatio:1.35,headerToolbar:{start:"title",center:"",end:"today prev,next"},weekends:!0,weekNumbers:!1,weekNumberCalculation:"local",editable:!1,nowIndicator:!1,scrollTime:"06:00:00",scrollTimeReset:!0,slotMinTime:"00:00:00",slotMaxTime:"24:00:00",showNonCurrentDates:!0,lazyFetching:!0,startParam:"start",endParam:"end",timeZoneParam:"timeZone",timeZone:"local",locales:[],locale:"",themeSystem:"standard",dragRevertDuration:500,dragScroll:!0,allDayMaintainDuration:!1,unselectAuto:!0,dropAccept:"*",eventOrder:"start,-duration,allDay,title",dayPopoverFormat:{month:"long",day:"numeric",year:"numeric"},handleWindowResize:!0,windowResizeDelay:100,longPressDelay:1e3,eventDragMinDistance:5,expandRows:!1,navLinks:!1,selectable:!1,eventMinHeight:15,eventMinWidth:30,eventShortHeight:30},nt={datesSet:e,eventsSet:e,eventAdd:e,eventChange:e,eventRemove:e,windowResize:e,eventClick:e,eventMouseEnter:e,eventMouseLeave:e,select:e,unselect:e,loading:e,_unmount:e,_beforeprint:e,_afterprint:e,_noEventDrop:e,_noEventResize:e,_resize:e,_scrollRequest:e},it={buttonText:e,buttonHints:e,views:e,plugins:e,initialEvents:e,events:e,eventSources:e},rt={headerToolbar:ot,footerToolbar:ot,buttonText:ot,buttonHints:ot,buttonIcons:ot,dateIncrement:ot};function ot(e,t){return"object"===u(e)&&"object"===u(t)&&e&&t?_(e,t):e===t}var at={type:String,component:e,buttonText:String,buttonTextKey:String,dateProfileGeneratorClass:e,usesMinMaxTime:Boolean,classNames:e,content:e,didMount:e,willUnmount:e};function lt(e){return _e(e,rt)}function st(e,t){var n,i={},r={};for(n in t)n in e&&(i[n]=t[n](e[n]));for(n in e)n in t||(r[n]=e[n]);return{refined:i,extra:r}}function e(e){return e}function ut(e,t,n,i){for(var r=x(),o=Et(n),a=0,l=e;a<l.length;a++){var s=St(l[a],t,n,i,o);s&&ct(s,r)}return r}function ct(e,t){return(t=void 0===t?x():t).defs[e.def.defId]=e.def,e.instance&&(t.instances[e.instance.instanceId]=e.instance),t}function ht(e,t){var n,t=e.instances[t];return t?(n=e.defs[t.defId],(e=ft(e,function(e){return t=n,e=e,Boolean(t.groupId&&t.groupId===e.groupId);var t})).defs[n.defId]=n,e.instances[t.instanceId]=t,e):x()}function x(){return{defs:{},instances:{}}}function dt(e,t){return{defs:A.__assign(A.__assign({},e.defs),t.defs),instances:A.__assign(A.__assign({},e.instances),t.instances)}}function ft(e,t){var n=O(e.defs,t),t=O(e.instances,function(e){return n[e.defId]});return{defs:n,instances:t}}function pt(e){return Array.isArray(e)?e:"string"==typeof e?e.split(/\s+/):[]}var gt={display:String,editable:Boolean,startEditable:Boolean,durationEditable:Boolean,constraint:e,overlap:e,allow:e,className:pt,classNames:pt,color:String,backgroundColor:String,borderColor:String,textColor:String},mt={display:null,startEditable:null,durationEditable:null,constraints:[],overlap:null,allows:[],backgroundColor:"",borderColor:"",textColor:"",classNames:[]};function vt(e,t){n=e.constraint,t=t;var n,t=Array.isArray(n)?ut(n,null,t,!0):"object"===u(n)&&n?ut([n],null,t,!0):null!=n?String(n):null;return{display:e.display||null,startEditable:null!=e.startEditable?e.startEditable:e.editable,durationEditable:null!=e.durationEditable?e.durationEditable:e.editable,constraints:null!=t?[t]:[],overlap:null!=e.overlap?e.overlap:null,allows:null!=e.allow?[e.allow]:[],backgroundColor:e.backgroundColor||e.color||"",borderColor:e.borderColor||e.color||"",textColor:e.textColor||"",classNames:(e.className||[]).concat(e.classNames||[])}}function yt(e){return e.reduce(bt,mt)}function bt(e,t){return{display:(null!=t.display?t:e).display,startEditable:(null!=t.startEditable?t:e).startEditable,durationEditable:(null!=t.durationEditable?t:e).durationEditable,constraints:e.constraints.concat(t.constraints),overlap:("boolean"==typeof t.overlap?t:e).overlap,allows:e.allows.concat(t.allows),backgroundColor:t.backgroundColor||e.backgroundColor,borderColor:t.borderColor||e.borderColor,textColor:t.textColor||e.textColor,classNames:e.classNames.concat(t.classNames)}}var _t={id:String,groupId:String,title:String,url:String,interactive:Boolean},wt={start:e,end:e,date:e,allDay:Boolean},xt=A.__assign(A.__assign(A.__assign({},_t),wt),{extendedProps:e});function St(e,t,n,i,r){var e=Ct(e,n,r=void 0===r?Et(n):r),r=e.refined,e=e.extra,o=function(e,t){var n=null;e&&(n=e.defaultAllDay);null==n&&(n=t.options.defaultAllDay);return n}(t,n),a=function(e,t,n,i){for(var r=0;r<i.length;r+=1){var o,a=i[r].parse(e,n);if(a)return{allDay:o=null==(o=e.allDay)&&null==(o=t)&&null==(o=a.allDayGuess)?!1:o,duration:a.duration,typeData:a.typeData,typeId:r}}return null}(r,o,n.dateEnv,n.pluginHooks.recurringTypes);if(a)return(l=kt(r,e,t?t.sourceId:"",a.allDay,Boolean(a.duration),n)).recurringDef={typeId:a.typeId,typeData:a.typeData,duration:a.duration},{def:l,instance:null};var l,a=function(e,t,n,i){var r,o=e.allDay,a=null,l=!1,s=null,u=null!=e.start?e.start:e.date;if(u=n.dateEnv.createMarkerMeta(u))a=u.marker;else if(!i)return null;null!=e.end&&(r=n.dateEnv.createMarkerMeta(e.end));null==o&&(o=null!=t?t:(!u||u.isTimeUnspecified)&&(!r||r.isTimeUnspecified));o&&a&&(a=m(a));r&&(s=r.marker,o&&(s=m(s)),a&&s<=a&&(s=null));s?l=!0:i||(l=n.options.forceEventDuration||!1,s=n.dateEnv.add(a,o?n.options.defaultAllDayEventDuration:n.options.defaultTimedEventDuration));return{allDay:o,hasEnd:l,range:{start:a,end:s},forcedStartTzo:u?u.forcedTzo:null,forcedEndTzo:r?r.forcedTzo:null}}(r,o,n,i);return a?{def:l=kt(r,e,t?t.sourceId:"",a.allDay,a.hasEnd,n),instance:ye(l.defId,a.range,a.forcedStartTzo,a.forcedEndTzo)}:null}function Ct(e,t,n){return st(e,n=void 0===n?Et(t):n)}function Et(e){return A.__assign(A.__assign(A.__assign({},gt),xt),e.pluginHooks.eventRefiners)}function kt(e,t,n,i,r,o){for(var a={title:e.title||"",groupId:e.groupId||"",publicId:e.id||"",url:e.url||"",recurringDef:null,defId:te(),sourceId:n,allDay:i,hasEnd:r,interactive:e.interactive,ui:vt(e,o),extendedProps:A.__assign(A.__assign({},e.extendedProps||{}),t)},l=0,s=o.pluginHooks.eventDefMemberAdders;l<s.length;l++){var u=s[l];A.__assign(a,u(e))}return Object.freeze(a.ui.classNames),Object.freeze(a.extendedProps),a}function Mt(e){var t=Math.floor(r(e.start,e.end))||1,e=m(e.start);return{start:e,end:h(e,t)}}function Dt(e,t){void 0===t&&(t=v(0));var n,i=null,r=null;return e.end&&(r=m(e.end),(n=e.end.valueOf()-r.valueOf())&&n>=Ae(t)&&(r=h(r,1))),e.start&&(i=m(e.start),r&&r<=i&&(r=h(i,1))),{start:i,end:r}}function Tt(e,t,n,i){return"year"===i?v(n.diffWholeYears(e,t),"year"):"month"===i?v(n.diffWholeMonths(e,t),"month"):he(e,t)}function Rt(e,t){var n,i,r=[],o=t.start;for(e.sort(At),n=0;n<e.length;n+=1)(i=e[n]).start>o&&r.push({start:o,end:i.start}),i.end>o&&(o=i.end);return o<t.end&&r.push({start:o,end:t.end}),r}function At(e,t){return e.start.valueOf()-t.start.valueOf()}function Ot(e,t){var n=e.start,e=e.end,i=null;return null!==t.start&&(n=null===n?t.start:new Date(Math.max(n.valueOf(),t.start.valueOf()))),null!=t.end&&(e=null===e?t.end:new Date(Math.min(e.valueOf(),t.end.valueOf()))),i=null===n||null===e||n<e?{start:n,end:e}:i}function Pt(e,t){return(null===e.start?null:e.start.valueOf())===(null===t.start?null:t.start.valueOf())&&(null===e.end?null:e.end.valueOf())===(null===t.end?null:t.end.valueOf())}function It(e,t){return(null===e.end||null===t.start||e.end>t.start)&&(null===e.start||null===t.end||e.start<t.end)}function Nt(e,t){return(null===e.start||null!==t.start&&t.start>=e.start)&&(null===e.end||null!==t.end&&t.end<=e.end)}function Lt(e,t){return(null===e.start||t>=e.start)&&(null===e.end||t<e.end)}function Ht(e,t,n,i){var r,o,a,l={},s={},u={},c=[],h=[],d=Ft(e.defs,t);for(a in e.defs)"inverse-background"===(p=d[(b=e.defs[a]).defId]).display&&(b.groupId?(l[b.groupId]=[],u[b.groupId]||(u[b.groupId]=b)):s[a]=[]);for(r in e.instances){var f=e.instances[r],p=d[(b=e.defs[f.defId]).defId],g=f.range,g=!b.allDay&&i?Dt(g,i):g,m=Ot(g,n);m&&("inverse-background"===p.display?(b.groupId?l[b.groupId]:s[f.defId]).push(m):"none"!==p.display&&("background"===p.display?c:h).push({def:b,ui:p,instance:f,range:m,isStart:g.start&&g.start.valueOf()===m.start.valueOf(),isEnd:g.end&&g.end.valueOf()===m.end.valueOf()}))}for(o in l)for(var v=0,y=Rt(l[o],n);v<y.length;v++){var b,_=y[v],p=d[(b=u[o]).defId];c.push({def:b,ui:p,instance:null,range:_,isStart:!1,isEnd:!1})}for(a in s)for(var w=0,x=Rt(s[a],n);w<x.length;w++){_=x[w];c.push({def:e.defs[a],ui:d[a],instance:null,range:_,isStart:!1,isEnd:!1})}return{bg:c,fg:h}}function Wt(e,t){e.fcSeg=t}function jt(e){return e.fcSeg||e.parentNode.fcSeg||null}function Ft(e,t){return P(e,function(e){return zt(e,t)})}function zt(e,t){var n=[];return t[""]&&n.push(t[""]),t[e.defId]&&n.push(t[e.defId]),n.push(e.ui),yt(n)}function Vt(e){var t=e.eventRange,n=t.def,t=(t.instance||t).range,i=t.start?t.start.valueOf():0,t=t.end?t.end.valueOf():0;return A.__assign(A.__assign(A.__assign({},n.extendedProps),n),{id:n.publicId,start:i,end:t,duration:t-i,allDay:Number(n.allDay),_seg:e})}function Bt(e,t){for(var n=t.pluginHooks.isDraggableTransformers,e=e.eventRange,i=e.def,r=e.ui,o=r.startEditable,a=0,l=n;a<l.length;a++)o=(0,l[a])(o,i,r,t);return o}function Yt(e,t){return e.isStart&&e.eventRange.ui.durationEditable&&t.options.eventResizableFromStart}function Ut(e,t){return e.isEnd&&e.eventRange.ui.durationEditable}function qt(e,t,n,i,r,o,a){var l=n.dateEnv,n=n.options,s=n.displayEventTime,n=n.displayEventEnd,u=e.eventRange.def,c=e.eventRange.instance,i=(null==s&&(s=!1!==i),null==n&&(n=!1!==r),c.range.start),r=c.range.end,h=o||e.start||e.eventRange.range.start,e=a||e.end||e.eventRange.range.end,d=m(i).valueOf()===m(h).valueOf(),f=m(g(r,-1)).valueOf()===m(g(e,-1)).valueOf();return s&&!u.allDay&&(d||f)?(h=d?i:h,e=f?r:e,n&&u.hasEnd?l.formatRange(h,e,t,{forcedStartTzo:o?null:c.forcedStartTzo,forcedEndTzo:a?null:c.forcedEndTzo}):l.format(h,t,{forcedTzo:o?null:c.forcedStartTzo})):""}function Zt(e){var t=["fc-event"];return e.isMirror&&t.push("fc-event-mirror"),e.isDraggable&&t.push("fc-event-draggable"),(e.isStartResizable||e.isEndResizable)&&t.push("fc-event-resizable"),e.isDragging&&t.push("fc-event-dragging"),e.isResizing&&t.push("fc-event-resizing"),e.isSelected&&t.push("fc-event-selected"),e.isStart&&t.push("fc-event-start"),e.isEnd&&t.push("fc-event-end"),e.isPast&&t.push("fc-event-past"),e.isToday&&t.push("fc-event-today"),e.isFuture&&t.push("fc-event-future"),t}function Gt(e,t){var e=e.eventRange,n=e.def,i=e.instance,e=n.url;if(e)return{href:e};var r=t.emitter,e=t.options.eventInteractive;return(e=null==e&&null==(e=n.interactive)?Boolean(r.hasHandlers("eventClick")):e)?J(function(e){r.trigger("eventClick",{el:e.target,event:new I(t,n,i),jsEvent:e,view:t.viewApi})}):{}}var Xt={start:e,end:e,allDay:Boolean};function $t(e,t,n){var e=function(e,t){var e=st(e,Xt),n=e.refined,e=e.extra,i=n.start?t.createMarkerMeta(n.start):null,t=n.end?t.createMarkerMeta(n.end):null,n=n.allDay;null==n&&(n=i&&i.isTimeUnspecified&&(!t||t.isTimeUnspecified));return A.__assign({range:{start:i?i.marker:null,end:t?t.marker:null},allDay:n},e)}(e,t),i=e.range;if(!i.start)return null;if(!i.end){if(null==n)return null;i.end=t.add(i.start,n)}return e}function Kt(e,t,n){return A.__assign(A.__assign({},Qt(e,t,n)),{timeZone:t.timeZone})}function Qt(e,t,n){return{start:t.toDate(e.start),end:t.toDate(e.end),startStr:t.formatIso(e.start,{omitTime:n}),endStr:t.formatIso(e.end,{omitTime:n})}}function Jt(e,t,n){n.emitter.trigger("select",A.__assign(A.__assign({},en(e,n)),{jsEvent:t?t.origEvent:null,view:n.viewApi||n.calendarApi.view}))}function en(e,t){for(var n,i,r={},o=0,a=t.pluginHooks.dateSpanTransforms;o<a.length;o++){var l=a[o];A.__assign(r,l(e,t))}return A.__assign(r,(n=e,i=t.dateEnv,A.__assign(A.__assign({},Qt(n.range,i,n.allDay)),{allDay:n.allDay}))),r}function tn(e,t,n){var i=n.dateEnv,n=n.options;return t=e?(t=m(t),i.add(t,n.defaultAllDayEventDuration)):i.add(t,n.defaultTimedEventDuration)}function nn(e,t,n,i){var r,o,a=Ft(e.defs,t),l=x();for(r in e.defs){var s=e.defs[r];l.defs[r]=function(e,t,n,i){var r=n.standardProps||{};null==r.hasEnd&&t.durationEditable&&(n.startDelta||n.endDelta)&&(r.hasEnd=!0);var o=A.__assign(A.__assign(A.__assign({},e),r),{ui:A.__assign(A.__assign({},e.ui),r.ui)});n.extendedProps&&(o.extendedProps=A.__assign(A.__assign({},o.extendedProps),n.extendedProps));for(var a=0,l=i.pluginHooks.eventDefMutationAppliers;a<l.length;a++)(0,l[a])(o,n,i);!o.hasEnd&&i.options.forceEventDuration&&(o.hasEnd=!0);return o}(s,a[r],n,i)}for(o in e.instances){var u=e.instances[o],s=l.defs[u.defId];l.instances[o]=function(e,t,n,i,r){var o=r.dateEnv,a=i.standardProps&&!0===i.standardProps.allDay,l=i.standardProps&&!1===i.standardProps.hasEnd,e=A.__assign({},e);a&&(e.range=Mt(e.range));i.datesDelta&&n.startEditable&&(e.range={start:o.add(e.range.start,i.datesDelta),end:o.add(e.range.end,i.datesDelta)});i.startDelta&&n.durationEditable&&(e.range={start:o.add(e.range.start,i.startDelta),end:e.range.end});i.endDelta&&n.durationEditable&&(e.range={start:e.range.start,end:o.add(e.range.end,i.endDelta)});l&&(e.range={start:e.range.start,end:tn(t.allDay,e.range.start,r)});t.allDay&&(e.range={start:m(e.range.start),end:m(e.range.end)});e.range.end<e.range.start&&(e.range.end=tn(t.allDay,e.range.start,r));return e}(u,s,a[u.defId],n,i)}return l}Object.defineProperty(on.prototype,"calendar",{get:function(){return this.getCurrentData().calendarApi},enumerable:!1,configurable:!0}),Object.defineProperty(on.prototype,"title",{get:function(){return this.getCurrentData().viewTitle},enumerable:!1,configurable:!0}),Object.defineProperty(on.prototype,"activeStart",{get:function(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.activeRange.start)},enumerable:!1,configurable:!0}),Object.defineProperty(on.prototype,"activeEnd",{get:function(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.activeRange.end)},enumerable:!1,configurable:!0}),Object.defineProperty(on.prototype,"currentStart",{get:function(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.currentRange.start)},enumerable:!1,configurable:!0}),Object.defineProperty(on.prototype,"currentEnd",{get:function(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.currentRange.end)},enumerable:!1,configurable:!0}),on.prototype.getOption=function(e){return this.getCurrentData().options[e]};var rn=on;function on(e,t,n){this.type=e,this.getCurrentData=t,this.dateEnv=n}var an={id:String,defaultAllDay:Boolean,url:String,format:String,events:e,eventDataTransform:e,success:e,failure:e};function ln(e,t,n){if(void 0===n&&(n=sn(t)),"string"==typeof e?i={url:e}:"function"==typeof e||Array.isArray(e)?i={events:e}:"object"===u(e)&&e&&(i=e),i){var i=st(i,n),n=i.refined,i=i.extra,r=function(e,t){for(var n=t.pluginHooks.eventSourceDefs,i=n.length-1;0<=i;--i){var r=n[i].parseMeta(e);if(r)return{sourceDefId:i,meta:r}}return null}(n,t);if(r)return{_raw:e,isFetching:!1,latestFetchId:"",fetchRange:null,defaultAllDay:n.defaultAllDay,eventDataTransform:n.eventDataTransform,success:n.success,failure:n.failure,publicId:n.id||"",sourceId:te(),sourceDefId:r.sourceDefId,meta:r.meta,ui:vt(n,t),extendedProps:i}}return null}function sn(e){return A.__assign(A.__assign(A.__assign({},gt),an),e.pluginHooks.eventSourceRefiners)}function un(e,t){return null==(e="function"==typeof e?e():e)?t.createNowMarker():t.createMarker(e)}i.prototype.getCurrentData=function(){return this.currentDataManager.getCurrentData()},i.prototype.dispatch=function(e){return this.currentDataManager.dispatch(e)},Object.defineProperty(i.prototype,"view",{get:function(){return this.getCurrentData().viewApi},enumerable:!1,configurable:!0}),i.prototype.batchRendering=function(e){e()},i.prototype.updateSize=function(){this.trigger("_resize",!0)},i.prototype.setOption=function(e,t){this.dispatch({type:"SET_OPTION",optionName:e,rawOptionValue:t})},i.prototype.getOption=function(e){return this.currentDataManager.currentCalendarOptionsInput[e]},i.prototype.getAvailableLocaleCodes=function(){return Object.keys(this.getCurrentData().availableRawLocales)},i.prototype.on=function(e,t){var n=this.currentDataManager;n.currentCalendarOptionsRefiners[e]?n.emitter.on(e,t):console.warn("Unknown listener name '"+e+"'")},i.prototype.off=function(e,t){this.currentDataManager.emitter.off(e,t)},i.prototype.trigger=function(e){for(var t,n=[],i=1;i<arguments.length;i++)n[i-1]=arguments[i];(t=this.currentDataManager.emitter).trigger.apply(t,A.__spreadArray([e],n))},i.prototype.changeView=function(t,n){var i=this;this.batchRendering(function(){var e;i.unselect(),n?n.start&&n.end?(i.dispatch({type:"CHANGE_VIEW_TYPE",viewType:t}),i.dispatch({type:"SET_OPTION",optionName:"visibleRange",rawOptionValue:n})):(e=i.getCurrentData().dateEnv,i.dispatch({type:"CHANGE_VIEW_TYPE",viewType:t,dateMarker:e.createMarker(n)})):i.dispatch({type:"CHANGE_VIEW_TYPE",viewType:t})})},i.prototype.zoomTo=function(e,t){t=this.getCurrentData().viewSpecs[t=t||"day"]||this.getUnitViewSpec(t);this.unselect(),t?this.dispatch({type:"CHANGE_VIEW_TYPE",viewType:t.type,dateMarker:e}):this.dispatch({type:"CHANGE_DATE",dateMarker:e})},i.prototype.getUnitViewSpec=function(e){var t,n,i,r=this.getCurrentData(),o=r.viewSpecs,r=r.toolbarConfig,a=[].concat(r.header?r.header.viewsWithButtons:[],r.footer?r.footer.viewsWithButtons:[]);for(i in o)a.push(i);for(t=0;t<a.length;t+=1)if((n=o[a[t]])&&n.singleUnit===e)return n;return null},i.prototype.prev=function(){this.unselect(),this.dispatch({type:"PREV"})},i.prototype.next=function(){this.unselect(),this.dispatch({type:"NEXT"})},i.prototype.prevYear=function(){var e=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:e.dateEnv.addYears(e.currentDate,-1)})},i.prototype.nextYear=function(){var e=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:e.dateEnv.addYears(e.currentDate,1)})},i.prototype.today=function(){var e=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:un(e.calendarOptions.now,e.dateEnv)})},i.prototype.gotoDate=function(e){var t=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:t.dateEnv.createMarker(e)})},i.prototype.incrementDate=function(e){var t=this.getCurrentData(),e=v(e);e&&(this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:t.dateEnv.add(t.currentDate,e)}))},i.prototype.getDate=function(){var e=this.getCurrentData();return e.dateEnv.toDate(e.currentDate)},i.prototype.formatDate=function(e,t){var n=this.getCurrentData().dateEnv;return n.format(n.createMarker(e),a(t))},i.prototype.formatRange=function(e,t,n){var i=this.getCurrentData().dateEnv;return i.formatRange(i.createMarker(e),i.createMarker(t),a(n),n)},i.prototype.formatIso=function(e,t){var n=this.getCurrentData().dateEnv;return n.formatIso(n.createMarker(e),{omitTime:t})},i.prototype.select=function(e,t){e=null==t?null!=e.start?e:{start:e,end:null}:{start:e,end:t},t=this.getCurrentData(),e=$t(e,t.dateEnv,v({days:1}));e&&(this.dispatch({type:"SELECT_DATES",selection:e}),Jt(e,null,t))},i.prototype.unselect=function(e){var t=this.getCurrentData();t.dateSelection&&(this.dispatch({type:"UNSELECT_DATES"}),e=e,(t=t).emitter.trigger("unselect",{jsEvent:e?e.origEvent:null,view:t.viewApi||t.calendarApi.view}))},i.prototype.addEvent=function(e,t){if(e instanceof I)return i=e._def,r=e._instance,this.getCurrentData().eventStore.defs[i.defId]||(this.dispatch({type:"ADD_EVENTS",eventStore:ct({def:i,instance:r})}),this.triggerEventAdd(e)),e;var n,i=this.getCurrentData();if(t instanceof W)n=t.internalEventSource;else if("boolean"==typeof t)t&&(n=xe(i.eventSources)[0]);else if(null!=t){var r=this.getEventSourceById(t);if(!r)return console.warn('Could not find an event source with ID "'+t+'"'),null;n=r.internalEventSource}t=St(e,n,i,!1);return t?(r=new I(i,t.def,t.def.recurringDef?null:t.instance),this.dispatch({type:"ADD_EVENTS",eventStore:ct(t)}),this.triggerEventAdd(r),r):null},i.prototype.triggerEventAdd=function(e){var t=this;this.getCurrentData().emitter.trigger("eventAdd",{event:e,relatedEvents:[],revert:function(){t.dispatch({type:"REMOVE_EVENTS",eventStore:cn(e)})}})},i.prototype.getEventById=function(e){var t,n=this.getCurrentData(),i=n.eventStore,r=i.defs,o=i.instances;for(t in e=String(e),r){var a=r[t];if(a.publicId===e){if(a.recurringDef)return new I(n,a,null);for(var l in o){l=o[l];if(l.defId===a.defId)return new I(n,a,l)}}}return null},i.prototype.getEvents=function(){var e=this.getCurrentData();return hn(e.eventStore,e)},i.prototype.removeAllEvents=function(){this.dispatch({type:"REMOVE_ALL_EVENTS"})},i.prototype.getEventSources=function(){var e,t=this.getCurrentData(),n=t.eventSources,i=[];for(e in n)i.push(new W(t,n[e]));return i},i.prototype.getEventSourceById=function(e){var t,n=this.getCurrentData(),i=n.eventSources;for(t in e=String(e),i)if(i[t].publicId===e)return new W(n,i[t]);return null},i.prototype.addEventSource=function(e){var t=this.getCurrentData();if(e instanceof W)return t.eventSources[e.internalEventSource.sourceId]||this.dispatch({type:"ADD_EVENT_SOURCES",sources:[e.internalEventSource]}),e;e=ln(e,t);return e?(this.dispatch({type:"ADD_EVENT_SOURCES",sources:[e]}),new W(t,e)):null},i.prototype.removeAllEventSources=function(){this.dispatch({type:"REMOVE_ALL_EVENT_SOURCES"})},i.prototype.refetchEvents=function(){this.dispatch({type:"FETCH_EVENT_SOURCES",isRefetch:!0})},i.prototype.scrollToTime=function(e){e=v(e);e&&this.trigger("_scrollRequest",{time:e})};L=i;function i(){}s.prototype.setProp=function(e,t){var n,i;e in wt?console.warn("Could not set date-related prop 'name'. Use one of the date-related methods instead."):"id"===e?(t=_t[e](t),this.mutate({standardProps:{publicId:t}})):e in _t?(t=_t[e](t),this.mutate({standardProps:((i={})[e]=t,i)})):e in gt?(i=gt[e](t),i="color"===e?{backgroundColor:t,borderColor:t}:"editable"===e?{startEditable:t,durationEditable:t}:((n={})[e]=t,n),this.mutate({standardProps:{ui:i}})):console.warn("Could not set prop '"+e+"'. Use setExtendedProp instead.")},s.prototype.setExtendedProp=function(e,t){var n;this.mutate({extendedProps:((n={})[e]=t,n)})},s.prototype.setStart=function(e,t){void 0===t&&(t={});var n=this._context.dateEnv,e=n.createMarker(e);e&&this._instance&&(e=Tt(this._instance.range.start,e,n,t.granularity),t.maintainDuration?this.mutate({datesDelta:e}):this.mutate({startDelta:e}))},s.prototype.setEnd=function(e,t){void 0===t&&(t={});var n,i=this._context.dateEnv;(null==e||(n=i.createMarker(e)))&&this._instance&&(n?(e=Tt(this._instance.range.end,n,i,t.granularity),this.mutate({endDelta:e})):this.mutate({standardProps:{hasEnd:!1}}))},s.prototype.setDates=function(e,t,n){var i,r=this._context.dateEnv,o={allDay:(n=void 0===n?{}:n).allDay},e=r.createMarker(e);e&&(null==t||(i=r.createMarker(t)))&&this._instance&&(t=this._instance.range,e=Tt((t=!0===n.allDay?Mt(t):t).start,e,r,n.granularity),i?(t=Tt(t.end,i,r,n.granularity),i=t,(r=e).years===i.years&&r.months===i.months&&r.days===i.days&&r.milliseconds===i.milliseconds?this.mutate({datesDelta:e,standardProps:o}):this.mutate({startDelta:e,endDelta:t,standardProps:o})):(o.hasEnd=!1,this.mutate({datesDelta:e,standardProps:o})))},s.prototype.moveStart=function(e){e=v(e);e&&this.mutate({startDelta:e})},s.prototype.moveEnd=function(e){e=v(e);e&&this.mutate({endDelta:e})},s.prototype.moveDates=function(e){e=v(e);e&&this.mutate({datesDelta:e})},s.prototype.setAllDay=function(e,t){var n={allDay:e},t=(t=void 0===t?{}:t).maintainDuration;null==t&&(t=this._context.options.allDayMaintainDuration),this._def.allDay!==e&&(n.hasEnd=t),this.mutate({standardProps:n})},s.prototype.formatRange=function(e){var t=this._context.dateEnv,n=this._instance,e=a(e);return this._def.hasEnd?t.formatRange(n.range.start,n.range.end,e,{forcedStartTzo:n.forcedStartTzo,forcedEndTzo:n.forcedEndTzo}):t.format(n.range.start,e,{forcedTzo:n.forcedStartTzo})},s.prototype.mutate=function(e){var t,n,i,r,o=this._instance;o&&(t=this._def,n=this._context,r=nn(r=ht(i=n.getCurrentData().eventStore,o.instanceId),{"":{display:"",startEditable:!0,durationEditable:!0,constraints:[],overlap:null,allows:[],backgroundColor:"",borderColor:"",textColor:"",classNames:[]}},e,n),e=new s(n,t,o),this._def=r.defs[t.defId],this._instance=r.instances[o.instanceId],n.dispatch({type:"MERGE_EVENTS",eventStore:r}),n.emitter.trigger("eventChange",{oldEvent:e,event:this,relatedEvents:hn(r,n,o),revert:function(){n.dispatch({type:"RESET_EVENTS",eventStore:i})}}))},s.prototype.remove=function(){var e=this._context,t=cn(this);e.dispatch({type:"REMOVE_EVENTS",eventStore:t}),e.emitter.trigger("eventRemove",{event:this,relatedEvents:[],revert:function(){e.dispatch({type:"MERGE_EVENTS",eventStore:t})}})},Object.defineProperty(s.prototype,"source",{get:function(){var e=this._def.sourceId;return e?new W(this._context,this._context.getCurrentData().eventSources[e]):null},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"start",{get:function(){return this._instance?this._context.dateEnv.toDate(this._instance.range.start):null},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"end",{get:function(){return this._instance&&this._def.hasEnd?this._context.dateEnv.toDate(this._instance.range.end):null},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"startStr",{get:function(){var e=this._instance;return e?this._context.dateEnv.formatIso(e.range.start,{omitTime:this._def.allDay,forcedTzo:e.forcedStartTzo}):""},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"endStr",{get:function(){var e=this._instance;return e&&this._def.hasEnd?this._context.dateEnv.formatIso(e.range.end,{omitTime:this._def.allDay,forcedTzo:e.forcedEndTzo}):""},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"id",{get:function(){return this._def.publicId},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"groupId",{get:function(){return this._def.groupId},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"allDay",{get:function(){return this._def.allDay},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"title",{get:function(){return this._def.title},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"url",{get:function(){return this._def.url},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"display",{get:function(){return this._def.ui.display||"auto"},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"startEditable",{get:function(){return this._def.ui.startEditable},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"durationEditable",{get:function(){return this._def.ui.durationEditable},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"constraint",{get:function(){return this._def.ui.constraints[0]||null},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"overlap",{get:function(){return this._def.ui.overlap},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"allow",{get:function(){return this._def.ui.allows[0]||null},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"backgroundColor",{get:function(){return this._def.ui.backgroundColor},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"borderColor",{get:function(){return this._def.ui.borderColor},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"textColor",{get:function(){return this._def.ui.textColor},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"classNames",{get:function(){return this._def.ui.classNames},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"extendedProps",{get:function(){return this._def.extendedProps},enumerable:!1,configurable:!0}),s.prototype.toPlainObject=function(e){void 0===e&&(e={});var t=this._def,n=t.ui,i=this.startStr,r=this.endStr,o={};return t.title&&(o.title=t.title),i&&(o.start=i),r&&(o.end=r),t.publicId&&(o.id=t.publicId),t.groupId&&(o.groupId=t.groupId),t.url&&(o.url=t.url),n.display&&"auto"!==n.display&&(o.display=n.display),e.collapseColor&&n.backgroundColor&&n.backgroundColor===n.borderColor?o.color=n.backgroundColor:(n.backgroundColor&&(o.backgroundColor=n.backgroundColor),n.borderColor&&(o.borderColor=n.borderColor)),n.textColor&&(o.textColor=n.textColor),n.classNames.length&&(o.classNames=n.classNames),Object.keys(t.extendedProps).length&&(e.collapseExtendedProps?A.__assign(o,t.extendedProps):o.extendedProps=t.extendedProps),o},s.prototype.toJSON=function(){return this.toPlainObject()};var I=s;function s(e,t,n){this._context=e,this._def=t,this._instance=n||null}function cn(e){var t,n=e._def,e=e._instance;return{defs:((t={})[n.defId]=n,t),instances:e?((n={})[e.instanceId]=e,n):{}}}function hn(e,t,n){var i,r=e.defs,o=e.instances,a=[],l=n?n.instanceId:"";for(i in o){var s=o[i],u=r[s.defId];s.instanceId!==l&&a.push(new I(t,u,s))}return a}var dn={};function fn(){}fn.prototype.getMarkerYear=function(e){return e.getUTCFullYear()},fn.prototype.getMarkerMonth=function(e){return e.getUTCMonth()},fn.prototype.getMarkerDay=function(e){return e.getUTCDate()},fn.prototype.arrayToMarker=o,fn.prototype.markerToArray=n,dn["gregory"]=fn;var pn=/^\s*(\d{4})(-?(\d{2})(-?(\d{2})([T ](\d{2}):?(\d{2})(:?(\d{2})(\.(\d+))?)?(Z|(([-+])(\d{2})(:?(\d{2}))?))?)?)?)?$/;function gn(e){e=pn.exec(e);if(e){var t,n=new Date(Date.UTC(Number(e[1]),e[3]?Number(e[3])-1:0,Number(e[5]||1),Number(e[7]||0),Number(e[8]||0),Number(e[10]||0),e[12]?1e3*Number("0."+e[12]):0));if(ve(n))return t=null,e[13]&&(t=("-"===e[15]?-1:1)*(60*Number(e[16]||0)+Number(e[18]||0))),{marker:n,isTimeUnspecified:!e[6],timeZoneOffset:t}}return null}d.prototype.createMarker=function(e){e=this.createMarkerMeta(e);return null===e?null:e.marker},d.prototype.createNowMarker=function(){return this.canComputeOffset?this.timestampToMarker((new Date).valueOf()):o(ge(new Date))},d.prototype.createMarkerMeta=function(e){if("string"==typeof e)return this.parse(e);var t=null;return"number"==typeof e?t=this.timestampToMarker(e):e instanceof Date?(e=e.valueOf(),isNaN(e)||(t=this.timestampToMarker(e))):Array.isArray(e)&&(t=o(e)),null!==t&&ve(t)?{marker:t,isTimeUnspecified:!1,forcedTzo:null}:null},d.prototype.parse=function(e){e=gn(e);if(null===e)return null;var t=e.marker,n=null;return null!==e.timeZoneOffset&&(this.canComputeOffset?t=this.timestampToMarker(t.valueOf()-60*e.timeZoneOffset*1e3):n=e.timeZoneOffset),{marker:t,isTimeUnspecified:e.isTimeUnspecified,forcedTzo:n}},d.prototype.getYear=function(e){return this.calendarSystem.getMarkerYear(e)},d.prototype.getMonth=function(e){return this.calendarSystem.getMarkerMonth(e)},d.prototype.add=function(e,t){e=this.calendarSystem.markerToArray(e);return e[0]+=t.years,e[1]+=t.months,e[2]+=t.days,e[6]+=t.milliseconds,this.calendarSystem.arrayToMarker(e)},d.prototype.subtract=function(e,t){e=this.calendarSystem.markerToArray(e);return e[0]-=t.years,e[1]-=t.months,e[2]-=t.days,e[6]-=t.milliseconds,this.calendarSystem.arrayToMarker(e)},d.prototype.addYears=function(e,t){e=this.calendarSystem.markerToArray(e);return e[0]+=t,this.calendarSystem.arrayToMarker(e)},d.prototype.addMonths=function(e,t){e=this.calendarSystem.markerToArray(e);return e[1]+=t,this.calendarSystem.arrayToMarker(e)},d.prototype.diffWholeYears=function(e,t){var n=this.calendarSystem;return c(e)===c(t)&&n.getMarkerDay(e)===n.getMarkerDay(t)&&n.getMarkerMonth(e)===n.getMarkerMonth(t)?n.getMarkerYear(t)-n.getMarkerYear(e):null},d.prototype.diffWholeMonths=function(e,t){var n=this.calendarSystem;return c(e)===c(t)&&n.getMarkerDay(e)===n.getMarkerDay(t)?n.getMarkerMonth(t)-n.getMarkerMonth(e)+12*(n.getMarkerYear(t)-n.getMarkerYear(e)):null},d.prototype.greatestWholeUnit=function(e,t){var n,i=this.diffWholeYears(e,t);return null!==i?{unit:"year",value:i}:null!==(i=this.diffWholeMonths(e,t))?{unit:"month",value:i}:null!==(i=de(e,t))?{unit:"week",value:i}:null!==(i=fe(e,t))?{unit:"day",value:i}:(n=e,se(i=(t.valueOf()-n.valueOf())/36e5)?{unit:"hour",value:i}:(n=e,se(i=(t.valueOf()-n.valueOf())/6e4)?{unit:"minute",value:i}:(n=e,se(i=(t.valueOf()-n.valueOf())/1e3)?{unit:"second",value:i}:{unit:"millisecond",value:t.valueOf()-e.valueOf()})))},d.prototype.countDurationsBetween=function(e,t,n){var i;return n.years&&null!==(i=this.diffWholeYears(e,t))?i/(Re(n)/365):n.months&&null!==(i=this.diffWholeMonths(e,t))?i/(Re(n)/30):n.days&&null!==(i=fe(e,t))?i/Re(n):(t.valueOf()-e.valueOf())/Ae(n)},d.prototype.startOf=function(e,t){return"year"===t?this.startOfYear(e):"month"===t?this.startOfMonth(e):"week"===t?this.startOfWeek(e):"day"===t?m(e):"hour"===t?o([(n=e).getUTCFullYear(),n.getUTCMonth(),n.getUTCDate(),n.getUTCHours()]):"minute"===t?o([(n=e).getUTCFullYear(),n.getUTCMonth(),n.getUTCDate(),n.getUTCHours(),n.getUTCMinutes()]):"second"===t?o([(t=e).getUTCFullYear(),t.getUTCMonth(),t.getUTCDate(),t.getUTCHours(),t.getUTCMinutes(),t.getUTCSeconds()]):null;var n},d.prototype.startOfYear=function(e){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(e)])},d.prototype.startOfMonth=function(e){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(e),this.calendarSystem.getMarkerMonth(e)])},d.prototype.startOfWeek=function(e){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(e),this.calendarSystem.getMarkerMonth(e),e.getUTCDate()-(e.getUTCDay()-this.weekDow+7)%7])},d.prototype.computeWeekNumber=function(e){return this.weekNumberFunc?this.weekNumberFunc(this.toDate(e)):(e=e,t=this.weekDow,n=this.weekDoy,i=e.getUTCFullYear(),(r=pe(e,i,t,n))<1?pe(e,i-1,t,n):1<=(e=pe(e,i+1,t,n))?Math.min(r,e):r);var t,n,i,r},d.prototype.format=function(e,t,n){return t.format({marker:e,timeZoneOffset:null!=(n=void 0===n?{}:n).forcedTzo?n.forcedTzo:this.offsetForMarker(e)},this)},d.prototype.formatRange=function(e,t,n,i){return(i=void 0===i?{}:i).isEndExclusive&&(t=g(t,-1)),n.formatRange({marker:e,timeZoneOffset:null!=i.forcedStartTzo?i.forcedStartTzo:this.offsetForMarker(e)},{marker:t,timeZoneOffset:null!=i.forcedEndTzo?i.forcedEndTzo:this.offsetForMarker(t)},this,i.defaultSeparator)},d.prototype.formatIso=function(e,t){var n=null;return Pe(e,n=(t=void 0===t?{}:t).omitTimeZoneOffset?n:null!=t.forcedTzo?t.forcedTzo:this.offsetForMarker(e),t.omitTime)},d.prototype.timestampToMarker=function(e){return"local"===this.timeZone?o(ge(new Date(e))):"UTC"!==this.timeZone&&this.namedTimeZoneImpl?o(this.namedTimeZoneImpl.timestampToArray(e)):new Date(e)},d.prototype.offsetForMarker=function(e){return"local"===this.timeZone?-me(n(e)).getTimezoneOffset():"UTC"===this.timeZone?0:this.namedTimeZoneImpl?this.namedTimeZoneImpl.offsetForArray(n(e)):null},d.prototype.toDate=function(e,t){return"local"===this.timeZone?me(n(e)):"UTC"===this.timeZone?new Date(e.valueOf()):this.namedTimeZoneImpl?new Date(e.valueOf()-1e3*this.namedTimeZoneImpl.offsetForArray(n(e))*60):new Date(e.valueOf()-(t||0))};var mn=d;function d(e){var t=this.timeZone=e.timeZone,n="local"!==t&&"UTC"!==t;e.namedTimeZoneImpl&&n&&(this.namedTimeZoneImpl=new e.namedTimeZoneImpl(t)),this.canComputeOffset=Boolean(!n||this.namedTimeZoneImpl),this.calendarSystem=(t=e.calendarSystem,new dn[t]),this.locale=e.locale,this.weekDow=e.locale.week.dow,this.weekDoy=e.locale.week.doy,"ISO"===e.weekNumberCalculation&&(this.weekDow=1,this.weekDoy=4),"number"==typeof e.firstDay&&(this.weekDow=e.firstDay),"function"==typeof e.weekNumberCalculation&&(this.weekNumberFunc=e.weekNumberCalculation),this.weekText=(null!=e.weekText?e:e.locale.options).weekText,this.weekTextLong=(null!=e.weekTextLong?e:e.locale.options).weekTextLong||this.weekText,this.cmdFormatter=e.cmdFormatter,this.defaultSeparator=e.defaultSeparator}var vn=[],yn={code:"en",week:{dow:0,doy:4},direction:"ltr",buttonText:{prev:"prev",next:"next",prevYear:"prev year",nextYear:"next year",year:"year",today:"today",month:"month",week:"week",day:"day",list:"list"},weekText:"W",weekTextLong:"Week",closeHint:"Close",timeHint:"Time",eventHint:"Event",allDayText:"all-day",moreLinkText:"more",noEventsText:"No events to display"},bn=A.__assign(A.__assign({},yn),{buttonHints:{prev:"Previous $0",next:"Next $0",today:function(e,t){return"day"===t?"Today":"This "+e}},viewHint:"$0 view",navLinkHint:"Go to $0",moreLinkHint:function(e){return"Show "+e+" more event"+(1===e?"":"s")}});function _n(e){for(var t=0<e.length?e[0].code:"en",e=vn.concat(e),n={en:bn},i=0,r=e;i<r.length;i++){var o=r[i];n[o.code]=o}return{map:n,defaultCode:t}}function wn(e,t){return"object"!==u(e)||Array.isArray(e)?(t=t,i=[].concat((n=e)||[]),t=function(e,t){for(var n=0;n<e.length;n+=1)for(var i=e[n].toLocaleLowerCase().split("-"),r=i.length;0<r;--r){var o=i.slice(0,r).join("-");if(t[o])return t[o]}return null}(i,t)||bn,xn(n,i,t)):xn(e.code,[e.code],e);var n,i}function xn(e,t,n){var n=_e([yn,n],["buttonText"]),i=(delete n.code,n.week);return delete n.week,{codeArg:e,codes:t,week:i,simpleNumberFormat:new Intl.NumberFormat(e),options:n}}function Sn(e){var t=wn(e.locale||"en",_n([]).map);return new mn(A.__assign(A.__assign({timeZone:tt.timeZone,calendarSystem:"gregory"},e),{locale:t}))}var Cn,En={startTime:"09:00",endTime:"17:00",daysOfWeek:[1,2,3,4,5],display:"inverse-background",classNames:"fc-non-business",groupId:"_businessHours"};function kn(e,t){return ut(function(e){e=!0===e?[{}]:Array.isArray(e)?e.filter(function(e){return e.daysOfWeek}):"object"===u(e)&&e?[e]:[];return e=e.map(function(e){return A.__assign(A.__assign({},En),e)})}(e),null,t)}function Mn(e,t){e={left:Math.max(e.left,t.left),right:Math.min(e.right,t.right),top:Math.max(e.top,t.top),bottom:Math.min(e.bottom,t.bottom)};return e.left<e.right&&e.top<e.bottom&&e}function Dn(){return Cn=null==Cn?function(){if("undefined"==typeof document)return!0;var e=document.createElement("div");e.style.position="absolute",e.style.top="0px",e.style.left="0px",e.innerHTML="<table><tr><td><div></div></td></tr></table>",e.querySelector("table").style.height="100px",e.querySelector("div").style.height="100%",document.body.appendChild(e);var t=0<e.querySelector("div").offsetHeight;return document.body.removeChild(e),t}():Cn}var Tn=x(),Rn=(An.prototype.splitProps=function(e){var t,n=this,i=this.getKeyInfo(e),r=this.getKeysForEventDefs(e.eventStore),o=this.splitDateSelection(e.dateSelection),a=this.splitIndividualUi(e.eventUiBases,r),l=this.splitEventStore(e.eventStore,r),s=this.splitEventDrag(e.eventDrag),u=this.splitEventResize(e.eventResize),c={};for(t in this.eventUiBuilders=P(i,function(e,t){return n.eventUiBuilders[t]||w(On)}),i){var h=i[t],d=l[t]||Tn,f=this.eventUiBuilders[t];c[t]={businessHours:h.businessHours||e.businessHours,dateSelection:o[t]||null,eventStore:d,eventUiBases:f(e.eventUiBases[""],h.ui,a[t]),eventSelection:d.instances[e.eventSelection]?e.eventSelection:"",eventDrag:s[t]||null,eventResize:u[t]||null}}return c},An.prototype._splitDateSpan=function(e){var t={};if(e)for(var n=0,i=this.getKeysForDateSpan(e);n<i.length;n++)t[i[n]]=e;return t},An.prototype._getKeysForEventDefs=function(e){var t=this;return P(e.defs,function(e){return t.getKeysForEventDef(e)})},An.prototype._splitEventStore=function(e,t){var n,i,r=e.defs,o=e.instances,a={};for(n in r)for(var l=0,s=t[n];l<s.length;l++)a[u=s[l]]||(a[u]=x()),a[u].defs[n]=r[n];for(i in o)for(var u,c=o[i],h=0,d=t[c.defId];h<d.length;h++)a[u=d[h]]&&(a[u].instances[i]=c);return a},An.prototype._splitIndividualUi=function(e,t){var n,i={};for(n in e)if(n)for(var r=0,o=t[n];r<o.length;r++){var a=o[r];i[a]||(i[a]={}),i[a][n]=e[n]}return i},An.prototype._splitInteraction=function(t){var n={};if(t){var e,i=this._splitEventStore(t.affectedEvents,this._getKeysForEventDefs(t.affectedEvents)),r=this._getKeysForEventDefs(t.mutatedEvents),o=this._splitEventStore(t.mutatedEvents,r),a=function(e){n[e]||(n[e]={affectedEvents:i[e]||Tn,mutatedEvents:o[e]||Tn,isEvent:t.isEvent})};for(e in i)a(e);for(e in o)a(e)}return n},An);function An(){this.getKeysForEventDefs=w(this._getKeysForEventDefs),this.splitDateSelection=w(this._splitDateSpan),this.splitEventStore=w(this._splitEventStore),this.splitIndividualUi=w(this._splitIndividualUi),this.splitEventDrag=w(this._splitInteraction),this.splitEventResize=w(this._splitInteraction),this.eventUiBuilders={}}function On(e,t,n){var i=[],e=(e&&i.push(e),t&&i.push(t),{"":yt(i)});return n&&A.__assign(e,n),e}function Pn(e,t,n,i){return{dow:e.getUTCDay(),isDisabled:Boolean(i&&!Lt(i.activeRange,e)),isOther:Boolean(i&&!Lt(i.currentRange,e)),isToday:Boolean(t&&Lt(t,e)),isPast:Boolean(n?e<n:!!t&&e<t.start),isFuture:Boolean(n?n<e:!!t&&e>=t.end)}}function In(e,t){var n=["fc-day","fc-day-"+ce[e.dow]];return e.isDisabled?n.push("fc-day-disabled"):(e.isToday&&(n.push("fc-day-today"),n.push(t.getClass("today"))),e.isPast&&n.push("fc-day-past"),e.isFuture&&n.push("fc-day-future"),e.isOther&&n.push("fc-day-other")),n}var Nn=a({year:"numeric",month:"long",day:"numeric"}),Ln=a({week:"long"});function Hn(e,n,i,t){void 0===i&&(i="day"),void 0===t&&(t=!0);var r,o,a=e.dateEnv,l=e.options,s=e.calendarApi,e=a.format(n,"week"===i?Ln:Nn);return l.navLinks?(r=a.toDate(n),o=function(e){var t="day"===i?l.navLinkDayClick:"week"===i?l.navLinkWeekClick:null;"function"==typeof t?t.call(s,a.toDate(n),e):("string"==typeof t&&(i=t),s.zoomTo(n,i))},A.__assign({title:le(l.navLinkHint,[e,r],e),"data-navlink":""},t?Q(o):{onClick:o})):{"aria-label":e}}var Wn,jn=null;function Fn(){var e,t;return null===jn&&(Y(e=document.createElement("div"),{position:"absolute",top:-1e3,left:0,border:0,padding:0,overflow:"scroll",direction:"rtl"}),e.innerHTML="<div></div>",document.body.appendChild(e),t=e.firstChild.getBoundingClientRect().left>e.getBoundingClientRect().left,F(e),jn=t),jn}function zn(){var e,t;return Wn||((e=document.createElement("div")).style.overflow="scroll",e.style.position="absolute",e.style.top="-9999px",e.style.left="-9999px",document.body.appendChild(e),t=Vn(e),document.body.removeChild(e),Wn=t),Wn}function Vn(e){return{x:e.offsetHeight-e.clientHeight,y:e.offsetWidth-e.clientWidth}}function Bn(e,t){void 0===t&&(t=!1);var n=window.getComputedStyle(e),i=parseInt(n.borderLeftWidth,10)||0,r=parseInt(n.borderRightWidth,10)||0,o=parseInt(n.borderTopWidth,10)||0,a=parseInt(n.borderBottomWidth,10)||0,e=Vn(e),l=e.y-i-r,i={borderLeft:i,borderRight:r,borderTop:o,borderBottom:a,scrollbarBottom:e.x-o-a,scrollbarLeft:0,scrollbarRight:0};return Fn()&&"rtl"===n.direction?i.scrollbarLeft=l:i.scrollbarRight=l,t&&(i.paddingLeft=parseInt(n.paddingLeft,10)||0,i.paddingRight=parseInt(n.paddingRight,10)||0,i.paddingTop=parseInt(n.paddingTop,10)||0,i.paddingBottom=parseInt(n.paddingBottom,10)||0),i}function Yn(e){e=e.getBoundingClientRect();return{left:e.left+window.pageXOffset,top:e.top+window.pageYOffset,right:e.right+window.pageXOffset,bottom:e.bottom+window.pageYOffset}}function Un(e){for(var t=[];e instanceof HTMLElement;){var n=window.getComputedStyle(e);if("fixed"===n.position)break;/(auto|scroll)/.test(n.overflow+n.overflowY+n.overflowX)&&t.push(e),e=e.parentNode}return t}function qn(e,t,n){function i(){o||(o=!0,t.apply(this,arguments))}function r(){o||(o=!0,n&&n.apply(this,arguments))}var o=!1,e=e(i,r);e&&"function"==typeof e.then&&e.then(i,r)}Gn.prototype.setThisContext=function(e){this.thisContext=e},Gn.prototype.setOptions=function(e){this.options=e},Gn.prototype.on=function(e,t){var n;n=this.handlers,t=t,(n[e=e]||(n[e]=[])).push(t)},Gn.prototype.off=function(e,t){var n,i;n=this.handlers,e=e,(i=t)?n[e]&&(n[e]=n[e].filter(function(e){return e!==i})):delete n[e]},Gn.prototype.trigger=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var i=this.handlers[e]||[],e=this.options&&this.options[e],r=0,o=[].concat(e||[],i);r<o.length;r++)o[r].apply(this.thisContext,t)},Gn.prototype.hasHandlers=function(e){return Boolean(this.handlers[e]&&this.handlers[e].length||this.options&&this.options[e])};var Zn=Gn;function Gn(){this.handlers={},this.thisContext=null}$n.prototype.buildElHorizontals=function(e){for(var t=[],n=[],i=0,r=this.els;i<r.length;i++){var o=r[i].getBoundingClientRect();t.push(o.left-e),n.push(o.right-e)}this.lefts=t,this.rights=n},$n.prototype.buildElVerticals=function(e){for(var t=[],n=[],i=0,r=this.els;i<r.length;i++){var o=r[i].getBoundingClientRect();t.push(o.top-e),n.push(o.bottom-e)}this.tops=t,this.bottoms=n},$n.prototype.leftToIndex=function(e){for(var t=this.lefts,n=this.rights,i=t.length,r=0;r<i;r+=1)if(e>=t[r]&&e<n[r])return r},$n.prototype.topToIndex=function(e){for(var t=this.tops,n=this.bottoms,i=t.length,r=0;r<i;r+=1)if(e>=t[r]&&e<n[r])return r},$n.prototype.getWidth=function(e){return this.rights[e]-this.lefts[e]},$n.prototype.getHeight=function(e){return this.bottoms[e]-this.tops[e]};var Xn=$n;function $n(e,t,n,i){this.els=t;t=this.originClientRect=e.getBoundingClientRect();n&&this.buildElHorizontals(t.left),i&&this.buildElVerticals(t.top)}f.prototype.getMaxScrollTop=function(){return this.getScrollHeight()-this.getClientHeight()},f.prototype.getMaxScrollLeft=function(){return this.getScrollWidth()-this.getClientWidth()},f.prototype.canScrollVertically=function(){return 0<this.getMaxScrollTop()},f.prototype.canScrollHorizontally=function(){return 0<this.getMaxScrollLeft()},f.prototype.canScrollUp=function(){return 0<this.getScrollTop()},f.prototype.canScrollDown=function(){return this.getScrollTop()<this.getMaxScrollTop()},f.prototype.canScrollLeft=function(){return 0<this.getScrollLeft()},f.prototype.canScrollRight=function(){return this.getScrollLeft()<this.getMaxScrollLeft()};var Kn=f;function f(){}Qn=Kn,A.__extends(y,Qn),y.prototype.getScrollTop=function(){return this.el.scrollTop},y.prototype.getScrollLeft=function(){return this.el.scrollLeft},y.prototype.setScrollTop=function(e){this.el.scrollTop=e},y.prototype.setScrollLeft=function(e){this.el.scrollLeft=e},y.prototype.getScrollWidth=function(){return this.el.scrollWidth},y.prototype.getScrollHeight=function(){return this.el.scrollHeight},y.prototype.getClientHeight=function(){return this.el.clientHeight},y.prototype.getClientWidth=function(){return this.el.clientWidth};var Qn,Jn=y;function y(e){var t=Qn.call(this)||this;return t.el=e,t}ei=Kn,A.__extends(b,ei),b.prototype.getScrollTop=function(){return window.pageYOffset},b.prototype.getScrollLeft=function(){return window.pageXOffset},b.prototype.setScrollTop=function(e){window.scroll(window.pageXOffset,e)},b.prototype.setScrollLeft=function(e){window.scroll(e,window.pageYOffset)},b.prototype.getScrollWidth=function(){return document.documentElement.scrollWidth},b.prototype.getScrollHeight=function(){return document.documentElement.scrollHeight},b.prototype.getClientHeight=function(){return document.documentElement.clientHeight},b.prototype.getClientWidth=function(){return document.documentElement.clientWidth};var ei,ti=b;function b(){return null!==ei&&ei.apply(this,arguments)||this}ii.prototype.setIconOverride=function(e){var t,n;if("object"===u(e)&&e){for(n in t=A.__assign({},this.iconClasses),e)t[n]=this.applyIconOverridePrefix(e[n]);this.iconClasses=t}else!1===e&&(this.iconClasses={})},ii.prototype.applyIconOverridePrefix=function(e){var t=this.iconOverridePrefix;return e=t&&0!==e.indexOf(t)?t+e:e},ii.prototype.getClass=function(e){return this.classes[e]||""},ii.prototype.getIconClass=function(e,t){t=t&&this.rtlIconClasses&&this.rtlIconClasses[e]||this.iconClasses[e];return t?this.baseIconClass+" "+t:""},ii.prototype.getCustomButtonIconClass=function(e){return this.iconOverrideCustomButtonOption&&(e=e[this.iconOverrideCustomButtonOption])?this.baseIconClass+" "+this.applyIconOverridePrefix(e):""};var ni=ii;function ii(e){this.iconOverrideOption&&this.setIconOverride(e[this.iconOverrideOption])}ni.prototype.classes={},ni.prototype.iconClasses={},ni.prototype.baseIconClass="",ni.prototype.iconOverridePrefix="";oi.prototype.detach=function(){this.emitter.off("_scrollRequest",this.handleScrollRequest)},oi.prototype.update=function(e){e&&this.scrollTimeReset?this.fireInitialScroll():this.drain()},oi.prototype.fireInitialScroll=function(){this.handleScrollRequest({time:this.scrollTime})},oi.prototype.drain=function(){this.queuedRequest&&this.execFunc(this.queuedRequest)&&(this.queuedRequest=null)};var ri=oi;function oi(e,t,n,i){var r=this;this.execFunc=e,this.emitter=t,this.scrollTime=n,this.scrollTimeReset=i,this.handleScrollRequest=function(e){r.queuedRequest=A.__assign({},r.queuedRequest||{},e),r.drain()},t.on("_scrollRequest",this.handleScrollRequest),this.fireInitialScroll()}var S=p.createContext({});function ai(e,t,n,i,r,o,a,l,s,u,c,h,d){return{dateEnv:r,options:n,pluginHooks:a,emitter:u,dispatch:l,getCurrentData:s,calendarApi:c,viewSpec:e,viewApi:t,dateProfileGenerator:i,theme:o,isRtl:"rtl"===n.direction,addResizeHandler:function(e){u.on("_resize",e)},removeResizeHandler:function(e){u.off("_resize",e)},createScrollResponder:function(e){return new ri(e,u,v(n.scrollTime),n.scrollTimeReset)},registerInteractiveComponent:h,unregisterInteractiveComponent:d}}li=p.Component,A.__extends(ui,li),ui.prototype.shouldComponentUpdate=function(e,t){return this.debug&&console.log(Se(e,this.props),Se(t,this.state)),!Ce(this.props,e,this.propEquality)||!Ce(this.state,t,this.stateEquality)},ui.prototype.safeSetState=function(e){Ce(this.state,A.__assign(A.__assign({},this.state),e),this.stateEquality)||this.setState(e)},ui.addPropsEquality=di,ui.addStateEquality=fi,ui.contextType=S;var li,si=ui;function ui(){return null!==li&&li.apply(this,arguments)||this}si.prototype.propEquality={},si.prototype.stateEquality={};ci=si,A.__extends(hi,ci),hi.contextType=S;var ci,C=hi;function hi(){return null!==ci&&ci.apply(this,arguments)||this}function di(e){var t=Object.create(this.prototype.propEquality);A.__assign(t,e),this.prototype.propEquality=t}function fi(e){var t=Object.create(this.prototype.stateEquality);A.__assign(t,e),this.prototype.stateEquality=t}function pi(e,t){"function"==typeof e?e(t):e&&(e.current=t)}gi=C,A.__extends(vi,gi),vi.prototype.prepareHits=function(){},vi.prototype.queryHit=function(e,t,n,i){return null},vi.prototype.isValidSegDownEl=function(e){return!this.props.eventDrag&&!this.props.eventResize&&!l(e,".fc-event-mirror")},vi.prototype.isValidDateDownEl=function(e){return!(l(e,".fc-event:not(.fc-bg-event)")||l(e,".fc-more-link")||l(e,"a[data-navlink]")||l(e,".fc-popover"))};var gi,mi=vi;function vi(){var e=null!==gi&&gi.apply(this,arguments)||this;return e.uid=te(),e}function yi(e){return{id:te(),deps:e.deps||[],reducers:e.reducers||[],isLoadingFuncs:e.isLoadingFuncs||[],contextInit:[].concat(e.contextInit||[]),eventRefiners:e.eventRefiners||{},eventDefMemberAdders:e.eventDefMemberAdders||[],eventSourceRefiners:e.eventSourceRefiners||{},isDraggableTransformers:e.isDraggableTransformers||[],eventDragMutationMassagers:e.eventDragMutationMassagers||[],eventDefMutationAppliers:e.eventDefMutationAppliers||[],dateSelectionTransformers:e.dateSelectionTransformers||[],datePointTransforms:e.datePointTransforms||[],dateSpanTransforms:e.dateSpanTransforms||[],views:e.views||{},viewPropsTransformers:e.viewPropsTransformers||[],isPropsValid:e.isPropsValid||null,externalDefTransforms:e.externalDefTransforms||[],viewContainerAppends:e.viewContainerAppends||[],eventDropTransformers:e.eventDropTransformers||[],componentInteractions:e.componentInteractions||[],calendarInteractions:e.calendarInteractions||[],themeClasses:e.themeClasses||{},eventSourceDefs:e.eventSourceDefs||[],cmdFormatter:e.cmdFormatter,recurringTypes:e.recurringTypes||[],namedTimeZonedImpl:e.namedTimeZonedImpl,initialView:e.initialView||"",elementDraggingImpl:e.elementDraggingImpl,optionChangeHandlers:e.optionChangeHandlers||{},scrollGridImpl:e.scrollGridImpl||null,contentTypeHandlers:e.contentTypeHandlers||{},listenerRefiners:e.listenerRefiners||{},optionRefiners:e.optionRefiners||{},propSetHandlers:e.propSetHandlers||{}}}function bi(e,t){var o={},a={reducers:[],isLoadingFuncs:[],contextInit:[],eventRefiners:{},eventDefMemberAdders:[],eventSourceRefiners:{},isDraggableTransformers:[],eventDragMutationMassagers:[],eventDefMutationAppliers:[],dateSelectionTransformers:[],datePointTransforms:[],dateSpanTransforms:[],views:{},viewPropsTransformers:[],isPropsValid:null,externalDefTransforms:[],viewContainerAppends:[],eventDropTransformers:[],componentInteractions:[],calendarInteractions:[],themeClasses:{},eventSourceDefs:[],cmdFormatter:null,recurringTypes:[],namedTimeZonedImpl:null,initialView:"",elementDraggingImpl:null,optionChangeHandlers:{},scrollGridImpl:null,contentTypeHandlers:{},listenerRefiners:{},optionRefiners:{},propSetHandlers:{}};function l(e){for(var t,n=0,i=e;n<i.length;n++){var r=i[n];o[r.id]||(o[r.id]=!0,l(r.deps),r=r,a={reducers:(t=a).reducers.concat(r.reducers),isLoadingFuncs:t.isLoadingFuncs.concat(r.isLoadingFuncs),contextInit:t.contextInit.concat(r.contextInit),eventRefiners:A.__assign(A.__assign({},t.eventRefiners),r.eventRefiners),eventDefMemberAdders:t.eventDefMemberAdders.concat(r.eventDefMemberAdders),eventSourceRefiners:A.__assign(A.__assign({},t.eventSourceRefiners),r.eventSourceRefiners),isDraggableTransformers:t.isDraggableTransformers.concat(r.isDraggableTransformers),eventDragMutationMassagers:t.eventDragMutationMassagers.concat(r.eventDragMutationMassagers),eventDefMutationAppliers:t.eventDefMutationAppliers.concat(r.eventDefMutationAppliers),dateSelectionTransformers:t.dateSelectionTransformers.concat(r.dateSelectionTransformers),datePointTransforms:t.datePointTransforms.concat(r.datePointTransforms),dateSpanTransforms:t.dateSpanTransforms.concat(r.dateSpanTransforms),views:A.__assign(A.__assign({},t.views),r.views),viewPropsTransformers:t.viewPropsTransformers.concat(r.viewPropsTransformers),isPropsValid:r.isPropsValid||t.isPropsValid,externalDefTransforms:t.externalDefTransforms.concat(r.externalDefTransforms),viewContainerAppends:t.viewContainerAppends.concat(r.viewContainerAppends),eventDropTransformers:t.eventDropTransformers.concat(r.eventDropTransformers),calendarInteractions:t.calendarInteractions.concat(r.calendarInteractions),componentInteractions:t.componentInteractions.concat(r.componentInteractions),themeClasses:A.__assign(A.__assign({},t.themeClasses),r.themeClasses),eventSourceDefs:t.eventSourceDefs.concat(r.eventSourceDefs),cmdFormatter:r.cmdFormatter||t.cmdFormatter,recurringTypes:t.recurringTypes.concat(r.recurringTypes),namedTimeZonedImpl:r.namedTimeZonedImpl||t.namedTimeZonedImpl,initialView:t.initialView||r.initialView,elementDraggingImpl:t.elementDraggingImpl||r.elementDraggingImpl,optionChangeHandlers:A.__assign(A.__assign({},t.optionChangeHandlers),r.optionChangeHandlers),scrollGridImpl:r.scrollGridImpl||t.scrollGridImpl,contentTypeHandlers:A.__assign(A.__assign({},t.contentTypeHandlers),r.contentTypeHandlers),listenerRefiners:A.__assign(A.__assign({},t.listenerRefiners),r.listenerRefiners),optionRefiners:A.__assign(A.__assign({},t.optionRefiners),r.optionRefiners),propSetHandlers:A.__assign(A.__assign({},t.propSetHandlers),r.propSetHandlers)})}}return e&&l(e),l(t),a}_i=ni,A.__extends(xi,_i);var _i,wi=xi;function xi(){return null!==_i&&_i.apply(this,arguments)||this}function Si(e,t,n,i){if(t[e])return t[e];n=function(e,t,n,i){function r(e){return o&&null!==o[e]?o[e]:a&&null!==a[e]?a[e]:null}var o=n[e],a=i[e],l=r("component"),s=r("superType"),u=null;if(s){if(s===e)throw new Error("Can't have a custom view type that references itself");u=Si(s,t,n,i)}!l&&u&&(l=u.component);return l?{type:e,component:l,defaults:A.__assign(A.__assign({},u?u.defaults:{}),o?o.rawOptions:{}),overrides:A.__assign(A.__assign({},u?u.overrides:{}),a?a.rawOptions:{})}:null}(e,t,n,i);return n&&(t[e]=n),n}wi.prototype.classes={root:"fc-theme-standard",tableCellShaded:"fc-cell-shaded",buttonGroup:"fc-button-group",button:"fc-button fc-button-primary",buttonActive:"fc-button-active"},wi.prototype.baseIconClass="fc-icon",wi.prototype.iconClasses={close:"fc-icon-x",prev:"fc-icon-chevron-left",next:"fc-icon-chevron-right",prevYear:"fc-icon-chevrons-left",nextYear:"fc-icon-chevrons-right"},wi.prototype.rtlIconClasses={prev:"fc-icon-chevron-right",next:"fc-icon-chevron-left",prevYear:"fc-icon-chevrons-right",nextYear:"fc-icon-chevrons-left"},wi.prototype.iconOverrideOption="buttonIcons",wi.prototype.iconOverrideCustomButtonOption="icon",wi.prototype.iconOverridePrefix="fc-icon-";Ci=C,A.__extends(ki,Ci),ki.prototype.render=function(){var e=this,i=this.props,r=i.hookProps;return p.createElement(Oi,{hookProps:r,didMount:i.didMount,willUnmount:i.willUnmount,elRef:this.handleRootEl},function(n){return p.createElement(Di,{hookProps:r,content:i.content,defaultContent:i.defaultContent,backupElRef:e.rootElRef},function(e,t){return i.children(n,Ni(i.classNames,r),e,t)})})};var Ci,Ei=ki;function ki(){var t=null!==Ci&&Ci.apply(this,arguments)||this;return t.rootElRef=p.createRef(),t.handleRootEl=function(e){pi(t.rootElRef,e),t.props.elRef&&pi(t.props.elRef,e)},t}var Mi=p.createContext(0);function Di(t){return p.createElement(Mi.Consumer,null,function(e){return p.createElement(Ri,A.__assign({renderId:e},t))})}Ti=C,A.__extends(E,Ti),E.prototype.render=function(){return this.props.children(this.innerElRef,this.renderInnerContent())},E.prototype.componentDidMount=function(){this.updateCustomContent()},E.prototype.componentDidUpdate=function(){this.updateCustomContent()},E.prototype.componentWillUnmount=function(){this.customContentInfo&&this.customContentInfo.destroy&&this.customContentInfo.destroy()},E.prototype.renderInnerContent=function(){var e=this.customContentInfo,t=this.getInnerContent(),n=this.getContentMeta(t);return e&&e.contentKey===n.contentKey?e&&(e.contentVal=t[n.contentKey]):(e&&(e.destroy&&e.destroy(),e=this.customContentInfo=null),n.contentKey&&(e=this.customContentInfo=A.__assign({contentKey:n.contentKey,contentVal:t[n.contentKey]},n.buildLifecycleFuncs()))),e?[]:t},E.prototype.getInnerContent=function(){var e=this.props,t=Li(e.content,e.hookProps);return null==(t=void 0===t?Li(e.defaultContent,e.hookProps):t)?null:t},E.prototype.getContentMeta=function(e){var t=this.context.pluginHooks.contentTypeHandlers,n="",i=null;if(e)for(var r in t)if(void 0!==e[r]){i=t[n=r];break}return{contentKey:n,buildLifecycleFuncs:i}},E.prototype.updateCustomContent=function(){this.customContentInfo&&this.customContentInfo.render(this.innerElRef.current||this.props.backupElRef.current,this.customContentInfo.contentVal)};var Ti,Ri=E;function E(){var e=null!==Ti&&Ti.apply(this,arguments)||this;return e.innerElRef=p.createRef(),e}Ai=C,A.__extends(Pi,Ai),Pi.prototype.render=function(){return this.props.children(this.handleRootEl)},Pi.prototype.componentDidMount=function(){var e=this.props.didMount;e&&e(A.__assign(A.__assign({},this.props.hookProps),{el:this.rootEl}))},Pi.prototype.componentWillUnmount=function(){var e=this.props.willUnmount;e&&e(A.__assign(A.__assign({},this.props.hookProps),{el:this.rootEl}))};var Ai,Oi=Pi;function Pi(){var t=null!==Ai&&Ai.apply(this,arguments)||this;return t.handleRootEl=function(e){t.rootEl=e,t.props.elRef&&pi(t.props.elRef,e)},t}function Ii(){var n,i,r=[];return function(e,t){return r=i&&_(i,t)&&e===n?r:Ni(n=e,i=t)}}function Ni(e,t){return pt(e="function"==typeof e?e(t):e)}function Li(e,t){return"function"==typeof e?e(t,p.createElement):e}Hi=C,A.__extends(ji,Hi),ji.prototype.render=function(){var t=this.props,e=this.context,n=e.options,e={view:e.viewApi},i=this.normalizeClassNames(n.viewClassNames,e);return p.createElement(Oi,{hookProps:e,didMount:n.viewDidMount,willUnmount:n.viewWillUnmount,elRef:t.elRef},function(e){return t.children(e,["fc-"+t.viewSpec.type+"-view","fc-view"].concat(i))})};var Hi,Wi=ji;function ji(){var e=null!==Hi&&Hi.apply(this,arguments)||this;return e.normalizeClassNames=Ii(),e}function Fi(e){return P(e,zi)}function zi(e){var o,e="function"==typeof e?{component:e}:e,t=e.component;return e.content&&(o=e,t=function(i){return p.createElement(S.Consumer,null,function(n){return p.createElement(Wi,{viewSpec:n.viewSpec},function(e,r){var t=A.__assign(A.__assign({},i),{nextDayThreshold:n.options.nextDayThreshold});return p.createElement(Ei,{hookProps:t,classNames:o.classNames,content:o.content,didMount:o.didMount,willUnmount:o.willUnmount,elRef:e},function(e,t,n,i){return p.createElement("div",{className:r.concat(t).join(" "),ref:e},i)})})})}),{superType:e.type,component:t,rawOptions:e}}function Vi(e,d,f,p){var e=Fi(e),g=Fi(d.views);return P(function(e,t){var n,i={};for(n in e)Si(n,i,e,t);for(n in t)Si(n,i,e,t);return i}(e,g),function(e){var n=e,e=g,t=d,i=f,r=p,o=n.overrides.duration||n.defaults.duration||i.duration||t.duration,a=null,l="",s="",u={};function c(e){var e=e.buttonText||{},t=n.defaults.buttonTextKey;return null!=t&&null!=e[t]?e[t]:null!=e[n.type]?e[n.type]:null!=e[s]?e[s]:null}function h(e){var e=e.buttonHints||{},t=n.defaults.buttonTextKey;return null!=t&&null!=e[t]?e[t]:null!=e[n.type]?e[n.type]:null!=e[s]?e[s]:null}return o&&(a=function(e){var t=JSON.stringify(e),n=Bi[t];void 0===n&&(n=v(e),Bi[t]=n);return n}(o))&&(o=Oe(a),l=o.unit,1===o.value&&(u=e[s=l]?e[l].rawOptions:{})),{type:n.type,component:n.component,duration:a,durationUnit:l,singleUnit:s,optionDefaults:n.defaults,optionOverrides:A.__assign(A.__assign({},u),n.overrides),buttonTextOverride:c(i)||c(t)||n.overrides.buttonText,buttonTextDefault:c(r)||n.defaults.buttonText||c(tt)||n.type,buttonTitleOverride:h(i)||h(t)||n.overrides.buttonHint,buttonTitleDefault:h(r)||n.defaults.buttonHint||h(tt)}})}var Bi={};k.prototype.buildPrev=function(e,t,n){var i=this.props.dateEnv,i=i.subtract(i.startOf(t,e.currentRangeUnit),e.dateIncrement);return this.build(i,-1,n)},k.prototype.buildNext=function(e,t,n){var i=this.props.dateEnv,i=i.add(i.startOf(t,e.currentRangeUnit),e.dateIncrement);return this.build(i,1,n)},k.prototype.build=function(e,t,n){void 0===n&&(n=!0);var i,r,o=this.props,a=this.buildValidRange();return a=this.trimHiddenDays(a),n&&(n=e,e=null!=(r=a).start&&n<r.start?r.start:null!=r.end&&n>=r.end?new Date(r.end.valueOf()-1):n),r=this.buildCurrentRangeInfo(e,t),n=/^(year|month|week|day)$/.test(r.unit),e=this.buildRenderRange(this.trimHiddenDays(r.range),r.unit,n),t=e=this.trimHiddenDays(e),o.showNonCurrentDates||(t=Ot(t,r.range)),t=Ot(t=this.adjustActiveRange(t),a),i=It(r.range,a),{validRange:a,currentRange:r.range,currentRangeUnit:r.unit,isRangeAllDay:n,activeRange:t,renderRange:e,slotMinTime:o.slotMinTime,slotMaxTime:o.slotMaxTime,isValid:i,dateIncrement:this.buildDateIncrement(r.duration)}},k.prototype.buildValidRange=function(){var e=this.props.validRangeInput,e="function"==typeof e?e.call(this.props.calendarApi,this.nowDate):e;return this.refineRange(e)||{start:null,end:null}},k.prototype.buildCurrentRangeInfo=function(e,t){var n,i=this.props,r=null,o=null,a=null;return i.duration?(r=i.duration,o=i.durationUnit,a=this.buildRangeFromDuration(e,t,r,o)):(n=this.props.dayCount)?(o="day",a=this.buildRangeFromDayCount(e,t,n)):(a=this.buildCustomVisibleRange(e))?o=i.dateEnv.greatestWholeUnit(a.start,a.end).unit:(o=Oe(r=this.getFallbackDuration()).unit,a=this.buildRangeFromDuration(e,t,r,o)),{duration:r,unit:o,range:a}},k.prototype.getFallbackDuration=function(){return v({day:1})},k.prototype.adjustActiveRange=function(e){var t=this.props,n=t.dateEnv,i=t.usesMinMaxTime,r=t.slotMinTime,t=t.slotMaxTime,o=e.start,e=e.end;return i&&(Re(r)<0&&(o=m(o),o=n.add(o,r)),1<Re(t)&&(e=h(e=m(e),-1),e=n.add(e,t))),{start:o,end:e}},k.prototype.buildRangeFromDuration=function(e,t,n,i){var r,o,a,l=this.props,s=l.dateEnv,u=l.dateAlignment;function c(){r=s.startOf(e,u),o=s.add(r,n),a={start:r,end:o}}return u||(l=this.props.dateIncrement,u=l&&Ae(l)<Ae(n)?Oe(l).unit:i),Re(n)<=1&&this.isHiddenDay(r)&&(r=m(r=this.skipHiddenDays(r,t))),c(),this.trimHiddenDays(a)||(e=this.skipHiddenDays(e,t),c()),a},k.prototype.buildRangeFromDayCount=function(e,t,n){for(var i=this.props,r=i.dateEnv,i=i.dateAlignment,o=0,e=m(e=i?r.startOf(e,i):e),a=e=this.skipHiddenDays(e,t);a=h(a,1),this.isHiddenDay(a)||(o+=1),o<n;);return{start:e,end:a}},k.prototype.buildCustomVisibleRange=function(e){var t=this.props,n=t.visibleRangeInput,t="function"==typeof n?n.call(t.calendarApi,t.dateEnv.toDate(e)):n,e=this.refineRange(t);return!e||null!=e.start&&null!=e.end?e:null},k.prototype.buildRenderRange=function(e,t,n){return e},k.prototype.buildDateIncrement=function(e){var t=this.props.dateIncrement;return t||((t=this.props.dateAlignment)?v(1,t):e||v({days:1}))},k.prototype.refineRange=function(e){var t,n,i;return e?(e=e,t=this.props.dateEnv,i=n=null,e.start&&(n=t.createMarker(e.start)),e.end&&(i=t.createMarker(e.end)),(t=!n&&!i||n&&i&&i<n?null:{start:n,end:i})&&Dt(t)):null},k.prototype.initHiddenDays=function(){var e,t=this.props.hiddenDays||[],n=[],i=0;for(!1===this.props.weekends&&t.push(0,6),e=0;e<7;e+=1)(n[e]=-1!==t.indexOf(e))||(i+=1);if(!i)throw new Error("invalid hiddenDays");this.isHiddenDayHash=n},k.prototype.trimHiddenDays=function(e){var t=e.start,e=e.end,t=t&&this.skipHiddenDays(t),e=e&&this.skipHiddenDays(e,-1,!0);return null==t||null==e||t<e?{start:t,end:e}:null},k.prototype.isHiddenDay=function(e){return e instanceof Date&&(e=e.getUTCDay()),this.isHiddenDayHash[e]},k.prototype.skipHiddenDays=function(e,t,n){for(void 0===t&&(t=1),void 0===n&&(n=!1);this.isHiddenDayHash[(e.getUTCDay()+(n?t:0)+7)%7];)e=h(e,t);return e};var Yi=k;function k(e){this.props=e,this.nowDate=un(e.nowInput,e.dateEnv),this.initHiddenDays()}function Ui(e,t,n){t=t?t.activeRange:null;return Gi({},function(e,t){var n=sn(t),i=[].concat(e.eventSources||[]),r=[];e.initialEvents&&i.unshift(e.initialEvents);e.events&&i.unshift(e.events);for(var o=0,a=i;o<a.length;o++){var l=ln(a[o],t,n);l&&r.push(l)}return r}(e,n),t,n)}function qi(e,t,n,i){var r,o=n?n.activeRange:null;switch(t.type){case"ADD_EVENT_SOURCES":return Gi(e,t.sources,o,i);case"REMOVE_EVENT_SOURCE":return r=t.sourceId,O(e,function(e){return e.sourceId!==r});case"PREV":case"NEXT":case"CHANGE_DATE":case"CHANGE_VIEW_TYPE":return n?Xi(e,o,i):e;case"FETCH_EVENT_SOURCES":return $i(e,t.sourceIds?we(t.sourceIds):Ki(e,i),o,t.isRefetch||!1,i);case"RECEIVE_EVENTS":case"RECEIVE_EVENT_ERROR":var a=e,l=t.sourceId,s=t.fetchId,u=t.fetchRange,c=a[l];return c&&s===c.latestFetchId?A.__assign(A.__assign({},a),((s={})[l]=A.__assign(A.__assign({},c),{isFetching:!1,fetchRange:u}),s)):a;case"REMOVE_ALL_EVENT_SOURCES":return{};default:return e}}function Zi(e){for(var t in e)if(e[t].isFetching)return!0;return!1}function Gi(e,t,n,i){for(var r={},o=0,a=t;o<a.length;o++){var l=a[o];r[l.sourceId]=l}return n&&(r=Xi(r,n,i)),A.__assign(A.__assign({},e),r)}function Xi(e,i,r){return $i(e,O(e,function(e){return t=i,Qi(e=e,n=r)?!n.options.lazyFetching||!e.fetchRange||e.isFetching||t.start<e.fetchRange.start||t.end>e.fetchRange.end:!e.latestFetchId;var t,n}),i,!1,r)}function $i(e,t,n,i,r){var o,a={};for(o in e){var l=e[o];t[o]?a[o]=function(n,i,e,r){var o=r.options,a=r.calendarApi,t=r.pluginHooks.eventSourceDefs[n.sourceDefId],l=te();return t.fetch({eventSource:n,range:i,isRefetch:e,context:r},function(e){var t=e.rawEvents;o.eventSourceSuccess&&(t=o.eventSourceSuccess.call(a,t,e.xhr)||t),n.success&&(t=n.success.call(a,t,e.xhr)||t),r.dispatch({type:"RECEIVE_EVENTS",sourceId:n.sourceId,fetchId:l,fetchRange:i,rawEvents:t})},function(e){console.warn(e.message,e),o.eventSourceFailure&&o.eventSourceFailure.call(a,e),n.failure&&n.failure(e),r.dispatch({type:"RECEIVE_EVENT_ERROR",sourceId:n.sourceId,fetchId:l,fetchRange:i,error:e})}),A.__assign(A.__assign({},n),{isFetching:!0,latestFetchId:l})}(l,n,i,r):a[o]=l}return a}function Ki(e,t){return O(e,function(e){return Qi(e,t)})}function Qi(e,t){return!t.pluginHooks.eventSourceDefs[e.sourceDefId].ignoreRange}function Ji(e,t,n,i,r){switch(t.type){case"RECEIVE_EVENTS":var o=e,a=n[t.sourceId],l=t.fetchId,s=t.fetchRange,u=t.rawEvents,c=r;return a&&l===a.latestFetchId?(l=ut(function(e,t,n){n=n.options.eventDataTransform,t=t?t.eventDataTransform:null;t&&(e=er(e,t));n&&(e=er(e,n));return e}(u,a,c),a,c),s&&(l=ke(l,s,c)),dt(tr(o,a.sourceId),l)):o;case"ADD_EVENTS":u=e,s=t.eventStore,c=i?i.activeRange:null,a=r;return c&&(s=ke(s,c,a)),dt(u,s);case"RESET_EVENTS":return t.eventStore;case"MERGE_EVENTS":return dt(e,t.eventStore);case"PREV":case"NEXT":case"CHANGE_DATE":case"CHANGE_VIEW_TYPE":return i?ke(e,i.activeRange,r):e;case"REMOVE_EVENTS":var h,d,l=e,f=t.eventStore,p=l.defs,g=l.instances,m={},v={};for(h in p)f.defs[h]||(m[h]=p[h]);for(d in g)!f.instances[d]&&m[g[d].defId]&&(v[d]=g[d]);return{defs:m,instances:v};case"REMOVE_EVENT_SOURCE":return tr(e,t.sourceId);case"REMOVE_ALL_EVENT_SOURCES":return ft(e,function(e){return!e.sourceId});case"REMOVE_ALL_EVENTS":return x();default:return e}}function er(e,t){if(t)for(var n=[],i=0,r=e;i<r.length;i++){var o=r[i],a=t(o);a?n.push(a):null==a&&n.push(o)}else n=e;return n}function tr(e,t){return ft(e,function(e){return e.sourceId!==t})}function nr(e,t,n,i,r){return{header:e.headerToolbar?ir(e.headerToolbar,e,t,n,i,r):null,footer:e.footerToolbar?ir(e.footerToolbar,e,t,n,i,r):null}}function ir(e,t,n,i,r,o){var a,l={},s=[],u=!1;for(a in e){var c=function(e,s,t,u,c,h){var d="rtl"===s.direction,f=s.customButtons||{},p=t.buttonText||{},g=s.buttonText||{},m=t.buttonHints||{},v=s.buttonHints||{},t=e?e.split(" "):[],y=[],b=!1;return{widgets:t.map(function(e){return e.split(",").map(function(t){return"title"===t?(b=!0,{buttonName:t}):((n=f[t])?(l=function(e){n.click&&n.click.call(e.target,e,e.target)},(e=u.getCustomButtonIconClass(n))||(e=u.getIconClass(t,d))||(i=n.text),o=n.hint||n.text):(a=c[t])?(y.push(t),l=function(){h.changeView(t)},(i=a.buttonTextOverride)||(e=u.getIconClass(t,d))||(i=a.buttonTextDefault),r=a.buttonTextOverride||a.buttonTextDefault,o=le(a.buttonTitleOverride||a.buttonTitleDefault||s.viewHint,[r,t],r)):h[t]&&(l=function(){h[t]()},(i=p[t])||(e=u.getIconClass(t,d))||(i=g[t]),o="prevYear"===t||"nextYear"===t?le(m[a="prevYear"===t?"prev":"next"]||v[a],[g.year||"year","year"],g[t]):function(e){return le(m[t]||v[t],[g[e]||e,e],g[t])}),{buttonName:t,buttonClick:l,buttonIcon:e,buttonText:i,buttonHint:o});var n,e,i,r,o,a,l})}),viewsWithButtons:y,hasTitle:b}}(e[a],t,n,i,r,o);l[a]=c.widgets,s.push.apply(s,c.viewsWithButtons),u=u||c.hasTitle}return{sectionWidgets:l,viewsWithButtons:s,hasTitle:u}}function rr(e,t,n,i,r){var o,a=null,l=("GET"===(e=e.toUpperCase())?(o=n,t=t+(-1===t.indexOf("?")?"?":"&")+or(o)):a=or(n),new XMLHttpRequest);l.open(e,t,!0),"GET"!==e&&l.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),l.onload=function(){if(200<=l.status&&l.status<400){var e=!1,t=void 0;try{t=JSON.parse(l.responseText),e=!0}catch(e){}e?i(t,l):r("Failure parsing JSON",l)}else r("Request failed",l)},l.onerror=function(){r("Request failed",l)},l.send(a)}function or(e){var t,n=[];for(t in e)n.push(encodeURIComponent(t)+"="+encodeURIComponent(e[t]));return n.join("&")}function ar(e,t){for(var n=xe(t.getCurrentData().eventSources),i=[],r=0,o=e;r<o.length;r++){for(var a=o[r],l=!1,s=0;s<n.length;s+=1)if(n[s]._raw===a){n.splice(s,1),l=!0;break}l||i.push(a)}for(var u=0,c=n;u<c.length;u++){var h=c[u];t.dispatch({type:"REMOVE_EVENT_SOURCE",sourceId:h.sourceId})}for(var d=0,f=i;d<f.length;d++){var p=f[d];t.calendarApi.addEventSource(p)}}var lr=[yi({eventSourceDefs:[{ignoreRange:!0,parseMeta:function(e){return Array.isArray(e.events)?e.events:null},fetch:function(e,t){t({rawEvents:e.eventSource.meta})}}]}),yi({eventSourceDefs:[{parseMeta:function(e){return"function"==typeof e.events?e.events:null},fetch:function(e,t,n){var i=e.context.dateEnv;qn(e.eventSource.meta.bind(null,Kt(e.range,i)),function(e){t({rawEvents:e})},n)}}]}),yi({eventSourceRefiners:{method:String,extraParams:e,startParam:String,endParam:String,timeZoneParam:String},eventSourceDefs:[{parseMeta:function(e){return!e.url||"json"!==e.format&&e.format?null:{url:e.url,format:"json",method:(e.method||"GET").toUpperCase(),extraParams:e.extraParams,startParam:e.startParam,endParam:e.endParam,timeZoneParam:e.timeZoneParam}},fetch:function(e,n,i){var t=e.eventSource.meta,e=function(e,t,n){var i,r,o,a=n.dateEnv,n=n.options,l={};null==(i=e.startParam)&&(i=n.startParam);null==(r=e.endParam)&&(r=n.endParam);null==(o=e.timeZoneParam)&&(o=n.timeZoneParam);n="function"==typeof e.extraParams?e.extraParams():e.extraParams||{};A.__assign(l,n),l[i]=a.formatIso(t.start),l[r]=a.formatIso(t.end),"local"!==a.timeZone&&(l[o]=a.timeZone);return l}(t,e.range,e.context);rr(t.method,t.url,e,function(e,t){n({rawEvents:e,xhr:t})},function(e,t){i({message:e,xhr:t})})}}]}),yi({recurringTypes:[{parse:function(e,t){var n,i,r;return e.daysOfWeek||e.startTime||e.endTime||e.startRecur||e.endRecur?(t={daysOfWeek:e.daysOfWeek||null,startTime:e.startTime||null,endTime:e.endTime||null,startRecur:e.startRecur?t.createMarker(e.startRecur):null,endRecur:e.endRecur?t.createMarker(e.endRecur):null},n=void 0,!(n=e.duration?e.duration:n)&&e.startTime&&e.endTime&&(i=e.endTime,r=e.startTime,n={years:i.years-r.years,months:i.months-r.months,days:i.days-r.days,milliseconds:i.milliseconds-r.milliseconds}),{allDayGuess:Boolean(!e.startTime&&!e.endTime),duration:n,typeData:t}):null},expand:function(e,t,n){t=Ot(t,{start:e.startRecur,end:e.endRecur});if(t){for(var i=e.daysOfWeek,r=e.startTime,e=t,o=n,a=i?we(i):null,l=m(e.start),s=e.end,u=[];l<s;){var c=void 0;a&&!a[l.getUTCDay()]||(c=r?o.add(l,r):l,u.push(c)),l=h(l,1)}return u}return[]}}],eventRefiners:{daysOfWeek:e,startTime:v,endTime:v,duration:v,startRecur:e,endRecur:e}}),yi({optionChangeHandlers:{events:function(e,t){ar([e],t)},eventSources:ar}}),yi({isLoadingFuncs:[function(e){return Zi(e.eventSources)}],contentTypeHandlers:{html:function(){var n=null,i="";return{render:function(e,t){e===n&&t===i||(e.innerHTML=t),n=e,i=t},destroy:function(){n.innerHTML="",n=null,i=""}}},domNodes:function(){var o=null,a=[];function l(){a.forEach(F),a=[],o=null}return{render:function(e,t){if(t=Array.prototype.slice.call(t),e!==o||!Le(a,t)){for(var n=0,i=t;n<i.length;n++){var r=i[n];e.appendChild(r)}l()}o=e,a=t},destroy:l}}},propSetHandlers:{dateProfile:function(e,t){t.emitter.trigger("datesSet",A.__assign(A.__assign({},Kt(e.activeRange,t.dateEnv)),{view:t.viewApi}))},eventStore:function(e,t){var n=t.emitter;n.hasHandlers("eventsSet")&&n.trigger("eventsSet",hn(e,t))}}})];M.prototype.request=function(e){this.isDirty=!0,this.isPaused()||(this.clearTimeout(),null==e?this.tryDrain():this.timeoutId=setTimeout(this.tryDrain.bind(this),e))},M.prototype.pause=function(e){var t=this.pauseDepths;t[e=void 0===e?"":e]=(t[e]||0)+1,this.clearTimeout()},M.prototype.resume=function(e,t){var n=this.pauseDepths;(e=void 0===e?"":e)in n&&(t?delete n[e]:(--n[e],n[e]<=0&&delete n[e]),this.tryDrain())},M.prototype.isPaused=function(){return Object.keys(this.pauseDepths).length},M.prototype.tryDrain=function(){if(!this.isRunning&&!this.isPaused()){for(this.isRunning=!0;this.isDirty;)this.isDirty=!1,this.drained();this.isRunning=!1}},M.prototype.clear=function(){this.clearTimeout(),this.isDirty=!1,this.pauseDepths={}},M.prototype.clearTimeout=function(){this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=0)},M.prototype.drained=function(){this.drainedOption&&this.drainedOption()};var sr=M;function M(e){this.drainedOption=e,this.isRunning=!1,this.isDirty=!1,this.pauseDepths={},this.timeoutId=0}cr.prototype.request=function(e,t){this.queue.push(e),this.delayedRunner.request(t)},cr.prototype.pause=function(e){this.delayedRunner.pause(e)},cr.prototype.resume=function(e,t){this.delayedRunner.resume(e,t)},cr.prototype.drain=function(){for(var e=this.queue;e.length;){for(var t,n=[];t=e.shift();)this.runTask(t),n.push(t);this.drained(n)}},cr.prototype.runTask=function(e){this.runTaskOption&&this.runTaskOption(e)},cr.prototype.drained=function(e){this.drainedOption&&this.drainedOption(e)};var ur=cr;function cr(e,t){this.runTaskOption=e,this.drainedOption=t,this.queue=[],this.delayedRunner=new sr(this.drain.bind(this))}function hr(e,t,n){var i=/^(year|month)$/.test(e.currentRangeUnit)?e.currentRange:e.activeRange;return n.formatRange(i.start,i.end,a(t.titleFormat||function(e){var t=e.currentRangeUnit;if("year"===t)return{year:"numeric"};if("month"===t)return{year:"numeric",month:"long"};t=fe(e.currentRange.start,e.currentRange.end);if(null!==t&&1<t)return{year:"numeric",month:"short",day:"numeric"};return{year:"numeric",month:"long",day:"numeric"}}(e)),{isEndExclusive:e.isRangeAllDay,defaultSeparator:t.titleRangeSeparator})}fr.prototype.resetOptions=function(e,t){var n=this.props;n.optionOverrides=t?A.__assign(A.__assign({},n.optionOverrides),e):e,this.actionRunner.request({type:"NOTHING"})},fr.prototype._handleAction=function(e){for(var t=this.props,n=this.state,i=this.emitter,r=(o=n.dynamicOptionOverrides,"SET_OPTION"!==(r=e).type?o:A.__assign(A.__assign({},o),((o={})[r.optionName]=r.rawOptionValue,o))),o=this.computeOptionsData(t.optionOverrides,r,t.calendarApi),a=(l=n.currentViewType,l="CHANGE_VIEW_TYPE"===(a=e).type?a.viewType:l),l=this.computeCurrentViewData(a,o,t.optionOverrides,r),s=(t.calendarApi.currentDataManager=this,i.setThisContext(t.calendarApi),i.setOptions(l.options),{dateEnv:o.dateEnv,options:o.calendarOptions,pluginHooks:o.pluginHooks,calendarApi:t.calendarApi,dispatch:this.dispatch,emitter:i,getCurrentData:this.getCurrentData}),u=n.currentDate,c=n.dateProfile,h=(this.data&&this.data.dateProfileGenerator!==l.dateProfileGenerator&&(c=l.dateProfileGenerator.build(u)),h=u,c=function(e,t,n,i){var r;switch(t.type){case"CHANGE_VIEW_TYPE":return i.build(t.dateMarker||n);case"CHANGE_DATE":return i.build(t.dateMarker);case"PREV":if((r=i.buildPrev(e,n)).isValid)return r;break;case"NEXT":if((r=i.buildNext(e,n)).isValid)return r}return e}(c,d=e,u="CHANGE_DATE"!==d.type?h:d.dateMarker,l.dateProfileGenerator),"PREV"!==e.type&&"NEXT"!==e.type&&Lt(c.currentRange,u)||(u=c.currentRange.start),qi(n.eventSources,e,c,s)),d=Ji(n.eventStore,e,h,c,s),l=Zi(h)&&!l.options.progressiveEventRendering&&n.renderableEventStore||d,f=this.buildViewUiProps(s),p=f.eventUiSingleBase,f=f.selectionConfig,g=this.buildEventUiBySource(h),m={dynamicOptionOverrides:r,currentViewType:a,currentDate:u,dateProfile:c,eventSources:h,eventStore:d,renderableEventStore:l,selectionConfig:f,eventUiBases:this.buildEventUiBases(l.defs,p,g),businessHours:this.parseContextBusinessHours(s),dateSelection:function(e,t){switch(t.type){case"UNSELECT_DATES":return null;case"SELECT_DATES":return t.selection;default:return e}}(n.dateSelection,e),eventSelection:function(e,t){switch(t.type){case"UNSELECT_EVENT":return"";case"SELECT_EVENT":return t.eventInstanceId;default:return e}}(n.eventSelection,e),eventDrag:function(e,t){var n;switch(t.type){case"UNSET_EVENT_DRAG":return null;case"SET_EVENT_DRAG":return{affectedEvents:(n=t.state).affectedEvents,mutatedEvents:n.mutatedEvents,isEvent:n.isEvent};default:return e}}(n.eventDrag,e),eventResize:function(e,t){var n;switch(t.type){case"UNSET_EVENT_RESIZE":return null;case"SET_EVENT_RESIZE":return{affectedEvents:(n=t.state).affectedEvents,mutatedEvents:n.mutatedEvents,isEvent:n.isEvent};default:return e}}(n.eventResize,e)},v=A.__assign(A.__assign({},s),m),y=0,b=o.pluginHooks.reducers;y<b.length;y++){var _=b[y];A.__assign(m,_(n,e,v))}r=wr(n,s),a=wr(m,s);!r&&a?i.trigger("loading",!0):r&&!a&&i.trigger("loading",!1),this.state=m,t.onAction&&t.onAction(e)},fr.prototype.updateData=function(){var n,i,r,e,t=this.props,o=this.state,a=this.data,l=this.computeOptionsData(t.optionOverrides,o.dynamicOptionOverrides,t.calendarApi),s=this.computeCurrentViewData(o.currentViewType,l,t.optionOverrides,o.dynamicOptionOverrides),u=this.data=A.__assign(A.__assign(A.__assign({viewTitle:this.buildTitle(o.dateProfile,s.options,l.dateEnv),calendarApi:t.calendarApi,dispatch:this.dispatch,emitter:this.emitter,getCurrentData:this.getCurrentData},l),s),o),c=l.pluginHooks.optionChangeHandlers,h=a&&a.calendarOptions,d=l.calendarOptions;if(h&&h!==d)for(var f in h.timeZone!==d.timeZone&&(o.eventSources=u.eventSources=(s=u.eventSources,l=o.dateProfile,e=u,l=l?l.activeRange:null,$i(s,Ki(s,e),l,!0,e)),o.eventStore=u.eventStore=(s=u.eventStore,n=a.dateEnv,i=u.dateEnv,r=s.defs,s=P(s.instances,function(e){var t=r[e.defId];return t.allDay||t.recurringDef?e:A.__assign(A.__assign({},e),{range:{start:i.createMarker(n.toDate(e.range.start,e.forcedStartTzo)),end:i.createMarker(n.toDate(e.range.end,e.forcedEndTzo))},forcedStartTzo:i.canComputeOffset?null:e.forcedStartTzo,forcedEndTzo:i.canComputeOffset?null:e.forcedEndTzo})}),{defs:r,instances:s})),c)h[f]!==d[f]&&c[f](d[f],u);t.onData&&t.onData(u)},fr.prototype._computeOptionsData=function(e,t,n){var i=this.processRawCalendarOptions(e,t),r=i.refinedOptions,o=i.pluginHooks,a=i.localeDefaults,l=i.availableLocaleData,i=(Sr(i.extra),this.buildDateEnv(r.timeZone,r.locale,r.weekNumberCalculation,r.firstDay,r.weekText,o,l,r.defaultRangeSeparator)),t=this.buildViewSpecs(o.views,e,t,a),s=this.buildTheme(r,o);return{calendarOptions:r,pluginHooks:o,dateEnv:i,viewSpecs:t,theme:s,toolbarConfig:this.parseToolbars(r,e,s,t,n),localeDefaults:a,availableRawLocales:l.map}},fr.prototype.processRawCalendarOptions=function(e,t){var n,i=lt([tt,e,t]),r=i.locales,i=i.locale,r=this.organizeRawLocales(r),o=r.map,i=this.buildLocale(i||r.defaultCode,o).options,o=this.buildPluginHooks(e.plugins||[],lr),a=this.currentCalendarOptionsRefiners=A.__assign(A.__assign(A.__assign(A.__assign(A.__assign({},et),nt),it),o.listenerRefiners),o.optionRefiners),l={},s=lt([tt,i,e,t]),u={},c=this.currentCalendarOptionsInput,h=this.currentCalendarOptionsRefined,d=!1;for(n in s)"plugins"!==n&&(s[n]===c[n]||rt[n]&&n in c&&rt[n](c[n],s[n])?u[n]=h[n]:a[n]?(u[n]=a[n](s[n]),d=!0):l[n]=c[n]);return d&&(this.currentCalendarOptionsInput=s,this.currentCalendarOptionsRefined=u),{rawOptions:this.currentCalendarOptionsInput,refinedOptions:this.currentCalendarOptionsRefined,pluginHooks:o,availableLocaleData:r,localeDefaults:i,extra:l}},fr.prototype._computeCurrentViewData=function(e,t,n,i){var r=t.viewSpecs[e];if(!r)throw new Error('viewType "'+e+"\" is not available. Please make sure you've loaded all neccessary plugins");n=this.processRawViewOptions(r,t.pluginHooks,t.localeDefaults,n,i),i=n.refinedOptions;return Sr(n.extra),{viewSpec:r,options:i,dateProfileGenerator:this.buildDateProfileGenerator({dateProfileGeneratorClass:r.optionDefaults.dateProfileGeneratorClass,duration:r.duration,durationUnit:r.durationUnit,usesMinMaxTime:r.optionDefaults.usesMinMaxTime,dateEnv:t.dateEnv,calendarApi:this.props.calendarApi,slotMinTime:i.slotMinTime,slotMaxTime:i.slotMaxTime,showNonCurrentDates:i.showNonCurrentDates,dayCount:i.dayCount,dateAlignment:i.dateAlignment,dateIncrement:i.dateIncrement,hiddenDays:i.hiddenDays,weekends:i.weekends,nowInput:i.now,validRangeInput:i.validRange,visibleRangeInput:i.visibleRange,monthMode:i.monthMode,fixedWeekCount:i.fixedWeekCount}),viewApi:this.buildViewApi(e,this.getCurrentData,t.dateEnv)}},fr.prototype.processRawViewOptions=function(e,t,n,i,r){var o,a=lt([tt,e.optionDefaults,n,i,e.optionOverrides,r]),l=A.__assign(A.__assign(A.__assign(A.__assign(A.__assign(A.__assign({},et),nt),it),at),t.listenerRefiners),t.optionRefiners),s={},u=this.currentViewOptionsInput,c=this.currentViewOptionsRefined,h=!1,d={};for(o in a)a[o]===u[o]||rt[o]&&rt[o](a[o],u[o])?s[o]=c[o]:(a[o]===this.currentCalendarOptionsInput[o]||rt[o]&&rt[o](a[o],this.currentCalendarOptionsInput[o])?o in this.currentCalendarOptionsRefined&&(s[o]=this.currentCalendarOptionsRefined[o]):l[o]?s[o]=l[o](a[o]):d[o]=a[o],h=!0);return h&&(this.currentViewOptionsInput=a,this.currentViewOptionsRefined=s),{rawOptions:this.currentViewOptionsInput,refinedOptions:this.currentViewOptionsRefined,extra:d}};var dr=fr;function fr(e){for(var n,i,r,t=this,o=(this.computeOptionsData=w(this._computeOptionsData),this.computeCurrentViewData=w(this._computeCurrentViewData),this.organizeRawLocales=w(_n),this.buildLocale=w(wn),this.buildPluginHooks=(i=[],r=[],function(e,t){return n&&Le(e,i)&&Le(t,r)||(n=bi(e,t)),i=e,r=t,n}),this.buildDateEnv=w(pr),this.buildTheme=w(gr),this.parseToolbars=w(nr),this.buildViewSpecs=w(Vi),this.buildDateProfileGenerator=He(mr),this.buildViewApi=w(vr),this.buildViewUiProps=He(_r),this.buildEventUiBySource=w(yr,_),this.buildEventUiBases=w(br),this.parseContextBusinessHours=He(xr),this.buildTitle=w(hr),this.emitter=new Zn,this.actionRunner=new ur(this._handleAction.bind(this),this.updateData.bind(this)),this.currentCalendarOptionsInput={},this.currentCalendarOptionsRefined={},this.currentViewOptionsInput={},this.currentViewOptionsRefined={},this.currentCalendarOptionsRefiners={},this.getCurrentData=function(){return t.data},this.dispatch=function(e){t.actionRunner.request(e)},this.props=e,this.actionRunner.pause(),{}),a=this.computeOptionsData(e.optionOverrides,o,e.calendarApi),l=a.calendarOptions.initialView||a.pluginHooks.initialView,s=this.computeCurrentViewData(l,a,e.optionOverrides,o),u=((e.calendarApi.currentDataManager=this).emitter.setThisContext(e.calendarApi),this.emitter.setOptions(s.options),c=a.calendarOptions,p=a.dateEnv,null!=(u=c.initialDate)?p.createMarker(u):un(c.now,p)),c=s.dateProfileGenerator.build(u),h=(Lt(c.activeRange,u)||(u=c.currentRange.start),{dateEnv:a.dateEnv,options:a.calendarOptions,pluginHooks:a.pluginHooks,calendarApi:e.calendarApi,dispatch:this.dispatch,emitter:this.emitter,getCurrentData:this.getCurrentData}),d=0,f=a.pluginHooks.contextInit;d<f.length;d++)(0,f[d])(h);for(var p=Ui(a.calendarOptions,c,h),g={dynamicOptionOverrides:o,currentViewType:l,currentDate:u,dateProfile:c,businessHours:this.parseContextBusinessHours(h),eventSources:p,eventUiBases:{},eventStore:x(),renderableEventStore:x(),dateSelection:null,eventSelection:"",eventDrag:null,eventResize:null,selectionConfig:this.buildViewUiProps(h).selectionConfig},m=A.__assign(A.__assign({},h),g),v=0,y=a.pluginHooks.reducers;v<y.length;v++){var b=y[v];A.__assign(g,b(null,null,m))}wr(g,h)&&this.emitter.trigger("loading",!0),this.state=g,this.updateData(),this.actionRunner.resume()}function pr(e,t,n,i,r,o,a,l){t=wn(t||a.defaultCode,a.map);return new mn({calendarSystem:"gregory",timeZone:e,namedTimeZoneImpl:o.namedTimeZonedImpl,locale:t,weekNumberCalculation:n,firstDay:i,weekText:r,cmdFormatter:o.cmdFormatter,defaultSeparator:l})}function gr(e,t){return new(t.themeClasses[e.themeSystem]||wi)(e)}function mr(e){return new(e.dateProfileGeneratorClass||Yi)(e)}function vr(e,t,n){return new rn(e,t,n)}function yr(e){return P(e,function(e){return e.ui})}function br(e,t,n){var i,r={"":t};for(i in e){var o=e[i];o.sourceId&&n[o.sourceId]&&(r[i]=n[o.sourceId])}return r}function _r(e){var t=e.options;return{eventUiSingleBase:vt({display:t.eventDisplay,editable:t.editable,startEditable:t.eventStartEditable,durationEditable:t.eventDurationEditable,constraint:t.eventConstraint,overlap:"boolean"==typeof t.eventOverlap?t.eventOverlap:void 0,allow:t.eventAllow,backgroundColor:t.eventBackgroundColor,borderColor:t.eventBorderColor,textColor:t.eventTextColor,color:t.eventColor},e),selectionConfig:vt({constraint:t.selectConstraint,overlap:"boolean"==typeof t.selectOverlap?t.selectOverlap:void 0,allow:t.selectAllow},e)}}function wr(e,t){for(var n=0,i=t.pluginHooks.isLoadingFuncs;n<i.length;n++)if((0,i[n])(e))return!0;return!1}function xr(e){return kn(e.options.businessHours,e)}function Sr(e,t){for(var n in e)console.warn("Unknown option '"+n+"'"+(t?" for view '"+t+"'":""))}Cr=p.Component,A.__extends(kr,Cr),kr.prototype.render=function(){return this.props.children(this.state)},kr.prototype.componentDidUpdate=function(e){var t=this.props.optionOverrides;t!==e.optionOverrides&&this.dataManager.resetOptions(t)};var Cr,Er=kr;function kr(e){var t=Cr.call(this,e)||this;return t.handleData=function(e){t.dataManager?t.setState(e):t.state=e},t.dataManager=new dr({optionOverrides:e.optionOverrides,calendarApi:e.calendarApi,onData:t.handleData}),t}function Mr(e){this.timeZoneName=e}D.prototype.addSegs=function(e){for(var t=[],n=0,i=e;n<i.length;n++){var r=i[n];this.insertEntry(r,t)}return t},D.prototype.insertEntry=function(e,t){var n=this.findInsertion(e);return this.isInsertionValid(n,e)?(this.insertEntryAt(e,n),1):this.handleInvalidInsertion(n,e,t)},D.prototype.isInsertionValid=function(e,t){return(-1===this.maxCoord||e.levelCoord+t.thickness<=this.maxCoord)&&(-1===this.maxStackCnt||e.stackCnt<this.maxStackCnt)},D.prototype.handleInvalidInsertion=function(e,t,n){return this.allowReslicing&&e.touchingEntry?this.splitEntry(t,e.touchingEntry,n):(n.push(t),0)},D.prototype.splitEntry=function(e,t,n){var i=0,r=[],o=e.span,t=t.span;return o.start<t.start&&(i+=this.insertEntry({index:e.index,thickness:e.thickness,span:{start:o.start,end:t.start}},r)),o.end>t.end&&(i+=this.insertEntry({index:e.index,thickness:e.thickness,span:{start:t.end,end:o.end}},r)),i?(n.push.apply(n,A.__spreadArray([{index:e.index,thickness:e.thickness,span:Or(t,o)}],r)),i):(n.push(e),0)},D.prototype.insertEntryAt=function(e,t){var n=this.entriesByLevel,i=this.levelCoords;-1===t.lateral?(Pr(i,t.level,t.levelCoord),Pr(n,t.level,[e])):Pr(n[t.level],t.lateral,e),this.stackCnts[Rr(e)]=t.stackCnt},D.prototype.findInsertion=function(e){for(var t=this.levelCoords,n=this.entriesByLevel,i=this.strictOrder,r=this.stackCnts,o=t.length,a=0,l=-1,s=-1,u=null,c=0,h=0;h<o;h+=1){var d=t[h];if(!i&&d>=a+e.thickness)break;for(var f,p=n[h],g=Ir(p,e.span.start,Tr),m=g[0]+g[1];(f=p[m])&&f.span.start<e.span.end;){var v=d+f.thickness;a<v&&(a=v,u=f,l=h,s=m),v===a&&(c=Math.max(c,r[Rr(f)]+1)),m+=1}}var y=0;if(u)for(y=l+1;y<o&&t[y]<a;)y+=1;var b=-1;return{touchingLevel:l,touchingLateral:s,touchingEntry:u,stackCnt:c,levelCoord:a,level:y,lateral:b=y<o&&t[y]===a?Ir(n[y],e.span.end,Tr)[0]:b}},D.prototype.toRects=function(){for(var e=this.entriesByLevel,t=this.levelCoords,n=e.length,i=[],r=0;r<n;r+=1)for(var o=e[r],a=t[r],l=0,s=o;l<s.length;l++){var u=s[l];i.push(A.__assign(A.__assign({},u),{levelCoord:a}))}return i};var Dr=D;function D(){this.strictOrder=!1,this.allowReslicing=!1,this.maxCoord=-1,this.maxStackCnt=-1,this.levelCoords=[],this.entriesByLevel=[],this.stackCnts={}}function Tr(e){return e.span.end}function Rr(e){return e.index+":"+e.span.start}function Ar(e,t){return{start:Math.min(e.start,t.start),end:Math.max(e.end,t.end)}}function Or(e,t){var n=Math.max(e.start,t.start),e=Math.min(e.end,t.end);return n<e?{start:n,end:e}:null}function Pr(e,t,n){e.splice(t,0,n)}function Ir(e,t,n){var i=0,r=e.length;if(!r||t<n(e[i]))return[0,0];if(t>n(e[r-1]))return[r,0];for(;i<r;){var o=Math.floor(i+(r-i)/2),a=n(e[o]);if(t<a)r=o;else{if(!(a<t))return[o,1];i=o+1}}return[i,0]}Lr.prototype.destroy=function(){};var Nr=Lr;function Lr(e){this.component=e.component,this.isHitComboAllowed=e.isHitComboAllowed||null}var Hr={},Wr=(jr.prototype.destroy=function(){},jr.prototype.setMirrorIsVisible=function(e){},jr.prototype.setMirrorNeedsRevert=function(e){},jr.prototype.setAutoScrollEnabled=function(e){},jr);function jr(e,t){this.emitter=new Zn}var Fr={startTime:v,duration:v,create:Boolean,sourceId:String};zr=C,A.__extends(Br,zr),Br.prototype.render=function(){var t=this,e=this.props.widgetGroups.map(function(e){return t.renderWidgetGroup(e)});return p.createElement.apply(void 0,A.__spreadArray(["div",{className:"fc-toolbar-chunk"}],e))},Br.prototype.renderWidgetGroup=function(e){for(var t=this.props,n=this.context.theme,i=[],r=!0,o=0,a=e;o<a.length;o++){var l,s,u=a[o],c=u.buttonName,h=u.buttonClick,d=u.buttonText,f=u.buttonIcon,u=u.buttonHint;"title"===c?(r=!1,i.push(p.createElement("h2",{className:"fc-toolbar-title",id:t.titleId},t.title))):(l=c===t.activeButton,s=!t.isTodayEnabled&&"today"===c||!t.isPrevEnabled&&"prev"===c||!t.isNextEnabled&&"next"===c,c=["fc-"+c+"-button",n.getClass("button")],l&&c.push(n.getClass("buttonActive")),i.push(p.createElement("button",{type:"button",title:"function"==typeof u?u(t.navUnit):u,disabled:s,"aria-pressed":l,className:c.join(" "),onClick:h},d||(f?p.createElement("span",{className:f}):""))))}return 1<i.length?(e=r&&n.getClass("buttonGroup")||"",p.createElement.apply(void 0,A.__spreadArray(["div",{className:e}],i))):i[0]};var zr,Vr=Br;function Br(){return null!==zr&&zr.apply(this,arguments)||this}Yr=C,A.__extends(qr,Yr),qr.prototype.render=function(){var e=this.props,t=e.model,e=e.extraClassName,n=!1,t=t.sectionWidgets,i=t.center,r=t.left?(n=!0,t.left):t.start,t=t.right?(n=!0,t.right):t.end,e=[e||"","fc-toolbar",n?"fc-toolbar-ltr":""];return p.createElement("div",{className:e.join(" ")},this.renderSection("start",r||[]),this.renderSection("center",i||[]),this.renderSection("end",t||[]))},qr.prototype.renderSection=function(e,t){var n=this.props;return p.createElement(Vr,{key:e,widgetGroups:t,title:n.title,navUnit:n.navUnit,activeButton:n.activeButton,isTodayEnabled:n.isTodayEnabled,isPrevEnabled:n.isPrevEnabled,isNextEnabled:n.isNextEnabled,titleId:n.titleId})};var Yr,Ur=qr;function qr(){return null!==Yr&&Yr.apply(this,arguments)||this}Zr=C,A.__extends(Xr,Zr),Xr.prototype.render=function(){var e=this.props,t=this.state,n=e.aspectRatio,i=["fc-view-harness",n||e.liquid||e.height?"fc-view-harness-active":"fc-view-harness-passive"],r="",o="";return n?null!==t.availableWidth?r=t.availableWidth/n:o=1/n*100+"%":r=e.height||"",p.createElement("div",{"aria-labelledby":e.labeledById,ref:this.handleEl,className:i.join(" "),style:{height:r,paddingBottom:o}},e.children)},Xr.prototype.componentDidMount=function(){this.context.addResizeHandler(this.handleResize)},Xr.prototype.componentWillUnmount=function(){this.context.removeResizeHandler(this.handleResize)},Xr.prototype.updateAvailableWidth=function(){this.el&&this.props.aspectRatio&&this.setState({availableWidth:this.el.offsetWidth})};var Zr,Gr=Xr;function Xr(){var t=null!==Zr&&Zr.apply(this,arguments)||this;return t.state={availableWidth:null},t.handleEl=function(e){t.el=e,pi(t.props.elRef,e),t.updateAvailableWidth()},t.handleResize=function(){t.updateAvailableWidth()},t}$r=Nr,A.__extends(Qr,$r);var $r,Kr=Qr;function Qr(e){var a=$r.call(this,e)||this;return a.handleSegClick=function(e,t){var n,i=a.component,r=i.context,o=jt(t);o&&i.isValidSegDownEl(e.target)&&(n=(n=l(e.target,".fc-event-forced-url"))?n.querySelector("a[href]").href:"",r.emitter.trigger("eventClick",{el:t,event:new I(i.context,o.eventRange.def,o.eventRange.instance),jsEvent:e,view:r.viewApi}),n&&!e.defaultPrevented&&(window.location.href=n))},a.destroy=$(e.el,"click",".fc-event",a.handleSegClick),a}Jr=Nr,A.__extends(to,Jr),to.prototype.destroy=function(){this.removeHoverListeners()},to.prototype.triggerEvent=function(e,t,n){var i=this.component,r=i.context,o=jt(n);t&&!i.isValidSegDownEl(t.target)||r.emitter.trigger(e,{el:n,event:new I(r,o.eventRange.def,o.eventRange.instance),jsEvent:t,view:r.viewApi})};var Jr,eo=to;function to(e){var t,i,r,o,n=Jr.call(this,e)||this;return n.handleEventElRemove=function(e){e===n.currentSegEl&&n.handleSegLeave(null,n.currentSegEl)},n.handleSegEnter=function(e,t){jt(t)&&(n.currentSegEl=t,n.triggerEvent("eventMouseEnter",e,t))},n.handleSegLeave=function(e,t){n.currentSegEl&&(n.currentSegEl=null,n.triggerEvent("eventMouseLeave",e,t))},n.removeHoverListeners=(e=e.el,t=".fc-event",i=n.handleSegEnter,r=n.handleSegLeave,$(e,"mouseover",t,function(e,n){n!==o&&(i(e,o=n),n.addEventListener("mouseleave",function e(t){o=null,r(t,n),n.removeEventListener("mouseleave",e)}))})),n}no=si,A.__extends(io,no),io.prototype.render=function(){var e,t=this.props,n=t.toolbarConfig,i=t.options,r=this.buildToolbarProps(t.viewSpec,t.dateProfile,t.dateProfileGenerator,t.currentDate,un(t.options.now,t.dateEnv),t.viewTitle),o=!1,a="",i=(t.isHeightAuto||t.forPrint?a="":null!=i.height?o=!0:null!=i.contentHeight?a=i.contentHeight:e=Math.max(i.aspectRatio,.5),this.buildViewContext(t.viewSpec,t.viewApi,t.options,t.dateProfileGenerator,t.dateEnv,t.theme,t.pluginHooks,t.dispatch,t.getCurrentData,t.emitter,t.calendarApi,this.registerInteractiveComponent,this.unregisterInteractiveComponent)),l=n.header&&n.header.hasTitle?this.state.viewLabelId:"";return p.createElement(S.Provider,{value:i},n.header&&p.createElement(Ur,A.__assign({ref:this.headerRef,extraClassName:"fc-header-toolbar",model:n.header,titleId:l},r)),p.createElement(Gr,{liquid:o,height:a,aspectRatio:e,labeledById:l},this.renderView(t),this.buildAppendContent()),n.footer&&p.createElement(Ur,A.__assign({ref:this.footerRef,extraClassName:"fc-footer-toolbar",model:n.footer,titleId:""},r)))},io.prototype.componentDidMount=function(){var e,t=this.props,n=(this.calendarInteractions=t.pluginHooks.calendarInteractions.map(function(e){return new e(t)}),window.addEventListener("resize",this.handleWindowResize),t.pluginHooks.propSetHandlers);for(e in n)n[e](t[e],t)},io.prototype.componentDidUpdate=function(e){var t,n=this.props,i=n.pluginHooks.propSetHandlers;for(t in i)n[t]!==e[t]&&i[t](n[t],n)},io.prototype.componentWillUnmount=function(){window.removeEventListener("resize",this.handleWindowResize),this.resizeRunner.clear();for(var e=0,t=this.calendarInteractions;e<t.length;e++)t[e].destroy();this.props.emitter.trigger("_unmount")},io.prototype.buildAppendContent=function(){var t=this.props,e=t.pluginHooks.viewContainerAppends.map(function(e){return e(t)});return p.createElement.apply(void 0,A.__spreadArray([p.Fragment,{}],e))},io.prototype.renderView=function(e){for(var t=e.pluginHooks,n=e.viewSpec,i={dateProfile:e.dateProfile,businessHours:e.businessHours,eventStore:e.renderableEventStore,eventUiBases:e.eventUiBases,dateSelection:e.dateSelection,eventSelection:e.eventSelection,eventDrag:e.eventDrag,eventResize:e.eventResize,isHeightAuto:e.isHeightAuto,forPrint:e.forPrint},r=0,o=this.buildViewPropTransformers(t.viewPropsTransformers);r<o.length;r++){var a=o[r];A.__assign(i,a.transform(i,e))}t=n.component;return p.createElement(t,A.__assign({},i))};var no,si=io;function io(){var r=null!==no&&no.apply(this,arguments)||this;return r.buildViewContext=w(ai),r.buildViewPropTransformers=w(oo),r.buildToolbarProps=w(ro),r.headerRef=p.createRef(),r.footerRef=p.createRef(),r.interactionsStore={},r.state={viewLabelId:G()},r.registerInteractiveComponent=function(e,t){var n={component:e,el:(t=t).el,useEventCenter:null==t.useEventCenter||t.useEventCenter,isHitComboAllowed:t.isHitComboAllowed||null},t=[Kr,eo].concat(r.props.pluginHooks.componentInteractions).map(function(e){return new e(n)});r.interactionsStore[e.uid]=t,Hr[e.uid]=n},r.unregisterInteractiveComponent=function(e){var t=r.interactionsStore[e.uid];if(t){for(var n=0,i=t;n<i.length;n++)i[n].destroy();delete r.interactionsStore[e.uid]}delete Hr[e.uid]},r.resizeRunner=new sr(function(){r.props.emitter.trigger("_resize",!0),r.props.emitter.trigger("windowResize",{view:r.props.viewApi})}),r.handleWindowResize=function(e){var t=r.props.options;t.handleWindowResize&&e.target===window&&r.resizeRunner.request(t.windowResizeDelay)},r}function ro(e,t,n,i,r,o){var a=n.build(r,void 0,!1),l=n.buildPrev(t,i,!1),n=n.buildNext(t,i,!1);return{title:o,activeButton:e.type,navUnit:e.singleUnit,isTodayEnabled:a.isValid&&!Lt(t.currentRange,r),isPrevEnabled:l.isValid,isNextEnabled:n.isValid}}function oo(e){return e.map(function(e){return new e})}ao=C,A.__extends(so,ao),so.prototype.render=function(){var e=this.props,t=e.options,n=this.state.forPrint,i=n||"auto"===t.height||"auto"===t.contentHeight,r=i||null==t.height?"":t.height,t=["fc",n?"fc-media-print":"fc-media-screen","fc-direction-"+t.direction,e.theme.getClass("root")];return Dn()||t.push("fc-liquid-hack"),e.children(t,r,i,n)},so.prototype.componentDidMount=function(){var e=this.props.emitter;e.on("_beforeprint",this.handleBeforePrint),e.on("_afterprint",this.handleAfterPrint)},so.prototype.componentWillUnmount=function(){var e=this.props.emitter;e.off("_beforeprint",this.handleBeforePrint),e.off("_afterprint",this.handleAfterPrint)};var ao,lo=so;function so(){var e=null!==ao&&ao.apply(this,arguments)||this;return e.state={forPrint:!1},e.handleBeforePrint=function(){e.setState({forPrint:!0})},e.handleAfterPrint=function(){e.setState({forPrint:!1})},e}function uo(e,t){return a(!e||10<t?{weekday:"short"}:1<t?{weekday:"short",month:"numeric",day:"numeric",omitCommas:!0}:{weekday:"long"})}var co="fc-col-header-cell";function ho(e){return e.text}fo=C,A.__extends(go,fo),go.prototype.render=function(){var e=this.context,t=e.dateEnv,n=e.options,i=e.theme,e=e.viewApi,r=this.props,o=r.date,a=r.dateProfile,l=Pn(o,r.todayRange,null,a),s=[co].concat(In(l,i)),a=t.format(o,r.dayHeaderFormat),u=!l.isDisabled&&1<r.colCnt?Hn(this.context,o):{},i=A.__assign(A.__assign(A.__assign({date:t.toDate(o),view:e},r.extraHookProps),{text:a}),l);return p.createElement(Ei,{hookProps:i,classNames:n.dayHeaderClassNames,content:n.dayHeaderContent,defaultContent:ho,didMount:n.dayHeaderDidMount,willUnmount:n.dayHeaderWillUnmount},function(e,t,n,i){return p.createElement("th",A.__assign({ref:e,role:"columnheader",className:s.concat(t).join(" "),"data-date":l.isDisabled?void 0:Ie(o),colSpan:r.colSpan},r.extraDataAttrs),p.createElement("div",{className:"fc-scrollgrid-sync-inner"},!l.isDisabled&&p.createElement("a",A.__assign({ref:n,className:["fc-col-header-cell-cushion",r.isSticky?"fc-sticky":""].join(" ")},u),i)))})};var fo,po=go;function go(){return null!==fo&&fo.apply(this,arguments)||this}var mo,vo=a({weekday:"long"}),yo=(mo=C,A.__extends(bo,mo),bo.prototype.render=function(){var r=this.props,e=this.context,o=e.dateEnv,t=e.theme,n=e.viewApi,e=e.options,a=h(new Date(2592e5),r.dow),i={dow:r.dow,isDisabled:!1,isFuture:!1,isPast:!1,isToday:!1,isOther:!1},l=[co].concat(In(i,t),r.extraClassNames||[]),t=o.format(a,r.dayHeaderFormat),i=A.__assign(A.__assign(A.__assign(A.__assign({date:a},i),{view:n}),r.extraHookProps),{text:t});return p.createElement(Ei,{hookProps:i,classNames:e.dayHeaderClassNames,content:e.dayHeaderContent,defaultContent:ho,didMount:e.dayHeaderDidMount,willUnmount:e.dayHeaderWillUnmount},function(e,t,n,i){return p.createElement("th",A.__assign({ref:e,role:"columnheader",className:l.concat(t).join(" "),colSpan:r.colSpan},r.extraDataAttrs),p.createElement("div",{className:"fc-scrollgrid-sync-inner"},p.createElement("a",{"aria-label":o.format(a,vo),className:["fc-col-header-cell-cushion",r.isSticky?"fc-sticky":""].join(" "),ref:n},i)))})},bo);function bo(){return null!==mo&&mo.apply(this,arguments)||this}_o=p.Component,A.__extends(T,_o),T.prototype.render=function(){var e=this.props,t=this.state;return e.children(t.nowDate,t.todayRange)},T.prototype.componentDidMount=function(){this.setTimeout()},T.prototype.componentDidUpdate=function(e){e.unit!==this.props.unit&&(this.clearTimeout(),this.setTimeout())},T.prototype.componentWillUnmount=function(){this.clearTimeout()},T.prototype.computeTiming=function(){var e=this.props,t=this.context,n=g(this.initialNowDate,(new Date).valueOf()-this.initialNowQueriedMs),i=t.dateEnv.startOf(n,e.unit),t=t.dateEnv.add(i,v(1,e.unit)),e=t.valueOf()-n.valueOf(),e=Math.min(864e5,e);return{currentState:{nowDate:i,todayRange:xo(i)},nextState:{nowDate:t,todayRange:xo(t)},waitMs:e}},T.prototype.setTimeout=function(){var e=this,t=this.computeTiming(),n=t.nextState,t=t.waitMs;this.timeoutId=setTimeout(function(){e.setState(n,function(){e.setTimeout()})},t)},T.prototype.clearTimeout=function(){this.timeoutId&&clearTimeout(this.timeoutId)},T.contextType=S;var _o,wo=T;function T(e,t){e=_o.call(this,e,t)||this;return e.initialNowDate=un(t.options.now,t.dateEnv),e.initialNowQueriedMs=(new Date).valueOf(),e.state=e.computeTiming().currentState,e}function xo(e){e=m(e);return{start:e,end:h(e,1)}}So=C,A.__extends(Eo,So),Eo.prototype.render=function(){var e=this.context,t=this.props,n=t.dates,i=t.dateProfile,r=t.datesRepDistinctDays,o=t.renderIntro,a=this.createDayHeaderFormatter(e.options.dayHeaderFormat,r,n.length);return p.createElement(wo,{unit:"day"},function(e,t){return p.createElement("tr",{role:"row"},o&&o("day"),n.map(function(e){return r?p.createElement(po,{key:e.toISOString(),date:e,dateProfile:i,todayRange:t,colCnt:n.length,dayHeaderFormat:a}):p.createElement(yo,{key:e.getUTCDay(),dow:e.getUTCDay(),dayHeaderFormat:a})}))})};var So,Co=Eo;function Eo(){var e=null!==So&&So.apply(this,arguments)||this;return e.createDayHeaderFormatter=w(ko),e}function ko(e,t,n){return e||uo(t,n)}Do.prototype.sliceRange=function(e){var t=this.getDateDayIndex(e.start),e=this.getDateDayIndex(h(e.end,-1)),n=Math.max(0,t),i=Math.min(this.cnt-1,e);return(n=Math.ceil(n))<=(i=Math.floor(i))?{firstIndex:n,lastIndex:i,isStart:t===n,isEnd:e===i}:null},Do.prototype.getDateDayIndex=function(e){var t=this.indices,e=Math.floor(r(this.dates[0],e));return e<0?t[0]-1:e>=t.length?t[t.length-1]+1:t[e]};var Mo=Do;function Do(e,t){for(var n=e.start,i=e.end,r=[],o=[],a=-1;n<i;)t.isHiddenDay(n)?r.push(a+.5):(r.push(a+=1),o.push(n)),n=h(n,1);this.dates=o,this.indices=r,this.cnt=o.length}Ro.prototype.buildCells=function(){for(var e=[],t=0;t<this.rowCnt;t+=1){for(var n=[],i=0;i<this.colCnt;i+=1)n.push(this.buildCell(t,i));e.push(n)}return e},Ro.prototype.buildCell=function(e,t){e=this.daySeries.dates[e*this.colCnt+t];return{key:e.toISOString(),date:e}},Ro.prototype.buildHeaderDates=function(){for(var e=[],t=0;t<this.colCnt;t+=1)e.push(this.cells[0][t].date);return e},Ro.prototype.sliceRange=function(e){var t=this.colCnt,n=this.daySeries.sliceRange(e),i=[];if(n)for(var r=n.firstIndex,o=n.lastIndex,a=r;a<=o;){var l=Math.floor(a/t),s=Math.min((l+1)*t,o+1);i.push({row:l,firstCol:a%t,lastCol:(s-1)%t,isStart:n.isStart&&a===r,isEnd:n.isEnd&&s-1===o}),a=s}return i};var To=Ro;function Ro(e,t){var n,i,r,o=e.dates;if(t){for(i=o[0].getUTCDay(),n=1;n<o.length&&o[n].getUTCDay()!==i;n+=1);r=Math.ceil(o.length/n)}else r=1,n=o.length;this.rowCnt=r,this.colCnt=n,this.daySeries=e,this.cells=this.buildCells(),this.headerDates=this.buildHeaderDates()}R.prototype.sliceProps=function(e,t,n,i){for(var r=[],o=4;o<arguments.length;o++)r[o-4]=arguments[o];var a=e.eventUiBases,l=this.sliceEventStore.apply(this,A.__spreadArray([e.eventStore,a,t,n],r));return{dateSelectionSegs:this.sliceDateSelection.apply(this,A.__spreadArray([e.dateSelection,a,i],r)),businessHourSegs:this.sliceBusinessHours.apply(this,A.__spreadArray([e.businessHours,t,n,i],r)),fgEventSegs:l.fg,bgEventSegs:l.bg,eventDrag:this.sliceEventDrag.apply(this,A.__spreadArray([e.eventDrag,a,t,n],r)),eventResize:this.sliceEventResize.apply(this,A.__spreadArray([e.eventResize,a,t,n],r)),eventSelection:e.eventSelection}},R.prototype.sliceNowDate=function(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return this._sliceDateSpan.apply(this,A.__spreadArray([{range:{start:e,end:g(e,1)},allDay:!1},{},t],n))},R.prototype._sliceBusinessHours=function(e,t,n,i){for(var r=[],o=4;o<arguments.length;o++)r[o-4]=arguments[o];return e?this._sliceEventStore.apply(this,A.__spreadArray([ke(e,Oo(t,Boolean(n)),i),{},t,n],r)).bg:[]},R.prototype._sliceEventStore=function(e,t,n,i){for(var r=[],o=4;o<arguments.length;o++)r[o-4]=arguments[o];return e?(e=Ht(e,t,Oo(n,Boolean(i)),i),{bg:this.sliceEventRanges(e.bg,r),fg:this.sliceEventRanges(e.fg,r)}):{bg:[],fg:[]}},R.prototype._sliceInteraction=function(e,t,n,i){for(var r=[],o=4;o<arguments.length;o++)r[o-4]=arguments[o];if(!e)return null;t=Ht(e.mutatedEvents,t,Oo(n,Boolean(i)),i);return{segs:this.sliceEventRanges(t.fg,r),affectedInstances:e.affectedEvents.instances,isEvent:e.isEvent}},R.prototype._sliceDateSpan=function(e,t,n){for(var i=[],r=3;r<arguments.length;r++)i[r-3]=arguments[r];if(!e)return[];o=e,t=t;for(var o,a,l={def:a=kt((a=Ct({editable:!1},n=n)).refined,a.extra,"",o.allDay,!0,n),ui:zt(a,t),instance:ye(a.defId,o.range),range:o.range,isStart:!0,isEnd:!0},n=this.sliceRange.apply(this,A.__spreadArray([e.range],i)),s=0,u=n;s<u.length;s++)u[s].eventRange=l;return n},R.prototype.sliceEventRanges=function(e,t){for(var n=[],i=0,r=e;i<r.length;i++){var o=r[i];n.push.apply(n,this.sliceEventRange(o,t))}return n},R.prototype.sliceEventRange=function(e,t){for(var n=e.range,n=(this.forceDayIfListItem&&"list-item"===e.ui.display&&(n={start:n.start,end:h(n.start,1)}),this.sliceRange.apply(this,A.__spreadArray([n],t))),i=0,r=n;i<r.length;i++){var o=r[i];o.eventRange=e,o.isStart=e.isStart&&o.isStart,o.isEnd=e.isEnd&&o.isEnd}return n};var Ao=R;function R(){this.sliceBusinessHours=w(this._sliceBusinessHours),this.sliceDateSelection=w(this._sliceDateSpan),this.sliceEventStore=w(this._sliceEventStore),this.sliceEventDrag=w(this._sliceInteraction),this.sliceEventResize=w(this._sliceInteraction),this.forceDayIfListItem=!1}function Oo(e,t){var n=e.activeRange;return t?n:{start:g(n.start,e.slotMinTime.milliseconds),end:g(n.end,e.slotMaxTime.milliseconds-864e5)}}function Po(e,t){var n=t.getCurrentData(),n=A.__assign({businessHours:n.businessHours,dateSelection:"",eventStore:n.eventStore,eventUiBases:n.eventUiBases,eventSelection:"",eventDrag:null,eventResize:null},e);return(t.pluginHooks.isPropsValid||Io)(n,t)}function Io(e,t,n,i){return void 0===n&&(n={}),!(e.eventDrag&&!function(e,t,n,i){var r=t.getCurrentData(),o=e.eventDrag,a=o.mutatedEvents,l=a.defs,s=a.instances,u=Ft(l,o.isEvent?e.eventUiBases:{"":r.selectionConfig});i&&(u=P(u,i));var c,h=function(e,t){return{defs:e.defs,instances:O(e.instances,function(e){return!t[e.instanceId]})}}(e.eventStore,o.affectedEvents.instances),d=h.defs,f=h.instances,p=Ft(d,e.eventUiBases);for(c in s){var g=s[c],m=g.range,v=u[g.defId],y=l[g.defId];if(!No(v.constraints,m,h,e.businessHours,t))return;var b,_=t.options.eventOverlap,w="function"==typeof _?_:null;for(b in f){var x=f[b];if(It(m,x.range)){if(!1===p[x.defId].overlap&&o.isEvent)return;if(!1===v.overlap)return;if(w&&!w(new I(t,d[x.defId],x),new I(t,y,g)))return}}for(var S=r.eventStore,C=0,E=v.allows;C<E.length;C++){var k=E[C],M=A.__assign(A.__assign({},n),{range:g.range,allDay:y.allDay}),D=S.defs[y.defId],T=S.instances[c],R=void 0;if(R=D?new I(t,D,T):new I(t,y),!k(en(M,t),R))return}}return 1}(e,t,n,i))&&!(e.dateSelection&&!function(e,t,n,i){var r=e.eventStore,o=r.defs,a=r.instances,l=e.dateSelection,s=l.range,u=t.getCurrentData().selectionConfig;i&&(u=i(u));if(!No(u.constraints,s,r,e.businessHours,t))return;var c,i=t.options.selectOverlap,h="function"==typeof i?i:null;for(c in a){var d=a[c];if(It(s,d.range)){if(!1===u.overlap)return;if(h&&!h(new I(t,o[d.defId],d),null))return}}for(var f=0,p=u.allows;f<p.length;f++){var g=p[f],m=A.__assign(A.__assign({},n),l);if(!g(en(m,t),null))return}return 1}(e,t,n,i))}function No(e,t,n,i,r){for(var o=0,a=e;o<a.length;o++)if(!function(e,t){for(var n=0,i=e;n<i.length;n++)if(Nt(i[n],t))return 1;return}(function(t,e,n,i,r){if("businessHours"===t)return Lo(ke(i,e,r));if("string"==typeof t)return Lo(ft(n,function(e){return e.groupId===t}));if("object"===u(t)&&t)return Lo(ke(t,e,r));return[]}(a[o],t,n,i,r),t))return;return 1}function Lo(e){var t,n=e.instances,i=[];for(t in n)i.push(n[t].range);return i}var Ho,Wo=/^(visible|hidden)$/,jo=(Ho=C,A.__extends(Fo,Ho),Fo.prototype.render=function(){var e=this.props,t=e.liquid,n=e.liquidIsAbsolute,i=t&&n,r=["fc-scroller"];return t&&(n?r.push("fc-scroller-liquid-absolute"):r.push("fc-scroller-liquid")),p.createElement("div",{ref:this.handleEl,className:r.join(" "),style:{overflowX:e.overflowX,overflowY:e.overflowY,left:i&&-(e.overcomeLeft||0)||"",right:i&&-(e.overcomeRight||0)||"",bottom:i&&-(e.overcomeBottom||0)||"",marginLeft:!i&&-(e.overcomeLeft||0)||"",marginRight:!i&&-(e.overcomeRight||0)||"",marginBottom:!i&&-(e.overcomeBottom||0)||"",maxHeight:e.maxHeight||""}},e.children)},Fo.prototype.needsXScrolling=function(){if(!Wo.test(this.props.overflowX))for(var e=this.el,t=this.el.getBoundingClientRect().width-this.getYScrollbarWidth(),n=e.children,i=0;i<n.length;i+=1)if(n[i].getBoundingClientRect().width>t)return!0;return!1},Fo.prototype.needsYScrolling=function(){if(!Wo.test(this.props.overflowY))for(var e=this.el,t=this.el.getBoundingClientRect().height-this.getXScrollbarWidth(),n=e.children,i=0;i<n.length;i+=1)if(n[i].getBoundingClientRect().height>t)return!0;return!1},Fo.prototype.getXScrollbarWidth=function(){return Wo.test(this.props.overflowX)?0:this.el.offsetHeight-this.el.clientHeight},Fo.prototype.getYScrollbarWidth=function(){return Wo.test(this.props.overflowY)?0:this.el.offsetWidth-this.el.clientWidth},Fo);function Fo(){var t=null!==Ho&&Ho.apply(this,arguments)||this;return t.handleEl=function(e){t.el=e,pi(t.props.elRef,e)},t}Vo.prototype.createRef=function(t){var n=this;return this.callbackMap[t]||(this.callbackMap[t]=function(e){n.handleValue(e,String(t))})},Vo.prototype.collect=function(e,t,n){return Ee(this.currentMap,e,t,n)},Vo.prototype.getAll=function(){return xe(this.currentMap)};var zo=Vo;function Vo(e){var a=this;this.masterCallback=e,this.currentMap={},this.depths={},this.callbackMap={},this.handleValue=function(e,t){var n=a.depths,i=a.currentMap,r=!1,o=!1;null!==e?(r=t in i,i[t]=e,n[t]=(n[t]||0)+1,o=!0):(--n[t],n[t]||(delete i[t],delete a.callbackMap[t],r=!0)),a.masterCallback&&(r&&a.masterCallback(null,String(t)),o&&a.masterCallback(e,String(t)))}}function Bo(e){for(var t=0,n=0,i=V(e,".fc-scrollgrid-shrink");n<i.length;n++)var r=i[n],t=Math.max(t,ue(r));return Math.ceil(t)}function Yo(e,t){return e.liquid&&t.liquid}function Uo(e,t){return null!=t.maxHeight||Yo(e,t)}function qo(e,t,n,i){var r=n.expandRows;return"function"==typeof t.content?t.content(n):p.createElement("table",{role:"presentation",className:[t.tableClassName,e.syncRowHeights?"fc-scrollgrid-sync-table":""].join(" "),style:{minWidth:n.tableMinWidth,width:n.clientWidth,height:r?n.clientHeight:""}},n.tableColGroupNode,p.createElement(i?"thead":"tbody",{role:"presentation"},"function"==typeof t.rowContent?t.rowContent(n):t.rowContent))}function Zo(e,t){return Le(e,t,_)}function Go(e,t){for(var n=[],i=0,r=e;i<r.length;i++)for(var o=r[i],a=o.span||1,l=0;l<a;l+=1)n.push(p.createElement("col",{style:{width:"shrink"===o.width?Xo(t):o.width||"",minWidth:o.minWidth||""}}));return p.createElement.apply(void 0,A.__spreadArray(["colgroup",{}],n))}function Xo(e){return null==e?4:e}function $o(e){for(var t=0,n=e;t<n.length;t++)if("shrink"===n[t].width)return!0;return!1}function Ko(e,t){t=["fc-scrollgrid",t.theme.getClass("table")];return e&&t.push("fc-scrollgrid-liquid"),t}function Qo(e,t){var n=["fc-scrollgrid-section","fc-scrollgrid-section-"+e.type,e.className];return t&&e.liquid&&null==e.maxHeight&&n.push("fc-scrollgrid-section-liquid"),e.isSticky&&n.push("fc-scrollgrid-section-sticky"),n}Jo=C,A.__extends(N,Jo),N.prototype.render=function(){for(var e,t=this.props,n=this.state,i=this.context,r=t.sections||[],o=this.processCols(t.cols),a=this.renderMicroColGroup(o,n.shrinkWidth),o=Ko(t.liquid,i),l=(t.collapsibleWidth&&o.push("fc-scrollgrid-collapsible"),r.length),s=0,u=[],c=[],h=[];s<l&&"header"===(e=r[s]).type;)u.push(this.renderSection(e,a,!0)),s+=1;for(;s<l&&"body"===(e=r[s]).type;)c.push(this.renderSection(e,a,!1)),s+=1;for(;s<l&&"footer"===(e=r[s]).type;)h.push(this.renderSection(e,a,!0)),s+=1;n=!Dn(),i={role:"rowgroup"};return p.createElement("table",{role:"grid",className:o.join(" "),style:{height:t.height}},Boolean(!n&&u.length)&&p.createElement.apply(void 0,A.__spreadArray(["thead",i],u)),Boolean(!n&&c.length)&&p.createElement.apply(void 0,A.__spreadArray(["tbody",i],c)),Boolean(!n&&h.length)&&p.createElement.apply(void 0,A.__spreadArray(["tfoot",i],h)),n&&p.createElement.apply(void 0,A.__spreadArray(A.__spreadArray(A.__spreadArray(["tbody",i],u),c),h)))},N.prototype.renderSection=function(e,t,n){return"outerContent"in e?p.createElement(p.Fragment,{key:e.key},e.outerContent):p.createElement("tr",{key:e.key,role:"presentation",className:Qo(e,this.props.liquid).join(" ")},this.renderChunkTd(e,t,e.chunk,n))},N.prototype.renderChunkTd=function(e,t,n,i){if("outerContent"in n)return n.outerContent;var r=this.props,o=this.state,a=o.forceYScrollbars,l=o.scrollerClientWidths,o=o.scrollerClientHeights,s=Uo(r,e),u=Yo(r,e),a=r.liquid?a?"scroll":s?"auto":"hidden":"visible",s=e.key,t=qo(e,n,{tableColGroupNode:t,tableMinWidth:"",clientWidth:r.collapsibleWidth||void 0===l[s]?null:l[s],clientHeight:void 0!==o[s]?o[s]:null,expandRows:e.expandRows,syncRowHeights:!1,rowSyncHeights:[],reportRowHeightChange:function(){}},i);return p.createElement(i?"th":"td",{ref:n.elRef,role:"presentation"},p.createElement("div",{className:"fc-scroller-harness"+(u?" fc-scroller-harness-liquid":"")},p.createElement(jo,{ref:this.scrollerRefs.createRef(s),elRef:this.scrollerElRefs.createRef(s),overflowY:a,overflowX:r.liquid?"hidden":"visible",maxHeight:e.maxHeight,liquid:u,liquidIsAbsolute:!0},t)))},N.prototype._handleScrollerEl=function(e,t){t=function(e,t){for(var n=0,i=e;n<i.length;n++){var r=i[n];if(r.key===t)return r}return null}(this.props.sections,t);t&&pi(t.chunk.scrollerElRef,e)},N.prototype.componentDidMount=function(){this.handleSizing(),this.context.addResizeHandler(this.handleSizing)},N.prototype.componentDidUpdate=function(){this.handleSizing()},N.prototype.componentWillUnmount=function(){this.context.removeResizeHandler(this.handleSizing)},N.prototype.computeShrinkWidth=function(){return $o(this.props.cols)?Bo(this.scrollerElRefs.getAll()):0},N.prototype.computeScrollerDims=function(){var e=zn(),t=this.scrollerRefs,n=this.scrollerElRefs,i=!1,r={},o={};for(u in t.currentMap){var a=t.currentMap[u];if(a&&a.needsYScrolling()){i=!0;break}}for(var l=0,s=this.props.sections;l<s.length;l++){var u=s[l].key,c=n.currentMap[u];c&&(c=c.parentNode,r[u]=Math.floor(c.getBoundingClientRect().width-(i?e.y:0)),o[u]=Math.floor(c.getBoundingClientRect().height))}return{forceYScrollbars:i,scrollerClientWidths:r,scrollerClientHeights:o}};var Jo,ea=N;function N(){var e=null!==Jo&&Jo.apply(this,arguments)||this;return e.processCols=w(function(e){return e},Zo),e.renderMicroColGroup=w(Go),e.scrollerRefs=new zo,e.scrollerElRefs=new zo(e._handleScrollerEl.bind(e)),e.state={shrinkWidth:null,forceYScrollbars:!1,scrollerClientWidths:{},scrollerClientHeights:{}},e.handleSizing=function(){e.safeSetState(A.__assign({shrinkWidth:e.computeShrinkWidth()},e.computeScrollerDims()))},e}ea.addStateEquality({scrollerClientWidths:_,scrollerClientHeights:_});ta=C,A.__extends(ia,ta),ia.prototype.render=function(){var r=this.props,e=this.context,t=e.options,n=r.seg,i=n.eventRange,o=i.ui,a={event:new I(e,i.def,i.instance),view:e.viewApi,timeText:r.timeText,textColor:o.textColor,backgroundColor:o.backgroundColor,borderColor:o.borderColor,isDraggable:!r.disableDragging&&Bt(n,e),isStartResizable:!r.disableResizing&&Yt(n,e),isEndResizable:!r.disableResizing&&Ut(n),isMirror:Boolean(r.isDragging||r.isResizing||r.isDateSelecting),isStart:Boolean(n.isStart),isEnd:Boolean(n.isEnd),isPast:Boolean(r.isPast),isFuture:Boolean(r.isFuture),isToday:Boolean(r.isToday),isSelected:Boolean(r.isSelected),isDragging:Boolean(r.isDragging),isResizing:Boolean(r.isResizing)},l=Zt(a).concat(o.classNames);return p.createElement(Ei,{hookProps:a,classNames:t.eventClassNames,content:t.eventContent,defaultContent:r.defaultContent,didMount:t.eventDidMount,willUnmount:t.eventWillUnmount,elRef:this.elRef},function(e,t,n,i){return r.children(e,l.concat(t),n,i,a)})},ia.prototype.componentDidMount=function(){Wt(this.elRef.current,this.props.seg)},ia.prototype.componentDidUpdate=function(e){var t=this.props.seg;t!==e.seg&&Wt(this.elRef.current,t)};var ta,na=ia;function ia(){var e=null!==ta&&ta.apply(this,arguments)||this;return e.elRef=p.createRef(),e}ra=C,A.__extends(aa,ra),aa.prototype.render=function(){var o=this.props,a=this.context,l=o.seg,e=a.options.eventTimeFormat||o.defaultTimeFormat,e=qt(l,e,a,o.defaultDisplayEventTime,o.defaultDisplayEventEnd);return p.createElement(na,{seg:l,timeText:e,disableDragging:o.disableDragging,disableResizing:o.disableResizing,defaultContent:o.defaultContent||la,isDragging:o.isDragging,isResizing:o.isResizing,isDateSelecting:o.isDateSelecting,isSelected:o.isSelected,isPast:o.isPast,isFuture:o.isFuture,isToday:o.isToday},function(e,t,n,i,r){return p.createElement("a",A.__assign({className:o.extraClassNames.concat(t).join(" "),style:{borderColor:r.borderColor,backgroundColor:r.backgroundColor},ref:e},Gt(l,a)),p.createElement("div",{className:"fc-event-main",ref:n,style:{color:r.textColor}},i),r.isStartResizable&&p.createElement("div",{className:"fc-event-resizer fc-event-resizer-start"}),r.isEndResizable&&p.createElement("div",{className:"fc-event-resizer fc-event-resizer-end"}))})};var ra,oa=aa;function aa(){return null!==ra&&ra.apply(this,arguments)||this}function la(e){return p.createElement("div",{className:"fc-event-main-frame"},e.timeText&&p.createElement("div",{className:"fc-event-time"},e.timeText),p.createElement("div",{className:"fc-event-title-container"},p.createElement("div",{className:"fc-event-title fc-sticky"},e.event.title||p.createElement(p.Fragment,null," "))))}var sa,ua=a({day:"numeric"}),ca=(sa=C,A.__extends(ha,sa),ha.prototype.render=function(){var e=this.props,t=this.context,n=t.options,t=da({date:e.date,dateProfile:e.dateProfile,todayRange:e.todayRange,showDayNumber:e.showDayNumber,extraProps:e.extraHookProps,viewApi:t.viewApi,dateEnv:t.dateEnv});return p.createElement(Di,{hookProps:t,content:n.dayCellContent,defaultContent:e.defaultContent},e.children)},ha);function ha(){return null!==sa&&sa.apply(this,arguments)||this}function da(e){var t=e.date,n=e.dateEnv,i=Pn(t,e.todayRange,null,e.dateProfile);return A.__assign(A.__assign(A.__assign({date:n.toDate(t),view:e.viewApi},i),{dayNumberText:e.showDayNumber?n.format(t,ua):""}),e.extraProps)}fa=C,A.__extends(ga,fa),ga.prototype.render=function(){var t=this.props,e=this.context,n=e.options,i=this.refineHookProps({date:t.date,dateProfile:t.dateProfile,todayRange:t.todayRange,showDayNumber:t.showDayNumber,extraProps:t.extraHookProps,viewApi:e.viewApi,dateEnv:e.dateEnv}),r=In(i,e.theme).concat(i.isDisabled?[]:this.normalizeClassNames(n.dayCellClassNames,i)),o=i.isDisabled?{}:{"data-date":Ie(t.date)};return p.createElement(Oi,{hookProps:i,didMount:n.dayCellDidMount,willUnmount:n.dayCellWillUnmount,elRef:t.elRef},function(e){return t.children(e,r,o,i.isDisabled)})};var fa,pa=ga;function ga(){var e=null!==fa&&fa.apply(this,arguments)||this;return e.refineHookProps=He(da),e.normalizeClassNames=Ii(),e}function ma(e){return e.event.title&&p.createElement("div",{className:"fc-event-title"},e.event.title)}function va(e){return e.text}ya=C,A.__extends(_a,ya),_a.prototype.render=function(){var e=this.context,t=e.theme,e=e.options,n=this.props,i=this.state,r=["fc-popover",t.getClass("popover")].concat(n.extraClassNames||[]);return p.createPortal(p.createElement("div",A.__assign({id:n.id,className:r.join(" "),"aria-labelledby":i.titleId},n.extraAttrs,{ref:this.handleRootEl}),p.createElement("div",{className:"fc-popover-header "+t.getClass("popoverHeader")},p.createElement("span",{className:"fc-popover-title",id:i.titleId},n.title),p.createElement("span",{className:"fc-popover-close "+t.getIconClass("close"),title:e.closeHint,onClick:this.handleCloseClick})),p.createElement("div",{className:"fc-popover-body "+t.getClass("popoverContent")},n.children)),n.parentEl)},_a.prototype.componentDidMount=function(){document.addEventListener("mousedown",this.handleDocumentMouseDown),document.addEventListener("keydown",this.handleDocumentKeyDown),this.updateSize()},_a.prototype.componentWillUnmount=function(){document.removeEventListener("mousedown",this.handleDocumentMouseDown),document.removeEventListener("keydown",this.handleDocumentKeyDown)},_a.prototype.updateSize=function(){var e,t=this.context.isRtl,n=this.props,i=n.alignmentEl,n=n.alignGridTop,r=this.rootEl,o=function(e){for(var t=Un(e),n=e.getBoundingClientRect(),i=0,r=t;i<r.length;i++){var o=Mn(n,r[i].getBoundingClientRect());if(!o)return null;n=o}return n}(i);o&&(e=r.getBoundingClientRect(),n=(n?l(i,".fc-scrollgrid").getBoundingClientRect():o).top,i=t?o.right-e.width:o.left,n=Math.max(n,10),i=Math.min(i,document.documentElement.clientWidth-10-e.width),i=Math.max(i,10),t=r.offsetParent.getBoundingClientRect(),Y(r,{top:n-t.top,left:i-t.left}))};var ya,ba=_a;function _a(){var t=null!==ya&&ya.apply(this,arguments)||this;return t.state={titleId:G()},t.handleRootEl=function(e){t.rootEl=e,t.props.elRef&&pi(t.props.elRef,e)},t.handleDocumentMouseDown=function(e){e=q(e);t.rootEl.contains(e)||t.handleCloseClick()},t.handleDocumentKeyDown=function(e){"Escape"===e.key&&t.handleCloseClick()},t.handleCloseClick=function(){var e=t.props.onClose;e&&e()},t}wa=mi,A.__extends(Sa,wa),Sa.prototype.render=function(){var e=this.context,t=e.options,e=e.dateEnv,i=this.props,r=i.startDate,o=i.todayRange,a=i.dateProfile,l=e.format(r,t.dayPopoverFormat);return p.createElement(pa,{date:r,dateProfile:a,todayRange:o,elRef:this.handleRootEl},function(e,t,n){return p.createElement(ba,{elRef:e,id:i.id,title:l,extraClassNames:["fc-more-popover"].concat(t),extraAttrs:n,parentEl:i.parentEl,alignmentEl:i.alignmentEl,alignGridTop:i.alignGridTop,onClose:i.onClose},p.createElement(ca,{date:r,dateProfile:a,todayRange:o},function(e,t){return t&&p.createElement("div",{className:"fc-more-popover-misc",ref:e},t)}),i.children)})},Sa.prototype.queryHit=function(e,t,n,i){var r=this.rootEl,o=this.props;return 0<=e&&e<n&&0<=t&&t<i?{dateProfile:o.dateProfile,dateSpan:A.__assign({allDay:!0,range:{start:o.startDate,end:o.endDate}},o.extraDateSpan),dayEl:r,rect:{left:0,top:0,right:n,bottom:i},layer:1}:null};var wa,xa=Sa;function Sa(){var t=null!==wa&&wa.apply(this,arguments)||this;return t.handleRootEl=function(e){(t.rootEl=e)?t.context.registerInteractiveComponent(t,{el:e,useEventCenter:!1}):t.context.unregisterInteractiveComponent(t)},t}Ca=C,A.__extends(ka,Ca),ka.prototype.render=function(){var l=this,s=this.props,u=this.state;return p.createElement(S.Consumer,null,function(e){var t=e.viewApi,n=e.options,e=e.calendarApi,i=n.moreLinkText,r=s.moreCnt,o=Da(s),e="function"==typeof i?i.call(e,r):"+"+r+" "+i,a=le(n.moreLinkHint,[r],e),i={num:r,shortText:"+"+r,text:e,view:t};return p.createElement(p.Fragment,null,Boolean(s.moreCnt)&&p.createElement(Ei,{elRef:l.linkElRef,hookProps:i,classNames:n.moreLinkClassNames,content:n.moreLinkContent,defaultContent:s.defaultContent||Ma,didMount:n.moreLinkDidMount,willUnmount:n.moreLinkWillUnmount},function(e,t,n,i){return s.children(e,["fc-more-link"].concat(t),n,i,l.handleClick,a,u.isPopoverOpen,u.isPopoverOpen?u.popoverId:"")}),u.isPopoverOpen&&p.createElement(xa,{id:u.popoverId,startDate:o.start,endDate:o.end,dateProfile:s.dateProfile,todayRange:s.todayRange,extraDateSpan:s.extraDateSpan,parentEl:l.parentEl,alignmentEl:s.alignmentElRef.current,alignGridTop:s.alignGridTop,onClose:l.handlePopoverClose},s.popoverContent()))})},ka.prototype.componentDidMount=function(){this.updateParentEl()},ka.prototype.componentDidUpdate=function(){this.updateParentEl()},ka.prototype.updateParentEl=function(){this.linkElRef.current&&(this.parentEl=l(this.linkElRef.current,".fc-view-harness"))};var Ca,Ea=ka;function ka(){var a=null!==Ca&&Ca.apply(this,arguments)||this;return a.linkElRef=p.createRef(),a.state={isPopoverOpen:!1,popoverId:G()},a.handleClick=function(e){var t=a.props,r=a.context,n=r.options.moreLinkClick,i=Da(t).start;function o(e){var t=e.eventRange,n=t.def,i=t.instance,t=t.range;return{event:new I(r,n,i),start:r.dateEnv.toDate(t.start),end:r.dateEnv.toDate(t.end),isStart:e.isStart,isEnd:e.isEnd}}(n="function"==typeof n?n({date:i,allDay:Boolean(t.allDayDate),allSegs:t.allSegs.map(o),hiddenSegs:t.hiddenSegs.map(o),jsEvent:e,view:r.viewApi}):n)&&"popover"!==n?"string"==typeof n&&r.calendarApi.zoomTo(i,n):a.setState({isPopoverOpen:!0})},a.handlePopoverClose=function(){a.setState({isPopoverOpen:!1})},a}function Ma(e){return e.text}function Da(e){if(e.allDayDate)return{start:e.allDayDate,end:h(e.allDayDate,1)};e=e.hiddenSegs;return{start:Ta(e),end:e.reduce(Aa).eventRange.range.end}}function Ta(e){return e.reduce(Ra).eventRange.range.start}function Ra(e,t){return e.eventRange.range.start<t.eventRange.range.start?e:t}function Aa(e,t){return e.eventRange.range.end>t.eventRange.range.end?e:t}t.BASE_OPTION_DEFAULTS=tt,t.BASE_OPTION_REFINERS=et,t.BaseComponent=C,t.BgEvent=function(e){return p.createElement(na,{defaultContent:ma,seg:e.seg,timeText:"",disableDragging:!0,disableResizing:!0,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:!1,isPast:e.isPast,isFuture:e.isFuture,isToday:e.isToday},function(e,t,n,i,r){return p.createElement("div",{ref:e,className:["fc-bg-event"].concat(t).join(" "),style:{backgroundColor:r.backgroundColor}},i)})},t.CalendarApi=L,t.CalendarContent=si,t.CalendarDataManager=dr,t.CalendarDataProvider=Er,t.CalendarRoot=lo,t.ContentHook=Di,t.CustomContentRenderContext=Mi,t.DateComponent=mi,t.DateEnv=mn,t.DateProfileGenerator=Yi,t.DayCellContent=ca,t.DayCellRoot=pa,t.DayHeader=Co,t.DaySeriesModel=Mo,t.DayTableModel=To,t.DelayedRunner=sr,t.ElementDragging=Wr,t.ElementScrollController=Jn,t.Emitter=Zn,t.EventApi=I,t.EventRoot=na,t.EventSourceApi=W,t.Interaction=Nr,t.MoreLinkRoot=Ea,t.MountHook=Oi,t.NamedTimeZoneImpl=Mr,t.NowIndicatorRoot=function(n){return p.createElement(S.Consumer,null,function(e){var t=e.options,e={isAxis:n.isAxis,date:e.dateEnv.toDate(n.date),view:e.viewApi};return p.createElement(Ei,{hookProps:e,classNames:t.nowIndicatorClassNames,content:t.nowIndicatorContent,didMount:t.nowIndicatorDidMount,willUnmount:t.nowIndicatorWillUnmount},n.children)})},t.NowTimer=wo,t.PositionCache=Xn,t.RefMap=zo,t.RenderHook=Ei,t.ScrollController=Kn,t.ScrollResponder=ri,t.Scroller=jo,t.SegHierarchy=Dr,t.SimpleScrollGrid=ea,t.Slicer=Ao,t.Splitter=Rn,t.StandardEvent=oa,t.TableDateCell=po,t.TableDowCell=yo,t.Theme=ni,t.ViewApi=rn,t.ViewContextType=S,t.ViewRoot=Wi,t.WeekNumberRoot=function(o){return p.createElement(S.Consumer,null,function(e){var t=e.dateEnv,e=e.options,n=o.date,i=e.weekNumberFormat||o.defaultFormat,r=t.computeWeekNumber(n),t=t.format(n,i);return p.createElement(Ei,{hookProps:{num:r,text:t,date:n},classNames:e.weekNumberClassNames,content:e.weekNumberContent,defaultContent:va,didMount:e.weekNumberDidMount,willUnmount:e.weekNumberWillUnmount},o.children)})},t.WindowScrollController=ti,t.addDays=h,t.addDurations=function(e,t){return{years:e.years+t.years,months:e.months+t.months,days:e.days+t.days,milliseconds:e.milliseconds+t.milliseconds}},t.addMs=g,t.addWeeks=function(e,t){return(e=n(e))[2]+=7*t,o(e)},t.allowContextMenu=function(e){e.removeEventListener("contextmenu",X)},t.allowSelection=function(e){e.classList.remove("fc-unselectable"),e.removeEventListener("selectstart",X)},t.applyMutationToEventStore=nn,t.applyStyle=Y,t.applyStyleProp=U,t.asCleanDays=function(e){return e.years||e.months||e.milliseconds?0:e.days},t.asRoughMinutes=function(e){return Ae(e)/6e4},t.asRoughMs=Ae,t.asRoughSeconds=function(e){return Ae(e)/1e3},t.binarySearch=Ir,t.buildClassNameNormalizer=Ii,t.buildEntryKey=Rr,t.buildEventApis=hn,t.buildEventRangeKey=function(e){return e.instance?e.instance.instanceId:e.def.defId+":"+e.range.start.toISOString()},t.buildHashFromArray=function(e,t){for(var n={},i=0;i<e.length;i+=1){var r=t(e[i],i);n[r[0]]=r[1]}return n},t.buildIsoString=Pe,t.buildNavLinkAttrs=Hn,t.buildSegCompareObj=Vt,t.buildSegTimeText=qt,t.collectFromHash=Ee,t.combineEventUis=yt,t.compareByFieldSpec=re,t.compareByFieldSpecs=ie,t.compareNumbers=function(e,t){return e-t},t.compareObjs=Ce,t.computeEarliestSegStart=Ta,t.computeEdges=Bn,t.computeFallbackHeaderFormat=uo,t.computeHeightAndMargins=function(e){return e.getBoundingClientRect().height+function(e){e=window.getComputedStyle(e);return parseInt(e.marginTop,10)+parseInt(e.marginBottom,10)}(e)},t.computeInnerRect=function(e,t,n){return void 0===t&&(t=!1),n=n?e.getBoundingClientRect():Yn(e),e=Bn(e,t),n={left:n.left+e.borderLeft+e.scrollbarLeft,right:n.right-e.borderRight-e.scrollbarRight,top:n.top+e.borderTop,bottom:n.bottom-e.borderBottom-e.scrollbarBottom},t&&(n.left+=e.paddingLeft,n.right-=e.paddingRight,n.top+=e.paddingTop,n.bottom-=e.paddingBottom),n},t.computeRect=Yn,t.computeSegDraggable=Bt,t.computeSegEndResizable=Ut,t.computeSegStartResizable=Yt,t.computeShrinkWidth=Bo,t.computeSmallestCellWidth=ue,t.computeVisibleDayRange=Dt,t.config={},t.constrainPoint=function(e,t){return{left:Math.min(Math.max(e.left,t.left),t.right),top:Math.min(Math.max(e.top,t.top),t.bottom)}},t.createAriaClickAttrs=Q,t.createDuration=v,t.createEmptyEventStore=x,t.createEventInstance=ye,t.createEventUi=vt,t.createFormatter=a,t.createPlugin=yi,t.diffDates=Tt,t.diffDayAndTime=he,t.diffDays=r,t.diffPoints=function(e,t){return{left:e.left-t.left,top:e.top-t.top}},t.diffWeeks=function(e,t){return r(e,t)/7},t.diffWholeDays=fe,t.diffWholeWeeks=de,t.disableCursor=function(){document.body.classList.add("fc-not-allowed")},t.elementClosest=l,t.elementMatches=z,t.enableCursor=function(){document.body.classList.remove("fc-not-allowed")},t.eventTupleToStore=ct,t.filterEventStoreDefs=ft,t.filterHash=O,t.findDirectChildren=function(e,t){for(var n=e instanceof HTMLElement?[e]:e,i=[],r=0;r<n.length;r+=1)for(var o=n[r].children,a=0;a<o.length;a+=1){var l=o[a];t&&!z(l,t)||i.push(l)}return i},t.findElements=V,t.flexibleCompare=oe,t.formatDate=function(e,t){var n=Sn(t=void 0===t?{}:t),t=a(t);return(e=n.createMarkerMeta(e))?n.format(e.marker,t,{forcedTzo:e.forcedTzo}):""},t.formatDayString=Ie,t.formatIsoTimeString=function(e){return ae(e.getUTCHours(),2)+":"+ae(e.getUTCMinutes(),2)+":"+ae(e.getUTCSeconds(),2)},t.formatRange=function(e,t,n){var i=Sn("object"===u(n)&&n?n:{}),r=a(n),e=i.createMarkerMeta(e),t=i.createMarkerMeta(t);return e&&t?i.formatRange(e.marker,t.marker,r,{forcedStartTzo:e.forcedTzo,forcedEndTzo:t.forcedTzo,isEndExclusive:n.isEndExclusive,defaultSeparator:tt.defaultRangeSeparator}):""},t.getAllowYScrolling=Uo,t.getCanVGrowWithinCell=Dn,t.getClippingParents=Un,t.getDateMeta=Pn,t.getDayClassNames=In,t.getDefaultEventEnd=tn,t.getElRoot=function(e){return e.getRootNode?e.getRootNode():document},t.getElSeg=jt,t.getEntrySpanEnd=Tr,t.getEventClassNames=Zt,t.getEventTargetViaRoot=q,t.getIsRtlScrollbarOnLeft=Fn,t.getRectCenter=function(e){return{left:(e.left+e.right)/2,top:(e.top+e.bottom)/2}},t.getRelevantEvents=ht,t.getScrollGridClassNames=Ko,t.getScrollbarWidths=zn,t.getSectionClassNames=Qo,t.getSectionHasLiquidHeight=Yo,t.getSegAnchorAttrs=Gt,t.getSegMeta=function(e,t,n){return{isPast:(e=e.eventRange.range).end<(n||t.start),isFuture:e.start>=(n||t.end),isToday:t&&Lt(t,e.start)}},t.getSlotClassNames=function(e,t){var n=["fc-slot","fc-slot-"+ce[e.dow]];return e.isDisabled?n.push("fc-slot-disabled"):(e.isToday&&(n.push("fc-slot-today"),n.push(t.getClass("today"))),e.isPast&&n.push("fc-slot-past"),e.isFuture&&n.push("fc-slot-future")),n},t.getStickyFooterScrollbar=function(e){var t=e.stickyFooterScrollbar;return t=null!=t&&"auto"!==t?t:"auto"===e.height||"auto"===e.viewHeight},t.getStickyHeaderDates=function(e){var t=e.stickyHeaderDates;return t=null!=t&&"auto"!==t?t:"auto"===e.height||"auto"===e.viewHeight},t.getUnequalProps=Se,t.getUniqueDomId=G,t.globalLocales=vn,t.globalPlugins=lr,t.greatestDurationDenominator=Oe,t.groupIntersectingEntries=function(e){for(var t=[],n=0,i=e;n<i.length;n++){for(var r=i[n],o=[],a={span:r.span,entries:[r]},l=0,s=t;l<s.length;l++){var u=s[l];Or(u.span,a.span)?a={entries:u.entries.concat(a.entries),span:Ar(u.span,a.span)}:o.push(u)}o.push(a),t=o}return t},t.guid=te,t.hasBgRendering=function(e){return"background"===e.ui.display||"inverse-background"===e.ui.display},t.hasShrinkWidth=$o,t.identity=e,t.interactionSettingsStore=Hr,t.interactionSettingsToStore=function(e){var t={};return t[e.component.uid]=e,t},t.intersectRanges=Ot,t.intersectRects=Mn,t.intersectSpans=Or,t.isArraysEqual=Le,t.isColPropsEqual=Zo,t.isDateSelectionValid=function(e,t,n){return!!Nt(t.validRange,e.range)&&Po({dateSelection:e},n)},t.isDateSpansEqual=function(e,t){return Pt(e.range,t.range)&&e.allDay===t.allDay&&function(e,t){for(var n in t)if("range"!==n&&"allDay"!==n&&e[n]!==t[n])return!1;for(var n in e)if(!(n in t))return!1;return!0}(e,t)},t.isInt=se,t.isInteractionValid=function(e,t,n){var i,r=e.mutatedEvents.instances;for(i in r)if(!Nt(t.validRange,r[i].range))return!1;return Po({eventDrag:e},n)},t.isMultiDayRange=function(e){return 1<r((e=Dt(e)).start,e.end)},t.isPropsEqual=_,t.isPropsValid=Io,t.isValidDate=ve,t.joinSpans=Ar,t.listenBySelector=$,t.mapHash=P,t.memoize=w,t.memoizeArraylike=function(o,a,l){var s=this,u=[],c=[];return function(e){for(var t,n=u.length,i=e.length,r=0;r<n;r+=1)e[r]?Le(u[r],e[r])||(l&&l(c[r]),t=o.apply(s,e[r]),a&&a(t,c[r])||(c[r]=t)):l&&l(c[r]);for(;r<i;r+=1)c[r]=o.apply(s,e[r]);return u=e,c.splice(i),c}},t.memoizeHashlike=function(r,o,a){var l=this,s={},u={};return function(e){var t,n,i={};for(t in e)u[t]?Le(s[t],e[t])?i[t]=u[t]:(a&&a(u[t]),n=r.apply(l,e[t]),i[t]=o&&o(n,u[t])?u[t]:n):i[t]=r.apply(l,e[t]);return s=e,u=i}},t.memoizeObjArg=He,t.mergeEventStores=dt,t.multiplyDuration=function(e,t){return{years:e.years*t,months:e.months*t,days:e.days*t,milliseconds:e.milliseconds*t}},t.padStart=ae,t.parseBusinessHours=kn,t.parseClassNames=pt,t.parseDragMeta=function(e){var t=(e=st(e,Fr)).refined,e=e.extra;return{startTime:t.startTime||null,duration:t.duration||null,create:null==t.create||t.create,sourceId:t.sourceId,leftoverProps:e}},t.parseEventDef=kt,t.parseFieldSpecs=ne,t.parseMarker=gn,t.pointInsideRect=function(e,t){return e.left>=t.left&&e.left<t.right&&e.top>=t.top&&e.top<t.bottom},t.preventContextMenu=function(e){e.addEventListener("contextmenu",X)},t.preventDefault=X,t.preventSelection=function(e){e.classList.add("fc-unselectable"),e.addEventListener("selectstart",X)},t.rangeContainsMarker=Lt,t.rangeContainsRange=Nt,t.rangesEqual=Pt,t.rangesIntersect=It,t.refineEventDef=Ct,t.refineProps=st,t.removeElement=F,t.removeExact=function(e,t){for(var n=0,i=0;i<e.length;)e[i]===t?(e.splice(i,1),n+=1):i+=1;return n},t.renderChunkContent=qo,t.renderFill=function(e){return p.createElement("div",{className:"fc-"+e})},t.renderMicroColGroup=Go,t.renderScrollShim=function(e){return p.createElement("div",{className:"fc-scrollgrid-sticky-shim",style:{width:e.clientWidth,minWidth:e.tableMinWidth}})},t.requestJson=rr,t.sanitizeShrinkWidth=Xo,t.setElSeg=Wt,t.setRef=pi,t.sliceEventStore=Ht,t.sliceEvents=function(e,t){return Ht(e.eventStore,e.eventUiBases,e.dateProfile.activeRange,t?e.nextDayThreshold:null).fg},t.sortEventSegs=function(e,n){return(e=e.map(Vt)).sort(function(e,t){return ie(e,t,n)}),e.map(function(e){return e._seg})},t.startOfDay=m,t.translateRect=function(e,t,n){return{left:e.left+t,right:e.right+t,top:e.top+n,bottom:e.bottom+n}},t.triggerDateSelect=Jt,t.unpromisify=qn,t.version="5.11.2",t.whenTransitionDone=function(t,n){function i(e){n(e),K.forEach(function(e){t.removeEventListener(e,i)})}K.forEach(function(e){t.addEventListener(e,i)})},t.wholeDivideDurations=function(e,t){for(var n=null,i=0;i<Me.length;i+=1){var r=Me[i];if(t[r]){var o=e[r]/t[r];if(!se(o)||null!==n&&n!==o)return null;n=o}else if(e[r])return null}return n},Object.keys(p).forEach(function(e){"default"===e||t.hasOwnProperty(e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return p[e]}})})},{"./vdom.cjs":2,tslib:32}],2:[function(e,t,n){"use strict";if(Object.defineProperty(n,"__esModule",{value:!0}),"undefined"==typeof FullCalendarVDom)throw new Error("Please import the top-level fullcalendar lib before attempting to import a plugin.");var i=FullCalendarVDom.createElement,r=FullCalendarVDom.render,o=FullCalendarVDom.createRef,a=FullCalendarVDom.Fragment,l=FullCalendarVDom.createContext,s=FullCalendarVDom.createPortal,u=FullCalendarVDom.flushSync,c=FullCalendarVDom.unmountComponentAtNode;n.Component=FullCalendarVDom.Component,n.Fragment=a,n.createContext=l,n.createElement=i,n.createPortal=s,n.createRef=o,n.flushSync=u,n.render=r,n.unmountComponentAtNode=c},{}],3:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),e("./vdom.cjs");var i,a=e("tslib"),l=e("@fullcalendar/common"),e=(i=l.CalendarApi,a.__extends(r,i),Object.defineProperty(r.prototype,"view",{get:function(){return this.currentData.viewApi},enumerable:!1,configurable:!0}),r.prototype.render=function(){var e=this.isRendering;e?this.customContentRenderId+=1:this.isRendering=!0,this.renderRunner.request(),e&&this.updateSize()},r.prototype.destroy=function(){this.isRendering&&(this.isRendering=!1,this.renderRunner.request())},r.prototype.updateSize=function(){var e=this;l.flushSync(function(){i.prototype.updateSize.call(e)})},r.prototype.batchRendering=function(e){this.renderRunner.pause("batchRendering"),e(),this.renderRunner.resume("batchRendering")},r.prototype.pauseRendering=function(){this.renderRunner.pause("pauseRendering")},r.prototype.resumeRendering=function(){this.renderRunner.resume("pauseRendering",!0)},r.prototype.resetOptions=function(e,t){this.currentDataManager.resetOptions(e,t)},r.prototype.setClassNames=function(e){if(!l.isArraysEqual(e,this.currentClassNames)){for(var t=this.el.classList,n=0,i=this.currentClassNames;n<i.length;n++){var r=i[n];t.remove(r)}for(var o=0,a=e;o<a.length;o++){r=a[o];t.add(r)}this.currentClassNames=e}},r.prototype.setHeight=function(e){l.applyStyleProp(this.el,"height",e)},r);function r(e,t){void 0===t&&(t={});var o=i.call(this)||this;return o.isRendering=!1,o.isRendered=!1,o.currentClassNames=[],o.customContentRenderId=0,o.handleAction=function(e){switch(e.type){case"SET_EVENT_DRAG":case"SET_EVENT_RESIZE":o.renderRunner.tryDrain()}},o.handleData=function(e){o.currentData=e,o.renderRunner.request(e.calendarOptions.rerenderDelay)},o.handleRenderRequest=function(){var r;o.isRendering?(o.isRendered=!0,r=o.currentData,l.flushSync(function(){l.render(l.createElement(l.CalendarRoot,{options:r.calendarOptions,theme:r.theme,emitter:r.emitter},function(e,t,n,i){return o.setClassNames(e),o.setHeight(t),l.createElement(l.CustomContentRenderContext.Provider,{value:o.customContentRenderId},l.createElement(l.CalendarContent,a.__assign({isHeightAuto:n,forPrint:i},r)))}),o.el)})):o.isRendered&&(o.isRendered=!1,l.unmountComponentAtNode(o.el),o.setClassNames([]),o.setHeight(""))},o.el=e,o.renderRunner=new l.DelayedRunner(o.handleRenderRequest),new l.CalendarDataManager({optionOverrides:t,calendarApi:o,onAction:o.handleAction,onData:o.handleData}),o}n.Calendar=e,Object.keys(l).forEach(function(e){"default"===e||n.hasOwnProperty(e)||Object.defineProperty(n,e,{enumerable:!0,get:function(){return l[e]}})})},{"./vdom.cjs":4,"@fullcalendar/common":1,tslib:32}],4:[function(e,t,n){"use strict";var i=e("tslib"),r=e("preact"),e=e("preact/compat");function o(n){if(n&&n.__esModule)return n;var i=Object.create(null);return n&&Object.keys(n).forEach(function(e){var t;"default"!==e&&(t=Object.getOwnPropertyDescriptor(n,e),Object.defineProperty(i,e,t.get?t:{enumerable:!0,get:function(){return n[e]}}))}),i.default=n,Object.freeze(i)}var a=o(r),r=o(e),e="undefined"!=typeof globalThis?globalThis:window;e.FullCalendarVDom?console.warn("FullCalendar VDOM already loaded"):e.FullCalendarVDom={Component:a.Component,createElement:a.createElement,render:a.render,createRef:a.createRef,Fragment:a.Fragment,createContext:function(e){var e=a.createContext(e),r=e.Provider;return e.Provider=function(){var n,e=this,t=!this.getChildContext,i=r.apply(this,arguments);return t&&(n=[],this.shouldComponentUpdate=function(t){e.props.value!==t.value&&n.forEach(function(e){e.context=t.value,e.forceUpdate()})},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n.splice(n.indexOf(e),1),t&&t.call(e)}}),i},e},createPortal:r.createPortal,flushSync:function(e){e();var e=a.options.debounceRendering,t=[];a.options.debounceRendering=function(e){t.push(e)},a.render(a.createElement(s,{}),document.createElement("div"));for(;t.length;)t.shift()();a.options.debounceRendering=e},unmountComponentAtNode:function(e){a.render(null,e)}};l=a.Component,i.__extends(u,l),u.prototype.render=function(){return a.createElement("div",{})},u.prototype.componentDidMount=function(){this.setState({})};var l,s=u;function u(){return null!==l&&l.apply(this,arguments)||this}},{preact:29,"preact/compat":28,tslib:32}],5:[function(e,L,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,S=e("@fullcalendar/common"),C=e("tslib"),e=(n=S.DateComponent,C.__extends(i,n),i.prototype.renderSimpleLayout=function(e,t){var n=this.props,i=this.context,r=[],o=S.getStickyHeaderDates(i.options);return e&&r.push({type:"header",key:"header",isSticky:o,chunk:{elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}}),r.push({type:"body",key:"body",liquid:!0,chunk:{content:t}}),S.createElement(S.ViewRoot,{viewSpec:i.viewSpec},function(e,t){return S.createElement("div",{ref:e,className:["fc-daygrid"].concat(t).join(" ")},S.createElement(S.SimpleScrollGrid,{liquid:!n.isHeightAuto&&!n.forPrint,collapsibleWidth:n.forPrint,cols:[],sections:r}))})},i.prototype.renderHScrollLayout=function(e,t,n,i){var r=this.context.pluginHooks.scrollGridImpl;if(!r)throw new Error("No ScrollGrid implementation");var o=this.props,a=this.context,l=!o.forPrint&&S.getStickyHeaderDates(a.options),s=!o.forPrint&&S.getStickyFooterScrollbar(a.options),u=[];return e&&u.push({type:"header",key:"header",isSticky:l,chunks:[{key:"main",elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}]}),u.push({type:"body",key:"body",liquid:!0,chunks:[{key:"main",content:t}]}),s&&u.push({type:"footer",key:"footer",isSticky:!0,chunks:[{key:"main",content:S.renderScrollShim}]}),S.createElement(S.ViewRoot,{viewSpec:a.viewSpec},function(e,t){return S.createElement("div",{ref:e,className:["fc-daygrid"].concat(t).join(" ")},S.createElement(r,{liquid:!o.isHeightAuto&&!o.forPrint,collapsibleWidth:o.forPrint,colGroups:[{cols:[{span:n,minWidth:i}]}],sections:u}))})},i);function i(){var e=null!==n&&n.apply(this,arguments)||this;return e.headerElRef=S.createRef(),e}function r(e,t){for(var n=[],i=0;i<t;i+=1)n[i]=[];for(var r=0,o=e;r<o.length;r++){var a=o[r];n[a.row].push(a)}return n}function g(e,t){for(var n=[],i=0;i<t;i+=1)n[i]=[];for(var r=0,o=e;r<o.length;r++){var a=o[r];n[a.firstCol].push(a)}return n}function o(e,t){var n=[];if(e){for(a=0;a<t;a+=1)n[a]={affectedInstances:e.affectedInstances,isEvent:e.isEvent,segs:[]};for(var i=0,r=e.segs;i<r.length;i++){var o=r[i];n[o.row].segs.push(o)}}else for(var a=0;a<t;a+=1)n[a]=null;return n}a=S.BaseComponent,C.__extends(l,a),l.prototype.render=function(){var n=this.props,i=S.buildNavLinkAttrs(this.context,n.date);return S.createElement(S.DayCellContent,{date:n.date,dateProfile:n.dateProfile,todayRange:n.todayRange,showDayNumber:n.showDayNumber,extraHookProps:n.extraHookProps,defaultContent:W},function(e,t){return(t||n.forceDayTop)&&S.createElement("div",{className:"fc-daygrid-day-top",ref:e},S.createElement("a",C.__assign({id:n.dayNumberId,className:"fc-daygrid-day-number"},i),t||S.createElement(S.Fragment,null," ")))})};var a,H=l;function l(){return null!==a&&a.apply(this,arguments)||this}function W(e){return e.dayNumberText}var s=S.createFormatter({hour:"numeric",minute:"2-digit",omitZeroMinute:!0,meridiem:"narrow"});function j(e){var t=e.eventRange.ui.display;return"list-item"===t||"auto"===t&&!e.eventRange.def.allDay&&e.firstCol===e.lastCol&&e.isStart&&e.isEnd}u=S.BaseComponent,C.__extends(c,u),c.prototype.render=function(){var e=this.props;return S.createElement(S.StandardEvent,C.__assign({},e,{extraClassNames:["fc-daygrid-event","fc-daygrid-block-event","fc-h-event"],defaultTimeFormat:s,defaultDisplayEventEnd:e.defaultDisplayEventEnd,disableResizing:!e.seg.eventRange.def.allDay}))};var u,F=c;function c(){return null!==u&&u.apply(this,arguments)||this}h=S.BaseComponent,C.__extends(d,h),d.prototype.render=function(){var r=this.props,o=this.context,e=o.options.eventTimeFormat||s,e=S.buildSegTimeText(r.seg,e,o,!0,r.defaultDisplayEventEnd);return S.createElement(S.EventRoot,{seg:r.seg,timeText:e,defaultContent:V,isDragging:r.isDragging,isResizing:!1,isDateSelecting:!1,isSelected:r.isSelected,isPast:r.isPast,isFuture:r.isFuture,isToday:r.isToday},function(e,t,n,i){return S.createElement("a",C.__assign({className:["fc-daygrid-event","fc-daygrid-dot-event"].concat(t).join(" "),ref:e},S.getSegAnchorAttrs(r.seg,o)),i)})};var h,z=d;function d(){return null!==h&&h.apply(this,arguments)||this}function V(e){return S.createElement(S.Fragment,null,S.createElement("div",{className:"fc-daygrid-event-dot",style:{borderColor:e.borderColor||e.backgroundColor}}),e.timeText&&S.createElement("div",{className:"fc-event-time"},e.timeText),S.createElement("div",{className:"fc-event-title"},e.event.title||S.createElement(S.Fragment,null," ")))}f=S.BaseComponent,C.__extends(p,f),p.prototype.render=function(){var i=this.props,e=this.compileSegs(i.singlePlacements),t=e.allSegs,e=e.invisibleSegs;return S.createElement(S.MoreLinkRoot,{dateProfile:i.dateProfile,todayRange:i.todayRange,allDayDate:i.allDayDate,moreCnt:i.moreCnt,allSegs:t,hiddenSegs:e,alignmentElRef:i.alignmentElRef,alignGridTop:i.alignGridTop,extraDateSpan:i.extraDateSpan,popoverContent:function(){var n=(i.eventDrag?i.eventDrag.affectedInstances:null)||(i.eventResize?i.eventResize.affectedInstances:null)||{};return S.createElement(S.Fragment,null,t.map(function(e){var t=e.eventRange.instance.instanceId;return S.createElement("div",{className:"fc-daygrid-event-harness",key:t,style:{visibility:n[t]?"hidden":""}},j(e)?S.createElement(z,C.__assign({seg:e,isDragging:!1,isSelected:t===i.eventSelection,defaultDisplayEventEnd:!1},S.getSegMeta(e,i.todayRange))):S.createElement(F,C.__assign({seg:e,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:t===i.eventSelection,defaultDisplayEventEnd:!1},S.getSegMeta(e,i.todayRange))))}))}},function(e,t,n,i,r,o,a,l){return S.createElement("a",C.__assign({ref:e,className:["fc-daygrid-more-link"].concat(t).join(" "),title:o,"aria-expanded":a,"aria-controls":l},S.createAriaClickAttrs(r)),i)})};var f,B=p;function p(){var e=null!==f&&f.apply(this,arguments)||this;return e.compileSegs=S.memoize(Y),e}function Y(e){for(var t=[],n=[],i=0,r=e;i<r.length;i++){var o=r[i];t.push(o.seg),o.isVisible||n.push(o.seg)}return{allSegs:t,invisibleSegs:n}}var m,U=S.createFormatter({week:"narrow"}),q=(m=S.DateComponent,C.__extends(v,m),v.prototype.render=function(){var e=this.context,r=this.props,o=this.state,a=this.rootElRef,l=r.date,s=r.dateProfile,u=S.buildNavLinkAttrs(e,l,"week");return S.createElement(S.DayCellRoot,{date:l,dateProfile:s,todayRange:r.todayRange,showDayNumber:r.showDayNumber,extraHookProps:r.extraHookProps,elRef:this.handleRootEl},function(e,t,n,i){return S.createElement("td",C.__assign({ref:e,role:"gridcell",className:["fc-daygrid-day"].concat(t,r.extraClassNames||[]).join(" ")},n,r.extraDataAttrs,r.showDayNumber?{"aria-labelledby":o.dayNumberId}:{}),S.createElement("div",{className:"fc-daygrid-day-frame fc-scrollgrid-sync-inner",ref:r.innerElRef},r.showWeekNumber&&S.createElement(S.WeekNumberRoot,{date:l,defaultFormat:U},function(e,t,n,i){return S.createElement("a",C.__assign({ref:e,className:["fc-daygrid-week-number"].concat(t).join(" ")},u),i)}),!i&&S.createElement(H,{date:l,dateProfile:s,showDayNumber:r.showDayNumber,dayNumberId:o.dayNumberId,forceDayTop:r.forceDayTop,todayRange:r.todayRange,extraHookProps:r.extraHookProps}),S.createElement("div",{className:"fc-daygrid-day-events",ref:r.fgContentElRef},r.fgContent,S.createElement("div",{className:"fc-daygrid-day-bottom",style:{marginTop:r.moreMarginTop}},S.createElement(B,{allDayDate:l,singlePlacements:r.singlePlacements,moreCnt:r.moreCnt,alignmentElRef:a,alignGridTop:!r.showDayNumber,extraDateSpan:r.extraDateSpan,dateProfile:r.dateProfile,eventSelection:r.eventSelection,eventDrag:r.eventDrag,eventResize:r.eventResize,todayRange:r.todayRange}))),S.createElement("div",{className:"fc-daygrid-day-bg"},r.bgContent)))})},v);function v(){var t=null!==m&&m.apply(this,arguments)||this;return t.rootElRef=S.createRef(),t.state={dayNumberId:S.getUniqueDomId()},t.handleRootEl=function(e){S.setRef(t.rootElRef,e),S.setRef(t.props.elRef,e)},t}function Z(e,t,n,i,r,o,a){for(var l=new G,s=(l.allowReslicing=!0,l.strictOrder=i,!0===t||!0===n?(l.maxCoord=o,l.hiddenConsumes=!0):"number"==typeof t?l.maxStackCnt=t:"number"==typeof n&&(l.maxStackCnt=n,l.hiddenConsumes=!0),[]),u=[],c=0;c<e.length;c+=1){var h=r[(S=e[c]).eventRange.instance.instanceId];null!=h?s.push({index:c,thickness:h,span:{start:S.firstCol,end:S.lastCol+1}}):u.push(S)}for(var i=l.addSegs(s),o=function(e,t,n){for(var i=function(e,t){for(var n=[],i=0;i<t;i+=1)n.push([]);for(var r=0,o=e;r<o.length;r++)for(var a=o[r],i=a.span.start;i<a.span.end;i+=1)n[i].push(a);return n}(e,n.length),r=[],o=[],a=[],l=0;l<n.length;l+=1){for(var s=i[l],u=[],c=0,h=0,d=0,f=s;d<f.length;d++){var p=f[d],g=t[p.index];u.push({seg:E(g,l,l+1,n),isVisible:!0,isAbsolute:!1,absoluteTop:p.levelCoord,marginTop:p.levelCoord-c}),c=p.levelCoord+p.thickness}for(var m=[],v=h=c=0,y=s;v<y.length;v++){var p=y[v],g=t[p.index],b=1<p.span.end-p.span.start,_=p.span.start===l;h+=p.levelCoord-c,c=p.levelCoord+p.thickness,b?(h+=p.thickness,_&&m.push({seg:E(g,p.span.start,p.span.end,n),isVisible:!0,isAbsolute:!0,absoluteTop:p.levelCoord,marginTop:0})):_&&(m.push({seg:E(g,p.span.start,p.span.end,n),isVisible:!0,isAbsolute:!1,absoluteTop:p.levelCoord,marginTop:h}),h=0)}r.push(u),o.push(m),a.push(h)}return{singleColPlacements:r,multiColPlacements:o,leftoverMargins:a}}(l.toRects(),e,a),d=o.singleColPlacements,f=o.multiColPlacements,p=o.leftoverMargins,g=[],m=[],v=0,y=u;v<y.length;v++){f[(S=y[v]).firstCol].push({seg:S,isVisible:!1,isAbsolute:!0,absoluteTop:0,marginTop:0});for(var b=S.firstCol;b<=S.lastCol;b+=1)d[b].push({seg:E(S,b,b+1,a),isVisible:!1,isAbsolute:!1,absoluteTop:0,marginTop:0})}for(b=0;b<a.length;b+=1)g.push(0);for(var _=0,w=i;_<w.length;_++){var x=w[_],S=e[x.index],C=x.span;f[C.start].push({seg:E(S,C.start,C.end,a),isVisible:!1,isAbsolute:!0,absoluteTop:0,marginTop:0});for(b=C.start;b<C.end;b+=1)g[b]+=1,d[b].push({seg:E(S,b,b+1,a),isVisible:!1,isAbsolute:!1,absoluteTop:0,marginTop:0})}for(b=0;b<a.length;b+=1)m.push(p[b]);return{singleColPlacements:d,multiColPlacements:f,moreCnts:g,moreMarginTops:m}}function E(e,t,n,i){if(e.firstCol===t&&e.lastCol===n-1)return e;var r=e.eventRange,o=r.range,i=S.intersectRanges(o,{start:i[t].date,end:S.addDays(i[n-1].date,1)});return C.__assign(C.__assign({},e),{firstCol:t,lastCol:n-1,eventRange:{def:r.def,ui:C.__assign(C.__assign({},r.ui),{durationEditable:!1}),instance:r.instance,range:i},isStart:e.isStart&&i.start.valueOf()===o.start.valueOf(),isEnd:e.isEnd&&i.end.valueOf()===o.end.valueOf()})}y=S.SegHierarchy,C.__extends(b,y),b.prototype.addSegs=function(e){for(var t=this,e=y.prototype.addSegs.call(this,e),n=this.entriesByLevel,i=function(e){return!t.forceHidden[S.buildEntryKey(e)]},r=0;r<n.length;r+=1)n[r]=n[r].filter(i);return e},b.prototype.handleInvalidInsertion=function(e,t,n){var i,r,o=this.entriesByLevel,a=this.forceHidden,l=e.touchingEntry,s=e.touchingLevel,u=e.touchingLateral;return this.hiddenConsumes&&l&&(a[i=S.buildEntryKey(l)]||(this.allowReslicing?(r=C.__assign(C.__assign({},l),{span:S.intersectSpans(l.span,t.span)}),a[S.buildEntryKey(r)]=!0,o[s][u]=r,this.splitEntry(l,t,n)):(a[i]=!0,n.push(l)))),y.prototype.handleInvalidInsertion.call(this,e,t,n)};var y,G=b;function b(){var e=null!==y&&y.apply(this,arguments)||this;return e.hiddenConsumes=!1,e.forceHidden={},e}_=S.DateComponent,C.__extends(w,_),w.prototype.render=function(){var r=this,o=this.props,e=this.state,t=this.context.options,n=o.cells.length,a=g(o.businessHourSegs,n),l=g(o.bgEventSegs,n),s=g(this.getHighlightSegs(),n),u=g(this.getMirrorSegs(),n),n=Z(S.sortEventSegs(o.fgEventSegs,t.eventOrder),o.dayMaxEvents,o.dayMaxEventRows,t.eventOrderStrict,e.eventInstanceHeights,e.maxContentHeight,o.cells),c=n.singleColPlacements,h=n.multiColPlacements,d=n.moreCnts,f=n.moreMarginTops,p=o.eventDrag&&o.eventDrag.affectedInstances||o.eventResize&&o.eventResize.affectedInstances||{};return S.createElement("tr",{ref:this.rootElRef,role:"row"},o.renderIntro&&o.renderIntro(),o.cells.map(function(e,t){var n=r.renderFgSegs(t,(o.forPrint?c:h)[t],o.todayRange,p),i=r.renderFgSegs(t,function(e,t){if(!e.length)return[];var n=function(e){for(var t={},n=0,i=e;n<i.length;n++)for(var r=i[n],o=0,a=r;o<a.length;o++){var l=a[o];t[l.seg.eventRange.instance.instanceId]=l.absoluteTop}return t}(t);return e.map(function(e){return{seg:e,isVisible:!0,isAbsolute:!0,absoluteTop:n[e.eventRange.instance.instanceId],marginTop:0}})}(u[t],h),o.todayRange,{},Boolean(o.eventDrag),Boolean(o.eventResize),!1);return S.createElement(q,{key:e.key,elRef:r.cellElRefs.createRef(e.key),innerElRef:r.frameElRefs.createRef(e.key),dateProfile:o.dateProfile,date:e.date,showDayNumber:o.showDayNumbers,showWeekNumber:o.showWeekNumbers&&0===t,forceDayTop:o.showWeekNumbers,todayRange:o.todayRange,eventSelection:o.eventSelection,eventDrag:o.eventDrag,eventResize:o.eventResize,extraHookProps:e.extraHookProps,extraDataAttrs:e.extraDataAttrs,extraClassNames:e.extraClassNames,extraDateSpan:e.extraDateSpan,moreCnt:d[t],moreMarginTop:f[t],singlePlacements:c[t],fgContentElRef:r.fgElRefs.createRef(e.key),fgContent:S.createElement(S.Fragment,null,S.createElement(S.Fragment,null,n),S.createElement(S.Fragment,null,i)),bgContent:S.createElement(S.Fragment,null,r.renderFillSegs(s[t],"highlight"),r.renderFillSegs(a[t],"non-business"),r.renderFillSegs(l[t],"bg-event"))})}))},w.prototype.componentDidMount=function(){this.updateSizing(!0)},w.prototype.componentDidUpdate=function(e,t){var n=this.props;this.updateSizing(!S.isPropsEqual(e,n))},w.prototype.getHighlightSegs=function(){var e=this.props;return e.eventDrag&&e.eventDrag.segs.length?e.eventDrag.segs:e.eventResize&&e.eventResize.segs.length?e.eventResize.segs:e.dateSelectionSegs},w.prototype.getMirrorSegs=function(){var e=this.props;return e.eventResize&&e.eventResize.segs.length?e.eventResize.segs:[]},w.prototype.renderFgSegs=function(e,t,n,i,r,o,a){var l=this.context,s=this.props.eventSelection,u=this.state.framePositions,c=1===this.props.cells.length,h=r||o||a,d=[];if(u)for(var f=0,p=t;f<p.length;f++){var g=p[f],m=g.seg,v=m.eventRange.instance.instanceId,y=v+":"+e,b=g.isVisible&&!i[v],_=g.isAbsolute,w="",x="";_&&(l.isRtl?(x=0,w=u.lefts[m.lastCol]-u.lefts[m.firstCol]):(w=0,x=u.rights[m.firstCol]-u.rights[m.lastCol])),d.push(S.createElement("div",{className:"fc-daygrid-event-harness"+(_?" fc-daygrid-event-harness-abs":""),key:y,ref:h?null:this.segHarnessRefs.createRef(y),style:{visibility:b?"":"hidden",marginTop:_?"":g.marginTop,top:_?g.absoluteTop:"",left:w,right:x}},j(m)?S.createElement(z,C.__assign({seg:m,isDragging:r,isSelected:v===s,defaultDisplayEventEnd:c},S.getSegMeta(m,n))):S.createElement(F,C.__assign({seg:m,isDragging:r,isResizing:o,isDateSelecting:a,isSelected:v===s,defaultDisplayEventEnd:c},S.getSegMeta(m,n)))))}return d},w.prototype.renderFillSegs=function(e,t){var n=this.context.isRtl,i=this.props.todayRange,r=this.state.framePositions,o=[];if(r)for(var a=0,l=e;a<l.length;a++){var s=l[a],u=n?{right:0,left:r.lefts[s.lastCol]-r.lefts[s.firstCol]}:{left:0,right:r.rights[s.firstCol]-r.rights[s.lastCol]};o.push(S.createElement("div",{key:S.buildEventRangeKey(s.eventRange),className:"fc-daygrid-bg-harness",style:u},"bg-event"===t?S.createElement(S.BgEvent,C.__assign({seg:s},S.getSegMeta(s,i))):S.renderFill(t)))}return S.createElement.apply(void 0,C.__spreadArray([S.Fragment,{}],o))},w.prototype.updateSizing=function(e){var t,n=this.props,i=this.frameElRefs;n.forPrint||null===n.clientWidth||(e&&(e=n.cells.map(function(e){return i.currentMap[e.key]})).length&&(t=this.rootElRef.current,this.setState({framePositions:new S.PositionCache(t,e,!0,!1)})),t=this.state.eventInstanceHeights,e=this.queryEventInstanceHeights(),n=!0===n.dayMaxEvents||!0===n.dayMaxEventRows,this.safeSetState({eventInstanceHeights:C.__assign(C.__assign({},t),e),maxContentHeight:n?this.computeMaxContentHeight():null}))},w.prototype.queryEventInstanceHeights=function(){var e,t=this.segHarnessRefs.currentMap,n={};for(e in t){var i=Math.round(t[e].getBoundingClientRect().height),r=e.split(":")[0];n[r]=Math.max(n[r]||0,i)}return n},w.prototype.computeMaxContentHeight=function(){var e=this.props.cells[0].key,t=this.cellElRefs.currentMap[e],e=this.fgElRefs.currentMap[e];return t.getBoundingClientRect().bottom-e.getBoundingClientRect().top},w.prototype.getCellEls=function(){var t=this.cellElRefs.currentMap;return this.props.cells.map(function(e){return t[e.key]})};var _,X=w;function w(){var e=null!==_&&_.apply(this,arguments)||this;return e.cellElRefs=new S.RefMap,e.frameElRefs=new S.RefMap,e.fgElRefs=new S.RefMap,e.segHarnessRefs=new S.RefMap,e.rootElRef=S.createRef(),e.state={framePositions:null,maxContentHeight:null,eventInstanceHeights:{}},e}X.addStateEquality({eventInstanceHeights:S.isPropsEqual});x=S.DateComponent,C.__extends(k,x),k.prototype.render=function(){var i=this,r=this.props,o=r.dateProfile,a=r.dayMaxEventRows,l=r.dayMaxEvents,t=r.expandRows,s=r.cells.length,u=this.splitBusinessHourSegs(r.businessHourSegs,s),c=this.splitBgEventSegs(r.bgEventSegs,s),h=this.splitFgEventSegs(r.fgEventSegs,s),d=this.splitDateSelectionSegs(r.dateSelectionSegs,s),f=this.splitEventDrag(r.eventDrag,s),p=this.splitEventResize(r.eventResize,s),e=!0===l||!0===a,e=(e&&!t&&(e=!1,l=a=null),["fc-daygrid-body",e?"fc-daygrid-body-balanced":"fc-daygrid-body-unbalanced",t?"":"fc-daygrid-body-natural"]);return S.createElement("div",{className:e.join(" "),ref:this.handleRootEl,style:{width:r.clientWidth,minWidth:r.tableMinWidth}},S.createElement(S.NowTimer,{unit:"day"},function(e,n){return S.createElement(S.Fragment,null,S.createElement("table",{role:"presentation",className:"fc-scrollgrid-sync-table",style:{width:r.clientWidth,minWidth:r.tableMinWidth,height:t?r.clientHeight:""}},r.colGroupNode,S.createElement("tbody",{role:"presentation"},r.cells.map(function(e,t){return S.createElement(X,{ref:i.rowRefs.createRef(t),key:e.length?e[0].date.toISOString():t,showDayNumbers:1<s,showWeekNumbers:r.showWeekNumbers,todayRange:n,dateProfile:o,cells:e,renderIntro:r.renderRowIntro,businessHourSegs:u[t],eventSelection:r.eventSelection,bgEventSegs:c[t].filter(K),fgEventSegs:h[t],dateSelectionSegs:d[t],eventDrag:f[t],eventResize:p[t],dayMaxEvents:l,dayMaxEventRows:a,clientWidth:r.clientWidth,clientHeight:r.clientHeight,forPrint:r.forPrint})}))))}))},k.prototype.prepareHits=function(){this.rowPositions=new S.PositionCache(this.rootEl,this.rowRefs.collect().map(function(e){return e.getCellEls()[0]}),!1,!0),this.colPositions=new S.PositionCache(this.rootEl,this.rowRefs.currentMap[0].getCellEls(),!0,!1)},k.prototype.queryHit=function(e,t){var n,i=this.colPositions,r=this.rowPositions,e=i.leftToIndex(e),t=r.topToIndex(t);return null!=t&&null!=e?(n=this.props.cells[t][e],{dateProfile:this.props.dateProfile,dateSpan:C.__assign({range:this.getCellRange(t,e),allDay:!0},n.extraDateSpan),dayEl:this.getCellEl(t,e),rect:{left:i.lefts[e],right:i.rights[e],top:r.tops[t],bottom:r.bottoms[t]},layer:0}):null},k.prototype.getCellEl=function(e,t){return this.rowRefs.currentMap[e].getCellEls()[t]},k.prototype.getCellRange=function(e,t){e=this.props.cells[e][t].date;return{start:e,end:S.addDays(e,1)}};var x,$=k;function k(){var t=null!==x&&x.apply(this,arguments)||this;return t.splitBusinessHourSegs=S.memoize(r),t.splitBgEventSegs=S.memoize(r),t.splitFgEventSegs=S.memoize(r),t.splitDateSelectionSegs=S.memoize(r),t.splitEventDrag=S.memoize(o),t.splitEventResize=S.memoize(o),t.rowRefs=new S.RefMap,t.handleRootEl=function(e){(t.rootEl=e)?t.context.registerInteractiveComponent(t,{el:e,isHitComboAllowed:t.props.isHitComboAllowed}):t.context.unregisterInteractiveComponent(t)},t}function K(e){return e.eventRange.def.allDay}M=S.Slicer,C.__extends(D,M),D.prototype.sliceRange=function(e,t){return t.sliceRange(e)};var M,Q=D;function D(){var e=null!==M&&M.apply(this,arguments)||this;return e.forceDayIfListItem=!0,e}T=S.DateComponent,C.__extends(R,T),R.prototype.render=function(){var e=this.props,t=this.context;return S.createElement($,C.__assign({ref:this.tableRef},this.slicer.sliceProps(e,e.dateProfile,e.nextDayThreshold,t,e.dayTableModel),{dateProfile:e.dateProfile,cells:e.dayTableModel.cells,colGroupNode:e.colGroupNode,tableMinWidth:e.tableMinWidth,renderRowIntro:e.renderRowIntro,dayMaxEvents:e.dayMaxEvents,dayMaxEventRows:e.dayMaxEventRows,showWeekNumbers:e.showWeekNumbers,expandRows:e.expandRows,headerAlignElRef:e.headerAlignElRef,clientWidth:e.clientWidth,clientHeight:e.clientHeight,forPrint:e.forPrint}))};var T,J=R;function R(){var e=null!==T&&T.apply(this,arguments)||this;return e.slicer=new Q,e.tableRef=S.createRef(),e}A=e,C.__extends(O,A),O.prototype.render=function(){function e(e){return S.createElement(J,{ref:t.tableRef,dateProfile:r.dateProfile,dayTableModel:o,businessHours:r.businessHours,dateSelection:r.dateSelection,eventStore:r.eventStore,eventUiBases:r.eventUiBases,eventSelection:r.eventSelection,eventDrag:r.eventDrag,eventResize:r.eventResize,nextDayThreshold:i.nextDayThreshold,colGroupNode:e.tableColGroupNode,tableMinWidth:e.tableMinWidth,dayMaxEvents:i.dayMaxEvents,dayMaxEventRows:i.dayMaxEventRows,showWeekNumbers:i.weekNumbers,expandRows:!r.isHeightAuto,headerAlignElRef:t.headerElRef,clientWidth:e.clientWidth,clientHeight:e.clientHeight,forPrint:r.forPrint})}var t=this,n=this.context,i=n.options,n=n.dateProfileGenerator,r=this.props,o=this.buildDayTableModel(r.dateProfile,n),n=i.dayHeaders&&S.createElement(S.DayHeader,{ref:this.headerRef,dateProfile:r.dateProfile,dates:o.headerDates,datesRepDistinctDays:1===o.rowCnt});return i.dayMinWidth?this.renderHScrollLayout(n,e,o.colCnt,i.dayMinWidth):this.renderSimpleLayout(n,e)};var A,ee=O;function O(){var e=null!==A&&A.apply(this,arguments)||this;return e.buildDayTableModel=S.memoize(te),e.headerRef=S.createRef(),e.tableRef=S.createRef(),e}function te(e,t){t=new S.DaySeriesModel(e.renderRange,t);return new S.DayTableModel(t,/year|month|week/.test(e.currentRangeUnit))}P=S.DateProfileGenerator,C.__extends(N,P),N.prototype.buildRenderRange=function(e,t,n){var i=this.props.dateEnv,e=P.prototype.buildRenderRange.call(this,e,t,n),n=e.start,e=e.end;return/^(year|month)$/.test(t)&&(n=i.startOfWeek(n),(t=i.startOfWeek(e)).valueOf()!==e.valueOf()&&(e=S.addWeeks(t,1))),this.props.monthMode&&this.props.fixedWeekCount&&(i=Math.ceil(S.diffWeeks(n,e)),e=S.addWeeks(e,6-i)),{start:n,end:e}};var P,I=N;function N(){return null!==P&&P.apply(this,arguments)||this}I=S.createPlugin({initialView:"dayGridMonth",views:{dayGrid:{component:ee,dateProfileGeneratorClass:I},dayGridDay:{type:"dayGrid",duration:{days:1}},dayGridWeek:{type:"dayGrid",duration:{weeks:1}},dayGridMonth:{type:"dayGrid",duration:{months:1},monthMode:!0,fixedWeekCount:!0}}});t.DayGridView=ee,t.DayTable=J,t.DayTableSlicer=Q,t.Table=$,t.TableView=e,t.buildDayTableModel=te,t.default=I},{"@fullcalendar/common":1,tslib:32}],6:[function(e,L,t){"use strict";function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0});var v=e("@fullcalendar/common"),y=e("tslib"),n=(v.config.touchMouseIgnoreWait=500,0),H=0,i=!1,a=(r.prototype.destroy=function(){this.containerEl.removeEventListener("mousedown",this.handleMouseDown),this.containerEl.removeEventListener("touchstart",this.handleTouchStart,{passive:!0}),--H||window.removeEventListener("touchmove",W,{passive:!1})},r.prototype.tryStart=function(e){var t=this.querySubjectEl(e),e=e.target;return!(!t||this.handleSelector&&!v.elementClosest(e,this.handleSelector))&&(this.subjectEl=t,this.isDragging=!0,!(this.wasTouchScroll=!1))},r.prototype.cleanup=function(){i=!1,this.isDragging=!1,this.subjectEl=null,this.destroyScrollWatch()},r.prototype.querySubjectEl=function(e){return this.selector?v.elementClosest(e.target,this.selector):this.containerEl},r.prototype.shouldIgnoreMouse=function(){return n||this.isTouchDragging},r.prototype.cancelTouchScroll=function(){this.isDragging&&(i=!0)},r.prototype.initScrollWatch=function(e){this.shouldWatchScroll&&(this.recordCoords(e),window.addEventListener("scroll",this.handleScroll,!0))},r.prototype.recordCoords=function(e){this.shouldWatchScroll&&(this.prevPageX=e.pageX,this.prevPageY=e.pageY,this.prevScrollX=window.pageXOffset,this.prevScrollY=window.pageYOffset)},r.prototype.destroyScrollWatch=function(){this.shouldWatchScroll&&window.removeEventListener("scroll",this.handleScroll,!0)},r.prototype.createEventFromMouse=function(e,t){var n=0,i=0;return t?(this.origPageX=e.pageX,this.origPageY=e.pageY):(n=e.pageX-this.origPageX,i=e.pageY-this.origPageY),{origEvent:e,isTouch:!1,subjectEl:this.subjectEl,pageX:e.pageX,pageY:e.pageY,deltaX:n,deltaY:i}},r.prototype.createEventFromTouch=function(e,t){var n,i=e.touches,r=0,o=0,i=i&&i.length?(n=i[0].pageX,i[0].pageY):(n=e.pageX,e.pageY);return t?(this.origPageX=n,this.origPageY=i):(r=n-this.origPageX,o=i-this.origPageY),{origEvent:e,isTouch:!0,subjectEl:this.subjectEl,pageX:n,pageY:i,deltaX:r,deltaY:o}},r);function r(e){var i=this;this.subjectEl=null,this.selector="",this.handleSelector="",this.shouldIgnoreMove=!1,this.shouldWatchScroll=!0,this.isDragging=!1,this.isTouchDragging=!1,this.wasTouchScroll=!1,this.handleMouseDown=function(e){var t;i.shouldIgnoreMouse()||(0!==(t=e).button||t.ctrlKey)||!i.tryStart(e)||(t=i.createEventFromMouse(e,!0),i.emitter.trigger("pointerdown",t),i.initScrollWatch(t),i.shouldIgnoreMove||document.addEventListener("mousemove",i.handleMouseMove),document.addEventListener("mouseup",i.handleMouseUp))},this.handleMouseMove=function(e){e=i.createEventFromMouse(e);i.recordCoords(e),i.emitter.trigger("pointermove",e)},this.handleMouseUp=function(e){document.removeEventListener("mousemove",i.handleMouseMove),document.removeEventListener("mouseup",i.handleMouseUp),i.emitter.trigger("pointerup",i.createEventFromMouse(e)),i.cleanup()},this.handleTouchStart=function(e){var t;i.tryStart(e)&&(i.isTouchDragging=!0,t=i.createEventFromTouch(e,!0),i.emitter.trigger("pointerdown",t),i.initScrollWatch(t),t=e.target,i.shouldIgnoreMove||t.addEventListener("touchmove",i.handleTouchMove),t.addEventListener("touchend",i.handleTouchEnd),t.addEventListener("touchcancel",i.handleTouchEnd),window.addEventListener("scroll",i.handleTouchScroll,!0))},this.handleTouchMove=function(e){e=i.createEventFromTouch(e);i.recordCoords(e),i.emitter.trigger("pointermove",e)},this.handleTouchEnd=function(e){var t;i.isDragging&&((t=e.target).removeEventListener("touchmove",i.handleTouchMove),t.removeEventListener("touchend",i.handleTouchEnd),t.removeEventListener("touchcancel",i.handleTouchEnd),window.removeEventListener("scroll",i.handleTouchScroll,!0),i.emitter.trigger("pointerup",i.createEventFromTouch(e)),i.cleanup(),i.isTouchDragging=!1,n+=1,setTimeout(function(){--n},v.config.touchMouseIgnoreWait))},this.handleTouchScroll=function(){i.wasTouchScroll=!0},this.handleScroll=function(e){var t,n;i.shouldIgnoreMove||(t=window.pageXOffset-i.prevScrollX+i.prevPageX,n=window.pageYOffset-i.prevScrollY+i.prevPageY,i.emitter.trigger("pointermove",{origEvent:e,isTouch:i.isTouchDragging,subjectEl:i.subjectEl,pageX:t,pageY:n,deltaX:t-i.origPageX,deltaY:n-i.origPageY}))},this.containerEl=e,this.emitter=new v.Emitter,e.addEventListener("mousedown",this.handleMouseDown),e.addEventListener("touchstart",this.handleTouchStart,{passive:!0}),1===(H+=1)&&window.addEventListener("touchmove",W,{passive:!1})}function W(e){i&&e.preventDefault()}l.prototype.start=function(e,t,n){this.sourceEl=e,this.sourceElRect=this.sourceEl.getBoundingClientRect(),this.origScreenX=t-window.pageXOffset,this.origScreenY=n-window.pageYOffset,this.deltaX=0,this.deltaY=0,this.updateElPosition()},l.prototype.handleMove=function(e,t){this.deltaX=e-window.pageXOffset-this.origScreenX,this.deltaY=t-window.pageYOffset-this.origScreenY,this.updateElPosition()},l.prototype.setIsVisible=function(e){e?this.isVisible||(this.mirrorEl&&(this.mirrorEl.style.display=""),this.isVisible=e,this.updateElPosition()):this.isVisible&&(this.mirrorEl&&(this.mirrorEl.style.display="none"),this.isVisible=e)},l.prototype.stop=function(e,t){function n(){i.cleanup(),t()}var i=this;e&&this.mirrorEl&&this.isVisible&&this.revertDuration&&(this.deltaX||this.deltaY)?this.doRevertAnimation(n,this.revertDuration):setTimeout(n,0)},l.prototype.doRevertAnimation=function(e,t){var n=this.mirrorEl,i=this.sourceEl.getBoundingClientRect();n.style.transition="top "+t+"ms,left "+t+"ms",v.applyStyle(n,{left:i.left,top:i.top}),v.whenTransitionDone(n,function(){n.style.transition="",e()})},l.prototype.cleanup=function(){this.mirrorEl&&(v.removeElement(this.mirrorEl),this.mirrorEl=null),this.sourceEl=null},l.prototype.updateElPosition=function(){this.sourceEl&&this.isVisible&&v.applyStyle(this.getMirrorEl(),{left:this.sourceElRect.left+this.deltaX,top:this.sourceElRect.top+this.deltaY})},l.prototype.getMirrorEl=function(){var e=this.sourceElRect,t=this.mirrorEl;return t||((t=this.mirrorEl=this.sourceEl.cloneNode(!0)).classList.add("fc-unselectable"),t.classList.add("fc-event-dragging"),v.applyStyle(t,{position:"fixed",zIndex:this.zIndex,visibility:"",boxSizing:"border-box",width:e.right-e.left,height:e.bottom-e.top,right:"auto",bottom:"auto",margin:0}),this.parentNode.appendChild(t)),t};var j=l;function l(){this.isVisible=!1,this.sourceEl=null,this.mirrorEl=null,this.sourceElRect=null,this.parentNode=document.body,this.zIndex=9999,this.revertDuration=0}s=v.ScrollController,y.__extends(u,s),u.prototype.destroy=function(){this.doesListening&&this.getEventTarget().removeEventListener("scroll",this.handleScroll)},u.prototype.getScrollTop=function(){return this.scrollTop},u.prototype.getScrollLeft=function(){return this.scrollLeft},u.prototype.setScrollTop=function(e){this.scrollController.setScrollTop(e),this.doesListening||(this.scrollTop=Math.max(Math.min(e,this.getMaxScrollTop()),0),this.handleScrollChange())},u.prototype.setScrollLeft=function(e){this.scrollController.setScrollLeft(e),this.doesListening||(this.scrollLeft=Math.max(Math.min(e,this.getMaxScrollLeft()),0),this.handleScrollChange())},u.prototype.getClientWidth=function(){return this.clientWidth},u.prototype.getClientHeight=function(){return this.clientHeight},u.prototype.getScrollWidth=function(){return this.scrollWidth},u.prototype.getScrollHeight=function(){return this.scrollHeight},u.prototype.handleScrollChange=function(){};var s,e=u;function u(e,t){var n=s.call(this)||this;return n.handleScroll=function(){n.scrollTop=n.scrollController.getScrollTop(),n.scrollLeft=n.scrollController.getScrollLeft(),n.handleScrollChange()},n.scrollController=e,n.doesListening=t,n.scrollTop=n.origScrollTop=e.getScrollTop(),n.scrollLeft=n.origScrollLeft=e.getScrollLeft(),n.scrollWidth=e.getScrollWidth(),n.scrollHeight=e.getScrollHeight(),n.clientWidth=e.getClientWidth(),n.clientHeight=e.getClientHeight(),n.clientRect=n.computeClientRect(),n.doesListening&&n.getEventTarget().addEventListener("scroll",n.handleScroll),n}c=e,y.__extends(h,c),h.prototype.getEventTarget=function(){return this.scrollController.el},h.prototype.computeClientRect=function(){return v.computeInnerRect(this.scrollController.el)};var c,F=h;function h(e,t){return c.call(this,new v.ElementScrollController(e),t)||this}d=e,y.__extends(f,d),f.prototype.getEventTarget=function(){return window},f.prototype.computeClientRect=function(){return{left:this.scrollLeft,right:this.scrollLeft+this.clientWidth,top:this.scrollTop,bottom:this.scrollTop+this.clientHeight}},f.prototype.handleScrollChange=function(){this.clientRect=this.computeClientRect()};var d,z=f;function f(e){return d.call(this,new v.WindowScrollController,e)||this}var V=("function"==typeof performance?performance:Date).now,B=(p.prototype.start=function(e,t,n){this.isEnabled&&(this.scrollCaches=this.buildCaches(n),this.pointerScreenX=null,this.pointerScreenY=null,this.everMovedUp=!1,this.everMovedDown=!1,this.everMovedLeft=!1,this.everMovedRight=!1,this.handleMove(e,t))},p.prototype.handleMove=function(e,t){var n,i;this.isEnabled&&(e=e-window.pageXOffset,t=t-window.pageYOffset,n=null===this.pointerScreenY?0:t-this.pointerScreenY,i=null===this.pointerScreenX?0:e-this.pointerScreenX,n<0?this.everMovedUp=!0:0<n&&(this.everMovedDown=!0),i<0?this.everMovedLeft=!0:0<i&&(this.everMovedRight=!0),this.pointerScreenX=e,this.pointerScreenY=t,this.isAnimating||(this.isAnimating=!0,this.requestAnimation(V())))},p.prototype.stop=function(){if(this.isEnabled){this.isAnimating=!1;for(var e=0,t=this.scrollCaches;e<t.length;e++)t[e].destroy();this.scrollCaches=null}},p.prototype.requestAnimation=function(e){this.msSinceRequest=e,requestAnimationFrame(this.animate)},p.prototype.handleSide=function(e,t){var n=e.scrollCache,i=this.edgeThreshold,r=i-e.distance,o=r*r/(i*i)*this.maxVelocity*t,a=1;switch(e.name){case"left":a=-1;case"right":n.setScrollLeft(n.getScrollLeft()+o*a);break;case"top":a=-1;case"bottom":n.setScrollTop(n.getScrollTop()+o*a)}},p.prototype.computeBestEdge=function(e,t){for(var n=this.edgeThreshold,i=null,r=0,o=this.scrollCaches||[];r<o.length;r++){var a=o[r],l=a.clientRect,s=e-l.left,u=l.right-e,c=t-l.top,l=l.bottom-t;0<=s&&0<=u&&0<=c&&0<=l&&(c<=n&&this.everMovedUp&&a.canScrollUp()&&(!i||i.distance>c)&&(i={scrollCache:a,name:"top",distance:c}),l<=n&&this.everMovedDown&&a.canScrollDown()&&(!i||i.distance>l)&&(i={scrollCache:a,name:"bottom",distance:l}),s<=n&&this.everMovedLeft&&a.canScrollLeft()&&(!i||i.distance>s)&&(i={scrollCache:a,name:"left",distance:s}),u<=n&&this.everMovedRight&&a.canScrollRight()&&(!i||i.distance>u)&&(i={scrollCache:a,name:"right",distance:u}))}return i},p.prototype.buildCaches=function(e){return this.queryScrollEls(e).map(function(e){return e===window?new z(!1):new F(e,!1)})},p.prototype.queryScrollEls=function(e){for(var t=[],n=0,i=this.scrollQuery;n<i.length;n++){var r=i[n];"object"===o(r)?t.push(r):t.push.apply(t,Array.prototype.slice.call(v.getElRoot(e).querySelectorAll(r)))}return t},p);function p(){var n=this;this.isEnabled=!0,this.scrollQuery=[window,".fc-scroller"],this.edgeThreshold=50,this.maxVelocity=300,this.pointerScreenX=null,this.pointerScreenY=null,this.isAnimating=!1,this.scrollCaches=null,this.everMovedUp=!1,this.everMovedDown=!1,this.everMovedLeft=!1,this.everMovedRight=!1,this.animate=function(){var e,t;n.isAnimating&&((e=n.computeBestEdge(n.pointerScreenX+window.pageXOffset,n.pointerScreenY+window.pageYOffset))?(t=V(),n.handleSide(e,(t-n.msSinceRequest)/1e3),n.requestAnimation(t)):n.isAnimating=!1)}}g=v.ElementDragging,y.__extends(m,g),m.prototype.destroy=function(){this.pointer.destroy(),this.onPointerUp({})},m.prototype.startDelay=function(e){var t=this;"number"==typeof this.delay?this.delayTimeoutId=setTimeout(function(){t.delayTimeoutId=null,t.handleDelayEnd(e)},this.delay):this.handleDelayEnd(e)},m.prototype.handleDelayEnd=function(e){this.isDelayEnded=!0,this.tryStartDrag(e)},m.prototype.handleDistanceSurpassed=function(e){this.isDistanceSurpassed=!0,this.tryStartDrag(e)},m.prototype.tryStartDrag=function(e){this.isDelayEnded&&this.isDistanceSurpassed&&(this.pointer.wasTouchScroll&&!this.touchScrollAllowed||(this.isDragging=!0,this.mirrorNeedsRevert=!1,this.autoScroller.start(e.pageX,e.pageY,this.containerEl),this.emitter.trigger("dragstart",e),!1===this.touchScrollAllowed&&this.pointer.cancelTouchScroll()))},m.prototype.tryStopDrag=function(e){this.mirror.stop(this.mirrorNeedsRevert,this.stopDrag.bind(this,e))},m.prototype.stopDrag=function(e){this.isDragging=!1,this.emitter.trigger("dragend",e)},m.prototype.setIgnoreMove=function(e){this.pointer.shouldIgnoreMove=e},m.prototype.setMirrorIsVisible=function(e){this.mirror.setIsVisible(e)},m.prototype.setMirrorNeedsRevert=function(e){this.mirrorNeedsRevert=e},m.prototype.setAutoScrollEnabled=function(e){this.autoScroller.isEnabled=e};var g,b=m;function m(e,t){var n=g.call(this,e)||this,e=(n.containerEl=e,n.delay=null,n.minDistance=0,n.touchScrollAllowed=!0,n.mirrorNeedsRevert=!1,n.isInteracting=!1,n.isDragging=!1,n.isDelayEnded=!1,n.isDistanceSurpassed=!1,n.delayTimeoutId=null,n.onPointerDown=function(e){n.isDragging||(n.isInteracting=!0,n.isDelayEnded=!1,n.isDistanceSurpassed=!1,v.preventSelection(document.body),v.preventContextMenu(document.body),e.isTouch||e.origEvent.preventDefault(),n.emitter.trigger("pointerdown",e),n.isInteracting&&!n.pointer.shouldIgnoreMove&&(n.mirror.setIsVisible(!1),n.mirror.start(e.subjectEl,e.pageX,e.pageY),n.startDelay(e),n.minDistance||n.handleDistanceSurpassed(e)))},n.onPointerMove=function(e){var t;n.isInteracting&&(n.emitter.trigger("pointermove",e),n.isDistanceSurpassed||(t=n.minDistance)*t<=(t=e.deltaX)*t+(t=e.deltaY)*t&&n.handleDistanceSurpassed(e),n.isDragging&&("scroll"!==e.origEvent.type&&(n.mirror.handleMove(e.pageX,e.pageY),n.autoScroller.handleMove(e.pageX,e.pageY)),n.emitter.trigger("dragmove",e)))},n.onPointerUp=function(e){n.isInteracting&&(n.isInteracting=!1,v.allowSelection(document.body),v.allowContextMenu(document.body),n.emitter.trigger("pointerup",e),n.isDragging&&(n.autoScroller.stop(),n.tryStopDrag(e)),n.delayTimeoutId&&(clearTimeout(n.delayTimeoutId),n.delayTimeoutId=null))},n.pointer=new a(e));return e.emitter.on("pointerdown",n.onPointerDown),e.emitter.on("pointermove",n.onPointerMove),e.emitter.on("pointerup",n.onPointerUp),t&&(e.selector=t),n.mirror=new j,n.autoScroller=new B,n}_.prototype.destroy=function(){for(var e=0,t=this.scrollCaches;e<t.length;e++)t[e].destroy()},_.prototype.computeLeft=function(){for(var e=this.origRect.left,t=0,n=this.scrollCaches;t<n.length;t++){var i=n[t];e+=i.origScrollLeft-i.getScrollLeft()}return e},_.prototype.computeTop=function(){for(var e=this.origRect.top,t=0,n=this.scrollCaches;t<n.length;t++){var i=n[t];e+=i.origScrollTop-i.getScrollTop()}return e},_.prototype.isWithinClipping=function(e,t){for(var n={left:e,top:t},i=0,r=this.scrollCaches;i<r.length;i++){var o=r[i];if(!function(e){e=e.tagName;return"HTML"===e||"BODY"===e}(o.getEventTarget())&&!v.pointInsideRect(n,o.clientRect))return!1}return!0};var Y=_;function _(e){this.origRect=v.computeRect(e),this.scrollCaches=v.getClippingParents(e).map(function(e){return new F(e,!0)})}x.prototype.processFirstCoord=function(e){var t,n={left:e.pageX,top:e.pageY},i=n,e=e.subjectEl,e=(e instanceof HTMLElement&&(t=v.computeRect(e),i=v.constrainPoint(i,t)),this.initialHit=this.queryHitForOffset(i.left,i.top));e?(this.useSubjectCenter&&t&&((t=v.intersectRects(t,e.rect))&&(i=v.getRectCenter(t))),this.coordAdjust=v.diffPoints(i,n)):this.coordAdjust={left:0,top:0}},x.prototype.handleMove=function(e,t){var n=this.queryHitForOffset(e.pageX+this.coordAdjust.left,e.pageY+this.coordAdjust.top);!t&&S(this.movingHit,n)||(this.movingHit=n,this.emitter.trigger("hitupdate",n,!1,e))},x.prototype.prepareHits=function(){this.offsetTrackers=v.mapHash(this.droppableStore,function(e){return e.component.prepareHits(),new Y(e.el)})},x.prototype.releaseHits=function(){var e,t=this.offsetTrackers;for(e in t)t[e].destroy();this.offsetTrackers={}},x.prototype.queryHitForOffset=function(e,t){var n,i=this.droppableStore,r=this.offsetTrackers,o=null;for(n in i){var a,l,s,u,c,h=i[n].component,d=r[n];d&&d.isWithinClipping(e,t)&&(a=d.computeLeft(),s=t-(l=d.computeTop()),u=(d=d.origRect).right-d.left,d=d.bottom-d.top,0<=(c=e-a)&&c<u&&0<=s&&s<d&&((c=h.queryHit(c,s,u,d))&&v.rangeContainsRange(c.dateProfile.activeRange,c.dateSpan.range)&&(!o||c.layer>o.layer)&&(c.componentId=n,c.context=h.context,c.rect.left+=a,c.rect.right+=a,c.rect.top+=l,c.rect.bottom+=l,o=c)))}return o};var w=x;function x(e,t){var n=this;this.useSubjectCenter=!1,this.requireInitial=!0,this.initialHit=null,this.movingHit=null,this.finalHit=null,this.handlePointerDown=function(e){var t=n.dragging;n.initialHit=null,n.movingHit=null,n.finalHit=null,n.prepareHits(),n.processFirstCoord(e),n.initialHit||!n.requireInitial?(t.setIgnoreMove(!1),n.emitter.trigger("pointerdown",e)):t.setIgnoreMove(!0)},this.handleDragStart=function(e){n.emitter.trigger("dragstart",e),n.handleMove(e,!0)},this.handleDragMove=function(e){n.emitter.trigger("dragmove",e),n.handleMove(e)},this.handlePointerUp=function(e){n.releaseHits(),n.emitter.trigger("pointerup",e)},this.handleDragEnd=function(e){n.movingHit&&n.emitter.trigger("hitupdate",null,!0,e),n.finalHit=n.movingHit,n.movingHit=null,n.emitter.trigger("dragend",e)},this.droppableStore=t,e.emitter.on("pointerdown",this.handlePointerDown),e.emitter.on("dragstart",this.handleDragStart),e.emitter.on("dragmove",this.handleDragMove),e.emitter.on("pointerup",this.handlePointerUp),e.emitter.on("dragend",this.handleDragEnd),this.dragging=e,this.emitter=new v.Emitter}function S(e,t){return!e&&!t||Boolean(e)===Boolean(t)&&v.isDateSpansEqual(e.dateSpan,t.dateSpan)}function C(e,t){for(var n,i,r={},o=0,a=t.pluginHooks.datePointTransforms;o<a.length;o++){var l=a[o];y.__assign(r,l(e,t))}return y.__assign(r,(n=e,{date:(i=t.dateEnv).toDate(n.range.start),dateStr:i.formatIso(n.range.start,{omitTime:n.allDay}),allDay:n.allDay})),r}E=v.Interaction,y.__extends(k,E),k.prototype.destroy=function(){this.dragging.destroy()};var E,e=k;function k(e){var r=E.call(this,e)||this,e=(r.handlePointerDown=function(e){var t=r.dragging,e=e.origEvent.target;t.setIgnoreMove(!r.component.isValidDateDownEl(e))},r.handleDragEnd=function(e){var t,n,i=r.component;r.dragging.pointer.wasTouchScroll||(t=(n=r.hitDragging).initialHit,n=n.finalHit,t&&n&&S(t,n)&&(n=i.context,i=y.__assign(y.__assign({},C(t.dateSpan,n)),{dayEl:t.dayEl,jsEvent:e.origEvent,view:n.viewApi||n.calendarApi.view}),n.emitter.trigger("dateClick",i)))},r.dragging=new b(e.el),r.dragging.autoScroller.isEnabled=!1,r.hitDragging=new w(r.dragging,v.interactionSettingsToStore(e)));return e.emitter.on("pointerdown",r.handlePointerDown),e.emitter.on("dragend",r.handleDragEnd),r}M=v.Interaction,y.__extends(D,M),D.prototype.destroy=function(){this.dragging.destroy()};var M,U=D;function D(e){var a=M.call(this,e)||this;a.dragSelection=null,a.handlePointerDown=function(e){var t=a.component,n=a.dragging,i=t.context.options.selectable&&t.isValidDateDownEl(e.origEvent.target);n.setIgnoreMove(!i),n.delay=e.isTouch?function(e){var e=e.context.options,t=e.selectLongPressDelay;null==t&&(t=e.longPressDelay);return t}(t):null},a.handleDragStart=function(e){a.component.context.calendarApi.unselect(e)},a.handleHitUpdate=function(e,t){var n,i=a.component.context,r=null,o=!1;e&&(n=a.hitDragging.initialHit,(r=e.componentId===n.componentId&&a.isHitComboAllowed&&!a.isHitComboAllowed(n,e)?r:function(e,t,n){for(var i=e.dateSpan,r=t.dateSpan,r=[i.range.start,i.range.end,r.range.start,r.range.end],o=(r.sort(v.compareNumbers),{}),a=0,l=n;a<l.length;a++){var s=(0,l[a])(e,t);if(!1===s)return null;s&&y.__assign(o,s)}return o.range={start:r[0],end:r[3]},o.allDay=i.allDay,o}(n,e,i.pluginHooks.dateSelectionTransformers))&&v.isDateSelectionValid(r,e.dateProfile,i)||(o=!0,r=null)),r?i.dispatch({type:"SELECT_DATES",selection:r}):t||i.dispatch({type:"UNSELECT_DATES"}),o?v.disableCursor():v.enableCursor(),t||(a.dragSelection=r)},a.handlePointerUp=function(e){a.dragSelection&&(v.triggerDateSelect(a.dragSelection,e,a.component.context),a.dragSelection=null)};var t=e.component.context.options,n=a.dragging=new b(e.el),n=(n.touchScrollAllowed=!1,n.minDistance=t.selectMinDistance||0,n.autoScroller.isEnabled=t.dragScroll,a.hitDragging=new w(a.dragging,v.interactionSettingsToStore(e)));return n.emitter.on("pointerdown",a.handlePointerDown),n.emitter.on("dragstart",a.handleDragStart),n.emitter.on("hitupdate",a.handleHitUpdate),n.emitter.on("pointerup",a.handlePointerUp),a}T=v.Interaction,y.__extends(R,T),R.prototype.destroy=function(){this.dragging.destroy()},R.prototype.displayDrag=function(e,t){var n=this.component.context,i=this.receivingContext;i&&i!==e&&(i===n?i.dispatch({type:"SET_EVENT_DRAG",state:{affectedEvents:t.affectedEvents,mutatedEvents:v.createEmptyEventStore(),isEvent:!0}}):i.dispatch({type:"UNSET_EVENT_DRAG"})),e&&e.dispatch({type:"SET_EVENT_DRAG",state:t})},R.prototype.clearDrag=function(){var e=this.component.context,t=this.receivingContext;t&&t.dispatch({type:"UNSET_EVENT_DRAG"}),e!==t&&e.dispatch({type:"UNSET_EVENT_DRAG"})},R.prototype.cleanup=function(){this.subjectSeg=null,this.isDragging=!1,this.eventRange=null,this.relevantEvents=null,this.receivingContext=null,this.validMutation=null,this.mutatedRelevantEvents=null},R.SELECTOR=".fc-event-draggable, .fc-event-resizable";var T,q=R;function R(e){var m=T.call(this,e)||this;m.subjectEl=null,m.subjectSeg=null,m.isDragging=!1,m.eventRange=null,m.relevantEvents=null,m.receivingContext=null,m.validMutation=null,m.mutatedRelevantEvents=null,m.handlePointerDown=function(e){var t=e.origEvent.target,n=m.component,i=m.dragging,r=i.mirror,o=n.context.options,a=n.context,l=(m.subjectEl=e.subjectEl,m.subjectSeg=v.getElSeg(e.subjectEl)),l=(m.eventRange=l.eventRange).instance.instanceId,a=(m.relevantEvents=v.getRelevantEvents(a.getCurrentData().eventStore,l),i.minDistance=e.isTouch?0:o.eventDragMinDistance,i.delay=e.isTouch&&l!==n.props.eventSelection?function(e){var e=e.context.options,t=e.eventLongPressDelay;null==t&&(t=e.longPressDelay);return t}(n):null,o.fixedMirrorParent?r.parentNode=o.fixedMirrorParent:r.parentNode=v.elementClosest(t,".fc"),r.revertDuration=o.dragRevertDuration,n.isValidSegDownEl(t)&&!v.elementClosest(t,".fc-event-resizer"));i.setIgnoreMove(!a),m.isDragging=a&&e.subjectEl.classList.contains("fc-event-draggable")},m.handleDragStart=function(e){var t=m.component.context,n=m.eventRange,i=n.instance.instanceId;e.isTouch?i!==m.component.props.eventSelection&&t.dispatch({type:"SELECT_EVENT",eventInstanceId:i}):t.dispatch({type:"UNSELECT_EVENT"}),m.isDragging&&(t.calendarApi.unselect(e),t.emitter.trigger("eventDragStart",{el:m.subjectEl,event:new v.EventApi(t,n.def,n.instance),jsEvent:e.origEvent,view:t.viewApi}))},m.handleHitUpdate=function(e,t){var n,i,r,o,a,l,s,u,c;m.isDragging&&(n=m.relevantEvents,i=m.hitDragging.initialHit,r=m.component.context,a=o=u=null,l=!1,s={affectedEvents:n,mutatedEvents:v.createEmptyEventStore(),isEvent:!0},e&&(c=(u=e.context).options,r===u||c.editable&&c.droppable?(o=function(e,t,n){var i=e.dateSpan,r=t.dateSpan,o=i.range.start,a=r.range.start,l={};i.allDay!==r.allDay&&(l.allDay=r.allDay,l.hasEnd=t.context.options.allDayMaintainDuration,r.allDay&&(o=v.startOfDay(o)));i=v.diffDates(o,a,e.context.dateEnv,e.componentId===t.componentId?e.largeUnit:null);i.milliseconds&&(l.allDay=!1);for(var s={datesDelta:i,standardProps:l},u=0,c=n;u<c.length;u++)(0,c[u])(s,e,t);return s}(i,e,u.getCurrentData().pluginHooks.eventDragMutationMassagers))&&(a=v.applyMutationToEventStore(n,u.getCurrentData().eventUiBases,o,u),s.mutatedEvents=a,v.isInteractionValid(s,e.dateProfile,u)||(l=!0,a=o=null,s.mutatedEvents=v.createEmptyEventStore())):u=null),m.displayDrag(u,s),l?v.disableCursor():v.enableCursor(),t||(r===u&&S(i,e)&&(o=null),m.dragging.setMirrorNeedsRevert(!o),m.dragging.setMirrorIsVisible(!e||!v.getElRoot(m.subjectEl).querySelector(".fc-event-mirror")),m.receivingContext=u,m.validMutation=o,m.mutatedRelevantEvents=a))},m.handlePointerUp=function(){m.isDragging||m.cleanup()},m.handleDragEnd=function(e){if(m.isDragging){var t=m.component.context,n=t.viewApi,i=m.receivingContext,r=m.validMutation,o=m.eventRange.def,a=m.eventRange.instance,l=new v.EventApi(t,o,a),s=m.relevantEvents,u=m.mutatedRelevantEvents,c=m.hitDragging.finalHit;if(m.clearDrag(),t.emitter.trigger("eventDragStop",{el:m.subjectEl,event:l,jsEvent:e.origEvent,view:n}),r)if(i===t){for(var h=new v.EventApi(t,u.defs[o.defId],a?u.instances[a.instanceId]:null),h=(t.dispatch({type:"MERGE_EVENTS",eventStore:u}),{oldEvent:l,event:h,relatedEvents:v.buildEventApis(u,t,a),revert:function(){t.dispatch({type:"MERGE_EVENTS",eventStore:s})}}),d={},f=0,p=t.getCurrentData().pluginHooks.eventDropTransformers;f<p.length;f++){var g=p[f];y.__assign(d,g(r,t))}t.emitter.trigger("eventDrop",y.__assign(y.__assign(y.__assign({},h),d),{el:e.subjectEl,delta:r.datesDelta,jsEvent:e.origEvent,view:n})),t.emitter.trigger("eventChange",h)}else i&&(h={event:l,relatedEvents:v.buildEventApis(s,t,a),revert:function(){t.dispatch({type:"MERGE_EVENTS",eventStore:s})}},t.emitter.trigger("eventLeave",y.__assign(y.__assign({},h),{draggedEl:e.subjectEl,view:n})),t.dispatch({type:"REMOVE_EVENTS",eventStore:s}),t.emitter.trigger("eventRemove",h),l=u.defs[o.defId],n=u.instances[a.instanceId],h=new v.EventApi(i,l,n),i.dispatch({type:"MERGE_EVENTS",eventStore:u}),o={event:h,relatedEvents:v.buildEventApis(u,i,n),revert:function(){i.dispatch({type:"REMOVE_EVENTS",eventStore:u})}},i.emitter.trigger("eventAdd",o),e.isTouch&&i.dispatch({type:"SELECT_EVENT",eventInstanceId:a.instanceId}),i.emitter.trigger("drop",y.__assign(y.__assign({},C(c.dateSpan,i)),{draggedEl:e.subjectEl,jsEvent:e.origEvent,view:c.context.viewApi})),i.emitter.trigger("eventReceive",y.__assign(y.__assign({},o),{draggedEl:e.subjectEl,view:c.context.viewApi})));else t.emitter.trigger("_noEventDrop")}m.cleanup()};var t=m.component.context.options,n=m.dragging=new b(e.el),n=(n.pointer.selector=R.SELECTOR,n.touchScrollAllowed=!1,n.autoScroller.isEnabled=t.dragScroll,m.hitDragging=new w(m.dragging,v.interactionSettingsStore));return n.useSubjectCenter=e.useEventCenter,n.emitter.on("pointerdown",m.handlePointerDown),n.emitter.on("dragstart",m.handleDragStart),n.emitter.on("hitupdate",m.handleHitUpdate),n.emitter.on("pointerup",m.handlePointerUp),n.emitter.on("dragend",m.handleDragEnd),m}A=v.Interaction,y.__extends(O,A),O.prototype.destroy=function(){this.dragging.destroy()},O.prototype.querySegEl=function(e){return v.elementClosest(e.subjectEl,".fc-event")};var A,Z=O;function O(e){var h=A.call(this,e)||this,t=(h.draggingSegEl=null,h.draggingSeg=null,h.eventRange=null,h.relevantEvents=null,h.validMutation=null,h.mutatedRelevantEvents=null,h.handlePointerDown=function(e){var t=h.component,n=h.querySegEl(e),n=v.getElSeg(n),n=h.eventRange=n.eventRange;h.dragging.minDistance=t.context.options.eventDragMinDistance,h.dragging.setIgnoreMove(!h.component.isValidSegDownEl(e.origEvent.target)||e.isTouch&&h.component.props.eventSelection!==n.instance.instanceId)},h.handleDragStart=function(e){var t=h.component.context,n=h.eventRange,i=(h.relevantEvents=v.getRelevantEvents(t.getCurrentData().eventStore,h.eventRange.instance.instanceId),h.querySegEl(e));h.draggingSegEl=i,h.draggingSeg=v.getElSeg(i),t.calendarApi.unselect(),t.emitter.trigger("eventResizeStart",{el:i,event:new v.EventApi(t,n.def,n.instance),jsEvent:e.origEvent,view:t.viewApi})},h.handleHitUpdate=function(e,t,n){var i=h.component.context,r=h.relevantEvents,o=h.hitDragging.initialHit,a=h.eventRange.instance,l=null,s=null,u=!1,c={affectedEvents:r,mutatedEvents:v.createEmptyEventStore(),isEvent:!0};(l=!e||e.componentId===o.componentId&&h.isHitComboAllowed&&!h.isHitComboAllowed(o,e)?l:function(e,t,n,i){var r=e.context.dateEnv,o=e.dateSpan.range.start,t=t.dateSpan.range.start,o=v.diffDates(o,t,r,e.largeUnit);if(n){if(r.add(i.start,o)<i.end)return{startDelta:o}}else if(r.add(i.end,o)>i.start)return{endDelta:o};return null}(o,e,n.subjectEl.classList.contains("fc-event-resizer-start"),a.range))&&(s=v.applyMutationToEventStore(r,i.getCurrentData().eventUiBases,l,i),c.mutatedEvents=s,v.isInteractionValid(c,e.dateProfile,i)||(u=!0,c.mutatedEvents=s=l=null)),s?i.dispatch({type:"SET_EVENT_RESIZE",state:c}):i.dispatch({type:"UNSET_EVENT_RESIZE"}),u?v.disableCursor():v.enableCursor(),t||(l&&S(o,e)&&(l=null),h.validMutation=l,h.mutatedRelevantEvents=s)},h.handleDragEnd=function(e){var t=h.component.context,n=h.eventRange.def,i=h.eventRange.instance,r=new v.EventApi(t,n,i),o=h.relevantEvents,a=h.mutatedRelevantEvents;t.emitter.trigger("eventResizeStop",{el:h.draggingSegEl,event:r,jsEvent:e.origEvent,view:t.viewApi}),h.validMutation?(n=new v.EventApi(t,a.defs[n.defId],i?a.instances[i.instanceId]:null),t.dispatch({type:"MERGE_EVENTS",eventStore:a}),r={oldEvent:r,event:n,relatedEvents:v.buildEventApis(a,t,i),revert:function(){t.dispatch({type:"MERGE_EVENTS",eventStore:o})}},t.emitter.trigger("eventResize",y.__assign(y.__assign({},r),{el:h.draggingSegEl,startDelta:h.validMutation.startDelta||v.createDuration(0),endDelta:h.validMutation.endDelta||v.createDuration(0),jsEvent:e.origEvent,view:t.viewApi})),t.emitter.trigger("eventChange",r)):t.emitter.trigger("_noEventResize"),h.draggingSeg=null,h.relevantEvents=null,h.validMutation=null},e.component),n=h.dragging=new b(e.el),n=(n.pointer.selector=".fc-event-resizer",n.touchScrollAllowed=!1,n.autoScroller.isEnabled=t.context.options.dragScroll,h.hitDragging=new w(h.dragging,v.interactionSettingsToStore(e)));return n.emitter.on("pointerdown",h.handlePointerDown),n.emitter.on("dragstart",h.handleDragStart),n.emitter.on("hitupdate",h.handleHitUpdate),n.emitter.on("dragend",h.handleDragEnd),h}X.prototype.destroy=function(){this.context.emitter.off("select",this.onSelect),this.documentPointer.destroy()};var G=X;function X(e){var r=this,t=(this.context=e,this.isRecentPointerDateSelect=!1,this.matchesCancel=!1,this.matchesEvent=!1,this.onSelect=function(e){e.jsEvent&&(r.isRecentPointerDateSelect=!0)},this.onDocumentPointerDown=function(e){var t=r.context.options.unselectCancel,e=v.getEventTargetViaRoot(e.origEvent);r.matchesCancel=!!v.elementClosest(e,t),r.matchesEvent=!!v.elementClosest(e,q.SELECTOR)},this.onDocumentPointerUp=function(e){var t=r.context,n=r.documentPointer,i=t.getCurrentData();n.wasTouchScroll||(i.dateSelection&&!r.isRecentPointerDateSelect&&t.options.unselectAuto&&!r.matchesCancel&&t.calendarApi.unselect(e),i.eventSelection&&!r.matchesEvent&&t.dispatch({type:"UNSELECT_EVENT"})),r.isRecentPointerDateSelect=!1},this.documentPointer=new a(document));t.shouldIgnoreMove=!0,t.shouldWatchScroll=!1,t.emitter.on("pointerdown",this.onDocumentPointerDown),t.emitter.on("pointerup",this.onDocumentPointerUp),e.emitter.on("select",this.onSelect)}var $={fixedMirrorParent:v.identity},K={dateClick:v.identity,eventDragStart:v.identity,eventDragStop:v.identity,eventDrop:v.identity,eventResizeStart:v.identity,eventResizeStop:v.identity,eventResize:v.identity,drop:v.identity,eventReceive:v.identity,eventLeave:v.identity},Q=(P.prototype.buildDragMeta=function(e){return"object"===o(this.suppliedDragMeta)?v.parseDragMeta(this.suppliedDragMeta):"function"==typeof this.suppliedDragMeta?v.parseDragMeta(this.suppliedDragMeta(e)):(e=(e=function(e,t){var n=v.config.dataAttrPrefix,n=(n?n+"-":"")+t;return e.getAttribute("data-"+n)||""}(e,"event"))?JSON.parse(e):{create:!1},v.parseDragMeta(e))},P.prototype.displayDrag=function(e,t){var n=this.receivingContext;n&&n!==e&&n.dispatch({type:"UNSET_EVENT_DRAG"}),e&&e.dispatch({type:"SET_EVENT_DRAG",state:t})},P.prototype.clearDrag=function(){this.receivingContext&&this.receivingContext.dispatch({type:"UNSET_EVENT_DRAG"})},P.prototype.canDropElOnCalendar=function(e,t){var n=t.options.dropAccept;return"function"==typeof n?n.call(t.calendarApi,e):"string"!=typeof n||!n||Boolean(v.elementMatches(e,n))},P);function P(e,t){var s=this,e=(this.receivingContext=null,this.droppableEvent=null,this.suppliedDragMeta=null,this.dragMeta=null,this.handleDragStart=function(e){s.dragMeta=s.buildDragMeta(e.subjectEl)},this.handleHitUpdate=function(e,t,n){var i=s.hitDragging.dragging,r=null,o=null,a=!1,l={affectedEvents:v.createEmptyEventStore(),mutatedEvents:v.createEmptyEventStore(),isEvent:s.dragMeta.create};e&&(r=e.context,s.canDropElOnCalendar(n.subjectEl,r)&&(o=function(e,t,n){for(var i=y.__assign({},t.leftoverProps),r=0,o=n.pluginHooks.externalDefTransforms;r<o.length;r++){var a=o[r];y.__assign(i,a(e,t))}var l=v.refineEventDef(i,n),s=l.refined,l=l.extra,s=v.parseEventDef(s,l,t.sourceId,e.allDay,n.options.forceEventDuration||Boolean(t.duration),n),l=e.range.start;e.allDay&&t.startTime&&(l=n.dateEnv.add(l,t.startTime));n=t.duration?n.dateEnv.add(l,t.duration):v.getDefaultEventEnd(e.allDay,l,n),l=v.createEventInstance(s.defId,{start:l,end:n});return{def:s,instance:l}}(e.dateSpan,s.dragMeta,r),l.mutatedEvents=v.eventTupleToStore(o),(a=!v.isInteractionValid(l,e.dateProfile,r))&&(l.mutatedEvents=v.createEmptyEventStore(),o=null))),s.displayDrag(r,l),i.setMirrorIsVisible(t||!o||!document.querySelector(".fc-event-mirror")),a?v.disableCursor():v.enableCursor(),t||(i.setMirrorNeedsRevert(!o),s.receivingContext=r,s.droppableEvent=o)},this.handleDragEnd=function(e){var t,n,i,r,o=s.receivingContext,a=s.droppableEvent;s.clearDrag(),o&&a&&(n=(t=s.hitDragging.finalHit).context.viewApi,i=s.dragMeta,o.emitter.trigger("drop",y.__assign(y.__assign({},C(t.dateSpan,o)),{draggedEl:e.subjectEl,jsEvent:e.origEvent,view:n})),i.create&&(r=v.eventTupleToStore(a),o.dispatch({type:"MERGE_EVENTS",eventStore:r}),e.isTouch&&o.dispatch({type:"SELECT_EVENT",eventInstanceId:a.instance.instanceId}),o.emitter.trigger("eventReceive",{event:new v.EventApi(o,a.def,a.instance),relatedEvents:[],revert:function(){o.dispatch({type:"REMOVE_EVENTS",eventStore:r})},draggedEl:e.subjectEl,view:n}))),s.receivingContext=null,s.droppableEvent=null},this.hitDragging=new w(e,v.interactionSettingsStore));e.requireInitial=!1,e.emitter.on("dragstart",this.handleDragStart),e.emitter.on("hitupdate",this.handleHitUpdate),e.emitter.on("dragend",this.handleDragEnd),this.suppliedDragMeta=t}v.config.dataAttrPrefix="";ee.prototype.destroy=function(){this.dragging.destroy()};var J=ee;function ee(e,t){var r=this,e=(void 0===t&&(t={}),this.handlePointerDown=function(e){var t=r.dragging,n=r.settings,i=n.minDistance,n=n.longPressDelay;t.minDistance=null!=i?i:e.isTouch?0:v.BASE_OPTION_DEFAULTS.eventDragMinDistance,t.delay=e.isTouch?null!=n?n:v.BASE_OPTION_DEFAULTS.longPressDelay:0},this.handleDragStart=function(e){e.isTouch&&r.dragging.delay&&e.subjectEl.classList.contains("fc-event")&&r.dragging.mirror.getMirrorEl().classList.add("fc-event-selected")},this.settings=t,this.dragging=new b(e));e.touchScrollAllowed=!1,null!=t.itemSelector&&(e.pointer.selector=t.itemSelector),null!=t.appendTo&&(e.mirror.parentNode=t.appendTo),e.emitter.on("pointerdown",this.handlePointerDown),e.emitter.on("dragstart",this.handleDragStart),new Q(e,t.eventData)}I=v.ElementDragging,y.__extends(N,I),N.prototype.destroy=function(){this.pointer.destroy()},N.prototype.setIgnoreMove=function(e){this.shouldIgnoreMove=e},N.prototype.setMirrorIsVisible=function(e){e?this.currentMirrorEl&&(this.currentMirrorEl.style.visibility="",this.currentMirrorEl=null):(e=this.mirrorSelector?document.querySelector(this.mirrorSelector):null)&&((this.currentMirrorEl=e).style.visibility="hidden")};var I,te=N;function N(e){var t=I.call(this,e)||this,e=(t.shouldIgnoreMove=!1,t.mirrorSelector="",t.currentMirrorEl=null,t.handlePointerDown=function(e){t.emitter.trigger("pointerdown",e),t.shouldIgnoreMove||t.emitter.trigger("dragstart",e)},t.handlePointerMove=function(e){t.shouldIgnoreMove||t.emitter.trigger("dragmove",e)},t.handlePointerUp=function(e){t.emitter.trigger("pointerup",e),t.shouldIgnoreMove||t.emitter.trigger("dragend",e)},t.pointer=new a(e));return e.emitter.on("pointerdown",t.handlePointerDown),e.emitter.on("pointermove",t.handlePointerMove),e.emitter.on("pointerup",t.handlePointerUp),t}ie.prototype.destroy=function(){this.dragging.destroy()};var ne=ie;function ie(e,t){var n=document,e=(t=e===document||e instanceof Element?(n=e,t||{}):e||{},this.dragging=new te(n));"string"==typeof t.itemSelector?e.pointer.selector=t.itemSelector:n===document&&(e.pointer.selector="[data-event]"),"string"==typeof t.mirrorSelector&&(e.mirrorSelector=t.mirrorSelector),new Q(e,t.eventData)}e=v.createPlugin({componentInteractions:[e,U,q,Z],calendarInteractions:[G],elementDraggingImpl:b,optionRefiners:$,listenerRefiners:K});t.Draggable=J,t.FeaturefulElementDragging=b,t.PointerDragging=a,t.ThirdPartyDraggable=ne,t.default=e},{"@fullcalendar/common":1,tslib:32}],7:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var i,v=e("@fullcalendar/common"),y=e("tslib"),b=(i=v.BaseComponent,y.__extends(r,i),r.prototype.render=function(){var e=this.context,r=e.theme,t=e.dateEnv,n=e.options,e=e.viewApi,i=this.props,o=i.cellId,a=i.dayDate,i=i.todayRange,l=this.state.textId,i=v.getDateMeta(a,i),s=n.listDayFormat?t.format(a,n.listDayFormat):"",u=n.listDaySideFormat?t.format(a,n.listDaySideFormat):"",t=y.__assign({date:t.toDate(a),view:e,textId:l,text:s,sideText:u,navLinkAttrs:v.buildNavLinkAttrs(this.context,a),sideNavLinkAttrs:v.buildNavLinkAttrs(this.context,a,"day",!1)},i),c=["fc-list-day"].concat(v.getDayClassNames(i,r));return v.createElement(v.RenderHook,{hookProps:t,classNames:n.dayHeaderClassNames,content:n.dayHeaderContent,defaultContent:h,didMount:n.dayHeaderDidMount,willUnmount:n.dayHeaderWillUnmount},function(e,t,n,i){return v.createElement("tr",{ref:e,className:c.concat(t).join(" "),"data-date":v.formatDayString(a)},v.createElement("th",{scope:"colgroup",colSpan:3,id:o,"aria-labelledby":l},v.createElement("div",{className:"fc-list-day-cushion "+r.getClass("tableCellShaded"),ref:n},i)))})},r);function r(){var e=null!==i&&i.apply(this,arguments)||this;return e.state={textId:v.getUniqueDomId()},e}function h(e){return v.createElement(v.Fragment,null,e.text&&v.createElement("a",y.__assign({id:e.textId,className:"fc-list-day-text"},e.navLinkAttrs),e.text),e.sideText&&v.createElement("a",y.__assign({"aria-hidden":!0,className:"fc-list-day-side-text"},e.sideNavLinkAttrs),e.sideText))}var o,d=v.createFormatter({hour:"numeric",minute:"2-digit",meridiem:"short"}),_=(o=v.BaseComponent,y.__extends(a,o),a.prototype.render=function(){var e=this.props,o=this.context,a=e.seg,l=e.timeHeaderId,s=e.eventHeaderId,u=e.dateHeaderId,c=o.options.eventTimeFormat||d;return v.createElement(v.EventRoot,{seg:a,timeText:"",disableDragging:!0,disableResizing:!0,defaultContent:function(){var e=a,t=o;return t=v.getSegAnchorAttrs(e,t),v.createElement("a",y.__assign({},t),e.eventRange.def.title)},isPast:e.isPast,isFuture:e.isFuture,isToday:e.isToday,isSelected:e.isSelected,isDragging:e.isDragging,isResizing:e.isResizing,isDateSelecting:e.isDateSelecting},function(e,t,n,i,r){return v.createElement("tr",{className:["fc-list-event",r.event.url?"fc-event-forced-url":""].concat(t).join(" "),ref:e},function(e,t,n,r,o){var i=n.options;if(!1===i.displayEventTime)return null;var a=e.eventRange.def,l=e.eventRange.instance,s=!1,u=void 0;a.allDay?s=!0:v.isMultiDayRange(e.eventRange.range)?e.isStart?u=v.buildSegTimeText(e,t,n,null,null,l.range.start,e.end):e.isEnd?u=v.buildSegTimeText(e,t,n,null,null,e.start,l.range.end):s=!0:u=v.buildSegTimeText(e,t,n);if(s)return a={text:n.options.allDayText,view:n.viewApi},v.createElement(v.RenderHook,{hookProps:a,classNames:i.allDayClassNames,content:i.allDayContent,defaultContent:f,didMount:i.allDayDidMount,willUnmount:i.allDayWillUnmount},function(e,t,n,i){return v.createElement("td",{ref:e,headers:r+" "+o,className:["fc-list-event-time"].concat(t).join(" ")},i)});return v.createElement("td",{className:"fc-list-event-time"},u)}(a,c,o,l,u),v.createElement("td",{"aria-hidden":!0,className:"fc-list-event-graphic"},v.createElement("span",{className:"fc-list-event-dot",style:{borderColor:r.borderColor||r.backgroundColor}})),v.createElement("td",{ref:n,headers:s+" "+u,className:"fc-list-event-title"},i))})},a);function a(){return null!==o&&o.apply(this,arguments)||this}function f(e){return e.text}l=v.DateComponent,y.__extends(s,l),s.prototype.render=function(){var n=this,i=this.props,e=this.context,r=["fc-list",e.theme.getClass("table"),!1!==e.options.stickyHeaderDates?"fc-list-sticky":""],t=this.computeDateVars(i.dateProfile),o=t.dayDates,t=t.dayRanges,a=this.eventStoreToSegs(i.eventStore,i.eventUiBases,t);return v.createElement(v.ViewRoot,{viewSpec:e.viewSpec,elRef:this.setRootEl},function(e,t){return v.createElement("div",{ref:e,className:r.concat(t).join(" ")},v.createElement(v.Scroller,{liquid:!i.isHeightAuto,overflowX:i.isHeightAuto?"visible":"hidden",overflowY:i.isHeightAuto?"visible":"auto"},0<a.length?n.renderSegList(a,o):n.renderEmptyMessage()))})},s.prototype.renderEmptyMessage=function(){var e=this.context,t=e.options,e=e.viewApi,e={text:t.noEventsText,view:e};return v.createElement(v.RenderHook,{hookProps:e,classNames:t.noEventsClassNames,content:t.noEventsContent,defaultContent:u,didMount:t.noEventsDidMount,willUnmount:t.noEventsWillUnmount},function(e,t,n,i){return v.createElement("div",{className:["fc-list-empty"].concat(t).join(" "),ref:e},v.createElement("div",{className:"fc-list-empty-cushion",ref:n},i))})},s.prototype.renderSegList=function(e,c){var t=this.context,h=t.theme,d=t.options,t=this.state,f=t.timeHeaderId,p=t.eventHeaderId,g=t.dateHeaderIdRoot,m=function(e){var t,n,i=[];for(t=0;t<e.length;t+=1)n=e[t],(i[n.dayIndex]||(i[n.dayIndex]=[])).push(n);return i}(e);return v.createElement(v.NowTimer,{unit:"day"},function(e,t){for(var n=[],i=0;i<m.length;i+=1)if(a=m[i]){var r=v.formatDayString(c[i]),o=g+"-"+r;n.push(v.createElement(b,{key:r,cellId:o,dayDate:c[i],todayRange:t}));for(var a,l=0,s=v.sortEventSegs(a,d.eventOrder);l<s.length;l++){var u=s[l];n.push(v.createElement(_,y.__assign({key:r+":"+u.eventRange.instance.instanceId,seg:u,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:!1,timeHeaderId:f,eventHeaderId:p,dateHeaderId:o},v.getSegMeta(u,t,e))))}}return v.createElement("table",{className:"fc-list-table "+h.getClass("table")},v.createElement("thead",null,v.createElement("tr",null,v.createElement("th",{scope:"col",id:f},d.timeHint),v.createElement("th",{scope:"col","aria-hidden":!0}),v.createElement("th",{scope:"col",id:p},d.eventHint))),v.createElement("tbody",null,n))})},s.prototype._eventStoreToSegs=function(e,t,n){return this.eventRangesToSegs(v.sliceEventStore(e,t,this.props.dateProfile.activeRange,this.context.options.nextDayThreshold).fg,n)},s.prototype.eventRangesToSegs=function(e,t){for(var n=[],i=0,r=e;i<r.length;i++){var o=r[i];n.push.apply(n,this.eventRangeToSegs(o,t))}return n},s.prototype.eventRangeToSegs=function(e,t){for(var n,i=this.context.dateEnv,r=this.context.options.nextDayThreshold,o=e.range,a=e.def.allDay,l=[],s=0;s<t.length;s+=1)if((n=v.intersectRanges(o,t[s]))&&(n={component:this,eventRange:e,start:n.start,end:n.end,isStart:e.isStart&&n.start.valueOf()===o.start.valueOf(),isEnd:e.isEnd&&n.end.valueOf()===o.end.valueOf(),dayIndex:s},l.push(n),!n.isEnd&&!a&&s+1<t.length&&o.end<i.add(t[s+1].start,r))){n.end=o.end,n.isEnd=!0;break}return l};var l,e=s;function s(){var t=null!==l&&l.apply(this,arguments)||this;return t.computeDateVars=v.memoize(c),t.eventStoreToSegs=v.memoize(t._eventStoreToSegs),t.state={timeHeaderId:v.getUniqueDomId(),eventHeaderId:v.getUniqueDomId(),dateHeaderIdRoot:v.getUniqueDomId()},t.setRootEl=function(e){e?t.context.registerInteractiveComponent(t,{el:e}):t.context.unregisterInteractiveComponent(t)},t}function u(e){return e.text}function c(e){for(var t=v.startOfDay(e.renderRange.start),n=e.renderRange.end,i=[],r=[];t<n;)i.push(t),r.push({start:t,end:v.addDays(t,1)}),t=v.addDays(t,1);return{dayDates:i,dayRanges:r}}var p={listDayFormat:g,listDaySideFormat:g,noEventsClassNames:v.identity,noEventsContent:v.identity,noEventsDidMount:v.identity,noEventsWillUnmount:v.identity};function g(e){return!1===e?null:v.createFormatter(e)}p=v.createPlugin({optionRefiners:p,views:{list:{component:e,buttonTextKey:"list",listDayFormat:{month:"long",day:"numeric",year:"numeric"}},listDay:{type:"list",duration:{days:1},listDayFormat:{weekday:"long"}},listWeek:{type:"list",duration:{weeks:1},listDayFormat:{weekday:"long"},listDaySideFormat:{month:"long",day:"numeric",year:"numeric"}},listMonth:{type:"list",duration:{month:1},listDaySideFormat:{weekday:"long"}},listYear:{type:"list",duration:{year:1},listDaySideFormat:{weekday:"long"}}}});n.ListView=e,n.default=p},{"@fullcalendar/common":1,tslib:32}],8:[function(e,L,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,v=e("@fullcalendar/common"),y=e("tslib"),H=e("@fullcalendar/daygrid"),W=(n=v.Splitter,y.__extends(i,n),i.prototype.getKeyInfo=function(){return{allDay:{},timed:{}}},i.prototype.getKeysForDateSpan=function(e){return e.allDay?["allDay"]:["timed"]},i.prototype.getKeysForEventDef=function(e){return e.allDay?v.hasBgRendering(e)?["timed","allDay"]:["allDay"]:["timed"]},i);function i(){return null!==n&&n.apply(this,arguments)||this}var j=v.createFormatter({hour:"numeric",minute:"2-digit",omitZeroMinute:!0,meridiem:"short"});function F(r){var o=["fc-timegrid-slot","fc-timegrid-slot-label",r.isLabeled?"fc-scrollgrid-shrink":"fc-timegrid-slot-minor"];return v.createElement(v.ViewContextType.Consumer,null,function(e){if(!r.isLabeled)return v.createElement("td",{className:o.join(" "),"data-time":r.isoTimeStr});var t=e.dateEnv,n=e.options,e=e.viewApi,i=null==n.slotLabelFormat?j:Array.isArray(n.slotLabelFormat)?v.createFormatter(n.slotLabelFormat[0]):v.createFormatter(n.slotLabelFormat),e={level:0,time:r.time,date:t.toDate(r.date),view:e,text:t.format(r.date,i)};return v.createElement(v.RenderHook,{hookProps:e,classNames:n.slotLabelClassNames,content:n.slotLabelContent,defaultContent:z,didMount:n.slotLabelDidMount,willUnmount:n.slotLabelWillUnmount},function(e,t,n,i){return v.createElement("td",{ref:e,className:o.concat(t).join(" "),"data-time":r.isoTimeStr},v.createElement("div",{className:"fc-timegrid-slot-label-frame fc-scrollgrid-shrink-frame"},v.createElement("div",{className:"fc-timegrid-slot-label-cushion fc-scrollgrid-shrink-cushion",ref:n},i)))})})}function z(e){return e.text}r=v.BaseComponent,y.__extends(o,r),o.prototype.render=function(){return this.props.slatMetas.map(function(e){return v.createElement("tr",{key:e.key},v.createElement(F,y.__assign({},e)))})};var r,V=o;function o(){return null!==r&&r.apply(this,arguments)||this}var a,B=v.createFormatter({week:"short"}),e=(a=v.DateComponent,y.__extends(l,a),l.prototype.renderSimpleLayout=function(e,t,n){var i=this.context,r=this.props,o=[],a=v.getStickyHeaderDates(i.options);return e&&o.push({type:"header",key:"header",isSticky:a,chunk:{elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}}),t&&(o.push({type:"body",key:"all-day",chunk:{content:t}}),o.push({type:"body",key:"all-day-divider",outerContent:v.createElement("tr",{role:"presentation",className:"fc-scrollgrid-section"},v.createElement("td",{className:"fc-timegrid-divider "+i.theme.getClass("tableCellShaded")}))})),o.push({type:"body",key:"body",liquid:!0,expandRows:Boolean(i.options.expandRows),chunk:{scrollerElRef:this.scrollerElRef,content:n}}),v.createElement(v.ViewRoot,{viewSpec:i.viewSpec,elRef:this.rootElRef},function(e,t){return v.createElement("div",{className:["fc-timegrid"].concat(t).join(" "),ref:e},v.createElement(v.SimpleScrollGrid,{liquid:!r.isHeightAuto&&!r.forPrint,collapsibleWidth:r.forPrint,cols:[{width:"shrink"}],sections:o}))})},l.prototype.renderHScrollLayout=function(e,t,n,i,r,o,a){var l=this,s=this.context.pluginHooks.scrollGridImpl;if(!s)throw new Error("No ScrollGrid implementation");var u=this.context,c=this.props,h=!c.forPrint&&v.getStickyHeaderDates(u.options),d=!c.forPrint&&v.getStickyFooterScrollbar(u.options),f=[],p=(e&&f.push({type:"header",key:"header",isSticky:h,syncRowHeights:!0,chunks:[{key:"axis",rowContent:function(e){return v.createElement("tr",{role:"presentation"},l.renderHeadAxis("day",e.rowSyncHeights[0]))}},{key:"cols",elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}]}),t&&(f.push({type:"body",key:"all-day",syncRowHeights:!0,chunks:[{key:"axis",rowContent:function(e){return v.createElement("tr",{role:"presentation"},l.renderTableRowAxis(e.rowSyncHeights[0]))}},{key:"cols",content:t}]}),f.push({key:"all-day-divider",type:"body",outerContent:v.createElement("tr",{role:"presentation",className:"fc-scrollgrid-section"},v.createElement("td",{colSpan:2,className:"fc-timegrid-divider "+u.theme.getClass("tableCellShaded")}))})),u.options.nowIndicator);return f.push({type:"body",key:"body",liquid:!0,expandRows:Boolean(u.options.expandRows),chunks:[{key:"axis",content:function(e){return v.createElement("div",{className:"fc-timegrid-axis-chunk"},v.createElement("table",{"aria-hidden":!0,style:{height:e.expandRows?e.clientHeight:""}},e.tableColGroupNode,v.createElement("tbody",null,v.createElement(V,{slatMetas:o}))),v.createElement("div",{className:"fc-timegrid-now-indicator-container"},v.createElement(v.NowTimer,{unit:p?"minute":"day"},function(e){var r=p&&a&&a.safeComputeTop(e);return"number"==typeof r?v.createElement(v.NowIndicatorRoot,{isAxis:!0,date:e},function(e,t,n,i){return v.createElement("div",{ref:e,className:["fc-timegrid-now-indicator-arrow"].concat(t).join(" "),style:{top:r}},i)}):null})))}},{key:"cols",scrollerElRef:this.scrollerElRef,content:n}]}),d&&f.push({key:"footer",type:"footer",isSticky:!0,chunks:[{key:"axis",content:v.renderScrollShim},{key:"cols",content:v.renderScrollShim}]}),v.createElement(v.ViewRoot,{viewSpec:u.viewSpec,elRef:this.rootElRef},function(e,t){return v.createElement("div",{className:["fc-timegrid"].concat(t).join(" "),ref:e},v.createElement(s,{liquid:!c.isHeightAuto&&!c.forPrint,collapsibleWidth:!1,colGroups:[{width:"shrink",cols:[{width:"shrink"}]},{cols:[{span:i,minWidth:r}]}],sections:f}))})},l.prototype.getAllDayMaxEventProps=function(){var e=this.context.options,t=e.dayMaxEvents,e=e.dayMaxEventRows;return!0!==t&&!0!==e||(t=void 0,e=5),{dayMaxEvents:t,dayMaxEventRows:e}},l);function l(){var i=null!==a&&a.apply(this,arguments)||this;return i.allDaySplitter=new W,i.headerElRef=v.createRef(),i.rootElRef=v.createRef(),i.scrollerElRef=v.createRef(),i.state={slatCoords:null},i.handleScrollTopRequest=function(e){var t=i.scrollerElRef.current;t&&(t.scrollTop=e)},i.renderHeadAxis=function(e,r){void 0===r&&(r="");var t=i.context.options,n=i.props.dateProfile.renderRange,o=1===v.diffDays(n.start,n.end)?v.buildNavLinkAttrs(i.context,n.start,"week"):{};return t.weekNumbers&&"day"===e?v.createElement(v.WeekNumberRoot,{date:n.start,defaultFormat:B},function(e,t,n,i){return v.createElement("th",{ref:e,"aria-hidden":!0,className:["fc-timegrid-axis","fc-scrollgrid-shrink"].concat(t).join(" ")},v.createElement("div",{className:"fc-timegrid-axis-frame fc-scrollgrid-shrink-frame fc-timegrid-axis-frame-liquid",style:{height:r}},v.createElement("a",y.__assign({ref:n,className:"fc-timegrid-axis-cushion fc-scrollgrid-shrink-cushion fc-scrollgrid-sync-inner"},o),i)))}):v.createElement("th",{"aria-hidden":!0,className:"fc-timegrid-axis"},v.createElement("div",{className:"fc-timegrid-axis-frame",style:{height:r}}))},i.renderTableRowAxis=function(r){var e=i.context,t=e.options,e=e.viewApi,e={text:t.allDayText,view:e};return v.createElement(v.RenderHook,{hookProps:e,classNames:t.allDayClassNames,content:t.allDayContent,defaultContent:Y,didMount:t.allDayDidMount,willUnmount:t.allDayWillUnmount},function(e,t,n,i){return v.createElement("td",{ref:e,"aria-hidden":!0,className:["fc-timegrid-axis","fc-scrollgrid-shrink"].concat(t).join(" ")},v.createElement("div",{className:"fc-timegrid-axis-frame fc-scrollgrid-shrink-frame"+(null==r?" fc-timegrid-axis-frame-liquid":""),style:{height:r}},v.createElement("span",{className:"fc-timegrid-axis-cushion fc-scrollgrid-shrink-cushion fc-scrollgrid-sync-inner",ref:n},i)))})},i.handleSlatCoords=function(e){i.setState({slatCoords:e})},i}function Y(e){return e.text}s.prototype.safeComputeTop=function(e){var t=this.dateProfile;if(v.rangeContainsMarker(t.currentRange,e)){var n=v.startOfDay(e),e=e.valueOf()-n.valueOf();if(e>=v.asRoughMs(t.slotMinTime)&&e<v.asRoughMs(t.slotMaxTime))return this.computeTimeTop(v.createDuration(e))}return null},s.prototype.computeDateTop=function(e,t){return t=t||v.startOfDay(e),this.computeTimeTop(v.createDuration(e.valueOf()-t.valueOf()))},s.prototype.computeTimeTop=function(e){var t=this.positions,n=this.dateProfile,i=t.els.length,e=(e.milliseconds-v.asRoughMs(n.slotMinTime))/v.asRoughMs(this.slotDuration),e=Math.max(0,e);return e=Math.min(i,e),n=Math.floor(e),e=e-(n=Math.min(n,i-1)),t.tops[n]+t.getHeight(n)*e};var U=s;function s(e,t,n){this.positions=e,this.dateProfile=t,this.slotDuration=n}u=v.BaseComponent,y.__extends(c,u),c.prototype.render=function(){var n=this.props,i=this.context,a=i.options,l=n.slatElRefs;return v.createElement("tbody",null,n.slatMetas.map(function(r,e){var t={time:r.time,date:i.dateEnv.toDate(r.date),view:i.viewApi},o=["fc-timegrid-slot","fc-timegrid-slot-lane",r.isLabeled?"":"fc-timegrid-slot-minor"];return v.createElement("tr",{key:r.key,ref:l.createRef(r.key)},n.axis&&v.createElement(F,y.__assign({},r)),v.createElement(v.RenderHook,{hookProps:t,classNames:a.slotLaneClassNames,content:a.slotLaneContent,didMount:a.slotLaneDidMount,willUnmount:a.slotLaneWillUnmount},function(e,t,n,i){return v.createElement("td",{ref:e,className:o.concat(t).join(" "),"data-time":r.isoTimeStr},i)}))}))};var u,q=c;function c(){return null!==u&&u.apply(this,arguments)||this}h=v.BaseComponent,y.__extends(d,h),d.prototype.render=function(){var e=this.props,t=this.context;return v.createElement("div",{ref:this.rootElRef,className:"fc-timegrid-slots"},v.createElement("table",{"aria-hidden":!0,className:t.theme.getClass("table"),style:{minWidth:e.tableMinWidth,width:e.clientWidth,height:e.minHeight}},e.tableColGroupNode,v.createElement(q,{slatElRefs:this.slatElRefs,axis:e.axis,slatMetas:e.slatMetas})))},d.prototype.componentDidMount=function(){this.updateSizing()},d.prototype.componentDidUpdate=function(){this.updateSizing()},d.prototype.componentWillUnmount=function(){this.props.onCoords&&this.props.onCoords(null)},d.prototype.updateSizing=function(){var t,e=this.context,n=this.props;n.onCoords&&null!==n.clientWidth&&this.rootElRef.current.offsetHeight&&n.onCoords(new U(new v.PositionCache(this.rootElRef.current,(t=this.slatElRefs.currentMap,n.slatMetas.map(function(e){return t[e.key]})),!1,!0),this.props.dateProfile,e.options.slotDuration))};var h,Z=d;function d(){var e=null!==h&&h.apply(this,arguments)||this;return e.rootElRef=v.createRef(),e.slatElRefs=new v.RefMap,e}function f(e,t){for(var n=[],i=0;i<t;i+=1)n.push([]);if(e)for(i=0;i<e.length;i+=1)n[e[i].col].push(e[i]);return n}function G(e,t){var n=[];if(e){for(a=0;a<t;a+=1)n[a]={affectedInstances:e.affectedInstances,isEvent:e.isEvent,segs:[]};for(var i=0,r=e.segs;i<r.length;i++){var o=r[i];n[o.col].segs.push(o)}}else for(var a=0;a<t;a+=1)n[a]=null;return n}p=v.BaseComponent,y.__extends(g,p),g.prototype.render=function(){var s=this,u=this.props;return v.createElement(v.MoreLinkRoot,{allDayDate:null,moreCnt:u.hiddenSegs.length,allSegs:u.hiddenSegs,hiddenSegs:u.hiddenSegs,alignmentElRef:this.rootElRef,defaultContent:$,extraDateSpan:u.extraDateSpan,dateProfile:u.dateProfile,todayRange:u.todayRange,popoverContent:function(){return ae(u.hiddenSegs,u)}},function(t,e,n,i,r,o,a,l){return v.createElement("a",{ref:function(e){v.setRef(t,e),v.setRef(s.rootElRef,e)},className:["fc-timegrid-more-link"].concat(e).join(" "),style:{top:u.top,bottom:u.bottom},onClick:r,title:o,"aria-expanded":a,"aria-controls":l},v.createElement("div",{ref:n,className:"fc-timegrid-more-link-inner fc-sticky"},i))})};var p,X=g;function g(){var e=null!==p&&p.apply(this,arguments)||this;return e.rootElRef=v.createRef(),e}function $(e){return e.shortText}function K(e,t,n){var i,r,o,d,f,a,l,s=new v.SegHierarchy,t=(null!=t&&(s.strictOrder=t),null!=n&&(s.maxStackCnt=n),s.addSegs(e)),n=v.groupIntersectingEntries(t),e=(r=(i=s).entriesByLevel,o=m(function(e,t){return e+":"+t},function(e,t){var n=Q(function(e,t,n){for(var i=e.levelCoords,r=e.entriesByLevel,o=r[t][n],a=i[t]+o.thickness,l=i.length,s=t;s<l&&i[s]<a;s+=1);for(;s<l;s+=1){for(var u=r[s],c=void 0,h=v.binarySearch(u,o.span.start,v.getEntrySpanEnd),h=h[0]+h[1],d=h;(c=u[d])&&c.span.start<o.span.end;)d+=1;if(h<d)return{level:s,lateralStart:h,lateralEnd:d}}return null}(i,e,t),o),e=r[e][t];return[y.__assign(y.__assign({},e),{nextLevelNodes:n[0]}),e.thickness+n[1]]}),Q(r.length?{level:0,lateralStart:0,lateralEnd:r[0].length}:null,o)[0]);function u(e,t,n){for(var i=0,r=0,o=e;r<o.length;r++)var a=o[r],i=Math.max(l(a,t,n),i);return i}return d=1,f=m(function(e,t,n){return v.buildEntryKey(e)},function(e,t,n){var i=e.nextLevelNodes,r=e.thickness,o=r+n,n=r/o,a=[];if(i.length)for(var l=0,s=i;l<s.length;l++){var u,c,h=s[l];void 0===u?u=(c=f(h,t,o))[0]:c=f(h,u,0),a.push(c[1])}else u=d;r=(u-t)*n;return[u-r,y.__assign(y.__assign({},e),{thickness:r,nextLevelNodes:a})]}),e=e.map(function(e){return f(e,0,0)[1]}),a=[],l=m(function(e,t,n){return v.buildEntryKey(e)},function(e,t,n){var i=y.__assign(y.__assign({},e),{levelCoord:t,stackDepth:n,stackForward:0});return a.push(i),i.stackForward=u(e.nextLevelNodes,t+e.thickness,n+1)+1}),u(e,0,0),{segRects:a,hiddenGroups:n}}function Q(e,t){if(!e)return[[],0];for(var n=e.level,i=e.lateralStart,r=e.lateralEnd,o=i,a=[];o<r;)a.push(t(n,o)),o+=1;return a.sort(J),[a.map(ee),a[0][1]]}function J(e,t){return t[1]-e[1]}function ee(e){return e[0]}function m(i,r){var o={};return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=i.apply(void 0,e);return n in o?o[n]:o[n]=r.apply(void 0,e)}}function te(e,t,n,i){void 0===i&&(i=0);var r=[];if(n=void 0===n?null:n)for(var o=0;o<e.length;o+=1){var a=e[o],l=n.computeDateTop(a.start,t),a=Math.max(l+(i||0),n.computeDateTop(a.end,t));r.push({start:Math.round(l),end:Math.round(a)})}return r}var b,ne=v.createFormatter({hour:"numeric",minute:"2-digit",meridiem:!1}),ie=(b=v.BaseComponent,y.__extends(_,b),_.prototype.render=function(){var e=["fc-timegrid-event","fc-v-event"];return this.props.isShort&&e.push("fc-timegrid-event-short"),v.createElement(v.StandardEvent,y.__assign({},this.props,{defaultTimeFormat:ne,extraClassNames:e}))},_);function _(){return null!==b&&b.apply(this,arguments)||this}w=v.BaseComponent,y.__extends(x,w),x.prototype.render=function(){var e=this.props;return v.createElement(v.DayCellContent,{date:e.date,dateProfile:e.dateProfile,todayRange:e.todayRange,extraHookProps:e.extraHookProps},function(e,t){return t&&v.createElement("div",{className:"fc-timegrid-col-misc",ref:e},t)})};var w,re=x;function x(){return null!==w&&w.apply(this,arguments)||this}S=v.BaseComponent,y.__extends(C,S),C.prototype.render=function(){var i=this,r=this.props,e=this.context,o=e.options.selectMirror,a=r.eventDrag&&r.eventDrag.segs||r.eventResize&&r.eventResize.segs||o&&r.dateSelectionSegs||[],l=r.eventDrag&&r.eventDrag.affectedInstances||r.eventResize&&r.eventResize.affectedInstances||{},s=this.sortEventSegs(r.fgEventSegs,e.options.eventOrder);return v.createElement(v.DayCellRoot,{elRef:r.elRef,date:r.date,dateProfile:r.dateProfile,todayRange:r.todayRange,extraHookProps:r.extraHookProps},function(e,t,n){return v.createElement("td",y.__assign({ref:e,role:"gridcell",className:["fc-timegrid-col"].concat(t,r.extraClassNames||[]).join(" ")},n,r.extraDataAttrs),v.createElement("div",{className:"fc-timegrid-col-frame"},v.createElement("div",{className:"fc-timegrid-col-bg"},i.renderFillSegs(r.businessHourSegs,"non-business"),i.renderFillSegs(r.bgEventSegs,"bg-event"),i.renderFillSegs(r.dateSelectionSegs,"highlight")),v.createElement("div",{className:"fc-timegrid-col-events"},i.renderFgSegs(s,l,!1,!1,!1)),v.createElement("div",{className:"fc-timegrid-col-events"},i.renderFgSegs(a,{},Boolean(r.eventDrag),Boolean(r.eventResize),Boolean(o))),v.createElement("div",{className:"fc-timegrid-now-indicator-container"},i.renderNowIndicator(r.nowIndicatorSegs)),v.createElement(re,{date:r.date,dateProfile:r.dateProfile,todayRange:r.todayRange,extraHookProps:r.extraHookProps})))})},C.prototype.renderFgSegs=function(e,t,n,i,r){var o=this.props;return o.forPrint?ae(e,o):this.renderPositionedFgSegs(e,t,n,i,r)},C.prototype.renderPositionedFgSegs=function(e,l,s,u,c){var h=this,t=this.context.options,n=t.eventMaxStack,d=t.eventShortHeight,i=t.eventOrderStrict,t=t.eventMinHeight,r=this.props,o=r.date,a=r.slatCoords,f=r.eventSelection,p=r.todayRange,g=r.nowDate,m=s||u||c,r=function(e,t,n,i){for(var r=[],o=[],a=0;a<e.length;a+=1){var l=t[a];l?r.push({index:a,thickness:1,span:l}):o.push(e[a])}for(var i=(n=K(r,n,i)).segRects,n=n.hiddenGroups,s=[],u=0,c=i;u<c.length;u++){var h=c[u];s.push({seg:e[h.index],rect:h})}for(var d=0,f=o;d<f.length;d++){var p=f[d];s.push({seg:p,rect:null})}return{segPlacements:s,hiddenGroups:n}}(e,te(e,o,a,t),i,n),o=r.segPlacements,a=r.hiddenGroups;return v.createElement(v.Fragment,null,this.renderHiddenGroups(a,e),o.map(function(e){var t=e.seg,e=e.rect,n=t.eventRange.instance.instanceId,i=m||Boolean(!l[n]&&e),r=E(e&&e.span),o=!m&&e?h.computeSegHStyle(e):{left:0,right:0},a=Boolean(e)&&0<e.stackForward,e=Boolean(e)&&e.span.end-e.span.start<d;return v.createElement("div",{className:"fc-timegrid-event-harness"+(a?" fc-timegrid-event-harness-inset":""),key:n,style:y.__assign(y.__assign({visibility:i?"":"hidden"},r),o)},v.createElement(ie,y.__assign({seg:t,isDragging:s,isResizing:u,isDateSelecting:c,isSelected:n===f,isShort:e},v.getSegMeta(t,p,g))))}))},C.prototype.renderHiddenGroups=function(e,i){var t=this.props,r=t.extraDateSpan,o=t.dateProfile,a=t.todayRange,l=t.nowDate,s=t.eventSelection,u=t.eventDrag,c=t.eventResize;return v.createElement(v.Fragment,null,e.map(function(e){var t,n=E(e.span),e=(e=e.entries,t=i,e.map(function(e){return t[e.index]}));return v.createElement(X,{key:v.buildIsoString(v.computeEarliestSegStart(e)),hiddenSegs:e,top:n.top,bottom:n.bottom,extraDateSpan:r,dateProfile:o,todayRange:a,nowDate:l,eventSelection:s,eventDrag:u,eventResize:c})}))},C.prototype.renderFillSegs=function(n,i){var r=this.props,e=this.context,e=te(n,r.date,r.slatCoords,e.options.eventMinHeight).map(function(e,t){t=n[t];return v.createElement("div",{key:v.buildEventRangeKey(t.eventRange),className:"fc-timegrid-bg-harness",style:E(e)},"bg-event"===i?v.createElement(v.BgEvent,y.__assign({seg:t},v.getSegMeta(t,r.todayRange,r.nowDate))):v.renderFill(i))});return v.createElement(v.Fragment,null,e)},C.prototype.renderNowIndicator=function(e){var t=this.props,o=t.slatCoords,a=t.date;return o?e.map(function(r,e){return v.createElement(v.NowIndicatorRoot,{isAxis:!1,date:a,key:e},function(e,t,n,i){return v.createElement("div",{ref:e,className:["fc-timegrid-now-indicator-line"].concat(t).join(" "),style:{top:o.computeDateTop(r.start,a)}},i)})}):null},C.prototype.computeSegHStyle=function(e){var t,n=this.context,i=n.isRtl,n=n.options.slotEventOverlap,r=e.levelCoord,o=e.levelCoord+e.thickness,o=(n&&(o=Math.min(1,r+2*(o-r))),r=i?(t=1-o,r):(t=r,1-o),{zIndex:e.stackDepth+1,left:100*t+"%",right:100*r+"%"});return n&&!e.stackForward&&(o[i?"marginLeft":"marginRight"]=20),o};var S,oe=C;function C(){var e=null!==S&&S.apply(this,arguments)||this;return e.sortEventSegs=v.memoize(v.sortEventSegs),e}function ae(e,t){var n=t.todayRange,i=t.nowDate,r=t.eventSelection,o=t.eventDrag,t=t.eventResize,a=(o?o.affectedInstances:null)||(t?t.affectedInstances:null)||{};return v.createElement(v.Fragment,null,e.map(function(e){var t=e.eventRange.instance.instanceId;return v.createElement("div",{key:t,style:{visibility:a[t]?"hidden":""}},v.createElement(ie,y.__assign({seg:e,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:t===r,isShort:!1},v.getSegMeta(e,n,i))))}))}function E(e){return e?{top:e.start,bottom:-e.end}:{top:"",bottom:""}}k=v.BaseComponent,y.__extends(M,k),M.prototype.render=function(){var n=this,i=this.props,r=this.context.options.nowIndicator&&i.slatCoords&&i.slatCoords.safeComputeTop(i.nowDate),e=i.cells.length,o=this.splitFgEventSegs(i.fgEventSegs,e),a=this.splitBgEventSegs(i.bgEventSegs,e),l=this.splitBusinessHourSegs(i.businessHourSegs,e),s=this.splitNowIndicatorSegs(i.nowIndicatorSegs,e),u=this.splitDateSelectionSegs(i.dateSelectionSegs,e),c=this.splitEventDrag(i.eventDrag,e),h=this.splitEventResize(i.eventResize,e);return v.createElement("div",{className:"fc-timegrid-cols",ref:this.rootElRef},v.createElement("table",{role:"presentation",style:{minWidth:i.tableMinWidth,width:i.clientWidth}},i.tableColGroupNode,v.createElement("tbody",{role:"presentation"},v.createElement("tr",{role:"row"},i.axis&&v.createElement("td",{"aria-hidden":!0,className:"fc-timegrid-col fc-timegrid-axis"},v.createElement("div",{className:"fc-timegrid-col-frame"},v.createElement("div",{className:"fc-timegrid-now-indicator-container"},"number"==typeof r&&v.createElement(v.NowIndicatorRoot,{isAxis:!0,date:i.nowDate},function(e,t,n,i){return v.createElement("div",{ref:e,className:["fc-timegrid-now-indicator-arrow"].concat(t).join(" "),style:{top:r}},i)})))),i.cells.map(function(e,t){return v.createElement(oe,{key:e.key,elRef:n.cellElRefs.createRef(e.key),dateProfile:i.dateProfile,date:e.date,nowDate:i.nowDate,todayRange:i.todayRange,extraHookProps:e.extraHookProps,extraDataAttrs:e.extraDataAttrs,extraClassNames:e.extraClassNames,extraDateSpan:e.extraDateSpan,fgEventSegs:o[t],bgEventSegs:a[t],businessHourSegs:l[t],nowIndicatorSegs:s[t],dateSelectionSegs:u[t],eventDrag:c[t],eventResize:h[t],slatCoords:i.slatCoords,eventSelection:i.eventSelection,forPrint:i.forPrint})})))))},M.prototype.componentDidMount=function(){this.updateCoords()},M.prototype.componentDidUpdate=function(){this.updateCoords()},M.prototype.updateCoords=function(){var t,e=this.props;e.onColCoords&&null!==e.clientWidth&&e.onColCoords(new v.PositionCache(this.rootElRef.current,(t=this.cellElRefs.currentMap,e.cells.map(function(e){return t[e.key]})),!0,!1))};var k,le=M;function M(){var e=null!==k&&k.apply(this,arguments)||this;return e.splitFgEventSegs=v.memoize(f),e.splitBgEventSegs=v.memoize(f),e.splitBusinessHourSegs=v.memoize(f),e.splitNowIndicatorSegs=v.memoize(f),e.splitDateSelectionSegs=v.memoize(f),e.splitEventDrag=v.memoize(G),e.splitEventResize=v.memoize(G),e.rootElRef=v.createRef(),e.cellElRefs=new v.RefMap,e}D=v.DateComponent,y.__extends(T,D),T.prototype.render=function(){var e=this.props,t=this.state;return v.createElement("div",{className:"fc-timegrid-body",ref:this.handleRootEl,style:{width:e.clientWidth,minWidth:e.tableMinWidth}},v.createElement(Z,{axis:e.axis,dateProfile:e.dateProfile,slatMetas:e.slatMetas,clientWidth:e.clientWidth,minHeight:e.expandRows?e.clientHeight:"",tableMinWidth:e.tableMinWidth,tableColGroupNode:e.axis?e.tableColGroupNode:null,onCoords:this.handleSlatCoords}),v.createElement(le,{cells:e.cells,axis:e.axis,dateProfile:e.dateProfile,businessHourSegs:e.businessHourSegs,bgEventSegs:e.bgEventSegs,fgEventSegs:e.fgEventSegs,dateSelectionSegs:e.dateSelectionSegs,eventSelection:e.eventSelection,eventDrag:e.eventDrag,eventResize:e.eventResize,todayRange:e.todayRange,nowDate:e.nowDate,nowIndicatorSegs:e.nowIndicatorSegs,clientWidth:e.clientWidth,tableMinWidth:e.tableMinWidth,tableColGroupNode:e.tableColGroupNode,slatCoords:t.slatCoords,onColCoords:this.handleColCoords,forPrint:e.forPrint}))},T.prototype.componentDidMount=function(){this.scrollResponder=this.context.createScrollResponder(this.handleScrollRequest)},T.prototype.componentDidUpdate=function(e){this.scrollResponder.update(e.dateProfile!==this.props.dateProfile)},T.prototype.componentWillUnmount=function(){this.scrollResponder.detach()},T.prototype.queryHit=function(e,t){var n,i,r,o=this.context,a=o.dateEnv,o=o.options,l=this.colCoords,s=this.props.dateProfile,u=this.state.slatCoords,o=this.processSlotOptions(this.props.slotDuration,o.snapDuration),c=o.snapDuration,o=o.snapsPerSlot,e=l.leftToIndex(e),h=u.positions.topToIndex(t);return null!=e&&null!=h?(n=this.props.cells[e],i=u.positions.tops[h],u=u.positions.getHeight(h),t=Math.floor((t-i)/u*o),r=this.props.cells[e].date,h=v.addDurations(s.slotMinTime,v.multiplyDuration(c,h*o+t)),o=a.add(r,h),t=a.add(o,c),{dateProfile:s,dateSpan:y.__assign({range:{start:o,end:t},allDay:!1},n.extraDateSpan),dayEl:l.els[e],rect:{left:l.lefts[e],right:l.rights[e],top:i,bottom:i+u},layer:0}):null};var D,se=T;function T(){var i=null!==D&&D.apply(this,arguments)||this;return i.processSlotOptions=v.memoize(ue),i.state={slatCoords:null},i.handleRootEl=function(e){e?i.context.registerInteractiveComponent(i,{el:e,isHitComboAllowed:i.props.isHitComboAllowed}):i.context.unregisterInteractiveComponent(i)},i.handleScrollRequest=function(e){var t=i.props.onScrollTopRequest,n=i.state.slatCoords;return!(!t||!n)&&(e.time&&(n=n.computeTimeTop(e.time),(n=Math.ceil(n))&&(n+=1),t(n)),!0)},i.handleColCoords=function(e){i.colCoords=e},i.handleSlatCoords=function(e){i.setState({slatCoords:e}),i.props.onSlatCoords&&i.props.onSlatCoords(e)},i}function ue(e,t){var t=t||e,n=v.wholeDivideDurations(e,t);return null===n&&(t=e,n=1),{snapDuration:t,snapsPerSlot:n}}R=v.Slicer,y.__extends(A,R),A.prototype.sliceRange=function(e,t){for(var n=[],i=0;i<t.length;i+=1){var r=v.intersectRanges(e,t[i]);r&&n.push({start:r.start,end:r.end,isStart:r.start.valueOf()===e.start.valueOf(),isEnd:r.end.valueOf()===e.end.valueOf(),col:i})}return n};var R,ce=A;function A(){return null!==R&&R.apply(this,arguments)||this}O=v.DateComponent,y.__extends(P,O),P.prototype.render=function(){var n=this,i=this.props,r=this.context,o=i.dateProfile,a=i.dayTableModel,l=r.options.nowIndicator,s=this.buildDayRanges(a,o,r.dateEnv);return v.createElement(v.NowTimer,{unit:l?"minute":"day"},function(e,t){return v.createElement(se,y.__assign({ref:n.timeColsRef},n.slicer.sliceProps(i,o,null,r,s),{forPrint:i.forPrint,axis:i.axis,dateProfile:o,slatMetas:i.slatMetas,slotDuration:i.slotDuration,cells:a.cells[0],tableColGroupNode:i.tableColGroupNode,tableMinWidth:i.tableMinWidth,clientWidth:i.clientWidth,clientHeight:i.clientHeight,expandRows:i.expandRows,nowDate:e,nowIndicatorSegs:l&&n.slicer.sliceNowDate(e,r,s),todayRange:t,onScrollTopRequest:i.onScrollTopRequest,onSlatCoords:i.onSlatCoords}))})};var O,he=P;function P(){var e=null!==O&&O.apply(this,arguments)||this;return e.buildDayRanges=v.memoize(de),e.slicer=new ce,e.timeColsRef=v.createRef(),e}function de(e,t,n){for(var i=[],r=0,o=e.headerDates;r<o.length;r++){var a=o[r];i.push({start:n.add(a,t.slotMinTime),end:n.add(a,t.slotMaxTime)})}return i}var fe=[{hours:1},{minutes:30},{minutes:15},{seconds:30},{seconds:15}];function pe(e,t,n,i,r){for(var o=new Date(0),a=e,l=v.createDuration(0),s=n||function(e){var t,n,i;for(t=fe.length-1;0<=t;--t)if(n=v.createDuration(fe[t]),null!==(i=v.wholeDivideDurations(n,e))&&1<i)return n;return e}(i),u=[];v.asRoughMs(a)<v.asRoughMs(t);){var c=r.add(o,a),h=null!==v.wholeDivideDurations(l,s);u.push({date:c,time:a,key:c.toISOString(),isoTimeStr:v.formatIsoTimeString(c),isLabeled:h}),a=v.addDurations(a,i),l=v.addDurations(l,i)}return u}I=e,y.__extends(N,I),N.prototype.render=function(){function e(e){return v.createElement(he,y.__assign({},s.timed,{dayTableModel:l,dateProfile:a,axis:c,slotDuration:i.slotDuration,slatMetas:u,forPrint:o.forPrint,tableColGroupNode:e.tableColGroupNode,tableMinWidth:e.tableMinWidth,clientWidth:e.clientWidth,clientHeight:e.clientHeight,onSlatCoords:t.handleSlatCoords,expandRows:e.expandRows,onScrollTopRequest:t.handleScrollTopRequest}))}var t=this,n=this.context,i=n.options,r=n.dateEnv,n=n.dateProfileGenerator,o=this.props,a=o.dateProfile,l=this.buildTimeColsModel(a,n),s=this.allDaySplitter.splitProps(o),u=this.buildSlatMetas(a.slotMinTime,a.slotMaxTime,i.slotLabelInterval,i.slotDuration,r),n=i.dayMinWidth,c=!n,r=n,h=i.dayHeaders&&v.createElement(v.DayHeader,{dates:l.headerDates,dateProfile:a,datesRepDistinctDays:!0,renderIntro:c?this.renderHeadAxis:null}),d=!1!==i.allDaySlot&&function(e){return v.createElement(H.DayTable,y.__assign({},s.allDay,{dateProfile:a,dayTableModel:l,nextDayThreshold:i.nextDayThreshold,tableMinWidth:e.tableMinWidth,colGroupNode:e.tableColGroupNode,renderRowIntro:c?t.renderTableRowAxis:null,showWeekNumbers:!1,expandRows:!1,headerAlignElRef:t.headerElRef,clientWidth:e.clientWidth,clientHeight:e.clientHeight,forPrint:o.forPrint},t.getAllDayMaxEventProps()))};return r?this.renderHScrollLayout(h,d,e,l.colCnt,n,u,this.state.slatCoords):this.renderSimpleLayout(h,d,e)};var I,ge=N;function N(){var e=null!==I&&I.apply(this,arguments)||this;return e.buildTimeColsModel=v.memoize(me),e.buildSlatMetas=v.memoize(pe),e}function me(e,t){e=new v.DaySeriesModel(e.renderRange,t);return new v.DayTableModel(e,!1)}var ve={allDaySlot:Boolean},ve=v.createPlugin({initialView:"timeGridWeek",optionRefiners:ve,views:{timeGrid:{component:ge,usesMinMaxTime:!0,allDaySlot:!0,slotDuration:"00:30:00",slotEventOverlap:!0},timeGridDay:{type:"timeGrid",duration:{days:1}},timeGridWeek:{type:"timeGrid",duration:{weeks:1}}}});t.DayTimeCols=he,t.DayTimeColsSlicer=ce,t.DayTimeColsView=ge,t.TimeCols=se,t.TimeColsSlatsCoords=U,t.TimeColsView=e,t.buildDayRanges=de,t.buildSlatMetas=pe,t.buildTimeColsModel=me,t.default=ve},{"@fullcalendar/common":1,"@fullcalendar/daygrid":5,tslib:32}],9:[function(e,t,Ee){!function(M){"use strict";function b(e){return null==e?window:"[object Window]"!==e.toString()?(t=e.ownerDocument)&&t.defaultView||window:e;var t}function g(e){return e instanceof b(e).Element||e instanceof Element}function s(e){return e instanceof b(e).HTMLElement||e instanceof HTMLElement}function o(e){if("undefined"!=typeof ShadowRoot)return e instanceof b(e).ShadowRoot||e instanceof ShadowRoot}Object.defineProperty(Ee,"__esModule",{value:!0});var k=Math.max,D=Math.min,_=Math.round;function c(e,t){void 0===t&&(t=!1);var n=e.getBoundingClientRect(),i=1,r=1;return s(e)&&t&&(t=e.offsetHeight,0<(e=e.offsetWidth)&&(i=_(n.width)/e||1),0<t&&(r=_(n.height)/t||1)),{width:n.width/i,height:n.height/r,top:n.top/r,right:n.right/i,bottom:n.bottom/r,left:n.left/i,x:n.left/i,y:n.top/r}}function u(e){e=b(e);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function h(e){return e?(e.nodeName||"").toLowerCase():null}function w(e){return((g(e)?e.ownerDocument:e.document)||window.document).documentElement}function d(e){return c(w(e)).left+u(e).scrollLeft}function x(e){return b(e).getComputedStyle(e)}function f(e){var e=x(e),t=e.overflow,n=e.overflowX,e=e.overflowY;return/auto|scroll|overlay|hidden/.test(t+e+n)}function E(e,t,n){void 0===n&&(n=!1);var i=s(t),r=s(t)&&(a=(r=t).getBoundingClientRect(),o=_(a.width)/r.offsetWidth||1,a=_(a.height)/r.offsetHeight||1,1!==o||1!==a),o=w(t),a=c(e,r),e={scrollLeft:0,scrollTop:0},l={x:0,y:0};return!i&&n||("body"===h(t)&&!f(o)||(e=(i=t)!==b(i)&&s(i)?{scrollLeft:i.scrollLeft,scrollTop:i.scrollTop}:u(i)),s(t)?((l=c(t,!0)).x+=t.clientLeft,l.y+=t.clientTop):o&&(l.x=d(o))),{x:a.left+e.scrollLeft-l.x,y:a.top+e.scrollTop-l.y,width:a.width,height:a.height}}function T(e){var t=c(e),n=e.offsetWidth,i=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-i)<=1&&(i=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:i}}function a(e){return"html"===h(e)?e:e.assignedSlot||e.parentNode||(o(e)?e.host:null)||w(e)}function m(e,t){void 0===t&&(t=[]);var n=function e(t){return 0<=["html","body","#document"].indexOf(h(t))?t.ownerDocument.body:s(t)&&f(t)?t:e(a(t))}(e),e=n===(null==(e=e.ownerDocument)?void 0:e.body),i=b(n),i=e?[i].concat(i.visualViewport||[],f(n)?n:[]):n,n=t.concat(i);return e?n:n.concat(m(a(i)))}function r(e){return s(e)&&"fixed"!==x(e).position?e.offsetParent:null}function R(e){for(var t,n=b(e),i=r(e);i&&(t=i,0<=["table","td","th"].indexOf(h(t)))&&"static"===x(i).position;)i=r(i);return(!i||"html"!==h(i)&&("body"!==h(i)||"static"!==x(i).position))&&(i||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox"),n=-1!==navigator.userAgent.indexOf("Trident");if(!n||!s(e)||"fixed"!==x(e).position){var i=a(e);for(o(i)&&(i=i.host);s(i)&&["html","body"].indexOf(h(i))<0;){var r=x(i);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return i;i=i.parentNode}}return null}(e))||n}var A="top",O="bottom",P="right",I="left",N="auto",L=[A,O,P,I],H="start",S="end",B="clippingParents",Y="viewport",p="popper",U="reference",q=L.reduce(function(e,t){return e.concat([t+"-"+H,t+"-"+S])},[]),Z=[].concat(L,[N]).reduce(function(e,t){return e.concat([t,t+"-"+H,t+"-"+S])},[]),G=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function X(e){var n=new Map,i=new Set,r=[];return e.forEach(function(e){n.set(e.name,e)}),e.forEach(function(e){i.has(e.name)||!function t(e){i.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach(function(e){i.has(e)||(e=n.get(e))&&t(e)}),r.push(e)}(e)}),r}function v(e){for(var t=arguments.length,n=new Array(1<t?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];return[].concat(n).reduce(function(e,t){return e.replace(/%s/,t)},e)}var y='Popper: modifier "%s" provided an invalid %s property, expected %s but got %s',$='Popper: modifier "%s" requires "%s", but "%s" modifier is not available',K=["name","enabled","phase","fn","effect","requires","options"];function W(e){return e.split("-")[0]}function l(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&o(n)){var i=t;do{if(i&&e.isSameNode(i))return!0}while(i=i.parentNode||i.host)}return!1}function Q(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function J(e,t){return t===Y?Q((i=b(n=e),r=w(n),i=i.visualViewport,o=r.clientWidth,r=r.clientHeight,l=a=0,i&&(o=i.width,r=i.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=i.offsetLeft,l=i.offsetTop)),{width:o,height:r,x:a+d(n),y:l})):g(t)?((o=c(i=t)).top=o.top+i.clientTop,o.left=o.left+i.clientLeft,o.bottom=o.top+i.clientHeight,o.right=o.left+i.clientWidth,o.width=i.clientWidth,o.height=i.clientHeight,o.x=o.left,o.y=o.top,o):Q((r=w(e),a=w(r),n=u(r),l=null==(l=r.ownerDocument)?void 0:l.body,t=k(a.scrollWidth,a.clientWidth,l?l.scrollWidth:0,l?l.clientWidth:0),e=k(a.scrollHeight,a.clientHeight,l?l.scrollHeight:0,l?l.clientHeight:0),r=-n.scrollLeft+d(r),n=-n.scrollTop,"rtl"===x(l||a).direction&&(r+=k(a.clientWidth,l?l.clientWidth:0)-t),{width:t,height:e,x:r,y:n}));var n,i,r,o,a,l}function ee(n,e,t){var i,r="clippingParents"===e?(o=m(a(r=n)),g(i=0<=["absolute","fixed"].indexOf(x(r).position)&&s(r)?R(r):r)?o.filter(function(e){return g(e)&&l(e,i)&&"body"!==h(e)}):[]):[].concat(e),o=[].concat(r,[t]),e=o[0],t=o.reduce(function(e,t){t=J(n,t);return e.top=k(t.top,e.top),e.right=D(t.right,e.right),e.bottom=D(t.bottom,e.bottom),e.left=k(t.left,e.left),e},J(n,e));return t.width=t.right-t.left,t.height=t.bottom-t.top,t.x=t.left,t.y=t.top,t}function j(e){return e.split("-")[1]}function te(e){return 0<=["top","bottom"].indexOf(e)?"x":"y"}function ne(e){var t,n=e.reference,i=e.element,e=e.placement,r=e?W(e):null,e=e?j(e):null,o=n.x+n.width/2-i.width/2,a=n.y+n.height/2-i.height/2;switch(r){case A:t={x:o,y:n.y-i.height};break;case O:t={x:o,y:n.y+n.height};break;case P:t={x:n.x+n.width,y:a};break;case I:t={x:n.x-i.width,y:a};break;default:t={x:n.x,y:n.y}}var l=r?te(r):null;if(null!=l){var s="y"===l?"height":"width";switch(e){case H:t[l]=t[l]-(n[s]/2-i[s]/2);break;case S:t[l]=t[l]+(n[s]/2-i[s]/2)}}return t}function ie(){return{top:0,right:0,bottom:0,left:0}}function re(e){return Object.assign({},ie(),e)}function oe(n,e){return e.reduce(function(e,t){return e[t]=n,e},{})}function F(e,t){var i,t=t=void 0===t?{}:t,n=t.placement,n=void 0===n?e.placement:n,r=t.boundary,r=void 0===r?B:r,o=t.rootBoundary,o=void 0===o?Y:o,a=t.elementContext,a=void 0===a?p:a,l=t.altBoundary,l=void 0!==l&&l,t=t.padding,t=void 0===t?0:t,t=re("number"!=typeof t?t:oe(t,L)),s=e.rects.popper,l=e.elements[l?a===p?U:p:a],l=ee(g(l)?l:l.contextElement||w(e.elements.popper),r,o),r=c(e.elements.reference),o=ne({reference:r,element:s,strategy:"absolute",placement:n}),s=Q(Object.assign({},s,o)),o=a===p?s:r,u={top:l.top-o.top+t.top,bottom:o.bottom-l.bottom+t.bottom,left:l.left-o.left+t.left,right:o.right-l.right+t.right},s=e.modifiersData.offset;return a===p&&s&&(i=s[n],Object.keys(u).forEach(function(e){var t=0<=[P,O].indexOf(e)?1:-1,n=0<=[A,O].indexOf(e)?"y":"x";u[e]+=i[n]*t})),u}var ae="Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.",le={placement:"bottom",modifiers:[],strategy:"absolute"};function se(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(e){return!(e&&"function"==typeof e.getBoundingClientRect)})}function e(e){var e=e=void 0===e?{}:e,t=e.defaultModifiers,f=void 0===t?[]:t,t=e.defaultOptions,p=void 0===t?le:t;return function(a,l,t){void 0===t&&(t=p);var n,i,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},le,p),modifiersData:{},elements:{reference:a,popper:l},attributes:{},styles:{}},u=[],c=!1,h={state:s,setOptions:function(e){var n,t,i,r,o,e="function"==typeof e?e(s.options):e,e=(d(),s.options=Object.assign({},p,s.options,e),s.scrollParents={reference:g(a)?m(a):a.contextElement?m(a.contextElement):[],popper:m(l)},e=[].concat(f,s.options.modifiers),t=e.reduce(function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e},{}),e=Object.keys(t).map(function(e){return t[e]}),n=X(e),G.reduce(function(e,t){return e.concat(n.filter(function(e){return e.phase===t}))},[]));return s.orderedModifiers=e.filter(function(e){return e.enabled}),"production"!==M.env.NODE_ENV&&(e=[].concat(e,s.options.modifiers),r=function(e){return e.name},o=new Set,e=e.filter(function(e){e=r(e);if(!o.has(e))return o.add(e),!0}),(i=e).forEach(function(n){[].concat(Object.keys(n),K).filter(function(e,t,n){return n.indexOf(e)===t}).forEach(function(e){switch(e){case"name":"string"!=typeof n.name&&console.error(v(y,String(n.name),'"name"','"string"','"'+String(n.name)+'"'));break;case"enabled":"boolean"!=typeof n.enabled&&console.error(v(y,n.name,'"enabled"','"boolean"','"'+String(n.enabled)+'"'));break;case"phase":G.indexOf(n.phase)<0&&console.error(v(y,n.name,'"phase"',"either "+G.join(", "),'"'+String(n.phase)+'"'));break;case"fn":"function"!=typeof n.fn&&console.error(v(y,n.name,'"fn"','"function"','"'+String(n.fn)+'"'));break;case"effect":null!=n.effect&&"function"!=typeof n.effect&&console.error(v(y,n.name,'"effect"','"function"','"'+String(n.fn)+'"'));break;case"requires":null==n.requires||Array.isArray(n.requires)||console.error(v(y,n.name,'"requires"','"array"','"'+String(n.requires)+'"'));break;case"requiresIfExists":Array.isArray(n.requiresIfExists)||console.error(v(y,n.name,'"requiresIfExists"','"array"','"'+String(n.requiresIfExists)+'"'));break;case"options":case"data":break;default:console.error('PopperJS: an invalid property has been provided to the "'+n.name+'" modifier, valid properties are '+K.map(function(e){return'"'+e+'"'}).join(", ")+'; but "'+e+'" was provided.')}n.requires&&n.requires.forEach(function(t){null==i.find(function(e){return e.name===t})&&console.error(v($,String(n.name),t,t))})})}),W(s.options.placement)!==N||s.orderedModifiers.find(function(e){return"flip"===e.name})||console.error(['Popper: "auto" placements require the "flip" modifier be',"present and enabled to work."].join(" ")),[(e=x(l)).marginTop,e.marginRight,e.marginBottom,e.marginLeft].some(function(e){return parseFloat(e)})&&console.warn(['Popper: CSS "margin" styles cannot be used to apply padding',"between the popper and its reference element or boundary.","To replicate margin, use the `offset` modifier, as well as","the `padding` option in the `preventOverflow` and `flip`","modifiers."].join(" "))),s.orderedModifiers.forEach(function(e){var t=e.name,n=e.options,e=e.effect;"function"==typeof e&&(e=e({state:s,name:t,instance:h,options:void 0===n?{}:n}),u.push(e||function(){}))}),h.update()},forceUpdate:function(){if(!c){var e=s.elements,t=e.reference,e=e.popper;if(se(t,e)){s.rects={reference:E(t,R(e),"fixed"===s.options.strategy),popper:T(e)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach(function(e){return s.modifiersData[e.name]=Object.assign({},e.data)});for(var n,i,r,o=0,a=0;a<s.orderedModifiers.length;a++){if("production"!==M.env.NODE_ENV&&100<(o+=1)){console.error("Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.");break}!0===s.reset?(s.reset=!1,a=-1):(n=(r=s.orderedModifiers[a]).fn,i=r.options,r=r.name,"function"==typeof n&&(s=n({state:s,options:void 0===i?{}:i,name:r,instance:h})||s))}}else"production"!==M.env.NODE_ENV&&console.error(ae)}},update:(n=function(){return new Promise(function(e){h.forceUpdate(),e(s)})},function(){return i=i||new Promise(function(e){Promise.resolve().then(function(){i=void 0,e(n())})})}),destroy:function(){d(),c=!0}};return se(a,l)?h.setOptions(t).then(function(e){!c&&t.onFirstUpdate&&t.onFirstUpdate(e)}):"production"!==M.env.NODE_ENV&&console.error(ae),h;function d(){u.forEach(function(e){return e()}),u=[]}}}var C={passive:!0};var t={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,i=(e=e.options).scroll,r=void 0===i||i,o=void 0===(i=e.resize)||i,a=b(t.elements.popper),l=[].concat(t.scrollParents.reference,t.scrollParents.popper);return r&&l.forEach(function(e){e.addEventListener("scroll",n.update,C)}),o&&a.addEventListener("resize",n.update,C),function(){r&&l.forEach(function(e){e.removeEventListener("scroll",n.update,C)}),o&&a.removeEventListener("resize",n.update,C)}},data:{}};var n={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,e=e.name;t.modifiersData[e]=ne({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},ue={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ce(e){var t,n,i,r=e.popper,o=e.popperRect,a=e.placement,l=e.variation,s=e.offsets,u=e.position,c=e.gpuAcceleration,h=e.adaptive,d=e.roundOffsets,e=e.isFixed,f=s.x,f=void 0===f?0:f,p=s.y,p=void 0===p?0:p,g="function"==typeof d?d({x:f,y:p}):{x:f,y:p},g=(f=g.x,p=g.y,s.hasOwnProperty("x")),s=s.hasOwnProperty("y"),m=I,v=A,y=window,r=(h&&(n="clientHeight",t="clientWidth",(i=R(r))===b(r)&&"static"!==x(i=w(r)).position&&"absolute"===u&&(n="scrollHeight",t="scrollWidth"),a!==A&&(a!==I&&a!==P||l!==S)||(v=O,p=(p-((e&&i===y&&y.visualViewport?y.visualViewport.height:i[n])-o.height))*(c?1:-1)),a!==I&&(a!==A&&a!==O||l!==S)||(m=P,f=(f-((e&&i===y&&y.visualViewport?y.visualViewport.width:i[t])-o.width))*(c?1:-1))),Object.assign({position:u},h&&ue)),e=!0===d?(a=(n={x:f,y:p}).x,n=n.y,l=window.devicePixelRatio||1,{x:_(a*l)/l||0,y:_(n*l)/l||0}):{x:f,y:p};return f=e.x,p=e.y,c?Object.assign({},r,((i={})[v]=s?"0":"",i[m]=g?"0":"",i.transform=(y.devicePixelRatio||1)<=1?"translate("+f+"px, "+p+"px)":"translate3d("+f+"px, "+p+"px, 0)",i)):Object.assign({},r,((t={})[v]=s?p+"px":"",t[m]=g?f+"px":"",t.transform="",t))}var i={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t,n=e.state,e=e.options,i=void 0===(i=e.gpuAcceleration)||i,r=void 0===(r=e.adaptive)||r,e=void 0===(e=e.roundOffsets)||e,i=("production"!==M.env.NODE_ENV&&(t=x(n.elements.popper).transitionProperty||"",r&&["transform","top","right","bottom","left"].some(function(e){return 0<=t.indexOf(e)})&&console.warn(["Popper: Detected CSS transitions on at least one of the following",'CSS properties: "transform", "top", "right", "bottom", "left".',"\n\n",'Disable the "computeStyles" modifier\'s `adaptive` option to allow',"for smooth transitions, or remove these properties from the CSS","transition declaration on the popper element if only transitioning","opacity or background-color for example.","\n\n","We recommend using the popper element as a wrapper around an inner","element that can have any CSS property transitioned for animations."].join(" "))),{placement:W(n.placement),variation:j(n.placement),popper:n.elements.popper,popperRect:n.rects.popper,gpuAcceleration:i,isFixed:"fixed"===n.options.strategy});null!=n.modifiersData.popperOffsets&&(n.styles.popper=Object.assign({},n.styles.popper,ce(Object.assign({},i,{offsets:n.modifiersData.popperOffsets,position:n.options.strategy,adaptive:r,roundOffsets:e})))),null!=n.modifiersData.arrow&&(n.styles.arrow=Object.assign({},n.styles.arrow,ce(Object.assign({},i,{offsets:n.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:e})))),n.attributes.popper=Object.assign({},n.attributes.popper,{"data-popper-placement":n.placement})},data:{}};var he={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var r=e.state;Object.keys(r.elements).forEach(function(e){var t=r.styles[e]||{},n=r.attributes[e]||{},i=r.elements[e];s(i)&&h(i)&&(Object.assign(i.style,t),Object.keys(n).forEach(function(e){var t=n[e];!1===t?i.removeAttribute(e):i.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var i=e.state,r={popper:{position:i.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(i.elements.popper.style,r.popper),i.styles=r,i.elements.arrow&&Object.assign(i.elements.arrow.style,r.arrow),function(){Object.keys(i.elements).forEach(function(e){var t=i.elements[e],n=i.attributes[e]||{},e=Object.keys((i.styles.hasOwnProperty(e)?i.styles:r)[e]).reduce(function(e,t){return e[t]="",e},{});s(t)&&h(t)&&(Object.assign(t.style,e),Object.keys(n).forEach(function(e){t.removeAttribute(e)}))})}},requires:["computeStyles"]};var de={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var a=e.state,t=e.options,e=e.name,l=void 0===(t=t.offset)?[0,0]:t,t=Z.reduce(function(e,t){var n,i,r,o;return e[t]=(t=t,n=a.rects,i=l,r=W(t),o=0<=[I,A].indexOf(r)?-1:1,t=(n="function"==typeof i?i(Object.assign({},n,{placement:t})):i)[0]||0,i=(n[1]||0)*o,0<=[I,P].indexOf(r)?{x:i,y:t}:{x:t,y:i}),e},{}),n=(i=t[a.placement]).x,i=i.y;null!=a.modifiersData.popperOffsets&&(a.modifiersData.popperOffsets.x+=n,a.modifiersData.popperOffsets.y+=i),a.modifiersData[e]=t}},fe={left:"right",right:"left",bottom:"top",top:"bottom"};function z(e){return e.replace(/left|right|bottom|top/g,function(e){return fe[e]})}var pe={start:"end",end:"start"};function ge(e){return e.replace(/start|end/g,function(e){return pe[e]})}var me={name:"flip",enabled:!0,phase:"main",fn:function(e){var h=e.state,t=e.options,e=e.name;if(!h.modifiersData[e]._skip){for(var n=t.mainAxis,i=void 0===n||n,n=t.altAxis,r=void 0===n||n,n=t.fallbackPlacements,d=t.padding,f=t.boundary,p=t.rootBoundary,o=t.altBoundary,a=t.flipVariations,g=void 0===a||a,m=t.allowedAutoPlacements,a=h.options.placement,t=W(a),n=n||(t===a||!g?[z(a)]:function(e){if(W(e)===N)return[];var t=z(e);return[ge(e),t,ge(t)]}(a)),l=[a].concat(n).reduce(function(e,t){return e.concat(W(t)===N?(n=h,i=(e=e=void 0===(e={placement:t,boundary:f,rootBoundary:p,padding:d,flipVariations:g,allowedAutoPlacements:m})?{}:e).placement,r=e.boundary,o=e.rootBoundary,a=e.padding,l=e.flipVariations,s=void 0===(e=e.allowedAutoPlacements)?Z:e,u=j(i),e=u?l?q:q.filter(function(e){return j(e)===u}):L,0===(i=e.filter(function(e){return 0<=s.indexOf(e)})).length&&(i=e,"production"!==M.env.NODE_ENV&&console.error(["Popper: The `allowedAutoPlacements` option did not allow any","placements. Ensure the `placement` option matches the variation","of the allowed placements.",'For example, "auto" cannot be used to allow "bottom-start".','Use "auto-start" instead.'].join(" "))),c=i.reduce(function(e,t){return e[t]=F(n,{placement:t,boundary:r,rootBoundary:o,padding:a})[W(t)],e},{}),Object.keys(c).sort(function(e,t){return c[e]-c[t]})):t);var n,i,r,o,a,l,s,u,c},[]),s=h.rects.reference,u=h.rects.popper,c=new Map,v=!0,y=l[0],b=0;b<l.length;b++){var _=l[b],w=W(_),x=j(_)===H,S=0<=[A,O].indexOf(w),C=S?"width":"height",E=F(h,{placement:_,boundary:f,rootBoundary:p,altBoundary:o,padding:d}),S=S?x?P:I:x?O:A,x=(s[C]>u[C]&&(S=z(S)),z(S)),C=[];if(i&&C.push(E[w]<=0),r&&C.push(E[S]<=0,E[x]<=0),C.every(function(e){return e})){y=_,v=!1;break}c.set(_,C)}if(v)for(var k=g?3:1;0<k;k--)if("break"===function(t){var e=l.find(function(e){e=c.get(e);if(e)return e.slice(0,t).every(function(e){return e})});if(e)return y=e,"break"}(k))break;h.placement!==y&&(h.modifiersData[e]._skip=!0,h.placement=y,h.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function V(e,t,n){return k(e,D(t,n))}var ve={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t,n,i,r,o,a,l,s,u,c=e.state,h=e.options,e=e.name,d=void 0===(d=h.mainAxis)||d,f=void 0!==(f=h.altAxis)&&f,p=h.boundary,g=h.rootBoundary,m=h.altBoundary,v=h.padding,y=void 0===(y=h.tether)||y,h=void 0===(h=h.tetherOffset)?0:h,p=F(c,{boundary:p,rootBoundary:g,padding:v,altBoundary:m}),g=W(c.placement),m=!(v=j(c.placement)),b=te(g),_="x"===b?"y":"x",w=c.modifiersData.popperOffsets,x=c.rects.reference,S=c.rects.popper,h="number"==typeof(h="function"==typeof h?h(Object.assign({},c.rects,{placement:c.placement})):h)?{mainAxis:h,altAxis:h}:Object.assign({mainAxis:0,altAxis:0},h),C=c.modifiersData.offset?c.modifiersData.offset[c.placement]:null,E={x:0,y:0};w&&(d&&(d="y"===b?"height":"width",a=(l=w[b])+p[n="y"===b?A:I],s=l-p[u="y"===b?O:P],t=y?-S[d]/2:0,r=(v===H?x:S)[d],v=v===H?-S[d]:-x[d],o=c.elements.arrow,o=y&&o?T(o):{width:0,height:0},n=(i=c.modifiersData["arrow#persistent"]?c.modifiersData["arrow#persistent"].padding:ie())[n],i=i[u],u=V(0,x[d],o[d]),o=m?x[d]/2-t-u-n-h.mainAxis:r-u-n-h.mainAxis,r=m?-x[d]/2+t+u+i+h.mainAxis:v+u+i+h.mainAxis,m=(n=c.elements.arrow&&R(c.elements.arrow))?"y"===b?n.clientTop||0:n.clientLeft||0:0,v=l+r-(t=null!=(d=null==C?void 0:C[b])?d:0),u=V(y?D(a,l+o-t-m):a,l,y?k(s,v):s),w[b]=u,E[b]=u-l),f&&(i="y"==_?"height":"width",r=(n=w[_])+p["x"===b?A:I],d=n-p["x"===b?O:P],o=-1!==[A,I].indexOf(g),m=null!=(t=null==C?void 0:C[_])?t:0,a=o?r:n-x[i]-S[i]-m+h.altAxis,v=o?n+x[i]+S[i]-m-h.altAxis:d,l=y&&o?(s=V(s=a,n,u=v),u<s?u:s):V(y?a:r,n,y?v:d),w[_]=l,E[_]=l-n),c.modifiersData[e]=E)},requiresIfExists:["offset"]};var ye={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n,i,r,o=e.state,a=e.name,e=e.options,l=o.elements.arrow,s=o.modifiersData.popperOffsets,u=te(c=W(o.placement)),c=0<=[I,P].indexOf(c)?"height":"width";l&&s&&(e=e.padding,n=o,n=re("number"!=typeof(e="function"==typeof e?e(Object.assign({},n.rects,{placement:n.placement})):e)?e:oe(e,L)),e=T(l),r="y"===u?A:I,i="y"===u?O:P,t=o.rects.reference[c]+o.rects.reference[u]-s[u]-o.rects.popper[c],s=s[u]-o.rects.reference[u],l=(l=R(l))?"y"===u?l.clientHeight||0:l.clientWidth||0:0,r=n[r],n=l-e[c]-n[i],r=V(r,i=l/2-e[c]/2+(t/2-s/2),n),o.modifiersData[a]=((l={})[u]=r,l.centerOffset=r-i,l))},effect:function(e){var t=e.state;null==(e=void 0===(e=e.options.element)?"[data-popper-arrow]":e)||"string"==typeof e&&!(e=t.elements.popper.querySelector(e))||("production"===M.env.NODE_ENV||s(e)||console.error(['Popper: "arrow" element must be an HTMLElement (not an SVGElement).',"To use an SVG arrow, wrap it in an HTMLElement that will be used as","the arrow."].join(" ")),l(t.elements.popper,e)?t.elements.arrow=e:"production"!==M.env.NODE_ENV&&console.error(['Popper: "arrow" modifier\'s `element` must be a child of the popper',"element."].join(" ")))},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function be(e,t,n){return{top:e.top-t.height-(n=void 0===n?{x:0,y:0}:n).y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function _e(t){return[A,P,O,I].some(function(e){return 0<=t[e]})}var we={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,e=e.name,n=t.rects.reference,i=t.rects.popper,r=t.modifiersData.preventOverflow,o=F(t,{elementContext:"reference"}),a=F(t,{altBoundary:!0}),o=be(o,n),n=be(a,i,r),a=_e(o),i=_e(n);t.modifiersData[e]={referenceClippingOffsets:o,popperEscapeOffsets:n,isReferenceHidden:a,hasPopperEscaped:i},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":a,"data-popper-escaped":i})}},xe=e({defaultModifiers:[t,n,i,he]}),Se=[t,n,i,he,de,me,ve,ye,we],Ce=e({defaultModifiers:Se});Ee.applyStyles=he,Ee.arrow=ye,Ee.computeStyles=i,Ee.createPopper=Ce,Ee.createPopperLite=xe,Ee.defaultModifiers=Se,Ee.detectOverflow=F,Ee.eventListeners=t,Ee.flip=me,Ee.hide=we,Ee.offset=de,Ee.popperGenerator=e,Ee.popperOffsets=n,Ee.preventOverflow=ve}.call(this,e("Zbi7gb"))},{Zbi7gb:12}],10:[function(e,t,n){"use strict";function h(e){return(h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var i;i=function(w,x){function S(){return new Date(Date.UTC.apply(Date,arguments))}function C(){var e=new Date;return S(e.getFullYear(),e.getMonth(),e.getDate())}function o(e,t){return e.getUTCFullYear()===t.getUTCFullYear()&&e.getUTCMonth()===t.getUTCMonth()&&e.getUTCDate()===t.getUTCDate()}function e(e,t){return function(){return t!==x&&w.fn.datepicker.deprecated(t),this[e].apply(this,arguments)}}function E(e,t){w.data(e,"datepicker",this),this._events=[],this._secondaryEvents=[],this._process_options(t),this.dates=new n,this.viewDate=this.o.defaultViewDate,this.focusDate=null,this.element=w(e),this.isInput=this.element.is("input"),this.inputField=this.isInput?this.element:this.element.find("input"),this.component=!!this.element.hasClass("date")&&this.element.find(".add-on, .input-group-addon, .input-group-append, .input-group-prepend, .btn"),this.component&&0===this.component.length&&(this.component=!1),this.isInline=!this.component&&this.element.is("div"),this.picker=w(M.template),this._check_template(this.o.templates.leftArrow)&&this.picker.find(".prev").html(this.o.templates.leftArrow),this._check_template(this.o.templates.rightArrow)&&this.picker.find(".next").html(this.o.templates.rightArrow),this._buildEvents(),this._attachEvents(),this.isInline?this.picker.addClass("datepicker-inline").appendTo(this.element):this.picker.addClass("datepicker-dropdown dropdown-menu"),this.o.rtl&&this.picker.addClass("datepicker-rtl"),this.o.calendarWeeks&&this.picker.find(".datepicker-days .datepicker-switch, thead .datepicker-title, tfoot .today, tfoot .clear").attr("colspan",function(e,t){return Number(t)+1}),this._process_options({startDate:this._o.startDate,endDate:this._o.endDate,daysOfWeekDisabled:this.o.daysOfWeekDisabled,daysOfWeekHighlighted:this.o.daysOfWeekHighlighted,datesDisabled:this.o.datesDisabled}),this._allow_update=!1,this.setViewMode(this.o.startView),this._allow_update=!0,this.fillDow(),this.fillMonths(),this.update(),this.isInline&&this.show()}function s(e,t){w.data(e,"datepicker",this),this.element=w(e),this.inputs=w.map(t.inputs,function(e){return e.jquery?e[0]:e}),delete t.inputs,this.keepEmptyValues=t.keepEmptyValues,delete t.keepEmptyValues,r.call(w(this.inputs),t).on("changeDate",w.proxy(this.dateUpdated,this)),this.pickers=w.map(this.inputs,function(e){return w.data(e,"datepicker")}),this.updateDates()}t={get:function(e){return this.slice(e)[0]},contains:function(e){for(var t=e&&e.valueOf(),n=0,i=this.length;n<i;n++)if(0<=this[n].valueOf()-t&&this[n].valueOf()-t<864e5)return n;return-1},remove:function(e){this.splice(e,1)},replace:function(e){e&&(w.isArray(e)||(e=[e]),this.clear(),this.push.apply(this,e))},clear:function(){this.length=0},copy:function(){var e=new n;return e.replace(this),e}};var t,n=function(){var e=[];return e.push.apply(e,arguments),w.extend(e,t),e},i=(E.prototype={constructor:E,_resolveViewName:function(n){return w.each(M.viewModes,function(e,t){if(n===e||-1!==w.inArray(n,t.names))return n=e,!1}),n},_resolveDaysOfWeek:function(e){return w.isArray(e)||(e=e.split(/[,\s]*/)),w.map(e,Number)},_check_template:function(e){try{return e===x||""===e?!1:(e.match(/[<>]/g)||[]).length<=0||0<w(e).length}catch(e){return!1}},_process_options:function(e){this._o=w.extend({},this._o,e);var t,n,i=this.o=w.extend({},this._o),e=i.language,r=(k[e]||(e=e.split("-")[0],k[e]||(e=u.language)),i.language=e,i.startView=this._resolveViewName(i.startView),i.minViewMode=this._resolveViewName(i.minViewMode),i.maxViewMode=this._resolveViewName(i.maxViewMode),i.startView=Math.max(this.o.minViewMode,Math.min(this.o.maxViewMode,i.startView)),!0!==i.multidate&&(i.multidate=Number(i.multidate)||!1,!1!==i.multidate&&(i.multidate=Math.max(0,i.multidate))),i.multidateSeparator=String(i.multidateSeparator),i.weekStart%=7,i.weekEnd=(i.weekStart+6)%7,M.parseFormat(i.format)),o=(i.startDate!==-1/0&&(i.startDate?i.startDate instanceof Date?i.startDate=this._local_to_utc(this._zero_time(i.startDate)):i.startDate=M.parseDate(i.startDate,r,i.language,i.assumeNearbyYear):i.startDate=-1/0),i.endDate!==1/0&&(i.endDate?i.endDate instanceof Date?i.endDate=this._local_to_utc(this._zero_time(i.endDate)):i.endDate=M.parseDate(i.endDate,r,i.language,i.assumeNearbyYear):i.endDate=1/0),i.daysOfWeekDisabled=this._resolveDaysOfWeek(i.daysOfWeekDisabled||[]),i.daysOfWeekHighlighted=this._resolveDaysOfWeek(i.daysOfWeekHighlighted||[]),i.datesDisabled=i.datesDisabled||[],w.isArray(i.datesDisabled)||(i.datesDisabled=i.datesDisabled.split(",")),i.datesDisabled=w.map(i.datesDisabled,function(e){return M.parseDate(e,r,i.language,i.assumeNearbyYear)}),String(i.orientation).toLowerCase().split(/\s+/g)),e=i.orientation.toLowerCase(),o=w.grep(o,function(e){return/^auto|left|right|top|bottom$/.test(e)});if(i.orientation={x:"auto",y:"auto"},e&&"auto"!==e)if(1===o.length)switch(o[0]){case"top":case"bottom":i.orientation.y=o[0];break;case"left":case"right":i.orientation.x=o[0]}else e=w.grep(o,function(e){return/^left|right$/.test(e)}),i.orientation.x=e[0]||"auto",e=w.grep(o,function(e){return/^top|bottom$/.test(e)}),i.orientation.y=e[0]||"auto";i.defaultViewDate instanceof Date||"string"==typeof i.defaultViewDate?i.defaultViewDate=M.parseDate(i.defaultViewDate,r,i.language,i.assumeNearbyYear):i.defaultViewDate?(e=i.defaultViewDate.year||(new Date).getFullYear(),t=i.defaultViewDate.month||0,n=i.defaultViewDate.day||1,i.defaultViewDate=S(e,t,n)):i.defaultViewDate=C()},_applyEvents:function(e){for(var t,n,i,r=0;r<e.length;r++)t=e[r][0],2===e[r].length?(n=x,i=e[r][1]):3===e[r].length&&(n=e[r][1],i=e[r][2]),t.on(i,n)},_unapplyEvents:function(e){for(var t,n,i,r=0;r<e.length;r++)t=e[r][0],2===e[r].length?(i=x,n=e[r][1]):3===e[r].length&&(i=e[r][1],n=e[r][2]),t.off(n,i)},_buildEvents:function(){var e={keyup:w.proxy(function(e){-1===w.inArray(e.keyCode,[27,37,39,38,40,32,13,9])&&this.update()},this),keydown:w.proxy(this.keydown,this),paste:w.proxy(this.paste,this)};!0===this.o.showOnFocus&&(e.focus=w.proxy(this.show,this)),this.isInput?this._events=[[this.element,e]]:this.component&&this.inputField.length?this._events=[[this.inputField,e],[this.component,{click:w.proxy(this.show,this)}]]:this._events=[[this.element,{click:w.proxy(this.show,this),keydown:w.proxy(this.keydown,this)}]],this._events.push([this.element,"*",{blur:w.proxy(function(e){this._focused_from=e.target},this)}],[this.element,{blur:w.proxy(function(e){this._focused_from=e.target},this)}]),this.o.immediateUpdates&&this._events.push([this.element,{"changeYear changeMonth":w.proxy(function(e){this.update(e.date)},this)}]),this._secondaryEvents=[[this.picker,{click:w.proxy(this.click,this)}],[this.picker,".prev, .next",{click:w.proxy(this.navArrowsClick,this)}],[this.picker,".day:not(.disabled)",{click:w.proxy(this.dayCellClick,this)}],[w(window),{resize:w.proxy(this.place,this)}],[w(document),{"mousedown touchstart":w.proxy(function(e){this.element.is(e.target)||this.element.find(e.target).length||this.picker.is(e.target)||this.picker.find(e.target).length||this.isInline||this.hide()},this)}]]},_attachEvents:function(){this._detachEvents(),this._applyEvents(this._events)},_detachEvents:function(){this._unapplyEvents(this._events)},_attachSecondaryEvents:function(){this._detachSecondaryEvents(),this._applyEvents(this._secondaryEvents)},_detachSecondaryEvents:function(){this._unapplyEvents(this._secondaryEvents)},_trigger:function(e,t){t=t||this.dates.get(-1),t=this._utc_to_local(t);this.element.trigger({type:e,date:t,viewMode:this.viewMode,dates:w.map(this.dates,this._utc_to_local),format:w.proxy(function(e,t){0===arguments.length?(e=this.dates.length-1,t=this.o.format):"string"==typeof e&&(t=e,e=this.dates.length-1),t=t||this.o.format;e=this.dates.get(e);return M.formatDate(e,t,this.o.language)},this)})},show:function(){if(!(this.inputField.is(":disabled")||this.inputField.prop("readonly")&&!1===this.o.enableOnReadonly))return this.isInline||this.picker.appendTo(this.o.container),this.place(),this.picker.show(),this._attachSecondaryEvents(),this._trigger("show"),(window.navigator.msMaxTouchPoints||"ontouchstart"in document)&&this.o.disableTouchKeyboard&&w(this.element).blur(),this},hide:function(){return this.isInline||!this.picker.is(":visible")||(this.focusDate=null,this.picker.hide().detach(),this._detachSecondaryEvents(),this.setViewMode(this.o.startView),this.o.forceParse&&this.inputField.val()&&this.setValue(),this._trigger("hide")),this},destroy:function(){return this.hide(),this._detachEvents(),this._detachSecondaryEvents(),this.picker.remove(),delete this.element.data().datepicker,this.isInput||delete this.element.data().date,this},paste:function(e){var t;if(e.originalEvent.clipboardData&&e.originalEvent.clipboardData.types&&-1!==w.inArray("text/plain",e.originalEvent.clipboardData.types))t=e.originalEvent.clipboardData.getData("text/plain");else{if(!window.clipboardData)return;t=window.clipboardData.getData("Text")}this.setDate(t),this.update(),e.preventDefault()},_utc_to_local:function(e){if(!e)return e;var t=new Date(e.getTime()+6e4*e.getTimezoneOffset());return t=t.getTimezoneOffset()!==e.getTimezoneOffset()?new Date(e.getTime()+6e4*t.getTimezoneOffset()):t},_local_to_utc:function(e){return e&&new Date(e.getTime()-6e4*e.getTimezoneOffset())},_zero_time:function(e){return e&&new Date(e.getFullYear(),e.getMonth(),e.getDate())},_zero_utc_time:function(e){return e&&S(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate())},getDates:function(){return w.map(this.dates,this._utc_to_local)},getUTCDates:function(){return w.map(this.dates,function(e){return new Date(e)})},getDate:function(){return this._utc_to_local(this.getUTCDate())},getUTCDate:function(){var e=this.dates.get(-1);return e!==x?new Date(e):null},clearDates:function(){this.inputField.val(""),this.update(),this._trigger("changeDate"),this.o.autoclose&&this.hide()},setDates:function(){var e=w.isArray(arguments[0])?arguments[0]:arguments;return this.update.apply(this,e),this._trigger("changeDate"),this.setValue(),this},setUTCDates:function(){var e=w.isArray(arguments[0])?arguments[0]:arguments;return this.setDates.apply(this,w.map(e,this._utc_to_local)),this},setDate:e("setDates"),setUTCDate:e("setUTCDates"),remove:e("destroy","Method `remove` is deprecated and will be removed in version 2.0. Use `destroy` instead"),setValue:function(){var e=this.getFormattedDate();return this.inputField.val(e),this},getFormattedDate:function(t){t===x&&(t=this.o.format);var n=this.o.language;return w.map(this.dates,function(e){return M.formatDate(e,t,n)}).join(this.o.multidateSeparator)},getStartDate:function(){return this.o.startDate},setStartDate:function(e){return this._process_options({startDate:e}),this.update(),this.updateNavArrows(),this},getEndDate:function(){return this.o.endDate},setEndDate:function(e){return this._process_options({endDate:e}),this.update(),this.updateNavArrows(),this},setDaysOfWeekDisabled:function(e){return this._process_options({daysOfWeekDisabled:e}),this.update(),this},setDaysOfWeekHighlighted:function(e){return this._process_options({daysOfWeekHighlighted:e}),this.update(),this},setDatesDisabled:function(e){return this._process_options({datesDisabled:e}),this.update(),this},place:function(){var e,t,n,i,r,o,a,l,s,u,c;return this.isInline||(e=this.picker.outerWidth(),t=this.picker.outerHeight(),n=(u=w(this.o.container)).width(),i=("body"===this.o.container?w(document):u).scrollTop(),u=u.offset(),r=[0],this.element.parents().each(function(){var e=w(this).css("z-index");"auto"!==e&&0!==Number(e)&&r.push(Number(e))}),o=Math.max.apply(Math,r)+this.o.zIndexOffset,c=(this.component?this.component.parent():this.element).offset(),a=this.component?this.component.outerHeight(!0):this.element.outerHeight(!1),l=this.component?this.component.outerWidth(!0):this.element.outerWidth(!1),s=c.left-u.left,u=c.top-u.top,"body"!==this.o.container&&(u+=i),this.picker.removeClass("datepicker-orient-top datepicker-orient-bottom datepicker-orient-right datepicker-orient-left"),"auto"!==this.o.orientation.x?(this.picker.addClass("datepicker-orient-"+this.o.orientation.x),"right"===this.o.orientation.x&&(s-=e-l)):c.left<0?(this.picker.addClass("datepicker-orient-left"),s-=c.left-10):n<s+e?(this.picker.addClass("datepicker-orient-right"),s+=l-e):this.o.rtl?this.picker.addClass("datepicker-orient-right"):this.picker.addClass("datepicker-orient-left"),"auto"===(c=this.o.orientation.y)&&(c=-i+u-t<0?"bottom":"top"),this.picker.addClass("datepicker-orient-"+c),"top"===c?u-=t+parseInt(this.picker.css("padding-top")):u+=a,this.o.rtl?this.picker.css({top:u,right:n-(s+l),zIndex:o}):this.picker.css({top:u,left:s,zIndex:o})),this},_allow_update:!0,update:function(){var e,n,t;return this._allow_update&&(e=this.dates.copy(),t=!(n=[]),arguments.length?(w.each(arguments,w.proxy(function(e,t){t instanceof Date&&(t=this._local_to_utc(t)),n.push(t)},this)),t=!0):(n=(n=this.isInput?this.element.val():this.element.data("date")||this.inputField.val())&&this.o.multidate?n.split(this.o.multidateSeparator):[n],delete this.element.data().date),n=w.map(n,w.proxy(function(e){return M.parseDate(e,this.o.format,this.o.language,this.o.assumeNearbyYear)},this)),n=w.grep(n,w.proxy(function(e){return!this.dateWithinRange(e)||!e},this),!0),this.dates.replace(n),this.o.updateViewDate&&(this.dates.length?this.viewDate=new Date(this.dates.get(-1)):this.viewDate<this.o.startDate?this.viewDate=new Date(this.o.startDate):this.viewDate>this.o.endDate?this.viewDate=new Date(this.o.endDate):this.viewDate=this.o.defaultViewDate),t?(this.setValue(),this.element.change()):this.dates.length&&String(e)!==String(this.dates)&&t&&(this._trigger("changeDate"),this.element.change()),!this.dates.length&&e.length&&(this._trigger("clearDate"),this.element.change()),this.fill()),this},fillDow:function(){if(this.o.showWeekDays){var e=this.o.weekStart,t="<tr>";for(this.o.calendarWeeks&&(t+='<th class="cw">&#160;</th>');e<this.o.weekStart+7;)t+='<th class="dow',-1!==w.inArray(e,this.o.daysOfWeekDisabled)&&(t+=" disabled"),t+='">'+k[this.o.language].daysMin[e++%7]+"</th>";t+="</tr>",this.picker.find(".datepicker-days thead").append(t)}},fillMonths:function(){for(var e=this._utc_to_local(this.viewDate),t="",n=0;n<12;n++)t+='<span class="month'+(e&&e.getMonth()===n?" focused":"")+'">'+k[this.o.language].monthsShort[n]+"</span>";this.picker.find(".datepicker-months td").html(t)},setRange:function(e){e&&e.length?this.range=w.map(e,function(e){return e.valueOf()}):delete this.range,this.fill()},getClassNames:function(e){var t=[],n=this.viewDate.getUTCFullYear(),i=this.viewDate.getUTCMonth(),r=C();return e.getUTCFullYear()<n||e.getUTCFullYear()===n&&e.getUTCMonth()<i?t.push("old"):(e.getUTCFullYear()>n||e.getUTCFullYear()===n&&e.getUTCMonth()>i)&&t.push("new"),this.focusDate&&e.valueOf()===this.focusDate.valueOf()&&t.push("focused"),this.o.todayHighlight&&o(e,r)&&t.push("today"),-1!==this.dates.contains(e)&&t.push("active"),this.dateWithinRange(e)||t.push("disabled"),this.dateIsDisabled(e)&&t.push("disabled","disabled-date"),-1!==w.inArray(e.getUTCDay(),this.o.daysOfWeekHighlighted)&&t.push("highlighted"),this.range&&(e>this.range[0]&&e<this.range[this.range.length-1]&&t.push("range"),-1!==w.inArray(e.valueOf(),this.range)&&t.push("selected"),e.valueOf()===this.range[0]&&t.push("range-start"),e.valueOf()===this.range[this.range.length-1]&&t.push("range-end")),t},_fill_yearsView:function(e,t,n,i,r,o,a){for(var l,s,u,c="",h=n/10,e=this.picker.find(e),d=Math.floor(i/n)*n,f=d+9*h,p=Math.floor(this.viewDate.getFullYear()/h)*h,g=w.map(this.dates,function(e){return Math.floor(e.getUTCFullYear()/h)*h}),m=d-h;m<=f+h;m+=h)l=[t],s=null,m===d-h?l.push("old"):m===f+h&&l.push("new"),-1!==w.inArray(m,g)&&l.push("active"),(m<r||o<m)&&l.push("disabled"),m===p&&l.push("focused"),a!==w.noop&&((u=a(new Date(m,0,1)))===x?u={}:"boolean"==typeof u?u={enabled:u}:"string"==typeof u&&(u={classes:u}),!1===u.enabled&&l.push("disabled"),u.classes&&(l=l.concat(u.classes.split(/\s+/))),u.tooltip&&(s=u.tooltip)),c+='<span class="'+l.join(" ")+'"'+(s?' title="'+s+'"':"")+">"+m+"</span>";e.find(".datepicker-switch").text(d+"-"+f),e.find("td").html(c)},fill:function(){var e,t,n=new Date(this.viewDate),i=n.getUTCFullYear(),r=n.getUTCMonth(),o=this.o.startDate!==-1/0?this.o.startDate.getUTCFullYear():-1/0,a=this.o.startDate!==-1/0?this.o.startDate.getUTCMonth():-1/0,l=this.o.endDate!==1/0?this.o.endDate.getUTCFullYear():1/0,s=this.o.endDate!==1/0?this.o.endDate.getUTCMonth():1/0,u=k[this.o.language].today||k.en.today||"",c=k[this.o.language].clear||k.en.clear||"",h=k[this.o.language].titleFormat||k.en.titleFormat,d=C(),d=(!0===this.o.todayBtn||"linked"===this.o.todayBtn)&&d>=this.o.startDate&&d<=this.o.endDate&&!this.weekOfDateIsDisabled(d);if(!isNaN(i)&&!isNaN(r)){this.picker.find(".datepicker-days .datepicker-switch").text(M.formatDate(n,h,this.o.language)),this.picker.find("tfoot .today").text(u).css("display",d?"table-cell":"none"),this.picker.find("tfoot .clear").text(c).css("display",!0===this.o.clearBtn?"table-cell":"none"),this.picker.find("thead .datepicker-title").text(this.o.title).css("display","string"==typeof this.o.title&&""!==this.o.title?"table-cell":"none"),this.updateNavArrows(),this.fillMonths();var f=S(i,r,0),n=f.getUTCDate(),p=(f.setUTCDate(n-(f.getUTCDay()-this.o.weekStart+7)%7),new Date(f));f.getUTCFullYear()<100&&p.setUTCFullYear(f.getUTCFullYear()),p.setUTCDate(p.getUTCDate()+42);for(var g,p=p.valueOf(),m=[];f.valueOf()<p;){(g=f.getUTCDay())===this.o.weekStart&&(m.push("<tr>"),this.o.calendarWeeks)&&(v=new Date(+f+(this.o.weekStart-g-7)%7*864e5),v=new Date(Number(v)+(11-v.getUTCDay())%7*864e5),y=new Date(Number(y=S(v.getUTCFullYear(),0,1))+(11-y.getUTCDay())%7*864e5),m.push('<td class="cw">'+((v-y)/864e5/7+1)+"</td>")),(v=this.getClassNames(f)).push("day");var v,y=f.getUTCDate();this.o.beforeShowDay!==w.noop&&((t=this.o.beforeShowDay(this._utc_to_local(f)))===x?t={}:"boolean"==typeof t?t={enabled:t}:"string"==typeof t&&(t={classes:t}),!1===t.enabled&&v.push("disabled"),t.classes&&(v=v.concat(t.classes.split(/\s+/))),t.tooltip&&(e=t.tooltip),t.content&&(y=t.content)),v=w.isFunction(w.uniqueSort)?w.uniqueSort(v):w.unique(v),m.push('<td class="'+v.join(" ")+'"'+(e?' title="'+e+'"':"")+' data-date="'+f.getTime().toString()+'">'+y+"</td>"),e=null,g===this.o.weekEnd&&m.push("</tr>"),f.setUTCDate(f.getUTCDate()+1)}this.picker.find(".datepicker-days tbody").html(m.join(""));var b,h=k[this.o.language].monthsTitle||k.en.monthsTitle||"Months",_=this.picker.find(".datepicker-months").find(".datepicker-switch").text(this.o.maxViewMode<2?h:i).end().find("tbody span").removeClass("active");w.each(this.dates,function(e,t){t.getUTCFullYear()===i&&_.eq(t.getUTCMonth()).addClass("active")}),(i<o||l<i)&&_.addClass("disabled"),i===o&&_.slice(0,a).addClass("disabled"),i===l&&_.slice(s+1).addClass("disabled"),this.o.beforeShowMonth!==w.noop&&(b=this,w.each(_,function(e,t){e=new Date(i,e,1),e=b.o.beforeShowMonth(e);e===x?e={}:"boolean"==typeof e?e={enabled:e}:"string"==typeof e&&(e={classes:e}),!1!==e.enabled||w(t).hasClass("disabled")||w(t).addClass("disabled"),e.classes&&w(t).addClass(e.classes),e.tooltip&&w(t).prop("title",e.tooltip)})),this._fill_yearsView(".datepicker-years","year",10,i,o,l,this.o.beforeShowYear),this._fill_yearsView(".datepicker-decades","decade",100,i,o,l,this.o.beforeShowDecade),this._fill_yearsView(".datepicker-centuries","century",1e3,i,o,l,this.o.beforeShowCentury)}},updateNavArrows:function(){if(this._allow_update){var e,t,n=new Date(this.viewDate),i=n.getUTCFullYear(),r=n.getUTCMonth(),o=this.o.startDate!==-1/0?this.o.startDate.getUTCFullYear():-1/0,a=this.o.startDate!==-1/0?this.o.startDate.getUTCMonth():-1/0,l=this.o.endDate!==1/0?this.o.endDate.getUTCFullYear():1/0,s=this.o.endDate!==1/0?this.o.endDate.getUTCMonth():1/0,u=1;switch(this.viewMode){case 4:u*=10;case 3:u*=10;case 2:u*=10;case 1:e=Math.floor(i/u)*u<=o,t=Math.floor(i/u)*u+u>l;break;case 0:e=i<=o&&r<=a,t=l<=i&&s<=r}this.picker.find(".prev").toggleClass("disabled",e),this.picker.find(".next").toggleClass("disabled",t)}},click:function(e){var t,n;e.preventDefault(),e.stopPropagation(),(e=w(e.target)).hasClass("datepicker-switch")&&this.viewMode!==this.o.maxViewMode&&this.setViewMode(this.viewMode+1),e.hasClass("today")&&!e.hasClass("day")&&(this.setViewMode(0),this._setDate(C(),"linked"===this.o.todayBtn?null:"view")),e.hasClass("clear")&&this.clearDates(),e.hasClass("disabled")||(e.hasClass("month")||e.hasClass("year")||e.hasClass("decade")||e.hasClass("century"))&&(this.viewDate.setUTCDate(1),1===this.viewMode?(n=e.parent().find("span").index(e),t=this.viewDate.getUTCFullYear(),this.viewDate.setUTCMonth(n)):(n=0,t=Number(e.text()),this.viewDate.setUTCFullYear(t)),this._trigger(M.viewModes[this.viewMode-1].e,this.viewDate),this.viewMode===this.o.minViewMode?this._setDate(S(t,n,1)):(this.setViewMode(this.viewMode-1),this.fill())),this.picker.is(":visible")&&this._focused_from&&this._focused_from.focus(),delete this._focused_from},dayCellClick:function(e){e=w(e.currentTarget).data("date"),e=new Date(e);this.o.updateViewDate&&(e.getUTCFullYear()!==this.viewDate.getUTCFullYear()&&this._trigger("changeYear",this.viewDate),e.getUTCMonth()!==this.viewDate.getUTCMonth()&&this._trigger("changeMonth",this.viewDate)),this._setDate(e)},navArrowsClick:function(e){e=w(e.currentTarget).hasClass("prev")?-1:1;0!==this.viewMode&&(e*=12*M.viewModes[this.viewMode].navStep),this.viewDate=this.moveMonth(this.viewDate,e),this._trigger(M.viewModes[this.viewMode].e,this.viewDate),this.fill()},_toggle_multidate:function(e){var t=this.dates.contains(e);if(e||this.dates.clear(),-1!==t?(!0===this.o.multidate||1<this.o.multidate||this.o.toggleActive)&&this.dates.remove(t):(!1===this.o.multidate&&this.dates.clear(),this.dates.push(e)),"number"==typeof this.o.multidate)for(;this.dates.length>this.o.multidate;)this.dates.remove(0)},_setDate:function(e,t){t&&"date"!==t||this._toggle_multidate(e&&new Date(e)),(!t&&this.o.updateViewDate||"view"===t)&&(this.viewDate=e&&new Date(e)),this.fill(),this.setValue(),t&&"view"===t||this._trigger("changeDate"),this.inputField.trigger("change"),!this.o.autoclose||t&&"date"!==t||this.hide()},moveDay:function(e,t){var n=new Date(e);return n.setUTCDate(e.getUTCDate()+t),n},moveWeek:function(e,t){return this.moveDay(e,7*t)},moveMonth:function(e,t){if(!(n=e)||isNaN(n.getTime()))return this.o.defaultViewDate;var n;if(!t)return e;var i,r,o=new Date(e.valueOf()),a=o.getUTCDate(),l=o.getUTCMonth(),s=Math.abs(t);if(t=0<t?1:-1,1===s)r=-1===t?function(){return o.getUTCMonth()===l}:function(){return o.getUTCMonth()!==i},i=l+t,o.setUTCMonth(i),i=(i+12)%12;else{for(var u=0;u<s;u++)o=this.moveMonth(o,t);i=o.getUTCMonth(),o.setUTCDate(a),r=function(){return i!==o.getUTCMonth()}}for(;r();)o.setUTCDate(--a),o.setUTCMonth(i);return o},moveYear:function(e,t){return this.moveMonth(e,12*t)},moveAvailableDate:function(e,t,n){do{if(e=this[n](e,t),!this.dateWithinRange(e))return!1}while(n="moveDay",this.dateIsDisabled(e));return e},weekOfDateIsDisabled:function(e){return-1!==w.inArray(e.getUTCDay(),this.o.daysOfWeekDisabled)},dateIsDisabled:function(t){return this.weekOfDateIsDisabled(t)||0<w.grep(this.o.datesDisabled,function(e){return o(t,e)}).length},dateWithinRange:function(e){return e>=this.o.startDate&&e<=this.o.endDate},keydown:function(e){if(this.picker.is(":visible")){var t,n,i=!1,r=this.focusDate||this.viewDate;switch(e.keyCode){case 27:this.focusDate?(this.focusDate=null,this.viewDate=this.dates.get(-1)||this.viewDate,this.fill()):this.hide(),e.preventDefault(),e.stopPropagation();break;case 37:case 38:case 39:case 40:if(!this.o.keyboardNavigation||7===this.o.daysOfWeekDisabled.length)break;t=37===e.keyCode||38===e.keyCode?-1:1,0===this.viewMode?e.ctrlKey?(n=this.moveAvailableDate(r,t,"moveYear"))&&this._trigger("changeYear",this.viewDate):e.shiftKey?(n=this.moveAvailableDate(r,t,"moveMonth"))&&this._trigger("changeMonth",this.viewDate):37===e.keyCode||39===e.keyCode?n=this.moveAvailableDate(r,t,"moveDay"):this.weekOfDateIsDisabled(r)||(n=this.moveAvailableDate(r,t,"moveWeek")):1===this.viewMode?(38!==e.keyCode&&40!==e.keyCode||(t*=4),n=this.moveAvailableDate(r,t,"moveMonth")):2===this.viewMode&&(38!==e.keyCode&&40!==e.keyCode||(t*=4),n=this.moveAvailableDate(r,t,"moveYear")),n&&(this.focusDate=this.viewDate=n,this.setValue(),this.fill(),e.preventDefault());break;case 13:if(!this.o.forceParse)break;r=this.focusDate||this.dates.get(-1)||this.viewDate,this.o.keyboardNavigation&&(this._toggle_multidate(r),i=!0),this.focusDate=null,this.viewDate=this.dates.get(-1)||this.viewDate,this.setValue(),this.fill(),this.picker.is(":visible")&&(e.preventDefault(),e.stopPropagation(),this.o.autoclose&&this.hide());break;case 9:this.focusDate=null,this.viewDate=this.dates.get(-1)||this.viewDate,this.fill(),this.hide()}i&&(this.dates.length?this._trigger("changeDate"):this._trigger("clearDate"),this.inputField.trigger("change"))}else 40!==e.keyCode&&27!==e.keyCode||(this.show(),e.stopPropagation())},setViewMode:function(e){this.viewMode=e,this.picker.children("div").hide().filter(".datepicker-"+M.viewModes[this.viewMode].clsName).show(),this.updateNavArrows(),this._trigger("changeViewMode",new Date(this.viewDate))}},s.prototype={updateDates:function(){this.dates=w.map(this.pickers,function(e){return e.getUTCDate()}),this.updateRanges()},updateRanges:function(){var n=w.map(this.dates,function(e){return e.valueOf()});w.each(this.pickers,function(e,t){t.setRange(n)})},clearDates:function(){w.each(this.pickers,function(e,t){t.clearDates()})},dateUpdated:function(e){if(!this.updating){this.updating=!0;var n=w.data(e.target,"datepicker");if(n!==x){var i=n.getUTCDate(),r=this.keepEmptyValues,e=w.inArray(e.target,this.inputs),t=e-1,o=e+1,a=this.inputs.length;if(-1!==e){if(w.each(this.pickers,function(e,t){t.getUTCDate()||t!==n&&r||t.setUTCDate(i)}),i<this.dates[t])for(;0<=t&&i<this.dates[t];)this.pickers[t--].setUTCDate(i);else if(i>this.dates[o])for(;o<a&&i>this.dates[o];)this.pickers[o++].setUTCDate(i);this.updateDates(),delete this.updating}}}},destroy:function(){w.map(this.pickers,function(e){e.destroy()}),w(this.inputs).off("changeDate",this.dateUpdated),delete this.element.data().datepicker},remove:e("destroy","Method `remove` is deprecated and will be removed in version 2.0. Use `destroy` instead")},w.fn.datepicker),r=function(o){var a,l=Array.apply(null,arguments);if(l.shift(),this.each(function(){var e,t,n=w(this),i=n.data("datepicker"),r="object"==h(o)&&o;i||(e=function(e,t){function n(e,t){return t.toLowerCase()}var i,r=w(e).data(),o={},a=new RegExp("^"+t.toLowerCase()+"([A-Z])");for(i in t=new RegExp("^"+t.toLowerCase()),r)t.test(i)&&(o[i.replace(a,n)]=r[i]);return o}(this,"date"),t=function(e){var n,i={};if(k[e]||(e=e.split("-")[0],k[e]))return n=k[e],w.each(c,function(e,t){t in n&&(i[t]=n[t])}),i}(w.extend({},u,e,r).language),t=w.extend({},u,t,e,r),i=n.hasClass("input-daterange")||t.inputs?(w.extend(t,{inputs:t.inputs||n.find("input").toArray()}),new s(this,t)):new E(this,t),n.data("datepicker",i)),"string"==typeof o&&"function"==typeof i[o]&&(a=i[o].apply(i,l))}),a===x||a instanceof E||a instanceof s)return this;if(1<this.length)throw new Error("Using only allowed for the collection of a single element ("+o+" function)");return a},u=(w.fn.datepicker=r,w.fn.datepicker.defaults={assumeNearbyYear:!1,autoclose:!1,beforeShowDay:w.noop,beforeShowMonth:w.noop,beforeShowYear:w.noop,beforeShowDecade:w.noop,beforeShowCentury:w.noop,calendarWeeks:!1,clearBtn:!1,toggleActive:!1,daysOfWeekDisabled:[],daysOfWeekHighlighted:[],datesDisabled:[],endDate:1/0,forceParse:!0,format:"mm/dd/yyyy",keepEmptyValues:!1,keyboardNavigation:!0,language:"en",minViewMode:0,maxViewMode:4,multidate:!1,multidateSeparator:",",orientation:"auto",rtl:!1,startDate:-1/0,startView:0,todayBtn:!1,todayHighlight:!1,updateViewDate:!0,weekStart:0,disableTouchKeyboard:!1,enableOnReadonly:!0,showOnFocus:!0,zIndexOffset:10,container:"body",immediateUpdates:!1,title:"",templates:{leftArrow:"&#x00AB;",rightArrow:"&#x00BB;"},showWeekDays:!0}),c=w.fn.datepicker.locale_opts=["format","rtl","weekStart"],k=(w.fn.datepicker.Constructor=E,w.fn.datepicker.dates={en:{days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],daysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],daysMin:["Su","Mo","Tu","We","Th","Fr","Sa"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],today:"Today",clear:"Clear",titleFormat:"MM yyyy"}}),M={viewModes:[{names:["days","month"],clsName:"days",e:"changeMonth"},{names:["months","year"],clsName:"months",e:"changeYear",navStep:1},{names:["years","decade"],clsName:"years",e:"changeDecade",navStep:10},{names:["decades","century"],clsName:"decades",e:"changeCentury",navStep:100},{names:["centuries","millennium"],clsName:"centuries",e:"changeMillennium",navStep:1e3}],validParts:/dd?|DD?|mm?|MM?|yy(?:yy)?/g,nonpunctuation:/[^ -\/:-@\u5e74\u6708\u65e5\[-`{-~\t\n\r]+/g,parseFormat:function(e){if("function"==typeof e.toValue&&"function"==typeof e.toDisplay)return e;var t=e.replace(this.validParts,"\0").split("\0"),e=e.match(this.validParts);if(t&&t.length&&e&&0!==e.length)return{separators:t,parts:e};throw new Error("Invalid date format.")},parseDate:function(e,t,n,i){function r(){var e=this.slice(0,d[b].length),t=d[b].slice(0,e.length);return e.toLowerCase()===t.toLowerCase()}if(!e)return x;if(!(e instanceof Date)){if((t="string"==typeof t?M.parseFormat(t):t).toValue)return t.toValue(e,t,n);var o,a,l,s={d:"moveDay",m:"moveMonth",w:"moveWeek",y:"moveYear"},u={yesterday:"-1d",today:"+0d",tomorrow:"+1d"};if(/^[\-+]\d+[dmwy]([\s,]+[\-+]\d+[dmwy])*$/i.test(e=e in u?u[e]:e)){for(d=e.match(/([\-+]\d+)([dmwy])/gi),e=new Date,b=0;b<d.length;b++)o=d[b].match(/([\-+]\d+)([dmwy])/i),a=Number(o[1]),l=s[o[2].toLowerCase()],e=E.prototype[l](e,a);return E.prototype._zero_utc_time(e)}var c,h,d=e&&e.match(this.nonpunctuation)||[],f={},p=["yyyy","yy","M","MM","m","mm","d","dd"],g={yyyy:function(e,t){return e.setUTCFullYear(i?(!0===(e=i)&&(e=10),(n=t)<100&&(n+=2e3)>(new Date).getFullYear()+e&&(n-=100),n):t);var n},m:function(e,t){if(!isNaN(e)){for(--t;t<0;)t+=12;for(e.setUTCMonth(t%=12);e.getUTCMonth()!==t;)e.setUTCDate(e.getUTCDate()-1)}return e},d:function(e,t){return e.setUTCDate(t)}},m=(g.yy=g.yyyy,g.M=g.MM=g.mm=g.m,g.dd=g.d,e=C(),t.parts.slice());if(d.length!==m.length&&(m=w(m).filter(function(e,t){return-1!==w.inArray(t,p)}).toArray()),d.length===m.length){for(var v,y,b=0,_=m.length;b<_;b++){if(c=parseInt(d[b],10),o=m[b],isNaN(c))switch(o){case"MM":h=w(k[n].months).filter(r),c=w.inArray(h[0],k[n].months)+1;break;case"M":h=w(k[n].monthsShort).filter(r),c=w.inArray(h[0],k[n].monthsShort)+1}f[o]=c}for(b=0;b<p.length;b++)(y=p[b])in f&&!isNaN(f[y])&&(v=new Date(e),g[y](v,f[y]),isNaN(v)||(e=v))}}return e},formatDate:function(e,t,n){if(!e)return"";if((t="string"==typeof t?M.parseFormat(t):t).toDisplay)return t.toDisplay(e,t,n);var i={d:e.getUTCDate(),D:k[n].daysShort[e.getUTCDay()],DD:k[n].days[e.getUTCDay()],m:e.getUTCMonth()+1,M:k[n].monthsShort[e.getUTCMonth()],MM:k[n].months[e.getUTCMonth()],yy:e.getUTCFullYear().toString().substring(2),yyyy:e.getUTCFullYear()};i.dd=(i.d<10?"0":"")+i.d,i.mm=(i.m<10?"0":"")+i.m,e=[];for(var r=w.extend([],t.separators),o=0,a=t.parts.length;o<=a;o++)r.length&&e.push(r.shift()),e.push(i[t.parts[o]]);return e.join("")},headTemplate:'<thead><tr><th colspan="7" class="datepicker-title"></th></tr><tr><th class="prev">'+u.templates.leftArrow+'</th><th colspan="5" class="datepicker-switch"></th><th class="next">'+u.templates.rightArrow+"</th></tr></thead>",contTemplate:'<tbody><tr><td colspan="7"></td></tr></tbody>',footTemplate:'<tfoot><tr><th colspan="7" class="today"></th></tr><tr><th colspan="7" class="clear"></th></tr></tfoot>'};M.template='<div class="datepicker"><div class="datepicker-days"><table class="table-condensed">'+M.headTemplate+"<tbody></tbody>"+M.footTemplate+'</table></div><div class="datepicker-months"><table class="table-condensed">'+M.headTemplate+M.contTemplate+M.footTemplate+'</table></div><div class="datepicker-years"><table class="table-condensed">'+M.headTemplate+M.contTemplate+M.footTemplate+'</table></div><div class="datepicker-decades"><table class="table-condensed">'+M.headTemplate+M.contTemplate+M.footTemplate+'</table></div><div class="datepicker-centuries"><table class="table-condensed">'+M.headTemplate+M.contTemplate+M.footTemplate+"</table></div></div>",w.fn.datepicker.DPGlobal=M,w.fn.datepicker.noConflict=function(){return w.fn.datepicker=i,this},w.fn.datepicker.version="1.9.0",w.fn.datepicker.deprecated=function(e){var t=window.console;t&&t.warn&&t.warn("DEPRECATED: "+e)},w(document).on("focus.datepicker.data-api click.datepicker.data-api",'[data-provide="datepicker"]',function(e){var t=w(this);t.data("datepicker")||(e.preventDefault(),r.call(t,"show"))}),w(function(){r.call(w('[data-provide="datepicker-inline"]'))})},"function"==typeof define&&define.amd?define(["jquery"],i):i("object"==(void 0===n?"undefined":h(n))?e("jquery"):jQuery)},{jquery:20}],11:[function(e,t,n){"use strict";function Vn(){return(Vn="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var i=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Gn(e)););return e}(e,t);if(i)return i=Object.getOwnPropertyDescriptor(i,t),i.get?i.get.call(arguments.length<3?e:n):i.value}).apply(this,arguments)}function Bn(e){return function(e){if(Array.isArray(e))return a(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||l(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Yn(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&i(e,t)}function i(e,t){return(i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Un(n){var i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var e,t=Gn(n);return qn(this,i?(e=Gn(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments))}}function qn(e,t){if(t&&("object"===ti(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Zn(e)}function Zn(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Gn(e){return(Gn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function r(t,e){var n,i=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)),i}function Xn(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?r(Object(n),!0).forEach(function(e){ei(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function $n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function Kn(e,t,n){t&&o(e.prototype,t),n&&o(e,n),Object.defineProperty(e,"prototype",{writable:!1})}function Qn(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(i=n.next()).done)&&(o.push(i.value),!t||o.length!==t);a=!0);}catch(e){l=!0,r=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw r}}return o}}(e,t)||l(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Jn(e,t){var n,i="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!i){if(Array.isArray(e)||(i=l(e))||t&&e&&"number"==typeof e.length)return i&&(e=i),n=0,{s:t=function(){},n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:t};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 r,o=!0,a=!1;return{s:function(){i=i.call(e)},n:function(){var e=i.next();return o=e.done,e},e:function(e){a=!0,r=e},f:function(){try{o||null==i.return||i.return()}finally{if(a)throw r}}}}function l(e,t){if(e){if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Map"===(n="Object"===n&&e.constructor?e.constructor.name:n)||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,t):void 0}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function ei(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ti(e){return(ti="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var s,u;u=function(e){function L(n){if(n&&n.__esModule)return n;var i=Object.create(null,ei({},Symbol.toStringTag,{value:"Module"}));if(n)for(var e in n)!function(e){var t;"default"!==e&&(t=Object.getOwnPropertyDescriptor(n,e),Object.defineProperty(i,e,t.get?t:{enumerable:!0,get:function(){return n[e]}}))}(e);return i.default=n,Object.freeze(i)}function H(e){return(e=U(e))&&document.querySelector(e)?e:null}function a(e){return(e=U(e))?document.querySelector(e):null}function W(e){e.dispatchEvent(new Event(Y))}function l(e){return f(e)?e.jquery?e[0]:e:"string"==typeof e&&0<e.length?document.querySelector(e):null}function r(e){if(!f(e)||0===e.getClientRects().length)return!1;var t="visible"===getComputedStyle(e).getPropertyValue("visibility"),n=e.closest("details:not([open])");if(n&&n!==e){e=e.closest("summary");if(e&&e.parentNode!==n)return!1;if(null===e)return!1}return t}function o(e){return!e||e.nodeType!==Node.ELEMENT_NODE||(!!e.classList.contains("disabled")||(void 0!==e.disabled?e.disabled:e.hasAttribute("disabled")&&"false"!==e.getAttribute("disabled")))}function j(e){return document.documentElement.attachShadow?"function"==typeof e.getRootNode?(t=e.getRootNode())instanceof ShadowRoot?t:null:e instanceof ShadowRoot?e:e.parentNode?j(e.parentNode):null:null;var t}function u(){}function c(e){e.offsetHeight}function F(){return window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null}function s(){return"rtl"===document.documentElement.dir}function t(i){var e;e=function(){var e,t,n=F();n&&(e=i.NAME,t=n.fn[e],n.fn[e]=i.jQueryInterface,n.fn[e].Constructor=i,n.fn[e].noConflict=function(){return n.fn[e]=t,i.jQueryInterface})},"loading"===document.readyState?(q.length||document.addEventListener("DOMContentLoaded",function(){var e,t=Jn(q);try{for(t.s();!(e=t.n()).done;)(0,e.value)()}catch(e){t.e(e)}finally{t.f()}}),q.push(e)):e()}function h(e){"function"==typeof e&&e()}function z(n,i){var e,r;2<arguments.length&&void 0!==arguments[2]&&!arguments[2]?h(n):(e=function(e){if(!e)return 0;var e=window.getComputedStyle(e),t=e.transitionDuration,e=e.transitionDelay,n=Number.parseFloat(t),i=Number.parseFloat(e);return n||i?(t=t.split(",")[0],e=e.split(",")[0],(Number.parseFloat(t)+Number.parseFloat(e))*B):0}(i)+5,r=!1,i.addEventListener(Y,function e(t){t.target===i&&(r=!0,i.removeEventListener(Y,e),h(n))}),setTimeout(function(){r||W(i)},e))}function V(e,t,n,i){var r=e.length;return-1===(t=e.indexOf(t))?!n&&i?e[r-1]:e[0]:(t+=n?1:-1,i&&(t=(t+r)%r),e[Math.max(0,Math.min(t,r-1))])}var d=L(e),B=1e3,Y="transitionend",U=function(e){var t=e.getAttribute("data-bs-target");if(!t||"#"===t){e=e.getAttribute("href");if(!e||!e.includes("#")&&!e.startsWith("."))return null;t=(e=e.includes("#")&&!e.startsWith("#")?"#".concat(e.split("#")[1]):e)&&"#"!==e?e.trim():null}return t},f=function(e){return!(!e||"object"!==ti(e))&&void 0!==(e=void 0!==e.jquery?e[0]:e).nodeType},q=[],Z=/[^.]*(?=\..*)\.|.*/,G=/\..*/,X=/::\d+$/,$={},K=1,Q={mouseenter:"mouseover",mouseleave:"mouseout"},J=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function ee(e,t){return t&&"".concat(t,"::").concat(K++)||e.uidEvent||K++}function te(e){var t=ee(e);return e.uidEvent=t,$[t]=$[t]||{},$[t]}function ne(e,t,n){var i=2<arguments.length&&void 0!==n?n:null;return Object.values(e).find(function(e){return e.callable===t&&e.delegationSelector===i})}function ie(e,t,n){var i="string"==typeof t,t=!i&&t||n,n=ae(e);return[i,t,n=J.has(n)?n:e]}function re(e,t,n,i,r){var o,a,l,s,u,c,h,d,f,p;"string"==typeof t&&e&&(o=(i=Qn(ie(t,n,i),3))[0],a=i[1],i=i[2],t in Q&&(l=a,a=function(e){if(!e.relatedTarget||e.relatedTarget!==e.delegateTarget&&!e.delegateTarget.contains(e.relatedTarget))return l.call(this,e)}),(u=ne(s=(s=te(e))[i]||(s[i]={}),a,o?n:null))?u.oneOff=u.oneOff&&r:(u=ee(a,t.replace(Z,"")),(t=o?(d=e,f=n,p=a,function e(t){for(var n=d.querySelectorAll(f),i=t.target;i&&i!==this;i=i.parentNode){var r,o=Jn(n);try{for(o.s();!(r=o.n()).done;){var a=r.value;if(a===i)return le(t,{delegateTarget:i}),e.oneOff&&g.off(d,t.type,f,p),p.apply(i,[t])}}catch(e){o.e(e)}finally{o.f()}}}):(c=e,h=a,function e(t){return le(t,{delegateTarget:c}),e.oneOff&&g.off(c,t.type,h),h.apply(c,[t])})).delegationSelector=o?n:null,t.callable=a,t.oneOff=r,s[t.uidEvent=u]=t,e.addEventListener(i,t,o)))}function oe(e,t,n,i,r){i=ne(t[n],i,r);i&&(e.removeEventListener(n,i,Boolean(r)),delete t[n][i.uidEvent])}function ae(e){return e=e.replace(G,""),Q[e]||e}var g={on:function(e,t,n,i){re(e,t,n,i,!1)},one:function(e,t,n,i){re(e,t,n,i,!0)},off:function(e,t,n,i){if("string"==typeof t&&e){var i=Qn(ie(t,n,i),3),r=i[0],o=i[1],a=i[2],l=a!==t,s=te(e),u=s[a]||{},i=t.startsWith(".");if(void 0!==o)return Object.keys(u).length?void oe(e,s,a,o,r?n:null):void 0;if(i)for(var c=0,h=Object.keys(s);c<h.length;c++)for(var d=h[c],f=(_=_=b=y=v=m=g=p=f=void 0,e),p=s,g=d,m=t.slice(1),v=p[g]||{},y=0,b=Object.keys(v);y<b.length;y++){var _=b[y];_.includes(m)&&oe(f,p,g,(_=v[_]).callable,_.delegationSelector)}for(var w=0,x=Object.keys(u);w<x.length;w++){var S=x[w],C=S.replace(X,"");l&&!t.includes(C)||oe(e,s,a,(C=u[S]).callable,C.delegationSelector)}}},trigger:function(e,t,n){if("string"!=typeof t||!e)return null;var i=F(),r=null,o=!0,a=!0,l=!1;t!==ae(t)&&i&&(r=i.Event(t,n),i(e).trigger(r),o=!r.isPropagationStopped(),a=!r.isImmediatePropagationStopped(),l=r.isDefaultPrevented());i=le(i=new Event(t,{bubbles:o,cancelable:!0}),n);return l&&i.preventDefault(),a&&e.dispatchEvent(i),i.defaultPrevented&&r&&r.preventDefault(),i}};function le(i,e){for(var r=0,o=Object.entries(e||{});r<o.length;r++)!function(){var e=Qn(o[r],2),t=e[0],n=e[1];try{i[t]=n}catch(e){Object.defineProperty(i,t,{configurable:!0,get:function(){return n}})}}();return i}var i=new Map,se=function(e,t,n){i.has(e)||i.set(e,new Map);e=i.get(e);e.has(t)||0===e.size?e.set(t,n):console.error("Bootstrap doesn't allow more than one instance per element. Bound instance: ".concat(Array.from(e.keys())[0],"."))},ue=function(e,t){return i.has(e)&&i.get(e).get(t)||null},ce=function(e,t){var n;i.has(e)&&((n=i.get(e)).delete(t),0===n.size&&i.delete(e))};function he(t){if("true"===t)return!0;if("false"===t)return!1;if(t===Number(t).toString())return Number(t);if(""===t||"null"===t)return null;if("string"!=typeof t)return t;try{return JSON.parse(decodeURIComponent(t))}catch(e){return t}}function de(e){return e.replace(/[A-Z]/g,function(e){return"-".concat(e.toLowerCase())})}function n(t){var n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"hide",e="click.dismiss".concat(t.EVENT_KEY),i=t.NAME;g.on(document,e,'[data-bs-dismiss="'.concat(i,'"]'),function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),o(this)||(e=a(this)||this.closest(".".concat(i)),t.getOrCreateInstance(e)[n]())})}var fe=function(e,t,n){e.setAttribute("data-bs-".concat(de(t)),n)},pe=function(e,t){e.removeAttribute("data-bs-".concat(de(t)))},ge=function(e){if(!e)return{};var t,n={},i=Jn(Object.keys(e.dataset).filter(function(e){return e.startsWith("bs")&&!e.startsWith("bsConfig")}));try{for(i.s();!(t=i.n()).done;){var r=t.value,o=r.replace(/^bs/,"");n[o=o.charAt(0).toLowerCase()+o.slice(1,o.length)]=he(e.dataset[r])}}catch(e){i.e(e)}finally{i.f()}return n},me=function(e,t){return he(e.getAttribute("data-bs-".concat(de(t))))},p=function(){function e(){$n(this,e)}return Kn(e,[{key:"_getConfig",value:function(e){return e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}},{key:"_configAfterMerge",value:function(e){return e}},{key:"_mergeConfigObj",value:function(e,t){var n=f(t)?me(t,"config"):{};return Xn(Xn(Xn(Xn({},this.constructor.Default),"object"===ti(n)?n:{}),f(t)?ge(t):{}),"object"===ti(e)?e:{})}},{key:"_typeCheckConfig",value:function(e){for(var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:this.constructor.DefaultType,n=0,i=Object.keys(t);n<i.length;n++){var r=i[n],o=t[r],a=e[r],a=f(a)?"element":null==(a=a)?"".concat(a):Object.prototype.toString.call(a).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(o).test(a))throw new TypeError("".concat(this.constructor.NAME.toUpperCase(),': Option "').concat(r,'" provided type "').concat(a,'" but expected type "').concat(o,'".'))}}}],[{key:"Default",get:function(){return{}}},{key:"DefaultType",get:function(){return{}}},{key:"NAME",get:function(){throw new Error('You have to implement the static method "NAME", for each component!')}}]),e}(),m=function(){Yn(r,p);var i=Un(r);function r(e,t){var n;return $n(this,r),n=i.call(this),(e=l(e))?(n._element=e,n._config=n._getConfig(t),se(n._element,n.constructor.DATA_KEY,Zn(n)),n):qn(n)}return Kn(r,[{key:"dispose",value:function(){ce(this._element,this.constructor.DATA_KEY),g.off(this._element,this.constructor.EVENT_KEY);var e,t=Jn(Object.getOwnPropertyNames(this));try{for(t.s();!(e=t.n()).done;)this[e.value]=null}catch(e){t.e(e)}finally{t.f()}}},{key:"_queueCallback",value:function(e,t){z(e,t,!(2<arguments.length&&void 0!==arguments[2])||arguments[2])}},{key:"_getConfig",value:function(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}}],[{key:"getInstance",value:function(e){return ue(l(e),this.DATA_KEY)}},{key:"getOrCreateInstance",value:function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return this.getInstance(e)||new this(e,"object"===ti(t)?t:null)}},{key:"VERSION",get:function(){return"5.2.0"}},{key:"DATA_KEY",get:function(){return"bs.".concat(this.NAME)}},{key:"EVENT_KEY",get:function(){return".".concat(this.DATA_KEY)}},{key:"eventName",value:function(e){return"".concat(e).concat(this.EVENT_KEY)}}]),r}(),e=".".concat("bs.alert"),ve="close".concat(e),ye="closed".concat(e),e=function(){Yn(n,m);var e=Un(n);function n(){return $n(this,n),e.apply(this,arguments)}return Kn(n,[{key:"close",value:function(){var e,t=this;g.trigger(this._element,ve).defaultPrevented||(this._element.classList.remove("show"),e=this._element.classList.contains("fade"),this._queueCallback(function(){return t._destroyElement()},this._element,e))}},{key:"_destroyElement",value:function(){this._element.remove(),g.trigger(this._element,ye),this.dispose()}}],[{key:"NAME",get:function(){return"alert"}},{key:"jQueryInterface",value:function(t){return this.each(function(){var e=n.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError('No method named "'.concat(t,'"'));e[t](this)}})}}]),n}(),v=(n(e,"close"),t(e),".".concat("bs.button")),be='[data-bs-toggle="button"]',v="click".concat(v).concat(".data-api"),_e=function(){Yn(n,m);var e=Un(n);function n(){return $n(this,n),e.apply(this,arguments)}return Kn(n,[{key:"toggle",value:function(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}}],[{key:"NAME",get:function(){return"button"}},{key:"jQueryInterface",value:function(t){return this.each(function(){var e=n.getOrCreateInstance(this);"toggle"===t&&e[t]()})}}]),n}(),y=(g.on(document,v,be,function(e){e.preventDefault();e=e.target.closest(be);_e.getOrCreateInstance(e).toggle()}),t(_e),{find:function(e){var t,n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.documentElement;return(t=[]).concat.apply(t,Bn(Element.prototype.querySelectorAll.call(n,e)))},findOne:function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.documentElement;return Element.prototype.querySelector.call(t,e)},children:function(e,t){var n;return(n=[]).concat.apply(n,Bn(e.children)).filter(function(e){return e.matches(t)})},parents:function(e,t){for(var n=[],i=e.parentNode.closest(t);i;)n.push(i),i=i.parentNode.closest(t);return n},prev:function(e,t){for(var n=e.previousElementSibling;n;){if(n.matches(t))return[n];n=n.previousElementSibling}return[]},next:function(e,t){for(var n=e.nextElementSibling;n;){if(n.matches(t))return[n];n=n.nextElementSibling}return[]},focusableChildren:function(e){var t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(function(e){return"".concat(e,':not([tabindex^="-"])')}).join(",");return this.find(t,e).filter(function(e){return!o(e)&&r(e)})}}),b=".bs.swipe",we="touchstart".concat(b),xe="touchmove".concat(b),Se="touchend".concat(b),Ce="pointerdown".concat(b),Ee="pointerup".concat(b),ke={endCallback:null,leftCallback:null,rightCallback:null},Me={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"},De=function(){Yn(r,p);var i=Un(r);function r(e,t){var n;return $n(this,r),((n=i.call(this))._element=e)&&r.isSupported()?(n._config=n._getConfig(t),n._deltaX=0,n._supportPointerEvents=Boolean(window.PointerEvent),n._initEvents(),n):qn(n)}return Kn(r,[{key:"dispose",value:function(){g.off(this._element,b)}},{key:"_start",value:function(e){this._supportPointerEvents?this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX):this._deltaX=e.touches[0].clientX}},{key:"_end",value:function(e){this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX-this._deltaX),this._handleSwipe(),h(this._config.endCallback)}},{key:"_move",value:function(e){this._deltaX=e.touches&&1<e.touches.length?0:e.touches[0].clientX-this._deltaX}},{key:"_handleSwipe",value:function(){var e=Math.abs(this._deltaX);e<=40||(e=e/this._deltaX,this._deltaX=0,e&&h(0<e?this._config.rightCallback:this._config.leftCallback))}},{key:"_initEvents",value:function(){var t=this;this._supportPointerEvents?(g.on(this._element,Ce,function(e){return t._start(e)}),g.on(this._element,Ee,function(e){return t._end(e)}),this._element.classList.add("pointer-event")):(g.on(this._element,we,function(e){return t._start(e)}),g.on(this._element,xe,function(e){return t._move(e)}),g.on(this._element,Se,function(e){return t._end(e)}))}},{key:"_eventIsPointerPenTouch",value:function(e){return this._supportPointerEvents&&("pen"===e.pointerType||"touch"===e.pointerType)}}],[{key:"Default",get:function(){return ke}},{key:"DefaultType",get:function(){return Me}},{key:"NAME",get:function(){return"swipe"}},{key:"isSupported",value:function(){return"ontouchstart"in document.documentElement||0<navigator.maxTouchPoints}}]),r}(),v=".".concat("bs.carousel"),_="next",w="prev",x="left",Te="right",Re="slide".concat(v),Ae="slid".concat(v),Oe="keydown".concat(v),Pe="mouseenter".concat(v),Ie="mouseleave".concat(v),Ne="dragstart".concat(v),S="load".concat(v).concat(".data-api"),v="click".concat(v).concat(".data-api"),Le="active",He=".carousel-item",We=(ei(C={},"ArrowLeft",Te),ei(C,"ArrowRight",x),C),je={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},Fe={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"},ze=function(){Yn(i,m);var n=Un(i);function i(e,t){return $n(this,i),(e=n.call(this,e,t))._interval=null,e._activeElement=null,e._isSliding=!1,e.touchTimeout=null,e._swipeHelper=null,e._indicatorsElement=y.findOne(".carousel-indicators",e._element),e._addEventListeners(),"carousel"===e._config.ride&&e.cycle(),e}return Kn(i,[{key:"next",value:function(){this._slide(_)}},{key:"nextWhenVisible",value:function(){!document.hidden&&r(this._element)&&this.next()}},{key:"prev",value:function(){this._slide(w)}},{key:"pause",value:function(){this._isSliding&&W(this._element),this._clearInterval()}},{key:"cycle",value:function(){var e=this;this._clearInterval(),this._updateInterval(),this._interval=setInterval(function(){return e.nextWhenVisible()},this._config.interval)}},{key:"_maybeEnableCycle",value:function(){var e=this;this._config.ride&&(this._isSliding?g.one(this._element,Ae,function(){return e.cycle()}):this.cycle())}},{key:"to",value:function(e){var t,n=this,i=this._getItems();e>i.length-1||e<0||(this._isSliding?g.one(this._element,Ae,function(){return n.to(e)}):(t=this._getItemIndex(this._getActive()))!==e&&this._slide(t<e?_:w,i[e]))}},{key:"dispose",value:function(){this._swipeHelper&&this._swipeHelper.dispose(),Vn(Gn(i.prototype),"dispose",this).call(this)}},{key:"_configAfterMerge",value:function(e){return e.defaultInterval=e.interval,e}},{key:"_addEventListeners",value:function(){var t=this;this._config.keyboard&&g.on(this._element,Oe,function(e){return t._keydown(e)}),"hover"===this._config.pause&&(g.on(this._element,Pe,function(){return t.pause()}),g.on(this._element,Ie,function(){return t._maybeEnableCycle()})),this._config.touch&&De.isSupported()&&this._addTouchEventListeners()}},{key:"_addTouchEventListeners",value:function(){var e,t=this,n=Jn(y.find(".carousel-item img",this._element));try{for(n.s();!(e=n.n()).done;){var i=e.value;g.on(i,Ne,function(e){return e.preventDefault()})}}catch(e){n.e(e)}finally{n.f()}this._swipeHelper=new De(this._element,{leftCallback:function(){return t._slide(t._directionToOrder(x))},rightCallback:function(){return t._slide(t._directionToOrder(Te))},endCallback:function(){"hover"===t._config.pause&&(t.pause(),t.touchTimeout&&clearTimeout(t.touchTimeout),t.touchTimeout=setTimeout(function(){return t._maybeEnableCycle()},500+t._config.interval))}})}},{key:"_keydown",value:function(e){var t;/input|textarea/i.test(e.target.tagName)||(t=We[e.key])&&(e.preventDefault(),this._slide(this._directionToOrder(t)))}},{key:"_getItemIndex",value:function(e){return this._getItems().indexOf(e)}},{key:"_setActiveIndicatorElement",value:function(e){var t;this._indicatorsElement&&((t=y.findOne(".active",this._indicatorsElement)).classList.remove(Le),t.removeAttribute("aria-current"),(t=y.findOne('[data-bs-slide-to="'.concat(e,'"]'),this._indicatorsElement))&&(t.classList.add(Le),t.setAttribute("aria-current","true")))}},{key:"_updateInterval",value:function(){var e=this._activeElement||this._getActive();e&&(e=Number.parseInt(e.getAttribute("data-bs-interval"),10),this._config.interval=e||this._config.defaultInterval)}},{key:"_slide",value:function(t){var n,e,i,r,o,a,l,s=this,u=1<arguments.length&&void 0!==arguments[1]?arguments[1]:null;this._isSliding||(n=this._getActive(),e=t===_,(i=u||V(this._getItems(),n,e,this._config.wrap))!==n&&(r=this._getItemIndex(i),(o=function(e){return g.trigger(s._element,e,{relatedTarget:i,direction:s._orderToDirection(t),from:s._getItemIndex(n),to:r})})(Re).defaultPrevented||n&&i&&(u=Boolean(this._interval),this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(r),this._activeElement=i,a=e?"carousel-item-start":"carousel-item-end",l=e?"carousel-item-next":"carousel-item-prev",i.classList.add(l),c(i),n.classList.add(a),i.classList.add(a),this._queueCallback(function(){i.classList.remove(a,l),i.classList.add(Le),n.classList.remove(Le,l,a),s._isSliding=!1,o(Ae)},n,this._isAnimated()),u&&this.cycle())))}},{key:"_isAnimated",value:function(){return this._element.classList.contains("slide")}},{key:"_getActive",value:function(){return y.findOne(".active.carousel-item",this._element)}},{key:"_getItems",value:function(){return y.find(He,this._element)}},{key:"_clearInterval",value:function(){this._interval&&(clearInterval(this._interval),this._interval=null)}},{key:"_directionToOrder",value:function(e){return s()?e===x?w:_:e===x?_:w}},{key:"_orderToDirection",value:function(e){return s()?e===w?x:Te:e===w?Te:x}}],[{key:"Default",get:function(){return je}},{key:"DefaultType",get:function(){return Fe}},{key:"NAME",get:function(){return"carousel"}},{key:"jQueryInterface",value:function(t){return this.each(function(){var e=i.getOrCreateInstance(this,t);if("number"==typeof t)e.to(t);else if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError('No method named "'.concat(t,'"'));e[t]()}})}}]),i}(),C=(g.on(document,v,"[data-bs-slide], [data-bs-slide-to]",function(e){var t=a(this);t&&t.classList.contains("carousel")&&(e.preventDefault(),e=ze.getOrCreateInstance(t),(t=this.getAttribute("data-bs-slide-to"))?e.to(t):"next"===me(this,"slide")?e.next():e.prev(),e._maybeEnableCycle())}),g.on(window,S,function(){var e,t=Jn(y.find('[data-bs-ride="carousel"]'));try{for(t.s();!(e=t.n()).done;){var n=e.value;ze.getOrCreateInstance(n)}}catch(e){t.e(e)}finally{t.f()}}),t(ze),".".concat("bs.collapse")),Ve="show".concat(C),Be="shown".concat(C),Ye="hide".concat(C),Ue="hidden".concat(C),v="click".concat(C).concat(".data-api"),E="collapse",qe="collapsing",Ze=":scope .".concat(E," .").concat(E),Ge='[data-bs-toggle="collapse"]',Xe={parent:null,toggle:!0},$e={parent:"(null|element)",toggle:"boolean"},Ke=function(){Yn(u,m);var s=Un(u);function u(e,t){var n;$n(this,u),(n=s.call(this,e,t))._isTransitioning=!1,n._triggerArray=[];var i,r=Jn(y.find(Ge));try{for(r.s();!(i=r.n()).done;){var o=i.value,a=H(o),l=y.find(a).filter(function(e){return e===n._element});null!==a&&l.length&&n._triggerArray.push(o)}}catch(e){r.e(e)}finally{r.f()}return n._initializeChildren(),n._config.parent||n._addAriaAndCollapsedClass(n._triggerArray,n._isShown()),n._config.toggle&&n.toggle(),n}return Kn(u,[{key:"toggle",value:function(){this._isShown()?this.hide():this.show()}},{key:"show",value:function(){var t=this;if(!this._isTransitioning&&!this._isShown()){var e=[];if(!(e=this._config.parent?this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter(function(e){return e!==t._element}).map(function(e){return u.getOrCreateInstance(e,{toggle:!1})}):e).length||!e[0]._isTransitioning){var n=g.trigger(this._element,Ve);if(!n.defaultPrevented){var i,r=Jn(e);try{for(r.s();!(i=r.n()).done;)i.value.hide()}catch(e){r.e(e)}finally{r.f()}var o=this._getDimension(),n=(this._element.classList.remove(E),this._element.classList.add(qe),this._element.style[o]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0,o[0].toUpperCase()+o.slice(1)),e="scroll".concat(n);this._queueCallback(function(){t._isTransitioning=!1,t._element.classList.remove(qe),t._element.classList.add(E,"show"),t._element.style[o]="",g.trigger(t._element,Be)},this._element,!0),this._element.style[o]="".concat(this._element[e],"px")}}}}},{key:"hide",value:function(){var e=this;if(!this._isTransitioning&&this._isShown()){var t=g.trigger(this._element,Ye);if(!t.defaultPrevented){var n,t=this._getDimension(),i=(this._element.style[t]="".concat(this._element.getBoundingClientRect()[t],"px"),c(this._element),this._element.classList.add(qe),this._element.classList.remove(E,"show"),Jn(this._triggerArray));try{for(i.s();!(n=i.n()).done;){var r=n.value,o=a(r);o&&!this._isShown(o)&&this._addAriaAndCollapsedClass([r],!1)}}catch(e){i.e(e)}finally{i.f()}this._isTransitioning=!0;this._element.style[t]="",this._queueCallback(function(){e._isTransitioning=!1,e._element.classList.remove(qe),e._element.classList.add(E),g.trigger(e._element,Ue)},this._element,!0)}}}},{key:"_isShown",value:function(){return(0<arguments.length&&void 0!==arguments[0]?arguments[0]:this._element).classList.contains("show")}},{key:"_configAfterMerge",value:function(e){return e.toggle=Boolean(e.toggle),e.parent=l(e.parent),e}},{key:"_getDimension",value:function(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}},{key:"_initializeChildren",value:function(){if(this._config.parent){var e,t=Jn(this._getFirstLevelChildren(Ge));try{for(t.s();!(e=t.n()).done;){var n=e.value,i=a(n);i&&this._addAriaAndCollapsedClass([n],this._isShown(i))}}catch(e){t.e(e)}finally{t.f()}}}},{key:"_getFirstLevelChildren",value:function(e){var t=y.find(Ze,this._config.parent);return y.find(e,this._config.parent).filter(function(e){return!t.includes(e)})}},{key:"_addAriaAndCollapsedClass",value:function(e,t){if(e.length){var n,i=Jn(e);try{for(i.s();!(n=i.n()).done;){var r=n.value;r.classList.toggle("collapsed",!t),r.setAttribute("aria-expanded",t)}}catch(e){i.e(e)}finally{i.f()}}}}],[{key:"Default",get:function(){return Xe}},{key:"DefaultType",get:function(){return $e}},{key:"NAME",get:function(){return"collapse"}},{key:"jQueryInterface",value:function(t){var n={};return"string"==typeof t&&/show|hide/.test(t)&&(n.toggle=!1),this.each(function(){var e=u.getOrCreateInstance(this,n);if("string"==typeof t){if(void 0===e[t])throw new TypeError('No method named "'.concat(t,'"'));e[t]()}})}}]),u}(),S=(g.on(document,v,Ge,function(e){("A"===e.target.tagName||e.delegateTarget&&"A"===e.delegateTarget.tagName)&&e.preventDefault();var t,e=H(this),n=Jn(y.find(e));try{for(n.s();!(t=n.n()).done;){var i=t.value;Ke.getOrCreateInstance(i,{toggle:!1}).toggle()}}catch(e){n.e(e)}finally{n.f()}}),t(Ke),".".concat("bs.dropdown")),C=".data-api",Qe="hide".concat(S),Je="hidden".concat(S),et="show".concat(S),tt="shown".concat(S),v="click".concat(S).concat(C),k="keydown".concat(S).concat(C),S="keyup".concat(S).concat(C),M="show",nt='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',it="".concat(nt,".").concat(M),rt=".dropdown-menu",ot=s()?"top-end":"top-start",at=s()?"top-start":"top-end",lt=s()?"bottom-end":"bottom-start",st=s()?"bottom-start":"bottom-end",ut=s()?"left-start":"right-start",ct=s()?"right-start":"left-start",ht={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},dt={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"},D=function(){Yn(s,m);var n=Un(s);function s(e,t){return $n(this,s),(e=n.call(this,e,t))._popper=null,e._parent=e._element.parentNode,e._menu=y.findOne(rt,e._parent),e._inNavbar=e._detectNavbar(),e}return Kn(s,[{key:"toggle",value:function(){return this._isShown()?this.hide():this.show()}},{key:"show",value:function(){if(!o(this._element)&&!this._isShown()){var e={relatedTarget:this._element},t=g.trigger(this._element,et,e);if(!t.defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(".navbar-nav")){var n,i=Jn((t=[]).concat.apply(t,Bn(document.body.children)));try{for(i.s();!(n=i.n()).done;){var r=n.value;g.on(r,"mouseover",u)}}catch(e){i.e(e)}finally{i.f()}}this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(M),this._element.classList.add(M),g.trigger(this._element,tt,e)}}}},{key:"hide",value:function(){var e;!o(this._element)&&this._isShown()&&(e={relatedTarget:this._element},this._completeHide(e))}},{key:"dispose",value:function(){this._popper&&this._popper.destroy(),Vn(Gn(s.prototype),"dispose",this).call(this)}},{key:"update",value:function(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}},{key:"_completeHide",value:function(e){var t=g.trigger(this._element,Qe,e);if(!t.defaultPrevented){if("ontouchstart"in document.documentElement){var n,i=Jn((t=[]).concat.apply(t,Bn(document.body.children)));try{for(i.s();!(n=i.n()).done;){var r=n.value;g.off(r,"mouseover",u)}}catch(e){i.e(e)}finally{i.f()}}this._popper&&this._popper.destroy(),this._menu.classList.remove(M),this._element.classList.remove(M),this._element.setAttribute("aria-expanded","false"),pe(this._menu,"popper"),g.trigger(this._element,Je,e)}}},{key:"_getConfig",value:function(e){if("object"!==ti((e=Vn(Gn(s.prototype),"_getConfig",this).call(this,e)).reference)||f(e.reference)||"function"==typeof e.reference.getBoundingClientRect)return e;throw new TypeError("".concat("dropdown".toUpperCase(),': Option "reference" provided type "object" without a required "getBoundingClientRect" method.'))}},{key:"_createPopper",value:function(){if(void 0===d)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");var e=this._element,t=("parent"===this._config.reference?e=this._parent:f(this._config.reference)?e=l(this._config.reference):"object"===ti(this._config.reference)&&(e=this._config.reference),this._getPopperConfig());this._popper=d.createPopper(e,this._menu,t)}},{key:"_isShown",value:function(){return this._menu.classList.contains(M)}},{key:"_getPlacement",value:function(){var e=this._parent;if(e.classList.contains("dropend"))return ut;if(e.classList.contains("dropstart"))return ct;if(e.classList.contains("dropup-center"))return"top";if(e.classList.contains("dropdown-center"))return"bottom";var t="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return e.classList.contains("dropup")?t?at:ot:t?st:lt}},{key:"_detectNavbar",value:function(){return null!==this._element.closest(".navbar")}},{key:"_getOffset",value:function(){var t=this,n=this._config.offset;return"string"==typeof n?n.split(",").map(function(e){return Number.parseInt(e,10)}):"function"==typeof n?function(e){return n(e,t._element)}:n}},{key:"_getPopperConfig",value:function(){var e={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return!this._inNavbar&&"static"!==this._config.display||(fe(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),Xn(Xn({},e),"function"==typeof this._config.popperConfig?this._config.popperConfig(e):this._config.popperConfig)}},{key:"_selectMenuItem",value:function(e){var t=e.key,e=e.target,n=y.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(r);n.length&&V(n,e,"ArrowDown"===t,!n.includes(e)).focus()}}],[{key:"Default",get:function(){return ht}},{key:"DefaultType",get:function(){return dt}},{key:"NAME",get:function(){return"dropdown"}},{key:"jQueryInterface",value:function(t){return this.each(function(){var e=s.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError('No method named "'.concat(t,'"'));e[t]()}})}},{key:"clearMenus",value:function(e){if(2!==e.button&&("keyup"!==e.type||"Tab"===e.key)){var t,n=Jn(y.find(it));try{for(n.s();!(t=n.n()).done;){var i,r,o,a=t.value,l=s.getInstance(a);l&&!1!==l._config.autoClose&&(r=(i=e.composedPath()).includes(l._menu),i.includes(l._element)||"inside"===l._config.autoClose&&!r||"outside"===l._config.autoClose&&r||l._menu.contains(e.target)&&("keyup"===e.type&&"Tab"===e.key||/input|select|option|textarea|form/i.test(e.target.tagName))||(o={relatedTarget:l._element},"click"===e.type&&(o.clickEvent=e),l._completeHide(o)))}}catch(e){n.e(e)}finally{n.f()}}}},{key:"dataApiKeydownHandler",value:function(e){var t=/input|textarea/i.test(e.target.tagName),n="Escape"===e.key,i=["ArrowUp","ArrowDown"].includes(e.key);!i&&!n||t&&!n||(e.preventDefault(),t=y.findOne(nt,e.delegateTarget.parentNode),n=s.getOrCreateInstance(t),i?(e.stopPropagation(),n.show(),n._selectMenuItem(e)):n._isShown()&&(e.stopPropagation(),n.hide(),t.focus()))}}]),s}(),ft=(g.on(document,k,nt,D.dataApiKeydownHandler),g.on(document,k,rt,D.dataApiKeydownHandler),g.on(document,v,D.clearMenus),g.on(document,S,D.clearMenus),g.on(document,v,nt,function(e){e.preventDefault(),D.getOrCreateInstance(this).toggle()}),t(D),".fixed-top, .fixed-bottom, .is-fixed, .sticky-top"),pt=".sticky-top",gt="padding-right",mt="margin-right",vt=function(){function e(){$n(this,e),this._element=document.body}return Kn(e,[{key:"getWidth",value:function(){var e=document.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}},{key:"hide",value:function(){var t=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,gt,function(e){return e+t}),this._setElementAttributes(ft,gt,function(e){return e+t}),this._setElementAttributes(pt,mt,function(e){return e-t})}},{key:"reset",value:function(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,gt),this._resetElementAttributes(ft,gt),this._resetElementAttributes(pt,mt)}},{key:"isOverflowing",value:function(){return 0<this.getWidth()}},{key:"_disableOverFlow",value:function(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}},{key:"_setElementAttributes",value:function(e,n,i){var r=this,o=this.getWidth();this._applyManipulationCallback(e,function(e){var t;e!==r._element&&window.innerWidth>e.clientWidth+o||(r._saveInitialAttribute(e,n),t=window.getComputedStyle(e).getPropertyValue(n),e.style.setProperty(n,"".concat(i(Number.parseFloat(t)),"px")))})}},{key:"_saveInitialAttribute",value:function(e,t){var n=e.style.getPropertyValue(t);n&&fe(e,t,n)}},{key:"_resetElementAttributes",value:function(e,n){this._applyManipulationCallback(e,function(e){var t=me(e,n);null===t?e.style.removeProperty(n):(pe(e,n),e.style.setProperty(n,t))})}},{key:"_applyManipulationCallback",value:function(e,t){if(f(e))t(e);else{var n,i=Jn(y.find(e,this._element));try{for(i.s();!(n=i.n()).done;)t(n.value)}catch(e){i.e(e)}finally{i.f()}}}}]),e}(),yt="mousedown.bs.".concat("backdrop"),bt={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},_t={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"},wt=function(){Yn(i,p);var n=Un(i);function i(e){var t;return $n(this,i),(t=n.call(this))._config=t._getConfig(e),t._isAppended=!1,t._element=null,t}return Kn(i,[{key:"show",value:function(e){var t;this._config.isVisible?(this._append(),t=this._getElement(),this._config.isAnimated&&c(t),t.classList.add("show"),this._emulateAnimation(function(){h(e)})):h(e)}},{key:"hide",value:function(e){var t=this;this._config.isVisible?(this._getElement().classList.remove("show"),this._emulateAnimation(function(){t.dispose(),h(e)})):h(e)}},{key:"dispose",value:function(){this._isAppended&&(g.off(this._element,yt),this._element.remove(),this._isAppended=!1)}},{key:"_getElement",value:function(){var e;return this._element||((e=document.createElement("div")).className=this._config.className,this._config.isAnimated&&e.classList.add("fade"),this._element=e),this._element}},{key:"_configAfterMerge",value:function(e){return e.rootElement=l(e.rootElement),e}},{key:"_append",value:function(){var e,t=this;this._isAppended||(e=this._getElement(),this._config.rootElement.append(e),g.on(e,yt,function(){h(t._config.clickCallback)}),this._isAppended=!0)}},{key:"_emulateAnimation",value:function(e){z(e,this._getElement(),this._config.isAnimated)}}],[{key:"Default",get:function(){return bt}},{key:"DefaultType",get:function(){return _t}},{key:"NAME",get:function(){return"backdrop"}}]),i}(),xt=".".concat("bs.focustrap"),St="focusin".concat(xt),Ct="keydown.tab".concat(xt),Et={autofocus:!0,trapElement:null},kt={autofocus:"boolean",trapElement:"element"},Mt=function(){Yn(i,p);var n=Un(i);function i(e){var t;return $n(this,i),(t=n.call(this))._config=t._getConfig(e),t._isActive=!1,t._lastTabNavDirection=null,t}return Kn(i,[{key:"activate",value:function(){var t=this;this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),g.off(document,xt),g.on(document,St,function(e){return t._handleFocusin(e)}),g.on(document,Ct,function(e){return t._handleKeydown(e)}),this._isActive=!0)}},{key:"deactivate",value:function(){this._isActive&&(this._isActive=!1,g.off(document,xt))}},{key:"_handleFocusin",value:function(e){var t=this._config.trapElement;e.target===document||e.target===t||t.contains(e.target)||(0===(e=y.focusableChildren(t)).length?t:"backward"===this._lastTabNavDirection?e[e.length-1]:e[0]).focus()}},{key:"_handleKeydown",value:function(e){"Tab"===e.key&&(this._lastTabNavDirection=e.shiftKey?"backward":"forward")}}],[{key:"Default",get:function(){return Et}},{key:"DefaultType",get:function(){return kt}},{key:"NAME",get:function(){return"focustrap"}}]),i}(),T=".".concat("bs.modal"),Dt="hide".concat(T),Tt="hidePrevented".concat(T),Rt="hidden".concat(T),At="show".concat(T),Ot="shown".concat(T),Pt="resize".concat(T),It="mousedown.dismiss".concat(T),Nt="keydown.dismiss".concat(T),C="click".concat(T).concat(".data-api"),Lt="modal-open",Ht="modal-static",Wt={backdrop:!0,focus:!0,keyboard:!0},jt={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"},R=function(){Yn(i,m);var n=Un(i);function i(e,t){return $n(this,i),(e=n.call(this,e,t))._dialog=y.findOne(".modal-dialog",e._element),e._backdrop=e._initializeBackDrop(),e._focustrap=e._initializeFocusTrap(),e._isShown=!1,e._isTransitioning=!1,e._scrollBar=new vt,e._addEventListeners(),e}return Kn(i,[{key:"toggle",value:function(e){return this._isShown?this.hide():this.show(e)}},{key:"show",value:function(e){var t=this;this._isShown||this._isTransitioning||g.trigger(this._element,At,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(Lt),this._adjustDialog(),this._backdrop.show(function(){return t._showElement(e)}))}},{key:"hide",value:function(){var e=this;!this._isShown||this._isTransitioning||g.trigger(this._element,Dt).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove("show"),this._queueCallback(function(){return e._hideModal()},this._element,this._isAnimated()))}},{key:"dispose",value:function(){for(var e=0,t=[window,this._dialog];e<t.length;e++)g.off(t[e],T);this._backdrop.dispose(),this._focustrap.deactivate(),Vn(Gn(i.prototype),"dispose",this).call(this)}},{key:"handleUpdate",value:function(){this._adjustDialog()}},{key:"_initializeBackDrop",value:function(){return new wt({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}},{key:"_initializeFocusTrap",value:function(){return new Mt({trapElement:this._element})}},{key:"_showElement",value:function(e){var t=this,n=(document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0,y.findOne(".modal-body",this._dialog));n&&(n.scrollTop=0),c(this._element),this._element.classList.add("show");this._queueCallback(function(){t._config.focus&&t._focustrap.activate(),t._isTransitioning=!1,g.trigger(t._element,Ot,{relatedTarget:e})},this._dialog,this._isAnimated())}},{key:"_addEventListeners",value:function(){var t=this;g.on(this._element,Nt,function(e){"Escape"===e.key&&(t._config.keyboard?(e.preventDefault(),t.hide()):t._triggerBackdropTransition())}),g.on(window,Pt,function(){t._isShown&&!t._isTransitioning&&t._adjustDialog()}),g.on(this._element,It,function(e){e.target===e.currentTarget&&("static"===t._config.backdrop?t._triggerBackdropTransition():t._config.backdrop&&t.hide())})}},{key:"_hideModal",value:function(){var e=this;this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(function(){document.body.classList.remove(Lt),e._resetAdjustments(),e._scrollBar.reset(),g.trigger(e._element,Rt)})}},{key:"_isAnimated",value:function(){return this._element.classList.contains("fade")}},{key:"_triggerBackdropTransition",value:function(){var e,t,n=this;g.trigger(this._element,Tt).defaultPrevented||(e=this._element.scrollHeight>document.documentElement.clientHeight,"hidden"===(t=this._element.style.overflowY)||this._element.classList.contains(Ht)||(e||(this._element.style.overflowY="hidden"),this._element.classList.add(Ht),this._queueCallback(function(){n._element.classList.remove(Ht),n._queueCallback(function(){n._element.style.overflowY=t},n._dialog)},this._dialog),this._element.focus()))}},{key:"_adjustDialog",value:function(){var e,t=this._element.scrollHeight>document.documentElement.clientHeight,n=this._scrollBar.getWidth(),i=0<n;i&&!t&&(e=s()?"paddingLeft":"paddingRight",this._element.style[e]="".concat(n,"px")),!i&&t&&(e=s()?"paddingRight":"paddingLeft",this._element.style[e]="".concat(n,"px"))}},{key:"_resetAdjustments",value:function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}}],[{key:"Default",get:function(){return Wt}},{key:"DefaultType",get:function(){return jt}},{key:"NAME",get:function(){return"modal"}},{key:"jQueryInterface",value:function(t,n){return this.each(function(){var e=i.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError('No method named "'.concat(t,'"'));e[t](n)}})}}]),i}(),k=(g.on(document,C,'[data-bs-toggle="modal"]',function(e){var t=this,n=a(this),e=(["A","AREA"].includes(this.tagName)&&e.preventDefault(),g.one(n,At,function(e){e.defaultPrevented||g.one(n,Rt,function(){r(t)&&t.focus()})}),y.findOne(".modal.show"));e&&R.getInstance(e).hide(),R.getOrCreateInstance(n).toggle(this)}),n(R),t(R),".".concat("bs.offcanvas")),S="load".concat(k).concat(".data-api"),Ft=".offcanvas.show",zt="show".concat(k),Vt="shown".concat(k),Bt="hide".concat(k),Yt="hidePrevented".concat(k),Ut="hidden".concat(k),v="resize".concat(k),C="click".concat(k).concat(".data-api"),qt="keydown.dismiss".concat(k),Zt={backdrop:!0,keyboard:!0,scroll:!1},Gt={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"},A=function(){Yn(i,m);var n=Un(i);function i(e,t){return $n(this,i),(e=n.call(this,e,t))._isShown=!1,e._backdrop=e._initializeBackDrop(),e._focustrap=e._initializeFocusTrap(),e._addEventListeners(),e}return Kn(i,[{key:"toggle",value:function(e){return this._isShown?this.hide():this.show(e)}},{key:"show",value:function(e){var t=this;this._isShown||g.trigger(this._element,zt,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._backdrop.show(),this._config.scroll||(new vt).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add("showing"),this._queueCallback(function(){t._config.scroll&&!t._config.backdrop||t._focustrap.activate(),t._element.classList.add("show"),t._element.classList.remove("showing"),g.trigger(t._element,Vt,{relatedTarget:e})},this._element,!0))}},{key:"hide",value:function(){var e=this;this._isShown&&!g.trigger(this._element,Bt).defaultPrevented&&(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add("hiding"),this._backdrop.hide(),this._queueCallback(function(){e._element.classList.remove("show","hiding"),e._element.removeAttribute("aria-modal"),e._element.removeAttribute("role"),e._config.scroll||(new vt).reset(),g.trigger(e._element,Ut)},this._element,!0))}},{key:"dispose",value:function(){this._backdrop.dispose(),this._focustrap.deactivate(),Vn(Gn(i.prototype),"dispose",this).call(this)}},{key:"_initializeBackDrop",value:function(){var e=this,t=Boolean(this._config.backdrop);return new wt({className:"offcanvas-backdrop",isVisible:t,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:t?function(){"static"===e._config.backdrop?g.trigger(e._element,Yt):e.hide()}:null})}},{key:"_initializeFocusTrap",value:function(){return new Mt({trapElement:this._element})}},{key:"_addEventListeners",value:function(){var t=this;g.on(this._element,qt,function(e){"Escape"===e.key&&(t._config.keyboard?t.hide():g.trigger(t._element,Yt))})}}],[{key:"Default",get:function(){return Zt}},{key:"DefaultType",get:function(){return Gt}},{key:"NAME",get:function(){return"offcanvas"}},{key:"jQueryInterface",value:function(t){return this.each(function(){var e=i.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError('No method named "'.concat(t,'"'));e[t](this)}})}}]),i}(),Xt=(g.on(document,C,'[data-bs-toggle="offcanvas"]',function(e){var t=this,n=a(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),o(this)||(g.one(n,Ut,function(){r(t)&&t.focus()}),(e=y.findOne(Ft))&&e!==n&&A.getInstance(e).hide(),A.getOrCreateInstance(n).toggle(this))}),g.on(window,S,function(){var e,t=Jn(y.find(Ft));try{for(t.s();!(e=t.n()).done;){var n=e.value;A.getOrCreateInstance(n).show()}}catch(e){t.e(e)}finally{t.f()}}),g.on(window,v,function(){var e,t=Jn(y.find("[aria-modal][class*=show][class*=offcanvas-]"));try{for(t.s();!(e=t.n()).done;){var n=e.value;"fixed"!==getComputedStyle(n).position&&A.getOrCreateInstance(n).hide()}}catch(e){t.e(e)}finally{t.f()}}),n(A),t(A),new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"])),$t=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i,Kt=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i,k={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]};function Qt(e,t,n){if(!e.length)return e;if(n&&"function"==typeof n)return n(e);var i,n=(new window.DOMParser).parseFromString(e,"text/html"),r=Jn((e=[]).concat.apply(e,Bn(n.body.querySelectorAll("*"))));try{for(r.s();!(i=r.n()).done;){var o,a=i.value,l=a.nodeName.toLowerCase();if(Object.keys(t).includes(l)){var s,u=(o=[]).concat.apply(o,Bn(a.attributes)),c=[].concat(t["*"]||[],t[l]||[]),h=Jn(u);try{for(h.s();!(s=h.n()).done;){var d=s.value;!function(e,t){var n=e.nodeName.toLowerCase();return t.includes(n)?!Xt.has(n)||Boolean($t.test(e.nodeValue)||Kt.test(e.nodeValue)):t.filter(function(e){return e instanceof RegExp}).some(function(e){return e.test(n)})}(d,c)&&a.removeAttribute(d.nodeName)}}catch(e){h.e(e)}finally{h.f()}}else a.remove()}}catch(e){r.e(e)}finally{r.f()}return n.body.innerHTML}var Jt={allowList:k,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},en={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},tn={entry:"(string|element|function|null)",selector:"(string|element)"},nn=function(){Yn(o,p);var n=Un(o);function o(e){var t;return $n(this,o),(t=n.call(this))._config=t._getConfig(e),t}return Kn(o,[{key:"getContent",value:function(){var t=this;return Object.values(this._config.content).map(function(e){return t._resolvePossibleFunction(e)}).filter(Boolean)}},{key:"hasContent",value:function(){return 0<this.getContent().length}},{key:"changeContent",value:function(e){return this._checkContent(e),this._config.content=Xn(Xn({},this._config.content),e),this}},{key:"toHtml",value:function(){var e=document.createElement("div");e.innerHTML=this._maybeSanitize(this._config.template);for(var t=0,n=Object.entries(this._config.content);t<n.length;t++){var i=Qn(n[t],2),r=i[0],i=i[1];this._setContent(e,i,r)}var o,a=e.children[0],l=this._resolvePossibleFunction(this._config.extraClass);return l&&(o=a.classList).add.apply(o,Bn(l.split(" "))),a}},{key:"_typeCheckConfig",value:function(e){Vn(Gn(o.prototype),"_typeCheckConfig",this).call(this,e),this._checkContent(e.content)}},{key:"_checkContent",value:function(e){for(var t=0,n=Object.entries(e);t<n.length;t++){var i=Qn(n[t],2),r=i[0],i=i[1];Vn(Gn(o.prototype),"_typeCheckConfig",this).call(this,{selector:r,entry:i},tn)}}},{key:"_setContent",value:function(e,t,n){n=y.findOne(n,e);n&&((t=this._resolvePossibleFunction(t))?f(t)?this._putElementInTemplate(l(t),n):this._config.html?n.innerHTML=this._maybeSanitize(t):n.textContent=t:n.remove())}},{key:"_maybeSanitize",value:function(e){return this._config.sanitize?Qt(e,this._config.allowList,this._config.sanitizeFn):e}},{key:"_resolvePossibleFunction",value:function(e){return"function"==typeof e?e(this):e}},{key:"_putElementInTemplate",value:function(e,t){this._config.html?(t.innerHTML="",t.append(e)):t.textContent=e.textContent}}],[{key:"Default",get:function(){return Jt}},{key:"DefaultType",get:function(){return en}},{key:"NAME",get:function(){return"TemplateFactory"}}]),o}(),rn=new Set(["sanitize","allowList","sanitizeFn"]),on="show",an=".".concat("modal"),ln="hide.bs.modal",O="hover",sn={AUTO:"auto",TOP:"top",RIGHT:s()?"left":"right",BOTTOM:"bottom",LEFT:s()?"right":"left"},un={allowList:k,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,0],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',title:"",trigger:"hover focus"},cn={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"},P=function(){Yn(i,m);var n=Un(i);function i(e,t){if($n(this,i),void 0===d)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");return(e=n.call(this,e,t))._isEnabled=!0,e._timeout=0,e._isHovered=!1,e._activeTrigger={},e._popper=null,e._templateFactory=null,e._newContent=null,e.tip=null,e._setListeners(),e}return Kn(i,[{key:"enable",value:function(){this._isEnabled=!0}},{key:"disable",value:function(){this._isEnabled=!1}},{key:"toggleEnabled",value:function(){this._isEnabled=!this._isEnabled}},{key:"toggle",value:function(e){this._isEnabled&&(e?((e=this._initializeOnDelegatedTarget(e))._activeTrigger.click=!e._activeTrigger.click,e._isWithActiveTrigger()?e._enter():e._leave()):this._isShown()?this._leave():this._enter())}},{key:"dispose",value:function(){clearTimeout(this._timeout),g.off(this._element.closest(an),ln,this._hideModalHandler),this.tip&&this.tip.remove(),this._disposePopper(),Vn(Gn(i.prototype),"dispose",this).call(this)}},{key:"show",value:function(){var t=this;if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(this._isWithContent()&&this._isEnabled){var e=g.trigger(this._element,this.constructor.eventName("show")),n=(j(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(!e.defaultPrevented&&n){this.tip&&(this.tip.remove(),this.tip=null);e=this._getTipElement(),n=(this._element.setAttribute("aria-describedby",e.getAttribute("id")),this._config.container);if(this._element.ownerDocument.documentElement.contains(this.tip)||(n.append(e),g.trigger(this._element,this.constructor.eventName("inserted"))),this._popper?this._popper.update():this._popper=this._createPopper(e),e.classList.add(on),"ontouchstart"in document.documentElement){var i,r=Jn((n=[]).concat.apply(n,Bn(document.body.children)));try{for(r.s();!(i=r.n()).done;){var o=i.value;g.on(o,"mouseover",u)}}catch(e){r.e(e)}finally{r.f()}}this._queueCallback(function(){var e=t._isHovered;t._isHovered=!1,g.trigger(t._element,t.constructor.eventName("shown")),e&&t._leave()},this.tip,this._isAnimated())}}}},{key:"hide",value:function(){var e=this;if(this._isShown()){var t=g.trigger(this._element,this.constructor.eventName("hide"));if(!t.defaultPrevented){var n=this._getTipElement();if(n.classList.remove(on),"ontouchstart"in document.documentElement){var i,r=Jn((t=[]).concat.apply(t,Bn(document.body.children)));try{for(r.s();!(i=r.n()).done;){var o=i.value;g.off(o,"mouseover",u)}}catch(e){r.e(e)}finally{r.f()}}this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger[O]=!1,this._isHovered=!1;this._queueCallback(function(){e._isWithActiveTrigger()||(e._isHovered||n.remove(),e._element.removeAttribute("aria-describedby"),g.trigger(e._element,e.constructor.eventName("hidden")),e._disposePopper())},this.tip,this._isAnimated())}}}},{key:"update",value:function(){this._popper&&this._popper.update()}},{key:"_isWithContent",value:function(){return Boolean(this._getTitle())}},{key:"_getTipElement",value:function(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}},{key:"_createTipElement",value:function(e){e=this._getTemplateFactory(e).toHtml();if(!e)return null;e.classList.remove("fade",on),e.classList.add("bs-".concat(this.constructor.NAME,"-auto"));var t=function(e){for(;e+=Math.floor(1e6*Math.random()),document.getElementById(e););return e}(this.constructor.NAME).toString();return e.setAttribute("id",t),this._isAnimated()&&e.classList.add("fade"),e}},{key:"setContent",value:function(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}},{key:"_getTemplateFactory",value:function(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new nn(Xn(Xn({},this._config),{},{content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)})),this._templateFactory}},{key:"_getContentForTemplate",value:function(){return ei({},".tooltip-inner",this._getTitle())}},{key:"_getTitle",value:function(){return this._resolvePossibleFunction(this._config.title)||this._config.originalTitle}},{key:"_initializeOnDelegatedTarget",value:function(e){return this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}},{key:"_isAnimated",value:function(){return this._config.animation||this.tip&&this.tip.classList.contains("fade")}},{key:"_isShown",value:function(){return this.tip&&this.tip.classList.contains(on)}},{key:"_createPopper",value:function(e){var t="function"==typeof this._config.placement?this._config.placement.call(this,e,this._element):this._config.placement,t=sn[t.toUpperCase()];return d.createPopper(this._element,e,this._getPopperConfig(t))}},{key:"_getOffset",value:function(){var t=this,n=this._config.offset;return"string"==typeof n?n.split(",").map(function(e){return Number.parseInt(e,10)}):"function"==typeof n?function(e){return n(e,t._element)}:n}},{key:"_resolvePossibleFunction",value:function(e){return"function"==typeof e?e.call(this._element):e}},{key:"_getPopperConfig",value:function(e){var t=this,e={placement:e,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:".".concat(this.constructor.NAME,"-arrow")}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:function(e){t._getTipElement().setAttribute("data-popper-placement",e.state.placement)}}]};return Xn(Xn({},e),"function"==typeof this._config.popperConfig?this._config.popperConfig(e):this._config.popperConfig)}},{key:"_setListeners",value:function(){var e,n=this,t=Jn(this._config.trigger.split(" "));try{for(t.s();!(e=t.n()).done;){var i,r,o=e.value;"click"===o?g.on(this._element,this.constructor.eventName("click"),this._config.selector,function(e){return n.toggle(e)}):"manual"!==o&&(i=o===O?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),r=o===O?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout"),g.on(this._element,i,this._config.selector,function(e){var t=n._initializeOnDelegatedTarget(e);t._activeTrigger["focusin"===e.type?"focus":O]=!0,t._enter()}),g.on(this._element,r,this._config.selector,function(e){var t=n._initializeOnDelegatedTarget(e);t._activeTrigger["focusout"===e.type?"focus":O]=t._element.contains(e.relatedTarget),t._leave()}))}}catch(e){t.e(e)}finally{t.f()}this._hideModalHandler=function(){n._element&&n.hide()},g.on(this._element.closest(an),ln,this._hideModalHandler),this._config.selector?this._config=Xn(Xn({},this._config),{},{trigger:"manual",selector:""}):this._fixTitle()}},{key:"_fixTitle",value:function(){var e=this._config.originalTitle;e&&(this._element.getAttribute("aria-label")||this._element.textContent.trim()||this._element.setAttribute("aria-label",e),this._element.removeAttribute("title"))}},{key:"_enter",value:function(){var e=this;this._isShown()||this._isHovered?this._isHovered=!0:(this._isHovered=!0,this._setTimeout(function(){e._isHovered&&e.show()},this._config.delay.show))}},{key:"_leave",value:function(){var e=this;this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(function(){e._isHovered||e.hide()},this._config.delay.hide))}},{key:"_setTimeout",value:function(e,t){clearTimeout(this._timeout),this._timeout=setTimeout(e,t)}},{key:"_isWithActiveTrigger",value:function(){return Object.values(this._activeTrigger).includes(!0)}},{key:"_getConfig",value:function(e){for(var t=ge(this._element),n=0,i=Object.keys(t);n<i.length;n++){var r=i[n];rn.has(r)&&delete t[r]}return e=Xn(Xn({},t),"object"===ti(e)&&e?e:{}),e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}},{key:"_configAfterMerge",value:function(e){return e.container=!1===e.container?document.body:l(e.container),"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),e.originalTitle=this._element.getAttribute("title")||"","number"==typeof e.title&&(e.title=e.title.toString()),"number"==typeof e.content&&(e.content=e.content.toString()),e}},{key:"_getDelegateConfig",value:function(){var e,t={};for(e in this._config)this.constructor.Default[e]!==this._config[e]&&(t[e]=this._config[e]);return t}},{key:"_disposePopper",value:function(){this._popper&&(this._popper.destroy(),this._popper=null)}}],[{key:"Default",get:function(){return un}},{key:"DefaultType",get:function(){return cn}},{key:"NAME",get:function(){return"tooltip"}},{key:"jQueryInterface",value:function(t){return this.each(function(){var e=i.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError('No method named "'.concat(t,'"'));e[t]()}})}}]),i}(),hn=(t(P),Xn(Xn({},P.Default),{},{content:"",offset:[0,8],placement:"right",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>',trigger:"click"})),dn=Xn(Xn({},P.DefaultType),{},{content:"(null|string|element|function)"}),C=function(){Yn(n,P);var e=Un(n);function n(){return $n(this,n),e.apply(this,arguments)}return Kn(n,[{key:"_isWithContent",value:function(){return this._getTitle()||this._getContent()}},{key:"_getContentForTemplate",value:function(){var e={};return ei(e,".popover-header",this._getTitle()),ei(e,".popover-body",this._getContent()),e}},{key:"_getContent",value:function(){return this._resolvePossibleFunction(this._config.content)}}],[{key:"Default",get:function(){return hn}},{key:"DefaultType",get:function(){return dn}},{key:"NAME",get:function(){return"popover"}},{key:"jQueryInterface",value:function(t){return this.each(function(){var e=n.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError('No method named "'.concat(t,'"'));e[t]()}})}}]),n}(),S=(t(C),".".concat("bs.scrollspy")),fn="activate".concat(S),pn="click".concat(S),v="load".concat(S).concat(".data-api"),I="active",gn="[href]",mn="".concat(".nav-link",", ").concat(".nav-item"," > ").concat(".nav-link",", ").concat(".list-group-item"),vn={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null},yn={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element"},bn=function(){Yn(i,m);var n=Un(i);function i(e,t){return $n(this,i),(e=n.call(this,e,t))._targetLinks=new Map,e._observableSections=new Map,e._rootElement="visible"===getComputedStyle(e._element).overflowY?null:e._element,e._activeTarget=null,e._observer=null,e._previousScrollData={visibleEntryTop:0,parentScrollTop:0},e.refresh(),e}return Kn(i,[{key:"refresh",value:function(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();var e,t=Jn(this._observableSections.values());try{for(t.s();!(e=t.n()).done;){var n=e.value;this._observer.observe(n)}}catch(e){t.e(e)}finally{t.f()}}},{key:"dispose",value:function(){this._observer.disconnect(),Vn(Gn(i.prototype),"dispose",this).call(this)}},{key:"_configAfterMerge",value:function(e){return e.target=l(e.target)||document.body,e}},{key:"_maybeEnableSmoothScroll",value:function(){var n=this;this._config.smoothScroll&&(g.off(this._config.target,pn),g.on(this._config.target,pn,gn,function(e){var t=n._observableSections.get(e.target.hash);t&&(e.preventDefault(),e=n._rootElement||window,t=t.offsetTop-n._element.offsetTop,e.scrollTo?e.scrollTo({top:t,behavior:"smooth"}):e.scrollTop=t)}))}},{key:"_getNewObserver",value:function(){var t=this,e={root:this._rootElement,threshold:[.1,.5,1],rootMargin:this._getRootMargin()};return new IntersectionObserver(function(e){return t._observerCallback(e)},e)}},{key:"_observerCallback",value:function(e){function t(e){i._previousScrollData.visibleEntryTop=e.target.offsetTop,i._process(r(e))}var n,i=this,r=function(e){return i._targetLinks.get("#".concat(e.target.id))},o=(this._rootElement||document.documentElement).scrollTop,a=o>=this._previousScrollData.parentScrollTop,l=(this._previousScrollData.parentScrollTop=o,Jn(e));try{for(l.s();!(n=l.n()).done;){var s=n.value;if(s.isIntersecting){var u=s.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(a&&u){if(t(s),o)continue;return}a||u||t(s)}else this._activeTarget=null,this._clearActiveClass(r(s))}}catch(e){l.e(e)}finally{l.f()}}},{key:"_getRootMargin",value:function(){return this._config.offset?"".concat(this._config.offset,"px 0px -30%"):this._config.rootMargin}},{key:"_initializeTargetsAndObservables",value:function(){this._targetLinks=new Map,this._observableSections=new Map;var e,t=Jn(y.find(gn,this._config.target));try{for(t.s();!(e=t.n()).done;){var n,i=e.value;i.hash&&!o(i)&&(n=y.findOne(i.hash,this._element),r(n)&&(this._targetLinks.set(i.hash,i),this._observableSections.set(i.hash,n)))}}catch(e){t.e(e)}finally{t.f()}}},{key:"_process",value:function(e){this._activeTarget!==e&&(this._clearActiveClass(this._config.target),(this._activeTarget=e).classList.add(I),this._activateParents(e),g.trigger(this._element,fn,{relatedTarget:e}))}},{key:"_activateParents",value:function(e){if(e.classList.contains("dropdown-item"))y.findOne(".dropdown-toggle",e.closest(".dropdown")).classList.add(I);else{var t,n=Jn(y.parents(e,".nav, .list-group"));try{for(n.s();!(t=n.n()).done;){var i,r=t.value,o=Jn(y.prev(r,mn));try{for(o.s();!(i=o.n()).done;)i.value.classList.add(I)}catch(e){o.e(e)}finally{o.f()}}}catch(e){n.e(e)}finally{n.f()}}}},{key:"_clearActiveClass",value:function(e){e.classList.remove(I);var t,n=Jn(y.find("".concat(gn,".").concat(I),e));try{for(n.s();!(t=n.n()).done;)t.value.classList.remove(I)}catch(e){n.e(e)}finally{n.f()}}}],[{key:"Default",get:function(){return vn}},{key:"DefaultType",get:function(){return yn}},{key:"NAME",get:function(){return"scrollspy"}},{key:"jQueryInterface",value:function(t){return this.each(function(){var e=i.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError('No method named "'.concat(t,'"'));e[t]()}})}}]),i}(),k=(g.on(window,v,function(){var e,t=Jn(y.find('[data-bs-spy="scroll"]'));try{for(t.s();!(e=t.n()).done;){var n=e.value;bn.getOrCreateInstance(n)}}catch(e){t.e(e)}finally{t.f()}}),t(bn),".".concat("bs.tab")),_n="hide".concat(k),wn="hidden".concat(k),xn="show".concat(k),Sn="shown".concat(k),S="click".concat(k),Cn="keydown".concat(k),v="load".concat(k),En="ArrowRight",N="active",k=":not(.dropdown-toggle)",k=".nav-link".concat(k,", .list-group-item").concat(k,', [role="tab"]').concat(k),kn='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Mn="".concat(k,", ").concat(kn),Dn=".".concat(N,'[data-bs-toggle="tab"], .').concat(N,'[data-bs-toggle="pill"], .').concat(N,'[data-bs-toggle="list"]'),Tn=function(){Yn(i,m);var n=Un(i);function i(e){var t;return $n(this,i),(t=n.call(this,e))._parent=t._element.closest('.list-group, .nav, [role="tablist"]'),t._parent?(t._setInitialAttributes(t._parent,t._getChildren()),g.on(t._element,Cn,function(e){return t._keydown(e)}),t):qn(t)}return Kn(i,[{key:"show",value:function(){var e,t,n=this._element;this._elemIsActive(n)||(t=(e=this._getActiveElem())?g.trigger(e,_n,{relatedTarget:n}):null,g.trigger(n,xn,{relatedTarget:e}).defaultPrevented||t&&t.defaultPrevented||(this._deactivate(e,n),this._activate(n,e)))}},{key:"_activate",value:function(e,t){var n=this;e&&(e.classList.add(N),this._activate(a(e)),this._queueCallback(function(){"tab"!==e.getAttribute("role")?e.classList.add("show"):(e.focus(),e.removeAttribute("tabindex"),e.setAttribute("aria-selected",!0),n._toggleDropDown(e,!0),g.trigger(e,Sn,{relatedTarget:t}))},e,e.classList.contains("fade")))}},{key:"_deactivate",value:function(e,t){var n=this;e&&(e.classList.remove(N),e.blur(),this._deactivate(a(e)),this._queueCallback(function(){"tab"!==e.getAttribute("role")?e.classList.remove("show"):(e.setAttribute("aria-selected",!1),e.setAttribute("tabindex","-1"),n._toggleDropDown(e,!1),g.trigger(e,wn,{relatedTarget:t}))},e,e.classList.contains("fade")))}},{key:"_keydown",value:function(e){var t;["ArrowLeft",En,"ArrowUp","ArrowDown"].includes(e.key)&&(e.stopPropagation(),e.preventDefault(),t=[En,"ArrowDown"].includes(e.key),(e=V(this._getChildren().filter(function(e){return!o(e)}),e.target,t,!0))&&i.getOrCreateInstance(e).show())}},{key:"_getChildren",value:function(){return y.find(Mn,this._parent)}},{key:"_getActiveElem",value:function(){var t=this;return this._getChildren().find(function(e){return t._elemIsActive(e)})||null}},{key:"_setInitialAttributes",value:function(e,t){this._setAttributeIfNotExists(e,"role","tablist");var n,i=Jn(t);try{for(i.s();!(n=i.n()).done;){var r=n.value;this._setInitialAttributesOnChild(r)}}catch(e){i.e(e)}finally{i.f()}}},{key:"_setInitialAttributesOnChild",value:function(e){e=this._getInnerElement(e);var t=this._elemIsActive(e),n=this._getOuterElement(e);e.setAttribute("aria-selected",t),n!==e&&this._setAttributeIfNotExists(n,"role","presentation"),t||e.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(e,"role","tab"),this._setInitialAttributesOnTargetPanel(e)}},{key:"_setInitialAttributesOnTargetPanel",value:function(e){var t=a(e);t&&(this._setAttributeIfNotExists(t,"role","tabpanel"),e.id&&this._setAttributeIfNotExists(t,"aria-labelledby","#".concat(e.id)))}},{key:"_toggleDropDown",value:function(e,n){var i=this._getOuterElement(e);i.classList.contains("dropdown")&&((e=function(e,t){e=y.findOne(e,i);e&&e.classList.toggle(t,n)})(".dropdown-toggle",N),e(".dropdown-menu","show"),e(".dropdown-item",N),i.setAttribute("aria-expanded",n))}},{key:"_setAttributeIfNotExists",value:function(e,t,n){e.hasAttribute(t)||e.setAttribute(t,n)}},{key:"_elemIsActive",value:function(e){return e.classList.contains(N)}},{key:"_getInnerElement",value:function(e){return e.matches(Mn)?e:y.findOne(Mn,e)}},{key:"_getOuterElement",value:function(e){return e.closest(".nav-item, .list-group-item")||e}}],[{key:"NAME",get:function(){return"tab"}},{key:"jQueryInterface",value:function(t){return this.each(function(){var e=i.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError('No method named "'.concat(t,'"'));e[t]()}})}}]),i}(),k=(g.on(document,S,kn,function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),o(this)||Tn.getOrCreateInstance(this).show()}),g.on(window,v,function(){var e,t=Jn(y.find(Dn));try{for(t.s();!(e=t.n()).done;){var n=e.value;Tn.getOrCreateInstance(n)}}catch(e){t.e(e)}finally{t.f()}}),t(Tn),".".concat("bs.toast")),Rn="mouseover".concat(k),An="mouseout".concat(k),On="focusin".concat(k),Pn="focusout".concat(k),In="hide".concat(k),Nn="hidden".concat(k),Ln="show".concat(k),Hn="shown".concat(k),Wn="show",jn="showing",Fn={animation:"boolean",autohide:"boolean",delay:"number"},zn={animation:!0,autohide:!0,delay:5e3},S=function(){Yn(i,m);var n=Un(i);function i(e,t){return $n(this,i),(e=n.call(this,e,t))._timeout=null,e._hasMouseInteraction=!1,e._hasKeyboardInteraction=!1,e._setListeners(),e}return Kn(i,[{key:"show",value:function(){var e=this;g.trigger(this._element,Ln).defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove("hide"),c(this._element),this._element.classList.add(Wn,jn),this._queueCallback(function(){e._element.classList.remove(jn),g.trigger(e._element,Hn),e._maybeScheduleHide()},this._element,this._config.animation))}},{key:"hide",value:function(){var e=this;this.isShown()&&!g.trigger(this._element,In).defaultPrevented&&(this._element.classList.add(jn),this._queueCallback(function(){e._element.classList.add("hide"),e._element.classList.remove(jn,Wn),g.trigger(e._element,Nn)},this._element,this._config.animation))}},{key:"dispose",value:function(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(Wn),Vn(Gn(i.prototype),"dispose",this).call(this)}},{key:"isShown",value:function(){return this._element.classList.contains(Wn)}},{key:"_maybeScheduleHide",value:function(){var e=this;!this._config.autohide||this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(function(){e.hide()},this._config.delay))}},{key:"_onInteraction",value:function(e,t){switch(e.type){case"mouseover":case"mouseout":this._hasMouseInteraction=t;break;case"focusin":case"focusout":this._hasKeyboardInteraction=t}t?this._clearTimeout():(e=e.relatedTarget,this._element===e||this._element.contains(e)||this._maybeScheduleHide())}},{key:"_setListeners",value:function(){var t=this;g.on(this._element,Rn,function(e){return t._onInteraction(e,!0)}),g.on(this._element,An,function(e){return t._onInteraction(e,!1)}),g.on(this._element,On,function(e){return t._onInteraction(e,!0)}),g.on(this._element,Pn,function(e){return t._onInteraction(e,!1)})}},{key:"_clearTimeout",value:function(){clearTimeout(this._timeout),this._timeout=null}}],[{key:"Default",get:function(){return zn}},{key:"DefaultType",get:function(){return Fn}},{key:"NAME",get:function(){return"toast"}},{key:"jQueryInterface",value:function(t){return this.each(function(){var e=i.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError('No method named "'.concat(t,'"'));e[t](this)}})}}]),i}();return n(S),t(S),{Alert:e,Button:_e,Carousel:ze,Collapse:Ke,Dropdown:D,Modal:R,Offcanvas:A,Popover:C,ScrollSpy:bn,Tab:Tn,Toast:S,Tooltip:P}},"object"===((s=void 0)===n?"undefined":ti(n))&&void 0!==t?t.exports=u(e("@popperjs/core")):"function"==typeof define&&define.amd?define(["@popperjs/core"],u):(s="undefined"!=typeof globalThis?globalThis:s||self).bootstrap=u(s.Popper)},{"@popperjs/core":9}],12:[function(e,t,n){"use strict";var i,r,o,t=t.exports={};function a(){}t.nextTick=(r="undefined"!=typeof window&&window.setImmediate,o="undefined"!=typeof window&&window.postMessage&&window.addEventListener,r?function(e){return window.setImmediate(e)}:o?(i=[],window.addEventListener("message",function(e){var t=e.source;t!==window&&null!==t||"process-tick"!==e.data||(e.stopPropagation(),0<i.length&&i.shift()())},!0),function(e){i.push(e),window.postMessage("process-tick","*")}):function(e){setTimeout(e,0)}),t.title="browser",t.browser=!0,t.env={},t.argv=[],t.on=a,t.addListener=a,t.once=a,t.off=a,t.removeListener=a,t.removeAllListeners=a,t.emit=a,t.binding=function(e){throw new Error("process.binding is not supported")},t.cwd=function(){return"/"},t.chdir=function(e){throw new Error("process.chdir is not supported")}},{}],13:[function(e,t,n){"use strict";function Hn(e){return(Hn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var i,r;r=function(i){i=i&&i.hasOwnProperty("default")?i.default:i;var s={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},u=(function(e){var t,l={};for(t in s)s.hasOwnProperty(t)&&(l[s[t]]=t);var n,r=e.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(n in r)if(r.hasOwnProperty(n)){if(!("channels"in r[n]))throw new Error("missing channels property: "+n);if(!("labels"in r[n]))throw new Error("missing channel labels property: "+n);if(r[n].labels.length!==r[n].channels)throw new Error("channel and label counts mismatch: "+n);var i=r[n].channels,o=r[n].labels;delete r[n].channels,delete r[n].labels,Object.defineProperty(r[n],"channels",{value:i}),Object.defineProperty(r[n],"labels",{value:o})}r.rgb.hsl=function(e){var t,n=e[0]/255,i=e[1]/255,e=e[2]/255,r=Math.min(n,i,e),o=Math.max(n,i,e),a=o-r;return o===r?t=0:n===o?t=(i-e)/a:i===o?t=2+(e-n)/a:e===o&&(t=4+(n-i)/a),(t=Math.min(60*t,360))<0&&(t+=360),e=(r+o)/2,[t,100*(o===r?0:e<=.5?a/(o+r):a/(2-o-r)),100*e]},r.rgb.hsv=function(e){function t(e){return(u-e)/6/c+.5}var n,i,r,o,a,l=e[0]/255,s=e[1]/255,e=e[2]/255,u=Math.max(l,s,e),c=u-Math.min(l,s,e);return 0==c?o=a=0:(a=c/u,n=t(l),i=t(s),r=t(e),l===u?o=r-i:s===u?o=1/3+n-r:e===u&&(o=2/3+i-n),o<0?o+=1:1<o&&--o),[360*o,100*a,100*u]},r.rgb.hwb=function(e){var t=e[0],n=e[1],i=e[2];return[r.rgb.hsl(e)[0],100*(1/255*Math.min(t,Math.min(n,i))),100*(1-1/255*Math.max(t,Math.max(n,i)))]},r.rgb.cmyk=function(e){var t=e[0]/255,n=e[1]/255,e=e[2]/255,i=Math.min(1-t,1-n,1-e);return[100*((1-t-i)/(1-i)||0),100*((1-n-i)/(1-i)||0),100*((1-e-i)/(1-i)||0),100*i]},r.rgb.keyword=function(e){var t=l[e];if(t)return t;var n,i,r,o,a=1/0;for(i in s)s.hasOwnProperty(i)&&(o=s[i],r=e,o=o,(r=Math.pow(r[0]-o[0],2)+Math.pow(r[1]-o[1],2)+Math.pow(r[2]-o[2],2))<a&&(a=r,n=i));return n},r.keyword.rgb=function(e){return s[e]},r.rgb.xyz=function(e){var t=e[0]/255,n=e[1]/255,e=e[2]/255;return[100*(.4124*(t=.04045<t?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(n=.04045<n?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(e=.04045<e?Math.pow((e+.055)/1.055,2.4):e/12.92)),100*(.2126*t+.7152*n+.0722*e),100*(.0193*t+.1192*n+.9505*e)]},r.rgb.lab=function(e){var e=r.rgb.xyz(e),t=e[0],n=e[1],e=e[2];return n/=100,e/=108.883,t=.008856<(t/=95.047)?Math.pow(t,1/3):7.787*t+16/116,[116*(n=.008856<n?Math.pow(n,1/3):7.787*n+16/116)-16,500*(t-n),200*(n-(e=.008856<e?Math.pow(e,1/3):7.787*e+16/116))]},r.hsl.rgb=function(e){var t,n,i=e[0]/360,r=e[1]/100,e=e[2]/100;if(0==r)return[n=255*e,n,n];for(var o,a=2*e-(o=e<.5?e*(1+r):e+r-e*r),l=[0,0,0],s=0;s<3;s++)(t=i+1/3*-(s-1))<0&&t++,1<t&&t--,l[s]=255*(n=6*t<1?a+6*(o-a)*t:2*t<1?o:3*t<2?a+(o-a)*(2/3-t)*6:a);return l},r.hsl.hsv=function(e){var t=e[0],n=e[1]/100,e=e[2]/100,i=n,r=Math.max(e,.01);return n*=(e*=2)<=1?e:2-e,i*=r<=1?r:2-r,[t,100*(0==e?2*i/(r+i):2*n/(e+n)),100*((e+n)/2)]},r.hsv.rgb=function(e){var t=e[0]/60,n=e[1]/100,i=e[2]/100,e=Math.floor(t)%6,t=t-Math.floor(t),r=255*i*(1-n),o=255*i*(1-n*t),a=255*i*(1-n*(1-t));switch(i*=255,e){case 0:return[i,a,r];case 1:return[o,i,r];case 2:return[r,i,a];case 3:return[r,o,i];case 4:return[a,r,i];case 5:return[i,r,o]}},r.hsv.hsl=function(e){var t=e[0],n=e[1]/100,e=e[2]/100,i=Math.max(e,.01),e=(2-n)*e,r=(2-n)*i,n=n*i;return[t,100*((n/=r<=1?r:2-r)||0),100*(e/=2)]},r.hwb.rgb=function(e){var t,n,i,r,o,a=e[0]/360,l=e[1]/100,e=e[2]/100,s=l+e;switch(1<s&&(l/=s,e/=s),a=6*a-(s=Math.floor(6*a)),n=l+(a=0!=(1&s)?1-a:a)*((t=1-e)-l),s){default:case 6:case 0:i=t,r=n,o=l;break;case 1:i=n,r=t,o=l;break;case 2:i=l,r=t,o=n;break;case 3:i=l,r=n,o=t;break;case 4:i=n,r=l,o=t;break;case 5:i=t,r=l,o=n}return[255*i,255*r,255*o]},r.cmyk.rgb=function(e){var t=e[0]/100,n=e[1]/100,i=e[2]/100,e=e[3]/100;return[255*(1-Math.min(1,t*(1-e)+e)),255*(1-Math.min(1,n*(1-e)+e)),255*(1-Math.min(1,i*(1-e)+e))]},r.xyz.rgb=function(e){var t=e[0]/100,n=e[1]/100,e=e[2]/100,i=3.2406*t+-1.5372*n+-.4986*e,r=-.9689*t+1.8758*n+.0415*e,t=.0557*t+-.204*n+1.057*e;return i=.0031308<i?1.055*Math.pow(i,1/2.4)-.055:12.92*i,r=.0031308<r?1.055*Math.pow(r,1/2.4)-.055:12.92*r,t=.0031308<t?1.055*Math.pow(t,1/2.4)-.055:12.92*t,[255*(i=Math.min(Math.max(0,i),1)),255*(r=Math.min(Math.max(0,r),1)),255*(t=Math.min(Math.max(0,t),1))]},r.xyz.lab=function(e){var t=e[0],n=e[1],e=e[2];return n/=100,e/=108.883,t=.008856<(t/=95.047)?Math.pow(t,1/3):7.787*t+16/116,[116*(n=.008856<n?Math.pow(n,1/3):7.787*n+16/116)-16,500*(t-n),200*(n-(e=.008856<e?Math.pow(e,1/3):7.787*e+16/116))]},r.lab.xyz=function(e){var t=(e[0]+16)/116,n=e[1]/500+t,e=t-e[2]/200,i=Math.pow(t,3),r=Math.pow(n,3),o=Math.pow(e,3);return t=.008856<i?i:(t-16/116)/7.787,n=.008856<r?r:(n-16/116)/7.787,e=.008856<o?o:(e-16/116)/7.787,[n*=95.047,t*=100,e*=108.883]},r.lab.lch=function(e){var t=e[0],n=e[1],e=e[2],i=360*Math.atan2(e,n)/2/Math.PI;return i<0&&(i+=360),[t,Math.sqrt(n*n+e*e),i]},r.lch.lab=function(e){var t=e[0],n=e[1],e=e[2]/360*2*Math.PI;return[t,n*Math.cos(e),n*Math.sin(e)]},r.rgb.ansi16=function(e){var t=e[0],n=e[1],i=e[2],e=1 in arguments?arguments[1]:r.rgb.hsv(e)[2];if(0===(e=Math.round(e/50)))return 30;i=30+(Math.round(i/255)<<2|Math.round(n/255)<<1|Math.round(t/255));return 2===e&&(i+=60),i},r.hsv.ansi16=function(e){return r.rgb.ansi16(r.hsv.rgb(e),e[2])},r.rgb.ansi256=function(e){var t=e[0],n=e[1],e=e[2];return t===n&&n===e?t<8?16:248<t?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(e/255*5)},r.ansi16.rgb=function(e){var t=e%10;if(0===t||7===t)return 50<e&&(t+=3.5),[t=t/10.5*255,t,t];e=.5*(1+~~(50<e));return[(1&t)*e*255,(t>>1&1)*e*255,(t>>2&1)*e*255]},r.ansi256.rgb=function(e){var t;return 232<=e?[t=10*(e-232)+8,t,t]:(e-=16,[Math.floor(e/36)/5*255,Math.floor((t=e%36)/6)/5*255,t%6/5*255])},r.rgb.hex=function(e){e=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(e.length)+e},r.hex.rgb=function(e){e=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!e)return[0,0,0];var t=e[0],e=(3===e[0].length&&(t=t.split("").map(function(e){return e+e}).join("")),parseInt(t,16));return[e>>16&255,e>>8&255,255&e]},r.rgb.hcg=function(e){var t=e[0]/255,n=e[1]/255,e=e[2]/255,i=Math.max(Math.max(t,n),e),r=Math.min(Math.min(t,n),e),o=i-r,r=o<1?r/(1-o):0,i=o<=0?0:i===t?(n-e)/o%6:i===n?2+(e-t)/o:4+(t-n)/o+4;return[360*(i=i/6%1),100*o,100*r]},r.hsl.hcg=function(e){var t=e[1]/100,n=e[2]/100,i=1,r=0,i=n<.5?2*t*n:2*t*(1-n);return[e[0],100*i,100*(r=i<1?(n-.5*i)/(1-i):r)]},r.hsv.hcg=function(e){var t=e[1]/100,n=e[2]/100,t=t*n,n=t<1?(n-t)/(1-t):0;return[e[0],100*t,100*n]},r.hcg.rgb=function(e){var t=e[0]/360,n=e[1]/100,e=e[2]/100;if(0==n)return[255*e,255*e,255*e];var i=[0,0,0],t=t%1*6,r=t%1,o=1-r;switch(Math.floor(t)){case 0:i[0]=1,i[1]=r,i[2]=0;break;case 1:i[0]=o,i[1]=1,i[2]=0;break;case 2:i[0]=0,i[1]=1,i[2]=r;break;case 3:i[0]=0,i[1]=o,i[2]=1;break;case 4:i[0]=r,i[1]=0,i[2]=1;break;default:i[0]=1,i[1]=0,i[2]=o}return[255*(n*i[0]+(t=(1-n)*e)),255*(n*i[1]+t),255*(n*i[2]+t)]},r.hcg.hsv=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t),t=0<n?t/n:0;return[e[0],100*t,100*n]},r.hcg.hsl=function(e){var t=e[1]/100,n=e[2]/100*(1-t)+.5*t,i=0;return 0<n&&n<.5?i=t/(2*n):.5<=n&&n<1&&(i=t/(2*(1-n))),[e[0],100*i,100*n]},r.hcg.hwb=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)]},r.hwb.hcg=function(e){var t=e[1]/100,n=1-e[2]/100,t=n-t,n=t<1?(n-t)/(1-t):0;return[e[0],100*t,100*n]},r.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},r.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},r.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},r.gray.hsl=r.gray.hsv=function(e){return[0,0,e[0]]},r.gray.hwb=function(e){return[0,100,e[0]]},r.gray.cmyk=function(e){return[0,0,0,e[0]]},r.gray.lab=function(e){return[e[0],0,0]},r.gray.hex=function(e){e=255&Math.round(e[0]/100*255),e=((e<<16)+(e<<8)+e).toString(16).toUpperCase();return"000000".substring(e.length)+e},r.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}}(e={exports:{}}),e.exports);u.rgb,u.hsl,u.hsv,u.hwb,u.cmyk,u.xyz,u.lab,u.lch,u.hex,u.keyword,u.ansi16,u.ansi256,u.hcg,u.apple,u.gray;function N(e){var t=function(){for(var e={},t=Object.keys(u),n=t.length,i=0;i<n;i++)e[t[i]]={distance:-1,parent:null};return e}(),n=[e];for(t[e].distance=0;n.length;)for(var i=n.pop(),r=Object.keys(u[i]),o=r.length,a=0;a<o;a++){var l=r[a],s=t[l];-1===s.distance&&(s.distance=t[i].distance+1,s.parent=i,n.unshift(l))}return t}function H(e,t){for(var n=[t[e].parent,e],i=u[t[e].parent][e],r=t[e].parent;t[r].parent;)n.unshift(t[r].parent),i=function(t,n){return function(e){return n(t(e))}}(u[t[r].parent][r],i),r=t[r].parent;return i.conversion=n,i}var W={};function j(t){function e(e){return null==e?e:(1<arguments.length&&(e=Array.prototype.slice.call(arguments)),t(e))}return"conversion"in t&&(e.conversion=t.conversion),e}function F(r){function e(e){if(null==e)return e;1<arguments.length&&(e=Array.prototype.slice.call(arguments));var t=r(e);if("object"===Hn(t))for(var n=t.length,i=0;i<n;i++)t[i]=Math.round(t[i]);return t}return"conversion"in r&&(e.conversion=r.conversion),e}Object.keys(u).forEach(function(n){W[n]={},Object.defineProperty(W[n],"channels",{value:u[n].channels}),Object.defineProperty(W[n],"labels",{value:u[n].labels});var i=function(e){for(var t=N(e),n={},i=Object.keys(t),r=i.length,o=0;o<r;o++){var a=i[o];null!==t[a].parent&&(n[a]=H(a,t))}return n}(n);Object.keys(i).forEach(function(e){var t=i[e];W[n][e]=F(t),W[n][e].raw=j(t)})});var z=W,V={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},n={getRgba:B,getHsla:Y,getRgb:function(e){e=B(e);return e&&e.slice(0,3)},getHsl:function(e){e=Y(e);return e&&e.slice(0,3)},getHwb:U,getAlpha:function(e){var t=B(e);return(t=t||Y(e))||(t=U(e))?t[3]:void 0},hexString:function(e,t){t=void 0!==t&&3===e.length?t:e[3];return"#"+X(e[0])+X(e[1])+X(e[2])+(0<=t&&t<1?X(Math.round(255*t)):"")},rgbString:function(e,t){if(t<1||e[3]&&e[3]<1)return q(e,t);return"rgb("+e[0]+", "+e[1]+", "+e[2]+")"},rgbaString:q,percentString:function(e,t){if(t<1||e[3]&&e[3]<1)return Z(e,t);var t=Math.round(e[0]/255*100),n=Math.round(e[1]/255*100),e=Math.round(e[2]/255*100);return"rgb("+t+"%, "+n+"%, "+e+"%)"},percentaString:Z,hslString:function(e,t){if(t<1||e[3]&&e[3]<1)return G(e,t);return"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)"},hslaString:G,hwbString:function(e,t){void 0===t&&(t=void 0!==e[3]?e[3]:1);return"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+(void 0!==t&&1!==t?", "+t:"")+")"},keyword:function(e){return K[e.slice(0,3)]}};function B(e){if(e){var t=[0,0,0],n=1,i="";if(r=e.match(/^#([a-fA-F0-9]{3,4})$/i)){for(var r,i=(r=r[1])[3],o=0;o<t.length;o++)t[o]=parseInt(r[o]+r[o],16);i&&(n=Math.round(parseInt(i+i,16)/255*100)/100)}else if(r=e.match(/^#([a-fA-F0-9]{6}([a-fA-F0-9]{2})?)$/i)){i=r[2],r=r[1];for(o=0;o<t.length;o++)t[o]=parseInt(r.slice(2*o,2*o+2),16);i&&(n=Math.round(parseInt(i,16)/255*100)/100)}else if(r=e.match(/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i)){for(o=0;o<t.length;o++)t[o]=parseInt(r[o+1]);n=parseFloat(r[4])}else if(r=e.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i)){for(o=0;o<t.length;o++)t[o]=Math.round(2.55*parseFloat(r[o+1]));n=parseFloat(r[4])}else if(r=e.match(/(\w+)/)){if("transparent"==r[1])return[0,0,0,0];if(!(t=V[r[1]]))return}for(o=0;o<t.length;o++)t[o]=a(t[o],0,255);return n=n||0==n?a(n,0,1):1,t[3]=n,t}}function Y(e){var t;if(e)return e=e.match(/^hsla?\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/),e?(t=parseFloat(e[4]),[a(parseInt(e[1]),0,360),a(parseFloat(e[2]),0,100),a(parseFloat(e[3]),0,100),a(isNaN(t)?1:t,0,1)]):void 0}function U(e){var t;if(e)return e=e.match(/^hwb\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/),e?(t=parseFloat(e[4]),[a(parseInt(e[1]),0,360),a(parseFloat(e[2]),0,100),a(parseFloat(e[3]),0,100),a(isNaN(t)?1:t,0,1)]):void 0}function q(e,t){return void 0===t&&(t=void 0!==e[3]?e[3]:1),"rgba("+e[0]+", "+e[1]+", "+e[2]+", "+t+")"}function Z(e,t){return"rgba("+Math.round(e[0]/255*100)+"%, "+Math.round(e[1]/255*100)+"%, "+Math.round(e[2]/255*100)+"%, "+(t||e[3]||1)+")"}function G(e,t){return void 0===t&&(t=void 0!==e[3]?e[3]:1),"hsla("+e[0]+", "+e[1]+"%, "+e[2]+"%, "+t+")"}function a(e,t,n){return Math.min(Math.max(t,e),n)}function X(e){e=e.toString(16).toUpperCase();return e.length<2?"0"+e:e}var $,K={};for($ in V)K[V[$]]=$;function l(e){return e instanceof l?e:this instanceof l?(this.valid=!1,this.values={rgb:[0,0,0],hsl:[0,0,0],hsv:[0,0,0],hwb:[0,0,0],cmyk:[0,0,0,0],alpha:1},void("string"==typeof e?(t=n.getRgba(e))?this.setValues("rgb",t):(t=n.getHsla(e))?this.setValues("hsl",t):(t=n.getHwb(e))&&this.setValues("hwb",t):"object"===Hn(e)&&(void 0!==(t=e).r||void 0!==t.red?this.setValues("rgb",t):void 0!==t.l||void 0!==t.lightness?this.setValues("hsl",t):void 0!==t.v||void 0!==t.value?this.setValues("hsv",t):void 0!==t.w||void 0!==t.whiteness?this.setValues("hwb",t):void 0===t.c&&void 0===t.cyan||this.setValues("cmyk",t)))):new l(e);var t}(l.prototype={isValid:function(){return this.valid},rgb:function(){return this.setSpace("rgb",arguments)},hsl:function(){return this.setSpace("hsl",arguments)},hsv:function(){return this.setSpace("hsv",arguments)},hwb:function(){return this.setSpace("hwb",arguments)},cmyk:function(){return this.setSpace("cmyk",arguments)},rgbArray:function(){return this.values.rgb},hslArray:function(){return this.values.hsl},hsvArray:function(){return this.values.hsv},hwbArray:function(){var e=this.values;return 1!==e.alpha?e.hwb.concat([e.alpha]):e.hwb},cmykArray:function(){return this.values.cmyk},rgbaArray:function(){var e=this.values;return e.rgb.concat([e.alpha])},hslaArray:function(){var e=this.values;return e.hsl.concat([e.alpha])},alpha:function(e){return void 0===e?this.values.alpha:(this.setValues("alpha",e),this)},red:function(e){return this.setChannel("rgb",0,e)},green:function(e){return this.setChannel("rgb",1,e)},blue:function(e){return this.setChannel("rgb",2,e)},hue:function(e){return e=e&&((e%=360)<0?360+e:e),this.setChannel("hsl",0,e)},saturation:function(e){return this.setChannel("hsl",1,e)},lightness:function(e){return this.setChannel("hsl",2,e)},saturationv:function(e){return this.setChannel("hsv",1,e)},whiteness:function(e){return this.setChannel("hwb",1,e)},blackness:function(e){return this.setChannel("hwb",2,e)},value:function(e){return this.setChannel("hsv",2,e)},cyan:function(e){return this.setChannel("cmyk",0,e)},magenta:function(e){return this.setChannel("cmyk",1,e)},yellow:function(e){return this.setChannel("cmyk",2,e)},black:function(e){return this.setChannel("cmyk",3,e)},hexString:function(){return n.hexString(this.values.rgb)},rgbString:function(){return n.rgbString(this.values.rgb,this.values.alpha)},rgbaString:function(){return n.rgbaString(this.values.rgb,this.values.alpha)},percentString:function(){return n.percentString(this.values.rgb,this.values.alpha)},hslString:function(){return n.hslString(this.values.hsl,this.values.alpha)},hslaString:function(){return n.hslaString(this.values.hsl,this.values.alpha)},hwbString:function(){return n.hwbString(this.values.hwb,this.values.alpha)},keyword:function(){return n.keyword(this.values.rgb,this.values.alpha)},rgbNumber:function(){var e=this.values.rgb;return e[0]<<16|e[1]<<8|e[2]},luminosity:function(){for(var e=this.values.rgb,t=[],n=0;n<e.length;n++){var i=e[n]/255;t[n]=i<=.03928?i/12.92:Math.pow((.055+i)/1.055,2.4)}return.2126*t[0]+.7152*t[1]+.0722*t[2]},contrast:function(e){var t=this.luminosity(),e=e.luminosity();return e<t?(t+.05)/(e+.05):(e+.05)/(t+.05)},level:function(e){e=this.contrast(e);return 7.1<=e?"AAA":4.5<=e?"AA":""},dark:function(){var e=this.values.rgb;return(299*e[0]+587*e[1]+114*e[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var e=[],t=0;t<3;t++)e[t]=255-this.values.rgb[t];return this.setValues("rgb",e),this},lighten:function(e){var t=this.values.hsl;return t[2]+=t[2]*e,this.setValues("hsl",t),this},darken:function(e){var t=this.values.hsl;return t[2]-=t[2]*e,this.setValues("hsl",t),this},saturate:function(e){var t=this.values.hsl;return t[1]+=t[1]*e,this.setValues("hsl",t),this},desaturate:function(e){var t=this.values.hsl;return t[1]-=t[1]*e,this.setValues("hsl",t),this},whiten:function(e){var t=this.values.hwb;return t[1]+=t[1]*e,this.setValues("hwb",t),this},blacken:function(e){var t=this.values.hwb;return t[2]+=t[2]*e,this.setValues("hwb",t),this},greyscale:function(){var e=this.values.rgb,e=.3*e[0]+.59*e[1]+.11*e[2];return this.setValues("rgb",[e,e,e]),this},clearer:function(e){var t=this.values.alpha;return this.setValues("alpha",t-t*e),this},opaquer:function(e){var t=this.values.alpha;return this.setValues("alpha",t+t*e),this},rotate:function(e){var t=this.values.hsl,e=(t[0]+e)%360;return t[0]=e<0?360+e:e,this.setValues("hsl",t),this},mix:function(e,t){var t=void 0===t?.5:t,n=2*t-1,i=this.alpha()-e.alpha(),n=(1+(n*i==-1?n:(n+i)/(1+n*i)))/2,i=1-n;return this.rgb(n*this.red()+i*e.red(),n*this.green()+i*e.green(),n*this.blue()+i*e.blue()).alpha(this.alpha()*t+e.alpha()*(1-t))},toJSON:function(){return this.rgb()},clone:function(){var e,t,n,i=new l,r=this.values,o=i.values;for(n in r)r.hasOwnProperty(n)&&(e=r[n],"[object Array]"===(t={}.toString.call(e))?o[n]=e.slice(0):"[object Number]"===t?o[n]=e:console.error("unexpected color value:",e));return i}}).spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},l.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},l.prototype.getValues=function(e){for(var t=this.values,n={},i=0;i<e.length;i++)n[e.charAt(i)]=t[e][i];return 1!==t.alpha&&(n.a=t.alpha),n},l.prototype.setValues=function(e,t){var n,i,r=this.values,o=this.spaces,a=this.maxes,l=1;if(this.valid=!0,"alpha"===e)l=t;else if(t.length)r[e]=t.slice(0,e.length),l=t[e.length];else if(void 0!==t[e.charAt(0)]){for(u=0;u<e.length;u++)r[e][u]=t[e.charAt(u)];l=t.a}else if(void 0!==t[o[e][0]]){for(var s=o[e],u=0;u<e.length;u++)r[e][u]=t[s[u]];l=t.alpha}if(r.alpha=Math.max(0,Math.min(1,void 0===l?r.alpha:l)),"alpha"===e)return!1;for(u=0;u<e.length;u++)n=Math.max(0,Math.min(a[e][u],r[e][u])),r[e][u]=Math.round(n);for(i in o)i!==e&&(r[i]=z[e][i](r[e]));return!0},l.prototype.setSpace=function(e,t){var n=t[0];return void 0===n?this.getValues(e):("number"==typeof n&&(n=Array.prototype.slice.call(t)),this.setValues(e,n),this)},l.prototype.setChannel=function(e,t,n){var i=this.values[e];return void 0===n?i[t]:(n!==i[t]&&(i[t]=n,this.setValues(e,i)),this)},"undefined"!=typeof window&&(window.Color=l);var Q=l;function J(e){return-1===["__proto__","prototype","constructor"].indexOf(e)}var ee,te,c={noop:function(){},uid:(te=0,function(){return te++}),isNullOrUndef:function(e){return null==e},isArray:function(e){if(Array.isArray&&Array.isArray(e))return!0;e=Object.prototype.toString.call(e);return"[object"===e.substr(0,7)&&"Array]"===e.substr(-6)},isObject:function(e){return null!==e&&"[object Object]"===Object.prototype.toString.call(e)},isFinite:(ee=function(e){return("number"==typeof e||e instanceof Number)&&isFinite(e)},ne.toString=function(){return ee.toString()},ne),valueOrDefault:function(e,t){return void 0===e?t:e},valueAtIndexOrDefault:function(e,t,n){return c.valueOrDefault(c.isArray(e)?e[t]:e,n)},callback:function(e,t,n){if(e&&"function"==typeof e.call)return e.apply(n,t)},each:function(e,t,n,i){var r,o,a;if(c.isArray(e))if(o=e.length,i)for(r=o-1;0<=r;r--)t.call(n,e[r],r);else for(r=0;r<o;r++)t.call(n,e[r],r);else if(c.isObject(e))for(o=(a=Object.keys(e)).length,r=0;r<o;r++)t.call(n,e[a[r]],a[r])},arrayEquals:function(e,t){var n,i,r,o;if(!e||!t||e.length!==t.length)return!1;for(n=0,i=e.length;n<i;++n)if(r=e[n],o=t[n],r instanceof Array&&o instanceof Array){if(!c.arrayEquals(r,o))return!1}else if(r!==o)return!1;return!0},clone:function(e){if(c.isArray(e))return e.map(c.clone);if(c.isObject(e)){for(var t=Object.create(e),n=Object.keys(e),i=n.length,r=0;r<i;++r)t[n[r]]=c.clone(e[n[r]]);return t}return e},_merger:function(e,t,n,i){var r;J(e)&&(r=t[e],n=n[e],c.isObject(r)&&c.isObject(n)?c.merge(r,n,i):t[e]=c.clone(n))},_mergerIf:function(e,t,n){var i;J(e)&&(i=t[e],n=n[e],c.isObject(i)&&c.isObject(n)?c.mergeIf(i,n):t.hasOwnProperty(e)||(t[e]=c.clone(n)))},merge:function(e,t,n){var i,r,o,a,l,s=c.isArray(t)?t:[t],u=s.length;if(c.isObject(e))for(i=(n=n||{}).merger||c._merger,r=0;r<u;++r)if(t=s[r],c.isObject(t))for(l=0,a=(o=Object.keys(t)).length;l<a;++l)i(o[l],e,t,n);return e},mergeIf:function(e,t){return c.merge(e,t,{merger:c._mergerIf})},extend:Object.assign||function(e){return c.merge(e,[].slice.call(arguments,1),{merger:function(e,t,n){t[e]=n[e]}})},inherits:function(e){function t(){this.constructor=i}var n=this,i=e&&e.hasOwnProperty("constructor")?e.constructor:function(){return n.apply(this,arguments)};return t.prototype=n.prototype,i.prototype=new t,i.extend=c.inherits,e&&c.extend(i.prototype,e),i.__super__=n.prototype,i},_deprecated:function(e,t,n,i){void 0!==t&&console.warn(e+': "'+n+'" is deprecated. Please use "'+i+'" instead')}};function ne(e){return ee.apply(this,arguments)}var h=c,ie=(c.callCallback=c.callback,c.indexOf=function(e,t,n){return Array.prototype.indexOf.call(e,t,n)},c.getValueOrDefault=c.valueOrDefault,c.getValueAtIndexOrDefault=c.valueAtIndexOrDefault,{linear:function(e){return e},easeInQuad:function(e){return e*e},easeOutQuad:function(e){return-e*(e-2)},easeInOutQuad:function(e){return(e/=.5)<1?.5*e*e:-.5*(--e*(e-2)-1)},easeInCubic:function(e){return e*e*e},easeOutCubic:function(e){return(e-=1)*e*e+1},easeInOutCubic:function(e){return(e/=.5)<1?.5*e*e*e:.5*((e-=2)*e*e+2)},easeInQuart:function(e){return e*e*e*e},easeOutQuart:function(e){return-((e-=1)*e*e*e-1)},easeInOutQuart:function(e){return(e/=.5)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2)},easeInQuint:function(e){return e*e*e*e*e},easeOutQuint:function(e){return(e-=1)*e*e*e*e+1},easeInOutQuint:function(e){return(e/=.5)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2)},easeInSine:function(e){return 1-Math.cos(e*(Math.PI/2))},easeOutSine:function(e){return Math.sin(e*(Math.PI/2))},easeInOutSine:function(e){return-.5*(Math.cos(Math.PI*e)-1)},easeInExpo:function(e){return 0===e?0:Math.pow(2,10*(e-1))},easeOutExpo:function(e){return 1===e?1:1-Math.pow(2,-10*e)},easeInOutExpo:function(e){return 0===e?0:1===e?1:(e/=.5)<1?.5*Math.pow(2,10*(e-1)):.5*(2-Math.pow(2,-10*--e))},easeInCirc:function(e){return 1<=e?e:-(Math.sqrt(1-e*e)-1)},easeOutCirc:function(e){return Math.sqrt(1-(e-=1)*e)},easeInOutCirc:function(e){return(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)},easeInElastic:function(e){var t=1.70158,n=0,i=1;return 0===e?0:1===e?1:(n=n||.3,t=i<1?(i=1,n/4):n/(2*Math.PI)*Math.asin(1/i),-(i*Math.pow(2,10*--e)*Math.sin((e-t)*(2*Math.PI)/n)))},easeOutElastic:function(e){var t=1.70158,n=0,i=1;return 0===e?0:1===e?1:(n=n||.3,t=i<1?(i=1,n/4):n/(2*Math.PI)*Math.asin(1/i),i*Math.pow(2,-10*e)*Math.sin((e-t)*(2*Math.PI)/n)+1)},easeInOutElastic:function(e){var t=1.70158,n=0,i=1;return 0===e?0:2==(e/=.5)?1:(n=n||.45,t=i<1?(i=1,n/4):n/(2*Math.PI)*Math.asin(1/i),e<1?i*Math.pow(2,10*--e)*Math.sin((e-t)*(2*Math.PI)/n)*-.5:i*Math.pow(2,-10*--e)*Math.sin((e-t)*(2*Math.PI)/n)*.5+1)},easeInBack:function(e){return e*e*(2.70158*e-1.70158)},easeOutBack:function(e){return(e-=1)*e*(2.70158*e+1.70158)+1},easeInOutBack:function(e){var t=1.70158;return(e/=.5)<1?e*e*((1+(t*=1.525))*e-t)*.5:.5*((e-=2)*e*((1+(t*=1.525))*e+t)+2)},easeInBounce:function(e){return 1-ie.easeOutBounce(1-e)},easeOutBounce:function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},easeInOutBounce:function(e){return e<.5?.5*ie.easeInBounce(2*e):.5*ie.easeOutBounce(2*e-1)+.5}}),e={effects:ie},d=(h.easingEffects=ie,Math.PI),re=d/180,oe=2*d,f=d/2,ae=d/4,le=2*d/3,se={clear:function(e){e.ctx.clearRect(0,0,e.width,e.height)},roundedRect:function(e,t,n,i,r,o){var a,l,s,u;o?(a=t+(o=Math.min(o,r/2,i/2)),s=t+i-o,u=n+r-o,e.moveTo(t,l=n+o),a<s&&l<u?(e.arc(a,l,o,-d,-f),e.arc(s,l,o,-f,0),e.arc(s,u,o,0,f),e.arc(a,u,o,f,d)):a<s?(e.moveTo(a,n),e.arc(s,l,o,-f,f),e.arc(a,l,o,f,d+f)):l<u?(e.arc(a,l,o,-d,0),e.arc(a,u,o,0,d)):e.arc(a,l,o,-d,d),e.closePath(),e.moveTo(t,n)):e.rect(t,n,i,r)},drawPoint:function(e,t,n,i,r,o){var a,l,s,u,c,h=(o||0)*re;if(!t||"object"!==Hn(t)||"[object HTMLImageElement]"!==(a=t.toString())&&"[object HTMLCanvasElement]"!==a){if(!(isNaN(n)||n<=0)){switch(e.beginPath(),t){default:e.arc(i,r,n,0,oe),e.closePath();break;case"triangle":e.moveTo(i+Math.sin(h)*n,r-Math.cos(h)*n),h+=le,e.lineTo(i+Math.sin(h)*n,r-Math.cos(h)*n),h+=le,e.lineTo(i+Math.sin(h)*n,r-Math.cos(h)*n),e.closePath();break;case"rectRounded":u=n-(c=.516*n),l=Math.cos(h+ae)*u,s=Math.sin(h+ae)*u,e.arc(i-l,r-s,c,h-d,h-f),e.arc(i+s,r-l,c,h-f,h),e.arc(i+l,r+s,c,h,h+f),e.arc(i-s,r+l,c,h+f,h+d),e.closePath();break;case"rect":if(!o){u=Math.SQRT1_2*n,e.rect(i-u,r-u,2*u,2*u);break}h+=ae;case"rectRot":l=Math.cos(h)*n,s=Math.sin(h)*n,e.moveTo(i-l,r-s),e.lineTo(i+s,r-l),e.lineTo(i+l,r+s),e.lineTo(i-s,r+l),e.closePath();break;case"crossRot":h+=ae;case"cross":l=Math.cos(h)*n,s=Math.sin(h)*n,e.moveTo(i-l,r-s),e.lineTo(i+l,r+s),e.moveTo(i+s,r-l),e.lineTo(i-s,r+l);break;case"star":l=Math.cos(h)*n,s=Math.sin(h)*n,e.moveTo(i-l,r-s),e.lineTo(i+l,r+s),e.moveTo(i+s,r-l),e.lineTo(i-s,r+l),h+=ae,l=Math.cos(h)*n,s=Math.sin(h)*n,e.moveTo(i-l,r-s),e.lineTo(i+l,r+s),e.moveTo(i+s,r-l),e.lineTo(i-s,r+l);break;case"line":l=Math.cos(h)*n,s=Math.sin(h)*n,e.moveTo(i-l,r-s),e.lineTo(i+l,r+s);break;case"dash":e.moveTo(i,r),e.lineTo(i+Math.cos(h)*n,r+Math.sin(h)*n)}e.fill(),e.stroke()}}else e.save(),e.translate(i,r),e.rotate(h),e.drawImage(t,-t.width/2,-t.height/2,t.width,t.height),e.restore()},_isPointInArea:function(e,t){return e.x>t.left-1e-6&&e.x<t.right+1e-6&&e.y>t.top-1e-6&&e.y<t.bottom+1e-6},clipArea:function(e,t){e.save(),e.beginPath(),e.rect(t.left,t.top,t.right-t.left,t.bottom-t.top),e.clip()},unclipArea:function(e){e.restore()},lineTo:function(e,t,n,i){var r,o=n.steppedLine;o?("middle"===o?(r=(t.x+n.x)/2,e.lineTo(r,(i?n:t).y),e.lineTo(r,(i?t:n).y)):"after"===o&&!i||"after"!==o&&i?e.lineTo(t.x,n.y):e.lineTo(n.x,t.y),e.lineTo(n.x,n.y)):n.tension?e.bezierCurveTo(i?t.controlPointPreviousX:t.controlPointNextX,i?t.controlPointPreviousY:t.controlPointNextY,i?n.controlPointNextX:n.controlPointPreviousX,i?n.controlPointNextY:n.controlPointPreviousY,n.x,n.y):e.lineTo(n.x,n.y)}},t=se,r=(h.clear=se.clear,h.drawRoundedRectangle=function(e){e.beginPath(),se.roundedRect.apply(se,arguments)},{_set:function(e,t){return h.merge(this[e]||(this[e]={}),t)}}),T=(r._set("global",{defaultColor:"rgba(0,0,0,0.1)",defaultFontColor:"#666",defaultFontFamily:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",defaultFontSize:12,defaultFontStyle:"normal",defaultLineHeight:1.2,showLines:!0}),r),ue=h.valueOrDefault;var r={toLineHeight:function(e,t){var n=(""+e).match(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/);if(!n||"normal"===n[1])return 1.2*t;switch(e=+n[2],n[3]){case"px":return e;case"%":e/=100}return t*e},toPadding:function(e){var t,n,i,r;return h.isObject(e)?(t=+e.top||0,n=+e.right||0,i=+e.bottom||0,r=+e.left||0):t=n=i=r=+e||0,{top:t,right:n,bottom:i,left:r,height:t+i,width:r+n}},_parseFont:function(e){var t=T.global,n=ue(e.fontSize,t.defaultFontSize),n={family:ue(e.fontFamily,t.defaultFontFamily),lineHeight:h.options.toLineHeight(ue(e.lineHeight,t.defaultLineHeight),n),size:n,style:ue(e.fontStyle,t.defaultFontStyle),weight:null,string:""};return n.string=!(e=n)||h.isNullOrUndef(e.size)||h.isNullOrUndef(e.family)?null:(e.style?e.style+" ":"")+(e.weight?e.weight+" ":"")+e.size+"px "+e.family,n},resolve:function(e,t,n,i){for(var r,o=!0,a=0,l=e.length;a<l;++a)if(void 0!==(r=e[a])&&(void 0!==t&&"function"==typeof r&&(r=r(t),o=!1),void 0!==n&&h.isArray(r)&&(r=r[n],o=!1),void 0!==r))return i&&!o&&(i.cacheable=!1),r}},o={_factorize:function(e){for(var t=[],n=Math.sqrt(e),i=1;i<n;i++)e%i==0&&(t.push(i),t.push(e/i));return n===(0|n)&&t.push(n),t.sort(function(e,t){return e-t}).pop(),t},log10:Math.log10||function(e){var t=Math.log(e)*Math.LOG10E,n=Math.round(t);return e===Math.pow(10,n)?n:t}},p=o,L=(h.log10=o.log10,h),o=t,t=r,r=p,p={getRtlAdapter:function(e,t,n){return e?(i=t,r=n,{x:function(e){return i+i+r-e},setWidth:function(e){r=e},textAlign:function(e){return"center"===e?e:"right"===e?"left":"right"},xPlus:function(e,t){return e-t},leftForLtr:function(e,t){return e-t}}):{x:function(e){return e},setWidth:function(e){},textAlign:function(e){return e},xPlus:function(e,t){return e+t},leftForLtr:function(e,t){return e}};var i,r},overrideTextDirection:function(e,t){var n,i;"ltr"!==t&&"rtl"!==t||(i=[(n=e.canvas.style).getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",t,"important"),e.prevTextDirection=i)},restoreTextDirection:function(e){var t=e.prevTextDirection;void 0!==t&&(delete e.prevTextDirection,e.canvas.style.setProperty("direction",t[0],t[1]))}};L.easing=e,L.canvas=o,L.options=t,L.math=r,L.rtl=p;function ce(e){L.extend(this,e),this.initialize.apply(this,arguments)}L.extend(ce.prototype,{_type:void 0,initialize:function(){this.hidden=!1},pivot:function(){return this._view||(this._view=L.extend({},this._model)),this._start={},this},transition:function(e){var t=this._model,n=this._start,i=this._view;if(t&&1!==e){for(var r,o,a,l,s,i=i||(this._view={}),u=n=n||(this._start={}),c=i,h=t,d=e,f=Object.keys(h),p=0,g=f.length;p<g;++p)if(a=h[r=f[p]],c.hasOwnProperty(r)||(c[r]=a),(o=c[r])!==a&&"_"!==r[0]){if(u.hasOwnProperty(r)||(u[r]=o),o=u[r],(l=Hn(a))===Hn(o))if("string"===l){if((l=Q(o)).valid&&(s=Q(a)).valid){c[r]=s.mix(l,d).rgbString();continue}}else if(L.isFinite(o)&&L.isFinite(a)){c[r]=o+(a-o)*d;continue}c[r]=a}}else this._view=L.extend({},t),this._start=null;return this},tooltipPosition:function(){return{x:this._model.x,y:this._model.y}},hasValue:function(){return L.isNumber(this._model.x)&&L.isNumber(this._model.y)}}),ce.extend=L.inherits;var e=ce,o=e.extend({chart:null,currentStep:0,numSteps:60,easing:"",render:null,onAnimationProgress:null,onAnimationComplete:null}),he=o,de=(Object.defineProperty(o.prototype,"animationObject",{get:function(){return this}}),Object.defineProperty(o.prototype,"chartInstance",{get:function(){return this.chart},set:function(e){this.chart=e}}),T._set("global",{animation:{duration:1e3,easing:"easeOutQuart",onProgress:L.noop,onComplete:L.noop}}),{animations:[],request:null,addAnimation:function(e,t,n,i){var r,o,a=this.animations;for(t.chart=e,t.startTime=Date.now(),t.duration=n,i||(e.animating=!0),r=0,o=a.length;r<o;++r)if(a[r].chart===e)return void(a[r]=t);a.push(t),1===a.length&&this.requestAnimationFrame()},cancelAnimation:function(t){var e=L.findIndex(this.animations,function(e){return e.chart===t});-1!==e&&(this.animations.splice(e,1),t.animating=!1)},requestAnimationFrame:function(){var e=this;null===e.request&&(e.request=L.requestAnimFrame.call(window,function(){e.request=null,e.startDigest()}))},startDigest:function(){this.advance(),0<this.animations.length&&this.requestAnimationFrame()},advance:function(){for(var e,t,n,i,r=this.animations,o=0;o<r.length;)t=(e=r[o]).chart,n=e.numSteps,i=Math.floor((Date.now()-e.startTime)/e.duration*n)+1,e.currentStep=Math.min(i,n),L.callback(e.render,[t,e],t),L.callback(e.onAnimationProgress,[e],t),e.currentStep>=n?(L.callback(e.onAnimationComplete,[e],t),t.animating=!1,r.splice(o,1)):++o}}),fe=L.options.resolve,pe=["push","pop","shift","splice","unshift"];function ge(t,e){var n=t._chartjs;n&&(-1!==(e=(n=n.listeners).indexOf(e))&&n.splice(e,1),0<n.length||(pe.forEach(function(e){delete t[e]}),delete t._chartjs))}function me(e,t){this.initialize(e,t)}L.extend(me.prototype,{datasetElementType:null,dataElementType:null,_datasetElementOptions:["backgroundColor","borderCapStyle","borderColor","borderDash","borderDashOffset","borderJoinStyle","borderWidth"],_dataElementOptions:["backgroundColor","borderColor","borderWidth","pointStyle"],initialize:function(e,t){this.chart=e,this.index=t,this.linkScales(),this.addElements(),this._type=this.getMeta().type},updateIndex:function(e){this.index=e},linkScales:function(){var e=this.getMeta(),t=this.chart,n=t.scales,i=this.getDataset(),t=t.options.scales;null!==e.xAxisID&&e.xAxisID in n&&!i.xAxisID||(e.xAxisID=i.xAxisID||t.xAxes[0].id),null!==e.yAxisID&&e.yAxisID in n&&!i.yAxisID||(e.yAxisID=i.yAxisID||t.yAxes[0].id)},getDataset:function(){return this.chart.data.datasets[this.index]},getMeta:function(){return this.chart.getDatasetMeta(this.index)},getScaleForId:function(e){return this.chart.scales[e]},_getValueScaleId:function(){return this.getMeta().yAxisID},_getIndexScaleId:function(){return this.getMeta().xAxisID},_getValueScale:function(){return this.getScaleForId(this._getValueScaleId())},_getIndexScale:function(){return this.getScaleForId(this._getIndexScaleId())},reset:function(){this._update(!0)},destroy:function(){this._data&&ge(this._data,this)},createMetaDataset:function(){var e=this.datasetElementType;return e&&new e({_chart:this.chart,_datasetIndex:this.index})},createMetaData:function(e){var t=this.dataElementType;return t&&new t({_chart:this.chart,_datasetIndex:this.index,_index:e})},addElements:function(){for(var e=this.getMeta(),t=this.getDataset().data||[],n=e.data,i=0,r=t.length;i<r;++i)n[i]=n[i]||this.createMetaData(i);e.dataset=e.dataset||this.createMetaDataset()},addElementAndReset:function(e){var t=this.createMetaData(e);this.getMeta().data.splice(e,0,t),this.updateElement(t,e,!0)},buildOrUpdateElements:function(){var r,e,t=this.getDataset(),t=t.data||(t.data=[]);this._data!==t&&(this._data&&ge(this._data,this),t&&Object.isExtensible(t)&&(e=this,(r=t)._chartjs?r._chartjs.listeners.push(e):(Object.defineProperty(r,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[e]}}),pe.forEach(function(e){var n="onData"+e.charAt(0).toUpperCase()+e.slice(1),i=r[e];Object.defineProperty(r,e,{configurable:!0,enumerable:!1,value:function(){var t=Array.prototype.slice.call(arguments),e=i.apply(this,t);return L.each(r._chartjs.listeners,function(e){"function"==typeof e[n]&&e[n].apply(e,t)}),e}})}))),this._data=t),this.resyncElements()},_configure:function(){this._config=L.merge(Object.create(null),[this.chart.options.datasets[this._type],this.getDataset()],{merger:function(e,t,n){"_meta"!==e&&"data"!==e&&L._merger(e,t,n)}})},_update:function(e){this._configure(),this._cachedDataOpts=null,this.update(e)},update:L.noop,transition:function(e){for(var t=this.getMeta(),n=t.data||[],i=n.length,r=0;r<i;++r)n[r].transition(e);t.dataset&&t.dataset.transition(e)},draw:function(){var e=this.getMeta(),t=e.data||[],n=t.length,i=0;for(e.dataset&&e.dataset.draw();i<n;++i)t[i].draw()},getStyle:function(e){var t=this.getMeta(),n=t.dataset;return this._configure(),!1!==(n=n&&void 0===e?this._resolveDatasetElementOptions(n||{}):this._resolveDataElementOptions(t.data[e=e||0]||{},e)).fill&&null!==n.fill||(n.backgroundColor=n.borderColor),n},_resolveDatasetElementOptions:function(e,t){for(var n,i,r=this.chart,o=this._config,a=e.custom||{},l=r.options.elements[this.datasetElementType.prototype._type]||{},s=this._datasetElementOptions,u={},c={chart:r,dataset:this.getDataset(),datasetIndex:this.index,hover:t},h=0,d=s.length;h<d;++h)n=s[h],i=t?"hover"+n.charAt(0).toUpperCase()+n.slice(1):n,u[n]=fe([a[i],o[i],l[i]],c);return u},_resolveDataElementOptions:function(e,t){var n=e&&e.custom,e=this._cachedDataOpts;if(e&&!n)return e;var i,r,o,a,e=this.chart,l=this._config,s=e.options.elements[this.dataElementType.prototype._type]||{},u=this._dataElementOptions,c={},h={chart:e,dataIndex:t,dataset:this.getDataset(),datasetIndex:this.index},d={cacheable:!n},n=n||{};if(L.isArray(u))for(r=0,o=u.length;r<o;++r)c[a=u[r]]=fe([n[a],l[a],s[a]],h,t,d);else for(r=0,o=(i=Object.keys(u)).length;r<o;++r)c[a=i[r]]=fe([n[a],l[u[a]],l[a],s[a]],h,t,d);return d.cacheable&&(this._cachedDataOpts=Object.freeze(c)),c},removeHoverStyle:function(e){L.merge(e._model,e.$previousStyle||{}),delete e.$previousStyle},setHoverStyle:function(e){var t=this.chart.data.datasets[e._datasetIndex],n=e._index,i=e.custom||{},r=e._model,o=L.getHoverColor;e.$previousStyle={backgroundColor:r.backgroundColor,borderColor:r.borderColor,borderWidth:r.borderWidth},r.backgroundColor=fe([i.hoverBackgroundColor,t.hoverBackgroundColor,o(r.backgroundColor)],void 0,n),r.borderColor=fe([i.hoverBorderColor,t.hoverBorderColor,o(r.borderColor)],void 0,n),r.borderWidth=fe([i.hoverBorderWidth,t.hoverBorderWidth,r.borderWidth],void 0,n)},_removeDatasetHoverStyle:function(){var e=this.getMeta().dataset;e&&this.removeHoverStyle(e)},_setDatasetHoverStyle:function(){var e,t,n,i,r,o,a=this.getMeta().dataset,l={};if(a){for(o=a._model,r=this._resolveDatasetElementOptions(a,!0),e=0,t=(i=Object.keys(r)).length;e<t;++e)l[n=i[e]]=o[n],o[n]=r[n];a.$previousStyle=l}},resyncElements:function(){var e=this.getMeta(),t=this.getDataset().data,n=e.data.length,t=t.length;t<n?e.data.splice(t,n-t):n<t&&this.insertElements(n,t-n)},insertElements:function(e,t){for(var n=0;n<t;++n)this.addElementAndReset(e+n)},onDataPush:function(){var e=arguments.length;this.insertElements(this.getDataset().data.length-e,e)},onDataPop:function(){this.getMeta().data.pop()},onDataShift:function(){this.getMeta().data.shift()},onDataSplice:function(e,t){this.getMeta().data.splice(e,t),this.insertElements(e,arguments.length-2)},onDataUnshift:function(){this.insertElements(0,arguments.length)}}),me.extend=L.inherits;var g=me,m=2*Math.PI;function ve(e,t){var n=t.startAngle,i=t.endAngle,r=t.pixelMargin,o=r/t.outerRadius,a=t.x,l=t.y;e.beginPath(),e.arc(a,l,t.outerRadius,n-o,i+o),t.innerRadius>r?(o=r/t.innerRadius,e.arc(a,l,t.innerRadius-r,i+o,n-o,!0)):e.arc(a,l,r,i+Math.PI/2,n-Math.PI/2),e.closePath(),e.clip()}function ye(e,t,n){var i="inner"===t.borderAlign;if(i?(e.lineWidth=2*t.borderWidth,e.lineJoin="round"):(e.lineWidth=t.borderWidth,e.lineJoin="bevel"),n.fullCircles){var r,o=e,a=t,l=n,s=i,u=l.endAngle;for(s&&(l.endAngle=l.startAngle+m,ve(o,l),l.endAngle=u,l.endAngle===l.startAngle&&l.fullCircles&&(l.endAngle+=m,l.fullCircles--)),o.beginPath(),o.arc(l.x,l.y,l.innerRadius,l.startAngle+m,l.startAngle,!0),r=0;r<l.fullCircles;++r)o.stroke();for(o.beginPath(),o.arc(l.x,l.y,a.outerRadius,l.startAngle,l.startAngle+m),r=0;r<l.fullCircles;++r)o.stroke()}i&&ve(e,n),e.beginPath(),e.arc(n.x,n.y,t.outerRadius,n.startAngle,n.endAngle),e.arc(n.x,n.y,n.innerRadius,n.endAngle,n.startAngle,!0),e.closePath(),e.stroke()}T._set("global",{elements:{arc:{backgroundColor:T.global.defaultColor,borderColor:"#fff",borderWidth:2,borderAlign:"center"}}});var t=e.extend({_type:"arc",inLabelRange:function(e){var t=this._view;return!!t&&Math.pow(e-t.x,2)<Math.pow(t.radius+t.hoverRadius,2)},inRange:function(e,t){var n=this._view;if(n){for(var e=L.getAngleFromPoint(n,{x:e,y:t}),i=e.angle,t=e.distance,r=n.startAngle,o=n.endAngle;o<r;)o+=m;for(;o<i;)i-=m;for(;i<r;)i+=m;e=t>=n.innerRadius&&t<=n.outerRadius;return r<=i&&i<=o&&e}return!1},getCenterPoint:function(){var e=this._view,t=(e.startAngle+e.endAngle)/2,n=(e.innerRadius+e.outerRadius)/2;return{x:e.x+Math.cos(t)*n,y:e.y+Math.sin(t)*n}},getArea:function(){var e=this._view;return Math.PI*((e.endAngle-e.startAngle)/(2*Math.PI))*(Math.pow(e.outerRadius,2)-Math.pow(e.innerRadius,2))},tooltipPosition:function(){var e=this._view,t=e.startAngle+(e.endAngle-e.startAngle)/2,n=(e.outerRadius-e.innerRadius)/2+e.innerRadius;return{x:e.x+Math.cos(t)*n,y:e.y+Math.sin(t)*n}},draw:function(){var e,t=this._chart.ctx,n=this._view,i="inner"===n.borderAlign?.33:0,r={x:n.x,y:n.y,innerRadius:n.innerRadius,outerRadius:Math.max(n.outerRadius-i,0),pixelMargin:i,startAngle:n.startAngle,endAngle:n.endAngle,fullCircles:Math.floor(n.circumference/m)};if(t.save(),t.fillStyle=n.backgroundColor,t.strokeStyle=n.borderColor,r.fullCircles){for(r.endAngle=r.startAngle+m,t.beginPath(),t.arc(r.x,r.y,r.outerRadius,r.startAngle,r.endAngle),t.arc(r.x,r.y,r.innerRadius,r.endAngle,r.startAngle,!0),t.closePath(),e=0;e<r.fullCircles;++e)t.fill();r.endAngle=r.startAngle+n.circumference%m}t.beginPath(),t.arc(r.x,r.y,r.outerRadius,r.startAngle,r.endAngle),t.arc(r.x,r.y,r.innerRadius,r.endAngle,r.startAngle,!0),t.closePath(),t.fill(),n.borderWidth&&ye(t,n,r),t.restore()}}),be=L.valueOrDefault,r=T.global.defaultColor,p=(T._set("global",{elements:{line:{tension:.4,backgroundColor:r,borderWidth:3,borderColor:r,borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",capBezierPoints:!0,fill:!0}}}),e.extend({_type:"line",draw:function(){var e,t,n,i=this._view,r=this._chart.ctx,o=i.spanGaps,a=this._children.slice(),l=T.global,s=l.elements.line,u=-1,c=this._loop;if(a.length){if(this._loop){for(e=0;e<a.length;++e)if(t=L.previousItem(a,e),!a[e]._view.skip&&t._view.skip){a=a.slice(e).concat(a.slice(0,e)),c=o;break}c&&a.push(a[0])}for(r.save(),r.lineCap=i.borderCapStyle||s.borderCapStyle,r.setLineDash&&r.setLineDash(i.borderDash||s.borderDash),r.lineDashOffset=be(i.borderDashOffset,s.borderDashOffset),r.lineJoin=i.borderJoinStyle||s.borderJoinStyle,r.lineWidth=be(i.borderWidth,s.borderWidth),r.strokeStyle=i.borderColor||l.defaultColor,r.beginPath(),(n=a[0]._view).skip||(r.moveTo(n.x,n.y),u=0),e=1;e<a.length;++e)n=a[e]._view,t=-1===u?L.previousItem(a,e):a[u],n.skip||(u!==e-1&&!o||-1===u?r.moveTo(n.x,n.y):L.canvas.lineTo(r,t._view,n),u=e);c&&r.closePath(),r.stroke(),r.restore()}}})),_e=L.valueOrDefault,o=T.global.defaultColor;function we(e){var t=this._view;return!!t&&Math.abs(e-t.x)<t.radius+t.hitRadius}T._set("global",{elements:{point:{radius:3,pointStyle:"circle",backgroundColor:o,borderColor:o,borderWidth:1,hitRadius:1,hoverRadius:4,hoverBorderWidth:1}}});r=e.extend({_type:"point",inRange:function(e,t){var n=this._view;return!!n&&Math.pow(e-n.x,2)+Math.pow(t-n.y,2)<Math.pow(n.hitRadius+n.radius,2)},inLabelRange:we,inXRange:we,inYRange:function(e){var t=this._view;return!!t&&Math.abs(e-t.y)<t.radius+t.hitRadius},getCenterPoint:function(){var e=this._view;return{x:e.x,y:e.y}},getArea:function(){return Math.PI*Math.pow(this._view.radius,2)},tooltipPosition:function(){var e=this._view;return{x:e.x,y:e.y,padding:e.radius+e.borderWidth}},draw:function(e){var t=this._view,n=this._chart.ctx,i=t.pointStyle,r=t.rotation,o=t.radius,a=t.x,l=t.y,s=T.global,u=s.defaultColor;t.skip||void 0!==e&&!L.canvas._isPointInArea(t,e)||(n.strokeStyle=t.borderColor||u,n.lineWidth=_e(t.borderWidth,s.elements.point.borderWidth),n.fillStyle=t.backgroundColor||u,L.canvas.drawPoint(n,i,o,a,l,r))}}),o=T.global.defaultColor;function xe(e){return e&&void 0!==e.width}function Se(e){var t,n,i,r,e=xe(e)?(r=e.width/2,t=e.x-r,n=e.x+r,i=Math.min(e.y,e.base),Math.max(e.y,e.base)):(r=e.height/2,t=Math.min(e.x,e.base),n=Math.max(e.x,e.base),i=e.y-r,e.y+r);return{left:t,top:i,right:n,bottom:e}}function Ce(e,t,n){return e===t?n:e===n?t:e}function Ee(e,t,n){var i,r,o,a,l,s,u=e.borderWidth,e=(i=(e=e).borderSkipped,r={},i&&(e.horizontal?e.base>e.x&&(i=Ce(i,"left","right")):e.base<e.y&&(i=Ce(i,"bottom","top")),r[i]=!0),r);return L.isObject(u)?(o=+u.top||0,a=+u.right||0,l=+u.bottom||0,s=+u.left||0):o=a=l=s=+u||0,{t:e.top||o<0?0:n<o?n:o,r:e.right||a<0?0:t<a?t:a,b:e.bottom||l<0?0:n<l?n:l,l:e.left||s<0?0:t<s?t:s}}function ke(e,t,n){var i=null===t,r=null===n,e=!(!e||i&&r)&&Se(e);return e&&(i||t>=e.left&&t<=e.right)&&(r||n>=e.top&&n<=e.bottom)}T._set("global",{elements:{rectangle:{backgroundColor:o,borderColor:o,borderSkipped:"bottom",borderWidth:0}}});var o=e.extend({_type:"rectangle",draw:function(){var e,t=this._chart.ctx,n=this._view,i=(i=Se(e=n),r=i.right-i.left,o=i.bottom-i.top,e=Ee(e,r/2,o/2),{outer:{x:i.left,y:i.top,w:r,h:o},inner:{x:i.left+e.l,y:i.top+e.t,w:r-e.l-e.r,h:o-e.t-e.b}}),r=i.outer,o=i.inner;t.fillStyle=n.backgroundColor,t.fillRect(r.x,r.y,r.w,r.h),r.w===o.w&&r.h===o.h||(t.save(),t.beginPath(),t.rect(r.x,r.y,r.w,r.h),t.clip(),t.fillStyle=n.borderColor,t.rect(o.x,o.y,o.w,o.h),t.fill("evenodd"),t.restore())},height:function(){var e=this._view;return e.base-e.y},inRange:function(e,t){return ke(this._view,e,t)},inLabelRange:function(e,t){var n=this._view;return xe(n)?ke(n,e,null):ke(n,null,t)},inXRange:function(e){return ke(this._view,e,null)},inYRange:function(e){return ke(this._view,null,e)},getCenterPoint:function(){var e,t=this._view,t=xe(t)?(e=t.x,(t.y+t.base)/2):(e=(t.x+t.base)/2,t.y);return{x:e,y:t}},getArea:function(){var e=this._view;return xe(e)?e.width*Math.abs(e.y-e.base):e.height*Math.abs(e.x-e.base)},tooltipPosition:function(){var e=this._view;return{x:e.x,y:e.y}}}),v={},Me=(v.Arc=t,v.Line=p,v.Point=r,v.Rectangle=o,L._deprecated),De=L.valueOrDefault;function Te(e,t,n){var i,r=n.barThickness,o=t.stackCount,e=t.pixels[e],t=L.isNullOrUndef(r)?function(e,t){for(var n,i,r=e._length,o=1,a=t.length;o<a;++o)r=Math.min(r,Math.abs(t[o]-t[o-1]));for(o=0,a=e.getTicks().length;o<a;++o)i=e.getPixelForTick(o),r=0<o?Math.min(r,Math.abs(i-n)):r,n=i;return r}(t.scale,t.pixels):-1,t=L.isNullOrUndef(r)?(i=t*n.categoryPercentage,n.barPercentage):(i=r*o,1);return{chunk:i/o,ratio:t,start:e-i/2}}T._set("bar",{hover:{mode:"label"},scales:{xAxes:[{type:"category",offset:!0,gridLines:{offsetGridLines:!0}}],yAxes:[{type:"linear"}]}}),T._set("global",{datasets:{bar:{categoryPercentage:.8,barPercentage:.9}}});var t=g.extend({dataElementType:v.Rectangle,_dataElementOptions:["backgroundColor","borderColor","borderSkipped","borderWidth","barPercentage","barThickness","categoryPercentage","maxBarThickness","minBarLength"],initialize:function(){var e;g.prototype.initialize.apply(this,arguments),(e=this.getMeta()).stack=this.getDataset().stack,e.bar=!0,e=this._getIndexScale().options,Me("bar chart",e.barPercentage,"scales.[x/y]Axes.barPercentage","dataset.barPercentage"),Me("bar chart",e.barThickness,"scales.[x/y]Axes.barThickness","dataset.barThickness"),Me("bar chart",e.categoryPercentage,"scales.[x/y]Axes.categoryPercentage","dataset.categoryPercentage"),Me("bar chart",this._getValueScale().options.minBarLength,"scales.[x/y]Axes.minBarLength","dataset.minBarLength"),Me("bar chart",e.maxBarThickness,"scales.[x/y]Axes.maxBarThickness","dataset.maxBarThickness")},update:function(e){var t,n,i=this.getMeta().data;for(this._ruler=this.getRuler(),t=0,n=i.length;t<n;++t)this.updateElement(i[t],t,e)},updateElement:function(e,t,n){var i=this.getMeta(),r=this.getDataset(),o=this._resolveDataElementOptions(e,t);e._xScale=this.getScaleForId(i.xAxisID),e._yScale=this.getScaleForId(i.yAxisID),e._datasetIndex=this.index,e._index=t,e._model={backgroundColor:o.backgroundColor,borderColor:o.borderColor,borderSkipped:o.borderSkipped,borderWidth:o.borderWidth,datasetLabel:r.label,label:this.chart.data.labels[t]},L.isArray(r.data[t])&&(e._model.borderSkipped=null),this._updateElementGeometry(e,t,n,o),e.pivot()},_updateElementGeometry:function(e,t,n,i){var e=e._model,r=this._getValueScale(),o=r.getBasePixel(),r=r.isHorizontal(),a=this._ruler||this.getRuler(),l=this.calculateBarValuePixels(this.index,t,i),t=this.calculateBarIndexPixels(this.index,t,a,i);e.horizontal=r,e.base=n?o:l.base,e.x=r?n?o:l.head:t.center,e.y=r?t.center:n?o:l.head,e.height=r?t.size:void 0,e.width=r?void 0:t.size},_getStacks:function(e){for(var t,n=this._getIndexScale(),i=n._getMatchingVisibleMetas(this._type),r=n.options.stacked,o=i.length,a=[],l=0;l<o&&(t=i[l],(!1===r||-1===a.indexOf(t.stack)||void 0===r&&void 0===t.stack)&&a.push(t.stack),t.index!==e);++l);return a},getStackCount:function(){return this._getStacks().length},getStackIndex:function(e,t){e=this._getStacks(e),t=void 0!==t?e.indexOf(t):-1;return-1===t?e.length-1:t},getRuler:function(){for(var e=this._getIndexScale(),t=[],n=0,i=this.getMeta().data.length;n<i;++n)t.push(e.getPixelForValue(null,n,this.index));return{pixels:t,start:e._startPixel,end:e._endPixel,stackCount:this.getStackCount(),scale:e}},calculateBarValuePixels:function(e,t,n){var i,r,o,a,l,s=this.chart,u=this._getValueScale(),c=u.isHorizontal(),h=s.data.datasets,d=u._getMatchingVisibleMetas(this._type),f=u._parseValue(h[e].data[t]),s=n.minBarLength,n=u.options.stacked,p=this.getMeta().stack,g=void 0===f.start?0:0<=f.max&&0<=f.min?f.min:f.max,m=void 0===f.start?f.end:0<=f.max&&0<=f.min?f.max-f.min:f.min-f.max,v=d.length;if(n||void 0===n&&void 0!==p)for(i=0;i<v&&(r=d[i]).index!==e;++i)r.stack===p&&(l=void 0===(l=u._parseValue(h[r.index].data[t])).start?l.end:0<=l.min&&0<=l.max?l.max:l.min,(f.min<0&&l<0||0<=f.max&&0<l)&&(g+=l));return n=u.getPixelForValue(g),a=(o=u.getPixelForValue(g+m))-n,void 0!==s&&Math.abs(a)<s&&(a=s,o=0<=m&&!c||m<0&&c?n-s:n+s),{size:a,base:n,head:o,center:o+a/2}},calculateBarIndexPixels:function(e,t,n,i){var r,o,a="flex"===i.barThickness?(s=t,r=i,o=(a=(u=n).pixels)[s],l=0<s?a[s-1]:null,a=s<a.length-1?a[s+1]:null,s=r.categoryPercentage,null===l&&(l=o-(null===a?u.end-u.start:a-o)),null===a&&(a=o+o-l),o=o-(o-Math.min(l,a))/2*s,{chunk:Math.abs(a-l)/2*s/u.stackCount,ratio:r.barPercentage,start:o}):Te(t,n,i),l=this.getStackIndex(e,this.getMeta().stack),s=a.start+a.chunk*l+a.chunk/2,u=Math.min(De(i.maxBarThickness,1/0),a.chunk*a.ratio);return{base:s-u/2,head:s+u/2,center:s,size:u}},draw:function(){var e=this.chart,t=this._getValueScale(),n=this.getMeta().data,i=this.getDataset(),r=n.length,o=0;for(L.canvas.clipArea(e.ctx,e.chartArea);o<r;++o){var a=t._parseValue(i.data[o]);isNaN(a.min)||isNaN(a.max)||n[o].draw()}L.canvas.unclipArea(e.ctx)},_resolveDataElementOptions:function(){var e=L.extend({},g.prototype._resolveDataElementOptions.apply(this,arguments)),t=this._getIndexScale().options,n=this._getValueScale().options;return e.barPercentage=De(t.barPercentage,e.barPercentage),e.barThickness=De(t.barThickness,e.barThickness),e.categoryPercentage=De(t.categoryPercentage,e.categoryPercentage),e.maxBarThickness=De(t.maxBarThickness,e.maxBarThickness),e.minBarLength=De(n.minBarLength,e.minBarLength),e}}),Re=L.valueOrDefault,Ae=L.options.resolve,p=(T._set("bubble",{hover:{mode:"single"},scales:{xAxes:[{type:"linear",position:"bottom",id:"x-axis-0"}],yAxes:[{type:"linear",position:"left",id:"y-axis-0"}]},tooltips:{callbacks:{title:function(){return""},label:function(e,t){var n=t.datasets[e.datasetIndex].label||"",t=t.datasets[e.datasetIndex].data[e.index];return n+": ("+e.xLabel+", "+e.yLabel+", "+t.r+")"}}}}),g.extend({dataElementType:v.Point,_dataElementOptions:["backgroundColor","borderColor","borderWidth","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth","hoverRadius","hitRadius","pointStyle","rotation"],update:function(n){var i=this,e=i.getMeta().data;L.each(e,function(e,t){i.updateElement(e,t,n)})},updateElement:function(e,t,n){var i=this.getMeta(),r=e.custom||{},o=this.getScaleForId(i.xAxisID),i=this.getScaleForId(i.yAxisID),a=this._resolveDataElementOptions(e,t),l=this.getDataset().data[t],s=this.index,u=n?o.getPixelForDecimal(.5):o.getPixelForValue("object"===Hn(l)?l:NaN,t,s),l=n?i.getBasePixel():i.getPixelForValue(l,t,s);e._xScale=o,e._yScale=i,e._options=a,e._datasetIndex=s,e._index=t,e._model={backgroundColor:a.backgroundColor,borderColor:a.borderColor,borderWidth:a.borderWidth,hitRadius:a.hitRadius,pointStyle:a.pointStyle,rotation:a.rotation,radius:n?0:a.radius,skip:r.skip||isNaN(u)||isNaN(l),x:u,y:l},e.pivot()},setHoverStyle:function(e){var t=e._model,n=e._options,i=L.getHoverColor;e.$previousStyle={backgroundColor:t.backgroundColor,borderColor:t.borderColor,borderWidth:t.borderWidth,radius:t.radius},t.backgroundColor=Re(n.hoverBackgroundColor,i(n.backgroundColor)),t.borderColor=Re(n.hoverBorderColor,i(n.borderColor)),t.borderWidth=Re(n.hoverBorderWidth,n.borderWidth),t.radius=n.radius+n.hoverRadius},_resolveDataElementOptions:function(e,t){var n=this.chart,i=this.getDataset(),e=e.custom||{},r=i.data[t]||{},o=g.prototype._resolveDataElementOptions.apply(this,arguments),i={chart:n,dataIndex:t,dataset:i,datasetIndex:this.index};return(o=this._cachedDataOpts===o?L.extend({},o):o).radius=Ae([e.radius,r.r,this._config.radius,n.options.elements.point.radius],i,t),o}})),Oe=L.valueOrDefault,S=Math.PI,C=2*S,Pe=S/2,r=(T._set("doughnut",{animation:{animateRotate:!0,animateScale:!1},hover:{mode:"single"},legendCallback:function(e){var t,n,i,r=document.createElement("ul"),o=e.data,a=o.datasets,l=o.labels;if(r.setAttribute("class",e.id+"-legend"),a.length)for(n=a[t=0].data.length;t<n;++t)(i=r.appendChild(document.createElement("li"))).appendChild(document.createElement("span")).style.backgroundColor=a[0].backgroundColor[t],l[t]&&i.appendChild(document.createTextNode(l[t]));return r.outerHTML},legend:{labels:{generateLabels:function(r){var o=r.data;return o.labels.length&&o.datasets.length?o.labels.map(function(e,t){var n=r.getDatasetMeta(0),i=n.controller.getStyle(t);return{text:e,fillStyle:i.backgroundColor,strokeStyle:i.borderColor,lineWidth:i.borderWidth,hidden:isNaN(o.datasets[0].data[t])||n.data[t].hidden,index:t}}):[]}},onClick:function(e,t){for(var n,i=t.index,r=this.chart,o=0,a=(r.data.datasets||[]).length;o<a;++o)(n=r.getDatasetMeta(o)).data[i]&&(n.data[i].hidden=!n.data[i].hidden);r.update()}},cutoutPercentage:50,rotation:-Pe,circumference:C,tooltips:{callbacks:{title:function(){return""},label:function(e,t){var n=t.labels[e.index],t=": "+t.datasets[e.datasetIndex].data[e.index];return L.isArray(n)?(n=n.slice())[0]+=t:n+=t,n}}}}),g.extend({dataElementType:v.Arc,linkScales:L.noop,_dataElementOptions:["backgroundColor","borderColor","borderWidth","borderAlign","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth"],getRingIndex:function(e){for(var t=0,n=0;n<e;++n)this.chart.isDatasetVisible(n)&&++t;return t},update:function(e){var t,n,i,r,o,a,l,s,u,c=this,h=c.chart,d=h.chartArea,f=h.options,p=1,g=1,m=0,v=0,y=c.getMeta(),b=y.data,_=f.cutoutPercentage/100||0,w=f.circumference,x=c._getRingWeight(c.index);for(w<C&&(f=f.rotation%C,w=(f+=S<=f?-C:f<-S?C:0)+w,i=Math.cos(f),r=Math.sin(f),o=Math.cos(w),a=Math.sin(w),u=f<=0&&0<=w||C<=w,l=f<=Pe&&Pe<=w||C+Pe<=w,s=f<=-Pe&&-Pe<=w||S+Pe<=w,f=f===-S||S<=w?-1:Math.min(i,i*_,o,o*_),w=s?-1:Math.min(r,r*_,a,a*_),p=((s=u?1:Math.max(i,i*_,o,o*_))-f)/2,g=((u=l?1:Math.max(r,r*_,a,a*_))-w)/2,m=-(s+f)/2,v=-(u+w)/2),t=0,n=b.length;t<n;++t)b[t]._options=c._resolveDataElementOptions(b[t],t);for(h.borderWidth=c.getMaxBorderWidth(),i=(d.right-d.left-h.borderWidth)/p,o=(d.bottom-d.top-h.borderWidth)/g,h.outerRadius=Math.max(Math.min(i,o)/2,0),h.innerRadius=Math.max(h.outerRadius*_,0),h.radiusLength=(h.outerRadius-h.innerRadius)/(c._getVisibleDatasetWeightTotal()||1),h.offsetX=m*h.outerRadius,h.offsetY=v*h.outerRadius,y.total=c.calculateTotal(),c.outerRadius=h.outerRadius-h.radiusLength*c._getRingWeightOffset(c.index),c.innerRadius=Math.max(c.outerRadius-h.radiusLength*x,0),t=0,n=b.length;t<n;++t)c.updateElement(b[t],t,e)},updateElement:function(e,t,n){var i=this.chart,r=i.chartArea,o=i.options,a=o.animation,l=(r.left+r.right)/2,r=(r.top+r.bottom)/2,s=o.rotation,u=o.rotation,c=this.getDataset(),h=n&&a.animateRotate||e.hidden?0:this.calculateCircumference(c.data[t])*(o.circumference/C),d=n&&a.animateScale?0:this.innerRadius,f=n&&a.animateScale?0:this.outerRadius,p=e._options||{},p=(L.extend(e,{_datasetIndex:this.index,_index:t,_model:{backgroundColor:p.backgroundColor,borderColor:p.borderColor,borderWidth:p.borderWidth,borderAlign:p.borderAlign,x:l+i.offsetX,y:r+i.offsetY,startAngle:s,endAngle:u,circumference:h,outerRadius:f,innerRadius:d,label:L.valueAtIndexOrDefault(c.label,t,i.data.labels[t])}}),e._model);n&&a.animateRotate||(p.startAngle=0===t?o.rotation:this.getMeta().data[t-1]._model.endAngle,p.endAngle=p.startAngle+p.circumference),e.pivot()},calculateTotal:function(){var n,i=this.getDataset(),e=this.getMeta(),r=0;return L.each(e.data,function(e,t){n=i.data[t],isNaN(n)||e.hidden||(r+=Math.abs(n))}),r},calculateCircumference:function(e){var t=this.getMeta().total;return 0<t&&!isNaN(e)?C*(Math.abs(e)/t):0},getMaxBorderWidth:function(e){var t,n,i,r,o,a,l=0,s=this.chart;if(!e)for(t=0,n=s.data.datasets.length;t<n;++t)if(s.isDatasetVisible(t)){e=(i=s.getDatasetMeta(t)).data,t!==this.index&&(r=i.controller);break}if(!e)return 0;for(t=0,n=e.length;t<n;++t)o=e[t],"inner"!==(o=r?(r._configure(),r._resolveDataElementOptions(o,t)):o._options).borderAlign&&(l=(l=l<(a=o.borderWidth)?a:l)<(a=o.hoverBorderWidth)?a:l);return l},setHoverStyle:function(e){var t=e._model,n=e._options,i=L.getHoverColor;e.$previousStyle={backgroundColor:t.backgroundColor,borderColor:t.borderColor,borderWidth:t.borderWidth},t.backgroundColor=Oe(n.hoverBackgroundColor,i(n.backgroundColor)),t.borderColor=Oe(n.hoverBorderColor,i(n.borderColor)),t.borderWidth=Oe(n.hoverBorderWidth,n.borderWidth)},_getRingWeightOffset:function(e){for(var t=0,n=0;n<e;++n)this.chart.isDatasetVisible(n)&&(t+=this._getRingWeight(n));return t},_getRingWeight:function(e){return Math.max(Oe(this.chart.data.datasets[e].weight,1),0)},_getVisibleDatasetWeightTotal:function(){return this._getRingWeightOffset(this.chart.data.datasets.length)}})),o=(T._set("horizontalBar",{hover:{mode:"index",axis:"y"},scales:{xAxes:[{type:"linear",position:"bottom"}],yAxes:[{type:"category",position:"left",offset:!0,gridLines:{offsetGridLines:!0}}]},elements:{rectangle:{borderSkipped:"left"}},tooltips:{mode:"index",axis:"y"}}),T._set("global",{datasets:{horizontalBar:{categoryPercentage:.8,barPercentage:.9}}}),t.extend({_getValueScaleId:function(){return this.getMeta().xAxisID},_getIndexScaleId:function(){return this.getMeta().yAxisID}})),y=L.valueOrDefault,Ie=L.options.resolve,Ne=L.canvas._isPointInArea;function Le(e,t){var e=e&&e.options.ticks||{},n=e.reverse,i=void 0===e.min?t:0,e=void 0===e.max?t:0;return{start:n?e:i,end:n?i:e}}T._set("line",{showLines:!0,spanGaps:!1,hover:{mode:"label"},scales:{xAxes:[{type:"category",id:"x-axis-0"}],yAxes:[{type:"linear",id:"y-axis-0"}]}});var He=g.extend({datasetElementType:v.Line,dataElementType:v.Point,_datasetElementOptions:["backgroundColor","borderCapStyle","borderColor","borderDash","borderDashOffset","borderJoinStyle","borderWidth","cubicInterpolationMode","fill"],_dataElementOptions:{backgroundColor:"pointBackgroundColor",borderColor:"pointBorderColor",borderWidth:"pointBorderWidth",hitRadius:"pointHitRadius",hoverBackgroundColor:"pointHoverBackgroundColor",hoverBorderColor:"pointHoverBorderColor",hoverBorderWidth:"pointHoverBorderWidth",hoverRadius:"pointHoverRadius",pointStyle:"pointStyle",radius:"pointRadius",rotation:"pointRotation"},update:function(e){var t,n,i=this,r=i.getMeta(),o=r.dataset,a=r.data||[],l=i.chart.options,s=i._config,l=i._showLine=y(s.showLine,l.showLines);for(i._xScale=i.getScaleForId(r.xAxisID),i._yScale=i.getScaleForId(r.yAxisID),l&&(void 0!==s.tension&&void 0===s.lineTension&&(s.lineTension=s.tension),o._scale=i._yScale,o._datasetIndex=i.index,o._children=a,o._model=i._resolveDatasetElementOptions(o),o.pivot()),t=0,n=a.length;t<n;++t)i.updateElement(a[t],t,e);for(l&&0!==o._model.tension&&i.updateBezierControlPoints(),t=0,n=a.length;t<n;++t)a[t].pivot()},updateElement:function(e,t,n){var i=this.getMeta(),r=e.custom||{},o=this.getDataset(),a=this.index,o=o.data[t],l=this._xScale,s=this._yScale,i=i.dataset._model,u=this._resolveDataElementOptions(e,t),c=l.getPixelForValue("object"===Hn(o)?o:NaN,t,a),n=n?s.getBasePixel():this.calculatePointY(o,t,a);e._xScale=l,e._yScale=s,e._options=u,e._datasetIndex=a,e._index=t,e._model={x:c,y:n,skip:r.skip||isNaN(c)||isNaN(n),radius:u.radius,pointStyle:u.pointStyle,rotation:u.rotation,backgroundColor:u.backgroundColor,borderColor:u.borderColor,borderWidth:u.borderWidth,tension:y(r.tension,i?i.tension:0),steppedLine:!!i&&i.steppedLine,hitRadius:u.hitRadius}},_resolveDatasetElementOptions:function(e){var t,n,i,r,o=this._config,e=e.custom||{},a=this.chart.options,l=a.elements.line,s=g.prototype._resolveDatasetElementOptions.apply(this,arguments);return s.spanGaps=y(o.spanGaps,a.spanGaps),s.tension=y(o.lineTension,l.tension),s.steppedLine=Ie([e.steppedLine,o.steppedLine,l.stepped]),s.clip=(o=y(o.clip,(a=this._xScale,e=this._yScale,l=s.borderWidth,a=Le(a,l/=2),{top:(e=Le(e,l)).end,right:a.end,bottom:e.start,left:a.start})),L.isObject(o)?(t=o.top,n=o.right,i=o.bottom,r=o.left):t=n=i=r=o,{top:t,right:n,bottom:i,left:r}),s},calculatePointY:function(e,t,n){var i,r,o,a,l,s,u=this.chart,c=this._yScale,h=0,d=0;if(c.options.stacked){for(a=+c.getRightValue(e),s=(l=u._getSortedVisibleDatasetMetas()).length,i=0;i<s&&(r=l[i]).index!==n;++i)o=u.data.datasets[r.index],"line"===r.type&&r.yAxisID===c.id&&((o=+c.getRightValue(o.data[t]))<0?d+=o||0:h+=o||0);return a<0?c.getPixelForValue(d+a):c.getPixelForValue(h+a)}return c.getPixelForValue(e)},updateBezierControlPoints:function(){var e,t,n,i,r=this.chart,o=this.getMeta(),a=o.dataset._model,l=r.chartArea,s=o.data||[];function u(e,t,n){return Math.max(Math.min(e,n),t)}if(a.spanGaps&&(s=s.filter(function(e){return!e._model.skip})),"monotone"===a.cubicInterpolationMode)L.splineCurveMonotone(s);else for(e=0,t=s.length;e<t;++e)n=s[e]._model,i=L.splineCurve(L.previousItem(s,e)._model,n,L.nextItem(s,e)._model,a.tension),n.controlPointPreviousX=i.previous.x,n.controlPointPreviousY=i.previous.y,n.controlPointNextX=i.next.x,n.controlPointNextY=i.next.y;if(r.options.elements.line.capBezierPoints)for(e=0,t=s.length;e<t;++e)n=s[e]._model,Ne(n,l)&&(0<e&&Ne(s[e-1]._model,l)&&(n.controlPointPreviousX=u(n.controlPointPreviousX,l.left,l.right),n.controlPointPreviousY=u(n.controlPointPreviousY,l.top,l.bottom)),e<s.length-1&&Ne(s[e+1]._model,l)&&(n.controlPointNextX=u(n.controlPointNextX,l.left,l.right),n.controlPointNextY=u(n.controlPointNextY,l.top,l.bottom)))},draw:function(){var e,t=this.chart,n=this.getMeta(),i=n.data||[],r=t.chartArea,o=t.canvas,a=0,l=i.length;for(this._showLine&&(e=n.dataset._model.clip,L.canvas.clipArea(t.ctx,{left:!1===e.left?0:r.left-e.left,right:!1===e.right?o.width:r.right+e.right,top:!1===e.top?0:r.top-e.top,bottom:!1===e.bottom?o.height:r.bottom+e.bottom}),n.dataset.draw(),L.canvas.unclipArea(t.ctx));a<l;++a)i[a].draw(r)},setHoverStyle:function(e){var t=e._model,n=e._options,i=L.getHoverColor;e.$previousStyle={backgroundColor:t.backgroundColor,borderColor:t.borderColor,borderWidth:t.borderWidth,radius:t.radius},t.backgroundColor=y(n.hoverBackgroundColor,i(n.backgroundColor)),t.borderColor=y(n.hoverBorderColor,i(n.borderColor)),t.borderWidth=y(n.hoverBorderWidth,n.borderWidth),t.radius=y(n.hoverRadius,n.radius)}}),We=L.options.resolve,je=(T._set("polarArea",{scale:{type:"radialLinear",angleLines:{display:!1},gridLines:{circular:!0},pointLabels:{display:!1},ticks:{beginAtZero:!0}},animation:{animateRotate:!0,animateScale:!0},startAngle:-.5*Math.PI,legendCallback:function(e){var t,n,i,r=document.createElement("ul"),o=e.data,a=o.datasets,l=o.labels;if(r.setAttribute("class",e.id+"-legend"),a.length)for(n=a[t=0].data.length;t<n;++t)(i=r.appendChild(document.createElement("li"))).appendChild(document.createElement("span")).style.backgroundColor=a[0].backgroundColor[t],l[t]&&i.appendChild(document.createTextNode(l[t]));return r.outerHTML},legend:{labels:{generateLabels:function(r){var o=r.data;return o.labels.length&&o.datasets.length?o.labels.map(function(e,t){var n=r.getDatasetMeta(0),i=n.controller.getStyle(t);return{text:e,fillStyle:i.backgroundColor,strokeStyle:i.borderColor,lineWidth:i.borderWidth,hidden:isNaN(o.datasets[0].data[t])||n.data[t].hidden,index:t}}):[]}},onClick:function(e,t){for(var n,i=t.index,r=this.chart,o=0,a=(r.data.datasets||[]).length;o<a;++o)(n=r.getDatasetMeta(o)).data[i].hidden=!n.data[i].hidden;r.update()}},tooltips:{callbacks:{title:function(){return""},label:function(e,t){return t.labels[e.index]+": "+e.yLabel}}}}),g.extend({dataElementType:v.Arc,linkScales:L.noop,_dataElementOptions:["backgroundColor","borderColor","borderWidth","borderAlign","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth"],_getIndexScaleId:function(){return this.chart.scale.id},_getValueScaleId:function(){return this.chart.scale.id},update:function(e){var t,n,i,r=this,o=r.getDataset(),a=r.getMeta(),l=r.chart.options.startAngle||0,s=r._starts=[],u=r._angles=[],c=a.data;for(r._updateRadius(),a.count=r.countVisibleElements(),t=0,n=o.data.length;t<n;t++)s[t]=l,i=r._computeAngle(t),l+=u[t]=i;for(t=0,n=c.length;t<n;++t)c[t]._options=r._resolveDataElementOptions(c[t],t),r.updateElement(c[t],t,e)},_updateRadius:function(){var e=this.chart,t=e.chartArea,n=e.options,t=Math.min(t.right-t.left,t.bottom-t.top);e.outerRadius=Math.max(t/2,0),e.innerRadius=Math.max(n.cutoutPercentage?e.outerRadius/100*n.cutoutPercentage:1,0),e.radiusLength=(e.outerRadius-e.innerRadius)/e.getVisibleDatasetCount(),this.outerRadius=e.outerRadius-e.radiusLength*this.index,this.innerRadius=this.outerRadius-e.radiusLength},updateElement:function(e,t,n){var i=this.chart,r=this.getDataset(),o=i.options,a=o.animation,l=i.scale,i=i.data.labels,s=l.xCenter,u=l.yCenter,o=o.startAngle,c=e.hidden?0:l.getDistanceFromCenterForValue(r.data[t]),h=this._starts[t],d=h+(e.hidden?0:this._angles[t]),r=a.animateScale?0:l.getDistanceFromCenterForValue(r.data[t]),f=e._options||{};L.extend(e,{_datasetIndex:this.index,_index:t,_scale:l,_model:{backgroundColor:f.backgroundColor,borderColor:f.borderColor,borderWidth:f.borderWidth,borderAlign:f.borderAlign,x:s,y:u,innerRadius:0,outerRadius:n?r:c,startAngle:n&&a.animateRotate?o:h,endAngle:n&&a.animateRotate?o:d,label:L.valueAtIndexOrDefault(i,t,i[t])}}),e.pivot()},countVisibleElements:function(){var n=this.getDataset(),e=this.getMeta(),i=0;return L.each(e.data,function(e,t){isNaN(n.data[t])||e.hidden||i++}),i},setHoverStyle:function(e){var t=e._model,n=e._options,i=L.getHoverColor,r=L.valueOrDefault;e.$previousStyle={backgroundColor:t.backgroundColor,borderColor:t.borderColor,borderWidth:t.borderWidth},t.backgroundColor=r(n.hoverBackgroundColor,i(n.backgroundColor)),t.borderColor=r(n.hoverBorderColor,i(n.borderColor)),t.borderWidth=r(n.hoverBorderWidth,n.borderWidth)},_computeAngle:function(e){var t=this.getMeta().count,n=this.getDataset(),i=this.getMeta();if(isNaN(n.data[e])||i.data[e].hidden)return 0;i={chart:this.chart,dataIndex:e,dataset:n,datasetIndex:this.index};return We([this.chart.options.elements.arc.angle,2*Math.PI/t],i,e)}})),Fe=(T._set("pie",L.clone(T.doughnut)),T._set("pie",{cutoutPercentage:0}),r),ze=L.valueOrDefault,b=(T._set("radar",{spanGaps:!1,scale:{type:"radialLinear"},elements:{line:{fill:"start",tension:0}}}),g.extend({datasetElementType:v.Line,dataElementType:v.Point,linkScales:L.noop,_datasetElementOptions:["backgroundColor","borderWidth","borderColor","borderCapStyle","borderDash","borderDashOffset","borderJoinStyle","fill"],_dataElementOptions:{backgroundColor:"pointBackgroundColor",borderColor:"pointBorderColor",borderWidth:"pointBorderWidth",hitRadius:"pointHitRadius",hoverBackgroundColor:"pointHoverBackgroundColor",hoverBorderColor:"pointHoverBorderColor",hoverBorderWidth:"pointHoverBorderWidth",hoverRadius:"pointHoverRadius",pointStyle:"pointStyle",radius:"pointRadius",rotation:"pointRotation"},_getIndexScaleId:function(){return this.chart.scale.id},_getValueScaleId:function(){return this.chart.scale.id},update:function(e){var t,n,i=this.getMeta(),r=i.dataset,o=i.data||[],i=this.chart.scale,a=this._config;for(void 0!==a.tension&&void 0===a.lineTension&&(a.lineTension=a.tension),r._scale=i,r._datasetIndex=this.index,r._children=o,r._loop=!0,r._model=this._resolveDatasetElementOptions(r),r.pivot(),t=0,n=o.length;t<n;++t)this.updateElement(o[t],t,e);for(this.updateBezierControlPoints(),t=0,n=o.length;t<n;++t)o[t].pivot()},updateElement:function(e,t,n){var i=e.custom||{},r=this.getDataset(),o=this.chart.scale,r=o.getPointPositionForValue(t,r.data[t]),a=this._resolveDataElementOptions(e,t),l=this.getMeta().dataset._model,s=n?o.xCenter:r.x,n=n?o.yCenter:r.y;e._scale=o,e._options=a,e._datasetIndex=this.index,e._index=t,e._model={x:s,y:n,skip:i.skip||isNaN(s)||isNaN(n),radius:a.radius,pointStyle:a.pointStyle,rotation:a.rotation,backgroundColor:a.backgroundColor,borderColor:a.borderColor,borderWidth:a.borderWidth,tension:ze(i.tension,l?l.tension:0),hitRadius:a.hitRadius}},_resolveDatasetElementOptions:function(){var e=this._config,t=this.chart.options,n=g.prototype._resolveDatasetElementOptions.apply(this,arguments);return n.spanGaps=ze(e.spanGaps,t.spanGaps),n.tension=ze(e.lineTension,t.elements.line.tension),n},updateBezierControlPoints:function(){var e,t,n,i,r=this.getMeta(),o=this.chart.chartArea,a=r.data||[];function l(e,t,n){return Math.max(Math.min(e,n),t)}for(e=0,t=(a=r.dataset._model.spanGaps?a.filter(function(e){return!e._model.skip}):a).length;e<t;++e)n=a[e]._model,i=L.splineCurve(L.previousItem(a,e,!0)._model,n,L.nextItem(a,e,!0)._model,n.tension),n.controlPointPreviousX=l(i.previous.x,o.left,o.right),n.controlPointPreviousY=l(i.previous.y,o.top,o.bottom),n.controlPointNextX=l(i.next.x,o.left,o.right),n.controlPointNextY=l(i.next.y,o.top,o.bottom)},setHoverStyle:function(e){var t=e._model,n=e._options,i=L.getHoverColor;e.$previousStyle={backgroundColor:t.backgroundColor,borderColor:t.borderColor,borderWidth:t.borderWidth,radius:t.radius},t.backgroundColor=ze(n.hoverBackgroundColor,i(n.backgroundColor)),t.borderColor=ze(n.hoverBorderColor,i(n.borderColor)),t.borderWidth=ze(n.hoverBorderWidth,n.borderWidth),t.radius=ze(n.hoverRadius,n.radius)}}));T._set("scatter",{hover:{mode:"single"},scales:{xAxes:[{id:"x-axis-1",type:"linear",position:"bottom"}],yAxes:[{id:"y-axis-1",type:"linear",position:"left"}]},tooltips:{callbacks:{title:function(){return""},label:function(e){return"("+e.xLabel+", "+e.yLabel+")"}}}}),T._set("global",{datasets:{scatter:{showLine:!1}}});var Ve={bar:t,bubble:p,doughnut:r,horizontalBar:o,line:He,polarArea:je,pie:Fe,radar:b,scatter:He};function Be(e,t){return e.native?{x:e.x,y:e.y}:L.getRelativePosition(e,t)}function Ye(e,t){for(var n,i,r,o,a=e._getSortedVisibleDatasetMetas(),l=0,s=a.length;l<s;++l)for(i=0,r=(n=a[l].data).length;i<r;++i)(o=n[i])._view.skip||t(o)}function Ue(e,t){var n=[];return Ye(e,function(e){e.inRange(t.x,t.y)&&n.push(e)}),n}function qe(e,n,i,r){var o=Number.POSITIVE_INFINITY,a=[];return Ye(e,function(e){var t;i&&!e.inRange(n.x,n.y)||(t=e.getCenterPoint(),(t=r(n,t))<o?(a=[e],o=t):t===o&&a.push(e))}),a}function Ze(e){var i=-1!==e.indexOf("x"),r=-1!==e.indexOf("y");return function(e,t){var n=i?Math.abs(e.x-t.x):0,e=r?Math.abs(e.y-t.y):0;return Math.sqrt(Math.pow(n,2)+Math.pow(e,2))}}function Ge(e,t,n){var t=Be(t,e),i=(n.axis=n.axis||"x",Ze(n.axis)),r=n.intersect?Ue(e,t):qe(e,t,!1,i),o=[];return r.length?(e._getSortedVisibleDatasetMetas().forEach(function(e){e=e.data[r[0]._index];e&&!e._view.skip&&o.push(e)}),o):[]}var Xe={modes:{single:function(e,t){var n=Be(t,e),i=[];return Ye(e,function(e){e.inRange(n.x,n.y)&&i.push(e)}),i.slice(0,1)},label:Ge,index:Ge,dataset:function(e,t,n){var t=Be(t,e),i=(n.axis=n.axis||"xy",Ze(n.axis)),n=n.intersect?Ue(e,t):qe(e,t,!1,i);return n=0<n.length?e.getDatasetMeta(n[0]._datasetIndex).data:n},"x-axis":function(e,t){return Ge(e,t,{intersect:!1})},point:function(e,t){return Ue(e,Be(t,e))},nearest:function(e,t,n){var t=Be(t,e),i=(n.axis=n.axis||"xy",Ze(n.axis));return qe(e,t,n.intersect,i)},x:function(e,t,n){var i=Be(t,e),r=[],o=!1;return Ye(e,function(e){e.inXRange(i.x)&&r.push(e),e.inRange(i.x,i.y)&&(o=!0)}),r=n.intersect&&!o?[]:r},y:function(e,t,n){var i=Be(t,e),r=[],o=!1;return Ye(e,function(e){e.inYRange(i.y)&&r.push(e),e.inRange(i.x,i.y)&&(o=!0)}),r=n.intersect&&!o?[]:r}}},$e=L.extend;function Ke(e,t){return L.where(e,function(e){return e.pos===t})}function Qe(e,i){return e.sort(function(e,t){var n=i?t:e,e=i?e:t;return n.weight===e.weight?n.index-e.index:n.weight-e.weight})}function Je(e){var e=function(e){for(var t,n=[],i=0,r=(e||[]).length;i<r;++i)t=e[i],n.push({index:i,box:t,pos:t.position,horizontal:t.isHorizontal(),weight:t.weight});return n}(e),t=Qe(Ke(e,"left"),!0),n=Qe(Ke(e,"right")),i=Qe(Ke(e,"top"),!0),r=Qe(Ke(e,"bottom"));return{leftAndTop:t.concat(i),rightAndBottom:n.concat(r),chartArea:Ke(e,"chartArea"),vertical:t.concat(n),horizontal:i.concat(r)}}function et(e,t,n,i){return Math.max(e[n],t[n])+Math.max(e[i],t[i])}function tt(e,t,n){for(var i,r,o,a,l=[],s=0,u=e.length;s<u;++s)(r=(i=e[s]).box).update(i.width||t.w,i.height||t.h,function(e,n){var i=n.maxPadding;function t(e){var t={left:0,top:0,right:0,bottom:0};return e.forEach(function(e){t[e]=Math.max(n[e],i[e])}),t}return t(e?["left","right"]:["top","bottom"])}(i.horizontal,t)),function(e,t,n){var i=n.box,r=e.maxPadding;if(n.size&&(e[n.pos]-=n.size),n.size=n.horizontal?i.height:i.width,e[n.pos]+=n.size,i.getPadding&&(i=i.getPadding(),r.top=Math.max(r.top,i.top),r.left=Math.max(r.left,i.left),r.bottom=Math.max(r.bottom,i.bottom),r.right=Math.max(r.right,i.right)),i=t.outerWidth-et(r,e,"left","right"),t=t.outerHeight-et(r,e,"top","bottom"),i!==e.w||t!==e.h)return e.w=i,e.h=t,!((r=n.horizontal?[i,e.w]:[t,e.h])[0]===r[1]||isNaN(r[0])&&isNaN(r[1]))}(t,n,i)&&(a=!0,l.length&&(o=!0)),r.fullWidth||l.push(i);return o&&tt(l,t,n)||a}function nt(e,t,n){for(var i,r,o=n.padding,a=t.x,l=t.y,s=0,u=e.length;s<u;++s)r=(i=e[s]).box,i.horizontal?(r.left=(r.fullWidth?o:t).left,r.right=r.fullWidth?n.outerWidth-o.right:t.left+t.w,r.top=l,r.bottom=l+r.height,r.width=r.right-r.left,l=r.bottom):(r.left=a,r.right=a+r.width,r.top=t.top,r.bottom=t.top+t.h,r.height=r.bottom-r.top,a=r.right);t.x=a,t.y=l}T._set("global",{layout:{padding:{top:0,right:0,bottom:0,left:0}}});var _={defaults:{},addBox:function(e,t){e.boxes||(e.boxes=[]),t.fullWidth=t.fullWidth||!1,t.position=t.position||"top",t.weight=t.weight||0,t._layers=t._layers||function(){return[{z:0,draw:function(){t.draw.apply(t,arguments)}}]},e.boxes.push(t)},removeBox:function(e,t){t=e.boxes?e.boxes.indexOf(t):-1;-1!==t&&e.boxes.splice(t,1)},configure:function(e,t,n){for(var i,r=["fullWidth","position","weight"],o=r.length,a=0;a<o;++a)n.hasOwnProperty(i=r[a])&&(t[i]=n[i])},update:function(t,e,n){if(t){for(var i,r,o,a=t.options.layout||{},a=L.options.toPadding(a.padding),l=e-a.width,s=n-a.height,u=Je(t.boxes),c=u.vertical,h=u.horizontal,e=Object.freeze({outerWidth:e,outerHeight:n,padding:a,availableWidth:l,vBoxMaxWidth:l/2/c.length,hBoxMaxHeight:s/2}),d=$e({maxPadding:$e({},a),w:l,h:s,x:a.left,y:a.top},a),f=c.concat(h),p=e,g=0,m=f.length;g<m;++g)(o=f[g]).width=o.horizontal?o.box.fullWidth&&p.availableWidth:p.vBoxMaxWidth,o.height=o.horizontal&&p.hBoxMaxHeight;tt(c,d,e),tt(h,d,e)&&tt(c,d,e),r=(i=d).maxPadding,i.y+=v("top"),i.x+=v("left"),v("right"),v("bottom"),nt(u.leftAndTop,d,e),d.x+=d.w,d.y+=d.h,nt(u.rightAndBottom,d,e),t.chartArea={left:d.left,top:d.top,right:d.left+d.w,bottom:d.top+d.h},L.each(u.chartArea,function(e){e=e.box;$e(e,t.chartArea),e.update(d.w,d.h)})}function v(e){var t=Math.max(r[e]-i[e],0);return i[e]+=t,t}}},it=(t=Object.freeze({__proto__:null,default:"/*\r\n * DOM element rendering detection\r\n * https://davidwalsh.name/detect-node-insertion\r\n */\r\n@keyframes chartjs-render-animation {\r\n\tfrom { opacity: 0.99; }\r\n\tto { opacity: 1; }\r\n}\r\n\r\n.chartjs-render-monitor {\r\n\tanimation: chartjs-render-animation 0.001s;\r\n}\r\n\r\n/*\r\n * DOM element resizing detection\r\n * https://github.com/marcj/css-element-queries\r\n */\r\n.chartjs-size-monitor,\r\n.chartjs-size-monitor-expand,\r\n.chartjs-size-monitor-shrink {\r\n\tposition: absolute;\r\n\tdirection: ltr;\r\n\tleft: 0;\r\n\ttop: 0;\r\n\tright: 0;\r\n\tbottom: 0;\r\n\toverflow: hidden;\r\n\tpointer-events: none;\r\n\tvisibility: hidden;\r\n\tz-index: -1;\r\n}\r\n\r\n.chartjs-size-monitor-expand > div {\r\n\tposition: absolute;\r\n\twidth: 1000000px;\r\n\theight: 1000000px;\r\n\tleft: 0;\r\n\ttop: 0;\r\n}\r\n\r\n.chartjs-size-monitor-shrink > div {\r\n\tposition: absolute;\r\n\twidth: 200%;\r\n\theight: 200%;\r\n\tleft: 0;\r\n\ttop: 0;\r\n}\r\n"}))&&t.default||t,w="$chartjs",p="chartjs-",rt=p+"size-monitor",ot=p+"render-monitor",at=p+"render-animation",lt=["animationstart","webkitAnimationStart"],st={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"};function ut(e,t){e=L.getStyle(e,t),t=e&&e.match(/^(\d+)(\.\d+)?px$/);return t?Number(t[1]):void 0}var ct=!!function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("e",null,t)}catch(e){}return e}()&&{passive:!0};function ht(e,t,n){e.addEventListener(t,n,ct)}function dt(e,t,n){e.removeEventListener(t,n,ct)}function ft(e,t,n,i,r){return{type:e,chart:t,native:r||null,x:void 0!==n?n:null,y:void 0!==i?i:null}}function pt(e){var t=document.createElement("div");return t.className=e||"",t}function gt(n,i,r){var e,t,o,a,l,s,u,c,h,d,f,p,g=n[w]||(n[w]={}),m=g.resizer=(c=!(l=function(){var e,t;g.resizer&&(t=(e=r.options.maintainAspectRatio&&n.parentNode)?e.clientWidth:0,i(ft("resize",r)),e&&e.clientWidth<t&&r.canvas&&i(ft("resize",r)))}),e=function(){u=Array.prototype.slice.call(arguments),s=s||this,c||(c=!0,L.requestAnimFrame.call(window,function(){c=!1,l.apply(s,u)}))},t=pt(rt),o=pt(rt+"-expand"),a=pt(rt+"-shrink"),o.appendChild(pt()),a.appendChild(pt()),t.appendChild(o),t.appendChild(a),t._reset=function(){o.scrollLeft=1e6,o.scrollTop=1e6,a.scrollLeft=1e6,a.scrollTop=1e6},ht(o,"scroll",v.bind(o,"expand")),ht(a,"scroll",v.bind(a,"shrink")),t);function v(){t._reset(),e()}d=function(){var e;g.resizer&&((e=n.parentNode)&&e!==m.parentNode&&e.insertBefore(m,e.firstChild),m._reset())},f=(h=n)[w]||(h[w]={}),p=f.renderProxy=function(e){e.animationName===at&&d()},L.each(lt,function(e){ht(h,e,p)}),f.reflow=!!h.offsetParent,h.classList.add(ot)}function mt(e){var t,n,i=e[w]||{},r=i.resizer;delete i.resizer,i=(t=e)[w]||{},(n=i.renderProxy)&&(L.each(lt,function(e){dt(t,e,n)}),delete i.renderProxy),t.classList.remove(ot),r&&r.parentNode&&r.parentNode.removeChild(r)}var r={disableCSSInjection:!1,_enabled:"undefined"!=typeof window&&"undefined"!=typeof document,_ensureLoaded:function(e){var t,n;this.disableCSSInjection||(e=e.getRootNode?e.getRootNode():document,e=e.host?e:document.head,t=it,(n=(e=e)[w]||(e[w]={})).containsStyles||(n.containsStyles=!0,t="/* Chart.js */\n"+t,(n=document.createElement("style")).setAttribute("type","text/css"),n.appendChild(document.createTextNode(t)),e.appendChild(n)))},acquireContext:function(e,t){"string"==typeof e?e=document.getElementById(e):e.length&&(e=e[0]);var n,i,r,o,a=(e=e&&e.canvas?e.canvas:e)&&e.getContext&&e.getContext("2d");return a&&a.canvas===e?(this._ensureLoaded(e),t=t,i=(e=e).style,r=e.getAttribute("height"),o=e.getAttribute("width"),e[w]={initial:{height:r,width:o,style:{display:i.display,height:i.height,width:i.width}}},i.display=i.display||"block",null!==o&&""!==o||void 0!==(n=ut(e,"width"))&&(e.width=n),null!==r&&""!==r||(""===e.style.height?e.height=e.width/(t.options.aspectRatio||2):(i=ut(e,"height"),void 0!==n&&(e.height=i))),a):null},releaseContext:function(e){var n,i=e.canvas;i[w]&&(n=i[w].initial,["height","width"].forEach(function(e){var t=n[e];L.isNullOrUndef(t)?i.removeAttribute(e):i.setAttribute(e,t)}),L.each(n.style||{},function(e,t){i.style[t]=e}),i.width=i.width,delete i[w])},addEventListener:function(r,e,o){var t=r.canvas;"resize"===e?gt(t,o,r):ht(t,e,((t=o[w]||(o[w]={})).proxies||(t.proxies={}))[r.id+"_"+e]=function(e){var t,n,i;o((t=r,n=st[(e=e).type]||e.type,i=L.getRelativePosition(e,t),ft(n,t,i.x,i.y,e)))})},removeEventListener:function(e,t,n){var i=e.canvas;"resize"===t?mt(i):(n=((n[w]||{}).proxies||{})[e.id+"_"+t])&&dt(i,t,n)}},o=(L.addEvent=ht,L.removeEvent=dt,r._enabled?r:{acquireContext:function(e){return(e=e&&e.canvas?e.canvas:e)&&e.getContext("2d")||null}}),vt=L.extend({initialize:function(){},acquireContext:function(){},releaseContext:function(){},addEventListener:function(){},removeEventListener:function(){}},o),x=(T._set("global",{plugins:{}}),{_plugins:[],_cacheId:0,register:function(e){var t=this._plugins;[].concat(e).forEach(function(e){-1===t.indexOf(e)&&t.push(e)}),this._cacheId++},unregister:function(e){var t=this._plugins;[].concat(e).forEach(function(e){e=t.indexOf(e);-1!==e&&t.splice(e,1)}),this._cacheId++},clear:function(){this._plugins=[],this._cacheId++},count:function(){return this._plugins.length},getAll:function(){return this._plugins},notify:function(e,t,n){for(var i,r,o,a,l=this.descriptors(e),s=l.length,u=0;u<s;++u)if("function"==typeof(a=(r=(i=l[u]).plugin)[t])&&((o=[e].concat(n||[])).push(i.options),!1===a.apply(r,o)))return!1;return!0},descriptors:function(e){var t=e.$plugins||(e.$plugins={});if(t.id===this._cacheId)return t.descriptors;var i=[],r=[],e=e&&e.config||{},o=e.options&&e.options.plugins||{};return this._plugins.concat(e.plugins||[]).forEach(function(e){var t,n;-1===i.indexOf(e)&&(t=e.id,!1!==(n=o[t])&&(!0===n&&(n=L.clone(T.global.plugins[t])),i.push(e),r.push({plugin:e,options:n||{}})))}),t.descriptors=r,t.id=this._cacheId,r},_invalidate:function(e){delete e.$plugins}}),yt={constructors:{},defaults:{},registerScaleType:function(e,t,n){this.constructors[e]=t,this.defaults[e]=L.clone(n)},getScaleConstructor:function(e){return this.constructors.hasOwnProperty(e)?this.constructors[e]:void 0},getScaleDefaults:function(e){return this.defaults.hasOwnProperty(e)?L.merge(Object.create(null),[T.scale,this.defaults[e]]):{}},updateScaleDefaults:function(e,t){this.defaults.hasOwnProperty(e)&&(this.defaults[e]=L.extend(this.defaults[e],t))},addScalesToLayout:function(t){L.each(t.scales,function(e){e.fullWidth=e.options.fullWidth,e.position=e.options.position,e.weight=e.options.weight,_.addBox(t,e)})}},E=L.valueOrDefault,bt=L.rtl.getRtlAdapter,_t=(T._set("global",{tooltips:{enabled:!0,custom:null,mode:"nearest",position:"average",intersect:!0,backgroundColor:"rgba(0,0,0,0.8)",titleFontStyle:"bold",titleSpacing:2,titleMarginBottom:6,titleFontColor:"#fff",titleAlign:"left",bodySpacing:2,bodyFontColor:"#fff",bodyAlign:"left",footerFontStyle:"bold",footerSpacing:2,footerMarginTop:6,footerFontColor:"#fff",footerAlign:"left",yPadding:6,xPadding:6,caretPadding:2,caretSize:5,cornerRadius:6,multiKeyBackground:"#fff",displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:0,callbacks:{beforeTitle:L.noop,title:function(e,t){var n="",t=t.labels,i=t?t.length:0;return 0<e.length&&((e=e[0]).label?n=e.label:e.xLabel?n=e.xLabel:0<i&&e.index<i&&(n=t[e.index])),n},afterTitle:L.noop,beforeBody:L.noop,beforeLabel:L.noop,label:function(e,t){return(t=t.datasets[e.datasetIndex].label||"")&&(t+=": "),L.isNullOrUndef(e.value)?t+=e.yLabel:t+=e.value,t},labelColor:function(e,t){t=t.getDatasetMeta(e.datasetIndex).data[e.index]._view;return{borderColor:t.borderColor,backgroundColor:t.backgroundColor}},labelTextColor:function(){return this._options.bodyFontColor},afterLabel:L.noop,afterBody:L.noop,beforeFooter:L.noop,footer:L.noop,afterFooter:L.noop}}}),{average:function(e){if(!e.length)return!1;for(var t=0,n=0,i=0,r=0,o=e.length;r<o;++r){var a=e[r];a&&a.hasValue()&&(t+=(a=a.tooltipPosition()).x,n+=a.y,++i)}return{x:t/i,y:n/i}},nearest:function(e,t){for(var n,i,r=t.x,o=t.y,a=Number.POSITIVE_INFINITY,l=0,s=e.length;l<s;++l){var u,c=e[l];c&&c.hasValue()&&(u=c.getCenterPoint(),(u=L.distanceBetweenPoints(t,u))<a&&(a=u,n=c))}return n&&(r=(i=n.tooltipPosition()).x,o=i.y),{x:r,y:o}}});function k(e,t){return t&&(L.isArray(t)?Array.prototype.push.apply(e,t):e.push(t)),e}function M(e){return("string"==typeof e||e instanceof String)&&-1<e.indexOf("\n")?e.split("\n"):e}function wt(e){var t=T.global;return{xPadding:e.xPadding,yPadding:e.yPadding,xAlign:e.xAlign,yAlign:e.yAlign,rtl:e.rtl,textDirection:e.textDirection,bodyFontColor:e.bodyFontColor,_bodyFontFamily:E(e.bodyFontFamily,t.defaultFontFamily),_bodyFontStyle:E(e.bodyFontStyle,t.defaultFontStyle),_bodyAlign:e.bodyAlign,bodyFontSize:E(e.bodyFontSize,t.defaultFontSize),bodySpacing:e.bodySpacing,titleFontColor:e.titleFontColor,_titleFontFamily:E(e.titleFontFamily,t.defaultFontFamily),_titleFontStyle:E(e.titleFontStyle,t.defaultFontStyle),titleFontSize:E(e.titleFontSize,t.defaultFontSize),_titleAlign:e.titleAlign,titleSpacing:e.titleSpacing,titleMarginBottom:e.titleMarginBottom,footerFontColor:e.footerFontColor,_footerFontFamily:E(e.footerFontFamily,t.defaultFontFamily),_footerFontStyle:E(e.footerFontStyle,t.defaultFontStyle),footerFontSize:E(e.footerFontSize,t.defaultFontSize),_footerAlign:e.footerAlign,footerSpacing:e.footerSpacing,footerMarginTop:e.footerMarginTop,caretSize:e.caretSize,cornerRadius:e.cornerRadius,backgroundColor:e.backgroundColor,opacity:0,legendColorBackground:e.multiKeyBackground,displayColors:e.displayColors,borderColor:e.borderColor,borderWidth:e.borderWidth}}function xt(e,t){function n(e){r=Math.max(r,i.measureText(e).width+d)}var i=e._chart.ctx,e=2*t.yPadding,r=0,o=t.body,a=o.reduce(function(e,t){return e+t.before.length+t.lines.length+t.after.length},0),l=(a+=t.beforeBody.length+t.afterBody.length,t.title.length),s=t.footer.length,u=t.titleFontSize,c=t.bodyFontSize,h=t.footerFontSize,d=(e=(e=(e=(e=(e=e+l*u+(l?(l-1)*t.titleSpacing:0))+(l?t.titleMarginBottom:0))+a*c+(a?(a-1)*t.bodySpacing:0))+(s?t.footerMarginTop:0))+s*h+(s?(s-1)*t.footerSpacing:0),0);return i.font=L.fontString(u,t._titleFontStyle,t._titleFontFamily),L.each(t.title,n),i.font=L.fontString(c,t._bodyFontStyle,t._bodyFontFamily),L.each(t.beforeBody.concat(t.afterBody),n),d=t.displayColors?c+2:0,L.each(o,function(e){L.each(e.before,n),L.each(e.lines,n),L.each(e.after,n)}),d=0,i.font=L.fontString(h,t._footerFontStyle,t._footerFontFamily),L.each(t.footer,n),{width:r+=2*t.xPadding,height:e}}function St(e,t){return"center"===t?e.x+e.width/2:"right"===t?e.x+e.width-e.xPadding:e.x+e.xPadding}function Ct(e){return k([],M(e))}var Et=e.extend({initialize:function(){this._model=wt(this._options),this._lastActive=[]},getTitle:function(){var e=this._options.callbacks,t=e.beforeTitle.apply(this,arguments),n=e.title.apply(this,arguments),e=e.afterTitle.apply(this,arguments),t=k([],M(t));return t=k(t,M(n)),k(t,M(e))},getBeforeBody:function(){return Ct(this._options.callbacks.beforeBody.apply(this,arguments))},getBody:function(e,n){var i=this,r=i._options.callbacks,o=[];return L.each(e,function(e){var t={before:[],lines:[],after:[]};k(t.before,M(r.beforeLabel.call(i,e,n))),k(t.lines,r.label.call(i,e,n)),k(t.after,M(r.afterLabel.call(i,e,n))),o.push(t)}),o},getAfterBody:function(){return Ct(this._options.callbacks.afterBody.apply(this,arguments))},getFooter:function(){var e=this._options.callbacks,t=e.beforeFooter.apply(this,arguments),n=e.footer.apply(this,arguments),e=e.afterFooter.apply(this,arguments),t=k([],M(t));return t=k(t,M(n)),k(t,M(e))},update:function(e){var t,n,i,r,o,a,l,s,u,c,h,d,f,p,g,m,v,y,b,_,w,x=this,S=x._options,C=x._model,E=x._model=wt(S),k=x._active,M=x._data,D={xAlign:C.xAlign,yAlign:C.yAlign},T={x:C.x,y:C.y},R={width:C.width,height:C.height},C={x:C.caretX,y:C.caretY};if(k.length){E.opacity=1;for(var A=[],O=[],C=_t[S.position].call(x,k,x._eventPosition),P=[],I=0,N=k.length;I<N;++I)P.push((g=k[I],w=_=b=y=v=m=void 0,m=g._xScale,v=g._yScale||g._scale,y=g._index,b=g._datasetIndex,_=(w=g._chart.getDatasetMeta(b).controller)._getIndexScale(),w=w._getValueScale(),{xLabel:m?m.getLabelForIndex(y,b):"",yLabel:v?v.getLabelForIndex(y,b):"",label:_?""+_.getLabelForIndex(y,b):"",value:w?""+w.getLabelForIndex(y,b):"",index:y,datasetIndex:b,x:g._model.x,y:g._model.y}));S.filter&&(P=P.filter(function(e){return S.filter(e,M)})),S.itemSort&&(P=P.sort(function(e,t){return S.itemSort(e,t,M)})),L.each(P,function(e){A.push(S.callbacks.labelColor.call(x,e,x._chart)),O.push(S.callbacks.labelTextColor.call(x,e,x._chart))}),E.title=x.getTitle(P,M),E.beforeBody=x.getBeforeBody(P,M),E.body=x.getBody(P,M),E.afterBody=x.getAfterBody(P,M),E.footer=x.getFooter(P,M),E.x=C.x,E.y=C.y,E.caretPadding=S.caretPadding,E.labelColors=A,E.labelTextColors=O,E.dataPoints=P,R=xt(this,E),i=R,r=(n=this)._model,o=n._chart,a=n._chart.chartArea,s=l="center",r.y<i.height?s="top":r.y>o.height-i.height&&(s="bottom"),u=(a.left+a.right)/2,c=(a.top+a.bottom)/2,a="center"===s?(p=function(e){return e<=u},function(e){return u<e}):(p=function(e){return e<=i.width/2},function(e){return e>=o.width-i.width/2}),h=function(e){return e+i.width+r.caretSize+r.caretPadding>o.width},d=function(e){return e-i.width-r.caretSize-r.caretPadding<0},f=function(e){return e<=c?"top":"bottom"},p(r.x)?(l="left",h(r.x)&&(l="center",s=f(r.y))):a(r.x)&&(l="right",d(r.x)&&(l="center",s=f(r.y))),D={xAlign:(p=n._options).xAlign||l,yAlign:p.yAlign||s},h=E,a=R,d=D,f=x._chart,n=h.x,l=h.y,p=h.caretSize,s=h.caretPadding,h=h.cornerRadius,t=d.xAlign,d=d.yAlign,p+=s,h+=s,"right"===t?n-=a.width:"center"===t&&(n=(n-=a.width/2)+a.width>f.width?f.width-a.width:n)<0&&(n=0),"top"===d?l+=p:l-="bottom"===d?a.height+p:a.height/2,"center"===d?"left"===t?n+=p:"right"===t&&(n-=p):"left"===t?n-=h:"right"===t&&(n+=h),T={x:n,y:l}}else E.opacity=0;return E.xAlign=D.xAlign,E.yAlign=D.yAlign,E.x=T.x,E.y=T.y,E.width=R.width,E.height=R.height,E.caretX=C.x,E.caretY=C.y,x._model=E,e&&S.custom&&S.custom.call(x,E),x},drawCaret:function(e,t){var n=this._chart.ctx,i=this._view,e=this.getCaretPosition(e,t,i);n.lineTo(e.x1,e.y1),n.lineTo(e.x2,e.y2),n.lineTo(e.x3,e.y3)},getCaretPosition:function(e,t,n){var i,r,o,a,l,s,u=n.caretSize,c=n.cornerRadius,h=n.xAlign,d=n.yAlign,f=e.x,e=e.y,p=t.width,t=t.height;return"center"===d?(o=e+t/2,a="left"===h?(i=(s=f)-u,l=s,r=o+u,o-u):(i=(s=f+p)+u,l=s,r=o-u,o+u)):(l=(s="left"===h?(i=f+c+u)-u:"right"===h?(i=f+p-c-u)-u:(i=n.caretX)-u,i+u),"top"===d?(o=(r=e)-u,a=r):(o=(r=e+t)+u,a=r,h=l,l=s,s=h)),{x1:s,x2:i,x3:l,y1:r,y2:o,y3:a}},drawTitle:function(e,t,n){var i,r,o,a=t.title,l=a.length;if(l){var s=bt(t.rtl,t.x,t.width);for(e.x=St(t,t._titleAlign),n.textAlign=s.textAlign(t._titleAlign),n.textBaseline="middle",i=t.titleFontSize,r=t.titleSpacing,n.fillStyle=t.titleFontColor,n.font=L.fontString(i,t._titleFontStyle,t._titleFontFamily),o=0;o<l;++o)n.fillText(a[o],s.x(e.x),e.y+i/2),e.y+=i+r,o+1===l&&(e.y+=t.titleMarginBottom-r)}},drawBody:function(t,e,n){function i(e){n.fillText(e,_.x(t.x+y),t.y+f/2),t.y+=f+p}var r,o,a,l,s,u,c,h,d,f=e.bodyFontSize,p=e.bodySpacing,g=e._bodyAlign,m=e.body,v=e.displayColors,y=0,b=v?St(e,"left"):0,_=bt(e.rtl,e.x,e.width),w=_.textAlign(g);for(n.textAlign=g,n.textBaseline="middle",n.font=L.fontString(f,e._bodyFontStyle,e._bodyFontFamily),t.x=St(e,w),n.fillStyle=e.bodyFontColor,L.each(e.beforeBody,i),y=v&&"right"!==w?"center"===g?f/2+1:f+2:0,s=0,c=m.length;s<c;++s){for(r=m[s],o=e.labelTextColors[s],a=e.labelColors[s],n.fillStyle=o,L.each(r.before,i),u=0,h=(l=r.lines).length;u<h;++u)v&&(d=_.x(b),n.fillStyle=e.legendColorBackground,n.fillRect(_.leftForLtr(d,f),t.y,f,f),n.lineWidth=1,n.strokeStyle=a.borderColor,n.strokeRect(_.leftForLtr(d,f),t.y,f,f),n.fillStyle=a.backgroundColor,n.fillRect(_.leftForLtr(_.xPlus(d,1),f-2),t.y+1,f-2,f-2),n.fillStyle=o),i(l[u]);L.each(r.after,i)}y=0,L.each(e.afterBody,i),t.y-=p},drawFooter:function(e,t,n){var i,r,o=t.footer,a=o.length;if(a){var l=bt(t.rtl,t.x,t.width);for(e.x=St(t,t._footerAlign),e.y+=t.footerMarginTop,n.textAlign=l.textAlign(t._footerAlign),n.textBaseline="middle",i=t.footerFontSize,n.fillStyle=t.footerFontColor,n.font=L.fontString(i,t._footerFontStyle,t._footerFontFamily),r=0;r<a;++r)n.fillText(o[r],l.x(e.x),e.y+i/2),e.y+=i+t.footerSpacing}},drawBackground:function(e,t,n,i){n.fillStyle=t.backgroundColor,n.strokeStyle=t.borderColor,n.lineWidth=t.borderWidth;var r=t.xAlign,o=t.yAlign,a=e.x,l=e.y,s=i.width,u=i.height,c=t.cornerRadius;n.beginPath(),n.moveTo(a+c,l),"top"===o&&this.drawCaret(e,i),n.lineTo(a+s-c,l),n.quadraticCurveTo(a+s,l,a+s,l+c),"center"===o&&"right"===r&&this.drawCaret(e,i),n.lineTo(a+s,l+u-c),n.quadraticCurveTo(a+s,l+u,a+s-c,l+u),"bottom"===o&&this.drawCaret(e,i),n.lineTo(a+c,l+u),n.quadraticCurveTo(a,l+u,a,l+u-c),"center"===o&&"left"===r&&this.drawCaret(e,i),n.lineTo(a,l+c),n.quadraticCurveTo(a,l,a+c,l),n.closePath(),n.fill(),0<t.borderWidth&&n.stroke()},draw:function(){var e,t,n,i,r=this._chart.ctx,o=this._view;0!==o.opacity&&(e={width:o.width,height:o.height},t={x:o.x,y:o.y},n=Math.abs(o.opacity<.001)?0:o.opacity,i=o.title.length||o.beforeBody.length||o.body.length||o.afterBody.length||o.footer.length,this._options.enabled&&i&&(r.save(),r.globalAlpha=n,this.drawBackground(t,o,r,e),t.y+=o.yPadding,L.rtl.overrideTextDirection(r,o.textDirection),this.drawTitle(t,o,r),this.drawBody(t,o,r),this.drawFooter(t,o,r),L.rtl.restoreTextDirection(r,o.textDirection),r.restore()))},handleEvent:function(e){var t,n=this,i=n._options;return n._lastActive=n._lastActive||[],"mouseout"===e.type?n._active=[]:(n._active=n._chart.getElementsAtEventForMode(e,i.mode,i),i.reverse&&n._active.reverse()),(t=!L.arrayEquals(n._active,n._lastActive))&&(n._lastActive=n._active,(i.enabled||i.custom)&&(n._eventPosition={x:e.x,y:e.y},n.update(!0),n.pivot())),t}}),kt=(Et.positioners=_t,L.valueOrDefault);function Mt(){return L.merge(Object.create(null),[].slice.call(arguments),{merger:function(e,t,n,i){if("xAxes"===e||"yAxes"===e){var r,o,a,l=n[e].length;for(t[e]||(t[e]=[]),r=0;r<l;++r)a=n[e][r],o=kt(a.type,"xAxes"===e?"category":"linear"),r>=t[e].length&&t[e].push({}),!t[e][r].type||a.type&&a.type!==t[e][r].type?L.merge(t[e][r],[yt.getScaleDefaults(o),a]):L.merge(t[e][r],a)}else L._merger(e,t,n,i)}})}function Dt(){return L.merge(Object.create(null),[].slice.call(arguments),{merger:function(e,t,n,i){var r=t[e]||Object.create(null),o=n[e];"scales"===e?t[e]=Mt(r,o):"scale"===e?t[e]=L.merge(r,[yt.getScaleDefaults(o.type),o]):L._merger(e,t,n,i)}})}function Tt(e,t,n){for(var i,r=function(e){return e.id===i};i=t+n++,0<=L.findIndex(e,r););return i}function Rt(e){return"top"===e||"bottom"===e}function At(n,i){return function(e,t){return e[n]===t[n]?e[i]-t[i]:e[n]-t[n]}}T._set("global",{elements:{},events:["mousemove","mouseout","click","touchstart","touchmove"],hover:{onHover:null,mode:"nearest",intersect:!0,animationDuration:400},onClick:null,maintainAspectRatio:!0,responsive:!0,responsiveAnimationDuration:0});function Ot(e,t){return this.construct(e,t),this}L.extend(Ot.prototype,{construct:function(e,t){var n=this,i=((i=(r=(r=t)||Object.create(null)).data=r.data||{}).datasets=i.datasets||[],i.labels=i.labels||[],r.options=Dt(T.global,T[r.type],r.options||{}),t=r,vt.acquireContext(e,t)),r=i&&i.canvas,e=r&&r.height,o=r&&r.width;n.id=L.uid(),n.ctx=i,n.canvas=r,n.config=t,n.width=o,n.height=e,n.aspectRatio=e?o/e:null,n.options=t.options,n._bufferedRender=!1,n._layers=[],(n.chart=n).controller=n,Ot.instances[n.id]=n,Object.defineProperty(n,"data",{get:function(){return n.config.data},set:function(e){n.config.data=e}}),i&&r?(n.initialize(),n.update()):console.error("Failed to create chart: can't acquire context from the given item")},initialize:function(){return x.notify(this,"beforeInit"),L.retinaScale(this,this.options.devicePixelRatio),this.bindEvents(),this.options.responsive&&this.resize(!0),this.initToolTip(),x.notify(this,"afterInit"),this},clear:function(){return L.canvas.clear(this),this},stop:function(){return de.cancelAnimation(this),this},resize:function(e){var t=this,n=t.options,i=t.canvas,r=n.maintainAspectRatio&&t.aspectRatio||null,o=Math.max(0,Math.floor(L.getMaximumWidth(i))),r=Math.max(0,Math.floor(r?o/r:L.getMaximumHeight(i)));t.width===o&&t.height===r||(i.width=t.width=o,i.height=t.height=r,i.style.width=o+"px",i.style.height=r+"px",L.retinaScale(t,n.devicePixelRatio),e||(x.notify(t,"resize",[i={width:o,height:r}]),n.onResize&&n.onResize(t,i),t.stop(),t.update({duration:n.responsiveAnimationDuration})))},ensureScalesHaveIDs:function(){var e=this.options,n=e.scales||{},e=e.scale;L.each(n.xAxes,function(e,t){e.id||(e.id=Tt(n.xAxes,"x-axis-",t))}),L.each(n.yAxes,function(e,t){e.id||(e.id=Tt(n.yAxes,"y-axis-",t))}),e&&(e.id=e.id||"scale")},buildOrUpdateScales:function(){var a=this,e=a.options,l=a.scales||{},t=[],s=Object.keys(l).reduce(function(e,t){return e[t]=!1,e},{});e.scales&&(t=t.concat((e.scales.xAxes||[]).map(function(e){return{options:e,dtype:"category",dposition:"bottom"}}),(e.scales.yAxes||[]).map(function(e){return{options:e,dtype:"linear",dposition:"left"}}))),e.scale&&t.push({options:e.scale,dtype:"radialLinear",isDefault:!0,dposition:"chartArea"}),L.each(t,function(e){var t=e.options,n=t.id,i=kt(t.type,e.dtype),r=(Rt(t.position)!==Rt(e.dposition)&&(t.position=e.dposition),s[n]=!0,null);if(n in l&&l[n].type===i)(r=l[n]).options=t,r.ctx=a.ctx,r.chart=a;else{var o=yt.getScaleConstructor(i);if(!o)return;r=new o({id:n,type:i,options:t,ctx:a.ctx,chart:a}),l[r.id]=r}r.mergeTicksOptions(),e.isDefault&&(a.scale=r)}),L.each(s,function(e,t){e||delete l[t]}),a.scales=l,yt.addScalesToLayout(this)},buildOrUpdateControllers:function(){for(var e=[],t=this.data.datasets,n=0,i=t.length;n<i;n++){var r=t[n],o=this.getDatasetMeta(n),a=r.type||this.config.type;if(o.type&&o.type!==a&&(this.destroyDatasetMeta(n),o=this.getDatasetMeta(n)),o.type=a,o.order=r.order||0,o.index=n,o.controller)o.controller.updateIndex(n),o.controller.linkScales();else{a=Ve[o.type];if(void 0===a)throw new Error('"'+o.type+'" is not a chart type.');o.controller=new a(this,n),e.push(o.controller)}}return e},resetElements:function(){var n=this;L.each(n.data.datasets,function(e,t){n.getDatasetMeta(t).controller.reset()},n)},reset:function(){this.resetElements(),this.tooltip.initialize()},update:function(e){var t,n=this;if(e&&"object"===Hn(e)||(e={duration:e,lazy:arguments[1]}),i=(t=n).options,L.each(t.scales,function(e){_.removeBox(t,e)}),i=Dt(T.global,T[t.config.type],i),t.options=t.config.options=i,t.ensureScalesHaveIDs(),t.buildOrUpdateScales(),t.tooltip._options=i.tooltips,t.tooltip.initialize(),x._invalidate(n),!1!==x.notify(n,"beforeUpdate")){n.tooltip._data=n.data;for(var i=n.buildOrUpdateControllers(),r=0,o=n.data.datasets.length;r<o;r++)n.getDatasetMeta(r).controller.buildOrUpdateElements();n.updateLayout(),n.options.animation&&n.options.animation.duration&&L.each(i,function(e){e.reset()}),n.updateDatasets(),n.tooltip.initialize(),n.lastActive=[],x.notify(n,"afterUpdate"),n._layers.sort(At("z","_idx")),n._bufferedRender?n._bufferedRequest={duration:e.duration,easing:e.easing,lazy:e.lazy}:n.render(e)}},updateLayout:function(){var t=this;!1!==x.notify(t,"beforeLayout")&&(_.update(this,this.width,this.height),t._layers=[],L.each(t.boxes,function(e){e._configure&&e._configure(),t._layers.push.apply(t._layers,e._layers())},t),t._layers.forEach(function(e,t){e._idx=t}),x.notify(t,"afterScaleUpdate"),x.notify(t,"afterLayout"))},updateDatasets:function(){if(!1!==x.notify(this,"beforeDatasetsUpdate")){for(var e=0,t=this.data.datasets.length;e<t;++e)this.updateDataset(e);x.notify(this,"afterDatasetsUpdate")}},updateDataset:function(e){var t=this.getDatasetMeta(e),e={meta:t,index:e};!1!==x.notify(this,"beforeDatasetUpdate",[e])&&(t.controller._update(),x.notify(this,"afterDatasetUpdate",[e]))},render:function(e){var t,n=this,i=(e&&"object"===Hn(e)||(e={duration:e,lazy:arguments[1]}),n.options.animation),r=kt(e.duration,i&&i.duration),o=e.lazy;if(!1!==x.notify(n,"beforeRender"))return t=function(e){x.notify(n,"afterRender"),L.callback(i&&i.onComplete,[e],n)},i&&r?(e=new he({numSteps:r/16.66,easing:e.easing||i.easing,render:function(e,t){var n=L.easing.effects[t.easing],i=t.currentStep,t=i/t.numSteps;e.draw(n(t),t,i)},onAnimationProgress:i.onProgress,onAnimationComplete:t}),de.addAnimation(n,e,r,o)):(n.draw(),t(new he({numSteps:0,chart:n}))),n},draw:function(e){var t,n,i=this;if(i.clear(),L.isNullOrUndef(e)&&(e=1),i.transition(e),!(i.width<=0||i.height<=0)&&!1!==x.notify(i,"beforeDraw",[e])){for(n=i._layers,t=0;t<n.length&&n[t].z<=0;++t)n[t].draw(i.chartArea);for(i.drawDatasets(e);t<n.length;++t)n[t].draw(i.chartArea);i._drawTooltip(e),x.notify(i,"afterDraw",[e])}},transition:function(e){for(var t=0,n=(this.data.datasets||[]).length;t<n;++t)this.isDatasetVisible(t)&&this.getDatasetMeta(t).controller.transition(e);this.tooltip.transition(e)},_getSortedDatasetMetas:function(e){for(var t=[],n=0,i=(this.data.datasets||[]).length;n<i;++n)e&&!this.isDatasetVisible(n)||t.push(this.getDatasetMeta(n));return t.sort(At("order","index")),t},_getSortedVisibleDatasetMetas:function(){return this._getSortedDatasetMetas(!0)},drawDatasets:function(e){var t,n;if(!1!==x.notify(this,"beforeDatasetsDraw",[e])){for(n=(t=this._getSortedVisibleDatasetMetas()).length-1;0<=n;--n)this.drawDataset(t[n],e);x.notify(this,"afterDatasetsDraw",[e])}},drawDataset:function(e,t){var n={meta:e,index:e.index,easingValue:t};!1!==x.notify(this,"beforeDatasetDraw",[n])&&(e.controller.draw(t),x.notify(this,"afterDatasetDraw",[n]))},_drawTooltip:function(e){var t=this.tooltip,e={tooltip:t,easingValue:e};!1!==x.notify(this,"beforeTooltipDraw",[e])&&(t.draw(),x.notify(this,"afterTooltipDraw",[e]))},getElementAtEvent:function(e){return Xe.modes.single(this,e)},getElementsAtEvent:function(e){return Xe.modes.label(this,e,{intersect:!0})},getElementsAtXAxis:function(e){return Xe.modes["x-axis"](this,e,{intersect:!0})},getElementsAtEventForMode:function(e,t,n){t=Xe.modes[t];return"function"==typeof t?t(this,e,n):[]},getDatasetAtEvent:function(e){return Xe.modes.dataset(this,e,{intersect:!0})},getDatasetMeta:function(e){var t=this.data.datasets[e];return t._meta||(t._meta={}),t._meta[this.id]||(t._meta[this.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:t.order||0,index:e})},getVisibleDatasetCount:function(){for(var e=0,t=0,n=this.data.datasets.length;t<n;++t)this.isDatasetVisible(t)&&e++;return e},isDatasetVisible:function(e){var t=this.getDatasetMeta(e);return"boolean"==typeof t.hidden?!t.hidden:!this.data.datasets[e].hidden},generateLegend:function(){return this.options.legendCallback(this)},destroyDatasetMeta:function(e){var t=this.id,e=this.data.datasets[e],n=e._meta&&e._meta[t];n&&(n.controller.destroy(),delete e._meta[t])},destroy:function(){var e,t,n=this,i=n.canvas;for(n.stop(),e=0,t=n.data.datasets.length;e<t;++e)n.destroyDatasetMeta(e);i&&(n.unbindEvents(),L.canvas.clear(n),vt.releaseContext(n.ctx),n.canvas=null,n.ctx=null),x.notify(n,"destroy"),delete Ot.instances[n.id]},toBase64Image:function(){return this.canvas.toDataURL.apply(this.canvas,arguments)},initToolTip:function(){this.tooltip=new Et({_chart:this,_chartInstance:this,_data:this.data,_options:this.options.tooltips},this)},bindEvents:function(){var t=this,n=t._listeners={},i=function(){t.eventHandler.apply(t,arguments)};L.each(t.options.events,function(e){vt.addEventListener(t,e,i),n[e]=i}),t.options.responsive&&(i=function(){t.resize()},vt.addEventListener(t,"resize",i),n.resize=i)},unbindEvents:function(){var n=this,e=n._listeners;e&&(delete n._listeners,L.each(e,function(e,t){vt.removeEventListener(n,t,e)}))},updateHoverStyle:function(e,t,n){for(var i,r=n?"set":"remove",o=0,a=e.length;o<a;++o)(i=e[o])&&this.getDatasetMeta(i._datasetIndex).controller[r+"HoverStyle"](i);"dataset"===t&&this.getDatasetMeta(e[0]._datasetIndex).controller["_"+r+"DatasetHoverStyle"]()},eventHandler:function(e){var t,n=this,i=n.tooltip;if(!1!==x.notify(n,"beforeEvent",[e]))return n._bufferedRender=!0,n._bufferedRequest=null,t=n.handleEvent(e),i&&(t=i._start?i.handleEvent(e):t|i.handleEvent(e)),x.notify(n,"afterEvent",[e]),i=n._bufferedRequest,i?n.render(i):t&&!n.animating&&(n.stop(),n.render({duration:n.options.hover.animationDuration,lazy:!0})),n._bufferedRender=!1,n._bufferedRequest=null,n},handleEvent:function(e){var t=this,n=t.options||{},i=n.hover;return t.lastActive=t.lastActive||[],"mouseout"===e.type?t.active=[]:t.active=t.getElementsAtEventForMode(e,i.mode,i),L.callback(n.onHover||n.hover.onHover,[e.native,t.active],t),"mouseup"!==e.type&&"click"!==e.type||n.onClick&&n.onClick.call(t,e.native,t.active),t.lastActive.length&&t.updateHoverStyle(t.lastActive,i.mode,!1),t.active.length&&i.mode&&t.updateHoverStyle(t.active,i.mode,!0),n=!L.arrayEquals(t.active,t.lastActive),t.lastActive=t.active,n}}),Ot.instances={};var D=Ot;(Ot.Controller=Ot).types={},L.configMerge=Dt,L.scaleMerge=Mt;function Pt(){throw new Error("This method is not implemented: either no adapter can be found or an incomplete integration was provided.")}function It(e){this.options=e||{}}L.extend(It.prototype,{formats:Pt,parse:Pt,format:Pt,add:Pt,diff:Pt,startOf:Pt,endOf:Pt,_create:function(e){return e}}),It.override=function(e){L.extend(It.prototype,e)};var Nt={_date:It},je={formatters:{values:function(e){return L.isArray(e)?e:""+e},linear:function(e,t,n){var i=3<n.length?n[2]-n[1]:n[1]-n[0],i=(1<Math.abs(i)&&e!==Math.floor(e)&&(i=e-Math.floor(e)),L.log10(Math.abs(i)));return 0!==e?Math.max(Math.abs(n[0]),Math.abs(n[n.length-1]))<1e-4?(n=L.log10(Math.abs(e)),n=Math.floor(n)-Math.floor(i),n=Math.max(Math.min(n,20),0),e.toExponential(n)):(n=-1*Math.floor(i),n=Math.max(Math.min(n,20),0),e.toFixed(n)):"0"},logarithmic:function(e,t,n){var i=e/Math.pow(10,Math.floor(L.log10(e)));return 0===e?"0":1==i||2==i||5==i||0===t||t===n.length-1?e.toExponential():""}}},Lt=L.isArray,Ht=L.isNullOrUndef,Wt=L.valueOrDefault,jt=L.valueAtIndexOrDefault;function Ft(e,t,n,i){for(var r,o,a,l,s,u,c,h,d,f,p,g,m,v=n.length,y=[],b=[],_=[],w=0,x=0,S=0;S<v;++S){if(a=n[S].label,l=n[S].major?t.major:t.minor,e.font=s=l.string,u=i[s]=i[s]||{data:{},gc:[]},c=l.lineHeight,h=d=0,Ht(a)||Lt(a)){if(Lt(a))for(r=0,o=a.length;r<o;++r)f=a[r],Ht(f)||Lt(f)||(h=L.measureText(e,u.data,u.gc,h,f),d+=c)}else h=L.measureText(e,u.data,u.gc,h,a),d=c;y.push(h),b.push(d),_.push(c/2),w=Math.max(h,w),x=Math.max(d,x)}function C(e){return{width:y[e]||0,height:b[e]||0,offset:_[e]||0}}return m=v,L.each(i,function(e){var t,n=e.gc,i=n.length/2;if(m<i){for(t=0;t<i;++t)delete e.data[n[t]];n.splice(0,i)}}),p=y.indexOf(w),g=b.indexOf(x),{first:C(0),last:C(v-1),widest:C(p),highest:C(g)}}function zt(e){return e.drawTicks?e.tickMarkLength:0}function Vt(e){var t;return e.display?(t=L.options._parseFont(e),e=L.options.toPadding(e.padding),t.lineHeight+e.height):0}function Bt(e,t){return L.extend(L.options._parseFont({fontFamily:Wt(t.fontFamily,e.fontFamily),fontSize:Wt(t.fontSize,e.fontSize),fontStyle:Wt(t.fontStyle,e.fontStyle),lineHeight:Wt(t.lineHeight,e.lineHeight)}),{color:L.options.resolve([t.fontColor,e.fontColor,T.global.defaultFontColor])})}function Yt(e){var t=Bt(e,e.minor);return{minor:t,major:e.major.enabled?Bt(e,e.major):t}}function Ut(e){for(var t,n=[],i=0,r=e.length;i<r;++i)void 0!==(t=e[i])._index&&n.push(t);return n}function qt(e,t,n,i){var r,o,a,l,e=function(e){var t,n,i=e.length;if(i<2)return!1;for(n=e[0],t=1;t<i;++t)if(e[t]-e[t-1]!==n)return!1;return n}(e),s=(t.length-1)/i;if(e)for(a=0,l=(r=L.math._factorize(e)).length-1;a<l;a++)if(s<(o=r[a]))return o;return Math.max(s,1)}function Zt(e,t,n,i){var r,o,a,l=Wt(n,0),s=Math.min(Wt(i,e.length),e.length),u=0;for(t=Math.ceil(t),i&&(t=(i=i-n)/Math.floor(i/t)),a=l;a<0;)u++,a=Math.round(l+u*t);for(r=Math.max(l,0);r<s;r++)o=e[r],r===a?(o._index=r,u++,a=Math.round(l+u*t)):delete o.label}T._set("scale",{display:!0,position:"left",offset:!1,gridLines:{display:!0,color:"rgba(0,0,0,0.1)",lineWidth:1,drawBorder:!0,drawOnChartArea:!0,drawTicks:!0,tickMarkLength:10,zeroLineWidth:1,zeroLineColor:"rgba(0,0,0,0.25)",zeroLineBorderDash:[],zeroLineBorderDashOffset:0,offsetGridLines:!1,borderDash:[],borderDashOffset:0},scaleLabel:{display:!1,labelString:"",padding:{top:4,bottom:4}},ticks:{beginAtZero:!1,minRotation:0,maxRotation:50,mirror:!1,padding:0,reverse:!1,display:!0,autoSkip:!0,autoSkipPadding:0,labelOffset:0,callback:je.formatters.values,minor:{},major:{}}});var Fe=e.extend({zeroLineIndex:0,getPadding:function(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}},getTicks:function(){return this._ticks},_getLabels:function(){var e=this.chart.data;return this.options.labels||(this.isHorizontal()?e.xLabels:e.yLabels)||e.labels||[]},mergeTicksOptions:function(){},beforeUpdate:function(){L.callback(this.options.beforeUpdate,[this])},update:function(e,t,n){var i,r,o,a=this,l=a.options.ticks,s=l.sampleSize;if(a.beforeUpdate(),a.maxWidth=e,a.maxHeight=t,a.margins=L.extend({left:0,right:0,top:0,bottom:0},n),a._ticks=null,a.ticks=null,a._labelSizes=null,a._maxLabelLines=0,a.longestLabelWidth=0,a.longestTextCache=a.longestTextCache||{},a._gridLineItems=null,a._labelItems=null,a.beforeSetDimensions(),a.setDimensions(),a.afterSetDimensions(),a.beforeDataLimits(),a.determineDataLimits(),a.afterDataLimits(),a.beforeBuildTicks(),o=a.buildTicks()||[],(!(o=a.afterBuildTicks(o)||o)||!o.length)&&a.ticks)for(o=[],i=0,r=a.ticks.length;i<r;++i)o.push({value:a.ticks[i],major:!1});return e=s<(a._ticks=o).length,t=a._convertTicksToLabels(e?function(e,t){for(var n=[],i=e.length/t,r=0,o=e.length;r<o;r+=i)n.push(e[Math.floor(r)]);return n}(o,s):o),a._configure(),a.beforeCalculateTickRotation(),a.calculateTickRotation(),a.afterCalculateTickRotation(),a.beforeFit(),a.fit(),a.afterFit(),a._ticksToDraw=l.display&&(l.autoSkip||"auto"===l.source)?a._autoSkip(o):o,e&&(t=a._convertTicksToLabels(a._ticksToDraw)),a.ticks=t,a.afterUpdate(),a.minSize},_configure:function(){var e,t,n=this,i=n.options.ticks.reverse;n.isHorizontal()?(e=n.left,t=n.right):(e=n.top,t=n.bottom,i=!i),n._startPixel=e,n._endPixel=t,n._reversePixels=i,n._length=t-e},afterUpdate:function(){L.callback(this.options.afterUpdate,[this])},beforeSetDimensions:function(){L.callback(this.options.beforeSetDimensions,[this])},setDimensions:function(){var e=this;e.isHorizontal()?(e.width=e.maxWidth,e.left=0,e.right=e.width):(e.height=e.maxHeight,e.top=0,e.bottom=e.height),e.paddingLeft=0,e.paddingTop=0,e.paddingRight=0,e.paddingBottom=0},afterSetDimensions:function(){L.callback(this.options.afterSetDimensions,[this])},beforeDataLimits:function(){L.callback(this.options.beforeDataLimits,[this])},determineDataLimits:L.noop,afterDataLimits:function(){L.callback(this.options.afterDataLimits,[this])},beforeBuildTicks:function(){L.callback(this.options.beforeBuildTicks,[this])},buildTicks:L.noop,afterBuildTicks:function(e){return Lt(e)&&e.length?L.callback(this.options.afterBuildTicks,[this,e]):(this.ticks=L.callback(this.options.afterBuildTicks,[this,this.ticks])||this.ticks,e)},beforeTickToLabelConversion:function(){L.callback(this.options.beforeTickToLabelConversion,[this])},convertTicksToLabels:function(){var e=this.options.ticks;this.ticks=this.ticks.map(e.userCallback||e.callback,this)},afterTickToLabelConversion:function(){L.callback(this.options.afterTickToLabelConversion,[this])},beforeCalculateTickRotation:function(){L.callback(this.options.beforeCalculateTickRotation,[this])},calculateTickRotation:function(){var e,t,n,i,r=this,o=r.options,a=o.ticks,l=r.getTicks().length,s=a.minRotation||0,u=a.maxRotation,c=s;!r._isVisible()||!a.display||u<=s||l<=1||!r.isHorizontal()?r.labelRotation=s:(t=(e=r._getLabelSizes()).widest.width,n=e.highest.height-e.highest.offset,i=Math.min(r.maxWidth,r.chart.width-t),(o.offset?r.maxWidth/l:i/(l-1))<t+6&&(i=i/(l-(o.offset?.5:1)),l=r.maxHeight-zt(o.gridLines)-a.padding-Vt(o.scaleLabel),a=Math.sqrt(t*t+n*n),c=L.toDegrees(Math.min(Math.asin(Math.min((e.highest.height+6)/i,1)),Math.asin(Math.min(l/a,1))-Math.asin(n/a))),c=Math.max(s,Math.min(u,c))),r.labelRotation=c)},afterCalculateTickRotation:function(){L.callback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){L.callback(this.options.beforeFit,[this])},fit:function(){var e,t,n,i,r,o,a,l,s=this,u=s.minSize={width:0,height:0},c=s.chart,h=s.options,d=h.ticks,f=h.scaleLabel,p=h.gridLines,g=s._isVisible(),h="bottom"===h.position,m=s.isHorizontal();m?u.width=s.maxWidth:g&&(u.width=zt(p)+Vt(f)),m?g&&(u.height=zt(p)+Vt(f)):u.height=s.maxHeight,d.display&&g&&(p=Yt(d),g=(f=s._getLabelSizes()).first,e=f.last,t=f.widest,f=f.highest,p=.4*p.minor.lineHeight,n=d.padding,m?(l=0!==s.labelRotation,r=L.toRadians(s.labelRotation),i=Math.cos(r),f=(r=Math.sin(r))*t.width+i*(f.height-(l?f.offset:0))+(l?0:p),u.height=Math.min(s.maxHeight,u.height+f+n),f=s.getPixelForTick(0)-s.left,o=s.right-s.getPixelForTick(s.getTicks().length-1),l=l?(a=h?i*g.width+r*g.offset:r*(g.height-g.offset),h?r*(e.height-e.offset):i*e.width+r*e.offset):(a=g.width/2,e.width/2),s.paddingLeft=Math.max((a-f)*s.width/(s.width-f),0)+3,s.paddingRight=Math.max((l-o)*s.width/(s.width-o),0)+3):(h=d.mirror?0:t.width+n+p,u.width=Math.min(s.maxWidth,u.width+h),s.paddingTop=g.height/2,s.paddingBottom=e.height/2)),s.handleMargins(),m?(s.width=s._length=c.width-s.margins.left-s.margins.right,s.height=u.height):(s.width=u.width,s.height=s._length=c.height-s.margins.top-s.margins.bottom)},handleMargins:function(){var e=this;e.margins&&(e.margins.left=Math.max(e.paddingLeft,e.margins.left),e.margins.top=Math.max(e.paddingTop,e.margins.top),e.margins.right=Math.max(e.paddingRight,e.margins.right),e.margins.bottom=Math.max(e.paddingBottom,e.margins.bottom))},afterFit:function(){L.callback(this.options.afterFit,[this])},isHorizontal:function(){var e=this.options.position;return"top"===e||"bottom"===e},isFullWidth:function(){return this.options.fullWidth},getRightValue:function(e){if(Ht(e))return NaN;if(("number"==typeof e||e instanceof Number)&&!isFinite(e))return NaN;if(e)if(this.isHorizontal()){if(void 0!==e.x)return this.getRightValue(e.x)}else if(void 0!==e.y)return this.getRightValue(e.y);return e},_convertTicksToLabels:function(e){var t,n,i;for(this.ticks=e.map(function(e){return e.value}),this.beforeTickToLabelConversion(),t=this.convertTicksToLabels(e)||this.ticks,this.afterTickToLabelConversion(),n=0,i=e.length;n<i;++n)e[n].label=t[n];return t},_getLabelSizes:function(){var e=this._labelSizes;return e||(this._labelSizes=e=Ft(this.ctx,Yt(this.options.ticks),this.getTicks(),this.longestTextCache),this.longestLabelWidth=e.widest.width),e},_parseValue:function(e){var t,n,i,e=Lt(e)?(t=+this.getRightValue(e[0]),n=+this.getRightValue(e[1]),i=Math.min(t,n),Math.max(t,n)):(t=void 0,i=n=e=+this.getRightValue(e));return{min:i,max:e,start:t,end:n}},_getScaleLabel:function(e){var t=this._parseValue(e);return void 0!==t.start?"["+t.start+", "+t.end+"]":+this.getRightValue(e)},getLabelForIndex:L.noop,getPixelForValue:L.noop,getValueForPixel:L.noop,getPixelForTick:function(e){var t=this.options.offset,n=this._ticks.length,i=1/Math.max(n-(t?0:1),1);return e<0||n-1<e?null:this.getPixelForDecimal(e*i+(t?i/2:0))},getPixelForDecimal:function(e){return this._reversePixels&&(e=1-e),this._startPixel+e*this._length},getDecimalForPixel:function(e){e=(e-this._startPixel)/this._length;return this._reversePixels?1-e:e},getBasePixel:function(){return this.getPixelForValue(this.getBaseValue())},getBaseValue:function(){var e=this.min,t=this.max;return this.beginAtZero?0:e<0&&t<0?t:0<e&&0<t?e:0},_autoSkip:function(e){var t,n,i,r=this.options.ticks,o=this._length,o=r.maxTicksLimit||o/this._tickSize()+1,a=r.major.enabled?function(e){for(var t=[],n=0,i=e.length;n<i;n++)e[n].major&&t.push(n);return t}(e):[],r=a.length,l=a[0],s=a[r-1];if(o<r){var u,c,h=e,d=a,f=r/o,p=0,g=d[0];for(f=Math.ceil(f),u=0;u<h.length;u++)c=h[u],u===g?(c._index=u,g=d[++p*f]):delete c.label}else if(i=qt(a,e,0,o),0<r){for(t=0,n=r-1;t<n;t++)Zt(e,i,a[t],a[t+1]);Zt(e,i,L.isNullOrUndef(o=1<r?(s-l)/(r-1):null)?0:l-o,l),Zt(e,i,s,L.isNullOrUndef(o)?e.length:s+o)}else Zt(e,i);return Ut(e)},_tickSize:function(){var e=this.options.ticks,t=L.toRadians(this.labelRotation),n=Math.abs(Math.cos(t)),t=Math.abs(Math.sin(t)),i=this._getLabelSizes(),e=e.autoSkipPadding||0,r=i?i.widest.width+e:0,i=i?i.highest.height+e:0;return this.isHorizontal()?r*t<i*n?r/n:i/t:i*t<r*n?i/n:r/t},_isVisible:function(){var e,t,n,i=this.chart,r=this.options.display;if("auto"!==r)return!!r;for(e=0,t=i.data.datasets.length;e<t;++e)if(i.isDatasetVisible(e)&&((n=i.getDatasetMeta(e)).xAxisID===this.id||n.yAxisID===this.id))return!0;return!1},_computeGridLineItems:function(e){function t(e){return R(y,e,D)}var n,i,r,o,a,l,s,u,c,h,d,f,p,g,m,v=this,y=v.chart,b=v.options,_=b.gridLines,w=b.position,x=_.offsetGridLines,S=v.isHorizontal(),C=v._ticksToDraw,E=C.length+(x?1:0),k=zt(_),M=[],D=_.drawBorder?jt(_.lineWidth,0,0):0,T=D/2,R=L._alignPixel;for("top"===w?(n=t(v.bottom),a=v.bottom-k,s=n-T,c=t(e.top)+T,d=e.bottom):"bottom"===w?(n=t(v.top),c=e.top,d=t(e.bottom)-T,a=n+T,s=v.top+k):"left"===w?(n=t(v.right),o=v.right-k,l=n-T,u=t(e.left)+T,h=e.right):(n=t(v.left),u=e.left,h=t(e.right)-T,o=n+T,l=v.left+k),i=0;i<E;++i)r=C[i]||{},Ht(r.label)&&i<C.length||(m=i===v.zeroLineIndex&&b.offset===x?(f=_.zeroLineWidth,p=_.zeroLineColor,g=_.zeroLineBorderDash||[],_.zeroLineBorderDashOffset||0):(f=jt(_.lineWidth,i,1),p=jt(_.color,i,"rgba(0,0,0,0.1)"),g=_.borderDash||[],_.borderDashOffset||0),void 0!==(r=function(e,t,n){var i=e.getTicks().length,r=Math.min(t,i-1),o=e.getPixelForTick(r),a=e._startPixel,l=e._endPixel;if(!(n&&(n=1===i?Math.max(o-a,l-o):0===t?(e.getPixelForTick(1)-o)/2:(o-e.getPixelForTick(r-1))/2,(o+=r<t?n:-n)<a-1e-6||l+1e-6<o)))return o}(v,r._index||i,x))&&(r=R(y,r,f),S?o=l=u=h=r:a=s=c=d=r,M.push({tx1:o,ty1:a,tx2:l,ty2:s,x1:u,y1:c,x2:h,y2:d,width:f,color:p,borderDash:g,borderDashOffset:m})));return M.ticksLength=E,M.borderValue=n,M},_computeLabelItems:function(){for(var e,t,n,i,r,o,a,l=this.options,s=l.ticks,u=l.position,c=s.mirror,h=this.isHorizontal(),d=this._ticksToDraw,f=Yt(s),p=s.padding,l=zt(l.gridLines),g=-L.toRadians(this.labelRotation),m=[],v="top"===u?(n=this.bottom-l-p,g?"left":"center"):"bottom"===u?(n=this.top+l+p,g?"right":"center"):"left"===u?(t=this.right-(c?0:l)-p,c?"left":"right"):(t=this.left+(c?0:l)+p,c?"right":"left"),y=0,b=d.length;y<b;++y)e=(i=d[y]).label,Ht(e)||(a=this.getPixelForTick(i._index||y)+s.labelOffset,r=(i=i.major?f.major:f.minor).lineHeight,o=Lt(e)?e.length:1,a=h?(t=a,"top"===u?((g?1:.5)-o)*r:(g?0:.5)*r):(n=a,(1-o)*r/2),m.push({x:t,y:n,rotation:g,label:e,font:i,textOffset:a,textAlign:v}));return m},_drawGrid:function(e){var t=this,n=t.options.gridLines;if(n.display){for(var i,r,o,a,l,s,u,c,h,d=t.ctx,f=t.chart,p=L._alignPixel,g=n.drawBorder?jt(n.lineWidth,0,0):0,m=t._gridLineItems||(t._gridLineItems=t._computeGridLineItems(e)),v=0,y=m.length;v<y;++v)i=(o=m[v]).width,r=o.color,i&&r&&(d.save(),d.lineWidth=i,d.strokeStyle=r,d.setLineDash&&(d.setLineDash(o.borderDash),d.lineDashOffset=o.borderDashOffset),d.beginPath(),n.drawTicks&&(d.moveTo(o.tx1,o.ty1),d.lineTo(o.tx2,o.ty2)),n.drawOnChartArea&&(d.moveTo(o.x1,o.y1),d.lineTo(o.x2,o.y2)),d.stroke(),d.restore());g&&(e=g,a=jt(n.lineWidth,m.ticksLength-1,1),l=m.borderValue,t.isHorizontal()?(s=p(f,t.left,e)-e/2,u=p(f,t.right,a)+a/2,c=h=l):(c=p(f,t.top,e)-e/2,h=p(f,t.bottom,a)+a/2,s=u=l),d.lineWidth=g,d.strokeStyle=jt(n.color,0),d.beginPath(),d.moveTo(s,c),d.lineTo(u,h),d.stroke())}},_drawLabels:function(){if(this.options.ticks.display)for(var e,t,n,i,r,o,a=this.ctx,l=this._labelItems||(this._labelItems=this._computeLabelItems()),s=0,u=l.length;s<u;++s){if(i=(n=l[s]).font,a.save(),a.translate(n.x,n.y),a.rotate(n.rotation),a.font=i.string,a.fillStyle=i.color,a.textBaseline="middle",a.textAlign=n.textAlign,r=n.label,o=n.textOffset,Lt(r))for(e=0,t=r.length;e<t;++e)a.fillText(""+r[e],0,o),o+=i.lineHeight;else a.fillText(r,0,o);a.restore()}},_drawTitle:function(){var e,t,n,i,r,o,a,l=this,s=l.ctx,u=l.options,c=u.scaleLabel;c.display&&(e=Wt(c.fontColor,T.global.defaultFontColor),t=L.options._parseFont(c),n=L.options.toPadding(c.padding),i=t.lineHeight/2,u=u.position,a=0,l.isHorizontal()?(r=l.left+l.width/2,o="bottom"===u?l.bottom-i-n.bottom:l.top+i+n.top):(r=(u="left"===u)?l.left+i+n.top:l.right-i-n.top,o=l.top+l.height/2,a=u?-.5*Math.PI:.5*Math.PI),s.save(),s.translate(r,o),s.rotate(a),s.textAlign="center",s.textBaseline="middle",s.fillStyle=e,s.font=t.string,s.fillText(c.labelString,0,0),s.restore())},draw:function(e){this._isVisible()&&(this._drawGrid(e),this._drawTitle(),this._drawLabels())},_layers:function(){var e=this,t=e.options,n=t.ticks&&t.ticks.z||0,t=t.gridLines&&t.gridLines.z||0;return e._isVisible()&&n!==t&&e.draw===e._draw?[{z:t,draw:function(){e._drawGrid.apply(e,arguments),e._drawTitle.apply(e,arguments)}},{z:n,draw:function(){e._drawLabels.apply(e,arguments)}}]:[{z:n,draw:function(){e.draw.apply(e,arguments)}}]},_getMatchingVisibleMetas:function(t){var n=this,i=n.isHorizontal();return n.chart._getSortedVisibleDatasetMetas().filter(function(e){return(!t||e.type===t)&&(i?e.xAxisID===n.id:e.yAxisID===n.id)})}}),R=(Fe.prototype._draw=Fe.prototype.draw,Fe),Gt=L.isNullOrUndef,b=R.extend({determineDataLimits:function(){var e,t=this._getLabels(),n=this.options.ticks,i=n.min,n=n.max,r=0,o=t.length-1;void 0!==i&&0<=(e=t.indexOf(i))&&(r=e),void 0!==n&&0<=(e=t.indexOf(n))&&(o=e),this.minIndex=r,this.maxIndex=o,this.min=t[r],this.max=t[o]},buildTicks:function(){var e=this._getLabels(),t=this.minIndex,n=this.maxIndex;this.ticks=0===t&&n===e.length-1?e:e.slice(t,n+1)},getLabelForIndex:function(e,t){var n=this.chart;return n.getDatasetMeta(t).controller._getValueScaleId()===this.id?this.getRightValue(n.data.datasets[t].data[e]):this._getLabels()[e]},_configure:function(){var e=this.options.offset,t=this.ticks;R.prototype._configure.call(this),this.isHorizontal()||(this._reversePixels=!this._reversePixels),t&&(this._startValue=this.minIndex-(e?.5:0),this._valueRange=Math.max(t.length-(e?0:1),1))},getPixelForValue:function(e,t,n){var i;return Gt(t)||Gt(n)||(e=this.chart.data.datasets[n].data[t]),(void 0!==(i=Gt(e)?i:this.isHorizontal()?e.x:e.y)||void 0!==e&&isNaN(t))&&(n=this._getLabels(),e=L.valueOrDefault(i,e),t=-1!==(i=n.indexOf(e))?i:t,isNaN(t)&&(t=e)),this.getPixelForDecimal((t-this._startValue)/this._valueRange)},getPixelForTick:function(e){var t=this.ticks;return e<0||e>t.length-1?null:this.getPixelForValue(t[e],e+this.minIndex)},getValueForPixel:function(e){e=Math.round(this._startValue+this.getDecimalForPixel(e)*this._valueRange);return Math.min(Math.max(e,0),this.ticks.length-1)},getBasePixel:function(){return this.bottom}}),He=(b._defaults={position:"bottom"},L.noop),Xt=L.isNullOrUndef;var $t=R.extend({getRightValue:function(e){return"string"==typeof e?+e:R.prototype.getRightValue.call(this,e)},handleTickRangeOptions:function(){var e=this,t=e.options.ticks,n=(t.beginAtZero&&(n=L.sign(e.min),i=L.sign(e.max),n<0&&i<0?e.max=0:0<n&&0<i&&(e.min=0)),void 0!==t.min||void 0!==t.suggestedMin),i=void 0!==t.max||void 0!==t.suggestedMax;void 0!==t.min?e.min=t.min:void 0!==t.suggestedMin&&(null===e.min?e.min=t.suggestedMin:e.min=Math.min(e.min,t.suggestedMin)),void 0!==t.max?e.max=t.max:void 0!==t.suggestedMax&&(null===e.max?e.max=t.suggestedMax:e.max=Math.max(e.max,t.suggestedMax)),n!=i&&e.min>=e.max&&(n?e.max=e.min+1:e.min=e.max-1),e.min===e.max&&(e.max++,t.beginAtZero||e.min--)},getTickLimit:function(){var e,t=this.options.ticks,n=t.stepSize,t=t.maxTicksLimit;return n?e=Math.ceil(this.max/n)-Math.floor(this.min/n)+1:(e=this._computeTickLimit(),t=t||11),e=t?Math.min(t,e):e},_computeTickLimit:function(){return Number.POSITIVE_INFINITY},handleDirectionalChanges:He,buildTicks:function(){var e=this,t=e.options.ticks,n=e.getTickLimit(),n={maxTicks:Math.max(2,n),min:t.min,max:t.max,precision:t.precision,stepSize:L.valueOrDefault(t.fixedStepSize,t.stepSize)},n=e.ticks=function(e,t){var n,i,r,o=[],a=e.stepSize,l=a||1,s=e.maxTicks-1,u=e.min,c=e.max,e=e.precision,h=t.min,t=t.max,d=L.niceNum((t-h)/s/l)*l;if(d<1e-14&&Xt(u)&&Xt(c))return[h,t];s<(r=Math.ceil(t/d)-Math.floor(h/d))&&(d=L.niceNum(r*d/s/l)*l),a||Xt(e)?n=Math.pow(10,L._decimalPlaces(d)):(n=Math.pow(10,e),d=Math.ceil(d*n)/n),i=Math.floor(h/d)*d,s=Math.ceil(t/d)*d,a&&(!Xt(u)&&L.almostWhole(u/d,d/1e3)&&(i=u),!Xt(c)&&L.almostWhole(c/d,d/1e3)&&(s=c)),r=L.almostEquals(r=(s-i)/d,Math.round(r),d/1e3)?Math.round(r):Math.ceil(r),i=Math.round(i*n)/n,s=Math.round(s*n)/n,o.push(Xt(u)?i:u);for(var f=1;f<r;++f)o.push(Math.round((i+f*d)*n)/n);return o.push(Xt(c)?s:c),o}(n,e);e.handleDirectionalChanges(),e.max=L.max(n),e.min=L.min(n),t.reverse?(n.reverse(),e.start=e.max,e.end=e.min):(e.start=e.min,e.end=e.max)},convertTicksToLabels:function(){this.ticksAsNumbers=this.ticks.slice(),this.zeroLineIndex=this.ticks.indexOf(0),R.prototype.convertTicksToLabels.call(this)},_configure:function(){var e=this.getTicks(),t=this.min,n=this.max;R.prototype._configure.call(this),this.options.offset&&e.length&&(t-=e=(n-t)/Math.max(e.length-1,1)/2,n+=e),this._startValue=t,this._endValue=n,this._valueRange=n-t}}),t={position:"left",ticks:{callback:je.formatters.linear}};var p=$t.extend({determineDataLimits:function(){var e,t,n,i,r=this,o=r.options,a=r.chart.data.datasets,l=r._getMatchingVisibleMetas(),s=o.stacked,u={},c=l.length;if(r.min=Number.POSITIVE_INFINITY,r.max=Number.NEGATIVE_INFINITY,void 0===s)for(e=0;!s&&e<c;++e)s=void 0!==(t=l[e]).stack;for(e=0;e<c;++e)if(n=a[(t=l[e]).index].data,s){y=h=x=w=_=b=y=v=m=g=p=f=d=void 0;for(var h,d=r,f=u,p=t,g=n,m=d.options,v=m.stacked,y=(f=f,v=v,v=[(y=p).type,void 0===v&&void 0===y.stack?y.index:"",y.stack].join("."),void 0===f[v]&&(f[v]={pos:[],neg:[]}),f[v]),b=y.pos,_=y.neg,w=g.length,x=0;x<w;++x)h=d._parseValue(g[x]),isNaN(h.min)||isNaN(h.max)||p.data[x].hidden||(b[x]=b[x]||0,_[x]=_[x]||0,m.relativePoints?b[x]=100:h.min<0||h.max<0?_[x]+=h.min:b[x]+=h.max)}else{S=D=M=k=E=C=void 0;for(var S,C=r,E=t,k=n,M=k.length,D=0;D<M;++D)S=C._parseValue(k[D]),isNaN(S.min)||isNaN(S.max)||E.data[D].hidden||(C.min=Math.min(C.min,S.min),C.max=Math.max(C.max,S.max))}L.each(u,function(e){i=e.pos.concat(e.neg),r.min=Math.min(r.min,L.min(i)),r.max=Math.max(r.max,L.max(i))}),r.min=L.isFinite(r.min)&&!isNaN(r.min)?r.min:0,r.max=L.isFinite(r.max)&&!isNaN(r.max)?r.max:1,r.handleTickRangeOptions()},_computeTickLimit:function(){var e;return this.isHorizontal()?Math.ceil(this.width/40):(e=L.options._parseFont(this.options.ticks),Math.ceil(this.height/e.lineHeight))},handleDirectionalChanges:function(){this.isHorizontal()||this.ticks.reverse()},getLabelForIndex:function(e,t){return this._getScaleLabel(this.chart.data.datasets[t].data[e])},getPixelForValue:function(e){return this.getPixelForDecimal((+this.getRightValue(e)-this._startValue)/this._valueRange)},getValueForPixel:function(e){return this._startValue+this.getDecimalForPixel(e)*this._valueRange},getPixelForTick:function(e){var t=this.ticksAsNumbers;return e<0||e>t.length-1?null:this.getPixelForValue(t[e])}}),Kt=(p._defaults=t,L.valueOrDefault),A=L.math.log10;r={position:"left",ticks:{callback:je.formatters.logarithmic}};function Qt(e,t){return L.isFinite(e)&&0<=e?e:t}var o=R.extend({determineDataLimits:function(){var e,t,n,i=this,r=i.options,o=i.chart,a=o.data.datasets,l=i.isHorizontal();function s(e){return l?e.xAxisID===i.id:e.yAxisID===i.id}i.min=Number.POSITIVE_INFINITY,i.max=Number.NEGATIVE_INFINITY,i.minNotZero=Number.POSITIVE_INFINITY;var u=r.stacked;if(void 0===u)for(h=0;h<a.length;h++)if(d=o.getDatasetMeta(h),o.isDatasetVisible(h)&&s(d)&&void 0!==d.stack){u=!0;break}if(r.stacked||u){for(var c={},h=0;h<a.length;h++){var d,f=[(d=o.getDatasetMeta(h)).type,void 0===r.stacked&&void 0===d.stack?h:"",d.stack].join(".");if(o.isDatasetVisible(h)&&s(d))for(void 0===c[f]&&(c[f]=[]),t=0,n=(e=a[h].data).length;t<n;t++){var p=c[f],g=i._parseValue(e[t]);isNaN(g.min)||isNaN(g.max)||d.data[t].hidden||g.min<0||g.max<0||(p[t]=p[t]||0,p[t]+=g.max)}}L.each(c,function(e){var t;0<e.length&&(t=L.min(e),e=L.max(e),i.min=Math.min(i.min,t),i.max=Math.max(i.max,e))})}else for(h=0;h<a.length;h++)if(d=o.getDatasetMeta(h),o.isDatasetVisible(h)&&s(d))for(t=0,n=(e=a[h].data).length;t<n;t++)g=i._parseValue(e[t]),isNaN(g.min)||isNaN(g.max)||d.data[t].hidden||g.min<0||g.max<0||(i.min=Math.min(g.min,i.min),i.max=Math.max(g.max,i.max),0!==g.min&&(i.minNotZero=Math.min(g.min,i.minNotZero)));i.min=L.isFinite(i.min)?i.min:null,i.max=L.isFinite(i.max)?i.max:null,i.minNotZero=L.isFinite(i.minNotZero)?i.minNotZero:null,this.handleTickRangeOptions()},handleTickRangeOptions:function(){var e=this,t=e.options.ticks;e.min=Qt(t.min,e.min),e.max=Qt(t.max,e.max),e.min===e.max&&(0!==e.min&&null!==e.min?(e.min=Math.pow(10,Math.floor(A(e.min))-1),e.max=Math.pow(10,Math.floor(A(e.max))+1)):(e.min=1,e.max=10)),null===e.min&&(e.min=Math.pow(10,Math.floor(A(e.max))-1)),null===e.max&&(e.max=0!==e.min?Math.pow(10,Math.floor(A(e.min))+1):10),null===e.minNotZero&&(0<e.min?e.minNotZero=e.min:e.max<1?e.minNotZero=Math.pow(10,Math.floor(A(e.max))):e.minNotZero=1)},buildTicks:function(){var e=this,t=e.options.ticks,n=!e.isHorizontal(),i={min:Qt(t.min),max:Qt(t.max)},i=e.ticks=function(e,t){for(var n,i,r=[],o=Kt(e.min,Math.pow(10,Math.floor(A(t.min)))),a=Math.floor(A(t.max)),l=Math.ceil(t.max/Math.pow(10,a)),s=(0===o?(n=Math.floor(A(t.minNotZero)),i=Math.floor(t.minNotZero/Math.pow(10,n)),r.push(o),o=i*Math.pow(10,n)):(n=Math.floor(A(o)),i=Math.floor(o/Math.pow(10,n))),n<0?Math.pow(10,Math.abs(n)):1);r.push(o),10===++i&&(i=1,s=0<=++n?1:s),o=Math.round(i*Math.pow(10,n)*s)/s,n<a||n===a&&i<l;);return t=Kt(e.max,o),r.push(t),r}(i,e);e.max=L.max(i),e.min=L.min(i),t.reverse?(n=!n,e.start=e.max,e.end=e.min):(e.start=e.min,e.end=e.max),n&&i.reverse()},convertTicksToLabels:function(){this.tickValues=this.ticks.slice(),R.prototype.convertTicksToLabels.call(this)},getLabelForIndex:function(e,t){return this._getScaleLabel(this.chart.data.datasets[t].data[e])},getPixelForTick:function(e){var t=this.tickValues;return e<0||e>t.length-1?null:this.getPixelForValue(t[e])},_getFirstTickValue:function(e){var t=Math.floor(A(e));return Math.floor(e/Math.pow(10,t))*Math.pow(10,t)},_configure:function(){var e=this,t=e.min,n=0;R.prototype._configure.call(e),0===t&&(t=e._getFirstTickValue(e.minNotZero),n=Kt(e.options.ticks.fontSize,T.global.defaultFontSize)/e._length),e._startValue=A(t),e._valueOffset=n,e._valueRange=(A(e.max)-A(t))/(1-n)},getPixelForValue:function(e){var t=0;return(e=+this.getRightValue(e))>this.min&&0<e&&(t=(A(e)-this._startValue)/this._valueRange+this._valueOffset),this.getPixelForDecimal(t)},getValueForPixel:function(e){e=this.getDecimalForPixel(e);return 0===e&&0===this.min?0:Math.pow(10,this._startValue+(e-this._valueOffset)*this._valueRange)}}),Jt=(o._defaults=r,L.valueOrDefault),en=L.valueAtIndexOrDefault,tn=L.options.resolve,Fe={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,color:"rgba(0,0,0,0.1)",lineWidth:1,borderDash:[],borderDashOffset:0},gridLines:{circular:!1},ticks:{showLabelBackdrop:!0,backdropColor:"rgba(255,255,255,0.75)",backdropPaddingY:2,backdropPaddingX:2,callback:je.formatters.linear},pointLabels:{display:!0,fontSize:10,callback:function(e){return e}}};function nn(e){var t=e.ticks;return t.display&&e.display?Jt(t.fontSize,T.global.defaultFontSize)+2*t.backdropPaddingY:0}function rn(e,t,n,i,r){return e===i||e===r?{start:t-n/2,end:t+n/2}:e<i||r<e?{start:t-n,end:t}:{start:t,end:t+n}}function on(e){for(var t,n,i=L.options._parseFont(e.options.pointLabels),r={l:0,r:e.width,t:0,b:e.height-e.paddingTop},o={},a=(e.ctx.font=i.string,e._pointLabelSizes=[],e.chart.data.labels.length),l=0;l<a;l++){t=e.getPointPosition(l,e.drawingArea+5),n=e.ctx,u=i.lineHeight,s=e.pointLabels[l],n=L.isArray(s)?{w:L.longestText(n,n.font,s),h:s.length*u}:{w:n.measureText(s).width,h:u},e._pointLabelSizes[l]=n;var s=e.getIndexAngle(l),u=L.toDegrees(s)%360,c=rn(u,t.x,n.w,0,180),u=rn(u,t.y,n.h,90,270);c.start<r.l&&(r.l=c.start,o.l=s),c.end>r.r&&(r.r=c.end,o.r=s),u.start<r.t&&(r.t=u.start,o.t=s),u.end>r.b&&(r.b=u.end,o.b=s)}e.setReductions(e.drawingArea,r,o)}function an(e){var t=e.ctx,n=e.options,i=n.pointLabels,r=nn(n),o=e.getDistanceFromCenterForValue(n.ticks.reverse?e.min:e.max),a=L.options._parseFont(i);t.save(),t.font=a.string,t.textBaseline="middle";for(var l,s,u=e.chart.data.labels.length-1;0<=u;u--){var c,h,d=e.getPointPosition(u,o+(0===u?r/2:0)+5),f=en(i.fontColor,u,T.global.defaultFontColor),f=(t.fillStyle=f,e.getIndexAngle(u)),f=L.toDegrees(f),p=(t.textAlign=0===(s=f)||180===s?"center":s<180?"left":"right",s=f,f=e._pointLabelSizes[u],l=d,90===s||270===s?l.y-=f.h/2:(270<s||s<90)&&(l.y-=f.h),h=c=y=v=m=g=p=void 0,t),g=e.pointLabels[u],m=d,v=a.lineHeight,y=m.y+v/2;if(L.isArray(g))for(c=0,h=g.length;c<h;++c)p.fillText(g[c],m.x,y),y+=v;else p.fillText(g,m.x,y)}t.restore()}function ln(e){return L.isNumber(e)?e:0}var He=$t.extend({setDimensions:function(){var e=this;e.width=e.maxWidth,e.height=e.maxHeight,e.paddingTop=nn(e.options)/2,e.xCenter=Math.floor(e.width/2),e.yCenter=Math.floor((e.height-e.paddingTop)/2),e.drawingArea=Math.min(e.height-e.paddingTop,e.width)/2},determineDataLimits:function(){var i=this,r=i.chart,o=Number.POSITIVE_INFINITY,a=Number.NEGATIVE_INFINITY;L.each(r.data.datasets,function(e,t){var n;r.isDatasetVisible(t)&&(n=r.getDatasetMeta(t),L.each(e.data,function(e,t){e=+i.getRightValue(e);isNaN(e)||n.data[t].hidden||(o=Math.min(e,o),a=Math.max(e,a))}))}),i.min=o===Number.POSITIVE_INFINITY?0:o,i.max=a===Number.NEGATIVE_INFINITY?0:a,i.handleTickRangeOptions()},_computeTickLimit:function(){return Math.ceil(this.drawingArea/nn(this.options))},convertTicksToLabels:function(){var t=this;$t.prototype.convertTicksToLabels.call(t),t.pointLabels=t.chart.data.labels.map(function(){var e=L.callback(t.options.pointLabels.callback,arguments,t);return e||0===e?e:""})},getLabelForIndex:function(e,t){return+this.getRightValue(this.chart.data.datasets[t].data[e])},fit:function(){var e=this.options;e.display&&e.pointLabels.display?on(this):this.setCenterPoint(0,0,0,0)},setReductions:function(e,t,n){var i=t.l/Math.sin(n.l),r=Math.max(t.r-this.width,0)/Math.sin(n.r),o=-t.t/Math.cos(n.t),t=-Math.max(t.b-(this.height-this.paddingTop),0)/Math.cos(n.b),i=ln(i),r=ln(r),o=ln(o),t=ln(t);this.drawingArea=Math.min(Math.floor(e-(i+r)/2),Math.floor(e-(o+t)/2)),this.setCenterPoint(i,r,o,t)},setCenterPoint:function(e,t,n,i){var r=this,t=r.width-t-r.drawingArea,e=e+r.drawingArea,n=n+r.drawingArea,i=r.height-r.paddingTop-i-r.drawingArea;r.xCenter=Math.floor((e+t)/2+r.left),r.yCenter=Math.floor((n+i)/2+r.top+r.paddingTop)},getIndexAngle:function(e){var t=this.chart,e=(e*(360/t.data.labels.length)+((t.options||{}).startAngle||0))%360;return(e<0?360+e:e)*Math.PI*2/360},getDistanceFromCenterForValue:function(e){if(L.isNullOrUndef(e))return NaN;var t=this.drawingArea/(this.max-this.min);return this.options.ticks.reverse?(this.max-e)*t:(e-this.min)*t},getPointPosition:function(e,t){e=this.getIndexAngle(e)-Math.PI/2;return{x:Math.cos(e)*t+this.xCenter,y:Math.sin(e)*t+this.yCenter}},getPointPositionForValue:function(e,t){return this.getPointPosition(e,this.getDistanceFromCenterForValue(t))},getBasePosition:function(e){var t=this.min,n=this.max;return this.getPointPositionForValue(e||0,this.beginAtZero?0:t<0&&n<0?n:0<t&&0<n?t:0)},_drawGrid:function(){var e,h,t,d=this,n=d.ctx,i=d.options,f=i.gridLines,r=i.angleLines,o=Jt(r.lineWidth,f.lineWidth),a=Jt(r.color,f.color);if(i.pointLabels.display&&an(d),f.display&&L.each(d.ticks,function(e,t){if(0!==t){h=d.getDistanceFromCenterForValue(d.ticksAsNumbers[t]);var n,i=d,r=f,o=h,a=i.ctx,l=r.circular,s=i.chart.data.labels.length,u=en(r.color,t-1),t=en(r.lineWidth,t-1);if((l||s)&&u&&t){if(a.save(),a.strokeStyle=u,a.lineWidth=t,a.setLineDash&&(a.setLineDash(r.borderDash||[]),a.lineDashOffset=r.borderDashOffset||0),a.beginPath(),l)a.arc(i.xCenter,i.yCenter,o,0,2*Math.PI);else{n=i.getPointPosition(0,o),a.moveTo(n.x,n.y);for(var c=1;c<s;c++)n=i.getPointPosition(c,o),a.lineTo(n.x,n.y)}a.closePath(),a.stroke(),a.restore()}}}),r.display&&o&&a){for(n.save(),n.lineWidth=o,n.strokeStyle=a,n.setLineDash&&(n.setLineDash(tn([r.borderDash,f.borderDash,[]])),n.lineDashOffset=tn([r.borderDashOffset,f.borderDashOffset,0])),e=d.chart.data.labels.length-1;0<=e;e--)h=d.getDistanceFromCenterForValue(i.ticks.reverse?d.min:d.max),t=d.getPointPosition(e,h),n.beginPath(),n.moveTo(d.xCenter,d.yCenter),n.lineTo(t.x,t.y),n.stroke();n.restore()}},_drawLabels:function(){var e,n,i,r,o,a=this,l=a.ctx,s=a.options.ticks;s.display&&(e=a.getIndexAngle(0),n=L.options._parseFont(s),i=Jt(s.fontColor,T.global.defaultFontColor),l.save(),l.font=n.string,l.translate(a.xCenter,a.yCenter),l.rotate(e),l.textAlign="center",l.textBaseline="middle",L.each(a.ticks,function(e,t){0===t&&!s.reverse||(r=a.getDistanceFromCenterForValue(a.ticksAsNumbers[t]),s.showLabelBackdrop&&(o=l.measureText(e).width,l.fillStyle=s.backdropColor,l.fillRect(-o/2-s.backdropPaddingX,-r-n.size/2-s.backdropPaddingY,o+2*s.backdropPaddingX,n.size+2*s.backdropPaddingY)),l.fillStyle=i,l.fillText(e,0,-r))}),l.restore())},_drawTitle:L.noop}),sn=(He._defaults=Fe,L._deprecated),un=L.options.resolve,cn=L.valueOrDefault,hn=Number.MIN_SAFE_INTEGER||-9007199254740991,dn=Number.MAX_SAFE_INTEGER||9007199254740991,fn={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}},O=Object.keys(fn);function pn(e,t){return e-t}function gn(e){return L.valueOrDefault(e.time.min,e.ticks.min)}function mn(e){return L.valueOrDefault(e.time.max,e.ticks.max)}function vn(e,t,n,i){var r=function(e,t,n){for(var i,r,o,a=0,l=e.length-1;0<=a&&a<=l;){if(r=e[(i=a+l>>1)-1]||null,o=e[i],!r)return{lo:null,hi:o};if(o[t]<n)a=1+i;else{if(!(r[t]>n))return{lo:r,hi:o};l=i-1}}return{lo:o,hi:null}}(e,t,n),o=r.lo?r.hi?r.lo:e[e.length-2]:e[0],r=r.lo?r.hi||e[e.length-1]:e[1],e=r[t]-o[t],n=e?(n-o[t])/e:0,t=(r[i]-o[i])*n;return o[i]+t}function yn(e,t){var n=e._adapter,e=e.options.time,i=e.parser,e=i||e.format,r=t;return"function"==typeof i&&(r=i(r)),null!==(r=L.isFinite(r)?r:"string"==typeof e?n.parse(r,e):n.parse(r))?+r:(i||"function"!=typeof e||(r=e(t),L.isFinite(r)||(r=n.parse(r))),r)}function bn(e,t){if(L.isNullOrUndef(t))return null;var n=e.options.time,t=yn(e,e.getRightValue(t));return t=null!==t&&n.round?+e._adapter.startOf(t,n.round):t}function _n(e,t,n,i){for(var r,o,a=O.length,l=O.indexOf(e);l<a-1;++l)if(o=(r=fn[O[l]]).steps||dn,r.common&&Math.ceil((n-t)/(o*r.size))<=i)return O[l];return O[a-1]}function wn(e,t,n){for(var i,r=[],o={},a=t.length,l=0;l<a;++l)o[i=t[l]]=l,r.push({value:i,major:!1});if(0!==a&&n){for(var s,u=r,c=o,h=n,d=(n=e)._adapter,n=+d.startOf(u[0].value,h),f=u[u.length-1].value,p=n;p<=f;p=+d.add(p,1,h))0<=(s=c[p])&&(u[s].major=!0);return u}return r}var t=R.extend({initialize:function(){this.mergeTicksOptions(),R.prototype.initialize.call(this)},update:function(){var e=this.options,t=e.time||(e.time={}),e=this._adapter=new Nt._date(e.adapters.date);return sn("time scale",t.format,"time.format","time.parser"),sn("time scale",t.min,"time.min","ticks.min"),sn("time scale",t.max,"time.max","ticks.max"),L.mergeIf(t.displayFormats,e.formats()),R.prototype.update.apply(this,arguments)},getRightValue:function(e){return e&&void 0!==e.t&&(e=e.t),R.prototype.getRightValue.call(this,e)},determineDataLimits:function(){for(var e,t,n,i,r,o=this,a=o.chart,l=o._adapter,s=o.options,u=s.time.unit||"day",c=dn,h=hn,d=[],f=[],p=[],g=o._getLabels(),m=0,v=g.length;m<v;++m)p.push(bn(o,g[m]));for(m=0,v=(a.data.datasets||[]).length;m<v;++m)if(a.isDatasetVisible(m))if(n=a.data.datasets[m].data,L.isObject(n[0]))for(f[m]=[],e=0,t=n.length;e<t;++e)i=bn(o,n[e]),d.push(i),f[m][e]=i;else f[m]=p.slice(0),r||(d=d.concat(p),r=!0);else f[m]=[];p.length&&(c=Math.min(c,p[0]),h=Math.max(h,p[p.length-1])),d.length&&(d=(1<v?function(e){for(var t,n={},i=[],r=0,o=e.length;r<o;++r)n[t=e[r]]||(n[t]=!0,i.push(t));return i}(d):d).sort(pn),c=Math.min(c,d[0]),h=Math.max(h,d[d.length-1])),c=bn(o,gn(s))||c,h=bn(o,mn(s))||h,c=c===dn?+l.startOf(Date.now(),u):c,h=h===hn?+l.endOf(Date.now(),u)+1:h,o.min=Math.min(c,h),o.max=Math.max(c+1,h),o._table=[],o._timestamps={data:d,datasets:f,labels:p}},buildTicks:function(){var e,t,n,i=this,r=i.min,o=i.max,a=i.options,l=a.ticks,s=a.time,u=i._timestamps,c=[],h=i.getLabelCapacity(r),d=l.source,f=a.distribution,u="data"===d||"auto"===d&&"series"===f?u.data:"labels"===d?u.labels:function(e,t,n,i){var r,o=e._adapter,e=e.options,a=(s=e.time).unit||_n(s.minUnit,t,n,i),l=un([s.stepSize,s.unitStepSize,1]),i="week"===a&&s.isoWeekday,s=t,u=[];if(i&&(s=+o.startOf(s,"isoWeek",i)),s=+o.startOf(s,i?"day":a),o.diff(n,t,a)>1e5*l)throw t+" and "+n+" are too far apart with stepSize of "+l+" "+a;for(r=s;r<n;r=+o.add(r,l,a))u.push(r);return r!==n&&"ticks"!==e.bounds||u.push(r),u}(i,r,o,h);for("ticks"===a.bounds&&u.length&&(r=u[0],o=u[u.length-1]),r=bn(i,gn(a))||r,o=bn(i,mn(a))||o,e=0,t=u.length;e<t;++e)r<=(n=u[e])&&n<=o&&c.push(n);return i.min=r,i.max=o,i._unit=s.unit||(l.autoSkip?_n(s.minUnit,i.min,i.max,h):function(e,t,n,i,r){for(var o,a=O.length-1;a>=O.indexOf(n);a--)if(o=O[a],fn[o].common&&e._adapter.diff(r,i,o)>=t-1)return o;return O[n?O.indexOf(n):0]}(i,c.length,s.minUnit,i.min,i.max)),i._majorUnit=l.major.enabled&&"year"!==i._unit?function(e){for(var t=O.indexOf(e)+1,n=O.length;t<n;++t)if(fn[O[t]].common)return O[t]}(i._unit):void 0,i._table=function(e,t,n,i){if("linear"===i||!e.length)return[{time:t,pos:0},{time:n,pos:1}];for(var r,o,a,l=[],s=[t],u=0,c=e.length;u<c;++u)t<(o=e[u])&&o<n&&s.push(o);for(s.push(n),u=0,c=s.length;u<c;++u)a=s[u+1],r=s[u-1],o=s[u],void 0!==r&&void 0!==a&&Math.round((a+r)/2)===o||l.push({time:o,pos:u/(c-1)});return l}(i._timestamps.data,r,o,f),i._offsets=(d=i._table,h=c,f=s=0,(a=a).offset&&h.length&&(a=vn(d,"time",h[0],"pos"),s=1===h.length?1-a:(vn(d,"time",h[1],"pos")-a)/2,a=vn(d,"time",h[h.length-1],"pos"),f=1===h.length?a:(a-vn(d,"time",h[h.length-2],"pos"))/2),{start:s,end:f,factor:1/(s+1+f)}),l.reverse&&c.reverse(),wn(i,c,i._majorUnit)},getLabelForIndex:function(e,t){var n=this._adapter,i=this.chart.data,r=this.options.time,o=i.labels&&e<i.labels.length?i.labels[e]:"",i=i.datasets[t].data[e];return L.isObject(i)&&(o=this.getRightValue(i)),r.tooltipFormat?n.format(yn(this,o),r.tooltipFormat):"string"==typeof o?o:n.format(yn(this,o),r.displayFormats.datetime)},tickFormatFunction:function(e,t,n,i){var r=this._adapter,o=this.options,a=o.time.displayFormats,l=a[this._unit],s=this._majorUnit,a=a[s],u=n[t],o=o.ticks,s=s&&a&&u&&u.major,u=r.format(e,i||(s?a:l)),r=s?o.major:o.minor,e=un([r.callback,r.userCallback,o.callback,o.userCallback]);return e?e(u,t,n):u},convertTicksToLabels:function(e){for(var t=[],n=0,i=e.length;n<i;++n)t.push(this.tickFormatFunction(e[n].value,n,e));return t},getPixelForOffset:function(e){var t=this._offsets,e=vn(this._table,"time",e,"pos");return this.getPixelForDecimal((t.start+e)*t.factor)},getPixelForValue:function(e,t,n){var i=null;if(null!==(i=null===(i=void 0!==t&&void 0!==n?this._timestamps.datasets[n][t]:i)?bn(this,e):i))return this.getPixelForOffset(i)},getPixelForTick:function(e){var t=this.getTicks();return 0<=e&&e<t.length?this.getPixelForOffset(t[e].value):null},getValueForPixel:function(e){var t=this._offsets,e=this.getDecimalForPixel(e)/t.factor-t.end,t=vn(this._table,"pos",e,"time");return this._adapter._create(t)},_getLabelSize:function(e){var t=this.options.ticks,e=this.ctx.measureText(e).width,n=L.toRadians(this.isHorizontal()?t.maxRotation:t.minRotation),i=Math.cos(n),n=Math.sin(n),t=cn(t.fontSize,T.global.defaultFontSize);return{w:e*i+t*n,h:e*n+t*i}},getLabelWidth:function(e){return this._getLabelSize(e).w},getLabelCapacity:function(e){var t=this.options.time,n=t.displayFormats,t=n[t.unit]||n.millisecond,n=this.tickFormatFunction(e,0,wn(this,[e],this._majorUnit),t),e=this._getLabelSize(n),t=Math.floor(this.isHorizontal()?this.width/e.w:this.height/e.h);return this.options.offset&&t--,0<t?t:1}}),r=(t._defaults={position:"bottom",distribution:"linear",bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,displayFormat:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{autoSkip:!1,source:"auto",major:{enabled:!1}}},{category:b,linear:p,logarithmic:o,radialLinear:He,time:t}),xn={datetime:"MMM D, YYYY, h:mm:ss a",millisecond:"h:mm:ss.SSS a",second:"h:mm:ss a",minute:"h:mm a",hour:"hA",day:"MMM D",week:"ll",month:"MMM YYYY",quarter:"[Q]Q - YYYY",year:"YYYY"},Sn=(Nt._date.override("function"==typeof i?{_id:"moment",formats:function(){return xn},parse:function(e,t){return"string"==typeof e&&"string"==typeof t?e=i(e,t):e instanceof i||(e=i(e)),e.isValid()?e.valueOf():null},format:function(e,t){return i(e).format(t)},add:function(e,t,n){return i(e).add(t,n).valueOf()},diff:function(e,t,n){return i(e).diff(i(t),n)},startOf:function(e,t,n){return e=i(e),("isoWeek"===t?e.isoWeekday(n):e.startOf(t)).valueOf()},endOf:function(e,t){return i(e).endOf(t).valueOf()},_create:function(e){return i(e)}}:{}),T._set("global",{plugins:{filler:{propagate:!0}}}),{dataset:function(e){var t=e.fill,e=e.chart,n=e.getDatasetMeta(t),i=n&&e.isDatasetVisible(t)&&n.dataset._children||[],r=i.length||0;return r?function(e,t){return t<r&&i[t]._view||null}:null},boundary:function(e){var n,t=(n=e.boundary)?n.x:null,i=n?n.y:null;return L.isArray(n)?function(e,t){return n[t]}:function(e){return{x:null===t?e.x:t,y:null===i?e.y:i}}}});function Cn(e){if((e.el._scale||{}).getPointPositionForValue){var t,n,i,r,o,a=e,l=a.el._scale,s=l.options,u=l.chart.data.labels.length,c=a.fill,h=[];if(!u)return null;for(t=s.ticks.reverse?l.max:l.min,n=s.ticks.reverse?l.min:l.max,i=l.getPointPositionForValue(0,t),r=0;r<u;++r)o="start"===c||"end"===c?l.getPointPositionForValue(r,"start"===c?t:n):l.getBasePosition(r),s.gridLines.circular&&(o.cx=i.x,o.cy=i.y,o.angle=l.getIndexAngle(r)-Math.PI/2),h.push(o);return h}var e=(a=e).el._model||{},d=a.el._scale||{},a=a.fill,f=null;if(!isFinite(a)&&("start"===a?f=void 0===e.scaleBottom?d.bottom:e.scaleBottom:"end"===a?f=void 0===e.scaleTop?d.top:e.scaleTop:void 0!==e.scaleZero?f=e.scaleZero:d.getBasePixel&&(f=d.getBasePixel()),null!=f)){if(void 0!==f.x&&void 0!==f.y)return f;if(L.isFinite(f))return{x:(a=d.isHorizontal())?f:null,y:a?null:f}}return null}function En(e){return e&&!e.skip}function kn(e,t,n,i,r){var o,a,l,s;if(i&&r){for(e.moveTo(t[0].x,t[0].y),o=1;o<i;++o)L.canvas.lineTo(e,t[o-1],t[o]);if(void 0!==n[0].angle)for(a=n[0].cx,l=n[0].cy,s=Math.sqrt(Math.pow(n[0].x-a,2)+Math.pow(n[0].y-l,2)),o=r-1;0<o;--o)e.arc(a,l,s,n[o].angle,n[o-1].angle,!0);else for(e.lineTo(n[r-1].x,n[r-1].y),o=r-1;0<o;--o)L.canvas.lineTo(e,n[o],n[o-1],!0)}}var Fe={id:"filler",afterDatasetsUpdate:function(e,t){for(var n,i,r,o,a,l,s=(e.data.datasets||[]).length,u=t.propagate,c=[],h=0;h<s;++h)r=null,(i=(n=e.getDatasetMeta(h)).dataset)&&i._model&&i instanceof v.Line&&(r={visible:e.isDatasetVisible(h),fill:function(e,t,n){var i=(e=e._model||{}).fill;if(!1===(i=void 0===i?!!e.backgroundColor:i)||null===i)return!1;if(!0===i)return"origin";if(e=parseFloat(i,10),isFinite(e)&&Math.floor(e)===e)return!((e="-"!==i[0]&&"+"!==i[0]?e:t+e)===t||e<0||n<=e)&&e;switch(i){case"bottom":return"start";case"top":return"end";case"zero":return"origin";case"origin":case"start":case"end":return i;default:return!1}}(i,h,s),chart:e,el:i}),n.$filler=r,c.push(r);for(h=0;h<s;++h)(r=c[h])&&(r.fill=function(e,t,n){var i,r=e[t].fill,o=[t];if(!n)return r;for(;!1!==r&&-1===o.indexOf(r);){if(!isFinite(r))return r;if(!(i=e[r]))return!1;if(i.visible)return r;o.push(r),r=i.fill}return!1}(c,h,u),r.boundary=Cn(r),r.mapper=(l=a=void 0,a=(o=r).fill,!(l="dataset")===a?null:(isFinite(a)||(l="boundary"),Sn[l](o))))},beforeDatasetsDraw:function(e){for(var t,n,i,r,o,a=e._getSortedVisibleDatasetMetas(),l=e.ctx,s=a.length-1;0<=s;--s)if((r=a[s].$filler)&&r.visible&&(n=(t=r.el)._view,i=t._children||[],r=r.mapper,o=n.backgroundColor||T.global.defaultColor,r&&o&&i.length)){L.canvas.clipArea(l,e.chartArea),g=p=f=d=h=d=c=u=M=k=E=C=S=x=w=_=b=y=v=m=void 0;var u,c,h,d,f,p,g,m=l,v=i,y=r,b=n,_=o,w=t._loop,x=v.length,S=b.spanGaps,C=[],E=[],k=0,M=0;for(m.beginPath(),u=0,c=x;u<c;++u)d=y(h=v[d=u%x]._view,d,b),f=En(h),p=En(d),w&&void 0===g&&f&&(c=x+(g=u+1)),f&&p?(k=C.push(h),M=E.push(d)):k&&M&&(S?(f&&C.push(h),p&&E.push(d)):(kn(m,C,E,k,M),k=M=0,C=[],E=[]));kn(m,C,E,k,M),m.closePath(),m.fillStyle=_,m.fill(),L.canvas.unclipArea(l)}}},Mn=L.rtl.getRtlAdapter,b=L.noop,P=L.valueOrDefault;function Dn(e,t){return e.usePointStyle&&e.boxWidth>t?t:e.boxWidth}T._set("global",{legend:{display:!0,position:"top",align:"center",fullWidth:!0,reverse:!1,weight:1e3,onClick:function(e,t){var t=t.datasetIndex,n=this.chart,i=n.getDatasetMeta(t);i.hidden=null===i.hidden?!n.data.datasets[t].hidden:null,n.update()},onHover:null,onLeave:null,labels:{boxWidth:40,padding:10,generateLabels:function(n){var i=n.data.datasets,e=n.options.legend||{},r=e.labels&&e.labels.usePointStyle;return n._getSortedDatasetMetas().map(function(e){var t=e.controller.getStyle(r?0:void 0);return{text:i[e.index].label,fillStyle:t.backgroundColor,hidden:!n.isDatasetVisible(e.index),lineCap:t.borderCapStyle,lineDash:t.borderDash,lineDashOffset:t.borderDashOffset,lineJoin:t.borderJoinStyle,lineWidth:t.borderWidth,strokeStyle:t.borderColor,pointStyle:t.pointStyle,rotation:t.rotation,datasetIndex:e.index}},this)}}},legendCallback:function(e){var t,n,i,r=document.createElement("ul"),o=e.data.datasets;for(r.setAttribute("class",e.id+"-legend"),t=0,n=o.length;t<n;t++)(i=r.appendChild(document.createElement("li"))).appendChild(document.createElement("span")).style.backgroundColor=o[t].backgroundColor,o[t].label&&i.appendChild(document.createTextNode(o[t].label));return r.outerHTML}});var Tn=e.extend({initialize:function(e){L.extend(this,e),this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1},beforeUpdate:b,update:function(e,t,n){var i=this;return i.beforeUpdate(),i.maxWidth=e,i.maxHeight=t,i.margins=n,i.beforeSetDimensions(),i.setDimensions(),i.afterSetDimensions(),i.beforeBuildLabels(),i.buildLabels(),i.afterBuildLabels(),i.beforeFit(),i.fit(),i.afterFit(),i.afterUpdate(),i.minSize},afterUpdate:b,beforeSetDimensions:b,setDimensions:function(){var e=this;e.isHorizontal()?(e.width=e.maxWidth,e.left=0,e.right=e.width):(e.height=e.maxHeight,e.top=0,e.bottom=e.height),e.paddingLeft=0,e.paddingTop=0,e.paddingRight=0,e.paddingBottom=0,e.minSize={width:0,height:0}},afterSetDimensions:b,beforeBuildLabels:b,buildLabels:function(){var t=this,n=t.options.labels||{},e=L.callback(n.generateLabels,[t.chart],t)||[];n.filter&&(e=e.filter(function(e){return n.filter(e,t.chart.data)})),t.options.reverse&&e.reverse(),t.legendItems=e},afterBuildLabels:b,beforeFit:b,fit:function(){var n,i,r,o,a,l,s,u,e=this,t=e.options,c=t.labels,t=t.display,h=e.ctx,d=L.options._parseFont(c),f=d.size,p=e.legendHitBoxes=[],g=e.minSize,m=e.isHorizontal();m?(g.width=e.maxWidth,g.height=t?10:0):(g.width=t?10:0,g.height=e.maxHeight),t?(h.font=d.string,m?(n=e.lineWidths=[0],i=0,h.textAlign="left",h.textBaseline="middle",L.each(e.legendItems,function(e,t){e=Dn(c,f)+f/2+h.measureText(e.text).width;(0===t||n[n.length-1]+e+2*c.padding>g.width)&&(i+=f+c.padding,n[n.length-(0<t?0:1)]=0),p[t]={left:0,top:0,width:e,height:f},n[n.length-1]+=e+c.padding}),g.height+=i):(r=c.padding,o=e.columnWidths=[],a=e.columnHeights=[],l=c.padding,u=s=0,L.each(e.legendItems,function(e,t){e=Dn(c,f)+f/2+h.measureText(e.text).width;0<t&&u+f+2*r>g.height&&(l+=s+c.padding,o.push(s),a.push(u),u=s=0),s=Math.max(s,e),u+=f+r,p[t]={left:0,top:0,width:e,height:f}}),l+=s,o.push(s),a.push(u),g.width+=l),e.width=g.width,e.height=g.height):e.width=g.width=e.height=g.height=0},afterFit:b,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var d,f,e,p,g,m,v,y,b,_,w=this,n=w.options,x=n.labels,t=T.global,S=t.defaultColor,C=t.elements.line,E=w.height,k=w.columnHeights,M=w.width,D=w.lineWidths;n.display&&(d=Mn(n.rtl,w.left,w.minSize.width),f=w.ctx,t=P(x.fontColor,t.defaultFontColor),e=L.options._parseFont(x),p=e.size,f.textAlign=d.textAlign("left"),f.textBaseline="middle",f.lineWidth=.5,f.strokeStyle=t,f.fillStyle=t,f.font=e.string,g=Dn(x,p),m=w.legendHitBoxes,v=function(e,t){switch(n.align){case"start":return x.padding;case"end":return e-t;default:return(e-t+x.padding)/2}},y=w.isHorizontal(),b=y?{x:w.left+v(M,D[0]),y:w.top+x.padding,line:0}:{x:w.left+x.padding,y:w.top+v(E,k[0]),line:0},L.rtl.overrideTextDirection(w.ctx,n.textDirection),_=p+x.padding,L.each(w.legendItems,function(e,t){var n,i,r,o,a,l,s=f.measureText(e.text).width,u=g+p/2+s,c=b.x,h=b.y,c=(d.setWidth(w.minSize.width),y?0<t&&c+u+x.padding>w.left+w.minSize.width&&(h=b.y+=_,b.line++,c=b.x=w.left+v(M,D[b.line])):0<t&&h+_>w.top+w.minSize.height&&(c=b.x=c+w.columnWidths[b.line]+x.padding,b.line++,h=b.y=w.top+v(E,k[b.line])),d.x(c));l=c,n=h,o=e,isNaN(g)||g<=0||(f.save(),a=P(o.lineWidth,C.borderWidth),f.fillStyle=P(o.fillStyle,S),f.lineCap=P(o.lineCap,C.borderCapStyle),f.lineDashOffset=P(o.lineDashOffset,C.borderDashOffset),f.lineJoin=P(o.lineJoin,C.borderJoinStyle),f.lineWidth=a,f.strokeStyle=P(o.strokeStyle,S),f.setLineDash&&f.setLineDash(P(o.lineDash,C.borderDash)),x&&x.usePointStyle?(i=g*Math.SQRT2/2,r=d.xPlus(l,g/2),L.canvas.drawPoint(f,o.pointStyle,i,r,n+p/2,o.rotation)):(f.fillRect(d.leftForLtr(l,g),n,g,p),0!==a&&f.strokeRect(d.leftForLtr(l,g),n,g,p)),f.restore()),m[t].left=d.leftForLtr(c,m[t].width),m[t].top=h,i=c,r=h,o=e,a=s,l=p/2,i=d.xPlus(i,g+l),r+=l,f.fillText(o.text,i,r),o.hidden&&(f.beginPath(),f.lineWidth=2,f.moveTo(i,r),f.lineTo(d.xPlus(i,a),r),f.stroke()),y?b.x+=u+x.padding:b.y+=_}),L.rtl.restoreTextDirection(w.ctx,n.textDirection))},_getLegendItemAt:function(e,t){var n,i,r;if(e>=this.left&&e<=this.right&&t>=this.top&&t<=this.bottom)for(r=this.legendHitBoxes,n=0;n<r.length;++n)if(e>=(i=r[n]).left&&e<=i.left+i.width&&t>=i.top&&t<=i.top+i.height)return this.legendItems[n];return null},handleEvent:function(e){var t,n=this.options,i="mouseup"===e.type?"click":e.type;if("mousemove"===i){if(!n.onHover&&!n.onLeave)return}else{if("click"!==i)return;if(!n.onClick)return}t=this._getLegendItemAt(e.x,e.y),"click"===i?t&&n.onClick&&n.onClick.call(this,e.native,t):(n.onLeave&&t!==this._hoveredItem&&(this._hoveredItem&&n.onLeave.call(this,e.native,this._hoveredItem),this._hoveredItem=t),n.onHover&&t&&n.onHover.call(this,e.native,t))}});function Rn(e,t){var n=new Tn({ctx:e.ctx,options:t,chart:e});_.configure(e,n,t),_.addBox(e,n),e.legend=n}var p={id:"legend",_element:Tn,beforeInit:function(e){var t=e.options.legend;t&&Rn(e,t)},beforeUpdate:function(e){var t=e.options.legend,n=e.legend;t?(L.mergeIf(t,T.global.legend),n?(_.configure(e,n,t),n.options=t):Rn(e,t)):n&&(_.removeBox(e,n),delete e.legend)},afterEvent:function(e,t){e=e.legend;e&&e.handleEvent(t)}},o=L.noop,An=(T._set("global",{title:{display:!1,fontStyle:"bold",fullWidth:!0,padding:10,position:"top",text:"",weight:2e3}}),e.extend({initialize:function(e){L.extend(this,e),this.legendHitBoxes=[]},beforeUpdate:o,update:function(e,t,n){var i=this;return i.beforeUpdate(),i.maxWidth=e,i.maxHeight=t,i.margins=n,i.beforeSetDimensions(),i.setDimensions(),i.afterSetDimensions(),i.beforeBuildLabels(),i.buildLabels(),i.afterBuildLabels(),i.beforeFit(),i.fit(),i.afterFit(),i.afterUpdate(),i.minSize},afterUpdate:o,beforeSetDimensions:o,setDimensions:function(){var e=this;e.isHorizontal()?(e.width=e.maxWidth,e.left=0,e.right=e.width):(e.height=e.maxHeight,e.top=0,e.bottom=e.height),e.paddingLeft=0,e.paddingTop=0,e.paddingRight=0,e.paddingBottom=0,e.minSize={width:0,height:0}},afterSetDimensions:o,beforeBuildLabels:o,buildLabels:o,afterBuildLabels:o,beforeFit:o,fit:function(){var e=this.options,t=this.minSize={},n=this.isHorizontal();e.display?(e=(L.isArray(e.text)?e.text.length:1)*L.options._parseFont(e).lineHeight+2*e.padding,this.width=t.width=n?this.maxWidth:e,this.height=t.height=n?e:this.maxHeight):this.width=t.width=this.height=t.height=0},afterFit:o,isHorizontal:function(){var e=this.options.position;return"top"===e||"bottom"===e},draw:function(){var e=this.ctx,t=this.options;if(t.display){var n,i,r,o=L.options._parseFont(t),a=o.lineHeight,l=a/2+t.padding,s=0,u=this.top,c=this.left,h=this.bottom,d=this.right,f=(e.fillStyle=L.valueOrDefault(t.fontColor,T.global.defaultFontColor),e.font=o.string,this.isHorizontal()?(i=c+(d-c)/2,r=u+l,n=d-c):(i="left"===t.position?c+l:d-l,r=u+(h-u)/2,n=h-u,s=Math.PI*("left"===t.position?-.5:.5)),e.save(),e.translate(i,r),e.rotate(s),e.textAlign="center",e.textBaseline="middle",t.text);if(L.isArray(f))for(var p=0,g=0;g<f.length;++g)e.fillText(f[g],0,p,n),p+=a;else e.fillText(f,0,0,n);e.restore()}}}));function On(e,t){var n=new An({ctx:e.ctx,options:t,chart:e});_.configure(e,n,t),_.addBox(e,n),e.titleBlock=n}var Pn,I={},He=p,t={id:"title",_element:An,beforeInit:function(e){var t=e.options.title;t&&On(e,t)},beforeUpdate:function(e){var t=e.options.title,n=e.titleBlock;t?(L.mergeIf(t,T.global.title),n?(_.configure(e,n,t),n.options=t):On(e,t)):n&&(_.removeBox(e,n),delete e.titleBlock)}};function In(e,t,n){var i;return"string"==typeof e?(i=parseInt(e,10),-1!==e.indexOf("%")&&(i=i/100*t.parentNode[n])):i=e,i}function Nn(e){return null!=e&&"none"!==e}function Ln(e,t,n){var i=document.defaultView,r=L._getParentNode(e),o=i.getComputedStyle(e)[t],i=i.getComputedStyle(r)[t],t=Nn(o),a=Nn(i),l=Number.POSITIVE_INFINITY;return t||a?Math.min(t?In(o,e,n):l,a?In(i,r,n):l):"none"}for(Pn in I.filler=Fe,I.legend=He,I.title=t,(D.helpers=L).where=function(e,t){if(L.isArray(e)&&Array.prototype.filter)return e.filter(t);var n=[];return L.each(e,function(e){t(e)&&n.push(e)}),n},L.findIndex=Array.prototype.findIndex?function(e,t,n){return e.findIndex(t,n)}:function(e,t,n){n=void 0===n?e:n;for(var i=0,r=e.length;i<r;++i)if(t.call(n,e[i],i,e))return i;return-1},L.findNextWhere=function(e,t,n){for(var i=(n=L.isNullOrUndef(n)?-1:n)+1;i<e.length;i++){var r=e[i];if(t(r))return r}},L.findPreviousWhere=function(e,t,n){for(var i=(n=L.isNullOrUndef(n)?e.length:n)-1;0<=i;i--){var r=e[i];if(t(r))return r}},L.isNumber=function(e){return!isNaN(parseFloat(e))&&isFinite(e)},L.almostEquals=function(e,t,n){return Math.abs(e-t)<n},L.almostWhole=function(e,t){var n=Math.round(e);return n-t<=e&&e<=n+t},L.max=function(e){return e.reduce(function(e,t){return isNaN(t)?e:Math.max(e,t)},Number.NEGATIVE_INFINITY)},L.min=function(e){return e.reduce(function(e,t){return isNaN(t)?e:Math.min(e,t)},Number.POSITIVE_INFINITY)},L.sign=Math.sign?function(e){return Math.sign(e)}:function(e){return 0===(e=+e)||isNaN(e)?e:0<e?1:-1},L.toRadians=function(e){return e*(Math.PI/180)},L.toDegrees=function(e){return e*(180/Math.PI)},L._decimalPlaces=function(e){if(L.isFinite(e)){for(var t=1,n=0;Math.round(e*t)/t!==e;)t*=10,n++;return n}},L.getAngleFromPoint=function(e,t){var n=t.x-e.x,t=t.y-e.y,e=Math.sqrt(n*n+t*t),t=Math.atan2(t,n);return t<-.5*Math.PI&&(t+=2*Math.PI),{angle:t,distance:e}},L.distanceBetweenPoints=function(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))},L.aliasPixel=function(e){return e%2==0?0:.5},L._alignPixel=function(e,t,n){e=e.currentDevicePixelRatio,n/=2;return Math.round((t-n)*e)/e+n},L.splineCurve=function(e,t,n,i){var e=e.skip?t:e,r=t,t=n.skip?t:n,n=Math.sqrt(Math.pow(r.x-e.x,2)+Math.pow(r.y-e.y,2)),o=Math.sqrt(Math.pow(t.x-r.x,2)+Math.pow(t.y-r.y,2)),a=n/(n+o),n=o/(n+o),o=i*(a=isNaN(a)?0:a),a=i*(n=isNaN(n)?0:n);return{previous:{x:r.x-o*(t.x-e.x),y:r.y-o*(t.y-e.y)},next:{x:r.x+a*(t.x-e.x),y:r.y+a*(t.y-e.y)}}},L.EPSILON=Number.EPSILON||1e-14,L.splineCurveMonotone=function(e){for(var t,n,i,r,o,a,l,s,u=(e||[]).map(function(e){return{model:e._model,deltaK:0,mK:0}}),c=u.length,h=0;h<c;++h)(r=u[h]).model.skip||(n=0<h?u[h-1]:null,(i=h<c-1?u[h+1]:null)&&!i.model.skip&&(t=i.model.x-r.model.x,r.deltaK=0!=t?(i.model.y-r.model.y)/t:0),!n||n.model.skip?r.mK=r.deltaK:!i||i.model.skip?r.mK=n.deltaK:this.sign(n.deltaK)!==this.sign(r.deltaK)?r.mK=0:r.mK=(n.deltaK+r.deltaK)/2);for(h=0;h<c-1;++h)r=u[h],i=u[h+1],r.model.skip||i.model.skip||(L.almostEquals(r.deltaK,0,this.EPSILON)?r.mK=i.mK=0:(o=r.mK/r.deltaK,a=i.mK/r.deltaK,(l=Math.pow(o,2)+Math.pow(a,2))<=9||(l=3/Math.sqrt(l),r.mK=o*l*r.deltaK,i.mK=a*l*r.deltaK)));for(h=0;h<c;++h)(r=u[h]).model.skip||(n=0<h?u[h-1]:null,i=h<c-1?u[h+1]:null,n&&!n.model.skip&&(s=(r.model.x-n.model.x)/3,r.model.controlPointPreviousX=r.model.x-s,r.model.controlPointPreviousY=r.model.y-s*r.mK),i&&!i.model.skip&&(s=(i.model.x-r.model.x)/3,r.model.controlPointNextX=r.model.x+s,r.model.controlPointNextY=r.model.y+s*r.mK))},L.nextItem=function(e,t,n){return n?t>=e.length-1?e[0]:e[t+1]:t>=e.length-1?e[e.length-1]:e[t+1]},L.previousItem=function(e,t,n){return n?t<=0?e[e.length-1]:e[t-1]:t<=0?e[0]:e[t-1]},L.niceNum=function(e,t){var n=Math.floor(L.log10(e)),e=e/Math.pow(10,n),t=t?e<1.5?1:e<3?2:e<7?5:10:e<=1?1:e<=2?2:e<=5?5:10;return t*Math.pow(10,n)},L.requestAnimFrame="undefined"==typeof window?function(e){e()}:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)},L.getRelativePosition=function(e,t){var n=e.originalEvent||e,e=e.target||e.srcElement,i=e.getBoundingClientRect(),r=n.touches,r=r&&0<r.length?(s=r[0].clientX,r[0].clientY):(s=n.clientX,n.clientY),n=parseFloat(L.getStyle(e,"padding-left")),o=parseFloat(L.getStyle(e,"padding-top")),a=parseFloat(L.getStyle(e,"padding-right")),l=parseFloat(L.getStyle(e,"padding-bottom")),a=i.right-i.left-n-a,l=i.bottom-i.top-o-l,s=Math.round((s-i.left-n)/a*e.width/t.currentDevicePixelRatio);return{x:s,y:r=Math.round((r-i.top-o)/l*e.height/t.currentDevicePixelRatio)}},L.getConstraintWidth=function(e){return Ln(e,"max-width","clientWidth")},L.getConstraintHeight=function(e){return Ln(e,"max-height","clientHeight")},L._calculatePadding=function(e,t,n){return-1<(t=L.getStyle(e,t)).indexOf("%")?n*parseInt(t,10)/100:parseInt(t,10)},L._getParentNode=function(e){e=e.parentNode;return e=e&&"[object ShadowRoot]"===e.toString()?e.host:e},L.getMaximumWidth=function(e){var t=L._getParentNode(e);if(!t)return e.clientWidth;var n=t.clientWidth,t=n-L._calculatePadding(t,"padding-left",n)-L._calculatePadding(t,"padding-right",n),n=L.getConstraintWidth(e);return isNaN(n)?t:Math.min(t,n)},L.getMaximumHeight=function(e){var t=L._getParentNode(e);if(!t)return e.clientHeight;var n=t.clientHeight,t=n-L._calculatePadding(t,"padding-top",n)-L._calculatePadding(t,"padding-bottom",n),n=L.getConstraintHeight(e);return isNaN(n)?t:Math.min(t,n)},L.getStyle=function(e,t){return e.currentStyle?e.currentStyle[t]:document.defaultView.getComputedStyle(e,null).getPropertyValue(t)},L.retinaScale=function(e,t){var n,i,r,t=e.currentDevicePixelRatio=t||"undefined"!=typeof window&&window.devicePixelRatio||1;1!==t&&(n=e.canvas,i=e.height,r=e.width,n.height=i*t,n.width=r*t,e.ctx.scale(t,t),n.style.height||n.style.width||(n.style.height=i+"px",n.style.width=r+"px"))},L.fontString=function(e,t,n){return t+" "+e+"px "+n},L.longestText=function(e,t,n,i){for(var r,o,a,l,s=(i=i||{}).data=i.data||{},u=i.garbageCollect=i.garbageCollect||[],c=(i.font!==t&&(s=i.data={},u=i.garbageCollect=[],i.font=t),e.font=t,0),h=n.length,d=0;d<h;d++)if(null!=(a=n[d])&&!0!==L.isArray(a))c=L.measureText(e,s,u,c,a);else if(L.isArray(a))for(r=0,o=a.length;r<o;r++)null==(l=a[r])||L.isArray(l)||(c=L.measureText(e,s,u,c,l));var f=u.length/2;if(f>n.length){for(d=0;d<f;d++)delete s[u[d]];u.splice(0,f)}return c},L.measureText=function(e,t,n,i,r){var o=t[r];return o||(o=t[r]=e.measureText(r).width,n.push(r)),i=i<o?o:i},L.numberOfLabelLines=function(e){var t=1;return L.each(e,function(e){L.isArray(e)&&e.length>t&&(t=e.length)}),t},L.color=Q?function(e){return e instanceof CanvasGradient&&(e=T.global.defaultColor),Q(e)}:function(e){return console.error("Color.js not found!"),e},L.getHoverColor=function(e){return e instanceof CanvasPattern||e instanceof CanvasGradient?e:L.color(e).saturate(.5).darken(.1).rgbString()},D._adapters=Nt,D.Animation=he,D.animationService=de,D.controllers=Ve,D.DatasetController=g,D.defaults=T,D.Element=e,D.elements=v,D.Interaction=Xe,D.layouts=_,D.platform=vt,D.plugins=x,D.Scale=R,D.scaleService=yt,D.Ticks=je,D.Tooltip=Et,D.helpers.each(r,function(e,t){D.scaleService.registerScaleType(t,e,e._defaults)}),I)I.hasOwnProperty(Pn)&&D.plugins.register(I[Pn]);D.platform.initialize();b=D;return"undefined"!=typeof window&&(window.Chart=D),(D.Chart=D).Legend=I.legend._element,D.Title=I.title._element,D.pluginService=D.plugins,D.PluginBase=D.Element.extend({}),D.canvasHelpers=D.helpers.canvas,D.layoutService=D.layouts,D.LinearScaleBase=$t,D.helpers.each(["Bar","Bubble","Doughnut","Line","PolarArea","Radar","Scatter"],function(n){D[n]=function(e,t){return new D(e,D.helpers.merge(t||{},{type:n.charAt(0).toLowerCase()+n.slice(1)}))}}),b},"object"===((i=void 0)===n?"undefined":Hn(n))&&void 0!==t?t.exports=r(function(){try{return e("moment")}catch(e){}}()):"function"==typeof define&&define.amd?define(["require"],function(e){return r(function(){try{return e("moment")}catch(e){}}())}):(i=self).Chart=r(i.moment)},{moment:24}],14:[function(e,t,n){"use strict";function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var r,o;r=window,o=function(){var n=function(){var e=window.Element.prototype;if(e.matches)return"matches";if(e.matchesSelector)return"matchesSelector";for(var t=["webkit","moz","ms","o"],n=0;n<t.length;n++){var i=t[n]+"MatchesSelector";if(e[i])return i}}();return function(e,t){return e[n](t)}},"function"==typeof define&&define.amd?define(o):"object"==(void 0===t?"undefined":i(t))&&t.exports?t.exports=o():r.matchesSelector=o()},{}],15:[function(e,t,n){"use strict";function h(e){return(h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var i;i=function(n){function a(e,a){function n(){a.scaleColor&&u(),a.trackColor&&s(a.trackColor,a.trackWidth||a.lineWidth,1)}var i,t=document.createElement("canvas"),r=(e.appendChild(t),"object"==("undefined"==typeof G_vmlCanvasManager?"undefined":h(G_vmlCanvasManager))&&G_vmlCanvasManager.initElement(t),t.getContext("2d")),o=(t.width=t.height=a.size,1),l=(1<window.devicePixelRatio&&(o=window.devicePixelRatio,t.style.width=t.style.height=[a.size,"px"].join(""),t.width=t.height=a.size*o,r.scale(o,o)),r.translate(a.size/2,a.size/2),r.rotate((a.rotate/180-.5)*Math.PI),(a.size-a.lineWidth)/2),s=(a.scaleColor&&a.scaleLength&&(l-=a.scaleLength+2),Date.now=Date.now||function(){return+new Date},function(e,t,n){var i=(n=Math.min(Math.max(-1,n||0),1))<=0;r.beginPath(),r.arc(0,0,l,0,2*Math.PI*n,i),r.strokeStyle=e,r.lineWidth=t,r.stroke()}),u=function(){var e,t;r.lineWidth=1,r.fillStyle=a.scaleColor,r.save();for(var n=24;0<n;--n)e=n%6==0?(t=a.scaleLength,0):(t=.6*a.scaleLength,a.scaleLength-t),r.fillRect(-a.size/2+e,0,t,1),r.rotate(Math.PI/12);r.restore()},c=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)};this.getCanvas=function(){return t},this.getCtx=function(){return r},this.clear=function(){r.clearRect(a.size/-2,a.size/-2,a.size,a.size)},this.draw=function(e){var t;a.scaleColor||a.trackColor?r.getImageData&&r.putImageData?i?r.putImageData(i,0,0):(n(),i=r.getImageData(0,0,a.size*o,a.size*o)):(this.clear(),n()):this.clear(),r.lineCap=a.lineCap,t="function"==typeof a.barColor?a.barColor(e):a.barColor,s(t,a.lineWidth,e/100)}.bind(this),this.animate=function(n,i){var r=Date.now(),o=(a.onStart(n,i),function(){var e=Math.min(Date.now()-r,a.animate.duration),t=a.easing(this,e,n,i-n,a.animate.duration);this.draw(t),a.onStep(n,i,t),e>=a.animate.duration?a.onStop(n,i):c(o)}.bind(this));c(o)}.bind(this)}function i(t,n){var i={barColor:"#ef1e25",trackColor:"#f9f9f9",scaleColor:"#dfe0e0",scaleLength:5,lineCap:"round",lineWidth:3,trackWidth:void 0,size:110,rotate:0,animate:{duration:1e3,enabled:!0},easing:function(e,t,n,i,r){return(t/=r/2)<1?i/2*t*t+n:-i/2*(--t*(t-2)-1)+n},onStart:function(e,t){},onStep:function(e,t,n){},onStop:function(e,t){}},r=(i.renderer=a,{}),o=0,e=function(){for(var e in this.el=t,this.options=r,i)i.hasOwnProperty(e)&&(r[e]=(n&&void 0!==n[e]?n:i)[e],"function"==typeof r[e]&&(r[e]=r[e].bind(this)));"string"==typeof r.easing&&"undefined"!=typeof jQuery&&jQuery.isFunction(jQuery.easing[r.easing])?r.easing=jQuery.easing[r.easing]:r.easing=i.easing,"number"==typeof r.animate&&(r.animate={duration:r.animate,enabled:!0}),"boolean"!=typeof r.animate||r.animate||(r.animate={duration:1e3,enabled:r.animate}),this.renderer=new r.renderer(t,r),this.renderer.draw(o),t.dataset&&t.dataset.percent?this.update(parseFloat(t.dataset.percent)):t.getAttribute&&t.getAttribute("data-percent")&&this.update(parseFloat(t.getAttribute("data-percent")))}.bind(this);this.update=function(e){return e=parseFloat(e),r.animate.enabled?this.renderer.animate(o,e):this.renderer.draw(e),o=e,this}.bind(this),this.disableAnimation=function(){return r.animate.enabled=!1,this},this.enableAnimation=function(){return r.animate.enabled=!0,this},e()}n.fn.easyPieChart=function(t){return this.each(function(){var e;n.data(this,"easyPieChart")||(e=n.extend({},t,n(this).data()),n.data(this,"easyPieChart",new i(this,e)))})}},"function"==typeof define&&define.amd?define(["jquery"],i):"object"==(void 0===n?"undefined":h(n))?t.exports=i(e("jquery")):i(jQuery)},{jquery:20}],16:[function(e,t,n){"use strict";function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var r,o;r="undefined"!=typeof window?window:void 0,o=function(){function e(){}var t=e.prototype;return t.on=function(e,t){var n;if(e&&t)return n=this._events=this._events||{},n=n[e]=n[e]||[],-1==n.indexOf(t)&&n.push(t),this},t.once=function(e,t){var n;if(e&&t)return this.on(e,t),n=this._onceEvents=this._onceEvents||{},(n[e]=n[e]||{})[t]=!0,this},t.off=function(e,t){e=this._events&&this._events[e];if(e&&e.length)return t=e.indexOf(t),-1!=t&&e.splice(t,1),this},t.emitEvent=function(e,t){var n=this._events&&this._events[e];if(n&&n.length){n=n.slice(0),t=t||[];for(var i=this._onceEvents&&this._onceEvents[e],r=0;r<n.length;r++){var o=n[r];i&&i[o]&&(this.off(e,o),delete i[o]),o.apply(this,t)}return this}},t.allOff=function(){delete this._events,delete this._onceEvents},e},"function"==typeof define&&define.amd?define(o):"object"==(void 0===t?"undefined":i(t))&&t.exports?t.exports=o():r.EvEmitter=o()},{}],17:[function(e,t,n){"use strict";function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var r,o;r=window,o=function(n,o){var s={extend:function(e,t){for(var n in t)e[n]=t[n];return e},modulo:function(e,t){return(e%t+t)%t}},t=Array.prototype.slice,u=(s.makeArray=function(e){return Array.isArray(e)?e:null==e?[]:"object"==i(e)&&"number"==typeof e.length?t.call(e):[e]},s.removeFrom=function(e,t){t=e.indexOf(t);-1!=t&&e.splice(t,1)},s.getParent=function(e,t){for(;e.parentNode&&e!=document.body;)if(e=e.parentNode,o(e,t))return e},s.getQueryElement=function(e){return"string"==typeof e?document.querySelector(e):e},s.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},s.filterFindElements=function(e,i){e=s.makeArray(e);var r=[];return e.forEach(function(e){if(e instanceof HTMLElement)if(i){o(e,i)&&r.push(e);for(var t=e.querySelectorAll(i),n=0;n<t.length;n++)r.push(t[n])}else r.push(e)}),r},s.debounceMethod=function(e,t,i){i=i||100;var r=e.prototype[t],o=t+"Timeout";e.prototype[t]=function(){var e=this[o],t=(clearTimeout(e),arguments),n=this;this[o]=setTimeout(function(){r.apply(n,t),delete n[o]},i)}},s.docReady=function(e){var t=document.readyState;"complete"==t||"interactive"==t?setTimeout(e):document.addEventListener("DOMContentLoaded",e)},s.toDashed=function(e){return e.replace(/(.)([A-Z])/g,function(e,t,n){return t+"-"+n}).toLowerCase()},n.console);return s.htmlInit=function(a,l){s.docReady(function(){var e=s.toDashed(l),i="data-"+e,t=document.querySelectorAll("["+i+"]"),e=document.querySelectorAll(".js-"+e),t=s.makeArray(t).concat(s.makeArray(e)),r=i+"-options",o=n.jQuery;t.forEach(function(t){var e,n=t.getAttribute(i)||t.getAttribute(r);try{e=n&&JSON.parse(n)}catch(e){return void(u&&u.error("Error parsing "+i+" on "+t.className+": "+e))}n=new a(t,e);o&&o.data(t,l,n)})})},s},"function"==typeof define&&define.amd?define(["desandro-matches-selector/matches-selector"],function(e){return o(r,e)}):"object"==(void 0===t?"undefined":i(t))&&t.exports?t.exports=o(r,e("desandro-matches-selector")):r.fizzyUIUtils=o(r,r.matchesSelector)},{"desandro-matches-selector":14}],18:[function(e,t,n){"use strict";function S(e){return(S="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var i,r;i=window,r=function(){function m(e){var t=parseFloat(e);return-1==e.indexOf("%")&&!isNaN(t)&&t}var t="undefined"==typeof console?function(){}:function(e){console.error(e)},v=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],y=v.length;function b(e){e=getComputedStyle(e);return e||t("Style returned "+e+". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"),e}var _,w=!1;function x(e){if(w||(w=!0,(c=document.createElement("div")).style.width="200px",c.style.padding="1px 2px 3px 4px",c.style.borderStyle="solid",c.style.borderWidth="1px 2px 3px 4px",c.style.boxSizing="border-box",(u=document.body||document.documentElement).appendChild(c),o=b(c),_=200==Math.round(m(o.width)),x.isBoxSizeOuter=_,u.removeChild(c)),(e="string"==typeof e?document.querySelector(e):e)&&"object"==S(e)&&e.nodeType){var t=b(e);if("none"==t.display){for(var n={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},i=0;i<y;i++)n[v[i]]=0;return n}for(var r={},o=(r.width=e.offsetWidth,r.height=e.offsetHeight,r.isBorderBox="border-box"==t.boxSizing),a=0;a<y;a++){var l=v[a],s=t[l],s=parseFloat(s);r[l]=isNaN(s)?0:s}var u=r.paddingLeft+r.paddingRight,c=r.paddingTop+r.paddingBottom,e=r.marginLeft+r.marginRight,h=r.marginTop+r.marginBottom,d=r.borderLeftWidth+r.borderRightWidth,f=r.borderTopWidth+r.borderBottomWidth,p=o&&_,g=m(t.width),g=(!1!==g&&(r.width=g+(p?0:u+d)),m(t.height));return!1!==g&&(r.height=g+(p?0:c+f)),r.innerWidth=r.width-(u+d),r.innerHeight=r.height-(c+f),r.outerWidth=r.width+e,r.outerHeight=r.height+h,r}}return x},"function"==typeof define&&define.amd?define(r):"object"==(void 0===t?"undefined":S(t))&&t.exports?t.exports=r():i.getSize=r()},{}],19:[function(e,t,n){"use strict";function w(e){return(w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var S,L,H,i;S=document,L=Math,i=function(T){var v,D,b,R,A,O,u,x,e,o,c,P,s,t,I,N,l,a,h,d,_,i,f,p,r,g={},m=0,n=function(){return{common:{type:"line",lineColor:"#00f",fillColor:"#cdf",defaultPixelsPerValue:3,width:"auto",height:"auto",composite:!1,tagValuesAttribute:"values",tagOptionsPrefix:"spark",enableTagOptions:!1,enableHighlight:!0,highlightLighten:1.4,tooltipSkipNull:!0,tooltipPrefix:"",tooltipSuffix:"",disableHiddenCheck:!1,numberFormatter:!1,numberDigitGroupCount:3,numberDigitGroupSep:",",numberDecimalMark:".",disableTooltips:!1,disableInteraction:!1},line:{spotColor:"#f80",highlightSpotColor:"#5f5",highlightLineColor:"#f22",spotRadius:1.5,minSpotColor:"#f80",maxSpotColor:"#f80",lineWidth:1,normalRangeMin:H,normalRangeMax:H,normalRangeColor:"#ccc",drawNormalOnTop:!1,chartRangeMin:H,chartRangeMax:H,chartRangeMinX:H,chartRangeMaxX:H,tooltipFormat:new v('<span style="color: {{color}}">&#9679;</span> {{prefix}}{{y}}{{suffix}}')},bar:{barColor:"#3366cc",negBarColor:"#f44",stackedBarColor:["#3366cc","#dc3912","#ff9900","#109618","#66aa00","#dd4477","#0099c6","#990099"],zeroColor:H,nullColor:H,zeroAxis:!0,barWidth:4,barSpacing:1,chartRangeMax:H,chartRangeMin:H,chartRangeClip:!1,colorMap:H,tooltipFormat:new v('<span style="color: {{color}}">&#9679;</span> {{prefix}}{{value}}{{suffix}}')},tristate:{barWidth:4,barSpacing:1,posBarColor:"#6f6",negBarColor:"#f44",zeroBarColor:"#999",colorMap:{},tooltipFormat:new v('<span style="color: {{color}}">&#9679;</span> {{value:map}}'),tooltipValueLookups:{map:{"-1":"Loss",0:"Draw",1:"Win"}}},discrete:{lineHeight:"auto",thresholdColor:H,thresholdValue:0,chartRangeMax:H,chartRangeMin:H,chartRangeClip:!1,tooltipFormat:new v("{{prefix}}{{value}}{{suffix}}")},bullet:{targetColor:"#f33",targetWidth:3,performanceColor:"#33f",rangeColors:["#d3dafe","#a8b6ff","#7f94ff"],base:H,tooltipFormat:new v("{{fieldkey:fields}} - {{value}}"),tooltipValueLookups:{fields:{r:"Range",p:"Performance",t:"Target"}}},pie:{offset:0,sliceColors:["#3366cc","#dc3912","#ff9900","#109618","#66aa00","#dd4477","#0099c6","#990099"],borderWidth:0,borderColor:"#000",tooltipFormat:new v('<span style="color: {{color}}">&#9679;</span> {{value}} ({{percent.1}}%)')},box:{raw:!1,boxLineColor:"#000",boxFillColor:"#cdf",whiskerColor:"#000",outlierLineColor:"#333",outlierFillColor:"#fff",medianColor:"#f00",showOutliers:!0,outlierIQR:1.5,spotRadius:1.5,target:H,targetColor:"#4a2",chartRangeMax:H,chartRangeMin:H,tooltipFormat:new v("{{field:fields}}: {{value}}"),tooltipFormatFieldlistKey:"field",tooltipValueLookups:{fields:{lq:"Lower Quartile",med:"Median",uq:"Upper Quartile",lo:"Left Outlier",ro:"Right Outlier",lw:"Left Whisker",rw:"Right Whisker"}}}}},y=function(){var e,t=function(){this.init.apply(this,arguments)};return 1<arguments.length?(arguments[0]?(t.prototype=T.extend(new arguments[0],arguments[arguments.length-1]),t._super=arguments[0].prototype):t.prototype=arguments[arguments.length-1],2<arguments.length&&((e=Array.prototype.slice.call(arguments,1,-1)).unshift(t.prototype),T.extend.apply(T,e))):t.prototype=arguments[0],t.prototype.cls=t};T.SPFormatClass=v=y({fre:/\{\{([\w.]+?)(:(.+?))?\}\}/g,precre:/(\w+)\.(\d+)/,init:function(e,t){this.format=e,this.fclass=t},render:function(e,t,n){var i,r,o,a,l=this,s=e;return this.format.replace(this.fre,function(){return i=arguments[1],r=arguments[3],(o=l.precre.exec(i))?(a=o[2],i=o[1]):a=!1,(o=s[i])===H?"":r&&t&&t[r]?t[r].get?t[r].get(o)||o:t[r][o]||o:o=u(o)?n.get("numberFormatter")?n.get("numberFormatter")(o):c(o,a,n.get("numberDigitGroupCount"),n.get("numberDigitGroupSep"),n.get("numberDecimalMark")):o})}}),T.spformat=function(e,t){return new v(e,t)},D=function(e,t,n){return e<t?t:n<e?n:e},b=function(e,t){var n;return 2===t?(n=L.floor(e.length/2),e.length%2?e[n]:(e[n-1]+e[n])/2):e.length%2?(n=(e.length*t+t)/4)%1?(e[L.floor(n)]+e[L.floor(n)-1])/2:e[n-1]:(n=(e.length*t+2)/4)%1?(e[L.floor(n)]+e[L.floor(n)-1])/2:e[n-1]},R=function(e){var t;switch(e){case"undefined":e=H;break;case"null":e=null;break;case"true":e=!0;break;case"false":e=!1;break;default:e==(t=parseFloat(e))&&(e=t)}return e},A=function(e){for(var t=[],n=e.length;n--;)t[n]=R(e[n]);return t},O=function(e,t){for(var n=[],i=0,r=e.length;i<r;i++)e[i]!==t&&n.push(e[i]);return n},u=function(e){return!isNaN(parseFloat(e))&&isFinite(e)},c=function(e,t,n,i,r){var o;for(e=(!1===t?parseFloat(e).toString():e.toFixed(t)).split(""),(t=(t=T.inArray(".",e))<0?e.length:t)<e.length&&(e[t]=r),o=t-n;0<o;o-=n)e.splice(o,0,i);return e.join("")},x=function(e,t,n){for(var i=t.length;i--;)if((!n||null!==t[i])&&t[i]!==e)return!1;return!0},o=function(e){return T.isArray(e)?e:[e]},e=function(e){var t,n;if(S.createStyleSheet)try{return void(S.createStyleSheet().cssText=e)}catch(e){n=!0}(t=S.createElement("style")).type="text/css",S.getElementsByTagName("head")[0].appendChild(t),n?S.styleSheets[S.styleSheets.length-1].cssText=e:t["string"==typeof S.body.style.WebkitAppearance?"innerText":"innerHTML"]=e},T.fn.simpledraw=function(e,t,n,i){var r;if(!n||!(r=this.data("_jqs_vcanvas"))){if(!1===T.fn.sparkline.canvas)return!1;if(T.fn.sparkline.canvas===H){var n=S.createElement("canvas");if(n.getContext&&n.getContext("2d"))T.fn.sparkline.canvas=function(e,t,n,i){return new f(e,t,n,i)};else{if(!S.namespaces||S.namespaces.v)return T.fn.sparkline.canvas=!1;S.namespaces.add("v","urn:schemas-microsoft-com:vml","#default#VML"),T.fn.sparkline.canvas=function(e,t,n,i){return new p(e,t,n)}}}e===H&&(e=T(this).innerWidth()),t===H&&(t=T(this).innerHeight()),r=T.fn.sparkline.canvas(e,t,this,i),(n=T(this).data("_jqs_mhandler"))&&n.registerCanvas(r)}return r},T.fn.cleardraw=function(){var e=this.data("_jqs_vcanvas");e&&e.reset()},T.RangeMapClass=P=y({init:function(e){var t,n,i=[];for(t in e)e.hasOwnProperty(t)&&"string"==typeof t&&-1<t.indexOf(":")&&((n=t.split(":"))[0]=0===n[0].length?-1/0:parseFloat(n[0]),n[1]=0===n[1].length?1/0:parseFloat(n[1]),n[2]=e[t],i.push(n));this.map=e,this.rangelist=i||!1},get:function(e){var t,n,i,r=this.rangelist;if((i=this.map[e])!==H)return i;if(r)for(t=r.length;t--;)if((n=r[t])[0]<=e&&n[1]>=e)return n[2];return H}}),T.range_map=function(e){return new P(e)},s=y({init:function(e,t){var n=T(e);this.$el=n,this.options=t,this.currentPageX=0,this.currentPageY=0,this.el=e,this.splist=[],this.tooltip=null,this.over=!1,this.displayTooltips=!t.get("disableTooltips"),this.highlightEnabled=!t.get("disableHighlight")},registerSparkline:function(e){this.splist.push(e),this.over&&this.updateDisplay()},registerCanvas:function(e){var t=T(e.canvas);this.canvas=e,(this.$canvas=t).mouseenter(T.proxy(this.mouseenter,this)),t.mouseleave(T.proxy(this.mouseleave,this)),t.click(T.proxy(this.mouseclick,this))},reset:function(e){this.splist=[],this.tooltip&&e&&(this.tooltip.remove(),this.tooltip=H)},mouseclick:function(e){var t=T.Event("sparklineClick");t.originalEvent=e,t.sparklines=this.splist,this.$el.trigger(t)},mouseenter:function(e){T(S.body).unbind("mousemove.jqs"),T(S.body).bind("mousemove.jqs",T.proxy(this.mousemove,this)),this.over=!0,this.currentPageX=e.pageX,this.currentPageY=e.pageY,this.currentEl=e.target,!this.tooltip&&this.displayTooltips&&(this.tooltip=new t(this.options),this.tooltip.updatePosition(e.pageX,e.pageY)),this.updateDisplay()},mouseleave:function(){T(S.body).unbind("mousemove.jqs");var e,t=this.splist,n=t.length,i=!1;for(this.over=!1,this.currentEl=null,this.tooltip&&(this.tooltip.remove(),this.tooltip=null),e=0;e<n;e++)t[e].clearRegionHighlight()&&(i=!0);i&&this.canvas.render()},mousemove:function(e){this.currentPageX=e.pageX,this.currentPageY=e.pageY,this.currentEl=e.target,this.tooltip&&this.tooltip.updatePosition(e.pageX,e.pageY),this.updateDisplay()},updateDisplay:function(){var e,t,n,i=this.splist,r=i.length,o=!1,a=this.$canvas.offset(),l=this.currentPageX-a.left,s=this.currentPageY-a.top;if(this.over){for(t=0;t<r;t++)(n=i[t].setRegionHighlight(this.currentEl,l,s))&&(o=!0);if(o){if((a=T.Event("sparklineRegionChange")).sparklines=this.splist,this.$el.trigger(a),this.tooltip){for(e="",t=0;t<r;t++)e+=i[t].getCurrentRegionTooltip();this.tooltip.setContent(e)}this.disableHighlight||this.canvas.render()}null===n&&this.mouseleave()}}}),t=y({sizeStyle:"position: static !important;display: block !important;visibility: hidden !important;float: left !important;",init:function(e){var t=e.get("tooltipClassname","jqstooltip"),n=this.sizeStyle;this.container=e.get("tooltipContainer")||S.body,this.tooltipOffsetX=e.get("tooltipOffsetX",10),this.tooltipOffsetY=e.get("tooltipOffsetY",12),T("#jqssizetip").remove(),T("#jqstooltip").remove(),this.sizetip=T("<div/>",{id:"jqssizetip",style:n,class:t}),this.tooltip=T("<div/>",{id:"jqstooltip",class:t}).appendTo(this.container),e=this.tooltip.offset(),this.offsetLeft=e.left,this.offsetTop=e.top,this.hidden=!0,T(window).unbind("resize.jqs scroll.jqs"),T(window).bind("resize.jqs scroll.jqs",T.proxy(this.updateWindowDims,this)),this.updateWindowDims()},updateWindowDims:function(){this.scrollTop=T(window).scrollTop(),this.scrollLeft=T(window).scrollLeft(),this.scrollRight=this.scrollLeft+T(window).width(),this.updatePosition()},getSize:function(e){this.sizetip.html(e).appendTo(this.container),this.width=this.sizetip.width()+1,this.height=this.sizetip.height(),this.sizetip.remove()},setContent:function(e){e?(this.getSize(e),this.tooltip.html(e).css({width:this.width,height:this.height,visibility:"visible"}),this.hidden&&(this.hidden=!1,this.updatePosition())):(this.tooltip.css("visibility","hidden"),this.hidden=!0)},updatePosition:function(e,t){if(e===H){if(this.mousex===H)return;e=this.mousex-this.offsetLeft,t=this.mousey-this.offsetTop}else this.mousex=e-=this.offsetLeft,this.mousey=t-=this.offsetTop;this.height&&this.width&&!this.hidden&&(t-=this.height+this.tooltipOffsetY,e+=this.tooltipOffsetX,t<this.scrollTop&&(t=this.scrollTop),e<this.scrollLeft?e=this.scrollLeft:e+this.width>this.scrollRight&&(e=this.scrollRight-this.width),this.tooltip.css({left:e,top:t}))},remove:function(){this.tooltip.remove(),this.sizetip.remove(),this.sizetip=this.tooltip=H,T(window).unbind("resize.jqs scroll.jqs")}}),T(function(){e('.jqstooltip { position: absolute;left: 0px;top: 0px;visibility: hidden;background: rgb(0, 0, 0) transparent;background-color: rgba(0,0,0,0.6);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000);-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000)";color: white;font: 10px arial, san serif;text-align: left;white-space: nowrap;padding: 5px;border: 1px solid white;box-sizing: content-box;z-index: 10000;}.jqsfield { color: white;font: 10px arial, san serif;text-align: left;}')}),r=[],T.fn.sparkline=function(l,n){return this.each(function(){var e,o=new T.fn.sparkline.options(this,n),a=T(this),t=function(){var e,t,n,i="html"===l||l===H?(i=(i=this.getAttribute(o.get("tagValuesAttribute")))!==H&&null!==i?i:a.html()).replace(/(^\s*<!--)|(-->\s*$)|\s+/g,"").split(","):l,r="auto"===o.get("width")?i.length*o.get("defaultPixelsPerValue"):o.get("width");"auto"===o.get("height")?o.get("composite")&&T.data(this,"_jqs_vcanvas")||((n=S.createElement("span")).innerHTML="a",a.html(n),e=T(n).innerHeight()||T(n).height(),T(n).remove(),n=null):e=o.get("height"),o.get("disableInteraction")?t=!1:(t=T.data(this,"_jqs_mhandler"))?o.get("composite")||t.reset():(t=new s(this,o),T.data(this,"_jqs_mhandler",t)),o.get("composite")&&!T.data(this,"_jqs_vcanvas")?T.data(this,"_jqs_errnotify")||(alert("Attempted to attach a composite sparkline to an element with no existing sparkline"),T.data(this,"_jqs_errnotify",!0)):((n=new T.fn.sparkline[o.get("type")](this,i,o,r,e)).render(),t&&t.registerSparkline(n))};if(T(this).html()&&!o.get("disableHiddenCheck")&&T(this).is(":hidden")||!T(this).parents("body").length){if(!o.get("composite")&&T.data(this,"_jqs_pending"))for(e=r.length;e;e--)r[e-1][0]==this&&r.splice(e-1,1);r.push([this,t]),T.data(this,"_jqs_pending",!0)}else t.call(this)})},T.fn.sparkline.defaults=n(),T.sparkline_display_visible=function(){for(var e,t=[],n=0,i=r.length;n<i;n++)e=r[n][0],T(e).is(":visible")&&!T(e).parents().is(":hidden")?(r[n][1].call(e),T.data(r[n][0],"_jqs_pending",!1),t.push(n)):T(e).closest("html").length||T.data(e,"_jqs_pending")||(T.data(r[n][0],"_jqs_pending",!1),t.push(n));for(n=t.length;n;n--)r.splice(t[n-1],1)},T.fn.sparkline.options=y({init:function(e,t){var n,i;this.userOptions=t=t||{},this.tag=e,this.tagValCache={},n=(e=T.fn.sparkline.defaults).common,this.tagOptionsPrefix=t.enableTagOptions&&(t.tagOptionsPrefix||n.tagOptionsPrefix),e=(i=this.getTagSetting("type"))===g?e[t.type||n.type]:e[i],this.mergedOptions=T.extend({},n,e,t)},getTagSetting:function(e){var t,n,i,r,o=this.tagOptionsPrefix;if(!1===o||o===H)return g;if(this.tagValCache.hasOwnProperty(e))t=this.tagValCache.key;else{if((t=this.tag.getAttribute(o+e))===H||null===t)t=g;else if("["===t.substr(0,1))for(n=(t=t.substr(1,t.length-2).split(",")).length;n--;)t[n]=R(t[n].replace(/(^\s*)|(\s*$)/g,""));else if("{"===t.substr(0,1))for(i=t.substr(1,t.length-2).split(","),t={},n=i.length;n--;)t[(r=i[n].split(":",2))[0].replace(/(^\s*)|(\s*$)/g,"")]=R(r[1].replace(/(^\s*)|(\s*$)/g,""));else t=R(t);this.tagValCache.key=t}return t},get:function(e,t){var n=this.getTagSetting(e);return n===g&&(n=this.mergedOptions[e])===H?t:n}}),T.fn.sparkline._base=y({disabled:!1,init:function(e,t,n,i,r){this.el=e,this.$el=T(e),this.values=t,this.options=n,this.width=i,this.height=r,this.currentRegion=H},initTarget:function(){var e=!this.options.get("disableInteraction");(this.target=this.$el.simpledraw(this.width,this.height,this.options.get("composite"),e))?(this.canvasWidth=this.target.pixelWidth,this.canvasHeight=this.target.pixelHeight):this.disabled=!0},render:function(){return!this.disabled||(this.el.innerHTML="",!1)},getRegion:function(e,t){},setRegionHighlight:function(e,t,n){var i=this.currentRegion,r=!this.options.get("disableHighlight");return t>this.canvasWidth||n>this.canvasHeight||t<0||n<0?null:i!==(e=this.getRegion(e,t,n))&&(i!==H&&r&&this.removeHighlight(),(this.currentRegion=e)!==H&&r&&this.renderHighlight(),!0)},clearRegionHighlight:function(){return this.currentRegion!==H&&(this.removeHighlight(),!(this.currentRegion=H))},renderHighlight:function(){this.changeHighlight(!0)},removeHighlight:function(){this.changeHighlight(!1)},changeHighlight:function(e){},getCurrentRegionTooltip:function(){var e,t,n,i,r,o,a,l,s,u,c,h,d,f,p=this.options,g="",m=[];if(this.currentRegion===H)return"";if(e=this.getCurrentRegionFields(),c=p.get("tooltipFormatter"))return c(this,p,e);if(p.get("tooltipChartTitle")&&(g+='<div class="jqs jqstitle">'+p.get("tooltipChartTitle")+"</div>\n"),!(t=this.options.get("tooltipFormat")))return"";if(T.isArray(t)||(t=[t]),T.isArray(e)||(e=[e]),a=this.options.get("tooltipFormatFieldlist"),l=this.options.get("tooltipFormatFieldlistKey"),a&&l){for(s=[],o=e.length;o--;)u=e[o][l],-1!=(f=T.inArray(u,a))&&(s[f]=e[o]);e=s}for(n=t.length,d=e.length,o=0;o<n;o++)for(i=(h="string"==typeof(h=t[o])?new v(h):h).fclass||"jqsfield",f=0;f<d;f++)e[f].isNull&&p.get("tooltipSkipNull")||(T.extend(e[f],{prefix:p.get("tooltipPrefix"),suffix:p.get("tooltipSuffix")}),r=h.render(e[f],p.get("tooltipValueLookups"),p),m.push('<div class="'+i+'">'+r+"</div>"));return m.length?g+m.join("\n"):""},getCurrentRegionFields:function(){},calcHighlightColor:function(e,t){var n,i,r,o,a=t.get("highlightColor"),l=t.get("highlightLighten");if(a)return a;if(l&&(n=/^#([0-9a-f])([0-9a-f])([0-9a-f])$/i.exec(e)||/^#([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})$/i.exec(e))){for(r=[],i=4===e.length?16:1,o=0;o<3;o++)r[o]=D(L.round(parseInt(n[o+1],16)*i*l),0,255);return"rgb("+r.join(",")+")"}return e}}),n={changeHighlight:function(e){var t=this.currentRegion,n=this.target,i=this.regionShapes[t];i&&(e=this.renderRegion(t,e),T.isArray(e)||T.isArray(i)?(n.replaceWithShapes(i,e),this.regionShapes[t]=T.map(e,function(e){return e.id})):(n.replaceWithShape(i,e),this.regionShapes[t]=e.id))},render:function(){var e,t,n,i,r=this.values,o=this.target,a=this.regionShapes;if(this.cls._super.render.call(this)){for(n=r.length;n--;)if(e=this.renderRegion(n))if(T.isArray(e)){for(t=[],i=e.length;i--;)e[i].append(),t.push(e[i].id);a[n]=t}else e.append(),a[n]=e.id;else a[n]=null;o.render()}}},T.fn.sparkline.line=I=y(T.fn.sparkline._base,{type:"line",init:function(e,t,n,i,r){I._super.init.call(this,e,t,n,i,r),this.vertices=[],this.regionMap=[],this.xvalues=[],this.yvalues=[],this.yminmax=[],this.hightlightSpotId=null,this.lastShapeId=null,this.initTarget()},getRegion:function(e,t,n){for(var i=this.regionMap,r=i.length;r--;)if(null!==i[r]&&t>=i[r][0]&&t<=i[r][1])return i[r][2];return H},getCurrentRegionFields:function(){var e=this.currentRegion;return{isNull:null===this.yvalues[e],x:this.xvalues[e],y:this.yvalues[e],color:this.options.get("lineColor"),fillColor:this.options.get("fillColor"),offset:e}},renderHighlight:function(){var e=this.currentRegion,t=this.target,e=this.vertices[e],n=this.options,i=n.get("spotRadius"),r=n.get("highlightSpotColor"),n=n.get("highlightLineColor");e&&(i&&r&&(i=t.drawCircle(e[0],e[1],i,H,r),this.highlightSpotId=i.id,t.insertAfterShape(this.lastShapeId,i)),n&&(r=t.drawLine(e[0],this.canvasTop,e[0],this.canvasTop+this.canvasHeight,n),this.highlightLineId=r.id,t.insertAfterShape(this.lastShapeId,r)))},removeHighlight:function(){var e=this.target;this.highlightSpotId&&(e.removeShapeId(this.highlightSpotId),this.highlightSpotId=null),this.highlightLineId&&(e.removeShapeId(this.highlightLineId),this.highlightLineId=null)},scanValues:function(){for(var e,t,n,i,r=this.values,o=r.length,a=this.xvalues,l=this.yvalues,s=this.yminmax,u=0;u<o;u++)e=r[u],t="string"==typeof r[u],n="object"===w(r[u])&&r[u]instanceof Array,i=t&&r[u].split(":"),t&&2===i.length?(a.push(Number(i[0])),l.push(Number(i[1])),s.push(Number(i[1]))):n?(a.push(e[0]),l.push(e[1]),s.push(e[1])):(a.push(u),null===r[u]||"null"===r[u]?l.push(null):(l.push(Number(e)),s.push(Number(e))));this.options.get("xvalues")&&(a=this.options.get("xvalues")),this.maxy=this.maxyorg=L.max.apply(L,s),this.miny=this.minyorg=L.min.apply(L,s),this.maxx=L.max.apply(L,a),this.minx=L.min.apply(L,a),this.xvalues=a,this.yvalues=l,this.yminmax=s},processRangeOptions:function(){var e=this.options,t=e.get("normalRangeMin"),n=e.get("normalRangeMax");t!==H&&(t<this.miny&&(this.miny=t),n>this.maxy&&(this.maxy=n)),e.get("chartRangeMin")!==H&&(e.get("chartRangeClip")||e.get("chartRangeMin")<this.miny)&&(this.miny=e.get("chartRangeMin")),e.get("chartRangeMax")!==H&&(e.get("chartRangeClip")||e.get("chartRangeMax")>this.maxy)&&(this.maxy=e.get("chartRangeMax")),e.get("chartRangeMinX")!==H&&(e.get("chartRangeClipX")||e.get("chartRangeMinX")<this.minx)&&(this.minx=e.get("chartRangeMinX")),e.get("chartRangeMaxX")!==H&&(e.get("chartRangeClipX")||e.get("chartRangeMaxX")>this.maxx)&&(this.maxx=e.get("chartRangeMaxX"))},drawNormalRange:function(e,t,n,i,r){var o=this.options.get("normalRangeMin"),a=this.options.get("normalRangeMax"),t=t+L.round(n-n*((a-this.miny)/r)),n=L.round(n*(a-o)/r);this.target.drawRect(e,t,i,n,H,this.options.get("normalRangeColor")).append()},render:function(){var e,t,n,i,r,o,a,l,s,u,c,h,d,f,p,g,m,v,y,b,_,w,x=this.options,S=this.target,C=this.canvasWidth,E=this.canvasHeight,k=this.vertices,M=x.get("spotRadius"),D=this.regionMap;if(I._super.render.call(this)&&(this.scanValues(),this.processRangeOptions(),b=this.xvalues,_=this.yvalues,this.yminmax.length&&!(this.yvalues.length<2))){for(i=r=0,e=this.maxx-this.minx==0?1:this.maxx-this.minx,t=this.maxy-this.miny==0?1:this.maxy-this.miny,n=this.yvalues.length-1,(M=M&&(C<4*M||E<4*M)?0:M)&&(((v=x.get("highlightSpotColor")&&!x.get("disableInteraction"))||x.get("minSpotColor")||x.get("spotColor")&&_[n]===this.miny)&&(E-=L.ceil(M)),(v||x.get("maxSpotColor")||x.get("spotColor")&&_[n]===this.maxy)&&(E-=L.ceil(M),i+=L.ceil(M)),!v&&(!x.get("minSpotColor")&&!x.get("maxSpotColor")||_[0]!==this.miny&&_[0]!==this.maxy)||(r+=L.ceil(M),C-=L.ceil(M)),(v||x.get("spotColor")||x.get("minSpotColor")||x.get("maxSpotColor")&&(_[n]===this.miny||_[n]===this.maxy))&&(C-=L.ceil(M))),E--,x.get("normalRangeMin")===H||x.get("drawNormalOnTop")||this.drawNormalRange(r,i,E,C,t),a=[o=[]],c=null,d=_.length,w=0;w<d;w++)l=b[w],h=b[w+1],s=_[w],u=r+L.round((l-this.minx)*(C/e)),h=w<d-1?r+L.round((h-this.minx)*(C/e)):C,D[w]=[c||0,h=u+(h-u)/2,w],c=h,null===s?w&&(null!==_[w-1]&&a.push(o=[]),k.push(null)):((s=s<this.miny?this.miny:s)>this.maxy&&(s=this.maxy),o.length||o.push([u,i+E]),h=[u,i+L.round(E-E*((s-this.miny)/t))],o.push(h),k.push(h));for(f=[],p=[],g=a.length,w=0;w<g;w++)(o=a[w]).length&&(x.get("fillColor")&&(o.push([o[o.length-1][0],i+E]),p.push(o.slice(0)),o.pop()),2<o.length&&(o[0]=[o[0][0],o[1][1]]),f.push(o));for(g=p.length,w=0;w<g;w++)S.drawShape(p[w],x.get("fillColor"),x.get("fillColor")).append();for(x.get("normalRangeMin")!==H&&x.get("drawNormalOnTop")&&this.drawNormalRange(r,i,E,C,t),g=f.length,w=0;w<g;w++)S.drawShape(f[w],x.get("lineColor"),H,x.get("lineWidth")).append();if(M&&x.get("valueSpots"))for((m=x.get("valueSpots")).get===H&&(m=new P(m)),w=0;w<d;w++)(y=m.get(_[w]))&&S.drawCircle(r+L.round((b[w]-this.minx)*(C/e)),i+L.round(E-E*((_[w]-this.miny)/t)),M,H,y).append();M&&x.get("spotColor")&&null!==_[n]&&S.drawCircle(r+L.round((b[b.length-1]-this.minx)*(C/e)),i+L.round(E-E*((_[n]-this.miny)/t)),M,H,x.get("spotColor")).append(),this.maxy!==this.minyorg&&(M&&x.get("minSpotColor")&&(l=b[T.inArray(this.minyorg,_)],S.drawCircle(r+L.round((l-this.minx)*(C/e)),i+L.round(E-E*((this.minyorg-this.miny)/t)),M,H,x.get("minSpotColor")).append()),M&&x.get("maxSpotColor")&&(l=b[T.inArray(this.maxyorg,_)],S.drawCircle(r+L.round((l-this.minx)*(C/e)),i+L.round(E-E*((this.maxyorg-this.miny)/t)),M,H,x.get("maxSpotColor")).append())),this.lastShapeId=S.getLastShapeId(),this.canvasTop=i,S.render()}}}),T.fn.sparkline.bar=N=y(T.fn.sparkline._base,n,{type:"bar",init:function(e,t,n,i,r){var o,a,l,s,u,c,h,d,f,p,g=parseInt(n.get("barWidth"),10),m=parseInt(n.get("barSpacing"),10),v=n.get("chartRangeMin"),y=n.get("chartRangeMax"),b=n.get("chartRangeClip"),_=1/0,w=-1/0;for(N._super.init.call(this,e,t,n,i,r),k=0,M=t.length;k<M;k++)((o="string"==typeof(f=t[k])&&-1<f.indexOf(":"))||T.isArray(f))&&(s=!0,o&&(f=t[k]=A(f.split(":"))),f=O(f,null),(o=L.min.apply(L,f))<_&&(_=o),w<(o=L.max.apply(L,f))&&(w=o));this.stacked=s,this.regionShapes={},this.barWidth=g,this.barSpacing=m,this.totalBarWidth=g+m,this.width=i=t.length*g+(t.length-1)*m,this.initTarget(),b&&(a=v===H?-1/0:v,l=y===H?1/0:y);for(var x=[],S=s?[]:x,C=[],E=[],k=0,M=t.length;k<M;k++)if(s)for(u=t[k],t[k]=d=[],C[k]=0,c=S[k]=E[k]=0,h=u.length;c<h;c++)null!==(f=d[c]=b?D(u[c],a,l):u[c])&&(0<f&&(C[k]+=f),_<0&&0<w?f<0?E[k]+=L.abs(f):S[k]+=f:S[k]+=L.abs(f-(f<0?w:_)),x.push(f));else f=b?D(t[k],a,l):t[k],null!==(f=t[k]=R(f))&&x.push(f);this.max=e=L.max.apply(L,x),this.min=r=L.min.apply(L,x),this.stackMax=w=s?L.max.apply(L,C):e,this.stackMin=_=s?L.min.apply(L,x):r,n.get("chartRangeMin")!==H&&(n.get("chartRangeClip")||n.get("chartRangeMin")<r)&&(r=n.get("chartRangeMin")),n.get("chartRangeMax")!==H&&(n.get("chartRangeClip")||n.get("chartRangeMax")>e)&&(e=n.get("chartRangeMax")),this.zeroAxis=g=n.get("zeroAxis",!0),this.xaxisOffset=m=r<=0&&0<=e&&g?0:0==g||0<r?r:e,i=s?L.max.apply(L,S)+L.max.apply(L,E):e-r,this.canvasHeightEf=g&&r<0?this.canvasHeight-2:this.canvasHeight-1,r<m?(p=((s&&0<=e?w:e)-m)/i*this.canvasHeight)!==L.ceil(p)&&(this.canvasHeightEf-=2,p=L.ceil(p)):p=this.canvasHeight,this.yoffset=p,T.isArray(n.get("colorMap"))?(this.colorMapByIndex=n.get("colorMap"),this.colorMapByValue=null):(this.colorMapByIndex=null,this.colorMapByValue=n.get("colorMap"),this.colorMapByValue&&this.colorMapByValue.get===H&&(this.colorMapByValue=new P(this.colorMapByValue))),this.range=i},getRegion:function(e,t,n){t=L.floor(t/this.totalBarWidth);return t<0||t>=this.values.length?H:t},getCurrentRegionFields:function(){for(var e,t=this.currentRegion,n=o(this.values[t]),i=[],r=n.length;r--;)e=n[r],i.push({isNull:null===e,value:e,color:this.calcColor(r,e,t),offset:t});return i},calcColor:function(e,t,n){var i=this.colorMapByIndex,r=this.colorMapByValue,o=this.options,a=this.stacked?o.get("stackedBarColor"):t<0?o.get("negBarColor"):o.get("barColor");return 0===t&&o.get("zeroColor")!==H&&(a=o.get("zeroColor")),r&&(o=r.get(t))?a=o:i&&i.length>n&&(a=i[n]),T.isArray(a)?a[e%a.length]:a},renderRegion:function(e,t){var n,i,r,o,a,l,s,u=this.values[e],c=this.options,h=this.xaxisOffset,d=[],f=this.range,p=this.stacked,g=this.target,m=e*this.totalBarWidth,v=this.canvasHeightEf,y=this.yoffset,b=(u=T.isArray(u)?u:[u]).length,_=(u[0],x(null,u)),w=x(h,u,!0);if(_)return c.get("nullColor")?(r=t?c.get("nullColor"):this.calcHighlightColor(c.get("nullColor"),c),g.drawRect(m,n=0<y?y-1:y,this.barWidth-1,0,r,r)):H;for(o=y,a=0;a<b;a++){if(s=u[a],p&&s===h){if(!w||l)continue;l=!0}i=0<f?L.floor(v*(L.abs(s-h)/f))+1:1,s<h||s===h&&0===y?(n=o,o+=i):(n=y-i,y-=i),r=this.calcColor(a,s,e),t&&(r=this.calcHighlightColor(r,c)),d.push(g.drawRect(m,n,this.barWidth-1,i-1,r,r))}return 1===d.length?d[0]:d}}),T.fn.sparkline.tristate=l=y(T.fn.sparkline._base,n,{type:"tristate",init:function(e,t,n,i,r){var o=parseInt(n.get("barWidth"),10),a=parseInt(n.get("barSpacing"),10);l._super.init.call(this,e,t,n,i,r),this.regionShapes={},this.barWidth=o,this.barSpacing=a,this.totalBarWidth=o+a,this.values=T.map(t,Number),this.width=i=t.length*o+(t.length-1)*a,T.isArray(n.get("colorMap"))?(this.colorMapByIndex=n.get("colorMap"),this.colorMapByValue=null):(this.colorMapByIndex=null,this.colorMapByValue=n.get("colorMap"),this.colorMapByValue&&this.colorMapByValue.get===H&&(this.colorMapByValue=new P(this.colorMapByValue))),this.initTarget()},getRegion:function(e,t,n){return L.floor(t/this.totalBarWidth)},getCurrentRegionFields:function(){var e=this.currentRegion;return{isNull:this.values[e]===H,value:this.values[e],color:this.calcColor(this.values[e],e),offset:e}},calcColor:function(e,t){var n=this.values,i=this.options,r=this.colorMapByIndex,o=this.colorMapByValue,e=o&&(o=o.get(e))?o:r&&r.length>t?r[t]:n[t]<0?i.get("negBarColor"):0<n[t]?i.get("posBarColor"):i.get("zeroBarColor");return e},renderRegion:function(e,t){var n,i=this.values,r=this.options,o=this.target,a=o.pixelHeight,a=L.round(a/2),l=e*this.totalBarWidth,a=i[e]<0?(n=a)-1:0<i[e]?(n=0,a-1):(n=a-1,2),i=this.calcColor(i[e],e);if(null!==i)return t&&(i=this.calcHighlightColor(i,r)),o.drawRect(l,n,this.barWidth-1,a-1,i,i)}}),T.fn.sparkline.discrete=a=y(T.fn.sparkline._base,n,{type:"discrete",init:function(e,t,n,i,r){a._super.init.call(this,e,t,n,i,r),this.regionShapes={},this.values=t=T.map(t,Number),this.min=L.min.apply(L,t),this.max=L.max.apply(L,t),this.range=this.max-this.min,this.width=i="auto"===n.get("width")?2*t.length:this.width,this.interval=L.floor(i/t.length),this.itemWidth=i/t.length,n.get("chartRangeMin")!==H&&(n.get("chartRangeClip")||n.get("chartRangeMin")<this.min)&&(this.min=n.get("chartRangeMin")),n.get("chartRangeMax")!==H&&(n.get("chartRangeClip")||n.get("chartRangeMax")>this.max)&&(this.max=n.get("chartRangeMax")),this.initTarget(),this.target&&(this.lineHeight="auto"===n.get("lineHeight")?L.round(.3*this.canvasHeight):n.get("lineHeight"))},getRegion:function(e,t,n){return L.floor(t/this.itemWidth)},getCurrentRegionFields:function(){var e=this.currentRegion;return{isNull:this.values[e]===H,value:this.values[e],offset:e}},renderRegion:function(e,t){var n=this.values,i=this.options,r=this.min,o=this.max,a=this.range,l=this.interval,s=this.target,u=this.canvasHeight,c=this.lineHeight,u=u-c,n=D(n[e],r,o),o=e*l,e=L.round(u-(n-r)/a*u),l=i.get("thresholdColor")&&n<i.get("thresholdValue")?i.get("thresholdColor"):i.get("lineColor");return t&&(l=this.calcHighlightColor(l,i)),s.drawLine(o,e,o,e+c,l)}}),T.fn.sparkline.bullet=h=y(T.fn.sparkline._base,{type:"bullet",init:function(e,t,n,i,r){var o;h._super.init.call(this,e,t,n,i,r),this.values=t=A(t),(e=t.slice())[0]=null===e[0]?e[2]:e[0],e[1]=null===t[1]?e[2]:e[1],e=L.min.apply(L,t),o=L.max.apply(L,t),e=n.get("base")===H?e<0?e:0:n.get("base"),this.min=e,this.max=o,this.range=o-e,this.shapes={},this.valueShapes={},this.regiondata={},this.width=i="auto"===n.get("width")?"4.0em":i,this.target=this.$el.simpledraw(i,r,n.get("composite")),t.length||(this.disabled=!0),this.initTarget()},getRegion:function(e,t,n){e=this.target.getShapeAt(e,t,n);return e!==H&&this.shapes[e]!==H?this.shapes[e]:H},getCurrentRegionFields:function(){var e=this.currentRegion;return{fieldkey:e.substr(0,1),value:this.values[e.substr(1)],region:e}},changeHighlight:function(e){var t,n=this.currentRegion,i=this.valueShapes[n];switch(delete this.shapes[i],n.substr(0,1)){case"r":t=this.renderRange(n.substr(1),e);break;case"p":t=this.renderPerformance(e);break;case"t":t=this.renderTarget(e)}this.valueShapes[n]=t.id,this.shapes[t.id]=n,this.target.replaceWithShape(i,t)},renderRange:function(e,t){var n=this.values[e],n=L.round(this.canvasWidth*((n-this.min)/this.range)),e=this.options.get("rangeColors")[e-2];return t&&(e=this.calcHighlightColor(e,this.options)),this.target.drawRect(0,0,n-1,this.canvasHeight-1,e,e)},renderPerformance:function(e){var t=this.values[1],t=L.round(this.canvasWidth*((t-this.min)/this.range)),n=this.options.get("performanceColor");return e&&(n=this.calcHighlightColor(n,this.options)),this.target.drawRect(0,L.round(.3*this.canvasHeight),t-1,L.round(.4*this.canvasHeight)-1,n,n)},renderTarget:function(e){var t=this.values[0],t=L.round(this.canvasWidth*((t-this.min)/this.range)-this.options.get("targetWidth")/2),n=L.round(.1*this.canvasHeight),i=this.canvasHeight-2*n,r=this.options.get("targetColor");return e&&(r=this.calcHighlightColor(r,this.options)),this.target.drawRect(t,n,this.options.get("targetWidth")-1,i-1,r,r)},render:function(){var e,t,n=this.values.length,i=this.target;if(h._super.render.call(this)){for(e=2;e<n;e++)t=this.renderRange(e).append(),this.shapes[t.id]="r"+e,this.valueShapes["r"+e]=t.id;null!==this.values[1]&&(t=this.renderPerformance().append(),this.shapes[t.id]="p1",this.valueShapes.p1=t.id),null!==this.values[0]&&(t=this.renderTarget().append(),this.shapes[t.id]="t0",this.valueShapes.t0=t.id),i.render()}}}),T.fn.sparkline.pie=d=y(T.fn.sparkline._base,{type:"pie",init:function(e,t,n,i,r){var o,a=0;if(d._super.init.call(this,e,t,n,i,r),this.shapes={},this.valueShapes={},this.values=t=T.map(t,Number),"auto"===n.get("width")&&(this.width=this.height),0<t.length)for(o=t.length;o--;)a+=t[o];this.total=a,this.initTarget(),this.radius=L.floor(L.min(this.canvasWidth,this.canvasHeight)/2)},getRegion:function(e,t,n){e=this.target.getShapeAt(e,t,n);return e!==H&&this.shapes[e]!==H?this.shapes[e]:H},getCurrentRegionFields:function(){var e=this.currentRegion;return{isNull:this.values[e]===H,value:this.values[e],percent:this.values[e]/this.total*100,color:this.options.get("sliceColors")[e%this.options.get("sliceColors").length],offset:e}},changeHighlight:function(e){var t=this.currentRegion,e=this.renderSlice(t,e),n=this.valueShapes[t];delete this.shapes[n],this.target.replaceWithShape(n,e),this.valueShapes[t]=e.id,this.shapes[e.id]=t},renderSlice:function(e,t){for(var n,i,r,o=this.target,a=this.options,l=this.radius,s=a.get("borderWidth"),u=a.get("offset"),c=2*L.PI,h=this.values,d=this.total,f=u?2*L.PI*(u/360):0,p=h.length,g=0;g<p;g++){if(i=n=f,0<d&&(i=f+c*(h[g]/d)),e===g)return r=a.get("sliceColors")[g%a.get("sliceColors").length],t&&(r=this.calcHighlightColor(r,a)),o.drawPieSlice(l,l,l-s,n,i,H,r);f=i}},render:function(){var e,t,n=this.target,i=this.values,r=this.options,o=this.radius,a=r.get("borderWidth"),l=r.get("donutWidth");if(d._super.render.call(this)){for(a&&n.drawCircle(o,o,L.floor(o-a/2),r.get("borderColor"),H,a).append(),t=i.length;t--;)i[t]&&(e=this.renderSlice(t).append(),this.valueShapes[t]=e.id,this.shapes[e.id]=t);l&&n.drawCircle(o,o,o-l,r.get("donutColor"),r.get("donutColor"),0).append(),n.render()}}}),T.fn.sparkline.box=_=y(T.fn.sparkline._base,{type:"box",init:function(e,t,n,i,r){_._super.init.call(this,e,t,n,i,r),this.values=T.map(t,Number),this.width="auto"===n.get("width")?"4.0em":i,this.initTarget(),this.values.length||(this.disabled=1)},getRegion:function(){return 1},getCurrentRegionFields:function(){var e=[{field:"lq",value:this.quartiles[0]},{field:"med",value:this.quartiles[1]},{field:"uq",value:this.quartiles[2]}];return this.loutlier!==H&&e.push({field:"lo",value:this.loutlier}),this.routlier!==H&&e.push({field:"ro",value:this.routlier}),this.lwhisker!==H&&e.push({field:"lw",value:this.lwhisker}),this.rwhisker!==H&&e.push({field:"rw",value:this.rwhisker}),e},render:function(){var e,t,n,i,r,o,a,l,s,u,c=this.target,h=this.values,d=h.length,f=this.options,p=this.canvasWidth,g=this.canvasHeight,m=f.get("chartRangeMin")===H?L.min.apply(L,h):f.get("chartRangeMin"),v=f.get("chartRangeMax")===H?L.max.apply(L,h):f.get("chartRangeMax"),y=0;if(_._super.render.call(this)){if(f.get("raw"))f.get("showOutliers")&&5<h.length?(t=h[0],e=h[1],i=h[2],r=h[3],o=h[4],a=h[5],l=h[6]):(e=h[0],i=h[1],r=h[2],o=h[3],a=h[4]);else if(h.sort(function(e,t){return e-t}),i=b(h,1),r=b(h,2),n=(o=b(h,3))-i,f.get("showOutliers")){for(e=a=H,s=0;s<d;s++)e===H&&h[s]>i-n*f.get("outlierIQR")&&(e=h[s]),h[s]<o+n*f.get("outlierIQR")&&(a=h[s]);t=h[0],l=h[d-1]}else e=h[0],a=h[d-1];this.quartiles=[i,r,o],this.lwhisker=e,this.rwhisker=a,this.loutlier=t,this.routlier=l,u=p/(v-m+1),f.get("showOutliers")&&(y=L.ceil(f.get("spotRadius")),u=(p-=2*L.ceil(f.get("spotRadius")))/(v-m+1),t<e&&c.drawCircle((t-m)*u+y,g/2,f.get("spotRadius"),f.get("outlierLineColor"),f.get("outlierFillColor")).append(),a<l&&c.drawCircle((l-m)*u+y,g/2,f.get("spotRadius"),f.get("outlierLineColor"),f.get("outlierFillColor")).append()),c.drawRect(L.round((i-m)*u+y),L.round(.1*g),L.round((o-i)*u),L.round(.8*g),f.get("boxLineColor"),f.get("boxFillColor")).append(),c.drawLine(L.round((e-m)*u+y),L.round(g/2),L.round((i-m)*u+y),L.round(g/2),f.get("lineColor")).append(),c.drawLine(L.round((e-m)*u+y),L.round(g/4),L.round((e-m)*u+y),L.round(g-g/4),f.get("whiskerColor")).append(),c.drawLine(L.round((a-m)*u+y),L.round(g/2),L.round((o-m)*u+y),L.round(g/2),f.get("lineColor")).append(),c.drawLine(L.round((a-m)*u+y),L.round(g/4),L.round((a-m)*u+y),L.round(g-g/4),f.get("whiskerColor")).append(),c.drawLine(L.round((r-m)*u+y),L.round(.1*g),L.round((r-m)*u+y),L.round(.9*g),f.get("medianColor")).append(),f.get("target")&&(p=L.ceil(f.get("spotRadius")),c.drawLine(L.round((f.get("target")-m)*u+y),L.round(g/2-p),L.round((f.get("target")-m)*u+y),L.round(g/2+p),f.get("targetColor")).append(),c.drawLine(L.round((f.get("target")-m)*u+y-p),L.round(g/2),L.round((f.get("target")-m)*u+y+p),L.round(g/2),f.get("targetColor")).append()),c.render()}}}),i=y({init:function(e,t,n,i){this.target=e,this.id=t,this.type=n,this.args=i},append:function(){return this.target.appendShape(this),this}}),n=y({_pxregex:/(\d+)(px)?\s*$/i,init:function(e,t,n){e&&(this.width=e,this.height=t,this.target=n,this.lastShapeId=null,n[0]&&(n=n[0]),T.data(n,"_jqs_vcanvas",this))},drawLine:function(e,t,n,i,r,o){return this.drawShape([[e,t],[n,i]],r,o)},drawShape:function(e,t,n,i){return this._genShape("Shape",[e,t,n,i])},drawCircle:function(e,t,n,i,r,o){return this._genShape("Circle",[e,t,n,i,r,o])},drawPieSlice:function(e,t,n,i,r,o,a){return this._genShape("PieSlice",[e,t,n,i,r,o,a])},drawRect:function(e,t,n,i,r,o){return this._genShape("Rect",[e,t,n,i,r,o])},getElement:function(){return this.canvas},getLastShapeId:function(){return this.lastShapeId},reset:function(){alert("reset not implemented")},_insert:function(e,t){T(t).html(e)},_calculatePixelDims:function(e,t,n){t=this._pxregex.exec(t);this.pixelHeight=t?t[1]:T(n).height(),t=this._pxregex.exec(e),this.pixelWidth=t?t[1]:T(n).width()},_genShape:function(e,t){var n=m++;return t.unshift(n),new i(this,n,e,t)},appendShape:function(e){alert("appendShape not implemented")},replaceWithShape:function(e,t){alert("replaceWithShape not implemented")},insertAfterShape:function(e,t){alert("insertAfterShape not implemented")},removeShapeId:function(e){alert("removeShapeId not implemented")},getShapeAt:function(e,t,n){alert("getShapeAt not implemented")},render:function(){alert("render not implemented")}}),f=y(n,{init:function(e,t,n,i){f._super.init.call(this,e,t,n),this.canvas=S.createElement("canvas"),n[0]&&(n=n[0]),T.data(n,"_jqs_vcanvas",this),T(this.canvas).css({display:"inline-block",width:e,height:t,verticalAlign:"top"}),this._insert(this.canvas,n),this._calculatePixelDims(e,t,this.canvas),this.canvas.width=this.pixelWidth,this.canvas.height=this.pixelHeight,this.interact=i,this.shapes={},this.shapeseq=[],this.currentTargetShapeId=H,T(this.canvas).css({width:this.pixelWidth,height:this.pixelHeight})},_getContext:function(e,t,n){var i=this.canvas.getContext("2d");return e!==H&&(i.strokeStyle=e),i.lineWidth=n===H?1:n,t!==H&&(i.fillStyle=t),i},reset:function(){this._getContext().clearRect(0,0,this.pixelWidth,this.pixelHeight),this.shapes={},this.shapeseq=[],this.currentTargetShapeId=H},_drawShape:function(e,t,n,i,r){var o,a,l=this._getContext(n,i,r);for(l.beginPath(),l.moveTo(t[0][0]+.5,t[0][1]+.5),o=1,a=t.length;o<a;o++)l.lineTo(t[o][0]+.5,t[o][1]+.5);n!==H&&l.stroke(),i!==H&&l.fill(),this.targetX!==H&&this.targetY!==H&&l.isPointInPath(this.targetX,this.targetY)&&(this.currentTargetShapeId=e)},_drawCircle:function(e,t,n,i,r,o,a){a=this._getContext(r,o,a);a.beginPath(),a.arc(t,n,i,0,2*L.PI,!1),this.targetX!==H&&this.targetY!==H&&a.isPointInPath(this.targetX,this.targetY)&&(this.currentTargetShapeId=e),r!==H&&a.stroke(),o!==H&&a.fill()},_drawPieSlice:function(e,t,n,i,r,o,a,l){var s=this._getContext(a,l);s.beginPath(),s.moveTo(t,n),s.arc(t,n,i,r,o,!1),s.lineTo(t,n),s.closePath(),a!==H&&s.stroke(),l&&s.fill(),this.targetX!==H&&this.targetY!==H&&s.isPointInPath(this.targetX,this.targetY)&&(this.currentTargetShapeId=e)},_drawRect:function(e,t,n,i,r,o,a){return this._drawShape(e,[[t,n],[t+i,n],[t+i,n+r],[t,n+r],[t,n]],o,a)},appendShape:function(e){return this.shapes[e.id]=e,this.shapeseq.push(e.id),this.lastShapeId=e.id,e.id},replaceWithShape:function(e,t){var n,i=this.shapeseq;for(this.shapes[t.id]=t,n=i.length;n--;)i[n]==e&&(i[n]=t.id);delete this.shapes[e]},replaceWithShapes:function(e,t){for(var n,i,r=this.shapeseq,o={},a=e.length;a--;)o[e[a]]=!0;for(a=r.length;a--;)o[n=r[a]]&&(r.splice(a,1),delete this.shapes[n],i=a);for(a=t.length;a--;)r.splice(i,0,t[a].id),this.shapes[t[a].id]=t[a]},insertAfterShape:function(e,t){for(var n=this.shapeseq,i=n.length;i--;)if(n[i]===e)return n.splice(i+1,0,t.id),void(this.shapes[t.id]=t)},removeShapeId:function(e){for(var t=this.shapeseq,n=t.length;n--;)if(t[n]===e){t.splice(n,1);break}delete this.shapes[e]},getShapeAt:function(e,t,n){return this.targetX=t,this.targetY=n,this.render(),this.currentTargetShapeId},render:function(){var e,t,n=this.shapeseq,i=this.shapes,r=n.length;for(this._getContext().clearRect(0,0,this.pixelWidth,this.pixelHeight),t=0;t<r;t++)this["_draw"+(e=i[n[t]]).type].apply(this,e.args);this.interact||(this.shapes={},this.shapeseq=[])}}),p=y(n,{init:function(e,t,n){p._super.init.call(this,e,t,n),n[0]&&(n=n[0]),T.data(n,"_jqs_vcanvas",this),this.canvas=S.createElement("span"),T(this.canvas).css({display:"inline-block",position:"relative",overflow:"hidden",width:e,height:t,margin:"0px",padding:"0px",verticalAlign:"top"}),this._insert(this.canvas,n),this._calculatePixelDims(e,t,this.canvas),this.canvas.width=this.pixelWidth,this.canvas.height=this.pixelHeight,n='<v:group coordorigin="0 0" coordsize="'+this.pixelWidth+" "+this.pixelHeight+'" style="position:absolute;top:0;left:0;width:'+this.pixelWidth+"px;height="+this.pixelHeight+'px;"></v:group>',this.canvas.insertAdjacentHTML("beforeEnd",n),this.group=T(this.canvas).children()[0],this.rendered=!1,this.prerender=""},_drawShape:function(e,t,n,i,r){for(var o,a,l=[],s=0,u=t.length;s<u;s++)l[s]=t[s][0]+","+t[s][1];return o=l.splice(0,1),r=r===H?1:r,a=l[0]===l[l.length-1]?"x ":"",'<v:shape coordorigin="0 0" coordsize="'+this.pixelWidth+" "+this.pixelHeight+'" id="jqsshape'+e+'" '+(n===H?' stroked="false" ':' strokeWeight="'+r+'px" strokeColor="'+n+'" ')+(i===H?' filled="false"':' fillColor="'+i+'" filled="true" ')+' style="position:absolute;left:0px;top:0px;height:'+this.pixelHeight+"px;width:"+this.pixelWidth+'px;padding:0px;margin:0px;" path="m '+o+" l "+l.join(", ")+" "+a+'e"> </v:shape>'},_drawCircle:function(e,t,n,i,r,o,a){return'<v:oval id="jqsshape'+e+'" '+(r===H?' stroked="false" ':' strokeWeight="'+a+'px" strokeColor="'+r+'" ')+(o===H?' filled="false"':' fillColor="'+o+'" filled="true" ')+' style="position:absolute;top:'+(n-=i)+"px; left:"+(t-=i)+"px; width:"+2*i+"px; height:"+2*i+'px"></v:oval>'},_drawPieSlice:function(e,t,n,i,r,o,a,l){var s,u,c,h;if(r===o)return"";if(o-r==2*L.PI&&(r=0,o=2*L.PI),s=t+L.round(L.cos(r)*i),u=n+L.round(L.sin(r)*i),c=t+L.round(L.cos(o)*i),h=n+L.round(L.sin(o)*i),s===c&&u===h){if(o-r<L.PI)return"";s=c=t+i,u=h=n}return s===c&&u===h&&o-r<L.PI?"":'<v:shape coordorigin="0 0" coordsize="'+this.pixelWidth+" "+this.pixelHeight+'" id="jqsshape'+e+'" '+(a===H?' stroked="false" ':' strokeWeight="1px" strokeColor="'+a+'" ')+(l===H?' filled="false"':' fillColor="'+l+'" filled="true" ')+' style="position:absolute;left:0px;top:0px;height:'+this.pixelHeight+"px;width:"+this.pixelWidth+'px;padding:0px;margin:0px;" path="m '+t+","+n+" wa "+[t-i,n-i,t+i,n+i,s,u,c,h].join(", ")+' x e"> </v:shape>'},_drawRect:function(e,t,n,i,r,o,a){return this._drawShape(e,[[t,n],[t,n+r],[t+i,n+r],[t+i,n],[t,n]],o,a)},reset:function(){this.group.innerHTML=""},appendShape:function(e){var t=this["_draw"+e.type].apply(this,e.args);return this.rendered?this.group.insertAdjacentHTML("beforeEnd",t):this.prerender+=t,this.lastShapeId=e.id,e.id},replaceWithShape:function(e,t){e=T("#jqsshape"+e),t=this["_draw"+t.type].apply(this,t.args);e[0].outerHTML=t},replaceWithShapes:function(e,t){for(var n=T("#jqsshape"+e[0]),i="",r=t.length,o=0;o<r;o++)i+=this["_draw"+t[o].type].apply(this,t[o].args);for(n[0].outerHTML=i,o=1;o<e.length;o++)T("#jqsshape"+e[o]).remove()},insertAfterShape:function(e,t){e=T("#jqsshape"+e),t=this["_draw"+t.type].apply(this,t.args);e[0].insertAdjacentHTML("afterEnd",t)},removeShapeId:function(e){e=T("#jqsshape"+e);this.group.removeChild(e[0])},getShapeAt:function(e,t,n){return e.id.substr(8)},render:function(){this.rendered||(this.group.innerHTML=this.prerender,this.rendered=!0)}})},"function"==typeof define&&define.amd?define(["jquery"],i):jQuery&&!jQuery.fn.sparkline&&i(jQuery)},{}],20:[function(e,t,n){"use strict";function Jt(e){return(Jt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var i,r;i="undefined"!=typeof window?window:void 0,r=function(w,L){function y(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item}function g(e){return null!=e&&e===e.window}var t=[],H=Object.getPrototypeOf,l=t.slice,W=t.flat?function(e){return t.flat.call(e)}:function(e){return t.concat.apply([],e)},j=t.push,F=t.indexOf,z={},V=z.toString,B=z.hasOwnProperty,Y=B.toString,U=Y.call(Object),m={},x=w.document,q={type:!0,src:!0,nonce:!0,noModule:!0};function Z(e,t,n){var i,r,o=(n=n||x).createElement("script");if(o.text=e,t)for(i in q)(r=t[i]||t.getAttribute&&t.getAttribute(i))&&o.setAttribute(i,r);n.head.appendChild(o).parentNode.removeChild(o)}function p(e){return null==e?e+"":"object"===Jt(e)||"function"==typeof e?z[V.call(e)]||"object":Jt(e)}var S=function e(t,n){return new e.fn.init(t,n)};function G(e){var t=!!e&&"length"in e&&e.length,n=p(e);return!y(e)&&!g(e)&&("array"===n||0===t||"number"==typeof t&&0<t&&t-1 in e)}S.fn=S.prototype={jquery:"3.6.0",constructor:S,length:0,toArray:function(){return l.call(this)},get:function(e){return null==e?l.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){e=S.merge(this.constructor(),e);return e.prevObject=this,e},each:function(e){return S.each(this,e)},map:function(n){return this.pushStack(S.map(this,function(e,t){return n.call(e,t,e)}))},slice:function(){return this.pushStack(l.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(S.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(S.grep(this,function(e,t){return t%2}))},eq:function(e){var t=this.length,e=+e+(e<0?t:0);return this.pushStack(0<=e&&e<t?[this[e]]:[])},end:function(){return this.prevObject||this.constructor()},push:j,sort:t.sort,splice:t.splice},S.extend=S.fn.extend=function(){var e,t,n,i,r,o=arguments[0]||{},a=1,l=arguments.length,s=!1;for("boolean"==typeof o&&(s=o,o=arguments[a]||{},a++),"object"===Jt(o)||y(o)||(o={}),a===l&&(o=this,a--);a<l;a++)if(null!=(e=arguments[a]))for(t in e)n=e[t],"__proto__"!==t&&o!==n&&(s&&n&&(S.isPlainObject(n)||(i=Array.isArray(n)))?(r=o[t],r=i&&!Array.isArray(r)?[]:i||S.isPlainObject(r)?r:{},i=!1,o[t]=S.extend(s,r,n)):void 0!==n&&(o[t]=n));return o},S.extend({expando:"jQuery"+("3.6.0"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){return!(!e||"[object Object]"!==V.call(e))&&(!(e=H(e))||"function"==typeof(e=B.call(e,"constructor")&&e.constructor)&&Y.call(e)===U)},isEmptyObject:function(e){for(var t in e)return!1;return!0},globalEval:function(e,t,n){Z(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,i=0;if(G(e))for(n=e.length;i<n&&!1!==t.call(e[i],i,e[i]);i++);else for(i in e)if(!1===t.call(e[i],i,e[i]))break;return e},makeArray:function(e,t){t=t||[];return null!=e&&(G(Object(e))?S.merge(t,"string"==typeof e?[e]:e):j.call(t,e)),t},inArray:function(e,t,n){return null==t?-1:F.call(t,e,n)},merge:function(e,t){for(var n=+t.length,i=0,r=e.length;i<n;i++)e[r++]=t[i];return e.length=r,e},grep:function(e,t,n){for(var i=[],r=0,o=e.length,a=!n;r<o;r++)!t(e[r],r)!=a&&i.push(e[r]);return i},map:function(e,t,n){var i,r,o=0,a=[];if(G(e))for(i=e.length;o<i;o++)null!=(r=t(e[o],o,n))&&a.push(r);else for(o in e)null!=(r=t(e[o],o,n))&&a.push(r);return W(a)},guid:1,support:m}),"function"==typeof Symbol&&(S.fn[Symbol.iterator]=t[Symbol.iterator]),S.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){z["[object "+t+"]"]=t.toLowerCase()});function i(e,t,n){for(var i=[],r=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(r&&S(e).is(n))break;i.push(e)}return i}function X(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}var e=function(L){function h(e,t){return e="0x"+e.slice(1)-65536,t||(e<0?String.fromCharCode(65536+e):String.fromCharCode(e>>10|55296,1023&e|56320))}function H(e,t){return t?"\0"===e?"<22>":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}function W(){x()}var e,d,_,o,j,f,F,z,w,s,u,x,S,n,C,p,i,r,g,E="sizzle"+ +new Date,c=L.document,k=0,V=0,B=A(),Y=A(),U=A(),m=A(),q=function(e,t){return e===t&&(u=!0),0},Z={}.hasOwnProperty,t=[],G=t.pop,X=t.push,M=t.push,$=t.slice,y=function(e,t){for(var n=0,i=e.length;n<i;n++)if(e[n]===t)return n;return-1},K="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",a="[\\x20\\t\\r\\n\\f]",l="(?:\\\\[\\da-fA-F]{1,6}"+a+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",Q="\\["+a+"*("+l+")(?:"+a+"*([*^$|!~]?=)"+a+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+l+"))|)"+a+"*\\]",J=":("+l+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+Q+")*)|.*)\\)|)",ee=new RegExp(a+"+","g"),v=new RegExp("^"+a+"+|((?:^|[^\\\\])(?:\\\\.)*)"+a+"+$","g"),te=new RegExp("^"+a+"*,"+a+"*"),ne=new RegExp("^"+a+"*([>+~]|"+a+")"+a+"*"),ie=new RegExp(a+"|>"),re=new RegExp(J),oe=new RegExp("^"+l+"$"),b={ID:new RegExp("^#("+l+")"),CLASS:new RegExp("^\\.("+l+")"),TAG:new RegExp("^("+l+"|[*])"),ATTR:new RegExp("^"+Q),PSEUDO:new RegExp("^"+J),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+a+"*(even|odd|(([+-]|)(\\d*)n|)"+a+"*(?:([+-]|)"+a+"*(\\d+)|))"+a+"*\\)|)","i"),bool:new RegExp("^(?:"+K+")$","i"),needsContext:new RegExp("^"+a+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+a+"*((?:-\\d)?\\d*)"+a+"*\\)|)(?=[^-]|$)","i")},ae=/HTML$/i,le=/^(?:input|select|textarea|button)$/i,se=/^h\d$/i,D=/^[^{]+\{\s*\[native \w/,ue=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ce=/[+~]/,T=new RegExp("\\\\[\\da-fA-F]{1,6}"+a+"?|\\\\([^\\r\\n\\f])","g"),he=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,de=ye(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{M.apply(t=$.call(c.childNodes),c.childNodes),t[c.childNodes.length].nodeType}catch(e){M={apply:t.length?function(e,t){X.apply(e,$.call(t))}:function(e,t){for(var n=e.length,i=0;e[n++]=t[i++];);e.length=n-1}}}function R(t,e,n,i){var r,o,a,l,s,u,c=e&&e.ownerDocument,h=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==h&&9!==h&&11!==h)return n;if(!i&&(x(e),e=e||S,C)){if(11!==h&&(l=ue.exec(t)))if(r=l[1]){if(9===h){if(!(u=e.getElementById(r)))return n;if(u.id===r)return n.push(u),n}else if(c&&(u=c.getElementById(r))&&g(e,u)&&u.id===r)return n.push(u),n}else{if(l[2])return M.apply(n,e.getElementsByTagName(t)),n;if((r=l[3])&&d.getElementsByClassName&&e.getElementsByClassName)return M.apply(n,e.getElementsByClassName(r)),n}if(d.qsa&&!m[t+" "]&&(!p||!p.test(t))&&(1!==h||"object"!==e.nodeName.toLowerCase())){if(u=t,c=e,1===h&&(ie.test(t)||ne.test(t))){for((c=ce.test(t)&&me(e.parentNode)||e)===e&&d.scope||((a=e.getAttribute("id"))?a=a.replace(he,H):e.setAttribute("id",a=E)),o=(s=f(t)).length;o--;)s[o]=(a?"#"+a:":scope")+" "+N(s[o]);u=s.join(",")}try{return M.apply(n,c.querySelectorAll(u)),n}catch(e){m(t,!0)}finally{a===E&&e.removeAttribute("id")}}}return z(t.replace(v,"$1"),e,n,i)}function A(){var n=[];function i(e,t){return n.push(e+" ")>_.cacheLength&&delete i[n.shift()],i[e+" "]=t}return i}function O(e){return e[E]=!0,e}function P(e){var t=S.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t)}}function fe(e,t){for(var n=e.split("|"),i=n.length;i--;)_.attrHandle[n[i]]=t}function pe(e,t){var n=t&&e,i=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(i)return i;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function ge(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&de(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function I(a){return O(function(o){return o=+o,O(function(e,t){for(var n,i=a([],e.length,o),r=i.length;r--;)e[n=i[r]]&&(e[n]=!(t[n]=e[n]))})})}function me(e){return e&&void 0!==e.getElementsByTagName&&e}for(e in d=R.support={},j=R.isXML=function(e){var t=e&&e.namespaceURI,e=e&&(e.ownerDocument||e).documentElement;return!ae.test(t||e&&e.nodeName||"HTML")},x=R.setDocument=function(e){var e=e?e.ownerDocument||e:c;return e!=S&&9===e.nodeType&&e.documentElement&&(n=(S=e).documentElement,C=!j(S),c!=S&&(e=S.defaultView)&&e.top!==e&&(e.addEventListener?e.addEventListener("unload",W,!1):e.attachEvent&&e.attachEvent("onunload",W)),d.scope=P(function(e){return n.appendChild(e).appendChild(S.createElement("div")),void 0!==e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length}),d.attributes=P(function(e){return e.className="i",!e.getAttribute("className")}),d.getElementsByTagName=P(function(e){return e.appendChild(S.createComment("")),!e.getElementsByTagName("*").length}),d.getElementsByClassName=D.test(S.getElementsByClassName),d.getById=P(function(e){return n.appendChild(e).id=E,!S.getElementsByName||!S.getElementsByName(E).length}),d.getById?(_.filter.ID=function(e){var t=e.replace(T,h);return function(e){return e.getAttribute("id")===t}},_.find.ID=function(e,t){if(void 0!==t.getElementById&&C)return(t=t.getElementById(e))?[t]:[]}):(_.filter.ID=function(e){var t=e.replace(T,h);return function(e){e=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return e&&e.value===t}},_.find.ID=function(e,t){if(void 0!==t.getElementById&&C){var n,i,r,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];for(r=t.getElementsByName(e),i=0;o=r[i++];)if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),_.find.TAG=d.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):d.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,i=[],r=0,o=t.getElementsByTagName(e);if("*"!==e)return o;for(;n=o[r++];)1===n.nodeType&&i.push(n);return i},_.find.CLASS=d.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&C)return t.getElementsByClassName(e)},i=[],p=[],(d.qsa=D.test(S.querySelectorAll))&&(P(function(e){var t;n.appendChild(e).innerHTML="<a id='"+E+"'></a><select id='"+E+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&p.push("[*^$]="+a+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||p.push("\\["+a+"*(?:value|"+K+")"),e.querySelectorAll("[id~="+E+"-]").length||p.push("~="),(t=S.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||p.push("\\["+a+"*name"+a+"*="+a+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||p.push(":checked"),e.querySelectorAll("a#"+E+"+*").length||p.push(".#.+[+~]"),e.querySelectorAll("\\\f"),p.push("[\\r\\n\\f]")}),P(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=S.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&p.push("name"+a+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&p.push(":enabled",":disabled"),n.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&p.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),p.push(",.*:")})),(d.matchesSelector=D.test(r=n.matches||n.webkitMatchesSelector||n.mozMatchesSelector||n.oMatchesSelector||n.msMatchesSelector))&&P(function(e){d.disconnectedMatch=r.call(e,"*"),r.call(e,"[s!='']:x"),i.push("!=",J)}),p=p.length&&new RegExp(p.join("|")),i=i.length&&new RegExp(i.join("|")),e=D.test(n.compareDocumentPosition),g=e||D.test(n.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,t=t&&t.parentNode;return e===t||!(!t||1!==t.nodeType||!(n.contains?n.contains(t):e.compareDocumentPosition&&16&e.compareDocumentPosition(t)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},q=e?function(e,t){if(e===t)return u=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&&t.compareDocumentPosition(e)===n?e==S||e.ownerDocument==c&&g(c,e)?-1:t==S||t.ownerDocument==c&&g(c,t)?1:s?y(s,e)-y(s,t):0:4&n?-1:1)}:function(e,t){if(e===t)return u=!0,0;var n,i=0,r=e.parentNode,o=t.parentNode,a=[e],l=[t];if(!r||!o)return e==S?-1:t==S?1:r?-1:o?1:s?y(s,e)-y(s,t):0;if(r===o)return pe(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)l.unshift(n);for(;a[i]===l[i];)i++;return i?pe(a[i],l[i]):a[i]==c?-1:l[i]==c?1:0}),S},R.matches=function(e,t){return R(e,null,null,t)},R.matchesSelector=function(e,t){if(x(e),d.matchesSelector&&C&&!m[t+" "]&&(!i||!i.test(t))&&(!p||!p.test(t)))try{var n=r.call(e,t);if(n||d.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){m(t,!0)}return 0<R(t,S,null,[e]).length},R.contains=function(e,t){return(e.ownerDocument||e)!=S&&x(e),g(e,t)},R.attr=function(e,t){(e.ownerDocument||e)!=S&&x(e);var n=_.attrHandle[t.toLowerCase()],n=n&&Z.call(_.attrHandle,t.toLowerCase())?n(e,t,!C):void 0;return void 0!==n?n:d.attributes||!C?e.getAttribute(t):(n=e.getAttributeNode(t))&&n.specified?n.value:null},R.escape=function(e){return(e+"").replace(he,H)},R.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},R.uniqueSort=function(e){var t,n=[],i=0,r=0;if(u=!d.detectDuplicates,s=!d.sortStable&&e.slice(0),e.sort(q),u){for(;t=e[r++];)t===e[r]&&(i=n.push(r));for(;i--;)e.splice(n[i],1)}return s=null,e},o=R.getText=function(e){var t,n="",i=0,r=e.nodeType;if(r){if(1===r||9===r||11===r){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=o(e)}else if(3===r||4===r)return e.nodeValue}else for(;t=e[i++];)n+=o(t);return n},(_=R.selectors={cacheLength:50,createPseudo:O,match:b,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(T,h),e[3]=(e[3]||e[4]||e[5]||"").replace(T,h),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||R.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&R.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return b.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&re.test(n)&&(t=f(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(T,h).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=B[e+" "];return t||(t=new RegExp("(^|"+a+")"+e+"("+a+"|$)"))&&B(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(t,n,i){return function(e){e=R.attr(e,t);return null==e?"!="===n:!n||(e+="","="===n?e===i:"!="===n?e!==i:"^="===n?i&&0===e.indexOf(i):"*="===n?i&&-1<e.indexOf(i):"$="===n?i&&e.slice(-i.length)===i:"~="===n?-1<(" "+e.replace(ee," ")+" ").indexOf(i):"|="===n&&(e===i||e.slice(0,i.length+1)===i+"-"))}},CHILD:function(p,e,t,g,m){var v="nth"!==p.slice(0,3),y="last"!==p.slice(-4),b="of-type"===e;return 1===g&&0===m?function(e){return!!e.parentNode}:function(e,t,n){var i,r,o,a,l,s,u=v!=y?"nextSibling":"previousSibling",c=e.parentNode,h=b&&e.nodeName.toLowerCase(),d=!n&&!b,f=!1;if(c){if(v){for(;u;){for(a=e;a=a[u];)if(b?a.nodeName.toLowerCase()===h:1===a.nodeType)return!1;s=u="only"===p&&!s&&"nextSibling"}return!0}if(s=[y?c.firstChild:c.lastChild],y&&d){for(f=(l=(i=(r=(o=(a=c)[E]||(a[E]={}))[a.uniqueID]||(o[a.uniqueID]={}))[p]||[])[0]===k&&i[1])&&i[2],a=l&&c.childNodes[l];a=++l&&a&&a[u]||(f=l=0)||s.pop();)if(1===a.nodeType&&++f&&a===e){r[p]=[k,l,f];break}}else if(!1===(f=d?l=(i=(r=(o=(a=e)[E]||(a[E]={}))[a.uniqueID]||(o[a.uniqueID]={}))[p]||[])[0]===k&&i[1]:f))for(;(a=++l&&a&&a[u]||(f=l=0)||s.pop())&&((b?a.nodeName.toLowerCase()!==h:1!==a.nodeType)||!++f||(d&&((r=(o=a[E]||(a[E]={}))[a.uniqueID]||(o[a.uniqueID]={}))[p]=[k,f]),a!==e)););return(f-=m)===g||f%g==0&&0<=f/g}}},PSEUDO:function(e,o){var t,a=_.pseudos[e]||_.setFilters[e.toLowerCase()]||R.error("unsupported pseudo: "+e);return a[E]?a(o):1<a.length?(t=[e,e,"",o],_.setFilters.hasOwnProperty(e.toLowerCase())?O(function(e,t){for(var n,i=a(e,o),r=i.length;r--;)e[n=y(e,i[r])]=!(t[n]=i[r])}):function(e){return a(e,0,t)}):a}},pseudos:{not:O(function(e){var i=[],r=[],l=F(e.replace(v,"$1"));return l[E]?O(function(e,t,n,i){for(var r,o=l(e,null,i,[]),a=e.length;a--;)(r=o[a])&&(e[a]=!(t[a]=r))}):function(e,t,n){return i[0]=e,l(i,null,n,r),i[0]=null,!r.pop()}}),has:O(function(t){return function(e){return 0<R(t,e).length}}),contains:O(function(t){return t=t.replace(T,h),function(e){return-1<(e.textContent||o(e)).indexOf(t)}}),lang:O(function(n){return oe.test(n||"")||R.error("unsupported lang: "+n),n=n.replace(T,h).toLowerCase(),function(e){var t;do{if(t=C?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(t=t.toLowerCase())===n||0===t.indexOf(n+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var t=L.location&&L.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===n},focus:function(e){return e===S.activeElement&&(!S.hasFocus||S.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:ge(!1),disabled:ge(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!_.pseudos.empty(e)},header:function(e){return se.test(e.nodeName)},input:function(e){return le.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(e=e.getAttribute("type"))||"text"===e.toLowerCase())},first:I(function(){return[0]}),last:I(function(e,t){return[t-1]}),eq:I(function(e,t,n){return[n<0?n+t:n]}),even:I(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:I(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:I(function(e,t,n){for(var i=n<0?n+t:t<n?t:n;0<=--i;)e.push(i);return e}),gt:I(function(e,t,n){for(var i=n<0?n+t:n;++i<t;)e.push(i);return e})}}).pseudos.nth=_.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})_.pseudos[e]=function(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}(e);for(e in{submit:!0,reset:!0})_.pseudos[e]=function(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}(e);function ve(){}function N(e){for(var t=0,n=e.length,i="";t<n;t++)i+=e[t].value;return i}function ye(a,e,t){var l=e.dir,s=e.next,u=s||l,c=t&&"parentNode"===u,h=V++;return e.first?function(e,t,n){for(;e=e[l];)if(1===e.nodeType||c)return a(e,t,n);return!1}:function(e,t,n){var i,r,o=[k,h];if(n){for(;e=e[l];)if((1===e.nodeType||c)&&a(e,t,n))return!0}else for(;e=e[l];)if(1===e.nodeType||c)if(r=(r=e[E]||(e[E]={}))[e.uniqueID]||(r[e.uniqueID]={}),s&&s===e.nodeName.toLowerCase())e=e[l]||e;else{if((i=r[u])&&i[0]===k&&i[1]===h)return o[2]=i[2];if((r[u]=o)[2]=a(e,t,n))return!0}return!1}}function be(r){return 1<r.length?function(e,t,n){for(var i=r.length;i--;)if(!r[i](e,t,n))return!1;return!0}:r[0]}function _e(e,t,n,i,r){for(var o,a=[],l=0,s=e.length,u=null!=t;l<s;l++)!(o=e[l])||n&&!n(o,i,r)||(a.push(o),u&&t.push(l));return a}function we(f,p,g,m,v,e){return m&&!m[E]&&(m=we(m)),v&&!v[E]&&(v=we(v,e)),O(function(e,t,n,i){var r,o,a,l=[],s=[],u=t.length,c=e||function(e,t,n){for(var i=0,r=t.length;i<r;i++)R(e,t[i],n);return n}(p||"*",n.nodeType?[n]:n,[]),h=!f||!e&&p?c:_e(c,l,f,n,i),d=g?v||(e?f:u||m)?[]:t:h;if(g&&g(h,d,n,i),m)for(r=_e(d,s),m(r,[],n,i),o=r.length;o--;)(a=r[o])&&(d[s[o]]=!(h[s[o]]=a));if(e){if(v||f){if(v){for(r=[],o=d.length;o--;)(a=d[o])&&r.push(h[o]=a);v(null,d=[],r,i)}for(o=d.length;o--;)(a=d[o])&&-1<(r=v?y(e,a):l[o])&&(e[r]=!(t[r]=a))}}else d=_e(d===t?d.splice(u,d.length):d),v?v(null,t,d,i):M.apply(t,d)})}function xe(m,v){function e(e,t,n,i,r){var o,a,l,s=0,u="0",c=e&&[],h=[],d=w,f=e||b&&_.find.TAG("*",r),p=k+=null==d?1:Math.random()||.1,g=f.length;for(r&&(w=t==S||t||r);u!==g&&null!=(o=f[u]);u++){if(b&&o){for(a=0,t||o.ownerDocument==S||(x(o),n=!C);l=m[a++];)if(l(o,t||S,n)){i.push(o);break}r&&(k=p)}y&&((o=!l&&o)&&s--,e&&c.push(o))}if(s+=u,y&&u!==s){for(a=0;l=v[a++];)l(c,h,t,n);if(e){if(0<s)for(;u--;)c[u]||h[u]||(h[u]=G.call(i));h=_e(h)}M.apply(i,h),r&&!e&&0<h.length&&1<s+v.length&&R.uniqueSort(i)}return r&&(k=p,w=d),c}var y=0<v.length,b=0<m.length;return y?O(e):e}return ve.prototype=_.filters=_.pseudos,_.setFilters=new ve,f=R.tokenize=function(e,t){var n,i,r,o,a,l,s,u=Y[e+" "];if(u)return t?0:u.slice(0);for(a=e,l=[],s=_.preFilter;a;){for(o in n&&!(i=te.exec(a))||(i&&(a=a.slice(i[0].length)||a),l.push(r=[])),n=!1,(i=ne.exec(a))&&(n=i.shift(),r.push({value:n,type:i[0].replace(v," ")}),a=a.slice(n.length)),_.filter)!(i=b[o].exec(a))||s[o]&&!(i=s[o](i))||(n=i.shift(),r.push({value:n,type:o,matches:i}),a=a.slice(n.length));if(!n)break}return t?a.length:a?R.error(e):Y(e,l).slice(0)},F=R.compile=function(e,t){var n,i=[],r=[],o=U[e+" "];if(!o){for(n=(t=t||f(e)).length;n--;)((o=function e(t){for(var i,n,r,o=t.length,a=_.relative[t[0].type],l=a||_.relative[" "],s=a?1:0,u=ye(function(e){return e===i},l,!0),c=ye(function(e){return-1<y(i,e)},l,!0),h=[function(e,t,n){return e=!a&&(n||t!==w)||((i=t).nodeType?u:c)(e,t,n),i=null,e}];s<o;s++)if(n=_.relative[t[s].type])h=[ye(be(h),n)];else{if((n=_.filter[t[s].type].apply(null,t[s].matches))[E]){for(r=++s;r<o&&!_.relative[t[r].type];r++);return we(1<s&&be(h),1<s&&N(t.slice(0,s-1).concat({value:" "===t[s-2].type?"*":""})).replace(v,"$1"),n,s<r&&e(t.slice(s,r)),r<o&&e(t=t.slice(r)),r<o&&N(t))}h.push(n)}return be(h)}(t[n]))[E]?i:r).push(o);(o=U(e,xe(r,i))).selector=e}return o},z=R.select=function(e,t,n,i){var r,o,a,l,s,u="function"==typeof e&&e,c=!i&&f(e=u.selector||e);if(n=n||[],1===c.length){if(2<(o=c[0]=c[0].slice(0)).length&&"ID"===(a=o[0]).type&&9===t.nodeType&&C&&_.relative[o[1].type]){if(!(t=(_.find.ID(a.matches[0].replace(T,h),t)||[])[0]))return n;u&&(t=t.parentNode),e=e.slice(o.shift().value.length)}for(r=b.needsContext.test(e)?0:o.length;r--&&(a=o[r],!_.relative[l=a.type]);)if((s=_.find[l])&&(i=s(a.matches[0].replace(T,h),ce.test(o[0].type)&&me(t.parentNode)||t))){if(o.splice(r,1),e=i.length&&N(o))break;return M.apply(n,i),n}}return(u||F(e,c))(i,t,!C,n,!t||ce.test(e)&&me(t.parentNode)||t),n},d.sortStable=E.split("").sort(q).join("")===E,d.detectDuplicates=!!u,x(),d.sortDetached=P(function(e){return 1&e.compareDocumentPosition(S.createElement("fieldset"))}),P(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||fe("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),d.attributes&&P(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||fe("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),P(function(e){return null==e.getAttribute("disabled")})||fe(K,function(e,t,n){if(!n)return!0===e[t]?t.toLowerCase():(n=e.getAttributeNode(t))&&n.specified?n.value:null}),R}(w),$=(S.find=e,S.expr=e.selectors,S.expr[":"]=S.expr.pseudos,S.uniqueSort=S.unique=e.uniqueSort,S.text=e.getText,S.isXMLDoc=e.isXML,S.contains=e.contains,S.escapeSelector=e.escape,S.expr.match.needsContext);function s(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var K=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function Q(e,n,i){return y(n)?S.grep(e,function(e,t){return!!n.call(e,t,e)!==i}):n.nodeType?S.grep(e,function(e){return e===n!==i}):"string"!=typeof n?S.grep(e,function(e){return-1<F.call(n,e)!==i}):S.filter(n,e,i)}S.filter=function(e,t,n){var i=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===i.nodeType?S.find.matchesSelector(i,e)?[i]:[]:S.find.matches(e,S.grep(t,function(e){return 1===e.nodeType}))},S.fn.extend({find:function(e){var t,n,i=this.length,r=this;if("string"!=typeof e)return this.pushStack(S(e).filter(function(){for(t=0;t<i;t++)if(S.contains(r[t],this))return!0}));for(n=this.pushStack([]),t=0;t<i;t++)S.find(e,r[t],n);return 1<i?S.uniqueSort(n):n},filter:function(e){return this.pushStack(Q(this,e||[],!1))},not:function(e){return this.pushStack(Q(this,e||[],!0))},is:function(e){return!!Q(this,"string"==typeof e&&$.test(e)?S(e):e||[],!1).length}});var J,ee=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,te=((S.fn.init=function(e,t,n){if(e){if(n=n||J,"string"!=typeof e)return e.nodeType?(this[0]=e,this.length=1,this):y(e)?void 0!==n.ready?n.ready(e):e(S):S.makeArray(e,this);if(!(i="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:ee.exec(e))||!i[1]&&t)return(!t||t.jquery?t||n:this.constructor(t)).find(e);if(i[1]){if(t=t instanceof S?t[0]:t,S.merge(this,S.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:x,!0)),K.test(i[1])&&S.isPlainObject(t))for(var i in t)y(this[i])?this[i](t[i]):this.attr(i,t[i])}else(n=x.getElementById(i[2]))&&(this[0]=n,this.length=1)}return this}).prototype=S.fn,J=S(x),/^(?:parents|prev(?:Until|All))/),ne={children:!0,contents:!0,next:!0,prev:!0};function ie(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}S.fn.extend({has:function(e){var t=S(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(S.contains(this,t[e]))return!0})},closest:function(e,t){var n,i=0,r=this.length,o=[],a="string"!=typeof e&&S(e);if(!$.test(e))for(;i<r;i++)for(n=this[i];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?-1<a.index(n):1===n.nodeType&&S.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(1<o.length?S.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?F.call(S(e),this[0]):F.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(S.uniqueSort(S.merge(this.get(),S(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),S.each({parent:function(e){return(e=e.parentNode)&&11!==e.nodeType?e:null},parents:function(e){return i(e,"parentNode")},parentsUntil:function(e,t,n){return i(e,"parentNode",n)},next:function(e){return ie(e,"nextSibling")},prev:function(e){return ie(e,"previousSibling")},nextAll:function(e){return i(e,"nextSibling")},prevAll:function(e){return i(e,"previousSibling")},nextUntil:function(e,t,n){return i(e,"nextSibling",n)},prevUntil:function(e,t,n){return i(e,"previousSibling",n)},siblings:function(e){return X((e.parentNode||{}).firstChild,e)},children:function(e){return X(e.firstChild)},contents:function(e){return null!=e.contentDocument&&H(e.contentDocument)?e.contentDocument:(s(e,"template")&&(e=e.content||e),S.merge([],e.childNodes))}},function(i,r){S.fn[i]=function(e,t){var n=S.map(this,r,e);return(t="Until"!==i.slice(-5)?e:t)&&"string"==typeof t&&(n=S.filter(t,n)),1<this.length&&(ne[i]||S.uniqueSort(n),te.test(i)&&n.reverse()),this.pushStack(n)}});var C=/[^\x20\t\r\n\f]+/g;function c(e){return e}function re(e){throw e}function oe(e,t,n,i){var r;try{e&&y(r=e.promise)?r.call(e).done(t).fail(n):e&&y(r=e.then)?r.call(e,t,n):t.apply(void 0,[e].slice(i))}catch(e){n.apply(void 0,[e])}}S.Callbacks=function(i){var e,n;i="string"==typeof i?(e=i,n={},S.each(e.match(C)||[],function(e,t){n[t]=!0}),n):S.extend({},i);function r(){for(l=l||i.once,a=o=!0;u.length;c=-1)for(t=u.shift();++c<s.length;)!1===s[c].apply(t[0],t[1])&&i.stopOnFalse&&(c=s.length,t=!1);i.memory||(t=!1),o=!1,l&&(s=t?[]:"")}var o,t,a,l,s=[],u=[],c=-1,h={add:function(){return s&&(t&&!o&&(c=s.length-1,u.push(t)),function n(e){S.each(e,function(e,t){y(t)?i.unique&&h.has(t)||s.push(t):t&&t.length&&"string"!==p(t)&&n(t)})}(arguments),t&&!o&&r()),this},remove:function(){return S.each(arguments,function(e,t){for(var n;-1<(n=S.inArray(t,s,n));)s.splice(n,1),n<=c&&c--}),this},has:function(e){return e?-1<S.inArray(e,s):0<s.length},empty:function(){return s=s&&[],this},disable:function(){return l=u=[],s=t="",this},disabled:function(){return!s},lock:function(){return l=u=[],t||o||(s=t=""),this},locked:function(){return!!l},fireWith:function(e,t){return l||(t=[e,(t=t||[]).slice?t.slice():t],u.push(t),o||r()),this},fire:function(){return h.fireWith(this,arguments),this},fired:function(){return!!a}};return h},S.extend({Deferred:function(e){var o=[["notify","progress",S.Callbacks("memory"),S.Callbacks("memory"),2],["resolve","done",S.Callbacks("once memory"),S.Callbacks("once memory"),0,"resolved"],["reject","fail",S.Callbacks("once memory"),S.Callbacks("once memory"),1,"rejected"]],r="pending",a={state:function(){return r},always:function(){return l.done(arguments).fail(arguments),this},catch:function(e){return a.then(null,e)},pipe:function(){var r=arguments;return S.Deferred(function(i){S.each(o,function(e,t){var n=y(r[t[4]])&&r[t[4]];l[t[1]](function(){var e=n&&n.apply(this,arguments);e&&y(e.promise)?e.promise().progress(i.notify).done(i.resolve).fail(i.reject):i[t[0]+"With"](this,n?[e]:arguments)})}),r=null}).promise()},then:function(t,n,i){var s=0;function u(r,o,a,l){return function(){function e(){var e,t;if(!(r<s)){if((e=a.apply(n,i))===o.promise())throw new TypeError("Thenable self-resolution");t=e&&("object"===Jt(e)||"function"==typeof e)&&e.then,y(t)?l?t.call(e,u(s,o,c,l),u(s,o,re,l)):(s++,t.call(e,u(s,o,c,l),u(s,o,re,l),u(s,o,c,o.notifyWith))):(a!==c&&(n=void 0,i=[e]),(l||o.resolveWith)(n,i))}}var n=this,i=arguments,t=l?e:function(){try{e()}catch(e){S.Deferred.exceptionHook&&S.Deferred.exceptionHook(e,t.stackTrace),s<=r+1&&(a!==re&&(n=void 0,i=[e]),o.rejectWith(n,i))}};r?t():(S.Deferred.getStackHook&&(t.stackTrace=S.Deferred.getStackHook()),w.setTimeout(t))}}return S.Deferred(function(e){o[0][3].add(u(0,e,y(i)?i:c,e.notifyWith)),o[1][3].add(u(0,e,y(t)?t:c)),o[2][3].add(u(0,e,y(n)?n:re))}).promise()},promise:function(e){return null!=e?S.extend(e,a):a}},l={};return S.each(o,function(e,t){var n=t[2],i=t[5];a[t[1]]=n.add,i&&n.add(function(){r=i},o[3-e][2].disable,o[3-e][3].disable,o[0][2].lock,o[0][3].lock),n.add(t[3].fire),l[t[0]]=function(){return l[t[0]+"With"](this===l?void 0:this,arguments),this},l[t[0]+"With"]=n.fireWith}),a.promise(l),e&&e.call(l,l),l},when:function(e){function t(t){return function(e){r[t]=this,o[t]=1<arguments.length?l.call(arguments):e,--n||a.resolveWith(r,o)}}var n=arguments.length,i=n,r=Array(i),o=l.call(arguments),a=S.Deferred();if(n<=1&&(oe(e,a.done(t(i)).resolve,a.reject,!n),"pending"===a.state()||y(o[i]&&o[i].then)))return a.then();for(;i--;)oe(o[i],t(i),a.reject);return a.promise()}});var ae=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/,le=(S.Deferred.exceptionHook=function(e,t){w.console&&w.console.warn&&e&&ae.test(e.name)&&w.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},S.readyException=function(e){w.setTimeout(function(){throw e})},S.Deferred());function se(){x.removeEventListener("DOMContentLoaded",se),w.removeEventListener("load",se),S.ready()}S.fn.ready=function(e){return le.then(e).catch(function(e){S.readyException(e)}),this},S.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--S.readyWait:S.isReady)||(S.isReady=!0)!==e&&0<--S.readyWait||le.resolveWith(x,[S])}}),S.ready.then=le.then,"complete"===x.readyState||"loading"!==x.readyState&&!x.documentElement.doScroll?w.setTimeout(S.ready):(x.addEventListener("DOMContentLoaded",se),w.addEventListener("load",se));function h(e,t,n,i,r,o,a){var l=0,s=e.length,u=null==n;if("object"===p(n))for(l in r=!0,n)h(e,t,l,n[l],!0,o,a);else if(void 0!==i&&(r=!0,y(i)||(a=!0),t=u?a?(t.call(e,i),null):(u=t,function(e,t,n){return u.call(S(e),n)}):t))for(;l<s;l++)t(e[l],n,a?i:i.call(e[l],l,t(e[l],n)));return r?e:u?t.call(e):s?t(e[0],n):o}var ue=/^-ms-/,ce=/-([a-z])/g;function he(e,t){return t.toUpperCase()}function b(e){return e.replace(ue,"ms-").replace(ce,he)}function v(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType}function de(){this.expando=S.expando+de.uid++}de.uid=1,de.prototype={cache:function(e){var t=e[this.expando];return t||(t={},v(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var i,r=this.cache(e);if("string"==typeof t)r[b(t)]=n;else for(i in t)r[b(i)]=t[i];return r},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][b(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,i=e[this.expando];if(void 0!==i){if(void 0!==t){n=(t=Array.isArray(t)?t.map(b):(t=b(t))in i?[t]:t.match(C)||[]).length;for(;n--;)delete i[t[n]]}void 0!==t&&!S.isEmptyObject(i)||(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){e=e[this.expando];return void 0!==e&&!S.isEmptyObject(e)}};var _=new de,u=new de,fe=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,pe=/[A-Z]/g;function ge(e,t,n){var i,r;if(void 0===n&&1===e.nodeType)if(i="data-"+t.replace(pe,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(i))){try{n="true"===(r=n)||"false"!==r&&("null"===r?null:r===+r+""?+r:fe.test(r)?JSON.parse(r):r)}catch(e){}u.set(e,t,n)}else n=void 0;return n}S.extend({hasData:function(e){return u.hasData(e)||_.hasData(e)},data:function(e,t,n){return u.access(e,t,n)},removeData:function(e,t){u.remove(e,t)},_data:function(e,t,n){return _.access(e,t,n)},_removeData:function(e,t){_.remove(e,t)}}),S.fn.extend({data:function(n,e){var t,i,r,o=this[0],a=o&&o.attributes;if(void 0!==n)return"object"===Jt(n)?this.each(function(){u.set(this,n)}):h(this,function(e){var t;if(o&&void 0===e)return void 0!==(t=u.get(o,n))||void 0!==(t=ge(o,n))?t:void 0;this.each(function(){u.set(this,n,e)})},null,e,1<arguments.length,null,!0);if(this.length&&(r=u.get(o),1===o.nodeType&&!_.get(o,"hasDataAttrs"))){for(t=a.length;t--;)a[t]&&0===(i=a[t].name).indexOf("data-")&&(i=b(i.slice(5)),ge(o,i,r[i]));_.set(o,"hasDataAttrs",!0)}return r},removeData:function(e){return this.each(function(){u.remove(this,e)})}}),S.extend({queue:function(e,t,n){var i;if(e)return i=_.get(e,t=(t||"fx")+"queue"),n&&(!i||Array.isArray(n)?i=_.access(e,t,S.makeArray(n)):i.push(n)),i||[]},dequeue:function(e,t){t=t||"fx";var n=S.queue(e,t),i=n.length,r=n.shift(),o=S._queueHooks(e,t);"inprogress"===r&&(r=n.shift(),i--),r&&("fx"===t&&n.unshift("inprogress"),delete o.stop,r.call(e,function(){S.dequeue(e,t)},o)),!i&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return _.get(e,n)||_.access(e,n,{empty:S.Callbacks("once memory").add(function(){_.remove(e,[t+"queue",n])})})}}),S.fn.extend({queue:function(t,n){var e=2;return"string"!=typeof t&&(n=t,t="fx",e--),arguments.length<e?S.queue(this[0],t):void 0===n?this:this.each(function(){var e=S.queue(this,t,n);S._queueHooks(this,t),"fx"===t&&"inprogress"!==e[0]&&S.dequeue(this,t)})},dequeue:function(e){return this.each(function(){S.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){function n(){--r||o.resolveWith(a,[a])}var i,r=1,o=S.Deferred(),a=this,l=this.length;for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";l--;)(i=_.get(a[l],e+"queueHooks"))&&i.empty&&(r++,i.empty.add(n));return n(),o.promise(t)}});function me(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&k(e)&&"none"===S.css(e,"display")}var e=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,ve=new RegExp("^(?:([+-])=|)("+e+")([a-z%]*)$","i"),d=["Top","Right","Bottom","Left"],E=x.documentElement,k=function(e){return S.contains(e.ownerDocument,e)},ye={composed:!0};E.getRootNode&&(k=function(e){return S.contains(e.ownerDocument,e)||e.getRootNode(ye)===e.ownerDocument});function be(e,t,n,i){var r,o,a=20,l=i?function(){return i.cur()}:function(){return S.css(e,t,"")},s=l(),u=n&&n[3]||(S.cssNumber[t]?"":"px"),c=e.nodeType&&(S.cssNumber[t]||"px"!==u&&+s)&&ve.exec(S.css(e,t));if(c&&c[3]!==u){for(u=u||c[3],c=+(s/=2)||1;a--;)S.style(e,t,c+u),(1-o)*(1-(o=l()/s||.5))<=0&&(a=0),c/=o;S.style(e,t,(c*=2)+u),n=n||[]}return n&&(c=+c||+s||0,r=n[1]?c+(n[1]+1)*n[2]:+n[2],i&&(i.unit=u,i.start=c,i.end=r)),r}var _e={};function M(e,t){for(var n,i,r,o,a,l=[],s=0,u=e.length;s<u;s++)(i=e[s]).style&&(n=i.style.display,t?("none"===n&&(l[s]=_.get(i,"display")||null,l[s]||(i.style.display="")),""===i.style.display&&me(i)&&(l[s]=(a=o=void 0,o=(r=i).ownerDocument,r=r.nodeName,(a=_e[r])||(o=o.body.appendChild(o.createElement(r)),a=S.css(o,"display"),o.parentNode.removeChild(o),_e[r]=a="none"===a?"block":a),a))):"none"!==n&&(l[s]="none",_.set(i,"display",n)));for(s=0;s<u;s++)null!=l[s]&&(e[s].style.display=l[s]);return e}S.fn.extend({show:function(){return M(this,!0)},hide:function(){return M(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){me(this)?S(this).show():S(this).hide()})}});var we=/^(?:checkbox|radio)$/i,xe=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Se=/^$|^module$|\/(?:java|ecma)script/i,D=(O=x.createDocumentFragment().appendChild(x.createElement("div")),(a=x.createElement("input")).setAttribute("type","radio"),a.setAttribute("checked","checked"),a.setAttribute("name","t"),O.appendChild(a),m.checkClone=O.cloneNode(!0).cloneNode(!0).lastChild.checked,O.innerHTML="<textarea>x</textarea>",m.noCloneChecked=!!O.cloneNode(!0).lastChild.defaultValue,O.innerHTML="<option></option>",m.option=!!O.lastChild,{thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]});function T(e,t){var n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[];return void 0===t||t&&s(e,t)?S.merge([e],n):n}function Ce(e,t){for(var n=0,i=e.length;n<i;n++)_.set(e[n],"globalEval",!t||_.get(t[n],"globalEval"))}D.tbody=D.tfoot=D.colgroup=D.caption=D.thead,D.th=D.td,m.option||(D.optgroup=D.option=[1,"<select multiple='multiple'>","</select>"]);var Ee=/<|&#?\w+;/;function ke(e,t,n,i,r){for(var o,a,l,s,u,c=t.createDocumentFragment(),h=[],d=0,f=e.length;d<f;d++)if((o=e[d])||0===o)if("object"===p(o))S.merge(h,o.nodeType?[o]:o);else if(Ee.test(o)){for(a=a||c.appendChild(t.createElement("div")),l=(xe.exec(o)||["",""])[1].toLowerCase(),l=D[l]||D._default,a.innerHTML=l[1]+S.htmlPrefilter(o)+l[2],u=l[0];u--;)a=a.lastChild;S.merge(h,a.childNodes),(a=c.firstChild).textContent=""}else h.push(t.createTextNode(o));for(c.textContent="",d=0;o=h[d++];)if(i&&-1<S.inArray(o,i))r&&r.push(o);else if(s=k(o),a=T(c.appendChild(o),"script"),s&&Ce(a),n)for(u=0;o=a[u++];)Se.test(o.type||"")&&n.push(o);return c}var Me=/^([^.]*)(?:\.(.+)|)/;function n(){return!0}function f(){return!1}function De(e,t){return e===function(){try{return x.activeElement}catch(e){}}()==("focus"===t)}function Te(e,t,n,i,r,o){var a,l;if("object"===Jt(t)){for(l in"string"!=typeof n&&(i=i||n,n=void 0),t)Te(e,l,n,i,t[l],o);return e}if(null==i&&null==r?(r=n,i=n=void 0):null==r&&("string"==typeof n?(r=i,i=void 0):(r=i,i=n,n=void 0)),!1===r)r=f;else if(!r)return e;return 1===o&&(a=r,(r=function(e){return S().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=S.guid++)),e.each(function(){S.event.add(this,t,r,i,n)})}function Re(e,r,o){o?(_.set(e,r,!1),S.event.add(e,r,{namespace:!1,handler:function(e){var t,n,i=_.get(this,r);if(1&e.isTrigger&&this[r]){if(i.length)(S.event.special[r]||{}).delegateType&&e.stopPropagation();else if(i=l.call(arguments),_.set(this,r,i),t=o(this,r),this[r](),i!==(n=_.get(this,r))||t?_.set(this,r,!1):n={},i!==n)return e.stopImmediatePropagation(),e.preventDefault(),n&&n.value}else i.length&&(_.set(this,r,{value:S.event.trigger(S.extend(i[0],S.Event.prototype),i.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===_.get(e,r)&&S.event.add(e,r,n)}S.event={global:{},add:function(t,e,n,i,r){var o,a,l,s,u,c,h,d,f,p=_.get(t);if(v(t))for(n.handler&&(n=(o=n).handler,r=o.selector),r&&S.find.matchesSelector(E,r),n.guid||(n.guid=S.guid++),(l=p.events)||(l=p.events=Object.create(null)),(a=p.handle)||(a=p.handle=function(e){return void 0!==S&&S.event.triggered!==e.type?S.event.dispatch.apply(t,arguments):void 0}),s=(e=(e||"").match(C)||[""]).length;s--;)h=f=(d=Me.exec(e[s])||[])[1],d=(d[2]||"").split(".").sort(),h&&(u=S.event.special[h]||{},h=(r?u.delegateType:u.bindType)||h,u=S.event.special[h]||{},f=S.extend({type:h,origType:f,data:i,handler:n,guid:n.guid,selector:r,needsContext:r&&S.expr.match.needsContext.test(r),namespace:d.join(".")},o),(c=l[h])||((c=l[h]=[]).delegateCount=0,u.setup&&!1!==u.setup.call(t,i,d,a)||t.addEventListener&&t.addEventListener(h,a)),u.add&&(u.add.call(t,f),f.handler.guid||(f.handler.guid=n.guid)),r?c.splice(c.delegateCount++,0,f):c.push(f),S.event.global[h]=!0)},remove:function(e,t,n,i,r){var o,a,l,s,u,c,h,d,f,p,g,m=_.hasData(e)&&_.get(e);if(m&&(s=m.events)){for(u=(t=(t||"").match(C)||[""]).length;u--;)if(f=g=(l=Me.exec(t[u])||[])[1],p=(l[2]||"").split(".").sort(),f){for(h=S.event.special[f]||{},d=s[f=(i?h.delegateType:h.bindType)||f]||[],l=l[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=d.length;o--;)c=d[o],!r&&g!==c.origType||n&&n.guid!==c.guid||l&&!l.test(c.namespace)||i&&i!==c.selector&&("**"!==i||!c.selector)||(d.splice(o,1),c.selector&&d.delegateCount--,h.remove&&h.remove.call(e,c));a&&!d.length&&(h.teardown&&!1!==h.teardown.call(e,p,m.handle)||S.removeEvent(e,f,m.handle),delete s[f])}else for(f in s)S.event.remove(e,f+t[u],n,i,!0);S.isEmptyObject(s)&&_.remove(e,"handle events")}},dispatch:function(e){var t,n,i,r,o,a=new Array(arguments.length),l=S.event.fix(e),e=(_.get(this,"events")||Object.create(null))[l.type]||[],s=S.event.special[l.type]||{};for(a[0]=l,t=1;t<arguments.length;t++)a[t]=arguments[t];if(l.delegateTarget=this,!s.preDispatch||!1!==s.preDispatch.call(this,l)){for(o=S.event.handlers.call(this,l,e),t=0;(i=o[t++])&&!l.isPropagationStopped();)for(l.currentTarget=i.elem,n=0;(r=i.handlers[n++])&&!l.isImmediatePropagationStopped();)l.rnamespace&&!1!==r.namespace&&!l.rnamespace.test(r.namespace)||(l.handleObj=r,l.data=r.data,void 0!==(r=((S.event.special[r.origType]||{}).handle||r.handler).apply(i.elem,a))&&!1===(l.result=r)&&(l.preventDefault(),l.stopPropagation()));return s.postDispatch&&s.postDispatch.call(this,l),l.result}},handlers:function(e,t){var n,i,r,o,a,l=[],s=t.delegateCount,u=e.target;if(s&&u.nodeType&&!("click"===e.type&&1<=e.button))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&("click"!==e.type||!0!==u.disabled)){for(o=[],a={},n=0;n<s;n++)void 0===a[r=(i=t[n]).selector+" "]&&(a[r]=i.needsContext?-1<S(r,this).index(u):S.find(r,this,null,[u]).length),a[r]&&o.push(i);o.length&&l.push({elem:u,handlers:o})}return u=this,s<t.length&&l.push({elem:u,handlers:t.slice(s)}),l},addProp:function(t,e){Object.defineProperty(S.Event.prototype,t,{enumerable:!0,configurable:!0,get:y(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(e){return e[S.expando]?e:new S.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){e=this||e;return we.test(e.type)&&e.click&&s(e,"input")&&Re(e,"click",n),!1},trigger:function(e){e=this||e;return we.test(e.type)&&e.click&&s(e,"input")&&Re(e,"click"),!0},_default:function(e){e=e.target;return we.test(e.type)&&e.click&&s(e,"input")&&_.get(e,"click")||s(e,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},S.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},S.Event=function(e,t){if(!(this instanceof S.Event))return new S.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?n:f,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&S.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[S.expando]=!0},S.Event.prototype={constructor:S.Event,isDefaultPrevented:f,isPropagationStopped:f,isImmediatePropagationStopped:f,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=n,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=n,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=n,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},S.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},S.event.addProp),S.each({focus:"focusin",blur:"focusout"},function(e,t){S.event.special[e]={setup:function(){return Re(this,e,De),!1},trigger:function(){return Re(this,e),!0},_default:function(){return!0},delegateType:t}}),S.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,r){S.event.special[e]={delegateType:r,bindType:r,handle:function(e){var t,n=e.relatedTarget,i=e.handleObj;return n&&(n===this||S.contains(this,n))||(e.type=i.origType,t=i.handler.apply(this,arguments),e.type=r),t}}}),S.fn.extend({on:function(e,t,n,i){return Te(this,e,t,n,i)},one:function(e,t,n,i){return Te(this,e,t,n,i,1)},off:function(e,t,n){var i,r;if(e&&e.preventDefault&&e.handleObj)i=e.handleObj,S(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler);else{if("object"!==Jt(e))return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=f),this.each(function(){S.event.remove(this,e,n,t)});for(r in e)this.off(r,t,e[r])}return this}});var Ae=/<script|<style|<link/i,Oe=/checked\s*(?:[^=]|=\s*.checked.)/i,Pe=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Ie(e,t){return s(e,"table")&&s(11!==t.nodeType?t:t.firstChild,"tr")&&S(e).children("tbody")[0]||e}function Ne(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Le(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function He(e,t){var n,i,r,o;if(1===t.nodeType){if(_.hasData(e)&&(o=_.get(e).events))for(r in _.remove(t,"handle events"),o)for(n=0,i=o[r].length;n<i;n++)S.event.add(t,r,o[r][n]);u.hasData(e)&&(e=u.access(e),e=S.extend({},e),u.set(t,e))}}function R(n,i,r,o){i=W(i);var e,t,a,l,s,u,c=0,h=n.length,d=h-1,f=i[0],p=y(f);if(p||1<h&&"string"==typeof f&&!m.checkClone&&Oe.test(f))return n.each(function(e){var t=n.eq(e);p&&(i[0]=f.call(this,e,t.html())),R(t,i,r,o)});if(h&&(t=(e=ke(i,n[0].ownerDocument,!1,n,o)).firstChild,1===e.childNodes.length&&(e=t),t||o)){for(l=(a=S.map(T(e,"script"),Ne)).length;c<h;c++)s=e,c!==d&&(s=S.clone(s,!0,!0),l&&S.merge(a,T(s,"script"))),r.call(n[c],s,c);if(l)for(u=a[a.length-1].ownerDocument,S.map(a,Le),c=0;c<l;c++)s=a[c],Se.test(s.type||"")&&!_.access(s,"globalEval")&&S.contains(u,s)&&(s.src&&"module"!==(s.type||"").toLowerCase()?S._evalUrl&&!s.noModule&&S._evalUrl(s.src,{nonce:s.nonce||s.getAttribute("nonce")},u):Z(s.textContent.replace(Pe,""),s,u))}return n}function We(e,t,n){for(var i,r=t?S.filter(t,e):e,o=0;null!=(i=r[o]);o++)n||1!==i.nodeType||S.cleanData(T(i)),i.parentNode&&(n&&k(i)&&Ce(T(i,"script")),i.parentNode.removeChild(i));return e}S.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var i,r,o,a,l,s,u,c=e.cloneNode(!0),h=k(e);if(!(m.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||S.isXMLDoc(e)))for(a=T(c),i=0,r=(o=T(e)).length;i<r;i++)l=o[i],s=a[i],u=void 0,"input"===(u=s.nodeName.toLowerCase())&&we.test(l.type)?s.checked=l.checked:"input"!==u&&"textarea"!==u||(s.defaultValue=l.defaultValue);if(t)if(n)for(o=o||T(e),a=a||T(c),i=0,r=o.length;i<r;i++)He(o[i],a[i]);else He(e,c);return 0<(a=T(c,"script")).length&&Ce(a,!h&&T(e,"script")),c},cleanData:function(e){for(var t,n,i,r=S.event.special,o=0;void 0!==(n=e[o]);o++)if(v(n)){if(t=n[_.expando]){if(t.events)for(i in t.events)r[i]?S.event.remove(n,i):S.removeEvent(n,i,t.handle);n[_.expando]=void 0}n[u.expando]&&(n[u.expando]=void 0)}}}),S.fn.extend({detach:function(e){return We(this,e,!0)},remove:function(e){return We(this,e)},text:function(e){return h(this,function(e){return void 0===e?S.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return R(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Ie(this,e).appendChild(e)})},prepend:function(){return R(this,arguments,function(e){var t;1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(t=Ie(this,e)).insertBefore(e,t.firstChild)})},before:function(){return R(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return R(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(S.cleanData(T(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return S.clone(this,e,t)})},html:function(e){return h(this,function(e){var t=this[0]||{},n=0,i=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Ae.test(e)&&!D[(xe.exec(e)||["",""])[1].toLowerCase()]){e=S.htmlPrefilter(e);try{for(;n<i;n++)1===(t=this[n]||{}).nodeType&&(S.cleanData(T(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var n=[];return R(this,arguments,function(e){var t=this.parentNode;S.inArray(this,n)<0&&(S.cleanData(T(this)),t&&t.replaceChild(e,this))},n)}}),S.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,a){S.fn[e]=function(e){for(var t,n=[],i=S(e),r=i.length-1,o=0;o<=r;o++)t=o===r?this:this.clone(!0),S(i[o])[a](t),j.apply(n,t.get());return this.pushStack(n)}});function je(e){var t=e.ownerDocument.defaultView;return(t=t&&t.opener?t:w).getComputedStyle(e)}function Fe(e,t,n){var i,r={};for(i in t)r[i]=e.style[i],e.style[i]=t[i];for(i in n=n.call(e),t)e.style[i]=r[i];return n}var ze,Ve,Be,Ye,Ue,qe,Ze,r,Ge=new RegExp("^("+e+")(?!px)[a-z%]+$","i"),Xe=new RegExp(d.join("|"),"i");function $e(){var e;r&&(Ze.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",r.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",E.appendChild(Ze).appendChild(r),e=w.getComputedStyle(r),ze="1%"!==e.top,qe=12===Ke(e.marginLeft),r.style.right="60%",Ye=36===Ke(e.right),Ve=36===Ke(e.width),r.style.position="absolute",Be=12===Ke(r.offsetWidth/3),E.removeChild(Ze),r=null)}function Ke(e){return Math.round(parseFloat(e))}function Qe(e,t,n){var i,r,o=e.style;return(n=n||je(e))&&(""!==(r=n.getPropertyValue(t)||n[t])||k(e)||(r=S.style(e,t)),!m.pixelBoxStyles()&&Ge.test(r)&&Xe.test(t)&&(e=o.width,t=o.minWidth,i=o.maxWidth,o.minWidth=o.maxWidth=o.width=r,r=n.width,o.width=e,o.minWidth=t,o.maxWidth=i)),void 0!==r?r+"":r}function Je(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}Ze=x.createElement("div"),(r=x.createElement("div")).style&&(r.style.backgroundClip="content-box",r.cloneNode(!0).style.backgroundClip="",m.clearCloneStyle="content-box"===r.style.backgroundClip,S.extend(m,{boxSizingReliable:function(){return $e(),Ve},pixelBoxStyles:function(){return $e(),Ye},pixelPosition:function(){return $e(),ze},reliableMarginLeft:function(){return $e(),qe},scrollboxSize:function(){return $e(),Be},reliableTrDimensions:function(){var e,t,n;return null==Ue&&(e=x.createElement("table"),t=x.createElement("tr"),n=x.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="border:1px solid",t.style.height="1px",n.style.height="9px",n.style.display="block",E.appendChild(e).appendChild(t).appendChild(n),n=w.getComputedStyle(t),Ue=parseInt(n.height,10)+parseInt(n.borderTopWidth,10)+parseInt(n.borderBottomWidth,10)===t.offsetHeight,E.removeChild(e)),Ue}}));var et=["Webkit","Moz","ms"],tt=x.createElement("div").style,nt={};function it(e){var t=S.cssProps[e]||nt[e];return t||(e in tt?e:nt[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=et.length;n--;)if((e=et[n]+t)in tt)return e}(e)||e)}var rt=/^(none|table(?!-c[ea]).+)/,ot=/^--/,at={position:"absolute",visibility:"hidden",display:"block"},lt={letterSpacing:"0",fontWeight:"400"};function st(e,t,n){var i=ve.exec(t);return i?Math.max(0,i[2]-(n||0))+(i[3]||"px"):t}function ut(e,t,n,i,r,o){var a="width"===t?1:0,l=0,s=0;if(n===(i?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(s+=S.css(e,n+d[a],!0,r)),i?("content"===n&&(s-=S.css(e,"padding"+d[a],!0,r)),"margin"!==n&&(s-=S.css(e,"border"+d[a]+"Width",!0,r))):(s+=S.css(e,"padding"+d[a],!0,r),"padding"!==n?s+=S.css(e,"border"+d[a]+"Width",!0,r):l+=S.css(e,"border"+d[a]+"Width",!0,r));return!i&&0<=o&&(s+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-s-l-.5))||0),s}function ct(e,t,n){var i=je(e),r=(!m.boxSizingReliable()||n)&&"border-box"===S.css(e,"boxSizing",!1,i),o=r,a=Qe(e,t,i),l="offset"+t[0].toUpperCase()+t.slice(1);if(Ge.test(a)){if(!n)return a;a="auto"}return(!m.boxSizingReliable()&&r||!m.reliableTrDimensions()&&s(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===S.css(e,"display",!1,i))&&e.getClientRects().length&&(r="border-box"===S.css(e,"boxSizing",!1,i),(o=l in e)&&(a=e[l])),(a=parseFloat(a)||0)+ut(e,t,n||(r?"border":"content"),o,i,a)+"px"}function o(e,t,n,i,r){return new o.prototype.init(e,t,n,i,r)}S.extend({cssHooks:{opacity:{get:function(e,t){if(t)return""===(t=Qe(e,"opacity"))?"1":t}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var r,o,a,l=b(t),s=ot.test(t),u=e.style;if(s||(t=it(l)),a=S.cssHooks[t]||S.cssHooks[l],void 0===n)return a&&"get"in a&&void 0!==(r=a.get(e,!1,i))?r:u[t];"string"===(o=Jt(n))&&(r=ve.exec(n))&&r[1]&&(n=be(e,t,r),o="number"),null!=n&&n==n&&("number"!==o||s||(n+=r&&r[3]||(S.cssNumber[l]?"":"px")),m.clearCloneStyle||""!==n||0!==t.indexOf("background")||(u[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,i))||(s?u.setProperty(t,n):u[t]=n))}},css:function(e,t,n,i){var r,o=b(t);return ot.test(t)||(t=it(o)),"normal"===(r=void 0===(r=(o=S.cssHooks[t]||S.cssHooks[o])&&"get"in o?o.get(e,!0,n):r)?Qe(e,t,i):r)&&t in lt&&(r=lt[t]),""===n||n?(o=parseFloat(r),!0===n||isFinite(o)?o||0:r):r}}),S.each(["height","width"],function(e,a){S.cssHooks[a]={get:function(e,t,n){if(t)return!rt.test(S.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?ct(e,a,n):Fe(e,at,function(){return ct(e,a,n)})},set:function(e,t,n){var i=je(e),r=!m.scrollboxSize()&&"absolute"===i.position,o=(r||n)&&"border-box"===S.css(e,"boxSizing",!1,i),n=n?ut(e,a,n,o,i):0;return o&&r&&(n-=Math.ceil(e["offset"+a[0].toUpperCase()+a.slice(1)]-parseFloat(i[a])-ut(e,a,"border",!1,i)-.5)),n&&(o=ve.exec(t))&&"px"!==(o[3]||"px")&&(e.style[a]=t,t=S.css(e,a)),st(0,t,n)}}}),S.cssHooks.marginLeft=Je(m.reliableMarginLeft,function(e,t){if(t)return(parseFloat(Qe(e,"marginLeft"))||e.getBoundingClientRect().left-Fe(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),S.each({margin:"",padding:"",border:"Width"},function(r,o){S.cssHooks[r+o]={expand:function(e){for(var t=0,n={},i="string"==typeof e?e.split(" "):[e];t<4;t++)n[r+d[t]+o]=i[t]||i[t-2]||i[0];return n}},"margin"!==r&&(S.cssHooks[r+o].set=st)}),S.fn.extend({css:function(e,t){return h(this,function(e,t,n){var i,r,o={},a=0;if(Array.isArray(t)){for(i=je(e),r=t.length;a<r;a++)o[t[a]]=S.css(e,t[a],!1,i);return o}return void 0!==n?S.style(e,t,n):S.css(e,t)},e,t,1<arguments.length)}}),((S.Tween=o).prototype={constructor:o,init:function(e,t,n,i,r,o){this.elem=e,this.prop=n,this.easing=r||S.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=i,this.unit=o||(S.cssNumber[n]?"":"px")},cur:function(){var e=o.propHooks[this.prop];return(e&&e.get?e:o.propHooks._default).get(this)},run:function(e){var t,n=o.propHooks[this.prop];return this.options.duration?this.pos=t=S.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),(n&&n.set?n:o.propHooks._default).set(this),this}}).init.prototype=o.prototype,(o.propHooks={_default:{get:function(e){return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(e=S.css(e.elem,e.prop,""))&&"auto"!==e?e:0},set:function(e){S.fx.step[e.prop]?S.fx.step[e.prop](e):1!==e.elem.nodeType||!S.cssHooks[e.prop]&&null==e.elem.style[it(e.prop)]?e.elem[e.prop]=e.now:S.style(e.elem,e.prop,e.now+e.unit)}}}).scrollTop=o.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},S.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},S.fx=o.prototype.init,S.fx.step={};var A,ht,a,O,dt=/^(?:toggle|show|hide)$/,ft=/queueHooks$/;function pt(){ht&&(!1===x.hidden&&w.requestAnimationFrame?w.requestAnimationFrame(pt):w.setTimeout(pt,S.fx.interval),S.fx.tick())}function gt(){return w.setTimeout(function(){A=void 0}),A=Date.now()}function mt(e,t){var n,i=0,r={height:e};for(t=t?1:0;i<4;i+=2-t)r["margin"+(n=d[i])]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}function vt(e,t,n){for(var i,r=(P.tweeners[t]||[]).concat(P.tweeners["*"]),o=0,a=r.length;o<a;o++)if(i=r[o].call(n,t,e))return i}function P(r,e,t){var n,o,i,a,l,s,u,c=0,h=P.prefilters.length,d=S.Deferred().always(function(){delete f.elem}),f=function(){if(!o){for(var e=A||gt(),e=Math.max(0,p.startTime+p.duration-e),t=1-(e/p.duration||0),n=0,i=p.tweens.length;n<i;n++)p.tweens[n].run(t);if(d.notifyWith(r,[p,t,e]),t<1&&i)return e;i||d.notifyWith(r,[p,1,0]),d.resolveWith(r,[p])}return!1},p=d.promise({elem:r,props:S.extend({},e),opts:S.extend(!0,{specialEasing:{},easing:S.easing._default},t),originalProperties:e,originalOptions:t,startTime:A||gt(),duration:t.duration,tweens:[],createTween:function(e,t){t=S.Tween(r,p.opts,e,t,p.opts.specialEasing[e]||p.opts.easing);return p.tweens.push(t),t},stop:function(e){var t=0,n=e?p.tweens.length:0;if(!o){for(o=!0;t<n;t++)p.tweens[t].run(1);e?(d.notifyWith(r,[p,1,0]),d.resolveWith(r,[p,e])):d.rejectWith(r,[p,e])}return this}}),g=p.props,m=g,v=p.opts.specialEasing;for(i in m)if(l=v[a=b(i)],s=m[i],Array.isArray(s)&&(l=s[1],s=m[i]=s[0]),i!==a&&(m[a]=s,delete m[i]),(u=S.cssHooks[a])&&"expand"in u)for(i in s=u.expand(s),delete m[a],s)i in m||(m[i]=s[i],v[i]=l);else v[a]=l;for(;c<h;c++)if(n=P.prefilters[c].call(p,r,g,p.opts))return y(n.stop)&&(S._queueHooks(p.elem,p.opts.queue).stop=n.stop.bind(n)),n;return S.map(g,vt,p),y(p.opts.start)&&p.opts.start.call(r,p),p.progress(p.opts.progress).done(p.opts.done,p.opts.complete).fail(p.opts.fail).always(p.opts.always),S.fx.timer(S.extend(f,{elem:r,anim:p,queue:p.opts.queue})),p}S.Animation=S.extend(P,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return be(n.elem,e,ve.exec(t),n),n}]},tweener:function(e,t){for(var n,i=0,r=(e=y(e)?(t=e,["*"]):e.match(C)).length;i<r;i++)n=e[i],P.tweeners[n]=P.tweeners[n]||[],P.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var i,r,o,a,l,s,u,c="width"in t||"height"in t,h=this,d={},f=e.style,p=e.nodeType&&me(e),g=_.get(e,"fxshow");for(i in n.queue||(null==(a=S._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,l=a.empty.fire,a.empty.fire=function(){a.unqueued||l()}),a.unqueued++,h.always(function(){h.always(function(){a.unqueued--,S.queue(e,"fx").length||a.empty.fire()})})),t)if(r=t[i],dt.test(r)){if(delete t[i],o=o||"toggle"===r,r===(p?"hide":"show")){if("show"!==r||!g||void 0===g[i])continue;p=!0}d[i]=g&&g[i]||S.style(e,i)}if((s=!S.isEmptyObject(t))||!S.isEmptyObject(d))for(i in c&&1===e.nodeType&&(n.overflow=[f.overflow,f.overflowX,f.overflowY],null==(u=g&&g.display)&&(u=_.get(e,"display")),"none"===(c=S.css(e,"display"))&&(u?c=u:(M([e],!0),u=e.style.display||u,c=S.css(e,"display"),M([e]))),("inline"===c||"inline-block"===c&&null!=u)&&"none"===S.css(e,"float")&&(s||(h.done(function(){f.display=u}),null==u&&(c=f.display,u="none"===c?"":c)),f.display="inline-block")),n.overflow&&(f.overflow="hidden",h.always(function(){f.overflow=n.overflow[0],f.overflowX=n.overflow[1],f.overflowY=n.overflow[2]})),s=!1,d)s||(g?"hidden"in g&&(p=g.hidden):g=_.access(e,"fxshow",{display:u}),o&&(g.hidden=!p),p&&M([e],!0),h.done(function(){for(i in p||M([e]),_.remove(e,"fxshow"),d)S.style(e,i,d[i])})),s=vt(p?g[i]:0,i,h),i in g||(g[i]=s.start,p&&(s.end=s.start,s.start=0))}],prefilter:function(e,t){t?P.prefilters.unshift(e):P.prefilters.push(e)}}),S.speed=function(e,t,n){var i=e&&"object"===Jt(e)?S.extend({},e):{complete:n||!n&&t||y(e)&&e,duration:e,easing:n&&t||t&&!y(t)&&t};return S.fx.off?i.duration=0:"number"!=typeof i.duration&&(i.duration in S.fx.speeds?i.duration=S.fx.speeds[i.duration]:i.duration=S.fx.speeds._default),null!=i.queue&&!0!==i.queue||(i.queue="fx"),i.old=i.complete,i.complete=function(){y(i.old)&&i.old.call(this),i.queue&&S.dequeue(this,i.queue)},i},S.fn.extend({fadeTo:function(e,t,n,i){return this.filter(me).css("opacity",0).show().end().animate({opacity:t},e,n,i)},animate:function(t,e,n,i){function r(){var e=P(this,S.extend({},t),a);(o||_.get(this,"finish"))&&e.stop(!0)}var o=S.isEmptyObject(t),a=S.speed(e,n,i);return r.finish=r,o||!1===a.queue?this.each(r):this.queue(a.queue,r)},stop:function(r,e,o){function a(e){var t=e.stop;delete e.stop,t(o)}return"string"!=typeof r&&(o=e,e=r,r=void 0),e&&this.queue(r||"fx",[]),this.each(function(){var e=!0,t=null!=r&&r+"queueHooks",n=S.timers,i=_.get(this);if(t)i[t]&&i[t].stop&&a(i[t]);else for(t in i)i[t]&&i[t].stop&&ft.test(t)&&a(i[t]);for(t=n.length;t--;)n[t].elem!==this||null!=r&&n[t].queue!==r||(n[t].anim.stop(o),e=!1,n.splice(t,1));!e&&o||S.dequeue(this,r)})},finish:function(a){return!1!==a&&(a=a||"fx"),this.each(function(){var e,t=_.get(this),n=t[a+"queue"],i=t[a+"queueHooks"],r=S.timers,o=n?n.length:0;for(t.finish=!0,S.queue(this,a,[]),i&&i.stop&&i.stop.call(this,!0),e=r.length;e--;)r[e].elem===this&&r[e].queue===a&&(r[e].anim.stop(!0),r.splice(e,1));for(e=0;e<o;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete t.finish})}}),S.each(["toggle","show","hide"],function(e,i){var r=S.fn[i];S.fn[i]=function(e,t,n){return null==e||"boolean"==typeof e?r.apply(this,arguments):this.animate(mt(i,!0),e,t,n)}}),S.each({slideDown:mt("show"),slideUp:mt("hide"),slideToggle:mt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,i){S.fn[e]=function(e,t,n){return this.animate(i,e,t,n)}}),S.timers=[],S.fx.tick=function(){var e,t=0,n=S.timers;for(A=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||S.fx.stop(),A=void 0},S.fx.timer=function(e){S.timers.push(e),S.fx.start()},S.fx.interval=13,S.fx.start=function(){ht||(ht=!0,pt())},S.fx.stop=function(){ht=null},S.fx.speeds={slow:600,fast:200,_default:400},S.fn.delay=function(i,e){return i=S.fx&&S.fx.speeds[i]||i,this.queue(e=e||"fx",function(e,t){var n=w.setTimeout(e,i);t.stop=function(){w.clearTimeout(n)}})},a=x.createElement("input"),O=x.createElement("select").appendChild(x.createElement("option")),a.type="checkbox",m.checkOn=""!==a.value,m.optSelected=O.selected,(a=x.createElement("input")).value="t",a.type="radio",m.radioValue="t"===a.value;var yt,bt=S.expr.attrHandle,_t=(S.fn.extend({attr:function(e,t){return h(this,S.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each(function(){S.removeAttr(this,e)})}}),S.extend({attr:function(e,t,n){var i,r,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?S.prop(e,t,n):(1===o&&S.isXMLDoc(e)||(r=S.attrHooks[t.toLowerCase()]||(S.expr.match.bool.test(t)?yt:void 0)),void 0!==n?null===n?void S.removeAttr(e,t):r&&"set"in r&&void 0!==(i=r.set(e,n,t))?i:(e.setAttribute(t,n+""),n):!(r&&"get"in r&&null!==(i=r.get(e,t)))&&null==(i=S.find.attr(e,t))?void 0:i)},attrHooks:{type:{set:function(e,t){var n;if(!m.radioValue&&"radio"===t&&s(e,"input"))return n=e.value,e.setAttribute("type",t),n&&(e.value=n),t}}},removeAttr:function(e,t){var n,i=0,r=t&&t.match(C);if(r&&1===e.nodeType)for(;n=r[i++];)e.removeAttribute(n)}}),yt={set:function(e,t,n){return!1===t?S.removeAttr(e,n):e.setAttribute(n,n),n}},S.each(S.expr.match.bool.source.match(/\w+/g),function(e,t){var a=bt[t]||S.find.attr;bt[t]=function(e,t,n){var i,r,o=t.toLowerCase();return n||(r=bt[o],bt[o]=i,i=null!=a(e,t,n)?o:null,bt[o]=r),i}}),/^(?:input|select|textarea|button)$/i),wt=/^(?:a|area)$/i;function I(e){return(e.match(C)||[]).join(" ")}function N(e){return e.getAttribute&&e.getAttribute("class")||""}function xt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(C)||[]}S.fn.extend({prop:function(e,t){return h(this,S.prop,e,t,1<arguments.length)},removeProp:function(e){return this.each(function(){delete this[S.propFix[e]||e]})}}),S.extend({prop:function(e,t,n){var i,r,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&S.isXMLDoc(e)||(t=S.propFix[t]||t,r=S.propHooks[t]),void 0!==n?r&&"set"in r&&void 0!==(i=r.set(e,n,t))?i:e[t]=n:r&&"get"in r&&null!==(i=r.get(e,t))?i:e[t]},propHooks:{tabIndex:{get:function(e){var t=S.find.attr(e,"tabindex");return t?parseInt(t,10):_t.test(e.nodeName)||wt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),m.optSelected||(S.propHooks.selected={get:function(e){e=e.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(e){e=e.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),S.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){S.propFix[this.toLowerCase()]=this}),S.fn.extend({addClass:function(t){var e,n,i,r,o,a,l=0;if(y(t))return this.each(function(e){S(this).addClass(t.call(this,e,N(this)))});if((e=xt(t)).length)for(;n=this[l++];)if(a=N(n),i=1===n.nodeType&&" "+I(a)+" "){for(o=0;r=e[o++];)i.indexOf(" "+r+" ")<0&&(i+=r+" ");a!==(a=I(i))&&n.setAttribute("class",a)}return this},removeClass:function(t){var e,n,i,r,o,a,l=0;if(y(t))return this.each(function(e){S(this).removeClass(t.call(this,e,N(this)))});if(!arguments.length)return this.attr("class","");if((e=xt(t)).length)for(;n=this[l++];)if(a=N(n),i=1===n.nodeType&&" "+I(a)+" "){for(o=0;r=e[o++];)for(;-1<i.indexOf(" "+r+" ");)i=i.replace(" "+r+" "," ");a!==(a=I(i))&&n.setAttribute("class",a)}return this},toggleClass:function(r,t){var o=Jt(r),a="string"===o||Array.isArray(r);return"boolean"==typeof t&&a?t?this.addClass(r):this.removeClass(r):y(r)?this.each(function(e){S(this).toggleClass(r.call(this,e,N(this),t),t)}):this.each(function(){var e,t,n,i;if(a)for(t=0,n=S(this),i=xt(r);e=i[t++];)n.hasClass(e)?n.removeClass(e):n.addClass(e);else void 0!==r&&"boolean"!==o||((e=N(this))&&_.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",!e&&!1!==r&&_.get(this,"__className__")||""))})},hasClass:function(e){for(var t,n=0,i=" "+e+" ";t=this[n++];)if(1===t.nodeType&&-1<(" "+I(N(t))+" ").indexOf(i))return!0;return!1}});function St(e){e.stopPropagation()}var Ct=/\r/g,Et=(S.fn.extend({val:function(t){var n,e,i,r=this[0];return arguments.length?(i=y(t),this.each(function(e){1===this.nodeType&&(null==(e=i?t.call(this,e,S(this).val()):t)?e="":"number"==typeof e?e+="":Array.isArray(e)&&(e=S.map(e,function(e){return null==e?"":e+""})),(n=S.valHooks[this.type]||S.valHooks[this.nodeName.toLowerCase()])&&"set"in n&&void 0!==n.set(this,e,"value")||(this.value=e))})):r?(n=S.valHooks[r.type]||S.valHooks[r.nodeName.toLowerCase()])&&"get"in n&&void 0!==(e=n.get(r,"value"))?e:"string"==typeof(e=r.value)?e.replace(Ct,""):null==e?"":e:void 0}}),S.extend({valHooks:{option:{get:function(e){var t=S.find.attr(e,"value");return null!=t?t:I(S.text(e))}},select:{get:function(e){for(var t,n=e.options,i=e.selectedIndex,r="select-one"===e.type,o=r?null:[],a=r?i+1:n.length,l=i<0?a:r?i:0;l<a;l++)if(((t=n[l]).selected||l===i)&&!t.disabled&&(!t.parentNode.disabled||!s(t.parentNode,"optgroup"))){if(t=S(t).val(),r)return t;o.push(t)}return o},set:function(e,t){for(var n,i,r=e.options,o=S.makeArray(t),a=r.length;a--;)((i=r[a]).selected=-1<S.inArray(S.valHooks.option.get(i),o))&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),S.each(["radio","checkbox"],function(){S.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=-1<S.inArray(S(e).val(),t)}},m.checkOn||(S.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),m.focusin="onfocusin"in w,/^(?:focusinfocus|focusoutblur)$/),kt=(S.extend(S.event,{trigger:function(e,t,n,i){var r,o,a,l,s,u,c,h=[n||x],d=B.call(e,"type")?e.type:e,f=B.call(e,"namespace")?e.namespace.split("."):[],p=c=o=n=n||x;if(3!==n.nodeType&&8!==n.nodeType&&!Et.test(d+S.event.triggered)&&(-1<d.indexOf(".")&&(d=(f=d.split(".")).shift(),f.sort()),l=d.indexOf(":")<0&&"on"+d,(e=e[S.expando]?e:new S.Event(d,"object"===Jt(e)&&e)).isTrigger=i?2:3,e.namespace=f.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:S.makeArray(t,[e]),u=S.event.special[d]||{},i||!u.trigger||!1!==u.trigger.apply(n,t))){if(!i&&!u.noBubble&&!g(n)){for(a=u.delegateType||d,Et.test(a+d)||(p=p.parentNode);p;p=p.parentNode)h.push(p),o=p;o===(n.ownerDocument||x)&&h.push(o.defaultView||o.parentWindow||w)}for(r=0;(p=h[r++])&&!e.isPropagationStopped();)c=p,e.type=1<r?a:u.bindType||d,(s=(_.get(p,"events")||Object.create(null))[e.type]&&_.get(p,"handle"))&&s.apply(p,t),(s=l&&p[l])&&s.apply&&v(p)&&(e.result=s.apply(p,t),!1===e.result&&e.preventDefault());return e.type=d,i||e.isDefaultPrevented()||u._default&&!1!==u._default.apply(h.pop(),t)||!v(n)||l&&y(n[d])&&!g(n)&&((o=n[l])&&(n[l]=null),S.event.triggered=d,e.isPropagationStopped()&&c.addEventListener(d,St),n[d](),e.isPropagationStopped()&&c.removeEventListener(d,St),S.event.triggered=void 0,o&&(n[l]=o)),e.result}},simulate:function(e,t,n){n=S.extend(new S.Event,n,{type:e,isSimulated:!0});S.event.trigger(n,null,t)}}),S.fn.extend({trigger:function(e,t){return this.each(function(){S.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return S.event.trigger(e,t,n,!0)}}),m.focusin||S.each({focus:"focusin",blur:"focusout"},function(n,i){function r(e){S.event.simulate(i,e.target,S.event.fix(e))}S.event.special[i]={setup:function(){var e=this.ownerDocument||this.document||this,t=_.access(e,i);t||e.addEventListener(n,r,!0),_.access(e,i,(t||0)+1)},teardown:function(){var e=this.ownerDocument||this.document||this,t=_.access(e,i)-1;t?_.access(e,i,t):(e.removeEventListener(n,r,!0),_.remove(e,i))}}}),w.location),Mt={guid:Date.now()},Dt=/\?/,Tt=(S.parseXML=function(e){var t,n;if(!e||"string"!=typeof e)return null;try{t=(new w.DOMParser).parseFromString(e,"text/xml")}catch(e){}return n=t&&t.getElementsByTagName("parsererror")[0],t&&!n||S.error("Invalid XML: "+(n?S.map(n.childNodes,function(e){return e.textContent}).join("\n"):e)),t},/\[\]$/),Rt=/\r?\n/g,At=/^(?:submit|button|image|reset|file)$/i,Ot=/^(?:input|select|textarea|keygen)/i;S.param=function(e,t){function n(e,t){t=y(t)?t():t,r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==t?"":t)}var i,r=[];if(null==e)return"";if(Array.isArray(e)||e.jquery&&!S.isPlainObject(e))S.each(e,function(){n(this.name,this.value)});else for(i in e)!function n(i,e,r,o){if(Array.isArray(e))S.each(e,function(e,t){r||Tt.test(i)?o(i,t):n(i+"["+("object"===Jt(t)&&null!=t?e:"")+"]",t,r,o)});else if(r||"object"!==p(e))o(i,e);else for(var t in e)n(i+"["+t+"]",e[t],r,o)}(i,e[i],t,n);return r.join("&")},S.fn.extend({serialize:function(){return S.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=S.prop(this,"elements");return e?S.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!S(this).is(":disabled")&&Ot.test(this.nodeName)&&!At.test(e)&&(this.checked||!we.test(e))}).map(function(e,t){var n=S(this).val();return null==n?null:Array.isArray(n)?S.map(n,function(e){return{name:t.name,value:e.replace(Rt,"\r\n")}}):{name:t.name,value:n.replace(Rt,"\r\n")}}).get()}});var Pt=/%20/g,It=/#.*$/,Nt=/([?&])_=[^&]*/,Lt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ht=/^(?:GET|HEAD)$/,Wt=/^\/\//,jt={},Ft={},zt="*/".concat("*"),Vt=x.createElement("a");function Bt(o){return function(e,t){"string"!=typeof e&&(t=e,e="*");var n,i=0,r=e.toLowerCase().match(C)||[];if(y(t))for(;n=r[i++];)"+"===n[0]?(n=n.slice(1)||"*",(o[n]=o[n]||[]).unshift(t)):(o[n]=o[n]||[]).push(t)}}function Yt(t,i,r,o){var a={},l=t===Ft;function s(e){var n;return a[e]=!0,S.each(t[e]||[],function(e,t){t=t(i,r,o);return"string"!=typeof t||l||a[t]?l?!(n=t):void 0:(i.dataTypes.unshift(t),s(t),!1)}),n}return s(i.dataTypes[0])||!a["*"]&&s("*")}function Ut(e,t){var n,i,r=S.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((r[n]?e:i=i||{})[n]=t[n]);return i&&S.extend(!0,e,i),e}Vt.href=kt.href,S.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:kt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(kt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":zt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":S.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Ut(Ut(e,S.ajaxSettings),t):Ut(S.ajaxSettings,e)},ajaxPrefilter:Bt(jt),ajaxTransport:Bt(Ft),ajax:function(e,t){"object"===Jt(e)&&(t=e,e=void 0);var s,u,c,n,h,d,f,i,p=S.ajaxSetup({},t=t||{}),g=p.context||p,m=p.context&&(g.nodeType||g.jquery)?S(g):S.event,v=S.Deferred(),y=S.Callbacks("once memory"),b=p.statusCode||{},r={},o={},a="canceled",_={readyState:0,getResponseHeader:function(e){var t;if(d){if(!n)for(n={};t=Lt.exec(c);)n[t[1].toLowerCase()+" "]=(n[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=n[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return d?c:null},setRequestHeader:function(e,t){return null==d&&(e=o[e.toLowerCase()]=o[e.toLowerCase()]||e,r[e]=t),this},overrideMimeType:function(e){return null==d&&(p.mimeType=e),this},statusCode:function(e){if(e)if(d)_.always(e[_.status]);else for(var t in e)b[t]=[b[t],e[t]];return this},abort:function(e){e=e||a;return s&&s.abort(e),l(0,e),this}};if(v.promise(_),p.url=((e||p.url||kt.href)+"").replace(Wt,kt.protocol+"//"),p.type=t.method||t.type||p.method||p.type,p.dataTypes=(p.dataType||"*").toLowerCase().match(C)||[""],null==p.crossDomain){e=x.createElement("a");try{e.href=p.url,e.href=e.href,p.crossDomain=Vt.protocol+"//"+Vt.host!=e.protocol+"//"+e.host}catch(e){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=S.param(p.data,p.traditional)),Yt(jt,p,t,_),!d){for(i in(f=S.event&&p.global)&&0==S.active++&&S.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Ht.test(p.type),u=p.url.replace(It,""),p.hasContent?p.data&&p.processData&&0===(p.contentType||"").indexOf("application/x-www-form-urlencoded")&&(p.data=p.data.replace(Pt,"+")):(e=p.url.slice(u.length),p.data&&(p.processData||"string"==typeof p.data)&&(u+=(Dt.test(u)?"&":"?")+p.data,delete p.data),!1===p.cache&&(u=u.replace(Nt,"$1"),e=(Dt.test(u)?"&":"?")+"_="+Mt.guid+++e),p.url=u+e),p.ifModified&&(S.lastModified[u]&&_.setRequestHeader("If-Modified-Since",S.lastModified[u]),S.etag[u]&&_.setRequestHeader("If-None-Match",S.etag[u])),(p.data&&p.hasContent&&!1!==p.contentType||t.contentType)&&_.setRequestHeader("Content-Type",p.contentType),_.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+zt+"; q=0.01":""):p.accepts["*"]),p.headers)_.setRequestHeader(i,p.headers[i]);if(p.beforeSend&&(!1===p.beforeSend.call(g,_,p)||d))return _.abort();if(a="abort",y.add(p.complete),_.done(p.success),_.fail(p.error),s=Yt(Ft,p,t,_)){if(_.readyState=1,f&&m.trigger("ajaxSend",[_,p]),d)return _;p.async&&0<p.timeout&&(h=w.setTimeout(function(){_.abort("timeout")},p.timeout));try{d=!1,s.send(r,l)}catch(e){if(d)throw e;l(-1,e)}}else l(-1,"No Transport")}return _;function l(e,t,n,i){var r,o,a,l=t;d||(d=!0,h&&w.clearTimeout(h),s=void 0,c=i||"",_.readyState=0<e?4:0,i=200<=e&&e<300||304===e,n&&(a=function(e,t,n){for(var i,r,o,a,l=e.contents,s=e.dataTypes;"*"===s[0];)s.shift(),void 0===i&&(i=e.mimeType||t.getResponseHeader("Content-Type"));if(i)for(r in l)if(l[r]&&l[r].test(i)){s.unshift(r);break}if(s[0]in n)o=s[0];else{for(r in n){if(!s[0]||e.converters[r+" "+s[0]]){o=r;break}a=a||r}o=o||a}if(o)return o!==s[0]&&s.unshift(o),n[o]}(p,_,n)),!i&&-1<S.inArray("script",p.dataTypes)&&S.inArray("json",p.dataTypes)<0&&(p.converters["text script"]=function(){}),a=function(e,t,n,i){var r,o,a,l,s,u={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)u[a.toLowerCase()]=e.converters[a];for(o=c.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!s&&i&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),s=o,o=c.shift())if("*"===o)o=s;else if("*"!==s&&s!==o){if(!(a=u[s+" "+o]||u["* "+o]))for(r in u)if((l=r.split(" "))[1]===o&&(a=u[s+" "+l[0]]||u["* "+l[0]])){!0===a?a=u[r]:!0!==u[r]&&(o=l[0],c.unshift(l[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+s+" to "+o}}}return{state:"success",data:t}}(p,a,_,i),i?(p.ifModified&&((n=_.getResponseHeader("Last-Modified"))&&(S.lastModified[u]=n),(n=_.getResponseHeader("etag"))&&(S.etag[u]=n)),204===e||"HEAD"===p.type?l="nocontent":304===e?l="notmodified":(l=a.state,r=a.data,i=!(o=a.error))):(o=l,!e&&l||(l="error",e<0&&(e=0))),_.status=e,_.statusText=(t||l)+"",i?v.resolveWith(g,[r,l,_]):v.rejectWith(g,[_,l,o]),_.statusCode(b),b=void 0,f&&m.trigger(i?"ajaxSuccess":"ajaxError",[_,p,i?r:o]),y.fireWith(g,[_,l]),f&&(m.trigger("ajaxComplete",[_,p]),--S.active||S.event.trigger("ajaxStop")))}},getJSON:function(e,t,n){return S.get(e,t,n,"json")},getScript:function(e,t){return S.get(e,void 0,t,"script")}}),S.each(["get","post"],function(e,r){S[r]=function(e,t,n,i){return y(t)&&(i=i||n,n=t,t=void 0),S.ajax(S.extend({url:e,type:r,dataType:i,data:t,success:n},S.isPlainObject(e)&&e))}}),S.ajaxPrefilter(function(e){for(var t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")}),S._evalUrl=function(e,t,n){return S.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){S.globalEval(e,t,n)}})},S.fn.extend({wrapAll:function(e){return this[0]&&(y(e)&&(e=e.call(this[0])),e=S(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(n){return y(n)?this.each(function(e){S(this).wrapInner(n.call(this,e))}):this.each(function(){var e=S(this),t=e.contents();t.length?t.wrapAll(n):e.append(n)})},wrap:function(t){var n=y(t);return this.each(function(e){S(this).wrapAll(n?t.call(this,e):t)})},unwrap:function(e){return this.parent(e).not("body").each(function(){S(this).replaceWith(this.childNodes)}),this}}),S.expr.pseudos.hidden=function(e){return!S.expr.pseudos.visible(e)},S.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},S.ajaxSettings.xhr=function(){try{return new w.XMLHttpRequest}catch(e){}};var qt={0:200,1223:204},Zt=S.ajaxSettings.xhr(),Gt=(m.cors=!!Zt&&"withCredentials"in Zt,m.ajax=Zt=!!Zt,S.ajaxTransport(function(r){var o,a;if(m.cors||Zt&&!r.crossDomain)return{send:function(e,t){var n,i=r.xhr();if(i.open(r.type,r.url,r.async,r.username,r.password),r.xhrFields)for(n in r.xhrFields)i[n]=r.xhrFields[n];for(n in r.mimeType&&i.overrideMimeType&&i.overrideMimeType(r.mimeType),r.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest"),e)i.setRequestHeader(n,e[n]);o=function(e){return function(){o&&(o=a=i.onload=i.onerror=i.onabort=i.ontimeout=i.onreadystatechange=null,"abort"===e?i.abort():"error"===e?"number"!=typeof i.status?t(0,"error"):t(i.status,i.statusText):t(qt[i.status]||i.status,i.statusText,"text"!==(i.responseType||"text")||"string"!=typeof i.responseText?{binary:i.response}:{text:i.responseText},i.getAllResponseHeaders()))}},i.onload=o(),a=i.onerror=i.ontimeout=o("error"),void 0!==i.onabort?i.onabort=a:i.onreadystatechange=function(){4===i.readyState&&w.setTimeout(function(){o&&a()})},o=o("abort");try{i.send(r.hasContent&&r.data||null)}catch(e){if(o)throw e}},abort:function(){o&&o()}}}),S.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),S.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return S.globalEval(e),e}}}),S.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),S.ajaxTransport("script",function(n){var i,r;if(n.crossDomain||n.scriptAttrs)return{send:function(e,t){i=S("<script>").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",r=function(e){i.remove(),r=null,e&&t("error"===e.type?404:200,e.type)}),x.head.appendChild(i[0])},abort:function(){r&&r()}}}),[]),Xt=/(=)\?(?=&|$)|\?\?/,$t=(S.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Gt.pop()||S.expando+"_"+Mt.guid++;return this[e]=!0,e}}),S.ajaxPrefilter("json jsonp",function(e,t,n){var i,r,o,a=!1!==e.jsonp&&(Xt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Xt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return i=e.jsonpCallback=y(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Xt,"$1"+i):!1!==e.jsonp&&(e.url+=(Dt.test(e.url)?"&":"?")+e.jsonp+"="+i),e.converters["script json"]=function(){return o||S.error(i+" was not called"),o[0]},e.dataTypes[0]="json",r=w[i],w[i]=function(){o=arguments},n.always(function(){void 0===r?S(w).removeProp(i):w[i]=r,e[i]&&(e.jsonpCallback=t.jsonpCallback,Gt.push(i)),o&&y(r)&&r(o[0]),o=r=void 0}),"script"}),m.createHTMLDocument=((e=x.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===e.childNodes.length),S.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(m.createHTMLDocument?((i=(t=x.implementation.createHTMLDocument("")).createElement("base")).href=x.location.href,t.head.appendChild(i)):t=x),i=!n&&[],(n=K.exec(e))?[t.createElement(n[1])]:(n=ke([e],t,i),i&&i.length&&S(i).remove(),S.merge([],n.childNodes)));var i},S.fn.load=function(e,t,n){var i,r,o,a=this,l=e.indexOf(" ");return-1<l&&(i=I(e.slice(l)),e=e.slice(0,l)),y(t)?(n=t,t=void 0):t&&"object"===Jt(t)&&(r="POST"),0<a.length&&S.ajax({url:e,type:r||"GET",dataType:"html",data:t}).done(function(e){o=arguments,a.html(i?S("<div>").append(S.parseHTML(e)).find(i):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},S.expr.pseudos.animated=function(t){return S.grep(S.timers,function(e){return t===e.elem}).length},S.offset={setOffset:function(e,t,n){var i,r,o,a,l=S.css(e,"position"),s=S(e),u={};"static"===l&&(e.style.position="relative"),o=s.offset(),i=S.css(e,"top"),a=S.css(e,"left"),l=("absolute"===l||"fixed"===l)&&-1<(i+a).indexOf("auto")?(r=(l=s.position()).top,l.left):(r=parseFloat(i)||0,parseFloat(a)||0),null!=(t=y(t)?t.call(e,n,S.extend({},o)):t).top&&(u.top=t.top-o.top+r),null!=t.left&&(u.left=t.left-o.left+l),"using"in t?t.using.call(e,u):s.css(u)}},S.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){S.offset.setOffset(this,t,e)});var e,n=this[0];return n?n.getClientRects().length?(e=n.getBoundingClientRect(),n=n.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,i=this[0],r={top:0,left:0};if("fixed"===S.css(i,"position"))t=i.getBoundingClientRect();else{for(t=this.offset(),n=i.ownerDocument,e=i.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===S.css(e,"position");)e=e.parentNode;e&&e!==i&&1===e.nodeType&&((r=S(e).offset()).top+=S.css(e,"borderTopWidth",!0),r.left+=S.css(e,"borderLeftWidth",!0))}return{top:t.top-r.top-S.css(i,"marginTop",!0),left:t.left-r.left-S.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===S.css(e,"position");)e=e.offsetParent;return e||E})}}),S.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,r){var o="pageYOffset"===r;S.fn[t]=function(e){return h(this,function(e,t,n){var i;if(g(e)?i=e:9===e.nodeType&&(i=e.defaultView),void 0===n)return i?i[r]:e[t];i?i.scrollTo(o?i.pageXOffset:n,o?n:i.pageYOffset):e[t]=n},t,e,arguments.length)}}),S.each(["top","left"],function(e,n){S.cssHooks[n]=Je(m.pixelPosition,function(e,t){if(t)return t=Qe(e,n),Ge.test(t)?S(e).position()[n]+"px":t})}),S.each({Height:"height",Width:"width"},function(a,l){S.each({padding:"inner"+a,content:l,"":"outer"+a},function(i,o){S.fn[o]=function(e,t){var n=arguments.length&&(i||"boolean"!=typeof e),r=i||(!0===e||!0===t?"margin":"border");return h(this,function(e,t,n){var i;return g(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(i=e.documentElement,Math.max(e.body["scroll"+a],i["scroll"+a],e.body["offset"+a],i["offset"+a],i["client"+a])):void 0===n?S.css(e,t,r):S.style(e,t,n,r)},l,n?e:void 0,n)}})}),S.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){S.fn[t]=function(e){return this.on(t,e)}}),S.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,i){return this.on(t,e,n,i)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),S.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){S.fn[n]=function(e,t){return 0<arguments.length?this.on(n,null,e,t):this.trigger(n)}}),/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g),Kt=(S.proxy=function(e,t){var n,i;if("string"==typeof t&&(i=e[t],t=e,e=i),y(e))return n=l.call(arguments,2),(i=function(){return e.apply(t||this,n.concat(l.call(arguments)))}).guid=e.guid=e.guid||S.guid++,i},S.holdReady=function(e){e?S.readyWait++:S.ready(!0)},S.isArray=Array.isArray,S.parseJSON=JSON.parse,S.nodeName=s,S.isFunction=y,S.isWindow=g,S.camelCase=b,S.type=p,S.now=Date.now,S.isNumeric=function(e){var t=S.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},S.trim=function(e){return null==e?"":(e+"").replace($t,"")},"function"==typeof define&&define.amd&&define("jquery",[],function(){return S}),w.jQuery),Qt=w.$;return S.noConflict=function(e){return w.$===S&&(w.$=Qt),e&&w.jQuery===S&&(w.jQuery=Kt),S},void 0===L&&(w.jQuery=w.$=S),S},"object"===(void 0===t?"undefined":Jt(t))&&"object"===Jt(t.exports)?t.exports=i.document?r(i,!0):function(e){if(e.document)return r(e);throw new Error("jQuery requires a window with a document")}:r(i)},{}],21:[function(e,t,n){"use strict";var a="__googleMapsApiOnLoadCallback",l=["channel","client","key","language","region","v"],i=null;t.exports=function(){var o=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return i=i||new Promise(function(e,t){var n=setTimeout(function(){window[a]=function(){},t(new Error("Could not load the Google Maps API"))},o.timeout||1e4),i=(window[a]=function(){null!==n&&clearTimeout(n),e(window.google.maps),delete window[a]},document.createElement("script")),r=["callback=".concat(a)];l.forEach(function(e){o[e]&&r.push("".concat(e,"=").concat(o[e]))}),o.libraries&&o.libraries.length&&r.push("libraries=".concat(o.libraries.join(","))),i.src="".concat(o.apiUrl||"https://maps.googleapis.com/maps/api/js","?").concat(r.join("&")),document.body.appendChild(i)})}},{}],22:[function(e,D,T){!function(M){"use strict";function as(e){return(as="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}!function(){var zo,Vo="Expected a function",ya="__lodash_hash_undefined__",ba="__lodash_placeholder__",Bo=9007199254740991,_a=NaN,Yo=4294967295,wa=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],Uo="[object Arguments]",xa="[object Array]",qo="[object Boolean]",Zo="[object Date]",Sa="[object Error]",Ca="[object Function]",Ea="[object GeneratorFunction]",Go="[object Map]",Xo="[object Number]",$o="[object Object]",ka="[object Promise]",Ko="[object RegExp]",Qo="[object Set]",Jo="[object String]",Ma="[object Symbol]",ea="[object WeakMap]",ta="[object ArrayBuffer]",na="[object DataView]",Da="[object Float32Array]",Ta="[object Float64Array]",Ra="[object Int8Array]",Aa="[object Int16Array]",Oa="[object Int32Array]",Pa="[object Uint8Array]",Ia="[object Uint8ClampedArray]",Na="[object Uint16Array]",La="[object Uint32Array]",Ha=/\b__p \+= '';/g,Wa=/\b(__p \+=) '' \+/g,ja=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Fa=/&(?:amp|lt|gt|quot|#39);/g,za=/[&<>"']/g,Va=RegExp(Fa.source),Ba=RegExp(za.source),Ya=/<%-([\s\S]+?)%>/g,Ua=/<%([\s\S]+?)%>/g,qa=/<%=([\s\S]+?)%>/g,Za=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Ga=/^\w*$/,Xa=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,$a=/[\\^$.*+?()[\]{}|]/g,Ka=RegExp($a.source),Qa=/^\s+/,o=/\s/,Ja=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,el=/\{\n\/\* \[wrapped with (.+)\] \*/,tl=/,? & /,nl=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,il=/[()=,{}\[\]\/\s]/,rl=/\\(\\)?/g,ol=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,al=/\w*$/,ll=/^[-+]0x[0-9a-f]+$/i,sl=/^0b[01]+$/i,ul=/^\[object .+?Constructor\]$/,cl=/^0o[0-7]+$/i,hl=/^(?:0|[1-9]\d*)$/,dl=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,fl=/($^)/,pl=/['\n\r\u2028\u2029\\]/g,a="\\ud800-\\udfff",l="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",s="\\u2700-\\u27bf",e="a-z\\xdf-\\xf6\\xf8-\\xff",t="A-Z\\xc0-\\xd6\\xd8-\\xde",u="\\ufe0e\\ufe0f",c="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",n="["+a+"]",h="["+c+"]",d="["+l+"]",f="["+s+"]",p="["+e+"]",c="[^"+a+c+"\\d+"+s+e+t+"]",s="\\ud83c[\\udffb-\\udfff]",e="[^"+a+"]",g="(?:\\ud83c[\\udde6-\\uddff]){2}",i="[\\ud800-\\udbff][\\udc00-\\udfff]",t="["+t+"]",m="(?:"+p+"|"+c+")",c="(?:"+t+"|"+c+")",v="(?:['](?:d|ll|m|re|s|t|ve))?",y="(?:['](?:D|LL|M|RE|S|T|VE))?",b="(?:"+d+"|"+s+")"+"?",_="["+u+"]?",_=_+b+("(?:\\u200d(?:"+[e,g,i].join("|")+")"+_+b+")*"),b="(?:"+[f,g,i].join("|")+")"+_,f="(?:"+[e+d+"?",d,g,i,n].join("|")+")",gl=RegExp("[']","g"),ml=RegExp(d,"g"),w=RegExp(s+"(?="+s+")|"+f+_,"g"),vl=RegExp([t+"?"+p+"+"+v+"(?="+[h,t,"$"].join("|")+")",c+"+"+y+"(?="+[h,t+m,"$"].join("|")+")",t+"?"+m+"+"+v,t+"+"+y,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])","\\d+",b].join("|"),"g"),x=RegExp("[\\u200d"+a+l+u+"]"),yl=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,bl=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],_l=-1,ia={},ra=(ia[Da]=ia[Ta]=ia[Ra]=ia[Aa]=ia[Oa]=ia[Pa]=ia[Ia]=ia[Na]=ia[La]=!0,ia[Uo]=ia[xa]=ia[ta]=ia[qo]=ia[na]=ia[Zo]=ia[Sa]=ia[Ca]=ia[Go]=ia[Xo]=ia[$o]=ia[Ko]=ia[Qo]=ia[Jo]=ia[ea]=!1,{}),S=(ra[Uo]=ra[xa]=ra[ta]=ra[na]=ra[qo]=ra[Zo]=ra[Da]=ra[Ta]=ra[Ra]=ra[Aa]=ra[Oa]=ra[Go]=ra[Xo]=ra[$o]=ra[Ko]=ra[Qo]=ra[Jo]=ra[Ma]=ra[Pa]=ra[Ia]=ra[Na]=ra[La]=!0,ra[Sa]=ra[Ca]=ra[ea]=!1,{"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"}),wl=parseFloat,xl=parseInt,e="object"==(void 0===M?"undefined":as(M))&&M&&M.Object===Object&&M,g="object"==("undefined"==typeof self?"undefined":as(self))&&self&&self.Object===Object&&self,oa=e||g||Function("return this")(),i="object"==(void 0===T?"undefined":as(T))&&T&&!T.nodeType&&T,r=i&&"object"==(void 0===D?"undefined":as(D))&&D&&!D.nodeType&&D,Sl=r&&r.exports===i,C=Sl&&e.process,n=function(){try{var e=r&&r.require&&r.require("util").types;return e?e:C&&C.binding&&C.binding("util")}catch(e){}}(),Cl=n&&n.isArrayBuffer,El=n&&n.isDate,kl=n&&n.isMap,Ml=n&&n.isRegExp,Dl=n&&n.isSet,Tl=n&&n.isTypedArray;function aa(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function Rl(e,t,n,i){for(var r=-1,o=null==e?0:e.length;++r<o;){var a=e[r];t(i,a,n(a),e)}return i}function la(e,t){for(var n=-1,i=null==e?0:e.length;++n<i&&!1!==t(e[n],n,e););return e}function Al(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function Ol(e,t){for(var n=-1,i=null==e?0:e.length;++n<i;)if(!t(e[n],n,e))return!1;return!0}function sa(e,t){for(var n=-1,i=null==e?0:e.length,r=0,o=[];++n<i;){var a=e[n];t(a,n,e)&&(o[r++]=a)}return o}function Pl(e,t){return!!(null==e?0:e.length)&&-1<ha(e,t,0)}function Il(e,t,n){for(var i=-1,r=null==e?0:e.length;++i<r;)if(n(t,e[i]))return!0;return!1}function ua(e,t){for(var n=-1,i=null==e?0:e.length,r=Array(i);++n<i;)r[n]=t(e[n],n,e);return r}function ca(e,t){for(var n=-1,i=t.length,r=e.length;++n<i;)e[r+n]=t[n];return e}function Nl(e,t,n,i){var r=-1,o=null==e?0:e.length;for(i&&o&&(n=e[++r]);++r<o;)n=t(n,e[r],r,e);return n}function Ll(e,t,n,i){var r=null==e?0:e.length;for(i&&r&&(n=e[--r]);r--;)n=t(n,e[r],r,e);return n}function Hl(e,t){for(var n=-1,i=null==e?0:e.length;++n<i;)if(t(e[n],n,e))return!0;return!1}var E=Bl("length");function Wl(e,i,t){var r;return t(e,function(e,t,n){if(i(e,t,n))return r=t,!1}),r}function jl(e,t,n,i){for(var r=e.length,o=n+(i?1:-1);i?o--:++o<r;)if(t(e[o],o,e))return o;return-1}function ha(e,t,n){if(t!=t)return jl(e,zl,n);for(var i=e,r=t,o=n-1,a=i.length;++o<a;)if(i[o]===r)return o;return-1}function Fl(e,t,n,i){for(var r=n-1,o=e.length;++r<o;)if(i(e[r],t))return r;return-1}function zl(e){return e!=e}function Vl(e,t){var n=null==e?0:e.length;return n?Ul(e,t)/n:_a}function Bl(t){return function(e){return null==e?zo:e[t]}}function k(t){return function(e){return null==t?zo:t[e]}}function Yl(e,i,r,o,t){return t(e,function(e,t,n){r=o?(o=!1,e):i(r,e,t,n)}),r}function Ul(e,t){for(var n,i=-1,r=e.length;++i<r;){var o=t(e[i]);o!==zo&&(n=n===zo?o:n+o)}return n}function ql(e,t){for(var n=-1,i=Array(e);++n<e;)i[n]=t(n);return i}function Zl(e){return e&&e.slice(0,rs(e)+1).replace(Qa,"")}function da(t){return function(e){return t(e)}}function Gl(t,e){return ua(e,function(e){return t[e]})}function Xl(e,t){return e.has(t)}function $l(e,t){for(var n=-1,i=e.length;++n<i&&-1<ha(t,e[n],0););return n}function Kl(e,t){for(var n=e.length;n--&&-1<ha(t,e[n],0););return n}var Ql=k({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),Jl=k({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function es(e){return"\\"+S[e]}function fa(e){return x.test(e)}function ts(e){var n=-1,i=Array(e.size);return e.forEach(function(e,t){i[++n]=[t,e]}),i}function ns(t,n){return function(e){return t(n(e))}}function pa(e,t){for(var n=-1,i=e.length,r=0,o=[];++n<i;){var a=e[n];a!==t&&a!==ba||(e[n]=ba,o[r++]=n)}return o}function is(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}function ga(e){return(fa(e)?function(e){var t=w.lastIndex=0;for(;w.test(e);)++t;return t}:E)(e)}function ma(e){return fa(e)?e.match(w)||[]:e.split("")}function rs(e){for(var t=e.length;t--&&o.test(e.charAt(t)););return t}var os=k({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"});var va=function r(e){var x=(e=null==e?oa:va.defaults(oa.Object(),e,va.pick(oa,bl))).Array,o=e.Date,O=e.Error,P=e.Function,I=e.Math,g=e.Object,N=e.RegExp,V=e.String,S=e.TypeError,B=x.prototype,Y=P.prototype,U=g.prototype,q=e["__core-js_shared__"],Z=Y.toString,L=U.hasOwnProperty,G=0,X=(Y=/[^.]+$/.exec(q&&q.keys&&q.keys.IE_PROTO||""))?"Symbol(src)_1."+Y:"",$=U.toString,K=Z.call(g),Q=oa._,J=N("^"+Z.call(L).replace($a,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Y=Sl?e.Buffer:zo,t=e.Symbol,ee=e.Uint8Array,te=Y?Y.allocUnsafe:zo,ne=ns(g.getPrototypeOf,g),ie=g.create,re=U.propertyIsEnumerable,oe=B.splice,ae=t?t.isConcatSpreadable:zo,le=t?t.iterator:zo,se=t?t.toStringTag:zo,ue=function(){try{var e=Qn(g,"defineProperty");return e({},"",{}),e}catch(e){}}(),ce=e.clearTimeout!==oa.clearTimeout&&e.clearTimeout,he=o&&o.now!==oa.Date.now&&o.now,de=e.setTimeout!==oa.setTimeout&&e.setTimeout,fe=I.ceil,pe=I.floor,ge=g.getOwnPropertySymbols,Y=Y?Y.isBuffer:zo,me=e.isFinite,ve=B.join,ye=ns(g.keys,g),C=I.max,E=I.min,be=o.now,_e=e.parseInt,we=I.random,xe=B.reverse,o=Qn(e,"DataView"),Se=Qn(e,"Map"),Ce=Qn(e,"Promise"),Ee=Qn(e,"Set"),e=Qn(e,"WeakMap"),ke=Qn(g,"create"),Me=e&&new e,De={},Te=Si(o),Re=Si(Se),Ae=Si(Ce),Oe=Si(Ee),Pe=Si(e),t=t?t.prototype:zo,Ie=t?t.valueOf:zo,Ne=t?t.toString:zo;function p(e){if(z(e)&&!F(e)&&!(e instanceof v)){if(e instanceof m)return e;if(L.call(e,"__wrapped__"))return Ci(e)}return new m(e)}var Le=function(e){if(!w(e))return{};if(ie)return ie(e);He.prototype=e;e=new He;return He.prototype=zo,e};function He(){}function We(){}function m(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=zo}function v(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Yo,this.__views__=[]}function je(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}function Fe(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}function ze(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}function Ve(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new ze;++t<n;)this.add(e[t])}function H(e){e=this.__data__=new Fe(e);this.size=e.size}function Be(e,t){var n,i=F(e),r=!i&&vr(e),o=!i&&!r&&br(e),a=!i&&!r&&!o&&Rr(e),l=i||r||o||a,s=l?ql(e.length,V):[],u=s.length;for(n in e)!t&&!L.call(e,n)||l&&("length"==n||o&&("offset"==n||"parent"==n)||a&&("buffer"==n||"byteLength"==n||"byteOffset"==n)||ri(n,u))||s.push(n);return s}function Ye(e){var t=e.length;return t?e[Wt(0,t-1)]:zo}function Ue(e,t){return bi(k(e),et(t,0,e.length))}function qe(e){return bi(k(e))}function Ze(e,t,n){(n===zo||j(e[t],n))&&(n!==zo||t in e)||Qe(e,t,n)}function Ge(e,t,n){var i=e[t];L.call(e,t)&&j(i,n)&&(n!==zo||t in e)||Qe(e,t,n)}function Xe(e,t){for(var n=e.length;n--;)if(j(e[n][0],t))return n;return-1}function $e(e,i,r,o){return rt(e,function(e,t,n){i(o,e,r(e),n)}),o}function Ke(e,t){return e&&mn(t,T(t),e)}function Qe(e,t,n){"__proto__"==t&&ue?ue(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function Je(e,t){for(var n=-1,i=t.length,r=x(i),o=null==e;++n<i;)r[n]=o?zo:Yr(e,t[n]);return r}function et(e,t,n){return e==e&&(n!==zo&&(e=e<=n?e:n),t!==zo&&(e=t<=e?e:t)),e}function y(n,i,r,e,t,o){var a,l=1&i,s=2&i,u=4&i;if((a=r?t?r(n,e,t,o):r(n):a)===zo){if(!w(n))return n;var c,e=F(n);if(e){if(a=function(e){var t=e.length,n=new e.constructor(t);t&&"string"==typeof e[0]&&L.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(n),!l)return k(n,a)}else{var h=W(n),d=h==Ca||h==Ea;if(br(n))return cn(n,l);if(h==$o||h==Uo||d&&!t){if(a=s||d?{}:ni(n),!l)return s?(f=d=n,f=(c=a)&&mn(f,R(f),c),mn(d,ei(d),f)):(d=Ke(a,c=n),mn(c,Jn(c),d))}else{if(!ra[h])return t?n:{};a=function(e,t,n){var i=e.constructor;switch(t){case ta:return hn(e);case qo:case Zo:return new i(+e);case na:return function(e,t){t=t?hn(e.buffer):e.buffer;return new e.constructor(t,e.byteOffset,e.byteLength)}(e,n);case Da:case Ta:case Ra:case Aa:case Oa:case Pa:case Ia:case Na:case La:return dn(e,n);case Go:return new i;case Xo:case Jo:return new i(e);case Ko:return function(e){var t=new e.constructor(e.source,al.exec(e));return t.lastIndex=e.lastIndex,t}(e);case Qo:return new i;case Ma:return function(e){return Ie?g(Ie.call(e)):{}}(e)}}(n,h,l)}}var f=(o=o||new H).get(n);if(f)return f;o.set(n,a),Dr(n)?n.forEach(function(e){a.add(y(e,i,r,e,n,o))}):Cr(n)&&n.forEach(function(e,t){a.set(t,y(e,i,r,t,n,o))});var p=e?zo:(u?s?qn:Un:s?R:T)(n);la(p||n,function(e,t){p&&(e=n[t=e]),Ge(a,t,y(e,i,r,t,n,o))})}return a}function tt(e,t,n){var i=n.length;if(null==e)return!i;for(e=g(e);i--;){var r=n[i],o=t[r],a=e[r];if(a===zo&&!(r in e)||!o(a))return!1}return!0}function nt(e,t,n){if("function"!=typeof e)throw new S(Vo);return gi(function(){e.apply(zo,n)},t)}function it(e,t,n,i){var r=-1,o=Pl,a=!0,l=e.length,s=[],u=t.length;if(l){n&&(t=ua(t,da(n))),i?(o=Il,a=!1):200<=t.length&&(o=Xl,a=!1,t=new Ve(t));e:for(;++r<l;){var c=e[r],h=null==n?c:n(c),c=i||0!==c?c:0;if(a&&h==h){for(var d=u;d--;)if(t[d]===h)continue e;s.push(c)}else o(t,h,i)||s.push(c)}}return s}p.templateSettings={escape:Ya,evaluate:Ua,interpolate:qa,variable:"",imports:{_:p}},(p.prototype=We.prototype).constructor=p,(m.prototype=Le(We.prototype)).constructor=m,(v.prototype=Le(We.prototype)).constructor=v,je.prototype.clear=function(){this.__data__=ke?ke(null):{},this.size=0},je.prototype.delete=function(e){return e=this.has(e)&&delete this.__data__[e],this.size-=e?1:0,e},je.prototype.get=function(e){var t,n=this.__data__;return ke?(t=n[e])===ya?zo:t:L.call(n,e)?n[e]:zo},je.prototype.has=function(e){var t=this.__data__;return ke?t[e]!==zo:L.call(t,e)},je.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=ke&&t===zo?ya:t,this},Fe.prototype.clear=function(){this.__data__=[],this.size=0},Fe.prototype.delete=function(e){var t=this.__data__;return!((e=Xe(t,e))<0)&&(e==t.length-1?t.pop():oe.call(t,e,1),--this.size,!0)},Fe.prototype.get=function(e){var t=this.__data__;return(e=Xe(t,e))<0?zo:t[e][1]},Fe.prototype.has=function(e){return-1<Xe(this.__data__,e)},Fe.prototype.set=function(e,t){var n=this.__data__,i=Xe(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this},ze.prototype.clear=function(){this.size=0,this.__data__={hash:new je,map:new(Se||Fe),string:new je}},ze.prototype.delete=function(e){return e=$n(this,e).delete(e),this.size-=e?1:0,e},ze.prototype.get=function(e){return $n(this,e).get(e)},ze.prototype.has=function(e){return $n(this,e).has(e)},ze.prototype.set=function(e,t){var n=$n(this,e),i=n.size;return n.set(e,t),this.size+=n.size==i?0:1,this},Ve.prototype.add=Ve.prototype.push=function(e){return this.__data__.set(e,ya),this},Ve.prototype.has=function(e){return this.__data__.has(e)},H.prototype.clear=function(){this.__data__=new Fe,this.size=0},H.prototype.delete=function(e){var t=this.__data__,e=t.delete(e);return this.size=t.size,e},H.prototype.get=function(e){return this.__data__.get(e)},H.prototype.has=function(e){return this.__data__.has(e)},H.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Fe){var i=n.__data__;if(!Se||i.length<199)return i.push([e,t]),this.size=++n.size,this;n=this.__data__=new ze(i)}return n.set(e,t),this.size=n.size,this};var rt=bn(ht),ot=bn(dt,!0);function at(e,i){var r=!0;return rt(e,function(e,t,n){return r=!!i(e,t,n)}),r}function lt(e,t,n){for(var i=-1,r=e.length;++i<r;){var o,a,l=e[i],s=t(l);null!=s&&(o===zo?s==s&&!b(s):n(s,o))&&(o=s,a=l)}return a}function st(e,i){var r=[];return rt(e,function(e,t,n){i(e,t,n)&&r.push(e)}),r}function s(e,t,n,i,r){var o=-1,a=e.length;for(n=n||ii,r=r||[];++o<a;){var l=e[o];0<t&&n(l)?1<t?s(l,t-1,n,i,r):ca(r,l):i||(r[r.length]=l)}return r}var ut=_n(),ct=_n(!0);function ht(e,t){return e&&ut(e,t,T)}function dt(e,t){return e&&ct(e,t,T)}function ft(t,e){return sa(e,function(e){return wr(t[e])})}function pt(e,t){for(var n=0,i=(t=an(t,e)).length;null!=e&&n<i;)e=e[xi(t[n++])];return n&&n==i?e:zo}function gt(e,t,n){t=t(e);return F(e)?t:ca(t,n(e))}function n(e){{if(null==e)return e===zo?"[object Undefined]":"[object Null]";if(se&&se in g(e)){var t=e,n=L.call(t,se),i=t[se];try{t[se]=zo;var r=!0}catch(e){}var o=$.call(t);return r&&(n?t[se]=i:delete t[se]),o}return $.call(e)}}function mt(e,t){return t<e}function vt(e,t){return null!=e&&L.call(e,t)}function yt(e,t){return null!=e&&t in g(e)}function bt(e,t,n){for(var i=n?Il:Pl,r=e[0].length,o=e.length,a=o,l=x(o),s=1/0,u=[];a--;){var c=e[a];a&&t&&(c=ua(c,da(t))),s=E(c.length,s),l[a]=!n&&(t||120<=r&&120<=c.length)?new Ve(a&&c):zo}var c=e[0],h=-1,d=l[0];e:for(;++h<r&&u.length<s;){var f=c[h],p=t?t(f):f,f=n||0!==f?f:0;if(!(d?Xl(d,p):i(u,p,n))){for(a=o;--a;){var g=l[a];if(!(g?Xl(g,p):i(e[a],p,n)))continue e}d&&d.push(p),u.push(f)}}return u}function _t(e,t,n){t=null==(e=di(e,t=an(t,e)))?e:e[xi(i(t))];return null==t?zo:aa(t,e,n)}function wt(e){return z(e)&&n(e)==Uo}function xt(e,t,n,i,r){{if(e===t)return!0;if(null==e||null==t||!z(e)&&!z(t))return e!=e&&t!=t;var o=xt,a=F(e),l=F(t),s=a?xa:W(e),l=l?xa:W(t),u=(s=s==Uo?$o:s)==$o,c=(l=l==Uo?$o:l)==$o,l;if((l=s==l)&&br(e)){if(!br(t))return!1;u=!(a=!0)}if(l&&!u){r=r||new H;if(a||Rr(e))return Bn(e,t,n,i,o,r);else{var h=e;var d=t;var f=s;var p=n;var g=i;var m=o;var v=r;switch(f){case na:if(h.byteLength!=d.byteLength||h.byteOffset!=d.byteOffset)return!1;h=h.buffer,d=d.buffer;case ta:return h.byteLength==d.byteLength&&m(new ee(h),new ee(d))?!0:!1;case qo:case Zo:case Xo:return j(+h,+d);case Sa:return h.name==d.name&&h.message==d.message;case Ko:case Jo:return h==d+"";case Go:var y=ts;case Qo:var b=1&p;if(y=y||is,h.size!=d.size&&!b)return!1;b=v.get(h);if(b)return b==d;p|=2,v.set(h,d);b=Bn(y(h),y(d),p,g,m,v);return v.delete(h),b;case Ma:if(Ie)return Ie.call(h)==Ie.call(d)}return!1;return}}if(!(1&n)){a=u&&L.call(e,"__wrapped__"),s=c&&L.call(t,"__wrapped__");if(a||s)return u=a?e.value():e,c=s?t.value():t,r=r||new H,o(u,c,n,i,r)}if(l){r=r||new H;var _=e,w=t,x=n,S=i,C=o,E=r,k=1&x,M=Un(_),D=M.length,a=Un(w).length;if(D!=a&&!k)return!1;for(var T=D;T--;){var R=M[T];if(!(k?R in w:L.call(w,R)))return!1}a=E.get(_),s=E.get(w);if(a&&s)return a==w&&s==_;for(var A=!0,O=(E.set(_,w),E.set(w,_),k);++T<D;){R=M[T];var P,I=_[R],N=w[R];if(!((P=S?k?S(N,I,R,w,_,E):S(I,N,R,_,w,E):P)===zo?I===N||C(I,N,x,S,E):P)){A=!1;break}O=O||"constructor"==R}return A&&!O&&(a=_.constructor,s=w.constructor,a!=s&&"constructor"in _&&"constructor"in w&&!("function"==typeof a&&a instanceof a&&"function"==typeof s&&s instanceof s)&&(A=!1)),E.delete(_),E.delete(w),A}return!1}}function St(e,t,n,i){var r=n.length,o=r,a=!i;if(null==e)return!o;for(e=g(e);r--;){var l=n[r];if(a&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++r<o;){var s=(l=n[r])[0],u=e[s],c=l[1];if(a&&l[2]){if(u===zo&&!(s in e))return!1}else{var h,d=new H;if(!((h=i?i(u,c,s,e,t,d):h)===zo?xt(c,u,3,i,d):h))return!1}}return!0}function Ct(e){return!(!w(e)||(t=e,X&&X in t))&&(wr(e)?J:ul).test(Si(e));var t}function Et(e){return"function"==typeof e?e:null==e?A:"object"==as(e)?F(e)?At(e[0],e[1]):Rt(e):Do(e)}function kt(e){if(!si(e))return ye(e);var t,n=[];for(t in g(e))L.call(e,t)&&"constructor"!=t&&n.push(t);return n}function Mt(e){if(!w(e)){var t=e,n=[];if(null!=t)for(var i in g(t))n.push(i);return n}var r,o=si(e),a=[];for(r in e)("constructor"!=r||!o&&L.call(e,r))&&a.push(r);return a}function Dt(e,t){return e<t}function Tt(e,i){var r=-1,o=c(e)?x(e.length):[];return rt(e,function(e,t,n){o[++r]=i(e,t,n)}),o}function Rt(t){var n=Kn(t);return 1==n.length&&n[0][2]?ci(n[0][0],n[0][1]):function(e){return e===t||St(e,t,n)}}function At(n,i){return oi(n)&&ui(i)?ci(xi(n),i):function(e){var t=Yr(e,n);return t===zo&&t===i?Ur(e,n):xt(i,t,3)}}function Ot(g,m,v,y,b){g!==m&&ut(m,function(e,t){var n,i,r,o,a,l,s,u,c,h,d,f,p;b=b||new H,w(e)?(i=m,o=v,a=Ot,l=y,s=b,d=fi(n=g,r=t),f=fi(i,r),(p=s.get(f))?Ze(n,r,p):(p=l?l(d,f,r+"",n,i,s):zo,(i=p===zo)&&(u=F(f),c=!u&&br(f),h=!u&&!c&&Rr(f),p=f,u||c||h?p=F(d)?d:_(d)?k(d):c?cn(f,!(i=!1)):h?dn(f,!(i=!1)):[]:kr(f)||vr(f)?vr(p=d)?p=Lr(d):w(d)&&!wr(d)||(p=ni(f)):i=!1),i&&(s.set(f,p),a(p,f,o,l,s),s.delete(f)),Ze(n,r,p))):(u=y?y(fi(g,t),e,t+"",g,m,b):zo,Ze(g,t,u=u===zo?e:u))},R)}function Pt(e,t){var n=e.length;if(n)return ri(t+=t<0?n:0,n)?e[t]:zo}function It(e,i,c){i=i.length?ua(i,function(t){return F(t)?function(e){return pt(e,1===t.length?t[0]:t)}:t}):[A];var r=-1;i=ua(i,da(h()));var t=Tt(e,function(t,e,n){return{criteria:ua(i,function(e){return e(t)}),index:++r,value:t}}),e=function(e,t){for(var n=c,i=-1,r=e.criteria,o=t.criteria,a=r.length,l=n.length;++i<a;){var s=fn(r[i],o[i]);if(s){if(l<=i)return s;var u=n[i];return s*("desc"==u?-1:1)}}return e.index-t.index},n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}function Nt(e,t,n){for(var i=-1,r=t.length,o={};++i<r;){var a=t[i],l=pt(e,a);n(l,a)&&Vt(o,an(a,e),l)}return o}function Lt(e,t,n,i){var r=i?Fl:ha,o=-1,a=t.length,l=e;for(e===t&&(t=k(t)),n&&(l=ua(e,da(n)));++o<a;)for(var s=0,u=t[o],c=n?n(u):u;-1<(s=r(l,c,s,i));)l!==e&&oe.call(l,s,1),oe.call(e,s,1);return e}function Ht(e,t){for(var n=e?t.length:0,i=n-1;n--;){var r,o=t[n];n!=i&&o===r||(ri(r=o)?oe.call(e,o,1):Kt(e,o))}}function Wt(e,t){return e+pe(we()*(t-e+1))}function jt(e,t){var n="";if(!(!e||t<1||Bo<t))for(;t%2&&(n+=e),(t=pe(t/2))&&(e+=e),t;);return n}function a(e,t){return mi(hi(e,t,A),e+"")}function Ft(e){return Ye(no(e))}function zt(e,t){e=no(e);return bi(e,et(t,0,e.length))}function Vt(e,t,n,i){if(w(e))for(var r=-1,o=(t=an(t,e)).length,a=o-1,l=e;null!=l&&++r<o;){var s,u=xi(t[r]),c=n;if("__proto__"===u||"constructor"===u||"prototype"===u)return e;r!=a&&(s=l[u],(c=i?i(s,u,l):zo)===zo&&(c=w(s)?s:ri(t[r+1])?[]:{})),Ge(l,u,c),l=l[u]}return e}var Bt=Me?function(e,t){return Me.set(e,t),e}:A,t=ue?function(e,t){return ue(e,"toString",{configurable:!0,enumerable:!1,value:vo(t),writable:!0})}:A;function Yt(e){return bi(no(e))}function l(e,t,n){for(var i=-1,r=e.length,o=((n=r<n?r:n)<0&&(n+=r),r=n<(t=t<0?r<-t?0:r+t:t)?0:n-t>>>0,t>>>=0,x(r));++i<r;)o[i]=e[i+t];return o}function Ut(e,i){var r;return rt(e,function(e,t,n){return!(r=i(e,t,n))}),!!r}function qt(e,t,n){var i=0,r=null==e?i:e.length;if("number"==typeof t&&t==t&&r<=2147483647){for(;i<r;){var o=i+r>>>1,a=e[o];null!==a&&!b(a)&&(n?a<=t:a<t)?i=1+o:r=o}return r}return Zt(e,t,A,n)}function Zt(e,t,n,i){var r=0,o=null==e?0:e.length;if(0===o)return 0;for(var a=(t=n(t))!=t,l=null===t,s=b(t),u=t===zo;r<o;){var c=pe((r+o)/2),h=n(e[c]),d=h!==zo,f=null===h,p=h==h,g=b(h),p=a?i||p:u?p&&(i||d):l?p&&d&&(i||!f):s?p&&d&&!f&&(i||!g):!f&&!g&&(i?h<=t:h<t);p?r=c+1:o=c}return E(o,4294967294)}function Gt(e,t){for(var n=-1,i=e.length,r=0,o=[];++n<i;){var a,l=e[n],s=t?t(l):l;n&&j(s,a)||(a=s,o[r++]=0===l?0:l)}return o}function Xt(e){return"number"==typeof e?e:b(e)?_a:+e}function u(e){if("string"==typeof e)return e;if(F(e))return ua(e,u)+"";if(b(e))return Ne?Ne.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function $t(e,t,n){var i=-1,r=Pl,o=e.length,a=!0,l=[],s=l;if(n)a=!1,r=Il;else if(200<=o){var u=t?null:Hn(e);if(u)return is(u);a=!1,r=Xl,s=new Ve}else s=t?[]:l;e:for(;++i<o;){var c=e[i],h=t?t(c):c,c=n||0!==c?c:0;if(a&&h==h){for(var d=s.length;d--;)if(s[d]===h)continue e;t&&s.push(h),l.push(c)}else r(s,h,n)||(s!==l&&s.push(h),l.push(c))}return l}function Kt(e,t){return null==(e=di(e,t=an(t,e)))||delete e[xi(i(t))]}function Qt(e,t,n,i){return Vt(e,t,n(pt(e,t)),i)}function Jt(e,t,n,i){for(var r=e.length,o=i?r:-1;(i?o--:++o<r)&&t(e[o],o,e););return n?l(e,i?0:o,i?o+1:r):l(e,i?o+1:0,i?r:o)}function en(e,t){var n=e;return Nl(t,function(e,t){return t.func.apply(t.thisArg,ca([e],t.args))},n=e instanceof v?e.value():n)}function tn(e,t,n){var i=e.length;if(i<2)return i?$t(e[0]):[];for(var r=-1,o=x(i);++r<i;)for(var a=e[r],l=-1;++l<i;)l!=r&&(o[r]=it(o[r]||a,e[l],t,n));return $t(s(o,1),t,n)}function nn(e,t,n){for(var i=-1,r=e.length,o=t.length,a={};++i<r;){var l=i<o?t[i]:zo;n(a,e[i],l)}return a}function rn(e){return _(e)?e:[]}function on(e){return"function"==typeof e?e:A}function an(e,t){return F(e)?e:oi(e,t)?[e]:wi(f(e))}var ln=a;function sn(e,t,n){var i=e.length;return n=n===zo?i:n,!t&&i<=n?e:l(e,t,n)}var un=ce||function(e){return oa.clearTimeout(e)};function cn(e,t){if(t)return e.slice();t=e.length,t=te?te(t):new e.constructor(t);return e.copy(t),t}function hn(e){var t=new e.constructor(e.byteLength);return new ee(t).set(new ee(e)),t}function dn(e,t){t=t?hn(e.buffer):e.buffer;return new e.constructor(t,e.byteOffset,e.length)}function fn(e,t){if(e!==t){var n=e!==zo,i=null===e,r=e==e,o=b(e),a=t!==zo,l=null===t,s=t==t,u=b(t);if(!l&&!u&&!o&&t<e||o&&a&&s&&!l&&!u||i&&a&&s||!n&&s||!r)return 1;if(!i&&!o&&!u&&e<t||u&&n&&r&&!i&&!o||l&&n&&r||!a&&r||!s)return-1}return 0}function pn(e,t,n,i){for(var r=-1,o=e.length,a=n.length,l=-1,s=t.length,u=C(o-a,0),c=x(s+u),h=!i;++l<s;)c[l]=t[l];for(;++r<a;)(h||r<o)&&(c[n[r]]=e[r]);for(;u--;)c[l++]=e[r++];return c}function gn(e,t,n,i){for(var r=-1,o=e.length,a=-1,l=n.length,s=-1,u=t.length,c=C(o-l,0),h=x(c+u),d=!i;++r<c;)h[r]=e[r];for(var f=r;++s<u;)h[f+s]=t[s];for(;++a<l;)(d||r<o)&&(h[f+n[a]]=e[r++]);return h}function k(e,t){var n=-1,i=e.length;for(t=t||x(i);++n<i;)t[n]=e[n];return t}function mn(e,t,n,i){for(var r=!n,o=(n=n||{},-1),a=t.length;++o<a;){var l=t[o],s=i?i(n[l],e[l],l,n,e):zo;(r?Qe:Ge)(n,l,s=s===zo?e[l]:s)}return n}function vn(r,o){return function(e,t){var n=F(e)?Rl:$e,i=o?o():{};return n(e,r,h(t,2),i)}}function yn(l){return a(function(e,t){var n=-1,i=t.length,r=1<i?t[i-1]:zo,o=2<i?t[2]:zo,r=3<l.length&&"function"==typeof r?(i--,r):zo;for(o&&d(t[0],t[1],o)&&(r=i<3?zo:r,i=1),e=g(e);++n<i;){var a=t[n];a&&l(e,a,n,r)}return e})}function bn(o,a){return function(e,t){if(null!=e){if(!c(e))return o(e,t);for(var n=e.length,i=a?n:-1,r=g(e);(a?i--:++i<n)&&!1!==t(r[i],i,r););}return e}}function _n(s){return function(e,t,n){for(var i=-1,r=g(e),o=n(e),a=o.length;a--;){var l=o[s?a:++i];if(!1===t(r[l],l,r))break}return e}}function wn(i){return function(e){var t=fa(e=f(e))?ma(e):zo,n=t?t[0]:e.charAt(0),t=t?sn(t,1).join(""):e.slice(1);return n[i]()+t}}function xn(t){return function(e){return Nl(po(oo(e).replace(gl,"")),t,"")}}function Sn(i){return function(){var e=arguments;switch(e.length){case 0:return new i;case 1:return new i(e[0]);case 2:return new i(e[0],e[1]);case 3:return new i(e[0],e[1],e[2]);case 4:return new i(e[0],e[1],e[2],e[3]);case 5:return new i(e[0],e[1],e[2],e[3],e[4]);case 6:return new i(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new i(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var t=Le(i.prototype),n=i.apply(t,e);return w(n)?n:t}}function Cn(o,a,l){var s=Sn(o);return function e(){for(var t=arguments.length,n=x(t),i=t,r=Xn(e);i--;)n[i]=arguments[i];r=t<3&&n[0]!==r&&n[t-1]!==r?[]:pa(n,r);return(t-=r.length)<l?Nn(o,a,Mn,e.placeholder,zo,n,r,zo,zo,l-t):aa(this&&this!==oa&&this instanceof e?s:o,this,n)}}function En(o){return function(e,t,n){var i,r=g(e),t=(c(e)||(i=h(t,3),e=T(e),t=function(e){return i(r[e],e,r)}),o(e,t,n));return-1<t?r[i?e[t]:t]:zo}}function kn(s){return Yn(function(r){var o=r.length,e=o,t=m.prototype.thru;for(s&&r.reverse();e--;){var n=r[e];if("function"!=typeof n)throw new S(Vo);t&&!l&&"wrapper"==Gn(n)&&(l=new m([],!0))}for(e=l?e:o;++e<o;)var i=Gn(n=r[e]),a="wrapper"==i?Zn(n):zo,l=a&&ai(a[0])&&424==a[1]&&!a[4].length&&1==a[9]?l[Gn(a[0])].apply(l,a[3]):1==n.length&&ai(n)?l[i]():l.thru(n);return function(){var e=arguments,t=e[0];if(l&&1==e.length&&F(t))return l.plant(t).value();for(var n=0,i=o?r[n].apply(this,e):t;++n<o;)i=r[n].call(this,i);return i}})}function Mn(a,l,s,u,c,h,d,f,p,g){var m=128&l,v=1&l,y=2&l,b=24&l,_=512&l,w=y?zo:Sn(a);return function e(){for(var t=x(o=arguments.length),n=o;n--;)t[n]=arguments[n];if(b&&(r=function(e,t){for(var n=e.length,i=0;n--;)e[n]===t&&++i;return i}(t,i=Xn(e))),u&&(t=pn(t,u,c,b)),h&&(t=gn(t,h,d,b)),o-=r,b&&o<g)return r=pa(t,i),Nn(a,l,Mn,e.placeholder,s,t,r,f,p,g-o);var i=v?s:this,r=y?i[a]:a,o=t.length;return f?t=function(e,t){for(var n=e.length,i=E(t.length,n),r=k(e);i--;){var o=t[i];e[i]=ri(o,n)?r[o]:zo}return e}(t,f):_&&1<o&&t.reverse(),m&&p<o&&(t.length=p),(r=this&&this!==oa&&this instanceof e?w||Sn(r):r).apply(i,t)}}function Dn(n,a){return function(e,t){return e=e,i=n,r=a(t),o={},ht(e,function(e,t,n){i(o,r(e),t,n)}),o;var i,r,o}}function Tn(i,r){return function(e,t){var n;if(e===zo&&t===zo)return r;if(e!==zo&&(n=e),t!==zo){if(n===zo)return t;t="string"==typeof e||"string"==typeof t?(e=u(e),u(t)):(e=Xt(e),Xt(t)),n=i(e,t)}return n}}function Rn(i){return Yn(function(e){return e=ua(e,da(h())),a(function(t){var n=this;return i(e,function(e){return aa(e,n,t)})})})}function An(e,t){var n=(t=t===zo?" ":u(t)).length;if(n<2)return n?jt(t,e):t;n=jt(t,fe(e/ga(t)));return fa(t)?sn(ma(n),0,e).join(""):n.slice(0,e)}function On(l,e,s,u){var c=1&e,h=Sn(l);return function e(){for(var t=-1,n=arguments.length,i=-1,r=u.length,o=x(r+n),a=this&&this!==oa&&this instanceof e?h:l;++i<r;)o[i]=u[i];for(;n--;)o[i++]=arguments[++t];return aa(a,c?s:this,o)}}function Pn(u){return function(e,t,n){n&&"number"!=typeof n&&d(e,t,n)&&(t=n=zo),e=Ir(e),t===zo?(t=e,e=0):t=Ir(t),n=n===zo?e<t?1:-1:Ir(n);for(var i=e,r=n,o=u,a=-1,l=C(fe((t-i)/(r||1)),0),s=x(l);l--;)s[o?l:++a]=i,i+=r;return s}}function In(n){return function(e,t){return"string"==typeof e&&"string"==typeof t||(e=D(e),t=D(t)),n(e,t)}}function Nn(e,t,n,i,r,o,a,l,s,u){var c=8&t,r=(4&(t=(t|(c?32:64))&~(c?64:32))||(t&=-4),[e,t,r,c?o:zo,c?a:zo,c?zo:o,c?zo:a,l,s,u]),o=n.apply(zo,r);return ai(e)&&pi(o,r),o.placeholder=i,vi(o,e,t)}function Ln(e){var i=I[e];return function(e,t){var n;return e=D(e),(t=null==t?0:E(M(t),292))&&me(e)?(n=(f(e)+"e").split("e"),+((n=(f(i(n[0]+"e"+(+n[1]+t)))+"e").split("e"))[0]+"e"+(+n[1]-t))):i(e)}}var Hn=Ee&&1/is(new Ee([,-0]))[1]==1/0?function(e){return new Ee(e)}:Co;function Wn(o){return function(e){var t,n,i,r=W(e);return r==Go?ts(e):r==Qo?(r=e,t=-1,n=Array(r.size),r.forEach(function(e){n[++t]=[e,e]}),n):ua(o(i=e),function(e){return[e,i[e]]})}}function jn(e,t,n,i,r,o,a,l){var s=2&t;if(!s&&"function"!=typeof e)throw new S(Vo);var u,c,h,d,f,p,g,m,v,y,b=i?i.length:0,_=(b||(t&=-97,i=r=zo),a=a===zo?a:C(M(a),0),l=l===zo?l:M(l),b-=r?r.length:0,64&t&&(w=i,u=r,i=r=zo),s?zo:Zn(e)),w=[e,t,n,i,r,w,u,o,a,l];return _&&(u=_,a=(o=w)[1],h=u[1],f=(d=a|h)<131,p=128==h&&8==a||128==h&&256==a&&o[7].length<=u[8]||384==h&&u[7].length<=u[8]&&8==a,(f||p)&&(1&h&&(o[2]=u[2],d|=1&a?0:4),(f=u[3])&&(c=o[3],o[3]=c?pn(c,f,u[4]):f,o[4]=c?pa(o[3],ba):u[4]),(f=u[5])&&(c=o[5],o[5]=c?gn(c,f,u[6]):f,o[6]=c?pa(o[5],ba):u[6]),(f=u[7])&&(o[7]=f),128&h&&(o[8]=null==o[8]?u[8]:E(o[8],u[8])),null==o[9]&&(o[9]=u[9]),o[0]=u[0],o[1]=d)),e=w[0],t=w[1],n=w[2],i=w[3],r=w[4],!(l=w[9]=w[9]===zo?s?0:e.length:C(w[9]-b,0))&&24&t&&(t&=-25),p=t&&1!=t?8==t||16==t?Cn(e,t,l):32!=t&&33!=t||r.length?Mn.apply(zo,w):On(e,t,n,i):(m=n,v=1&t,y=Sn(g=e),function e(){return(this&&this!==oa&&this instanceof e?y:g).apply(v?m:this,arguments)}),vi((_?Bt:pi)(p,w),e,t)}function Fn(e,t,n,i){return e===zo||j(e,U[n])&&!L.call(i,n)?t:e}function zn(e,t,n,i,r,o){return w(e)&&w(t)&&(o.set(t,e),Ot(e,t,zo,zn,o),o.delete(t)),e}function Vn(e){return kr(e)?zo:e}function Bn(e,t,n,i,r,o){var a=1&n,l=e.length,s=t.length;if(l!=s&&!(a&&l<s))return!1;var s=o.get(e),u=o.get(t);if(s&&u)return s==t&&u==e;var c=-1,h=!0,d=2&n?new Ve:zo;for(o.set(e,t),o.set(t,e);++c<l;){var f,p=e[c],g=t[c];if((f=i?a?i(g,p,c,t,e,o):i(p,g,c,e,t,o):f)!==zo){if(f)continue;h=!1;break}if(d){if(!Hl(t,function(e,t){return!Xl(d,t)&&(p===e||r(p,e,n,i,o))&&d.push(t)})){h=!1;break}}else if(p!==g&&!r(p,g,n,i,o)){h=!1;break}}return o.delete(e),o.delete(t),h}function Yn(e){return mi(hi(e,zo,Mi),e+"")}function Un(e){return gt(e,T,Jn)}function qn(e){return gt(e,R,ei)}var Zn=Me?function(e){return Me.get(e)}:Co;function Gn(e){for(var t=e.name+"",n=De[t],i=L.call(De,t)?n.length:0;i--;){var r=n[i],o=r.func;if(null==o||o==e)return r.name}return t}function Xn(e){return(L.call(p,"placeholder")?p:e).placeholder}function h(){var e=(e=p.iteratee||_o)===_o?Et:e;return arguments.length?e(arguments[0],arguments[1]):e}function $n(e,t){var n,i,e=e.__data__;return("string"==(i=as(n=t))||"number"==i||"symbol"==i||"boolean"==i?"__proto__"!==n:null===n)?e["string"==typeof t?"string":"hash"]:e.map}function Kn(e){for(var t=T(e),n=t.length;n--;){var i=t[n],r=e[i];t[n]=[i,r,ui(r)]}return t}function Qn(e,t){t=t;e=null==(e=e)?zo:e[t];return Ct(e)?e:zo}var Jn=ge?function(t){return null==t?[]:(t=g(t),sa(ge(t),function(e){return re.call(t,e)}))}:Ao,ei=ge?function(e){for(var t=[];e;)ca(t,Jn(e)),e=ne(e);return t}:Ao,W=n;function ti(e,t,n){for(var i=-1,r=(t=an(t,e)).length,o=!1;++i<r;){var a=xi(t[i]);if(!(o=null!=e&&n(e,a)))break;e=e[a]}return o||++i!=r?o:!!(r=null==e?0:e.length)&&Sr(r)&&ri(a,r)&&(F(e)||vr(e))}function ni(e){return"function"!=typeof e.constructor||si(e)?{}:Le(ne(e))}function ii(e){return F(e)||vr(e)||!!(ae&&e&&e[ae])}function ri(e,t){var n=as(e);return!!(t=null==t?Bo:t)&&("number"==n||"symbol"!=n&&hl.test(e))&&-1<e&&e%1==0&&e<t}function d(e,t,n){var i;if(w(n))return i=as(t),("number"==i?c(n)&&ri(t,n.length):"string"==i&&t in n)&&j(n[t],e)}function oi(e,t){var n;if(!F(e))return n=as(e),"number"==n||"symbol"==n||"boolean"==n||null==e||b(e)||(Ga.test(e)||!Za.test(e)||null!=t&&e in g(t))}function ai(e){var t=Gn(e),n=p[t];if("function"==typeof n&&t in v.prototype){if(e===n)return 1;t=Zn(n);return t&&e===t[0]}}(o&&W(new o(new ArrayBuffer(1)))!=na||Se&&W(new Se)!=Go||Ce&&W(Ce.resolve())!=ka||Ee&&W(new Ee)!=Qo||e&&W(new e)!=ea)&&(W=function(e){var t=n(e),e=t==$o?e.constructor:zo,e=e?Si(e):"";if(e)switch(e){case Te:return na;case Re:return Go;case Ae:return ka;case Oe:return Qo;case Pe:return ea}return t});var li=q?wr:Oo;function si(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||U)}function ui(e){return e==e&&!w(e)}function ci(t,n){return function(e){return null!=e&&(e[t]===n&&(n!==zo||t in g(e)))}}function hi(o,a,l){return a=C(a===zo?o.length-1:a,0),function(){for(var e=arguments,t=-1,n=C(e.length-a,0),i=x(n);++t<n;)i[t]=e[a+t];for(var t=-1,r=x(a+1);++t<a;)r[t]=e[t];return r[a]=l(i),aa(o,this,r)}}function di(e,t){return t.length<2?e:pt(e,l(t,0,-1))}function fi(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var pi=yi(Bt),gi=de||function(e,t){return oa.setTimeout(e,t)},mi=yi(t);function vi(e,t,n){var i,r,t=t+"";return mi(e,function(e,t){var n=t.length;if(!n)return e;var i=n-1;return t[i]=(1<n?"& ":"")+t[i],t=t.join(2<n?", ":" "),e.replace(Ja,"{\n/* [wrapped with "+t+"] */\n")}(t,(i=(e=(e=t).match(el))?e[1].split(tl):[],r=n,la(wa,function(e){var t="_."+e[0];r&e[1]&&!Pl(i,t)&&i.push(t)}),i.sort())))}function yi(n){var i=0,r=0;return function(){var e=be(),t=16-(e-r);if(r=e,0<t){if(800<=++i)return arguments[0]}else i=0;return n.apply(zo,arguments)}}function bi(e,t){var n=-1,i=e.length,r=i-1;for(t=t===zo?i:t;++n<t;){var o=Wt(n,r),a=e[o];e[o]=e[n],e[n]=a}return e.length=t,e}_i=(ce=cr(ce=function(e){var r=[];return 46===e.charCodeAt(0)&&r.push(""),e.replace(Xa,function(e,t,n,i){r.push(n?i.replace(rl,"$1"):t||e)}),r},function(e){return 500===_i.size&&_i.clear(),e})).cache;var _i,wi=ce;function xi(e){if("string"==typeof e||b(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Si(e){if(null!=e){try{return Z.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function Ci(e){if(e instanceof v)return e.clone();var t=new m(e.__wrapped__,e.__chain__);return t.__actions__=k(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}o=a(function(e,t){return _(e)?it(e,s(t,1,_,!0)):[]}),Ce=a(function(e,t){var n=i(t);return _(n)&&(n=zo),_(e)?it(e,s(t,1,_,!0),h(n,2)):[]}),e=a(function(e,t){var n=i(t);return _(n)&&(n=zo),_(e)?it(e,s(t,1,_,!0),zo,n):[]});function Ei(e,t,n){var i=null==e?0:e.length;if(!i)return-1;n=null==n?0:M(n);return n<0&&(n=C(i+n,0)),jl(e,h(t,3),n)}function ki(e,t,n){var i=null==e?0:e.length;if(!i)return-1;var r=i-1;return n!==zo&&(r=M(n),r=n<0?C(i+r,0):E(r,i-1)),jl(e,h(t,3),r,!0)}function Mi(e){return(null==e?0:e.length)?s(e,1):[]}function Di(e){return e&&e.length?e[0]:zo}q=a(function(e){var t=ua(e,rn);return t.length&&t[0]===e[0]?bt(t):[]}),de=a(function(e){var t=i(e),n=ua(e,rn);return t===i(n)?t=zo:n.pop(),n.length&&n[0]===e[0]?bt(n,h(t,2)):[]}),t=a(function(e){var t=i(e),n=ua(e,rn);return(t="function"==typeof t?t:zo)&&n.pop(),n.length&&n[0]===e[0]?bt(n,zo,t):[]});function i(e){var t=null==e?0:e.length;return t?e[t-1]:zo}ce=a(Ti);function Ti(e,t){return e&&e.length&&t&&t.length?Lt(e,t):e}var Ri=Yn(function(e,t){var n=null==e?0:e.length,i=Je(e,t);return Ht(e,ua(t,function(e){return ri(e,n)?+e:e}).sort(fn)),i});function Ai(e){return null==e?e:xe.call(e)}var Oi=a(function(e){return $t(s(e,1,_,!0))}),Pi=a(function(e){var t=i(e);return _(t)&&(t=zo),$t(s(e,1,_,!0),h(t,2))}),Ii=a(function(e){var t="function"==typeof(t=i(e))?t:zo;return $t(s(e,1,_,!0),zo,t)});function Ni(t){if(!t||!t.length)return[];var n=0;return t=sa(t,function(e){return _(e)&&(n=C(e.length,n),1)}),ql(n,function(e){return ua(t,Bl(e))})}function Li(e,t){if(!e||!e.length)return[];e=Ni(e);return null==t?e:ua(e,function(e){return aa(t,zo,e)})}var Hi=a(function(e,t){return _(e)?it(e,t):[]}),Wi=a(function(e){return tn(sa(e,_))}),ji=a(function(e){var t=i(e);return _(t)&&(t=zo),tn(sa(e,_),h(t,2))}),Fi=a(function(e){var t="function"==typeof(t=i(e))?t:zo;return tn(sa(e,_),zo,t)}),zi=a(Ni);var Vi=a(function(e){var t=e.length,t="function"==typeof(t=1<t?e[t-1]:zo)?(e.pop(),t):zo;return Li(e,t)});function Bi(e){e=p(e);return e.__chain__=!0,e}function Yi(e,t){return t(e)}var Ui=Yn(function(t){function e(e){return Je(e,t)}var n=t.length,i=n?t[0]:0,r=this.__wrapped__;return!(1<n||this.__actions__.length)&&r instanceof v&&ri(i)?((r=r.slice(i,+i+(n?1:0))).__actions__.push({func:Yi,args:[e],thisArg:zo}),new m(r,this.__chain__).thru(function(e){return n&&!e.length&&e.push(zo),e})):this.thru(e)});var qi=vn(function(e,t,n){L.call(e,n)?++e[n]:Qe(e,n,1)});var Zi=En(Ei),Gi=En(ki);function Xi(e,t){return(F(e)?la:rt)(e,h(t,3))}function $i(e,t){return(F(e)?Al:ot)(e,h(t,3))}var Ki=vn(function(e,t,n){L.call(e,n)?e[n].push(t):Qe(e,n,[t])});var Qi=a(function(e,t,n){var i=-1,r="function"==typeof t,o=c(e)?x(e.length):[];return rt(e,function(e){o[++i]=r?aa(t,e,n):_t(e,t,n)}),o}),Ji=vn(function(e,t,n){Qe(e,n,t)});function er(e,t){return(F(e)?ua:Tt)(e,h(t,3))}var tr=vn(function(e,t,n){e[n?0:1].push(t)},function(){return[[],[]]});var nr=a(function(e,t){if(null==e)return[];var n=t.length;return 1<n&&d(e,t[0],t[1])?t=[]:2<n&&d(t[0],t[1],t[2])&&(t=[t[0]]),It(e,s(t,1),[])}),ir=he||function(){return oa.Date.now()};function rr(e,t,n){return t=n?zo:t,t=e&&null==t?e.length:t,jn(e,128,zo,zo,zo,zo,t)}function or(e,t){var n;if("function"!=typeof t)throw new S(Vo);return e=M(e),function(){return 0<--e&&(n=t.apply(this,arguments)),e<=1&&(t=zo),n}}var ar=a(function(e,t,n){var i,r=1;return n.length&&(i=pa(n,Xn(ar)),r|=32),jn(e,r,t,n,i)}),lr=a(function(e,t,n){var i,r=3;return n.length&&(i=pa(n,Xn(lr)),r|=32),jn(t,r,e,n,i)});function sr(i,n,e){var r,o,a,l,s,u,c=0,h=!1,d=!1,t=!0;if("function"!=typeof i)throw new S(Vo);function f(e){var t=r,n=o;return r=o=zo,c=e,l=i.apply(n,t)}function p(e){var t=e-u;return u===zo||n<=t||t<0||d&&a<=e-c}function g(){var e,t=ir();if(p(t))return m(t);s=gi(g,(e=n-((t=t)-u),d?E(e,a-(t-c)):e))}function m(e){return s=zo,t&&r?f(e):(r=o=zo,l)}function v(){var e=ir(),t=p(e);if(r=arguments,o=this,u=e,t){if(s===zo)return c=e=u,s=gi(g,n),h?f(e):l;if(d)return un(s),s=gi(g,n),f(u)}return s===zo&&(s=gi(g,n)),l}return n=D(n)||0,w(e)&&(h=!!e.leading,d="maxWait"in e,a=d?C(D(e.maxWait)||0,n):a,t="trailing"in e?!!e.trailing:t),v.cancel=function(){s!==zo&&un(s),c=0,r=u=o=s=zo},v.flush=function(){return s===zo?l:m(ir())},v}var he=a(function(e,t){return nt(e,1,t)}),ur=a(function(e,t,n){return nt(e,D(t)||0,n)});function cr(i,r){if("function"!=typeof i||null!=r&&"function"!=typeof r)throw new S(Vo);function o(){var e=arguments,t=r?r.apply(this,e):e[0],n=o.cache;return n.has(t)?n.get(t):(e=i.apply(this,e),o.cache=n.set(t,e)||n,e)}return o.cache=new(cr.Cache||ze),o}function hr(t){if("function"!=typeof t)throw new S(Vo);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}cr.Cache=ze;var ln=ln(function(i,r){var o=(r=1==r.length&&F(r[0])?ua(r[0],da(h())):ua(s(r,1),da(h()))).length;return a(function(e){for(var t=-1,n=E(e.length,o);++t<n;)e[t]=r[t].call(this,e[t]);return aa(i,this,e)})}),dr=a(function(e,t){var n=pa(t,Xn(dr));return jn(e,32,zo,t,n)}),fr=a(function(e,t){var n=pa(t,Xn(fr));return jn(e,64,zo,t,n)}),pr=Yn(function(e,t){return jn(e,256,zo,zo,zo,t)});function j(e,t){return e===t||e!=e&&t!=t}var gr=In(mt),mr=In(function(e,t){return t<=e}),vr=wt(function(){return arguments}())?wt:function(e){return z(e)&&L.call(e,"callee")&&!re.call(e,"callee")},F=x.isArray,yr=Cl?da(Cl):function(e){return z(e)&&n(e)==ta};function c(e){return null!=e&&Sr(e.length)&&!wr(e)}function _(e){return z(e)&&c(e)}var br=Y||Oo,Y=El?da(El):function(e){return z(e)&&n(e)==Zo};function _r(e){if(!z(e))return!1;var t=n(e);return t==Sa||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!kr(e)}function wr(e){if(!w(e))return!1;e=n(e);return e==Ca||e==Ea||"[object AsyncFunction]"==e||"[object Proxy]"==e}function xr(e){return"number"==typeof e&&e==M(e)}function Sr(e){return"number"==typeof e&&-1<e&&e%1==0&&e<=Bo}function w(e){var t=as(e);return null!=e&&("object"==t||"function"==t)}function z(e){return null!=e&&"object"==as(e)}var Cr=kl?da(kl):function(e){return z(e)&&W(e)==Go};function Er(e){return"number"==typeof e||z(e)&&n(e)==Xo}function kr(e){if(!z(e)||n(e)!=$o)return!1;e=ne(e);if(null===e)return!0;e=L.call(e,"constructor")&&e.constructor;return"function"==typeof e&&e instanceof e&&Z.call(e)==K}var Mr=Ml?da(Ml):function(e){return z(e)&&n(e)==Ko};var Dr=Dl?da(Dl):function(e){return z(e)&&W(e)==Qo};function Tr(e){return"string"==typeof e||!F(e)&&z(e)&&n(e)==Jo}function b(e){return"symbol"==as(e)||z(e)&&n(e)==Ma}var Rr=Tl?da(Tl):function(e){return z(e)&&Sr(e.length)&&!!ia[n(e)]};var Ar=In(Dt),Or=In(function(e,t){return e<=t});function Pr(e){if(!e)return[];if(c(e))return(Tr(e)?ma:k)(e);if(le&&e[le]){for(var t,n=e[le](),i=[];!(t=n.next()).done;)i.push(t.value);return i}var r=W(e);return(r==Go?ts:r==Qo?is:no)(e)}function Ir(e){return e?(e=D(e))===1/0||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function M(e){var e=Ir(e),t=e%1;return e==e?t?e-t:e:0}function Nr(e){return e?et(M(e),0,Yo):0}function D(e){if("number"==typeof e)return e;if(b(e))return _a;if("string"!=typeof(e=w(e)?w(t="function"==typeof e.valueOf?e.valueOf():e)?t+"":t:e))return 0===e?e:+e;e=Zl(e);var t=sl.test(e);return t||cl.test(e)?xl(e.slice(2),t?2:8):ll.test(e)?_a:+e}function Lr(e){return mn(e,R(e))}function f(e){return null==e?"":u(e)}var Hr=yn(function(e,t){if(si(t)||c(t))mn(t,T(t),e);else for(var n in t)L.call(t,n)&&Ge(e,n,t[n])}),Wr=yn(function(e,t){mn(t,R(t),e)}),jr=yn(function(e,t,n,i){mn(t,R(t),e,i)}),Fr=yn(function(e,t,n,i){mn(t,T(t),e,i)}),zr=Yn(Je);var Vr=a(function(e,t){e=g(e);var n=-1,i=t.length,r=2<i?t[2]:zo;for(r&&d(t[0],t[1],r)&&(i=1);++n<i;)for(var o=t[n],a=R(o),l=-1,s=a.length;++l<s;){var u=a[l],c=e[u];(c===zo||j(c,U[u])&&!L.call(e,u))&&(e[u]=o[u])}return e}),Br=a(function(e){return e.push(zo,zn),aa($r,zo,e)});function Yr(e,t,n){e=null==e?zo:pt(e,t);return e===zo?n:e}function Ur(e,t){return null!=e&&ti(e,t,yt)}var qr=Dn(function(e,t,n){e[t=null!=t&&"function"!=typeof t.toString?$.call(t):t]=n},vo(A)),Zr=Dn(function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=$.call(t)),L.call(e,t)?e[t].push(n):e[t]=[n]},h),Gr=a(_t);function T(e){return(c(e)?Be:kt)(e)}function R(e){return c(e)?Be(e,!0):Mt(e)}var Xr=yn(function(e,t,n){Ot(e,t,n)}),$r=yn(function(e,t,n,i){Ot(e,t,n,i)}),Kr=Yn(function(t,e){var n={};if(null!=t)for(var i=!1,r=(e=ua(e,function(e){return e=an(e,t),i=i||1<e.length,e}),mn(t,qn(t),n),i&&(n=y(n,7,Vn)),e.length);r--;)Kt(n,e[r]);return n});var Qr=Yn(function(e,t){return null==e?{}:Nt(n=e,t,function(e,t){return Ur(n,t)});var n});function Jr(e,n){if(null==e)return{};var t=ua(qn(e),function(e){return[e]});return n=h(n),Nt(e,t,function(e,t){return n(e,t[0])})}var eo=Wn(T),to=Wn(R);function no(e){return null==e?[]:Gl(e,T(e))}var io=xn(function(e,t,n){return t=t.toLowerCase(),e+(n?ro(t):t)});function ro(e){return fo(f(e).toLowerCase())}function oo(e){return(e=f(e))&&e.replace(dl,Ql).replace(ml,"")}var ao=xn(function(e,t,n){return e+(n?"-":"")+t.toLowerCase()}),lo=xn(function(e,t,n){return e+(n?" ":"")+t.toLowerCase()}),so=wn("toLowerCase");var uo=xn(function(e,t,n){return e+(n?"_":"")+t.toLowerCase()});var co=xn(function(e,t,n){return e+(n?" ":"")+fo(t)});var ho=xn(function(e,t,n){return e+(n?" ":"")+t.toUpperCase()}),fo=wn("toUpperCase");function po(e,t,n){return e=f(e),(t=n?zo:t)===zo?(n=e,yl.test(n)?e.match(vl)||[]:e.match(nl)||[]):e.match(t)||[]}var go=a(function(e,t){try{return aa(e,zo,t)}catch(e){return _r(e)?e:new O(e)}}),mo=Yn(function(t,e){return la(e,function(e){e=xi(e),Qe(t,e,ar(t[e],t))}),t});function vo(e){return function(){return e}}var yo=kn(),bo=kn(!0);function A(e){return e}function _o(e){return Et("function"==typeof e?e:y(e,1))}var wo=a(function(t,n){return function(e){return _t(e,t,n)}}),xo=a(function(t,n){return function(e){return _t(t,e,n)}});function So(i,t,e){var n=T(t),r=ft(t,n),o=(null!=e||w(t)&&(r.length||!n.length)||(e=t,t=i,i=this,r=ft(t,T(t))),!(w(e)&&"chain"in e&&!e.chain)),a=wr(i);return la(r,function(e){var n=t[e];i[e]=n,a&&(i.prototype[e]=function(){var e,t=this.__chain__;return o||t?(((e=i(this.__wrapped__)).__actions__=k(this.__actions__)).push({func:n,args:arguments,thisArg:i}),e.__chain__=t,e):n.apply(i,ca([this.value()],arguments))})}),i}function Co(){}var Eo=Rn(ua),ko=Rn(Ol),Mo=Rn(Hl);function Do(e){return oi(e)?Bl(xi(e)):(t=e,function(e){return pt(e,t)});var t}var To=Pn(),Ro=Pn(!0);function Ao(){return[]}function Oo(){return!1}var Po=Tn(function(e,t){return e+t},0),Io=Ln("ceil"),No=Tn(function(e,t){return e/t},1),Lo=Ln("floor");var Ho,Wo=Tn(function(e,t){return e*t},1),jo=Ln("round"),Fo=Tn(function(e,t){return e-t},0);return p.after=function(e,t){if("function"!=typeof t)throw new S(Vo);return e=M(e),function(){if(--e<1)return t.apply(this,arguments)}},p.ary=rr,p.assign=Hr,p.assignIn=Wr,p.assignInWith=jr,p.assignWith=Fr,p.at=zr,p.before=or,p.bind=ar,p.bindAll=mo,p.bindKey=lr,p.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return F(e)?e:[e]},p.chain=Bi,p.chunk=function(e,t,n){t=(n?d(e,t,n):t===zo)?1:C(M(t),0);var i=null==e?0:e.length;if(!i||t<1)return[];for(var r=0,o=0,a=x(fe(i/t));r<i;)a[o++]=l(e,r,r+=t);return a},p.compact=function(e){for(var t=-1,n=null==e?0:e.length,i=0,r=[];++t<n;){var o=e[t];o&&(r[i++]=o)}return r},p.concat=function(){var e=arguments.length;if(!e)return[];for(var t=x(e-1),n=arguments[0],i=e;i--;)t[i-1]=arguments[i];return ca(F(n)?k(n):[n],s(t,1))},p.cond=function(i){var r=null==i?0:i.length,t=h();return i=r?ua(i,function(e){if("function"!=typeof e[1])throw new S(Vo);return[t(e[0]),e[1]]}):[],a(function(e){for(var t=-1;++t<r;){var n=i[t];if(aa(n[0],this,e))return aa(n[1],this,e)}})},p.conforms=function(e){return t=y(e,1),n=T(t),function(e){return tt(e,t,n)};var t,n},p.constant=vo,p.countBy=qi,p.create=function(e,t){return e=Le(e),null==t?e:Ke(e,t)},p.curry=function e(t,n,i){t=jn(t,8,zo,zo,zo,zo,zo,n=i?zo:n);return t.placeholder=e.placeholder,t},p.curryRight=function e(t,n,i){t=jn(t,16,zo,zo,zo,zo,zo,n=i?zo:n);return t.placeholder=e.placeholder,t},p.debounce=sr,p.defaults=Vr,p.defaultsDeep=Br,p.defer=he,p.delay=ur,p.difference=o,p.differenceBy=Ce,p.differenceWith=e,p.drop=function(e,t,n){var i=null==e?0:e.length;return i?l(e,(t=n||t===zo?1:M(t))<0?0:t,i):[]},p.dropRight=function(e,t,n){var i=null==e?0:e.length;return i?l(e,0,(t=i-(t=n||t===zo?1:M(t)))<0?0:t):[]},p.dropRightWhile=function(e,t){return e&&e.length?Jt(e,h(t,3),!0,!0):[]},p.dropWhile=function(e,t){return e&&e.length?Jt(e,h(t,3),!0):[]},p.fill=function(e,t,n,i){if(!(s=null==e?0:e.length))return[];n&&"number"!=typeof n&&d(e,t,n)&&(n=0,i=s);var r=e,o=t,a=n,l=i,s=r.length;for((a=M(a))<0&&(a=s<-a?0:s+a),(l=l===zo||s<l?s:M(l))<0&&(l+=s),l=l<a?0:Nr(l);a<l;)r[a++]=o;return r},p.filter=function(e,t){return(F(e)?sa:st)(e,h(t,3))},p.flatMap=function(e,t){return s(er(e,t),1)},p.flatMapDeep=function(e,t){return s(er(e,t),1/0)},p.flatMapDepth=function(e,t,n){return n=n===zo?1:M(n),s(er(e,t),n)},p.flatten=Mi,p.flattenDeep=function(e){return(null==e?0:e.length)?s(e,1/0):[]},p.flattenDepth=function(e,t){return(null==e?0:e.length)?s(e,t=t===zo?1:M(t)):[]},p.flip=function(e){return jn(e,512)},p.flow=yo,p.flowRight=bo,p.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,i={};++t<n;){var r=e[t];i[r[0]]=r[1]}return i},p.functions=function(e){return null==e?[]:ft(e,T(e))},p.functionsIn=function(e){return null==e?[]:ft(e,R(e))},p.groupBy=Ki,p.initial=function(e){return(null==e?0:e.length)?l(e,0,-1):[]},p.intersection=q,p.intersectionBy=de,p.intersectionWith=t,p.invert=qr,p.invertBy=Zr,p.invokeMap=Qi,p.iteratee=_o,p.keyBy=Ji,p.keys=T,p.keysIn=R,p.map=er,p.mapKeys=function(e,i){var r={};return i=h(i,3),ht(e,function(e,t,n){Qe(r,i(e,t,n),e)}),r},p.mapValues=function(e,i){var r={};return i=h(i,3),ht(e,function(e,t,n){Qe(r,t,i(e,t,n))}),r},p.matches=function(e){return Rt(y(e,1))},p.matchesProperty=function(e,t){return At(e,y(t,1))},p.memoize=cr,p.merge=Xr,p.mergeWith=$r,p.method=wo,p.methodOf=xo,p.mixin=So,p.negate=hr,p.nthArg=function(t){return t=M(t),a(function(e){return Pt(e,t)})},p.omit=Kr,p.omitBy=function(e,t){return Jr(e,hr(h(t)))},p.once=function(e){return or(2,e)},p.orderBy=function(e,t,n,i){return null==e?[]:It(e,t=F(t)?t:null==t?[]:[t],n=F(n=i?zo:n)?n:null==n?[]:[n])},p.over=Eo,p.overArgs=ln,p.overEvery=ko,p.overSome=Mo,p.partial=dr,p.partialRight=fr,p.partition=tr,p.pick=Qr,p.pickBy=Jr,p.property=Do,p.propertyOf=function(t){return function(e){return null==t?zo:pt(t,e)}},p.pull=ce,p.pullAll=Ti,p.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?Lt(e,t,h(n,2)):e},p.pullAllWith=function(e,t,n){return e&&e.length&&t&&t.length?Lt(e,t,zo,n):e},p.pullAt=Ri,p.range=To,p.rangeRight=Ro,p.rearg=pr,p.reject=function(e,t){return(F(e)?sa:st)(e,hr(h(t,3)))},p.remove=function(e,t){var n=[];if(e&&e.length){var i=-1,r=[],o=e.length;for(t=h(t,3);++i<o;){var a=e[i];t(a,i,e)&&(n.push(a),r.push(i))}Ht(e,r)}return n},p.rest=function(e,t){if("function"!=typeof e)throw new S(Vo);return a(e,t=t===zo?t:M(t))},p.reverse=Ai,p.sampleSize=function(e,t,n){return t=(n?d(e,t,n):t===zo)?1:M(t),(F(e)?Ue:zt)(e,t)},p.set=function(e,t,n){return null==e?e:Vt(e,t,n)},p.setWith=function(e,t,n,i){return i="function"==typeof i?i:zo,null==e?e:Vt(e,t,n,i)},p.shuffle=function(e){return(F(e)?qe:Yt)(e)},p.slice=function(e,t,n){var i=null==e?0:e.length;return i?(n=n&&"number"!=typeof n&&d(e,t,n)?(t=0,i):(t=null==t?0:M(t),n===zo?i:M(n)),l(e,t,n)):[]},p.sortBy=nr,p.sortedUniq=function(e){return e&&e.length?Gt(e):[]},p.sortedUniqBy=function(e,t){return e&&e.length?Gt(e,h(t,2)):[]},p.split=function(e,t,n){return n&&"number"!=typeof n&&d(e,t,n)&&(t=n=zo),(n=n===zo?Yo:n>>>0)?(e=f(e))&&("string"==typeof t||null!=t&&!Mr(t))&&!(t=u(t))&&fa(e)?sn(ma(e),0,n):e.split(t,n):[]},p.spread=function(n,i){if("function"!=typeof n)throw new S(Vo);return i=null==i?0:C(M(i),0),a(function(e){var t=e[i],e=sn(e,0,i);return t&&ca(e,t),aa(n,this,e)})},p.tail=function(e){var t=null==e?0:e.length;return t?l(e,1,t):[]},p.take=function(e,t,n){return e&&e.length?l(e,0,(t=n||t===zo?1:M(t))<0?0:t):[]},p.takeRight=function(e,t,n){var i=null==e?0:e.length;return i?l(e,(t=i-(t=n||t===zo?1:M(t)))<0?0:t,i):[]},p.takeRightWhile=function(e,t){return e&&e.length?Jt(e,h(t,3),!1,!0):[]},p.takeWhile=function(e,t){return e&&e.length?Jt(e,h(t,3)):[]},p.tap=function(e,t){return t(e),e},p.throttle=function(e,t,n){var i=!0,r=!0;if("function"!=typeof e)throw new S(Vo);return w(n)&&(i="leading"in n?!!n.leading:i,r="trailing"in n?!!n.trailing:r),sr(e,t,{leading:i,maxWait:t,trailing:r})},p.thru=Yi,p.toArray=Pr,p.toPairs=eo,p.toPairsIn=to,p.toPath=function(e){return F(e)?ua(e,xi):b(e)?[e]:k(wi(f(e)))},p.toPlainObject=Lr,p.transform=function(e,i,r){var t,n=F(e),o=n||br(e)||Rr(e);return i=h(i,4),null==r&&(t=e&&e.constructor,r=o?n?new t:[]:w(e)&&wr(t)?Le(ne(e)):{}),(o?la:ht)(e,function(e,t,n){return i(r,e,t,n)}),r},p.unary=function(e){return rr(e,1)},p.union=Oi,p.unionBy=Pi,p.unionWith=Ii,p.uniq=function(e){return e&&e.length?$t(e):[]},p.uniqBy=function(e,t){return e&&e.length?$t(e,h(t,2)):[]},p.uniqWith=function(e,t){return t="function"==typeof t?t:zo,e&&e.length?$t(e,zo,t):[]},p.unset=function(e,t){return null==e||Kt(e,t)},p.unzip=Ni,p.unzipWith=Li,p.update=function(e,t,n){return null==e?e:Qt(e,t,on(n))},p.updateWith=function(e,t,n,i){return i="function"==typeof i?i:zo,null==e?e:Qt(e,t,on(n),i)},p.values=no,p.valuesIn=function(e){return null==e?[]:Gl(e,R(e))},p.without=Hi,p.words=po,p.wrap=function(e,t){return dr(on(t),e)},p.xor=Wi,p.xorBy=ji,p.xorWith=Fi,p.zip=zi,p.zipObject=function(e,t){return nn(e||[],t||[],Ge)},p.zipObjectDeep=function(e,t){return nn(e||[],t||[],Vt)},p.zipWith=Vi,p.entries=eo,p.entriesIn=to,p.extend=Wr,p.extendWith=jr,So(p,p),p.add=Po,p.attempt=go,p.camelCase=io,p.capitalize=ro,p.ceil=Io,p.clamp=function(e,t,n){return n===zo&&(n=t,t=zo),n!==zo&&(n=(n=D(n))==n?n:0),t!==zo&&(t=(t=D(t))==t?t:0),et(D(e),t,n)},p.clone=function(e){return y(e,4)},p.cloneDeep=function(e){return y(e,5)},p.cloneDeepWith=function(e,t){return y(e,5,t="function"==typeof t?t:zo)},p.cloneWith=function(e,t){return y(e,4,t="function"==typeof t?t:zo)},p.conformsTo=function(e,t){return null==t||tt(e,t,T(t))},p.deburr=oo,p.defaultTo=function(e,t){return null==e||e!=e?t:e},p.divide=No,p.endsWith=function(e,t,n){e=f(e),t=u(t);var i=e.length,i=n=n===zo?i:et(M(n),0,i);return 0<=(n-=t.length)&&e.slice(n,i)==t},p.eq=j,p.escape=function(e){return(e=f(e))&&Ba.test(e)?e.replace(za,Jl):e},p.escapeRegExp=function(e){return(e=f(e))&&Ka.test(e)?e.replace($a,"\\$&"):e},p.every=function(e,t,n){return(F(e)?Ol:at)(e,h(t=n&&d(e,t,n)?zo:t,3))},p.find=Zi,p.findIndex=Ei,p.findKey=function(e,t){return Wl(e,h(t,3),ht)},p.findLast=Gi,p.findLastIndex=ki,p.findLastKey=function(e,t){return Wl(e,h(t,3),dt)},p.floor=Lo,p.forEach=Xi,p.forEachRight=$i,p.forIn=function(e,t){return null==e?e:ut(e,h(t,3),R)},p.forInRight=function(e,t){return null==e?e:ct(e,h(t,3),R)},p.forOwn=function(e,t){return e&&ht(e,h(t,3))},p.forOwnRight=function(e,t){return e&&dt(e,h(t,3))},p.get=Yr,p.gt=gr,p.gte=mr,p.has=function(e,t){return null!=e&&ti(e,t,vt)},p.hasIn=Ur,p.head=Di,p.identity=A,p.includes=function(e,t,n,i){return e=c(e)?e:no(e),n=n&&!i?M(n):0,i=e.length,n<0&&(n=C(i+n,0)),Tr(e)?n<=i&&-1<e.indexOf(t,n):!!i&&-1<ha(e,t,n)},p.indexOf=function(e,t,n){var i=null==e?0:e.length;return i?(n=null==n?0:M(n),ha(e,t,n=n<0?C(i+n,0):n)):-1},p.inRange=function(e,t,n){return t=Ir(t),n===zo?(n=t,t=0):n=Ir(n),(e=e=D(e))>=E(t=t,n=n)&&e<C(t,n)},p.invoke=Gr,p.isArguments=vr,p.isArray=F,p.isArrayBuffer=yr,p.isArrayLike=c,p.isArrayLikeObject=_,p.isBoolean=function(e){return!0===e||!1===e||z(e)&&n(e)==qo},p.isBuffer=br,p.isDate=Y,p.isElement=function(e){return z(e)&&1===e.nodeType&&!kr(e)},p.isEmpty=function(e){if(null!=e){if(c(e)&&(F(e)||"string"==typeof e||"function"==typeof e.splice||br(e)||Rr(e)||vr(e)))return!e.length;var t,n=W(e);if(n==Go||n==Qo)return!e.size;if(si(e))return!kt(e).length;for(t in e)if(L.call(e,t))return!1}return!0},p.isEqual=function(e,t){return xt(e,t)},p.isEqualWith=function(e,t,n){var i=(n="function"==typeof n?n:zo)?n(e,t):zo;return i===zo?xt(e,t,zo,n):!!i},p.isError=_r,p.isFinite=function(e){return"number"==typeof e&&me(e)},p.isFunction=wr,p.isInteger=xr,p.isLength=Sr,p.isMap=Cr,p.isMatch=function(e,t){return e===t||St(e,t,Kn(t))},p.isMatchWith=function(e,t,n){return n="function"==typeof n?n:zo,St(e,t,Kn(t),n)},p.isNaN=function(e){return Er(e)&&e!=+e},p.isNative=function(e){if(li(e))throw new O("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Ct(e)},p.isNil=function(e){return null==e},p.isNull=function(e){return null===e},p.isNumber=Er,p.isObject=w,p.isObjectLike=z,p.isPlainObject=kr,p.isRegExp=Mr,p.isSafeInteger=function(e){return xr(e)&&-Bo<=e&&e<=Bo},p.isSet=Dr,p.isString=Tr,p.isSymbol=b,p.isTypedArray=Rr,p.isUndefined=function(e){return e===zo},p.isWeakMap=function(e){return z(e)&&W(e)==ea},p.isWeakSet=function(e){return z(e)&&"[object WeakSet]"==n(e)},p.join=function(e,t){return null==e?"":ve.call(e,t)},p.kebabCase=ao,p.last=i,p.lastIndexOf=function(e,t,n){var i=null==e?0:e.length;if(!i)return-1;var r=i;if(n!==zo&&(r=(r=M(n))<0?C(i+r,0):E(r,i-1)),t!=t)return jl(e,zl,r,!0);for(var o=e,a=t,l=r+1;l--;)if(o[l]===a)return l;return l},p.lowerCase=lo,p.lowerFirst=so,p.lt=Ar,p.lte=Or,p.max=function(e){return e&&e.length?lt(e,A,mt):zo},p.maxBy=function(e,t){return e&&e.length?lt(e,h(t,2),mt):zo},p.mean=function(e){return Vl(e,A)},p.meanBy=function(e,t){return Vl(e,h(t,2))},p.min=function(e){return e&&e.length?lt(e,A,Dt):zo},p.minBy=function(e,t){return e&&e.length?lt(e,h(t,2),Dt):zo},p.stubArray=Ao,p.stubFalse=Oo,p.stubObject=function(){return{}},p.stubString=function(){return""},p.stubTrue=function(){return!0},p.multiply=Wo,p.nth=function(e,t){return e&&e.length?Pt(e,M(t)):zo},p.noConflict=function(){return oa._===this&&(oa._=Q),this},p.noop=Co,p.now=ir,p.pad=function(e,t,n){e=f(e);var i=(t=M(t))?ga(e):0;return!t||t<=i?e:An(pe(t=(t-i)/2),n)+e+An(fe(t),n)},p.padEnd=function(e,t,n){e=f(e);var i=(t=M(t))?ga(e):0;return t&&i<t?e+An(t-i,n):e},p.padStart=function(e,t,n){e=f(e);var i=(t=M(t))?ga(e):0;return t&&i<t?An(t-i,n)+e:e},p.parseInt=function(e,t,n){return t=n||null==t?0:t&&+t,_e(f(e).replace(Qa,""),t||0)},p.random=function(e,t,n){var i;return n&&"boolean"!=typeof n&&d(e,t,n)&&(t=n=zo),n===zo&&("boolean"==typeof t?(n=t,t=zo):"boolean"==typeof e&&(n=e,e=zo)),e===zo&&t===zo?(e=0,t=1):(e=Ir(e),t===zo?(t=e,e=0):t=Ir(t)),t<e&&(i=e,e=t,t=i),n||e%1||t%1?(i=we(),E(e+i*(t-e+wl("1e-"+((i+"").length-1))),t)):Wt(e,t)},p.reduce=function(e,t,n){var i=F(e)?Nl:Yl,r=arguments.length<3;return i(e,h(t,4),n,r,rt)},p.reduceRight=function(e,t,n){var i=F(e)?Ll:Yl,r=arguments.length<3;return i(e,h(t,4),n,r,ot)},p.repeat=function(e,t,n){return t=(n?d(e,t,n):t===zo)?1:M(t),jt(f(e),t)},p.replace=function(){var e=arguments,t=f(e[0]);return e.length<3?t:t.replace(e[1],e[2])},p.result=function(e,t,n){var i=-1,r=(t=an(t,e)).length;for(r||(r=1,e=zo);++i<r;){var o=null==e?zo:e[xi(t[i])];o===zo&&(i=r,o=n),e=wr(o)?o.call(e):o}return e},p.round=jo,p.runInContext=r,p.sample=function(e){return(F(e)?Ye:Ft)(e)},p.size=function(e){if(null==e)return 0;if(c(e))return Tr(e)?ga(e):e.length;var t=W(e);return t==Go||t==Qo?e.size:kt(e).length},p.snakeCase=uo,p.some=function(e,t,n){return(F(e)?Hl:Ut)(e,h(t=n&&d(e,t,n)?zo:t,3))},p.sortedIndex=function(e,t){return qt(e,t)},p.sortedIndexBy=function(e,t,n){return Zt(e,t,h(n,2))},p.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var i=qt(e,t);if(i<n&&j(e[i],t))return i}return-1},p.sortedLastIndex=function(e,t){return qt(e,t,!0)},p.sortedLastIndexBy=function(e,t,n){return Zt(e,t,h(n,2),!0)},p.sortedLastIndexOf=function(e,t){if(null==e?0:e.length){var n=qt(e,t,!0)-1;if(j(e[n],t))return n}return-1},p.startCase=co,p.startsWith=function(e,t,n){return e=f(e),n=null==n?0:et(M(n),0,e.length),t=u(t),e.slice(n,n+t.length)==t},p.subtract=Fo,p.sum=function(e){return e&&e.length?Ul(e,A):0},p.sumBy=function(e,t){return e&&e.length?Ul(e,h(t,2)):0},p.template=function(a,e,t){var l,s,n=p.templateSettings;t&&d(a,e,t)&&(e=zo),a=f(a),e=jr({},e,n,Fn);var i=T(t=jr({},e.imports,n.imports,Fn)),r=Gl(t,i),u=0,n=e.interpolate||fl,c="__p += '",t=N((e.escape||fl).source+"|"+n.source+"|"+(n===qa?ol:fl).source+"|"+(e.evaluate||fl).source+"|$","g"),o="//# sourceURL="+(L.call(e,"sourceURL")?(e.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++_l+"]")+"\n";if(a.replace(t,function(e,t,n,i,r,o){return n=n||i,c+=a.slice(u,o).replace(pl,es),t&&(l=!0,c+="' +\n__e("+t+") +\n'"),r&&(s=!0,c+="';\n"+r+";\n__p += '"),n&&(c+="' +\n((__t = ("+n+")) == null ? '' : __t) +\n'"),u=o+e.length,e}),c+="';\n",n=L.call(e,"variable")&&e.variable){if(il.test(n))throw new O("Invalid `variable` option passed into `_.template`")}else c="with (obj) {\n"+c+"\n}\n";if(c=(s?c.replace(Ha,""):c).replace(Wa,"$1").replace(ja,"$1;"),c="function("+(n||"obj")+") {\n"+(n?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(l?", __e = _.escape":"")+(s?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+c+"return __p\n}",(t=go(function(){return P(i,o+"return "+c).apply(zo,r)})).source=c,_r(t))throw t;return t},p.times=function(e,t){if((e=M(e))<1||Bo<e)return[];for(var n=Yo,i=E(e,Yo),i=(t=h(t),e-=Yo,ql(i,t));++n<e;)t(n);return i},p.toFinite=Ir,p.toInteger=M,p.toLength=Nr,p.toLower=function(e){return f(e).toLowerCase()},p.toNumber=D,p.toSafeInteger=function(e){return e?et(M(e),-Bo,Bo):0===e?e:0},p.toString=f,p.toUpper=function(e){return f(e).toUpperCase()},p.trim=function(e,t,n){return(e=f(e))&&(n||t===zo)?Zl(e):e&&(t=u(t))?(n=ma(e),e=ma(t),sn(n,$l(n,e),Kl(n,e)+1).join("")):e},p.trimEnd=function(e,t,n){return(e=f(e))&&(n||t===zo)?e.slice(0,rs(e)+1):e&&(t=u(t))?sn(n=ma(e),0,Kl(n,ma(t))+1).join(""):e},p.trimStart=function(e,t,n){return(e=f(e))&&(n||t===zo)?e.replace(Qa,""):e&&(t=u(t))?sn(n=ma(e),$l(n,ma(t))).join(""):e},p.truncate=function(e,t){var n,i=30,r="...",t=(w(t)&&(n="separator"in t?t.separator:n,i="length"in t?M(t.length):i,r="omission"in t?u(t.omission):r),(e=f(e)).length);if((t=fa(e)?(o=ma(e)).length:t)<=i)return e;if((t=i-ga(r))<1)return r;var o,i=o?sn(o,0,t).join(""):e.slice(0,t);if(n!==zo)if(o&&(t+=i.length-t),Mr(n)){if(e.slice(t).search(n)){var a,l=i;for((n=n.global?n:N(n.source,f(al.exec(n))+"g")).lastIndex=0;a=n.exec(l);)var s=a.index;i=i.slice(0,s===zo?t:s)}}else e.indexOf(u(n),t)==t||-1<(o=i.lastIndexOf(n))&&(i=i.slice(0,o));return i+r},p.unescape=function(e){return(e=f(e))&&Va.test(e)?e.replace(Fa,os):e},p.uniqueId=function(e){var t=++G;return f(e)+t},p.upperCase=ho,p.upperFirst=fo,p.each=Xi,p.eachRight=$i,p.first=Di,So(p,(Ho={},ht(p,function(e,t){L.call(p.prototype,t)||(Ho[t]=e)}),Ho),{chain:!1}),p.VERSION="4.17.21",la(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){p[e].placeholder=p}),la(["drop","take"],function(n,i){v.prototype[n]=function(e){e=e===zo?1:C(M(e),0);var t=this.__filtered__&&!i?new v(this):this.clone();return t.__filtered__?t.__takeCount__=E(e,t.__takeCount__):t.__views__.push({size:E(e,Yo),type:n+(t.__dir__<0?"Right":"")}),t},v.prototype[n+"Right"]=function(e){return this.reverse()[n](e).reverse()}}),la(["filter","map","takeWhile"],function(e,t){var n=t+1,i=1==n||3==n;v.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:h(e,3),type:n}),t.__filtered__=t.__filtered__||i,t}}),la(["head","last"],function(e,t){var n="take"+(t?"Right":"");v.prototype[e]=function(){return this[n](1).value()[0]}}),la(["initial","tail"],function(e,t){var n="drop"+(t?"":"Right");v.prototype[e]=function(){return this.__filtered__?new v(this):this[n](1)}}),v.prototype.compact=function(){return this.filter(A)},v.prototype.find=function(e){return this.filter(e).head()},v.prototype.findLast=function(e){return this.reverse().find(e)},v.prototype.invokeMap=a(function(t,n){return"function"==typeof t?new v(this):this.map(function(e){return _t(e,t,n)})}),v.prototype.reject=function(e){return this.filter(hr(h(e)))},v.prototype.slice=function(e,t){e=M(e);var n=this;return n.__filtered__&&(0<e||t<0)?new v(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==zo?(t=M(t))<0?n.dropRight(-t):n.take(t-e):n)},v.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},v.prototype.toArray=function(){return this.take(Yo)},ht(v.prototype,function(u,e){var c=/^(?:filter|find|map|reject)|While$/.test(e),h=/^(?:head|last)$/.test(e),d=p[h?"take"+("last"==e?"Right":""):e],f=h||/^find/.test(e);d&&(p.prototype[e]=function(){function e(e){return e=d.apply(p,ca([e],i)),h&&l?e[0]:e}var t,n=this.__wrapped__,i=h?[1]:arguments,r=n instanceof v,o=i[0],a=r||F(n),l=(a&&c&&"function"==typeof o&&1!=o.length&&(r=a=!1),this.__chain__),o=!!this.__actions__.length,s=f&&!l,r=r&&!o;return!f&&a?(n=r?n:new v(this),(t=u.apply(n,i)).__actions__.push({func:Yi,args:[e],thisArg:zo}),new m(t,l)):s&&r?u.apply(this,i):(t=this.thru(e),s?h?t.value()[0]:t.value():t)})}),la(["pop","push","shift","sort","splice","unshift"],function(e){var n=B[e],i=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);p.prototype[e]=function(){var e,t=arguments;return r&&!this.__chain__?(e=this.value(),n.apply(F(e)?e:[],t)):this[i](function(e){return n.apply(F(e)?e:[],t)})}}),ht(v.prototype,function(e,t){var n,i=p[t];i&&(n=i.name+"",L.call(De,n)||(De[n]=[]),De[n].push({name:t,func:i}))}),De[Mn(zo,2).name]=[{name:"wrapper",func:zo}],v.prototype.clone=function(){var e=new v(this.__wrapped__);return e.__actions__=k(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=k(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=k(this.__views__),e},v.prototype.reverse=function(){var e;return this.__filtered__?((e=new v(this)).__dir__=-1,e.__filtered__=!0):(e=this.clone()).__dir__*=-1,e},v.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=F(e),i=t<0,r=n?e.length:0,o=function(e,t,n){var i=-1,r=n.length;for(;++i<r;){var o=n[i],a=o.size;switch(o.type){case"drop":e+=a;break;case"dropRight":t-=a;break;case"take":t=E(t,e+a);break;case"takeRight":e=C(e,t-a)}}return{start:e,end:t}}(0,r,this.__views__),a=o.start,l=(o=o.end)-a,s=i?o:a-1,u=this.__iteratees__,c=u.length,h=0,d=E(l,this.__takeCount__);if(!n||!i&&r==l&&d==l)return en(e,this.__actions__);var f=[];e:for(;l--&&h<d;){for(var p=-1,g=e[s+=t];++p<c;){var m=u[p],v=m.iteratee,m=m.type,v=v(g);if(2==m)g=v;else if(!v){if(1==m)continue e;break e}}f[h++]=g}return f},p.prototype.at=Ui,p.prototype.chain=function(){return Bi(this)},p.prototype.commit=function(){return new m(this.value(),this.__chain__)},p.prototype.next=function(){this.__values__===zo&&(this.__values__=Pr(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?zo:this.__values__[this.__index__++]}},p.prototype.plant=function(e){for(var t,n=this;n instanceof We;)var i=Ci(n),r=(i.__index__=0,i.__values__=zo,t?r.__wrapped__=i:t=i,i),n=n.__wrapped__;return r.__wrapped__=e,t},p.prototype.reverse=function(){var e=this.__wrapped__;return e instanceof v?(e=e,(e=(e=this.__actions__.length?new v(this):e).reverse()).__actions__.push({func:Yi,args:[Ai],thisArg:zo}),new m(e,this.__chain__)):this.thru(Ai)},p.prototype.toJSON=p.prototype.valueOf=p.prototype.value=function(){return en(this.__wrapped__,this.__actions__)},p.prototype.first=p.prototype.head,le&&(p.prototype[le]=function(){return this}),p}();"function"==typeof define&&"object"==as(define.amd)&&define.amd?(oa._=va,define(function(){return va})):r?((r.exports=va)._=va,i._=va):oa._=va}.call(void 0)}.call(this,"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],23:[function(e,t,n){"use strict";function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var r,o;r=window,o=function(e,l){var e=e.create("masonry"),t=(e.compatOptions.fitWidth="isFitWidth",e.prototype);return t._resetLayout=function(){this.getSize(),this._getMeasurement("columnWidth","outerWidth"),this._getMeasurement("gutter","outerWidth"),this.measureColumns(),this.colYs=[];for(var e=0;e<this.cols;e++)this.colYs.push(0);this.maxY=0,this.horizontalColIndex=0},t.measureColumns=function(){this.getContainerWidth(),this.columnWidth||(e=(e=this.items[0])&&e.element,this.columnWidth=e&&l(e).outerWidth||this.containerWidth);var e=this.columnWidth+=this.gutter,t=this.containerWidth+this.gutter,n=t/e,t=e-t%e,n=Math[t&&t<1?"round":"floor"](n);this.cols=Math.max(n,1)},t.getContainerWidth=function(){var e=this._getOption("fitWidth")?this.element.parentNode:this.element,e=l(e);this.containerWidth=e&&e.innerWidth},t._getItemLayoutPosition=function(e){e.getSize();for(var t=e.size.outerWidth%this.columnWidth,t=Math[t&&t<1?"round":"ceil"](e.size.outerWidth/this.columnWidth),t=Math.min(t,this.cols),n=this[this.options.horizontalOrder?"_getHorizontalColPosition":"_getTopColPosition"](t,e),i={x:this.columnWidth*n.col,y:n.y},r=n.y+e.size.outerHeight,o=t+n.col,a=n.col;a<o;a++)this.colYs[a]=r;return i},t._getTopColPosition=function(e){var e=this._getTopColGroup(e),t=Math.min.apply(Math,e);return{col:e.indexOf(t),y:t}},t._getTopColGroup=function(e){if(e<2)return this.colYs;for(var t=[],n=this.cols+1-e,i=0;i<n;i++)t[i]=this._getColGroupY(i,e);return t},t._getColGroupY=function(e,t){if(t<2)return this.colYs[e];e=this.colYs.slice(e,e+t);return Math.max.apply(Math,e)},t._getHorizontalColPosition=function(e,t){var n=this.horizontalColIndex%this.cols,n=1<e&&n+e>this.cols?0:n,t=t.size.outerWidth&&t.size.outerHeight;return this.horizontalColIndex=t?n+e:this.horizontalColIndex,{col:n,y:this._getColGroupY(n,e)}},t._manageStamp=function(e){var t=l(e),e=this._getElementOffset(e),n=this._getOption("originLeft")?e.left:e.right,i=n+t.outerWidth,n=Math.floor(n/this.columnWidth),n=Math.max(0,n),r=Math.floor(i/this.columnWidth);r-=i%this.columnWidth?0:1;for(var r=Math.min(this.cols-1,r),o=(this._getOption("originTop")?e.top:e.bottom)+t.outerHeight,a=n;a<=r;a++)this.colYs[a]=Math.max(o,this.colYs[a])},t._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var e={height:this.maxY};return this._getOption("fitWidth")&&(e.width=this._getContainerFitWidth()),e},t._getContainerFitWidth=function(){for(var e=0,t=this.cols;--t&&0===this.colYs[t];)e++;return(this.cols-e)*this.columnWidth-this.gutter},t.needsResizeLayout=function(){var e=this.containerWidth;return this.getContainerWidth(),e!=this.containerWidth},e},"function"==typeof define&&define.amd?define(["outlayer/outlayer","get-size/get-size"],o):"object"==(void 0===t?"undefined":i(t))&&t.exports?t.exports=o(e("outlayer"),e("get-size")):r.Masonry=o(r.Outlayer,r.getSize)},{"get-size":18,outlayer:26}],24:[function(An,On,e){"use strict";function Pn(e){return(Pn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var t;t=function(){var L;function g(){return L.apply(null,arguments)}function m(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function H(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function d(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function W(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(var t in e)if(d(e,t))return;return 1}function v(e){return void 0===e}function y(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function j(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function F(e,t){for(var n=[],i=e.length,r=0;r<i;++r)n.push(t(e[r],r));return n}function z(e,t){for(var n in t)d(t,n)&&(e[n]=t[n]);return d(t,"toString")&&(e.toString=t.toString),d(t,"valueOf")&&(e.valueOf=t.valueOf),e}function u(e,t,n,i){return At(e,t,n,i,!0).utc()}function b(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function V(e){if(null==e._isValid){var t=b(e),n=Y.call(t.parsedDateParts,function(e){return null!=e}),n=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(n=n&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return n;e._isValid=n}return e._isValid}function B(e){var t=u(NaN);return null!=e?z(b(t),e):b(t).userInvalidated=!0,t}var Y=Array.prototype.some||function(e){for(var t=Object(this),n=t.length>>>0,i=0;i<n;i++)if(i in t&&e.call(this,t[i],i,t))return!0;return!1},U=g.momentProperties=[],q=!1;function Z(e,t){var n,i,r,o=U.length;if(v(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),v(t._i)||(e._i=t._i),v(t._f)||(e._f=t._f),v(t._l)||(e._l=t._l),v(t._strict)||(e._strict=t._strict),v(t._tzm)||(e._tzm=t._tzm),v(t._isUTC)||(e._isUTC=t._isUTC),v(t._offset)||(e._offset=t._offset),v(t._pf)||(e._pf=b(t)),v(t._locale)||(e._locale=t._locale),0<o)for(n=0;n<o;n++)v(r=t[i=U[n]])||(e[i]=r);return e}function G(e){Z(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===q&&(q=!0,g.updateOffset(this),q=!1)}function _(e){return e instanceof G||null!=e&&null!=e._isAMomentObject}function X(e){!1===g.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function e(o,a){var l=!0;return z(function(){if(null!=g.deprecationHandler&&g.deprecationHandler(null,o),l){for(var e,t,n=[],i=arguments.length,r=0;r<i;r++){if(e="","object"===Pn(arguments[r])){for(t in e+="\n["+r+"] ",arguments[0])d(arguments[0],t)&&(e+=t+": "+arguments[0][t]+", ");e=e.slice(0,-2)}else e=arguments[r];n.push(e)}X(o+"\nArguments: "+Array.prototype.slice.call(n).join("")+"\n"+(new Error).stack),l=!1}return a.apply(this,arguments)},a)}var $={};function K(e,t){null!=g.deprecationHandler&&g.deprecationHandler(e,t),$[e]||(X(t),$[e]=!0)}function a(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function Q(e,t){var n,i=z({},e);for(n in t)d(t,n)&&(H(e[n])&&H(t[n])?(i[n]={},z(i[n],e[n]),z(i[n],t[n])):null!=t[n]?i[n]=t[n]:delete i[n]);for(n in e)d(e,n)&&!d(t,n)&&H(e[n])&&(i[n]=z({},i[n]));return i}function J(e){null!=e&&this.set(e)}g.suppressDeprecationWarnings=!1,g.deprecationHandler=null;var ee=Object.keys||function(e){var t,n=[];for(t in e)d(e,t)&&n.push(t);return n};function o(e,t,n){var i=""+Math.abs(e);return(0<=e?n?"+":"":"-")+Math.pow(10,Math.max(0,t-i.length)).toString().substr(1)+i}var te=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,ne=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,ie={},re={};function i(e,t,n,i){var r="string"==typeof i?function(){return this[i]()}:i;e&&(re[e]=r),t&&(re[t[0]]=function(){return o(r.apply(this,arguments),t[1],t[2])}),n&&(re[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),e)})}function oe(e,t){return e.isValid()?(t=ae(t,e.localeData()),ie[t]=ie[t]||function(i){for(var e,r=i.match(te),t=0,o=r.length;t<o;t++)re[r[t]]?r[t]=re[r[t]]:r[t]=(e=r[t]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(e){for(var t="",n=0;n<o;n++)t+=a(r[n])?r[n].call(e,i):r[n];return t}}(t),ie[t](e)):e.localeData().invalidDate()}function ae(e,t){var n=5;function i(e){return t.longDateFormat(e)||e}for(ne.lastIndex=0;0<=n&&ne.test(e);)e=e.replace(ne,i),ne.lastIndex=0,--n;return e}var le={};function t(e,t){var n=e.toLowerCase();le[n]=le[n+"s"]=le[t]=e}function l(e){return"string"==typeof e?le[e]||le[e.toLowerCase()]:void 0}function se(e){var t,n,i={};for(n in e)d(e,n)&&(t=l(n))&&(i[t]=e[n]);return i}var ue={};function n(e,t){ue[e]=t}function ce(e){return e%4==0&&e%100!=0||e%400==0}function h(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function c(e){var e=+e,t=0;return t=0!=e&&isFinite(e)?h(e):t}function he(t,n){return function(e){return null!=e?(fe(this,t,e),g.updateOffset(this,n),this):de(this,t)}}function de(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function fe(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&ce(e.year())&&1===e.month()&&29===e.date()?(n=c(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Pe(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var r=/\d/,s=/\d\d/,pe=/\d{3}/,ge=/\d{4}/,me=/[+-]?\d{6}/,f=/\d\d?/,ve=/\d\d\d\d?/,ye=/\d\d\d\d\d\d?/,be=/\d{1,3}/,_e=/\d{1,4}/,we=/[+-]?\d{1,6}/,xe=/\d+/,Se=/[+-]?\d+/,Ce=/Z|[+-]\d\d:?\d\d/gi,Ee=/Z|[+-]\d\d(?::?\d\d)?/gi,p=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function w(e,n,i){Me[e]=a(n)?n:function(e,t){return e&&i?i:n}}function ke(e,t){return d(Me,e)?Me[e](t._strict,t._locale):new RegExp(x(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,i,r){return t||n||i||r})))}function x(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var Me={},De={};function S(e,n){var t,i,r=n;for("string"==typeof e&&(e=[e]),y(n)&&(r=function(e,t){t[n]=c(e)}),i=e.length,t=0;t<i;t++)De[e[t]]=r}function Te(e,r){S(e,function(e,t,n,i){n._w=n._w||{},r(e,n._w,n,i)})}var C,E=0,k=1,M=2,D=3,T=4,R=5,Re=6,Ae=7,Oe=8;function Pe(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=(t%(n=12)+n)%n;return e+=(t-n)/12,1==n?ce(e)?29:28:31-n%7%2}C=Array.prototype.indexOf||function(e){for(var t=0;t<this.length;++t)if(this[t]===e)return t;return-1},i("M",["MM",2],"Mo",function(){return this.month()+1}),i("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),i("MMMM",0,0,function(e){return this.localeData().months(this,e)}),t("month","M"),n("month",8),w("M",f),w("MM",f,s),w("MMM",function(e,t){return t.monthsShortRegex(e)}),w("MMMM",function(e,t){return t.monthsRegex(e)}),S(["M","MM"],function(e,t){t[k]=c(e)-1}),S(["MMM","MMMM"],function(e,t,n,i){i=n._locale.monthsParse(e,i,n._strict);null!=i?t[k]=i:b(n).invalidMonth=e});var Ie="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Ne="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Le=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,He=p,We=p;function je(e,t){var n;if(e.isValid()){if("string"==typeof t)if(/^\d+$/.test(t))t=c(t);else if(!y(t=e.localeData().monthsParse(t)))return;n=Math.min(e.date(),Pe(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n)}}function Fe(e){return null!=e?(je(this,e),g.updateOffset(this,!0),this):de(this,"Month")}function ze(){function e(e,t){return t.length-e.length}for(var t,n=[],i=[],r=[],o=0;o<12;o++)t=u([2e3,o]),n.push(this.monthsShort(t,"")),i.push(this.months(t,"")),r.push(this.months(t,"")),r.push(this.monthsShort(t,""));for(n.sort(e),i.sort(e),r.sort(e),o=0;o<12;o++)n[o]=x(n[o]),i[o]=x(i[o]);for(o=0;o<24;o++)r[o]=x(r[o]);this._monthsRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function Ve(e){return ce(e)?366:365}i("Y",0,0,function(){var e=this.year();return e<=9999?o(e,4):"+"+e}),i(0,["YY",2],0,function(){return this.year()%100}),i(0,["YYYY",4],0,"year"),i(0,["YYYYY",5],0,"year"),i(0,["YYYYYY",6,!0],0,"year"),t("year","y"),n("year",1),w("Y",Se),w("YY",f,s),w("YYYY",_e,ge),w("YYYYY",we,me),w("YYYYYY",we,me),S(["YYYYY","YYYYYY"],E),S("YYYY",function(e,t){t[E]=2===e.length?g.parseTwoDigitYear(e):c(e)}),S("YY",function(e,t){t[E]=g.parseTwoDigitYear(e)}),S("Y",function(e,t){t[E]=parseInt(e,10)}),g.parseTwoDigitYear=function(e){return c(e)+(68<c(e)?1900:2e3)};var Be=he("FullYear",!0);function Ye(e,t,n,i,r,o,a){var l;return e<100&&0<=e?(l=new Date(e+400,t,n,i,r,o,a),isFinite(l.getFullYear())&&l.setFullYear(e)):l=new Date(e,t,n,i,r,o,a),l}function Ue(e){var t;return e<100&&0<=e?((t=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,t)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function qe(e,t,n){n=7+t-n;return n-(7+Ue(e,0,n).getUTCDay()-t)%7-1}function Ze(e,t,n,i,r){var o,t=1+7*(t-1)+(7+n-i)%7+qe(e,i,r),n=t<=0?Ve(o=e-1)+t:t>Ve(e)?(o=e+1,t-Ve(e)):(o=e,t);return{year:o,dayOfYear:n}}function Ge(e,t,n){var i,r,o=qe(e.year(),t,n),o=Math.floor((e.dayOfYear()-o-1)/7)+1;return o<1?i=o+A(r=e.year()-1,t,n):o>A(e.year(),t,n)?(i=o-A(e.year(),t,n),r=e.year()+1):(r=e.year(),i=o),{week:i,year:r}}function A(e,t,n){var i=qe(e,t,n),t=qe(e+1,t,n);return(Ve(e)-i+t)/7}i("w",["ww",2],"wo","week"),i("W",["WW",2],"Wo","isoWeek"),t("week","w"),t("isoWeek","W"),n("week",5),n("isoWeek",5),w("w",f),w("ww",f,s),w("W",f),w("WW",f,s),Te(["w","ww","W","WW"],function(e,t,n,i){t[i.substr(0,1)]=c(e)});function Xe(e,t){return e.slice(t,7).concat(e.slice(0,t))}i("d",0,"do","day"),i("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),i("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),i("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),i("e",0,0,"weekday"),i("E",0,0,"isoWeekday"),t("day","d"),t("weekday","e"),t("isoWeekday","E"),n("day",11),n("weekday",11),n("isoWeekday",11),w("d",f),w("e",f),w("E",f),w("dd",function(e,t){return t.weekdaysMinRegex(e)}),w("ddd",function(e,t){return t.weekdaysShortRegex(e)}),w("dddd",function(e,t){return t.weekdaysRegex(e)}),Te(["dd","ddd","dddd"],function(e,t,n,i){i=n._locale.weekdaysParse(e,i,n._strict);null!=i?t.d=i:b(n).invalidWeekday=e}),Te(["d","e","E"],function(e,t,n,i){t[i]=c(e)});var $e="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ke="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Qe="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Je=p,et=p,tt=p;function nt(){function e(e,t){return t.length-e.length}for(var t,n,i,r=[],o=[],a=[],l=[],s=0;s<7;s++)i=u([2e3,1]).day(s),t=x(this.weekdaysMin(i,"")),n=x(this.weekdaysShort(i,"")),i=x(this.weekdays(i,"")),r.push(t),o.push(n),a.push(i),l.push(t),l.push(n),l.push(i);r.sort(e),o.sort(e),a.sort(e),l.sort(e),this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+r.join("|")+")","i")}function it(){return this.hours()%12||12}function rt(e,t){i(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function ot(e,t){return t._meridiemParse}i("H",["HH",2],0,"hour"),i("h",["hh",2],0,it),i("k",["kk",2],0,function(){return this.hours()||24}),i("hmm",0,0,function(){return""+it.apply(this)+o(this.minutes(),2)}),i("hmmss",0,0,function(){return""+it.apply(this)+o(this.minutes(),2)+o(this.seconds(),2)}),i("Hmm",0,0,function(){return""+this.hours()+o(this.minutes(),2)}),i("Hmmss",0,0,function(){return""+this.hours()+o(this.minutes(),2)+o(this.seconds(),2)}),rt("a",!0),rt("A",!1),t("hour","h"),n("hour",13),w("a",ot),w("A",ot),w("H",f),w("h",f),w("k",f),w("HH",f,s),w("hh",f,s),w("kk",f,s),w("hmm",ve),w("hmmss",ye),w("Hmm",ve),w("Hmmss",ye),S(["H","HH"],D),S(["k","kk"],function(e,t,n){e=c(e);t[D]=24===e?0:e}),S(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),S(["h","hh"],function(e,t,n){t[D]=c(e),b(n).bigHour=!0}),S("hmm",function(e,t,n){var i=e.length-2;t[D]=c(e.substr(0,i)),t[T]=c(e.substr(i)),b(n).bigHour=!0}),S("hmmss",function(e,t,n){var i=e.length-4,r=e.length-2;t[D]=c(e.substr(0,i)),t[T]=c(e.substr(i,2)),t[R]=c(e.substr(r)),b(n).bigHour=!0}),S("Hmm",function(e,t,n){var i=e.length-2;t[D]=c(e.substr(0,i)),t[T]=c(e.substr(i))}),S("Hmmss",function(e,t,n){var i=e.length-4,r=e.length-2;t[D]=c(e.substr(0,i)),t[T]=c(e.substr(i,2)),t[R]=c(e.substr(r))});p=he("Hours",!0);var at,lt={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Ie,monthsShort:Ne,week:{dow:0,doy:6},weekdays:$e,weekdaysMin:Qe,weekdaysShort:Ke,meridiemParse:/[ap]\.?m?\.?/i},O={},st={};function ut(e){return e&&e.toLowerCase().replace("_","-")}function ct(e){for(var t,n,i,r,o=0;o<e.length;){for(t=(r=ut(e[o]).split("-")).length,n=(n=ut(e[o+1]))?n.split("-"):null;0<t;){if(i=ht(r.slice(0,t).join("-")))return i;if(n&&n.length>=t&&function(e,t){for(var n=Math.min(e.length,t.length),i=0;i<n;i+=1)if(e[i]!==t[i])return i;return n}(r,n)>=t-1)break;t--}o++}return at}function ht(t){var e;if(void 0===O[t]&&void 0!==On&&On&&On.exports&&null!=t.match("^[^/\\\\]*$"))try{e=at._abbr,An("./locale/"+t),dt(e)}catch(e){O[t]=null}return O[t]}function dt(e,t){return e&&((t=v(t)?pt(e):ft(e,t))?at=t:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),at._abbr}function ft(e,t){if(null===t)return delete O[e],null;var n,i=lt;if(t.abbr=e,null!=O[e])K("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),i=O[e]._config;else if(null!=t.parentLocale)if(null!=O[t.parentLocale])i=O[t.parentLocale]._config;else{if(null==(n=ht(t.parentLocale)))return st[t.parentLocale]||(st[t.parentLocale]=[]),st[t.parentLocale].push({name:e,config:t}),null;i=n._config}return O[e]=new J(Q(i,t)),st[e]&&st[e].forEach(function(e){ft(e.name,e.config)}),dt(e),O[e]}function pt(e){var t;if(!(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e))return at;if(!m(e)){if(t=ht(e))return t;e=[e]}return ct(e)}function gt(e){var t=e._a;return t&&-2===b(e).overflow&&(t=t[k]<0||11<t[k]?k:t[M]<1||t[M]>Pe(t[E],t[k])?M:t[D]<0||24<t[D]||24===t[D]&&(0!==t[T]||0!==t[R]||0!==t[Re])?D:t[T]<0||59<t[T]?T:t[R]<0||59<t[R]?R:t[Re]<0||999<t[Re]?Re:-1,b(e)._overflowDayOfYear&&(t<E||M<t)&&(t=M),b(e)._overflowWeeks&&-1===t&&(t=Ae),b(e)._overflowWeekday&&-1===t&&(t=Oe),b(e).overflow=t),e}var mt=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,vt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,yt=/Z|[+-]\d\d(?::?\d\d)?/,bt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],_t=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],wt=/^\/?Date\((-?\d+)/i,xt=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,St={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Ct(e){var t,n,i,r,o,a,l=e._i,s=mt.exec(l)||vt.exec(l),l=bt.length,u=_t.length;if(s){for(b(e).iso=!0,t=0,n=l;t<n;t++)if(bt[t][1].exec(s[1])){r=bt[t][0],i=!1!==bt[t][2];break}if(null==r)e._isValid=!1;else{if(s[3]){for(t=0,n=u;t<n;t++)if(_t[t][1].exec(s[3])){o=(s[2]||" ")+_t[t][0];break}if(null==o)return void(e._isValid=!1)}if(i||null==o){if(s[4]){if(!yt.exec(s[4]))return void(e._isValid=!1);a="Z"}e._f=r+(o||"")+(a||""),Tt(e)}else e._isValid=!1}}else e._isValid=!1}function Et(e,t,n,i,r,o){e=[function(e){e=parseInt(e,10);{if(e<=49)return 2e3+e;if(e<=999)return 1900+e}return e}(e),Ne.indexOf(t),parseInt(n,10),parseInt(i,10),parseInt(r,10)];return o&&e.push(parseInt(o,10)),e}function kt(e){var t,n,i=xt.exec(e._i.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));i?(t=Et(i[4],i[3],i[2],i[5],i[6],i[7]),function(e,t,n){if(!e||Ke.indexOf(e)===new Date(t[0],t[1],t[2]).getDay())return 1;b(n).weekdayMismatch=!0,n._isValid=!1}(i[1],t,e)&&(e._a=t,e._tzm=(t=i[8],n=i[9],i=i[10],t?St[t]:n?0:60*(((t=parseInt(i,10))-(n=t%100))/100)+n),e._d=Ue.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),b(e).rfc2822=!0)):e._isValid=!1}function Mt(e,t,n){return null!=e?e:null!=t?t:n}function Dt(e){var t,n,i,r,o,a,l,s,u,c,h,d=[];if(!e._d){for(i=e,r=new Date(g.now()),n=i._useUTC?[r.getUTCFullYear(),r.getUTCMonth(),r.getUTCDate()]:[r.getFullYear(),r.getMonth(),r.getDate()],e._w&&null==e._a[M]&&null==e._a[k]&&(null!=(r=(i=e)._w).GG||null!=r.W||null!=r.E?(s=1,u=4,o=Mt(r.GG,i._a[E],Ge(P(),1,4).year),a=Mt(r.W,1),((l=Mt(r.E,1))<1||7<l)&&(c=!0)):(s=i._locale._week.dow,u=i._locale._week.doy,h=Ge(P(),s,u),o=Mt(r.gg,i._a[E],h.year),a=Mt(r.w,h.week),null!=r.d?((l=r.d)<0||6<l)&&(c=!0):null!=r.e?(l=r.e+s,(r.e<0||6<r.e)&&(c=!0)):l=s),a<1||a>A(o,s,u)?b(i)._overflowWeeks=!0:null!=c?b(i)._overflowWeekday=!0:(h=Ze(o,a,l,s,u),i._a[E]=h.year,i._dayOfYear=h.dayOfYear)),null!=e._dayOfYear&&(r=Mt(e._a[E],n[E]),(e._dayOfYear>Ve(r)||0===e._dayOfYear)&&(b(e)._overflowDayOfYear=!0),c=Ue(r,0,e._dayOfYear),e._a[k]=c.getUTCMonth(),e._a[M]=c.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=d[t]=n[t];for(;t<7;t++)e._a[t]=d[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[D]&&0===e._a[T]&&0===e._a[R]&&0===e._a[Re]&&(e._nextDay=!0,e._a[D]=0),e._d=(e._useUTC?Ue:Ye).apply(null,d),o=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[D]=24),e._w&&void 0!==e._w.d&&e._w.d!==o&&(b(e).weekdayMismatch=!0)}}function Tt(e){if(e._f===g.ISO_8601)Ct(e);else if(e._f===g.RFC_2822)kt(e);else{e._a=[],b(e).empty=!0;for(var t,n,i,r,o,a=""+e._i,l=a.length,s=0,u=ae(e._f,e._locale).match(te)||[],c=u.length,h=0;h<c;h++)n=u[h],(t=(a.match(ke(n,e))||[])[0])&&(0<(i=a.substr(0,a.indexOf(t))).length&&b(e).unusedInput.push(i),a=a.slice(a.indexOf(t)+t.length),s+=t.length),re[n]?(t?b(e).empty=!1:b(e).unusedTokens.push(n),i=n,o=e,null!=(r=t)&&d(De,i)&&De[i](r,o._a,o,i)):e._strict&&!t&&b(e).unusedTokens.push(n);b(e).charsLeftOver=l-s,0<a.length&&b(e).unusedInput.push(a),e._a[D]<=12&&!0===b(e).bigHour&&0<e._a[D]&&(b(e).bigHour=void 0),b(e).parsedDateParts=e._a.slice(0),b(e).meridiem=e._meridiem,e._a[D]=function(e,t,n){if(null==n)return t;return null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((e=e.isPM(n))&&t<12&&(t+=12),t=e||12!==t?t:0):t}(e._locale,e._a[D],e._meridiem),null!==(l=b(e).era)&&(e._a[E]=e._locale.erasConvertYear(l,e._a[E])),Dt(e),gt(e)}}function Rt(e){var t,n,i,r=e._i,o=e._f;if(e._locale=e._locale||pt(e._l),null===r||void 0===o&&""===r)return B({nullInput:!0});if("string"==typeof r&&(e._i=r=e._locale.preparse(r)),_(r))return new G(gt(r));if(j(r))e._d=r;else if(m(o)){var a,l,s,u,c,h,d=e,f=!1,p=d._f.length;if(0===p)b(d).invalidFormat=!0,d._d=new Date(NaN);else{for(u=0;u<p;u++)c=0,h=!1,a=Z({},d),null!=d._useUTC&&(a._useUTC=d._useUTC),a._f=d._f[u],Tt(a),V(a)&&(h=!0),c=(c+=b(a).charsLeftOver)+10*b(a).unusedTokens.length,b(a).score=c,f?c<s&&(s=c,l=a):(null==s||c<s||h)&&(s=c,l=a,h&&(f=!0));z(d,l||a)}}else if(o)Tt(e);else if(v(o=(r=e)._i))r._d=new Date(g.now());else j(o)?r._d=new Date(o.valueOf()):"string"==typeof o?(n=r,null!==(t=wt.exec(n._i))?n._d=new Date(+t[1]):(Ct(n),!1===n._isValid&&(delete n._isValid,kt(n),!1===n._isValid&&(delete n._isValid,n._strict?n._isValid=!1:g.createFromInputFallback(n))))):m(o)?(r._a=F(o.slice(0),function(e){return parseInt(e,10)}),Dt(r)):H(o)?(t=r)._d||(i=void 0===(n=se(t._i)).day?n.date:n.day,t._a=F([n.year,n.month,i,n.hour,n.minute,n.second,n.millisecond],function(e){return e&&parseInt(e,10)}),Dt(t)):y(o)?r._d=new Date(o):g.createFromInputFallback(r);return V(e)||(e._d=null),e}function At(e,t,n,i,r){var o={};return!0!==t&&!1!==t||(i=t,t=void 0),!0!==n&&!1!==n||(i=n,n=void 0),(H(e)&&W(e)||m(e)&&0===e.length)&&(e=void 0),o._isAMomentObject=!0,o._useUTC=o._isUTC=r,o._l=n,o._i=e,o._f=t,o._strict=i,(r=new G(gt(Rt(r=o))))._nextDay&&(r.add(1,"d"),r._nextDay=void 0),r}function P(e,t,n,i){return At(e,t,n,i,!1)}g.createFromInputFallback=e("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),g.ISO_8601=function(){},g.RFC_2822=function(){};ve=e("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=P.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:B()}),ye=e("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=P.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:B()});function Ot(e,t){var n,i;if(!(t=1===t.length&&m(t[0])?t[0]:t).length)return P();for(n=t[0],i=1;i<t.length;++i)t[i].isValid()&&!t[i][e](n)||(n=t[i]);return n}var Pt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function It(e){var e=se(e),t=e.year||0,n=e.quarter||0,i=e.month||0,r=e.week||e.isoWeek||0,o=e.day||0,a=e.hour||0,l=e.minute||0,s=e.second||0,u=e.millisecond||0;this._isValid=function(e){var t,n,i=!1,r=Pt.length;for(t in e)if(d(e,t)&&(-1===C.call(Pt,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<r;++n)if(e[Pt[n]]){if(i)return!1;parseFloat(e[Pt[n]])!==c(e[Pt[n]])&&(i=!0)}return!0}(e),this._milliseconds=+u+1e3*s+6e4*l+1e3*a*60*60,this._days=+o+7*r,this._months=+i+3*n+12*t,this._data={},this._locale=pt(),this._bubble()}function Nt(e){return e instanceof It}function Lt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Ht(e,n){i(e,0,0,function(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+o(~~(e/60),2)+n+o(~~e%60,2)})}Ht("Z",":"),Ht("ZZ",""),w("Z",Ee),w("ZZ",Ee),S(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=jt(Ee,e)});var Wt=/([\+\-]|\d\d)/gi;function jt(e,t){var t=(t||"").match(e);return null===t?null:0===(t=60*(e=((t[t.length-1]||[])+"").match(Wt)||["-",0,0])[1]+c(e[2]))?0:"+"===e[0]?t:-t}function Ft(e,t){var n;return t._isUTC?(t=t.clone(),n=(_(e)||j(e)?e:P(e)).valueOf()-t.valueOf(),t._d.setTime(t._d.valueOf()+n),g.updateOffset(t,!1),t):P(e).local()}function zt(e){return-Math.round(e._d.getTimezoneOffset())}function Vt(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}g.updateOffset=function(){};var Bt=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Yt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function I(e,t){var n,i=e,r=null;return Nt(e)?i={ms:e._milliseconds,d:e._days,M:e._months}:y(e)||!isNaN(+e)?(i={},t?i[t]=+e:i.milliseconds=+e):(r=Bt.exec(e))?(n="-"===r[1]?-1:1,i={y:0,d:c(r[M])*n,h:c(r[D])*n,m:c(r[T])*n,s:c(r[R])*n,ms:c(Lt(1e3*r[Re]))*n}):(r=Yt.exec(e))?(n="-"===r[1]?-1:1,i={y:Ut(r[2],n),M:Ut(r[3],n),w:Ut(r[4],n),d:Ut(r[5],n),h:Ut(r[6],n),m:Ut(r[7],n),s:Ut(r[8],n)}):null==i?i={}:"object"===Pn(i)&&("from"in i||"to"in i)&&(t=function(e,t){var n;if(!e.isValid()||!t.isValid())return{milliseconds:0,months:0};t=Ft(t,e),e.isBefore(t)?n=qt(e,t):((n=qt(t,e)).milliseconds=-n.milliseconds,n.months=-n.months);return n}(P(i.from),P(i.to)),(i={}).ms=t.milliseconds,i.M=t.months),r=new It(i),Nt(e)&&d(e,"_locale")&&(r._locale=e._locale),Nt(e)&&d(e,"_isValid")&&(r._isValid=e._isValid),r}function Ut(e,t){e=e&&parseFloat(e.replace(",","."));return(isNaN(e)?0:e)*t}function qt(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Zt(i,r){return function(e,t){var n;return null===t||isNaN(+t)||(K(r,"moment()."+r+"(period, number) is deprecated. Please use moment()."+r+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),n=e,e=t,t=n),Gt(this,I(e,t),i),this}}function Gt(e,t,n,i){var r=t._milliseconds,o=Lt(t._days),t=Lt(t._months);e.isValid()&&(i=null==i||i,t&&je(e,de(e,"Month")+t*n),o&&fe(e,"Date",de(e,"Date")+o*n),r&&e._d.setTime(e._d.valueOf()+r*n),i&&g.updateOffset(e,o||t))}I.fn=It.prototype,I.invalid=function(){return I(NaN)};Ie=Zt(1,"add"),$e=Zt(-1,"subtract");function Xt(e){return"string"==typeof e||e instanceof String}function $t(e){return _(e)||j(e)||Xt(e)||y(e)||function(t){var e=m(t),n=!1;e&&(n=0===t.filter(function(e){return!y(e)&&Xt(t)}).length);return e&&n}(e)||function(e){var t,n,i=H(e)&&!W(e),r=!1,o=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],a=o.length;for(t=0;t<a;t+=1)n=o[t],r=r||d(e,n);return i&&r}(e)||null==e}function Kt(e,t){if(e.date()<t.date())return-Kt(t,e);var n=12*(t.year()-e.year())+(t.month()-e.month()),i=e.clone().add(n,"months"),t=t-i<0?(t-i)/(i-e.clone().add(n-1,"months")):(t-i)/(e.clone().add(1+n,"months")-i);return-(n+t)||0}function Qt(e){return void 0===e?this._locale._abbr:(null!=(e=pt(e))&&(this._locale=e),this)}g.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",g.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";Qe=e("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});function Jt(){return this._locale}var en=126227808e5;function tn(e,t){return(e%t+t)%t}function nn(e,t,n){return e<100&&0<=e?new Date(e+400,t,n)-en:new Date(e,t,n).valueOf()}function rn(e,t,n){return e<100&&0<=e?Date.UTC(e+400,t,n)-en:Date.UTC(e,t,n)}function on(e,t){return t.erasAbbrRegex(e)}function an(){for(var e=[],t=[],n=[],i=[],r=this.eras(),o=0,a=r.length;o<a;++o)t.push(x(r[o].name)),e.push(x(r[o].abbr)),n.push(x(r[o].narrow)),i.push(x(r[o].name)),i.push(x(r[o].abbr)),i.push(x(r[o].narrow));this._erasRegex=new RegExp("^("+i.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+n.join("|")+")","i")}function ln(e,t){i(0,[e,e.length],0,t)}function sn(e,t,n,i,r){var o;return null==e?Ge(this,i,r).year:(o=A(e,i,r),function(e,t,n,i,r){e=Ze(e,t,n,i,r),t=Ue(e.year,0,e.dayOfYear);return this.year(t.getUTCFullYear()),this.month(t.getUTCMonth()),this.date(t.getUTCDate()),this}.call(this,e,t=o<t?o:t,n,i,r))}i("N",0,0,"eraAbbr"),i("NN",0,0,"eraAbbr"),i("NNN",0,0,"eraAbbr"),i("NNNN",0,0,"eraName"),i("NNNNN",0,0,"eraNarrow"),i("y",["y",1],"yo","eraYear"),i("y",["yy",2],0,"eraYear"),i("y",["yyy",3],0,"eraYear"),i("y",["yyyy",4],0,"eraYear"),w("N",on),w("NN",on),w("NNN",on),w("NNNN",function(e,t){return t.erasNameRegex(e)}),w("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),S(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,i){i=n._locale.erasParse(e,i,n._strict);i?b(n).era=i:b(n).invalidEra=e}),w("y",xe),w("yy",xe),w("yyy",xe),w("yyyy",xe),w("yo",function(e,t){return t._eraYearOrdinalRegex||xe}),S(["y","yy","yyy","yyyy"],E),S(["yo"],function(e,t,n,i){var r;n._locale._eraYearOrdinalRegex&&(r=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[E]=n._locale.eraYearOrdinalParse(e,r):t[E]=parseInt(e,10)}),i(0,["gg",2],0,function(){return this.weekYear()%100}),i(0,["GG",2],0,function(){return this.isoWeekYear()%100}),ln("gggg","weekYear"),ln("ggggg","weekYear"),ln("GGGG","isoWeekYear"),ln("GGGGG","isoWeekYear"),t("weekYear","gg"),t("isoWeekYear","GG"),n("weekYear",1),n("isoWeekYear",1),w("G",Se),w("g",Se),w("GG",f,s),w("gg",f,s),w("GGGG",_e,ge),w("gggg",_e,ge),w("GGGGG",we,me),w("ggggg",we,me),Te(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,i){t[i.substr(0,2)]=c(e)}),Te(["gg","GG"],function(e,t,n,i){t[i]=g.parseTwoDigitYear(e)}),i("Q",0,"Qo","quarter"),t("quarter","Q"),n("quarter",7),w("Q",r),S("Q",function(e,t){t[k]=3*(c(e)-1)}),i("D",["DD",2],"Do","date"),t("date","D"),n("date",9),w("D",f),w("DD",f,s),w("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),S(["D","DD"],M),S("Do",function(e,t){t[M]=c(e.match(f)[0])});_e=he("Date",!0);i("DDD",["DDDD",3],"DDDo","dayOfYear"),t("dayOfYear","DDD"),n("dayOfYear",4),w("DDD",be),w("DDDD",pe),S(["DDD","DDDD"],function(e,t,n){n._dayOfYear=c(e)}),i("m",["mm",2],0,"minute"),t("minute","m"),n("minute",14),w("m",f),w("mm",f,s),S(["m","mm"],T);var un,ge=he("Minutes",!1),we=(i("s",["ss",2],0,"second"),t("second","s"),n("second",15),w("s",f),w("ss",f,s),S(["s","ss"],R),he("Seconds",!1));for(i("S",0,0,function(){return~~(this.millisecond()/100)}),i(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),i(0,["SSS",3],0,"millisecond"),i(0,["SSSS",4],0,function(){return 10*this.millisecond()}),i(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),i(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),i(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),i(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),i(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),t("millisecond","ms"),n("millisecond",16),w("S",be,r),w("SS",be,s),w("SSS",be,pe),un="SSSS";un.length<=9;un+="S")w(un,xe);function cn(e,t){t[Re]=c(1e3*("0."+e))}for(un="S";un.length<=9;un+="S")S(un,cn);me=he("Milliseconds",!1),i("z",0,0,"zoneAbbr"),i("zz",0,0,"zoneName");r=G.prototype;function hn(e){return e}r.add=Ie,r.calendar=function(e,t){1===arguments.length&&(arguments[0]?$t(arguments[0])?(e=arguments[0],t=void 0):function(e){for(var t=H(e)&&!W(e),n=!1,i=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],r=0;r<i.length;r+=1)n=n||d(e,i[r]);return t&&n}(arguments[0])&&(t=arguments[0],e=void 0):t=e=void 0);var e=e||P(),n=Ft(e,this).startOf("day"),n=g.calendarFormat(this,n)||"sameElse",t=t&&(a(t[n])?t[n].call(this,e):t[n]);return this.format(t||this.localeData().calendar(n,this,P(e)))},r.clone=function(){return new G(this)},r.diff=function(e,t,n){var i,r,o;if(!this.isValid())return NaN;if(!(i=Ft(e,this)).isValid())return NaN;switch(r=6e4*(i.utcOffset()-this.utcOffset()),t=l(t)){case"year":o=Kt(this,i)/12;break;case"month":o=Kt(this,i);break;case"quarter":o=Kt(this,i)/3;break;case"second":o=(this-i)/1e3;break;case"minute":o=(this-i)/6e4;break;case"hour":o=(this-i)/36e5;break;case"day":o=(this-i-r)/864e5;break;case"week":o=(this-i-r)/6048e5;break;default:o=this-i}return n?o:h(o)},r.endOf=function(e){var t,n;if(void 0!==(e=l(e))&&"millisecond"!==e&&this.isValid()){switch(n=this._isUTC?rn:nn,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-tn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-tn(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-tn(t,1e3)-1}this._d.setTime(t),g.updateOffset(this,!0)}return this},r.format=function(e){return e=e||(this.isUtc()?g.defaultFormatUtc:g.defaultFormat),e=oe(this,e),this.localeData().postformat(e)},r.from=function(e,t){return this.isValid()&&(_(e)&&e.isValid()||P(e).isValid())?I({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},r.fromNow=function(e){return this.from(P(),e)},r.to=function(e,t){return this.isValid()&&(_(e)&&e.isValid()||P(e).isValid())?I({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},r.toNow=function(e){return this.to(P(),e)},r.get=function(e){return a(this[e=l(e)])?this[e]():this},r.invalidAt=function(){return b(this).overflow},r.isAfter=function(e,t){return e=_(e)?e:P(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=l(t)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(t).valueOf())},r.isBefore=function(e,t){return e=_(e)?e:P(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=l(t)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(t).valueOf()<e.valueOf())},r.isBetween=function(e,t,n,i){return e=_(e)?e:P(e),t=_(t)?t:P(t),!!(this.isValid()&&e.isValid()&&t.isValid())&&(("("===(i=i||"()")[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===i[1]?this.isBefore(t,n):!this.isAfter(t,n)))},r.isSame=function(e,t){var e=_(e)?e:P(e);return!(!this.isValid()||!e.isValid())&&("millisecond"===(t=l(t)||"millisecond")?this.valueOf()===e.valueOf():(e=e.valueOf(),this.clone().startOf(t).valueOf()<=e&&e<=this.clone().endOf(t).valueOf()))},r.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},r.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},r.isValid=function(){return V(this)},r.lang=Qe,r.locale=Qt,r.localeData=Jt,r.max=ye,r.min=ve,r.parsingFlags=function(){return z({},b(this))},r.set=function(e,t){if("object"===Pn(e))for(var n=function(e){var t,n=[];for(t in e)d(e,t)&&n.push({unit:t,priority:ue[t]});return n.sort(function(e,t){return e.priority-t.priority}),n}(e=se(e)),i=n.length,r=0;r<i;r++)this[n[r].unit](e[n[r].unit]);else if(a(this[e=l(e)]))return this[e](t);return this},r.startOf=function(e){var t,n;if(void 0!==(e=l(e))&&"millisecond"!==e&&this.isValid()){switch(n=this._isUTC?rn:nn,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=tn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=tn(t,6e4);break;case"second":t=this._d.valueOf(),t-=tn(t,1e3)}this._d.setTime(t),g.updateOffset(this,!0)}return this},r.subtract=$e,r.toArray=function(){return[this.year(),this.month(),this.date(),this.hour(),this.minute(),this.second(),this.millisecond()]},r.toObject=function(){return{years:this.year(),months:this.month(),date:this.date(),hours:this.hours(),minutes:this.minutes(),seconds:this.seconds(),milliseconds:this.milliseconds()}},r.toDate=function(){return new Date(this.valueOf())},r.toISOString=function(e){if(!this.isValid())return null;var t=(e=!0!==e)?this.clone().utc():this;return t.year()<0||9999<t.year()?oe(t,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):a(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",oe(t,"Z")):oe(t,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},r.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t="moment",n="";return this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",n="Z"),t="["+t+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(t+e+"-MM-DD[T]HH:mm:ss.SSS"+(n+'[")]'))},"undefined"!=typeof Symbol&&null!=Symbol.for&&(r[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),r.toJSON=function(){return this.isValid()?this.toISOString():null},r.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},r.unix=function(){return Math.floor(this.valueOf()/1e3)},r.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},r.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},r.eraName=function(){for(var e,t=this.localeData().eras(),n=0,i=t.length;n<i;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].name;if(t[n].until<=e&&e<=t[n].since)return t[n].name}return""},r.eraNarrow=function(){for(var e,t=this.localeData().eras(),n=0,i=t.length;n<i;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].narrow;if(t[n].until<=e&&e<=t[n].since)return t[n].narrow}return""},r.eraAbbr=function(){for(var e,t=this.localeData().eras(),n=0,i=t.length;n<i;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].abbr;if(t[n].until<=e&&e<=t[n].since)return t[n].abbr}return""},r.eraYear=function(){for(var e,t,n=this.localeData().eras(),i=0,r=n.length;i<r;++i)if(e=n[i].since<=n[i].until?1:-1,t=this.clone().startOf("day").valueOf(),n[i].since<=t&&t<=n[i].until||n[i].until<=t&&t<=n[i].since)return(this.year()-g(n[i].since).year())*e+n[i].offset;return this.year()},r.year=Be,r.isLeapYear=function(){return ce(this.year())},r.weekYear=function(e){return sn.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},r.isoWeekYear=function(e){return sn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},r.quarter=r.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},r.month=Fe,r.daysInMonth=function(){return Pe(this.year(),this.month())},r.week=r.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},r.isoWeek=r.isoWeeks=function(e){var t=Ge(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},r.weeksInYear=function(){var e=this.localeData()._week;return A(this.year(),e.dow,e.doy)},r.weeksInWeekYear=function(){var e=this.localeData()._week;return A(this.weekYear(),e.dow,e.doy)},r.isoWeeksInYear=function(){return A(this.year(),1,4)},r.isoWeeksInISOWeekYear=function(){return A(this.isoWeekYear(),1,4)},r.date=_e,r.day=r.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t,n,i=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(t=e,n=this.localeData(),e="string"!=typeof t?t:isNaN(t)?"number"==typeof(t=n.weekdaysParse(t))?t:null:parseInt(t,10),this.add(e-i,"d")):i},r.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},r.isoWeekday=function(e){return this.isValid()?null!=e?(t=e,n=this.localeData(),n="string"==typeof t?n.weekdaysParse(t)%7||7:isNaN(t)?null:t,this.day(this.day()%7?n:n-7)):this.day()||7:null!=e?this:NaN;var t,n},r.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},r.hour=r.hours=p,r.minute=r.minutes=ge,r.second=r.seconds=we,r.millisecond=r.milliseconds=me,r.utcOffset=function(e,t,n){var i,r=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null==e)return this._isUTC?r:zt(this);if("string"==typeof e){if(null===(e=jt(Ee,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(i=zt(this)),this._offset=e,this._isUTC=!0,null!=i&&this.add(i,"m"),r!==e&&(!t||this._changeInProgress?Gt(this,I(e-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,g.updateOffset(this,!0),this._changeInProgress=null)),this},r.utc=function(e){return this.utcOffset(0,e)},r.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(zt(this),"m")),this},r.parseZone=function(){var e;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(e=jt(Ce,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},r.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?P(e).utcOffset():0,(this.utcOffset()-e)%60==0)},r.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},r.isLocal=function(){return!!this.isValid()&&!this._isUTC},r.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},r.isUtc=Vt,r.isUTC=Vt,r.zoneAbbr=function(){return this._isUTC?"UTC":""},r.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},r.dates=e("dates accessor is deprecated. Use date instead.",_e),r.months=e("months accessor is deprecated. Use month instead",Fe),r.years=e("years accessor is deprecated. Use year instead",Be),r.zone=e("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?(this.utcOffset(e="string"!=typeof e?-e:e,t),this):-this.utcOffset()}),r.isDSTShifted=e("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){var e,t;return v(this._isDSTShifted)&&(Z(e={},this),(e=Rt(e))._a?(t=(e._isUTC?u:P)(e._a),this._isDSTShifted=this.isValid()&&0<function(e,t,n){for(var i=Math.min(e.length,t.length),r=Math.abs(e.length-t.length),o=0,a=0;a<i;a++)(n&&e[a]!==t[a]||!n&&c(e[a])!==c(t[a]))&&o++;return o+r}(e._a,t.toArray())):this._isDSTShifted=!1),this._isDSTShifted});s=J.prototype;function dn(e,t,n,i){var r=pt(),i=u().set(i,t);return r[n](i,e)}function fn(e,t,n){if(y(e)&&(t=e,e=void 0),e=e||"",null!=t)return dn(e,t,n,"month");for(var i=[],r=0;r<12;r++)i[r]=dn(e,r,n,"month");return i}function pn(e,t,n,i){t=("boolean"==typeof e?y(t)&&(n=t,t=void 0):(t=e,e=!1,y(n=t)&&(n=t,t=void 0)),t||"");var r,o=pt(),a=e?o._week.dow:0,l=[];if(null!=n)return dn(t,(n+a)%7,i,"day");for(r=0;r<7;r++)l[r]=dn(t,(r+a)%7,i,"day");return l}s.calendar=function(e,t,n){return a(e=this._calendar[e]||this._calendar.sameElse)?e.call(t,n):e},s.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(te).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])},s.invalidDate=function(){return this._invalidDate},s.ordinal=function(e){return this._ordinal.replace("%d",e)},s.preparse=hn,s.postformat=hn,s.relativeTime=function(e,t,n,i){var r=this._relativeTime[n];return a(r)?r(e,t,n,i):r.replace(/%d/i,e)},s.pastFuture=function(e,t){return a(e=this._relativeTime[0<e?"future":"past"])?e(t):e.replace(/%s/i,t)},s.set=function(e){var t,n;for(n in e)d(e,n)&&(a(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},s.eras=function(e,t){for(var n,i=this._eras||pt("en")._eras,r=0,o=i.length;r<o;++r)switch("string"===Pn(i[r].since)&&(n=g(i[r].since).startOf("day"),i[r].since=n.valueOf()),Pn(i[r].until)){case"undefined":i[r].until=1/0;break;case"string":n=g(i[r].until).startOf("day").valueOf(),i[r].until=n.valueOf()}return i},s.erasParse=function(e,t,n){var i,r,o,a,l,s=this.eras();for(e=e.toUpperCase(),i=0,r=s.length;i<r;++i)if(o=s[i].name.toUpperCase(),a=s[i].abbr.toUpperCase(),l=s[i].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(a===e)return s[i];break;case"NNNN":if(o===e)return s[i];break;case"NNNNN":if(l===e)return s[i]}else if(0<=[o,a,l].indexOf(e))return s[i]},s.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?g(e.since).year():g(e.since).year()+(t-e.offset)*n},s.erasAbbrRegex=function(e){return d(this,"_erasAbbrRegex")||an.call(this),e?this._erasAbbrRegex:this._erasRegex},s.erasNameRegex=function(e){return d(this,"_erasNameRegex")||an.call(this),e?this._erasNameRegex:this._erasRegex},s.erasNarrowRegex=function(e){return d(this,"_erasNarrowRegex")||an.call(this),e?this._erasNarrowRegex:this._erasRegex},s.months=function(e,t){return e?(m(this._months)?this._months:this._months[(this._months.isFormat||Le).test(t)?"format":"standalone"])[e.month()]:m(this._months)?this._months:this._months.standalone},s.monthsShort=function(e,t){return e?(m(this._monthsShort)?this._monthsShort:this._monthsShort[Le.test(t)?"format":"standalone"])[e.month()]:m(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},s.monthsParse=function(e,t,n){var i,r;if(this._monthsParseExact)return function(e,t,n){var i,r,o,e=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],i=0;i<12;++i)o=u([2e3,i]),this._shortMonthsParse[i]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(r=C.call(this._shortMonthsParse,e))?r:null:-1!==(r=C.call(this._longMonthsParse,e))?r:null:"MMM"===t?-1!==(r=C.call(this._shortMonthsParse,e))||-1!==(r=C.call(this._longMonthsParse,e))?r:null:-1!==(r=C.call(this._longMonthsParse,e))||-1!==(r=C.call(this._shortMonthsParse,e))?r:null}.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(r=u([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),n||this._monthsParse[i]||(r="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[i]=new RegExp(r.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[i].test(e))return i;if(n&&"MMM"===t&&this._shortMonthsParse[i].test(e))return i;if(!n&&this._monthsParse[i].test(e))return i}},s.monthsRegex=function(e){return this._monthsParseExact?(d(this,"_monthsRegex")||ze.call(this),e?this._monthsStrictRegex:this._monthsRegex):(d(this,"_monthsRegex")||(this._monthsRegex=We),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},s.monthsShortRegex=function(e){return this._monthsParseExact?(d(this,"_monthsRegex")||ze.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(d(this,"_monthsShortRegex")||(this._monthsShortRegex=He),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},s.week=function(e){return Ge(e,this._week.dow,this._week.doy).week},s.firstDayOfYear=function(){return this._week.doy},s.firstDayOfWeek=function(){return this._week.dow},s.weekdays=function(e,t){return t=m(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"],!0===e?Xe(t,this._week.dow):e?t[e.day()]:t},s.weekdaysMin=function(e){return!0===e?Xe(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},s.weekdaysShort=function(e){return!0===e?Xe(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},s.weekdaysParse=function(e,t,n){var i,r;if(this._weekdaysParseExact)return function(e,t,n){var i,r,o,e=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)o=u([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(r=C.call(this._weekdaysParse,e))?r:null:"ddd"===t?-1!==(r=C.call(this._shortWeekdaysParse,e))?r:null:-1!==(r=C.call(this._minWeekdaysParse,e))?r:null:"dddd"===t?-1!==(r=C.call(this._weekdaysParse,e))||-1!==(r=C.call(this._shortWeekdaysParse,e))||-1!==(r=C.call(this._minWeekdaysParse,e))?r:null:"ddd"===t?-1!==(r=C.call(this._shortWeekdaysParse,e))||-1!==(r=C.call(this._weekdaysParse,e))||-1!==(r=C.call(this._minWeekdaysParse,e))?r:null:-1!==(r=C.call(this._minWeekdaysParse,e))||-1!==(r=C.call(this._weekdaysParse,e))||-1!==(r=C.call(this._shortWeekdaysParse,e))?r:null}.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(r=u([2e3,1]).day(i),n&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[i]||(r="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[i]=new RegExp(r.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[i].test(e))return i;if(n&&"ddd"===t&&this._shortWeekdaysParse[i].test(e))return i;if(n&&"dd"===t&&this._minWeekdaysParse[i].test(e))return i;if(!n&&this._weekdaysParse[i].test(e))return i}},s.weekdaysRegex=function(e){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||nt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(d(this,"_weekdaysRegex")||(this._weekdaysRegex=Je),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},s.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||nt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(d(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=et),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},s.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||nt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(d(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=tt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},s.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},s.meridiem=function(e,t,n){return 11<e?n?"pm":"PM":n?"am":"AM"},dt("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===c(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")}}),g.lang=e("moment.lang is deprecated. Use moment.locale instead.",dt),g.langData=e("moment.langData is deprecated. Use moment.localeData instead.",pt);var gn=Math.abs;function mn(e,t,n,i){t=I(t,n);return e._milliseconds+=i*t._milliseconds,e._days+=i*t._days,e._months+=i*t._months,e._bubble()}function vn(e){return e<0?Math.floor(e):Math.ceil(e)}function yn(e){return 4800*e/146097}function bn(e){return 146097*e/4800}function _n(e){return function(){return this.as(e)}}be=_n("ms"),pe=_n("s"),Ie=_n("m"),ye=_n("h"),ve=_n("d"),$e=_n("w"),p=_n("M"),ge=_n("Q"),we=_n("y");function wn(e){return function(){return this.isValid()?this._data[e]:NaN}}var me=wn("milliseconds"),_e=wn("seconds"),Be=wn("minutes"),s=wn("hours"),xn=wn("days"),Sn=wn("months"),Cn=wn("years");var En=Math.round,kn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Mn(e,t,n,i){var r=I(e).abs(),o=En(r.as("s")),a=En(r.as("m")),l=En(r.as("h")),s=En(r.as("d")),u=En(r.as("M")),c=En(r.as("w")),r=En(r.as("y")),o=(o<=n.ss?["s",o]:o<n.s&&["ss",o])||a<=1&&["m"]||a<n.m&&["mm",a]||l<=1&&["h"]||l<n.h&&["hh",l]||s<=1&&["d"]||s<n.d&&["dd",s];return(o=(o=null!=n.w?o||c<=1&&["w"]||c<n.w&&["ww",c]:o)||u<=1&&["M"]||u<n.M&&["MM",u]||r<=1&&["y"]||["yy",r])[2]=t,o[3]=0<+e,o[4]=i,function(e,t,n,i,r){return r.relativeTime(t||1,!!n,e,i)}.apply(null,o)}var Dn=Math.abs;function Tn(e){return(0<e)-(e<0)||+e}function Rn(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,i,r,o,a,l=Dn(this._milliseconds)/1e3,s=Dn(this._days),u=Dn(this._months),c=this.asSeconds();return c?(e=h(l/60),t=h(e/60),l%=60,e%=60,n=h(u/12),u%=12,i=l?l.toFixed(3).replace(/\.?0+$/,""):"",r=Tn(this._months)!==Tn(c)?"-":"",o=Tn(this._days)!==Tn(c)?"-":"",a=Tn(this._milliseconds)!==Tn(c)?"-":"",(c<0?"-":"")+"P"+(n?r+n+"Y":"")+(u?r+u+"M":"")+(s?o+s+"D":"")+(t||e||l?"T":"")+(t?a+t+"H":"")+(e?a+e+"M":"")+(l?a+i+"S":"")):"P0D"}var N=It.prototype;return N.isValid=function(){return this._isValid},N.abs=function(){var e=this._data;return this._milliseconds=gn(this._milliseconds),this._days=gn(this._days),this._months=gn(this._months),e.milliseconds=gn(e.milliseconds),e.seconds=gn(e.seconds),e.minutes=gn(e.minutes),e.hours=gn(e.hours),e.months=gn(e.months),e.years=gn(e.years),this},N.add=function(e,t){return mn(this,e,t,1)},N.subtract=function(e,t){return mn(this,e,t,-1)},N.as=function(e){if(!this.isValid())return NaN;var t,n,i=this._milliseconds;if("month"===(e=l(e))||"quarter"===e||"year"===e)switch(t=this._days+i/864e5,n=this._months+yn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(bn(this._months)),e){case"week":return t/7+i/6048e5;case"day":return t+i/864e5;case"hour":return 24*t+i/36e5;case"minute":return 1440*t+i/6e4;case"second":return 86400*t+i/1e3;case"millisecond":return Math.floor(864e5*t)+i;default:throw new Error("Unknown unit "+e)}},N.asMilliseconds=be,N.asSeconds=pe,N.asMinutes=Ie,N.asHours=ye,N.asDays=ve,N.asWeeks=$e,N.asMonths=p,N.asQuarters=ge,N.asYears=we,N.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*c(this._months/12):NaN},N._bubble=function(){var e=this._milliseconds,t=this._days,n=this._months,i=this._data;return 0<=e&&0<=t&&0<=n||e<=0&&t<=0&&n<=0||(e+=864e5*vn(bn(n)+t),n=t=0),i.milliseconds=e%1e3,e=h(e/1e3),i.seconds=e%60,e=h(e/60),i.minutes=e%60,e=h(e/60),i.hours=e%24,t+=h(e/24),n+=e=h(yn(t)),t-=vn(bn(e)),e=h(n/12),n%=12,i.days=t,i.months=n,i.years=e,this},N.clone=function(){return I(this)},N.get=function(e){return e=l(e),this.isValid()?this[e+"s"]():NaN},N.milliseconds=me,N.seconds=_e,N.minutes=Be,N.hours=s,N.days=xn,N.weeks=function(){return h(this.days()/7)},N.months=Sn,N.years=Cn,N.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n=!1,i=kn;return"object"===Pn(e)&&(t=e,e=!1),"boolean"==typeof e&&(n=e),"object"===Pn(t)&&(i=Object.assign({},kn,t),null!=t.s&&null==t.ss&&(i.ss=t.s-1)),e=this.localeData(),t=Mn(this,!n,i,e),n&&(t=e.pastFuture(+this,t)),e.postformat(t)},N.toISOString=Rn,N.toString=Rn,N.toJSON=Rn,N.locale=Qt,N.localeData=Jt,N.toIsoString=e("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Rn),N.lang=Qe,i("X",0,0,"unix"),i("x",0,0,"valueOf"),w("x",Se),w("X",/[+-]?\d+(\.\d{1,3})?/),S("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e))}),S("x",function(e,t,n){n._d=new Date(c(e))}),g.version="2.29.4",L=P,g.fn=r,g.min=function(){return Ot("isBefore",[].slice.call(arguments,0))},g.max=function(){return Ot("isAfter",[].slice.call(arguments,0))},g.now=function(){return Date.now?Date.now():+new Date},g.utc=u,g.unix=function(e){return P(1e3*e)},g.months=function(e,t){return fn(e,t,"months")},g.isDate=j,g.locale=dt,g.invalid=B,g.duration=I,g.isMoment=_,g.weekdays=function(e,t,n){return pn(e,t,n,"weekdays")},g.parseZone=function(){return P.apply(null,arguments).parseZone()},g.localeData=pt,g.isDuration=Nt,g.monthsShort=function(e,t){return fn(e,t,"monthsShort")},g.weekdaysMin=function(e,t,n){return pn(e,t,n,"weekdaysMin")},g.defineLocale=ft,g.updateLocale=function(e,t){var n,i;return null!=t?(i=lt,null!=O[e]&&null!=O[e].parentLocale?O[e].set(Q(O[e]._config,t)):(t=Q(i=null!=(n=ht(e))?n._config:i,t),null==n&&(t.abbr=e),(i=new J(t)).parentLocale=O[e],O[e]=i),dt(e)):null!=O[e]&&(null!=O[e].parentLocale?(O[e]=O[e].parentLocale,e===dt()&&dt(e)):null!=O[e]&&delete O[e]),O[e]},g.locales=function(){return ee(O)},g.weekdaysShort=function(e,t,n){return pn(e,t,n,"weekdaysShort")},g.normalizeUnits=l,g.relativeTimeRounding=function(e){return void 0===e?En:"function"==typeof e&&(En=e,!0)},g.relativeTimeThreshold=function(e,t){return void 0!==kn[e]&&(void 0===t?kn[e]:(kn[e]=t,"s"===e&&(kn.ss=t-1),!0))},g.calendarFormat=function(e,t){return(e=e.diff(t,"days",!0))<-6?"sameElse":e<-1?"lastWeek":e<0?"lastDay":e<1?"sameDay":e<2?"nextDay":e<7?"nextWeek":"sameElse"},g.prototype=r,g.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},g},"object"===(void 0===e?"undefined":Pn(e))&&void 0!==On?On.exports=t():"function"==typeof define&&define.amd?define(t):(void 0).moment=t()},{}],25:[function(e,t,n){"use strict";function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var r,o;r=window,o=function(e,t){var n=document.documentElement.style,i="string"==typeof n.transition?"transition":"WebkitTransition",n="string"==typeof n.transform?"transform":"WebkitTransform",r={WebkitTransition:"webkitTransitionEnd",transition:"transitionend"}[i],o={transform:n,transition:i,transitionDuration:i+"Duration",transitionProperty:i+"Property",transitionDelay:i+"Delay"};function a(e,t){e&&(this.element=e,this.layout=t,this.position={x:0,y:0},this._create())}e=a.prototype=Object.create(e.prototype);e.constructor=a,e._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},e.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},e.getSize=function(){this.size=t(this.element)},e.css=function(e){var t,n=this.element.style;for(t in e)n[o[t]||t]=e[t]},e.getPosition=function(){var e=getComputedStyle(this.element),t=this.layout._getOption("originLeft"),n=this.layout._getOption("originTop"),i=e[t?"left":"right"],e=e[n?"top":"bottom"],r=parseFloat(i),o=parseFloat(e),a=this.layout.size;-1!=i.indexOf("%")&&(r=r/100*a.width),-1!=e.indexOf("%")&&(o=o/100*a.height),r=isNaN(r)?0:r,o=isNaN(o)?0:o,r-=t?a.paddingLeft:a.paddingRight,o-=n?a.paddingTop:a.paddingBottom,this.position.x=r,this.position.y=o},e.layoutPosition=function(){var e=this.layout.size,t={},n=this.layout._getOption("originLeft"),i=this.layout._getOption("originTop"),r=n?"right":"left",o=this.position.x+e[n?"paddingLeft":"paddingRight"],n=(t[n?"left":"right"]=this.getXValue(o),t[r]="",i?"paddingTop":"paddingBottom"),o=i?"bottom":"top",r=this.position.y+e[n];t[i?"top":"bottom"]=this.getYValue(r),t[o]="",this.css(t),this.emitEvent("layout",[this])},e.getXValue=function(e){var t=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&!t?e/this.layout.size.width*100+"%":e+"px"},e.getYValue=function(e){var t=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&t?e/this.layout.size.height*100+"%":e+"px"},e._transitionTo=function(e,t){this.getPosition();var n=this.position.x,i=this.position.y,r=e==this.position.x&&t==this.position.y;this.setPosition(e,t),r&&!this.isTransitioning?this.layoutPosition():((r={}).transform=this.getTranslate(e-n,t-i),this.transition({to:r,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0}))},e.getTranslate=function(e,t){return"translate3d("+(e=this.layout._getOption("originLeft")?e:-e)+"px, "+(t=this.layout._getOption("originTop")?t:-t)+"px, 0)"},e.goTo=function(e,t){this.setPosition(e,t),this.layoutPosition()},e.moveTo=e._transitionTo,e.setPosition=function(e,t){this.position.x=parseFloat(e),this.position.y=parseFloat(t)},e._nonTransition=function(e){for(var t in this.css(e.to),e.isCleaning&&this._removeStyles(e.to),e.onTransitionEnd)e.onTransitionEnd[t].call(this)},e.transition=function(e){if(parseFloat(this.layout.options.transitionDuration)){var t,n=this._transn;for(t in e.onTransitionEnd)n.onEnd[t]=e.onTransitionEnd[t];for(t in e.to)n.ingProperties[t]=!0,e.isCleaning&&(n.clean[t]=!0);e.from&&(this.css(e.from),this.element.offsetHeight,0),this.enableTransition(e.to),this.css(e.to),this.isTransitioning=!0}else this._nonTransition(e)};var l="opacity,"+n.replace(/([A-Z])/g,function(e){return"-"+e.toLowerCase()}),s=(e.enableTransition=function(){var e;this.isTransitioning||(e="number"==typeof(e=this.layout.options.transitionDuration)?e+"ms":e,this.css({transitionProperty:l,transitionDuration:e,transitionDelay:this.staggerDelay||0}),this.element.addEventListener(r,this,!1))},e.onwebkitTransitionEnd=function(e){this.ontransitionend(e)},e.onotransitionend=function(e){this.ontransitionend(e)},{"-webkit-transform":"transform"}),u=(e.ontransitionend=function(e){var t,n;e.target===this.element&&(t=this._transn,n=s[e.propertyName]||e.propertyName,delete t.ingProperties[n],function(e){for(var t in e)return;return 1}(t.ingProperties)&&this.disableTransition(),n in t.clean&&(this.element.style[e.propertyName]="",delete t.clean[n]),n in t.onEnd&&(t.onEnd[n].call(this),delete t.onEnd[n]),this.emitEvent("transitionEnd",[this]))},e.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(r,this,!1),this.isTransitioning=!1},e._removeStyles=function(e){var t,n={};for(t in e)n[t]="";this.css(n)},{transitionProperty:"",transitionDuration:"",transitionDelay:""});return e.removeTransitionStyles=function(){this.css(u)},e.stagger=function(e){e=isNaN(e)?0:e,this.staggerDelay=e+"ms"},e.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},e.remove=function(){i&&parseFloat(this.layout.options.transitionDuration)?(this.once("transitionEnd",function(){this.removeElem()}),this.hide()):this.removeElem()},e.reveal=function(){delete this.isHidden,this.css({display:""});var e=this.layout.options,t={};t[this.getHideRevealTransitionEndProperty("visibleStyle")]=this.onRevealTransitionEnd,this.transition({from:e.hiddenStyle,to:e.visibleStyle,isCleaning:!0,onTransitionEnd:t})},e.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},e.getHideRevealTransitionEndProperty=function(e){var t,e=this.layout.options[e];if(e.opacity)return"opacity";for(t in e)return t},e.hide=function(){this.isHidden=!0,this.css({display:""});var e=this.layout.options,t={};t[this.getHideRevealTransitionEndProperty("hiddenStyle")]=this.onHideTransitionEnd,this.transition({from:e.visibleStyle,to:e.hiddenStyle,isCleaning:!0,onTransitionEnd:t})},e.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"))},e.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},a},"function"==typeof define&&define.amd?define(["ev-emitter/ev-emitter","get-size/get-size"],o):"object"==(void 0===t?"undefined":i(t))&&t.exports?t.exports=o(e("ev-emitter"),e("get-size")):(r.Outlayer={},r.Outlayer.Item=o(r.EvEmitter,r.getSize))},{"ev-emitter":16,"get-size":18}],26:[function(e,t,n){"use strict";function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var r,o;r=window,o=function(e,t,r,i,o){function n(){}var a=e.console,l=e.jQuery,s=0,u={};function c(e,t){var n=i.getQueryElement(e);n?(this.element=n,l&&(this.$element=l(this.element)),this.options=i.extend({},this.constructor.defaults),this.option(t),t=++s,this.element.outlayerGUID=t,(u[t]=this)._create(),this._getOption("initLayout")&&this.layout()):a&&a.error("Bad element for "+this.constructor.namespace+": "+(n||e))}c.namespace="outlayer",c.Item=o,c.defaults={containerStyle:{position:"relative"},initLayout:!0,originLeft:!0,originTop:!0,resize:!0,resizeContainer:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}};var h=c.prototype;function d(e){function t(){e.apply(this,arguments)}return(t.prototype=Object.create(e.prototype)).constructor=t}i.extend(h,t.prototype),h.option=function(e){i.extend(this.options,e)},h._getOption=function(e){var t=this.constructor.compatOptions[e];return t&&void 0!==this.options[t]?this.options[t]:this.options[e]},c.compatOptions={initLayout:"isInitLayout",horizontal:"isHorizontal",layoutInstant:"isLayoutInstant",originLeft:"isOriginLeft",originTop:"isOriginTop",resize:"isResizeBound",resizeContainer:"isResizingContainer"},h._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),i.extend(this.element.style,this.options.containerStyle),this._getOption("resize")&&this.bindResize()},h.reloadItems=function(){this.items=this._itemize(this.element.children)},h._itemize=function(e){for(var t=this._filterFindItemElements(e),n=this.constructor.Item,i=[],r=0;r<t.length;r++){var o=new n(t[r],this);i.push(o)}return i},h._filterFindItemElements=function(e){return i.filterFindElements(e,this.options.itemSelector)},h.getItemElements=function(){return this.items.map(function(e){return e.element})},h.layout=function(){this._resetLayout(),this._manageStamps();var e=this._getOption("layoutInstant"),e=void 0!==e?e:!this._isLayoutInited;this.layoutItems(this.items,e),this._isLayoutInited=!0},h._init=h.layout,h._resetLayout=function(){this.getSize()},h.getSize=function(){this.size=r(this.element)},h._getMeasurement=function(e,t){var n,i=this.options[e];i?("string"==typeof i?n=this.element.querySelector(i):i instanceof HTMLElement&&(n=i),this[e]=n?r(n)[t]:i):this[e]=0},h.layoutItems=function(e,t){e=this._getItemsForLayout(e),this._layoutItems(e,t),this._postLayout()},h._getItemsForLayout=function(e){return e.filter(function(e){return!e.isIgnored})},h._layoutItems=function(e,n){var i;this._emitCompleteOnItems("layout",e),e&&e.length&&(i=[],e.forEach(function(e){var t=this._getItemLayoutPosition(e);t.item=e,t.isInstant=n||e.isLayoutInstant,i.push(t)},this),this._processLayoutQueue(i))},h._getItemLayoutPosition=function(){return{x:0,y:0}},h._processLayoutQueue=function(e){this.updateStagger(),e.forEach(function(e,t){this._positionItem(e.item,e.x,e.y,e.isInstant,t)},this)},h.updateStagger=function(){var e=this.options.stagger;if(null!=e)return this.stagger=function(e){if("number"==typeof e)return e;var e=e.match(/(^\d*\.?\d*)(\w*)/),t=e&&e[1],e=e&&e[2];if(!t.length)return 0;t=parseFloat(t);e=f[e]||1;return t*e}(e),this.stagger;this.stagger=0},h._positionItem=function(e,t,n,i,r){i?e.goTo(t,n):(e.stagger(r*this.stagger),e.moveTo(t,n))},h._postLayout=function(){this.resizeContainer()},h.resizeContainer=function(){var e;!this._getOption("resizeContainer")||(e=this._getContainerSize())&&(this._setContainerMeasure(e.width,!0),this._setContainerMeasure(e.height,!1))},h._getContainerSize=n,h._setContainerMeasure=function(e,t){var n;void 0!==e&&((n=this.size).isBorderBox&&(e+=t?n.paddingLeft+n.paddingRight+n.borderLeftWidth+n.borderRightWidth:n.paddingBottom+n.paddingTop+n.borderTopWidth+n.borderBottomWidth),e=Math.max(e,0),this.element.style[t?"width":"height"]=e+"px")},h._emitCompleteOnItems=function(t,e){var n=this;function i(){n.dispatchEvent(t+"Complete",null,[e])}var r,o=e.length;function a(){++r==o&&i()}e&&o?(r=0,e.forEach(function(e){e.once(t,a)})):i()},h.dispatchEvent=function(e,t,n){var i=t?[t].concat(n):n;this.emitEvent(e,i),l&&(this.$element=this.$element||l(this.element),t?((i=l.Event(t)).type=e,this.$element.trigger(i,n)):this.$element.trigger(e,n))},h.ignore=function(e){e=this.getItem(e);e&&(e.isIgnored=!0)},h.unignore=function(e){e=this.getItem(e);e&&delete e.isIgnored},h.stamp=function(e){(e=this._find(e))&&(this.stamps=this.stamps.concat(e),e.forEach(this.ignore,this))},h.unstamp=function(e){(e=this._find(e))&&e.forEach(function(e){i.removeFrom(this.stamps,e),this.unignore(e)},this)},h._find=function(e){if(e)return"string"==typeof e&&(e=this.element.querySelectorAll(e)),e=i.makeArray(e)},h._manageStamps=function(){this.stamps&&this.stamps.length&&(this._getBoundingRect(),this.stamps.forEach(this._manageStamp,this))},h._getBoundingRect=function(){var e=this.element.getBoundingClientRect(),t=this.size;this._boundingRect={left:e.left+t.paddingLeft+t.borderLeftWidth,top:e.top+t.paddingTop+t.borderTopWidth,right:e.right-(t.paddingRight+t.borderRightWidth),bottom:e.bottom-(t.paddingBottom+t.borderBottomWidth)}},h._manageStamp=n,h._getElementOffset=function(e){var t=e.getBoundingClientRect(),n=this._boundingRect,e=r(e);return{left:t.left-n.left-e.marginLeft,top:t.top-n.top-e.marginTop,right:n.right-t.right-e.marginRight,bottom:n.bottom-t.bottom-e.marginBottom}},h.handleEvent=i.handleEvent,h.bindResize=function(){e.addEventListener("resize",this),this.isResizeBound=!0},h.unbindResize=function(){e.removeEventListener("resize",this),this.isResizeBound=!1},h.onresize=function(){this.resize()},i.debounceMethod(c,"onresize",100),h.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},h.needsResizeLayout=function(){var e=r(this.element);return this.size&&e&&e.innerWidth!==this.size.innerWidth},h.addItems=function(e){e=this._itemize(e);return e.length&&(this.items=this.items.concat(e)),e},h.appended=function(e){e=this.addItems(e);e.length&&(this.layoutItems(e,!0),this.reveal(e))},h.prepended=function(e){var t,e=this._itemize(e);e.length&&(t=this.items.slice(0),this.items=e.concat(t),this._resetLayout(),this._manageStamps(),this.layoutItems(e,!0),this.reveal(e),this.layoutItems(t))},h.reveal=function(e){var n;this._emitCompleteOnItems("reveal",e),e&&e.length&&(n=this.updateStagger(),e.forEach(function(e,t){e.stagger(t*n),e.reveal()}))},h.hide=function(e){var n;this._emitCompleteOnItems("hide",e),e&&e.length&&(n=this.updateStagger(),e.forEach(function(e,t){e.stagger(t*n),e.hide()}))},h.revealItemElements=function(e){e=this.getItems(e);this.reveal(e)},h.hideItemElements=function(e){e=this.getItems(e);this.hide(e)},h.getItem=function(e){for(var t=0;t<this.items.length;t++){var n=this.items[t];if(n.element==e)return n}},h.getItems=function(e){e=i.makeArray(e);var t=[];return e.forEach(function(e){e=this.getItem(e);e&&t.push(e)},this),t},h.remove=function(e){e=this.getItems(e);this._emitCompleteOnItems("remove",e),e&&e.length&&e.forEach(function(e){e.remove(),i.removeFrom(this.items,e)},this)},h.destroy=function(){var e=this.element.style,e=(e.height="",e.position="",e.width="",this.items.forEach(function(e){e.destroy()}),this.unbindResize(),this.element.outlayerGUID);delete u[e],delete this.element.outlayerGUID,l&&l.removeData(this.element,this.constructor.namespace)},c.data=function(e){e=(e=i.getQueryElement(e))&&e.outlayerGUID;return e&&u[e]},c.create=function(e,t){var n=d(c);return n.defaults=i.extend({},c.defaults),i.extend(n.defaults,t),n.compatOptions=i.extend({},c.compatOptions),n.namespace=e,n.data=c.data,n.Item=d(o),i.htmlInit(n,e),l&&l.bridget&&l.bridget(e,n),n};var f={ms:1,s:1e3};return c.Item=o,c},"function"==typeof define&&define.amd?define(["ev-emitter/ev-emitter","get-size/get-size","fizzy-ui-utils/utils","./item"],function(e,t,n,i){return o(r,e,t,n,i)}):"object"==(void 0===t?"undefined":i(t))&&t.exports?t.exports=o(r,e("ev-emitter"),e("get-size"),e("fizzy-ui-utils"),e("./item")):r.Outlayer=o(r,r.EvEmitter,r.getSize,r.fizzyUIUtils,r.Outlayer.Item)},{"./item":25,"ev-emitter":16,"fizzy-ui-utils":17,"get-size":18}],27:[function(e,t,n){"use strict";function f(e){return getComputedStyle(e)}function s(e,t){for(var n in t){var i=t[n];"number"==typeof i&&(i+="px"),e.style[n]=i}}function u(e){var t=document.createElement("div");return t.className=e,t}var i="undefined"!=typeof Element&&(Element.prototype.matches||Element.prototype.webkitMatchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector);function l(e,t){if(i)return i.call(e,t);throw new Error("No element matching method supported")}function a(e){e.remove?e.remove():e.parentNode&&e.parentNode.removeChild(e)}function c(e,t){return Array.prototype.filter.call(e.children,function(e){return l(e,t)})}var y={main:"ps",rtl:"ps__rtl",element:{thumb:function(e){return"ps__thumb-"+e},rail:function(e){return"ps__rail-"+e},consuming:"ps__child--consume"},state:{focus:"ps--focus",clicking:"ps--clicking",active:function(e){return"ps--active-"+e},scrolling:function(e){return"ps--scrolling-"+e}}},r={x:null,y:null};function b(e,t){var e=e.element.classList,n=y.state.scrolling(t);e.contains(n)?clearTimeout(r[t]):e.add(n)}function _(e,t){r[t]=setTimeout(function(){return e.isAlive&&e.element.classList.remove(y.state.scrolling(t))},e.settings.scrollingThreshold)}function o(e){this.element=e,this.handlers={}}function h(){this.eventElements=[]}var d={isEmpty:{configurable:!0}};o.prototype.bind=function(e,t){void 0===this.handlers[e]&&(this.handlers[e]=[]),this.handlers[e].push(t),this.element.addEventListener(e,t,!1)},o.prototype.unbind=function(t,n){var i=this;this.handlers[t]=this.handlers[t].filter(function(e){return!(!n||e===n)||(i.element.removeEventListener(t,e,!1),!1)})},o.prototype.unbindAll=function(){for(var e in this.handlers)this.unbind(e)},d.isEmpty.get=function(){var t=this;return Object.keys(this.handlers).every(function(e){return 0===t.handlers[e].length})},Object.defineProperties(o.prototype,d);function p(e){var t;return"function"==typeof window.CustomEvent?new CustomEvent(e):((t=document.createEvent("CustomEvent")).initCustomEvent(e,!1,!1,void 0),t)}function g(e,t,n,i,r){var o;if(void 0===i&&(i=!0),void 0===r&&(r=!1),"top"===t)o=["contentHeight","containerHeight","scrollTop","y","up","down"];else{if("left"!==t)throw new Error("A proper axis should be provided");o=["contentWidth","containerWidth","scrollLeft","x","left","right"]}var t=e,e=n,n=i,i=r,a=(r=o)[0],l=r[1],s=r[2],u=r[3],c=r[4],r=r[5],h=(void 0===n&&(n=!0),void 0===i&&(i=!1),t.element);t.reach[u]=null,h[s]<1&&(t.reach[u]="start"),h[s]>t[a]-t[l]-1&&(t.reach[u]="end"),e&&(h.dispatchEvent(p("ps-scroll-"+u)),e<0?h.dispatchEvent(p("ps-scroll-"+c)):0<e&&h.dispatchEvent(p("ps-scroll-"+r)),n&&(b(s=t,a=u),_(s,a)));t.reach[u]&&(e||i)&&h.dispatchEvent(p("ps-"+u+"-reach-"+t.reach[u]))}function m(e){return parseInt(e,10)||0}h.prototype.eventElement=function(t){var e=this.eventElements.filter(function(e){return e.element===t})[0];return e||(e=new o(t),this.eventElements.push(e)),e},h.prototype.bind=function(e,t,n){this.eventElement(e).bind(t,n)},h.prototype.unbind=function(e,t,n){e=this.eventElement(e);e.unbind(t,n),e.isEmpty&&this.eventElements.splice(this.eventElements.indexOf(e),1)},h.prototype.unbindAll=function(){this.eventElements.forEach(function(e){return e.unbindAll()}),this.eventElements=[]},h.prototype.once=function(e,n,i){var r=this.eventElement(e);r.bind(n,function e(t){r.unbind(n,e),i(t)})};var v={isWebKit:"undefined"!=typeof document&&"WebkitAppearance"in document.documentElement.style,supportsTouch:"undefined"!=typeof window&&("ontouchstart"in window||"maxTouchPoints"in window.navigator&&0<window.navigator.maxTouchPoints||window.DocumentTouch&&document instanceof window.DocumentTouch),supportsIePointer:"undefined"!=typeof navigator&&navigator.msMaxTouchPoints,isChrome:"undefined"!=typeof navigator&&/Chrome/i.test(navigator&&navigator.userAgent)};function w(e){var t=e.element,n=Math.floor(t.scrollTop),i=t.getBoundingClientRect(),i=(e.containerWidth=Math.round(i.width),e.containerHeight=Math.round(i.height),e.contentWidth=t.scrollWidth,e.contentHeight=t.scrollHeight,t.contains(e.scrollbarXRail)||(c(t,y.element.rail("x")).forEach(a),t.appendChild(e.scrollbarXRail)),t.contains(e.scrollbarYRail)||(c(t,y.element.rail("y")).forEach(a),t.appendChild(e.scrollbarYRail)),!e.settings.suppressScrollX&&e.containerWidth+e.settings.scrollXMarginOffset<e.contentWidth?(e.scrollbarXActive=!0,e.railXWidth=e.containerWidth-e.railXMarginWidth,e.railXRatio=e.containerWidth/e.railXWidth,e.scrollbarXWidth=x(e,m(e.railXWidth*e.containerWidth/e.contentWidth)),e.scrollbarXLeft=m((e.negativeScrollAdjustment+t.scrollLeft)*(e.railXWidth-e.scrollbarXWidth)/(e.contentWidth-e.containerWidth))):e.scrollbarXActive=!1,!e.settings.suppressScrollY&&e.containerHeight+e.settings.scrollYMarginOffset<e.contentHeight?(e.scrollbarYActive=!0,e.railYHeight=e.containerHeight-e.railYMarginHeight,e.railYRatio=e.containerHeight/e.railYHeight,e.scrollbarYHeight=x(e,m(e.railYHeight*e.containerHeight/e.contentHeight)),e.scrollbarYTop=m(n*(e.railYHeight-e.scrollbarYHeight)/(e.contentHeight-e.containerHeight))):e.scrollbarYActive=!1,e.scrollbarXLeft>=e.railXWidth-e.scrollbarXWidth&&(e.scrollbarXLeft=e.railXWidth-e.scrollbarXWidth),e.scrollbarYTop>=e.railYHeight-e.scrollbarYHeight&&(e.scrollbarYTop=e.railYHeight-e.scrollbarYHeight),t),n=e,r={width:n.railXWidth},o=Math.floor(i.scrollTop);n.isRtl?r.left=n.negativeScrollAdjustment+i.scrollLeft+n.containerWidth-n.contentWidth:r.left=i.scrollLeft,n.isScrollbarXUsingBottom?r.bottom=n.scrollbarXBottom-o:r.top=n.scrollbarXTop+o,s(n.scrollbarXRail,r),r={top:o,height:n.railYHeight},n.isScrollbarYUsingRight?n.isRtl?r.right=n.contentWidth-(n.negativeScrollAdjustment+i.scrollLeft)-n.scrollbarYRight-n.scrollbarYOuterWidth-9:r.right=n.scrollbarYRight-i.scrollLeft:n.isRtl?r.left=n.negativeScrollAdjustment+i.scrollLeft+2*n.containerWidth-n.contentWidth-n.scrollbarYLeft-n.scrollbarYOuterWidth:r.left=n.scrollbarYLeft+i.scrollLeft,s(n.scrollbarYRail,r),s(n.scrollbarX,{left:n.scrollbarXLeft,width:n.scrollbarXWidth-n.railBorderXWidth}),s(n.scrollbarY,{top:n.scrollbarYTop,height:n.scrollbarYHeight-n.railBorderYWidth}),e.scrollbarXActive?t.classList.add(y.state.active("x")):(t.classList.remove(y.state.active("x")),e.scrollbarXWidth=0,e.scrollbarXLeft=0,t.scrollLeft=!0===e.isRtl?e.contentWidth:0),e.scrollbarYActive?t.classList.add(y.state.active("y")):(t.classList.remove(y.state.active("y")),e.scrollbarYHeight=0,e.scrollbarYTop=0,t.scrollTop=0)}function x(e,t){return e.settings.minScrollbarLength&&(t=Math.max(t,e.settings.minScrollbarLength)),t=e.settings.maxScrollbarLength?Math.min(t,e.settings.maxScrollbarLength):t}function S(n,e){var i=e[0],r=e[1],o=e[2],a=e[3],t=e[4],l=e[5],s=e[6],u=e[7],c=e[8],h=n.element,d=null,f=null,p=null;function g(e){e.touches&&e.touches[0]&&(e[o]=e.touches[0].pageY),h[s]=d+p*(e[o]-f),b(n,u),w(n),e.stopPropagation(),e.type.startsWith("touch")&&1<e.changedTouches.length&&e.preventDefault()}function m(){_(n,u),n[c].classList.remove(y.state.clicking),n.event.unbind(n.ownerDocument,"mousemove",g)}function v(e,t){d=h[s],t&&e.touches&&(e[o]=e.touches[0].pageY),f=e[o],p=(n[r]-n[i])/(n[a]-n[l]),t?n.event.bind(n.ownerDocument,"touchmove",g):(n.event.bind(n.ownerDocument,"mousemove",g),n.event.once(n.ownerDocument,"mouseup",m),e.preventDefault()),n[c].classList.add(y.state.clicking),e.stopPropagation()}n.event.bind(n[t],"mousedown",function(e){v(e)}),n.event.bind(n[t],"touchstart",function(e){v(e,!0)})}function C(e,t){var n,i=this;if(void 0===t&&(t={}),!(e="string"==typeof e?document.querySelector(e):e)||!e.nodeName)throw new Error("no element is specified to initialize PerfectScrollbar");for(n in(this.element=e).classList.add(y.main),this.settings={handlers:["click-rail","drag-thumb","keyboard","wheel","touch"],maxScrollbarLength:null,minScrollbarLength:null,scrollingThreshold:1e3,scrollXMarginOffset:0,scrollYMarginOffset:0,suppressScrollX:!1,suppressScrollY:!1,swipeEasing:!0,useBothWheelAxes:!1,wheelPropagation:!0,wheelSpeed:1},t)this.settings[n]=t[n];function r(){return e.classList.add(y.state.focus)}function o(){return e.classList.remove(y.state.focus)}this.containerWidth=null,this.containerHeight=null,this.contentWidth=null,this.contentHeight=null,this.isRtl="rtl"===f(e).direction,!0===this.isRtl&&e.classList.add(y.rtl),this.isNegativeScroll=(a=e.scrollLeft,e.scrollLeft=-1,l=e.scrollLeft<0,e.scrollLeft=a,l),this.negativeScrollAdjustment=this.isNegativeScroll?e.scrollWidth-e.clientWidth:0,this.event=new h,this.ownerDocument=e.ownerDocument||document,this.scrollbarXRail=u(y.element.rail("x")),e.appendChild(this.scrollbarXRail),this.scrollbarX=u(y.element.thumb("x")),this.scrollbarXRail.appendChild(this.scrollbarX),this.scrollbarX.setAttribute("tabindex",0),this.event.bind(this.scrollbarX,"focus",r),this.event.bind(this.scrollbarX,"blur",o),this.scrollbarXActive=null,this.scrollbarXWidth=null,this.scrollbarXLeft=null;var a=f(this.scrollbarXRail),l=(this.scrollbarXBottom=parseInt(a.bottom,10),isNaN(this.scrollbarXBottom)?(this.isScrollbarXUsingBottom=!1,this.scrollbarXTop=m(a.top)):this.isScrollbarXUsingBottom=!0,this.railBorderXWidth=m(a.borderLeftWidth)+m(a.borderRightWidth),s(this.scrollbarXRail,{display:"block"}),this.railXMarginWidth=m(a.marginLeft)+m(a.marginRight),s(this.scrollbarXRail,{display:""}),this.railXWidth=null,this.railXRatio=null,this.scrollbarYRail=u(y.element.rail("y")),e.appendChild(this.scrollbarYRail),this.scrollbarY=u(y.element.thumb("y")),this.scrollbarYRail.appendChild(this.scrollbarY),this.scrollbarY.setAttribute("tabindex",0),this.event.bind(this.scrollbarY,"focus",r),this.event.bind(this.scrollbarY,"blur",o),this.scrollbarYActive=null,this.scrollbarYHeight=null,this.scrollbarYTop=null,f(this.scrollbarYRail));this.scrollbarYRight=parseInt(l.right,10),isNaN(this.scrollbarYRight)?(this.isScrollbarYUsingRight=!1,this.scrollbarYLeft=m(l.left)):this.isScrollbarYUsingRight=!0,this.scrollbarYOuterWidth=this.isRtl?m((a=f(a=this.scrollbarY)).width)+m(a.paddingLeft)+m(a.paddingRight)+m(a.borderLeftWidth)+m(a.borderRightWidth):null,this.railBorderYWidth=m(l.borderTopWidth)+m(l.borderBottomWidth),s(this.scrollbarYRail,{display:"block"}),this.railYMarginHeight=m(l.marginTop)+m(l.marginBottom),s(this.scrollbarYRail,{display:""}),this.railYHeight=null,this.railYRatio=null,this.reach={x:e.scrollLeft<=0?"start":e.scrollLeft>=this.contentWidth-this.containerWidth?"end":null,y:e.scrollTop<=0?"start":e.scrollTop>=this.contentHeight-this.containerHeight?"end":null},this.isAlive=!0,this.settings.handlers.forEach(function(e){return E[e](i)}),this.lastScrollTop=Math.floor(e.scrollTop),this.lastScrollLeft=e.scrollLeft,this.event.bind(this.element,"scroll",function(e){return i.onScroll(e)}),w(this)}var E={"click-rail":function(n){n.element,n.event.bind(n.scrollbarY,"mousedown",function(e){return e.stopPropagation()}),n.event.bind(n.scrollbarYRail,"mousedown",function(e){var t=e.pageY-window.pageYOffset-n.scrollbarYRail.getBoundingClientRect().top>n.scrollbarYTop?1:-1;n.element.scrollTop+=t*n.containerHeight,w(n),e.stopPropagation()}),n.event.bind(n.scrollbarX,"mousedown",function(e){return e.stopPropagation()}),n.event.bind(n.scrollbarXRail,"mousedown",function(e){var t=e.pageX-window.pageXOffset-n.scrollbarXRail.getBoundingClientRect().left>n.scrollbarXLeft?1:-1;n.element.scrollLeft+=t*n.containerWidth,w(n),e.stopPropagation()})},"drag-thumb":function(e){S(e,["containerWidth","contentWidth","pageX","railXWidth","scrollbarX","scrollbarXWidth","scrollLeft","x","scrollbarXRail"]),S(e,["containerHeight","contentHeight","pageY","railYHeight","scrollbarY","scrollbarYHeight","scrollTop","y","scrollbarYRail"])},keyboard:function(o){var a=o.element;o.event.bind(o.ownerDocument,"keydown",function(e){if(!(e.isDefaultPrevented&&e.isDefaultPrevented()||e.defaultPrevented)&&(l(a,":hover")||l(o.scrollbarX,":focus")||l(o.scrollbarY,":focus"))){var t,n=document.activeElement||o.ownerDocument.activeElement;if(n){if("IFRAME"===n.tagName)n=n.contentDocument.activeElement;else for(;n.shadowRoot;)n=n.shadowRoot.activeElement;if(l(t=n,"input,[contenteditable]")||l(t,"select,[contenteditable]")||l(t,"textarea,[contenteditable]")||l(t,"button,[contenteditable]"))return}var i=0,r=0;switch(e.which){case 37:i=e.metaKey?-o.contentWidth:e.altKey?-o.containerWidth:-30;break;case 38:r=e.metaKey?o.contentHeight:e.altKey?o.containerHeight:30;break;case 39:i=e.metaKey?o.contentWidth:e.altKey?o.containerWidth:30;break;case 40:r=e.metaKey?-o.contentHeight:e.altKey?-o.containerHeight:-30;break;case 32:r=e.shiftKey?o.containerHeight:-o.containerHeight;break;case 33:r=o.containerHeight;break;case 34:r=-o.containerHeight;break;case 36:r=o.contentHeight;break;case 35:r=-o.contentHeight;break;default:return}o.settings.suppressScrollX&&0!==i||o.settings.suppressScrollY&&0!==r||(a.scrollTop-=r,a.scrollLeft+=i,w(o),function(e,t){var n=Math.floor(a.scrollTop);if(0===e){if(!o.scrollbarYActive)return;if(0===n&&0<t||n>=o.contentHeight-o.containerHeight&&t<0)return!o.settings.wheelPropagation}if(n=a.scrollLeft,0===t){if(!o.scrollbarXActive)return;if(0===n&&e<0||n>=o.contentWidth-o.containerWidth&&0<e)return!o.settings.wheelPropagation}return 1}(i,r)&&e.preventDefault())}})},wheel:function(s){var u=s.element;function e(e){a=(o=e).deltaX,l=-1*o.deltaY,void 0!==a&&void 0!==l||(a=-1*o.wheelDeltaX/6,l=o.wheelDeltaY/6),o.deltaMode&&1===o.deltaMode&&(a*=10,l*=10),a!=a&&l!=l&&(a=0,l=o.wheelDelta);var t,n,i,r,o=o.shiftKey?[-l,-a]:[a,l],a=o[0],l=o[1];!function(e,t,n){if(!v.isWebKit&&u.querySelector("select:focus"))return 1;if(u.contains(e))for(var i=e;i&&i!==u;){if(i.classList.contains(y.element.consuming))return 1;var r=f(i);if(n&&r.overflowY.match(/(scroll|auto)/)){var o=i.scrollHeight-i.clientHeight;if(0<o&&(0<i.scrollTop&&n<0||i.scrollTop<o&&0<n))return 1}if(t&&r.overflowX.match(/(scroll|auto)/)){o=i.scrollWidth-i.clientWidth;if(0<o&&(0<i.scrollLeft&&t<0||i.scrollLeft<o&&0<t))return 1}i=i.parentNode}}(e.target,a,l)&&(o=!1,s.settings.useBothWheelAxes?s.scrollbarYActive&&!s.scrollbarXActive?(l?u.scrollTop-=l*s.settings.wheelSpeed:u.scrollTop+=a*s.settings.wheelSpeed,o=!0):s.scrollbarXActive&&!s.scrollbarYActive&&(a?u.scrollLeft+=a*s.settings.wheelSpeed:u.scrollLeft-=l*s.settings.wheelSpeed,o=!0):(u.scrollTop-=l*s.settings.wheelSpeed,u.scrollLeft+=a*s.settings.wheelSpeed),w(s),(o=o||(a=a,l=l,t=Math.floor(u.scrollTop),n=0===u.scrollTop,t=t+u.offsetHeight===u.scrollHeight,i=0===u.scrollLeft,r=u.scrollLeft+u.offsetWidth===u.scrollWidth,!(l=Math.abs(l)>Math.abs(a)?n||t:i||r)||!s.settings.wheelPropagation))&&!e.ctrlKey&&(e.stopPropagation(),e.preventDefault()))}void 0!==window.onwheel?s.event.bind(u,"wheel",e):void 0!==window.onmousewheel&&s.event.bind(u,"mousewheel",e)},touch:function(a){var l,o,s,u,t;function c(e,t){l.scrollTop-=t,l.scrollLeft-=e,w(a)}function h(e){return e.targetTouches?e.targetTouches[0]:e}function d(e){return(!e.pointerType||"pen"!==e.pointerType||0!==e.buttons)&&(e.targetTouches&&1===e.targetTouches.length||!(!e.pointerType||"mouse"===e.pointerType||e.pointerType===e.MSPOINTER_TYPE_MOUSE))}function e(e){d(e)&&(e=h(e),o.pageX=e.pageX,o.pageY=e.pageY,s=(new Date).getTime(),null!==t&&clearInterval(t))}function n(e){var t,n,i,r;d(e)&&(t=(i={pageX:(i=h(e)).pageX,pageY:i.pageY}).pageX-o.pageX,n=i.pageY-o.pageY,function(e,t,n){if(l.contains(e))for(var i=e;i&&i!==l;){if(i.classList.contains(y.element.consuming))return 1;var r=f(i);if(n&&r.overflowY.match(/(scroll|auto)/)){var o=i.scrollHeight-i.clientHeight;if(0<o&&(0<i.scrollTop&&n<0||i.scrollTop<o&&0<n))return 1}if(t&&r.overflowX.match(/(scroll|auto)/)){o=i.scrollWidth-i.clientWidth;if(0<o&&(0<i.scrollLeft&&t<0||i.scrollLeft<o&&0<t))return 1}i=i.parentNode}}(e.target,t,n)||(c(t,n),o=i,0<(r=(i=(new Date).getTime())-s)&&(u.x=t/r,u.y=n/r,s=i),function(e,t){var n=Math.floor(l.scrollTop),i=l.scrollLeft,r=Math.abs(e),o=Math.abs(t);if(r<o){if(t<0&&n===a.contentHeight-a.containerHeight||0<t&&0===n)return 0===window.scrollY&&0<t&&v.isChrome}else if(o<r&&(e<0&&i===a.contentWidth-a.containerWidth||0<e&&0===i));return 1}(t,n)&&e.preventDefault()))}function i(){a.settings.swipeEasing&&(clearInterval(t),t=setInterval(function(){!a.isInitialized&&(u.x||u.y)&&!(Math.abs(u.x)<.01&&Math.abs(u.y)<.01)&&a.element?(c(30*u.x,30*u.y),u.x*=.8,u.y*=.8):clearInterval(t)},10))}(v.supportsTouch||v.supportsIePointer)&&(l=a.element,o={},s=0,u={},t=null,v.supportsTouch?(a.event.bind(l,"touchstart",e),a.event.bind(l,"touchmove",n),a.event.bind(l,"touchend",i)):v.supportsIePointer&&(window.PointerEvent?(a.event.bind(l,"pointerdown",e),a.event.bind(l,"pointermove",n),a.event.bind(l,"pointerup",i)):window.MSPointerEvent&&(a.event.bind(l,"MSPointerDown",e),a.event.bind(l,"MSPointerMove",n),a.event.bind(l,"MSPointerUp",i))))}};C.prototype.update=function(){this.isAlive&&(this.negativeScrollAdjustment=this.isNegativeScroll?this.element.scrollWidth-this.element.clientWidth:0,s(this.scrollbarXRail,{display:"block"}),s(this.scrollbarYRail,{display:"block"}),this.railXMarginWidth=m(f(this.scrollbarXRail).marginLeft)+m(f(this.scrollbarXRail).marginRight),this.railYMarginHeight=m(f(this.scrollbarYRail).marginTop)+m(f(this.scrollbarYRail).marginBottom),s(this.scrollbarXRail,{display:"none"}),s(this.scrollbarYRail,{display:"none"}),w(this),g(this,"top",0,!1,!0),g(this,"left",0,!1,!0),s(this.scrollbarXRail,{display:""}),s(this.scrollbarYRail,{display:""}))},C.prototype.onScroll=function(e){this.isAlive&&(w(this),g(this,"top",this.element.scrollTop-this.lastScrollTop),g(this,"left",this.element.scrollLeft-this.lastScrollLeft),this.lastScrollTop=Math.floor(this.element.scrollTop),this.lastScrollLeft=this.element.scrollLeft)},C.prototype.destroy=function(){this.isAlive&&(this.event.unbindAll(),a(this.scrollbarX),a(this.scrollbarY),a(this.scrollbarXRail),a(this.scrollbarYRail),this.removePsClasses(),this.element=null,this.scrollbarX=null,this.scrollbarY=null,this.scrollbarXRail=null,this.scrollbarYRail=null,this.isAlive=!1)},C.prototype.removePsClasses=function(){this.element.className=this.element.className.split(" ").filter(function(e){return!e.match(/^ps([-_].+|)$/)}).join(" ")},t.exports=C},{}],28:[function(e,L,t){"use strict";function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var a=e("preact/hooks"),u=e("preact");function r(e,t){for(var n in t)e[n]=t[n];return e}function o(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var i in t)if("__source"!==i&&e[i]!==t[i])return!0;return!1}function n(e){this.props=e}function i(t,i){function n(e){var t=this.props.ref,n=t==e.ref;return!n&&t&&(t.call?t(null):t.current=null),i?!i(this.props,e)||!n:o(this.props,e)}function e(e){return this.shouldComponentUpdate=n,u.createElement(t,e)}return e.displayName="Memo("+(t.displayName||t.name)+")",e.prototype.isReactComponent=!0,e.__f=!0,e}(n.prototype=new u.Component).isPureReactComponent=!0,n.prototype.shouldComponentUpdate=function(e,t){return o(this.props,e)||o(this.state,t)};var l=u.options.__b,H=(u.options.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),l&&l(e)},"undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911);function c(n){function e(e){var t=r({},e);return delete t.ref,n(t,e.ref||null)}return e.$$typeof=H,(e.render=e).prototype.isReactComponent=e.__f=!0,e.displayName="ForwardRef("+(n.displayName||n.name)+")",e}function h(e,t){return null==e?null:u.toChildArray(u.toChildArray(e).map(t))}var e={map:h,forEach:h,count:function(e){return e?u.toChildArray(e).length:0},only:function(e){e=u.toChildArray(e);if(1!==e.length)throw"Children.only";return e[0]},toArray:u.toChildArray},W=u.options.__e,d=(u.options.__e=function(e,t,n,i){if(e.then)for(var r,o=t;o=o.__;)if((r=o.__c)&&r.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),r.__c(e,t);W(e,t,n,i)},u.options.unmount);function f(){this.__u=0,this.t=null,this.__b=null}function p(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function g(t){var n,i,r;function e(e){if(n||(n=t()).then(function(e){i=e.default||e},function(e){r=e}),r)throw r;if(i)return u.createElement(i,e);throw n}return e.displayName="Lazy",e.__f=!0,e}function m(){this.o=null,this.u=null}u.options.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&!0===e.__h&&(e.type=null),d&&d(e)},(f.prototype=new u.Component).__c=function(e,t){function n(){a||(a=!0,i.__R=null,o?o(l):l())}var i=t.__c,r=this,o=(null==r.t&&(r.t=[]),r.t.push(i),p(r.__v)),a=!1,l=(i.__R=n,function(){var e,t;if(!--r.__u)for(r.state.__a&&(e=r.state.__a,r.__v.__k[0]=function t(e,n,i){return e&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(e){return t(e,n,i)}),e.__c&&e.__c.__P===n&&(e.__e&&i.insertBefore(e.__e,e.__d),e.__c.__e=!0,e.__c.__P=i)),e}(e,e.__c.__P,e.__c.__O)),r.setState({__a:r.__b=null});t=r.t.pop();)t.forceUpdate()}),t=!0===t.__h;r.__u++||t||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(n,n)},f.prototype.componentWillUnmount=function(){this.t=[]},f.prototype.render=function(e,t){this.__b&&(this.__v.__k&&(i=document.createElement("div"),n=this.__v.__k[0].__c,this.__v.__k[0]=function t(e,n,i){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(e){"function"==typeof e.__c&&e.__c()}),e.__c.__H=null),null!=(e=r({},e)).__c&&(e.__c.__P===i&&(e.__c.__P=n),e.__c=null),e.__k=e.__k&&e.__k.map(function(e){return t(e,n,i)})),e}(this.__b,i,n.__O=n.__P)),this.__b=null);var n,i=t.__a&&u.createElement(u.Fragment,null,e.fallback);return i&&(i.__h=null),[u.createElement(u.Fragment,null,t.__a?null:e.children),i]};function v(e,t,n){if(++n[1]===n[0]&&e.u.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.u.size))for(n=e.o;n;){for(;3<n.length;)n.pop()();if(n[1]<n[0])break;e.o=n=n[2]}}function j(e){return this.getChildContext=function(){return e.context},e.children}function F(e){var n=this,t=e.i;n.componentWillUnmount=function(){u.render(null,n.l),n.l=null,n.i=null},n.i&&n.i!==t&&n.componentWillUnmount(),e.__v?(n.l||(n.i=t,n.l={nodeType:1,parentNode:t,childNodes:[],appendChild:function(e){this.childNodes.push(e),n.i.appendChild(e)},insertBefore:function(e,t){this.childNodes.push(e),n.i.appendChild(e)},removeChild:function(e){this.childNodes.splice(this.childNodes.indexOf(e)>>>1,1),n.i.removeChild(e)}}),u.render(u.createElement(j,{context:n.context},e.__v),n.l)):n.l&&n.componentWillUnmount()}function y(e,t){e=u.createElement(F,{__v:e,i:t});return e.containerInfo=t,e}(m.prototype=new u.Component).__a=function(n){var i=this,r=p(i.__v),o=i.u.get(n);return o[0]++,function(e){function t(){i.props.revealOrder?(o.push(e),v(i,n,o)):e()}r?r(t):t()}},m.prototype.render=function(e){this.o=null,this.u=new Map;var t=u.toChildArray(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.u.set(t[n],this.o=[1,0,this.o]);return e.children},m.prototype.componentDidUpdate=m.prototype.componentDidMount=function(){var n=this;this.u.forEach(function(e,t){v(n,t,e)})};var b="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,z=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,V="undefined"!=typeof document;function _(e,t,n){return null==t.__k&&(t.textContent=""),u.render(e,t),"function"==typeof n&&n(),e?e.__c:null}function w(e,t,n){return u.hydrate(e,t),"function"==typeof n&&n(),e?e.__c:null}u.Component.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(t){Object.defineProperty(u.Component.prototype,t,{configurable:!0,get:function(){return this["UNSAFE_"+t]},set:function(e){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:e})}})});var x=u.options.event;function B(){}function Y(){return this.cancelBubble}function U(){return this.defaultPrevented}u.options.event=function(e){return(e=x?x(e):e).persist=B,e.isPropagationStopped=Y,e.isDefaultPrevented=U,e.nativeEvent=e};var S,C={configurable:!0,get:function(){return this.class}},E=u.options.vnode,k=(u.options.vnode=function(e){var t,n=e.type,i=e.props,r=i;if("string"==typeof n){var o,a=-1===n.indexOf("-"),r={};for(o in i){var l=i[o];V&&"children"===o&&"noscript"===n||"value"===o&&"defaultValue"in i&&null==l||("defaultValue"===o&&"value"in i&&null==i.value?o="value":"download"===o&&!0===l?l="":/ondoubleclick/i.test(o)?o="ondblclick":/^onchange(textarea|input)/i.test(o+n)&&(t=i.type,!("undefined"!=typeof Symbol&&"symbol"==s(Symbol())?/fil|che|rad/i:/fil|che|ra/i).test(t))?o="oninput":/^onfocus$/i.test(o)?o="onfocusin":/^onblur$/i.test(o)?o="onfocusout":/^on(Ani|Tra|Tou|BeforeInp|Compo)/.test(o)?o=o.toLowerCase():a&&z.test(o)?o=o.replace(/[A-Z0-9]/g,"-$&").toLowerCase():null===l&&(l=void 0),/^oninput$/i.test(o)&&(o=o.toLowerCase(),r[o]&&(o="oninputCapture")),r[o]=l)}"select"==n&&r.multiple&&Array.isArray(r.value)&&(r.value=u.toChildArray(i.children).forEach(function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)})),"select"==n&&null!=r.defaultValue&&(r.value=u.toChildArray(i.children).forEach(function(e){e.props.selected=r.multiple?-1!=r.defaultValue.indexOf(e.props.value):r.defaultValue==e.props.value})),e.props=r,i.class!=i.className&&(C.enumerable="className"in i,null!=i.className&&(r.class=i.className),Object.defineProperty(r,"className",C))}e.$$typeof=b,E&&E(e)},u.options.__r),M=(u.options.__r=function(e){k&&k(e),S=e.__c},{ReactCurrentDispatcher:{current:{readContext:function(e){return S.__n[e.__c].props.value}}}});function D(e){return u.createElement.bind(null,e)}function T(e){return!!e&&e.$$typeof===b}function R(e){return T(e)?u.cloneElement.apply(null,arguments):e}function A(e){return!!e.__k&&(u.render(null,e),!0)}function O(e){return e&&(e.base||1===e.nodeType&&e)||null}function P(e,t){return e(t)}function I(e,t){return e(t)}var q=u.Fragment;function N(e){e()}function Z(e){return e}function G(){return[!1,N]}var X=a.useLayoutEffect;function $(e,t){var n=a.useState(t),i=n[0],r=n[1],o=t();return a.useLayoutEffect(function(){o!==i&&r(function(){return o})},[e,o,t]),a.useEffect(function(){return e(function(){r(function(){return t()})})},[e,t]),i}var K={useState:a.useState,useReducer:a.useReducer,useEffect:a.useEffect,useLayoutEffect:a.useLayoutEffect,useInsertionEffect:X,useTransition:G,useDeferredValue:Z,useSyncExternalStore:$,startTransition:N,useRef:a.useRef,useImperativeHandle:a.useImperativeHandle,useMemo:a.useMemo,useCallback:a.useCallback,useContext:a.useContext,useDebugValue:a.useDebugValue,version:"17.0.2",Children:e,render:_,hydrate:w,unmountComponentAtNode:A,createPortal:y,createElement:u.createElement,createContext:u.createContext,createFactory:D,cloneElement:R,createRef:u.createRef,Fragment:u.Fragment,isValidElement:T,findDOMNode:O,Component:u.Component,PureComponent:n,memo:i,forwardRef:c,flushSync:I,unstable_batchedUpdates:P,StrictMode:q,Suspense:f,SuspenseList:m,lazy:g,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:M};Object.keys(a).forEach(function(e){t[e]=a[e]}),t.createElement=u.createElement,t.createContext=u.createContext,t.createRef=u.createRef,t.Fragment=u.Fragment,t.Component=u.Component,t.startTransition=N,t.useDeferredValue=Z,t.useTransition=G,t.useInsertionEffect=X,t.useSyncExternalStore=$,t.version="17.0.2",t.Children=e,t.render=_,t.hydrate=w,t.unmountComponentAtNode=A,t.createPortal=y,t.createFactory=D,t.cloneElement=R,t.isValidElement=T,t.findDOMNode=O,t.PureComponent=n,t.memo=i,t.forwardRef=c,t.flushSync=I,t.unstable_batchedUpdates=P,t.StrictMode=q,t.Suspense=f,t.SuspenseList=m,t.lazy=g,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=M,t.default=K},{preact:29,"preact/hooks":30}],29:[function(e,t,n){"use strict";var S,C,o,i,r,a,l,E={},b=[],s=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function k(e,t){for(var n in t)e[n]=t[n];return e}function M(e){var t=e.parentNode;t&&t.removeChild(e)}function u(e,t,n){var i,r,o,a={};for(o in t)"key"==o?i=t[o]:"ref"==o?r=t[o]:a[o]=t[o];if(2<arguments.length&&(a.children=3<arguments.length?S.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(o in e.defaultProps)void 0===a[o]&&(a[o]=e.defaultProps[o]);return _(e,a,i,r,null)}function _(e,t,n,i,r){e={type:e,props:t,key:n,ref:i,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==r?++o:r};return null==r&&null!=C.vnode&&C.vnode(e),e}function D(e){return e.children}function T(e,t){this.props=e,this.context=t}function R(e,t){if(null==t)return e.__?R(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?R(e):null}function c(e){(!e.__d&&(e.__d=!0)&&r.push(e)&&!h.__r++||a!==C.debounceRendering)&&((a=C.debounceRendering)||setTimeout)(h)}function h(){for(var e;h.__r=r.length;)e=r.sort(function(e,t){return e.__v.__b-t.__v.__b}),r=[],e.some(function(e){var t,n,i,r,o;e.__d&&(r=(i=(e=e).__v).__e,(o=e.__P)&&(t=[],(n=k({},i)).__v=i.__v+1,x(o,i,n,e.__n,void 0!==o.ownerSVGElement,null!=i.__h?[r]:null,t,null==r?R(i):r,i.__h),g(t,i),i.__e!=r&&function e(t){var n,i;if(null!=(t=t.__)&&null!=t.__c){for(t.__e=t.__c.base=null,n=0;n<t.__k.length;n++)if(null!=(i=t.__k[n])&&null!=i.__e){t.__e=t.__c.base=i.__e;break}return e(t)}}(i)))})}function A(e,t,n,i,r,o,a,l,s,u){var c,h,d,f,p,g,m,v=i&&i.__k||b,y=v.length;for(n.__k=[],c=0;c<t.length;c++)if(null!=(f=n.__k[c]=null==(f=t[c])||"boolean"==typeof f?null:"string"==typeof f||"number"==typeof f||"bigint"==typeof f?_(null,f,null,null,f):Array.isArray(f)?_(D,{children:f},null,null,null):0<f.__b?_(f.type,f.props,f.key,null,f.__v):f)){if(f.__=n,f.__b=n.__b+1,null===(d=v[c])||d&&f.key==d.key&&f.type===d.type)v[c]=void 0;else for(h=0;h<y;h++){if((d=v[h])&&f.key==d.key&&f.type===d.type){v[h]=void 0;break}d=null}x(e,f,d=d||E,r,o,a,l,s,u),p=f.__e,(h=f.ref)&&d.ref!=h&&(m=m||[],d.ref&&m.push(d.ref,null,f),m.push(h,f.__c||p,f)),null!=p?(null==g&&(g=p),"function"==typeof f.type&&f.__k===d.__k?f.__d=s=function e(t,n,i){for(var r,o=t.__k,a=0;o&&a<o.length;a++)(r=o[a])&&(r.__=t,n="function"==typeof r.type?e(r,n,i):w(i,r,r,o,r.__e,n));return n}(f,s,e):s=w(e,f,d,v,p,s),"function"==typeof n.type&&(n.__d=s)):s&&d.__e==s&&s.parentNode!=e&&(s=R(d))}for(n.__e=g,c=y;c--;)null!=v[c]&&("function"==typeof n.type&&null!=v[c].__e&&v[c].__e==n.__d&&(n.__d=R(i,c+1)),function e(t,n,i){var r,o;if(C.unmount&&C.unmount(t),!(r=t.ref)||r.current&&r.current!==t.__e||P(r,null,n),null!=(r=t.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(t){C.__e(t,n)}r.base=r.__P=null}if(r=t.__k)for(o=0;o<r.length;o++)r[o]&&e(r[o],n,"function"!=typeof t.type);i||null==t.__e||M(t.__e),t.__e=t.__d=void 0}(v[c],v[c]));if(m)for(c=0;c<m.length;c++)P(m[c],m[++c],m[++c])}function w(e,t,n,i,r,o){var a,l,s;if(void 0!==t.__d)a=t.__d,t.__d=void 0;else if(null==n||r!=o||null==r.parentNode)e:if(null==o||o.parentNode!==e)e.appendChild(r),a=null;else{for(l=o,s=0;(l=l.nextSibling)&&s<i.length;s+=2)if(l==r)break e;e.insertBefore(r,o),a=o}return void 0!==a?a:r.nextSibling}function d(e,t,n){"-"===t[0]?e.setProperty(t,n):e[t]=null==n?"":"number"!=typeof n||s.test(t)?n:n+"px"}function O(e,t,n,i,r){var o;e:if("style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof i&&(e.style.cssText=i=""),i)for(t in i)n&&t in n||d(e.style,t,"");if(n)for(t in n)i&&n[t]===i[t]||d(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])o=t!==(t=t.replace(/Capture$/,"")),t=(t.toLowerCase()in e?t.toLowerCase():t).slice(2),e.l||(e.l={}),(e.l[t+o]=n)?i||e.addEventListener(t,o?p:f,o):e.removeEventListener(t,o?p:f,o);else if("dangerouslySetInnerHTML"!==t){if(r)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"!=typeof n&&(null!=n&&(!1!==n||"a"===t[0]&&"r"===t[1])?e.setAttribute(t,n):e.removeAttribute(t))}}function f(e){this.l[e.type+!1](C.event?C.event(e):e)}function p(e){this.l[e.type+!0](C.event?C.event(e):e)}function x(e,t,n,i,r,o,a,l,s){var u,c,h,d,f,p,g,m,v,y,b,_,w,x=t.type;if(void 0===t.constructor){null!=n.__h&&(s=n.__h,l=t.__e=n.__e,t.__h=null,o=[l]),(u=C.__b)&&u(t);try{e:if("function"==typeof x){if(m=t.props,v=(u=x.contextType)&&i[u.__c],y=u?v?v.props.value:u.__:i,n.__c?g=(c=t.__c=n.__c).__=c.__E:("prototype"in x&&x.prototype.render?t.__c=c=new x(m,y):(t.__c=c=new T(m,y),c.constructor=x,c.render=I),v&&v.sub(c),c.props=m,c.state||(c.state={}),c.context=y,c.__n=i,h=c.__d=!0,c.__h=[]),null==c.__s&&(c.__s=c.state),null!=x.getDerivedStateFromProps&&(c.__s==c.state&&(c.__s=k({},c.__s)),k(c.__s,x.getDerivedStateFromProps(m,c.__s))),d=c.props,f=c.state,h)null==x.getDerivedStateFromProps&&null!=c.componentWillMount&&c.componentWillMount(),null!=c.componentDidMount&&c.__h.push(c.componentDidMount);else{if(null==x.getDerivedStateFromProps&&m!==d&&null!=c.componentWillReceiveProps&&c.componentWillReceiveProps(m,y),!c.__e&&null!=c.shouldComponentUpdate&&!1===c.shouldComponentUpdate(m,c.__s,y)||t.__v===n.__v){c.props=m,c.state=c.__s,t.__v!==n.__v&&(c.__d=!1),(c.__v=t).__e=n.__e,t.__k=n.__k,t.__k.forEach(function(e){e&&(e.__=t)}),c.__h.length&&a.push(c);break e}null!=c.componentWillUpdate&&c.componentWillUpdate(m,c.__s,y),null!=c.componentDidUpdate&&c.__h.push(function(){c.componentDidUpdate(d,f,p)})}if(c.context=y,c.props=m,c.__v=t,c.__P=e,b=C.__r,_=0,"prototype"in x&&x.prototype.render)c.state=c.__s,c.__d=!1,b&&b(t),u=c.render(c.props,c.state,c.context);else for(;c.__d=!1,b&&b(t),u=c.render(c.props,c.state,c.context),c.state=c.__s,c.__d&&++_<25;);c.state=c.__s,null!=c.getChildContext&&(i=k(k({},i),c.getChildContext())),h||null==c.getSnapshotBeforeUpdate||(p=c.getSnapshotBeforeUpdate(d,f)),w=null!=u&&u.type===D&&null==u.key?u.props.children:u,A(e,Array.isArray(w)?w:[w],t,n,i,r,o,a,l,s),c.base=t.__e,t.__h=null,c.__h.length&&a.push(c),g&&(c.__E=c.__=null),c.__e=!1}else null==o&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=function(e,t,n,i,r,o,a,l){var s,u,c,h=n.props,d=t.props,f=t.type,p=0;if("svg"===f&&(r=!0),null!=o)for(;p<o.length;p++)if((s=o[p])&&"setAttribute"in s==!!f&&(f?s.localName===f:3===s.nodeType)){e=s,o[p]=null;break}if(null==e){if(null===f)return document.createTextNode(d);e=r?document.createElementNS("http://www.w3.org/2000/svg",f):document.createElement(f,d.is&&d),o=null,l=!1}if(null===f)h===d||l&&e.data===d||(e.data=d);else{if(o=o&&S.call(e.childNodes),u=(h=n.props||E).dangerouslySetInnerHTML,c=d.dangerouslySetInnerHTML,!l){if(null!=o)for(h={},p=0;p<e.attributes.length;p++)h[e.attributes[p].name]=e.attributes[p].value;!c&&!u||c&&(u&&c.__html==u.__html||c.__html===e.innerHTML)||(e.innerHTML=c&&c.__html||"")}if(function(e,t,n,i,r){for(var o in n)"children"===o||"key"===o||o in t||O(e,o,null,n[o],i);for(o in t)r&&"function"!=typeof t[o]||"children"===o||"key"===o||"value"===o||"checked"===o||n[o]===t[o]||O(e,o,t[o],n[o],i)}(e,d,h,r,l),c)t.__k=[];else if(p=t.props.children,A(e,Array.isArray(p)?p:[p],t,n,i,r&&"foreignObject"!==f,o,a,o?o[0]:n.__k&&R(n,0),l),null!=o)for(p=o.length;p--;)null!=o[p]&&M(o[p]);l||("value"in d&&void 0!==(p=d.value)&&(p!==e.value||"progress"===f&&!p||"option"===f&&p!==h.value)&&O(e,"value",p,h.value,!1),"checked"in d&&void 0!==(p=d.checked)&&p!==e.checked&&O(e,"checked",p,h.checked,!1))}return e}(n.__e,t,n,i,r,o,a,s);(u=C.diffed)&&u(t)}catch(e){t.__v=null,!s&&null==o||(t.__e=l,t.__h=!!s,o[o.indexOf(l)]=null),C.__e(e,t,n)}}}function g(e,t){C.__c&&C.__c(t,e),e.some(function(t){try{e=t.__h,t.__h=[],e.some(function(e){e.call(t)})}catch(e){C.__e(e,t.__v)}})}function P(e,t,n){try{"function"==typeof e?e(t):e.current=t}catch(e){C.__e(e,n)}}function I(e,t,n){return this.constructor(e,n)}function m(e,t,n){var i,r,o;C.__&&C.__(e,t),r=(i="function"==typeof n)?null:n&&n.__k||t.__k,o=[],x(t,e=(!i&&n||t).__k=u(D,null,[e]),r||E,E,void 0!==t.ownerSVGElement,!i&&n?[n]:!r&&t.firstChild?S.call(t.childNodes):null,o,!i&&n?n:r?r.__e:t.firstChild,i),g(o,e)}S=b.slice,C={__e:function(e,t,n,i){for(var r,o,a;t=t.__;)if((r=t.__c)&&!r.__)try{if((o=r.constructor)&&null!=o.getDerivedStateFromError&&(r.setState(o.getDerivedStateFromError(e)),a=r.__d),null!=r.componentDidCatch&&(r.componentDidCatch(e,i||{}),a=r.__d),a)return r.__E=r}catch(t){e=t}throw e}},o=0,i=function(e){return null!=e&&void 0===e.constructor},T.prototype.setState=function(e,t){var n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=k({},this.state);(e="function"==typeof e?e(k({},n),this.props):e)&&k(n,e),null!=e&&this.__v&&(t&&this.__h.push(t),c(this))},T.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),c(this))},T.prototype.render=D,r=[],h.__r=0,l=0,n.render=m,n.hydrate=function e(t,n){m(t,n,e)},n.createElement=u,n.h=u,n.Fragment=D,n.createRef=function(){return{current:null}},n.isValidElement=i,n.Component=T,n.cloneElement=function(e,t,n){var i,r,o,a=k({},e.props);for(o in t)"key"==o?i=t[o]:"ref"==o?r=t[o]:a[o]=t[o];return 2<arguments.length&&(a.children=3<arguments.length?S.call(arguments,2):n),_(e.type,a,i||e.key,r||e.ref,null)},n.createContext=function(e,i){e={__c:i="__cC"+l++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e){var n,t;return this.getChildContext||(n=[],((t={})[i]=this).getChildContext=function(){return t},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.some(c)},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n.splice(n.indexOf(e),1),t&&t.call(e)}}),e.children}};return e.Provider.__=e.Consumer.contextType=e},n.toChildArray=function t(e,n){return n=n||[],null!=e&&"boolean"!=typeof e&&(Array.isArray(e)?e.some(function(e){t(e,n)}):n.push(e)),n},n.options=C},{}],30:[function(e,t,n){"use strict";var i,a,r,o,l=e("preact"),s=0,u=[],c=[],h=l.options.__b,d=l.options.__r,f=l.options.diffed,p=l.options.__c,g=l.options.unmount;function m(e,t){l.options.__h&&l.options.__h(a,e,s||t),s=0;t=a.__H||(a.__H={__:[],__h:[]});return e>=t.__.length&&t.__.push({__V:c}),t.__[e]}function v(e){return s=1,y(k,e)}function y(e,t,n){var r,o=m(i++,2);return o.t=e,o.__c||(o.__=[n?n(t):k(void 0,t),function(e){var t=(o.__N||o.__)[0],e=o.t(t,e);t!==e&&(o.__N=[e,o.__[1]],o.__c.setState({}))}],o.__c=a,o.__c.u)||(o.__c.__H.u=!0,r=o.__c.shouldComponentUpdate,o.__c.shouldComponentUpdate=function(e,t,n){if(!o.__c.__H)return!0;var i=o.__c.__H.__.filter(function(e){return e.__c});return(i.every(function(e){return!e.__N})||!i.every(function(e){if(!e.__N)return!0;var t=e.__[0];return e.__=e.__N,e.__N=void 0,t===e.__[0]}))&&(!r||r(e,t,n))}),o.__N||o.__}function b(e,t){var n=m(i++,4);!l.options.__s&&E(n.__H,t)&&(n.__=e,n.o=t,a.__h.push(n))}function _(e,t){var n=m(i++,7);return E(n.__H,t)?(n.__V=e(),n.o=t,n.__h=e,n.__V):n.__}function w(){for(var t;t=u.shift();)if(t.__P&&t.__H)try{t.__H.__h.forEach(S),t.__H.__h.forEach(C),t.__H.__h=[]}catch(e){t.__H.__h=[],l.options.__e(e,t.__v)}}l.options.__b=function(e){a=null,h&&h(e)},l.options.__r=function(e){d&&d(e),i=0;e=(a=e.__c).__H;e&&(r===a?(e.__h=[],a.__h=[],e.__.forEach(function(e){e.__N&&(e.__=e.__N),e.__V=c,e.__N=e.o=void 0})):(e.__h.forEach(S),e.__h.forEach(C),e.__h=[])),r=a},l.options.diffed=function(e){f&&f(e);e=e.__c;e&&e.__H&&(!e.__H.__h.length||1!==u.push(e)&&o===l.options.requestAnimationFrame||((o=l.options.requestAnimationFrame)||function(e){function t(){clearTimeout(i),x&&cancelAnimationFrame(n),setTimeout(e)}var n,i=setTimeout(t,100);x&&(n=requestAnimationFrame(t))})(w),e.__H.__.forEach(function(e){e.o&&(e.__H=e.o),e.__V!==c&&(e.__=e.__V),e.o=void 0,e.__V=c})),r=a=null},l.options.__c=function(e,n){n.some(function(t){try{t.__h.forEach(S),t.__h=t.__h.filter(function(e){return!e.__||C(e)})}catch(e){n.some(function(e){e.__h&&(e.__h=[])}),n=[],l.options.__e(e,t.__v)}}),p&&p(e,n)},l.options.unmount=function(e){g&&g(e);var t,e=e.__c;e&&e.__H&&(e.__H.__.forEach(function(e){try{S(e)}catch(e){t=e}}),t&&l.options.__e(t,e.__v))};var x="function"==typeof requestAnimationFrame;function S(e){var t=a,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),a=t}function C(e){var t=a;e.__c=e.__(),a=t}function E(n,e){return!n||n.length!==e.length||e.some(function(e,t){return e!==n[t]})}function k(e,t){return"function"==typeof t?t(e):t}n.useState=v,n.useReducer=y,n.useEffect=function(e,t){var n=m(i++,3);!l.options.__s&&E(n.__H,t)&&(n.__=e,n.o=t,a.__H.__h.push(n))},n.useLayoutEffect=b,n.useRef=function(e){return s=5,_(function(){return{current:e}},[])},n.useImperativeHandle=function(e,t,n){s=6,b(function(){return"function"==typeof e?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0},null==n?n:n.concat(e))},n.useMemo=_,n.useCallback=function(e,t){return s=8,_(function(){return e},t)},n.useContext=function(e){var t=a.context[e.__c],n=m(i++,9);return n.c=e,t?(null==n.__&&(n.__=!0,t.sub(a)),t.props.value):e.__},n.useDebugValue=function(e,t){l.options.useDebugValue&&l.options.useDebugValue(t?t(e):e)},n.useErrorBoundary=function(e){var t=m(i++,10),n=v();return t.__=e,a.componentDidCatch||(a.componentDidCatch=function(e){t.__&&t.__(e),n[1](e)}),[n[0],function(){n[1](void 0)}]}},{preact:29}],31:[function(e,t,n){"use strict";t.exports=function(e){i=e.requestAnimationFrame||e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame||e.oRequestAnimationFrame||e.msRequestAnimationFrame,r=e.cancelAnimationFrame||e.webkitCancelAnimationFrame||e.mozCancelAnimationFrame||e.oCancelAnimationFrame||e.msCancelAnimationFrame,n=i&&r?(t=function(t,e){var n={value:null};return function e(){n.value=i(e),t()}(),n},function(e){r(e.value)}):(t=setInterval,clearInterval);var t,n,i,r,k=2*Math.PI,u=2/Math.sqrt(2);function M(e,t,n,i,r){e.beginPath(),e.moveTo(t,n),e.lineTo(i,r),e.stroke()}function c(e,t,n,i,r,o,a,l){var s=Math.cos(t*k),t=Math.sin(t*k);n=n-t*r,t=i+s*o+.5*(l-=a),r=a+(1-.5*s)*l,(i=e).beginPath(),i.arc(n,t,r,0,k,!1),i.fill()}function m(e,t,n,i,r,o,a,l){for(var s=5;s--;)c(e,t+s/5,n,i,r,o,a,l)}function D(e,t,n,i,r,o,a){t/=3e4;var l=.21*r,s=.12*r,u=.24*r,r=.28*r;e.fillStyle=a,m(e,t,n,i,l,s,u,r),e.globalCompositeOperation="destination-out",m(e,t,n,i,l,s,u-o,r-o),e.globalCompositeOperation="source-over"}function a(e,t,n,i,r,o,a){t/=12e4;var l,s,u,c=.25*r-.5*o,h=.32*r+.5*o,d=.5*r-.5*o;for(e.strokeStyle=a,e.lineWidth=o,e.lineCap="round",e.lineJoin="round",e.beginPath(),e.arc(n,i,c,0,k,!1),e.stroke(),l=8;l--;)u=(t+l/8)*k,M(e,n+(s=Math.cos(u))*h,i+(u=Math.sin(u))*h,n+s*d,i+u*d)}function l(e,t,n,i,r,o,a){t/=15e3;var l=.29*r-.5*o,r=.05*r,t=Math.cos(t*k),s=t*k/-16;e.strokeStyle=a,e.lineWidth=o,e.lineCap="round",e.lineJoin="round",n+=t*r,e.beginPath(),e.arc(n,i,l,s+k/8,s+7*k/8,!1),e.arc(n+Math.cos(s)*l*u,i+Math.sin(s)*l*u,l,s+5*k/8,s+3*k/8,!0),e.closePath(),e.stroke()}var y=[[-.75,-.18,-.7219,-.1527,-.6971,-.1225,-.6739,-.091,-.6516,-.0588,-.6298,-.0262,-.6083,.0065,-.5868,.0396,-.5643,.0731,-.5372,.1041,-.5033,.1259,-.4662,.1406,-.4275,.1493,-.3881,.153,-.3487,.1526,-.3095,.1488,-.2708,.1421,-.2319,.1342,-.1943,.1217,-.16,.1025,-.129,.0785,-.1012,.0509,-.0764,.0206,-.0547,-.012,-.0378,-.0472,-.0324,-.0857,-.0389,-.1241,-.0546,-.1599,-.0814,-.1876,-.1193,-.1964,-.1582,-.1935,-.1931,-.1769,-.2157,-.1453,-.229,-.1085,-.2327,-.0697,-.224,-.0317,-.2064,.0033,-.1853,.0362,-.1613,.0672,-.135,.0961,-.1051,.1213,-.0706,.1397,-.0332,.1512,.0053,.158,.0442,.1624,.0833,.1636,.1224,.1615,.1613,.1565,.1999,.15,.2378,.1402,.2749,.1279,.3118,.1147,.3487,.1015,.3858,.0892,.4236,.0787,.4621,.0715,.5012,.0702,.5398,.0766,.5768,.089,.6123,.1055,.6466,.1244,.6805,.144,.7147,.163,.75,.18],[-.75,0,-.7033,.0195,-.6569,.0399,-.6104,.06,-.5634,.0789,-.5155,.0954,-.4667,.1089,-.4174,.1206,-.3676,.1299,-.3174,.1365,-.2669,.1398,-.2162,.1391,-.1658,.1347,-.1157,.1271,-.0661,.1169,-.017,.1046,.0316,.0903,.0791,.0728,.1259,.0534,.1723,.0331,.2188,.0129,.2656,-.0064,.3122,-.0263,.3586,-.0466,.4052,-.0665,.4525,-.0847,.5007,-.1002,.5497,-.113,.5991,-.124,.6491,-.1325,.6994,-.138,.75,-.14]],b=[{start:.36,end:.11},{start:.56,end:.16}];function s(e,t,n,i,r,o,a,l,s){var u,c,h,d,f,p,g=y[a],m=((t/=2500)+a-b[a].start)%l,v=(t+a-b[a].end)%l,a=(t+a)%l;if(e.strokeStyle=s,e.lineWidth=o,e.lineCap="round",e.lineJoin="round",m<1){if(e.beginPath(),m=(m*=g.length/2-1)-(l=Math.floor(m)),e.moveTo(n+(g[(l=l*2+2)-2]*(1-m)+g[l]*m)*r,i+(g[l-1]*(1-m)+g[1+l]*m)*r),v<1){for(v=(v*=g.length/2-1)-(u=Math.floor(v)),u=u*2+2,c=l;c!==u;c+=2)e.lineTo(n+g[c]*r,i+g[c+1]*r);e.lineTo(n+(g[u-2]*(1-v)+g[u]*v)*r,i+(g[u-1]*(1-v)+g[u+1]*v)*r)}else for(c=l;c!==g.length;c+=2)e.lineTo(n+g[c]*r,i+g[c+1]*r);e.stroke()}else if(v<1){for(e.beginPath(),v=(v*=g.length/2-1)-(u=Math.floor(v)),u=u*2+2,e.moveTo(n+g[0]*r,i+g[1]*r),c=2;c!==u;c+=2)e.lineTo(n+g[c]*r,i+g[c+1]*r);e.lineTo(n+(g[u-2]*(1-v)+g[u]*v)*r,i+(g[u-1]*(1-v)+g[u+1]*v)*r),e.stroke()}a<1&&(a=(a*=g.length/2-1)-(m=Math.floor(a)),l=e,v=t,t=n+(g[(m=m*2+2)-2]*(1-a)+g[m]*a)*r,m=i+(g[m-1]*(1-a)+g[1+m]*a)*r,a=o,o=s,h=(s=(s=r)/8)/3,d=2*h,v=v%1*k,f=Math.cos(v),p=Math.sin(v),l.fillStyle=o,l.strokeStyle=o,l.lineWidth=a,l.lineCap="round",l.lineJoin="round",l.beginPath(),l.arc(t,m,s,v,v+Math.PI,!1),l.arc(t-h*f,m-h*p,d,v+Math.PI,v,!1),l.arc(t+d*f,m+d*p,h,v+Math.PI,v,!0),l.globalCompositeOperation="destination-out",l.fill(),l.globalCompositeOperation="source-over",l.stroke())}function o(e){this.list=[],this.interval=null,this.color=e&&e.color?e.color:"black",this.resizeClear=!(!e||!e.resizeClear)}return o.CLEAR_DAY=function(e,t,n){var i=e.canvas.width,r=e.canvas.height,o=Math.min(i,r);a(e,t,.5*i,.5*r,o,.08*o,n)},o.CLEAR_NIGHT=function(e,t,n){var i=e.canvas.width,r=e.canvas.height,o=Math.min(i,r);l(e,t,.5*i,.5*r,o,.08*o,n)},o.PARTLY_CLOUDY_DAY=function(e,t,n){var i=e.canvas.width,r=e.canvas.height,o=Math.min(i,r);a(e,t,.625*i,.375*r,.75*o,.08*o,n),D(e,t,.375*i,.625*r,.75*o,.08*o,n)},o.PARTLY_CLOUDY_NIGHT=function(e,t,n){var i=e.canvas.width,r=e.canvas.height,o=Math.min(i,r);l(e,t,.667*i,.375*r,.75*o,.08*o,n),D(e,t,.375*i,.625*r,.75*o,.08*o,n)},o.CLOUDY=function(e,t,n){var i=e.canvas.width,r=e.canvas.height,o=Math.min(i,r);D(e,t,.5*i,.5*r,o,.08*o,n)},o.RAIN=function(e,t,n){var i=e.canvas.width,r=e.canvas.height,o=Math.min(i,r),a=e,l=t,s=.5*i,u=.37*r,c=.9*o,h=.08*o,d=n;l/=1350;var f,p,g,m=.16*c,v=11*k/12,y=7*k/12;for(a.fillStyle=d,f=4;f--;)p=s+(f-1.5)/1.5*(1===f||2===f?-1:1)*m,g=u+(g=(l+f/4)%1)*g*c,a.beginPath(),a.moveTo(p,g-1.5*h),a.arc(p,g,.75*h,v,y,!1),a.fill();D(e,t,.5*i,.37*r,.9*o,.08*o,n)},o.SLEET=function(e,t,n){var i=e.canvas.width,r=e.canvas.height,o=Math.min(i,r),a=e,l=t,s=.5*i,u=.37*r,c=.9*o,h=.08*o,d=n;l/=750;var f,p,g,m=.1875*c;for(a.strokeStyle=d,a.lineWidth=.5*h,a.lineCap="round",a.lineJoin="round",f=4;f--;)g=(l+f/4)%1,M(a,p=Math.floor(s+(f-1.5)/1.5*(1===f||2===f?-1:1)*m)+.5,(g=u+g*c)-1.5*h,p,g+1.5*h);D(e,t,.5*i,.37*r,.9*o,.08*o,n)},o.SNOW=function(e,t,n){var i,r,o,a=e.canvas.width,l=e.canvas.height,s=Math.min(a,l),u=e,c=t,h=.5*a,d=.37*l,f=.9*s,p=.08*s,g=n,m=.16*f,v=.75*p,y=(c/=3e3)*k*.7,b=Math.cos(y)*v,_=Math.sin(y)*v,w=y+k/3,x=Math.cos(w)*v,S=Math.sin(w)*v,w=y+2*k/3,C=Math.cos(w)*v,E=Math.sin(w)*v;for(u.strokeStyle=g,u.lineWidth=.5*p,u.lineCap="round",u.lineJoin="round",i=4;i--;)o=(c+i/4)%1,M(u,(r=h+Math.sin((o+i/4)*k)*m)-b,(o=d+o*f)-_,r+b,o+_),M(u,r-x,o-S,r+x,o+S),M(u,r-C,o-E,r+C,o+E);D(e,t,.5*a,.37*l,.9*s,.08*s,n)},o.WIND=function(e,t,n){var i=e.canvas.width,r=e.canvas.height,o=Math.min(i,r);s(e,t,.5*i,.5*r,o,.08*o,0,2,n),s(e,t,.5*i,.5*r,o,.08*o,1,2,n)},o.FOG=function(e,t,n){var i,r,o=e.canvas.width,a=e.canvas.height,l=Math.min(o,a),s=.08*l,u=(u=t,c=.5*o,h=.32*a,r=s,u/=3e4,f=.06*(g=.75*l),p=d=.21*g,g*=.28,(i=e).fillStyle=n,m(i,u,c,h,d,f,p,g),i.globalCompositeOperation="destination-out",m(i,u,c,h,d,f,p-r,g-r),i.globalCompositeOperation="source-over",t/=5e3,Math.cos(t*k)*l*.02),c=Math.cos((t+.25)*k)*l*.02,h=Math.cos((t+.5)*k)*l*.02,d=Math.cos((t+.75)*k)*l*.02,f=.936*a,p=Math.floor(f-.5*s)+.5,g=Math.floor(f-2.5*s)+.5;e.strokeStyle=n,e.lineWidth=s,e.lineCap="round",e.lineJoin="round",M(e,u+.2*o+.5*s,p,c+.8*o-.5*s,p),M(e,h+.2*o+.5*s,g,d+.8*o-.5*s,g)},o.prototype={_determineDrawingFunction:function(e){return e="string"==typeof e?o[e.toUpperCase().replace(/-/g,"_")]||null:e},add:function(e,t){null!==(e="string"==typeof e?document.getElementById(e):e)&&"function"==typeof(t=this._determineDrawingFunction(t))&&(e={element:e,context:e.getContext("2d"),drawing:t},this.list.push(e),this.draw(e,500))},set:function(e,t){var n;for("string"==typeof e&&(e=document.getElementById(e)),n=this.list.length;n--;)if(this.list[n].element===e)return this.list[n].drawing=this._determineDrawingFunction(t),void this.draw(this.list[n],500);this.add(e,t)},remove:function(e){var t;for("string"==typeof e&&(e=document.getElementById(e)),t=this.list.length;t--;)if(this.list[t].element===e)return void this.list.splice(t,1)},draw:function(e,t){var n=e.context.canvas;this.resizeClear?n.width=n.width:e.context.clearRect(0,0,n.width,n.height),e.drawing(e.context,t,this.color)},play:function(){var n=this;this.pause(),this.interval=t(function(){for(var e=Date.now(),t=n.list.length;t--;)n.draw(n.list[t],e)},1e3/60)},pause:function(){this.interval&&(n(this.interval),this.interval=null)}},o}},{}],32:[function(e,i,t){!function(e){"use strict";function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var t,n,o,a,l,u,c,h,d,f,p,g,m,v,y,b,_,w,x,S,C,E,k,M,D;!function(t){var r="object"===(void 0===e?"undefined":s(e))?e:"object"===("undefined"==typeof self?"undefined":s(self))?self:"object"===s(this)?this:{};function n(n,i){return n!==r&&("function"==typeof Object.create?Object.defineProperty(n,"__esModule",{value:!0}):n.__esModule=!0),function(e,t){return n[e]=i?i(e,t):t}}"function"==typeof define&&define.amd?define("tslib",["exports"],function(e){t(n(r,n(e)))}):"object"===(void 0===i?"undefined":s(i))&&"object"===s(i.exports)?t(n(r,n(i.exports))):t(n(r))}(function(e){var i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r=(t=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},n=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},o=function(e,t){var n={};for(r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n},a=function(e,t,n,i){var r,o=arguments.length,a=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===("undefined"==typeof Reflect?"undefined":s(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var l=e.length-1;0<=l;l--)(r=e[l])&&(a=(o<3?r(a):3<o?r(t,n,a):r(t,n))||a);return 3<o&&a&&Object.defineProperty(t,n,a),a},l=function(n,i){return function(e,t){i(e,t,n)}},u=function(e,t){if("object"===("undefined"==typeof Reflect?"undefined":s(Reflect))&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},c=function(e,a,l,s){return new(l=l||Promise)(function(n,t){function i(e){try{o(s.next(e))}catch(e){t(e)}}function r(e){try{o(s.throw(e))}catch(e){t(e)}}function o(e){var t;e.done?n(e.value):((t=e.value)instanceof l?t:new l(function(e){e(t)})).then(i,r)}o((s=s.apply(e,a||[])).next())})},h=function(i,r){var o,a,l,s={label:0,sent:function(){if(1&l[0])throw l[1];return l[1]},trys:[],ops:[]},e={next:t(0),throw:t(1),return:t(2)};return"function"==typeof Symbol&&(e[Symbol.iterator]=function(){return this}),e;function t(n){return function(e){var t=[n,e];if(o)throw new TypeError("Generator is already executing.");for(;s;)try{if(o=1,a&&(l=2&t[0]?a.return:t[0]?a.throw||((l=a.return)&&l.call(a),0):a.next)&&!(l=l.call(a,t[1])).done)return l;switch(a=0,(t=l?[2&t[0],l.value]:t)[0]){case 0:case 1:l=t;break;case 4:return s.label++,{value:t[1],done:!1};case 5:s.label++,a=t[1],t=[0];continue;case 7:t=s.ops.pop(),s.trys.pop();continue;default:if(!(l=0<(l=s.trys).length&&l[l.length-1])&&(6===t[0]||2===t[0])){s=0;continue}if(3===t[0]&&(!l||t[1]>l[0]&&t[1]<l[3])){s.label=t[1];break}if(6===t[0]&&s.label<l[1]){s.label=l[1],l=t;break}if(l&&s.label<l[2]){s.label=l[2],s.ops.push(t);break}l[2]&&s.ops.pop(),s.trys.pop();continue}t=r.call(i,s)}catch(e){t=[6,e],a=0}finally{o=l=0}if(5&t[0])throw t[1];return{value:t[0]?t[1]:void 0,done:!0}}}},d=function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||D(t,e,n)},D=Object.create?function(e,t,n,i){void 0===i&&(i=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&("get"in r?t.__esModule:!r.writable&&!r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,i,r)}:function(e,t,n,i){e[i=void 0===i?n:i]=t[n]},f=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],i=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return{value:(e=e&&i>=e.length?void 0:e)&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},p=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,r,o=n.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(i=o.next()).done;)a.push(i.value)}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return a},g=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(p(arguments[t]));return e},m=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;for(var i=Array(e),r=0,t=0;t<n;t++)for(var o=arguments[t],a=0,l=o.length;a<l;a++,r++)i[r]=o[a];return i},v=function(e,t,n){if(n||2===arguments.length)for(var i,r=0,o=t.length;r<o;r++)!i&&r in t||((i=i||Array.prototype.slice.call(t,0,r))[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))},y=function(e){return this instanceof y?(this.v=e,this):new y(e)},b=function(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o=[],a={};return i("next"),i("throw"),i("return"),a[Symbol.asyncIterator]=function(){return this},a;function i(i){r[i]&&(a[i]=function(n){return new Promise(function(e,t){1<o.push([i,n,e,t])||l(i,n)})})}function l(e,t){try{(n=r[e](t)).value instanceof y?Promise.resolve(n.value.v).then(s,u):c(o[0][2],n)}catch(e){c(o[0][3],e)}var n}function s(e){l("next",e)}function u(e){l("throw",e)}function c(e,t){e(t),o.shift(),o.length&&l(o[0][0],o[0][1])}},_=function(i){var r,e={};return t("next"),t("throw",function(e){throw e}),t("return"),e[Symbol.iterator]=function(){return this},e;function t(t,n){e[t]=i[t]?function(e){return(r=!r)?{value:y(i[t](e)),done:"return"===t}:n?n(e):e}:n}},w=function(a){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,t=a[Symbol.asyncIterator];return t?t.call(a):(a=f(a),e={},n("next"),n("throw"),n("return"),e[Symbol.asyncIterator]=function(){return this},e);function n(o){e[o]=a[o]&&function(r){return new Promise(function(e,t){var n,i;r=a[o](r),n=e,e=t,i=r.done,t=r.value,Promise.resolve(t).then(function(e){n({value:e,done:i})},e)})}}},x=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t});S=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&D(t,e,n);return r(t,e),t},C=function(e){return e&&e.__esModule?e:{default:e}},E=function(e,t,n,i){if("a"===n&&!i)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e===t&&i:t.has(e))return"m"===n?i:"a"===n?i.call(e):i?i.value:t.get(e);throw new TypeError("Cannot read private member from an object whose class did not declare it")},k=function(e,t,n,i,r){if("m"===i)throw new TypeError("Private method is not writable");if("a"===i&&!r)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e===t&&r:t.has(e))return"a"===i?r.call(e,n):r?r.value=n:t.set(e,n),n;throw new TypeError("Cannot write private member to an object whose class did not declare it")},M=function(e,t){if(null===t||"object"!==s(t)&&"function"!=typeof t)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)},e("__extends",t),e("__assign",n),e("__rest",o),e("__decorate",a),e("__param",l),e("__metadata",u),e("__awaiter",c),e("__generator",h),e("__exportStar",d),e("__createBinding",D),e("__values",f),e("__read",p),e("__spread",g),e("__spreadArrays",m),e("__spreadArray",v),e("__await",y),e("__asyncGenerator",b),e("__asyncDelegator",_),e("__asyncValues",w),e("__makeTemplateObject",x),e("__importStar",S),e("__importDefault",C),e("__classPrivateFieldGet",E),e("__classPrivateFieldSet",k),e("__classPrivateFieldIn",M)})}.call(this,"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],33:[function(e,t,n){"use strict";var i,r,o=(o=e("chart.js"))&&o.__esModule?o:{default:o},e=e("../../constants/colors");(r=document.getElementById("line-chart"))&&(i=r.getContext("2d"),r.height=80,new o.default(i,{type:"line",data:{labels:["January","February","March","April","May","June","July"],datasets:[{label:"Series A",backgroundColor:"rgba(237, 231, 246, 0.5)",borderColor:e.COLORS["deep-purple-500"],pointBackgroundColor:e.COLORS["deep-purple-700"],borderWidth:2,data:[60,50,70,60,50,70,60]},{label:"Series B",backgroundColor:"rgba(232, 245, 233, 0.5)",borderColor:e.COLORS["blue-500"],pointBackgroundColor:e.COLORS["blue-700"],borderWidth:2,data:[70,75,85,70,75,85,70]}]},options:{legend:{display:!1}}})),(r=document.getElementById("bar-chart"))&&(i=r.getContext("2d"),new o.default(i,{type:"bar",data:{labels:["January","February","March","April","May","June","July"],datasets:[{label:"Dataset 1",backgroundColor:e.COLORS["deep-purple-500"],borderColor:e.COLORS["deep-purple-800"],borderWidth:1,data:[10,50,20,40,60,30,70]},{label:"Dataset 2",backgroundColor:e.COLORS["light-blue-500"],borderColor:e.COLORS["light-blue-800"],borderWidth:1,data:[10,50,20,40,60,30,70]}]},options:{responsive:!0,legend:{position:"bottom"}}})),(r=document.getElementById("area-chart"))&&(i=r.getContext("2d"),new o.default(i,{type:"line",data:{labels:["January","February","March","April","May","June","July"],datasets:[{backgroundColor:"rgba(3, 169, 244, 0.5)",borderColor:e.COLORS["light-blue-800"],data:[10,50,20,40,60,30,70],label:"Dataset",fill:"start"}]}})),(r=document.getElementById("scatter-chart"))&&(i=r.getContext("2d"),new o.default(i,{type:"scatter",data:{datasets:[{label:"My First dataset",borderColor:e.COLORS["red-500"],backgroundColor:e.COLORS["red-500"],data:[{x:10,y:20},{x:30,y:40},{x:50,y:60},{x:70,y:80},{x:90,y:100},{x:110,y:120},{x:130,y:140}]},{label:"My Second dataset",borderColor:e.COLORS["green-500"],backgroundColor:e.COLORS["green-500"],data:[{x:150,y:160},{x:170,y:180},{x:190,y:200},{x:210,y:220},{x:230,y:240},{x:250,y:260},{x:270,y:280}]}]}}))},{"../../constants/colors":38,"chart.js":13}],34:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0,e("easy-pie-chart/dist/jquery.easypiechart.min.js");e=e("jquery");0<e(".easy-pie-chart").length&&e(".easy-pie-chart").easyPieChart({onStep:function(e,t,n){this.el.children[0].innerHTML="".concat(Math.round(n)," %")}});n.default=void 0},{"easy-pie-chart/dist/jquery.easypiechart.min.js":15,jquery:20}],35:[function(e,t,n){"use strict";e("./chartJS"),e("./easyPieChart"),e("./sparkline")},{"./chartJS":33,"./easyPieChart":34,"./sparkline":36}],36:[function(e,t,n){"use strict";e("jquery-sparkline");var i=e("lodash"),e=e("../../constants/colors");function r(){0<$("#sparklinedash").length&&$("#sparklinedash").sparkline([0,5,6,10,9,12,4,9],{type:"bar",height:"20",barWidth:"3",resize:!0,barSpacing:"3",barColor:"#4caf50"}),0<$("#sparklinedash2").length&&$("#sparklinedash2").sparkline([0,5,6,10,9,12,4,9],{type:"bar",height:"20",barWidth:"3",resize:!0,barSpacing:"3",barColor:"#9675ce"}),0<$("#sparklinedash3").length&&$("#sparklinedash3").sparkline([0,5,6,10,9,12,4,9],{type:"bar",height:"20",barWidth:"3",resize:!0,barSpacing:"3",barColor:"#03a9f3"}),0<$("#sparklinedash4").length&&$("#sparklinedash4").sparkline([0,5,6,10,9,12,4,9],{type:"bar",height:"20",barWidth:"3",resize:!0,barSpacing:"3",barColor:"#f96262"})}r(),$(window).resize((0,i.debounce)(r,150)),$("#sparkline").sparkline([5,6,7,9,9,5,3,2,2,4,6,7],{type:"line",resize:!0,height:"20"}),$("#compositebar").sparkline("html",{type:"bar",resize:!0,barColor:"#aaf",height:"20"}),$("#compositebar").sparkline([4,1,5,7,9,9,8,7,6,6,4,7,8,4,3,2,2,5,6,7],{composite:!0,fillColor:!1,lineColor:"red",resize:!0,height:"20"}),$("#normalline").sparkline("html",{fillColor:!1,normalRangeMin:-1,resize:!0,normalRangeMax:8,height:"20"}),$(".sparktristate").sparkline("html",{type:"tristate",resize:!0,height:"20"}),$(".sparktristatecols").sparkline("html",{type:"tristate",colorMap:{"-2":"#fa7",resize:!0,2:"#44f",height:"20"}}),i=[5,4,5,-2,0,3,-5,6,7,9,9,5,-3,-2,2,-4],$(".sparkline").sparkline(i,{type:"line",barWidth:4,barSpacing:5,fillColor:"",lineColor:e.COLORS["red-500"],lineWidth:2,spotRadius:3,spotColor:e.COLORS["red-500"],maxSpotColor:e.COLORS["red-500"],minSpotColor:e.COLORS["red-500"],highlightSpotColor:e.COLORS["red-500"],highlightLineColor:"",tooltipSuffix:" Bzzt",tooltipPrefix:"Hello ",width:100,height:void 0,barColor:"9f0",negBarColor:"ff0",stackedBarColor:["ff0","9f0","999","f60"],sliceColors:["ff0","9f0","000","f60"],offset:"30",borderWidth:1,borderColor:"000"}),$(".sparkbar").sparkline(i,{type:"bar",barWidth:4,barSpacing:1,fillColor:"",lineColor:e.COLORS["deep-purple-500"],tooltipSuffix:"Celsius",width:100,barColor:"39f",negBarColor:e.COLORS["deep-purple-500"],stackedBarColor:["ff0","9f0","999","f60"],sliceColors:["ff0","9f0","000","f60"],offset:"30",borderWidth:1,borderColor:"000"}),$(".sparktri").sparkline([1,1,0,1,-1,-1,1,-1,0,0,1,1],{type:"tristate",barWidth:4,barSpacing:1,fillColor:"",lineColor:e.COLORS["light-blue-500"],tooltipSuffix:"Celsius",width:100,barColor:e.COLORS["light-blue-500"],posBarColor:e.COLORS["light-blue-500"],negBarColor:"f90",zeroBarColor:"000",stackedBarColor:["ff0","9f0","999","f60"],sliceColors:["ff0","9f0","000","f60"],offset:"30",borderWidth:1,borderColor:"000"}),$(".sparkdisc").sparkline(i,{type:"discrete",barWidth:4,barSpacing:5,fillColor:"",lineColor:"9f0",tooltipSuffix:"Celsius",width:100,barColor:"9f0",negBarColor:"f90",stackedBarColor:["ff0","9f0","999","f60"],sliceColors:["ff0","9f0","000","f60"],offset:"30",borderWidth:1,borderColor:"000"}),$(".sparkbull").sparkline(i,{type:"bullet",barWidth:4,barSpacing:5,fillColor:"",lineColor:e.COLORS["amber-500"],tooltipSuffix:"Celsius",height:"auto",width:"auto",targetWidth:"auto",barColor:e.COLORS["amber-500"],negBarColor:"ff0",stackedBarColor:["ff0","9f0","999","f60"],sliceColors:["ff0","9f0","000","f60"],offset:"30",borderWidth:1,borderColor:"000"}),$(".sparkbox").sparkline(i,{type:"box",barWidth:4,barSpacing:5,fillColor:"",lineColor:"9f0",tooltipSuffix:"Celsius",width:100,barColor:"9f0",negBarColor:"ff0",stackedBarColor:["ff0","9f0","999","f60"],sliceColors:["ff0","9f0","000","f60"],offset:"30",borderWidth:1,borderColor:"000"})},{"../../constants/colors":38,"jquery-sparkline":19,lodash:22}],37:[function(e,t,n){"use strict";$("#chat-sidebar-toggle").on("click",function(e){$("#chat-sidebar").toggleClass("open"),e.preventDefault()})},{}],38:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.GREYS=n.COLORS=void 0;n.COLORS={white:"#ffffff","red-50":"#ffebee","red-100":"#ffcdd2","red-200":"#ef9a9a","red-300":"#e57373","red-400":"#ef5350","red-500":"#f44336","red-600":"#e53935","red-700":"#d32f2f","red-800":"#c62828","red-900":"#b71c1c","red-a100":"#ff8a80","red-a200":"#ff5252","red-a400":"#ff1744","red-a700":"#d50000","pink-50":"#fce4ec","pink-100":"#f8bbd0","pink-200":"#f48fb1","pink-300":"#f06292","pink-400":"#ec407a","pink-500":"#e91e63","pink-600":"#d81b60","pink-700":"#c2185b","pink-800":"#ad1457","pink-900":"#880e4f","pink-a100":"#ff80ab","pink-a200":"#ff4081","pink-a400":"#f50057","pink-a700":"#c51162","purple-50":"#f3e5f5","purple-100":"#e1bee7","purple-200":"#ce93d8","purple-300":"#ba68c8","purple-400":"#ab47bc","purple-500":"#9c27b0","purple-600":"#8e24aa","purple-700":"#7b1fa2","purple-800":"#6a1b9a","purple-900":"#4a148c","purple-a100":"#ea80fc","purple-a200":"#e040fb","purple-a400":"#d500f9","purple-a700":"#aa00ff","deep-purple-50":"#ede7f6","deep-purple-100":"#d1c4e9","deep-purple-200":"#b39ddb","deep-purple-300":"#9575cd","deep-purple-400":"#7e57c2","deep-purple-500":"#673ab7","deep-purple-600":"#5e35b1","deep-purple-700":"#512da8","deep-purple-800":"#4527a0","deep-purple-900":"#311b92","deep-purple-a100":"#b388ff","deep-purple-a200":"#7c4dff","deep-purple-a400":"#651fff","deep-purple-a700":"#6200ea","indigo-50":"#e8eaf6","indigo-100":"#c5cae9","indigo-200":"#9fa8da","indigo-300":"#7986cb","indigo-400":"#5c6bc0","indigo-500":"#3f51b5","indigo-600":"#3949ab","indigo-700":"#303f9f","indigo-800":"#283593","indigo-900":"#1a237e","indigo-a100":"#8c9eff","indigo-a200":"#536dfe","indigo-a400":"#3d5afe","indigo-a700":"#304ffe","blue-50":"#e3f2fd","blue-100":"#bbdefb","blue-200":"#90caf9","blue-300":"#64b5f6","blue-400":"#42a5f5","blue-500":"#2196f3","blue-600":"#1e88e5","blue-700":"#1976d2","blue-800":"#1565c0","blue-900":"#0d47a1","blue-a100":"#82b1ff","blue-a200":"#448aff","blue-a400":"#2979ff","blue-a700":"#2962ff","light-blue-50":"#e1f5fe","light-blue-100":"#b3e5fc","light-blue-200":"#81d4fa","light-blue-300":"#4fc3f7","light-blue-400":"#29b6f6","light-blue-500":"#03a9f4","light-blue-600":"#039be5","light-blue-700":"#0288d1","light-blue-800":"#0277bd","light-blue-900":"#01579b","light-blue-a100":"#80d8ff","light-blue-a200":"#40c4ff","light-blue-a400":"#00b0ff","light-blue-a700":"#0091ea","cyan-50":"#e0f7fa","cyan-100":"#b2ebf2","cyan-200":"#80deea","cyan-300":"#4dd0e1","cyan-400":"#26c6da","cyan-500":"#00bcd4","cyan-600":"#00acc1","cyan-700":"#0097a7","cyan-800":"#00838f","cyan-900":"#006064","cyan-a100":"#84ffff","cyan-a200":"#18ffff","cyan-a400":"#00e5ff","cyan-a700":"#00b8d4","teal-50":"#e0f2f1","teal-100":"#b2dfdb","teal-200":"#80cbc4","teal-300":"#4db6ac","teal-400":"#26a69a","teal-500":"#009688","teal-600":"#00897b","teal-700":"#00796b","teal-800":"#00695c","teal-900":"#004d40","teal-a100":"#a7ffeb","teal-a200":"#64ffda","teal-a400":"#1de9b6","teal-a700":"#00bfa5","green-50":"#e8f5e9","green-100":"#c8e6c9","green-200":"#a5d6a7","green-300":"#81c784","green-400":"#66bb6a","green-500":"#4caf50","green-600":"#43a047","green-700":"#388e3c","green-800":"#2e7d32","green-900":"#1b5e20","green-a100":"#b9f6ca","green-a200":"#69f0ae","green-a400":"#00e676","green-a700":"#00c853","light-green-50":"#f1f8e9","light-green-100":"#dcedc8","light-green-200":"#c5e1a5","light-green-300":"#aed581","light-green-400":"#9ccc65","light-green-500":"#8bc34a","light-green-600":"#7cb342","light-green-700":"#689f38","light-green-800":"#558b2f","light-green-900":"#33691e","light-green-a100":"#ccff90","light-green-a200":"#b2ff59","light-green-a400":"#76ff03","light-green-a700":"#64dd17","lime-50":"#f9fbe7","lime-100":"#f0f4c3","lime-200":"#e6ee9c","lime-300":"#dce775","lime-400":"#d4e157","lime-500":"#cddc39","lime-600":"#c0ca33","lime-700":"#afb42b","lime-800":"#9e9d24","lime-900":"#827717","lime-a100":"#f4ff81","lime-a200":"#eeff41","lime-a400":"#c6ff00","lime-a700":"#aeea00","yellow-50":"#fffde7","yellow-100":"#fff9c4","yellow-200":"#fff59d","yellow-300":"#fff176","yellow-400":"#ffee58","yellow-500":"#ffeb3b","yellow-600":"#fdd835","yellow-700":"#fbc02d","yellow-800":"#f9a825","yellow-900":"#f57f17","yellow-a100":"#ffff8d","yellow-a200":"#ffff00","yellow-a400":"#ffea00","yellow-a700":"#ffd600","amber-50":"#fff8e1","amber-100":"#ffecb3","amber-200":"#ffe082","amber-300":"#ffd54f","amber-400":"#ffca28","amber-500":"#ffc107","amber-600":"#ffb300","amber-700":"#ffa000","amber-800":"#ff8f00","amber-900":"#ff6f00","amber-a100":"#ffe57f","amber-a200":"#ffd740","amber-a400":"#ffc400","amber-a700":"#ffab00","orange-50":"#fff3e0","orange-100":"#ffe0b2","orange-200":"#ffcc80","orange-300":"#ffb74d","orange-400":"#ffa726","orange-500":"#ff9800","orange-600":"#fb8c00","orange-700":"#f57c00","orange-800":"#ef6c00","orange-900":"#e65100","orange-a100":"#ffd180","orange-a200":"#ffab40","orange-a400":"#ff9100","orange-a700":"#ff6d00","deep-orange-50":"#fbe9e7","deep-orange-100":"#ffccbc","deep-orange-200":"#ffab91","deep-orange-300":"#ff8a65","deep-orange-400":"#ff7043","deep-orange-500":"#ff5722","deep-orange-600":"#f4511e","deep-orange-700":"#e64a19","deep-orange-800":"#d84315","deep-orange-900":"#bf360c","deep-orange-a100":"#ff9e80","deep-orange-a200":"#ff6e40","deep-orange-a400":"#ff3d00","deep-orange-a700":"#dd2c00","brown-50":"#efebe9","brown-100":"#d7ccc8","brown-200":"#bcaaa4","brown-300":"#a1887f","brown-400":"#8d6e63","brown-500":"#795548","brown-600":"#6d4c41","brown-700":"#5d4037","brown-800":"#4e342e","brown-900":"#3e2723","grey-50":"#fafafa","grey-100":"#f5f5f5","grey-200":"#eeeeee","grey-300":"#e0e0e0","grey-400":"#bdbdbd","grey-500":"#9e9e9e","grey-600":"#757575","grey-700":"#616161","grey-800":"#424242","grey-900":"#212121","blue-grey-50":"#eceff1","blue-grey-100":"#cfd8dc","blue-grey-200":"#b0bec5","blue-grey-300":"#90a4ae","blue-grey-400":"#78909c","blue-grey-500":"#607d8b","blue-grey-600":"#546e7a","blue-grey-700":"#455a64","blue-grey-800":"#37474f","blue-grey-900":"#263238"};n.GREYS={"grey-100":"#f9fafb","grey-200":"#f2f3f5","grey-300":"#e6eaf0","grey-400":"#d3d9e3","grey-500":"#b9c2d0","grey-600":"#7c8695","grey-700":"#72777a","grey-800":"#565a5c","grey-900":"#313435"}},{}],39:[function(e,t,n){"use strict";$("#dataTable").DataTable()},{}],40:[function(e,t,n){"use strict";e("bootstrap-datepicker/dist/js/bootstrap-datepicker.min.js"),$(".start-date").datepicker,$(".end-date").datepicker},{"bootstrap-datepicker/dist/js/bootstrap-datepicker.min.js":10}],41:[function(e,t,n){"use strict";$(".email-side-toggle").on("click",function(e){$(".email-app").toggleClass("side-active"),e.preventDefault()}),$(".email-list-item, .back-to-mailbox").on("click",function(e){$(".email-content").toggleClass("open"),e.preventDefault()})},{}],42:[function(e,t,n){"use strict";var i=e("@fullcalendar/core"),r=s(e("@fullcalendar/interaction")),o=s(e("@fullcalendar/daygrid")),a=s(e("@fullcalendar/timegrid")),l=s(e("@fullcalendar/list"));function s(e){return e&&e.__esModule?e:{default:e}}document.addEventListener("DOMContentLoaded",function(){var e=document.getElementById("calendar");new i.Calendar(e,{plugins:[r.default,o.default,a.default,l.default],headerToolbar:{left:"prev,next today",center:"title",right:"dayGridMonth,timeGridWeek,timeGridDay,listWeek"},initialDate:"2018-01-12",navLinks:!0,editable:!0,dayMaxEvents:!0,events:[{title:"All Day Event",start:"2018-01-01"},{title:"Long Event",start:"2018-01-07",end:"2018-01-10"},{groupId:999,title:"Repeating Event",start:"2018-01-09T16:00:00"},{groupId:999,title:"Repeating Event",start:"2018-01-16T16:00:00"},{title:"Conference",start:"2018-01-11",end:"2018-01-13"},{title:"Meeting",start:"2018-01-12T10:30:00",end:"2018-01-12T12:30:00"},{title:"Lunch",start:"2018-01-12T12:00:00"},{title:"Meeting",start:"2018-01-12T14:30:00"},{title:"Happy Hour",start:"2018-01-12T17:30:00"},{title:"Dinner",start:"2018-01-12T20:00:00"},{title:"Birthday Party",start:"2018-01-13T07:00:00"},{title:"Click for Google",url:"http://google.com/",start:"2018-01-28"}]}).render()})},{"@fullcalendar/core":3,"@fullcalendar/daygrid":5,"@fullcalendar/interaction":6,"@fullcalendar/list":7,"@fullcalendar/timegrid":8}],43:[function(e,t,n){"use strict";e=(e=e("load-google-maps-api"))&&e.__esModule?e:{default:e};0<$("#google-map").length&&(0,e.default)({key:"AIzaSyDW8td30_gj6sGXjiMU0ALeMu1SDEwUnEA"}).then(function(){var e=window.google,t={center:new e.maps.LatLng(26.8206,30.8025),zoom:5,mapTypeId:e.maps.MapTypeId.ROADMAP,styles:[{featureType:"landscape",stylers:[{hue:"#FFBB00"},{saturation:43.400000000000006},{lightness:37.599999999999994},{gamma:1}]},{featureType:"road.highway",stylers:[{hue:"#FFC200"},{saturation:-61.8},{lightness:45.599999999999994},{gamma:1}]},{featureType:"road.arterial",stylers:[{hue:"#FF0300"},{saturation:-100},{lightness:51.19999999999999},{gamma:1}]},{featureType:"road.local",stylers:[{hue:"#FF0300"},{saturation:-100},{lightness:52},{gamma:1}]},{featureType:"water",stylers:[{hue:"#0078FF"},{saturation:-13.200000000000003},{lightness:2.4000000000000057},{gamma:1}]},{featureType:"poi",stylers:[{hue:"#00FF6A"},{saturation:-1.0989010989011234},{lightness:11.200000000000017},{gamma:1}]}]},t=new e.maps.Map(document.getElementById("google-map"),t);new e.maps.Marker({map:t,position:new e.maps.LatLng(26.8206,30.8025),visible:!0})})},{"load-google-maps-api":21}],44:[function(e,t,n){"use strict";var i;(i=e("bootstrap"))&&i.__esModule;e("./fullcalendar"),e("./masonry"),e("./charts"),e("./popover"),e("./scrollbar"),e("./search"),e("./sidebar"),e("./skycons"),e("./vectorMaps"),e("./chat"),e("./datatable"),e("./datepicker"),e("./email"),e("./googleMaps"),e("./utils")},{"./charts":35,"./chat":37,"./datatable":39,"./datepicker":40,"./email":41,"./fullcalendar":42,"./googleMaps":43,"./masonry":45,"./popover":46,"./scrollbar":47,"./search":48,"./sidebar":49,"./skycons":50,"./utils":51,"./vectorMaps":52,bootstrap:11}],45:[function(e,t,n){"use strict";var i,r=(i=e("masonry-layout"))&&i.__esModule?i:{default:i};var o=e("jquery");window.addEventListener("load",function(){0<o(".masonry").length&&new r.default(".masonry",{itemSelector:".masonry-item",columnWidth:".masonry-sizer",percentPosition:!0})})},{jquery:20,"masonry-layout":23}],46:[function(e,t,n){"use strict";function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!=typeof e)return{default:e};t=l(t);if(t&&t.has(e))return t.get(e);var n,i={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(n in e){var o;"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&((o=r?Object.getOwnPropertyDescriptor(e,n):null)&&(o.get||o.set)?Object.defineProperty(i,n,o):i[n]=e[n])}i.default=e,t&&t.set(e,i);return i}(e("bootstrap"));function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(l=function(e){return e?n:t})(e)}[].slice.call(document.querySelectorAll('[data-bs-toggle="popover"]')).map(function(e){return new i.Popover(e)}),[].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]')).map(function(e){return new i.Tooltip(e)})},{bootstrap:11}],47:[function(e,t,n){"use strict";var i=(e=e("perfect-scrollbar"))&&e.__esModule?e:{default:e};0<(e=$(".scrollable")).length&&e.each(function(e,t){new i.default(t)})},{"perfect-scrollbar":27}],48:[function(e,t,n){"use strict";$(".search-toggle").on("click",function(e){$(".search-box, .search-input").toggleClass("active"),$(".search-input input").focus(),e.preventDefault()})},{}],49:[function(e,t,n){"use strict";$(".sidebar .sidebar-menu li a").on("click",function(){var e=$(this);e.parent().hasClass("open")?e.parent().children(".dropdown-menu").slideUp(200,function(){e.parent().removeClass("open")}):(e.parent().parent().children("li.open").children(".dropdown-menu").slideUp(200),e.parent().parent().children("li.open").children("a").removeClass("open"),e.parent().parent().children("li.open").removeClass("open"),e.parent().children(".dropdown-menu").slideDown(200,function(){e.parent().addClass("open")}))}),$(".sidebar").find(".sidebar-link").each(function(e,t){$(t).removeClass("active")}).filter(function(){var e=$(this).attr("href");return("/"===e[0]?e.substr(1):e)===window.location.pathname.substr(1)}).addClass("active"),$(".sidebar-toggle").on("click",function(e){$(".app").toggleClass("is-collapsed"),e.preventDefault()}),$("#sidebar-toggle").click(function(e){e.preventDefault(),setTimeout(function(){window.dispatchEvent(window.EVENT)},300)})},{}],50:[function(e,t,n){"use strict";for(var i=new((0,((e=e("skycons"))&&e.__esModule?e:{default:e}).default)(window))({color:"#ff6849"}),r=["clear-day","clear-night","partly-cloudy-day","partly-cloudy-night","cloudy","rain","sleet","snow","wind","fog"],o=r.length;o--;)for(var a=r[o],l=document.getElementsByClassName(a),s=l.length;s--;)i.set(l[s],a);i.play()},{skycons:31}],51:[function(e,t,n){"use strict";var i;i=document.createEvent("UIEvents"),(window.EVENT=i).initUIEvent("resize",!0,!1,window,0),window.addEventListener("load",function(){window.dispatchEvent(i)}),$("a").filter('[href^="http"], [href^="//"]').not('[href*="'.concat(window.location.host,'"]')).attr("rel","noopener noreferrer").attr("target","_blank"),document.addEventListener("click",function(){window.dispatchEvent(window.EVENT)})},{}],52:[function(e,t,n){"use strict";e("./jquery-jvectormap-2.0.5.min.js"),e("./jquery-jvectormap-world-mill.js");e("lodash");$(void(0<$("#world-map-marker").length&&($("#vmap").remove(),$("#world-map-marker").append('\n <div\n id="vmap"\n style="\n height: 490px;\n position: relative;\n overflow: hidden;\n background-color: transparent;\n "\n >\n </div>\n '),$("#vmap").vectorMap({map:"world_mill",backgroundColor:"#fff",borderColor:"#fff",borderOpacity:.25,borderWidth:0,color:"#e6e6e6",regionStyle:{initial:{fill:"#e4ecef"}},markerStyle:{initial:{r:7,fill:"#fff","fill-opacity":1,stroke:"#000","stroke-width":2,"stroke-opacity":.4}},markers:[{latLng:[21,78],name:"INDIA : 350"},{latLng:[-33,151],name:"Australia : 250"},{latLng:[36.77,-119.41],name:"USA : 250"},{latLng:[55.37,-3.41],name:"UK : 250"},{latLng:[25.2,55.27],name:"UAE : 250"}],series:{regions:[{values:{US:298,SA:200,AU:760,IN:200,GB:120},scale:["#03a9f3","#02a7f1"],normalizeFunction:"polynomial"}]},hoverOpacity:null,normalizeFunction:"linear",zoomOnScroll:!1,scaleColors:["#b6d6ff","#005ace"],selectedColor:"#c9dfaf",selectedRegions:[],enableZoom:!0,hoverColor:"#fff",zoomStep:1.6}))))},{"./jquery-jvectormap-2.0.5.min.js":53,"./jquery-jvectormap-world-mill.js":54,lodash:22}],53:[function(e,t,n){"use strict";function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}i=jQuery,r={set:{colors:1,values:1,backgroundColor:1,scaleColors:1,normalizeFunction:1,focus:1},get:{selectedRegions:1,selectedMarkers:1,mapObject:1,regionName:1}},i.fn.vectorMap=function(e){var t=this.children(".jvectormap-container").data("mapObject");if("addMap"===e)b.Map.maps[arguments[1]]=arguments[2];else{if(("set"===e||"get"===e)&&r[e][arguments[1]])return t[e+(arguments[1].charAt(0).toUpperCase()+arguments[1].substr(1))].apply(t,Array.prototype.slice.call(arguments,2));(e=e||{}).container=this,t=new b.Map(e)}return this},i=function(l){var s,u,e=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],t="onwheel"in document||9<=document.documentMode?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],c=Array.prototype.slice;if(l.event.fixHooks)for(var n=e.length;n;)l.event.fixHooks[e[--n]]=l.event.mouseHooks;var i=l.event.special.mousewheel={version:"3.1.9",setup:function(){if(this.addEventListener)for(var e=t.length;e;)this.addEventListener(t[--e],r,!1);else this.onmousewheel=r;l.data(this,"mousewheel-line-height",i.getLineHeight(this)),l.data(this,"mousewheel-page-height",i.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var e=t.length;e;)this.removeEventListener(t[--e],r,!1);else this.onmousewheel=null},getLineHeight:function(e){return parseInt(l(e)["offsetParent"in l.fn?"offsetParent":"parent"]().css("fontSize"),10)},getPageHeight:function(e){return l(e).height()},settings:{adjustOldDeltas:!0}};function r(e){var t,n=e||window.event,i=c.call(arguments,1),r=0,o=0,a=0;if((e=l.event.fix(n)).type="mousewheel","detail"in n&&(a=-1*n.detail),"wheelDelta"in n&&(a=n.wheelDelta),"wheelDeltaY"in n&&(a=n.wheelDeltaY),"wheelDeltaX"in n&&(o=-1*n.wheelDeltaX),"axis"in n&&n.axis===n.HORIZONTAL_AXIS&&(o=-1*a,a=0),r=0===a?o:a,"deltaY"in n&&(r=a=-1*n.deltaY),"deltaX"in n&&(o=n.deltaX,0===a&&(r=-1*o)),0!==a||0!==o)return 1===n.deltaMode?(r*=t=l.data(this,"mousewheel-line-height"),a*=t,o*=t):2===n.deltaMode&&(r*=t=l.data(this,"mousewheel-page-height"),a*=t,o*=t),t=Math.max(Math.abs(a),Math.abs(o)),(!u||t<u)&&d(n,u=t)&&(u/=40),d(n,t)&&(r/=40,o/=40,a/=40),r=Math[1<=r?"floor":"ceil"](r/u),o=Math[1<=o?"floor":"ceil"](o/u),a=Math[1<=a?"floor":"ceil"](a/u),e.deltaX=o,e.deltaY=a,e.deltaFactor=u,e.deltaMode=0,i.unshift(e,r,o,a),s&&clearTimeout(s),s=setTimeout(h,200),(l.event.dispatch||l.event.handle).apply(this,i)}function h(){u=null}function d(e,t){return i.settings.adjustOldDeltas&&"mousewheel"===e.type&&t%120==0}l.fn.extend({mousewheel:function(e){return e?this.bind("mousewheel",e):this.trigger("mousewheel")},unmousewheel:function(e){return this.unbind("mousewheel",e)}})},"function"==typeof define&&define.amd?define(["jquery"],i):"object"==(void 0===n?"undefined":a(n))?t.exports=i:i(jQuery);var i,r,b={inherits:function(e,t){function n(){}n.prototype=t.prototype,e.prototype=new n,(e.prototype.constructor=e).parentClass=t},mixin:function(e,t){for(var n in t.prototype)t.prototype.hasOwnProperty(n)&&(e.prototype[n]=t.prototype[n])},min:function(e){var t,n=Number.MAX_VALUE;if(e instanceof Array)for(t=0;t<e.length;t++)e[t]<n&&(n=e[t]);else for(t in e)e[t]<n&&(n=e[t]);return n},max:function(e){var t,n=Number.MIN_VALUE;if(e instanceof Array)for(t=0;t<e.length;t++)e[t]>n&&(n=e[t]);else for(t in e)e[t]>n&&(n=e[t]);return n},keys:function(e){var t,n=[];for(t in e)n.push(t);return n},values:function(e){for(var t,n=[],i=0;i<arguments.length;i++)for(t in e=arguments[i])n.push(e[t]);return n},whenImageLoaded:function(e){var t=new b.$.Deferred,n=b.$("<img/>");return n.on("error",function(){t.reject()}).on("load",function(){t.resolve(n)}),n.attr("src",e),t},isImageUrl:function(e){return/\.\w{3,4}$/.test(e)}};b.$=jQuery,Array.prototype.indexOf||(Array.prototype.indexOf=function(e,t){var n;if(null==this)throw new TypeError('"this" is null or not defined');var i=Object(this),r=i.length>>>0;if(0!=r){t=+t||0;if(!(r<=(t=Math.abs(t)===1/0?0:t)))for(n=Math.max(0<=t?t:r-Math.abs(t),0);n<r;){if(n in i&&i[n]===e)return n;n++}}return-1}),b.AbstractElement=function(e,t){this.node=this.createElement(e),this.name=e,this.properties={},t&&this.set(t)},b.AbstractElement.prototype.set=function(e,t){if("object"==a(e))for(var n in e)this.properties[n]=e[n],this.applyAttr(n,e[n]);else this.properties[e]=t,this.applyAttr(e,t)},b.AbstractElement.prototype.get=function(e){return this.properties[e]},b.AbstractElement.prototype.applyAttr=function(e,t){this.node.setAttribute(e,t)},b.AbstractElement.prototype.remove=function(){b.$(this.node).remove()},b.AbstractCanvasElement=function(e,t,n){this.container=e,this.setSize(t,n),this.rootElement=new b[this.classPrefix+"GroupElement"],this.node.appendChild(this.rootElement.node),this.container.appendChild(this.node)},b.AbstractCanvasElement.prototype.add=function(e,t){(t=t||this.rootElement).add(e),e.canvas=this},b.AbstractCanvasElement.prototype.addPath=function(e,t,n){e=new b[this.classPrefix+"PathElement"](e,t);return this.add(e,n),e},b.AbstractCanvasElement.prototype.addCircle=function(e,t,n){e=new b[this.classPrefix+"CircleElement"](e,t);return this.add(e,n),e},b.AbstractCanvasElement.prototype.addImage=function(e,t,n){e=new b[this.classPrefix+"ImageElement"](e,t);return this.add(e,n),e},b.AbstractCanvasElement.prototype.addText=function(e,t,n){e=new b[this.classPrefix+"TextElement"](e,t);return this.add(e,n),e},b.AbstractCanvasElement.prototype.addGroup=function(e){var t=new b[this.classPrefix+"GroupElement"];return(e||this).node.appendChild(t.node),t.canvas=this,t},b.AbstractShapeElement=function(e,t,n){this.style=n||{},this.style.current=this.style.current||{},this.isHovered=!1,this.isSelected=!1,this.updateStyle()},b.AbstractShapeElement.prototype.setStyle=function(e,t){var n={};"object"==a(e)?n=e:n[e]=t,b.$.extend(this.style.current,n),this.updateStyle()},b.AbstractShapeElement.prototype.updateStyle=function(){var e={};b.AbstractShapeElement.mergeStyles(e,this.style.initial),b.AbstractShapeElement.mergeStyles(e,this.style.current),this.isHovered&&b.AbstractShapeElement.mergeStyles(e,this.style.hover),this.isSelected&&(b.AbstractShapeElement.mergeStyles(e,this.style.selected),this.isHovered&&b.AbstractShapeElement.mergeStyles(e,this.style.selectedHover)),this.set(e)},b.AbstractShapeElement.mergeStyles=function(e,t){for(var n in t=t||{})null===t[n]?delete e[n]:e[n]=t[n]},b.SVGElement=function(e,t){b.SVGElement.parentClass.apply(this,arguments)},b.inherits(b.SVGElement,b.AbstractElement),b.SVGElement.svgns="http://www.w3.org/2000/svg",b.SVGElement.prototype.createElement=function(e){return document.createElementNS(b.SVGElement.svgns,e)},b.SVGElement.prototype.addClass=function(e){this.node.setAttribute("class",e)},b.SVGElement.prototype.getElementCtr=function(e){return b["SVG"+e]},b.SVGElement.prototype.getBBox=function(){return this.node.getBBox()},b.SVGGroupElement=function(){b.SVGGroupElement.parentClass.call(this,"g")},b.inherits(b.SVGGroupElement,b.SVGElement),b.SVGGroupElement.prototype.add=function(e){this.node.appendChild(e.node)},b.SVGCanvasElement=function(e,t,n){this.classPrefix="SVG",b.SVGCanvasElement.parentClass.call(this,"svg"),this.defsElement=new b.SVGElement("defs"),this.node.appendChild(this.defsElement.node),b.AbstractCanvasElement.apply(this,arguments)},b.inherits(b.SVGCanvasElement,b.SVGElement),b.mixin(b.SVGCanvasElement,b.AbstractCanvasElement),b.SVGCanvasElement.prototype.setSize=function(e,t){this.width=e,this.height=t,this.node.setAttribute("width",e),this.node.setAttribute("height",t)},b.SVGCanvasElement.prototype.applyTransformParams=function(e,t,n){this.scale=e,this.transX=t,this.transY=n,this.rootElement.node.setAttribute("transform","scale("+e+") translate("+t+", "+n+")")},b.SVGShapeElement=function(e,t,n){b.SVGShapeElement.parentClass.call(this,e,t),b.AbstractShapeElement.apply(this,arguments)},b.inherits(b.SVGShapeElement,b.SVGElement),b.mixin(b.SVGShapeElement,b.AbstractShapeElement),b.SVGShapeElement.prototype.applyAttr=function(e,t){var n,i,r=this;"fill"===e&&b.isImageUrl(t)?b.SVGShapeElement.images[t]?this.applyAttr("fill","url(#image"+b.SVGShapeElement.images[t]+")"):b.whenImageLoaded(t).then(function(e){(i=new b.SVGElement("image")).node.setAttributeNS("http://www.w3.org/1999/xlink","href",t),i.applyAttr("x","0"),i.applyAttr("y","0"),i.applyAttr("width",e[0].width),i.applyAttr("height",e[0].height),(n=new b.SVGElement("pattern")).applyAttr("id","image"+b.SVGShapeElement.imageCounter),n.applyAttr("x",0),n.applyAttr("y",0),n.applyAttr("width",e[0].width/2),n.applyAttr("height",e[0].height/2),n.applyAttr("viewBox","0 0 "+e[0].width+" "+e[0].height),n.applyAttr("patternUnits","userSpaceOnUse"),n.node.appendChild(i.node),r.canvas.defsElement.node.appendChild(n.node),b.SVGShapeElement.images[t]=b.SVGShapeElement.imageCounter++,r.applyAttr("fill","url(#image"+b.SVGShapeElement.images[t]+")")}):b.SVGShapeElement.parentClass.prototype.applyAttr.apply(this,arguments)},b.SVGShapeElement.imageCounter=1,b.SVGShapeElement.images={},b.SVGPathElement=function(e,t){b.SVGPathElement.parentClass.call(this,"path",e,t),this.node.setAttribute("fill-rule","evenodd")},b.inherits(b.SVGPathElement,b.SVGShapeElement),b.SVGCircleElement=function(e,t){b.SVGCircleElement.parentClass.call(this,"circle",e,t)},b.inherits(b.SVGCircleElement,b.SVGShapeElement),b.SVGImageElement=function(e,t){b.SVGImageElement.parentClass.call(this,"image",e,t)},b.inherits(b.SVGImageElement,b.SVGShapeElement),b.SVGImageElement.prototype.applyAttr=function(e,t){var n,i=this;"image"==e?("object"==a(t)?(n=t.url,this.offset=t.offset):(n=t,this.offset=[0,0]),b.whenImageLoaded(n).then(function(e){i.node.setAttributeNS("http://www.w3.org/1999/xlink","href",n),i.width=e[0].width,i.height=e[0].height,i.applyAttr("width",i.width),i.applyAttr("height",i.height),i.applyAttr("x",i.cx-i.width/2+i.offset[0]),i.applyAttr("y",i.cy-i.height/2+i.offset[1]),b.$(i.node).trigger("imageloaded",[e])})):"cx"==e?(this.cx=t,this.width&&this.applyAttr("x",t-this.width/2+this.offset[0])):"cy"==e?(this.cy=t,this.height&&this.applyAttr("y",t-this.height/2+this.offset[1])):b.SVGImageElement.parentClass.prototype.applyAttr.apply(this,arguments)},b.SVGTextElement=function(e,t){b.SVGTextElement.parentClass.call(this,"text",e,t)},b.inherits(b.SVGTextElement,b.SVGShapeElement),b.SVGTextElement.prototype.applyAttr=function(e,t){"text"===e?this.node.textContent=t:b.SVGTextElement.parentClass.prototype.applyAttr.apply(this,arguments)},b.VMLElement=function(e,t){b.VMLElement.VMLInitialized||b.VMLElement.initializeVML(),b.VMLElement.parentClass.apply(this,arguments)},b.inherits(b.VMLElement,b.AbstractElement),b.VMLElement.VMLInitialized=!1,b.VMLElement.initializeVML=function(){try{document.namespaces.rvml||document.namespaces.add("rvml","urn:schemas-microsoft-com:vml"),b.VMLElement.prototype.createElement=function(e){return document.createElement("<rvml:"+e+' class="rvml">')}}catch(e){b.VMLElement.prototype.createElement=function(e){return document.createElement("<"+e+' xmlns="urn:schemas-microsoft.com:vml" class="rvml">')}}document.createStyleSheet().addRule(".rvml","behavior:url(#default#VML)"),b.VMLElement.VMLInitialized=!0},b.VMLElement.prototype.getElementCtr=function(e){return b["VML"+e]},b.VMLElement.prototype.addClass=function(e){b.$(this.node).addClass(e)},b.VMLElement.prototype.applyAttr=function(e,t){this.node[e]=t},b.VMLElement.prototype.getBBox=function(){var e=b.$(this.node);return{x:e.position().left/this.canvas.scale,y:e.position().top/this.canvas.scale,width:e.width()/this.canvas.scale,height:e.height()/this.canvas.scale}},b.VMLGroupElement=function(){b.VMLGroupElement.parentClass.call(this,"group"),this.node.style.left="0px",this.node.style.top="0px",this.node.coordorigin="0 0"},b.inherits(b.VMLGroupElement,b.VMLElement),b.VMLGroupElement.prototype.add=function(e){this.node.appendChild(e.node)},b.VMLCanvasElement=function(e,t,n){this.classPrefix="VML",b.VMLCanvasElement.parentClass.call(this,"group"),b.AbstractCanvasElement.apply(this,arguments),this.node.style.position="absolute"},b.inherits(b.VMLCanvasElement,b.VMLElement),b.mixin(b.VMLCanvasElement,b.AbstractCanvasElement),b.VMLCanvasElement.prototype.setSize=function(e,t){var n,i,r,o;if(this.width=e,this.height=t,this.node.style.width=e+"px",this.node.style.height=t+"px",this.node.coordsize=e+" "+t,this.node.coordorigin="0 0",this.rootElement){for(r=0,o=(n=this.rootElement.node.getElementsByTagName("shape")).length;r<o;r++)n[r].coordsize=e+" "+t,n[r].style.width=e+"px",n[r].style.height=t+"px";for(r=0,o=(i=this.node.getElementsByTagName("group")).length;r<o;r++)i[r].coordsize=e+" "+t,i[r].style.width=e+"px",i[r].style.height=t+"px"}},b.VMLCanvasElement.prototype.applyTransformParams=function(e,t,n){this.scale=e,this.transX=t,this.transY=n,this.rootElement.node.coordorigin=this.width-t-this.width/100+","+(this.height-n-this.height/100),this.rootElement.node.coordsize=this.width/e+","+this.height/e},b.VMLShapeElement=function(e,t){b.VMLShapeElement.parentClass.call(this,e,t),this.fillElement=new b.VMLElement("fill"),this.strokeElement=new b.VMLElement("stroke"),this.node.appendChild(this.fillElement.node),this.node.appendChild(this.strokeElement.node),this.node.stroked=!1,b.AbstractShapeElement.apply(this,arguments)},b.inherits(b.VMLShapeElement,b.VMLElement),b.mixin(b.VMLShapeElement,b.AbstractShapeElement),b.VMLShapeElement.prototype.applyAttr=function(e,t){switch(e){case"fill":this.node.fillcolor=t;break;case"fill-opacity":this.fillElement.node.opacity=Math.round(100*t)+"%";break;case"stroke":this.node.stroked="none"!==t,this.node.strokecolor=t;break;case"stroke-opacity":this.strokeElement.node.opacity=Math.round(100*t)+"%";break;case"stroke-width":0===parseInt(t,10)?this.node.stroked=!1:this.node.stroked=!0,this.node.strokeweight=t;break;case"d":this.node.path=b.VMLPathElement.pathSvgToVml(t);break;default:b.VMLShapeElement.parentClass.prototype.applyAttr.apply(this,arguments)}},b.VMLPathElement=function(e,t){var n=new b.VMLElement("skew");b.VMLPathElement.parentClass.call(this,"shape",e,t),this.node.coordorigin="0 0",n.node.on=!0,n.node.matrix="0.01,0,0,0.01,0,0",n.node.offset="0,0",this.node.appendChild(n.node)},b.inherits(b.VMLPathElement,b.VMLShapeElement),b.VMLPathElement.prototype.applyAttr=function(e,t){"d"===e?this.node.path=b.VMLPathElement.pathSvgToVml(t):b.VMLShapeElement.prototype.applyAttr.call(this,e,t)},b.VMLPathElement.pathSvgToVml=function(e){var a,l,s=0,u=0;return(e=e.replace(/(-?\d+)e(-?\d+)/g,"0")).replace(/([MmLlHhVvCcSs])\s*((?:-?\d*(?:\.\d+)?\s*,?\s*)+)/g,function(e,t,n,i){(n=n.replace(/(\d)-/g,"$1,-").replace(/^\s+/g,"").replace(/\s+$/g,"").replace(/\s+/g,",").split(","))[0]||n.shift();for(var r=0,o=n.length;r<o;r++)n[r]=Math.round(100*n[r]);switch(t){case"m":return s+=n[0],u+=n[1],"t"+n.join(",");case"M":return s=n[0],u=n[1],"m"+n.join(",");case"l":return s+=n[0],u+=n[1],"r"+n.join(",");case"L":return s=n[0],u=n[1],"l"+n.join(",");case"h":return s+=n[0],"r"+n[0]+",0";case"H":return"l"+(s=n[0])+","+u;case"v":return u+=n[0],"r0,"+n[0];case"V":return u=n[0],"l"+s+","+u;case"c":return a=s+n[n.length-4],l=u+n[n.length-3],s+=n[n.length-2],u+=n[n.length-1],"v"+n.join(",");case"C":return a=n[n.length-4],l=n[n.length-3],s=n[n.length-2],u=n[n.length-1],"c"+n.join(",");case"s":return n.unshift(u-l),n.unshift(s-a),a=s+n[n.length-4],l=u+n[n.length-3],s+=n[n.length-2],u+=n[n.length-1],"v"+n.join(",");case"S":return n.unshift(u+u-l),n.unshift(s+s-a),a=n[n.length-4],l=n[n.length-3],s=n[n.length-2],u=n[n.length-1],"c"+n.join(",")}return""}).replace(/z/g,"e")},b.VMLCircleElement=function(e,t){b.VMLCircleElement.parentClass.call(this,"oval",e,t)},b.inherits(b.VMLCircleElement,b.VMLShapeElement),b.VMLCircleElement.prototype.applyAttr=function(e,t){switch(e){case"r":this.node.style.width=2*t+"px",this.node.style.height=2*t+"px",this.applyAttr("cx",this.get("cx")||0),this.applyAttr("cy",this.get("cy")||0);break;case"cx":if(!t)return;this.node.style.left=t-(this.get("r")||0)+"px";break;case"cy":if(!t)return;this.node.style.top=t-(this.get("r")||0)+"px";break;default:b.VMLCircleElement.parentClass.prototype.applyAttr.call(this,e,t)}},b.VectorCanvas=function(e,t,n){return this.mode=window.SVGAngle?"svg":"vml","svg"==this.mode?this.impl=new b.SVGCanvasElement(e,t,n):this.impl=new b.VMLCanvasElement(e,t,n),this.impl.mode=this.mode,this.impl},b.SimpleScale=function(e){this.scale=e},b.SimpleScale.prototype.getValue=function(e){return e},b.OrdinalScale=function(e){this.scale=e},b.OrdinalScale.prototype.getValue=function(e){return this.scale[e]},b.OrdinalScale.prototype.getTicks=function(){var e,t=[];for(e in this.scale)t.push({label:e,value:this.scale[e]});return t},b.NumericScale=function(e,t,n,i){this.scale=[],t=t||"linear",e&&this.setScale(e),t&&this.setNormalizeFunction(t),void 0!==n&&this.setMin(n),void 0!==i&&this.setMax(i)},b.NumericScale.prototype={setMin:function(e){this.clearMinValue=e,"function"==typeof this.normalize?this.minValue=this.normalize(e):this.minValue=e},setMax:function(e){this.clearMaxValue=e,"function"==typeof this.normalize?this.maxValue=this.normalize(e):this.maxValue=e},setScale:function(e){var t;for(this.scale=[],t=0;t<e.length;t++)this.scale[t]=[e[t]]},setNormalizeFunction:function(e){"polynomial"===e?this.normalize=function(e){return Math.pow(e,.2)}:"linear"===e?delete this.normalize:this.normalize=e,this.setMin(this.clearMinValue),this.setMax(this.clearMaxValue)},getValue:function(e){var t,n,i=[],r=0,o=0;for("function"==typeof this.normalize&&(e=this.normalize(e)),o=0;o<this.scale.length-1;o++)t=this.vectorLength(this.vectorSubtract(this.scale[o+1],this.scale[o])),i.push(t),r+=t;for(n=(this.maxValue-this.minValue)/r,o=0;o<i.length;o++)i[o]*=n;for(o=0,e-=this.minValue;0<=e-i[o];)e-=i[o],o++;return o==this.scale.length-1?this.vectorToNum(this.scale[o]):this.vectorToNum(this.vectorAdd(this.scale[o],this.vectorMult(this.vectorSubtract(this.scale[o+1],this.scale[o]),e/i[o])))},vectorToNum:function(e){for(var t=0,n=0;n<e.length;n++)t+=Math.round(e[n])*Math.pow(256,e.length-n-1);return t},vectorSubtract:function(e,t){for(var n=[],i=0;i<e.length;i++)n[i]=e[i]-t[i];return n},vectorAdd:function(e,t){for(var n=[],i=0;i<e.length;i++)n[i]=e[i]+t[i];return n},vectorMult:function(e,t){for(var n=[],i=0;i<e.length;i++)n[i]=e[i]*t;return n},vectorLength:function(e){for(var t=0,n=0;n<e.length;n++)t+=e[n]*e[n];return Math.sqrt(t)},getTicks:function(){var e,t,n=[this.clearMinValue,this.clearMaxValue],i=n[1]-n[0],r=Math.pow(10,Math.floor(Math.log(i/5)/Math.LN10)),i=5/i*r,o=[];for(i<=.15?r*=10:i<=.35?r*=5:i<=.75&&(r*=2),n[0]=Math.floor(n[0]/r)*r,n[1]=Math.ceil(n[1]/r)*r,e=n[0];e<=n[1];)t=e==n[0]?this.clearMinValue:e==n[1]?this.clearMaxValue:e,o.push({label:e,value:this.getValue(t)}),e+=r;return o}},b.ColorScale=function(e,t,n,i){b.ColorScale.parentClass.apply(this,arguments)},b.inherits(b.ColorScale,b.NumericScale),b.ColorScale.prototype.setScale=function(e){for(var t=0;t<e.length;t++)this.scale[t]=b.ColorScale.rgbToArray(e[t])},b.ColorScale.prototype.getValue=function(e){return b.ColorScale.numToRgb(b.ColorScale.parentClass.prototype.getValue.call(this,e))},b.ColorScale.arrayToRgb=function(e){for(var t,n="#",i=0;i<e.length;i++)n+=1==(t=e[i].toString(16)).length?"0"+t:t;return n},b.ColorScale.numToRgb=function(e){for(e=e.toString(16);e.length<6;)e="0"+e;return"#"+e},b.ColorScale.rgbToArray=function(e){return e=e.substr(1),[parseInt(e.substr(0,2),16),parseInt(e.substr(2,2),16),parseInt(e.substr(4,2),16)]},b.Legend=function(e){this.params=e||{},this.map=this.params.map,this.series=this.params.series,this.body=b.$("<div/>"),this.body.addClass("jvectormap-legend"),this.params.cssClass&&this.body.addClass(this.params.cssClass),(e.vertical?this.map.legendCntVertical:this.map.legendCntHorizontal).append(this.body),this.render()},b.Legend.prototype.render=function(){var e,t,n,i,r=this.series.scale.getTicks(),o=b.$("<div/>").addClass("jvectormap-legend-inner");for(this.body.html(""),this.params.title&&this.body.append(b.$("<div/>").addClass("jvectormap-legend-title").html(this.params.title)),this.body.append(o),e=0;e<r.length;e++){switch(t=b.$("<div/>").addClass("jvectormap-legend-tick"),n=b.$("<div/>").addClass("jvectormap-legend-tick-sample"),this.series.params.attribute){case"fill":b.isImageUrl(r[e].value)?n.css("background","url("+r[e].value+")"):n.css("background",r[e].value);break;case"stroke":n.css("background",r[e].value);break;case"image":n.css("background","url("+("object"==a(r[e].value)?r[e].value.url:r[e].value)+") no-repeat center center");break;case"r":b.$("<div/>").css({"border-radius":r[e].value,border:this.map.params.markerStyle.initial["stroke-width"]+"px "+this.map.params.markerStyle.initial.stroke+" solid",width:2*r[e].value+"px",height:2*r[e].value+"px",background:this.map.params.markerStyle.initial.fill}).appendTo(n)}t.append(n),i=r[e].label,this.params.labelRender&&(i=this.params.labelRender(i)),t.append(b.$("<div>"+i+" </div>").addClass("jvectormap-legend-tick-text")),o.append(t)}o.append(b.$("<div/>").css("clear","both"))},b.DataSeries=function(e,t,n){(e=e||{}).attribute=e.attribute||"fill",this.elements=t,this.params=e,this.map=n,e.attributes&&this.setAttributes(e.attributes),b.$.isArray(e.scale)?(t="fill"===e.attribute||"stroke"===e.attribute?b.ColorScale:b.NumericScale,this.scale=new t(e.scale,e.normalizeFunction,e.min,e.max)):e.scale?this.scale=new b.OrdinalScale(e.scale):this.scale=new b.SimpleScale(e.scale),this.values=e.values||{},this.setValues(this.values),this.params.legend&&(this.legend=new b.Legend(b.$.extend({map:this.map,series:this},this.params.legend)))},b.DataSeries.prototype={setAttributes:function(e,t){var n,i=e;if("string"==typeof e)this.elements[e]&&this.elements[e].setStyle(this.params.attribute,t);else for(n in i)this.elements[n]&&this.elements[n].element.setStyle(this.params.attribute,i[n])},setValues:function(e){var t,n,i=-Number.MAX_VALUE,r=Number.MAX_VALUE,o={};if(this.scale instanceof b.OrdinalScale||this.scale instanceof b.SimpleScale)for(n in e)e[n]?o[n]=this.scale.getValue(e[n]):o[n]=this.elements[n].element.style.initial[this.params.attribute];else{if(void 0===this.params.min||void 0===this.params.max)for(n in e)i<(t=parseFloat(e[n]))&&(i=t),t<r&&(r=t);for(n in void 0===this.params.min?(this.scale.setMin(r),this.params.min=r):this.scale.setMin(this.params.min),void 0===this.params.max?(this.scale.setMax(i),this.params.max=i):this.scale.setMax(this.params.max),e)"indexOf"!=n&&(t=parseFloat(e[n]),isNaN(t)?o[n]=this.elements[n].element.style.initial[this.params.attribute]:o[n]=this.scale.getValue(t))}this.setAttributes(o),b.$.extend(this.values,e)},clear:function(){var e,t={};for(e in this.values)this.elements[e]&&(t[e]=this.elements[e].element.shape.style.initial[this.params.attribute]);this.setAttributes(t),this.values={}},setScale:function(e){this.scale.setScale(e),this.values&&this.setValues(this.values)},setNormalizeFunction:function(e){this.scale.setNormalizeFunction(e),this.values&&this.setValues(this.values)}},b.Proj={degRad:180/Math.PI,radDeg:Math.PI/180,radius:6381372,sgn:function(e){return 0<e?1:e<0?-1:e},mill:function(e,t,n){return{x:this.radius*(t-n)*this.radDeg,y:-this.radius*Math.log(Math.tan((45+.4*e)*this.radDeg))/.8}},mill_inv:function(e,t,n){return{lat:(2.5*Math.atan(Math.exp(.8*t/this.radius))-5*Math.PI/8)*this.degRad,lng:(n*this.radDeg+e/this.radius)*this.degRad}},merc:function(e,t,n){return{x:this.radius*(t-n)*this.radDeg,y:-this.radius*Math.log(Math.tan(Math.PI/4+e*Math.PI/360))}},merc_inv:function(e,t,n){return{lat:(2*Math.atan(Math.exp(t/this.radius))-Math.PI/2)*this.degRad,lng:(n*this.radDeg+e/this.radius)*this.degRad}},aea:function(e,t,n){var n=n*this.radDeg,i=29.5*this.radDeg,r=45.5*this.radDeg,e=e*this.radDeg,t=t*this.radDeg,r=(Math.sin(i)+Math.sin(r))/2,i=Math.cos(i)*Math.cos(i)+2*r*Math.sin(i),t=r*(t-n),n=Math.sqrt(i-2*r*Math.sin(e))/r,e=Math.sqrt(i-2*r*Math.sin(0))/r;return{x:n*Math.sin(t)*this.radius,y:-(e-n*Math.cos(t))*this.radius}},aea_inv:function(e,t,n){var e=e/this.radius,t=t/this.radius,n=n*this.radDeg,i=29.5*this.radDeg,r=45.5*this.radDeg,r=(Math.sin(i)+Math.sin(r))/2,i=Math.cos(i)*Math.cos(i)+2*r*Math.sin(i),o=Math.sqrt(i-2*r*Math.sin(0))/r,a=Math.sqrt(e*e+(o-t)*(o-t)),e=Math.atan(e/(o-t));return{lat:Math.asin((i-a*a*r*r)/(2*r))*this.degRad,lng:(n+e/r)*this.degRad}},lcc:function(e,t,n){var n=n*this.radDeg,t=t*this.radDeg,i=33*this.radDeg,r=45*this.radDeg,e=e*this.radDeg,r=Math.log(Math.cos(i)*(1/Math.cos(r)))/Math.log(Math.tan(Math.PI/4+r/2)*(1/Math.tan(Math.PI/4+i/2))),i=Math.cos(i)*Math.pow(Math.tan(Math.PI/4+i/2),r)/r,e=i*Math.pow(1/Math.tan(Math.PI/4+e/2),r),i=i*Math.pow(1/Math.tan(Math.PI/4+0),r);return{x:e*Math.sin(r*(t-n))*this.radius,y:-(i-e*Math.cos(r*(t-n)))*this.radius}},lcc_inv:function(e,t,n){var e=e/this.radius,t=t/this.radius,n=n*this.radDeg,i=33*this.radDeg,r=45*this.radDeg,r=Math.log(Math.cos(i)*(1/Math.cos(r)))/Math.log(Math.tan(Math.PI/4+r/2)*(1/Math.tan(Math.PI/4+i/2))),i=Math.cos(i)*Math.pow(Math.tan(Math.PI/4+i/2),r)/r,o=i*Math.pow(1/Math.tan(Math.PI/4+0),r),a=this.sgn(r)*Math.sqrt(e*e+(o-t)*(o-t)),e=Math.atan(e/(o-t));return{lat:(2*Math.atan(Math.pow(i/a,1/r))-Math.PI/2)*this.degRad,lng:(n+e/r)*this.degRad}}},b.MapObject=function(e){},b.MapObject.prototype.getLabelText=function(e){return this.config.label?"function"==typeof this.config.label.render?this.config.label.render(e):e:null},b.MapObject.prototype.getLabelOffsets=function(e){var t;return this.config.label&&("function"==typeof this.config.label.offsets?t=this.config.label.offsets(e):"object"==a(this.config.label.offsets)&&(t=this.config.label.offsets[e])),t||[0,0]},b.MapObject.prototype.setHovered=function(e){this.isHovered!==e&&(this.isHovered=e,this.shape.isHovered=e,this.shape.updateStyle(),this.label&&(this.label.isHovered=e,this.label.updateStyle()))},b.MapObject.prototype.setSelected=function(e){this.isSelected!==e&&(this.isSelected=e,this.shape.isSelected=e,this.shape.updateStyle(),this.label&&(this.label.isSelected=e,this.label.updateStyle()),b.$(this.shape).trigger("selected",[e]))},b.MapObject.prototype.setStyle=function(){this.shape.setStyle.apply(this.shape,arguments)},b.MapObject.prototype.remove=function(){this.shape.remove(),this.label&&this.label.remove()},b.Region=function(e){var t,n,i;this.config=e,this.map=this.config.map,this.shape=e.canvas.addPath({d:e.path,"data-code":e.code},e.style,e.canvas.rootElement),this.shape.addClass("jvectormap-region jvectormap-element"),t=this.shape.getBBox(),n=this.getLabelText(e.code),this.config.label&&n&&(i=this.getLabelOffsets(e.code),this.labelX=t.x+t.width/2+i[0],this.labelY=t.y+t.height/2+i[1],this.label=e.canvas.addText({text:n,"text-anchor":"middle","alignment-baseline":"central",x:this.labelX,y:this.labelY,"data-code":e.code},e.labelStyle,e.labelsGroup),this.label.addClass("jvectormap-region jvectormap-element"))},b.inherits(b.Region,b.MapObject),b.Region.prototype.updateLabelPosition=function(){this.label&&this.label.set({x:this.labelX*this.map.scale+this.map.transX*this.map.scale,y:this.labelY*this.map.scale+this.map.transY*this.map.scale})},b.Marker=function(e){var t;this.config=e,this.map=this.config.map,this.isImage=!!this.config.style.initial.image,this.createShape(),t=this.getLabelText(e.index),this.config.label&&t&&(this.offsets=this.getLabelOffsets(e.index),this.labelX=e.cx/this.map.scale-this.map.transX,this.labelY=e.cy/this.map.scale-this.map.transY,this.label=e.canvas.addText({text:t,"data-index":e.index,dy:"0.6ex",x:this.labelX,y:this.labelY},e.labelStyle,e.labelsGroup),this.label.addClass("jvectormap-marker jvectormap-element"))},b.inherits(b.Marker,b.MapObject),b.Marker.prototype.createShape=function(){var e=this;this.shape&&this.shape.remove(),this.shape=this.config.canvas[this.isImage?"addImage":"addCircle"]({"data-index":this.config.index,cx:this.config.cx,cy:this.config.cy},this.config.style,this.config.group),this.shape.addClass("jvectormap-marker jvectormap-element"),this.isImage&&b.$(this.shape.node).on("imageloaded",function(){e.updateLabelPosition()})},b.Marker.prototype.updateLabelPosition=function(){this.label&&this.label.set({x:this.labelX*this.map.scale+this.offsets[0]+this.map.transX*this.map.scale+5+(this.isImage?(this.shape.width||0)/2:this.shape.properties.r),y:this.labelY*this.map.scale+this.map.transY*this.map.scale+this.offsets[1]})},b.Marker.prototype.setStyle=function(e,t){b.Marker.parentClass.prototype.setStyle.apply(this,arguments),"r"===e&&this.updateLabelPosition(),(e=!!this.shape.get("image"))!=this.isImage&&(this.isImage=e,this.config.style=b.$.extend(!0,{},this.shape.style),this.createShape())},b.Map=function(e){var t,n=this;if(this.params=b.$.extend(!0,{},b.Map.defaultParams,e),!b.Map.maps[this.params.map])throw new Error("Attempt to use map which was not loaded: "+this.params.map);for(t in this.mapData=b.Map.maps[this.params.map],this.markers={},this.regions={},this.regionsColors={},this.regionsData={},this.container=b.$("<div>").addClass("jvectormap-container"),this.params.container&&this.params.container.append(this.container),this.container.data("mapObject",this),this.defaultWidth=this.mapData.width,this.defaultHeight=this.mapData.height,this.setBackgroundColor(this.params.backgroundColor),this.onResize=function(){n.updateSize()},b.$(window).resize(this.onResize),b.Map.apiEvents)this.params[t]&&this.container.bind(b.Map.apiEvents[t]+".jvectormap",this.params[t]);this.canvas=new b.VectorCanvas(this.container[0],this.width,this.height),this.params.bindTouchEvents&&("ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch?this.bindContainerTouchEvents():window.MSGesture&&this.bindContainerPointerEvents()),this.bindContainerEvents(),this.bindElementEvents(),this.createTip(),this.params.zoomButtons&&this.bindZoomButtons(),this.createRegions(),this.createMarkers(this.params.markers||{}),this.updateSize(),this.params.focusOn&&("string"==typeof this.params.focusOn?this.params.focusOn={region:this.params.focusOn}:b.$.isArray(this.params.focusOn)&&(this.params.focusOn={regions:this.params.focusOn}),this.setFocus(this.params.focusOn)),this.params.selectedRegions&&this.setSelectedRegions(this.params.selectedRegions),this.params.selectedMarkers&&this.setSelectedMarkers(this.params.selectedMarkers),this.legendCntHorizontal=b.$("<div/>").addClass("jvectormap-legend-cnt jvectormap-legend-cnt-h"),this.legendCntVertical=b.$("<div/>").addClass("jvectormap-legend-cnt jvectormap-legend-cnt-v"),this.container.append(this.legendCntHorizontal),this.container.append(this.legendCntVertical),this.params.series&&this.createSeries()},b.Map.prototype={transX:0,transY:0,scale:1,baseTransX:0,baseTransY:0,baseScale:1,width:0,height:0,setBackgroundColor:function(e){this.container.css("background-color",e)},resize:function(){var e=this.baseScale;this.width/this.height>this.defaultWidth/this.defaultHeight?(this.baseScale=this.height/this.defaultHeight,this.baseTransX=Math.abs(this.width-this.defaultWidth*this.baseScale)/(2*this.baseScale)):(this.baseScale=this.width/this.defaultWidth,this.baseTransY=Math.abs(this.height-this.defaultHeight*this.baseScale)/(2*this.baseScale)),this.scale*=this.baseScale/e,this.transX*=this.baseScale/e,this.transY*=this.baseScale/e},updateSize:function(){this.width=this.container.width(),this.height=this.container.height(),this.resize(),this.canvas.setSize(this.width,this.height),this.applyTransform()},reset:function(){var e,t;for(e in this.series)for(t=0;t<this.series[e].length;t++)this.series[e][t].clear();this.scale=this.baseScale,this.transX=this.baseTransX,this.transY=this.baseTransY,this.applyTransform()},applyTransform:function(){var e,t,n=this.defaultWidth*this.scale<=this.width?(e=(this.width-this.defaultWidth*this.scale)/(2*this.scale),(this.width-this.defaultWidth*this.scale)/(2*this.scale)):(e=0,(this.width-this.defaultWidth*this.scale)/this.scale),i=this.defaultHeight*this.scale<=this.height?(t=(this.height-this.defaultHeight*this.scale)/(2*this.scale),(this.height-this.defaultHeight*this.scale)/(2*this.scale)):(t=0,(this.height-this.defaultHeight*this.scale)/this.scale);this.transY>t?this.transY=t:this.transY<i&&(this.transY=i),this.transX>e?this.transX=e:this.transX<n&&(this.transX=n),this.canvas.applyTransformParams(this.scale,this.transX,this.transY),this.markers&&this.repositionMarkers(),this.repositionLabels(),this.container.trigger("viewportChange",[this.scale/this.baseScale,this.transX,this.transY])},bindContainerEvents:function(){var t,n,i=!1,l=this;this.params.panOnDrag&&(this.container.mousemove(function(e){return i&&(l.transX-=(t-e.pageX)/l.scale,l.transY-=(n-e.pageY)/l.scale,l.applyTransform(),t=e.pageX,n=e.pageY),!1}).mousedown(function(e){return i=!0,t=e.pageX,n=e.pageY,!1}),this.onContainerMouseUp=function(){i=!1},b.$("body").mouseup(this.onContainerMouseUp)),this.params.zoomOnScroll&&this.container.mousewheel(function(e,t,n,i){var r=b.$(l.container).offset(),o=e.pageX-r.left,r=e.pageY-r.top,a=Math.pow(1+l.params.zoomOnScrollSpeed/1e3,e.deltaFactor*e.deltaY);l.tip.hide(),l.setScale(l.scale*a,o,r),e.preventDefault()})},bindContainerTouchEvents:function(){function e(e){var t,n,i=e.originalEvent.touches;"touchstart"==e.type&&(c=0),1==i.length?(1==c&&(t=h.transX,n=h.transY,h.transX-=(a-i[0].pageX)/h.scale,h.transY-=(l-i[0].pageY)/h.scale,h.applyTransform(),h.tip.hide(),t==h.transX&&n==h.transY||e.preventDefault()),a=i[0].pageX,l=i[0].pageY):2==i.length&&(2==c?(t=Math.sqrt(Math.pow(i[0].pageX-i[1].pageX,2)+Math.pow(i[0].pageY-i[1].pageY,2))/o,h.setScale(r*t,s,u),h.tip.hide(),e.preventDefault()):(n=b.$(h.container).offset(),s=i[0].pageX>i[1].pageX?i[1].pageX+(i[0].pageX-i[1].pageX)/2:i[0].pageX+(i[1].pageX-i[0].pageX)/2,u=i[0].pageY>i[1].pageY?i[1].pageY+(i[0].pageY-i[1].pageY)/2:i[0].pageY+(i[1].pageY-i[0].pageY)/2,s-=n.left,u-=n.top,r=h.scale,o=Math.sqrt(Math.pow(i[0].pageX-i[1].pageX,2)+Math.pow(i[0].pageY-i[1].pageY,2)))),c=i.length}var r,o,a,l,s,u,c,h=this;b.$(this.container).bind("touchstart",e),b.$(this.container).bind("touchmove",e)},bindContainerPointerEvents:function(){var i=this,t=new MSGesture,e=this.container[0];(t.target=e).addEventListener("MSGestureChange",function(e){var t,n;0==e.translationX&&0==e.translationY||(t=i.transX,n=i.transY,i.transX+=e.translationX/i.scale,i.transY+=e.translationY/i.scale,i.applyTransform(),i.tip.hide(),t==i.transX&&n==i.transY||e.preventDefault()),1!=e.scale&&(i.setScale(i.scale*e.scale,e.offsetX,e.offsetY),i.tip.hide(),e.preventDefault())},!1),e.addEventListener("pointerdown",function(e){t.addPointer(e.pointerId)},!1)},bindElementEvents:function(){var t,n,r,l=this;this.container.mousemove(function(e){2<Math.abs(t-e.pageX)+Math.abs(n-e.pageY)&&(r=!0)}),this.container.delegate("[class~='jvectormap-element']","mouseover mouseout",function(e){var t=-1===(b.$(this).attr("class").baseVal||b.$(this).attr("class")).indexOf("jvectormap-region")?"marker":"region",n="region"==t?b.$(this).attr("data-code"):b.$(this).attr("data-index"),i=("region"==t?l.regions:l.markers)[n].element,r="region"==t?l.mapData.paths[n].name:l.markers[n].config.name||"",o=b.$.Event(t+"TipShow.jvectormap"),a=b.$.Event(t+"Over.jvectormap");"mouseover"==e.type?(l.container.trigger(a,[n]),a.isDefaultPrevented()||i.setHovered(!0),l.tip.text(r),l.container.trigger(o,[l.tip,n]),o.isDefaultPrevented()||(l.tip.show(),l.tipWidth=l.tip.width(),l.tipHeight=l.tip.height())):(i.setHovered(!1),l.tip.hide(),l.container.trigger(t+"Out.jvectormap",[n]))}),this.container.delegate("[class~='jvectormap-element']","mousedown",function(e){t=e.pageX,n=e.pageY,r=!1}),this.container.delegate("[class~='jvectormap-element']","mouseup",function(){var e=-1===(b.$(this).attr("class").baseVal?b.$(this).attr("class").baseVal:b.$(this).attr("class")).indexOf("jvectormap-region")?"marker":"region",t="region"==e?b.$(this).attr("data-code"):b.$(this).attr("data-index"),n=b.$.Event(e+"Click.jvectormap"),i=("region"==e?l.regions:l.markers)[t].element;r||(l.container.trigger(n,[t]),("region"==e&&l.params.regionsSelectable||"marker"==e&&l.params.markersSelectable)&&!n.isDefaultPrevented()&&(l.params[e+"sSelectableOne"]&&l.clearSelected(e+"s"),i.setSelected(!i.isSelected)))})},bindZoomButtons:function(){var e=this;b.$("<div/>").addClass("jvectormap-zoomin").text("+").appendTo(this.container),b.$("<div/>").addClass("jvectormap-zoomout").html("&#x2212;").appendTo(this.container),this.container.find(".jvectormap-zoomin").click(function(){e.setScale(e.scale*e.params.zoomStep,e.width/2,e.height/2,!1,e.params.zoomAnimate)}),this.container.find(".jvectormap-zoomout").click(function(){e.setScale(e.scale/e.params.zoomStep,e.width/2,e.height/2,!1,e.params.zoomAnimate)})},createTip:function(){var i=this;this.tip=b.$("<div/>").addClass("jvectormap-tip").appendTo(b.$("body")),this.container.mousemove(function(e){var t=e.pageX-15-i.tipWidth,n=e.pageY-15-i.tipHeight;t<5&&(t=e.pageX+15),n<5&&(n=e.pageY+15),i.tip.css({left:t,top:n})})},setScale:function(e,t,n,i,r){var o,a,l,s,u,c,h,d,f,p=b.$.Event("zoom.jvectormap"),g=this,m=0,v=Math.abs(Math.round(60*(e-this.scale)/Math.max(e,this.scale))),y=new b.$.Deferred;return e>this.params.zoomMax*this.baseScale?e=this.params.zoomMax*this.baseScale:e<this.params.zoomMin*this.baseScale&&(e=this.params.zoomMin*this.baseScale),void 0!==t&&void 0!==n&&(f=e/this.scale,f=i?(d=t+this.defaultWidth*(this.width/(this.defaultWidth*e))/2,n+this.defaultHeight*(this.height/(this.defaultHeight*e))/2):(d=this.transX-(f-1)/e*t,this.transY-(f-1)/e*n)),r&&0<v?(a=this.scale,l=(e-a)/v,s=this.transX*this.scale,c=this.transY*this.scale,u=(d*e-s)/v,h=(f*e-c)/v,o=setInterval(function(){m+=1,g.scale=a+l*m,g.transX=(s+u*m)/g.scale,g.transY=(c+h*m)/g.scale,g.applyTransform(),m==v&&(clearInterval(o),g.container.trigger(p,[e/g.baseScale]),y.resolve())},10)):(this.transX=d,this.transY=f,this.scale=e,this.applyTransform(),this.container.trigger(p,[e/this.baseScale]),y.resolve()),y},setFocus:function(e){var t,n,i,r,o;if((e=e||{}).region?i=[e.region]:e.regions&&(i=e.regions),i){for(r=0;r<i.length;r++)this.regions[i[r]]&&(n=this.regions[i[r]].element.shape.getBBox())&&(t=void 0===t?n:{x:Math.min(t.x,n.x),y:Math.min(t.y,n.y),width:Math.max(t.x+t.width,n.x+n.width)-Math.min(t.x,n.x),height:Math.max(t.y+t.height,n.y+n.height)-Math.min(t.y,n.y)});return this.setScale(Math.min(this.width/t.width,this.height/t.height),-(t.x+t.width/2),-(t.y+t.height/2),!0,e.animate)}return void 0!==e.lat&&void 0!==e.lng?(o=this.latLngToPoint(e.lat,e.lng),e.x=this.transX-o.x/this.scale,e.y=this.transY-o.y/this.scale):e.x&&e.y&&(e.x*=-this.defaultWidth,e.y*=-this.defaultHeight),this.setScale(e.scale*this.baseScale,e.x,e.y,!0,e.animate)},getSelected:function(e){var t,n=[];for(t in this[e])this[e][t].element.isSelected&&n.push(t);return n},getSelectedRegions:function(){return this.getSelected("regions")},getSelectedMarkers:function(){return this.getSelected("markers")},setSelected:function(e,t){if("object"!=a(t)&&(t=[t]),b.$.isArray(t))for(n=0;n<t.length;n++)this[e][t[n]].element.setSelected(!0);else for(var n in t)this[e][n].element.setSelected(!!t[n])},setSelectedRegions:function(e){this.setSelected("regions",e)},setSelectedMarkers:function(e){this.setSelected("markers",e)},clearSelected:function(e){for(var t={},n=this.getSelected(e),i=0;i<n.length;i++)t[n[i]]=!1;this.setSelected(e,t)},clearSelectedRegions:function(){this.clearSelected("regions")},clearSelectedMarkers:function(){this.clearSelected("markers")},getMapObject:function(){return this},getRegionName:function(e){return this.mapData.paths[e].name},createRegions:function(){var e,t,n=this;for(e in this.regionLabelsGroup=this.regionLabelsGroup||this.canvas.addGroup(),this.mapData.paths)t=new b.Region({map:this,path:this.mapData.paths[e].path,code:e,style:b.$.extend(!0,{},this.params.regionStyle),labelStyle:b.$.extend(!0,{},this.params.regionLabelStyle),canvas:this.canvas,labelsGroup:this.regionLabelsGroup,label:"vml"!=this.canvas.mode?this.params.labels&&this.params.labels.regions:null}),b.$(t.shape).bind("selected",function(e,t){n.container.trigger("regionSelected.jvectormap",[b.$(this.node).attr("data-code"),t,n.getSelectedRegions()])}),this.regions[e]={element:t,config:this.mapData.paths[e]}},createMarkers:function(e){var t,n,i,r,o=this;if(this.markersGroup=this.markersGroup||this.canvas.addGroup(),this.markerLabelsGroup=this.markerLabelsGroup||this.canvas.addGroup(),b.$.isArray(e))for(r=e.slice(),e={},t=0;t<r.length;t++)e[t]=r[t];for(t in e)i=e[t]instanceof Array?{latLng:e[t]}:e[t],!1!==(n=this.getMarkerPosition(i))&&(n=new b.Marker({map:this,style:b.$.extend(!0,{},this.params.markerStyle,{initial:i.style||{}}),labelStyle:b.$.extend(!0,{},this.params.markerLabelStyle),index:t,cx:n.x,cy:n.y,group:this.markersGroup,canvas:this.canvas,labelsGroup:this.markerLabelsGroup,label:"vml"!=this.canvas.mode?this.params.labels&&this.params.labels.markers:null}),b.$(n.shape).bind("selected",function(e,t){o.container.trigger("markerSelected.jvectormap",[b.$(this.node).attr("data-index"),t,o.getSelectedMarkers()])}),this.markers[t]&&this.removeMarkers([t]),this.markers[t]={element:n,config:i})},repositionMarkers:function(){var e,t;for(e in this.markers)!1!==(t=this.getMarkerPosition(this.markers[e].config))&&this.markers[e].element.setStyle({cx:t.x,cy:t.y})},repositionLabels:function(){for(var e in this.regions)this.regions[e].element.updateLabelPosition();for(e in this.markers)this.markers[e].element.updateLabelPosition()},getMarkerPosition:function(e){return b.Map.maps[this.params.map].projection?this.latLngToPoint.apply(this,e.latLng||[0,0]):{x:e.coords[0]*this.scale+this.transX*this.scale,y:e.coords[1]*this.scale+this.transY*this.scale}},addMarker:function(e,t,n){var i,r,o={},a=[];for(n=n||[],o[e]=t,r=0;r<n.length;r++)i={},void 0!==n[r]&&(i[e]=n[r]),a.push(i);this.addMarkers(o,a)},addMarkers:function(e,t){var n;for(t=t||[],this.createMarkers(e),n=0;n<t.length;n++)this.series.markers[n].setValues(t[n]||{})},removeMarkers:function(e){for(var t=0;t<e.length;t++)this.markers[e[t]].element.remove(),delete this.markers[e[t]]},removeAllMarkers:function(){var e,t=[];for(e in this.markers)t.push(e);this.removeMarkers(t)},latLngToPoint:function(e,t){var n=b.Map.maps[this.params.map].projection,i=n.centralMeridian;return t<-180+i&&(t+=360),n=b.Proj[n.type](e,t,i),!!(e=this.getInsetForPoint(n.x,n.y))&&(t=e.bbox,n.x=(n.x-t[0].x)/(t[1].x-t[0].x)*e.width*this.scale,n.y=(n.y-t[0].y)/(t[1].y-t[0].y)*e.height*this.scale,{x:n.x+this.transX*this.scale+e.left*this.scale,y:n.y+this.transY*this.scale+e.top*this.scale})},pointToLatLng:function(e,t){for(var n,i,r,o,a=b.Map.maps[this.params.map].projection,l=a.centralMeridian,s=b.Map.maps[this.params.map].insets,u=0;u<s.length;u++)if(i=(n=s[u]).bbox,r=e-(this.transX*this.scale+n.left*this.scale),o=t-(this.transY*this.scale+n.top*this.scale),r=r/(n.width*this.scale)*(i[1].x-i[0].x)+i[0].x,o=o/(n.height*this.scale)*(i[1].y-i[0].y)+i[0].y,r>i[0].x&&r<i[1].x&&o>i[0].y&&o<i[1].y)return b.Proj[a.type+"_inv"](r,-o,l);return!1},getInsetForPoint:function(e,t){for(var n,i=b.Map.maps[this.params.map].insets,r=0;r<i.length;r++)if(e>(n=i[r].bbox)[0].x&&e<n[1].x&&t>n[0].y&&t<n[1].y)return i[r]},createSeries:function(){var e,t;for(t in this.series={markers:[],regions:[]},this.params.series)for(e=0;e<this.params.series[t].length;e++)this.series[t][e]=new b.DataSeries(this.params.series[t][e],this[t],this)},remove:function(){this.tip.remove(),this.container.remove(),b.$(window).unbind("resize",this.onResize),b.$("body").unbind("mouseup",this.onContainerMouseUp)}},b.Map.maps={},b.Map.defaultParams={map:"world_mill_en",backgroundColor:"#505050",zoomButtons:!0,zoomOnScroll:!0,zoomOnScrollSpeed:3,panOnDrag:!0,zoomMax:8,zoomMin:1,zoomStep:1.6,zoomAnimate:!0,regionsSelectable:!1,markersSelectable:!1,bindTouchEvents:!0,regionStyle:{initial:{fill:"white","fill-opacity":1,stroke:"none","stroke-width":0,"stroke-opacity":1},hover:{"fill-opacity":.8,cursor:"pointer"},selected:{fill:"yellow"},selectedHover:{}},regionLabelStyle:{initial:{"font-family":"Verdana","font-size":"12","font-weight":"bold",cursor:"default",fill:"black"},hover:{cursor:"pointer"}},markerStyle:{initial:{fill:"grey",stroke:"#505050","fill-opacity":1,"stroke-width":1,"stroke-opacity":1,r:5},hover:{stroke:"black","stroke-width":2,cursor:"pointer"},selected:{fill:"blue"},selectedHover:{}},markerLabelStyle:{initial:{"font-family":"Verdana","font-size":"12","font-weight":"bold",cursor:"default",fill:"black"},hover:{cursor:"pointer"}}},b.Map.apiEvents={onRegionTipShow:"regionTipShow",onRegionOver:"regionOver",onRegionOut:"regionOut",onRegionClick:"regionClick",onRegionSelected:"regionSelected",onMarkerTipShow:"markerTipShow",onMarkerOver:"markerOver",onMarkerOut:"markerOut",onMarkerClick:"markerClick",onMarkerSelected:"markerSelected",onViewportChange:"viewportChange"},b.MultiMap=function(e){var t=this;this.maps={},this.params=b.$.extend(!0,{},b.MultiMap.defaultParams,e),this.params.maxLevel=this.params.maxLevel||Number.MAX_VALUE,this.params.main=this.params.main||{},this.params.main.multiMapLevel=0,this.history=[this.addMap(this.params.main.map,this.params.main)],this.defaultProjection=this.history[0].mapData.projection.type,this.mapsLoaded={},this.params.container.css({position:"relative"}),this.backButton=b.$("<div/>").addClass("jvectormap-goback").text("Back").appendTo(this.params.container),this.backButton.hide(),this.backButton.click(function(){t.goBack()}),this.spinner=b.$("<div/>").addClass("jvectormap-spinner").appendTo(this.params.container),this.spinner.hide()},b.MultiMap.prototype={addMap:function(e,t){var n=b.$("<div/>").css({width:"100%",height:"100%"});return this.params.container.append(n),this.maps[e]=new b.Map(b.$.extend(t,{container:n})),this.params.maxLevel>t.multiMapLevel&&this.maps[e].container.on("regionClick.jvectormap",{scope:this},function(e,t){var e=e.data.scope,n=e.params.mapNameByCode(t,e);e.drillDownPromise&&"pending"===e.drillDownPromise.state()||e.drillDown(n,t)}),this.maps[e]},downloadMap:function(e){var t=this,n=b.$.Deferred();return this.mapsLoaded[e]?n.resolve():b.$.get(this.params.mapUrlByCode(e,this)).then(function(){t.mapsLoaded[e]=!0,n.resolve()},function(){n.reject()}),n},drillDown:function(e,t){var n=this.history[this.history.length-1],i=this,r=n.setFocus({region:t,animate:!0}),o=this.downloadMap(t);r.then(function(){"pending"===o.state()&&i.spinner.show()}),o.always(function(){i.spinner.hide()}),this.drillDownPromise=b.$.when(o,r),this.drillDownPromise.then(function(){n.params.container.hide(),i.maps[e]?i.maps[e].params.container.show():i.addMap(e,{map:e,multiMapLevel:n.params.multiMapLevel+1}),i.history.push(i.maps[e]),i.backButton.show()})},goBack:function(){var e=this.history.pop(),t=this.history[this.history.length-1],n=this;e.setFocus({scale:1,x:.5,y:.5,animate:!0}).then(function(){e.params.container.hide(),t.params.container.show(),t.updateSize(),1===n.history.length&&n.backButton.hide(),t.setFocus({scale:1,x:.5,y:.5,animate:!0})})}},b.MultiMap.defaultParams={mapNameByCode:function(e,t){return e.toLowerCase()+"_"+t.defaultProjection+"_en"},mapUrlByCode:function(e,t){return"jquery-jvectormap-data-"+e.toLowerCase()+"-"+t.defaultProjection+"-en.js"}}},{}],54:[function(e,t,n){"use strict";jQuery.fn.vectorMap("addMap","world_mill",{insets:[{width:900,top:0,height:440.7063107441331,bbox:[{y:-12671671.123330014,x:-20004297.151525836},{y:6930392.025135122,x:20026572.394749384}],left:0}],paths:{BD:{path:"M651.84,230.21l-0.6,-2.0l-1.36,-1.71l-2.31,-0.11l-0.41,0.48l0.2,0.94l-0.53,0.99l-0.72,-0.36l-0.68,0.35l-1.2,-0.36l-0.37,-2.0l-0.81,-1.86l0.39,-1.46l-0.22,-0.47l-1.14,-0.53l0.29,-0.5l1.48,-0.94l0.03,-0.65l-1.55,-1.22l0.55,-1.14l1.61,0.94l1.04,0.15l0.18,1.54l0.34,0.35l5.64,0.63l-0.84,1.64l-1.22,0.34l-0.77,1.51l0.07,0.47l1.37,1.37l0.67,-0.19l0.42,-1.39l1.21,3.84l-0.03,1.21l-0.33,-0.15l-0.4,0.28Z",name:"Bangladesh"},BE:{path:"M429.29,144.05l1.91,0.24l2.1,-0.63l2.63,1.99l-0.21,1.66l-0.69,0.4l-0.18,1.2l-1.66,-1.13l-1.39,0.15l-2.73,-2.7l-1.17,-0.18l-0.16,-0.52l1.54,-0.5Z",name:"Belgium"},BF:{path:"M421.42,247.64l-0.11,0.95l0.34,1.16l1.4,1.71l0.07,1.1l0.32,0.37l2.55,0.51l-0.04,1.28l-0.38,0.53l-1.07,0.21l-0.72,1.18l-0.63,0.21l-3.22,-0.25l-0.94,0.39l-5.4,-0.05l-0.39,0.38l0.16,2.73l-1.23,-0.43l-1.17,0.1l-0.89,0.57l-2.27,-1.72l-0.13,-1.11l0.61,-0.96l0.02,-0.93l1.87,-1.98l0.44,-1.81l0.43,-0.39l1.28,0.26l1.05,-0.52l0.47,-0.73l1.84,-1.09l0.55,-0.83l2.2,-1.0l1.15,-0.3l0.72,0.45l1.13,-0.01Z",name:"Burkina Faso"},BG:{path:"M491.65,168.18l-0.86,0.88l-0.91,2.17l0.48,1.34l-1.6,-0.24l-2.55,0.95l-0.28,1.51l-1.8,0.22l-2.0,-1.0l-1.92,0.79l-1.42,-0.07l-0.15,-1.63l-1.05,-0.97l0.0,-0.8l1.2,-1.57l0.01,-0.56l-1.14,-1.23l-0.05,-0.94l0.88,0.97l0.88,-0.2l1.91,0.47l3.68,0.16l1.42,-0.81l2.72,-0.66l2.55,1.24Z",name:"Bulgaria"},BA:{path:"M463.49,163.65l2.1,0.5l1.72,-0.03l1.52,0.68l-0.36,0.78l0.08,0.45l1.04,1.02l-0.25,0.98l-1.81,1.15l-0.38,1.38l-1.67,-0.87l-0.89,-1.2l-2.11,-1.83l-1.63,-2.22l0.23,-0.57l0.48,0.38l0.55,-0.06l0.43,-0.51l0.94,-0.06Z",name:"Bosnia and Herz."},BN:{path:"M707.48,273.58l0.68,-0.65l1.41,-0.91l-0.15,1.63l-0.81,-0.05l-0.61,0.58l-0.53,-0.6Z",name:"Brunei"},BO:{path:"M263.83,340.69l-3.09,-0.23l-0.38,0.23l-0.7,1.52l-1.31,-1.53l-3.28,-0.64l-2.37,2.4l-1.31,0.26l-0.88,-3.26l-1.3,-2.86l0.74,-2.37l-0.13,-0.43l-1.2,-1.01l-0.37,-1.89l-1.08,-1.55l1.45,-2.56l-0.96,-2.33l0.47,-1.06l-0.34,-0.73l0.91,-1.32l0.16,-3.84l0.5,-1.18l-1.81,-3.41l2.46,0.07l0.8,-0.85l3.4,-1.91l2.66,-0.35l-0.19,1.38l0.3,1.07l-0.05,1.97l2.72,2.27l2.88,0.49l0.89,0.86l1.79,0.58l0.98,0.7l1.71,0.05l1.17,0.61l0.6,2.7l-0.7,0.54l0.96,2.99l0.37,0.28l4.3,0.1l-0.25,1.2l0.27,1.02l1.43,0.9l0.5,1.35l-0.41,1.86l-0.65,1.08l0.12,1.35l-2.69,-1.65l-2.4,-0.03l-4.36,0.76l-1.49,2.5l-0.11,1.52l-0.75,2.37Z",name:"Bolivia"},JP:{path:"M781.12,166.87l1.81,0.68l1.62,-0.97l0.39,2.42l-3.35,0.75l-2.23,2.88l-3.63,-1.9l-0.56,0.2l-1.26,3.05l-2.16,0.03l-0.29,-2.51l1.08,-2.03l2.45,-0.16l0.37,-0.33l1.25,-5.94l2.47,2.71l2.03,1.12ZM773.56,187.34l-0.91,2.22l0.37,1.52l-1.14,1.75l-3.02,1.26l-4.58,0.27l-3.34,3.01l-1.25,-0.8l-0.09,-1.9l-0.46,-0.38l-4.35,0.62l-3.0,1.32l-2.85,0.05l-0.37,0.27l0.13,0.44l2.32,1.89l-1.54,4.34l-1.26,0.9l-0.79,-0.7l0.56,-2.27l-0.21,-0.45l-1.47,-0.75l-0.74,-1.4l2.12,-0.84l1.26,-1.7l2.45,-1.42l1.83,-1.91l4.78,-0.81l2.6,0.57l0.44,-0.21l2.39,-4.66l1.29,1.06l0.5,0.01l5.1,-4.02l1.69,-3.73l-0.38,-3.4l0.9,-1.61l2.14,-0.44l1.23,3.72l-0.07,2.18l-2.23,2.84l-0.04,3.16ZM757.78,196.26l0.19,0.56l-1.01,1.21l-1.16,-0.68l-1.28,0.65l-0.69,1.45l-1.02,-0.5l0.01,-0.93l1.14,-1.38l1.57,0.14l0.85,-0.98l1.4,0.46Z",name:"Japan"},BI:{path:"M495.45,295.49l-1.08,-2.99l1.14,-0.11l0.64,-1.19l0.76,0.09l0.65,1.83l-2.1,2.36Z",name:"Burundi"},BJ:{path:"M429.57,255.75l-0.05,0.8l0.5,1.34l-0.42,0.86l0.17,0.79l-1.81,2.12l-0.57,1.76l-0.08,5.42l-1.41,0.2l-0.48,-1.36l0.11,-5.71l-0.52,-0.7l-0.2,-1.35l-1.48,-1.48l0.21,-0.9l0.89,-0.43l0.42,-0.92l1.27,-0.36l1.22,-1.34l0.61,-0.0l1.62,1.24Z",name:"Benin"},BT:{path:"M650.32,213.86l0.84,0.71l-0.12,1.1l-3.76,-0.11l-1.57,0.4l-1.93,-0.87l1.48,-1.96l1.13,-0.57l1.63,0.57l1.33,0.08l0.99,0.65Z",name:"Bhutan"},JM:{path:"M228.38,239.28l-0.8,0.4l-2.26,-1.06l0.84,-0.23l2.14,0.3l1.17,0.56l-1.08,0.03Z",name:"Jamaica"},BW:{path:"M483.92,330.07l2.27,4.01l2.83,2.86l0.96,0.31l0.78,2.43l2.13,0.61l1.02,0.76l-3.0,1.64l-2.32,2.02l-1.54,2.69l-1.52,0.45l-0.64,1.94l-1.34,0.52l-1.85,-0.12l-1.21,-0.74l-1.35,-0.3l-1.22,0.62l-0.75,1.37l-2.31,1.9l-1.4,0.21l-0.35,-0.59l0.16,-1.75l-1.48,-2.54l-0.62,-0.43l-0.0,-7.1l2.08,-0.08l0.39,-0.4l0.07,-8.9l5.19,-0.93l0.8,0.89l0.51,0.07l1.5,-0.95l2.21,-0.49Z",name:"Botswana"},BR:{path:"M259.98,275.05l3.24,0.7l0.65,-0.53l4.55,-1.32l1.08,-1.06l-0.02,-0.63l0.55,-0.05l0.28,0.28l-0.26,0.87l0.22,0.48l0.73,0.32l0.4,0.81l-0.62,0.86l-0.4,2.13l0.82,2.56l1.69,1.43l1.43,0.2l3.17,-1.68l3.18,0.3l0.65,-0.75l-0.27,-0.92l1.9,-0.09l2.39,0.99l1.06,-0.61l0.84,0.78l1.2,-0.18l1.18,-1.06l0.84,-1.94l1.36,-2.11l0.37,-0.05l1.89,5.45l1.33,0.59l0.05,1.28l-1.77,1.94l0.02,0.56l1.02,0.87l4.07,0.36l0.08,2.16l0.66,0.29l1.74,-1.5l6.97,2.32l1.02,1.22l-0.35,1.18l0.49,0.5l2.81,-0.74l4.77,1.3l3.75,-0.08l3.57,2.0l3.29,2.86l1.93,0.72l2.12,0.12l0.71,0.62l1.21,4.51l-0.95,3.98l-4.72,5.06l-1.64,2.92l-1.72,2.05l-0.8,0.3l-0.72,2.03l0.18,4.75l-0.94,5.53l-0.81,1.13l-0.43,3.36l-2.55,3.5l-0.4,2.51l-1.86,1.04l-0.67,1.53l-2.54,0.01l-3.94,1.01l-1.83,1.2l-2.87,0.82l-3.03,2.19l-2.2,2.83l-0.36,2.0l0.4,1.58l-0.44,2.6l-0.51,1.2l-1.77,1.54l-2.75,4.78l-3.83,3.42l-1.24,2.74l-1.18,1.15l-0.36,-0.83l0.95,-1.14l0.01,-0.5l-1.52,-1.97l-4.56,-3.32l-1.03,-0.0l-2.38,-2.02l-0.81,-0.0l5.34,-5.45l3.77,-2.58l0.22,-2.46l-1.35,-1.81l-0.91,0.07l0.58,-2.33l0.01,-1.54l-1.11,-0.83l-1.75,0.3l-0.44,-3.11l-0.52,-0.95l-1.88,-0.88l-1.24,0.47l-2.17,-0.41l0.15,-3.21l-0.62,-1.34l0.66,-0.73l-0.22,-1.34l0.66,-1.13l0.44,-2.04l-0.61,-1.83l-1.4,-0.86l-0.2,-0.75l0.34,-1.39l-0.38,-0.5l-4.52,-0.1l-0.72,-2.22l0.59,-0.42l-0.03,-1.1l-0.5,-0.87l-0.32,-1.7l-1.45,-0.76l-1.63,-0.02l-1.05,-0.72l-1.6,-0.48l-1.13,-0.99l-2.69,-0.4l-2.47,-2.06l0.13,-4.35l-0.45,-0.45l-3.46,0.5l-3.44,1.94l-0.6,0.74l-2.9,-0.17l-1.47,0.42l-0.72,-0.18l0.15,-3.52l-0.63,-0.34l-1.94,1.41l-1.87,-0.06l-0.83,-1.18l-1.37,-0.26l0.21,-1.01l-1.35,-1.49l-0.88,-1.91l0.56,-0.6l-0.0,-0.81l1.29,-0.62l0.22,-0.43l-0.22,-1.19l0.61,-0.91l0.15,-0.99l2.65,-1.58l1.99,-0.47l0.42,-0.36l2.06,0.11l0.42,-0.33l1.19,-8.0l-0.41,-1.56l-1.1,-1.0l0.01,-1.33l1.91,-0.42l0.08,-0.96l-0.33,-0.43l-1.14,-0.2l-0.02,-0.83l4.47,0.05l0.82,-0.67l0.82,1.81l0.8,0.07l1.15,1.1l2.26,-0.05l0.71,-0.83l2.78,-0.96l0.48,-1.13l1.6,-0.64l0.24,-0.47l-0.48,-0.82l-1.83,-0.19l-0.36,-3.22Z",name:"Brazil"},BS:{path:"M226.4,223.87l-0.48,-1.15l-0.84,-0.75l0.36,-1.11l0.95,1.95l0.01,1.06ZM225.56,216.43l-1.87,0.29l-0.04,-0.22l0.74,-0.14l1.17,0.06Z",name:"Bahamas"},BY:{path:"M493.84,128.32l0.29,0.7l0.49,0.23l1.19,-0.38l2.09,0.72l0.19,1.26l-0.45,1.24l1.57,2.26l0.89,0.59l0.17,0.81l1.58,0.56l0.4,0.5l-0.53,0.41l-1.87,-0.11l-0.73,0.38l-0.13,0.52l1.04,2.74l-1.91,0.26l-0.89,0.99l-0.11,1.18l-2.73,-0.04l-0.53,-0.62l-0.52,-0.08l-0.75,0.46l-0.91,-0.42l-1.92,-0.07l-2.75,-0.79l-2.6,-0.28l-2.0,0.07l-1.5,0.92l-0.67,0.07l-0.08,-1.22l-0.59,-1.19l1.36,-0.88l0.01,-1.35l-0.7,-1.41l-0.07,-1.0l2.16,-0.02l2.72,-1.3l0.75,-2.04l1.91,-1.04l0.2,-0.41l-0.19,-1.25l3.8,-1.78l2.3,0.77Z",name:"Belarus"},BZ:{path:"M198.03,244.38l0.1,-4.49l0.69,-0.06l0.74,-1.3l0.34,0.28l-0.4,1.3l0.17,0.58l-0.34,2.25l-1.3,1.42Z",name:"Belize"},RU:{path:"M491.55,115.25l2.55,-1.85l-0.01,-0.65l-2.2,-1.5l7.32,-6.76l1.03,-2.11l-0.13,-0.49l-3.46,-2.52l0.86,-2.7l-2.11,-2.81l1.56,-3.67l-2.77,-4.52l2.15,-2.99l-0.08,-0.55l-3.65,-2.73l0.3,-2.54l1.81,-0.37l4.26,-1.77l2.42,-1.45l4.06,2.61l6.79,1.04l9.34,4.85l1.78,1.88l0.14,2.46l-2.55,2.02l-3.9,1.06l-11.07,-3.14l-2.06,0.53l-0.13,0.7l3.94,2.94l0.31,5.86l0.26,0.36l5.14,2.24l0.58,-0.29l0.32,-1.94l-1.35,-1.78l1.13,-1.09l6.13,2.42l2.11,-0.98l0.18,-0.56l-1.51,-2.67l5.41,-3.76l2.07,0.22l2.26,1.41l0.57,-0.16l1.46,-2.87l-0.05,-0.44l-1.92,-2.32l1.12,-2.32l-1.32,-2.27l5.87,1.16l1.04,1.75l-2.59,0.43l-0.33,0.4l0.02,2.36l2.46,1.83l3.87,-0.91l0.86,-2.8l13.69,-5.65l0.99,0.11l-1.92,2.06l0.23,0.67l3.11,0.45l2.0,-1.48l4.56,-0.12l3.64,-1.73l2.65,2.44l0.56,-0.01l2.85,-2.88l-0.01,-0.57l-2.35,-2.29l0.9,-1.01l7.14,1.3l3.41,1.36l9.05,4.97l0.51,-0.11l1.67,-2.27l-0.05,-0.53l-2.43,-2.21l-0.06,-0.78l-0.34,-0.36l-2.52,-0.36l0.64,-1.93l-1.32,-3.46l-0.06,-1.21l4.48,-4.06l1.69,-4.29l1.6,-0.81l6.23,1.18l0.44,2.21l-2.29,3.64l0.06,0.5l1.47,1.39l0.76,3.0l-0.56,6.03l2.69,2.82l-0.96,2.57l-4.86,5.95l0.23,0.64l2.86,0.61l0.42,-0.17l0.93,-1.4l2.64,-1.03l0.87,-2.24l2.09,-1.96l0.07,-0.5l-1.36,-2.28l1.09,-2.69l-0.32,-0.55l-2.47,-0.33l-0.5,-2.06l1.94,-4.38l-0.06,-0.42l-2.96,-3.4l4.12,-2.88l0.16,-0.4l-0.51,-2.93l0.54,-0.05l1.13,2.25l-0.96,4.35l0.27,0.47l2.68,0.84l0.5,-0.51l-1.02,-2.99l3.79,-1.66l5.01,-0.24l4.53,2.61l0.48,-0.06l0.07,-0.48l-2.18,-3.82l-0.23,-4.67l3.98,-0.9l5.97,0.21l5.49,-0.64l0.27,-0.65l-1.83,-2.31l2.56,-2.9l2.87,-0.17l4.8,-2.47l6.54,-0.67l1.03,-1.42l6.25,-0.45l2.32,1.11l5.53,-2.7l4.5,0.08l0.39,-0.28l0.66,-2.15l2.26,-2.12l5.69,-2.11l3.21,1.29l-2.46,0.94l-0.25,0.42l0.34,0.35l5.41,0.77l0.61,2.33l0.58,0.25l2.2,-1.22l7.13,0.07l5.51,2.47l1.79,1.72l-0.53,2.24l-9.16,4.15l-1.97,1.52l0.16,0.71l6.77,1.91l2.16,-0.78l1.13,2.74l0.67,0.11l1.01,-1.15l3.81,-0.73l7.7,0.77l0.54,1.99l0.36,0.29l10.47,0.71l0.43,-0.38l0.13,-3.23l4.87,0.78l3.95,-0.02l3.83,2.4l1.03,2.71l-1.35,1.79l0.02,0.5l3.15,3.64l4.07,1.96l0.53,-0.18l2.23,-4.47l3.95,1.93l4.16,-1.21l4.73,1.39l2.05,-1.26l3.94,0.62l0.43,-0.55l-1.68,-4.02l2.89,-1.8l22.31,3.03l2.16,2.75l6.55,3.51l10.29,-0.81l4.82,0.73l1.85,1.66l-0.29,3.08l0.25,0.41l3.08,1.26l3.56,-0.88l4.35,-0.11l4.8,0.87l4.57,-0.47l4.23,3.79l0.43,0.07l3.1,-1.4l0.16,-0.6l-1.88,-2.62l0.85,-1.52l7.71,1.21l5.22,-0.26l7.09,2.09l9.59,5.22l6.35,4.11l-0.2,2.38l1.88,1.41l0.6,-0.42l-0.48,-2.53l6.15,0.57l4.4,3.51l-1.97,1.43l-4.0,0.41l-0.36,0.39l-0.06,3.79l-0.74,0.62l-2.07,-0.11l-1.91,-1.39l-3.14,-1.11l-0.78,-1.85l-2.72,-0.68l-2.63,0.49l-1.04,-1.1l0.46,-1.31l-0.5,-0.51l-3.0,0.98l-0.22,0.58l0.99,1.7l-1.21,1.48l-3.04,1.68l-3.12,-0.28l-0.4,0.23l0.09,0.46l2.2,2.09l1.46,3.2l1.15,1.1l0.24,1.33l-0.42,0.67l-4.63,-0.77l-6.96,2.9l-2.19,0.44l-7.6,5.06l-0.84,1.45l-3.61,-2.37l-6.24,2.82l-0.94,-1.15l-0.53,-0.08l-2.28,1.52l-3.2,-0.49l-0.44,0.27l-0.78,2.37l-3.05,3.78l0.09,1.47l0.29,0.36l2.54,0.72l-0.29,4.53l-1.97,0.11l-0.35,0.26l-1.07,2.94l0.8,1.45l-3.91,1.58l-1.05,3.95l-3.48,0.77l-0.3,0.3l-0.72,3.29l-3.09,2.65l-0.7,-1.74l-2.44,-12.44l1.16,-4.71l2.04,-2.06l0.22,-1.64l3.8,-0.86l4.46,-4.61l4.28,-3.81l4.48,-3.01l2.17,-5.63l-0.42,-0.54l-3.04,0.33l-1.77,3.31l-5.86,3.86l-1.86,-4.25l-0.45,-0.23l-6.46,1.3l-6.47,6.44l-0.01,0.55l1.58,1.74l-8.24,1.17l0.15,-2.2l-0.34,-0.42l-3.89,-0.56l-3.25,1.81l-7.62,-0.62l-8.45,1.19l-17.71,15.41l0.22,0.7l3.74,0.41l1.36,2.17l2.43,0.76l1.88,-1.68l2.4,0.2l3.4,3.54l0.08,2.6l-1.95,3.42l-0.21,3.9l-1.1,5.06l-3.71,4.54l-0.87,2.21l-8.29,8.89l-3.19,1.7l-1.32,0.03l-1.45,-1.36l-0.49,-0.04l-2.27,1.5l0.41,-3.65l-0.59,-2.47l1.75,-0.89l2.91,0.53l0.42,-0.2l1.68,-3.03l0.87,-3.46l0.97,-1.18l1.32,-2.88l-0.45,-0.56l-4.14,0.95l-2.19,1.25l-3.41,-0.0l-1.06,-2.93l-2.97,-2.3l-4.28,-1.06l-1.75,-5.07l-2.66,-5.01l-2.29,-1.29l-3.75,-1.01l-3.44,0.08l-3.18,0.62l-2.24,1.77l0.05,0.66l1.18,0.69l0.02,1.43l-1.33,1.05l-2.26,3.51l-0.04,1.43l-3.16,1.84l-2.82,-1.16l-3.01,0.23l-1.35,-1.07l-1.5,-0.35l-3.9,2.31l-3.22,0.52l-2.27,0.79l-3.05,-0.51l-2.21,0.03l-1.48,-1.6l-2.6,-1.63l-2.63,-0.43l-5.46,1.01l-3.23,-1.25l-0.72,-2.57l-5.2,-1.24l-2.75,-1.36l-0.5,0.12l-2.59,3.45l0.84,2.1l-2.06,1.93l-3.41,-0.77l-2.42,-0.12l-1.83,-1.54l-2.53,-0.05l-2.42,-0.98l-3.86,1.57l-4.72,2.78l-3.3,0.75l-1.55,-1.92l-3.0,0.41l-1.11,-1.33l-1.62,-0.59l-1.31,-1.94l-1.38,-0.6l-3.7,0.79l-3.31,-1.83l-0.51,0.11l-0.99,1.29l-5.29,-8.05l-2.96,-2.48l0.65,-0.77l0.01,-0.51l-0.5,-0.11l-6.2,3.21l-1.84,0.15l0.15,-1.39l-0.26,-0.42l-3.22,-1.17l-2.46,0.7l-0.69,-3.16l-0.32,-0.31l-4.5,-0.75l-2.47,1.47l-6.19,1.27l-1.29,0.86l-9.51,1.3l-1.15,1.17l-0.03,0.53l1.47,1.9l-1.89,0.69l-0.22,0.56l0.31,0.6l-2.11,1.44l0.03,0.68l3.75,2.12l-0.39,0.98l-3.23,-0.13l-0.86,0.86l-3.09,-1.59l-3.97,0.07l-2.66,1.35l-8.32,-3.56l-4.07,0.06l-5.39,3.68l-0.39,2.0l-2.03,-1.5l-0.59,0.13l-2.0,3.59l0.57,0.93l-1.28,2.16l0.06,0.48l2.13,2.17l1.95,0.04l1.37,1.82l-0.23,1.46l0.25,0.43l0.83,0.33l-0.8,1.31l-2.49,0.62l-2.49,3.2l0.0,0.49l2.17,2.78l-0.15,2.18l2.5,3.24l-1.58,1.59l-0.7,-0.13l-1.63,-1.72l-2.29,-0.84l-0.94,-1.31l-2.34,-0.63l-1.48,0.4l-0.43,-0.47l-3.51,-1.48l-5.76,-1.01l-0.45,0.19l-2.89,-2.34l-2.9,-1.2l-1.53,-1.29l1.29,-0.43l2.08,-2.61l-0.05,-0.55l-0.89,-0.79l3.05,-1.06l0.27,-0.42l-0.07,-0.69l-0.49,-0.35l-1.73,0.39l0.04,-0.68l1.04,-0.72l2.66,-0.48l0.4,-1.32l-0.5,-1.6l0.92,-1.54l0.03,-1.17l-0.29,-0.37l-3.69,-1.06l-1.41,0.02l-1.42,-1.41l-2.19,0.38l-2.77,-1.01l-0.03,-0.59l-0.89,-1.43l-2.0,-0.32l-0.11,-0.54l0.49,-0.53l0.01,-0.53l-1.6,-1.9l-3.58,0.02l-0.88,0.73l-0.46,-0.07l-1.0,-2.79l2.22,-0.02l0.97,-0.74l0.07,-0.57l-0.9,-1.04l-1.35,-0.48l-0.11,-0.7l-0.95,-0.58l-1.38,-1.99l0.46,-0.98l-0.51,-1.96l-2.45,-0.84l-1.21,0.3l-0.46,-0.76l-2.46,-0.83l-0.72,-1.87l-0.21,-1.69l-0.99,-0.85l0.85,-1.17l-0.7,-3.21l1.66,-1.97l-0.16,-0.79ZM749.2,170.72l-0.6,0.4l-0.13,0.16l-0.01,-0.51l0.74,-0.05ZM871.88,65.81l2.17,-0.13l3.19,1.16l-2.39,1.09l-5.63,0.48l-0.26,-0.84l2.92,-1.76ZM797.39,48.49l-2.0,1.36l-3.8,-0.42l-4.25,-1.8l0.35,-0.97l9.69,1.83ZM783.67,46.12l-1.63,3.09l-8.98,-0.13l-4.09,1.14l-4.54,-2.97l1.16,-3.01l3.05,-0.89l6.5,0.22l8.54,2.56ZM778.2,134.98l-0.56,-0.9l0.27,-0.12l0.29,1.01ZM778.34,135.48l0.94,3.53l-0.05,3.38l1.05,3.39l2.18,5.0l-2.89,-0.83l-0.49,0.26l-1.54,4.65l2.42,3.5l-0.04,1.13l-1.24,-1.24l-0.61,0.06l-1.09,1.61l-0.28,-1.61l0.27,-3.1l-0.28,-3.4l0.58,-2.47l0.11,-4.39l-1.46,-3.36l0.21,-4.32l2.15,-1.46l0.07,-0.34ZM771.95,56.61l1.76,-1.42l2.89,-0.42l3.28,1.71l0.14,0.6l-3.27,0.03l-4.81,-0.5ZM683.76,31.09l-13.01,1.93l4.03,-6.35l1.82,-0.56l1.73,0.34l5.99,2.98l-0.56,1.66ZM670.85,27.93l-5.08,0.64l-6.86,-1.57l-3.99,-2.05l-2.1,-4.16l-2.6,-0.87l5.72,-3.5l5.2,-1.28l4.69,2.85l5.59,5.4l-0.56,4.53ZM564.15,68.94l-0.64,0.17l-7.85,-0.57l-0.86,-2.04l-4.28,-1.17l-0.28,-1.94l2.27,-0.89l0.25,-0.39l-0.08,-2.38l4.81,-3.97l-0.15,-0.7l-1.47,-0.38l5.3,-3.81l0.15,-0.44l-0.58,-1.94l5.28,-2.51l8.21,-3.27l8.28,-0.96l4.35,-1.94l4.6,-0.64l1.36,1.61l-1.34,1.28l-16.43,4.94l-7.97,4.88l-7.74,9.63l0.66,4.14l4.16,3.27ZM548.81,18.48l-5.5,1.18l-0.58,1.02l-2.59,0.84l-2.13,-1.07l1.12,-1.42l-0.3,-0.65l-2.33,-0.07l1.68,-0.36l3.47,-0.06l0.42,1.29l0.66,0.16l1.38,-1.34l2.15,-0.88l2.94,1.01l-0.39,0.36ZM477.37,133.15l-4.08,0.05l-2.56,-0.32l0.33,-0.87l3.17,-1.03l3.24,0.96l-0.09,1.23Z",name:"Russia"},RW:{path:"M497.0,288.25l0.71,1.01l-0.11,1.09l-1.63,0.03l-1.04,1.39l-0.83,-0.11l0.51,-1.2l0.08,-1.34l0.42,-0.41l0.7,0.14l1.19,-0.61Z",name:"Rwanda"},RS:{path:"M469.4,163.99l0.42,-0.5l-0.01,-0.52l-1.15,-1.63l1.43,-0.62l1.33,0.12l1.17,1.06l0.46,1.13l1.34,0.64l0.35,1.35l1.46,0.9l0.76,-0.29l0.2,0.69l-0.48,0.78l0.22,1.12l1.05,1.22l-0.77,0.8l-0.37,1.52l-1.21,0.08l0.24,-0.64l-0.39,-0.54l-2.08,-1.64l-0.9,0.05l-0.48,0.94l-2.12,-1.37l0.53,-1.6l-1.11,-1.37l0.51,-1.1l-0.41,-0.57Z",name:"Serbia"},TL:{path:"M734.55,307.93l-0.1,-0.97l4.5,-0.86l-2.82,1.28l-1.59,0.55Z",name:"Timor-Leste"},TM:{path:"M553.03,173.76l-0.04,0.34l-0.09,-0.22l0.13,-0.12ZM555.87,172.66l0.45,-0.1l1.48,0.74l2.06,2.43l4.07,-0.18l0.38,-0.51l-0.32,-1.19l1.92,-0.94l1.91,-1.59l2.94,1.39l0.43,2.47l1.19,0.67l2.58,-0.13l0.62,0.4l1.32,3.12l4.54,3.44l2.67,1.45l3.06,1.14l-0.04,1.05l-1.33,-0.75l-0.59,0.19l-0.32,0.84l-2.2,0.81l-0.46,2.13l-1.21,0.74l-1.91,0.42l-0.73,1.33l-1.56,0.31l-2.22,-0.94l-0.2,-2.17l-0.38,-0.36l-1.73,-0.09l-2.76,-2.46l-2.14,-0.4l-2.84,-1.48l-1.78,-0.27l-1.24,0.53l-1.57,-0.08l-2.0,1.69l-1.7,0.43l-0.36,-1.58l0.36,-2.98l-0.22,-0.4l-1.65,-0.84l0.54,-1.69l-0.34,-0.52l-1.22,-0.13l0.36,-1.64l2.22,0.59l2.2,-0.95l0.12,-0.65l-1.77,-1.74l-0.66,-1.57Z",name:"Turkmenistan"},TJ:{path:"M597.75,178.82l-2.54,-0.44l-0.47,0.34l-0.24,1.7l0.43,0.45l2.64,-0.22l3.18,0.95l4.39,-0.41l0.56,2.37l0.52,0.29l0.67,-0.24l1.11,0.49l0.21,2.13l-3.76,-0.21l-1.8,1.32l-1.76,0.74l-0.61,-0.58l0.21,-2.23l-0.64,-0.49l-0.07,-0.93l-1.36,-0.66l-0.45,0.07l-1.08,1.01l-0.55,1.48l-1.31,-0.05l-0.95,1.16l-0.9,-0.35l-1.86,0.74l1.26,-2.83l-0.54,-2.17l-1.67,-0.82l0.33,-0.66l2.18,-0.04l1.19,-1.63l0.76,-1.79l2.43,-0.5l-0.26,1.0l0.73,1.05Z",name:"Tajikistan"},RO:{path:"M487.53,154.23l0.6,0.24l2.87,3.98l-0.17,2.69l0.45,1.42l1.32,0.81l1.35,-0.42l0.76,0.36l0.02,0.31l-0.83,0.45l-0.59,-0.22l-0.54,0.3l-0.62,3.3l-1.0,-0.22l-2.07,-1.13l-2.95,0.71l-1.25,0.76l-3.51,-0.15l-1.89,-0.47l-0.87,0.16l-0.82,-1.3l0.29,-0.26l-0.06,-0.64l-1.09,-0.34l-0.56,0.5l-1.05,-0.64l-0.39,-1.39l-1.36,-0.65l-0.35,-1.0l-0.83,-0.75l1.54,-0.54l2.66,-4.21l2.4,-1.24l2.96,0.34l1.48,0.73l0.79,-0.45l1.78,-0.3l0.75,-0.74l0.79,0.0Z",name:"Romania"},GW:{path:"M386.23,253.6l-0.29,0.84l0.15,0.6l-2.21,0.59l-0.86,0.96l-1.04,-0.83l-1.09,-0.23l-0.54,-1.06l-0.66,-0.49l2.41,-0.48l4.13,0.1Z",name:"Guinea-Bissau"},GT:{path:"M195.08,249.77l-2.48,-0.37l-1.03,-0.45l-1.14,-0.89l0.3,-0.99l-0.24,-0.68l0.96,-1.66l2.98,-0.01l0.4,-0.37l-0.19,-1.28l-1.67,-1.4l0.51,-0.4l0.0,-1.05l3.85,0.02l-0.21,4.53l0.4,0.43l1.46,0.38l-1.48,0.98l-0.35,0.7l0.12,0.57l-2.2,1.96Z",name:"Guatemala"},GR:{path:"M487.07,174.59l-0.59,1.43l-0.37,0.21l-2.84,-0.35l-3.03,0.77l-0.18,0.68l1.28,1.23l-0.61,0.23l-1.14,0.0l-1.2,-1.39l-0.63,0.03l-0.53,1.01l0.56,1.76l1.03,1.19l-0.56,0.38l-0.05,0.62l2.52,2.12l0.02,0.87l-1.78,-0.59l-0.48,0.56l0.5,1.0l-1.07,0.2l-0.3,0.53l0.75,2.01l-0.98,0.02l-1.84,-1.12l-1.37,-4.2l-2.21,-2.95l-0.11,-0.56l1.04,-1.28l0.2,-0.95l0.85,-0.66l0.03,-0.46l1.32,-0.21l1.01,-0.64l1.22,0.05l0.65,-0.56l2.26,-0.0l1.82,-0.75l1.85,1.0l2.28,-0.28l0.35,-0.39l0.01,-0.77l0.34,0.22ZM480.49,192.16l0.58,0.4l-0.68,-0.12l0.11,-0.28ZM482.52,192.82l2.51,0.06l0.24,0.32l-1.99,0.13l-0.77,-0.51Z",name:"Greece"},GQ:{path:"M448.79,279.62l0.02,2.22l-4.09,0.0l0.69,-2.27l3.38,0.05Z",name:"Eq. Guinea"},GY:{path:"M277.42,270.07l-0.32,1.83l-1.32,0.57l-0.23,0.46l-0.28,2.0l1.11,1.82l0.83,0.19l0.32,1.25l1.13,1.62l-1.21,-0.19l-1.08,0.71l-1.77,0.5l-0.44,0.46l-0.86,-0.09l-1.32,-1.01l-0.77,-2.27l0.36,-1.9l0.68,-1.23l-0.57,-1.17l-0.74,-0.43l0.12,-1.16l-0.9,-0.69l-1.1,0.09l-1.31,-1.48l0.53,-0.72l-0.04,-0.84l1.99,-0.86l0.05,-0.59l-0.71,-0.78l0.14,-0.57l1.66,-1.24l1.36,0.77l1.41,1.49l0.06,1.15l0.37,0.38l0.8,0.05l2.06,1.86Z",name:"Guyana"},GE:{path:"M521.71,168.93l5.29,0.89l4.07,2.01l1.41,-0.44l2.07,0.56l0.68,1.1l1.07,0.55l-0.12,0.59l0.98,1.29l-1.01,-0.13l-1.81,-0.83l-0.94,0.47l-3.23,0.43l-2.29,-1.39l-2.33,0.05l0.21,-0.97l-0.76,-2.26l-1.45,-1.12l-1.43,-0.39l-0.41,-0.42Z",name:"Georgia"},GB:{path:"M412.61,118.72l-2.19,3.22l-0.0,0.45l5.13,-0.3l-0.53,2.37l-2.2,3.12l0.29,0.63l2.37,0.21l2.33,4.3l1.76,0.69l2.2,5.12l2.94,0.77l-0.23,1.62l-1.15,0.88l-0.1,0.52l0.82,1.42l-1.86,1.43l-3.3,-0.02l-4.12,0.87l-1.04,-0.58l-0.47,0.06l-1.51,1.41l-2.12,-0.34l-1.86,1.18l-0.6,-0.29l3.19,-3.0l2.16,-0.69l0.28,-0.41l-0.34,-0.36l-3.73,-0.53l-0.4,-0.76l2.2,-0.87l0.17,-0.61l-1.26,-1.67l0.36,-1.7l3.38,0.28l0.43,-0.33l0.37,-1.99l-1.79,-2.49l-3.11,-0.72l-0.38,-0.59l0.79,-1.35l-0.04,-0.46l-0.82,-0.97l-0.61,0.01l-0.68,0.84l-0.1,-2.34l-1.23,-1.88l0.85,-3.47l1.77,-2.68l1.85,0.26l2.17,-0.22ZM406.26,132.86l-1.01,1.77l-1.57,-0.59l-1.16,0.01l0.37,-1.54l-0.39,-1.39l1.45,-0.1l2.3,1.84Z",name:"United Kingdom"},GA:{path:"M453.24,279.52l-0.08,0.98l0.7,1.29l2.36,0.24l-0.98,2.63l1.18,1.79l0.25,1.78l-0.29,1.52l-0.6,0.93l-1.84,-0.09l-1.23,-1.11l-0.66,0.23l-0.15,0.84l-1.42,0.26l-1.02,0.7l-0.11,0.52l0.77,1.35l-1.34,0.97l-3.94,-4.3l-1.44,-2.45l0.06,-0.6l0.54,-0.81l1.05,-3.46l4.17,-0.07l0.4,-0.4l-0.02,-2.66l2.39,0.21l1.25,-0.27Z",name:"Gabon"},GN:{path:"M391.8,254.11l0.47,0.8l1.11,-0.32l0.98,0.7l1.07,0.2l2.26,-1.22l0.64,0.44l1.13,1.56l-0.48,1.4l0.8,0.3l-0.08,0.48l0.46,0.68l-0.35,1.36l1.05,2.61l-1.0,0.69l0.03,1.41l-0.72,-0.06l-1.08,1.0l-0.24,-0.27l0.07,-1.11l-1.05,-1.54l-1.79,0.21l-0.35,-2.01l-1.6,-2.18l-2.0,-0.0l-1.31,0.54l-1.95,2.18l-1.86,-2.19l-1.2,-0.78l-0.3,-1.11l-0.8,-0.85l0.65,-0.72l0.81,-0.03l1.64,-0.8l0.23,-1.87l2.67,0.64l0.89,-0.3l1.21,0.15Z",name:"Guinea"},GM:{path:"M379.31,251.39l0.1,-0.35l2.43,-0.07l0.74,-0.61l0.51,-0.03l0.77,0.49l-1.03,-0.3l-1.87,0.9l-1.65,-0.04ZM384.03,250.91l0.91,0.05l0.75,-0.24l-0.59,0.31l-1.08,-0.13Z",name:"Gambia"},GL:{path:"M353.02,1.2l14.69,4.67l-3.68,1.89l-22.97,0.86l-0.36,0.27l0.12,0.43l1.55,1.18l8.79,-0.66l7.48,2.07l4.86,-1.77l1.66,1.73l-2.53,3.19l-0.01,0.48l0.46,0.15l6.35,-2.2l12.06,-2.31l7.24,1.13l1.09,1.99l-9.79,4.01l-1.44,1.32l-7.87,0.98l-0.35,0.41l0.38,0.38l5.07,0.24l-2.53,3.58l-2.07,3.81l0.08,6.05l2.57,3.11l-3.22,0.2l-4.12,1.66l-0.05,0.72l4.45,2.65l0.51,3.75l-2.3,0.4l-0.25,0.64l2.79,3.69l-4.82,0.31l-0.36,0.29l0.16,0.44l2.62,1.8l-0.59,1.22l-3.3,0.7l-3.45,0.01l-0.29,0.68l3.03,3.12l0.02,1.34l-4.4,-1.73l-1.72,1.35l0.15,0.66l3.31,1.15l3.13,2.71l0.81,3.16l-3.85,0.75l-4.89,-4.26l-0.47,-0.03l-0.17,0.44l0.79,2.86l-2.71,2.21l-0.13,0.44l0.37,0.27l8.73,0.34l-12.32,6.64l-7.24,1.48l-2.94,0.08l-2.69,1.75l-3.43,4.41l-5.24,2.84l-1.73,0.18l-7.12,2.1l-2.15,2.52l-0.13,2.99l-1.19,2.45l-4.01,3.09l-0.14,0.44l0.97,2.9l-2.28,6.48l-3.1,0.2l-3.83,-3.07l-4.86,-0.02l-2.25,-1.93l-1.7,-3.79l-4.3,-4.84l-1.21,-2.49l-0.44,-3.8l-3.32,-3.63l0.84,-2.86l-1.56,-1.7l2.28,-4.6l3.83,-1.74l1.03,-1.96l0.52,-3.47l-0.59,-0.41l-4.17,2.21l-2.07,0.58l-2.72,-1.28l-0.15,-2.71l0.85,-2.09l2.01,-0.06l5.06,1.2l0.46,-0.23l-0.14,-0.49l-6.54,-4.47l-2.67,0.55l-1.58,-0.86l2.56,-4.01l-0.03,-0.48l-1.5,-1.74l-4.98,-8.5l-3.13,-1.96l0.03,-1.88l-0.24,-0.37l-6.85,-3.02l-5.36,-0.38l-12.7,0.58l-2.78,-1.57l-3.66,-2.77l5.73,-1.45l5.0,-0.28l0.38,-0.38l-0.35,-0.41l-10.67,-1.38l-5.3,-2.06l0.25,-1.54l18.41,-5.26l1.22,-2.27l-0.25,-0.55l-6.14,-1.86l1.68,-1.77l8.55,-4.03l3.59,-0.63l0.3,-0.54l-0.88,-2.27l5.47,-1.47l7.65,-0.95l7.55,-0.05l3.04,1.85l6.48,-3.27l5.81,2.22l3.56,0.5l5.16,1.94l0.5,-0.21l-0.17,-0.52l-5.71,-3.13l0.28,-2.13l8.12,-3.6l8.7,0.28l3.35,-2.34l8.71,-0.6l19.93,0.8Z",name:"Greenland"},GH:{path:"M420.53,257.51l-0.01,0.72l0.96,1.2l0.24,3.73l0.59,0.95l-0.51,2.1l0.19,1.41l1.02,2.21l-6.97,2.84l-1.8,-0.57l0.04,-0.89l-1.02,-2.04l0.61,-2.65l1.07,-2.32l-0.96,-6.47l5.01,0.07l0.94,-0.39l0.61,0.11Z",name:"Ghana"},OM:{path:"M568.09,230.93l-0.91,1.67l-1.22,0.04l-0.6,0.76l-0.41,1.51l0.27,1.58l-1.16,0.05l-1.56,0.97l-0.76,1.74l-1.62,0.05l-0.98,0.65l-0.17,1.15l-0.89,0.52l-1.49,-0.18l-2.4,0.94l-2.47,-5.4l7.35,-2.71l1.67,-5.23l-1.12,-2.09l0.05,-0.83l0.67,-1.0l0.07,-1.05l0.9,-0.42l-0.05,-2.07l0.7,-0.01l1.0,1.62l1.51,1.08l3.3,0.84l1.73,2.29l0.81,0.37l-1.23,2.35l-0.99,0.79Z",name:"Oman"},TN:{path:"M448.1,188.24l-1.0,1.27l-0.02,1.32l0.84,0.88l-0.28,2.09l-1.53,1.32l-0.12,0.42l0.48,1.54l1.42,0.32l0.53,1.11l0.9,0.52l-0.11,1.67l-3.54,2.64l-0.1,2.38l-0.58,0.3l-0.96,-4.45l-1.54,-1.25l-0.16,-0.78l-1.92,-1.56l-0.18,-1.76l1.51,-1.62l0.59,-2.34l-0.38,-2.78l0.42,-1.21l2.45,-1.05l1.29,0.26l-0.06,1.11l0.58,0.38l1.47,-0.73Z",name:"Tunisia"},JO:{path:"M518.64,201.38l-5.14,1.56l-0.19,0.65l2.16,2.39l-0.89,1.14l-1.71,0.34l-1.71,1.8l-2.34,-0.37l1.21,-4.32l0.56,-4.07l2.8,0.94l4.46,-2.71l0.79,2.66Z",name:"Jordan"},HR:{path:"M455.59,162.84l1.09,0.07l-0.82,0.94l-0.27,-1.01ZM456.96,162.92l0.62,-0.41l1.73,0.45l0.42,-0.4l-0.01,-0.59l0.86,-0.52l0.2,-1.05l1.63,-0.68l2.57,1.68l2.07,0.6l0.87,-0.31l1.05,1.57l-0.52,0.63l-1.05,-0.56l-1.68,0.04l-2.1,-0.5l-1.29,0.06l-0.57,0.49l-0.59,-0.47l-0.62,0.16l-0.46,1.7l1.79,2.42l2.79,2.75l-1.18,-0.87l-2.21,-0.87l-1.67,-1.78l0.13,-0.63l-1.05,-1.19l-0.32,-1.27l-1.42,-0.43Z",name:"Croatia"},HT:{path:"M237.05,238.38l-1.16,0.43l-0.91,-0.55l0.05,-0.2l2.02,0.31ZM237.53,238.43l1.06,0.12l-0.05,0.01l-1.01,-0.12ZM239.25,238.45l0.79,-0.51l0.06,-0.62l-1.02,-1.0l0.02,-0.82l-0.3,-0.4l-0.93,-0.32l3.16,0.45l0.02,1.84l-0.48,0.34l-0.08,0.58l0.54,0.72l-1.78,-0.26Z",name:"Haiti"},HU:{path:"M462.08,157.89l0.65,-1.59l-0.09,-0.44l0.64,-0.0l0.39,-0.34l0.1,-0.69l1.75,0.87l2.32,-0.37l0.43,-0.66l3.49,-0.78l0.69,-0.78l0.57,-0.14l2.57,0.93l0.67,-0.23l1.03,0.65l0.08,0.37l-1.42,0.71l-2.59,4.14l-1.8,0.53l-1.68,-0.1l-2.74,1.23l-1.85,-0.54l-2.54,-1.66l-0.66,-1.1Z",name:"Hungary"},HN:{path:"M199.6,249.52l-1.7,-1.21l0.06,-0.94l3.04,-2.14l2.37,0.28l1.27,-0.09l1.1,-0.52l1.3,0.28l1.14,-0.25l1.38,0.37l2.23,1.37l-2.36,0.93l-1.23,-0.39l-0.88,1.3l-1.28,0.99l-0.98,-0.22l-0.42,0.52l-0.96,0.05l-0.36,0.41l0.04,0.88l-0.52,0.6l-0.3,0.04l-0.3,-0.55l-0.66,-0.31l0.11,-0.67l-0.48,-0.65l-0.87,-0.26l-0.73,0.2Z",name:"Honduras"},PR:{path:"M256.17,238.73l-0.26,0.27l-2.83,0.05l-0.07,-0.55l1.95,-0.1l1.22,0.33Z",name:"Puerto Rico"},PS:{path:"M509.21,203.07l0.1,-0.06l-0.02,0.03l-0.09,0.03ZM509.36,202.91l-0.02,-0.63l-0.33,-0.16l0.31,-1.09l0.24,0.1l-0.2,1.78Z",name:"Palestine"},PT:{path:"M401.84,187.38l-0.64,0.47l-1.13,-0.35l-0.91,0.17l0.28,-1.78l-0.24,-1.78l-1.25,-0.56l-0.45,-0.84l0.17,-1.66l1.01,-1.18l0.69,-2.92l-0.04,-1.39l-0.59,-1.9l1.3,-0.85l0.84,1.35l3.1,-0.3l0.46,0.99l-1.05,0.94l-0.03,2.16l-0.41,0.57l-0.08,1.1l-0.79,0.18l-0.26,0.59l0.91,1.6l-0.63,1.75l0.76,1.09l-1.1,1.52l0.07,1.05Z",name:"Portugal"},PY:{path:"M274.9,336.12l0.74,1.52l-0.16,3.45l0.32,0.41l2.64,0.5l1.11,-0.47l1.4,0.59l0.36,0.6l0.53,3.42l1.27,0.4l0.98,-0.38l0.51,0.27l-0.0,1.18l-1.21,5.32l-2.09,1.9l-1.8,0.4l-4.71,-0.98l2.2,-3.63l-0.32,-1.5l-2.78,-1.28l-3.03,-1.94l-2.07,-0.44l-4.34,-4.06l0.91,-2.9l0.08,-1.42l1.07,-2.04l4.13,-0.72l2.18,0.03l2.05,1.17l0.03,0.59Z",name:"Paraguay"},PA:{path:"M213.8,263.68l0.26,-1.52l-0.36,-0.26l-0.01,-0.49l0.44,-0.1l0.93,1.4l1.26,0.03l0.77,0.49l1.38,-0.23l2.51,-1.11l0.86,-0.72l3.45,0.85l1.4,1.18l0.41,1.74l-0.21,0.34l-0.53,-0.12l-0.47,0.29l-0.16,0.6l-0.68,-1.28l0.45,-0.49l-0.19,-0.66l-0.47,-0.13l-0.54,-0.84l-1.5,-0.75l-1.1,0.16l-0.75,0.99l-1.62,0.84l-0.18,0.96l0.85,0.97l-0.58,0.45l-0.69,0.08l-0.34,-1.18l-1.27,0.03l-0.71,-1.05l-2.59,-0.46Z",name:"Panama"},PG:{path:"M808.58,298.86l2.54,2.56l-0.13,0.26l-0.33,0.12l-0.87,-0.78l-1.22,-2.16ZM801.41,293.04l0.5,0.29l0.26,0.27l-0.49,-0.35l-0.27,-0.21ZM803.17,294.58l0.59,0.5l0.08,1.06l-0.29,-0.91l-0.38,-0.65ZM796.68,298.41l0.52,0.75l1.43,-0.19l2.27,-1.81l-0.01,-1.43l1.12,0.16l-0.04,1.1l-0.7,1.28l-1.12,0.18l-0.62,0.79l-2.46,1.11l-1.17,-0.0l-3.08,-1.25l3.41,0.0l0.45,-0.68ZM789.15,303.55l2.31,1.8l1.59,2.61l1.34,0.13l-0.06,0.66l0.31,0.43l1.06,0.24l0.06,0.65l2.25,1.05l-1.22,0.13l-0.72,-0.63l-4.56,-0.65l-3.22,-2.87l-1.49,-2.34l-3.27,-1.1l-2.38,0.72l-1.59,0.86l-0.2,0.42l0.27,1.55l-1.55,0.68l-1.36,-0.4l-2.21,-0.09l-0.08,-15.41l8.39,2.93l2.95,2.4l0.6,1.64l4.02,1.49l0.31,0.68l-1.76,0.21l-0.33,0.52l0.55,1.68Z",name:"Papua New Guinea"},PE:{path:"M244.96,295.21l-1.26,-0.07l-0.57,0.42l-1.93,0.45l-2.98,1.75l-0.36,1.36l-0.58,0.8l0.12,1.37l-1.24,0.59l-0.22,1.22l-0.62,0.84l1.04,2.27l1.28,1.44l-0.41,0.84l0.32,0.57l1.48,0.13l1.16,1.37l2.21,0.07l1.63,-1.08l-0.13,3.02l0.3,0.4l1.14,0.29l1.31,-0.34l1.9,3.59l-0.48,0.85l-0.17,3.85l-0.94,1.59l0.35,0.75l-0.47,1.07l0.98,1.97l-2.1,3.82l-0.98,0.5l-2.17,-1.28l-0.39,-1.16l-4.95,-2.58l-4.46,-2.79l-1.84,-1.51l-0.91,-1.84l0.3,-0.96l-2.11,-3.33l-4.82,-9.68l-1.04,-1.2l-0.87,-1.94l-3.4,-2.48l0.58,-1.18l-1.13,-2.23l0.66,-1.49l1.45,-1.15l-0.6,0.98l0.07,0.92l0.47,0.36l1.74,0.03l0.97,1.17l0.54,0.07l1.42,-1.03l0.6,-1.84l1.42,-2.02l3.04,-1.04l2.73,-2.62l0.86,-1.74l-0.1,-1.87l1.44,1.02l0.9,1.25l1.06,0.59l1.7,2.73l1.86,0.31l1.45,-0.61l0.96,0.39l1.36,-0.19l1.45,0.89l-1.4,2.21l0.31,0.61l0.59,0.05l0.47,0.5Z",name:"Peru"},PK:{path:"M615.09,192.34l-1.83,1.81l-2.6,0.39l-3.73,-0.68l-1.58,1.33l-0.09,0.42l1.77,4.39l1.7,1.23l-1.69,1.27l-0.12,2.14l-2.33,2.64l-1.6,2.8l-2.46,2.67l-3.03,-0.07l-2.76,2.83l0.05,0.6l1.5,1.11l0.26,1.9l1.44,1.5l0.37,1.68l-5.01,-0.01l-1.78,1.7l-1.42,-0.52l-0.76,-1.87l-2.27,-2.15l-11.61,0.86l0.71,-2.34l3.43,-1.32l0.25,-0.44l-0.21,-1.24l-1.2,-0.65l-0.28,-2.46l-2.29,-1.14l-1.28,-1.94l2.82,0.94l2.62,-0.38l1.42,0.33l0.76,-0.56l1.71,0.19l3.25,-1.14l0.27,-0.36l0.08,-2.19l1.18,-1.32l1.68,0.0l0.58,-0.82l1.6,-0.3l1.19,0.16l0.98,-0.78l0.02,-1.88l0.93,-1.47l1.48,-0.66l0.19,-0.55l-0.66,-1.25l2.04,-0.11l0.69,-1.01l-0.02,-1.16l1.11,-1.06l-0.17,-1.78l-0.49,-1.03l1.15,-0.98l5.42,-0.91l2.6,-0.82l1.6,1.16l0.97,2.34l3.45,0.97Z",name:"Pakistan"},PH:{path:"M737.01,263.84l0.39,2.97l-0.44,1.18l-0.55,-1.53l-0.67,-0.14l-1.17,1.28l0.65,2.09l-0.42,0.69l-2.48,-1.23l-0.57,-1.49l0.65,-1.03l-0.1,-0.54l-1.59,-1.19l-0.56,0.08l-0.65,0.87l-1.23,0.0l-1.58,0.97l0.83,-1.8l2.56,-1.42l0.65,0.84l0.45,0.13l1.9,-0.69l0.56,-1.11l1.5,-0.06l0.38,-0.43l-0.09,-1.19l1.21,0.71l0.36,2.02ZM733.59,256.58l0.05,0.75l0.08,0.26l-0.8,-0.42l-0.18,-0.71l0.85,0.12ZM734.08,256.1l-0.12,-1.12l-1.0,-1.27l1.36,0.03l0.53,0.73l0.51,2.04l-1.27,-0.4ZM733.76,257.68l0.38,0.98l-0.32,0.15l-0.07,-1.13ZM724.65,238.43l1.46,0.7l0.72,-0.31l-0.32,1.17l0.79,1.71l-0.57,1.84l-1.53,1.04l-0.39,2.25l0.56,2.04l1.63,0.57l1.16,-0.27l2.71,1.23l-0.19,1.08l0.76,0.84l-0.08,0.36l-1.4,-0.9l-0.88,-1.27l-0.66,0.0l-0.38,0.55l-1.6,-1.31l-2.15,0.36l-0.87,-0.39l0.07,-0.61l0.66,-0.55l-0.01,-0.62l-0.75,-0.59l-0.72,0.44l-0.74,-0.87l-0.39,-2.49l0.32,0.27l0.66,-0.28l0.26,-3.97l0.7,-2.02l1.14,0.0ZM731.03,258.87l-0.88,0.85l-1.19,1.94l-1.05,-1.19l0.93,-1.1l0.32,-1.47l0.52,-0.06l-0.27,1.15l0.22,0.45l0.49,-0.12l1.0,-1.32l-0.08,0.85ZM726.83,255.78l0.83,0.38l1.17,-0.0l-0.02,0.48l-2.0,1.4l0.03,-2.26ZM724.81,252.09l-0.38,1.27l-1.42,-1.95l1.2,0.05l0.6,0.63ZM716.55,261.82l1.1,-0.95l0.03,-0.03l-0.28,0.36l-0.85,0.61ZM719.22,259.06l0.04,-0.06l0.8,-1.53l0.16,0.75l-1.0,0.84Z",name:"Philippines"},PL:{path:"M468.44,149.42l-1.11,-1.54l-1.86,-0.33l-0.48,-1.05l-1.72,-0.37l-0.65,0.69l-0.72,-0.36l0.11,-0.61l-0.33,-0.46l-1.75,-0.27l-1.04,-0.93l-0.94,-1.94l0.16,-1.22l-0.62,-1.8l-0.78,-1.07l0.57,-1.04l-0.48,-1.43l1.41,-0.83l6.91,-2.71l2.14,0.5l0.52,0.91l5.51,0.44l4.55,-0.05l1.07,0.31l0.48,0.84l0.15,1.58l0.65,1.2l-0.01,0.99l-1.27,0.58l-0.19,0.54l0.73,1.48l0.08,1.55l1.2,2.76l-0.17,0.58l-1.23,0.44l-2.27,2.72l0.18,0.95l-1.97,-1.03l-1.98,0.4l-1.36,-0.28l-1.24,0.58l-1.07,-0.97l-1.16,0.24Z",name:"Poland"},ZM:{path:"M481.47,313.3l0.39,0.31l2.52,0.14l0.99,1.17l2.01,0.35l1.4,-0.64l0.69,1.17l1.78,0.33l1.84,2.35l2.23,0.18l0.4,-0.43l-0.21,-2.74l-0.62,-0.3l-0.48,0.32l-1.98,-1.17l0.72,-5.29l-0.51,-1.18l0.57,-1.3l3.68,-0.62l0.26,0.63l1.21,0.63l0.9,-0.22l2.16,0.67l1.33,0.71l1.07,1.02l0.56,1.87l-0.88,2.7l0.43,2.09l-0.73,0.87l-0.76,2.37l0.59,0.68l-6.6,1.83l-0.29,0.44l0.19,1.45l-1.68,0.35l-1.43,1.02l-0.38,0.87l-0.87,0.26l-3.48,3.69l-4.16,-0.53l-1.52,-1.0l-1.77,-0.13l-1.83,0.52l-3.04,-3.4l0.11,-7.59l4.82,0.03l0.39,-0.49l-0.18,-0.76l0.33,-0.83l-0.4,-1.36l0.24,-1.05Z",name:"Zambia"},EH:{path:"M384.42,230.28l0.25,-0.79l1.06,-1.29l0.8,-3.51l3.38,-2.78l0.7,-1.81l0.06,4.84l-1.98,0.2l-0.94,1.59l0.39,3.56l-3.7,-0.01ZM392.01,218.1l0.7,-1.8l1.77,-0.24l2.09,0.34l0.95,-0.62l1.28,-0.07l-0.0,2.51l-6.79,-0.12Z",name:"W. Sahara"},EE:{path:"M485.71,115.04l2.64,0.6l2.56,0.11l-1.6,1.91l0.61,3.54l-0.81,0.87l-1.78,-0.01l-3.22,-1.76l-1.8,0.45l0.21,-1.53l-0.58,-0.41l-0.69,0.34l-1.26,-1.03l-0.17,-1.63l2.83,-0.92l3.05,-0.52Z",name:"Estonia"},EG:{path:"M492.06,205.03l1.46,0.42l2.95,-1.64l2.04,-0.21l1.53,0.3l0.59,1.19l0.69,0.04l0.41,-0.64l1.81,0.58l1.95,0.16l1.04,-0.51l1.42,4.08l-2.03,4.54l-1.66,-1.77l-1.76,-3.85l-0.64,-0.12l-0.36,0.67l1.04,2.88l3.44,6.95l1.78,3.04l2.03,2.65l-0.36,0.53l0.23,2.01l2.7,2.19l-28.41,0.0l0.0,-18.96l-0.73,-2.2l0.59,-1.56l-0.32,-1.26l0.68,-0.99l3.06,-0.04l4.82,1.52Z",name:"Egypt"},ZA:{path:"M467.14,373.21l-0.13,-1.96l-0.68,-1.56l0.7,-0.68l-0.13,-2.33l-4.56,-8.19l0.77,-0.86l0.6,0.45l0.69,1.31l2.83,0.72l1.5,-0.26l2.24,-1.39l0.19,-9.55l1.35,2.3l-0.21,1.5l0.61,1.2l0.4,0.19l1.79,-0.27l2.6,-2.07l0.69,-1.32l0.96,-0.48l2.19,1.04l2.04,0.13l1.77,-0.65l0.85,-2.12l1.38,-0.33l1.59,-2.76l2.15,-1.89l3.41,-1.87l2.0,0.45l1.02,-0.28l0.99,0.2l1.75,5.29l-0.38,3.25l-0.81,-0.23l-1.0,0.46l-0.87,1.68l-0.05,1.16l1.97,1.84l1.47,-0.29l0.69,-1.18l1.09,0.01l-0.76,3.69l-0.58,1.09l-2.2,1.79l-3.17,4.76l-2.8,2.83l-3.57,2.88l-2.53,1.05l-1.22,0.14l-0.51,0.7l-1.18,-0.32l-1.39,0.5l-2.59,-0.52l-1.61,0.33l-1.18,-0.11l-2.55,1.1l-2.1,0.44l-1.6,1.07l-0.85,0.05l-0.93,-0.89l-0.93,-0.15l-0.97,-1.13l-0.25,0.05ZM491.45,364.19l0.62,-0.93l1.48,-0.59l1.18,-2.19l-0.07,-0.49l-1.99,-1.69l-1.66,0.56l-1.43,1.14l-1.34,1.73l0.02,0.51l1.88,2.11l1.31,-0.16Z",name:"South Africa"},EC:{path:"M231.86,285.53l0.29,1.59l-0.69,1.45l-2.61,2.51l-3.13,1.11l-1.53,2.18l-0.49,1.68l-1.0,0.73l-1.02,-1.11l-1.78,-0.16l0.67,-1.15l-0.24,-0.86l1.25,-2.13l-0.54,-1.09l-0.67,-0.08l-0.72,0.87l-0.87,-0.64l0.35,-0.69l-0.36,-1.96l0.81,-0.51l0.45,-1.51l0.92,-1.57l-0.07,-0.97l2.65,-1.33l2.75,1.35l0.77,1.05l2.12,0.35l0.76,-0.32l1.96,1.21Z",name:"Ecuador"},IT:{path:"M451.59,158.63l3.48,0.94l-0.21,1.17l0.3,0.83l-1.49,-0.24l-2.04,1.1l-0.21,0.39l0.13,1.45l-0.25,1.12l0.82,1.57l2.39,1.63l1.31,2.54l2.79,2.43l2.05,0.08l0.21,0.23l-0.39,0.33l0.09,0.67l4.05,1.97l2.17,1.76l-0.16,0.36l-1.17,-1.08l-2.18,-0.49l-0.44,0.2l-1.05,1.91l0.14,0.54l1.57,0.95l-0.19,0.98l-1.06,0.33l-1.25,2.34l-0.37,0.08l0.0,-0.33l1.0,-2.45l-1.73,-3.17l-1.12,-0.51l-0.88,-1.33l-1.51,-0.51l-1.27,-1.25l-1.75,-0.18l-4.12,-3.21l-1.62,-1.65l-1.03,-3.19l-3.53,-1.36l-1.3,0.51l-1.69,1.41l0.16,-0.72l-0.28,-0.47l-1.14,-0.33l-0.53,-1.96l0.72,-0.78l0.04,-0.48l-0.65,-1.17l0.8,0.39l1.4,-0.23l1.11,-0.84l0.52,0.35l1.19,-0.1l0.75,-1.2l1.53,0.33l1.36,-0.56l0.35,-1.14l1.08,0.32l0.68,-0.64l1.98,-0.44l0.42,0.82ZM459.19,184.75l-0.65,1.65l0.32,1.05l-0.31,0.89l-1.5,-0.85l-4.5,-1.67l0.19,-0.82l2.67,0.23l3.78,-0.48ZM443.93,176.05l1.18,1.66l-0.3,3.32l-1.06,-0.01l-0.77,0.73l-0.53,-0.44l-0.1,-3.37l-0.39,-1.22l1.04,0.01l0.92,-0.68Z",name:"Italy"},VN:{path:"M690.56,230.25l-2.7,1.82l-2.09,2.46l-0.63,1.95l4.31,6.45l2.32,1.65l1.43,1.94l1.11,4.59l-0.32,4.24l-1.93,1.54l-2.84,1.61l-2.11,2.15l-2.73,2.06l-0.59,-1.05l0.63,-1.53l-0.13,-0.47l-1.34,-1.04l1.51,-0.71l2.55,-0.18l0.3,-0.63l-0.82,-1.14l4.0,-2.07l0.31,-3.05l-0.57,-1.77l0.42,-2.66l-0.73,-1.97l-1.86,-1.76l-3.63,-5.29l-2.72,-1.46l0.36,-0.47l1.5,-0.64l0.21,-0.52l-0.97,-2.27l-0.37,-0.24l-2.83,-0.02l-2.24,-3.9l0.83,-0.4l4.39,-0.29l2.06,-1.31l1.15,0.89l1.88,0.4l-0.17,1.51l1.35,1.16l1.67,0.45Z",name:"Vietnam"},SB:{path:"M826.69,311.6l-0.61,0.09l-0.2,-0.33l0.37,0.15l0.44,0.09ZM824.18,307.38l-0.26,-0.3l-0.31,-0.91l0.03,0.0l0.54,1.21ZM823.04,309.33l-1.66,-0.22l-0.2,-0.52l1.16,0.28l0.69,0.46ZM819.28,304.68l1.14,0.65l0.02,0.03l-0.81,-0.44l-0.35,-0.23Z",name:"Solomon Is."},ET:{path:"M516.04,247.79l1.1,0.84l1.63,-0.45l0.68,0.47l1.63,0.03l2.01,0.94l1.73,1.66l1.64,2.07l-1.52,2.04l0.16,1.72l0.39,0.38l2.05,0.0l-0.36,1.03l2.86,3.58l8.32,3.08l1.31,0.02l-6.32,6.75l-3.1,0.11l-2.36,1.77l-1.47,0.04l-0.86,0.79l-1.38,-0.0l-1.32,-0.81l-2.29,1.05l-0.76,0.98l-3.29,-0.41l-3.07,-2.07l-1.8,-0.07l-0.62,-0.6l0.0,-1.24l-0.28,-0.38l-1.15,-0.37l-1.4,-2.59l-1.19,-0.68l-0.47,-1.0l-1.27,-1.23l-1.16,-0.22l0.43,-0.72l1.45,-0.28l0.41,-0.95l-0.03,-2.21l0.68,-2.44l1.05,-0.63l1.43,-3.06l1.57,-1.37l1.02,-2.51l0.35,-1.88l2.52,0.46l0.44,-0.24l0.58,-1.43Z",name:"Ethiopia"},SO:{path:"M525.13,288.48l-1.13,-1.57l-0.03,-8.86l2.66,-3.38l1.67,-0.13l2.13,-1.69l3.41,-0.23l7.08,-7.55l2.91,-3.69l0.08,-4.82l2.98,-0.67l1.24,-0.86l0.45,-0.0l-0.2,3.0l-1.21,3.62l-2.73,5.97l-2.13,3.65l-5.03,6.16l-8.56,6.4l-2.78,3.08l-0.8,1.56Z",name:"Somalia"},ZW:{path:"M498.91,341.09l-1.11,-0.22l-0.92,0.28l-2.09,-0.44l-1.5,-1.11l-1.89,-0.43l-0.62,-1.4l-0.01,-0.84l-0.3,-0.38l-0.97,-0.25l-2.71,-2.74l-1.92,-3.32l3.83,0.45l3.73,-3.82l1.08,-0.44l0.26,-0.77l1.25,-0.9l1.41,-0.26l0.5,0.89l1.99,-0.05l1.72,1.17l1.11,0.17l1.05,0.66l0.01,2.99l-0.59,3.76l0.38,0.86l-0.23,1.23l-0.39,0.35l-0.63,1.81l-2.43,2.75Z",name:"Zimbabwe"},ES:{path:"M416.0,169.21l1.07,1.17l4.61,1.38l1.06,-0.57l2.6,1.26l2.71,-0.3l0.09,1.12l-2.14,1.8l-3.11,0.61l-0.31,0.31l-0.2,0.89l-1.54,1.69l-0.97,2.4l0.84,1.74l-1.32,1.27l-0.48,1.68l-1.88,0.65l-1.66,2.07l-5.36,-0.01l-1.79,1.08l-0.89,0.98l-0.88,-0.17l-0.79,-0.82l-0.68,-1.59l-2.37,-0.63l-0.11,-0.5l1.21,-1.82l-0.77,-1.13l0.61,-1.68l-0.76,-1.62l0.87,-0.49l0.09,-1.25l0.42,-0.6l0.03,-2.11l0.99,-0.69l0.13,-0.5l-1.03,-1.73l-1.46,-0.11l-0.61,0.38l-1.06,0.0l-0.52,-1.23l-0.53,-0.21l-1.32,0.67l-0.01,-1.49l-0.75,-0.96l3.03,-1.88l2.99,0.53l3.32,-0.02l2.63,0.51l6.01,-0.06Z",name:"Spain"},ER:{path:"M520.38,246.23l3.42,2.43l3.5,3.77l0.84,0.54l-0.95,-0.01l-3.51,-3.89l-2.33,-1.15l-1.73,-0.07l-0.91,-0.51l-1.26,0.51l-1.34,-1.02l-0.61,0.17l-0.66,1.61l-2.35,-0.43l-0.17,-0.67l1.29,-5.29l0.61,-0.61l1.95,-0.53l0.87,-1.01l1.17,2.41l0.68,2.33l1.49,1.43Z",name:"Eritrea"},ME:{path:"M468.91,172.53l-1.22,-1.02l0.47,-1.81l0.89,-0.72l2.26,1.51l-0.5,0.57l-0.75,-0.27l-1.14,1.73Z",name:"Montenegro"},MD:{path:"M488.41,153.73l1.4,-0.27l1.72,0.93l1.07,0.15l0.85,0.65l-0.14,0.84l0.96,0.85l1.12,2.47l-1.15,-0.07l-0.66,-0.41l-0.52,0.25l-0.09,0.86l-1.08,1.89l-0.27,-0.86l0.25,-1.34l-0.16,-1.6l-3.29,-4.34Z",name:"Moldova"},MG:{path:"M545.91,319.14l0.4,3.03l0.62,1.21l-0.21,1.02l-0.57,-0.8l-0.69,-0.01l-0.47,0.76l0.41,2.12l-0.18,0.87l-0.73,0.78l-0.15,2.14l-4.71,15.2l-1.06,2.88l-3.92,1.64l-3.12,-1.49l-0.6,-1.21l-0.19,-2.4l-0.86,-2.05l-0.21,-1.77l0.38,-1.62l1.21,-0.75l0.01,-0.76l1.19,-2.04l0.23,-1.66l-1.06,-2.99l-0.19,-2.21l0.81,-1.33l0.32,-1.46l4.63,-1.22l3.44,-3.0l0.85,-1.4l-0.08,-0.7l0.78,-0.04l1.38,-1.77l0.13,-1.64l0.45,-0.61l1.16,1.69l0.59,1.6Z",name:"Madagascar"},MA:{path:"M378.78,230.02l0.06,-0.59l0.92,-0.73l0.82,-1.37l-0.09,-1.04l0.79,-1.7l1.31,-1.58l0.96,-0.59l0.66,-1.55l0.09,-1.47l0.81,-1.48l1.72,-1.07l1.55,-2.69l1.16,-0.96l2.44,-0.39l1.94,-1.82l1.31,-0.78l2.09,-2.28l-0.51,-3.65l1.24,-3.7l1.5,-1.75l4.46,-2.57l2.37,-4.47l1.44,0.01l1.68,1.21l2.32,-0.19l3.47,0.65l0.8,1.54l0.16,1.71l0.86,2.96l0.56,0.59l-0.26,0.61l-3.05,0.44l-1.26,1.05l-1.33,0.22l-0.33,0.37l-0.09,1.78l-2.68,1.0l-1.07,1.42l-4.47,1.13l-4.04,2.01l-0.54,4.64l-1.15,0.06l-0.92,0.61l-1.96,-0.35l-2.42,0.54l-0.74,1.9l-0.86,0.4l-1.14,3.26l-3.53,3.01l-0.8,3.55l-0.96,1.1l-0.29,0.82l-4.95,0.18Z",name:"Morocco"},UZ:{path:"M598.64,172.75l-1.63,1.52l0.06,0.64l1.85,1.12l1.97,-0.64l2.21,1.17l-2.52,1.68l-2.59,-0.22l-0.18,-0.41l0.46,-1.23l-0.45,-0.53l-3.35,0.69l-2.1,3.51l-1.87,-0.12l-1.03,1.51l0.22,0.55l1.64,0.62l0.46,1.83l-1.19,2.49l-2.66,-0.53l0.05,-1.36l-0.26,-0.39l-3.3,-1.23l-2.56,-1.4l-4.4,-3.34l-1.34,-3.14l-1.08,-0.6l-2.58,0.13l-0.69,-0.44l-0.47,-2.52l-3.37,-1.6l-0.43,0.05l-2.07,1.72l-2.1,1.01l-0.21,0.47l0.28,1.01l-1.91,0.03l-0.09,-10.5l5.99,-1.7l6.19,3.54l2.71,2.84l7.05,-0.67l2.71,2.01l-0.17,2.81l0.39,0.42l0.9,0.02l0.44,2.14l0.38,0.32l2.94,0.09l0.95,1.42l1.28,-0.24l1.05,-2.04l4.43,-2.5Z",name:"Uzbekistan"},MM:{path:"M673.9,230.21l-1.97,1.57l-0.57,0.96l-1.4,0.6l-1.36,1.05l-1.99,0.36l-1.08,2.66l-0.91,0.4l-0.19,0.55l1.21,2.27l2.52,3.43l-0.79,1.91l-0.74,0.41l-0.17,0.52l0.65,1.37l1.61,1.95l0.25,2.58l0.9,2.13l-1.92,3.57l0.68,-2.25l-0.81,-1.74l0.19,-2.65l-1.05,-1.53l-1.24,-6.17l-1.12,-2.26l-0.6,-0.13l-4.34,3.02l-2.39,-0.65l0.77,-2.84l-0.52,-2.61l-1.91,-2.96l0.25,-0.75l-0.29,-0.51l-1.33,-0.3l-1.61,-1.93l-0.1,-1.3l0.82,-0.24l0.04,-1.64l1.02,-0.52l0.21,-0.45l-0.23,-0.95l0.54,-0.96l0.08,-2.22l1.46,0.45l0.47,-0.2l1.12,-2.19l0.16,-1.35l1.33,-2.16l-0.0,-1.52l2.89,-1.66l1.63,0.44l0.5,-0.44l-0.17,-1.4l0.64,-0.36l0.08,-1.04l0.77,-0.11l0.71,1.35l1.06,0.69l-0.03,3.86l-2.38,2.37l-0.3,3.15l0.46,0.43l2.28,-0.38l0.51,2.08l1.47,0.67l-0.6,1.8l0.19,0.48l2.97,1.48l1.64,-0.55l0.02,0.32Z",name:"Myanmar"},ML:{path:"M392.61,254.08l-0.19,-2.37l-0.99,-0.87l-0.44,-1.3l-0.09,-1.28l0.81,-0.58l0.35,-1.24l2.37,0.65l1.31,-0.47l0.86,0.15l0.66,-0.56l9.83,-0.04l0.38,-0.28l0.56,-1.8l-0.44,-0.65l-2.35,-21.95l3.27,-0.04l16.7,11.38l0.74,1.31l2.5,1.09l0.02,1.38l0.44,0.39l2.34,-0.21l0.01,5.38l-1.28,1.61l-0.26,1.49l-5.31,0.57l-1.07,0.92l-2.9,0.1l-0.86,-0.48l-1.38,0.36l-2.4,1.08l-0.6,0.87l-1.85,1.09l-0.43,0.7l-0.79,0.39l-1.44,-0.21l-0.81,0.84l-0.34,1.64l-1.91,2.02l-0.06,1.03l-0.67,1.22l0.13,1.16l-0.97,0.39l-0.23,-0.64l-0.52,-0.24l-1.35,0.4l-0.34,0.55l-2.69,-0.28l-0.37,-0.35l-0.02,-0.9l-0.65,-0.35l0.45,-0.64l-0.03,-0.53l-2.12,-2.44l-0.76,-0.01l-2.0,1.16l-0.78,-0.15l-0.8,-0.67l-1.21,0.23Z",name:"Mali"},MN:{path:"M676.61,146.48l3.81,1.68l5.67,-1.0l2.37,0.41l2.34,1.5l1.79,1.75l2.29,-0.03l3.12,0.52l2.47,-0.81l3.41,-0.59l3.53,-2.21l1.25,0.29l1.53,1.13l2.27,-0.21l-2.66,5.01l0.64,1.68l0.47,0.21l1.32,-0.38l2.38,0.48l2.02,-1.11l1.76,0.89l2.06,2.02l-0.13,0.53l-1.72,-0.29l-3.77,0.46l-1.88,0.99l-1.76,1.99l-3.71,1.17l-2.45,1.6l-3.83,-0.87l-0.41,0.17l-1.31,1.99l1.04,2.24l-1.52,0.9l-1.74,1.57l-2.79,1.02l-3.78,0.13l-4.05,1.05l-2.77,1.52l-1.16,-0.85l-2.94,0.0l-3.62,-1.79l-2.58,-0.49l-3.4,0.41l-5.12,-0.67l-2.63,0.06l-1.31,-1.6l-1.4,-3.0l-1.48,-0.33l-3.13,-1.94l-6.16,-0.93l-0.71,-1.06l0.86,-3.82l-1.93,-2.71l-3.5,-1.18l-1.95,-1.58l-0.5,-1.72l2.34,-0.52l4.75,-2.8l3.62,-1.47l2.18,0.97l2.46,0.05l1.81,1.53l2.46,0.12l3.95,0.71l2.43,-2.28l0.08,-0.48l-0.9,-1.72l2.24,-2.98l2.62,1.27l4.94,1.17l0.43,2.24Z",name:"Mongolia"},MK:{path:"M472.8,173.98l0.49,-0.71l3.57,-0.71l1.0,0.77l0.13,1.45l-0.65,0.53l-1.15,-0.05l-1.12,0.67l-1.39,0.22l-0.79,-0.55l-0.29,-1.03l0.19,-0.6Z",name:"Macedonia"},MW:{path:"M505.5,309.31l0.85,1.95l0.15,2.86l-0.69,1.65l0.71,1.8l0.06,1.28l0.49,0.64l0.07,1.06l0.4,0.55l0.8,-0.23l0.55,0.61l0.69,-0.21l0.34,0.6l0.19,2.94l-1.04,0.62l-0.54,1.25l-1.11,-1.08l-0.16,-1.56l0.51,-1.31l-0.32,-1.3l-0.99,-0.65l-0.82,0.12l-2.36,-1.64l0.63,-1.96l0.82,-1.18l-0.46,-2.01l0.9,-2.86l-0.94,-2.51l0.96,0.18l0.29,0.4Z",name:"Malawi"},MR:{path:"M407.36,220.66l-2.58,0.03l-0.39,0.44l2.42,22.56l0.36,0.43l-0.39,1.24l-9.75,0.04l-0.56,0.53l-0.91,-0.11l-1.27,0.45l-1.61,-0.66l-0.97,0.03l-0.36,0.29l-0.38,1.35l-0.42,0.23l-2.93,-3.4l-2.96,-1.52l-1.62,-0.03l-1.27,0.54l-1.12,-0.2l-0.65,0.4l-0.08,-0.49l0.68,-1.29l0.31,-2.43l-0.57,-3.91l0.23,-1.21l-0.69,-1.5l-1.15,-1.02l0.25,-0.39l9.58,0.02l0.4,-0.45l-0.46,-3.68l0.47,-1.04l2.12,-0.21l0.36,-0.4l-0.08,-6.4l7.81,0.13l0.41,-0.4l0.01,-3.31l7.76,5.35Z",name:"Mauritania"},UG:{path:"M498.55,276.32l0.7,-0.46l1.65,0.5l1.96,-0.57l1.7,0.01l1.45,-0.98l0.91,1.33l1.33,3.95l-2.57,4.03l-1.46,-0.4l-2.54,0.91l-1.37,1.61l-0.01,0.81l-2.42,-0.01l-2.26,1.01l-0.17,-1.59l0.58,-1.04l0.14,-1.94l1.37,-2.28l1.78,-1.58l-0.17,-0.65l-0.72,-0.24l0.13,-2.43Z",name:"Uganda"},MY:{path:"M717.47,273.46l-1.39,0.65l-2.12,-0.41l-2.88,-0.0l-0.38,0.28l-0.84,2.75l-0.99,0.96l-1.21,3.29l-1.73,0.45l-2.45,-0.68l-1.39,0.31l-1.33,1.15l-1.59,-0.14l-1.41,0.44l-1.44,-1.19l-0.18,-0.73l1.34,0.53l1.93,-0.47l0.75,-2.22l4.02,-1.03l2.75,-3.21l0.82,0.94l0.64,-0.05l0.4,-0.65l0.96,0.06l0.42,-0.36l0.24,-2.68l1.81,-1.64l1.21,-1.86l0.63,-0.01l1.07,1.05l0.34,1.28l3.44,1.35l-0.06,0.35l-1.37,0.1l-0.35,0.54l0.32,0.88ZM673.68,269.59l0.17,1.09l0.47,0.33l1.65,-0.3l0.87,-0.94l1.61,1.52l0.98,1.56l-0.12,2.81l0.41,2.29l0.95,0.9l0.88,2.44l-1.27,0.12l-5.1,-3.67l-0.34,-1.29l-1.37,-1.59l-0.33,-1.97l-0.88,-1.4l0.25,-1.68l-0.46,-1.05l1.63,0.84Z",name:"Malaysia"},MX:{path:"M133.12,200.41l0.2,0.47l9.63,3.33l6.96,-0.02l0.4,-0.4l0.0,-0.74l3.77,0.0l3.55,2.93l1.39,2.83l1.52,1.04l2.08,0.82l0.47,-0.14l1.46,-2.0l1.73,-0.04l1.59,0.98l2.05,3.35l1.47,1.56l1.26,3.14l2.18,1.02l2.26,0.58l-1.18,3.72l-0.42,5.04l1.79,4.89l1.62,1.89l0.61,1.52l1.2,1.42l2.55,0.66l1.37,1.1l7.54,-1.89l1.86,-1.3l1.14,-4.3l4.1,-1.21l3.57,-0.11l0.32,0.3l-0.06,0.94l-1.26,1.45l-0.67,1.71l0.38,0.7l-0.72,2.27l-0.49,-0.3l-1.0,0.08l-1.0,1.39l-0.47,-0.11l-0.53,0.47l-4.26,-0.02l-0.4,0.4l-0.0,1.06l-1.1,0.26l0.1,0.44l1.82,1.44l0.56,0.91l-3.19,0.21l-1.21,2.09l0.24,0.72l-0.2,0.44l-2.24,-2.18l-1.45,-0.93l-2.22,-0.69l-1.52,0.22l-3.07,1.16l-10.55,-3.85l-2.86,-1.96l-3.78,-0.92l-1.08,-1.19l-2.62,-1.43l-1.18,-1.54l-0.38,-0.81l0.66,-0.63l-0.18,-0.53l0.52,-0.76l0.01,-0.91l-2.0,-3.82l-2.21,-2.63l-2.53,-2.09l-1.19,-1.62l-2.2,-1.17l-0.3,-0.43l0.34,-1.48l-0.21,-0.45l-1.23,-0.6l-1.36,-1.2l-0.59,-1.78l-1.54,-0.47l-2.44,-2.55l-0.16,-0.9l-1.33,-2.03l-0.84,-1.99l-0.16,-1.33l-1.81,-1.1l-0.97,0.05l-1.31,-0.7l-0.57,0.22l-0.4,1.12l0.72,3.77l3.51,3.89l0.28,0.78l0.53,0.26l0.41,1.43l1.33,1.73l1.58,1.41l0.8,2.39l1.43,2.41l0.13,1.32l0.37,0.36l1.04,0.08l1.67,2.28l-0.85,0.76l-0.66,-1.51l-1.68,-1.54l-2.91,-1.87l0.06,-1.82l-0.54,-1.68l-2.91,-2.03l-0.55,0.09l-1.95,-1.1l-0.88,-0.94l0.68,-0.08l0.93,-1.01l0.08,-1.78l-1.93,-1.94l-1.46,-0.77l-3.75,-7.56l4.88,-0.42Z",name:"Mexico"},IL:{path:"M507.76,203.05l0.4,-0.78l0.18,0.4l-0.33,1.03l0.52,0.44l0.68,-0.22l-0.86,3.6l-1.16,-3.32l0.59,-0.74l-0.03,-0.41ZM508.73,200.34l0.37,-1.02l0.64,0.0l0.52,-0.51l-0.49,1.53l-0.56,-0.24l-0.48,0.23Z",name:"Israel"},FR:{path:"M444.48,172.62l-0.64,1.78l-0.58,-0.31l-0.49,-1.72l0.4,-0.89l1.0,-0.72l0.3,1.85ZM429.64,147.1l1.78,1.58l1.46,-0.13l2.1,1.42l1.35,0.27l1.23,0.83l3.04,0.5l-1.03,1.85l-0.3,2.12l-0.41,0.32l-0.95,-0.24l-0.5,0.43l0.06,0.61l-1.81,1.92l-0.04,1.42l0.55,0.38l0.88,-0.36l0.61,0.97l-0.03,1.0l0.57,0.91l-0.75,1.09l0.65,2.39l1.27,0.57l-0.18,0.82l-2.01,1.53l-4.77,-0.8l-3.82,1.0l-0.53,1.85l-2.49,0.34l-2.71,-1.31l-1.16,0.57l-4.31,-1.29l-0.72,-0.86l1.19,-1.78l0.39,-6.45l-2.58,-3.3l-1.9,-1.66l-3.72,-1.23l-0.19,-1.72l2.81,-0.61l4.12,0.81l0.47,-0.48l-0.6,-2.77l1.94,0.95l5.83,-2.54l0.92,-2.74l1.6,-0.49l0.24,0.78l1.36,0.33l1.05,1.19ZM289.01,278.39l-0.81,0.8l-0.78,0.12l-0.5,-0.66l-0.56,-0.1l-0.91,0.6l-0.46,-0.22l1.09,-2.96l-0.96,-1.77l-0.17,-1.49l1.07,-1.77l2.32,0.75l2.51,2.01l0.3,0.74l-2.14,3.96Z",name:"France"},XS:{path:"M531.15,258.94l1.51,0.12l5.13,-0.95l5.3,-1.48l-0.01,4.4l-2.67,3.39l-1.85,0.01l-8.04,-2.94l-2.55,-3.17l1.12,-1.71l2.04,2.34Z",name:"Somaliland"},FI:{path:"M492.17,76.39l-0.23,3.5l3.52,2.63l-2.08,2.88l-0.02,0.44l2.8,4.56l-1.59,3.31l2.16,3.24l-0.94,2.39l0.14,0.47l3.44,2.51l-0.77,1.62l-7.52,6.95l-4.5,0.31l-4.38,1.37l-3.8,0.74l-1.44,-1.96l-2.17,-1.11l0.5,-3.66l-1.16,-3.33l1.09,-2.08l2.21,-2.42l5.67,-4.32l1.64,-0.83l0.21,-0.42l-0.46,-2.02l-3.38,-1.89l-0.75,-1.43l-0.22,-6.74l-6.79,-4.8l0.8,-0.62l2.54,2.12l3.46,-0.12l3.0,0.96l2.51,-2.11l1.17,-3.08l3.55,-1.38l2.76,1.53l-0.95,2.79Z",name:"Finland"},FJ:{path:"M869.95,326.98l-1.21,0.41l-0.08,-0.23l2.97,-1.21l-0.14,0.42l-1.54,0.61ZM867.58,329.25l0.43,0.37l-0.27,0.88l-1.24,0.28l-1.04,-0.24l-0.14,-0.66l0.63,-0.58l0.92,0.26l0.7,-0.31Z",name:"Fiji"},FK:{path:"M274.36,425.85l1.44,1.08l-0.47,0.73l-3.0,0.89l-0.96,-1.0l-0.52,-0.05l-1.83,1.29l-0.73,-0.88l2.46,-1.64l1.93,0.76l1.67,-1.19Z",name:"Falkland Is."},NI:{path:"M202.33,252.67l0.81,-0.18l1.03,-1.02l-0.04,-0.88l0.68,-0.0l0.63,-0.54l0.97,0.22l1.53,-1.26l0.58,-0.99l1.17,0.34l2.41,-0.94l0.13,1.32l-0.81,1.94l0.1,2.74l-0.36,0.37l-0.11,1.75l-0.47,0.81l0.18,1.14l-1.73,-0.85l-0.71,0.27l-1.47,-0.6l-0.52,0.16l-4.01,-3.81Z",name:"Nicaragua"},NL:{path:"M430.31,143.39l0.6,-0.5l2.13,-4.8l3.2,-1.33l1.74,0.08l0.33,0.8l-0.59,2.92l-0.5,0.99l-1.26,0.0l-0.4,0.45l0.33,2.7l-2.2,-1.78l-2.62,0.58l-0.75,-0.11Z",name:"Netherlands"},NO:{path:"M491.44,67.41l6.8,2.89l-2.29,0.86l-0.15,0.65l2.33,2.38l-4.98,1.79l0.84,-2.45l-0.18,-0.48l-3.55,-1.8l-3.89,1.52l-1.42,3.38l-2.12,1.72l-2.64,-1.0l-3.11,0.21l-2.66,-2.22l-0.5,-0.01l-1.41,1.1l-1.44,0.17l-0.35,0.35l-0.32,2.47l-4.32,-0.64l-0.44,0.29l-0.58,2.11l-2.45,0.2l-4.15,7.68l-3.88,5.76l0.78,1.62l-0.64,1.16l-2.24,-0.06l-0.38,0.24l-1.66,3.89l0.15,5.17l1.57,2.04l-0.78,4.16l-2.02,2.48l-0.85,1.63l-1.3,-1.75l-0.58,-0.07l-4.87,4.19l-3.1,0.79l-3.16,-1.7l-0.85,-3.77l-0.77,-8.55l2.14,-2.31l6.55,-3.27l5.02,-4.17l10.63,-13.84l10.98,-8.7l5.35,-1.91l4.34,0.12l3.69,-3.64l4.49,0.19l4.37,-0.89ZM484.55,20.04l4.26,1.75l-3.1,2.55l-7.1,0.65l-7.08,-0.9l-0.37,-1.31l-0.37,-0.29l-3.44,-0.1l-2.08,-2.0l6.87,-1.44l3.9,1.31l2.39,-1.64l6.13,1.4ZM481.69,33.93l-4.45,1.74l-3.54,-0.99l1.12,-0.9l0.05,-0.58l-1.06,-1.22l4.22,-0.89l1.09,1.97l2.57,0.87ZM466.44,24.04l7.43,3.77l-5.41,1.86l-1.58,4.08l-2.26,1.2l-1.12,4.11l-2.61,0.18l-4.79,-2.86l1.84,-1.54l-0.1,-0.68l-3.69,-1.53l-4.77,-4.51l-1.73,-3.89l6.11,-1.82l1.54,1.92l3.57,-0.08l1.2,-1.96l3.32,-0.18l3.05,1.92Z",name:"Norway"},NA:{path:"M474.26,330.66l-0.97,0.04l-0.38,0.4l-0.07,8.9l-2.09,0.08l-0.39,0.4l-0.0,17.42l-1.98,1.23l-1.17,0.17l-2.44,-0.66l-0.48,-1.13l-0.99,-0.74l-0.54,0.05l-0.9,1.01l-1.53,-1.68l-0.93,-1.88l-1.99,-8.56l-0.06,-3.12l-0.33,-1.52l-2.3,-3.34l-1.91,-4.83l-1.96,-2.43l-0.12,-1.57l2.33,-0.79l1.43,0.07l1.81,1.13l10.23,-0.25l1.84,1.23l5.87,0.35ZM474.66,330.64l6.51,-1.6l1.9,0.39l-1.69,0.4l-1.31,0.83l-1.12,-0.94l-4.29,0.92Z",name:"Namibia"},VU:{path:"M839.04,322.8l0.22,1.14l-0.44,0.03l-0.2,-1.45l0.42,0.27Z",name:"Vanuatu"},NC:{path:"M838.78,341.24l-0.33,0.22l-2.9,-1.75l-3.26,-3.37l1.65,0.83l4.85,4.07Z",name:"New Caledonia"},NE:{path:"M454.75,226.53l1.33,1.37l0.48,0.07l1.27,-0.7l0.53,3.52l0.94,0.83l0.17,0.92l0.81,0.69l-0.44,0.95l-0.96,5.26l-0.13,3.22l-3.04,2.31l-1.22,3.57l1.02,1.24l-0.0,1.46l0.39,0.4l1.13,0.04l-0.9,1.25l-1.47,-2.42l-0.86,-0.29l-2.09,1.37l-1.74,-0.67l-1.45,-0.17l-0.85,0.35l-1.36,-0.07l-1.64,1.09l-1.06,0.05l-2.94,-1.28l-1.44,0.59l-1.01,-0.03l-0.97,-0.94l-2.7,-0.98l-2.69,0.3l-0.87,0.64l-0.47,1.6l-0.75,1.16l-0.12,1.53l-1.57,-1.1l-1.31,0.24l0.03,-0.81l-0.32,-0.41l-2.59,-0.52l-0.15,-1.16l-1.35,-1.6l-0.29,-1.0l0.13,-0.84l1.29,-0.08l1.08,-0.92l3.31,-0.22l2.22,-0.41l0.32,-0.34l0.2,-1.47l1.39,-1.88l-0.01,-5.66l3.36,-1.12l7.24,-5.12l8.42,-4.92l3.69,1.06Z",name:"Niger"},NG:{path:"M456.32,253.89l0.64,0.65l-0.28,1.04l-2.11,2.01l-2.03,5.18l-1.37,1.16l-1.15,3.18l-1.33,0.66l-1.46,-0.97l-1.21,0.16l-1.38,1.36l-0.91,0.24l-1.79,4.06l-2.33,0.81l-1.11,-0.07l-0.86,0.5l-1.71,-0.05l-1.19,-1.39l-0.89,-1.89l-1.77,-1.66l-3.95,-0.08l0.07,-5.21l0.42,-1.43l1.95,-2.3l-0.14,-0.91l0.43,-1.18l-0.53,-1.41l0.25,-2.92l0.72,-1.07l0.32,-1.34l0.46,-0.39l2.47,-0.28l2.34,0.89l1.15,1.02l1.28,0.04l1.22,-0.58l3.03,1.27l1.49,-0.14l1.36,-1.0l1.33,0.07l0.82,-0.35l3.45,0.8l1.82,-1.32l1.84,2.67l0.66,0.16Z",name:"Nigeria"},NZ:{path:"M857.8,379.65l1.86,3.12l0.44,0.18l0.3,-0.38l0.03,-1.23l0.38,0.27l0.57,2.31l2.02,0.94l1.81,0.27l1.57,-1.06l0.7,0.18l-1.15,3.59l-1.98,0.11l-0.74,1.2l0.2,1.11l-2.42,3.98l-1.49,0.92l-1.04,-0.85l1.21,-2.05l-0.81,-2.01l-2.63,-1.25l0.04,-0.57l1.82,-1.19l0.43,-2.34l-0.16,-2.03l-0.95,-1.82l-0.06,-0.72l-3.11,-3.64l-0.79,-1.52l1.56,1.45l1.76,0.66l0.65,2.34ZM853.83,393.59l0.57,1.24l0.59,0.16l1.42,-0.97l0.46,0.79l0.0,1.03l-2.47,3.48l-1.26,1.2l-0.06,0.5l0.55,0.87l-1.41,0.07l-2.33,1.38l-2.03,5.02l-3.02,2.16l-2.06,-0.06l-1.71,-1.04l-2.47,-0.2l-0.27,-0.73l1.22,-2.1l3.05,-2.94l1.62,-0.59l4.02,-2.82l1.57,-1.67l1.07,-2.16l0.88,-0.7l0.48,-1.75l1.24,-0.97l0.35,0.79Z",name:"New Zealand"},NP:{path:"M641.14,213.62l0.01,3.19l-1.74,0.04l-4.8,-0.86l-1.58,-1.39l-3.37,-0.34l-7.65,-3.7l0.8,-2.09l2.33,-1.7l1.77,0.75l2.49,1.76l1.38,0.41l0.99,1.35l1.9,0.52l1.99,1.17l5.49,0.9Z",name:"Nepal"},XK:{path:"M472.77,172.64l-1.08,-1.29l0.96,-0.77l0.29,-0.83l1.98,1.64l-0.36,0.67l-1.79,0.58Z",name:"Kosovo"},CI:{path:"M407.4,259.27l0.86,0.42l0.56,0.9l1.13,0.53l1.19,-0.61l0.97,-0.08l1.42,0.54l0.6,3.24l-1.03,2.08l-0.65,2.84l1.06,2.33l-0.06,0.53l-2.54,-0.47l-1.66,0.03l-3.06,0.46l-4.11,1.6l0.32,-3.06l-1.18,-1.31l-1.32,-0.66l0.42,-0.85l-0.2,-1.4l0.5,-0.67l0.01,-1.59l0.84,-0.32l0.26,-0.5l-1.15,-3.01l0.12,-0.5l0.51,-0.25l0.66,0.31l1.93,0.02l0.67,-0.71l0.71,-0.14l0.25,0.69l0.57,0.22l1.4,-0.61Z",name:"Côte d'Ivoire"},CH:{path:"M444.62,156.35l-0.29,0.87l0.18,0.53l1.13,0.58l1.0,0.1l-0.1,0.65l-0.79,0.38l-1.72,-0.37l-0.45,0.23l-0.45,1.04l-0.75,0.06l-0.84,-0.4l-1.32,1.0l-0.96,0.12l-0.88,-0.55l-0.81,-1.3l-0.49,-0.16l-0.63,0.26l0.02,-0.65l1.71,-1.66l0.1,-0.56l0.93,0.08l0.58,-0.46l1.99,0.02l0.66,-0.61l2.19,0.79Z",name:"Switzerland"},CO:{path:"M242.07,254.93l-1.7,0.59l-0.59,1.18l-1.7,1.69l-0.38,1.93l-0.67,1.43l0.31,0.57l1.03,0.13l0.25,0.9l0.57,0.64l-0.04,2.34l1.64,1.42l3.16,-0.24l1.26,0.28l1.67,2.06l0.41,0.13l4.09,-0.39l0.45,0.22l-0.92,1.95l-0.2,1.8l0.52,1.83l0.75,1.05l-1.12,1.1l0.07,0.63l0.84,0.51l0.74,1.29l-0.39,-0.45l-0.59,-0.01l-0.71,0.74l-4.71,-0.05l-0.4,0.41l0.03,1.57l0.33,0.39l1.11,0.2l-1.68,0.4l-0.29,0.38l-0.01,1.82l1.16,1.14l0.34,1.25l-1.05,7.05l-1.04,-0.87l1.26,-1.99l-0.13,-0.56l-2.18,-1.23l-1.38,0.2l-1.14,-0.38l-1.27,0.61l-1.55,-0.26l-1.38,-2.46l-1.23,-0.75l-0.85,-1.2l-1.67,-1.19l-0.86,0.13l-2.11,-1.32l-1.01,0.31l-1.8,-0.29l-0.52,-0.91l-3.09,-1.68l0.77,-0.52l-0.1,-1.12l0.41,-0.64l1.34,-0.32l2.0,-2.88l-0.11,-0.57l-0.66,-0.43l0.39,-1.38l-0.52,-2.1l0.49,-0.83l-0.4,-2.13l-0.97,-1.35l0.17,-0.66l0.86,-0.08l0.47,-0.75l-0.46,-1.63l1.41,-0.07l1.8,-1.69l0.93,-0.24l0.3,-0.38l0.45,-2.76l1.22,-1.0l1.44,-0.04l0.45,-0.5l1.91,0.12l2.93,-1.84l1.15,-1.14l0.91,0.46l-0.25,0.45Z",name:"Colombia"},CN:{path:"M740.23,148.97l4.57,1.3l2.8,2.17l0.98,2.9l0.38,0.27l3.8,0.0l2.32,-1.28l3.29,-0.75l-0.96,2.09l-1.02,1.28l-0.85,3.4l-1.52,2.73l-2.76,-0.5l-2.4,1.13l-0.21,0.45l0.64,2.57l-0.32,3.2l-0.94,0.06l-0.37,0.89l-0.91,-1.01l-0.64,0.07l-0.92,1.57l-3.73,1.25l-0.26,0.48l0.26,1.06l-1.5,-0.08l-1.09,-0.86l-0.56,0.06l-1.67,2.06l-2.7,1.56l-2.03,1.88l-3.4,0.83l-1.93,1.4l-1.15,0.34l0.33,-0.7l-0.41,-0.89l1.79,-1.79l0.02,-0.54l-1.32,-1.56l-0.48,-0.1l-2.24,1.09l-2.83,2.06l-1.51,1.83l-2.28,0.13l-1.55,1.49l-0.04,0.5l1.32,1.97l2.0,0.58l0.31,1.35l1.98,0.84l3.0,-1.96l2.0,1.02l1.49,0.11l0.22,0.83l-3.37,0.86l-1.12,1.48l-2.5,1.52l-1.29,1.99l0.14,0.56l2.57,1.48l0.97,2.7l3.17,4.63l-0.03,1.66l-1.35,0.65l-0.2,0.51l0.6,1.47l1.4,0.91l-0.89,3.82l-1.43,0.38l-3.85,6.44l-2.27,3.11l-6.78,4.57l-2.73,0.29l-1.45,1.04l-0.62,-0.61l-0.55,-0.01l-1.36,1.25l-3.39,1.27l-2.61,0.4l-1.1,2.79l-0.81,0.09l-0.49,-1.42l0.5,-0.85l-0.25,-0.59l-3.36,-0.84l-1.3,0.4l-2.31,-0.62l-0.94,-0.84l0.33,-1.28l-0.3,-0.49l-2.19,-0.46l-1.13,-0.93l-0.47,-0.02l-2.06,1.36l-4.29,0.28l-2.76,1.05l-0.28,0.43l0.32,2.53l-0.59,-0.03l-0.19,-1.34l-0.55,-0.34l-1.68,0.7l-2.46,-1.23l0.62,-1.87l-0.26,-0.51l-1.37,-0.44l-0.54,-2.22l-0.45,-0.3l-2.13,0.35l0.24,-2.48l2.39,-2.4l0.03,-4.31l-1.19,-0.92l-0.78,-1.49l-0.41,-0.21l-1.41,0.19l-1.98,-0.3l0.46,-1.07l-1.17,-1.7l-0.55,-0.11l-1.63,1.05l-2.25,-0.57l-2.89,1.73l-2.25,1.98l-1.75,0.29l-1.17,-0.71l-3.31,-0.65l-1.48,0.79l-1.04,1.27l-0.12,-1.17l-0.54,-0.34l-1.44,0.54l-5.55,-0.86l-1.98,-1.16l-1.89,-0.54l-0.99,-1.35l-1.34,-0.37l-2.55,-1.79l-2.01,-0.84l-1.21,0.56l-5.57,-3.45l-0.53,-2.31l1.19,0.25l0.48,-0.37l0.08,-1.42l-0.98,-1.56l0.15,-2.44l-2.69,-3.32l-4.12,-1.23l-0.67,-2.0l-1.92,-1.48l-0.38,-0.7l-0.51,-3.01l-1.52,-0.66l-0.7,0.13l-0.48,-2.05l0.55,-0.51l-0.09,-0.82l2.03,-1.19l1.6,-0.54l2.56,0.38l0.42,-0.22l0.85,-1.7l3.0,-0.33l1.1,-1.26l4.05,-1.77l0.39,-0.91l-0.17,-1.44l1.45,-0.67l0.2,-0.52l-2.07,-4.9l4.51,-1.12l1.37,-0.73l1.89,-5.51l4.98,0.86l1.51,-1.7l0.11,-2.87l1.99,-0.38l1.83,-2.06l0.49,-0.13l0.68,2.08l2.23,1.77l3.44,1.16l1.55,2.29l-0.92,3.49l0.96,1.67l6.54,1.13l2.95,1.87l1.47,0.35l1.06,2.62l1.53,1.91l3.05,0.08l5.14,0.67l3.37,-0.41l2.36,0.43l3.65,1.8l3.06,0.04l1.45,0.88l2.87,-1.59l3.95,-1.02l3.83,-0.14l3.06,-1.14l1.77,-1.6l1.72,-1.01l0.17,-0.49l-1.1,-2.05l1.02,-1.54l4.02,0.8l2.45,-1.61l3.76,-1.19l1.96,-2.13l1.63,-0.83l3.51,-0.4l1.92,0.34l0.46,-0.3l0.17,-1.5l-2.27,-2.22l-2.11,-1.09l-2.18,1.11l-2.32,-0.47l-1.29,0.32l-0.4,-0.82l2.73,-5.16l3.02,1.06l3.53,-2.06l0.18,-1.68l2.16,-3.35l1.49,-1.35l-0.03,-1.85l-1.07,-0.85l1.54,-1.26l2.98,-0.59l3.23,-0.09l3.64,0.99l2.04,1.16l3.29,6.71l0.92,3.19ZM696.92,237.31l-1.87,1.08l-1.63,-0.64l-0.06,-1.79l1.03,-0.98l2.58,-0.69l1.16,0.05l0.3,0.54l-0.98,1.06l-0.53,1.37Z",name:"China"},CM:{path:"M457.92,257.49l1.05,1.91l-1.4,0.16l-1.05,-0.23l-0.45,0.22l-0.54,1.19l0.08,0.45l1.48,1.47l1.05,0.45l1.01,2.46l-1.52,2.99l-0.68,0.68l-0.13,3.69l2.38,3.84l1.09,0.8l0.24,2.48l-3.67,-1.14l-11.27,-0.13l0.23,-1.79l-0.98,-1.66l-1.19,-0.54l-0.44,-0.97l-0.6,-0.42l1.71,-4.27l0.75,-0.13l1.38,-1.36l0.65,-0.03l1.71,0.99l1.93,-1.12l1.14,-3.18l1.38,-1.17l2.0,-5.14l2.17,-2.13l0.3,-1.64l-0.86,-0.88l0.03,-0.33l0.94,1.28l0.07,3.22Z",name:"Cameroon"},CL:{path:"M246.5,429.18l-3.14,1.83l-0.57,3.16l-0.64,0.05l-2.68,-1.06l-2.82,-2.33l-3.04,-1.89l-0.69,-1.85l0.63,-2.14l-1.21,-2.11l-0.31,-5.37l1.01,-2.91l2.57,-2.38l-0.18,-0.68l-3.16,-0.77l2.05,-2.47l0.77,-4.65l2.32,0.9l0.54,-0.29l1.31,-6.31l-0.22,-0.44l-1.68,-0.8l-0.56,0.28l-0.7,3.36l-0.81,-0.22l1.56,-9.41l1.15,-2.24l-0.71,-2.82l-0.18,-2.84l1.01,-0.33l3.26,-9.14l1.07,-4.22l-0.56,-4.21l0.74,-2.34l-0.29,-3.27l1.46,-3.34l2.04,-16.59l-0.66,-7.76l1.03,-0.53l0.54,-0.9l0.79,1.14l0.32,1.78l1.25,1.16l-0.69,2.55l1.33,2.9l0.97,3.59l0.46,0.29l1.5,-0.3l0.11,0.23l-0.76,2.44l-2.57,1.23l-0.23,0.37l0.08,4.33l-0.46,0.77l0.56,1.21l-1.58,1.51l-1.68,2.62l-0.89,2.47l0.2,2.7l-1.48,2.73l1.12,5.09l0.64,0.61l-0.01,2.29l-1.38,2.68l0.01,2.4l-1.89,2.04l0.02,2.75l0.69,2.57l-1.43,1.13l-1.26,5.68l0.39,3.51l-0.97,0.89l0.58,3.5l1.02,1.14l-0.65,1.02l0.15,0.57l1.0,0.53l0.16,0.69l-1.03,0.85l0.26,1.75l-0.89,4.03l-1.31,2.66l0.24,1.75l-0.71,1.83l-1.99,1.7l0.3,3.67l0.88,1.19l1.58,0.01l0.01,2.21l1.04,1.95l5.98,0.63ZM248.69,430.79l0.0,7.33l0.4,0.4l3.52,0.05l-0.44,0.75l-1.94,0.98l-2.49,-0.37l-1.88,-1.06l-2.55,-0.49l-5.59,-3.71l-2.38,-2.63l4.1,2.48l3.32,1.23l0.45,-0.12l1.29,-1.57l0.83,-2.32l2.05,-1.24l1.31,0.29Z",name:"Chile"},XC:{path:"M504.91,192.87l0.34,0.01l0.27,-0.07l-0.29,0.26l-0.31,-0.2Z",name:"N. Cyprus"},CA:{path:"M280.06,145.6l-1.67,2.88l0.07,0.49l0.5,0.04l1.46,-0.98l1.0,0.42l-0.56,0.72l0.17,0.62l2.22,0.89l1.35,-0.71l1.95,0.78l-0.66,2.01l0.5,0.51l1.32,-0.42l0.98,3.17l-0.91,2.41l-0.8,0.08l-1.23,-0.45l0.47,-2.25l-0.89,-0.83l-0.48,0.06l-2.78,2.63l-0.34,-0.02l1.02,-0.85l-0.14,-0.69l-2.4,-0.77l-7.4,0.08l-0.17,-0.41l1.3,-0.94l0.02,-0.64l-0.73,-0.58l1.85,-1.74l2.57,-5.16l1.47,-1.79l1.99,-1.05l0.46,0.06l-1.53,2.45ZM68.32,74.16l4.13,0.95l4.02,2.14l2.61,0.4l2.47,-1.89l2.88,-1.31l3.85,0.48l3.71,-1.94l3.82,-1.04l1.56,1.68l0.49,0.08l1.87,-1.04l0.65,-1.98l1.24,0.35l4.16,3.94l0.54,0.01l2.75,-2.49l0.26,2.59l0.49,0.35l3.08,-0.73l1.04,-1.27l2.73,0.23l3.83,1.86l5.86,1.61l3.47,0.75l2.44,-0.26l2.73,1.78l-2.98,1.81l-0.19,0.41l0.31,0.32l4.53,0.92l6.87,-0.5l2.0,-0.69l2.49,2.39l0.53,0.02l2.72,-2.16l-0.02,-0.64l-2.16,-1.54l1.15,-1.06l4.83,-0.61l1.84,0.95l2.48,2.31l3.01,-0.23l4.55,1.92l3.85,-0.67l3.61,0.1l0.41,-0.44l-0.25,-2.36l1.79,-0.61l3.49,1.32l-0.01,3.77l0.31,0.39l0.45,-0.22l1.48,-3.16l1.74,0.1l0.41,-0.3l1.13,-4.37l-2.78,-3.11l-2.8,-1.74l0.19,-4.64l2.71,-3.07l2.98,0.67l2.41,1.95l3.19,4.8l-1.99,1.97l0.21,0.68l4.33,0.84l-0.01,4.15l0.25,0.37l0.44,-0.09l3.07,-3.15l2.54,2.39l-0.61,3.33l2.42,2.88l0.61,0.0l2.61,-3.08l1.88,-3.82l0.17,-4.58l6.72,0.94l3.13,2.04l0.13,1.82l-1.76,2.19l-0.01,0.49l1.66,2.16l-0.26,1.71l-4.68,2.8l-3.28,0.61l-2.47,-1.2l-0.55,0.23l-0.73,2.04l-2.38,3.43l-0.74,1.77l-2.74,2.57l-3.44,0.25l-2.21,1.78l-0.28,2.53l-2.82,0.55l-3.12,3.22l-2.72,4.31l-1.03,3.17l-0.14,4.31l0.33,0.41l3.44,0.57l2.24,5.95l0.45,0.23l3.4,-0.69l4.52,1.51l2.43,1.31l1.91,1.73l3.1,0.96l2.62,1.46l6.6,0.54l-0.35,2.74l0.81,3.53l1.81,3.78l3.83,3.3l0.45,0.04l2.1,-1.28l1.37,-3.69l-1.31,-5.38l-1.45,-1.58l3.57,-1.47l2.84,-2.46l1.52,-2.8l-0.25,-2.55l-1.7,-3.07l-2.85,-2.61l2.8,-3.95l-1.08,-3.37l-0.79,-5.67l1.36,-0.7l6.76,1.41l2.12,-0.96l5.12,3.36l1.05,1.61l4.08,0.26l-0.06,2.87l0.83,4.7l0.3,0.32l2.16,0.54l1.73,2.06l0.5,0.09l3.63,-2.03l2.52,-4.19l1.26,-1.32l7.6,11.72l-0.92,2.04l0.16,0.51l3.3,1.97l2.22,1.98l4.1,0.98l1.43,0.99l0.95,2.79l2.1,0.68l0.84,1.08l0.17,3.45l-3.37,2.26l-4.22,1.24l-3.06,2.63l-4.06,0.51l-5.35,-0.69l-6.39,0.2l-2.3,2.41l-3.26,1.51l-6.47,7.15l-0.06,0.48l0.44,0.19l2.13,-0.52l4.17,-4.24l5.12,-2.62l3.52,-0.3l1.69,1.21l-2.12,2.21l0.81,3.47l1.02,2.61l3.47,1.6l4.14,-0.45l2.15,-2.8l0.26,1.48l1.14,0.8l-2.56,1.69l-5.5,1.82l-2.54,1.27l-2.74,2.15l-1.4,-0.16l-0.07,-2.01l4.14,-2.44l0.18,-0.45l-0.39,-0.29l-6.63,0.45l-1.39,-1.49l-0.14,-4.43l-1.11,-0.91l-1.82,0.39l-0.66,-0.66l-0.6,0.03l-1.91,2.39l-0.82,2.52l-0.8,1.27l-1.67,0.56l-0.46,0.76l-8.31,0.07l-1.21,0.62l-2.35,1.97l-0.71,-0.14l-1.37,0.96l-1.12,-0.48l-4.74,1.26l-0.9,1.17l0.21,0.62l1.73,0.3l-1.81,0.31l-1.85,0.81l-2.11,-0.13l-2.95,1.78l-0.69,-0.09l1.39,-2.1l1.73,-1.21l0.1,-2.29l1.16,-1.99l0.49,0.53l2.03,0.42l1.2,-1.16l0.02,-0.47l-2.66,-3.51l-2.28,-0.61l-5.64,-0.71l-0.4,-0.57l-0.79,0.13l0.2,-0.41l-0.22,-0.55l-0.68,-0.26l0.19,-1.26l-0.78,-0.73l0.31,-0.64l-0.29,-0.57l-2.6,-0.44l-0.75,-1.63l-0.94,-0.66l-4.31,-0.65l-1.13,1.19l-1.48,0.59l-0.85,1.06l-2.83,-0.76l-2.09,0.39l-2.39,-0.97l-4.24,-0.7l-0.57,-0.4l-0.41,-1.63l-0.4,-0.3l-0.85,0.02l-0.39,0.4l-0.01,0.85l-69.13,-0.01l-6.51,-4.52l-4.5,-1.38l-1.26,-2.66l0.33,-1.93l-0.23,-0.43l-3.01,-1.35l-0.55,-2.77l-2.89,-2.38l-0.04,-1.45l1.39,-1.83l-0.28,-2.55l-4.16,-2.2l-4.07,-6.6l-4.02,-3.22l-1.3,-1.88l-0.5,-0.13l-2.51,1.21l-2.23,1.87l-3.85,-3.88l-2.44,-1.04l-2.22,-0.13l0.03,-37.49ZM260.37,148.65l3.04,0.76l2.26,1.2l-3.78,-0.95l-1.53,-1.01ZM249.4,3.81l6.68,0.49l5.32,0.79l4.26,1.57l-0.07,1.1l-5.85,2.53l-6.02,1.21l-2.39,1.39l-0.18,0.45l0.39,0.29l4.01,-0.02l-4.65,2.82l-4.2,1.74l-4.19,4.59l-5.03,0.92l-1.67,1.15l-7.47,0.59l-0.37,0.37l0.32,0.42l2.41,0.49l-0.81,0.47l-0.12,0.59l1.83,2.41l-2.02,1.59l-3.81,1.51l-1.32,2.16l-3.38,1.53l-0.22,0.48l0.35,1.19l0.4,0.29l3.88,-0.18l0.03,0.61l-6.33,2.95l-6.41,-1.4l-7.43,0.79l-3.72,-0.62l-4.4,-0.25l-0.23,-1.83l4.29,-1.11l0.28,-0.51l-1.1,-3.45l1.0,-0.25l6.58,2.28l0.47,-0.16l-0.05,-0.49l-3.41,-3.45l-3.58,-0.98l1.48,-1.55l4.34,-1.29l0.97,-2.19l-0.16,-0.48l-3.42,-2.13l-0.81,-2.26l6.2,0.22l2.24,0.58l3.91,-2.1l0.2,-0.43l-0.35,-0.32l-5.64,-0.67l-8.73,0.36l-4.26,-1.9l-2.12,-2.4l-2.78,-1.66l-0.41,-1.52l3.31,-1.03l2.93,-0.2l4.91,-0.99l3.7,-2.27l2.87,0.3l2.62,1.67l0.56,-0.14l1.82,-3.2l3.13,-0.94l4.44,-0.69l7.53,-0.26l1.48,0.67l7.19,-1.06l10.8,0.79ZM203.85,57.54l0.01,0.42l1.97,2.97l0.68,-0.02l2.24,-3.72l5.95,-1.86l4.01,4.64l-0.35,2.91l0.5,0.43l4.95,-1.36l2.32,-1.8l5.31,2.28l3.27,2.11l0.3,1.84l0.48,0.33l4.42,-0.99l2.64,2.87l5.97,1.77l2.06,1.72l2.11,3.71l-4.19,1.86l-0.01,0.73l5.9,2.83l3.94,0.94l3.78,3.95l3.46,0.25l-0.63,2.37l-4.11,4.47l-2.76,-1.56l-3.9,-3.94l-3.59,0.41l-0.33,0.34l-0.19,2.72l2.63,2.38l3.42,1.89l0.94,0.97l1.55,3.75l-0.7,2.29l-2.74,-0.92l-6.25,-3.15l-0.51,0.13l0.05,0.52l6.07,5.69l0.18,0.59l-6.09,-1.39l-5.31,-2.24l-2.63,-1.66l0.6,-0.77l-0.12,-0.6l-7.39,-4.01l-0.59,0.37l0.03,0.79l-6.73,0.6l-1.69,-1.1l1.36,-2.46l4.51,-0.07l5.15,-0.52l0.31,-0.6l-0.74,-1.3l0.78,-1.84l3.21,-4.05l-0.67,-2.35l-1.11,-1.6l-3.84,-2.1l-4.35,-1.28l0.91,-0.63l0.06,-0.61l-2.65,-2.75l-2.34,-0.36l-1.89,-1.46l-0.53,0.03l-1.24,1.23l-4.36,0.55l-9.04,-0.99l-9.26,-1.98l-1.6,-1.22l2.22,-1.77l0.13,-0.44l-0.38,-0.27l-3.22,-0.02l-0.72,-4.25l1.83,-4.04l2.42,-1.85l5.5,-1.1l-1.39,2.35ZM261.19,159.33l2.07,0.61l1.44,-0.04l-1.15,0.63l-2.94,-1.23l-0.4,-0.68l0.36,-0.37l0.61,1.07ZM230.83,84.39l-2.37,0.18l-0.49,-1.63l0.93,-2.09l1.94,-0.51l1.62,0.99l0.02,1.52l-1.66,1.54ZM229.43,58.25l0.11,0.65l-4.87,-0.21l-2.72,0.62l-3.1,-2.57l0.08,-1.26l0.86,-0.23l5.57,0.51l4.08,2.5ZM222.0,105.02l-0.72,1.49l-0.63,-0.19l-0.48,-0.84l0.81,-0.99l0.65,0.05l0.37,0.46ZM183.74,38.32l2.9,1.7l4.79,-0.01l1.84,1.46l-0.49,1.68l0.23,0.48l2.82,1.14l1.76,1.26l7.01,0.65l4.1,-1.1l5.03,-0.43l3.93,0.35l2.48,1.77l0.46,1.7l-1.3,1.1l-3.56,1.01l-3.23,-0.59l-7.17,0.76l-5.09,0.09l-3.99,-0.6l-6.42,-1.54l-0.79,-2.51l-0.3,-2.49l-2.64,-2.5l-5.32,-0.72l-2.52,-1.4l0.68,-1.57l4.78,0.31ZM207.38,91.35l0.4,1.56l0.56,0.26l1.06,-0.52l1.32,0.96l5.42,2.57l0.2,1.68l0.46,0.35l1.68,-0.28l1.15,0.85l-1.55,0.87l-3.61,-0.88l-1.32,-1.69l-0.57,-0.06l-2.45,2.1l-3.12,1.79l-0.7,-1.87l-0.42,-0.26l-2.16,0.24l1.39,-1.39l0.32,-3.14l0.76,-3.35l1.18,0.22ZM215.49,102.6l-2.67,1.95l-1.4,-0.07l-0.3,-0.58l1.53,-1.48l2.84,0.18ZM202.7,24.12l2.53,1.59l-2.87,1.4l-4.53,4.05l-4.25,0.38l-5.03,-0.68l-2.45,-2.04l0.03,-1.62l1.82,-1.37l0.14,-0.45l-0.38,-0.27l-4.45,0.04l-2.59,-1.76l-1.41,-2.29l1.57,-2.32l1.62,-1.66l2.44,-0.39l0.25,-0.65l-0.6,-0.74l4.86,-0.25l3.24,3.11l8.16,2.3l1.9,3.61ZM187.47,59.2l-2.76,3.49l-2.38,-0.15l-1.44,-3.84l0.04,-2.2l1.19,-1.88l2.3,-1.23l5.07,0.17l4.11,1.02l-3.24,3.72l-2.88,0.89ZM186.07,48.79l-1.08,1.53l-3.34,-0.34l-2.56,-1.1l1.03,-1.75l3.25,-1.23l1.95,1.58l0.75,1.3ZM185.71,35.32l-5.3,-0.2l-0.32,-0.71l4.31,0.07l1.3,0.84ZM180.68,32.48l-3.34,1.0l-1.79,-1.1l-0.98,-1.87l-0.15,-1.73l4.1,0.53l2.67,1.7l-0.51,1.47ZM180.9,76.31l-1.1,1.08l-3.13,-1.23l-2.12,0.43l-2.71,-1.57l1.72,-1.09l1.55,-1.72l3.81,1.9l1.98,2.2ZM169.74,54.87l2.96,0.97l4.17,-0.57l0.41,0.88l-2.14,2.11l0.09,0.64l3.55,1.92l-0.4,3.72l-3.79,1.65l-2.17,-0.35l-1.72,-1.74l-6.02,-3.5l0.03,-0.85l4.68,0.54l0.4,-0.21l-0.05,-0.45l-2.48,-2.81l2.46,-1.95ZM174.45,40.74l1.37,1.73l0.07,2.44l-1.05,3.45l-3.79,0.47l-2.32,-0.69l0.05,-2.64l-0.44,-0.41l-3.68,0.35l-0.12,-3.1l2.45,0.1l3.67,-1.73l3.41,0.29l0.37,-0.26ZM170.05,31.55l0.67,1.56l-3.33,-0.49l-4.22,-1.77l-4.35,-0.16l1.4,-0.94l-0.06,-0.7l-2.81,-1.23l-0.12,-1.39l4.39,0.68l6.62,1.98l1.81,2.47ZM134.5,58.13l-1.02,1.82l0.45,0.58l5.4,-1.39l3.33,2.29l0.49,-0.03l2.6,-2.23l1.94,1.32l2.0,4.5l0.7,0.06l1.3,-2.29l-1.63,-4.46l1.69,-0.54l2.31,0.71l2.65,1.81l2.49,7.92l8.48,4.27l-0.19,1.35l-3.79,0.33l-0.26,0.67l1.4,1.49l-0.58,1.1l-4.23,-0.64l-4.43,-1.19l-3.0,0.28l-4.66,1.47l-10.52,1.04l-1.43,-2.02l-3.42,-1.2l-2.21,0.43l-2.51,-2.86l4.84,-1.05l3.6,0.19l3.27,-0.78l0.31,-0.39l-0.31,-0.39l-4.84,-1.06l-8.79,0.27l-0.85,-1.07l5.26,-1.66l0.27,-0.45l-0.4,-0.34l-3.8,0.06l-3.81,-1.06l1.81,-3.01l1.66,-1.79l6.48,-2.81l1.97,0.71ZM158.7,56.61l-1.7,2.44l-3.2,-2.75l0.37,-0.3l3.11,-0.18l1.42,0.79ZM149.61,42.73l1.01,1.89l0.5,0.18l2.14,-0.82l2.23,0.19l0.36,2.04l-1.33,2.09l-8.28,0.76l-6.35,2.15l-3.41,0.1l-0.19,-0.96l4.9,-2.08l0.23,-0.46l-0.41,-0.31l-11.25,0.59l-2.89,-0.74l3.04,-4.44l2.14,-1.32l6.81,1.69l4.58,3.06l4.37,0.39l0.36,-0.63l-3.36,-4.6l1.85,-1.53l2.18,0.51l0.77,2.26ZM144.76,34.41l-4.36,1.44l-3.0,-1.4l1.46,-1.24l3.47,-0.52l2.96,0.71l-0.52,1.01ZM145.13,29.83l-1.9,0.66l-3.67,-0.0l2.27,-1.61l3.3,0.95ZM118.92,65.79l-6.03,2.02l-1.33,-1.9l-5.38,-2.28l2.59,-5.05l2.16,-3.14l-0.02,-0.48l-1.97,-2.41l7.64,-0.7l3.6,1.02l6.3,0.27l4.42,2.95l-2.53,0.98l-6.24,3.43l-3.1,3.28l-0.11,2.01ZM129.54,35.53l-0.28,3.37l-1.72,1.62l-2.33,0.28l-4.61,2.19l-3.86,0.76l-2.64,-0.87l3.72,-3.4l5.01,-3.34l3.72,0.07l3.0,-0.67ZM111.09,152.69l-0.67,0.24l-3.85,-1.37l-0.83,-1.17l-2.12,-1.07l-0.66,-1.02l-2.4,-0.55l-0.74,-1.71l6.02,1.45l2.0,2.55l2.52,1.39l0.73,1.27ZM87.8,134.64l0.89,0.29l1.86,-0.21l-0.65,3.34l1.69,2.33l-1.31,-1.33l-0.99,-1.62l-1.17,-0.98l-0.33,-1.82Z",name:"Canada"},CG:{path:"M466.72,276.48l-0.1,1.03l-1.25,2.97l-0.19,3.62l-0.46,1.78l-0.23,0.63l-1.61,1.19l-1.21,1.39l-1.09,2.43l0.04,2.09l-3.25,3.24l-0.5,-0.24l-0.5,-0.83l-1.36,-0.02l-0.98,0.89l-1.68,-0.99l-1.54,1.24l-1.52,-1.96l1.57,-1.14l0.11,-0.52l-0.77,-1.35l2.1,-0.66l0.39,-0.73l1.05,0.82l2.21,0.11l1.12,-1.37l0.37,-1.81l-0.27,-2.09l-1.13,-1.5l1.0,-2.69l-0.13,-0.45l-0.92,-0.58l-1.6,0.17l-0.51,-0.94l0.1,-0.61l2.75,0.09l3.97,1.24l0.51,-0.33l0.17,-1.28l1.24,-2.21l1.28,-1.14l2.76,0.49Z",name:"Congo"},CF:{path:"M461.16,278.2l-0.26,-1.19l-1.09,-0.77l-0.84,-1.17l-0.29,-1.0l-1.04,-1.15l0.08,-3.43l0.58,-0.49l1.16,-2.35l1.85,-0.17l0.61,-0.62l0.97,0.58l3.15,-0.96l2.48,-1.92l0.02,-0.96l2.81,0.02l2.36,-1.17l1.93,-2.85l1.16,-0.93l1.11,-0.3l0.27,0.86l1.34,1.47l-0.39,2.01l0.3,1.01l4.01,2.75l0.17,0.93l2.63,2.31l0.6,1.44l2.08,1.4l-3.84,-0.21l-1.94,0.88l-1.23,-0.49l-2.67,1.2l-1.29,-0.18l-0.51,0.36l-0.6,1.22l-3.35,-0.65l-1.57,-0.91l-2.42,-0.83l-1.45,0.91l-0.97,1.27l-0.26,1.56l-3.22,-0.43l-1.49,1.33l-0.94,1.62Z",name:"Central African Rep."},CD:{path:"M487.01,272.38l2.34,-0.14l1.35,1.84l1.34,0.45l0.86,-0.39l1.21,0.12l1.07,-0.41l0.54,0.89l2.04,1.54l-0.14,2.72l0.7,0.54l-1.38,1.13l-1.53,2.54l-0.17,2.05l-0.59,1.08l-0.02,1.72l-0.72,0.84l-0.66,3.01l0.63,1.32l-0.44,4.26l0.64,1.47l-0.37,1.22l0.86,1.8l1.53,1.41l0.3,1.26l0.44,0.5l-4.08,0.75l-0.92,1.81l0.51,1.34l-0.74,5.43l0.17,0.38l2.45,1.46l0.54,-0.1l0.12,1.62l-1.28,-0.01l-1.85,-2.35l-1.94,-0.45l-0.48,-1.13l-0.55,-0.2l-1.41,0.74l-1.71,-0.3l-1.01,-1.18l-2.49,-0.19l-0.44,-0.77l-1.98,-0.21l-2.88,0.36l0.11,-2.41l-0.85,-1.13l-0.16,-1.36l0.32,-1.73l-0.46,-0.89l-0.04,-1.49l-0.4,-0.39l-2.53,0.02l0.1,-0.41l-0.39,-0.49l-1.28,0.01l-0.43,0.45l-1.62,0.32l-0.83,1.79l-1.09,-0.28l-2.4,0.52l-1.37,-1.91l-1.3,-3.3l-0.38,-0.27l-7.39,-0.03l-2.46,0.42l0.5,-0.45l0.37,-1.47l0.66,-0.38l0.92,0.08l0.73,-0.82l0.87,0.02l0.31,0.68l1.4,0.36l3.59,-3.63l0.01,-2.23l1.02,-2.29l2.69,-2.39l0.43,-0.99l0.49,-1.96l0.17,-3.51l1.25,-2.95l0.36,-3.14l0.86,-1.13l1.1,-0.66l3.57,1.73l3.65,0.73l0.46,-0.21l0.8,-1.46l1.24,0.19l2.61,-1.17l0.81,0.44l1.04,-0.03l0.59,-0.66l0.7,-0.16l1.81,0.25Z",name:"Dem. Rep. Congo"},CZ:{path:"M458.46,144.88l1.22,1.01l1.47,0.23l0.13,0.93l1.36,0.68l0.54,-0.2l0.24,-0.55l1.15,0.25l0.53,1.09l1.68,0.18l0.6,0.84l-1.04,0.73l-0.96,1.28l-1.6,0.17l-0.55,0.56l-1.04,-0.46l-1.05,0.15l-2.12,-0.96l-1.05,0.34l-1.2,1.12l-1.56,-0.87l-2.57,-2.1l-0.53,-1.88l4.7,-2.52l0.71,0.26l0.9,-0.28Z",name:"Czech Rep."},CY:{path:"M504.36,193.47l0.43,0.28l-1.28,0.57l-0.92,-0.28l-0.24,-0.46l2.01,-0.13Z",name:"Cyprus"},CR:{path:"M211.34,258.05l0.48,0.99l1.6,1.6l-0.54,0.45l0.29,1.42l-0.25,1.19l-1.09,-0.59l-0.05,-1.25l-2.46,-1.42l-0.28,-0.77l-0.66,-0.45l-0.45,-0.0l-0.11,1.04l-1.32,-0.95l0.31,-1.3l-0.36,-0.6l0.31,-0.27l1.42,0.58l1.29,-0.14l0.56,0.56l0.74,0.17l0.55,-0.27Z",name:"Costa Rica"},CU:{path:"M221.21,227.25l1.27,1.02l2.19,-0.28l4.43,3.33l2.08,0.43l-0.1,0.38l0.36,0.5l1.75,0.1l1.48,0.84l-3.11,0.51l-4.15,-0.03l0.77,-0.67l-0.04,-0.64l-1.2,-0.74l-1.49,-0.16l-0.7,-0.61l-0.56,-1.4l-0.4,-0.25l-1.34,0.1l-2.2,-0.66l-0.88,-0.58l-3.18,-0.4l-0.27,-0.16l0.58,-0.74l-0.36,-0.29l-2.72,-0.05l-1.7,1.29l-0.91,0.03l-0.61,0.69l-1.01,0.22l1.11,-1.29l1.01,-0.52l3.69,-1.01l3.98,0.21l2.21,0.84Z",name:"Cuba"},SZ:{path:"M500.35,351.36l0.5,2.04l-0.38,0.89l-1.05,0.21l-1.23,-1.2l-0.02,-0.64l0.83,-1.57l1.34,0.27Z",name:"Swaziland"},SY:{path:"M511.0,199.79l0.05,-1.33l0.54,-1.36l1.28,-0.99l0.13,-0.45l-0.41,-1.11l-1.14,-0.36l-0.19,-1.74l0.52,-1.0l1.29,-1.21l0.2,-1.18l0.59,0.23l2.62,-0.76l1.36,0.52l2.06,-0.01l2.95,-1.08l3.25,-0.26l-0.67,0.94l-1.28,0.66l-0.21,0.4l0.23,2.01l-0.88,3.19l-10.15,5.73l-2.15,-0.85Z",name:"Syria"},KG:{path:"M621.35,172.32l-3.87,1.69l-0.96,1.18l-3.04,0.34l-1.13,1.86l-2.36,-0.35l-1.99,0.63l-2.39,1.4l0.06,0.95l-0.4,0.37l-4.52,0.43l-3.02,-0.93l-2.37,0.17l0.11,-0.79l2.32,0.42l1.13,-0.88l1.99,0.2l3.21,-2.14l-0.03,-0.69l-2.97,-1.57l-1.94,0.65l-1.22,-0.74l1.71,-1.58l-0.12,-0.67l-0.36,-0.15l0.32,-0.77l1.36,-0.35l4.02,1.02l0.49,-0.3l0.35,-1.59l1.09,-0.48l3.42,1.22l1.11,-0.31l7.64,0.39l1.16,1.0l1.23,0.39Z",name:"Kyrgyzstan"},KE:{path:"M506.26,284.69l1.87,-2.56l0.93,-2.15l-1.38,-4.08l-1.06,-1.6l2.82,-2.75l0.79,0.26l0.12,1.41l0.86,0.83l1.9,0.11l3.28,2.13l3.57,0.44l1.05,-1.12l1.96,-0.9l0.82,0.68l1.16,0.09l-1.78,2.45l0.03,9.12l1.3,1.94l-1.37,0.78l-0.67,1.03l-1.08,0.46l-0.34,1.67l-0.81,1.07l-0.45,1.55l-0.68,0.56l-3.2,-2.23l-0.35,-1.58l-8.86,-4.98l0.14,-1.6l-0.57,-1.04Z",name:"Kenya"},SS:{path:"M481.71,263.34l1.07,-0.72l1.2,-3.18l1.36,-0.26l1.61,1.99l0.87,0.34l1.1,-0.41l1.5,0.07l0.57,0.53l2.49,0.0l0.44,-0.63l1.07,-0.4l0.45,-0.84l0.59,-0.33l1.9,1.33l1.6,-0.2l2.83,-3.33l-0.32,-2.21l1.59,-0.52l-0.24,1.6l0.3,1.83l1.35,1.18l0.2,1.87l0.35,0.41l0.02,1.53l-0.23,0.47l-1.42,0.25l-0.85,1.44l0.3,0.6l1.4,0.16l1.11,1.08l0.59,1.13l1.03,0.53l1.28,2.36l-4.41,3.98l-1.74,0.01l-1.89,0.55l-1.47,-0.52l-1.15,0.57l-2.96,-2.62l-1.3,0.49l-1.06,-0.15l-0.79,0.39l-0.82,-0.22l-1.8,-2.7l-1.91,-1.1l-0.66,-1.5l-2.62,-2.32l-0.18,-0.94l-2.37,-1.6Z",name:"S. Sudan"},SR:{path:"M283.12,270.19l2.1,0.53l-1.08,1.95l0.2,1.72l0.93,1.49l-0.59,2.03l-0.43,0.71l-1.12,-0.42l-1.32,0.22l-0.93,-0.2l-0.46,0.26l-0.25,0.73l0.33,0.7l-0.89,-0.13l-1.39,-1.97l-0.31,-1.34l-0.97,-0.31l-0.89,-1.47l0.35,-1.61l1.45,-0.82l0.33,-1.87l2.61,0.44l0.57,-0.47l1.75,-0.16Z",name:"Suriname"},KH:{path:"M689.52,249.39l0.49,1.45l-0.28,2.74l-4.0,1.86l-0.16,0.6l0.68,0.95l-2.06,0.17l-2.05,0.97l-1.82,-0.32l-2.12,-3.7l-0.55,-2.85l1.4,-1.85l3.02,-0.45l2.23,0.35l2.01,0.98l0.51,-0.14l0.95,-1.48l1.74,0.74Z",name:"Cambodia"},SV:{path:"M195.8,250.13l1.4,-1.19l2.24,1.45l0.98,-0.27l0.44,0.2l-0.27,1.05l-1.14,-0.03l-3.64,-1.21Z",name:"El Salvador"},SK:{path:"M476.82,151.17l-1.14,1.9l-2.73,-0.92l-0.82,0.2l-0.74,0.8l-3.46,0.73l-0.47,0.69l-1.76,0.33l-1.88,-1.0l-0.18,-0.81l0.38,-0.75l1.87,-0.32l1.74,-1.89l0.83,0.16l0.79,-0.34l1.51,1.04l1.34,-0.63l1.25,0.3l1.65,-0.42l1.81,0.95Z",name:"Slovakia"},KR:{path:"M737.51,185.84l0.98,-0.1l0.87,-1.17l2.69,-0.32l0.33,-0.29l1.76,2.79l0.58,1.76l0.02,3.12l-0.8,1.32l-2.21,0.55l-1.93,1.13l-1.8,0.19l-0.2,-1.1l0.43,-2.28l-0.95,-2.56l1.43,-0.37l0.23,-0.62l-1.43,-2.06Z",name:"Korea"},SI:{path:"M456.18,162.07l-0.51,-1.32l0.18,-1.05l1.69,0.2l1.42,-0.71l2.09,-0.07l0.62,-0.51l0.21,0.47l-1.61,0.67l-0.44,1.34l-0.66,0.24l-0.26,0.82l-1.22,-0.49l-0.84,0.46l-0.69,-0.04Z",name:"Slovenia"},KP:{path:"M736.77,185.16l-0.92,-0.42l-0.88,0.62l-1.21,-0.88l0.96,-1.15l0.59,-2.59l-0.46,-0.74l-2.09,-0.77l1.64,-1.52l2.72,-1.58l1.58,-1.91l1.11,0.78l2.17,0.11l0.41,-0.5l-0.3,-1.22l3.52,-1.18l0.94,-1.4l0.98,1.08l-2.19,2.18l0.01,2.14l-1.06,0.54l-1.41,1.4l-1.7,0.52l-1.25,1.09l-0.14,1.98l0.94,0.45l1.15,1.04l-0.13,0.26l-2.6,0.29l-1.13,1.29l-1.22,0.08Z",name:"Dem. Rep. Korea"},KW:{path:"M540.81,207.91l0.37,0.86l-0.17,0.76l0.6,1.53l-0.95,0.04l-0.82,-1.28l-1.57,-0.18l1.31,-1.88l1.22,0.17Z",name:"Kuwait"},SN:{path:"M390.09,248.21l0.12,1.55l0.49,1.46l0.96,0.82l0.05,1.28l-1.26,-0.19l-0.75,0.33l-1.84,-0.61l-5.84,-0.13l-2.54,0.51l-0.22,-1.03l1.77,0.04l2.01,-0.91l1.03,0.48l1.09,0.04l1.29,-0.62l0.14,-0.58l-0.51,-0.74l-1.81,0.25l-1.13,-0.63l-0.79,0.04l-0.72,0.61l-2.31,0.06l-0.92,-1.77l-0.81,-0.64l0.64,-0.35l2.46,-3.74l1.04,0.19l1.38,-0.56l1.19,-0.02l2.72,1.37l3.03,3.48Z",name:"Senegal"},SL:{path:"M394.46,264.11l-1.73,1.98l-0.58,1.33l-2.07,-1.06l-1.22,-1.26l-0.65,-2.39l1.16,-0.96l0.67,-1.17l1.21,-0.52l1.66,0.0l1.03,1.64l0.52,2.41Z",name:"Sierra Leone"},KZ:{path:"M552.8,172.89l0.46,-1.27l-0.48,-1.05l-2.96,-1.19l-1.06,-2.58l-1.37,-0.87l-0.03,-0.3l1.95,0.23l0.45,-0.38l0.08,-1.96l1.75,-0.41l2.1,0.45l0.48,-0.33l0.45,-3.04l-0.45,-2.09l-0.41,-0.31l-2.42,0.15l-2.36,-0.73l-2.87,1.37l-2.17,0.61l-0.85,-0.34l0.13,-1.61l-1.6,-2.12l-2.02,-0.08l-1.78,-1.82l1.29,-2.18l-0.57,-0.95l1.62,-2.91l2.21,1.63l0.63,-0.27l0.29,-2.22l4.92,-3.43l3.71,-0.08l8.4,3.6l2.92,-1.36l3.77,-0.06l3.11,1.66l0.51,-0.11l0.6,-0.81l3.31,0.13l0.39,-0.25l0.63,-1.57l-0.17,-0.5l-3.5,-1.98l1.87,-1.27l-0.13,-1.03l1.98,-0.72l0.18,-0.62l-1.59,-2.06l0.81,-0.82l9.23,-1.18l1.33,-0.88l6.18,-1.26l2.26,-1.42l4.08,0.68l0.73,3.33l0.51,0.3l2.48,-0.8l2.79,1.02l-0.17,1.56l0.43,0.44l2.55,-0.24l4.89,-2.53l0.03,0.32l3.15,2.61l5.56,8.47l0.65,0.02l1.12,-1.46l3.15,1.74l3.76,-0.78l1.15,0.49l1.14,1.8l1.84,0.76l0.99,1.29l3.35,-0.25l1.02,1.52l-1.6,1.81l-1.93,0.28l-0.34,0.38l-0.11,3.05l-1.13,1.16l-4.75,-1.0l-0.46,0.27l-1.76,5.47l-1.1,0.59l-4.91,1.23l-0.27,0.54l2.1,4.97l-1.37,0.63l-0.23,0.41l0.13,1.13l-0.88,-0.25l-1.42,-1.13l-7.89,-0.4l-0.92,0.31l-3.73,-1.22l-1.42,0.63l-0.53,1.66l-3.72,-0.94l-1.85,0.43l-0.76,1.4l-4.65,2.62l-1.13,2.08l-0.44,0.01l-0.92,-1.4l-2.87,-0.09l-0.45,-2.14l-0.38,-0.32l-0.8,-0.01l0.0,-2.96l-3.0,-2.22l-7.31,0.58l-2.35,-2.68l-6.71,-3.69l-6.45,1.83l-0.29,0.39l0.1,10.85l-0.7,0.08l-1.62,-2.17l-1.83,-0.96l-3.11,0.59l-0.64,0.51Z",name:"Kazakhstan"},SA:{path:"M537.53,210.34l2.0,0.24l0.9,1.32l1.49,-0.06l0.87,2.08l1.29,0.76l0.51,0.99l1.56,1.03l-0.1,1.9l0.32,0.9l1.58,2.47l0.76,0.53l0.7,-0.04l1.68,4.23l7.53,1.33l0.51,-0.29l0.77,1.25l-1.55,4.87l-7.29,2.52l-7.3,1.03l-2.34,1.17l-1.88,2.74l-0.76,0.28l-0.82,-0.78l-0.91,0.12l-2.88,-0.51l-3.51,0.25l-0.86,-0.56l-0.57,0.15l-0.66,1.27l0.16,1.11l-0.43,0.32l-0.93,-1.4l-0.33,-1.16l-1.23,-0.88l-1.27,-2.06l-0.78,-2.22l-1.73,-1.79l-1.14,-0.48l-1.54,-2.31l-0.21,-3.41l-1.44,-2.93l-1.27,-1.16l-1.33,-0.57l-1.31,-3.37l-0.77,-0.67l-0.97,-1.97l-2.8,-4.03l-1.06,-0.17l0.37,-1.96l0.2,-0.72l2.74,0.3l1.08,-0.84l0.6,-0.94l1.74,-0.35l0.65,-1.03l0.71,-0.4l0.1,-0.62l-2.06,-2.28l4.39,-1.22l0.48,-0.37l2.77,0.69l3.66,1.9l7.03,5.5l4.87,0.3Z",name:"Saudi Arabia"},SE:{path:"M480.22,89.3l-4.03,1.17l-2.43,2.86l0.26,2.57l-8.77,6.64l-1.78,5.79l1.78,2.68l2.22,1.96l-2.07,3.77l-2.72,1.13l-0.95,6.04l-1.29,3.01l-2.74,-0.31l-0.4,0.22l-1.31,2.59l-2.34,0.13l-0.75,-3.09l-2.08,-4.03l-1.83,-4.96l1.0,-1.93l2.14,-2.7l0.83,-4.45l-1.6,-2.17l-0.15,-4.94l1.48,-3.39l2.58,-0.15l0.87,-1.59l-0.78,-1.57l3.76,-5.59l4.04,-7.48l2.17,0.01l0.39,-0.29l0.57,-2.07l4.37,0.64l0.46,-0.34l0.33,-2.56l1.1,-0.13l6.94,4.87l0.06,6.32l0.66,1.36Z",name:"Sweden"},SD:{path:"M505.98,259.4l-0.34,-0.77l-1.17,-0.9l-0.26,-1.61l0.29,-1.81l-0.34,-0.46l-1.16,-0.17l-0.54,0.59l-1.23,0.11l-0.28,0.65l0.53,0.65l0.17,1.22l-2.44,3.0l-0.96,0.19l-2.39,-1.4l-0.95,0.52l-0.38,0.78l-1.11,0.41l-0.29,0.5l-1.94,0.0l-0.54,-0.52l-1.81,-0.09l-0.95,0.4l-2.45,-2.35l-2.07,0.54l-0.73,1.26l-0.6,2.1l-1.25,0.58l-0.75,-0.62l0.27,-2.65l-1.48,-1.78l-0.22,-1.48l-0.92,-0.96l-0.02,-1.29l-0.57,-1.16l-0.68,-0.16l0.69,-1.29l-0.18,-1.14l0.65,-0.62l0.03,-0.55l-0.36,-0.41l1.55,-2.97l1.91,0.16l0.43,-0.4l-0.1,-10.94l2.49,-0.01l0.4,-0.4l-0.0,-4.82l29.02,0.0l0.64,2.04l-0.49,0.66l0.36,2.69l0.93,3.16l2.12,1.55l-0.89,1.04l-1.72,0.39l-0.98,0.9l-1.43,5.65l0.24,1.15l-0.38,2.06l-0.96,2.38l-1.53,1.31l-1.32,2.91l-1.22,0.86l-0.37,1.34Z",name:"Sudan"},DO:{path:"M241.8,239.2l0.05,-0.65l-0.46,-0.73l0.42,-0.44l0.19,-1.0l-0.09,-1.53l1.66,0.01l1.99,0.63l0.33,0.67l1.28,0.19l0.33,0.76l1.0,0.08l0.8,0.62l-0.45,0.51l-1.13,-0.47l-1.88,-0.01l-1.27,0.59l-0.75,-0.55l-1.01,0.54l-0.79,1.4l-0.23,-0.61Z",name:"Dominican Rep."},DJ:{path:"M528.43,256.18l-0.45,0.66l-0.58,-0.25l-1.51,0.13l-0.18,-1.01l1.45,-1.95l0.83,0.17l0.77,-0.44l0.2,1.0l-1.2,0.51l-0.06,0.7l0.73,0.47Z",name:"Djibouti"},DK:{path:"M452.28,129.07l-1.19,2.24l-2.13,-1.6l-0.23,-0.95l2.98,-0.95l0.57,1.26ZM447.74,126.31l-0.26,0.57l-0.88,-0.07l-1.8,2.53l0.48,1.69l-1.09,0.36l-1.61,-0.39l-0.89,-1.69l-0.07,-3.43l0.96,-1.73l2.02,-0.2l1.09,-1.07l1.33,-0.67l-0.05,1.06l-0.73,1.41l0.3,1.0l1.2,0.64Z",name:"Denmark"},DE:{path:"M453.14,155.55l-0.55,-0.36l-1.2,-0.1l-1.87,0.57l-2.13,-0.13l-0.56,0.63l-0.86,-0.6l-0.96,0.09l-2.57,-0.93l-0.85,0.67l-1.47,-0.02l0.24,-1.75l1.23,-2.14l-0.28,-0.59l-3.52,-0.58l-0.92,-0.66l0.12,-1.2l-0.48,-0.88l0.27,-2.17l-0.37,-3.03l1.41,-0.22l0.63,-1.26l0.66,-3.19l-0.41,-1.18l0.26,-0.39l1.66,-0.15l0.33,0.54l0.62,0.07l1.7,-1.69l-0.54,-3.02l1.37,0.33l1.31,-0.37l0.31,1.18l2.25,0.71l-0.02,0.92l0.5,0.4l2.55,-0.65l1.34,-0.87l2.57,1.24l1.06,0.98l0.48,1.44l-0.57,0.74l-0.0,0.48l0.87,1.15l0.57,1.64l-0.14,1.29l0.82,1.7l-1.5,-0.07l-0.56,0.57l-4.47,2.15l-0.22,0.54l0.68,2.26l2.58,2.16l-0.66,1.11l-0.79,0.36l-0.23,0.43l0.32,1.87Z",name:"Germany"},YE:{path:"M528.27,246.72l0.26,-0.42l-0.22,-1.01l0.19,-1.5l0.92,-0.69l-0.07,-1.35l0.39,-0.75l1.01,0.47l3.34,-0.27l3.76,0.41l0.95,0.81l1.36,-0.58l1.74,-2.62l2.18,-1.09l6.86,-0.94l2.48,5.41l-1.64,0.76l-0.56,1.9l-6.23,2.16l-2.29,1.8l-1.93,0.05l-1.41,1.02l-4.24,0.74l-1.72,1.49l-3.28,0.19l-0.52,-1.18l0.02,-1.51l-1.34,-3.29Z",name:"Yemen"},DZ:{path:"M441.46,188.44l-0.32,1.07l0.39,2.64l-0.54,2.16l-1.58,1.82l0.37,2.39l1.91,1.55l0.18,0.8l1.42,1.03l1.84,7.23l0.12,1.16l-0.57,5.0l0.2,1.51l-0.87,0.99l-0.02,0.51l1.41,1.86l0.14,1.2l0.89,1.48l0.5,0.16l0.98,-0.41l1.73,1.08l0.82,1.23l-8.22,4.81l-7.23,5.11l-3.43,1.13l-2.3,0.21l-0.28,-1.59l-2.56,-1.09l-0.67,-1.25l-26.12,-17.86l0.01,-3.47l3.77,-1.88l2.44,-0.41l2.12,-0.75l1.08,-1.42l2.81,-1.05l0.35,-2.08l1.33,-0.29l1.04,-0.94l3.47,-0.69l0.46,-1.08l-0.1,-0.45l-0.58,-0.52l-0.82,-2.81l-0.19,-1.83l-0.78,-1.49l2.03,-1.31l2.63,-0.48l1.7,-1.22l2.31,-0.84l8.24,-0.73l1.49,0.38l2.28,-1.1l2.46,-0.02l0.92,0.6l1.35,-0.05Z",name:"Algeria"},US:{path:"M892.72,99.2l1.31,0.53l1.41,-0.37l1.89,0.98l1.89,0.42l-1.32,0.58l-2.9,-1.53l-2.08,0.22l-0.26,-0.15l0.07,-0.67ZM183.22,150.47l0.37,1.47l1.12,0.85l4.23,0.7l2.39,0.98l2.17,-0.38l1.85,0.5l-1.55,0.65l-3.49,2.61l-0.16,0.77l0.5,0.39l2.33,-0.61l1.77,1.02l5.15,-2.4l-0.31,0.65l0.25,0.56l1.36,0.38l1.71,1.16l4.7,-0.88l0.67,0.85l1.31,0.21l0.58,0.58l-1.34,0.17l-2.18,-0.32l-3.6,0.89l-2.71,3.25l0.35,0.9l0.59,-0.0l0.55,-0.6l-1.36,4.65l0.29,3.09l0.67,1.58l0.61,0.45l1.77,-0.44l1.6,-1.96l0.14,-2.21l-0.82,-1.96l0.11,-1.13l1.19,-2.37l0.44,-0.33l0.48,0.75l0.4,-0.29l0.4,-1.37l0.6,-0.47l0.24,-0.8l1.69,0.49l1.65,1.08l-0.03,2.37l-1.27,1.13l-0.0,1.13l0.87,0.36l1.66,-1.29l0.5,0.17l0.5,2.6l-2.49,3.75l0.17,0.61l1.54,0.62l1.48,0.17l1.92,-0.44l4.72,-2.15l2.16,-1.8l-0.05,-1.24l0.75,-0.22l3.92,0.36l2.12,-1.05l0.21,-0.4l-0.28,-1.48l3.27,-2.4l8.32,-0.02l0.56,-0.82l1.9,-0.77l0.93,-1.51l0.74,-2.37l1.58,-1.98l0.92,0.62l1.47,-0.47l0.8,0.66l-0.0,4.09l1.96,2.6l-2.34,1.31l-5.37,2.09l-1.83,2.72l0.02,1.79l0.83,1.59l0.54,0.23l-6.19,0.94l-2.2,0.89l-0.23,0.48l0.45,0.29l2.99,-0.46l-2.19,0.56l-1.13,0.0l-0.15,-0.32l-0.48,0.08l-0.76,0.82l0.22,0.67l0.32,0.06l-0.41,1.62l-1.27,1.58l-1.48,-1.07l-0.49,-0.04l-0.16,0.46l0.52,1.58l0.61,0.59l0.03,0.79l-0.95,1.38l-1.21,-1.22l-0.27,-2.27l-0.35,-0.35l-0.42,0.25l-0.48,1.27l0.33,1.41l-0.97,-0.27l-0.48,0.24l0.18,0.5l1.52,0.83l0.1,2.52l0.79,0.51l0.52,3.42l-1.42,1.88l-2.47,0.8l-1.71,1.66l-1.31,0.25l-1.27,1.03l-0.43,0.99l-2.69,1.78l-2.64,3.03l-0.45,2.12l0.45,2.08l0.85,2.38l1.09,1.9l0.04,1.2l1.16,3.06l-0.18,2.69l-0.55,1.43l-0.47,0.21l-0.89,-0.23l-0.49,-1.18l-0.87,-0.56l-2.75,-5.16l0.48,-1.68l-0.72,-1.78l-2.01,-2.38l-1.12,-0.53l-2.72,1.18l-1.47,-1.35l-1.57,-0.68l-2.99,0.31l-2.17,-0.3l-2.0,0.19l-1.15,0.46l-0.19,0.58l0.39,0.63l0.14,1.34l-0.84,-0.2l-0.84,0.46l-1.58,-0.07l-2.08,-1.44l-2.09,0.33l-1.91,-0.62l-3.73,0.84l-2.39,2.07l-2.54,1.22l-1.45,1.41l-0.61,1.38l0.34,3.71l-0.29,0.02l-3.5,-1.33l-1.25,-3.11l-1.44,-1.5l-2.24,-3.56l-1.76,-1.09l-2.27,-0.01l-1.71,2.07l-1.76,-0.69l-1.16,-0.74l-1.52,-2.98l-3.93,-3.16l-4.34,-0.0l-0.4,0.4l-0.0,0.74l-6.5,0.02l-9.02,-3.14l-0.34,-0.71l-5.7,0.49l-0.43,-1.29l-1.62,-1.61l-1.14,-0.38l-0.55,-0.88l-1.28,-0.13l-1.01,-0.77l-2.22,-0.27l-0.43,-0.3l-0.36,-1.58l-2.4,-2.83l-2.01,-3.85l-0.06,-0.9l-2.92,-3.26l-0.33,-2.29l-1.3,-1.66l0.52,-2.37l-0.09,-2.57l-0.78,-2.3l0.95,-2.82l0.61,-5.68l-0.47,-4.27l-1.46,-4.08l3.19,0.79l1.26,2.83l0.69,0.08l0.69,-1.14l-1.1,-4.79l68.76,-0.0l0.4,-0.4l0.14,-0.86ZM32.44,67.52l1.73,1.97l0.55,0.05l0.99,-0.79l3.65,0.24l-0.09,0.62l0.32,0.45l3.83,0.77l2.61,-0.43l5.19,1.4l4.84,0.43l1.89,0.57l3.42,-0.7l6.14,1.87l-0.03,38.06l0.38,0.4l2.39,0.11l2.31,0.98l3.9,3.99l0.55,0.04l2.4,-2.03l2.16,-1.04l1.2,1.71l3.95,3.14l4.09,6.63l4.2,2.29l0.06,1.83l-1.02,1.23l-1.16,-1.08l-2.04,-1.03l-0.67,-2.89l-3.28,-3.03l-1.65,-3.57l-6.35,-0.32l-2.82,-1.01l-5.26,-3.85l-6.77,-2.04l-3.53,0.3l-4.81,-1.69l-3.25,-1.63l-2.78,0.8l-0.28,0.46l0.44,2.21l-3.91,0.96l-2.26,1.27l-2.3,0.65l-0.27,-1.65l1.05,-3.42l2.49,-1.09l0.16,-0.6l-0.69,-0.96l-0.55,-0.1l-3.19,2.12l-1.78,2.56l-3.55,2.61l-0.04,0.61l1.56,1.52l-2.07,2.29l-5.11,2.57l-0.77,1.66l-3.76,1.77l-0.92,1.73l-2.69,1.38l-1.81,-0.22l-6.95,3.32l-3.97,0.91l4.85,-2.5l2.59,-1.86l3.26,-0.52l1.19,-1.4l3.42,-2.1l2.59,-2.27l0.42,-2.68l1.23,-2.1l-0.04,-0.46l-0.45,-0.11l-2.68,1.03l-0.63,-0.49l-0.53,0.03l-1.05,1.04l-1.36,-1.54l-0.66,0.08l-0.32,0.62l-0.58,-1.14l-0.56,-0.16l-2.41,1.42l-1.07,-0.0l-0.17,-1.75l0.3,-1.71l-1.61,-1.33l-3.41,0.59l-1.96,-1.63l-1.57,-0.84l-0.15,-2.21l-1.7,-1.43l0.82,-1.88l1.99,-2.12l0.88,-1.92l1.71,-0.24l2.04,0.51l1.87,-1.77l1.91,0.25l1.91,-1.23l0.17,-0.43l-0.47,-1.82l-1.07,-0.7l1.39,-1.17l0.12,-0.45l-0.39,-0.26l-1.65,0.07l-2.66,0.88l-0.75,0.78l-1.92,-0.8l-3.46,0.44l-3.44,-0.91l-1.06,-1.61l-2.65,-1.99l2.91,-1.43l5.5,-2.0l1.52,0.0l-0.26,1.62l0.41,0.46l5.29,-0.16l0.3,-0.65l-2.03,-2.59l-3.14,-1.68l-1.79,-2.12l-2.4,-1.83l-3.09,-1.24l1.04,-1.69l4.23,-0.14l3.36,-2.07l0.73,-2.27l2.39,-1.99l2.42,-0.52l4.65,-1.97l2.46,0.23l3.71,-2.35l3.5,0.89ZM37.6,123.41l-2.25,1.23l-0.95,-0.69l-0.29,-1.24l3.21,-1.63l1.42,0.21l0.67,0.7l-1.8,1.42ZM31.06,234.03l0.98,0.47l0.74,0.87l-1.77,1.07l-0.44,-1.53l0.49,-0.89ZM29.34,232.07l0.18,0.05l0.08,0.05l-0.16,0.03l-0.11,-0.14ZM25.16,230.17l0.05,-0.03l0.18,0.22l-0.13,-0.01l-0.1,-0.18ZM5.89,113.26l-1.08,0.41l-2.21,-1.12l1.53,-0.4l1.62,0.28l0.14,0.83Z",name:"United States"},UY:{path:"M286.85,372.74l-0.92,1.5l-2.59,1.44l-1.69,-0.52l-1.42,0.26l-2.39,-1.19l-1.52,0.08l-1.27,-1.3l0.16,-1.5l0.56,-0.79l-0.02,-2.73l1.21,-4.74l1.19,-0.21l2.37,2.0l1.08,0.03l4.36,3.17l1.22,1.6l-0.96,1.5l0.61,1.4Z",name:"Uruguay"},LB:{path:"M510.37,198.01l-0.88,0.51l1.82,-3.54l0.62,0.08l0.22,0.61l-1.13,0.88l-0.65,1.47Z",name:"Lebanon"},LA:{path:"M689.54,248.53l-1.76,-0.74l-0.49,0.15l-0.94,1.46l-1.32,-0.64l0.62,-0.98l0.11,-2.17l-2.04,-2.42l-0.25,-2.65l-1.9,-2.1l-2.15,-0.31l-0.78,0.91l-1.12,0.06l-1.05,-0.4l-2.06,1.2l-0.04,-1.59l0.61,-2.68l-0.36,-0.49l-1.35,-0.1l-0.11,-1.23l-0.96,-0.88l1.96,-1.89l0.39,0.36l1.33,0.07l0.42,-0.45l-0.34,-2.66l0.7,-0.21l1.28,1.81l1.11,2.35l0.36,0.23l2.82,0.02l0.71,1.67l-1.39,0.65l-0.72,0.93l0.13,0.6l2.91,1.51l3.6,5.25l1.88,1.78l0.56,1.62l-0.35,1.96Z",name:"Lao PDR"},TW:{path:"M724.01,226.68l-0.74,1.48l-0.9,-1.52l-0.25,-1.74l1.38,-2.44l1.73,-1.74l0.64,0.44l-1.85,5.52Z",name:"Taiwan"},TT:{path:"M266.64,259.32l0.28,-1.16l1.13,-0.22l-0.06,1.2l-1.35,0.18Z",name:"Trinidad and Tobago"},TR:{path:"M513.21,175.47l3.64,1.17l3.05,-0.44l2.1,0.26l3.11,-1.56l2.46,-0.13l2.19,1.33l0.33,0.82l-0.22,1.33l0.25,0.44l2.28,1.13l-1.17,0.57l-0.21,0.45l0.75,3.2l-0.41,1.16l1.13,1.92l-0.55,0.22l-0.9,-0.67l-2.91,-0.37l-1.24,0.46l-4.23,0.41l-2.81,1.05l-1.91,0.01l-1.52,-0.53l-2.58,0.75l-0.66,-0.45l-0.62,0.3l-0.12,1.45l-0.89,0.84l-0.47,-0.67l0.79,-1.3l-0.41,-0.2l-1.43,0.23l-2.0,-0.63l-2.02,1.65l-3.51,0.3l-2.13,-1.53l-2.7,-0.1l-0.86,1.24l-1.38,0.27l-2.29,-1.44l-2.71,-0.01l-1.37,-2.65l-1.68,-1.52l1.07,-1.99l-0.09,-0.49l-1.27,-1.12l2.37,-2.41l3.7,-0.11l1.28,-2.24l4.49,0.37l3.21,-1.97l2.81,-0.82l3.99,-0.06l4.29,2.07ZM488.79,176.72l-1.72,1.31l-0.5,-0.88l1.37,-2.57l-0.7,-0.85l1.7,-0.63l1.8,0.34l0.46,1.17l1.76,0.78l-2.87,0.32l-1.3,1.01Z",name:"Turkey"},LK:{path:"M624.16,268.99l-1.82,0.48l-0.99,-1.67l-0.42,-3.46l0.95,-3.43l1.21,0.98l2.26,4.19l-0.34,2.33l-0.85,0.58Z",name:"Sri Lanka"},LV:{path:"M489.16,122.85l0.96,0.66l0.22,1.65l0.68,1.76l-3.65,1.7l-2.23,-1.58l-1.29,-0.26l-0.68,-0.77l-2.42,0.34l-4.16,-0.23l-2.47,0.9l0.06,-1.98l1.13,-2.06l1.95,-1.02l2.12,2.58l2.01,-0.07l0.38,-0.33l0.44,-2.52l1.76,-0.53l3.06,1.7l2.15,0.07Z",name:"Latvia"},LT:{path:"M486.93,129.3l0.17,1.12l-1.81,0.98l-0.72,2.02l-2.47,1.18l-2.1,-0.02l-0.73,-1.05l-1.06,-0.3l-0.09,-1.87l-3.56,-1.13l-0.43,-2.36l2.48,-0.94l4.12,0.22l2.25,-0.31l0.52,0.69l1.24,0.21l2.19,1.56Z",name:"Lithuania"},LU:{path:"M436.08,149.45l-0.48,-0.07l0.3,-1.28l0.27,0.4l-0.09,0.96Z",name:"Luxembourg"},LR:{path:"M399.36,265.97l0.18,1.54l-0.48,0.99l0.08,0.47l2.47,1.8l-0.33,2.8l-2.65,-1.13l-5.78,-4.61l0.58,-1.32l2.1,-2.33l0.86,-0.22l0.77,1.14l-0.14,0.85l0.59,0.87l1.0,0.14l0.76,-0.99Z",name:"Liberia"},LS:{path:"M491.06,363.48l-0.49,0.15l-1.49,-1.67l1.1,-1.43l2.19,-1.44l1.51,1.27l-0.98,1.82l-1.23,0.38l-0.62,0.93Z",name:"Lesotho"},TH:{path:"M670.27,255.86l-1.41,3.87l0.15,2.0l0.38,0.36l1.38,0.07l0.9,2.04l0.55,2.34l1.4,1.44l1.61,0.38l0.96,0.97l-0.5,0.64l-1.1,0.2l-0.34,-1.18l-2.04,-1.1l-0.63,0.23l-0.63,-0.62l-0.48,-1.3l-2.56,-2.63l-0.73,0.41l0.95,-3.89l2.16,-4.22ZM670.67,254.77l-0.92,-2.18l-0.26,-2.61l-2.14,-3.06l0.71,-0.49l0.89,-2.59l-3.61,-5.45l0.87,-0.51l1.05,-2.58l1.74,-0.18l2.6,-1.59l0.76,0.56l0.13,1.39l0.37,0.36l1.23,0.09l-0.51,2.28l0.05,2.42l0.6,0.34l2.43,-1.42l0.77,0.39l1.47,-0.07l0.71,-0.88l1.48,0.14l1.71,1.88l0.25,2.65l1.92,2.11l-0.1,1.89l-0.61,0.86l-2.22,-0.33l-3.5,0.64l-1.6,2.12l0.36,2.58l-1.51,-0.79l-1.84,-0.01l0.28,-1.52l-0.4,-0.47l-2.21,0.01l-0.4,0.37l-0.19,2.74l-0.34,0.93Z",name:"Thailand"},TF:{path:"M596.68,420.38l-3.2,0.18l-0.05,-1.26l0.39,-1.41l1.3,0.78l2.08,0.35l-0.52,1.36Z",name:"Fr. S. Antarctic Lands"},TG:{path:"M422.7,257.63l-0.09,1.23l1.53,1.52l0.08,1.09l0.5,0.65l-0.11,5.62l0.49,1.47l-1.31,0.35l-1.02,-2.13l-0.18,-1.12l0.53,-2.19l-0.63,-1.16l-0.22,-3.68l-1.01,-1.4l0.07,-0.28l1.37,0.03Z",name:"Togo"},TD:{path:"M480.25,235.49l0.12,9.57l-2.1,0.05l-1.14,1.89l-0.69,1.63l0.34,0.73l-0.66,0.91l0.24,0.89l-0.86,1.95l0.45,0.5l0.6,-0.1l0.34,0.64l0.03,1.38l0.9,1.04l-1.45,0.43l-1.27,1.03l-1.83,2.76l-2.16,1.07l-2.31,-0.15l-0.86,0.25l-0.26,0.49l0.17,0.61l-2.11,1.68l-2.85,0.87l-1.09,-0.57l-0.73,0.66l-1.12,0.1l-1.1,-3.12l-1.25,-0.64l-1.22,-1.22l0.29,-0.64l3.01,0.04l0.35,-0.6l-1.3,-2.2l-0.08,-3.31l-0.97,-1.66l0.22,-1.04l-0.38,-0.48l-1.22,-0.04l0.0,-1.25l-0.98,-1.07l0.96,-3.01l3.25,-2.65l0.13,-3.33l0.95,-5.18l0.52,-1.07l-0.1,-0.48l-0.91,-0.78l-0.2,-0.96l-0.8,-0.58l-0.55,-3.65l2.1,-1.2l19.57,9.83Z",name:"Chad"},LY:{path:"M483.48,203.15l-0.75,1.1l0.29,1.39l-0.6,1.83l0.73,2.14l0.0,24.12l-2.48,0.01l-0.41,0.85l-19.41,-9.76l-4.41,2.28l-1.37,-1.33l-3.82,-1.1l-1.14,-1.65l-1.98,-1.23l-1.22,0.32l-0.66,-1.11l-0.17,-1.26l-1.28,-1.69l0.87,-1.19l-0.07,-4.34l0.43,-2.27l-0.86,-3.45l1.13,-0.76l0.22,-1.16l-0.2,-1.03l3.48,-2.61l0.29,-1.94l2.45,0.8l1.18,-0.21l1.98,0.44l3.15,1.18l1.37,2.54l5.72,1.67l2.64,1.35l1.61,-0.72l1.29,-1.34l-0.44,-2.34l0.66,-1.13l1.67,-1.21l1.57,-0.35l3.14,0.53l1.08,1.28l3.99,0.78l0.36,0.54Z",name:"Libya"},AE:{path:"M550.76,223.97l1.88,-0.4l3.84,0.02l4.78,-4.75l0.19,0.36l0.26,1.58l-0.81,0.01l-0.39,0.35l-0.08,2.04l-0.81,0.63l-0.01,0.96l-0.66,0.99l-0.39,1.41l-7.08,-1.25l-0.7,-1.96Z",name:"United Arab Emirates"},VE:{path:"M240.68,256.69l0.53,0.75l-0.02,1.06l-1.07,1.78l0.95,2.0l0.42,0.22l1.4,-0.44l0.56,-1.83l-0.77,-1.17l-0.1,-1.47l2.82,-0.93l0.26,-0.49l-0.28,-0.96l0.3,-0.28l0.66,1.31l1.96,0.26l1.4,1.22l0.08,0.68l0.39,0.35l4.81,-0.22l1.49,1.11l1.92,0.31l1.67,-0.84l0.22,-0.6l3.44,-0.14l-0.17,0.55l0.86,1.19l2.19,0.35l1.67,1.1l0.37,1.86l0.41,0.32l1.55,0.17l-1.66,1.35l-0.22,0.92l0.65,0.97l-1.67,0.54l-0.3,0.4l0.04,0.99l-0.56,0.57l-0.01,0.55l1.85,2.27l-0.66,0.69l-4.47,1.29l-0.72,0.54l-3.69,-0.9l-0.71,0.27l-0.02,0.7l0.91,0.53l-0.08,1.54l0.35,1.58l0.35,0.31l1.66,0.17l-1.3,0.52l-0.48,1.13l-2.68,0.91l-0.6,0.77l-1.57,0.13l-1.17,-1.13l-0.8,-2.52l-1.25,-1.26l1.02,-1.23l-1.29,-2.95l0.18,-1.62l1.0,-2.21l-0.2,-0.49l-1.14,-0.46l-4.02,0.36l-1.82,-2.1l-1.57,-0.33l-2.99,0.22l-1.06,-0.97l0.25,-1.23l-0.2,-1.01l-0.59,-0.69l-0.29,-1.06l-1.08,-0.39l0.78,-2.79l1.9,-2.11Z",name:"Venezuela"},AF:{path:"M600.7,188.88l-1.57,1.3l-0.1,0.48l0.8,2.31l-1.09,1.04l-0.03,1.27l-0.48,0.71l-2.16,-0.08l-0.37,0.59l0.78,1.48l-1.38,0.69l-1.06,1.69l0.06,1.7l-0.65,0.52l-0.91,-0.21l-1.91,0.36l-0.48,0.77l-1.88,0.13l-1.4,1.56l-0.18,2.32l-2.91,1.02l-1.65,-0.23l-0.71,0.55l-1.41,-0.3l-2.41,0.39l-3.52,-1.17l1.96,-2.35l-0.21,-1.78l-0.3,-0.34l-1.63,-0.4l-0.19,-1.58l-0.75,-2.03l0.95,-1.36l-0.19,-0.6l-0.73,-0.28l1.47,-4.8l2.14,0.9l2.12,-0.36l0.74,-1.34l1.77,-0.39l1.54,-0.92l0.63,-2.31l1.87,-0.5l0.49,-0.81l0.94,0.56l2.13,0.11l2.55,0.92l1.95,-0.83l0.65,0.43l0.56,-0.13l0.69,-1.12l1.57,-0.08l0.72,-1.66l0.79,-0.74l0.8,0.39l-0.17,0.56l0.71,0.58l-0.08,2.39l1.11,0.95ZM601.37,188.71l1.73,-0.71l1.43,-1.18l4.03,0.35l-2.23,0.74l-4.95,0.8Z",name:"Afghanistan"},IQ:{path:"M530.82,187.47l0.79,0.66l1.26,-0.28l1.46,3.08l1.63,0.94l0.14,1.23l-1.22,1.05l-0.53,2.52l1.73,2.67l3.12,1.62l1.15,1.88l-0.38,1.85l0.39,0.48l0.41,-0.0l0.02,1.07l0.76,0.94l-2.47,-0.1l-1.71,2.44l-4.31,-0.2l-7.02,-5.48l-3.73,-1.94l-2.88,-0.73l-0.85,-2.87l5.45,-3.02l0.95,-3.43l-0.19,-1.96l1.27,-0.7l1.22,-1.7l0.87,-0.36l2.69,0.34Z",name:"Iraq"},IS:{path:"M384.14,88.06l-0.37,2.61l2.54,2.51l-2.9,2.75l-9.19,3.4l-9.25,-1.66l1.7,-1.22l-0.1,-0.7l-4.05,-1.47l2.96,-0.53l0.33,-0.43l-0.11,-1.2l-0.33,-0.36l-4.67,-0.85l1.28,-2.04l3.45,-0.56l3.77,2.72l0.44,0.02l3.64,-2.16l3.3,1.08l3.98,-2.16l3.58,0.26Z",name:"Iceland"},IR:{path:"M533.43,187.16l-1.27,-2.15l0.42,-0.98l-0.71,-3.04l1.03,-0.5l0.33,0.83l1.26,1.35l2.05,0.51l1.11,-0.16l2.89,-2.11l0.62,-0.14l0.39,0.46l-0.72,1.2l0.06,0.49l1.56,1.53l0.65,0.04l0.67,1.81l2.56,0.83l1.87,1.48l3.69,0.49l3.91,-0.76l0.47,-0.73l2.17,-0.6l1.66,-1.54l1.51,0.08l1.18,-0.53l1.59,0.24l2.83,1.48l1.88,0.3l2.77,2.47l1.77,0.18l0.18,1.99l-1.68,5.49l0.24,0.5l0.61,0.23l-0.82,1.48l0.8,2.18l0.19,1.71l0.3,0.34l1.63,0.4l0.15,1.32l-2.15,2.35l-0.01,0.53l2.21,3.03l2.34,1.24l0.06,2.14l1.24,0.72l0.11,0.69l-3.31,1.27l-1.08,3.03l-9.68,-1.68l-0.99,-3.05l-1.43,-0.73l-2.17,0.46l-2.47,1.26l-2.83,-0.82l-2.46,-2.02l-2.41,-0.8l-3.42,-6.06l-0.48,-0.2l-1.18,0.39l-1.44,-0.82l-0.5,0.08l-0.65,0.74l-0.97,-1.01l-0.02,-1.31l-0.71,-0.39l0.26,-1.81l-1.29,-2.11l-3.13,-1.63l-1.58,-2.43l0.5,-1.9l1.31,-1.26l-0.19,-1.66l-1.74,-1.1l-1.57,-3.3Z",name:"Iran"},AM:{path:"M536.99,182.33l-0.28,0.03l-1.23,-2.13l-0.93,0.01l-0.62,-0.66l-0.69,-0.07l-0.96,-0.81l-1.56,-0.62l0.19,-1.12l-0.26,-0.79l2.72,-0.36l1.09,1.01l-0.17,0.92l1.02,0.78l-0.47,0.62l0.08,0.56l2.04,1.23l0.04,1.4Z",name:"Armenia"},AL:{path:"M470.32,171.8l0.74,0.03l0.92,0.89l-0.17,1.95l0.36,1.28l1.01,0.82l-1.82,2.83l-0.19,-0.61l-1.25,-0.89l-0.18,-1.2l0.53,-2.82l-0.54,-1.47l0.6,-0.83Z",name:"Albania"},AO:{path:"M461.55,300.03l1.26,3.15l1.94,2.36l2.47,-0.53l1.25,0.32l0.44,-0.18l0.93,-1.92l1.31,-0.08l0.41,-0.44l0.47,-0.0l-0.1,0.41l0.39,0.49l2.65,-0.02l0.03,1.19l0.48,1.01l-0.34,1.52l0.18,1.55l0.83,1.04l-0.13,2.85l0.54,0.39l3.96,-0.41l-0.1,1.79l0.39,1.05l-0.24,1.43l-4.7,-0.03l-0.4,0.39l-0.12,8.13l2.92,3.49l-3.83,0.88l-5.89,-0.36l-1.88,-1.24l-10.47,0.22l-1.3,-1.01l-1.85,-0.16l-2.4,0.77l-0.15,-1.06l0.33,-2.16l1.0,-3.45l1.35,-3.2l2.24,-2.8l0.33,-2.06l-0.13,-1.53l-0.8,-1.08l-1.21,-2.87l0.87,-1.62l-1.27,-4.12l-1.17,-1.53l2.47,-0.63l7.03,0.03ZM451.71,298.87l-0.47,-1.25l1.25,-1.11l0.32,0.3l-0.99,1.03l-0.12,1.03Z",name:"Angola"},AR:{path:"M249.29,428.93l-2.33,-0.52l-5.83,-0.43l-0.89,-1.66l0.05,-2.37l-0.45,-0.4l-1.43,0.18l-0.67,-0.91l-0.2,-3.13l1.88,-1.47l0.79,-2.04l-0.25,-1.7l1.3,-2.68l0.91,-4.15l-0.22,-1.69l0.85,-0.45l0.2,-0.44l-0.27,-1.16l-0.98,-0.68l0.59,-0.92l-0.05,-0.5l-1.04,-1.07l-0.52,-3.1l0.97,-0.86l-0.42,-3.58l1.2,-5.43l1.38,-0.98l0.16,-0.43l-0.75,-2.79l-0.01,-2.43l1.78,-1.75l0.06,-2.57l1.43,-2.85l0.01,-2.58l-0.69,-0.74l-1.09,-4.52l1.47,-2.7l-0.18,-2.79l0.85,-2.35l1.59,-2.46l1.73,-1.64l0.05,-0.52l-0.6,-0.84l0.44,-0.85l-0.07,-4.19l2.7,-1.44l0.86,-2.75l-0.21,-0.71l1.76,-2.01l2.9,0.57l1.38,1.78l0.68,-0.08l0.87,-1.87l2.39,0.09l4.95,4.77l2.17,0.49l3.0,1.92l2.47,1.0l0.25,0.82l-2.37,3.93l0.23,0.59l5.39,1.16l2.12,-0.44l2.45,-2.16l0.5,-2.38l0.76,-0.31l0.98,1.2l-0.04,1.8l-3.67,2.51l-2.85,2.66l-3.43,3.88l-1.3,5.07l0.01,2.72l-0.54,0.73l-0.36,3.28l3.14,2.64l-0.16,2.11l1.4,1.11l-0.1,1.09l-2.29,3.52l-3.55,1.49l-4.92,0.6l-2.71,-0.29l-0.43,0.51l0.5,1.65l-0.49,2.1l0.38,1.42l-1.19,0.83l-2.36,0.38l-2.3,-1.04l-1.38,0.83l0.41,3.64l1.69,0.91l1.4,-0.71l0.36,0.76l-2.04,0.86l-2.01,1.89l-0.97,4.63l-2.34,0.1l-2.09,1.78l-0.61,2.75l2.46,2.31l2.17,0.63l-0.7,2.32l-2.83,1.73l-1.73,3.86l-2.17,1.22l-1.16,1.67l0.75,3.76l1.04,1.28ZM256.71,438.88l-2.0,0.15l-1.4,-1.22l-3.82,-0.1l-0.0,-5.83l1.6,3.05l3.26,2.07l3.08,0.78l-0.71,1.1Z",name:"Argentina"},AU:{path:"M705.8,353.26l0.26,0.04l0.17,-0.47l-0.48,-1.42l0.92,1.11l0.45,0.15l0.27,-0.39l-0.1,-1.56l-1.98,-3.63l1.09,-3.31l-0.24,-1.57l0.34,-0.62l0.38,1.06l0.43,-0.19l0.99,-1.7l1.91,-0.83l1.29,-1.15l1.81,-0.91l0.96,-0.17l0.92,0.26l1.92,-0.95l1.47,-0.28l1.03,-0.8l1.43,0.04l2.78,-0.84l1.36,-1.15l0.71,-1.45l1.41,-1.26l0.3,-2.58l1.27,-1.59l0.78,1.65l0.54,0.19l1.07,-0.51l0.15,-0.6l-0.73,-1.0l0.45,-0.71l0.78,0.39l0.58,-0.3l0.28,-1.82l1.87,-2.14l1.12,-0.39l0.28,-0.58l0.62,0.17l0.53,-0.73l1.87,-0.57l1.65,1.05l1.35,1.48l3.39,0.38l0.43,-0.54l-0.46,-1.23l1.05,-1.79l1.04,-0.61l0.14,-0.55l-0.25,-0.41l0.88,-1.17l1.31,-0.77l1.3,0.27l2.1,-0.48l0.31,-0.4l-0.05,-1.3l-0.92,-0.77l1.48,0.56l1.41,1.07l2.11,0.65l0.81,-0.2l1.4,0.7l1.69,-0.66l0.8,0.19l0.64,-0.33l0.71,0.77l-1.33,1.94l-0.71,0.07l-0.35,0.51l0.24,0.86l-1.52,2.35l0.12,1.05l2.15,1.65l1.97,0.85l3.04,2.36l1.97,0.65l0.55,0.88l2.72,0.85l1.84,-1.1l2.07,-5.97l-0.42,-3.59l0.3,-1.73l0.47,-0.87l-0.31,-0.68l1.09,-3.28l0.46,-0.47l0.4,0.71l0.16,1.51l0.65,0.52l0.16,1.04l0.85,1.21l0.12,2.38l0.9,2.0l0.57,0.18l1.3,-0.78l1.69,1.7l-0.2,1.08l0.53,2.2l0.39,1.3l0.68,0.48l0.6,1.95l-0.19,1.48l0.81,1.76l6.01,3.69l-0.11,0.76l1.38,1.58l0.95,2.77l0.58,0.22l0.72,-0.41l0.8,0.9l0.61,0.01l0.46,2.41l4.81,4.71l0.66,2.02l-0.07,3.31l1.14,2.2l-0.13,2.24l-1.1,3.68l0.03,1.64l-0.47,1.89l-1.05,2.4l-1.9,1.47l-1.72,3.51l-2.38,6.09l-0.24,2.82l-1.14,0.8l-2.85,0.15l-2.31,1.19l-2.51,2.25l-3.09,-1.57l0.3,-1.15l-0.54,-0.47l-1.5,0.63l-2.01,1.94l-7.12,-2.18l-1.48,-1.63l-1.14,-3.74l-1.45,-1.26l-1.81,-0.26l0.56,-1.18l-0.61,-2.1l-0.72,-0.1l-1.14,1.82l-0.9,0.21l0.63,-0.82l0.36,-1.55l0.92,-1.31l-0.13,-2.34l-0.7,-0.22l-2.0,2.34l-1.51,0.93l-0.94,2.01l-1.35,-0.81l-0.02,-1.52l-1.57,-2.04l-1.09,-0.88l0.24,-0.33l-0.14,-0.59l-3.21,-1.69l-1.83,-0.12l-2.54,-1.35l-4.58,0.28l-6.02,1.9l-2.53,-0.13l-2.62,1.41l-2.13,0.63l-1.49,2.6l-3.49,0.31l-2.29,-0.5l-3.48,0.43l-1.6,1.47l-0.81,-0.04l-2.37,1.63l-3.26,-0.1l-3.72,-2.21l0.04,-1.05l1.19,-0.46l0.49,-0.89l0.21,-2.97l-0.28,-1.64l-1.34,-2.86l-0.38,-1.47l0.05,-1.72l-0.95,-1.7l-0.18,-0.97l-1.01,-0.99l-0.29,-1.98l-1.13,-1.75ZM784.92,393.44l2.65,1.02l3.23,-0.96l1.09,0.14l0.15,3.06l-0.85,1.13l-0.17,1.63l-0.87,-0.24l-1.57,1.91l-1.68,-0.18l-1.4,-2.36l-0.37,-2.04l-1.39,-2.51l0.04,-0.8l1.15,0.18Z",name:"Australia"},AT:{path:"M462.89,152.8l0.04,2.25l-1.07,0.0l-0.33,0.63l0.36,0.51l-1.04,2.13l-2.02,0.07l-1.33,0.7l-5.29,-0.99l-0.47,-0.93l-0.44,-0.21l-2.47,0.55l-0.42,0.51l-3.18,-0.81l0.43,-0.91l1.12,0.78l0.6,-0.17l0.25,-0.58l1.93,0.12l1.86,-0.56l1.0,0.08l0.68,0.57l0.62,-0.15l0.26,-0.77l-0.3,-1.78l0.8,-0.44l0.68,-1.15l1.52,0.85l0.47,-0.06l1.34,-1.25l0.64,-0.17l1.81,0.92l1.28,-0.11l0.7,0.37Z",name:"Austria"},IN:{path:"M623.34,207.03l-1.24,1.04l-0.97,2.55l0.22,0.51l8.04,3.87l3.42,0.37l1.57,1.38l4.92,0.88l2.18,-0.04l0.38,-0.3l0.29,-1.24l-0.32,-1.64l0.14,-0.87l0.82,-0.31l0.45,2.48l2.28,1.02l1.77,-0.38l4.14,0.1l0.38,-0.36l0.18,-1.66l-0.5,-0.65l1.37,-0.29l2.25,-1.99l2.7,-1.62l1.93,0.62l1.8,-0.98l0.79,1.14l-0.68,0.91l0.26,0.63l2.42,0.36l0.09,0.47l-0.83,0.75l0.13,1.07l-1.52,-0.29l-3.24,1.86l-0.13,1.78l-1.32,2.14l-0.18,1.39l-0.93,1.82l-1.64,-0.5l-0.52,0.37l-0.09,2.63l-0.56,1.11l0.19,0.81l-0.53,0.27l-1.18,-3.73l-1.08,-0.27l-0.38,0.31l-0.24,1.0l-0.66,-0.66l0.54,-1.06l1.22,-0.34l1.15,-2.25l-0.24,-0.56l-1.57,-0.47l-4.34,-0.28l-0.18,-1.56l-0.35,-0.35l-1.11,-0.12l-1.91,-1.12l-0.56,0.17l-0.88,1.82l0.11,0.49l1.36,1.07l-1.09,0.69l-0.69,1.11l0.18,0.56l1.24,0.57l-0.32,1.54l0.85,1.94l0.36,2.01l-0.22,0.59l-4.58,0.52l-0.33,0.42l0.13,1.8l-1.17,1.36l-3.65,1.81l-2.79,3.03l-4.32,3.28l-0.18,1.27l-4.65,1.79l-0.77,2.16l0.64,5.3l-1.06,2.49l-0.01,3.94l-1.24,0.28l-1.14,1.93l0.39,0.84l-1.68,0.53l-1.04,1.83l-0.65,0.47l-2.06,-2.05l-2.1,-6.02l-2.2,-3.64l-1.05,-4.75l-2.29,-3.57l-1.76,-8.2l0.01,-3.11l-0.49,-2.53l-0.55,-0.29l-3.53,1.52l-1.53,-0.27l-2.86,-2.77l0.85,-0.67l0.08,-0.55l-0.74,-1.03l-2.67,-2.06l1.24,-1.32l5.34,0.01l0.39,-0.49l-0.5,-2.29l-1.42,-1.46l-0.27,-1.93l-1.43,-1.2l2.31,-2.37l3.05,0.06l2.62,-2.85l1.6,-2.81l2.4,-2.73l0.07,-2.04l1.97,-1.48l-0.02,-0.65l-1.93,-1.31l-0.82,-1.78l-0.8,-2.21l0.9,-0.89l3.59,0.65l2.92,-0.42l2.33,-2.19l2.31,2.85l-0.24,2.13l0.99,1.59l-0.05,0.82l-1.34,-0.28l-0.47,0.48l0.7,3.06l2.62,1.99l2.99,1.65Z",name:"India"},TZ:{path:"M495.56,296.42l2.8,-3.12l-0.02,-0.81l-0.64,-1.3l0.68,-0.52l0.14,-1.47l-0.76,-1.25l0.31,-0.11l2.26,0.03l-0.51,2.76l0.76,1.3l0.5,0.12l1.05,-0.53l1.19,-0.12l0.61,0.24l1.43,-0.62l0.1,-0.67l-0.71,-0.62l1.57,-1.7l8.65,4.86l0.32,1.53l3.34,2.33l-1.05,2.8l0.13,1.61l1.63,1.12l-0.6,1.76l-0.01,2.33l1.89,4.03l0.57,0.43l-1.46,1.08l-2.61,0.94l-1.43,-0.04l-1.06,0.77l-2.29,0.36l-2.87,-0.68l-0.83,0.07l-0.63,-0.75l-0.31,-2.78l-1.32,-1.35l-3.25,-0.77l-3.96,-1.58l-1.18,-2.41l-0.32,-1.75l-1.76,-1.49l0.42,-1.05l-0.44,-0.89l0.08,-0.96l-0.46,-0.58l0.06,-0.56Z",name:"Tanzania"},AZ:{path:"M539.29,175.73l1.33,0.32l1.94,-1.8l2.3,3.34l1.43,0.43l-1.26,0.15l-0.35,0.32l-0.8,3.14l-0.99,0.96l0.05,1.11l-1.26,-1.13l0.7,-1.18l-0.04,-0.47l-0.74,-0.86l-1.48,0.15l-2.34,1.71l-0.03,-1.27l-2.03,-1.35l0.47,-0.62l-0.08,-0.56l-1.03,-0.79l0.29,-0.43l-0.14,-0.58l-1.13,-0.86l1.89,0.68l1.69,0.06l0.37,-0.87l-0.81,-1.37l0.42,0.06l1.63,1.72ZM533.78,180.57l0.61,0.46l0.69,-0.0l0.59,1.15l-0.68,-0.15l-1.21,-1.45Z",name:"Azerbaijan"},IE:{path:"M405.08,135.42l0.35,2.06l-1.75,2.78l-4.22,1.88l-2.84,-0.4l1.73,-3.0l-1.18,-3.53l4.6,-3.74l0.32,1.15l-0.49,1.74l0.4,0.51l1.47,-0.04l1.6,0.6Z",name:"Ireland"},ID:{path:"M756.47,287.89l0.69,4.01l2.79,1.78l0.51,-0.1l2.04,-2.59l2.71,-1.43l2.05,-0.0l3.9,1.73l2.46,0.45l0.08,15.12l-1.75,-1.54l-2.54,-0.51l-0.88,0.71l-2.32,0.06l0.69,-1.33l1.45,-0.64l0.23,-0.46l-0.65,-2.74l-1.24,-2.21l-5.04,-2.29l-2.09,-0.23l-3.68,-2.27l-0.55,0.13l-0.65,1.07l-0.52,0.12l-0.55,-1.89l-1.21,-0.78l1.84,-0.62l1.72,0.05l0.39,-0.52l-0.21,-0.66l-0.38,-0.28l-3.45,-0.0l-1.13,-1.48l-2.1,-0.43l-0.52,-0.6l2.69,-0.48l1.28,-0.78l3.66,0.94l0.3,0.71ZM757.91,300.34l-0.62,0.82l-0.1,-0.8l0.59,-1.12l0.13,1.1ZM747.38,292.98l0.34,0.72l-1.22,-0.57l-4.68,-0.1l0.27,-0.62l2.78,-0.09l2.52,0.67ZM741.05,285.25l-0.67,-2.88l0.64,-2.01l0.41,0.86l1.21,0.18l0.16,0.7l-0.1,1.68l-0.84,-0.16l-0.46,0.3l-0.34,1.34ZM739.05,293.5l-0.5,0.44l-1.34,-0.36l-0.17,-0.37l1.73,-0.08l0.27,0.36ZM721.45,284.51l-0.19,1.97l2.24,2.23l0.54,0.02l1.27,-1.07l2.75,-0.5l-0.9,1.21l-2.11,0.93l-0.16,0.6l2.22,3.01l-0.3,1.07l1.36,1.74l-2.26,0.85l-0.28,-0.31l0.12,-1.19l-1.64,-1.34l0.17,-2.23l-0.56,-0.39l-1.67,0.76l-0.23,0.39l0.3,6.17l-1.1,0.25l-0.69,-0.47l0.64,-2.21l-0.39,-2.42l-0.39,-0.34l-0.8,-0.01l-0.58,-1.29l0.98,-1.6l0.35,-1.96l1.32,-3.87ZM728.59,296.27l0.38,0.49l-0.02,1.28l-0.88,0.49l-0.53,-0.47l1.04,-1.79ZM729.04,286.98l0.27,-0.05l-0.02,0.13l-0.24,-0.08ZM721.68,284.05l0.16,-0.32l1.89,-1.65l1.83,0.68l3.16,0.35l2.94,-0.1l2.39,-1.66l-1.73,2.13l-1.66,0.43l-2.41,-0.48l-4.17,0.13l-2.39,0.51ZM730.55,310.47l1.11,-1.93l2.03,-0.82l0.08,0.62l-1.45,1.67l-1.77,0.46ZM728.12,305.88l-0.1,0.38l-3.46,0.66l-2.91,-0.27l-0.0,-0.25l1.54,-0.41l1.66,0.73l1.67,-0.19l1.61,-0.65ZM722.9,310.24l-0.64,0.03l-2.26,-1.2l1.11,-0.24l1.78,1.41ZM716.26,305.77l0.88,0.51l1.28,-0.17l0.2,0.35l-4.65,0.73l0.39,-0.67l1.15,-0.02l0.75,-0.73ZM711.66,293.84l-0.38,-0.16l-2.54,1.01l-1.12,-1.44l-1.69,-0.13l-1.16,-0.75l-3.04,0.77l-1.1,-1.15l-3.31,-0.11l-0.35,-3.05l-1.35,-0.95l-1.11,-1.98l-0.33,-2.06l0.27,-2.14l0.9,-1.01l0.37,1.15l2.09,1.49l1.53,-0.48l1.82,0.08l1.38,-1.19l1.0,-0.18l2.28,0.67l2.26,-0.53l1.52,-3.64l1.01,-0.99l0.78,-2.57l4.1,0.3l-1.11,1.77l0.02,0.46l1.7,2.2l-0.23,1.39l2.07,1.71l-2.33,0.42l-0.88,1.9l0.1,2.05l-2.4,1.9l-0.06,2.45l-0.7,2.79ZM692.58,302.03l0.35,0.26l4.8,0.25l0.78,-0.97l4.17,1.09l1.13,1.68l3.69,0.45l2.13,1.04l-1.8,0.6l-2.77,-0.99l-4.8,-0.12l-5.24,-1.41l-1.84,-0.25l-1.11,0.3l-4.26,-0.97l-0.7,-1.14l-1.59,-0.13l1.18,-1.65l2.74,0.13l2.87,1.13l0.26,0.68ZM685.53,299.17l-2.22,0.04l-2.06,-2.03l-3.15,-2.01l-2.93,-3.51l-3.11,-5.33l-2.2,-2.12l-1.64,-4.06l-2.32,-1.69l-1.27,-2.07l-1.96,-1.5l-2.51,-2.65l-0.11,-0.66l4.81,0.53l2.15,2.38l3.31,2.74l2.35,2.66l2.7,0.17l1.95,1.59l1.54,2.17l1.59,0.95l-0.84,1.71l0.15,0.52l1.44,0.87l0.79,0.1l0.4,1.58l0.87,1.4l1.96,0.39l1.0,1.31l-0.6,3.01l-0.09,3.5Z",name:"Indonesia"},UA:{path:"M492.5,162.44l1.28,-2.49l1.82,0.19l0.66,-0.23l0.09,-0.71l-0.25,-0.75l-0.79,-0.72l-0.33,-1.21l-0.86,-0.62l-0.02,-1.19l-1.13,-0.86l-1.15,-0.19l-2.04,-1.0l-1.66,0.32l-0.66,0.47l-0.92,-0.0l-0.84,0.78l-2.48,0.7l-1.18,-0.71l-3.07,-0.36l-0.89,0.43l-0.24,-0.55l-1.11,-0.7l0.35,-0.93l1.26,-1.02l-0.54,-1.23l2.04,-2.43l1.4,-0.62l0.25,-1.19l-1.04,-2.39l0.83,-0.13l1.28,-0.84l1.8,-0.07l2.47,0.26l2.86,0.81l1.88,0.06l0.86,0.44l1.04,-0.41l0.77,0.66l2.18,-0.15l0.92,0.3l0.52,-0.34l0.15,-1.53l0.56,-0.54l2.85,-0.05l0.84,-0.72l3.04,-0.18l1.23,1.46l-0.48,0.77l0.21,1.03l0.36,0.32l1.8,0.14l0.93,2.08l3.18,1.15l1.94,-0.45l1.67,1.49l1.4,-0.03l3.35,0.96l0.02,0.54l-0.96,1.59l0.47,1.97l-0.26,0.7l-2.36,0.28l-1.29,0.89l-0.23,1.38l-1.83,0.27l-1.58,0.97l-2.41,0.21l-2.16,1.17l-0.21,0.38l0.34,2.26l1.23,0.75l2.13,-0.08l-0.14,0.31l-2.65,0.53l-3.23,1.69l-0.87,-0.39l0.42,-1.1l-0.25,-0.52l-2.21,-0.73l2.35,-1.06l0.12,-0.65l-0.93,-0.82l-3.62,-0.74l-0.13,-0.89l-0.46,-0.34l-2.61,0.59l-0.91,1.69l-1.71,2.04l-0.86,-0.4l-1.62,0.27Z",name:"Ukraine"},QA:{path:"M549.33,221.64l-0.76,-0.23l-0.14,-1.64l0.84,-1.29l0.47,0.52l0.04,1.34l-0.45,1.3Z",name:"Qatar"},MZ:{path:"M508.58,318.75l-0.34,-2.57l0.51,-2.05l3.55,0.63l2.5,-0.38l1.02,-0.76l1.49,0.01l2.74,-0.98l1.66,-1.2l0.5,9.24l0.41,1.23l-0.68,1.67l-0.93,1.71l-1.5,1.5l-5.16,2.28l-2.78,2.73l-1.02,0.53l-1.71,1.8l-0.98,0.57l-0.35,2.41l1.16,1.94l0.49,2.17l0.43,0.31l-0.06,2.06l-0.39,1.17l0.5,0.72l-0.25,0.73l-0.92,0.83l-5.12,2.39l-1.22,1.36l0.21,1.13l0.58,0.39l-0.11,0.72l-1.22,-0.01l-0.73,-2.97l0.42,-3.09l-1.78,-5.37l2.49,-2.81l0.69,-1.89l0.44,-0.43l0.28,-1.53l-0.39,-0.93l0.59,-3.65l-0.01,-3.26l-1.49,-1.16l-1.2,-0.22l-1.74,-1.17l-1.92,0.01l-0.29,-2.08l7.06,-1.96l1.28,1.09l0.89,-0.1l0.67,0.44l0.1,0.73l-0.51,1.29l0.19,1.81l1.75,1.83l0.65,-0.13l0.71,-1.65l1.17,-0.86l-0.26,-3.47l-1.05,-1.85l-1.04,-0.94Z",name:"Mozambique"}},height:440.7063107441331,projection:{type:"mill",centralMeridian:11.5},width:900})},{}]},{},[44]);