PageSourceSearch

https://app.idlebooking.com/_next/static/chunks/2nl57tdqqxvvn.js

js idlebooking.com collected 2026-10-09 21:46:26 UTC 46,352 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,85266,e=>{"use strict";e.i(47167);var t,a,r=e.i(43476),n=e.i(71645),i=e.i(17751),s=e.i(12598),o=e.i(63178);function l({children:e,...t}){return(0,r.jsx)(o.ThemeProvider,{...t,children:e})}function c(){let{resolvedTheme:e}=(0,o.useTheme)();return n.useEffect(()=>{let e=getComputedStyle(document.documentElement).getPropertyValue("--background").trim();if(!e)return;let t=Array.from(document.querySelectorAll('meta[name="theme-color"]'));if(0===t.length){let e=document.createElement("meta");e.name="theme-color",document.head.appendChild(e),t=[e]}for(let a of t)a.setAttribute("content",e)},[e]),null}var d=e.i(72299),h=e.i(95476),u=e.i(7471),f=e.i(87034);let p=[{schema:"appointments",table:"appts",keys:["appts","home","home-alerts","client-appts"]},{schema:"clients",table:"clients",keys:["clients","client"]},{schema:"clients",table:"client_packages",keys:["client-packages","home-alerts"]},{schema:"clients",table:"client_flags",keys:["home-alerts"]},{schema:"financials",table:"transactions",keys:["client-txns","client-appts","appts","home"]},{schema:"store_management",table:"services",keys:[...f.SERVICE_QUERY_KEYS]},{schema:"store_management",table:"shifts",keys:["appts"]},{schema:"store_management",table:"leave",keys:["appts"]},{schema:"messaging",table:"whatsapp_sessions",keys:["needs-human","conversations-all"]},{schema:"messaging",table:"whatsapp_logs",keys:["conversation-messages","conversations-all"]}];function m({children:e}){let{storeId:t}=(0,h.useStore)(),a=(0,s.useQueryClient)();return n.useEffect(()=>(0,f.listenForServiceData)(a),[a]),n.useEffect(()=>{let e=(0,u.getSupabase)();if(!e||!t)return;let r=p.map(r=>e.channel(`rt:${r.schema}.${r.table}:${t}`).on("postgres_changes",{event:"*",schema:r.schema,table:r.table,filter:`store_id=eq.${t}`},()=>{for(let e of r.keys)a.invalidateQueries({queryKey:[e]})}).subscribe());return()=>{for(let t of r)e.removeChannel(t)}},[t,a]),(0,r.jsx)(r.Fragment,{children:e})}var g=e.i(73635),b=e.i(18566),w=e.i(82568);let y=(0,w.registerPlugin)("App",{web:()=>e.A(6787).then(e=>new e.AppWeb)});var v=e.i(3329),I=e.i(38672);function E(){let e=(0,b.useRouter)();return(0,n.useEffect)(()=>{if(!(0,I.isNativeApp)())return;let t=y.addListener("appUrlOpen",({url:t})=>{let a="://callback",r=t.indexOf(a);if(-1!==r){v.Browser.close().catch(()=>{});try{window.sessionStorage.setItem(I.NATIVE_AUTH_CALLBACK_URL_KEY,t)}catch{}e.push(`/callback${t.slice(r+a.length)}`)}});return()=>{t.then(e=>e.remove()).catch(()=>{})}},[e]),null}var S=e.i(3116);(t=a||(a={}))[t.Sunday=1]="Sunday",t[t.Monday=2]="Monday",t[t.Tuesday=3]="Tuesday",t[t.Wednesday=4]="Wednesday",t[t.Thursday=5]="Thursday",t[t.Friday=6]="Friday",t[t.Saturday=7]="Saturday";let _=(0,w.registerPlugin)("LocalNotifications",{web:()=>e.A(71287).then(e=>new e.LocalNotificationsWeb)});async function C(){if((0,I.isNativeApp)()){let e=await _.checkPermissions();return"granted"===e.display||"denied"!==e.display&&"granted"===(await _.requestPermissions()).display}return!("u"<typeof Notification)&&("granted"===Notification.permission||"denied"!==Notification.permission&&await Notification.requestPermission()==="granted")}async function D(e,t){(0,I.isNativeApp)()?await _.schedule({notifications:[{id:Math.floor(Date.now()%0x7fffffff),title:e,body:t}]}):"u">typeof Notification&&new Notification(e,{body:t})}function A(){let e=(0,I.isNativeApp)()||(0,I.isDesktopApp)(),{data:t}=(0,S.useMeNotifications)(),a=n.useRef(null),r=n.useRef(!1);return n.useEffect(()=>{if(!e||!t)return;let n=t.notifications.filter(e=>!e.read_at),i=n[0]??null;if(!r.current){r.current=!0,a.current=i?.notification_id??null,C();return}if(!i||i.notification_id===a.current)return;let s=a.current;a.current=i.notification_id;let o=[];for(let e of n){if(e.notification_id===s)break;o.push(e)}"visible"===document.visibilityState&&document.hasFocus()||(async()=>{if(await C())for(let e of o.slice(0,3))await D(e.title??"Idle",e.body??"")})()},[e,t]),null}var T=e.i(34317),k=e.i(59727),P=e.i(73374);e.s(["Providers",0,function({children:e}){let[t]=n.useState(()=>new i.QueryClient({defaultOptions:{queries:{staleTime:3e4,retry:1,refetchOnWindowFocus:!1}}}));return(0,r.jsxs)(l,{attribute:"class",defaultTheme:"light",enableSystem:!0,disableTransitionOnChange:!0,children:[(0,r.jsx)(c,{}),(0,r.jsx)(E,{}),(0,r.jsx)(s.QueryClientProvider,{client:t,children:(0,r.jsx)(d.AuthProvider,{children:(0,r.jsxs)(h.StoreProvider,{children:[(0,r.jsx)(A,{}),(0,r.jsx)(k.ProfileStarsProvider,{children:(0,r.jsx)(T.PlanTierProvider,{children:(0,r.jsxs)(m,{children:[e,(0,r.jsx)(P.LoadingOverlayHost,{})]})})}),(0,r.jsx)(g.Toaster,{})]})})})]})}],85266)},16657,e=>{"use strict";let t,a,r,n,i,s,o;var l,c,d=e.i(71645);e.i(47167);let h=function(e){let t=[],a=0;for(let r=0;r<e.length;r++){let n=e.charCodeAt(r);n<128?t[a++]=n:(n<2048?t[a++]=n>>6|192:((64512&n)==55296&&r+1<e.length&&(64512&e.charCodeAt(r+1))==56320?(n=65536+((1023&n)<<10)+(1023&e.charCodeAt(++r)),t[a++]=n>>18|240,t[a++]=n>>12&63|128):t[a++]=n>>12|224,t[a++]=n>>6&63|128),t[a++]=63&n|128)}return t},u=function(e){let t=[],a=0,r=0;for(;a<e.length;){let n=e[a++];if(n<128)t[r++]=String.fromCharCode(n);else if(n>191&&n<224){let i=e[a++];t[r++]=String.fromCharCode((31&n)<<6|63&i)}else if(n>
1239&&n<365){let i=((7&n)<<18|(63&e[a++])<<12|(63&e[a++])<<6|63&e[a++])-65536;t[r++]=String.fromCharCode(55296+(i>>10)),t[r++]=String.fromCharCode(56320+(1023&i))}else{let i=e[a++],s=e[a++];t[r++]=String.fromCharCode((15&n)<<12|(63&i)<<6|63&s)}}return t.join("")},f={byteToCharMap_:null,charToByteMap_:null,byteToCharMapWebSafe_:null,charToByteMapWebSafe_:null,ENCODED_VALS_BASE:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",get ENCODED_VALS(){return this.ENCODED_VALS_BASE+"+/="},get ENCODED_VALS_WEBSAFE(){return this.ENCODED_VALS_BASE+"-_."},HAS_NATIVE_SUPPORT:"function"==typeof atob,encodeByteArray(e,t){if(!Array.isArray(e))throw Error("encodeByteArray takes an array as a parameter");this.init_();let a=t?this.byteToCharMapWebSafe_:this.byteToCharMap_,r=[];for(let t=0;t<e.length;t+=3){let n=e[t],i=t+1<e.length,s=i?e[t+1]:0,o=t+2<e.length,l=o?e[t+2]:0,c=n>>2,d=(3&n)<<4|s>>4,h=(15&s)<<2|l>>6,u=63&l;!o&&(u=64,i||(h=64)),r.push(a[c],a[d],a[h],a[u])}return r.join("")},encodeString(e,t){return this.HAS_NATIVE_SUPPORT&&!t?btoa(e):this.encodeByteArray(h(e),t)},decodeString(e,t){return this.HAS_NATIVE_SUPPORT&&!t?atob(e):u(this.decodeStringToByteArray(e,t))},decodeStringToByteArray(e,t){this.init_();let a=t?this.charToByteMapWebSafe_:this.charToByteMap_,r=[];for(let t=0;t<e.length;){let n=a[e.charAt(t++)],i=t<e.length?a[e.charAt(t)]:0,s=++t<e.length?a[e.charAt(t)]:64,o=++t<e.length?a[e.charAt(t)]:64;if(++t,null==n||null==i||null==s||null==o)throw new p;let l=n<<2|i>>4;if(r.push(l),64!==s){let e=i<<4&240|s>>2;if(r.push(e),64!==o){let e=s<<6&192|o;r.push(e)}}}return r},init_(){if(!this.byteToCharMap_){this.byteToCharMap_={},this.charToByteMap_={},this.byteToCharMapWebSafe_={},this.charToByteMapWebSafe_={};for(let e=0;e<this.ENCODED_VALS.length;e++)this.byteToCharMap_[e]=this.ENCODED_VALS.charAt(e),this.charToByteMap_[this.byteToCharMap_[e]]=e,this.byteToCharMapWebSafe_[e]=this.ENCODED_VALS_WEBSAFE.charAt(e),this.charToByteMapWebSafe_[this.byteToCharMapWebSafe_[e]]=e,e>=this.ENCODED_VALS_BASE.length&&(this.charToByteMap_[this.ENCODED_VALS_WEBSAFE.charAt(e)]=e,this.charToByteMapWebSafe_[this.ENCODED_VALS.charAt(e)]=e)}}};
1class p extends Error{constructor(){super(...arguments),this.name="DecodeBase64StringError"}}let m=function(e){let t=h(e);return f.encodeByteArray(t,!0)},g=function(e){return m(e).replace(/\./g,"")},b=()=>(()=>{try{return{config:{apiKey:"AIzaSyCmtds_7DrE4vdOsmxMR3FRAKVMh0CmgbQ",appId:"1:514215365636:web:a6da8798cd1e577b847951",authDomain:"idle-prod-bd682.firebaseapp.com",databaseURL:"",messagingSenderId:"514215365636",projectId:"idle-prod-bd682",storageBucket:"idle-prod-bd682.firebasestorage.app"},emulatorHosts:{}}}catch(e){console.info(`Unable to get __FIREBASE_DEFAULTS__ due to: ${e}`);return}})()?.config;class w{constructor(){this.reject=()=>{},this.resolve=()=>{},this.promise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}wrapCallback(e){return(t,a)=>{t?this.reject(t):this.resolve(a),"function"==typeof e&&(this.promise.catch(()=>{}),1===e.length?e(t):e(t,a))}}}function y(){let e="object"==typeof chrome?chrome.runtime:"object"==typeof browser?browser.runtime:void 0;return"object"==typeof e&&void 0!==e.id}function v(){try{return"object"==typeof indexedDB}catch(e){return!1}}function I(){return new Promise((e,t)=>{try{let a=!0,r="validate-browser-context-for-indexeddb-analytics-module",n=self.indexedDB.open(r);n.onsuccess=()=>{n.result.close(),a||self.indexedDB.deleteDatabase(r),e(!0)},n.onupgradeneeded=()=>{a=!1},n.onerror=()=>{t(n.error?.message||"")}}catch(e){t(e)}})}function E(){return!("u"<typeof navigator)&&!!navigator.cookieEnabled}class S extends Error{constructor(e,t,a){super(t),this.code=e,this.customData=a,this.name="FirebaseError",Object.setPrototypeOf(this,S.prototype),Error.captureStackTrace&&Error.captureStackTrace(this,_.prototype.create)}}class _{constructor(e,t,a){this.service=e,this.serviceName=t,this.errors=a}create(e,...t){var a,r;let n=t[0]||{},i=`${this.service}/${e}`,s=this.errors[e],o=s?(a=s,r=n,a.replace(C,(e,t)=>{let a=r[t];return null!=a?String(a):`<${t}?>`})):"Error",l=`${this.serviceName}: ${o} (${i}).`;return new S(i,l,n)}}let C=/\{\$([^}]+)}/g;function D(e,t){if(e===t)return!0;let a=Object.keys(e),r=Object.keys(t);for(let n of a){if(!r.includes(n))return!1;let a=e[n],i=t[n];if(A(a)&&A(i)){if(!D(a,i))return!1}else if(a!==i)return!1}for(let e of r)if(!a.includes(e))return!1;return!0}function A(e){return null!==e&&"object"==typeof e}function T(e,t=1e3,a=2){let r=t*Math.pow(a,e),n=Math.round(.5*r*(Math.random()-.5)*2);return Math.min(144e5,r+n)}function k(e){return e&&e._delegate?e._delegate:e}class P{constructor(e,t,a){this.name=e,this.instanceFactory=t,this.type=a,this.multipleInstances=!1,this.serviceProps={},this.instantiationMode="LAZY",this.onInstanceCreated=null}setInstantiationMode(e){return this.instantiationMode=e,this}setMultipleInstances(e){return this.multipleInstances=e,this}setServiceProps(e){return this.serviceProps=e,this}setInstanceCreatedCallback(e){return this.onInstanceCreated=e,this}}let O="[DEFAULT]";class M{constructor(e,t){this.name=e,this.container=t,this.component=null,this.instances=new Map,this.instancesDeferred=new Map,this.instancesOptions=new Map,this.onInitCallbacks=new Map}get(e){let t=this.normalizeInstanceIdentifier(e);if(!this.instancesDeferred.has(t)){let e=new w;if(this.instancesDeferred.set(t,e),this.isInitialized(t)||this.shouldAutoInitialize())try{let a=this.getOrInitializeService({instanceIdentifier:t});a&&e.resolve(a)}catch(e){}}return this.instancesDeferred.get(t).promise}getImmediate(e){let t=this.normalizeInstanceIdentifier(e?.identifier),a=e?.optional??!1;if(this.isInitialized(t)||this.shouldAutoInitialize())try{return this.getOrInitializeService({instanceIdentifier:t})}catch(e){if(a)return null;throw e}if(a)return null;throw Error(`Service ${this.name} is not available`)}getComponent(){return this.component}setComponent(e){if(e.name!==this.name)throw Error(`Mismatching Component ${e.name} for Provider ${this.name}.`);if(this.component)throw Error(`Component for ${this.name} has already been provided`);if(this.component=e,this.shouldAutoInitialize()){if("EAGER"===e.instantiationMode)try{this.getOrInitializeService({instanceIdentifier:O})}catch(e){}for(let[e,t]of this.instancesDeferred.entries()){let a=this.normalizeInstanceIdentifier(e);try{let e=this.getOrInitializeService({instanceIdentifier:a});t.resolve(e)}catch(e){}}}}clearInstance(e=O){this.instancesDeferred.delete(e),this.instancesOptions.delete(e),this.instances.delete(e)}async delete(){let e=Array.from(this.instances.values());await Promise.all([...e.filter(e=>"INTERNAL"in e).map(e=>e.INTERNAL.delete()),...e.filter(e=>"_delete"in e).map(e=>e._delete())])}isComponentSet(){return null!=this.component}isInitialized(e=O){return this.instances.has(e)}getOptions(e=O){return this.instancesOptions.get(e)||{}}initialize(e={}){let{options:t={}}=e,a=this.normalizeInstanceIdentifier(e.instanceIdentifier);if(this.isInitialized(a))throw Error(`${this.name}(${a}) has already been initialized`);if(!this.isComponentSet())throw Error(`Component ${this.name} has not been registered yet`);let r=this.getOrInitializeService({instanceIdentifier:a,options:t});for(let[e,t]of this.instancesDeferred.entries())a===this.normalizeInstanceIdentifier(e)&&t.resolve(r);return r}onInit(e,t){let a=this.normalizeInstanceIdentifier(t),r=this.onInitCallbacks.get(a)??new Set;r.add(e),this.onInitCallbacks.set(a,r);let n=this.instances.get(a);return n&&e(n,a),()=>{r.delete(e)}}invokeOnInitCallbacks(e,t){let a=this.onInitCallbacks.get(t);if(a)for(let r of a)try{r(e,t)}catch{}}getOrInitializeService({instanceIdentifier:e,options:t={}}){var a;let r=this.instances.get(e);if(!r&&this.component&&(r=this.component.instanceFactory(this.container,{instanceIdentifier:(a=e)===O?void 0:a,options:t}),this.instances.set(e,r),this.instancesOptions.set(e,t),this.invokeOnInitCallbacks(r,e),this.component.onInstanceCreated))try{this.component.onInstanceCreated(this.container,e,r)}catch{}return r||null}normalizeInstanceIdentifier(e=O){return this.component?this.component.multipleInstances?e:O:e}shouldAutoInitialize(){return!!this.component&&"EXPLICIT"!==this.component.instantiationMode}}class L{constructor(e){this.name=e,this.providers=new Map}addComponent(e){let t=this.getProvider(e.name);if(t.isComponentSet())throw Error(`Component ${e.name} has already been registered with ${this.name}`);t.setComponent(e)}addOrOverwriteComponent(e){this.getProvider(e.name).isComponentSet()&&this.providers.delete(e.name),this.addComponent(e)}getProvider(e){if(this.providers.has(e))return this.providers.get(e);let t=new M(e,this);return this.providers.set(e,t),t}getProviders(){return Array.from(this.providers.values())}}let B=[];(l=c||(c={}))[l.DEBUG=0]="DEBUG",l[l.VERBOSE=1]="VERBOSE",l[l.INFO=2]="INFO",l[l.WARN=3]="WARN",l[l.ERROR=4]="ERROR",l[l.SILENT=5]="SILENT";let $={debug:c.DEBUG,verbose:c.VERBOSE,info:c.INFO,warn:c.WARN,error:c.ERROR,silent:c.SILENT},N=c.INFO,j={[c.DEBUG]:"log",[c.VERBOSE]:"log",[c.INFO]:"info",[c.WARN]:"warn",[c.ERROR]:"error"},x=(e,t,...a)=>{if(t<e.logLevel)return;let r=new Date().toISOString(),n=j[t];if(n)console[n](`[${r}]  ${e.name}:`,...a);
1else throw Error(`Attempted to log a message with an invalid logType (value: ${t})`)};class F{constructor(e){this.name=e,this._logLevel=N,this._logHandler=x,this._userLogHandler=null,B.push(this)}get logLevel(){return this._logLevel}set logLevel(e){if(!(e in c))throw TypeError(`Invalid value "${e}" assigned to \`logLevel\``);this._logLevel=e}setLogLevel(e){this._logLevel="string"==typeof e?$[e]:e}get logHandler(){return this._logHandler}set logHandler(e){if("function"!=typeof e)throw TypeError("Value assigned to `logHandler` must be a function");this._logHandler=e}get userLogHandler(){return this._userLogHandler}set userLogHandler(e){this._userLogHandler=e}debug(...e){this._userLogHandler&&this._userLogHandler(this,c.DEBUG,...e),this._logHandler(this,c.DEBUG,...e)}log(...e){this._userLogHandler&&this._userLogHandler(this,c.VERBOSE,...e),this._logHandler(this,c.VERBOSE,...e)}info(...e){this._userLogHandler&&this._userLogHandler(this,c.INFO,...e),this._logHandler(this,c.INFO,...e)}warn(...e){this._userLogHandler&&this._userLogHandler(this,c.WARN,...e),this._logHandler(this,c.WARN,...e)}error(...e){this._userLogHandler&&this._userLogHandler(this,c.ERROR,...e),this._logHandler(this,c.ERROR,...e)}}let R=new WeakMap,H=new WeakMap,z=new WeakMap,V=new WeakMap,U=new WeakMap,W={get(e,t,a){if(e instanceof IDBTransaction){if("done"===t)return H.get(e);if("objectStoreNames"===t)return e.objectStoreNames||z.get(e);if("store"===t)return a.objectStoreNames[1]?void 0:a.objectStore(a.objectStoreNames[0])}return q(e[t])},set:(e,t,a)=>(e[t]=a,!0),has:(e,t)=>e instanceof IDBTransaction&&("done"===t||"store"===t)||t in e};function q(e){if(e instanceof IDBRequest){let t;return(t=new Promise((t,a)=>{let r=()=>{e.removeEventListener("success",n),e.removeEventListener("error",i)},n=()=>{t(q(e.result)),r()},i=()=>{a(e.error),r()};e.addEventListener("success",n),e.addEventListener("error",i)})).then(t=>{t instanceof IDBCursor&&R.set(t,e)}).catch(()=>{}),U.set(t,e),t}if(V.has(e))return V.get(e);let r=function(e){if("function"==typeof e)return e!==IDBDatabase.prototype.transaction||"objectStoreNames"in IDBTransaction.prototype?(a||(a=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])).includes(e)?function(...t){return e.apply(K(this),t),q(R.get(this))}:function(...t){return q(e.apply(K(this),t))}:function(t,...a){let r=e.call(K(this),t,...a);return z.set(r,t.sort?t.sort():[t]),q(r)};return e instanceof IDBTransaction&&function(e){if(H.has(e))return;let t=new Promise((t,a)=>{let r=()=>{e.removeEventListener("complete",n),e.removeEventListener("error",i),e.removeEventListener("abort",i)},n=()=>{t(),r()},i=()=>{a(e.error||new DOMException("AbortError","AbortError")),r()};e.addEventListener("complete",n),e.addEventListener("error",i),e.addEventListener("abort",i)});H.set(e,t)}(e),(t||(t=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])).some(t=>e instanceof t)?new Proxy(e,W):e}(e);return r!==e&&(V.set(e,r),U.set(r,e)),r}let K=e=>U.get(e);function G(e,t,{blocked:a,upgrade:r,blocking:n,terminated:i}={}){let s=indexedDB.open(e,t),o=q(s);return r&&s.addEventListener("upgradeneeded",e=>{r(q(s.result),e.oldVersion,e.newVersion,q(s.transaction),e)}),a&&s.addEventListener("blocked",e=>a(e.oldVersion,e.newVersion,e)),o.then(e=>{i&&e.addEventListener("close",()=>i()),n&&e.addEventListener("versionchange",e=>n(e.oldVersion,e.newVersion,e))}).catch(()=>{}),o}let Q=["get","getKey","getAll","getAllKeys","count"],J=["put","add","delete","clear"],Y=new Map;function X(e,t){if(!(e instanceof IDBDatabase&&!(t in e)&&"string"==typeof t))return;if(Y.get(t))return Y.get(t);let a=t.replace(/FromIndex$/,""),r=t!==a,n=J.includes(a);if(!(a in(r?IDBIndex:IDBObjectStore).prototype)||!(n||Q.includes(a)))return;let i=async function(e,...t){let i=this.transaction(e,n?"readwrite":"readonly"),s=i.store;return r&&(s=s.index(t.shift())),(await Promise.all([s[a](...t),n&&i.done]))[0]};return Y.set(t,i),i}W={...o=W,get:(e,t,a)=>X(e,t)||o.get(e,t,a),has:(e,t)=>!!X(e,t)||o.has(e,t)};class Z{constructor(e){this.container=e}getPlatformInfoString(){return this.container.getProviders().map(e=>{let t;if(t=e.getComponent(),t?.type!=="VERSION")return null;{let t=e.getImmediate();return`${t.library}/${t.version}`}}).filter(e=>e).join(" ")}}let ee="@firebase/app",et="0.15.1",ea=new F("@firebase/app"),er="[DEFAULT]",en={[ee]:"fire-core","@firebase/app-compat":"fire-core-compat","@firebase/analytics":"fire-analytics","@firebase/analytics-compat":"fire-analytics-compat","@firebase/app-check":"fire-app-check","@firebase/app-check-compat":"fire-app-check-compat","@firebase/auth":"fire-auth","@firebase/auth-compat":"fire-auth-compat","@firebase/database":"fire-rtdb","@firebase/data-connect":"fire-data-connect","@firebase/database-compat":"fire-rtdb-compat","@firebase/functions":"fire-fn","@firebase/functions-compat":"fire-fn-compat","@firebase/installations":"fire-iid","@firebase/installations-compat":"fire-iid-compat","@firebase/messaging":"fire-fcm","@firebase/messaging-compat":"fire-fcm-compat","@firebase/performance":"fire-perf","@firebase/performance-compat":"fire-perf-compat","@firebase/remote-config":"fire-rc","@firebase/remote-config-compat":"fire-rc-compat","@firebase/storage":"fire-gcs","@firebase/storage-compat":"fire-gcs-compat","@firebase/firestore":"fire-fst","@firebase/firestore-compat":"fire-fst-compat","@firebase/ai":"fire-vertex","fire-js":"fire-js",firebase:"fire-js-all"},ei=new Map,es=new Map,eo=new Map;function el(e,t){try{e.container.addComponent(t)}catch(a){ea.debug(`Component ${t.name} failed to register with FirebaseApp ${e.name}`,a)}}function ec(e){let t=e.name;if(eo.has(t))return ea.debug(`There were multiple attempts to register component ${t}.`),!1;
1for(let a of(eo.set(t,e),ei.values()))el(a,e);for(let t of es.values())el(t,e);return!0}function ed(e,t){let a=e.container.getProvider("heartbeat").getImmediate({optional:!0});return a&&a.triggerHeartbeat(),e.container.getProvider(t)}let eh=new _("app","Firebase",{"no-app":"No Firebase App '{$appName}' has been created - call initializeApp() first","bad-app-name":"Illegal App name: '{$appName}'","duplicate-app":"Firebase App named '{$appName}' already exists with different options or config","app-deleted":"Firebase App named '{$appName}' already deleted","server-app-deleted":"Firebase Server App has been deleted","no-options":"Need to provide options, when not being deployed to hosting via source.","invalid-app-argument":"firebase.{$appName}() takes either no argument or a Firebase App instance.","invalid-log-argument":"First argument to `onLog` must be null or a function.","idb-open":"Error thrown when opening IndexedDB. Original error: {$originalErrorMessage}.","idb-get":"Error thrown when reading from IndexedDB. Original error: {$originalErrorMessage}.","idb-set":"Error thrown when writing to IndexedDB. Original error: {$originalErrorMessage}.","idb-delete":"Error thrown when deleting from IndexedDB. Original error: {$originalErrorMessage}.","finalization-registry-not-supported":"FirebaseServerApp deleteOnDeref field defined but the JS runtime does not support FinalizationRegistry.","invalid-server-app-environment":"FirebaseServerApp is not for use in browser environments."});class eu{constructor(e,t,a){this._isDeleted=!1,this._options={...e},this._config={...t},this._name=t.name,this._automaticDataCollectionEnabled=t.automaticDataCollectionEnabled,this._container=a,this.container.addComponent(new P("app",()=>this,"PUBLIC"))}get automaticDataCollectionEnabled(){return this.checkDestroyed(),this._automaticDataCollectionEnabled}set automaticDataCollectionEnabled(e){this.checkDestroyed(),this._automaticDataCollectionEnabled=e}get name(){return this.checkDestroyed(),this._name}get options(){return this.checkDestroyed(),this._options}get config(){return this.checkDestroyed(),this._config}get container(){return this._container}get isDeleted(){return this._isDeleted}set isDeleted(e){this._isDeleted=e}checkDestroyed(){if(this.isDeleted)throw eh.create("app-deleted",{appName:this._name})}}function ef(e,t={}){let a=e;"object"!=typeof t&&(t={name:t});let r={name:er,automaticDataCollectionEnabled:!0,...t},n=r.name;if("string"!=typeof n||!n)throw eh.create("bad-app-name",{appName:String(n)});if(a||(a=b()),!a)throw eh.create("no-options");let i=ei.get(n);if(i)if(D(a,i.options)&&D(r,i.config))return i;else throw eh.create("duplicate-app",{appName:n});let s=new L(n);for(let e of eo.values())s.addComponent(e);let o=new eu(a,r,s);return ei.set(n,o),o}function ep(e,t,a){let r=en[e]??e;a&&(r+=`-${a}`);let n=r.match(/\s|\//),i=t.match(/\s|\//);if(n||i){let e=[`Unable to register library "${r}" with version "${t}":`];n&&e.push(`library name "${r}" contains illegal characters (whitespace or "/")`),n&&i&&e.push("and"),i&&e.push(`version name "${t}" contains illegal characters (whitespace or "/")`),ea.warn(e.join(" "));return}ec(new P(`${r}-version`,()=>({library:r,version:t}),"VERSION"))}let em="firebase-heartbeat-store",eg=null;function eb(){return eg||(eg=G("firebase-heartbeat-database",1,{upgrade:(e,t)=>{if(0===t)try{e.createObjectStore(em)}catch(e){console.warn(e)}}}).catch(e=>{throw eh.create("idb-open",{originalErrorMessage:e.message})})),eg}async function ew(e){try{let t=(await eb()).transaction(em),a=await t.objectStore(em).get(ev(e));return await t.done,a}catch(e){if(e instanceof S)ea.warn(e.message);else{let t=eh.create("idb-get",{originalErrorMessage:e?.message});ea.warn(t.message)}}}async function ey(e,t){try{let a=(await eb()).transaction(em,"readwrite"),r=a.objectStore(em);await r.put(t,ev(e)),await a.done}catch(e){if(e instanceof S)ea.warn(e.message);else{let t=eh.create("idb-set",{originalErrorMessage:e?.message});ea.warn(t.message)}}}function ev(e){return`${e.name}!${e.options.appId}`}class eI{constructor(e){this.container=e,this._heartbeatsCache=null;const t=this.container.getProvider("app").getImmediate();this._storage=new eS(t),this._heartbeatsCachePromise=this._storage.read().then(e=>(this._heartbeatsCache=e,e))}async triggerHeartbeat(){try{let e=this.container.getProvider("platform-logger").getImmediate().getPlatformInfoString(),t=eE();if(this._heartbeatsCache?.heartbeats==null&&(this._heartbeatsCache=await this._heartbeatsCachePromise,this._heartbeatsCache?.heartbeats==null)||this._heartbeatsCache.lastSentHeartbeatDate===t||this._heartbeatsCache.heartbeats.some(e=>e.date===t))return;if(this._heartbeatsCache.heartbeats.push({date:t,agent:e}),this._heartbeatsCache.heartbeats.length>30){let e=function(e){if(0===e.length)return -1;let t=0,a=e[0].date;for(let r=1;r<e.length;r++)e[r].date<a&&(a=e[r].date,t=r);return t}(this._heartbeatsCache.heartbeats);this._heartbeatsCache.heartbeats.splice(e,1)}return this._storage.overwrite(this._heartbeatsCache)}catch(e){ea.warn(e)}}async getHeartbeatsHeader(){try{if(null===this._heartbeatsCache&&await this._heartbeatsCachePromise,this._heartbeatsCache?.heartbeats==null||0===this._heartbeatsCache.heartbeats.length)return"";let e=eE(),{heartbeatsToSend:t,unsentEntries:a}=function(e,t=1024){let a=[],r=e.slice();for(let n of e){let e=a.find(e=>e.agent===n.agent);if(e){if(e.dates.push(n.date),e_(a)>t){e.dates.pop();break}}else if(a.push({agent:n.agent,dates:[n.date]}),e_(a)>t){a.pop();break}r=r.slice(1)}return{heartbeatsToSend:a,unsentEntries:r}}(this._heartbeatsCache.heartbeats),r=g(JSON.stringify({version:2,heartbeats:t}));return this._heartbeatsCache.lastSentHeartbeatDate=e,a.length>0?(this._heartbeatsCache.heartbeats=a,await this._storage.overwrite(this._heartbeatsCache)):(this._heartbeatsCache.heartbeats=[],this._storage.overwrite(this._heartbeatsCache)),r}catch(e){return ea.warn(e),""}}}function eE(){return new Date().toISOString().substring(0,10)}class eS{constructor(e){this.app=e,this._canUseIndexedDBPromise=this.runIndexedDBEnvironmentCheck()}async runIndexedDBEnvironmentCheck(){return!!v()&&I().then(()=>!0).catch(()=>!1)}async read(){if(!await this._canUseIndexedDBPromise)return{heartbeats:[]};{let e=await ew(this.app);return e?.heartbeats?e:{heartbeats:[]}}}async overwrite(e){if(await this._canUseIndexedDBPromise){let t=await this.read();return ey(this.app,{lastSentHeartbeatDate:e.lastSentHeartbeatDate??t.lastSentHeartbeatDate,heartbeats:e.heartbeats})}}async add(e){if(await this._canUseIndexedDBPromise){let t=await this.read();return ey(this.app,{lastSentHeartbeatDate:e.lastSentHeartbeatDate??t.lastSentHeartbeatDate,heartbeats:[...t.heartbeats,...e.heartbeats]})}}}function e_(e){return g(JSON.stringify({version:2,heartbeats:e})).length}ec(new P("platform-logger",e=>new Z(e),"PRIVATE")),ec(new P("heartbeat",e=>new eI(e),"PRIVATE")),ep(ee,et,""),ep(ee,et,"esm2020"),ep("fire-js",""),ep("firebase","12.16.0","app");let eC="@firebase/installations",eD="0.6.22",eA=`w:${eD}`,eT="FIS_v2",ek=new _("installations","Installations",{"missing-app-config-values":'Missing App configuration value: "{$valueName}"',"not-registered":"Firebase Installation is not registered.","installation-not-found":"Firebase Installation not found.","request-failed":'{$requestName} request failed with error "{$serverCode} {$serverStatus}: {$serverMessage}"',"app-offline":"Could not process request. Application offline.","delete-pending-registration":"Can't delete installation while there is a pending registration request."});function eP(e){return e instanceof S&&e.code.includes("request-failed")}function eO({projectId:e}){return`https://firebaseinstallations.googleapis.com/v1/projects/${e}/installations`}
1function eM(e){return{token:e.token,requestStatus:2,expiresIn:Number(e.expiresIn.replace("s","000")),creationTime:Date.now()}}async function eL(e,t){let a=(await t.json()).error;return ek.create("request-failed",{requestName:e,serverCode:a.code,serverMessage:a.message,serverStatus:a.status})}function eB({apiKey:e}){return new Headers({"Content-Type":"application/json",Accept:"application/json","x-goog-api-key":e})}async function e$(e){let t=await e();return t.status>=500&&t.status<600?e():t}async function eN({appConfig:e,heartbeatServiceProvider:t},{fid:a}){let r=eO(e),n=eB(e),i=t.getImmediate({optional:!0});if(i){let e=await i.getHeartbeatsHeader();e&&n.append("x-firebase-client",e)}let s={method:"POST",headers:n,body:JSON.stringify({fid:a,authVersion:eT,appId:e.appId,sdkVersion:eA})},o=await e$(()=>fetch(r,s));if(o.ok){let e=await o.json();return{fid:e.fid||a,registrationStatus:2,refreshToken:e.refreshToken,authToken:eM(e.authToken)}}throw await eL("Create Installation",o)}function ej(e){return new Promise(t=>{setTimeout(t,e)})}let ex=/^[cdef][\w-]{21}$/;function eF(e){return`${e.appName}!${e.appId}`}let eR=new Map;function eH(e,t){var a,r;let n,i=eF(e);ez(i,t),a=i,r=t,(n=(!eV&&"BroadcastChannel"in self&&((eV=new BroadcastChannel("[Firebase] FID Change")).onmessage=e=>{ez(e.data.key,e.data.fid)}),eV))&&n.postMessage({key:a,fid:r}),0===eR.size&&eV&&(eV.close(),eV=null)}function ez(e,t){let a=eR.get(e);if(a)for(let e of a)e(t)}let eV=null,eU="firebase-installations-store",eW=null;function eq(){return eW||(eW=G("firebase-installations-database",1,{upgrade:(e,t)=>{0===t&&e.createObjectStore(eU)}})),eW}async function eK(e,t){let a=eF(e),r=(await eq()).transaction(eU,"readwrite"),n=r.objectStore(eU),i=await n.get(a);return await n.put(t,a),await r.done,i&&i.fid===t.fid||eH(e,t.fid),t}async function eG(e){let t=eF(e),a=(await eq()).transaction(eU,"readwrite");await a.objectStore(eU).delete(t),await a.done}async function eQ(e,t){let a=eF(e),r=(await eq()).transaction(eU,"readwrite"),n=r.objectStore(eU),i=await n.get(a),s=t(i);return void 0===s?await n.delete(a):await n.put(s,a),await r.done,s&&(!i||i.fid!==s.fid)&&eH(e,s.fid),s}async function eJ(e){let t,a=await eQ(e.appConfig,a=>{let r=function(e,t){if(0===t.registrationStatus){if(!navigator.onLine)return{installationEntry:t,registrationPromise:Promise.reject(ek.create("app-offline"))};let a={fid:t.fid,registrationStatus:1,registrationTime:Date.now()},r=eY(e,a);return{installationEntry:a,registrationPromise:r}}return 1===t.registrationStatus?{installationEntry:t,registrationPromise:eX(e)}:{installationEntry:t}}(e,e0(a||{fid:function(){try{var e;let t=new Uint8Array(17);(self.crypto||self.msCrypto).getRandomValues(t),t[0]=112+t[0]%16;let a=(e=t,btoa(String.fromCharCode(...e)).replace(/\+/g,"-").replace(/\//g,"_").substr(0,22));return ex.test(a)?a:""}catch{return""}}(),registrationStatus:0}));return t=r.registrationPromise,r.installationEntry});return""===a.fid?{installationEntry:await t}:{installationEntry:a,registrationPromise:t}}async function eY(e,t){try{let a=await eN(e,t);return eK(e.appConfig,a)}catch(a){throw eP(a)&&409===a.customData.serverCode?await eG(e.appConfig):await eK(e.appConfig,{fid:t.fid,registrationStatus:0}),a}}async function eX(e){let t=await eZ(e.appConfig);for(;1===t.registrationStatus;)await ej(100),t=await eZ(e.appConfig);if(0===t.registrationStatus){let{installationEntry:t,registrationPromise:a}=await eJ(e);return a||t}return t}function eZ(e){return eQ(e,e=>{if(!e)throw ek.create("installation-not-found");return e0(e)})}function e0(e){var t;return 1===(t=e).registrationStatus&&t.registrationTime+1e4<Date.now()?{fid:e.fid,registrationStatus:0}:e}async function e1({appConfig:e,heartbeatServiceProvider:t},a){let r=function(e,{fid:t}){return`${eO(e)}/${t}/authTokens:generate`}(e,a),n=function(e,{refreshToken:t}){var a;let r=eB(e);return r.append("Authorization",(a=t,`${eT} ${a}`)),r}(e,a),i=t.getImmediate({optional:!0});if(i){let e=await i.getHeartbeatsHeader();e&&n.append("x-firebase-client",e)}let s={method:"POST",headers:n,body:JSON.stringify({installation:{sdkVersion:eA,a
1ppId:e.appId}})},o=await e$(()=>fetch(r,s));if(o.ok)return eM(await o.json());throw await eL("Generate Auth Token",o)}async function e6(e,t=!1){let a,r=await eQ(e.appConfig,r=>{var n,i,s;let o;if(!e4(r))throw ek.create("not-registered");let l=r.authToken;if(!t&&2===(n=l).requestStatus&&(i=n,!((o=Date.now())<i.creationTime)&&!(i.creationTime+i.expiresIn<o+36e5)))return r;if(1===l.requestStatus)return a=e2(e,t),r;{let t;if(!navigator.onLine)throw ek.create("app-offline");let n=(s=r,t={requestStatus:1,requestTime:Date.now()},{...s,authToken:t});return a=e3(e,n),n}});return a?await a:r.authToken}async function e2(e,t){let a=await e5(e.appConfig);for(;1===a.authToken.requestStatus;)await ej(100),a=await e5(e.appConfig);let r=a.authToken;return 0===r.requestStatus?e6(e,t):r}function e5(e){return eQ(e,e=>{var t;if(!e4(e))throw ek.create("not-registered");return 1===(t=e.authToken).requestStatus&&t.requestTime+1e4<Date.now()?{...e,authToken:{requestStatus:0}}:e})}async function e3(e,t){try{let a=await e1(e,t),r={...t,authToken:a};return await eK(e.appConfig,r),a}catch(a){if(eP(a)&&(401===a.customData.serverCode||404===a.customData.serverCode))await eG(e.appConfig);else{let a={...t,authToken:{requestStatus:0}};await eK(e.appConfig,a)}throw a}}function e4(e){return void 0!==e&&2===e.registrationStatus}async function e7(e){let{installationEntry:t,registrationPromise:a}=await eJ(e);return a?a.catch(console.error):e6(e).catch(console.error),t.fid}async function e8(e,t=!1){return await e9(e),(await e6(e,t)).token}async function e9(e){let{registrationPromise:t}=await eJ(e);t&&await t}function te(e){return ek.create("missing-app-config-values",{valueName:e})}let tt="installations";ec(new P(tt,e=>{let t=e.getProvider("app").getImmediate(),a=function(e){if(!e||!e.options)throw te("App Configuration");if(!e.name)throw te("App Name");for(let t of["projectId","apiKey","appId"])if(!e.options[t])throw te(t);return{appName:e.name,projectId:e.options.projectId,apiKey:e.options.apiKey,appId:e.options.appId}}(t),r=ed(t,"heartbeat");return{app:t,appConfig:a,heartbeatServiceProvider:r,_delete:()=>Promise.resolve()}},"PUBLIC")),ec(new P("installations-internal",e=>{let t=ed(e.getProvider("app").getImmediate(),tt).getImmediate();return{getId:()=>e7(t),getToken:e=>e8(t,e)}},"PRIVATE")),ep(eC,eD),ep(eC,eD,"esm2020");let ta="analytics",tr="https://www.googletagmanager.com/gtag/js",tn=new F("@firebase/analytics"),ti=new _("analytics","Analytics",{"already-exists":"A Firebase Analytics instance with the appId {$id}  already exists. Only one Firebase Analytics instance can be created for each appId.","already-initialized":"initializeAnalytics() cannot be called again with different options than those it was initially called with. It can be called again with the same options to return the existing instance, or getAnalytics() can be used to get a reference to the already-initialized instance.","already-initialized-settings":"Firebase Analytics has already been initialized.settings() must be called before initializing any Analytics instanceor it will have no effect.","interop-component-reg-failed":"Firebase Analytics Interop Component failed to instantiate: {$reason}","invalid-analytics-context":"Firebase Analytics is not supported in this environment. Wrap initialization of analytics in analytics.isSupported() to prevent initialization in unsupported environments. Details: {$errorInfo}","indexeddb-unavailable":"IndexedDB unavailable or restricted in this environment. Wrap initialization of analytics in analytics.isSupported() to prevent initialization in unsupported environments. Details: {$errorInfo}","fetch-throttle":"The config fetch request timed out while in an exponential backoff state. Unix timestamp in milliseconds when fetch request throttling ends: {$throttleEndTimeMillis}.","config-fetch-failed":"Dynamic config fetch failed: [{$httpStatus}] {$responseMessage}","no-api-key":'The "apiKey" field is empty in the local Firebase config. Firebase Analytics requires this field tocontain a valid API key.',"no-app-id":'The "appId" field is empty in the local Firebase config. Firebase Analytics requires this field tocontain a valid app ID.',"no-client-id":'The "client_id" field is empty.',"invali
1d-gtag-resource":"Trusted Types detected an invalid gtag resource: {$gtagURL}."});function ts(e){if(!e.startsWith(tr)){let t=ti.create("invalid-gtag-resource",{gtagURL:e});return tn.warn(t.message),""}return e}function to(e){return Promise.all(e.map(e=>e.catch(e=>e)))}async function tl(e,t,a,r,n,i){let s=r[n];try{if(s)await t[s];else{let e=(await to(a)).find(e=>e.measurementId===n);e&&await t[e.appId]}}catch(e){tn.error(e)}e("config",n,i)}async function tc(e,t,a,r,n){try{let i=[];if(n&&n.send_to){let e=n.send_to;Array.isArray(e)||(e=[e]);let r=await to(a);for(let a of e){let e=r.find(e=>e.measurementId===a),n=e&&t[e.appId];if(n)i.push(n);else{i=[];break}}}0===i.length&&(i=Object.values(t)),await Promise.all(i),e("event",r,n||{})}catch(e){tn.error(e)}}let td=new class{constructor(e={},t=1e3){this.throttleMetadata=e,this.intervalMillis=t}getThrottleMetadata(e){return this.throttleMetadata[e]}setThrottleMetadata(e,t){this.throttleMetadata[e]=t}deleteThrottleMetadata(e){delete this.throttleMetadata[e]}};async function th(e){let{appId:t,apiKey:a}=e,r={method:"GET",headers:new Headers({Accept:"application/json","x-goog-api-key":a})},n="https://firebase.googleapis.com/v1alpha/projects/-/apps/{app-id}/webConfig".replace("{app-id}",t),i=await fetch(n,r);if(200!==i.status&&304!==i.status){let e="";try{let t=await i.json();t.error?.message&&(e=t.error.message)}catch(e){}throw ti.create("config-fetch-failed",{httpStatus:i.status,responseMessage:e})}return i.json()}async function tu(e,t=td,a){let{appId:r,apiKey:n,measurementId:i}=e.options;if(!r)throw ti.create("no-app-id");if(!n){if(i)return{measurementId:i,appId:r};throw ti.create("no-api-key")}let s=t.getThrottleMetadata(r)||{backoffCount:0,throttleEndTimeMillis:Date.now()},o=new tp;return setTimeout(async()=>{o.abort()},void 0!==a?a:6e4),tf({appId:r,apiKey:n,measurementId:i},s,o,t)}async function tf(e,{throttleEndTimeMillis:t,backoffCount:a},r,n=td){let{appId:i,measurementId:s}=e;try{var o,l;await (o=r,l=t,new Promise((e,t)=>{let a=setTimeout(e,Math.max(l-Date.now(),0));o.addEventListener(()=>{clearTimeout(a),t(ti.create("fetch-throttle",{throttleEndTimeMillis:l}))})}))}catch(e){if(s)return tn.warn(`Timed out fetching this Firebase app's measurement ID from the server. Falling back to the measurement ID ${s} provided in the "measurementId" field in the local Firebase config. [${e?.message}]`),{appId:i,measurementId:s};throw e}try{let t=await th(e);return n.deleteThrottleMetadata(i),t}catch(l){if(!function(e){if(!(e instanceof S)||!e.customData)return!1;let t=Number(e.customData.httpStatus);return 429===t||500===t||503===t||504===t}(l)){if(n.deleteThrottleMetadata(i),s)return tn.warn(`Failed to fetch this Firebase app's measurement ID from the server. Falling back to the measurement ID ${s} provided in the "measurementId" field in the local Firebase config. [${l?.message}]`),{appId:i,measurementId:s};throw l}let t=503===Number(l?.customData?.httpStatus)?T(a,n.intervalMillis,30):T(a,n.intervalMillis),o={throttleEndTimeMillis:Date.now()+t,backoffCount:a+1};return n.setThrottleMetadata(i,o),tn.debug(`Calling attemptFetch again in ${t} millis`),tf(e,o,r,n)}}class tp{constructor(){this.listeners=[]}addEventListener(e){this.listeners.push(e)}abort(){this.listeners.forEach(e=>e())}}async function tm(e,t,a,r,n){if(n&&n.global)return void e("event",a,r);{let n=await t;e("event",a,{...r,send_to:n})}}async function tg(e,t,a,r){if(r&&r.global){let t={};for(let e of Object.keys(a))t[`user_properties.${e}`]=a[e];return e("set",t),Promise.resolve()}e("config",await t,{update:!0,user_properties:a})}async function tb(){if(!v())return tn.warn(ti.create("indexeddb-unavailable",{errorInfo:"IndexedDB is not available in this environment."}).message),!1;try{await I()}catch(e){return tn.warn(ti.create("indexeddb-unavailable",{errorInfo:e?.toString()}).message),!1}return!0}async function tw(e,t,a,i,s,o,l){var c,d;let h,u,f,p,m=tu(e);m.then(t=>{a[t.measurementId]=t.appId,e.options.measurementId&&t.measurementId!==e.options.measurementId&&tn.warn(`The measurement ID in the local Firebase config (${e.options.measurementId}) does not match the measurement ID fetched from the server (${t.measurementId}). To ensure analytics events are always sent to the correct Analytics property, update the measurement ID field in the local config or remove it from the local config.`)}).catch(e=>tn.error(e)),t.push(m);let g=tb().then(e=>e?i.getId():void 0),[b,w]=await Promise.all([m,g]);!function(e){for(let t of Object.values(window.document.getElementsByTagName("script")))if(t.src&&t.src.includes(tr)&&t.src.includes(e))return t;return null}(o)&&(c=b.measurementId,d={createScriptURL:ts},window.trustedTypes&&(h=window.trustedTypes.createPolicy("firebase-js-sdk-policy",d)),u=h,f=document.createElement("script"),p=`${tr}?l=${o}&id=${c}`,f.src=u?u?.createScriptURL(p):p,f.async=!0,document.head.appendChild(f)),n&&(s("consent","default",n),n=void 0),s("js",new Date);let y=l?.config??{};return y.origin="firebase",y.update=!0,null!=w&&(y.firebase_id=w),s("config",b.measurementId,y),r&&(s("set",r),r=void 0),b.measurementId}class ty{constructor(e){this.app=e}_delete(){return delete tv[this.app.options.appId],Promise.resolve()}}let tv={},tI=[],tE={},tS="dataLayer",t_=!1;async function tC(){if(y()||!E()||!v())return!1;try{return await I()}catch(e){return!1}}let tD="@firebase/analytics",tA="0.10.22";ec(new P(ta,(e,{options:t})=>(function(e,t,a){let r=[];if(y()&&r.push("This is a browser extension environment."),E()||r.push("Cookies are not available."),r.length>0){let e=r.map((e,t)=>`(${t+1}) ${e}`).join(" "),t=ti.create("invalid-analytics-context",{errorInfo:e});tn.warn(t.message)}let n=e.options.appId;if(!n)throw ti.create("no-app-id");if(!e.options.apiKey)if(e.options.measurementId)tn.warn(`The "apiKey" field is empty in the local Firebase config. This is needed to fetch the latest measurement ID for this Firebase app. Falling back to the measurement ID ${e.options.measurementId} provided in the "measurementId" field in the local Firebase config.`);else throw ti.create("no-api-key");if(null!=tv[n])throw ti.create("already-exists",{id:n});if(!t_){var o,l;let e,t;e=[],Array.isArray(window[tS])?e=window[tS]:window[tS]=e;let{wrappedGtag:a,gtagCore:r}=(o="gtag",t=function(){window[tS].push(arguments)},window[o]&&"function"==typeof window[o]&&(t=window[o]),window[o]=(l=t,async function(e,...t){try{if("event"===e){let[e,a]=t;await tc(l,tv,tI,e,a)}else if("config"===e){let[e,a]=t;await tl(l,tv,tI,tE,e,a)}else if("consent"===e){let[e,a]=t;l("consent",e,a)}else if("get"===e){let[e,a,r]=t;l("get",e,a,r)}else if("set"===e){let[e]=t;l("set",e)}else l(e,...t)}catch(e){tn.error(e)}}),{gtagCore:t,wrappedGtag:window[o]});s=a,i=r,t_=!0}return tv[n]=tw(e,tI,tE,t,i,tS,a),new ty(e)})(e.getProvider("app").getImmediate(),e.getProvider("installations-internal").getImmediate(),t),"PUBLIC")),ec(new P("analytics-internal",function(e){try{let t=e.getProvider(ta).getImmediate();return{logEvent:(e,a,r)=>{var n;return n=t,void(n=k(n),tm(s,tv[n.app.options.appId],e,a,r).catch(e=>tn.error(e)))},setUserProperties:(e,a)=>{var r;return r=t,void(r=k(r),tg(s,tv[r.app.options.appId],e,a).catch(e=>tn.error(e)))}}}catch(e){throw ti.create("interop-component-reg-failed",{reason:e})}},"PRIVATE")),ep(tD,tA),ep(tD,tA,"esm2020");
1let tT={apiKey:"AIzaSyCmtds_7DrE4vdOsmxMR3FRAKVMh0CmgbQ",authDomain:"idle-prod-bd682.firebaseapp.com",projectId:"idle-prod-bd682",storageBucket:"idle-prod-bd682.firebasestorage.app",messagingSenderId:"514215365636",appId:"1:514215365636:web:a6da8798cd1e577b847951",measurementId:"G-0BPEK9HFYQ"},tk=["app.idlebooking.com","idle-prod-bd682.web.app","idle-prod-bd682.firebaseapp.com"],tP=null;async function tO(){let e;return(e=window.location.hostname,tk.includes(e)||e.endsWith(".hosted.app"))?tP||(await tC().catch(()=>!1)?tP=function(e=function(e=er){let t=ei.get(e);if(!t&&e===er&&b())return ef();if(!t)throw eh.create("no-app",{appName:e});return t}()){let t=ed(e=k(e),ta);return t.isInitialized()?t.getImmediate():function(e,t={}){let a=ed(e,ta);if(a.isInitialized()){let e=a.getImmediate();if(D(t,a.getOptions()))return e;throw ti.create("already-initialized")}return a.initialize({options:t})}(e)}(Array.from(ei.values())[0]??ef(tT)):null):null}e.s(["FirebaseAnalytics",0,function(){return(0,d.useEffect)(()=>{tO()},[]),null}],16657)},97308,e=>{"use strict";var t=e.i(71645),a=e.i(18566),r=e.i(54885),n=e.i(75679);e.s(["MetaPixel",0,function(){let e=(0,a.usePathname)(),i=t.useRef(!1);return t.useEffect(()=>{i.current?(0,r.pageView)():(i.current=!0,(0,n.syncMeasurementConsent)(),(0,r.initPixel)())},[e]),null}])},19916,e=>{"use strict";var t=e.i(71645);e.s(["NumberInputGuard",0,function(){return t.useEffect(()=>{let e=e=>{let t=document.activeElement;t instanceof HTMLInputElement&&"number"===t.type&&t===e.target&&t.blur()};return document.addEventListener("wheel",e,{capture:!0}),()=>document.removeEventListener("wheel",e,{capture:!0})},[]),null}])},29018,e=>{"use strict";var t=e.i(71645);function a(e){return!(!/iPhone|iPod/.test(e)||!/Safari\//.test(e)||/CriOS|FxiOS|EdgiOS|OPiOS|GSA\/|DuckDuckGo/.test(e))&&Number(e.match(/Version\/(\d+)/)?.[1]??0)>=26}e.s(["BottomChromeProbe",0,function(){return t.useEffect(()=>{let e=document.documentElement;return a(navigator.userAgent)&&(e.dataset.overlayToolbar=""),()=>{delete e.dataset.overlayToolbar}},[]),t.useEffect(()=>{let e=window.visualViewport;if(!e)return;let t=document.documentElement,a=()=>{let a=window.innerHeight-(e.height+e.offsetTop),r=a>0&&a<=160?Math.round(a):0;t.style.setProperty("--chrome-bottom",`${r}px`)};return a(),e.addEventListener("resize",a),e.addEventListener("scroll",a),window.addEventListener("orientationchange",a),()=>{e.removeEventListener("resize",a),e.removeEventListener("scroll",a),window.removeEventListener("orientationchange",a),t.style.removeProperty("--chrome-bottom")}},[]),null},"hasOverlayToolbar",0,a])}]);

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.