1try{!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="a0cede0f-9cac-4a81-8750-e9c8da21096d",e._sentryDebugIdIdentifier="sentry-dbid-a0cede0f-9cac-4a81-8750-e9c8da21096d")}()}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4209],{56430:function(e,t,n){"use strict";n.d(t,{BH:function(){return m},L:function(){return u},LL:function(){return _},ZR:function(){return w},aH:function(){return g},eu:function(){return b},hl:function(){return v},m9:function(){return I},vZ:function(){return function e(t,n){if(t===n)return!0;let r=Object.keys(t),i=Object.keys(n);for(let a of r){if(!i.includes(a))return!1;let r=t[a],s=n[a];if(E(r)&&E(s)){if(!e(r,s))return!1}else if(r!==s)return!1}for(let e of i)if(!r.includes(e))return!1;return!0}},zI:function(){return y}});var r=n(32608);let i=function(e){let t=[],n=0;for(let r=0;r<e.length;r++){let i=e.charCodeAt(r);i<128?t[n++]=i:(i<2048?t[n++]=i>>6|192:((64512&i)==55296&&r+1<e.length&&(64512&e.charCodeAt(r+1))==56320?(i=65536+((1023&i)<<10)+(1023&e.charCodeAt(++r)),t[n++]=i>>18|240,t[n++]=i>>12&63|128):t[n++]=i>>12|224,t[n++]=i>>6&63|128),t[n++]=63&i|128)}return t},a=function(e){let t=[],n=0,r=0;for(;n<e.length;){let i=e[n++];if(i<128)t[r++]=String.fromCharCode(i);else if(i>191&&i<224){let a=e[n++];t[r++]=String.fromCharCode((31&i)<<6|63&a)}else if(i>239&&i<365){let a=((7&i)<<18|(63&e[n++])<<12|(63&e[n++])<<6|63&e[n++])-65536;t[r++]=String.fromCharCode(55296+(a>>10)),t[r++]=String.fromCharCode(56320+(1023&a))}else{let a=e[n++],s=e[n++];t[r++]=String.fromCharCode((15&i)<<12|(63&a)<<6|63&s)}}return t.join("")},s={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 n=t?this.byteToCharMapWebSafe_:this.byteToCharMap_,r=[];for(let t=0;t<e.length;t+=3){let i=e[t],a=t+1<e.length,s=a?e[t+1]:0,o=t+2<e.length,c=o?e[t+2]:0,u=i>>2,l=(3&i)<<4|s>>4,f=(15&s)<<2|c>>6,h=63&c;o||(h=64,a||(f=64)),r.push(n[u],n[l],n[f],n[h])}return r.join("")},encodeString(e,t){return this.HAS_NATIVE_SUPPORT&&!t?btoa(e):this.encodeByteArray(i(e),t)},decodeString(e,t){return this.HAS_NATIVE_SUPPORT&&!t?atob(e):a(this.decodeStringToByteArray(e,t))},decodeStringToByteArray(e,t){this.init_();let n=t?this.charToByteMapWebSafe_:this.charToByteMap_,r=[];for(let t=0;t<e.length;){let i=n[e.charAt(t++)],a=t<e.length?n[e.charAt(t)]:0,s=++t<e.length?n[e.charAt(t)]:64,c=++t<e.length?n[e.charAt(t)]:64;if(++t,null==i||null==a||null==s||null==c)throw new o;let u=i<<2|a>>4;if(r.push(u),64!==s){let e=a<<4&240|s>>2;if(r.push(e),64!==c){let e=s<<6&192|c;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)}}};class o extends Error{constructor(){super(...arguments),this.name="DecodeBase64StringError"}}let c=function(e){let t=i(e);return s.encodeByteArray(t,!0)},u=function(e){return c(e).replace(/\./g,"")},l=function(e){try{return s.decodeString(e,!0)}catch(e){console.error("base64Decode failed: ",e)}return null},f=()=>(function(){if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if(void 0!==n.g)return n.g;throw Error("Unable to locate global object.")})().__FIREBASE_DEFAULTS__,h=()=>
1{if(void 0===r||void 0===r.env)return;let e=r.env.__FIREBASE_DEFAULTS__;if(e)return JSON.parse(e)},d=()=>{let e;if("undefined"==typeof document)return;try{e=document.cookie.match(/__FIREBASE_DEFAULTS__=([^;]+)/)}catch(e){return}let t=e&&l(e[1]);return t&&JSON.parse(t)},p=()=>{try{return f()||h()||d()}catch(e){console.info(`Unable to get __FIREBASE_DEFAULTS__ due to: ${e}`);return}},g=()=>{var e;return null===(e=p())||void 0===e?void 0:e.config};class m{constructor(){this.reject=()=>{},this.resolve=()=>{},this.promise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}wrapCallback(e){return(t,n)=>{t?this.reject(t):this.resolve(n),"function"==typeof e&&(this.promise.catch(()=>{}),1===e.length?e(t):e(t,n))}}}function v(){try{return"object"==typeof indexedDB}catch(e){return!1}}function b(){return new Promise((e,t)=>{try{let n=!0,r="validate-browser-context-for-indexeddb-analytics-module",i=self.indexedDB.open(r);i.onsuccess=()=>{i.result.close(),n||self.indexedDB.deleteDatabase(r),e(!0)},i.onupgradeneeded=()=>{n=!1},i.onerror=()=>{var e;t((null===(e=i.error)||void 0===e?void 0:e.message)||"")}}catch(e){t(e)}})}function y(){return"undefined"!=typeof navigator&&!!navigator.cookieEnabled}class w extends Error{constructor(e,t,n){super(t),this.code=e,this.customData=n,this.name="FirebaseError",Object.setPrototypeOf(this,w.prototype),Error.captureStackTrace&&Error.captureStackTrace(this,_.prototype.create)}}class _{constructor(e,t,n){this.service=e,this.serviceName=t,this.errors=n}create(e,...t){let n=t[0]||{},r=`${this.service}/${e}`,i=this.errors[e],a=i?i.replace(S,(e,t)=>{let r=n[t];return null!=r?String(r):`<${t}?>`}):"Error",s=`${this.serviceName}: ${a} (${r}).`;return new w(r,s,n)}}let S=/\{\$([^}]+)}/g;function E(e){return null!==e&&"object"==typeof e}function I(e){return e&&e._delegate?e._delegate:e}},40208:function(e){var t;t=function(){"use strict";var e="millisecond",t="second",n="minute",r="hour",i="week",a="month",s="quarter",o="year",c="date",u="Invalid Date",l=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,f=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,h=function(e,t,n){var r=String(e);return!r||r.length>=t?e:""+Array(t+1-r.length).join(n)+e},d="en",p={};p[d]={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],n=e%100;return"["+e+(t[(n-20)%10]||t[n]||"th")+"]"}};var g="$isDayjsObject",m=function(e){return e instanceof w||!(!e||!e[g])},v=function e(t,n,r){var i;if(!t)return d;if("string"==typeof t){var a=t.toLowerCase();p[a]&&(i=a),n&&(p[a]=n,i=a);var s=t.split("-");if(!i&&s.length>1)return e(s[0])}else{var o=t.name;p[o]=t,i=o}return!r&&i&&(d=i),i||!r&&d},b=function(e,t){if(m(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new w(n)},y={s:h,z:function(e){var t=-e.utcOffset(),n=Math.abs(t);return(t<=0?"+":"-")+h(Math.floor(n/60),2,"0")+":"+h(n%60,2,"0")},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var r=12*(n.year()-t.year())+(n.month()-t.month()),i=t.clone().add(r,a),s=n-i<0,o=t.clone().add(r+(s?-1:1),a);return+(-(r+(n-i)/(s?i-o:o-i))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(u){return({M:a,y:o,w:i,d:"day",D:c,h:r,m:n,s:t,ms:e,Q:s})[u]||String(u||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}};y.l=v,y.i=m,y.w=function(e,t){return b(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var w=function(){function h(e){this.$L=v(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[g]=!0}var d=h.prototype;return d.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(y.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var r=t.match(l);if(r){var i=r[2]-1||0,a=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,a)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,a)}}return new Date(t)}(e),this.init()},d.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},d.$utils=function(){return y},d.isValid=function(){return this.$d.toString()!==u},d.isSame=function(e,t){var n=b(e);return this.startOf(t)<=n&&n<=this.endOf(t)},d.isAfter=function(e,t){return b(e)<this.startOf(t)},d.isBefore=function(e,t){return this.endOf(t)<b(e)},d.$g=function(e,t,n){return y.u(e)?this[t]:this.set(n,e)},d.unix=function(){return Math.floor(this.valueOf()/1e3)},d.valueOf=function(){return this.$d.getTime()},d.startOf=function(e,s){var u=this,l=!!y.u(s)||s,f=y.p(e),h=function(e,t){var n=y.w(u.$u?Date.UTC(u.$y,t,e):new Date(u.$y,t,e),u);return l?n:n.endOf("day")},d=function(e,t){return y.w(u.toDate()[e].apply(u.toDate("s"),(l?[0,0,0,0]:[23,59,59,999]).slice(t)),u)},p=this.$W,g=this.$M,m=this.$D,v="set"+(this.$u?"UTC":"");switch(f){case o:return l?h(1,0):h(31,11);case a:return l?h(1,g):h(0,g+1);case i:var b=this.$locale().weekStart||0,w=(p<b?p+7:p)-b;return h(l?m-w:m+(6-w),g);case"day":case c:return d(v+"Hours",0);case r:return d(v+"Minutes",1);case n:return d(v+"Seconds",2);case t:return d(v+"Milliseconds",3);default:return this.clone()}},d.endOf=function(e){return this.startOf(e,!1)},d.$set=function(i,s){var u,l=y.p(i),f="set"+(this.$u?"UTC":""),h=((u={}).day=f+"Date",u[c]=f+"Date",u[a]=f+"Month",u[o]=f+"FullYear",u[r]=f+"Hours",u[n]=f+"Minutes",u[t]=f+"Seconds",u[e]=f+"Milliseconds",u)[l],d="day"===l?this.$D+(s-this.$W):s;if(l===a||l===o){var p=this.clone().set(c,1);p.$d[h](d),p.init(),this.$d=p.set(c,Math.min(this.$D,p.daysInMonth())).$d}else h&&this.$d[h](d);return this.init(),this},d.set=function(e,t){return this.clone().$set(e,t)},d.get=function(e){return this[y.p(e)]()},d.add=function(e,s){var c,u=this;e=Number(e);var l=y.p(s),f=function(t){var n=b(u);return y.w(n.date(n.date()+Math.round(t*e)),u)};if(l===a)return this.set(a,this.$M+e);if(l===o)return this.set(o,this.$y+e);if("day"===l)return f(1);if(l===i)return f(7);var h=((c={})[n]=6e4,c[r]=36e5,c[t]=1e3,c)[l]||1,d=this.$d.getTime()+e*h;return y.w(d,this)},d.subtract=function(e,t){return this.add(-1*e,t)},d.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||u;var r=e||"YYYY-MM-DDTHH:mm:ssZ",i=y.z(this),a=this.$H,s=this.$m,o=this.$M,c=n.weekdays,l=n.months,h=n.meridiem,d=function(e,n,i,a){return e&&(e[
1n]||e(t,r))||i[n].slice(0,a)},p=function(e){return y.s(a%12||12,e,"0")},g=h||function(e,t,n){var r=e<12?"AM":"PM";return n?r.toLowerCase():r};return r.replace(f,function(e,r){return r||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return y.s(t.$y,4,"0");case"M":return o+1;case"MM":return y.s(o+1,2,"0");case"MMM":return d(n.monthsShort,o,l,3);case"MMMM":return d(l,o);case"D":return t.$D;case"DD":return y.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return d(n.weekdaysMin,t.$W,c,2);case"ddd":return d(n.weekdaysShort,t.$W,c,3);case"dddd":return c[t.$W];case"H":return String(a);case"HH":return y.s(a,2,"0");case"h":return p(1);case"hh":return p(2);case"a":return g(a,s,!0);case"A":return g(a,s,!1);case"m":return String(s);case"mm":return y.s(s,2,"0");case"s":return String(t.$s);case"ss":return y.s(t.$s,2,"0");case"SSS":return y.s(t.$ms,3,"0");case"Z":return i}return null}(e)||i.replace(":","")})},d.utcOffset=function(){return-(15*Math.round(this.$d.getTimezoneOffset()/15))},d.diff=function(e,c,u){var l,f=this,h=y.p(c),d=b(e),p=(d.utcOffset()-this.utcOffset())*6e4,g=this-d,m=function(){return y.m(f,d)};switch(h){case o:l=m()/12;break;case a:l=m();break;case s:l=m()/3;break;case i:l=(g-p)/6048e5;break;case"day":l=(g-p)/864e5;break;case r:l=g/36e5;break;case n:l=g/6e4;break;case t:l=g/1e3;break;default:l=g}return u?l:y.a(l)},d.daysInMonth=function(){return this.endOf(a).$D},d.$locale=function(){return p[this.$L]},d.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),r=v(e,t,!0);return r&&(n.$L=r),n},d.clone=function(){return y.w(this.$d,this)},d.toDate=function(){return new Date(this.valueOf())},d.toJSON=function(){return this.isValid()?this.toISOString():null},d.toISOString=function(){return this.$d.toISOString()},d.toString=function(){return this.$d.toUTCString()},h}(),_=w.prototype;return b.prototype=_,[["$ms",e],["$s",t],["$m",n],["$H",r],["$W","day"],["$M",a],["$y",o],["$D",c]].forEach(function(e){_[e[1]]=function(t){return this.$g(t,e[0],e[1])}}),b.extend=function(e,t){return e.$i||(e(t,w,b),e.$i=!0),b},b.locale=v,b.isDayjs=m,b.unix=function(e){return b(1e3*e)},b.en=p[d],b.Ls=p,b.p={},b},e.exports=t()},5066:function(e){var t;t=function(){"use strict";var e={year:0,month:1,day:2,hour:3,minute:4,second:5},t={};return function(n,r,i){var a,s=function(e,n,r){void 0===r&&(r={});var i,a,s,o,c=new Date(e);return(void 0===(i=r)&&(i={}),(o=t[s=n+"|"+(a=i.timeZoneName||"short")])||(o=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:n,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:a}),t[s]=o),o).formatToParts(c)},o=function(t,n){for(var r=s(t,n),a=[],o=0;o<r.length;o+=1){var c=r[o],u=c.type,l=c.value,f=e[u];f>=0&&(a[f]=parseInt(l,10))}var h=a[3],d=a[0]+"-"+a[1]+"-"+a[2]+" "+(24===h?0:h)+":"+a[4]+":"+a[5]+":000",p=+t;return(i.utc(d).valueOf()-(p-=p%1e3))/6e4},c=r.prototype;c.tz=function(e,t){void 0===e&&(e=a);var n,r=this.utcOffset(),s=this.toDate(),o=s.toLocaleString("en-US",{timeZone:e}),c=Math.round((s-new Date(o))/1e3/60),u=-(15*Math.round(s.getTimezoneOffset()/15))-c;if(Number(u)){if(n=i(o,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(u,!0),t){var l=n.utcOffset();n=n.add(r-l,"minute")}}else n=this.utcOffset(0,t);return n.$x.$timezone=e,n},c.offsetName=function(e){var t=this.$x.$timezone||i.tz.guess(),n=s(this.valueOf(),t,{timeZoneName:e}).find(function(e){return"timezonename"===e.type.toLowerCase()});return n&&n.value};var u=c.startOf;c.startOf=function(e,t){if(!this.$x||!this.$x.$timezone)return u.call(this,e,t);var n=i(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return u.call(n,e,t).tz(this.$x.$timezone,!0)},i.tz=function(e,t,n){var r=n&&t,s=n||t||a,c=o(+i(),s);if("string"!=typeof e)return i(e).tz(s);var u=function(e,t,n){var r=e-60*t*1e3,i=o(r,n);if(t===i)return[r,t];var a=o(r-=60*(i-t)*1e3,n);return i===a?[r,i]:[e-60*Math.min(i,a)*1e3,Math.max(i,a)]}(i.utc(e,r).valueOf(),c,s),l=u[0],f=u[1],h=i(l).utcOffset(f);return h.$x.$timezone=s,h},i.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},i.tz.setDefault=function(e){a=e}}},e.exports=t()},7277:function(e){var t;t=function(){"use strict";var e="minute",t=/[+-]\d\d(?::?\d\d)?/g,n=/([+-]|\d\d)/g;return function(r,i,a){var s=i.prototype;a.utc=function(e){var t={date:e,utc:!0,args:arguments};return new i(t)},s.utc=function(t){var n=a(this.toDate(),{locale:this.$L,utc:!0});return t?n.add(this.utcOffset(),e):n},s.local=function(){return a(this.toDate(),{locale:this.$L,utc:!1})};var o=s.parse;s.parse=function(e){e.utc&&(this.$u=!0),this.$utils().u(e.$offset)||(this.$offset=e.$offset),o.call(this,e)};var c=s.init;s.init=function(){if(this.$u){var e=this.$d;this.$y=e.getUTCFullYear(),this.$M=e.getUTCMonth(),this.$D=e.getUTCDate(),this.$W=e.getUTCDay(),this.$H=e.getUTCHours(),this.$m=e.getUTCMinutes(),this.$s=e.getUTCSeconds(),this.$ms=e.getUTCMilliseconds()}else c.call(this)};var u=s.utcOffset;s.utcOffset=function(r,i){var a=this.$utils().u;if(a(r))return this.$u?0:a(this.$offset)?u.call(this):this.$offset;if("string"==typeof r&&null===(r=function(e){void 0===e&&(e="");var r=e.match(t);if(!r)return null;var i=(""+r[0]).match(n)||["-",0,0],a=i[0],s=60*+i[1]+ +i[2];return 0===s?0:"+"===a?s:-s}(r)))return this;var s=16>=Math.abs(r)?60*r:r,o=this;if(i)return o.$offset=s,o.$u=0===r,o;if(0!==r){var c=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(o=this.local().add(s+c,e)).$offset=s,o.$x.$localOffset=c}else o=this.utc();return o};var l=s.format;s.format=function(e){var t=e||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return l.call(this,t)},s.valueOf=function(){var e=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*e},s.isUTC=function(){return!!this.$u},s.toISOString=function(){return this.toDate().toISOString()},s.toString=function(){return this.toDate().toUTCString()};var f=s.toDate;s.toDate=function(e){return"s"===e&&this.$offset?a(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():f.call(this)};var h=s.diff;s.diff=function(e,t,n){if(e&&this.$u===e.$u)return h.call(this,e,t,n);var r=this.local(),i=a(e).local();return h.call(r,i,t,n)}}},e.exports=t()},77194:function(e,t,n){"use strict";n.d(t,{C6:function(){return E},KN:function(){return I},Mq:function(){return S},Xd:function(){return v},ZF:function(){return _},qX:function(){return b}});var r=n(72409),i=n(47484),a=n(56430),s=n(30567);class o{constructor(e){this.container=e}getPlatformInfoString(){return this.container.getProviders().map(e=>{if(!function(e){let t=e.getComponent();return(null==t?void 0:t.type)==="VERSION"}(e))return null;{let t=e.getImmediate();return`${t.library}/${t.version}`}}).filter(e=>e).join(" ")}}let c="@firebase/app",u="0.10.13",l=new i.Yd("@firebase/app"),f="[DEFAULT]",h={[c]:"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/vertexai-preview":"fire-vertex","fire-js":"fire-js",firebase:"fire-js-all"},d=new Map,p=new Map,g=new Map;function m(e,t){try{e.container.addComponent(t)}catch(n){l.debug(`Component ${t.name} failed to register with FirebaseApp ${e.name}`,n)}}function v(e){let t=e.name;if(g.has(t))return l.debug(`There were multiple attempts to register component ${t}.`),!1;
1for(let n of(g.set(t,e),d.values()))m(n,e);for(let t of p.values())m(t,e);return!0}function b(e,t){let n=e.container.getProvider("heartbeat").getImmediate({optional:!0});return n&&n.triggerHeartbeat(),e.container.getProvider(t)}let y=new a.LL("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 w{constructor(e,t,n){this._isDeleted=!1,this._options=Object.assign({},e),this._config=Object.assign({},t),this._name=t.name,this._automaticDataCollectionEnabled=t.automaticDataCollectionEnabled,this._container=n,this.container.addComponent(new r.wA("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 y.create("app-deleted",{appName:this._name})}}function _(e,t={}){let n=e;"object"!=typeof t&&(t={name:t});let i=Object.assign({name:f,automaticDataCollectionEnabled:!1},t),s=i.name;if("string"!=typeof s||!s)throw y.create("bad-app-name",{appName:String(s)});if(n||(n=(0,a.aH)()),!n)throw y.create("no-options");let o=d.get(s);if(o){if((0,a.vZ)(n,o.options)&&(0,a.vZ)(i,o.config))return o;throw y.create("duplicate-app",{appName:s})}let c=new r.H0(s);for(let e of g.values())c.addComponent(e);let u=new w(n,i,c);return d.set(s,u),u}function S(e=f){let t=d.get(e);if(!t&&e===f&&(0,a.aH)())return _();if(!t)throw y.create("no-app",{appName:e});return t}function E(){return Array.from(d.values())}function I(e,t,n){var i;let a=null!==(i=h[e])&&void 0!==i?i:e;n&&(a+=`-${n}`);let s=a.match(/\s|\//),o=t.match(/\s|\//);if(s||o){let e=[`Unable to register library "${a}" with version "${t}":`];s&&e.push(`library name "${a}" contains illegal characters (whitespace or "/")`),s&&o&&e.push("and"),o&&e.push(`version name "${t}" contains illegal characters (whitespace or "/")`),l.warn(e.join(" "));return}v(new r.wA(`${a}-version`,()=>({library:a,version:t}),"VERSION"))}let $="firebase-heartbeat-store",T=null;function D(){return T||(T=(0,s.X3)("firebase-heartbeat-database",1,{upgrade:(e,t)=>{if(0===t)try{e.createObjectStore($)}catch(e){console.warn(e)}}}).catch(e=>{throw y.create("idb-open",{originalErrorMessage:e.message})})),T}async function C(e){try{let t=(await D()).transaction($),n=await t.objectStore($).get(O(e));return await t.done,n}catch(e){if(e instanceof a.ZR)l.warn(e.message);else{let t=y.create("idb-get",{originalErrorMessage:null==e?void 0:e.message});l.warn(t.message)}}}async function M(e,t){try{let n=(await D()).transaction($,"readwrite"),r=n.objectStore($);await r.put(t,O(e)),await n.done}catch(e){if(e instanceof a.ZR)l.warn(e.message);else{let t=y.create("idb-set",{originalErrorMessage:null==e?void 0:e.message});l.warn(t.message)}}}function O(e){return`${e.name}!${e.options.appId}`}class A{constructor(e){this.container=e,this._heartbeatsCache=null;let t=this.container.getProvider("app").getImmediate();this._storage=new N(t),this._heartbeatsCachePromise=this._storage.read().then(e=>(this._heartbeatsCache=e,e))}async triggerHeartbeat(){var e,t;try{let n=this.container.getProvider("platform-logger").getImmediate().getPlatformInfoString(),r=k();if((null===(e=this._heartbeatsCache)||void 0===e?void 0:e.heartbeats)==null&&(this._heartbeatsCache=await this._heartbeatsCachePromise,(null===(t=this._heartbeatsCache)||void 0===t?void 0:t.heartbeats)==null)||this._heartbeatsCache.lastSentHeartbeatDate===r||this._heartbeatsCache.heartbeats.some(e=>e.date===r))return;return this._heartbeatsCache.heartbeats.push({date:r,agent:n}),this._heartbeatsCache.heartbeats=this._heartbeatsCache.heartbeats.filter(e=>{let t=new Date(e.date).valueOf();return Date.now()-t<=2592e6}),this._storage.overwrite(this._heartbeatsCache)}catch(e){l.warn(e)}}async getHeartbeatsHeader(){var e;try{if(null===this._heartbeatsCache&&await this._heartbeatsCachePromise,(null===(e=this._heartbeatsCache)||void 0===e?void 0:e.heartbeats)==null||0===this._heartbeatsCache.heartbeats.length)return"";let t=k(),{heartbeatsToSend:n,unsentEntries:r}=function(e,t=1024){let n=[],r=e.slice();for(let i of e){let e=n.find(e=>e.agent===i.agent);if(e){if(e.dates.push(i.date),L(n)>t){e.dates.pop();break}}else if(n.push({agent:i.agent,dates:[i.date]}),L(n)>t){n.pop();break}r=r.slice(1)}return{heartbeatsToSend:n,unsentEntries:r}}(this._heartbeatsCache.heartbeats),i=(0,a.L)(JSON.stringify({version:2,heartbeats:n}));return this._heartbeatsCache.lastSentHeartbeatDate=t,r.length>0?(this._heartbeatsCache.heartbeats=r,await this._storage.overwrite(this._heartbeatsCache)):(this._heartbeatsCache.heartbeats=[],this._storage.overwrite(this._heartbeatsCache)),i}catch(e){return l.warn(e),""}}}function k(){return new Date().toISOString().substring(0,10)}class N{constructor(e){this.app=e,this._canUseIndexedDBPromise=this.runIndexedDBEnvironmentCheck()}async runIndexedDBEnvironmentCheck(){return!!(0,a.hl)()&&(0,a.eu)().then(()=>!0).catch(()=>!1)}async read(){if(!await this._canUseIndexedDBPromise)return{heartbeats:[]};{let e=await C(this.app);return(null==e?void 0:e.heartbeats)?e:{heartbeats:[]}}}async overwrite(e){var t;if(await this._canUseIndexedDBPromise){let n=await this.read();return M(this.app,{lastSentHeartbeatDate:null!==(t=e.lastSentHeartbeatDate)&&void 0!==t?t:n.lastSentHeartbeatDate,heartbeats:e.heartbeats})}}async add(e){var t;if(await this._canUseIndexedDBPromise){let n=await this.read();return M(this.app,{lastSentHeartbeatDate:null!==(t=e.lastSentHeartbeatDate)&&void 0!==t?t:n.lastSentHeartbeatDate,heartbeats:[...n.heartbeats,...e.heartbeats]})}}}function L(e){return(0,a.L)(JSON.stringify({version:2,heartbeats:e})).length}v(new r.wA("platform-logger",e=>new o(e),"PRIVATE")),v(new r.wA("heartbeat",e=>new A(e),"PRIVATE")),I(c,u,""),I(c,u,"esm2017"),I("fire-js","")}
1,72409:function(e,t,n){"use strict";n.d(t,{H0:function(){return o},wA:function(){return i}});var r=n(56430);class i{constructor(e,t,n){this.name=e,this.instanceFactory=t,this.type=n,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 a="[DEFAULT]";class s{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 r.BH;if(this.instancesDeferred.set(t,e),this.isInitialized(t)||this.shouldAutoInitialize())try{let n=this.getOrInitializeService({instanceIdentifier:t});n&&e.resolve(n)}catch(e){}}return this.instancesDeferred.get(t).promise}getImmediate(e){var t;let n=this.normalizeInstanceIdentifier(null==e?void 0:e.identifier),r=null!==(t=null==e?void 0:e.optional)&&void 0!==t&&t;if(this.isInitialized(n)||this.shouldAutoInitialize())try{return this.getOrInitializeService({instanceIdentifier:n})}catch(e){if(r)return null;throw e}else{if(r)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:a})}catch(e){}for(let[e,t]of this.instancesDeferred.entries()){let n=this.normalizeInstanceIdentifier(e);try{let e=this.getOrInitializeService({instanceIdentifier:n});t.resolve(e)}catch(e){}}}}clearInstance(e=a){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=a){return this.instances.has(e)}getOptions(e=a){return this.instancesOptions.get(e)||{}}initialize(e={}){let{options:t={}}=e,n=this.normalizeInstanceIdentifier(e.instanceIdentifier);if(this.isInitialized(n))throw Error(`${this.name}(${n}) has already been initialized`);if(!this.isComponentSet())throw Error(`Component ${this.name} has not been registered yet`);let r=this.getOrInitializeService({instanceIdentifier:n,options:t});for(let[e,t]of this.instancesDeferred.entries())n===this.normalizeInstanceIdentifier(e)&&t.resolve(r);return r}onInit(e,t){var n;let r=this.normalizeInstanceIdentifier(t),i=null!==(n=this.onInitCallbacks.get(r))&&void 0!==n?n:new Set;i.add(e),this.onInitCallbacks.set(r,i);let a=this.instances.get(r);return a&&e(a,r),()=>{i.delete(e)}}invokeOnInitCallbacks(e,t){let n=this.onInitCallbacks.get(t);if(n)for(let r of n)try{r(e,t)}catch(e){}}getOrInitializeService({instanceIdentifier:e,options:t={}}){let n=this.instances.get(e);if(!n&&this.component&&(n=this.component.instanceFactory(this.container,{instanceIdentifier:e===a?void 0:e,options:t}),this.instances.set(e,n),this.instancesOptions.set(e,t),this.invokeOnInitCallbacks(n,e),this.component.onInstanceCreated))try{this.component.onInstanceCreated(this.container,e,n)}catch(e){}return n||null}normalizeInstanceIdentifier(e=a){return this.component?this.component.multipleInstances?e:a:e}shouldAutoInitialize(){return!!this.component&&"EXPLICIT"!==this.component.instantiationMode}}class o{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 s(e,this);return this.providers.set(e,t),t}getProviders(){return Array.from(this.providers.values())}}},47484:function(e,t,n){"use strict";var r,i;n.d(t,{Yd:function(){return l},in:function(){return r}});let a=[];(i=r||(r={}))[i.DEBUG=0]="DEBUG",i[i.VERBOSE=1]="VERBOSE",i[i.INFO=2]="INFO",i[i.WARN=3]="WARN",i[i.ERROR=4]="ERROR",i[i.SILENT=5]="SILENT";let s={debug:r.DEBUG,verbose:r.VERBOSE,info:r.INFO,warn:r.WARN,error:r.ERROR,silent:r.SILENT},o=r.INFO,c={[r.DEBUG]:"log",[r.VERBOSE]:"log",[r.INFO]:"info",[r.WARN]:"warn",[r.ERROR]:"error"},u=(e,t,...n)=>{if(t<e.logLevel)return;let r=new Date().toISOString(),i=c[t];if(i)console[i](`[${r}] ${e.name}:`,...n);
1else throw Error(`Attempted to log a message with an invalid logType (value: ${t})`)};class l{constructor(e){this.name=e,this._logLevel=o,this._logHandler=u,this._userLogHandler=null,a.push(this)}get logLevel(){return this._logLevel}set logLevel(e){if(!(e in r))throw TypeError(`Invalid value "${e}" assigned to \`logLevel\``);this._logLevel=e}setLogLevel(e){this._logLevel="string"==typeof e?s[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,r.DEBUG,...e),this._logHandler(this,r.DEBUG,...e)}log(...e){this._userLogHandler&&this._userLogHandler(this,r.VERBOSE,...e),this._logHandler(this,r.VERBOSE,...e)}info(...e){this._userLogHandler&&this._userLogHandler(this,r.INFO,...e),this._logHandler(this,r.INFO,...e)}warn(...e){this._userLogHandler&&this._userLogHandler(this,r.WARN,...e),this._logHandler(this,r.WARN,...e)}error(...e){this._userLogHandler&&this._userLogHandler(this,r.ERROR,...e),this._logHandler(this,r.ERROR,...e)}}},94268:function(e,t,n){"use strict";n.d(t,{C6:function(){return r.C6},ZF:function(){return r.ZF}});var r=n(77194);(0,r.KN)("firebase","10.14.1","app")},47228:function(e,t,n){"use strict";let r,i,a,s,o,c;n.d(t,{r:function(){return eH},g4:function(){return eF}});var u,l,f=n(56430),h=n(47484),d=n(77194),p=n(72409),g=n(30567);let m="@firebase/installations",v="0.6.9",b=`w:${v}`,y="FIS_v2",w=new f.LL("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 _(e){return e instanceof f.ZR&&e.code.includes("request-failed")}function S({projectId:e}){return`https://firebaseinstallations.googleapis.com/v1/projects/${e}/installations`}function E(e){return{token:e.token,requestStatus:2,expiresIn:Number(e.expiresIn.replace("s","000")),creationTime:Date.now()}}async function I(e,t){let n=(await t.json()).error;return w.create("request-failed",{requestName:e,serverCode:n.code,serverMessage:n.message,serverStatus:n.status})}function $({apiKey:e}){return new Headers({"Content-Type":"application/json",Accept:"application/json","x-goog-api-key":e})}async function T(e){let t=await e();return t.status>=500&&t.status<600?e():t}async function D({appConfig:e,heartbeatServiceProvider:t},{fid:n}){let r=S(e),i=$(e),a=t.getImmediate({optional:!0});if(a){let e=await a.getHeartbeatsHeader();e&&i.append("x-firebase-client",e)}let s={method:"POST",headers:i,body:JSON.stringify({fid:n,authVersion:y,appId:e.appId,sdkVersion:b})},o=await T(()=>fetch(r,s));if(o.ok){let e=await o.json();return{fid:e.fid||n,registrationStatus:2,refreshToken:e.refreshToken,authToken:E(e.authToken)}}throw await I("Create Installation",o)}function C(e){return new Promise(t=>{setTimeout(t,e)})}let M=/^[cdef][\w-]{21}$/;function O(e){return`${e.appName}!${e.appId}`}let A=new Map;function k(e,t){let n=O(e);N(n,t),function(e,t){let n=(!L&&"BroadcastChannel"in self&&((L=new BroadcastChannel("[Firebase] FID Change")).onmessage=e=>{N(e.data.key,e.data.fid)}),L);n&&n.postMessage({key:e,fid:t}),0===A.size&&L&&(L.close(),L=null)}(n,t)}function N(e,t){let n=A.get(e);if(n)for(let e of n)e(t)}let L=null,B="firebase-installations-store",P=null;function R(){return P||(P=(0,g.X3)("firebase-installations-database",1,{upgrade:(e,t)=>{0===t&&e.createObjectStore(B)}})),P}async function U(e,t){let n=O(e),r=(await R()).transaction(B,"readwrite"),i=r.objectStore(B),a=await i.get(n);return await i.put(t,n),await r.done,a&&a.fid===t.fid||k(e,t.fid),t}async function j(e){let t=O(e),n=(await R()).transaction(B,"readwrite");await n.objectStore(B).delete(t),await n.done}async function H(e,t){let n=O(e),r=(await R()).transaction(B,"readwrite"),i=r.objectStore(B),a=await i.get(n),s=t(a);return void 0===s?await i.delete(n):await i.put(s,n),await r.done,s&&(!a||a.fid!==s.fid)&&k(e,s.fid),s}async function F(e){let t;let n=await H(e.appConfig,n=>{let r=function(e,t){if(0===t.registrationStatus){if(!navigator.onLine)return{installationEntry:t,registrationPromise:Promise.reject(w.create("app-offline"))};let n={fid:t.fid,registrationStatus:1,registrationTime:Date.now()},r=x(e,n);return{installationEntry:n,registrationPromise:r}}return 1===t.registrationStatus?{installationEntry:t,registrationPromise:z(e)}:{installationEntry:t}}(e,q(n||{fid:function(){try{let e=new Uint8Array(17);(self.crypto||self.msCrypto).getRandomValues(e),e[0]=112+e[0]%16;let t=btoa(String.fromCharCode(...e)).replace(/\+/g,"-").replace(/\//g,"_").substr(0,22);return M.test(t)?t:""}catch(e){return""}}(),registrationStatus:0}));return t=r.registrationPromise,r.installationEntry});return""===n.fid?{installationEntry:await t}:{installationEntry:n,registrationPromise:t}}async function x(e,t){try{let n=await D(e,t);return U(e.appConfig,n)}catch(n){throw _(n)&&409===n.customData.serverCode?await j(e.appConfig):await U(e.appConfig,{fid:t.fid,registrationStatus:0}),n}}async function z(e){let t=await V(e.appConfig);for(;1===t.registrationStatus;)await C(100),t=await V(e.appConfig);if(0===t.registrationStatus){let{installationEntry:t,registrationPromise:n}=await F(e);return n||t}return t}function V(e){return H(e,e=>{if(!e)throw w.create("installation-not-found");return q(e)})}function q(e){return 1===e.registrationStatus&&e.registrationTime+1e4<Date.now()?{fid:e.fid,registrationStatus:0}:e}async function W({appConfig:e,heartbeatServiceProvider:t},n){let r=function(e,{fid:t}){return`${S(e)}/${t}/authTokens:generate`}(e,n),i=function(e,{refreshToken:t}){let n=$(e);return n.append("Authorization",`${y} ${t}`),n}(e,n),a=t.getImmediate({optional:!0});if(a){let e=await a.getHeartbeatsHeader();e&&i.append("x-firebase-client",e)}let s={method:"POST",headers:i,body:JSON.stringify({installation:{sdkVersion:b,appId:e.appId}})},o=await T(()=>fetch(r,s));if(o.ok)return E(await o.json());throw await I("Generate Auth Token",o)}async function Y(e,t=!1){let n;let r=await H(e.appConfig,r=>{var i;if(!X(r))throw w.create("not-registered");let a=r.authToken;if(!t&&2===(i=a).requestStatus&&!function(e){let t=Date.now();
1return t<e.creationTime||e.creationTime+e.expiresIn<t+36e5}(i))return r;if(1===a.requestStatus)return n=Z(e,t),r;{if(!navigator.onLine)throw w.create("app-offline");let t=function(e){let t={requestStatus:1,requestTime:Date.now()};return Object.assign(Object.assign({},e),{authToken:t})}(r);return n=J(e,t),t}});return n?await n:r.authToken}async function Z(e,t){let n=await K(e.appConfig);for(;1===n.authToken.requestStatus;)await C(100),n=await K(e.appConfig);let r=n.authToken;return 0===r.requestStatus?Y(e,t):r}function K(e){return H(e,e=>{var t;if(!X(e))throw w.create("not-registered");return 1===(t=e.authToken).requestStatus&&t.requestTime+1e4<Date.now()?Object.assign(Object.assign({},e),{authToken:{requestStatus:0}}):e})}async function J(e,t){try{let n=await W(e,t),r=Object.assign(Object.assign({},t),{authToken:n});return await U(e.appConfig,r),n}catch(n){if(_(n)&&(401===n.customData.serverCode||404===n.customData.serverCode))await j(e.appConfig);else{let n=Object.assign(Object.assign({},t),{authToken:{requestStatus:0}});await U(e.appConfig,n)}throw n}}function X(e){return void 0!==e&&2===e.registrationStatus}async function G(e){let{installationEntry:t,registrationPromise:n}=await F(e);return n?n.catch(console.error):Y(e).catch(console.error),t.fid}async function Q(e,t=!1){return await ee(e),(await Y(e,t)).token}async function ee(e){let{registrationPromise:t}=await F(e);t&&await t}function et(e){return w.create("missing-app-config-values",{valueName:e})}let en="installations";(0,d.Xd)(new p.wA(en,e=>{let t=e.getProvider("app").getImmediate(),n=function(e){if(!e||!e.options)throw et("App Configuration");if(!e.name)throw et("App Name");for(let t of["projectId","apiKey","appId"])if(!e.options[t])throw et(t);return{appName:e.name,projectId:e.options.projectId,apiKey:e.options.apiKey,appId:e.options.appId}}(t),r=(0,d.qX)(t,"heartbeat");return{app:t,appConfig:n,heartbeatServiceProvider:r,_delete:()=>Promise.resolve()}},"PUBLIC")),(0,d.Xd)(new p.wA("installations-internal",e=>{let t=e.getProvider("app").getImmediate(),n=(0,d.qX)(t,en).getImmediate();return{getId:()=>G(n),getToken:e=>Q(n,e)}},"PRIVATE")),(0,d.KN)(m,v),(0,d.KN)(m,v,"esm2017");let er="@firebase/performance",ei="0.6.9",ea="FB-PERF-TRACE-MEASURE",es="_wt_",eo="_fcp",ec="_fid",eu="@firebase/performance/config",el="@firebase/performance/configexpire",ef="Performance",eh=new f.LL("performance",ef,{"trace started":"Trace {$traceName} was started before.","trace stopped":"Trace {$traceName} is not running.","nonpositive trace startTime":"Trace {$traceName} startTime should be positive.","nonpositive trace duration":"Trace {$traceName} duration should be positive.","no window":"Window is not available.","no app id":"App id is not available.","no project id":"Project id is not available.","no api key":"Api key is not available.","invalid cc log":"Attempted to queue invalid cc event","FB not default":"Performance can only start when Firebase app instance is the default one.","RC response not ok":"RC response is not ok","invalid attribute name":"Attribute name {$attributeName} is invalid.","invalid attribute value":"Attribute value {$attributeValue} is invalid.","invalid custom metric name":"Custom metric name {$customMetricName} is invalid","invalid String merger input":"Input for String merger is invalid, contact support team to resolve.","already initialized":"initializePerformance() has already been called with different options. To avoid this error, call initializePerformance() with the same options as when it was originally called, or call getPerformance() to return the already initialized instance."}),ed=new h.Yd(ef);ed.logLevel=h.in.INFO;class ep{constructor(e){if(this.window=e,!e)throw eh.create("no window");this.performance=e.performance,this.PerformanceObserver=e.PerformanceObserver,this.windowLocation=e.location,this.navigator=e.navigator,this.document=e.document,this.navigator&&this.navigator.cookieEnabled&&(this.localStorage=e.localStorage),e.perfMetrics&&e.perfMetrics.onFirstInputDelay&&(this.onFirstInputDelay=e.perfMetrics.onFirstInputDelay)}getUrl(){return this.windowLocation.href.split("?")[0]}mark(e){this.performance&&this.performance.mark&&this.performance.mark(e)}measure(e,t,n){this.performance&&this.performance.measure&&this.performance.measure(e,t,n)}getEntriesByType(e){return this.performance&&this.performance.getEntriesByType?this.performance.getEntriesByType(e):[]}getEntriesByName(e){return this.performance&&this.performance.getEntriesByName?this.performance.getEntriesByName(e):[]}getTimeOrigin(){return this.performance&&(this.performance.timeOrigin||this.performance.timing.navigationStart)}requiredApisAvailable(){return fetch&&Promise&&(0,f.zI)()?!!(0,f.hl)()||(ed.info("IndexedDB is not supported by current browser"),!1):(ed.info("Firebase Performance cannot start if browser does not support fetch and Promise or cookie is disabled."),!1)}setupObserver(e,t){this.PerformanceObserver&&new this.PerformanceObserver(e=>{for(let n of e.getEntries())t(n)}).observe({entryTypes:[e]})}static getInstance(){return void 0===r&&(r=new ep(i)),r}}function eg(e,t){let n=e.length-t.length;if(n<0||n>1)throw eh.create("invalid String merger input");let r=[];for(let n=0;n<e.length;n++)r.push(e.charAt(n)),t.length>n&&r.push(t.charAt(n));return r.join("")}class em{constructor(){this.instrumentationEnabled=!0,this.dataCollectionEnabled=!0,this.loggingEnabled=!1,this.tracesSampl
1ingRate=1,this.networkRequestsSamplingRate=1,this.logEndPointUrl="https://firebaselogging.googleapis.com/v0cc/log?format=json_proto",this.flTransportEndpointUrl=eg("hts/frbslgigp.ogepscmv/ieo/eaylg","tp:/ieaeogn-agolai.o/1frlglgc/o"),this.transportKey=eg("AzSC8r6ReiGqFMyfvgow","Iayx0u-XT3vksVM-pIV"),this.logSource=462,this.logTraceAfterSampling=!1,this.logNetworkAfterSampling=!1,this.configTimeToLive=12}getFlTransportFullUrl(){return this.flTransportEndpointUrl.concat("?key=",this.transportKey)}static getInstance(){return void 0===s&&(s=new em),s}}(u=l||(l={}))[u.UNKNOWN=0]="UNKNOWN",u[u.VISIBLE=1]="VISIBLE",u[u.HIDDEN=2]="HIDDEN";let ev=["firebase_","google_","ga_"],eb=RegExp("^[a-zA-Z]\\w*$");function ey(){switch(ep.getInstance().document.visibilityState){case"visible":return l.VISIBLE;case"hidden":return l.HIDDEN;default:return l.UNKNOWN}}function ew(e){var t;let n=null===(t=e.options)||void 0===t?void 0:t.appId;if(!n)throw eh.create("no app id");return n}let e_={loggingEnabled:!0};function eS(e){if(!e)return e;let t=em.getInstance(),n=e.entries||{};return void 0!==n.fpr_enabled?t.loggingEnabled="true"===String(n.fpr_enabled):t.loggingEnabled=e_.loggingEnabled,n.fpr_log_source?t.logSource=Number(n.fpr_log_source):e_.logSource&&(t.logSource=e_.logSource),n.fpr_log_endpoint_url?t.logEndPointUrl=n.fpr_log_endpoint_url:e_.logEndPointUrl&&(t.logEndPointUrl=e_.logEndPointUrl),n.fpr_log_transport_key?t.transportKey=n.fpr_log_transport_key:e_.transportKey&&(t.transportKey=e_.transportKey),void 0!==n.fpr_vc_network_request_sampling_rate?t.networkRequestsSamplingRate=Number(n.fpr_vc_network_request_sampling_rate):void 0!==e_.networkRequestsSamplingRate&&(t.networkRequestsSamplingRate=e_.networkRequestsSamplingRate),void 0!==n.fpr_vc_trace_sampling_rate?t.tracesSamplingRate=Number(n.fpr_vc_trace_sampling_rate):void 0!==e_.tracesSamplingRate&&(t.tracesSamplingRate=e_.tracesSamplingRate),t.logTraceAfterSampling=eE(t.tracesSamplingRate),t.logNetworkAfterSampling=eE(t.networkRequestsSamplingRate),e}function eE(e){return Math.random()<=e}let eI=1;function e$(e){return eI=2,o=o||(function(){let e=ep.getInstance().document;return new Promise(t=>{if(e&&"complete"!==e.readyState){let n=()=>{"complete"===e.readyState&&(e.removeEventListener("readystatechange",n),t())};e.addEventListener("readystatechange",n)}else t()})})().then(()=>(function(e){let t=e.getId();return t.then(e=>{a=e}),t})(e.installations)).then(t=>(function(e,t){let n=function(){let e=ep.getInstance().localStorage;if(!e)return;let t=e.getItem(el);if(!t||!(Number(t)>Date.now()))return;let n=e.getItem(eu);if(n)try{return JSON.parse(n)}catch(e){return}}();return n?(eS(n),Promise.resolve()):(function(e){let t=e.getToken();return t.then(e=>{}),t})(e.installations).then(n=>{let r=function(e){var t;let n=null===(t=e.options)||void 0===t?void 0:t.projectId;if(!n)throw eh.create("no project id");return n}(e.app),i=function(e){var t;let n=null===(t=e.options)||void 0===t?void 0:t.apiKey;if(!n)throw eh.create("no api key");return n}(e.app);return fetch(new Request(`https://firebaseremoteconfig.googleapis.com/v1/projects/${r}/namespaces/fireperf:fetch?key=${i}`,{method:"POST",headers:{Authorization:`FIREBASE_INSTALLATIONS_AUTH ${n}`},body:JSON.stringify({app_instance_id:t,app_instance_id_token:n,app_id:ew(e.app),app_version:ei,sdk_version:"0.0.1"})})).then(e=>{if(e.ok)return e.json();throw eh.create("RC response not ok")})}).catch(()=>{ed.info("Could not fetch config, will use default configs")}).then(eS).then(e=>(function(e){let t=ep.getInstance().localStorage;e&&t&&(t.setItem(eu,JSON.stringify(e)),t.setItem(el,String(Date.now()+36e5*em.getInstance().configTimeToLive)))})(e),()=>{})})(e,t)).then(()=>void(eI=3),()=>void(eI=3))}let eT=3,eD=[],eC=!1;function eM(e,t){if(!c){var n;n=ek,c=(...e)=>{!function(e){if(!e.eventTime||!e.message)throw eh.create("invalid cc log");eD=[...eD,e]}({message:n(...e),eventTime:Date.now()})}}c(e,t)}function eO(e){let t=em.getInstance();(t.instrumentationEnabled||!e.isAuto)&&(t.dataCollectionEnabled||e.isAuto)&&ep.getInstance().requiredApisAvailable()&&(!e.isAuto||ey()===l.VISIBLE)&&(3===eI?eA(e):e$(e.performanceController).then(()=>eA(e),()=>eA(e)))}function eA(e){if(!a)return;let t=em.getInstance();t.loggingEnabled&&t.logTraceAfterSampling&&setTimeout(()=>eM(e,1),0)}function ek(e,t){return 0===t?function(e){let t={url:e.url,http_method:e.httpMethod||0,http_response_code:200,response_payload_bytes:e.responsePayloadBytes,client_start_time_us:e.startTimeUs,time_to_response_initiated_us:e.timeToResponseInitiatedUs,time_to_response_completed_us:e.timeToResponseCompletedUs};return JSON.stringify({application_info:eN(e.performanceController.app),network_request_metric:t})}(e):function(e){let t={name:e.name,is_auto:e.isAuto,client_start_time_us:e.startTimeUs,duration_us:e.durationUs};0!==Object.keys(e.counters).length&&(t.counters=e.counters);let n=e.getAttributes();return 0!==Object.keys(n).length&&(t.custom_attributes=n),JSON.stringify({application_info:eN(e.performanceController.app),trace_metric:t})}(e)}function eN(e){return{google_app_id:ew(e),app_instance_id:a,web_app_info:{sdk_version:ei,page_url:ep.getInstance().getUrl(),service_worker_status:function(){let e=ep.getInstance().navigator;return null!=e&&e.serviceWorker?e.serviceWorker.controller?2:3:1}(),visibility_state:ey(),effective_connection_type:function(){let e=ep.getInstance().navigator.connection;switch(e&&e.effectiveType){case"slow-2g":return 1;case"2g":return 2;case"3g":return 3;case"4g":return 4;default:return 0}}()},application_process_state:0}}let eL=["_fp",eo,ec];class eB{constructor(e,t,n=!1,r){this.performanceController=e,this.name=t,this.isAuto=n,this.state=1,this.customAttributes={},this.counters={},this.api=ep.getInstance(),this.randomId=Math.floor(1e6*Math.random()),!this.isAuto&&(this.traceStartMark=`FB-PERF-TRACE-START-${this.randomId}-${this.name}`,this.traceStopMark=`FB-PERF-TRACE-STOP-${this.randomId}-${this.name}`,this.traceMeasure=r||`${ea}-${this.randomId}-${this.name}`,r&&this.calculateTraceMetrics())}
1start(){if(1!==this.state)throw eh.create("trace started",{traceName:this.name});this.api.mark(this.traceStartMark),this.state=2}stop(){if(2!==this.state)throw eh.create("trace stopped",{traceName:this.name});this.state=3,this.api.mark(this.traceStopMark),this.api.measure(this.traceMeasure,this.traceStartMark,this.traceStopMark),this.calculateTraceMetrics(),eO(this)}record(e,t,n){if(e<=0)throw eh.create("nonpositive trace startTime",{traceName:this.name});if(t<=0)throw eh.create("nonpositive trace duration",{traceName:this.name});if(this.durationUs=Math.floor(1e3*t),this.startTimeUs=Math.floor(1e3*e),n&&n.attributes&&(this.customAttributes=Object.assign({},n.attributes)),n&&n.metrics)for(let e of Object.keys(n.metrics))isNaN(Number(n.metrics[e]))||(this.counters[e]=Math.floor(Number(n.metrics[e])));eO(this)}incrementMetric(e,t=1){void 0===this.counters[e]?this.putMetric(e,t):this.putMetric(e,this.counters[e]+t)}putMetric(e,t){var n;if(n=this.name,0!==e.length&&!(e.length>100)&&(n&&n.startsWith(es)&&eL.indexOf(e)>-1||!e.startsWith("_")))this.counters[e]=function(e){let t=Math.floor(e);return t<e&&ed.info(`Metric value should be an Integer, setting the value as : ${t}.`),t}(null!=t?t:0);else throw eh.create("invalid custom metric name",{customMetricName:e})}getMetric(e){return this.counters[e]||0}putAttribute(e,t){let n=0!==e.length&&!(e.length>40)&&!ev.some(t=>e.startsWith(t))&&!!e.match(eb),r=0!==t.length&&t.length<=100;if(n&&r){this.customAttributes[e]=t;return}if(!n)throw eh.create("invalid attribute name",{attributeName:e});if(!r)throw eh.create("invalid attribute value",{attributeValue:t})}getAttribute(e){return this.customAttributes[e]}removeAttribute(e){void 0!==this.customAttributes[e]&&delete this.customAttributes[e]}getAttributes(){return Object.assign({},this.customAttributes)}setStartTime(e){this.startTimeUs=e}setDuration(e){this.durationUs=e}calculateTraceMetrics(){let e=this.api.getEntriesByName(this.traceMeasure),t=e&&e[0];t&&(this.durationUs=Math.floor(1e3*t.duration),this.startTimeUs=Math.floor((t.startTime+this.api.getTimeOrigin())*1e3))}static createOobTrace(e,t,n,r){let i=ep.getInstance().getUrl();if(!i)return;let a=new eB(e,es+i,!0),s=Math.floor(1e3*ep.getInstance().getTimeOrigin());if(a.setStartTime(s),t&&t[0]&&(a.setDuration(Math.floor(1e3*t[0].duration)),a.putMetric("domInteractive",Math.floor(1e3*t[0].domInteractive)),a.putMetric("domContentLoadedEventEnd",Math.floor(1e3*t[0].domContentLoadedEventEnd)),a.putMetric("loadEventEnd",Math.floor(1e3*t[0].loadEventEnd))),n){let e=n.find(e=>"first-paint"===e.name);e&&e.startTime&&a.putMetric("_fp",Math.floor(1e3*e.startTime));let t=n.find(e=>"first-contentful-paint"===e.name);t&&t.startTime&&a.putMetric(eo,Math.floor(1e3*t.startTime)),r&&a.putMetric(ec,Math.floor(1e3*r))}eO(a)}static createUserTimingTrace(e,t){eO(new eB(e,t,!1,t))}}function eP(e,t){if(!t||void 0===t.responseStart)return;let n=ep.getInstance().getTimeOrigin(),r=Math.floor((t.startTime+n)*1e3),i=t.responseStart?Math.floor((t.responseStart-t.startTime)*1e3):void 0,a=Math.floor((t.responseEnd-t.startTime)*1e3);!function(e){let t=em.getInstance();if(!t.instrumentationEnabled)return;let n=e.url,r=t.logEndPointUrl.split("?")[0],i=t.flTransportEndpointUrl.split("?")[0];n!==r&&n!==i&&t.loggingEnabled&&t.logNetworkAfterSampling&&setTimeout(()=>eM(e,0),0)}({performanceController:e,url:t.name&&t.name.split("?")[0],responsePayloadBytes:t.transferSize,startTimeUs:r,timeToResponseInitiatedUs:i,timeToResponseCompletedUs:a})}function eR(e){a&&(setTimeout(()=>(function(e){let t=ep.getInstance(),n=t.getEntriesByType("navigation"),r=t.getEntriesByType("paint");if(t.onFirstInputDelay){let i=setTimeout(()=>{eB.createOobTrace(e,n,r),i=void 0},5e3);t.onFirstInputDelay(t=>{i&&(clearTimeout(i),eB.createOobTrace(e,n,r,t))})}else eB.createOobTrace(e,n,r)})(e),0),setTimeout(()=>(function(e){let t=ep.getInstance();for(let n of t.getEntriesByType("resource"))eP(e,n);t.setupObserver("resource",t=>eP(e,t))})(e),0),setTimeout(()=>(function(e){let t=ep.getInstance();for(let n of t.getEntriesByType("measure"))eU(e,n);t.setupObserver("measure",t=>eU(e,t))})(e),0))}function eU(e,t){let n=t.name;n.substring(0,ea.length)!==ea&&eB.createUserTimingTrace(e,n)}class ej{constructor(e,t){this.app=e,this.installations=t,this.initialized=!1}_init(e){this.initialized||((null==e?void 0:e.dataCollectionEnabled)!==void 0&&(this.dataCollectionEnabled=e.dataCollectionEnabled),(null==e?void 0:e.instrumentationEnabled)!==void 0&&(this.instrumentationEnabled=e.instrumentationEnabled),ep.getInstance().requiredApisAvailable()?(0,f.eu)().then(e=>{e&&(eC||(function e(t){setTimeout(()=>{if(0!==eT){if(!eD.length)return e(1e4);!function(){var t;let n=eD.splice(0,1e3),r=n.map(e=>({source_extension_json_proto3:e.message,event_time_ms:String(e.eventTime)}));(t={request_time_ms:String(Date.now()),client_info:{client_type:1,js_client_info:{}},log_source:em.getInstance().logSource,log_event:r},fetch(em.getInstance().getFlTransportFullUrl(),{method:"POST",body:JSON.stringify(t)}).then(e=>(e.ok||ed.info("Call to Firebase backend failed."),e.json())).then(t=>
1{let r=Number(t.nextRequestWaitMillis),i=1e4;isNaN(r)||(i=Math.max(r,i));let a=t.logResponseDetails;Array.isArray(a)&&a.length>0&&"RETRY_REQUEST_LATER"===a[0].responseAction&&(eD=[...n,...eD],ed.info("Retry transport request later.")),eT=3,e(i)})).catch(()=>{eD=[...n,...eD],eT--,ed.info(`Tries left: ${eT}.`),e(1e4)})}()}},t)}(5500),eC=!0),e$(this).then(()=>eR(this),()=>eR(this)),this.initialized=!0)}).catch(e=>{ed.info(`Environment doesn't support IndexedDB: ${e}`)}):ed.info('Firebase Performance cannot start if the browser does not support "Fetch" and "Promise", or cookies are disabled.'))}set instrumentationEnabled(e){em.getInstance().instrumentationEnabled=e}get instrumentationEnabled(){return em.getInstance().instrumentationEnabled}set dataCollectionEnabled(e){em.getInstance().dataCollectionEnabled=e}get dataCollectionEnabled(){return em.getInstance().dataCollectionEnabled}}function eH(e=(0,d.Mq)()){return e=(0,f.m9)(e),(0,d.qX)(e,"performance").getImmediate()}function eF(e,t){return new eB(e=(0,f.m9)(e),t)}(0,d.Xd)(new p.wA("performance",(e,{options:t})=>{let n=e.getProvider("app").getImmediate(),r=e.getProvider("installations-internal").getImmediate();if("[DEFAULT]"!==n.name)throw eh.create("FB not default");if("undefined"==typeof window)throw eh.create("no window");i=window;let a=new ej(n,r);return a._init(t),a},"PUBLIC")),(0,d.KN)(er,ei),(0,d.KN)(er,ei,"esm2017")},30567:function(e,t,n){"use strict";let r,i,a;n.d(t,{X3:function(){return g}});let s=(e,t)=>t.some(t=>e instanceof t),o=new WeakMap,c=new WeakMap,u=new WeakMap,l=new WeakMap,f=new WeakMap,h={get(e,t,n){if(e instanceof IDBTransaction){if("done"===t)return c.get(e);if("objectStoreNames"===t)return e.objectStoreNames||u.get(e);if("store"===t)return n.objectStoreNames[1]?void 0:n.objectStore(n.objectStoreNames[0])}return d(e[t])},set:(e,t,n)=>(e[t]=n,!0),has:(e,t)=>e instanceof IDBTransaction&&("done"===t||"store"===t)||t in e};function d(e){var t;if(e instanceof IDBRequest)return function(e){let t=new Promise((t,n)=>{let r=()=>{e.removeEventListener("success",i),e.removeEventListener("error",a)},i=()=>{t(d(e.result)),r()},a=()=>{n(e.error),r()};e.addEventListener("success",i),e.addEventListener("error",a)});return t.then(t=>{t instanceof IDBCursor&&o.set(t,e)}).catch(()=>{}),f.set(t,e),t}(e);if(l.has(e))return l.get(e);let n="function"==typeof(t=e)?t!==IDBDatabase.prototype.transaction||"objectStoreNames"in IDBTransaction.prototype?(i||(i=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])).includes(t)?function(...e){return t.apply(p(this),e),d(o.get(this))}:function(...e){return d(t.apply(p(this),e))}:function(e,...n){let r=t.call(p(this),e,...n);return u.set(r,e.sort?e.sort():[e]),d(r)}:(t instanceof IDBTransaction&&function(e){if(c.has(e))return;let t=new Promise((t,n)=>{let r=()=>{e.removeEventListener("complete",i),e.removeEventListener("error",a),e.removeEventListener("abort",a)},i=()=>{t(),r()},a=()=>{n(e.error||new DOMException("AbortError","AbortError")),r()};e.addEventListener("complete",i),e.addEventListener("error",a),e.addEventListener("abort",a)});c.set(e,t)}(t),s(t,r||(r=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])))?new Proxy(t,h):t;return n!==e&&(l.set(e,n),f.set(n,e)),n}let p=e=>f.get(e);function g(e,t,{blocked:n,upgrade:r,blocking:i,terminated:a}={}){let s=indexedDB.open(e,t),o=d(s);return r&&s.addEventListener("upgradeneeded",e=>{r(d(s.result),e.oldVersion,e.newVersion,d(s.transaction),e)}),n&&s.addEventListener("blocked",e=>n(e.oldVersion,e.newVersion,e)),o.then(e=>{a&&e.addEventListener("close",()=>a()),i&&e.addEventListener("versionchange",e=>i(e.oldVersion,e.newVersion,e))}).catch(()=>{}),o}let m=["get","getKey","getAll","getAllKeys","count"],v=["put","add","delete","clear"],b=new Map;function y(e,t){if(!(e instanceof IDBDatabase&&!(t in e)&&"string"==typeof t))return;if(b.get(t))return b.get(t);let n=t.replace(/FromIndex$/,""),r=t!==n,i=v.includes(n);if(!(n in(r?IDBIndex:IDBObjectStore).prototype)||!(i||m.includes(n)))return;let a=async function(e,...t){let a=this.transaction(e,i?"readwrite":"readonly"),s=a.store;
1return r&&(s=s.index(t.shift())),(await Promise.all([s[n](...t),i&&a.done]))[0]};return b.set(t,a),a}h={...a=h,get:(e,t,n)=>y(e,t)||a.get(e,t,n),has:(e,t)=>!!y(e,t)||a.has(e,t)}},40551:function(e,t,n){"use strict";n.d(t,{o:function(){return i}});class r extends Error{}function i(e,t){let n;if("string"!=typeof e)throw new r("Invalid token specified: must be a string");t||(t={});let i=!0===t.header?0:1,a=e.split(".")[i];if("string"!=typeof a)throw new r(`Invalid token specified: missing part #${i+1}`);try{n=function(e){let t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw Error("base64 string is not of the correct length")}try{var n;return n=t,decodeURIComponent(atob(n).replace(/(.)/g,(e,t)=>{let n=t.charCodeAt(0).toString(16).toUpperCase();return n.length<2&&(n="0"+n),"%"+n}))}catch(e){return atob(t)}}(a)}catch(e){throw new r(`Invalid token specified: invalid base64 for part #${i+1} (${e.message})`)}try{return JSON.parse(n)}catch(e){throw new r(`Invalid token specified: invalid json for part #${i+1} (${e.message})`)}}r.prototype.name="InvalidTokenError"},88915:function(e,t,n){"use strict";n.d(t,{Yn:function(){return B}});var r,i,a,s,o,c=-1,u=function(e){addEventListener("pageshow",function(t){t.persisted&&(c=t.timeStamp,e(t))},!0)},l=function(){var e=self.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0];if(e&&e.responseStart>0&&e.responseStart<performance.now())return e},f=function(){var e=l();return e&&e.activationStart||0},h=function(e,t){var n=l(),r="navigate";return c>=0?r="back-forward-cache":n&&(document.prerendering||f()>0?r="prerender":document.wasDiscarded?r="restore":n.type&&(r=n.type.replace(/_/g,"-"))),{name:e,value:void 0===t?-1:t,rating:"good",delta:0,entries:[],id:"v4-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12),navigationType:r}},d=function(e,t,n){try{if(PerformanceObserver.supportedEntryTypes.includes(e)){var r=new PerformanceObserver(function(e){Promise.resolve().then(function(){t(e.getEntries())})});return r.observe(Object.assign({type:e,buffered:!0},n||{})),r}}catch(e){}},p=function(e,t,n,r){var i,a;return function(s){var o;t.value>=0&&(s||r)&&((a=t.value-(i||0))||void 0===i)&&(i=t.value,t.delta=a,t.rating=(o=t.value)>n[1]?"poor":o>n[0]?"needs-improvement":"good",e(t))}},g=function(e){document.addEventListener("visibilitychange",function(){"hidden"===document.visibilityState&&e()})},m=function(e){var t=!1;return function(){t||(e(),t=!0)}},v=null,b=function(e){"hidden"===document.visibilityState&&v>-1&&(v="visibilitychange"===e.type?e.timeStamp:0,y())},y=function(){removeEventListener("visibilitychange",b,!0),removeEventListener("prerenderingchange",b,!0)},w=function(e){document.prerendering?addEventListener("prerenderingchange",function(){return e()},!0):e()},_=0,S=1/0,E=0,I=function(e){e.forEach(function(e){e.interactionId&&(S=Math.min(S,e.interactionId),_=(E=Math.max(E,e.interactionId))?(E-S)/7+1:0)})},$=function(){return r?_:performance.interactionCount||0},T=function(){"interactionCount"in performance||r||(r=d("event",I,{type:"event",buffered:!0,durationThreshold:0}))},D=[],C=new Map,M=0,O=function(){var e=Math.min(D.length-1,Math.floor(($()-M)/50));return D[e]},A=[],k=function(e){if(A.forEach(function(t){return t(e)}),e.interactionId||"first-input"===e.entryType){var t=D[D.length-1],n=C.get(e.interactionId);if(n||D.length<10||e.duration>t.latency){if(n)e.duration>n.latency?(n.entries=[e],n.latency=e.duration):e.duration===n.latency&&e.startTime===n.entries[0].startTime&&n.entries.push(e);else{var r={id:e.interactionId,latency:e.duration,entries:[e]};C.set(r.id,r),D.push(r)}D.sort(function(e,t){return t.latency-e.latency}),D.length>10&&D.splice(10).forEach(function(e){return C.delete(e.id)})}}},N=function(e){var t=self.requestIdleCallback||self.setTimeout,n=-1;return e=m(e),"hidden"===document.visibilityState?e():(n=t(e),g(e)),n},L=[200,500],B=function(e,t){"PerformanceEventTiming"in self&&"interactionId"in PerformanceEventTiming.prototype&&(t=t||{},w(function(){T();var n,r,i=h("INP"),a=function(e){N(function(){e.forEach(k);var t=O();t&&t.latency!==i.value&&(i.value=t.latency,i.entries=t.entries,r())})},s=d("event",a,{durationThreshold:null!==(n=t.durationThreshold)&&void 0!==n?n:40});r=p(e,i,L,t.reportAllChanges),s&&(s.observe({type:"first-input",buffered:!0}),g(function(){a(s.takeRecords()),r(!0)}),u(function(){M=$(),D.length=0,C.clear(),r=p(e,i=h("INP"),L,t.reportAllChanges)}))}))},P={passive:!0,capture:!0},R=new Date,U=function(e,t){i||(i=t,a=e,s=new Date,F(removeEventListener),j())},j=function(){if(a>
1=0&&a<s-R){var e={entryType:"first-input",name:i.type,target:i.target,cancelable:i.cancelable,startTime:i.timeStamp,processingStart:i.timeStamp+a};o.forEach(function(t){t(e)}),o=[]}},H=function(e){if(e.cancelable){var t,n,r,i=(e.timeStamp>1e12?new Date:performance.now())-e.timeStamp;"pointerdown"==e.type?(t=function(){U(i,e),r()},n=function(){r()},r=function(){removeEventListener("pointerup",t,P),removeEventListener("pointercancel",n,P)},addEventListener("pointerup",t,P),addEventListener("pointercancel",n,P)):U(i,e)}},F=function(e){["mousedown","keydown","touchstart","pointerdown"].forEach(function(t){return e(t,H,P)})}}}]);
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.