PageSourceSearch

https://www.starbucks.ch/_next/static/chunks/9928-b7e8a01c7115368a.js

js starbucks.ch collected 2026-10-02 03:16:43 UTC 5,211 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9928],{39928:(e,t,n)=>{n.d(t,{BF:()=>O,dB:()=>d,AH:()=>q,R1:()=>i,Mj:()=>S,p0:()=>P,NE:()=>h,ML:()=>o,aq:()=>C,pq:()=>j,Ub:()=>p,JO:()=>m,P1:()=>v,UH:()=>w.U,gE:()=>b,Q8:()=>c,u5:()=>M,wY:()=>l,v2:()=>k,eY:()=>x,iK:()=>E,nb:()=>g});var r=n(95155),u=n(12115);function i(e){return null!==e&&"object"==typeof e&&"current"in e?e.current:e}function c(e){let t=(0,u.useRef)(e);return t.current=e,t}function l(e,t,n){let r=c(t);(0,u.useEffect)(()=>{let u=i(e);if(null===u||void 0===t)return;let c=new ResizeObserver((...e)=>{r.current?.(...e)});return c.observe(u,n),()=>{c.disconnect()}},[e,...Object.values(n??{})])}function o(e,t,n,r){let l=c(n);(0,u.useEffect)(()=>{let n=i(e);function u(e){l.current?.(e)}return n?.addEventListener(t,u,r),()=>{n?.removeEventListener(t,u,r)}},[l,r,e,t])}(0,u.forwardRef)((e,t)=>(({children:e,minFontSize:t,maxFontSize:n,axis:i,style:c},o)=>{let[a,s]=(0,u.useState)(null),f=(0,u.useCallback)(()=>{o.current&&function(e,t=13,n,r){let u;if(n&&t>n)throw TypeError("minFontSize is greater than maxFontSize");if(null===e.parentElement)throw TypeError("Parent element is null");let i=t,c=n??Math.max(e.parentElement.clientWidth,e.parentElement.clientHeight);for(;i<=c;){let t=Math.floor((i+c)/2);e.style.fontSize=`${t}px`;let{width:n,height:l}=e.getBoundingClientRect(),{width:o,height:a}=e.parentElement.getBoundingClientRect(),s="y"!==r&&n>o,f="x"!==r&&l>a;s||f?c=t-1:(u=t,i=t+1)}e.style.fontSize=`${u}px`}(o.current,t,n,i)},[i,n,t,o]);return(0,u.useEffect)(()=>{o.current&&(s(o.current.parentElement),f(),o.current.style.visibility="visible")},[o,f]),l(a,f),(0,r.jsx)("div",{ref:o,style:{whiteSpace:"nowrap",inlineSize:"max-content",blockSize:"max-content",visibility:"hidden",...c},children:e})})(e,(0,u.useMemo)(()=>null!=t&&"current"in t?t:new Proxy((0,u.createRef)(),{set:(e,n,r)=>"current"===n&&(e.current=r,t?.(r),!0)}),[t])));var a=n(15622);let s=new Map,f=0,d=(0,a.A)(function(e,t){return n=>{null===e.current&&(e.current=[]),e.current[t]=n,null===n&&function(e){for(;e.length>0&&null===e.at(-1);)e.pop()}(e.current)}},(e,t)=>(s.has(e)||s.set(e,++f),`${s.get(e)}_${t}`));function m(e){(0,u.useEffect)(()=>{e()},[])}function h(e,t){let[n,r]=(0,u.useState)(t);return m(()=>{r(e)}),n}function y(e){if(!("u"<typeof matchMedia))return matchMedia(e.startsWith("--")?getComputedStyle(document.body).getPropertyValue(e):e)}function p(e,t=!1){let[n,r]=(0,u.useState)(()=>y(e)),[i,c]=(0,u.useState)(t);return(0,u.useEffect)(()=>{let t=y(e);r(t),c(t?.matches)},[t,n?.matches,e]),o(n,"change",e=>{e instanceof MediaQueryListEvent&&c(e.matches)}),i??t}function v(e,t,n){let r=(0,u.useMemo)(()=>n,[JSON.stringify(n)]),l=c(t);(0,u.useEffect)(()=>{let t=i(e);if(null===t)return;let n=new MutationObserver((e,t)=>{l.current?.(e,t)});return n.observe(t,r),()=>{n.disconnect()}},[l,r,e])}var w=n(88890);function E(e){let t=c(e);(0,u.useEffect)(()=>()=>{t.current?.()},[t])}function b(e){let t=c(e),n=(0,u.useRef)(0);return E(()=>{cancelAnimationFrame(n.current)}),(0,u.useCallback)(()=>(cancelAnimationFrame(n.current),n.current=requestAnimationFrame(e=>{t.current?.(e)}),n.current),[t])}function M(e){let t=(0,u.useRef)(e??{});return(0,u.useMemo)(()=>new Proxy(t.current,{get:(e,t)=>(void 0!==e[t]||(e[t]=(0,u.createRef)()),e[t])}),[])}function S(e){let t={};for(let n in e)Object.hasOwn(e,n)&&(t[n]=e[n].current);return t}function g(e){let t=S(e);return Object.values(t).every(e=>null!=e)?[!0,t]:[!1,void 0]}function k(e){let[t]=(0,u.useState)(e);return t}function x(e){let[t,n]=(0,u.useState)(e);return[t,(0,u.useCallback)(e=>{n(t=>void 0===e?!t:e)},[n])]}function C(){let e=(0,u.useRef)(!1);return(0,u.useEffect)(()=>{let t=!1;return queueMicrotask(()=>{t||(e.current=!0)}),()=>{t=!0,e.current=!1}},[]),e}let R=(0,u.createContext)(void 0);function P(e){let t=(0,u.useContext)(R),n=c(e);void 0===t&&console.warn("Component is not rendered in the context of a TransitionPresence"),(0,u.useEffect)(()=>(queueMicrotask(()=>{t?.add(n)}),()=>{t?.delete(n)}),[t,n])}function O({children:e,onPreviousChildrenUnmounting:t,onPreviousChildrenUnmounted:n,onChildrenMounted:i}){let l,o,a=(0,u.useMemo)(()=>new Set,[]),[s,f]=(0,u.useState)(e),d=c(t),m=c(n),h=c(i),y=(0,u.useCallback)(async e=>{let t=[];for(let n of a)t.push(n.current?.(e));await Promise.all(t)},[a]);return(0,u.useEffect)(()=>
1{if(e===s||(null!==e&&"type"in e&&e.type)===(null!==s&&"type"in s&&s.type)&&(null!==e&&"key"in e&&e.key)===(null!==s&&"key"in s&&s.key)&&1)return void f(e);let t=new AbortController;return(async()=>{d.current?.(s,e),await y(t.signal),f(null),await q(),m.current?.(s,e),f(e),await q(),h.current?.(s,e)})(),()=>{t.abort()}},[a,y,e,h,m,d,s]),l=(0,u.useContext)(R),o=c(y),(0,u.useEffect)(()=>(queueMicrotask(()=>{l?.add(o)}),()=>{l?.delete(o)}),[l,o]),(0,r.jsx)(R.Provider,{value:a,children:s})}function j(){let[e,t]=(0,u.useState)(!1);return m(()=>{queueMicrotask(()=>{t(!0)})}),e}function q(e=0){return new Promise(t=>{setTimeout(t,e)})}},88890:(e,t,n)=>{n.d(t,{U:()=>u});var r=n(12115);function u(e){return(0,r.useMemo)(()=>null!=e&&"current"in e?e:new Proxy((0,r.createRef)(),{set:(t,n,r)=>"current"===n&&(t.current=r,e?.(r),!0)}),[e])}}}]);

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.