(self.webpackChunkFusion=self.webpackChunkFusion||[]).push([["legacy-66823","legacy-22844","legacy-70660","legacy-32031","legacy-45493","legacy-3185"],{__fusion__573:function(t,e,r){"use strict";r.r(e);var n=r(53587),o=r(7392);function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var a=["title","titleId","size"];function l(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function c(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?l(Object(r),!0).forEach((function(e){u(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function u(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==i(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==i(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===i(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function f(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}var s=n.forwardRef((function(t,e){var r=t.title,n=void 0===r?"Arrow left":r,i=t.titleId,l=t.size,u=void 0===l?"1em":l,s=f(t,a);return(0,o.BX)("svg",c(c({width:u,height:u,viewBox:"0 0 24 24",fill:"none",ref:e,"aria-labelledby":i},s),{},{children:[void 0===n?(0,o.tZ)("title",{id:i,children:"Arrow left"}):n?(0,o.tZ)("title",{id:i,children:n}):null,(0,o.tZ)("path",{d:"M22 13.5H6.3l5.5 7.5H8.3l-6.5-9 6.5-9h3.5l-5.5 7.5H22v3Z",fill:"currentColor"})]}))}));e.default=s},__fusion__585:function(t,e,r){"use strict";r.r(e);var n=r(53587),o=r(7392);function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var a=["title","titleId","size"];function l(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function c(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?l(Object(r),!0).forEach((function(e){u(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function u(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==i(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==i(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===i(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function f(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}var s=n.forwardRef((function(t,e){var r=t.title,n=void 0===r?"Arrow right":r,i=t.titleId,l=t.size,u=void 0===l?"1em":l,s=f(t,a);return(0,o.BX)("svg",c(c({width:u,height:u,viewBox:"0 0 24 24",fill:"none",ref:e,"aria-labelledby":i},s),{},{children:[void 0===n?(0,o.tZ)("title",{id:i,children:"Arrow right"}):n?(0,o.tZ)("title",{id:i,children:n}):null,(0,o.tZ)("path",{d:"m22.2 12-6.5 9h-3.5l5.5-7.5H2v-3h15.7L12.2 3h3.5l6.5 9Z",fill:"currentColor"})]}))}));e.default=s},__fusion__890:function(t,e,r){"use strict";r.r(e);var n=r(53587),o=r(7392);function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var a=["title","titleId","size"];function l(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function c(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?l(Object(r),!0).forEach((function(e){u(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function u(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==i(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==i(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===i(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function f(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}var s=n.forwardRef((function(t,e){var r=t.title,n=void 0===r?"Player play":r,i=t.titleId,l=t.size,u=void 0===l?"1em":l,s=f(t,a);return(0,o.BX)("svg",c(c({width:u,height:u,viewBox:"0 0 24 24",fill:"none",ref:e,"aria-labelledby":i},s),{},{children:[void 0===n?(0,o.tZ)("title",{id:i,children:"Player play"}):n?(0,o.tZ)("title",{id:i,children:n}):null,(0,o.tZ)("path",{d:"M5 1.7 22.8 12 5 22.3V1.7Z",fill:"currentColor"})]}))}));e.default=s},__fusion__937:function(t,e,r){"use strict";r.r(e);var n=r(53587),o=r(7392);function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var a=["title","titleId","size"];function l(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function c(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?l(Object(r),!0).forEach((function(e){u(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function u(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==i(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==i(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===i(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function f(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}var s=n.forwardRef((function(t,e){var r=t.title,n=void 0===r?"Sound":r,i=t.titleId,l=t.size,u=void 0===l?"1em":l,s=f(t,a);return(0,o.BX)("svg",c(c({width:u,height:u,viewBox:"0 0 24 24",fill:"none",ref:e,"aria-labelledby":i},s),{},{children:[void 0===n?(0,o.tZ)("title",{id:i,children:"Sound"}):n?(0,o.tZ)("title",{id:i,children:n}):null,(0,o.tZ)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 1.2v3.1c3.4.9 6 4 6 7.8s-2.6 6.8-6 7.8V23c5.1-.9 9-5.4 9-10.8 0-5.6-3.9-10.1-9-11ZM17 12c0-2.1-1.2-3.8-3-4.6v9.2c1.8-.8 3-2.5 3-4.6ZM1 7h3.8L9 3h2v18H9l-4.2-4H1V7Z",fill:"currentColor"})]}))}));e.default=s},__fusion__938:function(t,e,r){"use strict";r.r(e);var n=r(53587),o=r(7392);function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var a=["title","titleId","size"];function l(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function c(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?l(Object(r),!0).forEach((function(e){u(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function u(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==i(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==i(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===i(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function f(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}var s=n.forwardRef((function(t,e){var r=t.title,n=void 0===r?"Sound off":r,i=t.titleId,l=t.size,u=void 0===l?"1em":l,s=f(t,a);return(0,o.BX)("svg",c(c({width:u,height:u,viewBox:"0 0 24 24",fill:"none",ref:e,"aria-labelledby":i},s),{},{children:[void 0===n?(0,o.tZ)("title",{id:i,children:"Sound off"}):n?(0,o.tZ)("title",{id:i,children:n}):null,(0,o.tZ)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 7h3.8L9 3h2v18H9l-4.2-4H1V7Zm20 0 2 2-3 3 3 3-2 2-3-3-3 3-2-2 3-3-3-3 2-2 3 3 3-3Z",fill:"currentColor"})]}))}));e.default=s},43890:function(t,e,r){"use strict";r.d(e,{Z:function(){return O}});var n=r(53587),o=r(22735);function i(t){return void 0===t?null:t}function a(t,e){if(t)return t[e]}var l=(0,r(89412).zo)("div",(function(t){var e=t.$theme,r=e.breakpoints,n=e.colors,l=e.typography,c=e.sizing,u=function(t,e){return t[e]},f=function(t){return c[t]||t},s=function(t){var e={},r=(0,o.Wf)(t);return{apply:function(t){var n=t.property,o=t.transform,a=void 0===o?function(t){return t}:o,l=t.value;null!=l&&(Array.isArray(l)?l.forEach((function(t,o){if(0!==o){var l=r[o-1];e[l]||(e[l]={}),e[l][n]=i(a(t))}else e[n]=i(a(t))})):e[n]=i(a(l)))},value:function(){return e}}}(r);return s.apply({property:"color",value:u(t,"$color"),transform:function(t){return n[t]||t}}),s.apply({property:"backgroundAttachment",value:u(t,"$backgroundAttachment")}),s.apply({property:"backgroundClip",value:u(t,"$backgroundClip")}),s.apply({property:"backgroundColor",value:u(t,"$backgroundColor"),transform:function(t){return n[t]||t}}),s.apply({property:"backgroundImage",value:u(t,"$backgroundImage")}),s.apply({property:"backgroundOrigin",value:u(t,"$backgroundOrigin")}),s.apply({property:"backgroundPosition",value:u(t,"$backgroundPosition")}),s.apply({property:"backgroundRepeat",value:u(t,"$backgroundRepeat")}),s.apply({property:"backgroundSize",value:u(t,"$backgroundSize")}),s.apply({property:"fontFamily",value:u(t,"$font"),transform:function(t){return a(l[t],"fontFamily")}}),s.apply({property:"fontWeight",value:u(t,"$font"),transform:function(t){return a(l[t],"fontWeight")}}),s.apply({property:"fontSize",value:u(t,"$font"),transform:function(t){return a(l[t],"fontSize")}}),s.apply({property:"lineHeight",value:u(t,"$font"),transform:function(t){return a(l[t],"lineHeight")}}),s.apply({property:"alignContent",value:u(t,"$alignContent")}),s.apply({property:"alignItems",value:u(t,"$alignItems")}),s.apply({property:"alignSelf",value:u(t,"$alignSelf")}),s.apply({property:"display",value:u(t,"$display")}),s.apply({property:"flex",value:u(t,"$flex")}),s.apply({property:"flexDirection",value:u(t,"$flexDirection")}),s.apply({property:"grid",value:u(t,"$grid")}),s.apply({property:"gridArea",value:u(t,"$gridArea")}),s.apply({property:"gridAutoColumns",value:u(t,"$gridAutoColumns")}),s.apply({property:"gridAutoFlow",value:u(t,"$gridAutoFlow")}),s.apply({property:"gridAutoRows",value:u(t,"$gridAutoRows")}),s.apply({property:"gridColumn",value:u(t,"$gridColumn")}),s.apply({property:"gridColumnEnd",value:u(t,"$gridColumnEnd")}),s.apply({property:"gridColumnGap",value:u(t,"$gridColumnGap"),transform:f}),s.apply({property:"gridColumnStart",value:u(t,"$gridColumnStart")}),s.apply({property:"gridGap",value:u(t,"$gridGap"),transform:f}),s.apply({property:"gridRow",value:u(t,"$gridRow")}),s.apply({property:"gridRowEnd",value:u(t,"$gridRowEnd")}),s.apply({property:"gridRowGap",value:u(t,"$gridRowGap"),transform:f}),s.apply({property:"gridRowStart",value:u(t,"$gridRowStart")}),s.apply({property:"gridTemplate",value:u(t,"$gridTemplate")}),s.apply({property:"gridTemplateAreas",value:u(t,"$gridTemplateAreas")}),s.apply({property:"gridTemplateColumns",value:u(t,"$gridTemplateColumns")}),s.apply({property:"gridTemplateRows",value:u(t,"$gridTemplateRows")}),s.apply({property:"justifyContent",value:u(t,"$justifyContent")}),s.apply({property:"justifyItems",value:u(t,"$justifyItems")}),s.apply({property:"justifySelf",value:u(t,"$justifySelf")}),s.apply({property:"order",value:u(t,"$order")}),s.apply({property:"position",value:u(t,"$position")}),s.apply({property:"width",value:u(t,"$width"),transform:f}),s.apply({property:"minWidth",value:u(t,"$minWidth"),transform:f}),s.apply({property:"maxWidth",value:u(t,"$maxWidth"),transform:f}),s.apply({property:"height",value:u(t,"$height"),transform:f}),s.apply({property:"minHeight",value:u(t,"$minHeight"),transform:f}),s.apply({property:"maxHeight",value:u(t,"$maxHeight"),transform:f}),s.apply({property:"overflowX",value:u(t,"$overflow"),transform:function(t){return"scrollX"===t?"scroll":null}}),s.apply({property:"overflowY",value:u(t,"$overflow"),transform:function(t){return"scrollY"===t?"scroll":null}}),s.apply({property:"overflow",value:u(t,"$overflow"),transform:function(t){return"scrollX"!==t&&"scrollY"!==t?t:null}}),s.apply({property:"margin",value:u(t,"$margin"),transform:f}),s.apply({property:"marginTop",value:u(t,"$marginTop"),transform:f}),s.apply({property:"marginRight",value:u(t,"$marginRight"),transform:f}),s.apply({property:"marginBottom",value:u(t,"$marginBottom"),transform:f}),s.apply({property:"marginLeft",value:u(t,"$marginLeft"),transform:f}),s.apply({property:"padding",value:u(t,"$padding"),transform:f}),s.apply({property:"paddingTop",value:u(t,"$paddingTop"),transform:f}),s.apply({property:"paddingRight",value:u(t,"$paddingRight"),transform:f}),s.apply({property:"paddingBottom",value:u(t,"$paddingBottom"),transform:f}),s.apply({property:"paddingLeft",value:u(t,"$paddingLeft"),transform:f}),s.apply({property:"placeContent",value:u(t,"$placeContent")}),s.apply({property:"placeItems",value:u(t,"$placeItems")}),s.apply({property:"placeSelf",value:u(t,"$placeSelf")}),s.apply({property:"flexWrap",value:u(t,"$flexWrap"),transform:function(){return"wrap"}}),s.apply({property:"top",value:u(t,"$top"),transform:f}),s.apply({property:"right",value:u(t,"$right"),transform:f}),s.apply({property:"left",value:u(t,"$left"),transform:f}),s.apply({property:"bottom",value:u(t,"$bottom"),transform:f}),s.apply({property:"textOverflow",value:u(t,"$textOverflow")}),s.apply({property:"whiteSpace",value:u(t,"$whiteSpace")}),s.value()}));l.displayName="StyledBlock";var c=r(62759),u=r(7392);function f(t){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var s=["forwardedRef","children","as","overrides","color","backgroundAttachment","backgroundClip","backgroundColor","backgroundImage","backgroundOrigin","backgroundPosition","backgroundRepeat","backgroundSize","font","alignContent","alignItems","alignSelf","flexDirection","display","flex","grid","gridArea","gridAutoColumns","gridAutoFlow","gridAutoRows","gridColumn","gridColumnEnd","gridColumnGap","gridColumnStart","gridGap","gridRow","gridRowEnd","gridRowGap","gridRowStart","gridTemplate","gridTemplateAreas","gridTemplateColumns","gridTemplateRows","justifyContent","justifyItems","justifySelf","order","position","width","minWidth","maxWidth","height","minHeight","maxHeight","overflow","margin","marginTop","marginRight","marginBottom","marginLeft","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","placeContent","placeItems","placeSelf","flexWrap","left","top","right","bottom","textOverflow","whiteSpace"];function p(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function d(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?p(Object(r),!0).forEach((function(e){y(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function y(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==f(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==f(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===f(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function m(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==e);c=!0);}catch(t){u=!0,o=t}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return b(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return b(t,e)}(t,e)||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(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function g(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}var v=function(t){var e=t.forwardedRef,r=t.children,n=t.as,o=void 0===n?"div":n,i=t.overrides,a=void 0===i?{}:i,f=t.color,p=t.backgroundAttachment,y=t.backgroundClip,b=t.backgroundColor,v=t.backgroundImage,h=t.backgroundOrigin,O=t.backgroundPosition,w=t.backgroundRepeat,S=t.backgroundSize,j=t.font,P=t.alignContent,k=t.alignItems,x=t.alignSelf,E=t.flexDirection,C=t.display,I=t.flex,$=t.grid,_=t.gridArea,A=t.gridAutoColumns,D=t.gridAutoFlow,T=t.gridAutoRows,Z=t.gridColumn,z=t.gridColumnEnd,L=t.gridColumnGap,R=t.gridColumnStart,M=t.gridGap,N=t.gridRow,B=t.gridRowEnd,U=t.gridRowGap,H=t.gridRowStart,F=t.gridTemplate,X=t.gridTemplateAreas,G=t.gridTemplateColumns,W=t.gridTemplateRows,V=t.justifyContent,Y=t.justifyItems,K=t.justifySelf,J=t.order,q=t.position,Q=t.width,tt=t.minWidth,et=t.maxWidth,rt=t.height,nt=t.minHeight,ot=t.maxHeight,it=t.overflow,at=t.margin,lt=t.marginTop,ct=t.marginRight,ut=t.marginBottom,ft=t.marginLeft,st=t.padding,pt=t.paddingTop,dt=t.paddingRight,yt=t.paddingBottom,mt=t.paddingLeft,bt=t.placeContent,gt=t.placeItems,vt=t.placeSelf,ht=t.flexWrap,Ot=t.left,wt=t.top,St=t.right,jt=t.bottom,Pt=t.textOverflow,kt=t.whiteSpace,xt=g(t,s),Et=m((0,c.jb)(a.Block,l),2),Ct=Et[0],It=Et[1];return(0,u.tZ)(Ct,d(d(d({ref:e,$as:o,$color:f,$backgroundAttachment:p,$backgroundClip:y,$backgroundColor:b,$backgroundImage:v,$backgroundOrigin:h,$backgroundPosition:O,$backgroundRepeat:w,$backgroundSize:S,$font:j,$alignContent:P,$alignItems:k,$alignSelf:x,$flexDirection:E,$display:C,$flex:I,$grid:$,$gridArea:_,$gridAutoColumns:A,$gridAutoFlow:D,$gridAutoRows:T,$gridColumn:Z,$gridColumnEnd:z,$gridColumnGap:L,$gridColumnStart:R,$gridGap:M,$gridRow:N,$gridRowEnd:B,$gridRowGap:U,$gridRowStart:H,$gridTemplate:F,$gridTemplateAreas:X,$gridTemplateColumns:G,$gridTemplateRows:W,$justifyContent:V,$justifyItems:Y,$justifySelf:K,$order:J,$position:q,$width:Q,$minWidth:tt,$maxWidth:et,$height:rt,$minHeight:nt,$maxHeight:ot,$overflow:it,$margin:at,$marginTop:lt,$marginRight:ct,$marginBottom:ut,$marginLeft:ft,$padding:st,$paddingTop:pt,$paddingRight:dt,$paddingBottom:yt,$paddingLeft:mt,$placeContent:bt,$placeItems:gt,$placeSelf:vt,$flexWrap:ht,$left:Ot,$top:wt,$right:St,$bottom:jt,$textOverflow:Pt,$whiteSpace:kt,"data-baseweb":"block"},xt),It),{},{children:r}))},h=n.forwardRef((function(t,e){return(0,u.tZ)(v,d(d({},t),{},{forwardedRef:e}))}));h.displayName="Block";var O=h},23369:function(t,e,r){"use strict";var n=r(53587),o=r(54620),i=r(45202),a=r(7392);function l(t){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var c=["$as","eventName","eventPayload","children","onClick"];function u(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function f(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?u(Object(r),!0).forEach((function(e){s(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function s(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==l(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==l(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===l(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function p(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}var d=n.forwardRef((function(t,e){var r=t.$as,n=t.eventName,l=t.eventPayload,u=t.children,s=t.onClick,d=p(t,c),y=(0,i.ZP)(),m=(0,o.v)((function(t){return"function"==typeof l?l(t):l}));return(0,a.tZ)(r,f(f({onClick:function(t){y(n,m),"function"==typeof s&&s(t)},ref:e},d),{},{children:u}))}));e.Z=d},77762:function(t,e,r){"use strict";var n=r(78204),o=r(71513),i=r(58660),a=r(28198),l=r(7392),c=(0,n.zo)("div",{width:"24px",height:"24px",display:"flex",position:"relative",alignItems:"center",justifyContent:"center"}),u={"0%":{width:"4px",height:"4px",opacity:.25},"75%":{width:"24px",height:"24px",opacity:0},"100%":{width:"24px",height:"24px",opacity:0}},f=(0,n.zo)("div",(function(t){return{borderRadius:"10px",backgroundColor:"white"===t.$color?t.$theme.colors.white:t.$theme.colors.positive,opacity:.15,animationName:u,animationDuration:"1500ms",animationIterationCount:"infinite",animationTimingFunction:"ease-in-out"}})),s=(0,n.zo)("div",(function(t){return{width:"4px",height:"4px",borderRadius:"2px",backgroundColor:"white"===t.$color?t.$theme.colors.white:t.$theme.colors.positive,position:"absolute",top:"50%",left:"50%",margin:"-2px 0 0 -2px"}})),p=(0,n.zo)(a.Z,{width:"24px",height:"24px"}),d={green:(0,i.pZ)(r(7479)),white:(0,i.pZ)(r(88462))};e.Z=(0,o.$j)((function(t){return{$isIos:t.device.isIOS}}))((function(t){return t.$isIos?(0,l.tZ)(p,{src:d[t.$color]}):(0,l.BX)(c,{role:"img",children:[(0,l.tZ)(s,{$color:t.$color}),(0,l.tZ)(f,{$color:t.$color})]})}))},98332:function(t,e,r){"use strict";var n=r(53587),o=r(75380),i=r(45202),a=r(82258);function l(t){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function c(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function u(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?c(Object(r),!0).forEach((function(e){f(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function f(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==l(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==l(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===l(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function s(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==e);c=!0);}catch(t){u=!0,o=t}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return p(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return p(t,e)}(t,e)||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 p(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}e.Z=function(t){var e,r,l,c=t.storeAd,f=t.itemAd,p=t.adAttributes,d=t.shouldLogImpression,y=(0,i.I0)(),m=(0,n.useMemo)((function(){return[0,.5]}),[]),b=s((0,o.T)({root:null,threshold:m}),2),g=b[0],v=b[1];c?l=c:f&&(l=f);var h=v||{},O=h.isIntersecting,w=h.intersectionRatio;(0,n.useEffect)((function(){var t,e,r,n,o,i;d&&l&&O&&y("ads:ads_impression",{adsAnalyticsEvent:u({adEventType:a.J.IMPRESSION,adImpressionUUID:null!==(t=l.impressionId)&&void 0!==t?t:"",adData:null!==(e=l.adData)&&void 0!==e?e:"",rank:null!==(r=Number(null==p?void 0:p.rank))&&void 0!==r?r:null,analyticsLabel:null!==(n=null==p?void 0:p.analyticsLabel)&&void 0!==n?n:"",collectionSize:null!==(o=Number(null==p?void 0:p.collectionSize))&&void 0!==o?o:null},null!=p&&null!==(i=p.clientDataMap)&&void 0!==i&&i.adFormat?{clientDataMap:{adFormat:p.clientDataMap.adFormat}}:{})},"ads_impression_".concat(l.impressionId))}),[d,O,l,y,null==p?void 0:p.rank,null==p?void 0:p.analyticsLabel,null==p?void 0:p.collectionSize,null==p||null===(e=p.clientDataMap)||void 0===e?void 0:e.adFormat]);var S=O&&w&&w>=.5;return(0,n.useEffect)((function(){var t;return l&&S&&(t=setTimeout((function(){var t,e,r,n,o,i;S&&y("ads:ads_viewable_impression",{adsAnalyticsEvent:u({adEventType:a.J.VIEWABLE_IMPRESSION,adImpressionUUID:null!==(t=l.impressionId)&&void 0!==t?t:"",adData:null!==(e=l.adData)&&void 0!==e?e:"",rank:null!==(r=Number(null==p?void 0:p.rank))&&void 0!==r?r:null,analyticsLabel:null!==(n=null==p?void 0:p.analyticsLabel)&&void 0!==n?n:"",collectionSize:null!==(o=Number(null==p?void 0:p.collectionSize))&&void 0!==o?o:null},null!=p&&null!==(i=p.clientDataMap)&&void 0!==i&&i.adFormat?{clientDataMap:{adFormat:p.clientDataMap.adFormat}}:{})},"ads_viewable_impression_".concat(l.impressionId))}),1e3)),function(){clearTimeout(t)}}),[S,l,y,null==p?void 0:p.rank,null==p?void 0:p.analyticsLabel,null==p?void 0:p.collectionSize,null==p||null===(r=p.clientDataMap)||void 0===r?void 0:r.adFormat]),{adsViewableImpressionRef:g}}},13149:function(t,e,r){"use strict";r.d(e,{TO:function(){return b},zx:function(){return v}});var n=r(39405),o=r(4429),i=r(62759),a=r(78204),l=r(7392),c=["overrides","isFullWidth","kind"];function u(t){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function f(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==e);c=!0);}catch(t){u=!0,o=t}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return s(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return s(t,e)}(t,e)||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 s(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function p(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function d(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function y(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?d(Object(r),!0).forEach((function(e){m(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function m(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==u(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===u(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var b=y(y({},n.TO),{},{action:"action",destructive:"destructive",monochromatic:"monochromatic"}),g=i.aO;function v(t){var e=function(t,e){var r=t.overrides,o=t.isFullWidth,a=(t.kind,p(t,c)),l={};return o&&(l=g(l,{BaseButton:{style:{width:"100%",boxSizing:"border-box"}}})),void 0!==t.shape&&t.shape!==n.X3.default||!e.componentDefaults.button.defaultShapeTypography||(l=g(l,{BaseButton:{style:y({},e.componentDefaults.button.defaultShapeTypography)}})),t.shape===n.X3.pill&&e.componentDefaults.button.pillShapeTypography&&(l=g(l,{BaseButton:{style:y({},e.componentDefaults.button.pillShapeTypography)}})),t.kind===b.action?(a.kind=void 0,t.disabled||(t.isSelected&&(l=g(l,{BaseButton:{style:{color:e.colors.buttonActionText,backgroundColor:e.colors.buttonActionFill}}})),l=g(l,{BaseButton:{style:{color:e.colors.buttonActionText,backgroundColor:e.colors.buttonActionFill,":hover":{backgroundColor:t.isLoading?e.colors.buttonActionActive:e.colors.buttonActionHover},":active":{backgroundColor:e.colors.buttonActionActive}}}}))):t.kind===b.monochromatic?(a.kind=void 0,t.disabled||(t.isSelected&&(l=g(l,{BaseButton:{style:{color:e.colors.contentPrimary,backgroundColor:e.colors.backgroundPrimary}}})),l=g(l,{BaseButton:{style:{color:e.colors.contentPrimary,backgroundColor:e.colors.backgroundPrimary,":hover":{backgroundColor:t.isLoading?e.colors.whiteActive:e.colors.whiteHover},":active":{backgroundColor:e.colors.whiteActive}}}}))):t.kind===b.destructive?(a.kind=void 0,t.disabled||(t.isSelected&&(l=g(l,{BaseButton:{style:{color:e.colors.contentNegative,backgroundColor:e.colors.buttonTertiarySelectedFill}}})),l=g(l,{BaseButton:{style:{color:e.colors.contentNegative,backgroundColor:e.colors.buttonTertiaryFill,":hover":{backgroundColor:t.isLoading?e.colors.buttonTertiaryActive:e.colors.buttonTertiaryHover},":active":{backgroundColor:e.colors.buttonTertiaryActive}}}}))):t.kind&&t.kind in n.TO&&(a.kind=t.kind),r&&(l=(0,i.aO)(l,r)),0===Object.keys(l).length?a:y(y({},a),{},{overrides:l})}(t,f((0,a.hQ)(),2)[1]);return(0,l.tZ)(o.Z,y({},e))}v.defaultProps={disabled:!1,isLoading:!1,isSelected:!1,kind:n.TO.primary,overrides:{},shape:n.X3.default,size:n.NO.default}},56499:function(t,e,r){"use strict";r.d(e,{CB:function(){return s},Mg:function(){return f},gD:function(){return d}});var n=r(78204),o=r(7392);function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==e);c=!0);}catch(t){u=!0,o=t}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return l(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return l(t,e)}(t,e)||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 l(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function c(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function u(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==i(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==i(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===i(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var f=(0,n.zo)("div",(function(t){t.$theme;return{width:t.$width,height:t.$height,background:t.$background}})),s=(0,n.zo)("div",(function(t){var e=t.$theme,r=t.$grow,n=t.$width,o=t.$height,i=t.$bgColor;return function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?c(Object(r),!0).forEach((function(e){u(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({width:n,height:o,background:e.colors[i||"backgroundPrimary"],flexShrink:0},r?{flexGrow:1}:{})})),p=(0,n.zo)("div",{display:"flex"}),d=function(t){var e,r=a((0,n.hQ)(),2)[1];return t.height?e=t.height:t.typography&&(e=r.typography[t.typography].fontSize),(0,o.BX)(p,{children:[(0,o.tZ)(f,{$width:t.width,$height:e,$background:t.background}),(0,o.tZ)(s,{$grow:!0,$bgColor:t.bgColor})]})}},5770:function(t,e,r){"use strict";var n=r(53587),o=r(97920),i=r(13149),a=r(28247),l=r(32500),c=r(45202),u=r(72236),f=r(42207),s=r(23622),p=r(93106),d=r(29947),y=r(82258),m=r(85308),b=r(7392);function g(t){return(g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function v(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */v=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",l=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function f(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),l=new _(n||[]);return o(a,"_invoke",{value:E(t,r,l)}),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=f;var p="suspendedStart",d="executing",y="completed",m={};function b(){}function h(){}function O(){}var w={};u(w,a,(function(){return this}));var S=Object.getPrototypeOf,j=S&&S(S(A([])));j&&j!==r&&n.call(j,a)&&(w=j);var P=O.prototype=b.prototype=Object.create(w);function k(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function x(t,e){function r(o,i,a,l){var c=s(t[o],t,i);if("throw"!==c.type){var u=c.arg,f=u.value;return f&&"object"==g(f)&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,a,l)}),(function(t){r("throw",t,a,l)})):e.resolve(f).then((function(t){u.value=t,a(u)}),(function(t){return r("throw",t,a,l)}))}l(c.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function E(e,r,n){var o=p;return function(i,a){if(o===d)throw new Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var l=n.delegate;if(l){var c=C(l,n);if(c){if(c===m)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===p)throw o=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var u=s(e,r,n);if("normal"===u.type){if(o=n.done?y:"suspendedYield",u.arg===m)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=y,n.method="throw",n.arg=u.arg)}}}function C(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,C(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;var i=s(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,m;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,m):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function I(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function $(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function _(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(I,this),this.reset(!0)}function A(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}throw new TypeError(g(e)+" is not iterable")}return h.prototype=O,o(P,"constructor",{value:O,configurable:!0}),o(O,"constructor",{value:h,configurable:!0}),h.displayName=u(O,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,O):(t.__proto__=O,u(t,c,"GeneratorFunction")),t.prototype=Object.create(P),t},e.awrap=function(t){return{__await:t}},k(x.prototype),u(x.prototype,l,(function(){return this})),e.AsyncIterator=x,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new x(f(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},k(P),u(P,c,"Generator"),u(P,a,(function(){return this})),u(P,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=A,_.prototype={constructor:_,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach($),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return l.type="throw",l.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],l=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=n.call(a,"catchLoc"),u=n.call(a,"finallyLoc");if(c&&u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,m):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),m},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),$(r),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;$(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:A(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),m}},e}function h(t,e,r,n,o,i,a){try{var l=t[i](a),c=l.value}catch(t){return void r(t)}l.done?e(c):Promise.resolve(c).then(n,o)}function O(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function w(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?O(Object(r),!0).forEach((function(e){S(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):O(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function S(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==g(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==g(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===g(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function j(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==e);c=!0);}catch(t){u=!0,o=t}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return P(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return P(t,e)}(t,e)||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 P(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}e.Z=function(t){var e=t.children,r=t.surface,g=t.action,O=t.actionTrackingID,S=t.leadingIcon,P=t.trailingIcon,k=t.analytics,x=t.buttonType,E=void 0===x?{}:x,C=t.setActionStatus,I=t.storeAd,$=t.collectionSize,_=void 0===$?1:$,A=t.onClick,D=(0,c.ZP)(),T=(0,c.XL)(),Z=(0,d.d)(),z=(0,u.Z)(),L=(0,o.k6)(),R=(0,s.Z)({openInNewTab:!0}),M=j((0,n.useState)(""),2),N=M[0],B=M[1],U=(0,l.Z)({surface:r,analytics:k,action:g,setButtonStatus:B,setActionStatus:C}),H=U.eaterMessageActionLink,F=U.eaterMessageActionCallback,X=(0,m.z)({collectionSize:_}),G=H.linkTo,W=H.linkType;if("static"===W)return(0,b.tZ)(b.HY,{children:e});var V="LOADING"===N,Y={eaterMessage:w(w({},k),{},{actionTrackingID:O||"",surface:r,linkType:W},k.promoUuid?function(){var t=void 0;switch(k.itemType){case"promotionContent":t=a.y8.CCC;break;case"standardContent":t=a.y8.INTERSTITIAL}return{promotionSource:t}}():{}),diningMode:Z},K="platformIcon"===(null==S?void 0:S.type)?(0,f.i7)(S.platformIcon):null,J="platformIcon"===(null==P?void 0:P.type)?(0,f.i7)(P.platformIcon):null,q=K?function(){return(0,b.tZ)(K.icon,w({},K.options))}:null,Q=J?function(){return(0,b.tZ)(J.icon,w({},J.options))}:null,tt=function(){var t=function(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){h(i,n,o,a,l,"next",t)}function l(t){h(i,n,o,a,l,"throw",t)}a(void 0)}))}}(v().mark((function t(e){var r,n,o;return v().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.stopPropagation(),e.preventDefault(),null==A||A(),O&&z.set(O),!I){t.next=7;break}return t.next=7,T("ads:ads_click",{adsAnalyticsEvent:{adEventType:y.J.CLICK,adImpressionUUID:null!==(r=I.impressionId)&&void 0!==r?r:"",adData:null!==(n=I.adData)&&void 0!==n?n:"",rank:null!==(o=Number(null==k?void 0:k.position))&&void 0!==o?o:null,collectionSize:_,clientDataMap:X}});case 7:return t.next=9,T("eats:eater_message_click",Y);case 9:R((0,p.mZy)(G));case 10:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),et=function(t){return(0,b.tZ)(i.zx,w(w({},E),{},{startEnhancer:q,endEnhancer:Q,onClick:t,isLoading:V,isFullWidth:!0,children:e}))};return W===a.$2.EXTERNAL||W===a.$2.GROCERY?et(tt):et((function(t){var e,r,n;(t.stopPropagation(),t.preventDefault(),null==A||A(),O&&z.set(O),I)&&D("ads:ads_click",{adsAnalyticsEvent:{adEventType:y.J.CLICK,adImpressionUUID:null!==(e=I.impressionId)&&void 0!==e?e:"",adData:null!==(r=I.adData)&&void 0!==r?r:"",rank:null!==(n=Number(null==k?void 0:k.position))&&void 0!==n?n:null,collectionSize:_,clientDataMap:X}});D("eats:eater_message_click",Y),F&&F(),G.pathname&&L.push(G)}))}},17507:function(t,e,r){"use strict";r.d(e,{Z:function(){return En}});var n=r(81201),o=r(4232),i=r(9783),a=r(98332),l=r(6950),c=r(78204),u=r(22345),f=r(53587),s=r(73725);function p(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==e);c=!0);}catch(t){u=!0,o=t}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return d(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return d(t,e)}(t,e)||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 d(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var y=r(24748),m=r(33315),b=r("__fusion__487"),g=r(73919),v=r(65740);function h(t){var e=t||{},r=e.overlayOpacity,n=e.url,o=e.responsiveImagesByFormat,i=n||"",a=i.endsWith(".json"),l=r||0;return{imageUrl:i,responsiveImagesByFormat:o,imageOverlayOpacity:l,imageIsLottieAnimation:a,imageOverlayOpacityPercentage:l/100}}var O=r(7544),w=r(53134),S=r(71250),j=r(7392);var P=function(t){var e=t.image,r=t.surface,n=t.type,o=h(e),a=o.imageUrl,l=o.imageIsLottieAnimation,c=o.imageOverlayOpacityPercentage,u=(0,O.Z)("eater_message_image_proc_config"),f=u.ALLOWED_IMAGE_FORMATS,s=u.ALLOWED_SURFACES,p=u.PROC_SIZES,d=a.slice(a.lastIndexOf(".")+1),y=Boolean(f.includes(d)&&s.includes(r)&&p[n]);return(0,j.BX)(j.HY,{children:[l?(0,j.tZ)(i.VH,{children:(0,j.tZ)(v.Z,{animationUrl:a,preserveAspectRatio:"xMidYMid slice",loop:!0})}):(0,j.tZ)(S.Z,{condition:y,wrapper:function(t){var e,r;return(0,j.tZ)(w.Z,{src:a,width:null===(e=p[n])||void 0===e?void 0:e.WIDTH,height:null===(r=p[n])||void 0===r?void 0:r.HEIGHT,isBackgroundColorTransparent:"png"===d,children:t})},children:(0,j.tZ)(i.Xd,{src:a})}),c?(0,j.tZ)(i.ZL,{$opacity:c}):null]})},k=r(61155);function x(t){return(x="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function E(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function C(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==x(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==x(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===x(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var I=(0,c.zo)("div",(function(t){var e=t.$backgroundColor;return function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?E(Object(r),!0).forEach((function(e){C(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):E(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({position:"absolute",top:0,left:0,right:0,bottom:0,display:"flex"},e?{background:e}:{})})),$=(0,c.zo)("div",(function(t){return{position:"relative",padding:t.$theme.sizing.scale600,flex:"1 1 0",height:"100%",boxSizing:"border-box",display:"flex",flexDirection:"column",alignItems:"flex-start",justifyContent:"space-between"}})),_=(0,c.zo)("div",(function(t){return{position:"relative",flex:"none",width:t.$cardStyles.getLayoutSize().splitImageAspectRatio}}));var A=function(t){var e=t.template,r=t.surface,n=t.card,o=n.backgroundImage,a=n.trailingImage,c=n.backgroundColor,d=n.textColor,v=n.isBackgroundDark,h=n.title,O=n.subtitle,w=n.cta,S=n.eyebrowRichText,x=t.cardStyles,E=t.renderSecondaryCta,C=function(t,e){var r=(0,f.useRef)(null!=e?e:null),n=p((0,f.useState)(0),2),o=n[0],i=n[1];return(0,s.Z)()((function(){u.Z?function(){var t=r.current;if(null!=t&&t.clientHeight){var e=u.Z&&u.Z.getComputedStyle(t,null);if(e){var n=function(t){return parseInt(e.getPropertyValue(t),10)},o=n("line-height"),a=t.clientHeight-n("padding-top")-n("padding-bottom");i(Math.round(a/o))}else i(-1)}else i(-1)}():i(-1)}),[t]),{containerRef:r,numOfTextlines:o}}((0,m.N8)().cardLimit),A=C.containerRef,D=C.numOfTextlines,T=(0,y.Z)(),Z=Boolean(v),z=(null==w?void 0:w.text)||"",L=Boolean(null==S?void 0:S.richTextElements);return(0,j.BX)(I,{$backgroundColor:T({color:c}),children:[null!=o&&o.url?(0,j.tZ)(P,{image:o,surface:r,type:"FULLWIDTH"}):null,(0,j.BX)($,{"data-testid":"eater-message-card",children:[(0,j.BX)(i.h,{$width:null!=a&&a.url?100:85,children:[L?(0,j.tZ)(i.FD,{children:(0,j.tZ)(k.ZP,{text:S,__font:{style:"LABEL_X_SMALL",weight:"MEDIUM"}})}):null,h?(0,j.tZ)(i.ll,{$color:T({color:d}),$isContentWhite:Z,$fontSizeLevel:1,$cardStyles:x,children:(0,j.tZ)(l.Z,{clamp:(0,g.DB)({template:e,eyebrowLines:Number(L),subtitleLines:Math.max(D,0),ctaLines:Number(Boolean(z))}),children:(0,j.tZ)(b.default,{content:h,options:{overrides:{p:{component:"span"}}}})})}):null,O?(0,j.tZ)(i._R,{ref:A,$color:T({color:d}),$isContentWhite:Z,$cardStyles:x,children:(0,j.tZ)(l.Z,{clamp:(0,g.zy)({template:e}),children:O})}):null]}),z?(0,j.tZ)(i.tE,{$isCta:!0,$cardStyles:x,$backgroundColor:T({color:null==w?void 0:w.backgroundColor}),$color:T({color:null==w?void 0:w.textColor}),children:(0,j.tZ)(l.Z,{clamp:1,children:z})}):null]}),null!=a&&a.url?(0,j.tZ)(_,{$cardStyles:x,children:(0,j.tZ)(P,{image:a,surface:r,type:"SPLIT"})}):null,E&&E()]})},D=r(49020),T=r(29686),Z=r(71497),z=r(85308);function L(t){return(L="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function R(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function M(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?R(Object(r),!0).forEach((function(e){N(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):R(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function N(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==L(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==L(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===L(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var B=function(t){var e=t.template,r=t.surface,n=t.card,o=t.cardStyles,l=t.collectionSize,c=t.analyticsData,u=(0,Z.ip)(M(M({},D.k.feed_desktop_billboard_floaty_arrows_flag),{},{defaultValue:!1})),f=(0,T.hU)().isMobile,s=(0,a.Z)({storeAd:null==n?void 0:n.storeAd,adAttributes:{rank:null==c?void 0:c.position,collectionSize:l,clientDataMap:(0,z.z)({collectionSize:l})},shouldLogImpression:!0}).adsViewableImpressionRef;return(0,j.tZ)(i.UK,{$cardStyles:o,$minHeight:u&&!f?"0px":o.getLayoutSize().minHeight,ref:s,children:(0,j.tZ)(A,{template:e,surface:r,card:n,cardStyles:o})})},U=3600,H=86400,F=function(t){return t<0?"00":t.toString().padStart(2,"0")},X=r(28992);function G(t){return(G="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var W=/\.(mp4|og[gv]|webm|mov|m4v)(#t=[,\d+]+)?($|\?)/i,V={html:function t(e){return e instanceof Array?e.some((function(e){return"object"===G(e)&&t(e)})):W.test(e.src)}},Y=(0,r(50511).Z)({playing:null,paused:null,ended:null,unstarted:null});function K(t){return(K="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function J(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function q(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==K(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==K(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===K(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Q(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Q=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",l=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function f(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),l=new I(n||[]);return o(a,"_invoke",{value:k(t,r,l)}),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=f;var p="suspendedStart",d="executing",y="completed",m={};function b(){}function g(){}function v(){}var h={};u(h,a,(function(){return this}));var O=Object.getPrototypeOf,w=O&&O(O($([])));w&&w!==r&&n.call(w,a)&&(h=w);var S=v.prototype=b.prototype=Object.create(h);function j(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function P(t,e){function r(o,i,a,l){var c=s(t[o],t,i);if("throw"!==c.type){var u=c.arg,f=u.value;return f&&"object"==K(f)&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,a,l)}),(function(t){r("throw",t,a,l)})):e.resolve(f).then((function(t){u.value=t,a(u)}),(function(t){return r("throw",t,a,l)}))}l(c.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=p;return function(i,a){if(o===d)throw new Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var l=n.delegate;if(l){var c=x(l,n);if(c){if(c===m)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===p)throw o=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var u=s(e,r,n);if("normal"===u.type){if(o=n.done?y:"suspendedYield",u.arg===m)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=y,n.method="throw",n.arg=u.arg)}}}function x(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,x(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;var i=s(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,m;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,m):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function C(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function $(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}throw new TypeError(K(e)+" is not iterable")}return g.prototype=v,o(S,"constructor",{value:v,configurable:!0}),o(v,"constructor",{value:g,configurable:!0}),g.displayName=u(v,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===g||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,v):(t.__proto__=v,u(t,c,"GeneratorFunction")),t.prototype=Object.create(S),t},e.awrap=function(t){return{__await:t}},j(P.prototype),u(P.prototype,l,(function(){return this})),e.AsyncIterator=P,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new P(f(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},j(S),u(S,c,"Generator"),u(S,a,(function(){return this})),u(S,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=$,I.prototype={constructor:I,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(C),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return l.type="throw",l.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],l=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=n.call(a,"catchLoc"),u=n.call(a,"finallyLoc");if(c&&u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,m):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),m},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),C(r),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;C(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:$(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),m}},e}function tt(t,e,r,n,o,i,a){try{var l=t[i](a),c=l.value}catch(t){return void r(t)}l.done?e(c):Promise.resolve(c).then(n,o)}var et=[{key:"html",name:"HtmlPlayer",canPlay:V.html,player:(0,f.forwardRef)((function(t,e){var r=t.url,n=t.width,o=t.height,i=t.autoPlay,a=t.loop,l=t.controls,c=t.muted,u=t.playsInline,s=t.onReady,p=t.onPlay,d=t.onPause,y=t.onEnded,m=t.onError,b=t.onProcess,g=(0,f.useRef)(null);(0,f.useImperativeHandle)(e,(function(){return{play:function(){return function(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){tt(i,n,o,a,l,"next",t)}function l(t){tt(i,n,o,a,l,"throw",t)}a(void 0)}))}}(Q().mark((function t(){return Q().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(t.prev=0,!g.current){t.next=4;break}return t.next=4,g.current.play();case 4:t.next=9;break;case 6:t.prev=6,t.t0=t.catch(0),m(null!==t.t0&&void 0!==t.t0&&t.t0.message?t.t0.message:"Failed to play video.");case 9:case"end":return t.stop()}}),t,null,[[0,6]])})))()},pause:function(){var t;null===(t=g.current)||void 0===t||t.pause()},mute:function(){g.current&&(g.current.muted=!0)},unmute:function(){g.current&&(g.current.muted=!1)},getVideoState:function(){return g.current?g.current.paused?Y.paused:g.current.ended?Y.ended:Y.playing:Y.unstarted}}})),(0,f.useEffect)((function(){g.current&&c&&(g.current.defaultMuted=!0)}),[c]),(0,f.useEffect)((function(){var t=g.current;if(t){var e=function(t){var e,r=t.target.error;m("".concat(null!==(e=null==r?void 0:r.code)&&void 0!==e?e:0,"-").concat((null==r?void 0:r.message)||"unknown error."))},r=function(){g.current&&b({currentTime:g.current.currentTime,duration:g.current.duration})};return t.addEventListener("canplay",s),t.addEventListener("play",p),t.addEventListener("pause",d),t.addEventListener("ended",y),t.addEventListener("error",e),t.addEventListener("timeupdate",r),function(){t.removeEventListener("canplay",s),t.removeEventListener("play",p),t.removeEventListener("pause",d),t.removeEventListener("ended",y),t.removeEventListener("error",e),t.removeEventListener("timeupdate",r)}}}),[s,p,d,y,m,b]);var v=r instanceof Array;return(0,j.tZ)("video",{"data-testid":"video-html-player",ref:g,src:v?void 0:r.src,width:n,height:o,autoPlay:i,loop:a,controls:l,muted:c,playsInline:u,children:v?r.map((function(t,e){return(0,j.tZ)("source",function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?J(Object(r),!0).forEach((function(e){q(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):J(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({},t),e)})):null})}))}];function rt(t){return(rt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var nt=["activePlayer"];function ot(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function it(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?ot(Object(r),!0).forEach((function(e){at(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ot(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function at(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==rt(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==rt(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===rt(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function lt(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==e);c=!0);}catch(t){u=!0,o=t}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return ct(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ct(t,e)}(t,e)||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 ct(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function ut(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}var ft=function(t){var e=t.activePlayer,r=ut(t,nt),n=r.playing,o=r.muted,i=r.loop,a=r.onReady,l=r.onEnded,c=r.onError,u=(0,f.useRef)(null),s=lt((0,f.useState)(!1),2),p=s[0],d=s[1];(0,f.useEffect)((function(){u.current&&(p&&n?n&&u.current.getVideoState()!==Y.playing&&u.current.play():u.current.pause())}),[n,p]),(0,f.useEffect)((function(){var t,e;o?null===(t=u.current)||void 0===t||t.mute():null===(e=u.current)||void 0===e||e.unmute()}),[o]);var y=(0,f.useCallback)((function(){d(!0),a()}),[a]),m=(0,f.useCallback)((function(){i||l()}),[i,l]),b=(0,f.useCallback)((function(t){d(!1),c(t)}),[c]);return e?(0,j.tZ)(e,it(it({ref:u},r),{},{onReady:y,onEnded:m,onError:b})):null},st=r(77330);function pt(t){return(pt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function dt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function yt(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?dt(Object(r),!0).forEach((function(e){mt(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):dt(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function mt(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==pt(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==pt(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===pt(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var bt={url:{src:"",type:"external"},height:"100%",width:"100%",playing:!1,autoPlay:!0,loop:!1,controls:!1,muted:!0,playsInline:!0,fallback:null,onReady:st.Z,onPlay:st.Z,onPause:st.Z,onEnded:st.Z,onError:st.Z,onProcess:st.Z},gt=function(t){var e=yt(yt({},bt),t),r=e.url,n=e.fallback,o=et.find((function(t){return t.canPlay(r)}));return o?(0,f.createElement)(ft,yt(yt({},e),{},{key:o.key,activePlayer:o.player})):n},vt=X.memo(gt),ht=r(28198),Ot=r(81957),wt=(0,c.zo)("button",(function(t){var e=t.$size,r=t.$backgroundColor,n=t.$theme;return{height:"".concat(e,"px"),width:"".concat(e,"px"),backgroundColor:r,display:"flex",alignItems:"center",justifyContent:"center",borderRadius:n.borders.radiusFull}})),St=r("__fusion__937"),jt=r("__fusion__938");function Pt(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==e);c=!0);}catch(t){u=!0,o=t}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return kt(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return kt(t,e)}(t,e)||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 kt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var xt=(0,c.Le)(wt,(function(t){return function(e){var r=e.isMuted,n=e.onClick,o=e.size,i=Pt((0,c.hQ)(),2),a=(i[0],i[1]),l=r?jt.default:St.default;return(0,j.tZ)(t,{$size:o||36,$backgroundColor:(0,Ot.uE)(a.colors.backgroundAlwaysDark,.4),onClick:n,children:(0,j.tZ)(l,{size:16,color:a.colors.contentOnColor})})}})),Et=r("__fusion__890");function Ct(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==e);c=!0);}catch(t){u=!0,o=t}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return It(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return It(t,e)}(t,e)||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 It(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var $t=(0,c.Le)(wt,(function(t){return function(e){var r=e.onClick,n=e.size,o=Ct((0,c.hQ)(),2),i=(o[0],o[1]);return(0,j.tZ)(t,{$size:n||50,$backgroundColor:i.colors.backgroundAlwaysLight,onClick:r,children:(0,j.tZ)(Et.default,{size:20})})}})),_t=r(82258),At=r(45202),Dt=r(75380);function Tt(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==e);c=!0);}catch(t){u=!0,o=t}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return Zt(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Zt(t,e)}(t,e)||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 Zt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var zt=function(t){var e=t.halfViewCallback,r=t.fullViewCallback,n=(0,f.useMemo)((function(){return[.5,1]}),[]),o=Tt((0,Dt.T)({root:null,threshold:n}),2),i=o[0],a=o[1]||{},l=a.isIntersecting,c=a.intersectionRatio;return(0,f.useEffect)((function(){e&&e(Boolean(l)&&"number"==typeof c&&c>=.5)}),[e,l,c]),(0,f.useEffect)((function(){r&&r(Boolean(l)&&"number"==typeof c&&c>=1)}),[r,l,c]),{intersectionRef:i}};function Lt(t){return(Lt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Rt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Mt(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Rt(Object(r),!0).forEach((function(e){Nt(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Rt(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Nt(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Lt(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==Lt(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===Lt(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Bt(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==e);c=!0);}catch(t){u=!0,o=t}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return Ut(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Ut(t,e)}(t,e)||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 Ut(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var Ht=[.25,.5,.75,1],Ft=[0,2,3,6];function Xt(t){return(Xt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Gt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Wt(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Xt(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==Xt(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===Xt(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Vt=(0,c.zo)("div",(function(t){var e=t.$aspectRatio;return{position:"relative",width:"100%",":before":{display:"block",content:'""',width:"100%",paddingTop:"".concat(e,"%")}}})),Yt=(0,c.zo)("div",{position:"absolute",top:0,left:0,width:"100%",height:"100%"}),Kt=(0,c.w1)($t,{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)"}),Jt=(0,c.w1)(xt,{position:"absolute",bottom:"12px",right:"12px"}),qt=(0,c.zo)("div",(function(t){var e=t.$theme;return function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Gt(Object(r),!0).forEach((function(e){Wt(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Gt(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({position:"absolute",top:"12px",left:"12px",color:e.colors.contentOnColor},e.typography.LabelXSmall)})),Qt=(0,c.zo)(ht.Z,(function(t){return{position:"absolute",top:0,left:0,width:"100%",height:"100%",objectFit:"cover",opacity:t.$display?1:0,transition:"opacity 0.3s ease"}})),te=function(t){var e,r=t.video,n=r.height,o=r.width,i=r.url,a=r.startThumbnail,l=r.endThumbnail,c=r.autoplayDelayInMilliseconds,u=r.durationInMilliseconds,s=t.storeAd,p=t.surface,d=t.analyticsData,y="number"==typeof n&&"number"==typeof o?n/o*100:56.25,m="number"==typeof u?Math.floor(u/1e3):0,b="number"==typeof c?c:1e3,g=null!=d?d:{uuid:""},v=g.uuid,h=g.position,O=null!=i?i:"",w=function(t){var e=t.uuid,r=t.url,n=t.impressionUuid,o=t.position,i=t.autoplayDelayInMilliseconds,a=t.durationInSeconds,l=t.storeAd,c=t.surface,u=(0,At.I0)(),s=(0,At.ZP)(),p=(0,f.useMemo)((function(){return{uuid:e,surface:c}}),[e,c]),d=(0,f.useMemo)((function(){return{url:r,impressionUuid:n,durationInSeconds:a}}),[r,n,a]),y=Bt((0,f.useState)(-1),2),m=y[0],b=y[1],g=Bt((0,f.useState)(!1),2),v=g[0],h=g[1],O=Bt((0,f.useState)(!1),2),w=O[0],S=O[1],j=Bt((0,f.useState)(!0),2),P=j[0],k=j[1],x=Bt((0,f.useState)(!0),2),E=x[0],C=x[1],I=function(t){return t.reduce((function(t,e){return t[e]=!1,t}),{})},$=(0,f.useRef)(I(Ht)),_=(0,f.useRef)(I(Ft)),A=(0,f.useRef)(Date.now()),D=(0,f.useCallback)((function(t){t||w||!v||h(!1)}),[w,v]),T=(0,f.useCallback)((function(t){t&&(E?setTimeout((function(){h(!0)}),i):w||v||h(!0))}),[w,v,E,i]),Z=zt({halfViewCallback:D,fullViewCallback:T}).intersectionRef,L=(0,f.useCallback)((function(t){s("eats:video_error",{eaterMessage:p,video:d,error:t})}),[p,d,s]),R=(0,f.useCallback)((function(){b(0),s("eats:video_ended",{eaterMessage:p,video:d}),setTimeout((function(){b(-1),h(!1),S(!0),$.current=I(Ht),_.current=I(Ft)}),100)}),[p,d,s]),M=(0,f.useCallback)((function(){E&&s("eats:video_load_time",{eaterMessage:p,video:Mt(Mt({},d),{},{data:String(Date.now()-A.current)})})}),[E,p,d,s]),N=(0,f.useCallback)((function(){E&&(C(!1),s("eats:time_elapsed_before_video_played",{eaterMessage:p,video:Mt(Mt({},d),{},{data:String(Date.now()-A.current)})}))}),[E,p,d,s]),B=(0,f.useCallback)((function(t){var e,r=t.currentTime,n=t.duration;b(Math.floor(n)-Math.floor(r)),Ft.forEach((function(t){r>=t&&!_.current[t]&&(_.current[t]=!0,s("eats:video_watched_second",{eaterMessage:p,video:Mt(Mt({},d),{},{data:String(t)})}))})),Ht.forEach((function(t){(r/n>=t||r>=d.durationInSeconds)&&!$.current[t]&&($.current[t]=!0,s("eats:video_watched_percentage",{eaterMessage:p,video:Mt(Mt({},d),{},{data:String(t)})}))})),r>2&&u("ads:ads_video_view",{eaterMessage:p,adsAnalyticsEvent:{adEventType:_t.J.VIDEO_VIEW,adImpressionUUID:d.impressionUuid,adData:null!==(e=null==l?void 0:l.adData)&&void 0!==e?e:"",rank:o,collectionSize:1,clientDataMap:(0,z.z)({collectionSize:1,isVideo:!0})}},"ads_video_view".concat(d.impressionUuid))}),[u,s,o,null==l?void 0:l.adData,p,d]);return{halfViewCallback:D,fullViewCallback:T,intersectionRef:Z,initial:E,playing:v,played:m,muted:P,ended:w,onError:L,onEnded:R,onReady:M,onPlay:N,onProcess:B,onPlayButtonClick:function(t){t.preventDefault(),t.stopPropagation(),S(!1),h(!0),s("eats:video_replay_button_click",{eaterMessage:p,video:d})},onSoundButtonClick:function(t){t.preventDefault(),t.stopPropagation(),k((function(t){return!t})),s("eats:video_audio_button_click",{eaterMessage:p,video:Mt(Mt({},d),{},{data:P?"1":"0"})})}}}({uuid:v,url:O,impressionUuid:null!==(e=null==s?void 0:s.impressionId)&&void 0!==e?e:"",position:h,autoplayDelayInMilliseconds:b,durationInSeconds:m,storeAd:s,surface:p}),S=w.onPlay,P=w.onReady,k=w.onEnded,x=w.onError,E=w.onProcess,C=w.onSoundButtonClick,I=w.onPlayButtonClick,$=w.playing,_=w.muted,A=w.played,D=w.initial,T=w.ended,Z=w.intersectionRef;return(0,j.tZ)(Vt,{$aspectRatio:y,ref:Z,children:(0,j.BX)(Yt,{children:[(0,j.tZ)(vt,{url:{src:O||"",type:"video/mp4"},playing:$,muted:_,onEnded:k,onProcess:E,onError:x,onReady:P,onPlay:S}),null!=a&&a.url?(0,j.tZ)(Qt,{$display:D,src:a.url}):null,null!=l&&l.url?(0,j.tZ)(Qt,{$display:T,src:l.url}):null,$?(0,j.tZ)(Jt,{isMuted:_,onClick:C}):null,$&&-1!==A?(0,j.tZ)(qt,{children:function(t){var e=function(t){return{days:Math.floor(t/H),hours:Math.floor(t%H/U),minutes:Math.floor(t%H%U/60),seconds:t%H%U%60}}(t),r=e.minutes,n=e.seconds;return"".concat(F(r),":").concat(F(n))}(A)}):null,T?(0,j.tZ)(Kt,{onClick:I}):null]})})},ee=function(t){return t.RIGHT_ARROW="→",t.LEFT_ARROW="←",t}({}),re=r(20333),ne=function(){var t=(0,re.gm)();return(0,j.tZ)(j.HY,{children:"ltr"===t?ee.RIGHT_ARROW:ee.LEFT_ARROW})},oe=r(17328);function ie(t){return(ie="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ae(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function le(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?ae(Object(r),!0).forEach((function(e){ce(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ae(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function ce(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==ie(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==ie(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===ie(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var ue=(0,c.zo)("div",(function(t){var e=t.$backgroundColor;return le({height:"100%",display:"flex",flexDirection:"column"},e?{background:e}:{})})),fe=(0,c.zo)("div",(function(){return{position:"relative",width:"100%",":before":{display:"block",content:'""',width:"100%",paddingTop:"38.5%"}}})),se=(0,c.zo)("div",(function(t){return{padding:t.$theme.sizing.scale600,flexGrow:1,position:"relative",display:"flex",flexDirection:"column",alignItems:"flex-start",justifyContent:"space-between"}})),pe=(0,c.zo)("div",{width:"100%"}),de=(0,c.w1)(i.o_,(function(t){return t.$theme.typography.HeadingXSmall})),ye=(0,c.w1)(i.o_,(function(t){var e=t.$theme;return le({marginTop:e.sizing.scale100},e.typography.ParagraphSmall)})),me=(0,c.zo)("div",(function(t){return{display:"flex",justifyContent:"space-between",alignItems:"center",marginTop:t.$theme.sizing.scale500}})),be=(0,c.zo)("div",(function(t){return{display:"flex",justifyContent:"center",gap:t.$theme.sizing.scale100}})),ge=(0,c.w1)(i.o_,(function(t){var e=t.$theme;return le({display:"grid",gridAutoFlow:"column",gap:e.sizing.scale100,borderRadius:e.borders.pillButtonBorderRadius,boxSizing:"border-box",padding:"".concat(e.sizing.scale100," ").concat(e.sizing.scale300)},e.typography.LabelXSmall)})),ve=function(t){var e=t.card,r=e.trailingImage,n=e.backgroundColor,o=e.textColor,i=e.isBackgroundDark,c=e.title,u=e.subtitle,f=e.cta,s=e.storeAd,p=t.optionalRenderFunction,d=t.isAdvertisement,m=t.video,b=t.surface,g=void 0===b?"":b,v=t.analyticsData,h=t.collectionSize,O=t.impressionRef,w=null!=p?p:{},S=w.renderSecondaryCta,k=w.renderTertiaryCta,x=w.renderFooter,E=(0,a.Z)({storeAd:s,adAttributes:{rank:null==v?void 0:v.position,collectionSize:h,clientDataMap:(0,z.z)({collectionSize:h})},shouldLogImpression:!0}).adsViewableImpressionRef,C=Boolean(d),I=!!n&&Boolean(i),$=(0,y.Z)(),_=$({color:o,defaultColor:C?"contentOnColorInverse":void 0}),A=(null==f?void 0:f.text)||"";return(0,j.BX)(ue,{ref:(0,oe.Z)(O,E),$backgroundColor:$({color:n,defaultColor:C?"backgroundAlwaysLight":void 0}),children:[m?(0,j.tZ)(te,{video:m,surface:g,storeAd:s,analyticsData:v}):r?(0,j.tZ)(fe,{children:(0,j.tZ)(P,{image:r,surface:g,type:"LARGE"})}):null,(0,j.BX)(se,{children:[(0,j.BX)(pe,{children:[c?(0,j.tZ)(de,{$color:_,$isContentWhite:I,children:(0,j.tZ)(l.Z,{clamp:3,children:c})}):null,u?(0,j.tZ)(ye,{$color:_,$isContentWhite:I,children:(0,j.tZ)(l.Z,{clamp:3,children:u})}):null]}),(0,j.BX)(pe,{children:[A?(0,j.BX)(me,{children:[(0,j.BX)(be,{children:[(0,j.BX)(ge,{$isCta:!0,$backgroundColor:$({color:null==f?void 0:f.backgroundColor,defaultColor:C?"gray200":void 0}),$color:$({color:null==f?void 0:f.textColor,defaultColor:C?"contentOnColorInverse":void 0}),children:[(0,j.tZ)(l.Z,{clamp:1,children:A}),(0,j.tZ)(ne,{})]}),k&&k()]}),S&&S()]}):null,x&&x()]})]})]})},he=r(13149),Oe=r(39405),we=r(5770);function Se(t){return(Se="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function je(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Pe(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Se(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==Se(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===Se(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var ke=(0,c.w1)(i.o_,(function(t){return t.$theme.typography.LabelXSmall})),xe=(0,c.zo)("div",(function(t){return{marginTop:t.$theme.sizing.scale500,display:"flex",justifyContent:"space-between",alignItems:"center"}})),Ee=(0,c.zo)("div",(function(t){var e=t.$theme;return function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?je(Object(r),!0).forEach((function(e){Pe(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):je(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({color:e.colors.gray700},e.typography.ParagraphXSmall)})),Ce=function(t){var e=t.card,r=e.baseCard,n=e.secondaryCta,o=e.tertiaryCta,a=e.footer,c=t.surface,u=t.analytics,f=t.onClick,s=t.collectionSize,p=t.impressionRef,d=(0,y.Z)();if(!r)return null;var m=function(t,e){return null!=t&&t.action?(0,j.tZ)(we.Z,{action:t.action,actionTrackingID:t.trackingID||"",surface:c,analytics:u,buttonType:e,onClick:f,children:(0,j.tZ)(ke,{$color:d({color:t.textColor}),children:(0,j.tZ)(l.Z,{clamp:1,children:t.text})})}):null},b=function(){return m(n,{kind:he.TO.secondary,overrides:{BaseButton:i.I9}})};return(0,j.tZ)(ve,{card:r,isAdvertisement:!0,optionalRenderFunction:{renderSecondaryCta:a?null:b,renderTertiaryCta:function(){return m(o,{shape:Oe.X3.pill,kind:he.TO.tertiary,overrides:{BaseButton:{style:function(t){var e=t.$theme;return{width:"auto",paddingTop:e.sizing.scale100,paddingBottom:e.sizing.scale100,paddingLeft:e.sizing.scale300,paddingRight:e.sizing.scale300,backgroundColor:"transparent"}}}}})},renderFooter:function(){return a?(0,j.BX)(xe,{children:[(0,j.tZ)(Ee,{children:(0,j.tZ)(l.Z,{clamp:1,children:a})}),b()]}):null}},collectionSize:s,impressionRef:p})};function Ie(t){return(Ie="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function $e(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function _e(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?$e(Object(r),!0).forEach((function(e){Ae(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):$e(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Ae(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Ie(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==Ie(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===Ie(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var De=(0,c.zo)("div",(function(t){var e=t.$backgroundColor,r=t.$theme;return _e({position:"relative",height:"100%",boxSizing:"border-box",display:"flex",flexDirection:"column",alignItems:"flex-start",justifyContent:"space-between",padding:"".concat(r.sizing.scale500," ").concat(r.sizing.scale600)},e?{background:e}:{})})),Te=(0,c.w1)(i.o_,(function(t){return t.$theme.typography.DisplayBold5XSmall})),Ze=(0,c.w1)(i.o_,(function(t){var e=t.$theme;return _e({marginTop:e.sizing.scale300,width:"calc(100% - 24px)"},e.typography.ParagraphXSmall)})),ze=(0,c.zo)("div",(function(t){return{display:"flex",alignItems:"center",marginTop:t.$theme.sizing.scale600}})),Le=(0,c.w1)(i.o_,(function(t){var e=t.$theme,r=t.$isInline;return _e({position:"relative",display:r?"inline":"block",padding:"0 ".concat(r?e.sizing.scale100:e.sizing.scale300)},e.typography.ParagraphXSmall)})),Re=(0,c.w1)(i.o_,(function(t){return t.$theme.typography.LabelXSmall})),Me=(0,c.zo)("div",(function(t){var e=t.$direction,r=t.$theme;return _e({position:"absolute",bottom:r.sizing.scale400},"ltr"===e?{right:r.sizing.scale300}:{left:r.sizing.scale300})})),Ne=(0,c.zo)(ht.Z,(function(t){return _e({position:"absolute",width:"70px",height:"70px",bottom:0},"ltr"===t.$direction?{right:0}:{left:0})})),Be=(0,c.zo)("div",(function(t){return _e({position:"absolute",width:"70px",height:"70px",bottom:0},"ltr"===t.$direction?{right:0}:{left:0})})),Ue=function(t){var e=t.card,r=e.baseCard,n=e.secondaryCta,c=e.tertiaryCta,u=e.quaternaryCta,f=t.surface,s=t.analytics,p=t.cardStyles,d=t.onClick,m=t.impressionRef,b=t.collectionSize,g=null!=r?r:{},O=g.title,w=g.subtitle,S=g.storeAd,P=g.backgroundColor,k=g.textColor,x=g.isBackgroundDark,E=g.cta,C=g.trailingImage,I=Boolean(x),$=(0,re.gm)(),_=(0,y.Z)(),A=_({color:k}),D=_({color:null==E?void 0:E.backgroundColor,defaultColor:"backgroundAlwaysLight"}),T=h(C),Z=T.imageUrl,L=T.imageIsLottieAnimation,R=(0,a.Z)({storeAd:S,adAttributes:{rank:s.position,collectionSize:b,clientDataMap:(0,z.z)({collectionSize:b})},shouldLogImpression:!0}).adsViewableImpressionRef,M=function(t,e){return t.action?(0,j.tZ)(Le,{$isInline:e,$color:_({color:t.textColor,defaultColor:"contentTertiary"}),children:(0,j.tZ)(o.ZP,{linkStyleType:o.co.INLINE,surface:f,action:t.action,actionTrackingID:t.trackingID||"",analytics:s,onClick:d,children:t.text})}):null};return(0,j.BX)(De,{ref:(0,oe.Z)(m,R),$backgroundColor:_({color:P}),children:[L?(0,j.tZ)(Be,{$direction:$,children:(0,j.tZ)(v.Z,{animationUrl:Z,loop:!0})}):(0,j.tZ)(Ne,{$direction:$,src:Z}),(0,j.BX)(i.Tf,{children:[O?(0,j.BX)(Te,{$color:A,$isContentWhite:I,children:[O,null!=c&&c.action&&!w?M(c,!0):null]}):null,w?(0,j.BX)(Ze,{$color:A,$isContentWhite:I,children:[w,null!=c&&c.action?M(c,!0):null]}):null]}),null!=E&&E.action?(0,j.BX)(ze,{children:[(0,j.BX)(we.Z,{action:E.action,actionTrackingID:E.trackingID||"",surface:f,analytics:s,storeAd:S,collectionSize:b,buttonType:{kind:he.TO.primary,shape:Oe.X3.pill,overrides:{BaseButton:{style:function(t){var e=t.$theme;return _e(_e({width:"auto",columnGap:e.sizing.scale100},p.getCtaFont({$theme:e})),{},{backgroundColor:D,color:_({color:null==E?void 0:E.textColor,defaultColor:"contentOnColorInverse"}),":hover":{backgroundColor:D},":active":{backgroundColor:D}})}}}},onClick:d,children:[(0,j.tZ)(l.Z,{clamp:1,children:E.text}),(0,j.tZ)(ne,{})]}),null!=n&&n.action?M(n,!1):null]}):null,null!=u&&u.action?(0,j.tZ)(Me,{$direction:$,children:(0,j.tZ)(we.Z,{action:u.action,actionTrackingID:u.trackingID||"",surface:f,analytics:s,buttonType:{kind:he.TO.secondary,overrides:{BaseButton:i.I9}},onClick:d,children:(0,j.tZ)(Re,{$color:_({color:u.textColor}),children:u.text})})}):null]})};function He(t){return(He="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Fe(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Xe(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==He(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==He(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===He(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Ge=(0,c.w1)(i.o_,(function(t){return t.$theme.typography.LabelXSmall})),We=(0,c.zo)("div",(function(t){var e=t.$direction,r=t.$theme;return function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Fe(Object(r),!0).forEach((function(e){Xe(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Fe(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({position:"absolute",bottom:r.sizing.scale400},"ltr"===e?{right:r.sizing.scale300}:{left:r.sizing.scale300})})),Ve=function(t){var e=t.card,r=e.baseCard,n=e.secondaryCta,o=t.surface,l=t.template,c=t.analytics,u=t.cardStyles,f=t.onClick,s=t.collectionSize,p=t.impressionRef,d=(0,y.Z)(),m=(0,re.gm)(),b=(0,a.Z)({storeAd:null==r?void 0:r.storeAd,adAttributes:{rank:c.position,collectionSize:s,clientDataMap:(0,z.z)({collectionSize:s})},shouldLogImpression:!0}).adsViewableImpressionRef;if(!r)return null;return(0,j.tZ)(i.UK,{$cardStyles:u,ref:(0,oe.Z)(p,b),children:(0,j.tZ)(A,{template:l,surface:o,card:r,cardStyles:u,renderSecondaryCta:function(){return null!=n&&n.action?(0,j.tZ)(We,{$direction:m,children:(0,j.tZ)(we.Z,{action:n.action,actionTrackingID:n.trackingID||"",surface:o,analytics:c,buttonType:{kind:he.TO.secondary,overrides:{BaseButton:i.I9}},onClick:f,children:(0,j.tZ)(Ge,{$color:d({color:n.textColor}),children:n.text})})}):null}})})},Ye=r(42779);function Ke(t){return(Ke="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Je(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==e);c=!0);}catch(t){u=!0,o=t}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return qe(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return qe(t,e)}(t,e)||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 qe(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function Qe(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function tr(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Qe(Object(r),!0).forEach((function(e){er(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Qe(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function er(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Ke(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==Ke(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===Ke(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var rr=(0,c.zo)("div",(function(t){var e=t.$theme;return{display:"flex",flexGrow:1,justifyContent:"space-evenly",marginTop:e.sizing.scale100,marginLeft:"-".concat(e.sizing.scale300),marginRight:"-".concat(e.sizing.scale300),height:"100%",overflow:"hidden"}})),nr=(0,c.w1)(o.ZP,(function(t){var e=t.$theme;return{width:(0,Ye.EC)(e),height:"100%",overflow:"hidden",marginLeft:e.sizing.scale300,marginRight:e.sizing.scale300,display:"flex",flexDirection:"column",alignItems:"center"}})),or=(0,c.zo)("div",(function(t){t.$theme;return{overflow:"hidden",flex:1,display:"flex",alignItems:"stretch"}})),ir=function(t){return t.sizing.scale100},ar=(0,c.w1)(i.o_,(function(t){var e=t.$theme;return tr(tr({},function(t){return t.typography.LabelXSmall}(e)),{},{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",width:"100%",textAlign:"center",marginTop:ir(e),marginBottom:ir(e),flexShrink:0})})),lr=function(t){var e=t.analytics,r=t.images,i=t.surface,a=t.onClick,l=Je((0,c.hQ)(),1)[0],u=(0,y.Z)();return(0,j.tZ)(rr,{children:r.map((function(t){var r,c;return t.image&&null!==(r=t.cta)&&void 0!==r&&r.action?(0,j.BX)(nr,{linkStyleType:o.co.BANNER,surface:i,action:t.cta.action,actionTrackingID:t.cta.trackingID,analytics:e,onClick:a,children:[(0,j.tZ)(or,{children:(0,j.tZ)(ht.Z,{src:t.image.url||"",className:l({flex:1,maxWidth:"100%",maxHeight:"100%",objectFit:t.image.scaleAspect===n.$j.SCALE_ASPECT_RESIZE_TO_FILL?"cover":"contain"}),alt:t.cta.text||""})}),(0,j.tZ)(ar,{$color:u({color:t.cta.textColor}),children:null===(c=t.cta)||void 0===c?void 0:c.text})]},t.image.url):null})).filter(Boolean)})};function cr(t){return(cr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ur(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function fr(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?ur(Object(r),!0).forEach((function(e){sr(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ur(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function sr(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==cr(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==cr(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===cr(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var pr=(0,c.zo)("div",(function(t){var e=t.$backgroundColor;return{position:"relative",minHeight:"".concat(Ye.lC,"px"),backgroundColor:e,":before":{display:"block",content:'""',width:"100%",paddingTop:"".concat(100*Ye.Jh,"%")}}})),dr=(0,c.zo)("div",(function(t){var e=t.$theme;return{position:"absolute",padding:"".concat(e.sizing.scale500," ").concat(e.sizing.scale600),display:"flex",top:0,left:0,bottom:0,right:0,flexDirection:"column"}})),yr=(0,c.zo)("div",{display:"flex",alignItems:"center"}),mr=(0,c.w1)(i.o_,(function(t){return fr(fr({},t.$theme.typography.LabelLarge),{},{flexGrow:1})})),br=(0,c.w1)(i.o_,(function(t){return t.$theme.typography.LabelSmall})),gr=function(t){var e=t.analytics,r=t.data,n=r.title,i=r.subtitle,a=r.imageList,l=r.textColor,c=r.backgroundColor,u=t.surface,f=t.onClick,s=(0,y.Z)(),p=s({color:l}),d=s({color:c}),m=(a||[]).filter((function(t){var e;return t.image&&(null===(e=t.cta)||void 0===e?void 0:e.action)})),b=m.length>Ye.yB,g=m.slice(0,Ye.yB);return(0,j.tZ)(pr,{$backgroundColor:d,children:(0,j.BX)(dr,{children:[(0,j.BX)(yr,{children:[(0,j.tZ)(mr,{$color:p,children:n}),b&&null!=i&&i.action?(0,j.tZ)(o.ZP,{linkStyleType:o.co.BANNER,surface:u,action:i.action,actionTrackingID:i.trackingID,analytics:e,onClick:f,children:(0,j.tZ)(br,{$color:s({color:i.textColor}),children:i.text})}):null]}),(0,j.tZ)(lr,{analytics:e,images:g,surface:u,onClick:f})]})})};function vr(t){return(vr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function hr(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Or(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?hr(Object(r),!0).forEach((function(e){wr(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):hr(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function wr(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==vr(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==vr(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===vr(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Sr=(0,c.w1)(i.o_,(function(t){return Or({textDecoration:"underline"},t.$theme.typography.ParagraphXSmall)})),jr=(0,c.w1)(i.o_,(function(t){return t.$theme.typography.LabelXSmall})),Pr=(0,c.zo)("div",(function(t){return{marginTop:t.$theme.sizing.scale500,display:"flex",justifyContent:"space-between",alignItems:"center"}})),kr=(0,c.zo)("div",(function(t){var e=t.$theme;return Or({color:e.colors.gray700},e.typography.ParagraphXSmall)})),xr=function(t){var e=t.card,r=e.baseCard,n=e.secondaryCta,o=e.tertiaryCta,a=e.footer,c=e.video,u=t.surface,f=t.analytics,s=t.onClick,p=t.collectionSize,d=(0,y.Z)();if(!r)return null;var m=function(){return null!=n&&n.action?(0,j.tZ)(we.Z,{action:n.action,actionTrackingID:n.trackingID||"",surface:u,analytics:f,buttonType:{kind:he.TO.secondary,overrides:{BaseButton:i.I9}},onClick:s,children:(0,j.tZ)(jr,{$color:d({color:n.textColor}),children:(0,j.tZ)(l.Z,{clamp:1,children:n.text})})}):null};return(0,j.tZ)(ve,{card:r,video:c,surface:u,analyticsData:f,collectionSize:p,isAdvertisement:!0,optionalRenderFunction:{renderSecondaryCta:a?null:m,renderTertiaryCta:function(){return null!=o&&o.action?(0,j.tZ)(we.Z,{action:o.action,actionTrackingID:o.trackingID||"",surface:u,analytics:f,buttonType:{kind:he.TO.tertiary,overrides:{BaseButton:{style:function(t){var e=t.$theme;return{width:"auto",paddingTop:e.sizing.scale0,paddingBottom:e.sizing.scale0,paddingLeft:e.sizing.scale300,paddingRight:e.sizing.scale300,color:e.colors.contentOnColorInverse,":hover":{backgroundColor:"transparent"},":active":{backgroundColor:"transparent"}}}}}},onClick:s,children:(0,j.tZ)(Sr,{$color:d({color:o.textColor,defaultColor:"contentTertiary"}),children:(0,j.tZ)(l.Z,{clamp:1,children:o.text})})}):null},renderFooter:function(){return a?(0,j.BX)(Pr,{children:[(0,j.tZ)(kr,{children:(0,j.tZ)(l.Z,{clamp:1,children:a})}),m()]}):null}}})},Er=r(97920),Cr=r("__fusion__573"),Ir=r("__fusion__585"),$r=r(62738);function _r(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==e);c=!0);}catch(t){u=!0,o=t}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return Ar(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Ar(t,e)}(t,e)||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 Ar(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function Dr(t){return(Dr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Tr(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==e);c=!0);}catch(t){u=!0,o=t}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return Zr(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Zr(t,e)}(t,e)||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 Zr(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function zr(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Lr(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?zr(Object(r),!0).forEach((function(e){Rr(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):zr(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Rr(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Dr(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==Dr(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===Dr(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Mr={ltr:"\n    @keyframes slideltr {\n      from {\n        transform: translateX(-100%);\n      }\n      to {\n        transform: translateX(0);\n      }\n    }\n  ",rtl:"\n    @keyframes slidertl {\n      from {\n        transform: translateX(0);\n      }\n      to {\n        transform: translateX(-100%);\n      }\n    }\n  "},Nr=(0,c.zo)("div",(function(t){var e=t.$rotate;return Lr({whiteSpace:"nowrap",display:"flex",width:"100%",height:"100%"},e?{transform:"rotate(".concat(e,")"),transformOrigin:"center center"}:{})})),Br=(0,c.zo)("div",(function(t){var e=t.$duration,r=t.$direction;return{display:"flex",alignItems:"center",animationName:"slide".concat(r),animationDuration:e||"12s",animationIterationCount:"infinite",animationTimingFunction:"linear"}})),Ur=(0,c.zo)("div",(function(t){var e=t.$height,r=t.$width,n=t.$blendMode,o=t.$horizontalMargin;return Lr({height:"".concat(e,"px"),width:"".concat(r,"px"),marginRight:"".concat(o,"px")},n?{backgroundImage:n.backgroundImage}:{})})),Hr=(0,c.zo)(ht.Z,(function(t){var e=t.$rotate,r=t.$width,n=t.$height,o=t.$borderRadiusPercentage,i=t.$backgroundColor,a=t.$boxShadow,l=t.$blendMode;return Lr(Lr({backgroundColor:i,boxShadow:a,borderRadius:o?"".concat(o,"%"):void 0,height:"".concat(n,"px"),width:"".concat(r,"px"),objectFit:"contain"},e?{transform:"rotate(calc(".concat(e," * -1))"),transformOrigin:"center center"}:{}),l?{mixBlendMode:l.mixBlendMode}:{})})),Fr=function(t){var e=t.images,r=t.rotate,n=t.style,o=t.animationSettings,i=Tr((0,f.useState)(0),2),a=i[0],l=i[1],c=function(t){var e=(0,$r.Z)(),r=_r((0,f.useState)(e&&(null===u.Z||void 0===u.Z?void 0:u.Z.matchMedia(t).matches)),2),n=r[0],o=r[1];return(0,f.useEffect)((function(){var e=null===u.Z||void 0===u.Z?void 0:u.Z.matchMedia(t);(null==e?void 0:e.matches)!==n&&o(null==e?void 0:e.matches);var r=function(){return o(null==e?void 0:e.matches)};return null==e||e.addEventListener("change",r),function(){return null==e?void 0:e.removeEventListener("change",r)}}),[t]),n}("(prefers-reduced-motion: no-preference)"),s=(0,f.useRef)(null),p=(0,f.useMemo)((function(){return function(t){return"diameter"in t?{height:t.diameter,width:t.diameter,borderRadiusPercentage:100,horizontalMargin:t.horizontalMargin}:t}(n)}),[n]),d=(null==o?void 0:o.direction)||"rtl";(0,f.useEffect)((function(){if(s.current){var t=new ResizeObserver((function(){var t,r=(p.width+2*p.horizontalMargin)*e.length,n=(null===(t=s.current)||void 0===t?void 0:t.offsetWidth)||0,o=Math.ceil(n/r)+1;l(o)}));return t.observe(s.current),function(){return t.disconnect()}}}),[p,e.length]);var y=e.map((function(t,e){var n=e<=a;return(0,j.tZ)(Ur,{$height:p.height,$width:p.width,$blendMode:p.blendMode,$horizontalMargin:p.horizontalMargin,children:(0,j.tZ)(Hr,{loading:n?"eager":"lazy",decoding:n?"sync":"async",src:t,$rotate:r,$width:p.width,$height:p.height,$borderRadiusPercentage:p.borderRadiusPercentage,$backgroundColor:p.backgroundColor,$boxShadow:p.boxShadow,$blendMode:p.blendMode},"overlay-image-".concat(e))},"overlay-image-wrapper-".concat(e))}));return(0,j.tZ)(Nr,{ref:s,$rotate:r,children:c&&e.length>=3?(0,j.BX)(j.HY,{children:[(0,j.tZ)("style",{children:Mr[d]}),Array(a).fill(null).map((function(t,e){return(0,j.tZ)(Br,{$duration:null==o?void 0:o.duration,$direction:d,children:y},"overlay-container-".concat(e,"-").concat(Date.now()))}))]}):(0,j.tZ)(j.HY,{children:y})})};function Xr(t){return(Xr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Gr(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Wr(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Gr(Object(r),!0).forEach((function(e){Vr(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Gr(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Vr(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Xr(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==Xr(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===Xr(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}(0,c.zo)("div",(function(){return{display:"flex",flexDirection:"column"}})),(0,c.zo)("div",(function(t){var e=t.$theme;return{display:"grid",gridTemplateColumns:"repeat(2, 1fr)",gap:e.sizing.scale0,marginBottom:e.sizing.scale500}}));var Yr=(0,c.zo)("div",(function(t){return{display:"flex",justifyContent:"space-between",alignItems:"center",position:"relative",gap:t.$theme.sizing.scale500}})),Kr=((0,c.zo)("div",(function(t){t.$theme;return{}})),(0,c.zo)("div",(function(t){var e=t.$imageSize;return Wr({width:e,height:e,flex:"none",overflow:"hidden",borderRadius:"10px"},t.$useMixBlendMode?{backgroundImage:"linear-gradient(0deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.02))"}:{})})),(0,c.zo)(ht.Z,(function(t){var e=t.$imageSize;return Wr({width:e,height:e,objectFit:"contain"},t.$useMixBlendMode?{mixBlendMode:"darken"}:{})})),(0,c.zo)("div",(function(t){var e=t.$useMixBlendMode;return Wr({width:t.$imageWidth,height:t.$imageHeight,flex:"none",overflow:"hidden",borderRadius:"10px"},e?{backgroundImage:"linear-gradient(0deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.02))"}:{})})),(0,c.zo)(ht.Z,(function(t){var e=t.$useMixBlendMode;return Wr({width:t.$imageWidth,height:t.$imageHeight,objectFit:"contain"},e?{mixBlendMode:"darken"}:{})})),(0,c.zo)("div",{flex:1})),Jr=(0,c.zo)(ht.Z,(function(t){var e=t.$theme;return{height:"56px",width:"56px",border:"1px solid ".concat(e.colors.borderOpaque),borderRadius:"50%"}})),qr=(0,c.zo)("div",(function(t){return Wr({},t.$theme.typography.LabelMedium)})),Qr=(0,c.zo)("div",(function(t){var e=t.$theme;return Wr(Wr({},e.typography.ParagraphSmall),{},{color:e.colors.contentSecondary})})),tn=function(t){var e=t.footer;return e?(0,j.BX)(Yr,{children:[null!=e&&e.leadingImageUrl?(0,j.tZ)(Jr,{src:null==e?void 0:e.leadingImageUrl}):null,(0,j.BX)(Kr,{children:[null!=e&&e.title?(0,j.tZ)(qr,{children:(0,j.tZ)(k.ZP,{text:e.title})}):null,null!=e&&e.subtitle?(0,j.tZ)(l.Z,{clamp:2,children:(0,j.tZ)(Qr,{children:(0,j.tZ)(k.ZP,{text:e.subtitle})})}):null]})]}):null},en=r(32500),rn=r(93106);function nn(t){return(nn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function on(t){return function(t){if(Array.isArray(t))return cn(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||ln(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function an(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==e);c=!0);}catch(t){u=!0,o=t}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(t,e)||ln(t,e)||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 ln(t,e){if(t){if("string"==typeof t)return cn(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?cn(t,e):void 0}}function cn(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function un(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function fn(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?un(Object(r),!0).forEach((function(e){sn(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):un(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function sn(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==nn(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==nn(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===nn(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var pn={mobile:{width:100,height:100,horizontalMargin:10},desktop:{width:176,height:176,horizontalMargin:10}},dn=(0,c.zo)("div",{height:"100%",display:"flex",flexDirection:"column",flex:1,overflow:"hidden"}),yn=(0,c.zo)("div",{flex:1}),mn=(0,c.zo)(ht.Z,(function(t){var e=t.$theme;return{height:e.sizing.scale1400,width:e.sizing.scale1400,border:"1px solid ".concat(e.colors.borderOpaque),borderRadius:"50%"}})),bn=(0,c.zo)("div",(function(t){return fn({},t.$theme.typography.HeadingXLarge)})),gn=(0,c.zo)("div",(function(t){var e=t.$theme;return fn(fn({},e.typography.ParagraphMedium),{},{color:e.colors.contentSecondary})})),vn=(0,c.zo)("div",(function(t){var e=t.$theme;return{display:"flex",flexDirection:"column",alignItems:"Left",position:"relative",gap:e.sizing.scale500,margin:e.sizing.scale800,flex:.4}})),hn=(0,c.zo)("div",(function(t){return{margin:t.$theme.sizing.scale500}})),On=(0,c.zo)("div",{display:"flex"}),wn=(0,c.zo)("div",(function(t){return{display:"flex",justifyContent:"space-between",alignItems:"center",marginTop:t.$theme.sizing.scale500}})),Sn=(0,c.zo)("div",(function(t){return{display:"flex",justifyContent:"center",gap:t.$theme.sizing.scale100}})),jn=(0,c.w1)(i.o_,(function(t){var e=t.$theme;return fn({display:"inline-flex",alignItems:"center",borderRadius:e.borders.pillButtonBorderRadius,boxSizing:"border-box",padding:"".concat(e.sizing.scale400," ").concat(e.sizing.scale500),gap:e.sizing.scale100},e.typography.LabelXSmall)})),Pn=function(t){var e=t.card,r=t.surface,o=t.template,i=t.analyticsData,a=an((0,c.hQ)(),2)[1],u=(0,Er.k6)(),s=(0,At.ZP)(),p=(0,re.gm)(),d=e.stylizedCollection,y=e.stylizedCollection||{},m=y.footer,b=y.actionUrl,g=(0,en.Z)({surface:r,analytics:{uuid:"",itemType:"",trackingID:""},action:b||{type:"unknown",unknown:!1}}).eaterMessageActionLink,v=(0,rn.mZy)(g.linkTo),h=f.useMemo((function(){return{eaterMessage:{uuid:(null==i?void 0:i.uuid)||"",position:i.position,verticalPosition:i.verticalPosition,surface:r,itemType:i.itemType,trackingID:i.trackingId,template:o},collectionData:{collectionIdentifier:(null==d?void 0:d.collectionIdentifier)||"",trackingCode:(null==d?void 0:d.trackingCode)||"",items:JSON.stringify((null==d?void 0:d.imageItems)||{}),storeUuid:(null==d?void 0:d.storeUuid)||"",itemTotal:((null==d?void 0:d.imageItems)||[]).length}}}),[i,r,o,d]);f.useEffect((function(){s("eats:animated_collection_card_view",h)}),[s,h]);var O=(0,T.hU)().isMobile,w=f.useMemo((function(){var t=((null==d?void 0:d.imageItems)||[]).map((function(t){return t.imageUrl||""})).filter((function(t){return Boolean(t)}));return{imageUrls:t,reversedUrls:on(t).reverse()}}),[null==d?void 0:d.imageItems]),S=w.imageUrls,P=w.reversedUrls;if(!d||0===S.length)return null;var x=function(){return(0,j.BX)(vn,{children:[null!=m&&m.leadingImageUrl?(0,j.tZ)(mn,{src:null==m?void 0:m.leadingImageUrl}):null,(0,j.BX)(yn,{children:[null!=m&&m.title?(0,j.tZ)(bn,{children:(0,j.tZ)(k.ZP,{text:m.title})}):null,null!=m&&m.subtitle?(0,j.tZ)(l.Z,{clamp:2,children:(0,j.tZ)(gn,{children:(0,j.tZ)(k.ZP,{text:m.subtitle})})}):null]}),b?(0,j.tZ)(wn,{children:(0,j.tZ)(Sn,{children:(0,j.BX)(jn,{$isCta:!0,$backgroundColor:a.colors.backgroundTertiary,$color:a.colors.contentPrimary,children:[(0,j.tZ)(l.Z,{clamp:1,children:"Shop All"}),"ltr"===p?(0,j.tZ)(Ir.default,{color:"buttonSecondaryText"}):(0,j.tZ)(Cr.default,{color:"buttonSecondaryText"})]})})}):null]})},E={duration:"20s"},C=function(t){switch(t.cardTemplate){case n._u.LARGE:var e=function(){return(0,j.BX)("div",{children:[(0,j.BX)(dn,{children:[(0,j.tZ)(Fr,{images:S,style:pn.mobile,animationSettings:E}),(0,j.tZ)(Fr,{images:P,style:pn.mobile,animationSettings:fn(fn({},E),{},{direction:"ltr"})})]}),m?(0,j.tZ)(hn,{children:(0,j.tZ)(tn,{footer:m})}):null]})},r=function(){return(0,j.BX)(On,{children:[(0,j.tZ)(x,{}),(0,j.BX)(dn,{children:[(0,j.tZ)(Fr,{images:S,style:pn.desktop,animationSettings:E}),(0,j.tZ)(Fr,{images:P,style:pn.desktop,animationSettings:fn(fn({},E),{},{direction:"ltr"})})]})]})};return O?(0,j.tZ)(e,{}):(0,j.tZ)(r,{});case n._u.SMALL:var o=function(){return(0,j.BX)("div",{children:[(0,j.tZ)(dn,{children:(0,j.tZ)(Fr,{images:S,style:pn.mobile,animationSettings:E})}),m?(0,j.tZ)(hn,{children:(0,j.tZ)(tn,{footer:m})}):null]})},i=function(){return(0,j.BX)(On,{children:[(0,j.tZ)(x,{}),(0,j.tZ)(dn,{children:(0,j.tZ)(Fr,{images:S,style:pn.desktop,animationSettings:E})})]})};return O?(0,j.tZ)(o,{}):(0,j.tZ)(i,{});default:return null}};return(0,j.tZ)("div",{onClick:function(){s("eats:animated_collection_card_click",h),u.replace(v)},children:(0,j.tZ)(C,{cardTemplate:o})})},kn=f.memo(Pn),xn=r(42262),En=function(t){var e=t.surface,r=t.template,a=t.slide,l=t.slides,c=t.carouselSlideProps,u=t.eaterMessageStyles,f=t.verticalPosition,s=t.analyticsPayload,p=r===n._u.LARGE,d=(0,xn.v)({impressionEventName:"eats_messaging_carousel_item_impression",tapEventName:"eats_messaging_carousel_item_tap_cta",payload:null!=s?s:{}}),y=d.impressionRef,m=d.onClick;switch(a.type){case"card":var b,g=a.card,v=g.storeAd,h=function(t){return p?(0,j.tZ)(ve,{collectionSize:l.length,card:g,analyticsData:t}):(0,j.tZ)(B,{template:r,surface:e,card:g,cardStyles:u.CARD,collectionSize:l.length,analyticsData:t})};if(null!==(b=g.cta)&&void 0!==b&&b.action){var O,w,S=g.uuid,P=g.metadata,k=g.cta,x=k.action,E=k.trackingID,C={uuid:S||"",trackingID:(null==P?void 0:P.trackingID)||"",itemType:"cardCarousel",position:l.findIndex((function(t){return S===("card"===t.type&&t.card.uuid||"")})),verticalPosition:f,template:r,carouselSize:l.length,flowUuid:"flowCardMetadata"===(null===(O=g.cardMetadata)||void 0===O?void 0:O.type)?null===(w=g.cardMetadata)||void 0===w||null===(w=w.flowCardMetadata)||void 0===w?void 0:w.flowUuid:"",cardTitle:g.title||""};return(0,j.tZ)(o.ZP,{linkStyleType:p?o.co.LARGE_CARD:o.co.BASE_CARD,tabIndex:c.isDummy?-1:void 0,action:x,actionTrackingID:E||"",surface:e,analytics:C,storeAd:v,collectionSize:l.length,onClick:m,impressionRef:y,children:h(C)})}return p?(0,j.tZ)(i.oj,{$as:"div",$isStatic:!0,ref:y,children:h()}):(0,j.tZ)(i.hp,{$as:"div",$isStatic:!0,ref:y,children:h()});case"advertisementCard":var I,$=a.advertisementCard,_=$.baseCard,A=$.template,D=$.footer,T=null!=_?_:{},Z=T.storeAd,z=T.uuid,L=T.metadata,R=A===n.Vl.ADVERTISEMENT_CARD_TEMPLATE_TYPE_CARD_HEIGHT_DYNAMIC_BOTTOM_RIGHT_IMAGE_FOOTER,M={uuid:z||"",trackingID:(null==L?void 0:L.trackingID)||"",itemType:"cardCarousel",position:l.findIndex((function(t){var e;return z===("advertisementCard"===t.type&&(null===(e=t.advertisementCard.baseCard)||void 0===e?void 0:e.uuid)||"")})),verticalPosition:f,template:r,cardTitle:(null==_?void 0:_.title)||""},N=function(){if(p)return(0,j.tZ)(Ce,{surface:e,card:$,analytics:M,onClick:m,collectionSize:l.length,impressionRef:y});switch(A){case n.Vl.ADVERTISEMENT_CARD_TEMPLATE_TYPE_CARD_HEIGHT_DYNAMIC_BOTTOM_RIGHT_IMAGE_FOOTER:return(0,j.tZ)(Ue,{surface:e,card:$,analytics:M,cardStyles:u.CARD,onClick:m,collectionSize:l.length,impressionRef:y});case n.Vl.ADVERTISEMENT_CARD_TEMPLATE_TYPE_CARD_HEIGHT_FIXED_HALF_RIGHT_IMAGE:return(0,j.tZ)(Ve,{surface:e,template:r,card:$,analytics:M,cardStyles:u.CARD,onClick:m,collectionSize:l.length,impressionRef:y})}return null};if(null!=_&&null!==(I=_.cta)&&void 0!==I&&I.action&&!R){var U=_.cta,H=U.action,F=U.trackingID;return(0,j.tZ)(o.ZP,{linkStyleType:p?o.co.LARGE_CARD:o.co.CARD,tabIndex:c.isDummy?-1:void 0,action:H,actionTrackingID:F||"",surface:e,analytics:M,storeAd:Z,collectionSize:l.length,onClick:m,impressionRef:y,children:N()})}return p&&(i.oj,N()),R&&D?(0,j.BX)(i.Tf,{children:[(0,j.tZ)(i.Ie,{$as:"div",$isStatic:!0,ref:y,children:N()}),(0,j.tZ)(i.Kj,{children:D})]}):(0,j.tZ)(i.Ie,{$as:"div",$isStatic:!0,ref:y,children:N()});case"imageListCard":var X=a.imageListCard,G=X.uuid,W=X.trackingID,V={uuid:G||"",trackingID:W||"",itemType:"cardCarousel",position:l.findIndex((function(t){return G===("imageListCard"===t.type&&t.imageListCard.uuid||"")})),verticalPosition:f,template:r};return(0,j.tZ)(i.Ie,{$as:"div",$isStatic:!0,children:(0,j.tZ)(gr,{analytics:V,data:X,surface:e,onClick:m})});case"videoCard":var Y,K=a.videoCard,J=K.baseCard,q=null!=J?J:{},Q=q.storeAd,tt=q.uuid,et=q.metadata,rt={uuid:tt||"",trackingID:(null==et?void 0:et.trackingID)||"",itemType:"cardCarousel",position:l.findIndex((function(t){var e;return tt===("videoCard"===t.type&&(null===(e=t.videoCard.baseCard)||void 0===e?void 0:e.uuid)||"")})),verticalPosition:f,template:r,cardTitle:(null==J?void 0:J.title)||""},nt=function(){return(0,j.tZ)(xr,{surface:e,card:K,analytics:rt,onClick:m,collectionSize:l.length})};if(null!=J&&null!==(Y=J.cta)&&void 0!==Y&&Y.action){var ot=J.cta,it=ot.action,at=ot.trackingID;return(0,j.tZ)(o.ZP,{linkStyleType:o.co.LARGE_CARD,tabIndex:c.isDummy?-1:void 0,action:it,actionTrackingID:at||"",surface:e,analytics:rt,storeAd:Q,collectionSize:l.length,onClick:m,children:nt()})}return(0,j.tZ)(i.oj,{$as:"div",$isStatic:!0,children:nt()});case"collectionCard":var lt=a.collectionCard.stylizedCollection,ct={uuid:(null==lt?void 0:lt.uuid)||"",trackingCode:(null==lt?void 0:lt.trackingCode)||"",itemType:"cardCarousel",position:0,verticalPosition:f,template:r};return(0,j.tZ)(i.oj,{$as:"div",children:(0,j.tZ)(kn,{surface:e,card:a.collectionCard,template:r,analyticsData:ct})})}return null}},59458:function(t,e,r){"use strict";var n=r(78204),o=r(65740),i=r(42207),a=r(7392);function l(t){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function c(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function u(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==l(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==l(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===l(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var f=(0,n.zo)("div",(function(t){var e=t.$size,r=void 0===e?24:e;return{width:"".concat(r,"px"),height:"".concat(r,"px")}})),s=(0,n.zo)("button",{display:"flex",alignItems:"center",cursor:"pointer",padding:"4px",margin:"-4px"});e.Z=function(t){var e=t.icon,r=t.iconOptions,n=t.onClickHandler,l=null;switch(e.type){case"animationJsonUrl":var p="number"==typeof(null==r?void 0:r.size)?r.size:void 0;l=(0,a.tZ)(f,{$size:p,children:(0,a.tZ)(o.Z,{animationUrl:e.animationJsonUrl,loop:!0})});break;case"platformIcon":var d=(0,i.i7)(e.platformIcon);d&&(r&&"number"==typeof d.options.rotate&&(r.rotate=d.options.rotate),r&&"number"==typeof d.options.size&&(r.size=d.options.size),l=(0,a.tZ)(d.icon,function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?c(Object(r),!0).forEach((function(e){u(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({},r)))}return l?n?(0,a.tZ)(s,{onClick:n,children:l}):(0,a.tZ)(a.HY,{children:l}):null}},4232:function(t,e,r){"use strict";r.d(e,{co:function(){return w}});var n=r(75099),o=r(78204),i=r(28247),a=r(32500),l=r(45202),c=r(72236),u=r(23622),f=r(93106),s=r(82258),p=r(29947),d=r(85308),y=r(7392);function m(t){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function b(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */b=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",l=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function f(t,e,r,n){var i=e&&e.prototype instanceof v?e:v,a=Object.create(i.prototype),l=new _(n||[]);return o(a,"_invoke",{value:E(t,r,l)}),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=f;var p="suspendedStart",d="executing",y="completed",g={};function v(){}function h(){}function O(){}var w={};u(w,a,(function(){return this}));var S=Object.getPrototypeOf,j=S&&S(S(A([])));j&&j!==r&&n.call(j,a)&&(w=j);var P=O.prototype=v.prototype=Object.create(w);function k(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function x(t,e){function r(o,i,a,l){var c=s(t[o],t,i);if("throw"!==c.type){var u=c.arg,f=u.value;return f&&"object"==m(f)&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,a,l)}),(function(t){r("throw",t,a,l)})):e.resolve(f).then((function(t){u.value=t,a(u)}),(function(t){return r("throw",t,a,l)}))}l(c.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function E(e,r,n){var o=p;return function(i,a){if(o===d)throw new Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var l=n.delegate;if(l){var c=C(l,n);if(c){if(c===g)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===p)throw o=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var u=s(e,r,n);if("normal"===u.type){if(o=n.done?y:"suspendedYield",u.arg===g)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=y,n.method="throw",n.arg=u.arg)}}}function C(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,C(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=s(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function I(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function $(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function _(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(I,this),this.reset(!0)}function A(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}throw new TypeError(m(e)+" is not iterable")}return h.prototype=O,o(P,"constructor",{value:O,configurable:!0}),o(O,"constructor",{value:h,configurable:!0}),h.displayName=u(O,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,O):(t.__proto__=O,u(t,c,"GeneratorFunction")),t.prototype=Object.create(P),t},e.awrap=function(t){return{__await:t}},k(x.prototype),u(x.prototype,l,(function(){return this})),e.AsyncIterator=x,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new x(f(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},k(P),u(P,c,"Generator"),u(P,a,(function(){return this})),u(P,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=A,_.prototype={constructor:_,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach($),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return l.type="throw",l.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],l=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=n.call(a,"catchLoc"),u=n.call(a,"finallyLoc");if(c&&u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,g):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),g},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),$(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;$(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:A(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function g(t,e,r,n,o,i,a){try{var l=t[i](a),c=l.value}catch(t){return void r(t)}l.done?e(c):Promise.resolve(c).then(n,o)}function v(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function h(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?v(Object(r),!0).forEach((function(e){O(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):v(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function O(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==m(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==m(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===m(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var w=function(t){return t.BASE_CARD="BASE_CARD",t.CARD="CARD",t.LARGE_CARD="LARGE_CARD",t.BANNER="BANNER",t.INLINE="INLINE",t.INLINE_REDESIGN="INLINE_REDESIGN",t}({}),S=(0,o.zo)("a",(function(t){var e=t.$theme,r=t.$type,n=t.$isStatic;return h(h(h({},r===w.CARD||r===w.LARGE_CARD||r===w.BASE_CARD?h(h({display:"block",width:"100%",overflow:"hidden",boxSizing:"border-box",isolation:"isolate",borderRadius:e.borders.radius400},n?{}:{cursor:"pointer",pointerEvents:"auto"}),r===w.BASE_CARD?{}:{border:"solid ".concat(r===w.CARD?1:2,"px ").concat(e.colors.borderOpaque)}):{}),r===w.INLINE?{textDecoration:"underline"}:{}),r===w.INLINE_REDESIGN?h({textDecoration:"underline"},e.typography.ParagraphMedium):{})})),j=(0,o.Le)(S,(function(t){return function(e){var r=e.children,o=e.surface,m=e.action,v=e.actionTrackingID,O=e.linkStyleType,S=e.tabIndex,j=e.setActionStatus,P=e.analytics,k=e.storeAd,x=e.collectionSize,E=void 0===x?0:x,C=e.onClick,I=e.impressionRef,$=(0,l.ZP)(),_=(0,l.XL)(),A=(0,c.Z)(),D=(0,p.d)(),T=(0,u.Z)({openInNewTab:!0}),Z=(0,a.Z)({surface:o,analytics:P,action:m,setActionStatus:j}),z=Z.eaterMessageActionLink,L=Z.eaterMessageActionCallback,R=(0,d.z)({collectionSize:E}),M=z.linkTo,N=z.linkType;if("static"===N)return(0,y.tZ)(t,{$type:O,$as:O===w.INLINE_REDESIGN?"span":"div",$isStatic:!0,children:r});var B={eaterMessage:h(h({},P),{},{actionTrackingID:v||"",surface:o,action:JSON.stringify(m),linkType:N}),diningMode:D},U=function(t){if(t.stopPropagation(),v&&A.set(v),$("eats:eater_message_click",B),k){var e,r,n,o={adsAnalyticsEvent:{adEventType:s.J.CLICK,adImpressionUUID:null!==(e=k.impressionId)&&void 0!==e?e:"",adData:null!==(r=k.adData)&&void 0!==r?r:"",rank:null!==(n=Number(null==P?void 0:P.position))&&void 0!==n?n:null,collectionSize:E,clientDataMap:R}};$("ads:ads_click",o)}null==C||C(),L&&L()};switch(N){case i.$2.GROCERY:case i.$2.EXTERNAL:var H=(0,f.mZy)(M),F=function(){var t=function(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){g(i,n,o,a,l,"next",t)}function l(t){g(i,n,o,a,l,"throw",t)}a(void 0)}))}}(b().mark((function t(e){var r,n,o,i;return b().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.stopPropagation(),e.preventDefault(),v&&A.set(v),t.next=5,_("eats:eater_message_click",B);case 5:if(!k){t.next=9;break}return i={adsAnalyticsEvent:{adEventType:s.J.CLICK,adImpressionUUID:null!==(r=k.impressionId)&&void 0!==r?r:"",adData:null!==(n=k.adData)&&void 0!==n?n:"",rank:null!==(o=Number(null==P?void 0:P.position))&&void 0!==o?o:null,collectionSize:E,clientDataMap:R}},t.next=9,_("ads:ads_click",i);case 9:T(H);case 10:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}();return(0,y.tZ)(t,{$type:O,href:H,tabIndex:S,onClick:F,ref:I,children:r});case i.$2.APPLY_PROMOTION:case i.$2.DISMISS:case i.$2.OPEN_BOTTOM_SHEET:case i.$2.LOYALTY_MEMBERSHIP_ONBOARDING:return(0,y.tZ)(t,{$type:O,$as:"div",tabIndex:null!=S?S:0,onKeyPress:function(t){13===t.charCode&&U(t)},onClick:U,ref:I,children:r});default:return(0,y.tZ)(t,{$type:O,$as:n.rU,to:M,tabIndex:S,onClick:U,ref:I,children:r})}}}));e.ZP=j},53172:function(t,e,r){"use strict";r.d(e,{Z:function(){return k}});var n=r(6950),o=r(78204),i=r(90381),a=r(9783),l=r(59458),c=r(2353),u=r(7392);function f(t){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function s(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==f(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==f(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===f(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var p=function(t){var e=t.children,r=(0,o.zo)("span",{textDecoration:"underline"});return(0,u.tZ)(r,{children:e})},d=function(t,e){return{overrides:s({},t,{component:e})}},y=r(24748),m=r(81957);function b(t){return(b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function g(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function v(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?g(Object(r),!0).forEach((function(e){h(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):g(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function h(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==b(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==b(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===b(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var O=(0,o.w1)(a.Mg,(function(t){var e=t.$backgroundColor;return v(v({},t.$systemBannerStyles.getContentPadding()),e?{backgroundColor:e}:{})})),w=(0,o.zo)("div",{flex:"1 1 0",display:"flex",alignItems:"center"}),S=(0,o.zo)("div",{}),j=(0,o.w1)(a.o_,(function(t){return v({},t.$theme.typography.LabelSmall)})),P=(0,o.w1)(a.o_,(function(t){return v({},t.$theme.typography.ParagraphSmall)})),k=function(t){var e=t.dismissAction,r=t.systemBanner,o=r.backgroundColor,a=r.textColor,f=r.message,s=r.subtitle,b=r.cta,g=r.icon,h=r.trailingIcon,k=r.isDismissible,x=r.trailingIconColor,E=t.systemBannerStyles,C=(0,y.Z)(),I=f||"",$=null==b?void 0:b.text,_=$?"".concat(I," `").concat($,"`"):I,A=function(t,e,r){return(0,u.BX)(u.HY,{children:[(0,u.tZ)(i.ZP,{$width:"16px"}),(0,u.tZ)(l.Z,{icon:t,iconOptions:e,onClickHandler:r})]})},D=C({color:o}),T=C({color:a});return(0,u.BX)(O,{$systemBannerStyles:E,$backgroundColor:D,children:[(0,u.BX)(w,{children:[g?(0,u.BX)(u.HY,{children:[(0,u.tZ)(l.Z,{icon:g}),(0,u.tZ)(i.ZP,{$width:"16px"})]}):null,(0,u.BX)(S,{children:[(0,u.tZ)(j,{$color:T,children:(0,u.tZ)(n.Z,{clamp:3,children:(0,u.tZ)(c.Z,{content:_,options:d("code",p)})})}),s?(0,u.tZ)(P,{$color:T,children:(0,u.tZ)(n.Z,{clamp:3,children:(0,u.tZ)(c.Z,{content:s})})}):null]})]}),function(){var t=(0,m.Lq)(x),r=v({size:16},t?{color:t}:{});return h?A(h,r,k?e:void 0):k?A({type:"platformIcon",platformIcon:"X"},r,e):null}()]})}},9783:function(t,e,r){"use strict";r.d(e,{Az:function(){return C},FD:function(){return O},GD:function(){return x},I9:function(){return X},Ie:function(){return U},Jd:function(){return T},K2:function(){return s},Kj:function(){return G},Mg:function(){return y},Mi:function(){return D},PK:function(){return $},Tf:function(){return W},UK:function(){return F},VH:function(){return S},W_:function(){return R},Xd:function(){return P},ZL:function(){return w},_R:function(){return v},ai:function(){return M},dA:function(){return k},ej:function(){return _},gO:function(){return I},h:function(){return b},hp:function(){return B},ll:function(){return g},oW:function(){return E},o_:function(){return m},oj:function(){return H},qY:function(){return p},rB:function(){return d},rm:function(){return A},sC:function(){return z},tE:function(){return h},uM:function(){return j},uy:function(){return Z},xt:function(){return L},xw:function(){return N}});var n=r(78204),o=r(81957),i=r(53838),a=r(28198);function l(t){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function c(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function u(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?c(Object(r),!0).forEach((function(e){f(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function f(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==l(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==l(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===l(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var s=(0,n.zo)("div",{overflow:"hidden",width:"100%"}),p=(0,n.zo)("div",(function(t){var e=t.$centerPadding;return{width:"calc(100% - 2 * ".concat(e,"px)"),margin:"0 auto",display:"flex",justifyContent:"center"}})),d=(0,n.zo)("div",{display:"flex",justifyContent:"center"}),y=(0,n.zo)("div",{display:"flex",alignItems:"center",justifyContent:"space-between"}),m=(0,n.zo)("div",(function(t){var e=t.$theme,r=t.$color,n=t.$backgroundColor,o=t.$isContentWhite,i=t.$isCta;return u(u(u({color:i?e.colors.contentOnColorInverse:o?e.colors.contentOnColor:e.colors.contentOnColorInverse},i?{backgroundColor:e.colors.white}:{}),r?{color:r}:{}),n?{backgroundColor:n}:{})})),b=(0,n.zo)("div",(function(t){var e=t.$width;return{width:"".concat(null!=e?e:100,"%")}})),g=(0,n.w1)(m,(function(t){var e=t.$theme,r=t.$fontSizeLevel;return u({whiteSpace:"pre-wrap"},t.$cardStyles.getTitleFont({$theme:e,$fontSizeLevel:r}))})),v=(0,n.w1)(m,(function(t){var e=t.$theme,r=t.$cardStyles;return u(u({whiteSpace:"pre-wrap"},r.getSubtitleFont({$theme:e})),{},{marginTop:r.getLayoutSize().spacer})})),h=(0,n.w1)(m,(function(t){var e=t.$theme,r=t.$cardStyles;return u(u({display:"grid",gridAutoFlow:"column",gap:e.sizing.scale100,borderRadius:e.borders.pillButtonBorderRadius,boxSizing:"border-box"},r.getCtaFont({$theme:e})),{},{marginTop:r.getLayoutSize().spacer})})),O=(0,n.zo)("div",{overflow:"hidden",textOverflow:"ellipsis","-webkit-line-clamp":1,"-webkit-box-orient":"vertical",paddingBottom:"4px",alignItems:"center",display:"flex"}),w=(0,n.zo)("div",(function(t){var e=t.$theme,r=t.$opacity;return{backgroundColor:(0,o.uE)(e.colors.black,r),position:"absolute",top:0,width:"100%",height:"100%"}})),S=(0,n.zo)("div",{position:"absolute",top:0,width:"100%",height:"100%"}),j=(0,n.zo)("div",(function(t){var e=t.$backgroundColor;return u({position:"absolute",top:0,left:0,right:0,bottom:0},e?{backgroundColor:e}:{})})),P=(0,n.zo)(a.Z,(function(){return{objectFit:"cover",width:"100%",height:"100%",position:"absolute",top:0}})),k=(0,n.zo)("div",(function(t){return{display:"flex",flexDirection:"column",gap:t.$theme.sizing.scale500}})),x=(0,n.zo)("div",(function(t){return u(u({},t.$theme.overlays.full),{},{position:"fixed",top:0,left:0,right:0,height:"100%",zIndex:i.I_.modal,display:"flex",justifyContent:"center"})})),E=(0,n.zo)("div",{display:"flex",justifyContent:"center",alignSelf:"flex-end",position:"relative",width:"1000px",animationName:{from:{transform:"translateY(calc(100% + ".concat(40,"px))")},to:{transform:"translateY(calc(0))"}},animationDuration:"150ms",animationTimingFunction:"ease-in-out"}),C=(0,n.zo)("div",(function(t){var e=t.$height;return{display:"flex",justifyContent:"center",height:"".concat(e,"px"),width:"fit-content",zIndex:i.I_.modal,position:"absolute",margin:"auto",top:"-".concat(40,"px"),left:0,right:0}})),I=(0,n.zo)("div",{zIndex:i.I_.modal,overflow:"hidden"}),$=(0,n.zo)("div",(function(t){var e=t.$styles;return{alignItems:"center",display:"flex",flexDirection:"column",margin:"0 auto",padding:e.getLayoutSize().contentPadding,maxWidth:e.getLayoutSize().contentMaxWidth}})),_=(0,n.zo)("div",(function(t){var e=t.$theme;return{borderRadius:"50%",height:"1000px",width:"1000px",position:"absolute",top:0,backgroundColor:t.$backgroundColor||e.colors.backgroundPrimary}})),A=(0,n.zo)("div",(function(t){var e=t.$transform;return{position:"fixed",bottom:0,left:0,right:0,display:"flex",justifyContent:"center",zIndex:i.I_.surface,transition:"0.5s",transform:e}})),D=(0,n.w1)(m,(function(t){return u(u({},t.$theme.typography.LabelLarge),{},{textAlign:"center"})})),T=(0,n.w1)(m,(function(t){return u({},t.$theme.typography.ParagraphSmall)})),Z=(0,n.zo)("div",u(u({},i.I),{},{position:"absolute",cursor:"pointer",left:"336px",top:"56px"})),z=(0,n.zo)("div",{display:"flex",justifyContent:"center",position:"relative",minWidth:"1000px"}),L=(0,n.zo)("div",{zIndex:i.I_.surface,overflow:"hidden"}),R=(0,n.zo)("div",{alignItems:"center",display:"flex",flexDirection:"column",cursor:"pointer",padding:"40px 24px 16px 24px",width:"220px"}),M=(0,n.zo)("div",(function(t){var e=t.$theme;return{boxShadow:"0px -4px 16px rgba(0, 0, 0, 0.12)",backgroundColor:t.$backgroundColor||e.colors.backgroundPositive,borderRadius:"50%",height:"1000px",width:"1000px",position:"absolute",top:0}})),N=(0,n.zo)("div",(function(t){t.$theme;return{height:"100px"}})),B=(0,n.zo)("a",(function(t){var e=t.$theme,r=t.$isStatic;return u({display:"block",width:"100%",overflow:"hidden",boxSizing:"border-box",isolation:"isolate",borderRadius:e.borders.radius400},r?{}:{cursor:"pointer",pointerEvents:"auto"})})),U=(0,n.w1)(B,(function(t){var e=t.$theme;return{border:"solid 1px ".concat(e.colors.borderOpaque)}})),H=(0,n.w1)(B,(function(t){var e=t.$theme;return{border:"solid 2px ".concat(e.colors.borderOpaque)}})),F=((0,n.zo)("a",{}),(0,n.zo)("a",{textDecoration:"underline"}),(0,n.zo)("div",(function(t){var e=t.$cardStyles,r=t.$minHeight;return{position:"relative",width:"100%",minHeight:void 0===r?"140px":r,":before":{display:"block",content:'""',width:"100%",paddingTop:e.getLayoutSize().cardAspectRatio}}}))),X={style:function(t){var e=t.$theme;return{width:"auto",paddingTop:e.sizing.scale0,paddingBottom:e.sizing.scale0,paddingLeft:e.sizing.scale100,paddingRight:e.sizing.scale100,color:e.colors.contentOnColorInverse,backgroundColor:e.colors.gray100,borderLeftRadius:e.borders.radius200,borderRightRadius:e.borders.radius200,borderTopRadius:e.borders.radius200,borderBottomRadius:e.borders.radius200,opacity:.8,":hover":{backgroundColor:(0,o.dK)(e.colors.gray100,.2)},":active":{backgroundColor:(0,o.vm)(e.colors.gray100,.2)}}}},G=(0,n.zo)("div",(function(t){var e=t.$theme;return u({marginTop:e.sizing.scale500,color:e.colors.contentTertiary},e.typography.ParagraphXSmall)})),W=(0,n.zo)("div",{width:"100%"})},24748:function(t,e,r){"use strict";var n=r(78204),o=r(51463),i=r(81957);function a(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==e);c=!0);}catch(t){u=!0,o=t}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return l(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return l(t,e)}(t,e)||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 l(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}e.Z=function(){var t=a((0,n.hQ)(),2)[1],e=function(e){var r;return null!==(r=t.colors[e])&&void 0!==r?r:""};return function(t){var r=t.color,n=t.defaultColor,a=t.disableRgba;if(null!=r&&r.type)switch(null==r?void 0:r.type){case"color":var l,c=a?null===(l=r.color)||void 0===l?void 0:l.color:(0,o.T)(r.color);if(c)return c;break;case"semanticColor":var u=(0,i.Lq)(r.semanticColor);if(u)return e(u);break;case"hexColor":var f,s=a?null===(f=r.hexColor)||void 0===f?void 0:f.color:(0,o.T)(r.hexColor);if(s)return s;break;case"primitiveColor":var p=(0,i.D_)(r.primitiveColor)||"";return e(p)}return n?e(n):""}}},68859:function(t,e,r){"use strict";r.d(e,{h:function(){return o},p:function(){return i}});var n=r(42262);function o(t){return"card"===t.type?t.card:"advertisementCard"===t.type?t.advertisementCard.baseCard:null}function i(t){var e,r=t.eaterMessage,i=r.payload,a=r.surfaceId,l=r.uuid,c=t.feedIndex,u=void 0===c?0:c,f="cardCarousel"===(null==i?void 0:i.type)?null===(e=i.cardCarousel)||void 0===e?void 0:e.carouselItems:void 0,s=null==f?void 0:f.map((function(t,e){var r,n,i=o(t);return null==i?null:{verticalPosition:u,position:e,surface:a,cardUuid:i.uuid,messageUuid:l,trackingId:null===(r=i.metadata)||void 0===r?void 0:r.trackingID,actionTrackingId:null===(n=i.cta)||void 0===n?void 0:n.trackingID,cardTitle:i.title,numberOfCards:f.length}}));return{impressionRef:(0,n.v)({impressionEventName:"eats_messaging_carousel_impression",payload:{surface:a,backendSessionID:"",carouselItems:null==s?void 0:s.filter(Boolean),messageUuid:l}}).impressionRef,carouselItemsAnalyticsPayloads:s}}},86:function(t,e,r){"use strict";r.d(e,{Z:function(){return v}});var n=r(53587),o=r(97920),i=r(71497),a=r(29947),l=r(68859),c=r(2593),u=r(39732),f=r(18817),s=r(30868),p=r(45202);var d=function(t,e,r){var o=(0,n.useRef)(t),i=o.current,a=r(i,e);return(0,n.useEffect)((function(){a||(o.current=e)})),a?i:e};function y(t){return(y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function m(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function b(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?m(Object(r),!0).forEach((function(e){g(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):m(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function g(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==y(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==y(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===y(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function v(t,e,r,y,m){var g=(0,f.Z)(),v=(0,i.ip)(b(b({},u.K.orchid_content_suppression_enabled),{},{defaultValue:!1})),h=d([],t,(function(t,e){return e.every((function(e,r){var n=t[r];if("card"===e.type&&"card"===(null==n?void 0:n.type)){var o,i=n.card,a=i.uuid,l=i.title,u=i.subtitle,f=e.card,s=f.uuid,p=f.title,d=f.subtitle,y=f.metadata,m=null!==(o=null==y?void 0:y.trackingID)&&void 0!==o?o:"";return v&&g&&(0,c.Iw)(m)?(S("eats:unsupported_orchid_provider",{eaterMessage:{trackingID:m,uuid:null!=s?s:""}}),!1):s===a&&p===l&&d===u}if("advertisementCard"===e.type&&"advertisementCard"===(null==n?void 0:n.type)){var b,h,O=null!==(b=n.advertisementCard.baseCard)&&void 0!==b?b:{},w=O.uuid,j=O.title,P=O.subtitle,k=null!==(h=e.advertisementCard.baseCard)&&void 0!==h?h:{},x=k.uuid,E=k.title,C=k.subtitle;return x===w&&E===j&&C===P}return!1}))})),O=(0,n.useMemo)((function(){return h.map((function(t){return null==m?void 0:m.find((function(e){var r=(0,l.h)(t);return(null==e?void 0:e.cardUuid)===(null==r?void 0:r.uuid)}))}))}),[m,h]),w=(0,n.useRef)(new Set([])),S=(0,p.ZP)(),j=(0,a.d)(),P=(0,o.UO)(),k=(0,s.Z)({encodedStoreUuid:P.encodedStoreUuid}),x=(0,n.useCallback)((function(t){t.forEach((function(t){var n,o,i,a,l;switch(t.type){case"card":var c,u,f;n=t.card.uuid,o=null===(c=t.card.metadata)||void 0===c?void 0:c.trackingID,a=t.card.title,l="flowCardMetadata"===(null===(u=t.card.cardMetadata)||void 0===u?void 0:u.type)?null===(f=t.card)||void 0===f||null===(f=f.cardMetadata)||void 0===f||null===(f=f.flowCardMetadata)||void 0===f?void 0:f.flowUuid:null,i=h.findIndex((function(t){return"card"===t.type&&t.card.uuid===n}));break;case"advertisementCard":var s,p,d,m=null!==(d=t.advertisementCard.baseCard)&&void 0!==d?d:{};n=m.uuid,o=null===(s=t.advertisementCard.baseCard)||void 0===s||null===(s=s.metadata)||void 0===s?void 0:s.trackingID,a=null===(p=t.advertisementCard.baseCard)||void 0===p?void 0:p.title,i=h.findIndex((function(t){var e;return"advertisementCard"===t.type&&(null===(e=t.advertisementCard.baseCard)||void 0===e?void 0:e.uuid)===n}));break;case"imageListCard":var b=t.imageListCard;n=b.uuid,o=b.trackingID,i=h.findIndex((function(t){return"imageListCard"===t.type&&t.imageListCard.uuid===n}));break;case"videoCard":var g,v,O,P=null!==(O=t.videoCard.baseCard)&&void 0!==O?O:{};n=P.uuid,o=null===(g=t.videoCard.baseCard)||void 0===g||null===(g=g.metadata)||void 0===g?void 0:g.trackingID,a=null===(v=t.videoCard.baseCard)||void 0===v?void 0:v.title,i=h.findIndex((function(t){var e;return"videoCard"===t.type&&(null===(e=t.videoCard.baseCard)||void 0===e?void 0:e.uuid)===n}))}var x=n||"",E=e+x;w.current.has(E)||(w.current.add(E),S("eats:eater_message_view",{eaterMessage:{position:i,verticalPosition:y,surface:e,template:r,uuid:x,flowUuid:l||"",itemType:"cardCarousel",trackingID:o||"",cardTitle:a||"",carouselSize:h.length},diningMode:j,storeUuid:k}))}))}),[S,e,r,y,h,j,k]);return{filteredItems:h,filteredAnalyticsPayloads:O,initialIndex:0,onSlidesDisplayed:x}}},23622:function(t,e,r){"use strict";r.d(e,{Z:function(){return a}});var n=r(22345),o=r(65754),i=r(70835);function a(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.openInNewTab,r=(0,i.Z)();return function(t){e&&!r?null===n.Z||void 0===n.Z||n.Z.open(t,"_blank"):(0,o.Z)(t)}}},73725:function(t,e,r){"use strict";r.d(e,{Z:function(){return i}});var n=r(22345),o=r(53587);function i(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n.Z;return t?o.useLayoutEffect:o.useEffect}},33315:function(t,e,r){"use strict";r.d(e,{N8:function(){return s},ZP:function(){return f}});var n=r(53587),o=r(28992),i=r(42779),a=r(7392);function l(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==e);c=!0);}catch(t){u=!0,o=t}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return c(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return c(t,e)}(t,e)||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 c(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var u=(0,n.createContext)({cardLimit:0,setCardLimit:function(){}});function f(t){var e=l((0,n.useState)(i.SB),2),r=e[0],o=e[1];return(0,a.tZ)(u.Provider,{value:{cardLimit:r,setCardLimit:o},children:t.children})}function s(){var t=o.useContext(u);if(null!==t)return t;throw Error("You should use useEaterMessageCardCarouselContext only in a descendant of EaterMessageCardCarouselProvider")}},85308:function(t,e,r){"use strict";r.d(e,{z:function(){return o}});var n=r(82258),o=function(t){var e=t.collectionSize,r=t.isVideo;return{adFormat:e>1?n.S.CAROUSEL:r?n.S.VIDEO:n.S.IMAGE}}},51463:function(t,e,r){"use strict";r.d(e,{T:function(){return o},d:function(){return i}});var n=r(81957),o=function(t){return null!=t&&t.color?(0,n.uE)(t.color,"number"==typeof t.alpha&&t.alpha>=0&&t.alpha<=1?t.alpha:1):void 0},i=function(t){return"color-mix(in srgb, ".concat(t,", ").concat("#ffffff 16%",")")}},69466:function(t,e,r){"use strict";r.d(e,{N:function(){return u},f:function(){return c}});var n=r(81201);function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==o(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==o(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===o(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var a=36e5,l=i(i(i(i(i({},n.hN.MILLISECONDS,(function(t){return t})),n.hN.SECONDS,(function(t){return 1e3*t})),n.hN.MINUTES,(function(t){return 6e4*t})),n.hN.HOURS,(function(t){return t*a})),n.hN.DAYS,(function(t){return 864e5*t})),c=function(t){return t&&t.duration&&t.durationUnits?l[t.durationUnits](t.duration):0},u=function(t){var e;return"durationMetadata"===(null==t||null===(e=t.metadata)||void 0===e||null===(e=e.messagePayloadMetadata)||void 0===e?void 0:e.type)?t.metadata.messagePayloadMetadata.durationMetadata:null}},73919:function(t,e,r){"use strict";r.d(e,{DB:function(){return p},NI:function(){return w},X4:function(){return h},a4:function(){return O},fG:function(){return b},zy:function(){return d}});var n=r(81201),o=r(42779),i=r(53838);function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function l(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function c(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?l(Object(r),!0).forEach((function(e){u(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function u(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==a(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==a(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===a(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var f=u(u({},n._u.SMALL,{0:3,1:2,2:1}),n._u.REGULAR,{0:5,1:4,2:3,3:2,4:1}),s=u(u({},n._u.SMALL,1),n._u.REGULAR,2),p=function(t){var e=t.template,r=t.eyebrowLines,n=t.subtitleLines,o=t.ctaLines,i=f[e];return i?i[r+n+o]:2},d=function(t){var e=t.template,r=s[e];return null!=r?r:2},y=new Set([n.cx.HOME_FEED_ITEM,n.cx.VERTICAL_FEED_BILLBOARD,n.cx.STOREFRONT_CATALOG_ITEM,n.cx.UNKNOWN]),m=function(t){return function(){return t===n._u.REGULAR?{minHeight:"".concat(o.lC,"px"),cardAspectRatio:"".concat(100*o.Jh,"%"),splitImageAspectRatio:"".concat(100*o.Bu,"%"),splitImageFit:"cover",spacer:"4px"}:{minHeight:"".concat(o.PO,"px"),cardAspectRatio:"".concat(100*o.OL,"%"),splitImageAspectRatio:"".concat(100*o.Zr,"%"),splitImageFit:"cover",spacer:"2px"}}},b=function(t,e){return{CARD:{getContentPadding:function(){return{padding:"16px"}},getTitleFont:function(t){var r=t.$theme;return e===n._u.REGULAR?c(c({},r.typography.HeadingXSmall),{},{fontSize:"16px",lineHeight:"19px"}):c(c({},r.typography.HeadingXSmall),{},{fontSize:"14px",lineHeight:"16px"})},getSubtitleFont:function(t){var r=t.$theme;return e===n._u.REGULAR?r.typography.ParagraphSmall:r.typography.ParagraphXSmall},getCtaFont:function(t){var e=t.$theme;return c(c({},e.typography.LabelXSmall),{},{paddingTop:e.sizing.scale100,paddingBottom:e.sizing.scale100,paddingLeft:e.sizing.scale300,paddingRight:e.sizing.scale300})},getLayoutSize:m(e)}}},g=function(t){var e=t.font,r=t.fontSize,n=t.minFontSize,o=t.lineHeight,a=t.feedContentMaxWidth,l=100*r/(a!==i.zV?a:1440),u=a*l/100;return c(c({},e),{},{lineHeight:o,fontSize:"clamp(".concat(n,"px, ").concat(l,"vw, ").concat(u,"px)")})},v=function(t){var e=t.font,r=t.fontSize1,n=t.fontSize2,a=t.lineHeight,l=r/100,f=n/100,s=i.zV*l,p=i.B7*f;return c(c({},e),{},u(u(u({lineHeight:a,fontSize:"".concat(s,"px")},"@media screen and (max-width: ".concat(i.zV,"px) and (min-width: ").concat(o.aj,"px)"),{fontSize:"".concat(r,"vw")}),"@media screen and (max-width: ".concat(o.aj-1,"px) and (min-width: ").concat(i.B7+1,"px)"),{fontSize:"".concat(n,"vw")}),"@media screen and (max-width: ".concat(i.B7,"px)"),{fontSize:"".concat(p,"px")}))},h=function(t,e,r){return{CARD:{getContentPadding:function(){return{padding:"16px"}},getTitleFont:function(o){var i=o.$theme;return y.has(t)?e===n._u.REGULAR?g({font:i.typography.HeadingXSmall,fontSize:18,minFontSize:14,lineHeight:1.2,feedContentMaxWidth:r}):v({font:i.typography.HeadingXSmall,fontSize1:1.15,fontSize2:1.35,lineHeight:1.2}):c(c({},i.typography.HeadingXSmall),{},{fontSize:"18px",lineHeight:"22px"})},getSubtitleFont:function(o){var i=o.$theme;return y.has(t)?e===n._u.REGULAR?g({font:i.typography.ParagraphSmall,fontSize:14,minFontSize:12,lineHeight:1.4,feedContentMaxWidth:r}):v({font:i.typography.ParagraphMedium,fontSize1:1.05,fontSize2:1.2,lineHeight:1.5}):e===n._u.REGULAR?i.typography.ParagraphSmall:i.typography.ParagraphMedium},getCtaFont:function(o){var i=o.$theme,a={paddingTop:i.sizing.scale100,paddingBottom:i.sizing.scale100,paddingLeft:i.sizing.scale300,paddingRight:i.sizing.scale300};return y.has(t)&&e===n._u.REGULAR?c(c({},g({font:i.typography.LabelSmall,fontSize:14,minFontSize:12,lineHeight:1.15,feedContentMaxWidth:r})),a):c(c({},i.typography.LabelSmall),a)},getLayoutSize:m(e)}}},O=function(){return{SYSTEM_BANNER:{getContentPadding:function(){return{padding:"16px ".concat(i.Jy,"px")}}}}},w=function(){return{SYSTEM_BANNER:{getContentPadding:function(){return{padding:"16px"}}}}}},42262:function(t,e,r){"use strict";r.d(e,{j:function(){return u},v:function(){return c}});var n=r(53587),o=r(45202),i=r(75380);function a(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==e);c=!0);}catch(t){u=!0,o=t}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return l(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return l(t,e)}(t,e)||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 l(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function c(t){var e=t.tapEventName,r=t.impressionEventName,l=t.seeAllTapEventName,c=t.payload,u=(0,o.ZP)(),f=a((0,i.T)({}),2),s=f[0],p=f[1],d=(0,n.useRef)(!1);return(0,n.useEffect)((function(){r&&p&&p.isIntersecting&&!d.current&&(d.current=!0,u("shell:feed_impression_event",{eventName:r,payload:c}))}),[u,p,r,c]),{onClick:(0,n.useCallback)((function(){e&&u("shell:feed_click_event",{eventName:e,payload:c})}),[u,c,e]),onSeeAllClick:(0,n.useCallback)((function(){l&&u("shell:feed_click_event",{eventName:l,payload:c})}),[u,c,l]),impressionRef:s}}function u(t){var e=t.tapEventName,r=t.payload,i=(0,o.ZP)();return(0,n.useCallback)((function(){i("shell:feed_click_event",{eventName:e,payload:r})}),[i,r,e])}},__fusion__487:function(t,e,r){"use strict";r.r(e),r.d(e,{default:function(){return ee}});var n=r(53587);function o(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==e);c=!0);}catch(t){u=!0,o=t}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return i(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return i(t,e)}(t,e)||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 i(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function l(){return(l=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}var c,u,f=["children","options"];!function(t){t.blockQuote="0",t.breakLine="1",t.breakThematic="2",t.codeBlock="3",t.codeFenced="4",t.codeInline="5",t.footnote="6",t.footnoteReference="7",t.gfmTask="8",t.heading="9",t.headingSetext="10",t.htmlBlock="11",t.htmlComment="12",t.htmlSelfClosing="13",t.image="14",t.link="15",t.linkAngleBraceStyleDetector="16",t.linkBareUrlDetector="17",t.linkMailtoDetector="18",t.newlineCoalescer="19",t.orderedList="20",t.paragraph="21",t.ref="22",t.refImage="23",t.refLink="24",t.table="25",t.tableSeparator="26",t.text="27",t.textBolded="28",t.textEmphasized="29",t.textEscaped="30",t.textMarked="31",t.textStrikethroughed="32",t.unorderedList="33"}(c||(c={})),function(t){t[t.MAX=0]="MAX",t[t.HIGH=1]="HIGH",t[t.MED=2]="MED",t[t.LOW=3]="LOW",t[t.MIN=4]="MIN"}(u||(u={}));var s=["allowFullScreen","allowTransparency","autoComplete","autoFocus","autoPlay","cellPadding","cellSpacing","charSet","className","classId","colSpan","contentEditable","contextMenu","crossOrigin","encType","formAction","formEncType","formMethod","formNoValidate","formTarget","frameBorder","hrefLang","inputMode","keyParams","keyType","marginHeight","marginWidth","maxLength","mediaGroup","minLength","noValidate","radioGroup","readOnly","rowSpan","spellCheck","srcDoc","srcLang","srcSet","tabIndex","useMap"].reduce((function(t,e){return t[e.toLowerCase()]=e,t}),{for:"htmlFor"}),p={amp:"&",apos:"'",gt:">",lt:"<",nbsp:" ",quot:"“"},d=["style","script"],y=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,m=/mailto:/i,b=/\n{2,}$/,g=/^(\s*>[\s\S]*?)(?=\n{2,})/,v=/^ *> ?/gm,h=/^ {2,}\n/,O=/^(?:( *[-*_])){3,} *(?:\n *)+\n/,w=/^\s*(`{3,}|~{3,}) *(\S+)?([^\n]*?)?\n([\s\S]+?)\s*\1 *(?:\n *)*\n?/,S=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,j=/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,P=/^(?:\n *)*\n/,k=/\r\n?/g,x=/^\[\^([^\]]+)](:(.*)((\n+ {4,}.*)|(\n(?!\[\^).+))*)/,E=/^\[\^([^\]]+)]/,C=/\f/g,I=/^---[ \t]*\n(.|\n)*\n---[ \t]*\n/,$=/^\s*?\[(x|\s)\]/,_=/^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,A=/^ *(#{1,6}) +([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,D=/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/,T=/^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?((?:[^>]*[^/])?)>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1\b)[\s\S])*?)<\/\1>(?!<\/\1>)\n*/i,Z=/&([a-z0-9]+|#[0-9]{1,6}|#x[0-9a-fA-F]{1,6});/gi,z=/^<!--[\s\S]*?(?:-->)/,L=/^(data|aria|x)-[a-z_][a-z\d_.-]*$/,R=/^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i,M=/^\{.*\}$/,N=/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,B=/^<([^ >]+@[^ >]+)>/,U=/^<([^ >]+:\/[^ >]+)>/,H=/-([a-z])?/gi,F=/^(.*\|.*)\n(?: *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*))?\n?/,X=/^\[([^\]]*)\]:\s+<?([^\s>]+)>?\s*("([^"]*)")?/,G=/^!\[([^\]]*)\] ?\[([^\]]*)\]/,W=/^\[([^\]]*)\] ?\[([^\]]*)\]/,V=/(\[|\])/g,Y=/(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/,K=/\t/g,J=/(^ *\||\| *$)/g,q=/^ *:-+: *$/,Q=/^ *:-+ *$/,tt=/^ *-+: *$/,et="((?:\\[.*?\\][([].*?[)\\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~~.*?~~|==.*?==|.|\\n)*?)",rt=new RegExp("^([*_])\\1".concat(et,"\\1\\1(?!\\1)")),nt=new RegExp("^([*_])".concat(et,"\\1(?!\\1|\\w)")),ot=new RegExp("^==".concat(et,"==")),it=new RegExp("^~~".concat(et,"~~")),at=/^\\([^0-9A-Za-z\s])/,lt=/^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff&#;.()'"]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i,ct=/^\n+/,ut=/^([ \t]*)/,ft=/\\([^\\])/g,st=/ *\n+$/,pt=/(?:^|\n)( *)$/,dt="(?:\\d+\\.)",yt="(?:[*+-])";function mt(t){return"( *)("+(1===t?dt:yt)+") +"}var bt=mt(1),gt=mt(2);function vt(t){return new RegExp("^"+(1===t?bt:gt))}var ht=vt(1),Ot=vt(2);function wt(t){return new RegExp("^"+(1===t?bt:gt)+"[^\\n]*(?:\\n(?!\\1"+(1===t?dt:yt)+" )[^\\n]*)*(\\n|$)","gm")}var St=wt(1),jt=wt(2);function Pt(t){var e=1===t?dt:yt;return new RegExp("^( *)("+e+") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1"+e+" (?!"+e+" ))\\n*|\\s*\\n*$)")}var kt=Pt(1),xt=Pt(2);function Et(t,e){var r=1===e,n=r?kt:xt,o=r?St:jt,i=r?ht:Ot;return{match:function(t,e,r){var o=pt.exec(r);return o&&(e.list||!e.inline&&!e.simple)?n.exec(t=o[1]+t):null},order:1,parse:function(t,e,n){var a=r?+t[2]:void 0,l=t[0].replace(b,"\n").match(o),c=!1;return{items:l.map((function(t,r){var o=i.exec(t)[0].length,a=new RegExp("^ {1,"+o+"}","gm"),u=t.replace(a,"").replace(i,""),f=r===l.length-1,s=-1!==u.indexOf("\n\n")||f&&c;c=s;var p,d=n.inline,y=n.list;n.list=!0,s?(n.inline=!1,p=u.replace(st,"\n\n")):(n.inline=!0,p=u.replace(st,""));var m=e(p,n);return n.inline=d,n.list=y,m})),ordered:r,start:a}},render:function(e,r,n){return t(e.ordered?"ol":"ul",{key:n.key,start:"20"===e.type?e.start:void 0},e.items.map((function(e,o){return t("li",{key:o},r(e,n))})))}}}var Ct=new RegExp("^\\[((?:\\[[^\\]]*\\]|[^\\[\\]]|\\](?=[^\\[]*\\]))*)\\]\\(\\s*<?((?:\\([^)]*\\)|[^\\s\\\\]|\\\\.)*?)>?(?:\\s+['\"]([\\s\\S]*?)['\"])?\\s*\\)"),It=/^!\[(.*?)\]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,$t=[g,w,S,_,D,A,z,F,St,kt,jt,xt],_t=[].concat($t,[/^[^\n]+(?:  \n|\n{2,})/,T,R]);function At(t){return t.replace(/[ÀÁÂÃÄÅàáâãäåæÆ]/g,"a").replace(/[çÇ]/g,"c").replace(/[ðÐ]/g,"d").replace(/[ÈÉÊËéèêë]/g,"e").replace(/[ÏïÎîÍíÌì]/g,"i").replace(/[Ññ]/g,"n").replace(/[øØœŒÕõÔôÓóÒò]/g,"o").replace(/[ÜüÛûÚúÙù]/g,"u").replace(/[ŸÿÝý]/g,"y").replace(/[^a-z0-9- ]/gi,"").replace(/ /gi,"-").toLowerCase()}function Dt(t){return tt.test(t)?"right":q.test(t)?"center":Q.test(t)?"left":null}function Tt(t,e,r,n){var o=r.inTable;r.inTable=!0;var i=t.trim().split(/( *(?:`[^`]*`|<.*?>.*?<\/.*?>(?!<\/.*?>)|\\\||\|) *)/).reduce((function(t,o){return"|"===o.trim()?t.push(n?{type:"26"}:{type:"27",text:o}):""!==o&&t.push.apply(t,e(o,r)),t}),[]);r.inTable=o;var a=[[]];return i.forEach((function(t,e){"26"===t.type?0!==e&&e!==i.length-1&&a.push([]):("27"!==t.type||null!=i[e+1]&&"26"!==i[e+1].type||(t.text=t.text.trimEnd()),a[a.length-1].push(t))})),a}function Zt(t,e,r){r.inline=!0;var n=t[2]?t[2].replace(J,"").split("|").map(Dt):[],o=t[3]?function(t,e,r){return t.trim().split("\n").map((function(t){return Tt(t,e,r,!0)}))}(t[3],e,r):[],i=Tt(t[1],e,r,!!o.length);return r.inline=!1,o.length?{align:n,cells:o,header:i,type:"25"}:{children:i,type:"21"}}function zt(t,e){return null==t.align[e]?{}:{textAlign:t.align[e]}}function Lt(t){return function(e,r){return r.inline?t.exec(e):null}}function Rt(t){return function(e,r){return r.inline||r.simple?t.exec(e):null}}function Mt(t){return function(e,r){return r.inline||r.simple?null:t.exec(e)}}function Nt(t){return function(e){return t.exec(e)}}function Bt(t,e,r){if(e.inline||e.simple)return null;if(r&&!r.endsWith("\n"))return null;var n="";t.split("\n").every((function(t){return!$t.some((function(e){return e.test(t)}))&&(n+=t+"\n",t.trim())}));var o=n.trimEnd();return""==o?null:[n,o]}function Ut(t){try{if(decodeURIComponent(t).replace(/[^A-Za-z0-9/:]/g,"").match(/^\s*(javascript|vbscript|data(?!:image)):/i))return}catch(t){return null}return t}function Ht(t){return t.replace(ft,"$1")}function Ft(t,e,r){var n=r.inline||!1,o=r.simple||!1;r.inline=!0,r.simple=!0;var i=t(e,r);return r.inline=n,r.simple=o,i}function Xt(t,e,r){var n=r.inline||!1,o=r.simple||!1;r.inline=!1,r.simple=!0;var i=t(e,r);return r.inline=n,r.simple=o,i}function Gt(t,e,r){var n=r.inline||!1;r.inline=!1;var o=t(e,r);return r.inline=n,o}var Wt=function(t,e,r){return{children:Ft(e,t[1],r)}};function Vt(){return{}}function Yt(){return null}function Kt(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return e.filter(Boolean).join(" ")}function Jt(t,e,r){for(var n=t,o=e.split(".");o.length&&void 0!==(n=n[o[0]]);)o.shift();return n||r}function qt(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.overrides=e.overrides||{},e.slugify=e.slugify||At,e.namedCodesToUnicode=e.namedCodesToUnicode?l({},p,e.namedCodesToUnicode):p;var r=e.createElement||n.createElement;function i(t,n){for(var o=Jt(e.overrides,"".concat(t,".props"),{}),i=arguments.length,c=new Array(i>2?i-2:0),u=2;u<i;u++)c[u-2]=arguments[u];return r.apply(void 0,[function(t,e){var r=Jt(e,t);return r?"function"==typeof r||"object"==a(r)&&"render"in r?r:Jt(e,"".concat(t,".component"),t):t}(t,e.overrides),l({},n,o,{className:Kt(null==n?void 0:n.className,o.className)||void 0})].concat(c))}function c(t){t=t.replace(I,"");var r=!1;e.forceInline?r=!0:e.forceBlock||(r=!1===Y.test(t));for(var o=tt(Q(r?t:"".concat(t.trimEnd().replace(ct,""),"\n\n"),{inline:r}));"string"==typeof o[o.length-1]&&!o[o.length-1].trim();)o.pop();if(null===e.wrapper)return o;var a,l=e.wrapper||(r?"span":"div");if(o.length>1||e.forceWrapper)a=o;else{if(1===o.length)return"string"==typeof(a=o[0])?i("span",{key:"outer"},a):a;a=null}return n.createElement(l,{key:"outer"},a)}function u(t){var e=t.match(y);return e?e.reduce((function(t,e,r){var o=e.indexOf("=");if(-1!==o){var i=function(t){return-1!==t.indexOf("-")&&null===t.match(L)&&(t=t.replace(H,(function(t,e){return e.toUpperCase()}))),t}(e.slice(0,o)).trim(),a=function(t){var e=t[0];return('"'===e||"'"===e)&&t.length>=2&&t[t.length-1]===e?t.slice(1,-1):t}(e.slice(o+1).trim()),l=s[i]||i,u=t[l]=function(t,e){return"style"===t?e.split(/;\s?/).reduce((function(t,e){var r=e.slice(0,e.indexOf(":"));return t[r.trim().replace(/(-[a-z])/g,(function(t){return t[1].toUpperCase()}))]=e.slice(r.length+1).trim(),t}),{}):"href"===t||"src"===t?Ut(e):(e.match(M)&&(e=e.slice(1,e.length-1)),"true"===e||"false"!==e&&e)}(i,a);"string"==typeof u&&(T.test(u)||R.test(u))&&(t[l]=n.cloneElement(c(u.trim()),{key:r}))}else"style"!==e&&(t[s[e]||e]=!0);return t}),{}):null}var f=[],b={},J={0:{match:Mt(g),order:1,parse:function(t,e,r){return{children:e(t[0].replace(v,""),r)}},render:function(t,e,r){return i("blockquote",{key:r.key},e(t.children,r))}},1:{match:Nt(h),order:1,parse:Vt,render:function(t,e,r){return i("br",{key:r.key})}},2:{match:Mt(O),order:1,parse:Vt,render:function(t,e,r){return i("hr",{key:r.key})}},3:{match:Mt(S),order:0,parse:function(t){return{lang:void 0,text:t[0].replace(/^ {4}/gm,"").replace(/\n+$/,"")}},render:function(t,e,r){return i("pre",{key:r.key},i("code",l({},t.attrs,{className:t.lang?"lang-".concat(t.lang):""}),t.text))}},4:{match:Mt(w),order:0,parse:function(t){return{attrs:u(t[3]||""),lang:t[2]||void 0,text:t[4],type:"3"}}},5:{match:Rt(j),order:3,parse:function(t){return{text:t[2]}},render:function(t,e,r){return i("code",{key:r.key},t.text)}},6:{match:Mt(x),order:0,parse:function(t){return f.push({footnote:t[2],identifier:t[1]}),{}},render:Yt},7:{match:Lt(E),order:1,parse:function(t){return{target:"#".concat(e.slugify(t[1])),text:t[1]}},render:function(t,e,r){return i("a",{key:r.key,href:Ut(t.target)},i("sup",{key:r.key},t.text))}},8:{match:Lt($),order:1,parse:function(t){return{completed:"x"===t[1].toLowerCase()}},render:function(t,e,r){return i("input",{checked:t.completed,key:r.key,readOnly:!0,type:"checkbox"})}},9:{match:Mt(e.enforceAtxHeadings?A:_),order:1,parse:function(t,r,n){return{children:Ft(r,t[2],n),id:e.slugify(t[2]),level:t[1].length}},render:function(t,e,r){return i("h".concat(t.level),{id:t.id,key:r.key},e(t.children,r))}},10:{match:Mt(D),order:0,parse:function(t,e,r){return{children:Ft(e,t[1],r),level:"="===t[2]?1:2,type:"9"}}},11:{match:Nt(T),order:1,parse:function(t,e,r){var n,i=o(t[3].match(ut),2)[1],a=new RegExp("^".concat(i),"gm"),l=t[3].replace(a,""),c=(n=l,_t.some((function(t){return t.test(n)}))?Gt:Ft),f=t[1].toLowerCase(),s=-1!==d.indexOf(f),p={attrs:u(t[2]),noInnerParse:s,tag:(s?f:t[1]).trim()};return r.inAnchor=r.inAnchor||"a"===f,s?p.text=t[3]:p.children=c(e,l,r),r.inAnchor=!1,p},render:function(t,e,r){return i(t.tag,l({key:r.key},t.attrs),t.text||e(t.children,r))}},13:{match:Nt(R),order:1,parse:function(t){return{attrs:u(t[2]||""),tag:t[1].trim()}},render:function(t,e,r){return i(t.tag,l({},t.attrs,{key:r.key}))}},12:{match:Nt(z),order:1,parse:function(){return{}},render:Yt},14:{match:Rt(It),order:1,parse:function(t){return{alt:t[1],target:Ht(t[2]),title:t[3]}},render:function(t,e,r){return i("img",{key:r.key,alt:t.alt||void 0,title:t.title||void 0,src:Ut(t.target)})}},15:{match:Lt(Ct),order:3,parse:function(t,e,r){return{children:Xt(e,t[1],r),target:Ht(t[2]),title:t[3]}},render:function(t,e,r){return i("a",{key:r.key,href:Ut(t.target),title:t.title},e(t.children,r))}},16:{match:Lt(U),order:0,parse:function(t){return{children:[{text:t[1],type:"27"}],target:t[1],type:"15"}}},17:{match:function(t,e){return e.inAnchor?null:Lt(N)(t,e)},order:0,parse:function(t){return{children:[{text:t[1],type:"27"}],target:t[1],title:void 0,type:"15"}}},18:{match:Lt(B),order:0,parse:function(t){var e=t[1],r=t[1];return m.test(r)||(r="mailto:"+r),{children:[{text:e.replace("mailto:",""),type:"27"}],target:r,type:"15"}}},20:Et(i,1),33:Et(i,2),19:{match:Mt(P),order:3,parse:Vt,render:function(){return"\n"}},21:{match:Bt,order:3,parse:Wt,render:function(t,e,r){return i("p",{key:r.key},e(t.children,r))}},22:{match:Lt(X),order:0,parse:function(t){return b[t[1]]={target:t[2],title:t[4]},{}},render:Yt},23:{match:Rt(G),order:0,parse:function(t){return{alt:t[1]||void 0,ref:t[2]}},render:function(t,e,r){return b[t.ref]?i("img",{key:r.key,alt:t.alt,src:Ut(b[t.ref].target),title:b[t.ref].title}):null}},24:{match:Lt(W),order:0,parse:function(t,e,r){return{children:e(t[1],r),fallbackChildren:e(t[0].replace(V,"\\$1"),r),ref:t[2]}},render:function(t,e,r){return b[t.ref]?i("a",{key:r.key,href:Ut(b[t.ref].target),title:b[t.ref].title},e(t.children,r)):i("span",{key:r.key},e(t.fallbackChildren,r))}},25:{match:Mt(F),order:1,parse:Zt,render:function(t,e,r){var n=t;return i("table",{key:r.key},i("thead",null,i("tr",null,n.header.map((function(t,o){return i("th",{key:o,style:zt(n,o)},e(t,r))})))),i("tbody",null,n.cells.map((function(t,o){return i("tr",{key:o},t.map((function(t,o){return i("td",{key:o,style:zt(n,o)},e(t,r))})))}))))}},27:{match:Nt(lt),order:4,parse:function(t){return{text:t[0].replace(Z,(function(t,r){return e.namedCodesToUnicode[r]?e.namedCodesToUnicode[r]:t}))}},render:function(t){return t.text}},28:{match:Rt(rt),order:2,parse:function(t,e,r){return{children:e(t[2],r)}},render:function(t,e,r){return i("strong",{key:r.key},e(t.children,r))}},29:{match:Rt(nt),order:3,parse:function(t,e,r){return{children:e(t[2],r)}},render:function(t,e,r){return i("em",{key:r.key},e(t.children,r))}},30:{match:Rt(at),order:1,parse:function(t){return{text:t[1],type:"27"}}},31:{match:Rt(ot),order:3,parse:Wt,render:function(t,e,r){return i("mark",{key:r.key},e(t.children,r))}},32:{match:Rt(it),order:3,parse:Wt,render:function(t,e,r){return i("del",{key:r.key},e(t.children,r))}}};!0===e.disableParsingRawHTML&&(delete J[11],delete J[13]);var q,Q=function(t){var e=Object.keys(t);function r(n,o){for(var i=[],a="";n;)for(var l=0;l<e.length;){var c=e[l],u=t[c],f=u.match(n,o,a);if(f){var s=f[0];n=n.substring(s.length);var p=u.parse(f,r,o);null==p.type&&(p.type=c),i.push(p),a=s;break}l++}return i}return e.sort((function(e,r){var n=t[e].order,o=t[r].order;return n!==o?n-o:e<r?-1:1})),function(t,e){return r(function(t){return t.replace(k,"\n").replace(C,"").replace(K,"    ")}(t),e)}}(J),tt=(q=function(t,e){return function(r,n,o){var i=t[r.type].render;return e?e((function(){return i(r,n,o)}),r,n,o):i(r,n,o)}}(J,e.renderRule),function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Array.isArray(e)){for(var n=r.key,o=[],i=!1,a=0;a<e.length;a++){r.key=a;var l=t(e[a],r),c="string"==typeof l;c&&i?o[o.length-1]+=l:null!==l&&o.push(l),i=c}return r.key=n,o}return q(e,t,r)}),et=c(t);return f.length?i("div",null,et,i("footer",{key:"footer"},f.map((function(t){return i("div",{id:e.slugify(t.identifier),key:t.identifier},t.identifier,tt(Q(t.footnote,{inline:!0})))})))):et}var Qt=function(t){var e=t.children,r=void 0===e?"":e,o=t.options,i=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)e.indexOf(r=i[n])>=0||(o[r]=t[r]);return o}(t,f);return n.cloneElement(qt(r,o),i)},te=r(7392),ee=function(t){var e=t.content,r=t.options,o=void 0===r?{}:r,i=t.setReady;return(0,n.useLayoutEffect)((function(){i&&i(!0)}),[i]),(0,te.tZ)(Qt,{options:o,children:e})}},2353:function(t,e,r){"use strict";r.d(e,{Z:function(){return h}});var n=r(53587),o=r(95562),i=r(62738),a=/\*{1,}(.*?)\*{1,}/g,l=/~{1,}(.*?)~{1,}/g,c=/`{1,}(.*?)`{1,}/g,u=/\[(.*?)\]\(.*?\)/g,f=r(7392);function s(t){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function p(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function d(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?p(Object(r),!0).forEach((function(e){y(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function y(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==s(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==s(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===s(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function m(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==e);c=!0);}catch(t){u=!0,o=t}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return b(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return b(t,e)}(t,e)||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(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var g=function(t){return(0,f.tZ)(f.HY,{children:t.children})},v=(0,o.V)({chunkId:"markdown",load:function(){return Promise.resolve().then(r.bind(r,"__fusion__487"))},LoadingComponent:function(){return null},ErrorComponent:function(){return null}}),h=function(t){var e=(0,i.Z)(),r=m((0,n.useState)(!1),2),o=r[0],s=r[1],p=function(t){return(arguments.length>1&&void 0!==arguments[1]?arguments[1]:[a,l,c,u]).reduce((function(t,e){return t.replace(e,"$1")}),t)}(t.content.replace(/\\/g,""));return(0,f.BX)(f.HY,{children:[o||!e?null:(0,f.tZ)(g,{children:p}),(0,f.tZ)(v,d(d({},t),{},{setReady:s}))]})}},25776:function(t,e,r){"use strict";var n=r(79443),o=r(7392);e.Z=function(t){var e=t.messageKey,r=t.children;return(0,n.Z)(e).shouldShowMessage?(0,o.tZ)(o.HY,{children:r}):null}},22381:function(t,e,r){"use strict";r.d(e,{Z:function(){return l}});var n={gdpr:["chocolate-chip-cookie","rating"],"app-install-popover":["gdpr","rating","membership-bottom-screen-banner"],"app-install-fullscreen":["chocolate-chip-cookie","membership-bottom-screen-banner"],"thin-mint":["cart-view-button"],"eats-pass-snackbar":["cart-view-button","new-user-promo-snackbar","chocolate-chip-cookie","thin-mint","app-install-popover"],"new-user-promo-snackbar":["cart-view-button","chocolate-chip-cookie","thin-mint","app-install-popover"],"membership-bottom-screen-banner":["gdpr","rating","chocolate-chip-cookie","thin-mint","cart-view-button","eats-pass-snackbar","new-user-promo-snackbar"],"uber-one-upsell-banner":["rating","chocolate-chip-cookie","thin-mint","cart-view-button","eats-pass-snackbar","new-user-promo-snackbar","membership-bottom-screen-banner"],"inline-tooltip":["system-banner"]},o={gdpr:["chocolate-chip-cookie","rating"],rating:["cart-drawer"],"thin-mint":["cart-drawer"],"eats-pass-snackbar":["new-user-promo-snackbar","chocolate-chip-cookie","thin-mint"],"new-user-promo-snackbar":["chocolate-chip-cookie","thin-mint"],"membership-bottom-screen-banner":["gdpr","chocolate-chip-cookie","thin-mint","cart-drawer","eats-pass-snackbar","new-user-promo-snackbar"],"uber-one-upsell-banner":["chocolate-chip-cookie","thin-mint","cart-drawer","eats-pass-snackbar","new-user-promo-snackbar"],"inline-tooltip":["campaign-banner","system-banner"]},i=r(29686),a=r(36425);function l(t){var e=(0,a.DR)().messages,r=((0,i.hU)().isMobile?n:o)[t]||[],l=e.filter((function(t){return r.includes(t)}));return{blockingMessages:l,shouldShowMessage:0===l.length}}},79443:function(t,e,r){"use strict";r.d(e,{Z:function(){return l}});var n=r(53587),o=r(36425),i=r(22381),a=r(45202);function l(t){var e=(0,a.ZP)(),r=(0,o.DR)(),l=r.subscribe,c=r.unsubscribe,u=(0,i.Z)(t),f=u.shouldShowMessage,s=u.blockingMessages,p=String(s);return(0,n.useEffect)((function(){return l(t),function(){c(t)}}),[l,c,t]),(0,n.useEffect)((function(){f?e("eats:message_deconflictor_accept",{messageDeconflictor:{messageKey:t}}):e("eats:message_deconflictor_reject",{messageDeconflictor:{messageKey:t,rejectBy:p}})}),[t,f,p,e]),{shouldShowMessage:f}}},9277:function(t,e,r){"use strict";r.d(e,{B:function(){return n}});var n={FEED_REFRESH_PILL_FILTER_RESULTS_LOAD_EVENT_NAME:"feed_refresh_pill_filter_results_load",DINING_MODE_MENU_CONFIRM_EVENT_NAME:"dining_mode_menu_confirm",SEARCH_HOME_LOAD_EVENT_NAME:"search_home_load",SEARCH_FEED_LOAD_EVENT_NAME:"search_feed_load",SEARCH_SUGGESTION_LOAD_EVENT_NAME:"search_suggestion_load",SEARCH_MULTI_VERTICAL_TAB_RESULTS_LOAD_EVENT_NAME:"search_multi_vertical_tab_results_load",UPDATE_ITEM_QUANTITY_WITH_DEBOUNCE:"cart_update_quantity_with_debounce",UPDATE_ITEM_QUANTITY:"cart_update_quantity",CART_LOAD_COMPLETE:"cart_view_load",CART_LOAD_COMPLETE_WITH_ITEMS:"cart_view_load_with_items",CLEAR_CART:"clear_cart",CART_PILL_CLICK:"cart_pill_click",CART_SELECTED_FROM_POPOVER:"cart_selected_from_popover",CART_ADD_ITEM_CLICK:"cart_add_item_click",CHECKOUT_PAGE_RENDER_EVENT_NAME:"checkout_page_render",CHECKOUT_LOAD_COMPLETE_EVENT_NAME:"checkout_load_complete",CHECKOUT_LOAD_COMPLETE_WITH_CMP_EVENT_NAME:"checkout_load_complete_with_cmp",IN_STORE_SEARCH_VIEW_LOAD:"in_store_search_view_load"}},48065:function(t,e,r){"use strict";var n=r(78204),o=r(62458),i=r(7392),a=(0,n.zo)("div",(function(t){var e=t.$theme;return{height:0,borderBottom:"2px solid ".concat(e.colors.borderOpaque)}})),l=(0,o.Z)((function(t){return t.isStuck?(0,i.tZ)(a,{}):null}));e.Z=l},62458:function(t,e,r){"use strict";r.d(e,{Z:function(){return P}});var n=r(22345),o=r(53587),i=r(53838),a=r(7392);function l(t){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,O(n.key),n)}}function f(t,e,r){return e&&u(t.prototype,e),r&&u(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&p(t,e)}function p(t,e){return(p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function d(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=b(t);if(e){var o=b(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return y(this,r)}}function y(t,e){if(e&&("object"===l(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return m(t)}function m(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function b(t){return(b=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function g(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function v(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?g(Object(r),!0).forEach((function(e){h(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):g(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function h(t,e,r){return(e=O(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function O(t){var e=function(t,e){if("object"!==l(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==l(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===l(e)?e:String(e)}var w={},S=function(t){return{height:t}},j={sticky_when_scrolling:function(t){var e=t.zIndex,r=t.topOffset,n=t.leftAligned;return v(v({zIndex:e,position:"fixed",top:"".concat(r,"px")},n?{left:"0px"}:{}),{},{width:"100%"})},sticky_when_scrolling_up:function(t){var e=t.zIndex,r=t.topOffset,n=t.topOffsetOnScrollDown,o=t.leftAligned,i=t.isVisible,a=t.childHeight;return v(v({zIndex:e,position:"fixed",top:"".concat(i?r:n?-n:-(a||0),"px")},o?{left:"0px"}:{}),{},{width:"100%",transition:"top 200ms cubic-bezier(0.22, 1, 0.36, 1)"})},not_sticky:function(){return w}};function P(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"sticky_when_scrolling",r=function(r){s(u,r);var l=d(u);function u(){var t;c(this,u);for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return h(m(t=l.call.apply(l,[this].concat(n))),"parentRef",o.createRef()),h(m(t),"childRef",o.createRef()),h(m(t),"state",{shouldStick:!1,childHeight:0,topOffset:t.props.topOffset||0,scrollOffsetY:0,isScrollingUp:!0}),h(m(t),"onScroll",(function(){var r=t.parentRef.current,n=t.childRef.current;if(r&&n){var o=r.getBoundingClientRect(),i=n.getBoundingClientRect(),a=t.state.scrollOffsetY<o.top,l="sticky_when_scrolling_up"!==e||a?0:t.props.topOffsetOnScrollDown?t.props.topOffsetOnScrollDown:i.height,c="not_sticky"!==e&&o.top+l<t.state.topOffset,u=t.props.scrollSnapBreakpointThreshold||0;"sticky_when_scrolling_up"===e&&c&&u&&a!==t.state.isScrollingUp&&(a&&o.top-t.state.scrollOffsetY<u||!a&&t.state.scrollOffsetY-o.top<u)||(t.state.shouldStick!==c||t.state.childHeight!==i.height?t.setState({shouldStick:c,childHeight:i.height,scrollOffsetY:o.top,isScrollingUp:a}):t.setState(v(v({},t.state),{},{isScrollingUp:a,scrollOffsetY:o.top})))}})),t}return f(u,[{key:"componentDidMount",value:function(){n.Z&&(n.Z.addEventListener("scroll",this.onScroll),this.onScroll())}},{key:"componentDidUpdate",value:function(t){t.topOffset!==this.props.topOffset&&this.setState({topOffset:this.props.topOffset})}},{key:"componentWillUnmount",value:function(){n.Z&&n.Z.removeEventListener("scroll",this.onScroll)}},{key:"render",value:function(){return(0,a.tZ)("div",{ref:this.parentRef,style:this.state.shouldStick?S(this.state.childHeight):w,children:(0,a.tZ)("div",{style:this.state.shouldStick?j[e]({topOffset:this.state.topOffset,topOffsetOnScrollDown:this.props.topOffsetOnScrollDown,zIndex:this.props.zIndex||i.I_.cover,leftAligned:!this.props.disableLeftAlign,isVisible:this.state.isScrollingUp,childHeight:this.state.childHeight}):w,ref:this.childRef,children:(0,a.tZ)(t,v(v({},this.props),{},{isStuck:this.state.shouldStick}))})})}}]),u}(o.Component);return r}},29133:function(t,e,r){"use strict";r.d(e,{Z:function(){return o}});var n=r(53587);function o(t,e){var r=(0,n.useRef)(t);(0,n.useEffect)((function(){r.current=t}),[t]),(0,n.useEffect)((function(){if(null!==e){var t=setInterval((function(){r.current()}),e);return function(){return clearInterval(t)}}}),[e])}},87780:function(t,e,r){"use strict";r.d(e,{Z:function(){return m}});var n=r(28992),o=r(53587);function i(t,e){return t-e*Math.floor(t/e)}var a=r(29133);function l(t){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function c(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function u(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?c(Object(r),!0).forEach((function(e){f(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function f(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==l(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==l(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===l(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function s(t){return function(t){if(Array.isArray(t))return y(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||d(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==e);c=!0);}catch(t){u=!0,o=t}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(t,e)||d(t,e)||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 d(t,e){if(t){if("string"==typeof t)return y(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?y(t,e):void 0}}function y(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function m(t){var e,r=t.slides,l=t.pageSize,c=t.autoScrollInterval,f=t.onSlidesDisplayed,d=t.initialIndex,y=t.isInfinite,m=t.peekAnimation,b=p(n.useState(Boolean(c)),2),g=b[0],v=b[1],h=(0,o.useRef)(null),O=p((0,o.useState)({index:d||0,offset:0,useTransition:!0}),2),w=O[0],S=O[1],j=n.useMemo((function(){var t=[],e=[];if(r.length>l&&y){for(var n=0,o=0;o<l;o++)n--,t.unshift({slide:r[i(n,r.length)],displayIndex:n,isDummy:!0});for(var a=r.length-1,c=0;c<2*l-1;c++)a++,e.push({slide:r[i(a,r.length)],displayIndex:a,isDummy:!0})}return[].concat(t,s(r.map((function(t,e){return{slide:t,displayIndex:e,isDummy:!1}}))),e)}),[r,l,y]),P=null===(e=j.find((function(t){return t.displayIndex===w.index})))||void 0===e?void 0:e.isDummy,k=(0,o.useCallback)((function(){P&&S({index:i(w.index,r.length),offset:0,useTransition:!1})}),[P,w.index,r.length]),x=(0,o.useCallback)((function(t){var e=t.index,r=t.offset,n=void 0===r?0:r,o=t.useTransition,i=void 0===o||o;if(P)k();else{var a;if((a="forward"===e?y?w.index+l:Math.min(j.length-1,w.index+l):"back"===e?y?w.index-l:Math.max(0,w.index-l):e)===w.index&&n===w.offset)return;S({index:a,offset:n,useTransition:i}),i||k(),h.current&&(clearTimeout(h.current),h.current=null)}}),[P,w.index,w.offset,l,k,j.length,y]);(0,a.Z)((function(){S((function(t){var e=t.index+1;return u(u({},t),{},{useTransition:!0,index:e>r.length-l?0:e})}))}),c&&g?c:null),(0,o.useEffect)((function(){if(m&&!h.current){var t=setTimeout((function(){S({index:0,offset:-48,useTransition:!0}),setTimeout((function(){S({index:0,offset:0,useTransition:!0})}),150)}),3e3);return h.current=t,function(){return clearTimeout(h.current)}}}),[m]);return(0,o.useEffect)((function(){if("function"==typeof f&&0!==r.length&&!P){var t=Math.min(r.length,l),e=j.findIndex((function(t){return t.displayIndex===w.index})),n=e+t,o=j.slice(e,n).map((function(t){return t.slide}));f(o)}}),[P,j,w.index,r.length,l,f]),{displaySlides:j,displayIndex:w.index,stopAutoScroll:function(){v(!1)},displayOffset:w.offset,useTransition:w.useTransition,changeDisplaySlide:x,onTransitionEnd:k}}},52946:function(t,e){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function n(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function o(t,e,n){return(e=function(t){var e=function(t,e){if("object"!==r(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,e||"default");if("object"!==r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===r(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}e.Z=function(t){var e=t.$theme,r=t.height,i=t.$stopAnimation;return function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?n(Object(r),!0).forEach((function(e){o(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({animationName:"loadingAnimation",animationDuration:"2s",animationFillMode:"forwards",animationIterationCount:void 0!==i&&i?0:"infinite",animationTimingFunction:"linear",backgroundImage:"linear-gradient(120deg, ".concat(e.colors.backgroundPlaceholder," 20%, ").concat(e.colors.backgroundSecondary," 28%, ").concat(e.colors.backgroundPlaceholder," 43%)"),position:"relative"},r?{backgroundSize:"100vw ".concat(r,"px"),height:"".concat(r,"px")}:{})}},7479:function(t,e,r){t.exports=r.p+"ca2156e28406f4ac.gif"},88462:function(t,e,r){t.exports=r.p+"8beb07bf63dc947d.gif"}}]);