PageSourceSearch

https://dinneruniverse.de/static/js/252.9681afca.chunk.js

js dinneruniverse.de collected 2026-10-09 23:38:01 UTC 2,260 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([[252],{10252(t,e,n){n.r(e),n.d(e,{default:()=>u,trackChatGptOrder:()=>d});var o=n(65043),r=n(45685);const c="du_oppref",a="du_oaiq_order_";let i=!1;function s(){return function(){try{var t;const e=localStorage.getItem("cookie_consent_v1");if(!e)return!1;const n=JSON.parse(e);return!(null===n||void 0===n||null===(t=n.choices)||void 0===t||!t.marketing)}catch(e){return!1}}()?(function(){try{if(new URLSearchParams(window.location.search).get("oppref"))return;const t=sessionStorage.getItem(c);if(!t)return;const e=new URL(window.location.href);e.searchParams.set("oppref",t),window.history.replaceState(window.history.state,"",e)}catch(t){}}(),function(){if(window.oaiq)return;const t=function(){t.q.push(arguments)};t.q=[],window.oaiq=t;const e=document.createElement("script");e.async=!0,e.src="https://bzrcdn.openai.com/sdk/oaiq.min.js";const n=document.getElementsByTagName("script")[0];n&&n.parentNode?n.parentNode.insertBefore(e,n):document.head.appendChild(e)}(),window.oaiq("consent",!0),i||(window.oaiq("init",{pixelId:"AUyrLnUP3tyYwAmYhYa9ea"}),i=!0),!0):("function"===typeof window.oaiq&&window.oaiq("consent",!1),!1)}function d(t){let{value:e,transactionId:n,currency:o="EUR",quantity:r=1,contentName:c}=t;try{if(!s())return;const t=String(n||"").trim();if(t)try{if(localStorage.getItem("".concat(a).concat(t)))return;localStorage.setItem("".concat(a).concat(t),"1")}catch(i){}const d=Number(e),u=Number.isFinite(d)?Math.round(100*d):0,w=Math.max(1,parseInt(r,10)||1),f={type:"contents",amount:u,currency:o};if(t){const e={id:t,content_type:"product",quantity:w};c&&(e.name=String(c)),f.contents=[e]}t?window.oaiq("measure","order_created",f,{event_id:t}):window.oaiq("measure","order_created",f)}catch(d){console.warn("ChatGPT Ads conversion tracking failed:",d)}}const u=()=>{const t=(0,r.zy)();return(0,o.useEffect)(()=>{!function(){try{const t=new URLSearchParams(window.location.search).get("oppref");t&&sessionStorage.setItem(c,t)}catch(t){}}(),s();const t=()=>s();return window.addEventListener("cookie-consent-changed",t),()=>window.removeEventListener("cookie-consent-changed",t)},[t.pathname,t.search]),null}}}]);
2//# sourceMappingURL=252.9681afca.chunk.js.map

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.