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E,IAAI,IAAIyrB,EAAEztB,EAAE,WAAWyjE,EAAE,OAAOjB,EAAE7gE,GAAG8rB,EAAE9rB,EAAEzE,GAAGwD,KAAKsjE,QAAQriE,GAAE,SAAUA,GAAG,OAAO8rB,EAAE9rB,EAAEzE,EAAG,GAAE,EAAE8E,CAAC,CAAj7D,GAAq7DyiE,GAAG,IAAIV,GAAGhmE,GAAG0mE,GAAGT,QAAQU,GAAGD,GAAGR,mBAAmBn9D,KAAK29D,IAAIE,GAAGF,GAAGJ,cAAcv9D,KAAK29D,IAAIG,GAAGH,GAAGN,cAAcr9D,KAAK29D,IAAII,GAAGJ,GAAGD,aAAa19D,KAAK29D,IAAIK,GAAGL,GAAGH,YAAYx9D,KAAK29D,IAAIM,GAAGN,GAAGF,YAAYz9D,KAAK29D,IAAI","sources":["webpack://Frontend/./node_modules/@redux-saga/core/dist/redux-saga-effects.esm.js","webpack://Frontend/./node_modules/@reduxjs/toolkit/dist/redux-toolkit.esm.js","webpack://Frontend/./src/api/chart/chartAPI.ts","webpack://Frontend/./src/api/search/contentAPI.ts","webpack://Frontend/./src/api/search/searchAPI.ts","webpack://Frontend/./src/components/card/card.tsx","webpack://Frontend/./src/components/linkButton/linkButton.tsx","webpack://Frontend/./src/components/miniChart/miniChart.tsx","webpack://Frontend/./src/components/modal/modal.tsx","webpack://Frontend/./src/components/pagination/pagination.tsx","webpack://Frontend/./src/components/searchLayouts/searchLayout.tsx","webpack://Frontend/./src/constants.ts","webpack://Frontend/./src/pages/search/chartComponents/mainChart.tsx","webpack://Frontend/./src/pages/search/chartComponents/topMovers.tsx","webpack://Frontend/./src/pages/search/clearFilterItem.tsx","webpack://Frontend/./src/pages/search/communityPost.tsx","webpack://Frontend/./src/pages/search/filterItems.tsx","webpack://Frontend/./src/pages/search/filterSection.tsx","webpack://Frontend/./src/pages/search/index.tsx","webpack://Frontend/./src/pages/search/lotRating.tsx","webpack://Frontend/./src/pages/search/section.tsx","webpack://Frontend/./src/pages/search/sellerScore.tsx","webpack://Frontend/./src/pages/search/sliderFilter.tsx","webpack://Frontend/./src/pages/search/testimonials.tsx","webpack://Frontend/./src/pages/search/toolsSection.tsx","webpack://Frontend/./src/pages/search/utils.ts","webpack://Frontend/./src/reducer/search/chartReducer.ts","webpack://Frontend/./src/reducer/search/contentReducer.ts","webpack://Frontend/./src/reducer/search/parameterReducer.ts","webpack://Frontend/./src/reducer/search/searchReducer.ts","webpack://Frontend/./src/sagas/search/chartSagas.ts","webpack://Frontend/./src/sagas/search/contentSagas.ts","webpack://Frontend/./src/sagas/search/parametersSagas.ts","webpack://Frontend/./src/sagas/search/searchSagas.ts","webpack://Frontend/./src/types/apiTypes.ts","webpack://Frontend/./src/utils/generalHelper.ts","webpack://Frontend/./node_modules/date-fns/esm/_lib/addLeadingZeros/index.js","webpack://Frontend/./node_modules/date-fns/esm/_lib/assign/index.js","webpack://Frontend/./node_modules/date-fns/esm/_lib/cloneObject/index.js","webpack://Frontend/./node_modules/date-fns/esm/_lib/defaultLocale/index.js","webpack://Frontend/./node_modules/date-fns/esm/_lib/defaultOptions/index.js","webpack://Frontend/./node_modules/date-fns/esm/_lib/format/formatters/index.js","webpack://Frontend/./node_modules/date-fns/esm/_lib/format/lightFormatters/index.js","webpack://Frontend/./node_modules/date-fns/esm/_lib/format/longFormatters/index.js","webpack://Frontend/./node_modules/date-fns/esm/_lib/getTimezoneOffsetInMilliseconds/index.js","webpack://Frontend/./node_modules/date-fns/esm/_lib/getUTCDayOfYear/index.js","webpack://Frontend/./node_modules/date-fns/esm/_lib/getUTCISOWeek/index.js","webpack://Frontend/./node_modules/date-fns/esm/_lib/getUTCISOWeekYear/index.js","webpack://Frontend/./node_modules/date-fns/esm/_lib/getUTCWeek/index.js","webpack://Frontend/./node_modules/date-fns/esm/_lib/getUTCWeekYear/index.js","webpack://Frontend/./node_modules/date-fns/esm/_lib/protectedTokens/index.js","webpack://Frontend/./node_modules/date-fns/esm/_lib/requiredArgs/index.js","webpack://Frontend/./node_modules/date-fns/esm/_lib/roundingMethods/index.js","webpack://Frontend/./node_modules/date-fns/esm/_lib/startOfUTCISOWeek/index.js","webpack://Frontend/./node_modules/date-fns/esm/_lib/startOfUTCISOWeekYear/index.js","webpack://Frontend/./node_modules/date-fns/esm/_lib/startOfUTCWeek/index.js","webpack://Frontend/./node_modules/date-fns/esm/_lib/startOfUTCWeekYear/index.js","webpack://Frontend/./node_modules/date-fns/esm/_lib/toInteger/index.js","webpack://Frontend/./node_modules/date-fns/esm/addDays/index.js","webpack://Frontend/./node_modules/date-fns/esm/addMilliseconds/index.js","webpack://Frontend/./node_modules/date-fns/esm/addMonths/index.js","webpack://Frontend/./node_modules/date-fns/esm/compareAsc/index.js","webpack://Frontend/./node_modules/date-fns/esm/differenceInCalendarMonths/index.js","webpack://Frontend/./node_modules/date-fns/esm/differenceInMilliseconds/index.js","webpack://Frontend/./node_modules/date-fns/esm/differenceInMonths/index.js","webpack://Frontend/./node_modules/date-fns/esm/differenceInSeconds/index.js","webpack://Frontend/./node_modules/date-fns/esm/endOfDay/index.js","webpack://Frontend/./node_modules/date-fns/esm/endOfMonth/index.js","webpack://Frontend/./node_modules/date-fns/esm/endOfWeek/index.js","webpack://Frontend/./node_modules/date-fns/esm/format/index.js","webpack://Frontend/./node_modules/date-fns/esm/formatDistance/index.js","webpack://Frontend/./node_modules/date-fns/esm/isDate/index.js","webpack://Frontend/./node_modules/date-fns/esm/isLastDayOfMonth/index.js","webpack://Frontend/./node_modules/date-fns/esm/isValid/index.js","webpack://Frontend/./node_modules/date-fns/esm/locale/_lib/buildFormatLongFn/index.js","webpack://Frontend/./node_modules/date-fns/esm/locale/_lib/buildLocalizeFn/index.js","webpack://Frontend/./node_modules/date-fns/esm/locale/_lib/buildMatchFn/index.js","webpack://Frontend/./node_modules/date-fns/esm/locale/_lib/buildMatchPatternFn/index.js","webpack://Frontend/./node_modules/date-fns/esm/locale/en-US/_lib/formatDistance/index.js","webpack://Frontend/./node_modules/date-fns/esm/locale/en-US/_lib/formatLong/index.js","webpack://Frontend/./node_modules/date-fns/esm/locale/en-US/_lib/formatRelative/index.js","webpack://Frontend/./node_modules/date-fns/esm/locale/en-US/_lib/localize/index.js","webpack://Frontend/./node_modules/date-fns/esm/locale/en-US/_lib/match/index.js","webpack://Frontend/./node_modules/date-fns/esm/locale/en-US/index.js","webpack://Frontend/./node_modules/date-fns/esm/subMilliseconds/index.js","webpack://Frontend/./node_modules/date-fns/esm/toDate/index.js","webpack://Frontend/./src/components/card/card.module.scss?241f","webpack://Frontend/./src/components/linkButton/linkButton.module.scss?76a9","webpack://Frontend/./src/components/miniChart/miniChart.module.scss","webpack://Frontend/./src/components/modal/modal.module.scss?d393","webpack://Frontend/./src/components/pagination/pagination.module.scss?f654","webpack://Frontend/./src/components/searchLayouts/searchLayout.module.scss?81a7","webpack://Frontend/./src/globalStyles/search.scss?a085","webpack://Frontend/./src/pages/search/chartComponents/mainChart.module.scss?0948","webpack://Frontend/./src/pages/search/chartComponents/topMovers.module.scss?3a78","webpack://Frontend/./src/pages/search/clearFilterItem.module.scss?1cb2","webpack://Frontend/./src/pages/search/communityPost.module.scss?8c73","webpack://Frontend/./src/pages/search/filterItems.module.scss?304c","webpack://Frontend/./src/pages/search/filterSection.module.scss?e1f2","webpack://Frontend/./src/pages/search/index.module.scss?c394","webpack://Frontend/./src/pages/search/lotRating.module.scss?aaa4","webpack://Frontend/./src/pages/search/section.module.scss?59eb","webpack://Frontend/./src/pages/search/sellerScore.module.scss?8cc9","webpack://Frontend/./src/pages/search/sliderFilter.module.scss?7d99","webpack://Frontend/./src/pages/search/testimonials.module.scss?f770","webpack://Frontend/./src/pages/search/toolsSection.module.scss?afaf","webpack://Frontend/./node_modules/react-chartjs-2/dist/index.js","webpack://Frontend/./node_modules/react-dom/client.js","webpack://Frontend/./node_modules/react/cjs/react-jsx-runtime.development.js","webpack://Frontend/./node_modules/react/jsx-runtime.js","webpack://Frontend/./node_modules/redux-thunk/es/index.js","webpack://Frontend/./node_modules/reselect/es/defaultMemoize.js","webpack://Frontend/./node_modules/reselect/es/index.js","webpack://Frontend/./node_modules/date-fns/node_modules/@babel/runtime/helpers/esm/typeof.js","webpack://Frontend/./node_modules/immer/dist/immer.esm.mjs"],"sourcesContent":["import '@redux-saga/symbols';\nimport '@babel/runtime/helpers/esm/extends';\nimport { channel, stringableFunc, func, notUndef } from '@redux-saga/is';\nimport { q as makeIterator, K as take, L as fork, M as cancel, N as call, O as delay, Q as actionChannel, U as sliding, V as race, c as check } from './io-c3792963.js';\nexport { Q as actionChannel, _ as all, $ as apply, N as call, M as cancel, a4 as cancelled, a0 as cps, O as delay, W as effectTypes, a5 as flush, L as fork, a6 as getContext, a2 as join, Y as put, Z as putResolve, V as race, a3 as select, a7 as setContext, a1 as spawn, K as take, X as takeMaybe } from './io-c3792963.js';\nimport '@redux-saga/delay-p';\n\nvar done = function done(value) {\n return {\n done: true,\n value: value\n };\n};\n\nvar qEnd = {};\nfunction safeName(patternOrChannel) {\n if (channel(patternOrChannel)) {\n return 'channel';\n }\n\n if (stringableFunc(patternOrChannel)) {\n return String(patternOrChannel);\n }\n\n if (func(patternOrChannel)) {\n return patternOrChannel.name;\n }\n\n return String(patternOrChannel);\n}\nfunction fsmIterator(fsm, startState, name) {\n var stateUpdater,\n errorState,\n effect,\n nextState = startState;\n\n function next(arg, error) {\n if (nextState === qEnd) {\n return done(arg);\n }\n\n if (error && !errorState) {\n nextState = qEnd;\n throw error;\n } else {\n stateUpdater && stateUpdater(arg);\n var currentState = error ? fsm[errorState](error) : fsm[nextState]();\n nextState = currentState.nextState;\n effect = currentState.effect;\n stateUpdater = currentState.stateUpdater;\n errorState = currentState.errorState;\n return nextState === qEnd ? done(arg) : effect;\n }\n }\n\n return makeIterator(next, function (error) {\n return next(null, error);\n }, name);\n}\n\nfunction takeEvery(patternOrChannel, worker) {\n for (var _len = arguments.length, args = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {\n args[_key - 2] = arguments[_key];\n }\n\n var yTake = {\n done: false,\n value: take(patternOrChannel)\n };\n\n var yFork = function yFork(ac) {\n return {\n done: false,\n value: fork.apply(void 0, [worker].concat(args, [ac]))\n };\n };\n\n var action,\n setAction = function setAction(ac) {\n return action = ac;\n };\n\n return fsmIterator({\n q1: function q1() {\n return {\n nextState: 'q2',\n effect: yTake,\n stateUpdater: setAction\n };\n },\n q2: function q2() {\n return {\n nextState: 'q1',\n effect: yFork(action)\n };\n }\n }, 'q1', \"takeEvery(\" + safeName(patternOrChannel) + \", \" + worker.name + \")\");\n}\n\nfunction takeLatest(patternOrChannel, worker) {\n for (var _len = arguments.length, args = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {\n args[_key - 2] = arguments[_key];\n }\n\n var yTake = {\n done: false,\n value: take(patternOrChannel)\n };\n\n var yFork = function yFork(ac) {\n return {\n done: false,\n value: fork.apply(void 0, [worker].concat(args, [ac]))\n };\n };\n\n var yCancel = function yCancel(task) {\n return {\n done: false,\n value: cancel(task)\n };\n };\n\n var task, action;\n\n var setTask = function setTask(t) {\n return task = t;\n };\n\n var setAction = function setAction(ac) {\n return action = ac;\n };\n\n return fsmIterator({\n q1: function q1() {\n return {\n nextState: 'q2',\n effect: yTake,\n stateUpdater: setAction\n };\n },\n q2: function q2() {\n return task ? {\n nextState: 'q3',\n effect: yCancel(task)\n } : {\n nextState: 'q1',\n effect: yFork(action),\n stateUpdater: setTask\n };\n },\n q3: function q3() {\n return {\n nextState: 'q1',\n effect: yFork(action),\n stateUpdater: setTask\n };\n }\n }, 'q1', \"takeLatest(\" + safeName(patternOrChannel) + \", \" + worker.name + \")\");\n}\n\nfunction takeLeading(patternOrChannel, worker) {\n for (var _len = arguments.length, args = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {\n args[_key - 2] = arguments[_key];\n }\n\n var yTake = {\n done: false,\n value: take(patternOrChannel)\n };\n\n var yCall = function yCall(ac) {\n return {\n done: false,\n value: call.apply(void 0, [worker].concat(args, [ac]))\n };\n };\n\n var action;\n\n var setAction = function setAction(ac) {\n return action = ac;\n };\n\n return fsmIterator({\n q1: function q1() {\n return {\n nextState: 'q2',\n effect: yTake,\n stateUpdater: setAction\n };\n },\n q2: function q2() {\n return {\n nextState: 'q1',\n effect: yCall(action)\n };\n }\n }, 'q1', \"takeLeading(\" + safeName(patternOrChannel) + \", \" + worker.name + \")\");\n}\n\nfunction throttle(delayLength, patternOrChannel, worker) {\n for (var _len = arguments.length, args = new Array(_len > 3 ? _len - 3 : 0), _key = 3; _key < _len; _key++) {\n args[_key - 3] = arguments[_key];\n }\n\n var action, channel$1;\n\n var yTake = function yTake() {\n return {\n done: false,\n value: take(channel$1)\n };\n };\n\n var yFork = function yFork(ac) {\n return {\n done: false,\n value: fork.apply(void 0, [worker].concat(args, [ac]))\n };\n };\n\n var yDelay = {\n done: false,\n value: delay(delayLength)\n };\n\n var setAction = function setAction(ac) {\n return action = ac;\n };\n\n var setChannel = function setChannel(ch) {\n return channel$1 = ch;\n };\n\n var needsChannel = !channel(patternOrChannel);\n\n if (!needsChannel) {\n setChannel(patternOrChannel);\n }\n\n return fsmIterator({\n q1: function q1() {\n var yActionChannel = {\n done: false,\n value: actionChannel(patternOrChannel, sliding(1))\n };\n return {\n nextState: 'q2',\n effect: yActionChannel,\n stateUpdater: setChannel\n };\n },\n q2: function q2() {\n return {\n nextState: 'q3',\n effect: yTake(),\n stateUpdater: setAction\n };\n },\n q3: function q3() {\n return {\n nextState: 'q4',\n effect: yFork(action)\n };\n },\n q4: function q4() {\n return {\n nextState: 'q2',\n effect: yDelay\n };\n }\n }, needsChannel ? 'q1' : 'q2', \"throttle(\" + safeName(patternOrChannel) + \", \" + worker.name + \")\");\n}\n\nfunction retry(maxTries, delayLength, fn) {\n var counter = maxTries;\n\n for (var _len = arguments.length, args = new Array(_len > 3 ? _len - 3 : 0), _key = 3; _key < _len; _key++) {\n args[_key - 3] = arguments[_key];\n }\n\n var yCall = {\n done: false,\n value: call.apply(void 0, [fn].concat(args))\n };\n var yDelay = {\n done: false,\n value: delay(delayLength)\n };\n return fsmIterator({\n q1: function q1() {\n return {\n nextState: 'q2',\n effect: yCall,\n errorState: 'q10'\n };\n },\n q2: function q2() {\n return {\n nextState: qEnd\n };\n },\n q10: function q10(error) {\n counter -= 1;\n\n if (counter <= 0) {\n throw error;\n }\n\n return {\n nextState: 'q1',\n effect: yDelay\n };\n }\n }, 'q1', \"retry(\" + fn.name + \")\");\n}\n\nfunction debounceHelper(delayLength, patternOrChannel, worker) {\n for (var _len = arguments.length, args = new Array(_len > 3 ? _len - 3 : 0), _key = 3; _key < _len; _key++) {\n args[_key - 3] = arguments[_key];\n }\n\n var action, raceOutput;\n var yTake = {\n done: false,\n value: take(patternOrChannel)\n };\n var yRace = {\n done: false,\n value: race({\n action: take(patternOrChannel),\n debounce: delay(delayLength)\n })\n };\n\n var yFork = function yFork(ac) {\n return {\n done: false,\n value: fork.apply(void 0, [worker].concat(args, [ac]))\n };\n };\n\n var yNoop = function yNoop(value) {\n return {\n done: false,\n value: value\n };\n };\n\n var setAction = function setAction(ac) {\n return action = ac;\n };\n\n var setRaceOutput = function setRaceOutput(ro) {\n return raceOutput = ro;\n };\n\n return fsmIterator({\n q1: function q1() {\n return {\n nextState: 'q2',\n effect: yTake,\n stateUpdater: setAction\n };\n },\n q2: function q2() {\n return {\n nextState: 'q3',\n effect: yRace,\n stateUpdater: setRaceOutput\n };\n },\n q3: function q3() {\n return raceOutput.debounce ? {\n nextState: 'q1',\n effect: yFork(action)\n } : {\n nextState: 'q2',\n effect: yNoop(raceOutput.action),\n stateUpdater: setAction\n };\n }\n }, 'q1', \"debounce(\" + safeName(patternOrChannel) + \", \" + worker.name + \")\");\n}\n\nvar validateTakeEffect = function validateTakeEffect(fn, patternOrChannel, worker) {\n check(patternOrChannel, notUndef, fn.name + \" requires a pattern or channel\");\n check(worker, notUndef, fn.name + \" requires a saga parameter\");\n};\n\nfunction takeEvery$1(patternOrChannel, worker) {\n if (process.env.NODE_ENV !== 'production') {\n validateTakeEffect(takeEvery$1, patternOrChannel, worker);\n }\n\n for (var _len = arguments.length, args = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {\n args[_key - 2] = arguments[_key];\n }\n\n return fork.apply(void 0, [takeEvery, patternOrChannel, worker].concat(args));\n}\nfunction takeLatest$1(patternOrChannel, worker) {\n if (process.env.NODE_ENV !== 'production') {\n validateTakeEffect(takeLatest$1, patternOrChannel, worker);\n }\n\n for (var _len2 = arguments.length, args = new Array(_len2 > 2 ? _len2 - 2 : 0), _key2 = 2; _key2 < _len2; _key2++) {\n args[_key2 - 2] = arguments[_key2];\n }\n\n return fork.apply(void 0, [takeLatest, patternOrChannel, worker].concat(args));\n}\nfunction takeLeading$1(patternOrChannel, worker) {\n if (process.env.NODE_ENV !== 'production') {\n validateTakeEffect(takeLeading$1, patternOrChannel, worker);\n }\n\n for (var _len3 = arguments.length, args = new Array(_len3 > 2 ? _len3 - 2 : 0), _key3 = 2; _key3 < _len3; _key3++) {\n args[_key3 - 2] = arguments[_key3];\n }\n\n return fork.apply(void 0, [takeLeading, patternOrChannel, worker].concat(args));\n}\nfunction throttle$1(ms, patternOrChannel, worker) {\n if (process.env.NODE_ENV !== 'production') {\n check(patternOrChannel, notUndef, \"throttle requires a pattern or channel\");\n check(worker, notUndef, 'throttle requires a saga parameter');\n }\n\n for (var _len4 = arguments.length, args = new Array(_len4 > 3 ? _len4 - 3 : 0), _key4 = 3; _key4 < _len4; _key4++) {\n args[_key4 - 3] = arguments[_key4];\n }\n\n return fork.apply(void 0, [throttle, ms, patternOrChannel, worker].concat(args));\n}\nfunction retry$1(maxTries, delayLength, worker) {\n for (var _len5 = arguments.length, args = new Array(_len5 > 3 ? _len5 - 3 : 0), _key5 = 3; _key5 < _len5; _key5++) {\n args[_key5 - 3] = arguments[_key5];\n }\n\n return call.apply(void 0, [retry, maxTries, delayLength, worker].concat(args));\n}\nfunction debounce(delayLength, pattern, worker) {\n for (var _len6 = arguments.length, args = new Array(_len6 > 3 ? _len6 - 3 : 0), _key6 = 3; _key6 < _len6; _key6++) {\n args[_key6 - 3] = arguments[_key6];\n }\n\n return fork.apply(void 0, [debounceHelper, delayLength, pattern, worker].concat(args));\n}\n\nexport { debounce, retry$1 as retry, takeEvery$1 as takeEvery, takeLatest$1 as takeLatest, takeLeading$1 as takeLeading, throttle$1 as throttle };\n","var __extends = (this && this.__extends) || (function () {\r\n var extendStatics = function (d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n };\r\n return function (d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n };\r\n})();\r\nvar __generator = (this && this.__generator) || function (thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from) {\r\n for (var i = 0, il = from.length, j = to.length; i < il; i++, j++)\r\n to[j] = from[i];\r\n return to;\r\n};\r\nvar __defProp = Object.defineProperty;\r\nvar __defProps = Object.defineProperties;\r\nvar __getOwnPropDescs = Object.getOwnPropertyDescriptors;\r\nvar __getOwnPropSymbols = Object.getOwnPropertySymbols;\r\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\r\nvar __propIsEnum = Object.prototype.propertyIsEnumerable;\r\nvar __defNormalProp = function (obj, key, value) { return key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value: value }) : obj[key] = value; };\r\nvar __spreadValues = function (a, b) {\r\n for (var prop in b || (b = {}))\r\n if (__hasOwnProp.call(b, prop))\r\n __defNormalProp(a, prop, b[prop]);\r\n if (__getOwnPropSymbols)\r\n for (var _i = 0, _c = __getOwnPropSymbols(b); _i < _c.length; _i++) {\r\n var prop = _c[_i];\r\n if (__propIsEnum.call(b, prop))\r\n __defNormalProp(a, prop, b[prop]);\r\n }\r\n return a;\r\n};\r\nvar __spreadProps = function (a, b) { return __defProps(a, __getOwnPropDescs(b)); };\r\nvar __async = function (__this, __arguments, generator) {\r\n return new Promise(function (resolve, reject) {\r\n var fulfilled = function (value) {\r\n try {\r\n step(generator.next(value));\r\n }\r\n catch (e) {\r\n reject(e);\r\n }\r\n };\r\n var rejected = function (value) {\r\n try {\r\n step(generator.throw(value));\r\n }\r\n catch (e) {\r\n reject(e);\r\n }\r\n };\r\n var step = function (x) { return x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected); };\r\n step((generator = generator.apply(__this, __arguments)).next());\r\n });\r\n};\r\n// src/index.ts\r\nimport { enableES5 } from \"immer\";\r\nexport * from \"redux\";\r\nimport { default as default2, current as current2, freeze, original, isDraft as isDraft4 } from \"immer\";\r\nimport { createSelector as createSelector2 } from \"reselect\";\r\n// src/createDraftSafeSelector.ts\r\nimport { current, isDraft } from \"immer\";\r\nimport { createSelector } from \"reselect\";\r\nvar createDraftSafeSelector = function () {\r\n var args = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n args[_i] = arguments[_i];\r\n }\r\n var selector = createSelector.apply(void 0, args);\r\n var wrappedSelector = function (value) {\r\n var rest = [];\r\n for (var _i = 1; _i < arguments.length; _i++) {\r\n rest[_i - 1] = arguments[_i];\r\n }\r\n return selector.apply(void 0, __spreadArray([isDraft(value) ? current(value) : value], rest));\r\n };\r\n return wrappedSelector;\r\n};\r\n// src/configureStore.ts\r\nimport { createStore, compose as compose2, applyMiddleware, combineReducers } from \"redux\";\r\n// src/devtoolsExtension.ts\r\nimport { compose } from \"redux\";\r\nvar composeWithDevTools = typeof window !== \"undefined\" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ : function () {\r\n if (arguments.length === 0)\r\n return void 0;\r\n if (typeof arguments[0] === \"object\")\r\n return compose;\r\n return compose.apply(null, arguments);\r\n};\r\nvar devToolsEnhancer = typeof window !== \"undefined\" && window.__REDUX_DEVTOOLS_EXTENSION__ ? window.__REDUX_DEVTOOLS_EXTENSION__ : function () {\r\n return function (noop2) {\r\n return noop2;\r\n };\r\n};\r\n// src/isPlainObject.ts\r\nfunction isPlainObject(value) {\r\n if (typeof value !== \"object\" || value === null)\r\n return false;\r\n var proto = Object.getPrototypeOf(value);\r\n if (proto === null)\r\n return true;\r\n var baseProto = proto;\r\n while (Object.getPrototypeOf(baseProto) !== null) {\r\n baseProto = Object.getPrototypeOf(baseProto);\r\n }\r\n return proto === baseProto;\r\n}\r\n// src/getDefaultMiddleware.ts\r\nimport thunkMiddleware from \"redux-thunk\";\r\n// src/utils.ts\r\nimport createNextState, { isDraftable } from \"immer\";\r\nfunction getTimeMeasureUtils(maxDelay, fnName) {\r\n var elapsed = 0;\r\n return {\r\n measureTime: function (fn) {\r\n var started = Date.now();\r\n try {\r\n return fn();\r\n }\r\n finally {\r\n var finished = Date.now();\r\n elapsed += finished - started;\r\n }\r\n },\r\n warnIfExceeded: function () {\r\n if (elapsed > maxDelay) {\r\n console.warn(fnName + \" took \" + elapsed + \"ms, which is more than the warning threshold of \" + maxDelay + \"ms. \\nIf your state or actions are very large, you may want to disable the middleware as it might cause too much of a slowdown in development mode. See https://redux-toolkit.js.org/api/getDefaultMiddleware for instructions.\\nIt is disabled in production builds, so you don't need to worry about that.\");\r\n }\r\n }\r\n };\r\n}\r\nvar MiddlewareArray = /** @class */ (function (_super) {\r\n __extends(MiddlewareArray, _super);\r\n function MiddlewareArray() {\r\n var args = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n args[_i] = arguments[_i];\r\n }\r\n var _this = _super.apply(this, args) || this;\r\n Object.setPrototypeOf(_this, MiddlewareArray.prototype);\r\n return _this;\r\n }\r\n Object.defineProperty(MiddlewareArray, Symbol.species, {\r\n get: function () {\r\n return MiddlewareArray;\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n MiddlewareArray.prototype.concat = function () {\r\n var arr = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n arr[_i] = arguments[_i];\r\n }\r\n return _super.prototype.concat.apply(this, arr);\r\n };\r\n MiddlewareArray.prototype.prepend = function () {\r\n var arr = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n arr[_i] = arguments[_i];\r\n }\r\n if (arr.length === 1 && Array.isArray(arr[0])) {\r\n return new (MiddlewareArray.bind.apply(MiddlewareArray, __spreadArray([void 0], arr[0].concat(this))))();\r\n }\r\n return new (MiddlewareArray.bind.apply(MiddlewareArray, __spreadArray([void 0], arr.concat(this))))();\r\n };\r\n return MiddlewareArray;\r\n}(Array));\r\nvar EnhancerArray = /** @class */ (function (_super) {\r\n __extends(EnhancerArray, _super);\r\n function EnhancerArray() {\r\n var args = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n args[_i] = arguments[_i];\r\n }\r\n var _this = _super.apply(this, args) || this;\r\n Object.setPrototypeOf(_this, EnhancerArray.prototype);\r\n return _this;\r\n }\r\n Object.defineProperty(EnhancerArray, Symbol.species, {\r\n get: function () {\r\n return EnhancerArray;\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n EnhancerArray.prototype.concat = function () {\r\n var arr = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n arr[_i] = arguments[_i];\r\n }\r\n return _super.prototype.concat.apply(this, arr);\r\n };\r\n EnhancerArray.prototype.prepend = function () {\r\n var arr = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n arr[_i] = arguments[_i];\r\n }\r\n if (arr.length === 1 && Array.isArray(arr[0])) {\r\n return new (EnhancerArray.bind.apply(EnhancerArray, __spreadArray([void 0], arr[0].concat(this))))();\r\n }\r\n return new (EnhancerArray.bind.apply(EnhancerArray, __spreadArray([void 0], arr.concat(this))))();\r\n };\r\n return EnhancerArray;\r\n}(Array));\r\nfunction freezeDraftable(val) {\r\n return isDraftable(val) ? createNextState(val, function () {\r\n }) : val;\r\n}\r\n// src/immutableStateInvariantMiddleware.ts\r\nvar isProduction = process.env.NODE_ENV === \"production\";\r\nvar prefix = \"Invariant failed\";\r\nfunction invariant(condition, message) {\r\n if (condition) {\r\n return;\r\n }\r\n if (isProduction) {\r\n throw new Error(prefix);\r\n }\r\n throw new Error(prefix + \": \" + (message || \"\"));\r\n}\r\nfunction stringify(obj, serializer, indent, decycler) {\r\n return JSON.stringify(obj, getSerialize(serializer, decycler), indent);\r\n}\r\nfunction getSerialize(serializer, decycler) {\r\n var stack = [], keys = [];\r\n if (!decycler)\r\n decycler = function (_, value) {\r\n if (stack[0] === value)\r\n return \"[Circular ~]\";\r\n return \"[Circular ~.\" + keys.slice(0, stack.indexOf(value)).join(\".\") + \"]\";\r\n };\r\n return function (key, value) {\r\n if (stack.length > 0) {\r\n var thisPos = stack.indexOf(this);\r\n ~thisPos ? stack.splice(thisPos + 1) : stack.push(this);\r\n ~thisPos ? keys.splice(thisPos, Infinity, key) : keys.push(key);\r\n if (~stack.indexOf(value))\r\n value = decycler.call(this, key, value);\r\n }\r\n else\r\n stack.push(value);\r\n return serializer == null ? value : serializer.call(this, key, value);\r\n };\r\n}\r\nfunction isImmutableDefault(value) {\r\n return typeof value !== \"object\" || value == null || Object.isFrozen(value);\r\n}\r\nfunction trackForMutations(isImmutable, ignorePaths, obj) {\r\n var trackedProperties = trackProperties(isImmutable, ignorePaths, obj);\r\n return {\r\n detectMutations: function () {\r\n return detectMutations(isImmutable, ignorePaths, trackedProperties, obj);\r\n }\r\n };\r\n}\r\nfunction trackProperties(isImmutable, ignorePaths, obj, path) {\r\n if (ignorePaths === void 0) { ignorePaths = []; }\r\n if (path === void 0) { path = \"\"; }\r\n var tracked = { value: obj };\r\n if (!isImmutable(obj)) {\r\n tracked.children = {};\r\n for (var key in obj) {\r\n var childPath = path ? path + \".\" + key : key;\r\n if (ignorePaths.length && ignorePaths.indexOf(childPath) !== -1) {\r\n continue;\r\n }\r\n tracked.children[key] = trackProperties(isImmutable, ignorePaths, obj[key], childPath);\r\n }\r\n }\r\n return tracked;\r\n}\r\nfunction detectMutations(isImmutable, ignoredPaths, trackedProperty, obj, sameParentRef, path) {\r\n if (ignoredPaths === void 0) { ignoredPaths = []; }\r\n if (sameParentRef === void 0) { sameParentRef = false; }\r\n if (path === void 0) { path = \"\"; }\r\n var prevObj = trackedProperty ? trackedProperty.value : void 0;\r\n var sameRef = prevObj === obj;\r\n if (sameParentRef && !sameRef && !Number.isNaN(obj)) {\r\n return { wasMutated: true, path: path };\r\n }\r\n if (isImmutable(prevObj) || isImmutable(obj)) {\r\n return { wasMutated: false };\r\n }\r\n var keysToDetect = {};\r\n for (var key in trackedProperty.children) {\r\n keysToDetect[key] = true;\r\n }\r\n for (var key in obj) {\r\n keysToDetect[key] = true;\r\n }\r\n var hasIgnoredPaths = ignoredPaths.length > 0;\r\n var _loop_1 = function (key) {\r\n var nestedPath = path ? path + \".\" + key : key;\r\n if (hasIgnoredPaths) {\r\n var hasMatches = ignoredPaths.some(function (ignored) {\r\n if (ignored instanceof RegExp) {\r\n return ignored.test(nestedPath);\r\n }\r\n return nestedPath === ignored;\r\n });\r\n if (hasMatches) {\r\n return \"continue\";\r\n }\r\n }\r\n var result = detectMutations(isImmutable, ignoredPaths, trackedProperty.children[key], obj[key], sameRef, nestedPath);\r\n if (result.wasMutated) {\r\n return { value: result };\r\n }\r\n };\r\n for (var key in keysToDetect) {\r\n var state_1 = _loop_1(key);\r\n if (typeof state_1 === \"object\")\r\n return state_1.value;\r\n }\r\n return { wasMutated: false };\r\n}\r\nfunction createImmutableStateInvariantMiddleware(options) {\r\n if (options === void 0) { options = {}; }\r\n if (process.env.NODE_ENV === \"production\") {\r\n return function () { return function (next) { return function (action) { return next(action); }; }; };\r\n }\r\n var _c = options.isImmutable, isImmutable = _c === void 0 ? isImmutableDefault : _c, ignoredPaths = options.ignoredPaths, _d = options.warnAfter, warnAfter = _d === void 0 ? 32 : _d, ignore = options.ignore;\r\n ignoredPaths = ignoredPaths || ignore;\r\n var track = trackForMutations.bind(null, isImmutable, ignoredPaths);\r\n return function (_c) {\r\n var getState = _c.getState;\r\n var state = getState();\r\n var tracker = track(state);\r\n var result;\r\n return function (next) { return function (action) {\r\n var measureUtils = getTimeMeasureUtils(warnAfter, \"ImmutableStateInvariantMiddleware\");\r\n measureUtils.measureTime(function () {\r\n state = getState();\r\n result = tracker.detectMutations();\r\n tracker = track(state);\r\n invariant(!result.wasMutated, \"A state mutation was detected between dispatches, in the path '\" + (result.path || \"\") + \"'. This may cause incorrect behavior. (https://redux.js.org/style-guide/style-guide#do-not-mutate-state)\");\r\n });\r\n var dispatchedAction = next(action);\r\n measureUtils.measureTime(function () {\r\n state = getState();\r\n result = tracker.detectMutations();\r\n tracker = track(state);\r\n result.wasMutated && invariant(!result.wasMutated, \"A state mutation was detected inside a dispatch, in the path: \" + (result.path || \"\") + \". Take a look at the reducer(s) handling the action \" + stringify(action) + \". (https://redux.js.org/style-guide/style-guide#do-not-mutate-state)\");\r\n });\r\n measureUtils.warnIfExceeded();\r\n return dispatchedAction;\r\n }; };\r\n };\r\n}\r\n// src/serializableStateInvariantMiddleware.ts\r\nfunction isPlain(val) {\r\n var type = typeof val;\r\n return val == null || type === \"string\" || type === \"boolean\" || type === \"number\" || Array.isArray(val) || isPlainObject(val);\r\n}\r\nfunction findNonSerializableValue(value, path, isSerializable, getEntries, ignoredPaths, cache) {\r\n if (path === void 0) { path = \"\"; }\r\n if (isSerializable === void 0) { isSerializable = isPlain; }\r\n if (ignoredPaths === void 0) { ignoredPaths = []; }\r\n var foundNestedSerializable;\r\n if (!isSerializable(value)) {\r\n return {\r\n keyPath: path || \"\",\r\n value: value\r\n };\r\n }\r\n if (typeof value !== \"object\" || value === null) {\r\n return false;\r\n }\r\n if (cache == null ? void 0 : cache.has(value))\r\n return false;\r\n var entries = getEntries != null ? getEntries(value) : Object.entries(value);\r\n var hasIgnoredPaths = ignoredPaths.length > 0;\r\n var _loop_2 = function (key, nestedValue) {\r\n var nestedPath = path ? path + \".\" + key : key;\r\n if (hasIgnoredPaths) {\r\n var hasMatches = ignoredPaths.some(function (ignored) {\r\n if (ignored instanceof RegExp) {\r\n return ignored.test(nestedPath);\r\n }\r\n return nestedPath === ignored;\r\n });\r\n if (hasMatches) {\r\n return \"continue\";\r\n }\r\n }\r\n if (!isSerializable(nestedValue)) {\r\n return { value: {\r\n keyPath: nestedPath,\r\n value: nestedValue\r\n } };\r\n }\r\n if (typeof nestedValue === \"object\") {\r\n foundNestedSerializable = findNonSerializableValue(nestedValue, nestedPath, isSerializable, getEntries, ignoredPaths, cache);\r\n if (foundNestedSerializable) {\r\n return { value: foundNestedSerializable };\r\n }\r\n }\r\n };\r\n for (var _i = 0, entries_1 = entries; _i < entries_1.length; _i++) {\r\n var _c = entries_1[_i], key = _c[0], nestedValue = _c[1];\r\n var state_2 = _loop_2(key, nestedValue);\r\n if (typeof state_2 === \"object\")\r\n return state_2.value;\r\n }\r\n if (cache && isNestedFrozen(value))\r\n cache.add(value);\r\n return false;\r\n}\r\nfunction isNestedFrozen(value) {\r\n if (!Object.isFrozen(value))\r\n return false;\r\n for (var _i = 0, _c = Object.values(value); _i < _c.length; _i++) {\r\n var nestedValue = _c[_i];\r\n if (typeof nestedValue !== \"object\" || nestedValue === null)\r\n continue;\r\n if (!isNestedFrozen(nestedValue))\r\n return false;\r\n }\r\n return true;\r\n}\r\nfunction createSerializableStateInvariantMiddleware(options) {\r\n if (options === void 0) { options = {}; }\r\n if (process.env.NODE_ENV === \"production\") {\r\n return function () { return function (next) { return function (action) { return next(action); }; }; };\r\n }\r\n var _c = options.isSerializable, isSerializable = _c === void 0 ? isPlain : _c, getEntries = options.getEntries, _d = options.ignoredActions, ignoredActions = _d === void 0 ? [] : _d, _e = options.ignoredActionPaths, ignoredActionPaths = _e === void 0 ? [\"meta.arg\", \"meta.baseQueryMeta\"] : _e, _f = options.ignoredPaths, ignoredPaths = _f === void 0 ? [] : _f, _g = options.warnAfter, warnAfter = _g === void 0 ? 32 : _g, _h = options.ignoreState, ignoreState = _h === void 0 ? false : _h, _j = options.ignoreActions, ignoreActions = _j === void 0 ? false : _j, _k = options.disableCache, disableCache = _k === void 0 ? false : _k;\r\n var cache = !disableCache && WeakSet ? new WeakSet() : void 0;\r\n return function (storeAPI) { return function (next) { return function (action) {\r\n var result = next(action);\r\n var measureUtils = getTimeMeasureUtils(warnAfter, \"SerializableStateInvariantMiddleware\");\r\n if (!ignoreActions && !(ignoredActions.length && ignoredActions.indexOf(action.type) !== -1)) {\r\n measureUtils.measureTime(function () {\r\n var foundActionNonSerializableValue = findNonSerializableValue(action, \"\", isSerializable, getEntries, ignoredActionPaths, cache);\r\n if (foundActionNonSerializableValue) {\r\n var keyPath = foundActionNonSerializableValue.keyPath, value = foundActionNonSerializableValue.value;\r\n console.error(\"A non-serializable value was detected in an action, in the path: `\" + keyPath + \"`. Value:\", value, \"\\nTake a look at the logic that dispatched this action: \", action, \"\\n(See https://redux.js.org/faq/actions#why-should-type-be-a-string-or-at-least-serializable-why-should-my-action-types-be-constants)\", \"\\n(To allow non-serializable values see: https://redux-toolkit.js.org/usage/usage-guide#working-with-non-serializable-data)\");\r\n }\r\n });\r\n }\r\n if (!ignoreState) {\r\n measureUtils.measureTime(function () {\r\n var state = storeAPI.getState();\r\n var foundStateNonSerializableValue = findNonSerializableValue(state, \"\", isSerializable, getEntries, ignoredPaths, cache);\r\n if (foundStateNonSerializableValue) {\r\n var keyPath = foundStateNonSerializableValue.keyPath, value = foundStateNonSerializableValue.value;\r\n console.error(\"A non-serializable value was detected in the state, in the path: `\" + keyPath + \"`. Value:\", value, \"\\nTake a look at the reducer(s) handling this action type: \" + action.type + \".\\n(See https://redux.js.org/faq/organizing-state#can-i-put-functions-promises-or-other-non-serializable-items-in-my-store-state)\");\r\n }\r\n });\r\n measureUtils.warnIfExceeded();\r\n }\r\n return result;\r\n }; }; };\r\n}\r\n// src/getDefaultMiddleware.ts\r\nfunction isBoolean(x) {\r\n return typeof x === \"boolean\";\r\n}\r\nfunction curryGetDefaultMiddleware() {\r\n return function curriedGetDefaultMiddleware(options) {\r\n return getDefaultMiddleware(options);\r\n };\r\n}\r\nfunction getDefaultMiddleware(options) {\r\n if (options === void 0) { options = {}; }\r\n var _c = options.thunk, thunk = _c === void 0 ? true : _c, _d = options.immutableCheck, immutableCheck = _d === void 0 ? true : _d, _e = options.serializableCheck, serializableCheck = _e === void 0 ? true : _e;\r\n var middlewareArray = new MiddlewareArray();\r\n if (thunk) {\r\n if (isBoolean(thunk)) {\r\n middlewareArray.push(thunkMiddleware);\r\n }\r\n else {\r\n middlewareArray.push(thunkMiddleware.withExtraArgument(thunk.extraArgument));\r\n }\r\n }\r\n if (process.env.NODE_ENV !== \"production\") {\r\n if (immutableCheck) {\r\n var immutableOptions = {};\r\n if (!isBoolean(immutableCheck)) {\r\n immutableOptions = immutableCheck;\r\n }\r\n middlewareArray.unshift(createImmutableStateInvariantMiddleware(immutableOptions));\r\n }\r\n if (serializableCheck) {\r\n var serializableOptions = {};\r\n if (!isBoolean(serializableCheck)) {\r\n serializableOptions = serializableCheck;\r\n }\r\n middlewareArray.push(createSerializableStateInvariantMiddleware(serializableOptions));\r\n }\r\n }\r\n return middlewareArray;\r\n}\r\n// src/configureStore.ts\r\nvar IS_PRODUCTION = process.env.NODE_ENV === \"production\";\r\nfunction configureStore(options) {\r\n var curriedGetDefaultMiddleware = curryGetDefaultMiddleware();\r\n var _c = options || {}, _d = _c.reducer, reducer = _d === void 0 ? void 0 : _d, _e = _c.middleware, middleware = _e === void 0 ? curriedGetDefaultMiddleware() : _e, _f = _c.devTools, devTools = _f === void 0 ? true : _f, _g = _c.preloadedState, preloadedState = _g === void 0 ? void 0 : _g, _h = _c.enhancers, enhancers = _h === void 0 ? void 0 : _h;\r\n var rootReducer;\r\n if (typeof reducer === \"function\") {\r\n rootReducer = reducer;\r\n }\r\n else if (isPlainObject(reducer)) {\r\n rootReducer = combineReducers(reducer);\r\n }\r\n else {\r\n throw new Error('\"reducer\" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');\r\n }\r\n var finalMiddleware = middleware;\r\n if (typeof finalMiddleware === \"function\") {\r\n finalMiddleware = finalMiddleware(curriedGetDefaultMiddleware);\r\n if (!IS_PRODUCTION && !Array.isArray(finalMiddleware)) {\r\n throw new Error(\"when using a middleware builder function, an array of middleware must be returned\");\r\n }\r\n }\r\n if (!IS_PRODUCTION && finalMiddleware.some(function (item) { return typeof item !== \"function\"; })) {\r\n throw new Error(\"each middleware provided to configureStore must be a function\");\r\n }\r\n var middlewareEnhancer = applyMiddleware.apply(void 0, finalMiddleware);\r\n var finalCompose = compose2;\r\n if (devTools) {\r\n finalCompose = composeWithDevTools(__spreadValues({\r\n trace: !IS_PRODUCTION\r\n }, typeof devTools === \"object\" && devTools));\r\n }\r\n var defaultEnhancers = new EnhancerArray(middlewareEnhancer);\r\n var storeEnhancers = defaultEnhancers;\r\n if (Array.isArray(enhancers)) {\r\n storeEnhancers = __spreadArray([middlewareEnhancer], enhancers);\r\n }\r\n else if (typeof enhancers === \"function\") {\r\n storeEnhancers = enhancers(defaultEnhancers);\r\n }\r\n var composedEnhancer = finalCompose.apply(void 0, storeEnhancers);\r\n return createStore(rootReducer, preloadedState, composedEnhancer);\r\n}\r\n// src/createAction.ts\r\nfunction createAction(type, prepareAction) {\r\n function actionCreator() {\r\n var args = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n args[_i] = arguments[_i];\r\n }\r\n if (prepareAction) {\r\n var prepared = prepareAction.apply(void 0, args);\r\n if (!prepared) {\r\n throw new Error(\"prepareAction did not return an object\");\r\n }\r\n return __spreadValues(__spreadValues({\r\n type: type,\r\n payload: prepared.payload\r\n }, \"meta\" in prepared && { meta: prepared.meta }), \"error\" in prepared && { error: prepared.error });\r\n }\r\n return { type: type, payload: args[0] };\r\n }\r\n actionCreator.toString = function () { return \"\" + type; };\r\n actionCreator.type = type;\r\n actionCreator.match = function (action) { return action.type === type; };\r\n return actionCreator;\r\n}\r\nfunction isAction(action) {\r\n return isPlainObject(action) && \"type\" in action;\r\n}\r\nfunction isFSA(action) {\r\n return isAction(action) && typeof action.type === \"string\" && Object.keys(action).every(isValidKey);\r\n}\r\nfunction isValidKey(key) {\r\n return [\"type\", \"payload\", \"error\", \"meta\"].indexOf(key) > -1;\r\n}\r\nfunction getType(actionCreator) {\r\n return \"\" + actionCreator;\r\n}\r\n// src/createReducer.ts\r\nimport createNextState2, { isDraft as isDraft2, isDraftable as isDraftable2 } from \"immer\";\r\n// src/mapBuilders.ts\r\nfunction executeReducerBuilderCallback(builderCallback) {\r\n var actionsMap = {};\r\n var actionMatchers = [];\r\n var defaultCaseReducer;\r\n var builder = {\r\n addCase: function (typeOrActionCreator, reducer) {\r\n if (process.env.NODE_ENV !== \"production\") {\r\n if (actionMatchers.length > 0) {\r\n throw new Error(\"`builder.addCase` should only be called before calling `builder.addMatcher`\");\r\n }\r\n if (defaultCaseReducer) {\r\n throw new Error(\"`builder.addCase` should only be called before calling `builder.addDefaultCase`\");\r\n }\r\n }\r\n var type = typeof typeOrActionCreator === \"string\" ? typeOrActionCreator : typeOrActionCreator.type;\r\n if (type in actionsMap) {\r\n throw new Error(\"addCase cannot be called with two reducers for the same action type\");\r\n }\r\n actionsMap[type] = reducer;\r\n return builder;\r\n },\r\n addMatcher: function (matcher, reducer) {\r\n if (process.env.NODE_ENV !== \"production\") {\r\n if (defaultCaseReducer) {\r\n throw new Error(\"`builder.addMatcher` should only be called before calling `builder.addDefaultCase`\");\r\n }\r\n }\r\n actionMatchers.push({ matcher: matcher, reducer: reducer });\r\n return builder;\r\n },\r\n addDefaultCase: function (reducer) {\r\n if (process.env.NODE_ENV !== \"production\") {\r\n if (defaultCaseReducer) {\r\n throw new Error(\"`builder.addDefaultCase` can only be called once\");\r\n }\r\n }\r\n defaultCaseReducer = reducer;\r\n return builder;\r\n }\r\n };\r\n builderCallback(builder);\r\n return [actionsMap, actionMatchers, defaultCaseReducer];\r\n}\r\n// src/createReducer.ts\r\nfunction isStateFunction(x) {\r\n return typeof x === \"function\";\r\n}\r\nvar hasWarnedAboutObjectNotation = false;\r\nfunction createReducer(initialState, mapOrBuilderCallback, actionMatchers, defaultCaseReducer) {\r\n if (actionMatchers === void 0) { actionMatchers = []; }\r\n if (process.env.NODE_ENV !== \"production\") {\r\n if (typeof mapOrBuilderCallback === \"object\") {\r\n if (!hasWarnedAboutObjectNotation) {\r\n hasWarnedAboutObjectNotation = true;\r\n console.warn(\"The object notation for `createReducer` is deprecated, and will be removed in RTK 2.0. Please use the 'builder callback' notation instead: https://redux-toolkit.js.org/api/createReducer\");\r\n }\r\n }\r\n }\r\n var _c = typeof mapOrBuilderCallback === \"function\" ? executeReducerBuilderCallback(mapOrBuilderCallback) : [mapOrBuilderCallback, actionMatchers, defaultCaseReducer], actionsMap = _c[0], finalActionMatchers = _c[1], finalDefaultCaseReducer = _c[2];\r\n var getInitialState;\r\n if (isStateFunction(initialState)) {\r\n getInitialState = function () { return freezeDraftable(initialState()); };\r\n }\r\n else {\r\n var frozenInitialState_1 = freezeDraftable(initialState);\r\n getInitialState = function () { return frozenInitialState_1; };\r\n }\r\n function reducer(state, action) {\r\n if (state === void 0) { state = getInitialState(); }\r\n var caseReducers = __spreadArray([\r\n actionsMap[action.type]\r\n ], finalActionMatchers.filter(function (_c) {\r\n var matcher = _c.matcher;\r\n return matcher(action);\r\n }).map(function (_c) {\r\n var reducer2 = _c.reducer;\r\n return reducer2;\r\n }));\r\n if (caseReducers.filter(function (cr) { return !!cr; }).length === 0) {\r\n caseReducers = [finalDefaultCaseReducer];\r\n }\r\n return caseReducers.reduce(function (previousState, caseReducer) {\r\n if (caseReducer) {\r\n if (isDraft2(previousState)) {\r\n var draft = previousState;\r\n var result = caseReducer(draft, action);\r\n if (result === void 0) {\r\n return previousState;\r\n }\r\n return result;\r\n }\r\n else if (!isDraftable2(previousState)) {\r\n var result = caseReducer(previousState, action);\r\n if (result === void 0) {\r\n if (previousState === null) {\r\n return previousState;\r\n }\r\n throw Error(\"A case reducer on a non-draftable value must not return undefined\");\r\n }\r\n return result;\r\n }\r\n else {\r\n return createNextState2(previousState, function (draft) {\r\n return caseReducer(draft, action);\r\n });\r\n }\r\n }\r\n return previousState;\r\n }, state);\r\n }\r\n reducer.getInitialState = getInitialState;\r\n return reducer;\r\n}\r\n// src/createSlice.ts\r\nvar hasWarnedAboutObjectNotation2 = false;\r\nfunction getType2(slice, actionKey) {\r\n return slice + \"/\" + actionKey;\r\n}\r\nfunction createSlice(options) {\r\n var name = options.name;\r\n if (!name) {\r\n throw new Error(\"`name` is a required option for createSlice\");\r\n }\r\n if (typeof process !== \"undefined\" && process.env.NODE_ENV === \"development\") {\r\n if (options.initialState === void 0) {\r\n console.error(\"You must provide an `initialState` value that is not `undefined`. You may have misspelled `initialState`\");\r\n }\r\n }\r\n var initialState = typeof options.initialState == \"function\" ? options.initialState : freezeDraftable(options.initialState);\r\n var reducers = options.reducers || {};\r\n var reducerNames = Object.keys(reducers);\r\n var sliceCaseReducersByName = {};\r\n var sliceCaseReducersByType = {};\r\n var actionCreators = {};\r\n reducerNames.forEach(function (reducerName) {\r\n var maybeReducerWithPrepare = reducers[reducerName];\r\n var type = getType2(name, reducerName);\r\n var caseReducer;\r\n var prepareCallback;\r\n if (\"reducer\" in maybeReducerWithPrepare) {\r\n caseReducer = maybeReducerWithPrepare.reducer;\r\n prepareCallback = maybeReducerWithPrepare.prepare;\r\n }\r\n else {\r\n caseReducer = maybeReducerWithPrepare;\r\n }\r\n sliceCaseReducersByName[reducerName] = caseReducer;\r\n sliceCaseReducersByType[type] = caseReducer;\r\n actionCreators[reducerName] = prepareCallback ? createAction(type, prepareCallback) : createAction(type);\r\n });\r\n function buildReducer() {\r\n if (process.env.NODE_ENV !== \"production\") {\r\n if (typeof options.extraReducers === \"object\") {\r\n if (!hasWarnedAboutObjectNotation2) {\r\n hasWarnedAboutObjectNotation2 = true;\r\n console.warn(\"The object notation for `createSlice.extraReducers` is deprecated, and will be removed in RTK 2.0. Please use the 'builder callback' notation instead: https://redux-toolkit.js.org/api/createSlice\");\r\n }\r\n }\r\n }\r\n var _c = typeof options.extraReducers === \"function\" ? executeReducerBuilderCallback(options.extraReducers) : [options.extraReducers], _d = _c[0], extraReducers = _d === void 0 ? {} : _d, _e = _c[1], actionMatchers = _e === void 0 ? [] : _e, _f = _c[2], defaultCaseReducer = _f === void 0 ? void 0 : _f;\r\n var finalCaseReducers = __spreadValues(__spreadValues({}, extraReducers), sliceCaseReducersByType);\r\n return createReducer(initialState, function (builder) {\r\n for (var key in finalCaseReducers) {\r\n builder.addCase(key, finalCaseReducers[key]);\r\n }\r\n for (var _i = 0, actionMatchers_1 = actionMatchers; _i < actionMatchers_1.length; _i++) {\r\n var m = actionMatchers_1[_i];\r\n builder.addMatcher(m.matcher, m.reducer);\r\n }\r\n if (defaultCaseReducer) {\r\n builder.addDefaultCase(defaultCaseReducer);\r\n }\r\n });\r\n }\r\n var _reducer;\r\n return {\r\n name: name,\r\n reducer: function (state, action) {\r\n if (!_reducer)\r\n _reducer = buildReducer();\r\n return _reducer(state, action);\r\n },\r\n actions: actionCreators,\r\n caseReducers: sliceCaseReducersByName,\r\n getInitialState: function () {\r\n if (!_reducer)\r\n _reducer = buildReducer();\r\n return _reducer.getInitialState();\r\n }\r\n };\r\n}\r\n// src/entities/entity_state.ts\r\nfunction getInitialEntityState() {\r\n return {\r\n ids: [],\r\n entities: {}\r\n };\r\n}\r\nfunction createInitialStateFactory() {\r\n function getInitialState(additionalState) {\r\n if (additionalState === void 0) { additionalState = {}; }\r\n return Object.assign(getInitialEntityState(), additionalState);\r\n }\r\n return { getInitialState: getInitialState };\r\n}\r\n// src/entities/state_selectors.ts\r\nfunction createSelectorsFactory() {\r\n function getSelectors(selectState) {\r\n var selectIds = function (state) { return state.ids; };\r\n var selectEntities = function (state) { return state.entities; };\r\n var selectAll = createDraftSafeSelector(selectIds, selectEntities, function (ids, entities) { return ids.map(function (id) { return entities[id]; }); });\r\n var selectId = function (_, id) { return id; };\r\n var selectById = function (entities, id) { return entities[id]; };\r\n var selectTotal = createDraftSafeSelector(selectIds, function (ids) { return ids.length; });\r\n if (!selectState) {\r\n return {\r\n selectIds: selectIds,\r\n selectEntities: selectEntities,\r\n selectAll: selectAll,\r\n selectTotal: selectTotal,\r\n selectById: createDraftSafeSelector(selectEntities, selectId, selectById)\r\n };\r\n }\r\n var selectGlobalizedEntities = createDraftSafeSelector(selectState, selectEntities);\r\n return {\r\n selectIds: createDraftSafeSelector(selectState, selectIds),\r\n selectEntities: selectGlobalizedEntities,\r\n selectAll: createDraftSafeSelector(selectState, selectAll),\r\n selectTotal: createDraftSafeSelector(selectState, selectTotal),\r\n selectById: createDraftSafeSelector(selectGlobalizedEntities, selectId, selectById)\r\n };\r\n }\r\n return { getSelectors: getSelectors };\r\n}\r\n// src/entities/state_adapter.ts\r\nimport createNextState3, { isDraft as isDraft3 } from \"immer\";\r\nfunction createSingleArgumentStateOperator(mutator) {\r\n var operator = createStateOperator(function (_, state) { return mutator(state); });\r\n return function operation(state) {\r\n return operator(state, void 0);\r\n };\r\n}\r\nfunction createStateOperator(mutator) {\r\n return function operation(state, arg) {\r\n function isPayloadActionArgument(arg2) {\r\n return isFSA(arg2);\r\n }\r\n var runMutator = function (draft) {\r\n if (isPayloadActionArgument(arg)) {\r\n mutator(arg.payload, draft);\r\n }\r\n else {\r\n mutator(arg, draft);\r\n }\r\n };\r\n if (isDraft3(state)) {\r\n runMutator(state);\r\n return state;\r\n }\r\n else {\r\n return createNextState3(state, runMutator);\r\n }\r\n };\r\n}\r\n// src/entities/utils.ts\r\nfunction selectIdValue(entity, selectId) {\r\n var key = selectId(entity);\r\n if (process.env.NODE_ENV !== \"production\" && key === void 0) {\r\n console.warn(\"The entity passed to the `selectId` implementation returned undefined.\", \"You should probably provide your own `selectId` implementation.\", \"The entity that was passed:\", entity, \"The `selectId` implementation:\", selectId.toString());\r\n }\r\n return key;\r\n}\r\nfunction ensureEntitiesArray(entities) {\r\n if (!Array.isArray(entities)) {\r\n entities = Object.values(entities);\r\n }\r\n return entities;\r\n}\r\nfunction splitAddedUpdatedEntities(newEntities, selectId, state) {\r\n newEntities = ensureEntitiesArray(newEntities);\r\n var added = [];\r\n var updated = [];\r\n for (var _i = 0, newEntities_1 = newEntities; _i < newEntities_1.length; _i++) {\r\n var entity = newEntities_1[_i];\r\n var id = selectIdValue(entity, selectId);\r\n if (id in state.entities) {\r\n updated.push({ id: id, changes: entity });\r\n }\r\n else {\r\n added.push(entity);\r\n }\r\n }\r\n return [added, updated];\r\n}\r\n// src/entities/unsorted_state_adapter.ts\r\nfunction createUnsortedStateAdapter(selectId) {\r\n function addOneMutably(entity, state) {\r\n var key = selectIdValue(entity, selectId);\r\n if (key in state.entities) {\r\n return;\r\n }\r\n state.ids.push(key);\r\n state.entities[key] = entity;\r\n }\r\n function addManyMutably(newEntities, state) {\r\n newEntities = ensureEntitiesArray(newEntities);\r\n for (var _i = 0, newEntities_2 = newEntities; _i < newEntities_2.length; _i++) {\r\n var entity = newEntities_2[_i];\r\n addOneMutably(entity, state);\r\n }\r\n }\r\n function setOneMutably(entity, state) {\r\n var key = selectIdValue(entity, selectId);\r\n if (!(key in state.entities)) {\r\n state.ids.push(key);\r\n }\r\n state.entities[key] = entity;\r\n }\r\n function setManyMutably(newEntities, state) {\r\n newEntities = ensureEntitiesArray(newEntities);\r\n for (var _i = 0, newEntities_3 = newEntities; _i < newEntities_3.length; _i++) {\r\n var entity = newEntities_3[_i];\r\n setOneMutably(entity, state);\r\n }\r\n }\r\n function setAllMutably(newEntities, state) {\r\n newEntities = ensureEntitiesArray(newEntities);\r\n state.ids = [];\r\n state.entities = {};\r\n addManyMutably(newEntities, state);\r\n }\r\n function removeOneMutably(key, state) {\r\n return removeManyMutably([key], state);\r\n }\r\n function removeManyMutably(keys, state) {\r\n var didMutate = false;\r\n keys.forEach(function (key) {\r\n if (key in state.entities) {\r\n delete state.entities[key];\r\n didMutate = true;\r\n }\r\n });\r\n if (didMutate) {\r\n state.ids = state.ids.filter(function (id) { return id in state.entities; });\r\n }\r\n }\r\n function removeAllMutably(state) {\r\n Object.assign(state, {\r\n ids: [],\r\n entities: {}\r\n });\r\n }\r\n function takeNewKey(keys, update, state) {\r\n var original2 = state.entities[update.id];\r\n var updated = Object.assign({}, original2, update.changes);\r\n var newKey = selectIdValue(updated, selectId);\r\n var hasNewKey = newKey !== update.id;\r\n if (hasNewKey) {\r\n keys[update.id] = newKey;\r\n delete state.entities[update.id];\r\n }\r\n state.entities[newKey] = updated;\r\n return hasNewKey;\r\n }\r\n function updateOneMutably(update, state) {\r\n return updateManyMutably([update], state);\r\n }\r\n function updateManyMutably(updates, state) {\r\n var newKeys = {};\r\n var updatesPerEntity = {};\r\n updates.forEach(function (update) {\r\n if (update.id in state.entities) {\r\n updatesPerEntity[update.id] = {\r\n id: update.id,\r\n changes: __spreadValues(__spreadValues({}, updatesPerEntity[update.id] ? updatesPerEntity[update.id].changes : null), update.changes)\r\n };\r\n }\r\n });\r\n updates = Object.values(updatesPerEntity);\r\n var didMutateEntities = updates.length > 0;\r\n if (didMutateEntities) {\r\n var didMutateIds = updates.filter(function (update) { return takeNewKey(newKeys, update, state); }).length > 0;\r\n if (didMutateIds) {\r\n state.ids = Object.keys(state.entities);\r\n }\r\n }\r\n }\r\n function upsertOneMutably(entity, state) {\r\n return upsertManyMutably([entity], state);\r\n }\r\n function upsertManyMutably(newEntities, state) {\r\n var _c = splitAddedUpdatedEntities(newEntities, selectId, state), added = _c[0], updated = _c[1];\r\n updateManyMutably(updated, state);\r\n addManyMutably(added, state);\r\n }\r\n return {\r\n removeAll: createSingleArgumentStateOperator(removeAllMutably),\r\n addOne: createStateOperator(addOneMutably),\r\n addMany: createStateOperator(addManyMutably),\r\n setOne: createStateOperator(setOneMutably),\r\n setMany: createStateOperator(setManyMutably),\r\n setAll: createStateOperator(setAllMutably),\r\n updateOne: createStateOperator(updateOneMutably),\r\n updateMany: createStateOperator(updateManyMutably),\r\n upsertOne: createStateOperator(upsertOneMutably),\r\n upsertMany: createStateOperator(upsertManyMutably),\r\n removeOne: createStateOperator(removeOneMutably),\r\n removeMany: createStateOperator(removeManyMutably)\r\n };\r\n}\r\n// src/entities/sorted_state_adapter.ts\r\nfunction createSortedStateAdapter(selectId, sort) {\r\n var _c = createUnsortedStateAdapter(selectId), removeOne = _c.removeOne, removeMany = _c.removeMany, removeAll = _c.removeAll;\r\n function addOneMutably(entity, state) {\r\n return addManyMutably([entity], state);\r\n }\r\n function addManyMutably(newEntities, state) {\r\n newEntities = ensureEntitiesArray(newEntities);\r\n var models = newEntities.filter(function (model) { return !(selectIdValue(model, selectId) in state.entities); });\r\n if (models.length !== 0) {\r\n merge(models, state);\r\n }\r\n }\r\n function setOneMutably(entity, state) {\r\n return setManyMutably([entity], state);\r\n }\r\n function setManyMutably(newEntities, state) {\r\n newEntities = ensureEntitiesArray(newEntities);\r\n if (newEntities.length !== 0) {\r\n merge(newEntities, state);\r\n }\r\n }\r\n function setAllMutably(newEntities, state) {\r\n newEntities = ensureEntitiesArray(newEntities);\r\n state.entities = {};\r\n state.ids = [];\r\n addManyMutably(newEntities, state);\r\n }\r\n function updateOneMutably(update, state) {\r\n return updateManyMutably([update], state);\r\n }\r\n function updateManyMutably(updates, state) {\r\n var appliedUpdates = false;\r\n for (var _i = 0, updates_1 = updates; _i < updates_1.length; _i++) {\r\n var update = updates_1[_i];\r\n var entity = state.entities[update.id];\r\n if (!entity) {\r\n continue;\r\n }\r\n appliedUpdates = true;\r\n Object.assign(entity, update.changes);\r\n var newId = selectId(entity);\r\n if (update.id !== newId) {\r\n delete state.entities[update.id];\r\n state.entities[newId] = entity;\r\n }\r\n }\r\n if (appliedUpdates) {\r\n resortEntities(state);\r\n }\r\n }\r\n function upsertOneMutably(entity, state) {\r\n return upsertManyMutably([entity], state);\r\n }\r\n function upsertManyMutably(newEntities, state) {\r\n var _c = splitAddedUpdatedEntities(newEntities, selectId, state), added = _c[0], updated = _c[1];\r\n updateManyMutably(updated, state);\r\n addManyMutably(added, state);\r\n }\r\n function areArraysEqual(a, b) {\r\n if (a.length !== b.length) {\r\n return false;\r\n }\r\n for (var i = 0; i < a.length && i < b.length; i++) {\r\n if (a[i] === b[i]) {\r\n continue;\r\n }\r\n return false;\r\n }\r\n return true;\r\n }\r\n function merge(models, state) {\r\n models.forEach(function (model) {\r\n state.entities[selectId(model)] = model;\r\n });\r\n resortEntities(state);\r\n }\r\n function resortEntities(state) {\r\n var allEntities = Object.values(state.entities);\r\n allEntities.sort(sort);\r\n var newSortedIds = allEntities.map(selectId);\r\n var ids = state.ids;\r\n if (!areArraysEqual(ids, newSortedIds)) {\r\n state.ids = newSortedIds;\r\n }\r\n }\r\n return {\r\n removeOne: removeOne,\r\n removeMany: removeMany,\r\n removeAll: removeAll,\r\n addOne: createStateOperator(addOneMutably),\r\n updateOne: createStateOperator(updateOneMutably),\r\n upsertOne: createStateOperator(upsertOneMutably),\r\n setOne: createStateOperator(setOneMutably),\r\n setMany: createStateOperator(setManyMutably),\r\n setAll: createStateOperator(setAllMutably),\r\n addMany: createStateOperator(addManyMutably),\r\n updateMany: createStateOperator(updateManyMutably),\r\n upsertMany: createStateOperator(upsertManyMutably)\r\n };\r\n}\r\n// src/entities/create_adapter.ts\r\nfunction createEntityAdapter(options) {\r\n if (options === void 0) { options = {}; }\r\n var _c = __spreadValues({\r\n sortComparer: false,\r\n selectId: function (instance) { return instance.id; }\r\n }, options), selectId = _c.selectId, sortComparer = _c.sortComparer;\r\n var stateFactory = createInitialStateFactory();\r\n var selectorsFactory = createSelectorsFactory();\r\n var stateAdapter = sortComparer ? createSortedStateAdapter(selectId, sortComparer) : createUnsortedStateAdapter(selectId);\r\n return __spreadValues(__spreadValues(__spreadValues({\r\n selectId: selectId,\r\n sortComparer: sortComparer\r\n }, stateFactory), selectorsFactory), stateAdapter);\r\n}\r\n// src/nanoid.ts\r\nvar urlAlphabet = \"ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW\";\r\nvar nanoid = function (size) {\r\n if (size === void 0) { size = 21; }\r\n var id = \"\";\r\n var i = size;\r\n while (i--) {\r\n id += urlAlphabet[Math.random() * 64 | 0];\r\n }\r\n return id;\r\n};\r\n// src/createAsyncThunk.ts\r\nvar commonProperties = [\r\n \"name\",\r\n \"message\",\r\n \"stack\",\r\n \"code\"\r\n];\r\nvar RejectWithValue = /** @class */ (function () {\r\n function RejectWithValue(payload, meta) {\r\n this.payload = payload;\r\n this.meta = meta;\r\n }\r\n return RejectWithValue;\r\n}());\r\nvar FulfillWithMeta = /** @class */ (function () {\r\n function FulfillWithMeta(payload, meta) {\r\n this.payload = payload;\r\n this.meta = meta;\r\n }\r\n return FulfillWithMeta;\r\n}());\r\nvar miniSerializeError = function (value) {\r\n if (typeof value === \"object\" && value !== null) {\r\n var simpleError = {};\r\n for (var _i = 0, commonProperties_1 = commonProperties; _i < commonProperties_1.length; _i++) {\r\n var property = commonProperties_1[_i];\r\n if (typeof value[property] === \"string\") {\r\n simpleError[property] = value[property];\r\n }\r\n }\r\n return simpleError;\r\n }\r\n return { message: String(value) };\r\n};\r\nvar createAsyncThunk = (function () {\r\n function createAsyncThunk2(typePrefix, payloadCreator, options) {\r\n var fulfilled = createAction(typePrefix + \"/fulfilled\", function (payload, requestId, arg, meta) { return ({\r\n payload: payload,\r\n meta: __spreadProps(__spreadValues({}, meta || {}), {\r\n arg: arg,\r\n requestId: requestId,\r\n requestStatus: \"fulfilled\"\r\n })\r\n }); });\r\n var pending = createAction(typePrefix + \"/pending\", function (requestId, arg, meta) { return ({\r\n payload: void 0,\r\n meta: __spreadProps(__spreadValues({}, meta || {}), {\r\n arg: arg,\r\n requestId: requestId,\r\n requestStatus: \"pending\"\r\n })\r\n }); });\r\n var rejected = createAction(typePrefix + \"/rejected\", function (error, requestId, arg, payload, meta) { return ({\r\n payload: payload,\r\n error: (options && options.serializeError || miniSerializeError)(error || \"Rejected\"),\r\n meta: __spreadProps(__spreadValues({}, meta || {}), {\r\n arg: arg,\r\n requestId: requestId,\r\n rejectedWithValue: !!payload,\r\n requestStatus: \"rejected\",\r\n aborted: (error == null ? void 0 : error.name) === \"AbortError\",\r\n condition: (error == null ? void 0 : error.name) === \"ConditionError\"\r\n })\r\n }); });\r\n var displayedWarning = false;\r\n var AC = typeof AbortController !== \"undefined\" ? AbortController : /** @class */ (function () {\r\n function class_1() {\r\n this.signal = {\r\n aborted: false,\r\n addEventListener: function () {\r\n },\r\n dispatchEvent: function () {\r\n return false;\r\n },\r\n onabort: function () {\r\n },\r\n removeEventListener: function () {\r\n },\r\n reason: void 0,\r\n throwIfAborted: function () {\r\n }\r\n };\r\n }\r\n class_1.prototype.abort = function () {\r\n if (process.env.NODE_ENV !== \"production\") {\r\n if (!displayedWarning) {\r\n displayedWarning = true;\r\n console.info(\"This platform does not implement AbortController. \\nIf you want to use the AbortController to react to `abort` events, please consider importing a polyfill like 'abortcontroller-polyfill/dist/abortcontroller-polyfill-only'.\");\r\n }\r\n }\r\n };\r\n return class_1;\r\n }());\r\n function actionCreator(arg) {\r\n return function (dispatch, getState, extra) {\r\n var requestId = (options == null ? void 0 : options.idGenerator) ? options.idGenerator(arg) : nanoid();\r\n var abortController = new AC();\r\n var abortReason;\r\n var started = false;\r\n function abort(reason) {\r\n abortReason = reason;\r\n abortController.abort();\r\n }\r\n var promise2 = function () {\r\n return __async(this, null, function () {\r\n var _a, _b, finalAction, conditionResult, abortedPromise, err_1, skipDispatch;\r\n return __generator(this, function (_c) {\r\n switch (_c.label) {\r\n case 0:\r\n _c.trys.push([0, 4, , 5]);\r\n conditionResult = (_a = options == null ? void 0 : options.condition) == null ? void 0 : _a.call(options, arg, { getState: getState, extra: extra });\r\n if (!isThenable(conditionResult)) return [3 /*break*/, 2];\r\n return [4 /*yield*/, conditionResult];\r\n case 1:\r\n conditionResult = _c.sent();\r\n _c.label = 2;\r\n case 2:\r\n if (conditionResult === false || abortController.signal.aborted) {\r\n throw {\r\n name: \"ConditionError\",\r\n message: \"Aborted due to condition callback returning false.\"\r\n };\r\n }\r\n started = true;\r\n abortedPromise = new Promise(function (_, reject) { return abortController.signal.addEventListener(\"abort\", function () { return reject({\r\n name: \"AbortError\",\r\n message: abortReason || \"Aborted\"\r\n }); }); });\r\n dispatch(pending(requestId, arg, (_b = options == null ? void 0 : options.getPendingMeta) == null ? void 0 : _b.call(options, { requestId: requestId, arg: arg }, { getState: getState, extra: extra })));\r\n return [4 /*yield*/, Promise.race([\r\n abortedPromise,\r\n Promise.resolve(payloadCreator(arg, {\r\n dispatch: dispatch,\r\n getState: getState,\r\n extra: extra,\r\n requestId: requestId,\r\n signal: abortController.signal,\r\n abort: abort,\r\n rejectWithValue: function (value, meta) {\r\n return new RejectWithValue(value, meta);\r\n },\r\n fulfillWithValue: function (value, meta) {\r\n return new FulfillWithMeta(value, meta);\r\n }\r\n })).then(function (result) {\r\n if (result instanceof RejectWithValue) {\r\n throw result;\r\n }\r\n if (result instanceof FulfillWithMeta) {\r\n return fulfilled(result.payload, requestId, arg, result.meta);\r\n }\r\n return fulfilled(result, requestId, arg);\r\n })\r\n ])];\r\n case 3:\r\n finalAction = _c.sent();\r\n return [3 /*break*/, 5];\r\n case 4:\r\n err_1 = _c.sent();\r\n finalAction = err_1 instanceof RejectWithValue ? rejected(null, requestId, arg, err_1.payload, err_1.meta) : rejected(err_1, requestId, arg);\r\n return [3 /*break*/, 5];\r\n case 5:\r\n skipDispatch = options && !options.dispatchConditionRejection && rejected.match(finalAction) && finalAction.meta.condition;\r\n if (!skipDispatch) {\r\n dispatch(finalAction);\r\n }\r\n return [2 /*return*/, finalAction];\r\n }\r\n });\r\n });\r\n }();\r\n return Object.assign(promise2, {\r\n abort: abort,\r\n requestId: requestId,\r\n arg: arg,\r\n unwrap: function () {\r\n return promise2.then(unwrapResult);\r\n }\r\n });\r\n };\r\n }\r\n return Object.assign(actionCreator, {\r\n pending: pending,\r\n rejected: rejected,\r\n fulfilled: fulfilled,\r\n typePrefix: typePrefix\r\n });\r\n }\r\n createAsyncThunk2.withTypes = function () { return createAsyncThunk2; };\r\n return createAsyncThunk2;\r\n})();\r\nfunction unwrapResult(action) {\r\n if (action.meta && action.meta.rejectedWithValue) {\r\n throw action.payload;\r\n }\r\n if (action.error) {\r\n throw action.error;\r\n }\r\n return action.payload;\r\n}\r\nfunction isThenable(value) {\r\n return value !== null && typeof value === \"object\" && typeof value.then === \"function\";\r\n}\r\n// src/tsHelpers.ts\r\nvar hasMatchFunction = function (v) {\r\n return v && typeof v.match === \"function\";\r\n};\r\n// src/matchers.ts\r\nvar matches = function (matcher, action) {\r\n if (hasMatchFunction(matcher)) {\r\n return matcher.match(action);\r\n }\r\n else {\r\n return matcher(action);\r\n }\r\n};\r\nfunction isAnyOf() {\r\n var matchers = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n matchers[_i] = arguments[_i];\r\n }\r\n return function (action) {\r\n return matchers.some(function (matcher) { return matches(matcher, action); });\r\n };\r\n}\r\nfunction isAllOf() {\r\n var matchers = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n matchers[_i] = arguments[_i];\r\n }\r\n return function (action) {\r\n return matchers.every(function (matcher) { return matches(matcher, action); });\r\n };\r\n}\r\nfunction hasExpectedRequestMetadata(action, validStatus) {\r\n if (!action || !action.meta)\r\n return false;\r\n var hasValidRequestId = typeof action.meta.requestId === \"string\";\r\n var hasValidRequestStatus = validStatus.indexOf(action.meta.requestStatus) > -1;\r\n return hasValidRequestId && hasValidRequestStatus;\r\n}\r\nfunction isAsyncThunkArray(a) {\r\n return typeof a[0] === \"function\" && \"pending\" in a[0] && \"fulfilled\" in a[0] && \"rejected\" in a[0];\r\n}\r\nfunction isPending() {\r\n var asyncThunks = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n asyncThunks[_i] = arguments[_i];\r\n }\r\n if (asyncThunks.length === 0) {\r\n return function (action) { return hasExpectedRequestMetadata(action, [\"pending\"]); };\r\n }\r\n if (!isAsyncThunkArray(asyncThunks)) {\r\n return isPending()(asyncThunks[0]);\r\n }\r\n return function (action) {\r\n var matchers = asyncThunks.map(function (asyncThunk) { return asyncThunk.pending; });\r\n var combinedMatcher = isAnyOf.apply(void 0, matchers);\r\n return combinedMatcher(action);\r\n };\r\n}\r\nfunction isRejected() {\r\n var asyncThunks = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n asyncThunks[_i] = arguments[_i];\r\n }\r\n if (asyncThunks.length === 0) {\r\n return function (action) { return hasExpectedRequestMetadata(action, [\"rejected\"]); };\r\n }\r\n if (!isAsyncThunkArray(asyncThunks)) {\r\n return isRejected()(asyncThunks[0]);\r\n }\r\n return function (action) {\r\n var matchers = asyncThunks.map(function (asyncThunk) { return asyncThunk.rejected; });\r\n var combinedMatcher = isAnyOf.apply(void 0, matchers);\r\n return combinedMatcher(action);\r\n };\r\n}\r\nfunction isRejectedWithValue() {\r\n var asyncThunks = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n asyncThunks[_i] = arguments[_i];\r\n }\r\n var hasFlag = function (action) {\r\n return action && action.meta && action.meta.rejectedWithValue;\r\n };\r\n if (asyncThunks.length === 0) {\r\n return function (action) {\r\n var combinedMatcher = isAllOf(isRejected.apply(void 0, asyncThunks), hasFlag);\r\n return combinedMatcher(action);\r\n };\r\n }\r\n if (!isAsyncThunkArray(asyncThunks)) {\r\n return isRejectedWithValue()(asyncThunks[0]);\r\n }\r\n return function (action) {\r\n var combinedMatcher = isAllOf(isRejected.apply(void 0, asyncThunks), hasFlag);\r\n return combinedMatcher(action);\r\n };\r\n}\r\nfunction isFulfilled() {\r\n var asyncThunks = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n asyncThunks[_i] = arguments[_i];\r\n }\r\n if (asyncThunks.length === 0) {\r\n return function (action) { return hasExpectedRequestMetadata(action, [\"fulfilled\"]); };\r\n }\r\n if (!isAsyncThunkArray(asyncThunks)) {\r\n return isFulfilled()(asyncThunks[0]);\r\n }\r\n return function (action) {\r\n var matchers = asyncThunks.map(function (asyncThunk) { return asyncThunk.fulfilled; });\r\n var combinedMatcher = isAnyOf.apply(void 0, matchers);\r\n return combinedMatcher(action);\r\n };\r\n}\r\nfunction isAsyncThunkAction() {\r\n var asyncThunks = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n asyncThunks[_i] = arguments[_i];\r\n }\r\n if (asyncThunks.length === 0) {\r\n return function (action) { return hasExpectedRequestMetadata(action, [\"pending\", \"fulfilled\", \"rejected\"]); };\r\n }\r\n if (!isAsyncThunkArray(asyncThunks)) {\r\n return isAsyncThunkAction()(asyncThunks[0]);\r\n }\r\n return function (action) {\r\n var matchers = [];\r\n for (var _i = 0, asyncThunks_1 = asyncThunks; _i < asyncThunks_1.length; _i++) {\r\n var asyncThunk = asyncThunks_1[_i];\r\n matchers.push(asyncThunk.pending, asyncThunk.rejected, asyncThunk.fulfilled);\r\n }\r\n var combinedMatcher = isAnyOf.apply(void 0, matchers);\r\n return combinedMatcher(action);\r\n };\r\n}\r\n// src/listenerMiddleware/utils.ts\r\nvar assertFunction = function (func, expected) {\r\n if (typeof func !== \"function\") {\r\n throw new TypeError(expected + \" is not a function\");\r\n }\r\n};\r\nvar noop = function () {\r\n};\r\nvar catchRejection = function (promise2, onError) {\r\n if (onError === void 0) { onError = noop; }\r\n promise2.catch(onError);\r\n return promise2;\r\n};\r\nvar addAbortSignalListener = function (abortSignal, callback) {\r\n abortSignal.addEventListener(\"abort\", callback, { once: true });\r\n return function () { return abortSignal.removeEventListener(\"abort\", callback); };\r\n};\r\nvar abortControllerWithReason = function (abortController, reason) {\r\n var signal = abortController.signal;\r\n if (signal.aborted) {\r\n return;\r\n }\r\n if (!(\"reason\" in signal)) {\r\n Object.defineProperty(signal, \"reason\", {\r\n enumerable: true,\r\n value: reason,\r\n configurable: true,\r\n writable: true\r\n });\r\n }\r\n ;\r\n abortController.abort(reason);\r\n};\r\n// src/listenerMiddleware/exceptions.ts\r\nvar task = \"task\";\r\nvar listener = \"listener\";\r\nvar completed = \"completed\";\r\nvar cancelled = \"cancelled\";\r\nvar taskCancelled = \"task-\" + cancelled;\r\nvar taskCompleted = \"task-\" + completed;\r\nvar listenerCancelled = listener + \"-\" + cancelled;\r\nvar listenerCompleted = listener + \"-\" + completed;\r\nvar TaskAbortError = /** @class */ (function () {\r\n function TaskAbortError(code) {\r\n this.code = code;\r\n this.name = \"TaskAbortError\";\r\n this.message = task + \" \" + cancelled + \" (reason: \" + code + \")\";\r\n }\r\n return TaskAbortError;\r\n}());\r\n// src/listenerMiddleware/task.ts\r\nvar validateActive = function (signal) {\r\n if (signal.aborted) {\r\n throw new TaskAbortError(signal.reason);\r\n }\r\n};\r\nfunction raceWithSignal(signal, promise2) {\r\n var cleanup = noop;\r\n return new Promise(function (resolve, reject) {\r\n var notifyRejection = function () { return reject(new TaskAbortError(signal.reason)); };\r\n if (signal.aborted) {\r\n notifyRejection();\r\n return;\r\n }\r\n cleanup = addAbortSignalListener(signal, notifyRejection);\r\n promise2.finally(function () { return cleanup(); }).then(resolve, reject);\r\n }).finally(function () {\r\n cleanup = noop;\r\n });\r\n}\r\nvar runTask = function (task2, cleanUp) { return __async(void 0, null, function () {\r\n var value, error_1;\r\n return __generator(this, function (_c) {\r\n switch (_c.label) {\r\n case 0:\r\n _c.trys.push([0, 3, 4, 5]);\r\n return [4 /*yield*/, Promise.resolve()];\r\n case 1:\r\n _c.sent();\r\n return [4 /*yield*/, task2()];\r\n case 2:\r\n value = _c.sent();\r\n return [2 /*return*/, {\r\n status: \"ok\",\r\n value: value\r\n }];\r\n case 3:\r\n error_1 = _c.sent();\r\n return [2 /*return*/, {\r\n status: error_1 instanceof TaskAbortError ? \"cancelled\" : \"rejected\",\r\n error: error_1\r\n }];\r\n case 4:\r\n cleanUp == null ? void 0 : cleanUp();\r\n return [7 /*endfinally*/];\r\n case 5: return [2 /*return*/];\r\n }\r\n });\r\n}); };\r\nvar createPause = function (signal) {\r\n return function (promise2) {\r\n return catchRejection(raceWithSignal(signal, promise2).then(function (output) {\r\n validateActive(signal);\r\n return output;\r\n }));\r\n };\r\n};\r\nvar createDelay = function (signal) {\r\n var pause = createPause(signal);\r\n return function (timeoutMs) {\r\n return pause(new Promise(function (resolve) { return setTimeout(resolve, timeoutMs); }));\r\n };\r\n};\r\n// src/listenerMiddleware/index.ts\r\nvar assign = Object.assign;\r\nvar INTERNAL_NIL_TOKEN = {};\r\nvar alm = \"listenerMiddleware\";\r\nvar createFork = function (parentAbortSignal) {\r\n var linkControllers = function (controller) { return addAbortSignalListener(parentAbortSignal, function () { return abortControllerWithReason(controller, parentAbortSignal.reason); }); };\r\n return function (taskExecutor) {\r\n assertFunction(taskExecutor, \"taskExecutor\");\r\n var childAbortController = new AbortController();\r\n linkControllers(childAbortController);\r\n var result = runTask(function () { return __async(void 0, null, function () {\r\n var result2;\r\n return __generator(this, function (_c) {\r\n switch (_c.label) {\r\n case 0:\r\n validateActive(parentAbortSignal);\r\n validateActive(childAbortController.signal);\r\n return [4 /*yield*/, taskExecutor({\r\n pause: createPause(childAbortController.signal),\r\n delay: createDelay(childAbortController.signal),\r\n signal: childAbortController.signal\r\n })];\r\n case 1:\r\n result2 = _c.sent();\r\n validateActive(childAbortController.signal);\r\n return [2 /*return*/, result2];\r\n }\r\n });\r\n }); }, function () { return abortControllerWithReason(childAbortController, taskCompleted); });\r\n return {\r\n result: createPause(parentAbortSignal)(result),\r\n cancel: function () {\r\n abortControllerWithReason(childAbortController, taskCancelled);\r\n }\r\n };\r\n };\r\n};\r\nvar createTakePattern = function (startListening, signal) {\r\n var take = function (predicate, timeout) { return __async(void 0, null, function () {\r\n var unsubscribe, tuplePromise, promises, output;\r\n return __generator(this, function (_c) {\r\n switch (_c.label) {\r\n case 0:\r\n validateActive(signal);\r\n unsubscribe = function () {\r\n };\r\n tuplePromise = new Promise(function (resolve, reject) {\r\n var stopListening = startListening({\r\n predicate: predicate,\r\n effect: function (action, listenerApi) {\r\n listenerApi.unsubscribe();\r\n resolve([\r\n action,\r\n listenerApi.getState(),\r\n listenerApi.getOriginalState()\r\n ]);\r\n }\r\n });\r\n unsubscribe = function () {\r\n stopListening();\r\n reject();\r\n };\r\n });\r\n promises = [\r\n tuplePromise\r\n ];\r\n if (timeout != null) {\r\n promises.push(new Promise(function (resolve) { return setTimeout(resolve, timeout, null); }));\r\n }\r\n _c.label = 1;\r\n case 1:\r\n _c.trys.push([1, , 3, 4]);\r\n return [4 /*yield*/, raceWithSignal(signal, Promise.race(promises))];\r\n case 2:\r\n output = _c.sent();\r\n validateActive(signal);\r\n return [2 /*return*/, output];\r\n case 3:\r\n unsubscribe();\r\n return [7 /*endfinally*/];\r\n case 4: return [2 /*return*/];\r\n }\r\n });\r\n }); };\r\n return function (predicate, timeout) { return catchRejection(take(predicate, timeout)); };\r\n};\r\nvar getListenerEntryPropsFrom = function (options) {\r\n var type = options.type, actionCreator = options.actionCreator, matcher = options.matcher, predicate = options.predicate, effect = options.effect;\r\n if (type) {\r\n predicate = createAction(type).match;\r\n }\r\n else if (actionCreator) {\r\n type = actionCreator.type;\r\n predicate = actionCreator.match;\r\n }\r\n else if (matcher) {\r\n predicate = matcher;\r\n }\r\n else if (predicate) {\r\n }\r\n else {\r\n throw new Error(\"Creating or removing a listener requires one of the known fields for matching an action\");\r\n }\r\n assertFunction(effect, \"options.listener\");\r\n return { predicate: predicate, type: type, effect: effect };\r\n};\r\nvar createListenerEntry = function (options) {\r\n var _c = getListenerEntryPropsFrom(options), type = _c.type, predicate = _c.predicate, effect = _c.effect;\r\n var id = nanoid();\r\n var entry = {\r\n id: id,\r\n effect: effect,\r\n type: type,\r\n predicate: predicate,\r\n pending: new Set(),\r\n unsubscribe: function () {\r\n throw new Error(\"Unsubscribe not initialized\");\r\n }\r\n };\r\n return entry;\r\n};\r\nvar cancelActiveListeners = function (entry) {\r\n entry.pending.forEach(function (controller) {\r\n abortControllerWithReason(controller, listenerCancelled);\r\n });\r\n};\r\nvar createClearListenerMiddleware = function (listenerMap) {\r\n return function () {\r\n listenerMap.forEach(cancelActiveListeners);\r\n listenerMap.clear();\r\n };\r\n};\r\nvar safelyNotifyError = function (errorHandler, errorToNotify, errorInfo) {\r\n try {\r\n errorHandler(errorToNotify, errorInfo);\r\n }\r\n catch (errorHandlerError) {\r\n setTimeout(function () {\r\n throw errorHandlerError;\r\n }, 0);\r\n }\r\n};\r\nvar addListener = createAction(alm + \"/add\");\r\nvar clearAllListeners = createAction(alm + \"/removeAll\");\r\nvar removeListener = createAction(alm + \"/remove\");\r\nvar defaultErrorHandler = function () {\r\n var args = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n args[_i] = arguments[_i];\r\n }\r\n console.error.apply(console, __spreadArray([alm + \"/error\"], args));\r\n};\r\nfunction createListenerMiddleware(middlewareOptions) {\r\n var _this = this;\r\n if (middlewareOptions === void 0) { middlewareOptions = {}; }\r\n var listenerMap = new Map();\r\n var extra = middlewareOptions.extra, _c = middlewareOptions.onError, onError = _c === void 0 ? defaultErrorHandler : _c;\r\n assertFunction(onError, \"onError\");\r\n var insertEntry = function (entry) {\r\n entry.unsubscribe = function () { return listenerMap.delete(entry.id); };\r\n listenerMap.set(entry.id, entry);\r\n return function (cancelOptions) {\r\n entry.unsubscribe();\r\n if (cancelOptions == null ? void 0 : cancelOptions.cancelActive) {\r\n cancelActiveListeners(entry);\r\n }\r\n };\r\n };\r\n var findListenerEntry = function (comparator) {\r\n for (var _i = 0, _c = Array.from(listenerMap.values()); _i < _c.length; _i++) {\r\n var entry = _c[_i];\r\n if (comparator(entry)) {\r\n return entry;\r\n }\r\n }\r\n return void 0;\r\n };\r\n var startListening = function (options) {\r\n var entry = findListenerEntry(function (existingEntry) { return existingEntry.effect === options.effect; });\r\n if (!entry) {\r\n entry = createListenerEntry(options);\r\n }\r\n return insertEntry(entry);\r\n };\r\n var stopListening = function (options) {\r\n var _c = getListenerEntryPropsFrom(options), type = _c.type, effect = _c.effect, predicate = _c.predicate;\r\n var entry = findListenerEntry(function (entry2) {\r\n var matchPredicateOrType = typeof type === \"string\" ? entry2.type === type : entry2.predicate === predicate;\r\n return matchPredicateOrType && entry2.effect === effect;\r\n });\r\n if (entry) {\r\n entry.unsubscribe();\r\n if (options.cancelActive) {\r\n cancelActiveListeners(entry);\r\n }\r\n }\r\n return !!entry;\r\n };\r\n var notifyListener = function (entry, action, api, getOriginalState) { return __async(_this, null, function () {\r\n var internalTaskController, take, listenerError_1;\r\n return __generator(this, function (_c) {\r\n switch (_c.label) {\r\n case 0:\r\n internalTaskController = new AbortController();\r\n take = createTakePattern(startListening, internalTaskController.signal);\r\n _c.label = 1;\r\n case 1:\r\n _c.trys.push([1, 3, 4, 5]);\r\n entry.pending.add(internalTaskController);\r\n return [4 /*yield*/, Promise.resolve(entry.effect(action, assign({}, api, {\r\n getOriginalState: getOriginalState,\r\n condition: function (predicate, timeout) { return take(predicate, timeout).then(Boolean); },\r\n take: take,\r\n delay: createDelay(internalTaskController.signal),\r\n pause: createPause(internalTaskController.signal),\r\n extra: extra,\r\n signal: internalTaskController.signal,\r\n fork: createFork(internalTaskController.signal),\r\n unsubscribe: entry.unsubscribe,\r\n subscribe: function () {\r\n listenerMap.set(entry.id, entry);\r\n },\r\n cancelActiveListeners: function () {\r\n entry.pending.forEach(function (controller, _, set) {\r\n if (controller !== internalTaskController) {\r\n abortControllerWithReason(controller, listenerCancelled);\r\n set.delete(controller);\r\n }\r\n });\r\n }\r\n })))];\r\n case 2:\r\n _c.sent();\r\n return [3 /*break*/, 5];\r\n case 3:\r\n listenerError_1 = _c.sent();\r\n if (!(listenerError_1 instanceof TaskAbortError)) {\r\n safelyNotifyError(onError, listenerError_1, {\r\n raisedBy: \"effect\"\r\n });\r\n }\r\n return [3 /*break*/, 5];\r\n case 4:\r\n abortControllerWithReason(internalTaskController, listenerCompleted);\r\n entry.pending.delete(internalTaskController);\r\n return [7 /*endfinally*/];\r\n case 5: return [2 /*return*/];\r\n }\r\n });\r\n }); };\r\n var clearListenerMiddleware = createClearListenerMiddleware(listenerMap);\r\n var middleware = function (api) { return function (next) { return function (action) {\r\n if (!isAction(action)) {\r\n return next(action);\r\n }\r\n if (addListener.match(action)) {\r\n return startListening(action.payload);\r\n }\r\n if (clearAllListeners.match(action)) {\r\n clearListenerMiddleware();\r\n return;\r\n }\r\n if (removeListener.match(action)) {\r\n return stopListening(action.payload);\r\n }\r\n var originalState = api.getState();\r\n var getOriginalState = function () {\r\n if (originalState === INTERNAL_NIL_TOKEN) {\r\n throw new Error(alm + \": getOriginalState can only be called synchronously\");\r\n }\r\n return originalState;\r\n };\r\n var result;\r\n try {\r\n result = next(action);\r\n if (listenerMap.size > 0) {\r\n var currentState = api.getState();\r\n var listenerEntries = Array.from(listenerMap.values());\r\n for (var _i = 0, listenerEntries_1 = listenerEntries; _i < listenerEntries_1.length; _i++) {\r\n var entry = listenerEntries_1[_i];\r\n var runListener = false;\r\n try {\r\n runListener = entry.predicate(action, currentState, originalState);\r\n }\r\n catch (predicateError) {\r\n runListener = false;\r\n safelyNotifyError(onError, predicateError, {\r\n raisedBy: \"predicate\"\r\n });\r\n }\r\n if (!runListener) {\r\n continue;\r\n }\r\n notifyListener(entry, action, api, getOriginalState);\r\n }\r\n }\r\n }\r\n finally {\r\n originalState = INTERNAL_NIL_TOKEN;\r\n }\r\n return result;\r\n }; }; };\r\n return {\r\n middleware: middleware,\r\n startListening: startListening,\r\n stopListening: stopListening,\r\n clearListeners: clearListenerMiddleware\r\n };\r\n}\r\n// src/autoBatchEnhancer.ts\r\nvar SHOULD_AUTOBATCH = \"RTK_autoBatch\";\r\nvar prepareAutoBatched = function () { return function (payload) {\r\n var _c;\r\n return ({\r\n payload: payload,\r\n meta: (_c = {}, _c[SHOULD_AUTOBATCH] = true, _c)\r\n });\r\n}; };\r\nvar promise;\r\nvar queueMicrotaskShim = typeof queueMicrotask === \"function\" ? queueMicrotask.bind(typeof window !== \"undefined\" ? window : typeof global !== \"undefined\" ? global : globalThis) : function (cb) { return (promise || (promise = Promise.resolve())).then(cb).catch(function (err) { return setTimeout(function () {\r\n throw err;\r\n}, 0); }); };\r\nvar createQueueWithTimer = function (timeout) {\r\n return function (notify) {\r\n setTimeout(notify, timeout);\r\n };\r\n};\r\nvar rAF = typeof window !== \"undefined\" && window.requestAnimationFrame ? window.requestAnimationFrame : createQueueWithTimer(10);\r\nvar autoBatchEnhancer = function (options) {\r\n if (options === void 0) { options = { type: \"raf\" }; }\r\n return function (next) { return function () {\r\n var args = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n args[_i] = arguments[_i];\r\n }\r\n var store = next.apply(void 0, args);\r\n var notifying = true;\r\n var shouldNotifyAtEndOfTick = false;\r\n var notificationQueued = false;\r\n var listeners = new Set();\r\n var queueCallback = options.type === \"tick\" ? queueMicrotaskShim : options.type === \"raf\" ? rAF : options.type === \"callback\" ? options.queueNotification : createQueueWithTimer(options.timeout);\r\n var notifyListeners = function () {\r\n notificationQueued = false;\r\n if (shouldNotifyAtEndOfTick) {\r\n shouldNotifyAtEndOfTick = false;\r\n listeners.forEach(function (l) { return l(); });\r\n }\r\n };\r\n return Object.assign({}, store, {\r\n subscribe: function (listener2) {\r\n var wrappedListener = function () { return notifying && listener2(); };\r\n var unsubscribe = store.subscribe(wrappedListener);\r\n listeners.add(listener2);\r\n return function () {\r\n unsubscribe();\r\n listeners.delete(listener2);\r\n };\r\n },\r\n dispatch: function (action) {\r\n var _a;\r\n try {\r\n notifying = !((_a = action == null ? void 0 : action.meta) == null ? void 0 : _a[SHOULD_AUTOBATCH]);\r\n shouldNotifyAtEndOfTick = !notifying;\r\n if (shouldNotifyAtEndOfTick) {\r\n if (!notificationQueued) {\r\n notificationQueued = true;\r\n queueCallback(notifyListeners);\r\n }\r\n }\r\n return store.dispatch(action);\r\n }\r\n finally {\r\n notifying = true;\r\n }\r\n }\r\n });\r\n }; };\r\n};\r\n// src/index.ts\r\nenableES5();\r\nexport { EnhancerArray, MiddlewareArray, SHOULD_AUTOBATCH, TaskAbortError, addListener, autoBatchEnhancer, clearAllListeners, configureStore, createAction, createAsyncThunk, createDraftSafeSelector, createEntityAdapter, createImmutableStateInvariantMiddleware, createListenerMiddleware, default2 as createNextState, createReducer, createSelector2 as createSelector, createSerializableStateInvariantMiddleware, createSlice, current2 as current, findNonSerializableValue, freeze, getDefaultMiddleware, getType, isAction, isAllOf, isAnyOf, isAsyncThunkAction, isDraft4 as isDraft, isFSA as isFluxStandardAction, isFulfilled, isImmutableDefault, isPending, isPlain, isPlainObject, isRejected, isRejectedWithValue, miniSerializeError, nanoid, original, prepareAutoBatched, removeListener, unwrapResult };\r\n//# sourceMappingURL=redux-toolkit.esm.js.map","import {\r\n InsightParametersResponse,\r\n PageContent,\r\n VarietyTeaserChartRequest,\r\n VarietyTeaserChartResponse,\r\n VarietyTopMoversResponse,\r\n VarietyTradeChartRequest,\r\n VarietyTradeChartResponse,\r\n} from \"../../types/apiTypes\";\r\n\r\nexport const varietyTradeHistory = async (data: VarietyTradeChartRequest) => {\r\n let response = await fetch(\"/api/chart/variety-trade\", {\r\n method: \"POST\",\r\n body: JSON.stringify(data),\r\n headers: {\r\n Accept: \"application/json\",\r\n \"Content-Type\": \"application/json\",\r\n },\r\n });\r\n return {\r\n response,\r\n data: (await response.json()) as VarietyTradeChartResponse,\r\n };\r\n};\r\n\r\nexport const varietyTradeMiniChart = async (data: VarietyTradeChartRequest) => {\r\n let response = await fetch(\"/api/chart/variety-trade-minichart\", {\r\n method: \"POST\",\r\n body: JSON.stringify(data),\r\n headers: {\r\n Accept: \"application/json\",\r\n \"Content-Type\": \"application/json\",\r\n },\r\n });\r\n return {\r\n response,\r\n data: (await response.json()) as VarietyTradeChartResponse,\r\n };\r\n};\r\n\r\nexport const varietyTopMovers = async (data: VarietyTradeChartRequest) => {\r\n let response = await fetch(\"/api/chart/variety-top-movers\", {\r\n method: \"POST\",\r\n body: JSON.stringify(data),\r\n headers: {\r\n Accept: \"application/json\",\r\n \"Content-Type\": \"application/json\",\r\n },\r\n });\r\n return {\r\n response,\r\n data: (await response.json()) as VarietyTopMoversResponse,\r\n };\r\n};\r\n\r\nexport const varietyTeaserChart = async (data: VarietyTeaserChartRequest) => {\r\n let response = await fetch(\"/api/chart/variety-highest-trade-volume\", {\r\n method: \"POST\",\r\n body: JSON.stringify(data),\r\n headers: {\r\n Accept: \"application/json\",\r\n \"Content-Type\": \"application/json\",\r\n },\r\n });\r\n return {\r\n response,\r\n data: (await response.json()) as VarietyTeaserChartResponse,\r\n };\r\n};\r\n\r\nexport const getAnalyticsParameters = async () => {\r\n const w = window as any;\r\n\r\n let response = await fetch(\"/api/chart/insight-parameters?v=\" + w.version, {\r\n headers: {\r\n Accept: \"application/json\",\r\n \"Content-Type\": \"application/json\",\r\n },\r\n });\r\n return {\r\n response,\r\n data: (await response.json()) as InsightParametersResponse,\r\n };\r\n};\r\n","import { PageContent } from \"../../types/apiTypes\";\r\n\r\nexport const initialContent = async () => {\r\n let response = await fetch(\"/api/listings/init-page\", {\r\n method: \"GET\",\r\n headers: {\r\n Accept: \"application/json\",\r\n },\r\n });\r\n return {\r\n response,\r\n data: (await response.json()) as PageContent,\r\n };\r\n};\r\n","import _ from \"lodash\";\r\nimport { SearchAPIParameter, SearchReferences } from \"../../types/apiTypes\";\r\nimport {\r\n AppliedParameters,\r\n Parameters,\r\n RangeSelectorParameter,\r\n SearchParameters,\r\n SearchResponse,\r\n SearchResult,\r\n} from \"../../types/state\";\r\n\r\nconst termsOrMap: {\r\n [key in keyof AppliedParameters]?: \"1\";\r\n} = {\r\n ahp_type_id: \"1\",\r\n type_id: \"1\",\r\n};\r\n\r\nconst filterTypeMap: {\r\n [key in keyof AppliedParameters]:\r\n | \"terms\"\r\n | \"terms-or\"\r\n | \"terms-keyword\"\r\n | \"multi-value-range\"\r\n | \"value-range\"\r\n | \"geo-distance-range\"\r\n | \"skip\";\r\n} = {\r\n location: \"geo-distance-range\",\r\n shipping_speed: \"value-range\",\r\n seller_rating: \"multi-value-range\",\r\n rating: \"multi-value-range\",\r\n attribute_ids: \"terms\",\r\n brand_id: \"terms\",\r\n grown_in: \"terms-keyword\",\r\n packaging_id: \"terms\",\r\n storage_condition_id: \"terms\",\r\n storage_location: \"terms\",\r\n type_id: \"terms-or\",\r\n variety_id: \"terms\",\r\n year: \"terms\",\r\n is_released: \"terms\",\r\n orderable_with: \"terms\",\r\n seller_id: \"terms\",\r\n seller_org_id: \"terms\",\r\n ahp_type_id: \"terms-or\",\r\n};\r\n\r\nconst searchFields = [\r\n \"name^3\",\r\n \"type\",\r\n \"seller\",\r\n \"brand\",\r\n \"ships_from\",\r\n \"ships_from\",\r\n \"lot_number.keyword\",\r\n];\r\n\r\nexport const search = async (\r\n parameters: SearchAPIParameter,\r\n references: SearchReferences\r\n) => {\r\n let { query = \"\", sort = [], from, size, filters } = parameters;\r\n var splittedQuery =\r\n query.trim() === \"\"\r\n ? []\r\n : query.trim().replaceAll(\" \", \" \").toLowerCase().split(\" \");\r\n\r\n const appliedFilters = Object.entries(filters).filter(([, value]) => {\r\n switch (true) {\r\n case value == null:\r\n case value === 0:\r\n case Array.isArray(value) && value.length <= 0:\r\n case Number.isNaN(value):\r\n return false;\r\n\r\n default:\r\n return true;\r\n }\r\n }) as [keyof typeof filters, (typeof filters)[keyof typeof filters]][];\r\n\r\n let terms = appliedFilters.filter(\r\n ([key]) => filterTypeMap[key] === \"terms\"\r\n ) as [keyof typeof filters, string[] | boolean[] | number[]][];\r\n\r\n terms = terms.map((t) =>\r\n t[0] === \"is_released\" ? [t[0], t[1].map((v) => v === 1)] : t\r\n );\r\n\r\n let termsKeyword = appliedFilters.filter(\r\n ([key]) => filterTypeMap[key] === \"terms-keyword\"\r\n ) as [keyof typeof filters, string[]][];\r\n\r\n const termsOr = Object.entries(\r\n _.groupBy(\r\n appliedFilters.filter(([key]) => filterTypeMap[key] === \"terms-or\") as [\r\n keyof typeof filters,\r\n number[]\r\n ][],\r\n (t) => termsOrMap[t[0]]\r\n )\r\n );\r\n\r\n const multiValueRange = appliedFilters.filter(\r\n ([key]) => filterTypeMap[key] === \"multi-value-range\"\r\n ) as [keyof typeof filters, number[]][];\r\n\r\n const valueRange = appliedFilters.filter(\r\n ([key]) => filterTypeMap[key] === \"value-range\"\r\n ) as [keyof typeof filters, number][];\r\n\r\n const geoDistanceRange = appliedFilters.filter(\r\n ([key]) =>\r\n filterTypeMap[key] === \"geo-distance-range\" && !!parameters.location\r\n ) as [keyof typeof filters, number][];\r\n\r\n if (parameters.location) {\r\n sort?.forEach((t) => {\r\n if (t._geo_distance) {\r\n t._geo_distance.location = parameters.location;\r\n }\r\n });\r\n }\r\n\r\n let response = await fetch(\"/api/listings/search\", {\r\n method: \"POST\",\r\n headers: {\r\n Accept: \"application/json\",\r\n \"Content-Type\": \"application/json\",\r\n },\r\n body: JSON.stringify({\r\n query: {\r\n bool: {\r\n must: [\r\n ...(splittedQuery.length > 0\r\n ? [\r\n {\r\n bool: {\r\n should: [\r\n {\r\n query_string: {\r\n query: `(${query.trim()}*)`,\r\n minimum_should_match: splittedQuery.length,\r\n fields: searchFields,\r\n },\r\n },\r\n {\r\n query_string: {\r\n query: `(${splittedQuery\r\n .map((t) => `${t}~1`)\r\n .join(\" \")})`,\r\n minimum_should_match: splittedQuery.length,\r\n fields: searchFields,\r\n },\r\n },\r\n ],\r\n },\r\n },\r\n ]\r\n : []),\r\n ...terms.map(([key, value]) => ({\r\n terms: { [key]: value },\r\n })),\r\n ...termsKeyword.map(([key, value]) => ({\r\n terms: { [key + \".keyword\"]: value },\r\n })),\r\n ...termsOr.map(([, termParams]) => ({\r\n bool: {\r\n should: termParams.map(([key, value]) => ({\r\n terms: { [key]: value },\r\n })),\r\n },\r\n })),\r\n ...multiValueRange.map(([key, value]) => ({\r\n bool: {\r\n should: [\r\n ...value.map((v) => ({\r\n range: {\r\n [key]: references[key]?.find((t) => t.id === v)?.value,\r\n },\r\n })),\r\n // for filters which includes null, add bool must_not exists query for the specified field\r\n value.findIndex(\r\n (v) => references[key]?.find((t) => t.id === v)?.includeNull\r\n ) >= 0\r\n ? {\r\n bool: {\r\n must_not: { exists: { field: key } },\r\n },\r\n }\r\n : null,\r\n ].filter((t) => !!t),\r\n },\r\n })),\r\n ...valueRange.map(([key, value]) => ({\r\n range: {\r\n [key]: {\r\n lte: value,\r\n },\r\n },\r\n })),\r\n ...geoDistanceRange.map(([key, value]) => ({\r\n geo_distance: {\r\n distance: value + \"miles\",\r\n [key]: parameters.location,\r\n },\r\n })),\r\n ].filter((t) => !!t),\r\n },\r\n },\r\n size,\r\n from,\r\n runtime_mappings: {\r\n amount: {\r\n type: \"double\",\r\n script: \"emit(doc['remaining'].value * doc['unit_weight_lbs'].value)\",\r\n },\r\n },\r\n aggs: {\r\n total_weight: {\r\n sum: {\r\n field: \"amount\",\r\n },\r\n },\r\n },\r\n sort:\r\n sort.length > 0\r\n ? sort\r\n : [\r\n {\r\n created_at: \"desc\",\r\n },\r\n ],\r\n }),\r\n });\r\n return {\r\n response,\r\n data: (await response.json()) as SearchResponse,\r\n };\r\n};\r\n\r\nexport const initialParameters = async () => {\r\n let response = await fetch(\"/api/listings/init-search\", {\r\n method: \"GET\",\r\n headers: {\r\n Accept: \"application/json\",\r\n },\r\n });\r\n return {\r\n response,\r\n data: (await response.json()) as SearchParameters,\r\n };\r\n};\r\n\r\nexport const fullListParameters = async (key: string) => {\r\n let response = await fetch(\"/api/listings/full-list-param/\" + key, {\r\n method: \"GET\",\r\n headers: {\r\n Accept: \"application/json\",\r\n },\r\n });\r\n return {\r\n response,\r\n data: (await response.json()) as Parameters,\r\n };\r\n};\r\n","import { HtmlHTMLAttributes } from \"react\";\r\nimport styles from \"./card.module.scss\";\r\nconst Card = (\r\n props: React.PropsWithChildren & {\r\n className?: string;\r\n } & HtmlHTMLAttributes\r\n) => {\r\n return (\r\n \r\n {props.children}\r\n \r\n );\r\n};\r\n\r\nexport default Card;\r\n","import { AnchorHTMLAttributes } from \"react\";\r\nimport styles from \"./linkButton.module.scss\";\r\nimport _ from \"lodash\";\r\n\r\nconst LinkButton = (\r\n props: React.PropsWithChildren<\r\n AnchorHTMLAttributes & {\r\n btnStyle?:\r\n | \"primary\"\r\n | \"secondary\"\r\n | \"outlinePrimary\"\r\n | \"outlineSecondary\";\r\n btnSize?: \"sm\" | \"xs\" | \"lg\" | \"rg\";\r\n }\r\n >\r\n) => {\r\n return (\r\n \r\n {props.children}\r\n \r\n );\r\n};\r\n\r\nexport default LinkButton;\r\n","import _ from \"lodash\";\r\nimport { MiniChartProp } from \"../../types/helper\";\r\nimport styles from \"./miniChart.module.scss\";\r\nimport { MouseEventHandler } from \"react\";\r\n\r\nconst MiniLineChart = (props: MiniChartProp) => {\r\n const points = props.dataset.map((t, i) => {\r\n const x = (i / props.dataset.length) * props.chartWidth + props.padding;\r\n const y =\r\n props.chartHeight -\r\n ((t ?? 0) / props.maxY) * props.chartHeight +\r\n props.padding;\r\n return `${x},${isNaN(y) ? 0 : y}`;\r\n });\r\n\r\n return (\r\n \r\n );\r\n};\r\n\r\nconst MiniBarChart = (props: MiniChartProp) => {\r\n const points = props.dataset.map((t, i) => {\r\n const x = (i / props.dataset.length) * props.chartWidth + props.padding;\r\n const y = ((t ?? 0) / props.maxY) * props.chartHeight;\r\n return { x, y: isNaN(y) ? 0 : y };\r\n });\r\n const width = props.chartWidth / points.length;\r\n const gap = width * 0.25;\r\n return (\r\n <>\r\n {points.map((t, i) => (\r\n \r\n ))}\r\n \r\n );\r\n};\r\n\r\nconst MiniChart = (props: {\r\n charts: Array<{\r\n type: \"bar\" | \"line\";\r\n data: number[];\r\n color: string;\r\n group?: string;\r\n strokeWidth?: number;\r\n }>;\r\n width: number;\r\n height: number;\r\n padding: number;\r\n onClick?: MouseEventHandler;\r\n className?: string;\r\n}) => {\r\n return (\r\n {})}\r\n className={[styles.container, props.className ?? \"\"].join(\" \")}\r\n >\r\n \r\n \r\n \r\n {props.charts.map((t, i) => {\r\n const maxY = Math.max(\r\n ..._.flatten(\r\n props.charts\r\n .filter((g) => g.group === t.group)\r\n .map((g) => g.data)\r\n )\r\n );\r\n\r\n return t.type === \"bar\" ? (\r\n \r\n ) : (\r\n \r\n );\r\n })}\r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default MiniChart;\r\n","import React, { PropsWithChildren, useEffect } from \"react\";\r\nimport styles from \"./modal.module.scss\";\r\nconst Modal = (\r\n props: PropsWithChildren<{ onRequestClose: () => void; title?: string }>\r\n) => {\r\n // Use useEffect to add an event listener to the document\r\n useEffect(() => {\r\n function onKeyDown(event: KeyboardEvent) {\r\n if (event.key === \"Enter\" || event.key === \"Escape\") {\r\n props.onRequestClose();\r\n }\r\n }\r\n\r\n // Prevent scolling\r\n document.body.style.overflow = \"hidden\";\r\n document.addEventListener(\"keydown\", onKeyDown);\r\n\r\n // Clear things up when unmounting this component\r\n return () => {\r\n document.body.style.overflow = \"visible\";\r\n document.removeEventListener(\"keydown\", onKeyDown);\r\n };\r\n });\r\n\r\n const onBgClick = (e: React.MouseEvent) => {\r\n if (e.currentTarget === e.target) props.onRequestClose();\r\n };\r\n\r\n return (\r\n
\r\n
\r\n {\r\n props.onRequestClose();\r\n e.stopPropagation();\r\n }}\r\n >\r\n \r\n
\r\n {props.title ?

{props.title}

: <>}\r\n
{props.children}
\r\n
\r\n \r\n );\r\n};\r\n\r\nexport default Modal;\r\n","import React, { useEffect, useState } from \"react\";\r\nimport styles from \"./pagination.module.scss\";\r\nimport { ArrayElement } from \"../../types/helper\";\r\n\r\ninterface PageItem {\r\n page: number;\r\n type: \"page\" | \"next\" | \"prev\";\r\n}\r\n\r\nconst Pagination = (props: {\r\n pageItemShown?: number;\r\n onChange: (page: number) => void;\r\n currentPage?: number;\r\n totalRow: number;\r\n pageSize: number;\r\n containerClass?: string;\r\n}) => {\r\n const { pageItemShown = 5 } = props;\r\n\r\n const [state, setState] = useState<{ currentPage: number }>({\r\n currentPage: props.currentPage ?? 1,\r\n });\r\n\r\n const onPageChanged = (page: number) =>\r\n setState({\r\n currentPage: page,\r\n });\r\n\r\n useEffect(() => {\r\n setState({\r\n ...state,\r\n currentPage: props.currentPage ?? 1,\r\n });\r\n }, [props.pageSize, props.totalRow]);\r\n\r\n useEffect(() => {\r\n setState({\r\n ...state,\r\n currentPage: props.currentPage ?? 1,\r\n });\r\n }, [props.currentPage]);\r\n\r\n useEffect(() => {\r\n props.onChange(state.currentPage);\r\n }, [state.currentPage]);\r\n\r\n if (props.totalRow <= props.pageSize)\r\n return
;\r\n\r\n const pageCount = Math.ceil(props.totalRow / props.pageSize);\r\n\r\n const showPrev = state.currentPage != 1;\r\n const showNext = state.currentPage < pageCount;\r\n\r\n const shown: PageItem[] = [];\r\n\r\n const start = Math.max(1, state.currentPage - Math.floor(pageItemShown / 2));\r\n const end = Math.min(\r\n pageCount,\r\n state.currentPage + Math.floor(pageItemShown / 2)\r\n );\r\n\r\n if (showPrev) shown.push({ page: state.currentPage - 1, type: \"prev\" });\r\n for (let index = start; index <= end; index++) {\r\n shown.push({ page: index, type: \"page\" });\r\n }\r\n if (showNext) shown.push({ page: state.currentPage + 1, type: \"next\" });\r\n\r\n const renderItem = (item: ArrayElement) => {\r\n switch (item.type) {\r\n case \"prev\":\r\n return
{\"<\"}
;\r\n case \"next\":\r\n return
{\">\"}
;\r\n case \"page\":\r\n default:\r\n return (\r\n \r\n {item.page}\r\n \r\n );\r\n }\r\n };\r\n\r\n return (\r\n
\r\n
\r\n {shown.map((t) => (\r\n
onPageChanged(t.page)}>\r\n {renderItem(t)}\r\n
\r\n ))}\r\n
\r\n
\r\n );\r\n};\r\n\r\nexport default Pagination;\r\n","import React, {\r\n useEffect,\r\n useState,\r\n PropsWithChildren,\r\n ReactNode,\r\n} from \"react\";\r\nimport styles from \"./searchLayout.module.scss\";\r\nimport Modal from \"../modal/modal\";\r\nimport LinkButton from \"../linkButton/linkButton\";\r\nimport constants from \"../../constants\";\r\nimport { useSelector } from \"react-redux\";\r\nimport { SearchParameters } from \"../../types/state\";\r\n\r\nconst SearchLayout = (\r\n props: PropsWithChildren<{\r\n left?: ReactNode;\r\n right?: ReactNode;\r\n showFilter: boolean;\r\n closeFilter: () => void;\r\n }>\r\n) => {\r\n const [showHopAlert, setShow] = useState(false);\r\n const [showHidePrice, setHidePriceShow] = useState(false);\r\n const hasHopAlert: boolean = useSelector(\r\n (state: any) => state.parameter.parameters.HasHopAlert\r\n );\r\n\r\n const parameters: SearchParameters = useSelector(\r\n (state: any) => state.parameter.parameters\r\n );\r\n\r\n useEffect(() => {\r\n //TODO add conditional show\r\n const lastShown = parseInt(\r\n localStorage.getItem(constants.hopAlertIntervalStorageKey) ?? \"\"\r\n );\r\n\r\n if (\r\n (isNaN(lastShown) ||\r\n Date.now() - lastShown > constants.hopAlertInterval) &&\r\n hasHopAlert === false\r\n )\r\n setTimeout(() => {\r\n setShow(true);\r\n localStorage.setItem(\r\n constants.hopAlertIntervalStorageKey,\r\n Date.now().toString()\r\n );\r\n }, 700);\r\n }, [hasHopAlert]);\r\n\r\n useEffect(() => {\r\n if ((parameters?.HiddenPrice ?? false) && !showHidePrice) {\r\n setTimeout(() => {\r\n setHidePriceShow(true);\r\n }, 700);\r\n }\r\n }, [parameters]);\r\n return (\r\n
\r\n
\r\n \r\n
{props.left}
\r\n {props.showFilter ? (\r\n {\r\n if (props.showFilter && e.target === e.currentTarget) {\r\n props.closeFilter();\r\n e.preventDefault();\r\n }\r\n }}\r\n >
\r\n ) : null}\r\n
\r\n
{props.children}
\r\n
{props.right}
\r\n \r\n setShow(false)}\r\n >\r\n

\r\n Get notified when new listings match your brand, price, and\r\n packaging preferences.\r\n

\r\n \r\n Get Hop Alerts\r\n \r\n \r\n \r\n setHidePriceShow(false)}\r\n >\r\n

\r\n \r\n Want to See Prices?\r\n

\r\n

\r\n Your company doesn't have enough active listings or any recent\r\n sales. Create more listings or pay a fee to view\r\n market data.\r\n

\r\n \r\n Contact Support\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n Every variety, every brand, every supplier\r\n
\r\n
ONE STOP. ALL THE HOPS.
\r\n

\r\n Compare prices, reviews, shipping speeds, reliability, inventory\r\n levels & more on over a million pounds, shipping direct from every\r\n hop merchant & grower in the U.S.\r\n

\r\n
\r\n
\r\n \r\n );\r\n};\r\n\r\nexport default SearchLayout;\r\n","export default {\r\n hopAlertInterval: 1000 * 60 * 60 * 24 * 30, // 30 days\r\n hopAlertIntervalStorageKey: \"listings_hopalert_modal\",\r\n testimonialInterval: 10 * 1000,\r\n topMoversInterval: 15 * 1000,\r\n showChartStorageKey: \"listings_show_chart\",\r\n mobileBreakpoint: 711,\r\n tabletBreakpoint: 1280,\r\n analyticsStorageKey: \"analytics_items\",\r\n};\r\n","import { Bar, Chart, Line } from \"react-chartjs-2\";\r\nimport { ChartData } from \"chart.js\";\r\nimport styles from \"./mainChart.module.scss\";\r\nimport Card from \"../../../components/card/card\";\r\nimport {\r\n ChartInterval,\r\n ChartValue,\r\n SummaryType,\r\n VarietyOption,\r\n VarietyTeaserChartResponse,\r\n} from \"../../../types/apiTypes\";\r\nimport format from \"date-fns/format\";\r\nimport { getRemInPx, thousandSeparator } from \"../../../utils/generalHelper\";\r\nimport addDays from \"date-fns/addDays\";\r\n\r\nconst MainChart = (props: {\r\n className?: string;\r\n data: VarietyTeaserChartResponse;\r\n isLoading: boolean;\r\n}) => {\r\n const data: ChartData<\"line\", (number | null)[], unknown> = {\r\n labels: (props.data?.Labels ?? []).map((t) => format(new Date(t), \"MMM d\")),\r\n datasets:\r\n props.data?.Datasets?.map((t) => {\r\n const isPrice = (\r\n [ChartValue.AvgPricePurchased] as (ChartValue | undefined)[]\r\n ).includes(t.VarietyOption.ChartValue);\r\n\r\n return {\r\n label: t.VarietyOption.PassThroughParameter.label,\r\n data: t.Dataset,\r\n pointStyle: \"line\",\r\n borderWidth: 1.5,\r\n yAxisID: isPrice ? \"y\" : \"y1\",\r\n type: isPrice ? \"line\" : (\"bar\" as any),\r\n borderColor: isPrice\r\n ? t.VarietyOption.PassThroughParameter.color\r\n : undefined,\r\n backgroundColor: isPrice\r\n ? undefined\r\n : t.VarietyOption.PassThroughParameter.color,\r\n };\r\n }) ?? [],\r\n };\r\n\r\n const parameter = props.data\r\n ? {\r\n optionState: {\r\n interval: ChartInterval.Daily,\r\n range: \"4\",\r\n startRange: format(addDays(new Date(), -14), \"yyyy-MM-dd\"),\r\n endRange: format(new Date(), \"yyyy-MM-dd\"),\r\n colorCounter: 0,\r\n },\r\n varietyOptionsState: [\r\n {\r\n Variety: {\r\n CropYear: props.data.VarietyOption.Variety.CropYear,\r\n TypeId: props.data.VarietyOption.Variety.TypeId,\r\n VarietyId: props.data.VarietyOption.Variety.VarietyId,\r\n IsAhp: props.data.VarietyOption.Variety.IsAhp,\r\n },\r\n ChartValue: ChartValue.AvgPricePurchased,\r\n SumType: SummaryType.Average,\r\n color: \"#faad14\",\r\n style: \"line\",\r\n },\r\n {\r\n Variety: {\r\n CropYear: props.data.VarietyOption.Variety.CropYear,\r\n TypeId: props.data.VarietyOption.Variety.TypeId,\r\n VarietyId: props.data.VarietyOption.Variety.VarietyId,\r\n IsAhp: props.data.VarietyOption.Variety.IsAhp,\r\n },\r\n ChartValue: ChartValue.LbsPurchased,\r\n SumType: SummaryType.Sum,\r\n color: \"#a0d911\",\r\n style: \"bar\",\r\n },\r\n {\r\n Variety: {\r\n CropYear: props.data.VarietyOption.Variety.CropYear,\r\n TypeId: props.data.VarietyOption.Variety.TypeId,\r\n VarietyId: props.data.VarietyOption.Variety.VarietyId,\r\n IsAhp: props.data.VarietyOption.Variety.IsAhp,\r\n },\r\n ChartValue: ChartValue.LbsListedActive,\r\n SumType: SummaryType.Sum,\r\n color: \"#3f6600\",\r\n style: \"bar\",\r\n },\r\n ],\r\n }\r\n : {};\r\n\r\n const analyticUrl = btoa(JSON.stringify(parameter));\r\n\r\n return (\r\n
\r\n
\r\n {props.data?.Label}{\" \"}\r\n \r\n \r\n \r\n
\r\n
\r\n {\r\n if (item.dataset.yAxisID === \"y\") {\r\n return \"$\" + item.formattedValue;\r\n } else {\r\n if ((item.raw as number) >= 1000)\r\n return (\r\n parseFloat(((item.raw as number) / 1000).toFixed(1)) +\r\n \"k lbs\"\r\n );\r\n else return (item.raw as number) + \" lbs\";\r\n }\r\n },\r\n },\r\n },\r\n },\r\n scales: {\r\n y: {\r\n type: \"linear\" as const,\r\n display: true,\r\n position: \"left\" as const,\r\n ticks: {\r\n callback: (value) => {\r\n return \"$\" + value;\r\n },\r\n font: {\r\n size: getRemInPx(0.7),\r\n },\r\n },\r\n },\r\n y1: {\r\n type: \"linear\" as const,\r\n display: true,\r\n position: \"right\" as const,\r\n grid: {\r\n drawOnChartArea: false,\r\n },\r\n ticks: {\r\n callback: (value) => {\r\n if ((value as number) >= 1000)\r\n return (\r\n thousandSeparator((value as number) / 1000) + \"k lbs\"\r\n );\r\n else return value + \" lbs\";\r\n },\r\n font: {\r\n size: getRemInPx(0.7),\r\n },\r\n },\r\n },\r\n },\r\n }}\r\n updateMode=\"resize\"\r\n />\r\n
\r\n
\r\n );\r\n};\r\n\r\nexport default MainChart;\r\n","import _ from \"lodash\";\r\nimport Card from \"../../../components/card/card\";\r\nimport MiniChart from \"../../../components/miniChart/miniChart\";\r\nimport { MoversDataset } from \"../../../types/apiTypes\";\r\nimport styles from \"./topMovers.module.scss\";\r\nimport { thousandSeparator } from \"../../../utils/generalHelper\";\r\n\r\nimport ContentLoader from \"react-content-loader\";\r\n\r\nconst Loader = (props: { className?: string }) => (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n);\r\n\r\nconst MoverItem = (props: {\r\n data: MoversDataset;\r\n color: string;\r\n format?: string;\r\n showValue: boolean;\r\n}) => {\r\n return (\r\n
\r\n
\r\n
\r\n \r\n {props.data.VarietyOption.Variety.CropYear}{\" \"}\r\n {props.data.VarietyName.substring(\r\n 0,\r\n Math.min(20, props.data.VarietyName.length - 1)\r\n )}\r\n {props.data.VarietyName.length > 20 ? \"...\" : \"\"}{\" \"}\r\n \r\n ({props.data.TypeName})\r\n
\r\n {props.showValue ? (\r\n
\r\n {(props.format ?? \"{0}\").replaceAll(\r\n \"{0}\",\r\n thousandSeparator(props.data.CurrentValue)\r\n )}\r\n
\r\n ) : null}\r\n
\r\n
\r\n \r\n = 0 ? styles.green : styles.red,\r\n ].join(\" \")}\r\n >\r\n {props.data.Percentage >= 0 ? \"+\" : \"-\"}\r\n {Math.abs(props.data.Percentage).toFixed(2)}%\r\n
\r\n
\r\n \r\n );\r\n};\r\n\r\nconst TopMovers = (props: {\r\n title: string;\r\n className?: string;\r\n gainers: MoversDataset[];\r\n losers: MoversDataset[];\r\n format?: string;\r\n defaultRows?: number;\r\n showValue: boolean;\r\n}) => {\r\n const gainers =\r\n props.gainers.length > 0\r\n ? props.gainers.map((t) => (\r\n
  • \r\n {\r\n \r\n }\r\n
  • \r\n ))\r\n : Array(props.defaultRows ?? 5)\r\n .fill(0)\r\n .map((v, i) => );\r\n\r\n const losers =\r\n props.gainers.length > 0\r\n ? props.losers.map((t) => (\r\n
  • \r\n {\r\n \r\n }\r\n
  • \r\n ))\r\n : Array(props.defaultRows ?? 5)\r\n .fill(0)\r\n .map((v, i) => );\r\n return (\r\n \r\n
    {props.title}
    \r\n
    \r\n
      {gainers}
    \r\n
    \r\n
      {losers}
    \r\n
    \r\n \r\n );\r\n};\r\n\r\nexport default TopMovers;\r\n","import React from \"react\";\r\nimport styles from \"./clearFilterItem.module.scss\";\r\n\r\nconst ClearFilterItem = (props: {\r\n appliedNumber: number;\r\n label?: string;\r\n onClear: () => void;\r\n title: string;\r\n}) => {\r\n return props.appliedNumber > 0 ? (\r\n
    \r\n {props.label ?? props.appliedNumber} applied\r\n \r\n \r\n \r\n
    \r\n ) : (\r\n
     
    \r\n );\r\n};\r\n\r\nexport default ClearFilterItem;\r\n","import { PropsWithChildren } from \"react\";\r\nimport styles from \"./communityPost.module.scss\";\r\nimport { RecentCommunityPost } from \"../../types/apiTypes\";\r\nimport formatDistance from \"date-fns/formatDistance\";\r\n\r\nconst CommunityPosts = (\r\n props: PropsWithChildren<{\r\n posts: RecentCommunityPost[];\r\n }>\r\n) => {\r\n return (\r\n
    \r\n {(props.posts ?? []).map((t) => (\r\n
    \r\n \r\n

    {t.Title}

    \r\n
    \r\n
    \r\n \r\n {formatDistance(new Date(t.CreateOnUtc), new Date(), {\r\n addSuffix: true,\r\n })}\r\n \r\n by\r\n {t.Author}\r\n
    \r\n

    {t.Text}...

    \r\n
    \r\n
    \r\n \r\n {t.Comments}\r\n
    \r\n
    \r\n {t.MinReadTime + \" \"}min{t.MinReadTime > 1 ? \"s\" : \"\"} read\r\n
    \r\n
    \r\n
    \r\n ))}\r\n
    \r\n );\r\n};\r\n\r\nexport default CommunityPosts;\r\n","import React, { useState } from \"react\";\r\nimport { Parameter, Parameters } from \"../../types/state\";\r\nimport styles from \"./filterItems.module.scss\";\r\nimport Modal from \"../../components/modal/modal\";\r\nimport * as _ from \"lodash\";\r\nimport ClearFilterItem from \"./clearFilterItem\";\r\n\r\nconst FilterCheckboxItems = (props: {\r\n parameters: Parameters;\r\n selected: any[];\r\n onChange: (\r\n id: string | number,\r\n checked: boolean,\r\n only: boolean | undefined,\r\n param: Parameter\r\n ) => void;\r\n title: string;\r\n onClear: () => void;\r\n onLoadMore: () => void;\r\n take?: number;\r\n}) => {\r\n const [isModalOpen, toggleModal] = useState(false);\r\n const [search, setSearch] = useState(\"\");\r\n\r\n const grouped = props.parameters?.Parameters\r\n ? _.sortBy(\r\n _.chain(props.parameters.Parameters)\r\n .filter(\r\n (t) =>\r\n !search.trim() ||\r\n t.Text.toLowerCase().includes(search.toLowerCase().trim())\r\n )\r\n .groupBy((t) => t.Group ?? \"\")\r\n .entries()\r\n .value(),\r\n (t) => t[0]\r\n )\r\n : [];\r\n\r\n let slice = props.parameters?.Parameters?.slice(0, props.take ?? 6) ?? [];\r\n\r\n if (props.selected.length > 0) {\r\n let notInSlice = props.selected.filter(\r\n (t) =>\r\n slice.findIndex(\r\n (s) => s.Value === t || (s.Value === t.id && s.Type === t.type)\r\n ) < 0\r\n );\r\n if (notInSlice.length > 0) {\r\n slice.unshift(\r\n ...(props.parameters?.Parameters ?? []).filter(\r\n (t) =>\r\n notInSlice.findIndex(\r\n (s) => t.Value === s || (t.Value === s.id && t.Type === s.type)\r\n ) >= 0\r\n )\r\n );\r\n }\r\n }\r\n\r\n return (\r\n <>\r\n {isModalOpen ? (\r\n {\r\n toggleModal(false);\r\n setSearch(\"\");\r\n }}\r\n >\r\n
    \r\n setSearch(e.target.value)}\r\n />\r\n
    \r\n {grouped.map(([group, members]) => (\r\n
    \r\n

    {group}

    \r\n
    \r\n {_.sortBy(members ?? [], (t) => t.Text).map((t) => (\r\n \r\n ))}\r\n
    \r\n
    \r\n ))}\r\n
    \r\n
    \r\n \r\n ) : (\r\n <>\r\n )}\r\n
    \r\n \r\n {slice.map((t) => (\r\n
    \r\n \r\n\r\n {\r\n props.onChange(t.Value, true, true, t);\r\n evt.stopPropagation();\r\n }}\r\n >\r\n only\r\n \r\n
    \r\n ))}\r\n {props.parameters?.TotalCount > 6 ? (\r\n {\r\n props.onLoadMore();\r\n toggleModal(true);\r\n }}\r\n >\r\n +{props.parameters?.TotalCount} More\r\n
    \r\n ) : (\r\n <>\r\n )}\r\n \r\n \r\n );\r\n};\r\n\r\nexport default FilterCheckboxItems;\r\n","import React, { PropsWithChildren, useEffect, useState } from \"react\";\r\nimport styles from \"./filterSection.module.scss\";\r\nimport Section from \"./section\";\r\nimport { useSelector, useDispatch } from \"react-redux\";\r\nimport {\r\n AppliedParameters,\r\n Parameter,\r\n RangeSelectorParameter,\r\n SearchParameters,\r\n} from \"../../types/state\";\r\nimport FilterCheckboxItems from \"./filterItems\";\r\nimport {\r\n applyFilter,\r\n clearFilter,\r\n fullListFetch,\r\n initialApplied,\r\n} from \"../../reducer/search/parameterReducer\";\r\nimport {} from \"react-redux\";\r\nimport SellerScoreFilter from \"./sellerScore\";\r\nimport LotRatingFilter from \"./lotRating\";\r\nimport SliderFilter from \"./sliderFilter\";\r\nimport _ from \"lodash\";\r\nimport LinkButton from \"../../components/linkButton/linkButton\";\r\n\r\nconst FilterSection = (\r\n props: PropsWithChildren<{ onFilterChange: (filter: string[]) => void }>\r\n) => {\r\n const parameters: SearchParameters = useSelector(\r\n (state: any) => state.parameter.parameters\r\n );\r\n const applied: AppliedParameters = useSelector(\r\n (state: any) => state.parameter.applied\r\n );\r\n const query: string = useSelector((state: any) => state.parameter.query);\r\n\r\n const dispatch = useDispatch();\r\n\r\n const onChecked =\r\n (key: keyof AppliedParameters) =>\r\n (id: T, checked: boolean, only: boolean = false) => {\r\n dispatch(\r\n applyFilter({\r\n key: key,\r\n value: only\r\n ? [id]\r\n : ([\r\n ...((applied[key] as Array) ?? new Array()).filter(\r\n (t) => t !== id\r\n ),\r\n checked ? id : null,\r\n ].filter((t) => !!t || t === 0) as Array),\r\n only,\r\n })\r\n );\r\n };\r\n\r\n const onRangeSelected =\r\n (key: keyof AppliedParameters) =>\r\n (value: number[], only: boolean = false) => {\r\n dispatch(\r\n applyFilter({\r\n key: key,\r\n value: value,\r\n only,\r\n })\r\n );\r\n };\r\n\r\n const onSliderChanged =\r\n (key: keyof AppliedParameters) =>\r\n (value: number, only: boolean = false) => {\r\n dispatch(\r\n applyFilter({\r\n key: key,\r\n value: value,\r\n only,\r\n })\r\n );\r\n };\r\n\r\n const onClear =\r\n (key: keyof AppliedParameters, value: any = []) =>\r\n () => {\r\n dispatch(\r\n applyFilter({\r\n key: key,\r\n value: value,\r\n })\r\n );\r\n };\r\n\r\n const onLoadMore = (key: keyof SearchParameters) => () => {\r\n dispatch(fullListFetch(key));\r\n };\r\n\r\n const onTypeCleared = () => {\r\n dispatch(\r\n applyFilter({\r\n key: \"ahp_type_id\",\r\n value: [],\r\n })\r\n );\r\n dispatch(\r\n applyFilter({\r\n key: \"type_id\",\r\n value: [],\r\n })\r\n );\r\n };\r\n\r\n const onTypeChecked = (\r\n id: string | number,\r\n checked: boolean,\r\n only: boolean = false,\r\n param: Parameter\r\n ) => {\r\n if (!param.Type) return;\r\n dispatch(\r\n applyFilter({\r\n key: param.Type,\r\n value: only\r\n ? [id]\r\n : ([\r\n ...(\r\n (applied[param.Type] as Array) ?? new Array()\r\n ).filter((t) => t !== id),\r\n checked ? id : null,\r\n ].filter((t) => !!t || t === 0) as Array),\r\n only,\r\n })\r\n );\r\n };\r\n\r\n return (\r\n
    \r\n
    \r\n {!(parameters?.HiddenPrice ?? true) ? (\r\n \r\n \r\n {\" \"}Get Hop Alerts\r\n \r\n ) : null}\r\n
    \r\n\r\n {_.isEqual(initialApplied, applied) && !query.trim() ? (\r\n
     
    \r\n ) : (\r\n
    dispatch(clearFilter())}>\r\n clear all filters\r\n \r\n
    \r\n )}\r\n\r\n
    \r\n ({ id: t, type: \"type_id\" })),\r\n ...applied.ahp_type_id.map((t) => ({ id: t, type: \"ahp_type_id\" })),\r\n ]}\r\n onLoadMore={onLoadMore(\"Types\")}\r\n take={6}\r\n />\r\n
    \r\n\r\n
    \r\n \r\n
    \r\n\r\n
    \r\n \r\n
    \r\n\r\n
    \r\n \r\n
    \r\n\r\n
    \r\n \r\n
    \r\n\r\n
    \r\n \r\n
    \r\n\r\n
    \r\n \r\n
    \r\n\r\n
    \r\n {}}\r\n />\r\n
    \r\n\r\n
    \r\n {}}\r\n />\r\n
    \r\n\r\n {parameters.Longitude && parameters.Latitude ? (\r\n
    \r\n \r\n
    \r\n ) : (\r\n <>\r\n )}\r\n\r\n
    \r\n \r\n
    \r\n\r\n
    \r\n \r\n
    \r\n\r\n
    \r\n {}}\r\n />\r\n
    \r\n
    \r\n );\r\n};\r\n\r\nexport default FilterSection;\r\n","import React, {\r\n useCallback,\r\n useEffect,\r\n useMemo,\r\n useRef,\r\n useState,\r\n} from \"react\";\r\nimport { createRoot } from \"react-dom/client\";\r\nimport \"../../globalStyles/search.scss\";\r\nimport styles from \"./index.module.scss\";\r\nimport { Provider, useSelector, useDispatch } from \"react-redux\";\r\nimport { configureStore } from \"@reduxjs/toolkit\";\r\nimport searchReducer, { searchFetch } from \"../../reducer/search/searchReducer\";\r\nimport createSagaMiddleware from \"redux-saga\";\r\nimport searchSaga from \"../../sagas/search/searchSagas\";\r\nimport {\r\n AppliedParameters,\r\n Hit,\r\n RangeSelectorParameter,\r\n SearchParameters,\r\n SearchQuery,\r\n SearchResponse,\r\n SearchResult,\r\n} from \"../../types/state\";\r\nimport SearchLayout from \"../../components/searchLayouts/searchLayout\";\r\nimport {\r\n ChartInterval,\r\n ChartValue,\r\n SortOptions,\r\n SortParameter,\r\n SummaryType,\r\n VarietyTeaserChartResponse,\r\n VarietyTopMoversResponse,\r\n VarietyTradeChartRequest,\r\n VarietyTradeChartResponse,\r\n} from \"../../types/apiTypes\";\r\nimport { thousandSeparator } from \"../../utils/generalHelper\";\r\nimport Pagination from \"../../components/pagination/pagination\";\r\nimport FilterSection from \"./filterSection\";\r\nimport parameterReducer, {\r\n applySort,\r\n changePage,\r\n changeQuery,\r\n init,\r\n searchParameterFetch,\r\n} from \"../../reducer/search/parameterReducer\";\r\nimport parameterSaga from \"../../sagas/search/parametersSagas\";\r\nimport DelayedTextInput from \"../../components/delayedTextInput\";\r\nimport _, { filter, flatten } from \"lodash\";\r\nimport ToolSection from \"./toolsSection\";\r\nimport contentSaga from \"../../sagas/search/contentSagas\";\r\nimport contentReducer from \"../../reducer/search/contentReducer\";\r\nimport {\r\n useNavigate,\r\n createBrowserRouter,\r\n RouterProvider,\r\n useLocation,\r\n} from \"react-router-dom\";\r\nimport { GenerateQuery, ParseQuery, pageSize, sortOptions } from \"./utils\";\r\nimport Testimonials from \"./testimonials\";\r\nimport MainChart from \"./chartComponents/mainChart\";\r\nimport {\r\n Chart as ChartJS,\r\n BarElement,\r\n CategoryScale,\r\n Legend,\r\n LinearScale,\r\n Title,\r\n Tooltip,\r\n PointElement,\r\n LineElement,\r\n} from \"chart.js\";\r\nimport MiniChart from \"../../components/miniChart/miniChart\";\r\nimport chartReducer, {\r\n mainChartFetch,\r\n miniChartFetch,\r\n topMoverFetch,\r\n} from \"../../reducer/search/chartReducer\";\r\nimport format from \"date-fns/format\";\r\nimport formatISO from \"date-fns/formatISO\";\r\nimport add from \"date-fns/add\";\r\nimport addMonths from \"date-fns/addMonths\";\r\nimport chartSaga from \"../../sagas/search/chartSagas\";\r\nimport TopMovers from \"./chartComponents/topMovers\";\r\nimport OutsideAlerter from \"../../components/outsideAlerter\";\r\nimport Card from \"../../components/card/card\";\r\nimport addDays from \"date-fns/addDays\";\r\nimport startOfWeek from \"date-fns/startOfWeek\";\r\nimport endOfWeek from \"date-fns/endOfWeek\";\r\nimport constants from \"../../constants\";\r\nimport ContentLoader from \"react-content-loader\";\r\nimport { varietyTeaserChart } from \"../../api/chart/chartAPI\";\r\n\r\nChartJS.register(\r\n CategoryScale,\r\n LinearScale,\r\n BarElement,\r\n Title,\r\n Tooltip,\r\n Legend,\r\n PointElement,\r\n LineElement\r\n);\r\n\r\nconst saga = createSagaMiddleware();\r\nconst store = configureStore({\r\n reducer: {\r\n chart: chartReducer,\r\n search: searchReducer,\r\n parameter: parameterReducer,\r\n content: contentReducer,\r\n },\r\n middleware: [saga],\r\n});\r\n\r\nsaga.run(searchSaga);\r\nsaga.run(parameterSaga);\r\nsaga.run(contentSaga);\r\nsaga.run(chartSaga);\r\n\r\nvar txtSearch = document.getElementById(\r\n \"listing-text-search\"\r\n) as HTMLInputElement;\r\nvar btnSearch = document.getElementById(\r\n \"listing-text-search-submit\"\r\n) as HTMLInputElement;\r\n\r\nconst ListingSearch = () => {\r\n const [topMoverCarousel, setTopMoverCarousel] = useState(0);\r\n const [showFilter, toggleFilter] = useState(false);\r\n const [showChart, toggleShowChart] = useState(\r\n () =>\r\n (localStorage.getItem(constants.showChartStorageKey) ?? \"true\") === \"true\"\r\n );\r\n const [miniChartTip, setMiniChartTip] = useState<{\r\n show: boolean;\r\n position: [number, number];\r\n data?: Hit;\r\n }>({\r\n show: false,\r\n position: [-1, -1],\r\n });\r\n\r\n const results: SearchResponse = useSelector(\r\n (state: any) => state.search.result\r\n );\r\n const appliedFilters: AppliedParameters = useSelector(\r\n (state: any) => state.parameter.applied\r\n );\r\n const parameters: SearchParameters = useSelector(\r\n (state: any) => state.parameter.parameters\r\n );\r\n\r\n const sortState: SortOptions = useSelector(\r\n (state: any) => state.parameter.sort\r\n );\r\n\r\n const debugState: boolean = useSelector(\r\n (state: any) => state.parameter.debug\r\n );\r\n\r\n const pageState: number = useSelector((state: any) => state.parameter.page);\r\n\r\n const queryState: string = useSelector((state: any) => state.parameter.query);\r\n const readyState: boolean = useSelector(\r\n (state: any) => state.parameter.ready\r\n );\r\n\r\n const miniChartState: VarietyTradeChartResponse = useSelector(\r\n (state: any) => state.chart.miniCharts\r\n );\r\n const miniChartLoading: boolean = useSelector(\r\n (state: any) => state.chart.isMiniChartLoading\r\n );\r\n const topMoversState: VarietyTopMoversResponse = useSelector(\r\n (state: any) => state.chart.topMovers\r\n );\r\n const teaserChart: VarietyTeaserChartResponse = useSelector(\r\n (state: any) => state.chart.mainCharts\r\n );\r\n const isTeaserLoading: boolean = useSelector(\r\n (state: any) => state.chart.isTeaserLoading\r\n );\r\n const isMobile = window.innerWidth <= constants.mobileBreakpoint;\r\n const topMovers = [\r\n ,\r\n ,\r\n isMobile ? (\r\n \r\n ) : null,\r\n ].filter(Boolean);\r\n\r\n const dispatch = useDispatch();\r\n const navigate = useNavigate();\r\n const location = useLocation();\r\n\r\n const onPageChanged = (page: number) => dispatch(changePage(page));\r\n\r\n const debouncedSearch = useCallback(\r\n _.debounce(async (query: string) => {\r\n dispatch(changeQuery(query));\r\n }, 500),\r\n []\r\n );\r\n\r\n useEffect(() => {\r\n const btnSearchListener = (e: Event) => {\r\n e.preventDefault();\r\n txtSearch.blur();\r\n dispatch(changeQuery(txtSearch.value));\r\n };\r\n\r\n const txtSearchListener = () => {\r\n debouncedSearch(txtSearch.value);\r\n };\r\n\r\n if (btnSearch) btnSearch.addEventListener(\"click\", btnSearchListener);\r\n if (txtSearch) txtSearch.addEventListener(\"keyup\", txtSearchListener);\r\n\r\n dispatch(searchParameterFetch());\r\n dispatch(init(ParseQuery(location.search)));\r\n dispatch(\r\n topMoverFetch({\r\n StartTime: format(\r\n endOfWeek(addMonths(new Date(), -1), { weekStartsOn: 0 }),\r\n \"yyyy-MM-dd\"\r\n ),\r\n EndTime: format(new Date(), \"yyyy-MM-dd\"),\r\n })\r\n );\r\n dispatch(\r\n mainChartFetch({\r\n VolumeEnd: format(new Date(), \"yyyy-MM-dd\"),\r\n VolumeStart: format(addDays(new Date(), -7), \"yyyy-MM-dd\"),\r\n ChartEnd: format(new Date(), \"yyyy-MM-dd\"),\r\n ChartStart: format(addDays(new Date(), -14), \"yyyy-MM-dd\"),\r\n })\r\n );\r\n\r\n const interval = setInterval(() => {\r\n setTopMoverCarousel(\r\n (prevCounter) => (prevCounter + 1) % topMovers.length\r\n );\r\n }, constants.topMoversInterval);\r\n\r\n return () => {\r\n if (btnSearch) {\r\n btnSearch.removeEventListener(\"click\", btnSearchListener);\r\n }\r\n if (txtSearch) txtSearch.removeEventListener(\"keyup\", txtSearchListener);\r\n clearInterval(interval);\r\n };\r\n }, []);\r\n\r\n useEffect(() => {\r\n localStorage.setItem(\r\n constants.showChartStorageKey,\r\n JSON.stringify(showChart)\r\n );\r\n }, [showChart]);\r\n\r\n useEffect(() => {\r\n return () => {\r\n debouncedSearch.cancel();\r\n };\r\n }, [debouncedSearch]);\r\n\r\n useEffect(() => {\r\n if (readyState) {\r\n dispatch(\r\n searchFetch({\r\n applied: {\r\n query: queryState,\r\n sort: sortOptions[sortState].parameter,\r\n from: (pageState - 1) * pageSize,\r\n size: pageSize,\r\n filters: appliedFilters,\r\n location:\r\n !parameters.Longitude || !parameters.Latitude\r\n ? null\r\n : [parameters.Longitude, parameters.Latitude],\r\n },\r\n references: {\r\n seller_rating: parameters.SellerRatings,\r\n rating: parameters.LotRatings,\r\n },\r\n })\r\n );\r\n txtSearch.value = queryState;\r\n navigate(\r\n location.pathname +\r\n \"?\" +\r\n GenerateQuery({\r\n applied: appliedFilters,\r\n page: pageState,\r\n sort: sortState,\r\n query: queryState,\r\n debug: debugState,\r\n }),\r\n {\r\n replace: true,\r\n }\r\n );\r\n }\r\n }, [\r\n queryState,\r\n sortState,\r\n pageState,\r\n appliedFilters,\r\n readyState,\r\n debugState,\r\n parameters.Longitude,\r\n parameters.Latitude,\r\n parameters.UserId,\r\n ]);\r\n\r\n useEffect(() => {\r\n if (!parameters.IsAdmin) return;\r\n if (readyState && results?.hits?.hits?.length > 0) {\r\n dispatch(\r\n miniChartFetch({\r\n StartTime: format(\r\n endOfWeek(addMonths(new Date(), -1), { weekStartsOn: 0 }),\r\n \"yyyy-MM-dd\"\r\n ),\r\n EndTime: format(new Date(), \"yyyy-MM-dd\"),\r\n Interval: ChartInterval.Weekly,\r\n Varieties: flatten(\r\n results.hits.hits.map((t) => [\r\n {\r\n ChartValue: ChartValue.AvgPricePurchased,\r\n SumType: SummaryType.Average,\r\n Variety: {\r\n VarietyId: t._source.variety_id,\r\n CropYear: t._source.year,\r\n TypeId: t._source.ahp_type_id ?? t._source.type_id,\r\n IsAhp: !!t._source.ahp_type_id,\r\n },\r\n },\r\n {\r\n ChartValue: ChartValue.LbsListedActive,\r\n SumType: SummaryType.Sum,\r\n Variety: {\r\n VarietyId: t._source.variety_id,\r\n CropYear: t._source.year,\r\n TypeId: t._source.ahp_type_id ?? t._source.type_id,\r\n IsAhp: !!t._source.ahp_type_id,\r\n },\r\n },\r\n ])\r\n ),\r\n })\r\n );\r\n }\r\n }, [results]);\r\n\r\n let totalWeightResult = results?.aggregations?.total_weight?.value ?? 0;\r\n let totalPageWeight =\r\n results?.hits?.hits.reduce(\r\n (prev, curr) =>\r\n prev + curr._source.unit_weight_lbs * curr._source.remaining,\r\n 0\r\n ) ?? 0;\r\n\r\n const pageItems: { type: \"listing\" | \"testimonies\"; data?: Hit }[] = (\r\n results?.hits?.hits ?? []\r\n ).map((t) => ({ type: \"listing\", data: t }));\r\n\r\n if (pageItems.length > 0) {\r\n pageItems.splice(Math.min(pageItems.length, 6), 0, { type: \"testimonies\" });\r\n }\r\n\r\n const onMiniChartClick = (\r\n evt: React.MouseEvent,\r\n data: Hit\r\n ) => {\r\n evt.stopPropagation();\r\n evt.preventDefault();\r\n\r\n setMiniChartTip({\r\n position: [evt.pageX, evt.pageY],\r\n show: !miniChartTip.show,\r\n data,\r\n });\r\n };\r\n\r\n const onMiniChartClose = (\r\n evt: React.MouseEvent\r\n ) => {\r\n evt.stopPropagation();\r\n evt.preventDefault();\r\n\r\n setMiniChartTip({\r\n position: [-1, -1],\r\n show: false,\r\n });\r\n };\r\n\r\n const onToggleChart = () => {\r\n toggleShowChart((prev) => !prev);\r\n };\r\n\r\n const getChartParam = (item: Hit) => {\r\n const parameter = {\r\n optionState: {\r\n interval: ChartInterval.Weekly,\r\n range: \"4\",\r\n startRange: format(\r\n endOfWeek(addMonths(new Date(), -1), { weekStartsOn: 0 }),\r\n \"yyyy-MM-dd\"\r\n ),\r\n endRange: format(new Date(), \"yyyy-MM-dd\"),\r\n colorCounter: 0,\r\n },\r\n varietyOptionsState: [\r\n {\r\n Variety: {\r\n CropYear: item._source.year,\r\n TypeId: item._source.ahp_type_id ?? item._source.type_id,\r\n VarietyId: item._source.variety_id,\r\n IsAhp: !!item._source.ahp_type_id,\r\n },\r\n ChartValue: ChartValue.AvgPricePurchased,\r\n SumType: SummaryType.Average,\r\n color: \"#faad14\",\r\n style: \"line\",\r\n },\r\n {\r\n Variety: {\r\n CropYear: item._source.year,\r\n TypeId: item._source.ahp_type_id ?? item._source.type_id,\r\n VarietyId: item._source.variety_id,\r\n IsAhp: !!item._source.ahp_type_id,\r\n },\r\n ChartValue: ChartValue.LbsListedActive,\r\n SumType: SummaryType.Sum,\r\n color: \"#3f6600\",\r\n style: \"bar\",\r\n },\r\n ],\r\n };\r\n return btoa(JSON.stringify(parameter));\r\n };\r\n\r\n const shouldShowCharts = parameters.ShouldShowChart ?? false;\r\n const loggedIn = !!parameters.UserId;\r\n const hidePrice = parameters?.HiddenPrice ?? true;\r\n return (\r\n {}} />}\r\n right={}\r\n showFilter={showFilter}\r\n closeFilter={() => toggleFilter(false)}\r\n >\r\n {shouldShowCharts &&\r\n miniChartTip.show &&\r\n !_.isUndefined(miniChartTip.data) ? (\r\n \r\n
    \r\n
    Inventory (lbs)\r\n
    \r\n
    \r\n
    Price\r\n
    \r\n \r\n \r\n See more detail\r\n \r\n \r\n ) : null}\r\n\r\n
    \r\n {shouldShowCharts ? (\r\n \r\n \r\n {showChart ? (\r\n <>\r\n {topMovers[topMoverCarousel]}\r\n {!isMobile ? (\r\n \r\n ) : null}\r\n \r\n ) : (\r\n
    \r\n charts\r\n
    \r\n )}\r\n \r\n ) : null}\r\n
    \r\n
    toggleFilter(true)}>\r\n filters\r\n
    \r\n
    \r\n \r\n {hidePrice ? \"**\" : results?.hits?.hits.length ?? 0} Results\r\n \r\n \r\n ({hidePrice ? \"***\" : thousandSeparator(totalPageWeight)} lbs)\r\n \r\n \r\n of {hidePrice ? \"**\" : results?.hits?.total?.value} Total\r\n Results \r\n \r\n \r\n ({hidePrice ? \"***\" : thousandSeparator(totalWeightResult)} lbs)\r\n \r\n
    \r\n
    \r\n Sort By:\r\n \r\n dispatch(applySort(e.target.value as SortOptions))\r\n }\r\n >\r\n {Object.entries(sortOptions)\r\n // exlcude geo distance options if user's location is not exist\r\n .filter(([, obj]) =>\r\n !parameters.Latitude || !parameters.Longitude\r\n ? obj.parameter.findIndex((t) => t._geo_distance) < 0\r\n : true\r\n )\r\n .map(([value, obj]) => (\r\n \r\n ))}\r\n \r\n
    \r\n
    \r\n {}\r\n
    \r\n {results?.hits?.hits.length ?? 0} Results\r\n \r\n ({thousandSeparator(totalPageWeight)} lbs)\r\n \r\n of {results?.hits?.total?.value} Total Results \r\n \r\n ({thousandSeparator(totalWeightResult)} lbs)\r\n \r\n
    \r\n
      \r\n {pageItems.map((t) => {\r\n if (t.type === \"listing\") {\r\n let price = t?.data?._source?.price?.toFixed(2) ?? \"0.00\";\r\n let digits = price.split(\".\");\r\n\r\n const pricePurchasedData = miniChartState?.Datasets?.find(\r\n (h) =>\r\n h.VarietyOption.Variety.VarietyId ===\r\n t?.data?._source?.variety_id &&\r\n h.VarietyOption.Variety.CropYear === t?.data?._source?.year &&\r\n h.VarietyOption.Variety.TypeId ===\r\n (t?.data?._source?.ahp_type_id ??\r\n t?.data?._source?.type_id) &&\r\n h.VarietyOption.Variety.IsAhp ===\r\n !!t?.data?._source?.ahp_type_id &&\r\n h.VarietyOption.ChartValue === ChartValue.AvgPricePurchased\r\n );\r\n\r\n const lbsListedActiveData = miniChartState?.Datasets?.find(\r\n (h) =>\r\n h.VarietyOption.Variety.VarietyId ===\r\n t?.data?._source?.variety_id &&\r\n h.VarietyOption.Variety.CropYear === t?.data?._source?.year &&\r\n h.VarietyOption.Variety.TypeId ===\r\n (t?.data?._source?.ahp_type_id ??\r\n t?.data?._source?.type_id) &&\r\n h.VarietyOption.Variety.IsAhp ===\r\n !!t?.data?._source?.ahp_type_id &&\r\n h.VarietyOption.ChartValue === ChartValue.LbsListedActive\r\n );\r\n\r\n const miniChart = !miniChartLoading ? (\r\n onMiniChartClick(evt, t.data as Hit)}\r\n charts={\r\n [\r\n lbsListedActiveData\r\n ? {\r\n type: \"bar\",\r\n data: lbsListedActiveData?.Dataset ?? [],\r\n color: \"#5d986f\",\r\n group: \"price\",\r\n }\r\n : null,\r\n pricePurchasedData\r\n ? {\r\n type: \"line\",\r\n data: pricePurchasedData?.Dataset ?? [],\r\n color: \"#ffa100\",\r\n group: \"lbs\",\r\n }\r\n : null,\r\n ].filter(Boolean) as any[]\r\n }\r\n height={50}\r\n width={150}\r\n padding={10}\r\n >\r\n ) : (\r\n \r\n \r\n \r\n );\r\n\r\n return (\r\n
    • \r\n \r\n
      \r\n {t.data?._source?.is_released ?? false ? (\r\n
      \r\n \r\n featured\r\n \r\n
      \r\n ) : (\r\n <>\r\n )}\r\n {!!(t.data?._source.cohop_offer_id ?? false) ? (\r\n
      \r\n \r\n CO-HOP\r\n \r\n
      \r\n ) : (\r\n <>\r\n )}\r\n {t.data?._source?.minimum_order_size &&\r\n t.data?._source?.minimum_order_size > 1 ? (\r\n
      \r\n \r\n {t.data?._source?.minimum_order_size} box min\r\n \r\n
      \r\n ) : (\r\n <>\r\n )}\r\n
      \r\n
      $
      \r\n {loggedIn && !hidePrice ? (\r\n <>\r\n
      {digits[0]}
      \r\n
      .{digits[1]}
      \r\n \r\n ) : (\r\n <>\r\n
      **
      \r\n
      .**
      \r\n \r\n )}\r\n
      \r\n {loggedIn && !hidePrice ? (\r\n
      per {t?.data?._source?.unit}
      \r\n ) : (\r\n
      \r\n {hidePrice ? null : login for price}\r\n
      \r\n )}\r\n
      \r\n {t?.data?._source?.rating ? (\r\n \r\n \r\n {t?.data?._source?.rating}\r\n \r\n ) : (\r\n <>\r\n )}\r\n
      \r\n
      \r\n\r\n
      \r\n
      \r\n

      {t?.data?._source?.name}

      \r\n
      \r\n\r\n
      \r\n {t?.data?._source?.remaining} x{\" \"}\r\n {t?.data?._source?.packaging}\r\n
      \r\n
      \r\n {shouldShowCharts ? (\r\n
      \r\n
      {miniChart}
      \r\n
      \r\n ) : null}\r\n
      \r\n
      Type
      \r\n
      \r\n {t?.data?._source?.ahp_type\r\n ? t?.data?._source?.ahp_type\r\n : t?.data?._source?.type}\r\n
      \r\n
      \r\n
      \r\n
      Brand
      \r\n
      {t?.data?._source?.brand}
      \r\n
      \r\n
      \r\n {loggedIn && !hidePrice ? (\r\n <>\r\n
      Ships From
      \r\n
      \r\n {t?.data?._source?.broker_name ??\r\n t?.data?._source?.company_name}\r\n
      \r\n
      {t?.data?._source?.ships_from}
      \r\n \r\n ) : (\r\n <>\r\n
      Ships From
      \r\n
      {t?.data?._source?.ships_from}
      \r\n \r\n )}\r\n
      \r\n {t?.data?._source?.available_shipping?.map((s) => (\r\n
      \r\n \r\n
      \r\n ))}\r\n
      \r\n
      \r\n
      \r\n {parameters.UserId ? (\r\n <>\r\n {/*
      Sold By
      \r\n
      \r\n {!!t?.data?._source?.is_released ||\r\n !!t?.data?._source?.cohop_offer_id\r\n ? \"CO-HOP\"\r\n : t?.data?._source?.seller}{\" \"}\r\n {t?.data?._source?.seller_rating\r\n ? `(${_.round(\r\n t.data?._source.seller_rating,\r\n 1\r\n )}%)`\r\n : \"\"}\r\n
      */}\r\n
      \r\n {(t?.data?._source?.shipping_speed_score ?? 0) >\r\n 89 ? (\r\n
      \r\n \r\n \r\n \r\n
      \r\n ) : (\r\n <>\r\n )}\r\n
      \r\n \r\n ) : (\r\n <>\r\n )}\r\n
      \r\n \r\n {debugState ? (\r\n
      \r\n \r\n best deal rate : {t?.data?._source?.bestdeal_rate}\r\n \r\n \r\n sort :{\" \"}\r\n {t?.data?.sort?.map((s) => _.round(s, 2)).join(\" \")}\r\n \r\n \r\n listing(lon,lat) :{\" \"}\r\n {t?.data?._source?.location.join(\", \")}\r\n \r\n \r\n user(lon,lat) : {parameters.Longitude},\r\n {parameters.Latitude}\r\n \r\n \r\n shipping score :{\" \"}\r\n {t?.data?._source?.shipping_speed_score}\r\n \r\n \r\n shipping spd : {t?.data?._source?.shipping_speed}\r\n \r\n
      \r\n ) : (\r\n <>\r\n )}\r\n
    • \r\n );\r\n } else if (t.type === \"testimonies\") {\r\n return (\r\n
    • \r\n \r\n
    • \r\n );\r\n }\r\n })}\r\n
    \r\n\r\n \r\n
    \r\n \r\n );\r\n};\r\n\r\nconst domNode = document.getElementById(\"listings\");\r\n\r\nconst router = createBrowserRouter([\r\n {\r\n path: \"/listings\",\r\n element: ,\r\n },\r\n]);\r\n\r\nif (domNode) {\r\n const root = createRoot(domNode);\r\n\r\n root.render(\r\n \r\n \r\n \r\n \r\n \r\n );\r\n} else {\r\n console.error(\"root element not found\");\r\n}\r\n","import React, { useState } from \"react\";\r\nimport styles from \"./lotRating.module.scss\";\r\nimport { RangeSelectorParameter } from \"../../types/state\";\r\nimport ClearFilterItem from \"./clearFilterItem\";\r\n\r\nconst LotRatingFilter = (props: {\r\n parameters: RangeSelectorParameter[];\r\n selected: number[];\r\n onChange: (value: number[], only?: boolean) => void;\r\n onClear: () => void;\r\n}) => {\r\n const isSelected = (t: RangeSelectorParameter) =>\r\n props.selected.findIndex((s) => s === t.id) >= 0;\r\n return (\r\n
    \r\n \r\n
    \r\n {props.parameters?.map((t) => (\r\n {\r\n props.onChange(\r\n props.parameters.filter((p) => p.id >= t.id).map((p) => p.id),\r\n false\r\n );\r\n e.stopPropagation();\r\n }}\r\n >\r\n
    \r\n \r\n
    {t.text}
    \r\n
    \r\n
    \r\n ))}\r\n
    \r\n \r\n );\r\n};\r\n\r\nexport default LotRatingFilter;\r\n","import React, { PropsWithChildren, useEffect, useState } from \"react\";\r\nimport styles from \"./section.module.scss\";\r\n\r\nconst Section = (\r\n props: PropsWithChildren<{ title: string; containerClass?: string }>\r\n) => {\r\n const [open, toggle] = useState(true);\r\n return (\r\n
    \r\n
    toggle(!open)}>\r\n
    {props.title}
    \r\n {\" \"}\r\n
    \r\n
    \r\n {props.children}\r\n
    \r\n
    \r\n );\r\n};\r\n\r\nexport default Section;\r\n","import React, { useState } from \"react\";\r\nimport styles from \"./sellerScore.module.scss\";\r\nimport { RangeSelectorParameter } from \"../../types/state\";\r\nimport ClearFilterItem from \"./clearFilterItem\";\r\n\r\nconst SellerScoreFilter = (props: {\r\n parameters: RangeSelectorParameter[];\r\n selected: number[];\r\n onChange: (value: number[], only?: boolean) => void;\r\n onClear: () => void;\r\n}) => {\r\n const isSelected = (t: RangeSelectorParameter) =>\r\n props.selected.findIndex((s) => s === t.id) >= 0;\r\n return (\r\n
    \r\n \r\n
    \r\n {props.parameters?.map((t) => (\r\n {\r\n props.onChange(\r\n props.parameters.filter((p) => p.id >= t.id).map((p) => p.id),\r\n false\r\n );\r\n e.stopPropagation();\r\n }}\r\n >\r\n \r\n
    {t.text}
    \r\n
    \r\n ))}\r\n
    \r\n \r\n );\r\n};\r\n\r\nexport default SellerScoreFilter;\r\n","import React, { useEffect, useState } from \"react\";\r\nimport styles from \"./sliderFilter.module.scss\";\r\nimport ClearFilterItem from \"./clearFilterItem\";\r\nimport { thousandSeparator } from \"../../utils/generalHelper\";\r\n\r\nconst SliderFilter = (props: {\r\n min: number;\r\n max: number;\r\n maxLabel?: string | React.ReactNode;\r\n minLabel?: string | React.ReactNode;\r\n step: number;\r\n unit?: string;\r\n defaultValue: number;\r\n onChange: (value: number, only: boolean) => void;\r\n onSlide?: (value: number) => void;\r\n onClear: () => void;\r\n title: string;\r\n}) => {\r\n const [sliderVal, setVal] = useState(props.defaultValue);\r\n\r\n useEffect(() => {\r\n setVal(props.defaultValue);\r\n }, [props.defaultValue]);\r\n\r\n return (\r\n
    \r\n {\r\n setVal(0);\r\n props.onClear();\r\n }}\r\n title={props.title}\r\n label={\"< \" + thousandSeparator(sliderVal) + \" \" + props.unit}\r\n />\r\n
    \r\n
    \r\n {props.minLabel ??\r\n [thousandSeparator(props.min), props.unit].join(\" \")}\r\n
    \r\n
    \r\n {props.maxLabel ??\r\n [thousandSeparator(props.max), props.unit].join(\" \")}\r\n
    \r\n
    \r\n
    \r\n {\r\n const val = Number.parseInt(e.target.value);\r\n setVal(val);\r\n (props.onSlide ?? (() => {}))(val);\r\n }}\r\n onMouseUp={() => props.onChange(sliderVal, false)}\r\n />\r\n {/* setVal(Number.parseInt(e.target.value))}\r\n /> */}\r\n
    \r\n
    \r\n );\r\n};\r\n\r\nexport default SliderFilter;\r\n","import { PropsWithChildren, useEffect, useRef, useState } from \"react\";\r\nimport styles from \"./testimonials.module.scss\";\r\nimport { useSelector } from \"react-redux\";\r\nimport { PageContent } from \"../../types/apiTypes\";\r\nimport constants from \"../../constants\";\r\n\r\nconst Testimonials = (props: PropsWithChildren<{}>) => {\r\n const content: PageContent = useSelector(\r\n (state: any) => state.content.content\r\n );\r\n\r\n const [slide, setSlide] = useState(0);\r\n const timer = useRef(null);\r\n\r\n useEffect(() => {\r\n timer.current = setInterval(() => {\r\n setSlide(\r\n (slideCount) => (slideCount + 1) % (content.Testimonials?.length ?? 0)\r\n );\r\n }, constants.testimonialInterval);\r\n\r\n return () => {\r\n if (timer.current) clearTimeout(timer.current);\r\n };\r\n }, []);\r\n\r\n const currentTestimonial = content.Testimonials?.[slide];\r\n\r\n return (\r\n
    \r\n \r\n \r\n {currentTestimonial?.Name ? (\r\n <>\r\n

    \r\n \r\n \r\n {currentTestimonial.TestimonialText}\r\n

    \r\n
    \r\n \r\n
    \r\n
    {currentTestimonial.Name}
    \r\n
    {currentTestimonial.Organization}
    \r\n
    \r\n
    \r\n \r\n ) : (\r\n <>\r\n )}\r\n
    \r\n );\r\n};\r\n\r\nexport default Testimonials;\r\n","import React, { PropsWithChildren, useEffect, useState } from \"react\";\r\nimport styles from \"./toolsSection.module.scss\";\r\nimport Section from \"./section\";\r\nimport { useDispatch } from \"react-redux\";\r\nimport { contentFetch } from \"../../reducer/search/contentReducer\";\r\nimport { useSelector } from \"react-redux\";\r\nimport { PageContent } from \"../../types/apiTypes\";\r\nimport CommunityPosts from \"./communityPost\";\r\nimport Modal from \"../../components/modal/modal\";\r\n\r\nconst ToolSection = (props: PropsWithChildren<{}>) => {\r\n const content: PageContent = useSelector(\r\n (state: any) => state.content.content\r\n );\r\n\r\n const dispatch = useDispatch();\r\n useEffect(() => {\r\n dispatch(contentFetch());\r\n }, []);\r\n\r\n return (\r\n
    \r\n \r\n \r\n \r\n
    \r\n );\r\n};\r\n\r\nexport default ToolSection;\r\n","import _, { map } from \"lodash\";\r\nimport { SortOptions, SortParameter } from \"../../types/apiTypes\";\r\nimport {\r\n AppliedParameters,\r\n SearchQuery,\r\n SearchResult,\r\n} from \"../../types/state\";\r\nimport { initialApplied } from \"../../reducer/search/parameterReducer\";\r\nimport { parse } from \"path\";\r\n\r\nexport const sortOptions: {\r\n [key: string]: { text: string; parameter: SortParameter[] };\r\n} = {\r\n latest: { parameter: [{ created_at: \"desc\" }], text: \"Most Recent\" },\r\n featured: {\r\n parameter: [\r\n { cohop_offer_id: \"desc\" },\r\n { is_released: \"desc\" },\r\n { bestdeal_rate: \"desc\" },\r\n { created_at: \"desc\" },\r\n ],\r\n text: \"Featured\",\r\n },\r\n price: { parameter: [{ price: \"asc\" }], text: \"Cheapest\" },\r\n \"best-deal\": {\r\n parameter: [{ bestdeal_rate: \"desc\" }],\r\n text: \"Best Deal\",\r\n },\r\n \"crop-year-asc\": { parameter: [{ year: \"asc\" }], text: \"Oldest Crop Year\" },\r\n \"crop-year-desc\": {\r\n parameter: [{ year: \"desc\" }],\r\n text: \"Newest Crop Year\",\r\n },\r\n \"lot-rating\": {\r\n parameter: [{ rating: \"desc\" }],\r\n text: \"Best Lot Rating\",\r\n },\r\n \"seller-score\": {\r\n parameter: [{ seller_rating: \"desc\" }],\r\n text: \"Best Seller Score\",\r\n },\r\n \"shipping-speed\": {\r\n parameter: [{ shipping_speed: \"asc\" }],\r\n text: \"Best Shipping Speed\",\r\n },\r\n closest: {\r\n parameter: [\r\n {\r\n _geo_distance: {\r\n location: [0, 0],\r\n order: \"asc\",\r\n unit: \"miles\",\r\n },\r\n },\r\n ],\r\n text: \"Closest\",\r\n },\r\n};\r\n\r\nexport const pageSize = 20;\r\n\r\nconst toNumArray = (obj: SearchQuery[keyof SearchQuery]): Array =>\r\n typeof obj !== \"undefined\"\r\n ? obj.filter((t) => !isNaN(parseInt(t))).map((t) => parseInt(t))\r\n : [];\r\n\r\nconst fromNumArray = (\r\n obj: AppliedParameters[keyof AppliedParameters]\r\n): string[] | undefined =>\r\n (obj as number[]).length > 0\r\n ? ((obj as number[]) ?? []).map((t) => t.toString())\r\n : [];\r\n\r\nconst copyToApplied =\r\n (defaultValue: any) =>\r\n (\r\n obj: SearchQuery[keyof SearchQuery]\r\n ): AppliedParameters[keyof AppliedParameters] =>\r\n typeof obj !== \"undefined\" ? obj : defaultValue;\r\n\r\nconst copyToQuery = (\r\n obj: AppliedParameters[keyof AppliedParameters]\r\n): SearchQuery[keyof SearchQuery] =>\r\n Array.isArray(obj) ? obj.map((t) => t.toString()) : [obj.toString()];\r\n\r\nconst toSingleValueNumber =\r\n (defaultValue: number) =>\r\n (\r\n obj: SearchQuery[keyof SearchQuery]\r\n ): AppliedParameters[keyof AppliedParameters] =>\r\n typeof obj !== \"undefined\" && obj.length > 0\r\n ? parseInt(obj[0])\r\n : defaultValue;\r\n\r\nconst fromSingleValueNumber = (\r\n obj: AppliedParameters[keyof AppliedParameters]\r\n): SearchQuery[keyof SearchQuery] =>\r\n !Array.isArray(obj)\r\n ? obj === 0\r\n ? []\r\n : [obj.toString()]\r\n : obj.map((t) => t.toString());\r\n\r\nexport const queryMap: Array<{\r\n queryKey: keyof SearchQuery;\r\n appliedKey: keyof AppliedParameters;\r\n toApplied: (\r\n obj: SearchQuery[keyof SearchQuery]\r\n ) => AppliedParameters[keyof AppliedParameters];\r\n toQuery: (\r\n obj: AppliedParameters[keyof AppliedParameters]\r\n ) => SearchQuery[keyof SearchQuery];\r\n}> = [\r\n {\r\n appliedKey: \"attribute_ids\",\r\n queryKey: \"va\",\r\n toApplied: toNumArray,\r\n toQuery: fromNumArray,\r\n },\r\n {\r\n appliedKey: \"brand_id\",\r\n queryKey: \"b\",\r\n toApplied: toNumArray,\r\n toQuery: fromNumArray,\r\n },\r\n {\r\n appliedKey: \"grown_in\",\r\n queryKey: \"gl\",\r\n toApplied: copyToApplied([]),\r\n toQuery: copyToQuery,\r\n },\r\n {\r\n appliedKey: \"location\",\r\n queryKey: \"d\",\r\n toApplied: toSingleValueNumber(0),\r\n toQuery: fromSingleValueNumber,\r\n },\r\n {\r\n appliedKey: \"rating\",\r\n queryKey: \"lr\",\r\n toApplied: toNumArray,\r\n toQuery: fromNumArray,\r\n },\r\n {\r\n appliedKey: \"packaging_id\",\r\n queryKey: \"p\",\r\n toApplied: toNumArray,\r\n toQuery: fromNumArray,\r\n },\r\n {\r\n appliedKey: \"seller_rating\",\r\n queryKey: \"sr\",\r\n toApplied: toNumArray,\r\n toQuery: fromNumArray,\r\n },\r\n {\r\n appliedKey: \"shipping_speed\",\r\n queryKey: \"spd\",\r\n toApplied: toSingleValueNumber(0),\r\n toQuery: fromSingleValueNumber,\r\n },\r\n {\r\n appliedKey: \"storage_condition_id\",\r\n queryKey: \"sc\",\r\n toApplied: toNumArray,\r\n toQuery: fromNumArray,\r\n },\r\n {\r\n appliedKey: \"storage_location\",\r\n queryKey: \"sl\",\r\n toApplied: toNumArray,\r\n toQuery: fromNumArray,\r\n },\r\n {\r\n appliedKey: \"type_id\",\r\n queryKey: \"t\",\r\n toApplied: toNumArray,\r\n toQuery: fromNumArray,\r\n },\r\n {\r\n appliedKey: \"variety_id\",\r\n queryKey: \"v\",\r\n toApplied: toNumArray,\r\n toQuery: fromNumArray,\r\n },\r\n {\r\n appliedKey: \"year\",\r\n queryKey: \"y\",\r\n toApplied: toNumArray,\r\n toQuery: fromNumArray,\r\n },\r\n {\r\n appliedKey: \"seller_id\",\r\n queryKey: \"seller\",\r\n toApplied: toNumArray,\r\n toQuery: fromNumArray,\r\n },\r\n {\r\n appliedKey: \"seller_org_id\",\r\n queryKey: \"org\",\r\n toApplied: toNumArray,\r\n toQuery: fromNumArray,\r\n },\r\n {\r\n appliedKey: \"orderable_with\",\r\n queryKey: \"with\",\r\n toApplied: toNumArray,\r\n toQuery: fromNumArray,\r\n },\r\n {\r\n appliedKey: \"is_released\",\r\n queryKey: \"featured\",\r\n toApplied: (obj) => {\r\n if (typeof obj !== \"undefined\") {\r\n return obj\r\n .map((t) => {\r\n switch (true) {\r\n case !isNaN(parseInt(t)):\r\n return parseInt(t);\r\n case t.toLowerCase() === \"true\":\r\n return 1;\r\n case t.toLowerCase() === \"false\":\r\n return 0;\r\n default:\r\n null;\r\n }\r\n })\r\n .filter((t) => t !== null) as number[];\r\n } else return [];\r\n },\r\n toQuery: fromNumArray,\r\n },\r\n];\r\n\r\nexport const GenerateQuery = (parameter: {\r\n applied: AppliedParameters;\r\n sort: SortOptions;\r\n page: number;\r\n query: string;\r\n debug?: boolean;\r\n}): string => {\r\n let result: SearchQuery = {};\r\n if (parameter.page > 1) {\r\n result.page = [parameter.page.toString()];\r\n }\r\n\r\n if (!!parameter.query?.trim()) {\r\n result.q = [parameter.query];\r\n }\r\n\r\n if (!!parameter.sort) {\r\n result.sortby = [parameter.sort];\r\n }\r\n\r\n if (parameter.debug === true) {\r\n result.dbg = [\"true\"];\r\n }\r\n\r\n queryMap.forEach((map) => {\r\n result[map.queryKey] = map.toQuery(parameter.applied[map.appliedKey]);\r\n });\r\n\r\n let searchParamResult = new URLSearchParams();\r\n\r\n Object.entries(result).forEach(([key, v]) =>\r\n v.forEach((val) => searchParamResult.append(key, val))\r\n );\r\n return searchParamResult.toString();\r\n};\r\n\r\nexport const ParseQuery = (\r\n query: string\r\n): {\r\n applied: AppliedParameters;\r\n sort: SortOptions;\r\n query: string;\r\n page: number;\r\n debug: boolean;\r\n} => {\r\n if (!query)\r\n return {\r\n applied: _.cloneDeep(initialApplied),\r\n page: 1,\r\n sort: \"latest\",\r\n query: \"\",\r\n debug: false,\r\n };\r\n\r\n const parsed = new URLSearchParams(query);\r\n\r\n const lowerCased = new URLSearchParams();\r\n for (const [name, value] of parsed.entries()) {\r\n lowerCased.append(name.toLowerCase(), value);\r\n }\r\n\r\n let result: {\r\n applied: AppliedParameters;\r\n sort: SortOptions;\r\n query: string;\r\n page: number;\r\n debug: boolean;\r\n } = {\r\n applied: _.cloneDeep(initialApplied),\r\n page: 1,\r\n sort: \"latest\",\r\n query: \"\",\r\n debug: false,\r\n };\r\n\r\n if (lowerCased.getAll(\"sortby\").length > 0) {\r\n let sort: string = lowerCased.getAll(\"sortby\").pop() as string;\r\n\r\n switch (sort) {\r\n case \"0\":\r\n result.sort = \"latest\";\r\n break;\r\n case \"1\":\r\n result.sort = \"price\";\r\n break;\r\n case \"2\":\r\n result.sort = \"seller-score\";\r\n break;\r\n case \"3\":\r\n result.sort = \"shipping-speed\";\r\n break;\r\n case \"4\":\r\n result.sort = \"lot-rating\";\r\n break;\r\n case \"5\":\r\n result.sort = \"best-deal\";\r\n break;\r\n default:\r\n result.sort = sort as SortOptions;\r\n break;\r\n }\r\n }\r\n if (lowerCased.getAll(\"q\").length > 0) {\r\n result.query = lowerCased.get(\"q\") ?? \"\";\r\n }\r\n if (lowerCased.getAll(\"page\").length > 0) {\r\n result.page = isNaN(parseInt(lowerCased.get(\"page\") ?? \"1\"))\r\n ? 1\r\n : parseInt(lowerCased.get(\"page\") ?? \"1\");\r\n }\r\n\r\n queryMap.forEach((map) => {\r\n result.applied[map.appliedKey] = map.toApplied(\r\n lowerCased.getAll(map.queryKey) ?? new Array()\r\n ) as any;\r\n });\r\n\r\n result.debug = lowerCased.get(\"dbg\") === \"true\";\r\n\r\n return result;\r\n};\r\n","import {\r\n VarietyTeaserChartRequest,\r\n VarietyTeaserChartResponse,\r\n VarietyTopMoversResponse,\r\n VarietyTradeChartRequest,\r\n VarietyTradeChartResponse,\r\n} from \"../../types/apiTypes\";\r\nimport { Action } from \"../../types/helper\";\r\nimport { createSlice } from \"@reduxjs/toolkit\";\r\n\r\nconst contentSlice = createSlice({\r\n name: \"chart\",\r\n initialState: {\r\n isLoading: true,\r\n isMiniChartLoading: true,\r\n isTeaserLoading: true,\r\n mainCharts: null as null | VarietyTeaserChartResponse,\r\n miniCharts: null as null | VarietyTradeChartResponse,\r\n topMovers: null as null | VarietyTopMoversResponse,\r\n },\r\n reducers: {\r\n mainChartFetch: (state, _action: Action) => {\r\n state.isTeaserLoading = true;\r\n },\r\n mainChartSuccess: (state, action: Action) => {\r\n state.isTeaserLoading = false;\r\n state.mainCharts = action.payload;\r\n },\r\n mainChartFailed: (state) => {\r\n state.isTeaserLoading = false;\r\n state.mainCharts = null;\r\n },\r\n miniChartFetch: (state, _action: Action) => {\r\n state.isMiniChartLoading = true;\r\n },\r\n miniChartSuccess: (state, action: Action) => {\r\n state.isMiniChartLoading = false;\r\n state.miniCharts = action.payload;\r\n },\r\n miniChartFailed: (state) => {\r\n state.isMiniChartLoading = false;\r\n state.miniCharts = null;\r\n },\r\n topMoverFetch: (state, _action: Action) => {\r\n state.isLoading = true;\r\n },\r\n topMoverSuccess: (state, action: Action) => {\r\n state.isLoading = false;\r\n state.topMovers = action.payload;\r\n },\r\n topMoverFailed: (state) => {\r\n state.isLoading = false;\r\n state.topMovers = null;\r\n },\r\n },\r\n});\r\n\r\nexport const {\r\n mainChartFetch,\r\n mainChartSuccess,\r\n mainChartFailed,\r\n miniChartFetch,\r\n miniChartSuccess,\r\n miniChartFailed,\r\n topMoverFetch,\r\n topMoverSuccess,\r\n topMoverFailed,\r\n} = contentSlice.actions;\r\nexport default contentSlice.reducer;\r\n","import { PageContent } from \"../../types/apiTypes\";\r\nimport { Action } from \"../../types/helper\";\r\nimport { createSlice } from \"@reduxjs/toolkit\";\r\n\r\nconst contentSlice = createSlice({\r\n name: \"content\",\r\n initialState: {\r\n content: {} as PageContent,\r\n isLoading: true,\r\n charts: [] as [],\r\n },\r\n reducers: {\r\n contentFetch: (state) => {\r\n state.isLoading = true;\r\n },\r\n contentSuccess: (state, action: Action) => {\r\n state.isLoading = false;\r\n state.content = action.payload;\r\n },\r\n contentFailed: (state) => {\r\n state.isLoading = false;\r\n },\r\n },\r\n});\r\n\r\nexport const { contentFetch, contentSuccess, contentFailed } =\r\n contentSlice.actions;\r\nexport default contentSlice.reducer;\r\n","import _ from \"lodash\";\r\nimport { Action } from \"../../types/helper\";\r\nimport {\r\n AppliedParameters,\r\n Parameters,\r\n RangeSelectorParameter,\r\n SearchParameters,\r\n} from \"../../types/state\";\r\nimport { createSlice } from \"@reduxjs/toolkit\";\r\nimport { SortOptions } from \"../../types/apiTypes\";\r\n\r\nexport const initialApplied: AppliedParameters = {\r\n variety_id: new Array(),\r\n brand_id: new Array(),\r\n packaging_id: new Array(),\r\n type_id: new Array(),\r\n year: new Array(),\r\n storage_location: new Array(),\r\n attribute_ids: new Array(),\r\n grown_in: new Array(),\r\n storage_condition_id: new Array(),\r\n seller_rating: new Array(),\r\n rating: new Array(),\r\n location: 0,\r\n shipping_speed: 0,\r\n is_released: new Array(),\r\n orderable_with: new Array(),\r\n seller_id: new Array(),\r\n seller_org_id: new Array(),\r\n ahp_type_id: new Array(),\r\n};\r\n\r\nconst parameterSlice = createSlice({\r\n name: \"searchParameter\",\r\n initialState: {\r\n parameters: {\r\n SellerRatings: [\r\n { id: 1, text: \"LEX Luther\", value: { lt: 20 }, includeNull: true },\r\n { id: 2, text: \"LEXtra Work Needed\", value: { gte: 20, lt: 40 } },\r\n { id: 3, text: \"LEX perienced\", value: { gte: 40, lt: 80 } },\r\n { id: 4, text: \"LEX cellent\", value: { gte: 80, lt: 90 } },\r\n { id: 5, text: \"LEXpert\", value: { gte: 90 } },\r\n ],\r\n LotRatings: [\r\n { id: 1, text: \"0+\", value: { lt: 1 }, includeNull: true },\r\n { id: 2, text: \"2\", value: { gte: 1, lt: 2 } },\r\n { id: 3, text: \"3\", value: { gte: 2, lt: 3 } },\r\n { id: 4, text: \"4\", value: { gte: 3, lt: 4 } },\r\n { id: 5, text: \"5\", value: { gte: 4 } },\r\n ],\r\n } as SearchParameters,\r\n isLoading: false,\r\n applied: _.cloneDeep(initialApplied),\r\n sort: \"latest\" as SortOptions,\r\n query: \"\",\r\n page: 1,\r\n ready: false,\r\n debug: false,\r\n },\r\n reducers: {\r\n init: (\r\n state,\r\n action: Action<{\r\n sort: SortOptions;\r\n query: string;\r\n applied: AppliedParameters;\r\n page: number;\r\n debug: boolean;\r\n }>\r\n ) => {\r\n state.sort = action.payload.sort;\r\n state.query = action.payload.query;\r\n state.applied = action.payload.applied;\r\n state.page = action.payload.page;\r\n state.ready = true;\r\n state.debug = action.payload.debug;\r\n },\r\n applySort: (state, action: Action) => {\r\n state.sort = action.payload;\r\n },\r\n changeQuery: (state, action: Action) => {\r\n state.query = action.payload;\r\n },\r\n changePage: (state, action: Action) => {\r\n state.page = action.payload;\r\n },\r\n searchParameterFetch: (state) => {\r\n state.isLoading = true;\r\n },\r\n searchParameterSuccess: (state, action: Action) => {\r\n state.isLoading = false;\r\n state.parameters = { ...state.parameters, ...action.payload };\r\n },\r\n searchParameterFailed: (state) => {\r\n state.isLoading = false;\r\n },\r\n applyFilter: (\r\n state,\r\n action: Action<{\r\n key: keyof AppliedParameters;\r\n value: Array | any;\r\n only?: boolean;\r\n }>\r\n ) => {\r\n if (!action.payload.only)\r\n state.applied[action.payload.key] = action.payload.value;\r\n else\r\n state.applied = {\r\n ..._.cloneDeep(initialApplied),\r\n [action.payload.key]: action.payload.value,\r\n };\r\n\r\n state.sort = \"latest\";\r\n state.page = 1;\r\n },\r\n clearFilter: (state) => {\r\n state.applied = _.cloneDeep(initialApplied);\r\n state.sort = \"latest\";\r\n state.page = 1;\r\n state.query = \"\";\r\n },\r\n fullListFetch: (state, action: Action) => {\r\n state.isLoading = true;\r\n },\r\n fullListSuccess: (\r\n state,\r\n action: Action<{ key: keyof SearchParameters; result: Parameters }>\r\n ) => {\r\n state.isLoading = false;\r\n _.set(state.parameters, action.payload.key, action.payload.result);\r\n },\r\n fullListFailed: (state) => {\r\n state.isLoading = false;\r\n },\r\n },\r\n});\r\n\r\nexport const {\r\n searchParameterFailed,\r\n searchParameterFetch,\r\n searchParameterSuccess,\r\n applyFilter,\r\n fullListFailed,\r\n fullListFetch,\r\n fullListSuccess,\r\n applySort,\r\n changePage,\r\n changeQuery,\r\n clearFilter,\r\n init,\r\n} = parameterSlice.actions;\r\nexport default parameterSlice.reducer;\r\n","import { SearchAPIParameter, SearchReferences } from \"../../types/apiTypes\";\r\nimport { Action } from \"../../types/helper\";\r\nimport { SearchResponse, SearchResult } from \"../../types/state\";\r\nimport { createSlice } from \"@reduxjs/toolkit\";\r\n\r\nconst searchSlice = createSlice({\r\n name: \"search\",\r\n initialState: {\r\n filters: [],\r\n result: {} as SearchResponse,\r\n isLoading: false,\r\n },\r\n reducers: {\r\n searchFetch: (\r\n state,\r\n action: Action<{\r\n applied: SearchAPIParameter;\r\n references: SearchReferences;\r\n }>\r\n ) => {\r\n state.isLoading = true;\r\n },\r\n searchSuccess: (state, action: Action) => {\r\n state.isLoading = false;\r\n state.result = action.payload;\r\n },\r\n searchFailed: (state) => {\r\n state.isLoading = false;\r\n },\r\n },\r\n});\r\n\r\nexport const { searchFailed, searchFetch, searchSuccess } = searchSlice.actions;\r\nexport default searchSlice.reducer;\r\n","import { all, call, put, takeEvery, takeLatest } from \"redux-saga/effects\";\r\nimport {\r\n mainChartSuccess,\r\n miniChartSuccess,\r\n topMoverSuccess,\r\n} from \"../../reducer/search/chartReducer\";\r\nimport {\r\n varietyTopMovers,\r\n varietyTradeHistory,\r\n varietyTeaserChart,\r\n varietyTradeMiniChart,\r\n} from \"../../api/chart/chartAPI\";\r\nimport {\r\n VarietyTeaserChartRequest,\r\n VarietyTradeChartRequest,\r\n} from \"../../types/apiTypes\";\r\nimport { Action } from \"../../types/helper\";\r\n\r\nfunction* mainChartRequest(action: Action) {\r\n const result: Awaited> = yield call(\r\n varietyTeaserChart,\r\n action.payload\r\n );\r\n yield put(mainChartSuccess(result.data));\r\n}\r\nfunction* miniChartRequest(action: Action) {\r\n const result: Awaited> = yield call(\r\n varietyTradeMiniChart,\r\n action.payload\r\n );\r\n yield put(miniChartSuccess(result.data));\r\n}\r\nfunction* topMoversRequest(action: Action) {\r\n const result: Awaited> = yield call(\r\n varietyTopMovers,\r\n action.payload\r\n );\r\n yield put(topMoverSuccess(result.data));\r\n}\r\n\r\nfunction* chartSaga() {\r\n yield all([\r\n takeLatest(\"chart/mainChartFetch\", mainChartRequest),\r\n takeLatest(\"chart/miniChartFetch\", miniChartRequest),\r\n takeEvery(\"chart/topMoverFetch\", topMoversRequest),\r\n ]);\r\n}\r\n\r\nexport default chartSaga;\r\n","import { call, put, takeEvery } from \"redux-saga/effects\";\r\nimport { contentSuccess } from \"../../reducer/search/contentReducer\";\r\nimport { initialContent } from \"../../api/search/contentAPI\";\r\n\r\nfunction* contentRequest() {\r\n const result: Awaited> = yield call(\r\n initialContent\r\n );\r\n yield put(contentSuccess(result.data));\r\n}\r\n\r\nfunction* contentSaga() {\r\n yield takeEvery(\"content/contentFetch\", contentRequest);\r\n}\r\n\r\nexport default contentSaga;\r\n","import { all, call, put, takeEvery } from \"redux-saga/effects\";\r\nimport {\r\n fullListParameters,\r\n initialParameters,\r\n} from \"../../api/search/searchAPI\";\r\nimport {\r\n fullListSuccess,\r\n searchParameterSuccess,\r\n} from \"../../reducer/search/parameterReducer\";\r\nimport { Action } from \"../../types/helper\";\r\nimport { SearchParameters } from \"../../types/state\";\r\n\r\nfunction* initialRequest() {\r\n const result: Awaited> = yield call(\r\n initialParameters\r\n );\r\n yield put(searchParameterSuccess(result.data));\r\n}\r\n\r\nfunction* fullListRequest(action: Action) {\r\n const result: Awaited> = yield call(\r\n fullListParameters,\r\n action.payload\r\n );\r\n yield put(fullListSuccess({ result: result.data, key: action.payload }));\r\n}\r\n\r\nfunction* parameterSaga() {\r\n yield all([\r\n takeEvery(\"searchParameter/searchParameterFetch\", initialRequest),\r\n takeEvery(\"searchParameter/fullListFetch\", fullListRequest),\r\n ]);\r\n}\r\n\r\nexport default parameterSaga;\r\n","import { call, put, takeEvery, takeLatest } from \"redux-saga/effects\";\r\nimport { search } from \"../../api/search/searchAPI\";\r\nimport { searchSuccess } from \"../../reducer/search/searchReducer\";\r\nimport { Action } from \"../../types/helper\";\r\nimport { SearchAPIParameter, SearchReferences } from \"../../types/apiTypes\";\r\nimport { SearchResult } from \"../../types/state\";\r\n\r\nfunction* searchRequest(\r\n action: Action<{\r\n applied: SearchAPIParameter;\r\n references: SearchReferences;\r\n }>\r\n) {\r\n const result: Awaited> = yield call(\r\n search,\r\n action.payload.applied,\r\n action.payload.references\r\n );\r\n yield put(searchSuccess(result.data));\r\n}\r\n\r\nfunction* searchSaga() {\r\n yield takeLatest(\"search/searchFetch\", searchRequest);\r\n}\r\n\r\nexport default searchSaga;\r\n","// export interface SearchParameter {\r\n// query?: string;\r\n// sort?: SortParameter[];\r\n// }\r\n\r\nimport { AppliedParameters, RangeSelectorParameter } from \"./state\";\r\nexport interface GeoDistance {\r\n _geo_distance: any;\r\n}\r\nexport interface SearchAPIParameter {\r\n query?: string;\r\n sort?: SortParameter[];\r\n from: number;\r\n size: number;\r\n filters: AppliedParameters;\r\n location?: [number, number] | null;\r\n}\r\n\r\n// export interface SortParameter {\r\n// [key: string]: \"asc\" | \"desc\";\r\n// }\r\n\r\nexport type SortParameter = {\r\n [Property in keyof T]?: \"asc\" | \"desc\";\r\n} & { missing?: \"_last\" | \"_first\"; _geo_distance?: any };\r\n\r\nexport type SortOptions =\r\n | \"featured\"\r\n | \"latest\"\r\n | \"price\"\r\n | \"seller-score\"\r\n | \"shipping-speed\"\r\n | \"lot-rating\"\r\n | \"best-deal\"\r\n | \"crop-year-desc\"\r\n | \"crop-year-asc\"\r\n | \"closest\";\r\n\r\nexport interface PageContent {\r\n RecentCommunityPosts: RecentCommunityPost[];\r\n Testimonials: Testimonial[];\r\n}\r\n\r\nexport interface RecentCommunityPost {\r\n Id: number;\r\n Url: string;\r\n Title: string;\r\n Topic: string;\r\n Text: string;\r\n Author: string;\r\n Comments: number;\r\n MinReadTime: number;\r\n CreateOnUtc: string;\r\n}\r\n\r\nexport interface Testimonial {\r\n Id: number;\r\n ImgUrl: string;\r\n TestimonialText: string;\r\n Name: string;\r\n Organization: string;\r\n}\r\n\r\nexport type SearchReferences = {\r\n [key in keyof AppliedParameters]?: RangeSelectorParameter[];\r\n};\r\n\r\nexport enum ChartValue {\r\n LbsListedActive = 0,\r\n LbsPurchased = 1,\r\n MinPricePurchased = 2,\r\n AvgPricePurchased = 3,\r\n MaxPricePurchased = 4,\r\n}\r\nexport enum ChartInterval {\r\n Daily = 0,\r\n Monthly = 1,\r\n Weekly = 2,\r\n}\r\nexport enum SummaryType {\r\n Min = 0,\r\n Max = 1,\r\n Average = 2,\r\n Count = 3,\r\n Sum = 4,\r\n}\r\nexport enum ChartIndicator {\r\n SimpleMovingAverage = 0,\r\n WeightedMovingAverage = 1,\r\n}\r\n\r\nexport type VarietyTradeChartRequest = {\r\n Varieties?: VarietyOption[];\r\n StartTime: string;\r\n EndTime: string;\r\n Interval?: ChartInterval;\r\n};\r\n\r\nexport type VarietyOption = {\r\n Variety: VarietyCombination;\r\n SumType?: SummaryType;\r\n ChartValue?: ChartValue;\r\n Indicator?: ChartIndicator;\r\n SumTypeDesc?: string;\r\n ChartValueDesc?: string;\r\n ValueKey?: string;\r\n Key?: string;\r\n PassThroughParameter?: any;\r\n};\r\n\r\nexport type VarietyCombination = {\r\n VarietyId?: number;\r\n CropYear?: number;\r\n TypeId?: number;\r\n BrandId?: number;\r\n IsAhp?: boolean;\r\n Key?: string;\r\n};\r\n\r\nexport interface VarietyTradeChartResponse {\r\n Datasets: Dataset[];\r\n Labels: string[];\r\n StartTime: string;\r\n EndTime: string;\r\n Interval: ChartInterval;\r\n IntervalDesc: string;\r\n}\r\n\r\nexport interface Dataset {\r\n VarietyOption: VarietyOption;\r\n Dataset: number[];\r\n}\r\n\r\nexport type MoversDataset = Dataset & {\r\n Delta: number;\r\n VarietyName: string;\r\n CurrentValue: number;\r\n Percentage: number;\r\n TypeName: string;\r\n};\r\nexport interface VarietyTopMoversResponse {\r\n LbsGainers: MoversDataset[];\r\n LbsLosers: MoversDataset[];\r\n PriceGainers: MoversDataset[];\r\n PriceLosers: MoversDataset[];\r\n}\r\n\r\nexport interface VarietyTeaserChartRequest {\r\n VolumeStart: string;\r\n VolumeEnd: string;\r\n ChartStart: string;\r\n ChartEnd: string;\r\n}\r\n\r\nexport interface VarietyTeaserChartResponse {\r\n VarietyOption: VarietyOption;\r\n Datasets: Dataset[];\r\n Labels: string[];\r\n Label: string;\r\n StartTime: string;\r\n EndTime: string;\r\n Interval: ChartInterval;\r\n IntervalDesc: string;\r\n}\r\n\r\nexport interface InsightParameterItem {\r\n Group: string;\r\n Label: string;\r\n Value: T;\r\n HelperValue: string;\r\n}\r\n\r\nexport interface InsightParametersResponse {\r\n Varieties: InsightParameterItem[];\r\n Years: InsightParameterItem[];\r\n Types: InsightParameterItem[];\r\n Brands: InsightParameterItem[];\r\n ChartValues: InsightParameterItem[];\r\n SumTypes: InsightParameterItem[];\r\n Intervals: InsightParameterItem[];\r\n Indicators: InsightParameterItem[];\r\n}\r\n","export const thousandSeparator = (\r\n number: number,\r\n separator: string = \",\"\r\n): string => {\r\n if (typeof number !== \"number\") {\r\n return \"0\";\r\n }\r\n\r\n // Round number based on its magnitude\r\n let roundedNumber = number;\r\n if (Math.abs(number) >= 1000) {\r\n roundedNumber = Math.round(number);\r\n }\r\n\r\n // Convert to string with proper decimal places\r\n let formattedNumber =\r\n Math.abs(number) < 1000\r\n ? roundedNumber.toFixed(2)\r\n : roundedNumber.toString();\r\n\r\n // Add thousand separators\r\n const parts = formattedNumber.split(\".\");\r\n parts[0] = parts[0].replace(/\\B(?=(\\d{3})+(?!\\d))/g, separator);\r\n\r\n // Remove trailing zeros in decimal part\r\n if (parts[1]) {\r\n parts[1] = parts[1].replace(/0+$/, \"\");\r\n // If decimal part becomes empty, remove the decimal point\r\n if (!parts[1]) {\r\n return parts[0];\r\n }\r\n }\r\n\r\n // Combine whole number and decimal parts\r\n formattedNumber = parts.join(\".\");\r\n\r\n // Handle negative numbers\r\n return formattedNumber;\r\n};\r\n\r\nexport const getRemInPx = (rem: number) => {\r\n return rem * parseFloat(getComputedStyle(document.documentElement).fontSize);\r\n};\r\n\r\nexport const vwTOpx = (value: number) => {\r\n const w = window,\r\n d = document,\r\n e = d.documentElement,\r\n g = d.getElementsByTagName(\"body\")[0],\r\n x = w.innerWidth || e.clientWidth || g.clientWidth;\r\n\r\n const result = (x * value) / 100;\r\n return result;\r\n};\r\n\r\nexport const vhTOpx = (value: number) => {\r\n const w = window,\r\n d = document,\r\n e = d.documentElement,\r\n g = d.getElementsByTagName(\"body\")[0],\r\n y = w.innerHeight || e.clientHeight || g.clientHeight;\r\n\r\n const result = (y * value) / 100;\r\n return result;\r\n};\r\n","export default function addLeadingZeros(number, targetLength) {\n var sign = number < 0 ? '-' : '';\n var output = Math.abs(number).toString();\n while (output.length < targetLength) {\n output = '0' + output;\n }\n return sign + output;\n}","export default function assign(target, object) {\n if (target == null) {\n throw new TypeError('assign requires that input parameter not be null or undefined');\n }\n for (var property in object) {\n if (Object.prototype.hasOwnProperty.call(object, property)) {\n ;\n target[property] = object[property];\n }\n }\n return target;\n}","import assign from \"../assign/index.js\";\nexport default function cloneObject(object) {\n return assign({}, object);\n}","import defaultLocale from \"../../locale/en-US/index.js\";\nexport default defaultLocale;","var defaultOptions = {};\nexport function getDefaultOptions() {\n return defaultOptions;\n}\nexport function setDefaultOptions(newOptions) {\n defaultOptions = newOptions;\n}","import getUTCDayOfYear from \"../../../_lib/getUTCDayOfYear/index.js\";\nimport getUTCISOWeek from \"../../../_lib/getUTCISOWeek/index.js\";\nimport getUTCISOWeekYear from \"../../../_lib/getUTCISOWeekYear/index.js\";\nimport getUTCWeek from \"../../../_lib/getUTCWeek/index.js\";\nimport getUTCWeekYear from \"../../../_lib/getUTCWeekYear/index.js\";\nimport addLeadingZeros from \"../../addLeadingZeros/index.js\";\nimport lightFormatters from \"../lightFormatters/index.js\";\nvar dayPeriodEnum = {\n am: 'am',\n pm: 'pm',\n midnight: 'midnight',\n noon: 'noon',\n morning: 'morning',\n afternoon: 'afternoon',\n evening: 'evening',\n night: 'night'\n};\n/*\n * | | Unit | | Unit |\n * |-----|--------------------------------|-----|--------------------------------|\n * | a | AM, PM | A* | Milliseconds in day |\n * | b | AM, PM, noon, midnight | B | Flexible day period |\n * | c | Stand-alone local day of week | C* | Localized hour w/ day period |\n * | d | Day of month | D | Day of year |\n * | e | Local day of week | E | Day of week |\n * | f | | F* | Day of week in month |\n * | g* | Modified Julian day | G | Era |\n * | h | Hour [1-12] | H | Hour [0-23] |\n * | i! | ISO day of week | I! | ISO week of year |\n * | j* | Localized hour w/ day period | J* | Localized hour w/o day period |\n * | k | Hour [1-24] | K | Hour [0-11] |\n * | l* | (deprecated) | L | Stand-alone month |\n * | m | Minute | M | Month |\n * | n | | N | |\n * | o! | Ordinal number modifier | O | Timezone (GMT) |\n * | p! | Long localized time | P! | Long localized date |\n * | q | Stand-alone quarter | Q | Quarter |\n * | r* | Related Gregorian year | R! | ISO week-numbering year |\n * | s | Second | S | Fraction of second |\n * | t! | Seconds timestamp | T! | Milliseconds timestamp |\n * | u | Extended year | U* | Cyclic year |\n * | v* | Timezone (generic non-locat.) | V* | Timezone (location) |\n * | w | Local week of year | W* | Week of month |\n * | x | Timezone (ISO-8601 w/o Z) | X | Timezone (ISO-8601) |\n * | y | Year (abs) | Y | Local week-numbering year |\n * | z | Timezone (specific non-locat.) | Z* | Timezone (aliases) |\n *\n * Letters marked by * are not implemented but reserved by Unicode standard.\n *\n * Letters marked by ! are non-standard, but implemented by date-fns:\n * - `o` modifies the previous token to turn it into an ordinal (see `format` docs)\n * - `i` is ISO day of week. For `i` and `ii` is returns numeric ISO week days,\n * i.e. 7 for Sunday, 1 for Monday, etc.\n * - `I` is ISO week of year, as opposed to `w` which is local week of year.\n * - `R` is ISO week-numbering year, as opposed to `Y` which is local week-numbering year.\n * `R` is supposed to be used in conjunction with `I` and `i`\n * for universal ISO week-numbering date, whereas\n * `Y` is supposed to be used in conjunction with `w` and `e`\n * for week-numbering date specific to the locale.\n * - `P` is long localized date format\n * - `p` is long localized time format\n */\n\nvar formatters = {\n // Era\n G: function G(date, token, localize) {\n var era = date.getUTCFullYear() > 0 ? 1 : 0;\n switch (token) {\n // AD, BC\n case 'G':\n case 'GG':\n case 'GGG':\n return localize.era(era, {\n width: 'abbreviated'\n });\n // A, B\n case 'GGGGG':\n return localize.era(era, {\n width: 'narrow'\n });\n // Anno Domini, Before Christ\n case 'GGGG':\n default:\n return localize.era(era, {\n width: 'wide'\n });\n }\n },\n // Year\n y: function y(date, token, localize) {\n // Ordinal number\n if (token === 'yo') {\n var signedYear = date.getUTCFullYear();\n // Returns 1 for 1 BC (which is year 0 in JavaScript)\n var year = signedYear > 0 ? signedYear : 1 - signedYear;\n return localize.ordinalNumber(year, {\n unit: 'year'\n });\n }\n return lightFormatters.y(date, token);\n },\n // Local week-numbering year\n Y: function Y(date, token, localize, options) {\n var signedWeekYear = getUTCWeekYear(date, options);\n // Returns 1 for 1 BC (which is year 0 in JavaScript)\n var weekYear = signedWeekYear > 0 ? signedWeekYear : 1 - signedWeekYear;\n\n // Two digit year\n if (token === 'YY') {\n var twoDigitYear = weekYear % 100;\n return addLeadingZeros(twoDigitYear, 2);\n }\n\n // Ordinal number\n if (token === 'Yo') {\n return localize.ordinalNumber(weekYear, {\n unit: 'year'\n });\n }\n\n // Padding\n return addLeadingZeros(weekYear, token.length);\n },\n // ISO week-numbering year\n R: function R(date, token) {\n var isoWeekYear = getUTCISOWeekYear(date);\n\n // Padding\n return addLeadingZeros(isoWeekYear, token.length);\n },\n // Extended year. This is a single number designating the year of this calendar system.\n // The main difference between `y` and `u` localizers are B.C. years:\n // | Year | `y` | `u` |\n // |------|-----|-----|\n // | AC 1 | 1 | 1 |\n // | BC 1 | 1 | 0 |\n // | BC 2 | 2 | -1 |\n // Also `yy` always returns the last two digits of a year,\n // while `uu` pads single digit years to 2 characters and returns other years unchanged.\n u: function u(date, token) {\n var year = date.getUTCFullYear();\n return addLeadingZeros(year, token.length);\n },\n // Quarter\n Q: function Q(date, token, localize) {\n var quarter = Math.ceil((date.getUTCMonth() + 1) / 3);\n switch (token) {\n // 1, 2, 3, 4\n case 'Q':\n return String(quarter);\n // 01, 02, 03, 04\n case 'QQ':\n return addLeadingZeros(quarter, 2);\n // 1st, 2nd, 3rd, 4th\n case 'Qo':\n return localize.ordinalNumber(quarter, {\n unit: 'quarter'\n });\n // Q1, Q2, Q3, Q4\n case 'QQQ':\n return localize.quarter(quarter, {\n width: 'abbreviated',\n context: 'formatting'\n });\n // 1, 2, 3, 4 (narrow quarter; could be not numerical)\n case 'QQQQQ':\n return localize.quarter(quarter, {\n width: 'narrow',\n context: 'formatting'\n });\n // 1st quarter, 2nd quarter, ...\n case 'QQQQ':\n default:\n return localize.quarter(quarter, {\n width: 'wide',\n context: 'formatting'\n });\n }\n },\n // Stand-alone quarter\n q: function q(date, token, localize) {\n var quarter = Math.ceil((date.getUTCMonth() + 1) / 3);\n switch (token) {\n // 1, 2, 3, 4\n case 'q':\n return String(quarter);\n // 01, 02, 03, 04\n case 'qq':\n return addLeadingZeros(quarter, 2);\n // 1st, 2nd, 3rd, 4th\n case 'qo':\n return localize.ordinalNumber(quarter, {\n unit: 'quarter'\n });\n // Q1, Q2, Q3, Q4\n case 'qqq':\n return localize.quarter(quarter, {\n width: 'abbreviated',\n context: 'standalone'\n });\n // 1, 2, 3, 4 (narrow quarter; could be not numerical)\n case 'qqqqq':\n return localize.quarter(quarter, {\n width: 'narrow',\n context: 'standalone'\n });\n // 1st quarter, 2nd quarter, ...\n case 'qqqq':\n default:\n return localize.quarter(quarter, {\n width: 'wide',\n context: 'standalone'\n });\n }\n },\n // Month\n M: function M(date, token, localize) {\n var month = date.getUTCMonth();\n switch (token) {\n case 'M':\n case 'MM':\n return lightFormatters.M(date, token);\n // 1st, 2nd, ..., 12th\n case 'Mo':\n return localize.ordinalNumber(month + 1, {\n unit: 'month'\n });\n // Jan, Feb, ..., Dec\n case 'MMM':\n return localize.month(month, {\n width: 'abbreviated',\n context: 'formatting'\n });\n // J, F, ..., D\n case 'MMMMM':\n return localize.month(month, {\n width: 'narrow',\n context: 'formatting'\n });\n // January, February, ..., December\n case 'MMMM':\n default:\n return localize.month(month, {\n width: 'wide',\n context: 'formatting'\n });\n }\n },\n // Stand-alone month\n L: function L(date, token, localize) {\n var month = date.getUTCMonth();\n switch (token) {\n // 1, 2, ..., 12\n case 'L':\n return String(month + 1);\n // 01, 02, ..., 12\n case 'LL':\n return addLeadingZeros(month + 1, 2);\n // 1st, 2nd, ..., 12th\n case 'Lo':\n return localize.ordinalNumber(month + 1, {\n unit: 'month'\n });\n // Jan, Feb, ..., Dec\n case 'LLL':\n return localize.month(month, {\n width: 'abbreviated',\n context: 'standalone'\n });\n // J, F, ..., D\n case 'LLLLL':\n return localize.month(month, {\n width: 'narrow',\n context: 'standalone'\n });\n // January, February, ..., December\n case 'LLLL':\n default:\n return localize.month(month, {\n width: 'wide',\n context: 'standalone'\n });\n }\n },\n // Local week of year\n w: function w(date, token, localize, options) {\n var week = getUTCWeek(date, options);\n if (token === 'wo') {\n return localize.ordinalNumber(week, {\n unit: 'week'\n });\n }\n return addLeadingZeros(week, token.length);\n },\n // ISO week of year\n I: function I(date, token, localize) {\n var isoWeek = getUTCISOWeek(date);\n if (token === 'Io') {\n return localize.ordinalNumber(isoWeek, {\n unit: 'week'\n });\n }\n return addLeadingZeros(isoWeek, token.length);\n },\n // Day of the month\n d: function d(date, token, localize) {\n if (token === 'do') {\n return localize.ordinalNumber(date.getUTCDate(), {\n unit: 'date'\n });\n }\n return lightFormatters.d(date, token);\n },\n // Day of year\n D: function D(date, token, localize) {\n var dayOfYear = getUTCDayOfYear(date);\n if (token === 'Do') {\n return localize.ordinalNumber(dayOfYear, {\n unit: 'dayOfYear'\n });\n }\n return addLeadingZeros(dayOfYear, token.length);\n },\n // Day of week\n E: function E(date, token, localize) {\n var dayOfWeek = date.getUTCDay();\n switch (token) {\n // Tue\n case 'E':\n case 'EE':\n case 'EEE':\n return localize.day(dayOfWeek, {\n width: 'abbreviated',\n context: 'formatting'\n });\n // T\n case 'EEEEE':\n return localize.day(dayOfWeek, {\n width: 'narrow',\n context: 'formatting'\n });\n // Tu\n case 'EEEEEE':\n return localize.day(dayOfWeek, {\n width: 'short',\n context: 'formatting'\n });\n // Tuesday\n case 'EEEE':\n default:\n return localize.day(dayOfWeek, {\n width: 'wide',\n context: 'formatting'\n });\n }\n },\n // Local day of week\n e: function e(date, token, localize, options) {\n var dayOfWeek = date.getUTCDay();\n var localDayOfWeek = (dayOfWeek - options.weekStartsOn + 8) % 7 || 7;\n switch (token) {\n // Numerical value (Nth day of week with current locale or weekStartsOn)\n case 'e':\n return String(localDayOfWeek);\n // Padded numerical value\n case 'ee':\n return addLeadingZeros(localDayOfWeek, 2);\n // 1st, 2nd, ..., 7th\n case 'eo':\n return localize.ordinalNumber(localDayOfWeek, {\n unit: 'day'\n });\n case 'eee':\n return localize.day(dayOfWeek, {\n width: 'abbreviated',\n context: 'formatting'\n });\n // T\n case 'eeeee':\n return localize.day(dayOfWeek, {\n width: 'narrow',\n context: 'formatting'\n });\n // Tu\n case 'eeeeee':\n return localize.day(dayOfWeek, {\n width: 'short',\n context: 'formatting'\n });\n // Tuesday\n case 'eeee':\n default:\n return localize.day(dayOfWeek, {\n width: 'wide',\n context: 'formatting'\n });\n }\n },\n // Stand-alone local day of week\n c: function c(date, token, localize, options) {\n var dayOfWeek = date.getUTCDay();\n var localDayOfWeek = (dayOfWeek - options.weekStartsOn + 8) % 7 || 7;\n switch (token) {\n // Numerical value (same as in `e`)\n case 'c':\n return String(localDayOfWeek);\n // Padded numerical value\n case 'cc':\n return addLeadingZeros(localDayOfWeek, token.length);\n // 1st, 2nd, ..., 7th\n case 'co':\n return localize.ordinalNumber(localDayOfWeek, {\n unit: 'day'\n });\n case 'ccc':\n return localize.day(dayOfWeek, {\n width: 'abbreviated',\n context: 'standalone'\n });\n // T\n case 'ccccc':\n return localize.day(dayOfWeek, {\n width: 'narrow',\n context: 'standalone'\n });\n // Tu\n case 'cccccc':\n return localize.day(dayOfWeek, {\n width: 'short',\n context: 'standalone'\n });\n // Tuesday\n case 'cccc':\n default:\n return localize.day(dayOfWeek, {\n width: 'wide',\n context: 'standalone'\n });\n }\n },\n // ISO day of week\n i: function i(date, token, localize) {\n var dayOfWeek = date.getUTCDay();\n var isoDayOfWeek = dayOfWeek === 0 ? 7 : dayOfWeek;\n switch (token) {\n // 2\n case 'i':\n return String(isoDayOfWeek);\n // 02\n case 'ii':\n return addLeadingZeros(isoDayOfWeek, token.length);\n // 2nd\n case 'io':\n return localize.ordinalNumber(isoDayOfWeek, {\n unit: 'day'\n });\n // Tue\n case 'iii':\n return localize.day(dayOfWeek, {\n width: 'abbreviated',\n context: 'formatting'\n });\n // T\n case 'iiiii':\n return localize.day(dayOfWeek, {\n width: 'narrow',\n context: 'formatting'\n });\n // Tu\n case 'iiiiii':\n return localize.day(dayOfWeek, {\n width: 'short',\n context: 'formatting'\n });\n // Tuesday\n case 'iiii':\n default:\n return localize.day(dayOfWeek, {\n width: 'wide',\n context: 'formatting'\n });\n }\n },\n // AM or PM\n a: function a(date, token, localize) {\n var hours = date.getUTCHours();\n var dayPeriodEnumValue = hours / 12 >= 1 ? 'pm' : 'am';\n switch (token) {\n case 'a':\n case 'aa':\n return localize.dayPeriod(dayPeriodEnumValue, {\n width: 'abbreviated',\n context: 'formatting'\n });\n case 'aaa':\n return localize.dayPeriod(dayPeriodEnumValue, {\n width: 'abbreviated',\n context: 'formatting'\n }).toLowerCase();\n case 'aaaaa':\n return localize.dayPeriod(dayPeriodEnumValue, {\n width: 'narrow',\n context: 'formatting'\n });\n case 'aaaa':\n default:\n return localize.dayPeriod(dayPeriodEnumValue, {\n width: 'wide',\n context: 'formatting'\n });\n }\n },\n // AM, PM, midnight, noon\n b: function b(date, token, localize) {\n var hours = date.getUTCHours();\n var dayPeriodEnumValue;\n if (hours === 12) {\n dayPeriodEnumValue = dayPeriodEnum.noon;\n } else if (hours === 0) {\n dayPeriodEnumValue = dayPeriodEnum.midnight;\n } else {\n dayPeriodEnumValue = hours / 12 >= 1 ? 'pm' : 'am';\n }\n switch (token) {\n case 'b':\n case 'bb':\n return localize.dayPeriod(dayPeriodEnumValue, {\n width: 'abbreviated',\n context: 'formatting'\n });\n case 'bbb':\n return localize.dayPeriod(dayPeriodEnumValue, {\n width: 'abbreviated',\n context: 'formatting'\n }).toLowerCase();\n case 'bbbbb':\n return localize.dayPeriod(dayPeriodEnumValue, {\n width: 'narrow',\n context: 'formatting'\n });\n case 'bbbb':\n default:\n return localize.dayPeriod(dayPeriodEnumValue, {\n width: 'wide',\n context: 'formatting'\n });\n }\n },\n // in the morning, in the afternoon, in the evening, at night\n B: function B(date, token, localize) {\n var hours = date.getUTCHours();\n var dayPeriodEnumValue;\n if (hours >= 17) {\n dayPeriodEnumValue = dayPeriodEnum.evening;\n } else if (hours >= 12) {\n dayPeriodEnumValue = dayPeriodEnum.afternoon;\n } else if (hours >= 4) {\n dayPeriodEnumValue = dayPeriodEnum.morning;\n } else {\n dayPeriodEnumValue = dayPeriodEnum.night;\n }\n switch (token) {\n case 'B':\n case 'BB':\n case 'BBB':\n return localize.dayPeriod(dayPeriodEnumValue, {\n width: 'abbreviated',\n context: 'formatting'\n });\n case 'BBBBB':\n return localize.dayPeriod(dayPeriodEnumValue, {\n width: 'narrow',\n context: 'formatting'\n });\n case 'BBBB':\n default:\n return localize.dayPeriod(dayPeriodEnumValue, {\n width: 'wide',\n context: 'formatting'\n });\n }\n },\n // Hour [1-12]\n h: function h(date, token, localize) {\n if (token === 'ho') {\n var hours = date.getUTCHours() % 12;\n if (hours === 0) hours = 12;\n return localize.ordinalNumber(hours, {\n unit: 'hour'\n });\n }\n return lightFormatters.h(date, token);\n },\n // Hour [0-23]\n H: function H(date, token, localize) {\n if (token === 'Ho') {\n return localize.ordinalNumber(date.getUTCHours(), {\n unit: 'hour'\n });\n }\n return lightFormatters.H(date, token);\n },\n // Hour [0-11]\n K: function K(date, token, localize) {\n var hours = date.getUTCHours() % 12;\n if (token === 'Ko') {\n return localize.ordinalNumber(hours, {\n unit: 'hour'\n });\n }\n return addLeadingZeros(hours, token.length);\n },\n // Hour [1-24]\n k: function k(date, token, localize) {\n var hours = date.getUTCHours();\n if (hours === 0) hours = 24;\n if (token === 'ko') {\n return localize.ordinalNumber(hours, {\n unit: 'hour'\n });\n }\n return addLeadingZeros(hours, token.length);\n },\n // Minute\n m: function m(date, token, localize) {\n if (token === 'mo') {\n return localize.ordinalNumber(date.getUTCMinutes(), {\n unit: 'minute'\n });\n }\n return lightFormatters.m(date, token);\n },\n // Second\n s: function s(date, token, localize) {\n if (token === 'so') {\n return localize.ordinalNumber(date.getUTCSeconds(), {\n unit: 'second'\n });\n }\n return lightFormatters.s(date, token);\n },\n // Fraction of second\n S: function S(date, token) {\n return lightFormatters.S(date, token);\n },\n // Timezone (ISO-8601. If offset is 0, output is always `'Z'`)\n X: function X(date, token, _localize, options) {\n var originalDate = options._originalDate || date;\n var timezoneOffset = originalDate.getTimezoneOffset();\n if (timezoneOffset === 0) {\n return 'Z';\n }\n switch (token) {\n // Hours and optional minutes\n case 'X':\n return formatTimezoneWithOptionalMinutes(timezoneOffset);\n\n // Hours, minutes and optional seconds without `:` delimiter\n // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets\n // so this token always has the same output as `XX`\n case 'XXXX':\n case 'XX':\n // Hours and minutes without `:` delimiter\n return formatTimezone(timezoneOffset);\n\n // Hours, minutes and optional seconds with `:` delimiter\n // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets\n // so this token always has the same output as `XXX`\n case 'XXXXX':\n case 'XXX': // Hours and minutes with `:` delimiter\n default:\n return formatTimezone(timezoneOffset, ':');\n }\n },\n // Timezone (ISO-8601. If offset is 0, output is `'+00:00'` or equivalent)\n x: function x(date, token, _localize, options) {\n var originalDate = options._originalDate || date;\n var timezoneOffset = originalDate.getTimezoneOffset();\n switch (token) {\n // Hours and optional minutes\n case 'x':\n return formatTimezoneWithOptionalMinutes(timezoneOffset);\n\n // Hours, minutes and optional seconds without `:` delimiter\n // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets\n // so this token always has the same output as `xx`\n case 'xxxx':\n case 'xx':\n // Hours and minutes without `:` delimiter\n return formatTimezone(timezoneOffset);\n\n // Hours, minutes and optional seconds with `:` delimiter\n // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets\n // so this token always has the same output as `xxx`\n case 'xxxxx':\n case 'xxx': // Hours and minutes with `:` delimiter\n default:\n return formatTimezone(timezoneOffset, ':');\n }\n },\n // Timezone (GMT)\n O: function O(date, token, _localize, options) {\n var originalDate = options._originalDate || date;\n var timezoneOffset = originalDate.getTimezoneOffset();\n switch (token) {\n // Short\n case 'O':\n case 'OO':\n case 'OOO':\n return 'GMT' + formatTimezoneShort(timezoneOffset, ':');\n // Long\n case 'OOOO':\n default:\n return 'GMT' + formatTimezone(timezoneOffset, ':');\n }\n },\n // Timezone (specific non-location)\n z: function z(date, token, _localize, options) {\n var originalDate = options._originalDate || date;\n var timezoneOffset = originalDate.getTimezoneOffset();\n switch (token) {\n // Short\n case 'z':\n case 'zz':\n case 'zzz':\n return 'GMT' + formatTimezoneShort(timezoneOffset, ':');\n // Long\n case 'zzzz':\n default:\n return 'GMT' + formatTimezone(timezoneOffset, ':');\n }\n },\n // Seconds timestamp\n t: function t(date, token, _localize, options) {\n var originalDate = options._originalDate || date;\n var timestamp = Math.floor(originalDate.getTime() / 1000);\n return addLeadingZeros(timestamp, token.length);\n },\n // Milliseconds timestamp\n T: function T(date, token, _localize, options) {\n var originalDate = options._originalDate || date;\n var timestamp = originalDate.getTime();\n return addLeadingZeros(timestamp, token.length);\n }\n};\nfunction formatTimezoneShort(offset, dirtyDelimiter) {\n var sign = offset > 0 ? '-' : '+';\n var absOffset = Math.abs(offset);\n var hours = Math.floor(absOffset / 60);\n var minutes = absOffset % 60;\n if (minutes === 0) {\n return sign + String(hours);\n }\n var delimiter = dirtyDelimiter || '';\n return sign + String(hours) + delimiter + addLeadingZeros(minutes, 2);\n}\nfunction formatTimezoneWithOptionalMinutes(offset, dirtyDelimiter) {\n if (offset % 60 === 0) {\n var sign = offset > 0 ? '-' : '+';\n return sign + addLeadingZeros(Math.abs(offset) / 60, 2);\n }\n return formatTimezone(offset, dirtyDelimiter);\n}\nfunction formatTimezone(offset, dirtyDelimiter) {\n var delimiter = dirtyDelimiter || '';\n var sign = offset > 0 ? '-' : '+';\n var absOffset = Math.abs(offset);\n var hours = addLeadingZeros(Math.floor(absOffset / 60), 2);\n var minutes = addLeadingZeros(absOffset % 60, 2);\n return sign + hours + delimiter + minutes;\n}\nexport default formatters;","import addLeadingZeros from \"../../addLeadingZeros/index.js\";\n/*\n * | | Unit | | Unit |\n * |-----|--------------------------------|-----|--------------------------------|\n * | a | AM, PM | A* | |\n * | d | Day of month | D | |\n * | h | Hour [1-12] | H | Hour [0-23] |\n * | m | Minute | M | Month |\n * | s | Second | S | Fraction of second |\n * | y | Year (abs) | Y | |\n *\n * Letters marked by * are not implemented but reserved by Unicode standard.\n */\nvar formatters = {\n // Year\n y: function y(date, token) {\n // From http://www.unicode.org/reports/tr35/tr35-31/tr35-dates.html#Date_Format_tokens\n // | Year | y | yy | yyy | yyyy | yyyyy |\n // |----------|-------|----|-------|-------|-------|\n // | AD 1 | 1 | 01 | 001 | 0001 | 00001 |\n // | AD 12 | 12 | 12 | 012 | 0012 | 00012 |\n // | AD 123 | 123 | 23 | 123 | 0123 | 00123 |\n // | AD 1234 | 1234 | 34 | 1234 | 1234 | 01234 |\n // | AD 12345 | 12345 | 45 | 12345 | 12345 | 12345 |\n\n var signedYear = date.getUTCFullYear();\n // Returns 1 for 1 BC (which is year 0 in JavaScript)\n var year = signedYear > 0 ? signedYear : 1 - signedYear;\n return addLeadingZeros(token === 'yy' ? year % 100 : year, token.length);\n },\n // Month\n M: function M(date, token) {\n var month = date.getUTCMonth();\n return token === 'M' ? String(month + 1) : addLeadingZeros(month + 1, 2);\n },\n // Day of the month\n d: function d(date, token) {\n return addLeadingZeros(date.getUTCDate(), token.length);\n },\n // AM or PM\n a: function a(date, token) {\n var dayPeriodEnumValue = date.getUTCHours() / 12 >= 1 ? 'pm' : 'am';\n switch (token) {\n case 'a':\n case 'aa':\n return dayPeriodEnumValue.toUpperCase();\n case 'aaa':\n return dayPeriodEnumValue;\n case 'aaaaa':\n return dayPeriodEnumValue[0];\n case 'aaaa':\n default:\n return dayPeriodEnumValue === 'am' ? 'a.m.' : 'p.m.';\n }\n },\n // Hour [1-12]\n h: function h(date, token) {\n return addLeadingZeros(date.getUTCHours() % 12 || 12, token.length);\n },\n // Hour [0-23]\n H: function H(date, token) {\n return addLeadingZeros(date.getUTCHours(), token.length);\n },\n // Minute\n m: function m(date, token) {\n return addLeadingZeros(date.getUTCMinutes(), token.length);\n },\n // Second\n s: function s(date, token) {\n return addLeadingZeros(date.getUTCSeconds(), token.length);\n },\n // Fraction of second\n S: function S(date, token) {\n var numberOfDigits = token.length;\n var milliseconds = date.getUTCMilliseconds();\n var fractionalSeconds = Math.floor(milliseconds * Math.pow(10, numberOfDigits - 3));\n return addLeadingZeros(fractionalSeconds, token.length);\n }\n};\nexport default formatters;","var dateLongFormatter = function dateLongFormatter(pattern, formatLong) {\n switch (pattern) {\n case 'P':\n return formatLong.date({\n width: 'short'\n });\n case 'PP':\n return formatLong.date({\n width: 'medium'\n });\n case 'PPP':\n return formatLong.date({\n width: 'long'\n });\n case 'PPPP':\n default:\n return formatLong.date({\n width: 'full'\n });\n }\n};\nvar timeLongFormatter = function timeLongFormatter(pattern, formatLong) {\n switch (pattern) {\n case 'p':\n return formatLong.time({\n width: 'short'\n });\n case 'pp':\n return formatLong.time({\n width: 'medium'\n });\n case 'ppp':\n return formatLong.time({\n width: 'long'\n });\n case 'pppp':\n default:\n return formatLong.time({\n width: 'full'\n });\n }\n};\nvar dateTimeLongFormatter = function dateTimeLongFormatter(pattern, formatLong) {\n var matchResult = pattern.match(/(P+)(p+)?/) || [];\n var datePattern = matchResult[1];\n var timePattern = matchResult[2];\n if (!timePattern) {\n return dateLongFormatter(pattern, formatLong);\n }\n var dateTimeFormat;\n switch (datePattern) {\n case 'P':\n dateTimeFormat = formatLong.dateTime({\n width: 'short'\n });\n break;\n case 'PP':\n dateTimeFormat = formatLong.dateTime({\n width: 'medium'\n });\n break;\n case 'PPP':\n dateTimeFormat = formatLong.dateTime({\n width: 'long'\n });\n break;\n case 'PPPP':\n default:\n dateTimeFormat = formatLong.dateTime({\n width: 'full'\n });\n break;\n }\n return dateTimeFormat.replace('{{date}}', dateLongFormatter(datePattern, formatLong)).replace('{{time}}', timeLongFormatter(timePattern, formatLong));\n};\nvar longFormatters = {\n p: timeLongFormatter,\n P: dateTimeLongFormatter\n};\nexport default longFormatters;","/**\n * Google Chrome as of 67.0.3396.87 introduced timezones with offset that includes seconds.\n * They usually appear for dates that denote time before the timezones were introduced\n * (e.g. for 'Europe/Prague' timezone the offset is GMT+00:57:44 before 1 October 1891\n * and GMT+01:00:00 after that date)\n *\n * Date#getTimezoneOffset returns the offset in minutes and would return 57 for the example above,\n * which would lead to incorrect calculations.\n *\n * This function returns the timezone offset in milliseconds that takes seconds in account.\n */\nexport default function getTimezoneOffsetInMilliseconds(date) {\n var utcDate = new Date(Date.UTC(date.getFullYear(), date.getMonth(), date.getDate(), date.getHours(), date.getMinutes(), date.getSeconds(), date.getMilliseconds()));\n utcDate.setUTCFullYear(date.getFullYear());\n return date.getTime() - utcDate.getTime();\n}","import toDate from \"../../toDate/index.js\";\nimport requiredArgs from \"../requiredArgs/index.js\";\nvar MILLISECONDS_IN_DAY = 86400000;\nexport default function getUTCDayOfYear(dirtyDate) {\n requiredArgs(1, arguments);\n var date = toDate(dirtyDate);\n var timestamp = date.getTime();\n date.setUTCMonth(0, 1);\n date.setUTCHours(0, 0, 0, 0);\n var startOfYearTimestamp = date.getTime();\n var difference = timestamp - startOfYearTimestamp;\n return Math.floor(difference / MILLISECONDS_IN_DAY) + 1;\n}","import toDate from \"../../toDate/index.js\";\nimport startOfUTCISOWeek from \"../startOfUTCISOWeek/index.js\";\nimport startOfUTCISOWeekYear from \"../startOfUTCISOWeekYear/index.js\";\nimport requiredArgs from \"../requiredArgs/index.js\";\nvar MILLISECONDS_IN_WEEK = 604800000;\nexport default function getUTCISOWeek(dirtyDate) {\n requiredArgs(1, arguments);\n var date = toDate(dirtyDate);\n var diff = startOfUTCISOWeek(date).getTime() - startOfUTCISOWeekYear(date).getTime();\n\n // Round the number of days to the nearest integer\n // because the number of milliseconds in a week is not constant\n // (e.g. it's different in the week of the daylight saving time clock shift)\n return Math.round(diff / MILLISECONDS_IN_WEEK) + 1;\n}","import toDate from \"../../toDate/index.js\";\nimport requiredArgs from \"../requiredArgs/index.js\";\nimport startOfUTCISOWeek from \"../startOfUTCISOWeek/index.js\";\nexport default function getUTCISOWeekYear(dirtyDate) {\n requiredArgs(1, arguments);\n var date = toDate(dirtyDate);\n var year = date.getUTCFullYear();\n var fourthOfJanuaryOfNextYear = new Date(0);\n fourthOfJanuaryOfNextYear.setUTCFullYear(year + 1, 0, 4);\n fourthOfJanuaryOfNextYear.setUTCHours(0, 0, 0, 0);\n var startOfNextYear = startOfUTCISOWeek(fourthOfJanuaryOfNextYear);\n var fourthOfJanuaryOfThisYear = new Date(0);\n fourthOfJanuaryOfThisYear.setUTCFullYear(year, 0, 4);\n fourthOfJanuaryOfThisYear.setUTCHours(0, 0, 0, 0);\n var startOfThisYear = startOfUTCISOWeek(fourthOfJanuaryOfThisYear);\n if (date.getTime() >= startOfNextYear.getTime()) {\n return year + 1;\n } else if (date.getTime() >= startOfThisYear.getTime()) {\n return year;\n } else {\n return year - 1;\n }\n}","import toDate from \"../../toDate/index.js\";\nimport startOfUTCWeek from \"../startOfUTCWeek/index.js\";\nimport startOfUTCWeekYear from \"../startOfUTCWeekYear/index.js\";\nimport requiredArgs from \"../requiredArgs/index.js\";\nvar MILLISECONDS_IN_WEEK = 604800000;\nexport default function getUTCWeek(dirtyDate, options) {\n requiredArgs(1, arguments);\n var date = toDate(dirtyDate);\n var diff = startOfUTCWeek(date, options).getTime() - startOfUTCWeekYear(date, options).getTime();\n\n // Round the number of days to the nearest integer\n // because the number of milliseconds in a week is not constant\n // (e.g. it's different in the week of the daylight saving time clock shift)\n return Math.round(diff / MILLISECONDS_IN_WEEK) + 1;\n}","import toDate from \"../../toDate/index.js\";\nimport requiredArgs from \"../requiredArgs/index.js\";\nimport startOfUTCWeek from \"../startOfUTCWeek/index.js\";\nimport toInteger from \"../toInteger/index.js\";\nimport { getDefaultOptions } from \"../defaultOptions/index.js\";\nexport default function getUTCWeekYear(dirtyDate, options) {\n var _ref, _ref2, _ref3, _options$firstWeekCon, _options$locale, _options$locale$optio, _defaultOptions$local, _defaultOptions$local2;\n requiredArgs(1, arguments);\n var date = toDate(dirtyDate);\n var year = date.getUTCFullYear();\n var defaultOptions = getDefaultOptions();\n var firstWeekContainsDate = toInteger((_ref = (_ref2 = (_ref3 = (_options$firstWeekCon = options === null || options === void 0 ? void 0 : options.firstWeekContainsDate) !== null && _options$firstWeekCon !== void 0 ? _options$firstWeekCon : options === null || options === void 0 ? void 0 : (_options$locale = options.locale) === null || _options$locale === void 0 ? void 0 : (_options$locale$optio = _options$locale.options) === null || _options$locale$optio === void 0 ? void 0 : _options$locale$optio.firstWeekContainsDate) !== null && _ref3 !== void 0 ? _ref3 : defaultOptions.firstWeekContainsDate) !== null && _ref2 !== void 0 ? _ref2 : (_defaultOptions$local = defaultOptions.locale) === null || _defaultOptions$local === void 0 ? void 0 : (_defaultOptions$local2 = _defaultOptions$local.options) === null || _defaultOptions$local2 === void 0 ? void 0 : _defaultOptions$local2.firstWeekContainsDate) !== null && _ref !== void 0 ? _ref : 1);\n\n // Test if weekStartsOn is between 1 and 7 _and_ is not NaN\n if (!(firstWeekContainsDate >= 1 && firstWeekContainsDate <= 7)) {\n throw new RangeError('firstWeekContainsDate must be between 1 and 7 inclusively');\n }\n var firstWeekOfNextYear = new Date(0);\n firstWeekOfNextYear.setUTCFullYear(year + 1, 0, firstWeekContainsDate);\n firstWeekOfNextYear.setUTCHours(0, 0, 0, 0);\n var startOfNextYear = startOfUTCWeek(firstWeekOfNextYear, options);\n var firstWeekOfThisYear = new Date(0);\n firstWeekOfThisYear.setUTCFullYear(year, 0, firstWeekContainsDate);\n firstWeekOfThisYear.setUTCHours(0, 0, 0, 0);\n var startOfThisYear = startOfUTCWeek(firstWeekOfThisYear, options);\n if (date.getTime() >= startOfNextYear.getTime()) {\n return year + 1;\n } else if (date.getTime() >= startOfThisYear.getTime()) {\n return year;\n } else {\n return year - 1;\n }\n}","var protectedDayOfYearTokens = ['D', 'DD'];\nvar protectedWeekYearTokens = ['YY', 'YYYY'];\nexport function isProtectedDayOfYearToken(token) {\n return protectedDayOfYearTokens.indexOf(token) !== -1;\n}\nexport function isProtectedWeekYearToken(token) {\n return protectedWeekYearTokens.indexOf(token) !== -1;\n}\nexport function throwProtectedError(token, format, input) {\n if (token === 'YYYY') {\n throw new RangeError(\"Use `yyyy` instead of `YYYY` (in `\".concat(format, \"`) for formatting years to the input `\").concat(input, \"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md\"));\n } else if (token === 'YY') {\n throw new RangeError(\"Use `yy` instead of `YY` (in `\".concat(format, \"`) for formatting years to the input `\").concat(input, \"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md\"));\n } else if (token === 'D') {\n throw new RangeError(\"Use `d` instead of `D` (in `\".concat(format, \"`) for formatting days of the month to the input `\").concat(input, \"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md\"));\n } else if (token === 'DD') {\n throw new RangeError(\"Use `dd` instead of `DD` (in `\".concat(format, \"`) for formatting days of the month to the input `\").concat(input, \"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md\"));\n }\n}","export default function requiredArgs(required, args) {\n if (args.length < required) {\n throw new TypeError(required + ' argument' + (required > 1 ? 's' : '') + ' required, but only ' + args.length + ' present');\n }\n}","var roundingMap = {\n ceil: Math.ceil,\n round: Math.round,\n floor: Math.floor,\n trunc: function trunc(value) {\n return value < 0 ? Math.ceil(value) : Math.floor(value);\n } // Math.trunc is not supported by IE\n};\n\nvar defaultRoundingMethod = 'trunc';\nexport function getRoundingMethod(method) {\n return method ? roundingMap[method] : roundingMap[defaultRoundingMethod];\n}","import toDate from \"../../toDate/index.js\";\nimport requiredArgs from \"../requiredArgs/index.js\";\nexport default function startOfUTCISOWeek(dirtyDate) {\n requiredArgs(1, arguments);\n var weekStartsOn = 1;\n var date = toDate(dirtyDate);\n var day = date.getUTCDay();\n var diff = (day < weekStartsOn ? 7 : 0) + day - weekStartsOn;\n date.setUTCDate(date.getUTCDate() - diff);\n date.setUTCHours(0, 0, 0, 0);\n return date;\n}","import getUTCISOWeekYear from \"../getUTCISOWeekYear/index.js\";\nimport startOfUTCISOWeek from \"../startOfUTCISOWeek/index.js\";\nimport requiredArgs from \"../requiredArgs/index.js\";\nexport default function startOfUTCISOWeekYear(dirtyDate) {\n requiredArgs(1, arguments);\n var year = getUTCISOWeekYear(dirtyDate);\n var fourthOfJanuary = new Date(0);\n fourthOfJanuary.setUTCFullYear(year, 0, 4);\n fourthOfJanuary.setUTCHours(0, 0, 0, 0);\n var date = startOfUTCISOWeek(fourthOfJanuary);\n return date;\n}","import toDate from \"../../toDate/index.js\";\nimport requiredArgs from \"../requiredArgs/index.js\";\nimport toInteger from \"../toInteger/index.js\";\nimport { getDefaultOptions } from \"../defaultOptions/index.js\";\nexport default function startOfUTCWeek(dirtyDate, options) {\n var _ref, _ref2, _ref3, _options$weekStartsOn, _options$locale, _options$locale$optio, _defaultOptions$local, _defaultOptions$local2;\n requiredArgs(1, arguments);\n var defaultOptions = getDefaultOptions();\n var weekStartsOn = toInteger((_ref = (_ref2 = (_ref3 = (_options$weekStartsOn = options === null || options === void 0 ? void 0 : options.weekStartsOn) !== null && _options$weekStartsOn !== void 0 ? _options$weekStartsOn : options === null || options === void 0 ? void 0 : (_options$locale = options.locale) === null || _options$locale === void 0 ? void 0 : (_options$locale$optio = _options$locale.options) === null || _options$locale$optio === void 0 ? void 0 : _options$locale$optio.weekStartsOn) !== null && _ref3 !== void 0 ? _ref3 : defaultOptions.weekStartsOn) !== null && _ref2 !== void 0 ? _ref2 : (_defaultOptions$local = defaultOptions.locale) === null || _defaultOptions$local === void 0 ? void 0 : (_defaultOptions$local2 = _defaultOptions$local.options) === null || _defaultOptions$local2 === void 0 ? void 0 : _defaultOptions$local2.weekStartsOn) !== null && _ref !== void 0 ? _ref : 0);\n\n // Test if weekStartsOn is between 0 and 6 _and_ is not NaN\n if (!(weekStartsOn >= 0 && weekStartsOn <= 6)) {\n throw new RangeError('weekStartsOn must be between 0 and 6 inclusively');\n }\n var date = toDate(dirtyDate);\n var day = date.getUTCDay();\n var diff = (day < weekStartsOn ? 7 : 0) + day - weekStartsOn;\n date.setUTCDate(date.getUTCDate() - diff);\n date.setUTCHours(0, 0, 0, 0);\n return date;\n}","import getUTCWeekYear from \"../getUTCWeekYear/index.js\";\nimport requiredArgs from \"../requiredArgs/index.js\";\nimport startOfUTCWeek from \"../startOfUTCWeek/index.js\";\nimport toInteger from \"../toInteger/index.js\";\nimport { getDefaultOptions } from \"../defaultOptions/index.js\";\nexport default function startOfUTCWeekYear(dirtyDate, options) {\n var _ref, _ref2, _ref3, _options$firstWeekCon, _options$locale, _options$locale$optio, _defaultOptions$local, _defaultOptions$local2;\n requiredArgs(1, arguments);\n var defaultOptions = getDefaultOptions();\n var firstWeekContainsDate = toInteger((_ref = (_ref2 = (_ref3 = (_options$firstWeekCon = options === null || options === void 0 ? void 0 : options.firstWeekContainsDate) !== null && _options$firstWeekCon !== void 0 ? _options$firstWeekCon : options === null || options === void 0 ? void 0 : (_options$locale = options.locale) === null || _options$locale === void 0 ? void 0 : (_options$locale$optio = _options$locale.options) === null || _options$locale$optio === void 0 ? void 0 : _options$locale$optio.firstWeekContainsDate) !== null && _ref3 !== void 0 ? _ref3 : defaultOptions.firstWeekContainsDate) !== null && _ref2 !== void 0 ? _ref2 : (_defaultOptions$local = defaultOptions.locale) === null || _defaultOptions$local === void 0 ? void 0 : (_defaultOptions$local2 = _defaultOptions$local.options) === null || _defaultOptions$local2 === void 0 ? void 0 : _defaultOptions$local2.firstWeekContainsDate) !== null && _ref !== void 0 ? _ref : 1);\n var year = getUTCWeekYear(dirtyDate, options);\n var firstWeek = new Date(0);\n firstWeek.setUTCFullYear(year, 0, firstWeekContainsDate);\n firstWeek.setUTCHours(0, 0, 0, 0);\n var date = startOfUTCWeek(firstWeek, options);\n return date;\n}","export default function toInteger(dirtyNumber) {\n if (dirtyNumber === null || dirtyNumber === true || dirtyNumber === false) {\n return NaN;\n }\n var number = Number(dirtyNumber);\n if (isNaN(number)) {\n return number;\n }\n return number < 0 ? Math.ceil(number) : Math.floor(number);\n}","import toInteger from \"../_lib/toInteger/index.js\";\nimport toDate from \"../toDate/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name addDays\n * @category Day Helpers\n * @summary Add the specified number of days to the given date.\n *\n * @description\n * Add the specified number of days to the given date.\n *\n * @param {Date|Number} date - the date to be changed\n * @param {Number} amount - the amount of days to be added. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`.\n * @returns {Date} - the new date with the days added\n * @throws {TypeError} - 2 arguments required\n *\n * @example\n * // Add 10 days to 1 September 2014:\n * const result = addDays(new Date(2014, 8, 1), 10)\n * //=> Thu Sep 11 2014 00:00:00\n */\nexport default function addDays(dirtyDate, dirtyAmount) {\n requiredArgs(2, arguments);\n var date = toDate(dirtyDate);\n var amount = toInteger(dirtyAmount);\n if (isNaN(amount)) {\n return new Date(NaN);\n }\n if (!amount) {\n // If 0 days, no-op to avoid changing times in the hour before end of DST\n return date;\n }\n date.setDate(date.getDate() + amount);\n return date;\n}","import toInteger from \"../_lib/toInteger/index.js\";\nimport toDate from \"../toDate/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name addMilliseconds\n * @category Millisecond Helpers\n * @summary Add the specified number of milliseconds to the given date.\n *\n * @description\n * Add the specified number of milliseconds to the given date.\n *\n * @param {Date|Number} date - the date to be changed\n * @param {Number} amount - the amount of milliseconds to be added. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`.\n * @returns {Date} the new date with the milliseconds added\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // Add 750 milliseconds to 10 July 2014 12:45:30.000:\n * const result = addMilliseconds(new Date(2014, 6, 10, 12, 45, 30, 0), 750)\n * //=> Thu Jul 10 2014 12:45:30.750\n */\nexport default function addMilliseconds(dirtyDate, dirtyAmount) {\n requiredArgs(2, arguments);\n var timestamp = toDate(dirtyDate).getTime();\n var amount = toInteger(dirtyAmount);\n return new Date(timestamp + amount);\n}","import toInteger from \"../_lib/toInteger/index.js\";\nimport toDate from \"../toDate/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name addMonths\n * @category Month Helpers\n * @summary Add the specified number of months to the given date.\n *\n * @description\n * Add the specified number of months to the given date.\n *\n * @param {Date|Number} date - the date to be changed\n * @param {Number} amount - the amount of months to be added. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`.\n * @returns {Date} the new date with the months added\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // Add 5 months to 1 September 2014:\n * const result = addMonths(new Date(2014, 8, 1), 5)\n * //=> Sun Feb 01 2015 00:00:00\n */\nexport default function addMonths(dirtyDate, dirtyAmount) {\n requiredArgs(2, arguments);\n var date = toDate(dirtyDate);\n var amount = toInteger(dirtyAmount);\n if (isNaN(amount)) {\n return new Date(NaN);\n }\n if (!amount) {\n // If 0 months, no-op to avoid changing times in the hour before end of DST\n return date;\n }\n var dayOfMonth = date.getDate();\n\n // The JS Date object supports date math by accepting out-of-bounds values for\n // month, day, etc. For example, new Date(2020, 0, 0) returns 31 Dec 2019 and\n // new Date(2020, 13, 1) returns 1 Feb 2021. This is *almost* the behavior we\n // want except that dates will wrap around the end of a month, meaning that\n // new Date(2020, 13, 31) will return 3 Mar 2021 not 28 Feb 2021 as desired. So\n // we'll default to the end of the desired month by adding 1 to the desired\n // month and using a date of 0 to back up one day to the end of the desired\n // month.\n var endOfDesiredMonth = new Date(date.getTime());\n endOfDesiredMonth.setMonth(date.getMonth() + amount + 1, 0);\n var daysInMonth = endOfDesiredMonth.getDate();\n if (dayOfMonth >= daysInMonth) {\n // If we're already at the end of the month, then this is the correct date\n // and we're done.\n return endOfDesiredMonth;\n } else {\n // Otherwise, we now know that setting the original day-of-month value won't\n // cause an overflow, so set the desired day-of-month. Note that we can't\n // just set the date of `endOfDesiredMonth` because that object may have had\n // its time changed in the unusual case where where a DST transition was on\n // the last day of the month and its local time was in the hour skipped or\n // repeated next to a DST transition. So we use `date` instead which is\n // guaranteed to still have the original time.\n date.setFullYear(endOfDesiredMonth.getFullYear(), endOfDesiredMonth.getMonth(), dayOfMonth);\n return date;\n }\n}","import toDate from \"../toDate/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name compareAsc\n * @category Common Helpers\n * @summary Compare the two dates and return -1, 0 or 1.\n *\n * @description\n * Compare the two dates and return 1 if the first date is after the second,\n * -1 if the first date is before the second or 0 if dates are equal.\n *\n * @param {Date|Number} dateLeft - the first date to compare\n * @param {Date|Number} dateRight - the second date to compare\n * @returns {Number} the result of the comparison\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // Compare 11 February 1987 and 10 July 1989:\n * const result = compareAsc(new Date(1987, 1, 11), new Date(1989, 6, 10))\n * //=> -1\n *\n * @example\n * // Sort the array of dates:\n * const result = [\n * new Date(1995, 6, 2),\n * new Date(1987, 1, 11),\n * new Date(1989, 6, 10)\n * ].sort(compareAsc)\n * //=> [\n * // Wed Feb 11 1987 00:00:00,\n * // Mon Jul 10 1989 00:00:00,\n * // Sun Jul 02 1995 00:00:00\n * // ]\n */\nexport default function compareAsc(dirtyDateLeft, dirtyDateRight) {\n requiredArgs(2, arguments);\n var dateLeft = toDate(dirtyDateLeft);\n var dateRight = toDate(dirtyDateRight);\n var diff = dateLeft.getTime() - dateRight.getTime();\n if (diff < 0) {\n return -1;\n } else if (diff > 0) {\n return 1;\n // Return 0 if diff is 0; return NaN if diff is NaN\n } else {\n return diff;\n }\n}","import toDate from \"../toDate/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name differenceInCalendarMonths\n * @category Month Helpers\n * @summary Get the number of calendar months between the given dates.\n *\n * @description\n * Get the number of calendar months between the given dates.\n *\n * @param {Date|Number} dateLeft - the later date\n * @param {Date|Number} dateRight - the earlier date\n * @returns {Number} the number of calendar months\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // How many calendar months are between 31 January 2014 and 1 September 2014?\n * const result = differenceInCalendarMonths(\n * new Date(2014, 8, 1),\n * new Date(2014, 0, 31)\n * )\n * //=> 8\n */\nexport default function differenceInCalendarMonths(dirtyDateLeft, dirtyDateRight) {\n requiredArgs(2, arguments);\n var dateLeft = toDate(dirtyDateLeft);\n var dateRight = toDate(dirtyDateRight);\n var yearDiff = dateLeft.getFullYear() - dateRight.getFullYear();\n var monthDiff = dateLeft.getMonth() - dateRight.getMonth();\n return yearDiff * 12 + monthDiff;\n}","import toDate from \"../toDate/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name differenceInMilliseconds\n * @category Millisecond Helpers\n * @summary Get the number of milliseconds between the given dates.\n *\n * @description\n * Get the number of milliseconds between the given dates.\n *\n * @param {Date|Number} dateLeft - the later date\n * @param {Date|Number} dateRight - the earlier date\n * @returns {Number} the number of milliseconds\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // How many milliseconds are between\n * // 2 July 2014 12:30:20.600 and 2 July 2014 12:30:21.700?\n * const result = differenceInMilliseconds(\n * new Date(2014, 6, 2, 12, 30, 21, 700),\n * new Date(2014, 6, 2, 12, 30, 20, 600)\n * )\n * //=> 1100\n */\nexport default function differenceInMilliseconds(dateLeft, dateRight) {\n requiredArgs(2, arguments);\n return toDate(dateLeft).getTime() - toDate(dateRight).getTime();\n}","import toDate from \"../toDate/index.js\";\nimport differenceInCalendarMonths from \"../differenceInCalendarMonths/index.js\";\nimport compareAsc from \"../compareAsc/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\nimport isLastDayOfMonth from \"../isLastDayOfMonth/index.js\";\n/**\n * @name differenceInMonths\n * @category Month Helpers\n * @summary Get the number of full months between the given dates.\n *\n * @description\n * Get the number of full months between the given dates using trunc as a default rounding method.\n *\n * @param {Date|Number} dateLeft - the later date\n * @param {Date|Number} dateRight - the earlier date\n * @returns {Number} the number of full months\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // How many full months are between 31 January 2014 and 1 September 2014?\n * const result = differenceInMonths(new Date(2014, 8, 1), new Date(2014, 0, 31))\n * //=> 7\n */\nexport default function differenceInMonths(dirtyDateLeft, dirtyDateRight) {\n requiredArgs(2, arguments);\n var dateLeft = toDate(dirtyDateLeft);\n var dateRight = toDate(dirtyDateRight);\n var sign = compareAsc(dateLeft, dateRight);\n var difference = Math.abs(differenceInCalendarMonths(dateLeft, dateRight));\n var result;\n\n // Check for the difference of less than month\n if (difference < 1) {\n result = 0;\n } else {\n if (dateLeft.getMonth() === 1 && dateLeft.getDate() > 27) {\n // This will check if the date is end of Feb and assign a higher end of month date\n // to compare it with Jan\n dateLeft.setDate(30);\n }\n dateLeft.setMonth(dateLeft.getMonth() - sign * difference);\n\n // Math.abs(diff in full months - diff in calendar months) === 1 if last calendar month is not full\n // If so, result must be decreased by 1 in absolute value\n var isLastMonthNotFull = compareAsc(dateLeft, dateRight) === -sign;\n\n // Check for cases of one full calendar month\n if (isLastDayOfMonth(toDate(dirtyDateLeft)) && difference === 1 && compareAsc(dirtyDateLeft, dateRight) === 1) {\n isLastMonthNotFull = false;\n }\n result = sign * (difference - Number(isLastMonthNotFull));\n }\n\n // Prevent negative zero\n return result === 0 ? 0 : result;\n}","import differenceInMilliseconds from \"../differenceInMilliseconds/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\nimport { getRoundingMethod } from \"../_lib/roundingMethods/index.js\";\n/**\n * @name differenceInSeconds\n * @category Second Helpers\n * @summary Get the number of seconds between the given dates.\n *\n * @description\n * Get the number of seconds between the given dates.\n *\n * @param {Date|Number} dateLeft - the later date\n * @param {Date|Number} dateRight - the earlier date\n * @param {Object} [options] - an object with options.\n * @param {String} [options.roundingMethod='trunc'] - a rounding method (`ceil`, `floor`, `round` or `trunc`)\n * @returns {Number} the number of seconds\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // How many seconds are between\n * // 2 July 2014 12:30:07.999 and 2 July 2014 12:30:20.000?\n * const result = differenceInSeconds(\n * new Date(2014, 6, 2, 12, 30, 20, 0),\n * new Date(2014, 6, 2, 12, 30, 7, 999)\n * )\n * //=> 12\n */\nexport default function differenceInSeconds(dateLeft, dateRight, options) {\n requiredArgs(2, arguments);\n var diff = differenceInMilliseconds(dateLeft, dateRight) / 1000;\n return getRoundingMethod(options === null || options === void 0 ? void 0 : options.roundingMethod)(diff);\n}","import toDate from \"../toDate/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name endOfDay\n * @category Day Helpers\n * @summary Return the end of a day for the given date.\n *\n * @description\n * Return the end of a day for the given date.\n * The result will be in the local timezone.\n *\n * @param {Date|Number} date - the original date\n * @returns {Date} the end of a day\n * @throws {TypeError} 1 argument required\n *\n * @example\n * // The end of a day for 2 September 2014 11:55:00:\n * const result = endOfDay(new Date(2014, 8, 2, 11, 55, 0))\n * //=> Tue Sep 02 2014 23:59:59.999\n */\nexport default function endOfDay(dirtyDate) {\n requiredArgs(1, arguments);\n var date = toDate(dirtyDate);\n date.setHours(23, 59, 59, 999);\n return date;\n}","import toDate from \"../toDate/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name endOfMonth\n * @category Month Helpers\n * @summary Return the end of a month for the given date.\n *\n * @description\n * Return the end of a month for the given date.\n * The result will be in the local timezone.\n *\n * @param {Date|Number} date - the original date\n * @returns {Date} the end of a month\n * @throws {TypeError} 1 argument required\n *\n * @example\n * // The end of a month for 2 September 2014 11:55:00:\n * const result = endOfMonth(new Date(2014, 8, 2, 11, 55, 0))\n * //=> Tue Sep 30 2014 23:59:59.999\n */\nexport default function endOfMonth(dirtyDate) {\n requiredArgs(1, arguments);\n var date = toDate(dirtyDate);\n var month = date.getMonth();\n date.setFullYear(date.getFullYear(), month + 1, 0);\n date.setHours(23, 59, 59, 999);\n return date;\n}","import { getDefaultOptions } from \"../_lib/defaultOptions/index.js\";\nimport toDate from \"../toDate/index.js\";\nimport toInteger from \"../_lib/toInteger/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name endOfWeek\n * @category Week Helpers\n * @summary Return the end of a week for the given date.\n *\n * @description\n * Return the end of a week for the given date.\n * The result will be in the local timezone.\n *\n * @param {Date|Number} date - the original date\n * @param {Object} [options] - an object with options.\n * @param {Locale} [options.locale=defaultLocale] - the locale object. See [Locale]{@link https://date-fns.org/docs/Locale}\n * @param {0|1|2|3|4|5|6} [options.weekStartsOn=0] - the index of the first day of the week (0 - Sunday)\n * @returns {Date} the end of a week\n * @throws {TypeError} 1 argument required\n * @throws {RangeError} `options.weekStartsOn` must be between 0 and 6\n *\n * @example\n * // The end of a week for 2 September 2014 11:55:00:\n * const result = endOfWeek(new Date(2014, 8, 2, 11, 55, 0))\n * //=> Sat Sep 06 2014 23:59:59.999\n *\n * @example\n * // If the week starts on Monday, the end of the week for 2 September 2014 11:55:00:\n * const result = endOfWeek(new Date(2014, 8, 2, 11, 55, 0), { weekStartsOn: 1 })\n * //=> Sun Sep 07 2014 23:59:59.999\n */\nexport default function endOfWeek(dirtyDate, options) {\n var _ref, _ref2, _ref3, _options$weekStartsOn, _options$locale, _options$locale$optio, _defaultOptions$local, _defaultOptions$local2;\n requiredArgs(1, arguments);\n var defaultOptions = getDefaultOptions();\n var weekStartsOn = toInteger((_ref = (_ref2 = (_ref3 = (_options$weekStartsOn = options === null || options === void 0 ? void 0 : options.weekStartsOn) !== null && _options$weekStartsOn !== void 0 ? _options$weekStartsOn : options === null || options === void 0 ? void 0 : (_options$locale = options.locale) === null || _options$locale === void 0 ? void 0 : (_options$locale$optio = _options$locale.options) === null || _options$locale$optio === void 0 ? void 0 : _options$locale$optio.weekStartsOn) !== null && _ref3 !== void 0 ? _ref3 : defaultOptions.weekStartsOn) !== null && _ref2 !== void 0 ? _ref2 : (_defaultOptions$local = defaultOptions.locale) === null || _defaultOptions$local === void 0 ? void 0 : (_defaultOptions$local2 = _defaultOptions$local.options) === null || _defaultOptions$local2 === void 0 ? void 0 : _defaultOptions$local2.weekStartsOn) !== null && _ref !== void 0 ? _ref : 0);\n\n // Test if weekStartsOn is between 0 and 6 _and_ is not NaN\n if (!(weekStartsOn >= 0 && weekStartsOn <= 6)) {\n throw new RangeError('weekStartsOn must be between 0 and 6 inclusively');\n }\n var date = toDate(dirtyDate);\n var day = date.getDay();\n var diff = (day < weekStartsOn ? -7 : 0) + 6 - (day - weekStartsOn);\n date.setDate(date.getDate() + diff);\n date.setHours(23, 59, 59, 999);\n return date;\n}","import isValid from \"../isValid/index.js\";\nimport subMilliseconds from \"../subMilliseconds/index.js\";\nimport toDate from \"../toDate/index.js\";\nimport formatters from \"../_lib/format/formatters/index.js\";\nimport longFormatters from \"../_lib/format/longFormatters/index.js\";\nimport getTimezoneOffsetInMilliseconds from \"../_lib/getTimezoneOffsetInMilliseconds/index.js\";\nimport { isProtectedDayOfYearToken, isProtectedWeekYearToken, throwProtectedError } from \"../_lib/protectedTokens/index.js\";\nimport toInteger from \"../_lib/toInteger/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\nimport { getDefaultOptions } from \"../_lib/defaultOptions/index.js\";\nimport defaultLocale from \"../_lib/defaultLocale/index.js\"; // This RegExp consists of three parts separated by `|`:\n// - [yYQqMLwIdDecihHKkms]o matches any available ordinal number token\n// (one of the certain letters followed by `o`)\n// - (\\w)\\1* matches any sequences of the same letter\n// - '' matches two quote characters in a row\n// - '(''|[^'])+('|$) matches anything surrounded by two quote characters ('),\n// except a single quote symbol, which ends the sequence.\n// Two quote characters do not end the sequence.\n// If there is no matching single quote\n// then the sequence will continue until the end of the string.\n// - . matches any single character unmatched by previous parts of the RegExps\nvar formattingTokensRegExp = /[yYQqMLwIdDecihHKkms]o|(\\w)\\1*|''|'(''|[^'])+('|$)|./g;\n\n// This RegExp catches symbols escaped by quotes, and also\n// sequences of symbols P, p, and the combinations like `PPPPPPPppppp`\nvar longFormattingTokensRegExp = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g;\nvar escapedStringRegExp = /^'([^]*?)'?$/;\nvar doubleQuoteRegExp = /''/g;\nvar unescapedLatinCharacterRegExp = /[a-zA-Z]/;\n\n/**\n * @name format\n * @category Common Helpers\n * @summary Format the date.\n *\n * @description\n * Return the formatted date string in the given format. The result may vary by locale.\n *\n * > ⚠️ Please note that the `format` tokens differ from Moment.js and other libraries.\n * > See: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md\n *\n * The characters wrapped between two single quotes characters (') are escaped.\n * Two single quotes in a row, whether inside or outside a quoted sequence, represent a 'real' single quote.\n * (see the last example)\n *\n * Format of the string is based on Unicode Technical Standard #35:\n * https://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table\n * with a few additions (see note 7 below the table).\n *\n * Accepted patterns:\n * | Unit | Pattern | Result examples | Notes |\n * |---------------------------------|---------|-----------------------------------|-------|\n * | Era | G..GGG | AD, BC | |\n * | | GGGG | Anno Domini, Before Christ | 2 |\n * | | GGGGG | A, B | |\n * | Calendar year | y | 44, 1, 1900, 2017 | 5 |\n * | | yo | 44th, 1st, 0th, 17th | 5,7 |\n * | | yy | 44, 01, 00, 17 | 5 |\n * | | yyy | 044, 001, 1900, 2017 | 5 |\n * | | yyyy | 0044, 0001, 1900, 2017 | 5 |\n * | | yyyyy | ... | 3,5 |\n * | Local week-numbering year | Y | 44, 1, 1900, 2017 | 5 |\n * | | Yo | 44th, 1st, 1900th, 2017th | 5,7 |\n * | | YY | 44, 01, 00, 17 | 5,8 |\n * | | YYY | 044, 001, 1900, 2017 | 5 |\n * | | YYYY | 0044, 0001, 1900, 2017 | 5,8 |\n * | | YYYYY | ... | 3,5 |\n * | ISO week-numbering year | R | -43, 0, 1, 1900, 2017 | 5,7 |\n * | | RR | -43, 00, 01, 1900, 2017 | 5,7 |\n * | | RRR | -043, 000, 001, 1900, 2017 | 5,7 |\n * | | RRRR | -0043, 0000, 0001, 1900, 2017 | 5,7 |\n * | | RRRRR | ... | 3,5,7 |\n * | Extended year | u | -43, 0, 1, 1900, 2017 | 5 |\n * | | uu | -43, 01, 1900, 2017 | 5 |\n * | | uuu | -043, 001, 1900, 2017 | 5 |\n * | | uuuu | -0043, 0001, 1900, 2017 | 5 |\n * | | uuuuu | ... | 3,5 |\n * | Quarter (formatting) | Q | 1, 2, 3, 4 | |\n * | | Qo | 1st, 2nd, 3rd, 4th | 7 |\n * | | QQ | 01, 02, 03, 04 | |\n * | | QQQ | Q1, Q2, Q3, Q4 | |\n * | | QQQQ | 1st quarter, 2nd quarter, ... | 2 |\n * | | QQQQQ | 1, 2, 3, 4 | 4 |\n * | Quarter (stand-alone) | q | 1, 2, 3, 4 | |\n * | | qo | 1st, 2nd, 3rd, 4th | 7 |\n * | | qq | 01, 02, 03, 04 | |\n * | | qqq | Q1, Q2, Q3, Q4 | |\n * | | qqqq | 1st quarter, 2nd quarter, ... | 2 |\n * | | qqqqq | 1, 2, 3, 4 | 4 |\n * | Month (formatting) | M | 1, 2, ..., 12 | |\n * | | Mo | 1st, 2nd, ..., 12th | 7 |\n * | | MM | 01, 02, ..., 12 | |\n * | | MMM | Jan, Feb, ..., Dec | |\n * | | MMMM | January, February, ..., December | 2 |\n * | | MMMMM | J, F, ..., D | |\n * | Month (stand-alone) | L | 1, 2, ..., 12 | |\n * | | Lo | 1st, 2nd, ..., 12th | 7 |\n * | | LL | 01, 02, ..., 12 | |\n * | | LLL | Jan, Feb, ..., Dec | |\n * | | LLLL | January, February, ..., December | 2 |\n * | | LLLLL | J, F, ..., D | |\n * | Local week of year | w | 1, 2, ..., 53 | |\n * | | wo | 1st, 2nd, ..., 53th | 7 |\n * | | ww | 01, 02, ..., 53 | |\n * | ISO week of year | I | 1, 2, ..., 53 | 7 |\n * | | Io | 1st, 2nd, ..., 53th | 7 |\n * | | II | 01, 02, ..., 53 | 7 |\n * | Day of month | d | 1, 2, ..., 31 | |\n * | | do | 1st, 2nd, ..., 31st | 7 |\n * | | dd | 01, 02, ..., 31 | |\n * | Day of year | D | 1, 2, ..., 365, 366 | 9 |\n * | | Do | 1st, 2nd, ..., 365th, 366th | 7 |\n * | | DD | 01, 02, ..., 365, 366 | 9 |\n * | | DDD | 001, 002, ..., 365, 366 | |\n * | | DDDD | ... | 3 |\n * | Day of week (formatting) | E..EEE | Mon, Tue, Wed, ..., Sun | |\n * | | EEEE | Monday, Tuesday, ..., Sunday | 2 |\n * | | EEEEE | M, T, W, T, F, S, S | |\n * | | EEEEEE | Mo, Tu, We, Th, Fr, Sa, Su | |\n * | ISO day of week (formatting) | i | 1, 2, 3, ..., 7 | 7 |\n * | | io | 1st, 2nd, ..., 7th | 7 |\n * | | ii | 01, 02, ..., 07 | 7 |\n * | | iii | Mon, Tue, Wed, ..., Sun | 7 |\n * | | iiii | Monday, Tuesday, ..., Sunday | 2,7 |\n * | | iiiii | M, T, W, T, F, S, S | 7 |\n * | | iiiiii | Mo, Tu, We, Th, Fr, Sa, Su | 7 |\n * | Local day of week (formatting) | e | 2, 3, 4, ..., 1 | |\n * | | eo | 2nd, 3rd, ..., 1st | 7 |\n * | | ee | 02, 03, ..., 01 | |\n * | | eee | Mon, Tue, Wed, ..., Sun | |\n * | | eeee | Monday, Tuesday, ..., Sunday | 2 |\n * | | eeeee | M, T, W, T, F, S, S | |\n * | | eeeeee | Mo, Tu, We, Th, Fr, Sa, Su | |\n * | Local day of week (stand-alone) | c | 2, 3, 4, ..., 1 | |\n * | | co | 2nd, 3rd, ..., 1st | 7 |\n * | | cc | 02, 03, ..., 01 | |\n * | | ccc | Mon, Tue, Wed, ..., Sun | |\n * | | cccc | Monday, Tuesday, ..., Sunday | 2 |\n * | | ccccc | M, T, W, T, F, S, S | |\n * | | cccccc | Mo, Tu, We, Th, Fr, Sa, Su | |\n * | AM, PM | a..aa | AM, PM | |\n * | | aaa | am, pm | |\n * | | aaaa | a.m., p.m. | 2 |\n * | | aaaaa | a, p | |\n * | AM, PM, noon, midnight | b..bb | AM, PM, noon, midnight | |\n * | | bbb | am, pm, noon, midnight | |\n * | | bbbb | a.m., p.m., noon, midnight | 2 |\n * | | bbbbb | a, p, n, mi | |\n * | Flexible day period | B..BBB | at night, in the morning, ... | |\n * | | BBBB | at night, in the morning, ... | 2 |\n * | | BBBBB | at night, in the morning, ... | |\n * | Hour [1-12] | h | 1, 2, ..., 11, 12 | |\n * | | ho | 1st, 2nd, ..., 11th, 12th | 7 |\n * | | hh | 01, 02, ..., 11, 12 | |\n * | Hour [0-23] | H | 0, 1, 2, ..., 23 | |\n * | | Ho | 0th, 1st, 2nd, ..., 23rd | 7 |\n * | | HH | 00, 01, 02, ..., 23 | |\n * | Hour [0-11] | K | 1, 2, ..., 11, 0 | |\n * | | Ko | 1st, 2nd, ..., 11th, 0th | 7 |\n * | | KK | 01, 02, ..., 11, 00 | |\n * | Hour [1-24] | k | 24, 1, 2, ..., 23 | |\n * | | ko | 24th, 1st, 2nd, ..., 23rd | 7 |\n * | | kk | 24, 01, 02, ..., 23 | |\n * | Minute | m | 0, 1, ..., 59 | |\n * | | mo | 0th, 1st, ..., 59th | 7 |\n * | | mm | 00, 01, ..., 59 | |\n * | Second | s | 0, 1, ..., 59 | |\n * | | so | 0th, 1st, ..., 59th | 7 |\n * | | ss | 00, 01, ..., 59 | |\n * | Fraction of second | S | 0, 1, ..., 9 | |\n * | | SS | 00, 01, ..., 99 | |\n * | | SSS | 000, 001, ..., 999 | |\n * | | SSSS | ... | 3 |\n * | Timezone (ISO-8601 w/ Z) | X | -08, +0530, Z | |\n * | | XX | -0800, +0530, Z | |\n * | | XXX | -08:00, +05:30, Z | |\n * | | XXXX | -0800, +0530, Z, +123456 | 2 |\n * | | XXXXX | -08:00, +05:30, Z, +12:34:56 | |\n * | Timezone (ISO-8601 w/o Z) | x | -08, +0530, +00 | |\n * | | xx | -0800, +0530, +0000 | |\n * | | xxx | -08:00, +05:30, +00:00 | 2 |\n * | | xxxx | -0800, +0530, +0000, +123456 | |\n * | | xxxxx | -08:00, +05:30, +00:00, +12:34:56 | |\n * | Timezone (GMT) | O...OOO | GMT-8, GMT+5:30, GMT+0 | |\n * | | OOOO | GMT-08:00, GMT+05:30, GMT+00:00 | 2 |\n * | Timezone (specific non-locat.) | z...zzz | GMT-8, GMT+5:30, GMT+0 | 6 |\n * | | zzzz | GMT-08:00, GMT+05:30, GMT+00:00 | 2,6 |\n * | Seconds timestamp | t | 512969520 | 7 |\n * | | tt | ... | 3,7 |\n * | Milliseconds timestamp | T | 512969520900 | 7 |\n * | | TT | ... | 3,7 |\n * | Long localized date | P | 04/29/1453 | 7 |\n * | | PP | Apr 29, 1453 | 7 |\n * | | PPP | April 29th, 1453 | 7 |\n * | | PPPP | Friday, April 29th, 1453 | 2,7 |\n * | Long localized time | p | 12:00 AM | 7 |\n * | | pp | 12:00:00 AM | 7 |\n * | | ppp | 12:00:00 AM GMT+2 | 7 |\n * | | pppp | 12:00:00 AM GMT+02:00 | 2,7 |\n * | Combination of date and time | Pp | 04/29/1453, 12:00 AM | 7 |\n * | | PPpp | Apr 29, 1453, 12:00:00 AM | 7 |\n * | | PPPppp | April 29th, 1453 at ... | 7 |\n * | | PPPPpppp| Friday, April 29th, 1453 at ... | 2,7 |\n * Notes:\n * 1. \"Formatting\" units (e.g. formatting quarter) in the default en-US locale\n * are the same as \"stand-alone\" units, but are different in some languages.\n * \"Formatting\" units are declined according to the rules of the language\n * in the context of a date. \"Stand-alone\" units are always nominative singular:\n *\n * `format(new Date(2017, 10, 6), 'do LLLL', {locale: cs}) //=> '6. listopad'`\n *\n * `format(new Date(2017, 10, 6), 'do MMMM', {locale: cs}) //=> '6. listopadu'`\n *\n * 2. Any sequence of the identical letters is a pattern, unless it is escaped by\n * the single quote characters (see below).\n * If the sequence is longer than listed in table (e.g. `EEEEEEEEEEE`)\n * the output will be the same as default pattern for this unit, usually\n * the longest one (in case of ISO weekdays, `EEEE`). Default patterns for units\n * are marked with \"2\" in the last column of the table.\n *\n * `format(new Date(2017, 10, 6), 'MMM') //=> 'Nov'`\n *\n * `format(new Date(2017, 10, 6), 'MMMM') //=> 'November'`\n *\n * `format(new Date(2017, 10, 6), 'MMMMM') //=> 'N'`\n *\n * `format(new Date(2017, 10, 6), 'MMMMMM') //=> 'November'`\n *\n * `format(new Date(2017, 10, 6), 'MMMMMMM') //=> 'November'`\n *\n * 3. Some patterns could be unlimited length (such as `yyyyyyyy`).\n * The output will be padded with zeros to match the length of the pattern.\n *\n * `format(new Date(2017, 10, 6), 'yyyyyyyy') //=> '00002017'`\n *\n * 4. `QQQQQ` and `qqqqq` could be not strictly numerical in some locales.\n * These tokens represent the shortest form of the quarter.\n *\n * 5. The main difference between `y` and `u` patterns are B.C. years:\n *\n * | Year | `y` | `u` |\n * |------|-----|-----|\n * | AC 1 | 1 | 1 |\n * | BC 1 | 1 | 0 |\n * | BC 2 | 2 | -1 |\n *\n * Also `yy` always returns the last two digits of a year,\n * while `uu` pads single digit years to 2 characters and returns other years unchanged:\n *\n * | Year | `yy` | `uu` |\n * |------|------|------|\n * | 1 | 01 | 01 |\n * | 14 | 14 | 14 |\n * | 376 | 76 | 376 |\n * | 1453 | 53 | 1453 |\n *\n * The same difference is true for local and ISO week-numbering years (`Y` and `R`),\n * except local week-numbering years are dependent on `options.weekStartsOn`\n * and `options.firstWeekContainsDate` (compare [getISOWeekYear]{@link https://date-fns.org/docs/getISOWeekYear}\n * and [getWeekYear]{@link https://date-fns.org/docs/getWeekYear}).\n *\n * 6. Specific non-location timezones are currently unavailable in `date-fns`,\n * so right now these tokens fall back to GMT timezones.\n *\n * 7. These patterns are not in the Unicode Technical Standard #35:\n * - `i`: ISO day of week\n * - `I`: ISO week of year\n * - `R`: ISO week-numbering year\n * - `t`: seconds timestamp\n * - `T`: milliseconds timestamp\n * - `o`: ordinal number modifier\n * - `P`: long localized date\n * - `p`: long localized time\n *\n * 8. `YY` and `YYYY` tokens represent week-numbering years but they are often confused with years.\n * You should enable `options.useAdditionalWeekYearTokens` to use them. See: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md\n *\n * 9. `D` and `DD` tokens represent days of the year but they are often confused with days of the month.\n * You should enable `options.useAdditionalDayOfYearTokens` to use them. See: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md\n *\n * @param {Date|Number} date - the original date\n * @param {String} format - the string of tokens\n * @param {Object} [options] - an object with options.\n * @param {Locale} [options.locale=defaultLocale] - the locale object. See [Locale]{@link https://date-fns.org/docs/Locale}\n * @param {0|1|2|3|4|5|6} [options.weekStartsOn=0] - the index of the first day of the week (0 - Sunday)\n * @param {Number} [options.firstWeekContainsDate=1] - the day of January, which is\n * @param {Boolean} [options.useAdditionalWeekYearTokens=false] - if true, allows usage of the week-numbering year tokens `YY` and `YYYY`;\n * see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md\n * @param {Boolean} [options.useAdditionalDayOfYearTokens=false] - if true, allows usage of the day of year tokens `D` and `DD`;\n * see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md\n * @returns {String} the formatted date string\n * @throws {TypeError} 2 arguments required\n * @throws {RangeError} `date` must not be Invalid Date\n * @throws {RangeError} `options.locale` must contain `localize` property\n * @throws {RangeError} `options.locale` must contain `formatLong` property\n * @throws {RangeError} `options.weekStartsOn` must be between 0 and 6\n * @throws {RangeError} `options.firstWeekContainsDate` must be between 1 and 7\n * @throws {RangeError} use `yyyy` instead of `YYYY` for formatting years using [format provided] to the input [input provided]; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md\n * @throws {RangeError} use `yy` instead of `YY` for formatting years using [format provided] to the input [input provided]; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md\n * @throws {RangeError} use `d` instead of `D` for formatting days of the month using [format provided] to the input [input provided]; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md\n * @throws {RangeError} use `dd` instead of `DD` for formatting days of the month using [format provided] to the input [input provided]; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md\n * @throws {RangeError} format string contains an unescaped latin alphabet character\n *\n * @example\n * // Represent 11 February 2014 in middle-endian format:\n * const result = format(new Date(2014, 1, 11), 'MM/dd/yyyy')\n * //=> '02/11/2014'\n *\n * @example\n * // Represent 2 July 2014 in Esperanto:\n * import { eoLocale } from 'date-fns/locale/eo'\n * const result = format(new Date(2014, 6, 2), \"do 'de' MMMM yyyy\", {\n * locale: eoLocale\n * })\n * //=> '2-a de julio 2014'\n *\n * @example\n * // Escape string by single quote characters:\n * const result = format(new Date(2014, 6, 2, 15), \"h 'o''clock'\")\n * //=> \"3 o'clock\"\n */\n\nexport default function format(dirtyDate, dirtyFormatStr, options) {\n var _ref, _options$locale, _ref2, _ref3, _ref4, _options$firstWeekCon, _options$locale2, _options$locale2$opti, _defaultOptions$local, _defaultOptions$local2, _ref5, _ref6, _ref7, _options$weekStartsOn, _options$locale3, _options$locale3$opti, _defaultOptions$local3, _defaultOptions$local4;\n requiredArgs(2, arguments);\n var formatStr = String(dirtyFormatStr);\n var defaultOptions = getDefaultOptions();\n var locale = (_ref = (_options$locale = options === null || options === void 0 ? void 0 : options.locale) !== null && _options$locale !== void 0 ? _options$locale : defaultOptions.locale) !== null && _ref !== void 0 ? _ref : defaultLocale;\n var firstWeekContainsDate = toInteger((_ref2 = (_ref3 = (_ref4 = (_options$firstWeekCon = options === null || options === void 0 ? void 0 : options.firstWeekContainsDate) !== null && _options$firstWeekCon !== void 0 ? _options$firstWeekCon : options === null || options === void 0 ? void 0 : (_options$locale2 = options.locale) === null || _options$locale2 === void 0 ? void 0 : (_options$locale2$opti = _options$locale2.options) === null || _options$locale2$opti === void 0 ? void 0 : _options$locale2$opti.firstWeekContainsDate) !== null && _ref4 !== void 0 ? _ref4 : defaultOptions.firstWeekContainsDate) !== null && _ref3 !== void 0 ? _ref3 : (_defaultOptions$local = defaultOptions.locale) === null || _defaultOptions$local === void 0 ? void 0 : (_defaultOptions$local2 = _defaultOptions$local.options) === null || _defaultOptions$local2 === void 0 ? void 0 : _defaultOptions$local2.firstWeekContainsDate) !== null && _ref2 !== void 0 ? _ref2 : 1);\n\n // Test if weekStartsOn is between 1 and 7 _and_ is not NaN\n if (!(firstWeekContainsDate >= 1 && firstWeekContainsDate <= 7)) {\n throw new RangeError('firstWeekContainsDate must be between 1 and 7 inclusively');\n }\n var weekStartsOn = toInteger((_ref5 = (_ref6 = (_ref7 = (_options$weekStartsOn = options === null || options === void 0 ? void 0 : options.weekStartsOn) !== null && _options$weekStartsOn !== void 0 ? _options$weekStartsOn : options === null || options === void 0 ? void 0 : (_options$locale3 = options.locale) === null || _options$locale3 === void 0 ? void 0 : (_options$locale3$opti = _options$locale3.options) === null || _options$locale3$opti === void 0 ? void 0 : _options$locale3$opti.weekStartsOn) !== null && _ref7 !== void 0 ? _ref7 : defaultOptions.weekStartsOn) !== null && _ref6 !== void 0 ? _ref6 : (_defaultOptions$local3 = defaultOptions.locale) === null || _defaultOptions$local3 === void 0 ? void 0 : (_defaultOptions$local4 = _defaultOptions$local3.options) === null || _defaultOptions$local4 === void 0 ? void 0 : _defaultOptions$local4.weekStartsOn) !== null && _ref5 !== void 0 ? _ref5 : 0);\n\n // Test if weekStartsOn is between 0 and 6 _and_ is not NaN\n if (!(weekStartsOn >= 0 && weekStartsOn <= 6)) {\n throw new RangeError('weekStartsOn must be between 0 and 6 inclusively');\n }\n if (!locale.localize) {\n throw new RangeError('locale must contain localize property');\n }\n if (!locale.formatLong) {\n throw new RangeError('locale must contain formatLong property');\n }\n var originalDate = toDate(dirtyDate);\n if (!isValid(originalDate)) {\n throw new RangeError('Invalid time value');\n }\n\n // Convert the date in system timezone to the same date in UTC+00:00 timezone.\n // This ensures that when UTC functions will be implemented, locales will be compatible with them.\n // See an issue about UTC functions: https://github.com/date-fns/date-fns/issues/376\n var timezoneOffset = getTimezoneOffsetInMilliseconds(originalDate);\n var utcDate = subMilliseconds(originalDate, timezoneOffset);\n var formatterOptions = {\n firstWeekContainsDate: firstWeekContainsDate,\n weekStartsOn: weekStartsOn,\n locale: locale,\n _originalDate: originalDate\n };\n var result = formatStr.match(longFormattingTokensRegExp).map(function (substring) {\n var firstCharacter = substring[0];\n if (firstCharacter === 'p' || firstCharacter === 'P') {\n var longFormatter = longFormatters[firstCharacter];\n return longFormatter(substring, locale.formatLong);\n }\n return substring;\n }).join('').match(formattingTokensRegExp).map(function (substring) {\n // Replace two single quote characters with one single quote character\n if (substring === \"''\") {\n return \"'\";\n }\n var firstCharacter = substring[0];\n if (firstCharacter === \"'\") {\n return cleanEscapedString(substring);\n }\n var formatter = formatters[firstCharacter];\n if (formatter) {\n if (!(options !== null && options !== void 0 && options.useAdditionalWeekYearTokens) && isProtectedWeekYearToken(substring)) {\n throwProtectedError(substring, dirtyFormatStr, String(dirtyDate));\n }\n if (!(options !== null && options !== void 0 && options.useAdditionalDayOfYearTokens) && isProtectedDayOfYearToken(substring)) {\n throwProtectedError(substring, dirtyFormatStr, String(dirtyDate));\n }\n return formatter(utcDate, substring, locale.localize, formatterOptions);\n }\n if (firstCharacter.match(unescapedLatinCharacterRegExp)) {\n throw new RangeError('Format string contains an unescaped latin alphabet character `' + firstCharacter + '`');\n }\n return substring;\n }).join('');\n return result;\n}\nfunction cleanEscapedString(input) {\n var matched = input.match(escapedStringRegExp);\n if (!matched) {\n return input;\n }\n return matched[1].replace(doubleQuoteRegExp, \"'\");\n}","import { getDefaultOptions } from \"../_lib/defaultOptions/index.js\";\nimport compareAsc from \"../compareAsc/index.js\";\nimport differenceInMonths from \"../differenceInMonths/index.js\";\nimport differenceInSeconds from \"../differenceInSeconds/index.js\";\nimport defaultLocale from \"../_lib/defaultLocale/index.js\";\nimport toDate from \"../toDate/index.js\";\nimport cloneObject from \"../_lib/cloneObject/index.js\";\nimport assign from \"../_lib/assign/index.js\";\nimport getTimezoneOffsetInMilliseconds from \"../_lib/getTimezoneOffsetInMilliseconds/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\nvar MINUTES_IN_DAY = 1440;\nvar MINUTES_IN_ALMOST_TWO_DAYS = 2520;\nvar MINUTES_IN_MONTH = 43200;\nvar MINUTES_IN_TWO_MONTHS = 86400;\n\n/**\n * @name formatDistance\n * @category Common Helpers\n * @summary Return the distance between the given dates in words.\n *\n * @description\n * Return the distance between the given dates in words.\n *\n * | Distance between dates | Result |\n * |-------------------------------------------------------------------|---------------------|\n * | 0 ... 30 secs | less than a minute |\n * | 30 secs ... 1 min 30 secs | 1 minute |\n * | 1 min 30 secs ... 44 mins 30 secs | [2..44] minutes |\n * | 44 mins ... 30 secs ... 89 mins 30 secs | about 1 hour |\n * | 89 mins 30 secs ... 23 hrs 59 mins 30 secs | about [2..24] hours |\n * | 23 hrs 59 mins 30 secs ... 41 hrs 59 mins 30 secs | 1 day |\n * | 41 hrs 59 mins 30 secs ... 29 days 23 hrs 59 mins 30 secs | [2..30] days |\n * | 29 days 23 hrs 59 mins 30 secs ... 44 days 23 hrs 59 mins 30 secs | about 1 month |\n * | 44 days 23 hrs 59 mins 30 secs ... 59 days 23 hrs 59 mins 30 secs | about 2 months |\n * | 59 days 23 hrs 59 mins 30 secs ... 1 yr | [2..12] months |\n * | 1 yr ... 1 yr 3 months | about 1 year |\n * | 1 yr 3 months ... 1 yr 9 month s | over 1 year |\n * | 1 yr 9 months ... 2 yrs | almost 2 years |\n * | N yrs ... N yrs 3 months | about N years |\n * | N yrs 3 months ... N yrs 9 months | over N years |\n * | N yrs 9 months ... N+1 yrs | almost N+1 years |\n *\n * With `options.includeSeconds == true`:\n * | Distance between dates | Result |\n * |------------------------|----------------------|\n * | 0 secs ... 5 secs | less than 5 seconds |\n * | 5 secs ... 10 secs | less than 10 seconds |\n * | 10 secs ... 20 secs | less than 20 seconds |\n * | 20 secs ... 40 secs | half a minute |\n * | 40 secs ... 60 secs | less than a minute |\n * | 60 secs ... 90 secs | 1 minute |\n *\n * @param {Date|Number} date - the date\n * @param {Date|Number} baseDate - the date to compare with\n * @param {Object} [options] - an object with options.\n * @param {Boolean} [options.includeSeconds=false] - distances less than a minute are more detailed\n * @param {Boolean} [options.addSuffix=false] - result indicates if the second date is earlier or later than the first\n * @param {Locale} [options.locale=defaultLocale] - the locale object. See [Locale]{@link https://date-fns.org/docs/Locale}\n * @returns {String} the distance in words\n * @throws {TypeError} 2 arguments required\n * @throws {RangeError} `date` must not be Invalid Date\n * @throws {RangeError} `baseDate` must not be Invalid Date\n * @throws {RangeError} `options.locale` must contain `formatDistance` property\n *\n * @example\n * // What is the distance between 2 July 2014 and 1 January 2015?\n * const result = formatDistance(new Date(2014, 6, 2), new Date(2015, 0, 1))\n * //=> '6 months'\n *\n * @example\n * // What is the distance between 1 January 2015 00:00:15\n * // and 1 January 2015 00:00:00, including seconds?\n * const result = formatDistance(\n * new Date(2015, 0, 1, 0, 0, 15),\n * new Date(2015, 0, 1, 0, 0, 0),\n * { includeSeconds: true }\n * )\n * //=> 'less than 20 seconds'\n *\n * @example\n * // What is the distance from 1 January 2016\n * // to 1 January 2015, with a suffix?\n * const result = formatDistance(new Date(2015, 0, 1), new Date(2016, 0, 1), {\n * addSuffix: true\n * })\n * //=> 'about 1 year ago'\n *\n * @example\n * // What is the distance between 1 August 2016 and 1 January 2015 in Esperanto?\n * import { eoLocale } from 'date-fns/locale/eo'\n * const result = formatDistance(new Date(2016, 7, 1), new Date(2015, 0, 1), {\n * locale: eoLocale\n * })\n * //=> 'pli ol 1 jaro'\n */\n\nexport default function formatDistance(dirtyDate, dirtyBaseDate, options) {\n var _ref, _options$locale;\n requiredArgs(2, arguments);\n var defaultOptions = getDefaultOptions();\n var locale = (_ref = (_options$locale = options === null || options === void 0 ? void 0 : options.locale) !== null && _options$locale !== void 0 ? _options$locale : defaultOptions.locale) !== null && _ref !== void 0 ? _ref : defaultLocale;\n if (!locale.formatDistance) {\n throw new RangeError('locale must contain formatDistance property');\n }\n var comparison = compareAsc(dirtyDate, dirtyBaseDate);\n if (isNaN(comparison)) {\n throw new RangeError('Invalid time value');\n }\n var localizeOptions = assign(cloneObject(options), {\n addSuffix: Boolean(options === null || options === void 0 ? void 0 : options.addSuffix),\n comparison: comparison\n });\n var dateLeft;\n var dateRight;\n if (comparison > 0) {\n dateLeft = toDate(dirtyBaseDate);\n dateRight = toDate(dirtyDate);\n } else {\n dateLeft = toDate(dirtyDate);\n dateRight = toDate(dirtyBaseDate);\n }\n var seconds = differenceInSeconds(dateRight, dateLeft);\n var offsetInSeconds = (getTimezoneOffsetInMilliseconds(dateRight) - getTimezoneOffsetInMilliseconds(dateLeft)) / 1000;\n var minutes = Math.round((seconds - offsetInSeconds) / 60);\n var months;\n\n // 0 up to 2 mins\n if (minutes < 2) {\n if (options !== null && options !== void 0 && options.includeSeconds) {\n if (seconds < 5) {\n return locale.formatDistance('lessThanXSeconds', 5, localizeOptions);\n } else if (seconds < 10) {\n return locale.formatDistance('lessThanXSeconds', 10, localizeOptions);\n } else if (seconds < 20) {\n return locale.formatDistance('lessThanXSeconds', 20, localizeOptions);\n } else if (seconds < 40) {\n return locale.formatDistance('halfAMinute', 0, localizeOptions);\n } else if (seconds < 60) {\n return locale.formatDistance('lessThanXMinutes', 1, localizeOptions);\n } else {\n return locale.formatDistance('xMinutes', 1, localizeOptions);\n }\n } else {\n if (minutes === 0) {\n return locale.formatDistance('lessThanXMinutes', 1, localizeOptions);\n } else {\n return locale.formatDistance('xMinutes', minutes, localizeOptions);\n }\n }\n\n // 2 mins up to 0.75 hrs\n } else if (minutes < 45) {\n return locale.formatDistance('xMinutes', minutes, localizeOptions);\n\n // 0.75 hrs up to 1.5 hrs\n } else if (minutes < 90) {\n return locale.formatDistance('aboutXHours', 1, localizeOptions);\n\n // 1.5 hrs up to 24 hrs\n } else if (minutes < MINUTES_IN_DAY) {\n var hours = Math.round(minutes / 60);\n return locale.formatDistance('aboutXHours', hours, localizeOptions);\n\n // 1 day up to 1.75 days\n } else if (minutes < MINUTES_IN_ALMOST_TWO_DAYS) {\n return locale.formatDistance('xDays', 1, localizeOptions);\n\n // 1.75 days up to 30 days\n } else if (minutes < MINUTES_IN_MONTH) {\n var days = Math.round(minutes / MINUTES_IN_DAY);\n return locale.formatDistance('xDays', days, localizeOptions);\n\n // 1 month up to 2 months\n } else if (minutes < MINUTES_IN_TWO_MONTHS) {\n months = Math.round(minutes / MINUTES_IN_MONTH);\n return locale.formatDistance('aboutXMonths', months, localizeOptions);\n }\n months = differenceInMonths(dateRight, dateLeft);\n\n // 2 months up to 12 months\n if (months < 12) {\n var nearestMonth = Math.round(minutes / MINUTES_IN_MONTH);\n return locale.formatDistance('xMonths', nearestMonth, localizeOptions);\n\n // 1 year up to max Date\n } else {\n var monthsSinceStartOfYear = months % 12;\n var years = Math.floor(months / 12);\n\n // N years up to 1 years 3 months\n if (monthsSinceStartOfYear < 3) {\n return locale.formatDistance('aboutXYears', years, localizeOptions);\n\n // N years 3 months up to N years 9 months\n } else if (monthsSinceStartOfYear < 9) {\n return locale.formatDistance('overXYears', years, localizeOptions);\n\n // N years 9 months up to N year 12 months\n } else {\n return locale.formatDistance('almostXYears', years + 1, localizeOptions);\n }\n }\n}","import _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name isDate\n * @category Common Helpers\n * @summary Is the given value a date?\n *\n * @description\n * Returns true if the given value is an instance of Date. The function works for dates transferred across iframes.\n *\n * @param {*} value - the value to check\n * @returns {boolean} true if the given value is a date\n * @throws {TypeError} 1 arguments required\n *\n * @example\n * // For a valid date:\n * const result = isDate(new Date())\n * //=> true\n *\n * @example\n * // For an invalid date:\n * const result = isDate(new Date(NaN))\n * //=> true\n *\n * @example\n * // For some value:\n * const result = isDate('2014-02-31')\n * //=> false\n *\n * @example\n * // For an object:\n * const result = isDate({})\n * //=> false\n */\nexport default function isDate(value) {\n requiredArgs(1, arguments);\n return value instanceof Date || _typeof(value) === 'object' && Object.prototype.toString.call(value) === '[object Date]';\n}","import toDate from \"../toDate/index.js\";\nimport endOfDay from \"../endOfDay/index.js\";\nimport endOfMonth from \"../endOfMonth/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name isLastDayOfMonth\n * @category Month Helpers\n * @summary Is the given date the last day of a month?\n *\n * @description\n * Is the given date the last day of a month?\n *\n * @param {Date|Number} date - the date to check\n * @returns {Boolean} the date is the last day of a month\n * @throws {TypeError} 1 argument required\n *\n * @example\n * // Is 28 February 2014 the last day of a month?\n * const result = isLastDayOfMonth(new Date(2014, 1, 28))\n * //=> true\n */\nexport default function isLastDayOfMonth(dirtyDate) {\n requiredArgs(1, arguments);\n var date = toDate(dirtyDate);\n return endOfDay(date).getTime() === endOfMonth(date).getTime();\n}","import isDate from \"../isDate/index.js\";\nimport toDate from \"../toDate/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name isValid\n * @category Common Helpers\n * @summary Is the given date valid?\n *\n * @description\n * Returns false if argument is Invalid Date and true otherwise.\n * Argument is converted to Date using `toDate`. See [toDate]{@link https://date-fns.org/docs/toDate}\n * Invalid Date is a Date, whose time value is NaN.\n *\n * Time value of Date: http://es5.github.io/#x15.9.1.1\n *\n * @param {*} date - the date to check\n * @returns {Boolean} the date is valid\n * @throws {TypeError} 1 argument required\n *\n * @example\n * // For the valid date:\n * const result = isValid(new Date(2014, 1, 31))\n * //=> true\n *\n * @example\n * // For the value, convertable into a date:\n * const result = isValid(1393804800000)\n * //=> true\n *\n * @example\n * // For the invalid date:\n * const result = isValid(new Date(''))\n * //=> false\n */\nexport default function isValid(dirtyDate) {\n requiredArgs(1, arguments);\n if (!isDate(dirtyDate) && typeof dirtyDate !== 'number') {\n return false;\n }\n var date = toDate(dirtyDate);\n return !isNaN(Number(date));\n}","export default function buildFormatLongFn(args) {\n return function () {\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n // TODO: Remove String()\n var width = options.width ? String(options.width) : args.defaultWidth;\n var format = args.formats[width] || args.formats[args.defaultWidth];\n return format;\n };\n}","export default function buildLocalizeFn(args) {\n return function (dirtyIndex, options) {\n var context = options !== null && options !== void 0 && options.context ? String(options.context) : 'standalone';\n var valuesArray;\n if (context === 'formatting' && args.formattingValues) {\n var defaultWidth = args.defaultFormattingWidth || args.defaultWidth;\n var width = options !== null && options !== void 0 && options.width ? String(options.width) : defaultWidth;\n valuesArray = args.formattingValues[width] || args.formattingValues[defaultWidth];\n } else {\n var _defaultWidth = args.defaultWidth;\n var _width = options !== null && options !== void 0 && options.width ? String(options.width) : args.defaultWidth;\n valuesArray = args.values[_width] || args.values[_defaultWidth];\n }\n var index = args.argumentCallback ? args.argumentCallback(dirtyIndex) : dirtyIndex;\n // @ts-ignore: For some reason TypeScript just don't want to match it, no matter how hard we try. I challenge you to try to remove it!\n return valuesArray[index];\n };\n}","export default function buildMatchFn(args) {\n return function (string) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var width = options.width;\n var matchPattern = width && args.matchPatterns[width] || args.matchPatterns[args.defaultMatchWidth];\n var matchResult = string.match(matchPattern);\n if (!matchResult) {\n return null;\n }\n var matchedString = matchResult[0];\n var parsePatterns = width && args.parsePatterns[width] || args.parsePatterns[args.defaultParseWidth];\n var key = Array.isArray(parsePatterns) ? findIndex(parsePatterns, function (pattern) {\n return pattern.test(matchedString);\n }) : findKey(parsePatterns, function (pattern) {\n return pattern.test(matchedString);\n });\n var value;\n value = args.valueCallback ? args.valueCallback(key) : key;\n value = options.valueCallback ? options.valueCallback(value) : value;\n var rest = string.slice(matchedString.length);\n return {\n value: value,\n rest: rest\n };\n };\n}\nfunction findKey(object, predicate) {\n for (var key in object) {\n if (object.hasOwnProperty(key) && predicate(object[key])) {\n return key;\n }\n }\n return undefined;\n}\nfunction findIndex(array, predicate) {\n for (var key = 0; key < array.length; key++) {\n if (predicate(array[key])) {\n return key;\n }\n }\n return undefined;\n}","export default function buildMatchPatternFn(args) {\n return function (string) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var matchResult = string.match(args.matchPattern);\n if (!matchResult) return null;\n var matchedString = matchResult[0];\n var parseResult = string.match(args.parsePattern);\n if (!parseResult) return null;\n var value = args.valueCallback ? args.valueCallback(parseResult[0]) : parseResult[0];\n value = options.valueCallback ? options.valueCallback(value) : value;\n var rest = string.slice(matchedString.length);\n return {\n value: value,\n rest: rest\n };\n };\n}","var formatDistanceLocale = {\n lessThanXSeconds: {\n one: 'less than a second',\n other: 'less than {{count}} seconds'\n },\n xSeconds: {\n one: '1 second',\n other: '{{count}} seconds'\n },\n halfAMinute: 'half a minute',\n lessThanXMinutes: {\n one: 'less than a minute',\n other: 'less than {{count}} minutes'\n },\n xMinutes: {\n one: '1 minute',\n other: '{{count}} minutes'\n },\n aboutXHours: {\n one: 'about 1 hour',\n other: 'about {{count}} hours'\n },\n xHours: {\n one: '1 hour',\n other: '{{count}} hours'\n },\n xDays: {\n one: '1 day',\n other: '{{count}} days'\n },\n aboutXWeeks: {\n one: 'about 1 week',\n other: 'about {{count}} weeks'\n },\n xWeeks: {\n one: '1 week',\n other: '{{count}} weeks'\n },\n aboutXMonths: {\n one: 'about 1 month',\n other: 'about {{count}} months'\n },\n xMonths: {\n one: '1 month',\n other: '{{count}} months'\n },\n aboutXYears: {\n one: 'about 1 year',\n other: 'about {{count}} years'\n },\n xYears: {\n one: '1 year',\n other: '{{count}} years'\n },\n overXYears: {\n one: 'over 1 year',\n other: 'over {{count}} years'\n },\n almostXYears: {\n one: 'almost 1 year',\n other: 'almost {{count}} years'\n }\n};\nvar formatDistance = function formatDistance(token, count, options) {\n var result;\n var tokenValue = formatDistanceLocale[token];\n if (typeof tokenValue === 'string') {\n result = tokenValue;\n } else if (count === 1) {\n result = tokenValue.one;\n } else {\n result = tokenValue.other.replace('{{count}}', count.toString());\n }\n if (options !== null && options !== void 0 && options.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return 'in ' + result;\n } else {\n return result + ' ago';\n }\n }\n return result;\n};\nexport default formatDistance;","import buildFormatLongFn from \"../../../_lib/buildFormatLongFn/index.js\";\nvar dateFormats = {\n full: 'EEEE, MMMM do, y',\n long: 'MMMM do, y',\n medium: 'MMM d, y',\n short: 'MM/dd/yyyy'\n};\nvar timeFormats = {\n full: 'h:mm:ss a zzzz',\n long: 'h:mm:ss a z',\n medium: 'h:mm:ss a',\n short: 'h:mm a'\n};\nvar dateTimeFormats = {\n full: \"{{date}} 'at' {{time}}\",\n long: \"{{date}} 'at' {{time}}\",\n medium: '{{date}}, {{time}}',\n short: '{{date}}, {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","var formatRelativeLocale = {\n lastWeek: \"'last' eeee 'at' p\",\n yesterday: \"'yesterday at' p\",\n today: \"'today at' p\",\n tomorrow: \"'tomorrow at' p\",\n nextWeek: \"eeee 'at' p\",\n other: 'P'\n};\nvar formatRelative = function formatRelative(token, _date, _baseDate, _options) {\n return formatRelativeLocale[token];\n};\nexport default formatRelative;","import buildLocalizeFn from \"../../../_lib/buildLocalizeFn/index.js\";\nvar eraValues = {\n narrow: ['B', 'A'],\n abbreviated: ['BC', 'AD'],\n wide: ['Before Christ', 'Anno Domini']\n};\nvar quarterValues = {\n narrow: ['1', '2', '3', '4'],\n abbreviated: ['Q1', 'Q2', 'Q3', 'Q4'],\n wide: ['1st quarter', '2nd quarter', '3rd quarter', '4th quarter']\n};\n\n// Note: in English, the names of days of the week and months are capitalized.\n// If you are making a new locale based on this one, check if the same is true for the language you're working on.\n// Generally, formatted dates should look like they are in the middle of a sentence,\n// e.g. in Spanish language the weekdays and months should be in the lowercase.\nvar monthValues = {\n narrow: ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'],\n abbreviated: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],\n wide: ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December']\n};\nvar dayValues = {\n narrow: ['S', 'M', 'T', 'W', 'T', 'F', 'S'],\n short: ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'],\n abbreviated: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],\n wide: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday']\n};\nvar dayPeriodValues = {\n narrow: {\n am: 'a',\n pm: 'p',\n midnight: 'mi',\n noon: 'n',\n morning: 'morning',\n afternoon: 'afternoon',\n evening: 'evening',\n night: 'night'\n },\n abbreviated: {\n am: 'AM',\n pm: 'PM',\n midnight: 'midnight',\n noon: 'noon',\n morning: 'morning',\n afternoon: 'afternoon',\n evening: 'evening',\n night: 'night'\n },\n wide: {\n am: 'a.m.',\n pm: 'p.m.',\n midnight: 'midnight',\n noon: 'noon',\n morning: 'morning',\n afternoon: 'afternoon',\n evening: 'evening',\n night: 'night'\n }\n};\nvar formattingDayPeriodValues = {\n narrow: {\n am: 'a',\n pm: 'p',\n midnight: 'mi',\n noon: 'n',\n morning: 'in the morning',\n afternoon: 'in the afternoon',\n evening: 'in the evening',\n night: 'at night'\n },\n abbreviated: {\n am: 'AM',\n pm: 'PM',\n midnight: 'midnight',\n noon: 'noon',\n morning: 'in the morning',\n afternoon: 'in the afternoon',\n evening: 'in the evening',\n night: 'at night'\n },\n wide: {\n am: 'a.m.',\n pm: 'p.m.',\n midnight: 'midnight',\n noon: 'noon',\n morning: 'in the morning',\n afternoon: 'in the afternoon',\n evening: 'in the evening',\n night: 'at night'\n }\n};\nvar ordinalNumber = function ordinalNumber(dirtyNumber, _options) {\n var number = Number(dirtyNumber);\n\n // If ordinal numbers depend on context, for example,\n // if they are different for different grammatical genders,\n // use `options.unit`.\n //\n // `unit` can be 'year', 'quarter', 'month', 'week', 'date', 'dayOfYear',\n // 'day', 'hour', 'minute', 'second'.\n\n var rem100 = number % 100;\n if (rem100 > 20 || rem100 < 10) {\n switch (rem100 % 10) {\n case 1:\n return number + 'st';\n case 2:\n return number + 'nd';\n case 3:\n return number + 'rd';\n }\n }\n return number + 'th';\n};\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return quarter - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'wide',\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: 'wide'\n })\n};\nexport default localize;","import buildMatchFn from \"../../../_lib/buildMatchFn/index.js\";\nimport buildMatchPatternFn from \"../../../_lib/buildMatchPatternFn/index.js\";\nvar matchOrdinalNumberPattern = /^(\\d+)(th|st|nd|rd)?/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^(b|a)/i,\n abbreviated: /^(b\\.?\\s?c\\.?|b\\.?\\s?c\\.?\\s?e\\.?|a\\.?\\s?d\\.?|c\\.?\\s?e\\.?)/i,\n wide: /^(before christ|before common era|anno domini|common era)/i\n};\nvar parseEraPatterns = {\n any: [/^b/i, /^(a|c)/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^q[1234]/i,\n wide: /^[1234](th|st|nd|rd)? quarter/i\n};\nvar parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i]\n};\nvar matchMonthPatterns = {\n narrow: /^[jfmasond]/i,\n abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,\n wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i\n};\nvar parseMonthPatterns = {\n narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i],\n any: [/^ja/i, /^f/i, /^mar/i, /^ap/i, /^may/i, /^jun/i, /^jul/i, /^au/i, /^s/i, /^o/i, /^n/i, /^d/i]\n};\nvar matchDayPatterns = {\n narrow: /^[smtwf]/i,\n short: /^(su|mo|tu|we|th|fr|sa)/i,\n abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i,\n wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i\n};\nvar parseDayPatterns = {\n narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i],\n any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i]\n};\nvar matchDayPeriodPatterns = {\n narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,\n any: /^([ap]\\.?\\s?m\\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^a/i,\n pm: /^p/i,\n midnight: /^mi/i,\n noon: /^no/i,\n morning: /morning/i,\n afternoon: /afternoon/i,\n evening: /evening/i,\n night: /night/i\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n return parseInt(value, 10);\n }\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return index + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'any'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'any'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'any',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;","import formatDistance from \"./_lib/formatDistance/index.js\";\nimport formatLong from \"./_lib/formatLong/index.js\";\nimport formatRelative from \"./_lib/formatRelative/index.js\";\nimport localize from \"./_lib/localize/index.js\";\nimport match from \"./_lib/match/index.js\";\n/**\n * @type {Locale}\n * @category Locales\n * @summary English locale (United States).\n * @language English\n * @iso-639-2 eng\n * @author Sasha Koss [@kossnocorp]{@link https://github.com/kossnocorp}\n * @author Lesha Koss [@leshakoss]{@link https://github.com/leshakoss}\n */\nvar locale = {\n code: 'en-US',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 0 /* Sunday */,\n firstWeekContainsDate: 1\n }\n};\nexport default locale;","import addMilliseconds from \"../addMilliseconds/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\nimport toInteger from \"../_lib/toInteger/index.js\";\n/**\n * @name subMilliseconds\n * @category Millisecond Helpers\n * @summary Subtract the specified number of milliseconds from the given date.\n *\n * @description\n * Subtract the specified number of milliseconds from the given date.\n *\n * @param {Date|Number} date - the date to be changed\n * @param {Number} amount - the amount of milliseconds to be subtracted. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`.\n * @returns {Date} the new date with the milliseconds subtracted\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // Subtract 750 milliseconds from 10 July 2014 12:45:30.000:\n * const result = subMilliseconds(new Date(2014, 6, 10, 12, 45, 30, 0), 750)\n * //=> Thu Jul 10 2014 12:45:29.250\n */\nexport default function subMilliseconds(dirtyDate, dirtyAmount) {\n requiredArgs(2, arguments);\n var amount = toInteger(dirtyAmount);\n return addMilliseconds(dirtyDate, -amount);\n}","import _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name toDate\n * @category Common Helpers\n * @summary Convert the given argument to an instance of Date.\n *\n * @description\n * Convert the given argument to an instance of Date.\n *\n * If the argument is an instance of Date, the function returns its clone.\n *\n * If the argument is a number, it is treated as a timestamp.\n *\n * If the argument is none of the above, the function returns Invalid Date.\n *\n * **Note**: *all* Date arguments passed to any *date-fns* function is processed by `toDate`.\n *\n * @param {Date|Number} argument - the value to convert\n * @returns {Date} the parsed date in the local time zone\n * @throws {TypeError} 1 argument required\n *\n * @example\n * // Clone the date:\n * const result = toDate(new Date(2014, 1, 11, 11, 30, 30))\n * //=> Tue Feb 11 2014 11:30:30\n *\n * @example\n * // Convert the timestamp to date:\n * const result = toDate(1392098430000)\n * //=> Tue Feb 11 2014 11:30:30\n */\nexport default function toDate(argument) {\n requiredArgs(1, arguments);\n var argStr = Object.prototype.toString.call(argument);\n\n // Clone the date\n if (argument instanceof Date || _typeof(argument) === 'object' && argStr === '[object Date]') {\n // Prevent the date to lose the milliseconds when passed to new Date() in IE10\n return new Date(argument.getTime());\n } else if (typeof argument === 'number' || argStr === '[object Number]') {\n return new Date(argument);\n } else {\n if ((typeof argument === 'string' || argStr === '[object String]') && typeof console !== 'undefined') {\n // eslint-disable-next-line no-console\n console.warn(\"Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments\");\n // eslint-disable-next-line no-console\n console.warn(new Error().stack);\n }\n return new Date(NaN);\n }\n}","// extracted by mini-css-extract-plugin\nexport default {\"container\":\"JGCcqRPc6n8oF4uz7A57\"};","// extracted by mini-css-extract-plugin\nexport default {\"container\":\"E8Ope4_6C6GDXpe9bIzo\",\"primary\":\"tyJli_eh81HkgKtkbPlJ\",\"secondary\":\"KhPJeItsXs9TQV1P8ZHh\",\"outlinePrimary\":\"qFH6eLyaTgWmwDugQTAS\",\"outlineSecondary\":\"PKXB0Aih7xqpi7RExf8x\",\"sm\":\"g8r7fgaQUM8DR9Vx041F\",\"xs\":\"ImcWUFMhVliEqqIgxuDy\",\"rg\":\"STPN2hMKFev2vBJzHuiu\"};","// extracted by mini-css-extract-plugin\nexport default {};","// extracted by mini-css-extract-plugin\nexport default {\"backdrop\":\"rUbmenQrX6D9iLnlS_9K\",\"container\":\"CyArHh2pzJmW5evH0nja\",\"close\":\"YR3Fvjf3lDIpIU5TqDHF\"};","// extracted by mini-css-extract-plugin\nexport default {\"container\":\"rH3riY5wMXRimRrlRhA3\",\"item\":\"y_SymvegVMZ5cdUw95Za\",\"active\":\"wqJ2sXc_E_kR4l5zPf4G\"};","// extracted by mini-css-extract-plugin\nexport default {\"container\":\"vVqGu1bQ0w76yONaaB5g\",\"footer\":\"PmX0kDegz6EpKALxbqQH\",\"searchcontainer\":\"nuaF8xkQPjiSV6IBxOtr\",\"left\":\"rHZjgYksQONQrftjmERF\",\"leftsection\":\"KqhZkdvLfHoM_NdGo5rX\",\"filterbg\":\"BhsRfmDCXOSIKnNwRdWq\",\"show\":\"mDx26Ukxbsd_ktt8p3Qq\",\"right\":\"_8T_RBiLn0VeFM2kHZwqZ\",\"main\":\"axnlA0slhCwhoxW2dI4c\",\"hopAlert\":\"w44p0rhdR0cszV_ddBAd\",\"close\":\"V8CcYc9qVkDZytG6EGGS\",\"hopShow\":\"CIXsxfPMMeIFq6Q3is3e\",\"hopHide\":\"rC5k58VMiQu2LpHfJ9pw\",\"hidePriceAlert\":\"kjCmTH0dB138zFs9c78i\",\"alerttitle\":\"jLAHE7fF1SvXDVgnkad6\",\"hidePriceShow\":\"O32woMXTiwbYebJEWk9c\",\"hidePriceHide\":\"jRKcL345kJTZ422LJQPg\"};","// extracted by mini-css-extract-plugin\nexport default {};","// extracted by mini-css-extract-plugin\nexport default {\"container\":\"BzHP9R2oZVGnQHBRUEXV\"};","// extracted by mini-css-extract-plugin\nexport default {\"container\":\"lmBzqqu2PeATEIkbVKCk\",\"loader\":\"mzYVykCjustl7iIodVSg\",\"item\":\"gaiN_1HDO4sXLuIBB_Qv\",\"label\":\"H8gB_WpVALctirAtJeT3\",\"title\":\"gsMma98bzdwB1_kqVvng\",\"typeName\":\"Iy59Fq_ZgbY4qbWsboeN\",\"chart\":\"daLibCC90XOS2I22SOW4\",\"delta\":\"iHr30j0AZwaLLVT_Ps9f\",\"green\":\"xGLvJQFIMfkycFL16hLF\",\"red\":\"o3_Bh4JadtAQLfjLnCnz\"};","// extracted by mini-css-extract-plugin\nexport default {\"clear\":\"wY179fk14zYEs_odjyUF\"};","// extracted by mini-css-extract-plugin\nexport default {\"container\":\"d7L1ZoDkuJ3LRrp1GWzU\",\"item\":\"BMJsU_SO7gZyRHfLwXmD\",\"author\":\"DDebp2fztT0G0cwNhlyM\",\"info\":\"BlI2zoqD3prG5bARvRKz\"};","// extracted by mini-css-extract-plugin\nexport default {\"container\":\"rnBqCMY8LByAT07c07Fx\",\"item\":\"goLGhs8sccBoxeVrnzAl\",\"only\":\"emlr1YsPMo4VvL_zEBdw\",\"seemore\":\"aBihkNbsDhnOrtzKN8OT\",\"searchcontainer\":\"ht6CnSRfOu9IR9J6aMfQ\",\"group\":\"npjmIWpa7dzmEi6wvglh\",\"checkboxes\":\"TVXVRqkw2MqL2hPudG3a\"};","// extracted by mini-css-extract-plugin\nexport default {\"container\":\"ArRzPFPYjHHYPGulX6cv\",\"trackprice\":\"XpuYD6ccWvI8wAYmdnZl\",\"clear\":\"OvkDJHrqzjP1njhijj4r\",\"hopAlertContainer\":\"b7bCUhpIkjd6NrFFnjAo\",\"hopAlert\":\"i78x27HVAcROdglBupbw\"};","// extracted by mini-css-extract-plugin\nexport default {\"container\":\"sc6KcAEXwjLHsjvKMQO2\",\"charts\":\"G_T52Aulb3w0_vpLvotY\",\"teaser\":\"AGDXP2NadjJUC3Kq_cw4\",\"emptyChartTitle\":\"OBLY06PoWCsUuWkUAIhX\",\"minimizeChart\":\"FtUjtbn4_WbBctSQEF7C\",\"collapsedChart\":\"aj8vTAz5u8itIInviYm0\",\"summary\":\"J6D4PfPLq3CapaAiEwyx\",\"filters\":\"fsSFIYo_klxJqLjKuoVO\",\"sum\":\"enRAkZgC1vrZHvgIxSGB\",\"gray\":\"whsN0oBbrSvQ6k4guwq_\",\"sort\":\"qjvyYAlXIjL_n6h5a6nc\",\"sortopt\":\"TbqBudVuHpgnfJ7LzP3g\",\"summobile\":\"BZq0rhrtmZjRf83CsEw8\",\"listings\":\"HheZ1jjQSk_Dh_iQiwG7\",\"item\":\"BoSc6gkvZmIShqPTgEtw\",\"chart\":\"z9zQhI5wP6ltZGW0CZCU\",\"price\":\"nSuRfanEOq9gf6V3fc3u\",\"unitprice\":\"uIuEnH5RdRA7MNgzOKo7\",\"login_for_price\":\"JUsSwQ2iYHngGxpvSw2w\",\"reservation\":\"nWD67qDn6KUEDKp0eobq\",\"featured\":\"lktR684BayKbDkJC8YG5\",\"minOrder\":\"E9ri4q_LGDFxoQXZgXhg\",\"rating\":\"r9jPzjwrHjESDvzs1XH0\",\"name\":\"UvuCcEP1aID8XEr2lqr0\",\"title\":\"Qu7N0EdEIdpBJYrYlqdZ\",\"pack\":\"Sd0i9S0_vwXphsVlavIX\",\"type\":\"gUcIUw5UEi8_xp1_4eDc\",\"label\":\"WFZ8GLFU2tRUcwJ8Mexq\",\"brand\":\"TtXD4xoErGVoRp95xfFq\",\"from\":\"p7DpO1tXRowO1cXktnYo\",\"companyName\":\"MHcHVM4c2poMGjXxDgUL\",\"shipping\":\"It44rDGFCplZPpseIBfp\",\"seller\":\"rHNvzRtyu4A0cF9DVmWm\",\"badges\":\"U9GU3TIMG4ug7deMOuKJ\",\"debugitem\":\"lXdCkcSzPc2IoGuPoFAv\",\"tooltip\":\"cseB0q6eRef4kwK_vUwC\",\"tipClose\":\"bRNc3yxcNh5Ff2qWU3nw\"};","// extracted by mini-css-extract-plugin\nexport default {\"container\":\"r975FdjJV0LRxLPLgRzH\",\"items\":\"sWSFaBmEfXfVkyawM8Pn\",\"item\":\"WmXJu1B8V3qIfhEaYr3z\",\"active\":\"s4s5x2pJ3T2mwLTMAmYw\",\"only\":\"d1ci_1s4vTZ4NvuALR6g\"};","// extracted by mini-css-extract-plugin\nexport default {\"container\":\"SkA5NRci_vcNFjFLO2aO\",\"header\":\"Zr8pOtWExt4WpmGpP_s2\",\"content\":\"DQcEaCRJlg6AzwXqpgfR\",\"hidden\":\"_39zNg_DHR7C4QqJpPQe\"};","// extracted by mini-css-extract-plugin\nexport default {\"container\":\"MTGGWESPedOrznLyRpwj\",\"items\":\"x0hpSemsrZHB1RTzAIkL\",\"active\":\"m9zIxtwMwiiUPsdof3O3\",\"only\":\"S7pXxeVZnsW7ma8MpPwH\"};","// extracted by mini-css-extract-plugin\nexport default {\"container\":\"jRdvgZ1_uWP8jm7Z0UIm\",\"minmax\":\"ScnjLwte56nWugP4MXBY\",\"inputs\":\"HNvlDjMU6TtjlDS5JJMf\"};","// extracted by mini-css-extract-plugin\nexport default {\"container\":\"_6ahwZVhsijMWT8QnYBg\",\"hopicon\":\"_3TX3Dv7YwbcxA7jpf_Bg\",\"hopicon2\":\"F6HzCwZH6ERCCcVP0YBW\",\"text\":\"JojMu_deIdJEh15ar2ui\",\"leftquote\":\"wygUI317IZrkaqLfApyN\",\"rightquote\":\"L0RW1dTbRPAnqx1mNLUx\",\"author\":\"PwJKUgjnOqEoMFq569uq\",\"profile\":\"fSqfW8hS4zdMQgNeIrf6\"};","// extracted by mini-css-extract-plugin\nexport default {\"container\":\"cQ1vBBmLztBucrpAN_oY\",\"embed\":\"RC_f1c7nml7JfagKZMaw\"};","import React, { forwardRef, useRef, useEffect } from 'react';\nimport { Chart as Chart$1, LineController, BarController, RadarController, DoughnutController, PolarAreaController, BubbleController, PieController, ScatterController } from 'chart.js';\n\nconst defaultDatasetIdKey = 'label';\nfunction reforwardRef(ref, value) {\n if (typeof ref === 'function') {\n ref(value);\n } else if (ref) {\n ref.current = value;\n }\n}\nfunction setOptions(chart, nextOptions) {\n Object.assign(chart.options, nextOptions);\n}\nfunction setLabels(currentData, nextLabels) {\n currentData.labels = nextLabels;\n}\nfunction setDatasets(currentData, nextDatasets) {\n let datasetIdKey = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : defaultDatasetIdKey;\n const addedDatasets = [];\n currentData.datasets = nextDatasets.map((nextDataset)=>{\n // given the new set, find it's current match\n const currentDataset = currentData.datasets.find((dataset)=>dataset[datasetIdKey] === nextDataset[datasetIdKey]\n );\n // There is no original to update, so simply add new one\n if (!currentDataset || !nextDataset.data || addedDatasets.includes(currentDataset)) {\n return {\n ...nextDataset\n };\n }\n addedDatasets.push(currentDataset);\n Object.assign(currentDataset, nextDataset);\n return currentDataset;\n });\n}\nfunction cloneData(data) {\n let datasetIdKey = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : defaultDatasetIdKey;\n const nextData = {\n labels: [],\n datasets: []\n };\n setLabels(nextData, data.labels);\n setDatasets(nextData, data.datasets, datasetIdKey);\n return nextData;\n}\n/**\n * Get dataset from mouse click event\n * @param chart - Chart.js instance\n * @param event - Mouse click event\n * @returns Dataset\n */ function getDatasetAtEvent(chart, event) {\n return chart.getElementsAtEventForMode(event.nativeEvent, 'dataset', {\n intersect: true\n }, false);\n}\n/**\n * Get single dataset element from mouse click event\n * @param chart - Chart.js instance\n * @param event - Mouse click event\n * @returns Dataset\n */ function getElementAtEvent(chart, event) {\n return chart.getElementsAtEventForMode(event.nativeEvent, 'nearest', {\n intersect: true\n }, false);\n}\n/**\n * Get all dataset elements from mouse click event\n * @param chart - Chart.js instance\n * @param event - Mouse click event\n * @returns Dataset\n */ function getElementsAtEvent(chart, event) {\n return chart.getElementsAtEventForMode(event.nativeEvent, 'index', {\n intersect: true\n }, false);\n}\n\nfunction ChartComponent(param, ref) {\n let { height =150 , width =300 , redraw =false , datasetIdKey , type , data , options , plugins =[] , fallbackContent , updateMode , ...props } = param;\n const canvasRef = useRef(null);\n const chartRef = useRef();\n const renderChart = ()=>{\n if (!canvasRef.current) return;\n chartRef.current = new Chart$1(canvasRef.current, {\n type,\n data: cloneData(data, datasetIdKey),\n options: options && {\n ...options\n },\n plugins\n });\n reforwardRef(ref, chartRef.current);\n };\n const destroyChart = ()=>{\n reforwardRef(ref, null);\n if (chartRef.current) {\n chartRef.current.destroy();\n chartRef.current = null;\n }\n };\n useEffect(()=>{\n if (!redraw && chartRef.current && options) {\n setOptions(chartRef.current, options);\n }\n }, [\n redraw,\n options\n ]);\n useEffect(()=>{\n if (!redraw && chartRef.current) {\n setLabels(chartRef.current.config.data, data.labels);\n }\n }, [\n redraw,\n data.labels\n ]);\n useEffect(()=>{\n if (!redraw && chartRef.current && data.datasets) {\n setDatasets(chartRef.current.config.data, data.datasets, datasetIdKey);\n }\n }, [\n redraw,\n data.datasets\n ]);\n useEffect(()=>{\n if (!chartRef.current) return;\n if (redraw) {\n destroyChart();\n setTimeout(renderChart);\n } else {\n chartRef.current.update(updateMode);\n }\n }, [\n redraw,\n options,\n data.labels,\n data.datasets,\n updateMode\n ]);\n useEffect(()=>{\n if (!chartRef.current) return;\n destroyChart();\n setTimeout(renderChart);\n }, [\n type\n ]);\n useEffect(()=>{\n renderChart();\n return ()=>destroyChart()\n ;\n }, []);\n return(/*#__PURE__*/ React.createElement(\"canvas\", Object.assign({\n ref: canvasRef,\n role: \"img\",\n height: height,\n width: width\n }, props), fallbackContent));\n}\nconst Chart = /*#__PURE__*/ forwardRef(ChartComponent);\n\nfunction createTypedChart(type, registerables) {\n Chart$1.register(registerables);\n return(/*#__PURE__*/ forwardRef((props, ref)=>/*#__PURE__*/ React.createElement(Chart, Object.assign({}, props, {\n ref: ref,\n type: type\n }))\n ));\n}\nconst Line = /* #__PURE__ */ createTypedChart('line', LineController);\nconst Bar = /* #__PURE__ */ createTypedChart('bar', BarController);\nconst Radar = /* #__PURE__ */ createTypedChart('radar', RadarController);\nconst Doughnut = /* #__PURE__ */ createTypedChart('doughnut', DoughnutController);\nconst PolarArea = /* #__PURE__ */ createTypedChart('polarArea', PolarAreaController);\nconst Bubble = /* #__PURE__ */ createTypedChart('bubble', BubbleController);\nconst Pie = /* #__PURE__ */ createTypedChart('pie', PieController);\nconst Scatter = /* #__PURE__ */ createTypedChart('scatter', ScatterController);\n\nexport { Bar, Bubble, Chart, Doughnut, Line, Pie, PolarArea, Radar, Scatter, getDatasetAtEvent, getElementAtEvent, getElementsAtEvent };\n//# sourceMappingURL=index.js.map\n","'use strict';\n\nvar m = require('react-dom');\nif (process.env.NODE_ENV === 'production') {\n exports.createRoot = m.createRoot;\n exports.hydrateRoot = m.hydrateRoot;\n} else {\n var i = m.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;\n exports.createRoot = function(c, o) {\n i.usingClientEntryPoint = true;\n try {\n return m.createRoot(c, o);\n } finally {\n i.usingClientEntryPoint = false;\n }\n };\n exports.hydrateRoot = function(c, h, o) {\n i.usingClientEntryPoint = true;\n try {\n return m.hydrateRoot(c, h, o);\n } finally {\n i.usingClientEntryPoint = false;\n }\n };\n}\n","/**\n * @license React\n * react-jsx-runtime.development.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nif (process.env.NODE_ENV !== \"production\") {\n (function() {\n'use strict';\n\nvar React = require('react');\n\n// ATTENTION\n// When adding new symbols to this file,\n// Please consider also adding to 'react-devtools-shared/src/backend/ReactSymbols'\n// The Symbol used to tag the ReactElement-like types.\nvar REACT_ELEMENT_TYPE = Symbol.for('react.element');\nvar REACT_PORTAL_TYPE = Symbol.for('react.portal');\nvar REACT_FRAGMENT_TYPE = Symbol.for('react.fragment');\nvar REACT_STRICT_MODE_TYPE = Symbol.for('react.strict_mode');\nvar REACT_PROFILER_TYPE = Symbol.for('react.profiler');\nvar REACT_PROVIDER_TYPE = Symbol.for('react.provider');\nvar REACT_CONTEXT_TYPE = Symbol.for('react.context');\nvar REACT_FORWARD_REF_TYPE = Symbol.for('react.forward_ref');\nvar REACT_SUSPENSE_TYPE = Symbol.for('react.suspense');\nvar REACT_SUSPENSE_LIST_TYPE = Symbol.for('react.suspense_list');\nvar REACT_MEMO_TYPE = Symbol.for('react.memo');\nvar REACT_LAZY_TYPE = Symbol.for('react.lazy');\nvar REACT_OFFSCREEN_TYPE = Symbol.for('react.offscreen');\nvar MAYBE_ITERATOR_SYMBOL = Symbol.iterator;\nvar FAUX_ITERATOR_SYMBOL = '@@iterator';\nfunction getIteratorFn(maybeIterable) {\n if (maybeIterable === null || typeof maybeIterable !== 'object') {\n return null;\n }\n\n var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL];\n\n if (typeof maybeIterator === 'function') {\n return maybeIterator;\n }\n\n return null;\n}\n\nvar ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;\n\nfunction error(format) {\n {\n {\n for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n args[_key2 - 1] = arguments[_key2];\n }\n\n printWarning('error', format, args);\n }\n }\n}\n\nfunction printWarning(level, format, args) {\n // When changing this logic, you might want to also\n // update consoleWithStackDev.www.js as well.\n {\n var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;\n var stack = ReactDebugCurrentFrame.getStackAddendum();\n\n if (stack !== '') {\n format += '%s';\n args = args.concat([stack]);\n } // eslint-disable-next-line react-internal/safe-string-coercion\n\n\n var argsWithFormat = args.map(function (item) {\n return String(item);\n }); // Careful: RN currently depends on this prefix\n\n argsWithFormat.unshift('Warning: ' + format); // We intentionally don't use spread (or .apply) directly because it\n // breaks IE9: https://github.com/facebook/react/issues/13610\n // eslint-disable-next-line react-internal/no-production-logging\n\n Function.prototype.apply.call(console[level], console, argsWithFormat);\n }\n}\n\n// -----------------------------------------------------------------------------\n\nvar enableScopeAPI = false; // Experimental Create Event Handle API.\nvar enableCacheElement = false;\nvar enableTransitionTracing = false; // No known bugs, but needs performance testing\n\nvar enableLegacyHidden = false; // Enables unstable_avoidThisFallback feature in Fiber\n// stuff. Intended to enable React core members to more easily debug scheduling\n// issues in DEV builds.\n\nvar enableDebugTracing = false; // Track which Fiber(s) schedule render work.\n\nvar REACT_MODULE_REFERENCE;\n\n{\n REACT_MODULE_REFERENCE = Symbol.for('react.module.reference');\n}\n\nfunction isValidElementType(type) {\n if (typeof type === 'string' || typeof type === 'function') {\n return true;\n } // Note: typeof might be other than 'symbol' or 'number' (e.g. if it's a polyfill).\n\n\n if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || enableDebugTracing || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden || type === REACT_OFFSCREEN_TYPE || enableScopeAPI || enableCacheElement || enableTransitionTracing ) {\n return true;\n }\n\n if (typeof type === 'object' && type !== null) {\n if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || // This needs to include all possible module reference object\n // types supported by any Flight configuration anywhere since\n // we don't know which Flight build this will end up being used\n // with.\n type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== undefined) {\n return true;\n }\n }\n\n return false;\n}\n\nfunction getWrappedName(outerType, innerType, wrapperName) {\n var displayName = outerType.displayName;\n\n if (displayName) {\n return displayName;\n }\n\n var functionName = innerType.displayName || innerType.name || '';\n return functionName !== '' ? wrapperName + \"(\" + functionName + \")\" : wrapperName;\n} // Keep in sync with react-reconciler/getComponentNameFromFiber\n\n\nfunction getContextName(type) {\n return type.displayName || 'Context';\n} // Note that the reconciler package should generally prefer to use getComponentNameFromFiber() instead.\n\n\nfunction getComponentNameFromType(type) {\n if (type == null) {\n // Host root, text node or just invalid type.\n return null;\n }\n\n {\n if (typeof type.tag === 'number') {\n error('Received an unexpected object in getComponentNameFromType(). ' + 'This is likely a bug in React. Please file an issue.');\n }\n }\n\n if (typeof type === 'function') {\n return type.displayName || type.name || null;\n }\n\n if (typeof type === 'string') {\n return type;\n }\n\n switch (type) {\n case REACT_FRAGMENT_TYPE:\n return 'Fragment';\n\n case REACT_PORTAL_TYPE:\n return 'Portal';\n\n case REACT_PROFILER_TYPE:\n return 'Profiler';\n\n case REACT_STRICT_MODE_TYPE:\n return 'StrictMode';\n\n case REACT_SUSPENSE_TYPE:\n return 'Suspense';\n\n case REACT_SUSPENSE_LIST_TYPE:\n return 'SuspenseList';\n\n }\n\n if (typeof type === 'object') {\n switch (type.$$typeof) {\n case REACT_CONTEXT_TYPE:\n var context = type;\n return getContextName(context) + '.Consumer';\n\n case REACT_PROVIDER_TYPE:\n var provider = type;\n return getContextName(provider._context) + '.Provider';\n\n case REACT_FORWARD_REF_TYPE:\n return getWrappedName(type, type.render, 'ForwardRef');\n\n case REACT_MEMO_TYPE:\n var outerName = type.displayName || null;\n\n if (outerName !== null) {\n return outerName;\n }\n\n return getComponentNameFromType(type.type) || 'Memo';\n\n case REACT_LAZY_TYPE:\n {\n var lazyComponent = type;\n var payload = lazyComponent._payload;\n var init = lazyComponent._init;\n\n try {\n return getComponentNameFromType(init(payload));\n } catch (x) {\n return null;\n }\n }\n\n // eslint-disable-next-line no-fallthrough\n }\n }\n\n return null;\n}\n\nvar assign = Object.assign;\n\n// Helpers to patch console.logs to avoid logging during side-effect free\n// replaying on render function. This currently only patches the object\n// lazily which won't cover if the log function was extracted eagerly.\n// We could also eagerly patch the method.\nvar disabledDepth = 0;\nvar prevLog;\nvar prevInfo;\nvar prevWarn;\nvar prevError;\nvar prevGroup;\nvar prevGroupCollapsed;\nvar prevGroupEnd;\n\nfunction disabledLog() {}\n\ndisabledLog.__reactDisabledLog = true;\nfunction disableLogs() {\n {\n if (disabledDepth === 0) {\n /* eslint-disable react-internal/no-production-logging */\n prevLog = console.log;\n prevInfo = console.info;\n prevWarn = console.warn;\n prevError = console.error;\n prevGroup = console.group;\n prevGroupCollapsed = console.groupCollapsed;\n prevGroupEnd = console.groupEnd; // https://github.com/facebook/react/issues/19099\n\n var props = {\n configurable: true,\n enumerable: true,\n value: disabledLog,\n writable: true\n }; // $FlowFixMe Flow thinks console is immutable.\n\n Object.defineProperties(console, {\n info: props,\n log: props,\n warn: props,\n error: props,\n group: props,\n groupCollapsed: props,\n groupEnd: props\n });\n /* eslint-enable react-internal/no-production-logging */\n }\n\n disabledDepth++;\n }\n}\nfunction reenableLogs() {\n {\n disabledDepth--;\n\n if (disabledDepth === 0) {\n /* eslint-disable react-internal/no-production-logging */\n var props = {\n configurable: true,\n enumerable: true,\n writable: true\n }; // $FlowFixMe Flow thinks console is immutable.\n\n Object.defineProperties(console, {\n log: assign({}, props, {\n value: prevLog\n }),\n info: assign({}, props, {\n value: prevInfo\n }),\n warn: assign({}, props, {\n value: prevWarn\n }),\n error: assign({}, props, {\n value: prevError\n }),\n group: assign({}, props, {\n value: prevGroup\n }),\n groupCollapsed: assign({}, props, {\n value: prevGroupCollapsed\n }),\n groupEnd: assign({}, props, {\n value: prevGroupEnd\n })\n });\n /* eslint-enable react-internal/no-production-logging */\n }\n\n if (disabledDepth < 0) {\n error('disabledDepth fell below zero. ' + 'This is a bug in React. Please file an issue.');\n }\n }\n}\n\nvar ReactCurrentDispatcher = ReactSharedInternals.ReactCurrentDispatcher;\nvar prefix;\nfunction describeBuiltInComponentFrame(name, source, ownerFn) {\n {\n if (prefix === undefined) {\n // Extract the VM specific prefix used by each line.\n try {\n throw Error();\n } catch (x) {\n var match = x.stack.trim().match(/\\n( *(at )?)/);\n prefix = match && match[1] || '';\n }\n } // We use the prefix to ensure our stacks line up with native stack frames.\n\n\n return '\\n' + prefix + name;\n }\n}\nvar reentry = false;\nvar componentFrameCache;\n\n{\n var PossiblyWeakMap = typeof WeakMap === 'function' ? WeakMap : Map;\n componentFrameCache = new PossiblyWeakMap();\n}\n\nfunction describeNativeComponentFrame(fn, construct) {\n // If something asked for a stack inside a fake render, it should get ignored.\n if ( !fn || reentry) {\n return '';\n }\n\n {\n var frame = componentFrameCache.get(fn);\n\n if (frame !== undefined) {\n return frame;\n }\n }\n\n var control;\n reentry = true;\n var previousPrepareStackTrace = Error.prepareStackTrace; // $FlowFixMe It does accept undefined.\n\n Error.prepareStackTrace = undefined;\n var previousDispatcher;\n\n {\n previousDispatcher = ReactCurrentDispatcher.current; // Set the dispatcher in DEV because this might be call in the render function\n // for warnings.\n\n ReactCurrentDispatcher.current = null;\n disableLogs();\n }\n\n try {\n // This should throw.\n if (construct) {\n // Something should be setting the props in the constructor.\n var Fake = function () {\n throw Error();\n }; // $FlowFixMe\n\n\n Object.defineProperty(Fake.prototype, 'props', {\n set: function () {\n // We use a throwing setter instead of frozen or non-writable props\n // because that won't throw in a non-strict mode function.\n throw Error();\n }\n });\n\n if (typeof Reflect === 'object' && Reflect.construct) {\n // We construct a different control for this case to include any extra\n // frames added by the construct call.\n try {\n Reflect.construct(Fake, []);\n } catch (x) {\n control = x;\n }\n\n Reflect.construct(fn, [], Fake);\n } else {\n try {\n Fake.call();\n } catch (x) {\n control = x;\n }\n\n fn.call(Fake.prototype);\n }\n } else {\n try {\n throw Error();\n } catch (x) {\n control = x;\n }\n\n fn();\n }\n } catch (sample) {\n // This is inlined manually because closure doesn't do it for us.\n if (sample && control && typeof sample.stack === 'string') {\n // This extracts the first frame from the sample that isn't also in the control.\n // Skipping one frame that we assume is the frame that calls the two.\n var sampleLines = sample.stack.split('\\n');\n var controlLines = control.stack.split('\\n');\n var s = sampleLines.length - 1;\n var c = controlLines.length - 1;\n\n while (s >= 1 && c >= 0 && sampleLines[s] !== controlLines[c]) {\n // We expect at least one stack frame to be shared.\n // Typically this will be the root most one. However, stack frames may be\n // cut off due to maximum stack limits. In this case, one maybe cut off\n // earlier than the other. We assume that the sample is longer or the same\n // and there for cut off earlier. So we should find the root most frame in\n // the sample somewhere in the control.\n c--;\n }\n\n for (; s >= 1 && c >= 0; s--, c--) {\n // Next we find the first one that isn't the same which should be the\n // frame that called our sample function and the control.\n if (sampleLines[s] !== controlLines[c]) {\n // In V8, the first line is describing the message but other VMs don't.\n // If we're about to return the first line, and the control is also on the same\n // line, that's a pretty good indicator that our sample threw at same line as\n // the control. I.e. before we entered the sample frame. So we ignore this result.\n // This can happen if you passed a class to function component, or non-function.\n if (s !== 1 || c !== 1) {\n do {\n s--;\n c--; // We may still have similar intermediate frames from the construct call.\n // The next one that isn't the same should be our match though.\n\n if (c < 0 || sampleLines[s] !== controlLines[c]) {\n // V8 adds a \"new\" prefix for native classes. Let's remove it to make it prettier.\n var _frame = '\\n' + sampleLines[s].replace(' at new ', ' at '); // If our component frame is labeled \"\"\n // but we have a user-provided \"displayName\"\n // splice it in to make the stack more readable.\n\n\n if (fn.displayName && _frame.includes('')) {\n _frame = _frame.replace('', fn.displayName);\n }\n\n {\n if (typeof fn === 'function') {\n componentFrameCache.set(fn, _frame);\n }\n } // Return the line we found.\n\n\n return _frame;\n }\n } while (s >= 1 && c >= 0);\n }\n\n break;\n }\n }\n }\n } finally {\n reentry = false;\n\n {\n ReactCurrentDispatcher.current = previousDispatcher;\n reenableLogs();\n }\n\n Error.prepareStackTrace = previousPrepareStackTrace;\n } // Fallback to just using the name if we couldn't make it throw.\n\n\n var name = fn ? fn.displayName || fn.name : '';\n var syntheticFrame = name ? describeBuiltInComponentFrame(name) : '';\n\n {\n if (typeof fn === 'function') {\n componentFrameCache.set(fn, syntheticFrame);\n }\n }\n\n return syntheticFrame;\n}\nfunction describeFunctionComponentFrame(fn, source, ownerFn) {\n {\n return describeNativeComponentFrame(fn, false);\n }\n}\n\nfunction shouldConstruct(Component) {\n var prototype = Component.prototype;\n return !!(prototype && prototype.isReactComponent);\n}\n\nfunction describeUnknownElementTypeFrameInDEV(type, source, ownerFn) {\n\n if (type == null) {\n return '';\n }\n\n if (typeof type === 'function') {\n {\n return describeNativeComponentFrame(type, shouldConstruct(type));\n }\n }\n\n if (typeof type === 'string') {\n return describeBuiltInComponentFrame(type);\n }\n\n switch (type) {\n case REACT_SUSPENSE_TYPE:\n return describeBuiltInComponentFrame('Suspense');\n\n case REACT_SUSPENSE_LIST_TYPE:\n return describeBuiltInComponentFrame('SuspenseList');\n }\n\n if (typeof type === 'object') {\n switch (type.$$typeof) {\n case REACT_FORWARD_REF_TYPE:\n return describeFunctionComponentFrame(type.render);\n\n case REACT_MEMO_TYPE:\n // Memo may contain any component type so we recursively resolve it.\n return describeUnknownElementTypeFrameInDEV(type.type, source, ownerFn);\n\n case REACT_LAZY_TYPE:\n {\n var lazyComponent = type;\n var payload = lazyComponent._payload;\n var init = lazyComponent._init;\n\n try {\n // Lazy may contain any component type so we recursively resolve it.\n return describeUnknownElementTypeFrameInDEV(init(payload), source, ownerFn);\n } catch (x) {}\n }\n }\n }\n\n return '';\n}\n\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\n\nvar loggedTypeFailures = {};\nvar ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;\n\nfunction setCurrentlyValidatingElement(element) {\n {\n if (element) {\n var owner = element._owner;\n var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);\n ReactDebugCurrentFrame.setExtraStackFrame(stack);\n } else {\n ReactDebugCurrentFrame.setExtraStackFrame(null);\n }\n }\n}\n\nfunction checkPropTypes(typeSpecs, values, location, componentName, element) {\n {\n // $FlowFixMe This is okay but Flow doesn't know it.\n var has = Function.call.bind(hasOwnProperty);\n\n for (var typeSpecName in typeSpecs) {\n if (has(typeSpecs, typeSpecName)) {\n var error$1 = void 0; // Prop type validation may throw. In case they do, we don't want to\n // fail the render phase where it didn't fail before. So we log it.\n // After these have been cleaned up, we'll let them throw.\n\n try {\n // This is intentionally an invariant that gets caught. It's the same\n // behavior as without this statement except with a better message.\n if (typeof typeSpecs[typeSpecName] !== 'function') {\n // eslint-disable-next-line react-internal/prod-error-codes\n var err = Error((componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' + 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' + 'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.');\n err.name = 'Invariant Violation';\n throw err;\n }\n\n error$1 = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED');\n } catch (ex) {\n error$1 = ex;\n }\n\n if (error$1 && !(error$1 instanceof Error)) {\n setCurrentlyValidatingElement(element);\n\n error('%s: type specification of %s' + ' `%s` is invalid; the type checker ' + 'function must return `null` or an `Error` but returned a %s. ' + 'You may have forgotten to pass an argument to the type checker ' + 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' + 'shape all require an argument).', componentName || 'React class', location, typeSpecName, typeof error$1);\n\n setCurrentlyValidatingElement(null);\n }\n\n if (error$1 instanceof Error && !(error$1.message in loggedTypeFailures)) {\n // Only monitor this failure once because there tends to be a lot of the\n // same error.\n loggedTypeFailures[error$1.message] = true;\n setCurrentlyValidatingElement(element);\n\n error('Failed %s type: %s', location, error$1.message);\n\n setCurrentlyValidatingElement(null);\n }\n }\n }\n }\n}\n\nvar isArrayImpl = Array.isArray; // eslint-disable-next-line no-redeclare\n\nfunction isArray(a) {\n return isArrayImpl(a);\n}\n\n/*\n * The `'' + value` pattern (used in in perf-sensitive code) throws for Symbol\n * and Temporal.* types. See https://github.com/facebook/react/pull/22064.\n *\n * The functions in this module will throw an easier-to-understand,\n * easier-to-debug exception with a clear errors message message explaining the\n * problem. (Instead of a confusing exception thrown inside the implementation\n * of the `value` object).\n */\n// $FlowFixMe only called in DEV, so void return is not possible.\nfunction typeName(value) {\n {\n // toStringTag is needed for namespaced types like Temporal.Instant\n var hasToStringTag = typeof Symbol === 'function' && Symbol.toStringTag;\n var type = hasToStringTag && value[Symbol.toStringTag] || value.constructor.name || 'Object';\n return type;\n }\n} // $FlowFixMe only called in DEV, so void return is not possible.\n\n\nfunction willCoercionThrow(value) {\n {\n try {\n testStringCoercion(value);\n return false;\n } catch (e) {\n return true;\n }\n }\n}\n\nfunction testStringCoercion(value) {\n // If you ended up here by following an exception call stack, here's what's\n // happened: you supplied an object or symbol value to React (as a prop, key,\n // DOM attribute, CSS property, string ref, etc.) and when React tried to\n // coerce it to a string using `'' + value`, an exception was thrown.\n //\n // The most common types that will cause this exception are `Symbol` instances\n // and Temporal objects like `Temporal.Instant`. But any object that has a\n // `valueOf` or `[Symbol.toPrimitive]` method that throws will also cause this\n // exception. (Library authors do this to prevent users from using built-in\n // numeric operators like `+` or comparison operators like `>=` because custom\n // methods are needed to perform accurate arithmetic or comparison.)\n //\n // To fix the problem, coerce this object or symbol value to a string before\n // passing it to React. The most reliable way is usually `String(value)`.\n //\n // To find which value is throwing, check the browser or debugger console.\n // Before this exception was thrown, there should be `console.error` output\n // that shows the type (Symbol, Temporal.PlainDate, etc.) that caused the\n // problem and how that type was used: key, atrribute, input value prop, etc.\n // In most cases, this console output also shows the component and its\n // ancestor components where the exception happened.\n //\n // eslint-disable-next-line react-internal/safe-string-coercion\n return '' + value;\n}\nfunction checkKeyStringCoercion(value) {\n {\n if (willCoercionThrow(value)) {\n error('The provided key is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', typeName(value));\n\n return testStringCoercion(value); // throw (to help callers find troubleshooting comments)\n }\n }\n}\n\nvar ReactCurrentOwner = ReactSharedInternals.ReactCurrentOwner;\nvar RESERVED_PROPS = {\n key: true,\n ref: true,\n __self: true,\n __source: true\n};\nvar specialPropKeyWarningShown;\nvar specialPropRefWarningShown;\nvar didWarnAboutStringRefs;\n\n{\n didWarnAboutStringRefs = {};\n}\n\nfunction hasValidRef(config) {\n {\n if (hasOwnProperty.call(config, 'ref')) {\n var getter = Object.getOwnPropertyDescriptor(config, 'ref').get;\n\n if (getter && getter.isReactWarning) {\n return false;\n }\n }\n }\n\n return config.ref !== undefined;\n}\n\nfunction hasValidKey(config) {\n {\n if (hasOwnProperty.call(config, 'key')) {\n var getter = Object.getOwnPropertyDescriptor(config, 'key').get;\n\n if (getter && getter.isReactWarning) {\n return false;\n }\n }\n }\n\n return config.key !== undefined;\n}\n\nfunction warnIfStringRefCannotBeAutoConverted(config, self) {\n {\n if (typeof config.ref === 'string' && ReactCurrentOwner.current && self && ReactCurrentOwner.current.stateNode !== self) {\n var componentName = getComponentNameFromType(ReactCurrentOwner.current.type);\n\n if (!didWarnAboutStringRefs[componentName]) {\n error('Component \"%s\" contains the string ref \"%s\". ' + 'Support for string refs will be removed in a future major release. ' + 'This case cannot be automatically converted to an arrow function. ' + 'We ask you to manually fix this case by using useRef() or createRef() instead. ' + 'Learn more about using refs safely here: ' + 'https://reactjs.org/link/strict-mode-string-ref', getComponentNameFromType(ReactCurrentOwner.current.type), config.ref);\n\n didWarnAboutStringRefs[componentName] = true;\n }\n }\n }\n}\n\nfunction defineKeyPropWarningGetter(props, displayName) {\n {\n var warnAboutAccessingKey = function () {\n if (!specialPropKeyWarningShown) {\n specialPropKeyWarningShown = true;\n\n error('%s: `key` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://reactjs.org/link/special-props)', displayName);\n }\n };\n\n warnAboutAccessingKey.isReactWarning = true;\n Object.defineProperty(props, 'key', {\n get: warnAboutAccessingKey,\n configurable: true\n });\n }\n}\n\nfunction defineRefPropWarningGetter(props, displayName) {\n {\n var warnAboutAccessingRef = function () {\n if (!specialPropRefWarningShown) {\n specialPropRefWarningShown = true;\n\n error('%s: `ref` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://reactjs.org/link/special-props)', displayName);\n }\n };\n\n warnAboutAccessingRef.isReactWarning = true;\n Object.defineProperty(props, 'ref', {\n get: warnAboutAccessingRef,\n configurable: true\n });\n }\n}\n/**\n * Factory method to create a new React element. This no longer adheres to\n * the class pattern, so do not use new to call it. Also, instanceof check\n * will not work. Instead test $$typeof field against Symbol.for('react.element') to check\n * if something is a React Element.\n *\n * @param {*} type\n * @param {*} props\n * @param {*} key\n * @param {string|object} ref\n * @param {*} owner\n * @param {*} self A *temporary* helper to detect places where `this` is\n * different from the `owner` when React.createElement is called, so that we\n * can warn. We want to get rid of owner and replace string `ref`s with arrow\n * functions, and as long as `this` and owner are the same, there will be no\n * change in behavior.\n * @param {*} source An annotation object (added by a transpiler or otherwise)\n * indicating filename, line number, and/or other information.\n * @internal\n */\n\n\nvar ReactElement = function (type, key, ref, self, source, owner, props) {\n var element = {\n // This tag allows us to uniquely identify this as a React Element\n $$typeof: REACT_ELEMENT_TYPE,\n // Built-in properties that belong on the element\n type: type,\n key: key,\n ref: ref,\n props: props,\n // Record the component responsible for creating this element.\n _owner: owner\n };\n\n {\n // The validation flag is currently mutative. We put it on\n // an external backing store so that we can freeze the whole object.\n // This can be replaced with a WeakMap once they are implemented in\n // commonly used development environments.\n element._store = {}; // To make comparing ReactElements easier for testing purposes, we make\n // the validation flag non-enumerable (where possible, which should\n // include every environment we run tests in), so the test framework\n // ignores it.\n\n Object.defineProperty(element._store, 'validated', {\n configurable: false,\n enumerable: false,\n writable: true,\n value: false\n }); // self and source are DEV only properties.\n\n Object.defineProperty(element, '_self', {\n configurable: false,\n enumerable: false,\n writable: false,\n value: self\n }); // Two elements created in two different places should be considered\n // equal for testing purposes and therefore we hide it from enumeration.\n\n Object.defineProperty(element, '_source', {\n configurable: false,\n enumerable: false,\n writable: false,\n value: source\n });\n\n if (Object.freeze) {\n Object.freeze(element.props);\n Object.freeze(element);\n }\n }\n\n return element;\n};\n/**\n * https://github.com/reactjs/rfcs/pull/107\n * @param {*} type\n * @param {object} props\n * @param {string} key\n */\n\nfunction jsxDEV(type, config, maybeKey, source, self) {\n {\n var propName; // Reserved names are extracted\n\n var props = {};\n var key = null;\n var ref = null; // Currently, key can be spread in as a prop. This causes a potential\n // issue if key is also explicitly declared (ie.
    \n // or
    ). We want to deprecate key spread,\n // but as an intermediary step, we will use jsxDEV for everything except\n //
    , because we aren't currently able to tell if\n // key is explicitly declared to be undefined or not.\n\n if (maybeKey !== undefined) {\n {\n checkKeyStringCoercion(maybeKey);\n }\n\n key = '' + maybeKey;\n }\n\n if (hasValidKey(config)) {\n {\n checkKeyStringCoercion(config.key);\n }\n\n key = '' + config.key;\n }\n\n if (hasValidRef(config)) {\n ref = config.ref;\n warnIfStringRefCannotBeAutoConverted(config, self);\n } // Remaining properties are added to a new props object\n\n\n for (propName in config) {\n if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {\n props[propName] = config[propName];\n }\n } // Resolve default props\n\n\n if (type && type.defaultProps) {\n var defaultProps = type.defaultProps;\n\n for (propName in defaultProps) {\n if (props[propName] === undefined) {\n props[propName] = defaultProps[propName];\n }\n }\n }\n\n if (key || ref) {\n var displayName = typeof type === 'function' ? type.displayName || type.name || 'Unknown' : type;\n\n if (key) {\n defineKeyPropWarningGetter(props, displayName);\n }\n\n if (ref) {\n defineRefPropWarningGetter(props, displayName);\n }\n }\n\n return ReactElement(type, key, ref, self, source, ReactCurrentOwner.current, props);\n }\n}\n\nvar ReactCurrentOwner$1 = ReactSharedInternals.ReactCurrentOwner;\nvar ReactDebugCurrentFrame$1 = ReactSharedInternals.ReactDebugCurrentFrame;\n\nfunction setCurrentlyValidatingElement$1(element) {\n {\n if (element) {\n var owner = element._owner;\n var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);\n ReactDebugCurrentFrame$1.setExtraStackFrame(stack);\n } else {\n ReactDebugCurrentFrame$1.setExtraStackFrame(null);\n }\n }\n}\n\nvar propTypesMisspellWarningShown;\n\n{\n propTypesMisspellWarningShown = false;\n}\n/**\n * Verifies the object is a ReactElement.\n * See https://reactjs.org/docs/react-api.html#isvalidelement\n * @param {?object} object\n * @return {boolean} True if `object` is a ReactElement.\n * @final\n */\n\n\nfunction isValidElement(object) {\n {\n return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;\n }\n}\n\nfunction getDeclarationErrorAddendum() {\n {\n if (ReactCurrentOwner$1.current) {\n var name = getComponentNameFromType(ReactCurrentOwner$1.current.type);\n\n if (name) {\n return '\\n\\nCheck the render method of `' + name + '`.';\n }\n }\n\n return '';\n }\n}\n\nfunction getSourceInfoErrorAddendum(source) {\n {\n if (source !== undefined) {\n var fileName = source.fileName.replace(/^.*[\\\\\\/]/, '');\n var lineNumber = source.lineNumber;\n return '\\n\\nCheck your code at ' + fileName + ':' + lineNumber + '.';\n }\n\n return '';\n }\n}\n/**\n * Warn if there's no key explicitly set on dynamic arrays of children or\n * object keys are not valid. This allows us to keep track of children between\n * updates.\n */\n\n\nvar ownerHasKeyUseWarning = {};\n\nfunction getCurrentComponentErrorInfo(parentType) {\n {\n var info = getDeclarationErrorAddendum();\n\n if (!info) {\n var parentName = typeof parentType === 'string' ? parentType : parentType.displayName || parentType.name;\n\n if (parentName) {\n info = \"\\n\\nCheck the top-level render call using <\" + parentName + \">.\";\n }\n }\n\n return info;\n }\n}\n/**\n * Warn if the element doesn't have an explicit key assigned to it.\n * This element is in an array. The array could grow and shrink or be\n * reordered. All children that haven't already been validated are required to\n * have a \"key\" property assigned to it. Error statuses are cached so a warning\n * will only be shown once.\n *\n * @internal\n * @param {ReactElement} element Element that requires a key.\n * @param {*} parentType element's parent's type.\n */\n\n\nfunction validateExplicitKey(element, parentType) {\n {\n if (!element._store || element._store.validated || element.key != null) {\n return;\n }\n\n element._store.validated = true;\n var currentComponentErrorInfo = getCurrentComponentErrorInfo(parentType);\n\n if (ownerHasKeyUseWarning[currentComponentErrorInfo]) {\n return;\n }\n\n ownerHasKeyUseWarning[currentComponentErrorInfo] = true; // Usually the current owner is the offender, but if it accepts children as a\n // property, it may be the creator of the child that's responsible for\n // assigning it a key.\n\n var childOwner = '';\n\n if (element && element._owner && element._owner !== ReactCurrentOwner$1.current) {\n // Give the component that originally created this child.\n childOwner = \" It was passed a child from \" + getComponentNameFromType(element._owner.type) + \".\";\n }\n\n setCurrentlyValidatingElement$1(element);\n\n error('Each child in a list should have a unique \"key\" prop.' + '%s%s See https://reactjs.org/link/warning-keys for more information.', currentComponentErrorInfo, childOwner);\n\n setCurrentlyValidatingElement$1(null);\n }\n}\n/**\n * Ensure that every element either is passed in a static location, in an\n * array with an explicit keys property defined, or in an object literal\n * with valid key property.\n *\n * @internal\n * @param {ReactNode} node Statically passed child of any type.\n * @param {*} parentType node's parent's type.\n */\n\n\nfunction validateChildKeys(node, parentType) {\n {\n if (typeof node !== 'object') {\n return;\n }\n\n if (isArray(node)) {\n for (var i = 0; i < node.length; i++) {\n var child = node[i];\n\n if (isValidElement(child)) {\n validateExplicitKey(child, parentType);\n }\n }\n } else if (isValidElement(node)) {\n // This element was passed in a valid location.\n if (node._store) {\n node._store.validated = true;\n }\n } else if (node) {\n var iteratorFn = getIteratorFn(node);\n\n if (typeof iteratorFn === 'function') {\n // Entry iterators used to provide implicit keys,\n // but now we print a separate warning for them later.\n if (iteratorFn !== node.entries) {\n var iterator = iteratorFn.call(node);\n var step;\n\n while (!(step = iterator.next()).done) {\n if (isValidElement(step.value)) {\n validateExplicitKey(step.value, parentType);\n }\n }\n }\n }\n }\n }\n}\n/**\n * Given an element, validate that its props follow the propTypes definition,\n * provided by the type.\n *\n * @param {ReactElement} element\n */\n\n\nfunction validatePropTypes(element) {\n {\n var type = element.type;\n\n if (type === null || type === undefined || typeof type === 'string') {\n return;\n }\n\n var propTypes;\n\n if (typeof type === 'function') {\n propTypes = type.propTypes;\n } else if (typeof type === 'object' && (type.$$typeof === REACT_FORWARD_REF_TYPE || // Note: Memo only checks outer props here.\n // Inner props are checked in the reconciler.\n type.$$typeof === REACT_MEMO_TYPE)) {\n propTypes = type.propTypes;\n } else {\n return;\n }\n\n if (propTypes) {\n // Intentionally inside to avoid triggering lazy initializers:\n var name = getComponentNameFromType(type);\n checkPropTypes(propTypes, element.props, 'prop', name, element);\n } else if (type.PropTypes !== undefined && !propTypesMisspellWarningShown) {\n propTypesMisspellWarningShown = true; // Intentionally inside to avoid triggering lazy initializers:\n\n var _name = getComponentNameFromType(type);\n\n error('Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?', _name || 'Unknown');\n }\n\n if (typeof type.getDefaultProps === 'function' && !type.getDefaultProps.isReactClassApproved) {\n error('getDefaultProps is only used on classic React.createClass ' + 'definitions. Use a static property named `defaultProps` instead.');\n }\n }\n}\n/**\n * Given a fragment, validate that it can only be provided with fragment props\n * @param {ReactElement} fragment\n */\n\n\nfunction validateFragmentProps(fragment) {\n {\n var keys = Object.keys(fragment.props);\n\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n\n if (key !== 'children' && key !== 'key') {\n setCurrentlyValidatingElement$1(fragment);\n\n error('Invalid prop `%s` supplied to `React.Fragment`. ' + 'React.Fragment can only have `key` and `children` props.', key);\n\n setCurrentlyValidatingElement$1(null);\n break;\n }\n }\n\n if (fragment.ref !== null) {\n setCurrentlyValidatingElement$1(fragment);\n\n error('Invalid attribute `ref` supplied to `React.Fragment`.');\n\n setCurrentlyValidatingElement$1(null);\n }\n }\n}\n\nfunction jsxWithValidation(type, props, key, isStaticChildren, source, self) {\n {\n var validType = isValidElementType(type); // We warn in this case but don't throw. We expect the element creation to\n // succeed and there will likely be errors in render.\n\n if (!validType) {\n var info = '';\n\n if (type === undefined || typeof type === 'object' && type !== null && Object.keys(type).length === 0) {\n info += ' You likely forgot to export your component from the file ' + \"it's defined in, or you might have mixed up default and named imports.\";\n }\n\n var sourceInfo = getSourceInfoErrorAddendum(source);\n\n if (sourceInfo) {\n info += sourceInfo;\n } else {\n info += getDeclarationErrorAddendum();\n }\n\n var typeString;\n\n if (type === null) {\n typeString = 'null';\n } else if (isArray(type)) {\n typeString = 'array';\n } else if (type !== undefined && type.$$typeof === REACT_ELEMENT_TYPE) {\n typeString = \"<\" + (getComponentNameFromType(type.type) || 'Unknown') + \" />\";\n info = ' Did you accidentally export a JSX literal instead of a component?';\n } else {\n typeString = typeof type;\n }\n\n error('React.jsx: type is invalid -- expected a string (for ' + 'built-in components) or a class/function (for composite ' + 'components) but got: %s.%s', typeString, info);\n }\n\n var element = jsxDEV(type, props, key, source, self); // The result can be nullish if a mock or a custom function is used.\n // TODO: Drop this when these are no longer allowed as the type argument.\n\n if (element == null) {\n return element;\n } // Skip key warning if the type isn't valid since our key validation logic\n // doesn't expect a non-string/function type and can throw confusing errors.\n // We don't want exception behavior to differ between dev and prod.\n // (Rendering will throw with a helpful message and as soon as the type is\n // fixed, the key warnings will appear.)\n\n\n if (validType) {\n var children = props.children;\n\n if (children !== undefined) {\n if (isStaticChildren) {\n if (isArray(children)) {\n for (var i = 0; i < children.length; i++) {\n validateChildKeys(children[i], type);\n }\n\n if (Object.freeze) {\n Object.freeze(children);\n }\n } else {\n error('React.jsx: Static children should always be an array. ' + 'You are likely explicitly calling React.jsxs or React.jsxDEV. ' + 'Use the Babel transform instead.');\n }\n } else {\n validateChildKeys(children, type);\n }\n }\n }\n\n if (type === REACT_FRAGMENT_TYPE) {\n validateFragmentProps(element);\n } else {\n validatePropTypes(element);\n }\n\n return element;\n }\n} // These two functions exist to still get child warnings in dev\n// even with the prod transform. This means that jsxDEV is purely\n// opt-in behavior for better messages but that we won't stop\n// giving you warnings if you use production apis.\n\nfunction jsxWithValidationStatic(type, props, key) {\n {\n return jsxWithValidation(type, props, key, true);\n }\n}\nfunction jsxWithValidationDynamic(type, props, key) {\n {\n return jsxWithValidation(type, props, key, false);\n }\n}\n\nvar jsx = jsxWithValidationDynamic ; // we may want to special case jsxs internally to take advantage of static children.\n// for now we can ship identical prod functions\n\nvar jsxs = jsxWithValidationStatic ;\n\nexports.Fragment = REACT_FRAGMENT_TYPE;\nexports.jsx = jsx;\nexports.jsxs = jsxs;\n })();\n}\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-jsx-runtime.production.min.js');\n} else {\n module.exports = require('./cjs/react-jsx-runtime.development.js');\n}\n","/** A function that accepts a potential \"extra argument\" value to be injected later,\r\n * and returns an instance of the thunk middleware that uses that value\r\n */\nfunction createThunkMiddleware(extraArgument) {\n // Standard Redux middleware definition pattern:\n // See: https://redux.js.org/tutorials/fundamentals/part-4-store#writing-custom-middleware\n var middleware = function middleware(_ref) {\n var dispatch = _ref.dispatch,\n getState = _ref.getState;\n return function (next) {\n return function (action) {\n // The thunk middleware looks for any functions that were passed to `store.dispatch`.\n // If this \"action\" is really a function, call it and return the result.\n if (typeof action === 'function') {\n // Inject the store's `dispatch` and `getState` methods, as well as any \"extra arg\"\n return action(dispatch, getState, extraArgument);\n } // Otherwise, pass the action down the middleware chain as usual\n\n\n return next(action);\n };\n };\n };\n\n return middleware;\n}\n\nvar thunk = createThunkMiddleware(); // Attach the factory function so users can create a customized version\n// with whatever \"extra arg\" they want to inject into their thunks\n\nthunk.withExtraArgument = createThunkMiddleware;\nexport default thunk;","// Cache implementation based on Erik Rasmussen's `lru-memoize`:\n// https://github.com/erikras/lru-memoize\nvar NOT_FOUND = 'NOT_FOUND';\n\nfunction createSingletonCache(equals) {\n var entry;\n return {\n get: function get(key) {\n if (entry && equals(entry.key, key)) {\n return entry.value;\n }\n\n return NOT_FOUND;\n },\n put: function put(key, value) {\n entry = {\n key: key,\n value: value\n };\n },\n getEntries: function getEntries() {\n return entry ? [entry] : [];\n },\n clear: function clear() {\n entry = undefined;\n }\n };\n}\n\nfunction createLruCache(maxSize, equals) {\n var entries = [];\n\n function get(key) {\n var cacheIndex = entries.findIndex(function (entry) {\n return equals(key, entry.key);\n }); // We found a cached entry\n\n if (cacheIndex > -1) {\n var entry = entries[cacheIndex]; // Cached entry not at top of cache, move it to the top\n\n if (cacheIndex > 0) {\n entries.splice(cacheIndex, 1);\n entries.unshift(entry);\n }\n\n return entry.value;\n } // No entry found in cache, return sentinel\n\n\n return NOT_FOUND;\n }\n\n function put(key, value) {\n if (get(key) === NOT_FOUND) {\n // TODO Is unshift slow?\n entries.unshift({\n key: key,\n value: value\n });\n\n if (entries.length > maxSize) {\n entries.pop();\n }\n }\n }\n\n function getEntries() {\n return entries;\n }\n\n function clear() {\n entries = [];\n }\n\n return {\n get: get,\n put: put,\n getEntries: getEntries,\n clear: clear\n };\n}\n\nexport var defaultEqualityCheck = function defaultEqualityCheck(a, b) {\n return a === b;\n};\nexport function createCacheKeyComparator(equalityCheck) {\n return function areArgumentsShallowlyEqual(prev, next) {\n if (prev === null || next === null || prev.length !== next.length) {\n return false;\n } // Do this in a for loop (and not a `forEach` or an `every`) so we can determine equality as fast as possible.\n\n\n var length = prev.length;\n\n for (var i = 0; i < length; i++) {\n if (!equalityCheck(prev[i], next[i])) {\n return false;\n }\n }\n\n return true;\n };\n}\n// defaultMemoize now supports a configurable cache size with LRU behavior,\n// and optional comparison of the result value with existing values\nexport function defaultMemoize(func, equalityCheckOrOptions) {\n var providedOptions = typeof equalityCheckOrOptions === 'object' ? equalityCheckOrOptions : {\n equalityCheck: equalityCheckOrOptions\n };\n var _providedOptions$equa = providedOptions.equalityCheck,\n equalityCheck = _providedOptions$equa === void 0 ? defaultEqualityCheck : _providedOptions$equa,\n _providedOptions$maxS = providedOptions.maxSize,\n maxSize = _providedOptions$maxS === void 0 ? 1 : _providedOptions$maxS,\n resultEqualityCheck = providedOptions.resultEqualityCheck;\n var comparator = createCacheKeyComparator(equalityCheck);\n var cache = maxSize === 1 ? createSingletonCache(comparator) : createLruCache(maxSize, comparator); // we reference arguments instead of spreading them for performance reasons\n\n function memoized() {\n var value = cache.get(arguments);\n\n if (value === NOT_FOUND) {\n // @ts-ignore\n value = func.apply(null, arguments);\n\n if (resultEqualityCheck) {\n var entries = cache.getEntries();\n var matchingEntry = entries.find(function (entry) {\n return resultEqualityCheck(entry.value, value);\n });\n\n if (matchingEntry) {\n value = matchingEntry.value;\n }\n }\n\n cache.put(arguments, value);\n }\n\n return value;\n }\n\n memoized.clearCache = function () {\n return cache.clear();\n };\n\n return memoized;\n}","import { defaultMemoize, defaultEqualityCheck } from './defaultMemoize';\nexport { defaultMemoize, defaultEqualityCheck };\n\nfunction getDependencies(funcs) {\n var dependencies = Array.isArray(funcs[0]) ? funcs[0] : funcs;\n\n if (!dependencies.every(function (dep) {\n return typeof dep === 'function';\n })) {\n var dependencyTypes = dependencies.map(function (dep) {\n return typeof dep === 'function' ? \"function \" + (dep.name || 'unnamed') + \"()\" : typeof dep;\n }).join(', ');\n throw new Error(\"createSelector expects all input-selectors to be functions, but received the following types: [\" + dependencyTypes + \"]\");\n }\n\n return dependencies;\n}\n\nexport function createSelectorCreator(memoize) {\n for (var _len = arguments.length, memoizeOptionsFromArgs = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n memoizeOptionsFromArgs[_key - 1] = arguments[_key];\n }\n\n var createSelector = function createSelector() {\n for (var _len2 = arguments.length, funcs = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n funcs[_key2] = arguments[_key2];\n }\n\n var _recomputations = 0;\n\n var _lastResult; // Due to the intricacies of rest params, we can't do an optional arg after `...funcs`.\n // So, start by declaring the default value here.\n // (And yes, the words 'memoize' and 'options' appear too many times in this next sequence.)\n\n\n var directlyPassedOptions = {\n memoizeOptions: undefined\n }; // Normally, the result func or \"output selector\" is the last arg\n\n var resultFunc = funcs.pop(); // If the result func is actually an _object_, assume it's our options object\n\n if (typeof resultFunc === 'object') {\n directlyPassedOptions = resultFunc; // and pop the real result func off\n\n resultFunc = funcs.pop();\n }\n\n if (typeof resultFunc !== 'function') {\n throw new Error(\"createSelector expects an output function after the inputs, but received: [\" + typeof resultFunc + \"]\");\n } // Determine which set of options we're using. Prefer options passed directly,\n // but fall back to options given to createSelectorCreator.\n\n\n var _directlyPassedOption = directlyPassedOptions,\n _directlyPassedOption2 = _directlyPassedOption.memoizeOptions,\n memoizeOptions = _directlyPassedOption2 === void 0 ? memoizeOptionsFromArgs : _directlyPassedOption2; // Simplifying assumption: it's unlikely that the first options arg of the provided memoizer\n // is an array. In most libs I've looked at, it's an equality function or options object.\n // Based on that, if `memoizeOptions` _is_ an array, we assume it's a full\n // user-provided array of options. Otherwise, it must be just the _first_ arg, and so\n // we wrap it in an array so we can apply it.\n\n var finalMemoizeOptions = Array.isArray(memoizeOptions) ? memoizeOptions : [memoizeOptions];\n var dependencies = getDependencies(funcs);\n var memoizedResultFunc = memoize.apply(void 0, [function recomputationWrapper() {\n _recomputations++; // apply arguments instead of spreading for performance.\n\n return resultFunc.apply(null, arguments);\n }].concat(finalMemoizeOptions)); // If a selector is called with the exact same arguments we don't need to traverse our dependencies again.\n\n var selector = memoize(function dependenciesChecker() {\n var params = [];\n var length = dependencies.length;\n\n for (var i = 0; i < length; i++) {\n // apply arguments instead of spreading and mutate a local list of params for performance.\n // @ts-ignore\n params.push(dependencies[i].apply(null, arguments));\n } // apply arguments instead of spreading for performance.\n\n\n _lastResult = memoizedResultFunc.apply(null, params);\n return _lastResult;\n });\n Object.assign(selector, {\n resultFunc: resultFunc,\n memoizedResultFunc: memoizedResultFunc,\n dependencies: dependencies,\n lastResult: function lastResult() {\n return _lastResult;\n },\n recomputations: function recomputations() {\n return _recomputations;\n },\n resetRecomputations: function resetRecomputations() {\n return _recomputations = 0;\n }\n });\n return selector;\n }; // @ts-ignore\n\n\n return createSelector;\n}\nexport var createSelector = /* #__PURE__ */createSelectorCreator(defaultMemoize);\n// Manual definition of state and output arguments\nexport var createStructuredSelector = function createStructuredSelector(selectors, selectorCreator) {\n if (selectorCreator === void 0) {\n selectorCreator = createSelector;\n }\n\n if (typeof selectors !== 'object') {\n throw new Error('createStructuredSelector expects first argument to be an object ' + (\"where each property is a selector, instead received a \" + typeof selectors));\n }\n\n var objectKeys = Object.keys(selectors);\n var resultSelector = selectorCreator( // @ts-ignore\n objectKeys.map(function (key) {\n return selectors[key];\n }), function () {\n for (var _len3 = arguments.length, values = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {\n values[_key3] = arguments[_key3];\n }\n\n return values.reduce(function (composition, value, index) {\n composition[objectKeys[index]] = value;\n return composition;\n }, {});\n });\n return resultSelector;\n};","export default function _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) {\n return typeof obj;\n } : function (obj) {\n return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n }, _typeof(obj);\n}","function n(n){for(var r=arguments.length,t=Array(r>1?r-1:0),e=1;e3?r.i-4:r.i:Array.isArray(n)?1:s(n)?2:v(n)?3:0}function u(n,r){return 2===o(n)?n.has(r):Object.prototype.hasOwnProperty.call(n,r)}function a(n,r){return 2===o(n)?n.get(r):n[r]}function f(n,r,t){var e=o(n);2===e?n.set(r,t):3===e?n.add(t):n[r]=t}function c(n,r){return n===r?0!==n||1/n==1/r:n!=n&&r!=r}function s(n){return X&&n instanceof Map}function v(n){return q&&n instanceof Set}function p(n){return n.o||n.t}function l(n){if(Array.isArray(n))return Array.prototype.slice.call(n);var r=rn(n);delete r[Q];for(var t=nn(r),e=0;e1&&(n.set=n.add=n.clear=n.delete=h),Object.freeze(n),e&&i(n,(function(n,r){return d(r,!0)}),!0)),n}function h(){n(2)}function y(n){return null==n||\"object\"!=typeof n||Object.isFrozen(n)}function b(r){var t=tn[r];return t||n(18,r),t}function m(n,r){tn[n]||(tn[n]=r)}function _(){return\"production\"===process.env.NODE_ENV||U||n(0),U}function j(n,r){r&&(b(\"Patches\"),n.u=[],n.s=[],n.v=r)}function g(n){O(n),n.p.forEach(S),n.p=null}function O(n){n===U&&(U=n.l)}function w(n){return U={p:[],l:U,h:n,m:!0,_:0}}function S(n){var r=n[Q];0===r.i||1===r.i?r.j():r.g=!0}function P(r,e){e._=e.p.length;var i=e.p[0],o=void 0!==r&&r!==i;return e.h.O||b(\"ES5\").S(e,r,o),o?(i[Q].P&&(g(e),n(4)),t(r)&&(r=M(e,r),e.l||x(e,r)),e.u&&b(\"Patches\").M(i[Q].t,r,e.u,e.s)):r=M(e,i,[]),g(e),e.u&&e.v(e.u,e.s),r!==H?r:void 0}function M(n,r,t){if(y(r))return r;var e=r[Q];if(!e)return i(r,(function(i,o){return A(n,e,r,i,o,t)}),!0),r;if(e.A!==n)return r;if(!e.P)return x(n,e.t,!0),e.t;if(!e.I){e.I=!0,e.A._--;var o=4===e.i||5===e.i?e.o=l(e.k):e.o,u=o,a=!1;3===e.i&&(u=new Set(o),o.clear(),a=!0),i(u,(function(r,i){return A(n,e,o,r,i,t,a)})),x(n,o,!1),t&&n.u&&b(\"Patches\").N(e,t,n.u,n.s)}return e.o}function A(e,i,o,a,c,s,v){if(\"production\"!==process.env.NODE_ENV&&c===o&&n(5),r(c)){var p=M(e,c,s&&i&&3!==i.i&&!u(i.R,a)?s.concat(a):void 0);if(f(o,a,p),!r(p))return;e.m=!1}else v&&o.add(c);if(t(c)&&!y(c)){if(!e.h.D&&e._<1)return;M(e,c),i&&i.A.l||x(e,c)}}function x(n,r,t){void 0===t&&(t=!1),!n.l&&n.h.D&&n.m&&d(r,t)}function z(n,r){var t=n[Q];return(t?p(t):n)[r]}function I(n,r){if(r in n)for(var t=Object.getPrototypeOf(n);t;){var e=Object.getOwnPropertyDescriptor(t,r);if(e)return e;t=Object.getPrototypeOf(t)}}function k(n){n.P||(n.P=!0,n.l&&k(n.l))}function E(n){n.o||(n.o=l(n.t))}function N(n,r,t){var e=s(r)?b(\"MapSet\").F(r,t):v(r)?b(\"MapSet\").T(r,t):n.O?function(n,r){var t=Array.isArray(n),e={i:t?1:0,A:r?r.A:_(),P:!1,I:!1,R:{},l:r,t:n,k:null,o:null,j:null,C:!1},i=e,o=en;t&&(i=[e],o=on);var u=Proxy.revocable(i,o),a=u.revoke,f=u.proxy;return e.k=f,e.j=a,f}(r,t):b(\"ES5\").J(r,t);return(t?t.A:_()).p.push(e),e}function R(e){return r(e)||n(22,e),function n(r){if(!t(r))return r;var e,u=r[Q],c=o(r);if(u){if(!u.P&&(u.i<4||!b(\"ES5\").K(u)))return u.t;u.I=!0,e=D(r,c),u.I=!1}else e=D(r,c);return i(e,(function(r,t){u&&a(u.t,r)===t||f(e,r,n(t))})),3===c?new Set(e):e}(e)}function D(n,r){switch(r){case 2:return new Map(n);case 3:return Array.from(n)}return l(n)}function F(){function t(n,r){var t=s[n];return t?t.enumerable=r:s[n]=t={configurable:!0,enumerable:r,get:function(){var r=this[Q];return\"production\"!==process.env.NODE_ENV&&f(r),en.get(r,n)},set:function(r){var t=this[Q];\"production\"!==process.env.NODE_ENV&&f(t),en.set(t,n,r)}},t}function e(n){for(var r=n.length-1;r>=0;r--){var t=n[r][Q];if(!t.P)switch(t.i){case 5:a(t)&&k(t);break;case 4:o(t)&&k(t)}}}function o(n){for(var r=n.t,t=n.k,e=nn(t),i=e.length-1;i>=0;i--){var o=e[i];if(o!==Q){var a=r[o];if(void 0===a&&!u(r,o))return!0;var f=t[o],s=f&&f[Q];if(s?s.t!==a:!c(f,a))return!0}}var v=!!r[Q];return e.length!==nn(r).length+(v?0:1)}function a(n){var r=n.k;if(r.length!==n.t.length)return!0;var t=Object.getOwnPropertyDescriptor(r,r.length-1);if(t&&!t.get)return!0;for(var e=0;e1?t-1:0),o=1;o1?t-1:0),o=1;o=0;e--){var i=t[e];if(0===i.path.length&&\"replace\"===i.op){n=i.value;break}}e>-1&&(t=t.slice(e+1));var o=b(\"Patches\").$;return r(n)?o(n,t):this.produce(n,(function(n){return o(n,t)}))},e}(),an=new un,fn=an.produce,cn=an.produceWithPatches.bind(an),sn=an.setAutoFreeze.bind(an),vn=an.setUseProxies.bind(an),pn=an.applyPatches.bind(an),ln=an.createDraft.bind(an),dn=an.finishDraft.bind(an);export default fn;export{un as Immer,pn as applyPatches,K as castDraft,$ as castImmutable,ln as createDraft,R as current,J as enableAllPlugins,F as enableES5,C as enableMapSet,T as enablePatches,dn as finishDraft,d as freeze,L as immerable,r as isDraft,t as isDraftable,H as nothing,e as original,fn as produce,cn as produceWithPatches,sn as setAutoFreeze,vn as setUseProxies};\n//# sourceMappingURL=immer.esm.js.map\n"],"names":["done","value","qEnd","safeName","patternOrChannel","channel","stringableFunc","String","func","name","fsmIterator","fsm","startState","stateUpdater","errorState","effect","nextState","next","arg","error","currentState","takeEvery","worker","_len","arguments","length","args","Array","_key","action","yTake","setAction","ac","q1","q2","apply","concat","takeLatest","task","yFork","yCancel","setTask","t","q3","takeLeading","throttle","delayLength","channel$1","yDelay","setChannel","ch","needsChannel","q4","retry","maxTries","fn","counter","yCall","q10","debounceHelper","raceOutput","yRace","debounce","setRaceOutput","ro","validateTakeEffect","c","notUndef","takeEvery$1","takeLatest$1","_len2","_key2","takeLeading$1","_len3","_key3","throttle$1","ms","_len4","_key4","retry$1","_len5","_key5","pattern","_len6","_key6","extendStatics","__extends","d","b","Object","setPrototypeOf","__proto__","p","prototype","hasOwnProperty","call","TypeError","__","this","constructor","create","__generator","thisArg","body","f","y","g","_","label","sent","trys","ops","verb","Symbol","iterator","n","v","op","pop","push","e","step","__spreadArray","to","from","i","il","j","__defProp","defineProperty","__defProps","defineProperties","__getOwnPropDescs","getOwnPropertyDescriptors","__getOwnPropSymbols","getOwnPropertySymbols","__hasOwnProp","__propIsEnum","propertyIsEnumerable","__defNormalProp","obj","key","enumerable","configurable","writable","__spreadValues","a","prop","_i","_c","__spreadProps","__async","__this","__arguments","generator","Promise","resolve","reject","fulfilled","rejected","throw","x","then","createDraftSafeSelector","selector","createSelector","rest","isDraft","current","composeWithDevTools","window","__REDUX_DEVTOOLS_EXTENSION_COMPOSE__","compose","isPlainObject","proto","getPrototypeOf","baseProto","getTimeMeasureUtils","maxDelay","fnName","elapsed","measureTime","started","Date","now","finished","warnIfExceeded","console","warn","__REDUX_DEVTOOLS_EXTENSION__","MiddlewareArray","_super","_this","species","get","arr","prepend","isArray","bind","EnhancerArray","freezeDraftable","val","isDraftable","isProduction","prefix","invariant","condition","message","Error","isImmutableDefault","isFrozen","trackForMutations","isImmutable","ignorePaths","trackedProperties","trackProperties","detectMutations","path","tracked","children","childPath","indexOf","ignoredPaths","trackedProperty","sameParentRef","prevObj","sameRef","Number","isNaN","wasMutated","keysToDetect","hasIgnoredPaths","_loop_1","nestedPath","some","ignored","RegExp","test","result","state_1","createImmutableStateInvariantMiddleware","options","_d","warnAfter","ignore","track","getState","state","tracker","measureUtils","dispatchedAction","serializer","indent","decycler","JSON","stringify","stack","keys","slice","join","thisPos","splice","Infinity","getSerialize","isPlain","type","findNonSerializableValue","isSerializable","getEntries","cache","foundNestedSerializable","keyPath","has","entries","_loop_2","nestedValue","entries_1","state_2","isNestedFrozen","add","values","createSerializableStateInvariantMiddleware","ignoredActions","_e","ignoredActionPaths","_f","_g","_h","ignoreState","_j","ignoreActions","_k","disableCache","WeakSet","storeAPI","foundActionNonSerializableValue","foundStateNonSerializableValue","isBoolean","getDefaultMiddleware","thunk","immutableCheck","serializableCheck","middlewareArray","withExtraArgument","extraArgument","immutableOptions","unshift","serializableOptions","IS_PRODUCTION","configureStore","rootReducer","curriedGetDefaultMiddleware","reducer","middleware","devTools","preloadedState","enhancers","combineReducers","finalMiddleware","item","middlewareEnhancer","applyMiddleware","finalCompose","trace","defaultEnhancers","storeEnhancers","composedEnhancer","createStore","createAction","prepareAction","actionCreator","prepared","payload","meta","toString","match","isAction","isFSA","every","isValidKey","getType","executeReducerBuilderCallback","builderCallback","defaultCaseReducer","actionsMap","actionMatchers","builder","addCase","typeOrActionCreator","addMatcher","matcher","addDefaultCase","hasWarnedAboutObjectNotation","createReducer","initialState","mapOrBuilderCallback","getInitialState","finalActionMatchers","finalDefaultCaseReducer","frozenInitialState_1","caseReducers","filter","map","cr","reduce","previousState","caseReducer","draft","hasWarnedAboutObjectNotation2","createSlice","process","_reducer","reducers","reducerNames","sliceCaseReducersByName","sliceCaseReducersByType","actionCreators","buildReducer","extraReducers","finalCaseReducers","actionMatchers_1","m","forEach","reducerName","prepareCallback","maybeReducerWithPrepare","prepare","actions","createStateOperator","mutator","runMutator","selectIdValue","entity","selectId","ensureEntitiesArray","entities","splitAddedUpdatedEntities","newEntities","added","updated","newEntities_1","id","changes","createUnsortedStateAdapter","addOneMutably","ids","addManyMutably","newEntities_2","setOneMutably","removeManyMutably","didMutate","updateManyMutably","updates","newKeys","updatesPerEntity","update","didMutateIds","original2","assign","newKey","hasNewKey","takeNewKey","upsertManyMutably","removeAll","operator","addOne","addMany","setOne","setMany","newEntities_3","setAll","updateOne","updateMany","upsertOne","upsertMany","removeOne","removeMany","createEntityAdapter","sortComparer","instance","stateFactory","additionalState","selectorsFactory","getSelectors","selectState","selectIds","selectEntities","selectAll","selectById","selectTotal","selectGlobalizedEntities","stateAdapter","sort","models","model","merge","setManyMutably","appliedUpdates","updates_1","newId","resortEntities","allEntities","newSortedIds","areArraysEqual","createSortedStateAdapter","nanoid","size","Math","random","commonProperties","RejectWithValue","FulfillWithMeta","miniSerializeError","simpleError","commonProperties_1","property","createAsyncThunk","createAsyncThunk2","typePrefix","payloadCreator","requestId","requestStatus","pending","serializeError","rejectedWithValue","aborted","displayedWarning","AC","AbortController","class_1","signal","addEventListener","dispatchEvent","onabort","removeEventListener","reason","throwIfAborted","abort","info","dispatch","extra","abortReason","idGenerator","abortController","promise2","_a","_b","finalAction","conditionResult","abortedPromise","err_1","getPendingMeta","race","rejectWithValue","fulfillWithValue","dispatchConditionRejection","unwrap","unwrapResult","withTypes","matches","isAnyOf","matchers","isAllOf","hasExpectedRequestMetadata","validStatus","hasValidRequestId","hasValidRequestStatus","isAsyncThunkArray","isPending","asyncThunks","asyncThunk","combinedMatcher","isRejected","isRejectedWithValue","hasFlag","isFulfilled","isAsyncThunkAction","asyncThunks_1","assertFunction","expected","noop","catchRejection","onError","catch","addAbortSignalListener","abortSignal","callback","once","abortControllerWithReason","listener","completed","cancelled","taskCancelled","taskCompleted","listenerCancelled","listenerCompleted","TaskAbortError","code","validateActive","raceWithSignal","cleanup","notifyRejection","finally","createPause","output","createDelay","pause","timeoutMs","setTimeout","INTERNAL_NIL_TOKEN","alm","createFork","parentAbortSignal","taskExecutor","controller","childAbortController","task2","cleanUp","result2","delay","error_1","status","cancel","createTakePattern","startListening","predicate","timeout","unsubscribe","tuplePromise","promises","stopListening","listenerApi","getOriginalState","take","getListenerEntryPropsFrom","createListenerEntry","Set","cancelActiveListeners","entry","createClearListenerMiddleware","listenerMap","clear","safelyNotifyError","errorHandler","errorToNotify","errorInfo","errorHandlerError","addListener","clearAllListeners","removeListener","defaultErrorHandler","createListenerMiddleware","middlewareOptions","Map","findListenerEntry","comparator","existingEntry","delete","set","cancelOptions","cancelActive","insertEntry","entry2","notifyListener","api","internalTaskController","listenerError_1","Boolean","fork","subscribe","raisedBy","clearListenerMiddleware","originalState","listenerEntries","listenerEntries_1","runListener","predicateError","clearListeners","promise","SHOULD_AUTOBATCH","prepareAutoBatched","queueMicrotaskShim","queueMicrotask","globalThis","cb","err","createQueueWithTimer","notify","rAF","requestAnimationFrame","autoBatchEnhancer","store","notifying","shouldNotifyAtEndOfTick","notificationQueued","listeners","queueCallback","queueNotification","notifyListeners","l","listener2","enableES5","_regeneratorRuntime","exports","Op","hasOwn","desc","$Symbol","iteratorSymbol","asyncIteratorSymbol","asyncIterator","toStringTagSymbol","toStringTag","define","wrap","innerFn","outerFn","self","tryLocsList","protoGenerator","Generator","context","Context","makeInvokeMethod","tryCatch","ContinueSentinel","GeneratorFunction","GeneratorFunctionPrototype","IteratorPrototype","getProto","NativeIteratorPrototype","Gp","defineIteratorMethods","method","_invoke","AsyncIterator","PromiseImpl","invoke","record","_typeof","__await","unwrapped","previousPromise","callInvokeWithMethodAndArg","undefined","delegate","delegateResult","maybeInvokeDelegate","_sent","dispatchException","abrupt","methodName","return","resultName","nextLoc","pushTryEntry","locs","tryLoc","catchLoc","finallyLoc","afterLoc","tryEntries","resetTryEntry","completion","reset","iterable","iteratorMethod","doneResult","displayName","isGeneratorFunction","genFun","ctor","mark","awrap","async","iter","object","reverse","skipTempReset","prev","charAt","stop","rootRecord","rval","exception","handle","loc","caught","hasCatch","hasFinally","finallyEntry","complete","finish","thrown","delegateYield","asyncGeneratorStep","gen","_next","_throw","_asyncToGenerator","varietyTradeHistory","_ref","_callee","data","response","_context","fetch","headers","Accept","t0","json","t1","_x","varietyTradeMiniChart","_ref2","_callee2","_context2","_x2","varietyTopMovers","_ref3","_callee3","_context3","_x3","varietyTeaserChart","_ref4","_callee4","_context4","_x4","getAnalyticsParameters","_ref5","_callee5","w","_context5","version","initialContent","_defineProperty","input","hint","prim","toPrimitive","res","_toPrimitive","_toPropertyKey","_toConsumableArray","_arrayLikeToArray","_arrayWithoutHoles","_iterableToArray","_unsupportedIterableToArray","_nonIterableSpread","_slicedToArray","_arrayWithHoles","_s","_r","_arr","_n","_iterableToArrayLimit","_nonIterableRest","o","minLen","len","arr2","termsOrMap","ahp_type_id","type_id","filterTypeMap","location","shipping_speed","seller_rating","rating","attribute_ids","brand_id","grown_in","packaging_id","storage_condition_id","storage_location","variety_id","year","is_released","orderable_with","seller_id","seller_org_id","searchFields","search","parameters","references","_parameters$query","query","_parameters$sort","filters","splittedQuery","appliedFilters","terms","termsKeyword","termsOr","multiValueRange","valueRange","geoDistanceRange","trim","replaceAll","toLowerCase","split","_ref6","_ref8","_ref10","_ref12","_ref14","_geo_distance","bool","must","should","query_string","minimum_should_match","fields","_ref16","_ref17","_ref18","_ref19","_ref20","_ref22","_ref23","_ref24","_ref25","_references$key","_references$key$find","range","find","findIndex","_references$key2","_references$key2$find","includeNull","must_not","exists","field","_ref26","_ref27","lte","_ref28","_ref29","geo_distance","distance","runtime_mappings","amount","script","aggs","total_weight","sum","created_at","initialParameters","_ref30","fullListParameters","_ref31","props","_props$className","_jsx","_objectSpread","className","styles","container","_props$btnStyle","_props$btnSize","btnStyle","btnSize","MiniLineChart","_props$strokeWidth","points","dataset","chartWidth","padding","chartHeight","maxY","fill","stroke","color","strokeWidth","MiniBarChart","width","gap","_Fragment","height","_props$onClick","onClick","viewBox","_jsxs","charts","_t$strokeWidth","_t$strokeWidth2","max","group","useEffect","onKeyDown","event","onRequestClose","document","style","overflow","backdrop","currentTarget","target","close","stopPropagation","title","_props$currentPage","_props$pageItemShown","pageItemShown","_useState2","useState","currentPage","setState","_props$currentPage2","pageSize","totalRow","_props$currentPage3","onChange","containerClass","pageCount","ceil","showPrev","showNext","shown","start","floor","end","min","page","index","renderItem","active","showHopAlert","setShow","_useState4","showHidePrice","setHidePriceShow","hasHopAlert","useSelector","parameter","HasHopAlert","_localStorage$getItem","lastShown","parseInt","localStorage","getItem","constants","hopAlertIntervalStorageKey","hopAlertInterval","setItem","_parameters$HiddenPri","HiddenPrice","searchcontainer","left","showFilter","show","leftsection","filterbg","closeFilter","preventDefault","main","right","hopAlert","hopShow","hopHide","LinkButton","href","hidePriceAlert","hidePriceShow","hidePriceHide","alerttitle","footer","testimonialInterval","topMoversInterval","showChartStorageKey","mobileBreakpoint","tabletBreakpoint","analyticsStorageKey","_props$data$Labels","_props$data","_props$data$Datasets$","_props$data2","_props$data2$Datasets","_props$data3","labels","Labels","format","datasets","Datasets","isPrice","ChartValue","AvgPricePurchased","includes","VarietyOption","PassThroughParameter","Dataset","pointStyle","borderWidth","yAxisID","borderColor","backgroundColor","optionState","interval","ChartInterval","Daily","startRange","addDays","endRange","colorCounter","varietyOptionsState","Variety","CropYear","TypeId","VarietyId","IsAhp","SumType","SummaryType","Average","LbsPurchased","Sum","LbsListedActive","analyticUrl","btoa","Label","Chart","datasetIdKey","maintainAspectRatio","responsive","interaction","mode","intersect","plugins","legend","display","position","boxWidth","tooltip","callbacks","formattedValue","raw","parseFloat","toFixed","scales","ticks","font","getRemInPx","y1","grid","drawOnChartArea","thousandSeparator","updateMode","Loader","ContentLoader","speed","foregroundColor","rx","ry","MoverItem","_props$format","VarietyName","TypeName","substring","typeName","showValue","CurrentValue","chart","MiniChart","delta","Percentage","green","red","abs","_props$defaultRows","_props$defaultRows2","gainers","_props$format2","Key","defaultRows","losers","_props$format3","_props$label","appliedNumber","onClear","_props$posts","posts","Url","Title","author","formatDistance","CreateOnUtc","addSuffix","Author","Text","Comments","MinReadTime","Id","_props$parameters","_props$parameters$Par","_props$parameters2","_props$parameters2$Pa","_props$take","_props$selected$lengt","_props$selected2","_props$parameters4","_props$parameters5","isModalOpen","toggleModal","setSearch","grouped","Parameters","groupBy","_t$Group","Group","selected","_props$parameters$Par2","_props$parameters3","notInSlice","s","Value","Type","Modal","placeholder","members","checkboxes","_props$selected","checked","evt","ClearFilterItem","_props$selected3","only","TotalCount","seemore","onLoadMore","applied","useDispatch","onChecked","applyFilter","onRangeSelected","onSliderChanged","fullListFetch","hopAlertContainer","initialApplied","clearFilter","Section","FilterCheckboxItems","Types","param","Varieties","Brands","Years","Packagings","SellerScoreFilter","SellerRatings","SliderFilter","defaultValue","unit","StorageType","StoredAt","Longitude","Latitude","LotRatingFilter","LotRatings","Attributes","Regions","ChartJS","register","CategoryScale","LinearScale","BarElement","Tooltip","Legend","PointElement","LineElement","saga","createSagaMiddleware","chartReducer","searchReducer","parameterReducer","content","contentReducer","run","searchSaga","parameterSaga","contentSaga","chartSaga","txtSearch","getElementById","btnSearch","ListingSearch","_topMoversState$Price","_topMoversState$Price2","_topMoversState$LbsGa","_topMoversState$LbsLo","_results$aggregations","_results$aggregations2","_results$aggregations3","_results$hits$hits$re","_results$hits2","_results$hits$hits2","_results$hits3","_parameters$ShouldSho","_results$hits$hits$le","_results$hits4","_results$hits5","_results$hits5$total","_results$hits$hits$le2","_results$hits6","_results$hits7","_results$hits7$total","_results$hits$total$v","_results$hits8","_results$hits8$total","topMoverCarousel","setTopMoverCarousel","toggleFilter","_useState6","showChart","toggleShowChart","_useState8","miniChartTip","setMiniChartTip","results","sortState","debugState","debug","pageState","queryState","readyState","ready","miniChartState","miniCharts","miniChartLoading","isMiniChartLoading","topMoversState","topMovers","teaserChart","mainCharts","isTeaserLoading","isMobile","innerWidth","TopMovers","topPrice","PriceGainers","PriceLosers","topLbs","LbsGainers","LbsLosers","MainChart","teaser","isLoading","navigate","useNavigate","useLocation","debouncedSearch","useCallback","changeQuery","btnSearchListener","blur","txtSearchListener","searchParameterFetch","init","ParseQuery","topMoverFetch","StartTime","endOfWeek","addMonths","weekStartsOn","EndTime","mainChartFetch","VolumeEnd","VolumeStart","ChartEnd","ChartStart","setInterval","prevCounter","clearInterval","searchFetch","sortOptions","pathname","GenerateQuery","replace","UserId","_results$hits","_results$hits$hits","IsAdmin","hits","miniChartFetch","Interval","Weekly","flatten","_t$_source$ahp_type_i","_t$_source$ahp_type_i2","_source","totalWeightResult","aggregations","totalPageWeight","curr","unit_weight_lbs","remaining","pageItems","_item$_source$ahp_typ","_item$_source$ahp_typ2","shouldShowCharts","ShouldShowChart","loggedIn","hidePrice","SearchLayout","FilterSection","onFilterChange","ToolSection","Card","top","tipClose","collapsedChart","minimizeChart","emptyChartTitle","summary","gray","total","sortopt","applySort","text","summobile","listings","_t$data$_source$price","_t$data","_t$data$_source","_t$data$_source$price2","_miniChartState$Datas","_miniChartState$Datas2","_lbsListedActiveData$","_pricePurchasedData$D","_t$data12","_t$data13","_t$data14","_t$data14$_source","_t$data$_source$is_re","_t$data15","_t$data15$_source","_t$data$_source$cohop","_t$data16","_t$data17","_t$data17$_source","_t$data18","_t$data18$_source","_t$data19","_t$data19$_source","_t$data20","_t$data20$_source","_t$data21","_t$data21$_source","_t$data22","_t$data22$_source","_t$data23","_t$data23$_source","_t$data24","_t$data24$_source","_t$data25","_t$data25$_source","_t$data26","_t$data26$_source","_t$data27","_t$data27$_source","_t$data28","_t$data28$_source","_t$data29","_t$data29$_source","_t$data$_source$broke","_t$data30","_t$data30$_source","_t$data31","_t$data31$_source","_t$data32","_t$data32$_source","_t$data33","_t$data33$_source","_t$data34","_t$data34$_source","_t$data34$_source$ava","_t$data$_source$shipp","_t$data35","_t$data35$_source","_t$data36","_t$data36$_source","_t$data37","_t$data37$sort","_t$data38","_t$data38$_source","_t$data39","_t$data39$_source","_t$data40","_t$data40$_source","digits","price","pricePurchasedData","h","_t$data2","_t$data2$_source","_t$data3","_t$data3$_source","_t$data$_source$ahp_t","_t$data4","_t$data4$_source","_t$data5","_t$data5$_source","_t$data6","_t$data6$_source","lbsListedActiveData","_t$data7","_t$data7$_source","_t$data8","_t$data8$_source","_t$data$_source$ahp_t2","_t$data9","_t$data9$_source","_t$data10","_t$data10$_source","_t$data11","_t$data11$_source","miniChart","pageX","pageY","onMiniChartClick","_id","slug","featured","cohop_offer_id","reservation","minimum_order_size","minOrder","unitprice","login_for_price","packaging","ahp_type","brand","companyName","broker_name","company_name","ships_from","shipping","available_shipping","src","seller","badges","shipping_speed_score","debugitem","bestdeal_rate","testimonials","Testimonials","Pagination","changePage","domNode","router","createBrowserRouter","element","createRoot","render","React","Provider","RouterProvider","isSelected","items","open","toggle","header","hidden","_props$minLabel","_props$maxLabel","sliderVal","setVal","minmax","minLabel","maxLabel","inputs","_props$onSlide","onSlide","onMouseUp","_content$Testimonials3","slide","setSlide","timer","useRef","slideCount","_content$Testimonials","_content$Testimonials2","clearTimeout","currentTestimonial","hopicon","hopicon2","Name","leftquote","rightquote","TestimonialText","ImgUrl","profile","Organization","contentFetch","CommunityPosts","RecentCommunityPosts","embed","allow","latest","closest","order","toNumArray","fromNumArray","toSingleValueNumber","fromSingleValueNumber","queryMap","appliedKey","queryKey","toApplied","toQuery","_parameter$query","q","sortby","dbg","searchParamResult","URLSearchParams","append","_step","parsed","lowerCased","_iterator","_createForOfIteratorHelper","_step$value","_lowerCased$get","_lowerCased$get2","_lowerCased$get3","getAll","_lowerCased$getAll","contentSlice","_action","mainChartSuccess","mainChartFailed","miniChartSuccess","miniChartFailed","topMoverSuccess","topMoverFailed","_contentSlice$actions","contentSuccess","contentFailed","parameterSlice","lt","gte","searchParameterSuccess","searchParameterFailed","fullListSuccess","fullListFailed","_parameterSlice$actio","searchSlice","searchSuccess","searchFailed","_searchSlice$actions","_marked","mainChartRequest","_marked2","miniChartRequest","_marked3","topMoversRequest","_marked4","put","all","contentRequest","initialRequest","fullListRequest","searchRequest","ChartIndicator","number","separator","roundedNumber","round","formattedNumber","parts","rem","getComputedStyle","documentElement","fontSize","vwTOpx","getElementsByTagName","clientWidth","vhTOpx","innerHeight","clientHeight","addLeadingZeros","targetLength","sign","cloneObject","defaultOptions","getDefaultOptions","setDefaultOptions","newOptions","formatTimezoneShort","offset","dirtyDelimiter","absOffset","hours","minutes","delimiter","formatTimezoneWithOptionalMinutes","formatTimezone","G","date","token","localize","era","getUTCFullYear","signedYear","ordinalNumber","Y","signedWeekYear","weekYear","twoDigitYear","R","isoWeekYear","u","Q","quarter","getUTCMonth","M","month","L","week","I","isoWeek","getUTCDate","D","dayOfYear","E","dayOfWeek","getUTCDay","day","localDayOfWeek","isoDayOfWeek","dayPeriodEnumValue","getUTCHours","dayPeriod","B","H","K","k","getUTCMinutes","getUTCSeconds","S","X","_localize","timezoneOffset","_originalDate","getTimezoneOffset","O","z","originalDate","timestamp","getTime","T","toUpperCase","numberOfDigits","milliseconds","getUTCMilliseconds","fractionalSeconds","pow","dateLongFormatter","formatLong","timeLongFormatter","time","P","dateTimeFormat","matchResult","datePattern","timePattern","dateTime","getTimezoneOffsetInMilliseconds","utcDate","UTC","getFullYear","getMonth","getDate","getHours","getMinutes","getSeconds","getMilliseconds","setUTCFullYear","MILLISECONDS_IN_DAY","getUTCDayOfYear","dirtyDate","setUTCMonth","setUTCHours","difference","MILLISECONDS_IN_WEEK","getUTCISOWeek","diff","getUTCISOWeekYear","fourthOfJanuaryOfNextYear","startOfNextYear","fourthOfJanuaryOfThisYear","startOfThisYear","getUTCWeek","getUTCWeekYear","_options$firstWeekCon","_options$locale","_options$locale$optio","_defaultOptions$local","_defaultOptions$local2","firstWeekContainsDate","locale","RangeError","firstWeekOfNextYear","firstWeekOfThisYear","protectedDayOfYearTokens","protectedWeekYearTokens","isProtectedDayOfYearToken","isProtectedWeekYearToken","throwProtectedError","requiredArgs","required","roundingMap","trunc","defaultRoundingMethod","getRoundingMethod","startOfUTCISOWeek","setUTCDate","startOfUTCISOWeekYear","fourthOfJanuary","startOfUTCWeek","_options$weekStartsOn","startOfUTCWeekYear","firstWeek","toInteger","dirtyNumber","NaN","dirtyAmount","setDate","addMilliseconds","dayOfMonth","endOfDesiredMonth","setMonth","setFullYear","compareAsc","dirtyDateLeft","dirtyDateRight","dateLeft","dateRight","differenceInCalendarMonths","differenceInMilliseconds","differenceInMonths","isLastMonthNotFull","differenceInSeconds","roundingMethod","endOfDay","setHours","endOfMonth","getDay","formattingTokensRegExp","longFormattingTokensRegExp","escapedStringRegExp","doubleQuoteRegExp","unescapedLatinCharacterRegExp","dirtyFormatStr","_options$locale2","_options$locale2$opti","_ref7","_options$locale3","_options$locale3$opti","_defaultOptions$local3","_defaultOptions$local4","formatStr","formatterOptions","firstCharacter","longFormatter","matched","formatter","useAdditionalWeekYearTokens","useAdditionalDayOfYearTokens","MINUTES_IN_DAY","MINUTES_IN_ALMOST_TWO_DAYS","MINUTES_IN_MONTH","MINUTES_IN_TWO_MONTHS","dirtyBaseDate","comparison","localizeOptions","months","seconds","offsetInSeconds","includeSeconds","days","nearestMonth","monthsSinceStartOfYear","years","isDate","isLastDayOfMonth","isValid","buildFormatLongFn","defaultWidth","formats","buildLocalizeFn","dirtyIndex","valuesArray","formattingValues","defaultFormattingWidth","_defaultWidth","_width","argumentCallback","buildMatchFn","string","matchPattern","matchPatterns","defaultMatchWidth","matchedString","parsePatterns","defaultParseWidth","array","findKey","valueCallback","buildMatchPatternFn","parseResult","parsePattern","formatDistanceLocale","lessThanXSeconds","one","other","xSeconds","halfAMinute","lessThanXMinutes","xMinutes","aboutXHours","xHours","xDays","aboutXWeeks","xWeeks","aboutXMonths","xMonths","aboutXYears","xYears","overXYears","almostXYears","count","tokenValue","full","long","medium","short","formatRelativeLocale","lastWeek","yesterday","today","tomorrow","nextWeek","_date","_baseDate","_options","rem100","narrow","abbreviated","wide","am","pm","midnight","noon","morning","afternoon","evening","night","any","formatRelative","subMilliseconds","toDate","argument","argStr","defaultDatasetIdKey","reforwardRef","ref","setLabels","currentData","nextLabels","setDatasets","nextDatasets","addedDatasets","nextDataset","currentDataset","cloneData","nextData","getDatasetAtEvent","getElementsAtEventForMode","nativeEvent","getElementAtEvent","getElementsAtEvent","ChartComponent","redraw","fallbackContent","canvasRef","chartRef","renderChart","destroyChart","destroy","nextOptions","config","role","forwardRef","createTypedChart","registerables","Line","LineController","Bar","BarController","Radar","RadarController","Doughnut","DoughnutController","PolarArea","PolarAreaController","Bubble","BubbleController","Pie","PieController","Scatter","ScatterController","__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED","usingClientEntryPoint","hydrateRoot","REACT_ELEMENT_TYPE","for","REACT_PORTAL_TYPE","REACT_FRAGMENT_TYPE","REACT_STRICT_MODE_TYPE","REACT_PROFILER_TYPE","REACT_PROVIDER_TYPE","REACT_CONTEXT_TYPE","REACT_FORWARD_REF_TYPE","REACT_SUSPENSE_TYPE","REACT_SUSPENSE_LIST_TYPE","REACT_MEMO_TYPE","REACT_LAZY_TYPE","REACT_OFFSCREEN_TYPE","MAYBE_ITERATOR_SYMBOL","FAUX_ITERATOR_SYMBOL","ReactSharedInternals","level","ReactDebugCurrentFrame","getStackAddendum","argsWithFormat","Function","printWarning","REACT_MODULE_REFERENCE","getContextName","getComponentNameFromType","tag","$$typeof","outerType","innerType","wrapperName","functionName","getWrappedName","outerName","lazyComponent","_payload","_init","prevLog","prevInfo","prevWarn","prevError","prevGroup","prevGroupCollapsed","prevGroupEnd","disabledDepth","disabledLog","__reactDisabledLog","ReactCurrentDispatcher","describeBuiltInComponentFrame","source","ownerFn","componentFrameCache","reentry","PossiblyWeakMap","WeakMap","describeNativeComponentFrame","construct","control","frame","previousDispatcher","previousPrepareStackTrace","prepareStackTrace","log","groupCollapsed","groupEnd","disableLogs","Fake","Reflect","sample","sampleLines","controlLines","_frame","reenableLogs","syntheticFrame","describeUnknownElementTypeFrameInDEV","isReactComponent","loggedTypeFailures","setCurrentlyValidatingElement","owner","_owner","setExtraStackFrame","isArrayImpl","testStringCoercion","checkKeyStringCoercion","willCoercionThrow","specialPropKeyWarningShown","specialPropRefWarningShown","didWarnAboutStringRefs","ReactCurrentOwner","RESERVED_PROPS","__self","__source","ReactElement","_store","freeze","propTypesMisspellWarningShown","ReactCurrentOwner$1","ReactDebugCurrentFrame$1","setCurrentlyValidatingElement$1","isValidElement","getDeclarationErrorAddendum","ownerHasKeyUseWarning","validateExplicitKey","parentType","validated","currentComponentErrorInfo","parentName","getCurrentComponentErrorInfo","childOwner","validateChildKeys","node","child","iteratorFn","maybeIterable","maybeIterator","getIteratorFn","jsxWithValidation","isStaticChildren","validType","getModuleId","isValidElementType","typeString","sourceInfo","fileName","lineNumber","getSourceInfoErrorAddendum","maybeKey","propName","getter","getOwnPropertyDescriptor","isReactWarning","hasValidKey","hasValidRef","stateNode","componentName","warnIfStringRefCannotBeAutoConverted","defaultProps","warnAboutAccessingKey","defineKeyPropWarningGetter","warnAboutAccessingRef","defineRefPropWarningGetter","jsxDEV","fragment","validateFragmentProps","propTypes","typeSpecs","typeSpecName","error$1","ex","checkPropTypes","PropTypes","getDefaultProps","isReactClassApproved","validatePropTypes","Fragment","jsx","jsxs","module","createThunkMiddleware","NOT_FOUND","defaultEqualityCheck","createCacheKeyComparator","equalityCheck","defaultMemoize","equalityCheckOrOptions","equals","providedOptions","_providedOptions$equa","_providedOptions$maxS","maxSize","resultEqualityCheck","cacheIndex","createLruCache","memoized","matchingEntry","clearCache","createSelectorCreator","memoize","memoizeOptionsFromArgs","funcs","_lastResult","_recomputations","directlyPassedOptions","memoizeOptions","resultFunc","_directlyPassedOption2","finalMemoizeOptions","dependencies","dep","dependencyTypes","getDependencies","memoizedResultFunc","params","lastResult","recomputations","resetRecomputations","createStructuredSelector","selectors","selectorCreator","objectKeys","resultSelector","composition","r","Z","nn","rn","tn","U","A","N","F","C","en","on","Proxy","revocable","revoke","proxy","J","$","V","W","ownKeys","getOwnPropertyNames","deleteProperty","un","produce","produceWithPatches","useProxies","setUseProxies","autoFreeze","setAutoFreeze","createDraft","finishDraft","applyPatches","an","cn","sn","vn","pn","ln","dn"],"sourceRoot":""}