Skip to content

Instantly share code, notes, and snippets.

This file has been truncated, but you can view the full file.
// Kompleksowa obsługa hamburger menu z poprawną kontrolą stanu
$(document).ready(function() {
// Dodaj krótkie opóźnienie, aby DOM w pełni się załadował
setTimeout(function() {
// 1. Reset - usuń wszystkie poprzednie handlery zdarzeń
$('.header__hamburger').off();
$('.menu').off();
$(document).off('click.menuHandler');
// 2. Ustaw początkowy stan
// --------------------------------------------------------------------------------
// ANIMATIONS SECTION
// --------------------------------------------------------------------------------
function i(s){if(s||0===s){v&&(a.history.scrollRestoration="manual");var r=f&&f.isPressed;s=i.v=Math.round(s)||(f&&f.iOS?1:0),t(s),i.cacheID=y.cache,r&&w("ss",s)}else(e||y.cache!==i.cacheID||w("ref"))&&(i.cacheID=y.cache,i.v=t());return i.v+i.offset}
function t(){return ei(eF,"scrollEnd",t)||eT(!0)}
function t(e,i){!0===i?e.style.removeProperty("touch-action"):e.style.touchAction=!0===i?"auto":i?"pan-"+i+(V.isTouch?" pinch-zoom":""):"none",e===j&&t(U,i)}
/*! @license DOMPurify 2.3.8 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.3.8/LICENSE */
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).DOMPurify=t()}(this,(function(){"use strict";function e(t){return(e="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})(t)}function t(e,n){return(t=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,n)}function n(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function r(e,o,a){return(r