diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile new file mode 100644 index 00000000..e2da2147 --- /dev/null +++ b/.devcontainer/Dockerfile @@ -0,0 +1,15 @@ +FROM node:latest + +RUN apt update + +RUN apt upgrade -y + +RUN apt install zsh -y + +RUN wget https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh -O - | zsh || true + +COPY package*.json ./ + +RUN npm install + +CMD ["zsh"] diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 00000000..f53447b9 --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,21 @@ +{ + "name": "Atomic Calendar Revive", + "dockerFile": "Dockerfile", + "context": "..", + "workspaceFolder": "/workspace", + "workspaceMount": "type=bind,source=/home/${env:USERNAME}/repos/atomic-calendar-revive,target=/workspace", + "extensions": [ + "github.vscode-pull-request-github", + "esbenp.prettier-vscode", + "yzhang.markdown-all-in-one" + ], + "settings": { + "files.eol": "\n", + "editor.tabSize": 2, + "terminal.integrated.shell.linux": "/bin/zsh", + "editor.formatOnPaste": false, + "editor.formatOnSave": true, + "editor.formatOnType": true, + "files.trimTrailingWhitespace": true + } +} diff --git a/README.md b/README.md index 2b1dfe4d..ba379d4f 100755 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Atomic Calendar Revive v1.2.0 +# Atomic Calendar Revive v1.3.0 An advanced calendar card for Home Assistant with Lovelace. (fixed to work with HA v106+) **If you already have Atomic Calendar Revive installed, please check the Releases Change Log before upgrading, there have been some breaking changes since I took on this development.** @@ -14,37 +14,50 @@ An advanced calendar card for Home Assistant with Lovelace. (fixed to work with [![Discord][discord-shield]][discord] -## Support +## Documentation -Hey dude! Help me out for a couple of :beers: or a :coffee:! +All documentation is now maintained [here](https://marksie1988.github.io/atomic-calendar-revive) + +## Contributions & Support + +Contributions & Support is welcomed. [![coffee](https://www.buymeacoffee.com/assets/img/custom_images/black_img.png)](https://www.buymeacoffee.com/marksie1988) ## About -Atomic Calendar Revive is an updated version of the card originally created by atomic7777. +Atomic Calendar Revive is an updated version of the card originally created by atomic7777. -This calendar card includes advanced settings that allow much more flexibility than other cards. +This calendar card includes advanced settings that allow much more flexibility than other cards. It loads calendar events from Home Assistant - Google calendar component. It contains two types of views: `Events mode` and `Calendar mode`. You can switch or select the default one. +New features that are only in Revive: +- Added more appealing UI Look +- Added the ability to display calendar names +- Added keyword whitelists +- Added linkTarget option to allow selecting specific action when clicking link +- Added ability to disable Event and Location Links +- Added first version of Lovelace UI Editor (not all options are in yet) +- Merged PR that: Hides finished events, sorts events by start time, shows currently running events. allows limiting total number of events +- Resolved issue with 106 showing error: `Cannot assign to read only property '0' of object '[object Array]'` +- Multiple Bug Fixes The most important features: -- NEW - Added first version of Lovelace UI Editor (not all options are in yet) - No need to load external libraries (everything is included) - Custom colors and settings for different calendars, custom font sizes, colors of every text and line -- All translations included, few of the words can be configured in settings +- All translations included, few of the words can be configured in settings - Compatible with all day and multiple day events - Fast switch between both modes, or make one of them default * Event mode: - Shows nearest events, one by one, day by day, time of events in a different way (dates, hours) - Moves today's completed events up and dim them -- Highlights the next event, or show a progress bar -- Shows event location link +- Highlights the next event, or show a progress bar +- Shows event location link - Clicking on the event title will open a new window with Google Calendar (can be disabled) - Clicking on Location will open a window with this location on Google Maps (can be disabled) @@ -55,272 +68,13 @@ The most important features: If you have any suggestions about design or functionality, please let me know by opening an issue -![Preview](https://user-images.githubusercontent.com/11677097/52933554-08d5a780-3354-11e9-87d8-d5d15c4a7c7a.png) -![Preview](https://user-images.githubusercontent.com/11677097/52933319-3ff78900-3353-11e9-8c9b-09a315b840a0.png) -![Preview](https://user-images.githubusercontent.com/11677097/53302875-b6205200-3863-11e9-8ab2-5ec95b0799d0.png) - -## Options - -### Main Options - -| Name | Type | Default | Since | Description | -|------|:----:|:-------:|:-----:|-------------| -| type | string | **required** | v0.3.0 | `custom:atomic-calendar` -| entities | list | **required** | v0.3.0 | One or more calendars, configured in HA [Google Calendar component](https://www.home-assistant.io/components/calendar.google/) -| name | string | optional | v0.12.0 | Card name. -| showColors | boolean | optional | v0.3.0 | `true` Show colors in events, configured in entities list -| maxDaysToShow | integer | optional | v0.3.0 | `7` Maximum number of days to show; if set to zero will only display currently running events -| maxEventCount | integer | optional | v0.9.0 | `0` Maximum number of events to show; zero removes any limitation -| showLocation | boolean | optional | v0.3.0 | `true` Show location link (right side) -| showMonth | boolean | optional | v0.3.0 | `false` Show month under day (left side) -| showLoader | boolean | optional | v0.7.0 | `true` Show animation, when events are being loaded from Google Calendar. -| showDate | boolean | optional | v0.7.2 | `false` Show the date on the right side of the card name -| startDaysAhead | integer | optional | v0.7.3 | `0` If you set more than 0, events will be loaded starting `x` days from today. For example `1` - the component will show events starting from tomorrow. -| showDescription | boolean | optional | v0.8.4 | `false` Shows long description of event from Google Calendar. -| showNoEventsForToday | boolean | optional | v0.8.6 | `false` Shows `No events for today` if no events, instead of omit the entry. -| sortByStartTime | boolean | optional | v0.9.0 | `false` Sort events by start time first instead of grouping them by calendar. -| disableEventLink | boolean | optional | v0.10.0 | `false` disables links in event title. -| disableLocationLink | boolean | optional | v0.10.0 | `false` disables links in event location. -| linkTarget | string | optional | v0.11.0 | `_blank` Allows custom target for links, default will open new tab. - -### Event Options - -| Name | Type | Since | Description | -|------|:----:|:-----:|-------------| -| showCurrentEventLine | boolean | v0.3.0 | `false` Show line before next event. Don't enable when showProgressBar is true - will look bad -| eventBarColor | string | v0.3.0 | `default color` Color of line showing next event -| showProgressBar | boolean | optional | v0.5.5 | `true` Show event progress with moving icon. Don't enable when showCurrentEventLine - will look bad -| progressBarColor | string | v0.5.5 | `default color` Color of progress bar - -### Entity options (configurations for each calendar) - -| Name | Type | Since | Description | -|------|:----:|:-----:|-------------| -| type | string | optional | v0.5.5 | `null` Type of calendar (in calendar mode) Icon1, Icon2, Icon3, Birthday. Explained below. -| blacklist | string | v0.7.9 | `null` List of comma separated blacklisted keywords. Events containing any of them will not be shown. -| whitelist | string | v1.1.0 | `null` List of comma separated whitelisted keywords. Only events containing any of them will be shown. -| eventCalName | string | v1.2.0 | `null` Add a calendar name to be shown with event. - -### Calendar Mode settings -| Name | Type | Since | Description | -|------|:----:|:-----:|-------------| -| enableModeChange | boolean | v0.7.0 | `false` Set true to enable mode change (Calendar/Events) must have "name" set to toggle -| defaultMode | integer | v0.7.0 | `1` Set `1` to make Events default mode, set `2` to make Calendar mode default -| firstDayOfWeek | integer | v0.7.0 | `1` First day of week, default 1 for Monday -| CalEventHolidayColor | string | v0.7.0 | `red` Color of day for `type: holiday` calendar -| CalEventIcon1 | string | v0.7.0 | `mdi:gift` Icon for `type: icon1` calendar -| CalEventIcon1Color | string | v0.7.0 | `default` Color of icon for `type: icon1` calendar -| CalEventIcon1Filter | string | v0.7.0 | `null` List of comma separated keywords -| CalEventIcon2 | string | v0.7.0 | `mdi:home` Icon for `type: icon2` calendar -| CalEventIcon2Color | string | v0.7.0 | `default` Color of icon for `type: icon2` calendar -| CalEventIcon2Filter | string | v0.7.0 | `null` List of comma separated keywords -| CalEventIcon3 | string | v0.7.0 | `mdi:star` Icon for `type: icon3` calendar -| CalEventIcon3Color | string | v0.7.0 | `default` Color of icon for `type: icon3` calendar -| CalEventIcon3Filter | string | v0.7.0 | `null` List of comma separated keywords -| showLastCalendarWeek | boolean | v0.7.5 | `true` If true (default) it will always show 6 lines. If false, the 6th line won't be displayed if not needed. - -### Text colors and fonts - -If you don't set colors, default theme colors will be used. If you use automatic night/day modes, don't use manual color settings. - -| Name | Type | Since | Description | -|------|:----:|:-----:|-------------| -| dateColor | string | v0.3.0 | `default text color` Color of date (left side) -| dateSize | integer | v0.3.0 | `90` Date text size (percent of default font) -| timeColor | string | v0.3.0 | `default color` Color of time (under the event title) -| timeSize | integer | v0.3.0 | `90` Time text size (percent of default font) -| titleColor | string | v0.3.0 | `default text color` Color of event title -| titleSize | integer | v0.3.0 | `100` Event title text size (percent of default font) -| locationLinkColor | string | v0.3.0 | `default text color` Color of location link (right side) -| locationTextSize | integer | v0.3.0 | `90` Location text size (percent of default font) -| locationIconColor | string | v0.3.0 | `rgb(230, 124, 115)` Color of location icon -| hideFinishedEvents | boolean | v0.9.0 | `false` Don't display finished events -| dimFinishedEvents | boolean | v0.3.0 | `true` Apply filters to finished events (configured below) -| finishedEventOpacity | float | v0.3.0 | `0.6` Opacity level of finished events -| finishedEventOpacity | string | v0.3.0 | `grayscale(100%)` additional css filter to of finished events (default - greyscale) -| dayWrapperLineColor | string | v0.3.0 | `default text color` Color of line - days separate -| descColor | string | v0.8.4 | `default text color` Description of date (left side) -| descSize | integer | v0.8.4 | `80` Description text size (percent of default font) -| eventCalNameColor | string | v1.2.0 | `default text color` color of `eventCalName` if set -| eventCalNameSize | integer | v1.2.0 | `90` text size of `eventCalName` if set (percent of default font) - -### Language Options - -Week / month names are translated automatically - -| Name | Type | Default | Since | Description | -|------|:----:|:-------:|:-----:|-------------| -| language | string | optional | v0.8.4 | `default` Force language change. For example `pt-br`. If not set, default HA language is used. -| untilText | string | optional | v0.3.0 | `Until` Custom translation of `Until` text -| fullDayEventText | string | optional | v0.3.0 | `All day` Custom translation of `All day` text -| noEventsForNextDaysText | string | optional | v0.8.6 | `No events in the next days` Custom translation of `No events in the next days` text -| noEventsForTodayText | string | optional | v0.8.6 | `No events for today` Custom translation of `No events for today` text, only if `showNoEventsForToday` is true -| dateFormat | string | optional | v0.7.2 | `LL` Custom date format - see https://devhints.io/moment for examples -| hoursFormat | string | optional | v0.7.3 | `default` Custom hours format - you can set `12h` or `24h` or `default` (default for local HA language settings) or even provide your custom, like `HH:mm` or `h:mm A` - see https://devhints.io/moment for examples - -## Installation - -### Manual -1. You need to have the [Google calendar](https://www.home-assistant.io/components/calendar.google/) component configured in Home Assistant. -2. Download `atomic-calendar-revive.js` file from the `dist` directory to `/www/community/atomic_calendar_revive/atomic-calendar-revive.js` directory in your Home Assistant - [latest release](https://github.com/marksie1988/atomic_calendar_revive/releases/latest) -3. Add this reference to your `ui-lovelace.yaml` file: - ```yaml - resources: - - url: /community_plugin/atomic_calendar_revive/atomic-calendar-revive.js - type: module - ``` -4. If you use Lovelace and want to use the editor, download the atomic-calendar-revive-editor.js to /www/community/atomic_calendar/. (or the folder you used above) -5. Add the card to the UI using the GUI editor or to `ui-lovelace.yaml` with options, examples below -6. If you are upgrading, try to reload your browser cache by pressing ctrl-shift-r or shift-F5. -7. If you want to use `Calendar mode` follow the guide [here](#more-than-5), because by default HA only gets the 5 nearest events from Google Calendar. - - -### HACS (recommended) -Install using `HACS` component: -1. You need HACS installed and configured -2. Go to Community tab, Settings -3. Paste this line into `Add custom repository` field: -``` -marksie1988/atomic_calendar -``` -4. Choose type: Plugin -5. The atomic calendar revive component will be available to install under the Plugins tab. -6. Add the below to the raw configuration editor or to the `ui-lovelace.yaml` file : -```yaml -resources: - - url: /community_plugin/atomic_calendar_revive/atomic-calendar-revive.js - type: module -``` - -## How to show more than 5 events {: #more-than-5 } -In order to increase the amount of events that are shown you have to add `max_results` setting to `google_calendars.yaml` file - -For calendar mode we recommend that this is set to at least 30 -```yaml -- cal_id: xxxxxxxxxxxxxxxxxxxx@group.calendar.google.com - entities: - - device_id: calendar_id - name: Calendar_name - max_results: 30 -``` - -## Configuration - -### Simple configuration: -```yaml -- type: "custom:atomic-calendar-revive" - entities: - - entity: calendar.YOUR_CALENDAR_HERE - titleColor: red - whitelist: 'word1,word2' - - entity: calendar.YOUR_CALENDAR1_HERE - blacklist: 'word1, word2' -``` - -### Advanced config with all options, colors changed and progress bar enabled: -```yaml -- type: "custom:atomic-calendar-revive" - name: "Calendar" - entities: - - entity: calendar.YOUR_CALENDARS_HERE - fullDayEventText: 'All day' - untilText: 'Until' - showColors: true - maxDaysToShow: 7 - showLocation: true - showMonth: false - showCurrentEventLine: false - dateColor: black - dateSize: 90 - timeColor: blue - timeSize: 90 - titleColor: black - titleSize: 100 - locationIconColor: 'rgb(230, 124, 115)' - locationLinkColor: black - locationTextSize: 90 - dimFinishedEvents: true - finishedEventOpacity: 0.6 - finishedEventFilter: 'grayscale(100%)' - dayWrapperLineColor: black - eventBarColor: blue - showProgressBar: true - progressBarColor: blue -``` - -### Simple configuration, both Events mode and Calendar mode, calendar is default: -```yaml -- type: "custom:atomic-calendar-revive" - name: "Calendar" - enableModeChange: true - defaultMode: 2 - CalEventIcon1Filter: birthday - CalEventIcon2Filter: waste,bills - entities: - - entity: calendar.YOUR_CALENDAR_HERE - type: icon2 - - entity: calendar.YOUR_CALENDAR1_HERE - type: icon1,icon2 - - entity: calendar.YOUR_CALENDAR2_HERE - type: holiday - -``` - -### Calendar Mode -The second mode of view - calendar mode - is to show full month calendar with simple events icons or colors, for most important, infrequent events, like holiday or birthday. -You can change mode by clicking the card name, or even make it the default view. -To make it work correctly you need to get more events than default 5 - you need to follow instruction [here](#more-than-5) for this, and setup it for 20-30 events at least. - -There are four configurable possibilities for showing events occurring any day: -- day number color - for example "14" will be red for Valentine's Day -- Icon1 - will show any mdi icon under date, like birthday (default: gift icon) -- Icon2 - like above, just any other type of event (default: home icon) -- Icon3 - like above (default: star icon) - -If you want to use any calendar's events, you have to add one or more of types: - -```yaml -CalEventIcon1Filter: bills,waste # only events with those words will be shown -CalEventIcon2Filter: cleaning # only events with those words will be shown -entities: -- entity: calendar.YOUR_CALENDAR_HERE # no type, it won't be shown in calendar mode -- type: holiday # events from this calendar will be red - entity: calendar.YOUR_CALENDAR1_HERE -- type: icon1,icon2 # will show icon1 and icon2, but with filters configured above - entity: calendar.home_events -- type: icon3 # icon1 has no filters, show all events from this calendar - entity: calendar.birthday -``` -```yaml -entities: -- entity: calendar.YOUR_CALENDAR_HERE - type: holiday # events from this calendar will be red -- entity: calendar.YOUR_CALENDAR1_HERE - type: icon2,icon3 # will show icon2 and icon3, but with filters configured below -- entity: calendar.birthday - type: icon1 # Icon1 has no filters, show all events from this calendar -- entity: calendar.YOUR_CALENDAR2_HERE # no type, it won't be shown in calendar mode -CalEventIcon1Filter: bills,waste # only events with those words will be shown -CalEventIcon2Filter: cleaning # only events with those words will be shown -``` - -If you set filters (keywords) for any type, it will show an icon only when event summary contains one of keywords. If you don't set any filter, it will show icons for all days with any events. - -## Development - -I welcome anyone to improve on this module, any amendments should be made to the files inside the `src` directory and then rollup should be run. - -If you do not have rollup please note this in your pull request and I will happily do this prior to merging the request. - - - -[commits-shield]: https://img.shields.io/github/commit-activity/y/marksie1988/atomic_calendar_revive?color=32cd32&style=for-the-badge -[commits]: https://github.com/marksie1988/atomic_calendar_revive/commits/master +[commits-shield]: https://img.shields.io/github/commit-activity/y/marksie1988/atomic-calendar-revive?color=32cd32&style=for-the-badge +[commits]: https://github.com/marksie1988/atomic-calendar-revive/commits/master [discord]: https://discord.gg/8JYbyCQ [discord-shield]: https://img.shields.io/discord/250606775361994754?color=32cd32&style=for-the-badge -[license-shield]: https://img.shields.io/github/license/marksie1988/atomic_calendar_revive?color=32cd32&style=for-the-badge +[license-shield]: https://img.shields.io/github/license/marksie1988/atomic-calendar-revive?color=32cd32&style=for-the-badge [maintenance-shield]: https://img.shields.io/maintenance/yes/2020?color=32cd32&style=for-the-badge -[releases-shield]: https://img.shields.io/github/v/release/marksie1988/atomic_calendar_revive?color=32cd32&style=for-the-badge -[releases]: https://github.com/marksie1988/atomic_calendar_revive/releases -[issues-shield]: https://img.shields.io/github/issues/marksie1988/atomic_calendar_revive?color=32cd32&style=for-the-badge -[issues]: https://github.com/marksie1988/atomic_calendar_revive/issues +[releases-shield]: https://img.shields.io/github/v/release/marksie1988/atomic-calendar-revive?color=32cd32&style=for-the-badge +[releases]: https://github.com/marksie1988/atomic-calendar-revive/releases +[issues-shield]: https://img.shields.io/github/issues/marksie1988/atomic-calendar-revive?color=32cd32&style=for-the-badge +[issues]: https://github.com/marksie1988/atomic-calendar-revive/issues diff --git a/dist/atomic-calendar-revive.js b/dist/atomic-calendar-revive.js index cb093794..02009885 100644 --- a/dist/atomic-calendar-revive.js +++ b/dist/atomic-calendar-revive.js @@ -1,4 +1,4 @@ -function _templateObject39(){const data=_taggedTemplateLiteral(["\n\t\t\t
\n\t\t\t\t","\n\t\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t","\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t","\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t
\n\t\t\t
\n\t\t\t\t","\n\t\t\t
\n\t\t\t"]);return _templateObject39=function(){return data},data}function _templateObject38(){const data=_taggedTemplateLiteral(["\n\t\t\t",""]);return _templateObject38=function(){return data},data}function _templateObject37(){const data=_taggedTemplateLiteral([""]);return _templateObject37=function(){return data},data}function _templateObject36(){const data=_taggedTemplateLiteral([""]);return _templateObject36=function(){return data},data}function _templateObject35(){const data=_taggedTemplateLiteral(["\t\t\n\t\t\t\t","\n\t\t\t\t\t\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t","\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t"," "," ","\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t","\n\t\t\t\t"]);return _templateObject35=function(){return data},data}function _templateObject34(){const data=_taggedTemplateLiteral([""]);return _templateObject34=function(){return data},data}function _templateObject33(){const data=_taggedTemplateLiteral([""]);return _templateObject33=function(){return data},data}function _templateObject32(){const data=_taggedTemplateLiteral([""]);return _templateObject32=function(){return data},data}function _templateObject31(){const data=_taggedTemplateLiteral(["\n\t\t\t
\n\t\t\t\t\n\t\t\t\t
\t\n\t\t\t\t\t\n\t\t\t\t\t"," "," \n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\n\t\t\t
\n\t\t"]);return _templateObject31=function(){return data},data}function _templateObject30(){const data=_taggedTemplateLiteral(["",""]);return _templateObject30=function(){return data},data}function _templateObject29(){const data=_taggedTemplateLiteral([" "]);return _templateObject29=function(){return data},data}function _templateObject28(){const data=_taggedTemplateLiteral([" "]);return _templateObject28=function(){return data},data}function _templateObject27(){const data=_taggedTemplateLiteral(["",""]);return _templateObject27=function(){return data},data}function _templateObject26(){const data=_taggedTemplateLiteral(["","
"]);return _templateObject26=function(){return data},data}function _templateObject25(){const data=_taggedTemplateLiteral(["\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
","
\n\t\t\t\t\t\t\t\t
","
\n\t\t\t\t\t\t\t\t
","
\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t
","
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t","\n\t\t\t\t\t\t\t\t\t","\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t","\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t","\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t","\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\t\t\t\n\t\t\t\t\t\t\t","\n\t\t\t\t\t\t\n\n\t\t\t\t\t"]);return _templateObject25=function(){return data},data}function _templateObject24(){const data=_taggedTemplateLiteral(["
","
"]);return _templateObject24=function(){return data},data}function _templateObject23(){const data=_taggedTemplateLiteral(["
","
"]);return _templateObject23=function(){return data},data}function _templateObject22(){const data=_taggedTemplateLiteral(["

"]);return _templateObject22=function(){return data},data}function _templateObject21(){const data=_taggedTemplateLiteral(["
 ","
"]);return _templateObject21=function(){return data},data}function _templateObject20(){const data=_taggedTemplateLiteral(["

"]);return _templateObject20=function(){return data},data}function _templateObject19(){const data=_taggedTemplateLiteral([""]);return _templateObject19=function(){return data},data}function _templateObject18(){const data=_taggedTemplateLiteral(["\n\t\t\t
 ","
\n\t\t"]);return _templateObject18=function(){return data},data}function _templateObject17(){const data=_taggedTemplateLiteral(["\n\t\t
 ","
\n\t\t"]);return _templateObject17=function(){return data},data}function _templateObject16(){const data=_taggedTemplateLiteral(["\n\t\t\t\t
"," - ","
"]);return _templateObject16=function(){return data},data}function _templateObject15(){const data=_taggedTemplateLiteral(["
",", "," ","
"]);return _templateObject15=function(){return data},data}function _templateObject14(){const data=_taggedTemplateLiteral(["
"," ","
"]);return _templateObject14=function(){return data},data}function _templateObject13(){const data=_taggedTemplateLiteral(["
"," ","
"]);return _templateObject13=function(){return data},data}function _templateObject12(){const data=_taggedTemplateLiteral(["
",", "," ","
"]);return _templateObject12=function(){return data},data}function _templateObject11(){const data=_taggedTemplateLiteral(["
","
"]);return _templateObject11=function(){return data},data}function _templateObject10(){const data=_taggedTemplateLiteral(["
 
"]);return _templateObject10=function(){return data},data}function _templateObject9(){const data=_taggedTemplateLiteral(["\n\t\t\n\t\t
","
\n\t\t"]);return _templateObject9=function(){return data},data}function _templateObject8(){const data=_taggedTemplateLiteral(["\n\t\t
","
\n\t\t"]);return _templateObject8=function(){return data},data}function _templateObject7(){const data=_taggedTemplateLiteral(["",""]);return _templateObject7=function(){return data},data}function _templateObject6(){const data=_taggedTemplateLiteral(["\n\t\t\n\n\t\t"]);return _templateObject6=function(){return data},data}function _templateObject5(){const data=_taggedTemplateLiteral(["\n\t\t\t\t
"]);return _templateObject5=function(){return data},data}function _templateObject4(){const data=_taggedTemplateLiteral(["\n\t\t\t\t\t
\n\t\t\t\t\t","\n\t\t\t\t\t
\n\t\t\t \t"]);return _templateObject4=function(){return data},data}function _templateObject3(){const data=_taggedTemplateLiteral(["\n\t \n\t ","\n\n\t \n\t\t
\n\t\t\t","\n\n\t\t\t","\n\t\t\t
\n\t\t\t\t","\n\t\t\t
\n\t\t
\n\t\t
\t\n\t\t\t","\n\t\t
\n\t
"]);return _templateObject3=function(){return data},data}function _templateObject2(){const data=_taggedTemplateLiteral([" "]);return _templateObject2=function(){return data},data}function _templateObject(){const data=_taggedTemplateLiteral([""]);return _templateObject=function(){return data},data}function _taggedTemplateLiteral(strings,raw){return raw||(raw=strings.slice(0)),Object.freeze(Object.defineProperties(strings,{raw:{value:Object.freeze(raw)}}))}/** +function _templateObject38(){const data=_taggedTemplateLiteral(["\n\t\t\t
\n\t\t\t\t","\n\t\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t","\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t","\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t
\n\t\t\t
\n\t\t\t\t\t","\n\t\t\t
\n\t\t\t"]);return _templateObject38=function(){return data},data}function _templateObject37(){const data=_taggedTemplateLiteral(["\n\t\t\t",""]);return _templateObject37=function(){return data},data}function _templateObject36(){const data=_taggedTemplateLiteral([""]);return _templateObject36=function(){return data},data}function _templateObject35(){const data=_taggedTemplateLiteral([""]);return _templateObject35=function(){return data},data}function _templateObject34(){const data=_taggedTemplateLiteral(["\n\t\t\t\t","\n\t\t\t\t\t\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t","\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t"," "," ","\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t","\n\t\t\t\t"]);return _templateObject34=function(){return data},data}function _templateObject33(){const data=_taggedTemplateLiteral([""]);return _templateObject33=function(){return data},data}function _templateObject32(){const data=_taggedTemplateLiteral([""]);return _templateObject32=function(){return data},data}function _templateObject31(){const data=_taggedTemplateLiteral([""]);return _templateObject31=function(){return data},data}function _templateObject30(){const data=_taggedTemplateLiteral(["\n\t\t\t
\n\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t\t"," ","\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\n\t\t\t
\n\t\t"]);return _templateObject30=function(){return data},data}function _templateObject29(){const data=_taggedTemplateLiteral(["\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t","\n\t\t\t\t
"]);return _templateObject29=function(){return data},data}function _templateObject28(){const data=_taggedTemplateLiteral([" "]);return _templateObject28=function(){return data},data}function _templateObject27(){const data=_taggedTemplateLiteral(["",""]);return _templateObject27=function(){return data},data}function _templateObject26(){const data=_taggedTemplateLiteral(["","
"]);return _templateObject26=function(){return data},data}function _templateObject25(){const data=_taggedTemplateLiteral(["\n\n\t\t\t\t\t\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
","
\n\t\t\t\t\t\t\t\t
","
\n\t\t\t\t\t\t\t\t
","
\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t
","
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t","\n\t\t\t\t\t\t\t\t\t","\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t","\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t","\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t","\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t","\n\t\t\t\t\t\t\n\n\t\t\t\t\t"]);return _templateObject25=function(){return data},data}function _templateObject24(){const data=_taggedTemplateLiteral(["
","
"]);return _templateObject24=function(){return data},data}function _templateObject23(){const data=_taggedTemplateLiteral(["
","
"]);return _templateObject23=function(){return data},data}function _templateObject22(){const data=_taggedTemplateLiteral(["

"]);return _templateObject22=function(){return data},data}function _templateObject21(){const data=_taggedTemplateLiteral(["
 ","
"]);return _templateObject21=function(){return data},data}function _templateObject20(){const data=_taggedTemplateLiteral(["

"]);return _templateObject20=function(){return data},data}function _templateObject19(){const data=_taggedTemplateLiteral([""]);return _templateObject19=function(){return data},data}function _templateObject18(){const data=_taggedTemplateLiteral(["\n\t\t\t
 ","
\n\t\t"]);return _templateObject18=function(){return data},data}function _templateObject17(){const data=_taggedTemplateLiteral(["\n\t\t
 ","
\n\t\t"]);return _templateObject17=function(){return data},data}function _templateObject16(){const data=_taggedTemplateLiteral(["\n\t\t\t\t
"," - ","
"]);return _templateObject16=function(){return data},data}function _templateObject15(){const data=_taggedTemplateLiteral(["
",", "," ","
"]);return _templateObject15=function(){return data},data}function _templateObject14(){const data=_taggedTemplateLiteral(["
"," ","
"]);return _templateObject14=function(){return data},data}function _templateObject13(){const data=_taggedTemplateLiteral(["
"," ","
"]);return _templateObject13=function(){return data},data}function _templateObject12(){const data=_taggedTemplateLiteral(["
",", "," ","
"]);return _templateObject12=function(){return data},data}function _templateObject11(){const data=_taggedTemplateLiteral(["
","
"]);return _templateObject11=function(){return data},data}function _templateObject10(){const data=_taggedTemplateLiteral(["
 
