diff --git a/dist/bootstrap5.css b/dist/bootstrap5.css index 6f26e03d..179a2673 100644 --- a/dist/bootstrap5.css +++ b/dist/bootstrap5.css @@ -1,153 +1,3 @@ -[x-cloak] { - display: none; -} - -table { - width: 100%; -} - -select { - background-color: inherit; -} - -.loader { - border-top-color: #222; - animation: spinner 1.5s linear infinite -} - -@keyframes spinner { - 0% { - transform: rotate(0) - } - 100% { - transform: rotate(360deg) - } -} - -table thead { - padding-left: 15px; - text-transform: uppercase; - font-size: .75rem; - color: #6b6a6a; - padding-top: 8px; - padding-bottom: 8px -} - -.pg-actions { - display: flex; - gap: 4px; - width: 100%; -} - -.pg-actions a { - display: inline-block; -} - - -[x-ref="editable"].pg-single-line { - white-space: nowrap; - overflow: hidden; -} - -[x-ref="editable"].pg-single-line br { - display:none; - -} - -[x-ref="editable"].pg-single-line * { - display:inline; - white-space:nowrap; -} - -[x-ref="editable"][placeholder]:empty:before { - content: attr(placeholder); - position: absolute; - color: gray; - background-color: transparent; -} - -.table .checkbox-column { - width: 50px !important; - max-width: 50px !important; - text-align: center -} - -.btn-light { - color: #000; - background-color: white; - border-color: #d7dbdf; - font-size: 0.85rem; -} - -.form-control:disabled, .form-control[readonly] { - background-color: white !important; - opacity: 1; -} - -.btn-light:hover { - color: #000; - background-color: white; - border-color: #d7dbdf; - font-size: 0.85rem; -} - -.btn-light, .has-search .form-control { - padding-left: 10px !important; -} - -.accordion-button { - padding: .7rem .7rem -} - -.btn-light, .has-search .form-control { - padding-left: 2.375rem -} - -.page-link { - color: gray !important -} - -.page-item.active .page-link { - color: #fff !important; - background-color: gray; - border-color: gray -} - -@keyframes spinner { - 0% { - transform: rotate(0) - } - 100% { - transform: rotate(360deg) - } -} - -.badge { - font-size: 0.77em; -} - -.form-control, .btn { - box-shadow: none!important; -} - -.btn-group-vertical>.btn, .btn-group>.btn { - position: relative; - flex: 1 1 auto; - border-color: #ced4da !important; -} - -.bs5-rotate-0 { - transition: all 0.3s ease; - transform: rotate(0deg); -} - -.bs5-rotate-90 { - transition: all 0.3s ease; - transform: rotate(90deg); -} - -.bs5-w-h-1_5em { - width: 1.5em; - height: 1.5em; -} - +[x-cloak]{display:none}table{width:100%}select{background-color:inherit}.loader{animation:spinner 1.5s linear infinite;border-top-color:#222}@keyframes spinner{0%{transform:rotate(0)}to{transform:rotate(1turn)}}table thead{color:#6b6a6a;font-size:.75rem;padding-bottom:8px;padding-left:15px;padding-top:8px;text-transform:uppercase}.pg-actions{display:flex;gap:4px;width:100%}.pg-actions a{display:inline-block} +[x-ref=editable].pg-single-line{overflow:hidden;white-space:nowrap}[x-ref=editable].pg-single-line br{display:none}[x-ref=editable].pg-single-line *{display:inline;white-space:nowrap}[x-ref=editable][placeholder]:empty:before{background-color:transparent;color:gray;content:attr(placeholder);position:absolute} +.table .checkbox-column{max-width:50px!important;text-align:center;width:50px!important}.btn-light{background-color:#fff;border-color:#d7dbdf;color:#000;font-size:.85rem}.form-control:disabled,.form-control[readonly]{background-color:#fff!important;opacity:1}.btn-light:hover{background-color:#fff;border-color:#d7dbdf;color:#000;font-size:.85rem}.btn-light,.has-search .form-control{padding-left:10px!important}.accordion-button{padding:.7rem}.btn-light,.has-search .form-control{padding-left:2.375rem}.page-link{color:gray!important}.page-item.active .page-link{background-color:gray;border-color:gray;color:#fff!important}@keyframes spinner{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.badge{font-size:.77em}.btn,.form-control{box-shadow:none!important}.btn-group-vertical>.btn,.btn-group>.btn{border-color:#ced4da!important;flex:1 1 auto;position:relative}.bs5-rotate-0{transform:rotate(0deg);transition:all .3s ease}.bs5-rotate-90{transform:rotate(90deg);transition:all .3s ease}.bs5-w-h-1_5em{height:1.5em;width:1.5em} diff --git a/dist/mix-manifest.json b/dist/mix-manifest.json index 2d07c868..6ccce28e 100644 --- a/dist/mix-manifest.json +++ b/dist/mix-manifest.json @@ -1,7 +1,7 @@ { - "/powergrid.js": "/powergrid.js", - "/bootstrap5.css": "/bootstrap5.css", - "/tailwind.css": "/tailwind.css", - "/tom-select.css": "/tom-select.css", - "/powergrid.css": "/powergrid.css" + "/powergrid.js": "/powergrid.js?id=8dbd9927fb1c6a57be1f269d484ae3c8", + "/bootstrap5.css": "/bootstrap5.css?id=ebd9853ab6704f4a2335e83a4310bb2b", + "/tailwind.css": "/tailwind.css?id=c6c8e1dd8e211d0beaffb21ff5a0782a", + "/tom-select.css": "/tom-select.css?id=7af730d2c4bf937316d4002948b1571d", + "/powergrid.css": "/powergrid.css?id=ccf9e99db3929ffc436445d5befaf2ac" } diff --git a/dist/powergrid.css b/dist/powergrid.css index a3223b3e..1524a21c 100644 --- a/dist/powergrid.css +++ b/dist/powergrid.css @@ -1,255 +1 @@ -[x-cloak] { - display: none; -} - -table { - width: 100%; -} - -.btn-light { - color: #000; - background-color: white; - border-color: #d7dbdf; - font-size: 0.85rem; -} - -.form-control:disabled, .form-control[readonly] { - background-color: white !important; - opacity: 1; -} - -.btn-light:hover { - color: #000; - background-color: white; - border-color: #d7dbdf; - font-size: 0.85rem; -} - -.btn-light, .has-search .form-control { - padding-left: 10px !important; -} - -.table .checkbox-column { - width: 50px !important; - max-width: 50px !important; - text-align: center -} - -.accordion-button { - padding: .7rem .7rem -} - -.btn-light, .has-search .form-control { - padding-left: 2.375rem -} - -.page-link { - display: block; - width: 3rem; - border-right-width: 1px; - --tw-border-opacity: 1; - border-color: rgb(229 231 235 / var(--tw-border-opacity)); - --tw-bg-opacity: 1; - background-color: rgb(255 255 255 / var(--tw-bg-opacity)); - padding-top: 0.5rem; - padding-bottom: 0.5rem; - text-align: center; - font-size: 0.875rem; - line-height: 1.25rem; - --tw-text-opacity: 1; - color: rgb(30 64 175 / var(--tw-text-opacity)); - outline: 2px solid transparent; - outline-offset: 2px; -} - -.page-link:last-child { - border-width: 0px; -} - -.page-link:hover { - --tw-border-opacity: 1; - border-color: rgb(29 78 216 / var(--tw-border-opacity)); - --tw-bg-opacity: 1; - background-color: rgb(29 78 216 / var(--tw-bg-opacity)); - --tw-text-opacity: 1; - color: rgb(255 255 255 / var(--tw-text-opacity)); -} - -.page-item.active .page-link { - --tw-border-opacity: 1; - border-color: rgb(29 78 216 / var(--tw-border-opacity)); - --tw-bg-opacity: 1; - background-color: rgb(29 78 216 / var(--tw-bg-opacity)); - --tw-text-opacity: 1; - color: rgb(255 255 255 / var(--tw-text-opacity)); -} - -.page-item.disabled .page-link { - --tw-border-opacity: 1; - border-color: rgb(229 231 235 / var(--tw-border-opacity)); - --tw-bg-opacity: 1; - background-color: rgb(255 255 255 / var(--tw-bg-opacity)); - --tw-text-opacity: 1; - color: rgb(209 213 219 / var(--tw-text-opacity)); -} - -.page-link { - color: gray !important -} - -.page-item.active .page-link { - color: #fff !important; - background-color: gray; - border-color: gray -} - -.loader { - border-top-color: #222; - animation: spinner 1.5s linear infinite -} - -@keyframes spinner { - 0% { - transform: rotate(0) - } - 100% { - transform: rotate(360deg) - } -} - -table thead { - padding-left: 15px; - text-transform: uppercase; - font-size: .75rem; - color: #6b6a6a; - padding-top: 8px; - padding-bottom: 8px -} - -.badge { - font-size: 0.77em; -} - -.form-control, .btn { - box-shadow: none!important; -} - -.btn-group-vertical>.btn, .btn-group>.btn { - position: relative; - flex: 1 1 auto; - border-color: #ced4da !important; -} - -[x-ref="editable"].pg-single-line { - white-space: nowrap; - overflow: hidden; -} -[x-ref="editable"].pg-single-line br { - display:none; - -} -[x-ref="editable"].pg-single-line * { - display:inline; - white-space:nowrap; -} - -[x-ref="editable"][placeholder]:empty:before { - content: attr(placeholder); - position: absolute; - color: gray; - background-color: transparent; -} - -.power-grid-button { - width: 100%; -} - -.pg-btn-white { - display: inline-flex; - align-items: center; - justify-content: center; - -moz-column-gap: 0.5rem; - column-gap: 0.5rem; - border-radius: 0.5rem; - border-width: 1px; - --tw-border-opacity: 1; - border-color: rgb(203 213 225 / var(--tw-border-opacity)); - --tw-bg-opacity: 1; - background-color: rgb(255 255 255 / var(--tw-bg-opacity)); - padding-left: 0.75rem; - padding-right: 0.75rem; - padding-top: 0.5rem; - padding-bottom: 0.5rem; - font-size: 0.875rem; - line-height: 1.25rem; - --tw-text-opacity: 1; - color: rgb(100 116 139 / var(--tw-text-opacity)); - outline: 2px solid transparent; - outline-offset: 2px; - --tw-ring-opacity: 1; - --tw-ring-color: rgb(226 232 240 / var(--tw-ring-opacity)); -} - -.pg-btn-white:hover { - --tw-bg-opacity: 1; - background-color: rgb(241 245 249 / var(--tw-bg-opacity)); - --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05); - --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color); - box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); -} - -.pg-btn-white:focus { - --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color); - --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color); - box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000); - --tw-ring-offset-width: 1px; -} - -.pg-btn-white:disabled { - cursor: not-allowed; - opacity: 0.8; -} - -.bs5-rotate-0 { - transition: all 0.3s ease; - transform: rotate(0deg); -} -.bs5-rotate-90 { - transition: all 0.3s ease; - transform: rotate(90deg); -} -.bs5-w-h-1_5em { - width: 1.5em; - height: 1.5em; -} - -.pg-actions { - display: flex; - width: 100%; - gap: 0.5rem; -} - -.pg-filter-container { - padding-top: 0.75rem; - padding-bottom: 0.75rem; -} - -select { - background-image: unset !important; -} - -.pg-enabled-filters-base { - margin-top: 0.5rem; - display: flex; - flex-wrap: wrap; - align-items: center; - gap: 0.5rem; -} - -@media (min-width: 768px) { - - .pg-enabled-filters-base { - margin-top: 0px; - } -} - +[x-cloak]{display:none}table{width:100%}.btn-light{background-color:#fff;border-color:#d7dbdf;color:#000;font-size:.85rem}.form-control:disabled,.form-control[readonly]{background-color:#fff!important;opacity:1}.btn-light:hover{background-color:#fff;border-color:#d7dbdf;color:#000;font-size:.85rem}.btn-light,.has-search .form-control{padding-left:10px!important}.table .checkbox-column{max-width:50px!important;text-align:center;width:50px!important}.accordion-button{padding:.7rem}.btn-light,.has-search .form-control{padding-left:2.375rem}.page-link{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-right-width:1px;color:rgb(30 64 175/var(--tw-text-opacity));display:block;font-size:.875rem;line-height:1.25rem;outline:2px solid transparent;outline-offset:2px;padding-bottom:.5rem;padding-top:.5rem;text-align:center;width:3rem}.page-link:last-child{border-width:0}.page-item.active .page-link,.page-link:hover{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(29 78 216/var(--tw-bg-opacity));border-color:rgb(29 78 216/var(--tw-border-opacity));color:rgb(255 255 255/var(--tw-text-opacity))}.page-item.disabled .page-link{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.page-link{color:gray!important}.page-item.active .page-link{background-color:gray;border-color:gray;color:#fff!important}.loader{animation:spinner 1.5s linear infinite;border-top-color:#222}@keyframes spinner{0%{transform:rotate(0)}to{transform:rotate(1turn)}}table thead{color:#6b6a6a;font-size:.75rem;padding-bottom:8px;padding-left:15px;padding-top:8px;text-transform:uppercase}.badge{font-size:.77em}.btn,.form-control{box-shadow:none!important}.btn-group-vertical>.btn,.btn-group>.btn{border-color:#ced4da!important;flex:1 1 auto;position:relative}[x-ref=editable].pg-single-line{overflow:hidden;white-space:nowrap}[x-ref=editable].pg-single-line br{display:none}[x-ref=editable].pg-single-line *{display:inline;white-space:nowrap}[x-ref=editable][placeholder]:empty:before{background-color:transparent;color:gray;content:attr(placeholder);position:absolute}.power-grid-button{width:100%}.pg-btn-white{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(226 232 240/var(--tw-ring-opacity));align-items:center;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(203 213 225/var(--tw-border-opacity));border-radius:.5rem;border-width:1px;color:rgb(100 116 139/var(--tw-text-opacity));-moz-column-gap:.5rem;column-gap:.5rem;display:inline-flex;font-size:.875rem;justify-content:center;line-height:1.25rem;outline:2px solid transparent;outline-offset:2px;padding:.5rem .75rem}.pg-btn-white:hover{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(241 245 249/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.pg-btn-white:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-offset-width:1px;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.pg-btn-white:disabled{cursor:not-allowed;opacity:.8}.bs5-rotate-0{transform:rotate(0deg);transition:all .3s ease}.bs5-rotate-90{transform:rotate(90deg);transition:all .3s ease}.bs5-w-h-1_5em{height:1.5em;width:1.5em}.pg-actions{display:flex;gap:.5rem;width:100%}.pg-filter-container{padding-bottom:.75rem;padding-top:.75rem}select{background-image:unset!important}.pg-enabled-filters-base{align-items:center;display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.5rem}@media (min-width:768px){.pg-enabled-filters-base{margin-top:0}} diff --git a/dist/powergrid.js b/dist/powergrid.js index 5e648b23..04d61fd1 100644 --- a/dist/powergrid.js +++ b/dist/powergrid.js @@ -1,15555 +1,2 @@ -/******/ (() => { // webpackBootstrap -/******/ var __webpack_modules__ = ({ - -/***/ "./resources/js/components/directives/index.js": -/*!*****************************************************!*\ - !*** ./resources/js/components/directives/index.js ***! - \*****************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony import */ var _multisort_shift_click__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./multisort-shift-click */ "./resources/js/components/directives/multisort-shift-click.js"); -/* harmony import */ var _multisort_shift_click__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_multisort_shift_click__WEBPACK_IMPORTED_MODULE_0__); - - -/***/ }), - -/***/ "./resources/js/components/directives/multisort-shift-click.js": -/*!*********************************************************************!*\ - !*** ./resources/js/components/directives/multisort-shift-click.js ***! - \*********************************************************************/ -/***/ (() => { - -window.Alpine.directive('multisort-shift-click', function (el, _ref) { - var expression = _ref.expression; - el.addEventListener('click', function (event) { - window.Livewire.find(expression).set('multiSort', event.shiftKey); - }); -}); - -/***/ }), - -/***/ "./resources/js/components/index.js": -/*!******************************************!*\ - !*** ./resources/js/components/index.js ***! - \******************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony import */ var _pg_toggleable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./pg-toggleable */ "./resources/js/components/pg-toggleable.js"); -/* harmony import */ var _pg_flatpickr__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./pg-flatpickr */ "./resources/js/components/pg-flatpickr.js"); -/* harmony import */ var _pg_editable__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./pg-editable */ "./resources/js/components/pg-editable.js"); -/* harmony import */ var _pgResponsive__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./pgResponsive */ "./resources/js/components/pgResponsive/index.js"); -/* harmony import */ var _select_tomSelect__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./select/tomSelect */ "./resources/js/components/select/tomSelect.js"); -/* harmony import */ var _select_slimSelect__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./select/slimSelect */ "./resources/js/components/select/slimSelect.js"); -/* harmony import */ var _pg_load_more__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./pg-load-more */ "./resources/js/components/pg-load-more.js"); - - - - - - - -window.pgToggleable = _pg_toggleable__WEBPACK_IMPORTED_MODULE_0__["default"]; -window.pgFlatpickr = _pg_flatpickr__WEBPACK_IMPORTED_MODULE_1__["default"]; -window.pgEditable = _pg_editable__WEBPACK_IMPORTED_MODULE_2__["default"]; -window.pgResponsive = _pgResponsive__WEBPACK_IMPORTED_MODULE_3__["default"]; -window.pgTomSelect = _select_tomSelect__WEBPACK_IMPORTED_MODULE_4__["default"]; -window.pgSlimSelect = _select_slimSelect__WEBPACK_IMPORTED_MODULE_5__["default"]; -window.pgLoadMore = _pg_load_more__WEBPACK_IMPORTED_MODULE_6__["default"]; -Livewire.hook('commit', function (_ref) { - var component = _ref.component, - succeed = _ref.succeed, - fail = _ref.fail; - if (component.ephemeral.setUp && component.ephemeral.setUp.hasOwnProperty('responsive')) { - succeed(function () { - queueMicrotask(function () { - window.dispatchEvent(new CustomEvent('pg-livewire-request-finished')); - }); - }); - fail(function () { - window.dispatchEvent(new CustomEvent('pg-livewire-request-finished')); - }); - } -}); - -/***/ }), - -/***/ "./resources/js/components/pg-editable.js": -/*!************************************************!*\ - !*** ./resources/js/components/pg-editable.js ***! - \************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) -/* harmony export */ }); -/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (function (params) { - var _params$tableName, _params$id, _params$dataField; - return { - theme: params.theme, - editable: false, - tableName: (_params$tableName = params.tableName) !== null && _params$tableName !== void 0 ? _params$tableName : null, - id: (_params$id = params.id) !== null && _params$id !== void 0 ? _params$id : null, - dataField: (_params$dataField = params.dataField) !== null && _params$dataField !== void 0 ? _params$dataField : null, - content: params.content, - oldContent: null, - fallback: params.fallback, - hash: null, - hashError: true, - showEditable: false, - editableInput: '', - inputClass: params.inputClass, - saveOnMouseOut: params.saveOnMouseOut, - init: function init() { - var _this = this; - if (this.content.length === 0 && this.fallback) { - this.content = this.htmlSpecialChars(this.fallback); - } - this.hash = this.dataField + '-' + this.id; - this.$watch('editable', function (value) { - if (value) { - var showEditable = false; - _this.showEditable = false; - _this.content = _this.htmlSpecialChars(_this.content); - _this.oldContent = _this.content; - var editablePending = window.editablePending.notContains(_this.hash); - _this.hashError = editablePending; - if (editablePending) { - var pendingHash = window.editablePending.pending[0]; - document.getElementById('clickable-' + pendingHash).click(); - } else { - showEditable = true; - } - _this.editableInput = "\n \n "); - _this.$nextTick(function () { - return setTimeout(function () { - _this.showEditable = showEditable; - _this.focus(); - }, 150); - }); - } - }); - this.content = this.htmlSpecialChars(this.content); - }, - save: function save() { - var _this2 = this; - if (this.$el.textContent == this.oldContent) { - this.editable = false; - this.showEditable = false; - return; - } - setTimeout(function () { - window.addEventListener('pg:editable-close-' + _this2.id, function () { - window.editablePending.clear(); - _this2.editable = false; - _this2.showEditable = false; - }); - if (!window.editablePending.has(_this2.hash)) { - window.editablePending.set(_this2.hash); - } - _this2.$wire.dispatch('pg:editable-' + _this2.tableName, { - id: _this2.id, - value: _this2.$el.textContent, - field: _this2.dataField - }); - _this2.oldContent = null; - _this2.$nextTick(function () { - return setTimeout(function () { - _this2.focus(); - setTimeout(function () { - return _this2.$el.setAttribute('value', ''); - }, 200); - }, 100); - }); - }, 100); - this.content = this.htmlSpecialChars(this.$el.textContent); - }, - focus: function focus() { - var selection = window.getSelection(); - var range = document.createRange(); - selection.removeAllRanges(); - range.selectNodeContents(this.$el); - range.collapse(false); - selection.addRange(range); - this.$el.focus(); - }, - cancel: function cancel() { - this.$refs.editable.textContent = this.oldContent; - this.content = this.oldContent; - this.editable = false; - this.showEditable = false; - }, - htmlSpecialChars: function htmlSpecialChars(string) { - var el = document.createElement('div'); - el.innerHTML = string; - return el.textContent; - } - }; -}); - -/***/ }), - -/***/ "./resources/js/components/pg-flatpickr.js": -/*!*************************************************!*\ - !*** ./resources/js/components/pg-flatpickr.js ***! - \*************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) -/* harmony export */ }); -function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); } -function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; } -function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; } -function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } -function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); } -function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); } -/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (function (params) { - var _params$label, _params$locale, _params$onlyFuture, _params$noWeekEnds, _params$customConfig; - return { - dataField: params.dataField, - tableName: params.tableName, - label: (_params$label = params.label) !== null && _params$label !== void 0 ? _params$label : null, - locale: (_params$locale = params.locale) !== null && _params$locale !== void 0 ? _params$locale : 'en', - onlyFuture: (_params$onlyFuture = params.onlyFuture) !== null && _params$onlyFuture !== void 0 ? _params$onlyFuture : false, - noWeekEnds: (_params$noWeekEnds = params.noWeekEnds) !== null && _params$noWeekEnds !== void 0 ? _params$noWeekEnds : false, - customConfig: (_params$customConfig = params.customConfig) !== null && _params$customConfig !== void 0 ? _params$customConfig : null, - type: params.type, - element: null, - selectedDates: null, - init: function init() { - var _this = this; - if (typeof flatpickr == "undefined") { - console.log('%c%s', 'color: #f59e0c; font-size: 1.2em; font-weight: bold; line-height: 1.5', " PowerGrid"); - console.error('%c%s', 'font-size: 1em; line-height: 1.5', "\nFailed to mount filter: Filter::datetime('".concat(this.dataField, "') on table ['").concat(this.tableName, "']\n\n\u2022 Install flatpickr: npm install flatpickr\n\n\u2022 Add 'import flatpickr from \"flatpickr\"' in resources/js/app.js file\n ")); - } - window.addEventListener("pg:clear_flatpickr::".concat(this.tableName, ":").concat(this.dataField), function () { - if (_this.$refs.rangeInput && _this.element) { - _this.element.clear(); - } - }); - window.addEventListener("pg:clear_all_flatpickr::".concat(this.tableName), function () { - if (_this.$refs.rangeInput && _this.element) { - _this.element.clear(); - } - }); - var lang = this.locale.locale; - if (typeof lang !== 'undefined' && typeof flatpickr != "undefined") { - this.locale.locale = __webpack_require__("./node_modules/flatpickr/dist/l10n sync recursive ^\\.\\/.*\\.js$")("./" + lang + ".js")["default"][lang]; - } - var options = this.getOptions(); - if (this.$refs.rangeInput && typeof flatpickr != "undefined") { - this.element = flatpickr(this.$refs.rangeInput, options); - this.selectedDates = this.$wire.get("filters.".concat(this.type, ".").concat(this.dataField, ".formatted")); - this.element.setDate(this.selectedDates); - } - }, - getOptions: function getOptions() { - var _this2 = this; - var options = _objectSpread(_objectSpread({ - mode: 'range', - defaultHour: 0 - }, this.locale), this.customConfig); - if (this.onlyFuture) { - options.minDate = 'today'; - } - if (this.noWeekEnds) { - options.disable = [function (date) { - return date.getDay() === 0 || date.getDay() === 6; - }]; - } - options.onClose = function (selectedDates, dateStr, instance) { - selectedDates = selectedDates.map(function (date) { - return _this2.element.formatDate(date, 'Y-m-d'); - }); - if (selectedDates.length > 0 && _this2.selectedDates !== dateStr) { - var _this2$customConfig$t; - Livewire.dispatch('pg:datePicker-' + _this2.tableName, { - selectedDates: selectedDates, - dateStr: dateStr, - timezone: (_this2$customConfig$t = _this2.customConfig.timezone) !== null && _this2$customConfig$t !== void 0 ? _this2$customConfig$t : new Date().toString().match(/([-\+][0-9]+)\s/)[1], - type: _this2.type, - field: _this2.dataField, - label: _this2.label - }); - } - }; - return options; - } - }; -}); - -/***/ }), - -/***/ "./resources/js/components/pg-load-more.js": -/*!*************************************************!*\ - !*** ./resources/js/components/pg-load-more.js ***! - \*************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) -/* harmony export */ }); -/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (function () { - return { - init: function init() { - var _this = this; - Livewire.on('pg:scrollTop', function (event) { - setTimeout(function () { - document.querySelector('body').scrollIntoView({ - behavior: 'auto' - }); - }, 0); - }); - var observer = new IntersectionObserver(function (entries) { - if (entries[0].isIntersecting) { - _this.$wire.call('loadMore'); - } - }, { - rootMargin: '300px' - }); - observer.observe(this.$el); - } - }; -}); - -/***/ }), - -/***/ "./resources/js/components/pg-toggleable.js": -/*!**************************************************!*\ - !*** ./resources/js/components/pg-toggleable.js ***! - \**************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) -/* harmony export */ }); -/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (function (params) { - var _params$field, _params$tableName, _params$enabled; - return { - field: (_params$field = params.field) !== null && _params$field !== void 0 ? _params$field : null, - tableName: (_params$tableName = params.tableName) !== null && _params$tableName !== void 0 ? _params$tableName : null, - enabled: (_params$enabled = params.enabled) !== null && _params$enabled !== void 0 ? _params$enabled : false, - id: params.id, - trueValue: params.trueValue, - falseValue: params.falseValue, - toggle: params.toggle, - save: function save() { - this.toggle = this.toggle === 0 ? 1 : 0; - this.$wire.dispatch('pg:toggleable-' + this.tableName, { - id: this.id, - field: this.field, - value: this.toggle - }); - } - }; -}); - -/***/ }), - -/***/ "./resources/js/components/pgResponsive/index.js": -/*!*******************************************************!*\ - !*** ./resources/js/components/pgResponsive/index.js ***! - \*******************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) -/* harmony export */ }); -/* harmony import */ var _onResize__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./onResize */ "./resources/js/components/pgResponsive/onResize.js"); - -/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (function () { - return { - running: false, - expanded: null, - element: null, - hasHiddenElements: false, - size: 0, - toggleExpanded: function toggleExpanded(index) { - this.expanded = this.expanded == index ? null : index; - }, - init: function init() { - var _this = this; - this.$nextTick(function () { - _this.handleResize(); - _this.observeElement(); - window.addEventListener('pg-livewire-request-finished', function () { - setTimeout(function () { - return _this.handleResize(); - }, 5); - }); - }); - }, - handleResize: function handleResize() { - var _element$querySelecto; - var element = this.$el; - (0,_onResize__WEBPACK_IMPORTED_MODULE_0__["default"])(element); - this.hasHiddenElements = (_element$querySelecto = element.querySelector('table tbody[expand] tr td div')) === null || _element$querySelecto === void 0 ? void 0 : _element$querySelecto.innerHTML; - if (!this.hasHiddenElements) this.expanded = null; - }, - observeElement: function observeElement() { - var _this2 = this; - var resizeObserver = new ResizeObserver(function (entries) { - entries.forEach(function (entry) { - if (entry.contentRect.width > 0) { - if (_this2.size === _this2.$el.getBoundingClientRect().width) { - return; - } - _this2.size = _this2.$el.getBoundingClientRect().width; - _this2.handleResize(); - } - }); - }); - resizeObserver.observe(this.$el); - } - }; -}); - -/***/ }), - -/***/ "./resources/js/components/pgResponsive/onResize.js": -/*!**********************************************************!*\ - !*** ./resources/js/components/pgResponsive/onResize.js ***! - \**********************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__) -/* harmony export */ }); -function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; } -function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } -function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; } -function showAllItems(element) { - element.querySelectorAll("tbody tr td").forEach(function (el) { - el.classList.remove('hidden'); - }); - element.querySelectorAll("thead tr th").forEach(function (el) { - el.classList.remove('hidden'); - }); -} -function getTableUtilWidth(element) { - var fixedSpace = 0; - var fixedItems = element.querySelectorAll('table thead tr:nth-child(1) th[fixed]'); - var elementWidth = getElementWidth(element); - fixedItems.forEach(function (element) { - fixedSpace += getElementWidth(element); - }); - return elementWidth - fixedSpace; -} -function getItemsToHide(element, tableWidth) { - var items = [].slice.call(element.querySelectorAll('table thead tr:nth-child(1) th')); - var itemsSorted = [].slice.call(items).sort(function (a, b) { - var _a$getAttribute, _b$getAttribute; - var firstSortOrder = (_a$getAttribute = a.getAttribute('sort_order')) !== null && _a$getAttribute !== void 0 ? _a$getAttribute : 999; - var secondSortOrder = (_b$getAttribute = b.getAttribute('sort_order')) !== null && _b$getAttribute !== void 0 ? _b$getAttribute : 999; - return firstSortOrder - secondSortOrder; - }); - var calc = 0; - var fitsMoreItems = true; - var itemsToHide = []; - itemsSorted.forEach(function (item) { - var itemWidth = getElementWidth(item); - if (item.getAttribute('fixed') !== null) { - return; - } - if (fitsMoreItems && calc <= tableWidth && calc + itemWidth <= tableWidth) { - calc += itemWidth; - } else { - itemsToHide.push(items.indexOf(item) + 1); - fitsMoreItems = false; - } - }); - return itemsToHide; -} -function hideItems(element, items) { - var _iterator = _createForOfIteratorHelper(items), - _step; - try { - for (_iterator.s(); !(_step = _iterator.n()).done;) { - var item = _step.value; - element.querySelectorAll("tbody:not(tbody[expand]) tr td:nth-child(".concat(item, ")")).forEach(function (el) { - el.classList.add('hidden'); - }); - element.querySelectorAll("thead tr th:nth-child(".concat(item, ")")).forEach(function (el) { - el.classList.add('hidden'); - }); - } - } catch (err) { - _iterator.e(err); - } finally { - _iterator.f(); - } -} -function fillTableExpand(element, hideItems) { - if (!element.querySelectorAll('table tbody[expand] tr td div').length) return; - var _iterator2 = _createForOfIteratorHelper(element.querySelectorAll('table tbody[expand] tr td div')), - _step2; - try { - for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) { - var expands = _step2.value; - expands.innerHTML = ""; - } - } catch (err) { - _iterator2.e(err); - } finally { - _iterator2.f(); - } - if (!hideItems.length) return; - var _iterator3 = _createForOfIteratorHelper(hideItems), - _step3; - try { - for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) { - var hideItem = _step3.value; - var rows = element.querySelectorAll('table tbody:not(tbody[expand])'); - var _iterator4 = _createForOfIteratorHelper(rows), - _step4; - try { - for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) { - var _row$nextElementSibli, _row$querySelector; - var row = _step4.value; - var expandContainer = (_row$nextElementSibli = row.nextElementSibling) === null || _row$nextElementSibli === void 0 ? void 0 : _row$nextElementSibli.querySelector('tr td div'); - if (!expandContainer) continue; - var rowName = element.querySelector("table thead tr th:nth-child(".concat(hideItem, ") span[data-value]")).textContent; - var rowValue = (_row$querySelector = row.querySelector("tr:last-child td:nth-child(".concat(hideItem, ")"))) === null || _row$querySelector === void 0 ? void 0 : _row$querySelector.innerHTML; - if (rowName.length) { - rowName += ':'; - } - if (!expandContainer.querySelector("div[data-expand-item-".concat(hideItem, "]"))) { - expandContainer.innerHTML += "
\n ").concat(rowName, "\n ").concat(rowValue, "\n
"); - } - } - } catch (err) { - _iterator4.e(err); - } finally { - _iterator4.f(); - } - } - } catch (err) { - _iterator3.e(err); - } finally { - _iterator3.f(); - } -} -function getElementWidth(element) { - return parseFloat(element.getBoundingClientRect().width.toFixed(2)); -} -/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(element) { - showAllItems(element); - var tableUtilWidth = getTableUtilWidth(element); - var itemsToHide = getItemsToHide(element, tableUtilWidth); - fillTableExpand(element, itemsToHide); - hideItems(element, itemsToHide); -} -; - -/***/ }), - -/***/ "./resources/js/components/select/slimSelect.js": -/*!******************************************************!*\ - !*** ./resources/js/components/select/slimSelect.js ***! - \******************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) -/* harmony export */ }); -/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./store */ "./resources/js/components/select/store.js"); -function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); } -function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; } -function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; } -function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } -function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); } -function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); } - -/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (function (params) { - return { - initialValues: params.initialValues, - framework: params.framework, - init: function init() { - var element = this.$refs["select_picker_" + params.dataField + "_" + params.tableName]; - var frameworkCopy = this.deepCopy(this.framework); - new window.SlimSelect(_objectSpread(_objectSpread({ - select: element - }, frameworkCopy), {}, { - events: { - afterChange: function afterChange(value) { - var newValue = value.map(function (item) { - return item.value; - }); - (0,_store__WEBPACK_IMPORTED_MODULE_0__.storeMultiSelect)(params, newValue); - } - } - })); - }, - deepCopy: function deepCopy(obj) { - if (obj === null || _typeof(obj) !== 'object') { - return obj; - } - if (Array.isArray(obj)) { - return obj.map(this.deepCopy); - } - var copy = {}; - for (var key in obj) { - if (obj.hasOwnProperty(key)) { - copy[key] = this.deepCopy(obj[key]); - } - } - return copy; - } - }; -}); - -/***/ }), - -/***/ "./resources/js/components/select/store.js": -/*!*************************************************!*\ - !*** ./resources/js/components/select/store.js ***! - \*************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ storeMultiSelect: () => (/* binding */ storeMultiSelect) -/* harmony export */ }); -var dispatch = function dispatch(listener, params, value) { - Livewire.dispatch("".concat(listener, "-").concat(params.tableName), { - label: params.label, - field: params.dataField, - values: value - }); -}; -var storeMultiSelect = function storeMultiSelect(params, value) { - dispatch('pg:multiSelect', params, value); -}; - - -/***/ }), - -/***/ "./resources/js/components/select/tomSelect.js": -/*!*****************************************************!*\ - !*** ./resources/js/components/select/tomSelect.js ***! - \*****************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) -/* harmony export */ }); -/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./store */ "./resources/js/components/select/store.js"); -/* harmony import */ var tom_select__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! tom-select */ "./node_modules/tom-select/dist/js/tom-select.complete.js"); -/* harmony import */ var tom_select__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(tom_select__WEBPACK_IMPORTED_MODULE_1__); -function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); } -function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return e; }; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; } try { define({}, ""); } catch (t) { define = function define(t, e, r) { return t[e] = r; }; } function wrap(t, e, r, n) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []); return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a; } function tryCatch(t, e, r) { try { return { type: "normal", arg: t.call(e, r) }; } catch (t) { return { type: "throw", arg: t }; } } e.wrap = wrap; var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var p = {}; define(p, a, function () { return this; }); var d = Object.getPrototypeOf, v = d && d(d(values([]))); v && v !== r && n.call(v, a) && (p = v); var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); function defineIteratorMethods(t) { ["next", "throw", "return"].forEach(function (e) { define(t, e, function (t) { return this._invoke(e, t); }); }); } function AsyncIterator(t, e) { function invoke(r, o, i, a) { var c = tryCatch(t[r], t, o); if ("throw" !== c.type) { var u = c.arg, h = u.value; return h && "object" == _typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) { invoke("next", t, i, a); }, function (t) { invoke("throw", t, i, a); }) : e.resolve(h).then(function (t) { u.value = t, i(u); }, function (t) { return invoke("throw", t, i, a); }); } a(c.arg); } var r; o(this, "_invoke", { value: function value(t, n) { function callInvokeWithMethodAndArg() { return new e(function (e, r) { invoke(t, n, e, r); }); } return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(e, r, n) { var o = h; return function (i, a) { if (o === f) throw new Error("Generator is already running"); if (o === s) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var c = n.delegate; if (c) { var u = maybeInvokeDelegate(c, n); if (u) { if (u === y) continue; return u; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (o === h) throw o = s, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = f; var p = tryCatch(e, r, n); if ("normal" === p.type) { if (o = n.done ? s : l, p.arg === y) continue; return { value: p.arg, done: n.done }; } "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg); } }; } function maybeInvokeDelegate(e, r) { var n = r.method, o = e.iterator[n]; if (o === t) return r.delegate = null, "throw" === n && e.iterator["return"] && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y; var i = tryCatch(o, e.iterator, r.arg); if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y; var a = i.arg; return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y); } function pushTryEntry(t) { var e = { tryLoc: t[0] }; 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e); } function resetTryEntry(t) { var e = t.completion || {}; e.type = "normal", delete e.arg, t.completion = e; } function Context(t) { this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(!0); } function values(e) { if (e || "" === e) { var r = e[a]; if (r) return r.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) { var o = -1, i = function next() { for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next; return next.value = t, next.done = !0, next; }; return i.next = i; } } throw new TypeError(_typeof(e) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) { var e = "function" == typeof t && t.constructor; return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name)); }, e.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t; }, e.awrap = function (t) { return { __await: t }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () { return this; }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(wrap(t, r, n, o), i); return e.isGeneratorFunction(r) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () { return this; }), define(g, "toString", function () { return "[object Generator]"; }), e.keys = function (t) { var e = Object(t), r = []; for (var n in e) r.push(n); return r.reverse(), function next() { for (; r.length;) { var t = r.pop(); if (t in e) return next.value = t, next.done = !1, next; } return next.done = !0, next; }; }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) { if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0].completion; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(e) { if (this.done) throw e; var r = this; function handle(n, o) { return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o; } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i.completion; if ("root" === i.tryLoc) return handle("end"); if (i.tryLoc <= this.prev) { var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc"); if (c && u) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } else if (c) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); } else { if (!u) throw new Error("try statement without catch or finally"); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } } } }, abrupt: function abrupt(t, e) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var o = this.tryEntries[r]; if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) { var i = o; break; } } i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null); var a = i ? i.completion : {}; return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a); }, complete: function complete(t, e) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y; }, finish: function finish(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y; } }, "catch": function _catch(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.tryLoc === t) { var n = r.completion; if ("throw" === n.type) { var o = n.arg; resetTryEntry(r); } return o; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(e, r, n) { return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, "next" === this.method && (this.arg = t), y; } }, e; } -function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } } -function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; } -function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; } -function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; } -function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } -function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); } -function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); } - - -/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (function (params) { - return { - init: function init() { - var element = this.$refs["select_picker_".concat(params.dataField, "_").concat(params.tableName)]; - var defaultParams = _objectSpread(_objectSpread({ - items: params.initialValues - }, params.framework), {}, { - onChange: function onChange(value) { - (0,_store__WEBPACK_IMPORTED_MODULE_0__.storeMultiSelect)(params, value); - }, - onInitialize: function onInitialize() { - window.addEventListener("pg:clear_multi_select::".concat(params.tableName, ":").concat(params.dataField), function () { - if (element) { - element.tomselect.clear(true); - } - }); - window.addEventListener("pg:clear_all_multi_select::".concat(params.tableName), function () { - if (element) { - element.tomselect.clear(true); - } - }); - } - }); - var asyncConfig = { - valueField: params.optionValue, - labelField: params.optionLabel, - searchField: params.optionLabel, - load: function () { - var _load = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(query, callback) { - var makeRequest; - return _regeneratorRuntime().wrap(function _callee$(_context) { - while (1) switch (_context.prev = _context.next) { - case 0: - makeRequest = function _makeRequest(asyncData, query) { - var _document$head$queryS; - var method = asyncData.method, - url = asyncData.url; - var request = new Request(url, { - method: method, - body: method === 'POST' ? JSON.stringify(_objectSpread({ - search: query - }, parameters)) : undefined - }); - request.headers.set('Content-Type', 'application/json'); - request.headers.set('Accept', 'application/json'); - request.headers.set('X-Requested-With', 'XMLHttpRequest'); - var csrfToken = (_document$head$queryS = document.head.querySelector('[name="csrf-token"]')) === null || _document$head$queryS === void 0 ? void 0 : _document$head$queryS.getAttribute('content'); - if (csrfToken) { - request.headers.set('X-CSRF-TOKEN', csrfToken); - } - return request; - }; - fetch(makeRequest(params.asyncData, query)).then(function (response) { - return response.json(); - }).then(function (json) { - callback(json); - })["catch"](function () { - callback(); - }); - case 2: - case "end": - return _context.stop(); - } - }, _callee); - })); - function load(_x, _x2) { - return _load.apply(this, arguments); - } - return load; - }(), - render: { - option: function option(item, escape) { - return "
".concat(escape(item[params.optionLabel]), "
"); - }, - item: function item(_item, escape) { - return "
".concat(escape(_item[params.optionLabel]), "
"); - } - } - }; - var parameters = defaultParams; - if (params.hasOwnProperty('asyncData')) { - parameters = Object.assign(defaultParams, asyncConfig); - } - new (tom_select__WEBPACK_IMPORTED_MODULE_1___default())(element, parameters); - } - }; -}); - -/***/ }), - -/***/ "./resources/js/index.js": -/*!*******************************!*\ - !*** ./resources/js/index.js ***! - \*******************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony import */ var _stores__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./stores */ "./resources/js/stores/index.js"); -/* harmony import */ var _stores__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_stores__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var _components__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./components */ "./resources/js/components/index.js"); -/* harmony import */ var _components_directives__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./components/directives */ "./resources/js/components/directives/index.js"); - - - - -/***/ }), - -/***/ "./resources/js/stores/index.js": -/*!**************************************!*\ - !*** ./resources/js/stores/index.js ***! - \**************************************/ -/***/ (() => { - -document.addEventListener('alpine:init', function () { - window.Alpine.store('editablePending', { - pending: [], - set: function set(value) { - this.pending.push(value); - }, - has: function has(value) { - return this.pending.includes(value); - }, - notContains: function notContains(value) { - return this.pending.length > 0 && !this.pending.includes(value); - }, - clear: function clear() { - this.pending = []; - }, - isNotEmpty: function isNotEmpty() { - return this.pending.length > 0; - } - }); - window.Alpine.store('pgBulkActions', { - selected: [], - init: function init() { - var _this = this; - window.addEventListener('pgBulkActions::addMore', function (event) { - var params = event.__livewire.params[0]; - if (typeof _this.selected[params.tableName] == 'undefined') { - _this.selected[params.tableName] = []; - } - _this.selected[params.tableName].push(params.value); - }); - window.addEventListener('pgBulkActions::clear', function (event) { - _this.clear(event.detail); - }); - window.addEventListener('pgBulkActions::clearAll', function () { - _this.clearAll(); - }); - }, - add: function add(value, tableName) { - if (typeof this.selected[tableName] == 'undefined') { - this.selected[tableName] = []; - } - if (!this.selected[tableName].includes(parseFloat(value))) { - this.selected[tableName].push(parseFloat(value)); - return; - } - this.remove(parseFloat(value), tableName); - }, - remove: function remove(value, tableName) { - var index = this.selected[tableName].indexOf(value); - if (index > -1) { - this.selected[tableName].splice(index, 1); - } - }, - get: function get(tableName) { - return this.selected[tableName]; - }, - count: function count(tableName) { - if (typeof this.selected[tableName] == 'undefined') { - return 0; - } - return this.selected[tableName].length; - }, - clear: function clear(tableName) { - this.selected[tableName] = []; - }, - clearAll: function clearAll() { - this.selected = []; - } - }); - window.editablePending = window.Alpine.store('editablePending'); - window.pgBulkActions = window.Alpine.store('pgBulkActions'); -}); - -/***/ }), - -/***/ "./node_modules/flatpickr/dist/l10n/ar-dz.js": -/*!***************************************************!*\ - !*** ./node_modules/flatpickr/dist/l10n/ar-dz.js ***! - \***************************************************/ -/***/ (function(__unused_webpack_module, exports) { - -(function (global, factory) { - true ? factory(exports) : - 0; -}(this, (function (exports) { 'use strict'; - - var fp = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var AlgerianArabic = { - weekdays: { - shorthand: ["أحد", "اثنين", "ثلاثاء", "أربعاء", "خميس", "جمعة", "سبت"], - longhand: [ - "الأحد", - "الاثنين", - "الثلاثاء", - "الأربعاء", - "الخميس", - "الجمعة", - "السبت", - ], - }, - months: { - shorthand: ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], - longhand: [ - "جانفي", - "فيفري", - "مارس", - "أفريل", - "ماي", - "جوان", - "جويليه", - "أوت", - "سبتمبر", - "أكتوبر", - "نوفمبر", - "ديسمبر", - ], - }, - firstDayOfWeek: 0, - rangeSeparator: " إلى ", - weekAbbreviation: "Wk", - scrollTitle: "قم بالتمرير للزيادة", - toggleTitle: "اضغط للتبديل", - yearAriaLabel: "سنة", - monthAriaLabel: "شهر", - hourAriaLabel: "ساعة", - minuteAriaLabel: "دقيقة", - time_24hr: true, - }; - fp.l10ns.ar = AlgerianArabic; - var arDz = fp.l10ns; - - exports.AlgerianArabic = AlgerianArabic; - exports.default = arDz; - - Object.defineProperty(exports, '__esModule', { value: true }); - -}))); - - -/***/ }), - -/***/ "./node_modules/flatpickr/dist/l10n/ar.js": -/*!************************************************!*\ - !*** ./node_modules/flatpickr/dist/l10n/ar.js ***! - \************************************************/ -/***/ (function(__unused_webpack_module, exports) { - -(function (global, factory) { - true ? factory(exports) : - 0; -}(this, (function (exports) { 'use strict'; - - var fp = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Arabic = { - weekdays: { - shorthand: ["أحد", "اثنين", "ثلاثاء", "أربعاء", "خميس", "جمعة", "سبت"], - longhand: [ - "الأحد", - "الاثنين", - "الثلاثاء", - "الأربعاء", - "الخميس", - "الجمعة", - "السبت", - ], - }, - months: { - shorthand: ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], - longhand: [ - "يناير", - "فبراير", - "مارس", - "أبريل", - "مايو", - "يونيو", - "يوليو", - "أغسطس", - "سبتمبر", - "أكتوبر", - "نوفمبر", - "ديسمبر", - ], - }, - firstDayOfWeek: 6, - rangeSeparator: " إلى ", - weekAbbreviation: "Wk", - scrollTitle: "قم بالتمرير للزيادة", - toggleTitle: "اضغط للتبديل", - amPM: ["ص", "م"], - yearAriaLabel: "سنة", - monthAriaLabel: "شهر", - hourAriaLabel: "ساعة", - minuteAriaLabel: "دقيقة", - time_24hr: false, - }; - fp.l10ns.ar = Arabic; - var ar = fp.l10ns; - - exports.Arabic = Arabic; - exports.default = ar; - - Object.defineProperty(exports, '__esModule', { value: true }); - -}))); - - -/***/ }), - -/***/ "./node_modules/flatpickr/dist/l10n/at.js": -/*!************************************************!*\ - !*** ./node_modules/flatpickr/dist/l10n/at.js ***! - \************************************************/ -/***/ (function(__unused_webpack_module, exports) { - -(function (global, factory) { - true ? factory(exports) : - 0; -}(this, (function (exports) { 'use strict'; - - var fp = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Austria = { - weekdays: { - shorthand: ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"], - longhand: [ - "Sonntag", - "Montag", - "Dienstag", - "Mittwoch", - "Donnerstag", - "Freitag", - "Samstag", - ], - }, - months: { - shorthand: [ - "Jän", - "Feb", - "Mär", - "Apr", - "Mai", - "Jun", - "Jul", - "Aug", - "Sep", - "Okt", - "Nov", - "Dez", - ], - longhand: [ - "Jänner", - "Februar", - "März", - "April", - "Mai", - "Juni", - "Juli", - "August", - "September", - "Oktober", - "November", - "Dezember", - ], - }, - firstDayOfWeek: 1, - weekAbbreviation: "KW", - rangeSeparator: " bis ", - scrollTitle: "Zum Ändern scrollen", - toggleTitle: "Zum Umschalten klicken", - time_24hr: true, - }; - fp.l10ns.at = Austria; - var at = fp.l10ns; - - exports.Austria = Austria; - exports.default = at; - - Object.defineProperty(exports, '__esModule', { value: true }); - -}))); - - -/***/ }), - -/***/ "./node_modules/flatpickr/dist/l10n/az.js": -/*!************************************************!*\ - !*** ./node_modules/flatpickr/dist/l10n/az.js ***! - \************************************************/ -/***/ (function(__unused_webpack_module, exports) { - -(function (global, factory) { - true ? factory(exports) : - 0; -}(this, (function (exports) { 'use strict'; - - var fp = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Azerbaijan = { - weekdays: { - shorthand: ["B.", "B.e.", "Ç.a.", "Ç.", "C.a.", "C.", "Ş."], - longhand: [ - "Bazar", - "Bazar ertəsi", - "Çərşənbə axşamı", - "Çərşənbə", - "Cümə axşamı", - "Cümə", - "Şənbə", - ], - }, - months: { - shorthand: [ - "Yan", - "Fev", - "Mar", - "Apr", - "May", - "İyn", - "İyl", - "Avq", - "Sen", - "Okt", - "Noy", - "Dek", - ], - longhand: [ - "Yanvar", - "Fevral", - "Mart", - "Aprel", - "May", - "İyun", - "İyul", - "Avqust", - "Sentyabr", - "Oktyabr", - "Noyabr", - "Dekabr", - ], - }, - firstDayOfWeek: 1, - ordinal: function () { - return "."; - }, - rangeSeparator: " - ", - weekAbbreviation: "Hf", - scrollTitle: "Artırmaq üçün sürüşdürün", - toggleTitle: "Aç / Bağla", - amPM: ["GƏ", "GS"], - time_24hr: true, - }; - fp.l10ns.az = Azerbaijan; - var az = fp.l10ns; - - exports.Azerbaijan = Azerbaijan; - exports.default = az; - - Object.defineProperty(exports, '__esModule', { value: true }); - -}))); - - -/***/ }), - -/***/ "./node_modules/flatpickr/dist/l10n/be.js": -/*!************************************************!*\ - !*** ./node_modules/flatpickr/dist/l10n/be.js ***! - \************************************************/ -/***/ (function(__unused_webpack_module, exports) { - -(function (global, factory) { - true ? factory(exports) : - 0; -}(this, (function (exports) { 'use strict'; - - var fp = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Belarusian = { - weekdays: { - shorthand: ["Нд", "Пн", "Аў", "Ср", "Чц", "Пт", "Сб"], - longhand: [ - "Нядзеля", - "Панядзелак", - "Аўторак", - "Серада", - "Чацвер", - "Пятніца", - "Субота", - ], - }, - months: { - shorthand: [ - "Сту", - "Лют", - "Сак", - "Кра", - "Тра", - "Чэр", - "Ліп", - "Жні", - "Вер", - "Кас", - "Ліс", - "Сне", - ], - longhand: [ - "Студзень", - "Люты", - "Сакавік", - "Красавік", - "Травень", - "Чэрвень", - "Ліпень", - "Жнівень", - "Верасень", - "Кастрычнік", - "Лістапад", - "Снежань", - ], - }, - firstDayOfWeek: 1, - ordinal: function () { - return ""; - }, - rangeSeparator: " — ", - weekAbbreviation: "Тыд.", - scrollTitle: "Пракруціце для павелічэння", - toggleTitle: "Націсніце для пераключэння", - amPM: ["ДП", "ПП"], - yearAriaLabel: "Год", - time_24hr: true, - }; - fp.l10ns.be = Belarusian; - var be = fp.l10ns; - - exports.Belarusian = Belarusian; - exports.default = be; - - Object.defineProperty(exports, '__esModule', { value: true }); - -}))); - - -/***/ }), - -/***/ "./node_modules/flatpickr/dist/l10n/bg.js": -/*!************************************************!*\ - !*** ./node_modules/flatpickr/dist/l10n/bg.js ***! - \************************************************/ -/***/ (function(__unused_webpack_module, exports) { - -(function (global, factory) { - true ? factory(exports) : - 0; -}(this, (function (exports) { 'use strict'; - - var fp = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Bulgarian = { - weekdays: { - shorthand: ["Нд", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб"], - longhand: [ - "Неделя", - "Понеделник", - "Вторник", - "Сряда", - "Четвъртък", - "Петък", - "Събота", - ], - }, - months: { - shorthand: [ - "Яну", - "Фев", - "Март", - "Апр", - "Май", - "Юни", - "Юли", - "Авг", - "Сеп", - "Окт", - "Ное", - "Дек", - ], - longhand: [ - "Януари", - "Февруари", - "Март", - "Април", - "Май", - "Юни", - "Юли", - "Август", - "Септември", - "Октомври", - "Ноември", - "Декември", - ], - }, - time_24hr: true, - firstDayOfWeek: 1, - }; - fp.l10ns.bg = Bulgarian; - var bg = fp.l10ns; - - exports.Bulgarian = Bulgarian; - exports.default = bg; - - Object.defineProperty(exports, '__esModule', { value: true }); - -}))); - - -/***/ }), - -/***/ "./node_modules/flatpickr/dist/l10n/bn.js": -/*!************************************************!*\ - !*** ./node_modules/flatpickr/dist/l10n/bn.js ***! - \************************************************/ -/***/ (function(__unused_webpack_module, exports) { - -(function (global, factory) { - true ? factory(exports) : - 0; -}(this, (function (exports) { 'use strict'; - - var fp = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Bangla = { - weekdays: { - shorthand: ["রবি", "সোম", "মঙ্গল", "বুধ", "বৃহস্পতি", "শুক্র", "শনি"], - longhand: [ - "রবিবার", - "সোমবার", - "মঙ্গলবার", - "বুধবার", - "বৃহস্পতিবার", - "শুক্রবার", - "শনিবার", - ], - }, - months: { - shorthand: [ - "জানু", - "ফেব্রু", - "মার্চ", - "এপ্রিল", - "মে", - "জুন", - "জুলাই", - "আগ", - "সেপ্টে", - "অক্টো", - "নভে", - "ডিসে", - ], - longhand: [ - "জানুয়ারী", - "ফেব্রুয়ারী", - "মার্চ", - "এপ্রিল", - "মে", - "জুন", - "জুলাই", - "আগস্ট", - "সেপ্টেম্বর", - "অক্টোবর", - "নভেম্বর", - "ডিসেম্বর", - ], - }, - }; - fp.l10ns.bn = Bangla; - var bn = fp.l10ns; - - exports.Bangla = Bangla; - exports.default = bn; - - Object.defineProperty(exports, '__esModule', { value: true }); - -}))); - - -/***/ }), - -/***/ "./node_modules/flatpickr/dist/l10n/bs.js": -/*!************************************************!*\ - !*** ./node_modules/flatpickr/dist/l10n/bs.js ***! - \************************************************/ -/***/ (function(__unused_webpack_module, exports) { - -(function (global, factory) { - true ? factory(exports) : - 0; -}(this, (function (exports) { 'use strict'; - - var fp = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Bosnian = { - firstDayOfWeek: 1, - weekdays: { - shorthand: ["Ned", "Pon", "Uto", "Sri", "Čet", "Pet", "Sub"], - longhand: [ - "Nedjelja", - "Ponedjeljak", - "Utorak", - "Srijeda", - "Četvrtak", - "Petak", - "Subota", - ], - }, - months: { - shorthand: [ - "Jan", - "Feb", - "Mar", - "Apr", - "Maj", - "Jun", - "Jul", - "Avg", - "Sep", - "Okt", - "Nov", - "Dec", - ], - longhand: [ - "Januar", - "Februar", - "Mart", - "April", - "Maj", - "Juni", - "Juli", - "Avgust", - "Septembar", - "Oktobar", - "Novembar", - "Decembar", - ], - }, - time_24hr: true, - }; - fp.l10ns.bs = Bosnian; - var bs = fp.l10ns; - - exports.Bosnian = Bosnian; - exports.default = bs; - - Object.defineProperty(exports, '__esModule', { value: true }); - -}))); - - -/***/ }), - -/***/ "./node_modules/flatpickr/dist/l10n/cat.js": -/*!*************************************************!*\ - !*** ./node_modules/flatpickr/dist/l10n/cat.js ***! - \*************************************************/ -/***/ (function(__unused_webpack_module, exports) { - -(function (global, factory) { - true ? factory(exports) : - 0; -}(this, (function (exports) { 'use strict'; - - var fp = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Catalan = { - weekdays: { - shorthand: ["Dg", "Dl", "Dt", "Dc", "Dj", "Dv", "Ds"], - longhand: [ - "Diumenge", - "Dilluns", - "Dimarts", - "Dimecres", - "Dijous", - "Divendres", - "Dissabte", - ], - }, - months: { - shorthand: [ - "Gen", - "Febr", - "Març", - "Abr", - "Maig", - "Juny", - "Jul", - "Ag", - "Set", - "Oct", - "Nov", - "Des", - ], - longhand: [ - "Gener", - "Febrer", - "Març", - "Abril", - "Maig", - "Juny", - "Juliol", - "Agost", - "Setembre", - "Octubre", - "Novembre", - "Desembre", - ], - }, - ordinal: function (nth) { - var s = nth % 100; - if (s > 3 && s < 21) - return "è"; - switch (s % 10) { - case 1: - return "r"; - case 2: - return "n"; - case 3: - return "r"; - case 4: - return "t"; - default: - return "è"; - } - }, - firstDayOfWeek: 1, - rangeSeparator: " a ", - time_24hr: true, - }; - fp.l10ns.cat = fp.l10ns.ca = Catalan; - var cat = fp.l10ns; - - exports.Catalan = Catalan; - exports.default = cat; - - Object.defineProperty(exports, '__esModule', { value: true }); - -}))); - - -/***/ }), - -/***/ "./node_modules/flatpickr/dist/l10n/ckb.js": -/*!*************************************************!*\ - !*** ./node_modules/flatpickr/dist/l10n/ckb.js ***! - \*************************************************/ -/***/ (function(__unused_webpack_module, exports) { - -(function (global, factory) { - true ? factory(exports) : - 0; -}(this, (function (exports) { 'use strict'; - - var fp = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Kurdish = { - weekdays: { - shorthand: [ - "یەکشەممە", - "دووشەممە", - "سێشەممە", - "چوارشەممە", - "پێنجشەممە", - "هەینی", - "شەممە", - ], - longhand: [ - "یەکشەممە", - "دووشەممە", - "سێشەممە", - "چوارشەممە", - "پێنجشەممە", - "هەینی", - "شەممە", - ], - }, - months: { - shorthand: [ - "ڕێبەندان", - "ڕەشەمە", - "نەورۆز", - "گوڵان", - "جۆزەردان", - "پووشپەڕ", - "گەلاوێژ", - "خەرمانان", - "ڕەزبەر", - "گەڵاڕێزان", - "سەرماوەز", - "بەفرانبار", - ], - longhand: [ - "ڕێبەندان", - "ڕەشەمە", - "نەورۆز", - "گوڵان", - "جۆزەردان", - "پووشپەڕ", - "گەلاوێژ", - "خەرمانان", - "ڕەزبەر", - "گەڵاڕێزان", - "سەرماوەز", - "بەفرانبار", - ], - }, - firstDayOfWeek: 6, - ordinal: function () { - return ""; - }, - }; - fp.l10ns.ckb = Kurdish; - var ckb = fp.l10ns; - - exports.Kurdish = Kurdish; - exports.default = ckb; - - Object.defineProperty(exports, '__esModule', { value: true }); - -}))); - - -/***/ }), - -/***/ "./node_modules/flatpickr/dist/l10n/cs.js": -/*!************************************************!*\ - !*** ./node_modules/flatpickr/dist/l10n/cs.js ***! - \************************************************/ -/***/ (function(__unused_webpack_module, exports) { - -(function (global, factory) { - true ? factory(exports) : - 0; -}(this, (function (exports) { 'use strict'; - - var fp = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Czech = { - weekdays: { - shorthand: ["Ne", "Po", "Út", "St", "Čt", "Pá", "So"], - longhand: [ - "Neděle", - "Pondělí", - "Úterý", - "Středa", - "Čtvrtek", - "Pátek", - "Sobota", - ], - }, - months: { - shorthand: [ - "Led", - "Ún", - "Bře", - "Dub", - "Kvě", - "Čer", - "Čvc", - "Srp", - "Zář", - "Říj", - "Lis", - "Pro", - ], - longhand: [ - "Leden", - "Únor", - "Březen", - "Duben", - "Květen", - "Červen", - "Červenec", - "Srpen", - "Září", - "Říjen", - "Listopad", - "Prosinec", - ], - }, - firstDayOfWeek: 1, - ordinal: function () { - return "."; - }, - rangeSeparator: " do ", - weekAbbreviation: "Týd.", - scrollTitle: "Rolujte pro změnu", - toggleTitle: "Přepnout dopoledne/odpoledne", - amPM: ["dop.", "odp."], - yearAriaLabel: "Rok", - time_24hr: true, - }; - fp.l10ns.cs = Czech; - var cs = fp.l10ns; - - exports.Czech = Czech; - exports.default = cs; - - Object.defineProperty(exports, '__esModule', { value: true }); - -}))); - - -/***/ }), - -/***/ "./node_modules/flatpickr/dist/l10n/cy.js": -/*!************************************************!*\ - !*** ./node_modules/flatpickr/dist/l10n/cy.js ***! - \************************************************/ -/***/ (function(__unused_webpack_module, exports) { - -(function (global, factory) { - true ? factory(exports) : - 0; -}(this, (function (exports) { 'use strict'; - - var fp = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Welsh = { - weekdays: { - shorthand: ["Sul", "Llun", "Maw", "Mer", "Iau", "Gwe", "Sad"], - longhand: [ - "Dydd Sul", - "Dydd Llun", - "Dydd Mawrth", - "Dydd Mercher", - "Dydd Iau", - "Dydd Gwener", - "Dydd Sadwrn", - ], - }, - months: { - shorthand: [ - "Ion", - "Chwef", - "Maw", - "Ebr", - "Mai", - "Meh", - "Gorff", - "Awst", - "Medi", - "Hyd", - "Tach", - "Rhag", - ], - longhand: [ - "Ionawr", - "Chwefror", - "Mawrth", - "Ebrill", - "Mai", - "Mehefin", - "Gorffennaf", - "Awst", - "Medi", - "Hydref", - "Tachwedd", - "Rhagfyr", - ], - }, - firstDayOfWeek: 1, - ordinal: function (nth) { - if (nth === 1) - return "af"; - if (nth === 2) - return "ail"; - if (nth === 3 || nth === 4) - return "ydd"; - if (nth === 5 || nth === 6) - return "ed"; - if ((nth >= 7 && nth <= 10) || - nth == 12 || - nth == 15 || - nth == 18 || - nth == 20) - return "fed"; - if (nth == 11 || - nth == 13 || - nth == 14 || - nth == 16 || - nth == 17 || - nth == 19) - return "eg"; - if (nth >= 21 && nth <= 39) - return "ain"; - // Inconclusive. - return ""; - }, - time_24hr: true, - }; - fp.l10ns.cy = Welsh; - var cy = fp.l10ns; - - exports.Welsh = Welsh; - exports.default = cy; - - Object.defineProperty(exports, '__esModule', { value: true }); - -}))); - - -/***/ }), - -/***/ "./node_modules/flatpickr/dist/l10n/da.js": -/*!************************************************!*\ - !*** ./node_modules/flatpickr/dist/l10n/da.js ***! - \************************************************/ -/***/ (function(__unused_webpack_module, exports) { - -(function (global, factory) { - true ? factory(exports) : - 0; -}(this, (function (exports) { 'use strict'; - - var fp = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Danish = { - weekdays: { - shorthand: ["søn", "man", "tir", "ons", "tors", "fre", "lør"], - longhand: [ - "søndag", - "mandag", - "tirsdag", - "onsdag", - "torsdag", - "fredag", - "lørdag", - ], - }, - months: { - shorthand: [ - "jan", - "feb", - "mar", - "apr", - "maj", - "jun", - "jul", - "aug", - "sep", - "okt", - "nov", - "dec", - ], - longhand: [ - "januar", - "februar", - "marts", - "april", - "maj", - "juni", - "juli", - "august", - "september", - "oktober", - "november", - "december", - ], - }, - ordinal: function () { - return "."; - }, - firstDayOfWeek: 1, - rangeSeparator: " til ", - weekAbbreviation: "uge", - time_24hr: true, - }; - fp.l10ns.da = Danish; - var da = fp.l10ns; - - exports.Danish = Danish; - exports.default = da; - - Object.defineProperty(exports, '__esModule', { value: true }); - -}))); - - -/***/ }), - -/***/ "./node_modules/flatpickr/dist/l10n/de.js": -/*!************************************************!*\ - !*** ./node_modules/flatpickr/dist/l10n/de.js ***! - \************************************************/ -/***/ (function(__unused_webpack_module, exports) { - -(function (global, factory) { - true ? factory(exports) : - 0; -}(this, (function (exports) { 'use strict'; - - var fp = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var German = { - weekdays: { - shorthand: ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"], - longhand: [ - "Sonntag", - "Montag", - "Dienstag", - "Mittwoch", - "Donnerstag", - "Freitag", - "Samstag", - ], - }, - months: { - shorthand: [ - "Jan", - "Feb", - "Mär", - "Apr", - "Mai", - "Jun", - "Jul", - "Aug", - "Sep", - "Okt", - "Nov", - "Dez", - ], - longhand: [ - "Januar", - "Februar", - "März", - "April", - "Mai", - "Juni", - "Juli", - "August", - "September", - "Oktober", - "November", - "Dezember", - ], - }, - firstDayOfWeek: 1, - weekAbbreviation: "KW", - rangeSeparator: " bis ", - scrollTitle: "Zum Ändern scrollen", - toggleTitle: "Zum Umschalten klicken", - time_24hr: true, - }; - fp.l10ns.de = German; - var de = fp.l10ns; - - exports.German = German; - exports.default = de; - - Object.defineProperty(exports, '__esModule', { value: true }); - -}))); - - -/***/ }), - -/***/ "./node_modules/flatpickr/dist/l10n/default.js": -/*!*****************************************************!*\ - !*** ./node_modules/flatpickr/dist/l10n/default.js ***! - \*****************************************************/ -/***/ (function(__unused_webpack_module, exports) { - -(function (global, factory) { - true ? factory(exports) : - 0; -}(this, (function (exports) { 'use strict'; - - var english = { - weekdays: { - shorthand: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], - longhand: [ - "Sunday", - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday", - ], - }, - months: { - shorthand: [ - "Jan", - "Feb", - "Mar", - "Apr", - "May", - "Jun", - "Jul", - "Aug", - "Sep", - "Oct", - "Nov", - "Dec", - ], - longhand: [ - "January", - "February", - "March", - "April", - "May", - "June", - "July", - "August", - "September", - "October", - "November", - "December", - ], - }, - daysInMonth: [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], - firstDayOfWeek: 0, - ordinal: function (nth) { - var s = nth % 100; - if (s > 3 && s < 21) - return "th"; - switch (s % 10) { - case 1: - return "st"; - case 2: - return "nd"; - case 3: - return "rd"; - default: - return "th"; - } - }, - rangeSeparator: " to ", - weekAbbreviation: "Wk", - scrollTitle: "Scroll to increment", - toggleTitle: "Click to toggle", - amPM: ["AM", "PM"], - yearAriaLabel: "Year", - monthAriaLabel: "Month", - hourAriaLabel: "Hour", - minuteAriaLabel: "Minute", - time_24hr: false, - }; - - exports.default = english; - exports.english = english; - - Object.defineProperty(exports, '__esModule', { value: true }); - -}))); - - -/***/ }), - -/***/ "./node_modules/flatpickr/dist/l10n/eo.js": -/*!************************************************!*\ - !*** ./node_modules/flatpickr/dist/l10n/eo.js ***! - \************************************************/ -/***/ (function(__unused_webpack_module, exports) { - -(function (global, factory) { - true ? factory(exports) : - 0; -}(this, (function (exports) { 'use strict'; - - var fp = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Esperanto = { - firstDayOfWeek: 1, - rangeSeparator: " ĝis ", - weekAbbreviation: "Sem", - scrollTitle: "Rulumu por pligrandigi la valoron", - toggleTitle: "Klaku por ŝalti", - weekdays: { - shorthand: ["Dim", "Lun", "Mar", "Mer", "Ĵaŭ", "Ven", "Sab"], - longhand: [ - "dimanĉo", - "lundo", - "mardo", - "merkredo", - "ĵaŭdo", - "vendredo", - "sabato", - ], - }, - months: { - shorthand: [ - "Jan", - "Feb", - "Mar", - "Apr", - "Maj", - "Jun", - "Jul", - "Aŭg", - "Sep", - "Okt", - "Nov", - "Dec", - ], - longhand: [ - "januaro", - "februaro", - "marto", - "aprilo", - "majo", - "junio", - "julio", - "aŭgusto", - "septembro", - "oktobro", - "novembro", - "decembro", - ], - }, - ordinal: function () { - return "-a"; - }, - time_24hr: true, - }; - fp.l10ns.eo = Esperanto; - var eo = fp.l10ns; - - exports.Esperanto = Esperanto; - exports.default = eo; - - Object.defineProperty(exports, '__esModule', { value: true }); - -}))); - - -/***/ }), - -/***/ "./node_modules/flatpickr/dist/l10n/es.js": -/*!************************************************!*\ - !*** ./node_modules/flatpickr/dist/l10n/es.js ***! - \************************************************/ -/***/ (function(__unused_webpack_module, exports) { - -(function (global, factory) { - true ? factory(exports) : - 0; -}(this, (function (exports) { 'use strict'; - - var fp = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Spanish = { - weekdays: { - shorthand: ["Dom", "Lun", "Mar", "Mié", "Jue", "Vie", "Sáb"], - longhand: [ - "Domingo", - "Lunes", - "Martes", - "Miércoles", - "Jueves", - "Viernes", - "Sábado", - ], - }, - months: { - shorthand: [ - "Ene", - "Feb", - "Mar", - "Abr", - "May", - "Jun", - "Jul", - "Ago", - "Sep", - "Oct", - "Nov", - "Dic", - ], - longhand: [ - "Enero", - "Febrero", - "Marzo", - "Abril", - "Mayo", - "Junio", - "Julio", - "Agosto", - "Septiembre", - "Octubre", - "Noviembre", - "Diciembre", - ], - }, - ordinal: function () { - return "º"; - }, - firstDayOfWeek: 1, - rangeSeparator: " a ", - time_24hr: true, - }; - fp.l10ns.es = Spanish; - var es = fp.l10ns; - - exports.Spanish = Spanish; - exports.default = es; - - Object.defineProperty(exports, '__esModule', { value: true }); - -}))); - - -/***/ }), - -/***/ "./node_modules/flatpickr/dist/l10n/et.js": -/*!************************************************!*\ - !*** ./node_modules/flatpickr/dist/l10n/et.js ***! - \************************************************/ -/***/ (function(__unused_webpack_module, exports) { - -(function (global, factory) { - true ? factory(exports) : - 0; -}(this, (function (exports) { 'use strict'; - - var fp = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Estonian = { - weekdays: { - shorthand: ["P", "E", "T", "K", "N", "R", "L"], - longhand: [ - "Pühapäev", - "Esmaspäev", - "Teisipäev", - "Kolmapäev", - "Neljapäev", - "Reede", - "Laupäev", - ], - }, - months: { - shorthand: [ - "Jaan", - "Veebr", - "Märts", - "Apr", - "Mai", - "Juuni", - "Juuli", - "Aug", - "Sept", - "Okt", - "Nov", - "Dets", - ], - longhand: [ - "Jaanuar", - "Veebruar", - "Märts", - "Aprill", - "Mai", - "Juuni", - "Juuli", - "August", - "September", - "Oktoober", - "November", - "Detsember", - ], - }, - firstDayOfWeek: 1, - ordinal: function () { - return "."; - }, - weekAbbreviation: "Näd", - rangeSeparator: " kuni ", - scrollTitle: "Keri, et suurendada", - toggleTitle: "Klõpsa, et vahetada", - time_24hr: true, - }; - fp.l10ns.et = Estonian; - var et = fp.l10ns; - - exports.Estonian = Estonian; - exports.default = et; - - Object.defineProperty(exports, '__esModule', { value: true }); - -}))); - - -/***/ }), - -/***/ "./node_modules/flatpickr/dist/l10n/fa.js": -/*!************************************************!*\ - !*** ./node_modules/flatpickr/dist/l10n/fa.js ***! - \************************************************/ -/***/ (function(__unused_webpack_module, exports) { - -(function (global, factory) { - true ? factory(exports) : - 0; -}(this, (function (exports) { 'use strict'; - - var fp = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Persian = { - weekdays: { - shorthand: ["یک", "دو", "سه", "چهار", "پنج", "جمعه", "شنبه"], - longhand: [ - "یک‌شنبه", - "دوشنبه", - "سه‌شنبه", - "چهارشنبه", - "پنچ‌شنبه", - "جمعه", - "شنبه", - ], - }, - months: { - shorthand: [ - "ژانویه", - "فوریه", - "مارس", - "آوریل", - "مه", - "ژوئن", - "ژوئیه", - "اوت", - "سپتامبر", - "اکتبر", - "نوامبر", - "دسامبر", - ], - longhand: [ - "ژانویه", - "فوریه", - "مارس", - "آوریل", - "مه", - "ژوئن", - "ژوئیه", - "اوت", - "سپتامبر", - "اکتبر", - "نوامبر", - "دسامبر", - ], - }, - firstDayOfWeek: 6, - ordinal: function () { - return ""; - }, - }; - fp.l10ns.fa = Persian; - var fa = fp.l10ns; - - exports.Persian = Persian; - exports.default = fa; - - Object.defineProperty(exports, '__esModule', { value: true }); - -}))); - - -/***/ }), - -/***/ "./node_modules/flatpickr/dist/l10n/fi.js": -/*!************************************************!*\ - !*** ./node_modules/flatpickr/dist/l10n/fi.js ***! - \************************************************/ -/***/ (function(__unused_webpack_module, exports) { - -(function (global, factory) { - true ? factory(exports) : - 0; -}(this, (function (exports) { 'use strict'; - - var fp = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Finnish = { - firstDayOfWeek: 1, - weekdays: { - shorthand: ["su", "ma", "ti", "ke", "to", "pe", "la"], - longhand: [ - "sunnuntai", - "maanantai", - "tiistai", - "keskiviikko", - "torstai", - "perjantai", - "lauantai", - ], - }, - months: { - shorthand: [ - "tammi", - "helmi", - "maalis", - "huhti", - "touko", - "kesä", - "heinä", - "elo", - "syys", - "loka", - "marras", - "joulu", - ], - longhand: [ - "tammikuu", - "helmikuu", - "maaliskuu", - "huhtikuu", - "toukokuu", - "kesäkuu", - "heinäkuu", - "elokuu", - "syyskuu", - "lokakuu", - "marraskuu", - "joulukuu", - ], - }, - ordinal: function () { - return "."; - }, - time_24hr: true, - }; - fp.l10ns.fi = Finnish; - var fi = fp.l10ns; - - exports.Finnish = Finnish; - exports.default = fi; - - Object.defineProperty(exports, '__esModule', { value: true }); - -}))); - - -/***/ }), - -/***/ "./node_modules/flatpickr/dist/l10n/fo.js": -/*!************************************************!*\ - !*** ./node_modules/flatpickr/dist/l10n/fo.js ***! - \************************************************/ -/***/ (function(__unused_webpack_module, exports) { - -(function (global, factory) { - true ? factory(exports) : - 0; -}(this, (function (exports) { 'use strict'; - - var fp = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Faroese = { - weekdays: { - shorthand: ["Sun", "Mán", "Týs", "Mik", "Hós", "Frí", "Ley"], - longhand: [ - "Sunnudagur", - "Mánadagur", - "Týsdagur", - "Mikudagur", - "Hósdagur", - "Fríggjadagur", - "Leygardagur", - ], - }, - months: { - shorthand: [ - "Jan", - "Feb", - "Mar", - "Apr", - "Mai", - "Jun", - "Jul", - "Aug", - "Sep", - "Okt", - "Nov", - "Des", - ], - longhand: [ - "Januar", - "Februar", - "Mars", - "Apríl", - "Mai", - "Juni", - "Juli", - "August", - "Septembur", - "Oktobur", - "Novembur", - "Desembur", - ], - }, - ordinal: function () { - return "."; - }, - firstDayOfWeek: 1, - rangeSeparator: " til ", - weekAbbreviation: "vika", - scrollTitle: "Rulla fyri at broyta", - toggleTitle: "Trýst fyri at skifta", - yearAriaLabel: "Ár", - time_24hr: true, - }; - fp.l10ns.fo = Faroese; - var fo = fp.l10ns; - - exports.Faroese = Faroese; - exports.default = fo; - - Object.defineProperty(exports, '__esModule', { value: true }); - -}))); - - -/***/ }), - -/***/ "./node_modules/flatpickr/dist/l10n/fr.js": -/*!************************************************!*\ - !*** ./node_modules/flatpickr/dist/l10n/fr.js ***! - \************************************************/ -/***/ (function(__unused_webpack_module, exports) { - -(function (global, factory) { - true ? factory(exports) : - 0; -}(this, (function (exports) { 'use strict'; - - var fp = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var French = { - firstDayOfWeek: 1, - weekdays: { - shorthand: ["dim", "lun", "mar", "mer", "jeu", "ven", "sam"], - longhand: [ - "dimanche", - "lundi", - "mardi", - "mercredi", - "jeudi", - "vendredi", - "samedi", - ], - }, - months: { - shorthand: [ - "janv", - "févr", - "mars", - "avr", - "mai", - "juin", - "juil", - "août", - "sept", - "oct", - "nov", - "déc", - ], - longhand: [ - "janvier", - "février", - "mars", - "avril", - "mai", - "juin", - "juillet", - "août", - "septembre", - "octobre", - "novembre", - "décembre", - ], - }, - ordinal: function (nth) { - if (nth > 1) - return ""; - return "er"; - }, - rangeSeparator: " au ", - weekAbbreviation: "Sem", - scrollTitle: "Défiler pour augmenter la valeur", - toggleTitle: "Cliquer pour basculer", - time_24hr: true, - }; - fp.l10ns.fr = French; - var fr = fp.l10ns; - - exports.French = French; - exports.default = fr; - - Object.defineProperty(exports, '__esModule', { value: true }); - -}))); - - -/***/ }), - -/***/ "./node_modules/flatpickr/dist/l10n/ga.js": -/*!************************************************!*\ - !*** ./node_modules/flatpickr/dist/l10n/ga.js ***! - \************************************************/ -/***/ (function(__unused_webpack_module, exports) { - -(function (global, factory) { - true ? factory(exports) : - 0; -}(this, (function (exports) { 'use strict'; - - var fp = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Irish = { - firstDayOfWeek: 1, - weekdays: { - shorthand: ["Dom", "Lua", "Mái", "Céa", "Déa", "Aoi", "Sat"], - longhand: [ - "Dé Domhnaigh", - "Dé Luain", - "Dé Máirt", - "Dé Céadaoin", - "Déardaoin", - "Dé hAoine", - "Dé Sathairn", - ], - }, - months: { - shorthand: [ - "Ean", - "Fea", - "Már", - "Aib", - "Bea", - "Mei", - "Iúi", - "Lún", - "MFo", - "DFo", - "Sam", - "Nol", - ], - longhand: [ - "Eanáir", - "Feabhra", - "Márta", - "Aibreán", - "Bealtaine", - "Meitheamh", - "Iúil", - "Lúnasa", - "Meán Fómhair", - "Deireadh Fómhair", - "Samhain", - "Nollaig", - ], - }, - time_24hr: true, - }; - fp.l10ns.hr = Irish; - var ga = fp.l10ns; - - exports.Irish = Irish; - exports.default = ga; - - Object.defineProperty(exports, '__esModule', { value: true }); - -}))); - - -/***/ }), - -/***/ "./node_modules/flatpickr/dist/l10n/gr.js": -/*!************************************************!*\ - !*** ./node_modules/flatpickr/dist/l10n/gr.js ***! - \************************************************/ -/***/ (function(__unused_webpack_module, exports) { - -(function (global, factory) { - true ? factory(exports) : - 0; -}(this, (function (exports) { 'use strict'; - - var fp = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Greek = { - weekdays: { - shorthand: ["Κυ", "Δε", "Τρ", "Τε", "Πέ", "Πα", "Σά"], - longhand: [ - "Κυριακή", - "Δευτέρα", - "Τρίτη", - "Τετάρτη", - "Πέμπτη", - "Παρασκευή", - "Σάββατο", - ], - }, - months: { - shorthand: [ - "Ιαν", - "Φεβ", - "Μάρ", - "Απρ", - "Μάι", - "Ιούν", - "Ιούλ", - "Αύγ", - "Σεπ", - "Οκτ", - "Νοέ", - "Δεκ", - ], - longhand: [ - "Ιανουάριος", - "Φεβρουάριος", - "Μάρτιος", - "Απρίλιος", - "Μάιος", - "Ιούνιος", - "Ιούλιος", - "Αύγουστος", - "Σεπτέμβριος", - "Οκτώβριος", - "Νοέμβριος", - "Δεκέμβριος", - ], - }, - firstDayOfWeek: 1, - ordinal: function () { - return ""; - }, - weekAbbreviation: "Εβδ", - rangeSeparator: " έως ", - scrollTitle: "Μετακυλήστε για προσαύξηση", - toggleTitle: "Κάντε κλικ για αλλαγή", - amPM: ["ΠΜ", "ΜΜ"], - yearAriaLabel: "χρόνος", - monthAriaLabel: "μήνας", - hourAriaLabel: "ώρα", - minuteAriaLabel: "λεπτό", - }; - fp.l10ns.gr = Greek; - var gr = fp.l10ns; - - exports.Greek = Greek; - exports.default = gr; - - Object.defineProperty(exports, '__esModule', { value: true }); - -}))); - - -/***/ }), - -/***/ "./node_modules/flatpickr/dist/l10n/he.js": -/*!************************************************!*\ - !*** ./node_modules/flatpickr/dist/l10n/he.js ***! - \************************************************/ -/***/ (function(__unused_webpack_module, exports) { - -(function (global, factory) { - true ? factory(exports) : - 0; -}(this, (function (exports) { 'use strict'; - - var fp = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Hebrew = { - weekdays: { - shorthand: ["א", "ב", "ג", "ד", "ה", "ו", "ש"], - longhand: ["ראשון", "שני", "שלישי", "רביעי", "חמישי", "שישי", "שבת"], - }, - months: { - shorthand: [ - "ינו׳", - "פבר׳", - "מרץ", - "אפר׳", - "מאי", - "יוני", - "יולי", - "אוג׳", - "ספט׳", - "אוק׳", - "נוב׳", - "דצמ׳", - ], - longhand: [ - "ינואר", - "פברואר", - "מרץ", - "אפריל", - "מאי", - "יוני", - "יולי", - "אוגוסט", - "ספטמבר", - "אוקטובר", - "נובמבר", - "דצמבר", - ], - }, - rangeSeparator: " אל ", - time_24hr: true, - }; - fp.l10ns.he = Hebrew; - var he = fp.l10ns; - - exports.Hebrew = Hebrew; - exports.default = he; - - Object.defineProperty(exports, '__esModule', { value: true }); - -}))); - - -/***/ }), - -/***/ "./node_modules/flatpickr/dist/l10n/hi.js": -/*!************************************************!*\ - !*** ./node_modules/flatpickr/dist/l10n/hi.js ***! - \************************************************/ -/***/ (function(__unused_webpack_module, exports) { - -(function (global, factory) { - true ? factory(exports) : - 0; -}(this, (function (exports) { 'use strict'; - - var fp = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Hindi = { - weekdays: { - shorthand: ["रवि", "सोम", "मंगल", "बुध", "गुरु", "शुक्र", "शनि"], - longhand: [ - "रविवार", - "सोमवार", - "मंगलवार", - "बुधवार", - "गुरुवार", - "शुक्रवार", - "शनिवार", - ], - }, - months: { - shorthand: [ - "जन", - "फर", - "मार्च", - "अप्रेल", - "मई", - "जून", - "जूलाई", - "अग", - "सित", - "अक्ट", - "नव", - "दि", - ], - longhand: [ - "जनवरी ", - "फरवरी", - "मार्च", - "अप्रेल", - "मई", - "जून", - "जूलाई", - "अगस्त ", - "सितम्बर", - "अक्टूबर", - "नवम्बर", - "दिसम्बर", - ], - }, - }; - fp.l10ns.hi = Hindi; - var hi = fp.l10ns; - - exports.Hindi = Hindi; - exports.default = hi; - - Object.defineProperty(exports, '__esModule', { value: true }); - -}))); - - -/***/ }), - -/***/ "./node_modules/flatpickr/dist/l10n/hr.js": -/*!************************************************!*\ - !*** ./node_modules/flatpickr/dist/l10n/hr.js ***! - \************************************************/ -/***/ (function(__unused_webpack_module, exports) { - -(function (global, factory) { - true ? factory(exports) : - 0; -}(this, (function (exports) { 'use strict'; - - var fp = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Croatian = { - firstDayOfWeek: 1, - weekdays: { - shorthand: ["Ned", "Pon", "Uto", "Sri", "Čet", "Pet", "Sub"], - longhand: [ - "Nedjelja", - "Ponedjeljak", - "Utorak", - "Srijeda", - "Četvrtak", - "Petak", - "Subota", - ], - }, - months: { - shorthand: [ - "Sij", - "Velj", - "Ožu", - "Tra", - "Svi", - "Lip", - "Srp", - "Kol", - "Ruj", - "Lis", - "Stu", - "Pro", - ], - longhand: [ - "Siječanj", - "Veljača", - "Ožujak", - "Travanj", - "Svibanj", - "Lipanj", - "Srpanj", - "Kolovoz", - "Rujan", - "Listopad", - "Studeni", - "Prosinac", - ], - }, - time_24hr: true, - }; - fp.l10ns.hr = Croatian; - var hr = fp.l10ns; - - exports.Croatian = Croatian; - exports.default = hr; - - Object.defineProperty(exports, '__esModule', { value: true }); - -}))); - - -/***/ }), - -/***/ "./node_modules/flatpickr/dist/l10n/hu.js": -/*!************************************************!*\ - !*** ./node_modules/flatpickr/dist/l10n/hu.js ***! - \************************************************/ -/***/ (function(__unused_webpack_module, exports) { - -(function (global, factory) { - true ? factory(exports) : - 0; -}(this, (function (exports) { 'use strict'; - - var fp = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Hungarian = { - firstDayOfWeek: 1, - weekdays: { - shorthand: ["V", "H", "K", "Sz", "Cs", "P", "Szo"], - longhand: [ - "Vasárnap", - "Hétfő", - "Kedd", - "Szerda", - "Csütörtök", - "Péntek", - "Szombat", - ], - }, - months: { - shorthand: [ - "Jan", - "Feb", - "Már", - "Ápr", - "Máj", - "Jún", - "Júl", - "Aug", - "Szep", - "Okt", - "Nov", - "Dec", - ], - longhand: [ - "Január", - "Február", - "Március", - "Április", - "Május", - "Június", - "Július", - "Augusztus", - "Szeptember", - "Október", - "November", - "December", - ], - }, - ordinal: function () { - return "."; - }, - weekAbbreviation: "Hét", - scrollTitle: "Görgessen", - toggleTitle: "Kattintson a váltáshoz", - rangeSeparator: " - ", - time_24hr: true, - }; - fp.l10ns.hu = Hungarian; - var hu = fp.l10ns; - - exports.Hungarian = Hungarian; - exports.default = hu; - - Object.defineProperty(exports, '__esModule', { value: true }); - -}))); - - -/***/ }), - -/***/ "./node_modules/flatpickr/dist/l10n/hy.js": -/*!************************************************!*\ - !*** ./node_modules/flatpickr/dist/l10n/hy.js ***! - \************************************************/ -/***/ (function(__unused_webpack_module, exports) { - -(function (global, factory) { - true ? factory(exports) : - 0; -}(this, (function (exports) { 'use strict'; - - var fp = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Armenian = { - weekdays: { - shorthand: ["Կիր", "Երկ", "Երք", "Չրք", "Հնգ", "Ուրբ", "Շբթ"], - longhand: [ - "Կիրակի", - "Եկուշաբթի", - "Երեքշաբթի", - "Չորեքշաբթի", - "Հինգշաբթի", - "Ուրբաթ", - "Շաբաթ", - ], - }, - months: { - shorthand: [ - "Հնվ", - "Փտր", - "Մար", - "Ապր", - "Մայ", - "Հնս", - "Հլս", - "Օգս", - "Սեպ", - "Հոկ", - "Նմբ", - "Դեկ", - ], - longhand: [ - "Հունվար", - "Փետրվար", - "Մարտ", - "Ապրիլ", - "Մայիս", - "Հունիս", - "Հուլիս", - "Օգոստոս", - "Սեպտեմբեր", - "Հոկտեմբեր", - "Նոյեմբեր", - "Դեկտեմբեր", - ], - }, - firstDayOfWeek: 1, - ordinal: function () { - return ""; - }, - rangeSeparator: " — ", - weekAbbreviation: "ՇԲՏ", - scrollTitle: "Ոլորեք՝ մեծացնելու համար", - toggleTitle: "Սեղմեք՝ փոխելու համար", - amPM: ["ՄԿ", "ԿՀ"], - yearAriaLabel: "Տարի", - monthAriaLabel: "Ամիս", - hourAriaLabel: "Ժամ", - minuteAriaLabel: "Րոպե", - time_24hr: true, - }; - fp.l10ns.hy = Armenian; - var hy = fp.l10ns; - - exports.Armenian = Armenian; - exports.default = hy; - - Object.defineProperty(exports, '__esModule', { value: true }); - -}))); - - -/***/ }), - -/***/ "./node_modules/flatpickr/dist/l10n/id.js": -/*!************************************************!*\ - !*** ./node_modules/flatpickr/dist/l10n/id.js ***! - \************************************************/ -/***/ (function(__unused_webpack_module, exports) { - -(function (global, factory) { - true ? factory(exports) : - 0; -}(this, (function (exports) { 'use strict'; - - var fp = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Indonesian = { - weekdays: { - shorthand: ["Min", "Sen", "Sel", "Rab", "Kam", "Jum", "Sab"], - longhand: ["Minggu", "Senin", "Selasa", "Rabu", "Kamis", "Jumat", "Sabtu"], - }, - months: { - shorthand: [ - "Jan", - "Feb", - "Mar", - "Apr", - "Mei", - "Jun", - "Jul", - "Agu", - "Sep", - "Okt", - "Nov", - "Des", - ], - longhand: [ - "Januari", - "Februari", - "Maret", - "April", - "Mei", - "Juni", - "Juli", - "Agustus", - "September", - "Oktober", - "November", - "Desember", - ], - }, - firstDayOfWeek: 1, - ordinal: function () { - return ""; - }, - time_24hr: true, - rangeSeparator: " - ", - }; - fp.l10ns.id = Indonesian; - var id = fp.l10ns; - - exports.Indonesian = Indonesian; - exports.default = id; - - Object.defineProperty(exports, '__esModule', { value: true }); - -}))); - - -/***/ }), - -/***/ "./node_modules/flatpickr/dist/l10n/index.js": -/*!***************************************************!*\ - !*** ./node_modules/flatpickr/dist/l10n/index.js ***! - \***************************************************/ -/***/ (function(__unused_webpack_module, exports) { - -(function (global, factory) { - true ? factory(exports) : - 0; -}(this, (function (exports) { 'use strict'; - - /*! ***************************************************************************** - Copyright (c) Microsoft Corporation. - - Permission to use, copy, modify, and/or distribute this software for any - purpose with or without fee is hereby granted. - - THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY - AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR - OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR - PERFORMANCE OF THIS SOFTWARE. - ***************************************************************************** */ - - var __assign = function() { - __assign = Object.assign || function __assign(t) { - for (var s, i = 1, n = arguments.length; i < n; i++) { - s = arguments[i]; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; - } - return t; - }; - return __assign.apply(this, arguments); - }; - - var fp = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Arabic = { - weekdays: { - shorthand: ["أحد", "اثنين", "ثلاثاء", "أربعاء", "خميس", "جمعة", "سبت"], - longhand: [ - "الأحد", - "الاثنين", - "الثلاثاء", - "الأربعاء", - "الخميس", - "الجمعة", - "السبت", - ], - }, - months: { - shorthand: ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], - longhand: [ - "يناير", - "فبراير", - "مارس", - "أبريل", - "مايو", - "يونيو", - "يوليو", - "أغسطس", - "سبتمبر", - "أكتوبر", - "نوفمبر", - "ديسمبر", - ], - }, - firstDayOfWeek: 6, - rangeSeparator: " إلى ", - weekAbbreviation: "Wk", - scrollTitle: "قم بالتمرير للزيادة", - toggleTitle: "اضغط للتبديل", - amPM: ["ص", "م"], - yearAriaLabel: "سنة", - monthAriaLabel: "شهر", - hourAriaLabel: "ساعة", - minuteAriaLabel: "دقيقة", - time_24hr: false, - }; - fp.l10ns.ar = Arabic; - fp.l10ns; - - var fp$1 = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Austria = { - weekdays: { - shorthand: ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"], - longhand: [ - "Sonntag", - "Montag", - "Dienstag", - "Mittwoch", - "Donnerstag", - "Freitag", - "Samstag", - ], - }, - months: { - shorthand: [ - "Jän", - "Feb", - "Mär", - "Apr", - "Mai", - "Jun", - "Jul", - "Aug", - "Sep", - "Okt", - "Nov", - "Dez", - ], - longhand: [ - "Jänner", - "Februar", - "März", - "April", - "Mai", - "Juni", - "Juli", - "August", - "September", - "Oktober", - "November", - "Dezember", - ], - }, - firstDayOfWeek: 1, - weekAbbreviation: "KW", - rangeSeparator: " bis ", - scrollTitle: "Zum Ändern scrollen", - toggleTitle: "Zum Umschalten klicken", - time_24hr: true, - }; - fp$1.l10ns.at = Austria; - fp$1.l10ns; - - var fp$2 = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Azerbaijan = { - weekdays: { - shorthand: ["B.", "B.e.", "Ç.a.", "Ç.", "C.a.", "C.", "Ş."], - longhand: [ - "Bazar", - "Bazar ertəsi", - "Çərşənbə axşamı", - "Çərşənbə", - "Cümə axşamı", - "Cümə", - "Şənbə", - ], - }, - months: { - shorthand: [ - "Yan", - "Fev", - "Mar", - "Apr", - "May", - "İyn", - "İyl", - "Avq", - "Sen", - "Okt", - "Noy", - "Dek", - ], - longhand: [ - "Yanvar", - "Fevral", - "Mart", - "Aprel", - "May", - "İyun", - "İyul", - "Avqust", - "Sentyabr", - "Oktyabr", - "Noyabr", - "Dekabr", - ], - }, - firstDayOfWeek: 1, - ordinal: function () { - return "."; - }, - rangeSeparator: " - ", - weekAbbreviation: "Hf", - scrollTitle: "Artırmaq üçün sürüşdürün", - toggleTitle: "Aç / Bağla", - amPM: ["GƏ", "GS"], - time_24hr: true, - }; - fp$2.l10ns.az = Azerbaijan; - fp$2.l10ns; - - var fp$3 = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Belarusian = { - weekdays: { - shorthand: ["Нд", "Пн", "Аў", "Ср", "Чц", "Пт", "Сб"], - longhand: [ - "Нядзеля", - "Панядзелак", - "Аўторак", - "Серада", - "Чацвер", - "Пятніца", - "Субота", - ], - }, - months: { - shorthand: [ - "Сту", - "Лют", - "Сак", - "Кра", - "Тра", - "Чэр", - "Ліп", - "Жні", - "Вер", - "Кас", - "Ліс", - "Сне", - ], - longhand: [ - "Студзень", - "Люты", - "Сакавік", - "Красавік", - "Травень", - "Чэрвень", - "Ліпень", - "Жнівень", - "Верасень", - "Кастрычнік", - "Лістапад", - "Снежань", - ], - }, - firstDayOfWeek: 1, - ordinal: function () { - return ""; - }, - rangeSeparator: " — ", - weekAbbreviation: "Тыд.", - scrollTitle: "Пракруціце для павелічэння", - toggleTitle: "Націсніце для пераключэння", - amPM: ["ДП", "ПП"], - yearAriaLabel: "Год", - time_24hr: true, - }; - fp$3.l10ns.be = Belarusian; - fp$3.l10ns; - - var fp$4 = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Bosnian = { - firstDayOfWeek: 1, - weekdays: { - shorthand: ["Ned", "Pon", "Uto", "Sri", "Čet", "Pet", "Sub"], - longhand: [ - "Nedjelja", - "Ponedjeljak", - "Utorak", - "Srijeda", - "Četvrtak", - "Petak", - "Subota", - ], - }, - months: { - shorthand: [ - "Jan", - "Feb", - "Mar", - "Apr", - "Maj", - "Jun", - "Jul", - "Avg", - "Sep", - "Okt", - "Nov", - "Dec", - ], - longhand: [ - "Januar", - "Februar", - "Mart", - "April", - "Maj", - "Juni", - "Juli", - "Avgust", - "Septembar", - "Oktobar", - "Novembar", - "Decembar", - ], - }, - time_24hr: true, - }; - fp$4.l10ns.bs = Bosnian; - fp$4.l10ns; - - var fp$5 = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Bulgarian = { - weekdays: { - shorthand: ["Нд", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб"], - longhand: [ - "Неделя", - "Понеделник", - "Вторник", - "Сряда", - "Четвъртък", - "Петък", - "Събота", - ], - }, - months: { - shorthand: [ - "Яну", - "Фев", - "Март", - "Апр", - "Май", - "Юни", - "Юли", - "Авг", - "Сеп", - "Окт", - "Ное", - "Дек", - ], - longhand: [ - "Януари", - "Февруари", - "Март", - "Април", - "Май", - "Юни", - "Юли", - "Август", - "Септември", - "Октомври", - "Ноември", - "Декември", - ], - }, - time_24hr: true, - firstDayOfWeek: 1, - }; - fp$5.l10ns.bg = Bulgarian; - fp$5.l10ns; - - var fp$6 = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Bangla = { - weekdays: { - shorthand: ["রবি", "সোম", "মঙ্গল", "বুধ", "বৃহস্পতি", "শুক্র", "শনি"], - longhand: [ - "রবিবার", - "সোমবার", - "মঙ্গলবার", - "বুধবার", - "বৃহস্পতিবার", - "শুক্রবার", - "শনিবার", - ], - }, - months: { - shorthand: [ - "জানু", - "ফেব্রু", - "মার্চ", - "এপ্রিল", - "মে", - "জুন", - "জুলাই", - "আগ", - "সেপ্টে", - "অক্টো", - "নভে", - "ডিসে", - ], - longhand: [ - "জানুয়ারী", - "ফেব্রুয়ারী", - "মার্চ", - "এপ্রিল", - "মে", - "জুন", - "জুলাই", - "আগস্ট", - "সেপ্টেম্বর", - "অক্টোবর", - "নভেম্বর", - "ডিসেম্বর", - ], - }, - }; - fp$6.l10ns.bn = Bangla; - fp$6.l10ns; - - var fp$7 = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Catalan = { - weekdays: { - shorthand: ["Dg", "Dl", "Dt", "Dc", "Dj", "Dv", "Ds"], - longhand: [ - "Diumenge", - "Dilluns", - "Dimarts", - "Dimecres", - "Dijous", - "Divendres", - "Dissabte", - ], - }, - months: { - shorthand: [ - "Gen", - "Febr", - "Març", - "Abr", - "Maig", - "Juny", - "Jul", - "Ag", - "Set", - "Oct", - "Nov", - "Des", - ], - longhand: [ - "Gener", - "Febrer", - "Març", - "Abril", - "Maig", - "Juny", - "Juliol", - "Agost", - "Setembre", - "Octubre", - "Novembre", - "Desembre", - ], - }, - ordinal: function (nth) { - var s = nth % 100; - if (s > 3 && s < 21) - return "è"; - switch (s % 10) { - case 1: - return "r"; - case 2: - return "n"; - case 3: - return "r"; - case 4: - return "t"; - default: - return "è"; - } - }, - firstDayOfWeek: 1, - rangeSeparator: " a ", - time_24hr: true, - }; - fp$7.l10ns.cat = fp$7.l10ns.ca = Catalan; - fp$7.l10ns; - - var fp$8 = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Kurdish = { - weekdays: { - shorthand: [ - "یەکشەممە", - "دووشەممە", - "سێشەممە", - "چوارشەممە", - "پێنجشەممە", - "هەینی", - "شەممە", - ], - longhand: [ - "یەکشەممە", - "دووشەممە", - "سێشەممە", - "چوارشەممە", - "پێنجشەممە", - "هەینی", - "شەممە", - ], - }, - months: { - shorthand: [ - "ڕێبەندان", - "ڕەشەمە", - "نەورۆز", - "گوڵان", - "جۆزەردان", - "پووشپەڕ", - "گەلاوێژ", - "خەرمانان", - "ڕەزبەر", - "گەڵاڕێزان", - "سەرماوەز", - "بەفرانبار", - ], - longhand: [ - "ڕێبەندان", - "ڕەشەمە", - "نەورۆز", - "گوڵان", - "جۆزەردان", - "پووشپەڕ", - "گەلاوێژ", - "خەرمانان", - "ڕەزبەر", - "گەڵاڕێزان", - "سەرماوەز", - "بەفرانبار", - ], - }, - firstDayOfWeek: 6, - ordinal: function () { - return ""; - }, - }; - fp$8.l10ns.ckb = Kurdish; - fp$8.l10ns; - - var fp$9 = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Czech = { - weekdays: { - shorthand: ["Ne", "Po", "Út", "St", "Čt", "Pá", "So"], - longhand: [ - "Neděle", - "Pondělí", - "Úterý", - "Středa", - "Čtvrtek", - "Pátek", - "Sobota", - ], - }, - months: { - shorthand: [ - "Led", - "Ún", - "Bře", - "Dub", - "Kvě", - "Čer", - "Čvc", - "Srp", - "Zář", - "Říj", - "Lis", - "Pro", - ], - longhand: [ - "Leden", - "Únor", - "Březen", - "Duben", - "Květen", - "Červen", - "Červenec", - "Srpen", - "Září", - "Říjen", - "Listopad", - "Prosinec", - ], - }, - firstDayOfWeek: 1, - ordinal: function () { - return "."; - }, - rangeSeparator: " do ", - weekAbbreviation: "Týd.", - scrollTitle: "Rolujte pro změnu", - toggleTitle: "Přepnout dopoledne/odpoledne", - amPM: ["dop.", "odp."], - yearAriaLabel: "Rok", - time_24hr: true, - }; - fp$9.l10ns.cs = Czech; - fp$9.l10ns; - - var fp$a = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Welsh = { - weekdays: { - shorthand: ["Sul", "Llun", "Maw", "Mer", "Iau", "Gwe", "Sad"], - longhand: [ - "Dydd Sul", - "Dydd Llun", - "Dydd Mawrth", - "Dydd Mercher", - "Dydd Iau", - "Dydd Gwener", - "Dydd Sadwrn", - ], - }, - months: { - shorthand: [ - "Ion", - "Chwef", - "Maw", - "Ebr", - "Mai", - "Meh", - "Gorff", - "Awst", - "Medi", - "Hyd", - "Tach", - "Rhag", - ], - longhand: [ - "Ionawr", - "Chwefror", - "Mawrth", - "Ebrill", - "Mai", - "Mehefin", - "Gorffennaf", - "Awst", - "Medi", - "Hydref", - "Tachwedd", - "Rhagfyr", - ], - }, - firstDayOfWeek: 1, - ordinal: function (nth) { - if (nth === 1) - return "af"; - if (nth === 2) - return "ail"; - if (nth === 3 || nth === 4) - return "ydd"; - if (nth === 5 || nth === 6) - return "ed"; - if ((nth >= 7 && nth <= 10) || - nth == 12 || - nth == 15 || - nth == 18 || - nth == 20) - return "fed"; - if (nth == 11 || - nth == 13 || - nth == 14 || - nth == 16 || - nth == 17 || - nth == 19) - return "eg"; - if (nth >= 21 && nth <= 39) - return "ain"; - // Inconclusive. - return ""; - }, - time_24hr: true, - }; - fp$a.l10ns.cy = Welsh; - fp$a.l10ns; - - var fp$b = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Danish = { - weekdays: { - shorthand: ["søn", "man", "tir", "ons", "tors", "fre", "lør"], - longhand: [ - "søndag", - "mandag", - "tirsdag", - "onsdag", - "torsdag", - "fredag", - "lørdag", - ], - }, - months: { - shorthand: [ - "jan", - "feb", - "mar", - "apr", - "maj", - "jun", - "jul", - "aug", - "sep", - "okt", - "nov", - "dec", - ], - longhand: [ - "januar", - "februar", - "marts", - "april", - "maj", - "juni", - "juli", - "august", - "september", - "oktober", - "november", - "december", - ], - }, - ordinal: function () { - return "."; - }, - firstDayOfWeek: 1, - rangeSeparator: " til ", - weekAbbreviation: "uge", - time_24hr: true, - }; - fp$b.l10ns.da = Danish; - fp$b.l10ns; - - var fp$c = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var German = { - weekdays: { - shorthand: ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"], - longhand: [ - "Sonntag", - "Montag", - "Dienstag", - "Mittwoch", - "Donnerstag", - "Freitag", - "Samstag", - ], - }, - months: { - shorthand: [ - "Jan", - "Feb", - "Mär", - "Apr", - "Mai", - "Jun", - "Jul", - "Aug", - "Sep", - "Okt", - "Nov", - "Dez", - ], - longhand: [ - "Januar", - "Februar", - "März", - "April", - "Mai", - "Juni", - "Juli", - "August", - "September", - "Oktober", - "November", - "Dezember", - ], - }, - firstDayOfWeek: 1, - weekAbbreviation: "KW", - rangeSeparator: " bis ", - scrollTitle: "Zum Ändern scrollen", - toggleTitle: "Zum Umschalten klicken", - time_24hr: true, - }; - fp$c.l10ns.de = German; - fp$c.l10ns; - - var english = { - weekdays: { - shorthand: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], - longhand: [ - "Sunday", - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday", - ], - }, - months: { - shorthand: [ - "Jan", - "Feb", - "Mar", - "Apr", - "May", - "Jun", - "Jul", - "Aug", - "Sep", - "Oct", - "Nov", - "Dec", - ], - longhand: [ - "January", - "February", - "March", - "April", - "May", - "June", - "July", - "August", - "September", - "October", - "November", - "December", - ], - }, - daysInMonth: [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], - firstDayOfWeek: 0, - ordinal: function (nth) { - var s = nth % 100; - if (s > 3 && s < 21) - return "th"; - switch (s % 10) { - case 1: - return "st"; - case 2: - return "nd"; - case 3: - return "rd"; - default: - return "th"; - } - }, - rangeSeparator: " to ", - weekAbbreviation: "Wk", - scrollTitle: "Scroll to increment", - toggleTitle: "Click to toggle", - amPM: ["AM", "PM"], - yearAriaLabel: "Year", - monthAriaLabel: "Month", - hourAriaLabel: "Hour", - minuteAriaLabel: "Minute", - time_24hr: false, - }; - - var fp$d = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Esperanto = { - firstDayOfWeek: 1, - rangeSeparator: " ĝis ", - weekAbbreviation: "Sem", - scrollTitle: "Rulumu por pligrandigi la valoron", - toggleTitle: "Klaku por ŝalti", - weekdays: { - shorthand: ["Dim", "Lun", "Mar", "Mer", "Ĵaŭ", "Ven", "Sab"], - longhand: [ - "dimanĉo", - "lundo", - "mardo", - "merkredo", - "ĵaŭdo", - "vendredo", - "sabato", - ], - }, - months: { - shorthand: [ - "Jan", - "Feb", - "Mar", - "Apr", - "Maj", - "Jun", - "Jul", - "Aŭg", - "Sep", - "Okt", - "Nov", - "Dec", - ], - longhand: [ - "januaro", - "februaro", - "marto", - "aprilo", - "majo", - "junio", - "julio", - "aŭgusto", - "septembro", - "oktobro", - "novembro", - "decembro", - ], - }, - ordinal: function () { - return "-a"; - }, - time_24hr: true, - }; - fp$d.l10ns.eo = Esperanto; - fp$d.l10ns; - - var fp$e = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Spanish = { - weekdays: { - shorthand: ["Dom", "Lun", "Mar", "Mié", "Jue", "Vie", "Sáb"], - longhand: [ - "Domingo", - "Lunes", - "Martes", - "Miércoles", - "Jueves", - "Viernes", - "Sábado", - ], - }, - months: { - shorthand: [ - "Ene", - "Feb", - "Mar", - "Abr", - "May", - "Jun", - "Jul", - "Ago", - "Sep", - "Oct", - "Nov", - "Dic", - ], - longhand: [ - "Enero", - "Febrero", - "Marzo", - "Abril", - "Mayo", - "Junio", - "Julio", - "Agosto", - "Septiembre", - "Octubre", - "Noviembre", - "Diciembre", - ], - }, - ordinal: function () { - return "º"; - }, - firstDayOfWeek: 1, - rangeSeparator: " a ", - time_24hr: true, - }; - fp$e.l10ns.es = Spanish; - fp$e.l10ns; - - var fp$f = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Estonian = { - weekdays: { - shorthand: ["P", "E", "T", "K", "N", "R", "L"], - longhand: [ - "Pühapäev", - "Esmaspäev", - "Teisipäev", - "Kolmapäev", - "Neljapäev", - "Reede", - "Laupäev", - ], - }, - months: { - shorthand: [ - "Jaan", - "Veebr", - "Märts", - "Apr", - "Mai", - "Juuni", - "Juuli", - "Aug", - "Sept", - "Okt", - "Nov", - "Dets", - ], - longhand: [ - "Jaanuar", - "Veebruar", - "Märts", - "Aprill", - "Mai", - "Juuni", - "Juuli", - "August", - "September", - "Oktoober", - "November", - "Detsember", - ], - }, - firstDayOfWeek: 1, - ordinal: function () { - return "."; - }, - weekAbbreviation: "Näd", - rangeSeparator: " kuni ", - scrollTitle: "Keri, et suurendada", - toggleTitle: "Klõpsa, et vahetada", - time_24hr: true, - }; - fp$f.l10ns.et = Estonian; - fp$f.l10ns; - - var fp$g = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Persian = { - weekdays: { - shorthand: ["یک", "دو", "سه", "چهار", "پنج", "جمعه", "شنبه"], - longhand: [ - "یک‌شنبه", - "دوشنبه", - "سه‌شنبه", - "چهارشنبه", - "پنچ‌شنبه", - "جمعه", - "شنبه", - ], - }, - months: { - shorthand: [ - "ژانویه", - "فوریه", - "مارس", - "آوریل", - "مه", - "ژوئن", - "ژوئیه", - "اوت", - "سپتامبر", - "اکتبر", - "نوامبر", - "دسامبر", - ], - longhand: [ - "ژانویه", - "فوریه", - "مارس", - "آوریل", - "مه", - "ژوئن", - "ژوئیه", - "اوت", - "سپتامبر", - "اکتبر", - "نوامبر", - "دسامبر", - ], - }, - firstDayOfWeek: 6, - ordinal: function () { - return ""; - }, - }; - fp$g.l10ns.fa = Persian; - fp$g.l10ns; - - var fp$h = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Finnish = { - firstDayOfWeek: 1, - weekdays: { - shorthand: ["su", "ma", "ti", "ke", "to", "pe", "la"], - longhand: [ - "sunnuntai", - "maanantai", - "tiistai", - "keskiviikko", - "torstai", - "perjantai", - "lauantai", - ], - }, - months: { - shorthand: [ - "tammi", - "helmi", - "maalis", - "huhti", - "touko", - "kesä", - "heinä", - "elo", - "syys", - "loka", - "marras", - "joulu", - ], - longhand: [ - "tammikuu", - "helmikuu", - "maaliskuu", - "huhtikuu", - "toukokuu", - "kesäkuu", - "heinäkuu", - "elokuu", - "syyskuu", - "lokakuu", - "marraskuu", - "joulukuu", - ], - }, - ordinal: function () { - return "."; - }, - time_24hr: true, - }; - fp$h.l10ns.fi = Finnish; - fp$h.l10ns; - - var fp$i = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Faroese = { - weekdays: { - shorthand: ["Sun", "Mán", "Týs", "Mik", "Hós", "Frí", "Ley"], - longhand: [ - "Sunnudagur", - "Mánadagur", - "Týsdagur", - "Mikudagur", - "Hósdagur", - "Fríggjadagur", - "Leygardagur", - ], - }, - months: { - shorthand: [ - "Jan", - "Feb", - "Mar", - "Apr", - "Mai", - "Jun", - "Jul", - "Aug", - "Sep", - "Okt", - "Nov", - "Des", - ], - longhand: [ - "Januar", - "Februar", - "Mars", - "Apríl", - "Mai", - "Juni", - "Juli", - "August", - "Septembur", - "Oktobur", - "Novembur", - "Desembur", - ], - }, - ordinal: function () { - return "."; - }, - firstDayOfWeek: 1, - rangeSeparator: " til ", - weekAbbreviation: "vika", - scrollTitle: "Rulla fyri at broyta", - toggleTitle: "Trýst fyri at skifta", - yearAriaLabel: "Ár", - time_24hr: true, - }; - fp$i.l10ns.fo = Faroese; - fp$i.l10ns; - - var fp$j = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var French = { - firstDayOfWeek: 1, - weekdays: { - shorthand: ["dim", "lun", "mar", "mer", "jeu", "ven", "sam"], - longhand: [ - "dimanche", - "lundi", - "mardi", - "mercredi", - "jeudi", - "vendredi", - "samedi", - ], - }, - months: { - shorthand: [ - "janv", - "févr", - "mars", - "avr", - "mai", - "juin", - "juil", - "août", - "sept", - "oct", - "nov", - "déc", - ], - longhand: [ - "janvier", - "février", - "mars", - "avril", - "mai", - "juin", - "juillet", - "août", - "septembre", - "octobre", - "novembre", - "décembre", - ], - }, - ordinal: function (nth) { - if (nth > 1) - return ""; - return "er"; - }, - rangeSeparator: " au ", - weekAbbreviation: "Sem", - scrollTitle: "Défiler pour augmenter la valeur", - toggleTitle: "Cliquer pour basculer", - time_24hr: true, - }; - fp$j.l10ns.fr = French; - fp$j.l10ns; - - var fp$k = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Greek = { - weekdays: { - shorthand: ["Κυ", "Δε", "Τρ", "Τε", "Πέ", "Πα", "Σά"], - longhand: [ - "Κυριακή", - "Δευτέρα", - "Τρίτη", - "Τετάρτη", - "Πέμπτη", - "Παρασκευή", - "Σάββατο", - ], - }, - months: { - shorthand: [ - "Ιαν", - "Φεβ", - "Μάρ", - "Απρ", - "Μάι", - "Ιούν", - "Ιούλ", - "Αύγ", - "Σεπ", - "Οκτ", - "Νοέ", - "Δεκ", - ], - longhand: [ - "Ιανουάριος", - "Φεβρουάριος", - "Μάρτιος", - "Απρίλιος", - "Μάιος", - "Ιούνιος", - "Ιούλιος", - "Αύγουστος", - "Σεπτέμβριος", - "Οκτώβριος", - "Νοέμβριος", - "Δεκέμβριος", - ], - }, - firstDayOfWeek: 1, - ordinal: function () { - return ""; - }, - weekAbbreviation: "Εβδ", - rangeSeparator: " έως ", - scrollTitle: "Μετακυλήστε για προσαύξηση", - toggleTitle: "Κάντε κλικ για αλλαγή", - amPM: ["ΠΜ", "ΜΜ"], - yearAriaLabel: "χρόνος", - monthAriaLabel: "μήνας", - hourAriaLabel: "ώρα", - minuteAriaLabel: "λεπτό", - }; - fp$k.l10ns.gr = Greek; - fp$k.l10ns; - - var fp$l = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Hebrew = { - weekdays: { - shorthand: ["א", "ב", "ג", "ד", "ה", "ו", "ש"], - longhand: ["ראשון", "שני", "שלישי", "רביעי", "חמישי", "שישי", "שבת"], - }, - months: { - shorthand: [ - "ינו׳", - "פבר׳", - "מרץ", - "אפר׳", - "מאי", - "יוני", - "יולי", - "אוג׳", - "ספט׳", - "אוק׳", - "נוב׳", - "דצמ׳", - ], - longhand: [ - "ינואר", - "פברואר", - "מרץ", - "אפריל", - "מאי", - "יוני", - "יולי", - "אוגוסט", - "ספטמבר", - "אוקטובר", - "נובמבר", - "דצמבר", - ], - }, - rangeSeparator: " אל ", - time_24hr: true, - }; - fp$l.l10ns.he = Hebrew; - fp$l.l10ns; - - var fp$m = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Hindi = { - weekdays: { - shorthand: ["रवि", "सोम", "मंगल", "बुध", "गुरु", "शुक्र", "शनि"], - longhand: [ - "रविवार", - "सोमवार", - "मंगलवार", - "बुधवार", - "गुरुवार", - "शुक्रवार", - "शनिवार", - ], - }, - months: { - shorthand: [ - "जन", - "फर", - "मार्च", - "अप्रेल", - "मई", - "जून", - "जूलाई", - "अग", - "सित", - "अक्ट", - "नव", - "दि", - ], - longhand: [ - "जनवरी ", - "फरवरी", - "मार्च", - "अप्रेल", - "मई", - "जून", - "जूलाई", - "अगस्त ", - "सितम्बर", - "अक्टूबर", - "नवम्बर", - "दिसम्बर", - ], - }, - }; - fp$m.l10ns.hi = Hindi; - fp$m.l10ns; - - var fp$n = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Croatian = { - firstDayOfWeek: 1, - weekdays: { - shorthand: ["Ned", "Pon", "Uto", "Sri", "Čet", "Pet", "Sub"], - longhand: [ - "Nedjelja", - "Ponedjeljak", - "Utorak", - "Srijeda", - "Četvrtak", - "Petak", - "Subota", - ], - }, - months: { - shorthand: [ - "Sij", - "Velj", - "Ožu", - "Tra", - "Svi", - "Lip", - "Srp", - "Kol", - "Ruj", - "Lis", - "Stu", - "Pro", - ], - longhand: [ - "Siječanj", - "Veljača", - "Ožujak", - "Travanj", - "Svibanj", - "Lipanj", - "Srpanj", - "Kolovoz", - "Rujan", - "Listopad", - "Studeni", - "Prosinac", - ], - }, - time_24hr: true, - }; - fp$n.l10ns.hr = Croatian; - fp$n.l10ns; - - var fp$o = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Hungarian = { - firstDayOfWeek: 1, - weekdays: { - shorthand: ["V", "H", "K", "Sz", "Cs", "P", "Szo"], - longhand: [ - "Vasárnap", - "Hétfő", - "Kedd", - "Szerda", - "Csütörtök", - "Péntek", - "Szombat", - ], - }, - months: { - shorthand: [ - "Jan", - "Feb", - "Már", - "Ápr", - "Máj", - "Jún", - "Júl", - "Aug", - "Szep", - "Okt", - "Nov", - "Dec", - ], - longhand: [ - "Január", - "Február", - "Március", - "Április", - "Május", - "Június", - "Július", - "Augusztus", - "Szeptember", - "Október", - "November", - "December", - ], - }, - ordinal: function () { - return "."; - }, - weekAbbreviation: "Hét", - scrollTitle: "Görgessen", - toggleTitle: "Kattintson a váltáshoz", - rangeSeparator: " - ", - time_24hr: true, - }; - fp$o.l10ns.hu = Hungarian; - fp$o.l10ns; - - var fp$p = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Armenian = { - weekdays: { - shorthand: ["Կիր", "Երկ", "Երք", "Չրք", "Հնգ", "Ուրբ", "Շբթ"], - longhand: [ - "Կիրակի", - "Եկուշաբթի", - "Երեքշաբթի", - "Չորեքշաբթի", - "Հինգշաբթի", - "Ուրբաթ", - "Շաբաթ", - ], - }, - months: { - shorthand: [ - "Հնվ", - "Փտր", - "Մար", - "Ապր", - "Մայ", - "Հնս", - "Հլս", - "Օգս", - "Սեպ", - "Հոկ", - "Նմբ", - "Դեկ", - ], - longhand: [ - "Հունվար", - "Փետրվար", - "Մարտ", - "Ապրիլ", - "Մայիս", - "Հունիս", - "Հուլիս", - "Օգոստոս", - "Սեպտեմբեր", - "Հոկտեմբեր", - "Նոյեմբեր", - "Դեկտեմբեր", - ], - }, - firstDayOfWeek: 1, - ordinal: function () { - return ""; - }, - rangeSeparator: " — ", - weekAbbreviation: "ՇԲՏ", - scrollTitle: "Ոլորեք՝ մեծացնելու համար", - toggleTitle: "Սեղմեք՝ փոխելու համար", - amPM: ["ՄԿ", "ԿՀ"], - yearAriaLabel: "Տարի", - monthAriaLabel: "Ամիս", - hourAriaLabel: "Ժամ", - minuteAriaLabel: "Րոպե", - time_24hr: true, - }; - fp$p.l10ns.hy = Armenian; - fp$p.l10ns; - - var fp$q = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Indonesian = { - weekdays: { - shorthand: ["Min", "Sen", "Sel", "Rab", "Kam", "Jum", "Sab"], - longhand: ["Minggu", "Senin", "Selasa", "Rabu", "Kamis", "Jumat", "Sabtu"], - }, - months: { - shorthand: [ - "Jan", - "Feb", - "Mar", - "Apr", - "Mei", - "Jun", - "Jul", - "Agu", - "Sep", - "Okt", - "Nov", - "Des", - ], - longhand: [ - "Januari", - "Februari", - "Maret", - "April", - "Mei", - "Juni", - "Juli", - "Agustus", - "September", - "Oktober", - "November", - "Desember", - ], - }, - firstDayOfWeek: 1, - ordinal: function () { - return ""; - }, - time_24hr: true, - rangeSeparator: " - ", - }; - fp$q.l10ns.id = Indonesian; - fp$q.l10ns; - - var fp$r = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Icelandic = { - weekdays: { - shorthand: ["Sun", "Mán", "Þri", "Mið", "Fim", "Fös", "Lau"], - longhand: [ - "Sunnudagur", - "Mánudagur", - "Þriðjudagur", - "Miðvikudagur", - "Fimmtudagur", - "Föstudagur", - "Laugardagur", - ], - }, - months: { - shorthand: [ - "Jan", - "Feb", - "Mar", - "Apr", - "Maí", - "Jún", - "Júl", - "Ágú", - "Sep", - "Okt", - "Nóv", - "Des", - ], - longhand: [ - "Janúar", - "Febrúar", - "Mars", - "Apríl", - "Maí", - "Júní", - "Júlí", - "Ágúst", - "September", - "Október", - "Nóvember", - "Desember", - ], - }, - ordinal: function () { - return "."; - }, - firstDayOfWeek: 1, - rangeSeparator: " til ", - weekAbbreviation: "vika", - yearAriaLabel: "Ár", - time_24hr: true, - }; - fp$r.l10ns.is = Icelandic; - fp$r.l10ns; - - var fp$s = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Italian = { - weekdays: { - shorthand: ["Dom", "Lun", "Mar", "Mer", "Gio", "Ven", "Sab"], - longhand: [ - "Domenica", - "Lunedì", - "Martedì", - "Mercoledì", - "Giovedì", - "Venerdì", - "Sabato", - ], - }, - months: { - shorthand: [ - "Gen", - "Feb", - "Mar", - "Apr", - "Mag", - "Giu", - "Lug", - "Ago", - "Set", - "Ott", - "Nov", - "Dic", - ], - longhand: [ - "Gennaio", - "Febbraio", - "Marzo", - "Aprile", - "Maggio", - "Giugno", - "Luglio", - "Agosto", - "Settembre", - "Ottobre", - "Novembre", - "Dicembre", - ], - }, - firstDayOfWeek: 1, - ordinal: function () { return "°"; }, - rangeSeparator: " al ", - weekAbbreviation: "Se", - scrollTitle: "Scrolla per aumentare", - toggleTitle: "Clicca per cambiare", - time_24hr: true, - }; - fp$s.l10ns.it = Italian; - fp$s.l10ns; - - var fp$t = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Japanese = { - weekdays: { - shorthand: ["日", "月", "火", "水", "木", "金", "土"], - longhand: [ - "日曜日", - "月曜日", - "火曜日", - "水曜日", - "木曜日", - "金曜日", - "土曜日", - ], - }, - months: { - shorthand: [ - "1月", - "2月", - "3月", - "4月", - "5月", - "6月", - "7月", - "8月", - "9月", - "10月", - "11月", - "12月", - ], - longhand: [ - "1月", - "2月", - "3月", - "4月", - "5月", - "6月", - "7月", - "8月", - "9月", - "10月", - "11月", - "12月", - ], - }, - time_24hr: true, - rangeSeparator: " から ", - monthAriaLabel: "月", - amPM: ["午前", "午後"], - yearAriaLabel: "年", - hourAriaLabel: "時間", - minuteAriaLabel: "分", - }; - fp$t.l10ns.ja = Japanese; - fp$t.l10ns; - - var fp$u = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Georgian = { - weekdays: { - shorthand: ["კვ", "ორ", "სა", "ოთ", "ხუ", "პა", "შა"], - longhand: [ - "კვირა", - "ორშაბათი", - "სამშაბათი", - "ოთხშაბათი", - "ხუთშაბათი", - "პარასკევი", - "შაბათი", - ], - }, - months: { - shorthand: [ - "იან", - "თებ", - "მარ", - "აპრ", - "მაი", - "ივნ", - "ივლ", - "აგვ", - "სექ", - "ოქტ", - "ნოე", - "დეკ", - ], - longhand: [ - "იანვარი", - "თებერვალი", - "მარტი", - "აპრილი", - "მაისი", - "ივნისი", - "ივლისი", - "აგვისტო", - "სექტემბერი", - "ოქტომბერი", - "ნოემბერი", - "დეკემბერი", - ], - }, - firstDayOfWeek: 1, - ordinal: function () { - return ""; - }, - rangeSeparator: " — ", - weekAbbreviation: "კვ.", - scrollTitle: "დასქროლეთ გასადიდებლად", - toggleTitle: "დააკლიკეთ გადართვისთვის", - amPM: ["AM", "PM"], - yearAriaLabel: "წელი", - time_24hr: true, - }; - fp$u.l10ns.ka = Georgian; - fp$u.l10ns; - - var fp$v = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Korean = { - weekdays: { - shorthand: ["일", "월", "화", "수", "목", "금", "토"], - longhand: [ - "일요일", - "월요일", - "화요일", - "수요일", - "목요일", - "금요일", - "토요일", - ], - }, - months: { - shorthand: [ - "1월", - "2월", - "3월", - "4월", - "5월", - "6월", - "7월", - "8월", - "9월", - "10월", - "11월", - "12월", - ], - longhand: [ - "1월", - "2월", - "3월", - "4월", - "5월", - "6월", - "7월", - "8월", - "9월", - "10월", - "11월", - "12월", - ], - }, - ordinal: function () { - return "일"; - }, - rangeSeparator: " ~ ", - amPM: ["오전", "오후"], - }; - fp$v.l10ns.ko = Korean; - fp$v.l10ns; - - var fp$w = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Khmer = { - weekdays: { - shorthand: ["អាទិត្យ", "ចន្ទ", "អង្គារ", "ពុធ", "ព្រហស.", "សុក្រ", "សៅរ៍"], - longhand: [ - "អាទិត្យ", - "ចន្ទ", - "អង្គារ", - "ពុធ", - "ព្រហស្បតិ៍", - "សុក្រ", - "សៅរ៍", - ], - }, - months: { - shorthand: [ - "មករា", - "កុម្ភះ", - "មីនា", - "មេសា", - "ឧសភា", - "មិថុនា", - "កក្កដា", - "សីហា", - "កញ្ញា", - "តុលា", - "វិច្ឆិកា", - "ធ្នូ", - ], - longhand: [ - "មករា", - "កុម្ភះ", - "មីនា", - "មេសា", - "ឧសភា", - "មិថុនា", - "កក្កដា", - "សីហា", - "កញ្ញា", - "តុលា", - "វិច្ឆិកា", - "ធ្នូ", - ], - }, - ordinal: function () { - return ""; - }, - firstDayOfWeek: 1, - rangeSeparator: " ដល់ ", - weekAbbreviation: "សប្តាហ៍", - scrollTitle: "រំកិលដើម្បីបង្កើន", - toggleTitle: "ចុចដើម្បីផ្លាស់ប្ដូរ", - yearAriaLabel: "ឆ្នាំ", - time_24hr: true, - }; - fp$w.l10ns.km = Khmer; - fp$w.l10ns; - - var fp$x = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Kazakh = { - weekdays: { - shorthand: ["Жс", "Дс", "Сc", "Ср", "Бс", "Жм", "Сб"], - longhand: [ - "Жексенбi", - "Дүйсенбi", - "Сейсенбi", - "Сәрсенбi", - "Бейсенбi", - "Жұма", - "Сенбi", - ], - }, - months: { - shorthand: [ - "Қаң", - "Ақп", - "Нау", - "Сәу", - "Мам", - "Мау", - "Шiл", - "Там", - "Қыр", - "Қаз", - "Қар", - "Жел", - ], - longhand: [ - "Қаңтар", - "Ақпан", - "Наурыз", - "Сәуiр", - "Мамыр", - "Маусым", - "Шiлде", - "Тамыз", - "Қыркүйек", - "Қазан", - "Қараша", - "Желтоқсан", - ], - }, - firstDayOfWeek: 1, - ordinal: function () { - return ""; - }, - rangeSeparator: " — ", - weekAbbreviation: "Апта", - scrollTitle: "Үлкейту үшін айналдырыңыз", - toggleTitle: "Ауыстыру үшін басыңыз", - amPM: ["ТД", "ТК"], - yearAriaLabel: "Жыл", - }; - fp$x.l10ns.kz = Kazakh; - fp$x.l10ns; - - var fp$y = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Lithuanian = { - weekdays: { - shorthand: ["S", "Pr", "A", "T", "K", "Pn", "Š"], - longhand: [ - "Sekmadienis", - "Pirmadienis", - "Antradienis", - "Trečiadienis", - "Ketvirtadienis", - "Penktadienis", - "Šeštadienis", - ], - }, - months: { - shorthand: [ - "Sau", - "Vas", - "Kov", - "Bal", - "Geg", - "Bir", - "Lie", - "Rgp", - "Rgs", - "Spl", - "Lap", - "Grd", - ], - longhand: [ - "Sausis", - "Vasaris", - "Kovas", - "Balandis", - "Gegužė", - "Birželis", - "Liepa", - "Rugpjūtis", - "Rugsėjis", - "Spalis", - "Lapkritis", - "Gruodis", - ], - }, - firstDayOfWeek: 1, - ordinal: function () { - return "-a"; - }, - rangeSeparator: " iki ", - weekAbbreviation: "Sav", - scrollTitle: "Keisti laiką pelės rateliu", - toggleTitle: "Perjungti laiko formatą", - time_24hr: true, - }; - fp$y.l10ns.lt = Lithuanian; - fp$y.l10ns; - - var fp$z = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Latvian = { - firstDayOfWeek: 1, - weekdays: { - shorthand: ["Sv", "Pr", "Ot", "Tr", "Ce", "Pk", "Se"], - longhand: [ - "Svētdiena", - "Pirmdiena", - "Otrdiena", - "Trešdiena", - "Ceturtdiena", - "Piektdiena", - "Sestdiena", - ], - }, - months: { - shorthand: [ - "Jan", - "Feb", - "Mar", - "Apr", - "Mai", - "Jūn", - "Jūl", - "Aug", - "Sep", - "Okt", - "Nov", - "Dec", - ], - longhand: [ - "Janvāris", - "Februāris", - "Marts", - "Aprīlis", - "Maijs", - "Jūnijs", - "Jūlijs", - "Augusts", - "Septembris", - "Oktobris", - "Novembris", - "Decembris", - ], - }, - rangeSeparator: " līdz ", - time_24hr: true, - }; - fp$z.l10ns.lv = Latvian; - fp$z.l10ns; - - var fp$A = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Macedonian = { - weekdays: { - shorthand: ["Не", "По", "Вт", "Ср", "Че", "Пе", "Са"], - longhand: [ - "Недела", - "Понеделник", - "Вторник", - "Среда", - "Четврток", - "Петок", - "Сабота", - ], - }, - months: { - shorthand: [ - "Јан", - "Фев", - "Мар", - "Апр", - "Мај", - "Јун", - "Јул", - "Авг", - "Сеп", - "Окт", - "Ное", - "Дек", - ], - longhand: [ - "Јануари", - "Февруари", - "Март", - "Април", - "Мај", - "Јуни", - "Јули", - "Август", - "Септември", - "Октомври", - "Ноември", - "Декември", - ], - }, - firstDayOfWeek: 1, - weekAbbreviation: "Нед.", - rangeSeparator: " до ", - time_24hr: true, - }; - fp$A.l10ns.mk = Macedonian; - fp$A.l10ns; - - var fp$B = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Mongolian = { - firstDayOfWeek: 1, - weekdays: { - shorthand: ["Да", "Мя", "Лх", "Пү", "Ба", "Бя", "Ня"], - longhand: ["Даваа", "Мягмар", "Лхагва", "Пүрэв", "Баасан", "Бямба", "Ням"], - }, - months: { - shorthand: [ - "1-р сар", - "2-р сар", - "3-р сар", - "4-р сар", - "5-р сар", - "6-р сар", - "7-р сар", - "8-р сар", - "9-р сар", - "10-р сар", - "11-р сар", - "12-р сар", - ], - longhand: [ - "Нэгдүгээр сар", - "Хоёрдугаар сар", - "Гуравдугаар сар", - "Дөрөвдүгээр сар", - "Тавдугаар сар", - "Зургаадугаар сар", - "Долдугаар сар", - "Наймдугаар сар", - "Есдүгээр сар", - "Аравдугаар сар", - "Арваннэгдүгээр сар", - "Арванхоёрдугаар сар", - ], - }, - rangeSeparator: "-с ", - time_24hr: true, - }; - fp$B.l10ns.mn = Mongolian; - fp$B.l10ns; - - var fp$C = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Malaysian = { - weekdays: { - shorthand: ["Aha", "Isn", "Sel", "Rab", "Kha", "Jum", "Sab"], - longhand: ["Ahad", "Isnin", "Selasa", "Rabu", "Khamis", "Jumaat", "Sabtu"], - }, - months: { - shorthand: [ - "Jan", - "Feb", - "Mac", - "Apr", - "Mei", - "Jun", - "Jul", - "Ogo", - "Sep", - "Okt", - "Nov", - "Dis", - ], - longhand: [ - "Januari", - "Februari", - "Mac", - "April", - "Mei", - "Jun", - "Julai", - "Ogos", - "September", - "Oktober", - "November", - "Disember", - ], - }, - firstDayOfWeek: 1, - ordinal: function () { - return ""; - }, - }; - fp$C.l10ns; - - var fp$D = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Burmese = { - weekdays: { - shorthand: ["နွေ", "လာ", "ဂါ", "ဟူး", "ကြာ", "သော", "နေ"], - longhand: [ - "တနင်္ဂနွေ", - "တနင်္လာ", - "အင်္ဂါ", - "ဗုဒ္ဓဟူး", - "ကြာသပတေး", - "သောကြာ", - "စနေ", - ], - }, - months: { - shorthand: [ - "ဇန်", - "ဖေ", - "မတ်", - "ပြီ", - "မေ", - "ဇွန်", - "လိုင်", - "သြ", - "စက်", - "အောက်", - "နို", - "ဒီ", - ], - longhand: [ - "ဇန်နဝါရီ", - "ဖေဖော်ဝါရီ", - "မတ်", - "ဧပြီ", - "မေ", - "ဇွန်", - "ဇူလိုင်", - "သြဂုတ်", - "စက်တင်ဘာ", - "အောက်တိုဘာ", - "နိုဝင်ဘာ", - "ဒီဇင်ဘာ", - ], - }, - firstDayOfWeek: 1, - ordinal: function () { - return ""; - }, - time_24hr: true, - }; - fp$D.l10ns.my = Burmese; - fp$D.l10ns; - - var fp$E = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Dutch = { - weekdays: { - shorthand: ["zo", "ma", "di", "wo", "do", "vr", "za"], - longhand: [ - "zondag", - "maandag", - "dinsdag", - "woensdag", - "donderdag", - "vrijdag", - "zaterdag", - ], - }, - months: { - shorthand: [ - "jan", - "feb", - "mrt", - "apr", - "mei", - "jun", - "jul", - "aug", - "sept", - "okt", - "nov", - "dec", - ], - longhand: [ - "januari", - "februari", - "maart", - "april", - "mei", - "juni", - "juli", - "augustus", - "september", - "oktober", - "november", - "december", - ], - }, - firstDayOfWeek: 1, - weekAbbreviation: "wk", - rangeSeparator: " t/m ", - scrollTitle: "Scroll voor volgende / vorige", - toggleTitle: "Klik om te wisselen", - time_24hr: true, - ordinal: function (nth) { - if (nth === 1 || nth === 8 || nth >= 20) - return "ste"; - return "de"; - }, - }; - fp$E.l10ns.nl = Dutch; - fp$E.l10ns; - - var fp$F = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var NorwegianNynorsk = { - weekdays: { - shorthand: ["Sø.", "Må.", "Ty.", "On.", "To.", "Fr.", "La."], - longhand: [ - "Søndag", - "Måndag", - "Tysdag", - "Onsdag", - "Torsdag", - "Fredag", - "Laurdag", - ], - }, - months: { - shorthand: [ - "Jan", - "Feb", - "Mars", - "Apr", - "Mai", - "Juni", - "Juli", - "Aug", - "Sep", - "Okt", - "Nov", - "Des", - ], - longhand: [ - "Januar", - "Februar", - "Mars", - "April", - "Mai", - "Juni", - "Juli", - "August", - "September", - "Oktober", - "November", - "Desember", - ], - }, - firstDayOfWeek: 1, - rangeSeparator: " til ", - weekAbbreviation: "Veke", - scrollTitle: "Scroll for å endre", - toggleTitle: "Klikk for å veksle", - time_24hr: true, - ordinal: function () { - return "."; - }, - }; - fp$F.l10ns.nn = NorwegianNynorsk; - fp$F.l10ns; - - var fp$G = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Norwegian = { - weekdays: { - shorthand: ["Søn", "Man", "Tir", "Ons", "Tor", "Fre", "Lør"], - longhand: [ - "Søndag", - "Mandag", - "Tirsdag", - "Onsdag", - "Torsdag", - "Fredag", - "Lørdag", - ], - }, - months: { - shorthand: [ - "Jan", - "Feb", - "Mar", - "Apr", - "Mai", - "Jun", - "Jul", - "Aug", - "Sep", - "Okt", - "Nov", - "Des", - ], - longhand: [ - "Januar", - "Februar", - "Mars", - "April", - "Mai", - "Juni", - "Juli", - "August", - "September", - "Oktober", - "November", - "Desember", - ], - }, - firstDayOfWeek: 1, - rangeSeparator: " til ", - weekAbbreviation: "Uke", - scrollTitle: "Scroll for å endre", - toggleTitle: "Klikk for å veksle", - time_24hr: true, - ordinal: function () { - return "."; - }, - }; - fp$G.l10ns.no = Norwegian; - fp$G.l10ns; - - var fp$H = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Punjabi = { - weekdays: { - shorthand: ["ਐਤ", "ਸੋਮ", "ਮੰਗਲ", "ਬੁੱਧ", "ਵੀਰ", "ਸ਼ੁੱਕਰ", "ਸ਼ਨਿੱਚਰ"], - longhand: [ - "ਐਤਵਾਰ", - "ਸੋਮਵਾਰ", - "ਮੰਗਲਵਾਰ", - "ਬੁੱਧਵਾਰ", - "ਵੀਰਵਾਰ", - "ਸ਼ੁੱਕਰਵਾਰ", - "ਸ਼ਨਿੱਚਰਵਾਰ", - ], - }, - months: { - shorthand: [ - "ਜਨ", - "ਫ਼ਰ", - "ਮਾਰ", - "ਅਪ੍ਰੈ", - "ਮਈ", - "ਜੂਨ", - "ਜੁਲਾ", - "ਅਗ", - "ਸਤੰ", - "ਅਕ", - "ਨਵੰ", - "ਦਸੰ", - ], - longhand: [ - "ਜਨਵਰੀ", - "ਫ਼ਰਵਰੀ", - "ਮਾਰਚ", - "ਅਪ੍ਰੈਲ", - "ਮਈ", - "ਜੂਨ", - "ਜੁਲਾਈ", - "ਅਗਸਤ", - "ਸਤੰਬਰ", - "ਅਕਤੂਬਰ", - "ਨਵੰਬਰ", - "ਦਸੰਬਰ", - ], - }, - time_24hr: true, - }; - fp$H.l10ns.pa = Punjabi; - fp$H.l10ns; - - var fp$I = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Polish = { - weekdays: { - shorthand: ["Nd", "Pn", "Wt", "Śr", "Cz", "Pt", "So"], - longhand: [ - "Niedziela", - "Poniedziałek", - "Wtorek", - "Środa", - "Czwartek", - "Piątek", - "Sobota", - ], - }, - months: { - shorthand: [ - "Sty", - "Lut", - "Mar", - "Kwi", - "Maj", - "Cze", - "Lip", - "Sie", - "Wrz", - "Paź", - "Lis", - "Gru", - ], - longhand: [ - "Styczeń", - "Luty", - "Marzec", - "Kwiecień", - "Maj", - "Czerwiec", - "Lipiec", - "Sierpień", - "Wrzesień", - "Październik", - "Listopad", - "Grudzień", - ], - }, - rangeSeparator: " do ", - weekAbbreviation: "tydz.", - scrollTitle: "Przewiń, aby zwiększyć", - toggleTitle: "Kliknij, aby przełączyć", - firstDayOfWeek: 1, - time_24hr: true, - ordinal: function () { - return "."; - }, - }; - fp$I.l10ns.pl = Polish; - fp$I.l10ns; - - var fp$J = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Portuguese = { - weekdays: { - shorthand: ["Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sáb"], - longhand: [ - "Domingo", - "Segunda-feira", - "Terça-feira", - "Quarta-feira", - "Quinta-feira", - "Sexta-feira", - "Sábado", - ], - }, - months: { - shorthand: [ - "Jan", - "Fev", - "Mar", - "Abr", - "Mai", - "Jun", - "Jul", - "Ago", - "Set", - "Out", - "Nov", - "Dez", - ], - longhand: [ - "Janeiro", - "Fevereiro", - "Março", - "Abril", - "Maio", - "Junho", - "Julho", - "Agosto", - "Setembro", - "Outubro", - "Novembro", - "Dezembro", - ], - }, - rangeSeparator: " até ", - time_24hr: true, - }; - fp$J.l10ns.pt = Portuguese; - fp$J.l10ns; - - var fp$K = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Romanian = { - weekdays: { - shorthand: ["Dum", "Lun", "Mar", "Mie", "Joi", "Vin", "Sâm"], - longhand: [ - "Duminică", - "Luni", - "Marți", - "Miercuri", - "Joi", - "Vineri", - "Sâmbătă", - ], - }, - months: { - shorthand: [ - "Ian", - "Feb", - "Mar", - "Apr", - "Mai", - "Iun", - "Iul", - "Aug", - "Sep", - "Oct", - "Noi", - "Dec", - ], - longhand: [ - "Ianuarie", - "Februarie", - "Martie", - "Aprilie", - "Mai", - "Iunie", - "Iulie", - "August", - "Septembrie", - "Octombrie", - "Noiembrie", - "Decembrie", - ], - }, - firstDayOfWeek: 1, - time_24hr: true, - ordinal: function () { - return ""; - }, - }; - fp$K.l10ns.ro = Romanian; - fp$K.l10ns; - - var fp$L = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Russian = { - weekdays: { - shorthand: ["Вс", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб"], - longhand: [ - "Воскресенье", - "Понедельник", - "Вторник", - "Среда", - "Четверг", - "Пятница", - "Суббота", - ], - }, - months: { - shorthand: [ - "Янв", - "Фев", - "Март", - "Апр", - "Май", - "Июнь", - "Июль", - "Авг", - "Сен", - "Окт", - "Ноя", - "Дек", - ], - longhand: [ - "Январь", - "Февраль", - "Март", - "Апрель", - "Май", - "Июнь", - "Июль", - "Август", - "Сентябрь", - "Октябрь", - "Ноябрь", - "Декабрь", - ], - }, - firstDayOfWeek: 1, - ordinal: function () { - return ""; - }, - rangeSeparator: " — ", - weekAbbreviation: "Нед.", - scrollTitle: "Прокрутите для увеличения", - toggleTitle: "Нажмите для переключения", - amPM: ["ДП", "ПП"], - yearAriaLabel: "Год", - time_24hr: true, - }; - fp$L.l10ns.ru = Russian; - fp$L.l10ns; - - var fp$M = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Sinhala = { - weekdays: { - shorthand: ["ඉ", "ස", "අ", "බ", "බ්‍ර", "සි", "සෙ"], - longhand: [ - "ඉරිදා", - "සඳුදා", - "අඟහරුවාදා", - "බදාදා", - "බ්‍රහස්පතින්දා", - "සිකුරාදා", - "සෙනසුරාදා", - ], - }, - months: { - shorthand: [ - "ජන", - "පෙබ", - "මාර්", - "අප්‍රේ", - "මැයි", - "ජුනි", - "ජූලි", - "අගෝ", - "සැප්", - "ඔක්", - "නොවැ", - "දෙසැ", - ], - longhand: [ - "ජනවාරි", - "පෙබරවාරි", - "මාර්තු", - "අප්‍රේල්", - "මැයි", - "ජුනි", - "ජූලි", - "අගෝස්තු", - "සැප්තැම්බර්", - "ඔක්තෝබර්", - "නොවැම්බර්", - "දෙසැම්බර්", - ], - }, - time_24hr: true, - }; - fp$M.l10ns.si = Sinhala; - fp$M.l10ns; - - var fp$N = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Slovak = { - weekdays: { - shorthand: ["Ned", "Pon", "Ut", "Str", "Štv", "Pia", "Sob"], - longhand: [ - "Nedeľa", - "Pondelok", - "Utorok", - "Streda", - "Štvrtok", - "Piatok", - "Sobota", - ], - }, - months: { - shorthand: [ - "Jan", - "Feb", - "Mar", - "Apr", - "Máj", - "Jún", - "Júl", - "Aug", - "Sep", - "Okt", - "Nov", - "Dec", - ], - longhand: [ - "Január", - "Február", - "Marec", - "Apríl", - "Máj", - "Jún", - "Júl", - "August", - "September", - "Október", - "November", - "December", - ], - }, - firstDayOfWeek: 1, - rangeSeparator: " do ", - time_24hr: true, - ordinal: function () { - return "."; - }, - }; - fp$N.l10ns.sk = Slovak; - fp$N.l10ns; - - var fp$O = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Slovenian = { - weekdays: { - shorthand: ["Ned", "Pon", "Tor", "Sre", "Čet", "Pet", "Sob"], - longhand: [ - "Nedelja", - "Ponedeljek", - "Torek", - "Sreda", - "Četrtek", - "Petek", - "Sobota", - ], - }, - months: { - shorthand: [ - "Jan", - "Feb", - "Mar", - "Apr", - "Maj", - "Jun", - "Jul", - "Avg", - "Sep", - "Okt", - "Nov", - "Dec", - ], - longhand: [ - "Januar", - "Februar", - "Marec", - "April", - "Maj", - "Junij", - "Julij", - "Avgust", - "September", - "Oktober", - "November", - "December", - ], - }, - firstDayOfWeek: 1, - rangeSeparator: " do ", - time_24hr: true, - ordinal: function () { - return "."; - }, - }; - fp$O.l10ns.sl = Slovenian; - fp$O.l10ns; - - var fp$P = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Albanian = { - weekdays: { - shorthand: ["Di", "Hë", "Ma", "Më", "En", "Pr", "Sh"], - longhand: [ - "E Diel", - "E Hënë", - "E Martë", - "E Mërkurë", - "E Enjte", - "E Premte", - "E Shtunë", - ], - }, - months: { - shorthand: [ - "Jan", - "Shk", - "Mar", - "Pri", - "Maj", - "Qer", - "Kor", - "Gus", - "Sht", - "Tet", - "Nën", - "Dhj", - ], - longhand: [ - "Janar", - "Shkurt", - "Mars", - "Prill", - "Maj", - "Qershor", - "Korrik", - "Gusht", - "Shtator", - "Tetor", - "Nëntor", - "Dhjetor", - ], - }, - firstDayOfWeek: 1, - rangeSeparator: " deri ", - weekAbbreviation: "Java", - yearAriaLabel: "Viti", - monthAriaLabel: "Muaji", - hourAriaLabel: "Ora", - minuteAriaLabel: "Minuta", - time_24hr: true, - }; - fp$P.l10ns.sq = Albanian; - fp$P.l10ns; - - var fp$Q = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Serbian = { - weekdays: { - shorthand: ["Ned", "Pon", "Uto", "Sre", "Čet", "Pet", "Sub"], - longhand: [ - "Nedelja", - "Ponedeljak", - "Utorak", - "Sreda", - "Četvrtak", - "Petak", - "Subota", - ], - }, - months: { - shorthand: [ - "Jan", - "Feb", - "Mar", - "Apr", - "Maj", - "Jun", - "Jul", - "Avg", - "Sep", - "Okt", - "Nov", - "Dec", - ], - longhand: [ - "Januar", - "Februar", - "Mart", - "April", - "Maj", - "Jun", - "Jul", - "Avgust", - "Septembar", - "Oktobar", - "Novembar", - "Decembar", - ], - }, - firstDayOfWeek: 1, - weekAbbreviation: "Ned.", - rangeSeparator: " do ", - time_24hr: true, - }; - fp$Q.l10ns.sr = Serbian; - fp$Q.l10ns; - - var fp$R = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Swedish = { - firstDayOfWeek: 1, - weekAbbreviation: "v", - weekdays: { - shorthand: ["sön", "mån", "tis", "ons", "tor", "fre", "lör"], - longhand: [ - "söndag", - "måndag", - "tisdag", - "onsdag", - "torsdag", - "fredag", - "lördag", - ], - }, - months: { - shorthand: [ - "jan", - "feb", - "mar", - "apr", - "maj", - "jun", - "jul", - "aug", - "sep", - "okt", - "nov", - "dec", - ], - longhand: [ - "januari", - "februari", - "mars", - "april", - "maj", - "juni", - "juli", - "augusti", - "september", - "oktober", - "november", - "december", - ], - }, - rangeSeparator: " till ", - time_24hr: true, - ordinal: function () { - return "."; - }, - }; - fp$R.l10ns.sv = Swedish; - fp$R.l10ns; - - var fp$S = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Thai = { - weekdays: { - shorthand: ["อา", "จ", "อ", "พ", "พฤ", "ศ", "ส"], - longhand: [ - "อาทิตย์", - "จันทร์", - "อังคาร", - "พุธ", - "พฤหัสบดี", - "ศุกร์", - "เสาร์", - ], - }, - months: { - shorthand: [ - "ม.ค.", - "ก.พ.", - "มี.ค.", - "เม.ย.", - "พ.ค.", - "มิ.ย.", - "ก.ค.", - "ส.ค.", - "ก.ย.", - "ต.ค.", - "พ.ย.", - "ธ.ค.", - ], - longhand: [ - "มกราคม", - "กุมภาพันธ์", - "มีนาคม", - "เมษายน", - "พฤษภาคม", - "มิถุนายน", - "กรกฎาคม", - "สิงหาคม", - "กันยายน", - "ตุลาคม", - "พฤศจิกายน", - "ธันวาคม", - ], - }, - firstDayOfWeek: 1, - rangeSeparator: " ถึง ", - scrollTitle: "เลื่อนเพื่อเพิ่มหรือลด", - toggleTitle: "คลิกเพื่อเปลี่ยน", - time_24hr: true, - ordinal: function () { - return ""; - }, - }; - fp$S.l10ns.th = Thai; - fp$S.l10ns; - - var fp$T = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Turkish = { - weekdays: { - shorthand: ["Paz", "Pzt", "Sal", "Çar", "Per", "Cum", "Cmt"], - longhand: [ - "Pazar", - "Pazartesi", - "Salı", - "Çarşamba", - "Perşembe", - "Cuma", - "Cumartesi", - ], - }, - months: { - shorthand: [ - "Oca", - "Şub", - "Mar", - "Nis", - "May", - "Haz", - "Tem", - "Ağu", - "Eyl", - "Eki", - "Kas", - "Ara", - ], - longhand: [ - "Ocak", - "Şubat", - "Mart", - "Nisan", - "Mayıs", - "Haziran", - "Temmuz", - "Ağustos", - "Eylül", - "Ekim", - "Kasım", - "Aralık", - ], - }, - firstDayOfWeek: 1, - ordinal: function () { - return "."; - }, - rangeSeparator: " - ", - weekAbbreviation: "Hf", - scrollTitle: "Artırmak için kaydırın", - toggleTitle: "Aç/Kapa", - amPM: ["ÖÖ", "ÖS"], - time_24hr: true, - }; - fp$T.l10ns.tr = Turkish; - fp$T.l10ns; - - var fp$U = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Ukrainian = { - firstDayOfWeek: 1, - weekdays: { - shorthand: ["Нд", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб"], - longhand: [ - "Неділя", - "Понеділок", - "Вівторок", - "Середа", - "Четвер", - "П'ятниця", - "Субота", - ], - }, - months: { - shorthand: [ - "Січ", - "Лют", - "Бер", - "Кві", - "Тра", - "Чер", - "Лип", - "Сер", - "Вер", - "Жов", - "Лис", - "Гру", - ], - longhand: [ - "Січень", - "Лютий", - "Березень", - "Квітень", - "Травень", - "Червень", - "Липень", - "Серпень", - "Вересень", - "Жовтень", - "Листопад", - "Грудень", - ], - }, - time_24hr: true, - }; - fp$U.l10ns.uk = Ukrainian; - fp$U.l10ns; - - var fp$V = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Uzbek = { - weekdays: { - shorthand: ["Якш", "Душ", "Сеш", "Чор", "Пай", "Жум", "Шан"], - longhand: [ - "Якшанба", - "Душанба", - "Сешанба", - "Чоршанба", - "Пайшанба", - "Жума", - "Шанба", - ], - }, - months: { - shorthand: [ - "Янв", - "Фев", - "Мар", - "Апр", - "Май", - "Июн", - "Июл", - "Авг", - "Сен", - "Окт", - "Ноя", - "Дек", - ], - longhand: [ - "Январ", - "Феврал", - "Март", - "Апрел", - "Май", - "Июн", - "Июл", - "Август", - "Сентябр", - "Октябр", - "Ноябр", - "Декабр", - ], - }, - firstDayOfWeek: 1, - ordinal: function () { - return ""; - }, - rangeSeparator: " — ", - weekAbbreviation: "Ҳафта", - scrollTitle: "Катталаштириш учун айлантиринг", - toggleTitle: "Ўтиш учун босинг", - amPM: ["AM", "PM"], - yearAriaLabel: "Йил", - time_24hr: true, - }; - fp$V.l10ns.uz = Uzbek; - fp$V.l10ns; - - var fp$W = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var UzbekLatin = { - weekdays: { - shorthand: ["Ya", "Du", "Se", "Cho", "Pa", "Ju", "Sha"], - longhand: [ - "Yakshanba", - "Dushanba", - "Seshanba", - "Chorshanba", - "Payshanba", - "Juma", - "Shanba", - ], - }, - months: { - shorthand: [ - "Yan", - "Fev", - "Mar", - "Apr", - "May", - "Iyun", - "Iyul", - "Avg", - "Sen", - "Okt", - "Noy", - "Dek", - ], - longhand: [ - "Yanvar", - "Fevral", - "Mart", - "Aprel", - "May", - "Iyun", - "Iyul", - "Avgust", - "Sentabr", - "Oktabr", - "Noyabr", - "Dekabr", - ], - }, - firstDayOfWeek: 1, - ordinal: function () { - return ""; - }, - rangeSeparator: " — ", - weekAbbreviation: "Hafta", - scrollTitle: "Kattalashtirish uchun aylantiring", - toggleTitle: "O‘tish uchun bosing", - amPM: ["AM", "PM"], - yearAriaLabel: "Yil", - time_24hr: true, - }; - fp$W.l10ns["uz_latn"] = UzbekLatin; - fp$W.l10ns; - - var fp$X = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Vietnamese = { - weekdays: { - shorthand: ["CN", "T2", "T3", "T4", "T5", "T6", "T7"], - longhand: [ - "Chủ nhật", - "Thứ hai", - "Thứ ba", - "Thứ tư", - "Thứ năm", - "Thứ sáu", - "Thứ bảy", - ], - }, - months: { - shorthand: [ - "Th1", - "Th2", - "Th3", - "Th4", - "Th5", - "Th6", - "Th7", - "Th8", - "Th9", - "Th10", - "Th11", - "Th12", - ], - longhand: [ - "Tháng một", - "Tháng hai", - "Tháng ba", - "Tháng tư", - "Tháng năm", - "Tháng sáu", - "Tháng bảy", - "Tháng tám", - "Tháng chín", - "Tháng mười", - "Tháng mười một", - "Tháng mười hai", - ], - }, - firstDayOfWeek: 1, - rangeSeparator: " đến ", - }; - fp$X.l10ns.vn = Vietnamese; - fp$X.l10ns; - - var fp$Y = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Mandarin = { - weekdays: { - shorthand: ["周日", "周一", "周二", "周三", "周四", "周五", "周六"], - longhand: [ - "星期日", - "星期一", - "星期二", - "星期三", - "星期四", - "星期五", - "星期六", - ], - }, - months: { - shorthand: [ - "一月", - "二月", - "三月", - "四月", - "五月", - "六月", - "七月", - "八月", - "九月", - "十月", - "十一月", - "十二月", - ], - longhand: [ - "一月", - "二月", - "三月", - "四月", - "五月", - "六月", - "七月", - "八月", - "九月", - "十月", - "十一月", - "十二月", - ], - }, - rangeSeparator: " 至 ", - weekAbbreviation: "周", - scrollTitle: "滚动切换", - toggleTitle: "点击切换 12/24 小时时制", - }; - fp$Y.l10ns.zh = Mandarin; - fp$Y.l10ns; - - var fp$Z = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var MandarinTraditional = { - weekdays: { - shorthand: ["週日", "週一", "週二", "週三", "週四", "週五", "週六"], - longhand: [ - "星期日", - "星期一", - "星期二", - "星期三", - "星期四", - "星期五", - "星期六", - ], - }, - months: { - shorthand: [ - "一月", - "二月", - "三月", - "四月", - "五月", - "六月", - "七月", - "八月", - "九月", - "十月", - "十一月", - "十二月", - ], - longhand: [ - "一月", - "二月", - "三月", - "四月", - "五月", - "六月", - "七月", - "八月", - "九月", - "十月", - "十一月", - "十二月", - ], - }, - rangeSeparator: " 至 ", - weekAbbreviation: "週", - scrollTitle: "滾動切換", - toggleTitle: "點擊切換 12/24 小時時制", - }; - fp$Z.l10ns.zh_tw = MandarinTraditional; - fp$Z.l10ns; - - var l10n = { - ar: Arabic, - at: Austria, - az: Azerbaijan, - be: Belarusian, - bg: Bulgarian, - bn: Bangla, - bs: Bosnian, - ca: Catalan, - ckb: Kurdish, - cat: Catalan, - cs: Czech, - cy: Welsh, - da: Danish, - de: German, - default: __assign({}, english), - en: english, - eo: Esperanto, - es: Spanish, - et: Estonian, - fa: Persian, - fi: Finnish, - fo: Faroese, - fr: French, - gr: Greek, - he: Hebrew, - hi: Hindi, - hr: Croatian, - hu: Hungarian, - hy: Armenian, - id: Indonesian, - is: Icelandic, - it: Italian, - ja: Japanese, - ka: Georgian, - ko: Korean, - km: Khmer, - kz: Kazakh, - lt: Lithuanian, - lv: Latvian, - mk: Macedonian, - mn: Mongolian, - ms: Malaysian, - my: Burmese, - nl: Dutch, - nn: NorwegianNynorsk, - no: Norwegian, - pa: Punjabi, - pl: Polish, - pt: Portuguese, - ro: Romanian, - ru: Russian, - si: Sinhala, - sk: Slovak, - sl: Slovenian, - sq: Albanian, - sr: Serbian, - sv: Swedish, - th: Thai, - tr: Turkish, - uk: Ukrainian, - vn: Vietnamese, - zh: Mandarin, - zh_tw: MandarinTraditional, - uz: Uzbek, - uz_latn: UzbekLatin, - }; - - exports.default = l10n; - - Object.defineProperty(exports, '__esModule', { value: true }); - -}))); - - -/***/ }), - -/***/ "./node_modules/flatpickr/dist/l10n/is.js": -/*!************************************************!*\ - !*** ./node_modules/flatpickr/dist/l10n/is.js ***! - \************************************************/ -/***/ (function(__unused_webpack_module, exports) { - -(function (global, factory) { - true ? factory(exports) : - 0; -}(this, (function (exports) { 'use strict'; - - var fp = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Icelandic = { - weekdays: { - shorthand: ["Sun", "Mán", "Þri", "Mið", "Fim", "Fös", "Lau"], - longhand: [ - "Sunnudagur", - "Mánudagur", - "Þriðjudagur", - "Miðvikudagur", - "Fimmtudagur", - "Föstudagur", - "Laugardagur", - ], - }, - months: { - shorthand: [ - "Jan", - "Feb", - "Mar", - "Apr", - "Maí", - "Jún", - "Júl", - "Ágú", - "Sep", - "Okt", - "Nóv", - "Des", - ], - longhand: [ - "Janúar", - "Febrúar", - "Mars", - "Apríl", - "Maí", - "Júní", - "Júlí", - "Ágúst", - "September", - "Október", - "Nóvember", - "Desember", - ], - }, - ordinal: function () { - return "."; - }, - firstDayOfWeek: 1, - rangeSeparator: " til ", - weekAbbreviation: "vika", - yearAriaLabel: "Ár", - time_24hr: true, - }; - fp.l10ns.is = Icelandic; - var is = fp.l10ns; - - exports.Icelandic = Icelandic; - exports.default = is; - - Object.defineProperty(exports, '__esModule', { value: true }); - -}))); - - -/***/ }), - -/***/ "./node_modules/flatpickr/dist/l10n/it.js": -/*!************************************************!*\ - !*** ./node_modules/flatpickr/dist/l10n/it.js ***! - \************************************************/ -/***/ (function(__unused_webpack_module, exports) { - -(function (global, factory) { - true ? factory(exports) : - 0; -}(this, (function (exports) { 'use strict'; - - var fp = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Italian = { - weekdays: { - shorthand: ["Dom", "Lun", "Mar", "Mer", "Gio", "Ven", "Sab"], - longhand: [ - "Domenica", - "Lunedì", - "Martedì", - "Mercoledì", - "Giovedì", - "Venerdì", - "Sabato", - ], - }, - months: { - shorthand: [ - "Gen", - "Feb", - "Mar", - "Apr", - "Mag", - "Giu", - "Lug", - "Ago", - "Set", - "Ott", - "Nov", - "Dic", - ], - longhand: [ - "Gennaio", - "Febbraio", - "Marzo", - "Aprile", - "Maggio", - "Giugno", - "Luglio", - "Agosto", - "Settembre", - "Ottobre", - "Novembre", - "Dicembre", - ], - }, - firstDayOfWeek: 1, - ordinal: function () { return "°"; }, - rangeSeparator: " al ", - weekAbbreviation: "Se", - scrollTitle: "Scrolla per aumentare", - toggleTitle: "Clicca per cambiare", - time_24hr: true, - }; - fp.l10ns.it = Italian; - var it = fp.l10ns; - - exports.Italian = Italian; - exports.default = it; - - Object.defineProperty(exports, '__esModule', { value: true }); - -}))); - - -/***/ }), - -/***/ "./node_modules/flatpickr/dist/l10n/ja.js": -/*!************************************************!*\ - !*** ./node_modules/flatpickr/dist/l10n/ja.js ***! - \************************************************/ -/***/ (function(__unused_webpack_module, exports) { - -(function (global, factory) { - true ? factory(exports) : - 0; -}(this, (function (exports) { 'use strict'; - - var fp = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Japanese = { - weekdays: { - shorthand: ["日", "月", "火", "水", "木", "金", "土"], - longhand: [ - "日曜日", - "月曜日", - "火曜日", - "水曜日", - "木曜日", - "金曜日", - "土曜日", - ], - }, - months: { - shorthand: [ - "1月", - "2月", - "3月", - "4月", - "5月", - "6月", - "7月", - "8月", - "9月", - "10月", - "11月", - "12月", - ], - longhand: [ - "1月", - "2月", - "3月", - "4月", - "5月", - "6月", - "7月", - "8月", - "9月", - "10月", - "11月", - "12月", - ], - }, - time_24hr: true, - rangeSeparator: " から ", - monthAriaLabel: "月", - amPM: ["午前", "午後"], - yearAriaLabel: "年", - hourAriaLabel: "時間", - minuteAriaLabel: "分", - }; - fp.l10ns.ja = Japanese; - var ja = fp.l10ns; - - exports.Japanese = Japanese; - exports.default = ja; - - Object.defineProperty(exports, '__esModule', { value: true }); - -}))); - - -/***/ }), - -/***/ "./node_modules/flatpickr/dist/l10n/ka.js": -/*!************************************************!*\ - !*** ./node_modules/flatpickr/dist/l10n/ka.js ***! - \************************************************/ -/***/ (function(__unused_webpack_module, exports) { - -(function (global, factory) { - true ? factory(exports) : - 0; -}(this, (function (exports) { 'use strict'; - - var fp = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Georgian = { - weekdays: { - shorthand: ["კვ", "ორ", "სა", "ოთ", "ხუ", "პა", "შა"], - longhand: [ - "კვირა", - "ორშაბათი", - "სამშაბათი", - "ოთხშაბათი", - "ხუთშაბათი", - "პარასკევი", - "შაბათი", - ], - }, - months: { - shorthand: [ - "იან", - "თებ", - "მარ", - "აპრ", - "მაი", - "ივნ", - "ივლ", - "აგვ", - "სექ", - "ოქტ", - "ნოე", - "დეკ", - ], - longhand: [ - "იანვარი", - "თებერვალი", - "მარტი", - "აპრილი", - "მაისი", - "ივნისი", - "ივლისი", - "აგვისტო", - "სექტემბერი", - "ოქტომბერი", - "ნოემბერი", - "დეკემბერი", - ], - }, - firstDayOfWeek: 1, - ordinal: function () { - return ""; - }, - rangeSeparator: " — ", - weekAbbreviation: "კვ.", - scrollTitle: "დასქროლეთ გასადიდებლად", - toggleTitle: "დააკლიკეთ გადართვისთვის", - amPM: ["AM", "PM"], - yearAriaLabel: "წელი", - time_24hr: true, - }; - fp.l10ns.ka = Georgian; - var ka = fp.l10ns; - - exports.Georgian = Georgian; - exports.default = ka; - - Object.defineProperty(exports, '__esModule', { value: true }); - -}))); - - -/***/ }), - -/***/ "./node_modules/flatpickr/dist/l10n/km.js": -/*!************************************************!*\ - !*** ./node_modules/flatpickr/dist/l10n/km.js ***! - \************************************************/ -/***/ (function(__unused_webpack_module, exports) { - -(function (global, factory) { - true ? factory(exports) : - 0; -}(this, (function (exports) { 'use strict'; - - var fp = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Khmer = { - weekdays: { - shorthand: ["អាទិត្យ", "ចន្ទ", "អង្គារ", "ពុធ", "ព្រហស.", "សុក្រ", "សៅរ៍"], - longhand: [ - "អាទិត្យ", - "ចន្ទ", - "អង្គារ", - "ពុធ", - "ព្រហស្បតិ៍", - "សុក្រ", - "សៅរ៍", - ], - }, - months: { - shorthand: [ - "មករា", - "កុម្ភះ", - "មីនា", - "មេសា", - "ឧសភា", - "មិថុនា", - "កក្កដា", - "សីហា", - "កញ្ញា", - "តុលា", - "វិច្ឆិកា", - "ធ្នូ", - ], - longhand: [ - "មករា", - "កុម្ភះ", - "មីនា", - "មេសា", - "ឧសភា", - "មិថុនា", - "កក្កដា", - "សីហា", - "កញ្ញា", - "តុលា", - "វិច្ឆិកា", - "ធ្នូ", - ], - }, - ordinal: function () { - return ""; - }, - firstDayOfWeek: 1, - rangeSeparator: " ដល់ ", - weekAbbreviation: "សប្តាហ៍", - scrollTitle: "រំកិលដើម្បីបង្កើន", - toggleTitle: "ចុចដើម្បីផ្លាស់ប្ដូរ", - yearAriaLabel: "ឆ្នាំ", - time_24hr: true, - }; - fp.l10ns.km = Khmer; - var km = fp.l10ns; - - exports.Khmer = Khmer; - exports.default = km; - - Object.defineProperty(exports, '__esModule', { value: true }); - -}))); - - -/***/ }), - -/***/ "./node_modules/flatpickr/dist/l10n/ko.js": -/*!************************************************!*\ - !*** ./node_modules/flatpickr/dist/l10n/ko.js ***! - \************************************************/ -/***/ (function(__unused_webpack_module, exports) { - -(function (global, factory) { - true ? factory(exports) : - 0; -}(this, (function (exports) { 'use strict'; - - var fp = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Korean = { - weekdays: { - shorthand: ["일", "월", "화", "수", "목", "금", "토"], - longhand: [ - "일요일", - "월요일", - "화요일", - "수요일", - "목요일", - "금요일", - "토요일", - ], - }, - months: { - shorthand: [ - "1월", - "2월", - "3월", - "4월", - "5월", - "6월", - "7월", - "8월", - "9월", - "10월", - "11월", - "12월", - ], - longhand: [ - "1월", - "2월", - "3월", - "4월", - "5월", - "6월", - "7월", - "8월", - "9월", - "10월", - "11월", - "12월", - ], - }, - ordinal: function () { - return "일"; - }, - rangeSeparator: " ~ ", - amPM: ["오전", "오후"], - }; - fp.l10ns.ko = Korean; - var ko = fp.l10ns; - - exports.Korean = Korean; - exports.default = ko; - - Object.defineProperty(exports, '__esModule', { value: true }); - -}))); - - -/***/ }), - -/***/ "./node_modules/flatpickr/dist/l10n/kz.js": -/*!************************************************!*\ - !*** ./node_modules/flatpickr/dist/l10n/kz.js ***! - \************************************************/ -/***/ (function(__unused_webpack_module, exports) { - -(function (global, factory) { - true ? factory(exports) : - 0; -}(this, (function (exports) { 'use strict'; - - var fp = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Kazakh = { - weekdays: { - shorthand: ["Жс", "Дс", "Сc", "Ср", "Бс", "Жм", "Сб"], - longhand: [ - "Жексенбi", - "Дүйсенбi", - "Сейсенбi", - "Сәрсенбi", - "Бейсенбi", - "Жұма", - "Сенбi", - ], - }, - months: { - shorthand: [ - "Қаң", - "Ақп", - "Нау", - "Сәу", - "Мам", - "Мау", - "Шiл", - "Там", - "Қыр", - "Қаз", - "Қар", - "Жел", - ], - longhand: [ - "Қаңтар", - "Ақпан", - "Наурыз", - "Сәуiр", - "Мамыр", - "Маусым", - "Шiлде", - "Тамыз", - "Қыркүйек", - "Қазан", - "Қараша", - "Желтоқсан", - ], - }, - firstDayOfWeek: 1, - ordinal: function () { - return ""; - }, - rangeSeparator: " — ", - weekAbbreviation: "Апта", - scrollTitle: "Үлкейту үшін айналдырыңыз", - toggleTitle: "Ауыстыру үшін басыңыз", - amPM: ["ТД", "ТК"], - yearAriaLabel: "Жыл", - }; - fp.l10ns.kz = Kazakh; - var kz = fp.l10ns; - - exports.Kazakh = Kazakh; - exports.default = kz; - - Object.defineProperty(exports, '__esModule', { value: true }); - -}))); - - -/***/ }), - -/***/ "./node_modules/flatpickr/dist/l10n/lt.js": -/*!************************************************!*\ - !*** ./node_modules/flatpickr/dist/l10n/lt.js ***! - \************************************************/ -/***/ (function(__unused_webpack_module, exports) { - -(function (global, factory) { - true ? factory(exports) : - 0; -}(this, (function (exports) { 'use strict'; - - var fp = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Lithuanian = { - weekdays: { - shorthand: ["S", "Pr", "A", "T", "K", "Pn", "Š"], - longhand: [ - "Sekmadienis", - "Pirmadienis", - "Antradienis", - "Trečiadienis", - "Ketvirtadienis", - "Penktadienis", - "Šeštadienis", - ], - }, - months: { - shorthand: [ - "Sau", - "Vas", - "Kov", - "Bal", - "Geg", - "Bir", - "Lie", - "Rgp", - "Rgs", - "Spl", - "Lap", - "Grd", - ], - longhand: [ - "Sausis", - "Vasaris", - "Kovas", - "Balandis", - "Gegužė", - "Birželis", - "Liepa", - "Rugpjūtis", - "Rugsėjis", - "Spalis", - "Lapkritis", - "Gruodis", - ], - }, - firstDayOfWeek: 1, - ordinal: function () { - return "-a"; - }, - rangeSeparator: " iki ", - weekAbbreviation: "Sav", - scrollTitle: "Keisti laiką pelės rateliu", - toggleTitle: "Perjungti laiko formatą", - time_24hr: true, - }; - fp.l10ns.lt = Lithuanian; - var lt = fp.l10ns; - - exports.Lithuanian = Lithuanian; - exports.default = lt; - - Object.defineProperty(exports, '__esModule', { value: true }); - -}))); - - -/***/ }), - -/***/ "./node_modules/flatpickr/dist/l10n/lv.js": -/*!************************************************!*\ - !*** ./node_modules/flatpickr/dist/l10n/lv.js ***! - \************************************************/ -/***/ (function(__unused_webpack_module, exports) { - -(function (global, factory) { - true ? factory(exports) : - 0; -}(this, (function (exports) { 'use strict'; - - var fp = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Latvian = { - firstDayOfWeek: 1, - weekdays: { - shorthand: ["Sv", "Pr", "Ot", "Tr", "Ce", "Pk", "Se"], - longhand: [ - "Svētdiena", - "Pirmdiena", - "Otrdiena", - "Trešdiena", - "Ceturtdiena", - "Piektdiena", - "Sestdiena", - ], - }, - months: { - shorthand: [ - "Jan", - "Feb", - "Mar", - "Apr", - "Mai", - "Jūn", - "Jūl", - "Aug", - "Sep", - "Okt", - "Nov", - "Dec", - ], - longhand: [ - "Janvāris", - "Februāris", - "Marts", - "Aprīlis", - "Maijs", - "Jūnijs", - "Jūlijs", - "Augusts", - "Septembris", - "Oktobris", - "Novembris", - "Decembris", - ], - }, - rangeSeparator: " līdz ", - time_24hr: true, - }; - fp.l10ns.lv = Latvian; - var lv = fp.l10ns; - - exports.Latvian = Latvian; - exports.default = lv; - - Object.defineProperty(exports, '__esModule', { value: true }); - -}))); - - -/***/ }), - -/***/ "./node_modules/flatpickr/dist/l10n/mk.js": -/*!************************************************!*\ - !*** ./node_modules/flatpickr/dist/l10n/mk.js ***! - \************************************************/ -/***/ (function(__unused_webpack_module, exports) { - -(function (global, factory) { - true ? factory(exports) : - 0; -}(this, (function (exports) { 'use strict'; - - var fp = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Macedonian = { - weekdays: { - shorthand: ["Не", "По", "Вт", "Ср", "Че", "Пе", "Са"], - longhand: [ - "Недела", - "Понеделник", - "Вторник", - "Среда", - "Четврток", - "Петок", - "Сабота", - ], - }, - months: { - shorthand: [ - "Јан", - "Фев", - "Мар", - "Апр", - "Мај", - "Јун", - "Јул", - "Авг", - "Сеп", - "Окт", - "Ное", - "Дек", - ], - longhand: [ - "Јануари", - "Февруари", - "Март", - "Април", - "Мај", - "Јуни", - "Јули", - "Август", - "Септември", - "Октомври", - "Ноември", - "Декември", - ], - }, - firstDayOfWeek: 1, - weekAbbreviation: "Нед.", - rangeSeparator: " до ", - time_24hr: true, - }; - fp.l10ns.mk = Macedonian; - var mk = fp.l10ns; - - exports.Macedonian = Macedonian; - exports.default = mk; - - Object.defineProperty(exports, '__esModule', { value: true }); - -}))); - - -/***/ }), - -/***/ "./node_modules/flatpickr/dist/l10n/mn.js": -/*!************************************************!*\ - !*** ./node_modules/flatpickr/dist/l10n/mn.js ***! - \************************************************/ -/***/ (function(__unused_webpack_module, exports) { - -(function (global, factory) { - true ? factory(exports) : - 0; -}(this, (function (exports) { 'use strict'; - - var fp = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Mongolian = { - firstDayOfWeek: 1, - weekdays: { - shorthand: ["Да", "Мя", "Лх", "Пү", "Ба", "Бя", "Ня"], - longhand: ["Даваа", "Мягмар", "Лхагва", "Пүрэв", "Баасан", "Бямба", "Ням"], - }, - months: { - shorthand: [ - "1-р сар", - "2-р сар", - "3-р сар", - "4-р сар", - "5-р сар", - "6-р сар", - "7-р сар", - "8-р сар", - "9-р сар", - "10-р сар", - "11-р сар", - "12-р сар", - ], - longhand: [ - "Нэгдүгээр сар", - "Хоёрдугаар сар", - "Гуравдугаар сар", - "Дөрөвдүгээр сар", - "Тавдугаар сар", - "Зургаадугаар сар", - "Долдугаар сар", - "Наймдугаар сар", - "Есдүгээр сар", - "Аравдугаар сар", - "Арваннэгдүгээр сар", - "Арванхоёрдугаар сар", - ], - }, - rangeSeparator: "-с ", - time_24hr: true, - }; - fp.l10ns.mn = Mongolian; - var mn = fp.l10ns; - - exports.Mongolian = Mongolian; - exports.default = mn; - - Object.defineProperty(exports, '__esModule', { value: true }); - -}))); - - -/***/ }), - -/***/ "./node_modules/flatpickr/dist/l10n/ms.js": -/*!************************************************!*\ - !*** ./node_modules/flatpickr/dist/l10n/ms.js ***! - \************************************************/ -/***/ (function(__unused_webpack_module, exports) { - -(function (global, factory) { - true ? factory(exports) : - 0; -}(this, (function (exports) { 'use strict'; - - var fp = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Malaysian = { - weekdays: { - shorthand: ["Aha", "Isn", "Sel", "Rab", "Kha", "Jum", "Sab"], - longhand: ["Ahad", "Isnin", "Selasa", "Rabu", "Khamis", "Jumaat", "Sabtu"], - }, - months: { - shorthand: [ - "Jan", - "Feb", - "Mac", - "Apr", - "Mei", - "Jun", - "Jul", - "Ogo", - "Sep", - "Okt", - "Nov", - "Dis", - ], - longhand: [ - "Januari", - "Februari", - "Mac", - "April", - "Mei", - "Jun", - "Julai", - "Ogos", - "September", - "Oktober", - "November", - "Disember", - ], - }, - firstDayOfWeek: 1, - ordinal: function () { - return ""; - }, - }; - var ms = fp.l10ns; - - exports.Malaysian = Malaysian; - exports.default = ms; - - Object.defineProperty(exports, '__esModule', { value: true }); - -}))); - - -/***/ }), - -/***/ "./node_modules/flatpickr/dist/l10n/my.js": -/*!************************************************!*\ - !*** ./node_modules/flatpickr/dist/l10n/my.js ***! - \************************************************/ -/***/ (function(__unused_webpack_module, exports) { - -(function (global, factory) { - true ? factory(exports) : - 0; -}(this, (function (exports) { 'use strict'; - - var fp = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Burmese = { - weekdays: { - shorthand: ["နွေ", "လာ", "ဂါ", "ဟူး", "ကြာ", "သော", "နေ"], - longhand: [ - "တနင်္ဂနွေ", - "တနင်္လာ", - "အင်္ဂါ", - "ဗုဒ္ဓဟူး", - "ကြာသပတေး", - "သောကြာ", - "စနေ", - ], - }, - months: { - shorthand: [ - "ဇန်", - "ဖေ", - "မတ်", - "ပြီ", - "မေ", - "ဇွန်", - "လိုင်", - "သြ", - "စက်", - "အောက်", - "နို", - "ဒီ", - ], - longhand: [ - "ဇန်နဝါရီ", - "ဖေဖော်ဝါရီ", - "မတ်", - "ဧပြီ", - "မေ", - "ဇွန်", - "ဇူလိုင်", - "သြဂုတ်", - "စက်တင်ဘာ", - "အောက်တိုဘာ", - "နိုဝင်ဘာ", - "ဒီဇင်ဘာ", - ], - }, - firstDayOfWeek: 1, - ordinal: function () { - return ""; - }, - time_24hr: true, - }; - fp.l10ns.my = Burmese; - var my = fp.l10ns; - - exports.Burmese = Burmese; - exports.default = my; - - Object.defineProperty(exports, '__esModule', { value: true }); - -}))); - - -/***/ }), - -/***/ "./node_modules/flatpickr/dist/l10n/nl.js": -/*!************************************************!*\ - !*** ./node_modules/flatpickr/dist/l10n/nl.js ***! - \************************************************/ -/***/ (function(__unused_webpack_module, exports) { - -(function (global, factory) { - true ? factory(exports) : - 0; -}(this, (function (exports) { 'use strict'; - - var fp = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Dutch = { - weekdays: { - shorthand: ["zo", "ma", "di", "wo", "do", "vr", "za"], - longhand: [ - "zondag", - "maandag", - "dinsdag", - "woensdag", - "donderdag", - "vrijdag", - "zaterdag", - ], - }, - months: { - shorthand: [ - "jan", - "feb", - "mrt", - "apr", - "mei", - "jun", - "jul", - "aug", - "sept", - "okt", - "nov", - "dec", - ], - longhand: [ - "januari", - "februari", - "maart", - "april", - "mei", - "juni", - "juli", - "augustus", - "september", - "oktober", - "november", - "december", - ], - }, - firstDayOfWeek: 1, - weekAbbreviation: "wk", - rangeSeparator: " t/m ", - scrollTitle: "Scroll voor volgende / vorige", - toggleTitle: "Klik om te wisselen", - time_24hr: true, - ordinal: function (nth) { - if (nth === 1 || nth === 8 || nth >= 20) - return "ste"; - return "de"; - }, - }; - fp.l10ns.nl = Dutch; - var nl = fp.l10ns; - - exports.Dutch = Dutch; - exports.default = nl; - - Object.defineProperty(exports, '__esModule', { value: true }); - -}))); - - -/***/ }), - -/***/ "./node_modules/flatpickr/dist/l10n/nn.js": -/*!************************************************!*\ - !*** ./node_modules/flatpickr/dist/l10n/nn.js ***! - \************************************************/ -/***/ (function(__unused_webpack_module, exports) { - -(function (global, factory) { - true ? factory(exports) : - 0; -}(this, (function (exports) { 'use strict'; - - var fp = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var NorwegianNynorsk = { - weekdays: { - shorthand: ["Sø.", "Må.", "Ty.", "On.", "To.", "Fr.", "La."], - longhand: [ - "Søndag", - "Måndag", - "Tysdag", - "Onsdag", - "Torsdag", - "Fredag", - "Laurdag", - ], - }, - months: { - shorthand: [ - "Jan", - "Feb", - "Mars", - "Apr", - "Mai", - "Juni", - "Juli", - "Aug", - "Sep", - "Okt", - "Nov", - "Des", - ], - longhand: [ - "Januar", - "Februar", - "Mars", - "April", - "Mai", - "Juni", - "Juli", - "August", - "September", - "Oktober", - "November", - "Desember", - ], - }, - firstDayOfWeek: 1, - rangeSeparator: " til ", - weekAbbreviation: "Veke", - scrollTitle: "Scroll for å endre", - toggleTitle: "Klikk for å veksle", - time_24hr: true, - ordinal: function () { - return "."; - }, - }; - fp.l10ns.nn = NorwegianNynorsk; - var nn = fp.l10ns; - - exports.NorwegianNynorsk = NorwegianNynorsk; - exports.default = nn; - - Object.defineProperty(exports, '__esModule', { value: true }); - -}))); - - -/***/ }), - -/***/ "./node_modules/flatpickr/dist/l10n/no.js": -/*!************************************************!*\ - !*** ./node_modules/flatpickr/dist/l10n/no.js ***! - \************************************************/ -/***/ (function(__unused_webpack_module, exports) { - -(function (global, factory) { - true ? factory(exports) : - 0; -}(this, (function (exports) { 'use strict'; - - var fp = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Norwegian = { - weekdays: { - shorthand: ["Søn", "Man", "Tir", "Ons", "Tor", "Fre", "Lør"], - longhand: [ - "Søndag", - "Mandag", - "Tirsdag", - "Onsdag", - "Torsdag", - "Fredag", - "Lørdag", - ], - }, - months: { - shorthand: [ - "Jan", - "Feb", - "Mar", - "Apr", - "Mai", - "Jun", - "Jul", - "Aug", - "Sep", - "Okt", - "Nov", - "Des", - ], - longhand: [ - "Januar", - "Februar", - "Mars", - "April", - "Mai", - "Juni", - "Juli", - "August", - "September", - "Oktober", - "November", - "Desember", - ], - }, - firstDayOfWeek: 1, - rangeSeparator: " til ", - weekAbbreviation: "Uke", - scrollTitle: "Scroll for å endre", - toggleTitle: "Klikk for å veksle", - time_24hr: true, - ordinal: function () { - return "."; - }, - }; - fp.l10ns.no = Norwegian; - var no = fp.l10ns; - - exports.Norwegian = Norwegian; - exports.default = no; - - Object.defineProperty(exports, '__esModule', { value: true }); - -}))); - - -/***/ }), - -/***/ "./node_modules/flatpickr/dist/l10n/pa.js": -/*!************************************************!*\ - !*** ./node_modules/flatpickr/dist/l10n/pa.js ***! - \************************************************/ -/***/ (function(__unused_webpack_module, exports) { - -(function (global, factory) { - true ? factory(exports) : - 0; -}(this, (function (exports) { 'use strict'; - - var fp = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Punjabi = { - weekdays: { - shorthand: ["ਐਤ", "ਸੋਮ", "ਮੰਗਲ", "ਬੁੱਧ", "ਵੀਰ", "ਸ਼ੁੱਕਰ", "ਸ਼ਨਿੱਚਰ"], - longhand: [ - "ਐਤਵਾਰ", - "ਸੋਮਵਾਰ", - "ਮੰਗਲਵਾਰ", - "ਬੁੱਧਵਾਰ", - "ਵੀਰਵਾਰ", - "ਸ਼ੁੱਕਰਵਾਰ", - "ਸ਼ਨਿੱਚਰਵਾਰ", - ], - }, - months: { - shorthand: [ - "ਜਨ", - "ਫ਼ਰ", - "ਮਾਰ", - "ਅਪ੍ਰੈ", - "ਮਈ", - "ਜੂਨ", - "ਜੁਲਾ", - "ਅਗ", - "ਸਤੰ", - "ਅਕ", - "ਨਵੰ", - "ਦਸੰ", - ], - longhand: [ - "ਜਨਵਰੀ", - "ਫ਼ਰਵਰੀ", - "ਮਾਰਚ", - "ਅਪ੍ਰੈਲ", - "ਮਈ", - "ਜੂਨ", - "ਜੁਲਾਈ", - "ਅਗਸਤ", - "ਸਤੰਬਰ", - "ਅਕਤੂਬਰ", - "ਨਵੰਬਰ", - "ਦਸੰਬਰ", - ], - }, - time_24hr: true, - }; - fp.l10ns.pa = Punjabi; - var pa = fp.l10ns; - - exports.Punjabi = Punjabi; - exports.default = pa; - - Object.defineProperty(exports, '__esModule', { value: true }); - -}))); - - -/***/ }), - -/***/ "./node_modules/flatpickr/dist/l10n/pl.js": -/*!************************************************!*\ - !*** ./node_modules/flatpickr/dist/l10n/pl.js ***! - \************************************************/ -/***/ (function(__unused_webpack_module, exports) { - -(function (global, factory) { - true ? factory(exports) : - 0; -}(this, (function (exports) { 'use strict'; - - var fp = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Polish = { - weekdays: { - shorthand: ["Nd", "Pn", "Wt", "Śr", "Cz", "Pt", "So"], - longhand: [ - "Niedziela", - "Poniedziałek", - "Wtorek", - "Środa", - "Czwartek", - "Piątek", - "Sobota", - ], - }, - months: { - shorthand: [ - "Sty", - "Lut", - "Mar", - "Kwi", - "Maj", - "Cze", - "Lip", - "Sie", - "Wrz", - "Paź", - "Lis", - "Gru", - ], - longhand: [ - "Styczeń", - "Luty", - "Marzec", - "Kwiecień", - "Maj", - "Czerwiec", - "Lipiec", - "Sierpień", - "Wrzesień", - "Październik", - "Listopad", - "Grudzień", - ], - }, - rangeSeparator: " do ", - weekAbbreviation: "tydz.", - scrollTitle: "Przewiń, aby zwiększyć", - toggleTitle: "Kliknij, aby przełączyć", - firstDayOfWeek: 1, - time_24hr: true, - ordinal: function () { - return "."; - }, - }; - fp.l10ns.pl = Polish; - var pl = fp.l10ns; - - exports.Polish = Polish; - exports.default = pl; - - Object.defineProperty(exports, '__esModule', { value: true }); - -}))); - - -/***/ }), - -/***/ "./node_modules/flatpickr/dist/l10n/pt.js": -/*!************************************************!*\ - !*** ./node_modules/flatpickr/dist/l10n/pt.js ***! - \************************************************/ -/***/ (function(__unused_webpack_module, exports) { - -(function (global, factory) { - true ? factory(exports) : - 0; -}(this, (function (exports) { 'use strict'; - - var fp = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Portuguese = { - weekdays: { - shorthand: ["Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sáb"], - longhand: [ - "Domingo", - "Segunda-feira", - "Terça-feira", - "Quarta-feira", - "Quinta-feira", - "Sexta-feira", - "Sábado", - ], - }, - months: { - shorthand: [ - "Jan", - "Fev", - "Mar", - "Abr", - "Mai", - "Jun", - "Jul", - "Ago", - "Set", - "Out", - "Nov", - "Dez", - ], - longhand: [ - "Janeiro", - "Fevereiro", - "Março", - "Abril", - "Maio", - "Junho", - "Julho", - "Agosto", - "Setembro", - "Outubro", - "Novembro", - "Dezembro", - ], - }, - rangeSeparator: " até ", - time_24hr: true, - }; - fp.l10ns.pt = Portuguese; - var pt = fp.l10ns; - - exports.Portuguese = Portuguese; - exports.default = pt; - - Object.defineProperty(exports, '__esModule', { value: true }); - -}))); - - -/***/ }), - -/***/ "./node_modules/flatpickr/dist/l10n/ro.js": -/*!************************************************!*\ - !*** ./node_modules/flatpickr/dist/l10n/ro.js ***! - \************************************************/ -/***/ (function(__unused_webpack_module, exports) { - -(function (global, factory) { - true ? factory(exports) : - 0; -}(this, (function (exports) { 'use strict'; - - var fp = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Romanian = { - weekdays: { - shorthand: ["Dum", "Lun", "Mar", "Mie", "Joi", "Vin", "Sâm"], - longhand: [ - "Duminică", - "Luni", - "Marți", - "Miercuri", - "Joi", - "Vineri", - "Sâmbătă", - ], - }, - months: { - shorthand: [ - "Ian", - "Feb", - "Mar", - "Apr", - "Mai", - "Iun", - "Iul", - "Aug", - "Sep", - "Oct", - "Noi", - "Dec", - ], - longhand: [ - "Ianuarie", - "Februarie", - "Martie", - "Aprilie", - "Mai", - "Iunie", - "Iulie", - "August", - "Septembrie", - "Octombrie", - "Noiembrie", - "Decembrie", - ], - }, - firstDayOfWeek: 1, - time_24hr: true, - ordinal: function () { - return ""; - }, - }; - fp.l10ns.ro = Romanian; - var ro = fp.l10ns; - - exports.Romanian = Romanian; - exports.default = ro; - - Object.defineProperty(exports, '__esModule', { value: true }); - -}))); - - -/***/ }), - -/***/ "./node_modules/flatpickr/dist/l10n/ru.js": -/*!************************************************!*\ - !*** ./node_modules/flatpickr/dist/l10n/ru.js ***! - \************************************************/ -/***/ (function(__unused_webpack_module, exports) { - -(function (global, factory) { - true ? factory(exports) : - 0; -}(this, (function (exports) { 'use strict'; - - var fp = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Russian = { - weekdays: { - shorthand: ["Вс", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб"], - longhand: [ - "Воскресенье", - "Понедельник", - "Вторник", - "Среда", - "Четверг", - "Пятница", - "Суббота", - ], - }, - months: { - shorthand: [ - "Янв", - "Фев", - "Март", - "Апр", - "Май", - "Июнь", - "Июль", - "Авг", - "Сен", - "Окт", - "Ноя", - "Дек", - ], - longhand: [ - "Январь", - "Февраль", - "Март", - "Апрель", - "Май", - "Июнь", - "Июль", - "Август", - "Сентябрь", - "Октябрь", - "Ноябрь", - "Декабрь", - ], - }, - firstDayOfWeek: 1, - ordinal: function () { - return ""; - }, - rangeSeparator: " — ", - weekAbbreviation: "Нед.", - scrollTitle: "Прокрутите для увеличения", - toggleTitle: "Нажмите для переключения", - amPM: ["ДП", "ПП"], - yearAriaLabel: "Год", - time_24hr: true, - }; - fp.l10ns.ru = Russian; - var ru = fp.l10ns; - - exports.Russian = Russian; - exports.default = ru; - - Object.defineProperty(exports, '__esModule', { value: true }); - -}))); - - -/***/ }), - -/***/ "./node_modules/flatpickr/dist/l10n/si.js": -/*!************************************************!*\ - !*** ./node_modules/flatpickr/dist/l10n/si.js ***! - \************************************************/ -/***/ (function(__unused_webpack_module, exports) { - -(function (global, factory) { - true ? factory(exports) : - 0; -}(this, (function (exports) { 'use strict'; - - var fp = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Sinhala = { - weekdays: { - shorthand: ["ඉ", "ස", "අ", "බ", "බ්‍ර", "සි", "සෙ"], - longhand: [ - "ඉරිදා", - "සඳුදා", - "අඟහරුවාදා", - "බදාදා", - "බ්‍රහස්පතින්දා", - "සිකුරාදා", - "සෙනසුරාදා", - ], - }, - months: { - shorthand: [ - "ජන", - "පෙබ", - "මාර්", - "අප්‍රේ", - "මැයි", - "ජුනි", - "ජූලි", - "අගෝ", - "සැප්", - "ඔක්", - "නොවැ", - "දෙසැ", - ], - longhand: [ - "ජනවාරි", - "පෙබරවාරි", - "මාර්තු", - "අප්‍රේල්", - "මැයි", - "ජුනි", - "ජූලි", - "අගෝස්තු", - "සැප්තැම්බර්", - "ඔක්තෝබර්", - "නොවැම්බර්", - "දෙසැම්බර්", - ], - }, - time_24hr: true, - }; - fp.l10ns.si = Sinhala; - var si = fp.l10ns; - - exports.Sinhala = Sinhala; - exports.default = si; - - Object.defineProperty(exports, '__esModule', { value: true }); - -}))); - - -/***/ }), - -/***/ "./node_modules/flatpickr/dist/l10n/sk.js": -/*!************************************************!*\ - !*** ./node_modules/flatpickr/dist/l10n/sk.js ***! - \************************************************/ -/***/ (function(__unused_webpack_module, exports) { - -(function (global, factory) { - true ? factory(exports) : - 0; -}(this, (function (exports) { 'use strict'; - - var fp = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Slovak = { - weekdays: { - shorthand: ["Ned", "Pon", "Ut", "Str", "Štv", "Pia", "Sob"], - longhand: [ - "Nedeľa", - "Pondelok", - "Utorok", - "Streda", - "Štvrtok", - "Piatok", - "Sobota", - ], - }, - months: { - shorthand: [ - "Jan", - "Feb", - "Mar", - "Apr", - "Máj", - "Jún", - "Júl", - "Aug", - "Sep", - "Okt", - "Nov", - "Dec", - ], - longhand: [ - "Január", - "Február", - "Marec", - "Apríl", - "Máj", - "Jún", - "Júl", - "August", - "September", - "Október", - "November", - "December", - ], - }, - firstDayOfWeek: 1, - rangeSeparator: " do ", - time_24hr: true, - ordinal: function () { - return "."; - }, - }; - fp.l10ns.sk = Slovak; - var sk = fp.l10ns; - - exports.Slovak = Slovak; - exports.default = sk; - - Object.defineProperty(exports, '__esModule', { value: true }); - -}))); - - -/***/ }), - -/***/ "./node_modules/flatpickr/dist/l10n/sl.js": -/*!************************************************!*\ - !*** ./node_modules/flatpickr/dist/l10n/sl.js ***! - \************************************************/ -/***/ (function(__unused_webpack_module, exports) { - -(function (global, factory) { - true ? factory(exports) : - 0; -}(this, (function (exports) { 'use strict'; - - var fp = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Slovenian = { - weekdays: { - shorthand: ["Ned", "Pon", "Tor", "Sre", "Čet", "Pet", "Sob"], - longhand: [ - "Nedelja", - "Ponedeljek", - "Torek", - "Sreda", - "Četrtek", - "Petek", - "Sobota", - ], - }, - months: { - shorthand: [ - "Jan", - "Feb", - "Mar", - "Apr", - "Maj", - "Jun", - "Jul", - "Avg", - "Sep", - "Okt", - "Nov", - "Dec", - ], - longhand: [ - "Januar", - "Februar", - "Marec", - "April", - "Maj", - "Junij", - "Julij", - "Avgust", - "September", - "Oktober", - "November", - "December", - ], - }, - firstDayOfWeek: 1, - rangeSeparator: " do ", - time_24hr: true, - ordinal: function () { - return "."; - }, - }; - fp.l10ns.sl = Slovenian; - var sl = fp.l10ns; - - exports.Slovenian = Slovenian; - exports.default = sl; - - Object.defineProperty(exports, '__esModule', { value: true }); - -}))); - - -/***/ }), - -/***/ "./node_modules/flatpickr/dist/l10n/sq.js": -/*!************************************************!*\ - !*** ./node_modules/flatpickr/dist/l10n/sq.js ***! - \************************************************/ -/***/ (function(__unused_webpack_module, exports) { - -(function (global, factory) { - true ? factory(exports) : - 0; -}(this, (function (exports) { 'use strict'; - - var fp = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Albanian = { - weekdays: { - shorthand: ["Di", "Hë", "Ma", "Më", "En", "Pr", "Sh"], - longhand: [ - "E Diel", - "E Hënë", - "E Martë", - "E Mërkurë", - "E Enjte", - "E Premte", - "E Shtunë", - ], - }, - months: { - shorthand: [ - "Jan", - "Shk", - "Mar", - "Pri", - "Maj", - "Qer", - "Kor", - "Gus", - "Sht", - "Tet", - "Nën", - "Dhj", - ], - longhand: [ - "Janar", - "Shkurt", - "Mars", - "Prill", - "Maj", - "Qershor", - "Korrik", - "Gusht", - "Shtator", - "Tetor", - "Nëntor", - "Dhjetor", - ], - }, - firstDayOfWeek: 1, - rangeSeparator: " deri ", - weekAbbreviation: "Java", - yearAriaLabel: "Viti", - monthAriaLabel: "Muaji", - hourAriaLabel: "Ora", - minuteAriaLabel: "Minuta", - time_24hr: true, - }; - fp.l10ns.sq = Albanian; - var sq = fp.l10ns; - - exports.Albanian = Albanian; - exports.default = sq; - - Object.defineProperty(exports, '__esModule', { value: true }); - -}))); - - -/***/ }), - -/***/ "./node_modules/flatpickr/dist/l10n/sr-cyr.js": -/*!****************************************************!*\ - !*** ./node_modules/flatpickr/dist/l10n/sr-cyr.js ***! - \****************************************************/ -/***/ (function(__unused_webpack_module, exports) { - -(function (global, factory) { - true ? factory(exports) : - 0; -}(this, (function (exports) { 'use strict'; - - var fp = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var SerbianCyrillic = { - weekdays: { - shorthand: ["Нед", "Пон", "Уто", "Сре", "Чет", "Пет", "Суб"], - longhand: [ - "Недеља", - "Понедељак", - "Уторак", - "Среда", - "Четвртак", - "Петак", - "Субота", - ], - }, - months: { - shorthand: [ - "Јан", - "Феб", - "Мар", - "Апр", - "Мај", - "Јун", - "Јул", - "Авг", - "Сеп", - "Окт", - "Нов", - "Дец", - ], - longhand: [ - "Јануар", - "Фебруар", - "Март", - "Април", - "Мај", - "Јун", - "Јул", - "Август", - "Септембар", - "Октобар", - "Новембар", - "Децембар", - ], - }, - firstDayOfWeek: 1, - weekAbbreviation: "Нед.", - rangeSeparator: " до ", - }; - fp.l10ns.sr = SerbianCyrillic; - var srCyr = fp.l10ns; - - exports.SerbianCyrillic = SerbianCyrillic; - exports.default = srCyr; - - Object.defineProperty(exports, '__esModule', { value: true }); - -}))); - - -/***/ }), - -/***/ "./node_modules/flatpickr/dist/l10n/sr.js": -/*!************************************************!*\ - !*** ./node_modules/flatpickr/dist/l10n/sr.js ***! - \************************************************/ -/***/ (function(__unused_webpack_module, exports) { - -(function (global, factory) { - true ? factory(exports) : - 0; -}(this, (function (exports) { 'use strict'; - - var fp = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Serbian = { - weekdays: { - shorthand: ["Ned", "Pon", "Uto", "Sre", "Čet", "Pet", "Sub"], - longhand: [ - "Nedelja", - "Ponedeljak", - "Utorak", - "Sreda", - "Četvrtak", - "Petak", - "Subota", - ], - }, - months: { - shorthand: [ - "Jan", - "Feb", - "Mar", - "Apr", - "Maj", - "Jun", - "Jul", - "Avg", - "Sep", - "Okt", - "Nov", - "Dec", - ], - longhand: [ - "Januar", - "Februar", - "Mart", - "April", - "Maj", - "Jun", - "Jul", - "Avgust", - "Septembar", - "Oktobar", - "Novembar", - "Decembar", - ], - }, - firstDayOfWeek: 1, - weekAbbreviation: "Ned.", - rangeSeparator: " do ", - time_24hr: true, - }; - fp.l10ns.sr = Serbian; - var sr = fp.l10ns; - - exports.Serbian = Serbian; - exports.default = sr; - - Object.defineProperty(exports, '__esModule', { value: true }); - -}))); - - -/***/ }), - -/***/ "./node_modules/flatpickr/dist/l10n/sv.js": -/*!************************************************!*\ - !*** ./node_modules/flatpickr/dist/l10n/sv.js ***! - \************************************************/ -/***/ (function(__unused_webpack_module, exports) { - -(function (global, factory) { - true ? factory(exports) : - 0; -}(this, (function (exports) { 'use strict'; - - var fp = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Swedish = { - firstDayOfWeek: 1, - weekAbbreviation: "v", - weekdays: { - shorthand: ["sön", "mån", "tis", "ons", "tor", "fre", "lör"], - longhand: [ - "söndag", - "måndag", - "tisdag", - "onsdag", - "torsdag", - "fredag", - "lördag", - ], - }, - months: { - shorthand: [ - "jan", - "feb", - "mar", - "apr", - "maj", - "jun", - "jul", - "aug", - "sep", - "okt", - "nov", - "dec", - ], - longhand: [ - "januari", - "februari", - "mars", - "april", - "maj", - "juni", - "juli", - "augusti", - "september", - "oktober", - "november", - "december", - ], - }, - rangeSeparator: " till ", - time_24hr: true, - ordinal: function () { - return "."; - }, - }; - fp.l10ns.sv = Swedish; - var sv = fp.l10ns; - - exports.Swedish = Swedish; - exports.default = sv; - - Object.defineProperty(exports, '__esModule', { value: true }); - -}))); - - -/***/ }), - -/***/ "./node_modules/flatpickr/dist/l10n/th.js": -/*!************************************************!*\ - !*** ./node_modules/flatpickr/dist/l10n/th.js ***! - \************************************************/ -/***/ (function(__unused_webpack_module, exports) { - -(function (global, factory) { - true ? factory(exports) : - 0; -}(this, (function (exports) { 'use strict'; - - var fp = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Thai = { - weekdays: { - shorthand: ["อา", "จ", "อ", "พ", "พฤ", "ศ", "ส"], - longhand: [ - "อาทิตย์", - "จันทร์", - "อังคาร", - "พุธ", - "พฤหัสบดี", - "ศุกร์", - "เสาร์", - ], - }, - months: { - shorthand: [ - "ม.ค.", - "ก.พ.", - "มี.ค.", - "เม.ย.", - "พ.ค.", - "มิ.ย.", - "ก.ค.", - "ส.ค.", - "ก.ย.", - "ต.ค.", - "พ.ย.", - "ธ.ค.", - ], - longhand: [ - "มกราคม", - "กุมภาพันธ์", - "มีนาคม", - "เมษายน", - "พฤษภาคม", - "มิถุนายน", - "กรกฎาคม", - "สิงหาคม", - "กันยายน", - "ตุลาคม", - "พฤศจิกายน", - "ธันวาคม", - ], - }, - firstDayOfWeek: 1, - rangeSeparator: " ถึง ", - scrollTitle: "เลื่อนเพื่อเพิ่มหรือลด", - toggleTitle: "คลิกเพื่อเปลี่ยน", - time_24hr: true, - ordinal: function () { - return ""; - }, - }; - fp.l10ns.th = Thai; - var th = fp.l10ns; - - exports.Thai = Thai; - exports.default = th; - - Object.defineProperty(exports, '__esModule', { value: true }); - -}))); - - -/***/ }), - -/***/ "./node_modules/flatpickr/dist/l10n/tr.js": -/*!************************************************!*\ - !*** ./node_modules/flatpickr/dist/l10n/tr.js ***! - \************************************************/ -/***/ (function(__unused_webpack_module, exports) { - -(function (global, factory) { - true ? factory(exports) : - 0; -}(this, (function (exports) { 'use strict'; - - var fp = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Turkish = { - weekdays: { - shorthand: ["Paz", "Pzt", "Sal", "Çar", "Per", "Cum", "Cmt"], - longhand: [ - "Pazar", - "Pazartesi", - "Salı", - "Çarşamba", - "Perşembe", - "Cuma", - "Cumartesi", - ], - }, - months: { - shorthand: [ - "Oca", - "Şub", - "Mar", - "Nis", - "May", - "Haz", - "Tem", - "Ağu", - "Eyl", - "Eki", - "Kas", - "Ara", - ], - longhand: [ - "Ocak", - "Şubat", - "Mart", - "Nisan", - "Mayıs", - "Haziran", - "Temmuz", - "Ağustos", - "Eylül", - "Ekim", - "Kasım", - "Aralık", - ], - }, - firstDayOfWeek: 1, - ordinal: function () { - return "."; - }, - rangeSeparator: " - ", - weekAbbreviation: "Hf", - scrollTitle: "Artırmak için kaydırın", - toggleTitle: "Aç/Kapa", - amPM: ["ÖÖ", "ÖS"], - time_24hr: true, - }; - fp.l10ns.tr = Turkish; - var tr = fp.l10ns; - - exports.Turkish = Turkish; - exports.default = tr; - - Object.defineProperty(exports, '__esModule', { value: true }); - -}))); - - -/***/ }), - -/***/ "./node_modules/flatpickr/dist/l10n/uk.js": -/*!************************************************!*\ - !*** ./node_modules/flatpickr/dist/l10n/uk.js ***! - \************************************************/ -/***/ (function(__unused_webpack_module, exports) { - -(function (global, factory) { - true ? factory(exports) : - 0; -}(this, (function (exports) { 'use strict'; - - var fp = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Ukrainian = { - firstDayOfWeek: 1, - weekdays: { - shorthand: ["Нд", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб"], - longhand: [ - "Неділя", - "Понеділок", - "Вівторок", - "Середа", - "Четвер", - "П'ятниця", - "Субота", - ], - }, - months: { - shorthand: [ - "Січ", - "Лют", - "Бер", - "Кві", - "Тра", - "Чер", - "Лип", - "Сер", - "Вер", - "Жов", - "Лис", - "Гру", - ], - longhand: [ - "Січень", - "Лютий", - "Березень", - "Квітень", - "Травень", - "Червень", - "Липень", - "Серпень", - "Вересень", - "Жовтень", - "Листопад", - "Грудень", - ], - }, - time_24hr: true, - }; - fp.l10ns.uk = Ukrainian; - var uk = fp.l10ns; - - exports.Ukrainian = Ukrainian; - exports.default = uk; - - Object.defineProperty(exports, '__esModule', { value: true }); - -}))); - - -/***/ }), - -/***/ "./node_modules/flatpickr/dist/l10n/uz.js": -/*!************************************************!*\ - !*** ./node_modules/flatpickr/dist/l10n/uz.js ***! - \************************************************/ -/***/ (function(__unused_webpack_module, exports) { - -(function (global, factory) { - true ? factory(exports) : - 0; -}(this, (function (exports) { 'use strict'; - - var fp = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Uzbek = { - weekdays: { - shorthand: ["Якш", "Душ", "Сеш", "Чор", "Пай", "Жум", "Шан"], - longhand: [ - "Якшанба", - "Душанба", - "Сешанба", - "Чоршанба", - "Пайшанба", - "Жума", - "Шанба", - ], - }, - months: { - shorthand: [ - "Янв", - "Фев", - "Мар", - "Апр", - "Май", - "Июн", - "Июл", - "Авг", - "Сен", - "Окт", - "Ноя", - "Дек", - ], - longhand: [ - "Январ", - "Феврал", - "Март", - "Апрел", - "Май", - "Июн", - "Июл", - "Август", - "Сентябр", - "Октябр", - "Ноябр", - "Декабр", - ], - }, - firstDayOfWeek: 1, - ordinal: function () { - return ""; - }, - rangeSeparator: " — ", - weekAbbreviation: "Ҳафта", - scrollTitle: "Катталаштириш учун айлантиринг", - toggleTitle: "Ўтиш учун босинг", - amPM: ["AM", "PM"], - yearAriaLabel: "Йил", - time_24hr: true, - }; - fp.l10ns.uz = Uzbek; - var uz = fp.l10ns; - - exports.Uzbek = Uzbek; - exports.default = uz; - - Object.defineProperty(exports, '__esModule', { value: true }); - -}))); - - -/***/ }), - -/***/ "./node_modules/flatpickr/dist/l10n/uz_latn.js": -/*!*****************************************************!*\ - !*** ./node_modules/flatpickr/dist/l10n/uz_latn.js ***! - \*****************************************************/ -/***/ (function(__unused_webpack_module, exports) { - -(function (global, factory) { - true ? factory(exports) : - 0; -}(this, (function (exports) { 'use strict'; - - var fp = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var UzbekLatin = { - weekdays: { - shorthand: ["Ya", "Du", "Se", "Cho", "Pa", "Ju", "Sha"], - longhand: [ - "Yakshanba", - "Dushanba", - "Seshanba", - "Chorshanba", - "Payshanba", - "Juma", - "Shanba", - ], - }, - months: { - shorthand: [ - "Yan", - "Fev", - "Mar", - "Apr", - "May", - "Iyun", - "Iyul", - "Avg", - "Sen", - "Okt", - "Noy", - "Dek", - ], - longhand: [ - "Yanvar", - "Fevral", - "Mart", - "Aprel", - "May", - "Iyun", - "Iyul", - "Avgust", - "Sentabr", - "Oktabr", - "Noyabr", - "Dekabr", - ], - }, - firstDayOfWeek: 1, - ordinal: function () { - return ""; - }, - rangeSeparator: " — ", - weekAbbreviation: "Hafta", - scrollTitle: "Kattalashtirish uchun aylantiring", - toggleTitle: "O‘tish uchun bosing", - amPM: ["AM", "PM"], - yearAriaLabel: "Yil", - time_24hr: true, - }; - fp.l10ns["uz_latn"] = UzbekLatin; - var uz_latn = fp.l10ns; - - exports.UzbekLatin = UzbekLatin; - exports.default = uz_latn; - - Object.defineProperty(exports, '__esModule', { value: true }); - -}))); - - -/***/ }), - -/***/ "./node_modules/flatpickr/dist/l10n/vn.js": -/*!************************************************!*\ - !*** ./node_modules/flatpickr/dist/l10n/vn.js ***! - \************************************************/ -/***/ (function(__unused_webpack_module, exports) { - -(function (global, factory) { - true ? factory(exports) : - 0; -}(this, (function (exports) { 'use strict'; - - var fp = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Vietnamese = { - weekdays: { - shorthand: ["CN", "T2", "T3", "T4", "T5", "T6", "T7"], - longhand: [ - "Chủ nhật", - "Thứ hai", - "Thứ ba", - "Thứ tư", - "Thứ năm", - "Thứ sáu", - "Thứ bảy", - ], - }, - months: { - shorthand: [ - "Th1", - "Th2", - "Th3", - "Th4", - "Th5", - "Th6", - "Th7", - "Th8", - "Th9", - "Th10", - "Th11", - "Th12", - ], - longhand: [ - "Tháng một", - "Tháng hai", - "Tháng ba", - "Tháng tư", - "Tháng năm", - "Tháng sáu", - "Tháng bảy", - "Tháng tám", - "Tháng chín", - "Tháng mười", - "Tháng mười một", - "Tháng mười hai", - ], - }, - firstDayOfWeek: 1, - rangeSeparator: " đến ", - }; - fp.l10ns.vn = Vietnamese; - var vn = fp.l10ns; - - exports.Vietnamese = Vietnamese; - exports.default = vn; - - Object.defineProperty(exports, '__esModule', { value: true }); - -}))); - - -/***/ }), - -/***/ "./node_modules/flatpickr/dist/l10n/zh-tw.js": -/*!***************************************************!*\ - !*** ./node_modules/flatpickr/dist/l10n/zh-tw.js ***! - \***************************************************/ -/***/ (function(__unused_webpack_module, exports) { - -(function (global, factory) { - true ? factory(exports) : - 0; -}(this, (function (exports) { 'use strict'; - - var fp = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var MandarinTraditional = { - weekdays: { - shorthand: ["週日", "週一", "週二", "週三", "週四", "週五", "週六"], - longhand: [ - "星期日", - "星期一", - "星期二", - "星期三", - "星期四", - "星期五", - "星期六", - ], - }, - months: { - shorthand: [ - "一月", - "二月", - "三月", - "四月", - "五月", - "六月", - "七月", - "八月", - "九月", - "十月", - "十一月", - "十二月", - ], - longhand: [ - "一月", - "二月", - "三月", - "四月", - "五月", - "六月", - "七月", - "八月", - "九月", - "十月", - "十一月", - "十二月", - ], - }, - rangeSeparator: " 至 ", - weekAbbreviation: "週", - scrollTitle: "滾動切換", - toggleTitle: "點擊切換 12/24 小時時制", - }; - fp.l10ns.zh_tw = MandarinTraditional; - var zhTw = fp.l10ns; - - exports.MandarinTraditional = MandarinTraditional; - exports.default = zhTw; - - Object.defineProperty(exports, '__esModule', { value: true }); - -}))); - - -/***/ }), - -/***/ "./node_modules/flatpickr/dist/l10n/zh.js": -/*!************************************************!*\ - !*** ./node_modules/flatpickr/dist/l10n/zh.js ***! - \************************************************/ -/***/ (function(__unused_webpack_module, exports) { - -(function (global, factory) { - true ? factory(exports) : - 0; -}(this, (function (exports) { 'use strict'; - - var fp = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - var Mandarin = { - weekdays: { - shorthand: ["周日", "周一", "周二", "周三", "周四", "周五", "周六"], - longhand: [ - "星期日", - "星期一", - "星期二", - "星期三", - "星期四", - "星期五", - "星期六", - ], - }, - months: { - shorthand: [ - "一月", - "二月", - "三月", - "四月", - "五月", - "六月", - "七月", - "八月", - "九月", - "十月", - "十一月", - "十二月", - ], - longhand: [ - "一月", - "二月", - "三月", - "四月", - "五月", - "六月", - "七月", - "八月", - "九月", - "十月", - "十一月", - "十二月", - ], - }, - rangeSeparator: " 至 ", - weekAbbreviation: "周", - scrollTitle: "滚动切换", - toggleTitle: "点击切换 12/24 小时时制", - }; - fp.l10ns.zh = Mandarin; - var zh = fp.l10ns; - - exports.Mandarin = Mandarin; - exports.default = zh; - - Object.defineProperty(exports, '__esModule', { value: true }); - -}))); - - -/***/ }), - -/***/ "./node_modules/flatpickr/dist/l10n sync recursive ^\\.\\/.*\\.js$": -/*!*************************************************************!*\ - !*** ./node_modules/flatpickr/dist/l10n/ sync ^\.\/.*\.js$ ***! - \*************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var map = { - "./ar-dz.js": "./node_modules/flatpickr/dist/l10n/ar-dz.js", - "./ar.js": "./node_modules/flatpickr/dist/l10n/ar.js", - "./at.js": "./node_modules/flatpickr/dist/l10n/at.js", - "./az.js": "./node_modules/flatpickr/dist/l10n/az.js", - "./be.js": "./node_modules/flatpickr/dist/l10n/be.js", - "./bg.js": "./node_modules/flatpickr/dist/l10n/bg.js", - "./bn.js": "./node_modules/flatpickr/dist/l10n/bn.js", - "./bs.js": "./node_modules/flatpickr/dist/l10n/bs.js", - "./cat.js": "./node_modules/flatpickr/dist/l10n/cat.js", - "./ckb.js": "./node_modules/flatpickr/dist/l10n/ckb.js", - "./cs.js": "./node_modules/flatpickr/dist/l10n/cs.js", - "./cy.js": "./node_modules/flatpickr/dist/l10n/cy.js", - "./da.js": "./node_modules/flatpickr/dist/l10n/da.js", - "./de.js": "./node_modules/flatpickr/dist/l10n/de.js", - "./default.js": "./node_modules/flatpickr/dist/l10n/default.js", - "./eo.js": "./node_modules/flatpickr/dist/l10n/eo.js", - "./es.js": "./node_modules/flatpickr/dist/l10n/es.js", - "./et.js": "./node_modules/flatpickr/dist/l10n/et.js", - "./fa.js": "./node_modules/flatpickr/dist/l10n/fa.js", - "./fi.js": "./node_modules/flatpickr/dist/l10n/fi.js", - "./fo.js": "./node_modules/flatpickr/dist/l10n/fo.js", - "./fr.js": "./node_modules/flatpickr/dist/l10n/fr.js", - "./ga.js": "./node_modules/flatpickr/dist/l10n/ga.js", - "./gr.js": "./node_modules/flatpickr/dist/l10n/gr.js", - "./he.js": "./node_modules/flatpickr/dist/l10n/he.js", - "./hi.js": "./node_modules/flatpickr/dist/l10n/hi.js", - "./hr.js": "./node_modules/flatpickr/dist/l10n/hr.js", - "./hu.js": "./node_modules/flatpickr/dist/l10n/hu.js", - "./hy.js": "./node_modules/flatpickr/dist/l10n/hy.js", - "./id.js": "./node_modules/flatpickr/dist/l10n/id.js", - "./index.js": "./node_modules/flatpickr/dist/l10n/index.js", - "./is.js": "./node_modules/flatpickr/dist/l10n/is.js", - "./it.js": "./node_modules/flatpickr/dist/l10n/it.js", - "./ja.js": "./node_modules/flatpickr/dist/l10n/ja.js", - "./ka.js": "./node_modules/flatpickr/dist/l10n/ka.js", - "./km.js": "./node_modules/flatpickr/dist/l10n/km.js", - "./ko.js": "./node_modules/flatpickr/dist/l10n/ko.js", - "./kz.js": "./node_modules/flatpickr/dist/l10n/kz.js", - "./lt.js": "./node_modules/flatpickr/dist/l10n/lt.js", - "./lv.js": "./node_modules/flatpickr/dist/l10n/lv.js", - "./mk.js": "./node_modules/flatpickr/dist/l10n/mk.js", - "./mn.js": "./node_modules/flatpickr/dist/l10n/mn.js", - "./ms.js": "./node_modules/flatpickr/dist/l10n/ms.js", - "./my.js": "./node_modules/flatpickr/dist/l10n/my.js", - "./nl.js": "./node_modules/flatpickr/dist/l10n/nl.js", - "./nn.js": "./node_modules/flatpickr/dist/l10n/nn.js", - "./no.js": "./node_modules/flatpickr/dist/l10n/no.js", - "./pa.js": "./node_modules/flatpickr/dist/l10n/pa.js", - "./pl.js": "./node_modules/flatpickr/dist/l10n/pl.js", - "./pt.js": "./node_modules/flatpickr/dist/l10n/pt.js", - "./ro.js": "./node_modules/flatpickr/dist/l10n/ro.js", - "./ru.js": "./node_modules/flatpickr/dist/l10n/ru.js", - "./si.js": "./node_modules/flatpickr/dist/l10n/si.js", - "./sk.js": "./node_modules/flatpickr/dist/l10n/sk.js", - "./sl.js": "./node_modules/flatpickr/dist/l10n/sl.js", - "./sq.js": "./node_modules/flatpickr/dist/l10n/sq.js", - "./sr-cyr.js": "./node_modules/flatpickr/dist/l10n/sr-cyr.js", - "./sr.js": "./node_modules/flatpickr/dist/l10n/sr.js", - "./sv.js": "./node_modules/flatpickr/dist/l10n/sv.js", - "./th.js": "./node_modules/flatpickr/dist/l10n/th.js", - "./tr.js": "./node_modules/flatpickr/dist/l10n/tr.js", - "./uk.js": "./node_modules/flatpickr/dist/l10n/uk.js", - "./uz.js": "./node_modules/flatpickr/dist/l10n/uz.js", - "./uz_latn.js": "./node_modules/flatpickr/dist/l10n/uz_latn.js", - "./vn.js": "./node_modules/flatpickr/dist/l10n/vn.js", - "./zh-tw.js": "./node_modules/flatpickr/dist/l10n/zh-tw.js", - "./zh.js": "./node_modules/flatpickr/dist/l10n/zh.js" -}; - - -function webpackContext(req) { - var id = webpackContextResolve(req); - return __webpack_require__(id); -} -function webpackContextResolve(req) { - if(!__webpack_require__.o(map, req)) { - var e = new Error("Cannot find module '" + req + "'"); - e.code = 'MODULE_NOT_FOUND'; - throw e; - } - return map[req]; -} -webpackContext.keys = function webpackContextKeys() { - return Object.keys(map); -}; -webpackContext.resolve = webpackContextResolve; -module.exports = webpackContext; -webpackContext.id = "./node_modules/flatpickr/dist/l10n sync recursive ^\\.\\/.*\\.js$"; - -/***/ }), - -/***/ "./resources/css/style.css": -/*!*********************************!*\ - !*** ./resources/css/style.css ***! - \*********************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -// extracted by mini-css-extract-plugin - - -/***/ }), - -/***/ "./resources/css/tom-select.css": -/*!**************************************!*\ - !*** ./resources/css/tom-select.css ***! - \**************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -// extracted by mini-css-extract-plugin - - -/***/ }), - -/***/ "./resources/css/tailwind.css": -/*!************************************!*\ - !*** ./resources/css/tailwind.css ***! - \************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -// extracted by mini-css-extract-plugin - - -/***/ }), - -/***/ "./resources/css/bootstrap.css": -/*!*************************************!*\ - !*** ./resources/css/bootstrap.css ***! - \*************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -// extracted by mini-css-extract-plugin - - -/***/ }), - -/***/ "./node_modules/tom-select/dist/js/tom-select.complete.js": -/*!****************************************************************!*\ - !*** ./node_modules/tom-select/dist/js/tom-select.complete.js ***! - \****************************************************************/ -/***/ (function(module) { - -/** -* Tom Select v2.3.1 -* Licensed under the Apache License, Version 2.0 (the "License"); -*/ - -(function (global, factory) { - true ? module.exports = factory() : - 0; -})(this, (function () { 'use strict'; - - /** - * MicroEvent - to make any js object an event emitter - * - * - pure javascript - server compatible, browser compatible - * - dont rely on the browser doms - * - super simple - you get it immediatly, no mistery, no magic involved - * - * @author Jerome Etienne (https://github.com/jeromeetienne) - */ - - /** - * Execute callback for each event in space separated list of event names - * - */ - function forEvents(events, callback) { - events.split(/\s+/).forEach(event => { - callback(event); - }); - } - class MicroEvent { - constructor() { - this._events = void 0; - this._events = {}; - } - on(events, fct) { - forEvents(events, event => { - const event_array = this._events[event] || []; - event_array.push(fct); - this._events[event] = event_array; - }); - } - off(events, fct) { - var n = arguments.length; - if (n === 0) { - this._events = {}; - return; - } - forEvents(events, event => { - if (n === 1) { - delete this._events[event]; - return; - } - const event_array = this._events[event]; - if (event_array === undefined) return; - event_array.splice(event_array.indexOf(fct), 1); - this._events[event] = event_array; - }); - } - trigger(events, ...args) { - var self = this; - forEvents(events, event => { - const event_array = self._events[event]; - if (event_array === undefined) return; - event_array.forEach(fct => { - fct.apply(self, args); - }); - }); - } - } - - /** - * microplugin.js - * Copyright (c) 2013 Brian Reavis & contributors - * - * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this - * file except in compliance with the License. You may obtain a copy of the License at: - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software distributed under - * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF - * ANY KIND, either express or implied. See the License for the specific language - * governing permissions and limitations under the License. - * - * @author Brian Reavis - */ - - function MicroPlugin(Interface) { - Interface.plugins = {}; - return class extends Interface { - constructor(...args) { - super(...args); - this.plugins = { - names: [], - settings: {}, - requested: {}, - loaded: {} - }; - } - /** - * Registers a plugin. - * - * @param {function} fn - */ - static define(name, fn) { - Interface.plugins[name] = { - 'name': name, - 'fn': fn - }; - } - - /** - * Initializes the listed plugins (with options). - * Acceptable formats: - * - * List (without options): - * ['a', 'b', 'c'] - * - * List (with options): - * [{'name': 'a', options: {}}, {'name': 'b', options: {}}] - * - * Hash (with options): - * {'a': { ... }, 'b': { ... }, 'c': { ... }} - * - * @param {array|object} plugins - */ - initializePlugins(plugins) { - var key, name; - const self = this; - const queue = []; - if (Array.isArray(plugins)) { - plugins.forEach(plugin => { - if (typeof plugin === 'string') { - queue.push(plugin); - } else { - self.plugins.settings[plugin.name] = plugin.options; - queue.push(plugin.name); - } - }); - } else if (plugins) { - for (key in plugins) { - if (plugins.hasOwnProperty(key)) { - self.plugins.settings[key] = plugins[key]; - queue.push(key); - } - } - } - while (name = queue.shift()) { - self.require(name); - } - } - loadPlugin(name) { - var self = this; - var plugins = self.plugins; - var plugin = Interface.plugins[name]; - if (!Interface.plugins.hasOwnProperty(name)) { - throw new Error('Unable to find "' + name + '" plugin'); - } - plugins.requested[name] = true; - plugins.loaded[name] = plugin.fn.apply(self, [self.plugins.settings[name] || {}]); - plugins.names.push(name); - } - - /** - * Initializes a plugin. - * - */ - require(name) { - var self = this; - var plugins = self.plugins; - if (!self.plugins.loaded.hasOwnProperty(name)) { - if (plugins.requested[name]) { - throw new Error('Plugin has circular dependency ("' + name + '")'); - } - self.loadPlugin(name); - } - return plugins.loaded[name]; - } - }; - } - - /*! @orchidjs/unicode-variants | https://github.com/orchidjs/unicode-variants | Apache License (v2) */ - /** - * Convert array of strings to a regular expression - * ex ['ab','a'] => (?:ab|a) - * ex ['a','b'] => [ab] - * @param {string[]} chars - * @return {string} - */ - const arrayToPattern = chars => { - chars = chars.filter(Boolean); - - if (chars.length < 2) { - return chars[0] || ''; - } - - return maxValueLength(chars) == 1 ? '[' + chars.join('') + ']' : '(?:' + chars.join('|') + ')'; - }; - /** - * @param {string[]} array - * @return {string} - */ - - const sequencePattern = array => { - if (!hasDuplicates(array)) { - return array.join(''); - } - - let pattern = ''; - let prev_char_count = 0; - - const prev_pattern = () => { - if (prev_char_count > 1) { - pattern += '{' + prev_char_count + '}'; - } - }; - - array.forEach((char, i) => { - if (char === array[i - 1]) { - prev_char_count++; - return; - } - - prev_pattern(); - pattern += char; - prev_char_count = 1; - }); - prev_pattern(); - return pattern; - }; - /** - * Convert array of strings to a regular expression - * ex ['ab','a'] => (?:ab|a) - * ex ['a','b'] => [ab] - * @param {Set} chars - * @return {string} - */ - - const setToPattern = chars => { - let array = toArray(chars); - return arrayToPattern(array); - }; - /** - * - * https://stackoverflow.com/questions/7376598/in-javascript-how-do-i-check-if-an-array-has-duplicate-values - * @param {any[]} array - */ - - const hasDuplicates = array => { - return new Set(array).size !== array.length; - }; - /** - * https://stackoverflow.com/questions/63006601/why-does-u-throw-an-invalid-escape-error - * @param {string} str - * @return {string} - */ - - const escape_regex = str => { - return (str + '').replace(/([\$\(\)\*\+\.\?\[\]\^\{\|\}\\])/gu, '\\$1'); - }; - /** - * Return the max length of array values - * @param {string[]} array - * - */ - - const maxValueLength = array => { - return array.reduce((longest, value) => Math.max(longest, unicodeLength(value)), 0); - }; - /** - * @param {string} str - */ - - const unicodeLength = str => { - return toArray(str).length; - }; - /** - * @param {any} p - * @return {any[]} - */ - - const toArray = p => Array.from(p); - - /*! @orchidjs/unicode-variants | https://github.com/orchidjs/unicode-variants | Apache License (v2) */ - /** - * Get all possible combinations of substrings that add up to the given string - * https://stackoverflow.com/questions/30169587/find-all-the-combination-of-substrings-that-add-up-to-the-given-string - * @param {string} input - * @return {string[][]} - */ - const allSubstrings = input => { - if (input.length === 1) return [[input]]; - /** @type {string[][]} */ - - let result = []; - const start = input.substring(1); - const suba = allSubstrings(start); - suba.forEach(function (subresult) { - let tmp = subresult.slice(0); - tmp[0] = input.charAt(0) + tmp[0]; - result.push(tmp); - tmp = subresult.slice(0); - tmp.unshift(input.charAt(0)); - result.push(tmp); - }); - return result; - }; - - /*! @orchidjs/unicode-variants | https://github.com/orchidjs/unicode-variants | Apache License (v2) */ - - /** - * @typedef {{[key:string]:string}} TUnicodeMap - * @typedef {{[key:string]:Set}} TUnicodeSets - * @typedef {[[number,number]]} TCodePoints - * @typedef {{folded:string,composed:string,code_point:number}} TCodePointObj - * @typedef {{start:number,end:number,length:number,substr:string}} TSequencePart - */ - /** @type {TCodePoints} */ - - const code_points = [[0, 65535]]; - const accent_pat = '[\u0300-\u036F\u{b7}\u{2be}\u{2bc}]'; - /** @type {TUnicodeMap} */ - - let unicode_map; - /** @type {RegExp} */ - - let multi_char_reg; - const max_char_length = 3; - /** @type {TUnicodeMap} */ - - const latin_convert = {}; - /** @type {TUnicodeMap} */ - - const latin_condensed = { - '/': '⁄∕', - '0': '߀', - "a": "ⱥɐɑ", - "aa": "ꜳ", - "ae": "æǽǣ", - "ao": "ꜵ", - "au": "ꜷ", - "av": "ꜹꜻ", - "ay": "ꜽ", - "b": "ƀɓƃ", - "c": "ꜿƈȼↄ", - "d": "đɗɖᴅƌꮷԁɦ", - "e": "ɛǝᴇɇ", - "f": "ꝼƒ", - "g": "ǥɠꞡᵹꝿɢ", - "h": "ħⱨⱶɥ", - "i": "ɨı", - "j": "ɉȷ", - "k": "ƙⱪꝁꝃꝅꞣ", - "l": "łƚɫⱡꝉꝇꞁɭ", - "m": "ɱɯϻ", - "n": "ꞥƞɲꞑᴎлԉ", - "o": "øǿɔɵꝋꝍᴑ", - "oe": "œ", - "oi": "ƣ", - "oo": "ꝏ", - "ou": "ȣ", - "p": "ƥᵽꝑꝓꝕρ", - "q": "ꝗꝙɋ", - "r": "ɍɽꝛꞧꞃ", - "s": "ßȿꞩꞅʂ", - "t": "ŧƭʈⱦꞇ", - "th": "þ", - "tz": "ꜩ", - "u": "ʉ", - "v": "ʋꝟʌ", - "vy": "ꝡ", - "w": "ⱳ", - "y": "ƴɏỿ", - "z": "ƶȥɀⱬꝣ", - "hv": "ƕ" - }; - - for (let latin in latin_condensed) { - let unicode = latin_condensed[latin] || ''; - - for (let i = 0; i < unicode.length; i++) { - let char = unicode.substring(i, i + 1); - latin_convert[char] = latin; - } - } - - const convert_pat = new RegExp(Object.keys(latin_convert).join('|') + '|' + accent_pat, 'gu'); - /** - * Initialize the unicode_map from the give code point ranges - * - * @param {TCodePoints=} _code_points - */ - - const initialize = _code_points => { - if (unicode_map !== undefined) return; - unicode_map = generateMap(_code_points || code_points); - }; - /** - * Helper method for normalize a string - * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/normalize - * @param {string} str - * @param {string} form - */ - - const normalize = (str, form = 'NFKD') => str.normalize(form); - /** - * Remove accents without reordering string - * calling str.normalize('NFKD') on \u{594}\u{595}\u{596} becomes \u{596}\u{594}\u{595} - * via https://github.com/krisk/Fuse/issues/133#issuecomment-318692703 - * @param {string} str - * @return {string} - */ - - const asciifold = str => { - return toArray(str).reduce( - /** - * @param {string} result - * @param {string} char - */ - (result, char) => { - return result + _asciifold(char); - }, ''); - }; - /** - * @param {string} str - * @return {string} - */ - - const _asciifold = str => { - str = normalize(str).toLowerCase().replace(convert_pat, ( - /** @type {string} */ - char) => { - return latin_convert[char] || ''; - }); //return str; - - return normalize(str, 'NFC'); - }; - /** - * Generate a list of unicode variants from the list of code points - * @param {TCodePoints} code_points - * @yield {TCodePointObj} - */ - - function* generator(code_points) { - for (const [code_point_min, code_point_max] of code_points) { - for (let i = code_point_min; i <= code_point_max; i++) { - let composed = String.fromCharCode(i); - let folded = asciifold(composed); - - if (folded == composed.toLowerCase()) { - continue; - } // skip when folded is a string longer than 3 characters long - // bc the resulting regex patterns will be long - // eg: - // folded صلى الله عليه وسلم length 18 code point 65018 - // folded جل جلاله length 8 code point 65019 - - - if (folded.length > max_char_length) { - continue; - } - - if (folded.length == 0) { - continue; - } - - yield { - folded: folded, - composed: composed, - code_point: i - }; - } - } - } - /** - * Generate a unicode map from the list of code points - * @param {TCodePoints} code_points - * @return {TUnicodeSets} - */ - - const generateSets = code_points => { - /** @type {{[key:string]:Set}} */ - const unicode_sets = {}; - /** - * @param {string} folded - * @param {string} to_add - */ - - const addMatching = (folded, to_add) => { - /** @type {Set} */ - const folded_set = unicode_sets[folded] || new Set(); - const patt = new RegExp('^' + setToPattern(folded_set) + '$', 'iu'); - - if (to_add.match(patt)) { - return; - } - - folded_set.add(escape_regex(to_add)); - unicode_sets[folded] = folded_set; - }; - - for (let value of generator(code_points)) { - addMatching(value.folded, value.folded); - addMatching(value.folded, value.composed); - } - - return unicode_sets; - }; - /** - * Generate a unicode map from the list of code points - * ae => (?:(?:ae|Æ|Ǽ|Ǣ)|(?:A|Ⓐ|A...)(?:E|ɛ|Ⓔ...)) - * - * @param {TCodePoints} code_points - * @return {TUnicodeMap} - */ - - const generateMap = code_points => { - /** @type {TUnicodeSets} */ - const unicode_sets = generateSets(code_points); - /** @type {TUnicodeMap} */ - - const unicode_map = {}; - /** @type {string[]} */ - - let multi_char = []; - - for (let folded in unicode_sets) { - let set = unicode_sets[folded]; - - if (set) { - unicode_map[folded] = setToPattern(set); - } - - if (folded.length > 1) { - multi_char.push(escape_regex(folded)); - } - } - - multi_char.sort((a, b) => b.length - a.length); - const multi_char_patt = arrayToPattern(multi_char); - multi_char_reg = new RegExp('^' + multi_char_patt, 'u'); - return unicode_map; - }; - /** - * Map each element of an array from it's folded value to all possible unicode matches - * @param {string[]} strings - * @param {number} min_replacement - * @return {string} - */ - - const mapSequence = (strings, min_replacement = 1) => { - let chars_replaced = 0; - strings = strings.map(str => { - if (unicode_map[str]) { - chars_replaced += str.length; - } - - return unicode_map[str] || str; - }); - - if (chars_replaced >= min_replacement) { - return sequencePattern(strings); - } - - return ''; - }; - /** - * Convert a short string and split it into all possible patterns - * Keep a pattern only if min_replacement is met - * - * 'abc' - * => [['abc'],['ab','c'],['a','bc'],['a','b','c']] - * => ['abc-pattern','ab-c-pattern'...] - * - * - * @param {string} str - * @param {number} min_replacement - * @return {string} - */ - - const substringsToPattern = (str, min_replacement = 1) => { - min_replacement = Math.max(min_replacement, str.length - 1); - return arrayToPattern(allSubstrings(str).map(sub_pat => { - return mapSequence(sub_pat, min_replacement); - })); - }; - /** - * Convert an array of sequences into a pattern - * [{start:0,end:3,length:3,substr:'iii'}...] => (?:iii...) - * - * @param {Sequence[]} sequences - * @param {boolean} all - */ - - const sequencesToPattern = (sequences, all = true) => { - let min_replacement = sequences.length > 1 ? 1 : 0; - return arrayToPattern(sequences.map(sequence => { - let seq = []; - const len = all ? sequence.length() : sequence.length() - 1; - - for (let j = 0; j < len; j++) { - seq.push(substringsToPattern(sequence.substrs[j] || '', min_replacement)); - } - - return sequencePattern(seq); - })); - }; - /** - * Return true if the sequence is already in the sequences - * @param {Sequence} needle_seq - * @param {Sequence[]} sequences - */ - - - const inSequences = (needle_seq, sequences) => { - for (const seq of sequences) { - if (seq.start != needle_seq.start || seq.end != needle_seq.end) { - continue; - } - - if (seq.substrs.join('') !== needle_seq.substrs.join('')) { - continue; - } - - let needle_parts = needle_seq.parts; - /** - * @param {TSequencePart} part - */ - - const filter = part => { - for (const needle_part of needle_parts) { - if (needle_part.start === part.start && needle_part.substr === part.substr) { - return false; - } - - if (part.length == 1 || needle_part.length == 1) { - continue; - } // check for overlapping parts - // a = ['::=','=='] - // b = ['::','==='] - // a = ['r','sm'] - // b = ['rs','m'] - - - if (part.start < needle_part.start && part.end > needle_part.start) { - return true; - } - - if (needle_part.start < part.start && needle_part.end > part.start) { - return true; - } - } - - return false; - }; - - let filtered = seq.parts.filter(filter); - - if (filtered.length > 0) { - continue; - } - - return true; - } - - return false; - }; - - class Sequence { - constructor() { - /** @type {TSequencePart[]} */ - this.parts = []; - /** @type {string[]} */ - - this.substrs = []; - this.start = 0; - this.end = 0; - } - /** - * @param {TSequencePart|undefined} part - */ - - - add(part) { - if (part) { - this.parts.push(part); - this.substrs.push(part.substr); - this.start = Math.min(part.start, this.start); - this.end = Math.max(part.end, this.end); - } - } - - last() { - return this.parts[this.parts.length - 1]; - } - - length() { - return this.parts.length; - } - /** - * @param {number} position - * @param {TSequencePart} last_piece - */ - - - clone(position, last_piece) { - let clone = new Sequence(); - let parts = JSON.parse(JSON.stringify(this.parts)); - let last_part = parts.pop(); - - for (const part of parts) { - clone.add(part); - } - - let last_substr = last_piece.substr.substring(0, position - last_part.start); - let clone_last_len = last_substr.length; - clone.add({ - start: last_part.start, - end: last_part.start + clone_last_len, - length: clone_last_len, - substr: last_substr - }); - return clone; - } - - } - /** - * Expand a regular expression pattern to include unicode variants - * eg /a/ becomes /aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐɑAⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ/ - * - * Issue: - * ﺊﺋ [ 'ﺊ = \\u{fe8a}', 'ﺋ = \\u{fe8b}' ] - * becomes: ئئ [ 'ي = \\u{64a}', 'ٔ = \\u{654}', 'ي = \\u{64a}', 'ٔ = \\u{654}' ] - * - * İIJ = IIJ = ⅡJ - * - * 1/2/4 - * - * @param {string} str - * @return {string|undefined} - */ - - - const getPattern = str => { - initialize(); - str = asciifold(str); - let pattern = ''; - let sequences = [new Sequence()]; - - for (let i = 0; i < str.length; i++) { - let substr = str.substring(i); - let match = substr.match(multi_char_reg); - const char = str.substring(i, i + 1); - const match_str = match ? match[0] : null; // loop through sequences - // add either the char or multi_match - - let overlapping = []; - let added_types = new Set(); - - for (const sequence of sequences) { - const last_piece = sequence.last(); - - if (!last_piece || last_piece.length == 1 || last_piece.end <= i) { - // if we have a multi match - if (match_str) { - const len = match_str.length; - sequence.add({ - start: i, - end: i + len, - length: len, - substr: match_str - }); - added_types.add('1'); - } else { - sequence.add({ - start: i, - end: i + 1, - length: 1, - substr: char - }); - added_types.add('2'); - } - } else if (match_str) { - let clone = sequence.clone(i, last_piece); - const len = match_str.length; - clone.add({ - start: i, - end: i + len, - length: len, - substr: match_str - }); - overlapping.push(clone); - } else { - // don't add char - // adding would create invalid patterns: 234 => [2,34,4] - added_types.add('3'); - } - } // if we have overlapping - - - if (overlapping.length > 0) { - // ['ii','iii'] before ['i','i','iii'] - overlapping = overlapping.sort((a, b) => { - return a.length() - b.length(); - }); - - for (let clone of overlapping) { - // don't add if we already have an equivalent sequence - if (inSequences(clone, sequences)) { - continue; - } - - sequences.push(clone); - } - - continue; - } // if we haven't done anything unique - // clean up the patterns - // helps keep patterns smaller - // if str = 'r₨㎧aarss', pattern will be 446 instead of 655 - - - if (i > 0 && added_types.size == 1 && !added_types.has('3')) { - pattern += sequencesToPattern(sequences, false); - let new_seq = new Sequence(); - const old_seq = sequences[0]; - - if (old_seq) { - new_seq.add(old_seq.last()); - } - - sequences = [new_seq]; - } - } - - pattern += sequencesToPattern(sequences, true); - return pattern; - }; - - /*! sifter.js | https://github.com/orchidjs/sifter.js | Apache License (v2) */ - - /** - * A property getter resolving dot-notation - * @param {Object} obj The root object to fetch property on - * @param {String} name The optionally dotted property name to fetch - * @return {Object} The resolved property value - */ - const getAttr = (obj, name) => { - if (!obj) return; - return obj[name]; - }; - /** - * A property getter resolving dot-notation - * @param {Object} obj The root object to fetch property on - * @param {String} name The optionally dotted property name to fetch - * @return {Object} The resolved property value - */ - - const getAttrNesting = (obj, name) => { - if (!obj) return; - var part, - names = name.split("."); - - while ((part = names.shift()) && (obj = obj[part])); - - return obj; - }; - /** - * Calculates how close of a match the - * given value is against a search token. - * - */ - - const scoreValue = (value, token, weight) => { - var score, pos; - if (!value) return 0; - value = value + ''; - if (token.regex == null) return 0; - pos = value.search(token.regex); - if (pos === -1) return 0; - score = token.string.length / value.length; - if (pos === 0) score += 0.5; - return score * weight; - }; - /** - * Cast object property to an array if it exists and has a value - * - */ - - const propToArray = (obj, key) => { - var value = obj[key]; - if (typeof value == 'function') return value; - - if (value && !Array.isArray(value)) { - obj[key] = [value]; - } - }; - /** - * Iterates over arrays and hashes. - * - * ``` - * iterate(this.items, function(item, id) { - * // invoked for each item - * }); - * ``` - * - */ - - const iterate$1 = (object, callback) => { - if (Array.isArray(object)) { - object.forEach(callback); - } else { - for (var key in object) { - if (object.hasOwnProperty(key)) { - callback(object[key], key); - } - } - } - }; - const cmp = (a, b) => { - if (typeof a === 'number' && typeof b === 'number') { - return a > b ? 1 : a < b ? -1 : 0; - } - - a = asciifold(a + '').toLowerCase(); - b = asciifold(b + '').toLowerCase(); - if (a > b) return 1; - if (b > a) return -1; - return 0; - }; - - /*! sifter.js | https://github.com/orchidjs/sifter.js | Apache License (v2) */ - - /** - * sifter.js - * Copyright (c) 2013–2020 Brian Reavis & contributors - * - * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this - * file except in compliance with the License. You may obtain a copy of the License at: - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software distributed under - * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF - * ANY KIND, either express or implied. See the License for the specific language - * governing permissions and limitations under the License. - * - * @author Brian Reavis - */ - - class Sifter { - // []|{}; - - /** - * Textually searches arrays and hashes of objects - * by property (or multiple properties). Designed - * specifically for autocomplete. - * - */ - constructor(items, settings) { - this.items = void 0; - this.settings = void 0; - this.items = items; - this.settings = settings || { - diacritics: true - }; - } - - /** - * Splits a search string into an array of individual - * regexps to be used to match results. - * - */ - tokenize(query, respect_word_boundaries, weights) { - if (!query || !query.length) return []; - const tokens = []; - const words = query.split(/\s+/); - var field_regex; - - if (weights) { - field_regex = new RegExp('^(' + Object.keys(weights).map(escape_regex).join('|') + ')\:(.*)$'); - } - - words.forEach(word => { - let field_match; - let field = null; - let regex = null; // look for "field:query" tokens - - if (field_regex && (field_match = word.match(field_regex))) { - field = field_match[1]; - word = field_match[2]; - } - - if (word.length > 0) { - if (this.settings.diacritics) { - regex = getPattern(word) || null; - } else { - regex = escape_regex(word); - } - - if (regex && respect_word_boundaries) regex = "\\b" + regex; - } - - tokens.push({ - string: word, - regex: regex ? new RegExp(regex, 'iu') : null, - field: field - }); - }); - return tokens; - } - - /** - * Returns a function to be used to score individual results. - * - * Good matches will have a higher score than poor matches. - * If an item is not a match, 0 will be returned by the function. - * - * @returns {T.ScoreFn} - */ - getScoreFunction(query, options) { - var search = this.prepareSearch(query, options); - return this._getScoreFunction(search); - } - /** - * @returns {T.ScoreFn} - * - */ - - - _getScoreFunction(search) { - const tokens = search.tokens, - token_count = tokens.length; - - if (!token_count) { - return function () { - return 0; - }; - } - - const fields = search.options.fields, - weights = search.weights, - field_count = fields.length, - getAttrFn = search.getAttrFn; - - if (!field_count) { - return function () { - return 1; - }; - } - /** - * Calculates the score of an object - * against the search query. - * - */ - - - const scoreObject = function () { - if (field_count === 1) { - return function (token, data) { - const field = fields[0].field; - return scoreValue(getAttrFn(data, field), token, weights[field] || 1); - }; - } - - return function (token, data) { - var sum = 0; // is the token specific to a field? - - if (token.field) { - const value = getAttrFn(data, token.field); - - if (!token.regex && value) { - sum += 1 / field_count; - } else { - sum += scoreValue(value, token, 1); - } - } else { - iterate$1(weights, (weight, field) => { - sum += scoreValue(getAttrFn(data, field), token, weight); - }); - } - - return sum / field_count; - }; - }(); - - if (token_count === 1) { - return function (data) { - return scoreObject(tokens[0], data); - }; - } - - if (search.options.conjunction === 'and') { - return function (data) { - var score, - sum = 0; - - for (let token of tokens) { - score = scoreObject(token, data); - if (score <= 0) return 0; - sum += score; - } - - return sum / token_count; - }; - } else { - return function (data) { - var sum = 0; - iterate$1(tokens, token => { - sum += scoreObject(token, data); - }); - return sum / token_count; - }; - } - } - - /** - * Returns a function that can be used to compare two - * results, for sorting purposes. If no sorting should - * be performed, `null` will be returned. - * - * @return function(a,b) - */ - getSortFunction(query, options) { - var search = this.prepareSearch(query, options); - return this._getSortFunction(search); - } - - _getSortFunction(search) { - var implicit_score, - sort_flds = []; - const self = this, - options = search.options, - sort = !search.query && options.sort_empty ? options.sort_empty : options.sort; - - if (typeof sort == 'function') { - return sort.bind(this); - } - /** - * Fetches the specified sort field value - * from a search result item. - * - */ - - - const get_field = function get_field(name, result) { - if (name === '$score') return result.score; - return search.getAttrFn(self.items[result.id], name); - }; // parse options - - - if (sort) { - for (let s of sort) { - if (search.query || s.field !== '$score') { - sort_flds.push(s); - } - } - } // the "$score" field is implied to be the primary - // sort field, unless it's manually specified - - - if (search.query) { - implicit_score = true; - - for (let fld of sort_flds) { - if (fld.field === '$score') { - implicit_score = false; - break; - } - } - - if (implicit_score) { - sort_flds.unshift({ - field: '$score', - direction: 'desc' - }); - } // without a search.query, all items will have the same score - - } else { - sort_flds = sort_flds.filter(fld => fld.field !== '$score'); - } // build function - - - const sort_flds_count = sort_flds.length; - - if (!sort_flds_count) { - return null; - } - - return function (a, b) { - var result, field; - - for (let sort_fld of sort_flds) { - field = sort_fld.field; - let multiplier = sort_fld.direction === 'desc' ? -1 : 1; - result = multiplier * cmp(get_field(field, a), get_field(field, b)); - if (result) return result; - } - - return 0; - }; - } - - /** - * Parses a search query and returns an object - * with tokens and fields ready to be populated - * with results. - * - */ - prepareSearch(query, optsUser) { - const weights = {}; - var options = Object.assign({}, optsUser); - propToArray(options, 'sort'); - propToArray(options, 'sort_empty'); // convert fields to new format - - if (options.fields) { - propToArray(options, 'fields'); - const fields = []; - options.fields.forEach(field => { - if (typeof field == 'string') { - field = { - field: field, - weight: 1 - }; - } - - fields.push(field); - weights[field.field] = 'weight' in field ? field.weight : 1; - }); - options.fields = fields; - } - - return { - options: options, - query: query.toLowerCase().trim(), - tokens: this.tokenize(query, options.respect_word_boundaries, weights), - total: 0, - items: [], - weights: weights, - getAttrFn: options.nesting ? getAttrNesting : getAttr - }; - } - - /** - * Searches through all items and returns a sorted array of matches. - * - */ - search(query, options) { - var self = this, - score, - search; - search = this.prepareSearch(query, options); - options = search.options; - query = search.query; // generate result scoring function - - const fn_score = options.score || self._getScoreFunction(search); // perform search and sort - - - if (query.length) { - iterate$1(self.items, (item, id) => { - score = fn_score(item); - - if (options.filter === false || score > 0) { - search.items.push({ - 'score': score, - 'id': id - }); - } - }); - } else { - iterate$1(self.items, (_, id) => { - search.items.push({ - 'score': 1, - 'id': id - }); - }); - } - - const fn_sort = self._getSortFunction(search); - - if (fn_sort) search.items.sort(fn_sort); // apply limits - - search.total = search.items.length; - - if (typeof options.limit === 'number') { - search.items = search.items.slice(0, options.limit); - } - - return search; - } - - } - - /** - * Iterates over arrays and hashes. - * - * ``` - * iterate(this.items, function(item, id) { - * // invoked for each item - * }); - * ``` - * - */ - const iterate = (object, callback) => { - if (Array.isArray(object)) { - object.forEach(callback); - } else { - for (var key in object) { - if (object.hasOwnProperty(key)) { - callback(object[key], key); - } - } - } - }; - - /** - * Return a dom element from either a dom query string, jQuery object, a dom element or html string - * https://stackoverflow.com/questions/494143/creating-a-new-dom-element-from-an-html-string-using-built-in-dom-methods-or-pro/35385518#35385518 - * - * param query should be {} - */ - const getDom = query => { - if (query.jquery) { - return query[0]; - } - if (query instanceof HTMLElement) { - return query; - } - if (isHtmlString(query)) { - var tpl = document.createElement('template'); - tpl.innerHTML = query.trim(); // Never return a text node of whitespace as the result - return tpl.content.firstChild; - } - return document.querySelector(query); - }; - const isHtmlString = arg => { - if (typeof arg === 'string' && arg.indexOf('<') > -1) { - return true; - } - return false; - }; - const escapeQuery = query => { - return query.replace(/['"\\]/g, '\\$&'); - }; - - /** - * Dispatch an event - * - */ - const triggerEvent = (dom_el, event_name) => { - var event = document.createEvent('HTMLEvents'); - event.initEvent(event_name, true, false); - dom_el.dispatchEvent(event); - }; - - /** - * Apply CSS rules to a dom element - * - */ - const applyCSS = (dom_el, css) => { - Object.assign(dom_el.style, css); - }; - - /** - * Add css classes - * - */ - const addClasses = (elmts, ...classes) => { - var norm_classes = classesArray(classes); - elmts = castAsArray(elmts); - elmts.map(el => { - norm_classes.map(cls => { - el.classList.add(cls); - }); - }); - }; - - /** - * Remove css classes - * - */ - const removeClasses = (elmts, ...classes) => { - var norm_classes = classesArray(classes); - elmts = castAsArray(elmts); - elmts.map(el => { - norm_classes.map(cls => { - el.classList.remove(cls); - }); - }); - }; - - /** - * Return arguments - * - */ - const classesArray = args => { - var classes = []; - iterate(args, _classes => { - if (typeof _classes === 'string') { - _classes = _classes.trim().split(/[\11\12\14\15\40]/); - } - if (Array.isArray(_classes)) { - classes = classes.concat(_classes); - } - }); - return classes.filter(Boolean); - }; - - /** - * Create an array from arg if it's not already an array - * - */ - const castAsArray = arg => { - if (!Array.isArray(arg)) { - arg = [arg]; - } - return arg; - }; - - /** - * Get the closest node to the evt.target matching the selector - * Stops at wrapper - * - */ - const parentMatch = (target, selector, wrapper) => { - if (wrapper && !wrapper.contains(target)) { - return; - } - while (target && target.matches) { - if (target.matches(selector)) { - return target; - } - target = target.parentNode; - } - }; - - /** - * Get the first or last item from an array - * - * > 0 - right (last) - * <= 0 - left (first) - * - */ - const getTail = (list, direction = 0) => { - if (direction > 0) { - return list[list.length - 1]; - } - return list[0]; - }; - - /** - * Return true if an object is empty - * - */ - const isEmptyObject = obj => { - return Object.keys(obj).length === 0; - }; - - /** - * Get the index of an element amongst sibling nodes of the same type - * - */ - const nodeIndex = (el, amongst) => { - if (!el) return -1; - amongst = amongst || el.nodeName; - var i = 0; - while (el = el.previousElementSibling) { - if (el.matches(amongst)) { - i++; - } - } - return i; - }; - - /** - * Set attributes of an element - * - */ - const setAttr = (el, attrs) => { - iterate(attrs, (val, attr) => { - if (val == null) { - el.removeAttribute(attr); - } else { - el.setAttribute(attr, '' + val); - } - }); - }; - - /** - * Replace a node - */ - const replaceNode = (existing, replacement) => { - if (existing.parentNode) existing.parentNode.replaceChild(replacement, existing); - }; - - /** - * highlight v3 | MIT license | Johann Burkard - * Highlights arbitrary terms in a node. - * - * - Modified by Marshal 2011-6-24 (added regex) - * - Modified by Brian Reavis 2012-8-27 (cleanup) - */ - - const highlight = (element, regex) => { - if (regex === null) return; - - // convet string to regex - if (typeof regex === 'string') { - if (!regex.length) return; - regex = new RegExp(regex, 'i'); - } - - // Wrap matching part of text node with highlighting , e.g. - // Soccer -> Soccer for regex = /soc/i - const highlightText = node => { - var match = node.data.match(regex); - if (match && node.data.length > 0) { - var spannode = document.createElement('span'); - spannode.className = 'highlight'; - var middlebit = node.splitText(match.index); - middlebit.splitText(match[0].length); - var middleclone = middlebit.cloneNode(true); - spannode.appendChild(middleclone); - replaceNode(middlebit, spannode); - return 1; - } - return 0; - }; - - // Recurse element node, looking for child text nodes to highlight, unless element - // is childless,