r3ui-lib 1.3.20 → 1.3.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/login.es.js +14 -3148
- package/dist/modules/_virtual/___vite-browser-external.js +6 -0
- package/dist/modules/_virtual/__vite-browser-external.js +4 -0
- package/dist/modules/_virtual/_commonjsHelpers.js +33 -0
- package/dist/modules/_virtual/_plugin-vue_export-helper.js +9 -0
- package/dist/modules/_virtual/he.js +5 -0
- package/dist/modules/_virtual/he2.js +4 -0
- package/dist/modules/_virtual/index.js +7 -0
- package/dist/modules/_virtual/inputmask.js +7 -0
- package/dist/modules/_virtual/inputmask2.js +4 -0
- package/dist/modules/_virtual/ru.js +5 -0
- package/dist/modules/_virtual/ru2.js +4 -0
- package/dist/modules/assets/img/confirmation.png.js +4 -0
- package/dist/modules/assets/img/error.png.js +4 -0
- package/dist/modules/assets/img/preloader.gif.js +4 -0
- package/dist/modules/assets/img/regagro_logo.svg.js +4 -0
- package/dist/modules/assets/img/success.png.js +4 -0
- package/dist/modules/assets/img/warning.png.js +4 -0
- package/dist/modules/components/DefaultButton.vue.js +112 -0
- package/dist/modules/components/Divider.vue.js +33 -0
- package/dist/modules/components/Icon.vue.js +18 -0
- package/dist/modules/components/Slider.vue.js +7 -0
- package/dist/modules/components/Slider.vue2.js +127 -0
- package/dist/modules/components/Spinner.vue.js +19 -0
- package/dist/modules/components/SsoLoginPending.vue.js +7 -0
- package/dist/modules/components/SsoLoginPending.vue2.js +44 -0
- package/dist/modules/components/SsoLoginScreen.vue.js +57 -0
- package/dist/modules/components/SsoLoginScreen.vue2.js +4 -0
- package/dist/modules/components/accordions/DefaultAccordion.vue.js +7 -0
- package/dist/modules/components/accordions/DefaultAccordion.vue2.js +72 -0
- package/dist/modules/components/accordions/KindCheckboxesAccordion.vue.js +7 -0
- package/dist/modules/components/accordions/KindCheckboxesAccordion.vue2.js +152 -0
- package/dist/modules/components/buttons/AddButton.vue.js +7 -0
- package/dist/modules/components/buttons/AddButton.vue2.js +30 -0
- package/dist/modules/components/buttons/ClearFormButton.vue.js +7 -0
- package/dist/modules/components/buttons/ClearFormButton.vue2.js +28 -0
- package/dist/modules/components/buttons/CollapseButton.vue.js +7 -0
- package/dist/modules/components/buttons/CollapseButton.vue2.js +57 -0
- package/dist/modules/components/buttons/ExportButton.vue.js +7 -0
- package/dist/modules/components/buttons/ExportButton.vue2.js +28 -0
- package/dist/modules/components/buttons/PrintButton.vue.js +7 -0
- package/dist/modules/components/buttons/PrintButton.vue2.js +27 -0
- package/dist/modules/components/buttons/ToggleButtons.vue.js +7 -0
- package/dist/modules/components/buttons/ToggleButtons.vue2.js +30 -0
- package/dist/modules/components/cards/CardInfo.vue.js +7 -0
- package/dist/modules/components/cards/CardInfo.vue2.js +56 -0
- package/dist/modules/components/cards/PageCard.vue.js +7 -0
- package/dist/modules/components/cards/PageCard.vue2.js +117 -0
- package/dist/modules/components/dropdowns/DefaultDropDown.vue.js +102 -0
- package/dist/modules/components/export/ExportComponent.vue.js +7 -0
- package/dist/modules/components/export/ExportComponent.vue2.js +74 -0
- package/dist/modules/components/filters/MultipleQuickFilterComponent.vue.js +7 -0
- package/dist/modules/components/filters/MultipleQuickFilterComponent.vue2.js +34 -0
- package/dist/modules/components/form/Checkbox.vue.js +66 -0
- package/dist/modules/components/form/CustomInput.vue.js +161 -0
- package/dist/modules/components/form/FormError.vue.js +24 -0
- package/dist/modules/components/form/PasswordInput.vue.js +82 -0
- package/dist/modules/components/form/VSelect.vue.js +192 -0
- package/dist/modules/components/form/useWithPopper.js +29 -0
- package/dist/modules/components/forms/AddressForm.vue.js +7 -0
- package/dist/modules/components/forms/AddressForm.vue2.js +382 -0
- package/dist/modules/components/forms/AgeFromAgeTo.vue.js +7 -0
- package/dist/modules/components/forms/AgeFromAgeTo.vue2.js +207 -0
- package/dist/modules/components/forms/BooleanCheckbox.vue.js +7 -0
- package/dist/modules/components/forms/BooleanCheckbox.vue2.js +54 -0
- package/dist/modules/components/forms/Flatpickr.vue.js +7 -0
- package/dist/modules/components/forms/Flatpickr.vue2.js +273 -0
- package/dist/modules/components/forms/HeaderSearchForm.vue.js +7 -0
- package/dist/modules/components/forms/HeaderSearchForm.vue2.js +142 -0
- package/dist/modules/components/forms/MultiCheckbox.vue.js +7 -0
- package/dist/modules/components/forms/MultiCheckbox.vue2.js +64 -0
- package/dist/modules/components/forms/MultiInput.vue.js +7 -0
- package/dist/modules/components/forms/MultiInput.vue2.js +115 -0
- package/dist/modules/components/icons/QuestionIcon.vue.js +7 -0
- package/dist/modules/components/icons/QuestionIcon.vue2.js +56 -0
- package/dist/modules/components/layout/Breadcrumbs.vue.js +7 -0
- package/dist/modules/components/layout/Breadcrumbs.vue2.js +40 -0
- package/dist/modules/components/layout/Card.vue.js +31 -0
- package/dist/modules/components/layout/Footer.vue.js +15 -0
- package/dist/modules/components/layout/Footer.vue2.js +4 -0
- package/dist/modules/components/layout/Header.vue.js +7 -0
- package/dist/modules/components/layout/Header.vue2.js +68 -0
- package/dist/modules/components/layout/LanguageSelector.vue.js +32 -0
- package/dist/modules/components/layout/LanguageSelector.vue3.js +5 -0
- package/dist/modules/components/layout/LoginLayoutFrame.vue.js +48 -0
- package/dist/modules/components/layout/LoginLayoutFrame.vue2.js +4 -0
- package/dist/modules/components/layout/MainComponent.vue.js +50 -0
- package/dist/modules/components/layout/MainComponent.vue2.js +4 -0
- package/dist/modules/components/layout/PageTitle.vue.js +7 -0
- package/dist/modules/components/layout/PageTitle.vue2.js +40 -0
- package/dist/modules/components/logo/Logo.vue.js +7 -0
- package/dist/modules/components/logo/Logo.vue2.js +50 -0
- package/dist/modules/components/modals/ConfirmationModal.vue.js +7 -0
- package/dist/modules/components/modals/ConfirmationModal.vue2.js +154 -0
- package/dist/modules/components/modals/DefaultModal.vue.js +116 -0
- package/dist/modules/components/modals/DefaultModal.vue3.js +5 -0
- package/dist/modules/components/modals/EditTableColumnsModalComponent.vue.js +7 -0
- package/dist/modules/components/modals/EditTableColumnsModalComponent.vue2.js +41 -0
- package/dist/modules/components/modals/TableFilterModalComponent.vue.js +7 -0
- package/dist/modules/components/modals/TableFilterModalComponent.vue2.js +66 -0
- package/dist/modules/components/modals/TableFilterModalShell.vue.js +89 -0
- package/dist/modules/components/modals/TableFilterModalShell.vue2.js +4 -0
- package/dist/modules/components/notifications/ErrorMessageComponent.vue.js +7 -0
- package/dist/modules/components/notifications/ErrorMessageComponent.vue2.js +45 -0
- package/dist/modules/components/notifications/NotificationMessage.vue.js +55 -0
- package/dist/modules/components/notifications/NotificationMessage.vue2.js +4 -0
- package/dist/modules/components/notifications/Toast.vue.js +71 -0
- package/dist/modules/components/sidebar/CollapsedSidebarLink.vue.js +7 -0
- package/dist/modules/components/sidebar/CollapsedSidebarLink.vue2.js +90 -0
- package/dist/modules/components/sidebar/Sidebar.vue.js +59 -0
- package/dist/modules/components/sidebar/Sidebar.vue3.js +5 -0
- package/dist/modules/components/sidebar/SidebarLink.vue.js +7 -0
- package/dist/modules/components/sidebar/SidebarLink.vue2.js +93 -0
- package/dist/modules/components/tables/ColumnSubFilter.vue.js +7 -0
- package/dist/modules/components/tables/ColumnSubFilter.vue2.js +36 -0
- package/dist/modules/components/tables/EditTableColumns.vue.js +7 -0
- package/dist/modules/components/tables/EditTableColumns.vue2.js +125 -0
- package/dist/modules/components/tables/ManagedRemoteTable.vue.js +72 -0
- package/dist/modules/components/tables/ManagedRemoteTable.vue2.js +4 -0
- package/dist/modules/components/tables/SubFilterToggleBtn.vue.js +28 -0
- package/dist/modules/components/tables/Table.vue.js +416 -0
- package/dist/modules/components/tables/Table.vue3.js +5 -0
- package/dist/modules/components/tables/TableAppliedFiltersStorage.vue.js +7 -0
- package/dist/modules/components/tables/TableAppliedFiltersStorage.vue2.js +56 -0
- package/dist/modules/components/tables/TableColumnsButton.vue.js +27 -0
- package/dist/modules/components/tables/TableColumnsButton.vue2.js +4 -0
- package/dist/modules/components/tables/TableColumnsDialog.vue.js +67 -0
- package/dist/modules/components/tables/TableColumnsDialog.vue2.js +4 -0
- package/dist/modules/components/tables/TableColumnsModal.vue.js +27 -0
- package/dist/modules/components/tables/TableColumnsModal.vue2.js +4 -0
- package/dist/modules/components/tables/TableCount.vue.js +7 -0
- package/dist/modules/components/tables/TableCount.vue2.js +26 -0
- package/dist/modules/components/tables/TableQuickFilterComponent.vue.js +7 -0
- package/dist/modules/components/tables/TableQuickFilterComponent.vue2.js +29 -0
- package/dist/modules/components/tables/ToggleAllTableRowButtons.vue.js +7 -0
- package/dist/modules/components/tables/ToggleAllTableRowButtons.vue2.js +41 -0
- package/dist/modules/components/utilities/FilterValuesPanel.vue.js +7 -0
- package/dist/modules/components/utilities/FilterValuesPanel.vue2.js +95 -0
- package/dist/modules/composables/forms/useAddressForm.js +289 -0
- package/dist/modules/composables/forms/useFieldError.js +23 -0
- package/dist/modules/composables/forms/useSearchForm.js +52 -0
- package/dist/modules/composables/forms/useUnsavedChanges.js +84 -0
- package/dist/modules/composables/layout/useR3uiLayoutInject.js +32 -0
- package/dist/modules/composables/main/useBreadcrumbs.js +75 -0
- package/dist/modules/composables/main/useMain.js +38 -0
- package/dist/modules/composables/main/usePermissionChecker.js +15 -0
- package/dist/modules/composables/modals/useModalLayer.js +109 -0
- package/dist/modules/composables/sidebar/useSidebar.js +40 -0
- package/dist/modules/composables/table/createTableCommandScheduler.js +62 -0
- package/dist/modules/composables/table/createTableLifecycle.js +719 -0
- package/dist/modules/composables/table/createTableRebuildTransaction.js +61 -0
- package/dist/modules/composables/table/createTableSession.js +38 -0
- package/dist/modules/composables/table/createTableState.js +122 -0
- package/dist/modules/composables/table/createTabulatorAdapter.js +90 -0
- package/dist/modules/composables/table/tableQueryTransitions.js +82 -0
- package/dist/modules/composables/table/useManagedRemoteTable.js +179 -0
- package/dist/modules/composables/table/useR3uiTableDefaultInject.js +27 -0
- package/dist/modules/composables/table/useRemoteTable.js +96 -0
- package/dist/modules/composables/table/useTableColumnApply.js +38 -0
- package/dist/modules/composables/table/useTableColumns.js +70 -0
- package/dist/modules/composables/table/useTableColumnsEnhanced.js +155 -0
- package/dist/modules/composables/table/useTableColumnsIntegration.js +82 -0
- package/dist/modules/composables/table/useTableDefault.js +258 -0
- package/dist/modules/composables/table/useTableStorage.js +32 -0
- package/dist/modules/constants/authSidebar.js +36 -0
- package/dist/modules/services/AddressService.js +21 -0
- package/dist/modules/types/layoutInjectKeys.js +10 -0
- package/dist/modules/types/tableInjectKeys.js +21 -0
- package/dist/modules/types/tableInstance.js +32 -0
- package/dist/modules/utils/accordionLocalization.js +14 -0
- package/dist/modules/utils/addressFormTranslations.js +29 -0
- package/dist/modules/utils/auth/authUser.js +13 -0
- package/dist/modules/utils/auth/exchangePasswordToken.js +52 -0
- package/dist/modules/utils/auth/handlePkceCallback.js +88 -0
- package/dist/modules/utils/auth/logout.js +32 -0
- package/dist/modules/utils/auth/runLogoutHandler.js +60 -0
- package/dist/modules/utils/auth/sessionController.js +28 -0
- package/dist/modules/utils/auth/signInWithSSO.js +141 -0
- package/dist/modules/utils/authCookie.js +21 -0
- package/dist/modules/utils/constants.js +34 -0
- package/dist/modules/utils/createTabulatorLangsFromT.js +30 -0
- package/dist/modules/utils/createTabulatorTableProps.js +19 -0
- package/dist/modules/utils/helpers.js +537 -0
- package/dist/modules/utils/pkce.js +50 -0
- package/dist/modules/utils/table-columns-utils.js +59 -0
- package/dist/modules/utils/tableAdapter.js +156 -0
- package/dist/modules/utils/tableAjaxRequest.js +82 -0
- package/dist/modules/utils/tableCancellation.js +271 -0
- package/dist/modules/utils/tableColumnStorage.js +55 -0
- package/dist/modules/utils/tableData.js +118 -0
- package/dist/modules/utils/tableLoad.js +67 -0
- package/dist/modules/utils/tableLocalizations.js +6 -0
- package/dist/modules/utils/tableOperation.js +63 -0
- package/dist/modules/utils/tableProjection.js +137 -0
- package/dist/modules/utils/tableQueryParameters.js +46 -0
- package/dist/modules/utils/tableSnapshotValue.js +73 -0
- package/dist/modules/utils/tabulatorQueryAdapter.js +203 -0
- package/dist/modules/utils/tabulatorRuntime.js +131 -0
- package/dist/modules/utils/upstreamHttpStatus.js +32 -0
- package/dist/modules/vendor/@popperjs/core/lib/createPopper.js +122 -0
- package/dist/modules/vendor/@popperjs/core/lib/dom-utils/contains.js +18 -0
- package/dist/modules/vendor/@popperjs/core/lib/dom-utils/getBoundingClientRect.js +23 -0
- package/dist/modules/vendor/@popperjs/core/lib/dom-utils/getClippingRect.js +37 -0
- package/dist/modules/vendor/@popperjs/core/lib/dom-utils/getCompositeRect.js +32 -0
- package/dist/modules/vendor/@popperjs/core/lib/dom-utils/getComputedStyle.js +7 -0
- package/dist/modules/vendor/@popperjs/core/lib/dom-utils/getDocumentElement.js +10 -0
- package/dist/modules/vendor/@popperjs/core/lib/dom-utils/getDocumentRect.js +17 -0
- package/dist/modules/vendor/@popperjs/core/lib/dom-utils/getHTMLElementScroll.js +9 -0
- package/dist/modules/vendor/@popperjs/core/lib/dom-utils/getLayoutRect.js +13 -0
- package/dist/modules/vendor/@popperjs/core/lib/dom-utils/getNodeName.js +6 -0
- package/dist/modules/vendor/@popperjs/core/lib/dom-utils/getNodeScroll.js +10 -0
- package/dist/modules/vendor/@popperjs/core/lib/dom-utils/getOffsetParent.js +35 -0
- package/dist/modules/vendor/@popperjs/core/lib/dom-utils/getParentNode.js +18 -0
- package/dist/modules/vendor/@popperjs/core/lib/dom-utils/getScrollParent.js +10 -0
- package/dist/modules/vendor/@popperjs/core/lib/dom-utils/getViewportRect.js +21 -0
- package/dist/modules/vendor/@popperjs/core/lib/dom-utils/getWindow.js +12 -0
- package/dist/modules/vendor/@popperjs/core/lib/dom-utils/getWindowScroll.js +11 -0
- package/dist/modules/vendor/@popperjs/core/lib/dom-utils/getWindowScrollBarX.js +9 -0
- package/dist/modules/vendor/@popperjs/core/lib/dom-utils/instanceOf.js +20 -0
- package/dist/modules/vendor/@popperjs/core/lib/dom-utils/isLayoutViewport.js +7 -0
- package/dist/modules/vendor/@popperjs/core/lib/dom-utils/isScrollParent.js +8 -0
- package/dist/modules/vendor/@popperjs/core/lib/dom-utils/isTableElement.js +7 -0
- package/dist/modules/vendor/@popperjs/core/lib/dom-utils/listScrollParents.js +16 -0
- package/dist/modules/vendor/@popperjs/core/lib/enums.js +31 -0
- package/dist/modules/vendor/@popperjs/core/lib/modifiers/applyStyles.js +47 -0
- package/dist/modules/vendor/@popperjs/core/lib/modifiers/arrow.js +37 -0
- package/dist/modules/vendor/@popperjs/core/lib/modifiers/computeStyles.js +99 -0
- package/dist/modules/vendor/@popperjs/core/lib/modifiers/eventListeners.js +26 -0
- package/dist/modules/vendor/@popperjs/core/lib/modifiers/flip.js +74 -0
- package/dist/modules/vendor/@popperjs/core/lib/modifiers/hide.js +44 -0
- package/dist/modules/vendor/@popperjs/core/lib/modifiers/offset.js +31 -0
- package/dist/modules/vendor/@popperjs/core/lib/modifiers/popperOffsets.js +19 -0
- package/dist/modules/vendor/@popperjs/core/lib/modifiers/preventOverflow.js +54 -0
- package/dist/modules/vendor/@popperjs/core/lib/popper.js +27 -0
- package/dist/modules/vendor/@popperjs/core/lib/utils/computeAutoPlacement.js +27 -0
- package/dist/modules/vendor/@popperjs/core/lib/utils/computeOffsets.js +54 -0
- package/dist/modules/vendor/@popperjs/core/lib/utils/debounce.js +13 -0
- package/dist/modules/vendor/@popperjs/core/lib/utils/detectOverflow.js +33 -0
- package/dist/modules/vendor/@popperjs/core/lib/utils/expandToHashMap.js +8 -0
- package/dist/modules/vendor/@popperjs/core/lib/utils/getAltAxis.js +6 -0
- package/dist/modules/vendor/@popperjs/core/lib/utils/getBasePlacement.js +6 -0
- package/dist/modules/vendor/@popperjs/core/lib/utils/getFreshSideObject.js +11 -0
- package/dist/modules/vendor/@popperjs/core/lib/utils/getMainAxisFromPlacement.js +6 -0
- package/dist/modules/vendor/@popperjs/core/lib/utils/getOppositePlacement.js +14 -0
- package/dist/modules/vendor/@popperjs/core/lib/utils/getOppositeVariationPlacement.js +12 -0
- package/dist/modules/vendor/@popperjs/core/lib/utils/getVariation.js +6 -0
- package/dist/modules/vendor/@popperjs/core/lib/utils/math.js +6 -0
- package/dist/modules/vendor/@popperjs/core/lib/utils/mergeByName.js +15 -0
- package/dist/modules/vendor/@popperjs/core/lib/utils/mergePaddingObject.js +7 -0
- package/dist/modules/vendor/@popperjs/core/lib/utils/orderModifiers.js +31 -0
- package/dist/modules/vendor/@popperjs/core/lib/utils/rectToClientRect.js +11 -0
- package/dist/modules/vendor/@popperjs/core/lib/utils/userAgent.js +9 -0
- package/dist/modules/vendor/@popperjs/core/lib/utils/within.js +12 -0
- package/dist/modules/vendor/call-bind-apply-helpers/actualApply.js +14 -0
- package/dist/modules/vendor/call-bind-apply-helpers/functionApply.js +7 -0
- package/dist/modules/vendor/call-bind-apply-helpers/functionCall.js +7 -0
- package/dist/modules/vendor/call-bind-apply-helpers/index.js +18 -0
- package/dist/modules/vendor/call-bind-apply-helpers/reflectApply.js +7 -0
- package/dist/modules/vendor/call-bound/index.js +21 -0
- package/dist/modules/vendor/dompurify/dist/purify.es.js +1522 -0
- package/dist/modules/vendor/dunder-proto/get.js +29 -0
- package/dist/modules/vendor/es-define-property/index.js +16 -0
- package/dist/modules/vendor/es-errors/eval.js +7 -0
- package/dist/modules/vendor/es-errors/index.js +7 -0
- package/dist/modules/vendor/es-errors/range.js +7 -0
- package/dist/modules/vendor/es-errors/ref.js +7 -0
- package/dist/modules/vendor/es-errors/syntax.js +7 -0
- package/dist/modules/vendor/es-errors/type.js +7 -0
- package/dist/modules/vendor/es-errors/uri.js +7 -0
- package/dist/modules/vendor/es-object-atoms/index.js +7 -0
- package/dist/modules/vendor/flatpickr/dist/esm/index.js +942 -0
- package/dist/modules/vendor/flatpickr/dist/esm/l10n/default.js +75 -0
- package/dist/modules/vendor/flatpickr/dist/esm/types/options.js +80 -0
- package/dist/modules/vendor/flatpickr/dist/esm/utils/dates.js +89 -0
- package/dist/modules/vendor/flatpickr/dist/esm/utils/dom.js +45 -0
- package/dist/modules/vendor/flatpickr/dist/esm/utils/formatting.js +170 -0
- package/dist/modules/vendor/flatpickr/dist/esm/utils/index.js +23 -0
- package/dist/modules/vendor/flatpickr/dist/esm/utils/polyfills.js +15 -0
- package/dist/modules/vendor/flatpickr/dist/l10n/he.js +56 -0
- package/dist/modules/vendor/flatpickr/dist/l10n/ru.js +73 -0
- package/dist/modules/vendor/function-bind/implementation.js +48 -0
- package/dist/modules/vendor/function-bind/index.js +11 -0
- package/dist/modules/vendor/get-intrinsic/index.js +265 -0
- package/dist/modules/vendor/get-proto/Object.getPrototypeOf.js +11 -0
- package/dist/modules/vendor/get-proto/Reflect.getPrototypeOf.js +7 -0
- package/dist/modules/vendor/get-proto/index.js +21 -0
- package/dist/modules/vendor/gopd/gOPD.js +7 -0
- package/dist/modules/vendor/gopd/index.js +17 -0
- package/dist/modules/vendor/has-symbols/index.js +13 -0
- package/dist/modules/vendor/has-symbols/shams.js +33 -0
- package/dist/modules/vendor/hasown/index.js +11 -0
- package/dist/modules/vendor/inputmask/dist/inputmask.js +3517 -0
- package/dist/modules/vendor/math-intrinsics/abs.js +7 -0
- package/dist/modules/vendor/math-intrinsics/floor.js +7 -0
- package/dist/modules/vendor/math-intrinsics/isNaN.js +9 -0
- package/dist/modules/vendor/math-intrinsics/max.js +7 -0
- package/dist/modules/vendor/math-intrinsics/min.js +7 -0
- package/dist/modules/vendor/math-intrinsics/pow.js +7 -0
- package/dist/modules/vendor/math-intrinsics/round.js +7 -0
- package/dist/modules/vendor/math-intrinsics/sign.js +13 -0
- package/dist/modules/vendor/moment/dist/moment.js +2589 -0
- package/dist/modules/vendor/nouislider/dist/nouislider.js +1064 -0
- package/dist/modules/vendor/object-inspect/index.js +376 -0
- package/dist/modules/vendor/qs/lib/formats.js +25 -0
- package/dist/modules/vendor/qs/lib/index.js +17 -0
- package/dist/modules/vendor/qs/lib/parse.js +161 -0
- package/dist/modules/vendor/qs/lib/stringify.js +197 -0
- package/dist/modules/vendor/qs/lib/utils.js +129 -0
- package/dist/modules/vendor/seamless-scroll-polyfill/lib/common.js +21 -0
- package/dist/modules/vendor/seamless-scroll-polyfill/lib/scroll-end-event.js +12 -0
- package/dist/modules/vendor/seamless-scroll-polyfill/lib/scroll-step.js +21 -0
- package/dist/modules/vendor/seamless-scroll-polyfill/lib/scroll.js +58 -0
- package/dist/modules/vendor/seamless-scroll-polyfill/lib/scrollIntoView.js +168 -0
- package/dist/modules/vendor/side-channel/index.js +35 -0
- package/dist/modules/vendor/side-channel-list/index.js +64 -0
- package/dist/modules/vendor/side-channel-map/index.js +40 -0
- package/dist/modules/vendor/side-channel-weakmap/index.js +43 -0
- package/dist/modules/vendor/tabulator-tables/dist/js/tabulator_esm.js +11127 -0
- package/dist/modules/vendor/vue-select/dist/vue-select.es.js +769 -0
- package/dist/r3ui-lib.es.js +334 -35120
- package/package.json +7 -3
package/dist/login.es.js
CHANGED
|
@@ -1,3150 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
__name: "DefaultDropDown",
|
|
9
|
-
props: {
|
|
10
|
-
links: {
|
|
11
|
-
type: Array,
|
|
12
|
-
required: !0
|
|
13
|
-
},
|
|
14
|
-
title: {
|
|
15
|
-
type: String,
|
|
16
|
-
default: "Actions"
|
|
17
|
-
},
|
|
18
|
-
type: {
|
|
19
|
-
type: String,
|
|
20
|
-
default: "actions",
|
|
21
|
-
validator: function(e) {
|
|
22
|
-
return ["actions", "profile"].includes(e);
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
},
|
|
26
|
-
setup(e) {
|
|
27
|
-
const t = e, r = mt(!1), s = mt(null), n = mt(null), a = ds(), i = () => {
|
|
28
|
-
r.value = !r.value;
|
|
29
|
-
}, o = (p = !1) => {
|
|
30
|
-
r.value = !1, p && n.value?.focus({ preventScroll: !0 });
|
|
31
|
-
}, c = (p) => {
|
|
32
|
-
o(!0), typeof p == "function" && p();
|
|
33
|
-
}, f = (p) => {
|
|
34
|
-
s.value?.contains(p.relatedTarget) || o();
|
|
35
|
-
}, O = (p) => {
|
|
36
|
-
!r.value || p.isComposing || (p.preventDefault(), p.stopPropagation(), o(!0));
|
|
37
|
-
};
|
|
38
|
-
cs(r, (p, se, B) => {
|
|
39
|
-
if (!p) return;
|
|
40
|
-
const x = s.value.ownerDocument, De = (Ye) => {
|
|
41
|
-
s.value?.contains(Ye.target) || o();
|
|
42
|
-
};
|
|
43
|
-
x.addEventListener("pointerdown", De, !0), B(
|
|
44
|
-
() => x.removeEventListener("pointerdown", De, !0)
|
|
45
|
-
);
|
|
46
|
-
}), cr(() => o());
|
|
47
|
-
const b = ue(() => t.type === "profile");
|
|
48
|
-
return (p, se) => (P(), R("div", {
|
|
49
|
-
ref_key: "wrapperRef",
|
|
50
|
-
ref: s,
|
|
51
|
-
class: "custom-dropdown",
|
|
52
|
-
onFocusout: f,
|
|
53
|
-
onKeydown: hs(O, ["esc"])
|
|
54
|
-
}, [
|
|
55
|
-
b.value ? (P(), R("button", {
|
|
56
|
-
key: 0,
|
|
57
|
-
ref_key: "triggerRef",
|
|
58
|
-
ref: n,
|
|
59
|
-
type: "button",
|
|
60
|
-
class: "dropdown-trigger cursor-pointer nav-link dropdown-toggle d-flex align-items-center border rounded p-2",
|
|
61
|
-
"aria-expanded": r.value,
|
|
62
|
-
"aria-controls": ze(a),
|
|
63
|
-
onClick: kt(i, ["stop"])
|
|
64
|
-
}, [
|
|
65
|
-
se[0] || (se[0] = Y("div", { class: "circl" }, null, -1)),
|
|
66
|
-
fs(" " + G(e.title), 1)
|
|
67
|
-
], 8, ps)) : (P(), R("button", {
|
|
68
|
-
key: 1,
|
|
69
|
-
ref_key: "triggerRef",
|
|
70
|
-
ref: n,
|
|
71
|
-
class: "dropdown-trigger link-dark",
|
|
72
|
-
type: "button",
|
|
73
|
-
"aria-expanded": r.value,
|
|
74
|
-
"aria-controls": ze(a),
|
|
75
|
-
onClick: kt(i, ["stop"])
|
|
76
|
-
}, [
|
|
77
|
-
Y("span", Ss, G(e.title), 1),
|
|
78
|
-
se[1] || (se[1] = Y("i", {
|
|
79
|
-
class: "bi bi-chevron-up dropdown-edit",
|
|
80
|
-
style: { "font-size": "12px", "padding-inline-start": "5px" }
|
|
81
|
-
}, null, -1))
|
|
82
|
-
], 8, ks)),
|
|
83
|
-
Y("div", vs, [
|
|
84
|
-
r.value ? (P(), R("ul", {
|
|
85
|
-
key: 0,
|
|
86
|
-
id: ze(a),
|
|
87
|
-
class: "custom-dropdown-menu"
|
|
88
|
-
}, [
|
|
89
|
-
(P(!0), R(hr, null, ms(e.links, (B, x) => (P(), R("li", { key: x }, [
|
|
90
|
-
B.hidden ? Ne("", !0) : (P(), R("button", {
|
|
91
|
-
key: 0,
|
|
92
|
-
type: "button",
|
|
93
|
-
class: pe(["dropdown-item", { disabled: B?.disabled }]),
|
|
94
|
-
disabled: !!B?.disabled,
|
|
95
|
-
onClick: (De) => c(B?.action)
|
|
96
|
-
}, G(B?.title), 11, Ds))
|
|
97
|
-
]))), 128))
|
|
98
|
-
], 8, Ms)) : Ne("", !0)
|
|
99
|
-
])
|
|
100
|
-
], 544));
|
|
101
|
-
}
|
|
102
|
-
}, Os = /* @__PURE__ */ tt(Ys, [["__scopeId", "data-v-ffaf1261"]]), bs = "data:image/svg+xml,%3csvg%20width='222'%20height='72'%20viewBox='0%200%20222%2072'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3crect%20width='222'%20height='72'%20fill='url(%23pattern0)'/%3e%3cdefs%3e%3cpattern%20id='pattern0'%20patternContentUnits='objectBoundingBox'%20width='1'%20height='1'%3e%3cuse%20xlink:href='%23image0_3427_23538'%20transform='matrix(0.00490002%200%200%200.0151084%200%20-0.00125339)'/%3e%3c/pattern%3e%3cimage%20id='image0_3427_23538'%20width='205'%20height='59'%20xlink:href='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAM0AAAA7CAYAAADYdw5tAAAQ9UlEQVR4nO1dzW7bSLb+DinJns69uOzF4CodIKMM0EkHdxFl0YAjqhFmN7s4TxD5CaJ+AstPEPsJojxBO08QGonkAFlYvRh42hlMGDQa7eAuWsHt221bYp1ZsKSQxSJFWf6Lmh+ghSiqeETVV3XOd04VCTk+KTiOYw0Gg3VmZsMwnr58+dI9b5v+aKDzNiDH8VCr1VaJqMXMHhG1Op3O0/O26Y+CnDSfMGq1WoOIHgOwmNkTQtx79eqVd952zTty0nzicBynMhgMngOoyEPrxWJxzXXd/nnaNc/ISTMHkMT5DkAVAJjZA/Cg2+32ztey+YRx3gbkmB2u63rFYvEegB4AEFGFiHbq9XrrnE2bS+QzzRxBzjg7AKzQ4fVOp/Ptedk0j8hJM2f45ptvloUQ34WPMfNmqVRayeOck0Huns0ZXrx4sQkgQg4iWpYxT44TQE6a+cSm5phj2/bjM7dkDpGTZj5RSTjerNfrzplaMofISTNncBynAiCRGMy8eobmzCVy0swRQonO1NO+/vrr6pkYNKfISTMnsG27KeXmJNdsjFKpdOsMTJpbFM7bgBzHh+M41uHh4UPDMJrIQJYRhBB5fdoMyEnziWFpaalCRPcNw1geDAZVwzCsyd+KYH17e3vrVIz7gyBPbl5gOI5jDYfDqu/7t4ioSkQOpphRFPSZeb3b7a6dpI1/ROSkuSCo1WpVZr4ryVFFQI5pZxEVfQA9IcTmwsLC07wi4GSQk+YcUa/XHWa+D6CB2QkCAB4z95jZBdDL3bDTQU6ac4AkyypS8ikZMCYIEXmlUmkrn0nOBjlpzhAyj/IExyNLH0AbQI+Z3W63++5krcuRFTlpzgi2bTcBrGJ6N8wVQrRyV+viICfNGaBer7eOUb7i+r6/kq/5v3jISXPKmJYwzOwxcyOfWS4uYqRxHMc6ODjI7EJMMxIuLS0dN8cw1bVqtVoVwXr5v4yOMXPfNM3vp9knbGTvcUd7uVvMk6znn/ZiMd4tOyjgbuSggEc39o+9/RO/LVcg6D6YqxBcBSjoOwQPDA8GXPzfwTO63Z/4m3i3XEEBD7NfHO9A8OjL/an3fuMdy8KlxWWAb4GoCpb5L4IHcB9Emxhgi27ux/77GGlG+2lNaUOPmXtCiLWkDiYVo0nFhKnwff9aUvsyEdhk5kdIiRvkPmGbvu9vTCLD0tJSxTCM1W63uzKtrZpdYlLBzK3TTDzybrkCEzp7PLq+f+1Y7RXwBJxJ1PDAeEo39lP7Ff/zi2Uoq04zgagPwRuT2gckWT5bbMKgR2CeNDlo7Y4VbMqs87SoElHDMIznSbOJEOKu7nhWMLOXRsjBYLAj3aDUG0FEFQDNNFtHePXqlUdEy47jTJ1DGQwGy7gghAEAGGgk2FPhHWuq38dvLjdRoJ2MhAGACgirvFdOn3WZj9dHmK2g/f9OXWTHu+UKLi3ugLCagTBAgt26Kudjl40TUcU0zaQbM2s5unY7IhkzZB7RRyCiShbiAOgfHR09mqZtiUzfOQvC8G65AkJyXFUqZr53/EO5BebH2k7H8ADqAXAB0rljjfSOzTP2EWrybllLZN67UkWBkqvAA9uTXMiI3ZGCTRkLRG4GM29C02GJyEJABNVIp16vO2rsoJnBerLtTDAMIxYY27bdTAiyXSHEJhFtAfgFwOcIZsNVhG5aiOT3Ui7dJ6Km4zgbWWMN6Zpl6YhnUwtmphAGABbMW0gYlMLgN5eb0N1vRgtFatNff47kjni33ICBVVC4o1KTd8vP6KYmDlFnLqJNgNf11hgWWDSh9j+T7wOItM275QrgfwdWvBCGB+Ymfj/cGsVc0o1dRVClETZmbHeENKZpVoQQkVMHg8Ha69evE2+oLtj1ff9W2HDZiSIGCyHa29vbG0ntToJsUx21+oZhrMjNJcJ4h6BTtG3bbgORYFNL8hB6AKpHR0ePAWSKbXzfnzhiMrPX7XZPfWsl3rtSBfxoByDaBPPy+L3gKoBUMYB3yxUwR+83wwOZD+jGT9r+QTf327x3pQcSzyMzk65jB3ZGG/BFm756n6gi8tvKFoaHbyNts2YmKdBjMEePM9r47eBbVaCQgf8K/1D2QIjGSAGZ3Ih7pos70ggDAN1ut60ek7PQGLpONBwOZ5JUZWY9jL7v+7c1hImgWCw2oezWIuu/tBBCjDbga9y5c6eZxbbhcPiXtM9H+y5naWt2+Gpg3Qbzs6hBGVzb2GxFfQjco+t6wozPuv5TTzNbNGInmpqY1xepVQ90zesDHL2+0vd4r9yIDBAAwPDoxv5KmqJHN/bXoBAbgMM7lqWup1E790QpT474qedoyNifRMY0SCVOdfeaWaRh13X7tm2vAbgvt2/1kOKaSBcPAGAYxuM7d+5ge3s7wWUYf2eSGNFSbR2pf0IIPimXjffK8eDfxxpM04qM6kFVdXI7u+UK1I4uRItuvs8mxRcWNzA47IPIA9M7FMQvsXN8NZ7hPv3P/6b2kWD2U9wz5igRCA/ByhdFqjsexlOo7t+fFu6qpInFHZNaHQwGOn9Z/Z76p8y0x7AQ4hHRR7VcujqZcw2dTmcdQGrHH6Hb7fZs2+5DxnqGYTyu1Wq30uR1qdAlYV19LEZYniYiF8DMpJGKmPLf8DrdfO/x24qFQcQVqvCOZSWOvOosw/Doq/eZXetgRkD6+URVcLh30+Q+YlITMUbQ2NPQkgpo63IvCRfoxVzGAn2caaQIEIEsMddCjowtZm4o3/G63e4z5XS1batWq2XOkodHXvlQo8h0e4y80rRoAxi7ZkTUME2zUavV2qZpPjNN080iEjCzVyqVYoQI53NYHSmPi88Wo0ugGR4EbQBBJ+Y3l/uRWCBQ0JI6qhKgT/ZApkFA4oNoH0m4Bu9YFv5jsQpgFaq3wfAg8NHtL9F9+Aqp/CkGJN/vw4wfDs80uil6eUQmIrJY3mQiqkp1KOaGMEf9V50ih0DJyiov9hAaeX3fj0mKvu+faskJET1j5lg8Q0QNIURDCAHbtl3DMDZevHixycxWeCYcgZkbKrlqtZrqQs2803+CxNxSRlgP4f88QUGTAXp05iTE4tjg3D9XQebk/MevB73IrDY80PQFakr3MozADnVyGRsQzKTj90KNZbiX2aUEgAIqumuNSUNEsUCMiBrK+9RrMHNLo4jNmp+JjDhy6W/4UD/JTbJtO+n2Rr7f6XQ+Tzvh5cuXrm3bLtJL+h3f9z0AmwkxTdLa/IgIIYSY/YlmOndKLZVh7iH83yQpaAZXIJRjvx58r70uFZ6AM+RaSsXbCBPUoFuxGSEYoDMmXakPIVpxl5GqEYZNO0OSYYGVH8/wwurZLJ3bFUI4ugBWR8Ypcaz4SOduZmxfi2KxuIJgdE7D6HM11+UVi0WtWxCKf/pCiExiRhqCmSGmTsXdV1OJGZIUNOKYEpgY+2QhjC7AF8dcjMfwwGjh/3+/phKG31YsTQJ2unsrRFxV/fXg+wIwjhPUHzxSlkaI/TAhRJOINicsiIq0KxOamaRbACiVSh/C79VRPCkGkOvts1wiE2lc1/Ucx7k3oZ5s1FbkcyJqJcU8zNwCgJNbealIzAwPJWzx23LUZnX2SHKXRbaOx2/KTqLbFL1Q/H7HyeaCpQtIZMlKAUW942aqGHFwYMXiESMx458EVZnr0e1+vwAAw+EwdsOEEJHydF0BIhE53W430XAdGZnZ3d7ePvVVh4ZhEPSSeeRGpIkdKiYRZzAYvJO/edzRmLmdpuxpRJNjQysxEyoY4K3mbPVAuoIWOk97dAhP1rdFESQIK6H3mmy92iZv0o33kXsWSzYaaPHf/7w1SZaOID4AJEJ7L0HrwaUxzuBHsLCwEPFbXdf1iCiSESeiZdu2E0u5dWTE7IFuZKRLknc7nc56p9O5F35JFysCIYTeP09A6KljkWCYmb3Xr1/31N8shDiTLZP0EvOU0NWgMWIDHP/rctxlu7nv0Y39p+pLTTbCV5KRRSPeRyg+G8WTjWShaCbWsell5WziU+K9lMqcEdhI6ujr6VwFWWqiKifrSVXAOjKewOIq1a5q1ipkTWVCooiQBtd1vU6ns8LM4TjHldcY/2Zmbp/ZyktVYj4OAgVNgRkf5IZiOX5eHLx3pRqLK34/jP7/mspm+nJf30ficrGTVKApoXgRvJypovvSn6KzIwDwR/VxRJrMyUciUl0NK6kKWFOkObO+T0QxdyYhwRqDpjJhplmv2+22O53ONWZeMU3zGQAYhjHuUMyslWZPGlqJOVDH2qkvVuITEQ/k6fpPPZAaC1BTulXpIBHLo8TdP+WazMl9LyjyjPahtGLUmFpGFi4tpq7X4b3L6wBH+zPDw28H4zCkoKvITfPzdfJrUhWwxnWaOQchr+8hOhI06/X6h5cvX2qTnMr+YmNME8+kYVR/J+MZR7btndmSZY3EDEEPJmW++c3lx4jkn5LKf3gdUQWuAhPP+Z/lVnhV5jjxKODAwN1Y8lGtEwuuqcjCEyoBTNqEH2nX4d2yo62aLixuYHjYVGY7h/fKb0FYGa345B3Lwn9+5kD4q9rlCWQ+CJO9kFCRm2q4YRjrQkRGEevw8PAhQqUSCYpcw7btTFP7CMzsqOqcYRjfap4ruVqr1R5K2/vAmLRVTlhwdFKkGeHo6Gh5pNgR0Zm4Zdq6MDXJlwQDnlIlond1CosbODpoREv8UYFAG5cWwW8u9+V1LTCC9cA6JU0VAfauVMG+Wq6f/p8YC08hDlvRqumg+jh2uWten/9xeQ0G1NinAsZz3isHqz6ZLQgB7ZYZjIZaxW1kEQFUmKa5BSW2MAwj8scliAAWghki80snZ8use2xWkY8CXyaihkzMOkhOkPUm/c5pQUThaf0kdsycjGAJ80dMUxfGpN5brctF17w+BO7F3LlxO6zLiahow1dda82APfRT/xNZx6a6vYmxDX318zpYk6caIcluhgeYt3X7Jxi6xWGT8gWu6/bVchkA1fCj6WZd3jy6VNIH3W53TUecjG02Op3O7ZPcwEL+9nAnqNbr9VOtidPLoikdRMVAxMtmNMoYINWooDp4ijiN+mC04OMaXd9fibmLRMqAPbmyGQAw5LhMbyYv76Ab+2vwsZJIep3Nvx3cTlr2UGDmD7KyNjA7o8tiGMaWeq4kiguMk5AzuT9CiNS1Md1ud81xnKdSCBjtQKNivAl4hkTsscHMMemdmVdt277r+/6KYRiWEOJYal0i/HhuZJqdZejmvsc/KPVdh5yYER4v0Notr8Gk+yA40iUL7eQilzwT9+jLn9NjuiE/gxEKBTimjCbZ4fKbL5YhRHjxWep36eZ+G0Cb33xxH+w7QSxFwQxpUA8sPDD18NvvE3fOmbt9z2q12nikLJVKH85qf2Pbtp8juTbNJaI1IcQT0zS/nbRQLsfFxtyR5qwh1cdHzPy9ugeBRB9Ar1gsPhgMBr8AABHdm2b/tRwXC/mT0GaEdA0rcr1/W850nzPzfxGRF3YHbdsGgNETlnPSfKLISTM7lsNFo5Ikk+KmSZt55LjAyJ/uPAPknmkWEVmTSnnCyiIAMMdL7nN8GshJczJILCUaQVXXWN1SKMcng5w0M0DKx6Pqg2bSwjf5bBq1bH7mkqIc54OcNLNjlOyziOh5eG80x3EsmeCMlbBPuyQhx8VBLjnPCCk57yBeNqMWlY4hF6ZN/SSCHBcDmg1qckwDz/P6V69ePQTwN+WjpCJRr1QqPfA87+D0rctxGshJcwL48ccfX129evUDgCUAiymnuqVS6V7+FOZPG7l7doIYVQfgYx1cX75cIcRm/kjA+cC/AdgTzC0pucD7AAAAAElFTkSuQmCC'/%3e%3c/defs%3e%3c/svg%3e", Ts = ["src", "alt"], xs = /* @__PURE__ */ ke({
|
|
103
|
-
__name: "Logo",
|
|
104
|
-
props: {
|
|
105
|
-
src: { default: bs },
|
|
106
|
-
alt: { default: "Logo" },
|
|
107
|
-
width: { default: 154 },
|
|
108
|
-
height: { default: 50 },
|
|
109
|
-
className: { default: "logo" },
|
|
110
|
-
style: { default: () => ({}) },
|
|
111
|
-
brandText: { default: void 0 },
|
|
112
|
-
textSize: { default: 12 },
|
|
113
|
-
textColor: { default: "#000" },
|
|
114
|
-
textWeight: { default: "normal" },
|
|
115
|
-
showText: { type: Boolean, default: !0 }
|
|
116
|
-
},
|
|
117
|
-
setup(e) {
|
|
118
|
-
const t = e, r = ue(() => t.src?.startsWith("~/") ? t.src.replace("~/", "/") : t.src), s = ue(() => {
|
|
119
|
-
const o = "r3ui-logo";
|
|
120
|
-
return t.className ? `${o} ${t.className}` : o;
|
|
121
|
-
}), n = ue(() => ({
|
|
122
|
-
width: typeof t.width == "number" ? `${t.width}px` : t.width,
|
|
123
|
-
height: typeof t.height == "number" ? `${t.height}px` : t.height,
|
|
124
|
-
...t.style
|
|
125
|
-
})), a = ue(() => "r3ui-logo-container"), i = ue(() => ({
|
|
126
|
-
fontSize: typeof t.textSize == "number" ? `${t.textSize}px` : t.textSize,
|
|
127
|
-
color: t.textColor,
|
|
128
|
-
fontWeight: t.textWeight
|
|
129
|
-
}));
|
|
130
|
-
return (o, c) => (P(), R("div", {
|
|
131
|
-
class: pe(["r3ui-logo-container", a.value])
|
|
132
|
-
}, [
|
|
133
|
-
Y("img", {
|
|
134
|
-
src: r.value,
|
|
135
|
-
alt: o.alt,
|
|
136
|
-
class: pe(s.value),
|
|
137
|
-
style: tr(n.value)
|
|
138
|
-
}, null, 14, Ts),
|
|
139
|
-
o.brandText && o.brandText.trim() && o.showText ? (P(), R("span", {
|
|
140
|
-
key: 0,
|
|
141
|
-
class: "r3ui-logo-text",
|
|
142
|
-
style: tr(i.value)
|
|
143
|
-
}, G(o.brandText), 5)) : Ne("", !0)
|
|
144
|
-
], 2));
|
|
145
|
-
}
|
|
146
|
-
}), mr = /* @__PURE__ */ tt(xs, [["__scopeId", "data-v-57bc5457"]]), Ps = { class: "navbar navbar-expand-md navbar-light bg-white border-bottom hide-to-print r3ui-header" }, Ns = { class: "row align-items-center" }, Rs = { class: "col-auto pe-0" }, Ws = { class: "col-auto ps-0 text-wrap mx-3 r3ui-header-label" }, Cs = { class: "row" }, As = { class: "col-auto d-flex align-items-center" }, Ls = {
|
|
147
|
-
key: 1,
|
|
148
|
-
class: "text-muted"
|
|
149
|
-
}, Is = { class: "col-auto" }, Es = /* @__PURE__ */ ke({
|
|
150
|
-
__name: "Header",
|
|
151
|
-
props: {
|
|
152
|
-
isAuthenticated: { type: Boolean, default: !1 },
|
|
153
|
-
user: { type: Object, default: null },
|
|
154
|
-
brandText: { type: String, required: !0 },
|
|
155
|
-
loginText: { type: String, default: "Authorization" },
|
|
156
|
-
rawDropdownLinks: {
|
|
157
|
-
type: Array,
|
|
158
|
-
default: () => []
|
|
159
|
-
}
|
|
160
|
-
},
|
|
161
|
-
emits: ["navigate", "logout"],
|
|
162
|
-
setup(e, { emit: t }) {
|
|
163
|
-
const r = e, s = t, n = ue(() => r.rawDropdownLinks.map((a) => a.name === "logout" ? { ...a, action: () => s("logout") } : a.name.includes("http") ? {
|
|
164
|
-
...a,
|
|
165
|
-
action: () => s("navigate", a.name, {
|
|
166
|
-
external: !0
|
|
167
|
-
})
|
|
168
|
-
} : { ...a, action: () => s("navigate", `/${a.name}`) }));
|
|
169
|
-
return (a, i) => (P(), R("div", Ps, [
|
|
170
|
-
Y("div", {
|
|
171
|
-
class: pe([r.isAuthenticated ? "container-fluid" : "container"])
|
|
172
|
-
}, [
|
|
173
|
-
Y("a", {
|
|
174
|
-
href: "/",
|
|
175
|
-
onClick: i[0] || (i[0] = kt(() => s("navigate", "/"), ["prevent"])),
|
|
176
|
-
class: "text-decoration-none r3ui-header-link"
|
|
177
|
-
}, [
|
|
178
|
-
Y("div", Ns, [
|
|
179
|
-
Y("div", Rs, [
|
|
180
|
-
Qe(a.$slots, "logo", {}, () => [
|
|
181
|
-
xe(mr, {
|
|
182
|
-
class: "r3ui-header-logo",
|
|
183
|
-
brandText: r.brandText
|
|
184
|
-
}, null, 8, ["brandText"])
|
|
185
|
-
], !0)
|
|
186
|
-
]),
|
|
187
|
-
Y("div", Ws, G(r.brandText), 1)
|
|
188
|
-
])
|
|
189
|
-
]),
|
|
190
|
-
Y("div", Cs, [
|
|
191
|
-
Y("div", As, [
|
|
192
|
-
r.isAuthenticated ? (P(), fr(Os, {
|
|
193
|
-
key: 0,
|
|
194
|
-
type: "profile",
|
|
195
|
-
title: r.user?.name || "",
|
|
196
|
-
links: n.value
|
|
197
|
-
}, null, 8, ["title", "links"])) : Ne("", !0),
|
|
198
|
-
r.isAuthenticated ? Ne("", !0) : (P(), R("div", Ls, G(r.loginText), 1))
|
|
199
|
-
]),
|
|
200
|
-
Y("div", Is, [
|
|
201
|
-
Qe(a.$slots, "language-selector", {}, void 0, !0)
|
|
202
|
-
])
|
|
203
|
-
])
|
|
204
|
-
], 2)
|
|
205
|
-
]));
|
|
206
|
-
}
|
|
207
|
-
}), Fs = /* @__PURE__ */ tt(Es, [["__scopeId", "data-v-a63a7e7f"]]);
|
|
208
|
-
//! moment.js
|
|
209
|
-
//! version : 2.30.1
|
|
210
|
-
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
|
211
|
-
//! license : MIT
|
|
212
|
-
//! momentjs.com
|
|
213
|
-
var yr;
|
|
214
|
-
function u() {
|
|
215
|
-
return yr.apply(null, arguments);
|
|
216
|
-
}
|
|
217
|
-
function Us(e) {
|
|
218
|
-
yr = e;
|
|
219
|
-
}
|
|
220
|
-
function F(e) {
|
|
221
|
-
return e instanceof Array || Object.prototype.toString.call(e) === "[object Array]";
|
|
222
|
-
}
|
|
223
|
-
function ce(e) {
|
|
224
|
-
return e != null && Object.prototype.toString.call(e) === "[object Object]";
|
|
225
|
-
}
|
|
226
|
-
function g(e, t) {
|
|
227
|
-
return Object.prototype.hasOwnProperty.call(e, t);
|
|
228
|
-
}
|
|
229
|
-
function Pt(e) {
|
|
230
|
-
if (Object.getOwnPropertyNames)
|
|
231
|
-
return Object.getOwnPropertyNames(e).length === 0;
|
|
232
|
-
var t;
|
|
233
|
-
for (t in e)
|
|
234
|
-
if (g(e, t))
|
|
235
|
-
return !1;
|
|
236
|
-
return !0;
|
|
237
|
-
}
|
|
238
|
-
function W(e) {
|
|
239
|
-
return e === void 0;
|
|
240
|
-
}
|
|
241
|
-
function ee(e) {
|
|
242
|
-
return typeof e == "number" || Object.prototype.toString.call(e) === "[object Number]";
|
|
243
|
-
}
|
|
244
|
-
function Le(e) {
|
|
245
|
-
return e instanceof Date || Object.prototype.toString.call(e) === "[object Date]";
|
|
246
|
-
}
|
|
247
|
-
function _r(e, t) {
|
|
248
|
-
var r = [], s, n = e.length;
|
|
249
|
-
for (s = 0; s < n; ++s)
|
|
250
|
-
r.push(t(e[s], s));
|
|
251
|
-
return r;
|
|
252
|
-
}
|
|
253
|
-
function ne(e, t) {
|
|
254
|
-
for (var r in t)
|
|
255
|
-
g(t, r) && (e[r] = t[r]);
|
|
256
|
-
return g(t, "toString") && (e.toString = t.toString), g(t, "valueOf") && (e.valueOf = t.valueOf), e;
|
|
257
|
-
}
|
|
258
|
-
function z(e, t, r, s) {
|
|
259
|
-
return Fr(e, t, r, s, !0).utc();
|
|
260
|
-
}
|
|
261
|
-
function Hs() {
|
|
262
|
-
return {
|
|
263
|
-
empty: !1,
|
|
264
|
-
unusedTokens: [],
|
|
265
|
-
unusedInput: [],
|
|
266
|
-
overflow: -2,
|
|
267
|
-
charsLeftOver: 0,
|
|
268
|
-
nullInput: !1,
|
|
269
|
-
invalidEra: null,
|
|
270
|
-
invalidMonth: null,
|
|
271
|
-
invalidFormat: !1,
|
|
272
|
-
userInvalidated: !1,
|
|
273
|
-
iso: !1,
|
|
274
|
-
parsedDateParts: [],
|
|
275
|
-
era: null,
|
|
276
|
-
meridiem: null,
|
|
277
|
-
rfc2822: !1,
|
|
278
|
-
weekdayMismatch: !1
|
|
279
|
-
};
|
|
280
|
-
}
|
|
281
|
-
function m(e) {
|
|
282
|
-
return e._pf == null && (e._pf = Hs()), e._pf;
|
|
283
|
-
}
|
|
284
|
-
var St;
|
|
285
|
-
Array.prototype.some ? St = Array.prototype.some : St = function(e) {
|
|
286
|
-
var t = Object(this), r = t.length >>> 0, s;
|
|
287
|
-
for (s = 0; s < r; s++)
|
|
288
|
-
if (s in t && e.call(this, t[s], s, t))
|
|
289
|
-
return !0;
|
|
290
|
-
return !1;
|
|
291
|
-
};
|
|
292
|
-
function Nt(e) {
|
|
293
|
-
var t = null, r = !1, s = e._d && !isNaN(e._d.getTime());
|
|
294
|
-
if (s && (t = m(e), r = St.call(t.parsedDateParts, function(n) {
|
|
295
|
-
return n != null;
|
|
296
|
-
}), s = t.overflow < 0 && !t.empty && !t.invalidEra && !t.invalidMonth && !t.invalidWeekday && !t.weekdayMismatch && !t.nullInput && !t.invalidFormat && !t.userInvalidated && (!t.meridiem || t.meridiem && r), e._strict && (s = s && t.charsLeftOver === 0 && t.unusedTokens.length === 0 && t.bigHour === void 0)), Object.isFrozen == null || !Object.isFrozen(e))
|
|
297
|
-
e._isValid = s;
|
|
298
|
-
else
|
|
299
|
-
return s;
|
|
300
|
-
return e._isValid;
|
|
301
|
-
}
|
|
302
|
-
function rt(e) {
|
|
303
|
-
var t = z(NaN);
|
|
304
|
-
return e != null ? ne(m(t), e) : m(t).userInvalidated = !0, t;
|
|
305
|
-
}
|
|
306
|
-
var sr = u.momentProperties = [], yt = !1;
|
|
307
|
-
function Rt(e, t) {
|
|
308
|
-
var r, s, n, a = sr.length;
|
|
309
|
-
if (W(t._isAMomentObject) || (e._isAMomentObject = t._isAMomentObject), W(t._i) || (e._i = t._i), W(t._f) || (e._f = t._f), W(t._l) || (e._l = t._l), W(t._strict) || (e._strict = t._strict), W(t._tzm) || (e._tzm = t._tzm), W(t._isUTC) || (e._isUTC = t._isUTC), W(t._offset) || (e._offset = t._offset), W(t._pf) || (e._pf = m(t)), W(t._locale) || (e._locale = t._locale), a > 0)
|
|
310
|
-
for (r = 0; r < a; r++)
|
|
311
|
-
s = sr[r], n = t[s], W(n) || (e[s] = n);
|
|
312
|
-
return e;
|
|
313
|
-
}
|
|
314
|
-
function Ie(e) {
|
|
315
|
-
Rt(this, e), this._d = new Date(e._d != null ? e._d.getTime() : NaN), this.isValid() || (this._d = /* @__PURE__ */ new Date(NaN)), yt === !1 && (yt = !0, u.updateOffset(this), yt = !1);
|
|
316
|
-
}
|
|
317
|
-
function U(e) {
|
|
318
|
-
return e instanceof Ie || e != null && e._isAMomentObject != null;
|
|
319
|
-
}
|
|
320
|
-
function gr(e) {
|
|
321
|
-
u.suppressDeprecationWarnings === !1 && typeof console < "u" && console.warn && console.warn("Deprecation warning: " + e);
|
|
322
|
-
}
|
|
323
|
-
function L(e, t) {
|
|
324
|
-
var r = !0;
|
|
325
|
-
return ne(function() {
|
|
326
|
-
if (u.deprecationHandler != null && u.deprecationHandler(null, e), r) {
|
|
327
|
-
var s = [], n, a, i, o = arguments.length;
|
|
328
|
-
for (a = 0; a < o; a++) {
|
|
329
|
-
if (n = "", typeof arguments[a] == "object") {
|
|
330
|
-
n += `
|
|
331
|
-
[` + a + "] ";
|
|
332
|
-
for (i in arguments[0])
|
|
333
|
-
g(arguments[0], i) && (n += i + ": " + arguments[0][i] + ", ");
|
|
334
|
-
n = n.slice(0, -2);
|
|
335
|
-
} else
|
|
336
|
-
n = arguments[a];
|
|
337
|
-
s.push(n);
|
|
338
|
-
}
|
|
339
|
-
gr(
|
|
340
|
-
e + `
|
|
341
|
-
Arguments: ` + Array.prototype.slice.call(s).join("") + `
|
|
342
|
-
` + new Error().stack
|
|
343
|
-
), r = !1;
|
|
344
|
-
}
|
|
345
|
-
return t.apply(this, arguments);
|
|
346
|
-
}, t);
|
|
347
|
-
}
|
|
348
|
-
var nr = {};
|
|
349
|
-
function wr(e, t) {
|
|
350
|
-
u.deprecationHandler != null && u.deprecationHandler(e, t), nr[e] || (gr(t), nr[e] = !0);
|
|
351
|
-
}
|
|
352
|
-
u.suppressDeprecationWarnings = !1;
|
|
353
|
-
u.deprecationHandler = null;
|
|
354
|
-
function Z(e) {
|
|
355
|
-
return typeof Function < "u" && e instanceof Function || Object.prototype.toString.call(e) === "[object Function]";
|
|
356
|
-
}
|
|
357
|
-
function Vs(e) {
|
|
358
|
-
var t, r;
|
|
359
|
-
for (r in e)
|
|
360
|
-
g(e, r) && (t = e[r], Z(t) ? this[r] = t : this["_" + r] = t);
|
|
361
|
-
this._config = e, this._dayOfMonthOrdinalParseLenient = new RegExp(
|
|
362
|
-
(this._dayOfMonthOrdinalParse.source || this._ordinalParse.source) + "|" + /\d{1,2}/.source
|
|
363
|
-
);
|
|
364
|
-
}
|
|
365
|
-
function vt(e, t) {
|
|
366
|
-
var r = ne({}, e), s;
|
|
367
|
-
for (s in t)
|
|
368
|
-
g(t, s) && (ce(e[s]) && ce(t[s]) ? (r[s] = {}, ne(r[s], e[s]), ne(r[s], t[s])) : t[s] != null ? r[s] = t[s] : delete r[s]);
|
|
369
|
-
for (s in e)
|
|
370
|
-
g(e, s) && !g(t, s) && ce(e[s]) && (r[s] = ne({}, r[s]));
|
|
371
|
-
return r;
|
|
372
|
-
}
|
|
373
|
-
function Wt(e) {
|
|
374
|
-
e != null && this.set(e);
|
|
375
|
-
}
|
|
376
|
-
var Mt;
|
|
377
|
-
Object.keys ? Mt = Object.keys : Mt = function(e) {
|
|
378
|
-
var t, r = [];
|
|
379
|
-
for (t in e)
|
|
380
|
-
g(e, t) && r.push(t);
|
|
381
|
-
return r;
|
|
382
|
-
};
|
|
383
|
-
var Gs = {
|
|
384
|
-
sameDay: "[Today at] LT",
|
|
385
|
-
nextDay: "[Tomorrow at] LT",
|
|
386
|
-
nextWeek: "dddd [at] LT",
|
|
387
|
-
lastDay: "[Yesterday at] LT",
|
|
388
|
-
lastWeek: "[Last] dddd [at] LT",
|
|
389
|
-
sameElse: "L"
|
|
390
|
-
};
|
|
391
|
-
function js(e, t, r) {
|
|
392
|
-
var s = this._calendar[e] || this._calendar.sameElse;
|
|
393
|
-
return Z(s) ? s.call(t, r) : s;
|
|
394
|
-
}
|
|
395
|
-
function j(e, t, r) {
|
|
396
|
-
var s = "" + Math.abs(e), n = t - s.length, a = e >= 0;
|
|
397
|
-
return (a ? r ? "+" : "" : "-") + Math.pow(10, Math.max(0, n)).toString().substr(1) + s;
|
|
398
|
-
}
|
|
399
|
-
var Ct = /(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g, Ve = /(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g, _t = {}, _e = {};
|
|
400
|
-
function h(e, t, r, s) {
|
|
401
|
-
var n = s;
|
|
402
|
-
typeof s == "string" && (n = function() {
|
|
403
|
-
return this[s]();
|
|
404
|
-
}), e && (_e[e] = n), t && (_e[t[0]] = function() {
|
|
405
|
-
return j(n.apply(this, arguments), t[1], t[2]);
|
|
406
|
-
}), r && (_e[r] = function() {
|
|
407
|
-
return this.localeData().ordinal(
|
|
408
|
-
n.apply(this, arguments),
|
|
409
|
-
e
|
|
410
|
-
);
|
|
411
|
-
});
|
|
412
|
-
}
|
|
413
|
-
function zs(e) {
|
|
414
|
-
return e.match(/\[[\s\S]/) ? e.replace(/^\[|\]$/g, "") : e.replace(/\\/g, "");
|
|
415
|
-
}
|
|
416
|
-
function Zs(e) {
|
|
417
|
-
var t = e.match(Ct), r, s;
|
|
418
|
-
for (r = 0, s = t.length; r < s; r++)
|
|
419
|
-
_e[t[r]] ? t[r] = _e[t[r]] : t[r] = zs(t[r]);
|
|
420
|
-
return function(n) {
|
|
421
|
-
var a = "", i;
|
|
422
|
-
for (i = 0; i < s; i++)
|
|
423
|
-
a += Z(t[i]) ? t[i].call(n, e) : t[i];
|
|
424
|
-
return a;
|
|
425
|
-
};
|
|
426
|
-
}
|
|
427
|
-
function Ze(e, t) {
|
|
428
|
-
return e.isValid() ? (t = pr(t, e.localeData()), _t[t] = _t[t] || Zs(t), _t[t](e)) : e.localeData().invalidDate();
|
|
429
|
-
}
|
|
430
|
-
function pr(e, t) {
|
|
431
|
-
var r = 5;
|
|
432
|
-
function s(n) {
|
|
433
|
-
return t.longDateFormat(n) || n;
|
|
434
|
-
}
|
|
435
|
-
for (Ve.lastIndex = 0; r >= 0 && Ve.test(e); )
|
|
436
|
-
e = e.replace(
|
|
437
|
-
Ve,
|
|
438
|
-
s
|
|
439
|
-
), Ve.lastIndex = 0, r -= 1;
|
|
440
|
-
return e;
|
|
441
|
-
}
|
|
442
|
-
var Bs = {
|
|
443
|
-
LTS: "h:mm:ss A",
|
|
444
|
-
LT: "h:mm A",
|
|
445
|
-
L: "MM/DD/YYYY",
|
|
446
|
-
LL: "MMMM D, YYYY",
|
|
447
|
-
LLL: "MMMM D, YYYY h:mm A",
|
|
448
|
-
LLLL: "dddd, MMMM D, YYYY h:mm A"
|
|
449
|
-
};
|
|
450
|
-
function qs(e) {
|
|
451
|
-
var t = this._longDateFormat[e], r = this._longDateFormat[e.toUpperCase()];
|
|
452
|
-
return t || !r ? t : (this._longDateFormat[e] = r.match(Ct).map(function(s) {
|
|
453
|
-
return s === "MMMM" || s === "MM" || s === "DD" || s === "dddd" ? s.slice(1) : s;
|
|
454
|
-
}).join(""), this._longDateFormat[e]);
|
|
455
|
-
}
|
|
456
|
-
var Qs = "Invalid date";
|
|
457
|
-
function Js() {
|
|
458
|
-
return this._invalidDate;
|
|
459
|
-
}
|
|
460
|
-
var Ks = "%d", Xs = /\d{1,2}/;
|
|
461
|
-
function $s(e) {
|
|
462
|
-
return this._ordinal.replace("%d", e);
|
|
463
|
-
}
|
|
464
|
-
var en = {
|
|
465
|
-
future: "in %s",
|
|
466
|
-
past: "%s ago",
|
|
467
|
-
s: "a few seconds",
|
|
468
|
-
ss: "%d seconds",
|
|
469
|
-
m: "a minute",
|
|
470
|
-
mm: "%d minutes",
|
|
471
|
-
h: "an hour",
|
|
472
|
-
hh: "%d hours",
|
|
473
|
-
d: "a day",
|
|
474
|
-
dd: "%d days",
|
|
475
|
-
w: "a week",
|
|
476
|
-
ww: "%d weeks",
|
|
477
|
-
M: "a month",
|
|
478
|
-
MM: "%d months",
|
|
479
|
-
y: "a year",
|
|
480
|
-
yy: "%d years"
|
|
481
|
-
};
|
|
482
|
-
function tn(e, t, r, s) {
|
|
483
|
-
var n = this._relativeTime[r];
|
|
484
|
-
return Z(n) ? n(e, t, r, s) : n.replace(/%d/i, e);
|
|
485
|
-
}
|
|
486
|
-
function rn(e, t) {
|
|
487
|
-
var r = this._relativeTime[e > 0 ? "future" : "past"];
|
|
488
|
-
return Z(r) ? r(t) : r.replace(/%s/i, t);
|
|
489
|
-
}
|
|
490
|
-
var ar = {
|
|
491
|
-
D: "date",
|
|
492
|
-
dates: "date",
|
|
493
|
-
date: "date",
|
|
494
|
-
d: "day",
|
|
495
|
-
days: "day",
|
|
496
|
-
day: "day",
|
|
497
|
-
e: "weekday",
|
|
498
|
-
weekdays: "weekday",
|
|
499
|
-
weekday: "weekday",
|
|
500
|
-
E: "isoWeekday",
|
|
501
|
-
isoweekdays: "isoWeekday",
|
|
502
|
-
isoweekday: "isoWeekday",
|
|
503
|
-
DDD: "dayOfYear",
|
|
504
|
-
dayofyears: "dayOfYear",
|
|
505
|
-
dayofyear: "dayOfYear",
|
|
506
|
-
h: "hour",
|
|
507
|
-
hours: "hour",
|
|
508
|
-
hour: "hour",
|
|
509
|
-
ms: "millisecond",
|
|
510
|
-
milliseconds: "millisecond",
|
|
511
|
-
millisecond: "millisecond",
|
|
512
|
-
m: "minute",
|
|
513
|
-
minutes: "minute",
|
|
514
|
-
minute: "minute",
|
|
515
|
-
M: "month",
|
|
516
|
-
months: "month",
|
|
517
|
-
month: "month",
|
|
518
|
-
Q: "quarter",
|
|
519
|
-
quarters: "quarter",
|
|
520
|
-
quarter: "quarter",
|
|
521
|
-
s: "second",
|
|
522
|
-
seconds: "second",
|
|
523
|
-
second: "second",
|
|
524
|
-
gg: "weekYear",
|
|
525
|
-
weekyears: "weekYear",
|
|
526
|
-
weekyear: "weekYear",
|
|
527
|
-
GG: "isoWeekYear",
|
|
528
|
-
isoweekyears: "isoWeekYear",
|
|
529
|
-
isoweekyear: "isoWeekYear",
|
|
530
|
-
w: "week",
|
|
531
|
-
weeks: "week",
|
|
532
|
-
week: "week",
|
|
533
|
-
W: "isoWeek",
|
|
534
|
-
isoweeks: "isoWeek",
|
|
535
|
-
isoweek: "isoWeek",
|
|
536
|
-
y: "year",
|
|
537
|
-
years: "year",
|
|
538
|
-
year: "year"
|
|
539
|
-
};
|
|
540
|
-
function I(e) {
|
|
541
|
-
return typeof e == "string" ? ar[e] || ar[e.toLowerCase()] : void 0;
|
|
542
|
-
}
|
|
543
|
-
function At(e) {
|
|
544
|
-
var t = {}, r, s;
|
|
545
|
-
for (s in e)
|
|
546
|
-
g(e, s) && (r = I(s), r && (t[r] = e[s]));
|
|
547
|
-
return t;
|
|
548
|
-
}
|
|
549
|
-
var sn = {
|
|
550
|
-
date: 9,
|
|
551
|
-
day: 11,
|
|
552
|
-
weekday: 11,
|
|
553
|
-
isoWeekday: 11,
|
|
554
|
-
dayOfYear: 4,
|
|
555
|
-
hour: 13,
|
|
556
|
-
millisecond: 16,
|
|
557
|
-
minute: 14,
|
|
558
|
-
month: 8,
|
|
559
|
-
quarter: 7,
|
|
560
|
-
second: 15,
|
|
561
|
-
weekYear: 1,
|
|
562
|
-
isoWeekYear: 1,
|
|
563
|
-
week: 5,
|
|
564
|
-
isoWeek: 5,
|
|
565
|
-
year: 1
|
|
566
|
-
};
|
|
567
|
-
function nn(e) {
|
|
568
|
-
var t = [], r;
|
|
569
|
-
for (r in e)
|
|
570
|
-
g(e, r) && t.push({ unit: r, priority: sn[r] });
|
|
571
|
-
return t.sort(function(s, n) {
|
|
572
|
-
return s.priority - n.priority;
|
|
573
|
-
}), t;
|
|
574
|
-
}
|
|
575
|
-
var kr = /\d/, C = /\d\d/, Sr = /\d{3}/, Lt = /\d{4}/, st = /[+-]?\d{6}/, v = /\d\d?/, vr = /\d\d\d\d?/, Mr = /\d\d\d\d\d\d?/, nt = /\d{1,3}/, It = /\d{1,4}/, at = /[+-]?\d{1,6}/, Se = /\d+/, it = /[+-]?\d+/, an = /Z|[+-]\d\d:?\d\d/gi, ot = /Z|[+-]\d\d(?::?\d\d)?/gi, on = /[+-]?\d+(\.\d{1,3})?/, Ee = /[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i, ve = /^[1-9]\d?/, Et = /^([1-9]\d|\d)/, Je;
|
|
576
|
-
Je = {};
|
|
577
|
-
function d(e, t, r) {
|
|
578
|
-
Je[e] = Z(t) ? t : function(s, n) {
|
|
579
|
-
return s && r ? r : t;
|
|
580
|
-
};
|
|
581
|
-
}
|
|
582
|
-
function ln(e, t) {
|
|
583
|
-
return g(Je, e) ? Je[e](t._strict, t._locale) : new RegExp(un(e));
|
|
584
|
-
}
|
|
585
|
-
function un(e) {
|
|
586
|
-
return X(
|
|
587
|
-
e.replace("\\", "").replace(
|
|
588
|
-
/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,
|
|
589
|
-
function(t, r, s, n, a) {
|
|
590
|
-
return r || s || n || a;
|
|
591
|
-
}
|
|
592
|
-
)
|
|
593
|
-
);
|
|
594
|
-
}
|
|
595
|
-
function X(e) {
|
|
596
|
-
return e.replace(/[-\/\\^$*+?.()|[\]{}]/g, "\\$&");
|
|
597
|
-
}
|
|
598
|
-
function A(e) {
|
|
599
|
-
return e < 0 ? Math.ceil(e) || 0 : Math.floor(e);
|
|
600
|
-
}
|
|
601
|
-
function y(e) {
|
|
602
|
-
var t = +e, r = 0;
|
|
603
|
-
return t !== 0 && isFinite(t) && (r = A(t)), r;
|
|
604
|
-
}
|
|
605
|
-
var Dt = {};
|
|
606
|
-
function k(e, t) {
|
|
607
|
-
var r, s = t, n;
|
|
608
|
-
for (typeof e == "string" && (e = [e]), ee(t) && (s = function(a, i) {
|
|
609
|
-
i[t] = y(a);
|
|
610
|
-
}), n = e.length, r = 0; r < n; r++)
|
|
611
|
-
Dt[e[r]] = s;
|
|
612
|
-
}
|
|
613
|
-
function Fe(e, t) {
|
|
614
|
-
k(e, function(r, s, n, a) {
|
|
615
|
-
n._w = n._w || {}, t(r, n._w, n, a);
|
|
616
|
-
});
|
|
617
|
-
}
|
|
618
|
-
function dn(e, t, r) {
|
|
619
|
-
t != null && g(Dt, e) && Dt[e](t, r._a, r, e);
|
|
620
|
-
}
|
|
621
|
-
function lt(e) {
|
|
622
|
-
return e % 4 === 0 && e % 100 !== 0 || e % 400 === 0;
|
|
623
|
-
}
|
|
624
|
-
var N = 0, J = 1, V = 2, T = 3, E = 4, K = 5, de = 6, cn = 7, hn = 8;
|
|
625
|
-
h("Y", 0, 0, function() {
|
|
626
|
-
var e = this.year();
|
|
627
|
-
return e <= 9999 ? j(e, 4) : "+" + e;
|
|
628
|
-
});
|
|
629
|
-
h(0, ["YY", 2], 0, function() {
|
|
630
|
-
return this.year() % 100;
|
|
631
|
-
});
|
|
632
|
-
h(0, ["YYYY", 4], 0, "year");
|
|
633
|
-
h(0, ["YYYYY", 5], 0, "year");
|
|
634
|
-
h(0, ["YYYYYY", 6, !0], 0, "year");
|
|
635
|
-
d("Y", it);
|
|
636
|
-
d("YY", v, C);
|
|
637
|
-
d("YYYY", It, Lt);
|
|
638
|
-
d("YYYYY", at, st);
|
|
639
|
-
d("YYYYYY", at, st);
|
|
640
|
-
k(["YYYYY", "YYYYYY"], N);
|
|
641
|
-
k("YYYY", function(e, t) {
|
|
642
|
-
t[N] = e.length === 2 ? u.parseTwoDigitYear(e) : y(e);
|
|
643
|
-
});
|
|
644
|
-
k("YY", function(e, t) {
|
|
645
|
-
t[N] = u.parseTwoDigitYear(e);
|
|
646
|
-
});
|
|
647
|
-
k("Y", function(e, t) {
|
|
648
|
-
t[N] = parseInt(e, 10);
|
|
649
|
-
});
|
|
650
|
-
function Pe(e) {
|
|
651
|
-
return lt(e) ? 366 : 365;
|
|
652
|
-
}
|
|
653
|
-
u.parseTwoDigitYear = function(e) {
|
|
654
|
-
return y(e) + (y(e) > 68 ? 1900 : 2e3);
|
|
655
|
-
};
|
|
656
|
-
var Dr = Me("FullYear", !0);
|
|
657
|
-
function fn() {
|
|
658
|
-
return lt(this.year());
|
|
659
|
-
}
|
|
660
|
-
function Me(e, t) {
|
|
661
|
-
return function(r) {
|
|
662
|
-
return r != null ? (Yr(this, e, r), u.updateOffset(this, t), this) : Re(this, e);
|
|
663
|
-
};
|
|
664
|
-
}
|
|
665
|
-
function Re(e, t) {
|
|
666
|
-
if (!e.isValid())
|
|
667
|
-
return NaN;
|
|
668
|
-
var r = e._d, s = e._isUTC;
|
|
669
|
-
switch (t) {
|
|
670
|
-
case "Milliseconds":
|
|
671
|
-
return s ? r.getUTCMilliseconds() : r.getMilliseconds();
|
|
672
|
-
case "Seconds":
|
|
673
|
-
return s ? r.getUTCSeconds() : r.getSeconds();
|
|
674
|
-
case "Minutes":
|
|
675
|
-
return s ? r.getUTCMinutes() : r.getMinutes();
|
|
676
|
-
case "Hours":
|
|
677
|
-
return s ? r.getUTCHours() : r.getHours();
|
|
678
|
-
case "Date":
|
|
679
|
-
return s ? r.getUTCDate() : r.getDate();
|
|
680
|
-
case "Day":
|
|
681
|
-
return s ? r.getUTCDay() : r.getDay();
|
|
682
|
-
case "Month":
|
|
683
|
-
return s ? r.getUTCMonth() : r.getMonth();
|
|
684
|
-
case "FullYear":
|
|
685
|
-
return s ? r.getUTCFullYear() : r.getFullYear();
|
|
686
|
-
default:
|
|
687
|
-
return NaN;
|
|
688
|
-
}
|
|
689
|
-
}
|
|
690
|
-
function Yr(e, t, r) {
|
|
691
|
-
var s, n, a, i, o;
|
|
692
|
-
if (!(!e.isValid() || isNaN(r))) {
|
|
693
|
-
switch (s = e._d, n = e._isUTC, t) {
|
|
694
|
-
case "Milliseconds":
|
|
695
|
-
return void (n ? s.setUTCMilliseconds(r) : s.setMilliseconds(r));
|
|
696
|
-
case "Seconds":
|
|
697
|
-
return void (n ? s.setUTCSeconds(r) : s.setSeconds(r));
|
|
698
|
-
case "Minutes":
|
|
699
|
-
return void (n ? s.setUTCMinutes(r) : s.setMinutes(r));
|
|
700
|
-
case "Hours":
|
|
701
|
-
return void (n ? s.setUTCHours(r) : s.setHours(r));
|
|
702
|
-
case "Date":
|
|
703
|
-
return void (n ? s.setUTCDate(r) : s.setDate(r));
|
|
704
|
-
// case 'Day': // Not real
|
|
705
|
-
// return void (isUTC ? d.setUTCDay(value) : d.setDay(value));
|
|
706
|
-
// case 'Month': // Not used because we need to pass two variables
|
|
707
|
-
// return void (isUTC ? d.setUTCMonth(value) : d.setMonth(value));
|
|
708
|
-
case "FullYear":
|
|
709
|
-
break;
|
|
710
|
-
// See below ...
|
|
711
|
-
default:
|
|
712
|
-
return;
|
|
713
|
-
}
|
|
714
|
-
a = r, i = e.month(), o = e.date(), o = o === 29 && i === 1 && !lt(a) ? 28 : o, n ? s.setUTCFullYear(a, i, o) : s.setFullYear(a, i, o);
|
|
715
|
-
}
|
|
716
|
-
}
|
|
717
|
-
function mn(e) {
|
|
718
|
-
return e = I(e), Z(this[e]) ? this[e]() : this;
|
|
719
|
-
}
|
|
720
|
-
function yn(e, t) {
|
|
721
|
-
if (typeof e == "object") {
|
|
722
|
-
e = At(e);
|
|
723
|
-
var r = nn(e), s, n = r.length;
|
|
724
|
-
for (s = 0; s < n; s++)
|
|
725
|
-
this[r[s].unit](e[r[s].unit]);
|
|
726
|
-
} else if (e = I(e), Z(this[e]))
|
|
727
|
-
return this[e](t);
|
|
728
|
-
return this;
|
|
729
|
-
}
|
|
730
|
-
function _n(e, t) {
|
|
731
|
-
return (e % t + t) % t;
|
|
732
|
-
}
|
|
733
|
-
var D;
|
|
734
|
-
Array.prototype.indexOf ? D = Array.prototype.indexOf : D = function(e) {
|
|
735
|
-
var t;
|
|
736
|
-
for (t = 0; t < this.length; ++t)
|
|
737
|
-
if (this[t] === e)
|
|
738
|
-
return t;
|
|
739
|
-
return -1;
|
|
740
|
-
};
|
|
741
|
-
function Ft(e, t) {
|
|
742
|
-
if (isNaN(e) || isNaN(t))
|
|
743
|
-
return NaN;
|
|
744
|
-
var r = _n(t, 12);
|
|
745
|
-
return e += (t - r) / 12, r === 1 ? lt(e) ? 29 : 28 : 31 - r % 7 % 2;
|
|
746
|
-
}
|
|
747
|
-
h("M", ["MM", 2], "Mo", function() {
|
|
748
|
-
return this.month() + 1;
|
|
749
|
-
});
|
|
750
|
-
h("MMM", 0, 0, function(e) {
|
|
751
|
-
return this.localeData().monthsShort(this, e);
|
|
752
|
-
});
|
|
753
|
-
h("MMMM", 0, 0, function(e) {
|
|
754
|
-
return this.localeData().months(this, e);
|
|
755
|
-
});
|
|
756
|
-
d("M", v, ve);
|
|
757
|
-
d("MM", v, C);
|
|
758
|
-
d("MMM", function(e, t) {
|
|
759
|
-
return t.monthsShortRegex(e);
|
|
760
|
-
});
|
|
761
|
-
d("MMMM", function(e, t) {
|
|
762
|
-
return t.monthsRegex(e);
|
|
763
|
-
});
|
|
764
|
-
k(["M", "MM"], function(e, t) {
|
|
765
|
-
t[J] = y(e) - 1;
|
|
766
|
-
});
|
|
767
|
-
k(["MMM", "MMMM"], function(e, t, r, s) {
|
|
768
|
-
var n = r._locale.monthsParse(e, s, r._strict);
|
|
769
|
-
n != null ? t[J] = n : m(r).invalidMonth = e;
|
|
770
|
-
});
|
|
771
|
-
var gn = "January_February_March_April_May_June_July_August_September_October_November_December".split(
|
|
772
|
-
"_"
|
|
773
|
-
), Or = "Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"), br = /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/, wn = Ee, pn = Ee;
|
|
774
|
-
function kn(e, t) {
|
|
775
|
-
return e ? F(this._months) ? this._months[e.month()] : this._months[(this._months.isFormat || br).test(t) ? "format" : "standalone"][e.month()] : F(this._months) ? this._months : this._months.standalone;
|
|
776
|
-
}
|
|
777
|
-
function Sn(e, t) {
|
|
778
|
-
return e ? F(this._monthsShort) ? this._monthsShort[e.month()] : this._monthsShort[br.test(t) ? "format" : "standalone"][e.month()] : F(this._monthsShort) ? this._monthsShort : this._monthsShort.standalone;
|
|
779
|
-
}
|
|
780
|
-
function vn(e, t, r) {
|
|
781
|
-
var s, n, a, i = e.toLocaleLowerCase();
|
|
782
|
-
if (!this._monthsParse)
|
|
783
|
-
for (this._monthsParse = [], this._longMonthsParse = [], this._shortMonthsParse = [], s = 0; s < 12; ++s)
|
|
784
|
-
a = z([2e3, s]), this._shortMonthsParse[s] = this.monthsShort(
|
|
785
|
-
a,
|
|
786
|
-
""
|
|
787
|
-
).toLocaleLowerCase(), this._longMonthsParse[s] = this.months(a, "").toLocaleLowerCase();
|
|
788
|
-
return r ? t === "MMM" ? (n = D.call(this._shortMonthsParse, i), n !== -1 ? n : null) : (n = D.call(this._longMonthsParse, i), n !== -1 ? n : null) : t === "MMM" ? (n = D.call(this._shortMonthsParse, i), n !== -1 ? n : (n = D.call(this._longMonthsParse, i), n !== -1 ? n : null)) : (n = D.call(this._longMonthsParse, i), n !== -1 ? n : (n = D.call(this._shortMonthsParse, i), n !== -1 ? n : null));
|
|
789
|
-
}
|
|
790
|
-
function Mn(e, t, r) {
|
|
791
|
-
var s, n, a;
|
|
792
|
-
if (this._monthsParseExact)
|
|
793
|
-
return vn.call(this, e, t, r);
|
|
794
|
-
for (this._monthsParse || (this._monthsParse = [], this._longMonthsParse = [], this._shortMonthsParse = []), s = 0; s < 12; s++) {
|
|
795
|
-
if (n = z([2e3, s]), r && !this._longMonthsParse[s] && (this._longMonthsParse[s] = new RegExp(
|
|
796
|
-
"^" + this.months(n, "").replace(".", "") + "$",
|
|
797
|
-
"i"
|
|
798
|
-
), this._shortMonthsParse[s] = new RegExp(
|
|
799
|
-
"^" + this.monthsShort(n, "").replace(".", "") + "$",
|
|
800
|
-
"i"
|
|
801
|
-
)), !r && !this._monthsParse[s] && (a = "^" + this.months(n, "") + "|^" + this.monthsShort(n, ""), this._monthsParse[s] = new RegExp(a.replace(".", ""), "i")), r && t === "MMMM" && this._longMonthsParse[s].test(e))
|
|
802
|
-
return s;
|
|
803
|
-
if (r && t === "MMM" && this._shortMonthsParse[s].test(e))
|
|
804
|
-
return s;
|
|
805
|
-
if (!r && this._monthsParse[s].test(e))
|
|
806
|
-
return s;
|
|
807
|
-
}
|
|
808
|
-
}
|
|
809
|
-
function Tr(e, t) {
|
|
810
|
-
if (!e.isValid())
|
|
811
|
-
return e;
|
|
812
|
-
if (typeof t == "string") {
|
|
813
|
-
if (/^\d+$/.test(t))
|
|
814
|
-
t = y(t);
|
|
815
|
-
else if (t = e.localeData().monthsParse(t), !ee(t))
|
|
816
|
-
return e;
|
|
817
|
-
}
|
|
818
|
-
var r = t, s = e.date();
|
|
819
|
-
return s = s < 29 ? s : Math.min(s, Ft(e.year(), r)), e._isUTC ? e._d.setUTCMonth(r, s) : e._d.setMonth(r, s), e;
|
|
820
|
-
}
|
|
821
|
-
function xr(e) {
|
|
822
|
-
return e != null ? (Tr(this, e), u.updateOffset(this, !0), this) : Re(this, "Month");
|
|
823
|
-
}
|
|
824
|
-
function Dn() {
|
|
825
|
-
return Ft(this.year(), this.month());
|
|
826
|
-
}
|
|
827
|
-
function Yn(e) {
|
|
828
|
-
return this._monthsParseExact ? (g(this, "_monthsRegex") || Pr.call(this), e ? this._monthsShortStrictRegex : this._monthsShortRegex) : (g(this, "_monthsShortRegex") || (this._monthsShortRegex = wn), this._monthsShortStrictRegex && e ? this._monthsShortStrictRegex : this._monthsShortRegex);
|
|
829
|
-
}
|
|
830
|
-
function On(e) {
|
|
831
|
-
return this._monthsParseExact ? (g(this, "_monthsRegex") || Pr.call(this), e ? this._monthsStrictRegex : this._monthsRegex) : (g(this, "_monthsRegex") || (this._monthsRegex = pn), this._monthsStrictRegex && e ? this._monthsStrictRegex : this._monthsRegex);
|
|
832
|
-
}
|
|
833
|
-
function Pr() {
|
|
834
|
-
function e(c, f) {
|
|
835
|
-
return f.length - c.length;
|
|
836
|
-
}
|
|
837
|
-
var t = [], r = [], s = [], n, a, i, o;
|
|
838
|
-
for (n = 0; n < 12; n++)
|
|
839
|
-
a = z([2e3, n]), i = X(this.monthsShort(a, "")), o = X(this.months(a, "")), t.push(i), r.push(o), s.push(o), s.push(i);
|
|
840
|
-
t.sort(e), r.sort(e), s.sort(e), this._monthsRegex = new RegExp("^(" + s.join("|") + ")", "i"), this._monthsShortRegex = this._monthsRegex, this._monthsStrictRegex = new RegExp(
|
|
841
|
-
"^(" + r.join("|") + ")",
|
|
842
|
-
"i"
|
|
843
|
-
), this._monthsShortStrictRegex = new RegExp(
|
|
844
|
-
"^(" + t.join("|") + ")",
|
|
845
|
-
"i"
|
|
846
|
-
);
|
|
847
|
-
}
|
|
848
|
-
function bn(e, t, r, s, n, a, i) {
|
|
849
|
-
var o;
|
|
850
|
-
return e < 100 && e >= 0 ? (o = new Date(e + 400, t, r, s, n, a, i), isFinite(o.getFullYear()) && o.setFullYear(e)) : o = new Date(e, t, r, s, n, a, i), o;
|
|
851
|
-
}
|
|
852
|
-
function We(e) {
|
|
853
|
-
var t, r;
|
|
854
|
-
return e < 100 && e >= 0 ? (r = Array.prototype.slice.call(arguments), r[0] = e + 400, t = new Date(Date.UTC.apply(null, r)), isFinite(t.getUTCFullYear()) && t.setUTCFullYear(e)) : t = new Date(Date.UTC.apply(null, arguments)), t;
|
|
855
|
-
}
|
|
856
|
-
function Ke(e, t, r) {
|
|
857
|
-
var s = 7 + t - r, n = (7 + We(e, 0, s).getUTCDay() - t) % 7;
|
|
858
|
-
return -n + s - 1;
|
|
859
|
-
}
|
|
860
|
-
function Nr(e, t, r, s, n) {
|
|
861
|
-
var a = (7 + r - s) % 7, i = Ke(e, s, n), o = 1 + 7 * (t - 1) + a + i, c, f;
|
|
862
|
-
return o <= 0 ? (c = e - 1, f = Pe(c) + o) : o > Pe(e) ? (c = e + 1, f = o - Pe(e)) : (c = e, f = o), {
|
|
863
|
-
year: c,
|
|
864
|
-
dayOfYear: f
|
|
865
|
-
};
|
|
866
|
-
}
|
|
867
|
-
function Ce(e, t, r) {
|
|
868
|
-
var s = Ke(e.year(), t, r), n = Math.floor((e.dayOfYear() - s - 1) / 7) + 1, a, i;
|
|
869
|
-
return n < 1 ? (i = e.year() - 1, a = n + $(i, t, r)) : n > $(e.year(), t, r) ? (a = n - $(e.year(), t, r), i = e.year() + 1) : (i = e.year(), a = n), {
|
|
870
|
-
week: a,
|
|
871
|
-
year: i
|
|
872
|
-
};
|
|
873
|
-
}
|
|
874
|
-
function $(e, t, r) {
|
|
875
|
-
var s = Ke(e, t, r), n = Ke(e + 1, t, r);
|
|
876
|
-
return (Pe(e) - s + n) / 7;
|
|
877
|
-
}
|
|
878
|
-
h("w", ["ww", 2], "wo", "week");
|
|
879
|
-
h("W", ["WW", 2], "Wo", "isoWeek");
|
|
880
|
-
d("w", v, ve);
|
|
881
|
-
d("ww", v, C);
|
|
882
|
-
d("W", v, ve);
|
|
883
|
-
d("WW", v, C);
|
|
884
|
-
Fe(
|
|
885
|
-
["w", "ww", "W", "WW"],
|
|
886
|
-
function(e, t, r, s) {
|
|
887
|
-
t[s.substr(0, 1)] = y(e);
|
|
888
|
-
}
|
|
889
|
-
);
|
|
890
|
-
function Tn(e) {
|
|
891
|
-
return Ce(e, this._week.dow, this._week.doy).week;
|
|
892
|
-
}
|
|
893
|
-
var xn = {
|
|
894
|
-
dow: 0,
|
|
895
|
-
// Sunday is the first day of the week.
|
|
896
|
-
doy: 6
|
|
897
|
-
// The week that contains Jan 6th is the first week of the year.
|
|
898
|
-
};
|
|
899
|
-
function Pn() {
|
|
900
|
-
return this._week.dow;
|
|
901
|
-
}
|
|
902
|
-
function Nn() {
|
|
903
|
-
return this._week.doy;
|
|
904
|
-
}
|
|
905
|
-
function Rn(e) {
|
|
906
|
-
var t = this.localeData().week(this);
|
|
907
|
-
return e == null ? t : this.add((e - t) * 7, "d");
|
|
908
|
-
}
|
|
909
|
-
function Wn(e) {
|
|
910
|
-
var t = Ce(this, 1, 4).week;
|
|
911
|
-
return e == null ? t : this.add((e - t) * 7, "d");
|
|
912
|
-
}
|
|
913
|
-
h("d", 0, "do", "day");
|
|
914
|
-
h("dd", 0, 0, function(e) {
|
|
915
|
-
return this.localeData().weekdaysMin(this, e);
|
|
916
|
-
});
|
|
917
|
-
h("ddd", 0, 0, function(e) {
|
|
918
|
-
return this.localeData().weekdaysShort(this, e);
|
|
919
|
-
});
|
|
920
|
-
h("dddd", 0, 0, function(e) {
|
|
921
|
-
return this.localeData().weekdays(this, e);
|
|
922
|
-
});
|
|
923
|
-
h("e", 0, 0, "weekday");
|
|
924
|
-
h("E", 0, 0, "isoWeekday");
|
|
925
|
-
d("d", v);
|
|
926
|
-
d("e", v);
|
|
927
|
-
d("E", v);
|
|
928
|
-
d("dd", function(e, t) {
|
|
929
|
-
return t.weekdaysMinRegex(e);
|
|
930
|
-
});
|
|
931
|
-
d("ddd", function(e, t) {
|
|
932
|
-
return t.weekdaysShortRegex(e);
|
|
933
|
-
});
|
|
934
|
-
d("dddd", function(e, t) {
|
|
935
|
-
return t.weekdaysRegex(e);
|
|
936
|
-
});
|
|
937
|
-
Fe(["dd", "ddd", "dddd"], function(e, t, r, s) {
|
|
938
|
-
var n = r._locale.weekdaysParse(e, s, r._strict);
|
|
939
|
-
n != null ? t.d = n : m(r).invalidWeekday = e;
|
|
940
|
-
});
|
|
941
|
-
Fe(["d", "e", "E"], function(e, t, r, s) {
|
|
942
|
-
t[s] = y(e);
|
|
943
|
-
});
|
|
944
|
-
function Cn(e, t) {
|
|
945
|
-
return typeof e != "string" ? e : isNaN(e) ? (e = t.weekdaysParse(e), typeof e == "number" ? e : null) : parseInt(e, 10);
|
|
946
|
-
}
|
|
947
|
-
function An(e, t) {
|
|
948
|
-
return typeof e == "string" ? t.weekdaysParse(e) % 7 || 7 : isNaN(e) ? null : e;
|
|
949
|
-
}
|
|
950
|
-
function Ut(e, t) {
|
|
951
|
-
return e.slice(t, 7).concat(e.slice(0, t));
|
|
952
|
-
}
|
|
953
|
-
var Ln = "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), Rr = "Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"), In = "Su_Mo_Tu_We_Th_Fr_Sa".split("_"), En = Ee, Fn = Ee, Un = Ee;
|
|
954
|
-
function Hn(e, t) {
|
|
955
|
-
var r = F(this._weekdays) ? this._weekdays : this._weekdays[e && e !== !0 && this._weekdays.isFormat.test(t) ? "format" : "standalone"];
|
|
956
|
-
return e === !0 ? Ut(r, this._week.dow) : e ? r[e.day()] : r;
|
|
957
|
-
}
|
|
958
|
-
function Vn(e) {
|
|
959
|
-
return e === !0 ? Ut(this._weekdaysShort, this._week.dow) : e ? this._weekdaysShort[e.day()] : this._weekdaysShort;
|
|
960
|
-
}
|
|
961
|
-
function Gn(e) {
|
|
962
|
-
return e === !0 ? Ut(this._weekdaysMin, this._week.dow) : e ? this._weekdaysMin[e.day()] : this._weekdaysMin;
|
|
963
|
-
}
|
|
964
|
-
function jn(e, t, r) {
|
|
965
|
-
var s, n, a, i = e.toLocaleLowerCase();
|
|
966
|
-
if (!this._weekdaysParse)
|
|
967
|
-
for (this._weekdaysParse = [], this._shortWeekdaysParse = [], this._minWeekdaysParse = [], s = 0; s < 7; ++s)
|
|
968
|
-
a = z([2e3, 1]).day(s), this._minWeekdaysParse[s] = this.weekdaysMin(
|
|
969
|
-
a,
|
|
970
|
-
""
|
|
971
|
-
).toLocaleLowerCase(), this._shortWeekdaysParse[s] = this.weekdaysShort(
|
|
972
|
-
a,
|
|
973
|
-
""
|
|
974
|
-
).toLocaleLowerCase(), this._weekdaysParse[s] = this.weekdays(a, "").toLocaleLowerCase();
|
|
975
|
-
return r ? t === "dddd" ? (n = D.call(this._weekdaysParse, i), n !== -1 ? n : null) : t === "ddd" ? (n = D.call(this._shortWeekdaysParse, i), n !== -1 ? n : null) : (n = D.call(this._minWeekdaysParse, i), n !== -1 ? n : null) : t === "dddd" ? (n = D.call(this._weekdaysParse, i), n !== -1 || (n = D.call(this._shortWeekdaysParse, i), n !== -1) ? n : (n = D.call(this._minWeekdaysParse, i), n !== -1 ? n : null)) : t === "ddd" ? (n = D.call(this._shortWeekdaysParse, i), n !== -1 || (n = D.call(this._weekdaysParse, i), n !== -1) ? n : (n = D.call(this._minWeekdaysParse, i), n !== -1 ? n : null)) : (n = D.call(this._minWeekdaysParse, i), n !== -1 || (n = D.call(this._weekdaysParse, i), n !== -1) ? n : (n = D.call(this._shortWeekdaysParse, i), n !== -1 ? n : null));
|
|
976
|
-
}
|
|
977
|
-
function zn(e, t, r) {
|
|
978
|
-
var s, n, a;
|
|
979
|
-
if (this._weekdaysParseExact)
|
|
980
|
-
return jn.call(this, e, t, r);
|
|
981
|
-
for (this._weekdaysParse || (this._weekdaysParse = [], this._minWeekdaysParse = [], this._shortWeekdaysParse = [], this._fullWeekdaysParse = []), s = 0; s < 7; s++) {
|
|
982
|
-
if (n = z([2e3, 1]).day(s), r && !this._fullWeekdaysParse[s] && (this._fullWeekdaysParse[s] = new RegExp(
|
|
983
|
-
"^" + this.weekdays(n, "").replace(".", "\\.?") + "$",
|
|
984
|
-
"i"
|
|
985
|
-
), this._shortWeekdaysParse[s] = new RegExp(
|
|
986
|
-
"^" + this.weekdaysShort(n, "").replace(".", "\\.?") + "$",
|
|
987
|
-
"i"
|
|
988
|
-
), this._minWeekdaysParse[s] = new RegExp(
|
|
989
|
-
"^" + this.weekdaysMin(n, "").replace(".", "\\.?") + "$",
|
|
990
|
-
"i"
|
|
991
|
-
)), this._weekdaysParse[s] || (a = "^" + this.weekdays(n, "") + "|^" + this.weekdaysShort(n, "") + "|^" + this.weekdaysMin(n, ""), this._weekdaysParse[s] = new RegExp(a.replace(".", ""), "i")), r && t === "dddd" && this._fullWeekdaysParse[s].test(e))
|
|
992
|
-
return s;
|
|
993
|
-
if (r && t === "ddd" && this._shortWeekdaysParse[s].test(e))
|
|
994
|
-
return s;
|
|
995
|
-
if (r && t === "dd" && this._minWeekdaysParse[s].test(e))
|
|
996
|
-
return s;
|
|
997
|
-
if (!r && this._weekdaysParse[s].test(e))
|
|
998
|
-
return s;
|
|
999
|
-
}
|
|
1000
|
-
}
|
|
1001
|
-
function Zn(e) {
|
|
1002
|
-
if (!this.isValid())
|
|
1003
|
-
return e != null ? this : NaN;
|
|
1004
|
-
var t = Re(this, "Day");
|
|
1005
|
-
return e != null ? (e = Cn(e, this.localeData()), this.add(e - t, "d")) : t;
|
|
1006
|
-
}
|
|
1007
|
-
function Bn(e) {
|
|
1008
|
-
if (!this.isValid())
|
|
1009
|
-
return e != null ? this : NaN;
|
|
1010
|
-
var t = (this.day() + 7 - this.localeData()._week.dow) % 7;
|
|
1011
|
-
return e == null ? t : this.add(e - t, "d");
|
|
1012
|
-
}
|
|
1013
|
-
function qn(e) {
|
|
1014
|
-
if (!this.isValid())
|
|
1015
|
-
return e != null ? this : NaN;
|
|
1016
|
-
if (e != null) {
|
|
1017
|
-
var t = An(e, this.localeData());
|
|
1018
|
-
return this.day(this.day() % 7 ? t : t - 7);
|
|
1019
|
-
} else
|
|
1020
|
-
return this.day() || 7;
|
|
1021
|
-
}
|
|
1022
|
-
function Qn(e) {
|
|
1023
|
-
return this._weekdaysParseExact ? (g(this, "_weekdaysRegex") || Ht.call(this), e ? this._weekdaysStrictRegex : this._weekdaysRegex) : (g(this, "_weekdaysRegex") || (this._weekdaysRegex = En), this._weekdaysStrictRegex && e ? this._weekdaysStrictRegex : this._weekdaysRegex);
|
|
1024
|
-
}
|
|
1025
|
-
function Jn(e) {
|
|
1026
|
-
return this._weekdaysParseExact ? (g(this, "_weekdaysRegex") || Ht.call(this), e ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex) : (g(this, "_weekdaysShortRegex") || (this._weekdaysShortRegex = Fn), this._weekdaysShortStrictRegex && e ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex);
|
|
1027
|
-
}
|
|
1028
|
-
function Kn(e) {
|
|
1029
|
-
return this._weekdaysParseExact ? (g(this, "_weekdaysRegex") || Ht.call(this), e ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex) : (g(this, "_weekdaysMinRegex") || (this._weekdaysMinRegex = Un), this._weekdaysMinStrictRegex && e ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex);
|
|
1030
|
-
}
|
|
1031
|
-
function Ht() {
|
|
1032
|
-
function e(O, b) {
|
|
1033
|
-
return b.length - O.length;
|
|
1034
|
-
}
|
|
1035
|
-
var t = [], r = [], s = [], n = [], a, i, o, c, f;
|
|
1036
|
-
for (a = 0; a < 7; a++)
|
|
1037
|
-
i = z([2e3, 1]).day(a), o = X(this.weekdaysMin(i, "")), c = X(this.weekdaysShort(i, "")), f = X(this.weekdays(i, "")), t.push(o), r.push(c), s.push(f), n.push(o), n.push(c), n.push(f);
|
|
1038
|
-
t.sort(e), r.sort(e), s.sort(e), n.sort(e), this._weekdaysRegex = new RegExp("^(" + n.join("|") + ")", "i"), this._weekdaysShortRegex = this._weekdaysRegex, this._weekdaysMinRegex = this._weekdaysRegex, this._weekdaysStrictRegex = new RegExp(
|
|
1039
|
-
"^(" + s.join("|") + ")",
|
|
1040
|
-
"i"
|
|
1041
|
-
), this._weekdaysShortStrictRegex = new RegExp(
|
|
1042
|
-
"^(" + r.join("|") + ")",
|
|
1043
|
-
"i"
|
|
1044
|
-
), this._weekdaysMinStrictRegex = new RegExp(
|
|
1045
|
-
"^(" + t.join("|") + ")",
|
|
1046
|
-
"i"
|
|
1047
|
-
);
|
|
1048
|
-
}
|
|
1049
|
-
function Vt() {
|
|
1050
|
-
return this.hours() % 12 || 12;
|
|
1051
|
-
}
|
|
1052
|
-
function Xn() {
|
|
1053
|
-
return this.hours() || 24;
|
|
1054
|
-
}
|
|
1055
|
-
h("H", ["HH", 2], 0, "hour");
|
|
1056
|
-
h("h", ["hh", 2], 0, Vt);
|
|
1057
|
-
h("k", ["kk", 2], 0, Xn);
|
|
1058
|
-
h("hmm", 0, 0, function() {
|
|
1059
|
-
return "" + Vt.apply(this) + j(this.minutes(), 2);
|
|
1060
|
-
});
|
|
1061
|
-
h("hmmss", 0, 0, function() {
|
|
1062
|
-
return "" + Vt.apply(this) + j(this.minutes(), 2) + j(this.seconds(), 2);
|
|
1063
|
-
});
|
|
1064
|
-
h("Hmm", 0, 0, function() {
|
|
1065
|
-
return "" + this.hours() + j(this.minutes(), 2);
|
|
1066
|
-
});
|
|
1067
|
-
h("Hmmss", 0, 0, function() {
|
|
1068
|
-
return "" + this.hours() + j(this.minutes(), 2) + j(this.seconds(), 2);
|
|
1069
|
-
});
|
|
1070
|
-
function Wr(e, t) {
|
|
1071
|
-
h(e, 0, 0, function() {
|
|
1072
|
-
return this.localeData().meridiem(
|
|
1073
|
-
this.hours(),
|
|
1074
|
-
this.minutes(),
|
|
1075
|
-
t
|
|
1076
|
-
);
|
|
1077
|
-
});
|
|
1078
|
-
}
|
|
1079
|
-
Wr("a", !0);
|
|
1080
|
-
Wr("A", !1);
|
|
1081
|
-
function Cr(e, t) {
|
|
1082
|
-
return t._meridiemParse;
|
|
1083
|
-
}
|
|
1084
|
-
d("a", Cr);
|
|
1085
|
-
d("A", Cr);
|
|
1086
|
-
d("H", v, Et);
|
|
1087
|
-
d("h", v, ve);
|
|
1088
|
-
d("k", v, ve);
|
|
1089
|
-
d("HH", v, C);
|
|
1090
|
-
d("hh", v, C);
|
|
1091
|
-
d("kk", v, C);
|
|
1092
|
-
d("hmm", vr);
|
|
1093
|
-
d("hmmss", Mr);
|
|
1094
|
-
d("Hmm", vr);
|
|
1095
|
-
d("Hmmss", Mr);
|
|
1096
|
-
k(["H", "HH"], T);
|
|
1097
|
-
k(["k", "kk"], function(e, t, r) {
|
|
1098
|
-
var s = y(e);
|
|
1099
|
-
t[T] = s === 24 ? 0 : s;
|
|
1100
|
-
});
|
|
1101
|
-
k(["a", "A"], function(e, t, r) {
|
|
1102
|
-
r._isPm = r._locale.isPM(e), r._meridiem = e;
|
|
1103
|
-
});
|
|
1104
|
-
k(["h", "hh"], function(e, t, r) {
|
|
1105
|
-
t[T] = y(e), m(r).bigHour = !0;
|
|
1106
|
-
});
|
|
1107
|
-
k("hmm", function(e, t, r) {
|
|
1108
|
-
var s = e.length - 2;
|
|
1109
|
-
t[T] = y(e.substr(0, s)), t[E] = y(e.substr(s)), m(r).bigHour = !0;
|
|
1110
|
-
});
|
|
1111
|
-
k("hmmss", function(e, t, r) {
|
|
1112
|
-
var s = e.length - 4, n = e.length - 2;
|
|
1113
|
-
t[T] = y(e.substr(0, s)), t[E] = y(e.substr(s, 2)), t[K] = y(e.substr(n)), m(r).bigHour = !0;
|
|
1114
|
-
});
|
|
1115
|
-
k("Hmm", function(e, t, r) {
|
|
1116
|
-
var s = e.length - 2;
|
|
1117
|
-
t[T] = y(e.substr(0, s)), t[E] = y(e.substr(s));
|
|
1118
|
-
});
|
|
1119
|
-
k("Hmmss", function(e, t, r) {
|
|
1120
|
-
var s = e.length - 4, n = e.length - 2;
|
|
1121
|
-
t[T] = y(e.substr(0, s)), t[E] = y(e.substr(s, 2)), t[K] = y(e.substr(n));
|
|
1122
|
-
});
|
|
1123
|
-
function $n(e) {
|
|
1124
|
-
return (e + "").toLowerCase().charAt(0) === "p";
|
|
1125
|
-
}
|
|
1126
|
-
var ea = /[ap]\.?m?\.?/i, ta = Me("Hours", !0);
|
|
1127
|
-
function ra(e, t, r) {
|
|
1128
|
-
return e > 11 ? r ? "pm" : "PM" : r ? "am" : "AM";
|
|
1129
|
-
}
|
|
1130
|
-
var Ar = {
|
|
1131
|
-
calendar: Gs,
|
|
1132
|
-
longDateFormat: Bs,
|
|
1133
|
-
invalidDate: Qs,
|
|
1134
|
-
ordinal: Ks,
|
|
1135
|
-
dayOfMonthOrdinalParse: Xs,
|
|
1136
|
-
relativeTime: en,
|
|
1137
|
-
months: gn,
|
|
1138
|
-
monthsShort: Or,
|
|
1139
|
-
week: xn,
|
|
1140
|
-
weekdays: Ln,
|
|
1141
|
-
weekdaysMin: In,
|
|
1142
|
-
weekdaysShort: Rr,
|
|
1143
|
-
meridiemParse: ea
|
|
1144
|
-
}, M = {}, be = {}, Ae;
|
|
1145
|
-
function sa(e, t) {
|
|
1146
|
-
var r, s = Math.min(e.length, t.length);
|
|
1147
|
-
for (r = 0; r < s; r += 1)
|
|
1148
|
-
if (e[r] !== t[r])
|
|
1149
|
-
return r;
|
|
1150
|
-
return s;
|
|
1151
|
-
}
|
|
1152
|
-
function ir(e) {
|
|
1153
|
-
return e && e.toLowerCase().replace("_", "-");
|
|
1154
|
-
}
|
|
1155
|
-
function na(e) {
|
|
1156
|
-
for (var t = 0, r, s, n, a; t < e.length; ) {
|
|
1157
|
-
for (a = ir(e[t]).split("-"), r = a.length, s = ir(e[t + 1]), s = s ? s.split("-") : null; r > 0; ) {
|
|
1158
|
-
if (n = ut(a.slice(0, r).join("-")), n)
|
|
1159
|
-
return n;
|
|
1160
|
-
if (s && s.length >= r && sa(a, s) >= r - 1)
|
|
1161
|
-
break;
|
|
1162
|
-
r--;
|
|
1163
|
-
}
|
|
1164
|
-
t++;
|
|
1165
|
-
}
|
|
1166
|
-
return Ae;
|
|
1167
|
-
}
|
|
1168
|
-
function aa(e) {
|
|
1169
|
-
return !!(e && e.match("^[^/\\\\]*$"));
|
|
1170
|
-
}
|
|
1171
|
-
function ut(e) {
|
|
1172
|
-
var t = null, r;
|
|
1173
|
-
if (M[e] === void 0 && typeof module < "u" && module && module.exports && aa(e))
|
|
1174
|
-
try {
|
|
1175
|
-
t = Ae._abbr, r = require, r("./locale/" + e), ie(t);
|
|
1176
|
-
} catch {
|
|
1177
|
-
M[e] = null;
|
|
1178
|
-
}
|
|
1179
|
-
return M[e];
|
|
1180
|
-
}
|
|
1181
|
-
function ie(e, t) {
|
|
1182
|
-
var r;
|
|
1183
|
-
return e && (W(t) ? r = te(e) : r = Gt(e, t), r ? Ae = r : typeof console < "u" && console.warn && console.warn(
|
|
1184
|
-
"Locale " + e + " not found. Did you forget to load it?"
|
|
1185
|
-
)), Ae._abbr;
|
|
1186
|
-
}
|
|
1187
|
-
function Gt(e, t) {
|
|
1188
|
-
if (t !== null) {
|
|
1189
|
-
var r, s = Ar;
|
|
1190
|
-
if (t.abbr = e, M[e] != null)
|
|
1191
|
-
wr(
|
|
1192
|
-
"defineLocaleOverride",
|
|
1193
|
-
"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."
|
|
1194
|
-
), s = M[e]._config;
|
|
1195
|
-
else if (t.parentLocale != null)
|
|
1196
|
-
if (M[t.parentLocale] != null)
|
|
1197
|
-
s = M[t.parentLocale]._config;
|
|
1198
|
-
else if (r = ut(t.parentLocale), r != null)
|
|
1199
|
-
s = r._config;
|
|
1200
|
-
else
|
|
1201
|
-
return be[t.parentLocale] || (be[t.parentLocale] = []), be[t.parentLocale].push({
|
|
1202
|
-
name: e,
|
|
1203
|
-
config: t
|
|
1204
|
-
}), null;
|
|
1205
|
-
return M[e] = new Wt(vt(s, t)), be[e] && be[e].forEach(function(n) {
|
|
1206
|
-
Gt(n.name, n.config);
|
|
1207
|
-
}), ie(e), M[e];
|
|
1208
|
-
} else
|
|
1209
|
-
return delete M[e], null;
|
|
1210
|
-
}
|
|
1211
|
-
function ia(e, t) {
|
|
1212
|
-
if (t != null) {
|
|
1213
|
-
var r, s, n = Ar;
|
|
1214
|
-
M[e] != null && M[e].parentLocale != null ? M[e].set(vt(M[e]._config, t)) : (s = ut(e), s != null && (n = s._config), t = vt(n, t), s == null && (t.abbr = e), r = new Wt(t), r.parentLocale = M[e], M[e] = r), ie(e);
|
|
1215
|
-
} else
|
|
1216
|
-
M[e] != null && (M[e].parentLocale != null ? (M[e] = M[e].parentLocale, e === ie() && ie(e)) : M[e] != null && delete M[e]);
|
|
1217
|
-
return M[e];
|
|
1218
|
-
}
|
|
1219
|
-
function te(e) {
|
|
1220
|
-
var t;
|
|
1221
|
-
if (e && e._locale && e._locale._abbr && (e = e._locale._abbr), !e)
|
|
1222
|
-
return Ae;
|
|
1223
|
-
if (!F(e)) {
|
|
1224
|
-
if (t = ut(e), t)
|
|
1225
|
-
return t;
|
|
1226
|
-
e = [e];
|
|
1227
|
-
}
|
|
1228
|
-
return na(e);
|
|
1229
|
-
}
|
|
1230
|
-
function oa() {
|
|
1231
|
-
return Mt(M);
|
|
1232
|
-
}
|
|
1233
|
-
function jt(e) {
|
|
1234
|
-
var t, r = e._a;
|
|
1235
|
-
return r && m(e).overflow === -2 && (t = r[J] < 0 || r[J] > 11 ? J : r[V] < 1 || r[V] > Ft(r[N], r[J]) ? V : r[T] < 0 || r[T] > 24 || r[T] === 24 && (r[E] !== 0 || r[K] !== 0 || r[de] !== 0) ? T : r[E] < 0 || r[E] > 59 ? E : r[K] < 0 || r[K] > 59 ? K : r[de] < 0 || r[de] > 999 ? de : -1, m(e)._overflowDayOfYear && (t < N || t > V) && (t = V), m(e)._overflowWeeks && t === -1 && (t = cn), m(e)._overflowWeekday && t === -1 && (t = hn), m(e).overflow = t), e;
|
|
1236
|
-
}
|
|
1237
|
-
var la = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/, ua = /^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/, da = /Z|[+-]\d\d(?::?\d\d)?/, Ge = [
|
|
1238
|
-
["YYYYYY-MM-DD", /[+-]\d{6}-\d\d-\d\d/],
|
|
1239
|
-
["YYYY-MM-DD", /\d{4}-\d\d-\d\d/],
|
|
1240
|
-
["GGGG-[W]WW-E", /\d{4}-W\d\d-\d/],
|
|
1241
|
-
["GGGG-[W]WW", /\d{4}-W\d\d/, !1],
|
|
1242
|
-
["YYYY-DDD", /\d{4}-\d{3}/],
|
|
1243
|
-
["YYYY-MM", /\d{4}-\d\d/, !1],
|
|
1244
|
-
["YYYYYYMMDD", /[+-]\d{10}/],
|
|
1245
|
-
["YYYYMMDD", /\d{8}/],
|
|
1246
|
-
["GGGG[W]WWE", /\d{4}W\d{3}/],
|
|
1247
|
-
["GGGG[W]WW", /\d{4}W\d{2}/, !1],
|
|
1248
|
-
["YYYYDDD", /\d{7}/],
|
|
1249
|
-
["YYYYMM", /\d{6}/, !1],
|
|
1250
|
-
["YYYY", /\d{4}/, !1]
|
|
1251
|
-
], gt = [
|
|
1252
|
-
["HH:mm:ss.SSSS", /\d\d:\d\d:\d\d\.\d+/],
|
|
1253
|
-
["HH:mm:ss,SSSS", /\d\d:\d\d:\d\d,\d+/],
|
|
1254
|
-
["HH:mm:ss", /\d\d:\d\d:\d\d/],
|
|
1255
|
-
["HH:mm", /\d\d:\d\d/],
|
|
1256
|
-
["HHmmss.SSSS", /\d\d\d\d\d\d\.\d+/],
|
|
1257
|
-
["HHmmss,SSSS", /\d\d\d\d\d\d,\d+/],
|
|
1258
|
-
["HHmmss", /\d\d\d\d\d\d/],
|
|
1259
|
-
["HHmm", /\d\d\d\d/],
|
|
1260
|
-
["HH", /\d\d/]
|
|
1261
|
-
], ca = /^\/?Date\((-?\d+)/i, ha = /^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/, fa = {
|
|
1262
|
-
UT: 0,
|
|
1263
|
-
GMT: 0,
|
|
1264
|
-
EDT: -240,
|
|
1265
|
-
EST: -300,
|
|
1266
|
-
CDT: -300,
|
|
1267
|
-
CST: -360,
|
|
1268
|
-
MDT: -360,
|
|
1269
|
-
MST: -420,
|
|
1270
|
-
PDT: -420,
|
|
1271
|
-
PST: -480
|
|
1272
|
-
};
|
|
1273
|
-
function Lr(e) {
|
|
1274
|
-
var t, r, s = e._i, n = la.exec(s) || ua.exec(s), a, i, o, c, f = Ge.length, O = gt.length;
|
|
1275
|
-
if (n) {
|
|
1276
|
-
for (m(e).iso = !0, t = 0, r = f; t < r; t++)
|
|
1277
|
-
if (Ge[t][1].exec(n[1])) {
|
|
1278
|
-
i = Ge[t][0], a = Ge[t][2] !== !1;
|
|
1279
|
-
break;
|
|
1280
|
-
}
|
|
1281
|
-
if (i == null) {
|
|
1282
|
-
e._isValid = !1;
|
|
1283
|
-
return;
|
|
1284
|
-
}
|
|
1285
|
-
if (n[3]) {
|
|
1286
|
-
for (t = 0, r = O; t < r; t++)
|
|
1287
|
-
if (gt[t][1].exec(n[3])) {
|
|
1288
|
-
o = (n[2] || " ") + gt[t][0];
|
|
1289
|
-
break;
|
|
1290
|
-
}
|
|
1291
|
-
if (o == null) {
|
|
1292
|
-
e._isValid = !1;
|
|
1293
|
-
return;
|
|
1294
|
-
}
|
|
1295
|
-
}
|
|
1296
|
-
if (!a && o != null) {
|
|
1297
|
-
e._isValid = !1;
|
|
1298
|
-
return;
|
|
1299
|
-
}
|
|
1300
|
-
if (n[4])
|
|
1301
|
-
if (da.exec(n[4]))
|
|
1302
|
-
c = "Z";
|
|
1303
|
-
else {
|
|
1304
|
-
e._isValid = !1;
|
|
1305
|
-
return;
|
|
1306
|
-
}
|
|
1307
|
-
e._f = i + (o || "") + (c || ""), Zt(e);
|
|
1308
|
-
} else
|
|
1309
|
-
e._isValid = !1;
|
|
1310
|
-
}
|
|
1311
|
-
function ma(e, t, r, s, n, a) {
|
|
1312
|
-
var i = [
|
|
1313
|
-
ya(e),
|
|
1314
|
-
Or.indexOf(t),
|
|
1315
|
-
parseInt(r, 10),
|
|
1316
|
-
parseInt(s, 10),
|
|
1317
|
-
parseInt(n, 10)
|
|
1318
|
-
];
|
|
1319
|
-
return a && i.push(parseInt(a, 10)), i;
|
|
1320
|
-
}
|
|
1321
|
-
function ya(e) {
|
|
1322
|
-
var t = parseInt(e, 10);
|
|
1323
|
-
return t <= 49 ? 2e3 + t : t <= 999 ? 1900 + t : t;
|
|
1324
|
-
}
|
|
1325
|
-
function _a(e) {
|
|
1326
|
-
return e.replace(/\([^()]*\)|[\n\t]/g, " ").replace(/(\s\s+)/g, " ").replace(/^\s\s*/, "").replace(/\s\s*$/, "");
|
|
1327
|
-
}
|
|
1328
|
-
function ga(e, t, r) {
|
|
1329
|
-
if (e) {
|
|
1330
|
-
var s = Rr.indexOf(e), n = new Date(
|
|
1331
|
-
t[0],
|
|
1332
|
-
t[1],
|
|
1333
|
-
t[2]
|
|
1334
|
-
).getDay();
|
|
1335
|
-
if (s !== n)
|
|
1336
|
-
return m(r).weekdayMismatch = !0, r._isValid = !1, !1;
|
|
1337
|
-
}
|
|
1338
|
-
return !0;
|
|
1339
|
-
}
|
|
1340
|
-
function wa(e, t, r) {
|
|
1341
|
-
if (e)
|
|
1342
|
-
return fa[e];
|
|
1343
|
-
if (t)
|
|
1344
|
-
return 0;
|
|
1345
|
-
var s = parseInt(r, 10), n = s % 100, a = (s - n) / 100;
|
|
1346
|
-
return a * 60 + n;
|
|
1347
|
-
}
|
|
1348
|
-
function Ir(e) {
|
|
1349
|
-
var t = ha.exec(_a(e._i)), r;
|
|
1350
|
-
if (t) {
|
|
1351
|
-
if (r = ma(
|
|
1352
|
-
t[4],
|
|
1353
|
-
t[3],
|
|
1354
|
-
t[2],
|
|
1355
|
-
t[5],
|
|
1356
|
-
t[6],
|
|
1357
|
-
t[7]
|
|
1358
|
-
), !ga(t[1], r, e))
|
|
1359
|
-
return;
|
|
1360
|
-
e._a = r, e._tzm = wa(t[8], t[9], t[10]), e._d = We.apply(null, e._a), e._d.setUTCMinutes(e._d.getUTCMinutes() - e._tzm), m(e).rfc2822 = !0;
|
|
1361
|
-
} else
|
|
1362
|
-
e._isValid = !1;
|
|
1363
|
-
}
|
|
1364
|
-
function pa(e) {
|
|
1365
|
-
var t = ca.exec(e._i);
|
|
1366
|
-
if (t !== null) {
|
|
1367
|
-
e._d = /* @__PURE__ */ new Date(+t[1]);
|
|
1368
|
-
return;
|
|
1369
|
-
}
|
|
1370
|
-
if (Lr(e), e._isValid === !1)
|
|
1371
|
-
delete e._isValid;
|
|
1372
|
-
else
|
|
1373
|
-
return;
|
|
1374
|
-
if (Ir(e), e._isValid === !1)
|
|
1375
|
-
delete e._isValid;
|
|
1376
|
-
else
|
|
1377
|
-
return;
|
|
1378
|
-
e._strict ? e._isValid = !1 : u.createFromInputFallback(e);
|
|
1379
|
-
}
|
|
1380
|
-
u.createFromInputFallback = L(
|
|
1381
|
-
"value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",
|
|
1382
|
-
function(e) {
|
|
1383
|
-
e._d = /* @__PURE__ */ new Date(e._i + (e._useUTC ? " UTC" : ""));
|
|
1384
|
-
}
|
|
1385
|
-
);
|
|
1386
|
-
function me(e, t, r) {
|
|
1387
|
-
return e ?? t ?? r;
|
|
1388
|
-
}
|
|
1389
|
-
function ka(e) {
|
|
1390
|
-
var t = new Date(u.now());
|
|
1391
|
-
return e._useUTC ? [
|
|
1392
|
-
t.getUTCFullYear(),
|
|
1393
|
-
t.getUTCMonth(),
|
|
1394
|
-
t.getUTCDate()
|
|
1395
|
-
] : [t.getFullYear(), t.getMonth(), t.getDate()];
|
|
1396
|
-
}
|
|
1397
|
-
function zt(e) {
|
|
1398
|
-
var t, r, s = [], n, a, i;
|
|
1399
|
-
if (!e._d) {
|
|
1400
|
-
for (n = ka(e), e._w && e._a[V] == null && e._a[J] == null && Sa(e), e._dayOfYear != null && (i = me(e._a[N], n[N]), (e._dayOfYear > Pe(i) || e._dayOfYear === 0) && (m(e)._overflowDayOfYear = !0), r = We(i, 0, e._dayOfYear), e._a[J] = r.getUTCMonth(), e._a[V] = r.getUTCDate()), t = 0; t < 3 && e._a[t] == null; ++t)
|
|
1401
|
-
e._a[t] = s[t] = n[t];
|
|
1402
|
-
for (; t < 7; t++)
|
|
1403
|
-
e._a[t] = s[t] = e._a[t] == null ? t === 2 ? 1 : 0 : e._a[t];
|
|
1404
|
-
e._a[T] === 24 && e._a[E] === 0 && e._a[K] === 0 && e._a[de] === 0 && (e._nextDay = !0, e._a[T] = 0), e._d = (e._useUTC ? We : bn).apply(
|
|
1405
|
-
null,
|
|
1406
|
-
s
|
|
1407
|
-
), a = e._useUTC ? e._d.getUTCDay() : e._d.getDay(), e._tzm != null && e._d.setUTCMinutes(e._d.getUTCMinutes() - e._tzm), e._nextDay && (e._a[T] = 24), e._w && typeof e._w.d < "u" && e._w.d !== a && (m(e).weekdayMismatch = !0);
|
|
1408
|
-
}
|
|
1409
|
-
}
|
|
1410
|
-
function Sa(e) {
|
|
1411
|
-
var t, r, s, n, a, i, o, c, f;
|
|
1412
|
-
t = e._w, t.GG != null || t.W != null || t.E != null ? (a = 1, i = 4, r = me(
|
|
1413
|
-
t.GG,
|
|
1414
|
-
e._a[N],
|
|
1415
|
-
Ce(S(), 1, 4).year
|
|
1416
|
-
), s = me(t.W, 1), n = me(t.E, 1), (n < 1 || n > 7) && (c = !0)) : (a = e._locale._week.dow, i = e._locale._week.doy, f = Ce(S(), a, i), r = me(t.gg, e._a[N], f.year), s = me(t.w, f.week), t.d != null ? (n = t.d, (n < 0 || n > 6) && (c = !0)) : t.e != null ? (n = t.e + a, (t.e < 0 || t.e > 6) && (c = !0)) : n = a), s < 1 || s > $(r, a, i) ? m(e)._overflowWeeks = !0 : c != null ? m(e)._overflowWeekday = !0 : (o = Nr(r, s, n, a, i), e._a[N] = o.year, e._dayOfYear = o.dayOfYear);
|
|
1417
|
-
}
|
|
1418
|
-
u.ISO_8601 = function() {
|
|
1419
|
-
};
|
|
1420
|
-
u.RFC_2822 = function() {
|
|
1421
|
-
};
|
|
1422
|
-
function Zt(e) {
|
|
1423
|
-
if (e._f === u.ISO_8601) {
|
|
1424
|
-
Lr(e);
|
|
1425
|
-
return;
|
|
1426
|
-
}
|
|
1427
|
-
if (e._f === u.RFC_2822) {
|
|
1428
|
-
Ir(e);
|
|
1429
|
-
return;
|
|
1430
|
-
}
|
|
1431
|
-
e._a = [], m(e).empty = !0;
|
|
1432
|
-
var t = "" + e._i, r, s, n, a, i, o = t.length, c = 0, f, O;
|
|
1433
|
-
for (n = pr(e._f, e._locale).match(Ct) || [], O = n.length, r = 0; r < O; r++)
|
|
1434
|
-
a = n[r], s = (t.match(ln(a, e)) || [])[0], s && (i = t.substr(0, t.indexOf(s)), i.length > 0 && m(e).unusedInput.push(i), t = t.slice(
|
|
1435
|
-
t.indexOf(s) + s.length
|
|
1436
|
-
), c += s.length), _e[a] ? (s ? m(e).empty = !1 : m(e).unusedTokens.push(a), dn(a, s, e)) : e._strict && !s && m(e).unusedTokens.push(a);
|
|
1437
|
-
m(e).charsLeftOver = o - c, t.length > 0 && m(e).unusedInput.push(t), e._a[T] <= 12 && m(e).bigHour === !0 && e._a[T] > 0 && (m(e).bigHour = void 0), m(e).parsedDateParts = e._a.slice(0), m(e).meridiem = e._meridiem, e._a[T] = va(
|
|
1438
|
-
e._locale,
|
|
1439
|
-
e._a[T],
|
|
1440
|
-
e._meridiem
|
|
1441
|
-
), f = m(e).era, f !== null && (e._a[N] = e._locale.erasConvertYear(f, e._a[N])), zt(e), jt(e);
|
|
1442
|
-
}
|
|
1443
|
-
function va(e, t, r) {
|
|
1444
|
-
var s;
|
|
1445
|
-
return r == null ? t : e.meridiemHour != null ? e.meridiemHour(t, r) : (e.isPM != null && (s = e.isPM(r), s && t < 12 && (t += 12), !s && t === 12 && (t = 0)), t);
|
|
1446
|
-
}
|
|
1447
|
-
function Ma(e) {
|
|
1448
|
-
var t, r, s, n, a, i, o = !1, c = e._f.length;
|
|
1449
|
-
if (c === 0) {
|
|
1450
|
-
m(e).invalidFormat = !0, e._d = /* @__PURE__ */ new Date(NaN);
|
|
1451
|
-
return;
|
|
1452
|
-
}
|
|
1453
|
-
for (n = 0; n < c; n++)
|
|
1454
|
-
a = 0, i = !1, t = Rt({}, e), e._useUTC != null && (t._useUTC = e._useUTC), t._f = e._f[n], Zt(t), Nt(t) && (i = !0), a += m(t).charsLeftOver, a += m(t).unusedTokens.length * 10, m(t).score = a, o ? a < s && (s = a, r = t) : (s == null || a < s || i) && (s = a, r = t, i && (o = !0));
|
|
1455
|
-
ne(e, r || t);
|
|
1456
|
-
}
|
|
1457
|
-
function Da(e) {
|
|
1458
|
-
if (!e._d) {
|
|
1459
|
-
var t = At(e._i), r = t.day === void 0 ? t.date : t.day;
|
|
1460
|
-
e._a = _r(
|
|
1461
|
-
[t.year, t.month, r, t.hour, t.minute, t.second, t.millisecond],
|
|
1462
|
-
function(s) {
|
|
1463
|
-
return s && parseInt(s, 10);
|
|
1464
|
-
}
|
|
1465
|
-
), zt(e);
|
|
1466
|
-
}
|
|
1467
|
-
}
|
|
1468
|
-
function Ya(e) {
|
|
1469
|
-
var t = new Ie(jt(Er(e)));
|
|
1470
|
-
return t._nextDay && (t.add(1, "d"), t._nextDay = void 0), t;
|
|
1471
|
-
}
|
|
1472
|
-
function Er(e) {
|
|
1473
|
-
var t = e._i, r = e._f;
|
|
1474
|
-
return e._locale = e._locale || te(e._l), t === null || r === void 0 && t === "" ? rt({ nullInput: !0 }) : (typeof t == "string" && (e._i = t = e._locale.preparse(t)), U(t) ? new Ie(jt(t)) : (Le(t) ? e._d = t : F(r) ? Ma(e) : r ? Zt(e) : Oa(e), Nt(e) || (e._d = null), e));
|
|
1475
|
-
}
|
|
1476
|
-
function Oa(e) {
|
|
1477
|
-
var t = e._i;
|
|
1478
|
-
W(t) ? e._d = new Date(u.now()) : Le(t) ? e._d = new Date(t.valueOf()) : typeof t == "string" ? pa(e) : F(t) ? (e._a = _r(t.slice(0), function(r) {
|
|
1479
|
-
return parseInt(r, 10);
|
|
1480
|
-
}), zt(e)) : ce(t) ? Da(e) : ee(t) ? e._d = new Date(t) : u.createFromInputFallback(e);
|
|
1481
|
-
}
|
|
1482
|
-
function Fr(e, t, r, s, n) {
|
|
1483
|
-
var a = {};
|
|
1484
|
-
return (t === !0 || t === !1) && (s = t, t = void 0), (r === !0 || r === !1) && (s = r, r = void 0), (ce(e) && Pt(e) || F(e) && e.length === 0) && (e = void 0), a._isAMomentObject = !0, a._useUTC = a._isUTC = n, a._l = r, a._i = e, a._f = t, a._strict = s, Ya(a);
|
|
1485
|
-
}
|
|
1486
|
-
function S(e, t, r, s) {
|
|
1487
|
-
return Fr(e, t, r, s, !1);
|
|
1488
|
-
}
|
|
1489
|
-
var ba = L(
|
|
1490
|
-
"moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",
|
|
1491
|
-
function() {
|
|
1492
|
-
var e = S.apply(null, arguments);
|
|
1493
|
-
return this.isValid() && e.isValid() ? e < this ? this : e : rt();
|
|
1494
|
-
}
|
|
1495
|
-
), Ta = L(
|
|
1496
|
-
"moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",
|
|
1497
|
-
function() {
|
|
1498
|
-
var e = S.apply(null, arguments);
|
|
1499
|
-
return this.isValid() && e.isValid() ? e > this ? this : e : rt();
|
|
1500
|
-
}
|
|
1501
|
-
);
|
|
1502
|
-
function Ur(e, t) {
|
|
1503
|
-
var r, s;
|
|
1504
|
-
if (t.length === 1 && F(t[0]) && (t = t[0]), !t.length)
|
|
1505
|
-
return S();
|
|
1506
|
-
for (r = t[0], s = 1; s < t.length; ++s)
|
|
1507
|
-
(!t[s].isValid() || t[s][e](r)) && (r = t[s]);
|
|
1508
|
-
return r;
|
|
1509
|
-
}
|
|
1510
|
-
function xa() {
|
|
1511
|
-
var e = [].slice.call(arguments, 0);
|
|
1512
|
-
return Ur("isBefore", e);
|
|
1513
|
-
}
|
|
1514
|
-
function Pa() {
|
|
1515
|
-
var e = [].slice.call(arguments, 0);
|
|
1516
|
-
return Ur("isAfter", e);
|
|
1517
|
-
}
|
|
1518
|
-
var Na = function() {
|
|
1519
|
-
return Date.now ? Date.now() : +/* @__PURE__ */ new Date();
|
|
1520
|
-
}, Te = [
|
|
1521
|
-
"year",
|
|
1522
|
-
"quarter",
|
|
1523
|
-
"month",
|
|
1524
|
-
"week",
|
|
1525
|
-
"day",
|
|
1526
|
-
"hour",
|
|
1527
|
-
"minute",
|
|
1528
|
-
"second",
|
|
1529
|
-
"millisecond"
|
|
1530
|
-
];
|
|
1531
|
-
function Ra(e) {
|
|
1532
|
-
var t, r = !1, s, n = Te.length;
|
|
1533
|
-
for (t in e)
|
|
1534
|
-
if (g(e, t) && !(D.call(Te, t) !== -1 && (e[t] == null || !isNaN(e[t]))))
|
|
1535
|
-
return !1;
|
|
1536
|
-
for (s = 0; s < n; ++s)
|
|
1537
|
-
if (e[Te[s]]) {
|
|
1538
|
-
if (r)
|
|
1539
|
-
return !1;
|
|
1540
|
-
parseFloat(e[Te[s]]) !== y(e[Te[s]]) && (r = !0);
|
|
1541
|
-
}
|
|
1542
|
-
return !0;
|
|
1543
|
-
}
|
|
1544
|
-
function Wa() {
|
|
1545
|
-
return this._isValid;
|
|
1546
|
-
}
|
|
1547
|
-
function Ca() {
|
|
1548
|
-
return H(NaN);
|
|
1549
|
-
}
|
|
1550
|
-
function dt(e) {
|
|
1551
|
-
var t = At(e), r = t.year || 0, s = t.quarter || 0, n = t.month || 0, a = t.week || t.isoWeek || 0, i = t.day || 0, o = t.hour || 0, c = t.minute || 0, f = t.second || 0, O = t.millisecond || 0;
|
|
1552
|
-
this._isValid = Ra(t), this._milliseconds = +O + f * 1e3 + // 1000
|
|
1553
|
-
c * 6e4 + // 1000 * 60
|
|
1554
|
-
o * 1e3 * 60 * 60, this._days = +i + a * 7, this._months = +n + s * 3 + r * 12, this._data = {}, this._locale = te(), this._bubble();
|
|
1555
|
-
}
|
|
1556
|
-
function Be(e) {
|
|
1557
|
-
return e instanceof dt;
|
|
1558
|
-
}
|
|
1559
|
-
function Yt(e) {
|
|
1560
|
-
return e < 0 ? Math.round(-1 * e) * -1 : Math.round(e);
|
|
1561
|
-
}
|
|
1562
|
-
function Aa(e, t, r) {
|
|
1563
|
-
var s = Math.min(e.length, t.length), n = Math.abs(e.length - t.length), a = 0, i;
|
|
1564
|
-
for (i = 0; i < s; i++)
|
|
1565
|
-
y(e[i]) !== y(t[i]) && a++;
|
|
1566
|
-
return a + n;
|
|
1567
|
-
}
|
|
1568
|
-
function Hr(e, t) {
|
|
1569
|
-
h(e, 0, 0, function() {
|
|
1570
|
-
var r = this.utcOffset(), s = "+";
|
|
1571
|
-
return r < 0 && (r = -r, s = "-"), s + j(~~(r / 60), 2) + t + j(~~r % 60, 2);
|
|
1572
|
-
});
|
|
1573
|
-
}
|
|
1574
|
-
Hr("Z", ":");
|
|
1575
|
-
Hr("ZZ", "");
|
|
1576
|
-
d("Z", ot);
|
|
1577
|
-
d("ZZ", ot);
|
|
1578
|
-
k(["Z", "ZZ"], function(e, t, r) {
|
|
1579
|
-
r._useUTC = !0, r._tzm = Bt(ot, e);
|
|
1580
|
-
});
|
|
1581
|
-
var La = /([\+\-]|\d\d)/gi;
|
|
1582
|
-
function Bt(e, t) {
|
|
1583
|
-
var r = (t || "").match(e), s, n, a;
|
|
1584
|
-
return r === null ? null : (s = r[r.length - 1] || [], n = (s + "").match(La) || ["-", 0, 0], a = +(n[1] * 60) + y(n[2]), a === 0 ? 0 : n[0] === "+" ? a : -a);
|
|
1585
|
-
}
|
|
1586
|
-
function qt(e, t) {
|
|
1587
|
-
var r, s;
|
|
1588
|
-
return t._isUTC ? (r = t.clone(), s = (U(e) || Le(e) ? e.valueOf() : S(e).valueOf()) - r.valueOf(), r._d.setTime(r._d.valueOf() + s), u.updateOffset(r, !1), r) : S(e).local();
|
|
1589
|
-
}
|
|
1590
|
-
function Ot(e) {
|
|
1591
|
-
return -Math.round(e._d.getTimezoneOffset());
|
|
1592
|
-
}
|
|
1593
|
-
u.updateOffset = function() {
|
|
1594
|
-
};
|
|
1595
|
-
function Ia(e, t, r) {
|
|
1596
|
-
var s = this._offset || 0, n;
|
|
1597
|
-
if (!this.isValid())
|
|
1598
|
-
return e != null ? this : NaN;
|
|
1599
|
-
if (e != null) {
|
|
1600
|
-
if (typeof e == "string") {
|
|
1601
|
-
if (e = Bt(ot, e), e === null)
|
|
1602
|
-
return this;
|
|
1603
|
-
} else Math.abs(e) < 16 && !r && (e = e * 60);
|
|
1604
|
-
return !this._isUTC && t && (n = Ot(this)), this._offset = e, this._isUTC = !0, n != null && this.add(n, "m"), s !== e && (!t || this._changeInProgress ? jr(
|
|
1605
|
-
this,
|
|
1606
|
-
H(e - s, "m"),
|
|
1607
|
-
1,
|
|
1608
|
-
!1
|
|
1609
|
-
) : this._changeInProgress || (this._changeInProgress = !0, u.updateOffset(this, !0), this._changeInProgress = null)), this;
|
|
1610
|
-
} else
|
|
1611
|
-
return this._isUTC ? s : Ot(this);
|
|
1612
|
-
}
|
|
1613
|
-
function Ea(e, t) {
|
|
1614
|
-
return e != null ? (typeof e != "string" && (e = -e), this.utcOffset(e, t), this) : -this.utcOffset();
|
|
1615
|
-
}
|
|
1616
|
-
function Fa(e) {
|
|
1617
|
-
return this.utcOffset(0, e);
|
|
1618
|
-
}
|
|
1619
|
-
function Ua(e) {
|
|
1620
|
-
return this._isUTC && (this.utcOffset(0, e), this._isUTC = !1, e && this.subtract(Ot(this), "m")), this;
|
|
1621
|
-
}
|
|
1622
|
-
function Ha() {
|
|
1623
|
-
if (this._tzm != null)
|
|
1624
|
-
this.utcOffset(this._tzm, !1, !0);
|
|
1625
|
-
else if (typeof this._i == "string") {
|
|
1626
|
-
var e = Bt(an, this._i);
|
|
1627
|
-
e != null ? this.utcOffset(e) : this.utcOffset(0, !0);
|
|
1628
|
-
}
|
|
1629
|
-
return this;
|
|
1630
|
-
}
|
|
1631
|
-
function Va(e) {
|
|
1632
|
-
return this.isValid() ? (e = e ? S(e).utcOffset() : 0, (this.utcOffset() - e) % 60 === 0) : !1;
|
|
1633
|
-
}
|
|
1634
|
-
function Ga() {
|
|
1635
|
-
return this.utcOffset() > this.clone().month(0).utcOffset() || this.utcOffset() > this.clone().month(5).utcOffset();
|
|
1636
|
-
}
|
|
1637
|
-
function ja() {
|
|
1638
|
-
if (!W(this._isDSTShifted))
|
|
1639
|
-
return this._isDSTShifted;
|
|
1640
|
-
var e = {}, t;
|
|
1641
|
-
return Rt(e, this), e = Er(e), e._a ? (t = e._isUTC ? z(e._a) : S(e._a), this._isDSTShifted = this.isValid() && Aa(e._a, t.toArray()) > 0) : this._isDSTShifted = !1, this._isDSTShifted;
|
|
1642
|
-
}
|
|
1643
|
-
function za() {
|
|
1644
|
-
return this.isValid() ? !this._isUTC : !1;
|
|
1645
|
-
}
|
|
1646
|
-
function Za() {
|
|
1647
|
-
return this.isValid() ? this._isUTC : !1;
|
|
1648
|
-
}
|
|
1649
|
-
function Vr() {
|
|
1650
|
-
return this.isValid() ? this._isUTC && this._offset === 0 : !1;
|
|
1651
|
-
}
|
|
1652
|
-
var Ba = /^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/, qa = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;
|
|
1653
|
-
function H(e, t) {
|
|
1654
|
-
var r = e, s = null, n, a, i;
|
|
1655
|
-
return Be(e) ? r = {
|
|
1656
|
-
ms: e._milliseconds,
|
|
1657
|
-
d: e._days,
|
|
1658
|
-
M: e._months
|
|
1659
|
-
} : ee(e) || !isNaN(+e) ? (r = {}, t ? r[t] = +e : r.milliseconds = +e) : (s = Ba.exec(e)) ? (n = s[1] === "-" ? -1 : 1, r = {
|
|
1660
|
-
y: 0,
|
|
1661
|
-
d: y(s[V]) * n,
|
|
1662
|
-
h: y(s[T]) * n,
|
|
1663
|
-
m: y(s[E]) * n,
|
|
1664
|
-
s: y(s[K]) * n,
|
|
1665
|
-
ms: y(Yt(s[de] * 1e3)) * n
|
|
1666
|
-
// the millisecond decimal point is included in the match
|
|
1667
|
-
}) : (s = qa.exec(e)) ? (n = s[1] === "-" ? -1 : 1, r = {
|
|
1668
|
-
y: oe(s[2], n),
|
|
1669
|
-
M: oe(s[3], n),
|
|
1670
|
-
w: oe(s[4], n),
|
|
1671
|
-
d: oe(s[5], n),
|
|
1672
|
-
h: oe(s[6], n),
|
|
1673
|
-
m: oe(s[7], n),
|
|
1674
|
-
s: oe(s[8], n)
|
|
1675
|
-
}) : r == null ? r = {} : typeof r == "object" && ("from" in r || "to" in r) && (i = Qa(
|
|
1676
|
-
S(r.from),
|
|
1677
|
-
S(r.to)
|
|
1678
|
-
), r = {}, r.ms = i.milliseconds, r.M = i.months), a = new dt(r), Be(e) && g(e, "_locale") && (a._locale = e._locale), Be(e) && g(e, "_isValid") && (a._isValid = e._isValid), a;
|
|
1679
|
-
}
|
|
1680
|
-
H.fn = dt.prototype;
|
|
1681
|
-
H.invalid = Ca;
|
|
1682
|
-
function oe(e, t) {
|
|
1683
|
-
var r = e && parseFloat(e.replace(",", "."));
|
|
1684
|
-
return (isNaN(r) ? 0 : r) * t;
|
|
1685
|
-
}
|
|
1686
|
-
function or(e, t) {
|
|
1687
|
-
var r = {};
|
|
1688
|
-
return r.months = t.month() - e.month() + (t.year() - e.year()) * 12, e.clone().add(r.months, "M").isAfter(t) && --r.months, r.milliseconds = +t - +e.clone().add(r.months, "M"), r;
|
|
1689
|
-
}
|
|
1690
|
-
function Qa(e, t) {
|
|
1691
|
-
var r;
|
|
1692
|
-
return e.isValid() && t.isValid() ? (t = qt(t, e), e.isBefore(t) ? r = or(e, t) : (r = or(t, e), r.milliseconds = -r.milliseconds, r.months = -r.months), r) : { milliseconds: 0, months: 0 };
|
|
1693
|
-
}
|
|
1694
|
-
function Gr(e, t) {
|
|
1695
|
-
return function(r, s) {
|
|
1696
|
-
var n, a;
|
|
1697
|
-
return s !== null && !isNaN(+s) && (wr(
|
|
1698
|
-
t,
|
|
1699
|
-
"moment()." + t + "(period, number) is deprecated. Please use moment()." + t + "(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."
|
|
1700
|
-
), a = r, r = s, s = a), n = H(r, s), jr(this, n, e), this;
|
|
1701
|
-
};
|
|
1702
|
-
}
|
|
1703
|
-
function jr(e, t, r, s) {
|
|
1704
|
-
var n = t._milliseconds, a = Yt(t._days), i = Yt(t._months);
|
|
1705
|
-
e.isValid() && (s = s ?? !0, i && Tr(e, Re(e, "Month") + i * r), a && Yr(e, "Date", Re(e, "Date") + a * r), n && e._d.setTime(e._d.valueOf() + n * r), s && u.updateOffset(e, a || i));
|
|
1706
|
-
}
|
|
1707
|
-
var Ja = Gr(1, "add"), Ka = Gr(-1, "subtract");
|
|
1708
|
-
function zr(e) {
|
|
1709
|
-
return typeof e == "string" || e instanceof String;
|
|
1710
|
-
}
|
|
1711
|
-
function Xa(e) {
|
|
1712
|
-
return U(e) || Le(e) || zr(e) || ee(e) || ei(e) || $a(e) || e === null || e === void 0;
|
|
1713
|
-
}
|
|
1714
|
-
function $a(e) {
|
|
1715
|
-
var t = ce(e) && !Pt(e), r = !1, s = [
|
|
1716
|
-
"years",
|
|
1717
|
-
"year",
|
|
1718
|
-
"y",
|
|
1719
|
-
"months",
|
|
1720
|
-
"month",
|
|
1721
|
-
"M",
|
|
1722
|
-
"days",
|
|
1723
|
-
"day",
|
|
1724
|
-
"d",
|
|
1725
|
-
"dates",
|
|
1726
|
-
"date",
|
|
1727
|
-
"D",
|
|
1728
|
-
"hours",
|
|
1729
|
-
"hour",
|
|
1730
|
-
"h",
|
|
1731
|
-
"minutes",
|
|
1732
|
-
"minute",
|
|
1733
|
-
"m",
|
|
1734
|
-
"seconds",
|
|
1735
|
-
"second",
|
|
1736
|
-
"s",
|
|
1737
|
-
"milliseconds",
|
|
1738
|
-
"millisecond",
|
|
1739
|
-
"ms"
|
|
1740
|
-
], n, a, i = s.length;
|
|
1741
|
-
for (n = 0; n < i; n += 1)
|
|
1742
|
-
a = s[n], r = r || g(e, a);
|
|
1743
|
-
return t && r;
|
|
1744
|
-
}
|
|
1745
|
-
function ei(e) {
|
|
1746
|
-
var t = F(e), r = !1;
|
|
1747
|
-
return t && (r = e.filter(function(s) {
|
|
1748
|
-
return !ee(s) && zr(e);
|
|
1749
|
-
}).length === 0), t && r;
|
|
1750
|
-
}
|
|
1751
|
-
function ti(e) {
|
|
1752
|
-
var t = ce(e) && !Pt(e), r = !1, s = [
|
|
1753
|
-
"sameDay",
|
|
1754
|
-
"nextDay",
|
|
1755
|
-
"lastDay",
|
|
1756
|
-
"nextWeek",
|
|
1757
|
-
"lastWeek",
|
|
1758
|
-
"sameElse"
|
|
1759
|
-
], n, a;
|
|
1760
|
-
for (n = 0; n < s.length; n += 1)
|
|
1761
|
-
a = s[n], r = r || g(e, a);
|
|
1762
|
-
return t && r;
|
|
1763
|
-
}
|
|
1764
|
-
function ri(e, t) {
|
|
1765
|
-
var r = e.diff(t, "days", !0);
|
|
1766
|
-
return r < -6 ? "sameElse" : r < -1 ? "lastWeek" : r < 0 ? "lastDay" : r < 1 ? "sameDay" : r < 2 ? "nextDay" : r < 7 ? "nextWeek" : "sameElse";
|
|
1767
|
-
}
|
|
1768
|
-
function si(e, t) {
|
|
1769
|
-
arguments.length === 1 && (arguments[0] ? Xa(arguments[0]) ? (e = arguments[0], t = void 0) : ti(arguments[0]) && (t = arguments[0], e = void 0) : (e = void 0, t = void 0));
|
|
1770
|
-
var r = e || S(), s = qt(r, this).startOf("day"), n = u.calendarFormat(this, s) || "sameElse", a = t && (Z(t[n]) ? t[n].call(this, r) : t[n]);
|
|
1771
|
-
return this.format(
|
|
1772
|
-
a || this.localeData().calendar(n, this, S(r))
|
|
1773
|
-
);
|
|
1774
|
-
}
|
|
1775
|
-
function ni() {
|
|
1776
|
-
return new Ie(this);
|
|
1777
|
-
}
|
|
1778
|
-
function ai(e, t) {
|
|
1779
|
-
var r = U(e) ? e : S(e);
|
|
1780
|
-
return this.isValid() && r.isValid() ? (t = I(t) || "millisecond", t === "millisecond" ? this.valueOf() > r.valueOf() : r.valueOf() < this.clone().startOf(t).valueOf()) : !1;
|
|
1781
|
-
}
|
|
1782
|
-
function ii(e, t) {
|
|
1783
|
-
var r = U(e) ? e : S(e);
|
|
1784
|
-
return this.isValid() && r.isValid() ? (t = I(t) || "millisecond", t === "millisecond" ? this.valueOf() < r.valueOf() : this.clone().endOf(t).valueOf() < r.valueOf()) : !1;
|
|
1785
|
-
}
|
|
1786
|
-
function oi(e, t, r, s) {
|
|
1787
|
-
var n = U(e) ? e : S(e), a = U(t) ? t : S(t);
|
|
1788
|
-
return this.isValid() && n.isValid() && a.isValid() ? (s = s || "()", (s[0] === "(" ? this.isAfter(n, r) : !this.isBefore(n, r)) && (s[1] === ")" ? this.isBefore(a, r) : !this.isAfter(a, r))) : !1;
|
|
1789
|
-
}
|
|
1790
|
-
function li(e, t) {
|
|
1791
|
-
var r = U(e) ? e : S(e), s;
|
|
1792
|
-
return this.isValid() && r.isValid() ? (t = I(t) || "millisecond", t === "millisecond" ? this.valueOf() === r.valueOf() : (s = r.valueOf(), this.clone().startOf(t).valueOf() <= s && s <= this.clone().endOf(t).valueOf())) : !1;
|
|
1793
|
-
}
|
|
1794
|
-
function ui(e, t) {
|
|
1795
|
-
return this.isSame(e, t) || this.isAfter(e, t);
|
|
1796
|
-
}
|
|
1797
|
-
function di(e, t) {
|
|
1798
|
-
return this.isSame(e, t) || this.isBefore(e, t);
|
|
1799
|
-
}
|
|
1800
|
-
function ci(e, t, r) {
|
|
1801
|
-
var s, n, a;
|
|
1802
|
-
if (!this.isValid())
|
|
1803
|
-
return NaN;
|
|
1804
|
-
if (s = qt(e, this), !s.isValid())
|
|
1805
|
-
return NaN;
|
|
1806
|
-
switch (n = (s.utcOffset() - this.utcOffset()) * 6e4, t = I(t), t) {
|
|
1807
|
-
case "year":
|
|
1808
|
-
a = qe(this, s) / 12;
|
|
1809
|
-
break;
|
|
1810
|
-
case "month":
|
|
1811
|
-
a = qe(this, s);
|
|
1812
|
-
break;
|
|
1813
|
-
case "quarter":
|
|
1814
|
-
a = qe(this, s) / 3;
|
|
1815
|
-
break;
|
|
1816
|
-
case "second":
|
|
1817
|
-
a = (this - s) / 1e3;
|
|
1818
|
-
break;
|
|
1819
|
-
// 1000
|
|
1820
|
-
case "minute":
|
|
1821
|
-
a = (this - s) / 6e4;
|
|
1822
|
-
break;
|
|
1823
|
-
// 1000 * 60
|
|
1824
|
-
case "hour":
|
|
1825
|
-
a = (this - s) / 36e5;
|
|
1826
|
-
break;
|
|
1827
|
-
// 1000 * 60 * 60
|
|
1828
|
-
case "day":
|
|
1829
|
-
a = (this - s - n) / 864e5;
|
|
1830
|
-
break;
|
|
1831
|
-
// 1000 * 60 * 60 * 24, negate dst
|
|
1832
|
-
case "week":
|
|
1833
|
-
a = (this - s - n) / 6048e5;
|
|
1834
|
-
break;
|
|
1835
|
-
// 1000 * 60 * 60 * 24 * 7, negate dst
|
|
1836
|
-
default:
|
|
1837
|
-
a = this - s;
|
|
1838
|
-
}
|
|
1839
|
-
return r ? a : A(a);
|
|
1840
|
-
}
|
|
1841
|
-
function qe(e, t) {
|
|
1842
|
-
if (e.date() < t.date())
|
|
1843
|
-
return -qe(t, e);
|
|
1844
|
-
var r = (t.year() - e.year()) * 12 + (t.month() - e.month()), s = e.clone().add(r, "months"), n, a;
|
|
1845
|
-
return t - s < 0 ? (n = e.clone().add(r - 1, "months"), a = (t - s) / (s - n)) : (n = e.clone().add(r + 1, "months"), a = (t - s) / (n - s)), -(r + a) || 0;
|
|
1846
|
-
}
|
|
1847
|
-
u.defaultFormat = "YYYY-MM-DDTHH:mm:ssZ";
|
|
1848
|
-
u.defaultFormatUtc = "YYYY-MM-DDTHH:mm:ss[Z]";
|
|
1849
|
-
function hi() {
|
|
1850
|
-
return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ");
|
|
1851
|
-
}
|
|
1852
|
-
function fi(e) {
|
|
1853
|
-
if (!this.isValid())
|
|
1854
|
-
return null;
|
|
1855
|
-
var t = e !== !0, r = t ? this.clone().utc() : this;
|
|
1856
|
-
return r.year() < 0 || r.year() > 9999 ? Ze(
|
|
1857
|
-
r,
|
|
1858
|
-
t ? "YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]" : "YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"
|
|
1859
|
-
) : Z(Date.prototype.toISOString) ? t ? this.toDate().toISOString() : new Date(this.valueOf() + this.utcOffset() * 60 * 1e3).toISOString().replace("Z", Ze(r, "Z")) : Ze(
|
|
1860
|
-
r,
|
|
1861
|
-
t ? "YYYY-MM-DD[T]HH:mm:ss.SSS[Z]" : "YYYY-MM-DD[T]HH:mm:ss.SSSZ"
|
|
1862
|
-
);
|
|
1863
|
-
}
|
|
1864
|
-
function mi() {
|
|
1865
|
-
if (!this.isValid())
|
|
1866
|
-
return "moment.invalid(/* " + this._i + " */)";
|
|
1867
|
-
var e = "moment", t = "", r, s, n, a;
|
|
1868
|
-
return this.isLocal() || (e = this.utcOffset() === 0 ? "moment.utc" : "moment.parseZone", t = "Z"), r = "[" + e + '("]', s = 0 <= this.year() && this.year() <= 9999 ? "YYYY" : "YYYYYY", n = "-MM-DD[T]HH:mm:ss.SSS", a = t + '[")]', this.format(r + s + n + a);
|
|
1869
|
-
}
|
|
1870
|
-
function yi(e) {
|
|
1871
|
-
e || (e = this.isUtc() ? u.defaultFormatUtc : u.defaultFormat);
|
|
1872
|
-
var t = Ze(this, e);
|
|
1873
|
-
return this.localeData().postformat(t);
|
|
1874
|
-
}
|
|
1875
|
-
function _i(e, t) {
|
|
1876
|
-
return this.isValid() && (U(e) && e.isValid() || S(e).isValid()) ? H({ to: this, from: e }).locale(this.locale()).humanize(!t) : this.localeData().invalidDate();
|
|
1877
|
-
}
|
|
1878
|
-
function gi(e) {
|
|
1879
|
-
return this.from(S(), e);
|
|
1880
|
-
}
|
|
1881
|
-
function wi(e, t) {
|
|
1882
|
-
return this.isValid() && (U(e) && e.isValid() || S(e).isValid()) ? H({ from: this, to: e }).locale(this.locale()).humanize(!t) : this.localeData().invalidDate();
|
|
1883
|
-
}
|
|
1884
|
-
function pi(e) {
|
|
1885
|
-
return this.to(S(), e);
|
|
1886
|
-
}
|
|
1887
|
-
function Zr(e) {
|
|
1888
|
-
var t;
|
|
1889
|
-
return e === void 0 ? this._locale._abbr : (t = te(e), t != null && (this._locale = t), this);
|
|
1890
|
-
}
|
|
1891
|
-
var Br = L(
|
|
1892
|
-
"moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",
|
|
1893
|
-
function(e) {
|
|
1894
|
-
return e === void 0 ? this.localeData() : this.locale(e);
|
|
1895
|
-
}
|
|
1896
|
-
);
|
|
1897
|
-
function qr() {
|
|
1898
|
-
return this._locale;
|
|
1899
|
-
}
|
|
1900
|
-
var Xe = 1e3, ge = 60 * Xe, $e = 60 * ge, Qr = (365 * 400 + 97) * 24 * $e;
|
|
1901
|
-
function we(e, t) {
|
|
1902
|
-
return (e % t + t) % t;
|
|
1903
|
-
}
|
|
1904
|
-
function Jr(e, t, r) {
|
|
1905
|
-
return e < 100 && e >= 0 ? new Date(e + 400, t, r) - Qr : new Date(e, t, r).valueOf();
|
|
1906
|
-
}
|
|
1907
|
-
function Kr(e, t, r) {
|
|
1908
|
-
return e < 100 && e >= 0 ? Date.UTC(e + 400, t, r) - Qr : Date.UTC(e, t, r);
|
|
1909
|
-
}
|
|
1910
|
-
function ki(e) {
|
|
1911
|
-
var t, r;
|
|
1912
|
-
if (e = I(e), e === void 0 || e === "millisecond" || !this.isValid())
|
|
1913
|
-
return this;
|
|
1914
|
-
switch (r = this._isUTC ? Kr : Jr, e) {
|
|
1915
|
-
case "year":
|
|
1916
|
-
t = r(this.year(), 0, 1);
|
|
1917
|
-
break;
|
|
1918
|
-
case "quarter":
|
|
1919
|
-
t = r(
|
|
1920
|
-
this.year(),
|
|
1921
|
-
this.month() - this.month() % 3,
|
|
1922
|
-
1
|
|
1923
|
-
);
|
|
1924
|
-
break;
|
|
1925
|
-
case "month":
|
|
1926
|
-
t = r(this.year(), this.month(), 1);
|
|
1927
|
-
break;
|
|
1928
|
-
case "week":
|
|
1929
|
-
t = r(
|
|
1930
|
-
this.year(),
|
|
1931
|
-
this.month(),
|
|
1932
|
-
this.date() - this.weekday()
|
|
1933
|
-
);
|
|
1934
|
-
break;
|
|
1935
|
-
case "isoWeek":
|
|
1936
|
-
t = r(
|
|
1937
|
-
this.year(),
|
|
1938
|
-
this.month(),
|
|
1939
|
-
this.date() - (this.isoWeekday() - 1)
|
|
1940
|
-
);
|
|
1941
|
-
break;
|
|
1942
|
-
case "day":
|
|
1943
|
-
case "date":
|
|
1944
|
-
t = r(this.year(), this.month(), this.date());
|
|
1945
|
-
break;
|
|
1946
|
-
case "hour":
|
|
1947
|
-
t = this._d.valueOf(), t -= we(
|
|
1948
|
-
t + (this._isUTC ? 0 : this.utcOffset() * ge),
|
|
1949
|
-
$e
|
|
1950
|
-
);
|
|
1951
|
-
break;
|
|
1952
|
-
case "minute":
|
|
1953
|
-
t = this._d.valueOf(), t -= we(t, ge);
|
|
1954
|
-
break;
|
|
1955
|
-
case "second":
|
|
1956
|
-
t = this._d.valueOf(), t -= we(t, Xe);
|
|
1957
|
-
break;
|
|
1958
|
-
}
|
|
1959
|
-
return this._d.setTime(t), u.updateOffset(this, !0), this;
|
|
1960
|
-
}
|
|
1961
|
-
function Si(e) {
|
|
1962
|
-
var t, r;
|
|
1963
|
-
if (e = I(e), e === void 0 || e === "millisecond" || !this.isValid())
|
|
1964
|
-
return this;
|
|
1965
|
-
switch (r = this._isUTC ? Kr : Jr, e) {
|
|
1966
|
-
case "year":
|
|
1967
|
-
t = r(this.year() + 1, 0, 1) - 1;
|
|
1968
|
-
break;
|
|
1969
|
-
case "quarter":
|
|
1970
|
-
t = r(
|
|
1971
|
-
this.year(),
|
|
1972
|
-
this.month() - this.month() % 3 + 3,
|
|
1973
|
-
1
|
|
1974
|
-
) - 1;
|
|
1975
|
-
break;
|
|
1976
|
-
case "month":
|
|
1977
|
-
t = r(this.year(), this.month() + 1, 1) - 1;
|
|
1978
|
-
break;
|
|
1979
|
-
case "week":
|
|
1980
|
-
t = r(
|
|
1981
|
-
this.year(),
|
|
1982
|
-
this.month(),
|
|
1983
|
-
this.date() - this.weekday() + 7
|
|
1984
|
-
) - 1;
|
|
1985
|
-
break;
|
|
1986
|
-
case "isoWeek":
|
|
1987
|
-
t = r(
|
|
1988
|
-
this.year(),
|
|
1989
|
-
this.month(),
|
|
1990
|
-
this.date() - (this.isoWeekday() - 1) + 7
|
|
1991
|
-
) - 1;
|
|
1992
|
-
break;
|
|
1993
|
-
case "day":
|
|
1994
|
-
case "date":
|
|
1995
|
-
t = r(this.year(), this.month(), this.date() + 1) - 1;
|
|
1996
|
-
break;
|
|
1997
|
-
case "hour":
|
|
1998
|
-
t = this._d.valueOf(), t += $e - we(
|
|
1999
|
-
t + (this._isUTC ? 0 : this.utcOffset() * ge),
|
|
2000
|
-
$e
|
|
2001
|
-
) - 1;
|
|
2002
|
-
break;
|
|
2003
|
-
case "minute":
|
|
2004
|
-
t = this._d.valueOf(), t += ge - we(t, ge) - 1;
|
|
2005
|
-
break;
|
|
2006
|
-
case "second":
|
|
2007
|
-
t = this._d.valueOf(), t += Xe - we(t, Xe) - 1;
|
|
2008
|
-
break;
|
|
2009
|
-
}
|
|
2010
|
-
return this._d.setTime(t), u.updateOffset(this, !0), this;
|
|
2011
|
-
}
|
|
2012
|
-
function vi() {
|
|
2013
|
-
return this._d.valueOf() - (this._offset || 0) * 6e4;
|
|
2014
|
-
}
|
|
2015
|
-
function Mi() {
|
|
2016
|
-
return Math.floor(this.valueOf() / 1e3);
|
|
2017
|
-
}
|
|
2018
|
-
function Di() {
|
|
2019
|
-
return new Date(this.valueOf());
|
|
2020
|
-
}
|
|
2021
|
-
function Yi() {
|
|
2022
|
-
var e = this;
|
|
2023
|
-
return [
|
|
2024
|
-
e.year(),
|
|
2025
|
-
e.month(),
|
|
2026
|
-
e.date(),
|
|
2027
|
-
e.hour(),
|
|
2028
|
-
e.minute(),
|
|
2029
|
-
e.second(),
|
|
2030
|
-
e.millisecond()
|
|
2031
|
-
];
|
|
2032
|
-
}
|
|
2033
|
-
function Oi() {
|
|
2034
|
-
var e = this;
|
|
2035
|
-
return {
|
|
2036
|
-
years: e.year(),
|
|
2037
|
-
months: e.month(),
|
|
2038
|
-
date: e.date(),
|
|
2039
|
-
hours: e.hours(),
|
|
2040
|
-
minutes: e.minutes(),
|
|
2041
|
-
seconds: e.seconds(),
|
|
2042
|
-
milliseconds: e.milliseconds()
|
|
2043
|
-
};
|
|
2044
|
-
}
|
|
2045
|
-
function bi() {
|
|
2046
|
-
return this.isValid() ? this.toISOString() : null;
|
|
2047
|
-
}
|
|
2048
|
-
function Ti() {
|
|
2049
|
-
return Nt(this);
|
|
2050
|
-
}
|
|
2051
|
-
function xi() {
|
|
2052
|
-
return ne({}, m(this));
|
|
2053
|
-
}
|
|
2054
|
-
function Pi() {
|
|
2055
|
-
return m(this).overflow;
|
|
2056
|
-
}
|
|
2057
|
-
function Ni() {
|
|
2058
|
-
return {
|
|
2059
|
-
input: this._i,
|
|
2060
|
-
format: this._f,
|
|
2061
|
-
locale: this._locale,
|
|
2062
|
-
isUTC: this._isUTC,
|
|
2063
|
-
strict: this._strict
|
|
2064
|
-
};
|
|
2065
|
-
}
|
|
2066
|
-
h("N", 0, 0, "eraAbbr");
|
|
2067
|
-
h("NN", 0, 0, "eraAbbr");
|
|
2068
|
-
h("NNN", 0, 0, "eraAbbr");
|
|
2069
|
-
h("NNNN", 0, 0, "eraName");
|
|
2070
|
-
h("NNNNN", 0, 0, "eraNarrow");
|
|
2071
|
-
h("y", ["y", 1], "yo", "eraYear");
|
|
2072
|
-
h("y", ["yy", 2], 0, "eraYear");
|
|
2073
|
-
h("y", ["yyy", 3], 0, "eraYear");
|
|
2074
|
-
h("y", ["yyyy", 4], 0, "eraYear");
|
|
2075
|
-
d("N", Qt);
|
|
2076
|
-
d("NN", Qt);
|
|
2077
|
-
d("NNN", Qt);
|
|
2078
|
-
d("NNNN", Vi);
|
|
2079
|
-
d("NNNNN", Gi);
|
|
2080
|
-
k(
|
|
2081
|
-
["N", "NN", "NNN", "NNNN", "NNNNN"],
|
|
2082
|
-
function(e, t, r, s) {
|
|
2083
|
-
var n = r._locale.erasParse(e, s, r._strict);
|
|
2084
|
-
n ? m(r).era = n : m(r).invalidEra = e;
|
|
2085
|
-
}
|
|
2086
|
-
);
|
|
2087
|
-
d("y", Se);
|
|
2088
|
-
d("yy", Se);
|
|
2089
|
-
d("yyy", Se);
|
|
2090
|
-
d("yyyy", Se);
|
|
2091
|
-
d("yo", ji);
|
|
2092
|
-
k(["y", "yy", "yyy", "yyyy"], N);
|
|
2093
|
-
k(["yo"], function(e, t, r, s) {
|
|
2094
|
-
var n;
|
|
2095
|
-
r._locale._eraYearOrdinalRegex && (n = e.match(r._locale._eraYearOrdinalRegex)), r._locale.eraYearOrdinalParse ? t[N] = r._locale.eraYearOrdinalParse(e, n) : t[N] = parseInt(e, 10);
|
|
2096
|
-
});
|
|
2097
|
-
function Ri(e, t) {
|
|
2098
|
-
var r, s, n, a = this._eras || te("en")._eras;
|
|
2099
|
-
for (r = 0, s = a.length; r < s; ++r) {
|
|
2100
|
-
switch (typeof a[r].since) {
|
|
2101
|
-
case "string":
|
|
2102
|
-
n = u(a[r].since).startOf("day"), a[r].since = n.valueOf();
|
|
2103
|
-
break;
|
|
2104
|
-
}
|
|
2105
|
-
switch (typeof a[r].until) {
|
|
2106
|
-
case "undefined":
|
|
2107
|
-
a[r].until = 1 / 0;
|
|
2108
|
-
break;
|
|
2109
|
-
case "string":
|
|
2110
|
-
n = u(a[r].until).startOf("day").valueOf(), a[r].until = n.valueOf();
|
|
2111
|
-
break;
|
|
2112
|
-
}
|
|
2113
|
-
}
|
|
2114
|
-
return a;
|
|
2115
|
-
}
|
|
2116
|
-
function Wi(e, t, r) {
|
|
2117
|
-
var s, n, a = this.eras(), i, o, c;
|
|
2118
|
-
for (e = e.toUpperCase(), s = 0, n = a.length; s < n; ++s)
|
|
2119
|
-
if (i = a[s].name.toUpperCase(), o = a[s].abbr.toUpperCase(), c = a[s].narrow.toUpperCase(), r)
|
|
2120
|
-
switch (t) {
|
|
2121
|
-
case "N":
|
|
2122
|
-
case "NN":
|
|
2123
|
-
case "NNN":
|
|
2124
|
-
if (o === e)
|
|
2125
|
-
return a[s];
|
|
2126
|
-
break;
|
|
2127
|
-
case "NNNN":
|
|
2128
|
-
if (i === e)
|
|
2129
|
-
return a[s];
|
|
2130
|
-
break;
|
|
2131
|
-
case "NNNNN":
|
|
2132
|
-
if (c === e)
|
|
2133
|
-
return a[s];
|
|
2134
|
-
break;
|
|
2135
|
-
}
|
|
2136
|
-
else if ([i, o, c].indexOf(e) >= 0)
|
|
2137
|
-
return a[s];
|
|
2138
|
-
}
|
|
2139
|
-
function Ci(e, t) {
|
|
2140
|
-
var r = e.since <= e.until ? 1 : -1;
|
|
2141
|
-
return t === void 0 ? u(e.since).year() : u(e.since).year() + (t - e.offset) * r;
|
|
2142
|
-
}
|
|
2143
|
-
function Ai() {
|
|
2144
|
-
var e, t, r, s = this.localeData().eras();
|
|
2145
|
-
for (e = 0, t = s.length; e < t; ++e)
|
|
2146
|
-
if (r = this.clone().startOf("day").valueOf(), s[e].since <= r && r <= s[e].until || s[e].until <= r && r <= s[e].since)
|
|
2147
|
-
return s[e].name;
|
|
2148
|
-
return "";
|
|
2149
|
-
}
|
|
2150
|
-
function Li() {
|
|
2151
|
-
var e, t, r, s = this.localeData().eras();
|
|
2152
|
-
for (e = 0, t = s.length; e < t; ++e)
|
|
2153
|
-
if (r = this.clone().startOf("day").valueOf(), s[e].since <= r && r <= s[e].until || s[e].until <= r && r <= s[e].since)
|
|
2154
|
-
return s[e].narrow;
|
|
2155
|
-
return "";
|
|
2156
|
-
}
|
|
2157
|
-
function Ii() {
|
|
2158
|
-
var e, t, r, s = this.localeData().eras();
|
|
2159
|
-
for (e = 0, t = s.length; e < t; ++e)
|
|
2160
|
-
if (r = this.clone().startOf("day").valueOf(), s[e].since <= r && r <= s[e].until || s[e].until <= r && r <= s[e].since)
|
|
2161
|
-
return s[e].abbr;
|
|
2162
|
-
return "";
|
|
2163
|
-
}
|
|
2164
|
-
function Ei() {
|
|
2165
|
-
var e, t, r, s, n = this.localeData().eras();
|
|
2166
|
-
for (e = 0, t = n.length; e < t; ++e)
|
|
2167
|
-
if (r = n[e].since <= n[e].until ? 1 : -1, s = this.clone().startOf("day").valueOf(), n[e].since <= s && s <= n[e].until || n[e].until <= s && s <= n[e].since)
|
|
2168
|
-
return (this.year() - u(n[e].since).year()) * r + n[e].offset;
|
|
2169
|
-
return this.year();
|
|
2170
|
-
}
|
|
2171
|
-
function Fi(e) {
|
|
2172
|
-
return g(this, "_erasNameRegex") || Jt.call(this), e ? this._erasNameRegex : this._erasRegex;
|
|
2173
|
-
}
|
|
2174
|
-
function Ui(e) {
|
|
2175
|
-
return g(this, "_erasAbbrRegex") || Jt.call(this), e ? this._erasAbbrRegex : this._erasRegex;
|
|
2176
|
-
}
|
|
2177
|
-
function Hi(e) {
|
|
2178
|
-
return g(this, "_erasNarrowRegex") || Jt.call(this), e ? this._erasNarrowRegex : this._erasRegex;
|
|
2179
|
-
}
|
|
2180
|
-
function Qt(e, t) {
|
|
2181
|
-
return t.erasAbbrRegex(e);
|
|
2182
|
-
}
|
|
2183
|
-
function Vi(e, t) {
|
|
2184
|
-
return t.erasNameRegex(e);
|
|
2185
|
-
}
|
|
2186
|
-
function Gi(e, t) {
|
|
2187
|
-
return t.erasNarrowRegex(e);
|
|
2188
|
-
}
|
|
2189
|
-
function ji(e, t) {
|
|
2190
|
-
return t._eraYearOrdinalRegex || Se;
|
|
2191
|
-
}
|
|
2192
|
-
function Jt() {
|
|
2193
|
-
var e = [], t = [], r = [], s = [], n, a, i, o, c, f = this.eras();
|
|
2194
|
-
for (n = 0, a = f.length; n < a; ++n)
|
|
2195
|
-
i = X(f[n].name), o = X(f[n].abbr), c = X(f[n].narrow), t.push(i), e.push(o), r.push(c), s.push(i), s.push(o), s.push(c);
|
|
2196
|
-
this._erasRegex = new RegExp("^(" + s.join("|") + ")", "i"), this._erasNameRegex = new RegExp("^(" + t.join("|") + ")", "i"), this._erasAbbrRegex = new RegExp("^(" + e.join("|") + ")", "i"), this._erasNarrowRegex = new RegExp(
|
|
2197
|
-
"^(" + r.join("|") + ")",
|
|
2198
|
-
"i"
|
|
2199
|
-
);
|
|
2200
|
-
}
|
|
2201
|
-
h(0, ["gg", 2], 0, function() {
|
|
2202
|
-
return this.weekYear() % 100;
|
|
2203
|
-
});
|
|
2204
|
-
h(0, ["GG", 2], 0, function() {
|
|
2205
|
-
return this.isoWeekYear() % 100;
|
|
2206
|
-
});
|
|
2207
|
-
function ct(e, t) {
|
|
2208
|
-
h(0, [e, e.length], 0, t);
|
|
2209
|
-
}
|
|
2210
|
-
ct("gggg", "weekYear");
|
|
2211
|
-
ct("ggggg", "weekYear");
|
|
2212
|
-
ct("GGGG", "isoWeekYear");
|
|
2213
|
-
ct("GGGGG", "isoWeekYear");
|
|
2214
|
-
d("G", it);
|
|
2215
|
-
d("g", it);
|
|
2216
|
-
d("GG", v, C);
|
|
2217
|
-
d("gg", v, C);
|
|
2218
|
-
d("GGGG", It, Lt);
|
|
2219
|
-
d("gggg", It, Lt);
|
|
2220
|
-
d("GGGGG", at, st);
|
|
2221
|
-
d("ggggg", at, st);
|
|
2222
|
-
Fe(
|
|
2223
|
-
["gggg", "ggggg", "GGGG", "GGGGG"],
|
|
2224
|
-
function(e, t, r, s) {
|
|
2225
|
-
t[s.substr(0, 2)] = y(e);
|
|
2226
|
-
}
|
|
2227
|
-
);
|
|
2228
|
-
Fe(["gg", "GG"], function(e, t, r, s) {
|
|
2229
|
-
t[s] = u.parseTwoDigitYear(e);
|
|
2230
|
-
});
|
|
2231
|
-
function zi(e) {
|
|
2232
|
-
return Xr.call(
|
|
2233
|
-
this,
|
|
2234
|
-
e,
|
|
2235
|
-
this.week(),
|
|
2236
|
-
this.weekday() + this.localeData()._week.dow,
|
|
2237
|
-
this.localeData()._week.dow,
|
|
2238
|
-
this.localeData()._week.doy
|
|
2239
|
-
);
|
|
2240
|
-
}
|
|
2241
|
-
function Zi(e) {
|
|
2242
|
-
return Xr.call(
|
|
2243
|
-
this,
|
|
2244
|
-
e,
|
|
2245
|
-
this.isoWeek(),
|
|
2246
|
-
this.isoWeekday(),
|
|
2247
|
-
1,
|
|
2248
|
-
4
|
|
2249
|
-
);
|
|
2250
|
-
}
|
|
2251
|
-
function Bi() {
|
|
2252
|
-
return $(this.year(), 1, 4);
|
|
2253
|
-
}
|
|
2254
|
-
function qi() {
|
|
2255
|
-
return $(this.isoWeekYear(), 1, 4);
|
|
2256
|
-
}
|
|
2257
|
-
function Qi() {
|
|
2258
|
-
var e = this.localeData()._week;
|
|
2259
|
-
return $(this.year(), e.dow, e.doy);
|
|
2260
|
-
}
|
|
2261
|
-
function Ji() {
|
|
2262
|
-
var e = this.localeData()._week;
|
|
2263
|
-
return $(this.weekYear(), e.dow, e.doy);
|
|
2264
|
-
}
|
|
2265
|
-
function Xr(e, t, r, s, n) {
|
|
2266
|
-
var a;
|
|
2267
|
-
return e == null ? Ce(this, s, n).year : (a = $(e, s, n), t > a && (t = a), Ki.call(this, e, t, r, s, n));
|
|
2268
|
-
}
|
|
2269
|
-
function Ki(e, t, r, s, n) {
|
|
2270
|
-
var a = Nr(e, t, r, s, n), i = We(a.year, 0, a.dayOfYear);
|
|
2271
|
-
return this.year(i.getUTCFullYear()), this.month(i.getUTCMonth()), this.date(i.getUTCDate()), this;
|
|
2272
|
-
}
|
|
2273
|
-
h("Q", 0, "Qo", "quarter");
|
|
2274
|
-
d("Q", kr);
|
|
2275
|
-
k("Q", function(e, t) {
|
|
2276
|
-
t[J] = (y(e) - 1) * 3;
|
|
2277
|
-
});
|
|
2278
|
-
function Xi(e) {
|
|
2279
|
-
return e == null ? Math.ceil((this.month() + 1) / 3) : this.month((e - 1) * 3 + this.month() % 3);
|
|
2280
|
-
}
|
|
2281
|
-
h("D", ["DD", 2], "Do", "date");
|
|
2282
|
-
d("D", v, ve);
|
|
2283
|
-
d("DD", v, C);
|
|
2284
|
-
d("Do", function(e, t) {
|
|
2285
|
-
return e ? t._dayOfMonthOrdinalParse || t._ordinalParse : t._dayOfMonthOrdinalParseLenient;
|
|
2286
|
-
});
|
|
2287
|
-
k(["D", "DD"], V);
|
|
2288
|
-
k("Do", function(e, t) {
|
|
2289
|
-
t[V] = y(e.match(v)[0]);
|
|
2290
|
-
});
|
|
2291
|
-
var $r = Me("Date", !0);
|
|
2292
|
-
h("DDD", ["DDDD", 3], "DDDo", "dayOfYear");
|
|
2293
|
-
d("DDD", nt);
|
|
2294
|
-
d("DDDD", Sr);
|
|
2295
|
-
k(["DDD", "DDDD"], function(e, t, r) {
|
|
2296
|
-
r._dayOfYear = y(e);
|
|
2297
|
-
});
|
|
2298
|
-
function $i(e) {
|
|
2299
|
-
var t = Math.round(
|
|
2300
|
-
(this.clone().startOf("day") - this.clone().startOf("year")) / 864e5
|
|
2301
|
-
) + 1;
|
|
2302
|
-
return e == null ? t : this.add(e - t, "d");
|
|
2303
|
-
}
|
|
2304
|
-
h("m", ["mm", 2], 0, "minute");
|
|
2305
|
-
d("m", v, Et);
|
|
2306
|
-
d("mm", v, C);
|
|
2307
|
-
k(["m", "mm"], E);
|
|
2308
|
-
var eo = Me("Minutes", !1);
|
|
2309
|
-
h("s", ["ss", 2], 0, "second");
|
|
2310
|
-
d("s", v, Et);
|
|
2311
|
-
d("ss", v, C);
|
|
2312
|
-
k(["s", "ss"], K);
|
|
2313
|
-
var to = Me("Seconds", !1);
|
|
2314
|
-
h("S", 0, 0, function() {
|
|
2315
|
-
return ~~(this.millisecond() / 100);
|
|
2316
|
-
});
|
|
2317
|
-
h(0, ["SS", 2], 0, function() {
|
|
2318
|
-
return ~~(this.millisecond() / 10);
|
|
2319
|
-
});
|
|
2320
|
-
h(0, ["SSS", 3], 0, "millisecond");
|
|
2321
|
-
h(0, ["SSSS", 4], 0, function() {
|
|
2322
|
-
return this.millisecond() * 10;
|
|
2323
|
-
});
|
|
2324
|
-
h(0, ["SSSSS", 5], 0, function() {
|
|
2325
|
-
return this.millisecond() * 100;
|
|
2326
|
-
});
|
|
2327
|
-
h(0, ["SSSSSS", 6], 0, function() {
|
|
2328
|
-
return this.millisecond() * 1e3;
|
|
2329
|
-
});
|
|
2330
|
-
h(0, ["SSSSSSS", 7], 0, function() {
|
|
2331
|
-
return this.millisecond() * 1e4;
|
|
2332
|
-
});
|
|
2333
|
-
h(0, ["SSSSSSSS", 8], 0, function() {
|
|
2334
|
-
return this.millisecond() * 1e5;
|
|
2335
|
-
});
|
|
2336
|
-
h(0, ["SSSSSSSSS", 9], 0, function() {
|
|
2337
|
-
return this.millisecond() * 1e6;
|
|
2338
|
-
});
|
|
2339
|
-
d("S", nt, kr);
|
|
2340
|
-
d("SS", nt, C);
|
|
2341
|
-
d("SSS", nt, Sr);
|
|
2342
|
-
var ae, es;
|
|
2343
|
-
for (ae = "SSSS"; ae.length <= 9; ae += "S")
|
|
2344
|
-
d(ae, Se);
|
|
2345
|
-
function ro(e, t) {
|
|
2346
|
-
t[de] = y(("0." + e) * 1e3);
|
|
2347
|
-
}
|
|
2348
|
-
for (ae = "S"; ae.length <= 9; ae += "S")
|
|
2349
|
-
k(ae, ro);
|
|
2350
|
-
es = Me("Milliseconds", !1);
|
|
2351
|
-
h("z", 0, 0, "zoneAbbr");
|
|
2352
|
-
h("zz", 0, 0, "zoneName");
|
|
2353
|
-
function so() {
|
|
2354
|
-
return this._isUTC ? "UTC" : "";
|
|
2355
|
-
}
|
|
2356
|
-
function no() {
|
|
2357
|
-
return this._isUTC ? "Coordinated Universal Time" : "";
|
|
2358
|
-
}
|
|
2359
|
-
var l = Ie.prototype;
|
|
2360
|
-
l.add = Ja;
|
|
2361
|
-
l.calendar = si;
|
|
2362
|
-
l.clone = ni;
|
|
2363
|
-
l.diff = ci;
|
|
2364
|
-
l.endOf = Si;
|
|
2365
|
-
l.format = yi;
|
|
2366
|
-
l.from = _i;
|
|
2367
|
-
l.fromNow = gi;
|
|
2368
|
-
l.to = wi;
|
|
2369
|
-
l.toNow = pi;
|
|
2370
|
-
l.get = mn;
|
|
2371
|
-
l.invalidAt = Pi;
|
|
2372
|
-
l.isAfter = ai;
|
|
2373
|
-
l.isBefore = ii;
|
|
2374
|
-
l.isBetween = oi;
|
|
2375
|
-
l.isSame = li;
|
|
2376
|
-
l.isSameOrAfter = ui;
|
|
2377
|
-
l.isSameOrBefore = di;
|
|
2378
|
-
l.isValid = Ti;
|
|
2379
|
-
l.lang = Br;
|
|
2380
|
-
l.locale = Zr;
|
|
2381
|
-
l.localeData = qr;
|
|
2382
|
-
l.max = Ta;
|
|
2383
|
-
l.min = ba;
|
|
2384
|
-
l.parsingFlags = xi;
|
|
2385
|
-
l.set = yn;
|
|
2386
|
-
l.startOf = ki;
|
|
2387
|
-
l.subtract = Ka;
|
|
2388
|
-
l.toArray = Yi;
|
|
2389
|
-
l.toObject = Oi;
|
|
2390
|
-
l.toDate = Di;
|
|
2391
|
-
l.toISOString = fi;
|
|
2392
|
-
l.inspect = mi;
|
|
2393
|
-
typeof Symbol < "u" && Symbol.for != null && (l[Symbol.for("nodejs.util.inspect.custom")] = function() {
|
|
2394
|
-
return "Moment<" + this.format() + ">";
|
|
2395
|
-
});
|
|
2396
|
-
l.toJSON = bi;
|
|
2397
|
-
l.toString = hi;
|
|
2398
|
-
l.unix = Mi;
|
|
2399
|
-
l.valueOf = vi;
|
|
2400
|
-
l.creationData = Ni;
|
|
2401
|
-
l.eraName = Ai;
|
|
2402
|
-
l.eraNarrow = Li;
|
|
2403
|
-
l.eraAbbr = Ii;
|
|
2404
|
-
l.eraYear = Ei;
|
|
2405
|
-
l.year = Dr;
|
|
2406
|
-
l.isLeapYear = fn;
|
|
2407
|
-
l.weekYear = zi;
|
|
2408
|
-
l.isoWeekYear = Zi;
|
|
2409
|
-
l.quarter = l.quarters = Xi;
|
|
2410
|
-
l.month = xr;
|
|
2411
|
-
l.daysInMonth = Dn;
|
|
2412
|
-
l.week = l.weeks = Rn;
|
|
2413
|
-
l.isoWeek = l.isoWeeks = Wn;
|
|
2414
|
-
l.weeksInYear = Qi;
|
|
2415
|
-
l.weeksInWeekYear = Ji;
|
|
2416
|
-
l.isoWeeksInYear = Bi;
|
|
2417
|
-
l.isoWeeksInISOWeekYear = qi;
|
|
2418
|
-
l.date = $r;
|
|
2419
|
-
l.day = l.days = Zn;
|
|
2420
|
-
l.weekday = Bn;
|
|
2421
|
-
l.isoWeekday = qn;
|
|
2422
|
-
l.dayOfYear = $i;
|
|
2423
|
-
l.hour = l.hours = ta;
|
|
2424
|
-
l.minute = l.minutes = eo;
|
|
2425
|
-
l.second = l.seconds = to;
|
|
2426
|
-
l.millisecond = l.milliseconds = es;
|
|
2427
|
-
l.utcOffset = Ia;
|
|
2428
|
-
l.utc = Fa;
|
|
2429
|
-
l.local = Ua;
|
|
2430
|
-
l.parseZone = Ha;
|
|
2431
|
-
l.hasAlignedHourOffset = Va;
|
|
2432
|
-
l.isDST = Ga;
|
|
2433
|
-
l.isLocal = za;
|
|
2434
|
-
l.isUtcOffset = Za;
|
|
2435
|
-
l.isUtc = Vr;
|
|
2436
|
-
l.isUTC = Vr;
|
|
2437
|
-
l.zoneAbbr = so;
|
|
2438
|
-
l.zoneName = no;
|
|
2439
|
-
l.dates = L(
|
|
2440
|
-
"dates accessor is deprecated. Use date instead.",
|
|
2441
|
-
$r
|
|
2442
|
-
);
|
|
2443
|
-
l.months = L(
|
|
2444
|
-
"months accessor is deprecated. Use month instead",
|
|
2445
|
-
xr
|
|
2446
|
-
);
|
|
2447
|
-
l.years = L(
|
|
2448
|
-
"years accessor is deprecated. Use year instead",
|
|
2449
|
-
Dr
|
|
2450
|
-
);
|
|
2451
|
-
l.zone = L(
|
|
2452
|
-
"moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",
|
|
2453
|
-
Ea
|
|
2454
|
-
);
|
|
2455
|
-
l.isDSTShifted = L(
|
|
2456
|
-
"isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",
|
|
2457
|
-
ja
|
|
2458
|
-
);
|
|
2459
|
-
function ao(e) {
|
|
2460
|
-
return S(e * 1e3);
|
|
2461
|
-
}
|
|
2462
|
-
function io() {
|
|
2463
|
-
return S.apply(null, arguments).parseZone();
|
|
2464
|
-
}
|
|
2465
|
-
function ts(e) {
|
|
2466
|
-
return e;
|
|
2467
|
-
}
|
|
2468
|
-
var w = Wt.prototype;
|
|
2469
|
-
w.calendar = js;
|
|
2470
|
-
w.longDateFormat = qs;
|
|
2471
|
-
w.invalidDate = Js;
|
|
2472
|
-
w.ordinal = $s;
|
|
2473
|
-
w.preparse = ts;
|
|
2474
|
-
w.postformat = ts;
|
|
2475
|
-
w.relativeTime = tn;
|
|
2476
|
-
w.pastFuture = rn;
|
|
2477
|
-
w.set = Vs;
|
|
2478
|
-
w.eras = Ri;
|
|
2479
|
-
w.erasParse = Wi;
|
|
2480
|
-
w.erasConvertYear = Ci;
|
|
2481
|
-
w.erasAbbrRegex = Ui;
|
|
2482
|
-
w.erasNameRegex = Fi;
|
|
2483
|
-
w.erasNarrowRegex = Hi;
|
|
2484
|
-
w.months = kn;
|
|
2485
|
-
w.monthsShort = Sn;
|
|
2486
|
-
w.monthsParse = Mn;
|
|
2487
|
-
w.monthsRegex = On;
|
|
2488
|
-
w.monthsShortRegex = Yn;
|
|
2489
|
-
w.week = Tn;
|
|
2490
|
-
w.firstDayOfYear = Nn;
|
|
2491
|
-
w.firstDayOfWeek = Pn;
|
|
2492
|
-
w.weekdays = Hn;
|
|
2493
|
-
w.weekdaysMin = Gn;
|
|
2494
|
-
w.weekdaysShort = Vn;
|
|
2495
|
-
w.weekdaysParse = zn;
|
|
2496
|
-
w.weekdaysRegex = Qn;
|
|
2497
|
-
w.weekdaysShortRegex = Jn;
|
|
2498
|
-
w.weekdaysMinRegex = Kn;
|
|
2499
|
-
w.isPM = $n;
|
|
2500
|
-
w.meridiem = ra;
|
|
2501
|
-
function et(e, t, r, s) {
|
|
2502
|
-
var n = te(), a = z().set(s, t);
|
|
2503
|
-
return n[r](a, e);
|
|
2504
|
-
}
|
|
2505
|
-
function rs(e, t, r) {
|
|
2506
|
-
if (ee(e) && (t = e, e = void 0), e = e || "", t != null)
|
|
2507
|
-
return et(e, t, r, "month");
|
|
2508
|
-
var s, n = [];
|
|
2509
|
-
for (s = 0; s < 12; s++)
|
|
2510
|
-
n[s] = et(e, s, r, "month");
|
|
2511
|
-
return n;
|
|
2512
|
-
}
|
|
2513
|
-
function Kt(e, t, r, s) {
|
|
2514
|
-
typeof e == "boolean" ? (ee(t) && (r = t, t = void 0), t = t || "") : (t = e, r = t, e = !1, ee(t) && (r = t, t = void 0), t = t || "");
|
|
2515
|
-
var n = te(), a = e ? n._week.dow : 0, i, o = [];
|
|
2516
|
-
if (r != null)
|
|
2517
|
-
return et(t, (r + a) % 7, s, "day");
|
|
2518
|
-
for (i = 0; i < 7; i++)
|
|
2519
|
-
o[i] = et(t, (i + a) % 7, s, "day");
|
|
2520
|
-
return o;
|
|
2521
|
-
}
|
|
2522
|
-
function oo(e, t) {
|
|
2523
|
-
return rs(e, t, "months");
|
|
2524
|
-
}
|
|
2525
|
-
function lo(e, t) {
|
|
2526
|
-
return rs(e, t, "monthsShort");
|
|
2527
|
-
}
|
|
2528
|
-
function uo(e, t, r) {
|
|
2529
|
-
return Kt(e, t, r, "weekdays");
|
|
2530
|
-
}
|
|
2531
|
-
function co(e, t, r) {
|
|
2532
|
-
return Kt(e, t, r, "weekdaysShort");
|
|
2533
|
-
}
|
|
2534
|
-
function ho(e, t, r) {
|
|
2535
|
-
return Kt(e, t, r, "weekdaysMin");
|
|
2536
|
-
}
|
|
2537
|
-
ie("en", {
|
|
2538
|
-
eras: [
|
|
2539
|
-
{
|
|
2540
|
-
since: "0001-01-01",
|
|
2541
|
-
until: 1 / 0,
|
|
2542
|
-
offset: 1,
|
|
2543
|
-
name: "Anno Domini",
|
|
2544
|
-
narrow: "AD",
|
|
2545
|
-
abbr: "AD"
|
|
2546
|
-
},
|
|
2547
|
-
{
|
|
2548
|
-
since: "0000-12-31",
|
|
2549
|
-
until: -1 / 0,
|
|
2550
|
-
offset: 1,
|
|
2551
|
-
name: "Before Christ",
|
|
2552
|
-
narrow: "BC",
|
|
2553
|
-
abbr: "BC"
|
|
2554
|
-
}
|
|
2555
|
-
],
|
|
2556
|
-
dayOfMonthOrdinalParse: /\d{1,2}(th|st|nd|rd)/,
|
|
2557
|
-
ordinal: function(e) {
|
|
2558
|
-
var t = e % 10, r = y(e % 100 / 10) === 1 ? "th" : t === 1 ? "st" : t === 2 ? "nd" : t === 3 ? "rd" : "th";
|
|
2559
|
-
return e + r;
|
|
2560
|
-
}
|
|
2561
|
-
});
|
|
2562
|
-
u.lang = L(
|
|
2563
|
-
"moment.lang is deprecated. Use moment.locale instead.",
|
|
2564
|
-
ie
|
|
2565
|
-
);
|
|
2566
|
-
u.langData = L(
|
|
2567
|
-
"moment.langData is deprecated. Use moment.localeData instead.",
|
|
2568
|
-
te
|
|
2569
|
-
);
|
|
2570
|
-
var q = Math.abs;
|
|
2571
|
-
function fo() {
|
|
2572
|
-
var e = this._data;
|
|
2573
|
-
return this._milliseconds = q(this._milliseconds), this._days = q(this._days), this._months = q(this._months), e.milliseconds = q(e.milliseconds), e.seconds = q(e.seconds), e.minutes = q(e.minutes), e.hours = q(e.hours), e.months = q(e.months), e.years = q(e.years), this;
|
|
2574
|
-
}
|
|
2575
|
-
function ss(e, t, r, s) {
|
|
2576
|
-
var n = H(t, r);
|
|
2577
|
-
return e._milliseconds += s * n._milliseconds, e._days += s * n._days, e._months += s * n._months, e._bubble();
|
|
2578
|
-
}
|
|
2579
|
-
function mo(e, t) {
|
|
2580
|
-
return ss(this, e, t, 1);
|
|
2581
|
-
}
|
|
2582
|
-
function yo(e, t) {
|
|
2583
|
-
return ss(this, e, t, -1);
|
|
2584
|
-
}
|
|
2585
|
-
function lr(e) {
|
|
2586
|
-
return e < 0 ? Math.floor(e) : Math.ceil(e);
|
|
2587
|
-
}
|
|
2588
|
-
function _o() {
|
|
2589
|
-
var e = this._milliseconds, t = this._days, r = this._months, s = this._data, n, a, i, o, c;
|
|
2590
|
-
return e >= 0 && t >= 0 && r >= 0 || e <= 0 && t <= 0 && r <= 0 || (e += lr(bt(r) + t) * 864e5, t = 0, r = 0), s.milliseconds = e % 1e3, n = A(e / 1e3), s.seconds = n % 60, a = A(n / 60), s.minutes = a % 60, i = A(a / 60), s.hours = i % 24, t += A(i / 24), c = A(ns(t)), r += c, t -= lr(bt(c)), o = A(r / 12), r %= 12, s.days = t, s.months = r, s.years = o, this;
|
|
2591
|
-
}
|
|
2592
|
-
function ns(e) {
|
|
2593
|
-
return e * 4800 / 146097;
|
|
2594
|
-
}
|
|
2595
|
-
function bt(e) {
|
|
2596
|
-
return e * 146097 / 4800;
|
|
2597
|
-
}
|
|
2598
|
-
function go(e) {
|
|
2599
|
-
if (!this.isValid())
|
|
2600
|
-
return NaN;
|
|
2601
|
-
var t, r, s = this._milliseconds;
|
|
2602
|
-
if (e = I(e), e === "month" || e === "quarter" || e === "year")
|
|
2603
|
-
switch (t = this._days + s / 864e5, r = this._months + ns(t), e) {
|
|
2604
|
-
case "month":
|
|
2605
|
-
return r;
|
|
2606
|
-
case "quarter":
|
|
2607
|
-
return r / 3;
|
|
2608
|
-
case "year":
|
|
2609
|
-
return r / 12;
|
|
2610
|
-
}
|
|
2611
|
-
else
|
|
2612
|
-
switch (t = this._days + Math.round(bt(this._months)), e) {
|
|
2613
|
-
case "week":
|
|
2614
|
-
return t / 7 + s / 6048e5;
|
|
2615
|
-
case "day":
|
|
2616
|
-
return t + s / 864e5;
|
|
2617
|
-
case "hour":
|
|
2618
|
-
return t * 24 + s / 36e5;
|
|
2619
|
-
case "minute":
|
|
2620
|
-
return t * 1440 + s / 6e4;
|
|
2621
|
-
case "second":
|
|
2622
|
-
return t * 86400 + s / 1e3;
|
|
2623
|
-
// Math.floor prevents floating point math errors here
|
|
2624
|
-
case "millisecond":
|
|
2625
|
-
return Math.floor(t * 864e5) + s;
|
|
2626
|
-
default:
|
|
2627
|
-
throw new Error("Unknown unit " + e);
|
|
2628
|
-
}
|
|
2629
|
-
}
|
|
2630
|
-
function re(e) {
|
|
2631
|
-
return function() {
|
|
2632
|
-
return this.as(e);
|
|
2633
|
-
};
|
|
2634
|
-
}
|
|
2635
|
-
var as = re("ms"), wo = re("s"), po = re("m"), ko = re("h"), So = re("d"), vo = re("w"), Mo = re("M"), Do = re("Q"), Yo = re("y"), Oo = as;
|
|
2636
|
-
function bo() {
|
|
2637
|
-
return H(this);
|
|
2638
|
-
}
|
|
2639
|
-
function To(e) {
|
|
2640
|
-
return e = I(e), this.isValid() ? this[e + "s"]() : NaN;
|
|
2641
|
-
}
|
|
2642
|
-
function he(e) {
|
|
2643
|
-
return function() {
|
|
2644
|
-
return this.isValid() ? this._data[e] : NaN;
|
|
2645
|
-
};
|
|
2646
|
-
}
|
|
2647
|
-
var xo = he("milliseconds"), Po = he("seconds"), No = he("minutes"), Ro = he("hours"), Wo = he("days"), Co = he("months"), Ao = he("years");
|
|
2648
|
-
function Lo() {
|
|
2649
|
-
return A(this.days() / 7);
|
|
2650
|
-
}
|
|
2651
|
-
var Q = Math.round, ye = {
|
|
2652
|
-
ss: 44,
|
|
2653
|
-
// a few seconds to seconds
|
|
2654
|
-
s: 45,
|
|
2655
|
-
// seconds to minute
|
|
2656
|
-
m: 45,
|
|
2657
|
-
// minutes to hour
|
|
2658
|
-
h: 22,
|
|
2659
|
-
// hours to day
|
|
2660
|
-
d: 26,
|
|
2661
|
-
// days to month/week
|
|
2662
|
-
w: null,
|
|
2663
|
-
// weeks to month
|
|
2664
|
-
M: 11
|
|
2665
|
-
// months to year
|
|
2666
|
-
};
|
|
2667
|
-
function Io(e, t, r, s, n) {
|
|
2668
|
-
return n.relativeTime(t || 1, !!r, e, s);
|
|
2669
|
-
}
|
|
2670
|
-
function Eo(e, t, r, s) {
|
|
2671
|
-
var n = H(e).abs(), a = Q(n.as("s")), i = Q(n.as("m")), o = Q(n.as("h")), c = Q(n.as("d")), f = Q(n.as("M")), O = Q(n.as("w")), b = Q(n.as("y")), p = a <= r.ss && ["s", a] || a < r.s && ["ss", a] || i <= 1 && ["m"] || i < r.m && ["mm", i] || o <= 1 && ["h"] || o < r.h && ["hh", o] || c <= 1 && ["d"] || c < r.d && ["dd", c];
|
|
2672
|
-
return r.w != null && (p = p || O <= 1 && ["w"] || O < r.w && ["ww", O]), p = p || f <= 1 && ["M"] || f < r.M && ["MM", f] || b <= 1 && ["y"] || ["yy", b], p[2] = t, p[3] = +e > 0, p[4] = s, Io.apply(null, p);
|
|
2673
|
-
}
|
|
2674
|
-
function Fo(e) {
|
|
2675
|
-
return e === void 0 ? Q : typeof e == "function" ? (Q = e, !0) : !1;
|
|
2676
|
-
}
|
|
2677
|
-
function Uo(e, t) {
|
|
2678
|
-
return ye[e] === void 0 ? !1 : t === void 0 ? ye[e] : (ye[e] = t, e === "s" && (ye.ss = t - 1), !0);
|
|
2679
|
-
}
|
|
2680
|
-
function Ho(e, t) {
|
|
2681
|
-
if (!this.isValid())
|
|
2682
|
-
return this.localeData().invalidDate();
|
|
2683
|
-
var r = !1, s = ye, n, a;
|
|
2684
|
-
return typeof e == "object" && (t = e, e = !1), typeof e == "boolean" && (r = e), typeof t == "object" && (s = Object.assign({}, ye, t), t.s != null && t.ss == null && (s.ss = t.s - 1)), n = this.localeData(), a = Eo(this, !r, s, n), r && (a = n.pastFuture(+this, a)), n.postformat(a);
|
|
2685
|
-
}
|
|
2686
|
-
var wt = Math.abs;
|
|
2687
|
-
function fe(e) {
|
|
2688
|
-
return (e > 0) - (e < 0) || +e;
|
|
2689
|
-
}
|
|
2690
|
-
function ht() {
|
|
2691
|
-
if (!this.isValid())
|
|
2692
|
-
return this.localeData().invalidDate();
|
|
2693
|
-
var e = wt(this._milliseconds) / 1e3, t = wt(this._days), r = wt(this._months), s, n, a, i, o = this.asSeconds(), c, f, O, b;
|
|
2694
|
-
return o ? (s = A(e / 60), n = A(s / 60), e %= 60, s %= 60, a = A(r / 12), r %= 12, i = e ? e.toFixed(3).replace(/\.?0+$/, "") : "", c = o < 0 ? "-" : "", f = fe(this._months) !== fe(o) ? "-" : "", O = fe(this._days) !== fe(o) ? "-" : "", b = fe(this._milliseconds) !== fe(o) ? "-" : "", c + "P" + (a ? f + a + "Y" : "") + (r ? f + r + "M" : "") + (t ? O + t + "D" : "") + (n || s || e ? "T" : "") + (n ? b + n + "H" : "") + (s ? b + s + "M" : "") + (e ? b + i + "S" : "")) : "P0D";
|
|
2695
|
-
}
|
|
2696
|
-
var _ = dt.prototype;
|
|
2697
|
-
_.isValid = Wa;
|
|
2698
|
-
_.abs = fo;
|
|
2699
|
-
_.add = mo;
|
|
2700
|
-
_.subtract = yo;
|
|
2701
|
-
_.as = go;
|
|
2702
|
-
_.asMilliseconds = as;
|
|
2703
|
-
_.asSeconds = wo;
|
|
2704
|
-
_.asMinutes = po;
|
|
2705
|
-
_.asHours = ko;
|
|
2706
|
-
_.asDays = So;
|
|
2707
|
-
_.asWeeks = vo;
|
|
2708
|
-
_.asMonths = Mo;
|
|
2709
|
-
_.asQuarters = Do;
|
|
2710
|
-
_.asYears = Yo;
|
|
2711
|
-
_.valueOf = Oo;
|
|
2712
|
-
_._bubble = _o;
|
|
2713
|
-
_.clone = bo;
|
|
2714
|
-
_.get = To;
|
|
2715
|
-
_.milliseconds = xo;
|
|
2716
|
-
_.seconds = Po;
|
|
2717
|
-
_.minutes = No;
|
|
2718
|
-
_.hours = Ro;
|
|
2719
|
-
_.days = Wo;
|
|
2720
|
-
_.weeks = Lo;
|
|
2721
|
-
_.months = Co;
|
|
2722
|
-
_.years = Ao;
|
|
2723
|
-
_.humanize = Ho;
|
|
2724
|
-
_.toISOString = ht;
|
|
2725
|
-
_.toString = ht;
|
|
2726
|
-
_.toJSON = ht;
|
|
2727
|
-
_.locale = Zr;
|
|
2728
|
-
_.localeData = qr;
|
|
2729
|
-
_.toIsoString = L(
|
|
2730
|
-
"toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",
|
|
2731
|
-
ht
|
|
2732
|
-
);
|
|
2733
|
-
_.lang = Br;
|
|
2734
|
-
h("X", 0, 0, "unix");
|
|
2735
|
-
h("x", 0, 0, "valueOf");
|
|
2736
|
-
d("x", it);
|
|
2737
|
-
d("X", on);
|
|
2738
|
-
k("X", function(e, t, r) {
|
|
2739
|
-
r._d = new Date(parseFloat(e) * 1e3);
|
|
2740
|
-
});
|
|
2741
|
-
k("x", function(e, t, r) {
|
|
2742
|
-
r._d = new Date(y(e));
|
|
2743
|
-
});
|
|
2744
|
-
//! moment.js
|
|
2745
|
-
u.version = "2.30.1";
|
|
2746
|
-
Us(S);
|
|
2747
|
-
u.fn = l;
|
|
2748
|
-
u.min = xa;
|
|
2749
|
-
u.max = Pa;
|
|
2750
|
-
u.now = Na;
|
|
2751
|
-
u.utc = z;
|
|
2752
|
-
u.unix = ao;
|
|
2753
|
-
u.months = oo;
|
|
2754
|
-
u.isDate = Le;
|
|
2755
|
-
u.locale = ie;
|
|
2756
|
-
u.invalid = rt;
|
|
2757
|
-
u.duration = H;
|
|
2758
|
-
u.isMoment = U;
|
|
2759
|
-
u.weekdays = uo;
|
|
2760
|
-
u.parseZone = io;
|
|
2761
|
-
u.localeData = te;
|
|
2762
|
-
u.isDuration = Be;
|
|
2763
|
-
u.monthsShort = lo;
|
|
2764
|
-
u.weekdaysMin = ho;
|
|
2765
|
-
u.defineLocale = Gt;
|
|
2766
|
-
u.updateLocale = ia;
|
|
2767
|
-
u.locales = oa;
|
|
2768
|
-
u.weekdaysShort = co;
|
|
2769
|
-
u.normalizeUnits = I;
|
|
2770
|
-
u.relativeTimeRounding = Fo;
|
|
2771
|
-
u.relativeTimeThreshold = Uo;
|
|
2772
|
-
u.calendarFormat = ri;
|
|
2773
|
-
u.prototype = l;
|
|
2774
|
-
u.HTML5_FMT = {
|
|
2775
|
-
DATETIME_LOCAL: "YYYY-MM-DDTHH:mm",
|
|
2776
|
-
// <input type="datetime-local" />
|
|
2777
|
-
DATETIME_LOCAL_SECONDS: "YYYY-MM-DDTHH:mm:ss",
|
|
2778
|
-
// <input type="datetime-local" step="1" />
|
|
2779
|
-
DATETIME_LOCAL_MS: "YYYY-MM-DDTHH:mm:ss.SSS",
|
|
2780
|
-
// <input type="datetime-local" step="0.001" />
|
|
2781
|
-
DATE: "YYYY-MM-DD",
|
|
2782
|
-
// <input type="date" />
|
|
2783
|
-
TIME: "HH:mm",
|
|
2784
|
-
// <input type="time" />
|
|
2785
|
-
TIME_SECONDS: "HH:mm:ss",
|
|
2786
|
-
// <input type="time" step="1" />
|
|
2787
|
-
TIME_MS: "HH:mm:ss.SSS",
|
|
2788
|
-
// <input type="time" step="0.001" />
|
|
2789
|
-
WEEK: "GGGG-[W]WW",
|
|
2790
|
-
// <input type="week" />
|
|
2791
|
-
MONTH: "YYYY-MM"
|
|
2792
|
-
// <input type="month" />
|
|
2793
|
-
};
|
|
2794
|
-
const Vo = { class: "d-flex align-items-center justify-content-center bg-white shadow-sm py-3" }, Go = /* @__PURE__ */ ke({
|
|
2795
|
-
__name: "Footer",
|
|
2796
|
-
props: {
|
|
2797
|
-
copyrightText: { type: String, required: !0 }
|
|
2798
|
-
},
|
|
2799
|
-
setup(e) {
|
|
2800
|
-
const t = e;
|
|
2801
|
-
return (r, s) => (P(), R("footer", Vo, G(t.copyrightText) + " " + G(ze(u)().year()), 1));
|
|
2802
|
-
}
|
|
2803
|
-
}), hl = /* @__PURE__ */ ke({
|
|
2804
|
-
__name: "LoginLayoutFrame",
|
|
2805
|
-
props: {
|
|
2806
|
-
loginText: {},
|
|
2807
|
-
brandText: {},
|
|
2808
|
-
copyrightText: {},
|
|
2809
|
-
mainClass: { default: "my-5" }
|
|
2810
|
-
},
|
|
2811
|
-
setup(e) {
|
|
2812
|
-
const t = e;
|
|
2813
|
-
if (typeof t.loginText != "string")
|
|
2814
|
-
throw new Error("LoginLayoutFrame: loginText обязателен");
|
|
2815
|
-
if (!t.brandText.trim())
|
|
2816
|
-
throw new Error("LoginLayoutFrame: brandText обязателен");
|
|
2817
|
-
if (!t.copyrightText.trim())
|
|
2818
|
-
throw new Error("LoginLayoutFrame: copyrightText обязателен");
|
|
2819
|
-
return (r, s) => (P(), R(hr, null, [
|
|
2820
|
-
xe(Fs, {
|
|
2821
|
-
"is-authenticated": !1,
|
|
2822
|
-
"login-text": r.loginText,
|
|
2823
|
-
"raw-dropdown-links": [],
|
|
2824
|
-
"brand-text": r.brandText
|
|
2825
|
-
}, {
|
|
2826
|
-
logo: rr(() => [
|
|
2827
|
-
xe(mr)
|
|
2828
|
-
]),
|
|
2829
|
-
"language-selector": rr(() => [
|
|
2830
|
-
Qe(r.$slots, "language-selector")
|
|
2831
|
-
]),
|
|
2832
|
-
_: 3
|
|
2833
|
-
}, 8, ["login-text", "brand-text"]),
|
|
2834
|
-
Y("main", {
|
|
2835
|
-
class: pe(r.mainClass),
|
|
2836
|
-
style: { "min-height": "80vh" }
|
|
2837
|
-
}, [
|
|
2838
|
-
Qe(r.$slots, "default")
|
|
2839
|
-
], 2),
|
|
2840
|
-
xe(Go, { "copyright-text": r.copyrightText }, null, 8, ["copyright-text"])
|
|
2841
|
-
], 64));
|
|
2842
|
-
}
|
|
2843
|
-
}), jo = {
|
|
2844
|
-
__name: "Spinner",
|
|
2845
|
-
props: {
|
|
2846
|
-
isSmall: {
|
|
2847
|
-
type: Boolean,
|
|
2848
|
-
default: !1
|
|
2849
|
-
}
|
|
2850
|
-
},
|
|
2851
|
-
setup(e) {
|
|
2852
|
-
return (t, r) => (P(), R("div", {
|
|
2853
|
-
class: pe(["spinner-border", { "spinner-border-sm": e.isSmall }]),
|
|
2854
|
-
role: "status"
|
|
2855
|
-
}, null, 2));
|
|
2856
|
-
}
|
|
2857
|
-
}, zo = {
|
|
2858
|
-
class: "container",
|
|
2859
|
-
"data-test": "SsoLoginPending"
|
|
2860
|
-
}, Zo = { class: "row justify-content-center" }, Bo = { class: "col-md-8" }, qo = { class: "card" }, Qo = { class: "card-header" }, Jo = { class: "card-body" }, Ko = {
|
|
2861
|
-
class: "login-spinner text-center",
|
|
2862
|
-
role: "status",
|
|
2863
|
-
"aria-live": "polite"
|
|
2864
|
-
}, Xo = {
|
|
2865
|
-
class: "visually-hidden",
|
|
2866
|
-
"data-test": "SsoLoginPending-status"
|
|
2867
|
-
}, $o = /* @__PURE__ */ ke({
|
|
2868
|
-
__name: "SsoLoginPending",
|
|
2869
|
-
props: {
|
|
2870
|
-
title: {},
|
|
2871
|
-
statusText: {}
|
|
2872
|
-
},
|
|
2873
|
-
setup(e) {
|
|
2874
|
-
const t = e;
|
|
2875
|
-
if (!t.title.trim())
|
|
2876
|
-
throw new Error("SsoLoginPending: title обязателен");
|
|
2877
|
-
if (!t.statusText.trim())
|
|
2878
|
-
throw new Error("SsoLoginPending: statusText обязателен");
|
|
2879
|
-
return (r, s) => (P(), R("div", zo, [
|
|
2880
|
-
Y("div", Zo, [
|
|
2881
|
-
Y("div", Bo, [
|
|
2882
|
-
Y("div", qo, [
|
|
2883
|
-
Y("div", Qo, G(r.title), 1),
|
|
2884
|
-
Y("div", Jo, [
|
|
2885
|
-
Y("div", Ko, [
|
|
2886
|
-
xe(jo),
|
|
2887
|
-
Y("span", Xo, G(r.statusText), 1)
|
|
2888
|
-
])
|
|
2889
|
-
])
|
|
2890
|
-
])
|
|
2891
|
-
])
|
|
2892
|
-
])
|
|
2893
|
-
]));
|
|
2894
|
-
}
|
|
2895
|
-
}), el = /* @__PURE__ */ tt($o, [["__scopeId", "data-v-6eb41b83"]]), ur = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~";
|
|
2896
|
-
function is() {
|
|
2897
|
-
const e = globalThis.crypto;
|
|
2898
|
-
if (!e)
|
|
2899
|
-
throw new Error("Web Crypto API is not available.");
|
|
2900
|
-
if (!e.getRandomValues)
|
|
2901
|
-
throw new Error("Web Crypto getRandomValues is not available.");
|
|
2902
|
-
if (!e.subtle?.digest)
|
|
2903
|
-
throw new Error("Web Crypto subtle digest is not available.");
|
|
2904
|
-
return e;
|
|
2905
|
-
}
|
|
2906
|
-
function os(e) {
|
|
2907
|
-
const t = is(), r = new Uint8Array(e);
|
|
2908
|
-
t.getRandomValues(r);
|
|
2909
|
-
let s = "";
|
|
2910
|
-
return r.forEach((n) => {
|
|
2911
|
-
s += ur[n % ur.length];
|
|
2912
|
-
}), s;
|
|
2913
|
-
}
|
|
2914
|
-
function tl(e) {
|
|
2915
|
-
const t = new Uint8Array(e);
|
|
2916
|
-
let r = "";
|
|
2917
|
-
return t.forEach((s) => {
|
|
2918
|
-
r += String.fromCharCode(s);
|
|
2919
|
-
}), btoa(r).replace(/\+/g, "-").replace(/\//g, "_").replace(/=+$/g, "");
|
|
2920
|
-
}
|
|
2921
|
-
function rl(e = 64) {
|
|
2922
|
-
if (!Number.isInteger(e) || e < 43 || e > 128)
|
|
2923
|
-
throw new Error("PKCE code_verifier length must be between 43 and 128.");
|
|
2924
|
-
return os(e);
|
|
2925
|
-
}
|
|
2926
|
-
async function sl(e) {
|
|
2927
|
-
const t = is(), s = new TextEncoder().encode(e), n = await t.subtle.digest("SHA-256", s);
|
|
2928
|
-
return tl(n);
|
|
2929
|
-
}
|
|
2930
|
-
async function nl(e = 64) {
|
|
2931
|
-
const t = rl(e), r = await sl(t);
|
|
2932
|
-
return { codeVerifier: t, codeChallenge: r };
|
|
2933
|
-
}
|
|
2934
|
-
function al(e = 32) {
|
|
2935
|
-
if (!Number.isInteger(e) || e < 16 || e > 128)
|
|
2936
|
-
throw new Error("OAuth state length must be between 16 and 128.");
|
|
2937
|
-
return os(e);
|
|
2938
|
-
}
|
|
2939
|
-
function je(e) {
|
|
2940
|
-
return Number.isInteger(e) && Number(e) >= 400 && Number(e) < 600;
|
|
2941
|
-
}
|
|
2942
|
-
function Tt(e, t = /* @__PURE__ */ new Set()) {
|
|
2943
|
-
if (e == null)
|
|
2944
|
-
return;
|
|
2945
|
-
if (typeof e == "number")
|
|
2946
|
-
return je(e) ? e : void 0;
|
|
2947
|
-
if (typeof e != "object" || t.has(e))
|
|
2948
|
-
return;
|
|
2949
|
-
if (t.add(e), typeof Response < "u" && e instanceof Response)
|
|
2950
|
-
return je(e.status) ? e.status : void 0;
|
|
2951
|
-
const r = e;
|
|
2952
|
-
if (je(r.status))
|
|
2953
|
-
return r.status;
|
|
2954
|
-
if (je(r.statusCode))
|
|
2955
|
-
return r.statusCode;
|
|
2956
|
-
const s = Tt(r.response, t);
|
|
2957
|
-
return s !== void 0 ? s : Tt(r.cause, t);
|
|
2958
|
-
}
|
|
2959
|
-
function ls(e) {
|
|
2960
|
-
return e === 400 ? "Bad Request" : e === 401 ? "Unauthorized" : e === 403 ? "Forbidden" : e === 404 ? "Not Found" : e === 409 ? "Conflict" : e === 422 ? "Unprocessable Entity" : e === 429 ? "Too Many Requests" : e === 502 ? "Bad Gateway" : e === 503 ? "Service Unavailable" : e === 504 ? "Gateway Timeout" : e >= 500 ? "Internal Server Error" : "Request failed";
|
|
2961
|
-
}
|
|
2962
|
-
function xt(e, t = 500) {
|
|
2963
|
-
return Tt(e) ?? t;
|
|
2964
|
-
}
|
|
2965
|
-
const il = "Web Crypto API недоступен. Используйте HTTPS или обновите браузер.", ol = "NUXT_PUBLIC_ORIGIN не совпадает с адресом вкладки. Откройте приложение по origin из конфига.", us = "r3ui-sso-start-lock", Xt = "r3ui-sso-auth-url";
|
|
2966
|
-
let le;
|
|
2967
|
-
function ll() {
|
|
2968
|
-
try {
|
|
2969
|
-
const e = sessionStorage.getItem(Xt);
|
|
2970
|
-
return typeof e == "string" && e.length > 0 ? e : null;
|
|
2971
|
-
} catch {
|
|
2972
|
-
return null;
|
|
2973
|
-
}
|
|
2974
|
-
}
|
|
2975
|
-
function dr() {
|
|
2976
|
-
try {
|
|
2977
|
-
sessionStorage.setItem(us, "1");
|
|
2978
|
-
} catch {
|
|
2979
|
-
}
|
|
2980
|
-
}
|
|
2981
|
-
function ul(e) {
|
|
2982
|
-
try {
|
|
2983
|
-
sessionStorage.setItem(Xt, e);
|
|
2984
|
-
} catch {
|
|
2985
|
-
}
|
|
2986
|
-
}
|
|
2987
|
-
function pt() {
|
|
2988
|
-
le = void 0;
|
|
2989
|
-
try {
|
|
2990
|
-
sessionStorage.removeItem(us), sessionStorage.removeItem(Xt);
|
|
2991
|
-
} catch {
|
|
2992
|
-
}
|
|
2993
|
-
}
|
|
2994
|
-
async function dl(e) {
|
|
2995
|
-
if (!e || typeof e.setLoading != "function")
|
|
2996
|
-
throw new Error("signInWithSSO: deps.setLoading обязателен");
|
|
2997
|
-
if (typeof e.getPublicConfig != "function")
|
|
2998
|
-
throw new Error("signInWithSSO: deps.getPublicConfig обязателен");
|
|
2999
|
-
if (typeof e.useCookie != "function")
|
|
3000
|
-
throw new Error("signInWithSSO: deps.useCookie обязателен");
|
|
3001
|
-
if (typeof e.showError != "function")
|
|
3002
|
-
throw new Error("signInWithSSO: deps.showError обязателен");
|
|
3003
|
-
if (typeof window > "u")
|
|
3004
|
-
return;
|
|
3005
|
-
const t = e.redirectTo ?? ((o) => {
|
|
3006
|
-
window.location.href = o;
|
|
3007
|
-
}), s = {
|
|
3008
|
-
maxAge: 300,
|
|
3009
|
-
sameSite: "lax",
|
|
3010
|
-
secure: (e.isSecure ?? (() => window.location.protocol === "https:"))(),
|
|
3011
|
-
path: "/"
|
|
3012
|
-
}, n = (o) => {
|
|
3013
|
-
const c = e.useCookie(o, s).value;
|
|
3014
|
-
return typeof c == "string" && c.length > 0 ? c : null;
|
|
3015
|
-
};
|
|
3016
|
-
if (le?.url === null)
|
|
3017
|
-
return;
|
|
3018
|
-
e.setLoading(!0);
|
|
3019
|
-
const a = e.generatePkcePair ?? nl, i = e.generateState ?? al;
|
|
3020
|
-
try {
|
|
3021
|
-
const { authApiUrl: o, ssoClientId: c, origin: f } = e.getPublicConfig();
|
|
3022
|
-
if (!o || !c)
|
|
3023
|
-
throw new Error("Не настроены CLIENT_ID или NUXT_AUTH_API_URL");
|
|
3024
|
-
if (typeof f != "string" || f !== window.location.origin) {
|
|
3025
|
-
e.setLoading(!1), e.showError({
|
|
3026
|
-
statusCode: 400,
|
|
3027
|
-
statusMessage: ol
|
|
3028
|
-
});
|
|
3029
|
-
return;
|
|
3030
|
-
}
|
|
3031
|
-
const O = `${f}/api/auth/callback`, b = new URL(
|
|
3032
|
-
`${o.replace(/\/+$/, "")}/oauth/authorize`
|
|
3033
|
-
);
|
|
3034
|
-
if (!["https:", "http:"].includes(b.protocol) || b.username || b.password || b.search || b.hash)
|
|
3035
|
-
throw new Error("Некорректный NUXT_AUTH_API_URL");
|
|
3036
|
-
const p = le?.url ?? ll(), se = n("pkce_state"), B = n("pkce_verifier");
|
|
3037
|
-
let x;
|
|
3038
|
-
if (p && se && B)
|
|
3039
|
-
try {
|
|
3040
|
-
x = new URL(p);
|
|
3041
|
-
} catch {
|
|
3042
|
-
}
|
|
3043
|
-
const De = {
|
|
3044
|
-
client_id: c,
|
|
3045
|
-
redirect_uri: O,
|
|
3046
|
-
response_type: "code",
|
|
3047
|
-
code_challenge_method: "S256",
|
|
3048
|
-
state: se
|
|
3049
|
-
};
|
|
3050
|
-
if (p && x && x.origin === b.origin && x.pathname === b.pathname && !x.username && !x.password && !x.hash && !x.searchParams.has("scope") && x.searchParams.getAll("code_challenge").length === 1 && x.searchParams.get("code_challenge") && Object.entries(De).every(
|
|
3051
|
-
([He, Oe]) => x.searchParams.getAll(He).length === 1 && x.searchParams.get(He) === Oe
|
|
3052
|
-
)) {
|
|
3053
|
-
le?.url !== p && (le = { url: p }, dr(), t(p));
|
|
3054
|
-
return;
|
|
3055
|
-
}
|
|
3056
|
-
pt(), le = { url: null }, dr();
|
|
3057
|
-
let Ye, $t, Ue;
|
|
3058
|
-
try {
|
|
3059
|
-
({ codeVerifier: Ye, codeChallenge: $t } = await a()), Ue = i();
|
|
3060
|
-
} catch {
|
|
3061
|
-
pt(), e.setLoading(!1), e.showError({
|
|
3062
|
-
statusCode: 500,
|
|
3063
|
-
statusMessage: il
|
|
3064
|
-
});
|
|
3065
|
-
return;
|
|
3066
|
-
}
|
|
3067
|
-
e.useCookie("pkce_verifier", s).value = Ye, e.useCookie("pkce_state", s).value = Ue, await ys();
|
|
3068
|
-
const er = (He) => document.cookie.split(";").map((Oe) => Oe.trim()).find((Oe) => Oe.startsWith(`${He}=`));
|
|
3069
|
-
if (er("pkce_verifier") !== `pkce_verifier=${encodeURIComponent(Ye)}` || er("pkce_state") !== `pkce_state=${encodeURIComponent(Ue)}`)
|
|
3070
|
-
throw new Error(
|
|
3071
|
-
"Не удалось сохранить данные входа. Разрешите cookie в браузере и повторите вход."
|
|
3072
|
-
);
|
|
3073
|
-
const ft = `${b.href}?` + new URLSearchParams({
|
|
3074
|
-
client_id: c,
|
|
3075
|
-
redirect_uri: O,
|
|
3076
|
-
response_type: "code",
|
|
3077
|
-
code_challenge: $t,
|
|
3078
|
-
code_challenge_method: "S256",
|
|
3079
|
-
state: Ue
|
|
3080
|
-
});
|
|
3081
|
-
le = { url: ft }, ul(ft), t(ft);
|
|
3082
|
-
} catch (o) {
|
|
3083
|
-
pt(), e.setLoading(!1);
|
|
3084
|
-
const c = xt(o, 500), f = o instanceof Error && o.message.trim() ? o.message : ls(c);
|
|
3085
|
-
e.showError({
|
|
3086
|
-
statusCode: c,
|
|
3087
|
-
statusMessage: f,
|
|
3088
|
-
cause: o
|
|
3089
|
-
});
|
|
3090
|
-
}
|
|
3091
|
-
}
|
|
3092
|
-
const fl = /* @__PURE__ */ ke({
|
|
3093
|
-
__name: "SsoLoginScreen",
|
|
3094
|
-
props: {
|
|
3095
|
-
title: {},
|
|
3096
|
-
statusText: {},
|
|
3097
|
-
getPublicConfig: { type: Function },
|
|
3098
|
-
useCookie: { type: Function },
|
|
3099
|
-
showError: { type: Function }
|
|
3100
|
-
},
|
|
3101
|
-
setup(e) {
|
|
3102
|
-
const t = e;
|
|
3103
|
-
if (!t.title.trim())
|
|
3104
|
-
throw new Error("SsoLoginScreen: title обязателен");
|
|
3105
|
-
if (!t.statusText.trim())
|
|
3106
|
-
throw new Error("SsoLoginScreen: statusText обязателен");
|
|
3107
|
-
if (typeof t.getPublicConfig != "function")
|
|
3108
|
-
throw new Error("SsoLoginScreen: getPublicConfig обязателен");
|
|
3109
|
-
if (typeof t.useCookie != "function")
|
|
3110
|
-
throw new Error("SsoLoginScreen: useCookie обязателен");
|
|
3111
|
-
if (typeof t.showError != "function")
|
|
3112
|
-
throw new Error("SsoLoginScreen: showError обязателен");
|
|
3113
|
-
function r() {
|
|
3114
|
-
dl({
|
|
3115
|
-
setLoading: () => {
|
|
3116
|
-
},
|
|
3117
|
-
getPublicConfig: t.getPublicConfig,
|
|
3118
|
-
useCookie: t.useCookie,
|
|
3119
|
-
showError: t.showError
|
|
3120
|
-
}).catch((a) => {
|
|
3121
|
-
t.showError({
|
|
3122
|
-
statusCode: xt(a, 500),
|
|
3123
|
-
statusMessage: a instanceof Error && a.message.trim() ? a.message : ls(xt(a, 500)),
|
|
3124
|
-
cause: a
|
|
3125
|
-
});
|
|
3126
|
-
});
|
|
3127
|
-
}
|
|
3128
|
-
let s = !0;
|
|
3129
|
-
function n(a) {
|
|
3130
|
-
s && a.persisted && window.location.reload();
|
|
3131
|
-
}
|
|
3132
|
-
return _s(() => window.addEventListener("pageshow", n)), gs(() => window.removeEventListener("pageshow", n)), ws(() => {
|
|
3133
|
-
s = !0, r();
|
|
3134
|
-
}), cr(() => {
|
|
3135
|
-
s = !1;
|
|
3136
|
-
}), r(), (a, i) => (P(), fr(el, {
|
|
3137
|
-
title: a.title,
|
|
3138
|
-
"status-text": a.statusText
|
|
3139
|
-
}, null, 8, ["title", "status-text"]));
|
|
3140
|
-
}
|
|
3141
|
-
});
|
|
1
|
+
import { default as r } from "./modules/components/layout/Header.vue.js";
|
|
2
|
+
import { default as a } from "./modules/components/layout/Footer.vue.js";
|
|
3
|
+
import { default as s } from "./modules/components/logo/Logo.vue.js";
|
|
4
|
+
import { default as m } from "./modules/components/layout/LoginLayoutFrame.vue.js";
|
|
5
|
+
import { default as p } from "./modules/components/SsoLoginPending.vue.js";
|
|
6
|
+
import { default as x } from "./modules/components/SsoLoginScreen.vue.js";
|
|
7
|
+
import { signInWithSSO as i } from "./modules/utils/auth/signInWithSSO.js";
|
|
3142
8
|
export {
|
|
3143
|
-
|
|
3144
|
-
|
|
3145
|
-
|
|
3146
|
-
|
|
3147
|
-
|
|
3148
|
-
|
|
3149
|
-
|
|
9
|
+
a as Footer,
|
|
10
|
+
r as Header,
|
|
11
|
+
m as LoginLayoutFrame,
|
|
12
|
+
s as Logo,
|
|
13
|
+
p as SsoLoginPending,
|
|
14
|
+
x as SsoLoginScreen,
|
|
15
|
+
i as signInWithSSO
|
|
3150
16
|
};
|