PageSourceSearch

https://shashlik.ru/_next/static/chunks/848-c2e452b1bf2968c9.js

js shashlik.ru collected 2026-10-04 09:31:03 UTC 39,943 bytes, 1 lines download raw bytes

1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="2c5a2a6f-aaa4-4f40-873d-6d21ac5de90a",e._sentryDebugIdIdentifier="sentry-dbid-2c5a2a6f-aaa4-4f40-873d-6d21ac5de90a")}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[848,3331],{26386:function(e,n,i){"use strict";i.d(n,{Z:function(){return $}});var t=i(50029),r=i(59499),l=i(87794),o=i.n(l),a=i(67294),c=i(41248),s=i(4320),d=i(63331),u=i(92451),m=i(57347),v=i(61090),f=i(53756),h=i(30536),p=i(15515),x=i(38586),b=i(93026),j=i.n(b),g=i(85893);function N(e){var n=e.basePrice,i=e.oldPrice,t=e.selections,r=e.count,l=e.loading,o=e.hasStopListItems,c=void 0!==o&&o,s=e.onCountChange,d=e.onAddToCart,u=(0,f.$G)("common").t,m=(0,a.useMemo)(function(){return Object.values(t).flat().filter(function(e){var n;return(null!==(n=e.price)&&void 0!==n?n:0)>0}).map(function(e){return{name:e.name,price:e.price}})},[t]),v=(0,a.useMemo)(function(){return m.reduce(function(e,n){return e+n.price},0)},[m]),b=i?(i+v)*r:null;return(0,g.jsxs)("div",{className:j().host,children:[(m.length>0||b)&&(0,g.jsxs)("div",{className:j().breakdown,children:[(0,g.jsxs)("div",{className:j().breakdownRow,children:[(0,g.jsx)("span",{children:u("delivery.combo","Комбо")}),(0,g.jsx)("span",{children:(0,x.xG)(n)})]}),m.map(function(e){return(0,g.jsxs)("div",{className:j().breakdownRow,children:[(0,g.jsx)("span",{children:e.name}),(0,g.jsxs)("span",{className:j().surchargePrice,children:["+ ",(0,x.xG)(e.price)]})]},e.name)})]}),c&&(0,g.jsx)("div",{className:j().stopListWarning,children:u("delivery.comboStopListWarning","Некоторые позиции закончились. Замените их, чтобы добавить в корзину")}),(0,g.jsxs)("div",{className:j().actions,children:[(0,g.jsx)(p.Z,{className:j().countButton,count:r,disabled:l||c,onAdd:function(){return s(r+1)},onRemove:function(){return s(Math.max(1,r-1))}}),(0,g.jsxs)(h.J,{className:j().addButton,disabled:l||c,loading:l,onClick:d,primary:!0,children:[(0,g.jsx)("span",{className:j().addButtonText,children:u("delivery.comboAdd","добавить")}),b&&(0,g.jsx)("span",{className:j().oldPrice,children:(0,x.xG)(b)}),(0,g.jsx)("span",{className:j().addButtonPrice,children:(0,x.xG)((n+v)*r)})]})]})]})}var y=i(94184),k=i.n(y),C=function(e){if(!e.productId)return!0;var n,i=(0,s.cO)(e.productId);return null===(n=null==i?void 0:i.available)||void 0===n||n},_=i(37942),w=i.n(_);function P(e){var n=e.slots,i=e.selections,t=e.activeSlotId,l=e.allProducts,o=e.onSlotClick,a=(0,f.$G)("common").t;return(0,g.jsx)("div",{className:w().host,children:n.map(function(e){var n,c,s=i[e.id];if(!(null!=s&&s.length))return null;var d=(null!==(n=null===(c=e.children)||void 0===c?void 0:c.length)&&void 0!==n?n:0)>s.length;return s.map(function(n){var i,c,s,u=l.find(function(e){return e.id===n.productId}),v=C(n);return(0,g.jsxs)("div",{className:k()(w().slot,(i={},(0,r.Z)(i,w().active,e.id===t),(0,r.Z)(i,w().unavailable,!v),i)),children:[(0,g.jsx)("div",{className:w().thumbnail,children:(0,g.jsx)("img",{src:(null==u?void 0:null===(c=u.image)||void 0===c?void 0:c.medium)||m.t.productBlurIcon,alt:n.name,onError:function(e){e.target.src=m.t.productBlurIcon}})}),(0,g.jsxs)("div",{className:w().info,children:[(0,g.jsx)("div",{className:w().name,children:n.name}),!v&&(0,g.jsx)("div",{className:w().soldOut,children:a("delivery.comboSoldOut","Закончилось")}),(null==u?void 0:u.description)&&v&&(0,g.jsx)("div",{className:w().description,children:u.description}),v&&(null!==(s=n.price)&&void 0!==s?s:0)>0&&(0,g.jsxs)("div",{className:w().surcharge,children:["+ ",(0,x.xG)(n.price)]}),d&&(0,g.jsx)("button",{type:"button",className:k()(w().replaceButton,(0,r.Z)({},w().replaceButtonWarning,!v)),onClick:function(){return o(e.id,n.id)},children:a("delivery.comboReplace","Заменить")})]})]},n.id)})})})}var O=i(57017),S=i.n(O);function B(e){var n,i=e.slot,t=e.selectedChildId,l=e.selectedChildIds,o=void 0===l?[]:l,c=e.allProducts,d=e.onSelect,u=e.onClose,v=(0,f.$G)("common").t,p=(0,a.useState)(null),b=p[0],j=p[1],N=(0,a.useMemo)(function(){var e;return null!==(e=null==i?void 0:i.children)&&void 0!==e?e:[]},[i]),y=function(e){if(!e.productId)return!0;var n,i=(0,s.cO)(e.productId);return null===(n=null==i?void 0:i.available)||void 0===n||n},C=(0,a.useMemo)(function(){var e;return null!==(e=N.find(function(e){return e.id===b}))&&void 0!==e?e:null},[N,b]);return i&&N.length?(0,g.jsxs)("div",{className:S().host,children:[u&&(0,g.jsx)("button",{type:"button",className:S().closeButton,onClick:u,children:"✕"}),(0,g.jsx)("div",{className:S().grid,children:N.map(function(e){var n,i,l,a=c.find(function(n){return n.id===e.productId}),s=o.filter(function(n){return n===e.id}).length;t===e.id&&s--;var d=e.maxAmount>0&&s>=e.maxAmount,u=y(e)&&!d,f=e.id===t,h=e.id===b;return(0,g.jsxs)("div",{className:k()(S().card,(n={},(0,r.Z)(n,S().selected,f),(0,r.Z)(n,S().hovered,h&&!f),(0,r.Z)(n,S().unavailable,!u),n)),onClick:function(){u&&(f||j(e.id))},children:[(0,g.jsx)("div",{className:S().imageWrapper,children:(0,g.jsx)("img",{src:(null==a?void 0:null===(i=a.image)||void 0===i?void 0:i.medium)||m.t.productBlurIcon,alt:e.name,className:S().image,onError:function(e){e.target.src=m.t.productBlurIcon}})}),(0,g.jsx)("div",{className:S().name,children:e.name}),f&&(0,g.jsx)("div",{className:S().currentLabel,children:v("delivery.comboCurrent","Текущий")}),!u&&(0,g.jsx)("div",{className:S().soldOut,children:v("delivery.comboSoldOut","Закончилось")}),u&&(null!==(l=e.price)&&void 0!==l?l:0)>0&&(0,g.jsxs)("div",{className:S().surcharge,children:["+ ",(0,x.xG)(e.price)]})]},e.id)})}),b&&b!==t&&C&&(0,g.jsx)("div",{className:S().replaceAction,children:(0,g.jsx)(h.J,{primary:!0,className:S().replaceButton,onClick:function(){d(C),j(null)},children:(null!==(n=C.price)&&void 0!==n?n:0)>0?"".concat(v("delivery.comboReplace","Заменить")," ").concat(v("delivery.comboReplaceFor","за")," ").concat((0,x.xG)(C.price)):v("delivery.comboReplace","Заменить")})})]}):null}var I=i(80518),M=i(47516),L=i(86172),F=i(52482),A=i.n(F);function Z(e){var n=e.basePrice,i=e.oldPrice,t=e.selections,r=e.count,l=e.loading,o=e.hasStopListItems,c=void 0!==o&&o,s=e.onCountChange,d=e.onAddToCart,u=(0,f.$G)("common").t,m=(0,a.useMemo)(function(){return Object.values(t).flat().filter(function(e){var n;return(null!==(n=e.price)&&void 0!==n?n:0)>0}).map(function(e){return{name:e.name,price:e.price}})},[t]),v=(0,a.useMemo)(function(){return m.reduce(function(e,n){return e+n.price},0)},[m]),h=i?(i+v)*r:null;return(0,g.jsxs)("div",{className:A().host,children:[(0,g.jsxs)("div",{className:A().summary,children:[(0,g.jsxs)("div",{className:A().summaryRow,children:[(0,g.jsx)("span",{children:u("delivery.combo","Комбо")}),(0,g.jsx)("span",{children:(0,x.xG)(n)})]}),m.map(function(e){return(0,g.jsxs)("div",{className:A().summaryRow,children:[(0,g.jsx)("span",{children:e.name}),(0,g.jsxs)("span",{children:["+ ",(0,x.xG)(e.price)]})]},e.name)})]}),(0,g.jsx)("div",{className:A().divider}),c&&(0,g.jsx)("div",{className:A().stopListWarning,children:u("delivery.comboStopListWarning","Некоторые позиции закончились. Замените их, чтобы добавить в корзин
1у")}),(0,g.jsxs)("div",{className:A().controls,children:[(0,g.jsx)(p.Z,{className:A().counter,count:r,disabled:l||c,onAdd:function(){return s(r+1)},onRemove:function(){return s(Math.max(1,r-1))}}),(0,g.jsxs)("button",{type:"button",className:A().addButton,disabled:l||c,onClick:d,children:[(0,g.jsx)("span",{className:A().addText,children:u("delivery.comboAdd","добавить")}),h&&(0,g.jsx)("span",{className:A().oldPrice,children:(0,x.xG)(h)}),(0,g.jsx)("span",{className:A().price,children:(0,x.xG)((n+v)*r)})]})]})]})}function H(){return(0,g.jsxs)("svg",{width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,g.jsx)("circle",{cx:"7.5",cy:"7.5",r:"7",fill:"var(--primary-color, #FFCC00)",stroke:"var(--primary-color, #FFCC00)",strokeWidth:"1"}),(0,g.jsx)("path",{d:"M4 7.5L6.5 10L11 5.5",stroke:"#FFFFFF",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}var R=i(74975),E=i.n(R);function G(e){var n,i=e.slot,t=e.selectedChildId,l=e.selectedChildIds,o=void 0===l?[]:l,c=e.allProducts,d=e.onSelect,u=e.onBack,v=(0,f.$G)("common").t,h=(0,a.useState)(null),p=h[0],b=h[1],j=(0,a.useMemo)(function(){var e;return null!==(e=i.children)&&void 0!==e?e:[]},[i]),N=(0,a.useCallback)(function(e){return c.find(function(n){return n.id===e.productId})},[c]),y=(0,a.useCallback)(function(e){if(!e.productId)return!0;var n,i=(0,s.cO)(e.productId);return null===(n=null==i?void 0:i.available)||void 0===n||n},[]),C=(0,a.useMemo)(function(){var e;return null!==(e=j.find(function(e){return e.id===p}))&&void 0!==e?e:null},[j,p]),_=(0,a.useCallback)(function(e){y(e)&&(e.id!==t||p)&&b(e.id)},[t,p,y]),w=(0,a.useCallback)(function(){C&&d(C)},[C,d]);return(0,g.jsxs)("div",{className:E().host,children:[(0,g.jsxs)("div",{className:E().header,children:[(0,g.jsx)("button",{type:"button",className:E().backButton,onClick:u,children:(0,g.jsx)("svg",{width:"9",height:"16",viewBox:"0 0 9 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,g.jsx)("path",{d:"M8 1L1 8L8 15",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})}),(0,g.jsx)("h2",{className:E().title,children:v("delivery.comboReplace","Заменить")})]}),(0,g.jsx)("div",{className:E().grid,children:j.map(function(e){var n,i,l,a=N(e),c=o.filter(function(n){return n===e.id}).length;t===e.id&&c--;var s=e.maxAmount>0&&c>=e.maxAmount,d=y(e)&&!s;e.id;var u=e.id===t&&!p,f=e.id===p;return(0,g.jsxs)("div",{className:k()(E().card,(n={},(0,r.Z)(n,E().selected,f),(0,r.Z)(n,E().current,u),(0,r.Z)(n,E().unavailable,!d),n)),onClick:function(){return _(e)},children:[f&&(0,g.jsx)("div",{className:E().checkmark,children:(0,g.jsx)(H,{})}),(0,g.jsx)("div",{className:E().imageWrapper,children:(0,g.jsx)("img",{src:(null==a?void 0:null===(i=a.image)||void 0===i?void 0:i.medium)||m.t.productBlurIcon,alt:e.name,className:E().image,onError:function(e){e.target.src=m.t.productBlurIcon}})}),(0,g.jsxs)("div",{className:E().cardInfo,children:[(0,g.jsx)("div",{className:E().cardName,children:e.name}),u&&(0,g.jsx)("div",{className:E().currentLabel,children:v("delivery.comboCurrent","Текущий")}),!d&&(0,g.jsx)("div",{className:E().soldOut,children:v("delivery.comboSoldOut","Закончилось")}),d&&(null!==(l=e.price)&&void 0!==l?l:0)>0&&(0,g.jsxs)("div",{className:E().cardPrice,children:["+ ",(0,x.xG)(e.price)]})]})]},e.id)})}),p&&p!==t&&C&&(0,g.jsx)("div",{className:E().confirmBar,children:(0,g.jsx)("button",{type:"button",className:E().confirmButton,onClick:w,children:(null!==(n=C.price)&&void 0!==n?n:0)>0?"".concat(v("delivery.comboReplace","Заменить")," ").concat(v("delivery.comboReplaceFor","за")," ").concat((0,x.xG)(C.price)).toUpperCase():v("delivery.comboReplace","Заменить").toUpperCase()})})]})}var D=i(90497),T=i.n(D);function W(e){var n,i,t=e.modification,l=e.product,o=e.canReplace,a=e.onReplace,c=(0,f.$G)("common").t,s=C(t);return(0,g.jsxs)("div",{className:k()(T().card,(0,r.Z)({},T().unavailable,!s)),children:[(0,g.jsx)("div",{className:T().photo,children:(0,g.jsx)("img",{src:(null==l?void 0:null===(n=l.image)||void 0===n?void 0:n.medium)||m.t.productBlurIcon,alt:t.name,onError:function(e){e.target.src=m.t.productBlurIcon}})}),(0,g.jsxs)("div",{className:T().info,children:[(0,g.jsxs)("div",{className:T().textBlock,children:[(0,g.jsx)("div",{className:T().name,children:t.name}),!s&&(0,g.jsx)("div",{className:T().soldOut,children:c("delivery.comboSoldOut","Закончилось")}),s&&(null==l?void 0:l.description)&&(0,g.jsx)("div",{className:T().description,children:l.description}),s&&(null!==(i=t.price)&&void 0!==i?i:0)>0&&(0,g.jsxs)("div",{className:T().surcharge,children:["+ ",(0,x.xG)(t.price)]})]}),(void 0===o||o)&&(0,g.jsx)("button",{type:"button",className:k()(T().replaceButton,(0,r.Z)({},T().replaceButtonWarning,!s)),onClick:a,children:c("delivery.comboReplace","Заменить")})]})]})}var J=i(29008),Y=i.n(J);function q(e,n){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);n&&(t=t.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),i.push.apply(i,t)}return i}function V(e){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};
1n%2?q(Object(i),!0).forEach(function(n){(0,r.Z)(e,n,i[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):q(Object(i)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(i,n))})}return e}function z(e){var n,i,t,l,o=e.product,s=e.modifications,u=e.selections,v=e.basePrice,h=e.oldPrice,p=(e.menuItemId,e.count),x=e.loading,b=e.hasStopListItems,j=e.allProducts,N=e.onSelectionsChange,y=e.onCountChange,k=e.onAddToCart,C=(0,f.$G)("common").t,_=(0,a.useState)(null),w=_[0],P=_[1],O=(0,a.useState)(null),S=O[0],B=O[1],F=(0,c.v9)(function(e){return e.analytics}).analyticServices.find(function(e){return"yandex_metric"===e.service}),A=(0,c.v9)(function(e){return e.ordering.deliveryType}),H=(0,M.j)({clientId:null!=F&&F.key?"metrika.".concat(null===(n=F.key)||void 0===n?void 0:n.split("; ")[0]):""}).flags,R=(0,a.useState)(!1),E=R[0],D=R[1];(0,a.useEffect)(function(){(0,L.c)(H[I.yx])||D(H[I.yx][0].includes(I.fE.productCard))},[H]);var T=E&&(null==A?void 0:A.value)==="client",J=(0,a.useMemo)(function(){var e;return null!==(e=s.find(function(e){return e.id===w}))&&void 0!==e?e:null},[s,w]),q=(0,a.useCallback)(function(e,n){P(e),B(n)},[]),z=(0,a.useCallback)(function(e){if(w&&S){var n,i=null!==(n=u[w])&&void 0!==n?n:[];N(V(V({},u),{},(0,r.Z)({},w,i.map(function(n){return n.id===S?e:n})))),P(null),B(null)}},[w,S,u,N]),Q=(0,a.useCallback)(function(){P(null),B(null)},[]),X=(0,a.useCallback)(function(e){return j.find(function(n){return n.id===e.productId})},[j]);return w&&J?(0,g.jsx)(G,{slot:J,selectedChildId:S,selectedChildIds:w&&null!==(t=null===(l=u[w])||void 0===l?void 0:l.map(function(e){return e.id}))&&void 0!==t?t:[],allProducts:j,onSelect:z,onBack:Q}):(0,g.jsxs)("div",{className:Y().host,children:[(0,g.jsxs)("div",{className:Y().imageContainer,children:[(0,g.jsx)("img",{src:(null===(i=o.image)||void 0===i?void 0:i.medium)||m.t.productBlurIcon,alt:o.name,onError:function(e){e.target.src=m.t.productBlurIcon}}),T&&(0,g.jsx)("div",{className:Y().badge,children:C("delivery.pickupDiscount","Самовывоз -15%")})]}),(0,g.jsxs)("div",{className:Y().content,children:[(0,g.jsxs)("div",{className:Y().titleRow,children:[(0,g.jsx)("h2",{className:Y().title,children:o.name}),(0,g.jsx)("span",{className:Y().infoIcon,children:(0,g.jsx)(d.default,{})})]}),(0,g.jsx)("p",{className:Y().description,children:o.description}),(0,g.jsx)("div",{className:Y().slots,children:s.map(function(e){var n,i,t=u[e.id];if(!(null!=t&&t.length))return null;var r=(null!==(n=null===(i=e.children)||void 0===i?void 0:i.length)&&void 0!==n?n:0)>t.length;return t.map(function(n){var i=X(n);return(0,g.jsx)(W,{modification:n,product:i,canReplace:r,onReplace:function(){return q(e.id,n.id)}},n.id)})})})]}),(0,g.jsx)(Z,{basePrice:v,oldPrice:h,selections:u,count:p,loading:x,hasStopListItems:void 0!==b&&b,onCountChange:y,onAddToCart:k})]})}var Q=i(64331),X=i.n(Q);function U(e,n){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);n&&(t=t.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),i.push.apply(i,t)}return i}function K(e){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};n%2?U(Object(i),!0).forEach(function(n){(0,r.Z)(e,n,i[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):U(Object(i)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(i,n))})}return e}function $(e){var n,i,l,f=e.product,h=(0,a.useContext)(u.F).isDesktop,p=(0,c.v9)(function(e){return e.products.all}),x=(0,a.useState)({}),b=x[0],j=x[1],y=(0,a.useState)(null),k=y[0],_=y[1],w=(0,a.useState)(null),O=w[0],S=w[1],I=(0,a.useState)(!1),M=I[0],L=I[1],F=(0,a.useState)(1),A=F[0],Z=F[1],H=(0,a.useState)(!1),R=H[0],E=H[1],G=(0,a.useMemo)(function(){var e,n,i=(0,s.cO)(null==f?void 0:f.id);return null!==(e=null==i?void 0:null===(n=i.modifications)||void 0===n?void 0:n.filter(function(e){var n;return null===(n=e.children)||void 0===n?void 0:n.length}))&&void 0!==e?e:[]},[null==f?void 0:f.id]),D=(0,a.useMemo)(function(){var e,n=(0,s.cO)(null==f?void 0:f.id);return null!==(e=null==n?void 0:n.id)&&void 0!==e?e:""},[null==f?void 0:f.id]),T=(0,a.useMemo)(function(){return(0,s.J5)(null==f?void 0:f.id)},[null==f?void 0:f.id]),W=(0,a.useMemo)(function(){var e;return null!==(e=null==f?void 0:f.oldPrice)&&void 0!==e?e:null},[null==f?void 0:f.oldPrice]),J=(0,a.useMemo)(function(){var e;return null!==(e=G.find(function(e){return e.id===k}))&&void 0!==e?e:null},[G,k]);(0,a.useEffect)(function(){if(G.length){var e={};G.forEach(function(n){var i,t,r,l=null!==(i=null===(t=n.children)||void 0===t?void 0:t.filter(function(e){return e.defaultAmount>0}))&&void 0!==i?i:[];e[n.id]=l.length>0?l:null!==(r=n.children)&&void 0!==r&&r[0]?[n.children[0]]:[]}),j(e)}},[G]);var Y=(0,a.useCallback)(function(e,n){_(e),S(n),L(!0)},[]),q=(0,a.useCallback)(function(){L(!1),_(null),S(null)},[]),V=(0,a.useCallback)(function(e){k&&O&&(j(function(n){var i,t=null!==(i=n[k])&&void 0!==i?i:[];return K(K({},n),{},(0,r.Z)({},k,t.map(function(n){return n.id===O?e:n})))}),L(!1),_(null),S(null))},[k,O]),Q=(0,a.useMemo)(function(){return Object.values(b).flat().some(function(e){return!C(e)})},[b]),U=(0,a.useCallback)((0,t.Z)(o().mark(function e(){var n,i;return o().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!(!f||!D)){e.next=2;break}return e.abrupt("return");case 2:if(!Q){e.next=4;break}return e.abrupt("return");case 4:if(G.every(function(e){var n;return(null===(n=b[e.id])||void 0===n?void 0:n.length)>0})){e.next=7;break}return e.abrupt("return");case 7:if(E(!0),n=Object.values(b).flat(),v.Ni.validateToAddProductToCart(f,D,[],n)){e.next=14;break}return v.su.closeProductCard(),E(!1),e.abrupt("return");case 14:return i=Array(A).fill(f),e.next=17,v.Ni.addProductsToCart(i,D,[],n);case 17:v.su.closeProductCard(),E(!1);case 19:case"end":return e.stop()}},e)})),[f,D,G,b,A,Q]);return f?h?(0,g.jsxs)("div",{className:X().desktopHost,children:[(0,g.jsx)("div",{className:X().leftColumn,children:M?(0,g.jsx)(B,{slot:J,selectedChildId:O,selectedChildIds:k&&null!==(n=null===(i=b[k])||void 0===i?void 0:i.map(function(e){return e.id}))&&void 0!==n?n:[],allProducts:p,onSelect:V,onClose:q}):(0,g.jsx)("div",{className:X().productImage,children:(0,g.jsx)("img",{src:(null===(l=f.image)||void 0===l?void 0:l.medium)||m.t.productBlurIcon,alt:f.name,onError:function(e){e.target.src=m.t.productBlurIcon}})})}),(0,g.jsxs)("div",{className:X().rightColumn,children:[(0,g.jsxs)("div",{className:X().titleRow,children:[(0,g.jsx)("h2",{className:X().title,children:f.name}),(0,g.jsx)("span",{className:X().infoIcon,children:(0,g.jsx)(d.default,{})})]}),(0,g.jsx)("p",{className:X().description,children:f.description}),(0,g.jsx)(P,{slots:G,selections:b,activeSlotId:k,allProducts:p,onSlotClick:Y}),(0,g.jsx)(N,{basePrice:T,oldPrice:W,selections:b,count:A,loading:R,hasStopListItems:Q,onCountChange:Z,onAddToCart:U})]})]}):(0,g.jsx)(z,{product:f,modifications:G,selections:b,basePrice:T,oldPrice:W,menuItemId:D,count:A,loading:R,hasStopListItems:Q,allProducts:p,onSelectionsChange:j,onCountChange:Z,onAddToCart:U}):null}},28262:function(e,n,i){"use strict";i.d(n,{Z:function(){return G}});var t=i(50029),r=i(59499),l=i(90116),o=i(87794),a=i.n(o),c=i(67294),s=i(41248),d=i(20681),u=i(4320),m=i(30536),v=i(92451),f=i(57347),h=i(32263),p=i(61090),x=i(38586),b=i(59794),j=i(41639),g=i(56575),N=i.n(g),y=i(85893);function k(e){var n=e.totalPrice,i=e.canAdd,t=e.loading,r=e.onAdd;return(0,y.jsxs)("div",{className:N().footer,children:[(0,y.jsx)("div",{className:N().price,children:(0,x.xG)(n)}),(0,y.jsx)(m.J,{className:N().button,disabled:!i||t,onClick:r,children:"В корзин
1у"})]})}var C=i(94184),_=i.n(C),w=i(35439),P=i.n(w);function O(e){var n,i,t,l,o=e.item,a=e.selected,s=e.marked,d=void 0!==s&&s,u=e.disabled,m=e.variant,v=e.onPick,f=(0,c.useCallback)(function(){u||v(o)},[u,o,v]),h=(null===(n=o.image)||void 0===n?void 0:n.medium)||(null===(i=o.image)||void 0===i?void 0:i.large)||(null===(t=o.image)||void 0===t?void 0:t.thumbnail)||"",p=null!=o.price?(0,x.xG)(o.price):"";return(0,y.jsxs)("button",{type:"button",className:_()(P().item,P()["item--".concat(m)],(l={},(0,r.Z)(l,P().selected,a||d),(0,r.Z)(l,P().disabled,u),l)),onClick:f,disabled:u,"aria-pressed":a||d,children:["mobile"===m&&(a||d)&&(0,y.jsx)("span",{className:P().closeBadge,"aria-hidden":"true",children:"\xd7"}),(0,y.jsxs)("div",{className:P().imageWrap,children:[h?(0,y.jsx)("img",{src:h,alt:o.name,className:P().image}):(0,y.jsx)("div",{className:P().imagePlaceholder}),u&&(0,y.jsx)("span",{className:P().disabledOverlay,"aria-hidden":"true"})]}),(0,y.jsx)("div",{className:P().name,children:o.name}),"sheet"===m?(0,y.jsx)("span",{className:_()(P().cta,(0,r.Z)({},P().ctaSelected,a)),children:a?"Отменить выбор":"Ð
1’ыбрать ".concat(p)}):(0,y.jsx)("div",{className:P().price,children:p})]})}function S(e){var n=e.items,i=e.selectedId,t=e.selectedIds,r=e.disabledIds,l=e.variant,o=e.onPick;return(0,y.jsx)("div",{className:"".concat(P().grid," ").concat(P()["grid--".concat(l)]),children:n.map(function(e){var n,a;return(0,y.jsx)(O,{item:e,selected:i===e.id,marked:null!==(n=null==t?void 0:t.has(e.id))&&void 0!==n&&n,disabled:null!==(a=null==r?void 0:r.has(e.id))&&void 0!==a&&a,variant:l,onPick:o},e.id)})})}var B=i(54524),I=i.n(B);function M(e){var n,i,t,r,l,o,a=e.left,c=e.right,s=e.className,d=f.t.getHalvesPlaceholderImageUrl(),u=(null==a?void 0:null===(n=a.image)||void 0===n?void 0:n.medium)||(null==a?void 0:null===(i=a.image)||void 0===i?void 0:i.large)||(null==a?void 0:null===(t=a.image)||void 0===t?void 0:t.thumbnail)||d,m=(null==c?void 0:null===(r=c.image)||void 0===r?void 0:r.medium)||(null==c?void 0:null===(l=c.image)||void 0===l?void 0:l.large)||(null==c?void 0:null===(o=c.image)||void 0===o?void 0:o.thumbnail)||d;return(0,y.jsxs)("svg",{className:[I().preview,s].filter(Boolean).join(" "),viewBox:"0 0 278 278",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid meet",children:[(0,y.jsxs)("defs",{children:[(0,y.jsx)("clipPath",{id:"halves-clip-left",children:(0,y.jsx)("path",{d:"M139,16 A123,123 0 0,0 139,262 Z"})}),(0,y.jsx)("clipPath",{id:"halves-clip-right",children:(0,y.jsx)("path",{d:"M139,16 A123,123 0 0,1 139,262 Z"})}),(0,y.jsx)("clipPath",{id:"halves-clip-circle",children:(0,y.jsx)("circle",{cx:"139",cy:"139",r:"123"})})]}),(0,y.jsx)("circle",{cx:"139",cy:"139",r:"139",fill:"#F2F2F2"}),(0,y.jsx)("circle",{cx:"139",cy:"139",r:"123",fill:"#FAFAFA"}),(0,y.jsx)("image",{href:u,x:"16",y:"16",width:"246",height:"246",preserveAspectRatio:"xMidYMid slice",clipPath:"url(#halves-clip-left)"}),(0,y.jsx)("image",{href:m,x:"16",y:"16",width:"246",height:"246",preserveAspectRatio:"xMidYMid slice",clipPath:"url(#halves-clip-right)"}),(0,y.jsx)("line",{x1:"139",y1:"16",x2:"139",y2:"262",stroke:"#FFFFFF",strokeWidth:"2"}),(0,y.jsx)("circle",{cx:"139",cy:"139",r:"123",fill:"none",stroke:"#E5E5E5",strokeWidth:"2"})]})}var L=i(66130),F=i.n(L);function A(e){var n,i,t,l,o=e.side,a=e.selection,c=e.active,s=e.onClick,d=f.t.getHalvesPlaceholderImageUrl(),u=(null==a?void 0:null===(n=a.image)||void 0===n?void 0:n.medium)||(null==a?void 0:null===(i=a.image)||void 0===i?void 0:i.large)||(null==a?void 0:null===(t=a.image)||void 0===t?void 0:t.thumbnail)||"";return(0,y.jsxs)("button",{type:"button",className:_()(F().slot,(l={},(0,r.Z)(l,F().active,void 0!==c&&c),(0,r.Z)(l,F().filled,!!a),l)),onClick:s,children:[(0,y.jsx)("span",{className:F().icon,"aria-hidden":"true",children:(0,y.jsx)("img",{src:a&&u?u:d,alt:"",className:F().thumb})}),(0,y.jsx)("span",{className:F().body,children:a?(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)("span",{className:F().name,children:a.name}),(0,y.jsx)("span",{className:F().price,children:null!=a.price?(0,x.xG)(a.price):""})]}):(0,y.jsx)("span",{className:F().placeholder,children:"left"===o?"Выберите левую половинку":"Выберите правую половинку"})})]})}var Z=i(84206),H=i.n(Z);function R(e,n){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);n&&(t=t.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),i.push.apply(i,t)}return i}function E(e){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};n%2?R(Object(i),!0).forEach(function(n){(0,r.Z)(e,n,i[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):R(Object(i)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(i,n))})}return e}function G(e){var n=e.product,i=(0,c.useContext)(v.F).isDesktop,o=(0,c.useState)({}),g=o[0],N=o[1],C=(0,c.useState)({}),_=C[0],w=C[1],P=(0,c.useState)("left"),O=P[0],B=P[1],I=(0,c.useState)(!1),L=I[0],F=I[1],Z=(0,c.useMemo)(function(){return(0,u.cO)(null==n?void 0:n.id)},[null==n?void 0:n.id]),R=null!==(ei=null==Z?void 0:Z.id)&&void 0!==ei?ei:"",G=(0,c.useMemo)(function(){var e;return null!==(e=null==Z?void 0:Z.modifications)&&void 0!==e?e:[]},[Z]),D=(0,c.useMemo)(function(){var e;return null!==(e=G.find(function(e){return e.isHalvesGroup}))&&void 0!==e?e:null},[G]),T=(0,c.useMemo)(function(){return G.filter(function(e){return!e.isHalvesGroup})},[G]),W=(0,c.useMemo)(function(){var e;return null!==(e=null==D?void 0:D.children)&&void 0!==e?e:[]},[D]),J=(0,s.v9)(d.wl.stopListStateSelector,s.wU),Y=(0,c.useCallback)(function(e){var n=(0,j.hb)(J,e);return null!==n&&n<1},[J]),q=(0,c.useMemo)(function(){var e=new Set;return W.forEach(function(n){if(null==n.price){e.add(n.id);return}if(n.productId){var i=(0,u.cO)(n.productId);(null==i?void 0:i.available)===!1&&e.add(n.id)}Y(n)&&e.add(n.id)}),e},[W,Y]),V=(0,c.useMemo)(function(){var e=[];return Object.values(_).forEach(function(n){Array.isArray(n)?e.push.apply(e,(0,l.Z)(n)):n&&e.push(n)}),e},[_]),z=(0,c.useMemo)(function(){var e,n,i,t;return(null!==(e=null===(n=g.left)||void 0===n?void 0:n.price)&&void 0!==e?e:0)+(null!==(i=null===(t=g.right)||void 0===t?void 0:t.price)&&void 0!==i?i:0)+V.reduce(function(e,n){var i;return e+(null!==(i=n.price)&&void 0!==i?i:0)},0)},[g,V]),Q=(0,c.useMemo)(function(){return T.every(function(e){var n=_[e.id];if(e.isOneOfManyModification)return!!n;
1if(e.isManyOfManyModification){var i=Array.isArray(n)?n:[];return i.length>=e.minAmount&&i.length<=e.maxAmount}return!0})},[T,_]),X=!!g.left&&!!g.right&&Q;(0,c.useEffect)(function(){var e;null==n||!n.isHalvesConstructor||D&&null!==(e=D.children)&&void 0!==e&&e.length||(console.error("[HalvesCard] broken constructor",{productId:n.id}),p.su.closeProductCard())},[n,D]),(0,c.useEffect)(function(){if(n){var e={};T.forEach(function(n){if(n.isOneOfManyModification&&n.children&&n.children[0])e[n.id]=n.children[0];else if(n.isManyOfManyModification){var i,t=[];null===(i=n.children)||void 0===i||i.forEach(function(e){for(var n=0;n<(e.defaultAmount||0);n++)t.push(e)}),e[n.id]=t}}),w(e)}},[null==n?void 0:n.id,T.length]);var U=(0,c.useCallback)(function(e){B(e)},[]),K=(0,c.useCallback)(function(e){N(function(n){if((null===(i=n[O])||void 0===i?void 0:i.id)===e.id)return E(E({},n),{},(0,r.Z)({},O,void 0));var i,t=E(E({},n),{},(0,r.Z)({},O,e));return"left"!==O||t.right?"right"!==O||t.left||B("left"):B("right"),t})},[O]),$=(0,c.useCallback)(function(e,n){w(function(i){return E(E({},i),{},(0,r.Z)({},e,n))})},[]),ee=(0,c.useCallback)((0,t.Z)(a().mark(function e(){var t,r,o,c,s;return a().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!(!n||!R||!X)){e.next=2;break}return e.abrupt("return");case 2:if(t=g.left,r=g.right,o=[new h.wq(t),new h.wq(r)].concat((0,l.Z)(V.map(function(e){return new h.wq(e)}))),c=["".concat(t.name," / ").concat(r.name)].concat((0,l.Z)(V.map(function(e){return e.name}))).filter(Boolean).join(", "),!(null!==(s=(0,j.DQ)(J,{productId:n.id,selection:o.map(function(e){return{mod:e,amount:1}})}))&&s<1)){e.next=10;break}return(0,b.jC)(f.t.getTextStopListLimitReached(),4e3,i?void 0:"bottom-center"),e.abrupt("return");case 10:if(p.Ni.validateToAddProductToCart(n,R,[],o,c,!1,1)){e.next=14;break}return p.su.closeProductCard(),e.abrupt("return");case 14:return e.prev=14,F(!0),e.next=18,p.Ni.addProductsToCart([n],R,[],o,c,!1);case 18:p.yD.productCardAddProductClick(),p.su.closeProductCard(),e.next=26;break;case 22:throw e.prev=22,e.t0=e.catch(14),(0,b.jC)("Не удалось добавить товар"),e.t0;case 26:return e.prev=26,F(!1),e.finish(26);case 29:case"end":return e.stop()}},e,null,[[14,22,26,29]])})),[n,R,X,g,V,J,i]);if(!n||!n.isHalvesConstructor||!D||!(null!==(et=D.children)&&void 0!==et&&et.length))return null;var en=function(){return T.filter(function(e){var n;return e.isOneOfManyModification&&(null===(n=e.children)||void 0===n?void 0:n.length)}).map(function(e){var n,t=null===(n=_[e.id])||void 0===n?void 0:n.id;return(0,y.jsx)("div",{className:H().toggleGroup,children:(0,y.jsx)("div",{className:H().toggleRow,children:e.children.map(function(n){var r=t!==n.id&&Y(n);return(0,y.jsx)("button",{"aria-disabled":r||void 0,type:"button",className:"".concat(H().toggleBtn," ").concat(t===n.id?H().toggleBtnActive:""," ").concat(r?H().toggleBtnDisabled:""),onClick:function(){if(r){(0,b.jC)(f.t.getTextStopListLimitReached(),4e3,i?void 0:"bottom-center");return}$(e.id,n)},children:n.name},n.id)})})},e.id)})};if(i){var ei,et,er,el,eo="left"===O?g.right:g.left,ea=new Set(q);return eo&&ea.add(eo.id),(0,y.jsxs)("div",{className:H().desktop,children:[(0,y.jsxs)("div",{className:H().desktopLeft,children:[(0,y.jsx)("h3",{className:H().gridHeader,children:"left"===O?"Выберите левую половинку":"Выберите правую половинку"}),(0,y.jsx)(S,{items:W,selectedId:null===(el=g[O])||void 0===el?void 0:el.id,disabledIds:ea,variant:"inline",onPick:K})]}),(0,y.jsxs)("div",{className:H().desktopRight,children:[(0,y.jsxs)("div",{className:H().desktopRightContent,children:[(0,y.jsx)("div",{className:H().previewWrap,children:(0,y.jsx)(M,{left:g.left,right:g.right})}),(0,y.jsx)("h2",{className:H().title,children:"Выберите половинки"}),en(),(0,y.jsxs)("div",{className:H().slots,children:[(0,y.jsx)(A,{side:"left",selection:g.left,active:"left"===O,onClick:function(){return U("left")}}),(0,y.jsx)(A,{side:"right",selection:g.right,active:"right"===O,onClick:function(){return U("right")}})]})]}),(0,y.jsx)(k,{totalPrice:z,canAdd:X,loading:L,onAdd:ee})]})]})}var ec=new Set(q);g.left&&"left"!==O&&ec.add(g.left.id),g.right&&"right"!==O&&ec.add(g.right.id);var es=null===(er=g[O])||void 0===er?void 0:er.id,ed=new Set;g.left&&ed.add(g.left.id),g.right&&ed.add(g.right.id);var eu=function(){return p.su.closeProductCard()},em=function(e){N(function(n){return E(E({},n),{},(0,r.Z)({},e,void 0))}),B(e)};if(g.left&&g.right){var ev,ef,eh,ep,ex=g.left,eb=g.right,ej=(null!==(ev=ex.weight)&&void 0!==ev?ev:0)+(null!==(ef=eb.weight)&&void 0!==ef?ef:0),eg=T.find(function(e){var n;return e.isOneOfManyModification&&(null===(n=e.children)||void 0===n?void 0:n.length)}),eN=eg?_[eg.id]:void 0,ey=[ej>0?"".concat(ej," гр"):"",null!==(eh=null==eN?void 0:null===(ep=eN.name)||void 0===ep?void 0:ep.toLowerCase())&&void 0!==eh?eh:""].filter(
1Boolean);return(0,y.jsxs)("div",{className:H().mobile,children:[(0,y.jsxs)("header",{className:H().mobileHeader,children:[(0,y.jsx)("button",{type:"button",className:H().mobileBack,onClick:eu,"aria-label":"Назад",children:"←"}),(0,y.jsx)("h2",{className:H().mobileHeaderTitle,children:"Пицца из половинок"})]}),(0,y.jsxs)("div",{className:H().mobileSummaryBody,children:[(0,y.jsx)("div",{className:H().mobileSummaryPreview,children:(0,y.jsx)(M,{left:ex,right:eb})}),(0,y.jsxs)("h3",{className:H().mobileSummaryTitle,children:[ex.name," + ",eb.name]}),ey.length>0&&(0,y.jsx)("div",{className:H().mobileSummarySubtitle,children:ey.join(", ")}),en(),(0,y.jsxs)("div",{className:H().mobileSummaryHalfBlock,children:[(0,y.jsxs)("div",{className:H().mobileSummaryHalfHeader,children:[(0,y.jsx)("div",{className:H().mobileSummaryHalfName,children:ex.name}),(0,y.jsx)("button",{type:"button",className:H().mobileSummaryHalfClose,onClick:function(){return em("left")},"aria-label":"Убрать левую половинку",children:(0,y.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none","aria-hidden":"true",children:(0,y.jsx)("path",{d:"M19.6153 2.31963L17.6785 0.382812L9.99991 8.06138L2.32133 0.382812L0.384521 2.31963L8.06309 9.9982L0.384521 17.6768L2.32133 19.6136L9.99991 11.935L17.6785 19.6136L19.6153 17.6768L11.9367 9.9982L19.6153 2.31963Z",fill:"currentColor"})})})]}),ex.description&&(0,y.jsx)("div",{className:H().mobileSummaryHalfDescription,children:ex.description})]}),(0,y.jsxs)("div",{className:H().mobileSummaryHalfBlock,children:[(0,y.jsxs)("div",{className:H().mobileSummaryHalfHeader,children:[(0,y.jsx)("div",{className:H().mobileSummaryHalfName,children:eb.name}),(0,y.jsx)("button",{type:"button",className:H().mobileSummaryHalfClose,onClick:function(){return em("right")},"aria-label":"Убрать правую половинку",children:(0,y.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none","aria-hidden":"true",children:(0,y.jsx)("path",{d:"M19.6153 2.31963L17.6785 0.382812L9.99991 8.06138L2.32133 0.382812L0.384521 2.31963L8.06309 9.9982L0.384521 17.6768L2.32133 19.6136L9.99991 11.935L17.6785 19.6136L19.6153 17.6768L11.9367 9.9982L19.6153 2.31963Z",fill:"currentColor"})})})]}),eb.description&&(0,y.jsx)("div",{className:H().mobileSummaryHalfDescription,children:eb.description})]})]}),(0,y.jsx)("footer",{className:H().mobileSummaryFooter,children:(0,y.jsxs)(m.J,{className:H().mobileFooterButtonFull,disabled:!X||L,onClick:ee,children:["Добавить ",(0,x.xG)(z)]})})]})}return(0,y.jsxs)("div",{className:H().mobile,children:[(0,y.jsxs)("header",{className:H().mobileHeader,children:[(0,y.jsx)("button",{type:"button",className:H().mobileBack,onClick:eu,"aria-label":"Назад",children:"←"}),(0,y.jsx)("h2",{className:H().mobileHeaderTitle,children:"Выберите левую и правую половинки пицц"})]}),(0,y.jsxs)("div",{className:H().mobileBody,children:[(0,y.jsx)("div",{className:H().mobileSlotLabel,children:"left"===O?"Левая половинка":"Правая половинка"}),(0,y.jsx)(S,{items:W,selectedId:es,selectedIds:ed,disabledIds:ec,variant:"mobile",onPick:K})]}),(0,y.jsxs)("footer",{className:H().mobileFooter,children:[(0,y.jsx)("div",{className:H().mobileFooterInfo,children:g[O]?(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)("div",{className:H().mobileFooterName,children:g[O].name}),null!=g[O].price&&(0,y.jsx)("div",{className:H().mobileFooterPrice,children:(0,x.xG)(g[O].price)})]}):(0,y.jsxs)("div",{className:H().mobileFooterHint,children:["Выберите ","left"===O?"левую":"правую"," половинку"]})}),(0,y.jsxs)(m.J,{className:H().mobileFooterButton,disabled:!X||L,onClick:ee,children:["В корзину ",X?"\xb7 ".concat((0,x.xG)(z)):""]})]})]})}},63331:function(e,n,i){"use strict";i.r(n),i.d(n,{default:function(){return r}});var t=i(85893);function r(e){var n=e.className;return(0,t.jsx)("svg",{className:void 0===n?"":n,fill:"none",height:"13",viewBox:"0 0 2 13",width:"2",xmlns:"http://www.w3.org/2000/svg",children:(0,t.jsx)("path",{d:"M1 4.64286V13M1 0V1.85714",stroke:"white",strokeWidth:"2"})})}},64331:function(e){e.exports={desktopHost:"cbXpZG",leftColumn:"_5cQNWM",productImage:"_7mNl3G",rightColumn:"_6MnM_z",titleRow:"_1uFGBs",infoIcon:"b_1s_F",title:"_3C4aD7",description:"c2S6Ax",mobileHost:"_2yF_aQ",mobileImage:"_6f6Ro-",mobileContent:"bXo_q4"}},93026:function(e){e.exports={host:"_6fLXf2",breakdown:"_8GgOWB",breakdownRow:"cja0Xm",surchargePrice:"cY8FiJ",stopListWarning:"bb93oL",actions:"cJaUv5",countButton:"UTTDkS",addButton:"_47288n",addButtonText:"_6KGYt4",addButtonPrice:"aNu7CS",oldPrice:"_5pMLmE"}}
1,37942:function(e){e.exports={host:"_8IIwfo",slot:"d3_26H",active:"BDBPhy",unavailable:"_8_738D",soldOut:"_76ZAtQ",thumbnail:"d0npvA",info:"_2WVVAp",name:"_5KRrxH",description:"_9Tf2SD",surcharge:"_255mJq",replaceButton:"_5LYH4B",replaceButtonWarning:"_2zC5oZ",pulse:"_1aYD_6"}},57017:function(e){e.exports={host:"_3FmPTP",closeButton:"_2IZM79",grid:"fyFpWe",card:"_58NcJm",unavailable:"_43Q3er",selected:"_1RM72R",hovered:"_3DqjrX",imageWrapper:"_8VGfQH",image:"_16x1OB",name:"_7_2oYw",currentLabel:"_6w7XWF",soldOut:"_57AfrA",surcharge:"e8cuTE",replaceAction:"_51jKuZ",replaceButton:"_4Z2S-q"}},52482:function(e){e.exports={host:"_3D7zPv",summary:"_8u-x_E",summaryRow:"_6k0FVY",divider:"d5X-4G",stopListWarning:"_7EojlB",controls:"fPc3GS",counter:"_63K6MJ",addButton:"b-UEPc",addText:"bM8AuO",oldPrice:"_297Uzw",price:"b6daXj"}},74975:function(e){e.exports={host:"etzaCB",header:"_9VC0vC",backButton:"_6p38WT",title:"CJaMM9",grid:"_6nNweT",card:"_8TthuL",selected:"b_e02-",current:"daoRoA",unavailable:"_1cQ0D5",checkmark:"_1gpqui",imageWrapper:"f866co",image:"_1p0g9i",cardInfo:"_4qsntz",currentLabel:"dcCWLV",soldOut:"_3aOTFi",cardName:"e1LwGD",cardPrice:"_2QqBn1",confirmBar:"_6AZTrn",confirmButton:"fah138"}},90497:function(e){e.exports={card:"_7t298o",unavailable:"_65uR94",soldOut:"_8Hdse2",photo:"beJ1a3",info:"_1Eifmv",textBlock:"_4iEp1b",name:"fq0Lzs",description:"dQwM_n",surcharge:"_4pgsE3",replaceButton:"_2LBVg9",replaceButtonWarning:"etQGeR"}},29008:function(e){e.exports={host:"_3sg1wZ",imageContainer:"_1DW1KE",badge:"_7e-zqH",content:"epWNLi",titleRow:"fDJOkH",infoIcon:"bhYILM",title:"BBPPzc",description:"aMETyw",slots:"cMjMr3"}},84206:function(e){e.exports={desktop:"aVkn9Y",desktopLeft:"_1xcQxe",desktopRight:"euZdrO",desktopRightContent:"_2iSRAX",gridHeader:"_6E17m8",title:"fhQvi_",previewWrap:"_7fcR8r",slots:"fyPfWD",toggleGroup:"_65Ko6W",toggleRow:"aYY-tr",toggleBtn:"_96zZKf",toggleBtnActive:"_3oTzxM",mobile:"_86qqXX",mobileHeader:"_430ZmZ",mobileBack:"_9XstHH",mobileHeaderTitle:"dm153q",mobileBody:"fYXAzX",mobileSlotLabel:"_1hLmV6",mobileFooter:"dJpVBW",mobileFooterInfo:"fsJKYP",mobileFooterName:"csYpgx",mobileFooterPrice:"dotU4U",mobileFooterHint:"cIn5x-",mobileFooterButton:"Boj4tP",mobileFooterButtonFull:"_1VKTqI",mobileSummaryBody:"fdxx65",mobileSummaryFooter:"_8uP-_O",mobileSummaryPreview:"_2uCtH-",mobileSummaryTitle:"dBfzlN",mobileSummarySubtitle:"_42klQF",mobileSummaryHalfBlock:"_6yviPp",mobileSummaryHalfHeader:"_5ks17d",mobileSummaryHalfName:"_9iTPRy",mobileSummaryHalfClose:"_6RaMPD",mobileSummaryHalfDescription:"d-Fmbj",toggleBtnDisabled:"akyREf"}},56575:function(e){e.exports={footer:"_8u4e5C",price:"_31OQSk",button:"_7Iv_El"}},35439:function(e){e.exports={grid:"dMCU19","grid--inline":"cdsJee","grid--sheet":"ci6-Yn","grid--mobile":"_70p71m",item:"KxFEyn",selected:"bVjD4n",disabled:"fRdazr",name:"_5_6aSE",price:"_1gujdF",imageWrap:"_5kvugF",image:"_13V4Sa",imagePlaceholder:"a6thGU",disabledOverlay:"cViHOP",cta:"dL54Vs",ctaSelected:"_3SskFR","item--sheet":"_4iLvB0","item--mobile":"_2XveHp",closeBadge:"fJo8Mh"}},54524:function(e){e.exports={preview:"b2iMkZ"}},66130:function(e){e.exports={slot:"_9EGhQp",active:"_39FqEj",icon:"doTGiZ",thumb:"_3dJrzI",body:"_2o9ILU",placeholder:"_5Yp3ZI",name:"a0mp6W",price:"_7uA-F2"}}}]);

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.