PageSourceSearch

https://fecdn.snackmagic.com/static/js/BuildOwnSnackStash.05f9ba0b.chunk.js

js snackmagic.com collected 2026-10-03 19:44:53 UTC 7,057 bytes, 1 lines download raw bytes

1"use strict";(globalThis.webpackChunk=globalThis.webpackChunk||[]).push([[2257],{41357(e,r,t){t.r(r),t.d(r,{default:()=>I});var a=t(38781),n=t.n(a),o=t(92860),i=t(32840),s=t(32308),l=t(23092),d=t(22012),c=t(91580),u=t(69344);const g={bannerTextContainer:"eaBsh",btn:"ffNVs",disabled:"e5PfW","btn-block":"lJKYX","bg-primary":"oqv7M","bg-secondary":"FTAvq","bg-success":"SDtof","bg-info":"Mm94L","bg-warning":"JKwbW","bg-danger":"glfpI","bg-light":"o3aoA","bg-dark":"vHWEw",desktopFeaturedPageBanner:"lIfLt",mobileFeaturedPageBanner:"g7cqv",bannerSubHeaderText:"dFL67",noWrapText:"M8ZlU",bannerHeaderText:"nKOtY","text-primary":"Y7dJc","text-secondary":"xljeW","text-success":"hAgKz","text-info":"ON6NR","text-warning":"TaVFW","text-danger":"TLc70","text-light":"yVuBS","text-dark":"ebc6j",placeHolderShimmer:"ilIHJ"};var f=t(38048),m={};const y=function(e){var r=e.banner,t=void 0===r?m:r,a=e.styles,n=void 0===a?g:a,i=(0,o.useContext)(d.L),s=c.XK===i,l=t.image,y=void 0===l?m:l,b=y.desktop,v=(void 0===b?m:b).default,x=void 0===v?u:v,h=y.mobile,C=(void 0===h?m:h).default,p=void 0===C?u:C;return(0,f.jsx)(f.Fragment,{children:(0,f.jsx)("div",{className:s?n.mobileFeaturedPageBanner:n.desktopFeaturedPageBanner,style:{backgroundImage:"url(".concat(s?p:x,")")},children:(0,f.jsxs)("div",{className:n.bannerTextContainer,children:[(0,f.jsxs)("div",{className:n.bannerHeaderText,children:["Build-Your-Own ",(0,f.jsx)("span",{className:n.noWrapText,children:"Snack Stash"})]}),(0,f.jsx)("div",{className:n.bannerSubHeaderText,children:"Go healthy or indulgent, sweet or savory, familiar or foreign"})]})})})};var b=t(34816),v=t.n(b);const x={loaderContainer:"oCuMZ",loaderRow:"z19Pz",btn:"YNRze",disabled:"Uvrr4","btn-block":"NvkMW","bg-primary":"deoCx","bg-secondary":"ma0yV","bg-success":"xst_C","bg-info":"LvnKW","bg-warning":"MKTBf","bg-danger":"o8gLN","bg-light":"ohwBa","bg-dark":"oJAS6",categoryCard:"NMyl9",loader:"tNQ0D","text-primary":"U6Qi4","text-secondary":"Rv20E","text-success":"vBRD_","text-info":"mlbah","text-warning":"ia1c3","text-danger":"dgz1w","text-light":"KyVDm","text-dark":"wmeQK",placeHolderShimmer:"CPAHa"};var h=function(e){var r=e.children,t=void 0===r?null:r,a=e.isLoading,n=e.styles,o=void 0===n?x:n;return a?(0,f.jsx)("div",{className:o.loaderContainer,children:(0,f.jsx)("div",{className:o.loader,children:(0,f.jsx)("div",{className:o.loaderRow,children:v()(0,5).map(function(e){return(0,f.jsx)(h.CategoryCard,{styles:o},e)})})})}):t};h.CategoryCard=function(e){var r=e.styles,t=void 0===r?x:r;return(0,f.jsx)("div",{className:t.categoryContainer,children:(0,f.jsx)("div",{className:t.categoryCard})})};const C=h;var p=t(18118),N=t(86107),j=t(49433),k=t(88807);const w={featuredCategoryBlock:"hlNII",featuredCategoryContainer:"dCSGe",featuredCategoryRow:"Xutmf",featuredCategoryCardContainer:"lA5Xw",btn:"OImgt",disabled:"fLcpI","btn-block":"cJrgN","bg-primary":"xAS1y","bg-secondary":"dF3sU","bg-success":"G4A5T","bg-info":"pRHN0","bg-warning":"TPGN7","bg-danger":"cMqft","bg-light":"XBa0y","bg-dark":"XOruL",featuredCategoryCard:"KMwpZ",featuredCategoryName:"Az7N8",featuredCategoryDescription:"byeRr",featuredCategoryTitle:"oe_ae",categoryLink:"C8mmd",featuredCategoryImageBlock:"ydETm",featuredCategoryTitleContainer:"iMNlA",featuredCategoryTitleIcon:"l1YXG",featuredCategoryContentBlock:"bxCQm","text-primary":"C82ZD","text-secondary":"oTF_y","text-success":"Pvu2o","text-info":"Kh3qm","text-warning":"dZsnF","text-danger":"Ax1V7","text-light":"TUOy5","text-dark":"STF34",img:"oUSel",placeHolderShimmer:"NjU5a"};function S(e,r){if(e){if("string"==typeof e)return T(e,r);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?T(e,r):void 0}}function T(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,a=Array(r);t<r;t++)a[t]=e[t];return a}var A=function(e){var r,t=e.category,a=t.name,d=void 0===a?"":a,c=t.permalink,u=void 0===c?"":c,g=t.de
1scription2,m=void 0===g?"":g,y=t.taxonImageUrl,b=t.id,v=e.styles,x=void 0===v?w:v,h=(0,i.useSelector)(N.Q$),C=null===(r=(0,o.useMemo)(function(){var e;return(null===(e=h.find(function(e){var r=e.id;return Number(r)===Number(b)}))||void 0===e?void 0:e.nestedData)||[]},[h,b])[0])||void 0===r?void 0:r.route,p="kits-list"===b?u:C;return(0,f.jsx)("div",{className:x.featuredCategoryCard,children:(0,f.jsxs)(s.N_,{className:x.categoryLink,to:p,"aria-hidden":"true",children:[(0,f.jsx)("div",{className:x.featuredCategoryImageBlock,children:(0,f.jsx)(l.A,{alt:d,type:"image",src:n()(y,"square",k),className:x.img})}),(0,f.jsxs)("div",{className:x.featuredCategoryContentBlock,children:[(0,f.jsx)("div",{className:x.featuredCategoryName,children:d}),(0,f.jsx)("div",{className:x.featuredCategoryDescription,children:m}),(0,f.jsxs)("div",{className:x.featuredCategoryTitleContainer,children:[(0,f.jsx)("span",{className:x.featuredCategoryTitle,children:d}),(0,f.jsx)("span",{className:x.featuredCategoryTitleIcon,children:"›"})]})]})]})})};const I=function(e){var r,t,a,n=e.styles,s=void 0===n?w:n,l=(t=(0,o.useState)(!1),a=2,function(e){if(Array.isArray(e))return e}(t)||function(e,r){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var a,n,o,i,s=[],l=!0,d=!1;try{if(o=(t=t.call(e)).next,0===r){if(Object(t)!==t)return;l=!1}else for(;!(l=(a=o.call(t)).done)&&(s.push(a.value),s.length!==r);l=!0);}catch(e){d=!0,n=e}finally{try{if(!l&&null!=t.return&&(i=t.return(),Object(i)!==i))return}finally{if(d)throw n}}return s}}(t,a)||S(t,a)||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.")}()),d=l[0],c=l[1],u=(0,i.useSelector)(N.uu),g=(0,i.useSelector)(N.uP),m=(0,i.useSelector)(N.lz),b=(0,i.useDispatch)();(0,o.useEffect)(function(){g||m||(c(!0),Promise.all([b((0,p.D$)()),b((0,p.w$)())]).finally(function(){return c(!1)}).catch(function(e){throw e}))},[b]);var v=[{id:"kits-list",name:"Bundles",permalink:j.pS.listing,description2:"",taxonImageUrl:{square:(null==m||null===(r=m.image)||void 0===r?void 0:r.default)||k}}],x=[].concat(function(e){return function(e){if(Array.isArray(e))return T(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||S(e)||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.")}()}(u),v);return(0,f.jsxs)(C,{isLoading:d,children:[(0,f.jsx)(y,{banner:g}),(0,f.jsx)("div",{className:s.featuredCategoryBlock,children:(0,f.jsx)("div",{className:s.featuredCategoryContainer,children:(0,f.jsx)("div",{className:s.featuredCategoryRow,children:x.map(function(e){return(0,f.jsx)("div",{className:s.featuredCategoryCardContainer,children:(0,f.jsx)(A,{category:e,styles:s})},e.id)})})})})]})}},69344(e,r,t){e.exports=t.p+"static/media/snack-stash-banner.72bcaf05.jpg"}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.