{"version":3,"sources":["webpack:///D:/a/1/s/src/app/core/pipes/leadingZero/leading-zero.shared.pipe.ts","webpack:///D:/a/1/s/src/app/core/components/restrictions/types/forCart/restrictions-for-cart.shared.module.ts","webpack:///D:/a/1/s/src/app/core/components/restrictions/types/forCart/index.ts","webpack:///D:/a/1/s/node_modules/pluralize/pluralize.js","webpack:///D:/a/1/s/src/app/core/components/stats/stats.shared.module.ts","webpack:///D:/a/1/s/src/app/core/components/stats/index.ts","webpack:///D:/a/1/s/src/app/core/components/tiles/tilesTypes/forHistoryOrder/tile-for-history-order.shared.module.ts","webpack:///D:/a/1/s/src/app/core/components/lists/listsTypes/forHistoryOrders/list-for-history-orders.shared.module.ts","webpack:///D:/a/1/s/src/app/core/components/lists/listsTypes/forHistoryOrders/index.ts","webpack:///D:/a/1/s/src/app/core/components/selector/selector.shared.component.ts","webpack:///D:/a/1/s/src/app/core/components/selector/selector.shared.component.html","webpack:///D:/a/1/s/src/app/core/components/selector/selector.shared.module.ts","webpack:///D:/a/1/s/src/app/core/components/commonItem/common-item.shared.module.ts","webpack:///D:/a/1/s/src/app/core/components/commonItem/index.ts","webpack:///D:/a/1/s/src/app/core/components/infoBox/info-box.shared.component.html","webpack:///D:/a/1/s/src/app/core/components/infoBox/info-box.shared.component.ts","webpack:///D:/a/1/s/src/app/core/components/disclaimer/disclaimer.shared.module.ts","webpack:///D:/a/1/s/src/app/core/components/disclaimer/index.ts","webpack:///D:/a/1/s/src/app/core/modules/order/components/orderId/order-id.shared.module.ts","webpack:///D:/a/1/s/src/app/core/modules/order/components/orderId/index.ts","webpack:///D:/a/1/s/src/app/core/modules/locations/components/locationsNotAvailable/locations-not-available.shared.component.ts","webpack:///D:/a/1/s/src/app/core/modules/locations/components/locationsNotAvailable/locations-not-available.shared.component.html","webpack:///D:/a/1/s/src/app/core/components/restrictions/types/forMenu/restrictions-for-menu.shared.component.ts","webpack:///D:/a/1/s/src/app/core/components/restrictions/types/forMenu/restrictions-for-menu.shared.component.html","webpack:///D:/a/1/s/src/app/core/directives/maxOnScreenHeight/index.ts","webpack:///D:/a/1/s/src/app/core/pipes/leadingZero/leading-zero.pipe.module.ts","webpack:///D:/a/1/s/src/app/core/components/quantity/quantity.shared.module.ts","webpack:///D:/a/1/s/src/app/core/components/quantity/index.ts","webpack:///D:/a/1/s/src/app/core/components/animatedCounter/animated-counter.shared.module.ts","webpack:///D:/a/1/s/src/app/core/components/tiles/tilesTypes/forProduct/tile-for-product.shared.module.ts","webpack:///D:/a/1/s/src/app/core/components/tiles/tilesTypes/forProduct/index.ts","webpack:///D:/a/1/s/src/app/core/modules/order/components/orderAccount/order-account.shared.module.ts","webpack:///D:/a/1/s/src/app/core/components/tiles/tilesTypes/forOrderProductItem/tile-for-order-product-item.shared.module.ts","webpack:///D:/a/1/s/src/app/core/components/lists/listsTypes/forHistoryOrderItems/list-for-history-order-items.shared.module.ts","webpack:///D:/a/1/s/src/app/core/components/tiles/tilesTypes/forTransactionProductItem/tile-for-transaction-product-item.shared.module.ts","webpack:///D:/a/1/s/src/app/core/components/lists/listsTypes/forTransactionItems/list-for-transaction-items.shared.module.ts","webpack:///D:/a/1/s/src/app/core/modules/order/components/orderSummary/order-summary.shared.module.ts","webpack:///D:/a/1/s/src/app/core/modules/order/components/orderFullSummary/order-full-summary.shared.module.ts","webpack:///D:/a/1/s/src/app/core/modules/order/components/orderStatus/order-status.shared.module.ts","webpack:///D:/a/1/s/src/app/core/modules/order/components/orderAddVoucher/order-add-voucher.shared.module.ts","webpack:///D:/a/1/s/src/app/core/components/tiles/tilesTypes/forReorderProductItem/tile-for-reorder-product-item.shared.module.ts","webpack:///D:/a/1/s/src/app/core/components/lists/listsTypes/forReorderItems/list-for-reorder-items.shared.module.ts","webpack:///D:/a/1/s/src/app/core/modules/order/components/reorderWizzard/reorder-wizzard.shared.module.ts","webpack:///D:/a/1/s/src/app/core/modules/order/components/order-components.shared.module.ts","webpack:///D:/a/1/s/src/app/core/modules/order/orderBox/order-box.shared.module.ts","webpack:///D:/a/1/s/src/app/core/modules/order/orderTypes/forConfirmation/order-type-for-confirmation.shared.module.ts","webpack:///D:/a/1/s/src/app/core/modules/order/orderTypes/order-types.shared.module.ts","webpack:///D:/a/1/s/src/app/core/modules/order/reordering/reordering.shared.module.ts","webpack:///D:/a/1/s/src/app/core/modules/order/orders.shared.module.ts","webpack:///D:/a/1/s/src/app/core/modules/order/index.ts","webpack:///D:/a/1/s/src/app/core/components/tagImages/tag-images.shared.module.ts","webpack:///D:/a/1/s/src/app/core/components/tagImages/index.ts","webpack:///D:/a/1/s/src/app/core/components/labels/labelsItem/labels-item.shared.component.ts","webpack:///D:/a/1/s/src/app/core/components/labels/labelsItem/labels-item.shared.component.html","webpack:///D:/a/1/s/src/app/core/components/labels/labels.shared.component.html","webpack:///D:/a/1/s/src/app/core/components/labels/labels.shared.component.ts","webpack:///D:/a/1/s/src/app/core/directives/maxOnScreenHeight/max-on-screen-height.directive.shared.module.ts","webpack:///D:/a/1/s/src/app/core/components/infoBox/info-box.shared.module.ts","webpack:///D:/a/1/s/src/app/core/components/infoBox/index.ts","webpack:///D:/a/1/s/src/app/core/components/restrictions/types/forCart/restrictions-for-cart.shared.component.ts","webpack:///D:/a/1/s/src/app/core/components/restrictions/types/forCart/restrictions-for-cart.shared.component.html","webpack:///D:/a/1/s/src/app/core/modules/locations/components/locationsSearchHeaders/locations-search-headers.shared.module.ts","webpack:///D:/a/1/s/src/app/core/modules/locations/components/locationsNotAvailable/locations-not-available.shared.module.ts","webpack:///D:/a/1/s/src/app/core/modules/locations/components/locations-components.shared.module.ts","webpack:///D:/a/1/s/src/app/core/components/restrictions/types/forMenu/restrictions-for-menu.shared.module.ts","webpack:///D:/a/1/s/src/app/core/directives/viewFieldAction/view-field-action.shared.directive.module.ts","webpack:///D:/a/1/s/src/app/core/components/sepBar/sep-bar.shared.module.ts","webpack:///D:/a/1/s/src/app/core/components/tiles/tilesTypes/forOnlineMenuPage/tile-for-online-menu-page.shared.module.ts","webpack:///D:/a/1/s/src/app/core/components/lists/listsTypes/forProducts/list-for-products.shared.module.ts","webpack:///D:/a/1/s/src/app/core/components/lists/listsTypes/forOnlineMenuPages/list-for-online-menu-pages.shared.module.ts","webpack:///D:/a/1/s/src/app/core/modules/locations/locationsTypes/forDetails/locations-for-details.shared.module.ts","webpack:///D:/a/1/s/src/app/core/components/pickupStatus/pickup-status.shared.module.ts","webpack:///D:/a/1/s/src/app/core/components/distanceStatus/distance-status.shared.module.ts","webpack:///D:/a/1/s/src/app/core/components/labels/labelsItem/labels-item.shared.module.ts","webpack:///D:/a/1/s/src/app/core/components/labels/labels.shared.module.ts","webpack:///D:/a/1/s/src/app/core/components/tiles/tilesTypes/forLocation/tile-for-location.shared.module.ts","webpack:///D:/a/1/s/src/app/core/components/lists/listsTypes/forLocations/list-for-locations.shared.module.ts","webpack:///D:/a/1/s/src/app/core/modules/locations/locationsTypes/forIntro/locations-for-intro.shared.module.ts","webpack:///D:/a/1/s/src/app/core/modules/locations/locationsTypes/forSearch/locations-for-search.shared.module.ts","webpack:///D:/a/1/s/src/app/core/modules/locations/locationsTypes/locations-types.shared.module.ts","webpack:///D:/a/1/s/src/app/core/modules/locations/locations.shared.module.ts","webpack:///D:/a/1/s/src/app/core/modules/locations/index.ts","webpack:///D:/a/1/s/src/app/core/directives/viewFieldAction/view-field-action.shared.directive.ts","webpack:///D:/a/1/s/src/app/core/modules/locations/components/locationsSearchHeaders/locations-search-headers.shared.component.html","webpack:///D:/a/1/s/src/app/core/modules/locations/components/locationsSearchHeaders/locations-search-headers.shared.component.ts"],"names":["LeadingZeroPipe","value","converted","Number","isNaN","finalValue","RestrictionsForCartModule","module","exports","pluralRules","singularRules","uncountables","irregularPlurals","irregularSingles","sanitizeRule","rule","RegExp","restoreCase","word","token","toLowerCase","toUpperCase","charAt","substr","interpolate","str","args","replace","match","index","result","arguments","sanitizeWord","rules","length","hasOwnProperty","len","test","replaceWord","replaceMap","keepMap","checkWord","bool","pluralize","count","inclusive","singular","plural","isPlural","isSingular","addPluralRule","replacement","push","addSingularRule","addUncountableRule","addIrregularRule","single","forEach","StatsModule","TileForHistoryOrderModule","ListForHistoryOrdersModule","SelectorComponent","renderer2","elementRef","changeDetectorRef","super","selected","size","feelDeselected","feelSelected","iconDeselected","iconSelected","onSelected","onDeselected","ngOnInit","$event","this","emit","markForCheck","SelectorModule","CommonItemModule","InfoBoxComponent","routeService","homeLink","homeLinkTitle","icon","feel","inverted","loading","type","marginTop","marginBottom","paddingTop","paddingBottom","brandAccent","ellipsis","counter","navigateToHomeView","window","innerWidth","DisclaimerModule","OrderIdModule","LocationsNotAvailableComponent","config","controllers","_isVenueMode","src","isDelivery$","collectionType","isDeliveryActive$","venue","id","name","title","description","setCollectionType","RestrictionsForMenuComponent","restrictions$","productRestrictions","getProductRestrictionsForLocation$","locationNo","pipe","restrictions","isEmpty$","isEmpty","reduce","acc","restriction","MaxQty","item","LeadingZeroPipeModule","QuantityModule","AnimatedCounterModule","TileForProductModule","OrderAccountModule","TileForOrderProductItemModule","ListForHistoryOrderItemsModule","TileForTransactionProductItemModule","ListForTransactionItemsModule","OrderSummaryModule","OrderFullSummaryModule","OrderStatusModule","OrderAddVoucherModule","TileForReorderProductItemModule","ListForReorderItemsModule","ReorderWizzardModule","toExport","OrderComponentsModule","OrderBoxModule","OrderTypeForConfirmationModule","OrderTypesModule","ReorderingModule","OrderModule","TagImagesModule","LabelsItemComponent","IsEnabled","LabelsComponent","label","Id","MaxOnScreenHeightDirectiveSharedModule","InfoBoxModule","RestrictionsForCartComponent","cart","getCartLocationNo$","subscribe","restrictionsCartLimitReport$","Qty","LocationsSearchHeadersModule","LocationsNotAvailableModule","LocationsComponentsModule","RestrictionsForMenuModule","ViewFieldActionModule","SepBarModule","TileForOnlineMenuPageModule","ListForProductsModule","ListForOnlineMenuPagesModule","LocationsForDetailsModule","PickupStatusModule","DistanceStatusModule","LabelsItemModule","LabelsModule","TileForLocationModule","ListForLocationsModule","LocationsForIntroModule","LocationsForSearchModule","LocationsTypesModule","LocationsModule","ViewFieldActionDirective","_init","_dispatched","_dispatchedWithoutTrigger","params","context","canTrigger","_dispatchHandler","_dispatchHandlerWithoutTrigger","_setupScrollListener","_setupScrollListenerWithoutTrigger","_unsubscribe","_unsubscribeWithoutTrigger","_canDispatch","action","apply","Array","_canDispatchWithoutTrigger","actionWithoutTrigger","_scrollListener$","bind","_scrollWithoutTriggerListener$","isElementInWindowViewField","nativeElement","closed","unsubscribe","LocationsSearchHeadersComponent","headerType","appMode$","appSettings","appLocationMode$","locations$","locations","locationsListByAppMode$","isLoadingLocations$","pickupFilter$","filters","getLocationFilterSelectedPickupTime$","searchFilter$","getLocationsSearchInput$","isFilteringByNearestLocation$","clearLocationsFilters","location","LocationNo"],"mappings":"mJAGO,Y,MAAMA,EACT,UAAUC,GACN,IAAIC,EAEJ,GAAqB,iBAAVD,GAGP,GAFAC,EAAYC,OAAOF,GAEfE,OAAOC,MAAMF,GAAc,OAAOD,OAGtCC,EAAYD,EAEhB,IAAII,EAAqB,GAAGH,IAU5B,OARIA,EAAY,IAAMA,GAAa,IAC/BG,EAAa,IAAIH,KAGjBA,EAAY,GAAKA,GAAa,KAC9BG,EAAa,MAAM,EAAIH,KAGpBG,G,6CAtBFL,I,2CAAAA,EAAe,U,GAArB,I,gECWA,Y,MAAMM,G,8BAAAA,I,oDAAAA,IAAyB,SALzB,CAAE,Q,GAKR,G,UCdP,mC,uBCMIC,EAAOC,QAUF,WAGP,IAAIC,EAAc,GACdC,EAAgB,GAChBC,EAAe,GACfC,EAAmB,GACnBC,EAAmB,GAQvB,SAASC,EAAcC,GACrB,MAAoB,iBAATA,EACF,IAAIC,OAAO,IAAMD,EAAO,IAAK,KAG/BA,EAWT,SAASE,EAAaC,EAAMC,GAE1B,OAAID,IAASC,EAAcA,EAGvBD,IAASA,EAAKE,cAAsBD,EAAMC,cAG1CF,IAASA,EAAKG,cAAsBF,EAAME,cAG1CH,EAAK,KAAOA,EAAK,GAAGG,cACfF,EAAMG,OAAO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MACd,CAAC,QAAS,QACV0C,SAAQA,SAAU1C,GAClB,OAAO4B,EAAUU,gBAAgBtC,EAAK,GAAIA,EAAK,OAMjD,CAEE,YACA,SACA,SACA,MACA,WACA,UACA,OACA,YACA,QACA,YACA,QACA,QACA,QACA,QACA,UACA,SACA,OACA,OACA,UACA,QACA,WACA,MACA,WACA,cACA,QACA,SACA,WACA,YACA,MACA,SACA,YACA,YACA,YACA,WACA,WACA,MACA,UACA,UACA,WACA,WACA,eACA,SACA,SACA,YACA,WACA,YACA,cACA,QACA,UACA,QACA,SACA,aACA,YACA,WACA,OACA,QACA,OACA,QACA,QACA,MACA,QACA,OACA,OACA,YACA,OACA,WACA,SACA,SACA,YACA,WACA,OACA,WACA,OACA,SACA,WACA,SACA,SACA,WACA,SACA,WACA,UACA,QACA,QACA,SACA,UACA,iBACA,QACA,OACA,SACA,UACA,UACA,aACA,WACA,MACA,kBAEA,gBACA,SACA,SACA,YACA,WACA,QACA,WACA0C,QAAQd,EAAUW,oBAEbX,EAreA,I,gECDF,Y,MAAMe,G,8BAAAA,I,oDAAAA,IAAW,UAFT,GAAE,SAJJ,CAAC,Q,GAMP,GCfP,mC,kMCqCO,Y,MAAMC,G,8BAAAA,I,oDAAAA,IAAyB,UAFvB,GAAE,SAfJ,CACL,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,Q,GAOD,GCdA,Q,MAAMC,G,8BAAAA,I,oDAAAA,IAA0B,SAV1B,CACL,IACA,IACA,IACA,M,GAMD,GCvBP,mC,kCCAA,sF,uCCEQ,8BAC4B,uEAAuD,O,uBAD1B,oBAAa,wBAAb,CAAa,0B,uCAEtE,8BACI,yEAAwD,O,uBADL,oBAAa,sBAAb,CAAa,wBDMrE,Y,MAAMC,UAA0B,IAWnC,YACWC,EACAC,EACAC,GAEPC,MAAMH,EAAWC,EAAYC,GAJtB,KAAAF,YACA,KAAAC,aACA,KAAAC,oBAbK,KAAAE,UAAoB,EACpB,KAAAC,KAAmC,KACnC,K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aAE9B,6J,uCAMJ,wBAAgC,yEAAqC,0BAAe,O,KAAvE,oB,sBAQT,QACI,uBACJ,Q,yBACA,QACI,Q,gBACJ,Q,qBADI,iE,yBARR,0B,gDAGI,Q,gBACA,+B,gBAGA,+B,gBAGA,S,iBACJ,Q,kGAXe,0BAAmB,0CAAnB,CAAmB,8BAAnB,CAAmB,YAAnB,CAAmB,4DAG9B,mGACc,8CAGA,mDAGd,mDCXD,Y,MAAM0B,EAYT,YACW7G,GAAA,KAAAA,cAZJ,KAAA8G,WAAyC,IAEhC,KAAA3H,aAA2C,MAa3D,WACIf,KAAK2I,SAAW3I,KAAK4B,YAAYgH,YAAYC,mBAC7C7I,KAAK8I,WAAa9I,KAAK4B,YAAYmH,UAAUC,wBAAwB,MACrEhJ,KAAKiJ,oBAAsBjJ,KAAK4B,YAAYmH,UAAUE,sBACtDjJ,KAAKkJ,cAAgBlJ,KAAK4B,YAAYuH,QAAQC,uCAC9CpJ,KAAKqJ,cAAgBrJ,KAAK4B,YAAYuH,QAAQG,2BAC9CtJ,KAAK+B,YAAc/B,KAAK4B,YAAYI,eAAeC,oBACnDjC,KAAKuJ,8BAAgCvJ,KAAK4B,YAAYuH,QAAQI,gCAG3D,iBAAiBxJ,GACpBC,KAAK4B,YAAYuH,QAAQK,wBAGtB,QAAQvM,EAAewM,G,MAC1B,OAAe,QAAR,EAAAA,SAAQ,eAAEC,aAAczM,G,6CA/B1BwL,GAA+B,Y,uBAA/BA,EAA+B,2V,GAAA,MDZ5C,yCAQA,wCAIA,0CAeA,0C,+BAA8B,2BAAwB,a,gHCf/C","file":"x","sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\r\n\r\n@Pipe({ name: 'leadingZero' })\r\nexport class LeadingZeroPipe implements PipeTransform {\r\n transform(value: any): string {\r\n let converted: number;\r\n\r\n if (typeof value !== 'number') {\r\n converted = Number(value);\r\n\r\n if (Number.isNaN(converted)) { return value; }\r\n\r\n } else {\r\n converted = value;\r\n }\r\n let finalValue: string = `${converted}`;\r\n\r\n if (converted < 10 && converted >= 0) {\r\n finalValue = `0${converted}`;\r\n }\r\n\r\n if (converted < 0 && converted > -10) {\r\n finalValue = `-0${-1 * converted}`;\r\n }\r\n\r\n return finalValue;\r\n }\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\nimport { RestrictionsForCartComponent } from './restrictions-for-cart.shared.component'\r\n\r\n@NgModule({\r\n declarations: [\r\n RestrictionsForCartComponent\r\n ],\r\n imports: [ CommonModule ],\r\n exports: [\r\n RestrictionsForCartComponent\r\n ],\r\n})\r\nexport class RestrictionsForCartModule {}\r\n","export * from './restrictions-for-cart.shared.module';\r\nexport * from './restrictions-for-cart.shared.component'\r\n","/* global define */\n\n(function (root, pluralize) {\n /* istanbul ignore else */\n if (typeof require === 'function' && typeof exports === 'object' && typeof module === 'object') {\n // Node.\n module.exports = pluralize();\n } else if (typeof define === 'function' && define.amd) {\n // AMD, registers as an anonymous module.\n define(function () {\n return pluralize();\n });\n } else {\n // Browser global.\n root.pluralize = pluralize();\n }\n})(this, function () {\n // Rule storage - pluralize and singularize need to be run sequentially,\n // while other rules can be optimized using an object for instant lookups.\n var pluralRules = [];\n var singularRules = [];\n var uncountables = {};\n var irregularPlurals = {};\n var irregularSingles = {};\n\n /**\n * Sanitize a pluralization rule to a usable regular expression.\n *\n * @param {(RegExp|string)} rule\n * @return {RegExp}\n */\n function sanitizeRule (rule) {\n if (typeof rule === 'string') {\n return new RegExp('^' + rule + '$', 'i');\n }\n\n return rule;\n }\n\n /**\n * Pass in a word token to produce a function that can replicate the case on\n * another word.\n *\n * @param {string} word\n * @param {string} token\n * @return {Function}\n */\n function restoreCase (word, token) {\n // Tokens are an exact match.\n if (word === token) return token;\n\n // Lower cased words. E.g. \"hello\".\n if (word === word.toLowerCase()) return token.toLowerCase();\n\n // Upper cased words. E.g. \"WHISKY\".\n if (word === word.toUpperCase()) return token.toUpperCase();\n\n // Title cased words. E.g. \"Title\".\n if (word[0] === word[0].toUpperCase()) {\n return token.charAt(0).toUpperCase() + token.substr(1).toLowerCase();\n }\n\n // Lower cased words. E.g. \"test\".\n return token.toLowerCase();\n }\n\n /**\n * Interpolate a regexp string.\n *\n * @param {string} str\n * @param {Array} args\n * @return {string}\n */\n function interpolate (str, args) {\n return str.replace(/\\$(\\d{1,2})/g, function (match, index) {\n return args[index] || '';\n });\n }\n\n /**\n * Replace a word using a rule.\n *\n * @param {string} word\n * @param {Array} rule\n * @return {string}\n */\n function replace (word, rule) {\n return word.replace(rule[0], function (match, index) {\n var result = interpolate(rule[1], arguments);\n\n if (match === '') {\n return restoreCase(word[index - 1], result);\n }\n\n return restoreCase(match, result);\n });\n }\n\n /**\n * Sanitize a word by passing in the word and sanitization rules.\n *\n * @param {string} token\n * @param {string} word\n * @param {Array} rules\n * @return {string}\n */\n function sanitizeWord (token, word, rules) {\n // Empty string or doesn't need fixing.\n if (!token.length || uncountables.hasOwnProperty(token)) {\n return word;\n }\n\n var len = rules.length;\n\n // Iterate over the sanitization rules and use the first one to match.\n while (len--) {\n var rule = rules[len];\n\n if (rule[0].test(word)) return replace(word, rule);\n }\n\n return word;\n }\n\n /**\n * Replace a word with the updated word.\n *\n * @param {Object} replaceMap\n * @param {Object} keepMap\n * @param {Array} rules\n * @return {Function}\n */\n function replaceWord (replaceMap, keepMap, rules) {\n return function (word) {\n // Get the correct token and case restoration functions.\n var token = word.toLowerCase();\n\n // Check against the keep object map.\n if (keepMap.hasOwnProperty(token)) {\n return restoreCase(word, token);\n }\n\n // Check against the replacement map for a direct word replacement.\n if (replaceMap.hasOwnProperty(token)) {\n return restoreCase(word, replaceMap[token]);\n }\n\n // Run all the rules against the word.\n return sanitizeWord(token, word, rules);\n };\n }\n\n /**\n * Check if a word is part of the map.\n */\n function checkWord (replaceMap, keepMap, rules, bool) {\n return function (word) {\n var token = word.toLowerCase();\n\n if (keepMap.hasOwnProperty(token)) return true;\n if (replaceMap.hasOwnProperty(token)) return false;\n\n return sanitizeWord(token, token, rules) === token;\n };\n }\n\n /**\n * Pluralize or singularize a word based on the passed in count.\n *\n * @param {string} word The word to pluralize\n * @param {number} count How many of the word exist\n * @param {boolean} inclusive Whether to prefix with the number (e.g. 3 ducks)\n * @return {string}\n */\n function pluralize (word, count, inclusive) {\n var pluralized = count === 1\n ? pluralize.singular(word) : pluralize.plural(word);\n\n return (inclusive ? count + ' ' : '') + pluralized;\n }\n\n /**\n * Pluralize a word.\n *\n * @type {Function}\n */\n pluralize.plural = replaceWord(\n irregularSingles, irregularPlurals, pluralRules\n );\n\n /**\n * Check if a word is plural.\n *\n * @type {Function}\n */\n pluralize.isPlural = checkWord(\n irregularSingles, irregularPlurals, pluralRules\n );\n\n /**\n * Singularize a word.\n *\n * @type {Function}\n */\n pluralize.singular = replaceWord(\n irregularPlurals, irregularSingles, singularRules\n );\n\n /**\n * Check if a word is singular.\n *\n * @type {Function}\n */\n pluralize.isSingular = checkWord(\n irregularPlurals, irregularSingles, singularRules\n );\n\n /**\n * Add a pluralization rule to the collection.\n *\n * @param {(string|RegExp)} rule\n * @param {string} replacement\n */\n pluralize.addPluralRule = function (rule, replacement) {\n pluralRules.push([sanitizeRule(rule), replacement]);\n };\n\n /**\n * Add a singularization rule to the collection.\n *\n * @param {(string|RegExp)} rule\n * @param {string} replacement\n */\n pluralize.addSingularRule = function (rule, replacement) {\n singularRules.push([sanitizeRule(rule), replacement]);\n };\n\n /**\n * Add an uncountable word rule.\n *\n * @param {(string|RegExp)} word\n */\n pluralize.addUncountableRule = function (word) {\n if (typeof word === 'string') {\n uncountables[word.toLowerCase()] = true;\n return;\n }\n\n // Set singular and plural references for the word.\n pluralize.addPluralRule(word, '$0');\n pluralize.addSingularRule(word, '$0');\n };\n\n /**\n * Add an irregular word definition.\n *\n * @param {string} single\n * @param {string} plural\n */\n pluralize.addIrregularRule = function (single, plural) {\n plural = plural.toLowerCase();\n single = single.toLowerCase();\n\n irregularSingles[single] = plural;\n irregularPlurals[plural] = single;\n };\n\n /**\n * Irregular rules.\n */\n [\n // Pronouns.\n ['I', 'we'],\n ['me', 'us'],\n ['he', 'they'],\n ['she', 'they'],\n ['them', 'them'],\n ['myself', 'ourselves'],\n ['yourself', 'yourselves'],\n ['itself', 'themselves'],\n ['herself', 'themselves'],\n ['himself', 'themselves'],\n ['themself', 'themselves'],\n ['is', 'are'],\n ['was', 'were'],\n ['has', 'have'],\n ['this', 'these'],\n ['that', 'those'],\n // Words ending in with a consonant and `o`.\n ['echo', 'echoes'],\n ['dingo', 'dingoes'],\n ['volcano', 'volcanoes'],\n ['tornado', 'tornadoes'],\n ['torpedo', 'torpedoes'],\n // Ends with `us`.\n ['genus', 'genera'],\n ['viscus', 'viscera'],\n // Ends with `ma`.\n ['stigma', 'stigmata'],\n ['stoma', 'stomata'],\n ['dogma', 'dogmata'],\n ['lemma', 'lemmata'],\n ['schema', 'schemata'],\n ['anathema', 'anathemata'],\n // Other irregular rules.\n ['ox', 'oxen'],\n ['axe', 'axes'],\n ['die', 'dice'],\n ['yes', 'yeses'],\n ['foot', 'feet'],\n ['eave', 'eaves'],\n ['goose', 'geese'],\n ['tooth', 'teeth'],\n ['quiz', 'quizzes'],\n ['human', 'humans'],\n ['proof', 'proofs'],\n ['carve', 'carves'],\n ['valve', 'valves'],\n ['looey', 'looies'],\n ['thief', 'thieves'],\n ['groove', 'grooves'],\n ['pickaxe', 'pickaxes'],\n ['passerby', 'passersby']\n ].forEach(function (rule) {\n return pluralize.addIrregularRule(rule[0], rule[1]);\n });\n\n /**\n * Pluralization rules.\n */\n [\n [/s?$/i, 's'],\n [/[^\\u0000-\\u007F]$/i, '$0'],\n [/([^aeiou]ese)$/i, '$1'],\n [/(ax|test)is$/i, '$1es'],\n [/(alias|[^aou]us|t[lm]as|gas|ris)$/i, '$1es'],\n [/(e[mn]u)s?$/i, '$1s'],\n [/([^l]ias|[aeiou]las|[ejzr]as|[iu]am)$/i, '$1'],\n [/(alumn|syllab|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i, '$1i'],\n [/(alumn|alg|vertebr)(?:a|ae)$/i, '$1ae'],\n [/(seraph|cherub)(?:im)?$/i, '$1im'],\n [/(her|at|gr)o$/i, '$1oes'],\n [/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|automat|quor)(?:a|um)$/i, '$1a'],\n [/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)(?:a|on)$/i, '$1a'],\n [/sis$/i, 'ses'],\n [/(?:(kni|wi|li)fe|(ar|l|ea|eo|oa|hoo)f)$/i, '$1$2ves'],\n [/([^aeiouy]|qu)y$/i, '$1ies'],\n [/([^ch][ieo][ln])ey$/i, '$1ies'],\n [/(x|ch|ss|sh|zz)$/i, '$1es'],\n [/(matr|cod|mur|sil|vert|ind|append)(?:ix|ex)$/i, '$1ices'],\n [/\\b((?:tit)?m|l)(?:ice|ouse)$/i, '$1ice'],\n [/(pe)(?:rson|ople)$/i, '$1ople'],\n [/(child)(?:ren)?$/i, '$1ren'],\n [/eaux$/i, '$0'],\n [/m[ae]n$/i, 'men'],\n ['thou', 'you']\n ].forEach(function (rule) {\n return pluralize.addPluralRule(rule[0], rule[1]);\n });\n\n /**\n * Singularization rules.\n */\n [\n [/s$/i, ''],\n [/(ss)$/i, '$1'],\n [/(wi|kni|(?:after|half|high|low|mid|non|night|[^\\w]|^)li)ves$/i, '$1fe'],\n [/(ar|(?:wo|[ae])l|[eo][ao])ves$/i, '$1f'],\n [/ies$/i, 'y'],\n [/\\b([pl]|zomb|(?:neck|cross)?t|coll|faer|food|gen|goon|group|lass|talk|goal|cut)ies$/i, '$1ie'],\n [/\\b(mon|smil)ies$/i, '$1ey'],\n [/\\b((?:tit)?m|l)ice$/i, '$1ouse'],\n [/(seraph|cherub)im$/i, '$1'],\n [/(x|ch|ss|sh|zz|tto|go|cho|alias|[^aou]us|t[lm]as|gas|(?:her|at|gr)o|[aeiou]ris)(?:es)?$/i, '$1'],\n [/(analy|diagno|parenthe|progno|synop|the|empha|cri|ne)(?:sis|ses)$/i, '$1sis'],\n [/(movie|twelve|abuse|e[mn]u)s$/i, '$1'],\n [/(test)(?:is|es)$/i, '$1is'],\n [/(alumn|syllab|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i, '$1us'],\n [/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|quor)a$/i, '$1um'],\n [/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)a$/i, '$1on'],\n [/(alumn|alg|vertebr)ae$/i, '$1a'],\n [/(cod|mur|sil|vert|ind)ices$/i, '$1ex'],\n [/(matr|append)ices$/i, '$1ix'],\n [/(pe)(rson|ople)$/i, '$1rson'],\n [/(child)ren$/i, '$1'],\n [/(eau)x?$/i, '$1'],\n [/men$/i, 'man']\n ].forEach(function (rule) {\n return pluralize.addSingularRule(rule[0], rule[1]);\n });\n\n /**\n * Uncountable rules.\n */\n [\n // Singular words with no plurals.\n 'adulthood',\n 'advice',\n 'agenda',\n 'aid',\n 'aircraft',\n 'alcohol',\n 'ammo',\n 'analytics',\n 'anime',\n 'athletics',\n 'audio',\n 'bison',\n 'blood',\n 'bream',\n 'buffalo',\n 'butter',\n 'carp',\n 'cash',\n 'chassis',\n 'chess',\n 'clothing',\n 'cod',\n 'commerce',\n 'cooperation',\n 'corps',\n 'debris',\n 'diabetes',\n 'digestion',\n 'elk',\n 'energy',\n 'equipment',\n 'excretion',\n 'expertise',\n 'firmware',\n 'flounder',\n 'fun',\n 'gallows',\n 'garbage',\n 'graffiti',\n 'hardware',\n 'headquarters',\n 'health',\n 'herpes',\n 'highjinks',\n 'homework',\n 'housework',\n 'information',\n 'jeans',\n 'justice',\n 'kudos',\n 'labour',\n 'literature',\n 'machinery',\n 'mackerel',\n 'mail',\n 'media',\n 'mews',\n 'moose',\n 'music',\n 'mud',\n 'manga',\n 'news',\n 'only',\n 'personnel',\n 'pike',\n 'plankton',\n 'pliers',\n 'police',\n 'pollution',\n 'premises',\n 'rain',\n 'research',\n 'rice',\n 'salmon',\n 'scissors',\n 'series',\n 'sewage',\n 'shambles',\n 'shrimp',\n 'software',\n 'species',\n 'staff',\n 'swine',\n 'tennis',\n 'traffic',\n 'transportation',\n 'trout',\n 'tuna',\n 'wealth',\n 'welfare',\n 'whiting',\n 'wildebeest',\n 'wildlife',\n 'you',\n /pok[eé]mon$/i,\n // Regexes.\n /[^aeiou]ese$/i, // \"chinese\", \"japanese\"\n /deer$/i, // \"deer\", \"reindeer\"\n /fish$/i, // \"fish\", \"blowfish\", \"angelfish\"\n /measles$/i,\n /o[iu]s$/i, // \"carnivorous\"\n /pox$/i, // \"chickpox\", \"smallpox\"\n /sheep$/i\n ].forEach(pluralize.addUncountableRule);\n\n return pluralize;\n});\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\nimport { StatsComponent } from './stats.shared.component';\r\n\r\n@NgModule({\r\n declarations: [\r\n StatsComponent\r\n ],\r\n imports: [CommonModule],\r\n exports: [\r\n StatsComponent\r\n ],\r\n providers: [],\r\n})\r\nexport class StatsModule { }\r\n","export * from './stats.shared.module';\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\nimport { TruncatePipeModule } from '@shared/core/pipes/truncate';\r\n\r\nimport { OrderIdModule } from '@shared/core/modules/order/components/orderId';\r\nimport { LoadersModule } from '@shared/core/components/loaders';\r\nimport { HintsModule } from '@shared/core/components/hints';\r\nimport { BoxModule } from '@shared/core/components/box';\r\nimport { ButtonsModule } from '@shared/core/components/buttons';\r\nimport { HeadersModule } from '@shared/core/components/headers';\r\nimport { StatsModule } from '@shared/core/components/stats';\r\nimport { ThumbsModule } from '@shared/core/components/thumbs';\r\n\r\nimport { TileForHistoryOrderComponent } from './tile-for-history-order.shared.component';\r\n\r\n@NgModule({\r\n declarations: [\r\n TileForHistoryOrderComponent\r\n ],\r\n imports: [\r\n CommonModule,\r\n OrderIdModule,\r\n TruncatePipeModule,\r\n HeadersModule,\r\n HintsModule,\r\n LoadersModule,\r\n ButtonsModule,\r\n BoxModule,\r\n StatsModule,\r\n ThumbsModule\r\n ],\r\n exports: [\r\n TileForHistoryOrderComponent\r\n ],\r\n providers: [],\r\n})\r\nexport class TileForHistoryOrderModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\nimport { LimitPipeModule } from '@shared/core/pipes/limit';\r\nimport { TileForProductModule } from '@shared/core/components/tiles/tilesTypes/forProduct';\r\nimport { TileForHistoryOrderModule } from '@shared/core/components/tiles/tilesTypes/forHistoryOrder';\r\n\r\nimport { ListForHistoryOrdersComponent } from './list-for-history-orders.shared.component';\r\n\r\n@NgModule({\r\n declarations: [\r\n ListForHistoryOrdersComponent\r\n ],\r\n imports: [\r\n CommonModule,\r\n LimitPipeModule,\r\n TileForProductModule,\r\n TileForHistoryOrderModule,\r\n ],\r\n exports: [\r\n ListForHistoryOrdersComponent\r\n ],\r\n})\r\nexport class ListForHistoryOrdersModule { }\r\n","export * from './list-for-history-orders.shared.module';\r\n","import { Component, OnInit, Input, Output, EventEmitter, ChangeDetectionStrategy, ChangeDetectorRef, ElementRef, Renderer2 } from '@angular/core';\r\n\r\nimport { CircleBtnComponent } from '@shared/core/components/buttons';\r\n\r\n@Component({\r\n selector: 'shared-selector',\r\n templateUrl: './selector.shared.component.html',\r\n styleUrls: ['./selector.shared.component.scss'],\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class SelectorComponent extends CircleBtnComponent implements OnInit {\r\n @Input() public selected: boolean = false;\r\n @Input() public size: OLO.Components.BUTTON_SIZE = null;\r\n @Input() public feelDeselected: OLO.Components.BUTTON_CIRCLE_FEEL = 'positive-secondary';\r\n @Input() public feelSelected: OLO.Components.BUTTON_CIRCLE_FEEL = 'positive-full';\r\n @Input() public iconDeselected: string = 'plus';\r\n @Input() public iconSelected: string = 'checkmark';\r\n\r\n @Output() public onSelected: EventEmitter = new EventEmitter();\r\n @Output() public onDeselected: EventEmitter = new EventEmitter();\r\n\r\n constructor(\r\n public renderer2: Renderer2,\r\n public elementRef: ElementRef,\r\n public changeDetectorRef: ChangeDetectorRef\r\n ) {\r\n super(renderer2, elementRef, changeDetectorRef);\r\n }\r\n\r\n ngOnInit(): void {\r\n super.ngOnInit();\r\n }\r\n\r\n public handleSelected($event: Event): void {\r\n this.onSelected.emit($event);\r\n\r\n this.changeDetectorRef.markForCheck();\r\n }\r\n\r\n public handleDeselected($event: Event): void {\r\n this.onDeselected.emit($event);\r\n\r\n this.changeDetectorRef.markForCheck();\r\n }\r\n\r\n public get isSelected(): boolean {\r\n return this.selected;\r\n }\r\n\r\n}\r\n","
\r\n
\r\n \r\n \r\n
\r\n
","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\nimport { IconModule } from '@shared/core/components/icon';\r\nimport { ButtonsModule } from '@shared/core/components/buttons';\r\n\r\nimport { SelectorComponent } from './selector.shared.component';\r\n\r\n@NgModule({\r\n declarations: [\r\n SelectorComponent\r\n ],\r\n imports: [\r\n CommonModule,\r\n ButtonsModule,\r\n IconModule,\r\n ],\r\n exports: [\r\n SelectorComponent\r\n ],\r\n providers: [],\r\n})\r\nexport class SelectorModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\nimport { CommonItemComponent } from './common-item.shared.component';\r\n\r\nimport { QuantityModule } from '@shared/core/components/quantity';\r\nimport { LinkModule } from '@shared/core/components/link';\r\nimport { SelectorModule } from '@shared/core/components/selector';\r\n\r\n@NgModule({\r\n declarations: [\r\n CommonItemComponent,\r\n ],\r\n imports: [\r\n CommonModule,\r\n QuantityModule,\r\n SelectorModule,\r\n LinkModule,\r\n ],\r\n exports: [\r\n CommonItemComponent\r\n ],\r\n providers: [],\r\n})\r\nexport class CommonItemModule { }\r\n","export * from './common-item.shared.module';","
\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
{{description}}
\r\n\r\n
\r\n {{homeLinkTitle}}\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","import { Component, Input, TemplateRef } from '@angular/core';\r\n\r\nimport * as Services from '@shared/core/services';\r\n\r\n@Component({\r\n selector: 'shared-info-box',\r\n templateUrl: './info-box.shared.component.html',\r\n styleUrls: ['./info-box.shared.component.scss']\r\n})\r\nexport class InfoBoxComponent {\r\n @Input() public homeLink: boolean = false;\r\n @Input() public src: string;\r\n @Input() public description: string;\r\n @Input() public homeLinkTitle: string = 'Return to home';\r\n\r\n @Input() public icon: string = 'close';\r\n @Input() public size: OLO.Components.INDICATOR_SIZE = 'xxlg';\r\n @Input() public feel: OLO.Components.INDICATOR_FEEL = 'negative-full';\r\n @Input() public inverted: boolean = false;\r\n\r\n @Input() public loading: boolean = false;\r\n @Input() public type: OLO.Components.HEADER_TYPE = '3';\r\n @Input() public left: TemplateRef;\r\n @Input() public right: TemplateRef;\r\n @Input() public marginTop: OLO.Components.MARGIN_SIZE = null;\r\n @Input() public marginBottom: OLO.Components.MARGIN_SIZE = null;\r\n @Input() public paddingTop: OLO.Components.MARGIN_SIZE = null;\r\n @Input() public paddingBottom: OLO.Components.MARGIN_SIZE = null;\r\n @Input() public brandAccent: boolean = false;\r\n @Input() public postContent: string | number;\r\n @Input() public preContent: string | number;\r\n @Input() public ellipsis: boolean = false;\r\n //@Input() public center: boolean = false;\r\n @Input() public counter: number = null;\r\n @Input() public lineHeight: boolean | string;\r\n\r\n constructor(\r\n public routeService: Services.RouteService,\r\n ) { }\r\n\r\n public handleLinkClick($event: Event): Promise {\r\n return this.routeService.navigateToHomeView();\r\n }\r\n\r\n public get centerHeader(): boolean {\r\n return window.innerWidth < 768;\r\n }\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\nimport { DisclaimerComponent } from './disclaimer.shared.component';\r\n\r\n@NgModule({\r\n declarations: [\r\n DisclaimerComponent\r\n ],\r\n imports: [\r\n CommonModule\r\n ],\r\n exports: [\r\n DisclaimerComponent\r\n ]\r\n})\r\nexport class DisclaimerModule { }\r\n","export * from './disclaimer.shared.module';\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\nimport { IndicatorsModule } from '@shared/core/components/indicators';\r\n\r\nimport { OrderIdComponent } from './order-id.shared.component';\r\n\r\n@NgModule({\r\n declarations: [\r\n OrderIdComponent\r\n ],\r\n imports: [\r\n CommonModule,\r\n IndicatorsModule,\r\n ],\r\n exports: [\r\n OrderIdComponent\r\n ],\r\n providers: [],\r\n})\r\nexport class OrderIdModule { }\r\n","export * from './order-id.shared.module';\r\n","import { Component, OnInit, Input, Inject } from '@angular/core';\r\n\r\nimport { Controllers } from '@shared/core/controllers';\r\nimport * as Tokens from '@shared/core/tokens';\r\nimport { Observable } from 'rxjs';\r\n\r\n@Component({\r\n selector: 'shared-locations-not-available',\r\n templateUrl: './locations-not-available.shared.component.html',\r\n styleUrls: ['./locations-not-available.shared.component.scss']\r\n})\r\nexport class LocationsNotAvailableComponent implements OnInit {\r\n private _isVenueMode: boolean = false;\r\n\r\n @Input() public title!: string;\r\n @Input() public description!: string;\r\n @Input() public src: string = ``;\r\n\r\n public isDelivery$: Observable;\r\n\r\n constructor(\r\n @Inject(Tokens.CONFIG_TOKEN) public config: IConfig,\r\n public controllers: Controllers,\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.isDelivery$ = this.controllers.collectionType.isDeliveryActive$();\r\n\r\n this._isVenueMode = this.config.venue !== null && !!this.config.venue.id === true && !!this.config.venue.name === true;\r\n if (!this.title) {\r\n if (this._isVenueMode) {\r\n this.title = `There are currently no locations available for your selected pick up time.`;\r\n } else {\r\n this.title = `There are currently no locations available. Please check back later.`;\r\n }\r\n }\r\n\r\n if (!this.description) {\r\n if (this._isVenueMode) {\r\n this.description = `Try selecting a different pick up time or check back later for more available locations.`;\r\n } else {\r\n this.description = `Oh no! We can’t find any locations available for online ordering. Please try again later.`;\r\n }\r\n }\r\n }\r\n\r\n public handleBtnClick($event: Event): void {\r\n this.controllers.collectionType.setCollectionType(OLO.Enums.COLLECTION_TYPE.PICKUP);\r\n }\r\n}\r\n","{{title}}\r\n\r\n\r\n \r\n\r\n \r\n

Try a different address or find a nearby location
to pick up your order

\r\n Pick up\r\n
","import { Component, Input, ChangeDetectionStrategy, OnInit } from '@angular/core';\r\n\r\nimport { Controllers } from '@shared/core/controllers';\r\nimport { Observable } from 'rxjs';\r\nimport { delay, map, switchMap } from 'rxjs/operators';\r\nimport { IProductRestriction } from '@shared/state';\r\n\r\n@Component({\r\n selector: 'shared-restrictions-for-menu',\r\n templateUrl: './restrictions-for-menu.shared.component.html',\r\n styleUrls: ['./restrictions-for-menu.shared.component.scss'],\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n})\r\nexport class RestrictionsForMenuComponent implements OnInit {\r\n @Input() public locationNo!: number;\r\n\r\n public restrictions$!: Observable;\r\n\r\n constructor(\r\n public controllers: Controllers,\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.restrictions$ = this.controllers.productRestrictions.getProductRestrictionsForLocation$(this.locationNo);\r\n\r\n }\r\n\r\n public get isEmpty$(): Observable {\r\n return this.restrictions$\r\n .pipe(\r\n map(restrictions => restrictions ? restrictions.length === 0 : true)\r\n );\r\n }\r\n\r\n public get totalRestrictions$(): Observable {\r\n return this.isEmpty$\r\n .pipe(\r\n switchMap((isEmpty) => this.restrictions$\r\n .pipe(\r\n map(restrictions => isEmpty ? 0 : restrictions.reduce((acc, restriction) => acc + restriction.MaxQty, 0))\r\n ))\r\n );\r\n }\r\n\r\n public trackBy(index: number, item: IProductRestriction): IProductRestriction {\r\n return item;\r\n }\r\n}\r\n","
\r\n
\r\n
\r\n {{totalRestrictions$ | async}}\r\n
\r\n
\r\n
\r\n
\r\n Please note there is currently a {{restriction.MaxQty}} {{restriction.CustomerFriendlyName}} limit\r\n
\r\n
\r\n
\r\n","export * from './max-on-screen-height.directive.shared.module';\r\nexport * from './max-on-screen-height.shared.service';\r\n","import { NgModule } from '@angular/core';\r\n\r\nimport { LeadingZeroPipe } from './leading-zero.shared.pipe';\r\n\r\nconst toExport: any[] = [\r\n LeadingZeroPipe\r\n];\r\n\r\n@NgModule({\r\n declarations: [\r\n ...toExport,\r\n ],\r\n exports: [\r\n ...toExport,\r\n ],\r\n})\r\nexport class LeadingZeroPipeModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\nimport { LeadingZeroPipeModule } from '@shared/core/pipes/leadingZero';\r\nimport { ButtonsModule } from '@shared/core/components/buttons';\r\n\r\nimport { QuantityComponent } from './quantity.shared.component';\r\n\r\n@NgModule({\r\n declarations: [\r\n QuantityComponent\r\n ],\r\n imports: [\r\n CommonModule,\r\n ButtonsModule,\r\n LeadingZeroPipeModule,\r\n ],\r\n exports: [\r\n QuantityComponent,\r\n ],\r\n providers: [],\r\n})\r\nexport class QuantityModule { }\r\n","export * from './quantity.shared.module';\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\nimport { BadgesModule } from '@shared/core/components/badges';\r\n\r\nimport { AnimatedCounterComponent } from './animated-counter.shared.component';\r\n\r\n@NgModule({\r\n declarations: [\r\n AnimatedCounterComponent\r\n ],\r\n imports: [\r\n CommonModule,\r\n BadgesModule,\r\n ],\r\n exports: [\r\n AnimatedCounterComponent\r\n ],\r\n providers: [],\r\n})\r\nexport class AnimatedCounterModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\nimport { TruncatePipeModule } from '@shared/core/pipes/truncate';\r\n\r\nimport { LoadersModule } from '@shared/core/components/loaders';\r\nimport { HeadersModule } from '@shared/core/components/headers';\r\nimport { ButtonsModule } from '@shared/core/components/buttons';\r\nimport { AnimatedCounterModule } from '@shared/core/components/animatedCounter';\r\nimport { StatsModule } from '@shared/core/components/stats';\r\nimport { TagImagesModule } from '@shared/core/components/tagImages';\r\nimport { ThumbsModule } from '@shared/core/components/thumbs';\r\n\r\nimport { TileForProductComponent } from './tile-for-product.shared.component';\r\n\r\n@NgModule({\r\n declarations: [\r\n TileForProductComponent\r\n ],\r\n imports: [\r\n CommonModule,\r\n TruncatePipeModule,\r\n HeadersModule,\r\n LoadersModule,\r\n ButtonsModule,\r\n AnimatedCounterModule,\r\n StatsModule,\r\n TagImagesModule,\r\n ThumbsModule,\r\n ],\r\n exports: [\r\n TileForProductComponent\r\n ],\r\n providers: [],\r\n})\r\nexport class TileForProductModule { }\r\n","export * from './tile-for-product.shared.module';\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\n\r\nimport { BoxModule } from '@shared/core/components/box';\r\nimport { ButtonsModule } from '@shared/core/components/buttons';\r\nimport { HeadersModule } from '@shared/core/components/headers';\r\n\r\nimport { OrderAccountComponent } from './order-account.shared.component';\r\n\r\n@NgModule({\r\n declarations: [\r\n OrderAccountComponent\r\n ],\r\n imports: [\r\n CommonModule,\r\n BoxModule,\r\n ButtonsModule,\r\n HeadersModule,\r\n ],\r\n exports: [\r\n OrderAccountComponent\r\n ],\r\n providers: [],\r\n})\r\nexport class OrderAccountModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\nimport { CommonItemModule } from '@shared/core/components/commonItem';\r\n\r\nimport { TileForOrderProductItemComponent } from './tile-for-order-product-item.shared.component';\r\n\r\n@NgModule({\r\n declarations: [\r\n TileForOrderProductItemComponent\r\n ],\r\n imports: [\r\n CommonModule,\r\n CommonItemModule,\r\n ],\r\n exports: [\r\n TileForOrderProductItemComponent\r\n ],\r\n providers: [],\r\n})\r\nexport class TileForOrderProductItemModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\nimport { LimitPipeModule } from '@shared/core/pipes/limit';\r\nimport { MaxOnScreenHeightDirectiveSharedModule } from '@shared/core/directives/maxOnScreenHeight';\r\nimport { TileForOrderProductItemModule } from '@shared/core/components/tiles/tilesTypes/forOrderProductItem';\r\n\r\nimport { ListForHistoryOrderItemsComponent } from './list-for-history-order-items.shared.component';\r\n\r\n@NgModule({\r\n declarations: [\r\n ListForHistoryOrderItemsComponent\r\n ],\r\n imports: [\r\n CommonModule,\r\n LimitPipeModule,\r\n MaxOnScreenHeightDirectiveSharedModule,\r\n TileForOrderProductItemModule,\r\n ],\r\n exports: [\r\n ListForHistoryOrderItemsComponent\r\n ],\r\n})\r\nexport class ListForHistoryOrderItemsModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\nimport { CommonItemModule } from '@shared/core/components/commonItem';\r\n\r\nimport { TileForTransactionProductItemComponent } from './tile-for-transaction-product-item.shared.component';\r\n\r\n@NgModule({\r\n declarations: [\r\n TileForTransactionProductItemComponent\r\n ],\r\n imports: [\r\n CommonModule,\r\n CommonItemModule,\r\n ],\r\n exports: [\r\n TileForTransactionProductItemComponent\r\n ],\r\n providers: [],\r\n})\r\nexport class TileForTransactionProductItemModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\nimport { LimitPipeModule } from '@shared/core/pipes/limit';\r\nimport { MaxOnScreenHeightDirectiveSharedModule } from '@shared/core/directives/maxOnScreenHeight';\r\nimport { TileForTransactionProductItemModule } from '@shared/core/components/tiles/tilesTypes/forTransactionProductItem';\r\n\r\nimport { ListForTransactionItemsComponent } from './list-for-transaction-items.shared.component';\r\n\r\n@NgModule({\r\n declarations: [\r\n ListForTransactionItemsComponent\r\n ],\r\n imports: [\r\n CommonModule,\r\n LimitPipeModule,\r\n MaxOnScreenHeightDirectiveSharedModule,\r\n TileForTransactionProductItemModule,\r\n ],\r\n exports: [\r\n ListForTransactionItemsComponent\r\n ],\r\n})\r\nexport class ListForTransactionItemsModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\nimport { MaxOnScreenHeightDirectiveSharedModule } from '@shared/core/directives/maxOnScreenHeight';\r\nimport { LoadersModule } from '@shared/core/components/loaders';\r\nimport { HintsPopupModule } from '@shared/core/components/hints/hintTypes/popup';\r\n\r\nimport { OrderSummaryComponent } from './order-summary.shared.component';\r\n\r\n@NgModule({\r\n declarations: [\r\n OrderSummaryComponent\r\n ],\r\n imports: [\r\n CommonModule,\r\n MaxOnScreenHeightDirectiveSharedModule,\r\n LoadersModule,\r\n HintsPopupModule,\r\n ],\r\n exports: [\r\n OrderSummaryComponent\r\n ],\r\n})\r\nexport class OrderSummaryModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\nimport { ListForHistoryOrderItemsModule } from '@shared/core/components/lists/listsTypes/forHistoryOrderItems';\r\nimport { ListForTransactionItemsModule } from '@shared/core/components/lists/listsTypes/forTransactionItems';\r\nimport { OrderSummaryModule } from '../orderSummary';\r\n\r\nimport { OrderFullSummaryComponent } from './order-full-summary.shared.component';\r\n\r\n@NgModule({\r\n declarations: [\r\n OrderFullSummaryComponent,\r\n ],\r\n imports: [\r\n CommonModule,\r\n OrderSummaryModule,\r\n ListForHistoryOrderItemsModule,\r\n ListForTransactionItemsModule,\r\n ],\r\n exports: [\r\n OrderFullSummaryComponent,\r\n ],\r\n})\r\nexport class OrderFullSummaryModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\nimport { EmphasisTextModule } from '@shared/core/components/emphasisText';\r\nimport { HeadersModule } from '@shared/core/components/headers';\r\nimport { LoadersModule } from '@shared/core/components/loaders';\r\nimport { ButtonsModule } from '@shared/core/components/buttons';\r\nimport { PickupLabelPipeModule } from '@shared/core/pipes/pickupLabel';\r\n\r\nimport { OrderStatusComponent } from './order-status.shared.component';\r\nimport { BoxModule } from '@shared/core/components/box';\r\nimport { MaxOnScreenHeightDirectiveSharedModule } from '@shared/core/directives/maxOnScreenHeight';\r\nimport { IconModule } from '@shared/core/components/icon';\r\nimport { InsertVariableToStringModule } from '@shared/core/pipes/insertVariableToString/insert-variable-to-string.pipe.module';\r\n\r\n@NgModule({\r\n declarations: [\r\n OrderStatusComponent\r\n ],\r\n imports: [\r\n CommonModule,\r\n EmphasisTextModule,\r\n HeadersModule,\r\n LoadersModule,\r\n PickupLabelPipeModule,\r\n ButtonsModule,\r\n BoxModule,\r\n MaxOnScreenHeightDirectiveSharedModule,\r\n IconModule,\r\n InsertVariableToStringModule\r\n ],\r\n exports: [\r\n OrderStatusComponent\r\n ],\r\n})\r\nexport class OrderStatusModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\nimport { MaxOnScreenHeightDirectiveSharedModule } from '@shared/core/directives/maxOnScreenHeight';\r\nimport { LoadersModule } from '@shared/core/components/loaders';\r\nimport { HintsPopupModule } from '@shared/core/components/hints/hintTypes/popup';\r\n\r\nimport { OrderAddVoucherComponent } from './order-add-voucher.shared.component';\r\nimport { IndicatorsModule } from '@shared/core/components/indicators';\r\nimport { LinkModule } from '@shared/core/components/link';\r\nimport { ButtonsModule } from '@shared/core/components/buttons';\r\n\r\n@NgModule({\r\n declarations: [\r\n OrderAddVoucherComponent\r\n ],\r\n imports: [\r\n CommonModule,\r\n MaxOnScreenHeightDirectiveSharedModule,\r\n LoadersModule,\r\n HintsPopupModule,\r\n IndicatorsModule,\r\n LinkModule,\r\n ButtonsModule,\r\n ],\r\n exports: [\r\n OrderAddVoucherComponent\r\n ],\r\n})\r\nexport class OrderAddVoucherModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\nimport { CommonItemModule } from '@shared/core/components/commonItem';\r\n\r\nimport { TileForReorderProductItemComponent } from './tile-for-reorder-product-item.shared.component';\r\n\r\n@NgModule({\r\n declarations: [\r\n TileForReorderProductItemComponent\r\n ],\r\n imports: [\r\n CommonModule,\r\n CommonItemModule,\r\n ],\r\n exports: [\r\n TileForReorderProductItemComponent\r\n ],\r\n providers: [],\r\n})\r\nexport class TileForReorderProductItemModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\nimport { LimitPipeModule } from '@shared/core/pipes/limit';\r\nimport { MaxOnScreenHeightDirectiveSharedModule } from '@shared/core/directives/maxOnScreenHeight';\r\nimport { TileForReorderProductItemModule } from '@shared/core/components/tiles/tilesTypes/forReorderProductItem';\r\n\r\nimport { ListForReorderItemsComponent } from './list-for-reorder-items.shared.component';\r\n\r\n@NgModule({\r\n declarations: [\r\n ListForReorderItemsComponent\r\n ],\r\n imports: [\r\n CommonModule,\r\n LimitPipeModule,\r\n MaxOnScreenHeightDirectiveSharedModule,\r\n TileForReorderProductItemModule,\r\n ],\r\n exports: [\r\n ListForReorderItemsComponent\r\n ],\r\n})\r\nexport class ListForReorderItemsModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\nimport { ListForReorderItemsModule } from '@shared/core/components/lists/listsTypes/forReorderItems';\r\n\r\nimport { ReorderWizzardComponent } from './reorder-wizzard.shared.component';\r\n\r\n@NgModule({\r\n declarations: [\r\n ReorderWizzardComponent\r\n ],\r\n imports: [\r\n CommonModule,\r\n ListForReorderItemsModule,\r\n ],\r\n exports: [\r\n ReorderWizzardComponent,\r\n ],\r\n})\r\nexport class ReorderWizzardModule { }\r\n","import { NgModule } from '@angular/core';\r\n\r\nimport { OrderAccountModule } from './orderAccount';\r\nimport { OrderConfirmationHeroHeaderModule } from './orderConfirmationHeroHeader';\r\nimport { OrderConfirmationMarkModule } from './orderConfirmationMark';\r\nimport { OrderFullSummaryModule } from './orderFullSummary';\r\nimport { OrderInfoModule } from './orderInfo';\r\nimport { OrderStatusModule } from './orderStatus';\r\nimport { OrderIdModule } from './orderId';\r\nimport { OrderSummaryModule } from './orderSummary';\r\nimport { OrderAddVoucherModule } from './orderAddVoucher';\r\nimport { ReorderWizzardModule } from './reorderWizzard';\r\n\r\nconst toExport = [\r\n OrderAccountModule,\r\n OrderConfirmationHeroHeaderModule,\r\n OrderConfirmationMarkModule,\r\n OrderFullSummaryModule,\r\n OrderInfoModule,\r\n OrderIdModule,\r\n OrderSummaryModule,\r\n OrderAddVoucherModule,\r\n ReorderWizzardModule,\r\n OrderStatusModule\r\n];\r\n\r\n@NgModule({\r\n imports: [\r\n ...toExport,\r\n ],\r\n exports: [\r\n ...toExport,\r\n ],\r\n})\r\nexport class OrderComponentsModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\nimport { ScrollDirectiveSharedModule } from '@shared/core/directives/scroll/scroll.directive.shared.module';\r\nimport { MaxOnScreenHeightDirectiveSharedModule } from '@shared/core/directives/maxOnScreenHeight';\r\nimport { BoxModule } from '@shared/core/components/box';\r\nimport { ButtonsModule } from '@shared/core/components/buttons';\r\n\r\nimport { OrderComponentsModule } from '../components';\r\n\r\nimport { OrderBoxComponent } from './order-box.shared.component';\r\nimport { PickupLabelPipeModule } from '@shared/core/pipes/pickupLabel';\r\nimport { InsertVariableToStringModule } from '@shared/core/pipes/insertVariableToString/insert-variable-to-string.pipe.module';\r\nimport { LetDirectiveSharedModule } from '@shared/core/directives/let';\r\n\r\n@NgModule({\r\n declarations: [\r\n OrderBoxComponent\r\n ],\r\n imports: [\r\n CommonModule,\r\n ScrollDirectiveSharedModule,\r\n MaxOnScreenHeightDirectiveSharedModule,\r\n OrderComponentsModule,\r\n PickupLabelPipeModule,\r\n BoxModule,\r\n InsertVariableToStringModule,\r\n ButtonsModule,\r\n LetDirectiveSharedModule,\r\n ],\r\n exports: [\r\n OrderBoxComponent\r\n ],\r\n providers: [],\r\n})\r\nexport class OrderBoxModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\nimport { OrderBoxModule } from '../../orderBox';\r\n\r\nimport { OrderForConfirmationComponent } from './order-for-confirmation.shared.component';\r\nimport { BtnModule } from '@shared/core/components/buttons/btn/btn.shared.module';\r\nimport { OrderStatusModule } from '@shared/core/modules/order/components/orderStatus';\r\n\r\n@NgModule({\r\n declarations: [\r\n OrderForConfirmationComponent\r\n ],\r\n imports: [\r\n CommonModule,\r\n OrderBoxModule,\r\n BtnModule,\r\n OrderStatusModule\r\n ],\r\n exports: [OrderForConfirmationComponent],\r\n})\r\n\r\nexport class OrderTypeForConfirmationModule {}\r\n","import { NgModule } from '@angular/core';\r\n\r\nimport { OrderTypeForConfirmationModule } from './forConfirmation';\r\n\r\nconst toExport = [\r\n OrderTypeForConfirmationModule\r\n];\r\n\r\n@NgModule({\r\n imports: [\r\n ...toExport\r\n ],\r\n exports: [\r\n ...toExport\r\n ],\r\n})\r\nexport class OrderTypesModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\nimport { HeadersModule } from '@shared/core/components/headers';\r\nimport { ListForHistoryOrdersModule } from '@shared/core/components/lists/listsTypes/forHistoryOrders';\r\n\r\nimport { ReorderingComponent } from './reordering.shared.component';\r\n\r\n@NgModule({\r\n declarations: [\r\n ReorderingComponent,\r\n ],\r\n imports: [\r\n CommonModule,\r\n HeadersModule,\r\n ListForHistoryOrdersModule,\r\n ],\r\n exports: [\r\n ReorderingComponent,\r\n ],\r\n})\r\nexport class ReorderingModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\nimport { OrderComponentsModule } from './components';\r\n\r\nimport { OrderTypesModule } from './orderTypes';\r\n\r\nimport { OrderBoxModule } from './orderBox';\r\nimport { ReorderingModule } from './reordering';\r\n\r\nconst toExport: any[] = [\r\n OrderTypesModule,\r\n OrderComponentsModule,\r\n OrderBoxModule,\r\n ReorderingModule,\r\n];\r\n\r\n@NgModule({\r\n declarations: [],\r\n imports: [\r\n CommonModule,\r\n ...toExport,\r\n ],\r\n exports: [\r\n ...toExport,\r\n ],\r\n providers: [],\r\n})\r\nexport class OrderModule { }\r\n","export * from './orderTypes';\r\nexport * from './orders.shared.module';\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\nimport { ImagePreloadDirectiveSharedModule } from '@shared/core/directives/imagePreload/image-preload.directive.shared.module';\r\n\r\nimport { TagImagesComponent } from './tag-images.shared.component';\r\n\r\n@NgModule({\r\n declarations: [\r\n TagImagesComponent\r\n ],\r\n imports: [\r\n CommonModule,\r\n ImagePreloadDirectiveSharedModule,\r\n ],\r\n exports: [\r\n TagImagesComponent\r\n ],\r\n providers: [],\r\n})\r\nexport class TagImagesModule { }\r\n","export * from './tag-images.shared.module';\r\n","import { Component, ChangeDetectionStrategy, Input } from '@angular/core';\r\n\r\nimport * as Models from '@shared/core/models';\r\n\r\n@Component({\r\n selector: 'shared-labels-item',\r\n templateUrl: './labels-item.shared.component.html',\r\n styleUrls: ['./labels-item.shared.component.scss'],\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class LabelsItemComponent {\r\n @Input() public item!: Models.Label;\r\n\r\n public get icon(): string {\r\n if (!this.item) return null;\r\n\r\n return this.item.IsEnabled ? 'checkmark' : 'close';\r\n }\r\n}\r\n","
\r\n \r\n
{{item?.Name}}
\r\n
","
\r\n \r\n \r\n
","import { Component, OnInit, ChangeDetectionStrategy, Input } from '@angular/core';\r\n\r\nimport * as Models from '@shared/core/models';\r\n\r\n@Component({\r\n selector: 'shared-labels',\r\n templateUrl: './labels.shared.component.html',\r\n styleUrls: ['./labels.shared.component.scss'],\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class LabelsComponent {\r\n @Input() public labels!: Models.Label[];\r\n\r\n public trackBy(index: number, label: Models.Label): number {\r\n return label?.Id || index;\r\n }\r\n}\r\n","import { NgModule } from '@angular/core';\r\n\r\nimport { MaxOnScreenHeightDirective } from './max-on-screen-height.shared.directive';\r\n\r\n@NgModule({\r\n declarations: [\r\n MaxOnScreenHeightDirective\r\n ],\r\n exports: [\r\n MaxOnScreenHeightDirective\r\n ],\r\n})\r\nexport class MaxOnScreenHeightDirectiveSharedModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\nimport { LinkModule } from '@shared/core/components/link';\r\nimport { HeadersModule } from '@shared/core/components/headers';\r\nimport { IndicatorsModule } from '@shared/core/components/indicators';\r\n\r\nimport { InfoBoxComponent } from './info-box.shared.component';\r\n\r\n@NgModule({\r\n declarations: [\r\n InfoBoxComponent,\r\n ],\r\n imports: [\r\n CommonModule,\r\n LinkModule,\r\n HeadersModule,\r\n IndicatorsModule,\r\n ],\r\n exports: [\r\n InfoBoxComponent,\r\n ],\r\n providers: [],\r\n})\r\nexport class InfoBoxModule { }\r\n","export * from './info-box.shared.component';\r\nexport * from './info-box.shared.module';\r\n","import { Component, OnInit, Input } from '@angular/core';\r\n\r\nimport { Controllers } from '@shared/core/controllers';\r\nimport * as Models from '@shared/core/models';\r\n\r\nimport { Observable } from 'rxjs';\r\nimport { map } from 'rxjs/operators';\r\nimport Pluralize from 'pluralize';\r\n\r\n@Component({\r\n selector: 'shared-restrictions-for-cart',\r\n templateUrl: './restrictions-for-cart.shared.component.html',\r\n styleUrls: ['./restrictions-for-cart.shared.component.scss']\r\n})\r\nexport class RestrictionsForCartComponent implements OnInit {\r\n @Input() public errors!: OLO.Components.IMappedMessage[];\r\n\r\n public restrictions$!: Observable;\r\n\r\n constructor(\r\n public controllers: Controllers,\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.controllers.cart.getCartLocationNo$().subscribe(locationNo => {\r\n this.restrictions$ = this.controllers.productRestrictions.restrictionsCartLimitReport$(\r\n true, 1, locationNo);\r\n });\r\n }\r\n\r\n public get hasRestrictions$(): Observable {\r\n return this.restrictions$\r\n .pipe(\r\n map(restrictions => restrictions ? restrictions.length > 0 : false)\r\n );\r\n }\r\n\r\n public trackBy(index: number, item: Models.RestrictionItem): number | string {\r\n return item?.id || index;\r\n }\r\n\r\n public pluralizeName(Qty: number, name: string): string {\r\n return Pluralize( name, Qty );\r\n }\r\n}\r\n","
\r\n \r\n
\r\n {{error.message}}\r\n
\r\n
\r\n\r\n
\r\n {{ restriction.limit }}\r\n {{ pluralizeName(restriction.limit, restriction.customerFriendlyName) }}\r\n exceeded! Please remove\r\n {{ restriction.totalQty - restriction.limit }}\r\n {{ pluralizeName(restriction.totalQty - restriction.limit, restriction.customerFriendlyName) }}\r\n
\r\n
\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\nimport { HeadersModule } from '@shared/core/components/headers';\r\nimport { LinkModule } from '@shared/core/components/link';\r\nimport { ProjectionModule } from '@shared/core/components/projection';\r\nimport { PickupLabelPipeModule } from '@shared/core/pipes/pickupLabel';\r\nimport { LocationsSearchHeadersComponent } from './locations-search-headers.shared.component';\r\n\r\n@NgModule({\r\n declarations: [\r\n LocationsSearchHeadersComponent,\r\n ],\r\n imports: [\r\n CommonModule,\r\n HeadersModule,\r\n LinkModule,\r\n ProjectionModule,\r\n PickupLabelPipeModule,\r\n ],\r\n exports: [\r\n LocationsSearchHeadersComponent,\r\n ],\r\n})\r\nexport class LocationsSearchHeadersModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\nimport { InfoBoxModule } from '@shared/core/components/infoBox';\r\nimport { ButtonsModule } from '@shared/core/components/buttons';\r\nimport { LocationsSearchHeadersModule } from '../locationsSearchHeaders';\r\n\r\nimport { LocationsNotAvailableComponent } from './locations-not-available.shared.component';\r\n\r\n@NgModule({\r\n declarations: [\r\n LocationsNotAvailableComponent\r\n ],\r\n imports: [\r\n CommonModule,\r\n InfoBoxModule,\r\n LocationsSearchHeadersModule,\r\n ButtonsModule,\r\n ],\r\n exports: [\r\n LocationsNotAvailableComponent\r\n ],\r\n})\r\nexport class LocationsNotAvailableModule { }\r\n","import { NgModule } from '@angular/core';\r\n\r\nimport { LocationsHeroHeaderModule } from './locationsHeroHeader';\r\nimport { LocationsNotAvailableModule } from './locationsNotAvailable';\r\nimport { LocationsSearchHeadersModule } from './locationsSearchHeaders';\r\n\r\nconst toExport: any[] = [\r\n LocationsHeroHeaderModule,\r\n LocationsNotAvailableModule,\r\n LocationsSearchHeadersModule\r\n];\r\n\r\n@NgModule({\r\n imports: [\r\n ...toExport\r\n ],\r\n exports: [\r\n ...toExport\r\n ],\r\n})\r\nexport class LocationsComponentsModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\nimport { RestrictionsForMenuComponent } from './restrictions-for-menu.shared.component'\r\n\r\n@NgModule({\r\n declarations: [\r\n RestrictionsForMenuComponent\r\n ],\r\n imports: [ CommonModule ],\r\n exports: [\r\n RestrictionsForMenuComponent\r\n ],\r\n})\r\nexport class RestrictionsForMenuModule {}\r\n","import { NgModule } from '@angular/core';\r\nimport { ViewFieldActionDirective } from './view-field-action.shared.directive';\r\n\r\n@NgModule({\r\n declarations: [ViewFieldActionDirective],\r\n exports: [ViewFieldActionDirective],\r\n})\r\nexport class ViewFieldActionModule {}\r\n","import { NgModule } from '@angular/core';\r\n\r\nimport { SepBarComponent } from './sep-bar.shared.component';\r\n\r\n@NgModule({\r\n declarations: [\r\n SepBarComponent,\r\n ],\r\n exports: [\r\n SepBarComponent,\r\n ]\r\n})\r\nexport class SepBarModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\nimport { ViewFieldActionModule } from '@shared/core/directives/viewFieldAction';\r\n\r\nimport { HeadersModule } from '@shared/core/components/headers';\r\nimport { LoadersModule } from '@shared/core/components/loaders';\r\nimport { SepBarModule } from '@shared/core/components/sepBar';\r\nimport { ImagePreloadDirectiveSharedModule } from '@shared/core/directives/imagePreload/image-preload.directive.shared.module';\r\n\r\nimport { TileForOnlineMenuPageComponent } from './tile-for-online-menu-page.shared.component';\r\n\r\n@NgModule({\r\n declarations: [\r\n TileForOnlineMenuPageComponent\r\n ],\r\n imports: [\r\n CommonModule,\r\n ViewFieldActionModule,\r\n HeadersModule,\r\n LoadersModule,\r\n SepBarModule,\r\n ImagePreloadDirectiveSharedModule,\r\n ],\r\n exports: [\r\n TileForOnlineMenuPageComponent\r\n ],\r\n})\r\nexport class TileForOnlineMenuPageModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\nimport { LimitPipeModule } from '@shared/core/pipes/limit';\r\nimport { TileForProductModule } from '@shared/core/components/tiles/tilesTypes/forProduct';\r\nimport { DisclaimerModule } from '@shared/core/components/disclaimer';\r\n\r\nimport { ListForProductsComponent } from './list-for-products.shared.component';\r\n\r\n@NgModule({\r\n declarations: [\r\n ListForProductsComponent\r\n ],\r\n imports: [\r\n CommonModule,\r\n LimitPipeModule,\r\n TileForProductModule,\r\n DisclaimerModule,\r\n ],\r\n exports: [\r\n ListForProductsComponent\r\n ],\r\n})\r\nexport class ListForProductsModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\nimport { LimitPipeModule } from '@shared/core/pipes/limit';\r\nimport { SubNavModule } from '@shared/core/components/subNav';\r\nimport { HeadersModule } from '@shared/core/components/headers';\r\nimport { TileForOnlineMenuPageModule } from '@shared/core/components/tiles/tilesTypes/forOnlineMenuPage';\r\nimport { ShortMessageModule } from '@shared/core/components/shortMessage';\r\nimport { ListForProductsModule } from '../forProducts';\r\n\r\n\r\nimport { ListForOnlineMenuPagesComponent } from './list-for-online-menu-pages.shared.component';\r\n\r\n@NgModule({\r\n declarations: [\r\n ListForOnlineMenuPagesComponent\r\n ],\r\n imports: [\r\n CommonModule,\r\n HeadersModule,\r\n LimitPipeModule,\r\n ListForProductsModule,\r\n SubNavModule,\r\n TileForOnlineMenuPageModule,\r\n ShortMessageModule,\r\n ],\r\n exports: [\r\n ListForOnlineMenuPagesComponent\r\n ],\r\n})\r\nexport class ListForOnlineMenuPagesModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\nimport { OrderModule } from '@shared/core/modules/order';\r\nimport { RestrictionsForMenuModule } from '@shared/core/components/restrictions/types';\r\nimport { ListForOnlineMenuPagesModule } from '@shared/core/components/lists/listsTypes/forOnlineMenuPages';\r\n\r\nimport { LocationsForDetailsComponent } from './locations-for-details.shared.component';\r\n\r\n@NgModule({\r\n declarations: [\r\n LocationsForDetailsComponent,\r\n ],\r\n imports: [\r\n CommonModule,\r\n OrderModule,\r\n ListForOnlineMenuPagesModule,\r\n RestrictionsForMenuModule,\r\n ],\r\n exports: [\r\n LocationsForDetailsComponent,\r\n ],\r\n providers: [],\r\n})\r\nexport class LocationsForDetailsModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\nimport { IconModule } from '@shared/core/components/icon';\r\n\r\nimport { PickupStatusComponent } from './pickup-status.shared.component';\r\n\r\n@NgModule({\r\n declarations: [\r\n PickupStatusComponent\r\n ],\r\n imports: [\r\n CommonModule,\r\n IconModule,\r\n ],\r\n exports: [\r\n PickupStatusComponent\r\n ],\r\n providers: [],\r\n})\r\nexport class PickupStatusModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\nimport { IconModule } from '@shared/core/components/icon';\r\n\r\nimport { DistanceStatusComponent } from './distance-status.shared.component';\r\n\r\n@NgModule({\r\n declarations: [\r\n DistanceStatusComponent\r\n ],\r\n imports: [\r\n CommonModule,\r\n IconModule,\r\n ],\r\n exports: [\r\n DistanceStatusComponent\r\n ],\r\n providers: [],\r\n})\r\nexport class DistanceStatusModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\nimport { LabelsItemComponent } from './labels-item.shared.component';\r\n\r\nimport { IconModule } from '@shared/core/components/icon';\r\n\r\n@NgModule({\r\n declarations: [\r\n LabelsItemComponent\r\n ],\r\n imports: [\r\n CommonModule,\r\n IconModule,\r\n ],\r\n exports: [\r\n LabelsItemComponent\r\n ],\r\n})\r\nexport class LabelsItemModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\nimport { LabelsItemModule } from './labelsItem';\r\n\r\nimport { LabelsComponent } from './labels.shared.component';\r\n\r\n@NgModule({\r\n declarations: [\r\n LabelsComponent\r\n ],\r\n imports: [\r\n CommonModule,\r\n LabelsItemModule,\r\n ],\r\n exports: [\r\n LabelsComponent\r\n ],\r\n})\r\nexport class LabelsModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\nimport { ViewFieldActionModule } from '@shared/core/directives/viewFieldAction';\r\nimport { LoadersModule } from '@shared/core/components/loaders';\r\nimport { HeadersModule } from '@shared/core/components/headers';\r\nimport { ButtonsModule } from '@shared/core/components/buttons';\r\nimport { OpenStatusModule } from '@shared/core/components/openStatus';\r\nimport { ThumbsModule } from '@shared/core/components/thumbs';\r\nimport { PickupStatusModule } from '@shared/core/components/pickupStatus';\r\nimport { DistanceStatusModule } from '@shared/core/components/distanceStatus';\r\nimport { LabelsModule } from '@shared/core/components/labels';\r\n\r\nimport { TileForLocationComponent } from './tile-for-location.shared.component';\r\n\r\n@NgModule({\r\n declarations: [\r\n TileForLocationComponent\r\n ],\r\n imports: [\r\n CommonModule,\r\n ViewFieldActionModule,\r\n HeadersModule,\r\n LoadersModule,\r\n OpenStatusModule,\r\n PickupStatusModule,\r\n DistanceStatusModule,\r\n ButtonsModule,\r\n ThumbsModule,\r\n LabelsModule,\r\n ],\r\n exports: [\r\n TileForLocationComponent\r\n ],\r\n})\r\nexport class TileForLocationModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\nimport { LimitPipeModule } from '@shared/core/pipes/limit';\r\nimport { TileForLocationModule } from '@shared/core/components/tiles/tilesTypes/forLocation';\r\nimport { ButtonsModule } from '@shared/core/components/buttons';\r\nimport { ListForLocationsComponent } from './list-for-locations.shared.component';\r\n\r\n@NgModule({\r\n declarations: [\r\n ListForLocationsComponent\r\n ],\r\n imports: [\r\n CommonModule,\r\n LimitPipeModule,\r\n TileForLocationModule,\r\n ButtonsModule,\r\n ],\r\n exports: [\r\n ListForLocationsComponent\r\n ],\r\n})\r\nexport class ListForLocationsModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { ListForLocationsModule } from '@shared/core/components/lists/listsTypes/forLocations';\r\nimport { LinkModule } from '@shared/core/components/link';\r\nimport { HeadersModule } from '@shared/core/components/headers';\r\nimport { ProjectionModule } from '@shared/core/components/projection';\r\n\r\nimport { LocationsComponentsModule } from '../../components';\r\n\r\nimport { LocationsForIntroComponent } from './locations-for-intro.shared.component';\r\n\r\n\r\n@NgModule({\r\n declarations: [\r\n LocationsForIntroComponent,\r\n ],\r\n imports: [\r\n CommonModule,\r\n ListForLocationsModule,\r\n ProjectionModule,\r\n HeadersModule,\r\n LinkModule,\r\n LocationsComponentsModule,\r\n ],\r\n exports: [\r\n LocationsForIntroComponent,\r\n ],\r\n providers: [],\r\n})\r\nexport class LocationsForIntroModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\nimport { LottieDirectiveSharedModule } from '@shared/core/directives/lottie/lottie.directive.shared.module';\r\nimport { ListForLocationsModule } from '@shared/core/components/lists/listsTypes/forLocations';\r\nimport { HeadersModule } from '@shared/core/components/headers';\r\nimport { ProjectionModule } from '@shared/core/components/projection';\r\nimport { LocationsComponentsModule } from '../../components';\r\nimport { PickupLabelPipeModule } from '@shared/core/pipes/pickupLabel';\r\nimport { LocationsForSearchComponent } from './locations-for-search.shared.component';\r\n\r\n@NgModule({\r\n declarations: [\r\n LocationsForSearchComponent,\r\n ],\r\n imports: [\r\n CommonModule,\r\n ListForLocationsModule,\r\n HeadersModule,\r\n ProjectionModule,\r\n LocationsComponentsModule,\r\n PickupLabelPipeModule,\r\n LottieDirectiveSharedModule,\r\n ],\r\n exports: [\r\n LocationsForSearchComponent,\r\n ],\r\n})\r\nexport class LocationsForSearchModule { }\r\n","import { NgModule } from '@angular/core';\r\n\r\nimport { LocationsForDetailsModule } from './forDetails';\r\nimport { LocationsForIntroModule } from './forIntro';\r\nimport { LocationsForSearchModule } from './forSearch';\r\n\r\n@NgModule({\r\n declarations: [],\r\n imports: [\r\n LocationsForDetailsModule,\r\n LocationsForIntroModule,\r\n LocationsForSearchModule,\r\n ],\r\n exports: [\r\n LocationsForDetailsModule,\r\n LocationsForIntroModule,\r\n LocationsForSearchModule,\r\n ],\r\n providers: [],\r\n})\r\nexport class LocationsTypesModule { }\r\n","import { NgModule } from '@angular/core';\r\n\r\nimport { LocationsComponentsModule } from './components';\r\nimport { LocationsTypesModule } from './locationsTypes';\r\n\r\n@NgModule({\r\n declarations: [],\r\n imports: [\r\n LocationsTypesModule,\r\n LocationsComponentsModule,\r\n ],\r\n exports: [\r\n LocationsTypesModule,\r\n LocationsComponentsModule,\r\n ],\r\n providers: [],\r\n})\r\nexport class LocationsModule { }\r\n","export * from './locations.shared.module';\r\n","import { Directive, ElementRef, Input, OnChanges, AfterViewInit, OnDestroy } from '@angular/core';\r\n\r\nimport * as Utils from '@shared/core/utils';\r\n\r\nimport { Subscription, fromEvent } from 'rxjs';\r\nimport { filter } from 'rxjs/operators';\r\n\r\n@Directive({\r\n selector: '[directive-view-field-action]',\r\n})\r\nexport class ViewFieldActionDirective implements OnChanges, AfterViewInit, OnDestroy {\r\n private _init: boolean = false;\r\n private _dispatched: boolean = false;\r\n private _dispatchedWithoutTrigger: boolean = false;\r\n\r\n /**\r\n * Function to trigger\r\n */\r\n // eslint-disable-next-line @typescript-eslint/ban-types\r\n @Input() public action!: Function;\r\n /**\r\n * Function to trigger\r\n */\r\n // eslint-disable-next-line @typescript-eslint/ban-types\r\n @Input() public actionWithoutTrigger!: Function;\r\n /**\r\n * Funtion params\r\n */\r\n @Input() public params: Array = [];\r\n /**\r\n * Function context\r\n */\r\n @Input() public context: any = null;\r\n /**\r\n * External condition that action can be triggered - some components wait for additional data before they are fully loaded\r\n */\r\n @Input() public canTrigger: boolean = false;\r\n\r\n private _scrollListener$: Subscription;\r\n private _scrollWithoutTriggerListener$: Subscription;\r\n\r\n constructor(\r\n public elementRef: ElementRef,\r\n ) {}\r\n\r\n ngOnChanges(): void {\r\n this._dispatchHandler();\r\n this._dispatchHandlerWithoutTrigger();\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this._init = true;\r\n\r\n this._dispatchHandler();\r\n this._dispatchHandlerWithoutTrigger();\r\n\r\n if (!this._dispatched) {\r\n this._setupScrollListener();\r\n }\r\n\r\n if (!this._dispatchedWithoutTrigger) {\r\n this._setupScrollListenerWithoutTrigger();\r\n }\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this._unsubscribe();\r\n this._unsubscribeWithoutTrigger();\r\n }\r\n\r\n private _dispatchHandler(): void {\r\n if (this._canDispatch) {\r\n this.action.apply(this.context, (this.params instanceof Array) && this.params || [this.params]);\r\n this._unsubscribe();\r\n this._dispatched = true;\r\n }\r\n }\r\n\r\n private _dispatchHandlerWithoutTrigger(): void {\r\n if (this._canDispatchWithoutTrigger) {\r\n this.actionWithoutTrigger.apply(this.context, (this.params instanceof Array) && this.params || [this.params]);\r\n this._unsubscribeWithoutTrigger();\r\n this._dispatchedWithoutTrigger = true;\r\n }\r\n }\r\n\r\n private _setupScrollListener(): void {\r\n this._scrollListener$ = fromEvent(window, 'scroll')\r\n .pipe(\r\n filter(() => this._canDispatch === true),\r\n )\r\n .subscribe(this._dispatchHandler.bind(this));\r\n }\r\n\r\n private _setupScrollListenerWithoutTrigger(): void {\r\n this._scrollWithoutTriggerListener$ = fromEvent(window, 'scroll')\r\n .pipe(\r\n filter(() => this._canDispatchWithoutTrigger === true),\r\n )\r\n .subscribe(this._dispatchHandlerWithoutTrigger.bind(this));\r\n }\r\n\r\n private get _canDispatch(): boolean {\r\n return this._init &&\r\n !this._dispatched &&\r\n this.canTrigger &&\r\n typeof this.action === 'function' &&\r\n Utils.Scroll.isElementInWindowViewField(this.elementRef.nativeElement);\r\n }\r\n\r\n private get _canDispatchWithoutTrigger(): boolean {\r\n return this._init &&\r\n !this._dispatchedWithoutTrigger &&\r\n typeof this.actionWithoutTrigger === 'function' &&\r\n Utils.Scroll.isElementInWindowViewField(this.elementRef.nativeElement);\r\n }\r\n\r\n private _unsubscribe(): void {\r\n if (this._scrollListener$ && !this._scrollListener$.closed) this._scrollListener$.unsubscribe();\r\n }\r\n\r\n private _unsubscribeWithoutTrigger(): void {\r\n if (this._scrollWithoutTriggerListener$ && !this._scrollWithoutTriggerListener$.closed) this._scrollWithoutTriggerListener$.unsubscribe();\r\n }\r\n}\r\n","\r\n \r\n {{(locations$ | async)?.length > 1 ? 'Stores' : 'Store'}} available for\r\n {{(pickupFilter$ | async) | pickupLabel: 'filter'}}\r\n \r\n\r\n\r\n\r\n View all stores\r\n\r\n\r\n\r\n \r\n {{(locations$ | async)?.length !== 1 ? 'Locations' : 'Location'}}\r\n \r\n deliver to\r\n \r\n \r\n found {{(searchFilter$ | async) ? 'near' : ''}}\r\n \r\n {{searchFilter$ | async}}\r\n \r\n\r\n\r\n\r\n\r\n","import { Component, ChangeDetectionStrategy, OnInit, Input } from '@angular/core';\r\n\r\nimport { Controllers } from '@shared/core/controllers';\r\nimport { Observable } from 'rxjs';\r\nimport { ILocationBusinessModel } from '@shared/state';\r\n\r\n@Component({\r\n selector: 'shared-locations-search-headers',\r\n templateUrl: './locations-search-headers.shared.component.html',\r\n styleUrls: ['./locations-search-headers.shared.component.scss'],\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n})\r\nexport class LocationsSearchHeadersComponent implements OnInit {\r\n public headerType: OLO.Components.HEADER_TYPE = '3';\r\n\r\n @Input() public marginBottom: OLO.Components.MARGIN_SIZE = 'xlg';\r\n public locations$: Observable;\r\n public isLoadingLocations$: Observable;\r\n public appMode$: Observable;\r\n public pickupFilter$: Observable;\r\n public searchFilter$: Observable;\r\n public isDelivery$: Observable;\r\n public isFilteringByNearestLocation$: Observable;\r\n\r\n constructor(\r\n public controllers: Controllers\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.appMode$ = this.controllers.appSettings.appLocationMode$();\r\n this.locations$ = this.controllers.locations.locationsListByAppMode$(null);\r\n this.isLoadingLocations$ = this.controllers.locations.isLoadingLocations$();\r\n this.pickupFilter$ = this.controllers.filters.getLocationFilterSelectedPickupTime$();\r\n this.searchFilter$ = this.controllers.filters.getLocationsSearchInput$();\r\n this.isDelivery$ = this.controllers.collectionType.isDeliveryActive$();\r\n this.isFilteringByNearestLocation$ = this.controllers.filters.isFilteringByNearestLocation$();\r\n }\r\n\r\n public handleMoreStores($event: Event): void {\r\n this.controllers.filters.clearLocationsFilters();\r\n }\r\n\r\n public trackBy(index: number, location: ILocationBusinessModel): number {\r\n return location?.LocationNo || index;\r\n }\r\n}\r\n"]}