"]);return _templateObject10=function(){return data},data}function _templateObject9(){const data=_taggedTemplateLiteral(["\n\t\t\n\t\t
","
\n\t\t"]);return _templateObject9=function(){return data},data}function _templateObject8(){const data=_taggedTemplateLiteral(["\n\t\t
","
\n\t\t"]);return _templateObject8=function(){return data},data}function _templateObject7(){const data=_taggedTemplateLiteral(["",""]);return _templateObject7=function(){return data},data}function _templateObject6(){const data=_taggedTemplateLiteral(["\n\t\t\n\t\t"]);return _templateObject6=function(){return data},data}function _templateObject5(){const data=_taggedTemplateLiteral(["\n\t\t\t\t
"]);return _templateObject5=function(){return data},data}function _templateObject4(){const data=_taggedTemplateLiteral(["\n\t\t\t\t\t
\n\t\t\t\t\t","\n\t\t\t\t\t
\n\t\t\t \t"]);return _templateObject4=function(){return data},data}function _templateObject3(){const data=_taggedTemplateLiteral(["\n\n\t ","\n\n\t \n\t\t
\n\t\t\t","\n\n\t\t\t","\n\t\t\t
\n\t\t\t\t","\n\t\t\t
\n\t\t
\n\t\t
\n\t\t\t","\n\t\t
\n\t
"]);return _templateObject3=function(){return data},data}function _templateObject2(){const data=_taggedTemplateLiteral([" "]);return _templateObject2=function(){return data},data}function _templateObject(){const data=_taggedTemplateLiteral([""]);return _templateObject=function(){return data},data}function _taggedTemplateLiteral(strings,raw){return raw||(raw=strings.slice(0)),Object.freeze(Object.defineProperties(strings,{raw:{value:Object.freeze(raw)}}))}/** * @license * Copyright (c) 2017 The Polymer Project Authors. All rights reserved. * This code may only be used under the BSD style license found at @@ -10,7 +10,7 @@ function _templateObject39(){const data=_taggedTemplateLiteral(["\n\t\t\t
"function"==typeof t&&e.has(t),a=void 0!==window.customElements&&void 0!==window.customElements.polyfillWrapFlushCallback,s=(e,t,a=null)=>{for(;t!==a;){const a=t.nextSibling;e.removeChild(t),t=a}},n={},i={},r="{{lit-".concat((Math.random()+"").slice(2),"}}"),d=""),o=new RegExp("".concat(r,"|").concat(d));class _{constructor(e,t){this.parts=[],this.element=t;const a=[],s=[],n=document.createTreeWalker(t.content,133,null,!1);let i=0,d=-1,_=0;for(const{strings:l,values:{length:c}}=e;_{const a=e.length-t.length;return 0<=a&&e.slice(a)===t},l=e=>-1!==e.index,u=()=>document.createComment(""),h=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F "'>=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/;/** + */const e="undefined"!=typeof window&&null!=window.customElements&&void 0!==window.customElements.polyfillWrapFlushCallback,t=(e,t,a=null)=>{for(;t!==a;){const a=t.nextSibling;e.removeChild(t),t=a}},a="{{lit-".concat((Math.random()+"").slice(2),"}}"),s=""),n=new RegExp("".concat(a,"|").concat(s));class i{constructor(e,t){this.parts=[],this.element=t;const s=[],i=[],d=document.createTreeWalker(t.content,133,null,!1);let m=0,l=-1,u=0;for(const{strings:h,values:{length:c}}=e;u{const a=e.length-t.length;return 0<=a&&e.slice(a)===t},d=e=>-1!==e.index,o=()=>document.createComment(""),_=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F "'>=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/;function m(e,t){const{element:{content:a},parts:s}=e,n=document.createTreeWalker(a,133,null,!1);let i=u(s),r=s[i],d=-1,o=0;const _=[];for(let m=null;n.nextNode();){d++;const e=n.currentNode;for(e.previousSibling===m&&(m=null),t.has(e)&&(_.push(e),null===m&&(m=e)),null!==m&&o++;void 0!==r&&r.index===d;)r.index=null===m?r.index-o:-1,i=u(s,i),r=s[i]}_.forEach(e=>e.parentNode.removeChild(e))}const l=e=>{let t=11===e.nodeType?0:1;for(const a=document.createTreeWalker(e,133,null,!1);a.nextNode();)t++;return t},u=(e,t=-1)=>{for(let a=t+1;a"function"==typeof e&&h.has(e),M={},L={};/** * @license * Copyright (c) 2017 The Polymer Project Authors. All rights reserved. * This code may only be used under the BSD style license found at @@ -22,19 +22,7 @@ function _templateObject39(){const data=_taggedTemplateLiteral(["\n\t\t\t
",n+1);const i=h.exec(e);t+=null===i?e+(a?M:d):e.substr(0,i.index)+i[1]+i[2]+"$lit$"+i[3]+r}return t+=this.strings[e],t}getTemplateElement(){const e=document.createElement("template");return e.innerHTML=this.getHTML(),e}}/** + */ /** * @license * Copyright (c) 2017 The Polymer Project Authors. All rights reserved. * This code may only be used under the BSD style license found at @@ -46,7 +34,7 @@ function _templateObject39(){const data=_taggedTemplateLiteral(["\n\t\t\t
null===e||"object"!=typeof e&&"function"!=typeof e,Y=e=>Array.isArray(e)||e&&e[Symbol.iterator];class p{constructor(e,t,a){this.dirty=!0,this.element=e,this.name=t,this.strings=a,this.parts=[];for(let e=0;ethis.handleEvent(e)}setValue(e){this.__pendingValue=e}commit(){for(;t(this.__pendingValue);){const e=this.__pendingValue;this.__pendingValue=n,e(this)}if(this.__pendingValue!==n){const e=this.__pendingValue,a=this.value,s=null==e||null!=a&&(e.capture!==a.capture||e.once!==a.once||e.passive!==a.passive);s&&this.element.removeEventListener(this.eventName,this.__boundHandleEvent,this.__options),null!=e&&(null==a||s)&&(this.__options=S(e),this.element.addEventListener(this.eventName,this.__boundHandleEvent,this.__options)),this.value=e,this.__pendingValue=n}}handleEvent(e){"function"==typeof this.value?this.value.call(this.eventContext||this.element,e):this.value.handleEvent(e)}}const S=e=>e&&(v?{capture:e.capture,passive:e.passive,once:e.once}:e.capture)/** + */class y{constructor(e,t,a){this.__parts=[],this.template=e,this.processor=t,this.options=a}update(e){let t=0;for(const a of this.__parts)void 0!==a&&a.setValue(e[t]),t++;for(const e of this.__parts)void 0!==e&&e.commit()}_clone(){const t=e?this.template.element.content.cloneNode(!0):document.importNode(this.template.element.content,!0),a=[],s=this.template.parts,n=document.createTreeWalker(t,133,null,!1);for(let i,r=0,o=0,_=n.nextNode();r",r+1);const d=_.exec(e);t+=null===d?e+(n?Y:s):e.substr(0,d.index)+d[1]+d[2]+"$lit$"+d[3]+a}return t+=this.strings[e],t}getTemplateElement(){const e=document.createElement("template");return e.innerHTML=this.getHTML(),e}}/** * @license * Copyright (c) 2017 The Polymer Project Authors. All rights reserved. * This code may only be used under the BSD style license found at @@ -70,7 +58,7 @@ function _templateObject39(){const data=_taggedTemplateLiteral(["\n\t\t\t
null===e||"object"!=typeof e&&"function"!=typeof e,g=e=>Array.isArray(e)||e&&e[Symbol.iterator];class k{constructor(e,t,a){this.dirty=!0,this.element=e,this.name=t,this.strings=a,this.parts=[];for(let e=0;e{try{const e={get capture(){return b=!0,!1}};window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch(e){}})();class H{constructor(e,t,a){this.value=void 0,this.__pendingValue=void 0,this.element=e,this.eventName=t,this.eventContext=a,this.__boundHandleEvent=e=>this.handleEvent(e)}setValue(e){this.__pendingValue=e}commit(){for(;c(this.__pendingValue);){const e=this.__pendingValue;this.__pendingValue=M,e(this)}if(this.__pendingValue!==M){const e=this.__pendingValue,t=this.value,a=null==e||null!=t&&(e.capture!==t.capture||e.once!==t.once||e.passive!==t.passive);a&&this.element.removeEventListener(this.eventName,this.__boundHandleEvent,this.__options),null!=e&&(null==t||a)&&(this.__options=x(e),this.element.addEventListener(this.eventName,this.__boundHandleEvent,this.__options)),this.value=e,this.__pendingValue=M}}handleEvent(e){"function"==typeof this.value?this.value.call(this.eventContext||this.element,e):this.value.handleEvent(e)}}const x=e=>e&&(b?{capture:e.capture,passive:e.passive,once:e.once}:e.capture)/** * @license * Copyright (c) 2017 The Polymer Project Authors. All rights reserved. * This code may only be used under the BSD style license found at @@ -82,7 +70,7 @@ function _templateObject39(){const data=_taggedTemplateLiteral(["\n\t\t\t
new L(e,t,"html",b)/** + */class{handleAttributeExpressions(e,t,a,s){const n=t[0];return"."===n?new w(e,t.slice(1),a).parts:"@"===n?[new H(e,t.slice(1),s.eventContext)]:"?"===n?[new v(e,t.slice(1),a)]:new k(e,t,a).parts}handleTextExpression(e){return new T(e)}};/** * @license * Copyright (c) 2017 The Polymer Project Authors. All rights reserved. * This code may only be used under the BSD style license found at @@ -106,7 +94,7 @@ function _templateObject39(){const data=_taggedTemplateLiteral(["\n\t\t\t
e.parentNode.removeChild(e))}const E=e=>{let t=11===e.nodeType?0:1;for(const a=document.createTreeWalker(e,133,null,!1);a.nextNode();)t++;return t},W=(e,t=-1)=>{for(let a=t+1;a"".concat(e,"--").concat(t);/** + */"undefined"!=typeof window&&(window.litHtmlVersions||(window.litHtmlVersions=[])).push("1.2.1");const W=(e,...t)=>new p(e,t,"html",E)/** * @license * Copyright (c) 2017 The Polymer Project Authors. All rights reserved. * This code may only be used under the BSD style license found at @@ -118,7 +106,7 @@ function _templateObject39(){const data=_taggedTemplateLiteral(["\n\t\t\t
t=>{const a=A(t.type,e);let s=x.get(a);void 0===s&&(s={stringsArray:new WeakMap,keyString:new Map},x.set(a,s));let n=s.stringsArray.get(t.strings);if(void 0!==n)return n;const i=t.strings.join(r);if(n=s.keyString.get(i),void 0===n){const a=t.getTemplateElement();F&&window.ShadyCSS.prepareTemplateDom(a,e),n=new _(t,a),s.keyString.set(i,n)}return s.stringsArray.set(t.strings,n),n},z=["html","svg"],N=new Set,J=(e,t,a)=>{N.add(e);const s=a?a.element:document.createElement("template"),n=t.querySelectorAll("style"),{length:i}=n;if(0===i)return void window.ShadyCSS.prepareTemplateStyles(s,e);const r=document.createElement("style");for(let e=0;e{z.forEach(t=>{const a=x.get(A(t,e));void 0!==a&&a.keyString.forEach(e=>{const{element:{content:t}}=e,a=new Set;Array.from(t.querySelectorAll("style")).forEach(e=>{a.add(e)}),O(e,a)})})})(e);const d=s.content;a?function(e,t,a=null){const{element:{content:s},parts:n}=e;if(null==a)return void s.appendChild(t);const i=document.createTreeWalker(s,133,null,!1);for(let r=W(n),d=0,o=-1;i.nextNode();)for(o++,i.currentNode===a&&(d=E(t),a.parentNode.insertBefore(t,a));-1!==r&&n[r].index===o;){if(0e;const $={toAttribute(e,t){return t===Boolean?e?"":null:t===Object||t===Array?null==e?e:JSON.stringify(e):e},fromAttribute(e,t){return t===Boolean?null!==e:t===Number?null===e?null:+e:t===Object||t===Array?JSON.parse(e):e}},I=(e,t)=>t!==e&&(t==t||e==e),R={attribute:!0,type:String,converter:$,reflect:!1,hasChanged:I},U=Promise.resolve(!0);class V extends HTMLElement{constructor(){super(),this._updateState=0,this._instanceProperties=void 0,this._updatePromise=U,this._hasConnectedResolver=void 0,this._changedProperties=new Map,this._reflectingProperties=void 0,this.initialize()}static get observedAttributes(){this.finalize();const e=[];return this._classProperties.forEach((t,a)=>{const s=this._attributeNameForProperty(a,t);void 0!==s&&(this._attributeToPropertyMap.set(s,a),e.push(s))}),e}static _ensureClassProperties(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_classProperties",this))){this._classProperties=new Map;const e=Object.getPrototypeOf(this)._classProperties;void 0!==e&&e.forEach((e,t)=>this._classProperties.set(t,e))}}static createProperty(e,t=R){if(this._ensureClassProperties(),this._classProperties.set(e,t),t.noAccessor||this.prototype.hasOwnProperty(e))return;const a="symbol"==typeof e?Symbol():"__".concat(e);Object.defineProperty(this.prototype,e,{get(){return this[a]},set(t){const s=this[e];this[a]=t,this._requestUpdate(e,s)},configurable:!0,enumerable:!0})}static finalize(){const e=Object.getPrototypeOf(this);if(e.hasOwnProperty("finalized")||e.finalize(),this.finalized=!0,this._ensureClassProperties(),this._attributeToPropertyMap=new Map,this.hasOwnProperty(JSCompiler_renameProperty("properties",this))){const e=this.properties,t=[...Object.getOwnPropertyNames(e),...("function"==typeof Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[])];for(const a of t)this.createProperty(a,e[a])}}static _attributeNameForProperty(e,t){const a=t.attribute;return!1===a?void 0:"string"==typeof a?a:"string"==typeof e?e.toLowerCase():void 0}static _valueHasChanged(e,t,a=I){return a(e,t)}static _propertyValueFromAttribute(e,t){const a=t.type,s=t.converter||$,n="function"==typeof s?s:s.fromAttribute;return n?n(e,a):e}static _propertyValueToAttribute(e,t){if(void 0!==t.reflect){const a=t.type,s=t.converter;return(s&&s.toAttribute||$.toAttribute)(e,a)}}initialize(){this._saveInstanceProperties(),this._requestUpdate()}_saveInstanceProperties(){this.constructor._classProperties.forEach((e,t)=>{if(this.hasOwnProperty(t)){const e=this[t];delete this[t],this._instanceProperties||(this._instanceProperties=new Map),this._instanceProperties.set(t,e)}})}_applyInstanceProperties(){this._instanceProperties.forEach((e,t)=>this[t]=e),this._instanceProperties=void 0}connectedCallback(){this._updateState=32|this._updateState,this._hasConnectedResolver&&(this._hasConnectedResolver(),this._hasConnectedResolver=void 0)}disconnectedCallback(){}attributeChangedCallback(e,t,a){t!==a&&this._attributeToProperty(e,a)}_propertyToAttribute(e,t,a=R){const s=this.constructor,n=s._attributeNameForProperty(e,a);if(void 0!==n){const e=s._propertyValueToAttribute(t,a);if(void 0===e)return;this._updateState=8|this._updateState,null==e?this.removeAttribute(n):this.setAttribute(n,e),this._updateState=-9&this._updateState}}_attributeToProperty(e,t){if(!(8&this._updateState)){const a=this.constructor,s=a._attributeToPropertyMap.get(e);if(void 0!==s){const e=a._classProperties.get(s)||R;this._updateState=16|this._updateState,this[s]=a._propertyValueFromAttribute(t,e),this._updateState=-17&this._updateState}}}_requestUpdate(e,t){let a=!0;if(void 0!==e){const s=this.constructor,n=s._classProperties.get(e)||R;s._valueHasChanged(this[e],t,n.hasChanged)?(this._changedProperties.has(e)||this._changedProperties.set(e,t),!0!==n.reflect||16&this._updateState||(void 0===this._reflectingProperties&&(this._reflectingProperties=new Map),this._reflectingProperties.set(e,n))):a=!1}!this._hasRequestedUpdate&&a&&this._enqueueUpdate()}requestUpdate(e,t){return this._requestUpdate(e,t),this.updateComplete}async _enqueueUpdate(){let e,t;this._updateState=4|this._updateState;const a=this._updatePromise;this._updatePromise=new Promise((a,s)=>{e=a,t=s});try{await a}catch(e){}this._hasConnected||(await new Promise(e=>this._hasConnectedResolver=e));try{const e=this.performUpdate();null!=e&&(await e)}catch(e){t(e)}e(!this._hasRequestedUpdate)}get _hasConnected(){return 32&this._updateState}get _hasRequestedUpdate(){return 4&this._updateState}get hasUpdated(){return 1&this._updateState}performUpdate(){this._instanceProperties&&this._applyInstanceProperties();let e=!1;const t=this._changedProperties;try{e=this.shouldUpdate(t),e&&this.update(t)}catch(t){throw e=!1,t}finally{this._markUpdated()}e&&(1&this._updateState||(this._updateState=1|this._updateState,this.firstUpdated(t)),this.updated(t))}_markUpdated(){this._changedProperties=new Map,this._updateState=-5&this._updateState}get updateComplete(){return this._getUpdateComplete()}_getUpdateComplete(){return this._updatePromise}shouldUpdate(){return!0}update(){void 0!==this._reflectingProperties&&0this._propertyToAttribute(t,this[t],e)),this._reflectingProperties=void 0)}updated(){}firstUpdated(){}}V.finalized=!0;/** + */,A=(e,t)=>"".concat(e,"--").concat(t);let F=!0;void 0===window.ShadyCSS?F=!1:void 0===window.ShadyCSS.prepareTemplateDom&&(console.warn("Incompatible ShadyCSS version detected. Please update to at least @webcomponents/webcomponentsjs@2.0.2 and @webcomponents/shadycss@1.3.1."),F=!1);const C=e=>t=>{const s=A(t.type,e);let n=P.get(s);void 0===n&&(n={stringsArray:new WeakMap,keyString:new Map},P.set(s,n));let r=n.stringsArray.get(t.strings);if(void 0!==r)return r;const d=t.strings.join(a);if(r=n.keyString.get(d),void 0===r){const a=t.getTemplateElement();F&&window.ShadyCSS.prepareTemplateDom(a,e),r=new i(t,a),n.keyString.set(d,r)}return n.stringsArray.set(t.strings,r),r},z=["html","svg"],N=new Set,J=(e,t,a)=>{N.add(e);const s=a?a.element:document.createElement("template"),n=t.querySelectorAll("style"),{length:i}=n;if(0===i)return void window.ShadyCSS.prepareTemplateStyles(s,e);const r=document.createElement("style");for(let e=0;e{z.forEach(t=>{const a=P.get(A(t,e));void 0!==a&&a.keyString.forEach(e=>{const{element:{content:t}}=e,a=new Set;Array.from(t.querySelectorAll("style")).forEach(e=>{a.add(e)}),m(e,a)})})})(e);const d=s.content;a?function(e,t,a=null){const{element:{content:s},parts:n}=e;if(null==a)return void s.appendChild(t);const i=document.createTreeWalker(s,133,null,!1);for(let r=u(n),d=0,o=-1;i.nextNode();)for(o++,i.currentNode===a&&(d=l(t),a.parentNode.insertBefore(t,a));-1!==r&&n[r].index===o;){if(0e;const $={toAttribute(e,t){return t===Boolean?e?"":null:t===Object||t===Array?null==e?e:JSON.stringify(e):e},fromAttribute(e,t){return t===Boolean?null!==e:t===Number?null===e?null:+e:t===Object||t===Array?JSON.parse(e):e}},I=(e,t)=>t!==e&&(t==t||e==e),R={attribute:!0,type:String,converter:$,reflect:!1,hasChanged:I};class U extends HTMLElement{constructor(){super(),this._updateState=0,this._instanceProperties=void 0,this._updatePromise=new Promise(e=>this._enableUpdatingResolver=e),this._changedProperties=new Map,this._reflectingProperties=void 0,this.initialize()}static get observedAttributes(){this.finalize();const e=[];return this._classProperties.forEach((t,a)=>{const s=this._attributeNameForProperty(a,t);void 0!==s&&(this._attributeToPropertyMap.set(s,a),e.push(s))}),e}static _ensureClassProperties(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_classProperties",this))){this._classProperties=new Map;const e=Object.getPrototypeOf(this)._classProperties;void 0!==e&&e.forEach((e,t)=>this._classProperties.set(t,e))}}static createProperty(e,t=R){if(this._ensureClassProperties(),this._classProperties.set(e,t),!(t.noAccessor||this.prototype.hasOwnProperty(e))){const a="symbol"==typeof e?Symbol():"__".concat(e),s=this.getPropertyDescriptor(e,a,t);void 0!==s&&Object.defineProperty(this.prototype,e,s)}}static getPropertyDescriptor(e,t){return{get(){return this[t]},set(a){const s=this[e];this[t]=a,this._requestUpdate(e,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this._classProperties&&this._classProperties.get(e)||R}static finalize(){const e=Object.getPrototypeOf(this);if(e.hasOwnProperty("finalized")||e.finalize(),this.finalized=!0,this._ensureClassProperties(),this._attributeToPropertyMap=new Map,this.hasOwnProperty(JSCompiler_renameProperty("properties",this))){const e=this.properties,t=[...Object.getOwnPropertyNames(e),...("function"==typeof Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[])];for(const a of t)this.createProperty(a,e[a])}}static _attributeNameForProperty(e,t){const a=t.attribute;return!1===a?void 0:"string"==typeof a?a:"string"==typeof e?e.toLowerCase():void 0}static _valueHasChanged(e,t,a=I){return a(e,t)}static _propertyValueFromAttribute(e,t){const a=t.type,s=t.converter||$,n="function"==typeof s?s:s.fromAttribute;return n?n(e,a):e}static _propertyValueToAttribute(e,t){if(void 0!==t.reflect){const a=t.type,s=t.converter;return(s&&s.toAttribute||$.toAttribute)(e,a)}}initialize(){this._saveInstanceProperties(),this._requestUpdate()}_saveInstanceProperties(){this.constructor._classProperties.forEach((e,t)=>{if(this.hasOwnProperty(t)){const e=this[t];delete this[t],this._instanceProperties||(this._instanceProperties=new Map),this._instanceProperties.set(t,e)}})}_applyInstanceProperties(){this._instanceProperties.forEach((e,t)=>this[t]=e),this._instanceProperties=void 0}connectedCallback(){this.enableUpdating()}enableUpdating(){void 0!==this._enableUpdatingResolver&&(this._enableUpdatingResolver(),this._enableUpdatingResolver=void 0)}disconnectedCallback(){}attributeChangedCallback(e,t,a){t!==a&&this._attributeToProperty(e,a)}_propertyToAttribute(e,t,a=R){const s=this.constructor,n=s._attributeNameForProperty(e,a);if(void 0!==n){const e=s._propertyValueToAttribute(t,a);if(void 0===e)return;this._updateState=8|this._updateState,null==e?this.removeAttribute(n):this.setAttribute(n,e),this._updateState=-9&this._updateState}}_attributeToProperty(e,t){if(!(8&this._updateState)){const a=this.constructor,s=a._attributeToPropertyMap.get(e);if(void 0!==s){const e=a.getPropertyOptions(s);this._updateState=16|this._updateState,this[s]=a._propertyValueFromAttribute(t,e),this._updateState=-17&this._updateState}}}_requestUpdate(e,t){let a=!0;if(void 0!==e){const s=this.constructor,n=s.getPropertyOptions(e);s._valueHasChanged(this[e],t,n.hasChanged)?(this._changedProperties.has(e)||this._changedProperties.set(e,t),!0!==n.reflect||16&this._updateState||(void 0===this._reflectingProperties&&(this._reflectingProperties=new Map),this._reflectingProperties.set(e,n))):a=!1}!this._hasRequestedUpdate&&a&&(this._updatePromise=this._enqueueUpdate())}requestUpdate(e,t){return this._requestUpdate(e,t),this.updateComplete}async _enqueueUpdate(){this._updateState=4|this._updateState;try{await this._updatePromise}catch(e){}const e=this.performUpdate();return null!=e&&(await e),!this._hasRequestedUpdate}get _hasRequestedUpdate(){return 4&this._updateState}get hasUpdated(){return 1&this._updateState}performUpdate(){this._instanceProperties&&this._applyInstanceProperties();let e=!1;const t=this._changedProperties;try{e=this.shouldUpdate(t),e?this.update(t):this._markUpdated()}catch(t){throw e=!1,this._markUpdated(),t}e&&(1&this._updateState||(this._updateState=1|this._updateState,this.firstUpdated(t)),this.updated(t))}_markUpdated(){this._changedProperties=new Map,this._updateState=-5&this._updateState}get updateComplete(){return this._getUpdateComplete()}_getUpdateComplete(){return this._updatePromise}shouldUpdate(){return!0}update(){void 0!==this._reflectingProperties&&0this._propertyToAttribute(t,this[t],e)),this._reflectingProperties=void 0),this._markUpdated()}updated(){}firstUpdated(){}}U.finalized=!0;/** @license Copyright (c) 2019 The Polymer Project Authors. All rights reserved. This code may only be used under the BSD style license found at @@ -127,7 +115,7 @@ http://polymer.github.io/AUTHORS.txt The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as part of the polymer project is also subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt -*/const G="adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;/** +*/const V="adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;/** * @license * Copyright (c) 2017 The Polymer Project Authors. All rights reserved. * This code may only be used under the BSD style license found at @@ -139,10 +127,10 @@ found at http://polymer.github.io/PATENTS.txt * Code distributed by Google as part of the polymer project is also * subject to an additional IP rights grant found at * http://polymer.github.io/PATENTS.txt - */(window.litElementVersions||(window.litElementVersions=[])).push("2.2.1");const B=e=>e.flat?e.flat(1/0):function e(t,a=[]){for(let s=0,n=t.length;s(e.add(t),e),new Set).forEach(e=>t.unshift(e)):e&&t.push(e),t}initialize(){super.initialize(),this.renderRoot=this.createRenderRoot(),window.ShadowRoot&&this.renderRoot instanceof window.ShadowRoot&&this.adoptStyles()}createRenderRoot(){return this.attachShadow({mode:"open"})}adoptStyles(){const e=this.constructor._styles;0!==e.length&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow?G?this.renderRoot.adoptedStyleSheets=e.map(e=>e.styleSheet):this._needsShimAdoptedStyleSheets=!0:window.ShadyCSS.ScopingShim.prepareAdoptedCssText(e.map(e=>e.cssText),this.localName))}connectedCallback(){super.connectedCallback(),this.hasUpdated&&void 0!==window.ShadyCSS&&window.ShadyCSS.styleElement(this)}update(e){super.update(e);const t=this.render();t instanceof L&&this.constructor.render(t,this.renderRoot,{scopeName:this.localName,eventContext:this}),this._needsShimAdoptedStyleSheets&&(this._needsShimAdoptedStyleSheets=!1,this.constructor._styles.forEach(e=>{const t=document.createElement("style");t.textContent=e.cssText,this.renderRoot.appendChild(t)}))}render(){}}q.finalized=!0,q.render=(e,t,a)=>{if(!a||"object"!=typeof a||!a.scopeName)throw new Error("The `scopeName` option is required.");const n=a.scopeName,i=j.has(t),r=F&&11===t.nodeType&&!!t.host,d=r&&!N.has(n),o=d?document.createDocumentFragment():t;if(((e,t,a)=>{let n=j.get(t);void 0===n&&(s(t,t.firstChild),j.set(t,n=new k(Object.assign({templateFactory:H},a))),n.appendInto(t)),n.setValue(e),n.commit()})(e,o,Object.assign({templateFactory:C(n)},a)),d){const e=j.get(o);j.delete(o);const a=e.value instanceof c?e.value.template:void 0;J(n,o,a),s(t,t.firstChild),t.appendChild(o),j.set(t,e)}!i&&r&&window.ShadyCSS.styleElement(t.host)},"undefined"==typeof window?"undefined"==typeof global?"undefined"!=typeof self&&self:global:window;function Z(){throw new Error("Dynamic requires are not currently supported by rollup-plugin-commonjs")}function K(e,t){return e(t={exports:{}},t.exports),t.exports}var Q=K(function(e){var _Mathfloor=Math.floor;e.exports=function(){var _Mathround=Math.round,_Mathabs=Math.abs,_Mathmin=Math.min,_Mathceil=Math.ceil;function s(){return t.apply(null,arguments)}function n(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function i(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function r(e){return void 0===e}function d(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function o(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function _(e,t){var a,s=[];for(a=0;at.overflow&&!t.empty&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&s);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 M(e){var t=u(NaN);return null==e?h(t).userInvalidated=!0:l(h(t),e),t}function y(e,t){var a,s,n;if(r(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),r(t._i)||(e._i=t._i),r(t._f)||(e._f=t._f),r(t._l)||(e._l=t._l),r(t._strict)||(e._strict=t._strict),r(t._tzm)||(e._tzm=t._tzm),r(t._isUTC)||(e._isUTC=t._isUTC),r(t._offset)||(e._offset=t._offset),r(t._pf)||(e._pf=h(t)),r(t._locale)||(e._locale=t._locale),0e?_Mathceil(e)||0:_Mathfloor(e)}function g(e){var t=+e,a=0;return 0!=t&&isFinite(t)&&(a=k(t)),a}function D(e,t,a){var s,n=_Mathmin(e.length,t.length),i=_Mathabs(e.length-t.length),r=0;for(s=0;ss;++s)i=u([2e3,s]),this._shortMonthsParse[s]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[s]=this.months(i,"").toLocaleLowerCase();return a?"MMM"===t?-1===(n=pe.call(this._shortMonthsParse,r))?null:n:-1===(n=pe.call(this._longMonthsParse,r))?null:n:"MMM"===t?-1!==(n=pe.call(this._shortMonthsParse,r))||-1!==(n=pe.call(this._longMonthsParse,r))?n:null:-1!==(n=pe.call(this._longMonthsParse,r))||-1!==(n=pe.call(this._shortMonthsParse,r))?n:null}function He(e,t){var a;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=g(t);else if(!d(t=e.localeData().monthsParse(t)))return e;return a=_Mathmin(e.date(),Te(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,a),e}function xe(e){return null==e?ge(this,"Month"):(He(this,e),s.updateOffset(this,!0),this)}function Oe(){function e(e,t){return t.length-e.length}var t,a,s=[],n=[],i=[];for(t=0;12>t;t++)a=u([2e3,t]),s.push(this.monthsShort(a,"")),n.push(this.months(a,"")),i.push(this.months(a,"")),i.push(this.monthsShort(a,""));for(s.sort(e),n.sort(e),i.sort(e),t=0;12>t;t++)s[t]=ue(s[t]),n[t]=ue(n[t]);for(t=0;24>t;t++)i[t]=ue(i[t]);this._monthsRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+s.join("|")+")","i")}function Ee(e,t,a,s,n,i,r){var d;return 100>e&&0<=e?(d=new Date(e+400,t,a,s,n,i,r),isFinite(d.getFullYear())&&d.setFullYear(e)):d=new Date(e,t,a,s,n,i,r),d}function We(e){var t;if(100>e&&0<=e){var a=Array.prototype.slice.call(arguments);a[0]=e+400,t=new Date(Date.UTC.apply(null,a)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)}else t=new Date(Date.UTC.apply(null,arguments));return t}function Ae(e,t,a){var s=7+t-a;return-(7+We(e,0,s).getUTCDay()-t)%7+s-1}function Fe(e,t,a,s,n){var i,r,d=1+7*(t-1)+(7+a-s)%7+Ae(e,s,n);return 0>=d?r=ye(i=e-1)+d:d>ye(e)?(i=e+1,r=d-ye(e)):(i=e,r=d),{year:i,dayOfYear:r}}function Ce(e,t,a){var s,n,i=Ae(e.year(),t,a),r=_Mathfloor((e.dayOfYear()-i-1)/7)+1;return 1>r?s=r+ze(n=e.year()-1,t,a):r>ze(e.year(),t,a)?(s=r-ze(e.year(),t,a),n=e.year()+1):(n=e.year(),s=r),{week:s,year:n}}function ze(e,t,a){var s=Ae(e,t,a),n=Ae(e+1,t,a);return(ye(e)-s+n)/7}function Ne(e,t){return e.slice(t,7).concat(e.slice(0,t))}function Re(e,t,a){var s,n,i,r=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],s=0;7>s;++s)i=u([2e3,1]).day(s),this._minWeekdaysParse[s]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[s]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[s]=this.weekdays(i,"").toLocaleLowerCase();return a?"dddd"===t?-1===(n=pe.call(this._weekdaysParse,r))?null:n:"ddd"===t?-1===(n=pe.call(this._shortWeekdaysParse,r))?null:n:-1===(n=pe.call(this._minWeekdaysParse,r))?null:n:"dddd"===t?-1!==(n=pe.call(this._weekdaysParse,r))||-1!==(n=pe.call(this._shortWeekdaysParse,r))||-1!==(n=pe.call(this._minWeekdaysParse,r))?n:null:"ddd"===t?-1!==(n=pe.call(this._shortWeekdaysParse,r))||-1!==(n=pe.call(this._weekdaysParse,r))||-1!==(n=pe.call(this._minWeekdaysParse,r))?n:null:-1!==(n=pe.call(this._minWeekdaysParse,r))||-1!==(n=pe.call(this._weekdaysParse,r))||-1!==(n=pe.call(this._shortWeekdaysParse,r))?n:null}function Be(){function e(e,t){return t.length-e.length}var t,a,s,n,i,r=[],d=[],o=[],_=[];for(t=0;7>t;t++)a=u([2e3,1]).day(t),s=this.weekdaysMin(a,""),n=this.weekdaysShort(a,""),i=this.weekdays(a,""),r.push(s),d.push(n),o.push(i),_.push(s),_.push(n),_.push(i);for(r.sort(e),d.sort(e),o.sort(e),_.sort(e),t=0;7>t;t++)d[t]=ue(d[t]),o[t]=ue(o[t]),_[t]=ue(_[t]);this._weekdaysRegex=new RegExp("^("+_.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+d.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+r.join("|")+")","i")}function qe(){return this.hours()%12||12}function Ze(e,t){I(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function Ke(e,t){return t._meridiemParse}function st(e){return e?e.toLowerCase().replace("_","-"):e}function nt(t){var a=null;if(!tt[t]&&e&&e.exports)try{a=Qe._abbr,Z(),it(a)}catch(e){}return tt[t]}function it(e,t){var a;return e&&((a=r(t)?dt(e):rt(e,t))?Qe=a:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Qe._abbr}function rt(e,t){if(null!==t){var a,s=et;if(t.abbr=e,null!=tt[e])b("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."),s=tt[e]._config;else if(null!=t.parentLocale)if(null!=tt[t.parentLocale])s=tt[t.parentLocale]._config;else{if(null==(a=nt(t.parentLocale)))return at[t.parentLocale]||(at[t.parentLocale]=[]),at[t.parentLocale].push({name:e,config:t}),null;s=a._config}return tt[e]=new j(x(s,t)),at[e]&&at[e].forEach(function(e){rt(e.name,e.config)}),it(e),tt[e]}return delete tt[e],null}function dt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Qe;if(!n(e)){if(t=nt(e))return t;e=[e]}return function(e){for(var t,a,s,n,i=0;i=t&&D(n,a,!0)>=t-1)break;t--}i++}return Qe}(e)}function ot(e){var t,a=e._a;return a&&-2===h(e).overflow&&(t=0>a[1]||11a[2]||a[2]>Te(a[0],a[1])?2:0>a[3]||24a[4]||59a[5]||59a[6]||999t||2(n=_t(t.E,1))||7t.e||6(n=t.d)||6s||s>ze(a,i,r)?h(e)._overflowWeeks=!0:null==o?(d=Fe(a,s,n,i,r),e._a[0]=d.year,e._dayOfYear=d.dayOfYear):h(e)._overflowWeekday=!0}(e),null!=e._dayOfYear&&(r=_t(e._a[0],n[0]),(e._dayOfYear>ye(r)||0===e._dayOfYear)&&(h(e)._overflowDayOfYear=!0),a=We(r,0,e._dayOfYear),e._a[1]=a.getUTCMonth(),e._a[2]=a.getUTCDate()),t=0;3>t&&null==e._a[t];++t)e._a[t]=d[t]=n[t];for(;7>t;t++)e._a[t]=d[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[3]&&0===e._a[4]&&0===e._a[5]&&0===e._a[6]&&(e._nextDay=!0,e._a[3]=0),e._d=(e._useUTC?We:Ee).apply(null,d),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[3]=24),e._w&&void 0!==e._w.d&&e._w.d!==i&&(h(e).weekdayMismatch=!0)}}function yt(e){var t,a,s,n,i,r,d=e._i,o=lt.exec(d)||ut.exec(d);if(o){for(h(e).iso=!0,t=0,a=ct.length;t=t?2e3+t:999>=t?1900+t:t}function kt(e){var t,a,s,n,i,r,d,o=Yt.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(o){var _=(t=o[4],a=o[3],s=o[2],n=o[5],i=o[6],r=o[7],d=[pt(t),Se.indexOf(a),parseInt(s,10),parseInt(n,10),parseInt(i,10)],r&&d.push(parseInt(r,10)),d);if(!function(e,t,a){return!e||$e.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(h(a).weekdayMismatch=!0,a._isValid=!1,!1)}(o[1],_,e))return;e._a=_,e._tzm=function(e,t,a){if(e)return ft[e];if(t)return 0;var s=parseInt(a,10),n=s%100;return 60*((s-n)/100)+n}(o[8],o[9],o[10]),e._d=We.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),h(e).rfc2822=!0}else e._isValid=!1}function gt(e){if(!(e._f!==s.ISO_8601))yt(e);else if(e._f!==s.RFC_2822){e._a=[],h(e).empty=!0;var t,a,n,i,r,d=""+e._i,o=d.length,_=0;for(n=U(e._f,e._locale).match(z)||[],t=0;t=e._a[3]&&!0===h(e).bigHour&&0t&&(t+=12),s||12!==t||(t=0),t):e.meridiemHour(t,a)}(e._locale,e._a[3],e._meridiem),mt(e),ot(e)}else kt(e)}function Dt(e){var t=e._i,a=e._f;return e._locale=e._locale||dt(e._l),null===t||void 0===a&&""===t?M({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),f(t)?new p(ot(t)):(o(t)?e._d=t:n(a)?function(e){var t,a,s,n,i;if(0===e._f.length)return h(e).invalidFormat=!0,void(e._d=new Date(NaN));for(n=0;ne?-1*_Mathround(-1*e):_Mathround(e)}function Ot(e,t){I(e,0,0,function(){var e=this.utcOffset(),a="+";return 0>e&&(e=-e,a="-"),a+C(~~(e/60),2)+t+C(~~e%60,2)})}function Wt(e,t){var a=(t||"").match(e);if(null===a)return null;var s=((a[a.length-1]||[])+"").match(Et)||["-",0,0],n=60*s[1]+g(s[2]);return 0===n?0:"+"===s[0]?n:-n}function At(e,t){var a,n;return t._isUTC?(a=t.clone(),n=(f(e)||o(e)?e.valueOf():vt(e).valueOf())-a.valueOf(),a._d.setTime(a._d.valueOf()+n),s.updateOffset(a,!1),a):vt(e).local()}function Ft(e){return 15*-_Mathround(e._d.getTimezoneOffset()/15)}function Ct(){return!!this.isValid()&&this._isUTC&&0===this._offset}function Jt(e,t){var a,s,n,i,r,o,_=e,l=null;return jt(e)?_={ms:e._milliseconds,d:e._days,M:e._months}:d(e)?(_={},t?_[t]=e:_.milliseconds=e):(l=zt.exec(e))?(a="-"===l[1]?-1:1,_={y:0,d:g(l[2])*a,h:g(l[3])*a,m:g(l[4])*a,s:g(l[5])*a,ms:g(Pt(1e3*l[6]))*a}):(l=Nt.exec(e))?(a="-"===l[1]?-1:1,_={y:$t(l[2],a),M:$t(l[3],a),w:$t(l[4],a),d:$t(l[5],a),h:$t(l[6],a),m:$t(l[7],a),s:$t(l[8],a)}):null==_?_={}:"object"==typeof _&&("from"in _||"to"in _)&&(i=vt(_.from),r=vt(_.to),n=i.isValid()&&r.isValid()?(r=At(r,i),i.isBefore(r)?o=It(i,r):((o=It(r,i)).milliseconds=-o.milliseconds,o.months=-o.months),o):{milliseconds:0,months:0},(_={}).ms=n.milliseconds,_.M=n.months),s=new xt(_),jt(e)&&m(e,"_locale")&&(s._locale=e._locale),s}function $t(e,t){var a=e&&parseFloat(e.replace(",","."));return(isNaN(a)?0:a)*t}function It(e,t){var a={};return a.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(a.months,"M").isAfter(t)&&--a.months,a.milliseconds=+t-+e.clone().add(a.months,"M"),a}function Rt(e,t){return function(a,s){var n;return null===s||isNaN(+s)||(b(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),n=a,a=s,s=n),Ut(this,Jt(a="string"==typeof a?+a:a,s),e),this}}function Ut(e,t,a,n){var i=t._milliseconds,r=Pt(t._days),d=Pt(t._months);e.isValid()&&(n=null==n||n,d&&He(e,ge(e,"Month")+d*a),r&&De(e,"Date",ge(e,"Date")+r*a),i&&e._d.setTime(e._d.valueOf()+i*a),n&&s.updateOffset(e,r||d))}function Bt(e,t){var a=12*(t.year()-e.year())+(t.month()-e.month()),s=e.clone().add(a,"months");return-(a+(0>t-s?(t-s)/(s-e.clone().add(a-1,"months")):(t-s)/(e.clone().add(a+1,"months")-s)))||0}function qt(e){var t;return void 0===e?this._locale._abbr:(null!=(t=dt(e))&&(this._locale=t),this)}function Kt(){return this._locale}function Qt(e,t){return(e%t+t)%t}function Xt(e,t,a){return 100>e&&0<=e?new Date(e+400,t,a)-126227808e5:new Date(e,t,a).valueOf()}function ea(e,t,a){return 100>e&&0<=e?Date.UTC(e+400,t,a)-126227808e5:Date.UTC(e,t,a)}function ta(e,t){I(0,[e,e.length],0,t)}function aa(e,t,a,s,n){var i;return null==e?Ce(this,s,n).year:(t>(i=ze(e,s,n))&&(t=i),sa.call(this,e,t,a,s,n))}function sa(e,t,a,s,n){var i=Fe(e,t,a,s,n),r=We(i.year,0,i.dayOfYear);return this.year(r.getUTCFullYear()),this.month(r.getUTCMonth()),this.date(r.getUTCDate()),this}function oa(e,t){t[6]=g(1e3*("0."+e))}function la(e){return e}function ha(e,t,a,s){var n=dt(),i=u().set(s,t);return n[a](i,e)}function ca(e,t,a){if(d(e)&&(t=e,e=void 0),e=e||"",null!=t)return ha(e,t,a,"month");var s,n=[];for(s=0;12>s;s++)n[s]=ha(e,s,a,"month");return n}function Ma(e,t,a,s){"boolean"==typeof e?(d(t)&&(a=t,t=void 0),t=t||""):(a=t=e,e=!1,d(t)&&(a=t,t=void 0),t=t||"");var n,i=dt(),r=e?i._week.dow:0;if(null!=a)return ha(t,(a+r)%7,s,"day");var o=[];for(n=0;7>n;n++)o[n]=ha(t,(n+r)%7,s,"day");return o}function ya(e,t,a,s){var n=Jt(t,a);return e._milliseconds+=s*n._milliseconds,e._days+=s*n._days,e._months+=s*n._months,e._bubble()}function Ya(e){return 0>e?_Mathfloor(e):_Mathceil(e)}function pa(e){return 4800*e/146097}function fa(e){return 146097*e/4800}function ka(e){return function(){return this.as(e)}}function ja(e){return function(){return this.isValid()?this._data[e]:NaN}}function Ja(e,t,a,s,n){return n.relativeTime(t||1,!!a,e,s)}function Ia(e){return(0e)||+e}function Ra(){if(!this.isValid())return this.localeData().invalidDate();var e,t,a=$a(this._milliseconds)/1e3,s=$a(this._days),n=$a(this._months);e=k(a/60),t=k(e/60),a%=60,e%=60;var i=k(n/12),r=n%=12,d=s,o=t,_=e,m=a?a.toFixed(3).replace(/\.?0+$/,""):"",l=this.asSeconds();if(!l)return"P0D";var u=0>l?"-":"",h=Ia(this._months)===Ia(l)?"":"-",c=Ia(this._days)===Ia(l)?"":"-",M=Ia(this._milliseconds)===Ia(l)?"":"-";return u+"P"+(i?h+i+"Y":"")+(r?h+r+"M":"")+(d?c+d+"D":"")+(o||_||m?"T":"")+(o?M+o+"H":"")+(_?M+_+"M":"")+(m?M+m+"S":"")}var t,a;a=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),a=t.length>>>0,s=0;s=e?""+e:"+"+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"),O("year","y"),F("year",1),me("Y",ie),me("YY",Q,G),me("YYYY",ae,q),me("YYYYY",se,K),me("YYYYYY",se,K),ce(["YYYYY","YYYYYY"],0),ce("YYYY",function(e,t){t[0]=2===e.length?s.parseTwoDigitYear(e):g(e)}),ce("YY",function(e,t){t[0]=s.parseTwoDigitYear(e)}),ce("Y",function(e,t){t[0]=parseInt(e,10)}),s.parseTwoDigitYear=function(e){return g(e)+(68this?this:e:M()}),Ht=["year","quarter","month","week","day","hour","minute","second","millisecond"];Ot("Z",":"),Ot("ZZ",""),me("Z",de),me("ZZ",de),ce(["Z","ZZ"],function(e,t,a){a._useUTC=!0,a._tzm=Wt(de,e)});var Et=/([\+\-]|\d\d)/gi;s.updateOffset=function(){};var zt=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Nt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;Jt.fn=xt.prototype,Jt.invalid=function(){return Jt(NaN)};var Vt=Rt(1,"add"),Gt=Rt(-1,"subtract");s.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",s.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Zt=v("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)});I(0,["gg",2],0,function(){return this.weekYear()%100}),I(0,["GG",2],0,function(){return this.isoWeekYear()%100}),ta("gggg","weekYear"),ta("ggggg","weekYear"),ta("GGGG","isoWeekYear"),ta("GGGGG","isoWeekYear"),O("weekYear","gg"),O("isoWeekYear","GG"),F("weekYear",1),F("isoWeekYear",1),me("G",ie),me("g",ie),me("GG",Q,G),me("gg",Q,G),me("GGGG",ae,q),me("gggg",ae,q),me("GGGGG",se,K),me("ggggg",se,K),Me(["gggg","ggggg","GGGG","GGGGG"],function(e,t,a,s){t[s.substr(0,2)]=g(e)}),Me(["gg","GG"],function(e,t,a,n){t[n]=s.parseTwoDigitYear(e)}),I("Q",0,"Qo","quarter"),O("quarter","Q"),F("quarter",7),me("Q",V),ce("Q",function(e,t){t[1]=3*(g(e)-1)}),I("D",["DD",2],"Do","date"),O("date","D"),F("date",9),me("D",Q),me("DD",Q,G),me("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),ce(["D","DD"],2),ce("Do",function(e,t){t[2]=g(e.match(Q)[0])});var na=ke("Date",!0);I("DDD",["DDDD",3],"DDDo","dayOfYear"),O("dayOfYear","DDD"),F("dayOfYear",4),me("DDD",te),me("DDDD",B),ce(["DDD","DDDD"],function(e,t,a){a._dayOfYear=g(e)}),I("m",["mm",2],0,"minute"),O("minute","m"),F("minute",14),me("m",Q),me("mm",Q,G),ce(["m","mm"],4);var ia=ke("Minutes",!1);I("s",["ss",2],0,"second"),O("second","s"),F("second",15),me("s",Q),me("ss",Q,G),ce(["s","ss"],5);var ra,da=ke("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()}),O("millisecond","ms"),F("millisecond",16),me("S",te,V),me("SS",te,G),me("SSS",te,B),ra="SSSS";9>=ra.length;ra+="S")me(ra,ne);for(ra="S";9>=ra.length;ra+="S")ce(ra,oa);var _a=ke("Milliseconds",!1);I("z",0,0,"zoneAbbr"),I("zz",0,0,"zoneName");var ma=p.prototype;ma.add=Vt,ma.calendar=function(e,t){var a=e||vt(),n=At(a,this).startOf("day"),i=s.calendarFormat(this,n)||"sameElse",r=t&&(H(t[i])?t[i].call(this,a):t[i]);return this.format(r||this.localeData().calendar(i,this,vt(a)))},ma.clone=function(){return new p(this)},ma.diff=function(e,t,a){var s,n,i;if(!this.isValid())return NaN;if(!(s=At(e,this)).isValid())return NaN;switch(n=6e4*(s.utcOffset()-this.utcOffset()),t=E(t)){case"year":i=Bt(this,s)/12;break;case"month":i=Bt(this,s);break;case"quarter":i=Bt(this,s)/3;break;case"second":i=(this-s)/1e3;break;case"minute":i=(this-s)/6e4;break;case"hour":i=(this-s)/36e5;break;case"day":i=(this-s-n)/864e5;break;case"week":i=(this-s-n)/6048e5;break;default:i=this-s;}return a?i:k(i)},ma.endOf=function(e){var t;if(void 0===(e=E(e))||"millisecond"===e||!this.isValid())return this;var a=this._isUTC?ea:Xt;return"year"===e?t=a(this.year()+1,0,1)-1:"quarter"===e?t=a(this.year(),this.month()-this.month()%3+3,1)-1:"month"===e?t=a(this.year(),this.month()+1,1)-1:"week"===e?t=a(this.year(),this.month(),this.date()-this.weekday()+7)-1:"isoWeek"===e?t=a(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1:"day"===e||"date"===e?t=a(this.year(),this.month(),this.date()+1)-1:"hour"===e?(t=this._d.valueOf(),t+=36e5-Qt(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1):"minute"===e?(t=this._d.valueOf(),t+=6e4-Qt(t,6e4)-1):"second"===e?(t=this._d.valueOf(),t+=1e3-Qt(t,1e3)-1):void 0,this._d.setTime(t),s.updateOffset(this,!0),this},ma.format=function(e){e||(e=this.isUtc()?s.defaultFormatUtc:s.defaultFormat);var t=R(this,e);return this.localeData().postformat(t)},ma.from=function(e,t){return this.isValid()&&(f(e)&&e.isValid()||vt(e).isValid())?Jt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},ma.fromNow=function(e){return this.from(vt(),e)},ma.to=function(e,t){return this.isValid()&&(f(e)&&e.isValid()||vt(e).isValid())?Jt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},ma.toNow=function(e){return this.to(vt(),e)},ma.get=function(e){return H(this[e=E(e)])?this[e]():this},ma.invalidAt=function(){return h(this).overflow},ma.isAfter=function(e,t){var a=f(e)?e:vt(e);return this.isValid()&&a.isValid()&&("millisecond"===(t=E(t)||"millisecond")?this.valueOf()>a.valueOf():a.valueOf()a.year()||9999=this.year()?"YYYY":"YYYYYY",n=t+"[\")]";return this.format(a+s+"-MM-DD[T]HH:mm:ss.SSS"+n)},ma.toJSON=function(){return this.isValid()?this.toISOString():null},ma.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},ma.unix=function(){return _Mathfloor(this.valueOf()/1e3)},ma.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},ma.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},ma.year=fe,ma.isLeapYear=function(){return Ye(this.year())},ma.weekYear=function(e){return aa.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},ma.isoWeekYear=function(e){return aa.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},ma.quarter=ma.quarters=function(e){return null==e?_Mathceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},ma.month=xe,ma.daysInMonth=function(){return Te(this.year(),this.month())},ma.week=ma.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},ma.isoWeek=ma.isoWeeks=function(e){var t=Ce(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},ma.weeksInYear=function(){var e=this.localeData()._week;return ze(this.year(),e.dow,e.doy)},ma.isoWeeksInYear=function(){return ze(this.year(),1,4)},ma.date=na,ma.day=ma.days=function(e){if(!this.isValid())return null==e?NaN:this;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null==e?t:(e=function(e,t){return"string"==typeof e?isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10):e}(e,this.localeData()),this.add(e-t,"d"))},ma.weekday=function(e){if(!this.isValid())return null==e?NaN:this;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},ma.isoWeekday=function(e){if(!this.isValid())return null==e?NaN:this;if(null!=e){var t=function(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7},ma.dayOfYear=function(e){var t=_Mathround((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},ma.hour=ma.hours=Xe,ma.minute=ma.minutes=ia,ma.second=ma.seconds=da,ma.millisecond=ma.milliseconds=_a,ma.utcOffset=function(e,t,a){var n,i=this._offset||0;if(!this.isValid())return null==e?NaN:this;if(null!=e){if("string"!=typeof e)16>_Mathabs(e)&&!a&&(e*=60);else if(null===(e=Wt(de,e)))return this;return!this._isUTC&&t&&(n=Ft(this)),this._offset=e,this._isUTC=!0,null!=n&&this.add(n,"m"),i!==e&&(!t||this._changeInProgress?Ut(this,Jt(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,s.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?i:Ft(this)},ma.utc=function(e){return this.utcOffset(0,e)},ma.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Ft(this),"m")),this},ma.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=Wt(re,this._i);null==e?this.utcOffset(0,!0):this.utcOffset(e)}return this},ma.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?vt(e).utcOffset():0,0==(this.utcOffset()-e)%60)},ma.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},ma.isLocal=function(){return!!this.isValid()&&!this._isUTC},ma.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},ma.isUtc=Ct,ma.isUTC=Ct,ma.zoneAbbr=function(){return this._isUTC?"UTC":""},ma.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},ma.dates=v("dates accessor is deprecated. Use date instead.",na),ma.months=v("months accessor is deprecated. Use month instead",xe),ma.years=v("years accessor is deprecated. Use year instead",fe),ma.zone=v("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null==e?-this.utcOffset():("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this)}),ma.isDSTShifted=v("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!r(this._isDSTShifted))return this._isDSTShifted;var e={};if(y(e,this),(e=Dt(e))._a){var t=e._isUTC?u(e._a):vt(e._a);this._isDSTShifted=this.isValid()&&0s;s++){if(n=u([2e3,s]),a&&!this._longMonthsParse[s]&&(this._longMonthsParse[s]=new RegExp("^"+this.months(n,"").replace(".","")+"$","i"),this._shortMonthsParse[s]=new RegExp("^"+this.monthsShort(n,"").replace(".","")+"$","i")),a||this._monthsParse[s]||(i="^"+this.months(n,"")+"|^"+this.monthsShort(n,""),this._monthsParse[s]=new RegExp(i.replace(".",""),"i")),a&&"MMMM"===t&&this._longMonthsParse[s].test(e))return s;if(a&&"MMM"===t&&this._shortMonthsParse[s].test(e))return s;if(!a&&this._monthsParse[s].test(e))return s}},ua.monthsRegex=function(e){return this._monthsParseExact?(m(this,"_monthsRegex")||Oe.call(this),e?this._monthsStrictRegex:this._monthsRegex):(m(this,"_monthsRegex")||(this._monthsRegex=oe),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},ua.monthsShortRegex=function(e){return this._monthsParseExact?(m(this,"_monthsRegex")||Oe.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(m(this,"_monthsShortRegex")||(this._monthsShortRegex=oe),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},ua.week=function(e){return Ce(e,this._week.dow,this._week.doy).week},ua.firstDayOfYear=function(){return this._week.doy},ua.firstDayOfWeek=function(){return this._week.dow},ua.weekdays=function(e,t){var a=n(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Ne(a,this._week.dow):e?a[e.day()]:a},ua.weekdaysMin=function(e){return!0===e?Ne(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},ua.weekdaysShort=function(e){return!0===e?Ne(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},ua.weekdaysParse=function(e,t,a){var s,n,i;if(this._weekdaysParseExact)return Re.call(this,e,t,a);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),s=0;7>s;s++){if(n=u([2e3,1]).day(s),a&&!this._fullWeekdaysParse[s]&&(this._fullWeekdaysParse[s]=new RegExp("^"+this.weekdays(n,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[s]=new RegExp("^"+this.weekdaysShort(n,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[s]=new RegExp("^"+this.weekdaysMin(n,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[s]||(i="^"+this.weekdays(n,"")+"|^"+this.weekdaysShort(n,"")+"|^"+this.weekdaysMin(n,""),this._weekdaysParse[s]=new RegExp(i.replace(".",""),"i")),a&&"dddd"===t&&this._fullWeekdaysParse[s].test(e))return s;if(a&&"ddd"===t&&this._shortWeekdaysParse[s].test(e))return s;if(a&&"dd"===t&&this._minWeekdaysParse[s].test(e))return s;if(!a&&this._weekdaysParse[s].test(e))return s}},ua.weekdaysRegex=function(e){return this._weekdaysParseExact?(m(this,"_weekdaysRegex")||Be.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(m(this,"_weekdaysRegex")||(this._weekdaysRegex=oe),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},ua.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(m(this,"_weekdaysRegex")||Be.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(m(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=oe),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},ua.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(m(this,"_weekdaysRegex")||Be.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(m(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=oe),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},ua.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},ua.meridiem=function(e,t,a){return 11=i&&0>=r&&0>=d||(i+=864e5*Ya(fa(d)+r),r=0,d=0),o.milliseconds=i%1e3,e=k(i/1e3),o.seconds=e%60,t=k(e/60),o.minutes=t%60,a=k(t/60),o.hours=a%24,r+=k(a/24),n=k(pa(r)),d+=n,r-=Ya(fa(n)),s=k(d/12),d%=12,o.days=r,o.months=d,o.years=s,this},Ua.clone=function(){return Jt(this)},Ua.get=function(e){return e=E(e),this.isValid()?this[e+"s"]():NaN},Ua.milliseconds=Pa,Ua.seconds=Oa,Ua.minutes=Ea,Ua.hours=Wa,Ua.days=Aa,Ua.weeks=function(){return k(this.days()/7)},Ua.months=Fa,Ua.years=Ca,Ua.humanize=function(e){if(!this.isValid())return this.localeData().invalidDate();var t=this.localeData(),a=function(e,t,a){var s=Jt(e).abs(),n=za(s.as("s")),i=za(s.as("m")),r=za(s.as("h")),d=za(s.as("d")),o=za(s.as("M")),_=za(s.as("y")),m=n<=Na.ss&&["s",n]||n=i&&["m"]||i=r&&["h"]||r=d&&["d"]||d=o&&["M"]||o=_&&["y"]||["yy",_];return m[2]=t,m[3]=0<+e,m[4]=a,Ja.apply(null,m)}(this,!e,t);return e&&(a=t.pastFuture(+this,a)),t.postformat(a)},Ua.toISOString=Ra,Ua.toString=Ra,Ua.toJSON=Ra,Ua.locale=qt,Ua.localeData=Kt,Ua.toIsoString=v("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Ra),Ua.lang=Zt,I("X",0,0,"unix"),I("x",0,0,"valueOf"),me("x",ie),me("X",/[+-]?\d+(\.\d{1,3})?/),ce("X",function(e,t,a){a._d=new Date(1e3*parseFloat(e,10))}),ce("x",function(e,t,a){a._d=new Date(g(e))}),s.version="2.24.0",t=vt,s.fn=ma,s.min=function(){var e=[].slice.call(arguments,0);return bt("isBefore",e)},s.max=function(){var e=[].slice.call(arguments,0);return bt("isAfter",e)},s.now=function(){return Date.now?Date.now():+new Date},s.utc=u,s.unix=function(e){return vt(1e3*e)},s.months=function(e,t){return ca(e,t,"months")},s.isDate=o,s.locale=it,s.invalid=M,s.duration=Jt,s.isMoment=f,s.weekdays=function(e,t,a){return Ma(e,t,a,"weekdays")},s.parseZone=function(){return vt.apply(null,arguments).parseZone()},s.localeData=dt,s.isDuration=jt,s.monthsShort=function(e,t){return ca(e,t,"monthsShort")},s.weekdaysMin=function(e,t,a){return Ma(e,t,a,"weekdaysMin")},s.defineLocale=rt,s.updateLocale=function(e,t){if(null!=t){var a,s,n=et;null!=(s=nt(e))&&(n=s._config),(a=new j(t=x(n,t))).parentLocale=tt[e],tt[e]=a,it(e)}else null!=tt[e]&&(null==tt[e].parentLocale?null!=tt[e]&&delete tt[e]:tt[e]=tt[e].parentLocale);return tt[e]},s.locales=function(){return w(tt)},s.weekdaysShort=function(e,t,a){return Ma(e,t,a,"weekdaysShort")},s.normalizeUnits=E,s.relativeTimeRounding=function(e){return void 0===e?za:"function"==typeof e&&(za=e,!0)},s.relativeTimeThreshold=function(e,t){return void 0!==Na[e]&&(void 0===t?Na[e]:(Na[e]=t,"s"===e&&(Na.ss=t-1),!0))},s.calendarFormat=function(e,t){var a=e.diff(t,"days",!0);return-6>a?"sameElse":-1>a?"lastWeek":0>a?"lastDay":1>a?"sameDay":2>a?"nextDay":7>a?"nextWeek":"sameElse"},s.prototype=ma,s.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"},s}()});K(function(){var _Mathfloor2=Math.floor;(function(e){function M(e,t,a){return"m"===a?t?"\u0445\u0432\u0456\u043B\u0456\u043D\u0430":"\u0445\u0432\u0456\u043B\u0456\u043D\u0443":"h"===a?t?"\u0433\u0430\u0434\u0437\u0456\u043D\u0430":"\u0433\u0430\u0434\u0437\u0456\u043D\u0443":e+" "+//! moment.js locale configuration + */(window.litElementVersions||(window.litElementVersions=[])).push("2.3.1");const G={};class B extends U{static getStyles(){return this.styles}static _getUniqueStyles(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_styles",this))){const e=this.getStyles();if(void 0===e)this._styles=[];else if(Array.isArray(e)){const t=(e,a)=>e.reduceRight((e,a)=>Array.isArray(a)?t(a,e):(e.add(a),e),a),a=t(e,new Set),s=[];a.forEach(e=>s.unshift(e)),this._styles=s}else this._styles=[e]}}initialize(){super.initialize(),this.constructor._getUniqueStyles(),this.renderRoot=this.createRenderRoot(),window.ShadowRoot&&this.renderRoot instanceof window.ShadowRoot&&this.adoptStyles()}createRenderRoot(){return this.attachShadow({mode:"open"})}adoptStyles(){const e=this.constructor._styles;0!==e.length&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow?V?this.renderRoot.adoptedStyleSheets=e.map(e=>e.styleSheet):this._needsShimAdoptedStyleSheets=!0:window.ShadyCSS.ScopingShim.prepareAdoptedCssText(e.map(e=>e.cssText),this.localName))}connectedCallback(){super.connectedCallback(),this.hasUpdated&&void 0!==window.ShadyCSS&&window.ShadyCSS.styleElement(this)}update(e){const t=this.render();super.update(e),t!==G&&this.constructor.render(t,this.renderRoot,{scopeName:this.localName,eventContext:this}),this._needsShimAdoptedStyleSheets&&(this._needsShimAdoptedStyleSheets=!1,this.constructor._styles.forEach(e=>{const t=document.createElement("style");t.textContent=e.cssText,this.renderRoot.appendChild(t)}))}render(){return G}}B.finalized=!0,B.render=(e,a,s)=>{if(!s||"object"!=typeof s||!s.scopeName)throw new Error("The `scopeName` option is required.");const n=s.scopeName,i=O.has(a),r=F&&11===a.nodeType&&!!a.host,d=r&&!N.has(n),o=d?document.createDocumentFragment():a;if(((e,a,s)=>{let n=O.get(a);void 0===n&&(t(a,a.firstChild),O.set(a,n=new T(Object.assign({templateFactory:j},s))),n.appendInto(a)),n.setValue(e),n.commit()})(e,o,Object.assign({templateFactory:C(n)},s)),d){const e=O.get(o);O.delete(o);const s=e.value instanceof y?e.value.template:void 0;J(n,o,s),t(a,a.firstChild),a.appendChild(o),O.set(a,e)}!i&&r&&window.ShadyCSS.styleElement(a.host)},"undefined"==typeof globalThis?"undefined"==typeof window?"undefined"==typeof global?"undefined"!=typeof self&&self:global:window:globalThis;function q(){throw new Error("Dynamic requires are not currently supported by rollup-plugin-commonjs")}function Z(e,t){return e(t={exports:{}},t.exports),t.exports}var K=Z(function(e){var _Mathfloor=Math.floor;e.exports=function(){var _Mathround=Math.round,_Mathabs=Math.abs,_Mathmin=Math.min,_Mathceil=Math.ceil;function s(){return t.apply(null,arguments)}function n(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function i(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function r(e){return void 0===e}function d(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function o(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function _(e,t){var a,s=[];for(a=0;at.overflow&&!t.empty&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&s);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 M(e){var t=u(NaN);return null==e?h(t).userInvalidated=!0:l(h(t),e),t}function y(e,t){var a,s,n;if(r(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),r(t._i)||(e._i=t._i),r(t._f)||(e._f=t._f),r(t._l)||(e._l=t._l),r(t._strict)||(e._strict=t._strict),r(t._tzm)||(e._tzm=t._tzm),r(t._isUTC)||(e._isUTC=t._isUTC),r(t._offset)||(e._offset=t._offset),r(t._pf)||(e._pf=h(t)),r(t._locale)||(e._locale=t._locale),0e?_Mathceil(e)||0:_Mathfloor(e)}function k(e){var t=+e,a=0;return 0!=t&&isFinite(t)&&(a=g(t)),a}function D(e,t,a){var s,n=_Mathmin(e.length,t.length),i=_Mathabs(e.length-t.length),r=0;for(s=0;ss;++s)i=u([2e3,s]),this._shortMonthsParse[s]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[s]=this.months(i,"").toLocaleLowerCase();return a?"MMM"===t?-1===(n=pe.call(this._shortMonthsParse,r))?null:n:-1===(n=pe.call(this._longMonthsParse,r))?null:n:"MMM"===t?-1!==(n=pe.call(this._shortMonthsParse,r))||-1!==(n=pe.call(this._longMonthsParse,r))?n:null:-1!==(n=pe.call(this._longMonthsParse,r))||-1!==(n=pe.call(this._shortMonthsParse,r))?n:null}function He(e,t){var a;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=k(t);else if(!d(t=e.localeData().monthsParse(t)))return e;return a=_Mathmin(e.date(),Te(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,a),e}function xe(e){return null==e?ke(this,"Month"):(He(this,e),s.updateOffset(this,!0),this)}function Oe(){function e(e,t){return t.length-e.length}var t,a,s=[],n=[],i=[];for(t=0;12>t;t++)a=u([2e3,t]),s.push(this.monthsShort(a,"")),n.push(this.months(a,"")),i.push(this.months(a,"")),i.push(this.monthsShort(a,""));for(s.sort(e),n.sort(e),i.sort(e),t=0;12>t;t++)s[t]=ue(s[t]),n[t]=ue(n[t]);for(t=0;24>t;t++)i[t]=ue(i[t]);this._monthsRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+s.join("|")+")","i")}function Ee(e,t,a,s,n,i,r){var d;return 100>e&&0<=e?(d=new Date(e+400,t,a,s,n,i,r),isFinite(d.getFullYear())&&d.setFullYear(e)):d=new Date(e,t,a,s,n,i,r),d}function We(e){var t;if(100>e&&0<=e){var a=Array.prototype.slice.call(arguments);a[0]=e+400,t=new Date(Date.UTC.apply(null,a)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)}else t=new Date(Date.UTC.apply(null,arguments));return t}function Ae(e,t,a){var s=7+t-a;return-(7+We(e,0,s).getUTCDay()-t)%7+s-1}function Fe(e,t,a,s,n){var i,r,d=1+7*(t-1)+(7+a-s)%7+Ae(e,s,n);return 0>=d?r=ye(i=e-1)+d:d>ye(e)?(i=e+1,r=d-ye(e)):(i=e,r=d),{year:i,dayOfYear:r}}function Ce(e,t,a){var s,n,i=Ae(e.year(),t,a),r=_Mathfloor((e.dayOfYear()-i-1)/7)+1;return 1>r?s=r+ze(n=e.year()-1,t,a):r>ze(e.year(),t,a)?(s=r-ze(e.year(),t,a),n=e.year()+1):(n=e.year(),s=r),{week:s,year:n}}function ze(e,t,a){var s=Ae(e,t,a),n=Ae(e+1,t,a);return(ye(e)-s+n)/7}function Ne(e,t){return e.slice(t,7).concat(e.slice(0,t))}function Re(e,t,a){var s,n,i,r=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],s=0;7>s;++s)i=u([2e3,1]).day(s),this._minWeekdaysParse[s]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[s]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[s]=this.weekdays(i,"").toLocaleLowerCase();return a?"dddd"===t?-1===(n=pe.call(this._weekdaysParse,r))?null:n:"ddd"===t?-1===(n=pe.call(this._shortWeekdaysParse,r))?null:n:-1===(n=pe.call(this._minWeekdaysParse,r))?null:n:"dddd"===t?-1!==(n=pe.call(this._weekdaysParse,r))||-1!==(n=pe.call(this._shortWeekdaysParse,r))||-1!==(n=pe.call(this._minWeekdaysParse,r))?n:null:"ddd"===t?-1!==(n=pe.call(this._shortWeekdaysParse,r))||-1!==(n=pe.call(this._weekdaysParse,r))||-1!==(n=pe.call(this._minWeekdaysParse,r))?n:null:-1!==(n=pe.call(this._minWeekdaysParse,r))||-1!==(n=pe.call(this._weekdaysParse,r))||-1!==(n=pe.call(this._shortWeekdaysParse,r))?n:null}function Be(){function e(e,t){return t.length-e.length}var t,a,s,n,i,r=[],d=[],o=[],_=[];for(t=0;7>t;t++)a=u([2e3,1]).day(t),s=this.weekdaysMin(a,""),n=this.weekdaysShort(a,""),i=this.weekdays(a,""),r.push(s),d.push(n),o.push(i),_.push(s),_.push(n),_.push(i);for(r.sort(e),d.sort(e),o.sort(e),_.sort(e),t=0;7>t;t++)d[t]=ue(d[t]),o[t]=ue(o[t]),_[t]=ue(_[t]);this._weekdaysRegex=new RegExp("^("+_.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+d.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+r.join("|")+")","i")}function qe(){return this.hours()%12||12}function Ze(e,t){I(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function Ke(e,t){return t._meridiemParse}function st(e){return e?e.toLowerCase().replace("_","-"):e}function nt(t){var a=null;if(!tt[t]&&e&&e.exports)try{a=Qe._abbr,q(),it(a)}catch(e){}return tt[t]}function it(e,t){var a;return e&&((a=r(t)?dt(e):rt(e,t))?Qe=a:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Qe._abbr}function rt(e,t){if(null!==t){var a,s=et;if(t.abbr=e,null!=tt[e])b("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."),s=tt[e]._config;else if(null!=t.parentLocale)if(null!=tt[t.parentLocale])s=tt[t.parentLocale]._config;else{if(null==(a=nt(t.parentLocale)))return at[t.parentLocale]||(at[t.parentLocale]=[]),at[t.parentLocale].push({name:e,config:t}),null;s=a._config}return tt[e]=new j(x(s,t)),at[e]&&at[e].forEach(function(e){rt(e.name,e.config)}),it(e),tt[e]}return delete tt[e],null}function dt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Qe;if(!n(e)){if(t=nt(e))return t;e=[e]}return function(e){for(var t,a,s,n,i=0;i=t&&D(n,a,!0)>=t-1)break;t--}i++}return Qe}(e)}function ot(e){var t,a=e._a;return a&&-2===h(e).overflow&&(t=0>a[1]||11a[2]||a[2]>Te(a[0],a[1])?2:0>a[3]||24a[4]||59a[5]||59a[6]||999t||2(n=_t(t.E,1))||7t.e||6(n=t.d)||6s||s>ze(a,i,r)?h(e)._overflowWeeks=!0:null==o?(d=Fe(a,s,n,i,r),e._a[0]=d.year,e._dayOfYear=d.dayOfYear):h(e)._overflowWeekday=!0}(e),null!=e._dayOfYear&&(r=_t(e._a[0],n[0]),(e._dayOfYear>ye(r)||0===e._dayOfYear)&&(h(e)._overflowDayOfYear=!0),a=We(r,0,e._dayOfYear),e._a[1]=a.getUTCMonth(),e._a[2]=a.getUTCDate()),t=0;3>t&&null==e._a[t];++t)e._a[t]=d[t]=n[t];for(;7>t;t++)e._a[t]=d[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[3]&&0===e._a[4]&&0===e._a[5]&&0===e._a[6]&&(e._nextDay=!0,e._a[3]=0),e._d=(e._useUTC?We:Ee).apply(null,d),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[3]=24),e._w&&void 0!==e._w.d&&e._w.d!==i&&(h(e).weekdayMismatch=!0)}}function yt(e){var t,a,s,n,i,r,d=e._i,o=lt.exec(d)||ut.exec(d);if(o){for(h(e).iso=!0,t=0,a=ct.length;t=t?2e3+t:999>=t?1900+t:t}function gt(e){var t,a,s,n,i,r,d,o=Yt.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(o){var _=(t=o[4],a=o[3],s=o[2],n=o[5],i=o[6],r=o[7],d=[pt(t),Se.indexOf(a),parseInt(s,10),parseInt(n,10),parseInt(i,10)],r&&d.push(parseInt(r,10)),d);if(!function(e,t,a){return!e||$e.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(h(a).weekdayMismatch=!0,a._isValid=!1,!1)}(o[1],_,e))return;e._a=_,e._tzm=function(e,t,a){if(e)return ft[e];if(t)return 0;var s=parseInt(a,10),n=s%100;return 60*((s-n)/100)+n}(o[8],o[9],o[10]),e._d=We.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),h(e).rfc2822=!0}else e._isValid=!1}function kt(e){if(!(e._f!==s.ISO_8601))yt(e);else if(e._f!==s.RFC_2822){e._a=[],h(e).empty=!0;var t,a,n,i,r,d=""+e._i,o=d.length,_=0;for(n=U(e._f,e._locale).match(z)||[],t=0;t=e._a[3]&&!0===h(e).bigHour&&0t&&(t+=12),s||12!==t||(t=0),t):e.meridiemHour(t,a)}(e._locale,e._a[3],e._meridiem),mt(e),ot(e)}else gt(e)}function Dt(e){var t=e._i,a=e._f;return e._locale=e._locale||dt(e._l),null===t||void 0===a&&""===t?M({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),f(t)?new p(ot(t)):(o(t)?e._d=t:n(a)?function(e){var t,a,s,n,i;if(0===e._f.length)return h(e).invalidFormat=!0,void(e._d=new Date(NaN));for(n=0;ne?-1*_Mathround(-1*e):_Mathround(e)}function Ot(e,t){I(e,0,0,function(){var e=this.utcOffset(),a="+";return 0>e&&(e=-e,a="-"),a+C(~~(e/60),2)+t+C(~~e%60,2)})}function Wt(e,t){var a=(t||"").match(e);if(null===a)return null;var s=((a[a.length-1]||[])+"").match(Et)||["-",0,0],n=60*s[1]+k(s[2]);return 0===n?0:"+"===s[0]?n:-n}function At(e,t){var a,n;return t._isUTC?(a=t.clone(),n=(f(e)||o(e)?e.valueOf():vt(e).valueOf())-a.valueOf(),a._d.setTime(a._d.valueOf()+n),s.updateOffset(a,!1),a):vt(e).local()}function Ft(e){return 15*-_Mathround(e._d.getTimezoneOffset()/15)}function Ct(){return!!this.isValid()&&this._isUTC&&0===this._offset}function Jt(e,t){var a,s,n,i,r,o,_=e,l=null;return jt(e)?_={ms:e._milliseconds,d:e._days,M:e._months}:d(e)?(_={},t?_[t]=e:_.milliseconds=e):(l=zt.exec(e))?(a="-"===l[1]?-1:1,_={y:0,d:k(l[2])*a,h:k(l[3])*a,m:k(l[4])*a,s:k(l[5])*a,ms:k(Pt(1e3*l[6]))*a}):(l=Nt.exec(e))?(a="-"===l[1]?-1:1,_={y:$t(l[2],a),M:$t(l[3],a),w:$t(l[4],a),d:$t(l[5],a),h:$t(l[6],a),m:$t(l[7],a),s:$t(l[8],a)}):null==_?_={}:"object"==typeof _&&("from"in _||"to"in _)&&(i=vt(_.from),r=vt(_.to),n=i.isValid()&&r.isValid()?(r=At(r,i),i.isBefore(r)?o=It(i,r):((o=It(r,i)).milliseconds=-o.milliseconds,o.months=-o.months),o):{milliseconds:0,months:0},(_={}).ms=n.milliseconds,_.M=n.months),s=new xt(_),jt(e)&&m(e,"_locale")&&(s._locale=e._locale),s}function $t(e,t){var a=e&&parseFloat(e.replace(",","."));return(isNaN(a)?0:a)*t}function It(e,t){var a={};return a.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(a.months,"M").isAfter(t)&&--a.months,a.milliseconds=+t-+e.clone().add(a.months,"M"),a}function Rt(e,t){return function(a,s){var n;return null===s||isNaN(+s)||(b(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),n=a,a=s,s=n),Ut(this,Jt(a="string"==typeof a?+a:a,s),e),this}}function Ut(e,t,a,n){var i=t._milliseconds,r=Pt(t._days),d=Pt(t._months);e.isValid()&&(n=null==n||n,d&&He(e,ke(e,"Month")+d*a),r&&De(e,"Date",ke(e,"Date")+r*a),i&&e._d.setTime(e._d.valueOf()+i*a),n&&s.updateOffset(e,r||d))}function Bt(e,t){var a=12*(t.year()-e.year())+(t.month()-e.month()),s=e.clone().add(a,"months");return-(a+(0>t-s?(t-s)/(s-e.clone().add(a-1,"months")):(t-s)/(e.clone().add(a+1,"months")-s)))||0}function qt(e){var t;return void 0===e?this._locale._abbr:(null!=(t=dt(e))&&(this._locale=t),this)}function Kt(){return this._locale}function Qt(e,t){return(e%t+t)%t}function Xt(e,t,a){return 100>e&&0<=e?new Date(e+400,t,a)-126227808e5:new Date(e,t,a).valueOf()}function ea(e,t,a){return 100>e&&0<=e?Date.UTC(e+400,t,a)-126227808e5:Date.UTC(e,t,a)}function ta(e,t){I(0,[e,e.length],0,t)}function aa(e,t,a,s,n){var i;return null==e?Ce(this,s,n).year:(t>(i=ze(e,s,n))&&(t=i),sa.call(this,e,t,a,s,n))}function sa(e,t,a,s,n){var i=Fe(e,t,a,s,n),r=We(i.year,0,i.dayOfYear);return this.year(r.getUTCFullYear()),this.month(r.getUTCMonth()),this.date(r.getUTCDate()),this}function oa(e,t){t[6]=k(1e3*("0."+e))}function la(e){return e}function ha(e,t,a,s){var n=dt(),i=u().set(s,t);return n[a](i,e)}function ca(e,t,a){if(d(e)&&(t=e,e=void 0),e=e||"",null!=t)return ha(e,t,a,"month");var s,n=[];for(s=0;12>s;s++)n[s]=ha(e,s,a,"month");return n}function Ma(e,t,a,s){"boolean"==typeof e?(d(t)&&(a=t,t=void 0),t=t||""):(a=t=e,e=!1,d(t)&&(a=t,t=void 0),t=t||"");var n,i=dt(),r=e?i._week.dow:0;if(null!=a)return ha(t,(a+r)%7,s,"day");var o=[];for(n=0;7>n;n++)o[n]=ha(t,(n+r)%7,s,"day");return o}function ya(e,t,a,s){var n=Jt(t,a);return e._milliseconds+=s*n._milliseconds,e._days+=s*n._days,e._months+=s*n._months,e._bubble()}function Ya(e){return 0>e?_Mathfloor(e):_Mathceil(e)}function pa(e){return 4800*e/146097}function fa(e){return 146097*e/4800}function ga(e){return function(){return this.as(e)}}function ja(e){return function(){return this.isValid()?this._data[e]:NaN}}function Ja(e,t,a,s,n){return n.relativeTime(t||1,!!a,e,s)}function Ia(e){return(0e)||+e}function Ra(){if(!this.isValid())return this.localeData().invalidDate();var e,t,a=$a(this._milliseconds)/1e3,s=$a(this._days),n=$a(this._months);e=g(a/60),t=g(e/60),a%=60,e%=60;var i=g(n/12),r=n%=12,d=s,o=t,_=e,m=a?a.toFixed(3).replace(/\.?0+$/,""):"",l=this.asSeconds();if(!l)return"P0D";var u=0>l?"-":"",h=Ia(this._months)===Ia(l)?"":"-",c=Ia(this._days)===Ia(l)?"":"-",M=Ia(this._milliseconds)===Ia(l)?"":"-";return u+"P"+(i?h+i+"Y":"")+(r?h+r+"M":"")+(d?c+d+"D":"")+(o||_||m?"T":"")+(o?M+o+"H":"")+(_?M+_+"M":"")+(m?M+m+"S":"")}var t,a;a=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),a=t.length>>>0,s=0;s=e?""+e:"+"+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"),O("year","y"),F("year",1),me("Y",ie),me("YY",Q,G),me("YYYY",ae,Z),me("YYYYY",se,K),me("YYYYYY",se,K),ce(["YYYYY","YYYYYY"],0),ce("YYYY",function(e,t){t[0]=2===e.length?s.parseTwoDigitYear(e):k(e)}),ce("YY",function(e,t){t[0]=s.parseTwoDigitYear(e)}),ce("Y",function(e,t){t[0]=parseInt(e,10)}),s.parseTwoDigitYear=function(e){return k(e)+(68this?this:e:M()}),Ht=["year","quarter","month","week","day","hour","minute","second","millisecond"];Ot("Z",":"),Ot("ZZ",""),me("Z",de),me("ZZ",de),ce(["Z","ZZ"],function(e,t,a){a._useUTC=!0,a._tzm=Wt(de,e)});var Et=/([\+\-]|\d\d)/gi;s.updateOffset=function(){};var zt=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Nt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;Jt.fn=xt.prototype,Jt.invalid=function(){return Jt(NaN)};var Vt=Rt(1,"add"),Gt=Rt(-1,"subtract");s.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",s.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Zt=v("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)});I(0,["gg",2],0,function(){return this.weekYear()%100}),I(0,["GG",2],0,function(){return this.isoWeekYear()%100}),ta("gggg","weekYear"),ta("ggggg","weekYear"),ta("GGGG","isoWeekYear"),ta("GGGGG","isoWeekYear"),O("weekYear","gg"),O("isoWeekYear","GG"),F("weekYear",1),F("isoWeekYear",1),me("G",ie),me("g",ie),me("GG",Q,G),me("gg",Q,G),me("GGGG",ae,Z),me("gggg",ae,Z),me("GGGGG",se,K),me("ggggg",se,K),Me(["gggg","ggggg","GGGG","GGGGG"],function(e,t,a,s){t[s.substr(0,2)]=k(e)}),Me(["gg","GG"],function(e,t,a,n){t[n]=s.parseTwoDigitYear(e)}),I("Q",0,"Qo","quarter"),O("quarter","Q"),F("quarter",7),me("Q",V),ce("Q",function(e,t){t[1]=3*(k(e)-1)}),I("D",["DD",2],"Do","date"),O("date","D"),F("date",9),me("D",Q),me("DD",Q,G),me("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),ce(["D","DD"],2),ce("Do",function(e,t){t[2]=k(e.match(Q)[0])});var na=ge("Date",!0);I("DDD",["DDDD",3],"DDDo","dayOfYear"),O("dayOfYear","DDD"),F("dayOfYear",4),me("DDD",te),me("DDDD",B),ce(["DDD","DDDD"],function(e,t,a){a._dayOfYear=k(e)}),I("m",["mm",2],0,"minute"),O("minute","m"),F("minute",14),me("m",Q),me("mm",Q,G),ce(["m","mm"],4);var ia=ge("Minutes",!1);I("s",["ss",2],0,"second"),O("second","s"),F("second",15),me("s",Q),me("ss",Q,G),ce(["s","ss"],5);var ra,da=ge("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()}),O("millisecond","ms"),F("millisecond",16),me("S",te,V),me("SS",te,G),me("SSS",te,B),ra="SSSS";9>=ra.length;ra+="S")me(ra,/\d+/);for(ra="S";9>=ra.length;ra+="S")ce(ra,oa);var _a=ge("Milliseconds",!1);I("z",0,0,"zoneAbbr"),I("zz",0,0,"zoneName");var ma=p.prototype;ma.add=Vt,ma.calendar=function(e,t){var a=e||vt(),n=At(a,this).startOf("day"),i=s.calendarFormat(this,n)||"sameElse",r=t&&(H(t[i])?t[i].call(this,a):t[i]);return this.format(r||this.localeData().calendar(i,this,vt(a)))},ma.clone=function(){return new p(this)},ma.diff=function(e,t,a){var s,n,i;if(!this.isValid())return NaN;if(!(s=At(e,this)).isValid())return NaN;switch(n=6e4*(s.utcOffset()-this.utcOffset()),t=E(t)){case"year":i=Bt(this,s)/12;break;case"month":i=Bt(this,s);break;case"quarter":i=Bt(this,s)/3;break;case"second":i=(this-s)/1e3;break;case"minute":i=(this-s)/6e4;break;case"hour":i=(this-s)/36e5;break;case"day":i=(this-s-n)/864e5;break;case"week":i=(this-s-n)/6048e5;break;default:i=this-s;}return a?i:g(i)},ma.endOf=function(e){var t;if(void 0===(e=E(e))||"millisecond"===e||!this.isValid())return this;var a=this._isUTC?ea:Xt;return"year"===e?t=a(this.year()+1,0,1)-1:"quarter"===e?t=a(this.year(),this.month()-this.month()%3+3,1)-1:"month"===e?t=a(this.year(),this.month()+1,1)-1:"week"===e?t=a(this.year(),this.month(),this.date()-this.weekday()+7)-1:"isoWeek"===e?t=a(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1:"day"===e||"date"===e?t=a(this.year(),this.month(),this.date()+1)-1:"hour"===e?(t=this._d.valueOf(),t+=36e5-Qt(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1):"minute"===e?(t=this._d.valueOf(),t+=6e4-Qt(t,6e4)-1):"second"===e?(t=this._d.valueOf(),t+=1e3-Qt(t,1e3)-1):void 0,this._d.setTime(t),s.updateOffset(this,!0),this},ma.format=function(e){e||(e=this.isUtc()?s.defaultFormatUtc:s.defaultFormat);var t=R(this,e);return this.localeData().postformat(t)},ma.from=function(e,t){return this.isValid()&&(f(e)&&e.isValid()||vt(e).isValid())?Jt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},ma.fromNow=function(e){return this.from(vt(),e)},ma.to=function(e,t){return this.isValid()&&(f(e)&&e.isValid()||vt(e).isValid())?Jt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},ma.toNow=function(e){return this.to(vt(),e)},ma.get=function(e){return H(this[e=E(e)])?this[e]():this},ma.invalidAt=function(){return h(this).overflow},ma.isAfter=function(e,t){var a=f(e)?e:vt(e);return this.isValid()&&a.isValid()&&("millisecond"===(t=E(t)||"millisecond")?this.valueOf()>a.valueOf():a.valueOf()a.year()||9999=this.year()?"YYYY":"YYYYYY",n=t+"[\")]";return this.format(a+s+"-MM-DD[T]HH:mm:ss.SSS"+n)},ma.toJSON=function(){return this.isValid()?this.toISOString():null},ma.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},ma.unix=function(){return _Mathfloor(this.valueOf()/1e3)},ma.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},ma.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},ma.year=fe,ma.isLeapYear=function(){return Ye(this.year())},ma.weekYear=function(e){return aa.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},ma.isoWeekYear=function(e){return aa.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},ma.quarter=ma.quarters=function(e){return null==e?_Mathceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},ma.month=xe,ma.daysInMonth=function(){return Te(this.year(),this.month())},ma.week=ma.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},ma.isoWeek=ma.isoWeeks=function(e){var t=Ce(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},ma.weeksInYear=function(){var e=this.localeData()._week;return ze(this.year(),e.dow,e.doy)},ma.isoWeeksInYear=function(){return ze(this.year(),1,4)},ma.date=na,ma.day=ma.days=function(e){if(!this.isValid())return null==e?NaN:this;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null==e?t:(e=function(e,t){return"string"==typeof e?isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10):e}(e,this.localeData()),this.add(e-t,"d"))},ma.weekday=function(e){if(!this.isValid())return null==e?NaN:this;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},ma.isoWeekday=function(e){if(!this.isValid())return null==e?NaN:this;if(null!=e){var t=function(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7},ma.dayOfYear=function(e){var t=_Mathround((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},ma.hour=ma.hours=Xe,ma.minute=ma.minutes=ia,ma.second=ma.seconds=da,ma.millisecond=ma.milliseconds=_a,ma.utcOffset=function(e,t,a){var n,i=this._offset||0;if(!this.isValid())return null==e?NaN:this;if(null!=e){if("string"!=typeof e)16>_Mathabs(e)&&!a&&(e*=60);else if(null===(e=Wt(de,e)))return this;return!this._isUTC&&t&&(n=Ft(this)),this._offset=e,this._isUTC=!0,null!=n&&this.add(n,"m"),i!==e&&(!t||this._changeInProgress?Ut(this,Jt(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,s.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?i:Ft(this)},ma.utc=function(e){return this.utcOffset(0,e)},ma.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Ft(this),"m")),this},ma.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=Wt(/Z|[+-]\d\d:?\d\d/gi,this._i);null==e?this.utcOffset(0,!0):this.utcOffset(e)}return this},ma.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?vt(e).utcOffset():0,0==(this.utcOffset()-e)%60)},ma.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},ma.isLocal=function(){return!!this.isValid()&&!this._isUTC},ma.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},ma.isUtc=Ct,ma.isUTC=Ct,ma.zoneAbbr=function(){return this._isUTC?"UTC":""},ma.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},ma.dates=v("dates accessor is deprecated. Use date instead.",na),ma.months=v("months accessor is deprecated. Use month instead",xe),ma.years=v("years accessor is deprecated. Use year instead",fe),ma.zone=v("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null==e?-this.utcOffset():("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this)}),ma.isDSTShifted=v("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!r(this._isDSTShifted))return this._isDSTShifted;var e={};if(y(e,this),(e=Dt(e))._a){var t=e._isUTC?u(e._a):vt(e._a);this._isDSTShifted=this.isValid()&&0s;s++){if(n=u([2e3,s]),a&&!this._longMonthsParse[s]&&(this._longMonthsParse[s]=new RegExp("^"+this.months(n,"").replace(".","")+"$","i"),this._shortMonthsParse[s]=new RegExp("^"+this.monthsShort(n,"").replace(".","")+"$","i")),a||this._monthsParse[s]||(i="^"+this.months(n,"")+"|^"+this.monthsShort(n,""),this._monthsParse[s]=new RegExp(i.replace(".",""),"i")),a&&"MMMM"===t&&this._longMonthsParse[s].test(e))return s;if(a&&"MMM"===t&&this._shortMonthsParse[s].test(e))return s;if(!a&&this._monthsParse[s].test(e))return s}},ua.monthsRegex=function(e){return this._monthsParseExact?(m(this,"_monthsRegex")||Oe.call(this),e?this._monthsStrictRegex:this._monthsRegex):(m(this,"_monthsRegex")||(this._monthsRegex=oe),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},ua.monthsShortRegex=function(e){return this._monthsParseExact?(m(this,"_monthsRegex")||Oe.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(m(this,"_monthsShortRegex")||(this._monthsShortRegex=oe),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},ua.week=function(e){return Ce(e,this._week.dow,this._week.doy).week},ua.firstDayOfYear=function(){return this._week.doy},ua.firstDayOfWeek=function(){return this._week.dow},ua.weekdays=function(e,t){var a=n(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Ne(a,this._week.dow):e?a[e.day()]:a},ua.weekdaysMin=function(e){return!0===e?Ne(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},ua.weekdaysShort=function(e){return!0===e?Ne(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},ua.weekdaysParse=function(e,t,a){var s,n,i;if(this._weekdaysParseExact)return Re.call(this,e,t,a);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),s=0;7>s;s++){if(n=u([2e3,1]).day(s),a&&!this._fullWeekdaysParse[s]&&(this._fullWeekdaysParse[s]=new RegExp("^"+this.weekdays(n,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[s]=new RegExp("^"+this.weekdaysShort(n,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[s]=new RegExp("^"+this.weekdaysMin(n,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[s]||(i="^"+this.weekdays(n,"")+"|^"+this.weekdaysShort(n,"")+"|^"+this.weekdaysMin(n,""),this._weekdaysParse[s]=new RegExp(i.replace(".",""),"i")),a&&"dddd"===t&&this._fullWeekdaysParse[s].test(e))return s;if(a&&"ddd"===t&&this._shortWeekdaysParse[s].test(e))return s;if(a&&"dd"===t&&this._minWeekdaysParse[s].test(e))return s;if(!a&&this._weekdaysParse[s].test(e))return s}},ua.weekdaysRegex=function(e){return this._weekdaysParseExact?(m(this,"_weekdaysRegex")||Be.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(m(this,"_weekdaysRegex")||(this._weekdaysRegex=oe),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},ua.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(m(this,"_weekdaysRegex")||Be.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(m(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=oe),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},ua.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(m(this,"_weekdaysRegex")||Be.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(m(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=oe),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},ua.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},ua.meridiem=function(e,t,a){return 11=i&&0>=r&&0>=d||(i+=864e5*Ya(fa(d)+r),r=0,d=0),o.milliseconds=i%1e3,e=g(i/1e3),o.seconds=e%60,t=g(e/60),o.minutes=t%60,a=g(t/60),o.hours=a%24,r+=g(a/24),n=g(pa(r)),d+=n,r-=Ya(fa(n)),s=g(d/12),d%=12,o.days=r,o.months=d,o.years=s,this},Ua.clone=function(){return Jt(this)},Ua.get=function(e){return e=E(e),this.isValid()?this[e+"s"]():NaN},Ua.milliseconds=Pa,Ua.seconds=Oa,Ua.minutes=Ea,Ua.hours=Wa,Ua.days=Aa,Ua.weeks=function(){return g(this.days()/7)},Ua.months=Fa,Ua.years=Ca,Ua.humanize=function(e){if(!this.isValid())return this.localeData().invalidDate();var t=this.localeData(),a=function(e,t,a){var s=Jt(e).abs(),n=za(s.as("s")),i=za(s.as("m")),r=za(s.as("h")),d=za(s.as("d")),o=za(s.as("M")),_=za(s.as("y")),m=n<=Na.ss&&["s",n]||n=i&&["m"]||i=r&&["h"]||r=d&&["d"]||d=o&&["M"]||o=_&&["y"]||["yy",_];return m[2]=t,m[3]=0<+e,m[4]=a,Ja.apply(null,m)}(this,!e,t);return e&&(a=t.pastFuture(+this,a)),t.postformat(a)},Ua.toISOString=Ra,Ua.toString=Ra,Ua.toJSON=Ra,Ua.locale=qt,Ua.localeData=Kt,Ua.toIsoString=v("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Ra),Ua.lang=Zt,I("X",0,0,"unix"),I("x",0,0,"valueOf"),me("x",ie),me("X",/[+-]?\d+(\.\d{1,3})?/),ce("X",function(e,t,a){a._d=new Date(1e3*parseFloat(e,10))}),ce("x",function(e,t,a){a._d=new Date(k(e))}),s.version="2.24.0",t=vt,s.fn=ma,s.min=function(){var e=[].slice.call(arguments,0);return bt("isBefore",e)},s.max=function(){var e=[].slice.call(arguments,0);return bt("isAfter",e)},s.now=function(){return Date.now?Date.now():+new Date},s.utc=u,s.unix=function(e){return vt(1e3*e)},s.months=function(e,t){return ca(e,t,"months")},s.isDate=o,s.locale=it,s.invalid=M,s.duration=Jt,s.isMoment=f,s.weekdays=function(e,t,a){return Ma(e,t,a,"weekdays")},s.parseZone=function(){return vt.apply(null,arguments).parseZone()},s.localeData=dt,s.isDuration=jt,s.monthsShort=function(e,t){return ca(e,t,"monthsShort")},s.weekdaysMin=function(e,t,a){return Ma(e,t,a,"weekdaysMin")},s.defineLocale=rt,s.updateLocale=function(e,t){if(null!=t){var a,s,n=et;null!=(s=nt(e))&&(n=s._config),(a=new j(t=x(n,t))).parentLocale=tt[e],tt[e]=a,it(e)}else null!=tt[e]&&(null==tt[e].parentLocale?null!=tt[e]&&delete tt[e]:tt[e]=tt[e].parentLocale);return tt[e]},s.locales=function(){return w(tt)},s.weekdaysShort=function(e,t,a){return Ma(e,t,a,"weekdaysShort")},s.normalizeUnits=E,s.relativeTimeRounding=function(e){return void 0===e?za:"function"==typeof e&&(za=e,!0)},s.relativeTimeThreshold=function(e,t){return void 0!==Na[e]&&(void 0===t?Na[e]:(Na[e]=t,"s"===e&&(Na.ss=t-1),!0))},s.calendarFormat=function(e,t){var a=e.diff(t,"days",!0);return-6>a?"sameElse":-1>a?"lastWeek":0>a?"lastDay":1>a?"sameDay":2>a?"nextDay":7>a?"nextWeek":"sameElse"},s.prototype=ma,s.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"},s}()});Z(function(){var _Mathfloor2=Math.floor;(function(e){function M(e,t,a){return"m"===a?t?"\u0445\u0432\u0456\u043B\u0456\u043D\u0430":"\u0445\u0432\u0456\u043B\u0456\u043D\u0443":"h"===a?t?"\u0433\u0430\u0434\u0437\u0456\u043D\u0430":"\u0433\u0430\u0434\u0437\u0456\u043D\u0443":e+" "+//! moment.js locale configuration function(e,t){var a=e.split("_");return 1==t%10&&11!=t%100?a[0]:2<=t%10&&4>=t%10&&(10>t%100||20<=t%100)?a[1]:a[2]}({ss:t?"\u0441\u0435\u043A\u0443\u043D\u0434\u0430_\u0441\u0435\u043A\u0443\u043D\u0434\u044B_\u0441\u0435\u043A\u0443\u043D\u0434":"\u0441\u0435\u043A\u0443\u043D\u0434\u0443_\u0441\u0435\u043A\u0443\u043D\u0434\u044B_\u0441\u0435\u043A\u0443\u043D\u0434",mm:t?"\u0445\u0432\u0456\u043B\u0456\u043D\u0430_\u0445\u0432\u0456\u043B\u0456\u043D\u044B_\u0445\u0432\u0456\u043B\u0456\u043D":"\u0445\u0432\u0456\u043B\u0456\u043D\u0443_\u0445\u0432\u0456\u043B\u0456\u043D\u044B_\u0445\u0432\u0456\u043B\u0456\u043D",hh:t?"\u0433\u0430\u0434\u0437\u0456\u043D\u0430_\u0433\u0430\u0434\u0437\u0456\u043D\u044B_\u0433\u0430\u0434\u0437\u0456\u043D":"\u0433\u0430\u0434\u0437\u0456\u043D\u0443_\u0433\u0430\u0434\u0437\u0456\u043D\u044B_\u0433\u0430\u0434\u0437\u0456\u043D",dd:"\u0434\u0437\u0435\u043D\u044C_\u0434\u043D\u0456_\u0434\u0437\u0451\u043D",MM:"\u043C\u0435\u0441\u044F\u0446_\u043C\u0435\u0441\u044F\u0446\u044B_\u043C\u0435\u0441\u044F\u0446\u0430\u045E",yy:"\u0433\u043E\u0434_\u0433\u0430\u0434\u044B_\u0433\u0430\u0434\u043E\u045E"}[a],+e)}//! moment.js locale configuration function f(e,t,a){return e+" "+function(e,t){return 2===t?function(e){var t={m:"v",b:"v",d:"z"};return void 0===t[e.charAt(0)]?e:t[e.charAt(0)]+e.substring(1)}(e):e}({mm:"munutenn",MM:"miz",dd:"devezh"}[a],e)}//! moment.js locale configuration -function k(e,t,a){var s=e+" ";return"ss"===a?s+=1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi":"m"===a?t?"jedna minuta":"jedne minute":"mm"===a?s+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta":"h"===a?t?"jedan sat":"jednog sata":"hh"===a?s+=1===e?"sat":2===e||3===e||4===e?"sata":"sati":"dd"===a?s+=1===e?"dan":"dana":"MM"===a?s+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci":"yy"===a?s+=1===e?"godina":2===e||3===e||4===e?"godine":"godina":void 0}function w(e){return 1e&&1!=~~(e/10)}function S(e,t,a,s){var n=e+" ";return"s"===a?t||s?"p\xE1r sekund":"p\xE1r sekundami":"ss"===a?t||s?n+(w(e)?"sekundy":"sekund"):n+"sekundami":"m"===a?t?"minuta":s?"minutu":"minutou":"mm"===a?t||s?n+(w(e)?"minuty":"minut"):n+"minutami":"h"===a?t?"hodina":s?"hodinu":"hodinou":"hh"===a?t||s?n+(w(e)?"hodiny":"hodin"):n+"hodinami":"d"===a?t||s?"den":"dnem":"dd"===a?t||s?n+(w(e)?"dny":"dn\xED"):n+"dny":"M"===a?t||s?"m\u011Bs\xEDc":"m\u011Bs\xEDcem":"MM"===a?t||s?n+(w(e)?"m\u011Bs\xEDce":"m\u011Bs\xEDc\u016F"):n+"m\u011Bs\xEDci":"y"===a?t||s?"rok":"rokem":"yy"===a?t||s?n+(w(e)?"roky":"let"):n+"lety":void 0}//! moment.js locale configuration +function g(e,t,a){var s=e+" ";return"ss"===a?s+=1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi":"m"===a?t?"jedna minuta":"jedne minute":"mm"===a?s+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta":"h"===a?t?"jedan sat":"jednog sata":"hh"===a?s+=1===e?"sat":2===e||3===e||4===e?"sata":"sati":"dd"===a?s+=1===e?"dan":"dana":"MM"===a?s+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci":"yy"===a?s+=1===e?"godina":2===e||3===e||4===e?"godine":"godina":void 0}function w(e){return 1e&&1!=~~(e/10)}function S(e,t,a,s){var n=e+" ";return"s"===a?t||s?"p\xE1r sekund":"p\xE1r sekundami":"ss"===a?t||s?n+(w(e)?"sekundy":"sekund"):n+"sekundami":"m"===a?t?"minuta":s?"minutu":"minutou":"mm"===a?t||s?n+(w(e)?"minuty":"minut"):n+"minutami":"h"===a?t?"hodina":s?"hodinu":"hodinou":"hh"===a?t||s?n+(w(e)?"hodiny":"hodin"):n+"hodinami":"d"===a?t||s?"den":"dnem":"dd"===a?t||s?n+(w(e)?"dny":"dn\xED"):n+"dny":"M"===a?t||s?"m\u011Bs\xEDc":"m\u011Bs\xEDcem":"MM"===a?t||s?n+(w(e)?"m\u011Bs\xEDce":"m\u011Bs\xEDc\u016F"):n+"m\u011Bs\xEDci":"y"===a?t||s?"rok":"rokem":"yy"===a?t||s?n+(w(e)?"roky":"let"):n+"lety":void 0}//! moment.js locale configuration function b(e,t,a){var n={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?n[a][0]:n[a][1]}//! moment.js locale configuration function H(e,t,a){var n={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?n[a][0]:n[a][1]}//! moment.js locale configuration function x(e,t,a){var n={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?n[a][0]:n[a][1]}//! moment.js locale configuration @@ -150,7 +138,7 @@ function U(e,t,a,s){var n={s:["m\xF5ne sekundi","m\xF5ni sekund","paar sekundit" function X(e,t,a){var n={s:["thodde secondanim","thodde second"],ss:[e+" secondanim",e+" second"],m:["eka mintan","ek minute"],mm:[e+" mintanim",e+" mintam"],h:["eka voran","ek vor"],hh:[e+" voranim",e+" voram"],d:["eka disan","ek dis"],dd:[e+" disanim",e+" dis"],M:["eka mhoinean","ek mhoino"],MM:[e+" mhoineanim",e+" mhoine"],y:["eka vorsan","ek voros"],yy:[e+" vorsanim",e+" vorsam"]};return t?n[a][0]:n[a][1]}//! moment.js locale configuration function ne(e,t,a){var s=e+" ";return"ss"===a?s+=1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi":"m"===a?t?"jedna minuta":"jedne minute":"mm"===a?s+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta":"h"===a?t?"jedan sat":"jednog sata":"hh"===a?s+=1===e?"sat":2===e||3===e||4===e?"sata":"sati":"dd"===a?s+=1===e?"dan":"dana":"MM"===a?s+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci":"yy"===a?s+=1===e?"godina":2===e||3===e||4===e?"godine":"godina":void 0}function re(e,t,a,s){var n=e;return"s"===a?s||t?"n\xE9h\xE1ny m\xE1sodperc":"n\xE9h\xE1ny m\xE1sodperce":"ss"===a?n+(s||t)?" m\xE1sodperc":" m\xE1sodperce":"m"===a?"egy"+(s||t?" perc":" perce"):"mm"===a?n+(s||t?" perc":" perce"):"h"===a?"egy"+(s||t?" \xF3ra":" \xF3r\xE1ja"):"hh"===a?n+(s||t?" \xF3ra":" \xF3r\xE1ja"):"d"===a?"egy"+(s||t?" nap":" napja"):"dd"===a?n+(s||t?" nap":" napja"):"M"===a?"egy"+(s||t?" h\xF3nap":" h\xF3napja"):"MM"===a?n+(s||t?" h\xF3nap":" h\xF3napja"):"y"===a?"egy"+(s||t?" \xE9v":" \xE9ve"):"yy"===a?n+(s||t?" \xE9v":" \xE9ve"):""}function de(e){return(e?"":"[m\xFAlt] ")+"["+ie[this.day()]+"] LT[-kor]"}//! moment.js locale configuration function oe(e){return 11==e%100||1!=e%10}function _e(e,t,a,s){var n=e+" ";return"s"===a?t||s?"nokkrar sek\xFAndur":"nokkrum sek\xFAndum":"ss"===a?oe(e)?n+(t||s?"sek\xFAndur":"sek\xFAndum"):n+"sek\xFAnda":"m"===a?t?"m\xEDn\xFAta":"m\xEDn\xFAtu":"mm"===a?oe(e)?n+(t||s?"m\xEDn\xFAtur":"m\xEDn\xFAtum"):t?n+"m\xEDn\xFAta":n+"m\xEDn\xFAtu":"hh"===a?oe(e)?n+(t||s?"klukkustundir":"klukkustundum"):n+"klukkustund":"d"===a?t?"dagur":s?"dag":"degi":"dd"===a?oe(e)?t?n+"dagar":n+(s?"daga":"d\xF6gum"):t?n+"dagur":n+(s?"dag":"degi"):"M"===a?t?"m\xE1nu\xF0ur":s?"m\xE1nu\xF0":"m\xE1nu\xF0i":"MM"===a?oe(e)?t?n+"m\xE1nu\xF0ir":n+(s?"m\xE1nu\xF0i":"m\xE1nu\xF0um"):t?n+"m\xE1nu\xF0ur":n+(s?"m\xE1nu\xF0":"m\xE1nu\xF0i"):"y"===a?t||s?"\xE1r":"\xE1ri":"yy"===a?oe(e)?n+(t||s?"\xE1r":"\xE1rum"):n+(t||s?"\xE1r":"\xE1ri"):void 0}//! moment.js locale configuration -function pe(e,t,a){var n={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return t?n[a][0]:n[a][1]}function fe(e){if(e=parseInt(e,10),isNaN(e))return!1;if(0>e)return!0;if(10>e)return 4<=e&&7>=e;if(100>e){var t=e%10;return fe(0==t?e/10:t)}if(1e4>e){for(;10<=e;)e/=10;return fe(e)}return fe(e/=1e3)}function ge(e,t,a,s){return t?Te(a)[0]:s?Te(a)[1]:Te(a)[2]}function De(e){return 0==e%10||10e}function Te(e){return ke[e].split("_")}function ve(e,t,a,s){var n=e+" ";return 1===e?n+ge(0,t,a[0],s):t?n+(De(e)?Te(a)[1]:Te(a)[0]):s?n+Te(a)[1]:n+(De(e)?Te(a)[1]:Te(a)[2])}function Se(e,t,a){return a?1==t%10&&11!=t%100?e[2]:e[3]:1==t%10&&11!=t%100?e[0]:e[1]}function be(e,t,a){return e+" "+Se(we[a],e,t)}function He(e,t,a){return Se(we[a],e,t)}//! moment.js locale configuration +function pe(e,t,a){var n={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return t?n[a][0]:n[a][1]}function fe(e){if(e=parseInt(e,10),isNaN(e))return!1;if(0>e)return!0;if(10>e)return 4<=e&&7>=e;if(100>e){var t=e%10;return fe(0==t?e/10:t)}if(1e4>e){for(;10<=e;)e/=10;return fe(e)}return fe(e/=1e3)}function ke(e,t,a,s){return t?Te(a)[0]:s?Te(a)[1]:Te(a)[2]}function De(e){return 0==e%10||10e}function Te(e){return ge[e].split("_")}function ve(e,t,a,s){var n=e+" ";return 1===e?n+ke(0,t,a[0],s):t?n+(De(e)?Te(a)[1]:Te(a)[0]):s?n+Te(a)[1]:n+(De(e)?Te(a)[1]:Te(a)[2])}function Se(e,t,a){return a?1==t%10&&11!=t%100?e[2]:e[3]:1==t%10&&11!=t%100?e[0]:e[1]}function be(e,t,a){return e+" "+Se(we[a],e,t)}function He(e,t,a){return Se(we[a],e,t)}//! moment.js locale configuration function je(e,t,a){return"s"===a?t?"\u0445\u044D\u0434\u0445\u044D\u043D \u0441\u0435\u043A\u0443\u043D\u0434":"\u0445\u044D\u0434\u0445\u044D\u043D \u0441\u0435\u043A\u0443\u043D\u0434\u044B\u043D":"ss"===a?e+(t?" \u0441\u0435\u043A\u0443\u043D\u0434":" \u0441\u0435\u043A\u0443\u043D\u0434\u044B\u043D"):"m"===a||"mm"===a?e+(t?" \u043C\u0438\u043D\u0443\u0442":" \u043C\u0438\u043D\u0443\u0442\u044B\u043D"):"h"===a||"hh"===a?e+(t?" \u0446\u0430\u0433":" \u0446\u0430\u0433\u0438\u0439\u043D"):"d"===a||"dd"===a?e+(t?" \u04E9\u0434\u04E9\u0440":" \u04E9\u0434\u0440\u0438\u0439\u043D"):"M"===a||"MM"===a?e+(t?" \u0441\u0430\u0440":" \u0441\u0430\u0440\u044B\u043D"):"y"===a||"yy"===a?e+(t?" \u0436\u0438\u043B":" \u0436\u0438\u043B\u0438\u0439\u043D"):e}function Ee(e,t,a){var n="";return t?"s"===a?n="\u0915\u093E\u0939\u0940 \u0938\u0947\u0915\u0902\u0926":"ss"===a?n="%d \u0938\u0947\u0915\u0902\u0926":"m"===a?n="\u090F\u0915 \u092E\u093F\u0928\u093F\u091F":"mm"===a?n="%d \u092E\u093F\u0928\u093F\u091F\u0947":"h"===a?n="\u090F\u0915 \u0924\u093E\u0938":"hh"===a?n="%d \u0924\u093E\u0938":"d"===a?n="\u090F\u0915 \u0926\u093F\u0935\u0938":"dd"===a?n="%d \u0926\u093F\u0935\u0938":"M"===a?n="\u090F\u0915 \u092E\u0939\u093F\u0928\u093E":"MM"===a?n="%d \u092E\u0939\u093F\u0928\u0947":"y"===a?n="\u090F\u0915 \u0935\u0930\u094D\u0937":"yy"===a?n="%d \u0935\u0930\u094D\u0937\u0947":void 0:"s"===a?n="\u0915\u093E\u0939\u0940 \u0938\u0947\u0915\u0902\u0926\u093E\u0902":"ss"===a?n="%d \u0938\u0947\u0915\u0902\u0926\u093E\u0902":"m"===a?n="\u090F\u0915\u093E \u092E\u093F\u0928\u093F\u091F\u093E":"mm"===a?n="%d \u092E\u093F\u0928\u093F\u091F\u093E\u0902":"h"===a?n="\u090F\u0915\u093E \u0924\u093E\u0938\u093E":"hh"===a?n="%d \u0924\u093E\u0938\u093E\u0902":"d"===a?n="\u090F\u0915\u093E \u0926\u093F\u0935\u0938\u093E":"dd"===a?n="%d \u0926\u093F\u0935\u0938\u093E\u0902":"M"===a?n="\u090F\u0915\u093E \u092E\u0939\u093F\u0928\u094D\u092F\u093E":"MM"===a?n="%d \u092E\u0939\u093F\u0928\u094D\u092F\u093E\u0902":"y"===a?n="\u090F\u0915\u093E \u0935\u0930\u094D\u0937\u093E":"yy"===a?n="%d \u0935\u0930\u094D\u0937\u093E\u0902":void 0,n.replace(/%d/i,e)}function Ke(e){return 5>e%10&&1=t%10&&(10>t%100||20<=t%100)?a[1]:a[2]}({ss:t?"\u0441\u0435\u043A\u0443\u043D\u0434\u0430_\u0441\u0435\u043A\u0443\u043D\u0434\u044B_\u0441\u0435\u043A\u0443\u043D\u0434":"\u0441\u0435\u043A\u0443\u043D\u0434\u0443_\u0441\u0435\u043A\u0443\u043D\u0434\u044B_\u0441\u0435\u043A\u0443\u043D\u0434",mm:t?"\u043C\u0438\u043D\u0443\u0442\u0430_\u043C\u0438\u043D\u0443\u0442\u044B_\u043C\u0438\u043D\u0443\u0442":"\u043C\u0438\u043D\u0443\u0442\u0443_\u043C\u0438\u043D\u0443\u0442\u044B_\u043C\u0438\u043D\u0443\u0442",hh:"\u0447\u0430\u0441_\u0447\u0430\u0441\u0430_\u0447\u0430\u0441\u043E\u0432",dd:"\u0434\u0435\u043D\u044C_\u0434\u043D\u044F_\u0434\u043D\u0435\u0439",MM:"\u043C\u0435\u0441\u044F\u0446_\u043C\u0435\u0441\u044F\u0446\u0430_\u043C\u0435\u0441\u044F\u0446\u0435\u0432",yy:"\u0433\u043E\u0434_\u0433\u043E\u0434\u0430_\u043B\u0435\u0442"}[a],+e)}function rt(e){return 1e}function dt(e,t,a,s){var n=e+" ";return"s"===a?t||s?"p\xE1r sek\xFAnd":"p\xE1r sekundami":"ss"===a?t||s?n+(rt(e)?"sekundy":"sek\xFAnd"):n+"sekundami":"m"===a?t?"min\xFAta":s?"min\xFAtu":"min\xFAtou":"mm"===a?t||s?n+(rt(e)?"min\xFAty":"min\xFAt"):n+"min\xFAtami":"h"===a?t?"hodina":s?"hodinu":"hodinou":"hh"===a?t||s?n+(rt(e)?"hodiny":"hod\xEDn"):n+"hodinami":"d"===a?t||s?"de\u0148":"d\u0148om":"dd"===a?t||s?n+(rt(e)?"dni":"dn\xED"):n+"d\u0148ami":"M"===a?t||s?"mesiac":"mesiacom":"MM"===a?t||s?n+(rt(e)?"mesiace":"mesiacov"):n+"mesiacmi":"y"===a?t||s?"rok":"rokom":"yy"===a?t||s?n+(rt(e)?"roky":"rokov"):n+"rokmi":void 0}//! moment.js locale configuration @@ -168,9 +156,9 @@ var c={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20: e.defineLocale("bg",{months:"\u044F\u043D\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043C\u0430\u0440\u0442_\u0430\u043F\u0440\u0438\u043B_\u043C\u0430\u0439_\u044E\u043D\u0438_\u044E\u043B\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043F\u0442\u0435\u043C\u0432\u0440\u0438_\u043E\u043A\u0442\u043E\u043C\u0432\u0440\u0438_\u043D\u043E\u0435\u043C\u0432\u0440\u0438_\u0434\u0435\u043A\u0435\u043C\u0432\u0440\u0438".split("_"),monthsShort:"\u044F\u043D\u0440_\u0444\u0435\u0432_\u043C\u0430\u0440_\u0430\u043F\u0440_\u043C\u0430\u0439_\u044E\u043D\u0438_\u044E\u043B\u0438_\u0430\u0432\u0433_\u0441\u0435\u043F_\u043E\u043A\u0442_\u043D\u043E\u0435_\u0434\u0435\u043A".split("_"),weekdays:"\u043D\u0435\u0434\u0435\u043B\u044F_\u043F\u043E\u043D\u0435\u0434\u0435\u043B\u043D\u0438\u043A_\u0432\u0442\u043E\u0440\u043D\u0438\u043A_\u0441\u0440\u044F\u0434\u0430_\u0447\u0435\u0442\u0432\u044A\u0440\u0442\u044A\u043A_\u043F\u0435\u0442\u044A\u043A_\u0441\u044A\u0431\u043E\u0442\u0430".split("_"),weekdaysShort:"\u043D\u0435\u0434_\u043F\u043E\u043D_\u0432\u0442\u043E_\u0441\u0440\u044F_\u0447\u0435\u0442_\u043F\u0435\u0442_\u0441\u044A\u0431".split("_"),weekdaysMin:"\u043D\u0434_\u043F\u043D_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043F\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u043D\u0435\u0441 \u0432] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432] LT",nextWeek:"dddd [\u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u0412 \u0438\u0437\u043C\u0438\u043D\u0430\u043B\u0430\u0442\u0430] dddd [\u0432] LT";case 1:case 2:case 4:case 5:return"[\u0412 \u0438\u0437\u043C\u0438\u043D\u0430\u043B\u0438\u044F] dddd [\u0432] LT";}},sameElse:"L"},relativeTime:{future:"\u0441\u043B\u0435\u0434 %s",past:"\u043F\u0440\u0435\u0434\u0438 %s",s:"\u043D\u044F\u043A\u043E\u043B\u043A\u043E \u0441\u0435\u043A\u0443\u043D\u0434\u0438",ss:"%d \u0441\u0435\u043A\u0443\u043D\u0434\u0438",m:"\u043C\u0438\u043D\u0443\u0442\u0430",mm:"%d \u043C\u0438\u043D\u0443\u0442\u0438",h:"\u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0434\u0435\u043D",dd:"%d \u0434\u043D\u0438",M:"\u043C\u0435\u0441\u0435\u0446",MM:"%d \u043C\u0435\u0441\u0435\u0446\u0430",y:"\u0433\u043E\u0434\u0438\u043D\u0430",yy:"%d \u0433\u043E\u0434\u0438\u043D\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,a=e%100;return 0===e?e+"-\u0435\u0432":0===a?e+"-\u0435\u043D":10a?e+"-\u0442\u0438":1===t?e+"-\u0432\u0438":2===t?e+"-\u0440\u0438":7===t||8===t?e+"-\u043C\u0438":e+"-\u0442\u0438"},week:{dow:1,doy:7}}),//! moment.js locale configuration e.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_M\u025Bkalo_Zuw\u025Bnkalo_Zuluyekalo_Utikalo_S\u025Btanburukalo_\u0254kut\u0254burukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_M\u025B_Zuw_Zul_Uti_S\u025Bt_\u0254ku_Now_Des".split("_"),weekdays:"Kari_Nt\u025Bn\u025Bn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Nt\u025B_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [l\u025Br\u025B] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [l\u025Br\u025B] HH:mm"},calendar:{sameDay:"[Bi l\u025Br\u025B] LT",nextDay:"[Sini l\u025Br\u025B] LT",nextWeek:"dddd [don l\u025Br\u025B] LT",lastDay:"[Kunu l\u025Br\u025B] LT",lastWeek:"dddd [t\u025Bm\u025Bnen l\u025Br\u025B] LT",sameElse:"L"},relativeTime:{future:"%s k\u0254n\u0254",past:"a b\u025B %s b\u0254",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"l\u025Br\u025B kelen",hh:"l\u025Br\u025B %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}});//! moment.js locale configuration var L={1:"\u09E7",2:"\u09E8",3:"\u09E9",4:"\u09EA",5:"\u09EB",6:"\u09EC",7:"\u09ED",8:"\u09EE",9:"\u09EF",0:"\u09E6"},y={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"};e.defineLocale("bn",{months:"\u099C\u09BE\u09A8\u09C1\u09DF\u09BE\u09B0\u09C0_\u09AB\u09C7\u09AC\u09CD\u09B0\u09C1\u09DF\u09BE\u09B0\u09BF_\u09AE\u09BE\u09B0\u09CD\u099A_\u098F\u09AA\u09CD\u09B0\u09BF\u09B2_\u09AE\u09C7_\u099C\u09C1\u09A8_\u099C\u09C1\u09B2\u09BE\u0987_\u0986\u0997\u09B8\u09CD\u099F_\u09B8\u09C7\u09AA\u09CD\u099F\u09C7\u09AE\u09CD\u09AC\u09B0_\u0985\u0995\u09CD\u099F\u09CB\u09AC\u09B0_\u09A8\u09AD\u09C7\u09AE\u09CD\u09AC\u09B0_\u09A1\u09BF\u09B8\u09C7\u09AE\u09CD\u09AC\u09B0".split("_"),monthsShort:"\u099C\u09BE\u09A8\u09C1_\u09AB\u09C7\u09AC_\u09AE\u09BE\u09B0\u09CD\u099A_\u098F\u09AA\u09CD\u09B0_\u09AE\u09C7_\u099C\u09C1\u09A8_\u099C\u09C1\u09B2_\u0986\u0997_\u09B8\u09C7\u09AA\u09CD\u099F_\u0985\u0995\u09CD\u099F\u09CB_\u09A8\u09AD\u09C7_\u09A1\u09BF\u09B8\u09C7".split("_"),weekdays:"\u09B0\u09AC\u09BF\u09AC\u09BE\u09B0_\u09B8\u09CB\u09AE\u09AC\u09BE\u09B0_\u09AE\u0999\u09CD\u0997\u09B2\u09AC\u09BE\u09B0_\u09AC\u09C1\u09A7\u09AC\u09BE\u09B0_\u09AC\u09C3\u09B9\u09B8\u09CD\u09AA\u09A4\u09BF\u09AC\u09BE\u09B0_\u09B6\u09C1\u0995\u09CD\u09B0\u09AC\u09BE\u09B0_\u09B6\u09A8\u09BF\u09AC\u09BE\u09B0".split("_"),weekdaysShort:"\u09B0\u09AC\u09BF_\u09B8\u09CB\u09AE_\u09AE\u0999\u09CD\u0997\u09B2_\u09AC\u09C1\u09A7_\u09AC\u09C3\u09B9\u09B8\u09CD\u09AA\u09A4\u09BF_\u09B6\u09C1\u0995\u09CD\u09B0_\u09B6\u09A8\u09BF".split("_"),weekdaysMin:"\u09B0\u09AC\u09BF_\u09B8\u09CB\u09AE_\u09AE\u0999\u09CD\u0997_\u09AC\u09C1\u09A7_\u09AC\u09C3\u09B9\u0983_\u09B6\u09C1\u0995\u09CD\u09B0_\u09B6\u09A8\u09BF".split("_"),longDateFormat:{LT:"A h:mm \u09B8\u09AE\u09DF",LTS:"A h:mm:ss \u09B8\u09AE\u09DF",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09B8\u09AE\u09DF",LLLL:"dddd, D MMMM YYYY, A h:mm \u09B8\u09AE\u09DF"},calendar:{sameDay:"[\u0986\u099C] LT",nextDay:"[\u0986\u0997\u09BE\u09AE\u09C0\u0995\u09BE\u09B2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09A4\u0995\u09BE\u09B2] LT",lastWeek:"[\u0997\u09A4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09AA\u09B0\u09C7",past:"%s \u0986\u0997\u09C7",s:"\u0995\u09DF\u09C7\u0995 \u09B8\u09C7\u0995\u09C7\u09A8\u09CD\u09A1",ss:"%d \u09B8\u09C7\u0995\u09C7\u09A8\u09CD\u09A1",m:"\u098F\u0995 \u09AE\u09BF\u09A8\u09BF\u099F",mm:"%d \u09AE\u09BF\u09A8\u09BF\u099F",h:"\u098F\u0995 \u0998\u09A8\u09CD\u099F\u09BE",hh:"%d \u0998\u09A8\u09CD\u099F\u09BE",d:"\u098F\u0995 \u09A6\u09BF\u09A8",dd:"%d \u09A6\u09BF\u09A8",M:"\u098F\u0995 \u09AE\u09BE\u09B8",MM:"%d \u09AE\u09BE\u09B8",y:"\u098F\u0995 \u09AC\u099B\u09B0",yy:"%d \u09AC\u099B\u09B0"},preparse:function(e){return e.replace(/[১২৩৪৫৬৭৮৯০]/g,function(e){return y[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return L[e]})},meridiemParse:/রাত|সকাল|দুপুর|বিকাল|রাত/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u09B0\u09BE\u09A4"===t&&4<=e||"\u09A6\u09C1\u09AA\u09C1\u09B0"===t&&5>e||"\u09AC\u09BF\u0995\u09BE\u09B2"===t?e+12:e},meridiem:function(e){return 4>e?"\u09B0\u09BE\u09A4":10>e?"\u09B8\u0995\u09BE\u09B2":17>e?"\u09A6\u09C1\u09AA\u09C1\u09B0":20>e?"\u09AC\u09BF\u0995\u09BE\u09B2":"\u09B0\u09BE\u09A4"},week:{dow:0,doy:6}});//! moment.js locale configuration -var Y={1:"\u0F21",2:"\u0F22",3:"\u0F23",4:"\u0F24",5:"\u0F25",6:"\u0F26",7:"\u0F27",8:"\u0F28",9:"\u0F29",0:"\u0F20"},p={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"};e.defineLocale("bo",{months:"\u0F5F\u0FB3\u0F0B\u0F56\u0F0B\u0F51\u0F44\u0F0B\u0F54\u0F7C_\u0F5F\u0FB3\u0F0B\u0F56\u0F0B\u0F42\u0F49\u0F72\u0F66\u0F0B\u0F54_\u0F5F\u0FB3\u0F0B\u0F56\u0F0B\u0F42\u0F66\u0F74\u0F58\u0F0B\u0F54_\u0F5F\u0FB3\u0F0B\u0F56\u0F0B\u0F56\u0F5E\u0F72\u0F0B\u0F54_\u0F5F\u0FB3\u0F0B\u0F56\u0F0B\u0F63\u0F94\u0F0B\u0F54_\u0F5F\u0FB3\u0F0B\u0F56\u0F0B\u0F51\u0FB2\u0F74\u0F42\u0F0B\u0F54_\u0F5F\u0FB3\u0F0B\u0F56\u0F0B\u0F56\u0F51\u0F74\u0F53\u0F0B\u0F54_\u0F5F\u0FB3\u0F0B\u0F56\u0F0B\u0F56\u0F62\u0F92\u0FB1\u0F51\u0F0B\u0F54_\u0F5F\u0FB3\u0F0B\u0F56\u0F0B\u0F51\u0F42\u0F74\u0F0B\u0F54_\u0F5F\u0FB3\u0F0B\u0F56\u0F0B\u0F56\u0F45\u0F74\u0F0B\u0F54_\u0F5F\u0FB3\u0F0B\u0F56\u0F0B\u0F56\u0F45\u0F74\u0F0B\u0F42\u0F45\u0F72\u0F42\u0F0B\u0F54_\u0F5F\u0FB3\u0F0B\u0F56\u0F0B\u0F56\u0F45\u0F74\u0F0B\u0F42\u0F49\u0F72\u0F66\u0F0B\u0F54".split("_"),monthsShort:"\u0F5F\u0FB3\u0F0B\u0F56\u0F0B\u0F51\u0F44\u0F0B\u0F54\u0F7C_\u0F5F\u0FB3\u0F0B\u0F56\u0F0B\u0F42\u0F49\u0F72\u0F66\u0F0B\u0F54_\u0F5F\u0FB3\u0F0B\u0F56\u0F0B\u0F42\u0F66\u0F74\u0F58\u0F0B\u0F54_\u0F5F\u0FB3\u0F0B\u0F56\u0F0B\u0F56\u0F5E\u0F72\u0F0B\u0F54_\u0F5F\u0FB3\u0F0B\u0F56\u0F0B\u0F63\u0F94\u0F0B\u0F54_\u0F5F\u0FB3\u0F0B\u0F56\u0F0B\u0F51\u0FB2\u0F74\u0F42\u0F0B\u0F54_\u0F5F\u0FB3\u0F0B\u0F56\u0F0B\u0F56\u0F51\u0F74\u0F53\u0F0B\u0F54_\u0F5F\u0FB3\u0F0B\u0F56\u0F0B\u0F56\u0F62\u0F92\u0FB1\u0F51\u0F0B\u0F54_\u0F5F\u0FB3\u0F0B\u0F56\u0F0B\u0F51\u0F42\u0F74\u0F0B\u0F54_\u0F5F\u0FB3\u0F0B\u0F56\u0F0B\u0F56\u0F45\u0F74\u0F0B\u0F54_\u0F5F\u0FB3\u0F0B\u0F56\u0F0B\u0F56\u0F45\u0F74\u0F0B\u0F42\u0F45\u0F72\u0F42\u0F0B\u0F54_\u0F5F\u0FB3\u0F0B\u0F56\u0F0B\u0F56\u0F45\u0F74\u0F0B\u0F42\u0F49\u0F72\u0F66\u0F0B\u0F54".split("_"),weekdays:"\u0F42\u0F5F\u0F60\u0F0B\u0F49\u0F72\u0F0B\u0F58\u0F0B_\u0F42\u0F5F\u0F60\u0F0B\u0F5F\u0FB3\u0F0B\u0F56\u0F0B_\u0F42\u0F5F\u0F60\u0F0B\u0F58\u0F72\u0F42\u0F0B\u0F51\u0F58\u0F62\u0F0B_\u0F42\u0F5F\u0F60\u0F0B\u0F63\u0FB7\u0F42\u0F0B\u0F54\u0F0B_\u0F42\u0F5F\u0F60\u0F0B\u0F55\u0F74\u0F62\u0F0B\u0F56\u0F74_\u0F42\u0F5F\u0F60\u0F0B\u0F54\u0F0B\u0F66\u0F44\u0F66\u0F0B_\u0F42\u0F5F\u0F60\u0F0B\u0F66\u0FA4\u0F7A\u0F53\u0F0B\u0F54\u0F0B".split("_"),weekdaysShort:"\u0F49\u0F72\u0F0B\u0F58\u0F0B_\u0F5F\u0FB3\u0F0B\u0F56\u0F0B_\u0F58\u0F72\u0F42\u0F0B\u0F51\u0F58\u0F62\u0F0B_\u0F63\u0FB7\u0F42\u0F0B\u0F54\u0F0B_\u0F55\u0F74\u0F62\u0F0B\u0F56\u0F74_\u0F54\u0F0B\u0F66\u0F44\u0F66\u0F0B_\u0F66\u0FA4\u0F7A\u0F53\u0F0B\u0F54\u0F0B".split("_"),weekdaysMin:"\u0F49\u0F72\u0F0B\u0F58\u0F0B_\u0F5F\u0FB3\u0F0B\u0F56\u0F0B_\u0F58\u0F72\u0F42\u0F0B\u0F51\u0F58\u0F62\u0F0B_\u0F63\u0FB7\u0F42\u0F0B\u0F54\u0F0B_\u0F55\u0F74\u0F62\u0F0B\u0F56\u0F74_\u0F54\u0F0B\u0F66\u0F44\u0F66\u0F0B_\u0F66\u0FA4\u0F7A\u0F53\u0F0B\u0F54\u0F0B".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0F51\u0F72\u0F0B\u0F62\u0F72\u0F44] LT",nextDay:"[\u0F66\u0F44\u0F0B\u0F49\u0F72\u0F53] LT",nextWeek:"[\u0F56\u0F51\u0F74\u0F53\u0F0B\u0F55\u0FB2\u0F42\u0F0B\u0F62\u0F97\u0F7A\u0F66\u0F0B\u0F58], LT",lastDay:"[\u0F41\u0F0B\u0F66\u0F44] LT",lastWeek:"[\u0F56\u0F51\u0F74\u0F53\u0F0B\u0F55\u0FB2\u0F42\u0F0B\u0F58\u0F50\u0F60\u0F0B\u0F58] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0F63\u0F0B",past:"%s \u0F66\u0F94\u0F53\u0F0B\u0F63",s:"\u0F63\u0F58\u0F0B\u0F66\u0F44",ss:"%d \u0F66\u0F90\u0F62\u0F0B\u0F46\u0F0D",m:"\u0F66\u0F90\u0F62\u0F0B\u0F58\u0F0B\u0F42\u0F45\u0F72\u0F42",mm:"%d \u0F66\u0F90\u0F62\u0F0B\u0F58",h:"\u0F46\u0F74\u0F0B\u0F5A\u0F7C\u0F51\u0F0B\u0F42\u0F45\u0F72\u0F42",hh:"%d \u0F46\u0F74\u0F0B\u0F5A\u0F7C\u0F51",d:"\u0F49\u0F72\u0F53\u0F0B\u0F42\u0F45\u0F72\u0F42",dd:"%d \u0F49\u0F72\u0F53\u0F0B",M:"\u0F5F\u0FB3\u0F0B\u0F56\u0F0B\u0F42\u0F45\u0F72\u0F42",MM:"%d \u0F5F\u0FB3\u0F0B\u0F56",y:"\u0F63\u0F7C\u0F0B\u0F42\u0F45\u0F72\u0F42",yy:"%d \u0F63\u0F7C"},preparse:function(e){return e.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,function(e){return p[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return Y[e]})},meridiemParse:/མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0F58\u0F5A\u0F53\u0F0B\u0F58\u0F7C"===t&&4<=e||"\u0F49\u0F72\u0F53\u0F0B\u0F42\u0F74\u0F44"===t&&5>e||"\u0F51\u0F42\u0F7C\u0F44\u0F0B\u0F51\u0F42"===t?e+12:e},meridiem:function(e){return 4>e?"\u0F58\u0F5A\u0F53\u0F0B\u0F58\u0F7C":10>e?"\u0F5E\u0F7C\u0F42\u0F66\u0F0B\u0F40\u0F66":17>e?"\u0F49\u0F72\u0F53\u0F0B\u0F42\u0F74\u0F44":20>e?"\u0F51\u0F42\u0F7C\u0F44\u0F0B\u0F51\u0F42":"\u0F58\u0F5A\u0F53\u0F0B\u0F58\u0F7C"},week:{dow:0,doy:6}}),e.defineLocale("br",{months:"Genver_C'hwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C'hwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc'her_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h[e]mm A",LTS:"h[e]mm:ss A",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY h[e]mm A",LLLL:"dddd, D [a viz] MMMM YYYY h[e]mm A"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc'hoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec'h da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s 'zo",s:"un nebeud segondenno\xF9",ss:"%d eilenn",m:"ur vunutenn",mm:f,h:"un eur",hh:"%d eur",d:"un devezh",dd:f,M:"ur miz",MM:f,y:"ur bloaz",yy:function(e){switch(function e(t){return 9e||"\u0F51\u0F42\u0F7C\u0F44\u0F0B\u0F51\u0F42"===t?e+12:e},meridiem:function(e){return 4>e?"\u0F58\u0F5A\u0F53\u0F0B\u0F58\u0F7C":10>e?"\u0F5E\u0F7C\u0F42\u0F66\u0F0B\u0F40\u0F66":17>e?"\u0F49\u0F72\u0F53\u0F0B\u0F42\u0F74\u0F44":20>e?"\u0F51\u0F42\u0F7C\u0F44\u0F0B\u0F51\u0F42":"\u0F58\u0F5A\u0F53\u0F0B\u0F58\u0F7C"},week:{dow:0,doy:6}}),e.defineLocale("br",{months:"Genver_C'hwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C'hwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc'her_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h[e]mm A",LTS:"h[e]mm:ss A",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY h[e]mm A",LLLL:"dddd, D [a viz] MMMM YYYY h[e]mm A"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc'hoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec'h da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s 'zo",s:"un nebeud segondenno\xF9",ss:"%d eilenn",m:"ur vunutenn",mm:f,h:"un eur",hh:"%d eur",d:"un devezh",dd:f,M:"ur miz",MM:f,y:"ur bloaz",yy:function(e){switch(function e(t){return 9e?"\u0628\u0647\u200C\u06CC\u0627\u0646\u06CC":"\u0626\u06CE\u0648\u0627\u0631\u0647\u200C"},calendar:{sameDay:"[\u0626\u0647\u200C\u0645\u0631\u06C6 \u0643\u0627\u062A\u0698\u0645\u06CE\u0631] LT",nextDay:"[\u0628\u0647\u200C\u06CC\u0627\u0646\u06CC \u0643\u0627\u062A\u0698\u0645\u06CE\u0631] LT",nextWeek:"dddd [\u0643\u0627\u062A\u0698\u0645\u06CE\u0631] LT",lastDay:"[\u062F\u0648\u06CE\u0646\u06CE \u0643\u0627\u062A\u0698\u0645\u06CE\u0631] LT",lastWeek:"dddd [\u0643\u0627\u062A\u0698\u0645\u06CE\u0631] LT",sameElse:"L"},relativeTime:{future:"\u0644\u0647\u200C %s",past:"%s",s:"\u0686\u0647\u200C\u0646\u062F \u0686\u0631\u0643\u0647\u200C\u06CC\u0647\u200C\u0643",ss:"\u0686\u0631\u0643\u0647\u200C %d",m:"\u06CC\u0647\u200C\u0643 \u062E\u0648\u0644\u0647\u200C\u0643",mm:"%d \u062E\u0648\u0644\u0647\u200C\u0643",h:"\u06CC\u0647\u200C\u0643 \u0643\u0627\u062A\u0698\u0645\u06CE\u0631",hh:"%d \u0643\u0627\u062A\u0698\u0645\u06CE\u0631",d:"\u06CC\u0647\u200C\u0643 \u0695\u06C6\u0698",dd:"%d \u0695\u06C6\u0698",M:"\u06CC\u0647\u200C\u0643 \u0645\u0627\u0646\u06AF",MM:"%d \u0645\u0627\u0646\u06AF",y:"\u06CC\u0647\u200C\u0643 \u0633\u0627\u06B5",yy:"%d \u0633\u0627\u06B5"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(e){return Le[e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return Me[e]}).replace(/,/g,"\u060C")},week:{dow:6,doy:12}});//! moment.js locale configuration var Ye={0:"-\u0447\u04AF",1:"-\u0447\u0438",2:"-\u0447\u0438",3:"-\u0447\u04AF",4:"-\u0447\u04AF",5:"-\u0447\u0438",6:"-\u0447\u044B",7:"-\u0447\u0438",8:"-\u0447\u0438",9:"-\u0447\u0443",10:"-\u0447\u0443",20:"-\u0447\u044B",30:"-\u0447\u0443",40:"-\u0447\u044B",50:"-\u0447\u04AF",60:"-\u0447\u044B",70:"-\u0447\u0438",80:"-\u0447\u0438",90:"-\u0447\u0443",100:"-\u0447\u04AF"};e.defineLocale("ky",{months:"\u044F\u043D\u0432\u0430\u0440\u044C_\u0444\u0435\u0432\u0440\u0430\u043B\u044C_\u043C\u0430\u0440\u0442_\u0430\u043F\u0440\u0435\u043B\u044C_\u043C\u0430\u0439_\u0438\u044E\u043D\u044C_\u0438\u044E\u043B\u044C_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043D\u0442\u044F\u0431\u0440\u044C_\u043E\u043A\u0442\u044F\u0431\u0440\u044C_\u043D\u043E\u044F\u0431\u0440\u044C_\u0434\u0435\u043A\u0430\u0431\u0440\u044C".split("_"),monthsShort:"\u044F\u043D\u0432_\u0444\u0435\u0432_\u043C\u0430\u0440\u0442_\u0430\u043F\u0440_\u043C\u0430\u0439_\u0438\u044E\u043D\u044C_\u0438\u044E\u043B\u044C_\u0430\u0432\u0433_\u0441\u0435\u043D_\u043E\u043A\u0442_\u043D\u043E\u044F_\u0434\u0435\u043A".split("_"),weekdays:"\u0416\u0435\u043A\u0448\u0435\u043C\u0431\u0438_\u0414\u04AF\u0439\u0448\u04E9\u043C\u0431\u04AF_\u0428\u0435\u0439\u0448\u0435\u043C\u0431\u0438_\u0428\u0430\u0440\u0448\u0435\u043C\u0431\u0438_\u0411\u0435\u0439\u0448\u0435\u043C\u0431\u0438_\u0416\u0443\u043C\u0430_\u0418\u0448\u0435\u043C\u0431\u0438".split("_"),weekdaysShort:"\u0416\u0435\u043A_\u0414\u04AF\u0439_\u0428\u0435\u0439_\u0428\u0430\u0440_\u0411\u0435\u0439_\u0416\u0443\u043C_\u0418\u0448\u0435".split("_"),weekdaysMin:"\u0416\u043A_\u0414\u0439_\u0428\u0439_\u0428\u0440_\u0411\u0439_\u0416\u043C_\u0418\u0448".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04AF\u0433\u04AF\u043D \u0441\u0430\u0430\u0442] LT",nextDay:"[\u042D\u0440\u0442\u0435\u04A3 \u0441\u0430\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0430\u0442] LT",lastDay:"[\u041A\u0435\u0447\u044D\u044D \u0441\u0430\u0430\u0442] LT",lastWeek:"[\u04E8\u0442\u043A\u04E9\u043D \u0430\u043F\u0442\u0430\u043D\u044B\u043D] dddd [\u043A\u04AF\u043D\u04AF] [\u0441\u0430\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0438\u0447\u0438\u043D\u0434\u0435",past:"%s \u043C\u0443\u0440\u0443\u043D",s:"\u0431\u0438\u0440\u043D\u0435\u0447\u0435 \u0441\u0435\u043A\u0443\u043D\u0434",ss:"%d \u0441\u0435\u043A\u0443\u043D\u0434",m:"\u0431\u0438\u0440 \u043C\u04AF\u043D\u04E9\u0442",mm:"%d \u043C\u04AF\u043D\u04E9\u0442",h:"\u0431\u0438\u0440 \u0441\u0430\u0430\u0442",hh:"%d \u0441\u0430\u0430\u0442",d:"\u0431\u0438\u0440 \u043A\u04AF\u043D",dd:"%d \u043A\u04AF\u043D",M:"\u0431\u0438\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0438\u0440 \u0436\u044B\u043B",yy:"%d \u0436\u044B\u043B"},dayOfMonthOrdinalParse:/\d{1,2}-(чи|чы|чү|чу)/,ordinal:function(e){return e+(Ye[e]||Ye[e%10]||Ye[100<=e?100:null])},week:{dow:1,doy:7}}),e.defineLocale("lb",{months:"Januar_Februar_M\xE4erz_Abr\xEBll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_M\xE9indeg_D\xEBnschdeg_M\xEBttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._M\xE9._D\xEB._M\xEB._Do._Fr._Sa.".split("_"),weekdaysMin:"So_M\xE9_D\xEB_M\xEB_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[G\xEBschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT";}}},relativeTime:{future:function(e){return fe(e.substr(0,e.indexOf(" ")))?"a "+e:"an "+e},past:function(e){return fe(e.substr(0,e.indexOf(" ")))?"viru "+e:"virun "+e},s:"e puer Sekonnen",ss:"%d Sekonnen",m:pe,mm:"%d Minutten",h:pe,hh:"%d Stonnen",d:pe,dd:"%d Deeg",M:pe,MM:"%d M\xE9int",y:pe,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),//! moment.js locale configuration e.defineLocale("lo",{months:"\u0EA1\u0EB1\u0E87\u0E81\u0EAD\u0E99_\u0E81\u0EB8\u0EA1\u0E9E\u0EB2_\u0EA1\u0EB5\u0E99\u0EB2_\u0EC0\u0EA1\u0EAA\u0EB2_\u0E9E\u0EB6\u0E94\u0EAA\u0EB0\u0E9E\u0EB2_\u0EA1\u0EB4\u0E96\u0EB8\u0E99\u0EB2_\u0E81\u0ECD\u0EA5\u0EB0\u0E81\u0EBB\u0E94_\u0EAA\u0EB4\u0E87\u0EAB\u0EB2_\u0E81\u0EB1\u0E99\u0E8D\u0EB2_\u0E95\u0EB8\u0EA5\u0EB2_\u0E9E\u0EB0\u0E88\u0EB4\u0E81_\u0E97\u0EB1\u0E99\u0EA7\u0EB2".split("_"),monthsShort:"\u0EA1\u0EB1\u0E87\u0E81\u0EAD\u0E99_\u0E81\u0EB8\u0EA1\u0E9E\u0EB2_\u0EA1\u0EB5\u0E99\u0EB2_\u0EC0\u0EA1\u0EAA\u0EB2_\u0E9E\u0EB6\u0E94\u0EAA\u0EB0\u0E9E\u0EB2_\u0EA1\u0EB4\u0E96\u0EB8\u0E99\u0EB2_\u0E81\u0ECD\u0EA5\u0EB0\u0E81\u0EBB\u0E94_\u0EAA\u0EB4\u0E87\u0EAB\u0EB2_\u0E81\u0EB1\u0E99\u0E8D\u0EB2_\u0E95\u0EB8\u0EA5\u0EB2_\u0E9E\u0EB0\u0E88\u0EB4\u0E81_\u0E97\u0EB1\u0E99\u0EA7\u0EB2".split("_"),weekdays:"\u0EAD\u0EB2\u0E97\u0EB4\u0E94_\u0E88\u0EB1\u0E99_\u0EAD\u0EB1\u0E87\u0E84\u0EB2\u0E99_\u0E9E\u0EB8\u0E94_\u0E9E\u0EB0\u0EAB\u0EB1\u0E94_\u0EAA\u0EB8\u0E81_\u0EC0\u0EAA\u0EBB\u0EB2".split("_"),weekdaysShort:"\u0E97\u0EB4\u0E94_\u0E88\u0EB1\u0E99_\u0EAD\u0EB1\u0E87\u0E84\u0EB2\u0E99_\u0E9E\u0EB8\u0E94_\u0E9E\u0EB0\u0EAB\u0EB1\u0E94_\u0EAA\u0EB8\u0E81_\u0EC0\u0EAA\u0EBB\u0EB2".split("_"),weekdaysMin:"\u0E97_\u0E88_\u0EAD\u0E84_\u0E9E_\u0E9E\u0EAB_\u0EAA\u0E81_\u0EAA".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"\u0EA7\u0EB1\u0E99dddd D MMMM YYYY HH:mm"},meridiemParse:/ຕອນເຊົ້າ|ຕອນແລງ/,isPM:function(e){return"\u0E95\u0EAD\u0E99\u0EC1\u0EA5\u0E87"===e},meridiem:function(e){return 12>e?"\u0E95\u0EAD\u0E99\u0EC0\u0E8A\u0EBB\u0EC9\u0EB2":"\u0E95\u0EAD\u0E99\u0EC1\u0EA5\u0E87"},calendar:{sameDay:"[\u0EA1\u0EB7\u0EC9\u0E99\u0EB5\u0EC9\u0EC0\u0EA7\u0EA5\u0EB2] LT",nextDay:"[\u0EA1\u0EB7\u0EC9\u0EAD\u0EB7\u0EC8\u0E99\u0EC0\u0EA7\u0EA5\u0EB2] LT",nextWeek:"[\u0EA7\u0EB1\u0E99]dddd[\u0EDC\u0EC9\u0EB2\u0EC0\u0EA7\u0EA5\u0EB2] LT",lastDay:"[\u0EA1\u0EB7\u0EC9\u0EA7\u0EB2\u0E99\u0E99\u0EB5\u0EC9\u0EC0\u0EA7\u0EA5\u0EB2] LT",lastWeek:"[\u0EA7\u0EB1\u0E99]dddd[\u0EC1\u0EA5\u0EC9\u0EA7\u0E99\u0EB5\u0EC9\u0EC0\u0EA7\u0EA5\u0EB2] LT",sameElse:"L"},relativeTime:{future:"\u0EAD\u0EB5\u0E81 %s",past:"%s\u0E9C\u0EC8\u0EB2\u0E99\u0EA1\u0EB2",s:"\u0E9A\u0ECD\u0EC8\u0EC0\u0E97\u0EBB\u0EC8\u0EB2\u0EC3\u0E94\u0EA7\u0EB4\u0E99\u0EB2\u0E97\u0EB5",ss:"%d \u0EA7\u0EB4\u0E99\u0EB2\u0E97\u0EB5",m:"1 \u0E99\u0EB2\u0E97\u0EB5",mm:"%d \u0E99\u0EB2\u0E97\u0EB5",h:"1 \u0E8A\u0EBB\u0EC8\u0EA7\u0EC2\u0EA1\u0E87",hh:"%d \u0E8A\u0EBB\u0EC8\u0EA7\u0EC2\u0EA1\u0E87",d:"1 \u0EA1\u0EB7\u0EC9",dd:"%d \u0EA1\u0EB7\u0EC9",M:"1 \u0EC0\u0E94\u0EB7\u0EAD\u0E99",MM:"%d \u0EC0\u0E94\u0EB7\u0EAD\u0E99",y:"1 \u0E9B\u0EB5",yy:"%d \u0E9B\u0EB5"},dayOfMonthOrdinalParse:/(ທີ່)\d{1,2}/,ordinal:function(e){return"\u0E97\u0EB5\u0EC8"+e}});//! moment.js locale configuration -var ke={ss:"sekund\u0117_sekund\u017Ei\u0173_sekundes",m:"minut\u0117_minut\u0117s_minut\u0119",mm:"minut\u0117s_minu\u010Di\u0173_minutes",h:"valanda_valandos_valand\u0105",hh:"valandos_valand\u0173_valandas",d:"diena_dienos_dien\u0105",dd:"dienos_dien\u0173_dienas",M:"m\u0117nuo_m\u0117nesio_m\u0117nes\u012F",MM:"m\u0117nesiai_m\u0117nesi\u0173_m\u0117nesius",y:"metai_met\u0173_metus",yy:"metai_met\u0173_metus"};e.defineLocale("lt",{months:{format:"sausio_vasario_kovo_baland\u017Eio_gegu\u017E\u0117s_bir\u017Eelio_liepos_rugpj\u016B\u010Dio_rugs\u0117jo_spalio_lapkri\u010Dio_gruod\u017Eio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegu\u017E\u0117_bir\u017Eelis_liepa_rugpj\u016Btis_rugs\u0117jis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadien\u012F_pirmadien\u012F_antradien\u012F_tre\u010Diadien\u012F_ketvirtadien\u012F_penktadien\u012F_\u0161e\u0161tadien\u012F".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_tre\u010Diadienis_ketvirtadienis_penktadienis_\u0161e\u0161tadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_\u0160e\u0161".split("_"),weekdaysMin:"S_P_A_T_K_Pn_\u0160".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[\u0160iandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Pra\u0117jus\u012F] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prie\u0161 %s",s:function(e,t,a,s){return t?"kelios sekund\u0117s":s?"keli\u0173 sekund\u017Ei\u0173":"kelias sekundes"},ss:ve,m:ge,mm:ve,h:ge,hh:ve,d:ge,dd:ve,M:ge,MM:ve,y:ge,yy:ve},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(e){return e+"-oji"},week:{dow:1,doy:4}});//! moment.js locale configuration +var ge={ss:"sekund\u0117_sekund\u017Ei\u0173_sekundes",m:"minut\u0117_minut\u0117s_minut\u0119",mm:"minut\u0117s_minu\u010Di\u0173_minutes",h:"valanda_valandos_valand\u0105",hh:"valandos_valand\u0173_valandas",d:"diena_dienos_dien\u0105",dd:"dienos_dien\u0173_dienas",M:"m\u0117nuo_m\u0117nesio_m\u0117nes\u012F",MM:"m\u0117nesiai_m\u0117nesi\u0173_m\u0117nesius",y:"metai_met\u0173_metus",yy:"metai_met\u0173_metus"};e.defineLocale("lt",{months:{format:"sausio_vasario_kovo_baland\u017Eio_gegu\u017E\u0117s_bir\u017Eelio_liepos_rugpj\u016B\u010Dio_rugs\u0117jo_spalio_lapkri\u010Dio_gruod\u017Eio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegu\u017E\u0117_bir\u017Eelis_liepa_rugpj\u016Btis_rugs\u0117jis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadien\u012F_pirmadien\u012F_antradien\u012F_tre\u010Diadien\u012F_ketvirtadien\u012F_penktadien\u012F_\u0161e\u0161tadien\u012F".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_tre\u010Diadienis_ketvirtadienis_penktadienis_\u0161e\u0161tadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_\u0160e\u0161".split("_"),weekdaysMin:"S_P_A_T_K_Pn_\u0160".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[\u0160iandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Pra\u0117jus\u012F] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prie\u0161 %s",s:function(e,t,a,s){return t?"kelios sekund\u0117s":s?"keli\u0173 sekund\u017Ei\u0173":"kelias sekundes"},ss:ve,m:ke,mm:ve,h:ke,hh:ve,d:ke,dd:ve,M:ke,MM:ve,y:ke,yy:ve},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(e){return e+"-oji"},week:{dow:1,doy:4}});//! moment.js locale configuration var we={ss:"sekundes_sekund\u0113m_sekunde_sekundes".split("_"),m:"min\u016Btes_min\u016Bt\u0113m_min\u016Bte_min\u016Btes".split("_"),mm:"min\u016Btes_min\u016Bt\u0113m_min\u016Bte_min\u016Btes".split("_"),h:"stundas_stund\u0101m_stunda_stundas".split("_"),hh:"stundas_stund\u0101m_stunda_stundas".split("_"),d:"dienas_dien\u0101m_diena_dienas".split("_"),dd:"dienas_dien\u0101m_diena_dienas".split("_"),M:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),MM:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};e.defineLocale("lv",{months:"janv\u0101ris_febru\u0101ris_marts_apr\u012Blis_maijs_j\u016Bnijs_j\u016Blijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_j\u016Bn_j\u016Bl_aug_sep_okt_nov_dec".split("_"),weekdays:"sv\u0113tdiena_pirmdiena_otrdiena_tre\u0161diena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[\u0160odien pulksten] LT",nextDay:"[R\u012Bt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pag\u0101ju\u0161\u0101] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"p\u0113c %s",past:"pirms %s",s:function(e,t){return t?"da\u017Eas sekundes":"da\u017E\u0101m sekund\u0113m"},ss:be,m:He,mm:be,h:He,hh:be,d:He,dd:be,M:He,MM:be,y:He,yy:be},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});//! moment.js locale configuration var xe={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:2<=e&&4>=e?t[1]:t[2]},translate:function(e,t,a){var s=xe.words[a];return 1===a.length?t?s[0]:s[1]:e+" "+xe.correctGrammaticalCase(e,s)}};e.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010Detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010Det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010De_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT";}},lastDay:"[ju\u010De u] LT",lastWeek:function(){return["[pro\u0161le] [nedjelje] [u] LT","[pro\u0161log] [ponedjeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srijede] [u] LT","[pro\u0161log] [\u010Detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:xe.translate,m:xe.translate,mm:xe.translate,h:xe.translate,hh:xe.translate,d:"dan",dd:xe.translate,M:"mjesec",MM:xe.translate,y:"godinu",yy:xe.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),//! moment.js locale configuration e.defineLocale("mi",{months:"Kohi-t\u0101te_Hui-tanguru_Pout\u016B-te-rangi_Paenga-wh\u0101wh\u0101_Haratua_Pipiri_H\u014Dngoingoi_Here-turi-k\u014Dk\u0101_Mahuru_Whiringa-\u0101-nuku_Whiringa-\u0101-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_H\u014Dngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"R\u0101tapu_Mane_T\u016Brei_Wenerei_T\u0101ite_Paraire_H\u0101tarei".split("_"),weekdaysShort:"Ta_Ma_T\u016B_We_T\u0101i_Pa_H\u0101".split("_"),weekdaysMin:"Ta_Ma_T\u016B_We_T\u0101i_Pa_H\u0101".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te h\u0113kona ruarua",ss:"%d h\u0113kona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%d\xBA",week:{dow:1,doy:4}}),//! moment.js locale configuration @@ -254,7 +242,7 @@ var ct="pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");e.d e.defineLocale("tzl",{months:"Januar_Fevraglh_Mar\xE7_Avr\xEFu_Mai_G\xFCn_Julia_Guscht_Setemvar_Listop\xE4ts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_G\xFCn_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"S\xFAladi_L\xFAne\xE7i_Maitzi_M\xE1rcuri_Xh\xFAadi_Vi\xE9ner\xE7i_S\xE1turi".split("_"),weekdaysShort:"S\xFAl_L\xFAn_Mai_M\xE1r_Xh\xFA_Vi\xE9_S\xE1t".split("_"),weekdaysMin:"S\xFA_L\xFA_Ma_M\xE1_Xh_Vi_S\xE1".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(e){return"d'o"===e.toLowerCase()},meridiem:function(e,t,a){return 11s?"\u064A\u06D0\u0631\u0649\u0645 \u0643\u06D0\u0686\u06D5":900>s?"\u0633\u06D5\u06BE\u06D5\u0631":1130>s?"\u0686\u06C8\u0634\u062A\u0649\u0646 \u0628\u06C7\u0631\u06C7\u0646":1230>s?"\u0686\u06C8\u0634":1800>s?"\u0686\u06C8\u0634\u062A\u0649\u0646 \u0643\u06D0\u064A\u0649\u0646":"\u0643\u06D5\u0686"},calendar:{sameDay:"[\u0628\u06C8\u06AF\u06C8\u0646 \u0633\u0627\u0626\u06D5\u062A] LT",nextDay:"[\u0626\u06D5\u062A\u06D5 \u0633\u0627\u0626\u06D5\u062A] LT",nextWeek:"[\u0643\u06D0\u0644\u06D5\u0631\u0643\u0649] dddd [\u0633\u0627\u0626\u06D5\u062A] LT",lastDay:"[\u062A\u06C6\u0646\u06C8\u06AF\u06C8\u0646] LT",lastWeek:"[\u0626\u0627\u0644\u062F\u0649\u0646\u0642\u0649] dddd [\u0633\u0627\u0626\u06D5\u062A] LT",sameElse:"L"},relativeTime:{future:"%s \u0643\u06D0\u064A\u0649\u0646",past:"%s \u0628\u06C7\u0631\u06C7\u0646",s:"\u0646\u06D5\u0686\u0686\u06D5 \u0633\u06D0\u0643\u0648\u0646\u062A",ss:"%d \u0633\u06D0\u0643\u0648\u0646\u062A",m:"\u0628\u0649\u0631 \u0645\u0649\u0646\u06C7\u062A",mm:"%d \u0645\u0649\u0646\u06C7\u062A",h:"\u0628\u0649\u0631 \u0633\u0627\u0626\u06D5\u062A",hh:"%d \u0633\u0627\u0626\u06D5\u062A",d:"\u0628\u0649\u0631 \u0643\u06C8\u0646",dd:"%d \u0643\u06C8\u0646",M:"\u0628\u0649\u0631 \u0626\u0627\u064A",MM:"%d \u0626\u0627\u064A",y:"\u0628\u0649\u0631 \u064A\u0649\u0644",yy:"%d \u064A\u0649\u0644"},dayOfMonthOrdinalParse:/\d{1,2}(-كۈنى|-ئاي|-ھەپتە)/,ordinal:function(e,t){return"d"===t||"D"===t||"DDD"===t?e+"-\u0643\u06C8\u0646\u0649":"w"===t||"W"===t?e+"-\u06BE\u06D5\u067E\u062A\u06D5":e},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"\u060C")},week:{dow:1,doy:7}}),e.defineLocale("uk",{months:{format:"\u0441\u0456\u0447\u043D\u044F_\u043B\u044E\u0442\u043E\u0433\u043E_\u0431\u0435\u0440\u0435\u0437\u043D\u044F_\u043A\u0432\u0456\u0442\u043D\u044F_\u0442\u0440\u0430\u0432\u043D\u044F_\u0447\u0435\u0440\u0432\u043D\u044F_\u043B\u0438\u043F\u043D\u044F_\u0441\u0435\u0440\u043F\u043D\u044F_\u0432\u0435\u0440\u0435\u0441\u043D\u044F_\u0436\u043E\u0432\u0442\u043D\u044F_\u043B\u0438\u0441\u0442\u043E\u043F\u0430\u0434\u0430_\u0433\u0440\u0443\u0434\u043D\u044F".split("_"),standalone:"\u0441\u0456\u0447\u0435\u043D\u044C_\u043B\u044E\u0442\u0438\u0439_\u0431\u0435\u0440\u0435\u0437\u0435\u043D\u044C_\u043A\u0432\u0456\u0442\u0435\u043D\u044C_\u0442\u0440\u0430\u0432\u0435\u043D\u044C_\u0447\u0435\u0440\u0432\u0435\u043D\u044C_\u043B\u0438\u043F\u0435\u043D\u044C_\u0441\u0435\u0440\u043F\u0435\u043D\u044C_\u0432\u0435\u0440\u0435\u0441\u0435\u043D\u044C_\u0436\u043E\u0432\u0442\u0435\u043D\u044C_\u043B\u0438\u0441\u0442\u043E\u043F\u0430\u0434_\u0433\u0440\u0443\u0434\u0435\u043D\u044C".split("_")},monthsShort:"\u0441\u0456\u0447_\u043B\u044E\u0442_\u0431\u0435\u0440_\u043A\u0432\u0456\u0442_\u0442\u0440\u0430\u0432_\u0447\u0435\u0440\u0432_\u043B\u0438\u043F_\u0441\u0435\u0440\u043F_\u0432\u0435\u0440_\u0436\u043E\u0432\u0442_\u043B\u0438\u0441\u0442_\u0433\u0440\u0443\u0434".split("_"),weekdays:function(e,t){var a={nominative:"\u043D\u0435\u0434\u0456\u043B\u044F_\u043F\u043E\u043D\u0435\u0434\u0456\u043B\u043E\u043A_\u0432\u0456\u0432\u0442\u043E\u0440\u043E\u043A_\u0441\u0435\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440_\u043F\u2019\u044F\u0442\u043D\u0438\u0446\u044F_\u0441\u0443\u0431\u043E\u0442\u0430".split("_"),accusative:"\u043D\u0435\u0434\u0456\u043B\u044E_\u043F\u043E\u043D\u0435\u0434\u0456\u043B\u043E\u043A_\u0432\u0456\u0432\u0442\u043E\u0440\u043E\u043A_\u0441\u0435\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440_\u043F\u2019\u044F\u0442\u043D\u0438\u0446\u044E_\u0441\u0443\u0431\u043E\u0442\u0443".split("_"),genitive:"\u043D\u0435\u0434\u0456\u043B\u0456_\u043F\u043E\u043D\u0435\u0434\u0456\u043B\u043A\u0430_\u0432\u0456\u0432\u0442\u043E\u0440\u043A\u0430_\u0441\u0435\u0440\u0435\u0434\u0438_\u0447\u0435\u0442\u0432\u0435\u0440\u0433\u0430_\u043F\u2019\u044F\u0442\u043D\u0438\u0446\u0456_\u0441\u0443\u0431\u043E\u0442\u0438".split("_")};return!0===e?a.nominative.slice(1,7).concat(a.nominative.slice(0,1)):e?a[/(\[[ВвУу]\]) ?dddd/.test(t)?"accusative":/\[?(?:минулої|наступної)? ?\] ?dddd/.test(t)?"genitive":"nominative"][e.day()]:a.nominative},weekdaysShort:"\u043D\u0434_\u043F\u043D_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043F\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043D\u0434_\u043F\u043D_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043F\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0440.",LLL:"D MMMM YYYY \u0440., HH:mm",LLLL:"dddd, D MMMM YYYY \u0440., HH:mm"},calendar:{sameDay:pt("[\u0421\u044C\u043E\u0433\u043E\u0434\u043D\u0456 "),nextDay:pt("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:pt("[\u0412\u0447\u043E\u0440\u0430 "),nextWeek:pt("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return pt("[\u041C\u0438\u043D\u0443\u043B\u043E\u0457] dddd [").call(this);case 1:case 2:case 4:return pt("[\u041C\u0438\u043D\u0443\u043B\u043E\u0433\u043E] dddd [").call(this);}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"%s \u0442\u043E\u043C\u0443",s:"\u0434\u0435\u043A\u0456\u043B\u044C\u043A\u0430 \u0441\u0435\u043A\u0443\u043D\u0434",ss:Yt,m:Yt,mm:Yt,h:"\u0433\u043E\u0434\u0438\u043D\u0443",hh:Yt,d:"\u0434\u0435\u043D\u044C",dd:Yt,M:"\u043C\u0456\u0441\u044F\u0446\u044C",MM:Yt,y:"\u0440\u0456\u043A",yy:Yt},meridiemParse:/ночі|ранку|дня|вечора/,isPM:function(e){return /^(дня|вечора)$/.test(e)},meridiem:function(e){return 4>e?"\u043D\u043E\u0447\u0456":12>e?"\u0440\u0430\u043D\u043A\u0443":17>e?"\u0434\u043D\u044F":"\u0432\u0435\u0447\u043E\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го)/,ordinal:function(e,t){return"M"===t||"d"===t||"DDD"===t||"w"===t||"W"===t?e+"-\u0439":"D"===t?e+"-\u0433\u043E":e},week:{dow:1,doy:7}});//! moment.js locale configuration -var ft=["\u062C\u0646\u0648\u0631\u06CC","\u0641\u0631\u0648\u0631\u06CC","\u0645\u0627\u0631\u0686","\u0627\u067E\u0631\u06CC\u0644","\u0645\u0626\u06CC","\u062C\u0648\u0646","\u062C\u0648\u0644\u0627\u0626\u06CC","\u0627\u06AF\u0633\u062A","\u0633\u062A\u0645\u0628\u0631","\u0627\u06A9\u062A\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u062F\u0633\u0645\u0628\u0631"],kt=["\u0627\u062A\u0648\u0627\u0631","\u067E\u06CC\u0631","\u0645\u0646\u06AF\u0644","\u0628\u062F\u06BE","\u062C\u0645\u0639\u0631\u0627\u062A","\u062C\u0645\u0639\u06C1","\u06C1\u0641\u062A\u06C1"];e.defineLocale("ur",{months:ft,monthsShort:ft,weekdays:kt,weekdaysShort:kt,weekdaysMin:kt,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060C D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(e){return"\u0634\u0627\u0645"===e},meridiem:function(e){return 12>e?"\u0635\u0628\u062D":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0622\u062C \u0628\u0648\u0642\u062A] LT",nextDay:"[\u06A9\u0644 \u0628\u0648\u0642\u062A] LT",nextWeek:"dddd [\u0628\u0648\u0642\u062A] LT",lastDay:"[\u06AF\u0630\u0634\u062A\u06C1 \u0631\u0648\u0632 \u0628\u0648\u0642\u062A] LT",lastWeek:"[\u06AF\u0630\u0634\u062A\u06C1] dddd [\u0628\u0648\u0642\u062A] LT",sameElse:"L"},relativeTime:{future:"%s \u0628\u0639\u062F",past:"%s \u0642\u0628\u0644",s:"\u0686\u0646\u062F \u0633\u06CC\u06A9\u0646\u0688",ss:"%d \u0633\u06CC\u06A9\u0646\u0688",m:"\u0627\u06CC\u06A9 \u0645\u0646\u0679",mm:"%d \u0645\u0646\u0679",h:"\u0627\u06CC\u06A9 \u06AF\u06BE\u0646\u0679\u06C1",hh:"%d \u06AF\u06BE\u0646\u0679\u06D2",d:"\u0627\u06CC\u06A9 \u062F\u0646",dd:"%d \u062F\u0646",M:"\u0627\u06CC\u06A9 \u0645\u0627\u06C1",MM:"%d \u0645\u0627\u06C1",y:"\u0627\u06CC\u06A9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"\u060C")},week:{dow:1,doy:4}}),//! moment.js locale configuration +var ft=["\u062C\u0646\u0648\u0631\u06CC","\u0641\u0631\u0648\u0631\u06CC","\u0645\u0627\u0631\u0686","\u0627\u067E\u0631\u06CC\u0644","\u0645\u0626\u06CC","\u062C\u0648\u0646","\u062C\u0648\u0644\u0627\u0626\u06CC","\u0627\u06AF\u0633\u062A","\u0633\u062A\u0645\u0628\u0631","\u0627\u06A9\u062A\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u062F\u0633\u0645\u0628\u0631"],gt=["\u0627\u062A\u0648\u0627\u0631","\u067E\u06CC\u0631","\u0645\u0646\u06AF\u0644","\u0628\u062F\u06BE","\u062C\u0645\u0639\u0631\u0627\u062A","\u062C\u0645\u0639\u06C1","\u06C1\u0641\u062A\u06C1"];e.defineLocale("ur",{months:ft,monthsShort:ft,weekdays:gt,weekdaysShort:gt,weekdaysMin:gt,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060C D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(e){return"\u0634\u0627\u0645"===e},meridiem:function(e){return 12>e?"\u0635\u0628\u062D":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0622\u062C \u0628\u0648\u0642\u062A] LT",nextDay:"[\u06A9\u0644 \u0628\u0648\u0642\u062A] LT",nextWeek:"dddd [\u0628\u0648\u0642\u062A] LT",lastDay:"[\u06AF\u0630\u0634\u062A\u06C1 \u0631\u0648\u0632 \u0628\u0648\u0642\u062A] LT",lastWeek:"[\u06AF\u0630\u0634\u062A\u06C1] dddd [\u0628\u0648\u0642\u062A] LT",sameElse:"L"},relativeTime:{future:"%s \u0628\u0639\u062F",past:"%s \u0642\u0628\u0644",s:"\u0686\u0646\u062F \u0633\u06CC\u06A9\u0646\u0688",ss:"%d \u0633\u06CC\u06A9\u0646\u0688",m:"\u0627\u06CC\u06A9 \u0645\u0646\u0679",mm:"%d \u0645\u0646\u0679",h:"\u0627\u06CC\u06A9 \u06AF\u06BE\u0646\u0679\u06C1",hh:"%d \u06AF\u06BE\u0646\u0679\u06D2",d:"\u0627\u06CC\u06A9 \u062F\u0646",dd:"%d \u062F\u0646",M:"\u0627\u06CC\u06A9 \u0645\u0627\u06C1",MM:"%d \u0645\u0627\u06C1",y:"\u0627\u06CC\u06A9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"\u060C")},week:{dow:1,doy:4}}),//! moment.js locale configuration e.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}}),//! moment.js locale configuration e.defineLocale("uz",{months:"\u044F\u043D\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043B_\u043C\u0430\u0440\u0442_\u0430\u043F\u0440\u0435\u043B_\u043C\u0430\u0439_\u0438\u044E\u043D_\u0438\u044E\u043B_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043D\u0442\u044F\u0431\u0440_\u043E\u043A\u0442\u044F\u0431\u0440_\u043D\u043E\u044F\u0431\u0440_\u0434\u0435\u043A\u0430\u0431\u0440".split("_"),monthsShort:"\u044F\u043D\u0432_\u0444\u0435\u0432_\u043C\u0430\u0440_\u0430\u043F\u0440_\u043C\u0430\u0439_\u0438\u044E\u043D_\u0438\u044E\u043B_\u0430\u0432\u0433_\u0441\u0435\u043D_\u043E\u043A\u0442_\u043D\u043E\u044F_\u0434\u0435\u043A".split("_"),weekdays:"\u042F\u043A\u0448\u0430\u043D\u0431\u0430_\u0414\u0443\u0448\u0430\u043D\u0431\u0430_\u0421\u0435\u0448\u0430\u043D\u0431\u0430_\u0427\u043E\u0440\u0448\u0430\u043D\u0431\u0430_\u041F\u0430\u0439\u0448\u0430\u043D\u0431\u0430_\u0416\u0443\u043C\u0430_\u0428\u0430\u043D\u0431\u0430".split("_"),weekdaysShort:"\u042F\u043A\u0448_\u0414\u0443\u0448_\u0421\u0435\u0448_\u0427\u043E\u0440_\u041F\u0430\u0439_\u0416\u0443\u043C_\u0428\u0430\u043D".split("_"),weekdaysMin:"\u042F\u043A_\u0414\u0443_\u0421\u0435_\u0427\u043E_\u041F\u0430_\u0416\u0443_\u0428\u0430".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[\u0411\u0443\u0433\u0443\u043D \u0441\u043E\u0430\u0442] LT [\u0434\u0430]",nextDay:"[\u042D\u0440\u0442\u0430\u0433\u0430] LT [\u0434\u0430]",nextWeek:"dddd [\u043A\u0443\u043D\u0438 \u0441\u043E\u0430\u0442] LT [\u0434\u0430]",lastDay:"[\u041A\u0435\u0447\u0430 \u0441\u043E\u0430\u0442] LT [\u0434\u0430]",lastWeek:"[\u0423\u0442\u0433\u0430\u043D] dddd [\u043A\u0443\u043D\u0438 \u0441\u043E\u0430\u0442] LT [\u0434\u0430]",sameElse:"L"},relativeTime:{future:"\u042F\u043A\u0438\u043D %s \u0438\u0447\u0438\u0434\u0430",past:"\u0411\u0438\u0440 \u043D\u0435\u0447\u0430 %s \u043E\u043B\u0434\u0438\u043D",s:"\u0444\u0443\u0440\u0441\u0430\u0442",ss:"%d \u0444\u0443\u0440\u0441\u0430\u0442",m:"\u0431\u0438\u0440 \u0434\u0430\u043A\u0438\u043A\u0430",mm:"%d \u0434\u0430\u043A\u0438\u043A\u0430",h:"\u0431\u0438\u0440 \u0441\u043E\u0430\u0442",hh:"%d \u0441\u043E\u0430\u0442",d:"\u0431\u0438\u0440 \u043A\u0443\u043D",dd:"%d \u043A\u0443\u043D",M:"\u0431\u0438\u0440 \u043E\u0439",MM:"%d \u043E\u0439",y:"\u0431\u0438\u0440 \u0439\u0438\u043B",yy:"%d \u0439\u0438\u043B"},week:{dow:1,doy:7}}),//! moment.js locale configuration e.defineLocale("vi",{months:"th\xE1ng 1_th\xE1ng 2_th\xE1ng 3_th\xE1ng 4_th\xE1ng 5_th\xE1ng 6_th\xE1ng 7_th\xE1ng 8_th\xE1ng 9_th\xE1ng 10_th\xE1ng 11_th\xE1ng 12".split("_"),monthsShort:"Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12".split("_"),monthsParseExact:!0,weekdays:"ch\u1EE7 nh\u1EADt_th\u1EE9 hai_th\u1EE9 ba_th\u1EE9 t\u01B0_th\u1EE9 n\u0103m_th\u1EE9 s\xE1u_th\u1EE9 b\u1EA3y".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(e){return /^ch$/i.test(e)},meridiem:function(e,t,a){return 12>e?a?"sa":"SA":a?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [n\u0103m] YYYY",LLL:"D MMMM [n\u0103m] YYYY HH:mm",LLLL:"dddd, D MMMM [n\u0103m] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[H\xF4m nay l\xFAc] LT",nextDay:"[Ng\xE0y mai l\xFAc] LT",nextWeek:"dddd [tu\u1EA7n t\u1EDBi l\xFAc] LT",lastDay:"[H\xF4m qua l\xFAc] LT",lastWeek:"dddd [tu\u1EA7n r\u1ED3i l\xFAc] LT",sameElse:"L"},relativeTime:{future:"%s t\u1EDBi",past:"%s tr\u01B0\u1EDBc",s:"v\xE0i gi\xE2y",ss:"%d gi\xE2y",m:"m\u1ED9t ph\xFAt",mm:"%d ph\xFAt",h:"m\u1ED9t gi\u1EDD",hh:"%d gi\u1EDD",d:"m\u1ED9t ng\xE0y",dd:"%d ng\xE0y",M:"m\u1ED9t th\xE1ng",MM:"%d th\xE1ng",y:"m\u1ED9t n\u0103m",yy:"%d n\u0103m"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}}),//! moment.js locale configuration @@ -262,4 +250,4 @@ e.defineLocale("x-pseudo",{months:"J~\xE1\xF1\xFA\xE1~r\xFD_F~\xE9br\xFA~\xE1r\x e.defineLocale("yo",{months:"S\u1EB9\u0301r\u1EB9\u0301_E\u0300re\u0300le\u0300_\u1EB8r\u1EB9\u0300na\u0300_I\u0300gbe\u0301_E\u0300bibi_O\u0300ku\u0300du_Ag\u1EB9mo_O\u0300gu\u0301n_Owewe_\u1ECC\u0300wa\u0300ra\u0300_Be\u0301lu\u0301_\u1ECC\u0300p\u1EB9\u0300\u0300".split("_"),monthsShort:"S\u1EB9\u0301r_E\u0300rl_\u1EB8rn_I\u0300gb_E\u0300bi_O\u0300ku\u0300_Ag\u1EB9_O\u0300gu\u0301_Owe_\u1ECC\u0300wa\u0300_Be\u0301l_\u1ECC\u0300p\u1EB9\u0300\u0300".split("_"),weekdays:"A\u0300i\u0300ku\u0301_Aje\u0301_I\u0300s\u1EB9\u0301gun_\u1ECCj\u1ECD\u0301ru\u0301_\u1ECCj\u1ECD\u0301b\u1ECD_\u1EB8ti\u0300_A\u0300ba\u0301m\u1EB9\u0301ta".split("_"),weekdaysShort:"A\u0300i\u0300k_Aje\u0301_I\u0300s\u1EB9\u0301_\u1ECCjr_\u1ECCjb_\u1EB8ti\u0300_A\u0300ba\u0301".split("_"),weekdaysMin:"A\u0300i\u0300_Aj_I\u0300s_\u1ECCr_\u1ECCb_\u1EB8t_A\u0300b".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[O\u0300ni\u0300 ni] LT",nextDay:"[\u1ECC\u0300la ni] LT",nextWeek:"dddd [\u1ECCs\u1EB9\u0300 to\u0301n'b\u1ECD] [ni] LT",lastDay:"[A\u0300na ni] LT",lastWeek:"dddd [\u1ECCs\u1EB9\u0300 to\u0301l\u1ECD\u0301] [ni] LT",sameElse:"L"},relativeTime:{future:"ni\u0301 %s",past:"%s k\u1ECDja\u0301",s:"i\u0300s\u1EB9ju\u0301 aaya\u0301 die",ss:"aaya\u0301 %d",m:"i\u0300s\u1EB9ju\u0301 kan",mm:"i\u0300s\u1EB9ju\u0301 %d",h:"wa\u0301kati kan",hh:"wa\u0301kati %d",d:"\u1ECDj\u1ECD\u0301 kan",dd:"\u1ECDj\u1ECD\u0301 %d",M:"osu\u0300 kan",MM:"osu\u0300 %d",y:"\u1ECDdu\u0301n kan",yy:"\u1ECDdu\u0301n %d"},dayOfMonthOrdinalParse:/ọjọ́\s\d{1,2}/,ordinal:"\u1ECDj\u1ECD\u0301 %d",week:{dow:1,doy:4}}),//! moment.js locale configuration e.defineLocale("zh-cn",{months:"\u4E00\u6708_\u4E8C\u6708_\u4E09\u6708_\u56DB\u6708_\u4E94\u6708_\u516D\u6708_\u4E03\u6708_\u516B\u6708_\u4E5D\u6708_\u5341\u6708_\u5341\u4E00\u6708_\u5341\u4E8C\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661F\u671F\u65E5_\u661F\u671F\u4E00_\u661F\u671F\u4E8C_\u661F\u671F\u4E09_\u661F\u671F\u56DB_\u661F\u671F\u4E94_\u661F\u671F\u516D".split("_"),weekdaysShort:"\u5468\u65E5_\u5468\u4E00_\u5468\u4E8C_\u5468\u4E09_\u5468\u56DB_\u5468\u4E94_\u5468\u516D".split("_"),weekdaysMin:"\u65E5_\u4E00_\u4E8C_\u4E09_\u56DB_\u4E94_\u516D".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5E74M\u6708D\u65E5",LLL:"YYYY\u5E74M\u6708D\u65E5Ah\u70B9mm\u5206",LLLL:"YYYY\u5E74M\u6708D\u65E5ddddAh\u70B9mm\u5206",l:"YYYY/M/D",ll:"YYYY\u5E74M\u6708D\u65E5",lll:"YYYY\u5E74M\u6708D\u65E5 HH:mm",llll:"YYYY\u5E74M\u6708D\u65E5dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u51CC\u6668"===t||"\u65E9\u4E0A"===t||"\u4E0A\u5348"===t?e:"\u4E0B\u5348"===t||"\u665A\u4E0A"===t?e+12:11<=e?e:e+12},meridiem:function(e,t){var s=100*e+t;return 600>s?"\u51CC\u6668":900>s?"\u65E9\u4E0A":1130>s?"\u4E0A\u5348":1230>s?"\u4E2D\u5348":1800>s?"\u4E0B\u5348":"\u665A\u4E0A"},calendar:{sameDay:"[\u4ECA\u5929]LT",nextDay:"[\u660E\u5929]LT",nextWeek:"[\u4E0B]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4E0A]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|周)/,ordinal:function(e,t){return"d"===t||"D"===t||"DDD"===t?e+"\u65E5":"M"===t?e+"\u6708":"w"===t||"W"===t?e+"\u5468":e},relativeTime:{future:"%s\u5185",past:"%s\u524D",s:"\u51E0\u79D2",ss:"%d \u79D2",m:"1 \u5206\u949F",mm:"%d \u5206\u949F",h:"1 \u5C0F\u65F6",hh:"%d \u5C0F\u65F6",d:"1 \u5929",dd:"%d \u5929",M:"1 \u4E2A\u6708",MM:"%d \u4E2A\u6708",y:"1 \u5E74",yy:"%d \u5E74"},week:{dow:1,doy:4}}),//! moment.js locale configuration e.defineLocale("zh-hk",{months:"\u4E00\u6708_\u4E8C\u6708_\u4E09\u6708_\u56DB\u6708_\u4E94\u6708_\u516D\u6708_\u4E03\u6708_\u516B\u6708_\u4E5D\u6708_\u5341\u6708_\u5341\u4E00\u6708_\u5341\u4E8C\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661F\u671F\u65E5_\u661F\u671F\u4E00_\u661F\u671F\u4E8C_\u661F\u671F\u4E09_\u661F\u671F\u56DB_\u661F\u671F\u4E94_\u661F\u671F\u516D".split("_"),weekdaysShort:"\u9031\u65E5_\u9031\u4E00_\u9031\u4E8C_\u9031\u4E09_\u9031\u56DB_\u9031\u4E94_\u9031\u516D".split("_"),weekdaysMin:"\u65E5_\u4E00_\u4E8C_\u4E09_\u56DB_\u4E94_\u516D".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5E74M\u6708D\u65E5",LLL:"YYYY\u5E74M\u6708D\u65E5 HH:mm",LLLL:"YYYY\u5E74M\u6708D\u65E5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5E74M\u6708D\u65E5",lll:"YYYY\u5E74M\u6708D\u65E5 HH:mm",llll:"YYYY\u5E74M\u6708D\u65E5dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u51CC\u6668"===t||"\u65E9\u4E0A"===t||"\u4E0A\u5348"===t?e:"\u4E2D\u5348"===t?11<=e?e:e+12:"\u4E0B\u5348"===t||"\u665A\u4E0A"===t?e+12:void 0},meridiem:function(e,t){var s=100*e+t;return 600>s?"\u51CC\u6668":900>s?"\u65E9\u4E0A":1130>s?"\u4E0A\u5348":1230>s?"\u4E2D\u5348":1800>s?"\u4E0B\u5348":"\u665A\u4E0A"},calendar:{sameDay:"[\u4ECA\u5929]LT",nextDay:"[\u660E\u5929]LT",nextWeek:"[\u4E0B]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4E0A]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){return"d"===t||"D"===t||"DDD"===t?e+"\u65E5":"M"===t?e+"\u6708":"w"===t||"W"===t?e+"\u9031":e},relativeTime:{future:"%s\u5167",past:"%s\u524D",s:"\u5E7E\u79D2",ss:"%d \u79D2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5C0F\u6642",hh:"%d \u5C0F\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500B\u6708",MM:"%d \u500B\u6708",y:"1 \u5E74",yy:"%d \u5E74"}}),//! moment.js locale configuration -e.defineLocale("zh-tw",{months:"\u4E00\u6708_\u4E8C\u6708_\u4E09\u6708_\u56DB\u6708_\u4E94\u6708_\u516D\u6708_\u4E03\u6708_\u516B\u6708_\u4E5D\u6708_\u5341\u6708_\u5341\u4E00\u6708_\u5341\u4E8C\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661F\u671F\u65E5_\u661F\u671F\u4E00_\u661F\u671F\u4E8C_\u661F\u671F\u4E09_\u661F\u671F\u56DB_\u661F\u671F\u4E94_\u661F\u671F\u516D".split("_"),weekdaysShort:"\u9031\u65E5_\u9031\u4E00_\u9031\u4E8C_\u9031\u4E09_\u9031\u56DB_\u9031\u4E94_\u9031\u516D".split("_"),weekdaysMin:"\u65E5_\u4E00_\u4E8C_\u4E09_\u56DB_\u4E94_\u516D".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5E74M\u6708D\u65E5",LLL:"YYYY\u5E74M\u6708D\u65E5 HH:mm",LLLL:"YYYY\u5E74M\u6708D\u65E5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5E74M\u6708D\u65E5",lll:"YYYY\u5E74M\u6708D\u65E5 HH:mm",llll:"YYYY\u5E74M\u6708D\u65E5dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u51CC\u6668"===t||"\u65E9\u4E0A"===t||"\u4E0A\u5348"===t?e:"\u4E2D\u5348"===t?11<=e?e:e+12:"\u4E0B\u5348"===t||"\u665A\u4E0A"===t?e+12:void 0},meridiem:function(e,t){var s=100*e+t;return 600>s?"\u51CC\u6668":900>s?"\u65E9\u4E0A":1130>s?"\u4E0A\u5348":1230>s?"\u4E2D\u5348":1800>s?"\u4E0B\u5348":"\u665A\u4E0A"},calendar:{sameDay:"[\u4ECA\u5929] LT",nextDay:"[\u660E\u5929] LT",nextWeek:"[\u4E0B]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4E0A]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){return"d"===t||"D"===t||"DDD"===t?e+"\u65E5":"M"===t?e+"\u6708":"w"===t||"W"===t?e+"\u9031":e},relativeTime:{future:"%s\u5167",past:"%s\u524D",s:"\u5E7E\u79D2",ss:"%d \u79D2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5C0F\u6642",hh:"%d \u5C0F\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500B\u6708",MM:"%d \u500B\u6708",y:"1 \u5E74",yy:"%d \u5E74"}}),e.locale("en")})(Q)}),customElements.define("atomic-calendar-revive",class extends q{constructor(){super(),this.lastCalendarUpdateTime,this.lastEventsUpdateTime,this.lastHTMLUpdateTime,this.events,this.content=P(_templateObject()),this.shouldUpdateHtml=!0,this.errorMessage="",this.modeToggle=0,this.selectedMonth=Q(),this.refreshCalEvents=null,this.monthToGet=Q().format("MM"),this.month=[],this.showLoader=!1,this.eventSummary=P(_templateObject2()),this.firstrun=!0,this.language=""}static get properties(){return{hass:{},_config:{},content:{},selectedMonth:{}}}static async getConfigElement(){return await import("./atomic-calendar-revive-editor.js"),document.createElement("atomic-calendar-revive-editor")}updated(){}render(){this.firstrun&&console.info("%c atomic-calendar-revive %c Version: 1.2.0 ","color: white; background: #484848; font-weight: 700;","color: white; background: #cc5500; font-weight: 700;"),this.language=""==this._config.language?this.hass.language.toLowerCase():this._config.language;let e=Q.localeData(this.language).longDateFormat("LT");return"12h"==this._config.hoursFormat?e="h:mm A":"24h"==this._config.hoursFormat?e="H:mm":"default"!=this._config.hoursFormat&&(e=this._config.hoursFormat),Q.updateLocale(this.language,{week:{dow:this._config.firstDayOfWeek},longDateFormat:{LT:e}}),this.firstrun=!1,this.isUpdating||1!=this.modeToggle||(!this.lastEventsUpdateTime||15{this.showLoader=!0,this.isUpdating=!0;try{this.events=await this.getEvents()}catch(e){console.log(e),this.errorMessage="The calendar can't be loaded from Home Assistant component",this.showLoader=!1}this.lastEventsUpdateTime=Q(),this.updateEventsHTML(this.events),this.isUpdating=!1,this.showLoader=!1})(),1==this.modeToggle?this.updateEventsHTML(this.events):this.updateCalendarHTML(),P(_templateObject3(),this.setStyle(),this._config.name?P(_templateObject4(),()=>this.handleToggle(),this._config.name):"",this.showLoader&&this._config.showLoader?P(_templateObject5()):"",this._config.showDate?this.getDate():null,this.content)}firstTimeConfig(){}handleToggle(){this._config.enableModeChange&&(this.modeToggle=1==this.modeToggle?2:1,this.requestUpdate())}setStyle(){return P(_templateObject6(),this._config.eventBarColor,this._config.eventCalNameColor,this._config.eventCalNameSize,this._config.progressBarColor,this._config.progressBarColor)}getDate(){const e=Q().format(this._config.dateFormat);return P(_templateObject7(),e)}setConfig(e){if(!(e=JSON.parse(JSON.stringify(e))).entities)throw new Error("Please define atomic-calendar-revive card entity");this._config={fullDayEventText:"All day",untilText:"Until",language:"",showColors:!0,maxDaysToShow:7,maxEventCount:0,showLoader:!0,showLocation:!0,showMonth:!1,fullTextTime:!0,showCurrentEventLine:!1,showDate:!1,dateFormat:"LL",hoursFormat:"default",startDaysAhead:0,showLastCalendarWeek:!0,showCalNameInEvent:!1,sortByStartTime:!1,disableEventLink:!1,disableLocationLink:!1,linkTarget:"_blank",dateColor:"var(--primary-text-color)",dateSize:90,descColor:"var(--primary-text-color)",descSize:80,showNoEventsForToday:!1,noEventsForTodayText:"No events for today",noEventsForNextDaysText:"No events in the next days",timeColor:"var(--primary-color)",timeSize:90,showHours:!0,titleColor:"var(--primary-text-color)",titleSize:100,locationIconColor:"rgb(230, 124, 115)",locationLinkColor:"var(--primary-text-color)",locationTextSize:90,hideFinishedEvents:!1,dimFinishedEvents:!0,finishedEventOpacity:.6,finishedEventFilter:"grayscale(100%)",dayWrapperLineColor:"var(--primary-text-color)",eventBarColor:"var(--primary-color)",eventCalNameColor:"var(--primary-text-color)",eventCalNameSize:90,showProgressBar:!0,progressBarColor:"var(--primary-color)",enableModeChange:!1,defaultMode:1,CalEventBackgroundColor:"#ededed",CalEventBackgroundFilter:null,CalEventHolidayColor:"red",CalEventHolidayFilter:null,CalEventIcon1:"mdi:gift",CalEventIcon1Color:"var(--primary-text-color)",CalEventIcon1Filter:null,CalEventIcon2:"mdi:home",CalEventIcon2Color:"var(--primary-text-color)",CalEventIcon2Filter:null,CalEventIcon3:"mdi:star",CalEventIcon3Color:"var(--primary-text-color)",CalEventIcon3Filter:null,firstDayOfWeek:1,blacklist:null,whitelist:null,...e},this.modeToggle=this._config.defaultMode,"string"==typeof this._config.entities&&(this._config.entities=[{entity:e.entities}]),this._config.entities.forEach((e,t)=>{"string"==typeof e&&(this._config.entities[t]={entity:e})})}shouldUpdate(e){return function(e,t){if(t.has("_config"))return!0;const a=t.get("hass");return!a||a.states[e._config.entity]!==e.hass.states[e._config.entity]}(this,e)}getCardSize(){return this._config.entities.length+1}_toggle(e){this.hass.callService("homeassistant","toggle",{entity_id:e.entity_id})}getTitleHTML(e){const t=this._config.showCalNameInEvent?e.eventClass.organizer.displayName+": "+e.title:e.title,a=this._config.showColors&&void 0!==e._config.titleColor?e._config.titleColor:this._config.titleColor;return this._config.disableEventLink||null===e.link?P(_templateObject8(),this._config.titleSize,a,t):P(_templateObject9(),e.link,this._config.linkTarget,this._config.titleSize,a,t)}getHoursHTML(e){const t=Q();return e.isEmpty?P(_templateObject10()):e.isFullOneDayEvent||e.isFullMoreDaysEvent&&Q(e.endTime).isSame(t,"day")?P(_templateObject11(),this._config.fullDayEventText):e.isFullMoreDaysEvent||e.isFullMoreDaysEvent&&(Q(e.startTime).isBefore(t,"day")||Q(e.endTime).isAfter(t,"day"))?P(_templateObject12(),this._config.fullDayEventText,this._config.untilText.toLowerCase(),this.getCurrDayAndMonth(Q(e.endTime))):Q(e.startTime).isBefore(t,"day")&&Q(e.endTime).isAfter(t,"day")?P(_templateObject13(),this._config.untilText,this.getCurrDayAndMonth(Q(e.endTime))):Q(e.startTime).isBefore(t,"day")&&Q(e.endTime).isSame(t,"day")?P(_templateObject14(),this._config.untilText,e.endTime.format("LT")):!Q(e.startTime).isBefore(t,"day")&&Q(e.endTime).isAfter(e.startTime,"day")?P(_templateObject15(),e.startTime.format("LT"),this._config.untilText.toLowerCase(),this.getCurrDayAndMonth(Q(e.endTime))):P(_templateObject16(),e.startTime.format("LT"),e.endTime.format("LT"))}getLocationHTML(e){return e.location&&this._config.showLocation?this._config.disableLocationLink?P(_templateObject17(),this._config.locationIconColor,e.address):P(_templateObject18(),e.location,this._config.linkTarget,this._config.locationLinkColor,this._config.locationTextSize,this._config.locationIconColor,e.address):P(_templateObject19())}updateEventsHTML(e){var t;if(!e)this.content=P(_templateObject27(),this.errorMessage);else if(0!=e.length){if(Q(e[0][0]).isSame(Q(),"day")&&1e.map((e,a,s)=>{const n=0==a&&0!!RegExp("(?:^|\\s)"+t.trim(),"i").test(e))}async getEvents(){let e=-Q().utcOffset(),t=Q().add(this._config.startDaysAhead,"days").startOf("day").add(e,"minutes").format("YYYY-MM-DDTHH:mm:ss"),a=Q().add(this._config.maxDaysToShow+this._config.startDaysAhead,"days").endOf("day").add(e,"minutes").format("YYYY-MM-DDTHH:mm:ss"),s=[];this._config.entities.map(e=>{s.push(["calendars/".concat(e.entity,"?start=").concat(t,"Z&end=").concat(a,"Z")])});try{return await Promise.all(s.map(e=>this.hass.callApi("get",e[0]))).then(e=>{let t=[],a=0;e.map((e,s)=>{e.map(e=>{let n=void 0===this._config.entities[s].blacklist?"":this._config.entities[s].blacklist,i=void 0===this._config.entities[s].whitelist?"":this._config.entities[s].whitelist,r=(void 0!==this._config.entities[s].eventCalName&&this._config.entities[s].eventCalName,new ee(e,this._config.entities[s]));!(0===this._config.maxEventCount||a{void 0!==e.type&&d.push(["calendars/".concat(e.entity,"?start=").concat(i,"Z&end=").concat(r,"Z"),e.type,void 0===e.blacklist?"":e.blacklist,void 0===e.whitelist?"":e.whitelist])}),Promise.all(d.map(e=>this.hass.callApi("get",e[0]))).then(e=>{a==this.monthToGet&&e.map((e,t)=>(this.month.map(a=>{const s=d[t][1],n=d[t][0],i=void 0===d[t][2]?"":d[t][2];void 0!==d[t][3]&&d[t][3],e.map(e=>{const t=e.start.dateTime?Q(e.start.dateTime):Q(e.start.date).startOf("day"),r=e.end.dateTime?Q(e.end.dateTime):Q(e.end.date).subtract(1,"days").endOf("day");if(!Q(t).isAfter(a.date,"day")&&!Q(r).isBefore(a.date,"day")&&s&&!this.checkFilter(e.summary,i))try{this.checkFilter("icon1",s)&&(this._config.CalEventIcon1Filter&&!this.checkFilter(e.summary,this._config.CalEventIcon1Filter)||a.icon1.push(e.summary)),this.checkFilter("icon2",s)&&(this._config.CalEventIcon2Filter&&!this.checkFilter(e.summary,this._config.CalEventIcon2Filter)||a.icon2.push(e.summary)),this.checkFilter("icon3",s)&&(this._config.CalEventIcon3Filter&&!this.checkFilter(e.summary,this._config.CalEventIcon3Filter)||a.icon3.push(e.summary)),this.checkFilter("holiday",s)&&a.holiday.push(e.summary)}catch(e){console.log("error: ",e,n)}})}),s)),a==this.monthToGet&&(this.showLoader=!1),this.refreshCalEvents=!1,this.requestUpdate()}).catch(e=>{this.refreshCalEvents=!1,console.log("error: ",e),this.showLoader=!1})}buildCalendar(e){const t=Q(e).startOf("month"),a=t.day();this.month=[];let s=0;s=0<=a-this._config.firstDayOfWeek?0:7;for(var n=this._config.firstDayOfWeek-a-s;n<42-a+this._config.firstDayOfWeek-s;n++)this.month.push(new X(Q(t).add(n,"days"),n))}handleMonthChange(e){this.selectedMonth=Q(this.selectedMonth).add(e,"months"),this.monthToGet=this.selectedMonth.format("M"),this.eventSummary=P(_templateObject28()),this.refreshCalEvents=!0}handleEventSummary(e){let t=[","].concat.apply([],[e.holiday,e.daybackground,e.icon1,e.icon2,e.icon3]).join(", ");""==t&&(t=P(_templateObject29())),this.eventSummary=P(_templateObject30(),t),this.requestUpdate()}getCalendarHeaderHTML(){return P(_templateObject31(),()=>this.handleMonthChange(-1),Q(this.selectedMonth).format("YYYY"),Q(this.selectedMonth).format("MM"),this._config.titleColor,this._config.linkTarget,Q(this.selectedMonth).locale(this.language).format("MMMM"),Q(this.selectedMonth).format("YYYY"),()=>this.handleMonthChange(1))}getCalendarDaysHTML(e){var t=!0;return this._config.showLastCalendarWeek||Q(e[35].date).isSame(this.selectedMonth,"month")||(t=!1),e.map((e,a)=>{const s=Q(e.date).isSame(Q(this.selectedMonth),"month")?"":"opacity: .35;",n=Q(e.date).isSame(Q(),"day")?"border: 1px solid grey;":"border: 1px solid grey; border-color: transparent;",i=e.holiday&&0a||t)return P(_templateObject35(),0==a%7?P(_templateObject36()):"",()=>this.handleEventSummary(e),this._config.titleColor,s,n,i,r,e.dayNumber.replace(/^0|[^/]0./,""),d,o,_,a&&0==a%6?P(_templateObject37()):"")})}updateCalendarHTML(){(0==this.month.length||this.refreshCalEvents||120P(_templateObject38(),this._config.titleColor,e));this.content=P(_templateObject39(),this.getCalendarHeaderHTML(),this._config.titleColor,t,this.getCalendarDaysHTML(e),this.eventSummary)}});class X{constructor(e,t){this.calendarDay=e,this._lp=t,this.ymd=Q(e).format("YYYY-MM-DD"),this._holiday=[],this._icon1=[],this._icon2=[],this._icon3=[],this._daybackground=[]}get date(){return Q(this.calendarDay)}get dayNumber(){return Q(this.calendarDay).format("DD")}get monthNumber(){return Q(this.calendarDay).month()}set holiday(e){this._holiday=e}get holiday(){return this._holiday}set icon1(e){this._icon1=e}get icon1(){return this._icon1}set icon2(e){this._icon2=e}get icon2(){return this._icon2}set icon3(e){this._icon3=e}get icon3(){return this._icon3}set daybackground(e){this._daybackground=e}get daybackground(){return this._daybackground}}class ee{constructor(e,t){this.eventClass=e,this._config=t,this._startTime=this.eventClass.start.dateTime?Q(this.eventClass.start.dateTime):Q(this.eventClass.start.date).startOf("day"),this._endTime=this.eventClass.end.dateTime?Q(this.eventClass.end.dateTime):Q(this.eventClass.end.date).subtract(1,"days").endOf("day"),this.isFinished=!1,this.isEmpty=!1}get titleColor(){return this._config.titleColor?this._config.titleColor:"var(--primary-text-color)"}get title(){return this.eventClass.summary}get description(){return this.eventClass.description}get startTime(){return this._startTime}get startTimeToShow(){var e=this.eventClass.start.dateTime?Q(this.eventClass.start.dateTime):Q(this.eventClass.start.date).startOf("day");return Q(e).isBefore(Q().startOf("day"))?Q().startOf("day"):e}get endTime(){return this._endTime}get isFullDayEvent(){return!this.eventClass.start.dateTime&&!this.eventClass.end.dateTime}get isFullOneDayEvent(){return!!(!this.eventClass.start.dateTime&&!this.eventClass.end.dateTime&&Q(this.eventClass.start.date).isSame(Q(this.eventClass.end.date).subtract(1,"days"),"day")||Q(this.eventClass.start.dateTime).isSame(Q(this.eventClass.start.dateTime).startOf("day"))&&Q(this.eventClass.end.dateTime).isSame(Q(this.eventClass.end.dateTime).startOf("day"))&&Q(this.eventClass.start.dateTime).isSame(Q(this.eventClass.end.dateTime).subtract(1,"days"),"day"))}get isFullMoreDaysEvent(){return!((this.eventClass.start.dateTime||this.eventClass.end.dateTime||Q(this.eventClass.start.date).isSame(Q(this.eventClass.end.date).subtract(1,"days"),"day"))&&!(Q(this.eventClass.start.dateTime).isSame(Q(this.eventClass.start.dateTime).startOf("day"))&&Q(this.eventClass.end.dateTime).isSame(Q(this.eventClass.end.dateTime).startOf("day"))&&Q(this.eventClass.end.dateTime).isAfter(Q(this.eventClass.start.dateTime).subtract(1,"days"),"day")))}get daysToSort(){return Q(this.startTimeToShow).format("YYYYMMDD")}get isEventRunning(){return Q(this.startTime).isBefore(Q())&&Q(this.endTime).isAfter(Q())}get isEventFinished(){return Q(this.endTime).isBefore(Q())}get location(){return this.eventClass.location?this.eventClass.location.split(" ").join("+"):""}get address(){return this.eventClass.location?this.eventClass.location.split(",")[0]:""}get link(){return this.eventClass.htmlLink}} +e.defineLocale("zh-tw",{months:"\u4E00\u6708_\u4E8C\u6708_\u4E09\u6708_\u56DB\u6708_\u4E94\u6708_\u516D\u6708_\u4E03\u6708_\u516B\u6708_\u4E5D\u6708_\u5341\u6708_\u5341\u4E00\u6708_\u5341\u4E8C\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661F\u671F\u65E5_\u661F\u671F\u4E00_\u661F\u671F\u4E8C_\u661F\u671F\u4E09_\u661F\u671F\u56DB_\u661F\u671F\u4E94_\u661F\u671F\u516D".split("_"),weekdaysShort:"\u9031\u65E5_\u9031\u4E00_\u9031\u4E8C_\u9031\u4E09_\u9031\u56DB_\u9031\u4E94_\u9031\u516D".split("_"),weekdaysMin:"\u65E5_\u4E00_\u4E8C_\u4E09_\u56DB_\u4E94_\u516D".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5E74M\u6708D\u65E5",LLL:"YYYY\u5E74M\u6708D\u65E5 HH:mm",LLLL:"YYYY\u5E74M\u6708D\u65E5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5E74M\u6708D\u65E5",lll:"YYYY\u5E74M\u6708D\u65E5 HH:mm",llll:"YYYY\u5E74M\u6708D\u65E5dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u51CC\u6668"===t||"\u65E9\u4E0A"===t||"\u4E0A\u5348"===t?e:"\u4E2D\u5348"===t?11<=e?e:e+12:"\u4E0B\u5348"===t||"\u665A\u4E0A"===t?e+12:void 0},meridiem:function(e,t){var s=100*e+t;return 600>s?"\u51CC\u6668":900>s?"\u65E9\u4E0A":1130>s?"\u4E0A\u5348":1230>s?"\u4E2D\u5348":1800>s?"\u4E0B\u5348":"\u665A\u4E0A"},calendar:{sameDay:"[\u4ECA\u5929] LT",nextDay:"[\u660E\u5929] LT",nextWeek:"[\u4E0B]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4E0A]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){return"d"===t||"D"===t||"DDD"===t?e+"\u65E5":"M"===t?e+"\u6708":"w"===t||"W"===t?e+"\u9031":e},relativeTime:{future:"%s\u5167",past:"%s\u524D",s:"\u5E7E\u79D2",ss:"%d \u79D2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5C0F\u6642",hh:"%d \u5C0F\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500B\u6708",MM:"%d \u500B\u6708",y:"1 \u5E74",yy:"%d \u5E74"}}),e.locale("en")})(K)}),customElements.define("atomic-calendar-revive",class extends B{constructor(){super(),this.lastCalendarUpdateTime,this.lastEventsUpdateTime,this.lastHTMLUpdateTime,this.events,this.content=W(_templateObject()),this.shouldUpdateHtml=!0,this.errorMessage="",this.modeToggle=0,this.selectedMonth=K(),this.refreshCalEvents=null,this.monthToGet=K().format("MM"),this.month=[],this.showLoader=!1,this.eventSummary=W(_templateObject2()),this.firstrun=!0,this.language=""}static get properties(){return{hass:{},_config:{},content:{},selectedMonth:{}}}static async getConfigElement(){return await import("./atomic-calendar-revive-editor.js"),document.createElement("atomic-calendar-revive-editor")}updated(){}render(){this.firstrun&&console.info("%c atomic-calendar-revive %c Version: 1.3.0-dev3 ","color: white; background: #484848; font-weight: 700;","color: white; background: #cc5500; font-weight: 700;"),this.language=""==this._config.language?this.hass.language.toLowerCase():this._config.language;let e=K.localeData(this.language).longDateFormat("LT");return"12h"==this._config.hoursFormat?e="h:mm A":"24h"==this._config.hoursFormat?e="H:mm":"default"!=this._config.hoursFormat&&(e=this._config.hoursFormat),K.updateLocale(this.language,{week:{dow:this._config.firstDayOfWeek},longDateFormat:{LT:e}}),this.firstrun=!1,this.isUpdating||1!=this.modeToggle||(!this.lastEventsUpdateTime||15{this.showLoader=!0,this.isUpdating=!0;try{this.events=await this.getEvents()}catch(e){console.log(e),this.errorMessage="The calendar can't be loaded from Home Assistant component",this.showLoader=!1}this.lastEventsUpdateTime=K(),this.updateEventsHTML(this.events),this.isUpdating=!1,this.showLoader=!1})(),1==this.modeToggle?this.updateEventsHTML(this.events):this.updateCalendarHTML(),W(_templateObject3(),this.setStyle(),this._config.name?W(_templateObject4(),()=>this.handleToggle(),this._config.name):"",this.showLoader&&this._config.showLoader?W(_templateObject5()):"",this._config.showDate?this.getDate():null,this.content)}firstTimeConfig(){}handleToggle(){this._config.enableModeChange&&(this.modeToggle=1==this.modeToggle?2:1,this.requestUpdate())}setStyle(){return W(_templateObject6(),this._config.eventBarColor,this._config.eventCalNameColor,this._config.eventCalNameSize,this._config.progressBarColor,this._config.progressBarColor,this._config.CalGridColor)}getDate(){const e=K().format(this._config.dateFormat);return W(_templateObject7(),e)}setConfig(e){if(!(e=JSON.parse(JSON.stringify(e))).entities)throw new Error("Please define atomic-calendar-revive card entity");this._config={fullDayEventText:"All day",untilText:"Until",language:"",showColors:!0,maxDaysToShow:7,maxEventCount:0,showLoader:!0,showLocation:!0,showMonth:!1,showWeekDay:!1,fullTextTime:!0,showCurrentEventLine:!1,showDate:!1,dateFormat:"LL",hoursFormat:"default",startDaysAhead:0,showLastCalendarWeek:!1,showCalNameInEvent:!1,sortByStartTime:!1,disableEventLink:!1,disableLocationLink:!1,linkTarget:"_blank",dateColor:"var(--primary-text-color)",dateSize:90,descColor:"var(--primary-text-color)",descSize:80,showNoEventsForToday:!1,noEventsForTodayText:"No events for today",noEventsForNextDaysText:"No events in the next days",timeColor:"var(--primary-color)",timeSize:90,showHours:!0,titleColor:"var(--primary-text-color)",titleSize:100,locationIconColor:"rgb(230, 124, 115)",locationLinkColor:"var(--primary-text-color)",locationTextSize:90,hideFinishedEvents:!1,dimFinishedEvents:!0,finishedEventOpacity:.6,finishedEventFilter:"grayscale(100%)",dayWrapperLineColor:"var(--primary-text-color)",eventBarColor:"var(--primary-color)",eventCalNameColor:"var(--primary-text-color)",eventCalNameSize:90,showProgressBar:!0,progressBarColor:"var(--primary-color)",enableModeChange:!1,defaultMode:1,CalGridColor:"rgba(86, 86, 86, .35)",calEventBulletColor:"#cc5500",CalEventBackgroundColor:"rgba(86, 100, 86, .35)",CalEventBackgroundFilter:null,CalEventWeekendColor:"rgba(86, 86, 86, .60)",CalEventHolidayColor:"red",CalEventHolidayFilter:null,CalEventIcon1:"mdi:gift",CalEventIcon1Color:"var(--primary-text-color)",CalEventIcon1Filter:null,CalEventIcon2:"mdi:home",CalEventIcon2Color:"var(--primary-text-color)",CalEventIcon2Filter:null,CalEventIcon3:"mdi:star",CalEventIcon3Color:"var(--primary-text-color)",CalEventIcon3Filter:null,firstDayOfWeek:1,blacklist:null,whitelist:null,...e},this.modeToggle=this._config.defaultMode,"string"==typeof this._config.entities&&(this._config.entities=[{entity:e.entities}]),this._config.entities.forEach((e,t)=>{"string"==typeof e&&(this._config.entities[t]={entity:e})})}shouldUpdate(e){return function(e,t){if(t.has("_config"))return!0;const a=t.get("hass");return!a||a.states[e._config.entity]!==e.hass.states[e._config.entity]}(this,e)}getCardSize(){return this._config.entities.length+1}_toggle(e){this.hass.callService("homeassistant","toggle",{entity_id:e.entity_id})}getTitleHTML(e){const t=this._config.showCalNameInEvent?e.eventClass.organizer.displayName+": "+e.title:e.title,a=this._config.showColors&&void 0!==e._config.titleColor?e._config.titleColor:this._config.titleColor;return this._config.disableEventLink||null===e.link?W(_templateObject8(),this._config.titleSize,a,t):W(_templateObject9(),e.link,this._config.linkTarget,this._config.titleSize,a,t)}getHoursHTML(e){const t=K();return e.isEmpty?W(_templateObject10()):e.isFullOneDayEvent||e.isFullMoreDaysEvent&&K(e.endTime).isSame(t,"day")?W(_templateObject11(),this._config.fullDayEventText):e.isFullMoreDaysEvent||e.isFullMoreDaysEvent&&(K(e.startTime).isBefore(t,"day")||K(e.endTime).isAfter(t,"day"))?W(_templateObject12(),this._config.fullDayEventText,this._config.untilText.toLowerCase(),this.getCurrDayAndMonth(K(e.endTime))):K(e.startTime).isBefore(t,"day")&&K(e.endTime).isAfter(t,"day")?W(_templateObject13(),this._config.untilText,this.getCurrDayAndMonth(K(e.endTime))):K(e.startTime).isBefore(t,"day")&&K(e.endTime).isSame(t,"day")?W(_templateObject14(),this._config.untilText,e.endTime.format("LT")):!K(e.startTime).isBefore(t,"day")&&K(e.endTime).isAfter(e.startTime,"day")?W(_templateObject15(),e.startTime.format("LT"),this._config.untilText.toLowerCase(),this.getCurrDayAndMonth(K(e.endTime))):W(_templateObject16(),e.startTime.format("LT"),e.endTime.format("LT"))}getLocationHTML(e){return e.location&&this._config.showLocation?this._config.disableLocationLink?W(_templateObject17(),this._config.locationIconColor,e.address):W(_templateObject18(),e.location,this._config.linkTarget,this._config.locationLinkColor,this._config.locationTextSize,this._config.locationIconColor,e.address):W(_templateObject19())}updateEventsHTML(e){var t;if(!e)this.content=W(_templateObject27(),this.errorMessage);else if(0!=e.length){if(K(e[0][0]).isSame(K(),"day")&&1e.map((e,a,s)=>{const n=0==a&&0!!RegExp("(?:^|\\s)"+t.trim(),"i").test(e))}async getEvents(){let e=-K().utcOffset(),t=K().add(this._config.startDaysAhead,"days").startOf("day").add(e,"minutes").format("YYYY-MM-DDTHH:mm:ss"),a=K().add(this._config.maxDaysToShow+this._config.startDaysAhead,"days").endOf("day").add(e,"minutes").format("YYYY-MM-DDTHH:mm:ss"),s=[];this._config.entities.map(e=>{s.push(["calendars/".concat(e.entity,"?start=").concat(t,"Z&end=").concat(a,"Z")])});try{return await Promise.all(s.map(e=>this.hass.callApi("get",e[0]))).then(e=>{let t=[],a=0;e.map((e,s)=>{e.map(e=>{let n=void 0===this._config.entities[s].blacklist?"":this._config.entities[s].blacklist,i=void 0===this._config.entities[s].whitelist?"":this._config.entities[s].whitelist,r=(void 0!==this._config.entities[s].eventCalName&&this._config.entities[s].eventCalName,new X(e,this._config.entities[s]));!(0===this._config.maxEventCount||a{void 0!==e.type&&d.push(["calendars/".concat(e.entity,"?start=").concat(i,"Z&end=").concat(r,"Z"),e.type,void 0===e.blacklist?"":e.blacklist,void 0===e.whitelist?"":e.whitelist])}),Promise.all(d.map(e=>this.hass.callApi("get",e[0]))).then(e=>{a==this.monthToGet&&e.map((e,t)=>(this.month.map(a=>{const s=d[t][1],n=d[t][0],i=void 0===d[t][2]?"":d[t][2];void 0!==d[t][3]&&d[t][3],e.map(e=>{const t=e.start.dateTime?K(e.start.dateTime):K(e.start.date).startOf("day"),r=e.end.dateTime?K(e.end.dateTime):K(e.end.date).subtract(1,"days").endOf("day");if(!K(t).isAfter(a.date,"day")&&!K(r).isBefore(a.date,"day")&&s&&!this.checkFilter(e.summary,i))try{this.checkFilter("icon1",s)&&(this._config.CalEventIcon1Filter&&!this.checkFilter(e.summary,this._config.CalEventIcon1Filter)||a.icon1.push(e.summary)),this.checkFilter("icon2",s)&&(this._config.CalEventIcon2Filter&&!this.checkFilter(e.summary,this._config.CalEventIcon2Filter)||a.icon2.push(e.summary)),this.checkFilter("icon3",s)&&(this._config.CalEventIcon3Filter&&!this.checkFilter(e.summary,this._config.CalEventIcon3Filter)||a.icon3.push(e.summary)),this.checkFilter("holiday",s)&&a.holiday.push(e.summary)}catch(e){console.log("error: ",e,n)}})}),s)),a==this.monthToGet&&(this.showLoader=!1),this.refreshCalEvents=!1,this.requestUpdate()}).catch(e=>{this.refreshCalEvents=!1,console.log("error: ",e),this.showLoader=!1})}buildCalendar(e){const t=K(e).startOf("month"),a=t.day();this.month=[];let s=0;s=0<=a-this._config.firstDayOfWeek?0:7;for(var n=this._config.firstDayOfWeek-a-s;n<42-a+this._config.firstDayOfWeek-s;n++)this.month.push(new Q(K(t).add(n,"days"),n))}handleMonthChange(e){this.selectedMonth=K(this.selectedMonth).add(e,"months"),this.monthToGet=this.selectedMonth.format("M"),this.eventSummary=W(_templateObject28()),this.refreshCalEvents=!0}handleEventSummary(e){let t=[","].concat.apply([],[e.holiday,e.daybackground,e.icon1,e.icon2,e.icon3]);this.eventSummary=t.map(e=>W(_templateObject29(),this._config.calEventBulletColor,e)),this.requestUpdate()}getCalendarHeaderHTML(){return W(_templateObject30(),()=>this.handleMonthChange(-1),K(this.selectedMonth).format("YYYY"),K(this.selectedMonth).format("MM"),this._config.titleColor,this._config.linkTarget,K(this.selectedMonth).locale(this.language).format("MMMM"),K(this.selectedMonth).format("YYYY"),()=>this.handleMonthChange(1))}getCalendarDaysHTML(e){var t=!0;return this._config.showLastCalendarWeek||K(e[35].date).isSame(this.selectedMonth,"month")||(t=!1),e.map((e,a)=>{const s=K(e.date).isSame(K(this.selectedMonth),"month")?"":"opacity: .35;",n=K(e.date).isSame(K(),"day")?"background-color: ".concat(this._config.CalEventBackgroundColor,";"):"",i=e.holiday&&0a||t)return W(_templateObject34(),0==a%7?W(_templateObject35()):"",()=>this.handleEventSummary(e),this._config.titleColor,s,n,i,d,r,e.dayNumber.replace(/^0|[^/]0./,""),o,_,m,a&&0==a%6?W(_templateObject36()):"")})}updateCalendarHTML(){(0==this.month.length||this.refreshCalEvents||120W(_templateObject37(),this._config.titleColor,e));this.content=W(_templateObject38(),this.getCalendarHeaderHTML(),this._config.titleColor,t,this.getCalendarDaysHTML(e),this.eventSummary)}});class Q{constructor(e,t){this.calendarDay=e,this._lp=t,this.ymd=K(e).format("YYYY-MM-DD"),this._holiday=[],this._icon1=[],this._icon2=[],this._icon3=[],this._daybackground=[]}get date(){return K(this.calendarDay)}get dayNumber(){return K(this.calendarDay).format("DD")}get monthNumber(){return K(this.calendarDay).month()}set holiday(e){this._holiday=e}get holiday(){return this._holiday}set icon1(e){this._icon1=e}get icon1(){return this._icon1}set icon2(e){this._icon2=e}get icon2(){return this._icon2}set icon3(e){this._icon3=e}get icon3(){return this._icon3}set daybackground(e){this._daybackground=e}get daybackground(){return this._daybackground}}class X{constructor(e,t){this.eventClass=e,this._config=t,this._startTime=this.eventClass.start.dateTime?K(this.eventClass.start.dateTime):K(this.eventClass.start.date).startOf("day"),this._endTime=this.eventClass.end.dateTime?K(this.eventClass.end.dateTime):K(this.eventClass.end.date).subtract(1,"days").endOf("day"),this.isFinished=!1,this.isEmpty=!1}get titleColor(){return this._config.titleColor?this._config.titleColor:"var(--primary-text-color)"}get title(){return this.eventClass.summary}get description(){return this.eventClass.description}get startTime(){return this._startTime}get startTimeToShow(){var e=this.eventClass.start.dateTime?K(this.eventClass.start.dateTime):K(this.eventClass.start.date).startOf("day");return K(e).isBefore(K().startOf("day"))?K().startOf("day"):e}get endTime(){return this._endTime}get isFullDayEvent(){return!this.eventClass.start.dateTime&&!this.eventClass.end.dateTime}get isFullOneDayEvent(){return!!(!this.eventClass.start.dateTime&&!this.eventClass.end.dateTime&&K(this.eventClass.start.date).isSame(K(this.eventClass.end.date).subtract(1,"days"),"day")||K(this.eventClass.start.dateTime).isSame(K(this.eventClass.start.dateTime).startOf("day"))&&K(this.eventClass.end.dateTime).isSame(K(this.eventClass.end.dateTime).startOf("day"))&&K(this.eventClass.start.dateTime).isSame(K(this.eventClass.end.dateTime).subtract(1,"days"),"day"))}get isFullMoreDaysEvent(){return!((this.eventClass.start.dateTime||this.eventClass.end.dateTime||K(this.eventClass.start.date).isSame(K(this.eventClass.end.date).subtract(1,"days"),"day"))&&!(K(this.eventClass.start.dateTime).isSame(K(this.eventClass.start.dateTime).startOf("day"))&&K(this.eventClass.end.dateTime).isSame(K(this.eventClass.end.dateTime).startOf("day"))&&K(this.eventClass.end.dateTime).isAfter(K(this.eventClass.start.dateTime).subtract(1,"days"),"day")))}get daysToSort(){return K(this.startTimeToShow).format("YYYYMMDD")}get isEventRunning(){return K(this.startTime).isBefore(K())&&K(this.endTime).isAfter(K())}get isEventFinished(){return K(this.endTime).isBefore(K())}get location(){return this.eventClass.location?this.eventClass.location.split(" ").join("+"):""}get address(){return this.eventClass.location?this.eventClass.location.split(",")[0]:""}get link(){return this.eventClass.htmlLink}} diff --git a/docs/404.md b/docs/404.md new file mode 100644 index 00000000..b992d66e --- /dev/null +++ b/docs/404.md @@ -0,0 +1,11 @@ +--- +layout: default +title: Page not found +permalink: /404.html +nav_exclude: true +search_exclude: true +--- + +

