PageSourceSearch

https://ibotta.com/corporate-assets/_next/static/chunks/1.cbf815e90aede709.js

js ibotta.com collected 2026-09-24 08:34:40 UTC 15,097 bytes, 43 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1],{51167:function(e,t,i){i.d(t,{zM:function(){return c}});let n=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting","waitingforkey","resize","enterpictureinpicture","leavepictureinpicture","webkitbeginfullscreen","webkitendfullscreen","webkitpresentationmodechanged"],a=["autopictureinpicture","disablepictureinpicture","disableremoteplayback","autoplay","controls","controlslist","crossorigin","loop","muted","playsinline","poster","preload","src"];function r(e){return`
2    <style>
3      :host {
4        display: inline-flex;
5        line-height: 0;
6        flex-direction: column;
7        justify-content: end;
8      }
9
10      audio {
11        width: 100%;
12      }
13    </style>
14    <slot name="media">
15      <audio${d(e)}></audio>
16    </slot>
17    <slot></slot>
18  `}function s(e){return`
19    <style>
20      :host {
21        display: inline-block;
22        line-height: 0;
23      }
24
25      video {
26        max-width: 100%;
27        max-height: 100%;
28        min-width: 100%;
29        min-height: 100%;
30        object-fit: var(--media-object-fit, contain);
31        object-position: var(--media-object-position, 50% 50%);
32      }
33
34      video::-webkit-media-text-track-container {
35        transform: var(--media-webkit-text-track-transform);
36        transition: var(--media-webkit-text-track-transition);
37      }
38    </style>
39    <slot name="media">
40      <video${d(e)}></video>
41    </slot>
42    <slot></slot>
43  `}function o(e,{tag:t,is:i}){let o=globalThis.document?.createElement?.(t,{is:i}),d=o?function(e){let t=[];for(let i=Object.getPrototypeOf(e);i&&i!==HTMLElement.prototype;i=Object.getPrototypeOf(i)){let e=Object.getOwnPropertyNames(i);t.push(...e)}return t}(o):[];return class c extends e{static getTemplateHTML=t.endsWith("audio")?r:s;static shadowRootOptions={mode:"open"};static Events=n;static #e=!1;static get observedAttributes(){return c.#t(),[...o?.constructor?.observedAttributes??[],...a]}static #t(){if(this.#e)return;this.#e=!0;let e=new Set(this.observedAttributes);for(let t of(e.delete("muted"),d))if(!(t in this.prototype)){if("function"==typeof o[t])this.prototype[t]=function(...e){return this.#i(),(()=>{if(this.call)return this.call(t,...e);let i=this.nativeEl?.[t];return i?.apply(this.nativeEl,e)})()};else{let i={get(){this.#i();let i=t.toLowerCase();if(e.has(i)){let e=this.getAttribute(i);return null!==e&&(""===e||e)}return this.get?.(t)??this.nativeEl?.[t]}};t!==t.toUpperCase()&&(i.set=function(i){this.#i();let n=t.toLowerCase();if(e.has(n)){!0===i||!1===i||null==i?this.toggleAttribute(n,!!i):this.setAttribute(n,i);return}if(this.set){this.set(t,i);return}this.nativeEl&&(this.nativeEl[t]=i)}),Object.defineProperty(this.prototype,t,i)}}}#n=!1;#a=null;#r=new Map;#s;get;set;call;get nativeEl(){return this.#i(),this.#a??this.querySelector(":scope > [slot=media]")??this.querySelector(t)??this.shadowRoot?.querySelector(t)??null}set nativeEl(e){this.#a=e}get defaultMuted(){return this.hasAttribute("muted")}set defaultMuted(e){this.toggleAttribute("muted",e)}get src(){return this.getAttribute("src")}set src(e){this.setAttribute("src",`${e}`)}get preload(){return this.getAttribute("preload")??this.nativeEl?.preload}set preload(e){this.setAttribute("preload",`${e}`)}#i(){this.#n||(this.#n=!0,this.init())}init(){if(!this.shadowRoot){this.attachShadow({mode:"open"});let e=function(e){let t={};for(let i of e)t[i.name]=i.value;return t}(this.attributes);i&&(e.is=i),t&&(e.part=t),this.shadowRoot.innerHTML=this.constructor.getTemplateHTML(e)}for(let e of(this.nativeEl.muted=this.hasAttribute("muted"),d))this.#o(e);for(let e of(this.#s=new MutationObserver(this.#d.bind(this)),this.shadowRoot.addEventListener("slotchange",()=>this.#c()),this.#c(),this.constructor.Events))this.shadowRoot.addEventListener(e,this,!0)}handleEvent(e){e.target===this.nativeEl&&this.dispatchEvent(new CustomEvent(e.type,{detail:e.detail}))}#c(){let e=new Map(this.#r),t=this.shadowRoot?.querySelector("slot:not([name])");(t?.assignedElements({flatten:!0}).filter(e=>
43["track","source"].includes(e.localName))).forEach(t=>{e.delete(t);let i=this.#r.get(t);i||(i=t.cloneNode(),this.#r.set(t,i),this.#s?.observe(t,{attributes:!0})),this.nativeEl?.append(i),this.#l(i)}),e.forEach((e,t)=>{e.remove(),this.#r.delete(t)})}#d(e){for(let t of e)if("attributes"===t.type){let{target:e,attributeName:i}=t,n=this.#r.get(e);n&&i&&(n.setAttribute(i,e.getAttribute(i)??""),this.#l(n))}}#l(e){e&&"track"===e.localName&&e.default&&("chapters"===e.kind||"metadata"===e.kind)&&"disabled"===e.track.mode&&(e.track.mode="hidden")}#o(e){if(Object.prototype.hasOwnProperty.call(this,e)){let t=this[e];delete this[e],this[e]=t}}attributeChangedCallback(e,t,i){this.#i(),this.#h(e,t,i)}#h(e,t,i){["id","class"].includes(e)||!c.observedAttributes.includes(e)&&this.constructor.observedAttributes.includes(e)||(null===i?this.nativeEl?.removeAttribute(e):this.nativeEl?.getAttribute(e)!==i&&this.nativeEl?.setAttribute(e,i))}connectedCallback(){this.#i()}}}function d(e){let t="";for(let i in e){if(!a.includes(i))continue;let n=e[i];""===n?t+=` ${i}`:t+=` ${i}="${n}"`}return t}let c=o(globalThis.HTMLElement??class{},{tag:"video"});o(globalThis.HTMLElement??class{},{tag:"audio"})},72886:function(e,t,i){i.d(t,{lK:function(){return T}});class n extends Event{track;constructor(e,t){super(e),this.track=t.track}}let a=new WeakMap;function r(e){var t;let i;return a.get(e)??(t={},(i=a.get(e))||a.set(e,i={}),Object.assign(i,t))}function s(e,t){let i=e.videoTracks;r(t).media=e,r(t).renditionSet||(r(t).renditionSet=new Set);let a=r(i).trackSet;a.add(t);let s=a.size-1;s in d.prototype||Object.defineProperty(d.prototype,s,{get(){return[...r(this).trackSet][s]}}),queueMicrotask(()=>{i.dispatchEvent(new n("addtrack",{track:t}))})}function o(e){let t=r(e).media?.videoTracks;t&&(r(t).trackSet.delete(e),queueMicrotask(()=>{t.dispatchEvent(new n("removetrack",{track:e}))}))}class d extends EventTarget{#u;#k;#v;constructor(){super(),r(this).trackSet=new Set}get #p(){return r(this).trackSet}[Symbol.iterator](){return this.#p.values()}get length(){return this.#p.size}getTrackById(e){return[...this.#p].find(t=>t.id===e)??null}get selectedIndex(){return[...this.#p].findIndex(e=>e.selected)}get onaddtrack(){return this.#u}set onaddtrack(e){this.#u&&(this.removeEventListener("addtrack",this.#u),this.#u=void 0),"function"==typeof e&&(this.#u=e,this.addEventListener("addtrack",e))}get onremovetrack(){return this.#k}set onremovetrack(e){this.#k&&(this.removeEventListener("removetrack",this.#k),this.#k=void 0),"function"==typeof e&&(this.#k=e,this.addEventListener("removetrack",e))}get onchange(){return this.#v}set onchange(e){this.#v&&(this.removeEventListener("change",this.#v),this.#v=void 0),"function"==typeof e&&(this.#v=e,this.addEventListener("change",e))}}class c extends Event{rendition;constructor(e,t){super(e),this.rendition=t.rendition}}function l(e){return[...r(e).media.videoTracks].filter(e=>e.selected).flatMap(e=>[...r(e).renditionSet])}
43class h extends EventTarget{#g;#b;#v;[Symbol.iterator](){return l(this).values()}get length(){return l(this).length}getRenditionById(e){return l(this).find(t=>`${t.id}`==`${e}`)??null}get selectedIndex(){return l(this).findIndex(e=>e.selected)}set selectedIndex(e){for(let[t,i]of l(this).entries())i.selected=t===e}get onaddrendition(){return this.#g}set onaddrendition(e){this.#g&&(this.removeEventListener("addrendition",this.#g),this.#g=void 0),"function"==typeof e&&(this.#g=e,this.addEventListener("addrendition",e))}get onremoverendition(){return this.#b}set onremoverendition(e){this.#b&&(this.removeEventListener("removerendition",this.#b),this.#b=void 0),"function"==typeof e&&(this.#b=e,this.addEventListener("removerendition",e))}get onchange(){return this.#v}set onchange(e){this.#v&&(this.removeEventListener("change",this.#v),this.#v=void 0),"function"==typeof e&&(this.#v=e,this.addEventListener("change",e))}}class u{src;id;width;height;bitrate;frameRate;codec;#f=!1;get selected(){return this.#f}set selected(e){this.#f!==e&&(this.#f=e,function(e){let t=r(e).media.videoRenditions;t&&!r(t).changeRequested&&(r(t).changeRequested=!0,queueMicrotask(()=>{delete r(t).changeRequested,r(e).track.selected&&t.dispatchEvent(new Event("change"))}))}(this))}}class k{id;kind;label="";language="";sourceBuffer;#f=!1;addRendition(e,t,i,n,a,s){let o=new u;return o.src=e,o.width=t,o.height=i,o.frameRate=s,o.bitrate=a,o.codec=n,!function(e,t){let i=r(e).media.videoRenditions;r(t).media=r(e).media,r(t).track=e;let n=r(e).renditionSet;n.add(t);let a=n.size-1;a in h.prototype||Object.defineProperty(h.prototype,a,{get(){return l(this)[a]}}),queueMicrotask(()=>{e.selected&&i.dispatchEvent(new c("addrendition",{rendition:t}))})}(this,o),o}removeRendition(e){!function(e){let t=r(e).media.videoRenditions,i=r(e).track;r(i).renditionSet.delete(e),queueMicrotask(()=>{r(e).track.selected&&t.dispatchEvent(new c("removerendition",{rendition:e}))})}(e)}get selected(){return this.#f}set selected(e){this.#f!==e&&(this.#f=e,!0===e&&function(e){let t=r(e).media.videoTracks??[],i=!1;for(let n of t)n!==e&&(n.selected=!1,i=!0);if(i){if(r(t).changeRequested)return;r(t).changeRequested=!0,queueMicrotask(()=>{delete r(t).changeRequested,t.dispatchEvent(new Event("change"))})}}(this))}}function v(e){return[...r(e).media.audioTracks].filter(e=>e.enabled).flatMap(e=>[...r(e).renditionSet])}
43class p extends EventTarget{#g;#b;#v;[Symbol.iterator](){return v(this).values()}get length(){return v(this).length}getRenditionById(e){return v(this).find(t=>`${t.id}`==`${e}`)??null}get selectedIndex(){return v(this).findIndex(e=>e.selected)}set selectedIndex(e){for(let[t,i]of v(this).entries())i.selected=t===e}get onaddrendition(){return this.#g}set onaddrendition(e){this.#g&&(this.removeEventListener("addrendition",this.#g),this.#g=void 0),"function"==typeof e&&(this.#g=e,this.addEventListener("addrendition",e))}get onremoverendition(){return this.#b}set onremoverendition(e){this.#b&&(this.removeEventListener("removerendition",this.#b),this.#b=void 0),"function"==typeof e&&(this.#b=e,this.addEventListener("removerendition",e))}get onchange(){return this.#v}set onchange(e){this.#v&&(this.removeEventListener("change",this.#v),this.#v=void 0),"function"==typeof e&&(this.#v=e,this.addEventListener("change",e))}}class g{src;id;bitrate;codec;#f=!1;get selected(){return this.#f}set selected(e){this.#f!==e&&(this.#f=e,function(e){let t=r(e).media.audioRenditions;t&&!r(t).changeRequested&&(r(t).changeRequested=!0,queueMicrotask(()=>{delete r(t).changeRequested,r(e).track.enabled&&t.dispatchEvent(new Event("change"))}))}(this))}}function b(e,t){let i=e.audioTracks;r(t).media=e,r(t).renditionSet||(r(t).renditionSet=new Set);let a=r(i).trackSet;a.add(t);let s=a.size-1;s in m.prototype||Object.defineProperty(m.prototype,s,{get(){return[...r(this).trackSet][s]}}),queueMicrotask(()=>{i.dispatchEvent(new n("addtrack",{track:t}))})}function f(e){let t=r(e).media?.audioTracks;t&&(r(t).trackSet.delete(e),queueMicrotask(()=>{t.dispatchEvent(new n("removetrack",{track:e}))}))}class m extends EventTarget{#u;#k;#v;constructor(){super(),r(this).trackSet=new Set}get #p(){return r(this).trackSet}[Symbol.iterator](){return this.#p.values()}get length(){return this.#p.size}getTrackById(e){return[...this.#p].find(t=>t.id===e)??null}get onaddtrack(){return this.#u}set onaddtrack(e){this.#u&&(this.removeEventListener("addtrack",this.#u),this.#u=void 0),"function"==typeof e&&(this.#u=e,this.addEventListener("addtrack",e))}get onremovetrack(){return this.#k}set onremovetrack(e){this.#k&&(this.removeEventListener("removetrack",this.#k),this.#k=void 0),"function"==typeof e&&(this.#k=e,this.addEventListener("removetrack",e))}get onchange(){return this.#v}set onchange(e){this.#v&&(this.removeEventListener("change",this.#v),this.#v=void 0),"function"==typeof e&&(this.#v=e,this.addEventListener("change",e))}}class y{id;kind;label="";language="";sourceBuffer;#m=!1;addRendition(e,t,i){let n=new g;return n.src=e,n.codec=t,n.bitrate=i,!function(e,t){let i=r(e).media.audioRenditions;r(t).media=r(e).media,r(t).track=e;let n=r(e).renditionSet;n.add(t);let a=n.size-1;a in p.prototype||Object.defineProperty(p.prototype,a,{get(){return v(this)[a]}}),queueMicrotask(()=>{e.enabled&&i.dispatchEvent(new c("addrendition",{rendition:t}))})}(this,n),n}removeRendition(e){!function(e){let t=r(e).media.audioRenditions,i=r(e).track;r(i).renditionSet.delete(e),queueMicrotask(()=>{r(e).track.enabled&&t.dispatchEvent(new c("removerendition",{rendition:e}))})}(e)}get enabled(){return this.#m}set enabled(e){this.#m!==e&&(this.#m=e,function(e){let t=r(e).media.audioTracks;t&&!r(t).changeRequested&&(r(t).changeRequested=!0,queueMicrotask(()=>{delete r(t).changeRequested,t.dispatchEvent(new Event("change"))}))}(this))}}let E=w(globalThis.HTMLMediaElement,"video"),C=w(globalThis.HTMLMediaElement,"audio");function T(e){if(!e?.prototype)return e;let t=w(e,"video");(!t||`${t}`.includes("[native code]"))&&Object.defineProperty(e.prototype,"videoTracks",{get(){return function(e){let t=r(e).videoTracks;if(!t&&(t=new d,r(e).videoTracks=t,E)){let i=E.call(e.nativeEl??e);for(let t of i)s(e,t);i.addEventListener("change",()=>{t.dispatchEvent(new Event("change"))}),i.addEventListener("addtrack",n=>{if([...t].some(e=>e instanceof k)){for(let e of i)o(e);return}s(e,n.track)}),i.addEventListener("removetrack",e=>{o(e.track)})}return t}(this)}});let i=w(e,"audio");(!i||`${i}`.includes("[native code]"))&&Object.defineProperty(e.prototype,"audioTracks",{get(){return function(e){let t=r(e).audioTracks;
43if(!t&&(t=new m,r(e).audioTracks=t,C)){let i=C.call(e.nativeEl??e);for(let t of i)b(e,t);i.addEventListener("change",()=>{t.dispatchEvent(new Event("change"))}),i.addEventListener("addtrack",n=>{if([...t].some(e=>e instanceof y)){for(let e of i)f(e);return}b(e,n.track)}),i.addEventListener("removetrack",e=>{f(e.track)})}return t}(this)}}),"addVideoTrack"in e.prototype||(e.prototype.addVideoTrack=function(e,t="",i=""){let n=new k;return n.kind=e,n.label=t,n.language=i,s(this,n),n}),"removeVideoTrack"in e.prototype||(e.prototype.removeVideoTrack=o),"addAudioTrack"in e.prototype||(e.prototype.addAudioTrack=function(e,t="",i=""){let n=new y;return n.kind=e,n.label=t,n.language=i,b(this,n),n}),"removeAudioTrack"in e.prototype||(e.prototype.removeAudioTrack=f),"videoRenditions"in e.prototype||Object.defineProperty(e.prototype,"videoRenditions",{get(){return n(this)}});let n=e=>{let t=r(e).videoRenditions;return t||(r(t=new h).media=e,r(e).videoRenditions=t),t};"audioRenditions"in e.prototype||Object.defineProperty(e.prototype,"audioRenditions",{get(){return a(this)}});let a=e=>{let t=r(e).audioRenditions;return t||(r(t=new p).media=e,r(e).audioRenditions=t),t};return e}function w(e,t){if(e?.prototype)return Object.getOwnPropertyDescriptor(e.prototype,`${t}Tracks`)?.get}}}]);

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.