PageSourceSearch

https://maspex.com/_next/static/chunks/4219-2143bcc4886e3298.js

js maspex.com collected 2026-10-02 06:02:03 UTC 13,239 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4219],{3937:e=>{e.exports={icon:"icon_icon__C6WKV"}},14387:(e,t,l)=>{"use strict";l.d(t,{I:()=>a,p:()=>r});let a=e=>{if(!e)return console.log("No session expiration time provided"),0;let t="string"==typeof e?new Date(e):e,l=new Date;return Math.max(0,Math.floor((t.getTime()-l.getTime())/1e3))},r=e=>{let t=Math.floor(e/60);return"".concat(t.toString().padStart(2,"0"),":").concat((e%60).toString().padStart(2,"0"))}},18939:(e,t,l)=>{"use strict";l.d(t,{c:()=>a});var a=function(e){return e.HOMEPAGE="homepage",e.PAGE="page",e.NEWS="article",e.BRAND="brand",e.PROJECT="project",e.PRESS="press",e.JOB="erecruiteroffer",e.PRODUCT="product",e.PRODUCT_LINE="productline",e.ANNOUNCEMENT="announcement",e.INQUIRY="inquiry",e.DOCUMENT="document",e}({})},20285:(e,t,l)=>{"use strict";function a(e){let t={};if("object"==typeof e&&null!==e)for(let[l,a]of Object.entries(e))null!=a&&""!==a&&(t[l]=a);return t}l.d(t,{A:()=>a})},26541:(e,t,l)=>{"use strict";l.d(t,{D:()=>s,b:()=>n});var a=l(84497),r=l(34939);let n={NEWS:"/news/[slug]",BRAND:"/brand/[slug]",PRODUCT_LINE:"/brand/line/[slug]",OTHER_PRODUCTS:"/brand/[slug]/other-products",PRODUCT:"/product/[slug]",JOB:"/job/[slug]",PROJECT:"/project/[slug]",PRESS:"/press/[slug]",INQUIRY:"/inquiry/[slug]",ANNOUNCEMENT:"/announcement/[slug]",DOCUMENT:"/document/[slug]"},s=(0,a.A)({locales:r.Yj,defaultLocale:r.Nm,localeDetection:!1,localePrefix:"as-needed",pathnames:{[n.DOCUMENT]:{pl:"/dokument/[slug]",ru:"/document/[slug]"},[n.NEWS]:{pl:"/aktualnosci/[slug]",ru:"/новости/[slug]"},[n.BRAND]:{pl:"/marki/[slug]",ru:"/бренды/[slug]"},[n.PRODUCT_LINE]:{pl:"/marki/linie/[slug]",ru:"/бренды/Линии/[slug]"},[n.OTHER_PRODUCTS]:{pl:"/marki/[slug]/pozostale-produkty",ru:"/бренды/[slug]/остальные-продукты"},[n.PRODUCT]:{pl:"/produkt/[slug]",ru:"/продукт/[slug]"},[n.JOB]:{pl:"/oferta-pracy/[slug]",ru:"/предложение-о-работе/[slug]"},[n.PROJECT]:{pl:"/projekt/[slug]",ru:"/европейские/[slug]"},[n.PRESS]:{pl:"/prasa/[slug]",ru:"/нажмите/[slug]"},[n.INQUIRY]:{pl:"/zapytanie-ofertowe/[slug]",ru:"/запрос-предложение/[slug]"},[n.ANNOUNCEMENT]:{pl:"/ogloszenie/[slug]",ru:"/объявление/[slug]"}}})},30079:e=>{e.exports={field:"field_field__o60Br",label:"field_label__u_Q5m",fieldForm:"field_fieldForm__CsWgO",control:"field_control__6GRu_",description:"field_description__hXyhf"}},34663:(e,t,l)=>{"use strict";l.d(t,{EJ:()=>g,Hm:()=>d,N_:()=>o,a8:()=>c,nm:()=>p,rd:()=>u});var a=l(55251),r=l(34939),n=l(18939),s=l(26541);let{Link:o,redirect:i,usePathname:c,useRouter:u,getPathname:d}=(0,a.A)(s.D),p=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],{contentType:l,locale:a,type:o}=(null==e?void 0:e.link)||e||{},{url:i}=(null==e?void 0:e.link)||e||{};if(!i)return{pathname:"/"};let c={pathname:"/"};if("external"===o)return i||"";let[u,p]=i.split("?");switch(i=u,p&&(c.query=p),null==l?void 0:l.toLowerCase()){case n.c.HOMEPAGE:case n.c.PAGE:let g=r.Yj.find(e=>i.startsWith("/".concat(e)));g?c.pathname=i.substring(g.length+1):c.pathname=i;break;case n.c.DOCUMENT:c.pathname=s.b.DOCUMENT,c.params={slug:i};break;case n.c.NEWS:c.pathname=s.b.NEWS,c.params={slug:i};break;case n.c.PRESS:c.pathname=s.b.PRESS,c.params={slug:i};break;case n.c.PROJECT:c.pathname=s.b.PROJECT,c.params={slug:i};break;case n.c.BRAND:c.pathname=s.b.BRAND,c.params={slug:i};break;case n.c.PRODUCT:c.pathname=s.b.PRODUCT,c.params={slug:i};break;case n.c.JOB:c.pathname=s.b.JOB,c.params={slug:i};break;case n.c.ANNOUNCEMENT:c.pathname=s.b.ANNOUNCEMENT,c.params={slug:i};break;case n.c.INQUIRY:c.pathname=s.b.INQUIRY,c.params={slug:i};break;case n.c.PRODUCT_LINE:c.pathname=s.b.PRODUCT_LINE,c.params={slug:i};break;default:c.pathname=i}if(t){let e=d({locale:a||"pl",href:c}),t=e.startsWith("/")?e:"/".concat(e);return"".concat("https://maspex.com").concat(t)}return c},g=e=>{let{size:t,style:l,icon:a,link:r}=e,{type:n}=r||{},s={label:null==r?void 0:r.label};return"external"===n&&(s.target="_blank",s.rel="noopener noreferrer nofollow"),{...s,size:t,style:l,icon:a}}},34939:(e,t,l)=>{"use strict";l.d(t,{Nm:()=>r,Yj:()=>a});let a=["pl","en"],r="pl"},48387:(e,t,l)=>{"use strict";l.d(t,{B_:()=>n,G6:()=>u,I3:()=>o,O0:()=>r,ZH:()=>a,oZ:()=>i,v7:()=>s,w0:()=>c});let a=e=>e&&String(e[0]).toUpperCase()+String(e).slice(1),r=e=>{let[t]=e,l=null,a=e.find(e=>null==e?void 0:e.filename.toLowerCase().endsWith(".png"));return a&&(t=a),(null==t?void 0:t.photoUrl)&&(null==t?void 0:t.photoWidth)&&(null==t?void 0:t.photoHeight)&&(l={url:t.photoUrl,width:t.photoWidth,height:t.photoHeight}),l},n=e=>{let t=parseInt((e=e.replace("#","")).substring(0,2),16),l=parseInt(e.substring(2,4),16);return(299*t+587*l+114*parseInt(e.substring(4,6),16))/1e3>=140?"black":"white"},s=e=>{if(null==e||isNaN(e)||0===e)return"0 B";if(e<1){let t=1024*e;return t<1024?"".concat(Math.round(t)," B"):"".concat(e.toFixed(1)," KB")}let t=Math.floor(Math.log(e)/Math.log(1024));return"".concat((e/Math.pow(1024,t)).toFixed(1)," ").concat(["B","KB","MB","GB"][t])},o=e=>{var t;return({doc:"file-data",docx:"file-data",txt:"file-data",pdf:"file-data",rtf:"file-data",ppt:"file-presentation",pptx:"file-presentation",xls:"file-chart",xlsx:"file-chart",csv:"file-chart",jpg:"file-image",jpeg:"file-image",png:"file-image",gif:"file-image",svg:"file-image",webp:"file-image",zip:"file-dir",rar:"file-dir","7z":"file-dir",tar:"file-dir",gz:"file-dir"})[(null==(t=e.split(".").pop())?void 0:t.toLowerCase())||""]||"file-dir"},i=e=>{if(null==e)return 0;if("number"==typeof e)return isNaN(e)?0:e;
1let t=parseFloat(e.toString().replace(/[^0-9.-]/g,""));return isNaN(t)?0:t},c=e=>{if(!e)return null;let t=i(e);if(0===t)return null;let l=e.toString(),a=l.match(/[\d.,]+/);if(a&&void 0!==a.index){let e=l.substring(0,a.index),r=l.substring(a.index+a[0].length);return{prefix:e,number:t,suffix:r,hasTextFormat:e.length>0||r.length>0}}return null},u=e=>e.toLowerCase().replace(/[^\w\s-]/g,"").replace(/\s+/g,"-").replace(/-+/g,"-").trim()},52641:e=>{e.exports={logo:"logo_logo__XHirw",logoText:"logo_logoText__vw3dw",logoIcon:"logo_logoIcon__IwyFY"}},70158:(e,t,l)=>{"use strict";l.d(t,{Ay:()=>o});var a=l(95155),r=l(2821),n=l(3937),s=l.n(n);function o(e){let{name:t,size:l,className:n=""}=e,o=(0,r.A)(s().icon,n),i={"--icon-size":Number(l)>0?"".concat(l,"px"):l};return(0,a.jsx)("svg",{className:o,style:i,viewBox:"0 0 24 24",role:"presentation","aria-hidden":!0,children:(0,a.jsx)("use",{href:"/icons.svg?v=1.2#ico-".concat(t),width:"24",height:"24"})})}},76421:(e,t,l)=>{"use strict";l.d(t,{p:()=>r});class a{async makeRequest(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},l="".concat(this.baseUrl).concat(e),a=await fetch(l,{headers:{"Content-Type":"application/json",...t.headers},...t});if(!a.ok){let e=await a.text();throw Error("Scanner API error: ".concat(a.status," ").concat(a.statusText," - ").concat(e))}return a.json()}async createSession(){return this.makeRequest("/create",{method:"POST",body:JSON.stringify({})})}async activateSession(e){return this.makeRequest("/activate/".concat(e),{method:"POST"})}async updateEAN(e,t){return this.makeRequest("/update-ean",{method:"POST",body:JSON.stringify({sessionId:e,ean:t})})}async getSession(e){return this.makeRequest("/check/".concat(e))}async searchProductByEAN(e,t){return this.makeRequest("/get-product",{method:"POST",body:JSON.stringify({locale:t,ean:e})})}constructor(e="/api/scanner"){this.baseUrl="",this.baseUrl=e}}let r=new a},76930:(e,t,l)=>{"use strict";l.d(t,{A:()=>r});var a=l(95155);function r(e){let{...t}=e;return(0,a.jsx)("input",{...t})}l(12115)},82803:(e,t,l)=>{"use strict";l.d(t,{A:()=>n});var a=l(12115);let r=(0,a.forwardRef)((e,t)=>{let{tagName:l,children:r,...n}=e;return a.createElement(l,{...n,ref:t},r)});r.displayName="Tag";let n=r},85510:(e,t,l)=>{"use strict";l.d(t,{A:()=>o});var a=l(95155),r=l(2821),n=l(52641),s=l.n(n);function o(e){let t=(0,r.A)(s().logo,null==e?void 0:e.className);return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",className:t,viewBox:"0 0 953 201",fillRule:"evenodd",strokeLinejoin:"round",children:[(0,a.jsx)("title",{children:"Maspex"}),(0,a.jsx)("path",{className:s().logoText,fillRule:"nonzero",d:"M866.91 124.124c-3.466-2.608-6.384-5.122-8.864-7.558-7.512-7.374-10.994-14.018-13.504-20.326-2.734-1.898-8.53-5.628-12.838-6.82-12.186 2.654-25.262 5.76-35.028 7.982 3.948-2.758 31.018-21.9 35.226-24.956l-19.446-31.11-.122.102-80.344.012-101.062.014v33.668c-4.518-7.692-10.102-14.678-15.728-19.364-16.3-13.584-30.062-15.21-48.194-15.462-17.876-.244-73.56-.37-73.56-.37l-.276 88.146c-6.186-13.804-19.906-22.102-42.28-27.388-23.184-5.37-34.792-5.37-34.792-14.39 0-7.504 8.81-12.008 25.56-12.008 12.456 0 15.378 1.164 32.326 7.178V41.328c-18.278-3.684-23.094-3.98-40.91-3.98-50.048 0-76.03 19.538-76.03 51.976 0 25.118 14.622 40.146 44.678 47.026 22.542 5.148 36.268 5.148 36.268 15.236 0 7.51-8.142 11.608-24.036 11.608-14.66 0-31.91-2.988-50.72-9.53l-39.362-112.2H242.28L198.3 166.31V41.464h-80.824l-19.964 89.504L77.12 41.464H-.004V196.91h49.822V87.166L71.98 196.91h48.07l25.436-111.514V196.91H247.22l9.456-33.716h50.252l10.078 33.716h59.23c13.912 2.664 28.01 4.068 41.984 4.068 40.834 0 65.69-10.772 74.814-31.72l-.088 27.652h58.56v-33.072h29.874c23.18 0 39.862-11.846 49.548-26.85v59.922H801.73l27.476-50.32 28.152 50.32h64.678l-40.764-63.032c-4.554-2.736-9.278-5.934-14.362-9.754m-602.518 2.128 17.598-52.188 17.646 52.188h-35.244Zm292.802 1.744h-5.688V77.078h5.688c18.5 0 28.058 11.76 28.058 27.66 0 16.3-9.558 23.258-28.058 23.258m204.34 31.536h-73.696V136.35h72.38v-36.296h-72.38V78.582h58.106V42.634l43.306 73.736-27.716 43.162Z"}),(0,a.jsx)("path",{className:s().logoIcon,fillRule:"nonzero",d:"M951.73-.002c-26.8 17.804-61.716 55.436-67.816 65.634-.286.478-.452 1.04-.616 1.592-2.094-3.278-3.986-6.096-5.386-8.042-5.586-7.756-7.514-8.462-19.022-9.086-12.722-.692-22.034 6.988-30.546 17.852-1.818 2.092-3.468 3.938-4.892 5.528-11.588 9.866-24.454 21.03-26.782 23.926 18.47-10.482 29.422-15.216 41.708-20.206 2.662.212 4.884.626 7.406 1.432 2.382.758 4.522 1.592 6.918 2.802 2.28 8.15 6.918 23.332 22.478 33.974 23.1 15.782 41.39 19.74 67.19 24.28-8.07-11.046-17.412-25.604-27.126-38.204 4.92
1-6.074 10.476-13.892 16.046-24.102-8.96 2.776-19.234 5.65-32.76 9.312 10.032-5.906 21.828-13.022 37.84-20.694 4.344-8.08 7.636-16.41 10.442-25.322-9.728 5.564-25.878 14.126-55.094 33.654 11.7-10.86 31.616-28.076 59.006-49.342 1.54-8.536 2.03-16.978 1.006-24.988"})]})}},91188:(e,t,l)=>{"use strict";l.d(t,{A:()=>u});var a=l(95155),r=l(2821),n=l(70158),s=l(82803),o=l(48387),i=l(96895),c=l.n(i);function u(e){let{is:t="a",style:l="button",icon:i="none",color:u="primary",hollow:d=!1,size:p="default",label:g,className:h,children:m,...f}=e,b="none"!==i,_=(0,r.A)(c().btn,{[c().styleButton]:"button"===l,[c().styleLink]:"link"===l,[c()["styleIcon".concat((0,o.ZH)(i))]]:b,[c()["styleSize".concat((0,o.ZH)(p))]]:p&&"default"!==p,[c()["style".concat((0,o.ZH)(u))]]:u,[c().styleHollow]:d},h);return(0,a.jsxs)(s.A,{tagName:t,className:_,...f,children:[b?(0,a.jsx)("span",{children:g||m}):g||m,b&&(0,a.jsx)(n.Ay,{className:c().icon,name:"arrow-right"})]})}},96158:(e,t,l)=>{"use strict";l.d(t,{A:()=>c});var a=l(95155),r=l(2821);l(12115);var n=l(82803),s=l(20285),o=l(30079),i=l.n(o);function c(e){let{id:t,style:l="default",label:o,description:c,required:u=!1,className:d,type:p,children:g}=e,h=!["checkbox","checkbox-group","radio"].includes(p||""),m=(0,s.A)({tagName:h?"label":"span",htmlFor:h?t:void 0});return(0,a.jsxs)("div",{className:(0,r.A)(i().field,{[i().fieldForm]:"form"===l},d),children:[o&&"checkbox"!=p&&(0,a.jsxs)(n.A,{...m,className:i().label,children:[o,u?"*":""]}),(0,a.jsx)("div",{className:i().control,children:g}),c&&(0,a.jsx)("span",{className:i().description,id:"".concat(t,"-description"),children:c})]})}},96895:e=>{e.exports={btn:"button_btn__4vjlW",styleButton:"button_styleButton__SPENE",styleLink:"button_styleLink__EDI_t",styleSizeTiny:"button_styleSizeTiny__kwcRv",styleSizeSmall:"button_styleSizeSmall__6WPZq",styleSizeLarge:"button_styleSizeLarge__8e_nF",stylePrimary:"button_stylePrimary__2SFrw",styleSecondary:"button_styleSecondary__hKwuo",styleLight:"button_styleLight__gYip_",styleHollow:"button_styleHollow__cuLxQ",styleIconAfter:"button_styleIconAfter__ezXpU",styleIconBefore:"button_styleIconBefore__b3y1u"}},98707:(e,t,l)=>{"use strict";l.d(t,{X:()=>a});let a=()=>{let e=navigator.userAgent,t=/ipad/i.test(e)||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1,l=navigator.maxTouchPoints>0,a=window.innerWidth>=768,r=/android/i.test(e)&&!/mobile/i.test(e);return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|rim)|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(e)||/(tablet|ipad|playbook|silk|android(?!.*mobile)|sm-t\d+|sm-x\d+[a-z]?|galaxy tab|tab s\d{1,2}|tab a\d+|tab e\d+|tab pro|surface|kindle fire|nexus 7|nexus 9|nexus 10|pixel c|pixel slate)/i.test(e)||t||l&&a||r}}}]);

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.