PageSourceSearch

https://otomato.xyz/_next/static/chunks/app/layout-8af8f12f7d4e7ef5.js

js otomato.xyz collected 2026-10-02 15:29:00 UTC 6,636 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3185],{8807:function(e,t,r){Promise.resolve().then(r.t.bind(r,500,23)),Promise.resolve().then(r.t.bind(r,6767,23)),Promise.resolve().then(r.t.bind(r,2778,23)),Promise.resolve().then(r.bind(r,8133)),Promise.resolve().then(r.bind(r,7024)),Promise.resolve().then(r.bind(r,5991)),Promise.resolve().then(r.bind(r,2060)),Promise.resolve().then(r.bind(r,571))},8133:function(e,t,r){"use strict";r.d(t,{default:function(){return s}});var n=r(7437),a=r(8667),o=r(2265);function s(){let e="G-9X11EGP7N5",t="AW-18160435832";return(0,o.useEffect)(()=>{},[]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(a.default,{id:"google-tag-manager-script",src:"https://www.googletagmanager.com/gtag/js?id=".concat(e),strategy:"afterInteractive"}),(0,n.jsx)(a.default,{id:"google-analytics-script",strategy:"afterInteractive",children:"\n          window.dataLayer = window.dataLayer || [];\n          function gtag(){dataLayer.push(arguments);}\n          gtag('js', new Date());\n          gtag('config', '".concat(e,"');\n          ").concat(t?"gtag('config', '".concat(t,"');"):"","\n        ")})]})}},7024:function(e,t,r){"use strict";r.d(t,{default:function(){return i}});var n=r(7437),a=r(2265),o=r(9503);let s="otomato_download_badge_dismissed";function i(){let[e,t]=(0,a.useState)(!0);return((0,a.useEffect)(()=>{try{t("1"===sessionStorage.getItem(s))}catch(e){t(!1)}},[]),e)?null:(0,n.jsx)("div",{className:"fixed bottom-6 right-6 z-40 hidden lg:block",children:(0,n.jsxs)("div",{className:"relative flex flex-col items-center gap-2.5 rounded-2xl bg-[#0B0B0F] p-3.5 shadow-2xl ring-1 ring-white/10",children:[(0,n.jsx)("button",{type:"button",onClick:()=>{t(!0);try{sessionStorage.setItem(s,"1")}catch(e){}},"aria-label":"Dismiss",className:"absolute -right-2 -top-2 flex h-5 w-5 items-center justify-center rounded-full bg-white/15 text-[11px] leading-none text-white/80 backdrop-blur transition-colors hover:bg-white/25",children:"\xd7"}),(0,n.jsx)("p",{className:"max-w-[120px] text-center text-[10px] font-semibold uppercase leading-tight tracking-wide text-white/90",children:"Download the Otomato app"}),(0,n.jsxs)("a",{href:"https://otomato.xyz/get?utm_source=qr-landing-badge",target:"_blank",rel:"noopener noreferrer",onClick:()=>(0,o.PB)("/get?utm_source=qr-landing-badge"),className:"relative block rounded-lg bg-white p-2 transition-transform hover:scale-[1.02]",children:[(0,n.jsx)("img",{src:"/qr-download.svg",alt:"Scan to download the Otomato app",width:112,height:112,loading:"lazy",decoding:"async",className:"h-28 w-28"}),(0,n.jsx)("span",{className:"absolute left-1/2 top-1/2 flex h-7 w-7 -translate-x-1/2 -translate-y-1/2 items-center justify-center rounded-md bg-white",children:(0,n.jsx)("img",{src:"/favicon-96x96.png",alt:"","aria-hidden":"true",width:24,height:24,loading:"lazy",decoding:"async",className:"h-6 w-6"})})]})]})})}},5991:function(e,t,r){"use strict";r.d(t,{default:function(){return a}});var n=r(2265);function a(){return(0,n.useEffect)(()=>{"scrollRestoration"in history&&(history.scrollRestoration="manual"),window.scrollTo(0,0);let e=()=>{let e=.01*window.innerHeight;document.documentElement.style.setProperty("--vh","".concat(e,"px"))};e();let t=()=>{setTimeout(e,100)};return window.addEventListener("orientationchange",t),()=>{window.removeEventListener("orientationchange",t)}},[]),null}},2060:function(e,t,r){"use strict";r.d(t,{ThemeProvider:function(){return s}});var n=r(7437),a=r(2265);let o=(0,a.createContext)(void 0);function s(e){let{children:t}=e,[r,s]=(0,a.useState)("dark"),[i,l]=(0,a.useState)(!1);return((0,a.useEffect)(()=>
1{l(!0);let e=localStorage.getItem("theme");e?s(e):window.matchMedia("(prefers-color-scheme: light)").matches&&s("light")},[]),(0,a.useEffect)(()=>{if(!i)return;let e=document.documentElement;"dark"===r?(e.classList.add("dark"),e.classList.remove("light")):(e.classList.add("light"),e.classList.remove("dark")),localStorage.setItem("theme",r)},[r,i]),i)?(0,n.jsx)(o.Provider,{value:{theme:r,toggleTheme:()=>{s(e=>"dark"===e?"light":"dark")}},children:t}):(0,n.jsx)("div",{className:"bg-[#111315]",children:t})}},571:function(e,t,r){"use strict";r.d(t,{UTMProvider:function(){return d}});var n=r(7437),a=r(9503),o=r(5969),s=r(9376),i=r(2265);let l=(0,i.createContext)(null),c=e=>{let{onUTMUpdate:t}=e,r=(0,s.useSearchParams)(),n=(0,s.usePathname)();return(0,i.useEffect)(()=>{let e=(0,o.pp)(r);Object.keys(e).length>0?(t(e),(0,a.jY)()):t({})},[r,n,t]),null},u=e=>{let{children:t,enableAutoDetection:r=!0}=e,[a,s]=(0,i.useState)({}),[u,d]=(0,i.useState)(!0);(0,i.useEffect)(()=>{let e=setTimeout(()=>{try{let e=(0,o.Al)();s(e)}catch(e){console.error("Error initializing UTM tracking:",e)}finally{d(!1)}},100);return()=>clearTimeout(e)},[]),(0,i.useEffect)(()=>{let e=()=>{try{let e=(0,o.a8)();s(e)}catch(e){console.error("Error updating UTM params on URL change:",e)}};return window.addEventListener("popstate",e),()=>window.removeEventListener("popstate",e)},[]);let m=(0,i.useRef)({});m.current=a;let g=(0,i.useCallback)(e=>{try{let t={...m.current,...e};s(t),(0,o.a5)(e)}catch(e){console.error("Error updating UTM parameters:",e)}},[]),h=(0,i.useCallback)(()=>{try{s({}),localStorage.removeItem("otomato_utm_params")}catch(e){console.error("Error clearing UTM parameters:",e)}},[]),f=Object.keys(a).length>0,p=(0,i.useCallback)(e=>{g(e)},[g]);return(0,n.jsxs)(l.Provider,{value:{isLoading:u,utmParams:a,hasUTMParams:f,updateUTMParams:g,clearUTMParams:h},children:[t,r&&(0,n.jsx)(i.Suspense,{fallback:null,children:(0,n.jsx)(c,{onUTMUpdate:p})})]})},d=e=>{let{children:t,enableAutoDetection:r=!0}=e;return(0,n.jsx)(u,{enableAutoDetection:r,children:t})}},5969:function(e,t,r){"use strict";r.d(t,{Al:function(){return l},a5:function(){return o},a8:function(){return i},pp:function(){return a},yk:function(){return c}});let n="otomato_utm_params",a=e=>{let t={},r=e.get("utm_source"),n=e.get("utm_medium"),a=e.get("utm_campaign"),o=e.get("utm_term"),s=e.get("utm_content");return r&&(t.utm_source=r),n&&(t.utm_medium=n),a&&(t.utm_campaign=a),o&&(t.utm_term=o),s&&(t.utm_content=s),t},o=e=>{try{let t={...s(),...e};localStorage.setItem(n,JSON.stringify(t))}catch(e){console.error("Failed to store UTM params:",e)}},s=()=>{try{let e=localStorage.getItem(n);return e?JSON.parse(e):{}}catch(e){return console.error("Failed to get stored UTM params:",e),{}}},i=()=>{let e=a(new URLSearchParams(window.location.search));return Object.keys(e).length>0?(o(e),e):s()},l=()=>i(),c=(e,t)=>t?e+t:e},2778:function(){}},function(e){e.O(0,[2368,2461,5878,5901,9503,2971,2117,1744],function(){return e(e.s=8807)}),_N_E=e.O()}]);

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.