{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/stories/Components/Global/Typography/Heading.styles.ts","webpack:///./src/stories/Components/Forms/Textbox/Textbox.styles.ts","webpack:///./src/hoc/withQueryProvider.tsx","webpack:///./src/stories/Components/Misc/Loader/Loader.styles.ts","webpack:///./src/helpers/date.ts","webpack:///./src/stories/Components/Forms/Textbox/Textbox.tsx","webpack:///./src/stories/Components/Forms/Label/Label.styles.ts","webpack:///./src/core/ecommerce/services/EcommerceService.ts","webpack:///./src/stories/Components/Misc/Loader/Loader.tsx","webpack:///./src/stories/Widgets/Hires/ViewHires/ViewHires.widget.tsx","webpack:///./src/img/icons/close.svg"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","76","exports","module","l","m","c","d","name","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","p","jsonpArray","this","oldJsonpFunction","slice","H1Styles","css","fonts","DaxPro","Bold","from","Device","DesktopLarge","H2Styles","H3Styles","H4Styles","H5Styles","Regular","DesktopSmall","H6Styles","Heading","styled","h1","visual","InputStyles","rgba","brand","grey","grey55","black","isValid","undefined","Input","input","ClearInput","div","Container","queryStringifyOptions","transformSearchString","transformSearchStringJsonSafe","withQueryProvider","Component","props","React","createElement","Fragment","isSSR","StaticRouter","QueryParamProvider","ReactRouterRoute","Route","stringifyOptions","Router","loadAnimation","keyframes","Loader","LoaderStyles","Wrapper","section","ContainerInner","Tablet","formatStringDate","dateString","formatDate","Date","formatDateISO","date","toISOString","Intl","DateTimeFormat","day","month","year","format","formatDateLong","formatDateShort","Textbox","onKeyDown","e","toLowerCase","preventDefault","showClearButton","useState","setvalue","debouncedChanged","useRef","debounce","v","onChangeDebounced","TextboxStyles","label","Label","htmlFor","id","required","onChange","currentTarget","current","onClick","onClearButton","Reset","grey20","LabelStyles","ErrorLabel","span","red","base","EcommerceService","params","ApiService","request","baseUrl","UrlResolver","getDomain","controller","method","slug","response","orderNumber","safeRequest","delay","showLoader","setShowLoader","useEffect","handle","setTimeout","window","clearTimeout","container","withWidget","withRedux","ViewHiresListing","hydrate","HydrateOption","InView","_g","_extends","assign","target","arguments","source","SvgClose","xmlns","viewBox","fill","stroke","strokeWidth"],"mappings":"aACE,SAASA,EAAqBC,GAQ7B,IAPA,IAMIC,EAAUC,EANVC,EAAWH,EAAK,GAChBI,EAAcJ,EAAK,GACnBK,EAAiBL,EAAK,GAIHM,EAAI,EAAGC,EAAW,GACpCD,EAAIH,EAASK,OAAQF,IACzBJ,EAAUC,EAASG,GAChBG,OAAOC,UAAUC,eAAeC,KAAKC,EAAiBX,IAAYW,EAAgBX,IACpFK,EAASO,KAAKD,EAAgBX,GAAS,IAExCW,EAAgBX,GAAW,EAE5B,IAAID,KAAYG,EACZK,OAAOC,UAAUC,eAAeC,KAAKR,EAAaH,KACpDc,EAAQd,GAAYG,EAAYH,IAKlC,IAFGe,GAAqBA,EAAoBhB,GAEtCO,EAASC,QACdD,EAASU,OAATV,GAOD,OAHAW,EAAgBJ,KAAKK,MAAMD,EAAiBb,GAAkB,IAGvDe,IAER,SAASA,IAER,IADA,IAAIC,EACIf,EAAI,EAAGA,EAAIY,EAAgBV,OAAQF,IAAK,CAG/C,IAFA,IAAIgB,EAAiBJ,EAAgBZ,GACjCiB,GAAY,EACRC,EAAI,EAAGA,EAAIF,EAAed,OAAQgB,IAAK,CAC9C,IAAIC,EAAQH,EAAeE,GACG,IAA3BX,EAAgBY,KAAcF,GAAY,GAE3CA,IACFL,EAAgBQ,OAAOpB,IAAK,GAC5Be,EAASM,EAAoBA,EAAoBC,EAAIN,EAAe,KAItE,OAAOD,EAIR,IAAIQ,EAAmB,GAKnBhB,EAAkB,CACrBiB,GAAI,GAGDZ,EAAkB,GAGtB,SAASS,E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AAeC,KAAKyL,EAAQjJ,KAAQ+I,EAAO/I,GAAOiJ,EAAOjJ,IAAY,OAAO+I,IAA2BhL,MAAMwC,KAAMyI,WAIhT,SAASE,EAASnG,GAChB,OAAoB,gBAAoB,MAAO8F,EAAS,CACtDM,MAAO,6BACPC,QAAS,qBACRrG,GAAQ6F,IAAOA,EAAkB,gBAAoB,IAAK,CAC3D,YAAa,cACbS,KAAM,OACNC,OAAQ,eACRC,YAAa,GACC,gBAAoB,OAAQ,CAC1C,YAAa,YACbvK,EAAG,0BACY,gBAAoB,OAAQ,CAC3C,YAAa,YACbA,EAAG,6BAIQ","file":"ViewHires-a609c7c6b4a2ff58f1ec.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t76: 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/sitefiles/next-gen/dist/\";\n\n \tvar jsonpArray = this[\"nextGenJsonpFunction\"] = this[\"nextGenJsonpFunction\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// add entry module to deferred list\n \tdeferredModules.push([565,0,1,2,5,11,14,3,6,9,26]);\n \t// run deferred modules when ready\n \treturn checkDeferredModules();\n","import { fonts } from '@helpers/fonts';\r\nimport { Device, from } from '@helpers/media';\r\nimport styled, { css } from 'styled-components';\r\nconst H1Styles = css `\r\n ${fonts.DaxPro.Bold};\r\n font-size: 45px;\r\n letter-spacing: 0.02em;\r\n line-height: 48px;\r\n margin-bottom: 16px;\r\n text-transform: uppercase;\r\n\r\n @media ${from(Device.DesktopLarge)} {\r\n font-size: 70px;\r\n line-height: 70px;\r\n }\r\n`;\r\nconst H2Styles = css `\r\n ${fonts.DaxPro.Bold};\r\n font-size: 38px;\r\n letter-spacing: 0.02em;\r\n line-height: 40px;\r\n margin-bottom: 16px;\r\n text-transform: uppercase;\r\n\r\n @media ${from(Device.DesktopLarge)} {\r\n font-size: 60px;\r\n line-height: 60px;\r\n }\r\n`;\r\nconst H3Styles = css `\r\n ${fonts.DaxPro.Bold};\r\n font-size: 35px;\r\n letter-spacing: 0.02em;\r\n line-height: 42px;\r\n margin-bottom: 16px;\r\n text-transform: uppercase;\r\n\r\n @media ${from(Device.DesktopLarge)} {\r\n font-size: 50px;\r\n line-height: 60px;\r\n }\r\n`;\r\nconst H4Styles = css `\r\n ${fonts.DaxPro.Bold};\r\n font-size: 22px;\r\n letter-spacing: 0.02em;\r\n line-height: 24px;\r\n margin-bottom: 16px;\r\n text-transform: uppercase;\r\n\r\n @media ${from(Device.DesktopLarge)} {\r\n font-size: 40px;\r\n line-height: 40px;\r\n }\r\n`;\r\nconst H5Styles = css `\r\n ${fonts.DaxPro.Regular};\r\n font-size: 24px;\r\n margin-bottom: 12px;\r\n line-height: 22px;\r\n\r\n @media ${from(Device.DesktopSmall)} {\r\n font-size: 35px;\r\n line-height: 38px;\r\n margin-bottom: 16px;\r\n }\r\n`;\r\nconst H6Styles = css `\r\n ${fonts.DaxPro.Bold};\r\n font-size: 16px;\r\n letter-spacing: 0.02em;\r\n line-height: 20px;\r\n margin-bottom: 16px;\r\n text-transform: uppercase;\r\n\r\n @media ${from(Device.DesktopLarge)} {\r\n font-size: 20px;\r\n line-height: 28px;\r\n }\r\n`;\r\nconst Heading = styled.h1 `\r\n ${({ visual }) => {\r\n switch (visual) {\r\n case 'h1':\r\n return H1Styles;\r\n case 'h2':\r\n return H2Styles;\r\n case 'h3':\r\n return H3Styles;\r\n case 'h4':\r\n return H4Styles;\r\n case 'h5':\r\n return H5Styles;\r\n case 'h6':\r\n return H6Styles;\r\n default:\r\n break;\r\n }\r\n}}\r\n`;\r\nexport default {\r\n // H1Styles,\r\n // H2Styles,\r\n H3Styles,\r\n H4Styles,\r\n H5Styles,\r\n // H6Styles,\r\n Heading,\r\n};\r\n","import brand from '@helpers/brand';\r\nimport { fonts } from '@helpers/fonts';\r\nimport { rgba } from 'polished';\r\nimport styled, { css } from 'styled-components';\r\nexport const InputStyles = css `\r\n display: inline-block;\r\n border-radius: 3px;\r\n border: 1px solid ${rgba(brand.grey.grey55, 0.75)};\r\n box-sizing: border-box !important;\r\n ${fonts.DaxPro.Regular};\r\n font-size: 18px;\r\n color: ${brand.black};\r\n height: 50px;\r\n letter-spacing: -0.02em;\r\n line-height: 1em;\r\n margin: 0;\r\n opacity: 1;\r\n padding: 18px;\r\n text-transform: none;\r\n transition: opacity 0.3s ease-out;\r\n width: auto;\r\n\r\n &::placeholder {\r\n color: ${rgba(brand.black, 0.5)};\r\n }\r\n\r\n &:disabled {\r\n opacity: 0.4;\r\n }\r\n\r\n ${({ isValid }) => isValid === true || isValid === undefined\r\n ? null\r\n : css `\r\n border: 1px solid red;\r\n `}\r\n`;\r\nconst Input = styled.input `\r\n ${InputStyles};\r\n\r\n [data-show-clear='true'] & {\r\n padding-right: 35px;\r\n width: 100%;\r\n }\r\n`;\r\nconst ClearInput = styled.div `\r\n position: absolute;\r\n top: 50%;\r\n right: 10px;\r\n height: 15px;\r\n transform: translateY(-50%);\r\n width: 15px;\r\n cursor: pointer;\r\n`;\r\nconst Container = styled.div `\r\n position: relative;\r\n flex-grow: 1;\r\n\r\n &[data-show-clear='false'] {\r\n display: contents;\r\n }\r\n`;\r\nexport default {\r\n Input,\r\n ClearInput,\r\n Container,\r\n};\r\n","import React from 'react';\r\nimport { BrowserRouter as Router, Route, StaticRouter } from 'react-router-dom';\r\nimport { QueryParamProvider, transformSearchStringJsonSafe, } from 'use-query-params';\r\nimport { isSSR } from '../helpers/ssr';\r\nconst queryStringifyOptions = {\r\n transformSearchString: transformSearchStringJsonSafe,\r\n};\r\nexport function withQueryProvider(Component) {\r\n const OutputFunction = (props) => (React.createElement(React.Fragment, null, isSSR() ? (React.createElement(StaticRouter, null,\r\n React.createElement(QueryParamProvider, { ReactRouterRoute: Route, stringifyOptions: queryStringifyOptions },\r\n React.createElement(Component, { ...props })))) : (React.createElement(Router, null,\r\n React.createElement(QueryParamProvider, { ReactRouterRoute: Route, stringifyOptions: queryStringifyOptions },\r\n React.createElement(Component, { ...props }))))));\r\n return OutputFunction;\r\n}\r\n","import brand from '@helpers/brand';\r\nimport { from, Device } from '@helpers/media';\r\nimport styled, { keyframes } from 'styled-components';\r\nconst width = 10;\r\nconst size = 70;\r\nconst loadAnimation = keyframes `\r\n 0% {\r\n -webkit-transform: rotate(0deg);\r\n transform: rotate(0deg);\r\n }\r\n 100% {\r\n -webkit-transform: rotate(360deg);\r\n transform: rotate(360deg);\r\n }\r\n`;\r\nconst Loader = styled.div `\r\n margin: 60px auto;\r\n font-size: 10px;\r\n position: relative;\r\n text-indent: -9999em;\r\n border-top: ${width}px solid rgba(0, 0, 0, 0.1);\r\n border-right: ${width}px solid rgba(0, 0, 0, 0.1);\r\n border-bottom: ${width}px solid rgba(0, 0, 0, 0.1);\r\n border-left: ${width}px solid ${brand.grey['grey20']};\r\n transform: translateZ(0);\r\n animation: ${loadAnimation} 1.1s infinite linear;\r\n border-radius: 50%;\r\n width: ${size}px;\r\n height: ${size}px;\r\n\r\n &:after {\r\n content: '';\r\n border-radius: 50%;\r\n width: ${size}px;\r\n height: ${size}px;\r\n }\r\n`;\r\nconst Wrapper = styled.div ``;\r\nconst Container = styled.section `\r\n position: fixed;\r\n top: 0;\r\n left: 0;\r\n align-items: center;\r\n background: rgba(0, 0, 0, 0.4);\r\n height: 100vh;\r\n justify-content: center;\r\n text-align: center;\r\n width: 100%;\r\n /* Higher index than header container */\r\n z-index: 8002;\r\n display: flex;\r\n`;\r\nconst ContainerInner = styled.div `\r\n position: relative;\r\n display: block;\r\n background: #fff;\r\n border: 1px solid #b9b9b9;\r\n max-height: 100%;\r\n max-width: 665px;\r\n overflow-y: auto;\r\n padding: 24px 16px 24px;\r\n width: 100%;\r\n\r\n @media ${from(Device.Tablet)} {\r\n padding: 32px 108px 48px;\r\n }\r\n`;\r\nexport const LoaderStyles = {\r\n Wrapper,\r\n Loader,\r\n Container,\r\n ContainerInner,\r\n};\r\n","export function formatStringDate(dateString) {\r\n const date = new Date(dateString);\r\n return formatDate(date);\r\n}\r\nexport function formatDateISO(value) {\r\n let date = value;\r\n if (typeof date === 'string') {\r\n date = new Date(date);\r\n }\r\n return date.toISOString();\r\n}\r\nexport function formatDate(value) {\r\n let date = value;\r\n if (typeof date === 'string') {\r\n date = new Date(date);\r\n }\r\n return new Intl.DateTimeFormat(undefined, {\r\n day: 'numeric',\r\n month: 'short',\r\n year: 'numeric',\r\n }).format(date);\r\n}\r\nexport function formatDateLong(value) {\r\n let date = value;\r\n if (typeof date === 'string') {\r\n date = new Date(date);\r\n }\r\n return new Intl.DateTimeFormat(undefined, {\r\n day: 'numeric',\r\n month: 'long',\r\n year: 'numeric',\r\n }).format(date);\r\n}\r\nexport function formatDateShort(value) {\r\n let date = value;\r\n if (typeof date === 'string') {\r\n date = new Date(date);\r\n }\r\n return new Intl.DateTimeFormat(undefined, {\r\n day: 'numeric',\r\n month: '2-digit',\r\n year: '2-digit',\r\n }).format(date);\r\n}\r\n","import debounce from 'lodash/debounce';\r\nimport React, { useRef, useState } from 'react';\r\nimport Label from '../Label/Label.styles';\r\nimport TextboxStyles from './Textbox.styles';\r\nimport { ReactComponent as Reset } from '@img/icons/close.svg';\r\nconst Textbox = ({ onKeyDown = (e) => {\r\n if (e.key.toLowerCase() === 'enter') {\r\n e.preventDefault(); // Stops weird behaviour\r\n }\r\n}, showClearButton = false, ...props }) => {\r\n const [value, setvalue] = useState(props.value || '');\r\n const debouncedChanged = useRef(debounce((v) => {\r\n if (!props.onChangeDebounced) {\r\n return;\r\n }\r\n props.onChangeDebounced(v);\r\n }, 500));\r\n const onChange = (e) => {\r\n setvalue(e.currentTarget.value);\r\n if (props.onChange) {\r\n props.onChange(e);\r\n }\r\n if (props.onChangeDebounced) {\r\n debouncedChanged.current(e.currentTarget.value);\r\n }\r\n };\r\n return (React.createElement(TextboxStyles.Container, { \"data-show-clear\": showClearButton },\r\n props.label && (React.createElement(Label, { htmlFor: props.id },\r\n props.label,\r\n \" \",\r\n props.required ? React.createElement(\"span\", null, \"*\") : null)),\r\n React.createElement(TextboxStyles.Input, { ...props, value: value, isValid: props.isValid, onChange: (e) => onChange(e), onKeyDown: onKeyDown }),\r\n showClearButton && (React.createElement(TextboxStyles.ClearInput, { onClick: () => {\r\n setvalue('');\r\n props.onClearButton && props.onClearButton();\r\n } },\r\n React.createElement(Reset, null)))));\r\n};\r\nexport default Textbox;\r\n","import brand from '@helpers/brand';\r\nimport { fonts } from '@helpers/fonts';\r\nimport styled from 'styled-components';\r\nconst Label = styled.label `\r\n display: block;\r\n font-size: 16px;\r\n ${fonts.DaxPro['Bold']};\r\n color: ${brand.grey.grey20};\r\n margin-bottom: 6px;\r\n`;\r\nconst ErrorLabel = styled.span `\r\n display: block;\r\n font-size: 14px;\r\n ${fonts.DaxPro['Bold']};\r\n color: ${brand.red.base};\r\n margin-bottom: 6px;\r\n`;\r\nexport const LabelStyles = {\r\n Label,\r\n ErrorLabel,\r\n};\r\nexport default Label;\r\n","import ApiService from '@core/api/services/ApiService';\r\nimport UrlResolver from '@core/url-resolver/UrlResolver';\r\nimport format from 'date-fns/format';\r\nclass EcommerceService {\r\n async UpdateBasketItem(params) {\r\n const response = await ApiService.request({\r\n baseUrl: UrlResolver.getDomain(),\r\n controller: 'g42',\r\n method: 'PUT',\r\n slug: 'order/basket-item',\r\n params: { ...params },\r\n });\r\n return response;\r\n }\r\n async DeleteBasketItem(params) {\r\n const response = await ApiService.request({\r\n baseUrl: UrlResolver.getDomain(),\r\n controller: 'g42',\r\n method: 'DELETE',\r\n slug: 'order/remove-item',\r\n params: { ...params },\r\n });\r\n return response;\r\n }\r\n async UpdateOrder(params) {\r\n const response = await ApiService.request({\r\n baseUrl: UrlResolver.getDomain(),\r\n controller: 'g42',\r\n method: 'PUT',\r\n slug: 'order/latest',\r\n params: { ...params },\r\n });\r\n return response;\r\n }\r\n async SubmitOrder(params) {\r\n const response = await ApiService.request({\r\n baseUrl: UrlResolver.getDomain(),\r\n controller: 'g42',\r\n method: 'PUT',\r\n slug: 'order/submit-latest',\r\n params: { ...params },\r\n });\r\n return response;\r\n }\r\n GetDownloadPdfUrl(params) {\r\n return `/api/g42/hires/download-order?orderNumber=${params.orderNumber}`;\r\n }\r\n async extendHire(params) {\r\n const response = await ApiService.request({\r\n baseUrl: UrlResolver.getDomain(),\r\n controller: 'g42',\r\n method: 'PATCH',\r\n slug: 'hires/extend',\r\n params: { ...params },\r\n });\r\n return response;\r\n }\r\n async offHire(params) {\r\n const response = await ApiService.request({\r\n baseUrl: UrlResolver.getDomain(),\r\n controller: 'g42',\r\n method: 'PATCH',\r\n slug: 'hires/offhire',\r\n params: { ...params },\r\n });\r\n return response;\r\n }\r\n async fetchLatestOrder() {\r\n const response = await ApiService.safeRequest({\r\n baseUrl: UrlResolver.getDomain(),\r\n controller: 'g42',\r\n method: 'GET',\r\n slug: 'order/latest',\r\n });\r\n if (response) {\r\n return response.result;\r\n }\r\n return null;\r\n }\r\n getApiFormattedDate(date) {\r\n return format(date, 'yyyy-MM-dd');\r\n }\r\n}\r\nexport default new EcommerceService();\r\n","import React, { useEffect, useState } from 'react';\r\nimport { LoaderStyles } from './Loader.styles';\r\nconst Loader = (props) => {\r\n const [showLoader, setShowLoader] = useState(props.delay === undefined);\r\n useEffect(() => {\r\n if (!props.delay) {\r\n return;\r\n }\r\n const handle = setTimeout(() => setShowLoader(true), props.delay);\r\n return () => window.clearTimeout(handle);\r\n }, []);\r\n if (!showLoader) {\r\n return null;\r\n }\r\n const Loader = (React.createElement(LoaderStyles.Wrapper, null,\r\n React.createElement(LoaderStyles.Loader, null)));\r\n if (props.container === true) {\r\n return (React.createElement(LoaderStyles.Container, null,\r\n React.createElement(LoaderStyles.ContainerInner, null, Loader)));\r\n }\r\n return Loader;\r\n};\r\nexport default Loader;\r\n","import { HydrateOption } from '@core/enums';\r\nimport withRedux from '@helpers/withRedux';\r\nimport { withQueryProvider } from '@hoc/withQueryProvider';\r\nimport withWidget from '@hoc/withWidget';\r\nimport React from 'react';\r\nimport ViewHiresListing from './ViewHiresListing';\r\nconst ViewHires = (props) => {\r\n return React.createElement(ViewHiresListing, { ...props });\r\n};\r\nexport default withWidget(withRedux(withQueryProvider(ViewHires)), 'ViewHires', {\r\n hydrate: HydrateOption.InView,\r\n});\r\n","var _g;\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nimport * as React from \"react\";\n\nfunction SvgClose(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 22.628 22.627\"\n }, props), _g || (_g = /*#__PURE__*/React.createElement(\"g\", {\n \"data-name\": \"Group 32606\",\n fill: \"none\",\n stroke: \"currentColor\",\n strokeWidth: 2\n }, /*#__PURE__*/React.createElement(\"path\", {\n \"data-name\": \"Line 3112\",\n d: \"M21.92.707L.707 21.92\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n \"data-name\": \"Line 3113\",\n d: \"M21.92 21.92L.707.707\"\n }))));\n}\n\nexport default __webpack_public_path__ + \"f628526dc59e3ff391c007673281196e.svg\";\nexport { SvgClose as ReactComponent };"],"sourceRoot":""}