1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3490],{91725:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/[country]/[language]/qrcode",function(){return n(235)}])},18562:function(e,t,n){"use strict";var r=n(85893),o=n(67294),i=n(66435);t.Z=function(){var e,t=(0,i.SJ)().nav,n=(0,o.useState)(""),c=(n[0],n[1],(0,o.useState)(""));c[0],c[1];return(null===t||void 0===t?void 0:t.footer)?(0,r.jsx)(r.Fragment,{children:(0,r.jsx)("div",{className:"checkout-cart-footer",children:(0,r.jsx)("div",{className:"container",children:(0,r.jsx)("div",{className:"row d-flex justify-content-center align-items-center footer-poweredby-cont",children:(0,r.jsx)("div",{className:"col-12 col-lg-6",children:(0,r.jsx)("span",{dangerouslySetInnerHTML:{__html:null===t||void 0===t||null===(e=t.footer)||void 0===e?void 0:e.powered}})})})})})}):(0,r.jsx)(r.Fragment,{})}},31611:function(e,t,n){"use strict";var r=n(85893),o=n(41664),i=n.n(o),c=n(11163),s=n(55120),a=n(66435);t.Z=function(e){var t,n,o=e.backButtonActive,l=void 0===o||o,u=e.isCheckout,d=void 0!==u&&u,h=e.setModalModalLeaveCategory,f=void 0===h?function(){}:h,m=(0,c.useRouter)(),g=(0,a.SJ)().nav;return(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("div",{className:"login-header-logo-cont",children:[(0,r.jsx)("div",{className:"landing-header-logo-background"}),(0,r.jsxs)("div",{className:"login-header-main",children:[l&&(0,r.jsx)("div",{className:"login-header-back-btn",onClick:function(){return m.back()},children:(0,r.jsx)("i",{className:"fas fa-chevron-left"})}),d?(0,r.jsx)(r.Fragment,{children:(0,r.jsx)("a",{onClick:function(){f(!0)},style:{cursor:"pointer"},children:(0,r.jsx)("div",{className:"landing-header-logo",children:(0,r.jsx)(s.Z,{src:decodeURIComponent(null===g||void 0===g||null===(t=g.header)||void 0===t?void 0:t.logo_svg),alt:"logo",width:1800,height:1800,priority:!0,objectFit:"contain"})})})}):(0,r.jsx)(r.Fragment,{children:(0,r.jsx)(i(),{href:"/",children:(0,r.jsx)("a",{children:(0,r.jsx)("div",{className:"landing-header-logo",children:(0,r.jsx)(s.Z,{src:decodeURIComponent(null===g||void 0===g||null===(n=g.header)||void 0===n?void 0:n.logo_svg),alt:"logo",width:1800,height:1800,priority:!0,objectFit:"contain"})})})})})]})]})})}},55120:function(e,t,n){"use strict";var r=n(26042),o=n(69396),i=n(85893),c=n(67294),s=n(25675),a=n.n(s);t.Z=function(e){e.nowidthcheck;var t=(0,c.useState)(!1),n=t[0],s=t[1],l="".concat("https://cdn.cofetariazoomserie.ro/","image/no_image.png");return(0,c.useEffect)((function(){s(!1)}),[e]),n||!e.src?(0,i.jsx)(a(),(0,o.Z)((0,r.Z)({alt:"image"},e),{src:l})):(0,i.jsx)(i.Fragment,{children:(0,i.jsx)(a(),(0,o.Z)((0,r.Z)({alt:"image"},e),{onError:function(){s(!0)},onLoadingComplete:function(e){},objectFit:"".concat(e.objectFit?e.objectFit:"scale-down"),layout:"".concat(e.layout?e.layout:"intrinsic"),placeholder:"empty",blurDataURL:"".concat("https://cdn.cofetariazoomserie.ro/","image/no_image.png"),unoptimized:!0}))})}},17435:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(67294),o=n(61646);function i(e){var t=e.session_token;(0,r.useEffect)((function(){t&&o.Z.setSessionToken(t)}),[t])}},235:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return J},default:function(){return G}});var r=n(85893),o=n(67294),i=n(9008),c=n.n(i),s=n(55120);const a=(()=>{let e=0;return()=>(e+=1,`u${`0000${(Math.random()*36**4<<0).toString(36)}`.slice(-4)}${e}`)})();function l(e){const t=[];for(let n=0,r=e.length;n<r;n++)t.push(e[n]);return t}function u(e,t){const n=(e.ownerDocument.defaultView||window).getComputedStyle(e).getPropertyValue(t);return n?parseFloat(n.replace("px","")):0}function d(e,t={}){return{width:t.width||function(e){const t=u(e,"border-left-width"),n=u(e,"border-right-width");return e.clientWidth+t+n}(e),height:t.height||function(e){const t=u(e,"border-top-width"),n=u(e,"border-bottom-width");return e.clientHeight+t+n}(e)}}const h=16384;function f(e){return new Promise(((t,n)=>{const r=new Image;r.decode=()=>t(r),r.onload=()=>t(r),r.onerror=n,r.crossOrigin="anonymous",r.decoding="async",r.src=e}))}async function m(e,t,n){const r="http://www.w3.org/2000/svg",o=document.createElementNS(r,"svg"),i=document.createElementNS(r,"foreignObject");return o.setAttribute("width",`${t}`),o.setAttribute("height",`${n}`),o.setAttribute("viewBox",`0 0 ${t} ${n}`),i.setAttribute("width","100%"),i.setAttribute("height","100%"),i.setAttribute("x","0"),i.setAttribute("y","0"),i.setAttribute("externalResourcesRequired","true"),o.appendChild(i),i.appendChild(e),async function(e){return Promise.resolve().then((()=>(new XMLSerializer).serializeToString(e))).then(encodeURIComponent).then((e=>`data:image/svg+xml;charset=utf-8,${e}`))}(o)}const g=(e,t)=>{if(e instanceof t)return!0;const n=Object.getPrototypeOf(e);return null!==n&&(n.constructor.name===t.name||g(n,t))};function p(e,t,n){const r=`.${e}:${t}`,o=n.cssText?function(e){const t=e.getPropertyValue("content");return`${e.cssText} content: '${t.replace(/'|"/g,"")}';`}(n):function(e){return l(e).map((t=>`${t}: ${e.getPropertyValue(t)}${e.getPropertyPriority(t)?" !important":""};`)).join(" ")}(n);return document.createTextNode(`${r}{${o}}`)}function w(e,t,n){const r=window.getComputedStyle(e,n),o=r.getPropertyValue("content");
1if(""===o||"none"===o)return;const i=a();try{t.className=`${t.className} ${i}`}catch(s){return}const c=document.createElement("style");c.appendChild(p(i,n,r)),t.appendChild(c)}const y="application/font-woff",x="image/jpeg",v={woff:y,woff2:y,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:x,jpeg:x,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function b(e){const t=function(e){const t=/\.([^./]*?)$/g.exec(e);return t?t[1]:""}(e).toLowerCase();return v[t]||""}function j(e){return-1!==e.search(/^(data:)/)}function S(e,t){return`data:${t};base64,${e}`}async function E(e,t,n){const r=await fetch(e,t);if(404===r.status)throw new Error(`Resource "${r.url}" not found`);const o=await r.blob();return new Promise(((e,t)=>{const i=new FileReader;i.onerror=t,i.onloadend=()=>{try{e(n({res:r,result:i.result}))}catch(o){t(o)}},i.readAsDataURL(o)}))}const N={};async function C(e,t,n){const r=function(e,t,n){let r=e.replace(/\?.*/,"");return n&&(r=e),/ttf|otf|eot|woff2?/i.test(r)&&(r=r.replace(/.*\//,"")),t?`[${t}]${r}`:r}(e,t,n.includeQueryParams);if(null!=N[r])return N[r];let o;n.cacheBust&&(e+=(/\?/.test(e)?"&":"?")+(new Date).getTime());try{const r=await E(e,n.fetchRequestInit,(({res:e,result:n})=>(t||(t=e.headers.get("Content-Type")||""),function(e){return e.split(/,/)[1]}(n))));o=S(r,t)}catch(i){o=n.imagePlaceholder||"";let t=`Failed to fetch resource: ${e}`;i&&(t="string"===typeof i?i:i.message),t&&console.warn(t)}return N[r]=o,o}async function _(e,t){return g(e,HTMLCanvasElement)?async function(e){const t=e.toDataURL();return"data:,"===t?e.cloneNode(!1):f(t)}(e):g(e,HTMLVideoElement)?async function(e,t){if(e.currentSrc){const t=document.createElement("canvas"),n=t.getContext("2d");return t.width=e.clientWidth,t.height=e.clientHeight,null===n||void 0===n||n.drawImage(e,0,0,t.width,t.height),f(t.toDataURL())}const n=e.poster,r=b(n);return f(await C(n,r,t))}(e,t):g(e,HTMLIFrameElement)?async function(e){var t;try{if(null===(t=null===e||void 0===e?void 0:e.contentDocument)||void 0===t?void 0:t.body)return await R(e.contentDocument.body,{},!0)}catch(n){}return e.cloneNode(!1)}(e):e.cloneNode(!1)}function $(e,t){return g(t,Element)&&(function(e,t){const n=t.style;if(!n)return;const r=window.getComputedStyle(e);r.cssText?(n.cssText=r.cssText,n.transformOrigin=r.transformOrigin):l(r).forEach((o=>{let i=r.getPropertyValue(o);if("font-size"===o&&i.endsWith("px")){const e=Math.floor(parseFloat(i.substring(0,i.length-2)))-.1;i=`${e}px`}g(e,HTMLIFrameElement)&&"display"===o&&"inline"===i&&(i="block"),"d"===o&&t.getAttribute("d")&&(i=`path(${t.getAttribute("d")})`),n.setProperty(o,i,r.getPropertyPriority(o))}))}(e,t),function(e,t){w(e,t,":before"),w(e,t,":after")}(e,t),function(e,t){g(e,HTMLTextAreaElement)&&(t.innerHTML=e.value),g(e,HTMLInputElement)&&t.setAttribute("value",e.value)}(e,t),function(e,t){if(g(e,HTMLSelectElement)){const n=t,r=Array.from(n.children).find((t=>e.value===t.getAttribute("value")));r&&r.setAttribute("selected","")}}(e,t)),t}async function R(e,t,n){return n||!t.filter||t.filter(e)?Promise.resolve(e).then((e=>_(e,t))).then((n=>async function(e,t,n){var r,o;let i=[];var c;return i=null!=(c=e).tagName&&"SLOT"===c.tagName.toUpperCase()&&e.assignedNodes?l(e.assignedNodes()):g(e,HTMLIFrameElement)&&(null===(r=e.contentDocument)||void 0===r?void 0:r.body)?l(e.contentDocument.body.childNodes):l((null!==(o=e.shadowRoot)&&void 0!==o?o:e).childNodes),0===i.length||g(e,HTMLVideoElement)||await i.reduce(((e,r)=>e.then((()=>R(r,n))).then((e=>{e&&t.appendChild(e)}))),Promise.resolve()),t}(e,n,t))).then((t=>$(e,t))).then((e=>async function(e,t){const n=e.querySelectorAll?e.querySelectorAll("use"):[];if(0===n.length)return e;const r={};for(let i=0;i<n.length;i++){const o=n[i].getAttribute("xlink:href");if(o){const n=e.querySelector(o),i=document.querySelector(o);n||!i||r[o]||(r[o]=await R(i,t,!0))}}const o=Object.values(r);if(o.length){const t="http://www.w3.org/1999/xhtml",n=document.createElementNS(t,"svg");n.setAttribute("xmlns",t),n.style.position="absolute",n.style.width="0",n.style.height="0",n.style.overflow="hidden",n.style.display="none";const r=document.createElementNS(t,"defs");n.appendChild(r);for(let e=0;e<o.length;e++)r.appendChild(o[e]);e.appendChild(n)}return e}(e,t))):null}const k=/url\((['"]?)([^'"]+?)\1\)/g,P=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,T=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;async function L(e,t,n,r,o){try{const i=n?function(e,t){if(e.match(/^[a-z]+:\/\//i))return e;if(e.match(/^\/\//))return window.location.protocol+e;if(e.match(/^[a-z]+:/i))return e;const n=document.implementation.createHTMLDocument(),r=n.createElement("base"),o=n.createElement("a");return n.head.appendChild(r),n.body.appendChild(o),t&&(r.href=t),o.href=e,o.href}(t,n):t,c=b(t);let s;if(o){s=S(await o(i),c)}else s=await C(i,c,r);return e.replace(function(e){const t=e.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp(`(url\\(['"]?)(${t})(['"]?\\))`,"g")}(t),`$1${s}$3`)}catch(i){}return e}function F(e){return-1!==e.search(k)}async function I(e,t,n){if(!F(e))return e;const r=function(e,{preferredFontFormat:t}){return t?e.replace(T,(e=>{for(;;){const[n,,r]=P.exec(e)||[];if(!r)return"";if(r===t)return`src: ${n};`}})):e}(e,n),o=function(e){const t=[];return e.replace(k,((e,n,r)=>(t.push(r),e))),t.filter((e=>!j(e)))}(r);return o.reduce(((e,r)=>e.then((e=>L(e,r,t,n)))),Promise.resolve(r))}async function A(e,t,n){var r;const o=null===(r=t.style)||void 0===r?void 0:r.getPropertyValue(e);if(o){const r=await I(o,null,n);return t.style.setProperty(e,r,t.style.getPropertyPriority(e)),!0}return!1}async function M(e,t){g(e,Element)&&(await async function(e,t){await A("background",e,t)||await A("background-image",e,t),await A("mask",e,t)||await A("mask-image",e,t)}(e,t),await async function(e,t){const n=g(e,HTMLImageElement);if((!n||j(e.src))&&(!g(e,SVGImageElement)||j(e.href.baseVal)))return;const r=n?e.src:e.href.baseVal,o=await C(r,b(r),t);await new Promise(((t,r)=>{e.onload=t,e.onerror=r;const i=e;i.decode&&(i.decode=t),"lazy"===i.loading&&(i.loading="eager"),n?(e.srcset="",e.src=o):e.href.baseVal=o}))}(e,t),await async function(e,t){const n=l(e.childNodes).map((e=>M(e,t)));await Promise.all(n).then((()=>e))}(e,t))}const q={};async function H(e){let t=q[e];
1if(null!=t)return t;const n=await fetch(e);return t={url:e,cssText:await n.text()},q[e]=t,t}async function Z(e,t){let n=e.cssText;const r=/url\(["']?([^"')]+)["']?\)/g,o=(n.match(/url\([^)]+\)/g)||[]).map((async o=>{let i=o.replace(r,"$1");return i.startsWith("https://")||(i=new URL(i,e.url).href),E(i,t.fetchRequestInit,(({result:e})=>(n=n.replace(o,`url(${e})`),[o,e])))}));return Promise.all(o).then((()=>n))}function D(e){if(null==e)return[];const t=[];let n=e.replace(/(\/\*[\s\S]*?\*\/)/gi,"");const r=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");for(;;){const e=r.exec(n);if(null===e)break;t.push(e[0])}n=n.replace(r,"");const o=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,i=new RegExp("((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})","gi");for(;;){let e=o.exec(n);if(null===e){if(e=i.exec(n),null===e)break;o.lastIndex=i.lastIndex}else i.lastIndex=o.lastIndex;t.push(e[0])}return t}async function V(e,t){if(null==e.ownerDocument)throw new Error("Provided element is not within a Document");const n=l(e.ownerDocument.styleSheets),r=await async function(e,t){const n=[],r=[];return e.forEach((n=>{if("cssRules"in n)try{l(n.cssRules||[]).forEach(((e,o)=>{if(e.type===CSSRule.IMPORT_RULE){let i=o+1;const c=H(e.href).then((e=>Z(e,t))).then((e=>D(e).forEach((e=>{try{n.insertRule(e,e.startsWith("@import")?i+=1:n.cssRules.length)}catch(t){console.error("Error inserting rule from remote css",{rule:e,error:t})}}
1)))).catch((e=>{console.error("Error loading remote css",e.toString())}));r.push(c)}}))}catch(o){const i=e.find((e=>null==e.href))||document.styleSheets[0];null!=n.href&&r.push(H(n.href).then((e=>Z(e,t))).then((e=>D(e).forEach((e=>{i.insertRule(e,n.cssRules.length)})))).catch((e=>{console.error("Error loading remote stylesheet",e)}))),console.error("Error inlining remote css file",o)}})),Promise.all(r).then((()=>(e.forEach((e=>{if("cssRules"in e)try{l(e.cssRules||[]).forEach((e=>{n.push(e)}))}catch(t){console.error(`Error while reading CSS rules from ${e.href}`,t)}})),n)))}(n,t);return function(e){return e.filter((e=>e.type===CSSRule.FONT_FACE_RULE)).filter((e=>F(e.style.getPropertyValue("src"))))}(r)}async function O(e,t){const n=null!=t.fontEmbedCSS?t.fontEmbedCSS:t.skipFonts?null:await async function(e,t){const n=await V(e,t);return(await Promise.all(n.map((e=>{const n=e.parentStyleSheet?e.parentStyleSheet.href:null;return I(e.cssText,n,t)})))).join("\n")}(e,t);if(n){const t=document.createElement("style"),r=document.createTextNode(n);t.appendChild(r),e.firstChild?e.insertBefore(t,e.firstChild):e.appendChild(t)}}async function U(e,t={}){const{width:n,height:r}=d(e,t),o=await R(e,t,!0);await O(o,t),await M(o,t),function(e,t){const{style:n}=e;t.backgroundColor&&(n.backgroundColor=t.backgroundColor),t.width&&(n.width=`${t.width}px`),t.height&&(n.height=`${t.height}px`);const r=t.style;null!=r&&Object.keys(r).forEach((e=>{n[e]=r[e]}))}(o,t);return await m(o,n,r)}async function z(e,t={}){const{width:n,height:r}=d(e,t),o=await U(e,t),i=await f(o),c=document.createElement("canvas"),s=c.getContext("2d"),a=t.pixelRatio||function(){let e,t;try{t=process}catch(r){}const n=t&&t.env?t.env.devicePixelRatio:null;return n&&(e=parseInt(n,10),Number.isNaN(e)&&(e=1)),e||window.devicePixelRatio||1}(),l=t.canvasWidth||n,u=t.canvasHeight||r;return c.width=l*a,c.height=u*a,t.skipAutoScale||function(e){(e.width>h||e.height>h)&&(e.width>h&&e.height>h?e.width>e.height?(e.height*=h/e.width,e.width=h):(e.width*=h/e.height,e.height=h):e.width>h?(e.height*=h/e.width,e.width=h):(e.width*=h/e.height,e.height=h))}(c),c.style.width=`${l}`,c.style.height=`${u}`,t.backgroundColor&&(s.fillStyle=t.backgroundColor,s.fillRect(0,0,c.width,c.height)),s.drawImage(i,0,0,c.width,c.height),c}var W=n(31611),B=n(18562),X=n(17435);var J=!0,G=function(e){var t=e.qrcode,n=e.session_token;(0,X.Z)({session_token:n});var i=(0,o.useRef)(null),a=(0,o.useCallback)((function(){null!==i.current&&async function(e,t={}){return(await z(e,t)).toDataURL()}(i.current,{cacheBust:!0}).then((function(e){var t=document.createElement("a");t.download="qrcode-menu.png",t.href=e,t.click()})).catch((function(e){}))}),[i]);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(c(),{children:[(0,r.jsx)("title",{children:t.texts.text_meta_title}),(0,r.jsx)("meta",{name:"qr-code",content:"Zoomserie"}),(0,r.jsx)("meta",{name:"robots",content:"noindex, nofollow"})]}),(0,r.jsx)(W.Z,{}),(0,r.jsxs)("main",{id:"content",children:[(0,r.jsx)("div",{className:"qrcode-image-center-cont",children:(0,r.jsx)("div",{ref:i,className:"qrcode-image-main-cont",children:(0,r.jsxs)("div",{className:"qrcode-image-nfo-cont",children:[(0,r.jsx)("div",{className:"qrcode-image-text-normal",dangerouslySetInnerHTML:{__html:t.texts.text_title_1}}),(0,r.jsx)("div",{className:"qrcode-image-text-big",dangerouslySetInnerHTML:{__html:t.texts.text_title_2}}),(0,r.jsx)("div",{className:"qrcode-image-text-normal",dangerouslySetInnerHTML:{__html:t.texts.text_title_3}}),(0,r.jsx)("div",{className:"qrcode-image-code-cont",children:(0,r.jsx)("div",{className:"qrcode-main-image",children:(0,r.jsx)(s.Z,{src:decodeURIComponent(t.qrcode_image),alt:"category",width:1800,height:1800,priority:!0,objectFit:"contain"})})})]})})}),(0,r.jsx)("div",{className:"container",children:(0,r.jsx)("div",{className:"row",children:(0,r.jsx)("div",{className:"col-12",children:(0,r.jsx)("div",{className:"mb-4 d-flex align-items-center justify-content-center",children:(0,r.jsx)("div",{className:"login-page-main-btn",onClick:a,children:t.texts.button_download})})})})})]}),(0,r.jsx)("div",{className:"main-footer-cont",children:(0,r.jsx)(B.Z,{})})]})}}},function(e){e.O(0,[3996,5675,9774,2888,179],(function(){return t=91725,e(e.s=t);var t}));var t=e.O();_N_E=t}]);
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.