1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[2793],{170:function(e,t,o){o.r(t);o(47012),o(34204),o(35978),o(61773),o(1075),o(32195),o(1623),o(93142),o(15615),o(31538),o(43041),o(82336),o(45503),o(44546),o(51343),o(23e3),o(28835),o(96965),o(33960),o(40464),o(16481),o(97021);var n=o(41594),l=o.n(n),r=o(17191),i=o(68217),a=o(3495),u=o(52697),c=o(19181),d=o(63699),s=o(21833),f=o(24569),v=o(21254),p=o(53073);function m(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var n,l,r,i,a=[],u=!0,c=!1;try{if(r=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;u=!1}else for(;!(u=(n=r.call(o)).done)&&(a.push(n.value),a.length!==t);u=!0);}catch(e){c=!0,l=e}finally{try{if(!u&&null!=o.return&&(i=o.return(),Object(i)!==i))return}finally{if(c)throw l}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return b(e,t);var o={}.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?b(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function b(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=Array(t);o<t;o++)n[o]=e[o];return n}var g=(0,i.A)(function(e){var t,o,n;return{mobileFooter:{display:"block",position:"relative",paddingBottom:48},textCenter:{textAlign:"center"},foodMobileFooter:{marginTop:"50px",display:"block",paddingBottom:48,position:"relative","& a":{textDecoration:"none","&.call-info":{margin:"-28px 0 0 0",display:"inline-block","& svg":{color:null===e||void 0===e||null===(t=e.palette)||void 0===t||null===(t=t.common)||void 0===t?void 0:t.white,margin:"0 auto",display:"block",padding:"10px 8px",fontSize:"55px",borderRadius:"50%",backgroundColor:null===e||void 0===e||null===(o=e.palette)||void 0===o||null===(o=o.secondary)||void 0===o?void 0:o.main},"& div":{color:null===e||void 0===e||null===(n=e.palette)||void 0===n||null===(n=n.primary)||void 0===n?void 0:n.main,padding:"5px 8px",fontSize:"16px"}}}}}}),y=function(e){var t=e.mobileFooterData,o=e.brand,r=e.self,i=e.titles,b=e.close,y=e.legalData,h=e.isRecaptchaCheckoutEnabled,A=g(),_=m((0,n.useState)(!1),2),k=_[0],E=_[1],D=m((0,n.useState)(""),2),x=D[0],C=D[1],R=function(){C(i),E(!0)},S=function(){E(!!r&&b)};return function(){var e,n,r={},i=null===(e=d.A[null===o||void 0===o?void 0:o.code])||void 0===e?void 0:e.presentation_family,m="food"===i;if(null!==(n=t[0])&&void 0!==n&&null!==(n=n.footer_blocks)&&void 0!==n&&n.length){var b,g,_=null===(b=t[0])||void 0===b?void 0:b.footer_blocks,E=[],D=[],C=[];if(_.forEach(function(e){var t,o;C=(null===e||void 0===e||null===(t=e.footer_bottom_links)||void 0===t?void 0:t.link_group)||C,D=(null===e||void 0===e||null===(o=e.menu_group_links)||void 0===o?void 0:o.menu_group_link_ref)||D}),m&&D&&D.length>0)r.backgroundColor=null===(g=D[0].background_color)||void 0===g?void 0:g.color;C&&C.length>0&&(E=C.filter(function(e){return!0===e.popup}));var F=(null===_||void 0===_?void 0:_.find(function(e){return null===e||void 0===e?void 0:e.chat}))||{};return l().createElement("div",{className:m?A.foodMobileFooter:A.mobileFooter,style:r},m&&l().createElement(a.A,{container:!0},l().createElement(a.A,{item:!0,xs:12,className:A.textCenter},l().createElement(u.A,{component:"a",className:"call-info",href:"tel:1-877-455-7700"},l().createElement(c.A,null),l().createElement(u.A,{component:"div"},"Call")))),_.map(function(e,t){var o="mobileFooterBlock".concat(t);return l().createElement(f.A,{block:e,self:void 0,setDialog:S,setPopupTitle:R,key:o,bottomLinks:C,popUpData:E,openDialog:k,title:x,presentationFamily:i,chatBlock:F})}),l().createElement(v.A,{data:y}),l().createElement(p.A,{isRecaptchaCheckoutEnabled:h,legalData:y,brand:o}),l().createElement(s.A,null))}return l().createElement(l().Fragment,null)}()};y.defaultProps={mobileFooterData:[]},y.propTypes={mobileFooterData:(0,r.arrayOf)((0,r.shape)({footer_blocks:r.array.isRequired,locale:r.string.isRequired,title:r.string.isRequired,uid:r.string.isRequired}).isRequired),brand:r.object.isRequired,legalData:r.array.isRequired,isRecaptchaCheckoutEnabled:r.bool.isRequired},t.default=y},19181:function(e,t,o){var n=o(24994);t.A=void 0;var l=n(o(41594)),r=(0,n(o(51696)).default)(l.default.createElement("path",{d:"M20.01 15.38c-1.23 0-2.42-.2-3.53-.56-.35-.12-.74-.03-1.01.24l-1.57 1.97c-2.83-1.35-5.48-3.9-6.89-6.83l1.95-1.66c.27-.28.35-.67.24-1.02-.37-1.11-.56-2.3-.56-3.53 0-.54-.45-.99-.99-.99H4.19C3.65 3 3 3.24 3 3.99 3 13.28 10.73 21 20.01 21c.71 0 .99-.63.99-1.18v-3.45c0-.54-.45-.99-.99-.99z"}),"Call");t.A=r}}]); 2//# sourceMappingURL=MobileGraphqlFooter.17b2b24c.chunk.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.