PageSourceSearch

https://pizzeria-planeta.pl/js/menu-actions.js

js pizzeria-planeta.pl collected 2026-10-08 07:35:59 UTC 488 bytes, 14 lines download raw bytes

1import { getMenu, getConfig } from './config.js';
2import { openCustomizeModal, findMenuItemById, maybeShowUpsell } from './product-modal.js';
3
4export { findMenuItemById };
5
6export function handleAddToCartClick(itemId, selectedSize = null) {
7  const item = findMenuItemById(itemId);
8  if (!item || item.enabled === false) return;
9  openCustomizeModal(item, { initialSize: selectedSize || null });
10}
11
12export function handleOpenCartUpsell() {
13  maybeShowUpsell('open_cart');
14}

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.