{"version":3,"sources":["webpack:///./node_modules/core-js/modules/es.array.reduce.js","webpack:///./src/components/customer/lotDetails/CustomerLotActivity.vue?2975","webpack:///./src/components/customer/lotDetails/CustomerLotActivity.vue?45ca","webpack:///./src/components/customer/lotDetails/CustomerLotActivity.vue","webpack:///./src/components/customer/lotDetails/CustomerLotActivity.vue?b425","webpack:///./node_modules/dayjs/dayjs.min.js","webpack:///./node_modules/core-js/internals/engine-is-node.js","webpack:///./src/helpers/date.ts","webpack:///./node_modules/core-js/internals/array-method-is-strict.js","webpack:///./src/enums/LotStatus.ts","webpack:///./node_modules/core-js/internals/array-reduce.js"],"names":["$","$reduce","left","arrayMethodIsStrict","CHROME_VERSION","IS_NODE","CHROME_BUG","FORCED","target","proto","forced","reduce","callbackfn","length","arguments","this","undefined","_hoisted_1","class","_hoisted_2","_hoisted_3","_hoisted_4","_hoisted_5","_hoisted_6","key","_hoisted_7","_hoisted_8","_hoisted_9","_hoisted_10","_hoisted_11","_hoisted_12","_hoisted_13","_hoisted_14","_hoisted_15","_hoisted_16","_hoisted_17","_hoisted_18","_hoisted_19","_hoisted_20","render","_ctx","_cache","$props","$setup","$data","$options","_openBlock","_createElementBlock","_createElementVNode","_Fragment","_renderList","normalizedActions","item","index","_normalizeClass","icon","_toDisplayString","title","description","_createCommentVNode","date","action","onClick","handler","text","notice","_defineComponent","__name","props","actions","eoiDetails","lot","emits","setup","__props","expose","__expose","emit","ref","isEoiDeclined","computed","EoiStatus","DECLINED","WAITING_FOR_DECLINED","includes","status","isCustomerCreatedEoi","_props$actions","some","_action$newValues","_action$newValues$app","newValues","applicants","getUser","_id","isContractTerminated","actionsByLastApplicant","lastApplicantIndex","findIndex","_item$newValues","_item$newValues$appli","changedParams","applicantDetails","eoiId","id","slice","actionsBeforeDecline","indexOfActionHasApplicants","reversedCopy","reverse","accumulator","_action$newValues2","_action$newValues2$ap","setNormalizedActions","data","_props$eoiDetails","_props$eoiDetails$ref","_props$eoiDetails2","_props$eoiDetails2$re","TERMINATED","push","onViewLots","updatedAt","PENDING_FOR_BILLING","DRAFT","getDateEoiCard","onComplete","forEach","setStateOfContractTerminated","param","getDate","onReview","LotStatus","EOI","AVAILABLE","SETTLED","price","toLocaleString","formatDateDayMonthYear","registrationDate","onViewContract","settlementDate","financeDueDate","value","unshift","formatDateDayMonthYearWithTime","refundData","executionStartDate","isEoiIsRefunded","estate","isRefundable","filterTimelineActionsIfEoiDeclined","WITHDRAWN","REFUNDED","REFUND_DECLINED","newLotStatus","CONTRACT_EXECUTED","UNCONDITIONAL","previousLotStatus","createdAt","router","name","params","estateId","_props$eoiDetails3","_props$eoiDetails3$re","date1","dayjs","date2","Math","sign","diff","watch","immediate","__returned__","EoiDetails","Lot","LotActionInterface","Object","defineProperty","enumerable","__exports__","t","e","module","exports","n","r","i","s","u","a","o","f","h","c","d","l","y","M","weekdays","split","months","ordinal","m","String","Array","join","v","z","utcOffset","abs","floor","year","month","clone","add","ceil","p","w","D","ms","Q","toLowerCase","replace","g","_","S","args","O","locale","$L","utc","$u","x","$x","$offset","parse","prototype","$d","Date","NaN","test","match","substring","UTC","init","$y","getFullYear","$M","getMonth","$D","$W","getDay","$H","getHours","$m","getMinutes","$s","getSeconds","$ms","getMilliseconds","$utils","isValid","toString","isSame","startOf","endOf","isAfter","isBefore","$g","set","unix","valueOf","getTime","toDate","apply","$locale","weekStart","$set","min","daysInMonth","get","Number","round","subtract","format","invalidDate","meridiem","YY","YYYY","MM","MMM","monthsShort","MMMM","DD","dd","weekdaysMin","ddd","weekdaysShort","dddd","H","HH","hh","A","mm","ss","SSS","Z","getTimezoneOffset","toJSON","toISOString","toUTCString","T","extend","$i","isDayjs","en","Ls","process","classof","cov_4tnu0h68q","actualCoverage","formatDate","b","formatDateMonthYear","formatDateMonthDayYear","formatDateCalendar","formatDateYYYYMMDD","formatDateToday","fails","METHOD_NAME","argument","method","call","cov_291z4ylohk","aCallable","toObject","IndexedObject","lengthOfArrayLike","$TypeError","TypeError","createMethod","IS_RIGHT","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DV,EAAUpU,GACV,IAAIyN,EAAI4G,EAASO,GACbG,EAAOT,EAAc7G,GACrBxN,EAASsU,EAAkB9G,GAC3BhL,EAAQkS,EAAW1U,EAAS,EAAI,EAChC+K,EAAI2J,GAAY,EAAI,EACxB,GAAIE,EAAkB,EAAG,MAAO,EAAM,CACpC,GAAIpS,KAASsS,EAAM,CACjBD,EAAOC,EAAKtS,GACZA,GAASuI,EACT,MAGF,GADAvI,GAASuI,EACL2J,EAAWlS,EAAQ,EAAIxC,GAAUwC,EACnC,MAAM+R,EAAW,+CAGrB,KAAMG,EAAWlS,GAAS,EAAIxC,EAASwC,EAAOA,GAASuI,EAAOvI,KAASsS,IACrED,EAAO9U,EAAW8U,EAAMC,EAAKtS,GAAQA,EAAOgL,IAE9C,OAAOqH,IAIXlK,EAAOC,QAAU,CAGfvL,KAAMoV,GAAa,GAGnBM,MAAON,GAAa,K","file":"js/CustomerLotActivity.7e8b0935.js","sourcesContent":["'use strict';\nvar $ = require('../internals/export');\nvar $reduce = require('../internals/array-reduce').left;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\nvar CHROME_VERSION = require('../internals/engine-v8-version');\nvar IS_NODE = require('../internals/engine-is-node');\n\n// Chrome 80-82 has a critical bug\n// https://bugs.chromium.org/p/chromium/issues/detail?id=1049982\nvar CHROME_BUG = !IS_NODE && CHROME_VERSION > 79 && CHROME_VERSION < 83;\nvar FORCED = CHROME_BUG || !arrayMethodIsStrict('reduce');\n\n// `Array.prototype.reduce` method\n// https://tc39.es/ecma262/#sec-array.prototype.reduce\n$({ target: 'Array', proto: true, forced: FORCED }, {\n reduce: function reduce(callbackfn /* , initialValue */) {\n var length = arguments.length;\n return $reduce(this, callbackfn, length, length > 1 ? arguments[1] : undefined);\n }\n});\n","export * from \"-!../../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./CustomerLotActivity.vue?vue&type=style&index=0&id=882aef26&lang=scss&scoped=true\"","import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, normalizeClass as _normalizeClass, createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, createCommentVNode as _createCommentVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-882aef26\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"wrapper-cards\" }\nconst _hoisted_2 = { class: \"action-info\" }\nconst _hoisted_3 = { class: \"icon\" }\nconst _hoisted_4 = { class: \"body\" }\nconst _hoisted_5 = { class: \"action-name\" }\nconst _hoisted_6 = {\n key: 0,\n class: \"action-description\"\n}\nconst _hoisted_7 = { class: \"action-date\" }\nconst _hoisted_8 = { class: \"action-controls\" }\nconst _hoisted_9 = [\"onClick\"]\nconst _hoisted_10 = {\n key: 0,\n class: \"action-notice\"\n}\nconst _hoisted_11 = { class: \"wrapper-cards-mobile\" }\nconst _hoisted_12 = { class: \"action-info\" }\nconst _hoisted_13 = { class: \"header\" }\nconst _hoisted_14 = { class: \"action-name\" }\nconst _hoisted_15 = { class: \"body\" }\nconst _hoisted_16 = {\n key: 0,\n class: \"action-description\"\n}\nconst _hoisted_17 = { class: \"action-date\" }\nconst _hoisted_18 = { class: \"action-controls\" }\nconst _hoisted_19 = [\"onClick\"]\nconst _hoisted_20 = {\n key: 0,\n class: \"action-notice\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _createElementVNode(\"div\", _hoisted_1, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList($setup.normalizedActions, (item, index) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n key: index,\n class: \"card card-upcoming\"\n }, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"upcoming-icon\", item.icon])\n }, null, 2)\n ]),\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", _hoisted_5, _toDisplayString(item.title), 1),\n (item.description)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_6, _toDisplayString(item.description), 1))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_7, _toDisplayString(item.date), 1)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_8, [\n (item.action)\n ? (_openBlock(), _createElementBlock(\"button\", {\n key: 0,\n class: \"button primary default action-btn\",\n onClick: item.action.handler\n }, _toDisplayString(item.action.text), 9, _hoisted_9))\n : _createCommentVNode(\"\", true)\n ]),\n (item.notice)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_10, _toDisplayString(item.notice), 1))\n : _createCommentVNode(\"\", true)\n ]))\n }), 128))\n ]),\n _createElementVNode(\"div\", _hoisted_11, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList($setup.normalizedActions, (item, index) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n key: index,\n class: \"card card-upcoming\"\n }, [\n _createElementVNode(\"div\", _hoisted_12, [\n _createElementVNode(\"div\", _hoisted_13, [\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"upcoming-icon\", item.icon])\n }, null, 2),\n _createElementVNode(\"div\", _hoisted_14, _toDisplayString(item.title), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_15, [\n (item.description)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_16, _toDisplayString(item.description), 1))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_17, _toDisplayString(item.date), 1)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_18, [\n (item.action)\n ? (_openBlock(), _createElementBlock(\"button\", {\n key: 0,\n class: \"button primary default action-btn\",\n onClick: item.action.handler\n }, _toDisplayString(item.action.text), 9, _hoisted_19))\n : _createCommentVNode(\"\", true)\n ]),\n (item.notice)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_20, _toDisplayString(item.notice), 1))\n : _createCommentVNode(\"\", true)\n ]))\n }), 128))\n ])\n ]))\n}","import { defineComponent as _defineComponent } from 'vue'\nimport { computed, ref, watch } from \"vue\";\nimport { formatDateDayMonthYear, formatDateDayMonthYearWithTime } from \"@/helpers/date\";\nimport { LotStatus } from \"@/enums/LotStatus\";\nimport { EoiDetails, Lot } from \"@/types/CustomerLotDetails\";\nimport { EoiStatus } from \"@/enums/EoiStatus\";\nimport { getUser } from \"@/features/useUser\";\nimport { LotActionInterface } from \"@/types/LotActionInterface\";\nimport router from \"@/router\";\nimport dayjs from \"dayjs\";\n\ninterface Props {\n actions: LotActionInterface[];\n eoiDetails: EoiDetails;\n lot: Lot;\n}\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'CustomerLotActivity',\n props: {\n actions: {},\n eoiDetails: {},\n lot: {}\n },\n emits: [\"completeEoi\", \"changeTab\"],\n setup(__props: any, { expose: __expose, emit: emits }) {\n __expose();\n\nconst props = __props;\n\n\n\nconst normalizedActions = ref([]);\n\nconst isEoiDeclined = computed(() => {\n return [EoiStatus.DECLINED, EoiStatus.WAITING_FOR_DECLINED].includes(props.eoiDetails.status);\n});\nconst isCustomerCreatedEoi = computed(() => {\n return props.actions?.some((action) => {\n return action.newValues?.applicants?.includes(getUser()._id);\n });\n});\nconst isContractTerminated = ref(false);\n\nfunction actionsByLastApplicant(actions) {\n const lastApplicantIndex = actions.findIndex((item) => {\n return item.changedParams.includes(\"applicants\") && item.newValues?.applicants?.includes(getUser()._id) && item.applicantDetails.eoiId === props.eoiDetails.id;\n });\n return actions.slice(0, lastApplicantIndex + 1);\n}\nfunction actionsBeforeDecline(actions) {\n let indexOfActionHasApplicants = 0;\n const reversedCopy = actions.slice().reverse();\n\n return reversedCopy.reduce((accumulator, action, index) => {\n if (\n action.changedParams.includes(\"applicants\") &&\n action.newValues?.applicants?.includes(getUser()._id)\n ) {\n indexOfActionHasApplicants = index;\n }\n if (indexOfActionHasApplicants && index >= indexOfActionHasApplicants) {\n return [action, ...accumulator];\n }\n return accumulator;\n }, []);\n}\nconst setNormalizedActions = (actions: any) => {\n const data = [];\n if (props.eoiDetails.status === EoiStatus.TERMINATED) {\n data.push({\n title: \"This lot is no longer available\",\n icon: \"declined-icon\",\n action: {\n text: \"View other lots\",\n handler: onViewLots,\n },\n updatedAt: props.eoiDetails.updatedAt,\n });\n }\n if (\n [EoiStatus.PENDING_FOR_BILLING, EoiStatus.DRAFT].includes(\n props.eoiDetails.status\n )\n ) {\n data.push({\n title: \"Review and complete a Contract Information Form\",\n date: getDateEoiCard(),\n icon: \"contract-icon\",\n action: {\n text: \"Complete\",\n handler: onComplete,\n },\n updatedAt: props.eoiDetails.updatedAt,\n });\n }\n actions.forEach((action) => {\n setStateOfContractTerminated(action);\n action.changedParams.forEach((param) => {\n if (\n ![EoiStatus.PENDING_FOR_BILLING, EoiStatus.DRAFT].includes(\n props.eoiDetails.status\n )\n ) {\n if (param === \"applicants\" && action.newValues.applicants.includes(getUser()._id) && action.applicantDetails.eoiId === props.eoiDetails.id) {\n data.push({\n title: \"You submitted a Contract Information Form\",\n date: getDate(action.updatedAt),\n icon: \"folder-icon\",\n action: {\n text: \"Review\",\n handler: onReview,\n },\n updatedAt: action.updatedAt,\n });\n }\n if (param === \"status\" && ![LotStatus.EOI, LotStatus.AVAILABLE].includes(action.newValues.status)) {\n data.push({\n title: `Lot status updated to ${action.newValues.status}`,\n date: getDate(action.updatedAt),\n icon:\n action.newValues.status === LotStatus.SETTLED\n ? \"confetti-icon\"\n : \"check-icon\",\n updatedAt: action.updatedAt,\n });\n }\n if (param === \"price\") {\n data.push({\n title: `Price updated to $${action.newValues.price.toLocaleString()}`,\n date: getDate(action.updatedAt),\n icon: \"check-icon\",\n updatedAt: action.updatedAt,\n });\n }\n if (param === \"registrationDate\") {\n data.push({\n title: \"Registration date was updated\",\n date: getDate(action.updatedAt),\n icon: \"calendar-plus-icon\",\n notice: `Registration date: ${formatDateDayMonthYear(\n action.newValues.registrationDate\n )}`,\n updatedAt: action.updatedAt,\n });\n }\n if (param === \"contracts\") {\n data.push({\n title: \"Executed land contract was uploaded\",\n date: getDate(action.updatedAt),\n icon: \"up-icon\",\n action: {\n text: \"View Contracts\",\n handler: onViewContract,\n },\n updatedAt: action.updatedAt,\n });\n }\n if (param === \"eoiId\" && action.newValues.eoiId === props.eoiDetails.id) {\n data.push({\n title: \"Your Contract Information Form was approved\",\n date: getDate(action.updatedAt),\n icon: \"check-rounded-icon\",\n updatedAt: action.updatedAt,\n });\n }\n if (param === \"settlementDate\" && action.newValues.settlementDate) {\n data.push({\n title: \"The settlement date was updated\",\n date: getDate(action.updatedAt),\n icon: \"calendar-plus-icon\",\n notice: `Settlement date: ${formatDateDayMonthYear(\n action.newValues.settlementDate\n )}`,\n updatedAt: action.updatedAt,\n });\n }\n if (param === \"financeDueDate\" && action.newValues.financeDueDate) {\n data.push({\n title: \"The finance due date was updated\",\n date: getDate(action.updatedAt),\n icon: \"calendar-blank-icon\",\n notice: `Finance due date: ${formatDateDayMonthYear(\n action.newValues.financeDueDate\n )}`,\n updatedAt: action.updatedAt,\n });\n }\n }\n });\n });\n if (isEoiDeclined.value) {\n data.unshift({\n title: \"Your Contract Information Form was declined\",\n icon: \"declined-icon\",\n date: formatDateDayMonthYearWithTime(props.eoiDetails?.refundData?.executionStartDate),\n updatedAt: props.eoiDetails?.refundData?.executionStartDate,\n });\n }\n if (isEoiIsRefunded()) {\n data.unshift({\n title: isContractTerminated.value\n ? \"Contract was terminated\"\n : \"Your Contract Information Form was withdrawn\",\n icon: \"declined-icon\",\n date: getDateEoiCard(),\n description: props.lot.estate.isRefundable\n ? \"The holding deposit will be refunded to you within 3-5 business days\"\n : \"\",\n updatedAt: props.eoiDetails.updatedAt,\n });\n }\n if (isEoiDeclined.value || isEoiIsRefunded()) {\n normalizedActions.value = filterTimelineActionsIfEoiDeclined(data);\n } else {\n normalizedActions.value = data;\n }\n};\nfunction isEoiIsRefunded() {\n return [\n EoiStatus.WITHDRAWN,\n EoiStatus.REFUNDED,\n EoiStatus.REFUND_DECLINED,\n ].includes(props.eoiDetails.status as EoiStatus);\n}\nfunction setStateOfContractTerminated(action) {\n if (\n action.newLotStatus === LotStatus.AVAILABLE &&\n [LotStatus.CONTRACT_EXECUTED, LotStatus.UNCONDITIONAL].includes(\n action.previousLotStatus\n )\n ) {\n isContractTerminated.value = true;\n }\n}\nfunction getDate(value) {\n return formatDateDayMonthYearWithTime(value);\n}\nconst getDateEoiCard = () => {\n return props.eoiDetails.updatedAt\n ? formatDateDayMonthYearWithTime(props.eoiDetails.updatedAt)\n : formatDateDayMonthYearWithTime(props.eoiDetails.createdAt);\n};\nfunction onReview() {\n emits(\"changeTab\", \"eoi-details\");\n}\nfunction onViewLots() {\n router.push({\n name: \"EstateMap\",\n params: {\n estateId: props.lot.estate.id,\n },\n });\n}\nfunction onViewContract() {\n emits(\"changeTab\", \"contracts\");\n}\nfunction onComplete() {\n emits(\"completeEoi\");\n}\nconst filterTimelineActionsIfEoiDeclined = (actions) => {\n return actions.reduce((accumulator, action) => {\n const date1 = dayjs(props.eoiDetails?.refundData?.executionStartDate);\n const date2 = dayjs(action.updatedAt); \n if (Math.sign(date1.diff(date2)) < 0) {\n return accumulator;\n } else {\n return [...accumulator, action];\n }\n }, []);\n};\n\nwatch(\n () => props.actions,\n (value) => {\n if (value.length) {\n setNormalizedActions(actionsByLastApplicant(actionsBeforeDecline(value)));\n }\n },\n {\n immediate: true,\n }\n);\n\nconst __returned__ = { props, emits, normalizedActions, isEoiDeclined, isCustomerCreatedEoi, isContractTerminated, actionsByLastApplicant, actionsBeforeDecline, setNormalizedActions, isEoiIsRefunded, setStateOfContractTerminated, getDate, getDateEoiCard, onReview, onViewLots, onViewContract, onComplete, filterTimelineActionsIfEoiDeclined, computed, ref, watch, get formatDateDayMonthYear() { return formatDateDayMonthYear }, get formatDateDayMonthYearWithTime() { return formatDateDayMonthYearWithTime }, get LotStatus() { return LotStatus }, get EoiDetails() { return EoiDetails }, get Lot() { return Lot }, get EoiStatus() { return EoiStatus }, get getUser() { return getUser }, get LotActionInterface() { return LotActionInterface }, get router() { return router }, get dayjs() { return dayjs } }\nObject.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true })\nreturn __returned__\n}\n\n})","import { render } from \"./CustomerLotActivity.vue?vue&type=template&id=882aef26&scoped=true&ts=true&lang=pug\"\nimport script from \"./CustomerLotActivity.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./CustomerLotActivity.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./CustomerLotActivity.vue?vue&type=style&index=0&id=882aef26&lang=scss&scoped=true\"\n\nimport exportComponent from \"/codebuild/output/src264950160/src/lottrackr-front/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-882aef26\"]])\n\nexport default __exports__","!function(t,e){\"object\"==typeof exports&&\"undefined\"!=typeof module?module.exports=e():\"function\"==typeof define&&define.amd?define(e):(t=\"undefined\"!=typeof globalThis?globalThis:t||self).dayjs=e()}(this,(function(){\"use strict\";var t=1e3,e=6e4,n=36e5,r=\"millisecond\",i=\"second\",s=\"minute\",u=\"hour\",a=\"day\",o=\"week\",f=\"month\",h=\"quarter\",c=\"year\",d=\"date\",l=\"Invalid Date\",$=/^(\\d{4})[-/]?(\\d{1,2})?[-/]?(\\d{0,2})[Tt\\s]*(\\d{1,2})?:?(\\d{1,2})?:?(\\d{1,2})?[.:]?(\\d+)?$/,y=/\\[([^\\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,M={name:\"en\",weekdays:\"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday\".split(\"_\"),months:\"January_February_March_April_May_June_July_August_September_October_November_December\".split(\"_\"),ordinal:function(t){var e=[\"th\",\"st\",\"nd\",\"rd\"],n=t%100;return\"[\"+t+(e[(n-20)%10]||e[n]||e[0])+\"]\"}},m=function(t,e,n){var r=String(t);return!r||r.length>=e?t:\"\"+Array(e+1-r.length).join(n)+t},v={s:m,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),r=Math.floor(n/60),i=n%60;return(e<=0?\"+\":\"-\")+m(r,2,\"0\")+\":\"+m(i,2,\"0\")},m:function t(e,n){if(e.date()1)return t(u[0])}else{var a=e.name;D[a]=e,i=a}return!r&&i&&(g=i),i||!r&&g},w=function(t,e){if(p(t))return t.clone();var n=\"object\"==typeof e?e:{};return n.date=t,n.args=arguments,new _(n)},O=v;O.l=S,O.i=p,O.w=function(t,e){return w(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var _=function(){function M(t){this.$L=S(t.locale,null,!0),this.parse(t)}var m=M.prototype;return m.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(O.u(e))return new Date;if(e instanceof Date)return new Date(e);if(\"string\"==typeof e&&!/Z$/i.test(e)){var r=e.match($);if(r){var i=r[2]-1||0,s=(r[7]||\"0\").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)}}return new Date(e)}(t),this.$x=t.x||{},this.init()},m.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},m.$utils=function(){return O},m.isValid=function(){return!(this.$d.toString()===l)},m.isSame=function(t,e){var n=w(t);return this.startOf(e)<=n&&n<=this.endOf(e)},m.isAfter=function(t,e){return w(t)= 0 : length > index; index += i) if (index in self) {\n memo = callbackfn(memo, self[index], index, O);\n }\n return memo;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.reduce` method\n // https://tc39.es/ecma262/#sec-array.prototype.reduce\n left: createMethod(false),\n // `Array.prototype.reduceRight` method\n // https://tc39.es/ecma262/#sec-array.prototype.reduceright\n right: createMethod(true)\n};\n"],"sourceRoot":""}