404

+ +

Page not found

diff --git a/docs/_config.yml b/docs/_config.yml new file mode 100644 index 00000000..4dd7d4b0 --- /dev/null +++ b/docs/_config.yml @@ -0,0 +1,16 @@ +remote_theme: pmarsceill/just-the-docs + +title: Atomic Calendar Revive +description: A Home Assistant Plugin to add a nice calendar view + +# Specific to this theme +search_enabled: true +search_tokenizer_separator: /[\s/]+/ +ga_tracking: UA-149869416-2 +heading_anchors: true +color_scheme: "dark" +footer_content: "Copyright © 2017-2020 Steven Marks. Distributed by an MIT license." +# Aux links for the upper right navigation +aux_links: + "Atomic Calendar Revive on GitHub": + - "//github.com/marksie1988/atomic-calendar-revive" diff --git a/docs/about.md b/docs/about.md new file mode 100644 index 00000000..21c1997b --- /dev/null +++ b/docs/about.md @@ -0,0 +1,46 @@ +--- +layout: default +title: About +nav_order: 4 +--- + +Atomic Calendar Revive is an updated version of the card originally created by atomic7777. + +This calendar card includes advanced settings that allow much more flexibility than other cards. + +It loads calendar events from Home Assistant - Google calendar component. + +It contains two types of views: `Events mode` and `Calendar mode`. You can switch or select the default one. + +New features that are only in Revive: +- Added more appealing UI Look +- Added the ability to display calendar names +- Added keyword whitelists +- Added linkTarget option to allow selecting specific action when clicking link +- Added ability to disable Event and Location Links +- Added first version of Lovelace UI Editor (not all options are in yet) +- Merged PR that: Hides finished events, sorts events by start time, shows currently running events. allows limiting total number of events +- Resolved issue with 106 showing error: `Cannot assign to read only property '0' of object '[object Array]'` +- Multiple Bug Fixes + +The most important features: +- No need to load external libraries (everything is included) +- Custom colors and settings for different calendars, custom font sizes, colors of every text and line +- All translations included, few of the words can be configured in settings +- Compatible with all day and multiple day events +- Fast switch between both modes, or make one of them default + +* Event mode: +- Shows nearest events, one by one, day by day, time of events in a different way (dates, hours) +- Moves today's completed events up and dim them +- Highlights the next event, or show a progress bar +- Shows event location link +- Clicking on the event title will open a new window with Google Calendar (can be disabled) +- Clicking on Location will open a window with this location on Google Maps (can be disabled) + +* Calendar mode: +- Show a traditional calendar (a table with 42 days) with configurable events icons like holiday, birthday +- Quick overview of the following months +- You can set keywords to show only important things, like birthday + +If you have any suggestions about design or functionality, please let me know by opening an issue diff --git a/docs/assets/img/screenshots/basic_config_calendar_example.png b/docs/assets/img/screenshots/basic_config_calendar_example.png new file mode 100644 index 00000000..77d9e35a Binary files /dev/null and b/docs/assets/img/screenshots/basic_config_calendar_example.png differ diff --git a/docs/assets/img/screenshots/basic_config_example.png b/docs/assets/img/screenshots/basic_config_example.png new file mode 100644 index 00000000..d2a032ee Binary files /dev/null and b/docs/assets/img/screenshots/basic_config_example.png differ diff --git a/docs/assets/img/screenshots/basic_config_name_example.png b/docs/assets/img/screenshots/basic_config_name_example.png new file mode 100644 index 00000000..a6649af0 Binary files /dev/null and b/docs/assets/img/screenshots/basic_config_name_example.png differ diff --git a/docs/assets/search-data.json b/docs/assets/search-data.json new file mode 100644 index 00000000..0532f7c6 --- /dev/null +++ b/docs/assets/search-data.json @@ -0,0 +1,12 @@ +--- +--- +{ + {% assign comma = false %} + {% for page in site.html_pages %}{% if page.search_exclude != true %}{% if comma == true%},{% endif %}"{{ forloop.index0 }}": { + "title": "{{ page.title | replace: '&', '&' }}", + "content": "{{ page.content | markdownify | replace: ' 15) (async() => { @@ -110,14 +106,14 @@ class AtomicCalendarRevive extends LitElement { this.updateCalendarHTML(); return html ` - + ${this.setStyle()}
${this._config.name ? html` -
+
${this._config.name}
` @@ -130,17 +126,15 @@ class AtomicCalendarRevive extends LitElement { ${(this._config.showDate) ? this.getDate() : null}
-
+
${this.content}
` } - + firstTimeConfig() { - - + } - handleToggle() { if (this._config.enableModeChange) { @@ -149,7 +143,6 @@ class AtomicCalendarRevive extends LitElement { } } - setStyle() { return html ` - ` } - + getDate() { const date=moment().format(this._config.dateFormat) return html`${date}` @@ -429,13 +412,14 @@ class AtomicCalendarRevive extends LitElement { showLocation: true, // show location (right side) showMonth: false, // show month under day (left side) + showWeekDay: false, // show day name under day (left side) fullTextTime: true, // show advanced time messages, like: All day, until Friday 12 showCurrentEventLine: false, // show a line between last and next event showDate: false, dateFormat: 'LL', hoursFormat: 'default', // 12h / 24h / default time format. Default is HA language setting. startDaysAhead: 0, // shows the events starting on x days from today. Default 0. - showLastCalendarWeek: true, // always shows last line/week in calendar mode, even if it's not the current month + showLastCalendarWeek: false, // always shows last line/week in calendar mode, even if it's not the current month showCalNameInEvent: false, sortByStartTime: false, // sort first by calendar, then by time disableEventLink: false, // disables links to event calendar @@ -469,7 +453,7 @@ class AtomicCalendarRevive extends LitElement { hideFinishedEvents: false, // show finished events dimFinishedEvents: true, // make finished events greyed out or set opacity finishedEventOpacity: 0.6, // opacity level - finishedEventFilter: 'grayscale(100%)', // css filter + finishedEventFilter: 'grayscale(100%)', // css filter // days separating dayWrapperLineColor: 'var(--primary-text-color)', // days separating line color @@ -484,9 +468,15 @@ class AtomicCalendarRevive extends LitElement { enableModeChange: false, defaultMode: 1, - CalEventBackgroundColor: '#ededed', + CalGridColor: 'rgba(86, 86, 86, .35)', + + calEventBulletColor: '#cc5500', + + CalEventBackgroundColor: 'rgba(86, 100, 86, .35)', CalEventBackgroundFilter: null, + CalEventWeekendColor: 'rgba(86, 86, 86, .60)', + CalEventHolidayColor: 'red', CalEventHolidayFilter: null, @@ -521,7 +511,7 @@ class AtomicCalendarRevive extends LitElement { entity: entity }; }); - + } shouldUpdate(changedProps) { @@ -542,7 +532,7 @@ class AtomicCalendarRevive extends LitElement { /** * generate Event Title (summary) HTML - * + * */ getTitleHTML(event) { const titletext = (this._config.showCalNameInEvent) ? event.eventClass.organizer.displayName+": " + event.title : event.title @@ -556,9 +546,9 @@ class AtomicCalendarRevive extends LitElement { ` } - /** + /** * generate Hours HTML - * + * */ getHoursHTML(event) { const today = moment() @@ -590,14 +580,14 @@ class AtomicCalendarRevive extends LitElement { /** * generate Event Location link HTML - * + * */ getLocationHTML(event) { if (!event.location || !this._config.showLocation) return html `` else if (this._config.disableLocationLink) return html `
 ${event.address}
- ` + ` else return html ` ` @@ -605,7 +595,7 @@ class AtomicCalendarRevive extends LitElement { /** * update Events main HTML - * + * */ updateEventsHTML(days) { var htmlDays = '' @@ -613,14 +603,14 @@ class AtomicCalendarRevive extends LitElement { if (!days) { // TODO some more tests end error message this.content = html `${this.errorMessage}` return - } - + } + // TODO write something if no events if (days.length == 0) { this.content = this._config.noEventsForNextDaysText return } - + // move today's finished events up if (moment(days[0][0]).isSame(moment(), "day") && days[0].length > 1) { @@ -633,7 +623,7 @@ class AtomicCalendarRevive extends LitElement { i++ } } - + // check if no events for today and push a "no events" fake event if (this._config.showNoEventsForToday && moment(days[0][0].startTime).isAfter(moment(), "day") && days[0].length > 0) { var emptyEv = { @@ -647,11 +637,11 @@ class AtomicCalendarRevive extends LitElement { }; var emptyEvent = new EventClass(emptyEv , '') emptyEvent.isEmpty = true - var d = [] + var d = [] d[0]=emptyEvent days.unshift(d) } - + //loop through days htmlDays = days.map((day, di) => { @@ -683,12 +673,12 @@ class AtomicCalendarRevive extends LitElement { const lastEventStyle = i == arr.length - 1 ? 'padding-bottom: 8px;' : '' return html ` - +
${(i===0 && this._config.showMonth) ? event.startTimeToShow.format('MMM') : ''}
${i===0 ? event.startTimeToShow.format('DD') : ''}
-
${i===0 ? event.startTimeToShow.format('ddd') : ''}
+
${(i===0 && this._config.showWeekDay) ? event.startTimeToShow.format('ddd') : ''}
${currentEventLine}
@@ -708,7 +698,7 @@ class AtomicCalendarRevive extends LitElement {
${eventCalName}
-
+
${progressBar} @@ -716,7 +706,7 @@ class AtomicCalendarRevive extends LitElement { }) return htmlEvents - }) + }) this.content = html `${htmlDays}
` } @@ -761,14 +751,14 @@ class AtomicCalendarRevive extends LitElement { /** * gets events from HA Calendar to Events mode - * + * */ async getEvents() { let timeOffset = -moment().utcOffset() - let start = moment().add(this._config.startDaysAhead, 'days').startOf('day').add(timeOffset,'minutes').format('YYYY-MM-DDTHH:mm:ss'); + let start = moment().add(this._config.startDaysAhead, 'days').startOf('day').add(timeOffset,'minutes').format('YYYY-MM-DDTHH:mm:ss'); let end = moment().add((this._config.maxDaysToShow + this._config.startDaysAhead), 'days').endOf('day').add(timeOffset,'minutes').format('YYYY-MM-DDTHH:mm:ss'); - + let calendarUrlList = [] this._config.entities.map(entity =>{ calendarUrlList.push([`calendars/${entity.entity}?start=${start}Z&end=${end}Z`]) @@ -790,7 +780,7 @@ class AtomicCalendarRevive extends LitElement { } }) }) - + if (this._config.sortByStartTime) { singleEvents.sort(function(a,b) { return moment(a.startTime).diff(moment(b.startTime)); @@ -820,7 +810,7 @@ class AtomicCalendarRevive extends LitElement { /** * gets events from HA to Calendar mode - * + * */ getCalendarEvents(startDay, endDay, monthToGet, month) { this.refreshCalEvents = false @@ -835,7 +825,7 @@ class AtomicCalendarRevive extends LitElement { typeof entity.blacklist!= 'undefined' ? entity.blacklist : '', typeof entity.whitelist!= 'undefined' ? entity.whitelist : '' ]) - } + } }) Promise.all(calendarUrlList.map(url => @@ -909,7 +899,7 @@ class AtomicCalendarRevive extends LitElement { /** * change month in calendar mode - * + * */ handleMonthChange(i) { this.selectedMonth = moment(this.selectedMonth).add(i, 'months'); @@ -920,27 +910,35 @@ class AtomicCalendarRevive extends LitElement { /** * show events summary under the calendar - * + * */ handleEventSummary(day) { - let events = ([','].concat.apply([], [day.holiday, day.daybackground, day.icon1, day.icon2, day.icon3])).join(', ') - if (events == '') events = html ` ` - this.eventSummary = html `${events}` + let events = ([','].concat.apply([], [day.holiday, day.daybackground, day.icon1, day.icon2, day.icon3])) + var eventsHtm = ''; + + this.eventSummary = events.map((eventItem, i, arr)=> { + return html ` +
+
+ ${eventItem} +
` + }) + this.requestUpdate() } /** * create html calendar header - * + * */ getCalendarHeaderHTML() { return html`
-
+ @@ -950,7 +948,7 @@ class AtomicCalendarRevive extends LitElement { /** * create html cells for all days of calendar - * + * */ getCalendarDaysHTML(month) { var showLastRow = true @@ -958,36 +956,36 @@ class AtomicCalendarRevive extends LitElement { return month.map((day, i) => { const dayStyleOtherMonth = moment(day.date).isSame(moment(this.selectedMonth), 'month') ? '' : `opacity: .35;` - const dayStyleToday = moment(day.date).isSame(moment(), 'day') ? `border: 1px solid grey;` : `border: 1px solid grey; border-color: transparent;` + const dayStyleToday = moment(day.date).isSame(moment(), 'day') ? `background-color: ${this._config.CalEventBackgroundColor};` : `` const dayHolidayStyle = (day.holiday && day.holiday.length > 0) ? `color: ${this._config.CalEventHolidayColor}; ` : '' const dayBackgroundStyle = (day.daybackground && day.daybackground.length > 0) ? `background-color: ${this._config.CalEventBackgroundColor}; ` : '' - const dayIcon1 = (day.icon1 && day.icon1.length > 0) ? html `` : '' + const dayStyleWeekend = (moment(day.date).isoWeekday() == 6 || moment(day.date).isoWeekday() == 7) ? `background-color: ${this._config.CalEventWeekendColor}; ` : '' + const dayIcon1 = (day.icon1 && day.icon1.length > 0) ? html`` : '' const dayIcon2 = (day.icon2 && day.icon2.length > 0) ? html `` : '' const dayIcon3 = (day.icon3 && day.icon3.length > 0) ? html `` : '' + console.log(moment(day.date).isoWeekday()) if(i<35 || showLastRow) - return html ` - ${i % 7 === 0 ? html`` :''} - -
-
+ return html ` + ${i % 7 === 0 ? html`` : ''} + +
+
${(day.dayNumber).replace(/^0|[^/]0./, '')} -
-
- ${dayIcon1} ${dayIcon2} ${dayIcon3} -
- +
+ ${dayIcon1} ${dayIcon2} ${dayIcon3} +
${i && (i % 6 === 0) ? html`` :''} ` - + }) } /** * update Calendar mode HTML - * + * */ updateCalendarHTML() { if (this.month.length == 0 || this.refreshCalEvents || moment().diff(this.lastCalendarUpdateTime, 'minutes') > 120) { @@ -999,6 +997,7 @@ class AtomicCalendarRevive extends LitElement { } const month = this.month var weekDays = moment.weekdaysMin(true) + const htmlDayNames = weekDays.map((day) => html ` ${day}`) @@ -1017,11 +1016,11 @@ class AtomicCalendarRevive extends LitElement {
- ${this.eventSummary} + ${this.eventSummary}
` } - + } customElements.define('atomic-calendar-revive', AtomicCalendarRevive); @@ -1029,7 +1028,7 @@ customElements.define('atomic-calendar-revive', AtomicCalendarRevive); /** * class for 42 calendar days - * + * */ class CalendarDay { constructor(calendarDay, d) { @@ -1099,7 +1098,7 @@ class CalendarDay { /** * class for Events in events mode - * + * */ class EventClass { diff --git a/tracker.json b/tracker.json index 1b8db5cc..0a0172ed 100755 --- a/tracker.json +++ b/tracker.json @@ -1,9 +1,9 @@ { "atomic-calendar-revive": { "updated_at": "2020-04-07", - "version": "1.1.1", - "remote_location": "https://github.com/marksie1988/atomic_calendar_revive/releases/latest/dist/atomic-calendar-revive.js", - "visit_repo": "https://github.com/marksie1988/atomic_calendar_revive", - "changelog": "https://github.com/marksie1988/atomic_calendar_revive/releases/latest" + "version": "1.3.0", + "remote_location": "https://github.com/marksie1988/atomic-calendar-revive/releases/latest/dist/atomic-calendar-revive.js", + "visit_repo": "https://github.com/marksie1988/atomic-calendar-revive", + "changelog": "https://github.com/marksie1988/atomic-calendar-revive/releases/latest" } }