PageSourceSearch

https://fecdn.snackmagic.com/static/js/PrI.c585d85f.chunk.js

js snackmagic.com collected 2026-09-25 14:32:40 UTC 44,479 bytes, 2 lines download raw bytes

1/*! For license information please see PrI.c585d85f.chunk.js.LICENSE.txt */
2"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[4542,5183,5550],{32128(e,t,n){n.d(t,{A:()=>o});var r=n(92860);function o(){return(0,r.useState)(null)}},78293(e,t,n){n.d(t,{A:()=>o});var r=n(92860);const o=function(e){const t=(0,r.useRef)(e);return(0,r.useEffect)(()=>{t.current=e},[e]),t}},54739(e,t,n){n.d(t,{A:()=>i});var r=n(92860),o=n(78293);function i(e){const t=(0,o.A)(e);return(0,r.useCallback)(function(...e){return t.current&&t.current(...e)},[t])}},9890(e,t,n){n.d(t,{A:()=>o});var r=n(92860);function o(){const[,e]=(0,r.useReducer)(e=>!e,!1);return e}},84960(e,t,n){n.d(t,{A:()=>i});var r=n(92860);const o=e=>e&&"function"!=typeof e?t=>{e.current=t}:e,i=function(e,t){return(0,r.useMemo)(()=>function(e,t){const n=o(e),r=o(t);return e=>{n&&n(e),r&&r(e)}}(e,t),[e,t])}},61916(e,t,n){n.d(t,{A:()=>o});var r=n(92860);function o(){const e=(0,r.useRef)(!0),t=(0,r.useRef)(()=>e.current);return(0,r.useEffect)(()=>(e.current=!0,()=>{e.current=!1}),[]),t.current}},63059(e,t,n){n.d(t,{A:()=>o});var r=n(92860);function o(e){const t=(0,r.useRef)(null);return(0,r.useEffect)(()=>{t.current=e}),t.current}},31301(e,t,n){n.d(t,{FetchAllPreCuratedMedleys:()=>_,Rb:()=>C,yD:()=>k,DO:()=>T,YR:()=>I,qG:()=>R,Ds:()=>U,E3:()=>W,CJ:()=>H,TC:()=>M,dd:()=>L,_4:()=>D,bI:()=>F});var r=n(38781),o=n.n(r),i=n(44481),a=n.n(i),c=n(34640),s=n(79057),u=n(10446),l=n(18118),d=n(40272),f=n(80881),p=function(e){var t="".concat(f.pc,"/pre_curated_boxes");return d.A.get(t,e)},v=function(e,t){var n="".concat(f.pc,"/pre_curated_boxes/").concat(e);return d.A.get(n,t)},m=function(e){return d.A.get("".concat(f.To),e)},h=function(){return d.A.get("".concat("https://images.snackmagic.com","/spree/json_file/snacks_medleys.json"))},y=function(){return d.A.get("".concat("https://images.snackmagic.com","/spree/json_file/featured_snacks_medleys.json"))},g=function(){return d.A.get("".concat("https://images.snackmagic.com","/spree/json_file/recommended_snacks_medleys.json"))},b=n(1425),A=function(e){var t,n=e.normalizedResponse,r=n.spreeProductSets,o=n.spreeProducts,i=Object.values(r)[0];return i.products=(null===(t=i.products)||void 0===t?void 0:t.map(function(e){var t=e.id;return o[t]}))||[],i},j=n(86107),w=n(66045),x=n(35329);function S(e){return S="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},S(e)}function O(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function P(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?O(Object(n),!0).forEach(function(t){E(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):O(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function E(e,t,n){return(t=function(e){var t=function(e){if("object"!=S(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=S(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==S(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var _=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.options,n=void 0===t?{}:t,r=e.params,i=void 0===r?{}:r;return function(e,t){return p(i).then(function(e){var r=(0,c.default)(a()(e.data)),i=o()(t(),"config.pcmMedleyIds.".concat(n.zoneId)),s=P(P({},n),{},{sortedPcmMedleyIds:i}),l=r.spreeProductSets,d=r.spreeProducts;return(0,u.ZC)({curatedBoxes:l,spreeProducts:d,options:s})})}},k=function(e,t){return(0,s.Hs)(function(){return v(e,t).then(function(e){var t=(0,c.default)(a()(e.data));return A({normalizedResponse:t})})})},C=function(e,t){return function(n,r){return function(e,t){return d.A.get("".concat(f.To,"/").concat(e),t)}(e,t).then(function(e){var t,o=r(),i=(0,j.Ql)(o),s=(0,j.uy)(o),u=(0,j.C3)(o),d=(0,c.default)(a()(e.data)),f=d.spreeProducts,p=void 0===f?{}:f,v=d.spreeRestaurants,m=d.spreeProductSets,h=n((0,l.Yt)({productIds:Object.keys(p),spreeProducts:p,spreeProductSets:m})).updatedSpreeStockItems,y=Object.values(m).find(function(e){return"medley"===(null==e?void 0:e.intent)});y.products=(null===(t=y.products)||void 0===t?void 0:t.map(function(e){var t=e.id;return p[t]}))||[];var g=y?[y.id]:[],b=(0,x.pv)({orderedMedleyIds:g,spreeProductSets:m,spreeStockItems:h});return n((0,l.k0)({spreeProducts:P(P({},i),p),spreeRestaurants:P(P({},s),v),spreeProductSets:P(P({},u),m)})),b[0]?b[0]:P(P({},y),{},{productIds:[]})})}},T=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.params,n=e.fetchFromCdn;return function(e,r){var o=P({},t);return(n?null!=o&&o.featured?(delete o.featured,y):null!=o&&o.recommended?(delete o.recommended,g):h:m)(o).then(function(n){var o,i=n.data,s=r(),u=(0,j.Ql)(s),d=(0,j.uy)(s),f=(0,j.C3)(s),p=(0,j.qF)(s),v=(0,j.GG)(s),m=(0,c.default)(a()(i)),h=m.spreeProductSets,y=m.spreeProducts,g=m.spreeRestaurants,b=(null===(o=i.data)||void 0===o?void 0:o.map(function(e){return e.id}))||[],A={spreeProducts:P(P({},u),y),spreeProductSets:P(P({},f),h),spreeRestaurants:P(P({},d),g)};return null!=t&&t.featured?e((0,l.af)(P(P({},p),{},{orderedMedleyIds:b}))):null!=t&&t.recommended?e((0,l.Uj)(P(P({},v),{},{orderedMedleyIds:b,isMedleyFetched:!0}))):A.orderedMedleyIds=b,e((0,l.k0)(A)),e((0,l.Yt)({productIds:Object.keys(y||{}),spreeProducts:y})),b})}},N=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(t,n){var r=n(),o=(0,j.Ql)(r),i=(0,j.C3)(r),s=(0,c.default)(a()(e.data)),u=s.spreeProductSets,d=s.spreeProducts,f=P(P({},o),d);t((0,l.k0)({spreeProducts:f,spreeProductSets:P(P({},i),u)})),t((0,l.Yt)({productIds:Object.keys(f||{}),spreeProducts:f,spreeProductSets:P(P({},i),u)}));var p=e.data,v=p.data,m=void 0===v?[]:v,h=p.meta,y=void 0===h?{}:h;return{orderedIds:m.map(function(e){var t=e.id;return Number(t)}),data:u,camelizedMeta:(0,c.camelizeKeys)(y)}}},R=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(e.options,e.params),n=void 0===t?{}:t;return function(e){return function(e){var t="".concat(f.pc,"/pre_curated_boxes/listing");return d.A.get(t,e)}(n).then(function(t){return e(N(t))})}},D=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.boxIdOrSlug,n=e.params,r=void 0===n?{}:n;return function(e){return function(e,t){var n="".concat(f.pc,"/pre_curated_boxes/").concat(e,"/other_medleys");return d.A.get(n,t)}(t,r).then(function(t){return e(N(t))})}},I=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.options,n=void 0===t?{}:t,r=e.params,o=void 0===r?{}:r;return function(e,t){return p(o).then(function(r){var o=(0,c.default)(a()(r.data)),i=(0,w.Q2)(t()),s=P(P({},n),{},{sortedCuratedStashMedleyIds:i}),d=o.spreeProductSets,f=o.spreeProducts,p=(0,u.ZC)({curatedBoxes:d,spreeProducts:f,options:s}),v=p.data,m=p.orderedCuratedStashMedleyIds;return e((0,l.k0)({spreeOrderProductSets:v,orderedCuratedStashMedleyIds:m})),p})}},M=function(e,t){return function(n,r){return v(e,t).then(function(e){var t=r(),o=(0,c.default)(a()(e.data)),i=A({normalizedResponse:o}),s=(0,j.Ql)(t),u=(0,j.C3)(t),d=o.spreeProductSets,f=o.spreeProducts,p=P(P({},s),f);return n((0,l.k0)({spreeProducts:p,spreeProductSets:P(P({},u),d)})),n((0,l.Yt)({productIds:Object.keys(p||{}),spreeProducts:p,spreeProductSets:P(P({},u),d)})),i})}},U=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(e.options,e.params),n=void 0===t?{}:t;return function(e){return function(e){return d.A.get("".concat(f.Ku),e)}(n).then(function(t){return e(N(t))})}},L=function(e,t){return function(n,r){return function(e,t){var n="".concat(f.Ku,"/").concat(e);return d.A.get(n,t)}(e,t).then(function(e){var t=r(),o=(0,c.default)(a()(e.data)),i=A({normalizedResponse:o}),s=(0,j.Ql)(t),u=(0,j.C3)(t),d=o.spreeProductSets,f=o.spreeProducts,p=P(P({},s),f);return n((0,l.k0)({spreeProducts:p,spreeProductSets:P(P({},u),d)})),n((0,l.Yt)({productIds:Object.keys(p||{}),spreeProducts:p,spreeProductSets:P(P({},u),d)})),i})}},F=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.bagIdOrSlug,n=e.params,r=void 0===n?{}:n;return function(e){return function(e,t){var n="".concat(f.Ku,"/").concat(e,"/other_bags");return d.A.get(n,t)}(t,r).then(function(t){return e(N(t))})}},W=function(e,t){return function(){return(0,b.fetchInCartProductSetApi)(e,t).then(function(e){var n=(0,c.default)(a()(e.data));return(0,u.XH)(P({orderProductSetId:t},n))})}},H=function(e,t){return function(){return(0,b.fetchInCartProductSetApi)(e,t).then(function(e){var n=(0,c.default)(a()(e.data));return(0,u.Ty)(P({orderProductSetId:t},n))})}}},17861(e,t,n){n.d(t,{A:()=>p}),n(92860);var r=n(11688),o=n(32030),i=n(5642),a=n(49433),c=n(38048);function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?u(Object(n),!0).forEach(function(t){d(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function d(e,t,n){return(t=function(e){var t=function(e){if("object"!=s(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=s(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==s(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var f={};const p=function(e){var t=e.children,n=void 0===t?"Log In":t,s=e.className,u=void 0===s?"":s,d=e.disabled,p=void 0!==d&&d,v=e.formId,m=void 0===v?"":v,h=e.isLoading,y=void 0!==h&&h,g=e.loginOptions,b=void 0===g?f:g,A=e.onClick,j=e.render,w=(0,r.Ox)().loginWithRedirect,x=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f,t=window.growsurf,n=null==t?void 0:t.getReferrerId(),r=n?{grsf:n}:f;null==A||A(),w(l(l(l({redirectUri:window.location.origin+a.n3,originUrl:i.sH,apiHost:"https://www.snackmagic.com"},r),b),e))};return j?j({handleOnClick:x}):(0,c.jsx)(o.Jh,{className:u,onClick:function(){return x()},formId:m,disabled:p,isLoading:y,"data-testid":"login-button",children:n})}},80434(e,t,n){n.d(t,{A:()=>S});var r=n(38781),o=n.n(r),i=(n(92860),n(32840)),a=n(95089),c=n(98460),s=n(5003),u=n.n(s),l=n(82709),d=n.n(l),f=n(29201),p=n(46796),v=n(49433),m=n(38048);function h(e){return h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},h(e)}var y=["home_page_only"];function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(Object(n),!0).forEach(function(t){A(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function A(e,t,n){return(t=function(e){var t=function(e){if("object"!=h(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=h(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==h(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var j=(0,p.ql)({chunk:function(){return n.e(7854).then(n.t.bind(n,90831,23))}}),w=function(e){var t=e.home_page_only,n=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,y);return(0,p.ZZ)(v.xn,window.location.pathname)||!t?(0,m.jsx)(j,{doc:{body:[{primary:n}]},className:"header-banner-scrollingbar"}):""},x=function(e){var t=e.sectionStyle,n=e.left_aligned_text,r=e.logo_links,o=e.cta_links;return(0,m.jsx)("div",{className:"d-none header-notification-banner free-shipping-banner",style:t,children:(0,m.jsxs)("div",{className:"row",children:[(0,m.jsx)("div",{className:"col-sm-9",children:(0,m.jsxs)("div",{className:"row",children:[(0,m.jsx)("div",{className:"col-sm-4 col-7 pr-md-0 d-flex align-items-center free-shipping-left",children:(0,m.jsx)("div",{className:"font-weight-bold free-shipping-left-text",children:(0,c.textResolver)(n,{convertLabelToModular:!0})})}),(0,m.jsx)("div",{className:"col-sm-8 col-5 d-flex align-items-md-center justify-content-end justify-content-md-center header-notifcation-icons-block",children:null==r?void 0:r.map(function(e,t){var n=e.link,r=e.logo_svg;return(0,m.jsx)("div",{className:"px-lg-4 px-md-3 header-notifcation-icon-holder",children:(null==n?void 0:n.url)&&(0,m.jsxs)("div",{className:"position-relative d-inline-block",children:[(0,m.jsx)(u(),{url:null==n?void 0:n.url,target:null==n?void 0:n.target,className:"header-notifcation-icons-link"}),(null==r?void 0:r.url)&&(0,m.jsx)(d(),{alt:null==r?void 0:r.alt,src:null==r?void 0:r.url,className:"icon-image header-notifcation-icon",desktop:"130px",mobile:"120px",tablet:"120px",largeDisplay:"260px",lazyload:!0})]})},"link-".concat(t))})})]})}),(0,m.jsx)("div",{className:"col-sm-3 d-flex align-items-md-center justify-content-md-end",children:(0,m.jsx)("div",{className:"d-flex flex-column flex-md-row align-items-md-center justify-content-start justify-content-md-end free-shipping-right",children:(0,m.jsx)("div",{className:"ml-md-3 d-flex align-items-md-center free-shipping-links-block",children:null==o?void 0:o.map(function(e,t){var n=e.link,r=e.url_text;return(0,f.checkContentPresence)(r)&&(null==n?void 0:n.url)&&(0,m.jsx)("div",{className:"free-shipping-link-holder",children:(0,m.jsx)(u(),{urlText:r,url:null==n?void 0:n.url,target:null==n?void 0:n.target,className:"font-weight-bold text-uppercase free-shipping-link"})},"link-".concat(t))})})})})]})})};const S=(0,i.connect)(function(e){return{prismicPages:e.config.prismicPages}})(function(e){var t=e.prismicPages[a.prismicDocTypes.headerBanner],n=o()(t,"data",{}
2),r=n.left_aligned_text,i=n.cta_links,c=n.background_color,s=n.body,u=n.logo_links,l={backgroundColor:c};return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)("div",{className:"d-md-none",children:((0,f.checkContentPresence)(r)||!(null==i||!i.length))&&(0,m.jsx)(x,b(b({},null==t?void 0:t.data),{},{sectionStyle:l}))}),(0,m.jsx)("div",{className:"d-none d-md-block",children:((0,f.checkContentPresence)(r)||!(null==i||!i.length)||!(null==u||!u.length))&&(0,m.jsx)(x,b(b({},null==t?void 0:t.data),{},{sectionStyle:l}))}),null==s?void 0:s.map(function(e){var t=e.slice_type,n=e.primary;return"scrolling_bar"===t&&(0,m.jsx)(w,b({},n))})]})})},84637(e,t,n){n.d(t,{A:()=>I});var r=n(39928),o=n(92860),i=n(32840),a=n(6955),c=n(80434),s=n(48159),u=n(53197),l=n(32030),d=n(76807),f=n(45405),p=n(46796),v=n(17854),m=n(35849);var h=n(38048);const y=function(){var e=(0,i.useDispatch)(),t=(0,i.useSelector)(v.B);return(0,h.jsx)(h.Fragment,{children:(0,h.jsxs)("div",{className:"WhEFt",children:[(0,h.jsx)("div",{onClick:function(){sessionStorage&&sessionStorage.setItem("selectedCountry",null==t?void 0:t.iso),e((0,d.Hh)(!1))},className:"Auw1L"}),(0,h.jsxs)("div",{className:"hUDqX",children:["Your base country is set to",(0,h.jsx)("br",{}),null==t?void 0:t.name,"."]}),(0,h.jsx)("div",{children:(0,h.jsx)(l.Dc,{onClickAction:function(){sessionStorage&&sessionStorage.setItem("selectedCountry",m.DEFAULT_COUNTRY_ISO),e((0,f._C)()),e((0,d.Hh)(!1)),(0,p.De)()},buttonText:(0,h.jsxs)(h.Fragment,{children:["CHANGE TO ",m.DEFAULT_COUNTRY_NAME]}),customClass:"E3TMD"})})]})})};var g=n(30004),b=n(74e3),A=n(24335),j=n(13028),w=n(66045),x=n(18580);const S={btn:"aXVCy",disabled:"l6pgz","btn-block":"IrYIv","bg-primary":"oqXMS","bg-secondary":"zlmmF","bg-success":"cOeaT","bg-info":"EkIyo","bg-warning":"ukOWX","bg-danger":"XQwqw","bg-light":"n6kWe","bg-dark":"iMuPa",miniHeaderRow:"QFlDn",miniHeaderCTA:"rOqTt",headerLinksSection:"TKCvy",headerBanner:"nUew0","text-primary":"fKALy",countryDropdownRow:"LX8e_","text-secondary":"qeGuI","text-success":"S539m","text-info":"BTqJR","text-warning":"RvRwP","text-danger":"iTCiD","text-light":"UHg6E","text-dark":"pe29L",stickyHeader:"ldz4Z",headerLinksContainer:"muLay",placeHolderShimmer:"HOQIX"};var O=n(75410),P=n(97191),E=n(88611),_=n(23587),k=n(34362),C=n(24843),T=n(34814),N=n(82148),R=n(75417);const D=(0,r.A)({WebView:function(){var e=(0,i.useSelector)(w.AR);return(0,h.jsxs)("div",{className:R.A.primaryHeaderRow,children:[(0,h.jsxs)(g.c,{children:[(0,h.jsx)(C.A,{}),(0,h.jsx)(k.A,{})]}),(0,h.jsx)("div",{className:R.A.headerTabsSection,children:(0,h.jsx)(g.qN,{className:R.A.headerTabContent,children:(0,h.jsx)(_.A,{})})}),(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)("div",{className:R.A.btnContainer,children:(0,h.jsx)(N.A,{className:R.A.btnElement,children:"SEND A TREAT"})}),(0,h.jsx)("div",{className:R.A.btnContainer,children:(0,h.jsx)(T.A,{className:R.A.btnElement})}),(0,h.jsxs)("div",{className:R.A.countryDropdownContainer,children:[(0,h.jsx)(P.A,{}),e&&(0,h.jsx)(y,{})]}),(0,h.jsx)(E.A,{})]})]})},ResponsiveView:A.A}),I=(0,r.A)({WebView:function(){return(0,h.jsxs)(g.B3,{children:[(0,h.jsx)(g.Y9,{level:1,baseClass:"",className:S.headerBanner,children:(0,h.jsx)(c.A,{})}),(0,h.jsxs)(g.Vh,{rootClass:S.stickyHeader,children:[(0,h.jsx)(b.A,{application:x.SNACKMAGIC}),(0,h.jsx)(g.Y9,{level:2,children:(0,h.jsx)(D,{})}),(0,h.jsx)(g.Y9,{level:3,className:S.headerLinksContainer,children:(0,h.jsx)(g.c,{className:S.headerLinksSection,children:(0,h.jsx)(O.A,{})})})]})]})},ResponsiveView:function(){var e=(0,i.useSelector)(w.AR),t=(0,o.useContext)(a.V).isMobileNavOpen;return(0,h.jsxs)(g.hM,{children:[(0,h.jsx)(g.hZ,{level:1,children:t?"":(0,h.jsx)(c.A,{})}),(0,h.jsxs)(g.Vh,{rootClass:S.stickyHeader,children:[(0,h.jsx)(b.A,{application:x.SNACKMAGIC}),(0,h.jsxs)(g.hZ,{level:2,className:S.miniHeaderRow,children:[(0,h.jsx)(g.c,{baseClass:"",children:(0,h.jsx)(g.SJ,{className:S.miniLogoContainer,title:(0,h.jsx)(j.A,{})})}),(0,h.jsx)(g.NV,{children:(0,h.jsx)(u.A,{className:S.miniHeaderCTA,overrideToggle:!0})})]}),(0,h.jsx)(s.A,{children:(0,h.jsx)(g.hZ,{level:3,children:(0,h.jsx)(A.A,{})})}),(0,h.jsx)(g.hZ,{level:4,children:e&&(0,h.jsx)(y,{})})]})]})}})},59366(e,t,n){n.r(t),n.d(t,{default:()=>_});var r=n(92860),o=n(18559),i=n(32840),a=n(60552),c=n(32639),s=n(45405),u=n(83715),l=n(18561),d=n(84637),f=n(37639),p=n(53037),v=n(14607),m=n(46796),h=n(70522),y=n(66814),g=n(44323),b=n(35849),A=n(49433),j=n(38048);function w(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var s=r&&r.prototype instanceof c?r:c,u=Object.create(s.prototype);return x(u,"_invoke",function(n,r,o){var i,c,s,u=0,l=o||[],d=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return i=t,c=0,s=e,f.n=n,a}};function p(n,r){for(c=n,s=r,t=0;!d&&u&&!o&&t<l.length;t++){var o,i=l[t],p=f.p,v=i[2];n>3?(o=v===r)&&(s=i[(c=i[4])?5:(c=3,3)],i[4]=i[5]=e):i[0]<=p&&((o=n<2&&p<i[1])?(c=0,f.v=r,f.n=i[1]):p<v&&(o=n<3||i[0]>r||r>v)&&(i[4]=n,i[5]=r,f.n=v,c=0))}if(o||n>1)return a;throw d=!0,r}return function(o,l,v){if(u>1)throw TypeError("Generator is already running");for(d&&1===l&&p(l,v),c=l,s=v;(t=c<2?e:s)||!d;){i||(c?c<3?(c>1&&(f.n=-1),p(c,s)):f.n=s:f.v=s);try{if(u=2,i){if(c||(o="next"),t=i[o]){if(!(t=t.call(i,s)))throw TypeError("iterator result is not an object");
2if(!t.done)return t;s=t.value,c<2&&(c=0)}else 1===c&&(t=i.return)&&t.call(i),c<2&&(s=TypeError("The iterator does not provide a '"+o+"' method"),c=1);i=e}else if((t=(d=f.n<0)?s:n.call(r,f))!==a)break}catch(t){i=e,c=1,s=t}finally{u=1}}return{value:t,done:d}}}(n,o,i),!0),u}var a={};function c(){}function s(){}function u(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(x(t={},r,function(){return this}),t),d=u.prototype=c.prototype=Object.create(l);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,x(e,o,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=u,x(d,"constructor",u),x(u,"constructor",s),s.displayName="GeneratorFunction",x(u,o,"GeneratorFunction"),x(d),x(d,o,"Generator"),x(d,r,function(){return this}),x(d,"toString",function(){return"[object Generator]"}),(w=function(){return{w:i,m:f}})()}function x(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}x=function(e,t,n,r){function i(t,n){x(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},x(e,t,n,r)}function S(e,t,n,r,o,i,a){try{var c=e[i](a),s=c.value}catch(e){return void n(e)}c.done?t(s):Promise.resolve(s).then(r,o)}function O(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(e){S(i,r,o,a,c,"next",e)}function c(e){S(i,r,o,a,c,"throw",e)}a(void 0)})}}function P(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,c=[],s=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(c.push(r.value),c.length!==t);s=!0);}catch(e){u=!0,o=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return c}}(e,t)||function(e,t){if(e){if("string"==typeof e)return E(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?E(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function E(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}const _=function(){var e,t,n=(0,i.useDispatch)(),x=P((0,r.useState)(!0),2),S=x[0],E=x[1],_=P((0,r.useState)(null),2),k=_[0],C=_[1],T=(0,o.zy)().pathname,N=((null===(e=(0,o.W5)("".concat(A.V2.home,"/:path*")))||void 0===e?void 0:e.params)||{}).path,R=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").replace(/(^\/)|(\/$)/g,"")}((null===b.ROUTES_FOR_REDIRECT_FOR_ALL_LOCALS||void 0===b.ROUTES_FOR_REDIRECT_FOR_ALL_LOCALS?void 0:b.ROUTES_FOR_REDIRECT_FOR_ALL_LOCALS.test(T))&&N?N:T),D=(k||{}).data,I=void 0===D?{}:D,M=I.hide_top_nav,U=void 0!==M&&M,L=I.hide_footer,F=void 0!==L&&L,W=(null===(t=R.match(b.AFFILIATE_PARTNER_REGEX))||void 0===t?void 0:t.pop())||null;(0,r.useEffect)(function(){W&&(0,h.SD)(W)},[W]);var H=(0,r.useCallback)(O(w().m(function e(){var t,n;return w().w(function(e){for(;;)switch(e.p=e.n){case 0:return e.p=0,E(!0),e.n=1,(0,c.fetchUseCasePages)(R,g.e);case 1:t=e.v,C(t),E(!1),e.n=3;break;case 2:throw e.p=2,n=e.v,E(!1),n;case 3:return e.a(2)}},e,null,[[0,2]])})),[R]);return(0,r.useEffect)(function(){T.length>1&&T.endsWith("/")?a.A.replace(T.slice(0,-1)):H()},[T,H]),(0,r.useEffect)(function(){if(k){var e=n((0,s.us)());window.location.pathname==A.xn&&null!=e&&e.enabledPricedMenu&&(0,m.De)(e);var t=window.location.hash;t&&setTimeout(function(){(0,y.Fc)(t)},1e3)}},[n,k]),k||!R||S?(0,j.jsxs)("div",{className:"programs-landing-page pr-index-container",children:[(0,j.jsx)(u.A,{},S),(0,j.jsxs)(l.A,{isLoading:!k,customClass:"h-100vh",includeWrapper:!1,children:[!U&&(0,j.jsx)(d.A,{}),(0,j.jsxs)(l.A,{isLoading:S,customClass:"h-100vh",children:[(0,j.jsx)(f.A,{doc:k}),(0,j.jsx)(v.default,{doc:k,lazyload:!0})]}),!F&&(0,j.jsx)(p.A,{})]})]}):((0,m.AP)(),"")}},37639(e,t,n){n.d(t,{A:()=>d});var r=n(38781),o=n.n(r),i=n(92860),a=n(34251),c=n(5642),s=n(35849),u=n(39552),l=n(38048);const d=function(e){var t=e.doc,n=o()(t,"data.meta_keywords"),r=o()(t,"data.page_title"),d=o()(t,"data.meta_description"),f=o()(t,"data.no_index",!1)?"noindex":"",p="".concat(c.sH).concat(window.location.pathname),v=(0,i.useRef)(document.querySelector('meta[name="keywords"]')).current,m=(0,i.useMemo)(function(){return null==v?void 0:v.getAttribute("content")},[v]),h=(0,i.useCallback)(function(e){null==v||v.setAttribute("content",e)},[v]);return(0,i.useEffect)(function(){if(n)if(v)h(n);else{var e=[{attrName:"name",attrValue:"keywords"},{attrName:"content",attrValue:n}];(0,u.q)("meta",e)}return function(){n&&v&&h(m)}},[n,m,v,h]),(0,l.jsxs)(a.m,{children:[(0,l.jsx)("title",{children:r}),(0,l.jsx)("meta",{name:"description",content:d}),f&&(0,l.jsx)("meta",{name:"robots",content:f}),(0,l.jsx)("link",{rel:"canonical",href:p}),(0,l.jsx)("link",{href:c.sH,rel:"home"}),(0,l.jsx)("meta",{property:"og:type",content:"website"}),(0,l.jsx)("meta",{property:"og:url",content:p}),(0,l.jsx)("meta",{property:"og:title",content:r}),(0,l.jsx)("meta",{property:"og:description",content:d}),(0,l.jsx)("meta",{property:"og:image",content:s.OPEN_GRAPH_META_TAGS_CONTENT.marketingImage}),(0,l.jsx)("meta",{property:"og:site_name",content:s.OPEN_GRAPH_META_TAGS_CONTENT.siteName}),(0,l.jsx)("meta",{property:"og:image:width",content:s.OPEN_GRAPH_META_TAGS_CONTENT.marketingImageWidth}),(0,l.jsx)("meta",{property:"og:image:height",content:s.OPEN_GRAPH_META_TAGS_CONTENT.marketingImageHeight}),(0,l.jsx)("meta",{property:"og:locale",content:s.OPEN_GRAPH_META_TAGS_CONTENT.locale})]})}},39552(e,t,n){n.d(t,{V:()=>i,q:()=>a});var r=n(52695),o=n.n(r),i=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=document.createElement("div");return n.innerHTML=e,o()(t,function(e,t){var r;null===(r=n.firstElementChild)||void 0===r||r.setAttribute(t,e)}),n.innerHTML},a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=document.createElement(e);t.forEach(function(e){var t=e.attrName,r=e.attrValue;return null==n?void 0:n.setAttribute(t,r)}),document.getElementsByTagName("head")[0].appendChild(n)}},94138(e,t,n){n.d(t,{Nq:()=>c,WU:()=>s});var r=n(83956),o=(n(60552),n(49433));function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var a={},c=function(e){var t=e.baseRoute,n=void 0===t?window.location.pathname:t,r=e.includeOrigin,o=void 0!==r&&r,a=e.params,c=void 0===a?{}:a,s=e.fullUrl,u=void 0!==s&&s,l=new URL(n,window.location.origin);return o&&l.searchParams.append("origin",window.location.pathname),Object.entries(c).forEac
2h(function(e){var t,n,r=(n=2,function(e){if(Array.isArray(e))return e}(t=e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,c=[],s=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(c.push(r.value),c.length!==t);s=!0);}catch(e){u=!0,o=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return c}}(t,n)||function(e,t){if(e){if("string"==typeof e)return i(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(e,t):void 0}}(t,n)||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.")}()),o=r[0],a=r[1];l.searchParams.append(o,a)}),u?l.href:l.pathname+l.search},s=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a,t=e.path,n=void 0===t?window.location.pathname:t,i=e.search,s=void 0===i?window.location.search:i;return c(r.Sp?{baseRoute:window.location.origin+o.OA,params:{returnTo:n+s},fullUrl:!0}:{baseRoute:n+s,params:{},fullUrl:!0})}},35412(e,t,n){n.d(t,{Ay:()=>c});var r=n(83966),o=!1,i=!1;try{var a={get passive(){return o=!0},get once(){return i=o=!0}};r.A&&(window.addEventListener("test",a,a),window.removeEventListener("test",a,!0))}catch(e){}const c=function(e,t,n,r){if(r&&"boolean"!=typeof r&&!i){var a=r.once,c=r.capture,s=n;!i&&a&&(s=n.__once||function e(r){this.removeEventListener(t,e,c),n.call(this,r)},n.__once=s),e.addEventListener(t,s,o?r:c)}e.addEventListener(t,n,r)}},79881(e,t,n){n.d(t,{A:()=>o});var r=/-(.)/g;function o(e){return e.replace(r,function(e,t){return t.toUpperCase()})}},83966(e,t,n){n.d(t,{A:()=>r});const r=!("undefined"==typeof window||!window.document||!window.document.createElement)},45200(e,t,n){function r(e,t){return e.contains?e.contains(t):e.compareDocumentPosition?e===t||!!(16&e.compareDocumentPosition(t)):void 0}n.d(t,{A:()=>r})},46529(e,t,n){function r(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}n.d(t,{A:()=>r})},60898(e,t,n){n.d(t,{A:()=>i});var r=n(35412),o=n(66989);const i=function(e,t,n,i){return(0,r.Ay)(e,t,n,i),function(){(0,o.A)(e,t,n,i)}}},75076(e,t,n){function r(e){return e&&e.ownerDocument||document}n.d(t,{A:()=>r})},54973(e,t,n){n.d(t,{A:()=>o});var r=Function.prototype.bind.call(Function.prototype.call,[].slice);function o(e,t){return r(e.querySelectorAll(t))}},66989(e,t,n){n.d(t,{A:()=>r});const r=function(e,t,n,r){var o=r&&"boolean"!=typeof r?r.capture:r;e.removeEventListener(t,n,o),n.__once&&e.removeEventListener(t,n.__once,o)}},60191(e){e.exports=function(e,t,n,r,o,i,a,c){if(!e){var s;if(void 0===t)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,o,i,a,c],l=0;(s=new Error(t.replace(/%s/g,function(){return u[l++]}))).name="Invariant Violation"}throw s.framesToPop=1,s}}},12959(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(t,n,r,o,i){var a=r||"<<anonymous>>",c=i||n;if(null==t[n])return new Error("The "+o+" `"+c+"` is required to make `"+a+"` accessible for users of assistive technologies such as screen readers.");for(var s=arguments.length,u=Array(s>5?s-5:0),l=5;l<s;l++)u[l-5]=arguments[l];return e.apply(void 0,[t,n,r,o,i].concat(u))}},e.exports=t.default},70884(e,t,n){function r(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function o(e){this.setState(function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!=n?n:null}.bind(this))}function i(e,t){try{var n=this.props,r=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,r)}finally{this.props=n,this.state=r}}function a(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof t.getSnapshotBeforeUpdate)return e;var n=null,a=null,c=null;if("function"==typeof t.componentWillMount?n="componentWillMount":"function"==typeof t.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"==typeof t.componentWillReceiveProps?a="componentWillReceiveProps":"function"==typeof t.UNSAFE_componentWillReceiveProps&&(a="UNSAFE_componentWillReceiveProps"),"function"==typeof t.componentWillUpdate?c="componentWillUpdate":"function"==typeof t.UNSAFE_componentWillUpdate&&(c="UNSAFE_componentWillUpdate"),null!==n||null!==a||null!==c){var s=e.displayName||e.name,u="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+s+" uses "+u+" but also contains the following legacy lifecycles:"+(null!==n?"\n  "+n:"")+(null!==a?"\n  "+a:"")+(null!==c?"\n  "+c:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof e.getDerivedStateFromProps&&(t.componentWillMount=r,t.componentWillReceiveProps=o),"function"==typeof t.getSnapshotBeforeUpdate){if("function"!=typeof t.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=i;var l=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){var r=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;l.call(this,e,t,r)}}return e}
2n.r(t),n.d(t,{polyfill:()=>a}),r.__suppressDeprecationWarning=!0,o.__suppressDeprecationWarning=!0,i.__suppressDeprecationWarning=!0},8049(e,t,n){var r;n.d(t,{A:()=>b});var o=n(54973),i=n(35412),a=n(92860),c=n(65794),s=n.n(c),u=n(76079),l=n(63059),d=n(9890),f=n(54739);var p=n(62202),v=n(60978),m=n(23017),h={children:s().node,drop:s().oneOf(["up","left","right","down"]),focusFirstItemOnShow:s().oneOf([!1,!0,"keyboard"]),itemSelector:s().string,alignEnd:s().bool,show:s().bool,defaultShow:s().bool,onToggle:s().func};function y(){var e=(0,d.A)(),t=(0,a.useRef)(null),n=(0,a.useCallback)(function(n){t.current=n,e()},[e]);return[t,n]}function g(e){var t=e.drop,n=e.alignEnd,c=e.defaultShow,s=e.show,d=e.onToggle,v=e.itemSelector,m=void 0===v?"* > *":v,h=e.focusFirstItemOnShow,g=e.children,b=(0,u.iC)(s,c,d),A=b[0],j=b[1],w=y(),x=w[0],S=w[1],O=x.current,P=y(),E=P[0],_=P[1],k=E.current,C=(0,l.A)(A),T=(0,a.useRef)(null),N=(0,a.useRef)(!1),R=(0,a.useCallback)(function(e,t){j(e,t)},[j]),D=(0,a.useMemo)(function(){return{toggle:R,drop:t,show:A,alignEnd:n,menuElement:O,toggleElement:k,setMenu:S,setToggle:_}},[R,t,A,n,O,k,S,_]);O&&C&&!A&&(N.current=O.contains(document.activeElement));var I=(0,f.A)(function(){k&&k.focus&&k.focus()}),M=(0,f.A)(function(){var e=T.current,t=h;if(null==t&&(t=!(!x.current||!function(e){if(!r){var t=document.body,n=t.matches||t.matchesSelector||t.webkitMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector;r=function(e,t){return n.call(e,t)}}return r(e,"[role=menu]")}(x.current))&&"keyboard"),!1!==t&&("keyboard"!==t||/^key.+$/.test(e))){var n=(0,o.A)(x.current,m)[0];n&&n.focus&&n.focus()}});(0,a.useEffect)(function(){A?M():N.current&&(N.current=!1,I())},[A,N,I,M]),(0,a.useEffect)(function(){T.current=null});var U=function(e,t){if(!x.current)return null;var n=(0,o.A)(x.current,m),r=n.indexOf(e)+t;return n[r=Math.max(0,Math.min(r,n.length))]};return function(e,t,n=!1){(function(e,t,n,r=!1){const o=(0,f.A)(n);(0,a.useEffect)(()=>{const n="function"==typeof e?e():e;return n.addEventListener(t,o,r),()=>n.removeEventListener(t,o,r)},[e])})((0,a.useCallback)(()=>document,[]),e,t,n)}("keydown",function(e){var t,n,r=e.key,o=e.target,a=null==(t=x.current)?void 0:t.contains(o),c=null==(n=E.current)?void 0:n.contains(o);if((!/input|textarea/i.test(o.tagName)||!(" "===r||"Escape"!==r&&a))&&(a||c)&&(x.current||"Tab"!==r))switch(T.current=e.type,r){case"ArrowUp":var s=U(o,-1);return s&&s.focus&&s.focus(),void e.preventDefault();case"ArrowDown":if(e.preventDefault(),A){var u=U(o,1);u&&u.focus&&u.focus()}else j(!0,e);return;case"Tab":(0,i.Ay)(document,"keyup",function(t){var n;("Tab"!==t.key||t.target)&&null!=(n=x.current)&&n.contains(t.target)||j(!1,e)},{once:!0});break;case"Escape":e.preventDefault(),e.stopPropagation(),j(!1,e)}}),a.createElement(p.A.Provider,{value:D},g)}g.displayName="ReactOverlaysDropdown",g.propTypes=h,g.Menu=v.A,g.Toggle=m.A;const b=g},62202(e,t,n){n.d(t,{A:()=>r});const r=n(92860).createContext(null)},60978(e,t,n){n.d(t,{A:()=>y,G:()=>v});var r=n(73869),o=n(94058),i=n(65794),a=n.n(i),c=n(92860),s=n(32128),u=n(62202),l=n(25256),d=n(99920),f=n(92234),p=function(){};function v(e){void 0===e&&(e={});var t=(0,c.useContext)(u.A),n=(0,s.A)(),r=n[0],i=n[1],a=(0,c.useRef)(!1),v=e,m=v.flip,h=v.offset,y=v.rootCloseEvent,g=v.fixed,b=void 0!==g&&g,A=v.popperConfig,j=void 0===A?{}:A,w=v.usePopper,x=void 0===w?!!t:w,S=null==(null==t?void 0:t.show)?!!e.show:t.show,O=null==(null==t?void 0:t.alignEnd)?e.alignEnd:t.alignEnd;S&&!a.current&&(a.current=!0);var P=t||{},E=P.drop,_=P.setMenu,k=P.menuElement,C=P.toggleElement,T=O?"bottom-end":"bottom-start";"up"===E?T=O?"top-end":"top-start":"right"===E?T=O?"right-end":"right-start":"left"===E&&(T=O?"left-end":"left-start");var N=(0,l.A)(C,k,(0,f.Ay)({placement:T,enabled:!(!x||!S),enableEvents:S,offset:h,flip:m,fixed:b,arrowElement:r,popperConfig:j})),R=(0,o.A)({ref:_||p,"aria-labelledby":null==C?void 0:C.id},N.attributes.popper,{style:N.styles.popper}),D={show:S,alignEnd:O,hasShown:a.current,toggle:null==t?void 0:t.toggle,popper:x?N:null,arrowProps:x?(0,o.A)({ref:i},N.attributes.arrow,{style:N.styles.arrow}):{}};return(0,d.A)(k,function(e){null==t||t.toggle(!1,e)},{clickTrigger:y,disabled:!S}),[R,D]}var m={children:a().func.isRequired,show:a().bool,alignEnd:a().bool,flip:a().bool,usePopper:a().oneOf([!0,!1]),popperConfig:a().object,rootCloseEvent:a().string};function h(e){var t=e.children,n=v((0,r.A)(e,["children"])),o=n[0],i=n[1];return c.createElement(c.Fragment,null,i.hasShown?t(o,i):null)}h.displayName="ReactOverlaysDropdownMenu",h.propTypes=m,h.defaultProps={usePopper:!0};const y=h},23017(e,t,n){n.d(t,{A:()=>d,B:()=>s});var r=n(65794),o=n.n(r),i=n(92860),a=n(62202),c=function(){};function s(){var e=(0,i.useContext)(a.A)||{},t=e.show,n=void 0!==t&&t,r=e.toggle,o=void 0===r?c:r,s=e.setToggle,u=(0,i.useCallback)(function(e){o(!n,e)},[n,o]);return[{ref:s||c,onClick:u,"aria-haspopup":!0,"aria-expanded":!!n},{show:n,toggle:o}]}var u={children:o().func.isRequired};function l(e){var t=e.children,n=s(),r=n[0],o=n[1];return i.createElement(i.Fragment,null,t(r,o))}l.displayName="ReactOverlaysDropdownToggle",l.propTypes=u;const d=l},92234(e,t,n){n.d(t,{Ay:()=>o});var r=n(94058);function o(e){var t,n,o,i,a,c=e.enabled,s=e.enableEvents,u=e.placement,l=e.flip,d=e.offset,f=e.fixed,p=e.containerPadding,v=e.arrowElement,m=e.popperConfig,h=void 0===m?{}:m,y=function(e){var t={};return Array.isArray(e)?(null==e||e.forEach(function(e){t[e.name]=e}),t):e||t}(h.modifiers);return(0,r.A)({},h,{placement:u,enabled:c,strategy:f?"fixed":h.strategy,modifiers:(a=(0,r.A)({},y,{eventListeners:{enabled:s},preventOverflow:(0,r.A)({},y.preventOverflow,{options:p?(0,r.A)({padding:p},null==(t=y.preventOverflow)?void 0:t.options):null==(n=y.preventOverflow)?void 0:n.options}),offset:{options:(0,r.A)({offset:d},null==(o=y.offset)?void 0:o.options)},arrow:(0,r.A)({},y.arrow,{enabled:!!v,options:(0,r.A)({},null==(i=y.arrow)?void 0:i.options,{element:v})}),flip:(0,r.A)({enabled:!!l},y.flip)}),void 0===a&&(a={}),Array.isArray(a)?a:Object.keys(a).map(function(e){return a[e].name=e,a[e]}))})}},92248(e,t,n){n.d(t,{A:()=>
2o});var r=n(24833);function o(e){return e&&"setState"in e?r.findDOMNode(e):null!=e?e:null}},25256(e,t,n){n.d(t,{A:()=>A});var r=n(94058),o=n(73869),i=n(92860),a=n(61916);var c=n(47611),s=n(81669),u=n(12153),l=n(62951),d=n(16508),f=n(67075),p=n(65380),v=n(66997),m=(0,n(61772).UD)({defaultModifiers:[d.A,p.A,s.A,u.A,f.A,l.A,v.A,c.A]}),h=function(e){return{position:e,top:"0",left:"0",opacity:"0",pointerEvents:"none"}},y={name:"applyStyles",enabled:!1},g={name:"ariaDescribedBy",enabled:!0,phase:"afterWrite",effect:function(e){var t=e.state;return function(){var e=t.elements,n=e.reference,r=e.popper;if("removeAttribute"in n){var o=(n.getAttribute("aria-describedby")||"").split(",").filter(function(e){return e.trim()!==r.id});o.length?n.setAttribute("aria-describedby",o.join(",")):n.removeAttribute("aria-describedby")}}},fn:function(e){var t,n=e.state.elements,r=n.popper,o=n.reference,i=null==(t=r.getAttribute("role"))?void 0:t.toLowerCase();if(r.id&&"tooltip"===i&&"setAttribute"in o){var a=o.getAttribute("aria-describedby");if(a&&-1!==a.split(",").indexOf(r.id))return;o.setAttribute("aria-describedby",a?a+","+r.id:r.id)}}},b=[];const A=function(e,t,n){var c=void 0===n?{}:n,s=c.enabled,u=void 0===s||s,l=c.placement,d=void 0===l?"bottom":l,f=c.strategy,p=void 0===f?"absolute":f,v=c.modifiers,A=void 0===v?b:v,j=(0,o.A)(c,["enabled","placement","strategy","modifiers"]),w=(0,i.useRef)(),x=(0,i.useCallback)(function(){var e;null==(e=w.current)||e.update()},[]),S=(0,i.useCallback)(function(){var e;null==(e=w.current)||e.forceUpdate()},[]),O=function(e){const t=(0,a.A)();return[e[0],(0,i.useCallback)(n=>{if(t())return e[1](n)},[t,e[1]])]}((0,i.useState)({placement:d,update:x,forceUpdate:S,attributes:{},styles:{popper:h(p),arrow:{}}})),P=O[0],E=O[1],_=(0,i.useMemo)(function(){return{name:"updateStateModifier",enabled:!0,phase:"write",requires:["computeStyles"],fn:function(e){var t=e.state,n={},r={};Object.keys(t.elements).forEach(function(e){n[e]=t.styles[e],r[e]=t.attributes[e]}),E({state:t,styles:n,attributes:r,update:x,forceUpdate:S,placement:t.placement})}}},[x,S,E]);return(0,i.useEffect)(function(){w.current&&u&&w.current.setOptions({placement:d,strategy:p,modifiers:[].concat(A,[_,y])})},[p,d,_,u]),(0,i.useEffect)(function(){if(u&&null!=e&&null!=t)return w.current=m(e,t,(0,r.A)({},j,{placement:d,strategy:p,modifiers:[].concat(A,[g,_])})),function(){null!=w.current&&(w.current.destroy(),w.current=void 0,E(function(e){return(0,r.A)({},e,{attributes:{},styles:{popper:h(p)}})}))}},[u,e,t]),P}},99920(e,t,n){n.d(t,{A:()=>v});var r=n(45200),o=n(60898),i=n(92860),a=n(54739),c=n(40972),s=n.n(c),u=n(75076),l=n(92248);const d=function(e){return(0,u.A)((0,l.A)(e))};(Object.getOwnPropertyDescriptor(d,"name")||{}).writable||Object.defineProperty(d,"name",{value:"default",configurable:!0});var f=function(){},p=function(e){return e&&("current"in e?e.current:e)};const v=function(e,t,n){var c=void 0===n?{}:n,u=c.disabled,l=c.clickTrigger,v=void 0===l?"click":l,m=(0,i.useRef)(!1),h=t||f,y=(0,i.useCallback)(function(t){var n,o,i=p(e);s()(!!i,"RootClose captured a close event but does not have a ref to compare it to. useRootClose(), should be passed a ref that resolves to a DOM node"),m.current=!(i&&(o=t,!(o.metaKey||o.altKey||o.ctrlKey||o.shiftKey))&&function(e){return 0===e.button}(t)&&!(0,r.A)(i,null!=(n=null==t.composedPath?void 0:t.composedPath()[0])?n:t.target))},[e]),g=(0,a.A)(function(e){m.current||h(e)}),b=(0,a.A)(function(e){27===e.keyCode&&h(e)});(0,i.useEffect)(function(){if(!u&&null!=e){var t=window.event,n=d(p(e)),r=(0,o.A)(n,v,y,!0),i=(0,o.A)(n,v,function(e){e!==t?g(e):t=void 0}),a=(0,o.A)(n,"keyup",function(e){e!==t?b(e):t=void 0}),c=[];return"ontouchstart"in n.documentElement&&(c=[].slice.call(n.body.children).map(function(e){return(0,o.A)(e,"mousemove",f)})),function(){r(),i(),a(),c.forEach(function(e){return e()})}}},[e,u,v,y,g,b])}},76079(e,t,n){n.d(t,{Zw:()=>u,iC:()=>s});var r=n(94058),o=n(73869),i=n(92860);function a(e){return"default"+e.charAt(0).toUpperCase()+e.substr(1)}function c(e){var t=function(e){if("object"!=typeof e||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:String(t)}function s(e,t,n){var r=(0,i.useRef)(void 0!==e),o=(0,i.useState)(t),a=o[0],c=o[1],s=void 0!==e,u=r.current;return r.current=s,!s&&u&&a!==t&&c(t),[s?e:a,(0,i.useCallback)(function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),o=1;o<t;o++)r[o-1]=arguments[o];n&&n.apply(void 0,[e].concat(r)),c(e)},[n])]}function u(e,t){return Object.keys(t).reduce(function(n,i){var u,l=n,d=l[a(i)],f=l[i],p=(0,o.A)(l,[a(i),i].map(c)),v=t[i],m=s(f,d,e[v]),h=m[0],y=m[1];return(0,r.A)({},p,((u={})[i]=h,u[v]=y,u))},e)}n(60191),n(70884)},40972(e){e.exports=function(){}}}]);

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.