PageSourceSearch

https://instalguru.pl/_next/static/chunks/1108.29c601643069bfa43153.js

js instalguru.pl collected 2026-10-10 01:52:16 UTC 4,659 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1108],{81108:function(e,n,t){"use strict";t.r(n);var s=t(85893),i=t(67294),r=t(41664),o=t(39704),l=t(68662),a=t(65670),c=t.n(a),u=t(25675),h=c()().colors,d=function(){return(0,s.jsxs)("svg",{width:"20",height:"18",viewBox:"0 0 20 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("line",{x1:"0.75",y1:"1.25",x2:"19.25",y2:"1.25",stroke:h.primary,strokeWidth:"1.5",strokeLinecap:"round"}),(0,s.jsx)("line",{x1:"0.75",y1:"9.25",x2:"19.25",y2:"9.25",stroke:h.primary,strokeWidth:"1.5",strokeLinecap:"round"}),(0,s.jsx)("line",{x1:"0.75",y1:"17.25",x2:"19.25",y2:"17.25",stroke:h.primary,strokeWidth:"1.5",strokeLinecap:"round"})]})};n.default=function(){var e=(0,l.Z)().t,n=c()().links,t=(0,i.useRef)(null),a=(0,o.v9)((function(e){var n=e.basic;return{taxons:n.taxons,banners:n.banners}})),h=a.taxons,m=a.banners,x=(0,i.useState)(!1),j=x[0],f=x[1],p=(0,i.useState)(!1),_=p[0],k=p[1],w=(0,i.useState)(h),g=w[0],v=w[1],b=(0,i.useState)("Menu"),y=b[0],N=b[1],L=(0,i.useState)(!0),C=L[0],E=L[1],M=(0,i.useState)(null),W=M[0],B=M[1],S=(0,i.useMemo)((function(){var e=[];return h.forEach((function(n){e.push(n),n.children.length>0&&n.children.forEach((function(n){e.push(n),n.children.length>0&&n.children.forEach((function(n){e.push(n)}))}))})),e}),[]),F=function(){k(!1),f(!1),setTimeout((function(){v(h),N("Menu"),E(!0),B(null)}),300)},T=function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];k(!1),setTimeout((function(){var t=S.find((function(n){return n.id==e}));t?(v(t.children),N(t.name),E(n),B(t.parent_id)):(v(h),N("Menu"),E(!0),B(!1)),setTimeout((function(){k(!0)}),100)}),200)};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("button",{onClick:function(){f(!0),k(!0)},type:"button","aria-label":"menu",className:"btn-menu",id:"menu_mobile",children:[(0,s.jsx)(d,{}),(0,s.jsx)("span",{children:"Menu"})]}),j&&(0,s.jsx)("div",{className:"main_menu_mobile__overlay",onClick:F}),(0,s.jsxs)("nav",{ref:t,className:"main_menu_mobile ".concat(_?"open":""),children:[(0,s.jsxs)("div",{className:"menu__header",children:[!C&&(0,s.jsx)("button",{type:"button",className:"menu__header__back",onClick:function(){return T(W,!1)},children:(0,s.jsx)("svg",{width:"8",height:"14",viewBox:"0 0 8 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{d:"M7 1L0.999999 7L7 13",stroke:"#0C212D",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})}),(0,s.jsx)("p",{children:y}),(0,s.jsx)("button",{"aria-label":"Close menu",type:"button",onClick:F,className:"menu__close",children:(0,s.jsxs)("svg",{width:"26",height:"26",viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("circle",{cx:"13",cy:"13",r:"13",fill:"white"}),(0,s.jsx)("path",{d:"M7.76514 7.58325L18.4164 18.2345",stroke:"#495962",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M7.5835 18.4166L18.4168 7.58325",stroke:"#495962",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})})]}),(0,s.jsxs)("div",{className:"menu__scroll",children:[C&&(0,s.jsx)("div",{className:"menu__title",children:(0,s.jsx)("p",{children:e("browseCategories")})}),(0,s.jsx)("ul",{className:"menu__categories",children:g.filter((function(e){return e.show_in_mega_menu})).map((function(e){return(0,s.jsxs)("li",{className:"item",children:[(0,s.jsx)(r.default,{href:"/".concat(n.shop,"/k/").concat(e.id,"-").concat(e.slug),children:(0,s.jsxs)("a",{className:"item__link",children:[!e.parent_id&&!!e.icon&&(0,s.jsx)("div",{className:"item__icon",children:(0,s.jsx)(u.default,{unoptimized:!0,layout:"fixed",src:e.icon,alt:e.name,width:"30",height:"30",objectFit:"contain"})}),(0,s.jsx)("span",{className:"item__name",children:e.name})]})}),e.children.length>0&&(0,s.jsx)("button",{type:"button",className:"btn-subcategory","aria-label":e.name,onClick:function(){return T(e.id,!1)},children:(0,s.jsxs)("svg",{width:"24",height:"25",viewBox:"0 0 24 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("rect",{x:"0.5",y:"0.737061",width:"23",height:"23",rx:"2.5",fill:"#FAFBFC",stroke:"#E5EBEE"}),(0,s.jsx)("path",{d:"M9.5 18.2371L15.5 12.2371L9.5 6.23706",stroke:"#0C212D",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})})]},e.id)}))}),C&&(0,s.jsx)("ul",{className:"menu__bottom",children:m.map((function(e){var n=e.url,t=e.id,i=e.name;return(0,s.jsx)("li",{children:(0,s.jsx)(r.default,{href:n,children:(0,s.jsx)("a",{children:i})})},t)}))})]}),(0,s.jsx)(r.default,{href:"/".concat(n.shop),children:(0,s.jsx)("a",{className:"menu__see-all",children:e("seeAll")})})]})]})}}}]);

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.