@streamlayer/react 0.34.0 → 0.34.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,18 +1,18 @@
1
1
  "use strict";var nC=Object.defineProperty;var rC=(r,o,s)=>o in r?nC(r,o,{enumerable:!0,configurable:!0,writable:!0,value:s}):r[o]=s;var J=(r,o,s)=>(rC(r,typeof o!="symbol"?o+"":o,s),s);const F=require("react/jsx-runtime"),Ke=require("react");function aC(r){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(r){for(const s in r)if(s!=="default"){const m=Object.getOwnPropertyDescriptor(r,s);Object.defineProperty(o,s,m.get?m:{enumerable:!0,get:()=>r[s]})}}return o.default=r,Object.freeze(o)}const K=aC(Ke),oC={BG_TRANSPARENT:"rgba(0,0,0, .8)",BG_TRANSPARENT_VOTE_CONTAINER:"rgba(10, 14, 19, 0.8)",BG_TRANSPARENT_ITEM:"rgba(0, 0, 0, 0.7)",BG_TRANSPARENT_ITEM_VOTE:"rgba(255, 255, 255, 0.1)",BG_TRANSPARENT_ITEM_SUCCESS:"rgba(0, 139, 251, 0.2)",BG_TRANSPARENT_ITEM_ERROR:"rgba(205, 37, 37, 0.2)",BG_TRANSPARENT_VOTE_PROGRESS:"rgba(255, 255, 255, 0.2)",BG_TRANSPARENT_VOTE_PROGRESS_SUCCESS:"rgba(60, 139, 251, 0.5)",BG_TRANSPARENT_VOTE_PROGRESS_ERROR:"rgba(205, 37, 37, 0.5)",BG_TRANSPARENT_ONBOARDING_INAPP:"rgba(138, 159, 182, 0.2)",LEADERBOARD_UNIT:"rgba(255, 255, 255, 0.5)",BLUE_PRIMARY:"#1589EE",RED_PRIMARY:"#CD2525",RED_SECONDARY:"#EB5757",BLUE_QUESTION_ACTION_BTN:"#1589ee",WHITE:"#FFFFFF",GREY_1:"#909395",GREY_2:"#22262b",GREY_3:"#2d3135",GREY_4:"#53565a",GREY_PRIMARY_ONBOARDING_INAPP:"#B5B7B8",BLACK_1:"#161a1f",GREEN_1:"#F7B801",RED_1:"#A30000",RED_2:"#FF4170",GREY_PRIMARY:"#909395",DIVIDER_COLOR_SECONDARY:"#53565a",GREEN_PRIMARY_BTN:"#009B77"},iC={PRIMARY_GREEN1:"#107D57",PRIMARY_GREEN2:"#006747",PRIMARY_GREEN3:"#1C4932",PRIMARY_GREEN4:"#193526",SECONDARY_RED1:"#DF2F3B",SECONDARY_RED2:"#BA0C2F",SECONDARY_RED3:"#f9d6d8",SECONDARY_YELLOW:"#fce300",SECONDARY_GREEN5:"#C0DC8F",SECONDARY_GREEN6:"#cee5de",NEUTRALS_WHITE:"#FFFFFF",NEUTRALS_GRAY1:"#F7F7F7",NEUTRALS_GRAY2:"#F2F2F1",NEUTRALS_GRAY3:"#E8E8E8",NEUTRALS_GRAY4:"#D9D9D6",NEUTRALS_GRAY5:"#B1B3B3",NEUTRALS_GRAY6:"#888B8D",NEUTRALS_GRAY7:"#6B6F73",NEUTRALS_GRAY8:"#53565A",NEUTRALS_GRAY9:"#25282A",NEUTRALS_BLACK:"#000000"},rT=Object.assign({},oC,iC);Object.keys(rT).reduce((r,o)=>{const s=rT[o];return`
2
2
  ${r}
3
3
  --color-${o.toLowerCase().replaceAll("_","-")}: ${s};
4
- `},"");const aT="StreamLayerCSSReset",sC="ttkj0ah",q9=({children:r,style:o})=>F.jsx("div",{className:"StreamLayerSDKTheme",children:F.jsx("div",{className:sC,style:o,children:r})});function Fa(r,o){if(!r)throw new Error(o)}const lC=34028234663852886e22,uC=-34028234663852886e22,cC=4294967295,dC=2147483647,fC=-2147483648;function oy(r){if(typeof r!="number")throw new Error("invalid int 32: "+typeof r);if(!Number.isInteger(r)||r>dC||r<fC)throw new Error("invalid int 32: "+r)}function oT(r){if(typeof r!="number")throw new Error("invalid uint 32: "+typeof r);if(!Number.isInteger(r)||r>cC||r<0)throw new Error("invalid uint 32: "+r)}function W9(r){if(typeof r!="number")throw new Error("invalid float 32: "+typeof r);if(Number.isFinite(r)&&(r>lC||r<uC))throw new Error("invalid float 32: "+r)}const K9=Symbol("@bufbuild/protobuf/enum-type");function pC(r){const o=r[K9];return Fa(o,"missing enum type on enum object"),o}function Z9(r,o,s,m){r[K9]=J9(o,s.map(p=>({no:p.no,name:p.name,localName:r[p.no]})))}function J9(r,o,s){const m=Object.create(null),p=Object.create(null),v=[];for(const g of o){const T=X9(g);v.push(T),m[g.name]=T,p[g.no]=T}return{typeName:r,values:v,findName(g){return m[g]},findNumber(g){return p[g]}}}function mC(r,o,s){const m={};for(const p of o){const v=X9(p);m[v.localName]=v.no,m[v.no]=v.localName}return Z9(m,r,o),m}function X9(r){return"localName"in r?r:Object.assign(Object.assign({},r),{localName:r.name})}class Wi{equals(o){return this.getType().runtime.util.equals(this.getType(),this,o)}clone(){return this.getType().runtime.util.clone(this)}fromBinary(o,s){const m=this.getType(),p=m.runtime.bin,v=p.makeReadOptions(s);return p.readMessage(this,v.readerFactory(o),o.byteLength,v),this}fromJson(o,s){const m=this.getType(),p=m.runtime.json,v=p.makeReadOptions(s);return p.readMessage(m,o,v,this),this}fromJsonString(o,s){let m;try{m=JSON.parse(o)}catch(p){throw new Error(`cannot decode ${this.getType().typeName} from JSON: ${p instanceof Error?p.message:String(p)}`)}return this.fromJson(m,s)}toBinary(o){const s=this.getType(),m=s.runtime.bin,p=m.makeWriteOptions(o),v=p.writerFactory();return m.writeMessage(this,v,p),v.finish()}toJson(o){const s=this.getType(),m=s.runtime.json,p=m.makeWriteOptions(o);return m.writeMessage(this,p)}toJsonString(o){var s;const m=this.toJson(o);return JSON.stringify(m,null,(s=o==null?void 0:o.prettySpaces)!==null&&s!==void 0?s:0)}toJSON(){return this.toJson({emitDefaultValues:!0})}getType(){return Object.getPrototypeOf(this).constructor}}function hC(r,o,s,m){var p;const v=(p=m==null?void 0:m.localName)!==null&&p!==void 0?p:o.substring(o.lastIndexOf(".")+1),g={[v]:function(T){r.util.initFields(this),r.util.initPartial(T,this)}}[v];return Object.setPrototypeOf(g.prototype,new Wi),Object.assign(g,{runtime:r,typeName:o,fields:r.util.newFieldList(s),fromBinary(T,I){return new g().fromBinary(T,I)},fromJson(T,I){return new g().fromJson(T,I)},fromJsonString(T,I){return new g().fromJsonString(T,I)},equals(T,I){return r.util.equals(g,T,I)}}),g}function gC(r,o,s,m){return{syntax:r,json:o,bin:s,util:m,makeMessageType(p,v,g){return hC(this,p,v,g)},makeEnum:mC,makeEnumType:J9,getEnumType:pC}}var ke;(function(r){r[r.DOUBLE=1]="DOUBLE",r[r.FLOAT=2]="FLOAT",r[r.INT64=3]="INT64",r[r.UINT64=4]="UINT64",r[r.INT32=5]="INT32",r[r.FIXED64=6]="FIXED64",r[r.FIXED32=7]="FIXED32",r[r.BOOL=8]="BOOL",r[r.STRING=9]="STRING",r[r.BYTES=12]="BYTES",r[r.UINT32=13]="UINT32",r[r.SFIXED32=15]="SFIXED32",r[r.SFIXED64=16]="SFIXED64",r[r.SINT32=17]="SINT32",r[r.SINT64=18]="SINT64"})(ke||(ke={}));var Oc;(function(r){r[r.BIGINT=0]="BIGINT",r[r.STRING=1]="STRING"})(Oc||(Oc={}));function yC(){let r=0,o=0;for(let m=0;m<28;m+=7){let p=this.buf[this.pos++];if(r|=(p&127)<<m,!(p&128))return this.assertBounds(),[r,o]}let s=this.buf[this.pos++];if(r|=(s&15)<<28,o=(s&112)>>4,!(s&128))return this.assertBounds(),[r,o];for(let m=3;m<=31;m+=7){let p=this.buf[this.pos++];if(o|=(p&127)<<m,!(p&128))return this.assertBounds(),[r,o]}throw new Error("invalid varint")}function w4(r,o,s){for(let v=0;v<28;v=v+7){const g=r>>>v,T=!(!(g>>>7)&&o==0),I=(T?g|128:g)&255;if(s.push(I),!T)return}const m=r>>>28&15|(o&7)<<4,p=!!(o>>3);if(s.push((p?m|128:m)&255),!!p){for(let v=3;v<31;v=v+7){const g=o>>>v,T=!!(g>>>7),I=(T?g|128:g)&255;if(s.push(I),!T)return}s.push(o>>>31&1)}}const iy=4294967296;function W5(r){const o=r[0]==="-";o&&(r=r.slice(1));const s=1e6;let m=0,p=0;function v(g,T){const I=Number(r.slice(g,T));p*=s,m=m*s+I,m>=iy&&(p=p+(m/iy|0),m=m%iy)}return v(-24,-18),v(-18,-12),v(-12,-6),v(-6),o?t7(m,p):LT(m,p)}function vC(r,o){let s=LT(r,o);const m=s.hi&2147483648;m&&(s=t7(s.lo,s.hi));const p=e7(s.lo,s.hi);return m?"-"+p:p}function e7(r,o){if({lo:r,hi:o}=TC(r,o),o<=2097151)return String(iy*o+r);const s=r&16777215,m=(r>>>24|o<<8)&16777215,p=o>>16&65535;let v=s+m*6777216+p*6710656,g=m+p*8147497,T=p*2;const I=1e7;return v>=I&&(g+=Math.floor(v/I),v%=I),g>=I&&(T+=Math.floor(g/I),g%=I),T.toString()+K5(g)+K5(v)}function TC(r,o){return{lo:r>>>0,hi:o>>>0}}function LT(r,o){return{lo:r|0,hi:o|0}}function t7(r,o){return o=~o,r?r=~r+1:o+=1,LT(r,o)}const K5=r=>{const o=String(r);return"0000000".slice(o.length)+o};function Z5(r,o){if(r>=0){for(;r>127;)o.push(r&127|128),r=r>>>7;o.push(r)}else{for(let s=0;s<9;s++)o.push(r&127|128),r=r>>7;o.push(1)}}function kC(){let r=this.buf[this.pos++],o=r&127;if(!(r&128))return this.assertBounds(),o;if(r=this.buf[this.pos++],o|=(r&127)<<7,!(r&128))return this.assertBounds(),o;if(r=this.buf[this.pos++],o|=(r&127)<<14,!(r&128))return this.assertBounds(),o;if(r=this.buf[this.pos++],o|=(r&127)<<21,!(r&128))return this.assertBounds(),o;r=this.buf[this.pos++],o|=(r&15)<<28;for(let s=5;r&128&&s<10;s++)r=this.buf[this.pos++];if(r&128)throw new Error("invalid varint");return this.assertBounds(),o>>>0}var J0=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function n7(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}function bC(r){if(r.__esModule)return r;var o=r.default;if(typeof o=="function"){var s=function m(){return this instanceof m?Reflect.construct(o,arguments,this.constructor):o.apply(this,arguments)};s.prototype=o.prototype}else s={};return Object.defineProperty(s,"__esModule",{value:!0}),Object.keys(r).forEach(function(m){var p=Object.getOwnPropertyDescriptor(r,m);Object.defineProperty(s,m,p.get?p:{enumerable:!0,get:function(){return r[m]}})}),s}var ap={},r7={},Ay={};Ay.byteLength=EC;Ay.toByteArray=MC;Ay.fromByteArray=CC;var Yi=[],ko=[],wC=typeof Uint8Array<"u"?Uint8Array:Array,S4="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(var Df=0,SC=S4.length;Df<SC;++Df)Yi[Df]=S4[Df],ko[S4.charCodeAt(Df)]=Df;ko["-".charCodeAt(0)]=62;ko["_".charCodeAt(0)]=63;function a7(r){var o=r.length;if(o%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var s=r.indexOf("=");s===-1&&(s=o);var m=s===o?0:4-s%4;return[s,m]}function EC(r){var o=a7(r),s=o[0],m=o[1];return(s+m)*3/4-m}function NC(r,o,s){return(o+s)*3/4-s}function MC(r){var o,s=a7(r),m=s[0],p=s[1],v=new wC(NC(r,m,p)),g=0,T=p>0?m-4:m,I;for(I=0;I<T;I+=4)o=ko[r.charCodeAt(I)]<<18|ko[r.charCodeAt(I+1)]<<12|ko[r.charCodeAt(I+2)]<<6|ko[r.charCodeAt(I+3)],v[g++]=o>>16&255,v[g++]=o>>8&255,v[g++]=o&255;return p===2&&(o=ko[r.charCodeAt(I)]<<2|ko[r.charCodeAt(I+1)]>>4,v[g++]=o&255),p===1&&(o=ko[r.charCodeAt(I)]<<10|ko[r.charCodeAt(I+1)]<<4|ko[r.charCodeAt(I+2)]>>2,v[g++]=o>>8&255,v[g++]=o&255),v}function IC(r){return Yi[r>>18&63]+Yi[r>>12&63]+Yi[r>>6&63]+Yi[r&63]}function _C(r,o,s){for(var m,p=[],v=o;v<s;v+=3)m=(r[v]<<16&16711680)+(r[v+1]<<8&65280)+(r[v+2]&255),p.push(IC(m));return p.join("")}function CC(r){for(var o,s=r.length,m=s%3,p=[],v=16383,g=0,T=s-m;g<T;g+=v)p.push(_C(r,g,g+v>T?T:g+v));return m===1?(o=r[s-1],p.push(Yi[o>>2]+Yi[o<<4&63]+"==")):m===2&&(o=(r[s-2]<<8)+r[s-1],p.push(Yi[o>>10]+Yi[o>>4&63]+Yi[o<<2&63]+"=")),p.join("")}var RT={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */RT.read=function(r,o,s,m,p){var v,g,T=p*8-m-1,I=(1<<T)-1,C=I>>1,D=-7,R=s?p-1:0,x=s?-1:1,j=r[o+R];for(R+=x,v=j&(1<<-D)-1,j>>=-D,D+=T;D>0;v=v*256+r[o+R],R+=x,D-=8);for(g=v&(1<<-D)-1,v>>=-D,D+=m;D>0;g=g*256+r[o+R],R+=x,D-=8);if(v===0)v=1-C;else{if(v===I)return g?NaN:(j?-1:1)*(1/0);g=g+Math.pow(2,m),v=v-C}return(j?-1:1)*g*Math.pow(2,v-m)};RT.write=function(r,o,s,m,p,v){var g,T,I,C=v*8-p-1,D=(1<<C)-1,R=D>>1,x=p===23?Math.pow(2,-24)-Math.pow(2,-77):0,j=m?0:v-1,Q=m?1:-1,W=o<0||o===0&&1/o<0?1:0;for(o=Math.abs(o),isNaN(o)||o===1/0?(T=isNaN(o)?1:0,g=D):(g=Math.floor(Math.log(o)/Math.LN2),o*(I=Math.pow(2,-g))<1&&(g--,I*=2),g+R>=1?o+=x/I:o+=x*Math.pow(2,1-R),o*I>=2&&(g++,I/=2),g+R>=D?(T=0,g=D):g+R>=1?(T=(o*I-1)*Math.pow(2,p),g=g+R):(T=o*Math.pow(2,R-1)*Math.pow(2,p),g=0));p>=8;r[s+j]=T&255,j+=Q,T/=256,p-=8);for(g=g<<p|T,C+=p;C>0;r[s+j]=g&255,j+=Q,g/=256,C-=8);r[s+j-Q]|=W*128};/*!
4
+ `},"");const aT="StreamLayerCSSReset",sC="ttkj0ah",q9=({children:r,style:o})=>F.jsx("div",{className:"StreamLayerSDKTheme",children:F.jsx("div",{className:sC,style:o,children:r})});function Fa(r,o){if(!r)throw new Error(o)}const lC=34028234663852886e22,uC=-34028234663852886e22,cC=4294967295,dC=2147483647,fC=-2147483648;function oy(r){if(typeof r!="number")throw new Error("invalid int 32: "+typeof r);if(!Number.isInteger(r)||r>dC||r<fC)throw new Error("invalid int 32: "+r)}function oT(r){if(typeof r!="number")throw new Error("invalid uint 32: "+typeof r);if(!Number.isInteger(r)||r>cC||r<0)throw new Error("invalid uint 32: "+r)}function W9(r){if(typeof r!="number")throw new Error("invalid float 32: "+typeof r);if(Number.isFinite(r)&&(r>lC||r<uC))throw new Error("invalid float 32: "+r)}const K9=Symbol("@bufbuild/protobuf/enum-type");function pC(r){const o=r[K9];return Fa(o,"missing enum type on enum object"),o}function Z9(r,o,s,m){r[K9]=J9(o,s.map(p=>({no:p.no,name:p.name,localName:r[p.no]})))}function J9(r,o,s){const m=Object.create(null),p=Object.create(null),v=[];for(const g of o){const T=X9(g);v.push(T),m[g.name]=T,p[g.no]=T}return{typeName:r,values:v,findName(g){return m[g]},findNumber(g){return p[g]}}}function mC(r,o,s){const m={};for(const p of o){const v=X9(p);m[v.localName]=v.no,m[v.no]=v.localName}return Z9(m,r,o),m}function X9(r){return"localName"in r?r:Object.assign(Object.assign({},r),{localName:r.name})}class Wi{equals(o){return this.getType().runtime.util.equals(this.getType(),this,o)}clone(){return this.getType().runtime.util.clone(this)}fromBinary(o,s){const m=this.getType(),p=m.runtime.bin,v=p.makeReadOptions(s);return p.readMessage(this,v.readerFactory(o),o.byteLength,v),this}fromJson(o,s){const m=this.getType(),p=m.runtime.json,v=p.makeReadOptions(s);return p.readMessage(m,o,v,this),this}fromJsonString(o,s){let m;try{m=JSON.parse(o)}catch(p){throw new Error(`cannot decode ${this.getType().typeName} from JSON: ${p instanceof Error?p.message:String(p)}`)}return this.fromJson(m,s)}toBinary(o){const s=this.getType(),m=s.runtime.bin,p=m.makeWriteOptions(o),v=p.writerFactory();return m.writeMessage(this,v,p),v.finish()}toJson(o){const s=this.getType(),m=s.runtime.json,p=m.makeWriteOptions(o);return m.writeMessage(this,p)}toJsonString(o){var s;const m=this.toJson(o);return JSON.stringify(m,null,(s=o==null?void 0:o.prettySpaces)!==null&&s!==void 0?s:0)}toJSON(){return this.toJson({emitDefaultValues:!0})}getType(){return Object.getPrototypeOf(this).constructor}}function hC(r,o,s,m){var p;const v=(p=m==null?void 0:m.localName)!==null&&p!==void 0?p:o.substring(o.lastIndexOf(".")+1),g={[v]:function(T){r.util.initFields(this),r.util.initPartial(T,this)}}[v];return Object.setPrototypeOf(g.prototype,new Wi),Object.assign(g,{runtime:r,typeName:o,fields:r.util.newFieldList(s),fromBinary(T,I){return new g().fromBinary(T,I)},fromJson(T,I){return new g().fromJson(T,I)},fromJsonString(T,I){return new g().fromJsonString(T,I)},equals(T,I){return r.util.equals(g,T,I)}}),g}function gC(r,o,s,m){return{syntax:r,json:o,bin:s,util:m,makeMessageType(p,v,g){return hC(this,p,v,g)},makeEnum:mC,makeEnumType:J9,getEnumType:pC}}var ke;(function(r){r[r.DOUBLE=1]="DOUBLE",r[r.FLOAT=2]="FLOAT",r[r.INT64=3]="INT64",r[r.UINT64=4]="UINT64",r[r.INT32=5]="INT32",r[r.FIXED64=6]="FIXED64",r[r.FIXED32=7]="FIXED32",r[r.BOOL=8]="BOOL",r[r.STRING=9]="STRING",r[r.BYTES=12]="BYTES",r[r.UINT32=13]="UINT32",r[r.SFIXED32=15]="SFIXED32",r[r.SFIXED64=16]="SFIXED64",r[r.SINT32=17]="SINT32",r[r.SINT64=18]="SINT64"})(ke||(ke={}));var Oc;(function(r){r[r.BIGINT=0]="BIGINT",r[r.STRING=1]="STRING"})(Oc||(Oc={}));function yC(){let r=0,o=0;for(let m=0;m<28;m+=7){let p=this.buf[this.pos++];if(r|=(p&127)<<m,!(p&128))return this.assertBounds(),[r,o]}let s=this.buf[this.pos++];if(r|=(s&15)<<28,o=(s&112)>>4,!(s&128))return this.assertBounds(),[r,o];for(let m=3;m<=31;m+=7){let p=this.buf[this.pos++];if(o|=(p&127)<<m,!(p&128))return this.assertBounds(),[r,o]}throw new Error("invalid varint")}function w4(r,o,s){for(let v=0;v<28;v=v+7){const g=r>>>v,T=!(!(g>>>7)&&o==0),I=(T?g|128:g)&255;if(s.push(I),!T)return}const m=r>>>28&15|(o&7)<<4,p=!!(o>>3);if(s.push((p?m|128:m)&255),!!p){for(let v=3;v<31;v=v+7){const g=o>>>v,T=!!(g>>>7),I=(T?g|128:g)&255;if(s.push(I),!T)return}s.push(o>>>31&1)}}const iy=4294967296;function Wk(r){const o=r[0]==="-";o&&(r=r.slice(1));const s=1e6;let m=0,p=0;function v(g,T){const I=Number(r.slice(g,T));p*=s,m=m*s+I,m>=iy&&(p=p+(m/iy|0),m=m%iy)}return v(-24,-18),v(-18,-12),v(-12,-6),v(-6),o?t7(m,p):LT(m,p)}function vC(r,o){let s=LT(r,o);const m=s.hi&2147483648;m&&(s=t7(s.lo,s.hi));const p=e7(s.lo,s.hi);return m?"-"+p:p}function e7(r,o){if({lo:r,hi:o}=TC(r,o),o<=2097151)return String(iy*o+r);const s=r&16777215,m=(r>>>24|o<<8)&16777215,p=o>>16&65535;let v=s+m*6777216+p*6710656,g=m+p*8147497,T=p*2;const I=1e7;return v>=I&&(g+=Math.floor(v/I),v%=I),g>=I&&(T+=Math.floor(g/I),g%=I),T.toString()+Kk(g)+Kk(v)}function TC(r,o){return{lo:r>>>0,hi:o>>>0}}function LT(r,o){return{lo:r|0,hi:o|0}}function t7(r,o){return o=~o,r?r=~r+1:o+=1,LT(r,o)}const Kk=r=>{const o=String(r);return"0000000".slice(o.length)+o};function Zk(r,o){if(r>=0){for(;r>127;)o.push(r&127|128),r=r>>>7;o.push(r)}else{for(let s=0;s<9;s++)o.push(r&127|128),r=r>>7;o.push(1)}}function kC(){let r=this.buf[this.pos++],o=r&127;if(!(r&128))return this.assertBounds(),o;if(r=this.buf[this.pos++],o|=(r&127)<<7,!(r&128))return this.assertBounds(),o;if(r=this.buf[this.pos++],o|=(r&127)<<14,!(r&128))return this.assertBounds(),o;if(r=this.buf[this.pos++],o|=(r&127)<<21,!(r&128))return this.assertBounds(),o;r=this.buf[this.pos++],o|=(r&15)<<28;for(let s=5;r&128&&s<10;s++)r=this.buf[this.pos++];if(r&128)throw new Error("invalid varint");return this.assertBounds(),o>>>0}var J0=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function n7(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}function bC(r){if(r.__esModule)return r;var o=r.default;if(typeof o=="function"){var s=function m(){return this instanceof m?Reflect.construct(o,arguments,this.constructor):o.apply(this,arguments)};s.prototype=o.prototype}else s={};return Object.defineProperty(s,"__esModule",{value:!0}),Object.keys(r).forEach(function(m){var p=Object.getOwnPropertyDescriptor(r,m);Object.defineProperty(s,m,p.get?p:{enumerable:!0,get:function(){return r[m]}})}),s}var ap={},r7={},Ay={};Ay.byteLength=EC;Ay.toByteArray=MC;Ay.fromByteArray=CC;var Yi=[],ko=[],wC=typeof Uint8Array<"u"?Uint8Array:Array,S4="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(var Df=0,SC=S4.length;Df<SC;++Df)Yi[Df]=S4[Df],ko[S4.charCodeAt(Df)]=Df;ko["-".charCodeAt(0)]=62;ko["_".charCodeAt(0)]=63;function a7(r){var o=r.length;if(o%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var s=r.indexOf("=");s===-1&&(s=o);var m=s===o?0:4-s%4;return[s,m]}function EC(r){var o=a7(r),s=o[0],m=o[1];return(s+m)*3/4-m}function NC(r,o,s){return(o+s)*3/4-s}function MC(r){var o,s=a7(r),m=s[0],p=s[1],v=new wC(NC(r,m,p)),g=0,T=p>0?m-4:m,I;for(I=0;I<T;I+=4)o=ko[r.charCodeAt(I)]<<18|ko[r.charCodeAt(I+1)]<<12|ko[r.charCodeAt(I+2)]<<6|ko[r.charCodeAt(I+3)],v[g++]=o>>16&255,v[g++]=o>>8&255,v[g++]=o&255;return p===2&&(o=ko[r.charCodeAt(I)]<<2|ko[r.charCodeAt(I+1)]>>4,v[g++]=o&255),p===1&&(o=ko[r.charCodeAt(I)]<<10|ko[r.charCodeAt(I+1)]<<4|ko[r.charCodeAt(I+2)]>>2,v[g++]=o>>8&255,v[g++]=o&255),v}function IC(r){return Yi[r>>18&63]+Yi[r>>12&63]+Yi[r>>6&63]+Yi[r&63]}function _C(r,o,s){for(var m,p=[],v=o;v<s;v+=3)m=(r[v]<<16&16711680)+(r[v+1]<<8&65280)+(r[v+2]&255),p.push(IC(m));return p.join("")}function CC(r){for(var o,s=r.length,m=s%3,p=[],v=16383,g=0,T=s-m;g<T;g+=v)p.push(_C(r,g,g+v>T?T:g+v));return m===1?(o=r[s-1],p.push(Yi[o>>2]+Yi[o<<4&63]+"==")):m===2&&(o=(r[s-2]<<8)+r[s-1],p.push(Yi[o>>10]+Yi[o>>4&63]+Yi[o<<2&63]+"=")),p.join("")}var RT={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */RT.read=function(r,o,s,m,p){var v,g,T=p*8-m-1,I=(1<<T)-1,C=I>>1,D=-7,R=s?p-1:0,x=s?-1:1,j=r[o+R];for(R+=x,v=j&(1<<-D)-1,j>>=-D,D+=T;D>0;v=v*256+r[o+R],R+=x,D-=8);for(g=v&(1<<-D)-1,v>>=-D,D+=m;D>0;g=g*256+r[o+R],R+=x,D-=8);if(v===0)v=1-C;else{if(v===I)return g?NaN:(j?-1:1)*(1/0);g=g+Math.pow(2,m),v=v-C}return(j?-1:1)*g*Math.pow(2,v-m)};RT.write=function(r,o,s,m,p,v){var g,T,I,C=v*8-p-1,D=(1<<C)-1,R=D>>1,x=p===23?Math.pow(2,-24)-Math.pow(2,-77):0,j=m?0:v-1,Q=m?1:-1,W=o<0||o===0&&1/o<0?1:0;for(o=Math.abs(o),isNaN(o)||o===1/0?(T=isNaN(o)?1:0,g=D):(g=Math.floor(Math.log(o)/Math.LN2),o*(I=Math.pow(2,-g))<1&&(g--,I*=2),g+R>=1?o+=x/I:o+=x*Math.pow(2,1-R),o*I>=2&&(g++,I/=2),g+R>=D?(T=0,g=D):g+R>=1?(T=(o*I-1)*Math.pow(2,p),g=g+R):(T=o*Math.pow(2,R-1)*Math.pow(2,p),g=0));p>=8;r[s+j]=T&255,j+=Q,T/=256,p-=8);for(g=g<<p|T,C+=p;C>0;r[s+j]=g&255,j+=Q,g/=256,C-=8);r[s+j-Q]|=W*128};/*!
5
5
  * The buffer module from node.js, for the browser.
6
6
  *
7
7
  * @author Feross Aboukhadijeh <https://feross.org>
8
8
  * @license MIT
9
- */(function(r){const o=Ay,s=RT,m=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;r.Buffer=T,r.SlowBuffer=se,r.INSPECT_MAX_BYTES=50;const p=2147483647;r.kMaxLength=p,T.TYPED_ARRAY_SUPPORT=v(),!T.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function v(){try{const l=new Uint8Array(1),c={foo:function(){return 42}};return Object.setPrototypeOf(c,Uint8Array.prototype),Object.setPrototypeOf(l,c),l.foo()===42}catch{return!1}}Object.defineProperty(T.prototype,"parent",{enumerable:!0,get:function(){if(T.isBuffer(this))return this.buffer}}),Object.defineProperty(T.prototype,"offset",{enumerable:!0,get:function(){if(T.isBuffer(this))return this.byteOffset}});function g(l){if(l>p)throw new RangeError('The value "'+l+'" is invalid for option "size"');const c=new Uint8Array(l);return Object.setPrototypeOf(c,T.prototype),c}function T(l,c,f){if(typeof l=="number"){if(typeof c=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return R(l)}return I(l,c,f)}T.poolSize=8192;function I(l,c,f){if(typeof l=="string")return x(l,c);if(ArrayBuffer.isView(l))return Q(l);if(l==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof l);if(Nt(l,ArrayBuffer)||l&&Nt(l.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Nt(l,SharedArrayBuffer)||l&&Nt(l.buffer,SharedArrayBuffer)))return W(l,c,f);if(typeof l=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const b=l.valueOf&&l.valueOf();if(b!=null&&b!==l)return T.from(b,c,f);const M=le(l);if(M)return M;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof l[Symbol.toPrimitive]=="function")return T.from(l[Symbol.toPrimitive]("string"),c,f);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof l)}T.from=function(l,c,f){return I(l,c,f)},Object.setPrototypeOf(T.prototype,Uint8Array.prototype),Object.setPrototypeOf(T,Uint8Array);function C(l){if(typeof l!="number")throw new TypeError('"size" argument must be of type number');if(l<0)throw new RangeError('The value "'+l+'" is invalid for option "size"')}function D(l,c,f){return C(l),l<=0?g(l):c!==void 0?typeof f=="string"?g(l).fill(c,f):g(l).fill(c):g(l)}T.alloc=function(l,c,f){return D(l,c,f)};function R(l){return C(l),g(l<0?0:G(l)|0)}T.allocUnsafe=function(l){return R(l)},T.allocUnsafeSlow=function(l){return R(l)};function x(l,c){if((typeof c!="string"||c==="")&&(c="utf8"),!T.isEncoding(c))throw new TypeError("Unknown encoding: "+c);const f=te(l,c)|0;let b=g(f);const M=b.write(l,c);return M!==f&&(b=b.slice(0,M)),b}function j(l){const c=l.length<0?0:G(l.length)|0,f=g(c);for(let b=0;b<c;b+=1)f[b]=l[b]&255;return f}function Q(l){if(Nt(l,Uint8Array)){const c=new Uint8Array(l);return W(c.buffer,c.byteOffset,c.byteLength)}return j(l)}function W(l,c,f){if(c<0||l.byteLength<c)throw new RangeError('"offset" is outside of buffer bounds');if(l.byteLength<c+(f||0))throw new RangeError('"length" is outside of buffer bounds');let b;return c===void 0&&f===void 0?b=new Uint8Array(l):f===void 0?b=new Uint8Array(l,c):b=new Uint8Array(l,c,f),Object.setPrototypeOf(b,T.prototype),b}function le(l){if(T.isBuffer(l)){const c=G(l.length)|0,f=g(c);return f.length===0||l.copy(f,0,0,c),f}if(l.length!==void 0)return typeof l.length!="number"||_n(l.length)?g(0):j(l);if(l.type==="Buffer"&&Array.isArray(l.data))return j(l.data)}function G(l){if(l>=p)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+p.toString(16)+" bytes");return l|0}function se(l){return+l!=l&&(l=0),T.alloc(+l)}T.isBuffer=function(c){return c!=null&&c._isBuffer===!0&&c!==T.prototype},T.compare=function(c,f){if(Nt(c,Uint8Array)&&(c=T.from(c,c.offset,c.byteLength)),Nt(f,Uint8Array)&&(f=T.from(f,f.offset,f.byteLength)),!T.isBuffer(c)||!T.isBuffer(f))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(c===f)return 0;let b=c.length,M=f.length;for(let O=0,U=Math.min(b,M);O<U;++O)if(c[O]!==f[O]){b=c[O],M=f[O];break}return b<M?-1:M<b?1:0},T.isEncoding=function(c){switch(String(c).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},T.concat=function(c,f){if(!Array.isArray(c))throw new TypeError('"list" argument must be an Array of Buffers');if(c.length===0)return T.alloc(0);let b;if(f===void 0)for(f=0,b=0;b<c.length;++b)f+=c[b].length;const M=T.allocUnsafe(f);let O=0;for(b=0;b<c.length;++b){let U=c[b];if(Nt(U,Uint8Array))O+U.length>M.length?(T.isBuffer(U)||(U=T.from(U)),U.copy(M,O)):Uint8Array.prototype.set.call(M,U,O);else if(T.isBuffer(U))U.copy(M,O);else throw new TypeError('"list" argument must be an Array of Buffers');O+=U.length}return M};function te(l,c){if(T.isBuffer(l))return l.length;if(ArrayBuffer.isView(l)||Nt(l,ArrayBuffer))return l.byteLength;if(typeof l!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof l);const f=l.length,b=arguments.length>2&&arguments[2]===!0;if(!b&&f===0)return 0;let M=!1;for(;;)switch(c){case"ascii":case"latin1":case"binary":return f;case"utf8":case"utf-8":return nn(l).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return f*2;case"hex":return f>>>1;case"base64":return Hn(l).length;default:if(M)return b?-1:nn(l).length;c=(""+c).toLowerCase(),M=!0}}T.byteLength=te;function ue(l,c,f){let b=!1;if((c===void 0||c<0)&&(c=0),c>this.length||((f===void 0||f>this.length)&&(f=this.length),f<=0)||(f>>>=0,c>>>=0,f<=c))return"";for(l||(l="utf8");;)switch(l){case"hex":return ze(this,c,f);case"utf8":case"utf-8":return at(this,c,f);case"ascii":return wn(this,c,f);case"latin1":case"binary":return _e(this,c,f);case"base64":return $e(this,c,f);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return xe(this,c,f);default:if(b)throw new TypeError("Unknown encoding: "+l);l=(l+"").toLowerCase(),b=!0}}T.prototype._isBuffer=!0;function Z(l,c,f){const b=l[c];l[c]=l[f],l[f]=b}T.prototype.swap16=function(){const c=this.length;if(c%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let f=0;f<c;f+=2)Z(this,f,f+1);return this},T.prototype.swap32=function(){const c=this.length;if(c%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let f=0;f<c;f+=4)Z(this,f,f+3),Z(this,f+1,f+2);return this},T.prototype.swap64=function(){const c=this.length;if(c%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let f=0;f<c;f+=8)Z(this,f,f+7),Z(this,f+1,f+6),Z(this,f+2,f+5),Z(this,f+3,f+4);return this},T.prototype.toString=function(){const c=this.length;return c===0?"":arguments.length===0?at(this,0,c):ue.apply(this,arguments)},T.prototype.toLocaleString=T.prototype.toString,T.prototype.equals=function(c){if(!T.isBuffer(c))throw new TypeError("Argument must be a Buffer");return this===c?!0:T.compare(this,c)===0},T.prototype.inspect=function(){let c="";const f=r.INSPECT_MAX_BYTES;return c=this.toString("hex",0,f).replace(/(.{2})/g,"$1 ").trim(),this.length>f&&(c+=" ... "),"<Buffer "+c+">"},m&&(T.prototype[m]=T.prototype.inspect),T.prototype.compare=function(c,f,b,M,O){if(Nt(c,Uint8Array)&&(c=T.from(c,c.offset,c.byteLength)),!T.isBuffer(c))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof c);if(f===void 0&&(f=0),b===void 0&&(b=c?c.length:0),M===void 0&&(M=0),O===void 0&&(O=this.length),f<0||b>c.length||M<0||O>this.length)throw new RangeError("out of range index");if(M>=O&&f>=b)return 0;if(M>=O)return-1;if(f>=b)return 1;if(f>>>=0,b>>>=0,M>>>=0,O>>>=0,this===c)return 0;let U=O-M,Te=b-f;const Pe=Math.min(U,Te),Ie=this.slice(M,O),Ae=c.slice(f,b);for(let Ce=0;Ce<Pe;++Ce)if(Ie[Ce]!==Ae[Ce]){U=Ie[Ce],Te=Ae[Ce];break}return U<Te?-1:Te<U?1:0};function ye(l,c,f,b,M){if(l.length===0)return-1;if(typeof f=="string"?(b=f,f=0):f>2147483647?f=2147483647:f<-2147483648&&(f=-2147483648),f=+f,_n(f)&&(f=M?0:l.length-1),f<0&&(f=l.length+f),f>=l.length){if(M)return-1;f=l.length-1}else if(f<0)if(M)f=0;else return-1;if(typeof c=="string"&&(c=T.from(c,b)),T.isBuffer(c))return c.length===0?-1:fe(l,c,f,b,M);if(typeof c=="number")return c=c&255,typeof Uint8Array.prototype.indexOf=="function"?M?Uint8Array.prototype.indexOf.call(l,c,f):Uint8Array.prototype.lastIndexOf.call(l,c,f):fe(l,[c],f,b,M);throw new TypeError("val must be string, number or Buffer")}function fe(l,c,f,b,M){let O=1,U=l.length,Te=c.length;if(b!==void 0&&(b=String(b).toLowerCase(),b==="ucs2"||b==="ucs-2"||b==="utf16le"||b==="utf-16le")){if(l.length<2||c.length<2)return-1;O=2,U/=2,Te/=2,f/=2}function Pe(Ae,Ce){return O===1?Ae[Ce]:Ae.readUInt16BE(Ce*O)}let Ie;if(M){let Ae=-1;for(Ie=f;Ie<U;Ie++)if(Pe(l,Ie)===Pe(c,Ae===-1?0:Ie-Ae)){if(Ae===-1&&(Ae=Ie),Ie-Ae+1===Te)return Ae*O}else Ae!==-1&&(Ie-=Ie-Ae),Ae=-1}else for(f+Te>U&&(f=U-Te),Ie=f;Ie>=0;Ie--){let Ae=!0;for(let Ce=0;Ce<Te;Ce++)if(Pe(l,Ie+Ce)!==Pe(c,Ce)){Ae=!1;break}if(Ae)return Ie}return-1}T.prototype.includes=function(c,f,b){return this.indexOf(c,f,b)!==-1},T.prototype.indexOf=function(c,f,b){return ye(this,c,f,b,!0)},T.prototype.lastIndexOf=function(c,f,b){return ye(this,c,f,b,!1)};function De(l,c,f,b){f=Number(f)||0;const M=l.length-f;b?(b=Number(b),b>M&&(b=M)):b=M;const O=c.length;b>O/2&&(b=O/2);let U;for(U=0;U<b;++U){const Te=parseInt(c.substr(U*2,2),16);if(_n(Te))return U;l[f+U]=Te}return U}function He(l,c,f,b){return an(nn(c,l.length-f),l,f,b)}function ht(l,c,f,b){return an(tr(c),l,f,b)}function ct(l,c,f,b){return an(Hn(c),l,f,b)}function yt(l,c,f,b){return an(ve(c,l.length-f),l,f,b)}T.prototype.write=function(c,f,b,M){if(f===void 0)M="utf8",b=this.length,f=0;else if(b===void 0&&typeof f=="string")M=f,b=this.length,f=0;else if(isFinite(f))f=f>>>0,isFinite(b)?(b=b>>>0,M===void 0&&(M="utf8")):(M=b,b=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const O=this.length-f;if((b===void 0||b>O)&&(b=O),c.length>0&&(b<0||f<0)||f>this.length)throw new RangeError("Attempt to write outside buffer bounds");M||(M="utf8");let U=!1;for(;;)switch(M){case"hex":return De(this,c,f,b);case"utf8":case"utf-8":return He(this,c,f,b);case"ascii":case"latin1":case"binary":return ht(this,c,f,b);case"base64":return ct(this,c,f,b);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return yt(this,c,f,b);default:if(U)throw new TypeError("Unknown encoding: "+M);M=(""+M).toLowerCase(),U=!0}},T.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function $e(l,c,f){return c===0&&f===l.length?o.fromByteArray(l):o.fromByteArray(l.slice(c,f))}function at(l,c,f){f=Math.min(l.length,f);const b=[];let M=c;for(;M<f;){const O=l[M];let U=null,Te=O>239?4:O>223?3:O>191?2:1;if(M+Te<=f){let Pe,Ie,Ae,Ce;switch(Te){case 1:O<128&&(U=O);break;case 2:Pe=l[M+1],(Pe&192)===128&&(Ce=(O&31)<<6|Pe&63,Ce>127&&(U=Ce));break;case 3:Pe=l[M+1],Ie=l[M+2],(Pe&192)===128&&(Ie&192)===128&&(Ce=(O&15)<<12|(Pe&63)<<6|Ie&63,Ce>2047&&(Ce<55296||Ce>57343)&&(U=Ce));break;case 4:Pe=l[M+1],Ie=l[M+2],Ae=l[M+3],(Pe&192)===128&&(Ie&192)===128&&(Ae&192)===128&&(Ce=(O&15)<<18|(Pe&63)<<12|(Ie&63)<<6|Ae&63,Ce>65535&&Ce<1114112&&(U=Ce))}}U===null?(U=65533,Te=1):U>65535&&(U-=65536,b.push(U>>>10&1023|55296),U=56320|U&1023),b.push(U),M+=Te}return Dt(b)}const It=4096;function Dt(l){const c=l.length;if(c<=It)return String.fromCharCode.apply(String,l);let f="",b=0;for(;b<c;)f+=String.fromCharCode.apply(String,l.slice(b,b+=It));return f}function wn(l,c,f){let b="";f=Math.min(l.length,f);for(let M=c;M<f;++M)b+=String.fromCharCode(l[M]&127);return b}function _e(l,c,f){let b="";f=Math.min(l.length,f);for(let M=c;M<f;++M)b+=String.fromCharCode(l[M]);return b}function ze(l,c,f){const b=l.length;(!c||c<0)&&(c=0),(!f||f<0||f>b)&&(f=b);let M="";for(let O=c;O<f;++O)M+=ta[l[O]];return M}function xe(l,c,f){const b=l.slice(c,f);let M="";for(let O=0;O<b.length-1;O+=2)M+=String.fromCharCode(b[O]+b[O+1]*256);return M}T.prototype.slice=function(c,f){const b=this.length;c=~~c,f=f===void 0?b:~~f,c<0?(c+=b,c<0&&(c=0)):c>b&&(c=b),f<0?(f+=b,f<0&&(f=0)):f>b&&(f=b),f<c&&(f=c);const M=this.subarray(c,f);return Object.setPrototypeOf(M,T.prototype),M};function Ee(l,c,f){if(l%1!==0||l<0)throw new RangeError("offset is not uint");if(l+c>f)throw new RangeError("Trying to access beyond buffer length")}T.prototype.readUintLE=T.prototype.readUIntLE=function(c,f,b){c=c>>>0,f=f>>>0,b||Ee(c,f,this.length);let M=this[c],O=1,U=0;for(;++U<f&&(O*=256);)M+=this[c+U]*O;return M},T.prototype.readUintBE=T.prototype.readUIntBE=function(c,f,b){c=c>>>0,f=f>>>0,b||Ee(c,f,this.length);let M=this[c+--f],O=1;for(;f>0&&(O*=256);)M+=this[c+--f]*O;return M},T.prototype.readUint8=T.prototype.readUInt8=function(c,f){return c=c>>>0,f||Ee(c,1,this.length),this[c]},T.prototype.readUint16LE=T.prototype.readUInt16LE=function(c,f){return c=c>>>0,f||Ee(c,2,this.length),this[c]|this[c+1]<<8},T.prototype.readUint16BE=T.prototype.readUInt16BE=function(c,f){return c=c>>>0,f||Ee(c,2,this.length),this[c]<<8|this[c+1]},T.prototype.readUint32LE=T.prototype.readUInt32LE=function(c,f){return c=c>>>0,f||Ee(c,4,this.length),(this[c]|this[c+1]<<8|this[c+2]<<16)+this[c+3]*16777216},T.prototype.readUint32BE=T.prototype.readUInt32BE=function(c,f){return c=c>>>0,f||Ee(c,4,this.length),this[c]*16777216+(this[c+1]<<16|this[c+2]<<8|this[c+3])},T.prototype.readBigUInt64LE=At(function(c){c=c>>>0,Tt(c,"offset");const f=this[c],b=this[c+7];(f===void 0||b===void 0)&&Ct(c,this.length-8);const M=f+this[++c]*2**8+this[++c]*2**16+this[++c]*2**24,O=this[++c]+this[++c]*2**8+this[++c]*2**16+b*2**24;return BigInt(M)+(BigInt(O)<<BigInt(32))}),T.prototype.readBigUInt64BE=At(function(c){c=c>>>0,Tt(c,"offset");const f=this[c],b=this[c+7];(f===void 0||b===void 0)&&Ct(c,this.length-8);const M=f*2**24+this[++c]*2**16+this[++c]*2**8+this[++c],O=this[++c]*2**24+this[++c]*2**16+this[++c]*2**8+b;return(BigInt(M)<<BigInt(32))+BigInt(O)}),T.prototype.readIntLE=function(c,f,b){c=c>>>0,f=f>>>0,b||Ee(c,f,this.length);let M=this[c],O=1,U=0;for(;++U<f&&(O*=256);)M+=this[c+U]*O;return O*=128,M>=O&&(M-=Math.pow(2,8*f)),M},T.prototype.readIntBE=function(c,f,b){c=c>>>0,f=f>>>0,b||Ee(c,f,this.length);let M=f,O=1,U=this[c+--M];for(;M>0&&(O*=256);)U+=this[c+--M]*O;return O*=128,U>=O&&(U-=Math.pow(2,8*f)),U},T.prototype.readInt8=function(c,f){return c=c>>>0,f||Ee(c,1,this.length),this[c]&128?(255-this[c]+1)*-1:this[c]},T.prototype.readInt16LE=function(c,f){c=c>>>0,f||Ee(c,2,this.length);const b=this[c]|this[c+1]<<8;return b&32768?b|4294901760:b},T.prototype.readInt16BE=function(c,f){c=c>>>0,f||Ee(c,2,this.length);const b=this[c+1]|this[c]<<8;return b&32768?b|4294901760:b},T.prototype.readInt32LE=function(c,f){return c=c>>>0,f||Ee(c,4,this.length),this[c]|this[c+1]<<8|this[c+2]<<16|this[c+3]<<24},T.prototype.readInt32BE=function(c,f){return c=c>>>0,f||Ee(c,4,this.length),this[c]<<24|this[c+1]<<16|this[c+2]<<8|this[c+3]},T.prototype.readBigInt64LE=At(function(c){c=c>>>0,Tt(c,"offset");const f=this[c],b=this[c+7];(f===void 0||b===void 0)&&Ct(c,this.length-8);const M=this[c+4]+this[c+5]*2**8+this[c+6]*2**16+(b<<24);return(BigInt(M)<<BigInt(32))+BigInt(f+this[++c]*2**8+this[++c]*2**16+this[++c]*2**24)}),T.prototype.readBigInt64BE=At(function(c){c=c>>>0,Tt(c,"offset");const f=this[c],b=this[c+7];(f===void 0||b===void 0)&&Ct(c,this.length-8);const M=(f<<24)+this[++c]*2**16+this[++c]*2**8+this[++c];return(BigInt(M)<<BigInt(32))+BigInt(this[++c]*2**24+this[++c]*2**16+this[++c]*2**8+b)}),T.prototype.readFloatLE=function(c,f){return c=c>>>0,f||Ee(c,4,this.length),s.read(this,c,!0,23,4)},T.prototype.readFloatBE=function(c,f){return c=c>>>0,f||Ee(c,4,this.length),s.read(this,c,!1,23,4)},T.prototype.readDoubleLE=function(c,f){return c=c>>>0,f||Ee(c,8,this.length),s.read(this,c,!0,52,8)},T.prototype.readDoubleBE=function(c,f){return c=c>>>0,f||Ee(c,8,this.length),s.read(this,c,!1,52,8)};function V(l,c,f,b,M,O){if(!T.isBuffer(l))throw new TypeError('"buffer" argument must be a Buffer instance');if(c>M||c<O)throw new RangeError('"value" argument is out of bounds');if(f+b>l.length)throw new RangeError("Index out of range")}T.prototype.writeUintLE=T.prototype.writeUIntLE=function(c,f,b,M){if(c=+c,f=f>>>0,b=b>>>0,!M){const Te=Math.pow(2,8*b)-1;V(this,c,f,b,Te,0)}let O=1,U=0;for(this[f]=c&255;++U<b&&(O*=256);)this[f+U]=c/O&255;return f+b},T.prototype.writeUintBE=T.prototype.writeUIntBE=function(c,f,b,M){if(c=+c,f=f>>>0,b=b>>>0,!M){const Te=Math.pow(2,8*b)-1;V(this,c,f,b,Te,0)}let O=b-1,U=1;for(this[f+O]=c&255;--O>=0&&(U*=256);)this[f+O]=c/U&255;return f+b},T.prototype.writeUint8=T.prototype.writeUInt8=function(c,f,b){return c=+c,f=f>>>0,b||V(this,c,f,1,255,0),this[f]=c&255,f+1},T.prototype.writeUint16LE=T.prototype.writeUInt16LE=function(c,f,b){return c=+c,f=f>>>0,b||V(this,c,f,2,65535,0),this[f]=c&255,this[f+1]=c>>>8,f+2},T.prototype.writeUint16BE=T.prototype.writeUInt16BE=function(c,f,b){return c=+c,f=f>>>0,b||V(this,c,f,2,65535,0),this[f]=c>>>8,this[f+1]=c&255,f+2},T.prototype.writeUint32LE=T.prototype.writeUInt32LE=function(c,f,b){return c=+c,f=f>>>0,b||V(this,c,f,4,4294967295,0),this[f+3]=c>>>24,this[f+2]=c>>>16,this[f+1]=c>>>8,this[f]=c&255,f+4},T.prototype.writeUint32BE=T.prototype.writeUInt32BE=function(c,f,b){return c=+c,f=f>>>0,b||V(this,c,f,4,4294967295,0),this[f]=c>>>24,this[f+1]=c>>>16,this[f+2]=c>>>8,this[f+3]=c&255,f+4};function ce(l,c,f,b,M){tn(c,b,M,l,f,7);let O=Number(c&BigInt(4294967295));l[f++]=O,O=O>>8,l[f++]=O,O=O>>8,l[f++]=O,O=O>>8,l[f++]=O;let U=Number(c>>BigInt(32)&BigInt(4294967295));return l[f++]=U,U=U>>8,l[f++]=U,U=U>>8,l[f++]=U,U=U>>8,l[f++]=U,f}function be(l,c,f,b,M){tn(c,b,M,l,f,7);let O=Number(c&BigInt(4294967295));l[f+7]=O,O=O>>8,l[f+6]=O,O=O>>8,l[f+5]=O,O=O>>8,l[f+4]=O;let U=Number(c>>BigInt(32)&BigInt(4294967295));return l[f+3]=U,U=U>>8,l[f+2]=U,U=U>>8,l[f+1]=U,U=U>>8,l[f]=U,f+8}T.prototype.writeBigUInt64LE=At(function(c,f=0){return ce(this,c,f,BigInt(0),BigInt("0xffffffffffffffff"))}),T.prototype.writeBigUInt64BE=At(function(c,f=0){return be(this,c,f,BigInt(0),BigInt("0xffffffffffffffff"))}),T.prototype.writeIntLE=function(c,f,b,M){if(c=+c,f=f>>>0,!M){const Pe=Math.pow(2,8*b-1);V(this,c,f,b,Pe-1,-Pe)}let O=0,U=1,Te=0;for(this[f]=c&255;++O<b&&(U*=256);)c<0&&Te===0&&this[f+O-1]!==0&&(Te=1),this[f+O]=(c/U>>0)-Te&255;return f+b},T.prototype.writeIntBE=function(c,f,b,M){if(c=+c,f=f>>>0,!M){const Pe=Math.pow(2,8*b-1);V(this,c,f,b,Pe-1,-Pe)}let O=b-1,U=1,Te=0;for(this[f+O]=c&255;--O>=0&&(U*=256);)c<0&&Te===0&&this[f+O+1]!==0&&(Te=1),this[f+O]=(c/U>>0)-Te&255;return f+b},T.prototype.writeInt8=function(c,f,b){return c=+c,f=f>>>0,b||V(this,c,f,1,127,-128),c<0&&(c=255+c+1),this[f]=c&255,f+1},T.prototype.writeInt16LE=function(c,f,b){return c=+c,f=f>>>0,b||V(this,c,f,2,32767,-32768),this[f]=c&255,this[f+1]=c>>>8,f+2},T.prototype.writeInt16BE=function(c,f,b){return c=+c,f=f>>>0,b||V(this,c,f,2,32767,-32768),this[f]=c>>>8,this[f+1]=c&255,f+2},T.prototype.writeInt32LE=function(c,f,b){return c=+c,f=f>>>0,b||V(this,c,f,4,2147483647,-2147483648),this[f]=c&255,this[f+1]=c>>>8,this[f+2]=c>>>16,this[f+3]=c>>>24,f+4},T.prototype.writeInt32BE=function(c,f,b){return c=+c,f=f>>>0,b||V(this,c,f,4,2147483647,-2147483648),c<0&&(c=4294967295+c+1),this[f]=c>>>24,this[f+1]=c>>>16,this[f+2]=c>>>8,this[f+3]=c&255,f+4},T.prototype.writeBigInt64LE=At(function(c,f=0){return ce(this,c,f,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),T.prototype.writeBigInt64BE=At(function(c,f=0){return be(this,c,f,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function Ze(l,c,f,b,M,O){if(f+b>l.length)throw new RangeError("Index out of range");if(f<0)throw new RangeError("Index out of range")}function dt(l,c,f,b,M){return c=+c,f=f>>>0,M||Ze(l,c,f,4),s.write(l,c,f,b,23,4),f+4}T.prototype.writeFloatLE=function(c,f,b){return dt(this,c,f,!0,b)},T.prototype.writeFloatBE=function(c,f,b){return dt(this,c,f,!1,b)};function ft(l,c,f,b,M){return c=+c,f=f>>>0,M||Ze(l,c,f,8),s.write(l,c,f,b,52,8),f+8}T.prototype.writeDoubleLE=function(c,f,b){return ft(this,c,f,!0,b)},T.prototype.writeDoubleBE=function(c,f,b){return ft(this,c,f,!1,b)},T.prototype.copy=function(c,f,b,M){if(!T.isBuffer(c))throw new TypeError("argument should be a Buffer");if(b||(b=0),!M&&M!==0&&(M=this.length),f>=c.length&&(f=c.length),f||(f=0),M>0&&M<b&&(M=b),M===b||c.length===0||this.length===0)return 0;if(f<0)throw new RangeError("targetStart out of bounds");if(b<0||b>=this.length)throw new RangeError("Index out of range");if(M<0)throw new RangeError("sourceEnd out of bounds");M>this.length&&(M=this.length),c.length-f<M-b&&(M=c.length-f+b);const O=M-b;return this===c&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(f,b,M):Uint8Array.prototype.set.call(c,this.subarray(b,M),f),O},T.prototype.fill=function(c,f,b,M){if(typeof c=="string"){if(typeof f=="string"?(M=f,f=0,b=this.length):typeof b=="string"&&(M=b,b=this.length),M!==void 0&&typeof M!="string")throw new TypeError("encoding must be a string");if(typeof M=="string"&&!T.isEncoding(M))throw new TypeError("Unknown encoding: "+M);if(c.length===1){const U=c.charCodeAt(0);(M==="utf8"&&U<128||M==="latin1")&&(c=U)}}else typeof c=="number"?c=c&255:typeof c=="boolean"&&(c=Number(c));if(f<0||this.length<f||this.length<b)throw new RangeError("Out of range index");if(b<=f)return this;f=f>>>0,b=b===void 0?this.length:b>>>0,c||(c=0);let O;if(typeof c=="number")for(O=f;O<b;++O)this[O]=c;else{const U=T.isBuffer(c)?c:T.from(c,M),Te=U.length;if(Te===0)throw new TypeError('The value "'+c+'" is invalid for argument "value"');for(O=0;O<b-f;++O)this[O+f]=U[O%Te]}return this};const Qe={};function rt(l,c,f){Qe[l]=class extends f{constructor(){super(),Object.defineProperty(this,"message",{value:c.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${l}]`,this.stack,delete this.name}get code(){return l}set code(M){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:M,writable:!0})}toString(){return`${this.name} [${l}]: ${this.message}`}}}rt("ERR_BUFFER_OUT_OF_BOUNDS",function(l){return l?`${l} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),rt("ERR_INVALID_ARG_TYPE",function(l,c){return`The "${l}" argument must be of type number. Received type ${typeof c}`},TypeError),rt("ERR_OUT_OF_RANGE",function(l,c,f){let b=`The value of "${l}" is out of range.`,M=f;return Number.isInteger(f)&&Math.abs(f)>2**32?M=wt(String(f)):typeof f=="bigint"&&(M=String(f),(f>BigInt(2)**BigInt(32)||f<-(BigInt(2)**BigInt(32)))&&(M=wt(M)),M+="n"),b+=` It must be ${c}. Received ${M}`,b},RangeError);function wt(l){let c="",f=l.length;const b=l[0]==="-"?1:0;for(;f>=b+4;f-=3)c=`_${l.slice(f-3,f)}${c}`;return`${l.slice(0,f)}${c}`}function Gt(l,c,f){Tt(c,"offset"),(l[c]===void 0||l[c+f]===void 0)&&Ct(c,l.length-(f+1))}function tn(l,c,f,b,M,O){if(l>f||l<c){const U=typeof c=="bigint"?"n":"";let Te;throw O>3?c===0||c===BigInt(0)?Te=`>= 0${U} and < 2${U} ** ${(O+1)*8}${U}`:Te=`>= -(2${U} ** ${(O+1)*8-1}${U}) and < 2 ** ${(O+1)*8-1}${U}`:Te=`>= ${c}${U} and <= ${f}${U}`,new Qe.ERR_OUT_OF_RANGE("value",Te,l)}Gt(b,M,O)}function Tt(l,c){if(typeof l!="number")throw new Qe.ERR_INVALID_ARG_TYPE(c,"number",l)}function Ct(l,c,f){throw Math.floor(l)!==l?(Tt(l,f),new Qe.ERR_OUT_OF_RANGE(f||"offset","an integer",l)):c<0?new Qe.ERR_BUFFER_OUT_OF_BOUNDS:new Qe.ERR_OUT_OF_RANGE(f||"offset",`>= ${f?1:0} and <= ${c}`,l)}const yn=/[^+/0-9A-Za-z-_]/g;function In(l){if(l=l.split("=")[0],l=l.trim().replace(yn,""),l.length<2)return"";for(;l.length%4!==0;)l=l+"=";return l}function nn(l,c){c=c||1/0;let f;const b=l.length;let M=null;const O=[];for(let U=0;U<b;++U){if(f=l.charCodeAt(U),f>55295&&f<57344){if(!M){if(f>56319){(c-=3)>-1&&O.push(239,191,189);continue}else if(U+1===b){(c-=3)>-1&&O.push(239,191,189);continue}M=f;continue}if(f<56320){(c-=3)>-1&&O.push(239,191,189),M=f;continue}f=(M-55296<<10|f-56320)+65536}else M&&(c-=3)>-1&&O.push(239,191,189);if(M=null,f<128){if((c-=1)<0)break;O.push(f)}else if(f<2048){if((c-=2)<0)break;O.push(f>>6|192,f&63|128)}else if(f<65536){if((c-=3)<0)break;O.push(f>>12|224,f>>6&63|128,f&63|128)}else if(f<1114112){if((c-=4)<0)break;O.push(f>>18|240,f>>12&63|128,f>>6&63|128,f&63|128)}else throw new Error("Invalid code point")}return O}function tr(l){const c=[];for(let f=0;f<l.length;++f)c.push(l.charCodeAt(f)&255);return c}function ve(l,c){let f,b,M;const O=[];for(let U=0;U<l.length&&!((c-=2)<0);++U)f=l.charCodeAt(U),b=f>>8,M=f%256,O.push(M),O.push(b);return O}function Hn(l){return o.toByteArray(In(l))}function an(l,c,f,b){let M;for(M=0;M<b&&!(M+f>=c.length||M>=l.length);++M)c[M+f]=l[M];return M}function Nt(l,c){return l instanceof c||l!=null&&l.constructor!=null&&l.constructor.name!=null&&l.constructor.name===c.name}function _n(l){return l!==l}const ta=function(){const l="0123456789abcdef",c=new Array(256);for(let f=0;f<16;++f){const b=f*16;for(let M=0;M<16;++M)c[b+M]=l[f]+l[M]}return c}();function At(l){return typeof BigInt>"u"?jr:l}function jr(){throw new Error("BigInt not supported")}})(r7);var o7={exports:{}},Yn=o7.exports={},Ui,ji;function iT(){throw new Error("setTimeout has not been defined")}function sT(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?Ui=setTimeout:Ui=iT}catch{Ui=iT}try{typeof clearTimeout=="function"?ji=clearTimeout:ji=sT}catch{ji=sT}})();function i7(r){if(Ui===setTimeout)return setTimeout(r,0);if((Ui===iT||!Ui)&&setTimeout)return Ui=setTimeout,setTimeout(r,0);try{return Ui(r,0)}catch{try{return Ui.call(null,r,0)}catch{return Ui.call(this,r,0)}}}function AC(r){if(ji===clearTimeout)return clearTimeout(r);if((ji===sT||!ji)&&clearTimeout)return ji=clearTimeout,clearTimeout(r);try{return ji(r)}catch{try{return ji.call(null,r)}catch{return ji.call(this,r)}}}var Qs=[],Kf=!1,bc,sy=-1;function OC(){!Kf||!bc||(Kf=!1,bc.length?Qs=bc.concat(Qs):sy=-1,Qs.length&&s7())}function s7(){if(!Kf){var r=i7(OC);Kf=!0;for(var o=Qs.length;o;){for(bc=Qs,Qs=[];++sy<o;)bc&&bc[sy].run();sy=-1,o=Qs.length}bc=null,Kf=!1,AC(r)}}Yn.nextTick=function(r){var o=new Array(arguments.length-1);if(arguments.length>1)for(var s=1;s<arguments.length;s++)o[s-1]=arguments[s];Qs.push(new l7(r,o)),Qs.length===1&&!Kf&&i7(s7)};function l7(r,o){this.fun=r,this.array=o}l7.prototype.run=function(){this.fun.apply(null,this.array)};Yn.title="browser";Yn.browser=!0;Yn.env={};Yn.argv=[];Yn.version="";Yn.versions={};function Ws(){}Yn.on=Ws;Yn.addListener=Ws;Yn.once=Ws;Yn.off=Ws;Yn.removeListener=Ws;Yn.removeAllListeners=Ws;Yn.emit=Ws;Yn.prependListener=Ws;Yn.prependOnceListener=Ws;Yn.listeners=function(r){return[]};Yn.binding=function(r){throw new Error("process.binding is not supported")};Yn.cwd=function(){return"/"};Yn.chdir=function(r){throw new Error("process.chdir is not supported")};Yn.umask=function(){return 0};var xC=o7.exports;(function(r){Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});const o=r7,s=xC,m=g=>g&&g.__esModule?g:{default:g},p=m(s),v=globalThis||void 0||self;Object.defineProperty(r,"Buffer",{enumerable:!0,get:()=>o.Buffer}),Object.defineProperty(r,"process",{enumerable:!0,get:()=>p.default}),r.global=v})(ap);function LC(){const r=new DataView(new ArrayBuffer(8));if(typeof BigInt=="function"&&typeof r.getBigInt64=="function"&&typeof r.getBigUint64=="function"&&typeof r.setBigInt64=="function"&&typeof r.setBigUint64=="function"&&(typeof ap.process!="object"||typeof ap.process.env!="object"||!1)){const p=BigInt("-9223372036854775808"),v=BigInt("9223372036854775807"),g=BigInt("0"),T=BigInt("18446744073709551615");return{zero:BigInt(0),supported:!0,parse(I){const C=typeof I=="bigint"?I:BigInt(I);if(C>v||C<p)throw new Error(`int64 invalid: ${I}`);return C},uParse(I){const C=typeof I=="bigint"?I:BigInt(I);if(C>T||C<g)throw new Error(`uint64 invalid: ${I}`);return C},enc(I){return r.setBigInt64(0,this.parse(I),!0),{lo:r.getInt32(0,!0),hi:r.getInt32(4,!0)}},uEnc(I){return r.setBigInt64(0,this.uParse(I),!0),{lo:r.getInt32(0,!0),hi:r.getInt32(4,!0)}},dec(I,C){return r.setInt32(0,I,!0),r.setInt32(4,C,!0),r.getBigInt64(0,!0)},uDec(I,C){return r.setInt32(0,I,!0),r.setInt32(4,C,!0),r.getBigUint64(0,!0)}}}const s=p=>Fa(/^-?[0-9]+$/.test(p),`int64 invalid: ${p}`),m=p=>Fa(/^[0-9]+$/.test(p),`uint64 invalid: ${p}`);return{zero:"0",supported:!1,parse(p){return typeof p!="string"&&(p=p.toString()),s(p),p},uParse(p){return typeof p!="string"&&(p=p.toString()),m(p),p},enc(p){return typeof p!="string"&&(p=p.toString()),s(p),W5(p)},uEnc(p){return typeof p!="string"&&(p=p.toString()),m(p),W5(p)},dec(p,v){return vC(p,v)},uDec(p,v){return e7(p,v)}}}const wr=LC();var Vn;(function(r){r[r.Varint=0]="Varint",r[r.Bit64=1]="Bit64",r[r.LengthDelimited=2]="LengthDelimited",r[r.StartGroup=3]="StartGroup",r[r.EndGroup=4]="EndGroup",r[r.Bit32=5]="Bit32"})(Vn||(Vn={}));class RC{constructor(o){this.stack=[],this.textEncoder=o??new TextEncoder,this.chunks=[],this.buf=[]}finish(){this.chunks.push(new Uint8Array(this.buf));let o=0;for(let p=0;p<this.chunks.length;p++)o+=this.chunks[p].length;let s=new Uint8Array(o),m=0;for(let p=0;p<this.chunks.length;p++)s.set(this.chunks[p],m),m+=this.chunks[p].length;return this.chunks=[],s}fork(){return this.stack.push({chunks:this.chunks,buf:this.buf}),this.chunks=[],this.buf=[],this}join(){let o=this.finish(),s=this.stack.pop();if(!s)throw new Error("invalid state, fork stack empty");return this.chunks=s.chunks,this.buf=s.buf,this.uint32(o.byteLength),this.raw(o)}tag(o,s){return this.uint32((o<<3|s)>>>0)}raw(o){return this.buf.length&&(this.chunks.push(new Uint8Array(this.buf)),this.buf=[]),this.chunks.push(o),this}uint32(o){for(oT(o);o>127;)this.buf.push(o&127|128),o=o>>>7;return this.buf.push(o),this}int32(o){return oy(o),Z5(o,this.buf),this}bool(o){return this.buf.push(o?1:0),this}bytes(o){return this.uint32(o.byteLength),this.raw(o)}string(o){let s=this.textEncoder.encode(o);return this.uint32(s.byteLength),this.raw(s)}float(o){W9(o);let s=new Uint8Array(4);return new DataView(s.buffer).setFloat32(0,o,!0),this.raw(s)}double(o){let s=new Uint8Array(8);return new DataView(s.buffer).setFloat64(0,o,!0),this.raw(s)}fixed32(o){oT(o);let s=new Uint8Array(4);return new DataView(s.buffer).setUint32(0,o,!0),this.raw(s)}sfixed32(o){oy(o);let s=new Uint8Array(4);return new DataView(s.buffer).setInt32(0,o,!0),this.raw(s)}sint32(o){return oy(o),o=(o<<1^o>>31)>>>0,Z5(o,this.buf),this}sfixed64(o){let s=new Uint8Array(8),m=new DataView(s.buffer),p=wr.enc(o);return m.setInt32(0,p.lo,!0),m.setInt32(4,p.hi,!0),this.raw(s)}fixed64(o){let s=new Uint8Array(8),m=new DataView(s.buffer),p=wr.uEnc(o);return m.setInt32(0,p.lo,!0),m.setInt32(4,p.hi,!0),this.raw(s)}int64(o){let s=wr.enc(o);return w4(s.lo,s.hi,this.buf),this}sint64(o){let s=wr.enc(o),m=s.hi>>31,p=s.lo<<1^m,v=(s.hi<<1|s.lo>>>31)^m;return w4(p,v,this.buf),this}uint64(o){let s=wr.uEnc(o);return w4(s.lo,s.hi,this.buf),this}}class DC{constructor(o,s){this.varint64=yC,this.uint32=kC,this.buf=o,this.len=o.length,this.pos=0,this.view=new DataView(o.buffer,o.byteOffset,o.byteLength),this.textDecoder=s??new TextDecoder}tag(){let o=this.uint32(),s=o>>>3,m=o&7;if(s<=0||m<0||m>5)throw new Error("illegal tag: field no "+s+" wire type "+m);return[s,m]}skip(o){let s=this.pos;switch(o){case Vn.Varint:for(;this.buf[this.pos++]&128;);break;case Vn.Bit64:this.pos+=4;case Vn.Bit32:this.pos+=4;break;case Vn.LengthDelimited:let m=this.uint32();this.pos+=m;break;case Vn.StartGroup:let p;for(;(p=this.tag()[1])!==Vn.EndGroup;)this.skip(p);break;default:throw new Error("cant skip wire type "+o)}return this.assertBounds(),this.buf.subarray(s,this.pos)}assertBounds(){if(this.pos>this.len)throw new RangeError("premature EOF")}int32(){return this.uint32()|0}sint32(){let o=this.uint32();return o>>>1^-(o&1)}int64(){return wr.dec(...this.varint64())}uint64(){return wr.uDec(...this.varint64())}sint64(){let[o,s]=this.varint64(),m=-(o&1);return o=(o>>>1|(s&1)<<31)^m,s=s>>>1^m,wr.dec(o,s)}bool(){let[o,s]=this.varint64();return o!==0||s!==0}fixed32(){return this.view.getUint32((this.pos+=4)-4,!0)}sfixed32(){return this.view.getInt32((this.pos+=4)-4,!0)}fixed64(){return wr.uDec(this.sfixed32(),this.sfixed32())}sfixed64(){return wr.dec(this.sfixed32(),this.sfixed32())}float(){return this.view.getFloat32((this.pos+=4)-4,!0)}double(){return this.view.getFloat64((this.pos+=8)-8,!0)}bytes(){let o=this.uint32(),s=this.pos;return this.pos+=o,this.assertBounds(),this.buf.subarray(s,s+o)}string(){return this.textDecoder.decode(this.bytes())}}function lT(r,o){return o instanceof Wi||!r.fieldWrapper?o:r.fieldWrapper.wrapField(o)}ke.DOUBLE,ke.FLOAT,ke.INT64,ke.UINT64,ke.INT32,ke.UINT32,ke.BOOL,ke.STRING,ke.BYTES;function Jl(r,o,s){if(o===s)return!0;if(r==ke.BYTES){if(!(o instanceof Uint8Array)||!(s instanceof Uint8Array)||o.length!==s.length)return!1;for(let m=0;m<o.length;m++)if(o[m]!==s[m])return!1;return!0}switch(r){case ke.UINT64:case ke.FIXED64:case ke.INT64:case ke.SFIXED64:case ke.SINT64:return o==s}return!1}function uT(r,o){switch(r){case ke.BOOL:return!1;case ke.UINT64:case ke.FIXED64:case ke.INT64:case ke.SFIXED64:case ke.SINT64:return o==0?wr.zero:"0";case ke.DOUBLE:case ke.FLOAT:return 0;case ke.BYTES:return new Uint8Array(0);case ke.STRING:return"";default:return 0}}function u7(r,o){const s=o===void 0;let m=Vn.Varint,p=o===0;switch(r){case ke.STRING:p=s||!o.length,m=Vn.LengthDelimited;break;case ke.BOOL:p=o===!1;break;case ke.DOUBLE:m=Vn.Bit64;break;case ke.FLOAT:m=Vn.Bit32;break;case ke.INT64:p=s||o==0;break;case ke.UINT64:p=s||o==0;break;case ke.FIXED64:p=s||o==0,m=Vn.Bit64;break;case ke.BYTES:p=s||!o.byteLength,m=Vn.LengthDelimited;break;case ke.FIXED32:m=Vn.Bit32;break;case ke.SFIXED32:m=Vn.Bit32;break;case ke.SFIXED64:p=s||o==0,m=Vn.Bit64;break;case ke.SINT64:p=s||o==0;break}const v=ke[r].toLowerCase();return[m,v,s||p]}const Pf=Symbol("@bufbuild/protobuf/unknown-fields"),J5={readUnknownFields:!0,readerFactory:r=>new DC(r)},X5={writeUnknownFields:!0,writerFactory:()=>new RC};function PC(r){return r?Object.assign(Object.assign({},J5),r):J5}function UC(r){return r?Object.assign(Object.assign({},X5),r):X5}function jC(){return{makeReadOptions:PC,makeWriteOptions:UC,listUnknownFields(r){var o;return(o=r[Pf])!==null&&o!==void 0?o:[]},discardUnknownFields(r){delete r[Pf]},writeUnknownFields(r,o){const m=r[Pf];if(m)for(const p of m)o.tag(p.no,p.wireType).raw(p.data)},onUnknownField(r,o,s,m){const p=r;Array.isArray(p[Pf])||(p[Pf]=[]),p[Pf].push({no:o,wireType:s,data:m})},readMessage(r,o,s,m){const p=r.getType(),v=s===void 0?o.len:o.pos+s;for(;o.pos<v;){const[g,T]=o.tag(),I=p.fields.find(g);if(!I){const x=o.skip(T);m.readUnknownFields&&this.onUnknownField(r,g,T,x);continue}let C=r,D=I.repeated,R=I.localName;switch(I.oneof&&(C=C[I.oneof.localName],C.case!=R&&delete C.value,C.case=R,R="value"),I.kind){case"scalar":case"enum":const x=I.kind=="enum"?ke.INT32:I.T;let j=gy;if(I.kind=="scalar"&&I.L>0&&(j=BC),D){let G=C[R];if(T==Vn.LengthDelimited&&x!=ke.STRING&&x!=ke.BYTES){let se=o.uint32()+o.pos;for(;o.pos<se;)G.push(j(o,x))}else G.push(j(o,x))}else C[R]=j(o,x);break;case"message":const Q=I.T;D?C[R].push(ly(o,new Q,m)):C[R]instanceof Wi?ly(o,C[R],m):(C[R]=ly(o,new Q,m),Q.fieldWrapper&&!I.oneof&&!I.repeated&&(C[R]=Q.fieldWrapper.unwrapField(C[R])));break;case"map":let[W,le]=zC(I,o,m);C[R][W]=le;break}}}}}function ly(r,o,s){return o.getType().runtime.bin.readMessage(o,r,r.uint32(),s),o}function zC(r,o,s){const m=o.uint32(),p=o.pos+m;let v,g;for(;o.pos<p;){let[T]=o.tag();switch(T){case 1:v=gy(o,r.K);break;case 2:switch(r.V.kind){case"scalar":g=gy(o,r.V.T);break;case"enum":g=o.int32();break;case"message":g=ly(o,new r.V.T,s);break}break}}if(v===void 0){let T=uT(r.K,Oc.BIGINT);v=r.K==ke.BOOL?T.toString():T}if(typeof v!="string"&&typeof v!="number"&&(v=v.toString()),g===void 0)switch(r.V.kind){case"scalar":g=uT(r.V.T,Oc.BIGINT);break;case"enum":g=0;break;case"message":g=new r.V.T;break}return[v,g]}function BC(r,o){const s=gy(r,o);return typeof s=="bigint"?s.toString():s}function gy(r,o){switch(o){case ke.STRING:return r.string();case ke.BOOL:return r.bool();case ke.DOUBLE:return r.double();case ke.FLOAT:return r.float();case ke.INT32:return r.int32();case ke.INT64:return r.int64();case ke.UINT64:return r.uint64();case ke.FIXED64:return r.fixed64();case ke.BYTES:return r.bytes();case ke.FIXED32:return r.fixed32();case ke.SFIXED32:return r.sfixed32();case ke.SFIXED64:return r.sfixed64();case ke.SINT64:return r.sint64();case ke.UINT32:return r.uint32();case ke.SINT32:return r.sint32()}}function FC(r,o,s,m,p){r.tag(s.no,Vn.LengthDelimited),r.fork();let v=m;switch(s.K){case ke.INT32:case ke.FIXED32:case ke.UINT32:case ke.SFIXED32:case ke.SINT32:v=Number.parseInt(m);break;case ke.BOOL:Fa(m=="true"||m=="false"),v=m=="true";break}switch(x1(r,s.K,1,v,!0),s.V.kind){case"scalar":x1(r,s.V.T,2,p,!0);break;case"enum":x1(r,ke.INT32,2,p,!0);break;case"message":cT(r,o,s.V.T,2,p);break}r.join()}function cT(r,o,s,m,p){if(p!==void 0){const v=lT(s,p);r.tag(m,Vn.LengthDelimited).bytes(v.toBinary(o))}}function x1(r,o,s,m,p){let[v,g,T]=u7(o,m);(!T||p)&&r.tag(s,v)[g](m)}function VC(r,o,s,m){if(!m.length)return;r.tag(s,Vn.LengthDelimited).fork();let[,p]=u7(o);for(let v=0;v<m.length;v++)r[p](m[v]);r.join()}function YC(){return Object.assign(Object.assign({},jC()),{writeMessage(r,o,s){const m=r.getType();for(const p of m.fields.byNumber()){let v,g=p.repeated,T=p.localName;if(p.oneof){const I=r[p.oneof.localName];if(I.case!==T)continue;v=I.value}else v=r[T];switch(p.kind){case"scalar":case"enum":let I=p.kind=="enum"?ke.INT32:p.T;if(g)if(p.packed)VC(o,I,p.no,v);else for(const C of v)x1(o,I,p.no,C,!0);else v!==void 0&&x1(o,I,p.no,v,!!p.oneof||p.opt);break;case"message":if(g)for(const C of v)cT(o,s,p.T,p.no,C);else cT(o,s,p.T,p.no,v);break;case"map":for(const[C,D]of Object.entries(v))FC(o,s,p,C,D);break}}return s.writeUnknownFields&&this.writeUnknownFields(r,o),o}})}let Fs="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),Oy=[];for(let r=0;r<Fs.length;r++)Oy[Fs[r].charCodeAt(0)]=r;Oy["-".charCodeAt(0)]=Fs.indexOf("+");Oy["_".charCodeAt(0)]=Fs.indexOf("/");const DT={dec(r){let o=r.length*3/4;r[r.length-2]=="="?o-=2:r[r.length-1]=="="&&(o-=1);let s=new Uint8Array(o),m=0,p=0,v,g=0;for(let T=0;T<r.length;T++){if(v=Oy[r.charCodeAt(T)],v===void 0)switch(r[T]){case"=":p=0;case`
10
- `:case"\r":case" ":case" ":continue;default:throw Error("invalid base64 string.")}switch(p){case 0:g=v,p=1;break;case 1:s[m++]=g<<2|(v&48)>>4,g=v,p=2;break;case 2:s[m++]=(g&15)<<4|(v&60)>>2,g=v,p=3;break;case 3:s[m++]=(g&3)<<6|v,p=0;break}}if(p==1)throw Error("invalid base64 string.");return s.subarray(0,m)},enc(r){let o="",s=0,m,p=0;for(let v=0;v<r.length;v++)switch(m=r[v],s){case 0:o+=Fs[m>>2],p=(m&3)<<4,s=1;break;case 1:o+=Fs[p|m>>4],p=(m&15)<<2,s=2;break;case 2:o+=Fs[p|m>>6],o+=Fs[m&63],s=0;break}return s&&(o+=Fs[p],o+="=",s==1&&(o+="=")),o}},eb={ignoreUnknownFields:!1},tb={emitDefaultValues:!1,enumAsInteger:!1,useProtoFieldName:!1,prettySpaces:0};function QC(r){return r?Object.assign(Object.assign({},eb),r):eb}function GC(r){return r?Object.assign(Object.assign({},tb),r):tb}function HC(r){const o=r($C,nb);return{makeReadOptions:QC,makeWriteOptions:GC,readMessage(s,m,p,v){if(m==null||Array.isArray(m)||typeof m!="object")throw new Error(`cannot decode message ${s.typeName} from JSON: ${this.debug(m)}`);v=v??new s;const g={};for(const[T,I]of Object.entries(m)){const C=s.fields.findJsonName(T);if(!C){if(!p.ignoreUnknownFields)throw new Error(`cannot decode message ${s.typeName} from JSON: key "${T}" is unknown`);continue}let D=C.localName,R=v;if(C.oneof){if(I===null&&C.kind=="scalar")continue;const x=g[C.oneof.localName];if(x)throw new Error(`cannot decode message ${s.typeName} from JSON: multiple keys for oneof "${C.oneof.name}" present: "${x}", "${T}"`);g[C.oneof.localName]=T,R=R[C.oneof.localName]={case:D},D="value"}if(C.repeated){if(I===null)continue;if(!Array.isArray(I))throw new Error(`cannot decode field ${s.typeName}.${C.name} from JSON: ${this.debug(I)}`);const x=R[D];for(const j of I){if(j===null)throw new Error(`cannot decode field ${s.typeName}.${C.name} from JSON: ${this.debug(j)}`);let Q;switch(C.kind){case"message":Q=C.T.fromJson(j,p);break;case"enum":if(Q=E4(C.T,j,p.ignoreUnknownFields),Q===void 0)continue;break;case"scalar":try{Q=I1(C.T,j,C.L)}catch(W){let le=`cannot decode field ${s.typeName}.${C.name} from JSON: ${this.debug(j)}`;throw W instanceof Error&&W.message.length>0&&(le+=`: ${W.message}`),new Error(le)}break}x.push(Q)}}else if(C.kind=="map"){if(I===null)continue;if(Array.isArray(I)||typeof I!="object")throw new Error(`cannot decode field ${s.typeName}.${C.name} from JSON: ${this.debug(I)}`);const x=R[D];for(const[j,Q]of Object.entries(I)){if(Q===null)throw new Error(`cannot decode field ${s.typeName}.${C.name} from JSON: map value null`);let W;switch(C.V.kind){case"message":W=C.V.T.fromJson(Q,p);break;case"enum":if(W=E4(C.V.T,Q,p.ignoreUnknownFields),W===void 0)continue;break;case"scalar":try{W=I1(C.V.T,Q,Oc.BIGINT)}catch(le){let G=`cannot decode map value for field ${s.typeName}.${C.name} from JSON: ${this.debug(I)}`;throw le instanceof Error&&le.message.length>0&&(G+=`: ${le.message}`),new Error(G)}break}try{x[I1(C.K,C.K==ke.BOOL?j=="true"?!0:j=="false"?!1:j:j,Oc.BIGINT).toString()]=W}catch(le){let G=`cannot decode map key for field ${s.typeName}.${C.name} from JSON: ${this.debug(I)}`;throw le instanceof Error&&le.message.length>0&&(G+=`: ${le.message}`),new Error(G)}}}else switch(C.kind){case"message":const x=C.T;if(I===null&&x.typeName!="google.protobuf.Value"){if(C.oneof)throw new Error(`cannot decode field ${s.typeName}.${C.name} from JSON: null is invalid for oneof field "${T}"`);continue}R[D]instanceof Wi?R[D].fromJson(I,p):(R[D]=x.fromJson(I,p),x.fieldWrapper&&!C.oneof&&(R[D]=x.fieldWrapper.unwrapField(R[D])));break;case"enum":const j=E4(C.T,I,p.ignoreUnknownFields);j!==void 0&&(R[D]=j);break;case"scalar":try{R[D]=I1(C.T,I,C.L)}catch(Q){let W=`cannot decode field ${s.typeName}.${C.name} from JSON: ${this.debug(I)}`;throw Q instanceof Error&&Q.message.length>0&&(W+=`: ${Q.message}`),new Error(W)}break}}return v},writeMessage(s,m){const p=s.getType(),v={};let g;try{for(const T of p.fields.byMember()){let I;if(T.kind=="oneof"){const C=s[T.localName];if(C.value===void 0)continue;if(g=T.findField(C.case),!g)throw"oneof case not found: "+C.case;I=o(g,C.value,m)}else g=T,I=o(g,s[g.localName],m);I!==void 0&&(v[m.useProtoFieldName?g.name:g.jsonName]=I)}}catch(T){const I=g?`cannot encode field ${p.typeName}.${g.name} to JSON`:`cannot encode message ${p.typeName} to JSON`,C=T instanceof Error?T.message:String(T);throw new Error(I+(C.length>0?`: ${C}`:""))}return v},readScalar:I1,writeScalar:nb,debug:c7}}function c7(r){if(r===null)return"null";switch(typeof r){case"object":return Array.isArray(r)?"array":"object";case"string":return r.length>100?"string":`"${r.split('"').join('\\"')}"`;default:return String(r)}}function I1(r,o,s){switch(r){case ke.DOUBLE:case ke.FLOAT:if(o===null)return 0;if(o==="NaN")return Number.NaN;if(o==="Infinity")return Number.POSITIVE_INFINITY;if(o==="-Infinity")return Number.NEGATIVE_INFINITY;if(o===""||typeof o=="string"&&o.trim().length!==o.length||typeof o!="string"&&typeof o!="number")break;const m=Number(o);if(Number.isNaN(m)||!Number.isFinite(m))break;return r==ke.FLOAT&&W9(m),m;case ke.INT32:case ke.FIXED32:case ke.SFIXED32:case ke.SINT32:case ke.UINT32:if(o===null)return 0;let p;if(typeof o=="number"?p=o:typeof o=="string"&&o.length>0&&o.trim().length===o.length&&(p=Number(o)),p===void 0)break;return r==ke.UINT32?oT(p):oy(p),p;case ke.INT64:case ke.SFIXED64:case ke.SINT64:if(o===null)return wr.zero;if(typeof o!="number"&&typeof o!="string")break;const v=wr.parse(o);return s?v.toString():v;case ke.FIXED64:case ke.UINT64:if(o===null)return wr.zero;if(typeof o!="number"&&typeof o!="string")break;const g=wr.uParse(o);return s?g.toString():g;case ke.BOOL:if(o===null)return!1;if(typeof o!="boolean")break;return o;case ke.STRING:if(o===null)return"";if(typeof o!="string")break;try{encodeURIComponent(o)}catch{throw new Error("invalid UTF8")}return o;case ke.BYTES:if(o===null||o==="")return new Uint8Array(0);if(typeof o!="string")break;return DT.dec(o)}throw new Error}function E4(r,o,s){if(o===null)return 0;switch(typeof o){case"number":if(Number.isInteger(o))return o;break;case"string":const m=r.findName(o);if(m||s)return m==null?void 0:m.no;break}throw new Error(`cannot decode enum ${r.typeName} from JSON: ${c7(o)}`)}function $C(r,o,s,m){var p;if(o===void 0)return o;if(o===0&&!s)return;if(m)return o;if(r.typeName=="google.protobuf.NullValue")return null;const v=r.findNumber(o);return(p=v==null?void 0:v.name)!==null&&p!==void 0?p:o}function nb(r,o,s){if(o!==void 0)switch(r){case ke.INT32:case ke.SFIXED32:case ke.SINT32:case ke.FIXED32:case ke.UINT32:return Fa(typeof o=="number"),o!=0||s?o:void 0;case ke.FLOAT:case ke.DOUBLE:return Fa(typeof o=="number"),Number.isNaN(o)?"NaN":o===Number.POSITIVE_INFINITY?"Infinity":o===Number.NEGATIVE_INFINITY?"-Infinity":o!==0||s?o:void 0;case ke.STRING:return Fa(typeof o=="string"),o.length>0||s?o:void 0;case ke.BOOL:return Fa(typeof o=="boolean"),o||s?o:void 0;case ke.UINT64:case ke.FIXED64:case ke.INT64:case ke.SFIXED64:case ke.SINT64:return Fa(typeof o=="bigint"||typeof o=="string"||typeof o=="number"),s||o!=0?o.toString(10):void 0;case ke.BYTES:return Fa(o instanceof Uint8Array),s||o.byteLength>0?DT.enc(o):void 0}}function qC(){return HC((r,o)=>function(m,p,v){if(m.kind=="map"){const g={};switch(m.V.kind){case"scalar":for(const[I,C]of Object.entries(p)){const D=o(m.V.T,C,!0);Fa(D!==void 0),g[I.toString()]=D}break;case"message":for(const[I,C]of Object.entries(p))g[I.toString()]=C.toJson(v);break;case"enum":const T=m.V.T;for(const[I,C]of Object.entries(p)){Fa(C===void 0||typeof C=="number");const D=r(T,C,!0,v.enumAsInteger);Fa(D!==void 0),g[I.toString()]=D}break}return v.emitDefaultValues||Object.keys(g).length>0?g:void 0}else if(m.repeated){const g=[];switch(m.kind){case"scalar":for(let T=0;T<p.length;T++)g.push(o(m.T,p[T],!0));break;case"enum":for(let T=0;T<p.length;T++)g.push(r(m.T,p[T],!0,v.enumAsInteger));break;case"message":for(let T=0;T<p.length;T++)g.push(lT(m.T,p[T]).toJson(v));break}return v.emitDefaultValues||g.length>0?g:void 0}else switch(m.kind){case"scalar":return o(m.T,p,!!m.oneof||m.opt||v.emitDefaultValues);case"enum":return r(m.T,p,!!m.oneof||m.opt||v.emitDefaultValues,v.enumAsInteger);case"message":return p!==void 0?lT(m.T,p).toJson(v):void 0}})}function WC(){return{setEnumType:Z9,initPartial(r,o){if(r===void 0)return;const s=o.getType();for(const m of s.fields.byMember()){const p=m.localName,v=o,g=r;if(g[p]!==void 0)switch(m.kind){case"oneof":const T=g[p].case;if(T===void 0)continue;const I=m.findField(T);let C=g[p].value;I&&I.kind=="message"&&!(C instanceof I.T)?C=new I.T(C):I&&I.kind==="scalar"&&I.T===ke.BYTES&&(C=_1(C)),v[p]={case:T,value:C};break;case"scalar":case"enum":let D=g[p];m.T===ke.BYTES&&(D=m.repeated?D.map(_1):_1(D)),v[p]=D;break;case"map":switch(m.V.kind){case"scalar":case"enum":if(m.V.T===ke.BYTES)for(const[j,Q]of Object.entries(g[p]))v[p][j]=_1(Q);else Object.assign(v[p],g[p]);break;case"message":const x=m.V.T;for(const j of Object.keys(g[p])){let Q=g[p][j];x.fieldWrapper||(Q=new x(Q)),v[p][j]=Q}break}break;case"message":const R=m.T;if(m.repeated)v[p]=g[p].map(x=>x instanceof R?x:new R(x));else if(g[p]!==void 0){const x=g[p];R.fieldWrapper?R.typeName==="google.protobuf.BytesValue"?v[p]=_1(x):v[p]=x:v[p]=x instanceof R?x:new R(x)}break}}},equals(r,o,s){return o===s?!0:!o||!s?!1:r.fields.byMember().every(m=>{const p=o[m.localName],v=s[m.localName];if(m.repeated){if(p.length!==v.length)return!1;switch(m.kind){case"message":return p.every((g,T)=>m.T.equals(g,v[T]));case"scalar":return p.every((g,T)=>Jl(m.T,g,v[T]));case"enum":return p.every((g,T)=>Jl(ke.INT32,g,v[T]))}throw new Error(`repeated cannot contain ${m.kind}`)}switch(m.kind){case"message":return m.T.equals(p,v);case"enum":return Jl(ke.INT32,p,v);case"scalar":return Jl(m.T,p,v);case"oneof":if(p.case!==v.case)return!1;const g=m.findField(p.case);if(g===void 0)return!0;switch(g.kind){case"message":return g.T.equals(p.value,v.value);case"enum":return Jl(ke.INT32,p.value,v.value);case"scalar":return Jl(g.T,p.value,v.value)}throw new Error(`oneof cannot contain ${g.kind}`);case"map":const T=Object.keys(p).concat(Object.keys(v));switch(m.V.kind){case"message":const I=m.V.T;return T.every(D=>I.equals(p[D],v[D]));case"enum":return T.every(D=>Jl(ke.INT32,p[D],v[D]));case"scalar":const C=m.V.T;return T.every(D=>Jl(C,p[D],v[D]))}break}})},clone(r){const o=r.getType(),s=new o,m=s;for(const p of o.fields.byMember()){const v=r[p.localName];let g;if(p.repeated)g=v.map(X0);else if(p.kind=="map"){g=m[p.localName];for(const[T,I]of Object.entries(v))g[T]=X0(I)}else p.kind=="oneof"?g=p.findField(v.case)?{case:v.case,value:X0(v.value)}:{case:void 0}:g=X0(v);m[p.localName]=g}return s}}}function X0(r){if(r===void 0)return r;if(r instanceof Wi)return r.clone();if(r instanceof Uint8Array){const o=new Uint8Array(r.byteLength);return o.set(r),o}return r}function _1(r){return r instanceof Uint8Array?r:new Uint8Array(r)}class KC{constructor(o,s){this._fields=o,this._normalizer=s}findJsonName(o){if(!this.jsonNames){const s={};for(const m of this.list())s[m.jsonName]=s[m.name]=m;this.jsonNames=s}return this.jsonNames[o]}find(o){if(!this.numbers){const s={};for(const m of this.list())s[m.no]=m;this.numbers=s}return this.numbers[o]}list(){return this.all||(this.all=this._normalizer(this._fields)),this.all}byNumber(){return this.numbersAsc||(this.numbersAsc=this.list().concat().sort((o,s)=>o.no-s.no)),this.numbersAsc}byMember(){if(!this.members){this.members=[];const o=this.members;let s;for(const m of this.list())m.oneof?m.oneof!==s&&(s=m.oneof,o.push(s)):o.push(m)}return this.members}}function d7(r,o){const s=f7(r);return o?s:nA(tA(s))}function ZC(r){return d7(r,!1)}const JC=f7;function f7(r){let o=!1;const s=[];for(let m=0;m<r.length;m++){let p=r.charAt(m);switch(p){case"_":o=!0;break;case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":s.push(p),o=!1;break;default:o&&(o=!1,p=p.toUpperCase()),s.push(p);break}}return s.join("")}const XC=new Set(["constructor","toString","toJSON","valueOf"]),eA=new Set(["getType","clone","equals","fromBinary","fromJson","fromJsonString","toBinary","toJson","toJsonString","toObject"]),p7=r=>`${r}$`,tA=r=>eA.has(r)?p7(r):r,nA=r=>XC.has(r)?p7(r):r;class rA{constructor(o){this.kind="oneof",this.repeated=!1,this.packed=!1,this.opt=!1,this.default=void 0,this.fields=[],this.name=o,this.localName=ZC(o)}addField(o){Fa(o.oneof===this,`field ${o.name} not one of ${this.name}`),this.fields.push(o)}findField(o){if(!this._lookup){this._lookup=Object.create(null);for(let s=0;s<this.fields.length;s++)this._lookup[this.fields[s].localName]=this.fields[s]}return this._lookup[o]}}const N=gC("proto3",qC(),YC(),Object.assign(Object.assign({},WC()),{newFieldList(r){return new KC(r,aA)},initFields(r){for(const o of r.getType().fields.byMember()){if(o.opt)continue;const s=o.localName,m=r;if(o.repeated){m[s]=[];continue}switch(o.kind){case"oneof":m[s]={case:void 0};break;case"enum":m[s]=0;break;case"map":m[s]={};break;case"scalar":m[s]=uT(o.T,o.L);break}}}}));function aA(r){var o,s,m,p;const v=[];let g;for(const T of typeof r=="function"?r():r){const I=T;if(I.localName=d7(T.name,T.oneof!==void 0),I.jsonName=(o=T.jsonName)!==null&&o!==void 0?o:JC(T.name),I.repeated=(s=T.repeated)!==null&&s!==void 0?s:!1,T.kind=="scalar"&&(I.L=(m=T.L)!==null&&m!==void 0?m:Oc.BIGINT),I.packed=(p=T.packed)!==null&&p!==void 0?p:T.kind=="enum"||T.kind=="scalar"&&T.T!=ke.BYTES&&T.T!=ke.STRING,T.oneof!==void 0){const C=typeof T.oneof=="string"?T.oneof:T.oneof.name;(!g||g.name!=C)&&(g=new rA(C)),I.oneof=g,g.addField(I)}v.push(I)}return v}var et;(function(r){r[r.Unary=0]="Unary",r[r.ServerStreaming=1]="ServerStreaming",r[r.ClientStreaming=2]="ClientStreaming",r[r.BiDiStreaming=3]="BiDiStreaming"})(et||(et={}));var rb;(function(r){r[r.NoSideEffects=1]="NoSideEffects",r[r.Idempotent=2]="Idempotent"})(rb||(rb={}));class Ur extends Wi{constructor(o){super(),this.seconds=wr.zero,this.nanos=0,N.util.initPartial(o,this)}fromJson(o,s){if(typeof o!="string")throw new Error(`cannot decode google.protobuf.Timestamp from JSON: ${N.json.debug(o)}`);const m=o.match(/^([0-9]{4})-([0-9]{2})-([0-9]{2})T([0-9]{2}):([0-9]{2}):([0-9]{2})(?:Z|\.([0-9]{3,9})Z|([+-][0-9][0-9]:[0-9][0-9]))$/);if(!m)throw new Error("cannot decode google.protobuf.Timestamp from JSON: invalid RFC 3339 string");const p=Date.parse(m[1]+"-"+m[2]+"-"+m[3]+"T"+m[4]+":"+m[5]+":"+m[6]+(m[8]?m[8]:"Z"));if(Number.isNaN(p))throw new Error("cannot decode google.protobuf.Timestamp from JSON: invalid RFC 3339 string");if(p<Date.parse("0001-01-01T00:00:00Z")||p>Date.parse("9999-12-31T23:59:59Z"))throw new Error("cannot decode message google.protobuf.Timestamp from JSON: must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive");return this.seconds=wr.parse(p/1e3),this.nanos=0,m[7]&&(this.nanos=parseInt("1"+m[7]+"0".repeat(9-m[7].length))-1e9),this}toJson(o){const s=Number(this.seconds)*1e3;if(s<Date.parse("0001-01-01T00:00:00Z")||s>Date.parse("9999-12-31T23:59:59Z"))throw new Error("cannot encode google.protobuf.Timestamp to JSON: must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive");if(this.nanos<0)throw new Error("cannot encode google.protobuf.Timestamp to JSON: nanos must not be negative");let m="Z";if(this.nanos>0){const p=(this.nanos+1e9).toString().substring(1);p.substring(3)==="000000"?m="."+p.substring(0,3)+"Z":p.substring(6)==="000"?m="."+p.substring(0,6)+"Z":m="."+p+"Z"}return new Date(s).toISOString().replace(".000Z",m)}toDate(){return new Date(Number(this.seconds)*1e3+Math.ceil(this.nanos/1e6))}static now(){return Ur.fromDate(new Date)}static fromDate(o){const s=o.getTime();return new Ur({seconds:wr.parse(Math.floor(s/1e3)),nanos:s%1e3*1e6})}static fromBinary(o,s){return new Ur().fromBinary(o,s)}static fromJson(o,s){return new Ur().fromJson(o,s)}static fromJsonString(o,s){return new Ur().fromJsonString(o,s)}static equals(o,s){return N.util.equals(Ur,o,s)}}Ur.runtime=N;Ur.typeName="google.protobuf.Timestamp";Ur.fields=N.util.newFieldList(()=>[{no:1,name:"seconds",kind:"scalar",T:3},{no:2,name:"nanos",kind:"scalar",T:5}]);class Qi extends Wi{constructor(o){super(),this.typeUrl="",this.value=new Uint8Array(0),N.util.initPartial(o,this)}toJson(o){var s;if(this.typeUrl==="")return{};const m=this.typeUrlToName(this.typeUrl),p=(s=o==null?void 0:o.typeRegistry)===null||s===void 0?void 0:s.findMessage(m);if(!p)throw new Error(`cannot encode message google.protobuf.Any to JSON: "${this.typeUrl}" is not in the type registry`);let g=p.fromBinary(this.value).toJson(o);return(m.startsWith("google.protobuf.")||g===null||Array.isArray(g)||typeof g!="object")&&(g={value:g}),g["@type"]=this.typeUrl,g}fromJson(o,s){var m;if(o===null||Array.isArray(o)||typeof o!="object")throw new Error(`cannot decode message google.protobuf.Any from JSON: expected object but got ${o===null?"null":Array.isArray(o)?"array":typeof o}`);if(Object.keys(o).length==0)return this;const p=o["@type"];if(typeof p!="string"||p=="")throw new Error('cannot decode message google.protobuf.Any from JSON: "@type" is empty');const v=this.typeUrlToName(p),g=(m=s==null?void 0:s.typeRegistry)===null||m===void 0?void 0:m.findMessage(v);if(!g)throw new Error(`cannot decode message google.protobuf.Any from JSON: ${p} is not in the type registry`);let T;if(v.startsWith("google.protobuf.")&&Object.prototype.hasOwnProperty.call(o,"value"))T=g.fromJson(o.value,s);else{const I=Object.assign({},o);delete I["@type"],T=g.fromJson(I,s)}return this.packFrom(T),this}packFrom(o){this.value=o.toBinary(),this.typeUrl=this.typeNameToUrl(o.getType().typeName)}unpackTo(o){return this.is(o.getType())?(o.fromBinary(this.value),!0):!1}unpack(o){if(this.typeUrl==="")return;const s=o.findMessage(this.typeUrlToName(this.typeUrl));if(s)return s.fromBinary(this.value)}is(o){if(this.typeUrl==="")return!1;const s=this.typeUrlToName(this.typeUrl);let m="";return typeof o=="string"?m=o:m=o.typeName,s===m}typeNameToUrl(o){return`type.googleapis.com/${o}`}typeUrlToName(o){if(!o.length)throw new Error(`invalid type url: ${o}`);const s=o.lastIndexOf("/"),m=s>0?o.substring(s+1):o;if(!m.length)throw new Error(`invalid type url: ${o}`);return m}static pack(o){const s=new Qi;return s.packFrom(o),s}static fromBinary(o,s){return new Qi().fromBinary(o,s)}static fromJson(o,s){return new Qi().fromJson(o,s)}static fromJsonString(o,s){return new Qi().fromJsonString(o,s)}static equals(o,s){return N.util.equals(Qi,o,s)}}Qi.runtime=N;Qi.typeName="google.protobuf.Any";Qi.fields=N.util.newFieldList(()=>[{no:1,name:"type_url",kind:"scalar",T:9},{no:2,name:"value",kind:"scalar",T:12}]);N.makeEnum("streamlayer.analytics.v1.common.ResultStatus",[{no:0,name:"RESULT_STATUS_UNSET",localName:"UNSET"},{no:1,name:"RESULT_STATUS_OK",localName:"OK"},{no:2,name:"RESULT_STATUS_ERROR",localName:"ERROR"}]);N.makeEnum("streamlayer.analytics.v1.common.Kind",[{no:0,name:"KIND_UNSET",localName:"UNSET"},{no:1,name:"KIND_VIEWERS",localName:"VIEWERS"},{no:2,name:"KIND_EVENT_OPENED",localName:"EVENT_OPENED"},{no:3,name:"KIND_AUTHENTICATION_ATTEMPTED",localName:"AUTHENTICATION_ATTEMPTED"},{no:4,name:"KIND_AUTHENTICATION_COMPLETED",localName:"AUTHENTICATION_COMPLETED"},{no:5,name:"KIND_LAUNCH_BUTTON",localName:"LAUNCH_BUTTON"},{no:6,name:"KIND_PERMISSION_PROVIDED",localName:"PERMISSION_PROVIDED"},{no:7,name:"KIND_PERMISSION_NOT_PROVIDED",localName:"PERMISSION_NOT_PROVIDED"},{no:8,name:"KIND_INTERACTIONS",localName:"INTERACTIONS"},{no:9,name:"KIND_CONVERSATION_CREATED",localName:"CONVERSATION_CREATED"},{no:10,name:"KIND_CONVERSATION_JOINED",localName:"CONVERSATION_JOINED"},{no:11,name:"KIND_CONVERSATION_DELETED",localName:"CONVERSATION_DELETED"},{no:12,name:"KIND_NEW_CALL",localName:"NEW_CALL"},{no:13,name:"KIND_CALL_JOINED",localName:"CALL_JOINED"},{no:14,name:"KIND_CALL_FINISHED",localName:"CALL_FINISHED"},{no:15,name:"KIND_INVITATION_SENT",localName:"INVITATION_SENT"},{no:16,name:"KIND_INVITATION_ACCEPTED",localName:"INVITATION_ACCEPTED"},{no:17,name:"KIND_WAVES_SENT",localName:"WAVES_SENT"},{no:18,name:"KIND_WAVES_REPLIES",localName:"WAVES_REPLIES"},{no:19,name:"KIND_NOTIFICATION_RECEIVED",localName:"NOTIFICATION_RECEIVED"},{no:20,name:"KIND_NOTIFICATION_OPENED",localName:"NOTIFICATION_OPENED"},{no:21,name:"KIND_SESSION_HEARTBEAT",localName:"SESSION_HEARTBEAT"},{no:22,name:"KIND_CONVERSATION_OPENED",localName:"CONVERSATION_OPENED"},{no:23,name:"KIND_GROUP_CONVERSATION_OPENED",localName:"GROUP_CONVERSATION_OPENED"},{no:24,name:"KIND_GROUP_CALL_JOINED",localName:"GROUP_CALL_JOINED"},{no:25,name:"KIND_POLLS_VOTE",localName:"POLLS_VOTE"},{no:26,name:"KIND_POLLS_RECEIVED",localName:"POLLS_RECEIVED"},{no:27,name:"KIND_POLLS_OPENED",localName:"POLLS_OPENED"},{no:28,name:"KIND_GAMES_JOINED",localName:"GAMES_JOINED"},{no:29,name:"KIND_BUTTON_INITIALIZED",localName:"BUTTON_INITIALIZED"},{no:30,name:"KIND_POLLS_NAVIGATED",localName:"POLLS_NAVIGATED"}]);N.makeEnum("streamlayer.analytics.v1.common.Category",[{no:0,name:"CATEGORY_UNSET",localName:"UNSET"},{no:1,name:"CATEGORY_STATS_HOME",localName:"STATS_HOME"},{no:2,name:"CATEGORY_STATS",localName:"STATS"},{no:3,name:"CATEGORY_TWITTER_HOME",localName:"TWITTER_HOME"},{no:4,name:"CATEGORY_TWITTER",localName:"TWITTER"},{no:5,name:"CATEGORY_MESSAGING_HOME",localName:"MESSAGING_HOME"},{no:6,name:"CATEGORY_MESSAGING",localName:"MESSAGING"},{no:7,name:"CATEGORY_CALLING_HOME",localName:"CALLING_HOME"},{no:8,name:"CATEGORY_CALLING",localName:"CALLING"},{no:9,name:"CATEGORY_PROFILE_HOME",localName:"PROFILE_HOME"},{no:10,name:"CATEGORY_PROFILE",localName:"PROFILE"},{no:11,name:"CATEGORY_WHOISWATCHING",localName:"WHOISWATCHING"},{no:12,name:"CATEGORY_WHOISWATCHING_HOME",localName:"WHOISWATCHING_HOME"},{no:13,name:"CATEGORY_INTERSTITIAL",localName:"INTERSTITIAL"},{no:14,name:"CATEGORY_BETTING",localName:"BETTING"},{no:15,name:"CATEGORY_BETTING_HOME",localName:"BETTING_HOME"},{no:16,name:"CATEGORY_INPLAY",localName:"INPLAY"},{no:17,name:"CATEGORY_INPLAY_HOME",localName:"INPLAY_HOME"},{no:18,name:"CATEGORY_MERCHANDISE",localName:"MERCHANDISE"},{no:19,name:"CATEGORY_MERCHANDISE_HOME",localName:"MERCHANDISE_HOME"},{no:20,name:"CATEGORY_CONTESTS",localName:"CONTESTS"},{no:21,name:"CATEGORY_CONTESTS_HOME",localName:"CONTESTS_HOME"},{no:22,name:"CATEGORY_TICKETS",localName:"TICKETS"},{no:23,name:"CATEGORY_TICKETS_HOME",localName:"TICKETS_HOME"},{no:24,name:"CATEGORY_INVITATION",localName:"INVITATION"},{no:25,name:"CATEGORY_INVITATION_HOME",localName:"INVITATION_HOME"},{no:26,name:"CATEGORY_POLLS",localName:"POLLS"},{no:27,name:"CATEGORY_POLLS_HOME",localName:"POLLS_HOME"},{no:28,name:"CATEGORY_FANTASY",localName:"FANTASY"},{no:29,name:"CATEGORY_WP",localName:"WP"},{no:30,name:"CATEGORY_HIGHLIGHTS_HOME",localName:"HIGHLIGHTS_HOME"},{no:31,name:"CATEGORY_HIGHLIGHTS",localName:"HIGHLIGHTS"},{no:32,name:"CATEGORY_PUBLIC_CHAT_HOME",localName:"PUBLIC_CHAT_HOME"},{no:33,name:"CATEGORY_PUBLIC_CHAT",localName:"PUBLIC_CHAT"}]);N.makeEnum("streamlayer.analytics.v1.common.ScreenOrientation",[{no:0,name:"SCREEN_ORIENTATION_UNSET",localName:"UNSET"},{no:1,name:"SCREEN_ORIENTATION_PORTRAIT",localName:"PORTRAIT"},{no:2,name:"SCREEN_ORIENTATION_LANDSCAPE",localName:"LANDSCAPE"}]);N.makeEnum("streamlayer.analytics.v1.common.TopicType",[{no:0,name:"TOPIC_TYPE_UNSET",localName:"UNSET"},{no:1,name:"TOPIC_TYPE_CALL",localName:"CALL"},{no:2,name:"TOPIC_TYPE_CHAT",localName:"CHAT"},{no:3,name:"TOPIC_TYPE_FANTASY",localName:"FANTASY"},{no:4,name:"TOPIC_TYPE_POLLS",localName:"POLLS"},{no:5,name:"TOPIC_TYPE_POLLS_POLL",localName:"POLLS_POLL"},{no:6,name:"TOPIC_TYPE_POLLS_TRIVIA",localName:"POLLS_TRIVIA"},{no:7,name:"TOPIC_TYPE_POLLS_PREDICTION",localName:"POLLS_PREDICTION"},{no:8,name:"TOPIC_TYPE_POLLS_INSIGHT",localName:"POLLS_INSIGHT"},{no:9,name:"TOPIC_TYPE_POLLS_TWITTER",localName:"POLLS_TWITTER"},{no:10,name:"TOPIC_TYPE_LINK",localName:"LINK"},{no:11,name:"TOPIC_TYPE_MESSAGE",localName:"MESSAGE"},{no:12,name:"TOPIC_TYPE_POLLS_PROMOTION",localName:"POLLS_PROMOTION"},{no:13,name:"TOPIC_TYPE_PUBLIC_CHAT",localName:"PUBLIC_CHAT"}]);const oA=N.makeEnum("streamlayer.analytics.v1.common.TopicSubType",[{no:0,name:"TOPIC_SUB_TYPE_UNSET",localName:"UNSET"},{no:1,name:"TOPIC_SUB_TYPE_PROMOTION_INGAME_IAB21",localName:"PROMOTION_INGAME_IAB21"},{no:2,name:"TOPIC_SUB_TYPE_PROMOTION_INGAME_IAB11",localName:"PROMOTION_INGAME_IAB11"},{no:3,name:"TOPIC_SUB_TYPE_PROMOTION_INGAME_IAB61",localName:"PROMOTION_INGAME_IAB61"},{no:4,name:"TOPIC_SUB_TYPE_PROMOTION_INGAME_IAB21_LBAR",localName:"PROMOTION_INGAME_IAB21_LBAR"},{no:5,name:"TOPIC_SUB_TYPE_PROMOTION_INGAME_IAB11_LBAR",localName:"PROMOTION_INGAME_IAB11_LBAR"},{no:6,name:"TOPIC_SUB_TYPE_PROMOTION_INGAME_IAB21_LBAR_ADDITIONAL",localName:"PROMOTION_INGAME_IAB21_LBAR_ADDITIONAL"},{no:7,name:"TOPIC_SUB_TYPE_PROMOTION_INGAME_IAB11_LBAR_ADDITIONAL",localName:"PROMOTION_INGAME_IAB11_LBAR_ADDITIONAL"}]);N.makeEnum("streamlayer.analytics.v1.common.PollOpenedFrom",[{no:0,name:"POLL_OPENED_FROM_UNSET",localName:"UNSET"},{no:1,name:"POLL_OPENED_FROM_IN_APP",localName:"IN_APP"},{no:2,name:"POLL_OPENED_FROM_HISTORY",localName:"HISTORY"},{no:3,name:"POLL_OPENED_FROM_PICK_HISTORY",localName:"PICK_HISTORY"},{no:4,name:"POLL_OPENED_FROM_INSIGHT_HISTORY",localName:"INSIGHT_HISTORY"},{no:5,name:"POLL_OPENED_FROM_TWEETS_HISTORY",localName:"TWEETS_HISTORY"},{no:6,name:"POLL_OPENED_FROM_PROMOTION_HISTORY",localName:"PROMOTION_HISTORY"}]);N.makeEnum("streamlayer.analytics.v1.common.EntityType",[{no:0,name:"UNSET"},{no:1,name:"EVENT"},{no:2,name:"USER"},{no:3,name:"DEVICE"},{no:4,name:"QUESTION"}]);N.makeMessageType("streamlayer.analytics.v1.common.Period",()=>[{no:1,name:"from",kind:"message",T:Ur},{no:2,name:"to",kind:"message",T:Ur}]);const Kt=N.makeEnum("streamlayer.interactive.QuestionType",[{no:0,name:"QUESTION_TYPE_UNSET",localName:"UNSET"},{no:1,name:"QUESTION_TYPE_POLL",localName:"POLL"},{no:2,name:"QUESTION_TYPE_TRIVIA",localName:"TRIVIA"},{no:3,name:"QUESTION_TYPE_PREDICTION",localName:"PREDICTION"},{no:4,name:"QUESTION_TYPE_FACTOID",localName:"FACTOID"},{no:5,name:"QUESTION_TYPE_TWEET",localName:"TWEET"},{no:6,name:"QUESTION_TYPE_PROMOTION",localName:"PROMOTION"}]),iA=N.makeEnum("streamlayer.interactive.QuestionSource",[{no:0,name:"QUESTION_SOURCE_UNSET",localName:"UNSET"},{no:1,name:"QUESTION_SOURCE_AI",localName:"AI"},{no:2,name:"QUESTION_SOURCE_CSV_IMPORT",localName:"CSV_IMPORT"}]),ao=N.makeEnum("streamlayer.interactive.QuestionStatus",[{no:0,name:"QUESTION_STATUS_UNSET",localName:"UNSET"},{no:1,name:"QUESTION_STATUS_NOT_SCHEDULED",localName:"NOT_SCHEDULED"},{no:2,name:"QUESTION_STATUS_SCHEDULED",localName:"SCHEDULED"},{no:3,name:"QUESTION_STATUS_ACTIVE",localName:"ACTIVE"},{no:4,name:"QUESTION_STATUS_RESOLVED",localName:"RESOLVED"}]),sA=N.makeEnum("streamlayer.interactive.QuestionPosition",[{no:0,name:"QUESTION_POSITION_UNSET",localName:"UNSET"},{no:1,name:"QUESTION_POSITION_DEFAULT",localName:"DEFAULT"},{no:2,name:"QUESTION_POSITION_FIXED_BOTTOM",localName:"FIXED_BOTTOM"}]),lA=N.makeEnum("streamlayer.interactive.QuestionLayout",[{no:0,name:"QUESTION_LAYOUT_UNSET",localName:"UNSET"},{no:1,name:"QUESTION_LAYOUT_LIST_VIEW",localName:"LIST_VIEW"},{no:2,name:"QUESTION_LAYOUT_GRID_VIEW",localName:"GRID_VIEW"}]),lp=N.makeEnum("streamlayer.interactive.QuestionImages",[{no:0,name:"QUESTION_IMAGES_UNSET",localName:"UNSET"},{no:1,name:"QUESTION_IMAGES_NONE",localName:"NONE"},{no:2,name:"QUESTION_IMAGES_ROUNDED",localName:"ROUNDED"},{no:3,name:"QUESTION_IMAGES_TRANSPARENT",localName:"TRANSPARENT"},{no:4,name:"QUESTION_IMAGES_CENTERED",localName:"CENTERED"}]),m7=N.makeEnum("streamlayer.interactive.ImagePosition",[{no:0,name:"IMAGE_POSITION_UNSET",localName:"UNSET"},{no:1,name:"IMAGE_POSITION_LEFT",localName:"LEFT"},{no:2,name:"IMAGE_POSITION_RIGHT",localName:"RIGHT"}]),uA=N.makeEnum("streamlayer.interactive.PromotionType",[{no:0,name:"PROMOTION_TYPE_UNSET",localName:"UNSET"},{no:1,name:"PROMOTION_TYPE_INGAME_IAB21",localName:"INGAME_IAB21"},{no:2,name:"PROMOTION_TYPE_INGAME_IAB11",localName:"INGAME_IAB11"},{no:3,name:"PROMOTION_TYPE_INGAME_IAB61",localName:"INGAME_IAB61"},{no:4,name:"PROMOTION_TYPE_INGAME_IAB11_LBAR",localName:"INGAME_IAB11_LBAR"},{no:5,name:"PROMOTION_TYPE_INGAME_IAB21_LBAR",localName:"INGAME_IAB21_LBAR"}]),cA=N.makeEnum("streamlayer.interactive.PromotionWallet",[{no:0,name:"PROMOTION_WALLET_UNSET",localName:"UNSET"},{no:1,name:"PROMOTION_WALLET_ENABLED",localName:"ENABLED"},{no:2,name:"PROMOTION_WALLET_DISABLED",localName:"DISABLED"}]),dA=N.makeEnum("streamlayer.interactive.QuestionAutoPostState",[{no:0,name:"QUESTION_AUTO_POST_STATE_UNSET",localName:"UNSET"},{no:1,name:"QUESTION_AUTO_POST_STATE_ON",localName:"ON"},{no:2,name:"QUESTION_AUTO_POST_STATE_OFF",localName:"OFF"},{no:3,name:"QUESTION_AUTO_POST_STATE_PAUSED",localName:"PAUSED"},{no:4,name:"QUESTION_AUTO_POST_STATE_IDLE",localName:"IDLE"},{no:5,name:"QUESTION_AUTO_POST_STATE_RESET",localName:"RESET"}]),fA=N.makeEnum("streamlayer.interactive.QuestionAutoPostStart",[{no:0,name:"QUESTION_AUTO_POST_START_UNSET",localName:"UNSET"},{no:1,name:"QUESTION_AUTO_POST_START_SCHEDULE",localName:"SCHEDULE"},{no:2,name:"QUESTION_AUTO_POST_START_NOW",localName:"NOW"}]),pA=N.makeEnum("streamlayer.interactive.QuestionSkipReason",[{no:0,name:"QUESTION_SKIP_REASON_UNSET",localName:"UNSET"},{no:1,name:"QUESTION_SKIP_REASON_OVERDUE",localName:"OVERDUE"}]),h7=N.makeEnum("streamlayer.interactive.SilenceSetting",[{no:0,name:"SILENCE_SETTING_UNSET",localName:"UNSET"},{no:1,name:"SILENCE_SETTING_ON",localName:"ON"},{no:2,name:"SILENCE_SETTING_OFF",localName:"OFF"}]),mA=N.makeEnum("streamlayer.interactive.ImportStatus",[{no:0,name:"IMPORT_STATUS_UNSET",localName:"UNSET"},{no:1,name:"IMPORT_STATUS_PLANNED",localName:"PLANNED"},{no:2,name:"IMPORT_STATUS_RUNNING",localName:"RUNNING"},{no:3,name:"IMPORT_STATUS_COMPLETED",localName:"COMPLETED"},{no:4,name:"IMPORT_STATUS_FAILED",localName:"FAILED"}]),PT=N.makeMessageType("streamlayer.interactive.QuestionAppearance",()=>[{no:1,name:"layout",kind:"enum",T:N.getEnumType(lA)},{no:2,name:"images",kind:"enum",T:N.getEnumType(lp)},{no:3,name:"primary_color",kind:"scalar",T:9},{no:4,name:"position",kind:"enum",T:N.getEnumType(sA)},{no:5,name:"auto_hide_interval",kind:"scalar",T:4}]),up=N.makeMessageType("streamlayer.interactive.Sponsorship",()=>[{no:1,name:"logo",kind:"scalar",T:9},{no:2,name:"name",kind:"scalar",T:9}]),xy=N.makeMessageType("streamlayer.interactive.QuestionNotification",()=>[{no:1,name:"title",kind:"scalar",T:9},{no:2,name:"image",kind:"scalar",T:9},{no:3,name:"indicator_color",kind:"scalar",T:9},{no:4,name:"image_position",kind:"enum",T:N.getEnumType(m7)},{no:5,name:"body",kind:"scalar",T:9},{no:6,name:"image_mode",kind:"enum",T:N.getEnumType(lp)}]),hA=N.makeMessageType("streamlayer.interactive.QuestionAnswer",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"text",kind:"scalar",T:9},{no:3,name:"icon",kind:"scalar",T:9},{no:4,name:"correct",kind:"scalar",T:8},{no:5,name:"points",kind:"scalar",T:13}]),gA=N.makeMessageType("streamlayer.interactive.ExtendedQuestionAnswer",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"text",kind:"scalar",T:9},{no:3,name:"icon",kind:"scalar",T:9},{no:4,name:"correct",kind:"scalar",T:8},{no:5,name:"points",kind:"scalar",T:13},{no:6,name:"percentage",kind:"scalar",T:13},{no:7,name:"you_voted",kind:"scalar",T:8},{no:8,name:"percentage_decimal",kind:"scalar",T:1}]),eu=N.makeMessageType("streamlayer.interactive.AnswerFeedback",()=>[{no:1,name:"title",kind:"scalar",T:9},{no:2,name:"description",kind:"scalar",T:9}]),UT=N.makeMessageType("streamlayer.interactive.FileLink",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"url",kind:"scalar",T:9},{no:3,name:"thumbnail_url",kind:"scalar",T:9}]),g7=N.makeMessageType("streamlayer.interactive.WebLink",()=>[{no:1,name:"label",kind:"scalar",T:9},{no:2,name:"url",kind:"scalar",T:9}]),yA=N.makeMessageType("streamlayer.interactive.CTAButton",()=>[{no:1,name:"label",kind:"scalar",T:9},{no:2,name:"color",kind:"scalar",T:9}]),ab=N.makeMessageType("streamlayer.interactive.Banner",()=>[{no:1,name:"image_url",kind:"scalar",T:9},{no:2,name:"url",kind:"scalar",T:9},{no:3,name:"cta_button",kind:"message",T:yA},{no:4,name:"video",kind:"message",T:UT},{no:5,name:"body",kind:"scalar",T:9,opt:!0},{no:6,name:"analytics_topic_sub_type",kind:"enum",T:N.getEnumType(oA),opt:!0}]),jT=N.makeMessageType("streamlayer.interactive.QuestionOptions",()=>[{no:1,name:"poll",kind:"message",T:vA,oneof:"options"},{no:2,name:"trivia",kind:"message",T:TA,oneof:"options"},{no:3,name:"prediction",kind:"message",T:kA,oneof:"options"},{no:4,name:"factoid",kind:"message",T:bA,oneof:"options"},{no:5,name:"tweet",kind:"message",T:wA,oneof:"options"},{no:6,name:"promotion",kind:"message",T:EA,oneof:"options"}]),vA=N.makeMessageType("streamlayer.interactive.QuestionOptions.PollOptions",[],{localName:"QuestionOptions_PollOptions"}),TA=N.makeMessageType("streamlayer.interactive.QuestionOptions.TriviaOptions",()=>[{no:1,name:"correct_feedback",kind:"message",T:eu},{no:2,name:"incorrect_feedback",kind:"message",T:eu},{no:3,name:"points",kind:"scalar",T:4}],{localName:"QuestionOptions_TriviaOptions"}),kA=N.makeMessageType("streamlayer.interactive.QuestionOptions.PredictionOptions",()=>[{no:1,name:"correct_feedback",kind:"message",T:eu},{no:2,name:"incorrect_feedback",kind:"message",T:eu}],{localName:"QuestionOptions_PredictionOptions"}),bA=N.makeMessageType("streamlayer.interactive.QuestionOptions.FactoidOptions",()=>[{no:1,name:"image",kind:"scalar",T:9},{no:2,name:"body",kind:"scalar",T:9},{no:3,name:"video",kind:"message",T:UT},{no:4,name:"web_link",kind:"message",T:g7}],{localName:"QuestionOptions_FactoidOptions"}),wA=N.makeMessageType("streamlayer.interactive.QuestionOptions.TweetOptions",()=>[{no:1,name:"tweet_url",kind:"scalar",T:9},{no:2,name:"tweet_id",kind:"scalar",T:9},{no:3,name:"tweet_meta",kind:"message",T:SA}],{localName:"QuestionOptions_TweetOptions"}),SA=N.makeMessageType("streamlayer.interactive.QuestionOptions.TweetOptions.TweetMetadata",()=>[{no:1,name:"account",kind:"scalar",T:9},{no:2,name:"account_verified",kind:"scalar",T:8},{no:3,name:"has_media",kind:"scalar",T:8}],{localName:"QuestionOptions_TweetOptions_TweetMetadata"}),EA=N.makeMessageType("streamlayer.interactive.QuestionOptions.PromotionOptions",()=>[{no:1,name:"type",kind:"enum",T:N.getEnumType(uA)},{no:2,name:"sponsor",kind:"message",T:up},{no:3,name:"banner",kind:"message",T:ab},{no:4,name:"enable_wallet",kind:"enum",T:N.getEnumType(cA)},{no:5,name:"additional_banner",kind:"message",T:ab}],{localName:"QuestionOptions_PromotionOptions"}),NA=N.makeMessageType("streamlayer.interactive.Tag",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"label",kind:"scalar",T:9},{no:3,name:"last_used_time",kind:"scalar",T:4}]),MA=N.makeMessageType("streamlayer.interactive.QuestionAi",()=>[{no:1,name:"verified",kind:"scalar",T:8}]),y7=N.makeMessageType("streamlayer.interactive.Question",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"enum",T:N.getEnumType(Kt)},{no:3,name:"subject",kind:"scalar",T:9,opt:!0},{no:4,name:"options",kind:"message",T:jT},{no:5,name:"appearance",kind:"message",T:PT},{no:6,name:"sponsorship",kind:"message",T:up},{no:7,name:"notification",kind:"message",T:xy},{no:8,name:"answers",kind:"message",T:hA,repeated:!0},{no:9,name:"status",kind:"enum",T:N.getEnumType(ao)},{no:10,name:"position",kind:"scalar",T:13,opt:!0},{no:11,name:"market_closed",kind:"scalar",T:8},{no:12,name:"activated_at",kind:"scalar",T:9},{no:13,name:"answer_set_at",kind:"scalar",T:9},{no:14,name:"overrides",kind:"map",K:9,V:{kind:"scalar",T:8}},{no:15,name:"event_id",kind:"scalar",T:9},{no:16,name:"stream_timestamp",kind:"message",T:Ur},{no:17,name:"tags",kind:"message",T:NA,repeated:!0},{no:18,name:"bypass_notifications",kind:"message",T:BT},{no:19,name:"import_id",kind:"scalar",T:9},{no:20,name:"activation_trigger_count",kind:"scalar",T:13,opt:!0},{no:21,name:"source",kind:"enum",T:N.getEnumType(iA)},{no:22,name:"ai",kind:"message",T:MA}]),zT=N.makeMessageType("streamlayer.interactive.ExtendedQuestion",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"enum",T:N.getEnumType(Kt)},{no:3,name:"subject",kind:"scalar",T:9},{no:4,name:"options",kind:"message",T:jT},{no:5,name:"appearance",kind:"message",T:PT},{no:6,name:"sponsorship",kind:"message",T:up},{no:7,name:"notification",kind:"message",T:xy},{no:8,name:"answers",kind:"message",T:gA,repeated:!0},{no:9,name:"status",kind:"enum",T:N.getEnumType(ao)},{no:10,name:"position",kind:"scalar",T:13},{no:11,name:"market_closed",kind:"scalar",T:8},{no:12,name:"activated_at",kind:"scalar",T:9},{no:13,name:"answer_set_at",kind:"scalar",T:9},{no:14,name:"event_id",kind:"scalar",T:9},{no:15,name:"bypass_notifications",kind:"message",T:BT}]);N.makeMessageType("streamlayer.interactive.QuestionTimeline",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"enum",T:N.getEnumType(Kt)},{no:3,name:"subject",kind:"scalar",T:9},{no:4,name:"activated_at",kind:"scalar",T:9},{no:5,name:"status",kind:"enum",T:N.getEnumType(ao)},{no:6,name:"options",kind:"message",T:jT},{no:7,name:"notification",kind:"message",T:xy}]);const v7=N.makeMessageType("streamlayer.interactive.EventModeration",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"event_id",kind:"scalar",T:9},{no:3,name:"sponsorship",kind:"message",T:up},{no:4,name:"onboarding_enabled",kind:"scalar",T:8},{no:5,name:"question",kind:"message",T:IA},{no:6,name:"sponsors",kind:"message",T:AA},{no:7,name:"notification",kind:"message",T:OA},{no:8,name:"activated_at",kind:"message",T:Ur},{no:9,name:"deactivated_at",kind:"message",T:Ur},{no:10,name:"question_auto_post",kind:"message",T:xA},{no:11,name:"bypass_notifications",kind:"message",T:BT},{no:12,name:"importer_collaboration",kind:"message",T:FA}]),IA=N.makeMessageType("streamlayer.interactive.EventModeration.QuestionSettings",()=>[{no:1,name:"appearance",kind:"message",T:PT},{no:2,name:"trivia",kind:"message",T:_A},{no:3,name:"prediction",kind:"message",T:CA},{no:4,name:"correct_feedbacks",kind:"message",T:eu,repeated:!0},{no:5,name:"incorrect_feedbacks",kind:"message",T:eu,repeated:!0}],{localName:"EventModeration_QuestionSettings"}),_A=N.makeMessageType("streamlayer.interactive.EventModeration.QuestionSettings.TriviaCardSettings",()=>[{no:1,name:"points",kind:"scalar",T:13}],{localName:"EventModeration_QuestionSettings_TriviaCardSettings"}),CA=N.makeMessageType("streamlayer.interactive.EventModeration.QuestionSettings.PredictionCardSettings",()=>[{no:1,name:"max_points",kind:"scalar",T:13}],{localName:"EventModeration_QuestionSettings_PredictionCardSettings"}),AA=N.makeMessageType("streamlayer.interactive.EventModeration.SponsorshipSettings",()=>[{no:1,name:"sponsors",kind:"message",T:up,repeated:!0}],{localName:"EventModeration_SponsorshipSettings"}),OA=N.makeMessageType("streamlayer.interactive.EventModeration.NotificationSettings",()=>[{no:1,name:"image",kind:"scalar",T:9},{no:2,name:"indicator_color",kind:"scalar",T:9},{no:3,name:"image_position",kind:"enum",T:N.getEnumType(m7)},{no:4,name:"image_mode",kind:"enum",T:N.getEnumType(lp)}],{localName:"EventModeration_NotificationSettings"}),xA=N.makeMessageType("streamlayer.interactive.QuestionAutoPost",()=>[{no:1,name:"state",kind:"enum",T:N.getEnumType(dA)},{no:2,name:"interval",kind:"scalar",T:13},{no:3,name:"next_post_time",kind:"message",T:Ur},{no:4,name:"start_mode",kind:"enum",T:N.getEnumType(fA)},{no:5,name:"start_options",kind:"message",T:LA}]),LA=N.makeMessageType("streamlayer.interactive.QuestionAutoPostStartOptions",()=>[{no:1,name:"schedule",kind:"message",T:RA,oneof:"options"}]),RA=N.makeMessageType("streamlayer.interactive.QuestionAutoPostStartOptions.ScheduleOptions",()=>[{no:1,name:"timestamp",kind:"scalar",T:4}],{localName:"QuestionAutoPostStartOptions_ScheduleOptions"});N.makeMessageType("streamlayer.interactive.AnswerData",()=>[{no:1,name:"answer_id",kind:"scalar",T:9},{no:2,name:"percentage",kind:"scalar",T:13}]);const Ly=N.makeMessageType("streamlayer.interactive.Pagination",()=>[{no:1,name:"page",kind:"scalar",T:5},{no:2,name:"page_size",kind:"scalar",T:5},{no:3,name:"cursor",kind:"scalar",T:9}]),DA=N.makeMessageType("streamlayer.interactive.Sort",()=>[{no:1,name:"field",kind:"scalar",T:9},{no:2,name:"order",kind:"scalar",T:9}]);N.makeMessageType("streamlayer.interactive.QuestionStats",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"question",kind:"message",T:PA},{no:3,name:"statistics",kind:"message",T:UA,repeated:!0}]);const PA=N.makeMessageType("streamlayer.interactive.QuestionStats.QuestionData",()=>[{no:1,name:"status",kind:"enum",T:N.getEnumType(ao)}],{localName:"QuestionStats_QuestionData"}),UA=N.makeMessageType("streamlayer.interactive.AnswerVotesStats",()=>[{no:1,name:"answer_id",kind:"scalar",T:9},{no:2,name:"votes",kind:"message",T:jA}]),jA=N.makeMessageType("streamlayer.interactive.AnswerVotesStats.AnswerVotesData",()=>[{no:1,name:"count",kind:"scalar",T:13},{no:2,name:"percentage",kind:"scalar",T:13}],{localName:"AnswerVotesStats_AnswerVotesData"});N.makeMessageType("streamlayer.interactive.ServerNotificationOptions",()=>[{no:1,name:"silence",kind:"scalar",T:8},{no:2,name:"skip_update",kind:"scalar",T:8}]);const BT=N.makeMessageType("streamlayer.interactive.BypassNotifications",()=>[{no:1,name:"in_app_silence",kind:"enum",T:N.getEnumType(h7)}]),zA=N.makeMessageType("streamlayer.interactive.ImportError",()=>[{no:1,name:"row_id",kind:"scalar",T:9},{no:2,name:"message",kind:"scalar",T:9}]),BA=N.makeMessageType("streamlayer.interactive.ImportProgress",()=>[{no:1,name:"import_id",kind:"scalar",T:9},{no:2,name:"status",kind:"enum",T:N.getEnumType(mA)},{no:3,name:"errors",kind:"message",T:zA,repeated:!0},{no:4,name:"last_updated",kind:"message",T:Ur}]),FA=N.makeMessageType("streamlayer.interactive.ImporterCollaboration",()=>[{no:1,name:"imports",kind:"map",K:9,V:{kind:"message",T:BA}}]),T7=N.makeEnum("streamlayer.interactive.feed.PickHistoryStatus",[{no:0,name:"PICK_HISTORY_STATUS_UNSET",localName:"UNSET"},{no:1,name:"PICK_HISTORY_STATUS_WON",localName:"WON"},{no:2,name:"PICK_HISTORY_STATUS_LOST",localName:"LOST"},{no:3,name:"PICK_HISTORY_STATUS_DNP",localName:"DNP"}]),VA=N.makeEnum("streamlayer.interactive.feed.FeedUpdateType",[{no:0,name:"UPDATE_TYPE_UNSET"},{no:1,name:"UPDATE_TYPE_QUESTION_ACTIVATE"},{no:2,name:"UPDATE_TYPE_QUESTION_SET_CORRECT_ANSWER"},{no:3,name:"UPDATE_TYPE_QUESTION_RESOLVE"}]),k7=N.makeMessageType("streamlayer.interactive.feed.FeedQuestion",()=>[{no:1,name:"question",kind:"message",T:y7},{no:2,name:"notification",kind:"message",T:xy},{no:3,name:"moderation",kind:"message",T:v7}]),YA=N.makeMessageType("streamlayer.interactive.feed.SubscriptionRequest",()=>[{no:1,name:"event_id",kind:"scalar",T:9},{no:2,name:"feed_id",kind:"scalar",T:9}]),QA=N.makeMessageType("streamlayer.interactive.feed.SubscriptionResponse",()=>[{no:1,name:"data",kind:"message",T:GA}]),GA=N.makeMessageType("streamlayer.interactive.feed.SubscriptionResponse.SubscriptionResponseData",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"message",T:k7}],{localName:"SubscriptionResponse_SubscriptionResponseData"}),HA=N.makeMessageType("streamlayer.interactive.feed.VotingSubscriptionRequest",()=>[{no:1,name:"feed_id",kind:"scalar",T:9},{no:2,name:"question_id",kind:"scalar",T:9}]),$A=N.makeMessageType("streamlayer.interactive.feed.VotingSubscriptionResponse",()=>[{no:1,name:"data",kind:"message",T:qA}]),qA=N.makeMessageType("streamlayer.interactive.feed.VotingSubscriptionResponse.VotingSubscriptionResponseData",()=>[{no:1,name:"question_id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"message",T:FT,repeated:!0}],{localName:"VotingSubscriptionResponse_VotingSubscriptionResponseData"}),WA=N.makeMessageType("streamlayer.interactive.feed.QuestionSubscription",()=>[{no:1,name:"question",kind:"message",T:zT}]),KA=N.makeMessageType("streamlayer.interactive.feed.QuestionSubscriptionRequest",()=>[{no:1,name:"question_id",kind:"scalar",T:9}]),ZA=N.makeMessageType("streamlayer.interactive.feed.QuestionSubscriptionResponse",()=>[{no:1,name:"data",kind:"message",T:JA}]),JA=N.makeMessageType("streamlayer.interactive.feed.QuestionSubscriptionResponse.QuestionSubscriptionResponseData",()=>[{no:1,name:"question_id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"message",T:WA}],{localName:"QuestionSubscriptionResponse_QuestionSubscriptionResponseData"}),XA=N.makeMessageType("streamlayer.interactive.feed.QuestionByUser",()=>[{no:1,name:"question",kind:"message",T:zT}]),eO=N.makeMessageType("streamlayer.interactive.feed.QuestionByUserRequest",()=>[{no:1,name:"question_id",kind:"scalar",T:9}]),tO=N.makeMessageType("streamlayer.interactive.feed.QuestionByUserResponse",()=>[{no:1,name:"data",kind:"message",T:nO}]),nO=N.makeMessageType("streamlayer.interactive.feed.QuestionByUserResponse.QuestionByUserResponseData",()=>[{no:1,name:"question_id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"message",T:XA}],{localName:"QuestionByUserResponse_QuestionByUserResponseData"}),rO=N.makeMessageType("streamlayer.interactive.feed.SyncQuestionRequest",()=>[{no:1,name:"filter",kind:"message",T:aO}]),aO=N.makeMessageType("streamlayer.interactive.feed.SyncQuestionRequest.SyncQuestionRequestFilter",()=>[{no:1,name:"event_id",kind:"scalar",T:9}],{localName:"SyncQuestionRequest_SyncQuestionRequestFilter"}),oO=N.makeMessageType("streamlayer.interactive.feed.SyncQuestionResponse",()=>[{no:1,name:"data",kind:"message",T:iO}]),iO=N.makeMessageType("streamlayer.interactive.feed.SyncQuestionResponse.SyncQuestionResponseData",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"message",T:k7}],{localName:"SyncQuestionResponse_SyncQuestionResponseData"}),sO=N.makeMessageType("streamlayer.interactive.feed.GetQuestionRequest",()=>[{no:1,name:"id",kind:"scalar",T:9}]),lO=N.makeMessageType("streamlayer.interactive.feed.GetQuestionResponse",()=>[{no:1,name:"data",kind:"message",T:uO}]),uO=N.makeMessageType("streamlayer.interactive.feed.GetQuestionResponse.GetQuestionResponseData",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"message",T:y7}],{localName:"GetQuestionResponse_GetQuestionResponseData"}),cO=N.makeMessageType("streamlayer.interactive.feed.QuestionDetailRequest",()=>[{no:1,name:"id",kind:"scalar",T:9}]),dO=N.makeMessageType("streamlayer.interactive.feed.QuestionDetailResponse",()=>[{no:1,name:"data",kind:"message",T:fO}]),fO=N.makeMessageType("streamlayer.interactive.feed.QuestionDetailResponse.QuestionDetailResponseData",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"message",T:zT}],{localName:"QuestionDetailResponse_QuestionDetailResponseData"}),FT=N.makeMessageType("streamlayer.interactive.feed.AnswerVoteResult",()=>[{no:1,name:"answer_id",kind:"scalar",T:9},{no:2,name:"percentage",kind:"scalar",T:13},{no:3,name:"voted",kind:"scalar",T:8},{no:4,name:"correct",kind:"scalar",T:8}]),pO=N.makeMessageType("streamlayer.interactive.feed.SubmitAnswerRequest",()=>[{no:1,name:"data",kind:"message",T:mO}]),mO=N.makeMessageType("streamlayer.interactive.feed.SubmitAnswerRequest.SubmitRequestData",()=>[{no:1,name:"question_id",kind:"scalar",T:9},{no:2,name:"answer_id",kind:"scalar",T:9}],{localName:"SubmitAnswerRequest_SubmitRequestData"}),hO=N.makeMessageType("streamlayer.interactive.feed.SubmitAnswerResponse",()=>[{no:1,name:"data",kind:"message",T:gO}]),gO=N.makeMessageType("streamlayer.interactive.feed.SubmitAnswerResponse.SubmitAnswerResponseData",()=>[{no:1,name:"question_id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"message",T:FT,repeated:!0}],{localName:"SubmitAnswerResponse_SubmitAnswerResponseData"}),yO=N.makeMessageType("streamlayer.interactive.feed.SubmitInplayRequest",()=>[{no:1,name:"data",kind:"message",T:vO}]),vO=N.makeMessageType("streamlayer.interactive.feed.SubmitInplayRequest.SubmitRequestData",()=>[{no:1,name:"event_id",kind:"scalar",T:13}],{localName:"SubmitInplayRequest_SubmitRequestData"}),TO=N.makeMessageType("streamlayer.interactive.feed.SubmitInplayResponse",[]),kO=N.makeMessageType("streamlayer.interactive.feed.SkipQuestionRequest",()=>[{no:1,name:"data",kind:"message",T:bO}]),bO=N.makeMessageType("streamlayer.interactive.feed.SkipQuestionRequest.SkipQuestionRequestData",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"reason",kind:"enum",T:N.getEnumType(pA)}],{localName:"SkipQuestionRequest_SkipQuestionRequestData"}),wO=N.makeMessageType("streamlayer.interactive.feed.SkipQuestionResponse",()=>[{no:1,name:"data",kind:"message",T:SO}]),SO=N.makeMessageType("streamlayer.interactive.feed.SkipQuestionResponse.SkipQuestionResponseData",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"message",T:FT,repeated:!0}],{localName:"SkipQuestionResponse_SkipQuestionResponseData"}),EO=N.makeMessageType("streamlayer.interactive.feed.PickHistoryRequest",()=>[{no:1,name:"question_type",kind:"enum",T:N.getEnumType(Kt),repeated:!0},{no:3,name:"event_id",kind:"scalar",T:9},{no:2,name:"pagination",kind:"message",T:Ly}]),b7=N.makeMessageType("streamlayer.interactive.feed.PickHistory",()=>[{no:1,name:"question_id",kind:"scalar",T:9},{no:2,name:"answer_id",kind:"scalar",T:9},{no:3,name:"status",kind:"enum",T:N.getEnumType(T7)},{no:4,name:"question_type",kind:"enum",T:N.getEnumType(Kt)},{no:5,name:"subject",kind:"scalar",T:9},{no:6,name:"text",kind:"scalar",T:9},{no:7,name:"open_for_voting",kind:"scalar",T:8},{no:8,name:"question_status",kind:"enum",T:N.getEnumType(ao)}]),NO=N.makeMessageType("streamlayer.interactive.feed.PickHistoryResponse",()=>[{no:1,name:"data",kind:"message",T:MO,repeated:!0},{no:2,name:"meta",kind:"message",T:IO}]),MO=N.makeMessageType("streamlayer.interactive.feed.PickHistoryResponse.PickHistoryResponseData",()=>[{no:1,name:"attributes",kind:"message",T:b7}],{localName:"PickHistoryResponse_PickHistoryResponseData"}),IO=N.makeMessageType("streamlayer.interactive.feed.PickHistoryResponse.PickHistoryResponseMetadata",()=>[{no:1,name:"total",kind:"scalar",T:5},{no:2,name:"page",kind:"scalar",T:5},{no:3,name:"page_size",kind:"scalar",T:5}],{localName:"PickHistoryResponse_PickHistoryResponseMetadata"}),_O=N.makeMessageType("streamlayer.interactive.feed.InsightHistoryRequest",()=>[{no:1,name:"event_id",kind:"scalar",T:9}]),CO=N.makeMessageType("streamlayer.interactive.feed.InstantView",()=>[{no:1,name:"heading",kind:"scalar",T:9,opt:!0},{no:2,name:"body",kind:"scalar",T:9,opt:!0},{no:3,name:"image",kind:"scalar",T:9,opt:!0},{no:4,name:"video",kind:"message",T:UT,opt:!0},{no:5,name:"web_link",kind:"message",T:g7,opt:!0}]),AO=N.makeMessageType("streamlayer.interactive.feed.InsightNotification",()=>[{no:1,name:"title",kind:"scalar",T:9,opt:!0},{no:2,name:"body",kind:"scalar",T:9,opt:!0},{no:3,name:"image_position",kind:"scalar",T:5,opt:!0}]),w7=N.makeMessageType("streamlayer.interactive.feed.InsightHistory",()=>[{no:1,name:"question_id",kind:"scalar",T:9},{no:2,name:"title",kind:"scalar",T:9},{no:3,name:"image",kind:"scalar",T:9},{no:4,name:"image_mode",kind:"enum",T:N.getEnumType(lp)},{no:5,name:"instant_view",kind:"message",T:CO,opt:!0},{no:6,name:"notification",kind:"message",T:AO,opt:!0}]),OO=N.makeMessageType("streamlayer.interactive.feed.InsightHistoryResponse",()=>[{no:1,name:"data",kind:"message",T:xO,repeated:!0}]),xO=N.makeMessageType("streamlayer.interactive.feed.InsightHistoryResponse.InsightHistoryResponseData",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"message",T:w7}],{localName:"InsightHistoryResponse_InsightHistoryResponseData"}),LO=N.makeMessageType("streamlayer.interactive.feed.TweetHistoryRequest",()=>[{no:1,name:"event_id",kind:"scalar",T:9}]),S7=N.makeMessageType("streamlayer.interactive.feed.TweetHistory",()=>[{no:1,name:"tweet_id",kind:"scalar",T:9},{no:2,name:"title",kind:"scalar",T:9},{no:3,name:"image",kind:"scalar",T:9},{no:4,name:"body",kind:"scalar",T:9},{no:5,name:"account",kind:"scalar",T:9},{no:6,name:"account_verified",kind:"scalar",T:8}]),RO=N.makeMessageType("streamlayer.interactive.feed.TweetHistoryResponse",()=>[{no:1,name:"data",kind:"message",T:DO,repeated:!0}]),DO=N.makeMessageType("streamlayer.interactive.feed.TweetHistoryResponse.TweetHistoryResponseData",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"message",T:S7}],{localName:"TweetHistoryResponse_TweetHistoryResponseData"}),PO=N.makeMessageType("streamlayer.interactive.feed.InteractiveFeed",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"options",kind:"message",T:UO},{no:3,name:"moderation",kind:"message",T:v7}]),UO=N.makeMessageType("streamlayer.interactive.feed.FeedOptions",()=>[{no:1,name:"onboarding_enabled",kind:"scalar",T:8}]),jO=N.makeMessageType("streamlayer.interactive.feed.GetRequest",()=>[{no:1,name:"event_id",kind:"scalar",T:9}]),zO=N.makeMessageType("streamlayer.interactive.feed.GetResponse",()=>[{no:1,name:"data",kind:"message",T:BO}]),BO=N.makeMessageType("streamlayer.interactive.feed.GetResponse.GetResponseData",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"message",T:PO}],{localName:"GetResponse_GetResponseData"}),FO=N.makeMessageType("streamlayer.interactive.feed.PromotionHistoryRequest",()=>[{no:1,name:"event_id",kind:"scalar",T:9}]),E7=N.makeMessageType("streamlayer.interactive.feed.PromotionHistory",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"title",kind:"scalar",T:9},{no:3,name:"image",kind:"scalar",T:9}]),VO=N.makeMessageType("streamlayer.interactive.feed.PromotionHistoryResponse",()=>[{no:1,name:"data",kind:"message",T:YO,repeated:!0}]),YO=N.makeMessageType("streamlayer.interactive.feed.PromotionHistoryResponse.PromotionHistoryResponseData",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"message",T:E7}],{localName:"PromotionHistoryResponse_PromotionHistoryResponseData"}),QO=N.makeMessageType("streamlayer.interactive.feed.FeedItemAttributes",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"enum",T:N.getEnumType(Kt)},{no:3,name:"status",kind:"enum",T:N.getEnumType(ao)},{no:8,name:"created",kind:"scalar",T:9},{no:4,name:"question",kind:"message",T:b7,oneof:"attributes"},{no:5,name:"tweet",kind:"message",T:S7,oneof:"attributes"},{no:6,name:"insight",kind:"message",T:w7,oneof:"attributes"},{no:7,name:"promotion",kind:"message",T:E7,oneof:"attributes"}]),N7=N.makeMessageType("streamlayer.interactive.feed.FeedItem",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"message",T:QO}]),GO=N.makeMessageType("streamlayer.interactive.feed.FeedListRequest",()=>[{no:1,name:"event_id",kind:"scalar",T:9},{no:2,name:"filter",kind:"message",T:HO},{no:3,name:"pagination",kind:"message",T:Ly}]),HO=N.makeMessageType("streamlayer.interactive.feed.FeedListRequest.FeedListFilter",()=>[{no:1,name:"types",kind:"enum",T:N.getEnumType(Kt),repeated:!0},{no:2,name:"statuses",kind:"enum",T:N.getEnumType(ao),repeated:!0}],{localName:"FeedListRequest_FeedListFilter"}),$O=N.makeMessageType("streamlayer.interactive.feed.FeedListResponse",()=>[{no:1,name:"data",kind:"message",T:N7,repeated:!0},{no:2,name:"meta",kind:"message",T:qO}]),qO=N.makeMessageType("streamlayer.interactive.feed.FeedListResponse.FeedListResponseMetadata",()=>[{no:1,name:"total",kind:"scalar",T:5},{no:2,name:"page",kind:"scalar",T:5},{no:3,name:"page_size",kind:"scalar",T:5}],{localName:"FeedListResponse_FeedListResponseMetadata"}),WO=N.makeMessageType("streamlayer.interactive.feed.FeedSubscriptionRequest",()=>[{no:1,name:"event_id",kind:"scalar",T:9}]),KO=N.makeMessageType("streamlayer.interactive.feed.FeedSubscriptionResponse",()=>[{no:1,name:"data",kind:"message",T:N7},{no:2,name:"meta",kind:"message",T:ZO}]),ZO=N.makeMessageType("streamlayer.interactive.feed.FeedSubscriptionResponse.FeedSubscriptionMeta",()=>[{no:1,name:"type",kind:"enum",T:N.getEnumType(VA)}],{localName:"FeedSubscriptionResponse_FeedSubscriptionMeta"}),JO=N.makeMessageType("streamlayer.sdkSettings.game.common.GameAppearance",()=>[{no:1,name:"primary_color",kind:"scalar",T:9},{no:2,name:"secondary_color",kind:"scalar",T:9},{no:3,name:"accent_color",kind:"scalar",T:9}]),XO=N.makeMessageType("streamlayer.sdkSettings.game.common.GameMedia",()=>[{no:1,name:"game_icon",kind:"scalar",T:9},{no:2,name:"sponsor_logo",kind:"scalar",T:9}]),ex=N.makeMessageType("streamlayer.sdkSettings.game.common.GamePrize",()=>[{no:1,name:"title",kind:"scalar",T:9},{no:2,name:"image",kind:"scalar",T:9}]),tx=N.makeMessageType("streamlayer.sdkSettings.game.common.GameOverview",()=>[{no:1,name:"title",kind:"scalar",T:9},{no:2,name:"description",kind:"scalar",T:9},{no:3,name:"auto_activate",kind:"scalar",T:8},{no:4,name:"scoring",kind:"scalar",T:8},{no:5,name:"media",kind:"message",T:XO},{no:6,name:"appearance",kind:"message",T:JO},{no:7,name:"prizes",kind:"message",T:ex,repeated:!0},{no:8,name:"completed",kind:"scalar",T:8}]),nx=N.makeMessageType("streamlayer.sdkSettings.game.common.TitleCardMedia",()=>[{no:1,name:"icon",kind:"scalar",T:9},{no:2,name:"sponsor_logo",kind:"scalar",T:9}]),rx=N.makeMessageType("streamlayer.sdkSettings.game.common.TitleCardAppearance",()=>[{no:1,name:"graphic",kind:"scalar",T:9}]),ax=N.makeMessageType("streamlayer.sdkSettings.game.common.GameTitleCard",()=>[{no:1,name:"visible",kind:"scalar",T:8},{no:2,name:"opt_in",kind:"scalar",T:8},{no:3,name:"title",kind:"scalar",T:9},{no:4,name:"subtitle",kind:"scalar",T:9},{no:5,name:"header",kind:"scalar",T:9},{no:6,name:"media",kind:"message",T:nx},{no:7,name:"appearance",kind:"message",T:rx},{no:8,name:"completed",kind:"scalar",T:8}]),ox=N.makeMessageType("streamlayer.sdkSettings.game.common.OnboardingStep",()=>[{no:1,name:"headline",kind:"scalar",T:9},{no:2,name:"body",kind:"scalar",T:9},{no:3,name:"graphic",kind:"scalar",T:9}]),ix=N.makeMessageType("streamlayer.sdkSettings.game.common.GameOnboarding",()=>[{no:1,name:"steps",kind:"message",T:ox,repeated:!0},{no:2,name:"completed",kind:"scalar",T:8}]),sx=N.makeMessageType("streamlayer.sdkSettings.game.common.GameRules",()=>[{no:1,name:"heading",kind:"scalar",T:9},{no:2,name:"typeface",kind:"scalar",T:9},{no:3,name:"button_label",kind:"scalar",T:9},{no:4,name:"numbers_color",kind:"scalar",T:9},{no:5,name:"rules",kind:"scalar",T:9,repeated:!0},{no:6,name:"completed",kind:"scalar",T:8},{no:7,name:"terms",kind:"scalar",T:9},{no:8,name:"terms_url",kind:"scalar",T:9}]),lx=N.makeMessageType("streamlayer.sdkSettings.game.common.GameInviteCard",()=>[{no:1,name:"heading",kind:"scalar",T:9},{no:2,name:"typeface",kind:"scalar",T:9},{no:3,name:"subtext",kind:"scalar",T:9},{no:4,name:"button_label",kind:"scalar",T:9},{no:5,name:"icon_color",kind:"scalar",T:9},{no:6,name:"terms",kind:"scalar",T:9},{no:7,name:"completed",kind:"scalar",T:8}]),ux=N.makeMessageType("streamlayer.sdkSettings.game.common.GameSettings",()=>[{no:1,name:"overview",kind:"message",T:tx},{no:2,name:"title_card",kind:"message",T:ax},{no:3,name:"onboarding",kind:"message",T:ix},{no:4,name:"rules",kind:"message",T:sx},{no:5,name:"invite_card",kind:"message",T:lx},{no:6,name:"completed",kind:"scalar",T:8},{no:7,name:"enable",kind:"scalar",T:8}]),cx=N.makeMessageType("streamlayer.sdkSettings.moderation.common.ModerationGeneral",()=>[{no:1,name:"default_color",kind:"scalar",T:9},{no:2,name:"points",kind:"scalar",T:13},{no:3,name:"auto_hide_interval",kind:"scalar",T:4},{no:4,name:"insights_history_enabled",kind:"scalar",T:8},{no:5,name:"pick_history_enabled",kind:"scalar",T:8},{no:6,name:"correct_feedbacks",kind:"message",T:eu,repeated:!0},{no:7,name:"incorrect_feedbacks",kind:"message",T:eu,repeated:!0}]),dx=N.makeMessageType("streamlayer.sdkSettings.moderation.common.ModerationNotifications",()=>[{no:1,name:"default_image",kind:"scalar",T:9},{no:2,name:"image_mode",kind:"enum",T:N.getEnumType(lp)}]),fx=N.makeMessageType("streamlayer.sdkSettings.moderation.common.ModerationSponsorships",()=>[{no:1,name:"rotate",kind:"scalar",T:8},{no:2,name:"no_sponsor",kind:"scalar",T:8},{no:3,name:"sponsors",kind:"message",T:up,repeated:!0}]),px=N.makeMessageType("streamlayer.sdkSettings.moderation.common.ModerationSettings",()=>[{no:1,name:"general",kind:"message",T:cx},{no:2,name:"notifications",kind:"message",T:dx},{no:3,name:"sponsorships",kind:"message",T:fx}]),Xn=N.makeEnum("streamlayer.sdkSettings.SdkOverlayType",[{no:0,name:"SDK_OVERLAY_TYPE_UNSET",localName:"UNSET"},{no:1,name:"SDK_OVERLAY_TYPE_INPLAY",localName:"INPLAY"},{no:2,name:"SDK_OVERLAY_TYPE_MESSAGING",localName:"MESSAGING"},{no:3,name:"SDK_OVERLAY_TYPE_STATISTICS",localName:"STATISTICS"},{no:4,name:"SDK_OVERLAY_TYPE_BETTING",localName:"BETTING"},{no:5,name:"SDK_OVERLAY_TYPE_TWITTER",localName:"TWITTER"},{no:6,name:"SDK_OVERLAY_TYPE_MERCHANDISE",localName:"MERCHANDISE"},{no:7,name:"SDK_OVERLAY_TYPE_CONTESTS",localName:"CONTESTS"},{no:8,name:"SDK_OVERLAY_TYPE_VOICE_CHAT",localName:"VOICE_CHAT"},{no:9,name:"SDK_OVERLAY_TYPE_TICKETS",localName:"TICKETS"},{no:10,name:"SDK_OVERLAY_TYPE_WHOIS_WATCHING",localName:"WHOIS_WATCHING"},{no:11,name:"SDK_OVERLAY_TYPE_PROFILE",localName:"PROFILE"},{no:12,name:"SDK_OVERLAY_TYPE_GAMES",localName:"GAMES"},{no:13,name:"SDK_OVERLAY_TYPE_GOLF_STATISTICS",localName:"GOLF_STATISTICS"},{no:14,name:"SDK_OVERLAY_TYPE_HIGHLIGHTS",localName:"HIGHLIGHTS"},{no:15,name:"SDK_OVERLAY_TYPE_PUBLIC_CHAT",localName:"PUBLIC_CHAT"}]),mx=N.makeEnum("streamlayer.sdkSettings.BettingFavoriteType",[{no:0,name:"BETTING_FAVORITE_TYPE_UNSET",localName:"UNSET"},{no:1,name:"BETTING_FAVORITE_TYPE_LEAGUE",localName:"LEAGUE"},{no:2,name:"BETTING_FAVORITE_TYPE_TEAM",localName:"TEAM"}]),hx=N.makeEnum("streamlayer.sdkSettings.BettingSettingsTextColor",[{no:0,name:"BETTING_SETTINGS_TEXT_COLOR_UNSET",localName:"UNSET"},{no:1,name:"BETTING_SETTINGS_TEXT_COLOR_PRIMARY",localName:"PRIMARY"},{no:2,name:"BETTING_SETTINGS_TEXT_COLOR_GREY",localName:"GREY"},{no:3,name:"BETTING_SETTINGS_TEXT_COLOR_CUSTOM",localName:"CUSTOM"}]),VT=N.makeEnum("streamlayer.sdkSettings.GetStreamChannelType",[{no:0,name:"GETSTREAM_CHANNEL_TYPE_UNSET"},{no:1,name:"GETSTREAM_CHANNEL_TYPE_LIVESTREAM"},{no:2,name:"GETSTREAM_CHANNEL_TYPE_MESSAGING"},{no:3,name:"GETSTREAM_CHANNEL_TYPE_TEAM"},{no:4,name:"GETSTREAM_CHANNEL_TYPE_COMMERCE"},{no:5,name:"GETSTREAM_CHANNEL_TYPE_GAMING"},{no:6,name:"GETSTREAM_CHANNEL_TYPE_CUSTOM"}]),gx=N.makeEnum("streamlayer.sdkSettings.GetStreamChannelDefault",[{no:0,name:"GETSTREAM_CHANNEL_DEFAULT_UNSET"},{no:1,name:"GETSTREAM_CHANNEL_DEFAULT_TRUE"},{no:2,name:"GETSTREAM_CHANNEL_DEFAULT_FALSE"}]),M7=N.makeEnum("streamlayer.sdkSettings.GetStreamEnabled",[{no:0,name:"GETSTREAM_ENABLED_UNSET"},{no:1,name:"GETSTREAM_ENABLED_TRUE"},{no:2,name:"GETSTREAM_ENABLED_FALSE"}]),yx=N.makeEnum("streamlayer.sdkSettings.LeaderboardKind",[{no:0,name:"LEADERBOARD_KIND_UNSET",localName:"UNSET"},{no:1,name:"LEADERBOARD_KIND_GLOBAL",localName:"GLOBAL"},{no:2,name:"LEADERBOARD_KIND_FRIENDS",localName:"FRIENDS"}]),vx=N.makeEnum("streamlayer.sdkSettings.PresetRuleKey",[{no:0,name:"PRESET_RULE_KEY_UNSET",localName:"UNSET"},{no:1,name:"PRESET_RULE_KEY_SPORT",localName:"SPORT"},{no:2,name:"PRESET_RULE_KEY_LEAGUE",localName:"LEAGUE"},{no:3,name:"PRESET_RULE_KEY_TEAMS",localName:"TEAMS"}]),Tx=N.makeEnum("streamlayer.sdkSettings.AdvertisingPlacement",[{no:0,name:"ADVERTISING_PLACEMENT_UNSET",localName:"UNSET"},{no:1,name:"ADVERTISING_PLACEMENT_DEFAULT",localName:"DEFAULT"},{no:2,name:"ADVERTISING_PLACEMENT_WATCHPARTY_FULLSIZE",localName:"WATCHPARTY_FULLSIZE"},{no:3,name:"ADVERTISING_PLACEMENT_WATCHPARTY_VIDEOPANEL",localName:"WATCHPARTY_VIDEOPANEL"},{no:4,name:"ADVERTISING_PLACEMENT_OVERLAY_NAVBAR",localName:"OVERLAY_NAVBAR"}]);N.makeEnum("streamlayer.sdkSettings.AdvertisingType",[{no:0,name:"ADVERTISING_TYPE_UNSET",localName:"UNSET"},{no:1,name:"ADVERTISING_TYPE_SPONSORS",localName:"SPONSORS"},{no:2,name:"ADVERTISING_TYPE_INTERSTITIALS",localName:"INTERSTITIALS"},{no:3,name:"ADVERTISING_TYPE_BANNERS",localName:"BANNERS"}]);const kx=N.makeMessageType("streamlayer.sdkSettings.TwitterOverlaySettings",()=>[{no:1,name:"accounts",kind:"scalar",T:9,repeated:!0}]),bx=N.makeMessageType("streamlayer.sdkSettings.BettingFavorite",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"icon",kind:"scalar",T:9},{no:3,name:"name",kind:"scalar",T:9},{no:4,name:"type",kind:"enum",T:N.getEnumType(mx)}]),wx=N.makeMessageType("streamlayer.sdkSettings.CtaImage",()=>[{no:1,name:"url",kind:"scalar",T:9},{no:2,name:"name",kind:"scalar",T:9}]),I7=N.makeMessageType("streamlayer.sdkSettings.BrandDefaults",()=>[{no:1,name:"appearance",kind:"message",T:Sx}]),Sx=N.makeMessageType("streamlayer.sdkSettings.BrandDefaults.Appearance",()=>[{no:1,name:"primary_color",kind:"scalar",T:9},{no:2,name:"secondary_color",kind:"scalar",T:9},{no:3,name:"accent_color",kind:"scalar",T:9}],{localName:"BrandDefaults_Appearance"}),ob=N.makeMessageType("streamlayer.sdkSettings.BettingOverlaySettings",()=>[{no:1,name:"favorites",kind:"message",T:bx,repeated:!0},{no:2,name:"primary_color",kind:"scalar",T:9},{no:3,name:"button_icon",kind:"scalar",T:9},{no:4,name:"text_color",kind:"enum",T:N.getEnumType(hx)},{no:5,name:"app_installed_text",kind:"scalar",T:9},{no:6,name:"app_not_installed_text",kind:"scalar",T:9},{no:7,name:"text_color_custom",kind:"scalar",T:9},{no:8,name:"cta_image",kind:"message",T:wx}]),Ex=N.makeMessageType("streamlayer.sdkSettings.GetStreamSettingsClient",()=>[{no:1,name:"enabled",kind:"enum",T:N.getEnumType(M7)},{no:2,name:"key",kind:"scalar",T:9},{no:3,name:"app_id",kind:"scalar",T:9},{no:5,name:"default_channel_type",kind:"enum",T:N.getEnumType(VT)}]),yy=N.makeMessageType("streamlayer.sdkSettings.GetStreamChannel",()=>[{no:1,name:"organization_id",kind:"scalar",T:9},{no:2,name:"event_id",kind:"scalar",T:9},{no:3,name:"channel_id",kind:"scalar",T:9},{no:4,name:"channel_type",kind:"enum",T:N.getEnumType(VT)},{no:5,name:"is_default",kind:"enum",T:N.getEnumType(gx)}]),Nx=N.makeMessageType("streamlayer.sdkSettings.GetStreamChannels",()=>[{no:1,name:"enabled",kind:"enum",T:N.getEnumType(M7)},{no:2,name:"key",kind:"scalar",T:9},{no:3,name:"app_id",kind:"scalar",T:9},{no:4,name:"default_channel_type",kind:"enum",T:N.getEnumType(VT)},{no:5,name:"default_channel",kind:"message",T:yy},{no:6,name:"channels",kind:"message",T:yy,repeated:!0}]),_7=N.makeMessageType("streamlayer.sdkSettings.StreamSettings",()=>[{no:1,name:"overlays",kind:"message",T:Ry,repeated:!0},{no:2,name:"custom",kind:"scalar",T:8},{no:3,name:"button_icon",kind:"scalar",T:9},{no:4,name:"primary_color",kind:"scalar",T:9},{no:5,name:"secondary_color",kind:"scalar",T:9},{no:6,name:"moderation_primary_color",kind:"scalar",T:9},{no:7,name:"link_share_icon",kind:"scalar",T:9},{no:8,name:"link_share_text",kind:"scalar",T:9},{no:9,name:"brand_defaults",kind:"message",T:I7},{no:10,name:"getstream",kind:"message",T:Nx}]),Mx=N.makeMessageType("streamlayer.sdkSettings.JWK",()=>[{no:1,name:"alg",kind:"scalar",T:9,opt:!0},{no:2,name:"crv",kind:"scalar",T:9,opt:!0},{no:3,name:"d",kind:"scalar",T:9,opt:!0},{no:4,name:"dp",kind:"scalar",T:9,opt:!0},{no:5,name:"dq",kind:"scalar",T:9,opt:!0},{no:6,name:"e",kind:"scalar",T:9,opt:!0},{no:7,name:"ext",kind:"scalar",T:8,opt:!0},{no:8,name:"k",kind:"scalar",T:9,opt:!0},{no:9,name:"key_ops",kind:"scalar",T:9,repeated:!0},{no:10,name:"kid",kind:"scalar",T:9,opt:!0},{no:11,name:"kty",kind:"scalar",T:9,opt:!0},{no:12,name:"n",kind:"scalar",T:9,opt:!0},{no:13,name:"oth",kind:"message",T:Ix,repeated:!0},{no:14,name:"p",kind:"scalar",T:9,opt:!0},{no:15,name:"q",kind:"scalar",T:9,opt:!0},{no:16,name:"qi",kind:"scalar",T:9,opt:!0},{no:17,name:"use",kind:"scalar",T:9,opt:!0},{no:18,name:"x",kind:"scalar",T:9,opt:!0},{no:19,name:"y",kind:"scalar",T:9,opt:!0},{no:20,name:"x5c",kind:"scalar",T:9,repeated:!0},{no:21,name:"x5t",kind:"scalar",T:9,opt:!0},{no:22,name:"x5u",kind:"scalar",T:9,opt:!0}]),Ix=N.makeMessageType("streamlayer.sdkSettings.JWK.OTH",()=>[{no:1,name:"d",kind:"scalar",T:9,opt:!0},{no:2,name:"r",kind:"scalar",T:9,opt:!0},{no:3,name:"t",kind:"scalar",T:9,opt:!0}],{localName:"JWK_OTH"}),C7=N.makeMessageType("streamlayer.sdkSettings.OrganizationSettings",()=>[{no:1,name:"overlays",kind:"message",T:Ry,repeated:!0},{no:2,name:"button_icon",kind:"scalar",T:9},{no:3,name:"tinode_host",kind:"scalar",T:9},{no:4,name:"audience",kind:"scalar",T:9},{no:5,name:"name",kind:"scalar",T:9},{no:6,name:"provider",kind:"scalar",T:9},{no:7,name:"primary_color",kind:"scalar",T:9},{no:8,name:"secondary_color",kind:"scalar",T:9},{no:9,name:"moderation_primary_color",kind:"scalar",T:9},{no:10,name:"link_share_icon",kind:"scalar",T:9},{no:11,name:"link_share_text",kind:"scalar",T:9},{no:12,name:"brand_defaults",kind:"message",T:I7},{no:13,name:"pub",kind:"message",T:Mx},{no:14,name:"getstream",kind:"message",T:Ex}]),_x=N.makeMessageType("streamlayer.sdkSettings.GamesOverlaySettings",()=>[{no:1,name:"inplay_game",kind:"message",T:ux},{no:2,name:"moderation",kind:"message",T:px},{no:3,name:"pinned_leaderboard_id",kind:"scalar",T:9},{no:4,name:"leaderboard_kind",kind:"enum",T:N.getEnumType(yx)}]),ib=N.makeMessageType("streamlayer.sdkSettings.GetStreamOverlaySettings",()=>[{no:1,name:"default_channel",kind:"message",T:yy},{no:2,name:"channels",kind:"message",T:yy,repeated:!0}]),$f=N.makeMessageType("streamlayer.sdkSettings.SdkOverlaySettings",()=>[{no:4,name:"twitter",kind:"message",T:kx,oneof:"overlay_settings"},{no:5,name:"betting",kind:"message",T:ob,oneof:"overlay_settings"},{no:6,name:"inplay",kind:"message",T:ob,oneof:"overlay_settings"},{no:7,name:"games",kind:"message",T:_x,oneof:"overlay_settings"},{no:8,name:"getstream",kind:"message",T:ib,oneof:"overlay_settings"},{no:9,name:"public_chat",kind:"message",T:ib,oneof:"overlay_settings"}]),Cx=N.makeMessageType("streamlayer.sdkSettings.SdkOverlayMeta",()=>[{no:1,name:"organization",kind:"message",T:$f},{no:2,name:"global_preset",kind:"message",T:$f},{no:3,name:"preset",kind:"message",T:$f},{no:4,name:"stream",kind:"message",T:$f}]),Ry=N.makeMessageType("streamlayer.sdkSettings.SdkOverlay",()=>[{no:1,name:"type",kind:"enum",T:N.getEnumType(Xn)},{no:3,name:"position",kind:"scalar",T:5},{no:4,name:"overwrite",kind:"scalar",T:8},{no:5,name:"settings",kind:"message",T:$f},{no:6,name:"meta",kind:"message",T:Cx},{no:7,name:"enable",kind:"scalar",T:8},{no:8,name:"sdk_enable",kind:"scalar",T:8},{no:9,name:"name",kind:"scalar",T:9},{no:10,name:"icon",kind:"scalar",T:9},{no:11,name:"svg_icon",kind:"scalar",T:9},{no:12,name:"enable_overwrite",kind:"scalar",T:9,oneof:"overwrite_flag"},{no:13,name:"disable_overwrite",kind:"scalar",T:9,oneof:"overwrite_flag"},{no:14,name:"enable_sdk_button",kind:"scalar",T:8}]);N.makeMessageType("streamlayer.sdkSettings.SdkOverlayUpdateData",()=>[{no:1,name:"type",kind:"enum",T:N.getEnumType(Xn)},{no:3,name:"position",kind:"scalar",T:5},{no:4,name:"overwrite",kind:"scalar",T:8},{no:5,name:"settings",kind:"message",T:$f},{no:8,name:"sdk_enable",kind:"scalar",T:8},{no:9,name:"name",kind:"scalar",T:9},{no:10,name:"icon",kind:"scalar",T:9},{no:11,name:"svg_icon",kind:"scalar",T:9},{no:12,name:"enable_overwrite",kind:"scalar",T:9,oneof:"overwrite_flag"},{no:13,name:"disable_overwrite",kind:"scalar",T:9,oneof:"overwrite_flag"}]);N.makeMessageType("streamlayer.sdkSettings.OverlaysListRequest",[]);N.makeMessageType("streamlayer.sdkSettings.OverlaysListResponse",()=>[{no:1,name:"data",kind:"message",T:Ax}]);const Ax=N.makeMessageType("streamlayer.sdkSettings.OverlaysListResponse.OverlaysListResponseData",()=>[{no:1,name:"type",kind:"scalar",T:9},{no:2,name:"attributes",kind:"message",T:Ry,repeated:!0}],{localName:"OverlaysListResponse_OverlaysListResponseData"});N.makeMessageType("streamlayer.sdkSettings.GenerateSdkKeyRequest",()=>[{no:1,name:"organization_id",kind:"scalar",T:9}]);N.makeMessageType("streamlayer.sdkSettings.GenerateSdkKeyResponse",()=>[{no:1,name:"data",kind:"message",T:Ox}]);const Ox=N.makeMessageType("streamlayer.sdkSettings.GenerateSdkKeyResponse.GenerateSdkKeyResponseData",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"scalar",T:9}],{localName:"GenerateSdkKeyResponse_GenerateSdkKeyResponseData"});N.makeMessageType("streamlayer.sdkSettings.RemoveSdkKeyRequest",()=>[{no:1,name:"organization_id",kind:"scalar",T:9},{no:2,name:"key",kind:"scalar",T:9}]);N.makeMessageType("streamlayer.sdkSettings.RemoveSdkKeyResponse",()=>[{no:1,name:"data",kind:"message",T:xx}]);const xx=N.makeMessageType("streamlayer.sdkSettings.RemoveSdkKeyResponse.RemoveSdkKeyResponseData",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"scalar",T:9,repeated:!0}],{localName:"RemoveSdkKeyResponse_RemoveSdkKeyResponseData"});N.makeMessageType("streamlayer.sdkSettings.ListSdkKeyRequest",()=>[{no:1,name:"organization_id",kind:"scalar",T:9}]);N.makeMessageType("streamlayer.sdkSettings.ListSdkKeyResponse",()=>[{no:1,name:"data",kind:"message",T:Lx}]);const Lx=N.makeMessageType("streamlayer.sdkSettings.ListSdkKeyResponse.ListSdkKeyResponseData",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"scalar",T:9,repeated:!0}],{localName:"ListSdkKeyResponse_ListSdkKeyResponseData"});N.makeMessageType("streamlayer.sdkSettings.RegisterTwitterRequest",()=>[{no:1,name:"organization_id",kind:"scalar",T:9},{no:2,name:"stream_id",kind:"scalar",T:9},{no:3,name:"account",kind:"scalar",T:9}]);N.makeMessageType("streamlayer.sdkSettings.RegisterTwitterResponse",[]);N.makeMessageType("streamlayer.sdkSettings.Preset",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"rule",kind:"message",T:Dx},{no:3,name:"settings",kind:"message",T:Rx}]);const Rx=N.makeMessageType("streamlayer.sdkSettings.PresetSettings",()=>[{no:1,name:"overlays",kind:"message",T:Ry,repeated:!0},{no:2,name:"advertising",kind:"message",T:A7}]),Dx=N.makeMessageType("streamlayer.sdkSettings.PresetRule",()=>[{no:1,name:"key",kind:"enum",T:N.getEnumType(vx)},{no:2,name:"value",kind:"scalar",T:9}]),Px=N.makeMessageType("streamlayer.sdkSettings.AdvertisingConstraints",()=>[{no:1,name:"images",kind:"message",T:sb},{no:2,name:"videos",kind:"message",T:sb}]),sb=N.makeMessageType("streamlayer.sdkSettings.AdvertisingConstraint",()=>[{no:1,name:"width",kind:"scalar",T:5},{no:2,name:"height",kind:"scalar",T:5},{no:3,name:"max_file_size",kind:"scalar",T:1},{no:4,name:"mime",kind:"scalar",T:9}]),Ux=N.makeMessageType("streamlayer.sdkSettings.AdvertisingTemplate",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"name",kind:"scalar",T:9},{no:3,name:"constraints",kind:"map",K:9,V:{kind:"message",T:Px}}]);N.makeMessageType("streamlayer.sdkSettings.AdvertisingTemplates",()=>[{no:1,name:"templates",kind:"message",T:Ux,repeated:!0}]);const jx=N.makeMessageType("streamlayer.sdkSettings.AdvertisingImage",()=>[{no:1,name:"name",kind:"scalar",T:9},{no:2,name:"preview_url",kind:"scalar",T:9},{no:3,name:"file_url",kind:"scalar",T:9},{no:4,name:"placement",kind:"enum",T:N.getEnumType(Tx)}]),zx=N.makeMessageType("streamlayer.sdkSettings.AdvertisingVideo",()=>[{no:1,name:"name",kind:"scalar",T:9},{no:2,name:"preview_url",kind:"scalar",T:9},{no:3,name:"file_url",kind:"scalar",T:9},{no:4,name:"background_color",kind:"scalar",T:9}]),Bx=N.makeMessageType("streamlayer.sdkSettings.AdvertisingSettings",()=>[{no:1,name:"frequency",kind:"scalar",T:5},{no:2,name:"images",kind:"message",T:jx,repeated:!0},{no:3,name:"videos",kind:"message",T:zx,repeated:!0}]),Fx=N.makeMessageType("streamlayer.sdkSettings.AdvertisingOverlaySettings",()=>[{no:1,name:"overlay_type",kind:"enum",T:N.getEnumType(Xn)},{no:2,name:"settings",kind:"map",K:9,V:{kind:"message",T:Bx}},{no:3,name:"enabled",kind:"scalar",T:8},{no:4,name:"overlay_name",kind:"scalar",T:9},{no:5,name:"use_custom",kind:"scalar",T:8,opt:!0}]),A7=N.makeMessageType("streamlayer.sdkSettings.Advertising",()=>[{no:1,name:"template_id",kind:"scalar",T:9},{no:2,name:"overlay_settings",kind:"map",K:9,V:{kind:"message",T:Fx}}]);N.makeMessageType("streamlayer.sdkSettings.GenerateApiKeyRequest",()=>[{no:1,name:"organization_id",kind:"scalar",T:9}]);N.makeMessageType("streamlayer.sdkSettings.GenerateApiKeyResponse",()=>[{no:1,name:"data",kind:"message",T:Vx}]);const Vx=N.makeMessageType("streamlayer.sdkSettings.GenerateApiKeyResponse.GenerateApiKeyResponseData",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"scalar",T:9}],{localName:"GenerateApiKeyResponse_GenerateApiKeyResponseData"});N.makeMessageType("streamlayer.sdkSettings.RemoveApiKeyRequest",()=>[{no:1,name:"organization_id",kind:"scalar",T:9},{no:2,name:"token",kind:"scalar",T:9}]);N.makeMessageType("streamlayer.sdkSettings.RemoveApiKeyResponse",()=>[{no:1,name:"data",kind:"message",T:Yx}]);const Yx=N.makeMessageType("streamlayer.sdkSettings.RemoveApiKeyResponse.RemoveApiKeyResponseData",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"scalar",T:9,repeated:!0}],{localName:"RemoveApiKeyResponse_RemoveApiKeyResponseData"});N.makeMessageType("streamlayer.sdkSettings.GetApiKeyRequest",()=>[{no:1,name:"organization_id",kind:"scalar",T:9}]);N.makeMessageType("streamlayer.sdkSettings.GetApiKeyResponse",()=>[{no:1,name:"data",kind:"message",T:Qx}]);const Qx=N.makeMessageType("streamlayer.sdkSettings.GetApiKeyResponse.GetApiKeyResponseData",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"scalar",T:9}],{localName:"GetApiKeyResponse_GetApiKeyResponseData"});N.makeMessageType("streamlayer.sdkSettings.GetApiKeyStudioRequest",()=>[{no:1,name:"organization_id",kind:"scalar",T:9}]);N.makeMessageType("streamlayer.sdkSettings.GetApiKeyStudioResponse",()=>[{no:1,name:"data",kind:"message",T:Gx}]);const Gx=N.makeMessageType("streamlayer.sdkSettings.GetApiKeyStudioResponse.GetApiKeyStudioResponseData",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"scalar",T:9}],{localName:"GetApiKeyStudioResponse_GetApiKeyStudioResponseData"});let N4=0,lb=[];function Hx(){return N4+=1,()=>{if(N4-=1,N4===0){let r=lb;lb=[];for(let o of r)o()}}}let $x=Symbol(),qx=Symbol(),ya=[],tu=(r,o)=>{let s=[],m={get(){return m.lc||m.listen(()=>{})(),m.value},l:o||0,lc:0,listen(p,v){return m.lc=s.push(p,v||m.l)/2,()=>{let g=s.indexOf(p);~g&&(s.splice(g,2),--m.lc||m.off())}},notify(p){let v=!ya.length;for(let g=0;g<s.length;g+=2)ya.push(s[g],s[g+1],m.value,p);if(v){for(let g=0;g<ya.length;g+=4){let T;for(let I=g+1;!T&&(I+=4)<ya.length;)ya[I]<ya[g+1]&&(T=ya.push(ya[g],ya[g+1],ya[g+2],ya[g+3]));T||ya[g](ya[g+2],ya[g+3])}ya.length=0}},off(){},set(p){m.value!==p&&(m.value=p,m.notify())},subscribe(p,v){let g=m.listen(p,v);return p(m.value),g},value:r};return m};const Wx=0,Kx=1,Zx=2,Jx=3,Xx=5,ey=6,eL=7,ty=10;let cp=(r,o,s,m)=>(r.events=r.events||{},r.events[s+ty]||(r.events[s+ty]=m(p=>{r.events[s].reduceRight((v,g)=>(g(v),v),{shared:{},...p})})),r.events[s]=r.events[s]||[],r.events[s].push(o),()=>{let p=r.events[s],v=p.indexOf(o);p.splice(v,1),p.length||(delete r.events[s],r.events[s+ty](),delete r.events[s+ty])}),tL=(r,o)=>cp(r,o,Wx,s=>{let m=r.listen;return r.listen=p=>(!r.lc&&!r.starting&&(r.starting=!0,s(),delete r.starting),m(p)),()=>{r.listen=m}}),nL=(r,o)=>cp(r,o,Kx,s=>{let m=r.off;return r.off=()=>{s(),m()},()=>{r.off=m}}),rL=(r,o)=>cp(r,o,Zx,s=>{let m=r.set,p=r.setKey;return r.setKey&&(r.setKey=(v,g)=>{let T;if(s({abort:()=>{T=!0},changed:v,newValue:{...r.value,[v]:g}}),!T)return p(v,g)}),r.set=v=>{let g;if(s({abort:()=>{g=!0},newValue:v}),!g)return m(v)},()=>{r.set=m,r.setKey=p}}),aL=(r,o)=>cp(r,o,Jx,s=>{let m=r.notify;return r.notify=p=>{let v;if(s({abort:()=>{v=!0},changed:p}),!v)return m(p)},()=>{r.notify=m}}),oL=1e3,O7=(r,o)=>cp(r,m=>{let p=o(m);p&&r.events[ey].push(p)},Xx,m=>{let p=r.listen;r.listen=(...g)=>(!r.lc&&!r.active&&(r.active=!0,m()),p(...g));let v=r.off;return r.events[ey]=[],r.off=()=>{v(),setTimeout(()=>{if(r.active&&!r.lc){r.active=!1;for(let g of r.events[ey])g();r.events[ey]=[]}},oL)},()=>{r.listen=p,r.off=v}}),iL=(r,o)=>cp(r,o,eL,s=>{let m={},p={},v=r.action;return r.action=(g,T,I)=>(s({actionName:T,args:I,id:g,onEnd:C=>{(p[g]||(p[g]=[])).push(C)},onError:C=>{(m[g]||(m[g]=[])).push(C)}}),[C=>{if(m[g])for(let D of m[g])D({error:C})},()=>{if(p[g]){for(let C of p[g])C();delete m[g],delete p[g]}}]),()=>{r.action=v}}),x7=(r,o)=>{Array.isArray(r)||(r=[r]);let s,m=()=>{let v=r.map(g=>g.get());(s===void 0||v.some((g,T)=>g!==s[T]))&&(s=v,p.set(o(...v)))},p=tu(void 0,Math.max(...r.map(v=>v.l))+1);return O7(p,()=>{let v=r.map(g=>g.listen(m,p.l));return m(),()=>{for(let g of v)g()}}),p};function sL(r,o,s){let m=new Set([...o,void 0]);return r.listen((p,v)=>{m.has(v)&&s(p,v)})}let dT=(r={})=>{let o=tu(r);return o.setKey=function(s,m){typeof m>"u"?s in o.value&&(o.value={...o.value},delete o.value[s],o.notify(s)):o.value[s]!==m&&(o.value={...o.value,[s]:m},o.notify(s))},o};function qi(r,o={}){let s=Ke.useCallback(p=>o.keys?sL(r,o.keys,p):r.listen(p),[o.keys,r]),m=r.get.bind(r);return Ke.useSyncExternalStore(s,m,m)}const lL=r=>r.setKey===void 0,ub=r=>/.+(\..+|\[\d+\.*])/.test(r);function uL(r,o,s,m){return O7(r,()=>(s.mount!==!1&&m.mount({storeName:o}),()=>{s.unmount!==!1&&m.unmount({storeName:o})}))}function cL(r,o,s,m){return iL(r,({actionName:p,args:v,id:g,onEnd:T,onError:I})=>{s&&s.includes(p)||(m.action.start({actionId:g,actionName:p,args:v,storeName:o}),I(({error:C})=>{m.action.error({actionId:g,actionName:p,error:C,storeName:o})}),T(()=>{m.action.end({actionId:g,actionName:p,storeName:o})}))})}function dL(r,o,s,m,p){return rL(r,({changed:v})=>{let g=r[qx],T=r[$x];if(s.action===!1&&g||m&&m.includes(T))return;let I=lL(r)?r.value:{...r.value};I=ub(v)?structuredClone(I):I;let C=aL(r,()=>{let D=r.value,R;v&&!ub(v)&&(R=`${I[v]} → ${D[v]}`),p.change({actionId:g,actionName:T,changed:v,newValue:D,oldValue:I,storeName:o,valueMessage:R}),C()})})}function fL(r,o,s,m={}){let p=m.ignoreActions,v=m.messages||{},g=[];return(v.mount!==!1||v.unmount!==!1)&&g.push(uL(r,o,v,s)),v.action!==!1&&g.push(cL(r,o,p,s)),v.change!==!1&&g.push(dL(r,o,v,p,s)),()=>{for(let T of g)T()}}const pL={Date:!0,RegExp:!0,String:!0,Number:!0};function L7(r,o,s={cyclesFix:!0},m=[]){var T,I;let p=[];const v=Array.isArray(r);for(const C in r){const D=r[C],R=v?+C:C;if(!(C in o)){p.push({type:"REMOVE",path:[R],oldValue:r[C]});continue}const x=o[C],j=typeof D=="object"&&typeof x=="object";if(D&&x&&j&&!pL[(I=(T=Object.getPrototypeOf(D))==null?void 0:T.constructor)==null?void 0:I.name]&&(!s.cyclesFix||!m.includes(D))){const Q=L7(D,x,s,s.cyclesFix?m.concat([D]):[]);p.push.apply(p,Q.map(W=>(W.path.unshift(R),W)))}else D!==x&&!(j&&(isNaN(D)?D+""==x+"":+D==+x))&&p.push({path:[R],type:"CHANGE",value:x,oldValue:D})}const g=Array.isArray(o);for(const C in o)C in r||p.push({type:"CREATE",path:[g?+C:C],value:o[C]});return p}window.slStore=Object.create(null);var cb;(function(r){r.ORGANIZATION="ORGANIZATION",r.STREAM="STREAM"})(cb||(cb={}));Xn.BETTING+"",Xn.GAMES+"",Xn.PUBLIC_CHAT+"",Xn.TWITTER+"";var wc;(function(r){r.Ready="ready",r.Suspended="suspended"})(wc||(wc={}));const mL=({feature:r,sdk:o,children:s,className:m})=>{const p=qi(r.status),v=qi(o.sdkStore.slStreamId);return v!=null&&v.loading?F.jsx("div",{className:m,children:"event is loading..."}):v!=null&&v.data?p!==wc.Ready?F.jsx("div",{className:m,children:"wait feature..."}):s:F.jsx("div",{className:m,children:"event is forbidden..."})},hL=Ke.lazy(()=>Promise.resolve().then(()=>require("./gamification-feature.js"))),gL=({sdk:r,feature:o,className:s,scrollStore:m,appNode:p,scrollNode:v})=>{const g=Ke.useMemo(()=>o&&o.featureConfig.get().type===Xn.GAMES?F.jsx(mL,{className:s,sdk:r,feature:o,children:F.jsx(hL,{appNode:p,scrollStore:m,scrollNode:v,className:s,gamification:o})}):null,[r,o,s,m,v,p]);return F.jsx(Ke.Suspense,{fallback:F.jsx("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",width:"100%",height:"100%"},children:"page loading..."}),children:g})};function yL(r){var o=Object.create(null);return function(s){return o[s]===void 0&&(o[s]=r(s)),o[s]}}var vL=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,M4=yL(function(r){return vL.test(r)||r.charCodeAt(0)===111&&r.charCodeAt(1)===110&&r.charCodeAt(2)<91}),TL=function(){const o=Array.prototype.slice.call(arguments).filter(Boolean),s={},m=[];o.forEach(v=>{(v?v.split(" "):[]).forEach(T=>{if(T.startsWith("atm_")){const[,I]=T.split("_");s[I]=T}else m.push(T)})});const p=[];for(const v in s)Object.prototype.hasOwnProperty.call(s,v)&&p.push(s[v]);return p.push(...m),p.join(" ")},vy=TL,kL=r=>r.toUpperCase()===r,bL=r=>o=>r.indexOf(o)===-1,R7=(r,o)=>{const s={};return Object.keys(r).filter(bL(o)).forEach(m=>{s[m]=r[m]}),s};function wL(r,o,s){const m=R7(o,s);if(!r){const p=typeof M4=="function"?{default:M4}:M4;Object.keys(m).forEach(v=>{p.default(v)||delete m[v]})}return m}var SL=(r,o)=>{};function EL(r){let o="";return s=>{const m=(v,g)=>{const{as:T=r,class:I=o}=v,C=s.propsAsIs===void 0?!(typeof T=="string"&&T.indexOf("-")===-1&&!kL(T[0])):s.propsAsIs,D=wL(C,v,["as","class"]);D.ref=g,D.className=s.atomic?vy(s.class,D.className||I):vy(D.className||I,s.class);const{vars:R}=s;if(R){const x={};for(const W in R){const le=R[W],G=le[0],se=le[1]||"",te=typeof G=="function"?G(v):G;SL(te,s.name),x[`--${W}`]=`${te}${se}`}const j=D.style||{},Q=Object.keys(j);Q.length>0&&Q.forEach(W=>{x[W]=j[W]}),D.style=x}return r.__linaria&&r!==T?(D.as=T,Ke.createElement(r,D)):Ke.createElement(T,D)},p=Ke.forwardRef?Ke.forwardRef(m):v=>{const g=R7(v,["innerRef"]);return m(g,v.innerRef)};return p.displayName=s.name,p.__linaria={className:s.class||o,extends:r},p}}var de=EL;const NL=r=>K.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},K.createElement("path",{d:"M8 4L16 12L8 20",stroke:"#6B6F73",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),ML=r=>K.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},K.createElement("g",{id:"check"},K.createElement("path",{id:"Vector",d:"M4 13L9 18L20 6",stroke:"#107D57",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}))),IL=r=>K.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},K.createElement("rect",{width:16,height:16,rx:8,fill:"#CD2525"}),K.createElement("rect",{x:5.5,y:4.66669,width:8.24958,height:1.17851,rx:.589256,transform:"rotate(45 5.5 4.66669)",fill:"white"}),K.createElement("rect",{x:4.66669,y:10.5,width:8.24958,height:1.17851,rx:.589256,transform:"rotate(-45 4.66669 10.5)",fill:"white"})),_L=r=>K.createElement("svg",{width:12,height:12,viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},K.createElement("g",{id:"Frame 3469478"},K.createElement("path",{id:"Vector 4",d:"M1.62695 1.62598L10.3742 10.3745",stroke:"#6B6F73",strokeWidth:1.5,strokeLinecap:"round"}),K.createElement("path",{id:"Vector 5",d:"M1.62695 10.376L10.3742 1.62746",stroke:"#6B6F73",strokeWidth:1.5,strokeLinecap:"round"}))),CL=r=>K.createElement("svg",{width:64,height:65,viewBox:"0 0 64 65",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},K.createElement("path",{d:"M43.852 8.90765C40.2818 7.13339 36.2575 6.13574 32.0002 6.13574C17.2726 6.13574 5.3335 18.0748 5.3335 32.8024C5.3335 47.53 17.2726 59.4691 32.0002 59.4691C46.7278 59.4691 58.6668 47.53 58.6668 32.8024C58.6668 31.8009 58.6116 30.8123 58.5041 29.8394M24.0002 30.1357L32.0002 38.1357L58.6668 11.4691",stroke:"#107D57",strokeWidth:2.5,strokeLinecap:"round",strokeLinejoin:"round"})),AL=r=>K.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},K.createElement("path",{id:"Selected",fillRule:"evenodd",clipRule:"evenodd",d:"M16 8C16 12.4183 12.4183 16 8 16C3.58172 16 0 12.4183 0 8C0 3.58172 3.58172 0 8 0C12.4183 0 16 3.58172 16 8ZM11.6057 5.43441C11.2933 5.12199 10.7868 5.12199 10.4744 5.43441L6.93812 9.97066L5.08382 8.73446C4.7162 8.48938 4.2195 8.58871 3.97442 8.95634C3.72934 9.32396 3.82868 9.82065 4.1963 10.0657L6.5963 11.6657C6.9136 11.8773 7.33609 11.8354 7.60574 11.5658L11.6057 6.56578C11.9182 6.25336 11.9182 5.74683 11.6057 5.43441Z",fill:"#107D57"})),OL=r=>K.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},K.createElement("g",{id:"Checkmark"},K.createElement("path",{id:"Selected",fillRule:"evenodd",clipRule:"evenodd",d:"M24 12.002C24 18.6294 18.6274 24.002 12 24.002C5.37258 24.002 0 18.6294 0 12.002C0 5.37454 5.37258 0.00195312 12 0.00195312C18.6274 0.00195312 24 5.37454 24 12.002ZM17.4086 8.15357C16.94 7.68494 16.1802 7.68494 15.7116 8.15357L10.4072 14.9579L7.62573 13.1036C7.07429 12.736 6.32925 12.885 5.96163 13.4365C5.59401 13.9879 5.74301 14.7329 6.29445 15.1006L9.89445 17.5006C10.3704 17.8179 11.0041 17.7551 11.4086 17.3506L17.4086 9.85063C17.8772 9.382 17.8772 8.6222 17.4086 8.15357Z",fill:"#FFFFFF"}))),xL=r=>K.createElement("svg",{width:12,height:20,viewBox:"0 0 12 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},K.createElement("path",{id:"Icon / chevron.left",d:"M0 10C0 10.3818 0.145996 10.7075 0.449219 10.9995L9.20898 19.5684C9.44482 19.8154 9.75928 19.939 10.1187 19.939C10.8486 19.939 11.4214 19.3774 11.4214 18.6362C11.4214 18.2769 11.2754 17.9512 11.0283 17.7041L3.1333 10L11.0283 2.2959C11.2754 2.0376 11.4214 1.71191 11.4214 1.35254C11.4214 0.622559 10.8486 0.0610352 10.1187 0.0610352C9.75928 0.0610352 9.44482 0.18457 9.20898 0.431641L0.449219 9.00049C0.145996 9.29248 0.0112305 9.61816 0 10Z",fill:"white",fillOpacity:.6})),LL=r=>K.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},K.createElement("g",{id:"Chevron"},K.createElement("path",{id:"Chevron_2",d:"M6 11.999C6 12.1725 6.03134 12.334 6.09401 12.4837C6.15669 12.6334 6.25428 12.7756 6.3868 12.9103L14.0436 20.6565C14.2648 20.8855 14.5323 21 14.8459 21C15.0607 21 15.2544 20.9475 15.4271 20.8426C15.5998 20.7377 15.7384 20.5965 15.8431 20.4191C15.9477 20.2416 16 20.0425 16 19.8217C16 19.4989 15.8816 19.2134 15.6448 18.9654L8.74183 11.9971L15.6448 5.03271C15.8816 4.78709 16 4.5023 16 4.17834C16 3.95749 15.9477 3.75835 15.8431 3.58091C15.7384 3.40347 15.5998 3.26229 15.4271 3.15738C15.2544 3.05246 15.0607 3 14.8459 3C14.5323 3 14.2648 3.11169 14.0436 3.33508L6.3868 11.0878C6.25551 11.2225 6.15853 11.3644 6.09586 11.5134C6.03318 11.6625 6.00123 11.8244 6 11.999Z",fill:"white"}))),RL=r=>K.createElement("svg",{width:16,height:17,viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},K.createElement("g",{id:"Chevron"},K.createElement("path",{id:"Chevron_2",d:"M12 8.17222C12 8.28783 11.9781 8.39553 11.9342 8.49533C11.8903 8.59513 11.822 8.68992 11.7292 8.7797L6.36949 13.9439C6.21462 14.0965 6.02742 14.1729 5.80787 14.1729C5.65752 14.1729 5.52191 14.1379 5.40104 14.0679C5.28016 13.998 5.1831 13.9039 5.10986 13.7856C5.03662 13.6673 5 13.5345 5 13.3873C5 13.1721 5.08288 12.9818 5.24863 12.8164L10.0807 8.17095L5.24863 3.52799C5.08288 3.36425 5 3.17439 5 2.95841C5 2.81118 5.03662 2.67842 5.10986 2.56013C5.1831 2.44183 5.28016 2.34771 5.40104 2.27777C5.52191 2.20782 5.65752 2.17285 5.80787 2.17285C6.02742 2.17285 6.21462 2.24731 6.36949 2.39624L11.7292 7.56473C11.8211 7.65451 11.889 7.74909 11.9329 7.84846C11.9768 7.94784 11.9991 8.05576 12 8.17222Z",fill:"#FFFFFF"}))),DL=r=>K.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},K.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 -2.43189e-06C18.6274 -2.72158e-06 24 5.37258 24 12C24 18.6274 18.6274 24 12 24C5.37258 24 8.1423e-07 18.6274 5.24537e-07 12C2.34843e-07 5.37258 5.37258 -2.14219e-06 12 -2.43189e-06ZM11.9999 22.5883C17.8476 22.5883 22.5881 17.8478 22.5881 12.0001C22.5881 6.15238 17.8476 1.41187 11.9999 1.41187C6.15217 1.41187 1.41166 6.15239 1.41166 12.0001C1.41166 17.8478 6.15217 22.5883 11.9999 22.5883Z",fill:"white"}),K.createElement("path",{d:"M10.8547 7.5429C10.524 7.23657 10.0131 7.23657 9.68243 7.5429C9.31416 7.88401 9.31384 8.46633 9.68174 8.80784L13.1206 12L9.68175 15.1922C9.31384 15.5337 9.31416 16.116 9.68243 16.4571C10.0131 16.7634 10.524 16.7634 10.8547 16.4571L14.9802 12.6358C15.3505 12.2928 15.3505 11.7072 14.9802 11.3642L10.8547 7.5429Z",fill:"white"})),PL=r=>K.createElement("svg",{width:12,height:12,viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},K.createElement("path",{d:"M1.62695 1.62598L10.3742 10.3745",stroke:"#6B6F73",strokeWidth:1.5,strokeLinecap:"round"}),K.createElement("path",{d:"M1.62695 10.376L10.3742 1.62746",stroke:"#6B6F73",strokeWidth:1.5,strokeLinecap:"round"})),UL=r=>K.createElement("svg",{width:10,height:10,viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},K.createElement("g",{id:"Group 465"},K.createElement("rect",{id:"Rectangle 368",x:1.25,width:12.3744,height:1.76777,rx:.883884,transform:"rotate(45 1.25 0)",fill:"white"}),K.createElement("rect",{id:"Rectangle 369",y:8.75,width:12.3744,height:1.76777,rx:.883884,transform:"rotate(-45 0 8.75)",fill:"white"}))),jL=r=>K.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},K.createElement("rect",{y:.00195312,width:24,height:24,rx:12,fill:"#F80022"}),K.createElement("rect",{x:8.25,y:7.00195,width:12.3744,height:1.76777,rx:.883884,transform:"rotate(45 8.25 7.00195)",fill:"white"}),K.createElement("rect",{x:7,y:15.752,width:12.3744,height:1.76777,rx:.883884,transform:"rotate(-45 7 15.752)",fill:"white"})),zL=r=>K.createElement("svg",{width:25,height:24,viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},K.createElement("path",{d:"M15.8 22.0002H6C4 22.0002 2.5 20.5002 2.5 18.5002V8.7002C2.5 6.8002 4 5.2002 6 5.2002H15.8C17.7 5.2002 19.3 6.7002 19.3 8.7002V18.5002C19.2 20.5002 17.7 22.0002 15.8 22.0002ZM6 7.3002C5.2 7.3002 4.5 7.9002 4.5 8.7002V18.5002C4.5 19.3002 5.2 20.0002 6 20.0002H15.8C16.6 20.0002 17.3 19.3002 17.3 18.5002V8.7002C17.3 7.9002 16.6 7.2002 15.8 7.2002H6V7.3002Z",fill:"#107D57"}),K.createElement("path",{d:"M21.5016 17.9C20.9016 17.9 20.5016 17.5 20.5016 16.9V6.3C20.5016 5 19.5016 4 18.2016 4H7.60157C7.00156 4 6.60156 3.6 6.60156 3C6.60156 2.4 7.00156 2 7.60157 2H18.2016C20.6016 2 22.5016 3.9 22.5016 6.3V16.9C22.5016 17.5 22.1016 17.9 21.5016 17.9Z",fill:"#107D57"})),BL=r=>K.createElement("svg",{width:40,height:40,viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},K.createElement("g",{id:"CarbonUserAvatar 1"},K.createElement("g",{id:"Group 232"},K.createElement("path",{id:"Vector",d:"M19.9992 14.2861C19.2928 14.2861 18.6023 14.4956 18.015 14.888C17.4277 15.2805 16.9699 15.8382 16.6996 16.4908C16.4293 17.1434 16.3586 17.8615 16.4964 18.5543C16.6342 19.2471 16.9743 19.8835 17.4738 20.3829C17.9733 20.8824 18.6096 21.2226 19.3024 21.3604C19.9952 21.4982 20.7133 21.4274 21.3659 21.1571C22.0185 20.8868 22.5763 20.4291 22.9687 19.8417C23.3611 19.2544 23.5706 18.5639 23.5706 17.8576C23.5706 16.9104 23.1943 16.002 22.5245 15.3322C21.8548 14.6624 20.9464 14.2861 19.9992 14.2861ZM19.9992 20.0004C19.5753 20.0004 19.161 19.8747 18.8087 19.6393C18.4563 19.4038 18.1816 19.0692 18.0194 18.6776C17.8572 18.286 17.8148 17.8552 17.8975 17.4395C17.9802 17.0238 18.1843 16.642 18.4839 16.3423C18.7836 16.0426 19.1654 15.8386 19.5811 15.7559C19.9968 15.6732 20.4276 15.7156 20.8192 15.8778C21.2108 16.04 21.5454 16.3147 21.7809 16.6671C22.0163 17.0194 22.142 17.4337 22.142 17.8576C22.1415 18.4257 21.9155 18.9704 21.5138 19.3722C21.112 19.7739 20.5673 19.9999 19.9992 20.0004Z",fill:"white"}),K.createElement("path",{id:"Vector_2",d:"M20 10C18.0222 10 16.0888 10.5865 14.4443 11.6853C12.7998 12.7841 11.5181 14.3459 10.7612 16.1732C10.0043 18.0004 9.8063 20.0111 10.1922 21.9509C10.578 23.8907 11.5304 25.6725 12.9289 27.0711C14.3275 28.4696 16.1093 29.422 18.0491 29.8078C19.9889 30.1937 21.9996 29.9957 23.8268 29.2388C25.6541 28.4819 27.2159 27.2002 28.3147 25.5557C29.4135 23.9112 30 21.9778 30 20C29.997 17.3488 28.9424 14.807 27.0677 12.9323C25.193 11.0576 22.6512 10.003 20 10ZM15.7143 27.4121V26.4286C15.7149 25.8604 15.9408 25.3157 16.3425 24.914C16.7443 24.5122 17.289 24.2863 17.8571 24.2857H22.1429C22.711 24.2863 23.2557 24.5122 23.6575 24.914C24.0592 25.3157 24.2851 25.8604 24.2857 26.4286V27.4121C22.9851 28.1716 21.5061 28.5718 20 28.5718C18.4939 28.5718 17.0149 28.1716 15.7143 27.4121ZM25.7086 26.3757C25.6943 25.4388 25.3126 24.545 24.6457 23.8868C23.9787 23.2287 23.0799 22.8589 22.1429 22.8571H17.8571C16.9201 22.8589 16.0213 23.2287 15.3544 23.8868C14.6874 24.545 14.3057 25.4388 14.2914 26.3757C12.9961 25.2191 12.0827 23.6963 11.672 22.009C11.2614 20.3218 11.3729 18.5495 11.9919 16.927C12.6108 15.3046 13.708 13.9083 15.1381 12.9233C16.5682 11.9382 18.2638 11.4107 20.0004 11.4107C21.7369 11.4107 23.4325 11.9382 24.8626 12.9233C26.2927 13.9083 27.3899 15.3046 28.0088 16.927C28.6278 18.5495 28.7393 20.3218 28.3287 22.009C27.9181 23.6963 27.0039 25.2191 25.7086 26.3757Z",fill:"white"})))),FL=r=>K.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},K.createElement("rect",{width:24,height:24,rx:12,fill:"white",fillOpacity:.1}),K.createElement("rect",{x:8.25,y:7,width:12.3744,height:1.76777,rx:.883884,transform:"rotate(45 8.25 7)",fill:"white"}),K.createElement("rect",{x:7,y:15.75,width:12.3744,height:1.76777,rx:.883884,transform:"rotate(-45 7 15.75)",fill:"white"})),VL=r=>K.createElement("svg",{width:17,height:17,viewBox:"0 0 17 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},K.createElement("path",{d:"M9.16683 2.66671H7.16683C5.29999 2.66671 4.36657 2.66671 3.65353 3.03002C3.02632 3.3496 2.51639 3.85953 2.19681 4.48674C1.8335 5.19978 1.8335 6.1332 1.8335 8.00004V9.33337C1.8335 11.2002 1.8335 12.1336 2.19681 12.8467C2.51639 13.4739 3.02632 13.9838 3.65353 14.3034C4.36657 14.6667 5.29999 14.6667 7.16683 14.6667H8.50016C10.367 14.6667 11.3004 14.6667 12.0135 14.3034C12.6407 13.9838 13.1506 13.4739 13.4702 12.8467C13.8335 12.1336 13.8335 11.2002 13.8335 9.33337V7.33337M8.50016 8.00004L15.1668 1.33337M15.1668 1.33337H11.8335M15.1668 1.33337V4.66671",stroke:"#107D57",strokeLinecap:"round",strokeLinejoin:"round"})),YL=r=>K.createElement("svg",{width:41,height:40,viewBox:"0 0 41 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},K.createElement("rect",{x:.5,width:40,height:40,rx:8,fill:"#F2F2F1"}),K.createElement("path",{d:"M22.49 31.4288V21.0023H25.9898L26.5137 16.939H22.49V14.3446C22.49 13.1682 22.8167 12.3664 24.5039 12.3664L26.6556 12.3654V8.73123C26.2833 8.68189 25.0061 8.57129 23.5202 8.57129C20.4179 8.57129 18.294 10.4648 18.294 13.9424V16.9391H14.7852V21.0024H18.2939V31.4289L22.49 31.4288Z",fill:"#3C5A9A"})),QL=r=>K.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},K.createElement("rect",{width:32,height:32,rx:16,fill:"white"}),K.createElement("path",{d:"M10.4615 12.6875C9.44231 12.6875 8.61538 13.4665 8.61538 14.4266C8.61538 15.3868 9.44231 16.1658 10.4615 16.1658C11.4808 16.1658 12.3077 15.3868 12.3077 14.4266C12.3077 13.4665 11.4808 12.6875 10.4615 12.6875ZM10.4615 16.1658C9.10817 16.1658 8 17.2097 8 18.4846V19.7527C8 19.7527 8.61538 20.2237 10.4615 20.2237C12.3077 20.2237 12.9231 19.7527 12.9231 19.7527V18.4846C12.9231 17.2097 11.8149 16.1658 10.4615 16.1658ZM21.5385 12.6875C20.5192 12.6875 19.6923 13.4665 19.6923 14.4266C19.6923 15.3868 20.5192 16.1658 21.5385 16.1658C22.5577 16.1658 23.3846 15.3868 23.3846 14.4266C23.3846 13.4665 22.5577 12.6875 21.5385 12.6875ZM21.5385 16.1658C20.1851 16.1658 19.0769 17.2097 19.0769 18.4846V19.7527C19.0769 19.7527 19.6923 20.2237 21.5385 20.2237C23.3846 20.2237 24 19.7527 24 19.7527V18.4846C24 17.2097 22.8918 16.1658 21.5385 16.1658ZM16 15.0063C14.9808 15.0063 14.1538 15.7853 14.1538 16.7455C14.1538 17.7056 14.9808 18.4846 16 18.4846C17.0192 18.4846 17.8462 17.7056 17.8462 16.7455C17.8462 15.7853 17.0192 15.0063 16 15.0063ZM16 18.4846C14.6466 18.4846 13.5385 19.5285 13.5385 20.8034V22.0715C13.5385 22.0715 14.1538 22.5425 16 22.5425C17.8462 22.5425 18.4615 22.0715 18.4615 22.0715V20.8034C18.4615 19.5285 17.3534 18.4846 16 18.4846Z",fill:"#107D57"}),K.createElement("path",{opacity:.5,d:"M13.3908 9C12.3103 9 11.4336 9.82584 11.4336 10.8437C11.4336 11.8616 12.3103 12.6875 13.3908 12.6875C14.4713 12.6875 15.348 11.8616 15.348 10.8437C15.348 9.82584 14.4713 9 13.3908 9ZM13.3908 12.6875C13.1946 12.6875 12.9958 12.6827 12.7996 12.7451C13.192 13.2372 13.3908 13.8542 13.3908 14.5312C13.3908 14.7761 13.3296 15.0161 13.3296 15.261C13.8521 14.524 14.6956 14.0391 15.6742 13.9166C15.218 13.1796 14.3694 12.6875 13.3908 12.6875ZM18.61 9C17.5295 9 16.6528 9.82584 16.6528 10.8437C16.6528 11.8616 17.5295 12.6875 18.61 12.6875C19.6905 12.6875 20.5672 11.8616 20.5672 10.8437C20.5672 9.82584 19.6905 9 18.61 9ZM18.61 12.6875C17.6314 12.6875 16.7828 13.1796 16.3266 13.9166C17.3052 14.0391 18.1487 14.524 18.6712 15.261C18.6712 15.0161 18.61 14.7761 18.61 14.5312C18.61 13.8542 18.8088 13.2372 19.2012 12.7451C19.005 12.6827 18.8062 12.6875 18.61 12.6875Z",fill:"#107D57"})),GL=r=>K.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},K.createElement("g",{id:"Share"},K.createElement("path",{id:"Vector",d:"M11 4.965V1.125L18 7.845L11 14.565V10.629C6 10.629 2.5 12.165 0 15.525C1 10.725 4 5.925 11 4.965Z",fill:"white"}))),HL=r=>K.createElement("svg",{width:17,height:16,viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"sc-ANdsN kTVWJE",...r},K.createElement("path",{d:"M6.6665 3.16669H4.99984C4.26346 3.16669 3.6665 3.76364 3.6665 4.50002V11.5C3.6665 12.2364 4.26346 12.8334 4.99984 12.8334H11.9998C12.7362 12.8334 13.3332 12.2364 13.3332 11.5V9.83335",stroke:"#ffffff",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),K.createElement("path",{d:"M13.3335 6.16669V3.16669H10.3335",stroke:"#ffffff",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),K.createElement("path",{d:"M13.1668 3.33331L8.3335 8.16665",stroke:"#ffffff",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),$L=r=>K.createElement("svg",{width:17,height:18,viewBox:"0 0 17 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},K.createElement("g",{id:"Group"},K.createElement("path",{id:"Vector",d:"M12.5396 12.431L15.8603 9.00169L12.5396 5.57239",stroke:"#EB5757",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),K.createElement("path",{id:"Vector_2",d:"M15.8602 9.00159H5.57227",stroke:"#EB5757",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),K.createElement("path",{id:"Vector_3",d:"M12.431 1L3.2862 1.00229C2.02422 1.00343 1 2.02651 1 3.28849V14.7138C1 15.3201 1.24087 15.9016 1.66961 16.3304C2.09836 16.7591 2.67987 17 3.2862 17H12.5396",stroke:"#EB5757",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}))),qL=r=>K.createElement("svg",{width:99,height:96,viewBox:"0 0 99 96",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},K.createElement("g",{id:"Masters Logo Big"},K.createElement("path",{id:"Vector",d:"M67.4732 4.82378C66.1754 4.41151 64.8776 5.1433 63.5798 5.88539C63.117 6.15337 62.7951 6.60687 62.6844 7.13253L60.6421 16.9035C60.5616 17.2642 60.8836 17.594 61.2357 17.5116C63.3786 17.0065 65.4208 15.0894 67.5738 15.7594C69.9783 16.5118 72.3928 13.3888 74.7972 13.43V2.1543C72.3626 2.1646 69.8776 5.57618 67.4732 4.82378Z",fill:"white"}),K.createElement("path",{id:"Vector_2",d:"M98.1678 34.7754C97.6547 34.4147 97.3429 33.8272 97.3429 33.1882V31.4051C97.3429 29.8075 96.0752 28.5089 94.5159 28.5089H93.3891C92.041 28.5089 90.8035 29.1994 90.0691 30.3538L86.4272 36.1153C86.065 36.6822 85.4514 37.0223 84.7974 37.0223H82.3427C81.1253 37.0223 80.0086 37.7026 79.4251 38.8054C78.8215 39.9392 77.7752 40.7225 76.5679 40.9905V0.917313C76.5679 0.412276 76.1756 0 75.6726 0C75.1796 0 74.7772 0.412276 74.7772 0.917313V2.15414V13.4196V41.0111C73.5699 40.7431 72.5236 39.9598 71.92 38.8261C71.3465 37.7232 70.2298 37.043 69.0125 37.043H67.3626C66.0547 37.043 64.8676 37.8366 64.3344 39.0528L62.9661 42.2067C62.7448 42.7014 62.2619 43.0313 61.7287 43.0313C61.1955 43.0313 60.7126 42.7118 60.4913 42.2067L59.123 39.0528C58.5898 37.8263 57.4027 37.0327 56.0948 37.0327H9.52479C9.14249 37.0327 8.84068 37.3419 8.84068 37.7335C8.84068 38.5478 8.18674 39.2177 7.39196 39.2177H5.37986C4.99757 39.2177 4.69575 39.5269 4.69575 39.9186V42.3098C4.69575 44.5567 4.26315 46.7624 3.42813 48.834L2.20075 51.8643C1.05385 54.6884 0.510584 57.5846 0.520645 60.4396V67.4071C0.520645 69.2932 0.782218 71.1897 1.31542 73.0449C2.81444 78.2396 6.20483 82.4963 10.893 85.0215L18.3378 89.0412C18.4384 89.0928 18.539 89.1237 18.6497 89.1237L24.1528 89.1649C25.4405 89.1752 26.7081 89.5153 27.8248 90.1544L30.7826 91.8447C30.8832 91.9065 30.9939 91.9375 31.1146 91.9375H35.0684C36.4567 91.9375 37.825 92.3291 39.0121 93.0609C39.0121 93.0609 40.9437 94.2668 41.5977 94.6585C42.6439 95.2872 43.9116 95.885 46.1148 95.9984C46.6178 96.019 47.1108 95.8438 47.483 95.483C47.8553 95.1223 48.0666 94.6172 48.0666 94.0916V91.3809C48.0666 89.4123 49.2034 87.6292 50.964 86.8355L57.0003 84.1145C57.8252 83.7435 58.7508 83.6816 59.6059 83.9496L61.8595 84.6402C62.8152 84.9288 63.8313 84.9391 64.7972 84.6402L70.1493 83.0117C70.8636 82.7952 71.6081 82.7952 72.3325 83.022L74.5055 83.6507C75.5216 83.9496 76.2259 84.8979 76.2259 85.9801V91.4118C76.2259 93.937 78.238 95.9984 80.7028 95.9984C82.5439 95.9984 84.1636 94.7822 84.7169 92.9888C85.723 89.7421 86.2361 86.3614 86.2361 82.9499V80.6411C86.2361 79.0023 86.9001 77.415 88.0671 76.2916L90.2905 74.1375C91.7895 72.6739 92.6547 70.6228 92.6547 68.4996V55.616C92.6547 53.6164 93.2382 51.6994 94.3549 50.0606C94.4354 49.9472 94.4756 49.8029 94.4756 49.6586V46.6284C94.4756 44.6494 95.0591 42.7324 96.1557 41.1039L98.359 37.8263C98.4395 37.7129 98.4797 37.5686 98.4797 37.4346V35.3732C98.4797 34.9713 98.2584 34.8373 98.1678 34.7754ZM74.7872 69.2211C73.2882 68.9943 72.1816 68.2007 72.1816 67.2628C72.1816 66.3248 73.2882 65.5312 74.7872 65.3045V69.2211ZM76.5679 65.2941C78.0669 65.5209 79.1736 66.3145 79.1736 67.2525C79.1736 68.1904 78.0669 68.984 76.5679 69.2108V65.2941ZM12.6637 84.3928L11.5268 83.7847C8.45838 82.1356 6.00362 79.6619 4.32351 76.673V72.9109C6.24507 75.7556 8.85074 78.1881 12.05 79.9093L12.6637 80.2391V84.3928ZM18.3478 87.4643L15.3398 85.8461V81.6924L18.3378 83.3106H18.3478V87.4643ZM30.8832 90.2987L28.4989 88.9382C27.2011 88.1961 25.7322 87.7941 24.2534 87.7735V83.4343C25.5009 83.4652 26.7383 83.795 27.8349 84.4237L30.7927 86.1141C30.8229 86.1347 30.853 86.1244 30.8832 86.1347V90.2987ZM46.6983 91.3706V93.4835V94.0813C46.6983 94.2256 46.638 94.3596 46.5474 94.4523C46.4468 94.5451 46.3261 94.5966 46.1953 94.5863C44.2939 94.4833 43.1973 93.9782 42.3019 93.432C41.658 93.0403 39.7365 91.8447 39.7264 91.8447C38.5191 91.1026 37.161 90.68 35.7626 90.577V86.2377C36.9095 86.3408 38.0262 86.7016 39.0222 87.3097L40.6821 88.33C42.5031 89.4535 44.5756 90.0925 46.6983 90.2059V91.3706ZM63.1372 83.4446C62.8354 83.424 62.5436 83.3827 62.2519 83.3003L59.9983 82.6097C59.5154 82.4654 59.0124 82.4036 58.5194 82.4036V78.0644C58.8816 78.0644 59.2538 78.1056 59.6059 78.2087L61.8595 78.8992C62.272 79.0229 62.7046 79.0848 63.1372 79.1054V83.4446ZM77.2923 84.4959C76.8597 83.4549 75.9945 82.62 74.8878 82.3005L72.7248 81.6718C72.2117 81.5069 71.6785 81.445 71.1453 81.4554V77.1265C71.5578 77.1161 71.9703 77.1677 72.3727 77.3017L74.1534 77.8789C76.0347 78.487 77.3024 80.2494 77.3024 82.2696V84.4959H77.2923ZM83.5197 92.1848C83.4795 92.3085 83.4594 92.4322 83.4191 92.5559C83.0368 93.7721 81.9503 94.5863 80.7028 94.5863C80.5921 94.5863 80.4815 94.5657 80.3708 94.5554V90.2265C80.4513 90.2368 80.5318 90.2471 80.6223 90.2471C81.8396 90.2471 82.9362 89.5463 83.5197 88.495V92.1848ZM95.1799 38.0118C93.8217 40.032 93.1074 42.4025 93.1074 44.8556V46.9994L92.051 48.5661C90.6828 50.5965 89.9484 52.9774 89.9484 55.4408V66.2218C89.9484 67.9739 89.2442 69.6643 88.0067 70.8702L85.7834 73.0346C84.2944 74.4879 83.4694 76.539 83.5298 78.6519L83.5399 79.1363C83.6203 81.9398 83.2682 84.7226 82.5137 87.4127C82.2722 88.2682 81.4976 88.866 80.6223 88.866C79.5358 88.866 78.6605 87.959 78.6605 86.8562V82.2696C78.6605 79.631 77.0106 77.3326 74.5558 76.539L72.7751 75.9618C71.7892 75.6423 70.753 75.6423 69.767 75.9412L64.4149 77.5697C63.7106 77.7861 62.9661 77.7861 62.2519 77.5697L59.9983 76.8791C58.8313 76.5183 57.5637 76.6008 56.4469 77.1058L51.6883 79.2497C48.6501 80.6102 46.6883 83.6919 46.6883 87.0932V88.8454C44.817 88.732 42.986 88.1548 41.3763 87.1654L39.7163 86.145C38.3079 85.2792 36.7083 84.8257 35.0684 84.8257H31.3058L28.5089 83.2281C27.191 82.4757 25.692 82.0635 24.1729 82.0532L18.8307 82.0119L12.6938 78.7034C3.38789 73.653 -0.58601 62.367 3.45831 52.4208L4.68569 49.3906C5.6012 47.1437 6.06398 44.7628 6.06398 42.3304V40.6401H7.39196C8.70989 40.6401 9.81654 39.7021 10.1284 38.455H56.0948C56.8594 38.455 57.5637 38.9188 57.8755 39.6403L59.2438 42.7942C59.6764 43.8043 60.6522 44.4536 61.7287 44.4536C62.8052 44.4536 63.781 43.8043 64.2136 42.8045L65.5819 39.6506C65.8938 38.9291 66.5879 38.4653 67.3626 38.4653H69.0125C69.7268 38.4653 70.3807 38.8673 70.7228 39.5063C71.5679 41.1039 73.0769 42.1758 74.7872 42.4541V62.2639C72.0307 62.5731 69.918 64.2532 69.918 66.3042C69.918 68.5614 72.4934 70.3961 75.6726 70.3961C78.8517 70.3961 81.4272 68.5614 81.4272 66.3042C81.4272 64.2635 79.3145 62.5731 76.5579 62.2639V42.4438C78.2682 42.1655 79.7772 41.0936 80.6223 39.496C80.9644 38.857 81.6183 38.455 82.3326 38.455H84.7874C85.9141 38.455 86.9504 37.8778 87.5641 36.909L91.206 31.1371C91.6889 30.3847 92.4937 29.9312 93.379 29.9312H94.5058C95.3106 29.9312 95.9646 30.6012 95.9646 31.4257V33.2088C95.9646 34.0746 96.2865 34.8888 96.86 35.4969L95.1799 38.0118Z",fill:"white"}))),WL=r=>K.createElement("svg",{width:48,height:48,viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},K.createElement("circle",{opacity:.5,cx:24,cy:24.001,r:24,fill:"black"}),K.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M32.5432 24.7938C33.215 24.3331 33.2822 23.5173 32.5432 23.0567C23.7807 17.6245 19.6442 14.918 19.1356 14.5917C18.3486 14.083 17.6 14.6973 17.6 15.2059V32.7501C17.6 33.3259 18.5309 33.8442 19.1356 33.4795C20.2201 32.8172 31.8714 25.2641 32.5336 24.8034L32.5432 24.7938Z",fill:"white"})),KL=r=>K.createElement("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},K.createElement("path",{id:"Start - You",d:"M8 0L9.79611 5.52786H15.6085L10.9062 8.94427L12.7023 14.4721L8 11.0557L3.29772 14.4721L5.09383 8.94427L0.391548 5.52786H6.20389L8 0Z",fill:"#F4D22A"})),ZL=r=>K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:22,height:22,viewBox:"0 0 22 22",fill:"none",...r},K.createElement("path",{d:"M5.5 2.78867V12.4137C5.5 13.1729 4.88426 13.75 4.125 13.75H1.375C0.615742 13.75 0 13.1343 0 12.4137V2.82734C0 2.06808 0.615742 1.49102 1.375 1.49102H4.125C4.88555 1.41367 5.5 1.99375 5.5 2.78867ZM22 12.3707C22 13.5094 21.077 14.4323 19.9375 14.4323H13.6426C14.621 16.0613 15.1259 17.9077 15.1259 18.5582C15.125 19.5714 14.3301 20.625 12.998 20.625C10.2854 20.625 11.8654 17.3529 8.34883 14.5406L7.64844 13.982C7.14141 13.5738 6.88359 12.9766 6.8793 12.375C6.87829 12.374 6.8793 12.375 6.8793 12.375L6.875 5.5C6.875 4.85117 7.18064 4.23973 7.7 3.85043L9.16695 2.75086C10.3555 1.85625 11.8035 1.375 13.2902 1.375H15.8125C16.952 1.375 17.875 2.29754 17.875 3.43664C17.875 3.59283 17.8544 3.74357 17.8215 3.88996C18.6484 4.15937 19.25 4.92422 19.25 5.84375C19.25 6.23683 19.1341 6.60043 18.9432 6.91281C19.8988 7.08984 20.625 7.92773 20.625 8.9332C20.625 9.47031 20.4148 9.955 20.0784 10.322C21.1492 10.3941 22 11.2793 22 12.3707Z",fill:"white"})),JL=r=>K.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},K.createElement("path",{d:"M17.4777 8.95762C17.4777 8.70612 17.4177 8.47012 17.3172 8.25562C16.6467 6.09262 13.5077 6.25062 9.04275 6.14512C8.29625 6.12762 8.72325 5.24612 8.98525 3.31112C9.15575 2.05262 8.34425 0.120117 6.98025 0.120117C4.73125 0.120117 6.89475 1.89412 4.90625 6.28112C3.84375 8.62512 1.46875 7.31212 1.46875 9.66662V15.0261C1.46875 15.9426 1.55875 16.8236 2.84775 16.9686C4.09725 17.1091 3.81625 17.9996 5.61875 17.9996H14.6407C15.5597 17.9996 16.3072 17.2516 16.3072 16.3326C16.3072 15.9516 16.1737 15.6046 15.9582 15.3236C16.4682 15.0381 16.8182 14.4991 16.8182 13.8741C16.8182 13.4941 16.6852 13.1471 16.4702 12.8666C16.9817 12.5816 17.3327 12.0421 17.3327 11.4161C17.3327 10.9616 17.1487 10.5496 16.8522 10.2481C17.2307 9.94262 17.4777 9.48062 17.4777 8.95762Z",fill:"white"}),K.createElement("path",{d:"M11.5088 10.625H15.8108C16.3958 10.625 16.9448 10.312 17.2438 9.80849C17.3668 9.60099 17.2983 9.33249 17.0903 9.20899C16.8828 9.08549 16.6143 9.15499 16.4908 9.36249C16.3493 9.60199 16.0878 9.74999 15.8103 9.74999H11.4053C10.9688 9.74999 10.6138 9.39499 10.6138 8.95849C10.6138 8.52199 10.9688 8.16699 11.4053 8.16699H14.3488C14.5903 8.16699 14.7863 7.97099 14.7863 7.72949C14.7863 7.48799 14.5903 7.29199 14.3488 7.29199H11.4048C10.4858 7.29199 9.73828 8.03949 9.73828 8.95849C9.73828 9.47099 9.97578 9.92449 10.3408 10.2305C10.0333 10.533 9.84178 10.953 9.84178 11.417C9.84178 11.931 10.0808 12.386 10.4478 12.6915C10.1423 12.9935 9.95278 13.412 9.95278 13.875C9.95278 14.435 10.2323 14.929 10.6573 15.2315C10.3953 15.526 10.2313 15.9095 10.2313 16.3335C10.2313 17.2525 10.9788 18 11.8978 18H14.6398C15.2248 18 15.7743 17.6875 16.0733 17.184C16.1968 16.9765 16.1283 16.708 15.9208 16.5845C15.7128 16.462 15.4443 16.5295 15.3213 16.737C15.1788 16.9765 14.9173 17.125 14.6398 17.125H11.8978C11.4613 17.125 11.1063 16.77 11.1063 16.3335C11.1063 15.897 11.4613 15.542 11.8978 15.542H15.1508C15.7358 15.542 16.2858 15.229 16.5843 14.7255C16.7078 14.5175 16.6393 14.249 16.4318 14.126C16.2223 14.0005 15.9548 14.071 15.8323 14.2785C15.6878 14.522 15.4328 14.667 15.1508 14.667H11.6193C11.1828 14.667 10.8278 14.3115 10.8278 13.875C10.8278 13.4385 11.1828 13.0835 11.6193 13.0835H15.6648C16.2498 13.0835 16.7993 12.771 17.0983 12.2675C17.2218 12.06 17.1533 11.7915 16.9458 11.668C16.7373 11.545 16.4693 11.613 16.3463 11.8205C16.2018 12.0635 15.9468 12.2085 15.6648 12.2085H11.5088C11.0723 12.2085 10.7173 11.8535 10.7173 11.417C10.7173 10.9805 11.0718 10.625 11.5088 10.625Z",fill:"#107D57"})),XL=r=>K.createElement("svg",{width:12,height:12,viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},K.createElement("g",{id:"Trophy"},K.createElement("path",{id:"Combined Shape",fillRule:"evenodd",clipRule:"evenodd",d:"M2.76916 3.50002C2.76916 4.49786 2.94705 5.38348 3.30282 6.15692C2.62493 6.01847 2.05883 5.74872 1.6045 5.34768C1.15017 4.94663 0.923008 4.55992 0.923008 4.18752V3.50002H2.76916ZM11.0768 3.50002V4.18752C11.0768 4.55992 10.8497 4.94663 10.3953 5.34768C9.941 5.74872 9.3749 6.01847 8.69701 6.15692C9.05278 5.38348 9.23066 4.49786 9.23066 3.50002H11.0768ZM12 4.1875V3.27083C12 3.07986 11.9327 2.91754 11.7981 2.78385C11.6635 2.65017 11.5 2.58333 11.3077 2.58333H9.23077V1.89583C9.23077 1.58073 9.11779 1.31098 8.89183 1.08659C8.66586 0.862195 8.39423 0.75 8.07692 0.75H3.92308C3.60577 0.75 3.33414 0.862195 3.10817 1.08659C2.88221 1.31098 2.76923 1.58073 2.76923 1.89583V2.58333H0.692308C0.499999 2.58333 0.336539 2.65017 0.201923 2.78385C0.067307 2.91754 0 3.07986 0 3.27083V4.1875C0 4.52648 0.0997586 4.86784 0.299279 5.21159C0.498799 5.55534 0.768027 5.86567 1.10697 6.14258C1.44592 6.41949 1.86178 6.65223 2.35457 6.84082C2.84736 7.02941 3.36538 7.13563 3.90865 7.15951C4.11058 7.41732 4.33894 7.6441 4.59375 7.83984C4.77644 8.00217 4.90264 8.17524 4.97236 8.35905C5.04207 8.54286 5.07692 8.75651 5.07692 9C5.07692 9.25781 5.00361 9.47504 4.85697 9.65169C4.71034 9.82834 4.47596 9.91667 4.15385 9.91667C3.79327 9.91667 3.47236 10.0253 3.19111 10.2425C2.90985 10.4597 2.76923 10.7331 2.76923 11.0625V11.5208C2.76923 11.5877 2.79087 11.6426 2.83413 11.6855C2.8774 11.7285 2.93269 11.75 3 11.75H9C9.06731 11.75 9.1226 11.7285 9.16586 11.6855C9.20913 11.6426 9.23077 11.5877 9.23077 11.5208V11.0625C9.23077 10.7331 9.09015 10.4597 8.80889 10.2425C8.52764 10.0253 8.20673 9.91667 7.84615 9.91667C7.52404 9.91667 7.28966 9.82834 7.14303 9.65169C6.99639 9.47504 6.92308 9.25781 6.92308 9C6.92308 8.75651 6.95793 8.54286 7.02764 8.35905C7.09736 8.17524 7.22356 8.00217 7.40625 7.83984C7.66106 7.6441 7.88942 7.41732 8.09135 7.15951C8.63462 7.13563 9.15264 7.02941 9.64543 6.84082C10.1382 6.65223 10.5541 6.41949 10.893 6.14258C11.232 5.86567 11.5012 5.55534 11.7007 5.21159C11.9002 4.86784 12 4.52648 12 4.1875ZM5.07033 5.38491L6.0383 4.87503L7.00627 5.38491L6.8214 4.30497L7.60451 3.54016L6.52228 3.3826L6.0383 2.40003L5.55431 3.3826L4.47209 3.54016L5.25519 4.30497L5.07033 5.38491Z",fill:"white"}))),eR=r=>K.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},K.createElement("g",{id:"Trophy"},K.createElement("path",{id:"Combined Shape",fillRule:"evenodd",clipRule:"evenodd",d:"M3.69197 4.66662C3.69197 5.99705 3.92914 7.17787 4.4035 8.20912C3.49966 8.02451 2.74487 7.66486 2.1391 7.13014C1.53333 6.59542 1.23046 6.0798 1.23046 5.58328V4.66662H3.69197ZM14.7686 4.66662V5.58328C14.7686 6.0798 14.4658 6.59542 13.86 7.13014C13.2542 7.66486 12.4994 8.02451 11.5956 8.20912C12.0699 7.17787 12.3071 5.99705 12.3071 4.66662H14.7686ZM15.9998 5.58329V4.36108C15.9998 4.10645 15.9101 3.89002 15.7306 3.71178C15.5511 3.53354 15.3332 3.44442 15.0768 3.44442H12.3076V2.52776C12.3076 2.10763 12.1569 1.74797 11.8556 1.44878C11.5544 1.14959 11.1922 1 10.7691 1H5.23072C4.80764 1 4.44547 1.14959 4.14419 1.44878C3.84291 1.74797 3.69227 2.10763 3.69227 2.52776V3.44442H0.923068C0.666659 3.44442 0.448714 3.53354 0.269228 3.71178C0.0897418 3.89002 0 4.10645 0 4.36108V5.58329C0 6.03525 0.13301 6.49039 0.399034 6.94872C0.665059 7.40705 1.02403 7.82082 1.47595 8.19003C1.92787 8.55924 2.48234 8.86957 3.13939 9.12101C3.79644 9.37246 4.48713 9.51409 5.21149 9.54592C5.48071 9.88967 5.7852 10.192 6.12494 10.453C6.36853 10.6695 6.53679 10.9002 6.62974 11.1453C6.72269 11.3904 6.76916 11.6752 6.76916 11.9999C6.76916 12.3436 6.67141 12.6333 6.4759 12.8688C6.28038 13.1043 5.96789 13.2221 5.53841 13.2221C5.05764 13.2221 4.62976 13.3669 4.25476 13.6566C3.87977 13.9462 3.69227 14.3106 3.69227 14.7499V15.361C3.69227 15.4501 3.72112 15.5233 3.77881 15.5806C3.8365 15.6379 3.91022 15.6665 3.99996 15.6665H11.9999C12.0896 15.6665 12.1633 15.6379 12.221 15.5806C12.2787 15.5233 12.3076 15.4501 12.3076 15.361V14.7499C12.3076 14.3106 12.1201 13.9462 11.7451 13.6566C11.3701 13.3669 10.9422 13.2221 10.4614 13.2221C10.0319 13.2221 9.71945 13.1043 9.52394 12.8688C9.32843 12.6333 9.23068 12.3436 9.23068 11.9999C9.23068 11.6752 9.27715 11.3904 9.3701 11.1453C9.46305 10.9002 9.63131 10.6695 9.8749 10.453C10.2146 10.192 10.5191 9.88967 10.7884 9.54592C11.5127 9.51409 12.2034 9.37246 12.8604 9.12101C13.5175 8.86957 14.072 8.55924 14.5239 8.19003C14.9758 7.82082 15.3348 7.40705 15.6008 6.94872C15.8668 6.49039 15.9998 6.03525 15.9998 5.58329ZM6.76047 7.1798L8.05109 6.49997L9.3417 7.1798L9.09521 5.73989L10.1393 4.72015L8.69639 4.51007L8.05109 3.2L7.40578 4.51007L5.96283 4.72015L7.00696 5.73989L6.76047 7.1798Z",fill:"#F2C94C"}))),tR=r=>K.createElement("svg",{width:14,height:14,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},K.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.9234 2.06117C12.6527 2.79041 12.797 3.88306 12.3564 4.75616L12.3698 4.78833C13.2984 5.09432 13.9688 5.96888 13.9688 7C13.9688 8.03112 13.2984 8.90568 12.3698 9.21167L12.3565 9.24364C12.7971 10.1167 12.6527 11.2094 11.9235 11.9386C11.1944 12.6678 10.1019 12.8122 9.22883 12.3718L9.19604 12.3854C8.89006 13.314 8.0155 13.9844 6.98438 13.9844C5.95325 13.9844 5.07869 13.314 4.77271 12.3854L4.74027 12.3719C3.8673 12.8121 2.77506 12.6676 2.04603 11.9386C1.31703 11.2096 1.17255 10.1174 1.61259 9.24445L1.59899 9.21167C0.670333 8.90568 0 8.03112 0 7C0 5.96888 0.670334 5.09432 1.59899 4.78833L1.61267 4.75535C1.17263 3.8824 1.31711 2.79023 2.04611 2.06123C2.77519 1.33215 3.86754 1.18772 4.74054 1.62795L4.77271 1.61461C5.07869 0.685958 5.95325 0.015625 6.98438 0.015625C8.0155 0.015625 8.89006 0.685958 9.19604 1.61461L9.22857 1.6281C10.1016 1.18761 11.1942 1.33196 11.9234 2.06117ZM9.80606 4.98029C9.97643 4.7077 9.89356 4.34862 9.62098 4.17825C9.34839 4.00788 8.98931 4.09075 8.81894 4.36333L6.29655 8.39915L5.06781 7.17041C4.84051 6.94311 4.47199 6.94311 4.24469 7.17041C4.01739 7.39771 4.01739 7.76623 4.24469 7.99353L5.99079 9.73962C6.11621 9.86504 6.29197 9.92642 6.4682 9.90635C6.64444 9.88628 6.8019 9.78695 6.89591 9.63654L9.80606 4.98029Z",fill:"#0092E9"})),nR=r=>K.createElement("svg",{width:41,height:40,viewBox:"0 0 41 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},K.createElement("rect",{x:.5,width:40,height:40,rx:8,fill:"#F2F2F1"}),K.createElement("path",{d:"M11.0631 10.8037L18.5858 20.8464L11.0156 29.0115H12.7194L19.3471 21.8628L24.7021 29.0115H30.5L22.554 18.4039L29.6003 10.8037H27.8966L21.7928 17.3875L16.8611 10.8037H11.0631ZM13.5686 12.0567H16.2322L27.9941 27.7583H25.3305L13.5686 12.0567Z",fill:"black"})),rR=r=>K.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},K.createElement("g",{id:"Chevron Up"},K.createElement("path",{id:"Vector",d:"M4 9.6001L8 5.6001L12 9.6001",stroke:"#107D57",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"}))),aR=r=>K.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},K.createElement("g",{id:"cross"},K.createElement("path",{id:"Vector",d:"M6 18L18 6M6 6L18 18",stroke:"#BA0C2F",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}))),oR=r=>K.createElement("svg",{width:25,height:24,viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},K.createElement("g",{id:"Friends"},K.createElement("path",{id:"Vector",d:"M4.19231 7.03125C2.66346 7.03125 1.42308 8.19973 1.42308 9.63994C1.42308 11.0802 2.66346 12.2486 4.19231 12.2486C5.72115 12.2486 6.96154 11.0802 6.96154 9.63994C6.96154 8.19973 5.72115 7.03125 4.19231 7.03125ZM4.19231 12.2486C2.16226 12.2486 0.5 13.8145 0.5 15.7269V17.629C0.5 17.629 1.42308 18.3356 4.19231 18.3356C6.96154 18.3356 7.88461 17.629 7.88461 17.629V15.7269C7.88461 13.8145 6.22236 12.2486 4.19231 12.2486ZM20.8077 7.03125C19.2788 7.03125 18.0385 8.19973 18.0385 9.63994C18.0385 11.0802 19.2788 12.2486 20.8077 12.2486C22.3365 12.2486 23.5769 11.0802 23.5769 9.63994C23.5769 8.19973 22.3365 7.03125 20.8077 7.03125ZM20.8077 12.2486C18.7776 12.2486 17.1154 13.8145 17.1154 15.7269V17.629C17.1154 17.629 18.0385 18.3356 20.8077 18.3356C23.5769 18.3356 24.5 17.629 24.5 17.629V15.7269C24.5 13.8145 22.8377 12.2486 20.8077 12.2486ZM12.5 10.5095C10.9712 10.5095 9.73077 11.678 9.73077 13.1182C9.73077 14.5584 10.9712 15.7269 12.5 15.7269C14.0288 15.7269 15.2692 14.5584 15.2692 13.1182C15.2692 11.678 14.0288 10.5095 12.5 10.5095ZM12.5 15.7269C10.47 15.7269 8.80769 17.2928 8.80769 19.2051V21.1073C8.80769 21.1073 9.73077 21.8138 12.5 21.8138C15.2692 21.8138 16.1923 21.1073 16.1923 21.1073V19.2051C16.1923 17.2928 14.53 15.7269 12.5 15.7269Z",fill:"white"}),K.createElement("path",{id:"Vector_2",d:"M8.58473 1.5C6.96392 1.5 5.64893 2.73876 5.64893 4.2656C5.64893 5.79245 6.96392 7.03121 8.58473 7.03121C10.2055 7.03121 11.5205 5.79245 11.5205 4.2656C11.5205 2.73876 10.2055 1.5 8.58473 1.5ZM8.58473 7.03121C8.29038 7.03121 7.99221 7.024 7.69787 7.11763C8.28656 7.85584 8.58473 8.78131 8.58473 9.79681C8.58473 10.1641 8.49298 10.5242 8.49298 10.8915C9.27663 9.78601 10.5419 9.05859 12.0098 8.87494C11.3256 7.76942 10.0526 7.03121 8.58473 7.03121ZM16.4135 1.5C14.7927 1.5 13.4777 2.73876 13.4777 4.2656C13.4777 5.79245 14.7927 7.03121 16.4135 7.03121C18.0343 7.03121 19.3493 5.79245 19.3493 4.2656C19.3493 2.73876 18.0343 1.5 16.4135 1.5ZM16.4135 7.03121C14.9456 7.03121 13.6727 7.76942 12.9884 8.87494C14.4563 9.05859 15.7216 9.78601 16.5053 10.8915C16.5053 10.5242 16.4135 10.1641 16.4135 9.79681C16.4135 8.78131 16.7117 7.85584 17.3004 7.11763C17.006 7.024 16.7079 7.03121 16.4135 7.03121Z",fill:"white",fillOpacity:.4}))),iR=r=>K.createElement("svg",{width:86,height:21,viewBox:"0 0 86 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},K.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M39.7707 17.5184L41.7983 10.3558C42.0198 9.57464 42.5971 8.94758 43.3523 8.66714L43.4076 8.43396H40.5895L35.8035 14.1922L33.9719 8.43396H31.3937L31.3316 8.66714C31.773 8.88824 32.0163 9.54891 32.0163 10.0864V10.1198C32.0163 13.1873 29.7703 18.4601 26.6111 18.4601C25.3834 18.4601 24.747 17.5836 24.747 16.853C24.747 15.9681 25.4798 15.3387 26.2529 15.3387C27.0016 15.3387 27.117 15.6202 27.5483 15.6202C27.8113 15.6202 28.0635 15.4839 28.1896 15.2505C28.3874 14.8839 28.2374 14.4362 27.8755 14.2608L27.678 14.1655C25.836 13.27 23.7 14.626 23.7 16.6913V16.7199C23.7 18.2232 24.8682 19.4805 26.3554 19.533C30.1881 19.6688 32.7517 14.4446 33.1596 10.6208L33.4541 11.6554L34.9639 16.2278H35.5358L40.2518 10.5428L38.2733 17.5258C38.0464 18.3269 37.4178 18.9474 36.6198 19.1586L36.5644 19.3917H40.3566L40.4185 19.1586C39.8583 18.8245 39.5918 18.1502 39.7707 17.5184Z",fill:"#006747"}),K.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M47.6551 16.0223H45.8401C46.0463 15.4562 46.2436 14.9158 46.3101 14.7388C46.7692 13.5136 47.6421 13.0178 48.4877 12.9485L48.4789 12.9558L47.6551 16.0223ZM49.2891 12.3309H49.2569C47.4869 12.333 45.5837 12.506 44.571 15.4134C43.7202 17.8557 43.4904 18.8675 42.8257 18.8675C42.4006 18.8675 42.5038 18.0316 41.8667 18.0316C41.5797 18.0316 41.2797 18.2643 41.2582 18.6012C41.2205 19.1834 41.9951 19.5355 42.579 19.5355C44.3576 19.5355 45.0392 18.2244 45.2617 17.6136C45.2905 17.5338 45.4475 17.1016 45.6329 16.5921H47.5019L47.1853 17.7706C47.0182 18.3924 46.6742 18.9013 46.0925 19.1616L46.0423 19.3945H49.0998L49.1565 19.1616C48.7427 18.8165 48.5631 18.2633 48.6972 17.7481L49.8477 13.329C49.9361 12.99 50.1685 12.7103 50.4836 12.564L50.5335 12.3309H49.5371H49.2891Z",fill:"#006747"}),K.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M64.7158 12.8345C64.814 12.6702 64.9079 12.4191 64.9079 12.2789L64.9081 12.2781C64.9216 12.0129 64.6825 11.8076 64.4257 11.8635H64.4251C64.2195 11.9084 64.0708 12.093 64.0747 12.3057C64.0781 12.5268 64.0342 12.7642 63.9408 12.88C63.7264 13.147 63.3835 13.1242 61.8035 12.666V12.6633C61.659 12.6205 61.5002 12.5738 61.3328 12.5273C61.3239 12.5249 61.3156 12.5223 61.3065 12.5194L61.3068 12.5202C60.5183 12.3036 59.5388 12.1048 58.8965 12.427C58.8913 12.4296 58.8858 12.4325 58.8809 12.4349C58.2534 12.7531 57.8154 13.3558 57.6838 14.0527C57.6643 14.1551 57.65 14.2383 57.6485 14.2685V14.2696C57.6297 14.6356 57.9599 14.9192 58.3147 14.8423L58.3152 14.8418C58.603 14.7793 58.8055 14.519 58.7995 14.2221C58.7933 13.9219 58.7338 13.5212 58.8955 13.2523C59.1557 12.8821 59.426 12.8558 60.6369 13.2636L59.322 17.7709C59.1406 18.3922 58.6966 18.9014 58.1091 19.1613L58.0535 19.3948H61.1994L61.2615 19.1613C60.8557 18.8165 60.6883 18.263 60.8344 17.7481L61.9839 13.6877C62.4882 13.7938 62.9993 13.8211 63.4968 13.6777L63.676 13.6262C64.0763 13.5107 64.4862 13.2184 64.7158 12.8345Z",fill:"#006747"}),K.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M65.9749 12.3307L65.913 12.5642C66.3027 12.836 66.4782 13.3267 66.3524 13.786L65.1834 17.7658C65.0019 18.3876 64.5579 18.8965 63.9704 19.1564L63.9148 19.3896H65.579H65.7311H69.5609L70.0668 17.5237H69.8292L69.7439 17.7025C69.4268 18.3692 68.7587 18.7936 68.0262 18.7936H66.4023L67.2669 15.6701L67.9568 15.6693C68.4221 15.669 68.772 16.0978 68.6828 16.5589H68.9204L69.4879 14.4477H69.2503C69.1128 14.8382 68.7475 15.0992 68.3368 15.0995L67.4247 15.1005L68.0246 12.9326L69.7458 12.9313C70.3075 12.9308 70.7281 13.4512 70.6158 14.0074H70.8534L71.3042 12.3307H65.9749Z",fill:"#006747"}),K.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M76.8122 14.035C76.6245 14.6681 76.0482 15.1024 75.3937 15.1024L74.397 15.1032L75.0004 12.9347L76.0001 12.9342C76.5679 12.9339 76.975 13.4861 76.8122 14.035ZM76.7482 12.3334H72.9462L72.8841 12.5666C73.249 12.8211 73.4258 13.2677 73.3436 13.7007L72.1531 17.7677C71.9716 18.3895 71.5279 18.8984 70.9401 19.1583L70.8848 19.392H74.0276L74.0897 19.1583C73.6839 18.8136 73.5168 18.26 73.6623 17.7451L74.2387 15.6728H74.4789C74.8417 15.673 75.1464 15.9487 75.1864 16.3132C75.1997 16.4308 75.3817 17.8717 75.527 18.3672C75.7173 19.0147 75.9671 19.3923 76.5358 19.3923H77.9578L78.0132 19.1589L77.8096 19.037C77.408 18.7962 77.1171 18.4218 76.9871 17.9268C76.8639 17.4597 76.6341 16.5897 76.5216 16.1291C76.4633 15.8918 76.1711 15.672 75.8691 15.672L76.3482 15.6717C77.2073 15.6712 77.9614 15.0932 78.193 14.2572C78.4603 13.2908 77.7412 12.3334 76.7482 12.3334Z",fill:"#006747"}),K.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M55.8685 12.6924C55.7663 12.6924 55.5464 12.6221 55.209 12.4803C54.8713 12.3385 54.5302 12.2678 54.1863 12.2678C53.4725 12.2678 52.8767 12.5013 52.3895 13.0002C51.984 13.4153 51.8039 13.8762 51.8039 14.275C51.8039 14.6996 52.0498 15.1988 52.5424 15.6024C53.0075 15.984 53.4915 16.3495 53.976 16.7226C54.4855 17.1346 54.7405 17.5146 54.7405 17.8236C54.7405 18.5022 54.3036 18.8672 53.3989 18.8672C52.4798 18.8672 51.8442 18.1868 51.6404 16.9125H51.3919L50.6692 19.3926H50.8982C51.1969 19.1812 51.4093 19.0452 51.8423 19.0452C52.2557 19.0452 52.6973 19.5355 53.6389 19.5355C54.3907 19.5355 54.9857 19.3779 55.4954 18.8627C55.9288 18.4126 56.1453 17.7824 56.1453 17.2672C56.1453 16.7909 55.8498 16.2355 55.3332 15.8353C54.89 15.4921 54.4153 15.1857 53.9568 14.8506C53.4598 14.4772 53.2113 14.1603 53.2113 13.8126C53.2113 13.6191 53.3069 13.4264 53.4982 13.2334C53.74 12.9889 54.0639 12.9348 54.4972 12.9348C55.3668 12.9348 55.9753 13.4243 56.0265 14.4539H56.2558L56.8623 12.2678H56.633C56.3907 12.5512 56.136 12.6924 55.8685 12.6924Z",fill:"#006747"}),K.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M82.7665 12.9347C83.6361 12.9347 84.2449 13.4242 84.2958 14.4538H84.5254L85.1316 12.268H84.902C84.66 12.5508 84.4055 12.6923 84.1375 12.6923C84.0356 12.6923 83.8157 12.6217 83.478 12.4802C83.1403 12.3386 82.7995 12.268 82.4554 12.268C81.7418 12.268 81.146 12.5014 80.6588 13.0001C80.2533 13.4152 80.0732 13.8764 80.0732 14.275C80.0732 14.7001 80.3191 15.1985 80.8117 15.6026C81.2768 15.9841 81.7608 16.3494 82.2453 16.7225C82.7546 17.1348 83.0098 17.5148 83.0098 17.8236C83.0098 18.5021 82.5729 18.8671 81.6682 18.8671C80.7491 18.8671 80.1135 18.1867 79.9094 16.9127H79.6609L78.9382 19.3928H79.1678C79.4662 19.1814 79.6786 19.0454 80.1114 19.0454C80.525 19.0454 80.9664 19.5356 81.9082 19.5356C82.66 19.5356 83.255 19.3776 83.7647 18.8629C84.1981 18.4123 84.4146 17.7823 84.4146 17.2674C84.4146 16.7911 84.1191 16.2357 83.6028 15.8355C83.1593 15.4921 82.6849 15.1856 82.2264 14.8506C81.7291 14.4774 81.4806 14.1599 81.4806 13.8123C81.4806 13.6195 81.5762 13.4263 81.7673 13.2333C82.0093 12.9888 82.3332 12.9347 82.7665 12.9347Z",fill:"#006747"}),K.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.16448 19.1572C8.9508 19.0274 8.71061 18.9521 8.46313 18.9295V19.8504C8.7639 19.8735 9.0566 19.9633 9.31629 20.1209C9.31707 20.1211 9.73092 20.3753 9.87051 20.4578C10.0637 20.572 10.2984 20.6807 10.7091 20.702C10.738 20.7033 10.7645 20.693 10.7853 20.6733C10.8069 20.6523 10.8188 20.6245 10.8188 20.5943V20.467V20.0177V19.7727C10.3616 19.7483 9.91574 19.6138 9.5227 19.3749L9.16448 19.1572Z",fill:"white"}),K.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.7542 18.5409C6.51895 18.4077 6.2525 18.3363 5.98267 18.3308V19.2517C6.30267 19.2572 6.61903 19.3423 6.89795 19.4996L7.41084 19.7892V18.9059C7.40434 18.903 7.39732 18.9038 7.39082 18.9004L6.7542 18.5409Z",fill:"white"}),K.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.6002 17.2211C13.5235 17.198 13.4445 17.1896 13.366 17.1896V18.1115C13.4731 18.1115 13.5804 18.1231 13.6847 18.1543L14.1708 18.3014C14.2332 18.3198 14.2971 18.3292 14.3611 18.3326V17.4117C14.2685 17.4078 14.1762 17.3947 14.0863 17.3679L13.6002 17.2211Z",fill:"white"}),K.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.7325 17.1487L16.3495 17.0268C16.2638 16.9995 16.1743 16.9885 16.0857 16.9909V17.9115C16.2001 17.9091 16.3145 17.9238 16.4254 17.9582L16.891 18.0906C17.1297 18.1591 17.3166 18.3356 17.4104 18.5569V18.0816C17.4104 17.6526 17.138 17.2776 16.7325 17.1487Z",fill:"white"}),K.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.1283 19.781C18.1098 19.781 18.0929 19.7768 18.0745 19.7755V20.6948C18.0984 20.6974 18.1215 20.7019 18.1459 20.7019C18.4145 20.7019 18.6497 20.5283 18.7311 20.27C18.7394 20.244 18.7449 20.2166 18.7527 20.1907V19.4081C18.6276 19.6329 18.3908 19.781 18.1283 19.781Z",fill:"white"}),K.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.68872 16.0953V16.8941C2.05057 17.5309 2.58035 18.0542 3.24115 18.4056L3.48524 18.5353V17.6527L3.35397 17.5832C2.66354 17.2161 2.10308 16.6998 1.68872 16.0953Z",fill:"white"}),K.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.06201 17.9599V18.8425L4.71033 19.187V18.3039C4.70955 18.3039 4.70851 18.3039 4.70773 18.3034L4.06201 17.9599Z",fill:"white"}),K.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21.4378 7.27918C21.4378 7.10456 21.2969 6.96198 21.1238 6.96198H20.8812C20.6915 6.96198 20.5165 7.05808 20.4139 7.21905L19.6291 8.44428C19.4965 8.65041 19.2727 8.7733 19.0294 8.7733H18.4993C18.3454 8.7733 18.2043 8.85838 18.1307 8.99519C17.949 9.33472 17.6241 9.56238 17.2554 9.62172V13.8302C17.8492 13.8951 18.3036 14.2538 18.3036 14.6876C18.3036 15.1676 17.7483 15.5567 17.0628 15.5567C16.3778 15.5567 15.8221 15.1676 15.8221 14.6876C15.8221 14.2538 16.2767 13.8951 16.8699 13.8302V9.62172C16.5013 9.56185 16.1766 9.33419 15.9955 8.99545C15.9222 8.85864 15.7813 8.77383 15.6274 8.77383H15.272C15.1064 8.77383 14.9564 8.87204 14.8888 9.02486L14.5935 9.69551C14.4994 9.90873 14.2889 10.0469 14.0575 10.0469C13.8262 10.0469 13.6156 9.90873 13.522 9.69472L13.2262 9.02512C13.1591 8.87256 13.0086 8.77383 12.8436 8.77383H2.93837C2.87235 9.04035 2.63293 9.23835 2.34906 9.23835H2.06234V9.59835C2.06234 10.1164 1.96226 10.6211 1.76547 11.0985L1.50084 11.7416C0.629747 13.8552 1.48551 16.2528 3.49077 17.3197L4.8134 18.0232L5.96421 18.0316C6.29044 18.034 6.6133 18.1204 6.89795 18.2811L7.50104 18.6214H8.31494C8.6677 18.6214 9.01395 18.7185 9.31628 18.9018L9.67423 19.12C10.022 19.3309 10.4148 19.4533 10.8191 19.4772V19.1045C10.8191 18.3824 11.2417 17.7283 11.896 17.4384L12.9202 16.9836C13.161 16.8768 13.4321 16.8599 13.6845 16.9358L14.1706 17.0824C14.3235 17.1286 14.4841 17.1286 14.6359 17.0831L15.7888 16.7378C16.002 16.6738 16.2263 16.6759 16.4376 16.7428L16.8211 16.8647C17.3498 17.0325 17.7049 17.5214 17.7049 18.0818V19.0557C17.7049 19.2912 17.8947 19.4832 18.1284 19.4832C18.3155 19.4832 18.4827 19.3561 18.5349 19.1747C18.699 18.603 18.7738 18.0117 18.7567 17.4166L18.7551 17.3134C18.7424 16.8647 18.9199 16.4301 19.2412 16.1205L19.7203 15.6604C19.9865 15.4039 20.1393 15.0442 20.1393 14.6723V12.381C20.1393 11.8566 20.2958 11.3516 20.5919 10.9205L20.8191 10.5888V10.1332C20.8191 9.61175 20.9738 9.10942 21.2662 8.68035L21.6312 8.14414C21.5082 8.01443 21.4378 7.84112 21.4378 7.65757V7.27918Z",fill:"#FCE300"}),K.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.8174 14.8952C17.8174 14.6943 17.5785 14.5268 17.2556 14.478V15.3125C17.5785 15.2631 17.8174 15.0961 17.8174 14.8952Z",fill:"white"}),K.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.3083 14.8952C16.3083 15.0961 16.5472 15.2631 16.8701 15.3125V14.478C16.5472 14.5268 16.3083 14.6943 16.3083 14.8952Z",fill:"white"}),K.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.2945 1.62957C15.0145 1.54292 14.7348 1.69706 14.4548 1.85592C14.3558 1.91238 14.2853 2.00849 14.2611 2.12061L13.8211 4.19584C13.8047 4.27252 13.873 4.34184 13.9489 4.32451C14.4117 4.2179 14.8518 3.80931 15.3145 3.95216C15.8331 4.11286 16.3514 3.44957 16.87 3.45744V1.06317C16.3486 1.06553 15.8133 1.78975 15.2945 1.62957Z",fill:"#BA0C2F"}),K.createElement("mask",{id:"mask0_1174_458568",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:0,y:0,width:22,height:21},K.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.4219 21H0.868408V0.605103H11.4219H21.9754V21H11.4219Z",fill:"white"})),K.createElement("g",{mask:"url(#mask0_1174_458568)"},K.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21.2663 8.68018C20.9738 9.10977 20.8192 9.61184 20.8192 10.1331V10.5889L20.592 10.9206C20.2956 11.3515 20.1391 11.8564 20.1391 12.3811V14.6722C20.1391 15.044 19.9866 15.404 19.7204 15.6603L19.2413 16.1209C18.9197 16.4299 18.7427 16.8645 18.7552 17.3135L18.757 17.4165C18.7739 18.0115 18.699 18.6031 18.535 19.175C18.4827 19.3562 18.3156 19.483 18.1284 19.483C17.8947 19.483 17.705 19.2911 17.705 19.0555V18.0816C17.705 17.5215 17.3499 17.0328 16.8211 16.8645L16.4377 16.7429C16.2264 16.6757 16.002 16.6741 15.7889 16.7377L14.636 17.083C14.4842 17.1284 14.3233 17.1284 14.1707 17.0827L13.6846 16.9359C13.4324 16.8598 13.161 16.8766 12.9203 16.9837L11.8961 17.4383C11.2418 17.7284 10.8191 18.3823 10.8191 19.1044V19.4772C10.4149 19.4536 10.0221 19.331 9.67455 19.1199L9.31634 18.9022C9.01401 18.7186 8.66776 18.6215 8.315 18.6215H7.5011L6.89801 18.2812C6.6131 18.1202 6.2905 18.0338 5.96427 18.0314L4.81346 18.0233L3.49083 17.3198C1.48531 16.2532 0.629807 13.8552 1.5009 11.7417L1.76553 11.0989C1.96232 10.6212 2.0624 10.1163 2.0624 9.59844V9.23844H2.34912C2.63299 9.23844 2.87241 9.04018 2.93843 8.77366H12.8436C13.0087 8.77366 13.1592 8.87239 13.2263 9.02522L13.5218 9.69508C13.6157 9.90856 13.8262 10.0469 14.0576 10.0469C14.2889 10.0469 14.4995 9.90882 14.5936 9.69534L14.8892 9.02469C14.9565 8.87213 15.1065 8.77366 15.2721 8.77366H15.6274C15.7813 8.77366 15.9222 8.859 15.9955 8.99554C16.1767 9.33428 16.5014 9.56194 16.87 9.62181V13.8303C16.2768 13.8954 15.8221 14.2539 15.8221 14.6877C15.8221 15.1679 16.3779 15.5568 17.0629 15.5568C17.7484 15.5568 18.3036 15.1679 18.3036 14.6877C18.3036 14.2539 17.8492 13.8954 17.2555 13.8303V9.62208C17.6241 9.56221 17.9491 9.33454 18.1308 8.99554C18.2043 8.85874 18.3452 8.77339 18.4994 8.77339H19.0297C19.2727 8.77339 19.4965 8.6505 19.6289 8.44437L20.4139 7.21888C20.5166 7.05791 20.6915 6.96207 20.8813 6.96207H21.1241C21.297 6.96207 21.4379 7.10439 21.4379 7.27901V7.6574C21.4379 7.84095 21.5083 8.01452 21.6313 8.14397L21.2663 8.68018ZM18.7529 20.1904C18.7451 20.2167 18.7396 20.2437 18.7313 20.27C18.6499 20.5287 18.4147 20.7022 18.1461 20.7022C18.1217 20.7022 18.0986 20.6975 18.0746 20.6949V19.7753C18.0926 19.7771 18.11 19.7808 18.1285 19.7808C18.3905 19.7808 18.6278 19.6327 18.7529 19.4082V20.1904ZM17.4102 18.5569C17.3163 18.3355 17.1299 18.1588 16.8913 18.0905L16.4255 17.9582C16.3145 17.9238 16.2001 17.9091 16.0857 17.9115V16.9908C16.1746 16.9885 16.2635 16.9995 16.3493 17.0271L16.7325 17.1486C17.138 17.2776 17.4102 17.6526 17.4102 18.0816V18.5569ZM14.3615 18.3324C14.297 18.3292 14.2331 18.32 14.1707 18.3011L13.6846 18.1546C13.5809 18.1228 13.4732 18.1115 13.3659 18.1115V17.1896C13.4449 17.1896 13.5239 17.1983 13.6001 17.2208L14.0862 17.3679C14.1761 17.3949 14.2687 17.4081 14.3615 17.4117V18.3324ZM10.8191 20.0174V20.467V20.5946C10.8191 20.6245 10.8066 20.6523 10.7853 20.6733C10.7645 20.6933 10.738 20.7033 10.7091 20.7022C10.2984 20.681 10.0637 20.572 9.87054 20.4578C9.73095 20.375 9.31685 20.1214 9.31633 20.1211C9.05664 19.963 8.76367 19.8738 8.46343 19.8504V18.9295C8.71064 18.9521 8.95058 19.0274 9.16452 19.1572L9.52247 19.3749C9.91578 19.6138 10.3613 19.7483 10.8191 19.7727V20.0174ZM7.41116 19.7895L6.89802 19.4996C6.61883 19.342 6.30273 19.2572 5.98273 19.2517V18.3308C6.2523 18.3361 6.51875 18.408 6.75452 18.5409L7.39114 18.9006C7.39712 18.904 7.40466 18.9033 7.41116 18.9056V19.7895ZM4.71025 19.1871L4.06219 18.8423V17.96L4.70791 18.3035C4.70869 18.3038 4.70973 18.3035 4.71025 18.3038V19.1871ZM3.48506 18.5354L3.24097 18.4057C2.58017 18.0543 2.05065 17.5307 1.68854 16.8942V16.0954C2.1029 16.6999 2.66336 17.2161 3.35353 17.583L3.48506 17.6528V18.5354ZM17.2554 14.4779C17.578 14.5267 17.8172 14.6943 17.8172 14.8951C17.8172 15.096 17.578 15.2635 17.2554 15.3126V14.4779ZM16.87 15.3126C16.5476 15.2635 16.3082 15.096 16.3082 14.8951C16.3082 14.6943 16.5476 14.5267 16.87 14.4779V15.3126ZM21.9102 7.99458C21.7992 7.91869 21.7326 7.79291 21.7326 7.65741V7.27903C21.7326 6.94029 21.4594 6.66457 21.1241 6.66457H20.8813C20.5912 6.66457 20.3239 6.81136 20.1662 7.0574L19.3816 8.28237C19.3039 8.40369 19.1721 8.4759 19.0296 8.4759H18.4993C18.2373 8.4759 17.9966 8.62059 17.871 8.85534C17.7413 9.09666 17.5149 9.26235 17.2555 9.31854V0.79968C17.2555 0.692019 17.1694 0.605103 17.0629 0.605103C16.9565 0.605103 16.87 0.692019 16.87 0.79968V1.06306V3.45733V9.31854C16.6105 9.26209 16.3844 9.09639 16.2549 8.85429C16.1304 8.62111 15.89 8.4759 15.6274 8.4759H15.2721C14.9905 8.4759 14.7342 8.64396 14.6201 8.90365L14.3243 9.5743C14.2775 9.68013 14.1727 9.74892 14.0576 9.74892C13.9421 9.74892 13.8376 9.68013 13.7911 9.57404L13.4955 8.90418C13.3812 8.64396 13.1251 8.4759 12.8436 8.4759H2.80895C2.72733 8.4759 2.66156 8.5426 2.66156 8.62479C2.66156 8.79914 2.52118 8.94042 2.3491 8.94042H1.91498C1.83361 8.94042 1.76759 9.00711 1.76759 9.0893V9.59846C1.76759 10.0766 1.67556 10.543 1.49308 10.9844L1.22897 11.6269C0.983054 12.223 0.867375 12.8401 0.868415 13.4459V14.9258C0.868415 15.3258 0.925604 15.7283 1.04076 16.1243C1.36284 17.2287 2.09512 18.1326 3.10374 18.669L4.70789 19.5219C4.72869 19.5332 4.75235 19.5392 4.77574 19.5395L5.96216 19.5484C6.23901 19.5503 6.513 19.6235 6.75449 19.7595L7.39111 20.119C7.41321 20.1314 7.43764 20.1379 7.46286 20.1379H8.31498C8.61418 20.1379 8.90819 20.2204 9.16398 20.3758C9.16398 20.3758 9.5812 20.6311 9.72131 20.7146C9.94643 20.8477 10.2202 20.9745 10.6938 20.9992C10.8014 21.0042 10.9077 20.9659 10.9883 20.8892C11.0679 20.8125 11.1139 20.7054 11.1139 20.5946V20.0174C11.1139 19.5994 11.3582 19.2205 11.7378 19.0521L13.0388 18.4747C13.2158 18.3967 13.415 18.3836 13.6 18.4398L14.0862 18.5866C14.2933 18.6485 14.5125 18.6491 14.7202 18.5874L15.8728 18.2415C16.0254 18.1958 16.1876 18.1961 16.3428 18.2436L16.8112 18.377C17.0291 18.4393 17.1817 18.643 17.1817 18.872V20.0255C17.1817 20.5631 17.6142 21 18.1461 21C18.5438 21 18.8916 20.7424 19.0117 20.3601C19.2293 19.6695 19.3392 18.9513 19.3392 18.226V17.7355C19.3392 17.3871 19.483 17.0499 19.7339 16.8107L20.2132 16.353C20.5363 16.0421 20.7219 15.6054 20.7219 15.1545V12.42C20.7219 11.9961 20.8483 11.5876 21.0874 11.2388C21.1046 11.2142 21.1142 11.1845 21.1142 11.1543V10.5096C21.1142 10.0887 21.2387 9.68301 21.475 9.33587L21.9492 8.63923C21.9663 8.61481 21.9754 8.5854 21.9754 8.55494V8.11799C21.9754 8.03501 21.9278 8.00639 21.9102 7.99458Z",fill:"#006747"}))),sR=r=>K.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},K.createElement("g",{id:"Group 483737"},K.createElement("g",{id:"Icon / Live"},K.createElement("path",{id:"circle-path",fillRule:"evenodd",clipRule:"evenodd",d:"M9 17C4.58172 17 1 13.4183 1 9C1 4.58172 4.58172 1 9 1C13.4183 1 17 4.58172 17 9C17 13.4183 13.4183 17 9 17Z",stroke:"#107D57"}),K.createElement("path",{id:"Combined Shape",fillRule:"evenodd",clipRule:"evenodd",d:"M10.6432 6.12891C10.9551 6.12891 11.2103 6.37162 11.2302 6.67846L11.2315 6.71714V7.55879L13.3334 6.46776C13.6362 6.31058 13.9959 6.51777 14.0195 6.85057L14.0207 6.88543V11.1406C14.0207 11.4763 13.6813 11.7002 13.3764 11.578L13.345 11.5641L11.2315 10.54V11.2818C11.2315 11.5937 10.9887 11.8489 10.6819 11.8688L10.6432 11.8701H5.11851C4.80663 11.8701 4.55144 11.6274 4.53152 11.3205L4.53027 11.2818V6.71714C4.53027 6.40526 4.77299 6.15007 5.07983 6.13016L5.11851 6.12891H10.6432ZM10.2897 7.07007H5.4709V10.9289H10.2897V7.07007ZM13.0792 7.65972L11.2396 8.61454V9.49831L13.0792 10.3896V7.65972Z",fill:"#107D57"})))),lR=r=>K.createElement("svg",{width:14,height:17,viewBox:"0 0 14 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},K.createElement("g",{id:"Icon / Games"},K.createElement("path",{id:"Icon / Games_2",d:"M6.27412 2.68557L6.27411 2.68557C5.62309 2.63368 5.0525 3.12172 5.00064 3.7713L5.00064 3.77134L4.14164 14.5465C4.14163 14.5465 4.14163 14.5465 4.14163 14.5465C4.08978 15.1963 4.57588 15.7681 5.22739 15.82C5.22741 15.82 5.22742 15.82 5.22744 15.82L11.3107 16.3052L11.3108 16.3052C11.9618 16.3571 12.5324 15.869 12.5842 15.2194L12.5842 15.2194L13.4432 4.4443C13.4951 3.79528 13.0091 3.22266 12.3575 3.17076C12.3575 3.17076 12.3574 3.17076 12.3574 3.17076L6.27412 2.68557ZM8.15378 7.95339C8.06822 8.08171 8.00584 8.22011 7.96597 8.36701L7.39679 8.32084C7.47153 7.93067 7.63452 7.64794 7.86868 7.44845C8.15963 7.20058 8.54037 7.08303 9.04377 7.12388C9.36277 7.14976 9.62596 7.23281 9.84206 7.36455L9.84205 7.36458L9.84603 7.36693C10.0639 7.49535 10.2189 7.65832 10.3213 7.85605C10.4234 8.05317 10.4683 8.27793 10.4483 8.53948C10.4345 8.71901 10.392 8.86521 10.3278 8.98465L10.3277 8.98461L10.3242 8.99151C10.2546 9.12905 10.1759 9.23612 10.0908 9.31799L10.0907 9.31793L10.0855 9.32326C9.98974 9.41994 9.85909 9.53313 9.69013 9.66317C9.48159 9.8217 9.31317 9.96772 9.19518 10.0999L9.19509 10.0998L9.18961 10.1063C9.10272 10.2092 9.04052 10.3244 9.00219 10.449L8.46556 10.4054C8.49427 10.3132 8.5356 10.2357 8.58714 10.17C8.70826 10.0178 8.8862 9.84033 9.1277 9.63726C9.33755 9.46764 9.50811 9.30895 9.63088 9.16198L9.39343 8.96362L9.63088 9.16198C9.77451 8.99005 9.86011 8.79 9.87715 8.56784C9.89609 8.32086 9.82923 8.08941 9.6571 7.90614C9.48861 7.71582 9.25493 7.62752 9.00193 7.60699L8.97691 7.91539L9.00193 7.60699C8.67115 7.58016 8.35479 7.66584 8.15766 7.94771L8.1576 7.94766L8.15378 7.95339ZM8.84046 11.5393L8.84024 11.5394L8.84882 11.5493C8.9033 11.6122 8.9274 11.681 8.92009 11.7763C8.91337 11.8639 8.88049 11.9307 8.81121 11.9916L8.81117 11.9915L8.8063 11.996C8.74838 12.0491 8.68489 12.0727 8.59225 12.0652C8.49804 12.0575 8.43752 12.0248 8.38914 11.9687C8.34013 11.9019 8.31721 11.826 8.32494 11.7253L8.01644 11.7016L8.32494 11.7253C8.33288 11.6218 8.36807 11.5555 8.42399 11.5042L8.2147 11.2763L8.42377 11.5044C8.48168 11.4513 8.54518 11.4277 8.63782 11.4352C8.73051 11.4427 8.79051 11.4764 8.84046 11.5393Z",stroke:"#107D57",strokeWidth:.618817}),K.createElement("path",{id:"Icon / Games_3",d:"M7.74941 0.00278796L1.66605 0.487981C1.18503 0.526267 0.82584 0.949506 0.864126 1.42843L1.72313 12.2036C1.76142 12.6832 2.18327 13.0438 2.66359 13.0055L3.18754 12.9637L3.97219 3.12062C4.0418 2.24421 4.81101 1.58916 5.68742 1.65878L8.7776 1.90524L8.68986 0.804714C8.65157 0.32509 8.22973 -0.0354984 7.74941 0.00278796Z",fill:"#107D57"}))),uR=r=>K.createElement("svg",{width:19,height:14,viewBox:"0 0 19 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},K.createElement("g",{id:"Icon / LeaderBoard"},K.createElement("path",{id:"Combined Shape",fillRule:"evenodd",clipRule:"evenodd",d:"M16.8236 2.46643C16.436 2.23624 16.1759 1.81093 16.1759 1.32432C16.1759 0.59292 16.7636 0 17.4885 0C18.2134 0 18.8011 0.59292 18.8011 1.32432C18.8011 1.81093 18.541 2.23624 18.1534 2.46643C18.5192 2.51678 18.8011 2.83327 18.8011 3.2162V10.7838C18.8011 11.2017 18.4653 11.5405 18.051 11.5405H16.926L16.9147 11.5404H10.9255V11.5406V13.2433C10.9255 13.6612 10.5897 14 10.1755 14H8.67539C8.26115 14 7.92534 13.6612 7.92534 13.2433V11.5406V11.5404H1.93622L1.92493 11.5405H0.799856C0.385614 11.5405 0.0498047 11.2017 0.0498047 10.7838V3.2162C0.0498047 2.83328 0.331692 2.51678 0.697521 2.46643C0.309923 2.23624 0.0498047 1.81093 0.0498047 1.32432C0.0498047 0.59292 0.637471 0 1.36239 0C2.08732 0 2.67498 0.59292 2.67498 1.32432C2.67498 1.81093 2.41487 2.23624 2.02727 2.46643C2.16328 2.48515 2.28769 2.54066 2.39032 2.62269C4.78264 1.62379 7.12768 1.12793 9.42545 1.13511C11.7225 1.14228 14.0669 1.63872 16.4584 2.62442C16.5615 2.54144 16.6867 2.48528 16.8236 2.46643ZM1.92494 10.7837L1.92493 3.21617H0.799862V10.7837H1.92494ZM16.1759 3.32547C13.8707 2.37522 11.6209 1.89875 9.42314 1.89189C7.2272 1.88503 4.97905 2.36051 2.675 3.32285V10.7837H16.1759V3.32547ZM17.4885 1.89189C17.7992 1.89189 18.0511 1.63779 18.0511 1.32433C18.0511 1.01087 17.7992 0.75676 17.4885 0.75676C17.1778 0.75676 16.926 1.01087 16.926 1.32433C16.926 1.63779 17.1778 1.89189 17.4885 1.89189ZM16.926 3.21617V10.7837H18.0511V3.21617H16.926ZM8.67538 13.2432V11.5405H10.1755V13.2432H8.67538ZM1.3624 1.89189C1.67308 1.89189 1.92494 1.63779 1.92494 1.32433C1.92494 1.01087 1.67308 0.75676 1.3624 0.75676C1.05172 0.75676 0.799862 1.01087 0.799862 1.32433C0.799862 1.63779 1.05172 1.89189 1.3624 1.89189Z",fill:"#107D57"}))),cR=r=>K.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},K.createElement("g",{id:"check"},K.createElement("path",{id:"Vector",d:"M3.59985 10.8L7.59985 14.8L16.3999 5.20001",stroke:"white",strokeWidth:1.2,strokeLinecap:"round",strokeLinejoin:"round"}))),dR=r=>K.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},K.createElement("g",{id:"cross"},K.createElement("path",{id:"Vector",d:"M5.19995 14.8L14.8 5.20001M5.19995 5.20001L14.8 14.8",stroke:"white",strokeWidth:1.2,strokeLinecap:"round",strokeLinejoin:"round"}))),fR=r=>K.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},K.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16 2.46154C8.52291 2.46154 2.46154 8.52291 2.46154 16C2.46154 23.4771 8.52291 29.5385 16 29.5385C23.4771 29.5385 29.5385 23.4771 29.5385 16C29.5385 8.52291 23.4771 2.46154 16 2.46154ZM0 16C0 7.16344 7.16344 0 16 0C24.8366 0 32 7.16344 32 16C32 24.8366 24.8366 32 16 32C7.16344 32 0 24.8366 0 16Z",fill:"#FFB600"}),K.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16 8.20513C16.6797 8.20513 17.2308 8.75616 17.2308 9.4359V17.641C17.2308 18.3208 16.6797 18.8718 16 18.8718C15.3203 18.8718 14.7692 18.3208 14.7692 17.641V9.4359C14.7692 8.75616 15.3203 8.20513 16 8.20513Z",fill:"#FFB600"}),K.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.7692 22.5641C14.7692 21.8844 15.3203 21.3333 16 21.3333H16.0164C16.6961 21.3333 17.2472 21.8844 17.2472 22.5641C17.2472 23.2438 16.6961 23.7949 16.0164 23.7949H16C15.3203 23.7949 14.7692 23.2438 14.7692 22.5641Z",fill:"#FFB600"})),pR=r=>K.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},K.createElement("g",{id:"Icon/Insight"},K.createElement("path",{id:"Fill-1",fillRule:"evenodd",clipRule:"evenodd",d:"M9.3336 9.33644C8.59749 10.0725 7.40264 10.0725 6.66652 9.33644C5.93041 8.60039 5.93041 7.40565 6.66652 6.6696C7.40264 5.93355 8.59749 5.93355 9.3336 6.6696C10.0697 7.40565 10.0697 8.60039 9.3336 9.33644Z",fill:"#107D57"}),K.createElement("path",{id:"Fill-3",fillRule:"evenodd",clipRule:"evenodd",d:"M12.3345 12.3306C11.7818 12.8833 10.8863 12.8827 10.3342 12.3306C9.78211 11.7786 9.78145 10.8832 10.3342 10.3305C10.8869 9.77781 11.7824 9.77847 12.3345 10.3305C12.8866 10.8825 12.8873 11.7779 12.3345 12.3306Z",fill:"#107D57"}),K.createElement("path",{id:"Fill-5",fillRule:"evenodd",clipRule:"evenodd",d:"M5.66586 5.66365C5.11311 6.21635 4.21831 6.21635 3.66556 5.66365C3.11281 5.11094 3.11281 4.21622 3.66556 3.66352C4.21831 3.11081 5.11311 3.11081 5.66586 3.66352C6.21861 4.21622 6.21861 5.11094 5.66586 5.66365Z",fill:"#107D57"}),K.createElement("path",{id:"Fill-7",fillRule:"evenodd",clipRule:"evenodd",d:"M12.3345 5.66365C11.7818 6.21635 10.8869 6.21635 10.3342 5.66365C9.78145 5.11094 9.78145 4.21622 10.3342 3.66352C10.8869 3.11081 11.7818 3.11081 12.3345 3.66352C12.8873 4.21622 12.8873 5.11094 12.3345 5.66365Z",fill:"#107D57"}),K.createElement("path",{id:"Fill-9",fillRule:"evenodd",clipRule:"evenodd",d:"M5.66586 12.3306C5.11378 12.8827 4.21831 12.8833 3.66556 12.3306C3.11281 11.7779 3.11347 10.8825 3.66556 10.3305C4.21764 9.77847 5.11311 9.77781 5.66586 10.3305C6.21861 10.8832 6.21795 11.7786 5.66586 12.3306Z",fill:"#107D57"}),K.createElement("path",{id:"Fill-11",opacity:.5,fillRule:"evenodd",clipRule:"evenodd",d:"M8.66683 1.99964C8.29877 2.36766 7.70135 2.36766 7.33329 1.99964C6.96524 1.63162 6.96524 1.03425 7.33329 0.666221C7.70135 0.298198 8.29877 0.298198 8.66683 0.666221C9.03489 1.03425 9.03489 1.63162 8.66683 1.99964Z",fill:"#107D57"}),K.createElement("path",{id:"Fill-13",opacity:.5,fillRule:"evenodd",clipRule:"evenodd",d:"M15.3332 8.66676C14.9652 9.03478 14.3684 9.03545 13.9997 8.66675C13.631 8.29806 13.6316 7.70136 13.9997 7.33334C14.3677 6.96531 14.9645 6.96464 15.3332 7.33334C15.7019 7.70203 15.7013 8.29873 15.3332 8.66676Z",fill:"#107D57"}),K.createElement("path",{id:"Fill-15",opacity:.5,fillRule:"evenodd",clipRule:"evenodd",d:"M8.66683 15.3339C8.29811 15.7026 7.70202 15.7026 7.33329 15.3339C6.96457 14.9652 6.96457 14.3691 7.33329 14.0004C7.70202 13.6318 8.29811 13.6318 8.66683 14.0005C9.03555 14.3691 9.03555 14.9652 8.66683 15.3339Z",fill:"#107D57"}),K.createElement("path",{id:"Fill-17",opacity:.5,fillRule:"evenodd",clipRule:"evenodd",d:"M2.00033 8.66676C1.6316 9.03545 1.03484 9.03478 0.666788 8.66676C0.298732 8.29873 0.298065 7.70203 0.666788 7.33334C1.03551 6.96465 1.63227 6.96531 2.00033 7.33334C2.36838 7.70136 2.36905 8.29806 2.00033 8.66676Z",fill:"#107D57"}))),mR=r=>K.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},K.createElement("g",{id:"Poll"},K.createElement("path",{id:"Notification/Icon/Poll",fillRule:"evenodd",clipRule:"evenodd",d:"M9.7778 1.68421V5.05263H13.3333C13.8243 5.05263 14.2222 4.67561 14.2222 4.21053V2.52632C14.2222 2.06123 13.8243 1.68421 13.3333 1.68421H9.7778ZM2.66667 0C1.19391 0 0 1.13107 0 2.52632V4.21053C0 5.60577 1.19391 6.73684 2.66667 6.73684H13.3333C14.8061 6.73684 16 5.60577 16 4.21053V2.52632C16 1.13107 14.8061 0 13.3333 0H2.66667ZM4.44446 10.9473H13.3333C13.8243 10.9473 14.2222 11.3243 14.2222 11.7894V13.4736C14.2222 13.9387 13.8243 14.3157 13.3333 14.3157H4.44446V10.9473ZM0 11.7894C0 10.3942 1.19391 9.2631 2.66667 9.2631H13.3333C14.8061 9.2631 16 10.3942 16 11.7894V13.4736C16 14.8689 14.8061 15.9999 13.3333 15.9999H2.66667C1.19391 15.9999 0 14.8689 0 13.4736V11.7894Z",fill:"white",fillOpacity:.5}))),hR=r=>K.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},K.createElement("g",{id:"Icon/Notification/Prediciton"},K.createElement("path",{id:"Icon/Prediction",fillRule:"evenodd",clipRule:"evenodd",d:"M16 7.00522C16 7.00522 9.20048 6.81607 9.20048 0C9.20048 6.36168 3.27729 6.95056 2.48756 7.00078L2.40094 7.00522C2.40094 7.00522 9.20048 7.19435 9.20048 14.0104C9.20048 7.64877 15.1234 7.05989 15.9131 7.00964L16 7.00522ZM6.97382 12.5652C6.97382 12.5652 3.48691 12.4724 3.48691 9.13033C3.48691 12.2496 0.449402 12.5384 0.0444186 12.563L0 12.5652C0 12.5652 3.48691 12.6579 3.48691 16C3.48691 12.8807 6.52429 12.592 6.92927 12.5673L6.97382 12.5652Z",fill:"white",fillOpacity:.5}))),gR=r=>K.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},K.createElement("g",{id:"Icon/Notification/Trivia"},K.createElement("path",{id:"Notification/Icon/Trivia",fillRule:"evenodd",clipRule:"evenodd",d:"M2.01663 1.3808C0.739913 1.55586 -0.153153 2.73276 0.021912 4.00948L1.3808 13.9196C1.55586 15.1963 2.73276 16.0894 4.00948 15.9143L13.9196 14.5554C15.1963 14.3803 16.0894 13.2034 15.9143 11.9267L14.5554 2.01663C14.3803 0.739913 13.2034 -0.153153 11.9267 0.021912L2.01663 1.3808ZM9.59613 3.788C9.11431 3.46991 8.47813 3.30151 7.7566 3.30151C7.54377 3.30151 7.32625 3.31671 7.10872 3.34478C6.38836 3.44067 5.68901 3.79034 5.18965 4.30138C4.68445 4.82062 4.4377 5.45563 4.51722 6.04151C4.57452 6.4742 4.90078 6.7537 5.34635 6.7537C5.39429 6.7537 5.44341 6.7502 5.49136 6.74435C6.08778 6.66483 6.21642 6.25436 6.34036 5.85675L6.34045 5.85648C6.48192 5.40401 6.61534 4.97731 7.38585 4.87444C7.46537 4.86391 7.54138 4.85806 7.61506 4.85806C8.16939 4.85806 8.51436 5.15042 8.58454 5.68252C8.65353 6.20293 8.24307 6.61807 7.80684 7.0566L7.80393 7.05954C7.31582 7.55231 6.7639 8.1095 6.86895 8.90083C6.89585 9.10548 6.9859 9.29493 7.12272 9.43644C7.27826 9.599 7.4829 9.68436 7.71331 9.68436C7.75541 9.68436 7.79868 9.68203 7.84311 9.67618C8.46691 9.59324 8.55162 9.23139 8.63338 8.8821L8.63365 8.88097L8.63661 8.86859C8.66723 8.7403 8.69877 8.60813 8.75995 8.48804C8.84649 8.31613 9.06283 8.11265 9.31428 7.87875C9.9142 7.31858 10.734 6.55143 10.582 5.41589C10.4872 4.70603 10.1551 4.15757 9.59611 3.78802L9.59613 3.788ZM8.11605 10.28C8.06927 10.28 8.02132 10.2836 7.97454 10.2894C7.38396 10.3689 6.96765 10.9127 7.04599 11.5033C7.11733 12.0377 7.57808 12.4412 8.1172 12.4412C8.16397 12.4412 8.21192 12.4377 8.25987 12.4318C8.85045 12.3523 9.2656 11.8085 9.18842 11.2179C9.11591 10.6823 8.65517 10.28 8.11605 10.28Z",fill:"white",fillOpacity:.5}))),yR=r=>K.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},K.createElement("path",{id:"Selected",fillRule:"evenodd",clipRule:"evenodd",d:"M16 8C16 12.4183 12.4183 16 8 16C3.58172 16 0 12.4183 0 8C0 3.58172 3.58172 0 8 0C12.4183 0 16 3.58172 16 8ZM11.6057 5.43441C11.2933 5.12199 10.7868 5.12199 10.4744 5.43441L6.93812 9.97066L5.08382 8.73446C4.7162 8.48938 4.2195 8.58871 3.97442 8.95634C3.72934 9.32396 3.82868 9.82065 4.1963 10.0657L6.5963 11.6657C6.9136 11.8773 7.33609 11.8354 7.60574 11.5658L11.6057 6.56578C11.9182 6.25336 11.9182 5.74683 11.6057 5.43441Z",fill:"#107D57"})),vR=r=>K.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},K.createElement("g",{id:"Frame 3469523"},K.createElement("rect",{x:.5,y:.5,width:17,height:17,rx:8.5,fill:"black"}),K.createElement("rect",{x:.5,y:.5,width:17,height:17,rx:8.5,stroke:"#F2F2F1"}),K.createElement("g",{id:"layer1"},K.createElement("path",{id:"path1009",d:"M5.10046 5L8.32856 9.3097L5.08008 12.8137H5.81118L8.65522 9.74589L10.9531 12.8137H13.4411L10.0314 8.26155L13.055 5H12.3239L9.70471 7.82536L7.58843 5H5.10046ZM6.1756 5.53771H7.31858L12.3658 12.2759H11.2228L6.1756 5.53771Z",fill:"white"})))),db={"invite-game-icon":oR,"icon-trophy":eR,"icon-trophy-green":XL,"icon-trivia":gR,"icon-thumb-down":ZL,"icon-thumb-up":JL,"icon-star":KL,"icon-prediction":hR,"icon-insight":pR,"icon-poll":mR,"icon-play":WL,"icon-masters-logo":qL,"icon-logout":$L,"icon-link":HL,"icon-external-link":VL,"icon-invite-arrow":GL,"icon-friends":QL,"icon-exit":FL,"icon-default-user-avatar":BL,"icon-copy":zL,"icon-cross":_L,"icon-close":jL,"icon-close-btn-white":UL,"icon-close-btn-gray":PL,"icon-circle-arrow-right":DL,"icon-chevron":RL,"icon-chevron-white-left":LL,"icon-chevron-left":xL,"icon-check":ML,"icon-check-white":OL,"icon-check-green":AL,"icon-check-circle":CL,"icon-btn-channels":sR,"icon-btn-feature-groups":lR,"icon-btn-leaderboard":uR,"icon-arrow":NL,"icon-facebook":YL,"icon-twitter":nR,"icon-twitter-verified":tR,correct:cR,incorrect:dR,questionExpired:fR,selected:yR,circleClose:IL,incorrectVoted:aR,mastersLogo:iR,twitter:vR,iconUp:rR},hr=({name:r,style:o,className:s,...m})=>{if(!db[r])return F.jsx("span",{children:r});const p=db[r];return F.jsx(p,{style:o,className:s,...m})},TR=de("button")({name:"SButton",class:"sxxa0c",propsAsIs:!1}),kR=de("span")({name:"ButtonIcon",class:"b193dcyu",propsAsIs:!1}),bR=de("span")({name:"ButtonLabel",class:"b40tuix",propsAsIs:!1}),YT=({disabled:r,active:o,onClick:s,label:m,icon:p})=>F.jsx(TR,{onClick:s,disabled:r,"data-selected":o,children:F.jsxs(F.Fragment,{children:[p&&F.jsx(kR,{children:p}),F.jsx(bR,{children:m})]})}),wR=()=>hr,SR=de(wR())({name:"ButtonIcon",class:"b1whzxvd",propsAsIs:!0}),Zf="channels",ER=r=>{var o;return F.jsx(YT,{...r,id:"channels",label:"Channels",icon:F.jsx(SR,{name:"icon-btn-channels","data-selected":(o=r.active)==null?void 0:o.toString()})})},NR=()=>hr,MR=de(NR())({name:"ButtonIcon",class:"b11des7c",propsAsIs:!0}),Sc="featuredGroups",IR=r=>{var o;return F.jsx(YT,{...r,label:"FG+",id:"featuredGroups",icon:F.jsx(MR,{name:"icon-btn-feature-groups","data-selected":(o=r.active)==null?void 0:o.toString()})})},_R=()=>hr,CR=de(_R())({name:"ButtonIcon",class:"b180jd7l",propsAsIs:!0}),fT="leaderboard",AR=r=>{var o;return F.jsx(YT,{...r,label:"Leader Board",id:"leaderboard",icon:F.jsx(CR,{name:"icon-btn-leaderboard","data-selected":(o=r.active)==null?void 0:o.toString()})})},OR=de("div")({name:"Buttons",class:"b6tbwuy",propsAsIs:!1}),xR=({children:r,className:o})=>F.jsx(OR,{className:o,children:r}),LR=()=>xR,RR=de(LR())({name:"Navigation",class:"n19lpak2",propsAsIs:!0}),DR=({activeOverlay:r,setActiveOverlay:o,sdkReady:s,className:m})=>F.jsxs(RR,{className:m,children:[F.jsx(ER,{active:r===Zf,onClick:()=>o(Zf)}),F.jsx(IR,{active:r===Sc,disabled:!s,onClick:()=>{o(Sc)}}),F.jsx(AR,{active:r===fT,onClick:()=>o(fT)})]});var xc={},D7={},Dy={};Dy.byteLength=jR;Dy.toByteArray=BR;Dy.fromByteArray=YR;var Gi=[],bo=[],PR=typeof Uint8Array<"u"?Uint8Array:Array,I4="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(var Uf=0,UR=I4.length;Uf<UR;++Uf)Gi[Uf]=I4[Uf],bo[I4.charCodeAt(Uf)]=Uf;bo["-".charCodeAt(0)]=62;bo["_".charCodeAt(0)]=63;function P7(r){var o=r.length;if(o%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var s=r.indexOf("=");s===-1&&(s=o);var m=s===o?0:4-s%4;return[s,m]}function jR(r){var o=P7(r),s=o[0],m=o[1];return(s+m)*3/4-m}function zR(r,o,s){return(o+s)*3/4-s}function BR(r){var o,s=P7(r),m=s[0],p=s[1],v=new PR(zR(r,m,p)),g=0,T=p>0?m-4:m,I;for(I=0;I<T;I+=4)o=bo[r.charCodeAt(I)]<<18|bo[r.charCodeAt(I+1)]<<12|bo[r.charCodeAt(I+2)]<<6|bo[r.charCodeAt(I+3)],v[g++]=o>>16&255,v[g++]=o>>8&255,v[g++]=o&255;return p===2&&(o=bo[r.charCodeAt(I)]<<2|bo[r.charCodeAt(I+1)]>>4,v[g++]=o&255),p===1&&(o=bo[r.charCodeAt(I)]<<10|bo[r.charCodeAt(I+1)]<<4|bo[r.charCodeAt(I+2)]>>2,v[g++]=o>>8&255,v[g++]=o&255),v}function FR(r){return Gi[r>>18&63]+Gi[r>>12&63]+Gi[r>>6&63]+Gi[r&63]}function VR(r,o,s){for(var m,p=[],v=o;v<s;v+=3)m=(r[v]<<16&16711680)+(r[v+1]<<8&65280)+(r[v+2]&255),p.push(FR(m));return p.join("")}function YR(r){for(var o,s=r.length,m=s%3,p=[],v=16383,g=0,T=s-m;g<T;g+=v)p.push(VR(r,g,g+v>T?T:g+v));return m===1?(o=r[s-1],p.push(Gi[o>>2]+Gi[o<<4&63]+"==")):m===2&&(o=(r[s-2]<<8)+r[s-1],p.push(Gi[o>>10]+Gi[o>>4&63]+Gi[o<<2&63]+"=")),p.join("")}var QT={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */QT.read=function(r,o,s,m,p){var v,g,T=p*8-m-1,I=(1<<T)-1,C=I>>1,D=-7,R=s?p-1:0,x=s?-1:1,j=r[o+R];for(R+=x,v=j&(1<<-D)-1,j>>=-D,D+=T;D>0;v=v*256+r[o+R],R+=x,D-=8);for(g=v&(1<<-D)-1,v>>=-D,D+=m;D>0;g=g*256+r[o+R],R+=x,D-=8);if(v===0)v=1-C;else{if(v===I)return g?NaN:(j?-1:1)*(1/0);g=g+Math.pow(2,m),v=v-C}return(j?-1:1)*g*Math.pow(2,v-m)};QT.write=function(r,o,s,m,p,v){var g,T,I,C=v*8-p-1,D=(1<<C)-1,R=D>>1,x=p===23?Math.pow(2,-24)-Math.pow(2,-77):0,j=m?0:v-1,Q=m?1:-1,W=o<0||o===0&&1/o<0?1:0;for(o=Math.abs(o),isNaN(o)||o===1/0?(T=isNaN(o)?1:0,g=D):(g=Math.floor(Math.log(o)/Math.LN2),o*(I=Math.pow(2,-g))<1&&(g--,I*=2),g+R>=1?o+=x/I:o+=x*Math.pow(2,1-R),o*I>=2&&(g++,I/=2),g+R>=D?(T=0,g=D):g+R>=1?(T=(o*I-1)*Math.pow(2,p),g=g+R):(T=o*Math.pow(2,R-1)*Math.pow(2,p),g=0));p>=8;r[s+j]=T&255,j+=Q,T/=256,p-=8);for(g=g<<p|T,C+=p;C>0;r[s+j]=g&255,j+=Q,g/=256,C-=8);r[s+j-Q]|=W*128};/*!
9
+ */(function(r){const o=Ay,s=RT,m=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;r.Buffer=T,r.SlowBuffer=se,r.INSPECT_MAX_BYTES=50;const p=2147483647;r.kMaxLength=p,T.TYPED_ARRAY_SUPPORT=v(),!T.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function v(){try{const l=new Uint8Array(1),c={foo:function(){return 42}};return Object.setPrototypeOf(c,Uint8Array.prototype),Object.setPrototypeOf(l,c),l.foo()===42}catch{return!1}}Object.defineProperty(T.prototype,"parent",{enumerable:!0,get:function(){if(T.isBuffer(this))return this.buffer}}),Object.defineProperty(T.prototype,"offset",{enumerable:!0,get:function(){if(T.isBuffer(this))return this.byteOffset}});function g(l){if(l>p)throw new RangeError('The value "'+l+'" is invalid for option "size"');const c=new Uint8Array(l);return Object.setPrototypeOf(c,T.prototype),c}function T(l,c,f){if(typeof l=="number"){if(typeof c=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return R(l)}return I(l,c,f)}T.poolSize=8192;function I(l,c,f){if(typeof l=="string")return x(l,c);if(ArrayBuffer.isView(l))return Q(l);if(l==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof l);if(Nt(l,ArrayBuffer)||l&&Nt(l.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Nt(l,SharedArrayBuffer)||l&&Nt(l.buffer,SharedArrayBuffer)))return W(l,c,f);if(typeof l=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const b=l.valueOf&&l.valueOf();if(b!=null&&b!==l)return T.from(b,c,f);const M=le(l);if(M)return M;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof l[Symbol.toPrimitive]=="function")return T.from(l[Symbol.toPrimitive]("string"),c,f);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof l)}T.from=function(l,c,f){return I(l,c,f)},Object.setPrototypeOf(T.prototype,Uint8Array.prototype),Object.setPrototypeOf(T,Uint8Array);function C(l){if(typeof l!="number")throw new TypeError('"size" argument must be of type number');if(l<0)throw new RangeError('The value "'+l+'" is invalid for option "size"')}function D(l,c,f){return C(l),l<=0?g(l):c!==void 0?typeof f=="string"?g(l).fill(c,f):g(l).fill(c):g(l)}T.alloc=function(l,c,f){return D(l,c,f)};function R(l){return C(l),g(l<0?0:G(l)|0)}T.allocUnsafe=function(l){return R(l)},T.allocUnsafeSlow=function(l){return R(l)};function x(l,c){if((typeof c!="string"||c==="")&&(c="utf8"),!T.isEncoding(c))throw new TypeError("Unknown encoding: "+c);const f=te(l,c)|0;let b=g(f);const M=b.write(l,c);return M!==f&&(b=b.slice(0,M)),b}function j(l){const c=l.length<0?0:G(l.length)|0,f=g(c);for(let b=0;b<c;b+=1)f[b]=l[b]&255;return f}function Q(l){if(Nt(l,Uint8Array)){const c=new Uint8Array(l);return W(c.buffer,c.byteOffset,c.byteLength)}return j(l)}function W(l,c,f){if(c<0||l.byteLength<c)throw new RangeError('"offset" is outside of buffer bounds');if(l.byteLength<c+(f||0))throw new RangeError('"length" is outside of buffer bounds');let b;return c===void 0&&f===void 0?b=new Uint8Array(l):f===void 0?b=new Uint8Array(l,c):b=new Uint8Array(l,c,f),Object.setPrototypeOf(b,T.prototype),b}function le(l){if(T.isBuffer(l)){const c=G(l.length)|0,f=g(c);return f.length===0||l.copy(f,0,0,c),f}if(l.length!==void 0)return typeof l.length!="number"||_n(l.length)?g(0):j(l);if(l.type==="Buffer"&&Array.isArray(l.data))return j(l.data)}function G(l){if(l>=p)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+p.toString(16)+" bytes");return l|0}function se(l){return+l!=l&&(l=0),T.alloc(+l)}T.isBuffer=function(c){return c!=null&&c._isBuffer===!0&&c!==T.prototype},T.compare=function(c,f){if(Nt(c,Uint8Array)&&(c=T.from(c,c.offset,c.byteLength)),Nt(f,Uint8Array)&&(f=T.from(f,f.offset,f.byteLength)),!T.isBuffer(c)||!T.isBuffer(f))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(c===f)return 0;let b=c.length,M=f.length;for(let O=0,U=Math.min(b,M);O<U;++O)if(c[O]!==f[O]){b=c[O],M=f[O];break}return b<M?-1:M<b?1:0},T.isEncoding=function(c){switch(String(c).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},T.concat=function(c,f){if(!Array.isArray(c))throw new TypeError('"list" argument must be an Array of Buffers');if(c.length===0)return T.alloc(0);let b;if(f===void 0)for(f=0,b=0;b<c.length;++b)f+=c[b].length;const M=T.allocUnsafe(f);let O=0;for(b=0;b<c.length;++b){let U=c[b];if(Nt(U,Uint8Array))O+U.length>M.length?(T.isBuffer(U)||(U=T.from(U)),U.copy(M,O)):Uint8Array.prototype.set.call(M,U,O);else if(T.isBuffer(U))U.copy(M,O);else throw new TypeError('"list" argument must be an Array of Buffers');O+=U.length}return M};function te(l,c){if(T.isBuffer(l))return l.length;if(ArrayBuffer.isView(l)||Nt(l,ArrayBuffer))return l.byteLength;if(typeof l!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof l);const f=l.length,b=arguments.length>2&&arguments[2]===!0;if(!b&&f===0)return 0;let M=!1;for(;;)switch(c){case"ascii":case"latin1":case"binary":return f;case"utf8":case"utf-8":return nn(l).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return f*2;case"hex":return f>>>1;case"base64":return Hn(l).length;default:if(M)return b?-1:nn(l).length;c=(""+c).toLowerCase(),M=!0}}T.byteLength=te;function ue(l,c,f){let b=!1;if((c===void 0||c<0)&&(c=0),c>this.length||((f===void 0||f>this.length)&&(f=this.length),f<=0)||(f>>>=0,c>>>=0,f<=c))return"";for(l||(l="utf8");;)switch(l){case"hex":return ze(this,c,f);case"utf8":case"utf-8":return at(this,c,f);case"ascii":return wn(this,c,f);case"latin1":case"binary":return _e(this,c,f);case"base64":return $e(this,c,f);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return xe(this,c,f);default:if(b)throw new TypeError("Unknown encoding: "+l);l=(l+"").toLowerCase(),b=!0}}T.prototype._isBuffer=!0;function Z(l,c,f){const b=l[c];l[c]=l[f],l[f]=b}T.prototype.swap16=function(){const c=this.length;if(c%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let f=0;f<c;f+=2)Z(this,f,f+1);return this},T.prototype.swap32=function(){const c=this.length;if(c%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let f=0;f<c;f+=4)Z(this,f,f+3),Z(this,f+1,f+2);return this},T.prototype.swap64=function(){const c=this.length;if(c%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let f=0;f<c;f+=8)Z(this,f,f+7),Z(this,f+1,f+6),Z(this,f+2,f+5),Z(this,f+3,f+4);return this},T.prototype.toString=function(){const c=this.length;return c===0?"":arguments.length===0?at(this,0,c):ue.apply(this,arguments)},T.prototype.toLocaleString=T.prototype.toString,T.prototype.equals=function(c){if(!T.isBuffer(c))throw new TypeError("Argument must be a Buffer");return this===c?!0:T.compare(this,c)===0},T.prototype.inspect=function(){let c="";const f=r.INSPECT_MAX_BYTES;return c=this.toString("hex",0,f).replace(/(.{2})/g,"$1 ").trim(),this.length>f&&(c+=" ... "),"<Buffer "+c+">"},m&&(T.prototype[m]=T.prototype.inspect),T.prototype.compare=function(c,f,b,M,O){if(Nt(c,Uint8Array)&&(c=T.from(c,c.offset,c.byteLength)),!T.isBuffer(c))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof c);if(f===void 0&&(f=0),b===void 0&&(b=c?c.length:0),M===void 0&&(M=0),O===void 0&&(O=this.length),f<0||b>c.length||M<0||O>this.length)throw new RangeError("out of range index");if(M>=O&&f>=b)return 0;if(M>=O)return-1;if(f>=b)return 1;if(f>>>=0,b>>>=0,M>>>=0,O>>>=0,this===c)return 0;let U=O-M,Te=b-f;const Pe=Math.min(U,Te),Ie=this.slice(M,O),Ae=c.slice(f,b);for(let Ce=0;Ce<Pe;++Ce)if(Ie[Ce]!==Ae[Ce]){U=Ie[Ce],Te=Ae[Ce];break}return U<Te?-1:Te<U?1:0};function ye(l,c,f,b,M){if(l.length===0)return-1;if(typeof f=="string"?(b=f,f=0):f>2147483647?f=2147483647:f<-2147483648&&(f=-2147483648),f=+f,_n(f)&&(f=M?0:l.length-1),f<0&&(f=l.length+f),f>=l.length){if(M)return-1;f=l.length-1}else if(f<0)if(M)f=0;else return-1;if(typeof c=="string"&&(c=T.from(c,b)),T.isBuffer(c))return c.length===0?-1:fe(l,c,f,b,M);if(typeof c=="number")return c=c&255,typeof Uint8Array.prototype.indexOf=="function"?M?Uint8Array.prototype.indexOf.call(l,c,f):Uint8Array.prototype.lastIndexOf.call(l,c,f):fe(l,[c],f,b,M);throw new TypeError("val must be string, number or Buffer")}function fe(l,c,f,b,M){let O=1,U=l.length,Te=c.length;if(b!==void 0&&(b=String(b).toLowerCase(),b==="ucs2"||b==="ucs-2"||b==="utf16le"||b==="utf-16le")){if(l.length<2||c.length<2)return-1;O=2,U/=2,Te/=2,f/=2}function Pe(Ae,Ce){return O===1?Ae[Ce]:Ae.readUInt16BE(Ce*O)}let Ie;if(M){let Ae=-1;for(Ie=f;Ie<U;Ie++)if(Pe(l,Ie)===Pe(c,Ae===-1?0:Ie-Ae)){if(Ae===-1&&(Ae=Ie),Ie-Ae+1===Te)return Ae*O}else Ae!==-1&&(Ie-=Ie-Ae),Ae=-1}else for(f+Te>U&&(f=U-Te),Ie=f;Ie>=0;Ie--){let Ae=!0;for(let Ce=0;Ce<Te;Ce++)if(Pe(l,Ie+Ce)!==Pe(c,Ce)){Ae=!1;break}if(Ae)return Ie}return-1}T.prototype.includes=function(c,f,b){return this.indexOf(c,f,b)!==-1},T.prototype.indexOf=function(c,f,b){return ye(this,c,f,b,!0)},T.prototype.lastIndexOf=function(c,f,b){return ye(this,c,f,b,!1)};function De(l,c,f,b){f=Number(f)||0;const M=l.length-f;b?(b=Number(b),b>M&&(b=M)):b=M;const O=c.length;b>O/2&&(b=O/2);let U;for(U=0;U<b;++U){const Te=parseInt(c.substr(U*2,2),16);if(_n(Te))return U;l[f+U]=Te}return U}function He(l,c,f,b){return an(nn(c,l.length-f),l,f,b)}function ht(l,c,f,b){return an(tr(c),l,f,b)}function ct(l,c,f,b){return an(Hn(c),l,f,b)}function yt(l,c,f,b){return an(ve(c,l.length-f),l,f,b)}T.prototype.write=function(c,f,b,M){if(f===void 0)M="utf8",b=this.length,f=0;else if(b===void 0&&typeof f=="string")M=f,b=this.length,f=0;else if(isFinite(f))f=f>>>0,isFinite(b)?(b=b>>>0,M===void 0&&(M="utf8")):(M=b,b=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const O=this.length-f;if((b===void 0||b>O)&&(b=O),c.length>0&&(b<0||f<0)||f>this.length)throw new RangeError("Attempt to write outside buffer bounds");M||(M="utf8");let U=!1;for(;;)switch(M){case"hex":return De(this,c,f,b);case"utf8":case"utf-8":return He(this,c,f,b);case"ascii":case"latin1":case"binary":return ht(this,c,f,b);case"base64":return ct(this,c,f,b);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return yt(this,c,f,b);default:if(U)throw new TypeError("Unknown encoding: "+M);M=(""+M).toLowerCase(),U=!0}},T.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function $e(l,c,f){return c===0&&f===l.length?o.fromByteArray(l):o.fromByteArray(l.slice(c,f))}function at(l,c,f){f=Math.min(l.length,f);const b=[];let M=c;for(;M<f;){const O=l[M];let U=null,Te=O>239?4:O>223?3:O>191?2:1;if(M+Te<=f){let Pe,Ie,Ae,Ce;switch(Te){case 1:O<128&&(U=O);break;case 2:Pe=l[M+1],(Pe&192)===128&&(Ce=(O&31)<<6|Pe&63,Ce>127&&(U=Ce));break;case 3:Pe=l[M+1],Ie=l[M+2],(Pe&192)===128&&(Ie&192)===128&&(Ce=(O&15)<<12|(Pe&63)<<6|Ie&63,Ce>2047&&(Ce<55296||Ce>57343)&&(U=Ce));break;case 4:Pe=l[M+1],Ie=l[M+2],Ae=l[M+3],(Pe&192)===128&&(Ie&192)===128&&(Ae&192)===128&&(Ce=(O&15)<<18|(Pe&63)<<12|(Ie&63)<<6|Ae&63,Ce>65535&&Ce<1114112&&(U=Ce))}}U===null?(U=65533,Te=1):U>65535&&(U-=65536,b.push(U>>>10&1023|55296),U=56320|U&1023),b.push(U),M+=Te}return Dt(b)}const It=4096;function Dt(l){const c=l.length;if(c<=It)return String.fromCharCode.apply(String,l);let f="",b=0;for(;b<c;)f+=String.fromCharCode.apply(String,l.slice(b,b+=It));return f}function wn(l,c,f){let b="";f=Math.min(l.length,f);for(let M=c;M<f;++M)b+=String.fromCharCode(l[M]&127);return b}function _e(l,c,f){let b="";f=Math.min(l.length,f);for(let M=c;M<f;++M)b+=String.fromCharCode(l[M]);return b}function ze(l,c,f){const b=l.length;(!c||c<0)&&(c=0),(!f||f<0||f>b)&&(f=b);let M="";for(let O=c;O<f;++O)M+=ta[l[O]];return M}function xe(l,c,f){const b=l.slice(c,f);let M="";for(let O=0;O<b.length-1;O+=2)M+=String.fromCharCode(b[O]+b[O+1]*256);return M}T.prototype.slice=function(c,f){const b=this.length;c=~~c,f=f===void 0?b:~~f,c<0?(c+=b,c<0&&(c=0)):c>b&&(c=b),f<0?(f+=b,f<0&&(f=0)):f>b&&(f=b),f<c&&(f=c);const M=this.subarray(c,f);return Object.setPrototypeOf(M,T.prototype),M};function Ee(l,c,f){if(l%1!==0||l<0)throw new RangeError("offset is not uint");if(l+c>f)throw new RangeError("Trying to access beyond buffer length")}T.prototype.readUintLE=T.prototype.readUIntLE=function(c,f,b){c=c>>>0,f=f>>>0,b||Ee(c,f,this.length);let M=this[c],O=1,U=0;for(;++U<f&&(O*=256);)M+=this[c+U]*O;return M},T.prototype.readUintBE=T.prototype.readUIntBE=function(c,f,b){c=c>>>0,f=f>>>0,b||Ee(c,f,this.length);let M=this[c+--f],O=1;for(;f>0&&(O*=256);)M+=this[c+--f]*O;return M},T.prototype.readUint8=T.prototype.readUInt8=function(c,f){return c=c>>>0,f||Ee(c,1,this.length),this[c]},T.prototype.readUint16LE=T.prototype.readUInt16LE=function(c,f){return c=c>>>0,f||Ee(c,2,this.length),this[c]|this[c+1]<<8},T.prototype.readUint16BE=T.prototype.readUInt16BE=function(c,f){return c=c>>>0,f||Ee(c,2,this.length),this[c]<<8|this[c+1]},T.prototype.readUint32LE=T.prototype.readUInt32LE=function(c,f){return c=c>>>0,f||Ee(c,4,this.length),(this[c]|this[c+1]<<8|this[c+2]<<16)+this[c+3]*16777216},T.prototype.readUint32BE=T.prototype.readUInt32BE=function(c,f){return c=c>>>0,f||Ee(c,4,this.length),this[c]*16777216+(this[c+1]<<16|this[c+2]<<8|this[c+3])},T.prototype.readBigUInt64LE=At(function(c){c=c>>>0,Tt(c,"offset");const f=this[c],b=this[c+7];(f===void 0||b===void 0)&&Ct(c,this.length-8);const M=f+this[++c]*2**8+this[++c]*2**16+this[++c]*2**24,O=this[++c]+this[++c]*2**8+this[++c]*2**16+b*2**24;return BigInt(M)+(BigInt(O)<<BigInt(32))}),T.prototype.readBigUInt64BE=At(function(c){c=c>>>0,Tt(c,"offset");const f=this[c],b=this[c+7];(f===void 0||b===void 0)&&Ct(c,this.length-8);const M=f*2**24+this[++c]*2**16+this[++c]*2**8+this[++c],O=this[++c]*2**24+this[++c]*2**16+this[++c]*2**8+b;return(BigInt(M)<<BigInt(32))+BigInt(O)}),T.prototype.readIntLE=function(c,f,b){c=c>>>0,f=f>>>0,b||Ee(c,f,this.length);let M=this[c],O=1,U=0;for(;++U<f&&(O*=256);)M+=this[c+U]*O;return O*=128,M>=O&&(M-=Math.pow(2,8*f)),M},T.prototype.readIntBE=function(c,f,b){c=c>>>0,f=f>>>0,b||Ee(c,f,this.length);let M=f,O=1,U=this[c+--M];for(;M>0&&(O*=256);)U+=this[c+--M]*O;return O*=128,U>=O&&(U-=Math.pow(2,8*f)),U},T.prototype.readInt8=function(c,f){return c=c>>>0,f||Ee(c,1,this.length),this[c]&128?(255-this[c]+1)*-1:this[c]},T.prototype.readInt16LE=function(c,f){c=c>>>0,f||Ee(c,2,this.length);const b=this[c]|this[c+1]<<8;return b&32768?b|4294901760:b},T.prototype.readInt16BE=function(c,f){c=c>>>0,f||Ee(c,2,this.length);const b=this[c+1]|this[c]<<8;return b&32768?b|4294901760:b},T.prototype.readInt32LE=function(c,f){return c=c>>>0,f||Ee(c,4,this.length),this[c]|this[c+1]<<8|this[c+2]<<16|this[c+3]<<24},T.prototype.readInt32BE=function(c,f){return c=c>>>0,f||Ee(c,4,this.length),this[c]<<24|this[c+1]<<16|this[c+2]<<8|this[c+3]},T.prototype.readBigInt64LE=At(function(c){c=c>>>0,Tt(c,"offset");const f=this[c],b=this[c+7];(f===void 0||b===void 0)&&Ct(c,this.length-8);const M=this[c+4]+this[c+5]*2**8+this[c+6]*2**16+(b<<24);return(BigInt(M)<<BigInt(32))+BigInt(f+this[++c]*2**8+this[++c]*2**16+this[++c]*2**24)}),T.prototype.readBigInt64BE=At(function(c){c=c>>>0,Tt(c,"offset");const f=this[c],b=this[c+7];(f===void 0||b===void 0)&&Ct(c,this.length-8);const M=(f<<24)+this[++c]*2**16+this[++c]*2**8+this[++c];return(BigInt(M)<<BigInt(32))+BigInt(this[++c]*2**24+this[++c]*2**16+this[++c]*2**8+b)}),T.prototype.readFloatLE=function(c,f){return c=c>>>0,f||Ee(c,4,this.length),s.read(this,c,!0,23,4)},T.prototype.readFloatBE=function(c,f){return c=c>>>0,f||Ee(c,4,this.length),s.read(this,c,!1,23,4)},T.prototype.readDoubleLE=function(c,f){return c=c>>>0,f||Ee(c,8,this.length),s.read(this,c,!0,52,8)},T.prototype.readDoubleBE=function(c,f){return c=c>>>0,f||Ee(c,8,this.length),s.read(this,c,!1,52,8)};function V(l,c,f,b,M,O){if(!T.isBuffer(l))throw new TypeError('"buffer" argument must be a Buffer instance');if(c>M||c<O)throw new RangeError('"value" argument is out of bounds');if(f+b>l.length)throw new RangeError("Index out of range")}T.prototype.writeUintLE=T.prototype.writeUIntLE=function(c,f,b,M){if(c=+c,f=f>>>0,b=b>>>0,!M){const Te=Math.pow(2,8*b)-1;V(this,c,f,b,Te,0)}let O=1,U=0;for(this[f]=c&255;++U<b&&(O*=256);)this[f+U]=c/O&255;return f+b},T.prototype.writeUintBE=T.prototype.writeUIntBE=function(c,f,b,M){if(c=+c,f=f>>>0,b=b>>>0,!M){const Te=Math.pow(2,8*b)-1;V(this,c,f,b,Te,0)}let O=b-1,U=1;for(this[f+O]=c&255;--O>=0&&(U*=256);)this[f+O]=c/U&255;return f+b},T.prototype.writeUint8=T.prototype.writeUInt8=function(c,f,b){return c=+c,f=f>>>0,b||V(this,c,f,1,255,0),this[f]=c&255,f+1},T.prototype.writeUint16LE=T.prototype.writeUInt16LE=function(c,f,b){return c=+c,f=f>>>0,b||V(this,c,f,2,65535,0),this[f]=c&255,this[f+1]=c>>>8,f+2},T.prototype.writeUint16BE=T.prototype.writeUInt16BE=function(c,f,b){return c=+c,f=f>>>0,b||V(this,c,f,2,65535,0),this[f]=c>>>8,this[f+1]=c&255,f+2},T.prototype.writeUint32LE=T.prototype.writeUInt32LE=function(c,f,b){return c=+c,f=f>>>0,b||V(this,c,f,4,4294967295,0),this[f+3]=c>>>24,this[f+2]=c>>>16,this[f+1]=c>>>8,this[f]=c&255,f+4},T.prototype.writeUint32BE=T.prototype.writeUInt32BE=function(c,f,b){return c=+c,f=f>>>0,b||V(this,c,f,4,4294967295,0),this[f]=c>>>24,this[f+1]=c>>>16,this[f+2]=c>>>8,this[f+3]=c&255,f+4};function ce(l,c,f,b,M){tn(c,b,M,l,f,7);let O=Number(c&BigInt(4294967295));l[f++]=O,O=O>>8,l[f++]=O,O=O>>8,l[f++]=O,O=O>>8,l[f++]=O;let U=Number(c>>BigInt(32)&BigInt(4294967295));return l[f++]=U,U=U>>8,l[f++]=U,U=U>>8,l[f++]=U,U=U>>8,l[f++]=U,f}function be(l,c,f,b,M){tn(c,b,M,l,f,7);let O=Number(c&BigInt(4294967295));l[f+7]=O,O=O>>8,l[f+6]=O,O=O>>8,l[f+5]=O,O=O>>8,l[f+4]=O;let U=Number(c>>BigInt(32)&BigInt(4294967295));return l[f+3]=U,U=U>>8,l[f+2]=U,U=U>>8,l[f+1]=U,U=U>>8,l[f]=U,f+8}T.prototype.writeBigUInt64LE=At(function(c,f=0){return ce(this,c,f,BigInt(0),BigInt("0xffffffffffffffff"))}),T.prototype.writeBigUInt64BE=At(function(c,f=0){return be(this,c,f,BigInt(0),BigInt("0xffffffffffffffff"))}),T.prototype.writeIntLE=function(c,f,b,M){if(c=+c,f=f>>>0,!M){const Pe=Math.pow(2,8*b-1);V(this,c,f,b,Pe-1,-Pe)}let O=0,U=1,Te=0;for(this[f]=c&255;++O<b&&(U*=256);)c<0&&Te===0&&this[f+O-1]!==0&&(Te=1),this[f+O]=(c/U>>0)-Te&255;return f+b},T.prototype.writeIntBE=function(c,f,b,M){if(c=+c,f=f>>>0,!M){const Pe=Math.pow(2,8*b-1);V(this,c,f,b,Pe-1,-Pe)}let O=b-1,U=1,Te=0;for(this[f+O]=c&255;--O>=0&&(U*=256);)c<0&&Te===0&&this[f+O+1]!==0&&(Te=1),this[f+O]=(c/U>>0)-Te&255;return f+b},T.prototype.writeInt8=function(c,f,b){return c=+c,f=f>>>0,b||V(this,c,f,1,127,-128),c<0&&(c=255+c+1),this[f]=c&255,f+1},T.prototype.writeInt16LE=function(c,f,b){return c=+c,f=f>>>0,b||V(this,c,f,2,32767,-32768),this[f]=c&255,this[f+1]=c>>>8,f+2},T.prototype.writeInt16BE=function(c,f,b){return c=+c,f=f>>>0,b||V(this,c,f,2,32767,-32768),this[f]=c>>>8,this[f+1]=c&255,f+2},T.prototype.writeInt32LE=function(c,f,b){return c=+c,f=f>>>0,b||V(this,c,f,4,2147483647,-2147483648),this[f]=c&255,this[f+1]=c>>>8,this[f+2]=c>>>16,this[f+3]=c>>>24,f+4},T.prototype.writeInt32BE=function(c,f,b){return c=+c,f=f>>>0,b||V(this,c,f,4,2147483647,-2147483648),c<0&&(c=4294967295+c+1),this[f]=c>>>24,this[f+1]=c>>>16,this[f+2]=c>>>8,this[f+3]=c&255,f+4},T.prototype.writeBigInt64LE=At(function(c,f=0){return ce(this,c,f,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),T.prototype.writeBigInt64BE=At(function(c,f=0){return be(this,c,f,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function Ze(l,c,f,b,M,O){if(f+b>l.length)throw new RangeError("Index out of range");if(f<0)throw new RangeError("Index out of range")}function dt(l,c,f,b,M){return c=+c,f=f>>>0,M||Ze(l,c,f,4),s.write(l,c,f,b,23,4),f+4}T.prototype.writeFloatLE=function(c,f,b){return dt(this,c,f,!0,b)},T.prototype.writeFloatBE=function(c,f,b){return dt(this,c,f,!1,b)};function ft(l,c,f,b,M){return c=+c,f=f>>>0,M||Ze(l,c,f,8),s.write(l,c,f,b,52,8),f+8}T.prototype.writeDoubleLE=function(c,f,b){return ft(this,c,f,!0,b)},T.prototype.writeDoubleBE=function(c,f,b){return ft(this,c,f,!1,b)},T.prototype.copy=function(c,f,b,M){if(!T.isBuffer(c))throw new TypeError("argument should be a Buffer");if(b||(b=0),!M&&M!==0&&(M=this.length),f>=c.length&&(f=c.length),f||(f=0),M>0&&M<b&&(M=b),M===b||c.length===0||this.length===0)return 0;if(f<0)throw new RangeError("targetStart out of bounds");if(b<0||b>=this.length)throw new RangeError("Index out of range");if(M<0)throw new RangeError("sourceEnd out of bounds");M>this.length&&(M=this.length),c.length-f<M-b&&(M=c.length-f+b);const O=M-b;return this===c&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(f,b,M):Uint8Array.prototype.set.call(c,this.subarray(b,M),f),O},T.prototype.fill=function(c,f,b,M){if(typeof c=="string"){if(typeof f=="string"?(M=f,f=0,b=this.length):typeof b=="string"&&(M=b,b=this.length),M!==void 0&&typeof M!="string")throw new TypeError("encoding must be a string");if(typeof M=="string"&&!T.isEncoding(M))throw new TypeError("Unknown encoding: "+M);if(c.length===1){const U=c.charCodeAt(0);(M==="utf8"&&U<128||M==="latin1")&&(c=U)}}else typeof c=="number"?c=c&255:typeof c=="boolean"&&(c=Number(c));if(f<0||this.length<f||this.length<b)throw new RangeError("Out of range index");if(b<=f)return this;f=f>>>0,b=b===void 0?this.length:b>>>0,c||(c=0);let O;if(typeof c=="number")for(O=f;O<b;++O)this[O]=c;else{const U=T.isBuffer(c)?c:T.from(c,M),Te=U.length;if(Te===0)throw new TypeError('The value "'+c+'" is invalid for argument "value"');for(O=0;O<b-f;++O)this[O+f]=U[O%Te]}return this};const Qe={};function rt(l,c,f){Qe[l]=class extends f{constructor(){super(),Object.defineProperty(this,"message",{value:c.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${l}]`,this.stack,delete this.name}get code(){return l}set code(M){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:M,writable:!0})}toString(){return`${this.name} [${l}]: ${this.message}`}}}rt("ERR_BUFFER_OUT_OF_BOUNDS",function(l){return l?`${l} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),rt("ERR_INVALID_ARG_TYPE",function(l,c){return`The "${l}" argument must be of type number. Received type ${typeof c}`},TypeError),rt("ERR_OUT_OF_RANGE",function(l,c,f){let b=`The value of "${l}" is out of range.`,M=f;return Number.isInteger(f)&&Math.abs(f)>2**32?M=wt(String(f)):typeof f=="bigint"&&(M=String(f),(f>BigInt(2)**BigInt(32)||f<-(BigInt(2)**BigInt(32)))&&(M=wt(M)),M+="n"),b+=` It must be ${c}. Received ${M}`,b},RangeError);function wt(l){let c="",f=l.length;const b=l[0]==="-"?1:0;for(;f>=b+4;f-=3)c=`_${l.slice(f-3,f)}${c}`;return`${l.slice(0,f)}${c}`}function Gt(l,c,f){Tt(c,"offset"),(l[c]===void 0||l[c+f]===void 0)&&Ct(c,l.length-(f+1))}function tn(l,c,f,b,M,O){if(l>f||l<c){const U=typeof c=="bigint"?"n":"";let Te;throw O>3?c===0||c===BigInt(0)?Te=`>= 0${U} and < 2${U} ** ${(O+1)*8}${U}`:Te=`>= -(2${U} ** ${(O+1)*8-1}${U}) and < 2 ** ${(O+1)*8-1}${U}`:Te=`>= ${c}${U} and <= ${f}${U}`,new Qe.ERR_OUT_OF_RANGE("value",Te,l)}Gt(b,M,O)}function Tt(l,c){if(typeof l!="number")throw new Qe.ERR_INVALID_ARG_TYPE(c,"number",l)}function Ct(l,c,f){throw Math.floor(l)!==l?(Tt(l,f),new Qe.ERR_OUT_OF_RANGE(f||"offset","an integer",l)):c<0?new Qe.ERR_BUFFER_OUT_OF_BOUNDS:new Qe.ERR_OUT_OF_RANGE(f||"offset",`>= ${f?1:0} and <= ${c}`,l)}const yn=/[^+/0-9A-Za-z-_]/g;function In(l){if(l=l.split("=")[0],l=l.trim().replace(yn,""),l.length<2)return"";for(;l.length%4!==0;)l=l+"=";return l}function nn(l,c){c=c||1/0;let f;const b=l.length;let M=null;const O=[];for(let U=0;U<b;++U){if(f=l.charCodeAt(U),f>55295&&f<57344){if(!M){if(f>56319){(c-=3)>-1&&O.push(239,191,189);continue}else if(U+1===b){(c-=3)>-1&&O.push(239,191,189);continue}M=f;continue}if(f<56320){(c-=3)>-1&&O.push(239,191,189),M=f;continue}f=(M-55296<<10|f-56320)+65536}else M&&(c-=3)>-1&&O.push(239,191,189);if(M=null,f<128){if((c-=1)<0)break;O.push(f)}else if(f<2048){if((c-=2)<0)break;O.push(f>>6|192,f&63|128)}else if(f<65536){if((c-=3)<0)break;O.push(f>>12|224,f>>6&63|128,f&63|128)}else if(f<1114112){if((c-=4)<0)break;O.push(f>>18|240,f>>12&63|128,f>>6&63|128,f&63|128)}else throw new Error("Invalid code point")}return O}function tr(l){const c=[];for(let f=0;f<l.length;++f)c.push(l.charCodeAt(f)&255);return c}function ve(l,c){let f,b,M;const O=[];for(let U=0;U<l.length&&!((c-=2)<0);++U)f=l.charCodeAt(U),b=f>>8,M=f%256,O.push(M),O.push(b);return O}function Hn(l){return o.toByteArray(In(l))}function an(l,c,f,b){let M;for(M=0;M<b&&!(M+f>=c.length||M>=l.length);++M)c[M+f]=l[M];return M}function Nt(l,c){return l instanceof c||l!=null&&l.constructor!=null&&l.constructor.name!=null&&l.constructor.name===c.name}function _n(l){return l!==l}const ta=function(){const l="0123456789abcdef",c=new Array(256);for(let f=0;f<16;++f){const b=f*16;for(let M=0;M<16;++M)c[b+M]=l[f]+l[M]}return c}();function At(l){return typeof BigInt>"u"?jr:l}function jr(){throw new Error("BigInt not supported")}})(r7);var o7={exports:{}},Yn=o7.exports={},Ui,ji;function iT(){throw new Error("setTimeout has not been defined")}function sT(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?Ui=setTimeout:Ui=iT}catch{Ui=iT}try{typeof clearTimeout=="function"?ji=clearTimeout:ji=sT}catch{ji=sT}})();function i7(r){if(Ui===setTimeout)return setTimeout(r,0);if((Ui===iT||!Ui)&&setTimeout)return Ui=setTimeout,setTimeout(r,0);try{return Ui(r,0)}catch{try{return Ui.call(null,r,0)}catch{return Ui.call(this,r,0)}}}function AC(r){if(ji===clearTimeout)return clearTimeout(r);if((ji===sT||!ji)&&clearTimeout)return ji=clearTimeout,clearTimeout(r);try{return ji(r)}catch{try{return ji.call(null,r)}catch{return ji.call(this,r)}}}var Qs=[],Kf=!1,bc,sy=-1;function OC(){!Kf||!bc||(Kf=!1,bc.length?Qs=bc.concat(Qs):sy=-1,Qs.length&&s7())}function s7(){if(!Kf){var r=i7(OC);Kf=!0;for(var o=Qs.length;o;){for(bc=Qs,Qs=[];++sy<o;)bc&&bc[sy].run();sy=-1,o=Qs.length}bc=null,Kf=!1,AC(r)}}Yn.nextTick=function(r){var o=new Array(arguments.length-1);if(arguments.length>1)for(var s=1;s<arguments.length;s++)o[s-1]=arguments[s];Qs.push(new l7(r,o)),Qs.length===1&&!Kf&&i7(s7)};function l7(r,o){this.fun=r,this.array=o}l7.prototype.run=function(){this.fun.apply(null,this.array)};Yn.title="browser";Yn.browser=!0;Yn.env={};Yn.argv=[];Yn.version="";Yn.versions={};function Ws(){}Yn.on=Ws;Yn.addListener=Ws;Yn.once=Ws;Yn.off=Ws;Yn.removeListener=Ws;Yn.removeAllListeners=Ws;Yn.emit=Ws;Yn.prependListener=Ws;Yn.prependOnceListener=Ws;Yn.listeners=function(r){return[]};Yn.binding=function(r){throw new Error("process.binding is not supported")};Yn.cwd=function(){return"/"};Yn.chdir=function(r){throw new Error("process.chdir is not supported")};Yn.umask=function(){return 0};var xC=o7.exports;(function(r){Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});const o=r7,s=xC,m=g=>g&&g.__esModule?g:{default:g},p=m(s),v=globalThis||void 0||self;Object.defineProperty(r,"Buffer",{enumerable:!0,get:()=>o.Buffer}),Object.defineProperty(r,"process",{enumerable:!0,get:()=>p.default}),r.global=v})(ap);function LC(){const r=new DataView(new ArrayBuffer(8));if(typeof BigInt=="function"&&typeof r.getBigInt64=="function"&&typeof r.getBigUint64=="function"&&typeof r.setBigInt64=="function"&&typeof r.setBigUint64=="function"&&(typeof ap.process!="object"||typeof ap.process.env!="object"||!1)){const p=BigInt("-9223372036854775808"),v=BigInt("9223372036854775807"),g=BigInt("0"),T=BigInt("18446744073709551615");return{zero:BigInt(0),supported:!0,parse(I){const C=typeof I=="bigint"?I:BigInt(I);if(C>v||C<p)throw new Error(`int64 invalid: ${I}`);return C},uParse(I){const C=typeof I=="bigint"?I:BigInt(I);if(C>T||C<g)throw new Error(`uint64 invalid: ${I}`);return C},enc(I){return r.setBigInt64(0,this.parse(I),!0),{lo:r.getInt32(0,!0),hi:r.getInt32(4,!0)}},uEnc(I){return r.setBigInt64(0,this.uParse(I),!0),{lo:r.getInt32(0,!0),hi:r.getInt32(4,!0)}},dec(I,C){return r.setInt32(0,I,!0),r.setInt32(4,C,!0),r.getBigInt64(0,!0)},uDec(I,C){return r.setInt32(0,I,!0),r.setInt32(4,C,!0),r.getBigUint64(0,!0)}}}const s=p=>Fa(/^-?[0-9]+$/.test(p),`int64 invalid: ${p}`),m=p=>Fa(/^[0-9]+$/.test(p),`uint64 invalid: ${p}`);return{zero:"0",supported:!1,parse(p){return typeof p!="string"&&(p=p.toString()),s(p),p},uParse(p){return typeof p!="string"&&(p=p.toString()),m(p),p},enc(p){return typeof p!="string"&&(p=p.toString()),s(p),Wk(p)},uEnc(p){return typeof p!="string"&&(p=p.toString()),m(p),Wk(p)},dec(p,v){return vC(p,v)},uDec(p,v){return e7(p,v)}}}const wr=LC();var Vn;(function(r){r[r.Varint=0]="Varint",r[r.Bit64=1]="Bit64",r[r.LengthDelimited=2]="LengthDelimited",r[r.StartGroup=3]="StartGroup",r[r.EndGroup=4]="EndGroup",r[r.Bit32=5]="Bit32"})(Vn||(Vn={}));class RC{constructor(o){this.stack=[],this.textEncoder=o??new TextEncoder,this.chunks=[],this.buf=[]}finish(){this.chunks.push(new Uint8Array(this.buf));let o=0;for(let p=0;p<this.chunks.length;p++)o+=this.chunks[p].length;let s=new Uint8Array(o),m=0;for(let p=0;p<this.chunks.length;p++)s.set(this.chunks[p],m),m+=this.chunks[p].length;return this.chunks=[],s}fork(){return this.stack.push({chunks:this.chunks,buf:this.buf}),this.chunks=[],this.buf=[],this}join(){let o=this.finish(),s=this.stack.pop();if(!s)throw new Error("invalid state, fork stack empty");return this.chunks=s.chunks,this.buf=s.buf,this.uint32(o.byteLength),this.raw(o)}tag(o,s){return this.uint32((o<<3|s)>>>0)}raw(o){return this.buf.length&&(this.chunks.push(new Uint8Array(this.buf)),this.buf=[]),this.chunks.push(o),this}uint32(o){for(oT(o);o>127;)this.buf.push(o&127|128),o=o>>>7;return this.buf.push(o),this}int32(o){return oy(o),Zk(o,this.buf),this}bool(o){return this.buf.push(o?1:0),this}bytes(o){return this.uint32(o.byteLength),this.raw(o)}string(o){let s=this.textEncoder.encode(o);return this.uint32(s.byteLength),this.raw(s)}float(o){W9(o);let s=new Uint8Array(4);return new DataView(s.buffer).setFloat32(0,o,!0),this.raw(s)}double(o){let s=new Uint8Array(8);return new DataView(s.buffer).setFloat64(0,o,!0),this.raw(s)}fixed32(o){oT(o);let s=new Uint8Array(4);return new DataView(s.buffer).setUint32(0,o,!0),this.raw(s)}sfixed32(o){oy(o);let s=new Uint8Array(4);return new DataView(s.buffer).setInt32(0,o,!0),this.raw(s)}sint32(o){return oy(o),o=(o<<1^o>>31)>>>0,Zk(o,this.buf),this}sfixed64(o){let s=new Uint8Array(8),m=new DataView(s.buffer),p=wr.enc(o);return m.setInt32(0,p.lo,!0),m.setInt32(4,p.hi,!0),this.raw(s)}fixed64(o){let s=new Uint8Array(8),m=new DataView(s.buffer),p=wr.uEnc(o);return m.setInt32(0,p.lo,!0),m.setInt32(4,p.hi,!0),this.raw(s)}int64(o){let s=wr.enc(o);return w4(s.lo,s.hi,this.buf),this}sint64(o){let s=wr.enc(o),m=s.hi>>31,p=s.lo<<1^m,v=(s.hi<<1|s.lo>>>31)^m;return w4(p,v,this.buf),this}uint64(o){let s=wr.uEnc(o);return w4(s.lo,s.hi,this.buf),this}}class DC{constructor(o,s){this.varint64=yC,this.uint32=kC,this.buf=o,this.len=o.length,this.pos=0,this.view=new DataView(o.buffer,o.byteOffset,o.byteLength),this.textDecoder=s??new TextDecoder}tag(){let o=this.uint32(),s=o>>>3,m=o&7;if(s<=0||m<0||m>5)throw new Error("illegal tag: field no "+s+" wire type "+m);return[s,m]}skip(o){let s=this.pos;switch(o){case Vn.Varint:for(;this.buf[this.pos++]&128;);break;case Vn.Bit64:this.pos+=4;case Vn.Bit32:this.pos+=4;break;case Vn.LengthDelimited:let m=this.uint32();this.pos+=m;break;case Vn.StartGroup:let p;for(;(p=this.tag()[1])!==Vn.EndGroup;)this.skip(p);break;default:throw new Error("cant skip wire type "+o)}return this.assertBounds(),this.buf.subarray(s,this.pos)}assertBounds(){if(this.pos>this.len)throw new RangeError("premature EOF")}int32(){return this.uint32()|0}sint32(){let o=this.uint32();return o>>>1^-(o&1)}int64(){return wr.dec(...this.varint64())}uint64(){return wr.uDec(...this.varint64())}sint64(){let[o,s]=this.varint64(),m=-(o&1);return o=(o>>>1|(s&1)<<31)^m,s=s>>>1^m,wr.dec(o,s)}bool(){let[o,s]=this.varint64();return o!==0||s!==0}fixed32(){return this.view.getUint32((this.pos+=4)-4,!0)}sfixed32(){return this.view.getInt32((this.pos+=4)-4,!0)}fixed64(){return wr.uDec(this.sfixed32(),this.sfixed32())}sfixed64(){return wr.dec(this.sfixed32(),this.sfixed32())}float(){return this.view.getFloat32((this.pos+=4)-4,!0)}double(){return this.view.getFloat64((this.pos+=8)-8,!0)}bytes(){let o=this.uint32(),s=this.pos;return this.pos+=o,this.assertBounds(),this.buf.subarray(s,s+o)}string(){return this.textDecoder.decode(this.bytes())}}function lT(r,o){return o instanceof Wi||!r.fieldWrapper?o:r.fieldWrapper.wrapField(o)}ke.DOUBLE,ke.FLOAT,ke.INT64,ke.UINT64,ke.INT32,ke.UINT32,ke.BOOL,ke.STRING,ke.BYTES;function Jl(r,o,s){if(o===s)return!0;if(r==ke.BYTES){if(!(o instanceof Uint8Array)||!(s instanceof Uint8Array)||o.length!==s.length)return!1;for(let m=0;m<o.length;m++)if(o[m]!==s[m])return!1;return!0}switch(r){case ke.UINT64:case ke.FIXED64:case ke.INT64:case ke.SFIXED64:case ke.SINT64:return o==s}return!1}function uT(r,o){switch(r){case ke.BOOL:return!1;case ke.UINT64:case ke.FIXED64:case ke.INT64:case ke.SFIXED64:case ke.SINT64:return o==0?wr.zero:"0";case ke.DOUBLE:case ke.FLOAT:return 0;case ke.BYTES:return new Uint8Array(0);case ke.STRING:return"";default:return 0}}function u7(r,o){const s=o===void 0;let m=Vn.Varint,p=o===0;switch(r){case ke.STRING:p=s||!o.length,m=Vn.LengthDelimited;break;case ke.BOOL:p=o===!1;break;case ke.DOUBLE:m=Vn.Bit64;break;case ke.FLOAT:m=Vn.Bit32;break;case ke.INT64:p=s||o==0;break;case ke.UINT64:p=s||o==0;break;case ke.FIXED64:p=s||o==0,m=Vn.Bit64;break;case ke.BYTES:p=s||!o.byteLength,m=Vn.LengthDelimited;break;case ke.FIXED32:m=Vn.Bit32;break;case ke.SFIXED32:m=Vn.Bit32;break;case ke.SFIXED64:p=s||o==0,m=Vn.Bit64;break;case ke.SINT64:p=s||o==0;break}const v=ke[r].toLowerCase();return[m,v,s||p]}const Pf=Symbol("@bufbuild/protobuf/unknown-fields"),Jk={readUnknownFields:!0,readerFactory:r=>new DC(r)},Xk={writeUnknownFields:!0,writerFactory:()=>new RC};function PC(r){return r?Object.assign(Object.assign({},Jk),r):Jk}function UC(r){return r?Object.assign(Object.assign({},Xk),r):Xk}function jC(){return{makeReadOptions:PC,makeWriteOptions:UC,listUnknownFields(r){var o;return(o=r[Pf])!==null&&o!==void 0?o:[]},discardUnknownFields(r){delete r[Pf]},writeUnknownFields(r,o){const m=r[Pf];if(m)for(const p of m)o.tag(p.no,p.wireType).raw(p.data)},onUnknownField(r,o,s,m){const p=r;Array.isArray(p[Pf])||(p[Pf]=[]),p[Pf].push({no:o,wireType:s,data:m})},readMessage(r,o,s,m){const p=r.getType(),v=s===void 0?o.len:o.pos+s;for(;o.pos<v;){const[g,T]=o.tag(),I=p.fields.find(g);if(!I){const x=o.skip(T);m.readUnknownFields&&this.onUnknownField(r,g,T,x);continue}let C=r,D=I.repeated,R=I.localName;switch(I.oneof&&(C=C[I.oneof.localName],C.case!=R&&delete C.value,C.case=R,R="value"),I.kind){case"scalar":case"enum":const x=I.kind=="enum"?ke.INT32:I.T;let j=gy;if(I.kind=="scalar"&&I.L>0&&(j=BC),D){let G=C[R];if(T==Vn.LengthDelimited&&x!=ke.STRING&&x!=ke.BYTES){let se=o.uint32()+o.pos;for(;o.pos<se;)G.push(j(o,x))}else G.push(j(o,x))}else C[R]=j(o,x);break;case"message":const Q=I.T;D?C[R].push(ly(o,new Q,m)):C[R]instanceof Wi?ly(o,C[R],m):(C[R]=ly(o,new Q,m),Q.fieldWrapper&&!I.oneof&&!I.repeated&&(C[R]=Q.fieldWrapper.unwrapField(C[R])));break;case"map":let[W,le]=zC(I,o,m);C[R][W]=le;break}}}}}function ly(r,o,s){return o.getType().runtime.bin.readMessage(o,r,r.uint32(),s),o}function zC(r,o,s){const m=o.uint32(),p=o.pos+m;let v,g;for(;o.pos<p;){let[T]=o.tag();switch(T){case 1:v=gy(o,r.K);break;case 2:switch(r.V.kind){case"scalar":g=gy(o,r.V.T);break;case"enum":g=o.int32();break;case"message":g=ly(o,new r.V.T,s);break}break}}if(v===void 0){let T=uT(r.K,Oc.BIGINT);v=r.K==ke.BOOL?T.toString():T}if(typeof v!="string"&&typeof v!="number"&&(v=v.toString()),g===void 0)switch(r.V.kind){case"scalar":g=uT(r.V.T,Oc.BIGINT);break;case"enum":g=0;break;case"message":g=new r.V.T;break}return[v,g]}function BC(r,o){const s=gy(r,o);return typeof s=="bigint"?s.toString():s}function gy(r,o){switch(o){case ke.STRING:return r.string();case ke.BOOL:return r.bool();case ke.DOUBLE:return r.double();case ke.FLOAT:return r.float();case ke.INT32:return r.int32();case ke.INT64:return r.int64();case ke.UINT64:return r.uint64();case ke.FIXED64:return r.fixed64();case ke.BYTES:return r.bytes();case ke.FIXED32:return r.fixed32();case ke.SFIXED32:return r.sfixed32();case ke.SFIXED64:return r.sfixed64();case ke.SINT64:return r.sint64();case ke.UINT32:return r.uint32();case ke.SINT32:return r.sint32()}}function FC(r,o,s,m,p){r.tag(s.no,Vn.LengthDelimited),r.fork();let v=m;switch(s.K){case ke.INT32:case ke.FIXED32:case ke.UINT32:case ke.SFIXED32:case ke.SINT32:v=Number.parseInt(m);break;case ke.BOOL:Fa(m=="true"||m=="false"),v=m=="true";break}switch(x1(r,s.K,1,v,!0),s.V.kind){case"scalar":x1(r,s.V.T,2,p,!0);break;case"enum":x1(r,ke.INT32,2,p,!0);break;case"message":cT(r,o,s.V.T,2,p);break}r.join()}function cT(r,o,s,m,p){if(p!==void 0){const v=lT(s,p);r.tag(m,Vn.LengthDelimited).bytes(v.toBinary(o))}}function x1(r,o,s,m,p){let[v,g,T]=u7(o,m);(!T||p)&&r.tag(s,v)[g](m)}function VC(r,o,s,m){if(!m.length)return;r.tag(s,Vn.LengthDelimited).fork();let[,p]=u7(o);for(let v=0;v<m.length;v++)r[p](m[v]);r.join()}function YC(){return Object.assign(Object.assign({},jC()),{writeMessage(r,o,s){const m=r.getType();for(const p of m.fields.byNumber()){let v,g=p.repeated,T=p.localName;if(p.oneof){const I=r[p.oneof.localName];if(I.case!==T)continue;v=I.value}else v=r[T];switch(p.kind){case"scalar":case"enum":let I=p.kind=="enum"?ke.INT32:p.T;if(g)if(p.packed)VC(o,I,p.no,v);else for(const C of v)x1(o,I,p.no,C,!0);else v!==void 0&&x1(o,I,p.no,v,!!p.oneof||p.opt);break;case"message":if(g)for(const C of v)cT(o,s,p.T,p.no,C);else cT(o,s,p.T,p.no,v);break;case"map":for(const[C,D]of Object.entries(v))FC(o,s,p,C,D);break}}return s.writeUnknownFields&&this.writeUnknownFields(r,o),o}})}let Fs="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),Oy=[];for(let r=0;r<Fs.length;r++)Oy[Fs[r].charCodeAt(0)]=r;Oy["-".charCodeAt(0)]=Fs.indexOf("+");Oy["_".charCodeAt(0)]=Fs.indexOf("/");const DT={dec(r){let o=r.length*3/4;r[r.length-2]=="="?o-=2:r[r.length-1]=="="&&(o-=1);let s=new Uint8Array(o),m=0,p=0,v,g=0;for(let T=0;T<r.length;T++){if(v=Oy[r.charCodeAt(T)],v===void 0)switch(r[T]){case"=":p=0;case`
10
+ `:case"\r":case" ":case" ":continue;default:throw Error("invalid base64 string.")}switch(p){case 0:g=v,p=1;break;case 1:s[m++]=g<<2|(v&48)>>4,g=v,p=2;break;case 2:s[m++]=(g&15)<<4|(v&60)>>2,g=v,p=3;break;case 3:s[m++]=(g&3)<<6|v,p=0;break}}if(p==1)throw Error("invalid base64 string.");return s.subarray(0,m)},enc(r){let o="",s=0,m,p=0;for(let v=0;v<r.length;v++)switch(m=r[v],s){case 0:o+=Fs[m>>2],p=(m&3)<<4,s=1;break;case 1:o+=Fs[p|m>>4],p=(m&15)<<2,s=2;break;case 2:o+=Fs[p|m>>6],o+=Fs[m&63],s=0;break}return s&&(o+=Fs[p],o+="=",s==1&&(o+="=")),o}},eb={ignoreUnknownFields:!1},tb={emitDefaultValues:!1,enumAsInteger:!1,useProtoFieldName:!1,prettySpaces:0};function QC(r){return r?Object.assign(Object.assign({},eb),r):eb}function GC(r){return r?Object.assign(Object.assign({},tb),r):tb}function HC(r){const o=r($C,nb);return{makeReadOptions:QC,makeWriteOptions:GC,readMessage(s,m,p,v){if(m==null||Array.isArray(m)||typeof m!="object")throw new Error(`cannot decode message ${s.typeName} from JSON: ${this.debug(m)}`);v=v??new s;const g={};for(const[T,I]of Object.entries(m)){const C=s.fields.findJsonName(T);if(!C){if(!p.ignoreUnknownFields)throw new Error(`cannot decode message ${s.typeName} from JSON: key "${T}" is unknown`);continue}let D=C.localName,R=v;if(C.oneof){if(I===null&&C.kind=="scalar")continue;const x=g[C.oneof.localName];if(x)throw new Error(`cannot decode message ${s.typeName} from JSON: multiple keys for oneof "${C.oneof.name}" present: "${x}", "${T}"`);g[C.oneof.localName]=T,R=R[C.oneof.localName]={case:D},D="value"}if(C.repeated){if(I===null)continue;if(!Array.isArray(I))throw new Error(`cannot decode field ${s.typeName}.${C.name} from JSON: ${this.debug(I)}`);const x=R[D];for(const j of I){if(j===null)throw new Error(`cannot decode field ${s.typeName}.${C.name} from JSON: ${this.debug(j)}`);let Q;switch(C.kind){case"message":Q=C.T.fromJson(j,p);break;case"enum":if(Q=E4(C.T,j,p.ignoreUnknownFields),Q===void 0)continue;break;case"scalar":try{Q=I1(C.T,j,C.L)}catch(W){let le=`cannot decode field ${s.typeName}.${C.name} from JSON: ${this.debug(j)}`;throw W instanceof Error&&W.message.length>0&&(le+=`: ${W.message}`),new Error(le)}break}x.push(Q)}}else if(C.kind=="map"){if(I===null)continue;if(Array.isArray(I)||typeof I!="object")throw new Error(`cannot decode field ${s.typeName}.${C.name} from JSON: ${this.debug(I)}`);const x=R[D];for(const[j,Q]of Object.entries(I)){if(Q===null)throw new Error(`cannot decode field ${s.typeName}.${C.name} from JSON: map value null`);let W;switch(C.V.kind){case"message":W=C.V.T.fromJson(Q,p);break;case"enum":if(W=E4(C.V.T,Q,p.ignoreUnknownFields),W===void 0)continue;break;case"scalar":try{W=I1(C.V.T,Q,Oc.BIGINT)}catch(le){let G=`cannot decode map value for field ${s.typeName}.${C.name} from JSON: ${this.debug(I)}`;throw le instanceof Error&&le.message.length>0&&(G+=`: ${le.message}`),new Error(G)}break}try{x[I1(C.K,C.K==ke.BOOL?j=="true"?!0:j=="false"?!1:j:j,Oc.BIGINT).toString()]=W}catch(le){let G=`cannot decode map key for field ${s.typeName}.${C.name} from JSON: ${this.debug(I)}`;throw le instanceof Error&&le.message.length>0&&(G+=`: ${le.message}`),new Error(G)}}}else switch(C.kind){case"message":const x=C.T;if(I===null&&x.typeName!="google.protobuf.Value"){if(C.oneof)throw new Error(`cannot decode field ${s.typeName}.${C.name} from JSON: null is invalid for oneof field "${T}"`);continue}R[D]instanceof Wi?R[D].fromJson(I,p):(R[D]=x.fromJson(I,p),x.fieldWrapper&&!C.oneof&&(R[D]=x.fieldWrapper.unwrapField(R[D])));break;case"enum":const j=E4(C.T,I,p.ignoreUnknownFields);j!==void 0&&(R[D]=j);break;case"scalar":try{R[D]=I1(C.T,I,C.L)}catch(Q){let W=`cannot decode field ${s.typeName}.${C.name} from JSON: ${this.debug(I)}`;throw Q instanceof Error&&Q.message.length>0&&(W+=`: ${Q.message}`),new Error(W)}break}}return v},writeMessage(s,m){const p=s.getType(),v={};let g;try{for(const T of p.fields.byMember()){let I;if(T.kind=="oneof"){const C=s[T.localName];if(C.value===void 0)continue;if(g=T.findField(C.case),!g)throw"oneof case not found: "+C.case;I=o(g,C.value,m)}else g=T,I=o(g,s[g.localName],m);I!==void 0&&(v[m.useProtoFieldName?g.name:g.jsonName]=I)}}catch(T){const I=g?`cannot encode field ${p.typeName}.${g.name} to JSON`:`cannot encode message ${p.typeName} to JSON`,C=T instanceof Error?T.message:String(T);throw new Error(I+(C.length>0?`: ${C}`:""))}return v},readScalar:I1,writeScalar:nb,debug:c7}}function c7(r){if(r===null)return"null";switch(typeof r){case"object":return Array.isArray(r)?"array":"object";case"string":return r.length>100?"string":`"${r.split('"').join('\\"')}"`;default:return String(r)}}function I1(r,o,s){switch(r){case ke.DOUBLE:case ke.FLOAT:if(o===null)return 0;if(o==="NaN")return Number.NaN;if(o==="Infinity")return Number.POSITIVE_INFINITY;if(o==="-Infinity")return Number.NEGATIVE_INFINITY;if(o===""||typeof o=="string"&&o.trim().length!==o.length||typeof o!="string"&&typeof o!="number")break;const m=Number(o);if(Number.isNaN(m)||!Number.isFinite(m))break;return r==ke.FLOAT&&W9(m),m;case ke.INT32:case ke.FIXED32:case ke.SFIXED32:case ke.SINT32:case ke.UINT32:if(o===null)return 0;let p;if(typeof o=="number"?p=o:typeof o=="string"&&o.length>0&&o.trim().length===o.length&&(p=Number(o)),p===void 0)break;return r==ke.UINT32?oT(p):oy(p),p;case ke.INT64:case ke.SFIXED64:case ke.SINT64:if(o===null)return wr.zero;if(typeof o!="number"&&typeof o!="string")break;const v=wr.parse(o);return s?v.toString():v;case ke.FIXED64:case ke.UINT64:if(o===null)return wr.zero;if(typeof o!="number"&&typeof o!="string")break;const g=wr.uParse(o);return s?g.toString():g;case ke.BOOL:if(o===null)return!1;if(typeof o!="boolean")break;return o;case ke.STRING:if(o===null)return"";if(typeof o!="string")break;try{encodeURIComponent(o)}catch{throw new Error("invalid UTF8")}return o;case ke.BYTES:if(o===null||o==="")return new Uint8Array(0);if(typeof o!="string")break;return DT.dec(o)}throw new Error}function E4(r,o,s){if(o===null)return 0;switch(typeof o){case"number":if(Number.isInteger(o))return o;break;case"string":const m=r.findName(o);if(m||s)return m==null?void 0:m.no;break}throw new Error(`cannot decode enum ${r.typeName} from JSON: ${c7(o)}`)}function $C(r,o,s,m){var p;if(o===void 0)return o;if(o===0&&!s)return;if(m)return o;if(r.typeName=="google.protobuf.NullValue")return null;const v=r.findNumber(o);return(p=v==null?void 0:v.name)!==null&&p!==void 0?p:o}function nb(r,o,s){if(o!==void 0)switch(r){case ke.INT32:case ke.SFIXED32:case ke.SINT32:case ke.FIXED32:case ke.UINT32:return Fa(typeof o=="number"),o!=0||s?o:void 0;case ke.FLOAT:case ke.DOUBLE:return Fa(typeof o=="number"),Number.isNaN(o)?"NaN":o===Number.POSITIVE_INFINITY?"Infinity":o===Number.NEGATIVE_INFINITY?"-Infinity":o!==0||s?o:void 0;case ke.STRING:return Fa(typeof o=="string"),o.length>0||s?o:void 0;case ke.BOOL:return Fa(typeof o=="boolean"),o||s?o:void 0;case ke.UINT64:case ke.FIXED64:case ke.INT64:case ke.SFIXED64:case ke.SINT64:return Fa(typeof o=="bigint"||typeof o=="string"||typeof o=="number"),s||o!=0?o.toString(10):void 0;case ke.BYTES:return Fa(o instanceof Uint8Array),s||o.byteLength>0?DT.enc(o):void 0}}function qC(){return HC((r,o)=>function(m,p,v){if(m.kind=="map"){const g={};switch(m.V.kind){case"scalar":for(const[I,C]of Object.entries(p)){const D=o(m.V.T,C,!0);Fa(D!==void 0),g[I.toString()]=D}break;case"message":for(const[I,C]of Object.entries(p))g[I.toString()]=C.toJson(v);break;case"enum":const T=m.V.T;for(const[I,C]of Object.entries(p)){Fa(C===void 0||typeof C=="number");const D=r(T,C,!0,v.enumAsInteger);Fa(D!==void 0),g[I.toString()]=D}break}return v.emitDefaultValues||Object.keys(g).length>0?g:void 0}else if(m.repeated){const g=[];switch(m.kind){case"scalar":for(let T=0;T<p.length;T++)g.push(o(m.T,p[T],!0));break;case"enum":for(let T=0;T<p.length;T++)g.push(r(m.T,p[T],!0,v.enumAsInteger));break;case"message":for(let T=0;T<p.length;T++)g.push(lT(m.T,p[T]).toJson(v));break}return v.emitDefaultValues||g.length>0?g:void 0}else switch(m.kind){case"scalar":return o(m.T,p,!!m.oneof||m.opt||v.emitDefaultValues);case"enum":return r(m.T,p,!!m.oneof||m.opt||v.emitDefaultValues,v.enumAsInteger);case"message":return p!==void 0?lT(m.T,p).toJson(v):void 0}})}function WC(){return{setEnumType:Z9,initPartial(r,o){if(r===void 0)return;const s=o.getType();for(const m of s.fields.byMember()){const p=m.localName,v=o,g=r;if(g[p]!==void 0)switch(m.kind){case"oneof":const T=g[p].case;if(T===void 0)continue;const I=m.findField(T);let C=g[p].value;I&&I.kind=="message"&&!(C instanceof I.T)?C=new I.T(C):I&&I.kind==="scalar"&&I.T===ke.BYTES&&(C=_1(C)),v[p]={case:T,value:C};break;case"scalar":case"enum":let D=g[p];m.T===ke.BYTES&&(D=m.repeated?D.map(_1):_1(D)),v[p]=D;break;case"map":switch(m.V.kind){case"scalar":case"enum":if(m.V.T===ke.BYTES)for(const[j,Q]of Object.entries(g[p]))v[p][j]=_1(Q);else Object.assign(v[p],g[p]);break;case"message":const x=m.V.T;for(const j of Object.keys(g[p])){let Q=g[p][j];x.fieldWrapper||(Q=new x(Q)),v[p][j]=Q}break}break;case"message":const R=m.T;if(m.repeated)v[p]=g[p].map(x=>x instanceof R?x:new R(x));else if(g[p]!==void 0){const x=g[p];R.fieldWrapper?R.typeName==="google.protobuf.BytesValue"?v[p]=_1(x):v[p]=x:v[p]=x instanceof R?x:new R(x)}break}}},equals(r,o,s){return o===s?!0:!o||!s?!1:r.fields.byMember().every(m=>{const p=o[m.localName],v=s[m.localName];if(m.repeated){if(p.length!==v.length)return!1;switch(m.kind){case"message":return p.every((g,T)=>m.T.equals(g,v[T]));case"scalar":return p.every((g,T)=>Jl(m.T,g,v[T]));case"enum":return p.every((g,T)=>Jl(ke.INT32,g,v[T]))}throw new Error(`repeated cannot contain ${m.kind}`)}switch(m.kind){case"message":return m.T.equals(p,v);case"enum":return Jl(ke.INT32,p,v);case"scalar":return Jl(m.T,p,v);case"oneof":if(p.case!==v.case)return!1;const g=m.findField(p.case);if(g===void 0)return!0;switch(g.kind){case"message":return g.T.equals(p.value,v.value);case"enum":return Jl(ke.INT32,p.value,v.value);case"scalar":return Jl(g.T,p.value,v.value)}throw new Error(`oneof cannot contain ${g.kind}`);case"map":const T=Object.keys(p).concat(Object.keys(v));switch(m.V.kind){case"message":const I=m.V.T;return T.every(D=>I.equals(p[D],v[D]));case"enum":return T.every(D=>Jl(ke.INT32,p[D],v[D]));case"scalar":const C=m.V.T;return T.every(D=>Jl(C,p[D],v[D]))}break}})},clone(r){const o=r.getType(),s=new o,m=s;for(const p of o.fields.byMember()){const v=r[p.localName];let g;if(p.repeated)g=v.map(X0);else if(p.kind=="map"){g=m[p.localName];for(const[T,I]of Object.entries(v))g[T]=X0(I)}else p.kind=="oneof"?g=p.findField(v.case)?{case:v.case,value:X0(v.value)}:{case:void 0}:g=X0(v);m[p.localName]=g}return s}}}function X0(r){if(r===void 0)return r;if(r instanceof Wi)return r.clone();if(r instanceof Uint8Array){const o=new Uint8Array(r.byteLength);return o.set(r),o}return r}function _1(r){return r instanceof Uint8Array?r:new Uint8Array(r)}class KC{constructor(o,s){this._fields=o,this._normalizer=s}findJsonName(o){if(!this.jsonNames){const s={};for(const m of this.list())s[m.jsonName]=s[m.name]=m;this.jsonNames=s}return this.jsonNames[o]}find(o){if(!this.numbers){const s={};for(const m of this.list())s[m.no]=m;this.numbers=s}return this.numbers[o]}list(){return this.all||(this.all=this._normalizer(this._fields)),this.all}byNumber(){return this.numbersAsc||(this.numbersAsc=this.list().concat().sort((o,s)=>o.no-s.no)),this.numbersAsc}byMember(){if(!this.members){this.members=[];const o=this.members;let s;for(const m of this.list())m.oneof?m.oneof!==s&&(s=m.oneof,o.push(s)):o.push(m)}return this.members}}function d7(r,o){const s=f7(r);return o?s:nA(tA(s))}function ZC(r){return d7(r,!1)}const JC=f7;function f7(r){let o=!1;const s=[];for(let m=0;m<r.length;m++){let p=r.charAt(m);switch(p){case"_":o=!0;break;case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":s.push(p),o=!1;break;default:o&&(o=!1,p=p.toUpperCase()),s.push(p);break}}return s.join("")}const XC=new Set(["constructor","toString","toJSON","valueOf"]),eA=new Set(["getType","clone","equals","fromBinary","fromJson","fromJsonString","toBinary","toJson","toJsonString","toObject"]),p7=r=>`${r}$`,tA=r=>eA.has(r)?p7(r):r,nA=r=>XC.has(r)?p7(r):r;class rA{constructor(o){this.kind="oneof",this.repeated=!1,this.packed=!1,this.opt=!1,this.default=void 0,this.fields=[],this.name=o,this.localName=ZC(o)}addField(o){Fa(o.oneof===this,`field ${o.name} not one of ${this.name}`),this.fields.push(o)}findField(o){if(!this._lookup){this._lookup=Object.create(null);for(let s=0;s<this.fields.length;s++)this._lookup[this.fields[s].localName]=this.fields[s]}return this._lookup[o]}}const N=gC("proto3",qC(),YC(),Object.assign(Object.assign({},WC()),{newFieldList(r){return new KC(r,aA)},initFields(r){for(const o of r.getType().fields.byMember()){if(o.opt)continue;const s=o.localName,m=r;if(o.repeated){m[s]=[];continue}switch(o.kind){case"oneof":m[s]={case:void 0};break;case"enum":m[s]=0;break;case"map":m[s]={};break;case"scalar":m[s]=uT(o.T,o.L);break}}}}));function aA(r){var o,s,m,p;const v=[];let g;for(const T of typeof r=="function"?r():r){const I=T;if(I.localName=d7(T.name,T.oneof!==void 0),I.jsonName=(o=T.jsonName)!==null&&o!==void 0?o:JC(T.name),I.repeated=(s=T.repeated)!==null&&s!==void 0?s:!1,T.kind=="scalar"&&(I.L=(m=T.L)!==null&&m!==void 0?m:Oc.BIGINT),I.packed=(p=T.packed)!==null&&p!==void 0?p:T.kind=="enum"||T.kind=="scalar"&&T.T!=ke.BYTES&&T.T!=ke.STRING,T.oneof!==void 0){const C=typeof T.oneof=="string"?T.oneof:T.oneof.name;(!g||g.name!=C)&&(g=new rA(C)),I.oneof=g,g.addField(I)}v.push(I)}return v}var et;(function(r){r[r.Unary=0]="Unary",r[r.ServerStreaming=1]="ServerStreaming",r[r.ClientStreaming=2]="ClientStreaming",r[r.BiDiStreaming=3]="BiDiStreaming"})(et||(et={}));var rb;(function(r){r[r.NoSideEffects=1]="NoSideEffects",r[r.Idempotent=2]="Idempotent"})(rb||(rb={}));class Ur extends Wi{constructor(o){super(),this.seconds=wr.zero,this.nanos=0,N.util.initPartial(o,this)}fromJson(o,s){if(typeof o!="string")throw new Error(`cannot decode google.protobuf.Timestamp from JSON: ${N.json.debug(o)}`);const m=o.match(/^([0-9]{4})-([0-9]{2})-([0-9]{2})T([0-9]{2}):([0-9]{2}):([0-9]{2})(?:Z|\.([0-9]{3,9})Z|([+-][0-9][0-9]:[0-9][0-9]))$/);if(!m)throw new Error("cannot decode google.protobuf.Timestamp from JSON: invalid RFC 3339 string");const p=Date.parse(m[1]+"-"+m[2]+"-"+m[3]+"T"+m[4]+":"+m[5]+":"+m[6]+(m[8]?m[8]:"Z"));if(Number.isNaN(p))throw new Error("cannot decode google.protobuf.Timestamp from JSON: invalid RFC 3339 string");if(p<Date.parse("0001-01-01T00:00:00Z")||p>Date.parse("9999-12-31T23:59:59Z"))throw new Error("cannot decode message google.protobuf.Timestamp from JSON: must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive");return this.seconds=wr.parse(p/1e3),this.nanos=0,m[7]&&(this.nanos=parseInt("1"+m[7]+"0".repeat(9-m[7].length))-1e9),this}toJson(o){const s=Number(this.seconds)*1e3;if(s<Date.parse("0001-01-01T00:00:00Z")||s>Date.parse("9999-12-31T23:59:59Z"))throw new Error("cannot encode google.protobuf.Timestamp to JSON: must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive");if(this.nanos<0)throw new Error("cannot encode google.protobuf.Timestamp to JSON: nanos must not be negative");let m="Z";if(this.nanos>0){const p=(this.nanos+1e9).toString().substring(1);p.substring(3)==="000000"?m="."+p.substring(0,3)+"Z":p.substring(6)==="000"?m="."+p.substring(0,6)+"Z":m="."+p+"Z"}return new Date(s).toISOString().replace(".000Z",m)}toDate(){return new Date(Number(this.seconds)*1e3+Math.ceil(this.nanos/1e6))}static now(){return Ur.fromDate(new Date)}static fromDate(o){const s=o.getTime();return new Ur({seconds:wr.parse(Math.floor(s/1e3)),nanos:s%1e3*1e6})}static fromBinary(o,s){return new Ur().fromBinary(o,s)}static fromJson(o,s){return new Ur().fromJson(o,s)}static fromJsonString(o,s){return new Ur().fromJsonString(o,s)}static equals(o,s){return N.util.equals(Ur,o,s)}}Ur.runtime=N;Ur.typeName="google.protobuf.Timestamp";Ur.fields=N.util.newFieldList(()=>[{no:1,name:"seconds",kind:"scalar",T:3},{no:2,name:"nanos",kind:"scalar",T:5}]);class Qi extends Wi{constructor(o){super(),this.typeUrl="",this.value=new Uint8Array(0),N.util.initPartial(o,this)}toJson(o){var s;if(this.typeUrl==="")return{};const m=this.typeUrlToName(this.typeUrl),p=(s=o==null?void 0:o.typeRegistry)===null||s===void 0?void 0:s.findMessage(m);if(!p)throw new Error(`cannot encode message google.protobuf.Any to JSON: "${this.typeUrl}" is not in the type registry`);let g=p.fromBinary(this.value).toJson(o);return(m.startsWith("google.protobuf.")||g===null||Array.isArray(g)||typeof g!="object")&&(g={value:g}),g["@type"]=this.typeUrl,g}fromJson(o,s){var m;if(o===null||Array.isArray(o)||typeof o!="object")throw new Error(`cannot decode message google.protobuf.Any from JSON: expected object but got ${o===null?"null":Array.isArray(o)?"array":typeof o}`);if(Object.keys(o).length==0)return this;const p=o["@type"];if(typeof p!="string"||p=="")throw new Error('cannot decode message google.protobuf.Any from JSON: "@type" is empty');const v=this.typeUrlToName(p),g=(m=s==null?void 0:s.typeRegistry)===null||m===void 0?void 0:m.findMessage(v);if(!g)throw new Error(`cannot decode message google.protobuf.Any from JSON: ${p} is not in the type registry`);let T;if(v.startsWith("google.protobuf.")&&Object.prototype.hasOwnProperty.call(o,"value"))T=g.fromJson(o.value,s);else{const I=Object.assign({},o);delete I["@type"],T=g.fromJson(I,s)}return this.packFrom(T),this}packFrom(o){this.value=o.toBinary(),this.typeUrl=this.typeNameToUrl(o.getType().typeName)}unpackTo(o){return this.is(o.getType())?(o.fromBinary(this.value),!0):!1}unpack(o){if(this.typeUrl==="")return;const s=o.findMessage(this.typeUrlToName(this.typeUrl));if(s)return s.fromBinary(this.value)}is(o){if(this.typeUrl==="")return!1;const s=this.typeUrlToName(this.typeUrl);let m="";return typeof o=="string"?m=o:m=o.typeName,s===m}typeNameToUrl(o){return`type.googleapis.com/${o}`}typeUrlToName(o){if(!o.length)throw new Error(`invalid type url: ${o}`);const s=o.lastIndexOf("/"),m=s>0?o.substring(s+1):o;if(!m.length)throw new Error(`invalid type url: ${o}`);return m}static pack(o){const s=new Qi;return s.packFrom(o),s}static fromBinary(o,s){return new Qi().fromBinary(o,s)}static fromJson(o,s){return new Qi().fromJson(o,s)}static fromJsonString(o,s){return new Qi().fromJsonString(o,s)}static equals(o,s){return N.util.equals(Qi,o,s)}}Qi.runtime=N;Qi.typeName="google.protobuf.Any";Qi.fields=N.util.newFieldList(()=>[{no:1,name:"type_url",kind:"scalar",T:9},{no:2,name:"value",kind:"scalar",T:12}]);N.makeEnum("streamlayer.analytics.v1.common.ResultStatus",[{no:0,name:"RESULT_STATUS_UNSET",localName:"UNSET"},{no:1,name:"RESULT_STATUS_OK",localName:"OK"},{no:2,name:"RESULT_STATUS_ERROR",localName:"ERROR"}]);N.makeEnum("streamlayer.analytics.v1.common.Kind",[{no:0,name:"KIND_UNSET",localName:"UNSET"},{no:1,name:"KIND_VIEWERS",localName:"VIEWERS"},{no:2,name:"KIND_EVENT_OPENED",localName:"EVENT_OPENED"},{no:3,name:"KIND_AUTHENTICATION_ATTEMPTED",localName:"AUTHENTICATION_ATTEMPTED"},{no:4,name:"KIND_AUTHENTICATION_COMPLETED",localName:"AUTHENTICATION_COMPLETED"},{no:5,name:"KIND_LAUNCH_BUTTON",localName:"LAUNCH_BUTTON"},{no:6,name:"KIND_PERMISSION_PROVIDED",localName:"PERMISSION_PROVIDED"},{no:7,name:"KIND_PERMISSION_NOT_PROVIDED",localName:"PERMISSION_NOT_PROVIDED"},{no:8,name:"KIND_INTERACTIONS",localName:"INTERACTIONS"},{no:9,name:"KIND_CONVERSATION_CREATED",localName:"CONVERSATION_CREATED"},{no:10,name:"KIND_CONVERSATION_JOINED",localName:"CONVERSATION_JOINED"},{no:11,name:"KIND_CONVERSATION_DELETED",localName:"CONVERSATION_DELETED"},{no:12,name:"KIND_NEW_CALL",localName:"NEW_CALL"},{no:13,name:"KIND_CALL_JOINED",localName:"CALL_JOINED"},{no:14,name:"KIND_CALL_FINISHED",localName:"CALL_FINISHED"},{no:15,name:"KIND_INVITATION_SENT",localName:"INVITATION_SENT"},{no:16,name:"KIND_INVITATION_ACCEPTED",localName:"INVITATION_ACCEPTED"},{no:17,name:"KIND_WAVES_SENT",localName:"WAVES_SENT"},{no:18,name:"KIND_WAVES_REPLIES",localName:"WAVES_REPLIES"},{no:19,name:"KIND_NOTIFICATION_RECEIVED",localName:"NOTIFICATION_RECEIVED"},{no:20,name:"KIND_NOTIFICATION_OPENED",localName:"NOTIFICATION_OPENED"},{no:21,name:"KIND_SESSION_HEARTBEAT",localName:"SESSION_HEARTBEAT"},{no:22,name:"KIND_CONVERSATION_OPENED",localName:"CONVERSATION_OPENED"},{no:23,name:"KIND_GROUP_CONVERSATION_OPENED",localName:"GROUP_CONVERSATION_OPENED"},{no:24,name:"KIND_GROUP_CALL_JOINED",localName:"GROUP_CALL_JOINED"},{no:25,name:"KIND_POLLS_VOTE",localName:"POLLS_VOTE"},{no:26,name:"KIND_POLLS_RECEIVED",localName:"POLLS_RECEIVED"},{no:27,name:"KIND_POLLS_OPENED",localName:"POLLS_OPENED"},{no:28,name:"KIND_GAMES_JOINED",localName:"GAMES_JOINED"},{no:29,name:"KIND_BUTTON_INITIALIZED",localName:"BUTTON_INITIALIZED"},{no:30,name:"KIND_POLLS_NAVIGATED",localName:"POLLS_NAVIGATED"}]);N.makeEnum("streamlayer.analytics.v1.common.Category",[{no:0,name:"CATEGORY_UNSET",localName:"UNSET"},{no:1,name:"CATEGORY_STATS_HOME",localName:"STATS_HOME"},{no:2,name:"CATEGORY_STATS",localName:"STATS"},{no:3,name:"CATEGORY_TWITTER_HOME",localName:"TWITTER_HOME"},{no:4,name:"CATEGORY_TWITTER",localName:"TWITTER"},{no:5,name:"CATEGORY_MESSAGING_HOME",localName:"MESSAGING_HOME"},{no:6,name:"CATEGORY_MESSAGING",localName:"MESSAGING"},{no:7,name:"CATEGORY_CALLING_HOME",localName:"CALLING_HOME"},{no:8,name:"CATEGORY_CALLING",localName:"CALLING"},{no:9,name:"CATEGORY_PROFILE_HOME",localName:"PROFILE_HOME"},{no:10,name:"CATEGORY_PROFILE",localName:"PROFILE"},{no:11,name:"CATEGORY_WHOISWATCHING",localName:"WHOISWATCHING"},{no:12,name:"CATEGORY_WHOISWATCHING_HOME",localName:"WHOISWATCHING_HOME"},{no:13,name:"CATEGORY_INTERSTITIAL",localName:"INTERSTITIAL"},{no:14,name:"CATEGORY_BETTING",localName:"BETTING"},{no:15,name:"CATEGORY_BETTING_HOME",localName:"BETTING_HOME"},{no:16,name:"CATEGORY_INPLAY",localName:"INPLAY"},{no:17,name:"CATEGORY_INPLAY_HOME",localName:"INPLAY_HOME"},{no:18,name:"CATEGORY_MERCHANDISE",localName:"MERCHANDISE"},{no:19,name:"CATEGORY_MERCHANDISE_HOME",localName:"MERCHANDISE_HOME"},{no:20,name:"CATEGORY_CONTESTS",localName:"CONTESTS"},{no:21,name:"CATEGORY_CONTESTS_HOME",localName:"CONTESTS_HOME"},{no:22,name:"CATEGORY_TICKETS",localName:"TICKETS"},{no:23,name:"CATEGORY_TICKETS_HOME",localName:"TICKETS_HOME"},{no:24,name:"CATEGORY_INVITATION",localName:"INVITATION"},{no:25,name:"CATEGORY_INVITATION_HOME",localName:"INVITATION_HOME"},{no:26,name:"CATEGORY_POLLS",localName:"POLLS"},{no:27,name:"CATEGORY_POLLS_HOME",localName:"POLLS_HOME"},{no:28,name:"CATEGORY_FANTASY",localName:"FANTASY"},{no:29,name:"CATEGORY_WP",localName:"WP"},{no:30,name:"CATEGORY_HIGHLIGHTS_HOME",localName:"HIGHLIGHTS_HOME"},{no:31,name:"CATEGORY_HIGHLIGHTS",localName:"HIGHLIGHTS"},{no:32,name:"CATEGORY_PUBLIC_CHAT_HOME",localName:"PUBLIC_CHAT_HOME"},{no:33,name:"CATEGORY_PUBLIC_CHAT",localName:"PUBLIC_CHAT"}]);N.makeEnum("streamlayer.analytics.v1.common.ScreenOrientation",[{no:0,name:"SCREEN_ORIENTATION_UNSET",localName:"UNSET"},{no:1,name:"SCREEN_ORIENTATION_PORTRAIT",localName:"PORTRAIT"},{no:2,name:"SCREEN_ORIENTATION_LANDSCAPE",localName:"LANDSCAPE"}]);N.makeEnum("streamlayer.analytics.v1.common.TopicType",[{no:0,name:"TOPIC_TYPE_UNSET",localName:"UNSET"},{no:1,name:"TOPIC_TYPE_CALL",localName:"CALL"},{no:2,name:"TOPIC_TYPE_CHAT",localName:"CHAT"},{no:3,name:"TOPIC_TYPE_FANTASY",localName:"FANTASY"},{no:4,name:"TOPIC_TYPE_POLLS",localName:"POLLS"},{no:5,name:"TOPIC_TYPE_POLLS_POLL",localName:"POLLS_POLL"},{no:6,name:"TOPIC_TYPE_POLLS_TRIVIA",localName:"POLLS_TRIVIA"},{no:7,name:"TOPIC_TYPE_POLLS_PREDICTION",localName:"POLLS_PREDICTION"},{no:8,name:"TOPIC_TYPE_POLLS_INSIGHT",localName:"POLLS_INSIGHT"},{no:9,name:"TOPIC_TYPE_POLLS_TWITTER",localName:"POLLS_TWITTER"},{no:10,name:"TOPIC_TYPE_LINK",localName:"LINK"},{no:11,name:"TOPIC_TYPE_MESSAGE",localName:"MESSAGE"},{no:12,name:"TOPIC_TYPE_POLLS_PROMOTION",localName:"POLLS_PROMOTION"},{no:13,name:"TOPIC_TYPE_PUBLIC_CHAT",localName:"PUBLIC_CHAT"}]);const oA=N.makeEnum("streamlayer.analytics.v1.common.TopicSubType",[{no:0,name:"TOPIC_SUB_TYPE_UNSET",localName:"UNSET"},{no:1,name:"TOPIC_SUB_TYPE_PROMOTION_INGAME_IAB21",localName:"PROMOTION_INGAME_IAB21"},{no:2,name:"TOPIC_SUB_TYPE_PROMOTION_INGAME_IAB11",localName:"PROMOTION_INGAME_IAB11"},{no:3,name:"TOPIC_SUB_TYPE_PROMOTION_INGAME_IAB61",localName:"PROMOTION_INGAME_IAB61"},{no:4,name:"TOPIC_SUB_TYPE_PROMOTION_INGAME_IAB21_LBAR",localName:"PROMOTION_INGAME_IAB21_LBAR"},{no:5,name:"TOPIC_SUB_TYPE_PROMOTION_INGAME_IAB11_LBAR",localName:"PROMOTION_INGAME_IAB11_LBAR"},{no:6,name:"TOPIC_SUB_TYPE_PROMOTION_INGAME_IAB21_LBAR_ADDITIONAL",localName:"PROMOTION_INGAME_IAB21_LBAR_ADDITIONAL"},{no:7,name:"TOPIC_SUB_TYPE_PROMOTION_INGAME_IAB11_LBAR_ADDITIONAL",localName:"PROMOTION_INGAME_IAB11_LBAR_ADDITIONAL"}]);N.makeEnum("streamlayer.analytics.v1.common.PollOpenedFrom",[{no:0,name:"POLL_OPENED_FROM_UNSET",localName:"UNSET"},{no:1,name:"POLL_OPENED_FROM_IN_APP",localName:"IN_APP"},{no:2,name:"POLL_OPENED_FROM_HISTORY",localName:"HISTORY"},{no:3,name:"POLL_OPENED_FROM_PICK_HISTORY",localName:"PICK_HISTORY"},{no:4,name:"POLL_OPENED_FROM_INSIGHT_HISTORY",localName:"INSIGHT_HISTORY"},{no:5,name:"POLL_OPENED_FROM_TWEETS_HISTORY",localName:"TWEETS_HISTORY"},{no:6,name:"POLL_OPENED_FROM_PROMOTION_HISTORY",localName:"PROMOTION_HISTORY"}]);N.makeEnum("streamlayer.analytics.v1.common.EntityType",[{no:0,name:"UNSET"},{no:1,name:"EVENT"},{no:2,name:"USER"},{no:3,name:"DEVICE"},{no:4,name:"QUESTION"}]);N.makeMessageType("streamlayer.analytics.v1.common.Period",()=>[{no:1,name:"from",kind:"message",T:Ur},{no:2,name:"to",kind:"message",T:Ur}]);const Kt=N.makeEnum("streamlayer.interactive.QuestionType",[{no:0,name:"QUESTION_TYPE_UNSET",localName:"UNSET"},{no:1,name:"QUESTION_TYPE_POLL",localName:"POLL"},{no:2,name:"QUESTION_TYPE_TRIVIA",localName:"TRIVIA"},{no:3,name:"QUESTION_TYPE_PREDICTION",localName:"PREDICTION"},{no:4,name:"QUESTION_TYPE_FACTOID",localName:"FACTOID"},{no:5,name:"QUESTION_TYPE_TWEET",localName:"TWEET"},{no:6,name:"QUESTION_TYPE_PROMOTION",localName:"PROMOTION"}]),iA=N.makeEnum("streamlayer.interactive.QuestionSource",[{no:0,name:"QUESTION_SOURCE_UNSET",localName:"UNSET"},{no:1,name:"QUESTION_SOURCE_AI",localName:"AI"},{no:2,name:"QUESTION_SOURCE_CSV_IMPORT",localName:"CSV_IMPORT"}]),ao=N.makeEnum("streamlayer.interactive.QuestionStatus",[{no:0,name:"QUESTION_STATUS_UNSET",localName:"UNSET"},{no:1,name:"QUESTION_STATUS_NOT_SCHEDULED",localName:"NOT_SCHEDULED"},{no:2,name:"QUESTION_STATUS_SCHEDULED",localName:"SCHEDULED"},{no:3,name:"QUESTION_STATUS_ACTIVE",localName:"ACTIVE"},{no:4,name:"QUESTION_STATUS_RESOLVED",localName:"RESOLVED"}]),sA=N.makeEnum("streamlayer.interactive.QuestionPosition",[{no:0,name:"QUESTION_POSITION_UNSET",localName:"UNSET"},{no:1,name:"QUESTION_POSITION_DEFAULT",localName:"DEFAULT"},{no:2,name:"QUESTION_POSITION_FIXED_BOTTOM",localName:"FIXED_BOTTOM"}]),lA=N.makeEnum("streamlayer.interactive.QuestionLayout",[{no:0,name:"QUESTION_LAYOUT_UNSET",localName:"UNSET"},{no:1,name:"QUESTION_LAYOUT_LIST_VIEW",localName:"LIST_VIEW"},{no:2,name:"QUESTION_LAYOUT_GRID_VIEW",localName:"GRID_VIEW"}]),lp=N.makeEnum("streamlayer.interactive.QuestionImages",[{no:0,name:"QUESTION_IMAGES_UNSET",localName:"UNSET"},{no:1,name:"QUESTION_IMAGES_NONE",localName:"NONE"},{no:2,name:"QUESTION_IMAGES_ROUNDED",localName:"ROUNDED"},{no:3,name:"QUESTION_IMAGES_TRANSPARENT",localName:"TRANSPARENT"},{no:4,name:"QUESTION_IMAGES_CENTERED",localName:"CENTERED"}]),m7=N.makeEnum("streamlayer.interactive.ImagePosition",[{no:0,name:"IMAGE_POSITION_UNSET",localName:"UNSET"},{no:1,name:"IMAGE_POSITION_LEFT",localName:"LEFT"},{no:2,name:"IMAGE_POSITION_RIGHT",localName:"RIGHT"}]),uA=N.makeEnum("streamlayer.interactive.PromotionType",[{no:0,name:"PROMOTION_TYPE_UNSET",localName:"UNSET"},{no:1,name:"PROMOTION_TYPE_INGAME_IAB21",localName:"INGAME_IAB21"},{no:2,name:"PROMOTION_TYPE_INGAME_IAB11",localName:"INGAME_IAB11"},{no:3,name:"PROMOTION_TYPE_INGAME_IAB61",localName:"INGAME_IAB61"},{no:4,name:"PROMOTION_TYPE_INGAME_IAB11_LBAR",localName:"INGAME_IAB11_LBAR"},{no:5,name:"PROMOTION_TYPE_INGAME_IAB21_LBAR",localName:"INGAME_IAB21_LBAR"}]),cA=N.makeEnum("streamlayer.interactive.PromotionWallet",[{no:0,name:"PROMOTION_WALLET_UNSET",localName:"UNSET"},{no:1,name:"PROMOTION_WALLET_ENABLED",localName:"ENABLED"},{no:2,name:"PROMOTION_WALLET_DISABLED",localName:"DISABLED"}]),dA=N.makeEnum("streamlayer.interactive.QuestionAutoPostState",[{no:0,name:"QUESTION_AUTO_POST_STATE_UNSET",localName:"UNSET"},{no:1,name:"QUESTION_AUTO_POST_STATE_ON",localName:"ON"},{no:2,name:"QUESTION_AUTO_POST_STATE_OFF",localName:"OFF"},{no:3,name:"QUESTION_AUTO_POST_STATE_PAUSED",localName:"PAUSED"},{no:4,name:"QUESTION_AUTO_POST_STATE_IDLE",localName:"IDLE"},{no:5,name:"QUESTION_AUTO_POST_STATE_RESET",localName:"RESET"}]),fA=N.makeEnum("streamlayer.interactive.QuestionAutoPostStart",[{no:0,name:"QUESTION_AUTO_POST_START_UNSET",localName:"UNSET"},{no:1,name:"QUESTION_AUTO_POST_START_SCHEDULE",localName:"SCHEDULE"},{no:2,name:"QUESTION_AUTO_POST_START_NOW",localName:"NOW"}]),pA=N.makeEnum("streamlayer.interactive.QuestionSkipReason",[{no:0,name:"QUESTION_SKIP_REASON_UNSET",localName:"UNSET"},{no:1,name:"QUESTION_SKIP_REASON_OVERDUE",localName:"OVERDUE"}]),h7=N.makeEnum("streamlayer.interactive.SilenceSetting",[{no:0,name:"SILENCE_SETTING_UNSET",localName:"UNSET"},{no:1,name:"SILENCE_SETTING_ON",localName:"ON"},{no:2,name:"SILENCE_SETTING_OFF",localName:"OFF"}]),mA=N.makeEnum("streamlayer.interactive.ImportStatus",[{no:0,name:"IMPORT_STATUS_UNSET",localName:"UNSET"},{no:1,name:"IMPORT_STATUS_PLANNED",localName:"PLANNED"},{no:2,name:"IMPORT_STATUS_RUNNING",localName:"RUNNING"},{no:3,name:"IMPORT_STATUS_COMPLETED",localName:"COMPLETED"},{no:4,name:"IMPORT_STATUS_FAILED",localName:"FAILED"}]),PT=N.makeMessageType("streamlayer.interactive.QuestionAppearance",()=>[{no:1,name:"layout",kind:"enum",T:N.getEnumType(lA)},{no:2,name:"images",kind:"enum",T:N.getEnumType(lp)},{no:3,name:"primary_color",kind:"scalar",T:9},{no:4,name:"position",kind:"enum",T:N.getEnumType(sA)},{no:5,name:"auto_hide_interval",kind:"scalar",T:4}]),up=N.makeMessageType("streamlayer.interactive.Sponsorship",()=>[{no:1,name:"logo",kind:"scalar",T:9},{no:2,name:"name",kind:"scalar",T:9}]),xy=N.makeMessageType("streamlayer.interactive.QuestionNotification",()=>[{no:1,name:"title",kind:"scalar",T:9},{no:2,name:"image",kind:"scalar",T:9},{no:3,name:"indicator_color",kind:"scalar",T:9},{no:4,name:"image_position",kind:"enum",T:N.getEnumType(m7)},{no:5,name:"body",kind:"scalar",T:9},{no:6,name:"image_mode",kind:"enum",T:N.getEnumType(lp)}]),hA=N.makeMessageType("streamlayer.interactive.QuestionAnswer",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"text",kind:"scalar",T:9},{no:3,name:"icon",kind:"scalar",T:9},{no:4,name:"correct",kind:"scalar",T:8},{no:5,name:"points",kind:"scalar",T:13}]),gA=N.makeMessageType("streamlayer.interactive.ExtendedQuestionAnswer",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"text",kind:"scalar",T:9},{no:3,name:"icon",kind:"scalar",T:9},{no:4,name:"correct",kind:"scalar",T:8},{no:5,name:"points",kind:"scalar",T:13},{no:6,name:"percentage",kind:"scalar",T:13},{no:7,name:"you_voted",kind:"scalar",T:8},{no:8,name:"percentage_decimal",kind:"scalar",T:1}]),eu=N.makeMessageType("streamlayer.interactive.AnswerFeedback",()=>[{no:1,name:"title",kind:"scalar",T:9},{no:2,name:"description",kind:"scalar",T:9}]),UT=N.makeMessageType("streamlayer.interactive.FileLink",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"url",kind:"scalar",T:9},{no:3,name:"thumbnail_url",kind:"scalar",T:9}]),g7=N.makeMessageType("streamlayer.interactive.WebLink",()=>[{no:1,name:"label",kind:"scalar",T:9},{no:2,name:"url",kind:"scalar",T:9}]),yA=N.makeMessageType("streamlayer.interactive.CTAButton",()=>[{no:1,name:"label",kind:"scalar",T:9},{no:2,name:"color",kind:"scalar",T:9}]),ab=N.makeMessageType("streamlayer.interactive.Banner",()=>[{no:1,name:"image_url",kind:"scalar",T:9},{no:2,name:"url",kind:"scalar",T:9},{no:3,name:"cta_button",kind:"message",T:yA},{no:4,name:"video",kind:"message",T:UT},{no:5,name:"body",kind:"scalar",T:9,opt:!0},{no:6,name:"analytics_topic_sub_type",kind:"enum",T:N.getEnumType(oA),opt:!0}]),jT=N.makeMessageType("streamlayer.interactive.QuestionOptions",()=>[{no:1,name:"poll",kind:"message",T:vA,oneof:"options"},{no:2,name:"trivia",kind:"message",T:TA,oneof:"options"},{no:3,name:"prediction",kind:"message",T:kA,oneof:"options"},{no:4,name:"factoid",kind:"message",T:bA,oneof:"options"},{no:5,name:"tweet",kind:"message",T:wA,oneof:"options"},{no:6,name:"promotion",kind:"message",T:EA,oneof:"options"}]),vA=N.makeMessageType("streamlayer.interactive.QuestionOptions.PollOptions",[],{localName:"QuestionOptions_PollOptions"}),TA=N.makeMessageType("streamlayer.interactive.QuestionOptions.TriviaOptions",()=>[{no:1,name:"correct_feedback",kind:"message",T:eu},{no:2,name:"incorrect_feedback",kind:"message",T:eu},{no:3,name:"points",kind:"scalar",T:4}],{localName:"QuestionOptions_TriviaOptions"}),kA=N.makeMessageType("streamlayer.interactive.QuestionOptions.PredictionOptions",()=>[{no:1,name:"correct_feedback",kind:"message",T:eu},{no:2,name:"incorrect_feedback",kind:"message",T:eu}],{localName:"QuestionOptions_PredictionOptions"}),bA=N.makeMessageType("streamlayer.interactive.QuestionOptions.FactoidOptions",()=>[{no:1,name:"image",kind:"scalar",T:9},{no:2,name:"body",kind:"scalar",T:9},{no:3,name:"video",kind:"message",T:UT},{no:4,name:"web_link",kind:"message",T:g7}],{localName:"QuestionOptions_FactoidOptions"}),wA=N.makeMessageType("streamlayer.interactive.QuestionOptions.TweetOptions",()=>[{no:1,name:"tweet_url",kind:"scalar",T:9},{no:2,name:"tweet_id",kind:"scalar",T:9},{no:3,name:"tweet_meta",kind:"message",T:SA}],{localName:"QuestionOptions_TweetOptions"}),SA=N.makeMessageType("streamlayer.interactive.QuestionOptions.TweetOptions.TweetMetadata",()=>[{no:1,name:"account",kind:"scalar",T:9},{no:2,name:"account_verified",kind:"scalar",T:8},{no:3,name:"has_media",kind:"scalar",T:8}],{localName:"QuestionOptions_TweetOptions_TweetMetadata"}),EA=N.makeMessageType("streamlayer.interactive.QuestionOptions.PromotionOptions",()=>[{no:1,name:"type",kind:"enum",T:N.getEnumType(uA)},{no:2,name:"sponsor",kind:"message",T:up},{no:3,name:"banner",kind:"message",T:ab},{no:4,name:"enable_wallet",kind:"enum",T:N.getEnumType(cA)},{no:5,name:"additional_banner",kind:"message",T:ab}],{localName:"QuestionOptions_PromotionOptions"}),NA=N.makeMessageType("streamlayer.interactive.Tag",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"label",kind:"scalar",T:9},{no:3,name:"last_used_time",kind:"scalar",T:4}]),MA=N.makeMessageType("streamlayer.interactive.QuestionAi",()=>[{no:1,name:"verified",kind:"scalar",T:8}]),y7=N.makeMessageType("streamlayer.interactive.Question",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"enum",T:N.getEnumType(Kt)},{no:3,name:"subject",kind:"scalar",T:9,opt:!0},{no:4,name:"options",kind:"message",T:jT},{no:5,name:"appearance",kind:"message",T:PT},{no:6,name:"sponsorship",kind:"message",T:up},{no:7,name:"notification",kind:"message",T:xy},{no:8,name:"answers",kind:"message",T:hA,repeated:!0},{no:9,name:"status",kind:"enum",T:N.getEnumType(ao)},{no:10,name:"position",kind:"scalar",T:13,opt:!0},{no:11,name:"market_closed",kind:"scalar",T:8},{no:12,name:"activated_at",kind:"scalar",T:9},{no:13,name:"answer_set_at",kind:"scalar",T:9},{no:14,name:"overrides",kind:"map",K:9,V:{kind:"scalar",T:8}},{no:15,name:"event_id",kind:"scalar",T:9},{no:16,name:"stream_timestamp",kind:"message",T:Ur},{no:17,name:"tags",kind:"message",T:NA,repeated:!0},{no:18,name:"bypass_notifications",kind:"message",T:BT},{no:19,name:"import_id",kind:"scalar",T:9},{no:20,name:"activation_trigger_count",kind:"scalar",T:13,opt:!0},{no:21,name:"source",kind:"enum",T:N.getEnumType(iA)},{no:22,name:"ai",kind:"message",T:MA}]),zT=N.makeMessageType("streamlayer.interactive.ExtendedQuestion",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"enum",T:N.getEnumType(Kt)},{no:3,name:"subject",kind:"scalar",T:9},{no:4,name:"options",kind:"message",T:jT},{no:5,name:"appearance",kind:"message",T:PT},{no:6,name:"sponsorship",kind:"message",T:up},{no:7,name:"notification",kind:"message",T:xy},{no:8,name:"answers",kind:"message",T:gA,repeated:!0},{no:9,name:"status",kind:"enum",T:N.getEnumType(ao)},{no:10,name:"position",kind:"scalar",T:13},{no:11,name:"market_closed",kind:"scalar",T:8},{no:12,name:"activated_at",kind:"scalar",T:9},{no:13,name:"answer_set_at",kind:"scalar",T:9},{no:14,name:"event_id",kind:"scalar",T:9},{no:15,name:"bypass_notifications",kind:"message",T:BT}]);N.makeMessageType("streamlayer.interactive.QuestionTimeline",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"enum",T:N.getEnumType(Kt)},{no:3,name:"subject",kind:"scalar",T:9},{no:4,name:"activated_at",kind:"scalar",T:9},{no:5,name:"status",kind:"enum",T:N.getEnumType(ao)},{no:6,name:"options",kind:"message",T:jT},{no:7,name:"notification",kind:"message",T:xy}]);const v7=N.makeMessageType("streamlayer.interactive.EventModeration",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"event_id",kind:"scalar",T:9},{no:3,name:"sponsorship",kind:"message",T:up},{no:4,name:"onboarding_enabled",kind:"scalar",T:8},{no:5,name:"question",kind:"message",T:IA},{no:6,name:"sponsors",kind:"message",T:AA},{no:7,name:"notification",kind:"message",T:OA},{no:8,name:"activated_at",kind:"message",T:Ur},{no:9,name:"deactivated_at",kind:"message",T:Ur},{no:10,name:"question_auto_post",kind:"message",T:xA},{no:11,name:"bypass_notifications",kind:"message",T:BT},{no:12,name:"importer_collaboration",kind:"message",T:FA}]),IA=N.makeMessageType("streamlayer.interactive.EventModeration.QuestionSettings",()=>[{no:1,name:"appearance",kind:"message",T:PT},{no:2,name:"trivia",kind:"message",T:_A},{no:3,name:"prediction",kind:"message",T:CA},{no:4,name:"correct_feedbacks",kind:"message",T:eu,repeated:!0},{no:5,name:"incorrect_feedbacks",kind:"message",T:eu,repeated:!0}],{localName:"EventModeration_QuestionSettings"}),_A=N.makeMessageType("streamlayer.interactive.EventModeration.QuestionSettings.TriviaCardSettings",()=>[{no:1,name:"points",kind:"scalar",T:13}],{localName:"EventModeration_QuestionSettings_TriviaCardSettings"}),CA=N.makeMessageType("streamlayer.interactive.EventModeration.QuestionSettings.PredictionCardSettings",()=>[{no:1,name:"max_points",kind:"scalar",T:13}],{localName:"EventModeration_QuestionSettings_PredictionCardSettings"}),AA=N.makeMessageType("streamlayer.interactive.EventModeration.SponsorshipSettings",()=>[{no:1,name:"sponsors",kind:"message",T:up,repeated:!0}],{localName:"EventModeration_SponsorshipSettings"}),OA=N.makeMessageType("streamlayer.interactive.EventModeration.NotificationSettings",()=>[{no:1,name:"image",kind:"scalar",T:9},{no:2,name:"indicator_color",kind:"scalar",T:9},{no:3,name:"image_position",kind:"enum",T:N.getEnumType(m7)},{no:4,name:"image_mode",kind:"enum",T:N.getEnumType(lp)}],{localName:"EventModeration_NotificationSettings"}),xA=N.makeMessageType("streamlayer.interactive.QuestionAutoPost",()=>[{no:1,name:"state",kind:"enum",T:N.getEnumType(dA)},{no:2,name:"interval",kind:"scalar",T:13},{no:3,name:"next_post_time",kind:"message",T:Ur},{no:4,name:"start_mode",kind:"enum",T:N.getEnumType(fA)},{no:5,name:"start_options",kind:"message",T:LA}]),LA=N.makeMessageType("streamlayer.interactive.QuestionAutoPostStartOptions",()=>[{no:1,name:"schedule",kind:"message",T:RA,oneof:"options"}]),RA=N.makeMessageType("streamlayer.interactive.QuestionAutoPostStartOptions.ScheduleOptions",()=>[{no:1,name:"timestamp",kind:"scalar",T:4}],{localName:"QuestionAutoPostStartOptions_ScheduleOptions"});N.makeMessageType("streamlayer.interactive.AnswerData",()=>[{no:1,name:"answer_id",kind:"scalar",T:9},{no:2,name:"percentage",kind:"scalar",T:13}]);const Ly=N.makeMessageType("streamlayer.interactive.Pagination",()=>[{no:1,name:"page",kind:"scalar",T:5},{no:2,name:"page_size",kind:"scalar",T:5},{no:3,name:"cursor",kind:"scalar",T:9}]),DA=N.makeMessageType("streamlayer.interactive.Sort",()=>[{no:1,name:"field",kind:"scalar",T:9},{no:2,name:"order",kind:"scalar",T:9}]);N.makeMessageType("streamlayer.interactive.QuestionStats",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"question",kind:"message",T:PA},{no:3,name:"statistics",kind:"message",T:UA,repeated:!0}]);const PA=N.makeMessageType("streamlayer.interactive.QuestionStats.QuestionData",()=>[{no:1,name:"status",kind:"enum",T:N.getEnumType(ao)}],{localName:"QuestionStats_QuestionData"}),UA=N.makeMessageType("streamlayer.interactive.AnswerVotesStats",()=>[{no:1,name:"answer_id",kind:"scalar",T:9},{no:2,name:"votes",kind:"message",T:jA}]),jA=N.makeMessageType("streamlayer.interactive.AnswerVotesStats.AnswerVotesData",()=>[{no:1,name:"count",kind:"scalar",T:13},{no:2,name:"percentage",kind:"scalar",T:13}],{localName:"AnswerVotesStats_AnswerVotesData"});N.makeMessageType("streamlayer.interactive.ServerNotificationOptions",()=>[{no:1,name:"silence",kind:"scalar",T:8},{no:2,name:"skip_update",kind:"scalar",T:8}]);const BT=N.makeMessageType("streamlayer.interactive.BypassNotifications",()=>[{no:1,name:"in_app_silence",kind:"enum",T:N.getEnumType(h7)}]),zA=N.makeMessageType("streamlayer.interactive.ImportError",()=>[{no:1,name:"row_id",kind:"scalar",T:9},{no:2,name:"message",kind:"scalar",T:9}]),BA=N.makeMessageType("streamlayer.interactive.ImportProgress",()=>[{no:1,name:"import_id",kind:"scalar",T:9},{no:2,name:"status",kind:"enum",T:N.getEnumType(mA)},{no:3,name:"errors",kind:"message",T:zA,repeated:!0},{no:4,name:"last_updated",kind:"message",T:Ur}]),FA=N.makeMessageType("streamlayer.interactive.ImporterCollaboration",()=>[{no:1,name:"imports",kind:"map",K:9,V:{kind:"message",T:BA}}]),T7=N.makeEnum("streamlayer.interactive.feed.PickHistoryStatus",[{no:0,name:"PICK_HISTORY_STATUS_UNSET",localName:"UNSET"},{no:1,name:"PICK_HISTORY_STATUS_WON",localName:"WON"},{no:2,name:"PICK_HISTORY_STATUS_LOST",localName:"LOST"},{no:3,name:"PICK_HISTORY_STATUS_DNP",localName:"DNP"}]),VA=N.makeEnum("streamlayer.interactive.feed.FeedUpdateType",[{no:0,name:"UPDATE_TYPE_UNSET"},{no:1,name:"UPDATE_TYPE_QUESTION_ACTIVATE"},{no:2,name:"UPDATE_TYPE_QUESTION_SET_CORRECT_ANSWER"},{no:3,name:"UPDATE_TYPE_QUESTION_RESOLVE"}]),k7=N.makeMessageType("streamlayer.interactive.feed.FeedQuestion",()=>[{no:1,name:"question",kind:"message",T:y7},{no:2,name:"notification",kind:"message",T:xy},{no:3,name:"moderation",kind:"message",T:v7}]),YA=N.makeMessageType("streamlayer.interactive.feed.SubscriptionRequest",()=>[{no:1,name:"event_id",kind:"scalar",T:9},{no:2,name:"feed_id",kind:"scalar",T:9}]),QA=N.makeMessageType("streamlayer.interactive.feed.SubscriptionResponse",()=>[{no:1,name:"data",kind:"message",T:GA}]),GA=N.makeMessageType("streamlayer.interactive.feed.SubscriptionResponse.SubscriptionResponseData",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"message",T:k7}],{localName:"SubscriptionResponse_SubscriptionResponseData"}),HA=N.makeMessageType("streamlayer.interactive.feed.VotingSubscriptionRequest",()=>[{no:1,name:"feed_id",kind:"scalar",T:9},{no:2,name:"question_id",kind:"scalar",T:9}]),$A=N.makeMessageType("streamlayer.interactive.feed.VotingSubscriptionResponse",()=>[{no:1,name:"data",kind:"message",T:qA}]),qA=N.makeMessageType("streamlayer.interactive.feed.VotingSubscriptionResponse.VotingSubscriptionResponseData",()=>[{no:1,name:"question_id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"message",T:FT,repeated:!0}],{localName:"VotingSubscriptionResponse_VotingSubscriptionResponseData"}),WA=N.makeMessageType("streamlayer.interactive.feed.QuestionSubscription",()=>[{no:1,name:"question",kind:"message",T:zT}]),KA=N.makeMessageType("streamlayer.interactive.feed.QuestionSubscriptionRequest",()=>[{no:1,name:"question_id",kind:"scalar",T:9}]),ZA=N.makeMessageType("streamlayer.interactive.feed.QuestionSubscriptionResponse",()=>[{no:1,name:"data",kind:"message",T:JA}]),JA=N.makeMessageType("streamlayer.interactive.feed.QuestionSubscriptionResponse.QuestionSubscriptionResponseData",()=>[{no:1,name:"question_id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"message",T:WA}],{localName:"QuestionSubscriptionResponse_QuestionSubscriptionResponseData"}),XA=N.makeMessageType("streamlayer.interactive.feed.QuestionByUser",()=>[{no:1,name:"question",kind:"message",T:zT}]),eO=N.makeMessageType("streamlayer.interactive.feed.QuestionByUserRequest",()=>[{no:1,name:"question_id",kind:"scalar",T:9}]),tO=N.makeMessageType("streamlayer.interactive.feed.QuestionByUserResponse",()=>[{no:1,name:"data",kind:"message",T:nO}]),nO=N.makeMessageType("streamlayer.interactive.feed.QuestionByUserResponse.QuestionByUserResponseData",()=>[{no:1,name:"question_id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"message",T:XA}],{localName:"QuestionByUserResponse_QuestionByUserResponseData"}),rO=N.makeMessageType("streamlayer.interactive.feed.SyncQuestionRequest",()=>[{no:1,name:"filter",kind:"message",T:aO}]),aO=N.makeMessageType("streamlayer.interactive.feed.SyncQuestionRequest.SyncQuestionRequestFilter",()=>[{no:1,name:"event_id",kind:"scalar",T:9}],{localName:"SyncQuestionRequest_SyncQuestionRequestFilter"}),oO=N.makeMessageType("streamlayer.interactive.feed.SyncQuestionResponse",()=>[{no:1,name:"data",kind:"message",T:iO}]),iO=N.makeMessageType("streamlayer.interactive.feed.SyncQuestionResponse.SyncQuestionResponseData",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"message",T:k7}],{localName:"SyncQuestionResponse_SyncQuestionResponseData"}),sO=N.makeMessageType("streamlayer.interactive.feed.GetQuestionRequest",()=>[{no:1,name:"id",kind:"scalar",T:9}]),lO=N.makeMessageType("streamlayer.interactive.feed.GetQuestionResponse",()=>[{no:1,name:"data",kind:"message",T:uO}]),uO=N.makeMessageType("streamlayer.interactive.feed.GetQuestionResponse.GetQuestionResponseData",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"message",T:y7}],{localName:"GetQuestionResponse_GetQuestionResponseData"}),cO=N.makeMessageType("streamlayer.interactive.feed.QuestionDetailRequest",()=>[{no:1,name:"id",kind:"scalar",T:9}]),dO=N.makeMessageType("streamlayer.interactive.feed.QuestionDetailResponse",()=>[{no:1,name:"data",kind:"message",T:fO}]),fO=N.makeMessageType("streamlayer.interactive.feed.QuestionDetailResponse.QuestionDetailResponseData",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"message",T:zT}],{localName:"QuestionDetailResponse_QuestionDetailResponseData"}),FT=N.makeMessageType("streamlayer.interactive.feed.AnswerVoteResult",()=>[{no:1,name:"answer_id",kind:"scalar",T:9},{no:2,name:"percentage",kind:"scalar",T:13},{no:3,name:"voted",kind:"scalar",T:8},{no:4,name:"correct",kind:"scalar",T:8}]),pO=N.makeMessageType("streamlayer.interactive.feed.SubmitAnswerRequest",()=>[{no:1,name:"data",kind:"message",T:mO}]),mO=N.makeMessageType("streamlayer.interactive.feed.SubmitAnswerRequest.SubmitRequestData",()=>[{no:1,name:"question_id",kind:"scalar",T:9},{no:2,name:"answer_id",kind:"scalar",T:9}],{localName:"SubmitAnswerRequest_SubmitRequestData"}),hO=N.makeMessageType("streamlayer.interactive.feed.SubmitAnswerResponse",()=>[{no:1,name:"data",kind:"message",T:gO}]),gO=N.makeMessageType("streamlayer.interactive.feed.SubmitAnswerResponse.SubmitAnswerResponseData",()=>[{no:1,name:"question_id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"message",T:FT,repeated:!0}],{localName:"SubmitAnswerResponse_SubmitAnswerResponseData"}),yO=N.makeMessageType("streamlayer.interactive.feed.SubmitInplayRequest",()=>[{no:1,name:"data",kind:"message",T:vO}]),vO=N.makeMessageType("streamlayer.interactive.feed.SubmitInplayRequest.SubmitRequestData",()=>[{no:1,name:"event_id",kind:"scalar",T:13}],{localName:"SubmitInplayRequest_SubmitRequestData"}),TO=N.makeMessageType("streamlayer.interactive.feed.SubmitInplayResponse",[]),kO=N.makeMessageType("streamlayer.interactive.feed.SkipQuestionRequest",()=>[{no:1,name:"data",kind:"message",T:bO}]),bO=N.makeMessageType("streamlayer.interactive.feed.SkipQuestionRequest.SkipQuestionRequestData",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"reason",kind:"enum",T:N.getEnumType(pA)}],{localName:"SkipQuestionRequest_SkipQuestionRequestData"}),wO=N.makeMessageType("streamlayer.interactive.feed.SkipQuestionResponse",()=>[{no:1,name:"data",kind:"message",T:SO}]),SO=N.makeMessageType("streamlayer.interactive.feed.SkipQuestionResponse.SkipQuestionResponseData",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"message",T:FT,repeated:!0}],{localName:"SkipQuestionResponse_SkipQuestionResponseData"}),EO=N.makeMessageType("streamlayer.interactive.feed.PickHistoryRequest",()=>[{no:1,name:"question_type",kind:"enum",T:N.getEnumType(Kt),repeated:!0},{no:3,name:"event_id",kind:"scalar",T:9},{no:2,name:"pagination",kind:"message",T:Ly}]),b7=N.makeMessageType("streamlayer.interactive.feed.PickHistory",()=>[{no:1,name:"question_id",kind:"scalar",T:9},{no:2,name:"answer_id",kind:"scalar",T:9},{no:3,name:"status",kind:"enum",T:N.getEnumType(T7)},{no:4,name:"question_type",kind:"enum",T:N.getEnumType(Kt)},{no:5,name:"subject",kind:"scalar",T:9},{no:6,name:"text",kind:"scalar",T:9},{no:7,name:"open_for_voting",kind:"scalar",T:8},{no:8,name:"question_status",kind:"enum",T:N.getEnumType(ao)}]),NO=N.makeMessageType("streamlayer.interactive.feed.PickHistoryResponse",()=>[{no:1,name:"data",kind:"message",T:MO,repeated:!0},{no:2,name:"meta",kind:"message",T:IO}]),MO=N.makeMessageType("streamlayer.interactive.feed.PickHistoryResponse.PickHistoryResponseData",()=>[{no:1,name:"attributes",kind:"message",T:b7}],{localName:"PickHistoryResponse_PickHistoryResponseData"}),IO=N.makeMessageType("streamlayer.interactive.feed.PickHistoryResponse.PickHistoryResponseMetadata",()=>[{no:1,name:"total",kind:"scalar",T:5},{no:2,name:"page",kind:"scalar",T:5},{no:3,name:"page_size",kind:"scalar",T:5}],{localName:"PickHistoryResponse_PickHistoryResponseMetadata"}),_O=N.makeMessageType("streamlayer.interactive.feed.InsightHistoryRequest",()=>[{no:1,name:"event_id",kind:"scalar",T:9}]),CO=N.makeMessageType("streamlayer.interactive.feed.InstantView",()=>[{no:1,name:"heading",kind:"scalar",T:9,opt:!0},{no:2,name:"body",kind:"scalar",T:9,opt:!0},{no:3,name:"image",kind:"scalar",T:9,opt:!0},{no:4,name:"video",kind:"message",T:UT,opt:!0},{no:5,name:"web_link",kind:"message",T:g7,opt:!0}]),AO=N.makeMessageType("streamlayer.interactive.feed.InsightNotification",()=>[{no:1,name:"title",kind:"scalar",T:9,opt:!0},{no:2,name:"body",kind:"scalar",T:9,opt:!0},{no:3,name:"image_position",kind:"scalar",T:5,opt:!0}]),w7=N.makeMessageType("streamlayer.interactive.feed.InsightHistory",()=>[{no:1,name:"question_id",kind:"scalar",T:9},{no:2,name:"title",kind:"scalar",T:9},{no:3,name:"image",kind:"scalar",T:9},{no:4,name:"image_mode",kind:"enum",T:N.getEnumType(lp)},{no:5,name:"instant_view",kind:"message",T:CO,opt:!0},{no:6,name:"notification",kind:"message",T:AO,opt:!0}]),OO=N.makeMessageType("streamlayer.interactive.feed.InsightHistoryResponse",()=>[{no:1,name:"data",kind:"message",T:xO,repeated:!0}]),xO=N.makeMessageType("streamlayer.interactive.feed.InsightHistoryResponse.InsightHistoryResponseData",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"message",T:w7}],{localName:"InsightHistoryResponse_InsightHistoryResponseData"}),LO=N.makeMessageType("streamlayer.interactive.feed.TweetHistoryRequest",()=>[{no:1,name:"event_id",kind:"scalar",T:9}]),S7=N.makeMessageType("streamlayer.interactive.feed.TweetHistory",()=>[{no:1,name:"tweet_id",kind:"scalar",T:9},{no:2,name:"title",kind:"scalar",T:9},{no:3,name:"image",kind:"scalar",T:9},{no:4,name:"body",kind:"scalar",T:9},{no:5,name:"account",kind:"scalar",T:9},{no:6,name:"account_verified",kind:"scalar",T:8}]),RO=N.makeMessageType("streamlayer.interactive.feed.TweetHistoryResponse",()=>[{no:1,name:"data",kind:"message",T:DO,repeated:!0}]),DO=N.makeMessageType("streamlayer.interactive.feed.TweetHistoryResponse.TweetHistoryResponseData",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"message",T:S7}],{localName:"TweetHistoryResponse_TweetHistoryResponseData"}),PO=N.makeMessageType("streamlayer.interactive.feed.InteractiveFeed",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"options",kind:"message",T:UO},{no:3,name:"moderation",kind:"message",T:v7}]),UO=N.makeMessageType("streamlayer.interactive.feed.FeedOptions",()=>[{no:1,name:"onboarding_enabled",kind:"scalar",T:8}]),jO=N.makeMessageType("streamlayer.interactive.feed.GetRequest",()=>[{no:1,name:"event_id",kind:"scalar",T:9}]),zO=N.makeMessageType("streamlayer.interactive.feed.GetResponse",()=>[{no:1,name:"data",kind:"message",T:BO}]),BO=N.makeMessageType("streamlayer.interactive.feed.GetResponse.GetResponseData",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"message",T:PO}],{localName:"GetResponse_GetResponseData"}),FO=N.makeMessageType("streamlayer.interactive.feed.PromotionHistoryRequest",()=>[{no:1,name:"event_id",kind:"scalar",T:9}]),E7=N.makeMessageType("streamlayer.interactive.feed.PromotionHistory",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"title",kind:"scalar",T:9},{no:3,name:"image",kind:"scalar",T:9}]),VO=N.makeMessageType("streamlayer.interactive.feed.PromotionHistoryResponse",()=>[{no:1,name:"data",kind:"message",T:YO,repeated:!0}]),YO=N.makeMessageType("streamlayer.interactive.feed.PromotionHistoryResponse.PromotionHistoryResponseData",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"message",T:E7}],{localName:"PromotionHistoryResponse_PromotionHistoryResponseData"}),QO=N.makeMessageType("streamlayer.interactive.feed.FeedItemAttributes",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"enum",T:N.getEnumType(Kt)},{no:3,name:"status",kind:"enum",T:N.getEnumType(ao)},{no:8,name:"created",kind:"scalar",T:9},{no:4,name:"question",kind:"message",T:b7,oneof:"attributes"},{no:5,name:"tweet",kind:"message",T:S7,oneof:"attributes"},{no:6,name:"insight",kind:"message",T:w7,oneof:"attributes"},{no:7,name:"promotion",kind:"message",T:E7,oneof:"attributes"}]),N7=N.makeMessageType("streamlayer.interactive.feed.FeedItem",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"message",T:QO}]),GO=N.makeMessageType("streamlayer.interactive.feed.FeedListRequest",()=>[{no:1,name:"event_id",kind:"scalar",T:9},{no:2,name:"filter",kind:"message",T:HO},{no:3,name:"pagination",kind:"message",T:Ly}]),HO=N.makeMessageType("streamlayer.interactive.feed.FeedListRequest.FeedListFilter",()=>[{no:1,name:"types",kind:"enum",T:N.getEnumType(Kt),repeated:!0},{no:2,name:"statuses",kind:"enum",T:N.getEnumType(ao),repeated:!0}],{localName:"FeedListRequest_FeedListFilter"}),$O=N.makeMessageType("streamlayer.interactive.feed.FeedListResponse",()=>[{no:1,name:"data",kind:"message",T:N7,repeated:!0},{no:2,name:"meta",kind:"message",T:qO}]),qO=N.makeMessageType("streamlayer.interactive.feed.FeedListResponse.FeedListResponseMetadata",()=>[{no:1,name:"total",kind:"scalar",T:5},{no:2,name:"page",kind:"scalar",T:5},{no:3,name:"page_size",kind:"scalar",T:5}],{localName:"FeedListResponse_FeedListResponseMetadata"}),WO=N.makeMessageType("streamlayer.interactive.feed.FeedSubscriptionRequest",()=>[{no:1,name:"event_id",kind:"scalar",T:9}]),KO=N.makeMessageType("streamlayer.interactive.feed.FeedSubscriptionResponse",()=>[{no:1,name:"data",kind:"message",T:N7},{no:2,name:"meta",kind:"message",T:ZO}]),ZO=N.makeMessageType("streamlayer.interactive.feed.FeedSubscriptionResponse.FeedSubscriptionMeta",()=>[{no:1,name:"type",kind:"enum",T:N.getEnumType(VA)}],{localName:"FeedSubscriptionResponse_FeedSubscriptionMeta"}),JO=N.makeMessageType("streamlayer.sdkSettings.game.common.GameAppearance",()=>[{no:1,name:"primary_color",kind:"scalar",T:9},{no:2,name:"secondary_color",kind:"scalar",T:9},{no:3,name:"accent_color",kind:"scalar",T:9}]),XO=N.makeMessageType("streamlayer.sdkSettings.game.common.GameMedia",()=>[{no:1,name:"game_icon",kind:"scalar",T:9},{no:2,name:"sponsor_logo",kind:"scalar",T:9}]),ex=N.makeMessageType("streamlayer.sdkSettings.game.common.GamePrize",()=>[{no:1,name:"title",kind:"scalar",T:9},{no:2,name:"image",kind:"scalar",T:9}]),tx=N.makeMessageType("streamlayer.sdkSettings.game.common.GameOverview",()=>[{no:1,name:"title",kind:"scalar",T:9},{no:2,name:"description",kind:"scalar",T:9},{no:3,name:"auto_activate",kind:"scalar",T:8},{no:4,name:"scoring",kind:"scalar",T:8},{no:5,name:"media",kind:"message",T:XO},{no:6,name:"appearance",kind:"message",T:JO},{no:7,name:"prizes",kind:"message",T:ex,repeated:!0},{no:8,name:"completed",kind:"scalar",T:8}]),nx=N.makeMessageType("streamlayer.sdkSettings.game.common.TitleCardMedia",()=>[{no:1,name:"icon",kind:"scalar",T:9},{no:2,name:"sponsor_logo",kind:"scalar",T:9}]),rx=N.makeMessageType("streamlayer.sdkSettings.game.common.TitleCardAppearance",()=>[{no:1,name:"graphic",kind:"scalar",T:9}]),ax=N.makeMessageType("streamlayer.sdkSettings.game.common.GameTitleCard",()=>[{no:1,name:"visible",kind:"scalar",T:8},{no:2,name:"opt_in",kind:"scalar",T:8},{no:3,name:"title",kind:"scalar",T:9},{no:4,name:"subtitle",kind:"scalar",T:9},{no:5,name:"header",kind:"scalar",T:9},{no:6,name:"media",kind:"message",T:nx},{no:7,name:"appearance",kind:"message",T:rx},{no:8,name:"completed",kind:"scalar",T:8}]),ox=N.makeMessageType("streamlayer.sdkSettings.game.common.OnboardingStep",()=>[{no:1,name:"headline",kind:"scalar",T:9},{no:2,name:"body",kind:"scalar",T:9},{no:3,name:"graphic",kind:"scalar",T:9}]),ix=N.makeMessageType("streamlayer.sdkSettings.game.common.GameOnboarding",()=>[{no:1,name:"steps",kind:"message",T:ox,repeated:!0},{no:2,name:"completed",kind:"scalar",T:8}]),sx=N.makeMessageType("streamlayer.sdkSettings.game.common.GameRules",()=>[{no:1,name:"heading",kind:"scalar",T:9},{no:2,name:"typeface",kind:"scalar",T:9},{no:3,name:"button_label",kind:"scalar",T:9},{no:4,name:"numbers_color",kind:"scalar",T:9},{no:5,name:"rules",kind:"scalar",T:9,repeated:!0},{no:6,name:"completed",kind:"scalar",T:8},{no:7,name:"terms",kind:"scalar",T:9},{no:8,name:"terms_url",kind:"scalar",T:9}]),lx=N.makeMessageType("streamlayer.sdkSettings.game.common.GameInviteCard",()=>[{no:1,name:"heading",kind:"scalar",T:9},{no:2,name:"typeface",kind:"scalar",T:9},{no:3,name:"subtext",kind:"scalar",T:9},{no:4,name:"button_label",kind:"scalar",T:9},{no:5,name:"icon_color",kind:"scalar",T:9},{no:6,name:"terms",kind:"scalar",T:9},{no:7,name:"completed",kind:"scalar",T:8}]),ux=N.makeMessageType("streamlayer.sdkSettings.game.common.GameSettings",()=>[{no:1,name:"overview",kind:"message",T:tx},{no:2,name:"title_card",kind:"message",T:ax},{no:3,name:"onboarding",kind:"message",T:ix},{no:4,name:"rules",kind:"message",T:sx},{no:5,name:"invite_card",kind:"message",T:lx},{no:6,name:"completed",kind:"scalar",T:8},{no:7,name:"enable",kind:"scalar",T:8}]),cx=N.makeMessageType("streamlayer.sdkSettings.moderation.common.ModerationGeneral",()=>[{no:1,name:"default_color",kind:"scalar",T:9},{no:2,name:"points",kind:"scalar",T:13},{no:3,name:"auto_hide_interval",kind:"scalar",T:4},{no:4,name:"insights_history_enabled",kind:"scalar",T:8},{no:5,name:"pick_history_enabled",kind:"scalar",T:8},{no:6,name:"correct_feedbacks",kind:"message",T:eu,repeated:!0},{no:7,name:"incorrect_feedbacks",kind:"message",T:eu,repeated:!0}]),dx=N.makeMessageType("streamlayer.sdkSettings.moderation.common.ModerationNotifications",()=>[{no:1,name:"default_image",kind:"scalar",T:9},{no:2,name:"image_mode",kind:"enum",T:N.getEnumType(lp)}]),fx=N.makeMessageType("streamlayer.sdkSettings.moderation.common.ModerationSponsorships",()=>[{no:1,name:"rotate",kind:"scalar",T:8},{no:2,name:"no_sponsor",kind:"scalar",T:8},{no:3,name:"sponsors",kind:"message",T:up,repeated:!0}]),px=N.makeMessageType("streamlayer.sdkSettings.moderation.common.ModerationSettings",()=>[{no:1,name:"general",kind:"message",T:cx},{no:2,name:"notifications",kind:"message",T:dx},{no:3,name:"sponsorships",kind:"message",T:fx}]),Xn=N.makeEnum("streamlayer.sdkSettings.SdkOverlayType",[{no:0,name:"SDK_OVERLAY_TYPE_UNSET",localName:"UNSET"},{no:1,name:"SDK_OVERLAY_TYPE_INPLAY",localName:"INPLAY"},{no:2,name:"SDK_OVERLAY_TYPE_MESSAGING",localName:"MESSAGING"},{no:3,name:"SDK_OVERLAY_TYPE_STATISTICS",localName:"STATISTICS"},{no:4,name:"SDK_OVERLAY_TYPE_BETTING",localName:"BETTING"},{no:5,name:"SDK_OVERLAY_TYPE_TWITTER",localName:"TWITTER"},{no:6,name:"SDK_OVERLAY_TYPE_MERCHANDISE",localName:"MERCHANDISE"},{no:7,name:"SDK_OVERLAY_TYPE_CONTESTS",localName:"CONTESTS"},{no:8,name:"SDK_OVERLAY_TYPE_VOICE_CHAT",localName:"VOICE_CHAT"},{no:9,name:"SDK_OVERLAY_TYPE_TICKETS",localName:"TICKETS"},{no:10,name:"SDK_OVERLAY_TYPE_WHOIS_WATCHING",localName:"WHOIS_WATCHING"},{no:11,name:"SDK_OVERLAY_TYPE_PROFILE",localName:"PROFILE"},{no:12,name:"SDK_OVERLAY_TYPE_GAMES",localName:"GAMES"},{no:13,name:"SDK_OVERLAY_TYPE_GOLF_STATISTICS",localName:"GOLF_STATISTICS"},{no:14,name:"SDK_OVERLAY_TYPE_HIGHLIGHTS",localName:"HIGHLIGHTS"},{no:15,name:"SDK_OVERLAY_TYPE_PUBLIC_CHAT",localName:"PUBLIC_CHAT"}]),mx=N.makeEnum("streamlayer.sdkSettings.BettingFavoriteType",[{no:0,name:"BETTING_FAVORITE_TYPE_UNSET",localName:"UNSET"},{no:1,name:"BETTING_FAVORITE_TYPE_LEAGUE",localName:"LEAGUE"},{no:2,name:"BETTING_FAVORITE_TYPE_TEAM",localName:"TEAM"}]),hx=N.makeEnum("streamlayer.sdkSettings.BettingSettingsTextColor",[{no:0,name:"BETTING_SETTINGS_TEXT_COLOR_UNSET",localName:"UNSET"},{no:1,name:"BETTING_SETTINGS_TEXT_COLOR_PRIMARY",localName:"PRIMARY"},{no:2,name:"BETTING_SETTINGS_TEXT_COLOR_GREY",localName:"GREY"},{no:3,name:"BETTING_SETTINGS_TEXT_COLOR_CUSTOM",localName:"CUSTOM"}]),VT=N.makeEnum("streamlayer.sdkSettings.GetStreamChannelType",[{no:0,name:"GETSTREAM_CHANNEL_TYPE_UNSET"},{no:1,name:"GETSTREAM_CHANNEL_TYPE_LIVESTREAM"},{no:2,name:"GETSTREAM_CHANNEL_TYPE_MESSAGING"},{no:3,name:"GETSTREAM_CHANNEL_TYPE_TEAM"},{no:4,name:"GETSTREAM_CHANNEL_TYPE_COMMERCE"},{no:5,name:"GETSTREAM_CHANNEL_TYPE_GAMING"},{no:6,name:"GETSTREAM_CHANNEL_TYPE_CUSTOM"}]),gx=N.makeEnum("streamlayer.sdkSettings.GetStreamChannelDefault",[{no:0,name:"GETSTREAM_CHANNEL_DEFAULT_UNSET"},{no:1,name:"GETSTREAM_CHANNEL_DEFAULT_TRUE"},{no:2,name:"GETSTREAM_CHANNEL_DEFAULT_FALSE"}]),M7=N.makeEnum("streamlayer.sdkSettings.GetStreamEnabled",[{no:0,name:"GETSTREAM_ENABLED_UNSET"},{no:1,name:"GETSTREAM_ENABLED_TRUE"},{no:2,name:"GETSTREAM_ENABLED_FALSE"}]),yx=N.makeEnum("streamlayer.sdkSettings.LeaderboardKind",[{no:0,name:"LEADERBOARD_KIND_UNSET",localName:"UNSET"},{no:1,name:"LEADERBOARD_KIND_GLOBAL",localName:"GLOBAL"},{no:2,name:"LEADERBOARD_KIND_FRIENDS",localName:"FRIENDS"}]),vx=N.makeEnum("streamlayer.sdkSettings.PresetRuleKey",[{no:0,name:"PRESET_RULE_KEY_UNSET",localName:"UNSET"},{no:1,name:"PRESET_RULE_KEY_SPORT",localName:"SPORT"},{no:2,name:"PRESET_RULE_KEY_LEAGUE",localName:"LEAGUE"},{no:3,name:"PRESET_RULE_KEY_TEAMS",localName:"TEAMS"}]),Tx=N.makeEnum("streamlayer.sdkSettings.AdvertisingPlacement",[{no:0,name:"ADVERTISING_PLACEMENT_UNSET",localName:"UNSET"},{no:1,name:"ADVERTISING_PLACEMENT_DEFAULT",localName:"DEFAULT"},{no:2,name:"ADVERTISING_PLACEMENT_WATCHPARTY_FULLSIZE",localName:"WATCHPARTY_FULLSIZE"},{no:3,name:"ADVERTISING_PLACEMENT_WATCHPARTY_VIDEOPANEL",localName:"WATCHPARTY_VIDEOPANEL"},{no:4,name:"ADVERTISING_PLACEMENT_OVERLAY_NAVBAR",localName:"OVERLAY_NAVBAR"}]);N.makeEnum("streamlayer.sdkSettings.AdvertisingType",[{no:0,name:"ADVERTISING_TYPE_UNSET",localName:"UNSET"},{no:1,name:"ADVERTISING_TYPE_SPONSORS",localName:"SPONSORS"},{no:2,name:"ADVERTISING_TYPE_INTERSTITIALS",localName:"INTERSTITIALS"},{no:3,name:"ADVERTISING_TYPE_BANNERS",localName:"BANNERS"}]);const kx=N.makeMessageType("streamlayer.sdkSettings.TwitterOverlaySettings",()=>[{no:1,name:"accounts",kind:"scalar",T:9,repeated:!0}]),bx=N.makeMessageType("streamlayer.sdkSettings.BettingFavorite",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"icon",kind:"scalar",T:9},{no:3,name:"name",kind:"scalar",T:9},{no:4,name:"type",kind:"enum",T:N.getEnumType(mx)}]),wx=N.makeMessageType("streamlayer.sdkSettings.CtaImage",()=>[{no:1,name:"url",kind:"scalar",T:9},{no:2,name:"name",kind:"scalar",T:9}]),I7=N.makeMessageType("streamlayer.sdkSettings.BrandDefaults",()=>[{no:1,name:"appearance",kind:"message",T:Sx}]),Sx=N.makeMessageType("streamlayer.sdkSettings.BrandDefaults.Appearance",()=>[{no:1,name:"primary_color",kind:"scalar",T:9},{no:2,name:"secondary_color",kind:"scalar",T:9},{no:3,name:"accent_color",kind:"scalar",T:9}],{localName:"BrandDefaults_Appearance"}),ob=N.makeMessageType("streamlayer.sdkSettings.BettingOverlaySettings",()=>[{no:1,name:"favorites",kind:"message",T:bx,repeated:!0},{no:2,name:"primary_color",kind:"scalar",T:9},{no:3,name:"button_icon",kind:"scalar",T:9},{no:4,name:"text_color",kind:"enum",T:N.getEnumType(hx)},{no:5,name:"app_installed_text",kind:"scalar",T:9},{no:6,name:"app_not_installed_text",kind:"scalar",T:9},{no:7,name:"text_color_custom",kind:"scalar",T:9},{no:8,name:"cta_image",kind:"message",T:wx}]),Ex=N.makeMessageType("streamlayer.sdkSettings.GetStreamSettingsClient",()=>[{no:1,name:"enabled",kind:"enum",T:N.getEnumType(M7)},{no:2,name:"key",kind:"scalar",T:9},{no:3,name:"app_id",kind:"scalar",T:9},{no:5,name:"default_channel_type",kind:"enum",T:N.getEnumType(VT)}]),yy=N.makeMessageType("streamlayer.sdkSettings.GetStreamChannel",()=>[{no:1,name:"organization_id",kind:"scalar",T:9},{no:2,name:"event_id",kind:"scalar",T:9},{no:3,name:"channel_id",kind:"scalar",T:9},{no:4,name:"channel_type",kind:"enum",T:N.getEnumType(VT)},{no:5,name:"is_default",kind:"enum",T:N.getEnumType(gx)}]),Nx=N.makeMessageType("streamlayer.sdkSettings.GetStreamChannels",()=>[{no:1,name:"enabled",kind:"enum",T:N.getEnumType(M7)},{no:2,name:"key",kind:"scalar",T:9},{no:3,name:"app_id",kind:"scalar",T:9},{no:4,name:"default_channel_type",kind:"enum",T:N.getEnumType(VT)},{no:5,name:"default_channel",kind:"message",T:yy},{no:6,name:"channels",kind:"message",T:yy,repeated:!0}]),_7=N.makeMessageType("streamlayer.sdkSettings.StreamSettings",()=>[{no:1,name:"overlays",kind:"message",T:Ry,repeated:!0},{no:2,name:"custom",kind:"scalar",T:8},{no:3,name:"button_icon",kind:"scalar",T:9},{no:4,name:"primary_color",kind:"scalar",T:9},{no:5,name:"secondary_color",kind:"scalar",T:9},{no:6,name:"moderation_primary_color",kind:"scalar",T:9},{no:7,name:"link_share_icon",kind:"scalar",T:9},{no:8,name:"link_share_text",kind:"scalar",T:9},{no:9,name:"brand_defaults",kind:"message",T:I7},{no:10,name:"getstream",kind:"message",T:Nx}]),Mx=N.makeMessageType("streamlayer.sdkSettings.JWK",()=>[{no:1,name:"alg",kind:"scalar",T:9,opt:!0},{no:2,name:"crv",kind:"scalar",T:9,opt:!0},{no:3,name:"d",kind:"scalar",T:9,opt:!0},{no:4,name:"dp",kind:"scalar",T:9,opt:!0},{no:5,name:"dq",kind:"scalar",T:9,opt:!0},{no:6,name:"e",kind:"scalar",T:9,opt:!0},{no:7,name:"ext",kind:"scalar",T:8,opt:!0},{no:8,name:"k",kind:"scalar",T:9,opt:!0},{no:9,name:"key_ops",kind:"scalar",T:9,repeated:!0},{no:10,name:"kid",kind:"scalar",T:9,opt:!0},{no:11,name:"kty",kind:"scalar",T:9,opt:!0},{no:12,name:"n",kind:"scalar",T:9,opt:!0},{no:13,name:"oth",kind:"message",T:Ix,repeated:!0},{no:14,name:"p",kind:"scalar",T:9,opt:!0},{no:15,name:"q",kind:"scalar",T:9,opt:!0},{no:16,name:"qi",kind:"scalar",T:9,opt:!0},{no:17,name:"use",kind:"scalar",T:9,opt:!0},{no:18,name:"x",kind:"scalar",T:9,opt:!0},{no:19,name:"y",kind:"scalar",T:9,opt:!0},{no:20,name:"x5c",kind:"scalar",T:9,repeated:!0},{no:21,name:"x5t",kind:"scalar",T:9,opt:!0},{no:22,name:"x5u",kind:"scalar",T:9,opt:!0}]),Ix=N.makeMessageType("streamlayer.sdkSettings.JWK.OTH",()=>[{no:1,name:"d",kind:"scalar",T:9,opt:!0},{no:2,name:"r",kind:"scalar",T:9,opt:!0},{no:3,name:"t",kind:"scalar",T:9,opt:!0}],{localName:"JWK_OTH"}),C7=N.makeMessageType("streamlayer.sdkSettings.OrganizationSettings",()=>[{no:1,name:"overlays",kind:"message",T:Ry,repeated:!0},{no:2,name:"button_icon",kind:"scalar",T:9},{no:3,name:"tinode_host",kind:"scalar",T:9},{no:4,name:"audience",kind:"scalar",T:9},{no:5,name:"name",kind:"scalar",T:9},{no:6,name:"provider",kind:"scalar",T:9},{no:7,name:"primary_color",kind:"scalar",T:9},{no:8,name:"secondary_color",kind:"scalar",T:9},{no:9,name:"moderation_primary_color",kind:"scalar",T:9},{no:10,name:"link_share_icon",kind:"scalar",T:9},{no:11,name:"link_share_text",kind:"scalar",T:9},{no:12,name:"brand_defaults",kind:"message",T:I7},{no:13,name:"pub",kind:"message",T:Mx},{no:14,name:"getstream",kind:"message",T:Ex}]),_x=N.makeMessageType("streamlayer.sdkSettings.GamesOverlaySettings",()=>[{no:1,name:"inplay_game",kind:"message",T:ux},{no:2,name:"moderation",kind:"message",T:px},{no:3,name:"pinned_leaderboard_id",kind:"scalar",T:9},{no:4,name:"leaderboard_kind",kind:"enum",T:N.getEnumType(yx)}]),ib=N.makeMessageType("streamlayer.sdkSettings.GetStreamOverlaySettings",()=>[{no:1,name:"default_channel",kind:"message",T:yy},{no:2,name:"channels",kind:"message",T:yy,repeated:!0}]),$f=N.makeMessageType("streamlayer.sdkSettings.SdkOverlaySettings",()=>[{no:4,name:"twitter",kind:"message",T:kx,oneof:"overlay_settings"},{no:5,name:"betting",kind:"message",T:ob,oneof:"overlay_settings"},{no:6,name:"inplay",kind:"message",T:ob,oneof:"overlay_settings"},{no:7,name:"games",kind:"message",T:_x,oneof:"overlay_settings"},{no:8,name:"getstream",kind:"message",T:ib,oneof:"overlay_settings"},{no:9,name:"public_chat",kind:"message",T:ib,oneof:"overlay_settings"}]),Cx=N.makeMessageType("streamlayer.sdkSettings.SdkOverlayMeta",()=>[{no:1,name:"organization",kind:"message",T:$f},{no:2,name:"global_preset",kind:"message",T:$f},{no:3,name:"preset",kind:"message",T:$f},{no:4,name:"stream",kind:"message",T:$f}]),Ry=N.makeMessageType("streamlayer.sdkSettings.SdkOverlay",()=>[{no:1,name:"type",kind:"enum",T:N.getEnumType(Xn)},{no:3,name:"position",kind:"scalar",T:5},{no:4,name:"overwrite",kind:"scalar",T:8},{no:5,name:"settings",kind:"message",T:$f},{no:6,name:"meta",kind:"message",T:Cx},{no:7,name:"enable",kind:"scalar",T:8},{no:8,name:"sdk_enable",kind:"scalar",T:8},{no:9,name:"name",kind:"scalar",T:9},{no:10,name:"icon",kind:"scalar",T:9},{no:11,name:"svg_icon",kind:"scalar",T:9},{no:12,name:"enable_overwrite",kind:"scalar",T:9,oneof:"overwrite_flag"},{no:13,name:"disable_overwrite",kind:"scalar",T:9,oneof:"overwrite_flag"},{no:14,name:"enable_sdk_button",kind:"scalar",T:8}]);N.makeMessageType("streamlayer.sdkSettings.SdkOverlayUpdateData",()=>[{no:1,name:"type",kind:"enum",T:N.getEnumType(Xn)},{no:3,name:"position",kind:"scalar",T:5},{no:4,name:"overwrite",kind:"scalar",T:8},{no:5,name:"settings",kind:"message",T:$f},{no:8,name:"sdk_enable",kind:"scalar",T:8},{no:9,name:"name",kind:"scalar",T:9},{no:10,name:"icon",kind:"scalar",T:9},{no:11,name:"svg_icon",kind:"scalar",T:9},{no:12,name:"enable_overwrite",kind:"scalar",T:9,oneof:"overwrite_flag"},{no:13,name:"disable_overwrite",kind:"scalar",T:9,oneof:"overwrite_flag"}]);N.makeMessageType("streamlayer.sdkSettings.OverlaysListRequest",[]);N.makeMessageType("streamlayer.sdkSettings.OverlaysListResponse",()=>[{no:1,name:"data",kind:"message",T:Ax}]);const Ax=N.makeMessageType("streamlayer.sdkSettings.OverlaysListResponse.OverlaysListResponseData",()=>[{no:1,name:"type",kind:"scalar",T:9},{no:2,name:"attributes",kind:"message",T:Ry,repeated:!0}],{localName:"OverlaysListResponse_OverlaysListResponseData"});N.makeMessageType("streamlayer.sdkSettings.GenerateSdkKeyRequest",()=>[{no:1,name:"organization_id",kind:"scalar",T:9}]);N.makeMessageType("streamlayer.sdkSettings.GenerateSdkKeyResponse",()=>[{no:1,name:"data",kind:"message",T:Ox}]);const Ox=N.makeMessageType("streamlayer.sdkSettings.GenerateSdkKeyResponse.GenerateSdkKeyResponseData",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"scalar",T:9}],{localName:"GenerateSdkKeyResponse_GenerateSdkKeyResponseData"});N.makeMessageType("streamlayer.sdkSettings.RemoveSdkKeyRequest",()=>[{no:1,name:"organization_id",kind:"scalar",T:9},{no:2,name:"key",kind:"scalar",T:9}]);N.makeMessageType("streamlayer.sdkSettings.RemoveSdkKeyResponse",()=>[{no:1,name:"data",kind:"message",T:xx}]);const xx=N.makeMessageType("streamlayer.sdkSettings.RemoveSdkKeyResponse.RemoveSdkKeyResponseData",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"scalar",T:9,repeated:!0}],{localName:"RemoveSdkKeyResponse_RemoveSdkKeyResponseData"});N.makeMessageType("streamlayer.sdkSettings.ListSdkKeyRequest",()=>[{no:1,name:"organization_id",kind:"scalar",T:9}]);N.makeMessageType("streamlayer.sdkSettings.ListSdkKeyResponse",()=>[{no:1,name:"data",kind:"message",T:Lx}]);const Lx=N.makeMessageType("streamlayer.sdkSettings.ListSdkKeyResponse.ListSdkKeyResponseData",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"scalar",T:9,repeated:!0}],{localName:"ListSdkKeyResponse_ListSdkKeyResponseData"});N.makeMessageType("streamlayer.sdkSettings.RegisterTwitterRequest",()=>[{no:1,name:"organization_id",kind:"scalar",T:9},{no:2,name:"stream_id",kind:"scalar",T:9},{no:3,name:"account",kind:"scalar",T:9}]);N.makeMessageType("streamlayer.sdkSettings.RegisterTwitterResponse",[]);N.makeMessageType("streamlayer.sdkSettings.Preset",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"rule",kind:"message",T:Dx},{no:3,name:"settings",kind:"message",T:Rx}]);const Rx=N.makeMessageType("streamlayer.sdkSettings.PresetSettings",()=>[{no:1,name:"overlays",kind:"message",T:Ry,repeated:!0},{no:2,name:"advertising",kind:"message",T:A7}]),Dx=N.makeMessageType("streamlayer.sdkSettings.PresetRule",()=>[{no:1,name:"key",kind:"enum",T:N.getEnumType(vx)},{no:2,name:"value",kind:"scalar",T:9}]),Px=N.makeMessageType("streamlayer.sdkSettings.AdvertisingConstraints",()=>[{no:1,name:"images",kind:"message",T:sb},{no:2,name:"videos",kind:"message",T:sb}]),sb=N.makeMessageType("streamlayer.sdkSettings.AdvertisingConstraint",()=>[{no:1,name:"width",kind:"scalar",T:5},{no:2,name:"height",kind:"scalar",T:5},{no:3,name:"max_file_size",kind:"scalar",T:1},{no:4,name:"mime",kind:"scalar",T:9}]),Ux=N.makeMessageType("streamlayer.sdkSettings.AdvertisingTemplate",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"name",kind:"scalar",T:9},{no:3,name:"constraints",kind:"map",K:9,V:{kind:"message",T:Px}}]);N.makeMessageType("streamlayer.sdkSettings.AdvertisingTemplates",()=>[{no:1,name:"templates",kind:"message",T:Ux,repeated:!0}]);const jx=N.makeMessageType("streamlayer.sdkSettings.AdvertisingImage",()=>[{no:1,name:"name",kind:"scalar",T:9},{no:2,name:"preview_url",kind:"scalar",T:9},{no:3,name:"file_url",kind:"scalar",T:9},{no:4,name:"placement",kind:"enum",T:N.getEnumType(Tx)}]),zx=N.makeMessageType("streamlayer.sdkSettings.AdvertisingVideo",()=>[{no:1,name:"name",kind:"scalar",T:9},{no:2,name:"preview_url",kind:"scalar",T:9},{no:3,name:"file_url",kind:"scalar",T:9},{no:4,name:"background_color",kind:"scalar",T:9}]),Bx=N.makeMessageType("streamlayer.sdkSettings.AdvertisingSettings",()=>[{no:1,name:"frequency",kind:"scalar",T:5},{no:2,name:"images",kind:"message",T:jx,repeated:!0},{no:3,name:"videos",kind:"message",T:zx,repeated:!0}]),Fx=N.makeMessageType("streamlayer.sdkSettings.AdvertisingOverlaySettings",()=>[{no:1,name:"overlay_type",kind:"enum",T:N.getEnumType(Xn)},{no:2,name:"settings",kind:"map",K:9,V:{kind:"message",T:Bx}},{no:3,name:"enabled",kind:"scalar",T:8},{no:4,name:"overlay_name",kind:"scalar",T:9},{no:5,name:"use_custom",kind:"scalar",T:8,opt:!0}]),A7=N.makeMessageType("streamlayer.sdkSettings.Advertising",()=>[{no:1,name:"template_id",kind:"scalar",T:9},{no:2,name:"overlay_settings",kind:"map",K:9,V:{kind:"message",T:Fx}}]);N.makeMessageType("streamlayer.sdkSettings.GenerateApiKeyRequest",()=>[{no:1,name:"organization_id",kind:"scalar",T:9}]);N.makeMessageType("streamlayer.sdkSettings.GenerateApiKeyResponse",()=>[{no:1,name:"data",kind:"message",T:Vx}]);const Vx=N.makeMessageType("streamlayer.sdkSettings.GenerateApiKeyResponse.GenerateApiKeyResponseData",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"scalar",T:9}],{localName:"GenerateApiKeyResponse_GenerateApiKeyResponseData"});N.makeMessageType("streamlayer.sdkSettings.RemoveApiKeyRequest",()=>[{no:1,name:"organization_id",kind:"scalar",T:9},{no:2,name:"token",kind:"scalar",T:9}]);N.makeMessageType("streamlayer.sdkSettings.RemoveApiKeyResponse",()=>[{no:1,name:"data",kind:"message",T:Yx}]);const Yx=N.makeMessageType("streamlayer.sdkSettings.RemoveApiKeyResponse.RemoveApiKeyResponseData",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"scalar",T:9,repeated:!0}],{localName:"RemoveApiKeyResponse_RemoveApiKeyResponseData"});N.makeMessageType("streamlayer.sdkSettings.GetApiKeyRequest",()=>[{no:1,name:"organization_id",kind:"scalar",T:9}]);N.makeMessageType("streamlayer.sdkSettings.GetApiKeyResponse",()=>[{no:1,name:"data",kind:"message",T:Qx}]);const Qx=N.makeMessageType("streamlayer.sdkSettings.GetApiKeyResponse.GetApiKeyResponseData",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"scalar",T:9}],{localName:"GetApiKeyResponse_GetApiKeyResponseData"});N.makeMessageType("streamlayer.sdkSettings.GetApiKeyStudioRequest",()=>[{no:1,name:"organization_id",kind:"scalar",T:9}]);N.makeMessageType("streamlayer.sdkSettings.GetApiKeyStudioResponse",()=>[{no:1,name:"data",kind:"message",T:Gx}]);const Gx=N.makeMessageType("streamlayer.sdkSettings.GetApiKeyStudioResponse.GetApiKeyStudioResponseData",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"scalar",T:9}],{localName:"GetApiKeyStudioResponse_GetApiKeyStudioResponseData"});let N4=0,lb=[];function Hx(){return N4+=1,()=>{if(N4-=1,N4===0){let r=lb;lb=[];for(let o of r)o()}}}let $x=Symbol(),qx=Symbol(),ya=[],tu=(r,o)=>{let s=[],m={get(){return m.lc||m.listen(()=>{})(),m.value},l:o||0,lc:0,listen(p,v){return m.lc=s.push(p,v||m.l)/2,()=>{let g=s.indexOf(p);~g&&(s.splice(g,2),--m.lc||m.off())}},notify(p){let v=!ya.length;for(let g=0;g<s.length;g+=2)ya.push(s[g],s[g+1],m.value,p);if(v){for(let g=0;g<ya.length;g+=4){let T;for(let I=g+1;!T&&(I+=4)<ya.length;)ya[I]<ya[g+1]&&(T=ya.push(ya[g],ya[g+1],ya[g+2],ya[g+3]));T||ya[g](ya[g+2],ya[g+3])}ya.length=0}},off(){},set(p){m.value!==p&&(m.value=p,m.notify())},subscribe(p,v){let g=m.listen(p,v);return p(m.value),g},value:r};return m};const Wx=0,Kx=1,Zx=2,Jx=3,Xx=5,ey=6,eL=7,ty=10;let cp=(r,o,s,m)=>(r.events=r.events||{},r.events[s+ty]||(r.events[s+ty]=m(p=>{r.events[s].reduceRight((v,g)=>(g(v),v),{shared:{},...p})})),r.events[s]=r.events[s]||[],r.events[s].push(o),()=>{let p=r.events[s],v=p.indexOf(o);p.splice(v,1),p.length||(delete r.events[s],r.events[s+ty](),delete r.events[s+ty])}),tL=(r,o)=>cp(r,o,Wx,s=>{let m=r.listen;return r.listen=p=>(!r.lc&&!r.starting&&(r.starting=!0,s(),delete r.starting),m(p)),()=>{r.listen=m}}),nL=(r,o)=>cp(r,o,Kx,s=>{let m=r.off;return r.off=()=>{s(),m()},()=>{r.off=m}}),rL=(r,o)=>cp(r,o,Zx,s=>{let m=r.set,p=r.setKey;return r.setKey&&(r.setKey=(v,g)=>{let T;if(s({abort:()=>{T=!0},changed:v,newValue:{...r.value,[v]:g}}),!T)return p(v,g)}),r.set=v=>{let g;if(s({abort:()=>{g=!0},newValue:v}),!g)return m(v)},()=>{r.set=m,r.setKey=p}}),aL=(r,o)=>cp(r,o,Jx,s=>{let m=r.notify;return r.notify=p=>{let v;if(s({abort:()=>{v=!0},changed:p}),!v)return m(p)},()=>{r.notify=m}}),oL=1e3,O7=(r,o)=>cp(r,m=>{let p=o(m);p&&r.events[ey].push(p)},Xx,m=>{let p=r.listen;r.listen=(...g)=>(!r.lc&&!r.active&&(r.active=!0,m()),p(...g));let v=r.off;return r.events[ey]=[],r.off=()=>{v(),setTimeout(()=>{if(r.active&&!r.lc){r.active=!1;for(let g of r.events[ey])g();r.events[ey]=[]}},oL)},()=>{r.listen=p,r.off=v}}),iL=(r,o)=>cp(r,o,eL,s=>{let m={},p={},v=r.action;return r.action=(g,T,I)=>(s({actionName:T,args:I,id:g,onEnd:C=>{(p[g]||(p[g]=[])).push(C)},onError:C=>{(m[g]||(m[g]=[])).push(C)}}),[C=>{if(m[g])for(let D of m[g])D({error:C})},()=>{if(p[g]){for(let C of p[g])C();delete m[g],delete p[g]}}]),()=>{r.action=v}}),x7=(r,o)=>{Array.isArray(r)||(r=[r]);let s,m=()=>{let v=r.map(g=>g.get());(s===void 0||v.some((g,T)=>g!==s[T]))&&(s=v,p.set(o(...v)))},p=tu(void 0,Math.max(...r.map(v=>v.l))+1);return O7(p,()=>{let v=r.map(g=>g.listen(m,p.l));return m(),()=>{for(let g of v)g()}}),p};function sL(r,o,s){let m=new Set([...o,void 0]);return r.listen((p,v)=>{m.has(v)&&s(p,v)})}let dT=(r={})=>{let o=tu(r);return o.setKey=function(s,m){typeof m>"u"?s in o.value&&(o.value={...o.value},delete o.value[s],o.notify(s)):o.value[s]!==m&&(o.value={...o.value,[s]:m},o.notify(s))},o};function qi(r,o={}){let s=Ke.useCallback(p=>o.keys?sL(r,o.keys,p):r.listen(p),[o.keys,r]),m=r.get.bind(r);return Ke.useSyncExternalStore(s,m,m)}const lL=r=>r.setKey===void 0,ub=r=>/.+(\..+|\[\d+\.*])/.test(r);function uL(r,o,s,m){return O7(r,()=>(s.mount!==!1&&m.mount({storeName:o}),()=>{s.unmount!==!1&&m.unmount({storeName:o})}))}function cL(r,o,s,m){return iL(r,({actionName:p,args:v,id:g,onEnd:T,onError:I})=>{s&&s.includes(p)||(m.action.start({actionId:g,actionName:p,args:v,storeName:o}),I(({error:C})=>{m.action.error({actionId:g,actionName:p,error:C,storeName:o})}),T(()=>{m.action.end({actionId:g,actionName:p,storeName:o})}))})}function dL(r,o,s,m,p){return rL(r,({changed:v})=>{let g=r[qx],T=r[$x];if(s.action===!1&&g||m&&m.includes(T))return;let I=lL(r)?r.value:{...r.value};I=ub(v)?structuredClone(I):I;let C=aL(r,()=>{let D=r.value,R;v&&!ub(v)&&(R=`${I[v]} → ${D[v]}`),p.change({actionId:g,actionName:T,changed:v,newValue:D,oldValue:I,storeName:o,valueMessage:R}),C()})})}function fL(r,o,s,m={}){let p=m.ignoreActions,v=m.messages||{},g=[];return(v.mount!==!1||v.unmount!==!1)&&g.push(uL(r,o,v,s)),v.action!==!1&&g.push(cL(r,o,p,s)),v.change!==!1&&g.push(dL(r,o,v,p,s)),()=>{for(let T of g)T()}}const pL={Date:!0,RegExp:!0,String:!0,Number:!0};function L7(r,o,s={cyclesFix:!0},m=[]){var T,I;let p=[];const v=Array.isArray(r);for(const C in r){const D=r[C],R=v?+C:C;if(!(C in o)){p.push({type:"REMOVE",path:[R],oldValue:r[C]});continue}const x=o[C],j=typeof D=="object"&&typeof x=="object";if(D&&x&&j&&!pL[(I=(T=Object.getPrototypeOf(D))==null?void 0:T.constructor)==null?void 0:I.name]&&(!s.cyclesFix||!m.includes(D))){const Q=L7(D,x,s,s.cyclesFix?m.concat([D]):[]);p.push.apply(p,Q.map(W=>(W.path.unshift(R),W)))}else D!==x&&!(j&&(isNaN(D)?D+""==x+"":+D==+x))&&p.push({path:[R],type:"CHANGE",value:x,oldValue:D})}const g=Array.isArray(o);for(const C in o)C in r||p.push({type:"CREATE",path:[g?+C:C],value:o[C]});return p}window.slStore=Object.create(null);var cb;(function(r){r.ORGANIZATION="ORGANIZATION",r.STREAM="STREAM"})(cb||(cb={}));Xn.BETTING+"",Xn.GAMES+"",Xn.PUBLIC_CHAT+"",Xn.TWITTER+"";var wc;(function(r){r.Ready="ready",r.Suspended="suspended"})(wc||(wc={}));const mL=({feature:r,sdk:o,children:s,className:m})=>{const p=qi(r.status),v=qi(o.sdkStore.slStreamId);return v!=null&&v.loading?F.jsx("div",{className:m,children:"event is loading..."}):v!=null&&v.data?p!==wc.Ready?F.jsx("div",{className:m,children:"wait feature..."}):s:F.jsx("div",{className:m,children:"event is forbidden..."})},hL=Ke.lazy(()=>Promise.resolve().then(()=>require("./gamification-feature.js"))),gL=({sdk:r,feature:o,className:s,scrollStore:m,appNode:p,scrollNode:v})=>{const g=Ke.useMemo(()=>o&&o.featureConfig.get().type===Xn.GAMES?F.jsx(mL,{className:s,sdk:r,feature:o,children:F.jsx(hL,{appNode:p,scrollStore:m,scrollNode:v,className:s,gamification:o})}):null,[r,o,s,m,v,p]);return F.jsx(Ke.Suspense,{fallback:F.jsx("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",width:"100%",height:"100%"},children:"page loading..."}),children:g})};function yL(r){var o=Object.create(null);return function(s){return o[s]===void 0&&(o[s]=r(s)),o[s]}}var vL=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,M4=yL(function(r){return vL.test(r)||r.charCodeAt(0)===111&&r.charCodeAt(1)===110&&r.charCodeAt(2)<91}),TL=function(){const o=Array.prototype.slice.call(arguments).filter(Boolean),s={},m=[];o.forEach(v=>{(v?v.split(" "):[]).forEach(T=>{if(T.startsWith("atm_")){const[,I]=T.split("_");s[I]=T}else m.push(T)})});const p=[];for(const v in s)Object.prototype.hasOwnProperty.call(s,v)&&p.push(s[v]);return p.push(...m),p.join(" ")},vy=TL,kL=r=>r.toUpperCase()===r,bL=r=>o=>r.indexOf(o)===-1,R7=(r,o)=>{const s={};return Object.keys(r).filter(bL(o)).forEach(m=>{s[m]=r[m]}),s};function wL(r,o,s){const m=R7(o,s);if(!r){const p=typeof M4=="function"?{default:M4}:M4;Object.keys(m).forEach(v=>{p.default(v)||delete m[v]})}return m}var SL=(r,o)=>{};function EL(r){let o="";return s=>{const m=(v,g)=>{const{as:T=r,class:I=o}=v,C=s.propsAsIs===void 0?!(typeof T=="string"&&T.indexOf("-")===-1&&!kL(T[0])):s.propsAsIs,D=wL(C,v,["as","class"]);D.ref=g,D.className=s.atomic?vy(s.class,D.className||I):vy(D.className||I,s.class);const{vars:R}=s;if(R){const x={};for(const W in R){const le=R[W],G=le[0],se=le[1]||"",te=typeof G=="function"?G(v):G;SL(te,s.name),x[`--${W}`]=`${te}${se}`}const j=D.style||{},Q=Object.keys(j);Q.length>0&&Q.forEach(W=>{x[W]=j[W]}),D.style=x}return r.__linaria&&r!==T?(D.as=T,Ke.createElement(r,D)):Ke.createElement(T,D)},p=Ke.forwardRef?Ke.forwardRef(m):v=>{const g=R7(v,["innerRef"]);return m(g,v.innerRef)};return p.displayName=s.name,p.__linaria={className:s.class||o,extends:r},p}}var de=EL;const NL=r=>K.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},K.createElement("path",{d:"M8 4L16 12L8 20",stroke:"#6B6F73",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),ML=r=>K.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},K.createElement("g",{id:"check"},K.createElement("path",{id:"Vector",d:"M4 13L9 18L20 6",stroke:"#107D57",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}))),IL=r=>K.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},K.createElement("rect",{width:16,height:16,rx:8,fill:"#CD2525"}),K.createElement("rect",{x:5.5,y:4.66669,width:8.24958,height:1.17851,rx:.589256,transform:"rotate(45 5.5 4.66669)",fill:"white"}),K.createElement("rect",{x:4.66669,y:10.5,width:8.24958,height:1.17851,rx:.589256,transform:"rotate(-45 4.66669 10.5)",fill:"white"})),_L=r=>K.createElement("svg",{width:12,height:12,viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},K.createElement("g",{id:"Frame 3469478"},K.createElement("path",{id:"Vector 4",d:"M1.62695 1.62598L10.3742 10.3745",stroke:"#6B6F73",strokeWidth:1.5,strokeLinecap:"round"}),K.createElement("path",{id:"Vector 5",d:"M1.62695 10.376L10.3742 1.62746",stroke:"#6B6F73",strokeWidth:1.5,strokeLinecap:"round"}))),CL=r=>K.createElement("svg",{width:64,height:65,viewBox:"0 0 64 65",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},K.createElement("path",{d:"M43.852 8.90765C40.2818 7.13339 36.2575 6.13574 32.0002 6.13574C17.2726 6.13574 5.3335 18.0748 5.3335 32.8024C5.3335 47.53 17.2726 59.4691 32.0002 59.4691C46.7278 59.4691 58.6668 47.53 58.6668 32.8024C58.6668 31.8009 58.6116 30.8123 58.5041 29.8394M24.0002 30.1357L32.0002 38.1357L58.6668 11.4691",stroke:"#107D57",strokeWidth:2.5,strokeLinecap:"round",strokeLinejoin:"round"})),AL=r=>K.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},K.createElement("path",{id:"Selected",fillRule:"evenodd",clipRule:"evenodd",d:"M16 8C16 12.4183 12.4183 16 8 16C3.58172 16 0 12.4183 0 8C0 3.58172 3.58172 0 8 0C12.4183 0 16 3.58172 16 8ZM11.6057 5.43441C11.2933 5.12199 10.7868 5.12199 10.4744 5.43441L6.93812 9.97066L5.08382 8.73446C4.7162 8.48938 4.2195 8.58871 3.97442 8.95634C3.72934 9.32396 3.82868 9.82065 4.1963 10.0657L6.5963 11.6657C6.9136 11.8773 7.33609 11.8354 7.60574 11.5658L11.6057 6.56578C11.9182 6.25336 11.9182 5.74683 11.6057 5.43441Z",fill:"#107D57"})),OL=r=>K.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},K.createElement("g",{id:"Checkmark"},K.createElement("path",{id:"Selected",fillRule:"evenodd",clipRule:"evenodd",d:"M24 12.002C24 18.6294 18.6274 24.002 12 24.002C5.37258 24.002 0 18.6294 0 12.002C0 5.37454 5.37258 0.00195312 12 0.00195312C18.6274 0.00195312 24 5.37454 24 12.002ZM17.4086 8.15357C16.94 7.68494 16.1802 7.68494 15.7116 8.15357L10.4072 14.9579L7.62573 13.1036C7.07429 12.736 6.32925 12.885 5.96163 13.4365C5.59401 13.9879 5.74301 14.7329 6.29445 15.1006L9.89445 17.5006C10.3704 17.8179 11.0041 17.7551 11.4086 17.3506L17.4086 9.85063C17.8772 9.382 17.8772 8.6222 17.4086 8.15357Z",fill:"#FFFFFF"}))),xL=r=>K.createElement("svg",{width:12,height:20,viewBox:"0 0 12 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},K.createElement("path",{id:"Icon / chevron.left",d:"M0 10C0 10.3818 0.145996 10.7075 0.449219 10.9995L9.20898 19.5684C9.44482 19.8154 9.75928 19.939 10.1187 19.939C10.8486 19.939 11.4214 19.3774 11.4214 18.6362C11.4214 18.2769 11.2754 17.9512 11.0283 17.7041L3.1333 10L11.0283 2.2959C11.2754 2.0376 11.4214 1.71191 11.4214 1.35254C11.4214 0.622559 10.8486 0.0610352 10.1187 0.0610352C9.75928 0.0610352 9.44482 0.18457 9.20898 0.431641L0.449219 9.00049C0.145996 9.29248 0.0112305 9.61816 0 10Z",fill:"white",fillOpacity:.6})),LL=r=>K.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},K.createElement("g",{id:"Chevron"},K.createElement("path",{id:"Chevron_2",d:"M6 11.999C6 12.1725 6.03134 12.334 6.09401 12.4837C6.15669 12.6334 6.25428 12.7756 6.3868 12.9103L14.0436 20.6565C14.2648 20.8855 14.5323 21 14.8459 21C15.0607 21 15.2544 20.9475 15.4271 20.8426C15.5998 20.7377 15.7384 20.5965 15.8431 20.4191C15.9477 20.2416 16 20.0425 16 19.8217C16 19.4989 15.8816 19.2134 15.6448 18.9654L8.74183 11.9971L15.6448 5.03271C15.8816 4.78709 16 4.5023 16 4.17834C16 3.95749 15.9477 3.75835 15.8431 3.58091C15.7384 3.40347 15.5998 3.26229 15.4271 3.15738C15.2544 3.05246 15.0607 3 14.8459 3C14.5323 3 14.2648 3.11169 14.0436 3.33508L6.3868 11.0878C6.25551 11.2225 6.15853 11.3644 6.09586 11.5134C6.03318 11.6625 6.00123 11.8244 6 11.999Z",fill:"white"}))),RL=r=>K.createElement("svg",{width:16,height:17,viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},K.createElement("g",{id:"Chevron"},K.createElement("path",{id:"Chevron_2",d:"M12 8.17222C12 8.28783 11.9781 8.39553 11.9342 8.49533C11.8903 8.59513 11.822 8.68992 11.7292 8.7797L6.36949 13.9439C6.21462 14.0965 6.02742 14.1729 5.80787 14.1729C5.65752 14.1729 5.52191 14.1379 5.40104 14.0679C5.28016 13.998 5.1831 13.9039 5.10986 13.7856C5.03662 13.6673 5 13.5345 5 13.3873C5 13.1721 5.08288 12.9818 5.24863 12.8164L10.0807 8.17095L5.24863 3.52799C5.08288 3.36425 5 3.17439 5 2.95841C5 2.81118 5.03662 2.67842 5.10986 2.56013C5.1831 2.44183 5.28016 2.34771 5.40104 2.27777C5.52191 2.20782 5.65752 2.17285 5.80787 2.17285C6.02742 2.17285 6.21462 2.24731 6.36949 2.39624L11.7292 7.56473C11.8211 7.65451 11.889 7.74909 11.9329 7.84846C11.9768 7.94784 11.9991 8.05576 12 8.17222Z",fill:"#FFFFFF"}))),DL=r=>K.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},K.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 -2.43189e-06C18.6274 -2.72158e-06 24 5.37258 24 12C24 18.6274 18.6274 24 12 24C5.37258 24 8.1423e-07 18.6274 5.24537e-07 12C2.34843e-07 5.37258 5.37258 -2.14219e-06 12 -2.43189e-06ZM11.9999 22.5883C17.8476 22.5883 22.5881 17.8478 22.5881 12.0001C22.5881 6.15238 17.8476 1.41187 11.9999 1.41187C6.15217 1.41187 1.41166 6.15239 1.41166 12.0001C1.41166 17.8478 6.15217 22.5883 11.9999 22.5883Z",fill:"white"}),K.createElement("path",{d:"M10.8547 7.5429C10.524 7.23657 10.0131 7.23657 9.68243 7.5429C9.31416 7.88401 9.31384 8.46633 9.68174 8.80784L13.1206 12L9.68175 15.1922C9.31384 15.5337 9.31416 16.116 9.68243 16.4571C10.0131 16.7634 10.524 16.7634 10.8547 16.4571L14.9802 12.6358C15.3505 12.2928 15.3505 11.7072 14.9802 11.3642L10.8547 7.5429Z",fill:"white"})),PL=r=>K.createElement("svg",{width:12,height:12,viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},K.createElement("path",{d:"M1.62695 1.62598L10.3742 10.3745",stroke:"#6B6F73",strokeWidth:1.5,strokeLinecap:"round"}),K.createElement("path",{d:"M1.62695 10.376L10.3742 1.62746",stroke:"#6B6F73",strokeWidth:1.5,strokeLinecap:"round"})),UL=r=>K.createElement("svg",{width:10,height:10,viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},K.createElement("g",{id:"Group 465"},K.createElement("rect",{id:"Rectangle 368",x:1.25,width:12.3744,height:1.76777,rx:.883884,transform:"rotate(45 1.25 0)",fill:"white"}),K.createElement("rect",{id:"Rectangle 369",y:8.75,width:12.3744,height:1.76777,rx:.883884,transform:"rotate(-45 0 8.75)",fill:"white"}))),jL=r=>K.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},K.createElement("rect",{y:.00195312,width:24,height:24,rx:12,fill:"#F80022"}),K.createElement("rect",{x:8.25,y:7.00195,width:12.3744,height:1.76777,rx:.883884,transform:"rotate(45 8.25 7.00195)",fill:"white"}),K.createElement("rect",{x:7,y:15.752,width:12.3744,height:1.76777,rx:.883884,transform:"rotate(-45 7 15.752)",fill:"white"})),zL=r=>K.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},K.createElement("g",{id:"Frame"},K.createElement("path",{id:"Vector",d:"M5.79479 6.80154C5.5243 6.53492 5.11861 6.53492 4.84812 6.80154C4.57768 7.06812 4.57768 7.46803 4.84812 7.73465L7.62043 10.6673C7.75567 10.8006 7.95852 10.8672 8.09376 10.8672C8.29661 10.8672 8.49945 10.8006 8.5671 10.6007L15.1936 2.40258C15.3964 2.13598 15.3964 1.66942 15.0583 1.46947C14.8555 1.26951 14.4498 1.26951 14.1793 1.60277L12.827 3.26904C11.6099 2.06932 9.85181 1.33616 8.09376 1.33616C4.37481 1.33616 1.33203 4.33546 1.33203 8.00128C1.33203 11.6671 4.37481 14.6663 8.09376 14.6663C11.8127 14.6663 14.8555 11.6671 14.8555 8.00128C14.8555 7.40141 14.7879 6.80154 14.5851 6.20168C14.4498 5.86843 14.1117 5.66848 13.7736 5.73514C13.4355 5.80176 13.2327 6.20168 13.3003 6.53492C13.4355 7.0015 13.5031 7.5347 13.5031 8.00128C13.5031 10.9339 11.0689 13.3333 8.09376 13.3333C5.11861 13.3333 2.68438 10.9339 2.68438 8.00128C2.68438 5.06861 5.11861 2.66918 8.09376 2.66918C9.58136 2.66918 10.9337 3.26904 12.0156 4.33546L8.09376 9.20096L5.79479 6.80154Z",fill:"white"}))),BL=r=>K.createElement("svg",{width:25,height:24,viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},K.createElement("path",{d:"M15.8 22.0002H6C4 22.0002 2.5 20.5002 2.5 18.5002V8.7002C2.5 6.8002 4 5.2002 6 5.2002H15.8C17.7 5.2002 19.3 6.7002 19.3 8.7002V18.5002C19.2 20.5002 17.7 22.0002 15.8 22.0002ZM6 7.3002C5.2 7.3002 4.5 7.9002 4.5 8.7002V18.5002C4.5 19.3002 5.2 20.0002 6 20.0002H15.8C16.6 20.0002 17.3 19.3002 17.3 18.5002V8.7002C17.3 7.9002 16.6 7.2002 15.8 7.2002H6V7.3002Z",fill:"#107D57"}),K.createElement("path",{d:"M21.5016 17.9C20.9016 17.9 20.5016 17.5 20.5016 16.9V6.3C20.5016 5 19.5016 4 18.2016 4H7.60157C7.00156 4 6.60156 3.6 6.60156 3C6.60156 2.4 7.00156 2 7.60157 2H18.2016C20.6016 2 22.5016 3.9 22.5016 6.3V16.9C22.5016 17.5 22.1016 17.9 21.5016 17.9Z",fill:"#107D57"})),FL=r=>K.createElement("svg",{width:40,height:40,viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},K.createElement("g",{id:"CarbonUserAvatar 1"},K.createElement("g",{id:"Group 232"},K.createElement("path",{id:"Vector",d:"M19.9992 14.2861C19.2928 14.2861 18.6023 14.4956 18.015 14.888C17.4277 15.2805 16.9699 15.8382 16.6996 16.4908C16.4293 17.1434 16.3586 17.8615 16.4964 18.5543C16.6342 19.2471 16.9743 19.8835 17.4738 20.3829C17.9733 20.8824 18.6096 21.2226 19.3024 21.3604C19.9952 21.4982 20.7133 21.4274 21.3659 21.1571C22.0185 20.8868 22.5763 20.4291 22.9687 19.8417C23.3611 19.2544 23.5706 18.5639 23.5706 17.8576C23.5706 16.9104 23.1943 16.002 22.5245 15.3322C21.8548 14.6624 20.9464 14.2861 19.9992 14.2861ZM19.9992 20.0004C19.5753 20.0004 19.161 19.8747 18.8087 19.6393C18.4563 19.4038 18.1816 19.0692 18.0194 18.6776C17.8572 18.286 17.8148 17.8552 17.8975 17.4395C17.9802 17.0238 18.1843 16.642 18.4839 16.3423C18.7836 16.0426 19.1654 15.8386 19.5811 15.7559C19.9968 15.6732 20.4276 15.7156 20.8192 15.8778C21.2108 16.04 21.5454 16.3147 21.7809 16.6671C22.0163 17.0194 22.142 17.4337 22.142 17.8576C22.1415 18.4257 21.9155 18.9704 21.5138 19.3722C21.112 19.7739 20.5673 19.9999 19.9992 20.0004Z",fill:"white"}),K.createElement("path",{id:"Vector_2",d:"M20 10C18.0222 10 16.0888 10.5865 14.4443 11.6853C12.7998 12.7841 11.5181 14.3459 10.7612 16.1732C10.0043 18.0004 9.8063 20.0111 10.1922 21.9509C10.578 23.8907 11.5304 25.6725 12.9289 27.0711C14.3275 28.4696 16.1093 29.422 18.0491 29.8078C19.9889 30.1937 21.9996 29.9957 23.8268 29.2388C25.6541 28.4819 27.2159 27.2002 28.3147 25.5557C29.4135 23.9112 30 21.9778 30 20C29.997 17.3488 28.9424 14.807 27.0677 12.9323C25.193 11.0576 22.6512 10.003 20 10ZM15.7143 27.4121V26.4286C15.7149 25.8604 15.9408 25.3157 16.3425 24.914C16.7443 24.5122 17.289 24.2863 17.8571 24.2857H22.1429C22.711 24.2863 23.2557 24.5122 23.6575 24.914C24.0592 25.3157 24.2851 25.8604 24.2857 26.4286V27.4121C22.9851 28.1716 21.5061 28.5718 20 28.5718C18.4939 28.5718 17.0149 28.1716 15.7143 27.4121ZM25.7086 26.3757C25.6943 25.4388 25.3126 24.545 24.6457 23.8868C23.9787 23.2287 23.0799 22.8589 22.1429 22.8571H17.8571C16.9201 22.8589 16.0213 23.2287 15.3544 23.8868C14.6874 24.545 14.3057 25.4388 14.2914 26.3757C12.9961 25.2191 12.0827 23.6963 11.672 22.009C11.2614 20.3218 11.3729 18.5495 11.9919 16.927C12.6108 15.3046 13.708 13.9083 15.1381 12.9233C16.5682 11.9382 18.2638 11.4107 20.0004 11.4107C21.7369 11.4107 23.4325 11.9382 24.8626 12.9233C26.2927 13.9083 27.3899 15.3046 28.0088 16.927C28.6278 18.5495 28.7393 20.3218 28.3287 22.009C27.9181 23.6963 27.0039 25.2191 25.7086 26.3757Z",fill:"white"})))),VL=r=>K.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},K.createElement("rect",{width:24,height:24,rx:12,fill:"white",fillOpacity:.1}),K.createElement("rect",{x:8.25,y:7,width:12.3744,height:1.76777,rx:.883884,transform:"rotate(45 8.25 7)",fill:"white"}),K.createElement("rect",{x:7,y:15.75,width:12.3744,height:1.76777,rx:.883884,transform:"rotate(-45 7 15.75)",fill:"white"})),YL=r=>K.createElement("svg",{width:17,height:17,viewBox:"0 0 17 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},K.createElement("path",{d:"M9.16683 2.66671H7.16683C5.29999 2.66671 4.36657 2.66671 3.65353 3.03002C3.02632 3.3496 2.51639 3.85953 2.19681 4.48674C1.8335 5.19978 1.8335 6.1332 1.8335 8.00004V9.33337C1.8335 11.2002 1.8335 12.1336 2.19681 12.8467C2.51639 13.4739 3.02632 13.9838 3.65353 14.3034C4.36657 14.6667 5.29999 14.6667 7.16683 14.6667H8.50016C10.367 14.6667 11.3004 14.6667 12.0135 14.3034C12.6407 13.9838 13.1506 13.4739 13.4702 12.8467C13.8335 12.1336 13.8335 11.2002 13.8335 9.33337V7.33337M8.50016 8.00004L15.1668 1.33337M15.1668 1.33337H11.8335M15.1668 1.33337V4.66671",stroke:"#107D57",strokeLinecap:"round",strokeLinejoin:"round"})),QL=r=>K.createElement("svg",{width:41,height:40,viewBox:"0 0 41 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},K.createElement("rect",{x:.5,width:40,height:40,rx:8,fill:"#F2F2F1"}),K.createElement("path",{d:"M22.49 31.4288V21.0023H25.9898L26.5137 16.939H22.49V14.3446C22.49 13.1682 22.8167 12.3664 24.5039 12.3664L26.6556 12.3654V8.73123C26.2833 8.68189 25.0061 8.57129 23.5202 8.57129C20.4179 8.57129 18.294 10.4648 18.294 13.9424V16.9391H14.7852V21.0024H18.2939V31.4289L22.49 31.4288Z",fill:"#3C5A9A"})),GL=r=>K.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},K.createElement("rect",{width:32,height:32,rx:16,fill:"white"}),K.createElement("path",{d:"M10.4615 12.6875C9.44231 12.6875 8.61538 13.4665 8.61538 14.4266C8.61538 15.3868 9.44231 16.1658 10.4615 16.1658C11.4808 16.1658 12.3077 15.3868 12.3077 14.4266C12.3077 13.4665 11.4808 12.6875 10.4615 12.6875ZM10.4615 16.1658C9.10817 16.1658 8 17.2097 8 18.4846V19.7527C8 19.7527 8.61538 20.2237 10.4615 20.2237C12.3077 20.2237 12.9231 19.7527 12.9231 19.7527V18.4846C12.9231 17.2097 11.8149 16.1658 10.4615 16.1658ZM21.5385 12.6875C20.5192 12.6875 19.6923 13.4665 19.6923 14.4266C19.6923 15.3868 20.5192 16.1658 21.5385 16.1658C22.5577 16.1658 23.3846 15.3868 23.3846 14.4266C23.3846 13.4665 22.5577 12.6875 21.5385 12.6875ZM21.5385 16.1658C20.1851 16.1658 19.0769 17.2097 19.0769 18.4846V19.7527C19.0769 19.7527 19.6923 20.2237 21.5385 20.2237C23.3846 20.2237 24 19.7527 24 19.7527V18.4846C24 17.2097 22.8918 16.1658 21.5385 16.1658ZM16 15.0063C14.9808 15.0063 14.1538 15.7853 14.1538 16.7455C14.1538 17.7056 14.9808 18.4846 16 18.4846C17.0192 18.4846 17.8462 17.7056 17.8462 16.7455C17.8462 15.7853 17.0192 15.0063 16 15.0063ZM16 18.4846C14.6466 18.4846 13.5385 19.5285 13.5385 20.8034V22.0715C13.5385 22.0715 14.1538 22.5425 16 22.5425C17.8462 22.5425 18.4615 22.0715 18.4615 22.0715V20.8034C18.4615 19.5285 17.3534 18.4846 16 18.4846Z",fill:"#107D57"}),K.createElement("path",{opacity:.5,d:"M13.3908 9C12.3103 9 11.4336 9.82584 11.4336 10.8437C11.4336 11.8616 12.3103 12.6875 13.3908 12.6875C14.4713 12.6875 15.348 11.8616 15.348 10.8437C15.348 9.82584 14.4713 9 13.3908 9ZM13.3908 12.6875C13.1946 12.6875 12.9958 12.6827 12.7996 12.7451C13.192 13.2372 13.3908 13.8542 13.3908 14.5312C13.3908 14.7761 13.3296 15.0161 13.3296 15.261C13.8521 14.524 14.6956 14.0391 15.6742 13.9166C15.218 13.1796 14.3694 12.6875 13.3908 12.6875ZM18.61 9C17.5295 9 16.6528 9.82584 16.6528 10.8437C16.6528 11.8616 17.5295 12.6875 18.61 12.6875C19.6905 12.6875 20.5672 11.8616 20.5672 10.8437C20.5672 9.82584 19.6905 9 18.61 9ZM18.61 12.6875C17.6314 12.6875 16.7828 13.1796 16.3266 13.9166C17.3052 14.0391 18.1487 14.524 18.6712 15.261C18.6712 15.0161 18.61 14.7761 18.61 14.5312C18.61 13.8542 18.8088 13.2372 19.2012 12.7451C19.005 12.6827 18.8062 12.6875 18.61 12.6875Z",fill:"#107D57"})),HL=r=>K.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},K.createElement("g",{id:"Share"},K.createElement("path",{id:"Vector",d:"M11 4.965V1.125L18 7.845L11 14.565V10.629C6 10.629 2.5 12.165 0 15.525C1 10.725 4 5.925 11 4.965Z",fill:"white"}))),$L=r=>K.createElement("svg",{width:17,height:16,viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"sc-ANdsN kTVWJE",...r},K.createElement("path",{d:"M6.6665 3.16669H4.99984C4.26346 3.16669 3.6665 3.76364 3.6665 4.50002V11.5C3.6665 12.2364 4.26346 12.8334 4.99984 12.8334H11.9998C12.7362 12.8334 13.3332 12.2364 13.3332 11.5V9.83335",stroke:"#ffffff",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),K.createElement("path",{d:"M13.3335 6.16669V3.16669H10.3335",stroke:"#ffffff",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),K.createElement("path",{d:"M13.1668 3.33331L8.3335 8.16665",stroke:"#ffffff",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),qL=r=>K.createElement("svg",{width:17,height:18,viewBox:"0 0 17 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},K.createElement("g",{id:"Group"},K.createElement("path",{id:"Vector",d:"M12.5396 12.431L15.8603 9.00169L12.5396 5.57239",stroke:"#EB5757",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),K.createElement("path",{id:"Vector_2",d:"M15.8602 9.00159H5.57227",stroke:"#EB5757",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),K.createElement("path",{id:"Vector_3",d:"M12.431 1L3.2862 1.00229C2.02422 1.00343 1 2.02651 1 3.28849V14.7138C1 15.3201 1.24087 15.9016 1.66961 16.3304C2.09836 16.7591 2.67987 17 3.2862 17H12.5396",stroke:"#EB5757",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}))),WL=r=>K.createElement("svg",{width:99,height:96,viewBox:"0 0 99 96",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},K.createElement("g",{id:"Masters Logo Big"},K.createElement("path",{id:"Vector",d:"M67.4732 4.82378C66.1754 4.41151 64.8776 5.1433 63.5798 5.88539C63.117 6.15337 62.7951 6.60687 62.6844 7.13253L60.6421 16.9035C60.5616 17.2642 60.8836 17.594 61.2357 17.5116C63.3786 17.0065 65.4208 15.0894 67.5738 15.7594C69.9783 16.5118 72.3928 13.3888 74.7972 13.43V2.1543C72.3626 2.1646 69.8776 5.57618 67.4732 4.82378Z",fill:"white"}),K.createElement("path",{id:"Vector_2",d:"M98.1678 34.7754C97.6547 34.4147 97.3429 33.8272 97.3429 33.1882V31.4051C97.3429 29.8075 96.0752 28.5089 94.5159 28.5089H93.3891C92.041 28.5089 90.8035 29.1994 90.0691 30.3538L86.4272 36.1153C86.065 36.6822 85.4514 37.0223 84.7974 37.0223H82.3427C81.1253 37.0223 80.0086 37.7026 79.4251 38.8054C78.8215 39.9392 77.7752 40.7225 76.5679 40.9905V0.917313C76.5679 0.412276 76.1756 0 75.6726 0C75.1796 0 74.7772 0.412276 74.7772 0.917313V2.15414V13.4196V41.0111C73.5699 40.7431 72.5236 39.9598 71.92 38.8261C71.3465 37.7232 70.2298 37.043 69.0125 37.043H67.3626C66.0547 37.043 64.8676 37.8366 64.3344 39.0528L62.9661 42.2067C62.7448 42.7014 62.2619 43.0313 61.7287 43.0313C61.1955 43.0313 60.7126 42.7118 60.4913 42.2067L59.123 39.0528C58.5898 37.8263 57.4027 37.0327 56.0948 37.0327H9.52479C9.14249 37.0327 8.84068 37.3419 8.84068 37.7335C8.84068 38.5478 8.18674 39.2177 7.39196 39.2177H5.37986C4.99757 39.2177 4.69575 39.5269 4.69575 39.9186V42.3098C4.69575 44.5567 4.26315 46.7624 3.42813 48.834L2.20075 51.8643C1.05385 54.6884 0.510584 57.5846 0.520645 60.4396V67.4071C0.520645 69.2932 0.782218 71.1897 1.31542 73.0449C2.81444 78.2396 6.20483 82.4963 10.893 85.0215L18.3378 89.0412C18.4384 89.0928 18.539 89.1237 18.6497 89.1237L24.1528 89.1649C25.4405 89.1752 26.7081 89.5153 27.8248 90.1544L30.7826 91.8447C30.8832 91.9065 30.9939 91.9375 31.1146 91.9375H35.0684C36.4567 91.9375 37.825 92.3291 39.0121 93.0609C39.0121 93.0609 40.9437 94.2668 41.5977 94.6585C42.6439 95.2872 43.9116 95.885 46.1148 95.9984C46.6178 96.019 47.1108 95.8438 47.483 95.483C47.8553 95.1223 48.0666 94.6172 48.0666 94.0916V91.3809C48.0666 89.4123 49.2034 87.6292 50.964 86.8355L57.0003 84.1145C57.8252 83.7435 58.7508 83.6816 59.6059 83.9496L61.8595 84.6402C62.8152 84.9288 63.8313 84.9391 64.7972 84.6402L70.1493 83.0117C70.8636 82.7952 71.6081 82.7952 72.3325 83.022L74.5055 83.6507C75.5216 83.9496 76.2259 84.8979 76.2259 85.9801V91.4118C76.2259 93.937 78.238 95.9984 80.7028 95.9984C82.5439 95.9984 84.1636 94.7822 84.7169 92.9888C85.723 89.7421 86.2361 86.3614 86.2361 82.9499V80.6411C86.2361 79.0023 86.9001 77.415 88.0671 76.2916L90.2905 74.1375C91.7895 72.6739 92.6547 70.6228 92.6547 68.4996V55.616C92.6547 53.6164 93.2382 51.6994 94.3549 50.0606C94.4354 49.9472 94.4756 49.8029 94.4756 49.6586V46.6284C94.4756 44.6494 95.0591 42.7324 96.1557 41.1039L98.359 37.8263C98.4395 37.7129 98.4797 37.5686 98.4797 37.4346V35.3732C98.4797 34.9713 98.2584 34.8373 98.1678 34.7754ZM74.7872 69.2211C73.2882 68.9943 72.1816 68.2007 72.1816 67.2628C72.1816 66.3248 73.2882 65.5312 74.7872 65.3045V69.2211ZM76.5679 65.2941C78.0669 65.5209 79.1736 66.3145 79.1736 67.2525C79.1736 68.1904 78.0669 68.984 76.5679 69.2108V65.2941ZM12.6637 84.3928L11.5268 83.7847C8.45838 82.1356 6.00362 79.6619 4.32351 76.673V72.9109C6.24507 75.7556 8.85074 78.1881 12.05 79.9093L12.6637 80.2391V84.3928ZM18.3478 87.4643L15.3398 85.8461V81.6924L18.3378 83.3106H18.3478V87.4643ZM30.8832 90.2987L28.4989 88.9382C27.2011 88.1961 25.7322 87.7941 24.2534 87.7735V83.4343C25.5009 83.4652 26.7383 83.795 27.8349 84.4237L30.7927 86.1141C30.8229 86.1347 30.853 86.1244 30.8832 86.1347V90.2987ZM46.6983 91.3706V93.4835V94.0813C46.6983 94.2256 46.638 94.3596 46.5474 94.4523C46.4468 94.5451 46.3261 94.5966 46.1953 94.5863C44.2939 94.4833 43.1973 93.9782 42.3019 93.432C41.658 93.0403 39.7365 91.8447 39.7264 91.8447C38.5191 91.1026 37.161 90.68 35.7626 90.577V86.2377C36.9095 86.3408 38.0262 86.7016 39.0222 87.3097L40.6821 88.33C42.5031 89.4535 44.5756 90.0925 46.6983 90.2059V91.3706ZM63.1372 83.4446C62.8354 83.424 62.5436 83.3827 62.2519 83.3003L59.9983 82.6097C59.5154 82.4654 59.0124 82.4036 58.5194 82.4036V78.0644C58.8816 78.0644 59.2538 78.1056 59.6059 78.2087L61.8595 78.8992C62.272 79.0229 62.7046 79.0848 63.1372 79.1054V83.4446ZM77.2923 84.4959C76.8597 83.4549 75.9945 82.62 74.8878 82.3005L72.7248 81.6718C72.2117 81.5069 71.6785 81.445 71.1453 81.4554V77.1265C71.5578 77.1161 71.9703 77.1677 72.3727 77.3017L74.1534 77.8789C76.0347 78.487 77.3024 80.2494 77.3024 82.2696V84.4959H77.2923ZM83.5197 92.1848C83.4795 92.3085 83.4594 92.4322 83.4191 92.5559C83.0368 93.7721 81.9503 94.5863 80.7028 94.5863C80.5921 94.5863 80.4815 94.5657 80.3708 94.5554V90.2265C80.4513 90.2368 80.5318 90.2471 80.6223 90.2471C81.8396 90.2471 82.9362 89.5463 83.5197 88.495V92.1848ZM95.1799 38.0118C93.8217 40.032 93.1074 42.4025 93.1074 44.8556V46.9994L92.051 48.5661C90.6828 50.5965 89.9484 52.9774 89.9484 55.4408V66.2218C89.9484 67.9739 89.2442 69.6643 88.0067 70.8702L85.7834 73.0346C84.2944 74.4879 83.4694 76.539 83.5298 78.6519L83.5399 79.1363C83.6203 81.9398 83.2682 84.7226 82.5137 87.4127C82.2722 88.2682 81.4976 88.866 80.6223 88.866C79.5358 88.866 78.6605 87.959 78.6605 86.8562V82.2696C78.6605 79.631 77.0106 77.3326 74.5558 76.539L72.7751 75.9618C71.7892 75.6423 70.753 75.6423 69.767 75.9412L64.4149 77.5697C63.7106 77.7861 62.9661 77.7861 62.2519 77.5697L59.9983 76.8791C58.8313 76.5183 57.5637 76.6008 56.4469 77.1058L51.6883 79.2497C48.6501 80.6102 46.6883 83.6919 46.6883 87.0932V88.8454C44.817 88.732 42.986 88.1548 41.3763 87.1654L39.7163 86.145C38.3079 85.2792 36.7083 84.8257 35.0684 84.8257H31.3058L28.5089 83.2281C27.191 82.4757 25.692 82.0635 24.1729 82.0532L18.8307 82.0119L12.6938 78.7034C3.38789 73.653 -0.58601 62.367 3.45831 52.4208L4.68569 49.3906C5.6012 47.1437 6.06398 44.7628 6.06398 42.3304V40.6401H7.39196C8.70989 40.6401 9.81654 39.7021 10.1284 38.455H56.0948C56.8594 38.455 57.5637 38.9188 57.8755 39.6403L59.2438 42.7942C59.6764 43.8043 60.6522 44.4536 61.7287 44.4536C62.8052 44.4536 63.781 43.8043 64.2136 42.8045L65.5819 39.6506C65.8938 38.9291 66.5879 38.4653 67.3626 38.4653H69.0125C69.7268 38.4653 70.3807 38.8673 70.7228 39.5063C71.5679 41.1039 73.0769 42.1758 74.7872 42.4541V62.2639C72.0307 62.5731 69.918 64.2532 69.918 66.3042C69.918 68.5614 72.4934 70.3961 75.6726 70.3961C78.8517 70.3961 81.4272 68.5614 81.4272 66.3042C81.4272 64.2635 79.3145 62.5731 76.5579 62.2639V42.4438C78.2682 42.1655 79.7772 41.0936 80.6223 39.496C80.9644 38.857 81.6183 38.455 82.3326 38.455H84.7874C85.9141 38.455 86.9504 37.8778 87.5641 36.909L91.206 31.1371C91.6889 30.3847 92.4937 29.9312 93.379 29.9312H94.5058C95.3106 29.9312 95.9646 30.6012 95.9646 31.4257V33.2088C95.9646 34.0746 96.2865 34.8888 96.86 35.4969L95.1799 38.0118Z",fill:"white"}))),KL=r=>K.createElement("svg",{width:48,height:48,viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},K.createElement("circle",{opacity:.5,cx:24,cy:24.001,r:24,fill:"black"}),K.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M32.5432 24.7938C33.215 24.3331 33.2822 23.5173 32.5432 23.0567C23.7807 17.6245 19.6442 14.918 19.1356 14.5917C18.3486 14.083 17.6 14.6973 17.6 15.2059V32.7501C17.6 33.3259 18.5309 33.8442 19.1356 33.4795C20.2201 32.8172 31.8714 25.2641 32.5336 24.8034L32.5432 24.7938Z",fill:"white"})),ZL=r=>K.createElement("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},K.createElement("path",{id:"Start - You",d:"M8 0L9.79611 5.52786H15.6085L10.9062 8.94427L12.7023 14.4721L8 11.0557L3.29772 14.4721L5.09383 8.94427L0.391548 5.52786H6.20389L8 0Z",fill:"#F4D22A"})),JL=r=>K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:22,height:22,viewBox:"0 0 22 22",fill:"none",...r},K.createElement("path",{d:"M5.5 2.78867V12.4137C5.5 13.1729 4.88426 13.75 4.125 13.75H1.375C0.615742 13.75 0 13.1343 0 12.4137V2.82734C0 2.06808 0.615742 1.49102 1.375 1.49102H4.125C4.88555 1.41367 5.5 1.99375 5.5 2.78867ZM22 12.3707C22 13.5094 21.077 14.4323 19.9375 14.4323H13.6426C14.621 16.0613 15.1259 17.9077 15.1259 18.5582C15.125 19.5714 14.3301 20.625 12.998 20.625C10.2854 20.625 11.8654 17.3529 8.34883 14.5406L7.64844 13.982C7.14141 13.5738 6.88359 12.9766 6.8793 12.375C6.87829 12.374 6.8793 12.375 6.8793 12.375L6.875 5.5C6.875 4.85117 7.18064 4.23973 7.7 3.85043L9.16695 2.75086C10.3555 1.85625 11.8035 1.375 13.2902 1.375H15.8125C16.952 1.375 17.875 2.29754 17.875 3.43664C17.875 3.59283 17.8544 3.74357 17.8215 3.88996C18.6484 4.15937 19.25 4.92422 19.25 5.84375C19.25 6.23683 19.1341 6.60043 18.9432 6.91281C19.8988 7.08984 20.625 7.92773 20.625 8.9332C20.625 9.47031 20.4148 9.955 20.0784 10.322C21.1492 10.3941 22 11.2793 22 12.3707Z",fill:"white"})),XL=r=>K.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},K.createElement("path",{d:"M17.4777 8.95762C17.4777 8.70612 17.4177 8.47012 17.3172 8.25562C16.6467 6.09262 13.5077 6.25062 9.04275 6.14512C8.29625 6.12762 8.72325 5.24612 8.98525 3.31112C9.15575 2.05262 8.34425 0.120117 6.98025 0.120117C4.73125 0.120117 6.89475 1.89412 4.90625 6.28112C3.84375 8.62512 1.46875 7.31212 1.46875 9.66662V15.0261C1.46875 15.9426 1.55875 16.8236 2.84775 16.9686C4.09725 17.1091 3.81625 17.9996 5.61875 17.9996H14.6407C15.5597 17.9996 16.3072 17.2516 16.3072 16.3326C16.3072 15.9516 16.1737 15.6046 15.9582 15.3236C16.4682 15.0381 16.8182 14.4991 16.8182 13.8741C16.8182 13.4941 16.6852 13.1471 16.4702 12.8666C16.9817 12.5816 17.3327 12.0421 17.3327 11.4161C17.3327 10.9616 17.1487 10.5496 16.8522 10.2481C17.2307 9.94262 17.4777 9.48062 17.4777 8.95762Z",fill:"white"}),K.createElement("path",{d:"M11.5088 10.625H15.8108C16.3958 10.625 16.9448 10.312 17.2438 9.80849C17.3668 9.60099 17.2983 9.33249 17.0903 9.20899C16.8828 9.08549 16.6143 9.15499 16.4908 9.36249C16.3493 9.60199 16.0878 9.74999 15.8103 9.74999H11.4053C10.9688 9.74999 10.6138 9.39499 10.6138 8.95849C10.6138 8.52199 10.9688 8.16699 11.4053 8.16699H14.3488C14.5903 8.16699 14.7863 7.97099 14.7863 7.72949C14.7863 7.48799 14.5903 7.29199 14.3488 7.29199H11.4048C10.4858 7.29199 9.73828 8.03949 9.73828 8.95849C9.73828 9.47099 9.97578 9.92449 10.3408 10.2305C10.0333 10.533 9.84178 10.953 9.84178 11.417C9.84178 11.931 10.0808 12.386 10.4478 12.6915C10.1423 12.9935 9.95278 13.412 9.95278 13.875C9.95278 14.435 10.2323 14.929 10.6573 15.2315C10.3953 15.526 10.2313 15.9095 10.2313 16.3335C10.2313 17.2525 10.9788 18 11.8978 18H14.6398C15.2248 18 15.7743 17.6875 16.0733 17.184C16.1968 16.9765 16.1283 16.708 15.9208 16.5845C15.7128 16.462 15.4443 16.5295 15.3213 16.737C15.1788 16.9765 14.9173 17.125 14.6398 17.125H11.8978C11.4613 17.125 11.1063 16.77 11.1063 16.3335C11.1063 15.897 11.4613 15.542 11.8978 15.542H15.1508C15.7358 15.542 16.2858 15.229 16.5843 14.7255C16.7078 14.5175 16.6393 14.249 16.4318 14.126C16.2223 14.0005 15.9548 14.071 15.8323 14.2785C15.6878 14.522 15.4328 14.667 15.1508 14.667H11.6193C11.1828 14.667 10.8278 14.3115 10.8278 13.875C10.8278 13.4385 11.1828 13.0835 11.6193 13.0835H15.6648C16.2498 13.0835 16.7993 12.771 17.0983 12.2675C17.2218 12.06 17.1533 11.7915 16.9458 11.668C16.7373 11.545 16.4693 11.613 16.3463 11.8205C16.2018 12.0635 15.9468 12.2085 15.6648 12.2085H11.5088C11.0723 12.2085 10.7173 11.8535 10.7173 11.417C10.7173 10.9805 11.0718 10.625 11.5088 10.625Z",fill:"#107D57"})),eR=r=>K.createElement("svg",{width:12,height:12,viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},K.createElement("g",{id:"Trophy"},K.createElement("path",{id:"Combined Shape",fillRule:"evenodd",clipRule:"evenodd",d:"M2.76916 3.50002C2.76916 4.49786 2.94705 5.38348 3.30282 6.15692C2.62493 6.01847 2.05883 5.74872 1.6045 5.34768C1.15017 4.94663 0.923008 4.55992 0.923008 4.18752V3.50002H2.76916ZM11.0768 3.50002V4.18752C11.0768 4.55992 10.8497 4.94663 10.3953 5.34768C9.941 5.74872 9.3749 6.01847 8.69701 6.15692C9.05278 5.38348 9.23066 4.49786 9.23066 3.50002H11.0768ZM12 4.1875V3.27083C12 3.07986 11.9327 2.91754 11.7981 2.78385C11.6635 2.65017 11.5 2.58333 11.3077 2.58333H9.23077V1.89583C9.23077 1.58073 9.11779 1.31098 8.89183 1.08659C8.66586 0.862195 8.39423 0.75 8.07692 0.75H3.92308C3.60577 0.75 3.33414 0.862195 3.10817 1.08659C2.88221 1.31098 2.76923 1.58073 2.76923 1.89583V2.58333H0.692308C0.499999 2.58333 0.336539 2.65017 0.201923 2.78385C0.067307 2.91754 0 3.07986 0 3.27083V4.1875C0 4.52648 0.0997586 4.86784 0.299279 5.21159C0.498799 5.55534 0.768027 5.86567 1.10697 6.14258C1.44592 6.41949 1.86178 6.65223 2.35457 6.84082C2.84736 7.02941 3.36538 7.13563 3.90865 7.15951C4.11058 7.41732 4.33894 7.6441 4.59375 7.83984C4.77644 8.00217 4.90264 8.17524 4.97236 8.35905C5.04207 8.54286 5.07692 8.75651 5.07692 9C5.07692 9.25781 5.00361 9.47504 4.85697 9.65169C4.71034 9.82834 4.47596 9.91667 4.15385 9.91667C3.79327 9.91667 3.47236 10.0253 3.19111 10.2425C2.90985 10.4597 2.76923 10.7331 2.76923 11.0625V11.5208C2.76923 11.5877 2.79087 11.6426 2.83413 11.6855C2.8774 11.7285 2.93269 11.75 3 11.75H9C9.06731 11.75 9.1226 11.7285 9.16586 11.6855C9.20913 11.6426 9.23077 11.5877 9.23077 11.5208V11.0625C9.23077 10.7331 9.09015 10.4597 8.80889 10.2425C8.52764 10.0253 8.20673 9.91667 7.84615 9.91667C7.52404 9.91667 7.28966 9.82834 7.14303 9.65169C6.99639 9.47504 6.92308 9.25781 6.92308 9C6.92308 8.75651 6.95793 8.54286 7.02764 8.35905C7.09736 8.17524 7.22356 8.00217 7.40625 7.83984C7.66106 7.6441 7.88942 7.41732 8.09135 7.15951C8.63462 7.13563 9.15264 7.02941 9.64543 6.84082C10.1382 6.65223 10.5541 6.41949 10.893 6.14258C11.232 5.86567 11.5012 5.55534 11.7007 5.21159C11.9002 4.86784 12 4.52648 12 4.1875ZM5.07033 5.38491L6.0383 4.87503L7.00627 5.38491L6.8214 4.30497L7.60451 3.54016L6.52228 3.3826L6.0383 2.40003L5.55431 3.3826L4.47209 3.54016L5.25519 4.30497L5.07033 5.38491Z",fill:"white"}))),tR=r=>K.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},K.createElement("g",{id:"Trophy"},K.createElement("path",{id:"Combined Shape",fillRule:"evenodd",clipRule:"evenodd",d:"M3.69197 4.66662C3.69197 5.99705 3.92914 7.17787 4.4035 8.20912C3.49966 8.02451 2.74487 7.66486 2.1391 7.13014C1.53333 6.59542 1.23046 6.0798 1.23046 5.58328V4.66662H3.69197ZM14.7686 4.66662V5.58328C14.7686 6.0798 14.4658 6.59542 13.86 7.13014C13.2542 7.66486 12.4994 8.02451 11.5956 8.20912C12.0699 7.17787 12.3071 5.99705 12.3071 4.66662H14.7686ZM15.9998 5.58329V4.36108C15.9998 4.10645 15.9101 3.89002 15.7306 3.71178C15.5511 3.53354 15.3332 3.44442 15.0768 3.44442H12.3076V2.52776C12.3076 2.10763 12.1569 1.74797 11.8556 1.44878C11.5544 1.14959 11.1922 1 10.7691 1H5.23072C4.80764 1 4.44547 1.14959 4.14419 1.44878C3.84291 1.74797 3.69227 2.10763 3.69227 2.52776V3.44442H0.923068C0.666659 3.44442 0.448714 3.53354 0.269228 3.71178C0.0897418 3.89002 0 4.10645 0 4.36108V5.58329C0 6.03525 0.13301 6.49039 0.399034 6.94872C0.665059 7.40705 1.02403 7.82082 1.47595 8.19003C1.92787 8.55924 2.48234 8.86957 3.13939 9.12101C3.79644 9.37246 4.48713 9.51409 5.21149 9.54592C5.48071 9.88967 5.7852 10.192 6.12494 10.453C6.36853 10.6695 6.53679 10.9002 6.62974 11.1453C6.72269 11.3904 6.76916 11.6752 6.76916 11.9999C6.76916 12.3436 6.67141 12.6333 6.4759 12.8688C6.28038 13.1043 5.96789 13.2221 5.53841 13.2221C5.05764 13.2221 4.62976 13.3669 4.25476 13.6566C3.87977 13.9462 3.69227 14.3106 3.69227 14.7499V15.361C3.69227 15.4501 3.72112 15.5233 3.77881 15.5806C3.8365 15.6379 3.91022 15.6665 3.99996 15.6665H11.9999C12.0896 15.6665 12.1633 15.6379 12.221 15.5806C12.2787 15.5233 12.3076 15.4501 12.3076 15.361V14.7499C12.3076 14.3106 12.1201 13.9462 11.7451 13.6566C11.3701 13.3669 10.9422 13.2221 10.4614 13.2221C10.0319 13.2221 9.71945 13.1043 9.52394 12.8688C9.32843 12.6333 9.23068 12.3436 9.23068 11.9999C9.23068 11.6752 9.27715 11.3904 9.3701 11.1453C9.46305 10.9002 9.63131 10.6695 9.8749 10.453C10.2146 10.192 10.5191 9.88967 10.7884 9.54592C11.5127 9.51409 12.2034 9.37246 12.8604 9.12101C13.5175 8.86957 14.072 8.55924 14.5239 8.19003C14.9758 7.82082 15.3348 7.40705 15.6008 6.94872C15.8668 6.49039 15.9998 6.03525 15.9998 5.58329ZM6.76047 7.1798L8.05109 6.49997L9.3417 7.1798L9.09521 5.73989L10.1393 4.72015L8.69639 4.51007L8.05109 3.2L7.40578 4.51007L5.96283 4.72015L7.00696 5.73989L6.76047 7.1798Z",fill:"#F2C94C"}))),nR=r=>K.createElement("svg",{width:14,height:14,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},K.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.9234 2.06117C12.6527 2.79041 12.797 3.88306 12.3564 4.75616L12.3698 4.78833C13.2984 5.09432 13.9688 5.96888 13.9688 7C13.9688 8.03112 13.2984 8.90568 12.3698 9.21167L12.3565 9.24364C12.7971 10.1167 12.6527 11.2094 11.9235 11.9386C11.1944 12.6678 10.1019 12.8122 9.22883 12.3718L9.19604 12.3854C8.89006 13.314 8.0155 13.9844 6.98438 13.9844C5.95325 13.9844 5.07869 13.314 4.77271 12.3854L4.74027 12.3719C3.8673 12.8121 2.77506 12.6676 2.04603 11.9386C1.31703 11.2096 1.17255 10.1174 1.61259 9.24445L1.59899 9.21167C0.670333 8.90568 0 8.03112 0 7C0 5.96888 0.670334 5.09432 1.59899 4.78833L1.61267 4.75535C1.17263 3.8824 1.31711 2.79023 2.04611 2.06123C2.77519 1.33215 3.86754 1.18772 4.74054 1.62795L4.77271 1.61461C5.07869 0.685958 5.95325 0.015625 6.98438 0.015625C8.0155 0.015625 8.89006 0.685958 9.19604 1.61461L9.22857 1.6281C10.1016 1.18761 11.1942 1.33196 11.9234 2.06117ZM9.80606 4.98029C9.97643 4.7077 9.89356 4.34862 9.62098 4.17825C9.34839 4.00788 8.98931 4.09075 8.81894 4.36333L6.29655 8.39915L5.06781 7.17041C4.84051 6.94311 4.47199 6.94311 4.24469 7.17041C4.01739 7.39771 4.01739 7.76623 4.24469 7.99353L5.99079 9.73962C6.11621 9.86504 6.29197 9.92642 6.4682 9.90635C6.64444 9.88628 6.8019 9.78695 6.89591 9.63654L9.80606 4.98029Z",fill:"#0092E9"})),rR=r=>K.createElement("svg",{width:41,height:40,viewBox:"0 0 41 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},K.createElement("rect",{x:.5,width:40,height:40,rx:8,fill:"#F2F2F1"}),K.createElement("path",{d:"M11.0631 10.8037L18.5858 20.8464L11.0156 29.0115H12.7194L19.3471 21.8628L24.7021 29.0115H30.5L22.554 18.4039L29.6003 10.8037H27.8966L21.7928 17.3875L16.8611 10.8037H11.0631ZM13.5686 12.0567H16.2322L27.9941 27.7583H25.3305L13.5686 12.0567Z",fill:"black"})),aR=r=>K.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},K.createElement("g",{id:"Chevron Up"},K.createElement("path",{id:"Vector",d:"M4 9.6001L8 5.6001L12 9.6001",stroke:"#107D57",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"}))),oR=r=>K.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},K.createElement("g",{id:"cross"},K.createElement("path",{id:"Vector",d:"M6 18L18 6M6 6L18 18",stroke:"#BA0C2F",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}))),iR=r=>K.createElement("svg",{width:25,height:24,viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},K.createElement("g",{id:"Friends"},K.createElement("path",{id:"Vector",d:"M4.19231 7.03125C2.66346 7.03125 1.42308 8.19973 1.42308 9.63994C1.42308 11.0802 2.66346 12.2486 4.19231 12.2486C5.72115 12.2486 6.96154 11.0802 6.96154 9.63994C6.96154 8.19973 5.72115 7.03125 4.19231 7.03125ZM4.19231 12.2486C2.16226 12.2486 0.5 13.8145 0.5 15.7269V17.629C0.5 17.629 1.42308 18.3356 4.19231 18.3356C6.96154 18.3356 7.88461 17.629 7.88461 17.629V15.7269C7.88461 13.8145 6.22236 12.2486 4.19231 12.2486ZM20.8077 7.03125C19.2788 7.03125 18.0385 8.19973 18.0385 9.63994C18.0385 11.0802 19.2788 12.2486 20.8077 12.2486C22.3365 12.2486 23.5769 11.0802 23.5769 9.63994C23.5769 8.19973 22.3365 7.03125 20.8077 7.03125ZM20.8077 12.2486C18.7776 12.2486 17.1154 13.8145 17.1154 15.7269V17.629C17.1154 17.629 18.0385 18.3356 20.8077 18.3356C23.5769 18.3356 24.5 17.629 24.5 17.629V15.7269C24.5 13.8145 22.8377 12.2486 20.8077 12.2486ZM12.5 10.5095C10.9712 10.5095 9.73077 11.678 9.73077 13.1182C9.73077 14.5584 10.9712 15.7269 12.5 15.7269C14.0288 15.7269 15.2692 14.5584 15.2692 13.1182C15.2692 11.678 14.0288 10.5095 12.5 10.5095ZM12.5 15.7269C10.47 15.7269 8.80769 17.2928 8.80769 19.2051V21.1073C8.80769 21.1073 9.73077 21.8138 12.5 21.8138C15.2692 21.8138 16.1923 21.1073 16.1923 21.1073V19.2051C16.1923 17.2928 14.53 15.7269 12.5 15.7269Z",fill:"white"}),K.createElement("path",{id:"Vector_2",d:"M8.58473 1.5C6.96392 1.5 5.64893 2.73876 5.64893 4.2656C5.64893 5.79245 6.96392 7.03121 8.58473 7.03121C10.2055 7.03121 11.5205 5.79245 11.5205 4.2656C11.5205 2.73876 10.2055 1.5 8.58473 1.5ZM8.58473 7.03121C8.29038 7.03121 7.99221 7.024 7.69787 7.11763C8.28656 7.85584 8.58473 8.78131 8.58473 9.79681C8.58473 10.1641 8.49298 10.5242 8.49298 10.8915C9.27663 9.78601 10.5419 9.05859 12.0098 8.87494C11.3256 7.76942 10.0526 7.03121 8.58473 7.03121ZM16.4135 1.5C14.7927 1.5 13.4777 2.73876 13.4777 4.2656C13.4777 5.79245 14.7927 7.03121 16.4135 7.03121C18.0343 7.03121 19.3493 5.79245 19.3493 4.2656C19.3493 2.73876 18.0343 1.5 16.4135 1.5ZM16.4135 7.03121C14.9456 7.03121 13.6727 7.76942 12.9884 8.87494C14.4563 9.05859 15.7216 9.78601 16.5053 10.8915C16.5053 10.5242 16.4135 10.1641 16.4135 9.79681C16.4135 8.78131 16.7117 7.85584 17.3004 7.11763C17.006 7.024 16.7079 7.03121 16.4135 7.03121Z",fill:"white",fillOpacity:.4}))),sR=r=>K.createElement("svg",{width:86,height:21,viewBox:"0 0 86 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},K.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M39.7707 17.5184L41.7983 10.3558C42.0198 9.57464 42.5971 8.94758 43.3523 8.66714L43.4076 8.43396H40.5895L35.8035 14.1922L33.9719 8.43396H31.3937L31.3316 8.66714C31.773 8.88824 32.0163 9.54891 32.0163 10.0864V10.1198C32.0163 13.1873 29.7703 18.4601 26.6111 18.4601C25.3834 18.4601 24.747 17.5836 24.747 16.853C24.747 15.9681 25.4798 15.3387 26.2529 15.3387C27.0016 15.3387 27.117 15.6202 27.5483 15.6202C27.8113 15.6202 28.0635 15.4839 28.1896 15.2505C28.3874 14.8839 28.2374 14.4362 27.8755 14.2608L27.678 14.1655C25.836 13.27 23.7 14.626 23.7 16.6913V16.7199C23.7 18.2232 24.8682 19.4805 26.3554 19.533C30.1881 19.6688 32.7517 14.4446 33.1596 10.6208L33.4541 11.6554L34.9639 16.2278H35.5358L40.2518 10.5428L38.2733 17.5258C38.0464 18.3269 37.4178 18.9474 36.6198 19.1586L36.5644 19.3917H40.3566L40.4185 19.1586C39.8583 18.8245 39.5918 18.1502 39.7707 17.5184Z",fill:"#006747"}),K.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M47.6551 16.0223H45.8401C46.0463 15.4562 46.2436 14.9158 46.3101 14.7388C46.7692 13.5136 47.6421 13.0178 48.4877 12.9485L48.4789 12.9558L47.6551 16.0223ZM49.2891 12.3309H49.2569C47.4869 12.333 45.5837 12.506 44.571 15.4134C43.7202 17.8557 43.4904 18.8675 42.8257 18.8675C42.4006 18.8675 42.5038 18.0316 41.8667 18.0316C41.5797 18.0316 41.2797 18.2643 41.2582 18.6012C41.2205 19.1834 41.9951 19.5355 42.579 19.5355C44.3576 19.5355 45.0392 18.2244 45.2617 17.6136C45.2905 17.5338 45.4475 17.1016 45.6329 16.5921H47.5019L47.1853 17.7706C47.0182 18.3924 46.6742 18.9013 46.0925 19.1616L46.0423 19.3945H49.0998L49.1565 19.1616C48.7427 18.8165 48.5631 18.2633 48.6972 17.7481L49.8477 13.329C49.9361 12.99 50.1685 12.7103 50.4836 12.564L50.5335 12.3309H49.5371H49.2891Z",fill:"#006747"}),K.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M64.7158 12.8345C64.814 12.6702 64.9079 12.4191 64.9079 12.2789L64.9081 12.2781C64.9216 12.0129 64.6825 11.8076 64.4257 11.8635H64.4251C64.2195 11.9084 64.0708 12.093 64.0747 12.3057C64.0781 12.5268 64.0342 12.7642 63.9408 12.88C63.7264 13.147 63.3835 13.1242 61.8035 12.666V12.6633C61.659 12.6205 61.5002 12.5738 61.3328 12.5273C61.3239 12.5249 61.3156 12.5223 61.3065 12.5194L61.3068 12.5202C60.5183 12.3036 59.5388 12.1048 58.8965 12.427C58.8913 12.4296 58.8858 12.4325 58.8809 12.4349C58.2534 12.7531 57.8154 13.3558 57.6838 14.0527C57.6643 14.1551 57.65 14.2383 57.6485 14.2685V14.2696C57.6297 14.6356 57.9599 14.9192 58.3147 14.8423L58.3152 14.8418C58.603 14.7793 58.8055 14.519 58.7995 14.2221C58.7933 13.9219 58.7338 13.5212 58.8955 13.2523C59.1557 12.8821 59.426 12.8558 60.6369 13.2636L59.322 17.7709C59.1406 18.3922 58.6966 18.9014 58.1091 19.1613L58.0535 19.3948H61.1994L61.2615 19.1613C60.8557 18.8165 60.6883 18.263 60.8344 17.7481L61.9839 13.6877C62.4882 13.7938 62.9993 13.8211 63.4968 13.6777L63.676 13.6262C64.0763 13.5107 64.4862 13.2184 64.7158 12.8345Z",fill:"#006747"}),K.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M65.9749 12.3307L65.913 12.5642C66.3027 12.836 66.4782 13.3267 66.3524 13.786L65.1834 17.7658C65.0019 18.3876 64.5579 18.8965 63.9704 19.1564L63.9148 19.3896H65.579H65.7311H69.5609L70.0668 17.5237H69.8292L69.7439 17.7025C69.4268 18.3692 68.7587 18.7936 68.0262 18.7936H66.4023L67.2669 15.6701L67.9568 15.6693C68.4221 15.669 68.772 16.0978 68.6828 16.5589H68.9204L69.4879 14.4477H69.2503C69.1128 14.8382 68.7475 15.0992 68.3368 15.0995L67.4247 15.1005L68.0246 12.9326L69.7458 12.9313C70.3075 12.9308 70.7281 13.4512 70.6158 14.0074H70.8534L71.3042 12.3307H65.9749Z",fill:"#006747"}),K.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M76.8122 14.035C76.6245 14.6681 76.0482 15.1024 75.3937 15.1024L74.397 15.1032L75.0004 12.9347L76.0001 12.9342C76.5679 12.9339 76.975 13.4861 76.8122 14.035ZM76.7482 12.3334H72.9462L72.8841 12.5666C73.249 12.8211 73.4258 13.2677 73.3436 13.7007L72.1531 17.7677C71.9716 18.3895 71.5279 18.8984 70.9401 19.1583L70.8848 19.392H74.0276L74.0897 19.1583C73.6839 18.8136 73.5168 18.26 73.6623 17.7451L74.2387 15.6728H74.4789C74.8417 15.673 75.1464 15.9487 75.1864 16.3132C75.1997 16.4308 75.3817 17.8717 75.527 18.3672C75.7173 19.0147 75.9671 19.3923 76.5358 19.3923H77.9578L78.0132 19.1589L77.8096 19.037C77.408 18.7962 77.1171 18.4218 76.9871 17.9268C76.8639 17.4597 76.6341 16.5897 76.5216 16.1291C76.4633 15.8918 76.1711 15.672 75.8691 15.672L76.3482 15.6717C77.2073 15.6712 77.9614 15.0932 78.193 14.2572C78.4603 13.2908 77.7412 12.3334 76.7482 12.3334Z",fill:"#006747"}),K.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M55.8685 12.6924C55.7663 12.6924 55.5464 12.6221 55.209 12.4803C54.8713 12.3385 54.5302 12.2678 54.1863 12.2678C53.4725 12.2678 52.8767 12.5013 52.3895 13.0002C51.984 13.4153 51.8039 13.8762 51.8039 14.275C51.8039 14.6996 52.0498 15.1988 52.5424 15.6024C53.0075 15.984 53.4915 16.3495 53.976 16.7226C54.4855 17.1346 54.7405 17.5146 54.7405 17.8236C54.7405 18.5022 54.3036 18.8672 53.3989 18.8672C52.4798 18.8672 51.8442 18.1868 51.6404 16.9125H51.3919L50.6692 19.3926H50.8982C51.1969 19.1812 51.4093 19.0452 51.8423 19.0452C52.2557 19.0452 52.6973 19.5355 53.6389 19.5355C54.3907 19.5355 54.9857 19.3779 55.4954 18.8627C55.9288 18.4126 56.1453 17.7824 56.1453 17.2672C56.1453 16.7909 55.8498 16.2355 55.3332 15.8353C54.89 15.4921 54.4153 15.1857 53.9568 14.8506C53.4598 14.4772 53.2113 14.1603 53.2113 13.8126C53.2113 13.6191 53.3069 13.4264 53.4982 13.2334C53.74 12.9889 54.0639 12.9348 54.4972 12.9348C55.3668 12.9348 55.9753 13.4243 56.0265 14.4539H56.2558L56.8623 12.2678H56.633C56.3907 12.5512 56.136 12.6924 55.8685 12.6924Z",fill:"#006747"}),K.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M82.7665 12.9347C83.6361 12.9347 84.2449 13.4242 84.2958 14.4538H84.5254L85.1316 12.268H84.902C84.66 12.5508 84.4055 12.6923 84.1375 12.6923C84.0356 12.6923 83.8157 12.6217 83.478 12.4802C83.1403 12.3386 82.7995 12.268 82.4554 12.268C81.7418 12.268 81.146 12.5014 80.6588 13.0001C80.2533 13.4152 80.0732 13.8764 80.0732 14.275C80.0732 14.7001 80.3191 15.1985 80.8117 15.6026C81.2768 15.9841 81.7608 16.3494 82.2453 16.7225C82.7546 17.1348 83.0098 17.5148 83.0098 17.8236C83.0098 18.5021 82.5729 18.8671 81.6682 18.8671C80.7491 18.8671 80.1135 18.1867 79.9094 16.9127H79.6609L78.9382 19.3928H79.1678C79.4662 19.1814 79.6786 19.0454 80.1114 19.0454C80.525 19.0454 80.9664 19.5356 81.9082 19.5356C82.66 19.5356 83.255 19.3776 83.7647 18.8629C84.1981 18.4123 84.4146 17.7823 84.4146 17.2674C84.4146 16.7911 84.1191 16.2357 83.6028 15.8355C83.1593 15.4921 82.6849 15.1856 82.2264 14.8506C81.7291 14.4774 81.4806 14.1599 81.4806 13.8123C81.4806 13.6195 81.5762 13.4263 81.7673 13.2333C82.0093 12.9888 82.3332 12.9347 82.7665 12.9347Z",fill:"#006747"}),K.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.16448 19.1572C8.9508 19.0274 8.71061 18.9521 8.46313 18.9295V19.8504C8.7639 19.8735 9.0566 19.9633 9.31629 20.1209C9.31707 20.1211 9.73092 20.3753 9.87051 20.4578C10.0637 20.572 10.2984 20.6807 10.7091 20.702C10.738 20.7033 10.7645 20.693 10.7853 20.6733C10.8069 20.6523 10.8188 20.6245 10.8188 20.5943V20.467V20.0177V19.7727C10.3616 19.7483 9.91574 19.6138 9.5227 19.3749L9.16448 19.1572Z",fill:"white"}),K.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.7542 18.5409C6.51895 18.4077 6.2525 18.3363 5.98267 18.3308V19.2517C6.30267 19.2572 6.61903 19.3423 6.89795 19.4996L7.41084 19.7892V18.9059C7.40434 18.903 7.39732 18.9038 7.39082 18.9004L6.7542 18.5409Z",fill:"white"}),K.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.6002 17.2211C13.5235 17.198 13.4445 17.1896 13.366 17.1896V18.1115C13.4731 18.1115 13.5804 18.1231 13.6847 18.1543L14.1708 18.3014C14.2332 18.3198 14.2971 18.3292 14.3611 18.3326V17.4117C14.2685 17.4078 14.1762 17.3947 14.0863 17.3679L13.6002 17.2211Z",fill:"white"}),K.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.7325 17.1487L16.3495 17.0268C16.2638 16.9995 16.1743 16.9885 16.0857 16.9909V17.9115C16.2001 17.9091 16.3145 17.9238 16.4254 17.9582L16.891 18.0906C17.1297 18.1591 17.3166 18.3356 17.4104 18.5569V18.0816C17.4104 17.6526 17.138 17.2776 16.7325 17.1487Z",fill:"white"}),K.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.1283 19.781C18.1098 19.781 18.0929 19.7768 18.0745 19.7755V20.6948C18.0984 20.6974 18.1215 20.7019 18.1459 20.7019C18.4145 20.7019 18.6497 20.5283 18.7311 20.27C18.7394 20.244 18.7449 20.2166 18.7527 20.1907V19.4081C18.6276 19.6329 18.3908 19.781 18.1283 19.781Z",fill:"white"}),K.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.68872 16.0953V16.8941C2.05057 17.5309 2.58035 18.0542 3.24115 18.4056L3.48524 18.5353V17.6527L3.35397 17.5832C2.66354 17.2161 2.10308 16.6998 1.68872 16.0953Z",fill:"white"}),K.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.06201 17.9599V18.8425L4.71033 19.187V18.3039C4.70955 18.3039 4.70851 18.3039 4.70773 18.3034L4.06201 17.9599Z",fill:"white"}),K.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21.4378 7.27918C21.4378 7.10456 21.2969 6.96198 21.1238 6.96198H20.8812C20.6915 6.96198 20.5165 7.05808 20.4139 7.21905L19.6291 8.44428C19.4965 8.65041 19.2727 8.7733 19.0294 8.7733H18.4993C18.3454 8.7733 18.2043 8.85838 18.1307 8.99519C17.949 9.33472 17.6241 9.56238 17.2554 9.62172V13.8302C17.8492 13.8951 18.3036 14.2538 18.3036 14.6876C18.3036 15.1676 17.7483 15.5567 17.0628 15.5567C16.3778 15.5567 15.8221 15.1676 15.8221 14.6876C15.8221 14.2538 16.2767 13.8951 16.8699 13.8302V9.62172C16.5013 9.56185 16.1766 9.33419 15.9955 8.99545C15.9222 8.85864 15.7813 8.77383 15.6274 8.77383H15.272C15.1064 8.77383 14.9564 8.87204 14.8888 9.02486L14.5935 9.69551C14.4994 9.90873 14.2889 10.0469 14.0575 10.0469C13.8262 10.0469 13.6156 9.90873 13.522 9.69472L13.2262 9.02512C13.1591 8.87256 13.0086 8.77383 12.8436 8.77383H2.93837C2.87235 9.04035 2.63293 9.23835 2.34906 9.23835H2.06234V9.59835C2.06234 10.1164 1.96226 10.6211 1.76547 11.0985L1.50084 11.7416C0.629747 13.8552 1.48551 16.2528 3.49077 17.3197L4.8134 18.0232L5.96421 18.0316C6.29044 18.034 6.6133 18.1204 6.89795 18.2811L7.50104 18.6214H8.31494C8.6677 18.6214 9.01395 18.7185 9.31628 18.9018L9.67423 19.12C10.022 19.3309 10.4148 19.4533 10.8191 19.4772V19.1045C10.8191 18.3824 11.2417 17.7283 11.896 17.4384L12.9202 16.9836C13.161 16.8768 13.4321 16.8599 13.6845 16.9358L14.1706 17.0824C14.3235 17.1286 14.4841 17.1286 14.6359 17.0831L15.7888 16.7378C16.002 16.6738 16.2263 16.6759 16.4376 16.7428L16.8211 16.8647C17.3498 17.0325 17.7049 17.5214 17.7049 18.0818V19.0557C17.7049 19.2912 17.8947 19.4832 18.1284 19.4832C18.3155 19.4832 18.4827 19.3561 18.5349 19.1747C18.699 18.603 18.7738 18.0117 18.7567 17.4166L18.7551 17.3134C18.7424 16.8647 18.9199 16.4301 19.2412 16.1205L19.7203 15.6604C19.9865 15.4039 20.1393 15.0442 20.1393 14.6723V12.381C20.1393 11.8566 20.2958 11.3516 20.5919 10.9205L20.8191 10.5888V10.1332C20.8191 9.61175 20.9738 9.10942 21.2662 8.68035L21.6312 8.14414C21.5082 8.01443 21.4378 7.84112 21.4378 7.65757V7.27918Z",fill:"#FCE300"}),K.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.8174 14.8952C17.8174 14.6943 17.5785 14.5268 17.2556 14.478V15.3125C17.5785 15.2631 17.8174 15.0961 17.8174 14.8952Z",fill:"white"}),K.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.3083 14.8952C16.3083 15.0961 16.5472 15.2631 16.8701 15.3125V14.478C16.5472 14.5268 16.3083 14.6943 16.3083 14.8952Z",fill:"white"}),K.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.2945 1.62957C15.0145 1.54292 14.7348 1.69706 14.4548 1.85592C14.3558 1.91238 14.2853 2.00849 14.2611 2.12061L13.8211 4.19584C13.8047 4.27252 13.873 4.34184 13.9489 4.32451C14.4117 4.2179 14.8518 3.80931 15.3145 3.95216C15.8331 4.11286 16.3514 3.44957 16.87 3.45744V1.06317C16.3486 1.06553 15.8133 1.78975 15.2945 1.62957Z",fill:"#BA0C2F"}),K.createElement("mask",{id:"mask0_1174_458568",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:0,y:0,width:22,height:21},K.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.4219 21H0.868408V0.605103H11.4219H21.9754V21H11.4219Z",fill:"white"})),K.createElement("g",{mask:"url(#mask0_1174_458568)"},K.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21.2663 8.68018C20.9738 9.10977 20.8192 9.61184 20.8192 10.1331V10.5889L20.592 10.9206C20.2956 11.3515 20.1391 11.8564 20.1391 12.3811V14.6722C20.1391 15.044 19.9866 15.404 19.7204 15.6603L19.2413 16.1209C18.9197 16.4299 18.7427 16.8645 18.7552 17.3135L18.757 17.4165C18.7739 18.0115 18.699 18.6031 18.535 19.175C18.4827 19.3562 18.3156 19.483 18.1284 19.483C17.8947 19.483 17.705 19.2911 17.705 19.0555V18.0816C17.705 17.5215 17.3499 17.0328 16.8211 16.8645L16.4377 16.7429C16.2264 16.6757 16.002 16.6741 15.7889 16.7377L14.636 17.083C14.4842 17.1284 14.3233 17.1284 14.1707 17.0827L13.6846 16.9359C13.4324 16.8598 13.161 16.8766 12.9203 16.9837L11.8961 17.4383C11.2418 17.7284 10.8191 18.3823 10.8191 19.1044V19.4772C10.4149 19.4536 10.0221 19.331 9.67455 19.1199L9.31634 18.9022C9.01401 18.7186 8.66776 18.6215 8.315 18.6215H7.5011L6.89801 18.2812C6.6131 18.1202 6.2905 18.0338 5.96427 18.0314L4.81346 18.0233L3.49083 17.3198C1.48531 16.2532 0.629807 13.8552 1.5009 11.7417L1.76553 11.0989C1.96232 10.6212 2.0624 10.1163 2.0624 9.59844V9.23844H2.34912C2.63299 9.23844 2.87241 9.04018 2.93843 8.77366H12.8436C13.0087 8.77366 13.1592 8.87239 13.2263 9.02522L13.5218 9.69508C13.6157 9.90856 13.8262 10.0469 14.0576 10.0469C14.2889 10.0469 14.4995 9.90882 14.5936 9.69534L14.8892 9.02469C14.9565 8.87213 15.1065 8.77366 15.2721 8.77366H15.6274C15.7813 8.77366 15.9222 8.859 15.9955 8.99554C16.1767 9.33428 16.5014 9.56194 16.87 9.62181V13.8303C16.2768 13.8954 15.8221 14.2539 15.8221 14.6877C15.8221 15.1679 16.3779 15.5568 17.0629 15.5568C17.7484 15.5568 18.3036 15.1679 18.3036 14.6877C18.3036 14.2539 17.8492 13.8954 17.2555 13.8303V9.62208C17.6241 9.56221 17.9491 9.33454 18.1308 8.99554C18.2043 8.85874 18.3452 8.77339 18.4994 8.77339H19.0297C19.2727 8.77339 19.4965 8.6505 19.6289 8.44437L20.4139 7.21888C20.5166 7.05791 20.6915 6.96207 20.8813 6.96207H21.1241C21.297 6.96207 21.4379 7.10439 21.4379 7.27901V7.6574C21.4379 7.84095 21.5083 8.01452 21.6313 8.14397L21.2663 8.68018ZM18.7529 20.1904C18.7451 20.2167 18.7396 20.2437 18.7313 20.27C18.6499 20.5287 18.4147 20.7022 18.1461 20.7022C18.1217 20.7022 18.0986 20.6975 18.0746 20.6949V19.7753C18.0926 19.7771 18.11 19.7808 18.1285 19.7808C18.3905 19.7808 18.6278 19.6327 18.7529 19.4082V20.1904ZM17.4102 18.5569C17.3163 18.3355 17.1299 18.1588 16.8913 18.0905L16.4255 17.9582C16.3145 17.9238 16.2001 17.9091 16.0857 17.9115V16.9908C16.1746 16.9885 16.2635 16.9995 16.3493 17.0271L16.7325 17.1486C17.138 17.2776 17.4102 17.6526 17.4102 18.0816V18.5569ZM14.3615 18.3324C14.297 18.3292 14.2331 18.32 14.1707 18.3011L13.6846 18.1546C13.5809 18.1228 13.4732 18.1115 13.3659 18.1115V17.1896C13.4449 17.1896 13.5239 17.1983 13.6001 17.2208L14.0862 17.3679C14.1761 17.3949 14.2687 17.4081 14.3615 17.4117V18.3324ZM10.8191 20.0174V20.467V20.5946C10.8191 20.6245 10.8066 20.6523 10.7853 20.6733C10.7645 20.6933 10.738 20.7033 10.7091 20.7022C10.2984 20.681 10.0637 20.572 9.87054 20.4578C9.73095 20.375 9.31685 20.1214 9.31633 20.1211C9.05664 19.963 8.76367 19.8738 8.46343 19.8504V18.9295C8.71064 18.9521 8.95058 19.0274 9.16452 19.1572L9.52247 19.3749C9.91578 19.6138 10.3613 19.7483 10.8191 19.7727V20.0174ZM7.41116 19.7895L6.89802 19.4996C6.61883 19.342 6.30273 19.2572 5.98273 19.2517V18.3308C6.2523 18.3361 6.51875 18.408 6.75452 18.5409L7.39114 18.9006C7.39712 18.904 7.40466 18.9033 7.41116 18.9056V19.7895ZM4.71025 19.1871L4.06219 18.8423V17.96L4.70791 18.3035C4.70869 18.3038 4.70973 18.3035 4.71025 18.3038V19.1871ZM3.48506 18.5354L3.24097 18.4057C2.58017 18.0543 2.05065 17.5307 1.68854 16.8942V16.0954C2.1029 16.6999 2.66336 17.2161 3.35353 17.583L3.48506 17.6528V18.5354ZM17.2554 14.4779C17.578 14.5267 17.8172 14.6943 17.8172 14.8951C17.8172 15.096 17.578 15.2635 17.2554 15.3126V14.4779ZM16.87 15.3126C16.5476 15.2635 16.3082 15.096 16.3082 14.8951C16.3082 14.6943 16.5476 14.5267 16.87 14.4779V15.3126ZM21.9102 7.99458C21.7992 7.91869 21.7326 7.79291 21.7326 7.65741V7.27903C21.7326 6.94029 21.4594 6.66457 21.1241 6.66457H20.8813C20.5912 6.66457 20.3239 6.81136 20.1662 7.0574L19.3816 8.28237C19.3039 8.40369 19.1721 8.4759 19.0296 8.4759H18.4993C18.2373 8.4759 17.9966 8.62059 17.871 8.85534C17.7413 9.09666 17.5149 9.26235 17.2555 9.31854V0.79968C17.2555 0.692019 17.1694 0.605103 17.0629 0.605103C16.9565 0.605103 16.87 0.692019 16.87 0.79968V1.06306V3.45733V9.31854C16.6105 9.26209 16.3844 9.09639 16.2549 8.85429C16.1304 8.62111 15.89 8.4759 15.6274 8.4759H15.2721C14.9905 8.4759 14.7342 8.64396 14.6201 8.90365L14.3243 9.5743C14.2775 9.68013 14.1727 9.74892 14.0576 9.74892C13.9421 9.74892 13.8376 9.68013 13.7911 9.57404L13.4955 8.90418C13.3812 8.64396 13.1251 8.4759 12.8436 8.4759H2.80895C2.72733 8.4759 2.66156 8.5426 2.66156 8.62479C2.66156 8.79914 2.52118 8.94042 2.3491 8.94042H1.91498C1.83361 8.94042 1.76759 9.00711 1.76759 9.0893V9.59846C1.76759 10.0766 1.67556 10.543 1.49308 10.9844L1.22897 11.6269C0.983054 12.223 0.867375 12.8401 0.868415 13.4459V14.9258C0.868415 15.3258 0.925604 15.7283 1.04076 16.1243C1.36284 17.2287 2.09512 18.1326 3.10374 18.669L4.70789 19.5219C4.72869 19.5332 4.75235 19.5392 4.77574 19.5395L5.96216 19.5484C6.23901 19.5503 6.513 19.6235 6.75449 19.7595L7.39111 20.119C7.41321 20.1314 7.43764 20.1379 7.46286 20.1379H8.31498C8.61418 20.1379 8.90819 20.2204 9.16398 20.3758C9.16398 20.3758 9.5812 20.6311 9.72131 20.7146C9.94643 20.8477 10.2202 20.9745 10.6938 20.9992C10.8014 21.0042 10.9077 20.9659 10.9883 20.8892C11.0679 20.8125 11.1139 20.7054 11.1139 20.5946V20.0174C11.1139 19.5994 11.3582 19.2205 11.7378 19.0521L13.0388 18.4747C13.2158 18.3967 13.415 18.3836 13.6 18.4398L14.0862 18.5866C14.2933 18.6485 14.5125 18.6491 14.7202 18.5874L15.8728 18.2415C16.0254 18.1958 16.1876 18.1961 16.3428 18.2436L16.8112 18.377C17.0291 18.4393 17.1817 18.643 17.1817 18.872V20.0255C17.1817 20.5631 17.6142 21 18.1461 21C18.5438 21 18.8916 20.7424 19.0117 20.3601C19.2293 19.6695 19.3392 18.9513 19.3392 18.226V17.7355C19.3392 17.3871 19.483 17.0499 19.7339 16.8107L20.2132 16.353C20.5363 16.0421 20.7219 15.6054 20.7219 15.1545V12.42C20.7219 11.9961 20.8483 11.5876 21.0874 11.2388C21.1046 11.2142 21.1142 11.1845 21.1142 11.1543V10.5096C21.1142 10.0887 21.2387 9.68301 21.475 9.33587L21.9492 8.63923C21.9663 8.61481 21.9754 8.5854 21.9754 8.55494V8.11799C21.9754 8.03501 21.9278 8.00639 21.9102 7.99458Z",fill:"#006747"}))),lR=r=>K.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},K.createElement("g",{id:"Group 483737"},K.createElement("g",{id:"Icon / Live"},K.createElement("path",{id:"circle-path",fillRule:"evenodd",clipRule:"evenodd",d:"M9 17C4.58172 17 1 13.4183 1 9C1 4.58172 4.58172 1 9 1C13.4183 1 17 4.58172 17 9C17 13.4183 13.4183 17 9 17Z",stroke:"#107D57"}),K.createElement("path",{id:"Combined Shape",fillRule:"evenodd",clipRule:"evenodd",d:"M10.6432 6.12891C10.9551 6.12891 11.2103 6.37162 11.2302 6.67846L11.2315 6.71714V7.55879L13.3334 6.46776C13.6362 6.31058 13.9959 6.51777 14.0195 6.85057L14.0207 6.88543V11.1406C14.0207 11.4763 13.6813 11.7002 13.3764 11.578L13.345 11.5641L11.2315 10.54V11.2818C11.2315 11.5937 10.9887 11.8489 10.6819 11.8688L10.6432 11.8701H5.11851C4.80663 11.8701 4.55144 11.6274 4.53152 11.3205L4.53027 11.2818V6.71714C4.53027 6.40526 4.77299 6.15007 5.07983 6.13016L5.11851 6.12891H10.6432ZM10.2897 7.07007H5.4709V10.9289H10.2897V7.07007ZM13.0792 7.65972L11.2396 8.61454V9.49831L13.0792 10.3896V7.65972Z",fill:"#107D57"})))),uR=r=>K.createElement("svg",{width:14,height:17,viewBox:"0 0 14 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},K.createElement("g",{id:"Icon / Games"},K.createElement("path",{id:"Icon / Games_2",d:"M6.27412 2.68557L6.27411 2.68557C5.62309 2.63368 5.0525 3.12172 5.00064 3.7713L5.00064 3.77134L4.14164 14.5465C4.14163 14.5465 4.14163 14.5465 4.14163 14.5465C4.08978 15.1963 4.57588 15.7681 5.22739 15.82C5.22741 15.82 5.22742 15.82 5.22744 15.82L11.3107 16.3052L11.3108 16.3052C11.9618 16.3571 12.5324 15.869 12.5842 15.2194L12.5842 15.2194L13.4432 4.4443C13.4951 3.79528 13.0091 3.22266 12.3575 3.17076C12.3575 3.17076 12.3574 3.17076 12.3574 3.17076L6.27412 2.68557ZM8.15378 7.95339C8.06822 8.08171 8.00584 8.22011 7.96597 8.36701L7.39679 8.32084C7.47153 7.93067 7.63452 7.64794 7.86868 7.44845C8.15963 7.20058 8.54037 7.08303 9.04377 7.12388C9.36277 7.14976 9.62596 7.23281 9.84206 7.36455L9.84205 7.36458L9.84603 7.36693C10.0639 7.49535 10.2189 7.65832 10.3213 7.85605C10.4234 8.05317 10.4683 8.27793 10.4483 8.53948C10.4345 8.71901 10.392 8.86521 10.3278 8.98465L10.3277 8.98461L10.3242 8.99151C10.2546 9.12905 10.1759 9.23612 10.0908 9.31799L10.0907 9.31793L10.0855 9.32326C9.98974 9.41994 9.85909 9.53313 9.69013 9.66317C9.48159 9.8217 9.31317 9.96772 9.19518 10.0999L9.19509 10.0998L9.18961 10.1063C9.10272 10.2092 9.04052 10.3244 9.00219 10.449L8.46556 10.4054C8.49427 10.3132 8.5356 10.2357 8.58714 10.17C8.70826 10.0178 8.8862 9.84033 9.1277 9.63726C9.33755 9.46764 9.50811 9.30895 9.63088 9.16198L9.39343 8.96362L9.63088 9.16198C9.77451 8.99005 9.86011 8.79 9.87715 8.56784C9.89609 8.32086 9.82923 8.08941 9.6571 7.90614C9.48861 7.71582 9.25493 7.62752 9.00193 7.60699L8.97691 7.91539L9.00193 7.60699C8.67115 7.58016 8.35479 7.66584 8.15766 7.94771L8.1576 7.94766L8.15378 7.95339ZM8.84046 11.5393L8.84024 11.5394L8.84882 11.5493C8.9033 11.6122 8.9274 11.681 8.92009 11.7763C8.91337 11.8639 8.88049 11.9307 8.81121 11.9916L8.81117 11.9915L8.8063 11.996C8.74838 12.0491 8.68489 12.0727 8.59225 12.0652C8.49804 12.0575 8.43752 12.0248 8.38914 11.9687C8.34013 11.9019 8.31721 11.826 8.32494 11.7253L8.01644 11.7016L8.32494 11.7253C8.33288 11.6218 8.36807 11.5555 8.42399 11.5042L8.2147 11.2763L8.42377 11.5044C8.48168 11.4513 8.54518 11.4277 8.63782 11.4352C8.73051 11.4427 8.79051 11.4764 8.84046 11.5393Z",stroke:"#107D57",strokeWidth:.618817}),K.createElement("path",{id:"Icon / Games_3",d:"M7.74941 0.00278796L1.66605 0.487981C1.18503 0.526267 0.82584 0.949506 0.864126 1.42843L1.72313 12.2036C1.76142 12.6832 2.18327 13.0438 2.66359 13.0055L3.18754 12.9637L3.97219 3.12062C4.0418 2.24421 4.81101 1.58916 5.68742 1.65878L8.7776 1.90524L8.68986 0.804714C8.65157 0.32509 8.22973 -0.0354984 7.74941 0.00278796Z",fill:"#107D57"}))),cR=r=>K.createElement("svg",{width:19,height:14,viewBox:"0 0 19 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},K.createElement("g",{id:"Icon / LeaderBoard"},K.createElement("path",{id:"Combined Shape",fillRule:"evenodd",clipRule:"evenodd",d:"M16.8236 2.46643C16.436 2.23624 16.1759 1.81093 16.1759 1.32432C16.1759 0.59292 16.7636 0 17.4885 0C18.2134 0 18.8011 0.59292 18.8011 1.32432C18.8011 1.81093 18.541 2.23624 18.1534 2.46643C18.5192 2.51678 18.8011 2.83327 18.8011 3.2162V10.7838C18.8011 11.2017 18.4653 11.5405 18.051 11.5405H16.926L16.9147 11.5404H10.9255V11.5406V13.2433C10.9255 13.6612 10.5897 14 10.1755 14H8.67539C8.26115 14 7.92534 13.6612 7.92534 13.2433V11.5406V11.5404H1.93622L1.92493 11.5405H0.799856C0.385614 11.5405 0.0498047 11.2017 0.0498047 10.7838V3.2162C0.0498047 2.83328 0.331692 2.51678 0.697521 2.46643C0.309923 2.23624 0.0498047 1.81093 0.0498047 1.32432C0.0498047 0.59292 0.637471 0 1.36239 0C2.08732 0 2.67498 0.59292 2.67498 1.32432C2.67498 1.81093 2.41487 2.23624 2.02727 2.46643C2.16328 2.48515 2.28769 2.54066 2.39032 2.62269C4.78264 1.62379 7.12768 1.12793 9.42545 1.13511C11.7225 1.14228 14.0669 1.63872 16.4584 2.62442C16.5615 2.54144 16.6867 2.48528 16.8236 2.46643ZM1.92494 10.7837L1.92493 3.21617H0.799862V10.7837H1.92494ZM16.1759 3.32547C13.8707 2.37522 11.6209 1.89875 9.42314 1.89189C7.2272 1.88503 4.97905 2.36051 2.675 3.32285V10.7837H16.1759V3.32547ZM17.4885 1.89189C17.7992 1.89189 18.0511 1.63779 18.0511 1.32433C18.0511 1.01087 17.7992 0.75676 17.4885 0.75676C17.1778 0.75676 16.926 1.01087 16.926 1.32433C16.926 1.63779 17.1778 1.89189 17.4885 1.89189ZM16.926 3.21617V10.7837H18.0511V3.21617H16.926ZM8.67538 13.2432V11.5405H10.1755V13.2432H8.67538ZM1.3624 1.89189C1.67308 1.89189 1.92494 1.63779 1.92494 1.32433C1.92494 1.01087 1.67308 0.75676 1.3624 0.75676C1.05172 0.75676 0.799862 1.01087 0.799862 1.32433C0.799862 1.63779 1.05172 1.89189 1.3624 1.89189Z",fill:"#107D57"}))),dR=r=>K.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},K.createElement("g",{id:"check"},K.createElement("path",{id:"Vector",d:"M3.59985 10.8L7.59985 14.8L16.3999 5.20001",stroke:"white",strokeWidth:1.2,strokeLinecap:"round",strokeLinejoin:"round"}))),fR=r=>K.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},K.createElement("g",{id:"cross"},K.createElement("path",{id:"Vector",d:"M5.19995 14.8L14.8 5.20001M5.19995 5.20001L14.8 14.8",stroke:"white",strokeWidth:1.2,strokeLinecap:"round",strokeLinejoin:"round"}))),pR=r=>K.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},K.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16 2.46154C8.52291 2.46154 2.46154 8.52291 2.46154 16C2.46154 23.4771 8.52291 29.5385 16 29.5385C23.4771 29.5385 29.5385 23.4771 29.5385 16C29.5385 8.52291 23.4771 2.46154 16 2.46154ZM0 16C0 7.16344 7.16344 0 16 0C24.8366 0 32 7.16344 32 16C32 24.8366 24.8366 32 16 32C7.16344 32 0 24.8366 0 16Z",fill:"#FFB600"}),K.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16 8.20513C16.6797 8.20513 17.2308 8.75616 17.2308 9.4359V17.641C17.2308 18.3208 16.6797 18.8718 16 18.8718C15.3203 18.8718 14.7692 18.3208 14.7692 17.641V9.4359C14.7692 8.75616 15.3203 8.20513 16 8.20513Z",fill:"#FFB600"}),K.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.7692 22.5641C14.7692 21.8844 15.3203 21.3333 16 21.3333H16.0164C16.6961 21.3333 17.2472 21.8844 17.2472 22.5641C17.2472 23.2438 16.6961 23.7949 16.0164 23.7949H16C15.3203 23.7949 14.7692 23.2438 14.7692 22.5641Z",fill:"#FFB600"})),mR=r=>K.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},K.createElement("g",{id:"Icon/Insight"},K.createElement("path",{id:"Fill-1",fillRule:"evenodd",clipRule:"evenodd",d:"M9.3336 9.33644C8.59749 10.0725 7.40264 10.0725 6.66652 9.33644C5.93041 8.60039 5.93041 7.40565 6.66652 6.6696C7.40264 5.93355 8.59749 5.93355 9.3336 6.6696C10.0697 7.40565 10.0697 8.60039 9.3336 9.33644Z",fill:"#107D57"}),K.createElement("path",{id:"Fill-3",fillRule:"evenodd",clipRule:"evenodd",d:"M12.3345 12.3306C11.7818 12.8833 10.8863 12.8827 10.3342 12.3306C9.78211 11.7786 9.78145 10.8832 10.3342 10.3305C10.8869 9.77781 11.7824 9.77847 12.3345 10.3305C12.8866 10.8825 12.8873 11.7779 12.3345 12.3306Z",fill:"#107D57"}),K.createElement("path",{id:"Fill-5",fillRule:"evenodd",clipRule:"evenodd",d:"M5.66586 5.66365C5.11311 6.21635 4.21831 6.21635 3.66556 5.66365C3.11281 5.11094 3.11281 4.21622 3.66556 3.66352C4.21831 3.11081 5.11311 3.11081 5.66586 3.66352C6.21861 4.21622 6.21861 5.11094 5.66586 5.66365Z",fill:"#107D57"}),K.createElement("path",{id:"Fill-7",fillRule:"evenodd",clipRule:"evenodd",d:"M12.3345 5.66365C11.7818 6.21635 10.8869 6.21635 10.3342 5.66365C9.78145 5.11094 9.78145 4.21622 10.3342 3.66352C10.8869 3.11081 11.7818 3.11081 12.3345 3.66352C12.8873 4.21622 12.8873 5.11094 12.3345 5.66365Z",fill:"#107D57"}),K.createElement("path",{id:"Fill-9",fillRule:"evenodd",clipRule:"evenodd",d:"M5.66586 12.3306C5.11378 12.8827 4.21831 12.8833 3.66556 12.3306C3.11281 11.7779 3.11347 10.8825 3.66556 10.3305C4.21764 9.77847 5.11311 9.77781 5.66586 10.3305C6.21861 10.8832 6.21795 11.7786 5.66586 12.3306Z",fill:"#107D57"}),K.createElement("path",{id:"Fill-11",opacity:.5,fillRule:"evenodd",clipRule:"evenodd",d:"M8.66683 1.99964C8.29877 2.36766 7.70135 2.36766 7.33329 1.99964C6.96524 1.63162 6.96524 1.03425 7.33329 0.666221C7.70135 0.298198 8.29877 0.298198 8.66683 0.666221C9.03489 1.03425 9.03489 1.63162 8.66683 1.99964Z",fill:"#107D57"}),K.createElement("path",{id:"Fill-13",opacity:.5,fillRule:"evenodd",clipRule:"evenodd",d:"M15.3332 8.66676C14.9652 9.03478 14.3684 9.03545 13.9997 8.66675C13.631 8.29806 13.6316 7.70136 13.9997 7.33334C14.3677 6.96531 14.9645 6.96464 15.3332 7.33334C15.7019 7.70203 15.7013 8.29873 15.3332 8.66676Z",fill:"#107D57"}),K.createElement("path",{id:"Fill-15",opacity:.5,fillRule:"evenodd",clipRule:"evenodd",d:"M8.66683 15.3339C8.29811 15.7026 7.70202 15.7026 7.33329 15.3339C6.96457 14.9652 6.96457 14.3691 7.33329 14.0004C7.70202 13.6318 8.29811 13.6318 8.66683 14.0005C9.03555 14.3691 9.03555 14.9652 8.66683 15.3339Z",fill:"#107D57"}),K.createElement("path",{id:"Fill-17",opacity:.5,fillRule:"evenodd",clipRule:"evenodd",d:"M2.00033 8.66676C1.6316 9.03545 1.03484 9.03478 0.666788 8.66676C0.298732 8.29873 0.298065 7.70203 0.666788 7.33334C1.03551 6.96465 1.63227 6.96531 2.00033 7.33334C2.36838 7.70136 2.36905 8.29806 2.00033 8.66676Z",fill:"#107D57"}))),hR=r=>K.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},K.createElement("g",{id:"Poll"},K.createElement("path",{id:"Notification/Icon/Poll",fillRule:"evenodd",clipRule:"evenodd",d:"M9.7778 1.68421V5.05263H13.3333C13.8243 5.05263 14.2222 4.67561 14.2222 4.21053V2.52632C14.2222 2.06123 13.8243 1.68421 13.3333 1.68421H9.7778ZM2.66667 0C1.19391 0 0 1.13107 0 2.52632V4.21053C0 5.60577 1.19391 6.73684 2.66667 6.73684H13.3333C14.8061 6.73684 16 5.60577 16 4.21053V2.52632C16 1.13107 14.8061 0 13.3333 0H2.66667ZM4.44446 10.9473H13.3333C13.8243 10.9473 14.2222 11.3243 14.2222 11.7894V13.4736C14.2222 13.9387 13.8243 14.3157 13.3333 14.3157H4.44446V10.9473ZM0 11.7894C0 10.3942 1.19391 9.2631 2.66667 9.2631H13.3333C14.8061 9.2631 16 10.3942 16 11.7894V13.4736C16 14.8689 14.8061 15.9999 13.3333 15.9999H2.66667C1.19391 15.9999 0 14.8689 0 13.4736V11.7894Z",fill:"white",fillOpacity:.5}))),gR=r=>K.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},K.createElement("g",{id:"Icon/Notification/Prediciton"},K.createElement("path",{id:"Icon/Prediction",fillRule:"evenodd",clipRule:"evenodd",d:"M16 7.00522C16 7.00522 9.20048 6.81607 9.20048 0C9.20048 6.36168 3.27729 6.95056 2.48756 7.00078L2.40094 7.00522C2.40094 7.00522 9.20048 7.19435 9.20048 14.0104C9.20048 7.64877 15.1234 7.05989 15.9131 7.00964L16 7.00522ZM6.97382 12.5652C6.97382 12.5652 3.48691 12.4724 3.48691 9.13033C3.48691 12.2496 0.449402 12.5384 0.0444186 12.563L0 12.5652C0 12.5652 3.48691 12.6579 3.48691 16C3.48691 12.8807 6.52429 12.592 6.92927 12.5673L6.97382 12.5652Z",fill:"white",fillOpacity:.5}))),yR=r=>K.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},K.createElement("g",{id:"Icon/Notification/Trivia"},K.createElement("path",{id:"Notification/Icon/Trivia",fillRule:"evenodd",clipRule:"evenodd",d:"M2.01663 1.3808C0.739913 1.55586 -0.153153 2.73276 0.021912 4.00948L1.3808 13.9196C1.55586 15.1963 2.73276 16.0894 4.00948 15.9143L13.9196 14.5554C15.1963 14.3803 16.0894 13.2034 15.9143 11.9267L14.5554 2.01663C14.3803 0.739913 13.2034 -0.153153 11.9267 0.021912L2.01663 1.3808ZM9.59613 3.788C9.11431 3.46991 8.47813 3.30151 7.7566 3.30151C7.54377 3.30151 7.32625 3.31671 7.10872 3.34478C6.38836 3.44067 5.68901 3.79034 5.18965 4.30138C4.68445 4.82062 4.4377 5.45563 4.51722 6.04151C4.57452 6.4742 4.90078 6.7537 5.34635 6.7537C5.39429 6.7537 5.44341 6.7502 5.49136 6.74435C6.08778 6.66483 6.21642 6.25436 6.34036 5.85675L6.34045 5.85648C6.48192 5.40401 6.61534 4.97731 7.38585 4.87444C7.46537 4.86391 7.54138 4.85806 7.61506 4.85806C8.16939 4.85806 8.51436 5.15042 8.58454 5.68252C8.65353 6.20293 8.24307 6.61807 7.80684 7.0566L7.80393 7.05954C7.31582 7.55231 6.7639 8.1095 6.86895 8.90083C6.89585 9.10548 6.9859 9.29493 7.12272 9.43644C7.27826 9.599 7.4829 9.68436 7.71331 9.68436C7.75541 9.68436 7.79868 9.68203 7.84311 9.67618C8.46691 9.59324 8.55162 9.23139 8.63338 8.8821L8.63365 8.88097L8.63661 8.86859C8.66723 8.7403 8.69877 8.60813 8.75995 8.48804C8.84649 8.31613 9.06283 8.11265 9.31428 7.87875C9.9142 7.31858 10.734 6.55143 10.582 5.41589C10.4872 4.70603 10.1551 4.15757 9.59611 3.78802L9.59613 3.788ZM8.11605 10.28C8.06927 10.28 8.02132 10.2836 7.97454 10.2894C7.38396 10.3689 6.96765 10.9127 7.04599 11.5033C7.11733 12.0377 7.57808 12.4412 8.1172 12.4412C8.16397 12.4412 8.21192 12.4377 8.25987 12.4318C8.85045 12.3523 9.2656 11.8085 9.18842 11.2179C9.11591 10.6823 8.65517 10.28 8.11605 10.28Z",fill:"white",fillOpacity:.5}))),vR=r=>K.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},K.createElement("path",{id:"Selected",fillRule:"evenodd",clipRule:"evenodd",d:"M16 8C16 12.4183 12.4183 16 8 16C3.58172 16 0 12.4183 0 8C0 3.58172 3.58172 0 8 0C12.4183 0 16 3.58172 16 8ZM11.6057 5.43441C11.2933 5.12199 10.7868 5.12199 10.4744 5.43441L6.93812 9.97066L5.08382 8.73446C4.7162 8.48938 4.2195 8.58871 3.97442 8.95634C3.72934 9.32396 3.82868 9.82065 4.1963 10.0657L6.5963 11.6657C6.9136 11.8773 7.33609 11.8354 7.60574 11.5658L11.6057 6.56578C11.9182 6.25336 11.9182 5.74683 11.6057 5.43441Z",fill:"#107D57"})),TR=r=>K.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},K.createElement("g",{id:"Frame 3469523"},K.createElement("rect",{x:.5,y:.5,width:17,height:17,rx:8.5,fill:"black"}),K.createElement("rect",{x:.5,y:.5,width:17,height:17,rx:8.5,stroke:"#F2F2F1"}),K.createElement("g",{id:"layer1"},K.createElement("path",{id:"path1009",d:"M5.10046 5L8.32856 9.3097L5.08008 12.8137H5.81118L8.65522 9.74589L10.9531 12.8137H13.4411L10.0314 8.26155L13.055 5H12.3239L9.70471 7.82536L7.58843 5H5.10046ZM6.1756 5.53771H7.31858L12.3658 12.2759H11.2228L6.1756 5.53771Z",fill:"white"})))),db={"invite-game-icon":iR,"icon-trophy":tR,"icon-trophy-green":eR,"icon-trivia":yR,"icon-thumb-down":JL,"icon-thumb-up":XL,"icon-star":ZL,"icon-prediction":gR,"icon-insight":mR,"icon-poll":hR,"icon-play":KL,"icon-masters-logo":WL,"icon-logout":qL,"icon-link":$L,"icon-external-link":YL,"icon-invite-arrow":HL,"icon-friends":GL,"icon-exit":VL,"icon-default-user-avatar":FL,"icon-copy":BL,"icon-cross":_L,"icon-close":jL,"icon-close-btn-white":UL,"icon-close-btn-gray":PL,"icon-circle-arrow-right":DL,"icon-chevron":RL,"icon-chevron-white-left":LL,"icon-chevron-left":xL,"icon-check":ML,"icon-check-white":OL,"icon-check-green":AL,"icon-check-circle":CL,"icon-btn-channels":lR,"icon-btn-feature-groups":uR,"icon-btn-leaderboard":cR,"icon-arrow":NL,"icon-facebook":QL,"icon-twitter":rR,"icon-twitter-verified":nR,correct:dR,incorrect:fR,questionExpired:pR,selected:vR,circleClose:IL,incorrectVoted:oR,mastersLogo:sR,twitter:TR,iconUp:aR,iconCopySuccess:zL},hr=({name:r,style:o,className:s,...m})=>{if(!db[r])return F.jsx("span",{children:r});const p=db[r];return F.jsx(p,{style:o,className:s,...m})},kR=de("button")({name:"SButton",class:"sxxa0c",propsAsIs:!1}),bR=de("span")({name:"ButtonIcon",class:"b193dcyu",propsAsIs:!1}),wR=de("span")({name:"ButtonLabel",class:"b40tuix",propsAsIs:!1}),YT=({disabled:r,active:o,onClick:s,label:m,icon:p})=>F.jsx(kR,{onClick:s,disabled:r,"data-selected":o,children:F.jsxs(F.Fragment,{children:[p&&F.jsx(bR,{children:p}),F.jsx(wR,{children:m})]})}),SR=()=>hr,ER=de(SR())({name:"ButtonIcon",class:"b1whzxvd",propsAsIs:!0}),Zf="channels",NR=r=>{var o;return F.jsx(YT,{...r,id:"channels",label:"Channels",icon:F.jsx(ER,{name:"icon-btn-channels","data-selected":(o=r.active)==null?void 0:o.toString()})})},MR=()=>hr,IR=de(MR())({name:"ButtonIcon",class:"b11des7c",propsAsIs:!0}),Sc="featuredGroups",_R=r=>{var o;return F.jsx(YT,{...r,label:"FG+",id:"featuredGroups",icon:F.jsx(IR,{name:"icon-btn-feature-groups","data-selected":(o=r.active)==null?void 0:o.toString()})})},CR=()=>hr,AR=de(CR())({name:"ButtonIcon",class:"b180jd7l",propsAsIs:!0}),fT="leaderboard",OR=r=>{var o;return F.jsx(YT,{...r,label:"Leader Board",id:"leaderboard",icon:F.jsx(AR,{name:"icon-btn-leaderboard","data-selected":(o=r.active)==null?void 0:o.toString()})})},xR=de("div")({name:"Buttons",class:"b6tbwuy",propsAsIs:!1}),LR=({children:r,className:o})=>F.jsx(xR,{className:o,children:r}),RR=()=>LR,DR=de(RR())({name:"Navigation",class:"n19lpak2",propsAsIs:!0}),PR=({activeOverlay:r,setActiveOverlay:o,sdkReady:s,className:m})=>F.jsxs(DR,{className:m,children:[F.jsx(NR,{active:r===Zf,onClick:()=>o(Zf)}),F.jsx(_R,{active:r===Sc,disabled:!s,onClick:()=>{o(Sc)}}),F.jsx(OR,{active:r===fT,onClick:()=>o(fT)})]});var xc={},D7={},Dy={};Dy.byteLength=zR;Dy.toByteArray=FR;Dy.fromByteArray=QR;var Gi=[],bo=[],UR=typeof Uint8Array<"u"?Uint8Array:Array,I4="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(var Uf=0,jR=I4.length;Uf<jR;++Uf)Gi[Uf]=I4[Uf],bo[I4.charCodeAt(Uf)]=Uf;bo["-".charCodeAt(0)]=62;bo["_".charCodeAt(0)]=63;function P7(r){var o=r.length;if(o%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var s=r.indexOf("=");s===-1&&(s=o);var m=s===o?0:4-s%4;return[s,m]}function zR(r){var o=P7(r),s=o[0],m=o[1];return(s+m)*3/4-m}function BR(r,o,s){return(o+s)*3/4-s}function FR(r){var o,s=P7(r),m=s[0],p=s[1],v=new UR(BR(r,m,p)),g=0,T=p>0?m-4:m,I;for(I=0;I<T;I+=4)o=bo[r.charCodeAt(I)]<<18|bo[r.charCodeAt(I+1)]<<12|bo[r.charCodeAt(I+2)]<<6|bo[r.charCodeAt(I+3)],v[g++]=o>>16&255,v[g++]=o>>8&255,v[g++]=o&255;return p===2&&(o=bo[r.charCodeAt(I)]<<2|bo[r.charCodeAt(I+1)]>>4,v[g++]=o&255),p===1&&(o=bo[r.charCodeAt(I)]<<10|bo[r.charCodeAt(I+1)]<<4|bo[r.charCodeAt(I+2)]>>2,v[g++]=o>>8&255,v[g++]=o&255),v}function VR(r){return Gi[r>>18&63]+Gi[r>>12&63]+Gi[r>>6&63]+Gi[r&63]}function YR(r,o,s){for(var m,p=[],v=o;v<s;v+=3)m=(r[v]<<16&16711680)+(r[v+1]<<8&65280)+(r[v+2]&255),p.push(VR(m));return p.join("")}function QR(r){for(var o,s=r.length,m=s%3,p=[],v=16383,g=0,T=s-m;g<T;g+=v)p.push(YR(r,g,g+v>T?T:g+v));return m===1?(o=r[s-1],p.push(Gi[o>>2]+Gi[o<<4&63]+"==")):m===2&&(o=(r[s-2]<<8)+r[s-1],p.push(Gi[o>>10]+Gi[o>>4&63]+Gi[o<<2&63]+"=")),p.join("")}var QT={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */QT.read=function(r,o,s,m,p){var v,g,T=p*8-m-1,I=(1<<T)-1,C=I>>1,D=-7,R=s?p-1:0,x=s?-1:1,j=r[o+R];for(R+=x,v=j&(1<<-D)-1,j>>=-D,D+=T;D>0;v=v*256+r[o+R],R+=x,D-=8);for(g=v&(1<<-D)-1,v>>=-D,D+=m;D>0;g=g*256+r[o+R],R+=x,D-=8);if(v===0)v=1-C;else{if(v===I)return g?NaN:(j?-1:1)*(1/0);g=g+Math.pow(2,m),v=v-C}return(j?-1:1)*g*Math.pow(2,v-m)};QT.write=function(r,o,s,m,p,v){var g,T,I,C=v*8-p-1,D=(1<<C)-1,R=D>>1,x=p===23?Math.pow(2,-24)-Math.pow(2,-77):0,j=m?0:v-1,Q=m?1:-1,W=o<0||o===0&&1/o<0?1:0;for(o=Math.abs(o),isNaN(o)||o===1/0?(T=isNaN(o)?1:0,g=D):(g=Math.floor(Math.log(o)/Math.LN2),o*(I=Math.pow(2,-g))<1&&(g--,I*=2),g+R>=1?o+=x/I:o+=x*Math.pow(2,1-R),o*I>=2&&(g++,I/=2),g+R>=D?(T=0,g=D):g+R>=1?(T=(o*I-1)*Math.pow(2,p),g=g+R):(T=o*Math.pow(2,R-1)*Math.pow(2,p),g=0));p>=8;r[s+j]=T&255,j+=Q,T/=256,p-=8);for(g=g<<p|T,C+=p;C>0;r[s+j]=g&255,j+=Q,g/=256,C-=8);r[s+j-Q]|=W*128};/*!
11
11
  * The buffer module from node.js, for the browser.
12
12
  *
13
13
  * @author Feross Aboukhadijeh <https://feross.org>
14
14
  * @license MIT
15
- */(function(r){const o=Dy,s=QT,m=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;r.Buffer=T,r.SlowBuffer=se,r.INSPECT_MAX_BYTES=50;const p=2147483647;r.kMaxLength=p,T.TYPED_ARRAY_SUPPORT=v(),!T.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function v(){try{const l=new Uint8Array(1),c={foo:function(){return 42}};return Object.setPrototypeOf(c,Uint8Array.prototype),Object.setPrototypeOf(l,c),l.foo()===42}catch{return!1}}Object.defineProperty(T.prototype,"parent",{enumerable:!0,get:function(){if(T.isBuffer(this))return this.buffer}}),Object.defineProperty(T.prototype,"offset",{enumerable:!0,get:function(){if(T.isBuffer(this))return this.byteOffset}});function g(l){if(l>p)throw new RangeError('The value "'+l+'" is invalid for option "size"');const c=new Uint8Array(l);return Object.setPrototypeOf(c,T.prototype),c}function T(l,c,f){if(typeof l=="number"){if(typeof c=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return R(l)}return I(l,c,f)}T.poolSize=8192;function I(l,c,f){if(typeof l=="string")return x(l,c);if(ArrayBuffer.isView(l))return Q(l);if(l==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof l);if(Nt(l,ArrayBuffer)||l&&Nt(l.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Nt(l,SharedArrayBuffer)||l&&Nt(l.buffer,SharedArrayBuffer)))return W(l,c,f);if(typeof l=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const b=l.valueOf&&l.valueOf();if(b!=null&&b!==l)return T.from(b,c,f);const M=le(l);if(M)return M;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof l[Symbol.toPrimitive]=="function")return T.from(l[Symbol.toPrimitive]("string"),c,f);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof l)}T.from=function(l,c,f){return I(l,c,f)},Object.setPrototypeOf(T.prototype,Uint8Array.prototype),Object.setPrototypeOf(T,Uint8Array);function C(l){if(typeof l!="number")throw new TypeError('"size" argument must be of type number');if(l<0)throw new RangeError('The value "'+l+'" is invalid for option "size"')}function D(l,c,f){return C(l),l<=0?g(l):c!==void 0?typeof f=="string"?g(l).fill(c,f):g(l).fill(c):g(l)}T.alloc=function(l,c,f){return D(l,c,f)};function R(l){return C(l),g(l<0?0:G(l)|0)}T.allocUnsafe=function(l){return R(l)},T.allocUnsafeSlow=function(l){return R(l)};function x(l,c){if((typeof c!="string"||c==="")&&(c="utf8"),!T.isEncoding(c))throw new TypeError("Unknown encoding: "+c);const f=te(l,c)|0;let b=g(f);const M=b.write(l,c);return M!==f&&(b=b.slice(0,M)),b}function j(l){const c=l.length<0?0:G(l.length)|0,f=g(c);for(let b=0;b<c;b+=1)f[b]=l[b]&255;return f}function Q(l){if(Nt(l,Uint8Array)){const c=new Uint8Array(l);return W(c.buffer,c.byteOffset,c.byteLength)}return j(l)}function W(l,c,f){if(c<0||l.byteLength<c)throw new RangeError('"offset" is outside of buffer bounds');if(l.byteLength<c+(f||0))throw new RangeError('"length" is outside of buffer bounds');let b;return c===void 0&&f===void 0?b=new Uint8Array(l):f===void 0?b=new Uint8Array(l,c):b=new Uint8Array(l,c,f),Object.setPrototypeOf(b,T.prototype),b}function le(l){if(T.isBuffer(l)){const c=G(l.length)|0,f=g(c);return f.length===0||l.copy(f,0,0,c),f}if(l.length!==void 0)return typeof l.length!="number"||_n(l.length)?g(0):j(l);if(l.type==="Buffer"&&Array.isArray(l.data))return j(l.data)}function G(l){if(l>=p)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+p.toString(16)+" bytes");return l|0}function se(l){return+l!=l&&(l=0),T.alloc(+l)}T.isBuffer=function(l){return l!=null&&l._isBuffer===!0&&l!==T.prototype},T.compare=function(l,c){if(Nt(l,Uint8Array)&&(l=T.from(l,l.offset,l.byteLength)),Nt(c,Uint8Array)&&(c=T.from(c,c.offset,c.byteLength)),!T.isBuffer(l)||!T.isBuffer(c))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(l===c)return 0;let f=l.length,b=c.length;for(let M=0,O=Math.min(f,b);M<O;++M)if(l[M]!==c[M]){f=l[M],b=c[M];break}return f<b?-1:b<f?1:0},T.isEncoding=function(l){switch(String(l).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},T.concat=function(l,c){if(!Array.isArray(l))throw new TypeError('"list" argument must be an Array of Buffers');if(l.length===0)return T.alloc(0);let f;if(c===void 0)for(c=0,f=0;f<l.length;++f)c+=l[f].length;const b=T.allocUnsafe(c);let M=0;for(f=0;f<l.length;++f){let O=l[f];if(Nt(O,Uint8Array))M+O.length>b.length?(T.isBuffer(O)||(O=T.from(O)),O.copy(b,M)):Uint8Array.prototype.set.call(b,O,M);else if(T.isBuffer(O))O.copy(b,M);else throw new TypeError('"list" argument must be an Array of Buffers');M+=O.length}return b};function te(l,c){if(T.isBuffer(l))return l.length;if(ArrayBuffer.isView(l)||Nt(l,ArrayBuffer))return l.byteLength;if(typeof l!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof l);const f=l.length,b=arguments.length>2&&arguments[2]===!0;if(!b&&f===0)return 0;let M=!1;for(;;)switch(c){case"ascii":case"latin1":case"binary":return f;case"utf8":case"utf-8":return nn(l).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return f*2;case"hex":return f>>>1;case"base64":return Hn(l).length;default:if(M)return b?-1:nn(l).length;c=(""+c).toLowerCase(),M=!0}}T.byteLength=te;function ue(l,c,f){let b=!1;if((c===void 0||c<0)&&(c=0),c>this.length||((f===void 0||f>this.length)&&(f=this.length),f<=0)||(f>>>=0,c>>>=0,f<=c))return"";for(l||(l="utf8");;)switch(l){case"hex":return ze(this,c,f);case"utf8":case"utf-8":return at(this,c,f);case"ascii":return wn(this,c,f);case"latin1":case"binary":return _e(this,c,f);case"base64":return $e(this,c,f);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return xe(this,c,f);default:if(b)throw new TypeError("Unknown encoding: "+l);l=(l+"").toLowerCase(),b=!0}}T.prototype._isBuffer=!0;function Z(l,c,f){const b=l[c];l[c]=l[f],l[f]=b}T.prototype.swap16=function(){const l=this.length;if(l%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let c=0;c<l;c+=2)Z(this,c,c+1);return this},T.prototype.swap32=function(){const l=this.length;if(l%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let c=0;c<l;c+=4)Z(this,c,c+3),Z(this,c+1,c+2);return this},T.prototype.swap64=function(){const l=this.length;if(l%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let c=0;c<l;c+=8)Z(this,c,c+7),Z(this,c+1,c+6),Z(this,c+2,c+5),Z(this,c+3,c+4);return this},T.prototype.toString=function(){const l=this.length;return l===0?"":arguments.length===0?at(this,0,l):ue.apply(this,arguments)},T.prototype.toLocaleString=T.prototype.toString,T.prototype.equals=function(l){if(!T.isBuffer(l))throw new TypeError("Argument must be a Buffer");return this===l?!0:T.compare(this,l)===0},T.prototype.inspect=function(){let l="";const c=r.INSPECT_MAX_BYTES;return l=this.toString("hex",0,c).replace(/(.{2})/g,"$1 ").trim(),this.length>c&&(l+=" ... "),"<Buffer "+l+">"},m&&(T.prototype[m]=T.prototype.inspect),T.prototype.compare=function(l,c,f,b,M){if(Nt(l,Uint8Array)&&(l=T.from(l,l.offset,l.byteLength)),!T.isBuffer(l))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof l);if(c===void 0&&(c=0),f===void 0&&(f=l?l.length:0),b===void 0&&(b=0),M===void 0&&(M=this.length),c<0||f>l.length||b<0||M>this.length)throw new RangeError("out of range index");if(b>=M&&c>=f)return 0;if(b>=M)return-1;if(c>=f)return 1;if(c>>>=0,f>>>=0,b>>>=0,M>>>=0,this===l)return 0;let O=M-b,U=f-c;const Te=Math.min(O,U),Pe=this.slice(b,M),Ie=l.slice(c,f);for(let Ae=0;Ae<Te;++Ae)if(Pe[Ae]!==Ie[Ae]){O=Pe[Ae],U=Ie[Ae];break}return O<U?-1:U<O?1:0};function ye(l,c,f,b,M){if(l.length===0)return-1;if(typeof f=="string"?(b=f,f=0):f>2147483647?f=2147483647:f<-2147483648&&(f=-2147483648),f=+f,_n(f)&&(f=M?0:l.length-1),f<0&&(f=l.length+f),f>=l.length){if(M)return-1;f=l.length-1}else if(f<0)if(M)f=0;else return-1;if(typeof c=="string"&&(c=T.from(c,b)),T.isBuffer(c))return c.length===0?-1:fe(l,c,f,b,M);if(typeof c=="number")return c=c&255,typeof Uint8Array.prototype.indexOf=="function"?M?Uint8Array.prototype.indexOf.call(l,c,f):Uint8Array.prototype.lastIndexOf.call(l,c,f):fe(l,[c],f,b,M);throw new TypeError("val must be string, number or Buffer")}function fe(l,c,f,b,M){let O=1,U=l.length,Te=c.length;if(b!==void 0&&(b=String(b).toLowerCase(),b==="ucs2"||b==="ucs-2"||b==="utf16le"||b==="utf-16le")){if(l.length<2||c.length<2)return-1;O=2,U/=2,Te/=2,f/=2}function Pe(Ae,Ce){return O===1?Ae[Ce]:Ae.readUInt16BE(Ce*O)}let Ie;if(M){let Ae=-1;for(Ie=f;Ie<U;Ie++)if(Pe(l,Ie)===Pe(c,Ae===-1?0:Ie-Ae)){if(Ae===-1&&(Ae=Ie),Ie-Ae+1===Te)return Ae*O}else Ae!==-1&&(Ie-=Ie-Ae),Ae=-1}else for(f+Te>U&&(f=U-Te),Ie=f;Ie>=0;Ie--){let Ae=!0;for(let Ce=0;Ce<Te;Ce++)if(Pe(l,Ie+Ce)!==Pe(c,Ce)){Ae=!1;break}if(Ae)return Ie}return-1}T.prototype.includes=function(l,c,f){return this.indexOf(l,c,f)!==-1},T.prototype.indexOf=function(l,c,f){return ye(this,l,c,f,!0)},T.prototype.lastIndexOf=function(l,c,f){return ye(this,l,c,f,!1)};function De(l,c,f,b){f=Number(f)||0;const M=l.length-f;b?(b=Number(b),b>M&&(b=M)):b=M;const O=c.length;b>O/2&&(b=O/2);let U;for(U=0;U<b;++U){const Te=parseInt(c.substr(U*2,2),16);if(_n(Te))return U;l[f+U]=Te}return U}function He(l,c,f,b){return an(nn(c,l.length-f),l,f,b)}function ht(l,c,f,b){return an(tr(c),l,f,b)}function ct(l,c,f,b){return an(Hn(c),l,f,b)}function yt(l,c,f,b){return an(ve(c,l.length-f),l,f,b)}T.prototype.write=function(l,c,f,b){if(c===void 0)b="utf8",f=this.length,c=0;else if(f===void 0&&typeof c=="string")b=c,f=this.length,c=0;else if(isFinite(c))c=c>>>0,isFinite(f)?(f=f>>>0,b===void 0&&(b="utf8")):(b=f,f=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const M=this.length-c;if((f===void 0||f>M)&&(f=M),l.length>0&&(f<0||c<0)||c>this.length)throw new RangeError("Attempt to write outside buffer bounds");b||(b="utf8");let O=!1;for(;;)switch(b){case"hex":return De(this,l,c,f);case"utf8":case"utf-8":return He(this,l,c,f);case"ascii":case"latin1":case"binary":return ht(this,l,c,f);case"base64":return ct(this,l,c,f);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return yt(this,l,c,f);default:if(O)throw new TypeError("Unknown encoding: "+b);b=(""+b).toLowerCase(),O=!0}},T.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function $e(l,c,f){return c===0&&f===l.length?o.fromByteArray(l):o.fromByteArray(l.slice(c,f))}function at(l,c,f){f=Math.min(l.length,f);const b=[];let M=c;for(;M<f;){const O=l[M];let U=null,Te=O>239?4:O>223?3:O>191?2:1;if(M+Te<=f){let Pe,Ie,Ae,Ce;switch(Te){case 1:O<128&&(U=O);break;case 2:Pe=l[M+1],(Pe&192)===128&&(Ce=(O&31)<<6|Pe&63,Ce>127&&(U=Ce));break;case 3:Pe=l[M+1],Ie=l[M+2],(Pe&192)===128&&(Ie&192)===128&&(Ce=(O&15)<<12|(Pe&63)<<6|Ie&63,Ce>2047&&(Ce<55296||Ce>57343)&&(U=Ce));break;case 4:Pe=l[M+1],Ie=l[M+2],Ae=l[M+3],(Pe&192)===128&&(Ie&192)===128&&(Ae&192)===128&&(Ce=(O&15)<<18|(Pe&63)<<12|(Ie&63)<<6|Ae&63,Ce>65535&&Ce<1114112&&(U=Ce))}}U===null?(U=65533,Te=1):U>65535&&(U-=65536,b.push(U>>>10&1023|55296),U=56320|U&1023),b.push(U),M+=Te}return Dt(b)}const It=4096;function Dt(l){const c=l.length;if(c<=It)return String.fromCharCode.apply(String,l);let f="",b=0;for(;b<c;)f+=String.fromCharCode.apply(String,l.slice(b,b+=It));return f}function wn(l,c,f){let b="";f=Math.min(l.length,f);for(let M=c;M<f;++M)b+=String.fromCharCode(l[M]&127);return b}function _e(l,c,f){let b="";f=Math.min(l.length,f);for(let M=c;M<f;++M)b+=String.fromCharCode(l[M]);return b}function ze(l,c,f){const b=l.length;(!c||c<0)&&(c=0),(!f||f<0||f>b)&&(f=b);let M="";for(let O=c;O<f;++O)M+=ta[l[O]];return M}function xe(l,c,f){const b=l.slice(c,f);let M="";for(let O=0;O<b.length-1;O+=2)M+=String.fromCharCode(b[O]+b[O+1]*256);return M}T.prototype.slice=function(l,c){const f=this.length;l=~~l,c=c===void 0?f:~~c,l<0?(l+=f,l<0&&(l=0)):l>f&&(l=f),c<0?(c+=f,c<0&&(c=0)):c>f&&(c=f),c<l&&(c=l);const b=this.subarray(l,c);return Object.setPrototypeOf(b,T.prototype),b};function Ee(l,c,f){if(l%1!==0||l<0)throw new RangeError("offset is not uint");if(l+c>f)throw new RangeError("Trying to access beyond buffer length")}T.prototype.readUintLE=T.prototype.readUIntLE=function(l,c,f){l=l>>>0,c=c>>>0,f||Ee(l,c,this.length);let b=this[l],M=1,O=0;for(;++O<c&&(M*=256);)b+=this[l+O]*M;return b},T.prototype.readUintBE=T.prototype.readUIntBE=function(l,c,f){l=l>>>0,c=c>>>0,f||Ee(l,c,this.length);let b=this[l+--c],M=1;for(;c>0&&(M*=256);)b+=this[l+--c]*M;return b},T.prototype.readUint8=T.prototype.readUInt8=function(l,c){return l=l>>>0,c||Ee(l,1,this.length),this[l]},T.prototype.readUint16LE=T.prototype.readUInt16LE=function(l,c){return l=l>>>0,c||Ee(l,2,this.length),this[l]|this[l+1]<<8},T.prototype.readUint16BE=T.prototype.readUInt16BE=function(l,c){return l=l>>>0,c||Ee(l,2,this.length),this[l]<<8|this[l+1]},T.prototype.readUint32LE=T.prototype.readUInt32LE=function(l,c){return l=l>>>0,c||Ee(l,4,this.length),(this[l]|this[l+1]<<8|this[l+2]<<16)+this[l+3]*16777216},T.prototype.readUint32BE=T.prototype.readUInt32BE=function(l,c){return l=l>>>0,c||Ee(l,4,this.length),this[l]*16777216+(this[l+1]<<16|this[l+2]<<8|this[l+3])},T.prototype.readBigUInt64LE=At(function(l){l=l>>>0,Tt(l,"offset");const c=this[l],f=this[l+7];(c===void 0||f===void 0)&&Ct(l,this.length-8);const b=c+this[++l]*2**8+this[++l]*2**16+this[++l]*2**24,M=this[++l]+this[++l]*2**8+this[++l]*2**16+f*2**24;return BigInt(b)+(BigInt(M)<<BigInt(32))}),T.prototype.readBigUInt64BE=At(function(l){l=l>>>0,Tt(l,"offset");const c=this[l],f=this[l+7];(c===void 0||f===void 0)&&Ct(l,this.length-8);const b=c*2**24+this[++l]*2**16+this[++l]*2**8+this[++l],M=this[++l]*2**24+this[++l]*2**16+this[++l]*2**8+f;return(BigInt(b)<<BigInt(32))+BigInt(M)}),T.prototype.readIntLE=function(l,c,f){l=l>>>0,c=c>>>0,f||Ee(l,c,this.length);let b=this[l],M=1,O=0;for(;++O<c&&(M*=256);)b+=this[l+O]*M;return M*=128,b>=M&&(b-=Math.pow(2,8*c)),b},T.prototype.readIntBE=function(l,c,f){l=l>>>0,c=c>>>0,f||Ee(l,c,this.length);let b=c,M=1,O=this[l+--b];for(;b>0&&(M*=256);)O+=this[l+--b]*M;return M*=128,O>=M&&(O-=Math.pow(2,8*c)),O},T.prototype.readInt8=function(l,c){return l=l>>>0,c||Ee(l,1,this.length),this[l]&128?(255-this[l]+1)*-1:this[l]},T.prototype.readInt16LE=function(l,c){l=l>>>0,c||Ee(l,2,this.length);const f=this[l]|this[l+1]<<8;return f&32768?f|4294901760:f},T.prototype.readInt16BE=function(l,c){l=l>>>0,c||Ee(l,2,this.length);const f=this[l+1]|this[l]<<8;return f&32768?f|4294901760:f},T.prototype.readInt32LE=function(l,c){return l=l>>>0,c||Ee(l,4,this.length),this[l]|this[l+1]<<8|this[l+2]<<16|this[l+3]<<24},T.prototype.readInt32BE=function(l,c){return l=l>>>0,c||Ee(l,4,this.length),this[l]<<24|this[l+1]<<16|this[l+2]<<8|this[l+3]},T.prototype.readBigInt64LE=At(function(l){l=l>>>0,Tt(l,"offset");const c=this[l],f=this[l+7];(c===void 0||f===void 0)&&Ct(l,this.length-8);const b=this[l+4]+this[l+5]*2**8+this[l+6]*2**16+(f<<24);return(BigInt(b)<<BigInt(32))+BigInt(c+this[++l]*2**8+this[++l]*2**16+this[++l]*2**24)}),T.prototype.readBigInt64BE=At(function(l){l=l>>>0,Tt(l,"offset");const c=this[l],f=this[l+7];(c===void 0||f===void 0)&&Ct(l,this.length-8);const b=(c<<24)+this[++l]*2**16+this[++l]*2**8+this[++l];return(BigInt(b)<<BigInt(32))+BigInt(this[++l]*2**24+this[++l]*2**16+this[++l]*2**8+f)}),T.prototype.readFloatLE=function(l,c){return l=l>>>0,c||Ee(l,4,this.length),s.read(this,l,!0,23,4)},T.prototype.readFloatBE=function(l,c){return l=l>>>0,c||Ee(l,4,this.length),s.read(this,l,!1,23,4)},T.prototype.readDoubleLE=function(l,c){return l=l>>>0,c||Ee(l,8,this.length),s.read(this,l,!0,52,8)},T.prototype.readDoubleBE=function(l,c){return l=l>>>0,c||Ee(l,8,this.length),s.read(this,l,!1,52,8)};function V(l,c,f,b,M,O){if(!T.isBuffer(l))throw new TypeError('"buffer" argument must be a Buffer instance');if(c>M||c<O)throw new RangeError('"value" argument is out of bounds');if(f+b>l.length)throw new RangeError("Index out of range")}T.prototype.writeUintLE=T.prototype.writeUIntLE=function(l,c,f,b){if(l=+l,c=c>>>0,f=f>>>0,!b){const U=Math.pow(2,8*f)-1;V(this,l,c,f,U,0)}let M=1,O=0;for(this[c]=l&255;++O<f&&(M*=256);)this[c+O]=l/M&255;return c+f},T.prototype.writeUintBE=T.prototype.writeUIntBE=function(l,c,f,b){if(l=+l,c=c>>>0,f=f>>>0,!b){const U=Math.pow(2,8*f)-1;V(this,l,c,f,U,0)}let M=f-1,O=1;for(this[c+M]=l&255;--M>=0&&(O*=256);)this[c+M]=l/O&255;return c+f},T.prototype.writeUint8=T.prototype.writeUInt8=function(l,c,f){return l=+l,c=c>>>0,f||V(this,l,c,1,255,0),this[c]=l&255,c+1},T.prototype.writeUint16LE=T.prototype.writeUInt16LE=function(l,c,f){return l=+l,c=c>>>0,f||V(this,l,c,2,65535,0),this[c]=l&255,this[c+1]=l>>>8,c+2},T.prototype.writeUint16BE=T.prototype.writeUInt16BE=function(l,c,f){return l=+l,c=c>>>0,f||V(this,l,c,2,65535,0),this[c]=l>>>8,this[c+1]=l&255,c+2},T.prototype.writeUint32LE=T.prototype.writeUInt32LE=function(l,c,f){return l=+l,c=c>>>0,f||V(this,l,c,4,4294967295,0),this[c+3]=l>>>24,this[c+2]=l>>>16,this[c+1]=l>>>8,this[c]=l&255,c+4},T.prototype.writeUint32BE=T.prototype.writeUInt32BE=function(l,c,f){return l=+l,c=c>>>0,f||V(this,l,c,4,4294967295,0),this[c]=l>>>24,this[c+1]=l>>>16,this[c+2]=l>>>8,this[c+3]=l&255,c+4};function ce(l,c,f,b,M){tn(c,b,M,l,f,7);let O=Number(c&BigInt(4294967295));l[f++]=O,O=O>>8,l[f++]=O,O=O>>8,l[f++]=O,O=O>>8,l[f++]=O;let U=Number(c>>BigInt(32)&BigInt(4294967295));return l[f++]=U,U=U>>8,l[f++]=U,U=U>>8,l[f++]=U,U=U>>8,l[f++]=U,f}function be(l,c,f,b,M){tn(c,b,M,l,f,7);let O=Number(c&BigInt(4294967295));l[f+7]=O,O=O>>8,l[f+6]=O,O=O>>8,l[f+5]=O,O=O>>8,l[f+4]=O;let U=Number(c>>BigInt(32)&BigInt(4294967295));return l[f+3]=U,U=U>>8,l[f+2]=U,U=U>>8,l[f+1]=U,U=U>>8,l[f]=U,f+8}T.prototype.writeBigUInt64LE=At(function(l,c=0){return ce(this,l,c,BigInt(0),BigInt("0xffffffffffffffff"))}),T.prototype.writeBigUInt64BE=At(function(l,c=0){return be(this,l,c,BigInt(0),BigInt("0xffffffffffffffff"))}),T.prototype.writeIntLE=function(l,c,f,b){if(l=+l,c=c>>>0,!b){const Te=Math.pow(2,8*f-1);V(this,l,c,f,Te-1,-Te)}let M=0,O=1,U=0;for(this[c]=l&255;++M<f&&(O*=256);)l<0&&U===0&&this[c+M-1]!==0&&(U=1),this[c+M]=(l/O>>0)-U&255;return c+f},T.prototype.writeIntBE=function(l,c,f,b){if(l=+l,c=c>>>0,!b){const Te=Math.pow(2,8*f-1);V(this,l,c,f,Te-1,-Te)}let M=f-1,O=1,U=0;for(this[c+M]=l&255;--M>=0&&(O*=256);)l<0&&U===0&&this[c+M+1]!==0&&(U=1),this[c+M]=(l/O>>0)-U&255;return c+f},T.prototype.writeInt8=function(l,c,f){return l=+l,c=c>>>0,f||V(this,l,c,1,127,-128),l<0&&(l=255+l+1),this[c]=l&255,c+1},T.prototype.writeInt16LE=function(l,c,f){return l=+l,c=c>>>0,f||V(this,l,c,2,32767,-32768),this[c]=l&255,this[c+1]=l>>>8,c+2},T.prototype.writeInt16BE=function(l,c,f){return l=+l,c=c>>>0,f||V(this,l,c,2,32767,-32768),this[c]=l>>>8,this[c+1]=l&255,c+2},T.prototype.writeInt32LE=function(l,c,f){return l=+l,c=c>>>0,f||V(this,l,c,4,2147483647,-2147483648),this[c]=l&255,this[c+1]=l>>>8,this[c+2]=l>>>16,this[c+3]=l>>>24,c+4},T.prototype.writeInt32BE=function(l,c,f){return l=+l,c=c>>>0,f||V(this,l,c,4,2147483647,-2147483648),l<0&&(l=4294967295+l+1),this[c]=l>>>24,this[c+1]=l>>>16,this[c+2]=l>>>8,this[c+3]=l&255,c+4},T.prototype.writeBigInt64LE=At(function(l,c=0){return ce(this,l,c,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),T.prototype.writeBigInt64BE=At(function(l,c=0){return be(this,l,c,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function Ze(l,c,f,b,M,O){if(f+b>l.length)throw new RangeError("Index out of range");if(f<0)throw new RangeError("Index out of range")}function dt(l,c,f,b,M){return c=+c,f=f>>>0,M||Ze(l,c,f,4),s.write(l,c,f,b,23,4),f+4}T.prototype.writeFloatLE=function(l,c,f){return dt(this,l,c,!0,f)},T.prototype.writeFloatBE=function(l,c,f){return dt(this,l,c,!1,f)};function ft(l,c,f,b,M){return c=+c,f=f>>>0,M||Ze(l,c,f,8),s.write(l,c,f,b,52,8),f+8}T.prototype.writeDoubleLE=function(l,c,f){return ft(this,l,c,!0,f)},T.prototype.writeDoubleBE=function(l,c,f){return ft(this,l,c,!1,f)},T.prototype.copy=function(l,c,f,b){if(!T.isBuffer(l))throw new TypeError("argument should be a Buffer");if(f||(f=0),!b&&b!==0&&(b=this.length),c>=l.length&&(c=l.length),c||(c=0),b>0&&b<f&&(b=f),b===f||l.length===0||this.length===0)return 0;if(c<0)throw new RangeError("targetStart out of bounds");if(f<0||f>=this.length)throw new RangeError("Index out of range");if(b<0)throw new RangeError("sourceEnd out of bounds");b>this.length&&(b=this.length),l.length-c<b-f&&(b=l.length-c+f);const M=b-f;return this===l&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(c,f,b):Uint8Array.prototype.set.call(l,this.subarray(f,b),c),M},T.prototype.fill=function(l,c,f,b){if(typeof l=="string"){if(typeof c=="string"?(b=c,c=0,f=this.length):typeof f=="string"&&(b=f,f=this.length),b!==void 0&&typeof b!="string")throw new TypeError("encoding must be a string");if(typeof b=="string"&&!T.isEncoding(b))throw new TypeError("Unknown encoding: "+b);if(l.length===1){const O=l.charCodeAt(0);(b==="utf8"&&O<128||b==="latin1")&&(l=O)}}else typeof l=="number"?l=l&255:typeof l=="boolean"&&(l=Number(l));if(c<0||this.length<c||this.length<f)throw new RangeError("Out of range index");if(f<=c)return this;c=c>>>0,f=f===void 0?this.length:f>>>0,l||(l=0);let M;if(typeof l=="number")for(M=c;M<f;++M)this[M]=l;else{const O=T.isBuffer(l)?l:T.from(l,b),U=O.length;if(U===0)throw new TypeError('The value "'+l+'" is invalid for argument "value"');for(M=0;M<f-c;++M)this[M+c]=O[M%U]}return this};const Qe={};function rt(l,c,f){Qe[l]=class extends f{constructor(){super(),Object.defineProperty(this,"message",{value:c.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${l}]`,this.stack,delete this.name}get code(){return l}set code(b){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:b,writable:!0})}toString(){return`${this.name} [${l}]: ${this.message}`}}}rt("ERR_BUFFER_OUT_OF_BOUNDS",function(l){return l?`${l} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),rt("ERR_INVALID_ARG_TYPE",function(l,c){return`The "${l}" argument must be of type number. Received type ${typeof c}`},TypeError),rt("ERR_OUT_OF_RANGE",function(l,c,f){let b=`The value of "${l}" is out of range.`,M=f;return Number.isInteger(f)&&Math.abs(f)>2**32?M=wt(String(f)):typeof f=="bigint"&&(M=String(f),(f>BigInt(2)**BigInt(32)||f<-(BigInt(2)**BigInt(32)))&&(M=wt(M)),M+="n"),b+=` It must be ${c}. Received ${M}`,b},RangeError);function wt(l){let c="",f=l.length;const b=l[0]==="-"?1:0;for(;f>=b+4;f-=3)c=`_${l.slice(f-3,f)}${c}`;return`${l.slice(0,f)}${c}`}function Gt(l,c,f){Tt(c,"offset"),(l[c]===void 0||l[c+f]===void 0)&&Ct(c,l.length-(f+1))}function tn(l,c,f,b,M,O){if(l>f||l<c){const U=typeof c=="bigint"?"n":"";let Te;throw O>3?c===0||c===BigInt(0)?Te=`>= 0${U} and < 2${U} ** ${(O+1)*8}${U}`:Te=`>= -(2${U} ** ${(O+1)*8-1}${U}) and < 2 ** ${(O+1)*8-1}${U}`:Te=`>= ${c}${U} and <= ${f}${U}`,new Qe.ERR_OUT_OF_RANGE("value",Te,l)}Gt(b,M,O)}function Tt(l,c){if(typeof l!="number")throw new Qe.ERR_INVALID_ARG_TYPE(c,"number",l)}function Ct(l,c,f){throw Math.floor(l)!==l?(Tt(l,f),new Qe.ERR_OUT_OF_RANGE(f||"offset","an integer",l)):c<0?new Qe.ERR_BUFFER_OUT_OF_BOUNDS:new Qe.ERR_OUT_OF_RANGE(f||"offset",`>= ${f?1:0} and <= ${c}`,l)}const yn=/[^+/0-9A-Za-z-_]/g;function In(l){if(l=l.split("=")[0],l=l.trim().replace(yn,""),l.length<2)return"";for(;l.length%4!==0;)l=l+"=";return l}function nn(l,c){c=c||1/0;let f;const b=l.length;let M=null;const O=[];for(let U=0;U<b;++U){if(f=l.charCodeAt(U),f>55295&&f<57344){if(!M){if(f>56319){(c-=3)>-1&&O.push(239,191,189);continue}else if(U+1===b){(c-=3)>-1&&O.push(239,191,189);continue}M=f;continue}if(f<56320){(c-=3)>-1&&O.push(239,191,189),M=f;continue}f=(M-55296<<10|f-56320)+65536}else M&&(c-=3)>-1&&O.push(239,191,189);if(M=null,f<128){if((c-=1)<0)break;O.push(f)}else if(f<2048){if((c-=2)<0)break;O.push(f>>6|192,f&63|128)}else if(f<65536){if((c-=3)<0)break;O.push(f>>12|224,f>>6&63|128,f&63|128)}else if(f<1114112){if((c-=4)<0)break;O.push(f>>18|240,f>>12&63|128,f>>6&63|128,f&63|128)}else throw new Error("Invalid code point")}return O}function tr(l){const c=[];for(let f=0;f<l.length;++f)c.push(l.charCodeAt(f)&255);return c}function ve(l,c){let f,b,M;const O=[];for(let U=0;U<l.length&&!((c-=2)<0);++U)f=l.charCodeAt(U),b=f>>8,M=f%256,O.push(M),O.push(b);return O}function Hn(l){return o.toByteArray(In(l))}function an(l,c,f,b){let M;for(M=0;M<b&&!(M+f>=c.length||M>=l.length);++M)c[M+f]=l[M];return M}function Nt(l,c){return l instanceof c||l!=null&&l.constructor!=null&&l.constructor.name!=null&&l.constructor.name===c.name}function _n(l){return l!==l}const ta=function(){const l="0123456789abcdef",c=new Array(256);for(let f=0;f<16;++f){const b=f*16;for(let M=0;M<16;++M)c[b+M]=l[f]+l[M]}return c}();function At(l){return typeof BigInt>"u"?jr:l}function jr(){throw new Error("BigInt not supported")}})(D7);var U7={exports:{}},Qn=U7.exports={},zi,Bi;function pT(){throw new Error("setTimeout has not been defined")}function mT(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?zi=setTimeout:zi=pT}catch{zi=pT}try{typeof clearTimeout=="function"?Bi=clearTimeout:Bi=mT}catch{Bi=mT}})();function j7(r){if(zi===setTimeout)return setTimeout(r,0);if((zi===pT||!zi)&&setTimeout)return zi=setTimeout,setTimeout(r,0);try{return zi(r,0)}catch{try{return zi.call(null,r,0)}catch{return zi.call(this,r,0)}}}function QR(r){if(Bi===clearTimeout)return clearTimeout(r);if((Bi===mT||!Bi)&&clearTimeout)return Bi=clearTimeout,clearTimeout(r);try{return Bi(r)}catch{try{return Bi.call(null,r)}catch{return Bi.call(this,r)}}}var Gs=[],Jf=!1,Ec,uy=-1;function GR(){!Jf||!Ec||(Jf=!1,Ec.length?Gs=Ec.concat(Gs):uy=-1,Gs.length&&z7())}function z7(){if(!Jf){var r=j7(GR);Jf=!0;for(var o=Gs.length;o;){for(Ec=Gs,Gs=[];++uy<o;)Ec&&Ec[uy].run();uy=-1,o=Gs.length}Ec=null,Jf=!1,QR(r)}}Qn.nextTick=function(r){var o=new Array(arguments.length-1);if(arguments.length>1)for(var s=1;s<arguments.length;s++)o[s-1]=arguments[s];Gs.push(new B7(r,o)),Gs.length===1&&!Jf&&j7(z7)};function B7(r,o){this.fun=r,this.array=o}B7.prototype.run=function(){this.fun.apply(null,this.array)};Qn.title="browser";Qn.browser=!0;Qn.env={};Qn.argv=[];Qn.version="";Qn.versions={};function Ks(){}Qn.on=Ks;Qn.addListener=Ks;Qn.once=Ks;Qn.off=Ks;Qn.removeListener=Ks;Qn.removeAllListeners=Ks;Qn.emit=Ks;Qn.prependListener=Ks;Qn.prependOnceListener=Ks;Qn.listeners=function(r){return[]};Qn.binding=function(r){throw new Error("process.binding is not supported")};Qn.cwd=function(){return"/"};Qn.chdir=function(r){throw new Error("process.chdir is not supported")};Qn.umask=function(){return 0};var HR=U7.exports;(function(r){Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});const o=D7,s=HR,m=g=>g&&g.__esModule?g:{default:g},p=m(s),v=globalThis||void 0||self;Object.defineProperty(r,"Buffer",{enumerable:!0,get:()=>o.Buffer}),Object.defineProperty(r,"process",{enumerable:!0,get:()=>p.default}),r.global=v})(xc);var hT={exports:{}},Ba={},_4={exports:{}},fb={};/**
15
+ */(function(r){const o=Dy,s=QT,m=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;r.Buffer=T,r.SlowBuffer=se,r.INSPECT_MAX_BYTES=50;const p=2147483647;r.kMaxLength=p,T.TYPED_ARRAY_SUPPORT=v(),!T.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function v(){try{const l=new Uint8Array(1),c={foo:function(){return 42}};return Object.setPrototypeOf(c,Uint8Array.prototype),Object.setPrototypeOf(l,c),l.foo()===42}catch{return!1}}Object.defineProperty(T.prototype,"parent",{enumerable:!0,get:function(){if(T.isBuffer(this))return this.buffer}}),Object.defineProperty(T.prototype,"offset",{enumerable:!0,get:function(){if(T.isBuffer(this))return this.byteOffset}});function g(l){if(l>p)throw new RangeError('The value "'+l+'" is invalid for option "size"');const c=new Uint8Array(l);return Object.setPrototypeOf(c,T.prototype),c}function T(l,c,f){if(typeof l=="number"){if(typeof c=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return R(l)}return I(l,c,f)}T.poolSize=8192;function I(l,c,f){if(typeof l=="string")return x(l,c);if(ArrayBuffer.isView(l))return Q(l);if(l==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof l);if(Nt(l,ArrayBuffer)||l&&Nt(l.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Nt(l,SharedArrayBuffer)||l&&Nt(l.buffer,SharedArrayBuffer)))return W(l,c,f);if(typeof l=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const b=l.valueOf&&l.valueOf();if(b!=null&&b!==l)return T.from(b,c,f);const M=le(l);if(M)return M;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof l[Symbol.toPrimitive]=="function")return T.from(l[Symbol.toPrimitive]("string"),c,f);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof l)}T.from=function(l,c,f){return I(l,c,f)},Object.setPrototypeOf(T.prototype,Uint8Array.prototype),Object.setPrototypeOf(T,Uint8Array);function C(l){if(typeof l!="number")throw new TypeError('"size" argument must be of type number');if(l<0)throw new RangeError('The value "'+l+'" is invalid for option "size"')}function D(l,c,f){return C(l),l<=0?g(l):c!==void 0?typeof f=="string"?g(l).fill(c,f):g(l).fill(c):g(l)}T.alloc=function(l,c,f){return D(l,c,f)};function R(l){return C(l),g(l<0?0:G(l)|0)}T.allocUnsafe=function(l){return R(l)},T.allocUnsafeSlow=function(l){return R(l)};function x(l,c){if((typeof c!="string"||c==="")&&(c="utf8"),!T.isEncoding(c))throw new TypeError("Unknown encoding: "+c);const f=te(l,c)|0;let b=g(f);const M=b.write(l,c);return M!==f&&(b=b.slice(0,M)),b}function j(l){const c=l.length<0?0:G(l.length)|0,f=g(c);for(let b=0;b<c;b+=1)f[b]=l[b]&255;return f}function Q(l){if(Nt(l,Uint8Array)){const c=new Uint8Array(l);return W(c.buffer,c.byteOffset,c.byteLength)}return j(l)}function W(l,c,f){if(c<0||l.byteLength<c)throw new RangeError('"offset" is outside of buffer bounds');if(l.byteLength<c+(f||0))throw new RangeError('"length" is outside of buffer bounds');let b;return c===void 0&&f===void 0?b=new Uint8Array(l):f===void 0?b=new Uint8Array(l,c):b=new Uint8Array(l,c,f),Object.setPrototypeOf(b,T.prototype),b}function le(l){if(T.isBuffer(l)){const c=G(l.length)|0,f=g(c);return f.length===0||l.copy(f,0,0,c),f}if(l.length!==void 0)return typeof l.length!="number"||_n(l.length)?g(0):j(l);if(l.type==="Buffer"&&Array.isArray(l.data))return j(l.data)}function G(l){if(l>=p)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+p.toString(16)+" bytes");return l|0}function se(l){return+l!=l&&(l=0),T.alloc(+l)}T.isBuffer=function(l){return l!=null&&l._isBuffer===!0&&l!==T.prototype},T.compare=function(l,c){if(Nt(l,Uint8Array)&&(l=T.from(l,l.offset,l.byteLength)),Nt(c,Uint8Array)&&(c=T.from(c,c.offset,c.byteLength)),!T.isBuffer(l)||!T.isBuffer(c))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(l===c)return 0;let f=l.length,b=c.length;for(let M=0,O=Math.min(f,b);M<O;++M)if(l[M]!==c[M]){f=l[M],b=c[M];break}return f<b?-1:b<f?1:0},T.isEncoding=function(l){switch(String(l).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},T.concat=function(l,c){if(!Array.isArray(l))throw new TypeError('"list" argument must be an Array of Buffers');if(l.length===0)return T.alloc(0);let f;if(c===void 0)for(c=0,f=0;f<l.length;++f)c+=l[f].length;const b=T.allocUnsafe(c);let M=0;for(f=0;f<l.length;++f){let O=l[f];if(Nt(O,Uint8Array))M+O.length>b.length?(T.isBuffer(O)||(O=T.from(O)),O.copy(b,M)):Uint8Array.prototype.set.call(b,O,M);else if(T.isBuffer(O))O.copy(b,M);else throw new TypeError('"list" argument must be an Array of Buffers');M+=O.length}return b};function te(l,c){if(T.isBuffer(l))return l.length;if(ArrayBuffer.isView(l)||Nt(l,ArrayBuffer))return l.byteLength;if(typeof l!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof l);const f=l.length,b=arguments.length>2&&arguments[2]===!0;if(!b&&f===0)return 0;let M=!1;for(;;)switch(c){case"ascii":case"latin1":case"binary":return f;case"utf8":case"utf-8":return nn(l).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return f*2;case"hex":return f>>>1;case"base64":return Hn(l).length;default:if(M)return b?-1:nn(l).length;c=(""+c).toLowerCase(),M=!0}}T.byteLength=te;function ue(l,c,f){let b=!1;if((c===void 0||c<0)&&(c=0),c>this.length||((f===void 0||f>this.length)&&(f=this.length),f<=0)||(f>>>=0,c>>>=0,f<=c))return"";for(l||(l="utf8");;)switch(l){case"hex":return ze(this,c,f);case"utf8":case"utf-8":return at(this,c,f);case"ascii":return wn(this,c,f);case"latin1":case"binary":return _e(this,c,f);case"base64":return $e(this,c,f);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return xe(this,c,f);default:if(b)throw new TypeError("Unknown encoding: "+l);l=(l+"").toLowerCase(),b=!0}}T.prototype._isBuffer=!0;function Z(l,c,f){const b=l[c];l[c]=l[f],l[f]=b}T.prototype.swap16=function(){const l=this.length;if(l%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let c=0;c<l;c+=2)Z(this,c,c+1);return this},T.prototype.swap32=function(){const l=this.length;if(l%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let c=0;c<l;c+=4)Z(this,c,c+3),Z(this,c+1,c+2);return this},T.prototype.swap64=function(){const l=this.length;if(l%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let c=0;c<l;c+=8)Z(this,c,c+7),Z(this,c+1,c+6),Z(this,c+2,c+5),Z(this,c+3,c+4);return this},T.prototype.toString=function(){const l=this.length;return l===0?"":arguments.length===0?at(this,0,l):ue.apply(this,arguments)},T.prototype.toLocaleString=T.prototype.toString,T.prototype.equals=function(l){if(!T.isBuffer(l))throw new TypeError("Argument must be a Buffer");return this===l?!0:T.compare(this,l)===0},T.prototype.inspect=function(){let l="";const c=r.INSPECT_MAX_BYTES;return l=this.toString("hex",0,c).replace(/(.{2})/g,"$1 ").trim(),this.length>c&&(l+=" ... "),"<Buffer "+l+">"},m&&(T.prototype[m]=T.prototype.inspect),T.prototype.compare=function(l,c,f,b,M){if(Nt(l,Uint8Array)&&(l=T.from(l,l.offset,l.byteLength)),!T.isBuffer(l))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof l);if(c===void 0&&(c=0),f===void 0&&(f=l?l.length:0),b===void 0&&(b=0),M===void 0&&(M=this.length),c<0||f>l.length||b<0||M>this.length)throw new RangeError("out of range index");if(b>=M&&c>=f)return 0;if(b>=M)return-1;if(c>=f)return 1;if(c>>>=0,f>>>=0,b>>>=0,M>>>=0,this===l)return 0;let O=M-b,U=f-c;const Te=Math.min(O,U),Pe=this.slice(b,M),Ie=l.slice(c,f);for(let Ae=0;Ae<Te;++Ae)if(Pe[Ae]!==Ie[Ae]){O=Pe[Ae],U=Ie[Ae];break}return O<U?-1:U<O?1:0};function ye(l,c,f,b,M){if(l.length===0)return-1;if(typeof f=="string"?(b=f,f=0):f>2147483647?f=2147483647:f<-2147483648&&(f=-2147483648),f=+f,_n(f)&&(f=M?0:l.length-1),f<0&&(f=l.length+f),f>=l.length){if(M)return-1;f=l.length-1}else if(f<0)if(M)f=0;else return-1;if(typeof c=="string"&&(c=T.from(c,b)),T.isBuffer(c))return c.length===0?-1:fe(l,c,f,b,M);if(typeof c=="number")return c=c&255,typeof Uint8Array.prototype.indexOf=="function"?M?Uint8Array.prototype.indexOf.call(l,c,f):Uint8Array.prototype.lastIndexOf.call(l,c,f):fe(l,[c],f,b,M);throw new TypeError("val must be string, number or Buffer")}function fe(l,c,f,b,M){let O=1,U=l.length,Te=c.length;if(b!==void 0&&(b=String(b).toLowerCase(),b==="ucs2"||b==="ucs-2"||b==="utf16le"||b==="utf-16le")){if(l.length<2||c.length<2)return-1;O=2,U/=2,Te/=2,f/=2}function Pe(Ae,Ce){return O===1?Ae[Ce]:Ae.readUInt16BE(Ce*O)}let Ie;if(M){let Ae=-1;for(Ie=f;Ie<U;Ie++)if(Pe(l,Ie)===Pe(c,Ae===-1?0:Ie-Ae)){if(Ae===-1&&(Ae=Ie),Ie-Ae+1===Te)return Ae*O}else Ae!==-1&&(Ie-=Ie-Ae),Ae=-1}else for(f+Te>U&&(f=U-Te),Ie=f;Ie>=0;Ie--){let Ae=!0;for(let Ce=0;Ce<Te;Ce++)if(Pe(l,Ie+Ce)!==Pe(c,Ce)){Ae=!1;break}if(Ae)return Ie}return-1}T.prototype.includes=function(l,c,f){return this.indexOf(l,c,f)!==-1},T.prototype.indexOf=function(l,c,f){return ye(this,l,c,f,!0)},T.prototype.lastIndexOf=function(l,c,f){return ye(this,l,c,f,!1)};function De(l,c,f,b){f=Number(f)||0;const M=l.length-f;b?(b=Number(b),b>M&&(b=M)):b=M;const O=c.length;b>O/2&&(b=O/2);let U;for(U=0;U<b;++U){const Te=parseInt(c.substr(U*2,2),16);if(_n(Te))return U;l[f+U]=Te}return U}function He(l,c,f,b){return an(nn(c,l.length-f),l,f,b)}function ht(l,c,f,b){return an(tr(c),l,f,b)}function ct(l,c,f,b){return an(Hn(c),l,f,b)}function yt(l,c,f,b){return an(ve(c,l.length-f),l,f,b)}T.prototype.write=function(l,c,f,b){if(c===void 0)b="utf8",f=this.length,c=0;else if(f===void 0&&typeof c=="string")b=c,f=this.length,c=0;else if(isFinite(c))c=c>>>0,isFinite(f)?(f=f>>>0,b===void 0&&(b="utf8")):(b=f,f=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const M=this.length-c;if((f===void 0||f>M)&&(f=M),l.length>0&&(f<0||c<0)||c>this.length)throw new RangeError("Attempt to write outside buffer bounds");b||(b="utf8");let O=!1;for(;;)switch(b){case"hex":return De(this,l,c,f);case"utf8":case"utf-8":return He(this,l,c,f);case"ascii":case"latin1":case"binary":return ht(this,l,c,f);case"base64":return ct(this,l,c,f);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return yt(this,l,c,f);default:if(O)throw new TypeError("Unknown encoding: "+b);b=(""+b).toLowerCase(),O=!0}},T.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function $e(l,c,f){return c===0&&f===l.length?o.fromByteArray(l):o.fromByteArray(l.slice(c,f))}function at(l,c,f){f=Math.min(l.length,f);const b=[];let M=c;for(;M<f;){const O=l[M];let U=null,Te=O>239?4:O>223?3:O>191?2:1;if(M+Te<=f){let Pe,Ie,Ae,Ce;switch(Te){case 1:O<128&&(U=O);break;case 2:Pe=l[M+1],(Pe&192)===128&&(Ce=(O&31)<<6|Pe&63,Ce>127&&(U=Ce));break;case 3:Pe=l[M+1],Ie=l[M+2],(Pe&192)===128&&(Ie&192)===128&&(Ce=(O&15)<<12|(Pe&63)<<6|Ie&63,Ce>2047&&(Ce<55296||Ce>57343)&&(U=Ce));break;case 4:Pe=l[M+1],Ie=l[M+2],Ae=l[M+3],(Pe&192)===128&&(Ie&192)===128&&(Ae&192)===128&&(Ce=(O&15)<<18|(Pe&63)<<12|(Ie&63)<<6|Ae&63,Ce>65535&&Ce<1114112&&(U=Ce))}}U===null?(U=65533,Te=1):U>65535&&(U-=65536,b.push(U>>>10&1023|55296),U=56320|U&1023),b.push(U),M+=Te}return Dt(b)}const It=4096;function Dt(l){const c=l.length;if(c<=It)return String.fromCharCode.apply(String,l);let f="",b=0;for(;b<c;)f+=String.fromCharCode.apply(String,l.slice(b,b+=It));return f}function wn(l,c,f){let b="";f=Math.min(l.length,f);for(let M=c;M<f;++M)b+=String.fromCharCode(l[M]&127);return b}function _e(l,c,f){let b="";f=Math.min(l.length,f);for(let M=c;M<f;++M)b+=String.fromCharCode(l[M]);return b}function ze(l,c,f){const b=l.length;(!c||c<0)&&(c=0),(!f||f<0||f>b)&&(f=b);let M="";for(let O=c;O<f;++O)M+=ta[l[O]];return M}function xe(l,c,f){const b=l.slice(c,f);let M="";for(let O=0;O<b.length-1;O+=2)M+=String.fromCharCode(b[O]+b[O+1]*256);return M}T.prototype.slice=function(l,c){const f=this.length;l=~~l,c=c===void 0?f:~~c,l<0?(l+=f,l<0&&(l=0)):l>f&&(l=f),c<0?(c+=f,c<0&&(c=0)):c>f&&(c=f),c<l&&(c=l);const b=this.subarray(l,c);return Object.setPrototypeOf(b,T.prototype),b};function Ee(l,c,f){if(l%1!==0||l<0)throw new RangeError("offset is not uint");if(l+c>f)throw new RangeError("Trying to access beyond buffer length")}T.prototype.readUintLE=T.prototype.readUIntLE=function(l,c,f){l=l>>>0,c=c>>>0,f||Ee(l,c,this.length);let b=this[l],M=1,O=0;for(;++O<c&&(M*=256);)b+=this[l+O]*M;return b},T.prototype.readUintBE=T.prototype.readUIntBE=function(l,c,f){l=l>>>0,c=c>>>0,f||Ee(l,c,this.length);let b=this[l+--c],M=1;for(;c>0&&(M*=256);)b+=this[l+--c]*M;return b},T.prototype.readUint8=T.prototype.readUInt8=function(l,c){return l=l>>>0,c||Ee(l,1,this.length),this[l]},T.prototype.readUint16LE=T.prototype.readUInt16LE=function(l,c){return l=l>>>0,c||Ee(l,2,this.length),this[l]|this[l+1]<<8},T.prototype.readUint16BE=T.prototype.readUInt16BE=function(l,c){return l=l>>>0,c||Ee(l,2,this.length),this[l]<<8|this[l+1]},T.prototype.readUint32LE=T.prototype.readUInt32LE=function(l,c){return l=l>>>0,c||Ee(l,4,this.length),(this[l]|this[l+1]<<8|this[l+2]<<16)+this[l+3]*16777216},T.prototype.readUint32BE=T.prototype.readUInt32BE=function(l,c){return l=l>>>0,c||Ee(l,4,this.length),this[l]*16777216+(this[l+1]<<16|this[l+2]<<8|this[l+3])},T.prototype.readBigUInt64LE=At(function(l){l=l>>>0,Tt(l,"offset");const c=this[l],f=this[l+7];(c===void 0||f===void 0)&&Ct(l,this.length-8);const b=c+this[++l]*2**8+this[++l]*2**16+this[++l]*2**24,M=this[++l]+this[++l]*2**8+this[++l]*2**16+f*2**24;return BigInt(b)+(BigInt(M)<<BigInt(32))}),T.prototype.readBigUInt64BE=At(function(l){l=l>>>0,Tt(l,"offset");const c=this[l],f=this[l+7];(c===void 0||f===void 0)&&Ct(l,this.length-8);const b=c*2**24+this[++l]*2**16+this[++l]*2**8+this[++l],M=this[++l]*2**24+this[++l]*2**16+this[++l]*2**8+f;return(BigInt(b)<<BigInt(32))+BigInt(M)}),T.prototype.readIntLE=function(l,c,f){l=l>>>0,c=c>>>0,f||Ee(l,c,this.length);let b=this[l],M=1,O=0;for(;++O<c&&(M*=256);)b+=this[l+O]*M;return M*=128,b>=M&&(b-=Math.pow(2,8*c)),b},T.prototype.readIntBE=function(l,c,f){l=l>>>0,c=c>>>0,f||Ee(l,c,this.length);let b=c,M=1,O=this[l+--b];for(;b>0&&(M*=256);)O+=this[l+--b]*M;return M*=128,O>=M&&(O-=Math.pow(2,8*c)),O},T.prototype.readInt8=function(l,c){return l=l>>>0,c||Ee(l,1,this.length),this[l]&128?(255-this[l]+1)*-1:this[l]},T.prototype.readInt16LE=function(l,c){l=l>>>0,c||Ee(l,2,this.length);const f=this[l]|this[l+1]<<8;return f&32768?f|4294901760:f},T.prototype.readInt16BE=function(l,c){l=l>>>0,c||Ee(l,2,this.length);const f=this[l+1]|this[l]<<8;return f&32768?f|4294901760:f},T.prototype.readInt32LE=function(l,c){return l=l>>>0,c||Ee(l,4,this.length),this[l]|this[l+1]<<8|this[l+2]<<16|this[l+3]<<24},T.prototype.readInt32BE=function(l,c){return l=l>>>0,c||Ee(l,4,this.length),this[l]<<24|this[l+1]<<16|this[l+2]<<8|this[l+3]},T.prototype.readBigInt64LE=At(function(l){l=l>>>0,Tt(l,"offset");const c=this[l],f=this[l+7];(c===void 0||f===void 0)&&Ct(l,this.length-8);const b=this[l+4]+this[l+5]*2**8+this[l+6]*2**16+(f<<24);return(BigInt(b)<<BigInt(32))+BigInt(c+this[++l]*2**8+this[++l]*2**16+this[++l]*2**24)}),T.prototype.readBigInt64BE=At(function(l){l=l>>>0,Tt(l,"offset");const c=this[l],f=this[l+7];(c===void 0||f===void 0)&&Ct(l,this.length-8);const b=(c<<24)+this[++l]*2**16+this[++l]*2**8+this[++l];return(BigInt(b)<<BigInt(32))+BigInt(this[++l]*2**24+this[++l]*2**16+this[++l]*2**8+f)}),T.prototype.readFloatLE=function(l,c){return l=l>>>0,c||Ee(l,4,this.length),s.read(this,l,!0,23,4)},T.prototype.readFloatBE=function(l,c){return l=l>>>0,c||Ee(l,4,this.length),s.read(this,l,!1,23,4)},T.prototype.readDoubleLE=function(l,c){return l=l>>>0,c||Ee(l,8,this.length),s.read(this,l,!0,52,8)},T.prototype.readDoubleBE=function(l,c){return l=l>>>0,c||Ee(l,8,this.length),s.read(this,l,!1,52,8)};function V(l,c,f,b,M,O){if(!T.isBuffer(l))throw new TypeError('"buffer" argument must be a Buffer instance');if(c>M||c<O)throw new RangeError('"value" argument is out of bounds');if(f+b>l.length)throw new RangeError("Index out of range")}T.prototype.writeUintLE=T.prototype.writeUIntLE=function(l,c,f,b){if(l=+l,c=c>>>0,f=f>>>0,!b){const U=Math.pow(2,8*f)-1;V(this,l,c,f,U,0)}let M=1,O=0;for(this[c]=l&255;++O<f&&(M*=256);)this[c+O]=l/M&255;return c+f},T.prototype.writeUintBE=T.prototype.writeUIntBE=function(l,c,f,b){if(l=+l,c=c>>>0,f=f>>>0,!b){const U=Math.pow(2,8*f)-1;V(this,l,c,f,U,0)}let M=f-1,O=1;for(this[c+M]=l&255;--M>=0&&(O*=256);)this[c+M]=l/O&255;return c+f},T.prototype.writeUint8=T.prototype.writeUInt8=function(l,c,f){return l=+l,c=c>>>0,f||V(this,l,c,1,255,0),this[c]=l&255,c+1},T.prototype.writeUint16LE=T.prototype.writeUInt16LE=function(l,c,f){return l=+l,c=c>>>0,f||V(this,l,c,2,65535,0),this[c]=l&255,this[c+1]=l>>>8,c+2},T.prototype.writeUint16BE=T.prototype.writeUInt16BE=function(l,c,f){return l=+l,c=c>>>0,f||V(this,l,c,2,65535,0),this[c]=l>>>8,this[c+1]=l&255,c+2},T.prototype.writeUint32LE=T.prototype.writeUInt32LE=function(l,c,f){return l=+l,c=c>>>0,f||V(this,l,c,4,4294967295,0),this[c+3]=l>>>24,this[c+2]=l>>>16,this[c+1]=l>>>8,this[c]=l&255,c+4},T.prototype.writeUint32BE=T.prototype.writeUInt32BE=function(l,c,f){return l=+l,c=c>>>0,f||V(this,l,c,4,4294967295,0),this[c]=l>>>24,this[c+1]=l>>>16,this[c+2]=l>>>8,this[c+3]=l&255,c+4};function ce(l,c,f,b,M){tn(c,b,M,l,f,7);let O=Number(c&BigInt(4294967295));l[f++]=O,O=O>>8,l[f++]=O,O=O>>8,l[f++]=O,O=O>>8,l[f++]=O;let U=Number(c>>BigInt(32)&BigInt(4294967295));return l[f++]=U,U=U>>8,l[f++]=U,U=U>>8,l[f++]=U,U=U>>8,l[f++]=U,f}function be(l,c,f,b,M){tn(c,b,M,l,f,7);let O=Number(c&BigInt(4294967295));l[f+7]=O,O=O>>8,l[f+6]=O,O=O>>8,l[f+5]=O,O=O>>8,l[f+4]=O;let U=Number(c>>BigInt(32)&BigInt(4294967295));return l[f+3]=U,U=U>>8,l[f+2]=U,U=U>>8,l[f+1]=U,U=U>>8,l[f]=U,f+8}T.prototype.writeBigUInt64LE=At(function(l,c=0){return ce(this,l,c,BigInt(0),BigInt("0xffffffffffffffff"))}),T.prototype.writeBigUInt64BE=At(function(l,c=0){return be(this,l,c,BigInt(0),BigInt("0xffffffffffffffff"))}),T.prototype.writeIntLE=function(l,c,f,b){if(l=+l,c=c>>>0,!b){const Te=Math.pow(2,8*f-1);V(this,l,c,f,Te-1,-Te)}let M=0,O=1,U=0;for(this[c]=l&255;++M<f&&(O*=256);)l<0&&U===0&&this[c+M-1]!==0&&(U=1),this[c+M]=(l/O>>0)-U&255;return c+f},T.prototype.writeIntBE=function(l,c,f,b){if(l=+l,c=c>>>0,!b){const Te=Math.pow(2,8*f-1);V(this,l,c,f,Te-1,-Te)}let M=f-1,O=1,U=0;for(this[c+M]=l&255;--M>=0&&(O*=256);)l<0&&U===0&&this[c+M+1]!==0&&(U=1),this[c+M]=(l/O>>0)-U&255;return c+f},T.prototype.writeInt8=function(l,c,f){return l=+l,c=c>>>0,f||V(this,l,c,1,127,-128),l<0&&(l=255+l+1),this[c]=l&255,c+1},T.prototype.writeInt16LE=function(l,c,f){return l=+l,c=c>>>0,f||V(this,l,c,2,32767,-32768),this[c]=l&255,this[c+1]=l>>>8,c+2},T.prototype.writeInt16BE=function(l,c,f){return l=+l,c=c>>>0,f||V(this,l,c,2,32767,-32768),this[c]=l>>>8,this[c+1]=l&255,c+2},T.prototype.writeInt32LE=function(l,c,f){return l=+l,c=c>>>0,f||V(this,l,c,4,2147483647,-2147483648),this[c]=l&255,this[c+1]=l>>>8,this[c+2]=l>>>16,this[c+3]=l>>>24,c+4},T.prototype.writeInt32BE=function(l,c,f){return l=+l,c=c>>>0,f||V(this,l,c,4,2147483647,-2147483648),l<0&&(l=4294967295+l+1),this[c]=l>>>24,this[c+1]=l>>>16,this[c+2]=l>>>8,this[c+3]=l&255,c+4},T.prototype.writeBigInt64LE=At(function(l,c=0){return ce(this,l,c,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),T.prototype.writeBigInt64BE=At(function(l,c=0){return be(this,l,c,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function Ze(l,c,f,b,M,O){if(f+b>l.length)throw new RangeError("Index out of range");if(f<0)throw new RangeError("Index out of range")}function dt(l,c,f,b,M){return c=+c,f=f>>>0,M||Ze(l,c,f,4),s.write(l,c,f,b,23,4),f+4}T.prototype.writeFloatLE=function(l,c,f){return dt(this,l,c,!0,f)},T.prototype.writeFloatBE=function(l,c,f){return dt(this,l,c,!1,f)};function ft(l,c,f,b,M){return c=+c,f=f>>>0,M||Ze(l,c,f,8),s.write(l,c,f,b,52,8),f+8}T.prototype.writeDoubleLE=function(l,c,f){return ft(this,l,c,!0,f)},T.prototype.writeDoubleBE=function(l,c,f){return ft(this,l,c,!1,f)},T.prototype.copy=function(l,c,f,b){if(!T.isBuffer(l))throw new TypeError("argument should be a Buffer");if(f||(f=0),!b&&b!==0&&(b=this.length),c>=l.length&&(c=l.length),c||(c=0),b>0&&b<f&&(b=f),b===f||l.length===0||this.length===0)return 0;if(c<0)throw new RangeError("targetStart out of bounds");if(f<0||f>=this.length)throw new RangeError("Index out of range");if(b<0)throw new RangeError("sourceEnd out of bounds");b>this.length&&(b=this.length),l.length-c<b-f&&(b=l.length-c+f);const M=b-f;return this===l&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(c,f,b):Uint8Array.prototype.set.call(l,this.subarray(f,b),c),M},T.prototype.fill=function(l,c,f,b){if(typeof l=="string"){if(typeof c=="string"?(b=c,c=0,f=this.length):typeof f=="string"&&(b=f,f=this.length),b!==void 0&&typeof b!="string")throw new TypeError("encoding must be a string");if(typeof b=="string"&&!T.isEncoding(b))throw new TypeError("Unknown encoding: "+b);if(l.length===1){const O=l.charCodeAt(0);(b==="utf8"&&O<128||b==="latin1")&&(l=O)}}else typeof l=="number"?l=l&255:typeof l=="boolean"&&(l=Number(l));if(c<0||this.length<c||this.length<f)throw new RangeError("Out of range index");if(f<=c)return this;c=c>>>0,f=f===void 0?this.length:f>>>0,l||(l=0);let M;if(typeof l=="number")for(M=c;M<f;++M)this[M]=l;else{const O=T.isBuffer(l)?l:T.from(l,b),U=O.length;if(U===0)throw new TypeError('The value "'+l+'" is invalid for argument "value"');for(M=0;M<f-c;++M)this[M+c]=O[M%U]}return this};const Qe={};function rt(l,c,f){Qe[l]=class extends f{constructor(){super(),Object.defineProperty(this,"message",{value:c.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${l}]`,this.stack,delete this.name}get code(){return l}set code(b){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:b,writable:!0})}toString(){return`${this.name} [${l}]: ${this.message}`}}}rt("ERR_BUFFER_OUT_OF_BOUNDS",function(l){return l?`${l} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),rt("ERR_INVALID_ARG_TYPE",function(l,c){return`The "${l}" argument must be of type number. Received type ${typeof c}`},TypeError),rt("ERR_OUT_OF_RANGE",function(l,c,f){let b=`The value of "${l}" is out of range.`,M=f;return Number.isInteger(f)&&Math.abs(f)>2**32?M=wt(String(f)):typeof f=="bigint"&&(M=String(f),(f>BigInt(2)**BigInt(32)||f<-(BigInt(2)**BigInt(32)))&&(M=wt(M)),M+="n"),b+=` It must be ${c}. Received ${M}`,b},RangeError);function wt(l){let c="",f=l.length;const b=l[0]==="-"?1:0;for(;f>=b+4;f-=3)c=`_${l.slice(f-3,f)}${c}`;return`${l.slice(0,f)}${c}`}function Gt(l,c,f){Tt(c,"offset"),(l[c]===void 0||l[c+f]===void 0)&&Ct(c,l.length-(f+1))}function tn(l,c,f,b,M,O){if(l>f||l<c){const U=typeof c=="bigint"?"n":"";let Te;throw O>3?c===0||c===BigInt(0)?Te=`>= 0${U} and < 2${U} ** ${(O+1)*8}${U}`:Te=`>= -(2${U} ** ${(O+1)*8-1}${U}) and < 2 ** ${(O+1)*8-1}${U}`:Te=`>= ${c}${U} and <= ${f}${U}`,new Qe.ERR_OUT_OF_RANGE("value",Te,l)}Gt(b,M,O)}function Tt(l,c){if(typeof l!="number")throw new Qe.ERR_INVALID_ARG_TYPE(c,"number",l)}function Ct(l,c,f){throw Math.floor(l)!==l?(Tt(l,f),new Qe.ERR_OUT_OF_RANGE(f||"offset","an integer",l)):c<0?new Qe.ERR_BUFFER_OUT_OF_BOUNDS:new Qe.ERR_OUT_OF_RANGE(f||"offset",`>= ${f?1:0} and <= ${c}`,l)}const yn=/[^+/0-9A-Za-z-_]/g;function In(l){if(l=l.split("=")[0],l=l.trim().replace(yn,""),l.length<2)return"";for(;l.length%4!==0;)l=l+"=";return l}function nn(l,c){c=c||1/0;let f;const b=l.length;let M=null;const O=[];for(let U=0;U<b;++U){if(f=l.charCodeAt(U),f>55295&&f<57344){if(!M){if(f>56319){(c-=3)>-1&&O.push(239,191,189);continue}else if(U+1===b){(c-=3)>-1&&O.push(239,191,189);continue}M=f;continue}if(f<56320){(c-=3)>-1&&O.push(239,191,189),M=f;continue}f=(M-55296<<10|f-56320)+65536}else M&&(c-=3)>-1&&O.push(239,191,189);if(M=null,f<128){if((c-=1)<0)break;O.push(f)}else if(f<2048){if((c-=2)<0)break;O.push(f>>6|192,f&63|128)}else if(f<65536){if((c-=3)<0)break;O.push(f>>12|224,f>>6&63|128,f&63|128)}else if(f<1114112){if((c-=4)<0)break;O.push(f>>18|240,f>>12&63|128,f>>6&63|128,f&63|128)}else throw new Error("Invalid code point")}return O}function tr(l){const c=[];for(let f=0;f<l.length;++f)c.push(l.charCodeAt(f)&255);return c}function ve(l,c){let f,b,M;const O=[];for(let U=0;U<l.length&&!((c-=2)<0);++U)f=l.charCodeAt(U),b=f>>8,M=f%256,O.push(M),O.push(b);return O}function Hn(l){return o.toByteArray(In(l))}function an(l,c,f,b){let M;for(M=0;M<b&&!(M+f>=c.length||M>=l.length);++M)c[M+f]=l[M];return M}function Nt(l,c){return l instanceof c||l!=null&&l.constructor!=null&&l.constructor.name!=null&&l.constructor.name===c.name}function _n(l){return l!==l}const ta=function(){const l="0123456789abcdef",c=new Array(256);for(let f=0;f<16;++f){const b=f*16;for(let M=0;M<16;++M)c[b+M]=l[f]+l[M]}return c}();function At(l){return typeof BigInt>"u"?jr:l}function jr(){throw new Error("BigInt not supported")}})(D7);var U7={exports:{}},Qn=U7.exports={},zi,Bi;function pT(){throw new Error("setTimeout has not been defined")}function mT(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?zi=setTimeout:zi=pT}catch{zi=pT}try{typeof clearTimeout=="function"?Bi=clearTimeout:Bi=mT}catch{Bi=mT}})();function j7(r){if(zi===setTimeout)return setTimeout(r,0);if((zi===pT||!zi)&&setTimeout)return zi=setTimeout,setTimeout(r,0);try{return zi(r,0)}catch{try{return zi.call(null,r,0)}catch{return zi.call(this,r,0)}}}function GR(r){if(Bi===clearTimeout)return clearTimeout(r);if((Bi===mT||!Bi)&&clearTimeout)return Bi=clearTimeout,clearTimeout(r);try{return Bi(r)}catch{try{return Bi.call(null,r)}catch{return Bi.call(this,r)}}}var Gs=[],Jf=!1,Ec,uy=-1;function HR(){!Jf||!Ec||(Jf=!1,Ec.length?Gs=Ec.concat(Gs):uy=-1,Gs.length&&z7())}function z7(){if(!Jf){var r=j7(HR);Jf=!0;for(var o=Gs.length;o;){for(Ec=Gs,Gs=[];++uy<o;)Ec&&Ec[uy].run();uy=-1,o=Gs.length}Ec=null,Jf=!1,GR(r)}}Qn.nextTick=function(r){var o=new Array(arguments.length-1);if(arguments.length>1)for(var s=1;s<arguments.length;s++)o[s-1]=arguments[s];Gs.push(new B7(r,o)),Gs.length===1&&!Jf&&j7(z7)};function B7(r,o){this.fun=r,this.array=o}B7.prototype.run=function(){this.fun.apply(null,this.array)};Qn.title="browser";Qn.browser=!0;Qn.env={};Qn.argv=[];Qn.version="";Qn.versions={};function Ks(){}Qn.on=Ks;Qn.addListener=Ks;Qn.once=Ks;Qn.off=Ks;Qn.removeListener=Ks;Qn.removeAllListeners=Ks;Qn.emit=Ks;Qn.prependListener=Ks;Qn.prependOnceListener=Ks;Qn.listeners=function(r){return[]};Qn.binding=function(r){throw new Error("process.binding is not supported")};Qn.cwd=function(){return"/"};Qn.chdir=function(r){throw new Error("process.chdir is not supported")};Qn.umask=function(){return 0};var $R=U7.exports;(function(r){Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});const o=D7,s=$R,m=g=>g&&g.__esModule?g:{default:g},p=m(s),v=globalThis||void 0||self;Object.defineProperty(r,"Buffer",{enumerable:!0,get:()=>o.Buffer}),Object.defineProperty(r,"process",{enumerable:!0,get:()=>p.default}),r.global=v})(xc);var hT={exports:{}},Ba={},_4={exports:{}},fb={};/**
16
16
  * @license React
17
17
  * scheduler.production.min.js
18
18
  *
@@ -20,7 +20,7 @@
20
20
  *
21
21
  * This source code is licensed under the MIT license found in the
22
22
  * LICENSE file in the root directory of this source tree.
23
- */var pb;function $R(){return pb||(pb=1,function(r){function o(_e,ze){var xe=_e.length;_e.push(ze);e:for(;0<xe;){var Ee=xe-1>>>1,V=_e[Ee];if(0<p(V,ze))_e[Ee]=ze,_e[xe]=V,xe=Ee;else break e}}function s(_e){return _e.length===0?null:_e[0]}function m(_e){if(_e.length===0)return null;var ze=_e[0],xe=_e.pop();if(xe!==ze){_e[0]=xe;e:for(var Ee=0,V=_e.length,ce=V>>>1;Ee<ce;){var be=2*(Ee+1)-1,Ze=_e[be],dt=be+1,ft=_e[dt];if(0>p(Ze,xe))dt<V&&0>p(ft,Ze)?(_e[Ee]=ft,_e[dt]=xe,Ee=dt):(_e[Ee]=Ze,_e[be]=xe,Ee=be);else if(dt<V&&0>p(ft,xe))_e[Ee]=ft,_e[dt]=xe,Ee=dt;else break e}}return ze}function p(_e,ze){var xe=_e.sortIndex-ze.sortIndex;return xe!==0?xe:_e.id-ze.id}if(typeof performance=="object"&&typeof performance.now=="function"){var v=performance;r.unstable_now=function(){return v.now()}}else{var g=Date,T=g.now();r.unstable_now=function(){return g.now()-T}}var I=[],C=[],D=1,R=null,x=3,j=!1,Q=!1,W=!1,le=typeof setTimeout=="function"?setTimeout:null,G=typeof clearTimeout=="function"?clearTimeout:null,se=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function te(_e){for(var ze=s(C);ze!==null;){if(ze.callback===null)m(C);else if(ze.startTime<=_e)m(C),ze.sortIndex=ze.expirationTime,o(I,ze);else break;ze=s(C)}}function ue(_e){if(W=!1,te(_e),!Q)if(s(I)!==null)Q=!0,Dt(Z);else{var ze=s(C);ze!==null&&wn(ue,ze.startTime-_e)}}function Z(_e,ze){Q=!1,W&&(W=!1,G(De),De=-1),j=!0;var xe=x;try{for(te(ze),R=s(I);R!==null&&(!(R.expirationTime>ze)||_e&&!ct());){var Ee=R.callback;if(typeof Ee=="function"){R.callback=null,x=R.priorityLevel;var V=Ee(R.expirationTime<=ze);ze=r.unstable_now(),typeof V=="function"?R.callback=V:R===s(I)&&m(I),te(ze)}else m(I);R=s(I)}if(R!==null)var ce=!0;else{var be=s(C);be!==null&&wn(ue,be.startTime-ze),ce=!1}return ce}finally{R=null,x=xe,j=!1}}var ye=!1,fe=null,De=-1,He=5,ht=-1;function ct(){return!(r.unstable_now()-ht<He)}function yt(){if(fe!==null){var _e=r.unstable_now();ht=_e;var ze=!0;try{ze=fe(!0,_e)}finally{ze?$e():(ye=!1,fe=null)}}else ye=!1}var $e;if(typeof se=="function")$e=function(){se(yt)};else if(typeof MessageChannel<"u"){var at=new MessageChannel,It=at.port2;at.port1.onmessage=yt,$e=function(){It.postMessage(null)}}else $e=function(){le(yt,0)};function Dt(_e){fe=_e,ye||(ye=!0,$e())}function wn(_e,ze){De=le(function(){_e(r.unstable_now())},ze)}r.unstable_IdlePriority=5,r.unstable_ImmediatePriority=1,r.unstable_LowPriority=4,r.unstable_NormalPriority=3,r.unstable_Profiling=null,r.unstable_UserBlockingPriority=2,r.unstable_cancelCallback=function(_e){_e.callback=null},r.unstable_continueExecution=function(){Q||j||(Q=!0,Dt(Z))},r.unstable_forceFrameRate=function(_e){0>_e||125<_e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):He=0<_e?Math.floor(1e3/_e):5},r.unstable_getCurrentPriorityLevel=function(){return x},r.unstable_getFirstCallbackNode=function(){return s(I)},r.unstable_next=function(_e){switch(x){case 1:case 2:case 3:var ze=3;break;default:ze=x}var xe=x;x=ze;try{return _e()}finally{x=xe}},r.unstable_pauseExecution=function(){},r.unstable_requestPaint=function(){},r.unstable_runWithPriority=function(_e,ze){switch(_e){case 1:case 2:case 3:case 4:case 5:break;default:_e=3}var xe=x;x=_e;try{return ze()}finally{x=xe}},r.unstable_scheduleCallback=function(_e,ze,xe){var Ee=r.unstable_now();switch(typeof xe=="object"&&xe!==null?(xe=xe.delay,xe=typeof xe=="number"&&0<xe?Ee+xe:Ee):xe=Ee,_e){case 1:var V=-1;break;case 2:V=250;break;case 5:V=1073741823;break;case 4:V=1e4;break;default:V=5e3}return V=xe+V,_e={id:D++,callback:ze,priorityLevel:_e,startTime:xe,expirationTime:V,sortIndex:-1},xe>Ee?(_e.sortIndex=xe,o(C,_e),s(I)===null&&_e===s(C)&&(W?(G(De),De=-1):W=!0,wn(ue,xe-Ee))):(_e.sortIndex=V,o(I,_e),Q||j||(Q=!0,Dt(Z))),_e},r.unstable_shouldYield=ct,r.unstable_wrapCallback=function(_e){var ze=x;return function(){var xe=x;x=ze;try{return _e.apply(this,arguments)}finally{x=xe}}}}(fb)),fb}var mb={},hb;function qR(){return hb||(hb=1,function(r){xc.process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var o=!1,s=!1,m=5;function p(b,M){var O=b.length;b.push(M),T(b,M,O)}function v(b){return b.length===0?null:b[0]}function g(b){if(b.length===0)return null;var M=b[0],O=b.pop();return O!==M&&(b[0]=O,I(b,O,0)),M}function T(b,M,O){for(var U=O;U>0;){var Te=U-1>>>1,Pe=b[Te];if(C(Pe,M)>0)b[Te]=M,b[U]=Pe,U=Te;else return}}function I(b,M,O){for(var U=O,Te=b.length,Pe=Te>>>1;U<Pe;){var Ie=(U+1)*2-1,Ae=b[Ie],Ce=Ie+1,Ta=b[Ce];if(C(Ae,M)<0)Ce<Te&&C(Ta,Ae)<0?(b[U]=Ta,b[Ce]=M,U=Ce):(b[U]=Ae,b[Ie]=M,U=Ie);else if(Ce<Te&&C(Ta,M)<0)b[U]=Ta,b[Ce]=M,U=Ce;else return}}function C(b,M){var O=b.sortIndex-M.sortIndex;return O!==0?O:b.id-M.id}var D=1,R=2,x=3,j=4,Q=5,W=typeof performance=="object"&&typeof performance.now=="function";if(W){var le=performance;r.unstable_now=function(){return le.now()}}else{var G=Date,se=G.now();r.unstable_now=function(){return G.now()-se}}var te=1073741823,ue=-1,Z=250,ye=5e3,fe=1e4,De=te,He=[],ht=[],ct=1,yt=null,$e=x,at=!1,It=!1,Dt=!1,wn=typeof setTimeout=="function"?setTimeout:null,_e=typeof clearTimeout=="function"?clearTimeout:null,ze=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function xe(b){for(var M=v(ht);M!==null;){if(M.callback===null)g(ht);else if(M.startTime<=b)g(ht),M.sortIndex=M.expirationTime,p(He,M);else return;M=v(ht)}}function Ee(b){if(Dt=!1,xe(b),!It)if(v(He)!==null)It=!0,At(V);else{var M=v(ht);M!==null&&jr(Ee,M.startTime-b)}}function V(b,M){It=!1,Dt&&(Dt=!1,l()),at=!0;var O=$e;try{var U;if(!s)return ce(b,M)}finally{yt=null,$e=O,at=!1}}function ce(b,M){var O=M;for(xe(O),yt=v(He);yt!==null&&!o&&!(yt.expirationTime>O&&(!b||tr()));){var U=yt.callback;if(typeof U=="function"){yt.callback=null,$e=yt.priorityLevel;var Te=yt.expirationTime<=O,Pe=U(Te);O=r.unstable_now(),typeof Pe=="function"?yt.callback=Pe:yt===v(He)&&g(He),xe(O)}else g(He);yt=v(He)}if(yt!==null)return!0;var Ie=v(ht);return Ie!==null&&jr(Ee,Ie.startTime-O),!1}function be(b,M){switch(b){case D:case R:case x:case j:case Q:break;default:b=x}var O=$e;$e=b;try{return M()}finally{$e=O}}function Ze(b){var M;switch($e){case D:case R:case x:M=x;break;default:M=$e;break}var O=$e;$e=M;try{return b()}finally{$e=O}}function dt(b){var M=$e;return function(){var O=$e;$e=M;try{return b.apply(this,arguments)}finally{$e=O}}}function ft(b,M,O){var U=r.unstable_now(),Te;if(typeof O=="object"&&O!==null){var Pe=O.delay;typeof Pe=="number"&&Pe>0?Te=U+Pe:Te=U}else Te=U;var Ie;switch(b){case D:Ie=ue;break;case R:Ie=Z;break;case Q:Ie=De;break;case j:Ie=fe;break;case x:default:Ie=ye;break}var Ae=Te+Ie,Ce={id:ct++,callback:M,priorityLevel:b,startTime:Te,expirationTime:Ae,sortIndex:-1};return Te>U?(Ce.sortIndex=Te,p(ht,Ce),v(He)===null&&Ce===v(ht)&&(Dt?l():Dt=!0,jr(Ee,Te-U))):(Ce.sortIndex=Ae,p(He,Ce),!It&&!at&&(It=!0,At(V))),Ce}function Qe(){}function rt(){!It&&!at&&(It=!0,At(V))}function wt(){return v(He)}function Gt(b){b.callback=null}function tn(){return $e}var Tt=!1,Ct=null,yn=-1,In=m,nn=-1;function tr(){var b=r.unstable_now()-nn;return!(b<In)}function ve(){}function Hn(b){if(b<0||b>125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");return}b>0?In=Math.floor(1e3/b):In=m}var an=function(){if(Ct!==null){var b=r.unstable_now();nn=b;var M=!0,O=!0;try{O=Ct(M,b)}finally{O?Nt():(Tt=!1,Ct=null)}}else Tt=!1},Nt;if(typeof ze=="function")Nt=function(){ze(an)};else if(typeof MessageChannel<"u"){var _n=new MessageChannel,ta=_n.port2;_n.port1.onmessage=an,Nt=function(){ta.postMessage(null)}}else Nt=function(){wn(an,0)};function At(b){Ct=b,Tt||(Tt=!0,Nt())}function jr(b,M){yn=wn(function(){b(r.unstable_now())},M)}function l(){_e(yn),yn=-1}var c=ve,f=null;r.unstable_IdlePriority=Q,r.unstable_ImmediatePriority=D,r.unstable_LowPriority=j,r.unstable_NormalPriority=x,r.unstable_Profiling=f,r.unstable_UserBlockingPriority=R,r.unstable_cancelCallback=Gt,r.unstable_continueExecution=rt,r.unstable_forceFrameRate=Hn,r.unstable_getCurrentPriorityLevel=tn,r.unstable_getFirstCallbackNode=wt,r.unstable_next=Ze,r.unstable_pauseExecution=Qe,r.unstable_requestPaint=c,r.unstable_runWithPriority=be,r.unstable_scheduleCallback=ft,r.unstable_shouldYield=tr,r.unstable_wrapCallback=dt,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()}(mb)),mb}var gb;function F7(){return gb||(gb=1,xc.process.env.NODE_ENV==="production"?_4.exports=$R():_4.exports=qR()),_4.exports}/**
23
+ */var pb;function qR(){return pb||(pb=1,function(r){function o(_e,ze){var xe=_e.length;_e.push(ze);e:for(;0<xe;){var Ee=xe-1>>>1,V=_e[Ee];if(0<p(V,ze))_e[Ee]=ze,_e[xe]=V,xe=Ee;else break e}}function s(_e){return _e.length===0?null:_e[0]}function m(_e){if(_e.length===0)return null;var ze=_e[0],xe=_e.pop();if(xe!==ze){_e[0]=xe;e:for(var Ee=0,V=_e.length,ce=V>>>1;Ee<ce;){var be=2*(Ee+1)-1,Ze=_e[be],dt=be+1,ft=_e[dt];if(0>p(Ze,xe))dt<V&&0>p(ft,Ze)?(_e[Ee]=ft,_e[dt]=xe,Ee=dt):(_e[Ee]=Ze,_e[be]=xe,Ee=be);else if(dt<V&&0>p(ft,xe))_e[Ee]=ft,_e[dt]=xe,Ee=dt;else break e}}return ze}function p(_e,ze){var xe=_e.sortIndex-ze.sortIndex;return xe!==0?xe:_e.id-ze.id}if(typeof performance=="object"&&typeof performance.now=="function"){var v=performance;r.unstable_now=function(){return v.now()}}else{var g=Date,T=g.now();r.unstable_now=function(){return g.now()-T}}var I=[],C=[],D=1,R=null,x=3,j=!1,Q=!1,W=!1,le=typeof setTimeout=="function"?setTimeout:null,G=typeof clearTimeout=="function"?clearTimeout:null,se=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function te(_e){for(var ze=s(C);ze!==null;){if(ze.callback===null)m(C);else if(ze.startTime<=_e)m(C),ze.sortIndex=ze.expirationTime,o(I,ze);else break;ze=s(C)}}function ue(_e){if(W=!1,te(_e),!Q)if(s(I)!==null)Q=!0,Dt(Z);else{var ze=s(C);ze!==null&&wn(ue,ze.startTime-_e)}}function Z(_e,ze){Q=!1,W&&(W=!1,G(De),De=-1),j=!0;var xe=x;try{for(te(ze),R=s(I);R!==null&&(!(R.expirationTime>ze)||_e&&!ct());){var Ee=R.callback;if(typeof Ee=="function"){R.callback=null,x=R.priorityLevel;var V=Ee(R.expirationTime<=ze);ze=r.unstable_now(),typeof V=="function"?R.callback=V:R===s(I)&&m(I),te(ze)}else m(I);R=s(I)}if(R!==null)var ce=!0;else{var be=s(C);be!==null&&wn(ue,be.startTime-ze),ce=!1}return ce}finally{R=null,x=xe,j=!1}}var ye=!1,fe=null,De=-1,He=5,ht=-1;function ct(){return!(r.unstable_now()-ht<He)}function yt(){if(fe!==null){var _e=r.unstable_now();ht=_e;var ze=!0;try{ze=fe(!0,_e)}finally{ze?$e():(ye=!1,fe=null)}}else ye=!1}var $e;if(typeof se=="function")$e=function(){se(yt)};else if(typeof MessageChannel<"u"){var at=new MessageChannel,It=at.port2;at.port1.onmessage=yt,$e=function(){It.postMessage(null)}}else $e=function(){le(yt,0)};function Dt(_e){fe=_e,ye||(ye=!0,$e())}function wn(_e,ze){De=le(function(){_e(r.unstable_now())},ze)}r.unstable_IdlePriority=5,r.unstable_ImmediatePriority=1,r.unstable_LowPriority=4,r.unstable_NormalPriority=3,r.unstable_Profiling=null,r.unstable_UserBlockingPriority=2,r.unstable_cancelCallback=function(_e){_e.callback=null},r.unstable_continueExecution=function(){Q||j||(Q=!0,Dt(Z))},r.unstable_forceFrameRate=function(_e){0>_e||125<_e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):He=0<_e?Math.floor(1e3/_e):5},r.unstable_getCurrentPriorityLevel=function(){return x},r.unstable_getFirstCallbackNode=function(){return s(I)},r.unstable_next=function(_e){switch(x){case 1:case 2:case 3:var ze=3;break;default:ze=x}var xe=x;x=ze;try{return _e()}finally{x=xe}},r.unstable_pauseExecution=function(){},r.unstable_requestPaint=function(){},r.unstable_runWithPriority=function(_e,ze){switch(_e){case 1:case 2:case 3:case 4:case 5:break;default:_e=3}var xe=x;x=_e;try{return ze()}finally{x=xe}},r.unstable_scheduleCallback=function(_e,ze,xe){var Ee=r.unstable_now();switch(typeof xe=="object"&&xe!==null?(xe=xe.delay,xe=typeof xe=="number"&&0<xe?Ee+xe:Ee):xe=Ee,_e){case 1:var V=-1;break;case 2:V=250;break;case 5:V=1073741823;break;case 4:V=1e4;break;default:V=5e3}return V=xe+V,_e={id:D++,callback:ze,priorityLevel:_e,startTime:xe,expirationTime:V,sortIndex:-1},xe>Ee?(_e.sortIndex=xe,o(C,_e),s(I)===null&&_e===s(C)&&(W?(G(De),De=-1):W=!0,wn(ue,xe-Ee))):(_e.sortIndex=V,o(I,_e),Q||j||(Q=!0,Dt(Z))),_e},r.unstable_shouldYield=ct,r.unstable_wrapCallback=function(_e){var ze=x;return function(){var xe=x;x=ze;try{return _e.apply(this,arguments)}finally{x=xe}}}}(fb)),fb}var mb={},hb;function WR(){return hb||(hb=1,function(r){xc.process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var o=!1,s=!1,m=5;function p(b,M){var O=b.length;b.push(M),T(b,M,O)}function v(b){return b.length===0?null:b[0]}function g(b){if(b.length===0)return null;var M=b[0],O=b.pop();return O!==M&&(b[0]=O,I(b,O,0)),M}function T(b,M,O){for(var U=O;U>0;){var Te=U-1>>>1,Pe=b[Te];if(C(Pe,M)>0)b[Te]=M,b[U]=Pe,U=Te;else return}}function I(b,M,O){for(var U=O,Te=b.length,Pe=Te>>>1;U<Pe;){var Ie=(U+1)*2-1,Ae=b[Ie],Ce=Ie+1,Ta=b[Ce];if(C(Ae,M)<0)Ce<Te&&C(Ta,Ae)<0?(b[U]=Ta,b[Ce]=M,U=Ce):(b[U]=Ae,b[Ie]=M,U=Ie);else if(Ce<Te&&C(Ta,M)<0)b[U]=Ta,b[Ce]=M,U=Ce;else return}}function C(b,M){var O=b.sortIndex-M.sortIndex;return O!==0?O:b.id-M.id}var D=1,R=2,x=3,j=4,Q=5,W=typeof performance=="object"&&typeof performance.now=="function";if(W){var le=performance;r.unstable_now=function(){return le.now()}}else{var G=Date,se=G.now();r.unstable_now=function(){return G.now()-se}}var te=1073741823,ue=-1,Z=250,ye=5e3,fe=1e4,De=te,He=[],ht=[],ct=1,yt=null,$e=x,at=!1,It=!1,Dt=!1,wn=typeof setTimeout=="function"?setTimeout:null,_e=typeof clearTimeout=="function"?clearTimeout:null,ze=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function xe(b){for(var M=v(ht);M!==null;){if(M.callback===null)g(ht);else if(M.startTime<=b)g(ht),M.sortIndex=M.expirationTime,p(He,M);else return;M=v(ht)}}function Ee(b){if(Dt=!1,xe(b),!It)if(v(He)!==null)It=!0,At(V);else{var M=v(ht);M!==null&&jr(Ee,M.startTime-b)}}function V(b,M){It=!1,Dt&&(Dt=!1,l()),at=!0;var O=$e;try{var U;if(!s)return ce(b,M)}finally{yt=null,$e=O,at=!1}}function ce(b,M){var O=M;for(xe(O),yt=v(He);yt!==null&&!o&&!(yt.expirationTime>O&&(!b||tr()));){var U=yt.callback;if(typeof U=="function"){yt.callback=null,$e=yt.priorityLevel;var Te=yt.expirationTime<=O,Pe=U(Te);O=r.unstable_now(),typeof Pe=="function"?yt.callback=Pe:yt===v(He)&&g(He),xe(O)}else g(He);yt=v(He)}if(yt!==null)return!0;var Ie=v(ht);return Ie!==null&&jr(Ee,Ie.startTime-O),!1}function be(b,M){switch(b){case D:case R:case x:case j:case Q:break;default:b=x}var O=$e;$e=b;try{return M()}finally{$e=O}}function Ze(b){var M;switch($e){case D:case R:case x:M=x;break;default:M=$e;break}var O=$e;$e=M;try{return b()}finally{$e=O}}function dt(b){var M=$e;return function(){var O=$e;$e=M;try{return b.apply(this,arguments)}finally{$e=O}}}function ft(b,M,O){var U=r.unstable_now(),Te;if(typeof O=="object"&&O!==null){var Pe=O.delay;typeof Pe=="number"&&Pe>0?Te=U+Pe:Te=U}else Te=U;var Ie;switch(b){case D:Ie=ue;break;case R:Ie=Z;break;case Q:Ie=De;break;case j:Ie=fe;break;case x:default:Ie=ye;break}var Ae=Te+Ie,Ce={id:ct++,callback:M,priorityLevel:b,startTime:Te,expirationTime:Ae,sortIndex:-1};return Te>U?(Ce.sortIndex=Te,p(ht,Ce),v(He)===null&&Ce===v(ht)&&(Dt?l():Dt=!0,jr(Ee,Te-U))):(Ce.sortIndex=Ae,p(He,Ce),!It&&!at&&(It=!0,At(V))),Ce}function Qe(){}function rt(){!It&&!at&&(It=!0,At(V))}function wt(){return v(He)}function Gt(b){b.callback=null}function tn(){return $e}var Tt=!1,Ct=null,yn=-1,In=m,nn=-1;function tr(){var b=r.unstable_now()-nn;return!(b<In)}function ve(){}function Hn(b){if(b<0||b>125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");return}b>0?In=Math.floor(1e3/b):In=m}var an=function(){if(Ct!==null){var b=r.unstable_now();nn=b;var M=!0,O=!0;try{O=Ct(M,b)}finally{O?Nt():(Tt=!1,Ct=null)}}else Tt=!1},Nt;if(typeof ze=="function")Nt=function(){ze(an)};else if(typeof MessageChannel<"u"){var _n=new MessageChannel,ta=_n.port2;_n.port1.onmessage=an,Nt=function(){ta.postMessage(null)}}else Nt=function(){wn(an,0)};function At(b){Ct=b,Tt||(Tt=!0,Nt())}function jr(b,M){yn=wn(function(){b(r.unstable_now())},M)}function l(){_e(yn),yn=-1}var c=ve,f=null;r.unstable_IdlePriority=Q,r.unstable_ImmediatePriority=D,r.unstable_LowPriority=j,r.unstable_NormalPriority=x,r.unstable_Profiling=f,r.unstable_UserBlockingPriority=R,r.unstable_cancelCallback=Gt,r.unstable_continueExecution=rt,r.unstable_forceFrameRate=Hn,r.unstable_getCurrentPriorityLevel=tn,r.unstable_getFirstCallbackNode=wt,r.unstable_next=Ze,r.unstable_pauseExecution=Qe,r.unstable_requestPaint=c,r.unstable_runWithPriority=be,r.unstable_scheduleCallback=ft,r.unstable_shouldYield=tr,r.unstable_wrapCallback=dt,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()}(mb)),mb}var gb;function F7(){return gb||(gb=1,xc.process.env.NODE_ENV==="production"?_4.exports=qR():_4.exports=WR()),_4.exports}/**
24
24
  * @license React
25
25
  * react-dom.production.min.js
26
26
  *
@@ -28,14 +28,14 @@
28
28
  *
29
29
  * This source code is licensed under the MIT license found in the
30
30
  * LICENSE file in the root directory of this source tree.
31
- */var yb;function WR(){if(yb)return Ba;yb=1;var r=Ke,o=F7();function s(n){for(var a="https://reactjs.org/docs/error-decoder.html?invariant="+n,d=1;d<arguments.length;d++)a+="&args[]="+encodeURIComponent(arguments[d]);return"Minified React error #"+n+"; visit "+a+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var m=new Set,p={};function v(n,a){g(n,a),g(n+"Capture",a)}function g(n,a){for(p[n]=a,n=0;n<a.length;n++)m.add(a[n])}var T=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),I=Object.prototype.hasOwnProperty,C=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,D={},R={};function x(n){return I.call(R,n)?!0:I.call(D,n)?!1:C.test(n)?R[n]=!0:(D[n]=!0,!1)}function j(n,a,d,y){if(d!==null&&d.type===0)return!1;switch(typeof a){case"function":case"symbol":return!0;case"boolean":return y?!1:d!==null?!d.acceptsBooleans:(n=n.toLowerCase().slice(0,5),n!=="data-"&&n!=="aria-");default:return!1}}function Q(n,a,d,y){if(a===null||typeof a>"u"||j(n,a,d,y))return!0;if(y)return!1;if(d!==null)switch(d.type){case 3:return!a;case 4:return a===!1;case 5:return isNaN(a);case 6:return isNaN(a)||1>a}return!1}function W(n,a,d,y,w,E,L){this.acceptsBooleans=a===2||a===3||a===4,this.attributeName=y,this.attributeNamespace=w,this.mustUseProperty=d,this.propertyName=n,this.type=a,this.sanitizeURL=E,this.removeEmptyString=L}var le={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(n){le[n]=new W(n,0,!1,n,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(n){var a=n[0];le[a]=new W(a,1,!1,n[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(n){le[n]=new W(n,2,!1,n.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(n){le[n]=new W(n,2,!1,n,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(n){le[n]=new W(n,3,!1,n.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(n){le[n]=new W(n,3,!0,n,null,!1,!1)}),["capture","download"].forEach(function(n){le[n]=new W(n,4,!1,n,null,!1,!1)}),["cols","rows","size","span"].forEach(function(n){le[n]=new W(n,6,!1,n,null,!1,!1)}),["rowSpan","start"].forEach(function(n){le[n]=new W(n,5,!1,n.toLowerCase(),null,!1,!1)});var G=/[\-:]([a-z])/g;function se(n){return n[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(n){var a=n.replace(G,se);le[a]=new W(a,1,!1,n,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(n){var a=n.replace(G,se);le[a]=new W(a,1,!1,n,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(n){var a=n.replace(G,se);le[a]=new W(a,1,!1,n,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(n){le[n]=new W(n,1,!1,n.toLowerCase(),null,!1,!1)}),le.xlinkHref=new W("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(n){le[n]=new W(n,1,!1,n.toLowerCase(),null,!0,!0)});function te(n,a,d,y){var w=le.hasOwnProperty(a)?le[a]:null;(w!==null?w.type!==0:y||!(2<a.length)||a[0]!=="o"&&a[0]!=="O"||a[1]!=="n"&&a[1]!=="N")&&(Q(a,d,w,y)&&(d=null),y||w===null?x(a)&&(d===null?n.removeAttribute(a):n.setAttribute(a,""+d)):w.mustUseProperty?n[w.propertyName]=d===null?w.type===3?!1:"":d:(a=w.attributeName,y=w.attributeNamespace,d===null?n.removeAttribute(a):(w=w.type,d=w===3||w===4&&d===!0?"":""+d,y?n.setAttributeNS(y,a,d):n.setAttribute(a,d))))}var ue=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Z=Symbol.for("react.element"),ye=Symbol.for("react.portal"),fe=Symbol.for("react.fragment"),De=Symbol.for("react.strict_mode"),He=Symbol.for("react.profiler"),ht=Symbol.for("react.provider"),ct=Symbol.for("react.context"),yt=Symbol.for("react.forward_ref"),$e=Symbol.for("react.suspense"),at=Symbol.for("react.suspense_list"),It=Symbol.for("react.memo"),Dt=Symbol.for("react.lazy"),wn=Symbol.for("react.offscreen"),_e=Symbol.iterator;function ze(n){return n===null||typeof n!="object"?null:(n=_e&&n[_e]||n["@@iterator"],typeof n=="function"?n:null)}var xe=Object.assign,Ee;function V(n){if(Ee===void 0)try{throw Error()}catch(d){var a=d.stack.trim().match(/\n( *(at )?)/);Ee=a&&a[1]||""}return`
31
+ */var yb;function KR(){if(yb)return Ba;yb=1;var r=Ke,o=F7();function s(n){for(var a="https://reactjs.org/docs/error-decoder.html?invariant="+n,d=1;d<arguments.length;d++)a+="&args[]="+encodeURIComponent(arguments[d]);return"Minified React error #"+n+"; visit "+a+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var m=new Set,p={};function v(n,a){g(n,a),g(n+"Capture",a)}function g(n,a){for(p[n]=a,n=0;n<a.length;n++)m.add(a[n])}var T=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),I=Object.prototype.hasOwnProperty,C=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,D={},R={};function x(n){return I.call(R,n)?!0:I.call(D,n)?!1:C.test(n)?R[n]=!0:(D[n]=!0,!1)}function j(n,a,d,y){if(d!==null&&d.type===0)return!1;switch(typeof a){case"function":case"symbol":return!0;case"boolean":return y?!1:d!==null?!d.acceptsBooleans:(n=n.toLowerCase().slice(0,5),n!=="data-"&&n!=="aria-");default:return!1}}function Q(n,a,d,y){if(a===null||typeof a>"u"||j(n,a,d,y))return!0;if(y)return!1;if(d!==null)switch(d.type){case 3:return!a;case 4:return a===!1;case 5:return isNaN(a);case 6:return isNaN(a)||1>a}return!1}function W(n,a,d,y,w,E,L){this.acceptsBooleans=a===2||a===3||a===4,this.attributeName=y,this.attributeNamespace=w,this.mustUseProperty=d,this.propertyName=n,this.type=a,this.sanitizeURL=E,this.removeEmptyString=L}var le={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(n){le[n]=new W(n,0,!1,n,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(n){var a=n[0];le[a]=new W(a,1,!1,n[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(n){le[n]=new W(n,2,!1,n.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(n){le[n]=new W(n,2,!1,n,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(n){le[n]=new W(n,3,!1,n.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(n){le[n]=new W(n,3,!0,n,null,!1,!1)}),["capture","download"].forEach(function(n){le[n]=new W(n,4,!1,n,null,!1,!1)}),["cols","rows","size","span"].forEach(function(n){le[n]=new W(n,6,!1,n,null,!1,!1)}),["rowSpan","start"].forEach(function(n){le[n]=new W(n,5,!1,n.toLowerCase(),null,!1,!1)});var G=/[\-:]([a-z])/g;function se(n){return n[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(n){var a=n.replace(G,se);le[a]=new W(a,1,!1,n,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(n){var a=n.replace(G,se);le[a]=new W(a,1,!1,n,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(n){var a=n.replace(G,se);le[a]=new W(a,1,!1,n,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(n){le[n]=new W(n,1,!1,n.toLowerCase(),null,!1,!1)}),le.xlinkHref=new W("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(n){le[n]=new W(n,1,!1,n.toLowerCase(),null,!0,!0)});function te(n,a,d,y){var w=le.hasOwnProperty(a)?le[a]:null;(w!==null?w.type!==0:y||!(2<a.length)||a[0]!=="o"&&a[0]!=="O"||a[1]!=="n"&&a[1]!=="N")&&(Q(a,d,w,y)&&(d=null),y||w===null?x(a)&&(d===null?n.removeAttribute(a):n.setAttribute(a,""+d)):w.mustUseProperty?n[w.propertyName]=d===null?w.type===3?!1:"":d:(a=w.attributeName,y=w.attributeNamespace,d===null?n.removeAttribute(a):(w=w.type,d=w===3||w===4&&d===!0?"":""+d,y?n.setAttributeNS(y,a,d):n.setAttribute(a,d))))}var ue=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Z=Symbol.for("react.element"),ye=Symbol.for("react.portal"),fe=Symbol.for("react.fragment"),De=Symbol.for("react.strict_mode"),He=Symbol.for("react.profiler"),ht=Symbol.for("react.provider"),ct=Symbol.for("react.context"),yt=Symbol.for("react.forward_ref"),$e=Symbol.for("react.suspense"),at=Symbol.for("react.suspense_list"),It=Symbol.for("react.memo"),Dt=Symbol.for("react.lazy"),wn=Symbol.for("react.offscreen"),_e=Symbol.iterator;function ze(n){return n===null||typeof n!="object"?null:(n=_e&&n[_e]||n["@@iterator"],typeof n=="function"?n:null)}var xe=Object.assign,Ee;function V(n){if(Ee===void 0)try{throw Error()}catch(d){var a=d.stack.trim().match(/\n( *(at )?)/);Ee=a&&a[1]||""}return`
32
32
  `+Ee+n}var ce=!1;function be(n,a){if(!n||ce)return"";ce=!0;var d=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(a)if(a=function(){throw Error()},Object.defineProperty(a.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(a,[])}catch(ie){var y=ie}Reflect.construct(n,[],a)}else{try{a.call()}catch(ie){y=ie}n.call(a.prototype)}else{try{throw Error()}catch(ie){y=ie}n()}}catch(ie){if(ie&&y&&typeof ie.stack=="string"){for(var w=ie.stack.split(`
33
33
  `),E=y.stack.split(`
34
34
  `),L=w.length-1,B=E.length-1;1<=L&&0<=B&&w[L]!==E[B];)B--;for(;1<=L&&0<=B;L--,B--)if(w[L]!==E[B]){if(L!==1||B!==1)do if(L--,B--,0>B||w[L]!==E[B]){var Y=`
35
35
  `+w[L].replace(" at new "," at ");return n.displayName&&Y.includes("<anonymous>")&&(Y=Y.replace("<anonymous>",n.displayName)),Y}while(1<=L&&0<=B);break}}}finally{ce=!1,Error.prepareStackTrace=d}return(n=n?n.displayName||n.name:"")?V(n):""}function Ze(n){switch(n.tag){case 5:return V(n.type);case 16:return V("Lazy");case 13:return V("Suspense");case 19:return V("SuspenseList");case 0:case 2:case 15:return n=be(n.type,!1),n;case 11:return n=be(n.type.render,!1),n;case 1:return n=be(n.type,!0),n;default:return""}}function dt(n){if(n==null)return null;if(typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case fe:return"Fragment";case ye:return"Portal";case He:return"Profiler";case De:return"StrictMode";case $e:return"Suspense";case at:return"SuspenseList"}if(typeof n=="object")switch(n.$$typeof){case ct:return(n.displayName||"Context")+".Consumer";case ht:return(n._context.displayName||"Context")+".Provider";case yt:var a=n.render;return n=n.displayName,n||(n=a.displayName||a.name||"",n=n!==""?"ForwardRef("+n+")":"ForwardRef"),n;case It:return a=n.displayName||null,a!==null?a:dt(n.type)||"Memo";case Dt:a=n._payload,n=n._init;try{return dt(n(a))}catch{}}return null}function ft(n){var a=n.type;switch(n.tag){case 24:return"Cache";case 9:return(a.displayName||"Context")+".Consumer";case 10:return(a._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return n=a.render,n=n.displayName||n.name||"",a.displayName||(n!==""?"ForwardRef("+n+")":"ForwardRef");case 7:return"Fragment";case 5:return a;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return dt(a);case 8:return a===De?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof a=="function")return a.displayName||a.name||null;if(typeof a=="string")return a}return null}function Qe(n){switch(typeof n){case"boolean":case"number":case"string":case"undefined":return n;case"object":return n;default:return""}}function rt(n){var a=n.type;return(n=n.nodeName)&&n.toLowerCase()==="input"&&(a==="checkbox"||a==="radio")}function wt(n){var a=rt(n)?"checked":"value",d=Object.getOwnPropertyDescriptor(n.constructor.prototype,a),y=""+n[a];if(!n.hasOwnProperty(a)&&typeof d<"u"&&typeof d.get=="function"&&typeof d.set=="function"){var w=d.get,E=d.set;return Object.defineProperty(n,a,{configurable:!0,get:function(){return w.call(this)},set:function(L){y=""+L,E.call(this,L)}}),Object.defineProperty(n,a,{enumerable:d.enumerable}),{getValue:function(){return y},setValue:function(L){y=""+L},stopTracking:function(){n._valueTracker=null,delete n[a]}}}}function Gt(n){n._valueTracker||(n._valueTracker=wt(n))}function tn(n){if(!n)return!1;var a=n._valueTracker;if(!a)return!0;var d=a.getValue(),y="";return n&&(y=rt(n)?n.checked?"true":"false":n.value),n=y,n!==d?(a.setValue(n),!0):!1}function Tt(n){if(n=n||(typeof document<"u"?document:void 0),typeof n>"u")return null;try{return n.activeElement||n.body}catch{return n.body}}function Ct(n,a){var d=a.checked;return xe({},a,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:d??n._wrapperState.initialChecked})}function yn(n,a){var d=a.defaultValue==null?"":a.defaultValue,y=a.checked!=null?a.checked:a.defaultChecked;d=Qe(a.value!=null?a.value:d),n._wrapperState={initialChecked:y,initialValue:d,controlled:a.type==="checkbox"||a.type==="radio"?a.checked!=null:a.value!=null}}function In(n,a){a=a.checked,a!=null&&te(n,"checked",a,!1)}function nn(n,a){In(n,a);var d=Qe(a.value),y=a.type;if(d!=null)y==="number"?(d===0&&n.value===""||n.value!=d)&&(n.value=""+d):n.value!==""+d&&(n.value=""+d);else if(y==="submit"||y==="reset"){n.removeAttribute("value");return}a.hasOwnProperty("value")?ve(n,a.type,d):a.hasOwnProperty("defaultValue")&&ve(n,a.type,Qe(a.defaultValue)),a.checked==null&&a.defaultChecked!=null&&(n.defaultChecked=!!a.defaultChecked)}function tr(n,a,d){if(a.hasOwnProperty("value")||a.hasOwnProperty("defaultValue")){var y=a.type;if(!(y!=="submit"&&y!=="reset"||a.value!==void 0&&a.value!==null))return;a=""+n._wrapperState.initialValue,d||a===n.value||(n.value=a),n.defaultValue=a}d=n.name,d!==""&&(n.name=""),n.defaultChecked=!!n._wrapperState.initialChecked,d!==""&&(n.name=d)}function ve(n,a,d){(a!=="number"||Tt(n.ownerDocument)!==n)&&(d==null?n.defaultValue=""+n._wrapperState.initialValue:n.defaultValue!==""+d&&(n.defaultValue=""+d))}var Hn=Array.isArray;function an(n,a,d,y){if(n=n.options,a){a={};for(var w=0;w<d.length;w++)a["$"+d[w]]=!0;for(d=0;d<n.length;d++)w=a.hasOwnProperty("$"+n[d].value),n[d].selected!==w&&(n[d].selected=w),w&&y&&(n[d].defaultSelected=!0)}else{for(d=""+Qe(d),a=null,w=0;w<n.length;w++){if(n[w].value===d){n[w].selected=!0,y&&(n[w].defaultSelected=!0);return}a!==null||n[w].disabled||(a=n[w])}a!==null&&(a.selected=!0)}}function Nt(n,a){if(a.dangerouslySetInnerHTML!=null)throw Error(s(91));return xe({},a,{value:void 0,defaultValue:void 0,children:""+n._wrapperState.initialValue})}function _n(n,a){var d=a.value;if(d==null){if(d=a.children,a=a.defaultValue,d!=null){if(a!=null)throw Error(s(92));if(Hn(d)){if(1<d.length)throw Error(s(93));d=d[0]}a=d}a==null&&(a=""),d=a}n._wrapperState={initialValue:Qe(d)}}function ta(n,a){var d=Qe(a.value),y=Qe(a.defaultValue);d!=null&&(d=""+d,d!==n.value&&(n.value=d),a.defaultValue==null&&n.defaultValue!==d&&(n.defaultValue=d)),y!=null&&(n.defaultValue=""+y)}function At(n){var a=n.textContent;a===n._wrapperState.initialValue&&a!==""&&a!==null&&(n.value=a)}function jr(n){switch(n){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function l(n,a){return n==null||n==="http://www.w3.org/1999/xhtml"?jr(a):n==="http://www.w3.org/2000/svg"&&a==="foreignObject"?"http://www.w3.org/1999/xhtml":n}var c,f=function(n){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(a,d,y,w){MSApp.execUnsafeLocalFunction(function(){return n(a,d,y,w)})}:n}(function(n,a){if(n.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in n)n.innerHTML=a;else{for(c=c||document.createElement("div"),c.innerHTML="<svg>"+a.valueOf().toString()+"</svg>",a=c.firstChild;n.firstChild;)n.removeChild(n.firstChild);for(;a.firstChild;)n.appendChild(a.firstChild)}});function b(n,a){if(a){var d=n.firstChild;if(d&&d===n.lastChild&&d.nodeType===3){d.nodeValue=a;return}}n.textContent=a}var M={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},O=["Webkit","ms","Moz","O"];Object.keys(M).forEach(function(n){O.forEach(function(a){a=a+n.charAt(0).toUpperCase()+n.substring(1),M[a]=M[n]})});function U(n,a,d){return a==null||typeof a=="boolean"||a===""?"":d||typeof a!="number"||a===0||M.hasOwnProperty(n)&&M[n]?(""+a).trim():a+"px"}function Te(n,a){n=n.style;for(var d in a)if(a.hasOwnProperty(d)){var y=d.indexOf("--")===0,w=U(d,a[d],y);d==="float"&&(d="cssFloat"),y?n.setProperty(d,w):n[d]=w}}var Pe=xe({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Ie(n,a){if(a){if(Pe[n]&&(a.children!=null||a.dangerouslySetInnerHTML!=null))throw Error(s(137,n));if(a.dangerouslySetInnerHTML!=null){if(a.children!=null)throw Error(s(60));if(typeof a.dangerouslySetInnerHTML!="object"||!("__html"in a.dangerouslySetInnerHTML))throw Error(s(61))}if(a.style!=null&&typeof a.style!="object")throw Error(s(62))}}function Ae(n,a){if(n.indexOf("-")===-1)return typeof a.is=="string";switch(n){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Ce=null;function Ta(n){return n=n.target||n.srcElement||window,n.correspondingUseElement&&(n=n.correspondingUseElement),n.nodeType===3?n.parentNode:n}var au=null,Cn=null,vn=null;function V1(n){if(n=Cu(n)){if(typeof au!="function")throw Error(s(280));var a=n.stateNode;a&&(a=nt(a),au(n.stateNode,n.type,a))}}function Dc(n){Cn?vn?vn.push(n):vn=[n]:Cn=n}function Pc(){if(Cn){var n=Cn,a=vn;if(vn=Cn=null,V1(n),a)for(n=0;n<a.length;n++)V1(a[n])}}function Y1(n,a){return n(a)}function Q1(){}var Uc=!1;function pp(n,a,d){if(Uc)return n(a,d);Uc=!0;try{return Y1(n,a,d)}finally{Uc=!1,(Cn!==null||vn!==null)&&(Q1(),Pc())}}function ou(n,a){var d=n.stateNode;if(d===null)return null;var y=nt(d);if(y===null)return null;d=y[a];e:switch(a){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(y=!y.disabled)||(n=n.type,y=!(n==="button"||n==="input"||n==="select"||n==="textarea")),n=!y;break e;default:n=!1}if(n)return null;if(d&&typeof d!="function")throw Error(s(231,a,typeof d));return d}var jc=!1;if(T)try{var Ki={};Object.defineProperty(Ki,"passive",{get:function(){jc=!0}}),window.addEventListener("test",Ki,Ki),window.removeEventListener("test",Ki,Ki)}catch{jc=!1}function Xs(n,a,d,y,w,E,L,B,Y){var ie=Array.prototype.slice.call(arguments,3);try{a.apply(d,ie)}catch(we){this.onError(we)}}var Qa=!1,No=null,el=!1,iu=null,mp={onError:function(n){Qa=!0,No=n}};function hp(n,a,d,y,w,E,L,B,Y){Qa=!1,No=null,Xs.apply(mp,arguments)}function tl(n,a,d,y,w,E,L,B,Y){if(hp.apply(this,arguments),Qa){if(Qa){var ie=No;Qa=!1,No=null}else throw Error(s(198));el||(el=!0,iu=ie)}}function oo(n){var a=n,d=n;if(n.alternate)for(;a.return;)a=a.return;else{n=a;do a=n,a.flags&4098&&(d=a.return),n=a.return;while(n)}return a.tag===3?d:null}function su(n){if(n.tag===13){var a=n.memoizedState;if(a===null&&(n=n.alternate,n!==null&&(a=n.memoizedState)),a!==null)return a.dehydrated}return null}function nl(n){if(oo(n)!==n)throw Error(s(188))}function Er(n){var a=n.alternate;if(!a){if(a=oo(n),a===null)throw Error(s(188));return a!==n?null:n}for(var d=n,y=a;;){var w=d.return;if(w===null)break;var E=w.alternate;if(E===null){if(y=w.return,y!==null){d=y;continue}break}if(w.child===E.child){for(E=w.child;E;){if(E===d)return nl(w),n;if(E===y)return nl(w),a;E=E.sibling}throw Error(s(188))}if(d.return!==y.return)d=w,y=E;else{for(var L=!1,B=w.child;B;){if(B===d){L=!0,d=w,y=E;break}if(B===y){L=!0,y=w,d=E;break}B=B.sibling}if(!L){for(B=E.child;B;){if(B===d){L=!0,d=E,y=w;break}if(B===y){L=!0,y=E,d=w;break}B=B.sibling}if(!L)throw Error(s(189))}}if(d.alternate!==y)throw Error(s(190))}if(d.tag!==3)throw Error(s(188));return d.stateNode.current===d?n:a}function G1(n){return n=Er(n),n!==null?H1(n):null}function H1(n){if(n.tag===5||n.tag===6)return n;for(n=n.child;n!==null;){var a=H1(n);if(a!==null)return a;n=n.sibling}return null}var gp=o.unstable_scheduleCallback,$1=o.unstable_cancelCallback,Hy=o.unstable_shouldYield,$y=o.unstable_requestPaint,Tn=o.unstable_now,qy=o.unstable_getCurrentPriorityLevel,Mo=o.unstable_ImmediatePriority,Rt=o.unstable_UserBlockingPriority,ei=o.unstable_NormalPriority,q1=o.unstable_LowPriority,yp=o.unstable_IdlePriority,lu=null,Ga=null;function W1(n){if(Ga&&typeof Ga.onCommitFiberRoot=="function")try{Ga.onCommitFiberRoot(lu,n,void 0,(n.current.flags&128)===128)}catch{}}var ka=Math.clz32?Math.clz32:Wy,K1=Math.log,Z1=Math.LN2;function Wy(n){return n>>>=0,n===0?32:31-(K1(n)/Z1|0)|0}var zc=64,rl=4194304;function Zi(n){switch(n&-n){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return n&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return n&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return n}}function Ha(n,a){var d=n.pendingLanes;if(d===0)return 0;var y=0,w=n.suspendedLanes,E=n.pingedLanes,L=d&268435455;if(L!==0){var B=L&~w;B!==0?y=Zi(B):(E&=L,E!==0&&(y=Zi(E)))}else L=d&~w,L!==0?y=Zi(L):E!==0&&(y=Zi(E));if(y===0)return 0;if(a!==0&&a!==y&&!(a&w)&&(w=y&-y,E=a&-a,w>=E||w===16&&(E&4194240)!==0))return a;if(y&4&&(y|=d&16),a=n.entangledLanes,a!==0)for(n=n.entanglements,a&=y;0<a;)d=31-ka(a),w=1<<d,y|=n[d],a&=~w;return y}function vp(n,a){switch(n){case 1:case 2:case 4:return a+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return a+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Bc(n,a){for(var d=n.suspendedLanes,y=n.pingedLanes,w=n.expirationTimes,E=n.pendingLanes;0<E;){var L=31-ka(E),B=1<<L,Y=w[L];Y===-1?(!(B&d)||B&y)&&(w[L]=vp(B,a)):Y<=a&&(n.expiredLanes|=B),E&=~B}}function Tp(n){return n=n.pendingLanes&-1073741825,n!==0?n:n&1073741824?1073741824:0}function Fc(){var n=zc;return zc<<=1,!(zc&4194240)&&(zc=64),n}function kp(n){for(var a=[],d=0;31>d;d++)a.push(n);return a}function Ji(n,a,d){n.pendingLanes|=a,a!==536870912&&(n.suspendedLanes=0,n.pingedLanes=0),n=n.eventTimes,a=31-ka(a),n[a]=d}function Ky(n,a){var d=n.pendingLanes&~a;n.pendingLanes=a,n.suspendedLanes=0,n.pingedLanes=0,n.expiredLanes&=a,n.mutableReadLanes&=a,n.entangledLanes&=a,a=n.entanglements;var y=n.eventTimes;for(n=n.expirationTimes;0<d;){var w=31-ka(d),E=1<<w;a[w]=0,y[w]=-1,n[w]=-1,d&=~E}}function uu(n,a){var d=n.entangledLanes|=a;for(n=n.entanglements;d;){var y=31-ka(d),w=1<<y;w&a|n[y]&a&&(n[y]|=a),d&=~w}}var Ht=0;function bp(n){return n&=-n,1<n?4<n?n&268435455?16:536870912:4:1}var J1,Vc,Zt,X1,wp,bt=!1,cu=[],An=null,ba=null,wa=null,du=new Map,Dn=new Map,$t=[],Zy="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function $a(n,a){switch(n){case"focusin":case"focusout":An=null;break;case"dragenter":case"dragleave":ba=null;break;case"mouseover":case"mouseout":wa=null;break;case"pointerover":case"pointerout":du.delete(a.pointerId);break;case"gotpointercapture":case"lostpointercapture":Dn.delete(a.pointerId)}}function gr(n,a,d,y,w,E){return n===null||n.nativeEvent!==E?(n={blockedOn:a,domEventName:d,eventSystemFlags:y,nativeEvent:E,targetContainers:[w]},a!==null&&(a=Cu(a),a!==null&&Vc(a)),n):(n.eventSystemFlags|=y,a=n.targetContainers,w!==null&&a.indexOf(w)===-1&&a.push(w),n)}function ti(n,a,d,y,w){switch(a){case"focusin":return An=gr(An,n,a,d,y,w),!0;case"dragenter":return ba=gr(ba,n,a,d,y,w),!0;case"mouseover":return wa=gr(wa,n,a,d,y,w),!0;case"pointerover":var E=w.pointerId;return du.set(E,gr(du.get(E)||null,n,a,d,y,w)),!0;case"gotpointercapture":return E=w.pointerId,Dn.set(E,gr(Dn.get(E)||null,n,a,d,y,w)),!0}return!1}function eh(n){var a=Ea(n.target);if(a!==null){var d=oo(a);if(d!==null){if(a=d.tag,a===13){if(a=su(d),a!==null){n.blockedOn=a,wp(n.priority,function(){Zt(d)});return}}else if(a===3&&d.stateNode.current.memoizedState.isDehydrated){n.blockedOn=d.tag===3?d.stateNode.containerInfo:null;return}}}n.blockedOn=null}function al(n){if(n.blockedOn!==null)return!1;for(var a=n.targetContainers;0<a.length;){var d=Gc(n.domEventName,n.eventSystemFlags,a[0],n.nativeEvent);if(d===null){d=n.nativeEvent;var y=new d.constructor(d.type,d);Ce=y,d.target.dispatchEvent(y),Ce=null}else return a=Cu(d),a!==null&&Vc(a),n.blockedOn=d,!1;a.shift()}return!0}function Sp(n,a,d){al(n)&&d.delete(a)}function th(){bt=!1,An!==null&&al(An)&&(An=null),ba!==null&&al(ba)&&(ba=null),wa!==null&&al(wa)&&(wa=null),du.forEach(Sp),Dn.forEach(Sp)}function fu(n,a){n.blockedOn===a&&(n.blockedOn=null,bt||(bt=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,th)))}function pu(n){function a(w){return fu(w,n)}if(0<cu.length){fu(cu[0],n);for(var d=1;d<cu.length;d++){var y=cu[d];y.blockedOn===n&&(y.blockedOn=null)}}for(An!==null&&fu(An,n),ba!==null&&fu(ba,n),wa!==null&&fu(wa,n),du.forEach(a),Dn.forEach(a),d=0;d<$t.length;d++)y=$t[d],y.blockedOn===n&&(y.blockedOn=null);for(;0<$t.length&&(d=$t[0],d.blockedOn===null);)eh(d),d.blockedOn===null&&$t.shift()}var ol=ue.ReactCurrentBatchConfig,Xi=!0;function nh(n,a,d,y){var w=Ht,E=ol.transition;ol.transition=null;try{Ht=1,Qc(n,a,d,y)}finally{Ht=w,ol.transition=E}}function Yc(n,a,d,y){var w=Ht,E=ol.transition;ol.transition=null;try{Ht=4,Qc(n,a,d,y)}finally{Ht=w,ol.transition=E}}function Qc(n,a,d,y){if(Xi){var w=Gc(n,a,d,y);if(w===null)rd(n,a,y,mu,d),$a(n,y);else if(ti(w,n,a,d,y))y.stopPropagation();else if($a(n,y),a&4&&-1<Zy.indexOf(n)){for(;w!==null;){var E=Cu(w);if(E!==null&&J1(E),E=Gc(n,a,d,y),E===null&&rd(n,a,y,mu,d),E===w)break;w=E}w!==null&&y.stopPropagation()}else rd(n,a,y,null,d)}}var mu=null;function Gc(n,a,d,y){if(mu=null,n=Ta(y),n=Ea(n),n!==null)if(a=oo(n),a===null)n=null;else if(d=a.tag,d===13){if(n=su(a),n!==null)return n;n=null}else if(d===3){if(a.stateNode.current.memoizedState.isDehydrated)return a.tag===3?a.stateNode.containerInfo:null;n=null}else a!==n&&(n=null);return mu=n,null}function Ep(n){switch(n){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(qy()){case Mo:return 1;case Rt:return 4;case ei:case q1:return 16;case yp:return 536870912;default:return 16}default:return 16}}var Io=null,hu=null,gu=null;function Np(){if(gu)return gu;var n,a=hu,d=a.length,y,w="value"in Io?Io.value:Io.textContent,E=w.length;for(n=0;n<d&&a[n]===w[n];n++);var L=d-n;for(y=1;y<=L&&a[d-y]===w[E-y];y++);return gu=w.slice(n,1<y?1-y:void 0)}function il(n){var a=n.keyCode;return"charCode"in n?(n=n.charCode,n===0&&a===13&&(n=13)):n=a,n===10&&(n=13),32<=n||n===13?n:0}function yu(){return!0}function rh(){return!1}function na(n){function a(d,y,w,E,L){this._reactName=d,this._targetInst=w,this.type=y,this.nativeEvent=E,this.target=L,this.currentTarget=null;for(var B in n)n.hasOwnProperty(B)&&(d=n[B],this[B]=d?d(E):E[B]);return this.isDefaultPrevented=(E.defaultPrevented!=null?E.defaultPrevented:E.returnValue===!1)?yu:rh,this.isPropagationStopped=rh,this}return xe(a.prototype,{preventDefault:function(){this.defaultPrevented=!0;var d=this.nativeEvent;d&&(d.preventDefault?d.preventDefault():typeof d.returnValue!="unknown"&&(d.returnValue=!1),this.isDefaultPrevented=yu)},stopPropagation:function(){var d=this.nativeEvent;d&&(d.stopPropagation?d.stopPropagation():typeof d.cancelBubble!="unknown"&&(d.cancelBubble=!0),this.isPropagationStopped=yu)},persist:function(){},isPersistent:yu}),a}var ni={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(n){return n.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Hc=na(ni),sl=xe({},ni,{view:0,detail:0}),ah=na(sl),$c,Mp,vu,$n=xe({},sl,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ap,button:0,buttons:0,relatedTarget:function(n){return n.relatedTarget===void 0?n.fromElement===n.srcElement?n.toElement:n.fromElement:n.relatedTarget},movementX:function(n){return"movementX"in n?n.movementX:(n!==vu&&(vu&&n.type==="mousemove"?($c=n.screenX-vu.screenX,Mp=n.screenY-vu.screenY):Mp=$c=0,vu=n),$c)},movementY:function(n){return"movementY"in n?n.movementY:Mp}}),qc=na($n),oh=xe({},$n,{dataTransfer:0}),ih=na(oh),Jy=xe({},sl,{relatedTarget:0}),ri=na(Jy),Ip=xe({},ni,{animationName:0,elapsedTime:0,pseudoElement:0}),sh=na(Ip),Xy=xe({},ni,{clipboardData:function(n){return"clipboardData"in n?n.clipboardData:window.clipboardData}}),e2=na(Xy),t2=xe({},ni,{data:0}),_p=na(t2),Cp={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},lh={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},uh={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function ch(n){var a=this.nativeEvent;return a.getModifierState?a.getModifierState(n):(n=uh[n])?!!a[n]:!1}function Ap(){return ch}var _o=xe({},sl,{key:function(n){if(n.key){var a=Cp[n.key]||n.key;if(a!=="Unidentified")return a}return n.type==="keypress"?(n=il(n),n===13?"Enter":String.fromCharCode(n)):n.type==="keydown"||n.type==="keyup"?lh[n.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ap,charCode:function(n){return n.type==="keypress"?il(n):0},keyCode:function(n){return n.type==="keydown"||n.type==="keyup"?n.keyCode:0},which:function(n){return n.type==="keypress"?il(n):n.type==="keydown"||n.type==="keyup"?n.keyCode:0}}),n2=na(_o),Op=xe({},$n,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Wc=na(Op),xp=xe({},sl,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ap}),r2=na(xp),Kc=xe({},ni,{propertyName:0,elapsedTime:0,pseudoElement:0}),dh=na(Kc),zr=xe({},$n,{deltaX:function(n){return"deltaX"in n?n.deltaX:"wheelDeltaX"in n?-n.wheelDeltaX:0},deltaY:function(n){return"deltaY"in n?n.deltaY:"wheelDeltaY"in n?-n.wheelDeltaY:"wheelDelta"in n?-n.wheelDelta:0},deltaZ:0,deltaMode:0}),Co=na(zr),On=[9,13,27,32],qa=T&&"CompositionEvent"in window,es=null;T&&"documentMode"in document&&(es=document.documentMode);var Zc=T&&"TextEvent"in window&&!es,fh=T&&(!qa||es&&8<es&&11>=es),ll=String.fromCharCode(32),ph=!1;function mh(n,a){switch(n){case"keyup":return On.indexOf(a.keyCode)!==-1;case"keydown":return a.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Jc(n){return n=n.detail,typeof n=="object"&&"data"in n?n.data:null}var ul=!1;function a2(n,a){switch(n){case"compositionend":return Jc(a);case"keypress":return a.which!==32?null:(ph=!0,ll);case"textInput":return n=a.data,n===ll&&ph?null:n;default:return null}}function o2(n,a){if(ul)return n==="compositionend"||!qa&&mh(n,a)?(n=Np(),gu=hu=Io=null,ul=!1,n):null;switch(n){case"paste":return null;case"keypress":if(!(a.ctrlKey||a.altKey||a.metaKey)||a.ctrlKey&&a.altKey){if(a.char&&1<a.char.length)return a.char;if(a.which)return String.fromCharCode(a.which)}return null;case"compositionend":return fh&&a.locale!=="ko"?null:a.data;default:return null}}var hh={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function gh(n){var a=n&&n.nodeName&&n.nodeName.toLowerCase();return a==="input"?!!hh[n.type]:a==="textarea"}function yh(n,a,d,y){Dc(y),a=Mu(a,"onChange"),0<a.length&&(d=new Hc("onChange","change",null,d,y),n.push({event:d,listeners:a}))}var Tu=null,cl=null;function dl(n){nd(n,0)}function fl(n){var a=ml(n);if(tn(a))return n}function vh(n,a){if(n==="change")return a}var Lp=!1;if(T){var Rp;if(T){var Dp="oninput"in document;if(!Dp){var Th=document.createElement("div");Th.setAttribute("oninput","return;"),Dp=typeof Th.oninput=="function"}Rp=Dp}else Rp=!1;Lp=Rp&&(!document.documentMode||9<document.documentMode)}function kh(){Tu&&(Tu.detachEvent("onpropertychange",bh),cl=Tu=null)}function bh(n){if(n.propertyName==="value"&&fl(cl)){var a=[];yh(a,cl,n,Ta(n)),pp(dl,a)}}function i2(n,a,d){n==="focusin"?(kh(),Tu=a,cl=d,Tu.attachEvent("onpropertychange",bh)):n==="focusout"&&kh()}function s2(n){if(n==="selectionchange"||n==="keyup"||n==="keydown")return fl(cl)}function l2(n,a){if(n==="click")return fl(a)}function wh(n,a){if(n==="input"||n==="change")return fl(a)}function u2(n,a){return n===a&&(n!==0||1/n===1/a)||n!==n&&a!==a}var Sa=typeof Object.is=="function"?Object.is:u2;function ku(n,a){if(Sa(n,a))return!0;if(typeof n!="object"||n===null||typeof a!="object"||a===null)return!1;var d=Object.keys(n),y=Object.keys(a);if(d.length!==y.length)return!1;for(y=0;y<d.length;y++){var w=d[y];if(!I.call(a,w)||!Sa(n[w],a[w]))return!1}return!0}function Sh(n){for(;n&&n.firstChild;)n=n.firstChild;return n}function Eh(n,a){var d=Sh(n);n=0;for(var y;d;){if(d.nodeType===3){if(y=n+d.textContent.length,n<=a&&y>=a)return{node:d,offset:a-n};n=y}e:{for(;d;){if(d.nextSibling){d=d.nextSibling;break e}d=d.parentNode}d=void 0}d=Sh(d)}}function Nh(n,a){return n&&a?n===a?!0:n&&n.nodeType===3?!1:a&&a.nodeType===3?Nh(n,a.parentNode):"contains"in n?n.contains(a):n.compareDocumentPosition?!!(n.compareDocumentPosition(a)&16):!1:!1}function Xc(){for(var n=window,a=Tt();a instanceof n.HTMLIFrameElement;){try{var d=typeof a.contentWindow.location.href=="string"}catch{d=!1}if(d)n=a.contentWindow;else break;a=Tt(n.document)}return a}function Ao(n){var a=n&&n.nodeName&&n.nodeName.toLowerCase();return a&&(a==="input"&&(n.type==="text"||n.type==="search"||n.type==="tel"||n.type==="url"||n.type==="password")||a==="textarea"||n.contentEditable==="true")}function ed(n){var a=Xc(),d=n.focusedElem,y=n.selectionRange;if(a!==d&&d&&d.ownerDocument&&Nh(d.ownerDocument.documentElement,d)){if(y!==null&&Ao(d)){if(a=y.start,n=y.end,n===void 0&&(n=a),"selectionStart"in d)d.selectionStart=a,d.selectionEnd=Math.min(n,d.value.length);else if(n=(a=d.ownerDocument||document)&&a.defaultView||window,n.getSelection){n=n.getSelection();var w=d.textContent.length,E=Math.min(y.start,w);y=y.end===void 0?E:Math.min(y.end,w),!n.extend&&E>y&&(w=y,y=E,E=w),w=Eh(d,E);var L=Eh(d,y);w&&L&&(n.rangeCount!==1||n.anchorNode!==w.node||n.anchorOffset!==w.offset||n.focusNode!==L.node||n.focusOffset!==L.offset)&&(a=a.createRange(),a.setStart(w.node,w.offset),n.removeAllRanges(),E>y?(n.addRange(a),n.extend(L.node,L.offset)):(a.setEnd(L.node,L.offset),n.addRange(a)))}}for(a=[],n=d;n=n.parentNode;)n.nodeType===1&&a.push({element:n,left:n.scrollLeft,top:n.scrollTop});for(typeof d.focus=="function"&&d.focus(),d=0;d<a.length;d++)n=a[d],n.element.scrollLeft=n.left,n.element.scrollTop=n.top}}var Mh=T&&"documentMode"in document&&11>=document.documentMode,Wa=null,Pp=null,bu=null,Up=!1;function Ih(n,a,d){var y=d.window===d?d.document:d.nodeType===9?d:d.ownerDocument;Up||Wa==null||Wa!==Tt(y)||(y=Wa,"selectionStart"in y&&Ao(y)?y={start:y.selectionStart,end:y.selectionEnd}:(y=(y.ownerDocument&&y.ownerDocument.defaultView||window).getSelection(),y={anchorNode:y.anchorNode,anchorOffset:y.anchorOffset,focusNode:y.focusNode,focusOffset:y.focusOffset}),bu&&ku(bu,y)||(bu=y,y=Mu(Pp,"onSelect"),0<y.length&&(a=new Hc("onSelect","select",null,a,d),n.push({event:a,listeners:y}),a.target=Wa)))}function td(n,a){var d={};return d[n.toLowerCase()]=a.toLowerCase(),d["Webkit"+n]="webkit"+a,d["Moz"+n]="moz"+a,d}var ts={animationend:td("Animation","AnimationEnd"),animationiteration:td("Animation","AnimationIteration"),animationstart:td("Animation","AnimationStart"),transitionend:td("Transition","TransitionEnd")},jp={},zp={};T&&(zp=document.createElement("div").style,"AnimationEvent"in window||(delete ts.animationend.animation,delete ts.animationiteration.animation,delete ts.animationstart.animation),"TransitionEvent"in window||delete ts.transitionend.transition);function qn(n){if(jp[n])return jp[n];if(!ts[n])return n;var a=ts[n],d;for(d in a)if(a.hasOwnProperty(d)&&d in zp)return jp[n]=a[d];return n}var Bp=qn("animationend"),_h=qn("animationiteration"),Ch=qn("animationstart"),Ah=qn("transitionend"),Oh=new Map,xh="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Oo(n,a){Oh.set(n,a),v(a,[n])}for(var wu=0;wu<xh.length;wu++){var ns=xh[wu],c2=ns.toLowerCase(),Su=ns[0].toUpperCase()+ns.slice(1);Oo(c2,"on"+Su)}Oo(Bp,"onAnimationEnd"),Oo(_h,"onAnimationIteration"),Oo(Ch,"onAnimationStart"),Oo("dblclick","onDoubleClick"),Oo("focusin","onFocus"),Oo("focusout","onBlur"),Oo(Ah,"onTransitionEnd"),g("onMouseEnter",["mouseout","mouseover"]),g("onMouseLeave",["mouseout","mouseover"]),g("onPointerEnter",["pointerout","pointerover"]),g("onPointerLeave",["pointerout","pointerover"]),v("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),v("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),v("onBeforeInput",["compositionend","keypress","textInput","paste"]),v("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),v("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),v("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Eu="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),d2=new Set("cancel close invalid load scroll toggle".split(" ").concat(Eu));function Lh(n,a,d){var y=n.type||"unknown-event";n.currentTarget=d,tl(y,a,void 0,n),n.currentTarget=null}function nd(n,a){a=(a&4)!==0;for(var d=0;d<n.length;d++){var y=n[d],w=y.event;y=y.listeners;e:{var E=void 0;if(a)for(var L=y.length-1;0<=L;L--){var B=y[L],Y=B.instance,ie=B.currentTarget;if(B=B.listener,Y!==E&&w.isPropagationStopped())break e;Lh(w,B,ie),E=Y}else for(L=0;L<y.length;L++){if(B=y[L],Y=B.instance,ie=B.currentTarget,B=B.listener,Y!==E&&w.isPropagationStopped())break e;Lh(w,B,ie),E=Y}}}if(el)throw n=iu,el=!1,iu=null,n}function Jt(n,a){var d=a[$p];d===void 0&&(d=a[$p]=new Set);var y=n+"__bubble";d.has(y)||(Rh(a,n,2,!1),d.add(y))}function ai(n,a,d){var y=0;a&&(y|=4),Rh(d,n,y,a)}var xo="_reactListening"+Math.random().toString(36).slice(2);function pl(n){if(!n[xo]){n[xo]=!0,m.forEach(function(d){d!=="selectionchange"&&(d2.has(d)||ai(d,!1,n),ai(d,!0,n))});var a=n.nodeType===9?n:n.ownerDocument;a===null||a[xo]||(a[xo]=!0,ai("selectionchange",!1,a))}}function Rh(n,a,d,y){switch(Ep(a)){case 1:var w=nh;break;case 4:w=Yc;break;default:w=Qc}d=w.bind(null,a,d,n),w=void 0,!jc||a!=="touchstart"&&a!=="touchmove"&&a!=="wheel"||(w=!0),y?w!==void 0?n.addEventListener(a,d,{capture:!0,passive:w}):n.addEventListener(a,d,!0):w!==void 0?n.addEventListener(a,d,{passive:w}):n.addEventListener(a,d,!1)}function rd(n,a,d,y,w){var E=y;if(!(a&1)&&!(a&2)&&y!==null)e:for(;;){if(y===null)return;var L=y.tag;if(L===3||L===4){var B=y.stateNode.containerInfo;if(B===w||B.nodeType===8&&B.parentNode===w)break;if(L===4)for(L=y.return;L!==null;){var Y=L.tag;if((Y===3||Y===4)&&(Y=L.stateNode.containerInfo,Y===w||Y.nodeType===8&&Y.parentNode===w))return;L=L.return}for(;B!==null;){if(L=Ea(B),L===null)return;if(Y=L.tag,Y===5||Y===6){y=E=L;continue e}B=B.parentNode}}y=y.return}pp(function(){var ie=E,we=Ta(d),Ne=[];e:{var Se=Oh.get(n);if(Se!==void 0){var Fe=Hc,qe=n;switch(n){case"keypress":if(il(d)===0)break e;case"keydown":case"keyup":Fe=n2;break;case"focusin":qe="focus",Fe=ri;break;case"focusout":qe="blur",Fe=ri;break;case"beforeblur":case"afterblur":Fe=ri;break;case"click":if(d.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":Fe=qc;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":Fe=ih;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":Fe=r2;break;case Bp:case _h:case Ch:Fe=sh;break;case Ah:Fe=dh;break;case"scroll":Fe=ah;break;case"wheel":Fe=Co;break;case"copy":case"cut":case"paste":Fe=e2;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":Fe=Wc}var Je=(a&4)!==0,Nn=!Je&&n==="scroll",X=Je?Se!==null?Se+"Capture":null:Se;Je=[];for(var $=ie,re;$!==null;){re=$;var Oe=re.stateNode;if(re.tag===5&&Oe!==null&&(re=Oe,X!==null&&(Oe=ou($,X),Oe!=null&&Je.push(Nu($,Oe,re)))),Nn)break;$=$.return}0<Je.length&&(Se=new Fe(Se,qe,null,d,we),Ne.push({event:Se,listeners:Je}))}}if(!(a&7)){e:{if(Se=n==="mouseover"||n==="pointerover",Fe=n==="mouseout"||n==="pointerout",Se&&d!==Ce&&(qe=d.relatedTarget||d.fromElement)&&(Ea(qe)||qe[Lo]))break e;if((Fe||Se)&&(Se=we.window===we?we:(Se=we.ownerDocument)?Se.defaultView||Se.parentWindow:window,Fe?(qe=d.relatedTarget||d.toElement,Fe=ie,qe=qe?Ea(qe):null,qe!==null&&(Nn=oo(qe),qe!==Nn||qe.tag!==5&&qe.tag!==6)&&(qe=null)):(Fe=null,qe=ie),Fe!==qe)){if(Je=qc,Oe="onMouseLeave",X="onMouseEnter",$="mouse",(n==="pointerout"||n==="pointerover")&&(Je=Wc,Oe="onPointerLeave",X="onPointerEnter",$="pointer"),Nn=Fe==null?Se:ml(Fe),re=qe==null?Se:ml(qe),Se=new Je(Oe,$+"leave",Fe,d,we),Se.target=Nn,Se.relatedTarget=re,Oe=null,Ea(we)===ie&&(Je=new Je(X,$+"enter",qe,d,we),Je.target=re,Je.relatedTarget=Nn,Oe=Je),Nn=Oe,Fe&&qe)t:{for(Je=Fe,X=qe,$=0,re=Je;re;re=rs(re))$++;for(re=0,Oe=X;Oe;Oe=rs(Oe))re++;for(;0<$-re;)Je=rs(Je),$--;for(;0<re-$;)X=rs(X),re--;for(;$--;){if(Je===X||X!==null&&Je===X.alternate)break t;Je=rs(Je),X=rs(X)}Je=null}else Je=null;Fe!==null&&Fp(Ne,Se,Fe,Je,!1),qe!==null&&Nn!==null&&Fp(Ne,Nn,qe,Je,!0)}}e:{if(Se=ie?ml(ie):window,Fe=Se.nodeName&&Se.nodeName.toLowerCase(),Fe==="select"||Fe==="input"&&Se.type==="file")var Be=vh;else if(gh(Se))if(Lp)Be=wh;else{Be=s2;var tt=i2}else(Fe=Se.nodeName)&&Fe.toLowerCase()==="input"&&(Se.type==="checkbox"||Se.type==="radio")&&(Be=l2);if(Be&&(Be=Be(n,ie))){yh(Ne,Be,d,we);break e}tt&&tt(n,Se,ie),n==="focusout"&&(tt=Se._wrapperState)&&tt.controlled&&Se.type==="number"&&ve(Se,"number",Se.value)}switch(tt=ie?ml(ie):window,n){case"focusin":(gh(tt)||tt.contentEditable==="true")&&(Wa=tt,Pp=ie,bu=null);break;case"focusout":bu=Pp=Wa=null;break;case"mousedown":Up=!0;break;case"contextmenu":case"mouseup":case"dragend":Up=!1,Ih(Ne,d,we);break;case"selectionchange":if(Mh)break;case"keydown":case"keyup":Ih(Ne,d,we)}var ot;if(qa)e:{switch(n){case"compositionstart":var gt="onCompositionStart";break e;case"compositionend":gt="onCompositionEnd";break e;case"compositionupdate":gt="onCompositionUpdate";break e}gt=void 0}else ul?mh(n,d)&&(gt="onCompositionEnd"):n==="keydown"&&d.keyCode===229&&(gt="onCompositionStart");gt&&(fh&&d.locale!=="ko"&&(ul||gt!=="onCompositionStart"?gt==="onCompositionEnd"&&ul&&(ot=Np()):(Io=we,hu="value"in Io?Io.value:Io.textContent,ul=!0)),tt=Mu(ie,gt),0<tt.length&&(gt=new _p(gt,n,null,d,we),Ne.push({event:gt,listeners:tt}),ot?gt.data=ot:(ot=Jc(d),ot!==null&&(gt.data=ot)))),(ot=Zc?a2(n,d):o2(n,d))&&(ie=Mu(ie,"onBeforeInput"),0<ie.length&&(we=new _p("onBeforeInput","beforeinput",null,d,we),Ne.push({event:we,listeners:ie}),we.data=ot))}nd(Ne,a)})}function Nu(n,a,d){return{instance:n,listener:a,currentTarget:d}}function Mu(n,a){for(var d=a+"Capture",y=[];n!==null;){var w=n,E=w.stateNode;w.tag===5&&E!==null&&(w=E,E=ou(n,d),E!=null&&y.unshift(Nu(n,E,w)),E=ou(n,a),E!=null&&y.push(Nu(n,E,w))),n=n.return}return y}function rs(n){if(n===null)return null;do n=n.return;while(n&&n.tag!==5);return n||null}function Fp(n,a,d,y,w){for(var E=a._reactName,L=[];d!==null&&d!==y;){var B=d,Y=B.alternate,ie=B.stateNode;if(Y!==null&&Y===y)break;B.tag===5&&ie!==null&&(B=ie,w?(Y=ou(d,E),Y!=null&&L.unshift(Nu(d,Y,B))):w||(Y=ou(d,E),Y!=null&&L.push(Nu(d,Y,B)))),d=d.return}L.length!==0&&n.push({event:a,listeners:L})}var Vp=/\r\n?/g,f2=/\u0000|\uFFFD/g;function Yp(n){return(typeof n=="string"?n:""+n).replace(Vp,`
36
36
  `).replace(f2,"")}function ad(n,a,d){if(a=Yp(a),Yp(n)!==a&&d)throw Error(s(425))}function od(){}var Qp=null,as=null;function Iu(n,a){return n==="textarea"||n==="noscript"||typeof a.children=="string"||typeof a.children=="number"||typeof a.dangerouslySetInnerHTML=="object"&&a.dangerouslySetInnerHTML!==null&&a.dangerouslySetInnerHTML.__html!=null}var os=typeof setTimeout=="function"?setTimeout:void 0,Dh=typeof clearTimeout=="function"?clearTimeout:void 0,Gp=typeof Promise=="function"?Promise:void 0,Hp=typeof queueMicrotask=="function"?queueMicrotask:typeof Gp<"u"?function(n){return Gp.resolve(null).then(n).catch(p2)}:os;function p2(n){setTimeout(function(){throw n})}function oi(n,a){var d=a,y=0;do{var w=d.nextSibling;if(n.removeChild(d),w&&w.nodeType===8)if(d=w.data,d==="/$"){if(y===0){n.removeChild(w),pu(a);return}y--}else d!=="$"&&d!=="$?"&&d!=="$!"||y++;d=w}while(d);pu(a)}function Ka(n){for(;n!=null;n=n.nextSibling){var a=n.nodeType;if(a===1||a===3)break;if(a===8){if(a=n.data,a==="$"||a==="$!"||a==="$?")break;if(a==="/$")return null}}return n}function _u(n){n=n.previousSibling;for(var a=0;n;){if(n.nodeType===8){var d=n.data;if(d==="$"||d==="$!"||d==="$?"){if(a===0)return n;a--}else d==="/$"&&a++}n=n.previousSibling}return null}var ii=Math.random().toString(36).slice(2),io="__reactFiber$"+ii,is="__reactProps$"+ii,Lo="__reactContainer$"+ii,$p="__reactEvents$"+ii,m2="__reactListeners$"+ii,qp="__reactHandles$"+ii;function Ea(n){var a=n[io];if(a)return a;for(var d=n.parentNode;d;){if(a=d[Lo]||d[io]){if(d=a.alternate,a.child!==null||d!==null&&d.child!==null)for(n=_u(n);n!==null;){if(d=n[io])return d;n=_u(n)}return a}n=d,d=n.parentNode}return null}function Cu(n){return n=n[io]||n[Lo],!n||n.tag!==5&&n.tag!==6&&n.tag!==13&&n.tag!==3?null:n}function ml(n){if(n.tag===5||n.tag===6)return n.stateNode;throw Error(s(33))}function nt(n){return n[is]||null}var si=[],on=-1;function St(n){return{current:n}}function Vt(n){0>on||(n.current=si[on],si[on]=null,on--)}function Yt(n,a){on++,si[on]=n.current,n.current=a}var so={},mt=St(so),kn=St(!1),Br=so;function Na(n,a){var d=n.type.contextTypes;if(!d)return so;var y=n.stateNode;if(y&&y.__reactInternalMemoizedUnmaskedChildContext===a)return y.__reactInternalMemoizedMaskedChildContext;var w={},E;for(E in d)w[E]=a[E];return y&&(n=n.stateNode,n.__reactInternalMemoizedUnmaskedChildContext=a,n.__reactInternalMemoizedMaskedChildContext=w),w}function fn(n){return n=n.childContextTypes,n!=null}function Ma(){Vt(kn),Vt(mt)}function li(n,a,d){if(mt.current!==so)throw Error(s(168));Yt(mt,a),Yt(kn,d)}function Au(n,a,d){var y=n.stateNode;if(a=a.childContextTypes,typeof y.getChildContext!="function")return d;y=y.getChildContext();for(var w in y)if(!(w in a))throw Error(s(108,ft(n)||"Unknown",w));return xe({},d,y)}function id(n){return n=(n=n.stateNode)&&n.__reactInternalMemoizedMergedChildContext||so,Br=mt.current,Yt(mt,n),Yt(kn,kn.current),!0}function Ph(n,a,d){var y=n.stateNode;if(!y)throw Error(s(169));d?(n=Au(n,a,Br),y.__reactInternalMemoizedMergedChildContext=n,Vt(kn),Vt(mt),Yt(mt,n)):Vt(kn),Yt(kn,d)}var ra=null,Wn=!1,Ou=!1;function Wp(n){ra===null?ra=[n]:ra.push(n)}function Kp(n){Wn=!0,Wp(n)}function Fr(){if(!Ou&&ra!==null){Ou=!0;var n=0,a=Ht;try{var d=ra;for(Ht=1;n<d.length;n++){var y=d[n];do y=y(!0);while(y!==null)}ra=null,Wn=!1}catch(w){throw ra!==null&&(ra=ra.slice(n+1)),gp(Mo,Fr),w}finally{Ht=a,Ou=!1}}return null}var ui=[],Vr=0,ss=null,hl=0,Yr=[],yr=0,Ia=null,nr=1,Ro="";function aa(n,a){ui[Vr++]=hl,ui[Vr++]=ss,ss=n,hl=a}function Zp(n,a,d){Yr[yr++]=nr,Yr[yr++]=Ro,Yr[yr++]=Ia,Ia=n;var y=nr;n=Ro;var w=32-ka(y)-1;y&=~(1<<w),d+=1;var E=32-ka(a)+w;if(30<E){var L=w-w%5;E=(y&(1<<L)-1).toString(32),y>>=L,w-=L,nr=1<<32-ka(a)+w|d<<w|y,Ro=E+n}else nr=1<<E|d<<w|y,Ro=n}function sd(n){n.return!==null&&(aa(n,1),Zp(n,1,0))}function Jp(n){for(;n===ss;)ss=ui[--Vr],ui[Vr]=null,hl=ui[--Vr],ui[Vr]=null;for(;n===Ia;)Ia=Yr[--yr],Yr[yr]=null,Ro=Yr[--yr],Yr[yr]=null,nr=Yr[--yr],Yr[yr]=null}var oa=null,Qr=null,sn=!1,_a=null;function Xp(n,a){var d=Ra(5,null,null,0);d.elementType="DELETED",d.stateNode=a,d.return=n,a=n.deletions,a===null?(n.deletions=[d],n.flags|=16):a.push(d)}function Uh(n,a){switch(n.tag){case 5:var d=n.type;return a=a.nodeType!==1||d.toLowerCase()!==a.nodeName.toLowerCase()?null:a,a!==null?(n.stateNode=a,oa=n,Qr=Ka(a.firstChild),!0):!1;case 6:return a=n.pendingProps===""||a.nodeType!==3?null:a,a!==null?(n.stateNode=a,oa=n,Qr=null,!0):!1;case 13:return a=a.nodeType!==8?null:a,a!==null?(d=Ia!==null?{id:nr,overflow:Ro}:null,n.memoizedState={dehydrated:a,treeContext:d,retryLane:1073741824},d=Ra(18,null,null,0),d.stateNode=a,d.return=n,n.child=d,oa=n,Qr=null,!0):!1;default:return!1}}function ld(n){return(n.mode&1)!==0&&(n.flags&128)===0}function ud(n){if(sn){var a=Qr;if(a){var d=a;if(!Uh(n,a)){if(ld(n))throw Error(s(418));a=Ka(d.nextSibling);var y=oa;a&&Uh(n,a)?Xp(y,d):(n.flags=n.flags&-4097|2,sn=!1,oa=n)}}else{if(ld(n))throw Error(s(418));n.flags=n.flags&-4097|2,sn=!1,oa=n}}}function jh(n){for(n=n.return;n!==null&&n.tag!==5&&n.tag!==3&&n.tag!==13;)n=n.return;oa=n}function cd(n){if(n!==oa)return!1;if(!sn)return jh(n),sn=!0,!1;var a;if((a=n.tag!==3)&&!(a=n.tag!==5)&&(a=n.type,a=a!=="head"&&a!=="body"&&!Iu(n.type,n.memoizedProps)),a&&(a=Qr)){if(ld(n))throw zh(),Error(s(418));for(;a;)Xp(n,a),a=Ka(a.nextSibling)}if(jh(n),n.tag===13){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(s(317));e:{for(n=n.nextSibling,a=0;n;){if(n.nodeType===8){var d=n.data;if(d==="/$"){if(a===0){Qr=Ka(n.nextSibling);break e}a--}else d!=="$"&&d!=="$!"&&d!=="$?"||a++}n=n.nextSibling}Qr=null}}else Qr=oa?Ka(n.stateNode.nextSibling):null;return!0}function zh(){for(var n=Qr;n;)n=Ka(n.nextSibling)}function mn(){Qr=oa=null,sn=!1}function em(n){_a===null?_a=[n]:_a.push(n)}var dd=ue.ReactCurrentBatchConfig;function ia(n,a){if(n&&n.defaultProps){a=xe({},a),n=n.defaultProps;for(var d in n)a[d]===void 0&&(a[d]=n[d]);return a}return a}var lo=St(null),fd=null,ci=null,tm=null;function nm(){tm=ci=fd=null}function di(n){var a=lo.current;Vt(lo),n._currentValue=a}function Kn(n,a,d){for(;n!==null;){var y=n.alternate;if((n.childLanes&a)!==a?(n.childLanes|=a,y!==null&&(y.childLanes|=a)):y!==null&&(y.childLanes&a)!==a&&(y.childLanes|=a),n===d)break;n=n.return}}function Le(n,a){fd=n,tm=ci=null,n=n.dependencies,n!==null&&n.firstContext!==null&&(n.lanes&a&&(xn=!0),n.firstContext=null)}function Sn(n){var a=n._currentValue;if(tm!==n)if(n={context:n,memoizedValue:a,next:null},ci===null){if(fd===null)throw Error(s(308));ci=n,fd.dependencies={lanes:0,firstContext:n}}else ci=ci.next=n;return a}var rr=null;function rm(n){rr===null?rr=[n]:rr.push(n)}function Bh(n,a,d,y){var w=a.interleaved;return w===null?(d.next=d,rm(a)):(d.next=w.next,w.next=d),a.interleaved=d,Do(n,y)}function Do(n,a){n.lanes|=a;var d=n.alternate;for(d!==null&&(d.lanes|=a),d=n,n=n.return;n!==null;)n.childLanes|=a,d=n.alternate,d!==null&&(d.childLanes|=a),d=n,n=n.return;return d.tag===3?d.stateNode:null}var fi=!1;function am(n){n.updateQueue={baseState:n.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Pn(n,a){n=n.updateQueue,a.updateQueue===n&&(a.updateQueue={baseState:n.baseState,firstBaseUpdate:n.firstBaseUpdate,lastBaseUpdate:n.lastBaseUpdate,shared:n.shared,effects:n.effects})}function Po(n,a){return{eventTime:n,lane:a,tag:0,payload:null,callback:null,next:null}}function pi(n,a,d){var y=n.updateQueue;if(y===null)return null;if(y=y.shared,xt&2){var w=y.pending;return w===null?a.next=a:(a.next=w.next,w.next=a),y.pending=a,Do(n,d)}return w=y.interleaved,w===null?(a.next=a,rm(y)):(a.next=w.next,w.next=a),y.interleaved=a,Do(n,d)}function pd(n,a,d){if(a=a.updateQueue,a!==null&&(a=a.shared,(d&4194240)!==0)){var y=a.lanes;y&=n.pendingLanes,d|=y,a.lanes=d,uu(n,d)}}function om(n,a){var d=n.updateQueue,y=n.alternate;if(y!==null&&(y=y.updateQueue,d===y)){var w=null,E=null;if(d=d.firstBaseUpdate,d!==null){do{var L={eventTime:d.eventTime,lane:d.lane,tag:d.tag,payload:d.payload,callback:d.callback,next:null};E===null?w=E=L:E=E.next=L,d=d.next}while(d!==null);E===null?w=E=a:E=E.next=a}else w=E=a;d={baseState:y.baseState,firstBaseUpdate:w,lastBaseUpdate:E,shared:y.shared,effects:y.effects},n.updateQueue=d;return}n=d.lastBaseUpdate,n===null?d.firstBaseUpdate=a:n.next=a,d.lastBaseUpdate=a}function mi(n,a,d,y){var w=n.updateQueue;fi=!1;var E=w.firstBaseUpdate,L=w.lastBaseUpdate,B=w.shared.pending;if(B!==null){w.shared.pending=null;var Y=B,ie=Y.next;Y.next=null,L===null?E=ie:L.next=ie,L=Y;var we=n.alternate;we!==null&&(we=we.updateQueue,B=we.lastBaseUpdate,B!==L&&(B===null?we.firstBaseUpdate=ie:B.next=ie,we.lastBaseUpdate=Y))}if(E!==null){var Ne=w.baseState;L=0,we=ie=Y=null,B=E;do{var Se=B.lane,Fe=B.eventTime;if((y&Se)===Se){we!==null&&(we=we.next={eventTime:Fe,lane:0,tag:B.tag,payload:B.payload,callback:B.callback,next:null});e:{var qe=n,Je=B;switch(Se=a,Fe=d,Je.tag){case 1:if(qe=Je.payload,typeof qe=="function"){Ne=qe.call(Fe,Ne,Se);break e}Ne=qe;break e;case 3:qe.flags=qe.flags&-65537|128;case 0:if(qe=Je.payload,Se=typeof qe=="function"?qe.call(Fe,Ne,Se):qe,Se==null)break e;Ne=xe({},Ne,Se);break e;case 2:fi=!0}}B.callback!==null&&B.lane!==0&&(n.flags|=64,Se=w.effects,Se===null?w.effects=[B]:Se.push(B))}else Fe={eventTime:Fe,lane:Se,tag:B.tag,payload:B.payload,callback:B.callback,next:null},we===null?(ie=we=Fe,Y=Ne):we=we.next=Fe,L|=Se;if(B=B.next,B===null){if(B=w.shared.pending,B===null)break;Se=B,B=Se.next,Se.next=null,w.lastBaseUpdate=Se,w.shared.pending=null}}while(1);if(we===null&&(Y=Ne),w.baseState=Y,w.firstBaseUpdate=ie,w.lastBaseUpdate=we,a=w.shared.interleaved,a!==null){w=a;do L|=w.lane,w=w.next;while(w!==a)}else E===null&&(w.shared.lanes=0);bs|=L,n.lanes=L,n.memoizedState=Ne}}function ls(n,a,d){if(n=a.effects,a.effects=null,n!==null)for(a=0;a<n.length;a++){var y=n[a],w=y.callback;if(w!==null){if(y.callback=null,y=d,typeof w!="function")throw Error(s(191,w));w.call(y)}}}var Fh=new r.Component().refs;function im(n,a,d,y){a=n.memoizedState,d=d(y,a),d=d==null?a:xe({},a,d),n.memoizedState=d,n.lanes===0&&(n.updateQueue.baseState=d)}var md={isMounted:function(n){return(n=n._reactInternals)?oo(n)===n:!1},enqueueSetState:function(n,a,d){n=n._reactInternals;var y=en(),w=ca(n),E=Po(y,w);E.payload=a,d!=null&&(E.callback=d),a=pi(n,E,w),a!==null&&(da(a,n,w,y),pd(a,n,w))},enqueueReplaceState:function(n,a,d){n=n._reactInternals;var y=en(),w=ca(n),E=Po(y,w);E.tag=1,E.payload=a,d!=null&&(E.callback=d),a=pi(n,E,w),a!==null&&(da(a,n,w,y),pd(a,n,w))},enqueueForceUpdate:function(n,a){n=n._reactInternals;var d=en(),y=ca(n),w=Po(d,y);w.tag=2,a!=null&&(w.callback=a),a=pi(n,w,y),a!==null&&(da(a,n,y,d),pd(a,n,y))}};function Vh(n,a,d,y,w,E,L){return n=n.stateNode,typeof n.shouldComponentUpdate=="function"?n.shouldComponentUpdate(y,E,L):a.prototype&&a.prototype.isPureReactComponent?!ku(d,y)||!ku(w,E):!0}function Yh(n,a,d){var y=!1,w=so,E=a.contextType;return typeof E=="object"&&E!==null?E=Sn(E):(w=fn(a)?Br:mt.current,y=a.contextTypes,E=(y=y!=null)?Na(n,w):so),a=new a(d,E),n.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,a.updater=md,n.stateNode=a,a._reactInternals=n,y&&(n=n.stateNode,n.__reactInternalMemoizedUnmaskedChildContext=w,n.__reactInternalMemoizedMaskedChildContext=E),a}function Qh(n,a,d,y){n=a.state,typeof a.componentWillReceiveProps=="function"&&a.componentWillReceiveProps(d,y),typeof a.UNSAFE_componentWillReceiveProps=="function"&&a.UNSAFE_componentWillReceiveProps(d,y),a.state!==n&&md.enqueueReplaceState(a,a.state,null)}function hd(n,a,d,y){var w=n.stateNode;w.props=d,w.state=n.memoizedState,w.refs=Fh,am(n);var E=a.contextType;typeof E=="object"&&E!==null?w.context=Sn(E):(E=fn(a)?Br:mt.current,w.context=Na(n,E)),w.state=n.memoizedState,E=a.getDerivedStateFromProps,typeof E=="function"&&(im(n,a,E,d),w.state=n.memoizedState),typeof a.getDerivedStateFromProps=="function"||typeof w.getSnapshotBeforeUpdate=="function"||typeof w.UNSAFE_componentWillMount!="function"&&typeof w.componentWillMount!="function"||(a=w.state,typeof w.componentWillMount=="function"&&w.componentWillMount(),typeof w.UNSAFE_componentWillMount=="function"&&w.UNSAFE_componentWillMount(),a!==w.state&&md.enqueueReplaceState(w,w.state,null),mi(n,d,w,y),w.state=n.memoizedState),typeof w.componentDidMount=="function"&&(n.flags|=4194308)}function gl(n,a,d){if(n=d.ref,n!==null&&typeof n!="function"&&typeof n!="object"){if(d._owner){if(d=d._owner,d){if(d.tag!==1)throw Error(s(309));var y=d.stateNode}if(!y)throw Error(s(147,n));var w=y,E=""+n;return a!==null&&a.ref!==null&&typeof a.ref=="function"&&a.ref._stringRef===E?a.ref:(a=function(L){var B=w.refs;B===Fh&&(B=w.refs={}),L===null?delete B[E]:B[E]=L},a._stringRef=E,a)}if(typeof n!="string")throw Error(s(284));if(!d._owner)throw Error(s(290,n))}return n}function gd(n,a){throw n=Object.prototype.toString.call(a),Error(s(31,n==="[object Object]"?"object with keys {"+Object.keys(a).join(", ")+"}":n))}function Gh(n){var a=n._init;return a(n._payload)}function Hh(n){function a(X,$){if(n){var re=X.deletions;re===null?(X.deletions=[$],X.flags|=16):re.push($)}}function d(X,$){if(!n)return null;for(;$!==null;)a(X,$),$=$.sibling;return null}function y(X,$){for(X=new Map;$!==null;)$.key!==null?X.set($.key,$):X.set($.index,$),$=$.sibling;return X}function w(X,$){return X=Si(X,$),X.index=0,X.sibling=null,X}function E(X,$,re){return X.index=re,n?(re=X.alternate,re!==null?(re=re.index,re<$?(X.flags|=2,$):re):(X.flags|=2,$)):(X.flags|=1048576,$)}function L(X){return n&&X.alternate===null&&(X.flags|=2),X}function B(X,$,re,Oe){return $===null||$.tag!==6?($=Is(re,X.mode,Oe),$.return=X,$):($=w($,re),$.return=X,$)}function Y(X,$,re,Oe){var Be=re.type;return Be===fe?we(X,$,re.props.children,Oe,re.key):$!==null&&($.elementType===Be||typeof Be=="object"&&Be!==null&&Be.$$typeof===Dt&&Gh(Be)===$.type)?(Oe=w($,re.props),Oe.ref=gl(X,$,re),Oe.return=X,Oe):(Oe=Kd(re.type,re.key,re.props,null,X.mode,Oe),Oe.ref=gl(X,$,re),Oe.return=X,Oe)}function ie(X,$,re,Oe){return $===null||$.tag!==4||$.stateNode.containerInfo!==re.containerInfo||$.stateNode.implementation!==re.implementation?($=Im(re,X.mode,Oe),$.return=X,$):($=w($,re.children||[]),$.return=X,$)}function we(X,$,re,Oe,Be){return $===null||$.tag!==7?($=Ei(re,X.mode,Oe,Be),$.return=X,$):($=w($,re),$.return=X,$)}function Ne(X,$,re){if(typeof $=="string"&&$!==""||typeof $=="number")return $=Is(""+$,X.mode,re),$.return=X,$;if(typeof $=="object"&&$!==null){switch($.$$typeof){case Z:return re=Kd($.type,$.key,$.props,null,X.mode,re),re.ref=gl(X,null,$),re.return=X,re;case ye:return $=Im($,X.mode,re),$.return=X,$;case Dt:var Oe=$._init;return Ne(X,Oe($._payload),re)}if(Hn($)||ze($))return $=Ei($,X.mode,re,null),$.return=X,$;gd(X,$)}return null}function Se(X,$,re,Oe){var Be=$!==null?$.key:null;if(typeof re=="string"&&re!==""||typeof re=="number")return Be!==null?null:B(X,$,""+re,Oe);if(typeof re=="object"&&re!==null){switch(re.$$typeof){case Z:return re.key===Be?Y(X,$,re,Oe):null;case ye:return re.key===Be?ie(X,$,re,Oe):null;case Dt:return Be=re._init,Se(X,$,Be(re._payload),Oe)}if(Hn(re)||ze(re))return Be!==null?null:we(X,$,re,Oe,null);gd(X,re)}return null}function Fe(X,$,re,Oe,Be){if(typeof Oe=="string"&&Oe!==""||typeof Oe=="number")return X=X.get(re)||null,B($,X,""+Oe,Be);if(typeof Oe=="object"&&Oe!==null){switch(Oe.$$typeof){case Z:return X=X.get(Oe.key===null?re:Oe.key)||null,Y($,X,Oe,Be);case ye:return X=X.get(Oe.key===null?re:Oe.key)||null,ie($,X,Oe,Be);case Dt:var tt=Oe._init;return Fe(X,$,re,tt(Oe._payload),Be)}if(Hn(Oe)||ze(Oe))return X=X.get(re)||null,we($,X,Oe,Be,null);gd($,Oe)}return null}function qe(X,$,re,Oe){for(var Be=null,tt=null,ot=$,gt=$=0,Bn=null;ot!==null&&gt<re.length;gt++){ot.index>gt?(Bn=ot,ot=null):Bn=ot.sibling;var zt=Se(X,ot,re[gt],Oe);if(zt===null){ot===null&&(ot=Bn);break}n&&ot&&zt.alternate===null&&a(X,ot),$=E(zt,$,gt),tt===null?Be=zt:tt.sibling=zt,tt=zt,ot=Bn}if(gt===re.length)return d(X,ot),sn&&aa(X,gt),Be;if(ot===null){for(;gt<re.length;gt++)ot=Ne(X,re[gt],Oe),ot!==null&&($=E(ot,$,gt),tt===null?Be=ot:tt.sibling=ot,tt=ot);return sn&&aa(X,gt),Be}for(ot=y(X,ot);gt<re.length;gt++)Bn=Fe(ot,X,gt,re[gt],Oe),Bn!==null&&(n&&Bn.alternate!==null&&ot.delete(Bn.key===null?gt:Bn.key),$=E(Bn,$,gt),tt===null?Be=Bn:tt.sibling=Bn,tt=Bn);return n&&ot.forEach(function(Mi){return a(X,Mi)}),sn&&aa(X,gt),Be}function Je(X,$,re,Oe){var Be=ze(re);if(typeof Be!="function")throw Error(s(150));if(re=Be.call(re),re==null)throw Error(s(151));for(var tt=Be=null,ot=$,gt=$=0,Bn=null,zt=re.next();ot!==null&&!zt.done;gt++,zt=re.next()){ot.index>gt?(Bn=ot,ot=null):Bn=ot.sibling;var Mi=Se(X,ot,zt.value,Oe);if(Mi===null){ot===null&&(ot=Bn);break}n&&ot&&Mi.alternate===null&&a(X,ot),$=E(Mi,$,gt),tt===null?Be=Mi:tt.sibling=Mi,tt=Mi,ot=Bn}if(zt.done)return d(X,ot),sn&&aa(X,gt),Be;if(ot===null){for(;!zt.done;gt++,zt=re.next())zt=Ne(X,zt.value,Oe),zt!==null&&($=E(zt,$,gt),tt===null?Be=zt:tt.sibling=zt,tt=zt);return sn&&aa(X,gt),Be}for(ot=y(X,ot);!zt.done;gt++,zt=re.next())zt=Fe(ot,X,gt,zt.value,Oe),zt!==null&&(n&&zt.alternate!==null&&ot.delete(zt.key===null?gt:zt.key),$=E(zt,$,gt),tt===null?Be=zt:tt.sibling=zt,tt=zt);return n&&ot.forEach(function(O2){return a(X,O2)}),sn&&aa(X,gt),Be}function Nn(X,$,re,Oe){if(typeof re=="object"&&re!==null&&re.type===fe&&re.key===null&&(re=re.props.children),typeof re=="object"&&re!==null){switch(re.$$typeof){case Z:e:{for(var Be=re.key,tt=$;tt!==null;){if(tt.key===Be){if(Be=re.type,Be===fe){if(tt.tag===7){d(X,tt.sibling),$=w(tt,re.props.children),$.return=X,X=$;break e}}else if(tt.elementType===Be||typeof Be=="object"&&Be!==null&&Be.$$typeof===Dt&&Gh(Be)===tt.type){d(X,tt.sibling),$=w(tt,re.props),$.ref=gl(X,tt,re),$.return=X,X=$;break e}d(X,tt);break}else a(X,tt);tt=tt.sibling}re.type===fe?($=Ei(re.props.children,X.mode,Oe,re.key),$.return=X,X=$):(Oe=Kd(re.type,re.key,re.props,null,X.mode,Oe),Oe.ref=gl(X,$,re),Oe.return=X,X=Oe)}return L(X);case ye:e:{for(tt=re.key;$!==null;){if($.key===tt)if($.tag===4&&$.stateNode.containerInfo===re.containerInfo&&$.stateNode.implementation===re.implementation){d(X,$.sibling),$=w($,re.children||[]),$.return=X,X=$;break e}else{d(X,$);break}else a(X,$);$=$.sibling}$=Im(re,X.mode,Oe),$.return=X,X=$}return L(X);case Dt:return tt=re._init,Nn(X,$,tt(re._payload),Oe)}if(Hn(re))return qe(X,$,re,Oe);if(ze(re))return Je(X,$,re,Oe);gd(X,re)}return typeof re=="string"&&re!==""||typeof re=="number"?(re=""+re,$!==null&&$.tag===6?(d(X,$.sibling),$=w($,re),$.return=X,X=$):(d(X,$),$=Is(re,X.mode,Oe),$.return=X,X=$),L(X)):d(X,$)}return Nn}var yl=Hh(!0),$h=Hh(!1),xu={},Za=St(xu),Lu=St(xu),vl=St(xu);function us(n){if(n===xu)throw Error(s(174));return n}function sm(n,a){switch(Yt(vl,a),Yt(Lu,n),Yt(Za,xu),n=a.nodeType,n){case 9:case 11:a=(a=a.documentElement)?a.namespaceURI:l(null,"");break;default:n=n===8?a.parentNode:a,a=n.namespaceURI||null,n=n.tagName,a=l(a,n)}Vt(Za),Yt(Za,a)}function hi(){Vt(Za),Vt(Lu),Vt(vl)}function st(n){us(vl.current);var a=us(Za.current),d=l(a,n.type);a!==d&&(Yt(Lu,n),Yt(Za,d))}function Ot(n){Lu.current===n&&(Vt(Za),Vt(Lu))}var lt=St(0);function hn(n){for(var a=n;a!==null;){if(a.tag===13){var d=a.memoizedState;if(d!==null&&(d=d.dehydrated,d===null||d.data==="$?"||d.data==="$!"))return a}else if(a.tag===19&&a.memoizedProps.revealOrder!==void 0){if(a.flags&128)return a}else if(a.child!==null){a.child.return=a,a=a.child;continue}if(a===n)break;for(;a.sibling===null;){if(a.return===null||a.return===n)return null;a=a.return}a.sibling.return=a.return,a=a.sibling}return null}var Ca=[];function yd(){for(var n=0;n<Ca.length;n++)Ca[n]._workInProgressVersionPrimary=null;Ca.length=0}var vd=ue.ReactCurrentDispatcher,lm=ue.ReactCurrentBatchConfig,cs=0,ln=null,he=null,Pt=null,ut=!1,uo=!1,sa=0,ds=0;function un(){throw Error(s(321))}function fs(n,a){if(a===null)return!1;for(var d=0;d<a.length&&d<n.length;d++)if(!Sa(n[d],a[d]))return!1;return!0}function gi(n,a,d,y,w,E){if(cs=E,ln=a,a.memoizedState=null,a.updateQueue=null,a.lanes=0,vd.current=n===null||n.memoizedState===null?g2:y2,n=d(y,w),uo){E=0;do{if(uo=!1,sa=0,25<=E)throw Error(s(301));E+=1,Pt=he=null,a.updateQueue=null,vd.current=cm,n=d(y,w)}while(uo)}if(vd.current=Rd,a=he!==null&&he.next!==null,cs=0,Pt=he=ln=null,ut=!1,a)throw Error(s(300));return n}function ps(){var n=sa!==0;return sa=0,n}function Aa(){var n={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Pt===null?ln.memoizedState=Pt=n:Pt=Pt.next=n,Pt}function Gr(){if(he===null){var n=ln.alternate;n=n!==null?n.memoizedState:null}else n=he.next;var a=Pt===null?ln.memoizedState:Pt.next;if(a!==null)Pt=a,he=n;else{if(n===null)throw Error(s(310));he=n,n={memoizedState:he.memoizedState,baseState:he.baseState,baseQueue:he.baseQueue,queue:he.queue,next:null},Pt===null?ln.memoizedState=Pt=n:Pt=Pt.next=n}return Pt}function ms(n,a){return typeof a=="function"?a(n):a}function Ru(n){var a=Gr(),d=a.queue;if(d===null)throw Error(s(311));d.lastRenderedReducer=n;var y=he,w=y.baseQueue,E=d.pending;if(E!==null){if(w!==null){var L=w.next;w.next=E.next,E.next=L}y.baseQueue=w=E,d.pending=null}if(w!==null){E=w.next,y=y.baseState;var B=L=null,Y=null,ie=E;do{var we=ie.lane;if((cs&we)===we)Y!==null&&(Y=Y.next={lane:0,action:ie.action,hasEagerState:ie.hasEagerState,eagerState:ie.eagerState,next:null}),y=ie.hasEagerState?ie.eagerState:n(y,ie.action);else{var Ne={lane:we,action:ie.action,hasEagerState:ie.hasEagerState,eagerState:ie.eagerState,next:null};Y===null?(B=Y=Ne,L=y):Y=Y.next=Ne,ln.lanes|=we,bs|=we}ie=ie.next}while(ie!==null&&ie!==E);Y===null?L=y:Y.next=B,Sa(y,a.memoizedState)||(xn=!0),a.memoizedState=y,a.baseState=L,a.baseQueue=Y,d.lastRenderedState=y}if(n=d.interleaved,n!==null){w=n;do E=w.lane,ln.lanes|=E,bs|=E,w=w.next;while(w!==n)}else w===null&&(d.lanes=0);return[a.memoizedState,d.dispatch]}function Du(n){var a=Gr(),d=a.queue;if(d===null)throw Error(s(311));d.lastRenderedReducer=n;var y=d.dispatch,w=d.pending,E=a.memoizedState;if(w!==null){d.pending=null;var L=w=w.next;do E=n(E,L.action),L=L.next;while(L!==w);Sa(E,a.memoizedState)||(xn=!0),a.memoizedState=E,a.baseQueue===null&&(a.baseState=E),d.lastRenderedState=E}return[E,y]}function Td(){}function kd(n,a){var d=ln,y=Gr(),w=a(),E=!Sa(y.memoizedState,w);if(E&&(y.memoizedState=w,xn=!0),y=y.queue,Pu(Sd.bind(null,d,y,n),[n]),y.getSnapshot!==a||E||Pt!==null&&Pt.memoizedState.tag&1){if(d.flags|=2048,hs(9,wd.bind(null,d,y,w,a),void 0,null),Ln===null)throw Error(s(349));cs&30||bd(d,a,w)}return w}function bd(n,a,d){n.flags|=16384,n={getSnapshot:a,value:d},a=ln.updateQueue,a===null?(a={lastEffect:null,stores:null},ln.updateQueue=a,a.stores=[n]):(d=a.stores,d===null?a.stores=[n]:d.push(n))}function wd(n,a,d,y){a.value=d,a.getSnapshot=y,Ed(a)&&Nd(n)}function Sd(n,a,d){return d(function(){Ed(a)&&Nd(n)})}function Ed(n){var a=n.getSnapshot;n=n.value;try{var d=a();return!Sa(n,d)}catch{return!0}}function Nd(n){var a=Do(n,1);a!==null&&da(a,n,1,-1)}function Md(n){var a=Aa();return typeof n=="function"&&(n=n()),a.memoizedState=a.baseState=n,n={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:ms,lastRenderedState:n},a.queue=n,n=n.dispatch=Ld.bind(null,ln,n),[a.memoizedState,n]}function hs(n,a,d,y){return n={tag:n,create:a,destroy:d,deps:y,next:null},a=ln.updateQueue,a===null?(a={lastEffect:null,stores:null},ln.updateQueue=a,a.lastEffect=n.next=n):(d=a.lastEffect,d===null?a.lastEffect=n.next=n:(y=d.next,d.next=n,n.next=y,a.lastEffect=n)),n}function Id(){return Gr().memoizedState}function gs(n,a,d,y){var w=Aa();ln.flags|=n,w.memoizedState=hs(1|a,d,void 0,y===void 0?null:y)}function Uo(n,a,d,y){var w=Gr();y=y===void 0?null:y;var E=void 0;if(he!==null){var L=he.memoizedState;if(E=L.destroy,y!==null&&fs(y,L.deps)){w.memoizedState=hs(a,d,E,y);return}}ln.flags|=n,w.memoizedState=hs(1|a,d,E,y)}function _d(n,a){return gs(8390656,8,n,a)}function Pu(n,a){return Uo(2048,8,n,a)}function Cd(n,a){return Uo(4,2,n,a)}function Ad(n,a){return Uo(4,4,n,a)}function um(n,a){if(typeof a=="function")return n=n(),a(n),function(){a(null)};if(a!=null)return n=n(),a.current=n,function(){a.current=null}}function Tl(n,a,d){return d=d!=null?d.concat([n]):null,Uo(4,4,um.bind(null,a,n),d)}function Od(){}function kl(n,a){var d=Gr();a=a===void 0?null:a;var y=d.memoizedState;return y!==null&&a!==null&&fs(a,y[1])?y[0]:(d.memoizedState=[n,a],n)}function yi(n,a){var d=Gr();a=a===void 0?null:a;var y=d.memoizedState;return y!==null&&a!==null&&fs(a,y[1])?y[0]:(n=n(),d.memoizedState=[n,a],n)}function Hr(n,a,d){return cs&21?(Sa(d,a)||(d=Fc(),ln.lanes|=d,bs|=d,n.baseState=!0),a):(n.baseState&&(n.baseState=!1,xn=!0),n.memoizedState=d)}function h2(n,a){var d=Ht;Ht=d!==0&&4>d?d:4,n(!0);var y=lm.transition;lm.transition={};try{n(!1),a()}finally{Ht=d,lm.transition=y}}function Xt(){return Gr().memoizedState}function xd(n,a,d){var y=ca(n);if(d={lane:y,action:d,hasEagerState:!1,eagerState:null,next:null},bl(n))Uu(a,d);else if(d=Bh(n,a,d,y),d!==null){var w=en();da(d,n,y,w),qh(d,a,y)}}function Ld(n,a,d){var y=ca(n),w={lane:y,action:d,hasEagerState:!1,eagerState:null,next:null};if(bl(n))Uu(a,w);else{var E=n.alternate;if(n.lanes===0&&(E===null||E.lanes===0)&&(E=a.lastRenderedReducer,E!==null))try{var L=a.lastRenderedState,B=E(L,d);if(w.hasEagerState=!0,w.eagerState=B,Sa(B,L)){var Y=a.interleaved;Y===null?(w.next=w,rm(a)):(w.next=Y.next,Y.next=w),a.interleaved=w;return}}catch{}finally{}d=Bh(n,a,w,y),d!==null&&(w=en(),da(d,n,y,w),qh(d,a,y))}}function bl(n){var a=n.alternate;return n===ln||a!==null&&a===ln}function Uu(n,a){uo=ut=!0;var d=n.pending;d===null?a.next=a:(a.next=d.next,d.next=a),n.pending=a}function qh(n,a,d){if(d&4194240){var y=a.lanes;y&=n.pendingLanes,d|=y,a.lanes=d,uu(n,d)}}var Rd={readContext:Sn,useCallback:un,useContext:un,useEffect:un,useImperativeHandle:un,useInsertionEffect:un,useLayoutEffect:un,useMemo:un,useReducer:un,useRef:un,useState:un,useDebugValue:un,useDeferredValue:un,useTransition:un,useMutableSource:un,useSyncExternalStore:un,useId:un,unstable_isNewReconciler:!1},g2={readContext:Sn,useCallback:function(n,a){return Aa().memoizedState=[n,a===void 0?null:a],n},useContext:Sn,useEffect:_d,useImperativeHandle:function(n,a,d){return d=d!=null?d.concat([n]):null,gs(4194308,4,um.bind(null,a,n),d)},useLayoutEffect:function(n,a){return gs(4194308,4,n,a)},useInsertionEffect:function(n,a){return gs(4,2,n,a)},useMemo:function(n,a){var d=Aa();return a=a===void 0?null:a,n=n(),d.memoizedState=[n,a],n},useReducer:function(n,a,d){var y=Aa();return a=d!==void 0?d(a):a,y.memoizedState=y.baseState=a,n={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:n,lastRenderedState:a},y.queue=n,n=n.dispatch=xd.bind(null,ln,n),[y.memoizedState,n]},useRef:function(n){var a=Aa();return n={current:n},a.memoizedState=n},useState:Md,useDebugValue:Od,useDeferredValue:function(n){return Aa().memoizedState=n},useTransition:function(){var n=Md(!1),a=n[0];return n=h2.bind(null,n[1]),Aa().memoizedState=n,[a,n]},useMutableSource:function(){},useSyncExternalStore:function(n,a,d){var y=ln,w=Aa();if(sn){if(d===void 0)throw Error(s(407));d=d()}else{if(d=a(),Ln===null)throw Error(s(349));cs&30||bd(y,a,d)}w.memoizedState=d;var E={value:d,getSnapshot:a};return w.queue=E,_d(Sd.bind(null,y,E,n),[n]),y.flags|=2048,hs(9,wd.bind(null,y,E,d,a),void 0,null),d},useId:function(){var n=Aa(),a=Ln.identifierPrefix;if(sn){var d=Ro,y=nr;d=(y&~(1<<32-ka(y)-1)).toString(32)+d,a=":"+a+"R"+d,d=sa++,0<d&&(a+="H"+d.toString(32)),a+=":"}else d=ds++,a=":"+a+"r"+d.toString(32)+":";return n.memoizedState=a},unstable_isNewReconciler:!1},y2={readContext:Sn,useCallback:kl,useContext:Sn,useEffect:Pu,useImperativeHandle:Tl,useInsertionEffect:Cd,useLayoutEffect:Ad,useMemo:yi,useReducer:Ru,useRef:Id,useState:function(){return Ru(ms)},useDebugValue:Od,useDeferredValue:function(n){var a=Gr();return Hr(a,he.memoizedState,n)},useTransition:function(){var n=Ru(ms)[0],a=Gr().memoizedState;return[n,a]},useMutableSource:Td,useSyncExternalStore:kd,useId:Xt,unstable_isNewReconciler:!1},cm={readContext:Sn,useCallback:kl,useContext:Sn,useEffect:Pu,useImperativeHandle:Tl,useInsertionEffect:Cd,useLayoutEffect:Ad,useMemo:yi,useReducer:Du,useRef:Id,useState:function(){return Du(ms)},useDebugValue:Od,useDeferredValue:function(n){var a=Gr();return he===null?a.memoizedState=n:Hr(a,he.memoizedState,n)},useTransition:function(){var n=Du(ms)[0],a=Gr().memoizedState;return[n,a]},useMutableSource:Td,useSyncExternalStore:kd,useId:Xt,unstable_isNewReconciler:!1};function wl(n,a){try{var d="",y=a;do d+=Ze(y),y=y.return;while(y);var w=d}catch(E){w=`
37
37
  Error generating stack: `+E.message+`
38
- `+E.stack}return{value:n,source:a,stack:w,digest:null}}function ju(n,a,d){return{value:n,source:null,stack:d??null,digest:a??null}}function Dd(n,a){try{console.error(a.value)}catch(d){setTimeout(function(){throw d})}}var v2=typeof WeakMap=="function"?WeakMap:Map;function Wh(n,a,d){d=Po(-1,d),d.tag=3,d.payload={element:null};var y=a.value;return d.callback=function(){ki||(ki=!0,Hu=y),Dd(n,a)},d}function zu(n,a,d){d=Po(-1,d),d.tag=3;var y=n.type.getDerivedStateFromError;if(typeof y=="function"){var w=a.value;d.payload=function(){return y(w)},d.callback=function(){Dd(n,a)}}var E=n.stateNode;return E!==null&&typeof E.componentDidCatch=="function"&&(d.callback=function(){Dd(n,a),typeof y!="function"&&(La===null?La=new Set([this]):La.add(this));var L=a.stack;this.componentDidCatch(a.value,{componentStack:L!==null?L:""})}),d}function Kh(n,a,d){var y=n.pingCache;if(y===null){y=n.pingCache=new v2;var w=new Set;y.set(a,w)}else w=y.get(a),w===void 0&&(w=new Set,y.set(a,w));w.has(d)||(w.add(d),n=Em.bind(null,n,a,d),a.then(n,n))}function dm(n){do{var a;if((a=n.tag===13)&&(a=n.memoizedState,a=a!==null?a.dehydrated!==null:!0),a)return n;n=n.return}while(n!==null);return null}function fm(n,a,d,y,w){return n.mode&1?(n.flags|=65536,n.lanes=w,n):(n===a?n.flags|=65536:(n.flags|=128,d.flags|=131072,d.flags&=-52805,d.tag===1&&(d.alternate===null?d.tag=17:(a=Po(-1,1),a.tag=2,pi(d,a,1))),d.lanes|=1),n)}var T2=ue.ReactCurrentOwner,xn=!1;function Un(n,a,d,y){a.child=n===null?$h(a,null,d,y):yl(a,n.child,d,y)}function vi(n,a,d,y,w){d=d.render;var E=a.ref;return Le(a,w),y=gi(n,a,d,y,E,w),d=ps(),n!==null&&!xn?(a.updateQueue=n.updateQueue,a.flags&=-2053,n.lanes&=~w,ar(n,a,w)):(sn&&d&&sd(a),a.flags|=1,Un(n,a,y,w),a.child)}function Pd(n,a,d,y,w){if(n===null){var E=d.type;return typeof E=="function"&&!Mm(E)&&E.defaultProps===void 0&&d.compare===null&&d.defaultProps===void 0?(a.tag=15,a.type=E,$r(n,a,E,y,w)):(n=Kd(d.type,null,y,a,a.mode,w),n.ref=a.ref,n.return=a,a.child=n)}if(E=n.child,!(n.lanes&w)){var L=E.memoizedProps;if(d=d.compare,d=d!==null?d:ku,d(L,y)&&n.ref===a.ref)return ar(n,a,w)}return a.flags|=1,n=Si(E,y),n.ref=a.ref,n.return=a,a.child=n}function $r(n,a,d,y,w){if(n!==null){var E=n.memoizedProps;if(ku(E,y)&&n.ref===a.ref)if(xn=!1,a.pendingProps=y=E,(n.lanes&w)!==0)n.flags&131072&&(xn=!0);else return a.lanes=n.lanes,ar(n,a,w)}return Sl(n,a,d,y,w)}function ys(n,a,d){var y=a.pendingProps,w=y.children,E=n!==null?n.memoizedState:null;if(y.mode==="hidden")if(!(a.mode&1))a.memoizedState={baseLanes:0,cachePool:null,transitions:null},Yt(Il,ua),ua|=d;else{if(!(d&1073741824))return n=E!==null?E.baseLanes|d:d,a.lanes=a.childLanes=1073741824,a.memoizedState={baseLanes:n,cachePool:null,transitions:null},a.updateQueue=null,Yt(Il,ua),ua|=n,null;a.memoizedState={baseLanes:0,cachePool:null,transitions:null},y=E!==null?E.baseLanes:d,Yt(Il,ua),ua|=y}else E!==null?(y=E.baseLanes|d,a.memoizedState=null):y=d,Yt(Il,ua),ua|=y;return Un(n,a,w,d),a.child}function Et(n,a){var d=a.ref;(n===null&&d!==null||n!==null&&n.ref!==d)&&(a.flags|=512,a.flags|=2097152)}function Sl(n,a,d,y,w){var E=fn(d)?Br:mt.current;return E=Na(a,E),Le(a,w),d=gi(n,a,d,y,E,w),y=ps(),n!==null&&!xn?(a.updateQueue=n.updateQueue,a.flags&=-2053,n.lanes&=~w,ar(n,a,w)):(sn&&y&&sd(a),a.flags|=1,Un(n,a,d,w),a.child)}function pm(n,a,d,y,w){if(fn(d)){var E=!0;id(a)}else E=!1;if(Le(a,w),a.stateNode===null)Oa(n,a),Yh(a,d,y),hd(a,d,y,w),y=!0;else if(n===null){var L=a.stateNode,B=a.memoizedProps;L.props=B;var Y=L.context,ie=d.contextType;typeof ie=="object"&&ie!==null?ie=Sn(ie):(ie=fn(d)?Br:mt.current,ie=Na(a,ie));var we=d.getDerivedStateFromProps,Ne=typeof we=="function"||typeof L.getSnapshotBeforeUpdate=="function";Ne||typeof L.UNSAFE_componentWillReceiveProps!="function"&&typeof L.componentWillReceiveProps!="function"||(B!==y||Y!==ie)&&Qh(a,L,y,ie),fi=!1;var Se=a.memoizedState;L.state=Se,mi(a,y,L,w),Y=a.memoizedState,B!==y||Se!==Y||kn.current||fi?(typeof we=="function"&&(im(a,d,we,y),Y=a.memoizedState),(B=fi||Vh(a,d,B,y,Se,Y,ie))?(Ne||typeof L.UNSAFE_componentWillMount!="function"&&typeof L.componentWillMount!="function"||(typeof L.componentWillMount=="function"&&L.componentWillMount(),typeof L.UNSAFE_componentWillMount=="function"&&L.UNSAFE_componentWillMount()),typeof L.componentDidMount=="function"&&(a.flags|=4194308)):(typeof L.componentDidMount=="function"&&(a.flags|=4194308),a.memoizedProps=y,a.memoizedState=Y),L.props=y,L.state=Y,L.context=ie,y=B):(typeof L.componentDidMount=="function"&&(a.flags|=4194308),y=!1)}else{L=a.stateNode,Pn(n,a),B=a.memoizedProps,ie=a.type===a.elementType?B:ia(a.type,B),L.props=ie,Ne=a.pendingProps,Se=L.context,Y=d.contextType,typeof Y=="object"&&Y!==null?Y=Sn(Y):(Y=fn(d)?Br:mt.current,Y=Na(a,Y));var Fe=d.getDerivedStateFromProps;(we=typeof Fe=="function"||typeof L.getSnapshotBeforeUpdate=="function")||typeof L.UNSAFE_componentWillReceiveProps!="function"&&typeof L.componentWillReceiveProps!="function"||(B!==Ne||Se!==Y)&&Qh(a,L,y,Y),fi=!1,Se=a.memoizedState,L.state=Se,mi(a,y,L,w);var qe=a.memoizedState;B!==Ne||Se!==qe||kn.current||fi?(typeof Fe=="function"&&(im(a,d,Fe,y),qe=a.memoizedState),(ie=fi||Vh(a,d,ie,y,Se,qe,Y)||!1)?(we||typeof L.UNSAFE_componentWillUpdate!="function"&&typeof L.componentWillUpdate!="function"||(typeof L.componentWillUpdate=="function"&&L.componentWillUpdate(y,qe,Y),typeof L.UNSAFE_componentWillUpdate=="function"&&L.UNSAFE_componentWillUpdate(y,qe,Y)),typeof L.componentDidUpdate=="function"&&(a.flags|=4),typeof L.getSnapshotBeforeUpdate=="function"&&(a.flags|=1024)):(typeof L.componentDidUpdate!="function"||B===n.memoizedProps&&Se===n.memoizedState||(a.flags|=4),typeof L.getSnapshotBeforeUpdate!="function"||B===n.memoizedProps&&Se===n.memoizedState||(a.flags|=1024),a.memoizedProps=y,a.memoizedState=qe),L.props=y,L.state=qe,L.context=Y,y=ie):(typeof L.componentDidUpdate!="function"||B===n.memoizedProps&&Se===n.memoizedState||(a.flags|=4),typeof L.getSnapshotBeforeUpdate!="function"||B===n.memoizedProps&&Se===n.memoizedState||(a.flags|=1024),y=!1)}return mm(n,a,d,y,E,w)}function mm(n,a,d,y,w,E){Et(n,a);var L=(a.flags&128)!==0;if(!y&&!L)return w&&Ph(a,d,!1),ar(n,a,E);y=a.stateNode,T2.current=a;var B=L&&typeof d.getDerivedStateFromError!="function"?null:y.render();return a.flags|=1,n!==null&&L?(a.child=yl(a,n.child,null,E),a.child=yl(a,null,B,E)):Un(n,a,B,E),a.memoizedState=y.state,w&&Ph(a,d,!0),a.child}function Ud(n){var a=n.stateNode;a.pendingContext?li(n,a.pendingContext,a.pendingContext!==a.context):a.context&&li(n,a.context,!1),sm(n,a.containerInfo)}function El(n,a,d,y,w){return mn(),em(w),a.flags|=256,Un(n,a,d,y),a.child}var hm={dehydrated:null,treeContext:null,retryLane:0};function jd(n){return{baseLanes:n,cachePool:null,transitions:null}}function Zh(n,a,d){var y=a.pendingProps,w=lt.current,E=!1,L=(a.flags&128)!==0,B;if((B=L)||(B=n!==null&&n.memoizedState===null?!1:(w&2)!==0),B?(E=!0,a.flags&=-129):(n===null||n.memoizedState!==null)&&(w|=1),Yt(lt,w&1),n===null)return ud(a),n=a.memoizedState,n!==null&&(n=n.dehydrated,n!==null)?(a.mode&1?n.data==="$!"?a.lanes=8:a.lanes=1073741824:a.lanes=1,null):(L=y.children,n=y.fallback,E?(y=a.mode,E=a.child,L={mode:"hidden",children:L},!(y&1)&&E!==null?(E.childLanes=0,E.pendingProps=L):E=Ll(L,y,0,null),n=Ei(n,y,d,null),E.return=a,n.return=a,E.sibling=n,a.child=E,a.child.memoizedState=jd(d),a.memoizedState=hm,n):Bu(a,L));if(w=n.memoizedState,w!==null&&(B=w.dehydrated,B!==null))return Jh(n,a,L,y,B,w,d);if(E){E=y.fallback,L=a.mode,w=n.child,B=w.sibling;var Y={mode:"hidden",children:y.children};return!(L&1)&&a.child!==w?(y=a.child,y.childLanes=0,y.pendingProps=Y,a.deletions=null):(y=Si(w,Y),y.subtreeFlags=w.subtreeFlags&14680064),B!==null?E=Si(B,E):(E=Ei(E,L,d,null),E.flags|=2),E.return=a,y.return=a,y.sibling=E,a.child=y,y=E,E=a.child,L=n.child.memoizedState,L=L===null?jd(d):{baseLanes:L.baseLanes|d,cachePool:null,transitions:L.transitions},E.memoizedState=L,E.childLanes=n.childLanes&~d,a.memoizedState=hm,y}return E=n.child,n=E.sibling,y=Si(E,{mode:"visible",children:y.children}),!(a.mode&1)&&(y.lanes=d),y.return=a,y.sibling=null,n!==null&&(d=a.deletions,d===null?(a.deletions=[n],a.flags|=16):d.push(n)),a.child=y,a.memoizedState=null,y}function Bu(n,a){return a=Ll({mode:"visible",children:a},n.mode,0,null),a.return=n,n.child=a}function zd(n,a,d,y){return y!==null&&em(y),yl(a,n.child,null,d),n=Bu(a,a.pendingProps.children),n.flags|=2,a.memoizedState=null,n}function Jh(n,a,d,y,w,E,L){if(d)return a.flags&256?(a.flags&=-257,y=ju(Error(s(422))),zd(n,a,L,y)):a.memoizedState!==null?(a.child=n.child,a.flags|=128,null):(E=y.fallback,w=a.mode,y=Ll({mode:"visible",children:y.children},w,0,null),E=Ei(E,w,L,null),E.flags|=2,y.return=a,E.return=a,y.sibling=E,a.child=y,a.mode&1&&yl(a,n.child,null,L),a.child.memoizedState=jd(L),a.memoizedState=hm,E);if(!(a.mode&1))return zd(n,a,L,null);if(w.data==="$!"){if(y=w.nextSibling&&w.nextSibling.dataset,y)var B=y.dgst;return y=B,E=Error(s(419)),y=ju(E,y,void 0),zd(n,a,L,y)}if(B=(L&n.childLanes)!==0,xn||B){if(y=Ln,y!==null){switch(L&-L){case 4:w=2;break;case 16:w=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:w=32;break;case 536870912:w=268435456;break;default:w=0}w=w&(y.suspendedLanes|L)?0:w,w!==0&&w!==E.retryLane&&(E.retryLane=w,Do(n,w),da(y,n,w,-1))}return wm(),y=ju(Error(s(421))),zd(n,a,L,y)}return w.data==="$?"?(a.flags|=128,a.child=n.child,a=N2.bind(null,n),w._reactRetry=a,null):(n=E.treeContext,Qr=Ka(w.nextSibling),oa=a,sn=!0,_a=null,n!==null&&(Yr[yr++]=nr,Yr[yr++]=Ro,Yr[yr++]=Ia,nr=n.id,Ro=n.overflow,Ia=a),a=Bu(a,y.children),a.flags|=4096,a)}function gm(n,a,d){n.lanes|=a;var y=n.alternate;y!==null&&(y.lanes|=a),Kn(n.return,a,d)}function Bd(n,a,d,y,w){var E=n.memoizedState;E===null?n.memoizedState={isBackwards:a,rendering:null,renderingStartTime:0,last:y,tail:d,tailMode:w}:(E.isBackwards=a,E.rendering=null,E.renderingStartTime=0,E.last=y,E.tail=d,E.tailMode=w)}function qr(n,a,d){var y=a.pendingProps,w=y.revealOrder,E=y.tail;if(Un(n,a,y.children,d),y=lt.current,y&2)y=y&1|2,a.flags|=128;else{if(n!==null&&n.flags&128)e:for(n=a.child;n!==null;){if(n.tag===13)n.memoizedState!==null&&gm(n,d,a);else if(n.tag===19)gm(n,d,a);else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===a)break e;for(;n.sibling===null;){if(n.return===null||n.return===a)break e;n=n.return}n.sibling.return=n.return,n=n.sibling}y&=1}if(Yt(lt,y),!(a.mode&1))a.memoizedState=null;else switch(w){case"forwards":for(d=a.child,w=null;d!==null;)n=d.alternate,n!==null&&hn(n)===null&&(w=d),d=d.sibling;d=w,d===null?(w=a.child,a.child=null):(w=d.sibling,d.sibling=null),Bd(a,!1,w,d,E);break;case"backwards":for(d=null,w=a.child,a.child=null;w!==null;){if(n=w.alternate,n!==null&&hn(n)===null){a.child=w;break}n=w.sibling,w.sibling=d,d=w,w=n}Bd(a,!0,d,null,E);break;case"together":Bd(a,!1,null,null,void 0);break;default:a.memoizedState=null}return a.child}function Oa(n,a){!(a.mode&1)&&n!==null&&(n.alternate=null,a.alternate=null,a.flags|=2)}function ar(n,a,d){if(n!==null&&(a.dependencies=n.dependencies),bs|=a.lanes,!(d&a.childLanes))return null;if(n!==null&&a.child!==n.child)throw Error(s(153));if(a.child!==null){for(n=a.child,d=Si(n,n.pendingProps),a.child=d,d.return=a;n.sibling!==null;)n=n.sibling,d=d.sibling=Si(n,n.pendingProps),d.return=a;d.sibling=null}return a.child}function Fd(n,a,d){switch(a.tag){case 3:Ud(a),mn();break;case 5:st(a);break;case 1:fn(a.type)&&id(a);break;case 4:sm(a,a.stateNode.containerInfo);break;case 10:var y=a.type._context,w=a.memoizedProps.value;Yt(lo,y._currentValue),y._currentValue=w;break;case 13:if(y=a.memoizedState,y!==null)return y.dehydrated!==null?(Yt(lt,lt.current&1),a.flags|=128,null):d&a.child.childLanes?Zh(n,a,d):(Yt(lt,lt.current&1),n=ar(n,a,d),n!==null?n.sibling:null);Yt(lt,lt.current&1);break;case 19:if(y=(d&a.childLanes)!==0,n.flags&128){if(y)return qr(n,a,d);a.flags|=128}if(w=a.memoizedState,w!==null&&(w.rendering=null,w.tail=null,w.lastEffect=null),Yt(lt,lt.current),y)break;return null;case 22:case 23:return a.lanes=0,ys(n,a,d)}return ar(n,a,d)}var Nl,la,jn,Xh;Nl=function(n,a){for(var d=a.child;d!==null;){if(d.tag===5||d.tag===6)n.appendChild(d.stateNode);else if(d.tag!==4&&d.child!==null){d.child.return=d,d=d.child;continue}if(d===a)break;for(;d.sibling===null;){if(d.return===null||d.return===a)return;d=d.return}d.sibling.return=d.return,d=d.sibling}},la=function(){},jn=function(n,a,d,y){var w=n.memoizedProps;if(w!==y){n=a.stateNode,us(Za.current);var E=null;switch(d){case"input":w=Ct(n,w),y=Ct(n,y),E=[];break;case"select":w=xe({},w,{value:void 0}),y=xe({},y,{value:void 0}),E=[];break;case"textarea":w=Nt(n,w),y=Nt(n,y),E=[];break;default:typeof w.onClick!="function"&&typeof y.onClick=="function"&&(n.onclick=od)}Ie(d,y);var L;d=null;for(ie in w)if(!y.hasOwnProperty(ie)&&w.hasOwnProperty(ie)&&w[ie]!=null)if(ie==="style"){var B=w[ie];for(L in B)B.hasOwnProperty(L)&&(d||(d={}),d[L]="")}else ie!=="dangerouslySetInnerHTML"&&ie!=="children"&&ie!=="suppressContentEditableWarning"&&ie!=="suppressHydrationWarning"&&ie!=="autoFocus"&&(p.hasOwnProperty(ie)?E||(E=[]):(E=E||[]).push(ie,null));for(ie in y){var Y=y[ie];if(B=w!=null?w[ie]:void 0,y.hasOwnProperty(ie)&&Y!==B&&(Y!=null||B!=null))if(ie==="style")if(B){for(L in B)!B.hasOwnProperty(L)||Y&&Y.hasOwnProperty(L)||(d||(d={}),d[L]="");for(L in Y)Y.hasOwnProperty(L)&&B[L]!==Y[L]&&(d||(d={}),d[L]=Y[L])}else d||(E||(E=[]),E.push(ie,d)),d=Y;else ie==="dangerouslySetInnerHTML"?(Y=Y?Y.__html:void 0,B=B?B.__html:void 0,Y!=null&&B!==Y&&(E=E||[]).push(ie,Y)):ie==="children"?typeof Y!="string"&&typeof Y!="number"||(E=E||[]).push(ie,""+Y):ie!=="suppressContentEditableWarning"&&ie!=="suppressHydrationWarning"&&(p.hasOwnProperty(ie)?(Y!=null&&ie==="onScroll"&&Jt("scroll",n),E||B===Y||(E=[])):(E=E||[]).push(ie,Y))}d&&(E=E||[]).push("style",d);var ie=E;(a.updateQueue=ie)&&(a.flags|=4)}},Xh=function(n,a,d,y){d!==y&&(a.flags|=4)};function Fu(n,a){if(!sn)switch(n.tailMode){case"hidden":a=n.tail;for(var d=null;a!==null;)a.alternate!==null&&(d=a),a=a.sibling;d===null?n.tail=null:d.sibling=null;break;case"collapsed":d=n.tail;for(var y=null;d!==null;)d.alternate!==null&&(y=d),d=d.sibling;y===null?a||n.tail===null?n.tail=null:n.tail.sibling=null:y.sibling=null}}function vr(n){var a=n.alternate!==null&&n.alternate.child===n.child,d=0,y=0;if(a)for(var w=n.child;w!==null;)d|=w.lanes|w.childLanes,y|=w.subtreeFlags&14680064,y|=w.flags&14680064,w.return=n,w=w.sibling;else for(w=n.child;w!==null;)d|=w.lanes|w.childLanes,y|=w.subtreeFlags,y|=w.flags,w.return=n,w=w.sibling;return n.subtreeFlags|=y,n.childLanes=d,a}function ym(n,a,d){var y=a.pendingProps;switch(Jp(a),a.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return vr(a),null;case 1:return fn(a.type)&&Ma(),vr(a),null;case 3:return y=a.stateNode,hi(),Vt(kn),Vt(mt),yd(),y.pendingContext&&(y.context=y.pendingContext,y.pendingContext=null),(n===null||n.child===null)&&(cd(a)?a.flags|=4:n===null||n.memoizedState.isDehydrated&&!(a.flags&256)||(a.flags|=1024,_a!==null&&(Ku(_a),_a=null))),la(n,a),vr(a),null;case 5:Ot(a);var w=us(vl.current);if(d=a.type,n!==null&&a.stateNode!=null)jn(n,a,d,y,w),n.ref!==a.ref&&(a.flags|=512,a.flags|=2097152);else{if(!y){if(a.stateNode===null)throw Error(s(166));return vr(a),null}if(n=us(Za.current),cd(a)){y=a.stateNode,d=a.type;var E=a.memoizedProps;switch(y[io]=a,y[is]=E,n=(a.mode&1)!==0,d){case"dialog":Jt("cancel",y),Jt("close",y);break;case"iframe":case"object":case"embed":Jt("load",y);break;case"video":case"audio":for(w=0;w<Eu.length;w++)Jt(Eu[w],y);break;case"source":Jt("error",y);break;case"img":case"image":case"link":Jt("error",y),Jt("load",y);break;case"details":Jt("toggle",y);break;case"input":yn(y,E),Jt("invalid",y);break;case"select":y._wrapperState={wasMultiple:!!E.multiple},Jt("invalid",y);break;case"textarea":_n(y,E),Jt("invalid",y)}Ie(d,E),w=null;for(var L in E)if(E.hasOwnProperty(L)){var B=E[L];L==="children"?typeof B=="string"?y.textContent!==B&&(E.suppressHydrationWarning!==!0&&ad(y.textContent,B,n),w=["children",B]):typeof B=="number"&&y.textContent!==""+B&&(E.suppressHydrationWarning!==!0&&ad(y.textContent,B,n),w=["children",""+B]):p.hasOwnProperty(L)&&B!=null&&L==="onScroll"&&Jt("scroll",y)}switch(d){case"input":Gt(y),tr(y,E,!0);break;case"textarea":Gt(y),At(y);break;case"select":case"option":break;default:typeof E.onClick=="function"&&(y.onclick=od)}y=w,a.updateQueue=y,y!==null&&(a.flags|=4)}else{L=w.nodeType===9?w:w.ownerDocument,n==="http://www.w3.org/1999/xhtml"&&(n=jr(d)),n==="http://www.w3.org/1999/xhtml"?d==="script"?(n=L.createElement("div"),n.innerHTML="<script><\/script>",n=n.removeChild(n.firstChild)):typeof y.is=="string"?n=L.createElement(d,{is:y.is}):(n=L.createElement(d),d==="select"&&(L=n,y.multiple?L.multiple=!0:y.size&&(L.size=y.size))):n=L.createElementNS(n,d),n[io]=a,n[is]=y,Nl(n,a,!1,!1),a.stateNode=n;e:{switch(L=Ae(d,y),d){case"dialog":Jt("cancel",n),Jt("close",n),w=y;break;case"iframe":case"object":case"embed":Jt("load",n),w=y;break;case"video":case"audio":for(w=0;w<Eu.length;w++)Jt(Eu[w],n);w=y;break;case"source":Jt("error",n),w=y;break;case"img":case"image":case"link":Jt("error",n),Jt("load",n),w=y;break;case"details":Jt("toggle",n),w=y;break;case"input":yn(n,y),w=Ct(n,y),Jt("invalid",n);break;case"option":w=y;break;case"select":n._wrapperState={wasMultiple:!!y.multiple},w=xe({},y,{value:void 0}),Jt("invalid",n);break;case"textarea":_n(n,y),w=Nt(n,y),Jt("invalid",n);break;default:w=y}Ie(d,w),B=w;for(E in B)if(B.hasOwnProperty(E)){var Y=B[E];E==="style"?Te(n,Y):E==="dangerouslySetInnerHTML"?(Y=Y?Y.__html:void 0,Y!=null&&f(n,Y)):E==="children"?typeof Y=="string"?(d!=="textarea"||Y!=="")&&b(n,Y):typeof Y=="number"&&b(n,""+Y):E!=="suppressContentEditableWarning"&&E!=="suppressHydrationWarning"&&E!=="autoFocus"&&(p.hasOwnProperty(E)?Y!=null&&E==="onScroll"&&Jt("scroll",n):Y!=null&&te(n,E,Y,L))}switch(d){case"input":Gt(n),tr(n,y,!1);break;case"textarea":Gt(n),At(n);break;case"option":y.value!=null&&n.setAttribute("value",""+Qe(y.value));break;case"select":n.multiple=!!y.multiple,E=y.value,E!=null?an(n,!!y.multiple,E,!1):y.defaultValue!=null&&an(n,!!y.multiple,y.defaultValue,!0);break;default:typeof w.onClick=="function"&&(n.onclick=od)}switch(d){case"button":case"input":case"select":case"textarea":y=!!y.autoFocus;break e;case"img":y=!0;break e;default:y=!1}}y&&(a.flags|=4)}a.ref!==null&&(a.flags|=512,a.flags|=2097152)}return vr(a),null;case 6:if(n&&a.stateNode!=null)Xh(n,a,n.memoizedProps,y);else{if(typeof y!="string"&&a.stateNode===null)throw Error(s(166));if(d=us(vl.current),us(Za.current),cd(a)){if(y=a.stateNode,d=a.memoizedProps,y[io]=a,(E=y.nodeValue!==d)&&(n=oa,n!==null))switch(n.tag){case 3:ad(y.nodeValue,d,(n.mode&1)!==0);break;case 5:n.memoizedProps.suppressHydrationWarning!==!0&&ad(y.nodeValue,d,(n.mode&1)!==0)}E&&(a.flags|=4)}else y=(d.nodeType===9?d:d.ownerDocument).createTextNode(y),y[io]=a,a.stateNode=y}return vr(a),null;case 13:if(Vt(lt),y=a.memoizedState,n===null||n.memoizedState!==null&&n.memoizedState.dehydrated!==null){if(sn&&Qr!==null&&a.mode&1&&!(a.flags&128))zh(),mn(),a.flags|=98560,E=!1;else if(E=cd(a),y!==null&&y.dehydrated!==null){if(n===null){if(!E)throw Error(s(318));if(E=a.memoizedState,E=E!==null?E.dehydrated:null,!E)throw Error(s(317));E[io]=a}else mn(),!(a.flags&128)&&(a.memoizedState=null),a.flags|=4;vr(a),E=!1}else _a!==null&&(Ku(_a),_a=null),E=!0;if(!E)return a.flags&65536?a:null}return a.flags&128?(a.lanes=d,a):(y=y!==null,y!==(n!==null&&n.memoizedState!==null)&&y&&(a.child.flags|=8192,a.mode&1&&(n===null||lt.current&1?zn===0&&(zn=3):wm())),a.updateQueue!==null&&(a.flags|=4),vr(a),null);case 4:return hi(),la(n,a),n===null&&pl(a.stateNode.containerInfo),vr(a),null;case 10:return di(a.type._context),vr(a),null;case 17:return fn(a.type)&&Ma(),vr(a),null;case 19:if(Vt(lt),E=a.memoizedState,E===null)return vr(a),null;if(y=(a.flags&128)!==0,L=E.rendering,L===null)if(y)Fu(E,!1);else{if(zn!==0||n!==null&&n.flags&128)for(n=a.child;n!==null;){if(L=hn(n),L!==null){for(a.flags|=128,Fu(E,!1),y=L.updateQueue,y!==null&&(a.updateQueue=y,a.flags|=4),a.subtreeFlags=0,y=d,d=a.child;d!==null;)E=d,n=y,E.flags&=14680066,L=E.alternate,L===null?(E.childLanes=0,E.lanes=n,E.child=null,E.subtreeFlags=0,E.memoizedProps=null,E.memoizedState=null,E.updateQueue=null,E.dependencies=null,E.stateNode=null):(E.childLanes=L.childLanes,E.lanes=L.lanes,E.child=L.child,E.subtreeFlags=0,E.deletions=null,E.memoizedProps=L.memoizedProps,E.memoizedState=L.memoizedState,E.updateQueue=L.updateQueue,E.type=L.type,n=L.dependencies,E.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext}),d=d.sibling;return Yt(lt,lt.current&1|2),a.child}n=n.sibling}E.tail!==null&&Tn()>Cl&&(a.flags|=128,y=!0,Fu(E,!1),a.lanes=4194304)}else{if(!y)if(n=hn(L),n!==null){if(a.flags|=128,y=!0,d=n.updateQueue,d!==null&&(a.updateQueue=d,a.flags|=4),Fu(E,!0),E.tail===null&&E.tailMode==="hidden"&&!L.alternate&&!sn)return vr(a),null}else 2*Tn()-E.renderingStartTime>Cl&&d!==1073741824&&(a.flags|=128,y=!0,Fu(E,!1),a.lanes=4194304);E.isBackwards?(L.sibling=a.child,a.child=L):(d=E.last,d!==null?d.sibling=L:a.child=L,E.last=L)}return E.tail!==null?(a=E.tail,E.rendering=a,E.tail=a.sibling,E.renderingStartTime=Tn(),a.sibling=null,d=lt.current,Yt(lt,y?d&1|2:d&1),a):(vr(a),null);case 22:case 23:return bm(),y=a.memoizedState!==null,n!==null&&n.memoizedState!==null!==y&&(a.flags|=8192),y&&a.mode&1?ua&1073741824&&(vr(a),a.subtreeFlags&6&&(a.flags|=8192)):vr(a),null;case 24:return null;case 25:return null}throw Error(s(156,a.tag))}function eg(n,a){switch(Jp(a),a.tag){case 1:return fn(a.type)&&Ma(),n=a.flags,n&65536?(a.flags=n&-65537|128,a):null;case 3:return hi(),Vt(kn),Vt(mt),yd(),n=a.flags,n&65536&&!(n&128)?(a.flags=n&-65537|128,a):null;case 5:return Ot(a),null;case 13:if(Vt(lt),n=a.memoizedState,n!==null&&n.dehydrated!==null){if(a.alternate===null)throw Error(s(340));mn()}return n=a.flags,n&65536?(a.flags=n&-65537|128,a):null;case 19:return Vt(lt),null;case 4:return hi(),null;case 10:return di(a.type._context),null;case 22:case 23:return bm(),null;case 24:return null;default:return null}}var vs=!1,or=!1,k2=typeof WeakSet=="function"?WeakSet:Set,Ge=null;function Ti(n,a){var d=n.ref;if(d!==null)if(typeof d=="function")try{d(null)}catch(y){bn(n,a,y)}else d.current=null}function tg(n,a,d){try{d()}catch(y){bn(n,a,y)}}var vm=!1;function b2(n,a){if(Qp=Xi,n=Xc(),Ao(n)){if("selectionStart"in n)var d={start:n.selectionStart,end:n.selectionEnd};else e:{d=(d=n.ownerDocument)&&d.defaultView||window;var y=d.getSelection&&d.getSelection();if(y&&y.rangeCount!==0){d=y.anchorNode;var w=y.anchorOffset,E=y.focusNode;y=y.focusOffset;try{d.nodeType,E.nodeType}catch{d=null;break e}var L=0,B=-1,Y=-1,ie=0,we=0,Ne=n,Se=null;t:for(;;){for(var Fe;Ne!==d||w!==0&&Ne.nodeType!==3||(B=L+w),Ne!==E||y!==0&&Ne.nodeType!==3||(Y=L+y),Ne.nodeType===3&&(L+=Ne.nodeValue.length),(Fe=Ne.firstChild)!==null;)Se=Ne,Ne=Fe;for(;;){if(Ne===n)break t;if(Se===d&&++ie===w&&(B=L),Se===E&&++we===y&&(Y=L),(Fe=Ne.nextSibling)!==null)break;Ne=Se,Se=Ne.parentNode}Ne=Fe}d=B===-1||Y===-1?null:{start:B,end:Y}}else d=null}d=d||{start:0,end:0}}else d=null;for(as={focusedElem:n,selectionRange:d},Xi=!1,Ge=a;Ge!==null;)if(a=Ge,n=a.child,(a.subtreeFlags&1028)!==0&&n!==null)n.return=a,Ge=n;else for(;Ge!==null;){a=Ge;try{var qe=a.alternate;if(a.flags&1024)switch(a.tag){case 0:case 11:case 15:break;case 1:if(qe!==null){var Je=qe.memoizedProps,Nn=qe.memoizedState,X=a.stateNode,$=X.getSnapshotBeforeUpdate(a.elementType===a.type?Je:ia(a.type,Je),Nn);X.__reactInternalSnapshotBeforeUpdate=$}break;case 3:var re=a.stateNode.containerInfo;re.nodeType===1?re.textContent="":re.nodeType===9&&re.documentElement&&re.removeChild(re.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(s(163))}}catch(Oe){bn(a,a.return,Oe)}if(n=a.sibling,n!==null){n.return=a.return,Ge=n;break}Ge=a.return}return qe=vm,vm=!1,qe}function Ml(n,a,d){var y=a.updateQueue;if(y=y!==null?y.lastEffect:null,y!==null){var w=y=y.next;do{if((w.tag&n)===n){var E=w.destroy;w.destroy=void 0,E!==void 0&&tg(a,d,E)}w=w.next}while(w!==y)}}function Vd(n,a){if(a=a.updateQueue,a=a!==null?a.lastEffect:null,a!==null){var d=a=a.next;do{if((d.tag&n)===n){var y=d.create;d.destroy=y()}d=d.next}while(d!==a)}}function Yd(n){var a=n.ref;if(a!==null){var d=n.stateNode;switch(n.tag){case 5:n=d;break;default:n=d}typeof a=="function"?a(n):a.current=n}}function ng(n){var a=n.alternate;a!==null&&(n.alternate=null,ng(a)),n.child=null,n.deletions=null,n.sibling=null,n.tag===5&&(a=n.stateNode,a!==null&&(delete a[io],delete a[is],delete a[$p],delete a[m2],delete a[qp])),n.stateNode=null,n.return=null,n.dependencies=null,n.memoizedProps=null,n.memoizedState=null,n.pendingProps=null,n.stateNode=null,n.updateQueue=null}function Qd(n){return n.tag===5||n.tag===3||n.tag===4}function Vu(n){e:for(;;){for(;n.sibling===null;){if(n.return===null||Qd(n.return))return null;n=n.return}for(n.sibling.return=n.return,n=n.sibling;n.tag!==5&&n.tag!==6&&n.tag!==18;){if(n.flags&2||n.child===null||n.tag===4)continue e;n.child.return=n,n=n.child}if(!(n.flags&2))return n.stateNode}}function co(n,a,d){var y=n.tag;if(y===5||y===6)n=n.stateNode,a?d.nodeType===8?d.parentNode.insertBefore(n,a):d.insertBefore(n,a):(d.nodeType===8?(a=d.parentNode,a.insertBefore(n,d)):(a=d,a.appendChild(n)),d=d._reactRootContainer,d!=null||a.onclick!==null||(a.onclick=od));else if(y!==4&&(n=n.child,n!==null))for(co(n,a,d),n=n.sibling;n!==null;)co(n,a,d),n=n.sibling}function fo(n,a,d){var y=n.tag;if(y===5||y===6)n=n.stateNode,a?d.insertBefore(n,a):d.appendChild(n);else if(y!==4&&(n=n.child,n!==null))for(fo(n,a,d),n=n.sibling;n!==null;)fo(n,a,d),n=n.sibling}var pn=null,Nr=!1;function xa(n,a,d){for(d=d.child;d!==null;)jo(n,a,d),d=d.sibling}function jo(n,a,d){if(Ga&&typeof Ga.onCommitFiberUnmount=="function")try{Ga.onCommitFiberUnmount(lu,d)}catch{}switch(d.tag){case 5:or||Ti(d,a);case 6:var y=pn,w=Nr;pn=null,xa(n,a,d),pn=y,Nr=w,pn!==null&&(Nr?(n=pn,d=d.stateNode,n.nodeType===8?n.parentNode.removeChild(d):n.removeChild(d)):pn.removeChild(d.stateNode));break;case 18:pn!==null&&(Nr?(n=pn,d=d.stateNode,n.nodeType===8?oi(n.parentNode,d):n.nodeType===1&&oi(n,d),pu(n)):oi(pn,d.stateNode));break;case 4:y=pn,w=Nr,pn=d.stateNode.containerInfo,Nr=!0,xa(n,a,d),pn=y,Nr=w;break;case 0:case 11:case 14:case 15:if(!or&&(y=d.updateQueue,y!==null&&(y=y.lastEffect,y!==null))){w=y=y.next;do{var E=w,L=E.destroy;E=E.tag,L!==void 0&&(E&2||E&4)&&tg(d,a,L),w=w.next}while(w!==y)}xa(n,a,d);break;case 1:if(!or&&(Ti(d,a),y=d.stateNode,typeof y.componentWillUnmount=="function"))try{y.props=d.memoizedProps,y.state=d.memoizedState,y.componentWillUnmount()}catch(B){bn(d,a,B)}xa(n,a,d);break;case 21:xa(n,a,d);break;case 22:d.mode&1?(or=(y=or)||d.memoizedState!==null,xa(n,a,d),or=y):xa(n,a,d);break;default:xa(n,a,d)}}function rg(n){var a=n.updateQueue;if(a!==null){n.updateQueue=null;var d=n.stateNode;d===null&&(d=n.stateNode=new k2),a.forEach(function(y){var w=M2.bind(null,n,y);d.has(y)||(d.add(y),y.then(w,w))})}}function Ja(n,a){var d=a.deletions;if(d!==null)for(var y=0;y<d.length;y++){var w=d[y];try{var E=n,L=a,B=L;e:for(;B!==null;){switch(B.tag){case 5:pn=B.stateNode,Nr=!1;break e;case 3:pn=B.stateNode.containerInfo,Nr=!0;break e;case 4:pn=B.stateNode.containerInfo,Nr=!0;break e}B=B.return}if(pn===null)throw Error(s(160));jo(E,L,w),pn=null,Nr=!1;var Y=w.alternate;Y!==null&&(Y.return=null),w.return=null}catch(ie){bn(w,a,ie)}}if(a.subtreeFlags&12854)for(a=a.child;a!==null;)ag(a,n),a=a.sibling}function ag(n,a){var d=n.alternate,y=n.flags;switch(n.tag){case 0:case 11:case 14:case 15:if(Ja(a,n),Xa(n),y&4){try{Ml(3,n,n.return),Vd(3,n)}catch(Je){bn(n,n.return,Je)}try{Ml(5,n,n.return)}catch(Je){bn(n,n.return,Je)}}break;case 1:Ja(a,n),Xa(n),y&512&&d!==null&&Ti(d,d.return);break;case 5:if(Ja(a,n),Xa(n),y&512&&d!==null&&Ti(d,d.return),n.flags&32){var w=n.stateNode;try{b(w,"")}catch(Je){bn(n,n.return,Je)}}if(y&4&&(w=n.stateNode,w!=null)){var E=n.memoizedProps,L=d!==null?d.memoizedProps:E,B=n.type,Y=n.updateQueue;if(n.updateQueue=null,Y!==null)try{B==="input"&&E.type==="radio"&&E.name!=null&&In(w,E),Ae(B,L);var ie=Ae(B,E);for(L=0;L<Y.length;L+=2){var we=Y[L],Ne=Y[L+1];we==="style"?Te(w,Ne):we==="dangerouslySetInnerHTML"?f(w,Ne):we==="children"?b(w,Ne):te(w,we,Ne,ie)}switch(B){case"input":nn(w,E);break;case"textarea":ta(w,E);break;case"select":var Se=w._wrapperState.wasMultiple;w._wrapperState.wasMultiple=!!E.multiple;var Fe=E.value;Fe!=null?an(w,!!E.multiple,Fe,!1):Se!==!!E.multiple&&(E.defaultValue!=null?an(w,!!E.multiple,E.defaultValue,!0):an(w,!!E.multiple,E.multiple?[]:"",!1))}w[is]=E}catch(Je){bn(n,n.return,Je)}}break;case 6:if(Ja(a,n),Xa(n),y&4){if(n.stateNode===null)throw Error(s(162));w=n.stateNode,E=n.memoizedProps;try{w.nodeValue=E}catch(Je){bn(n,n.return,Je)}}break;case 3:if(Ja(a,n),Xa(n),y&4&&d!==null&&d.memoizedState.isDehydrated)try{pu(a.containerInfo)}catch(Je){bn(n,n.return,Je)}break;case 4:Ja(a,n),Xa(n);break;case 13:Ja(a,n),Xa(n),w=n.child,w.flags&8192&&(E=w.memoizedState!==null,w.stateNode.isHidden=E,!E||w.alternate!==null&&w.alternate.memoizedState!==null||(km=Tn())),y&4&&rg(n);break;case 22:if(we=d!==null&&d.memoizedState!==null,n.mode&1?(or=(ie=or)||we,Ja(a,n),or=ie):Ja(a,n),Xa(n),y&8192){if(ie=n.memoizedState!==null,(n.stateNode.isHidden=ie)&&!we&&n.mode&1)for(Ge=n,we=n.child;we!==null;){for(Ne=Ge=we;Ge!==null;){switch(Se=Ge,Fe=Se.child,Se.tag){case 0:case 11:case 14:case 15:Ml(4,Se,Se.return);break;case 1:Ti(Se,Se.return);var qe=Se.stateNode;if(typeof qe.componentWillUnmount=="function"){y=Se,d=Se.return;try{a=y,qe.props=a.memoizedProps,qe.state=a.memoizedState,qe.componentWillUnmount()}catch(Je){bn(y,d,Je)}}break;case 5:Ti(Se,Se.return);break;case 22:if(Se.memoizedState!==null){ig(Ne);continue}}Fe!==null?(Fe.return=Se,Ge=Fe):ig(Ne)}we=we.sibling}e:for(we=null,Ne=n;;){if(Ne.tag===5){if(we===null){we=Ne;try{w=Ne.stateNode,ie?(E=w.style,typeof E.setProperty=="function"?E.setProperty("display","none","important"):E.display="none"):(B=Ne.stateNode,Y=Ne.memoizedProps.style,L=Y!=null&&Y.hasOwnProperty("display")?Y.display:null,B.style.display=U("display",L))}catch(Je){bn(n,n.return,Je)}}}else if(Ne.tag===6){if(we===null)try{Ne.stateNode.nodeValue=ie?"":Ne.memoizedProps}catch(Je){bn(n,n.return,Je)}}else if((Ne.tag!==22&&Ne.tag!==23||Ne.memoizedState===null||Ne===n)&&Ne.child!==null){Ne.child.return=Ne,Ne=Ne.child;continue}if(Ne===n)break e;for(;Ne.sibling===null;){if(Ne.return===null||Ne.return===n)break e;we===Ne&&(we=null),Ne=Ne.return}we===Ne&&(we=null),Ne.sibling.return=Ne.return,Ne=Ne.sibling}}break;case 19:Ja(a,n),Xa(n),y&4&&rg(n);break;case 21:break;default:Ja(a,n),Xa(n)}}function Xa(n){var a=n.flags;if(a&2){try{e:{for(var d=n.return;d!==null;){if(Qd(d)){var y=d;break e}d=d.return}throw Error(s(160))}switch(y.tag){case 5:var w=y.stateNode;y.flags&32&&(b(w,""),y.flags&=-33);var E=Vu(n);fo(n,E,w);break;case 3:case 4:var L=y.stateNode.containerInfo,B=Vu(n);co(n,B,L);break;default:throw Error(s(161))}}catch(Y){bn(n,n.return,Y)}n.flags&=-3}a&4096&&(n.flags&=-4097)}function Yu(n,a,d){Ge=n,og(n)}function og(n,a,d){for(var y=(n.mode&1)!==0;Ge!==null;){var w=Ge,E=w.child;if(w.tag===22&&y){var L=w.memoizedState!==null||vs;if(!L){var B=w.alternate,Y=B!==null&&B.memoizedState!==null||or;B=vs;var ie=or;if(vs=L,(or=Y)&&!ie)for(Ge=w;Ge!==null;)L=Ge,Y=L.child,L.tag===22&&L.memoizedState!==null?Qu(w):Y!==null?(Y.return=L,Ge=Y):Qu(w);for(;E!==null;)Ge=E,og(E),E=E.sibling;Ge=w,vs=B,or=ie}Tm(n)}else w.subtreeFlags&8772&&E!==null?(E.return=w,Ge=E):Tm(n)}}function Tm(n){for(;Ge!==null;){var a=Ge;if(a.flags&8772){var d=a.alternate;try{if(a.flags&8772)switch(a.tag){case 0:case 11:case 15:or||Vd(5,a);break;case 1:var y=a.stateNode;if(a.flags&4&&!or)if(d===null)y.componentDidMount();else{var w=a.elementType===a.type?d.memoizedProps:ia(a.type,d.memoizedProps);y.componentDidUpdate(w,d.memoizedState,y.__reactInternalSnapshotBeforeUpdate)}var E=a.updateQueue;E!==null&&ls(a,E,y);break;case 3:var L=a.updateQueue;if(L!==null){if(d=null,a.child!==null)switch(a.child.tag){case 5:d=a.child.stateNode;break;case 1:d=a.child.stateNode}ls(a,L,d)}break;case 5:var B=a.stateNode;if(d===null&&a.flags&4){d=B;var Y=a.memoizedProps;switch(a.type){case"button":case"input":case"select":case"textarea":Y.autoFocus&&d.focus();break;case"img":Y.src&&(d.src=Y.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(a.memoizedState===null){var ie=a.alternate;if(ie!==null){var we=ie.memoizedState;if(we!==null){var Ne=we.dehydrated;Ne!==null&&pu(Ne)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(s(163))}or||a.flags&512&&Yd(a)}catch(Se){bn(a,a.return,Se)}}if(a===n){Ge=null;break}if(d=a.sibling,d!==null){d.return=a.return,Ge=d;break}Ge=a.return}}function ig(n){for(;Ge!==null;){var a=Ge;if(a===n){Ge=null;break}var d=a.sibling;if(d!==null){d.return=a.return,Ge=d;break}Ge=a.return}}function Qu(n){for(;Ge!==null;){var a=Ge;try{switch(a.tag){case 0:case 11:case 15:var d=a.return;try{Vd(4,a)}catch(Y){bn(a,d,Y)}break;case 1:var y=a.stateNode;if(typeof y.componentDidMount=="function"){var w=a.return;try{y.componentDidMount()}catch(Y){bn(a,w,Y)}}var E=a.return;try{Yd(a)}catch(Y){bn(a,E,Y)}break;case 5:var L=a.return;try{Yd(a)}catch(Y){bn(a,L,Y)}}}catch(Y){bn(a,a.return,Y)}if(a===n){Ge=null;break}var B=a.sibling;if(B!==null){B.return=a.return,Ge=B;break}Ge=a.return}}var sg=Math.ceil,Gd=ue.ReactCurrentDispatcher,Ts=ue.ReactCurrentOwner,Tr=ue.ReactCurrentBatchConfig,xt=0,Ln=null,En=null,ir=0,ua=0,Il=St(0),zn=0,ks=null,bs=0,ws=0,Gu=0,_l=null,Wr=null,km=0,Cl=1/0,zo=null,ki=!1,Hu=null,La=null,Hd=!1,bi=null,$u=0,Al=0,Ol=null,Ss=-1,qu=0;function en(){return xt&6?Tn():Ss!==-1?Ss:Ss=Tn()}function ca(n){return n.mode&1?xt&2&&ir!==0?ir&-ir:dd.transition!==null?(qu===0&&(qu=Fc()),qu):(n=Ht,n!==0||(n=window.event,n=n===void 0?16:Ep(n.type)),n):1}function da(n,a,d,y){if(50<Al)throw Al=0,Ol=null,Error(s(185));Ji(n,d,y),(!(xt&2)||n!==Ln)&&(n===Ln&&(!(xt&2)&&(ws|=d),zn===4&&wi(n,ir)),Zn(n,y),d===1&&xt===0&&!(a.mode&1)&&(Cl=Tn()+500,Wn&&Fr()))}function Zn(n,a){var d=n.callbackNode;Bc(n,a);var y=Ha(n,n===Ln?ir:0);if(y===0)d!==null&&$1(d),n.callbackNode=null,n.callbackPriority=0;else if(a=y&-y,n.callbackPriority!==a){if(d!=null&&$1(d),a===1)n.tag===0?Kp(Ju.bind(null,n)):Wp(Ju.bind(null,n)),Hp(function(){!(xt&6)&&Fr()}),d=null;else{switch(bp(y)){case 1:d=Mo;break;case 4:d=Rt;break;case 16:d=ei;break;case 536870912:d=yp;break;default:d=ei}d=pg(d,lg.bind(null,n))}n.callbackPriority=a,n.callbackNode=d}}function lg(n,a){if(Ss=-1,qu=0,xt&6)throw Error(s(327));var d=n.callbackNode;if(xl()&&n.callbackNode!==d)return null;var y=Ha(n,n===Ln?ir:0);if(y===0)return null;if(y&30||y&n.expiredLanes||a)a=Wd(n,y);else{a=y;var w=xt;xt|=2;var E=ug();(Ln!==n||ir!==a)&&(zo=null,Cl=Tn()+500,Ns(n,a));do try{S2();break}catch(B){qd(n,B)}while(1);nm(),Gd.current=E,xt=w,En!==null?a=0:(Ln=null,ir=0,a=zn)}if(a!==0){if(a===2&&(w=Tp(n),w!==0&&(y=w,a=Wu(n,w))),a===1)throw d=ks,Ns(n,0),wi(n,y),Zn(n,Tn()),d;if(a===6)wi(n,y);else{if(w=n.current.alternate,!(y&30)&&!Zu(w)&&(a=Wd(n,y),a===2&&(E=Tp(n),E!==0&&(y=E,a=Wu(n,E))),a===1))throw d=ks,Ns(n,0),wi(n,y),Zn(n,Tn()),d;switch(n.finishedWork=w,n.finishedLanes=y,a){case 0:case 1:throw Error(s(345));case 2:Ms(n,Wr,zo);break;case 3:if(wi(n,y),(y&130023424)===y&&(a=km+500-Tn(),10<a)){if(Ha(n,0)!==0)break;if(w=n.suspendedLanes,(w&y)!==y){en(),n.pingedLanes|=n.suspendedLanes&w;break}n.timeoutHandle=os(Ms.bind(null,n,Wr,zo),a);break}Ms(n,Wr,zo);break;case 4:if(wi(n,y),(y&4194240)===y)break;for(a=n.eventTimes,w=-1;0<y;){var L=31-ka(y);E=1<<L,L=a[L],L>w&&(w=L),y&=~E}if(y=w,y=Tn()-y,y=(120>y?120:480>y?480:1080>y?1080:1920>y?1920:3e3>y?3e3:4320>y?4320:1960*sg(y/1960))-y,10<y){n.timeoutHandle=os(Ms.bind(null,n,Wr,zo),y);break}Ms(n,Wr,zo);break;case 5:Ms(n,Wr,zo);break;default:throw Error(s(329))}}}return Zn(n,Tn()),n.callbackNode===d?lg.bind(null,n):null}function Wu(n,a){var d=_l;return n.current.memoizedState.isDehydrated&&(Ns(n,a).flags|=256),n=Wd(n,a),n!==2&&(a=Wr,Wr=d,a!==null&&Ku(a)),n}function Ku(n){Wr===null?Wr=n:Wr.push.apply(Wr,n)}function Zu(n){for(var a=n;;){if(a.flags&16384){var d=a.updateQueue;if(d!==null&&(d=d.stores,d!==null))for(var y=0;y<d.length;y++){var w=d[y],E=w.getSnapshot;w=w.value;try{if(!Sa(E(),w))return!1}catch{return!1}}}if(d=a.child,a.subtreeFlags&16384&&d!==null)d.return=a,a=d;else{if(a===n)break;for(;a.sibling===null;){if(a.return===null||a.return===n)return!0;a=a.return}a.sibling.return=a.return,a=a.sibling}}return!0}function wi(n,a){for(a&=~Gu,a&=~ws,n.suspendedLanes|=a,n.pingedLanes&=~a,n=n.expirationTimes;0<a;){var d=31-ka(a),y=1<<d;n[d]=-1,a&=~y}}function Ju(n){if(xt&6)throw Error(s(327));xl();var a=Ha(n,0);if(!(a&1))return Zn(n,Tn()),null;var d=Wd(n,a);if(n.tag!==0&&d===2){var y=Tp(n);y!==0&&(a=y,d=Wu(n,y))}if(d===1)throw d=ks,Ns(n,0),wi(n,a),Zn(n,Tn()),d;if(d===6)throw Error(s(345));return n.finishedWork=n.current.alternate,n.finishedLanes=a,Ms(n,Wr,zo),Zn(n,Tn()),null}function $d(n,a){var d=xt;xt|=1;try{return n(a)}finally{xt=d,xt===0&&(Cl=Tn()+500,Wn&&Fr())}}function Es(n){bi!==null&&bi.tag===0&&!(xt&6)&&xl();var a=xt;xt|=1;var d=Tr.transition,y=Ht;try{if(Tr.transition=null,Ht=1,n)return n()}finally{Ht=y,Tr.transition=d,xt=a,!(xt&6)&&Fr()}}function bm(){ua=Il.current,Vt(Il)}function Ns(n,a){n.finishedWork=null,n.finishedLanes=0;var d=n.timeoutHandle;if(d!==-1&&(n.timeoutHandle=-1,Dh(d)),En!==null)for(d=En.return;d!==null;){var y=d;switch(Jp(y),y.tag){case 1:y=y.type.childContextTypes,y!=null&&Ma();break;case 3:hi(),Vt(kn),Vt(mt),yd();break;case 5:Ot(y);break;case 4:hi();break;case 13:Vt(lt);break;case 19:Vt(lt);break;case 10:di(y.type._context);break;case 22:case 23:bm()}d=d.return}if(Ln=n,En=n=Si(n.current,null),ir=ua=a,zn=0,ks=null,Gu=ws=bs=0,Wr=_l=null,rr!==null){for(a=0;a<rr.length;a++)if(d=rr[a],y=d.interleaved,y!==null){d.interleaved=null;var w=y.next,E=d.pending;if(E!==null){var L=E.next;E.next=w,y.next=L}d.pending=y}rr=null}return n}function qd(n,a){do{var d=En;try{if(nm(),vd.current=Rd,ut){for(var y=ln.memoizedState;y!==null;){var w=y.queue;w!==null&&(w.pending=null),y=y.next}ut=!1}if(cs=0,Pt=he=ln=null,uo=!1,sa=0,Ts.current=null,d===null||d.return===null){zn=1,ks=a,En=null;break}e:{var E=n,L=d.return,B=d,Y=a;if(a=ir,B.flags|=32768,Y!==null&&typeof Y=="object"&&typeof Y.then=="function"){var ie=Y,we=B,Ne=we.tag;if(!(we.mode&1)&&(Ne===0||Ne===11||Ne===15)){var Se=we.alternate;Se?(we.updateQueue=Se.updateQueue,we.memoizedState=Se.memoizedState,we.lanes=Se.lanes):(we.updateQueue=null,we.memoizedState=null)}var Fe=dm(L);if(Fe!==null){Fe.flags&=-257,fm(Fe,L,B,E,a),Fe.mode&1&&Kh(E,ie,a),a=Fe,Y=ie;var qe=a.updateQueue;if(qe===null){var Je=new Set;Je.add(Y),a.updateQueue=Je}else qe.add(Y);break e}else{if(!(a&1)){Kh(E,ie,a),wm();break e}Y=Error(s(426))}}else if(sn&&B.mode&1){var Nn=dm(L);if(Nn!==null){!(Nn.flags&65536)&&(Nn.flags|=256),fm(Nn,L,B,E,a),em(wl(Y,B));break e}}E=Y=wl(Y,B),zn!==4&&(zn=2),_l===null?_l=[E]:_l.push(E),E=L;do{switch(E.tag){case 3:E.flags|=65536,a&=-a,E.lanes|=a;var X=Wh(E,Y,a);om(E,X);break e;case 1:B=Y;var $=E.type,re=E.stateNode;if(!(E.flags&128)&&(typeof $.getDerivedStateFromError=="function"||re!==null&&typeof re.componentDidCatch=="function"&&(La===null||!La.has(re)))){E.flags|=65536,a&=-a,E.lanes|=a;var Oe=zu(E,B,a);om(E,Oe);break e}}E=E.return}while(E!==null)}cg(d)}catch(Be){a=Be,En===d&&d!==null&&(En=d=d.return);continue}break}while(1)}function ug(){var n=Gd.current;return Gd.current=Rd,n===null?Rd:n}function wm(){(zn===0||zn===3||zn===2)&&(zn=4),Ln===null||!(bs&268435455)&&!(ws&268435455)||wi(Ln,ir)}function Wd(n,a){var d=xt;xt|=2;var y=ug();(Ln!==n||ir!==a)&&(zo=null,Ns(n,a));do try{w2();break}catch(w){qd(n,w)}while(1);if(nm(),xt=d,Gd.current=y,En!==null)throw Error(s(261));return Ln=null,ir=0,zn}function w2(){for(;En!==null;)Sm(En)}function S2(){for(;En!==null&&!Hy();)Sm(En)}function Sm(n){var a=Nm(n.alternate,n,ua);n.memoizedProps=n.pendingProps,a===null?cg(n):En=a,Ts.current=null}function cg(n){var a=n;do{var d=a.alternate;if(n=a.return,a.flags&32768){if(d=eg(d,a),d!==null){d.flags&=32767,En=d;return}if(n!==null)n.flags|=32768,n.subtreeFlags=0,n.deletions=null;else{zn=6,En=null;return}}else if(d=ym(d,a,ua),d!==null){En=d;return}if(a=a.sibling,a!==null){En=a;return}En=a=n}while(a!==null);zn===0&&(zn=5)}function Ms(n,a,d){var y=Ht,w=Tr.transition;try{Tr.transition=null,Ht=1,E2(n,a,d,y)}finally{Tr.transition=w,Ht=y}return null}function E2(n,a,d,y){do xl();while(bi!==null);if(xt&6)throw Error(s(327));d=n.finishedWork;var w=n.finishedLanes;if(d===null)return null;if(n.finishedWork=null,n.finishedLanes=0,d===n.current)throw Error(s(177));n.callbackNode=null,n.callbackPriority=0;var E=d.lanes|d.childLanes;if(Ky(n,E),n===Ln&&(En=Ln=null,ir=0),!(d.subtreeFlags&2064)&&!(d.flags&2064)||Hd||(Hd=!0,pg(ei,function(){return xl(),null})),E=(d.flags&15990)!==0,d.subtreeFlags&15990||E){E=Tr.transition,Tr.transition=null;var L=Ht;Ht=1;var B=xt;xt|=4,Ts.current=null,b2(n,d),ag(d,n),ed(as),Xi=!!Qp,as=Qp=null,n.current=d,Yu(d),$y(),xt=B,Ht=L,Tr.transition=E}else n.current=d;if(Hd&&(Hd=!1,bi=n,$u=w),E=n.pendingLanes,E===0&&(La=null),W1(d.stateNode),Zn(n,Tn()),a!==null)for(y=n.onRecoverableError,d=0;d<a.length;d++)w=a[d],y(w.value,{componentStack:w.stack,digest:w.digest});if(ki)throw ki=!1,n=Hu,Hu=null,n;return $u&1&&n.tag!==0&&xl(),E=n.pendingLanes,E&1?n===Ol?Al++:(Al=0,Ol=n):Al=0,Fr(),null}function xl(){if(bi!==null){var n=bp($u),a=Tr.transition,d=Ht;try{if(Tr.transition=null,Ht=16>n?16:n,bi===null)var y=!1;else{if(n=bi,bi=null,$u=0,xt&6)throw Error(s(331));var w=xt;for(xt|=4,Ge=n.current;Ge!==null;){var E=Ge,L=E.child;if(Ge.flags&16){var B=E.deletions;if(B!==null){for(var Y=0;Y<B.length;Y++){var ie=B[Y];for(Ge=ie;Ge!==null;){var we=Ge;switch(we.tag){case 0:case 11:case 15:Ml(8,we,E)}var Ne=we.child;if(Ne!==null)Ne.return=we,Ge=Ne;else for(;Ge!==null;){we=Ge;var Se=we.sibling,Fe=we.return;if(ng(we),we===ie){Ge=null;break}if(Se!==null){Se.return=Fe,Ge=Se;break}Ge=Fe}}}var qe=E.alternate;if(qe!==null){var Je=qe.child;if(Je!==null){qe.child=null;do{var Nn=Je.sibling;Je.sibling=null,Je=Nn}while(Je!==null)}}Ge=E}}if(E.subtreeFlags&2064&&L!==null)L.return=E,Ge=L;else e:for(;Ge!==null;){if(E=Ge,E.flags&2048)switch(E.tag){case 0:case 11:case 15:Ml(9,E,E.return)}var X=E.sibling;if(X!==null){X.return=E.return,Ge=X;break e}Ge=E.return}}var $=n.current;for(Ge=$;Ge!==null;){L=Ge;var re=L.child;if(L.subtreeFlags&2064&&re!==null)re.return=L,Ge=re;else e:for(L=$;Ge!==null;){if(B=Ge,B.flags&2048)try{switch(B.tag){case 0:case 11:case 15:Vd(9,B)}}catch(Be){bn(B,B.return,Be)}if(B===L){Ge=null;break e}var Oe=B.sibling;if(Oe!==null){Oe.return=B.return,Ge=Oe;break e}Ge=B.return}}if(xt=w,Fr(),Ga&&typeof Ga.onPostCommitFiberRoot=="function")try{Ga.onPostCommitFiberRoot(lu,n)}catch{}y=!0}return y}finally{Ht=d,Tr.transition=a}}return!1}function dg(n,a,d){a=wl(d,a),a=Wh(n,a,1),n=pi(n,a,1),a=en(),n!==null&&(Ji(n,1,a),Zn(n,a))}function bn(n,a,d){if(n.tag===3)dg(n,n,d);else for(;a!==null;){if(a.tag===3){dg(a,n,d);break}else if(a.tag===1){var y=a.stateNode;if(typeof a.type.getDerivedStateFromError=="function"||typeof y.componentDidCatch=="function"&&(La===null||!La.has(y))){n=wl(d,n),n=zu(a,n,1),a=pi(a,n,1),n=en(),a!==null&&(Ji(a,1,n),Zn(a,n));break}}a=a.return}}function Em(n,a,d){var y=n.pingCache;y!==null&&y.delete(a),a=en(),n.pingedLanes|=n.suspendedLanes&d,Ln===n&&(ir&d)===d&&(zn===4||zn===3&&(ir&130023424)===ir&&500>Tn()-km?Ns(n,0):Gu|=d),Zn(n,a)}function fg(n,a){a===0&&(n.mode&1?(a=rl,rl<<=1,!(rl&130023424)&&(rl=4194304)):a=1);var d=en();n=Do(n,a),n!==null&&(Ji(n,a,d),Zn(n,d))}function N2(n){var a=n.memoizedState,d=0;a!==null&&(d=a.retryLane),fg(n,d)}function M2(n,a){var d=0;switch(n.tag){case 13:var y=n.stateNode,w=n.memoizedState;w!==null&&(d=w.retryLane);break;case 19:y=n.stateNode;break;default:throw Error(s(314))}y!==null&&y.delete(a),fg(n,d)}var Nm;Nm=function(n,a,d){if(n!==null)if(n.memoizedProps!==a.pendingProps||kn.current)xn=!0;else{if(!(n.lanes&d)&&!(a.flags&128))return xn=!1,Fd(n,a,d);xn=!!(n.flags&131072)}else xn=!1,sn&&a.flags&1048576&&Zp(a,hl,a.index);switch(a.lanes=0,a.tag){case 2:var y=a.type;Oa(n,a),n=a.pendingProps;var w=Na(a,mt.current);Le(a,d),w=gi(null,a,y,n,w,d);var E=ps();return a.flags|=1,typeof w=="object"&&w!==null&&typeof w.render=="function"&&w.$$typeof===void 0?(a.tag=1,a.memoizedState=null,a.updateQueue=null,fn(y)?(E=!0,id(a)):E=!1,a.memoizedState=w.state!==null&&w.state!==void 0?w.state:null,am(a),w.updater=md,a.stateNode=w,w._reactInternals=a,hd(a,y,n,d),a=mm(null,a,y,!0,E,d)):(a.tag=0,sn&&E&&sd(a),Un(null,a,w,d),a=a.child),a;case 16:y=a.elementType;e:{switch(Oa(n,a),n=a.pendingProps,w=y._init,y=w(y._payload),a.type=y,w=a.tag=_2(y),n=ia(y,n),w){case 0:a=Sl(null,a,y,n,d);break e;case 1:a=pm(null,a,y,n,d);break e;case 11:a=vi(null,a,y,n,d);break e;case 14:a=Pd(null,a,y,ia(y.type,n),d);break e}throw Error(s(306,y,""))}return a;case 0:return y=a.type,w=a.pendingProps,w=a.elementType===y?w:ia(y,w),Sl(n,a,y,w,d);case 1:return y=a.type,w=a.pendingProps,w=a.elementType===y?w:ia(y,w),pm(n,a,y,w,d);case 3:e:{if(Ud(a),n===null)throw Error(s(387));y=a.pendingProps,E=a.memoizedState,w=E.element,Pn(n,a),mi(a,y,null,d);var L=a.memoizedState;if(y=L.element,E.isDehydrated)if(E={element:y,isDehydrated:!1,cache:L.cache,pendingSuspenseBoundaries:L.pendingSuspenseBoundaries,transitions:L.transitions},a.updateQueue.baseState=E,a.memoizedState=E,a.flags&256){w=wl(Error(s(423)),a),a=El(n,a,y,d,w);break e}else if(y!==w){w=wl(Error(s(424)),a),a=El(n,a,y,d,w);break e}else for(Qr=Ka(a.stateNode.containerInfo.firstChild),oa=a,sn=!0,_a=null,d=$h(a,null,y,d),a.child=d;d;)d.flags=d.flags&-3|4096,d=d.sibling;else{if(mn(),y===w){a=ar(n,a,d);break e}Un(n,a,y,d)}a=a.child}return a;case 5:return st(a),n===null&&ud(a),y=a.type,w=a.pendingProps,E=n!==null?n.memoizedProps:null,L=w.children,Iu(y,w)?L=null:E!==null&&Iu(y,E)&&(a.flags|=32),Et(n,a),Un(n,a,L,d),a.child;case 6:return n===null&&ud(a),null;case 13:return Zh(n,a,d);case 4:return sm(a,a.stateNode.containerInfo),y=a.pendingProps,n===null?a.child=yl(a,null,y,d):Un(n,a,y,d),a.child;case 11:return y=a.type,w=a.pendingProps,w=a.elementType===y?w:ia(y,w),vi(n,a,y,w,d);case 7:return Un(n,a,a.pendingProps,d),a.child;case 8:return Un(n,a,a.pendingProps.children,d),a.child;case 12:return Un(n,a,a.pendingProps.children,d),a.child;case 10:e:{if(y=a.type._context,w=a.pendingProps,E=a.memoizedProps,L=w.value,Yt(lo,y._currentValue),y._currentValue=L,E!==null)if(Sa(E.value,L)){if(E.children===w.children&&!kn.current){a=ar(n,a,d);break e}}else for(E=a.child,E!==null&&(E.return=a);E!==null;){var B=E.dependencies;if(B!==null){L=E.child;for(var Y=B.firstContext;Y!==null;){if(Y.context===y){if(E.tag===1){Y=Po(-1,d&-d),Y.tag=2;var ie=E.updateQueue;if(ie!==null){ie=ie.shared;var we=ie.pending;we===null?Y.next=Y:(Y.next=we.next,we.next=Y),ie.pending=Y}}E.lanes|=d,Y=E.alternate,Y!==null&&(Y.lanes|=d),Kn(E.return,d,a),B.lanes|=d;break}Y=Y.next}}else if(E.tag===10)L=E.type===a.type?null:E.child;else if(E.tag===18){if(L=E.return,L===null)throw Error(s(341));L.lanes|=d,B=L.alternate,B!==null&&(B.lanes|=d),Kn(L,d,a),L=E.sibling}else L=E.child;if(L!==null)L.return=E;else for(L=E;L!==null;){if(L===a){L=null;break}if(E=L.sibling,E!==null){E.return=L.return,L=E;break}L=L.return}E=L}Un(n,a,w.children,d),a=a.child}return a;case 9:return w=a.type,y=a.pendingProps.children,Le(a,d),w=Sn(w),y=y(w),a.flags|=1,Un(n,a,y,d),a.child;case 14:return y=a.type,w=ia(y,a.pendingProps),w=ia(y.type,w),Pd(n,a,y,w,d);case 15:return $r(n,a,a.type,a.pendingProps,d);case 17:return y=a.type,w=a.pendingProps,w=a.elementType===y?w:ia(y,w),Oa(n,a),a.tag=1,fn(y)?(n=!0,id(a)):n=!1,Le(a,d),Yh(a,y,w),hd(a,y,w,d),mm(null,a,y,!0,n,d);case 19:return qr(n,a,d);case 22:return ys(n,a,d)}throw Error(s(156,a.tag))};function pg(n,a){return gp(n,a)}function I2(n,a,d,y){this.tag=n,this.key=d,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=a,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=y,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ra(n,a,d,y){return new I2(n,a,d,y)}function Mm(n){return n=n.prototype,!(!n||!n.isReactComponent)}function _2(n){if(typeof n=="function")return Mm(n)?1:0;if(n!=null){if(n=n.$$typeof,n===yt)return 11;if(n===It)return 14}return 2}function Si(n,a){var d=n.alternate;return d===null?(d=Ra(n.tag,a,n.key,n.mode),d.elementType=n.elementType,d.type=n.type,d.stateNode=n.stateNode,d.alternate=n,n.alternate=d):(d.pendingProps=a,d.type=n.type,d.flags=0,d.subtreeFlags=0,d.deletions=null),d.flags=n.flags&14680064,d.childLanes=n.childLanes,d.lanes=n.lanes,d.child=n.child,d.memoizedProps=n.memoizedProps,d.memoizedState=n.memoizedState,d.updateQueue=n.updateQueue,a=n.dependencies,d.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext},d.sibling=n.sibling,d.index=n.index,d.ref=n.ref,d}function Kd(n,a,d,y,w,E){var L=2;if(y=n,typeof n=="function")Mm(n)&&(L=1);else if(typeof n=="string")L=5;else e:switch(n){case fe:return Ei(d.children,w,E,a);case De:L=8,w|=8;break;case He:return n=Ra(12,d,a,w|2),n.elementType=He,n.lanes=E,n;case $e:return n=Ra(13,d,a,w),n.elementType=$e,n.lanes=E,n;case at:return n=Ra(19,d,a,w),n.elementType=at,n.lanes=E,n;case wn:return Ll(d,w,E,a);default:if(typeof n=="object"&&n!==null)switch(n.$$typeof){case ht:L=10;break e;case ct:L=9;break e;case yt:L=11;break e;case It:L=14;break e;case Dt:L=16,y=null;break e}throw Error(s(130,n==null?n:typeof n,""))}return a=Ra(L,d,a,w),a.elementType=n,a.type=y,a.lanes=E,a}function Ei(n,a,d,y){return n=Ra(7,n,y,a),n.lanes=d,n}function Ll(n,a,d,y){return n=Ra(22,n,y,a),n.elementType=wn,n.lanes=d,n.stateNode={isHidden:!1},n}function Is(n,a,d){return n=Ra(6,n,null,a),n.lanes=d,n}function Im(n,a,d){return a=Ra(4,n.children!==null?n.children:[],n.key,a),a.lanes=d,a.stateNode={containerInfo:n.containerInfo,pendingChildren:null,implementation:n.implementation},a}function mg(n,a,d,y,w){this.tag=a,this.containerInfo=n,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=kp(0),this.expirationTimes=kp(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=kp(0),this.identifierPrefix=y,this.onRecoverableError=w,this.mutableSourceEagerHydrationData=null}function Zd(n,a,d,y,w,E,L,B,Y){return n=new mg(n,a,d,B,Y),a===1?(a=1,E===!0&&(a|=8)):a=0,E=Ra(3,null,null,a),n.current=E,E.stateNode=n,E.memoizedState={element:y,isDehydrated:d,cache:null,transitions:null,pendingSuspenseBoundaries:null},am(E),n}function hg(n,a,d){var y=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:ye,key:y==null?null:""+y,children:n,containerInfo:a,implementation:d}}function gg(n){if(!n)return so;n=n._reactInternals;e:{if(oo(n)!==n||n.tag!==1)throw Error(s(170));var a=n;do{switch(a.tag){case 3:a=a.stateNode.context;break e;case 1:if(fn(a.type)){a=a.stateNode.__reactInternalMemoizedMergedChildContext;break e}}a=a.return}while(a!==null);throw Error(s(171))}if(n.tag===1){var d=n.type;if(fn(d))return Au(n,d,a)}return a}function _m(n,a,d,y,w,E,L,B,Y){return n=Zd(d,y,!0,n,w,E,L,B,Y),n.context=gg(null),d=n.current,y=en(),w=ca(d),E=Po(y,w),E.callback=a??null,pi(d,E,w),n.current.lanes=w,Ji(n,w,y),Zn(n,y),n}function Jd(n,a,d,y){var w=a.current,E=en(),L=ca(w);return d=gg(d),a.context===null?a.context=d:a.pendingContext=d,a=Po(E,L),a.payload={element:n},y=y===void 0?null:y,y!==null&&(a.callback=y),n=pi(w,a,L),n!==null&&(da(n,w,L,E),pd(n,w,L)),L}function Xd(n){if(n=n.current,!n.child)return null;switch(n.child.tag){case 5:return n.child.stateNode;default:return n.child.stateNode}}function yg(n,a){if(n=n.memoizedState,n!==null&&n.dehydrated!==null){var d=n.retryLane;n.retryLane=d!==0&&d<a?d:a}}function ef(n,a){yg(n,a),(n=n.alternate)&&yg(n,a)}function vg(){return null}var Cm=typeof reportError=="function"?reportError:function(n){console.error(n)};function Ni(n){this._internalRoot=n}tf.prototype.render=Ni.prototype.render=function(n){var a=this._internalRoot;if(a===null)throw Error(s(409));Jd(n,a,null,null)},tf.prototype.unmount=Ni.prototype.unmount=function(){var n=this._internalRoot;if(n!==null){this._internalRoot=null;var a=n.containerInfo;Es(function(){Jd(null,n,null,null)}),a[Lo]=null}};function tf(n){this._internalRoot=n}tf.prototype.unstable_scheduleHydration=function(n){if(n){var a=X1();n={blockedOn:null,target:n,priority:a};for(var d=0;d<$t.length&&a!==0&&a<$t[d].priority;d++);$t.splice(d,0,n),d===0&&eh(n)}};function Am(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11)}function nf(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11&&(n.nodeType!==8||n.nodeValue!==" react-mount-point-unstable "))}function Tg(){}function C2(n,a,d,y,w){if(w){if(typeof y=="function"){var E=y;y=function(){var ie=Xd(L);E.call(ie)}}var L=_m(a,y,n,0,null,!1,!1,"",Tg);return n._reactRootContainer=L,n[Lo]=L.current,pl(n.nodeType===8?n.parentNode:n),Es(),L}for(;w=n.lastChild;)n.removeChild(w);if(typeof y=="function"){var B=y;y=function(){var ie=Xd(Y);B.call(ie)}}var Y=Zd(n,0,!1,null,null,!1,!1,"",Tg);return n._reactRootContainer=Y,n[Lo]=Y.current,pl(n.nodeType===8?n.parentNode:n),Es(function(){Jd(a,Y,d,y)}),Y}function rf(n,a,d,y,w){var E=d._reactRootContainer;if(E){var L=E;if(typeof w=="function"){var B=w;w=function(){var Y=Xd(L);B.call(Y)}}Jd(a,L,n,w)}else L=C2(d,a,n,w,y);return Xd(L)}J1=function(n){switch(n.tag){case 3:var a=n.stateNode;if(a.current.memoizedState.isDehydrated){var d=Zi(a.pendingLanes);d!==0&&(uu(a,d|1),Zn(a,Tn()),!(xt&6)&&(Cl=Tn()+500,Fr()))}break;case 13:Es(function(){var y=Do(n,1);if(y!==null){var w=en();da(y,n,1,w)}}),ef(n,1)}},Vc=function(n){if(n.tag===13){var a=Do(n,134217728);if(a!==null){var d=en();da(a,n,134217728,d)}ef(n,134217728)}},Zt=function(n){if(n.tag===13){var a=ca(n),d=Do(n,a);if(d!==null){var y=en();da(d,n,a,y)}ef(n,a)}},X1=function(){return Ht},wp=function(n,a){var d=Ht;try{return Ht=n,a()}finally{Ht=d}},au=function(n,a,d){switch(a){case"input":if(nn(n,d),a=d.name,d.type==="radio"&&a!=null){for(d=n;d.parentNode;)d=d.parentNode;for(d=d.querySelectorAll("input[name="+JSON.stringify(""+a)+'][type="radio"]'),a=0;a<d.length;a++){var y=d[a];if(y!==n&&y.form===n.form){var w=nt(y);if(!w)throw Error(s(90));tn(y),nn(y,w)}}}break;case"textarea":ta(n,d);break;case"select":a=d.value,a!=null&&an(n,!!d.multiple,a,!1)}},Y1=$d,Q1=Es;var kg={usingClientEntryPoint:!1,Events:[Cu,ml,nt,Dc,Pc,$d]},Xu={findFiberByHostInstance:Ea,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},A2={bundleType:Xu.bundleType,version:Xu.version,rendererPackageName:Xu.rendererPackageName,rendererConfig:Xu.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:ue.ReactCurrentDispatcher,findHostInstanceByFiber:function(n){return n=G1(n),n===null?null:n.stateNode},findFiberByHostInstance:Xu.findFiberByHostInstance||vg,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var ec=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ec.isDisabled&&ec.supportsFiber)try{lu=ec.inject(A2),Ga=ec}catch{}}return Ba.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=kg,Ba.createPortal=function(n,a){var d=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Am(a))throw Error(s(200));return hg(n,a,null,d)},Ba.createRoot=function(n,a){if(!Am(n))throw Error(s(299));var d=!1,y="",w=Cm;return a!=null&&(a.unstable_strictMode===!0&&(d=!0),a.identifierPrefix!==void 0&&(y=a.identifierPrefix),a.onRecoverableError!==void 0&&(w=a.onRecoverableError)),a=Zd(n,1,!1,null,null,d,!1,y,w),n[Lo]=a.current,pl(n.nodeType===8?n.parentNode:n),new Ni(a)},Ba.findDOMNode=function(n){if(n==null)return null;if(n.nodeType===1)return n;var a=n._reactInternals;if(a===void 0)throw typeof n.render=="function"?Error(s(188)):(n=Object.keys(n).join(","),Error(s(268,n)));return n=G1(a),n=n===null?null:n.stateNode,n},Ba.flushSync=function(n){return Es(n)},Ba.hydrate=function(n,a,d){if(!nf(a))throw Error(s(200));return rf(null,n,a,!0,d)},Ba.hydrateRoot=function(n,a,d){if(!Am(n))throw Error(s(405));var y=d!=null&&d.hydratedSources||null,w=!1,E="",L=Cm;if(d!=null&&(d.unstable_strictMode===!0&&(w=!0),d.identifierPrefix!==void 0&&(E=d.identifierPrefix),d.onRecoverableError!==void 0&&(L=d.onRecoverableError)),a=_m(a,null,n,1,d??null,w,!1,E,L),n[Lo]=a.current,pl(n),y)for(n=0;n<y.length;n++)d=y[n],w=d._getVersion,w=w(d._source),a.mutableSourceEagerHydrationData==null?a.mutableSourceEagerHydrationData=[d,w]:a.mutableSourceEagerHydrationData.push(d,w);return new tf(a)},Ba.render=function(n,a,d){if(!nf(a))throw Error(s(200));return rf(null,n,a,!1,d)},Ba.unmountComponentAtNode=function(n){if(!nf(n))throw Error(s(40));return n._reactRootContainer?(Es(function(){rf(null,null,n,!1,function(){n._reactRootContainer=null,n[Lo]=null})}),!0):!1},Ba.unstable_batchedUpdates=$d,Ba.unstable_renderSubtreeIntoContainer=function(n,a,d,y){if(!nf(d))throw Error(s(200));if(n==null||n._reactInternals===void 0)throw Error(s(38));return rf(n,a,d,!1,y)},Ba.version="18.2.0-next-9e3b772b8-20220608",Ba}var ro={},vb;function KR(){return vb||(vb=1,xc.process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var r=Ke,o=F7(),s=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,m=!1;function p(e){m=e}function v(e){if(!m){for(var t=arguments.length,i=new Array(t>1?t-1:0),u=1;u<t;u++)i[u-1]=arguments[u];T("warn",e,i)}}function g(e){if(!m){for(var t=arguments.length,i=new Array(t>1?t-1:0),u=1;u<t;u++)i[u-1]=arguments[u];T("error",e,i)}}function T(e,t,i){{var u=s.ReactDebugCurrentFrame,h=u.getStackAddendum();h!==""&&(t+="%s",i=i.concat([h]));var k=i.map(function(S){return String(S)});k.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,k)}}var I=0,C=1,D=2,R=3,x=4,j=5,Q=6,W=7,le=8,G=9,se=10,te=11,ue=12,Z=13,ye=14,fe=15,De=16,He=17,ht=18,ct=19,yt=21,$e=22,at=23,It=24,Dt=25,wn=!0,_e=!1,ze=!1,xe=!1,Ee=!1,V=!0,ce=!1,be=!1,Ze=!0,dt=!0,ft=!0,Qe=new Set,rt={},wt={};function Gt(e,t){tn(e,t),tn(e+"Capture",t)}function tn(e,t){rt[e]&&g("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),rt[e]=t;{var i=e.toLowerCase();wt[i]=e,e==="onDoubleClick"&&(wt.ondblclick=e)}for(var u=0;u<t.length;u++)Qe.add(t[u])}var Tt=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Ct=Object.prototype.hasOwnProperty;function yn(e){{var t=typeof Symbol=="function"&&Symbol.toStringTag,i=t&&e[Symbol.toStringTag]||e.constructor.name||"Object";return i}}function In(e){try{return nn(e),!1}catch{return!0}}function nn(e){return""+e}function tr(e,t){if(In(e))return g("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",t,yn(e)),nn(e)}function ve(e){if(In(e))return g("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",yn(e)),nn(e)}function Hn(e,t){if(In(e))return g("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.",t,yn(e)),nn(e)}function an(e,t){if(In(e))return g("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",t,yn(e)),nn(e)}function Nt(e){if(In(e))return g("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",yn(e)),nn(e)}function _n(e){if(In(e))return g("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before before using it here.",yn(e)),nn(e)}var ta=0,At=1,jr=2,l=3,c=4,f=5,b=6,M=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",O=M+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",U=new RegExp("^["+M+"]["+O+"]*$"),Te={},Pe={};function Ie(e){return Ct.call(Pe,e)?!0:Ct.call(Te,e)?!1:U.test(e)?(Pe[e]=!0,!0):(Te[e]=!0,g("Invalid attribute name: `%s`",e),!1)}function Ae(e,t,i){return t!==null?t.type===ta:i?!1:e.length>2&&(e[0]==="o"||e[0]==="O")&&(e[1]==="n"||e[1]==="N")}function Ce(e,t,i,u){if(i!==null&&i.type===ta)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":{if(u)return!1;if(i!==null)return!i.acceptsBooleans;var h=e.toLowerCase().slice(0,5);return h!=="data-"&&h!=="aria-"}default:return!1}}function Ta(e,t,i,u){if(t===null||typeof t>"u"||Ce(e,t,i,u))return!0;if(u)return!1;if(i!==null)switch(i.type){case l:return!t;case c:return t===!1;case f:return isNaN(t);case b:return isNaN(t)||t<1}return!1}function au(e){return vn.hasOwnProperty(e)?vn[e]:null}function Cn(e,t,i,u,h,k,S){this.acceptsBooleans=t===jr||t===l||t===c,this.attributeName=u,this.attributeNamespace=h,this.mustUseProperty=i,this.propertyName=e,this.type=t,this.sanitizeURL=k,this.removeEmptyString=S}var vn={},V1=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];V1.forEach(function(e){vn[e]=new Cn(e,ta,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0],i=e[1];vn[t]=new Cn(t,At,!1,i,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){vn[e]=new Cn(e,jr,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){vn[e]=new Cn(e,jr,!1,e,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(function(e){vn[e]=new Cn(e,l,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){vn[e]=new Cn(e,l,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){vn[e]=new Cn(e,c,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){vn[e]=new Cn(e,b,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){vn[e]=new Cn(e,f,!1,e.toLowerCase(),null,!1,!1)});var Dc=/[\-\:]([a-z])/g,Pc=function(e){return e[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(function(e){var t=e.replace(Dc,Pc);vn[t]=new Cn(t,At,!1,e,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(e){var t=e.replace(Dc,Pc);vn[t]=new Cn(t,At,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Dc,Pc);vn[t]=new Cn(t,At,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){vn[e]=new Cn(e,At,!1,e.toLowerCase(),null,!1,!1)});var Y1="xlinkHref";vn[Y1]=new Cn("xlinkHref",At,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){vn[e]=new Cn(e,At,!1,e.toLowerCase(),null,!0,!0)});var Q1=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,Uc=!1;function pp(e){!Uc&&Q1.test(e)&&(Uc=!0,g("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(e)))}function ou(e,t,i,u){if(u.mustUseProperty){var h=u.propertyName;return e[h]}else{tr(i,t),u.sanitizeURL&&pp(""+i);var k=u.attributeName,S=null;if(u.type===c){if(e.hasAttribute(k)){var _=e.getAttribute(k);return _===""?!0:Ta(t,i,u,!1)?_:_===""+i?i:_}}else if(e.hasAttribute(k)){if(Ta(t,i,u,!1))return e.getAttribute(k);if(u.type===l)return i;S=e.getAttribute(k)}return Ta(t,i,u,!1)?S===null?i:S:S===""+i?i:S}}function jc(e,t,i,u){{if(!Ie(t))return;if(!e.hasAttribute(t))return i===void 0?void 0:null;var h=e.getAttribute(t);return tr(i,t),h===""+i?i:h}}function Ki(e,t,i,u){var h=au(t);if(!Ae(t,h,u)){if(Ta(t,i,h,u)&&(i=null),u||h===null){if(Ie(t)){var k=t;i===null?e.removeAttribute(k):(tr(i,t),e.setAttribute(k,""+i))}return}var S=h.mustUseProperty;if(S){var _=h.propertyName;if(i===null){var A=h.type;e[_]=A===l?!1:""}else e[_]=i;return}var P=h.attributeName,z=h.attributeNamespace;if(i===null)e.removeAttribute(P);else{var q=h.type,H;q===l||q===c&&i===!0?H="":(tr(i,P),H=""+i,h.sanitizeURL&&pp(H.toString())),z?e.setAttributeNS(z,P,H):e.setAttribute(P,H)}}}var Xs=Symbol.for("react.element"),Qa=Symbol.for("react.portal"),No=Symbol.for("react.fragment"),el=Symbol.for("react.strict_mode"),iu=Symbol.for("react.profiler"),mp=Symbol.for("react.provider"),hp=Symbol.for("react.context"),tl=Symbol.for("react.forward_ref"),oo=Symbol.for("react.suspense"),su=Symbol.for("react.suspense_list"),nl=Symbol.for("react.memo"),Er=Symbol.for("react.lazy"),G1=Symbol.for("react.scope"),H1=Symbol.for("react.debug_trace_mode"),gp=Symbol.for("react.offscreen"),$1=Symbol.for("react.legacy_hidden"),Hy=Symbol.for("react.cache"),$y=Symbol.for("react.tracing_marker"),Tn=Symbol.iterator,qy="@@iterator";function Mo(e){if(e===null||typeof e!="object")return null;var t=Tn&&e[Tn]||e[qy];return typeof t=="function"?t:null}var Rt=Object.assign,ei=0,q1,yp,lu,Ga,W1,ka,K1;function Z1(){}Z1.__reactDisabledLog=!0;function Wy(){{if(ei===0){q1=console.log,yp=console.info,lu=console.warn,Ga=console.error,W1=console.group,ka=console.groupCollapsed,K1=console.groupEnd;var e={configurable:!0,enumerable:!0,value:Z1,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}ei++}}function zc(){{if(ei--,ei===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Rt({},e,{value:q1}),info:Rt({},e,{value:yp}),warn:Rt({},e,{value:lu}),error:Rt({},e,{value:Ga}),group:Rt({},e,{value:W1}),groupCollapsed:Rt({},e,{value:ka}),groupEnd:Rt({},e,{value:K1})})}ei<0&&g("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var rl=s.ReactCurrentDispatcher,Zi;function Ha(e,t,i){{if(Zi===void 0)try{throw Error()}catch(h){var u=h.stack.trim().match(/\n( *(at )?)/);Zi=u&&u[1]||""}return`
38
+ `+E.stack}return{value:n,source:a,stack:w,digest:null}}function ju(n,a,d){return{value:n,source:null,stack:d??null,digest:a??null}}function Dd(n,a){try{console.error(a.value)}catch(d){setTimeout(function(){throw d})}}var v2=typeof WeakMap=="function"?WeakMap:Map;function Wh(n,a,d){d=Po(-1,d),d.tag=3,d.payload={element:null};var y=a.value;return d.callback=function(){ki||(ki=!0,Hu=y),Dd(n,a)},d}function zu(n,a,d){d=Po(-1,d),d.tag=3;var y=n.type.getDerivedStateFromError;if(typeof y=="function"){var w=a.value;d.payload=function(){return y(w)},d.callback=function(){Dd(n,a)}}var E=n.stateNode;return E!==null&&typeof E.componentDidCatch=="function"&&(d.callback=function(){Dd(n,a),typeof y!="function"&&(La===null?La=new Set([this]):La.add(this));var L=a.stack;this.componentDidCatch(a.value,{componentStack:L!==null?L:""})}),d}function Kh(n,a,d){var y=n.pingCache;if(y===null){y=n.pingCache=new v2;var w=new Set;y.set(a,w)}else w=y.get(a),w===void 0&&(w=new Set,y.set(a,w));w.has(d)||(w.add(d),n=Em.bind(null,n,a,d),a.then(n,n))}function dm(n){do{var a;if((a=n.tag===13)&&(a=n.memoizedState,a=a!==null?a.dehydrated!==null:!0),a)return n;n=n.return}while(n!==null);return null}function fm(n,a,d,y,w){return n.mode&1?(n.flags|=65536,n.lanes=w,n):(n===a?n.flags|=65536:(n.flags|=128,d.flags|=131072,d.flags&=-52805,d.tag===1&&(d.alternate===null?d.tag=17:(a=Po(-1,1),a.tag=2,pi(d,a,1))),d.lanes|=1),n)}var T2=ue.ReactCurrentOwner,xn=!1;function Un(n,a,d,y){a.child=n===null?$h(a,null,d,y):yl(a,n.child,d,y)}function vi(n,a,d,y,w){d=d.render;var E=a.ref;return Le(a,w),y=gi(n,a,d,y,E,w),d=ps(),n!==null&&!xn?(a.updateQueue=n.updateQueue,a.flags&=-2053,n.lanes&=~w,ar(n,a,w)):(sn&&d&&sd(a),a.flags|=1,Un(n,a,y,w),a.child)}function Pd(n,a,d,y,w){if(n===null){var E=d.type;return typeof E=="function"&&!Mm(E)&&E.defaultProps===void 0&&d.compare===null&&d.defaultProps===void 0?(a.tag=15,a.type=E,$r(n,a,E,y,w)):(n=Kd(d.type,null,y,a,a.mode,w),n.ref=a.ref,n.return=a,a.child=n)}if(E=n.child,!(n.lanes&w)){var L=E.memoizedProps;if(d=d.compare,d=d!==null?d:ku,d(L,y)&&n.ref===a.ref)return ar(n,a,w)}return a.flags|=1,n=Si(E,y),n.ref=a.ref,n.return=a,a.child=n}function $r(n,a,d,y,w){if(n!==null){var E=n.memoizedProps;if(ku(E,y)&&n.ref===a.ref)if(xn=!1,a.pendingProps=y=E,(n.lanes&w)!==0)n.flags&131072&&(xn=!0);else return a.lanes=n.lanes,ar(n,a,w)}return Sl(n,a,d,y,w)}function ys(n,a,d){var y=a.pendingProps,w=y.children,E=n!==null?n.memoizedState:null;if(y.mode==="hidden")if(!(a.mode&1))a.memoizedState={baseLanes:0,cachePool:null,transitions:null},Yt(Il,ua),ua|=d;else{if(!(d&1073741824))return n=E!==null?E.baseLanes|d:d,a.lanes=a.childLanes=1073741824,a.memoizedState={baseLanes:n,cachePool:null,transitions:null},a.updateQueue=null,Yt(Il,ua),ua|=n,null;a.memoizedState={baseLanes:0,cachePool:null,transitions:null},y=E!==null?E.baseLanes:d,Yt(Il,ua),ua|=y}else E!==null?(y=E.baseLanes|d,a.memoizedState=null):y=d,Yt(Il,ua),ua|=y;return Un(n,a,w,d),a.child}function Et(n,a){var d=a.ref;(n===null&&d!==null||n!==null&&n.ref!==d)&&(a.flags|=512,a.flags|=2097152)}function Sl(n,a,d,y,w){var E=fn(d)?Br:mt.current;return E=Na(a,E),Le(a,w),d=gi(n,a,d,y,E,w),y=ps(),n!==null&&!xn?(a.updateQueue=n.updateQueue,a.flags&=-2053,n.lanes&=~w,ar(n,a,w)):(sn&&y&&sd(a),a.flags|=1,Un(n,a,d,w),a.child)}function pm(n,a,d,y,w){if(fn(d)){var E=!0;id(a)}else E=!1;if(Le(a,w),a.stateNode===null)Oa(n,a),Yh(a,d,y),hd(a,d,y,w),y=!0;else if(n===null){var L=a.stateNode,B=a.memoizedProps;L.props=B;var Y=L.context,ie=d.contextType;typeof ie=="object"&&ie!==null?ie=Sn(ie):(ie=fn(d)?Br:mt.current,ie=Na(a,ie));var we=d.getDerivedStateFromProps,Ne=typeof we=="function"||typeof L.getSnapshotBeforeUpdate=="function";Ne||typeof L.UNSAFE_componentWillReceiveProps!="function"&&typeof L.componentWillReceiveProps!="function"||(B!==y||Y!==ie)&&Qh(a,L,y,ie),fi=!1;var Se=a.memoizedState;L.state=Se,mi(a,y,L,w),Y=a.memoizedState,B!==y||Se!==Y||kn.current||fi?(typeof we=="function"&&(im(a,d,we,y),Y=a.memoizedState),(B=fi||Vh(a,d,B,y,Se,Y,ie))?(Ne||typeof L.UNSAFE_componentWillMount!="function"&&typeof L.componentWillMount!="function"||(typeof L.componentWillMount=="function"&&L.componentWillMount(),typeof L.UNSAFE_componentWillMount=="function"&&L.UNSAFE_componentWillMount()),typeof L.componentDidMount=="function"&&(a.flags|=4194308)):(typeof L.componentDidMount=="function"&&(a.flags|=4194308),a.memoizedProps=y,a.memoizedState=Y),L.props=y,L.state=Y,L.context=ie,y=B):(typeof L.componentDidMount=="function"&&(a.flags|=4194308),y=!1)}else{L=a.stateNode,Pn(n,a),B=a.memoizedProps,ie=a.type===a.elementType?B:ia(a.type,B),L.props=ie,Ne=a.pendingProps,Se=L.context,Y=d.contextType,typeof Y=="object"&&Y!==null?Y=Sn(Y):(Y=fn(d)?Br:mt.current,Y=Na(a,Y));var Fe=d.getDerivedStateFromProps;(we=typeof Fe=="function"||typeof L.getSnapshotBeforeUpdate=="function")||typeof L.UNSAFE_componentWillReceiveProps!="function"&&typeof L.componentWillReceiveProps!="function"||(B!==Ne||Se!==Y)&&Qh(a,L,y,Y),fi=!1,Se=a.memoizedState,L.state=Se,mi(a,y,L,w);var qe=a.memoizedState;B!==Ne||Se!==qe||kn.current||fi?(typeof Fe=="function"&&(im(a,d,Fe,y),qe=a.memoizedState),(ie=fi||Vh(a,d,ie,y,Se,qe,Y)||!1)?(we||typeof L.UNSAFE_componentWillUpdate!="function"&&typeof L.componentWillUpdate!="function"||(typeof L.componentWillUpdate=="function"&&L.componentWillUpdate(y,qe,Y),typeof L.UNSAFE_componentWillUpdate=="function"&&L.UNSAFE_componentWillUpdate(y,qe,Y)),typeof L.componentDidUpdate=="function"&&(a.flags|=4),typeof L.getSnapshotBeforeUpdate=="function"&&(a.flags|=1024)):(typeof L.componentDidUpdate!="function"||B===n.memoizedProps&&Se===n.memoizedState||(a.flags|=4),typeof L.getSnapshotBeforeUpdate!="function"||B===n.memoizedProps&&Se===n.memoizedState||(a.flags|=1024),a.memoizedProps=y,a.memoizedState=qe),L.props=y,L.state=qe,L.context=Y,y=ie):(typeof L.componentDidUpdate!="function"||B===n.memoizedProps&&Se===n.memoizedState||(a.flags|=4),typeof L.getSnapshotBeforeUpdate!="function"||B===n.memoizedProps&&Se===n.memoizedState||(a.flags|=1024),y=!1)}return mm(n,a,d,y,E,w)}function mm(n,a,d,y,w,E){Et(n,a);var L=(a.flags&128)!==0;if(!y&&!L)return w&&Ph(a,d,!1),ar(n,a,E);y=a.stateNode,T2.current=a;var B=L&&typeof d.getDerivedStateFromError!="function"?null:y.render();return a.flags|=1,n!==null&&L?(a.child=yl(a,n.child,null,E),a.child=yl(a,null,B,E)):Un(n,a,B,E),a.memoizedState=y.state,w&&Ph(a,d,!0),a.child}function Ud(n){var a=n.stateNode;a.pendingContext?li(n,a.pendingContext,a.pendingContext!==a.context):a.context&&li(n,a.context,!1),sm(n,a.containerInfo)}function El(n,a,d,y,w){return mn(),em(w),a.flags|=256,Un(n,a,d,y),a.child}var hm={dehydrated:null,treeContext:null,retryLane:0};function jd(n){return{baseLanes:n,cachePool:null,transitions:null}}function Zh(n,a,d){var y=a.pendingProps,w=lt.current,E=!1,L=(a.flags&128)!==0,B;if((B=L)||(B=n!==null&&n.memoizedState===null?!1:(w&2)!==0),B?(E=!0,a.flags&=-129):(n===null||n.memoizedState!==null)&&(w|=1),Yt(lt,w&1),n===null)return ud(a),n=a.memoizedState,n!==null&&(n=n.dehydrated,n!==null)?(a.mode&1?n.data==="$!"?a.lanes=8:a.lanes=1073741824:a.lanes=1,null):(L=y.children,n=y.fallback,E?(y=a.mode,E=a.child,L={mode:"hidden",children:L},!(y&1)&&E!==null?(E.childLanes=0,E.pendingProps=L):E=Ll(L,y,0,null),n=Ei(n,y,d,null),E.return=a,n.return=a,E.sibling=n,a.child=E,a.child.memoizedState=jd(d),a.memoizedState=hm,n):Bu(a,L));if(w=n.memoizedState,w!==null&&(B=w.dehydrated,B!==null))return Jh(n,a,L,y,B,w,d);if(E){E=y.fallback,L=a.mode,w=n.child,B=w.sibling;var Y={mode:"hidden",children:y.children};return!(L&1)&&a.child!==w?(y=a.child,y.childLanes=0,y.pendingProps=Y,a.deletions=null):(y=Si(w,Y),y.subtreeFlags=w.subtreeFlags&14680064),B!==null?E=Si(B,E):(E=Ei(E,L,d,null),E.flags|=2),E.return=a,y.return=a,y.sibling=E,a.child=y,y=E,E=a.child,L=n.child.memoizedState,L=L===null?jd(d):{baseLanes:L.baseLanes|d,cachePool:null,transitions:L.transitions},E.memoizedState=L,E.childLanes=n.childLanes&~d,a.memoizedState=hm,y}return E=n.child,n=E.sibling,y=Si(E,{mode:"visible",children:y.children}),!(a.mode&1)&&(y.lanes=d),y.return=a,y.sibling=null,n!==null&&(d=a.deletions,d===null?(a.deletions=[n],a.flags|=16):d.push(n)),a.child=y,a.memoizedState=null,y}function Bu(n,a){return a=Ll({mode:"visible",children:a},n.mode,0,null),a.return=n,n.child=a}function zd(n,a,d,y){return y!==null&&em(y),yl(a,n.child,null,d),n=Bu(a,a.pendingProps.children),n.flags|=2,a.memoizedState=null,n}function Jh(n,a,d,y,w,E,L){if(d)return a.flags&256?(a.flags&=-257,y=ju(Error(s(422))),zd(n,a,L,y)):a.memoizedState!==null?(a.child=n.child,a.flags|=128,null):(E=y.fallback,w=a.mode,y=Ll({mode:"visible",children:y.children},w,0,null),E=Ei(E,w,L,null),E.flags|=2,y.return=a,E.return=a,y.sibling=E,a.child=y,a.mode&1&&yl(a,n.child,null,L),a.child.memoizedState=jd(L),a.memoizedState=hm,E);if(!(a.mode&1))return zd(n,a,L,null);if(w.data==="$!"){if(y=w.nextSibling&&w.nextSibling.dataset,y)var B=y.dgst;return y=B,E=Error(s(419)),y=ju(E,y,void 0),zd(n,a,L,y)}if(B=(L&n.childLanes)!==0,xn||B){if(y=Ln,y!==null){switch(L&-L){case 4:w=2;break;case 16:w=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:w=32;break;case 536870912:w=268435456;break;default:w=0}w=w&(y.suspendedLanes|L)?0:w,w!==0&&w!==E.retryLane&&(E.retryLane=w,Do(n,w),da(y,n,w,-1))}return wm(),y=ju(Error(s(421))),zd(n,a,L,y)}return w.data==="$?"?(a.flags|=128,a.child=n.child,a=N2.bind(null,n),w._reactRetry=a,null):(n=E.treeContext,Qr=Ka(w.nextSibling),oa=a,sn=!0,_a=null,n!==null&&(Yr[yr++]=nr,Yr[yr++]=Ro,Yr[yr++]=Ia,nr=n.id,Ro=n.overflow,Ia=a),a=Bu(a,y.children),a.flags|=4096,a)}function gm(n,a,d){n.lanes|=a;var y=n.alternate;y!==null&&(y.lanes|=a),Kn(n.return,a,d)}function Bd(n,a,d,y,w){var E=n.memoizedState;E===null?n.memoizedState={isBackwards:a,rendering:null,renderingStartTime:0,last:y,tail:d,tailMode:w}:(E.isBackwards=a,E.rendering=null,E.renderingStartTime=0,E.last=y,E.tail=d,E.tailMode=w)}function qr(n,a,d){var y=a.pendingProps,w=y.revealOrder,E=y.tail;if(Un(n,a,y.children,d),y=lt.current,y&2)y=y&1|2,a.flags|=128;else{if(n!==null&&n.flags&128)e:for(n=a.child;n!==null;){if(n.tag===13)n.memoizedState!==null&&gm(n,d,a);else if(n.tag===19)gm(n,d,a);else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===a)break e;for(;n.sibling===null;){if(n.return===null||n.return===a)break e;n=n.return}n.sibling.return=n.return,n=n.sibling}y&=1}if(Yt(lt,y),!(a.mode&1))a.memoizedState=null;else switch(w){case"forwards":for(d=a.child,w=null;d!==null;)n=d.alternate,n!==null&&hn(n)===null&&(w=d),d=d.sibling;d=w,d===null?(w=a.child,a.child=null):(w=d.sibling,d.sibling=null),Bd(a,!1,w,d,E);break;case"backwards":for(d=null,w=a.child,a.child=null;w!==null;){if(n=w.alternate,n!==null&&hn(n)===null){a.child=w;break}n=w.sibling,w.sibling=d,d=w,w=n}Bd(a,!0,d,null,E);break;case"together":Bd(a,!1,null,null,void 0);break;default:a.memoizedState=null}return a.child}function Oa(n,a){!(a.mode&1)&&n!==null&&(n.alternate=null,a.alternate=null,a.flags|=2)}function ar(n,a,d){if(n!==null&&(a.dependencies=n.dependencies),bs|=a.lanes,!(d&a.childLanes))return null;if(n!==null&&a.child!==n.child)throw Error(s(153));if(a.child!==null){for(n=a.child,d=Si(n,n.pendingProps),a.child=d,d.return=a;n.sibling!==null;)n=n.sibling,d=d.sibling=Si(n,n.pendingProps),d.return=a;d.sibling=null}return a.child}function Fd(n,a,d){switch(a.tag){case 3:Ud(a),mn();break;case 5:st(a);break;case 1:fn(a.type)&&id(a);break;case 4:sm(a,a.stateNode.containerInfo);break;case 10:var y=a.type._context,w=a.memoizedProps.value;Yt(lo,y._currentValue),y._currentValue=w;break;case 13:if(y=a.memoizedState,y!==null)return y.dehydrated!==null?(Yt(lt,lt.current&1),a.flags|=128,null):d&a.child.childLanes?Zh(n,a,d):(Yt(lt,lt.current&1),n=ar(n,a,d),n!==null?n.sibling:null);Yt(lt,lt.current&1);break;case 19:if(y=(d&a.childLanes)!==0,n.flags&128){if(y)return qr(n,a,d);a.flags|=128}if(w=a.memoizedState,w!==null&&(w.rendering=null,w.tail=null,w.lastEffect=null),Yt(lt,lt.current),y)break;return null;case 22:case 23:return a.lanes=0,ys(n,a,d)}return ar(n,a,d)}var Nl,la,jn,Xh;Nl=function(n,a){for(var d=a.child;d!==null;){if(d.tag===5||d.tag===6)n.appendChild(d.stateNode);else if(d.tag!==4&&d.child!==null){d.child.return=d,d=d.child;continue}if(d===a)break;for(;d.sibling===null;){if(d.return===null||d.return===a)return;d=d.return}d.sibling.return=d.return,d=d.sibling}},la=function(){},jn=function(n,a,d,y){var w=n.memoizedProps;if(w!==y){n=a.stateNode,us(Za.current);var E=null;switch(d){case"input":w=Ct(n,w),y=Ct(n,y),E=[];break;case"select":w=xe({},w,{value:void 0}),y=xe({},y,{value:void 0}),E=[];break;case"textarea":w=Nt(n,w),y=Nt(n,y),E=[];break;default:typeof w.onClick!="function"&&typeof y.onClick=="function"&&(n.onclick=od)}Ie(d,y);var L;d=null;for(ie in w)if(!y.hasOwnProperty(ie)&&w.hasOwnProperty(ie)&&w[ie]!=null)if(ie==="style"){var B=w[ie];for(L in B)B.hasOwnProperty(L)&&(d||(d={}),d[L]="")}else ie!=="dangerouslySetInnerHTML"&&ie!=="children"&&ie!=="suppressContentEditableWarning"&&ie!=="suppressHydrationWarning"&&ie!=="autoFocus"&&(p.hasOwnProperty(ie)?E||(E=[]):(E=E||[]).push(ie,null));for(ie in y){var Y=y[ie];if(B=w!=null?w[ie]:void 0,y.hasOwnProperty(ie)&&Y!==B&&(Y!=null||B!=null))if(ie==="style")if(B){for(L in B)!B.hasOwnProperty(L)||Y&&Y.hasOwnProperty(L)||(d||(d={}),d[L]="");for(L in Y)Y.hasOwnProperty(L)&&B[L]!==Y[L]&&(d||(d={}),d[L]=Y[L])}else d||(E||(E=[]),E.push(ie,d)),d=Y;else ie==="dangerouslySetInnerHTML"?(Y=Y?Y.__html:void 0,B=B?B.__html:void 0,Y!=null&&B!==Y&&(E=E||[]).push(ie,Y)):ie==="children"?typeof Y!="string"&&typeof Y!="number"||(E=E||[]).push(ie,""+Y):ie!=="suppressContentEditableWarning"&&ie!=="suppressHydrationWarning"&&(p.hasOwnProperty(ie)?(Y!=null&&ie==="onScroll"&&Jt("scroll",n),E||B===Y||(E=[])):(E=E||[]).push(ie,Y))}d&&(E=E||[]).push("style",d);var ie=E;(a.updateQueue=ie)&&(a.flags|=4)}},Xh=function(n,a,d,y){d!==y&&(a.flags|=4)};function Fu(n,a){if(!sn)switch(n.tailMode){case"hidden":a=n.tail;for(var d=null;a!==null;)a.alternate!==null&&(d=a),a=a.sibling;d===null?n.tail=null:d.sibling=null;break;case"collapsed":d=n.tail;for(var y=null;d!==null;)d.alternate!==null&&(y=d),d=d.sibling;y===null?a||n.tail===null?n.tail=null:n.tail.sibling=null:y.sibling=null}}function vr(n){var a=n.alternate!==null&&n.alternate.child===n.child,d=0,y=0;if(a)for(var w=n.child;w!==null;)d|=w.lanes|w.childLanes,y|=w.subtreeFlags&14680064,y|=w.flags&14680064,w.return=n,w=w.sibling;else for(w=n.child;w!==null;)d|=w.lanes|w.childLanes,y|=w.subtreeFlags,y|=w.flags,w.return=n,w=w.sibling;return n.subtreeFlags|=y,n.childLanes=d,a}function ym(n,a,d){var y=a.pendingProps;switch(Jp(a),a.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return vr(a),null;case 1:return fn(a.type)&&Ma(),vr(a),null;case 3:return y=a.stateNode,hi(),Vt(kn),Vt(mt),yd(),y.pendingContext&&(y.context=y.pendingContext,y.pendingContext=null),(n===null||n.child===null)&&(cd(a)?a.flags|=4:n===null||n.memoizedState.isDehydrated&&!(a.flags&256)||(a.flags|=1024,_a!==null&&(Ku(_a),_a=null))),la(n,a),vr(a),null;case 5:Ot(a);var w=us(vl.current);if(d=a.type,n!==null&&a.stateNode!=null)jn(n,a,d,y,w),n.ref!==a.ref&&(a.flags|=512,a.flags|=2097152);else{if(!y){if(a.stateNode===null)throw Error(s(166));return vr(a),null}if(n=us(Za.current),cd(a)){y=a.stateNode,d=a.type;var E=a.memoizedProps;switch(y[io]=a,y[is]=E,n=(a.mode&1)!==0,d){case"dialog":Jt("cancel",y),Jt("close",y);break;case"iframe":case"object":case"embed":Jt("load",y);break;case"video":case"audio":for(w=0;w<Eu.length;w++)Jt(Eu[w],y);break;case"source":Jt("error",y);break;case"img":case"image":case"link":Jt("error",y),Jt("load",y);break;case"details":Jt("toggle",y);break;case"input":yn(y,E),Jt("invalid",y);break;case"select":y._wrapperState={wasMultiple:!!E.multiple},Jt("invalid",y);break;case"textarea":_n(y,E),Jt("invalid",y)}Ie(d,E),w=null;for(var L in E)if(E.hasOwnProperty(L)){var B=E[L];L==="children"?typeof B=="string"?y.textContent!==B&&(E.suppressHydrationWarning!==!0&&ad(y.textContent,B,n),w=["children",B]):typeof B=="number"&&y.textContent!==""+B&&(E.suppressHydrationWarning!==!0&&ad(y.textContent,B,n),w=["children",""+B]):p.hasOwnProperty(L)&&B!=null&&L==="onScroll"&&Jt("scroll",y)}switch(d){case"input":Gt(y),tr(y,E,!0);break;case"textarea":Gt(y),At(y);break;case"select":case"option":break;default:typeof E.onClick=="function"&&(y.onclick=od)}y=w,a.updateQueue=y,y!==null&&(a.flags|=4)}else{L=w.nodeType===9?w:w.ownerDocument,n==="http://www.w3.org/1999/xhtml"&&(n=jr(d)),n==="http://www.w3.org/1999/xhtml"?d==="script"?(n=L.createElement("div"),n.innerHTML="<script><\/script>",n=n.removeChild(n.firstChild)):typeof y.is=="string"?n=L.createElement(d,{is:y.is}):(n=L.createElement(d),d==="select"&&(L=n,y.multiple?L.multiple=!0:y.size&&(L.size=y.size))):n=L.createElementNS(n,d),n[io]=a,n[is]=y,Nl(n,a,!1,!1),a.stateNode=n;e:{switch(L=Ae(d,y),d){case"dialog":Jt("cancel",n),Jt("close",n),w=y;break;case"iframe":case"object":case"embed":Jt("load",n),w=y;break;case"video":case"audio":for(w=0;w<Eu.length;w++)Jt(Eu[w],n);w=y;break;case"source":Jt("error",n),w=y;break;case"img":case"image":case"link":Jt("error",n),Jt("load",n),w=y;break;case"details":Jt("toggle",n),w=y;break;case"input":yn(n,y),w=Ct(n,y),Jt("invalid",n);break;case"option":w=y;break;case"select":n._wrapperState={wasMultiple:!!y.multiple},w=xe({},y,{value:void 0}),Jt("invalid",n);break;case"textarea":_n(n,y),w=Nt(n,y),Jt("invalid",n);break;default:w=y}Ie(d,w),B=w;for(E in B)if(B.hasOwnProperty(E)){var Y=B[E];E==="style"?Te(n,Y):E==="dangerouslySetInnerHTML"?(Y=Y?Y.__html:void 0,Y!=null&&f(n,Y)):E==="children"?typeof Y=="string"?(d!=="textarea"||Y!=="")&&b(n,Y):typeof Y=="number"&&b(n,""+Y):E!=="suppressContentEditableWarning"&&E!=="suppressHydrationWarning"&&E!=="autoFocus"&&(p.hasOwnProperty(E)?Y!=null&&E==="onScroll"&&Jt("scroll",n):Y!=null&&te(n,E,Y,L))}switch(d){case"input":Gt(n),tr(n,y,!1);break;case"textarea":Gt(n),At(n);break;case"option":y.value!=null&&n.setAttribute("value",""+Qe(y.value));break;case"select":n.multiple=!!y.multiple,E=y.value,E!=null?an(n,!!y.multiple,E,!1):y.defaultValue!=null&&an(n,!!y.multiple,y.defaultValue,!0);break;default:typeof w.onClick=="function"&&(n.onclick=od)}switch(d){case"button":case"input":case"select":case"textarea":y=!!y.autoFocus;break e;case"img":y=!0;break e;default:y=!1}}y&&(a.flags|=4)}a.ref!==null&&(a.flags|=512,a.flags|=2097152)}return vr(a),null;case 6:if(n&&a.stateNode!=null)Xh(n,a,n.memoizedProps,y);else{if(typeof y!="string"&&a.stateNode===null)throw Error(s(166));if(d=us(vl.current),us(Za.current),cd(a)){if(y=a.stateNode,d=a.memoizedProps,y[io]=a,(E=y.nodeValue!==d)&&(n=oa,n!==null))switch(n.tag){case 3:ad(y.nodeValue,d,(n.mode&1)!==0);break;case 5:n.memoizedProps.suppressHydrationWarning!==!0&&ad(y.nodeValue,d,(n.mode&1)!==0)}E&&(a.flags|=4)}else y=(d.nodeType===9?d:d.ownerDocument).createTextNode(y),y[io]=a,a.stateNode=y}return vr(a),null;case 13:if(Vt(lt),y=a.memoizedState,n===null||n.memoizedState!==null&&n.memoizedState.dehydrated!==null){if(sn&&Qr!==null&&a.mode&1&&!(a.flags&128))zh(),mn(),a.flags|=98560,E=!1;else if(E=cd(a),y!==null&&y.dehydrated!==null){if(n===null){if(!E)throw Error(s(318));if(E=a.memoizedState,E=E!==null?E.dehydrated:null,!E)throw Error(s(317));E[io]=a}else mn(),!(a.flags&128)&&(a.memoizedState=null),a.flags|=4;vr(a),E=!1}else _a!==null&&(Ku(_a),_a=null),E=!0;if(!E)return a.flags&65536?a:null}return a.flags&128?(a.lanes=d,a):(y=y!==null,y!==(n!==null&&n.memoizedState!==null)&&y&&(a.child.flags|=8192,a.mode&1&&(n===null||lt.current&1?zn===0&&(zn=3):wm())),a.updateQueue!==null&&(a.flags|=4),vr(a),null);case 4:return hi(),la(n,a),n===null&&pl(a.stateNode.containerInfo),vr(a),null;case 10:return di(a.type._context),vr(a),null;case 17:return fn(a.type)&&Ma(),vr(a),null;case 19:if(Vt(lt),E=a.memoizedState,E===null)return vr(a),null;if(y=(a.flags&128)!==0,L=E.rendering,L===null)if(y)Fu(E,!1);else{if(zn!==0||n!==null&&n.flags&128)for(n=a.child;n!==null;){if(L=hn(n),L!==null){for(a.flags|=128,Fu(E,!1),y=L.updateQueue,y!==null&&(a.updateQueue=y,a.flags|=4),a.subtreeFlags=0,y=d,d=a.child;d!==null;)E=d,n=y,E.flags&=14680066,L=E.alternate,L===null?(E.childLanes=0,E.lanes=n,E.child=null,E.subtreeFlags=0,E.memoizedProps=null,E.memoizedState=null,E.updateQueue=null,E.dependencies=null,E.stateNode=null):(E.childLanes=L.childLanes,E.lanes=L.lanes,E.child=L.child,E.subtreeFlags=0,E.deletions=null,E.memoizedProps=L.memoizedProps,E.memoizedState=L.memoizedState,E.updateQueue=L.updateQueue,E.type=L.type,n=L.dependencies,E.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext}),d=d.sibling;return Yt(lt,lt.current&1|2),a.child}n=n.sibling}E.tail!==null&&Tn()>Cl&&(a.flags|=128,y=!0,Fu(E,!1),a.lanes=4194304)}else{if(!y)if(n=hn(L),n!==null){if(a.flags|=128,y=!0,d=n.updateQueue,d!==null&&(a.updateQueue=d,a.flags|=4),Fu(E,!0),E.tail===null&&E.tailMode==="hidden"&&!L.alternate&&!sn)return vr(a),null}else 2*Tn()-E.renderingStartTime>Cl&&d!==1073741824&&(a.flags|=128,y=!0,Fu(E,!1),a.lanes=4194304);E.isBackwards?(L.sibling=a.child,a.child=L):(d=E.last,d!==null?d.sibling=L:a.child=L,E.last=L)}return E.tail!==null?(a=E.tail,E.rendering=a,E.tail=a.sibling,E.renderingStartTime=Tn(),a.sibling=null,d=lt.current,Yt(lt,y?d&1|2:d&1),a):(vr(a),null);case 22:case 23:return bm(),y=a.memoizedState!==null,n!==null&&n.memoizedState!==null!==y&&(a.flags|=8192),y&&a.mode&1?ua&1073741824&&(vr(a),a.subtreeFlags&6&&(a.flags|=8192)):vr(a),null;case 24:return null;case 25:return null}throw Error(s(156,a.tag))}function eg(n,a){switch(Jp(a),a.tag){case 1:return fn(a.type)&&Ma(),n=a.flags,n&65536?(a.flags=n&-65537|128,a):null;case 3:return hi(),Vt(kn),Vt(mt),yd(),n=a.flags,n&65536&&!(n&128)?(a.flags=n&-65537|128,a):null;case 5:return Ot(a),null;case 13:if(Vt(lt),n=a.memoizedState,n!==null&&n.dehydrated!==null){if(a.alternate===null)throw Error(s(340));mn()}return n=a.flags,n&65536?(a.flags=n&-65537|128,a):null;case 19:return Vt(lt),null;case 4:return hi(),null;case 10:return di(a.type._context),null;case 22:case 23:return bm(),null;case 24:return null;default:return null}}var vs=!1,or=!1,k2=typeof WeakSet=="function"?WeakSet:Set,Ge=null;function Ti(n,a){var d=n.ref;if(d!==null)if(typeof d=="function")try{d(null)}catch(y){bn(n,a,y)}else d.current=null}function tg(n,a,d){try{d()}catch(y){bn(n,a,y)}}var vm=!1;function b2(n,a){if(Qp=Xi,n=Xc(),Ao(n)){if("selectionStart"in n)var d={start:n.selectionStart,end:n.selectionEnd};else e:{d=(d=n.ownerDocument)&&d.defaultView||window;var y=d.getSelection&&d.getSelection();if(y&&y.rangeCount!==0){d=y.anchorNode;var w=y.anchorOffset,E=y.focusNode;y=y.focusOffset;try{d.nodeType,E.nodeType}catch{d=null;break e}var L=0,B=-1,Y=-1,ie=0,we=0,Ne=n,Se=null;t:for(;;){for(var Fe;Ne!==d||w!==0&&Ne.nodeType!==3||(B=L+w),Ne!==E||y!==0&&Ne.nodeType!==3||(Y=L+y),Ne.nodeType===3&&(L+=Ne.nodeValue.length),(Fe=Ne.firstChild)!==null;)Se=Ne,Ne=Fe;for(;;){if(Ne===n)break t;if(Se===d&&++ie===w&&(B=L),Se===E&&++we===y&&(Y=L),(Fe=Ne.nextSibling)!==null)break;Ne=Se,Se=Ne.parentNode}Ne=Fe}d=B===-1||Y===-1?null:{start:B,end:Y}}else d=null}d=d||{start:0,end:0}}else d=null;for(as={focusedElem:n,selectionRange:d},Xi=!1,Ge=a;Ge!==null;)if(a=Ge,n=a.child,(a.subtreeFlags&1028)!==0&&n!==null)n.return=a,Ge=n;else for(;Ge!==null;){a=Ge;try{var qe=a.alternate;if(a.flags&1024)switch(a.tag){case 0:case 11:case 15:break;case 1:if(qe!==null){var Je=qe.memoizedProps,Nn=qe.memoizedState,X=a.stateNode,$=X.getSnapshotBeforeUpdate(a.elementType===a.type?Je:ia(a.type,Je),Nn);X.__reactInternalSnapshotBeforeUpdate=$}break;case 3:var re=a.stateNode.containerInfo;re.nodeType===1?re.textContent="":re.nodeType===9&&re.documentElement&&re.removeChild(re.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(s(163))}}catch(Oe){bn(a,a.return,Oe)}if(n=a.sibling,n!==null){n.return=a.return,Ge=n;break}Ge=a.return}return qe=vm,vm=!1,qe}function Ml(n,a,d){var y=a.updateQueue;if(y=y!==null?y.lastEffect:null,y!==null){var w=y=y.next;do{if((w.tag&n)===n){var E=w.destroy;w.destroy=void 0,E!==void 0&&tg(a,d,E)}w=w.next}while(w!==y)}}function Vd(n,a){if(a=a.updateQueue,a=a!==null?a.lastEffect:null,a!==null){var d=a=a.next;do{if((d.tag&n)===n){var y=d.create;d.destroy=y()}d=d.next}while(d!==a)}}function Yd(n){var a=n.ref;if(a!==null){var d=n.stateNode;switch(n.tag){case 5:n=d;break;default:n=d}typeof a=="function"?a(n):a.current=n}}function ng(n){var a=n.alternate;a!==null&&(n.alternate=null,ng(a)),n.child=null,n.deletions=null,n.sibling=null,n.tag===5&&(a=n.stateNode,a!==null&&(delete a[io],delete a[is],delete a[$p],delete a[m2],delete a[qp])),n.stateNode=null,n.return=null,n.dependencies=null,n.memoizedProps=null,n.memoizedState=null,n.pendingProps=null,n.stateNode=null,n.updateQueue=null}function Qd(n){return n.tag===5||n.tag===3||n.tag===4}function Vu(n){e:for(;;){for(;n.sibling===null;){if(n.return===null||Qd(n.return))return null;n=n.return}for(n.sibling.return=n.return,n=n.sibling;n.tag!==5&&n.tag!==6&&n.tag!==18;){if(n.flags&2||n.child===null||n.tag===4)continue e;n.child.return=n,n=n.child}if(!(n.flags&2))return n.stateNode}}function co(n,a,d){var y=n.tag;if(y===5||y===6)n=n.stateNode,a?d.nodeType===8?d.parentNode.insertBefore(n,a):d.insertBefore(n,a):(d.nodeType===8?(a=d.parentNode,a.insertBefore(n,d)):(a=d,a.appendChild(n)),d=d._reactRootContainer,d!=null||a.onclick!==null||(a.onclick=od));else if(y!==4&&(n=n.child,n!==null))for(co(n,a,d),n=n.sibling;n!==null;)co(n,a,d),n=n.sibling}function fo(n,a,d){var y=n.tag;if(y===5||y===6)n=n.stateNode,a?d.insertBefore(n,a):d.appendChild(n);else if(y!==4&&(n=n.child,n!==null))for(fo(n,a,d),n=n.sibling;n!==null;)fo(n,a,d),n=n.sibling}var pn=null,Nr=!1;function xa(n,a,d){for(d=d.child;d!==null;)jo(n,a,d),d=d.sibling}function jo(n,a,d){if(Ga&&typeof Ga.onCommitFiberUnmount=="function")try{Ga.onCommitFiberUnmount(lu,d)}catch{}switch(d.tag){case 5:or||Ti(d,a);case 6:var y=pn,w=Nr;pn=null,xa(n,a,d),pn=y,Nr=w,pn!==null&&(Nr?(n=pn,d=d.stateNode,n.nodeType===8?n.parentNode.removeChild(d):n.removeChild(d)):pn.removeChild(d.stateNode));break;case 18:pn!==null&&(Nr?(n=pn,d=d.stateNode,n.nodeType===8?oi(n.parentNode,d):n.nodeType===1&&oi(n,d),pu(n)):oi(pn,d.stateNode));break;case 4:y=pn,w=Nr,pn=d.stateNode.containerInfo,Nr=!0,xa(n,a,d),pn=y,Nr=w;break;case 0:case 11:case 14:case 15:if(!or&&(y=d.updateQueue,y!==null&&(y=y.lastEffect,y!==null))){w=y=y.next;do{var E=w,L=E.destroy;E=E.tag,L!==void 0&&(E&2||E&4)&&tg(d,a,L),w=w.next}while(w!==y)}xa(n,a,d);break;case 1:if(!or&&(Ti(d,a),y=d.stateNode,typeof y.componentWillUnmount=="function"))try{y.props=d.memoizedProps,y.state=d.memoizedState,y.componentWillUnmount()}catch(B){bn(d,a,B)}xa(n,a,d);break;case 21:xa(n,a,d);break;case 22:d.mode&1?(or=(y=or)||d.memoizedState!==null,xa(n,a,d),or=y):xa(n,a,d);break;default:xa(n,a,d)}}function rg(n){var a=n.updateQueue;if(a!==null){n.updateQueue=null;var d=n.stateNode;d===null&&(d=n.stateNode=new k2),a.forEach(function(y){var w=M2.bind(null,n,y);d.has(y)||(d.add(y),y.then(w,w))})}}function Ja(n,a){var d=a.deletions;if(d!==null)for(var y=0;y<d.length;y++){var w=d[y];try{var E=n,L=a,B=L;e:for(;B!==null;){switch(B.tag){case 5:pn=B.stateNode,Nr=!1;break e;case 3:pn=B.stateNode.containerInfo,Nr=!0;break e;case 4:pn=B.stateNode.containerInfo,Nr=!0;break e}B=B.return}if(pn===null)throw Error(s(160));jo(E,L,w),pn=null,Nr=!1;var Y=w.alternate;Y!==null&&(Y.return=null),w.return=null}catch(ie){bn(w,a,ie)}}if(a.subtreeFlags&12854)for(a=a.child;a!==null;)ag(a,n),a=a.sibling}function ag(n,a){var d=n.alternate,y=n.flags;switch(n.tag){case 0:case 11:case 14:case 15:if(Ja(a,n),Xa(n),y&4){try{Ml(3,n,n.return),Vd(3,n)}catch(Je){bn(n,n.return,Je)}try{Ml(5,n,n.return)}catch(Je){bn(n,n.return,Je)}}break;case 1:Ja(a,n),Xa(n),y&512&&d!==null&&Ti(d,d.return);break;case 5:if(Ja(a,n),Xa(n),y&512&&d!==null&&Ti(d,d.return),n.flags&32){var w=n.stateNode;try{b(w,"")}catch(Je){bn(n,n.return,Je)}}if(y&4&&(w=n.stateNode,w!=null)){var E=n.memoizedProps,L=d!==null?d.memoizedProps:E,B=n.type,Y=n.updateQueue;if(n.updateQueue=null,Y!==null)try{B==="input"&&E.type==="radio"&&E.name!=null&&In(w,E),Ae(B,L);var ie=Ae(B,E);for(L=0;L<Y.length;L+=2){var we=Y[L],Ne=Y[L+1];we==="style"?Te(w,Ne):we==="dangerouslySetInnerHTML"?f(w,Ne):we==="children"?b(w,Ne):te(w,we,Ne,ie)}switch(B){case"input":nn(w,E);break;case"textarea":ta(w,E);break;case"select":var Se=w._wrapperState.wasMultiple;w._wrapperState.wasMultiple=!!E.multiple;var Fe=E.value;Fe!=null?an(w,!!E.multiple,Fe,!1):Se!==!!E.multiple&&(E.defaultValue!=null?an(w,!!E.multiple,E.defaultValue,!0):an(w,!!E.multiple,E.multiple?[]:"",!1))}w[is]=E}catch(Je){bn(n,n.return,Je)}}break;case 6:if(Ja(a,n),Xa(n),y&4){if(n.stateNode===null)throw Error(s(162));w=n.stateNode,E=n.memoizedProps;try{w.nodeValue=E}catch(Je){bn(n,n.return,Je)}}break;case 3:if(Ja(a,n),Xa(n),y&4&&d!==null&&d.memoizedState.isDehydrated)try{pu(a.containerInfo)}catch(Je){bn(n,n.return,Je)}break;case 4:Ja(a,n),Xa(n);break;case 13:Ja(a,n),Xa(n),w=n.child,w.flags&8192&&(E=w.memoizedState!==null,w.stateNode.isHidden=E,!E||w.alternate!==null&&w.alternate.memoizedState!==null||(km=Tn())),y&4&&rg(n);break;case 22:if(we=d!==null&&d.memoizedState!==null,n.mode&1?(or=(ie=or)||we,Ja(a,n),or=ie):Ja(a,n),Xa(n),y&8192){if(ie=n.memoizedState!==null,(n.stateNode.isHidden=ie)&&!we&&n.mode&1)for(Ge=n,we=n.child;we!==null;){for(Ne=Ge=we;Ge!==null;){switch(Se=Ge,Fe=Se.child,Se.tag){case 0:case 11:case 14:case 15:Ml(4,Se,Se.return);break;case 1:Ti(Se,Se.return);var qe=Se.stateNode;if(typeof qe.componentWillUnmount=="function"){y=Se,d=Se.return;try{a=y,qe.props=a.memoizedProps,qe.state=a.memoizedState,qe.componentWillUnmount()}catch(Je){bn(y,d,Je)}}break;case 5:Ti(Se,Se.return);break;case 22:if(Se.memoizedState!==null){ig(Ne);continue}}Fe!==null?(Fe.return=Se,Ge=Fe):ig(Ne)}we=we.sibling}e:for(we=null,Ne=n;;){if(Ne.tag===5){if(we===null){we=Ne;try{w=Ne.stateNode,ie?(E=w.style,typeof E.setProperty=="function"?E.setProperty("display","none","important"):E.display="none"):(B=Ne.stateNode,Y=Ne.memoizedProps.style,L=Y!=null&&Y.hasOwnProperty("display")?Y.display:null,B.style.display=U("display",L))}catch(Je){bn(n,n.return,Je)}}}else if(Ne.tag===6){if(we===null)try{Ne.stateNode.nodeValue=ie?"":Ne.memoizedProps}catch(Je){bn(n,n.return,Je)}}else if((Ne.tag!==22&&Ne.tag!==23||Ne.memoizedState===null||Ne===n)&&Ne.child!==null){Ne.child.return=Ne,Ne=Ne.child;continue}if(Ne===n)break e;for(;Ne.sibling===null;){if(Ne.return===null||Ne.return===n)break e;we===Ne&&(we=null),Ne=Ne.return}we===Ne&&(we=null),Ne.sibling.return=Ne.return,Ne=Ne.sibling}}break;case 19:Ja(a,n),Xa(n),y&4&&rg(n);break;case 21:break;default:Ja(a,n),Xa(n)}}function Xa(n){var a=n.flags;if(a&2){try{e:{for(var d=n.return;d!==null;){if(Qd(d)){var y=d;break e}d=d.return}throw Error(s(160))}switch(y.tag){case 5:var w=y.stateNode;y.flags&32&&(b(w,""),y.flags&=-33);var E=Vu(n);fo(n,E,w);break;case 3:case 4:var L=y.stateNode.containerInfo,B=Vu(n);co(n,B,L);break;default:throw Error(s(161))}}catch(Y){bn(n,n.return,Y)}n.flags&=-3}a&4096&&(n.flags&=-4097)}function Yu(n,a,d){Ge=n,og(n)}function og(n,a,d){for(var y=(n.mode&1)!==0;Ge!==null;){var w=Ge,E=w.child;if(w.tag===22&&y){var L=w.memoizedState!==null||vs;if(!L){var B=w.alternate,Y=B!==null&&B.memoizedState!==null||or;B=vs;var ie=or;if(vs=L,(or=Y)&&!ie)for(Ge=w;Ge!==null;)L=Ge,Y=L.child,L.tag===22&&L.memoizedState!==null?Qu(w):Y!==null?(Y.return=L,Ge=Y):Qu(w);for(;E!==null;)Ge=E,og(E),E=E.sibling;Ge=w,vs=B,or=ie}Tm(n)}else w.subtreeFlags&8772&&E!==null?(E.return=w,Ge=E):Tm(n)}}function Tm(n){for(;Ge!==null;){var a=Ge;if(a.flags&8772){var d=a.alternate;try{if(a.flags&8772)switch(a.tag){case 0:case 11:case 15:or||Vd(5,a);break;case 1:var y=a.stateNode;if(a.flags&4&&!or)if(d===null)y.componentDidMount();else{var w=a.elementType===a.type?d.memoizedProps:ia(a.type,d.memoizedProps);y.componentDidUpdate(w,d.memoizedState,y.__reactInternalSnapshotBeforeUpdate)}var E=a.updateQueue;E!==null&&ls(a,E,y);break;case 3:var L=a.updateQueue;if(L!==null){if(d=null,a.child!==null)switch(a.child.tag){case 5:d=a.child.stateNode;break;case 1:d=a.child.stateNode}ls(a,L,d)}break;case 5:var B=a.stateNode;if(d===null&&a.flags&4){d=B;var Y=a.memoizedProps;switch(a.type){case"button":case"input":case"select":case"textarea":Y.autoFocus&&d.focus();break;case"img":Y.src&&(d.src=Y.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(a.memoizedState===null){var ie=a.alternate;if(ie!==null){var we=ie.memoizedState;if(we!==null){var Ne=we.dehydrated;Ne!==null&&pu(Ne)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(s(163))}or||a.flags&512&&Yd(a)}catch(Se){bn(a,a.return,Se)}}if(a===n){Ge=null;break}if(d=a.sibling,d!==null){d.return=a.return,Ge=d;break}Ge=a.return}}function ig(n){for(;Ge!==null;){var a=Ge;if(a===n){Ge=null;break}var d=a.sibling;if(d!==null){d.return=a.return,Ge=d;break}Ge=a.return}}function Qu(n){for(;Ge!==null;){var a=Ge;try{switch(a.tag){case 0:case 11:case 15:var d=a.return;try{Vd(4,a)}catch(Y){bn(a,d,Y)}break;case 1:var y=a.stateNode;if(typeof y.componentDidMount=="function"){var w=a.return;try{y.componentDidMount()}catch(Y){bn(a,w,Y)}}var E=a.return;try{Yd(a)}catch(Y){bn(a,E,Y)}break;case 5:var L=a.return;try{Yd(a)}catch(Y){bn(a,L,Y)}}}catch(Y){bn(a,a.return,Y)}if(a===n){Ge=null;break}var B=a.sibling;if(B!==null){B.return=a.return,Ge=B;break}Ge=a.return}}var sg=Math.ceil,Gd=ue.ReactCurrentDispatcher,Ts=ue.ReactCurrentOwner,Tr=ue.ReactCurrentBatchConfig,xt=0,Ln=null,En=null,ir=0,ua=0,Il=St(0),zn=0,ks=null,bs=0,ws=0,Gu=0,_l=null,Wr=null,km=0,Cl=1/0,zo=null,ki=!1,Hu=null,La=null,Hd=!1,bi=null,$u=0,Al=0,Ol=null,Ss=-1,qu=0;function en(){return xt&6?Tn():Ss!==-1?Ss:Ss=Tn()}function ca(n){return n.mode&1?xt&2&&ir!==0?ir&-ir:dd.transition!==null?(qu===0&&(qu=Fc()),qu):(n=Ht,n!==0||(n=window.event,n=n===void 0?16:Ep(n.type)),n):1}function da(n,a,d,y){if(50<Al)throw Al=0,Ol=null,Error(s(185));Ji(n,d,y),(!(xt&2)||n!==Ln)&&(n===Ln&&(!(xt&2)&&(ws|=d),zn===4&&wi(n,ir)),Zn(n,y),d===1&&xt===0&&!(a.mode&1)&&(Cl=Tn()+500,Wn&&Fr()))}function Zn(n,a){var d=n.callbackNode;Bc(n,a);var y=Ha(n,n===Ln?ir:0);if(y===0)d!==null&&$1(d),n.callbackNode=null,n.callbackPriority=0;else if(a=y&-y,n.callbackPriority!==a){if(d!=null&&$1(d),a===1)n.tag===0?Kp(Ju.bind(null,n)):Wp(Ju.bind(null,n)),Hp(function(){!(xt&6)&&Fr()}),d=null;else{switch(bp(y)){case 1:d=Mo;break;case 4:d=Rt;break;case 16:d=ei;break;case 536870912:d=yp;break;default:d=ei}d=pg(d,lg.bind(null,n))}n.callbackPriority=a,n.callbackNode=d}}function lg(n,a){if(Ss=-1,qu=0,xt&6)throw Error(s(327));var d=n.callbackNode;if(xl()&&n.callbackNode!==d)return null;var y=Ha(n,n===Ln?ir:0);if(y===0)return null;if(y&30||y&n.expiredLanes||a)a=Wd(n,y);else{a=y;var w=xt;xt|=2;var E=ug();(Ln!==n||ir!==a)&&(zo=null,Cl=Tn()+500,Ns(n,a));do try{S2();break}catch(B){qd(n,B)}while(1);nm(),Gd.current=E,xt=w,En!==null?a=0:(Ln=null,ir=0,a=zn)}if(a!==0){if(a===2&&(w=Tp(n),w!==0&&(y=w,a=Wu(n,w))),a===1)throw d=ks,Ns(n,0),wi(n,y),Zn(n,Tn()),d;if(a===6)wi(n,y);else{if(w=n.current.alternate,!(y&30)&&!Zu(w)&&(a=Wd(n,y),a===2&&(E=Tp(n),E!==0&&(y=E,a=Wu(n,E))),a===1))throw d=ks,Ns(n,0),wi(n,y),Zn(n,Tn()),d;switch(n.finishedWork=w,n.finishedLanes=y,a){case 0:case 1:throw Error(s(345));case 2:Ms(n,Wr,zo);break;case 3:if(wi(n,y),(y&130023424)===y&&(a=km+500-Tn(),10<a)){if(Ha(n,0)!==0)break;if(w=n.suspendedLanes,(w&y)!==y){en(),n.pingedLanes|=n.suspendedLanes&w;break}n.timeoutHandle=os(Ms.bind(null,n,Wr,zo),a);break}Ms(n,Wr,zo);break;case 4:if(wi(n,y),(y&4194240)===y)break;for(a=n.eventTimes,w=-1;0<y;){var L=31-ka(y);E=1<<L,L=a[L],L>w&&(w=L),y&=~E}if(y=w,y=Tn()-y,y=(120>y?120:480>y?480:1080>y?1080:1920>y?1920:3e3>y?3e3:4320>y?4320:1960*sg(y/1960))-y,10<y){n.timeoutHandle=os(Ms.bind(null,n,Wr,zo),y);break}Ms(n,Wr,zo);break;case 5:Ms(n,Wr,zo);break;default:throw Error(s(329))}}}return Zn(n,Tn()),n.callbackNode===d?lg.bind(null,n):null}function Wu(n,a){var d=_l;return n.current.memoizedState.isDehydrated&&(Ns(n,a).flags|=256),n=Wd(n,a),n!==2&&(a=Wr,Wr=d,a!==null&&Ku(a)),n}function Ku(n){Wr===null?Wr=n:Wr.push.apply(Wr,n)}function Zu(n){for(var a=n;;){if(a.flags&16384){var d=a.updateQueue;if(d!==null&&(d=d.stores,d!==null))for(var y=0;y<d.length;y++){var w=d[y],E=w.getSnapshot;w=w.value;try{if(!Sa(E(),w))return!1}catch{return!1}}}if(d=a.child,a.subtreeFlags&16384&&d!==null)d.return=a,a=d;else{if(a===n)break;for(;a.sibling===null;){if(a.return===null||a.return===n)return!0;a=a.return}a.sibling.return=a.return,a=a.sibling}}return!0}function wi(n,a){for(a&=~Gu,a&=~ws,n.suspendedLanes|=a,n.pingedLanes&=~a,n=n.expirationTimes;0<a;){var d=31-ka(a),y=1<<d;n[d]=-1,a&=~y}}function Ju(n){if(xt&6)throw Error(s(327));xl();var a=Ha(n,0);if(!(a&1))return Zn(n,Tn()),null;var d=Wd(n,a);if(n.tag!==0&&d===2){var y=Tp(n);y!==0&&(a=y,d=Wu(n,y))}if(d===1)throw d=ks,Ns(n,0),wi(n,a),Zn(n,Tn()),d;if(d===6)throw Error(s(345));return n.finishedWork=n.current.alternate,n.finishedLanes=a,Ms(n,Wr,zo),Zn(n,Tn()),null}function $d(n,a){var d=xt;xt|=1;try{return n(a)}finally{xt=d,xt===0&&(Cl=Tn()+500,Wn&&Fr())}}function Es(n){bi!==null&&bi.tag===0&&!(xt&6)&&xl();var a=xt;xt|=1;var d=Tr.transition,y=Ht;try{if(Tr.transition=null,Ht=1,n)return n()}finally{Ht=y,Tr.transition=d,xt=a,!(xt&6)&&Fr()}}function bm(){ua=Il.current,Vt(Il)}function Ns(n,a){n.finishedWork=null,n.finishedLanes=0;var d=n.timeoutHandle;if(d!==-1&&(n.timeoutHandle=-1,Dh(d)),En!==null)for(d=En.return;d!==null;){var y=d;switch(Jp(y),y.tag){case 1:y=y.type.childContextTypes,y!=null&&Ma();break;case 3:hi(),Vt(kn),Vt(mt),yd();break;case 5:Ot(y);break;case 4:hi();break;case 13:Vt(lt);break;case 19:Vt(lt);break;case 10:di(y.type._context);break;case 22:case 23:bm()}d=d.return}if(Ln=n,En=n=Si(n.current,null),ir=ua=a,zn=0,ks=null,Gu=ws=bs=0,Wr=_l=null,rr!==null){for(a=0;a<rr.length;a++)if(d=rr[a],y=d.interleaved,y!==null){d.interleaved=null;var w=y.next,E=d.pending;if(E!==null){var L=E.next;E.next=w,y.next=L}d.pending=y}rr=null}return n}function qd(n,a){do{var d=En;try{if(nm(),vd.current=Rd,ut){for(var y=ln.memoizedState;y!==null;){var w=y.queue;w!==null&&(w.pending=null),y=y.next}ut=!1}if(cs=0,Pt=he=ln=null,uo=!1,sa=0,Ts.current=null,d===null||d.return===null){zn=1,ks=a,En=null;break}e:{var E=n,L=d.return,B=d,Y=a;if(a=ir,B.flags|=32768,Y!==null&&typeof Y=="object"&&typeof Y.then=="function"){var ie=Y,we=B,Ne=we.tag;if(!(we.mode&1)&&(Ne===0||Ne===11||Ne===15)){var Se=we.alternate;Se?(we.updateQueue=Se.updateQueue,we.memoizedState=Se.memoizedState,we.lanes=Se.lanes):(we.updateQueue=null,we.memoizedState=null)}var Fe=dm(L);if(Fe!==null){Fe.flags&=-257,fm(Fe,L,B,E,a),Fe.mode&1&&Kh(E,ie,a),a=Fe,Y=ie;var qe=a.updateQueue;if(qe===null){var Je=new Set;Je.add(Y),a.updateQueue=Je}else qe.add(Y);break e}else{if(!(a&1)){Kh(E,ie,a),wm();break e}Y=Error(s(426))}}else if(sn&&B.mode&1){var Nn=dm(L);if(Nn!==null){!(Nn.flags&65536)&&(Nn.flags|=256),fm(Nn,L,B,E,a),em(wl(Y,B));break e}}E=Y=wl(Y,B),zn!==4&&(zn=2),_l===null?_l=[E]:_l.push(E),E=L;do{switch(E.tag){case 3:E.flags|=65536,a&=-a,E.lanes|=a;var X=Wh(E,Y,a);om(E,X);break e;case 1:B=Y;var $=E.type,re=E.stateNode;if(!(E.flags&128)&&(typeof $.getDerivedStateFromError=="function"||re!==null&&typeof re.componentDidCatch=="function"&&(La===null||!La.has(re)))){E.flags|=65536,a&=-a,E.lanes|=a;var Oe=zu(E,B,a);om(E,Oe);break e}}E=E.return}while(E!==null)}cg(d)}catch(Be){a=Be,En===d&&d!==null&&(En=d=d.return);continue}break}while(1)}function ug(){var n=Gd.current;return Gd.current=Rd,n===null?Rd:n}function wm(){(zn===0||zn===3||zn===2)&&(zn=4),Ln===null||!(bs&268435455)&&!(ws&268435455)||wi(Ln,ir)}function Wd(n,a){var d=xt;xt|=2;var y=ug();(Ln!==n||ir!==a)&&(zo=null,Ns(n,a));do try{w2();break}catch(w){qd(n,w)}while(1);if(nm(),xt=d,Gd.current=y,En!==null)throw Error(s(261));return Ln=null,ir=0,zn}function w2(){for(;En!==null;)Sm(En)}function S2(){for(;En!==null&&!Hy();)Sm(En)}function Sm(n){var a=Nm(n.alternate,n,ua);n.memoizedProps=n.pendingProps,a===null?cg(n):En=a,Ts.current=null}function cg(n){var a=n;do{var d=a.alternate;if(n=a.return,a.flags&32768){if(d=eg(d,a),d!==null){d.flags&=32767,En=d;return}if(n!==null)n.flags|=32768,n.subtreeFlags=0,n.deletions=null;else{zn=6,En=null;return}}else if(d=ym(d,a,ua),d!==null){En=d;return}if(a=a.sibling,a!==null){En=a;return}En=a=n}while(a!==null);zn===0&&(zn=5)}function Ms(n,a,d){var y=Ht,w=Tr.transition;try{Tr.transition=null,Ht=1,E2(n,a,d,y)}finally{Tr.transition=w,Ht=y}return null}function E2(n,a,d,y){do xl();while(bi!==null);if(xt&6)throw Error(s(327));d=n.finishedWork;var w=n.finishedLanes;if(d===null)return null;if(n.finishedWork=null,n.finishedLanes=0,d===n.current)throw Error(s(177));n.callbackNode=null,n.callbackPriority=0;var E=d.lanes|d.childLanes;if(Ky(n,E),n===Ln&&(En=Ln=null,ir=0),!(d.subtreeFlags&2064)&&!(d.flags&2064)||Hd||(Hd=!0,pg(ei,function(){return xl(),null})),E=(d.flags&15990)!==0,d.subtreeFlags&15990||E){E=Tr.transition,Tr.transition=null;var L=Ht;Ht=1;var B=xt;xt|=4,Ts.current=null,b2(n,d),ag(d,n),ed(as),Xi=!!Qp,as=Qp=null,n.current=d,Yu(d),$y(),xt=B,Ht=L,Tr.transition=E}else n.current=d;if(Hd&&(Hd=!1,bi=n,$u=w),E=n.pendingLanes,E===0&&(La=null),W1(d.stateNode),Zn(n,Tn()),a!==null)for(y=n.onRecoverableError,d=0;d<a.length;d++)w=a[d],y(w.value,{componentStack:w.stack,digest:w.digest});if(ki)throw ki=!1,n=Hu,Hu=null,n;return $u&1&&n.tag!==0&&xl(),E=n.pendingLanes,E&1?n===Ol?Al++:(Al=0,Ol=n):Al=0,Fr(),null}function xl(){if(bi!==null){var n=bp($u),a=Tr.transition,d=Ht;try{if(Tr.transition=null,Ht=16>n?16:n,bi===null)var y=!1;else{if(n=bi,bi=null,$u=0,xt&6)throw Error(s(331));var w=xt;for(xt|=4,Ge=n.current;Ge!==null;){var E=Ge,L=E.child;if(Ge.flags&16){var B=E.deletions;if(B!==null){for(var Y=0;Y<B.length;Y++){var ie=B[Y];for(Ge=ie;Ge!==null;){var we=Ge;switch(we.tag){case 0:case 11:case 15:Ml(8,we,E)}var Ne=we.child;if(Ne!==null)Ne.return=we,Ge=Ne;else for(;Ge!==null;){we=Ge;var Se=we.sibling,Fe=we.return;if(ng(we),we===ie){Ge=null;break}if(Se!==null){Se.return=Fe,Ge=Se;break}Ge=Fe}}}var qe=E.alternate;if(qe!==null){var Je=qe.child;if(Je!==null){qe.child=null;do{var Nn=Je.sibling;Je.sibling=null,Je=Nn}while(Je!==null)}}Ge=E}}if(E.subtreeFlags&2064&&L!==null)L.return=E,Ge=L;else e:for(;Ge!==null;){if(E=Ge,E.flags&2048)switch(E.tag){case 0:case 11:case 15:Ml(9,E,E.return)}var X=E.sibling;if(X!==null){X.return=E.return,Ge=X;break e}Ge=E.return}}var $=n.current;for(Ge=$;Ge!==null;){L=Ge;var re=L.child;if(L.subtreeFlags&2064&&re!==null)re.return=L,Ge=re;else e:for(L=$;Ge!==null;){if(B=Ge,B.flags&2048)try{switch(B.tag){case 0:case 11:case 15:Vd(9,B)}}catch(Be){bn(B,B.return,Be)}if(B===L){Ge=null;break e}var Oe=B.sibling;if(Oe!==null){Oe.return=B.return,Ge=Oe;break e}Ge=B.return}}if(xt=w,Fr(),Ga&&typeof Ga.onPostCommitFiberRoot=="function")try{Ga.onPostCommitFiberRoot(lu,n)}catch{}y=!0}return y}finally{Ht=d,Tr.transition=a}}return!1}function dg(n,a,d){a=wl(d,a),a=Wh(n,a,1),n=pi(n,a,1),a=en(),n!==null&&(Ji(n,1,a),Zn(n,a))}function bn(n,a,d){if(n.tag===3)dg(n,n,d);else for(;a!==null;){if(a.tag===3){dg(a,n,d);break}else if(a.tag===1){var y=a.stateNode;if(typeof a.type.getDerivedStateFromError=="function"||typeof y.componentDidCatch=="function"&&(La===null||!La.has(y))){n=wl(d,n),n=zu(a,n,1),a=pi(a,n,1),n=en(),a!==null&&(Ji(a,1,n),Zn(a,n));break}}a=a.return}}function Em(n,a,d){var y=n.pingCache;y!==null&&y.delete(a),a=en(),n.pingedLanes|=n.suspendedLanes&d,Ln===n&&(ir&d)===d&&(zn===4||zn===3&&(ir&130023424)===ir&&500>Tn()-km?Ns(n,0):Gu|=d),Zn(n,a)}function fg(n,a){a===0&&(n.mode&1?(a=rl,rl<<=1,!(rl&130023424)&&(rl=4194304)):a=1);var d=en();n=Do(n,a),n!==null&&(Ji(n,a,d),Zn(n,d))}function N2(n){var a=n.memoizedState,d=0;a!==null&&(d=a.retryLane),fg(n,d)}function M2(n,a){var d=0;switch(n.tag){case 13:var y=n.stateNode,w=n.memoizedState;w!==null&&(d=w.retryLane);break;case 19:y=n.stateNode;break;default:throw Error(s(314))}y!==null&&y.delete(a),fg(n,d)}var Nm;Nm=function(n,a,d){if(n!==null)if(n.memoizedProps!==a.pendingProps||kn.current)xn=!0;else{if(!(n.lanes&d)&&!(a.flags&128))return xn=!1,Fd(n,a,d);xn=!!(n.flags&131072)}else xn=!1,sn&&a.flags&1048576&&Zp(a,hl,a.index);switch(a.lanes=0,a.tag){case 2:var y=a.type;Oa(n,a),n=a.pendingProps;var w=Na(a,mt.current);Le(a,d),w=gi(null,a,y,n,w,d);var E=ps();return a.flags|=1,typeof w=="object"&&w!==null&&typeof w.render=="function"&&w.$$typeof===void 0?(a.tag=1,a.memoizedState=null,a.updateQueue=null,fn(y)?(E=!0,id(a)):E=!1,a.memoizedState=w.state!==null&&w.state!==void 0?w.state:null,am(a),w.updater=md,a.stateNode=w,w._reactInternals=a,hd(a,y,n,d),a=mm(null,a,y,!0,E,d)):(a.tag=0,sn&&E&&sd(a),Un(null,a,w,d),a=a.child),a;case 16:y=a.elementType;e:{switch(Oa(n,a),n=a.pendingProps,w=y._init,y=w(y._payload),a.type=y,w=a.tag=_2(y),n=ia(y,n),w){case 0:a=Sl(null,a,y,n,d);break e;case 1:a=pm(null,a,y,n,d);break e;case 11:a=vi(null,a,y,n,d);break e;case 14:a=Pd(null,a,y,ia(y.type,n),d);break e}throw Error(s(306,y,""))}return a;case 0:return y=a.type,w=a.pendingProps,w=a.elementType===y?w:ia(y,w),Sl(n,a,y,w,d);case 1:return y=a.type,w=a.pendingProps,w=a.elementType===y?w:ia(y,w),pm(n,a,y,w,d);case 3:e:{if(Ud(a),n===null)throw Error(s(387));y=a.pendingProps,E=a.memoizedState,w=E.element,Pn(n,a),mi(a,y,null,d);var L=a.memoizedState;if(y=L.element,E.isDehydrated)if(E={element:y,isDehydrated:!1,cache:L.cache,pendingSuspenseBoundaries:L.pendingSuspenseBoundaries,transitions:L.transitions},a.updateQueue.baseState=E,a.memoizedState=E,a.flags&256){w=wl(Error(s(423)),a),a=El(n,a,y,d,w);break e}else if(y!==w){w=wl(Error(s(424)),a),a=El(n,a,y,d,w);break e}else for(Qr=Ka(a.stateNode.containerInfo.firstChild),oa=a,sn=!0,_a=null,d=$h(a,null,y,d),a.child=d;d;)d.flags=d.flags&-3|4096,d=d.sibling;else{if(mn(),y===w){a=ar(n,a,d);break e}Un(n,a,y,d)}a=a.child}return a;case 5:return st(a),n===null&&ud(a),y=a.type,w=a.pendingProps,E=n!==null?n.memoizedProps:null,L=w.children,Iu(y,w)?L=null:E!==null&&Iu(y,E)&&(a.flags|=32),Et(n,a),Un(n,a,L,d),a.child;case 6:return n===null&&ud(a),null;case 13:return Zh(n,a,d);case 4:return sm(a,a.stateNode.containerInfo),y=a.pendingProps,n===null?a.child=yl(a,null,y,d):Un(n,a,y,d),a.child;case 11:return y=a.type,w=a.pendingProps,w=a.elementType===y?w:ia(y,w),vi(n,a,y,w,d);case 7:return Un(n,a,a.pendingProps,d),a.child;case 8:return Un(n,a,a.pendingProps.children,d),a.child;case 12:return Un(n,a,a.pendingProps.children,d),a.child;case 10:e:{if(y=a.type._context,w=a.pendingProps,E=a.memoizedProps,L=w.value,Yt(lo,y._currentValue),y._currentValue=L,E!==null)if(Sa(E.value,L)){if(E.children===w.children&&!kn.current){a=ar(n,a,d);break e}}else for(E=a.child,E!==null&&(E.return=a);E!==null;){var B=E.dependencies;if(B!==null){L=E.child;for(var Y=B.firstContext;Y!==null;){if(Y.context===y){if(E.tag===1){Y=Po(-1,d&-d),Y.tag=2;var ie=E.updateQueue;if(ie!==null){ie=ie.shared;var we=ie.pending;we===null?Y.next=Y:(Y.next=we.next,we.next=Y),ie.pending=Y}}E.lanes|=d,Y=E.alternate,Y!==null&&(Y.lanes|=d),Kn(E.return,d,a),B.lanes|=d;break}Y=Y.next}}else if(E.tag===10)L=E.type===a.type?null:E.child;else if(E.tag===18){if(L=E.return,L===null)throw Error(s(341));L.lanes|=d,B=L.alternate,B!==null&&(B.lanes|=d),Kn(L,d,a),L=E.sibling}else L=E.child;if(L!==null)L.return=E;else for(L=E;L!==null;){if(L===a){L=null;break}if(E=L.sibling,E!==null){E.return=L.return,L=E;break}L=L.return}E=L}Un(n,a,w.children,d),a=a.child}return a;case 9:return w=a.type,y=a.pendingProps.children,Le(a,d),w=Sn(w),y=y(w),a.flags|=1,Un(n,a,y,d),a.child;case 14:return y=a.type,w=ia(y,a.pendingProps),w=ia(y.type,w),Pd(n,a,y,w,d);case 15:return $r(n,a,a.type,a.pendingProps,d);case 17:return y=a.type,w=a.pendingProps,w=a.elementType===y?w:ia(y,w),Oa(n,a),a.tag=1,fn(y)?(n=!0,id(a)):n=!1,Le(a,d),Yh(a,y,w),hd(a,y,w,d),mm(null,a,y,!0,n,d);case 19:return qr(n,a,d);case 22:return ys(n,a,d)}throw Error(s(156,a.tag))};function pg(n,a){return gp(n,a)}function I2(n,a,d,y){this.tag=n,this.key=d,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=a,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=y,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ra(n,a,d,y){return new I2(n,a,d,y)}function Mm(n){return n=n.prototype,!(!n||!n.isReactComponent)}function _2(n){if(typeof n=="function")return Mm(n)?1:0;if(n!=null){if(n=n.$$typeof,n===yt)return 11;if(n===It)return 14}return 2}function Si(n,a){var d=n.alternate;return d===null?(d=Ra(n.tag,a,n.key,n.mode),d.elementType=n.elementType,d.type=n.type,d.stateNode=n.stateNode,d.alternate=n,n.alternate=d):(d.pendingProps=a,d.type=n.type,d.flags=0,d.subtreeFlags=0,d.deletions=null),d.flags=n.flags&14680064,d.childLanes=n.childLanes,d.lanes=n.lanes,d.child=n.child,d.memoizedProps=n.memoizedProps,d.memoizedState=n.memoizedState,d.updateQueue=n.updateQueue,a=n.dependencies,d.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext},d.sibling=n.sibling,d.index=n.index,d.ref=n.ref,d}function Kd(n,a,d,y,w,E){var L=2;if(y=n,typeof n=="function")Mm(n)&&(L=1);else if(typeof n=="string")L=5;else e:switch(n){case fe:return Ei(d.children,w,E,a);case De:L=8,w|=8;break;case He:return n=Ra(12,d,a,w|2),n.elementType=He,n.lanes=E,n;case $e:return n=Ra(13,d,a,w),n.elementType=$e,n.lanes=E,n;case at:return n=Ra(19,d,a,w),n.elementType=at,n.lanes=E,n;case wn:return Ll(d,w,E,a);default:if(typeof n=="object"&&n!==null)switch(n.$$typeof){case ht:L=10;break e;case ct:L=9;break e;case yt:L=11;break e;case It:L=14;break e;case Dt:L=16,y=null;break e}throw Error(s(130,n==null?n:typeof n,""))}return a=Ra(L,d,a,w),a.elementType=n,a.type=y,a.lanes=E,a}function Ei(n,a,d,y){return n=Ra(7,n,y,a),n.lanes=d,n}function Ll(n,a,d,y){return n=Ra(22,n,y,a),n.elementType=wn,n.lanes=d,n.stateNode={isHidden:!1},n}function Is(n,a,d){return n=Ra(6,n,null,a),n.lanes=d,n}function Im(n,a,d){return a=Ra(4,n.children!==null?n.children:[],n.key,a),a.lanes=d,a.stateNode={containerInfo:n.containerInfo,pendingChildren:null,implementation:n.implementation},a}function mg(n,a,d,y,w){this.tag=a,this.containerInfo=n,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=kp(0),this.expirationTimes=kp(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=kp(0),this.identifierPrefix=y,this.onRecoverableError=w,this.mutableSourceEagerHydrationData=null}function Zd(n,a,d,y,w,E,L,B,Y){return n=new mg(n,a,d,B,Y),a===1?(a=1,E===!0&&(a|=8)):a=0,E=Ra(3,null,null,a),n.current=E,E.stateNode=n,E.memoizedState={element:y,isDehydrated:d,cache:null,transitions:null,pendingSuspenseBoundaries:null},am(E),n}function hg(n,a,d){var y=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:ye,key:y==null?null:""+y,children:n,containerInfo:a,implementation:d}}function gg(n){if(!n)return so;n=n._reactInternals;e:{if(oo(n)!==n||n.tag!==1)throw Error(s(170));var a=n;do{switch(a.tag){case 3:a=a.stateNode.context;break e;case 1:if(fn(a.type)){a=a.stateNode.__reactInternalMemoizedMergedChildContext;break e}}a=a.return}while(a!==null);throw Error(s(171))}if(n.tag===1){var d=n.type;if(fn(d))return Au(n,d,a)}return a}function _m(n,a,d,y,w,E,L,B,Y){return n=Zd(d,y,!0,n,w,E,L,B,Y),n.context=gg(null),d=n.current,y=en(),w=ca(d),E=Po(y,w),E.callback=a??null,pi(d,E,w),n.current.lanes=w,Ji(n,w,y),Zn(n,y),n}function Jd(n,a,d,y){var w=a.current,E=en(),L=ca(w);return d=gg(d),a.context===null?a.context=d:a.pendingContext=d,a=Po(E,L),a.payload={element:n},y=y===void 0?null:y,y!==null&&(a.callback=y),n=pi(w,a,L),n!==null&&(da(n,w,L,E),pd(n,w,L)),L}function Xd(n){if(n=n.current,!n.child)return null;switch(n.child.tag){case 5:return n.child.stateNode;default:return n.child.stateNode}}function yg(n,a){if(n=n.memoizedState,n!==null&&n.dehydrated!==null){var d=n.retryLane;n.retryLane=d!==0&&d<a?d:a}}function ef(n,a){yg(n,a),(n=n.alternate)&&yg(n,a)}function vg(){return null}var Cm=typeof reportError=="function"?reportError:function(n){console.error(n)};function Ni(n){this._internalRoot=n}tf.prototype.render=Ni.prototype.render=function(n){var a=this._internalRoot;if(a===null)throw Error(s(409));Jd(n,a,null,null)},tf.prototype.unmount=Ni.prototype.unmount=function(){var n=this._internalRoot;if(n!==null){this._internalRoot=null;var a=n.containerInfo;Es(function(){Jd(null,n,null,null)}),a[Lo]=null}};function tf(n){this._internalRoot=n}tf.prototype.unstable_scheduleHydration=function(n){if(n){var a=X1();n={blockedOn:null,target:n,priority:a};for(var d=0;d<$t.length&&a!==0&&a<$t[d].priority;d++);$t.splice(d,0,n),d===0&&eh(n)}};function Am(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11)}function nf(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11&&(n.nodeType!==8||n.nodeValue!==" react-mount-point-unstable "))}function Tg(){}function C2(n,a,d,y,w){if(w){if(typeof y=="function"){var E=y;y=function(){var ie=Xd(L);E.call(ie)}}var L=_m(a,y,n,0,null,!1,!1,"",Tg);return n._reactRootContainer=L,n[Lo]=L.current,pl(n.nodeType===8?n.parentNode:n),Es(),L}for(;w=n.lastChild;)n.removeChild(w);if(typeof y=="function"){var B=y;y=function(){var ie=Xd(Y);B.call(ie)}}var Y=Zd(n,0,!1,null,null,!1,!1,"",Tg);return n._reactRootContainer=Y,n[Lo]=Y.current,pl(n.nodeType===8?n.parentNode:n),Es(function(){Jd(a,Y,d,y)}),Y}function rf(n,a,d,y,w){var E=d._reactRootContainer;if(E){var L=E;if(typeof w=="function"){var B=w;w=function(){var Y=Xd(L);B.call(Y)}}Jd(a,L,n,w)}else L=C2(d,a,n,w,y);return Xd(L)}J1=function(n){switch(n.tag){case 3:var a=n.stateNode;if(a.current.memoizedState.isDehydrated){var d=Zi(a.pendingLanes);d!==0&&(uu(a,d|1),Zn(a,Tn()),!(xt&6)&&(Cl=Tn()+500,Fr()))}break;case 13:Es(function(){var y=Do(n,1);if(y!==null){var w=en();da(y,n,1,w)}}),ef(n,1)}},Vc=function(n){if(n.tag===13){var a=Do(n,134217728);if(a!==null){var d=en();da(a,n,134217728,d)}ef(n,134217728)}},Zt=function(n){if(n.tag===13){var a=ca(n),d=Do(n,a);if(d!==null){var y=en();da(d,n,a,y)}ef(n,a)}},X1=function(){return Ht},wp=function(n,a){var d=Ht;try{return Ht=n,a()}finally{Ht=d}},au=function(n,a,d){switch(a){case"input":if(nn(n,d),a=d.name,d.type==="radio"&&a!=null){for(d=n;d.parentNode;)d=d.parentNode;for(d=d.querySelectorAll("input[name="+JSON.stringify(""+a)+'][type="radio"]'),a=0;a<d.length;a++){var y=d[a];if(y!==n&&y.form===n.form){var w=nt(y);if(!w)throw Error(s(90));tn(y),nn(y,w)}}}break;case"textarea":ta(n,d);break;case"select":a=d.value,a!=null&&an(n,!!d.multiple,a,!1)}},Y1=$d,Q1=Es;var kg={usingClientEntryPoint:!1,Events:[Cu,ml,nt,Dc,Pc,$d]},Xu={findFiberByHostInstance:Ea,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},A2={bundleType:Xu.bundleType,version:Xu.version,rendererPackageName:Xu.rendererPackageName,rendererConfig:Xu.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:ue.ReactCurrentDispatcher,findHostInstanceByFiber:function(n){return n=G1(n),n===null?null:n.stateNode},findFiberByHostInstance:Xu.findFiberByHostInstance||vg,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var ec=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ec.isDisabled&&ec.supportsFiber)try{lu=ec.inject(A2),Ga=ec}catch{}}return Ba.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=kg,Ba.createPortal=function(n,a){var d=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Am(a))throw Error(s(200));return hg(n,a,null,d)},Ba.createRoot=function(n,a){if(!Am(n))throw Error(s(299));var d=!1,y="",w=Cm;return a!=null&&(a.unstable_strictMode===!0&&(d=!0),a.identifierPrefix!==void 0&&(y=a.identifierPrefix),a.onRecoverableError!==void 0&&(w=a.onRecoverableError)),a=Zd(n,1,!1,null,null,d,!1,y,w),n[Lo]=a.current,pl(n.nodeType===8?n.parentNode:n),new Ni(a)},Ba.findDOMNode=function(n){if(n==null)return null;if(n.nodeType===1)return n;var a=n._reactInternals;if(a===void 0)throw typeof n.render=="function"?Error(s(188)):(n=Object.keys(n).join(","),Error(s(268,n)));return n=G1(a),n=n===null?null:n.stateNode,n},Ba.flushSync=function(n){return Es(n)},Ba.hydrate=function(n,a,d){if(!nf(a))throw Error(s(200));return rf(null,n,a,!0,d)},Ba.hydrateRoot=function(n,a,d){if(!Am(n))throw Error(s(405));var y=d!=null&&d.hydratedSources||null,w=!1,E="",L=Cm;if(d!=null&&(d.unstable_strictMode===!0&&(w=!0),d.identifierPrefix!==void 0&&(E=d.identifierPrefix),d.onRecoverableError!==void 0&&(L=d.onRecoverableError)),a=_m(a,null,n,1,d??null,w,!1,E,L),n[Lo]=a.current,pl(n),y)for(n=0;n<y.length;n++)d=y[n],w=d._getVersion,w=w(d._source),a.mutableSourceEagerHydrationData==null?a.mutableSourceEagerHydrationData=[d,w]:a.mutableSourceEagerHydrationData.push(d,w);return new tf(a)},Ba.render=function(n,a,d){if(!nf(a))throw Error(s(200));return rf(null,n,a,!1,d)},Ba.unmountComponentAtNode=function(n){if(!nf(n))throw Error(s(40));return n._reactRootContainer?(Es(function(){rf(null,null,n,!1,function(){n._reactRootContainer=null,n[Lo]=null})}),!0):!1},Ba.unstable_batchedUpdates=$d,Ba.unstable_renderSubtreeIntoContainer=function(n,a,d,y){if(!nf(d))throw Error(s(200));if(n==null||n._reactInternals===void 0)throw Error(s(38));return rf(n,a,d,!1,y)},Ba.version="18.2.0-next-9e3b772b8-20220608",Ba}var ro={},vb;function ZR(){return vb||(vb=1,xc.process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var r=Ke,o=F7(),s=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,m=!1;function p(e){m=e}function v(e){if(!m){for(var t=arguments.length,i=new Array(t>1?t-1:0),u=1;u<t;u++)i[u-1]=arguments[u];T("warn",e,i)}}function g(e){if(!m){for(var t=arguments.length,i=new Array(t>1?t-1:0),u=1;u<t;u++)i[u-1]=arguments[u];T("error",e,i)}}function T(e,t,i){{var u=s.ReactDebugCurrentFrame,h=u.getStackAddendum();h!==""&&(t+="%s",i=i.concat([h]));var k=i.map(function(S){return String(S)});k.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,k)}}var I=0,C=1,D=2,R=3,x=4,j=5,Q=6,W=7,le=8,G=9,se=10,te=11,ue=12,Z=13,ye=14,fe=15,De=16,He=17,ht=18,ct=19,yt=21,$e=22,at=23,It=24,Dt=25,wn=!0,_e=!1,ze=!1,xe=!1,Ee=!1,V=!0,ce=!1,be=!1,Ze=!0,dt=!0,ft=!0,Qe=new Set,rt={},wt={};function Gt(e,t){tn(e,t),tn(e+"Capture",t)}function tn(e,t){rt[e]&&g("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),rt[e]=t;{var i=e.toLowerCase();wt[i]=e,e==="onDoubleClick"&&(wt.ondblclick=e)}for(var u=0;u<t.length;u++)Qe.add(t[u])}var Tt=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Ct=Object.prototype.hasOwnProperty;function yn(e){{var t=typeof Symbol=="function"&&Symbol.toStringTag,i=t&&e[Symbol.toStringTag]||e.constructor.name||"Object";return i}}function In(e){try{return nn(e),!1}catch{return!0}}function nn(e){return""+e}function tr(e,t){if(In(e))return g("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",t,yn(e)),nn(e)}function ve(e){if(In(e))return g("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",yn(e)),nn(e)}function Hn(e,t){if(In(e))return g("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.",t,yn(e)),nn(e)}function an(e,t){if(In(e))return g("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",t,yn(e)),nn(e)}function Nt(e){if(In(e))return g("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",yn(e)),nn(e)}function _n(e){if(In(e))return g("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before before using it here.",yn(e)),nn(e)}var ta=0,At=1,jr=2,l=3,c=4,f=5,b=6,M=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",O=M+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",U=new RegExp("^["+M+"]["+O+"]*$"),Te={},Pe={};function Ie(e){return Ct.call(Pe,e)?!0:Ct.call(Te,e)?!1:U.test(e)?(Pe[e]=!0,!0):(Te[e]=!0,g("Invalid attribute name: `%s`",e),!1)}function Ae(e,t,i){return t!==null?t.type===ta:i?!1:e.length>2&&(e[0]==="o"||e[0]==="O")&&(e[1]==="n"||e[1]==="N")}function Ce(e,t,i,u){if(i!==null&&i.type===ta)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":{if(u)return!1;if(i!==null)return!i.acceptsBooleans;var h=e.toLowerCase().slice(0,5);return h!=="data-"&&h!=="aria-"}default:return!1}}function Ta(e,t,i,u){if(t===null||typeof t>"u"||Ce(e,t,i,u))return!0;if(u)return!1;if(i!==null)switch(i.type){case l:return!t;case c:return t===!1;case f:return isNaN(t);case b:return isNaN(t)||t<1}return!1}function au(e){return vn.hasOwnProperty(e)?vn[e]:null}function Cn(e,t,i,u,h,k,S){this.acceptsBooleans=t===jr||t===l||t===c,this.attributeName=u,this.attributeNamespace=h,this.mustUseProperty=i,this.propertyName=e,this.type=t,this.sanitizeURL=k,this.removeEmptyString=S}var vn={},V1=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];V1.forEach(function(e){vn[e]=new Cn(e,ta,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0],i=e[1];vn[t]=new Cn(t,At,!1,i,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){vn[e]=new Cn(e,jr,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){vn[e]=new Cn(e,jr,!1,e,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(function(e){vn[e]=new Cn(e,l,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){vn[e]=new Cn(e,l,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){vn[e]=new Cn(e,c,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){vn[e]=new Cn(e,b,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){vn[e]=new Cn(e,f,!1,e.toLowerCase(),null,!1,!1)});var Dc=/[\-\:]([a-z])/g,Pc=function(e){return e[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(function(e){var t=e.replace(Dc,Pc);vn[t]=new Cn(t,At,!1,e,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(e){var t=e.replace(Dc,Pc);vn[t]=new Cn(t,At,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Dc,Pc);vn[t]=new Cn(t,At,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){vn[e]=new Cn(e,At,!1,e.toLowerCase(),null,!1,!1)});var Y1="xlinkHref";vn[Y1]=new Cn("xlinkHref",At,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){vn[e]=new Cn(e,At,!1,e.toLowerCase(),null,!0,!0)});var Q1=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,Uc=!1;function pp(e){!Uc&&Q1.test(e)&&(Uc=!0,g("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(e)))}function ou(e,t,i,u){if(u.mustUseProperty){var h=u.propertyName;return e[h]}else{tr(i,t),u.sanitizeURL&&pp(""+i);var k=u.attributeName,S=null;if(u.type===c){if(e.hasAttribute(k)){var _=e.getAttribute(k);return _===""?!0:Ta(t,i,u,!1)?_:_===""+i?i:_}}else if(e.hasAttribute(k)){if(Ta(t,i,u,!1))return e.getAttribute(k);if(u.type===l)return i;S=e.getAttribute(k)}return Ta(t,i,u,!1)?S===null?i:S:S===""+i?i:S}}function jc(e,t,i,u){{if(!Ie(t))return;if(!e.hasAttribute(t))return i===void 0?void 0:null;var h=e.getAttribute(t);return tr(i,t),h===""+i?i:h}}function Ki(e,t,i,u){var h=au(t);if(!Ae(t,h,u)){if(Ta(t,i,h,u)&&(i=null),u||h===null){if(Ie(t)){var k=t;i===null?e.removeAttribute(k):(tr(i,t),e.setAttribute(k,""+i))}return}var S=h.mustUseProperty;if(S){var _=h.propertyName;if(i===null){var A=h.type;e[_]=A===l?!1:""}else e[_]=i;return}var P=h.attributeName,z=h.attributeNamespace;if(i===null)e.removeAttribute(P);else{var q=h.type,H;q===l||q===c&&i===!0?H="":(tr(i,P),H=""+i,h.sanitizeURL&&pp(H.toString())),z?e.setAttributeNS(z,P,H):e.setAttribute(P,H)}}}var Xs=Symbol.for("react.element"),Qa=Symbol.for("react.portal"),No=Symbol.for("react.fragment"),el=Symbol.for("react.strict_mode"),iu=Symbol.for("react.profiler"),mp=Symbol.for("react.provider"),hp=Symbol.for("react.context"),tl=Symbol.for("react.forward_ref"),oo=Symbol.for("react.suspense"),su=Symbol.for("react.suspense_list"),nl=Symbol.for("react.memo"),Er=Symbol.for("react.lazy"),G1=Symbol.for("react.scope"),H1=Symbol.for("react.debug_trace_mode"),gp=Symbol.for("react.offscreen"),$1=Symbol.for("react.legacy_hidden"),Hy=Symbol.for("react.cache"),$y=Symbol.for("react.tracing_marker"),Tn=Symbol.iterator,qy="@@iterator";function Mo(e){if(e===null||typeof e!="object")return null;var t=Tn&&e[Tn]||e[qy];return typeof t=="function"?t:null}var Rt=Object.assign,ei=0,q1,yp,lu,Ga,W1,ka,K1;function Z1(){}Z1.__reactDisabledLog=!0;function Wy(){{if(ei===0){q1=console.log,yp=console.info,lu=console.warn,Ga=console.error,W1=console.group,ka=console.groupCollapsed,K1=console.groupEnd;var e={configurable:!0,enumerable:!0,value:Z1,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}ei++}}function zc(){{if(ei--,ei===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Rt({},e,{value:q1}),info:Rt({},e,{value:yp}),warn:Rt({},e,{value:lu}),error:Rt({},e,{value:Ga}),group:Rt({},e,{value:W1}),groupCollapsed:Rt({},e,{value:ka}),groupEnd:Rt({},e,{value:K1})})}ei<0&&g("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var rl=s.ReactCurrentDispatcher,Zi;function Ha(e,t,i){{if(Zi===void 0)try{throw Error()}catch(h){var u=h.stack.trim().match(/\n( *(at )?)/);Zi=u&&u[1]||""}return`
39
39
  `+Zi+e}}var vp=!1,Bc;{var Tp=typeof WeakMap=="function"?WeakMap:Map;Bc=new Tp}function Fc(e,t){if(!e||vp)return"";{var i=Bc.get(e);if(i!==void 0)return i}var u;vp=!0;var h=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var k;k=rl.current,rl.current=null,Wy();try{if(t){var S=function(){throw Error()};if(Object.defineProperty(S.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(S,[])}catch(oe){u=oe}Reflect.construct(e,[],S)}else{try{S.call()}catch(oe){u=oe}e.call(S.prototype)}}else{try{throw Error()}catch(oe){u=oe}e()}}catch(oe){if(oe&&u&&typeof oe.stack=="string"){for(var _=oe.stack.split(`
40
40
  `),A=u.stack.split(`
41
41
  `),P=_.length-1,z=A.length-1;P>=1&&z>=0&&_[P]!==A[z];)z--;for(;P>=1&&z>=0;P--,z--)if(_[P]!==A[z]){if(P!==1||z!==1)do if(P--,z--,z<0||_[P]!==A[z]){var q=`
@@ -56,7 +56,7 @@ Check the render method of \``+e+"`.":""}var ih=["value","defaultValue"];functio
56
56
  * @internal
57
57
  * @license Modernizr 3.0.0pre (Custom Build) | MIT
58
58
  */function Xu(e){if(!Tt)return!1;var t="on"+e,i=t in document;if(!i){var u=document.createElement("div");u.setAttribute(t,"return;"),i=typeof u[t]=="function"}return i}function A2(){Gt("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"])}function ec(e,t,i,u){rd(u);var h=Eg(t,"onChange");if(h.length>0){var k=new da("onChange","change",null,i,u);e.push({event:k,listeners:h})}}var n=null,a=null;function d(e){var t=e.nodeName&&e.nodeName.toLowerCase();return t==="select"||t==="input"&&e.type==="file"}function y(e){var t=[];ec(t,a,e,nd(e)),Yp(w,t)}function w(e){_8(e,0)}function E(e){var t=cf(e);if(nh(t))return e}function L(e,t){if(e==="change")return t}var B=!1;Tt&&(B=Xu("input")&&(!document.documentMode||document.documentMode>9));function Y(e,t){n=e,a=t,n.attachEvent("onpropertychange",we)}function ie(){n&&(n.detachEvent("onpropertychange",we),n=null,a=null)}function we(e){e.propertyName==="value"&&E(a)&&y(e)}function Ne(e,t,i){e==="focusin"?(ie(),Y(t,i)):e==="focusout"&&ie()}function Se(e,t){if(e==="selectionchange"||e==="keyup"||e==="keydown")return E(a)}function Fe(e){var t=e.nodeName;return t&&t.toLowerCase()==="input"&&(e.type==="checkbox"||e.type==="radio")}function qe(e,t){if(e==="click")return E(t)}function Je(e,t){if(e==="input"||e==="change")return E(t)}function Nn(e){var t=e._wrapperState;!t||!t.controlled||e.type!=="number"||ni(e,"number",e.value)}function X(e,t,i,u,h,k,S){var _=i?cf(i):window,A,P;if(d(_)?A=L:kg(_)?B?A=Je:(A=Se,P=Ne):Fe(_)&&(A=qe),A){var z=A(t,i);if(z){ec(e,z,u,h);return}}P&&P(t,_,i),t==="focusout"&&Nn(_)}function $(){tn("onMouseEnter",["mouseout","mouseover"]),tn("onMouseLeave",["mouseout","mouseover"]),tn("onPointerEnter",["pointerout","pointerover"]),tn("onPointerLeave",["pointerout","pointerover"])}function re(e,t,i,u,h,k,S){var _=t==="mouseover"||t==="pointerover",A=t==="mouseout"||t==="pointerout";if(_&&!Lh(u)){var P=u.relatedTarget||u.fromElement;if(P&&(rc(P)||Qm(P)))return}if(!(!A&&!_)){var z;if(h.window===h)z=h;else{var q=h.ownerDocument;q?z=q.defaultView||q.parentWindow:z=window}var H,ae;if(A){var oe=u.relatedTarget||u.toElement;if(H=i,ae=oe?rc(oe):null,ae!==null){var me=aa(ae);(ae!==me||ae.tag!==j&&ae.tag!==Q)&&(ae=null)}}else H=null,ae=i;if(H!==ae){var Ue=$d,Xe="onMouseLeave",it="onMouseEnter",Lt="mouse";(t==="pointerout"||t==="pointerover")&&(Ue=Nm,Xe="onPointerLeave",it="onPointerEnter",Lt="pointer");var _t=H==null?z:cf(H),ee=ae==null?z:cf(ae),pe=new Ue(Xe,Lt+"leave",H,u,h);pe.target=_t,pe.relatedTarget=ee;var ne=null,Me=rc(h);if(Me===i){var Ye=new Ue(it,Lt+"enter",ae,u,h);Ye.target=ee,Ye.relatedTarget=_t,ne=Ye}DS(e,pe,ne,H,ae)}}}function Oe(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Be=typeof Object.is=="function"?Object.is:Oe;function tt(e,t){if(Be(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var i=Object.keys(e),u=Object.keys(t);if(i.length!==u.length)return!1;for(var h=0;h<i.length;h++){var k=i[h];if(!Ct.call(t,k)||!Be(e[k],t[k]))return!1}return!0}function ot(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function gt(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function Bn(e,t){for(var i=ot(e),u=0,h=0;i;){if(i.nodeType===Co){if(h=u+i.textContent.length,u<=t&&h>=t)return{node:i,offset:t-u};u=h}i=ot(gt(i))}}function zt(e){var t=e.ownerDocument,i=t&&t.defaultView||window,u=i.getSelection&&i.getSelection();if(!u||u.rangeCount===0)return null;var h=u.anchorNode,k=u.anchorOffset,S=u.focusNode,_=u.focusOffset;try{h.nodeType,S.nodeType}catch{return null}return Mi(e,h,k,S,_)}function Mi(e,t,i,u,h){var k=0,S=-1,_=-1,A=0,P=0,z=e,q=null;e:for(;;){for(var H=null;z===t&&(i===0||z.nodeType===Co)&&(S=k+i),z===u&&(h===0||z.nodeType===Co)&&(_=k+h),z.nodeType===Co&&(k+=z.nodeValue.length),(H=z.firstChild)!==null;)q=z,z=H;for(;;){if(z===e)break e;if(q===t&&++A===i&&(S=k),q===u&&++P===h&&(_=k),(H=z.nextSibling)!==null)break;z=q,q=z.parentNode}z=H}return S===-1||_===-1?null:{start:S,end:_}}function O2(e,t){var i=e.ownerDocument||document,u=i&&i.defaultView||window;if(u.getSelection){var h=u.getSelection(),k=e.textContent.length,S=Math.min(t.start,k),_=t.end===void 0?S:Math.min(t.end,k);if(!h.extend&&S>_){var A=_;_=S,S=A}var P=Bn(e,S),z=Bn(e,_);if(P&&z){if(h.rangeCount===1&&h.anchorNode===P.node&&h.anchorOffset===P.offset&&h.focusNode===z.node&&h.focusOffset===z.offset)return;var q=i.createRange();q.setStart(P.node,P.offset),h.removeAllRanges(),S>_?(h.addRange(q),h.extend(z.node,z.offset)):(q.setEnd(z.node,z.offset),h.addRange(q))}}}function g8(e){return e&&e.nodeType===Co}function y8(e,t){return!e||!t?!1:e===t?!0:g8(e)?!1:g8(t)?y8(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1}function yS(e){return e&&e.ownerDocument&&y8(e.ownerDocument.documentElement,e)}function vS(e){try{return typeof e.contentWindow.location.href=="string"}catch{return!1}}function v8(){for(var e=window,t=Yc();t instanceof e.HTMLIFrameElement;){if(vS(t))e=t.contentWindow;else return t;t=Yc(e.document)}return t}function x2(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function TS(){var e=v8();return{focusedElem:e,selectionRange:x2(e)?bS(e):null}}function kS(e){var t=v8(),i=e.focusedElem,u=e.selectionRange;if(t!==i&&yS(i)){u!==null&&x2(i)&&wS(i,u);for(var h=[],k=i;k=k.parentNode;)k.nodeType===zr&&h.push({element:k,left:k.scrollLeft,top:k.scrollTop});typeof i.focus=="function"&&i.focus();for(var S=0;S<h.length;S++){var _=h[S];_.element.scrollLeft=_.left,_.element.scrollTop=_.top}}}function bS(e){var t;return"selectionStart"in e?t={start:e.selectionStart,end:e.selectionEnd}:t=zt(e),t||{start:0,end:0}}function wS(e,t){var i=t.start,u=t.end;u===void 0&&(u=i),"selectionStart"in e?(e.selectionStart=i,e.selectionEnd=Math.min(u,e.value.length)):O2(e,t)}var SS=Tt&&"documentMode"in document&&document.documentMode<=11;function ES(){Gt("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"])}var af=null,L2=null,Om=null,R2=!1;function NS(e){if("selectionStart"in e&&x2(e))return{start:e.selectionStart,end:e.selectionEnd};var t=e.ownerDocument&&e.ownerDocument.defaultView||window,i=t.getSelection();return{anchorNode:i.anchorNode,anchorOffset:i.anchorOffset,focusNode:i.focusNode,focusOffset:i.focusOffset}}function MS(e){return e.window===e?e.document:e.nodeType===qa?e:e.ownerDocument}function T8(e,t,i){var u=MS(i);if(!(R2||af==null||af!==Yc(u))){var h=NS(af);if(!Om||!tt(Om,h)){Om=h;var k=Eg(L2,"onSelect");if(k.length>0){var S=new da("onSelect","select",null,t,i);e.push({event:S,listeners:k}),S.target=af}}}}function IS(e,t,i,u,h,k,S){var _=i?cf(i):window;switch(t){case"focusin":(kg(_)||_.contentEditable==="true")&&(af=_,L2=i,Om=null);break;case"focusout":af=null,L2=null,Om=null;break;case"mousedown":R2=!0;break;case"contextmenu":case"mouseup":case"dragend":R2=!1,T8(e,u,h);break;case"selectionchange":if(SS)break;case"keydown":case"keyup":T8(e,u,h)}}function bg(e,t){var i={};return i[e.toLowerCase()]=t.toLowerCase(),i["Webkit"+e]="webkit"+t,i["Moz"+e]="moz"+t,i}var of={animationend:bg("Animation","AnimationEnd"),animationiteration:bg("Animation","AnimationIteration"),animationstart:bg("Animation","AnimationStart"),transitionend:bg("Transition","TransitionEnd")},D2={},k8={};Tt&&(k8=document.createElement("div").style,"AnimationEvent"in window||(delete of.animationend.animation,delete of.animationiteration.animation,delete of.animationstart.animation),"TransitionEvent"in window||delete of.transitionend.transition);function wg(e){if(D2[e])return D2[e];if(!of[e])return e;var t=of[e];for(var i in t)if(t.hasOwnProperty(i)&&i in k8)return D2[e]=t[i];return e}var b8=wg("animationend"),w8=wg("animationiteration"),S8=wg("animationstart"),E8=wg("transitionend"),N8=new Map,M8=["abort","auxClick","cancel","canPlay","canPlayThrough","click","close","contextMenu","copy","cut","drag","dragEnd","dragEnter","dragExit","dragLeave","dragOver","dragStart","drop","durationChange","emptied","encrypted","ended","error","gotPointerCapture","input","invalid","keyDown","keyPress","keyUp","load","loadedData","loadedMetadata","loadStart","lostPointerCapture","mouseDown","mouseMove","mouseOut","mouseOver","mouseUp","paste","pause","play","playing","pointerCancel","pointerDown","pointerMove","pointerOut","pointerOver","pointerUp","progress","rateChange","reset","resize","seeked","seeking","stalled","submit","suspend","timeUpdate","touchCancel","touchEnd","touchStart","volumeChange","scroll","toggle","touchMove","waiting","wheel"];function Rl(e,t){N8.set(e,t),Gt(t,[e])}function _S(){for(var e=0;e<M8.length;e++){var t=M8[e],i=t.toLowerCase(),u=t[0].toUpperCase()+t.slice(1);Rl(i,"on"+u)}Rl(b8,"onAnimationEnd"),Rl(w8,"onAnimationIteration"),Rl(S8,"onAnimationStart"),Rl("dblclick","onDoubleClick"),Rl("focusin","onFocus"),Rl("focusout","onBlur"),Rl(E8,"onTransitionEnd")}function CS(e,t,i,u,h,k,S){var _=N8.get(t);if(_!==void 0){var A=da,P=t;switch(t){case"keypress":if(Ol(u)===0)return;case"keydown":case"keyup":A=N2;break;case"focusin":P="focus",A=qd;break;case"focusout":P="blur",A=qd;break;case"beforeblur":case"afterblur":A=qd;break;case"click":if(u.button===2)return;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":A=$d;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":A=bm;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":A=I2;break;case b8:case w8:case S8:A=wm;break;case E8:A=Mm;break;case"scroll":A=lg;break;case"wheel":A=Si;break;case"copy":case"cut":case"paste":A=w2;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":A=Nm;break}var z=(k&ns)!==0;{var q=!z&&t==="scroll",H=LS(i,_,u.type,z,q);if(H.length>0){var ae=new A(_,P,null,u,h);e.push({event:ae,listeners:H})}}}}_S(),$(),A2(),ES(),gg();function AS(e,t,i,u,h,k,S){CS(e,t,i,u,h,k);var _=(k&c2)===0;_&&(re(e,t,i,u,h),X(e,t,i,u,h),IS(e,t,i,u,h),C2(e,t,i,u,h))}var xm=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","resize","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],P2=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(xm));function I8(e,t,i){var u=e.type||"unknown-event";e.currentTarget=i,Lo(u,t,void 0,e),e.currentTarget=null}function OS(e,t,i){var u;if(i)for(var h=t.length-1;h>=0;h--){var k=t[h],S=k.instance,_=k.currentTarget,A=k.listener;if(S!==u&&e.isPropagationStopped())return;I8(e,A,_),u=S}else for(var P=0;P<t.length;P++){var z=t[P],q=z.instance,H=z.currentTarget,ae=z.listener;if(q!==u&&e.isPropagationStopped())return;I8(e,ae,H),u=q}}function _8(e,t){for(var i=(t&ns)!==0,u=0;u<e.length;u++){var h=e[u],k=h.event,S=h.listeners;OS(k,S,i)}$p()}function xS(e,t,i,u,h){var k=nd(i),S=[];AS(S,e,u,i,k,t),_8(S,t)}function gn(e,t){P2.has(e)||g('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var i=!1,u=lN(t),h=PS(e,i);u.has(h)||(C8(t,e,wu,i),u.add(h))}function U2(e,t,i){P2.has(e)&&!t&&g('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var u=0;t&&(u|=ns),C8(i,e,u,t)}var Sg="_reactListening"+Math.random().toString(36).slice(2);function Lm(e){if(!e[Sg]){e[Sg]=!0,Qe.forEach(function(i){i!=="selectionchange"&&(P2.has(i)||U2(i,!1,e),U2(i,!0,e))});var t=e.nodeType===qa?e:e.ownerDocument;t!==null&&(t[Sg]||(t[Sg]=!0,U2("selectionchange",!1,t)))}}function C8(e,t,i,u,h){var k=ua(e,t,i),S=void 0;Iu&&(t==="touchstart"||t==="touchmove"||t==="wheel")&&(S=!0),e=e,u?S!==void 0?Cl(e,t,k,S):km(e,t,k):S!==void 0?zo(e,t,k,S):Wr(e,t,k)}function A8(e,t){return e===t||e.nodeType===On&&e.parentNode===t}function j2(e,t,i,u,h){var k=u;if(!(t&Oo)&&!(t&wu)){var S=h;if(u!==null){var _=u;e:for(;;){if(_===null)return;var A=_.tag;if(A===R||A===x){var P=_.stateNode.containerInfo;if(A8(P,S))break;if(A===x)for(var z=_.return;z!==null;){var q=z.tag;if(q===R||q===x){var H=z.stateNode.containerInfo;if(A8(H,S))return}z=z.return}for(;P!==null;){var ae=rc(P);if(ae===null)return;var oe=ae.tag;if(oe===j||oe===Q){_=k=ae;continue e}P=P.parentNode}}_=_.return}}}Yp(function(){return xS(e,t,i,k)})}function Rm(e,t,i){return{instance:e,listener:t,currentTarget:i}}function LS(e,t,i,u,h,k){for(var S=t!==null?t+"Capture":null,_=u?S:t,A=[],P=e,z=null;P!==null;){var q=P,H=q.stateNode,ae=q.tag;if(ae===j&&H!==null&&(z=H,_!==null)){var oe=as(P,_);oe!=null&&A.push(Rm(P,oe,z))}if(h)break;P=P.return}return A}function Eg(e,t){for(var i=t+"Capture",u=[],h=e;h!==null;){var k=h,S=k.stateNode,_=k.tag;if(_===j&&S!==null){var A=S,P=as(h,i);P!=null&&u.unshift(Rm(h,P,A));var z=as(h,t);z!=null&&u.push(Rm(h,z,A))}h=h.return}return u}function sf(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==j);return e||null}function RS(e,t){for(var i=e,u=t,h=0,k=i;k;k=sf(k))h++;for(var S=0,_=u;_;_=sf(_))S++;for(;h-S>0;)i=sf(i),h--;for(;S-h>0;)u=sf(u),S--;for(var A=h;A--;){if(i===u||u!==null&&i===u.alternate)return i;i=sf(i),u=sf(u)}return null}function O8(e,t,i,u,h){for(var k=t._reactName,S=[],_=i;_!==null&&_!==u;){var A=_,P=A.alternate,z=A.stateNode,q=A.tag;if(P!==null&&P===u)break;if(q===j&&z!==null){var H=z;if(h){var ae=as(_,k);ae!=null&&S.unshift(Rm(_,ae,H))}else if(!h){var oe=as(_,k);oe!=null&&S.push(Rm(_,oe,H))}}_=_.return}S.length!==0&&e.push({event:t,listeners:S})}function DS(e,t,i,u,h){var k=u&&h?RS(u,h):null;u!==null&&O8(e,t,u,k,!1),h!==null&&i!==null&&O8(e,i,h,k,!0)}function PS(e,t){return e+"__"+(t?"capture":"bubble")}var Da=!1,Dm="dangerouslySetInnerHTML",Ng="suppressContentEditableWarning",Dl="suppressHydrationWarning",x8="autoFocus",tc="children",nc="style",Mg="__html",z2,Ig,Pm,L8,_g,R8,D8;z2={dialog:!0,webview:!0},Ig=function(e,t){td(e,t),jp(e,t),xh(e,t,{registrationNameDependencies:rt,possibleRegistrationNames:wt})},R8=Tt&&!document.documentMode,Pm=function(e,t,i){if(!Da){var u=Cg(i),h=Cg(t);h!==u&&(Da=!0,g("Prop `%s` did not match. Server: %s Client: %s",e,JSON.stringify(h),JSON.stringify(u)))}},L8=function(e){if(!Da){Da=!0;var t=[];e.forEach(function(i){t.push(i)}),g("Extra attributes from the server: %s",t)}},_g=function(e,t){t===!1?g("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",e,e,e):g("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)},D8=function(e,t){var i=e.namespaceURI===_o?e.ownerDocument.createElement(e.tagName):e.ownerDocument.createElementNS(e.namespaceURI,e.tagName);return i.innerHTML=t,i.innerHTML};var US=/\r\n?/g,jS=/\u0000|\uFFFD/g;function Cg(e){Nt(e);var t=typeof e=="string"?e:""+e;return t.replace(US,`
59
- `).replace(jS,"")}function Ag(e,t,i,u){var h=Cg(t),k=Cg(e);if(k!==h&&(u&&(Da||(Da=!0,g('Text content did not match. Server: "%s" Client: "%s"',k,h))),i&&wn))throw new Error("Text content does not match server-rendered HTML.")}function P8(e){return e.nodeType===qa?e:e.ownerDocument}function zS(){}function Og(e){e.onclick=zS}function BS(e,t,i,u,h){for(var k in u)if(u.hasOwnProperty(k)){var S=u[k];if(k===nc)S&&Object.freeze(S),wh(t,S);else if(k===Dm){var _=S?S[Mg]:void 0;_!=null&&dh(t,_)}else if(k===tc)if(typeof S=="string"){var A=e!=="textarea"||S!=="";A&&Zc(t,S)}else typeof S=="number"&&Zc(t,""+S);else k===Ng||k===Dl||k===x8||(rt.hasOwnProperty(k)?S!=null&&(typeof S!="function"&&_g(k,S),k==="onScroll"&&gn("scroll",t)):S!=null&&Ki(t,k,S,h))}}function FS(e,t,i,u){for(var h=0;h<t.length;h+=2){var k=t[h],S=t[h+1];k===nc?wh(e,S):k===Dm?dh(e,S):k===tc?Zc(e,S):Ki(e,k,S,u)}}function VS(e,t,i,u){var h,k=P8(i),S,_=u;if(_===_o&&(_=Wc(e)),_===_o){if(h=Ao(e,t),!h&&e!==e.toLowerCase()&&g("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",e),e==="script"){var A=k.createElement("div");A.innerHTML="<script><\/script>";var P=A.firstChild;S=A.removeChild(P)}else if(typeof t.is=="string")S=k.createElement(e,{is:t.is});else if(S=k.createElement(e),e==="select"){var z=S;t.multiple?z.multiple=!0:t.size&&(z.size=t.size)}}else S=k.createElementNS(_,e);return _===_o&&!h&&Object.prototype.toString.call(S)==="[object HTMLUnknownElement]"&&!Ct.call(z2,e)&&(z2[e]=!0,g("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",e)),S}function YS(e,t){return P8(t).createTextNode(e)}function QS(e,t,i,u){var h=Ao(t,i);Ig(t,i);var k;switch(t){case"dialog":gn("cancel",e),gn("close",e),k=i;break;case"iframe":case"object":case"embed":gn("load",e),k=i;break;case"video":case"audio":for(var S=0;S<xm.length;S++)gn(xm[S],e);k=i;break;case"source":gn("error",e),k=i;break;case"img":case"image":case"link":gn("error",e),gn("load",e),k=i;break;case"details":gn("toggle",e),k=i;break;case"input":gu(e,i),k=hu(e,i),gn("invalid",e);break;case"option":$c(e,i),k=i;break;case"select":sh(e,i),k=Ip(e,i),gn("invalid",e);break;case"textarea":lh(e,i),k=Cp(e,i),gn("invalid",e);break;default:k=i}switch(Xc(t,k),BS(t,e,u,k,h),t){case"input":Xi(e),yu(e,i,!1);break;case"textarea":Xi(e),ch(e);break;case"option":Mp(e,i);break;case"select":Xy(e,i);break;default:typeof k.onClick=="function"&&Og(e);break}}function GS(e,t,i,u,h){Ig(t,u);var k=null,S,_;switch(t){case"input":S=hu(e,i),_=hu(e,u),k=[];break;case"select":S=Ip(e,i),_=Ip(e,u),k=[];break;case"textarea":S=Cp(e,i),_=Cp(e,u),k=[];break;default:S=i,_=u,typeof S.onClick!="function"&&typeof _.onClick=="function"&&Og(e);break}Xc(t,_);var A,P,z=null;for(A in S)if(!(_.hasOwnProperty(A)||!S.hasOwnProperty(A)||S[A]==null))if(A===nc){var q=S[A];for(P in q)q.hasOwnProperty(P)&&(z||(z={}),z[P]="")}else A===Dm||A===tc||A===Ng||A===Dl||A===x8||(rt.hasOwnProperty(A)?k||(k=[]):(k=k||[]).push(A,null));for(A in _){var H=_[A],ae=S!=null?S[A]:void 0;if(!(!_.hasOwnProperty(A)||H===ae||H==null&&ae==null))if(A===nc)if(H&&Object.freeze(H),ae){for(P in ae)ae.hasOwnProperty(P)&&(!H||!H.hasOwnProperty(P))&&(z||(z={}),z[P]="");for(P in H)H.hasOwnProperty(P)&&ae[P]!==H[P]&&(z||(z={}),z[P]=H[P])}else z||(k||(k=[]),k.push(A,z)),z=H;else if(A===Dm){var oe=H?H[Mg]:void 0,me=ae?ae[Mg]:void 0;oe!=null&&me!==oe&&(k=k||[]).push(A,oe)}else A===tc?(typeof H=="string"||typeof H=="number")&&(k=k||[]).push(A,""+H):A===Ng||A===Dl||(rt.hasOwnProperty(A)?(H!=null&&(typeof H!="function"&&_g(A,H),A==="onScroll"&&gn("scroll",e)),!k&&ae!==H&&(k=[])):(k=k||[]).push(A,H))}return z&&(ku(z,_[nc]),(k=k||[]).push(nc,z)),k}function HS(e,t,i,u,h){i==="input"&&h.type==="radio"&&h.name!=null&&Np(e,h);var k=Ao(i,u),S=Ao(i,h);switch(FS(e,t,k,S),i){case"input":il(e,h);break;case"textarea":uh(e,h);break;case"select":e2(e,h);break}}function $S(e){{var t=e.toLowerCase();return ed.hasOwnProperty(t)&&ed[t]||null}}function qS(e,t,i,u,h,k,S){var _,A;switch(_=Ao(t,i),Ig(t,i),t){case"dialog":gn("cancel",e),gn("close",e);break;case"iframe":case"object":case"embed":gn("load",e);break;case"video":case"audio":for(var P=0;P<xm.length;P++)gn(xm[P],e);break;case"source":gn("error",e);break;case"img":case"image":case"link":gn("error",e),gn("load",e);break;case"details":gn("toggle",e);break;case"input":gu(e,i),gn("invalid",e);break;case"option":$c(e,i);break;case"select":sh(e,i),gn("invalid",e);break;case"textarea":lh(e,i),gn("invalid",e);break}Xc(t,i);{A=new Set;for(var z=e.attributes,q=0;q<z.length;q++){var H=z[q].name.toLowerCase();switch(H){case"value":break;case"checked":break;case"selected":break;default:A.add(z[q].name)}}}var ae=null;for(var oe in i)if(i.hasOwnProperty(oe)){var me=i[oe];if(oe===tc)typeof me=="string"?e.textContent!==me&&(i[Dl]!==!0&&Ag(e.textContent,me,k,S),ae=[tc,me]):typeof me=="number"&&e.textContent!==""+me&&(i[Dl]!==!0&&Ag(e.textContent,me,k,S),ae=[tc,""+me]);else if(rt.hasOwnProperty(oe))me!=null&&(typeof me!="function"&&_g(oe,me),oe==="onScroll"&&gn("scroll",e));else if(S&&typeof _=="boolean"){var Ue=void 0,Xe=_&&ce?null:au(oe);if(i[Dl]!==!0&&!(oe===Ng||oe===Dl||oe==="value"||oe==="checked"||oe==="selected")){if(oe===Dm){var it=e.innerHTML,Lt=me?me[Mg]:void 0;if(Lt!=null){var _t=D8(e,Lt);_t!==it&&Pm(oe,it,_t)}}else if(oe===nc){if(A.delete(oe),R8){var ee=l2(me);Ue=e.getAttribute("style"),ee!==Ue&&Pm(oe,Ue,ee)}}else if(_&&!ce)A.delete(oe.toLowerCase()),Ue=jc(e,oe,me),me!==Ue&&Pm(oe,Ue,me);else if(!Ae(oe,Xe,_)&&!Ta(oe,me,Xe,_)){var pe=!1;if(Xe!==null)A.delete(Xe.attributeName),Ue=ou(e,oe,me,Xe);else{var ne=u;if(ne===_o&&(ne=Wc(t)),ne===_o)A.delete(oe.toLowerCase());else{var Me=$S(oe);Me!==null&&Me!==oe&&(pe=!0,A.delete(Me)),A.delete(oe)}Ue=jc(e,oe,me)}var Ye=ce;!Ye&&me!==Ue&&!pe&&Pm(oe,Ue,me)}}}}switch(S&&A.size>0&&i[Dl]!==!0&&L8(A),t){case"input":Xi(e),yu(e,i,!0);break;case"textarea":Xi(e),ch(e);break;case"select":case"option":break;default:typeof i.onClick=="function"&&Og(e);break}return ae}function WS(e,t,i){var u=e.nodeValue!==t;return u}function B2(e,t){{if(Da)return;Da=!0,g("Did not expect server HTML to contain a <%s> in <%s>.",t.nodeName.toLowerCase(),e.nodeName.toLowerCase())}}function F2(e,t){{if(Da)return;Da=!0,g('Did not expect server HTML to contain the text node "%s" in <%s>.',t.nodeValue,e.nodeName.toLowerCase())}}function V2(e,t,i){{if(Da)return;Da=!0,g("Expected server HTML to contain a matching <%s> in <%s>.",t,e.nodeName.toLowerCase())}}function Y2(e,t){{if(t===""||Da)return;Da=!0,g('Expected server HTML to contain a matching text node for "%s" in <%s>.',t,e.nodeName.toLowerCase())}}function KS(e,t,i){switch(t){case"input":rh(e,i);return;case"textarea":Ap(e,i);return;case"select":t2(e,i);return}}var Um=function(){},jm=function(){};{var ZS=["address","applet","area","article","aside","base","basefont","bgsound","blockquote","body","br","button","caption","center","col","colgroup","dd","details","dir","div","dl","dt","embed","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","iframe","img","input","isindex","li","link","listing","main","marquee","menu","menuitem","meta","nav","noembed","noframes","noscript","object","ol","p","param","plaintext","pre","script","section","select","source","style","summary","table","tbody","td","template","textarea","tfoot","th","thead","title","tr","track","ul","wbr","xmp"],U8=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],JS=U8.concat(["button"]),XS=["dd","dt","li","option","optgroup","p","rp","rt"],j8={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};jm=function(e,t){var i=Rt({},e||j8),u={tag:t};return U8.indexOf(t)!==-1&&(i.aTagInScope=null,i.buttonTagInScope=null,i.nobrTagInScope=null),JS.indexOf(t)!==-1&&(i.pTagInButtonScope=null),ZS.indexOf(t)!==-1&&t!=="address"&&t!=="div"&&t!=="p"&&(i.listItemTagAutoclosing=null,i.dlItemTagAutoclosing=null),i.current=u,t==="form"&&(i.formTag=u),t==="a"&&(i.aTagInScope=u),t==="button"&&(i.buttonTagInScope=u),t==="nobr"&&(i.nobrTagInScope=u),t==="p"&&(i.pTagInButtonScope=u),t==="li"&&(i.listItemTagAutoclosing=u),(t==="dd"||t==="dt")&&(i.dlItemTagAutoclosing=u),i};var eE=function(e,t){switch(t){case"select":return e==="option"||e==="optgroup"||e==="#text";case"optgroup":return e==="option"||e==="#text";case"option":return e==="#text";case"tr":return e==="th"||e==="td"||e==="style"||e==="script"||e==="template";case"tbody":case"thead":case"tfoot":return e==="tr"||e==="style"||e==="script"||e==="template";case"colgroup":return e==="col"||e==="template";case"table":return e==="caption"||e==="colgroup"||e==="tbody"||e==="tfoot"||e==="thead"||e==="style"||e==="script"||e==="template";case"head":return e==="base"||e==="basefont"||e==="bgsound"||e==="link"||e==="meta"||e==="title"||e==="noscript"||e==="noframes"||e==="style"||e==="script"||e==="template";case"html":return e==="head"||e==="body"||e==="frameset";case"frameset":return e==="frame";case"#document":return e==="html"}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t!=="h1"&&t!=="h2"&&t!=="h3"&&t!=="h4"&&t!=="h5"&&t!=="h6";case"rp":case"rt":return XS.indexOf(t)===-1;case"body":case"caption":case"col":case"colgroup":case"frameset":case"frame":case"head":case"html":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return t==null}return!0},tE=function(e,t){switch(e){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t.pTagInButtonScope;case"form":return t.formTag||t.pTagInButtonScope;case"li":return t.listItemTagAutoclosing;case"dd":case"dt":return t.dlItemTagAutoclosing;case"button":return t.buttonTagInScope;case"a":return t.aTagInScope;case"nobr":return t.nobrTagInScope}return null},z8={};Um=function(e,t,i){i=i||j8;var u=i.current,h=u&&u.tag;t!=null&&(e!=null&&g("validateDOMNesting: when childText is passed, childTag should be null"),e="#text");var k=eE(e,h)?null:u,S=k?null:tE(e,i),_=k||S;if(_){var A=_.tag,P=!!k+"|"+e+"|"+A;if(!z8[P]){z8[P]=!0;var z=e,q="";if(e==="#text"?/\S/.test(t)?z="Text nodes":(z="Whitespace text nodes",q=" Make sure you don't have any extra whitespace between tags on each line of your source code."):z="<"+e+">",k){var H="";A==="table"&&e==="tr"&&(H+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),g("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",z,A,q,H)}else g("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",z,A)}}}}var xg="suppressHydrationWarning",Lg="$",Rg="/$",zm="$?",Bm="$!",nE="style",Q2=null,G2=null;function rE(e){var t,i,u=e.nodeType;switch(u){case qa:case es:{t=u===qa?"#document":"#fragment";var h=e.documentElement;i=h?h.namespaceURI:xp(null,"");break}default:{var k=u===On?e.parentNode:e,S=k.namespaceURI||null;t=k.tagName,i=xp(S,t);break}}{var _=t.toLowerCase(),A=jm(null,_);return{namespace:i,ancestorInfo:A}}}function aE(e,t,i){{var u=e,h=xp(u.namespace,t),k=jm(u.ancestorInfo,t);return{namespace:h,ancestorInfo:k}}}function oE(e){Q2=ir(),G2=TS();var t=null;return En(!1),t}function iE(e){kS(G2),En(Q2),Q2=null,G2=null}function sE(e,t,i,u,h){var k;{var S=u;if(Um(e,null,S.ancestorInfo),typeof t.children=="string"||typeof t.children=="number"){var _=""+t.children,A=jm(S.ancestorInfo,e);Um(null,_,A)}k=S.namespace}var P=VS(e,t,i,k);return Ym(h,P),X2(P,t),P}function lE(e,t){e.appendChild(t)}function uE(e,t,i,u,h){switch(QS(e,t,i,u),t){case"button":case"input":case"select":case"textarea":return!!i.autoFocus;case"img":return!0;default:return!1}}function cE(e,t,i,u,h,k){{var S=k;if(typeof u.children!=typeof i.children&&(typeof u.children=="string"||typeof u.children=="number")){var _=""+u.children,A=jm(S.ancestorInfo,t);Um(null,_,A)}}return GS(e,t,i,u)}function H2(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}function dE(e,t,i,u){{var h=i;Um(null,e,h.ancestorInfo)}var k=YS(e,t);return Ym(u,k),k}function fE(){var e=window.event;return e===void 0?ar:_l(e.type)}var $2=typeof setTimeout=="function"?setTimeout:void 0,pE=typeof clearTimeout=="function"?clearTimeout:void 0,q2=-1,B8=typeof Promise=="function"?Promise:void 0,mE=typeof queueMicrotask=="function"?queueMicrotask:typeof B8<"u"?function(e){return B8.resolve(null).then(e).catch(hE)}:$2;function hE(e){setTimeout(function(){throw e})}function gE(e,t,i,u){switch(t){case"button":case"input":case"select":case"textarea":i.autoFocus&&e.focus();return;case"img":{i.src&&(e.src=i.src);return}}}function yE(e,t,i,u,h,k){HS(e,t,i,u,h),X2(e,h)}function F8(e){Zc(e,"")}function vE(e,t,i){e.nodeValue=i}function TE(e,t){e.appendChild(t)}function kE(e,t){var i;e.nodeType===On?(i=e.parentNode,i.insertBefore(t,e)):(i=e,i.appendChild(t));var u=e._reactRootContainer;u==null&&i.onclick===null&&Og(i)}function bE(e,t,i){e.insertBefore(t,i)}function wE(e,t,i){e.nodeType===On?e.parentNode.insertBefore(t,i):e.insertBefore(t,i)}function SE(e,t){e.removeChild(t)}function EE(e,t){e.nodeType===On?e.parentNode.removeChild(t):e.removeChild(t)}function W2(e,t){var i=t,u=0;do{var h=i.nextSibling;if(e.removeChild(i),h&&h.nodeType===On){var k=h.data;if(k===Rg)if(u===0){e.removeChild(h),Tr(t);return}else u--;else(k===Lg||k===zm||k===Bm)&&u++}i=h}while(i);Tr(t)}function NE(e,t){e.nodeType===On?W2(e.parentNode,t):e.nodeType===zr&&W2(e,t),Tr(e)}function ME(e){e=e;var t=e.style;typeof t.setProperty=="function"?t.setProperty("display","none","important"):t.display="none"}function IE(e){e.nodeValue=""}function _E(e,t){e=e;var i=t[nE],u=i!=null&&i.hasOwnProperty("display")?i.display:null;e.style.display=Jc("display",u)}function CE(e,t){e.nodeValue=t}function AE(e){e.nodeType===zr?e.textContent="":e.nodeType===qa&&e.documentElement&&e.removeChild(e.documentElement)}function OE(e,t,i){return e.nodeType!==zr||t.toLowerCase()!==e.nodeName.toLowerCase()?null:e}function xE(e,t){return t===""||e.nodeType!==Co?null:e}function LE(e){return e.nodeType!==On?null:e}function V8(e){return e.data===zm}function K2(e){return e.data===Bm}function RE(e){var t=e.nextSibling&&e.nextSibling.dataset,i,u,h;return t&&(i=t.dgst,u=t.msg,h=t.stck),{message:u,digest:i,stack:h}}function DE(e,t){e._reactRetry=t}function Dg(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===zr||t===Co)break;if(t===On){var i=e.data;if(i===Lg||i===Bm||i===zm)break;if(i===Rg)return null}}return e}function Fm(e){return Dg(e.nextSibling)}function PE(e){return Dg(e.firstChild)}function UE(e){return Dg(e.firstChild)}function jE(e){return Dg(e.nextSibling)}function zE(e,t,i,u,h,k,S){Ym(k,e),X2(e,i);var _;{var A=h;_=A.namespace}var P=(k.mode&Ot)!==st;return qS(e,t,i,_,u,P,S)}function BE(e,t,i,u){return Ym(i,e),i.mode&Ot,WS(e,t)}function FE(e,t){Ym(t,e)}function VE(e){for(var t=e.nextSibling,i=0;t;){if(t.nodeType===On){var u=t.data;if(u===Rg){if(i===0)return Fm(t);i--}else(u===Lg||u===Bm||u===zm)&&i++}t=t.nextSibling}return null}function Y8(e){for(var t=e.previousSibling,i=0;t;){if(t.nodeType===On){var u=t.data;if(u===Lg||u===Bm||u===zm){if(i===0)return t;i--}else u===Rg&&i++}t=t.previousSibling}return null}function YE(e){Tr(e)}function QE(e){Tr(e)}function GE(e){return e!=="head"&&e!=="body"}function HE(e,t,i,u){var h=!0;Ag(t.nodeValue,i,u,h)}function $E(e,t,i,u,h,k){if(t[xg]!==!0){var S=!0;Ag(u.nodeValue,h,k,S)}}function qE(e,t){t.nodeType===zr?B2(e,t):t.nodeType===On||F2(e,t)}function WE(e,t){{var i=e.parentNode;i!==null&&(t.nodeType===zr?B2(i,t):t.nodeType===On||F2(i,t))}}function KE(e,t,i,u,h){(h||t[xg]!==!0)&&(u.nodeType===zr?B2(i,u):u.nodeType===On||F2(i,u))}function ZE(e,t,i){V2(e,t)}function JE(e,t){Y2(e,t)}function XE(e,t,i){{var u=e.parentNode;u!==null&&V2(u,t)}}function eN(e,t){{var i=e.parentNode;i!==null&&Y2(i,t)}}function tN(e,t,i,u,h,k){(k||t[xg]!==!0)&&V2(i,u)}function nN(e,t,i,u,h){(h||t[xg]!==!0)&&Y2(i,u)}function rN(e){g("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",e.nodeName.toLowerCase())}function aN(e){Lm(e)}var lf=Math.random().toString(36).slice(2),uf="__reactFiber$"+lf,Z2="__reactProps$"+lf,Vm="__reactContainer$"+lf,J2="__reactEvents$"+lf,oN="__reactListeners$"+lf,iN="__reactHandles$"+lf;function sN(e){delete e[uf],delete e[Z2],delete e[J2],delete e[oN],delete e[iN]}function Ym(e,t){t[uf]=e}function Pg(e,t){t[Vm]=e}function Q8(e){e[Vm]=null}function Qm(e){return!!e[Vm]}function rc(e){var t=e[uf];if(t)return t;for(var i=e.parentNode;i;){if(t=i[Vm]||i[uf],t){var u=t.alternate;if(t.child!==null||u!==null&&u.child!==null)for(var h=Y8(e);h!==null;){var k=h[uf];if(k)return k;h=Y8(h)}return t}e=i,i=e.parentNode}return null}function Pl(e){var t=e[uf]||e[Vm];return t&&(t.tag===j||t.tag===Q||t.tag===Z||t.tag===R)?t:null}function cf(e){if(e.tag===j||e.tag===Q)return e.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function Ug(e){return e[Z2]||null}function X2(e,t){e[Z2]=t}function lN(e){var t=e[J2];return t===void 0&&(t=e[J2]=new Set),t}var G8={},H8=s.ReactDebugCurrentFrame;function jg(e){if(e){var t=e._owner,i=uu(e.type,e._source,t?t.type:null);H8.setExtraStackFrame(i)}else H8.setExtraStackFrame(null)}function Bo(e,t,i,u,h){{var k=Function.call.bind(Ct);for(var S in e)if(k(e,S)){var _=void 0;try{if(typeof e[S]!="function"){var A=Error((u||"React class")+": "+i+" type `"+S+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[S]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw A.name="Invariant Violation",A}_=e[S](t,S,u,i,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(P){_=P}_&&!(_ instanceof Error)&&(jg(h),g("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",u||"React class",i,S,typeof _),jg(null)),_ instanceof Error&&!(_.message in G8)&&(G8[_.message]=!0,jg(h),g("Failed %s type: %s",i,_.message),jg(null))}}}var ev=[],zg;zg=[];var _s=-1;function Ul(e){return{current:e}}function Kr(e,t){if(_s<0){g("Unexpected pop.");return}t!==zg[_s]&&g("Unexpected Fiber popped."),e.current=ev[_s],ev[_s]=null,zg[_s]=null,_s--}function Zr(e,t,i){_s++,ev[_s]=e.current,zg[_s]=i,e.current=t}var tv;tv={};var eo={};Object.freeze(eo);var Cs=Ul(eo),Ii=Ul(!1),nv=eo;function df(e,t,i){return i&&_i(t)?nv:Cs.current}function $8(e,t,i){{var u=e.stateNode;u.__reactInternalMemoizedUnmaskedChildContext=t,u.__reactInternalMemoizedMaskedChildContext=i}}function ff(e,t){{var i=e.type,u=i.contextTypes;if(!u)return eo;var h=e.stateNode;if(h&&h.__reactInternalMemoizedUnmaskedChildContext===t)return h.__reactInternalMemoizedMaskedChildContext;var k={};for(var S in u)k[S]=t[S];{var _=bt(e)||"Unknown";Bo(u,k,"context",_)}return h&&$8(e,t,k),k}}function Bg(){return Ii.current}function _i(e){{var t=e.childContextTypes;return t!=null}}function Fg(e){Kr(Ii,e),Kr(Cs,e)}function rv(e){Kr(Ii,e),Kr(Cs,e)}function q8(e,t,i){{if(Cs.current!==eo)throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");Zr(Cs,t,e),Zr(Ii,i,e)}}function W8(e,t,i){{var u=e.stateNode,h=t.childContextTypes;if(typeof u.getChildContext!="function"){{var k=bt(e)||"Unknown";tv[k]||(tv[k]=!0,g("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",k,k))}return i}var S=u.getChildContext();for(var _ in S)if(!(_ in h))throw new Error((bt(e)||"Unknown")+'.getChildContext(): key "'+_+'" is not defined in childContextTypes.');{var A=bt(e)||"Unknown";Bo(h,S,"child context",A)}return Rt({},i,S)}}function Vg(e){{var t=e.stateNode,i=t&&t.__reactInternalMemoizedMergedChildContext||eo;return nv=Cs.current,Zr(Cs,i,e),Zr(Ii,Ii.current,e),!0}}function K8(e,t,i){{var u=e.stateNode;if(!u)throw new Error("Expected to have an instance by this point. This error is likely caused by a bug in React. Please file an issue.");if(i){var h=W8(e,t,nv);u.__reactInternalMemoizedMergedChildContext=h,Kr(Ii,e),Kr(Cs,e),Zr(Cs,h,e),Zr(Ii,i,e)}else Kr(Ii,e),Zr(Ii,i,e)}}function uN(e){{if(!Jp(e)||e.tag!==C)throw new Error("Expected subtree parent to be a mounted class component. This error is likely caused by a bug in React. Please file an issue.");var t=e;do{switch(t.tag){case R:return t.stateNode.context;case C:{var i=t.type;if(_i(i))return t.stateNode.__reactInternalMemoizedMergedChildContext;break}}t=t.return}while(t!==null);throw new Error("Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.")}}var jl=0,Yg=1,As=null,av=!1,ov=!1;function Z8(e){As===null?As=[e]:As.push(e)}function cN(e){av=!0,Z8(e)}function J8(){av&&zl()}function zl(){if(!ov&&As!==null){ov=!0;var e=0,t=la();try{var i=!0,u=As;for(jn(qr);e<u.length;e++){var h=u[e];do h=h(i);while(h!==null)}As=null,av=!1}catch(k){throw As!==null&&(As=As.slice(e+1)),ud(dd,zl),k}finally{jn(t),ov=!1}}return null}var pf=[],mf=0,Qg=null,Gg=0,po=[],mo=0,ac=null,Os=1,xs="";function dN(e){return ic(),(e.flags&Wp)!==nt}function fN(e){return ic(),Gg}function pN(){var e=xs,t=Os,i=t&~mN(t);return i.toString(32)+e}function oc(e,t){ic(),pf[mf++]=Gg,pf[mf++]=Qg,Qg=e,Gg=t}function X8(e,t,i){ic(),po[mo++]=Os,po[mo++]=xs,po[mo++]=ac,ac=e;var u=Os,h=xs,k=Hg(u)-1,S=u&~(1<<k),_=i+1,A=Hg(t)+k;if(A>30){var P=k-k%5,z=(1<<P)-1,q=(S&z).toString(32),H=S>>P,ae=k-P,oe=Hg(t)+ae,me=_<<ae,Ue=me|H,Xe=q+h;Os=1<<oe|Ue,xs=Xe}else{var it=_<<k,Lt=it|S,_t=h;Os=1<<A|Lt,xs=_t}}function iv(e){ic();var t=e.return;if(t!==null){var i=1,u=0;oc(e,i),X8(e,i,u)}}function Hg(e){return 32-yd(e)}function mN(e){return 1<<Hg(e)-1}function sv(e){for(;e===Qg;)Qg=pf[--mf],pf[mf]=null,Gg=pf[--mf],pf[mf]=null;for(;e===ac;)ac=po[--mo],po[mo]=null,xs=po[--mo],po[mo]=null,Os=po[--mo],po[mo]=null}function hN(){return ic(),ac!==null?{id:Os,overflow:xs}:null}function gN(e,t){ic(),po[mo++]=Os,po[mo++]=xs,po[mo++]=ac,Os=t.id,xs=t.overflow,ac=e}function ic(){Ir()||g("Expected to be hydrating. This is a bug in React. Please file an issue.")}var Mr=null,ho=null,Fo=!1,sc=!1,Bl=null;function yN(){Fo&&g("We should not be hydrating here. This is a bug in React. Please file a bug.")}function e6(){sc=!0}function vN(){return sc}function TN(e){var t=e.stateNode.containerInfo;return ho=UE(t),Mr=e,Fo=!0,Bl=null,sc=!1,!0}function kN(e,t,i){return ho=jE(t),Mr=e,Fo=!0,Bl=null,sc=!1,i!==null&&gN(e,i),!0}function t6(e,t){switch(e.tag){case R:{qE(e.stateNode.containerInfo,t);break}case j:{var i=(e.mode&Ot)!==st;KE(e.type,e.memoizedProps,e.stateNode,t,i);break}case Z:{var u=e.memoizedState;u.dehydrated!==null&&WE(u.dehydrated,t);break}}}function n6(e,t){t6(e,t);var i=S_();i.stateNode=t,i.return=e;var u=e.deletions;u===null?(e.deletions=[i],e.flags|=Vt):u.push(i)}function lv(e,t){{if(sc)return;switch(e.tag){case R:{var i=e.stateNode.containerInfo;switch(t.tag){case j:var u=t.type;t.pendingProps,ZE(i,u);break;case Q:var h=t.pendingProps;JE(i,h);break}break}case j:{var k=e.type,S=e.memoizedProps,_=e.stateNode;switch(t.tag){case j:{var A=t.type,P=t.pendingProps,z=(e.mode&Ot)!==st;tN(k,S,_,A,P,z);break}case Q:{var q=t.pendingProps,H=(e.mode&Ot)!==st;nN(k,S,_,q,H);break}}break}case Z:{var ae=e.memoizedState,oe=ae.dehydrated;if(oe!==null)switch(t.tag){case j:var me=t.type;t.pendingProps,XE(oe,me);break;case Q:var Ue=t.pendingProps;eN(oe,Ue);break}break}default:return}}}function r6(e,t){t.flags=t.flags&~Ma|on,lv(e,t)}function a6(e,t){switch(e.tag){case j:{var i=e.type;e.pendingProps;var u=OE(t,i);return u!==null?(e.stateNode=u,Mr=e,ho=PE(u),!0):!1}case Q:{var h=e.pendingProps,k=xE(t,h);return k!==null?(e.stateNode=k,Mr=e,ho=null,!0):!1}case Z:{var S=LE(t);if(S!==null){var _={dehydrated:S,treeContext:hN(),retryLane:Hr};e.memoizedState=_;var A=E_(S);return A.return=e,e.child=A,Mr=e,ho=null,!0}return!1}default:return!1}}function uv(e){return(e.mode&Ot)!==st&&(e.flags&mt)===nt}function cv(e){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function dv(e){if(Fo){var t=ho;if(!t){uv(e)&&(lv(Mr,e),cv()),r6(Mr,e),Fo=!1,Mr=e;return}var i=t;if(!a6(e,t)){uv(e)&&(lv(Mr,e),cv()),t=Fm(i);var u=Mr;if(!t||!a6(e,t)){r6(Mr,e),Fo=!1,Mr=e;return}n6(u,i)}}}function bN(e,t,i){var u=e.stateNode,h=!sc,k=zE(u,e.type,e.memoizedProps,t,i,e,h);return e.updateQueue=k,k!==null}function wN(e){var t=e.stateNode,i=e.memoizedProps,u=BE(t,i,e);if(u){var h=Mr;if(h!==null)switch(h.tag){case R:{var k=h.stateNode.containerInfo,S=(h.mode&Ot)!==st;HE(k,t,i,S);break}case j:{var _=h.type,A=h.memoizedProps,P=h.stateNode,z=(h.mode&Ot)!==st;$E(_,A,P,t,i,z);break}}}return u}function SN(e){var t=e.memoizedState,i=t!==null?t.dehydrated:null;if(!i)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");FE(i,e)}function EN(e){var t=e.memoizedState,i=t!==null?t.dehydrated:null;if(!i)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");return VE(i)}function o6(e){for(var t=e.return;t!==null&&t.tag!==j&&t.tag!==R&&t.tag!==Z;)t=t.return;Mr=t}function $g(e){if(e!==Mr)return!1;if(!Fo)return o6(e),Fo=!0,!1;if(e.tag!==R&&(e.tag!==j||GE(e.type)&&!H2(e.type,e.memoizedProps))){var t=ho;if(t)if(uv(e))i6(e),cv();else for(;t;)n6(e,t),t=Fm(t)}return o6(e),e.tag===Z?ho=EN(e):ho=Mr?Fm(e.stateNode):null,!0}function NN(){return Fo&&ho!==null}function i6(e){for(var t=ho;t;)t6(e,t),t=Fm(t)}function hf(){Mr=null,ho=null,Fo=!1,sc=!1}function s6(){Bl!==null&&(t5(Bl),Bl=null)}function Ir(){return Fo}function fv(e){Bl===null?Bl=[e]:Bl.push(e)}var MN=s.ReactCurrentBatchConfig,IN=null;function _N(){return MN.transition}var Vo={recordUnsafeLifecycleWarnings:function(e,t){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(e,t){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var CN=function(e){for(var t=null,i=e;i!==null;)i.mode&hn&&(t=i),i=i.return;return t},lc=function(e){var t=[];return e.forEach(function(i){t.push(i)}),t.sort().join(", ")},Gm=[],Hm=[],$m=[],qm=[],Wm=[],Km=[],uc=new Set;Vo.recordUnsafeLifecycleWarnings=function(e,t){uc.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&Gm.push(e),e.mode&hn&&typeof t.UNSAFE_componentWillMount=="function"&&Hm.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&$m.push(e),e.mode&hn&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&qm.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&Wm.push(e),e.mode&hn&&typeof t.UNSAFE_componentWillUpdate=="function"&&Km.push(e))},Vo.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;Gm.length>0&&(Gm.forEach(function(H){e.add(bt(H)||"Component"),uc.add(H.type)}),Gm=[]);var t=new Set;Hm.length>0&&(Hm.forEach(function(H){t.add(bt(H)||"Component"),uc.add(H.type)}),Hm=[]);var i=new Set;$m.length>0&&($m.forEach(function(H){i.add(bt(H)||"Component"),uc.add(H.type)}),$m=[]);var u=new Set;qm.length>0&&(qm.forEach(function(H){u.add(bt(H)||"Component"),uc.add(H.type)}),qm=[]);var h=new Set;Wm.length>0&&(Wm.forEach(function(H){h.add(bt(H)||"Component"),uc.add(H.type)}),Wm=[]);var k=new Set;if(Km.length>0&&(Km.forEach(function(H){k.add(bt(H)||"Component"),uc.add(H.type)}),Km=[]),t.size>0){var S=lc(t);g(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
59
+ `).replace(jS,"")}function Ag(e,t,i,u){var h=Cg(t),k=Cg(e);if(k!==h&&(u&&(Da||(Da=!0,g('Text content did not match. Server: "%s" Client: "%s"',k,h))),i&&wn))throw new Error("Text content does not match server-rendered HTML.")}function P8(e){return e.nodeType===qa?e:e.ownerDocument}function zS(){}function Og(e){e.onclick=zS}function BS(e,t,i,u,h){for(var k in u)if(u.hasOwnProperty(k)){var S=u[k];if(k===nc)S&&Object.freeze(S),wh(t,S);else if(k===Dm){var _=S?S[Mg]:void 0;_!=null&&dh(t,_)}else if(k===tc)if(typeof S=="string"){var A=e!=="textarea"||S!=="";A&&Zc(t,S)}else typeof S=="number"&&Zc(t,""+S);else k===Ng||k===Dl||k===x8||(rt.hasOwnProperty(k)?S!=null&&(typeof S!="function"&&_g(k,S),k==="onScroll"&&gn("scroll",t)):S!=null&&Ki(t,k,S,h))}}function FS(e,t,i,u){for(var h=0;h<t.length;h+=2){var k=t[h],S=t[h+1];k===nc?wh(e,S):k===Dm?dh(e,S):k===tc?Zc(e,S):Ki(e,k,S,u)}}function VS(e,t,i,u){var h,k=P8(i),S,_=u;if(_===_o&&(_=Wc(e)),_===_o){if(h=Ao(e,t),!h&&e!==e.toLowerCase()&&g("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",e),e==="script"){var A=k.createElement("div");A.innerHTML="<script><\/script>";var P=A.firstChild;S=A.removeChild(P)}else if(typeof t.is=="string")S=k.createElement(e,{is:t.is});else if(S=k.createElement(e),e==="select"){var z=S;t.multiple?z.multiple=!0:t.size&&(z.size=t.size)}}else S=k.createElementNS(_,e);return _===_o&&!h&&Object.prototype.toString.call(S)==="[object HTMLUnknownElement]"&&!Ct.call(z2,e)&&(z2[e]=!0,g("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",e)),S}function YS(e,t){return P8(t).createTextNode(e)}function QS(e,t,i,u){var h=Ao(t,i);Ig(t,i);var k;switch(t){case"dialog":gn("cancel",e),gn("close",e),k=i;break;case"iframe":case"object":case"embed":gn("load",e),k=i;break;case"video":case"audio":for(var S=0;S<xm.length;S++)gn(xm[S],e);k=i;break;case"source":gn("error",e),k=i;break;case"img":case"image":case"link":gn("error",e),gn("load",e),k=i;break;case"details":gn("toggle",e),k=i;break;case"input":gu(e,i),k=hu(e,i),gn("invalid",e);break;case"option":$c(e,i),k=i;break;case"select":sh(e,i),k=Ip(e,i),gn("invalid",e);break;case"textarea":lh(e,i),k=Cp(e,i),gn("invalid",e);break;default:k=i}switch(Xc(t,k),BS(t,e,u,k,h),t){case"input":Xi(e),yu(e,i,!1);break;case"textarea":Xi(e),ch(e);break;case"option":Mp(e,i);break;case"select":Xy(e,i);break;default:typeof k.onClick=="function"&&Og(e);break}}function GS(e,t,i,u,h){Ig(t,u);var k=null,S,_;switch(t){case"input":S=hu(e,i),_=hu(e,u),k=[];break;case"select":S=Ip(e,i),_=Ip(e,u),k=[];break;case"textarea":S=Cp(e,i),_=Cp(e,u),k=[];break;default:S=i,_=u,typeof S.onClick!="function"&&typeof _.onClick=="function"&&Og(e);break}Xc(t,_);var A,P,z=null;for(A in S)if(!(_.hasOwnProperty(A)||!S.hasOwnProperty(A)||S[A]==null))if(A===nc){var q=S[A];for(P in q)q.hasOwnProperty(P)&&(z||(z={}),z[P]="")}else A===Dm||A===tc||A===Ng||A===Dl||A===x8||(rt.hasOwnProperty(A)?k||(k=[]):(k=k||[]).push(A,null));for(A in _){var H=_[A],ae=S!=null?S[A]:void 0;if(!(!_.hasOwnProperty(A)||H===ae||H==null&&ae==null))if(A===nc)if(H&&Object.freeze(H),ae){for(P in ae)ae.hasOwnProperty(P)&&(!H||!H.hasOwnProperty(P))&&(z||(z={}),z[P]="");for(P in H)H.hasOwnProperty(P)&&ae[P]!==H[P]&&(z||(z={}),z[P]=H[P])}else z||(k||(k=[]),k.push(A,z)),z=H;else if(A===Dm){var oe=H?H[Mg]:void 0,me=ae?ae[Mg]:void 0;oe!=null&&me!==oe&&(k=k||[]).push(A,oe)}else A===tc?(typeof H=="string"||typeof H=="number")&&(k=k||[]).push(A,""+H):A===Ng||A===Dl||(rt.hasOwnProperty(A)?(H!=null&&(typeof H!="function"&&_g(A,H),A==="onScroll"&&gn("scroll",e)),!k&&ae!==H&&(k=[])):(k=k||[]).push(A,H))}return z&&(ku(z,_[nc]),(k=k||[]).push(nc,z)),k}function HS(e,t,i,u,h){i==="input"&&h.type==="radio"&&h.name!=null&&Np(e,h);var k=Ao(i,u),S=Ao(i,h);switch(FS(e,t,k,S),i){case"input":il(e,h);break;case"textarea":uh(e,h);break;case"select":e2(e,h);break}}function $S(e){{var t=e.toLowerCase();return ed.hasOwnProperty(t)&&ed[t]||null}}function qS(e,t,i,u,h,k,S){var _,A;switch(_=Ao(t,i),Ig(t,i),t){case"dialog":gn("cancel",e),gn("close",e);break;case"iframe":case"object":case"embed":gn("load",e);break;case"video":case"audio":for(var P=0;P<xm.length;P++)gn(xm[P],e);break;case"source":gn("error",e);break;case"img":case"image":case"link":gn("error",e),gn("load",e);break;case"details":gn("toggle",e);break;case"input":gu(e,i),gn("invalid",e);break;case"option":$c(e,i);break;case"select":sh(e,i),gn("invalid",e);break;case"textarea":lh(e,i),gn("invalid",e);break}Xc(t,i);{A=new Set;for(var z=e.attributes,q=0;q<z.length;q++){var H=z[q].name.toLowerCase();switch(H){case"value":break;case"checked":break;case"selected":break;default:A.add(z[q].name)}}}var ae=null;for(var oe in i)if(i.hasOwnProperty(oe)){var me=i[oe];if(oe===tc)typeof me=="string"?e.textContent!==me&&(i[Dl]!==!0&&Ag(e.textContent,me,k,S),ae=[tc,me]):typeof me=="number"&&e.textContent!==""+me&&(i[Dl]!==!0&&Ag(e.textContent,me,k,S),ae=[tc,""+me]);else if(rt.hasOwnProperty(oe))me!=null&&(typeof me!="function"&&_g(oe,me),oe==="onScroll"&&gn("scroll",e));else if(S&&typeof _=="boolean"){var Ue=void 0,Xe=_&&ce?null:au(oe);if(i[Dl]!==!0&&!(oe===Ng||oe===Dl||oe==="value"||oe==="checked"||oe==="selected")){if(oe===Dm){var it=e.innerHTML,Lt=me?me[Mg]:void 0;if(Lt!=null){var _t=D8(e,Lt);_t!==it&&Pm(oe,it,_t)}}else if(oe===nc){if(A.delete(oe),R8){var ee=l2(me);Ue=e.getAttribute("style"),ee!==Ue&&Pm(oe,Ue,ee)}}else if(_&&!ce)A.delete(oe.toLowerCase()),Ue=jc(e,oe,me),me!==Ue&&Pm(oe,Ue,me);else if(!Ae(oe,Xe,_)&&!Ta(oe,me,Xe,_)){var pe=!1;if(Xe!==null)A.delete(Xe.attributeName),Ue=ou(e,oe,me,Xe);else{var ne=u;if(ne===_o&&(ne=Wc(t)),ne===_o)A.delete(oe.toLowerCase());else{var Me=$S(oe);Me!==null&&Me!==oe&&(pe=!0,A.delete(Me)),A.delete(oe)}Ue=jc(e,oe,me)}var Ye=ce;!Ye&&me!==Ue&&!pe&&Pm(oe,Ue,me)}}}}switch(S&&A.size>0&&i[Dl]!==!0&&L8(A),t){case"input":Xi(e),yu(e,i,!0);break;case"textarea":Xi(e),ch(e);break;case"select":case"option":break;default:typeof i.onClick=="function"&&Og(e);break}return ae}function WS(e,t,i){var u=e.nodeValue!==t;return u}function B2(e,t){{if(Da)return;Da=!0,g("Did not expect server HTML to contain a <%s> in <%s>.",t.nodeName.toLowerCase(),e.nodeName.toLowerCase())}}function F2(e,t){{if(Da)return;Da=!0,g('Did not expect server HTML to contain the text node "%s" in <%s>.',t.nodeValue,e.nodeName.toLowerCase())}}function V2(e,t,i){{if(Da)return;Da=!0,g("Expected server HTML to contain a matching <%s> in <%s>.",t,e.nodeName.toLowerCase())}}function Y2(e,t){{if(t===""||Da)return;Da=!0,g('Expected server HTML to contain a matching text node for "%s" in <%s>.',t,e.nodeName.toLowerCase())}}function KS(e,t,i){switch(t){case"input":rh(e,i);return;case"textarea":Ap(e,i);return;case"select":t2(e,i);return}}var Um=function(){},jm=function(){};{var ZS=["address","applet","area","article","aside","base","basefont","bgsound","blockquote","body","br","button","caption","center","col","colgroup","dd","details","dir","div","dl","dt","embed","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","iframe","img","input","isindex","li","link","listing","main","marquee","menu","menuitem","meta","nav","noembed","noframes","noscript","object","ol","p","param","plaintext","pre","script","section","select","source","style","summary","table","tbody","td","template","textarea","tfoot","th","thead","title","tr","track","ul","wbr","xmp"],U8=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],JS=U8.concat(["button"]),XS=["dd","dt","li","option","optgroup","p","rp","rt"],j8={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};jm=function(e,t){var i=Rt({},e||j8),u={tag:t};return U8.indexOf(t)!==-1&&(i.aTagInScope=null,i.buttonTagInScope=null,i.nobrTagInScope=null),JS.indexOf(t)!==-1&&(i.pTagInButtonScope=null),ZS.indexOf(t)!==-1&&t!=="address"&&t!=="div"&&t!=="p"&&(i.listItemTagAutoclosing=null,i.dlItemTagAutoclosing=null),i.current=u,t==="form"&&(i.formTag=u),t==="a"&&(i.aTagInScope=u),t==="button"&&(i.buttonTagInScope=u),t==="nobr"&&(i.nobrTagInScope=u),t==="p"&&(i.pTagInButtonScope=u),t==="li"&&(i.listItemTagAutoclosing=u),(t==="dd"||t==="dt")&&(i.dlItemTagAutoclosing=u),i};var eE=function(e,t){switch(t){case"select":return e==="option"||e==="optgroup"||e==="#text";case"optgroup":return e==="option"||e==="#text";case"option":return e==="#text";case"tr":return e==="th"||e==="td"||e==="style"||e==="script"||e==="template";case"tbody":case"thead":case"tfoot":return e==="tr"||e==="style"||e==="script"||e==="template";case"colgroup":return e==="col"||e==="template";case"table":return e==="caption"||e==="colgroup"||e==="tbody"||e==="tfoot"||e==="thead"||e==="style"||e==="script"||e==="template";case"head":return e==="base"||e==="basefont"||e==="bgsound"||e==="link"||e==="meta"||e==="title"||e==="noscript"||e==="noframes"||e==="style"||e==="script"||e==="template";case"html":return e==="head"||e==="body"||e==="frameset";case"frameset":return e==="frame";case"#document":return e==="html"}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t!=="h1"&&t!=="h2"&&t!=="h3"&&t!=="h4"&&t!=="h5"&&t!=="h6";case"rp":case"rt":return XS.indexOf(t)===-1;case"body":case"caption":case"col":case"colgroup":case"frameset":case"frame":case"head":case"html":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return t==null}return!0},tE=function(e,t){switch(e){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t.pTagInButtonScope;case"form":return t.formTag||t.pTagInButtonScope;case"li":return t.listItemTagAutoclosing;case"dd":case"dt":return t.dlItemTagAutoclosing;case"button":return t.buttonTagInScope;case"a":return t.aTagInScope;case"nobr":return t.nobrTagInScope}return null},z8={};Um=function(e,t,i){i=i||j8;var u=i.current,h=u&&u.tag;t!=null&&(e!=null&&g("validateDOMNesting: when childText is passed, childTag should be null"),e="#text");var k=eE(e,h)?null:u,S=k?null:tE(e,i),_=k||S;if(_){var A=_.tag,P=!!k+"|"+e+"|"+A;if(!z8[P]){z8[P]=!0;var z=e,q="";if(e==="#text"?/\S/.test(t)?z="Text nodes":(z="Whitespace text nodes",q=" Make sure you don't have any extra whitespace between tags on each line of your source code."):z="<"+e+">",k){var H="";A==="table"&&e==="tr"&&(H+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),g("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",z,A,q,H)}else g("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",z,A)}}}}var xg="suppressHydrationWarning",Lg="$",Rg="/$",zm="$?",Bm="$!",nE="style",Q2=null,G2=null;function rE(e){var t,i,u=e.nodeType;switch(u){case qa:case es:{t=u===qa?"#document":"#fragment";var h=e.documentElement;i=h?h.namespaceURI:xp(null,"");break}default:{var k=u===On?e.parentNode:e,S=k.namespaceURI||null;t=k.tagName,i=xp(S,t);break}}{var _=t.toLowerCase(),A=jm(null,_);return{namespace:i,ancestorInfo:A}}}function aE(e,t,i){{var u=e,h=xp(u.namespace,t),k=jm(u.ancestorInfo,t);return{namespace:h,ancestorInfo:k}}}function oE(e){Q2=ir(),G2=TS();var t=null;return En(!1),t}function iE(e){kS(G2),En(Q2),Q2=null,G2=null}function sE(e,t,i,u,h){var k;{var S=u;if(Um(e,null,S.ancestorInfo),typeof t.children=="string"||typeof t.children=="number"){var _=""+t.children,A=jm(S.ancestorInfo,e);Um(null,_,A)}k=S.namespace}var P=VS(e,t,i,k);return Ym(h,P),X2(P,t),P}function lE(e,t){e.appendChild(t)}function uE(e,t,i,u,h){switch(QS(e,t,i,u),t){case"button":case"input":case"select":case"textarea":return!!i.autoFocus;case"img":return!0;default:return!1}}function cE(e,t,i,u,h,k){{var S=k;if(typeof u.children!=typeof i.children&&(typeof u.children=="string"||typeof u.children=="number")){var _=""+u.children,A=jm(S.ancestorInfo,t);Um(null,_,A)}}return GS(e,t,i,u)}function H2(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}function dE(e,t,i,u){{var h=i;Um(null,e,h.ancestorInfo)}var k=YS(e,t);return Ym(u,k),k}function fE(){var e=window.event;return e===void 0?ar:_l(e.type)}var $2=typeof setTimeout=="function"?setTimeout:void 0,pE=typeof clearTimeout=="function"?clearTimeout:void 0,q2=-1,B8=typeof Promise=="function"?Promise:void 0,mE=typeof queueMicrotask=="function"?queueMicrotask:typeof B8<"u"?function(e){return B8.resolve(null).then(e).catch(hE)}:$2;function hE(e){setTimeout(function(){throw e})}function gE(e,t,i,u){switch(t){case"button":case"input":case"select":case"textarea":i.autoFocus&&e.focus();return;case"img":{i.src&&(e.src=i.src);return}}}function yE(e,t,i,u,h,k){HS(e,t,i,u,h),X2(e,h)}function F8(e){Zc(e,"")}function vE(e,t,i){e.nodeValue=i}function TE(e,t){e.appendChild(t)}function kE(e,t){var i;e.nodeType===On?(i=e.parentNode,i.insertBefore(t,e)):(i=e,i.appendChild(t));var u=e._reactRootContainer;u==null&&i.onclick===null&&Og(i)}function bE(e,t,i){e.insertBefore(t,i)}function wE(e,t,i){e.nodeType===On?e.parentNode.insertBefore(t,i):e.insertBefore(t,i)}function SE(e,t){e.removeChild(t)}function EE(e,t){e.nodeType===On?e.parentNode.removeChild(t):e.removeChild(t)}function W2(e,t){var i=t,u=0;do{var h=i.nextSibling;if(e.removeChild(i),h&&h.nodeType===On){var k=h.data;if(k===Rg)if(u===0){e.removeChild(h),Tr(t);return}else u--;else(k===Lg||k===zm||k===Bm)&&u++}i=h}while(i);Tr(t)}function NE(e,t){e.nodeType===On?W2(e.parentNode,t):e.nodeType===zr&&W2(e,t),Tr(e)}function ME(e){e=e;var t=e.style;typeof t.setProperty=="function"?t.setProperty("display","none","important"):t.display="none"}function IE(e){e.nodeValue=""}function _E(e,t){e=e;var i=t[nE],u=i!=null&&i.hasOwnProperty("display")?i.display:null;e.style.display=Jc("display",u)}function CE(e,t){e.nodeValue=t}function AE(e){e.nodeType===zr?e.textContent="":e.nodeType===qa&&e.documentElement&&e.removeChild(e.documentElement)}function OE(e,t,i){return e.nodeType!==zr||t.toLowerCase()!==e.nodeName.toLowerCase()?null:e}function xE(e,t){return t===""||e.nodeType!==Co?null:e}function LE(e){return e.nodeType!==On?null:e}function V8(e){return e.data===zm}function K2(e){return e.data===Bm}function RE(e){var t=e.nextSibling&&e.nextSibling.dataset,i,u,h;return t&&(i=t.dgst,u=t.msg,h=t.stck),{message:u,digest:i,stack:h}}function DE(e,t){e._reactRetry=t}function Dg(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===zr||t===Co)break;if(t===On){var i=e.data;if(i===Lg||i===Bm||i===zm)break;if(i===Rg)return null}}return e}function Fm(e){return Dg(e.nextSibling)}function PE(e){return Dg(e.firstChild)}function UE(e){return Dg(e.firstChild)}function jE(e){return Dg(e.nextSibling)}function zE(e,t,i,u,h,k,S){Ym(k,e),X2(e,i);var _;{var A=h;_=A.namespace}var P=(k.mode&Ot)!==st;return qS(e,t,i,_,u,P,S)}function BE(e,t,i,u){return Ym(i,e),i.mode&Ot,WS(e,t)}function FE(e,t){Ym(t,e)}function VE(e){for(var t=e.nextSibling,i=0;t;){if(t.nodeType===On){var u=t.data;if(u===Rg){if(i===0)return Fm(t);i--}else(u===Lg||u===Bm||u===zm)&&i++}t=t.nextSibling}return null}function Y8(e){for(var t=e.previousSibling,i=0;t;){if(t.nodeType===On){var u=t.data;if(u===Lg||u===Bm||u===zm){if(i===0)return t;i--}else u===Rg&&i++}t=t.previousSibling}return null}function YE(e){Tr(e)}function QE(e){Tr(e)}function GE(e){return e!=="head"&&e!=="body"}function HE(e,t,i,u){var h=!0;Ag(t.nodeValue,i,u,h)}function $E(e,t,i,u,h,k){if(t[xg]!==!0){var S=!0;Ag(u.nodeValue,h,k,S)}}function qE(e,t){t.nodeType===zr?B2(e,t):t.nodeType===On||F2(e,t)}function WE(e,t){{var i=e.parentNode;i!==null&&(t.nodeType===zr?B2(i,t):t.nodeType===On||F2(i,t))}}function KE(e,t,i,u,h){(h||t[xg]!==!0)&&(u.nodeType===zr?B2(i,u):u.nodeType===On||F2(i,u))}function ZE(e,t,i){V2(e,t)}function JE(e,t){Y2(e,t)}function XE(e,t,i){{var u=e.parentNode;u!==null&&V2(u,t)}}function eN(e,t){{var i=e.parentNode;i!==null&&Y2(i,t)}}function tN(e,t,i,u,h,k){(k||t[xg]!==!0)&&V2(i,u)}function nN(e,t,i,u,h){(h||t[xg]!==!0)&&Y2(i,u)}function rN(e){g("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",e.nodeName.toLowerCase())}function aN(e){Lm(e)}var lf=Math.random().toString(36).slice(2),uf="__reactFiber$"+lf,Z2="__reactProps$"+lf,Vm="__reactContainer$"+lf,J2="__reactEvents$"+lf,oN="__reactListeners$"+lf,iN="__reactHandles$"+lf;function sN(e){delete e[uf],delete e[Z2],delete e[J2],delete e[oN],delete e[iN]}function Ym(e,t){t[uf]=e}function Pg(e,t){t[Vm]=e}function Q8(e){e[Vm]=null}function Qm(e){return!!e[Vm]}function rc(e){var t=e[uf];if(t)return t;for(var i=e.parentNode;i;){if(t=i[Vm]||i[uf],t){var u=t.alternate;if(t.child!==null||u!==null&&u.child!==null)for(var h=Y8(e);h!==null;){var k=h[uf];if(k)return k;h=Y8(h)}return t}e=i,i=e.parentNode}return null}function Pl(e){var t=e[uf]||e[Vm];return t&&(t.tag===j||t.tag===Q||t.tag===Z||t.tag===R)?t:null}function cf(e){if(e.tag===j||e.tag===Q)return e.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function Ug(e){return e[Z2]||null}function X2(e,t){e[Z2]=t}function lN(e){var t=e[J2];return t===void 0&&(t=e[J2]=new Set),t}var G8={},H8=s.ReactDebugCurrentFrame;function jg(e){if(e){var t=e._owner,i=uu(e.type,e._source,t?t.type:null);H8.setExtraStackFrame(i)}else H8.setExtraStackFrame(null)}function Bo(e,t,i,u,h){{var k=Function.call.bind(Ct);for(var S in e)if(k(e,S)){var _=void 0;try{if(typeof e[S]!="function"){var A=Error((u||"React class")+": "+i+" type `"+S+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[S]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw A.name="Invariant Violation",A}_=e[S](t,S,u,i,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(P){_=P}_&&!(_ instanceof Error)&&(jg(h),g("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",u||"React class",i,S,typeof _),jg(null)),_ instanceof Error&&!(_.message in G8)&&(G8[_.message]=!0,jg(h),g("Failed %s type: %s",i,_.message),jg(null))}}}var ev=[],zg;zg=[];var _s=-1;function Ul(e){return{current:e}}function Kr(e,t){if(_s<0){g("Unexpected pop.");return}t!==zg[_s]&&g("Unexpected Fiber popped."),e.current=ev[_s],ev[_s]=null,zg[_s]=null,_s--}function Zr(e,t,i){_s++,ev[_s]=e.current,zg[_s]=i,e.current=t}var tv;tv={};var eo={};Object.freeze(eo);var Cs=Ul(eo),Ii=Ul(!1),nv=eo;function df(e,t,i){return i&&_i(t)?nv:Cs.current}function $8(e,t,i){{var u=e.stateNode;u.__reactInternalMemoizedUnmaskedChildContext=t,u.__reactInternalMemoizedMaskedChildContext=i}}function ff(e,t){{var i=e.type,u=i.contextTypes;if(!u)return eo;var h=e.stateNode;if(h&&h.__reactInternalMemoizedUnmaskedChildContext===t)return h.__reactInternalMemoizedMaskedChildContext;var k={};for(var S in u)k[S]=t[S];{var _=bt(e)||"Unknown";Bo(u,k,"context",_)}return h&&$8(e,t,k),k}}function Bg(){return Ii.current}function _i(e){{var t=e.childContextTypes;return t!=null}}function Fg(e){Kr(Ii,e),Kr(Cs,e)}function rv(e){Kr(Ii,e),Kr(Cs,e)}function q8(e,t,i){{if(Cs.current!==eo)throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");Zr(Cs,t,e),Zr(Ii,i,e)}}function W8(e,t,i){{var u=e.stateNode,h=t.childContextTypes;if(typeof u.getChildContext!="function"){{var k=bt(e)||"Unknown";tv[k]||(tv[k]=!0,g("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",k,k))}return i}var S=u.getChildContext();for(var _ in S)if(!(_ in h))throw new Error((bt(e)||"Unknown")+'.getChildContext(): key "'+_+'" is not defined in childContextTypes.');{var A=bt(e)||"Unknown";Bo(h,S,"child context",A)}return Rt({},i,S)}}function Vg(e){{var t=e.stateNode,i=t&&t.__reactInternalMemoizedMergedChildContext||eo;return nv=Cs.current,Zr(Cs,i,e),Zr(Ii,Ii.current,e),!0}}function K8(e,t,i){{var u=e.stateNode;if(!u)throw new Error("Expected to have an instance by this point. This error is likely caused by a bug in React. Please file an issue.");if(i){var h=W8(e,t,nv);u.__reactInternalMemoizedMergedChildContext=h,Kr(Ii,e),Kr(Cs,e),Zr(Cs,h,e),Zr(Ii,i,e)}else Kr(Ii,e),Zr(Ii,i,e)}}function uN(e){{if(!Jp(e)||e.tag!==C)throw new Error("Expected subtree parent to be a mounted class component. This error is likely caused by a bug in React. Please file an issue.");var t=e;do{switch(t.tag){case R:return t.stateNode.context;case C:{var i=t.type;if(_i(i))return t.stateNode.__reactInternalMemoizedMergedChildContext;break}}t=t.return}while(t!==null);throw new Error("Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.")}}var jl=0,Yg=1,As=null,av=!1,ov=!1;function Z8(e){As===null?As=[e]:As.push(e)}function cN(e){av=!0,Z8(e)}function J8(){av&&zl()}function zl(){if(!ov&&As!==null){ov=!0;var e=0,t=la();try{var i=!0,u=As;for(jn(qr);e<u.length;e++){var h=u[e];do h=h(i);while(h!==null)}As=null,av=!1}catch(k){throw As!==null&&(As=As.slice(e+1)),ud(dd,zl),k}finally{jn(t),ov=!1}}return null}var pf=[],mf=0,Qg=null,Gg=0,po=[],mo=0,ac=null,Os=1,xs="";function dN(e){return ic(),(e.flags&Wp)!==nt}function fN(e){return ic(),Gg}function pN(){var e=xs,t=Os,i=t&~mN(t);return i.toString(32)+e}function oc(e,t){ic(),pf[mf++]=Gg,pf[mf++]=Qg,Qg=e,Gg=t}function X8(e,t,i){ic(),po[mo++]=Os,po[mo++]=xs,po[mo++]=ac,ac=e;var u=Os,h=xs,k=Hg(u)-1,S=u&~(1<<k),_=i+1,A=Hg(t)+k;if(A>30){var P=k-k%5,z=(1<<P)-1,q=(S&z).toString(32),H=S>>P,ae=k-P,oe=Hg(t)+ae,me=_<<ae,Ue=me|H,Xe=q+h;Os=1<<oe|Ue,xs=Xe}else{var it=_<<k,Lt=it|S,_t=h;Os=1<<A|Lt,xs=_t}}function iv(e){ic();var t=e.return;if(t!==null){var i=1,u=0;oc(e,i),X8(e,i,u)}}function Hg(e){return 32-yd(e)}function mN(e){return 1<<Hg(e)-1}function sv(e){for(;e===Qg;)Qg=pf[--mf],pf[mf]=null,Gg=pf[--mf],pf[mf]=null;for(;e===ac;)ac=po[--mo],po[mo]=null,xs=po[--mo],po[mo]=null,Os=po[--mo],po[mo]=null}function hN(){return ic(),ac!==null?{id:Os,overflow:xs}:null}function gN(e,t){ic(),po[mo++]=Os,po[mo++]=xs,po[mo++]=ac,Os=t.id,xs=t.overflow,ac=e}function ic(){Ir()||g("Expected to be hydrating. This is a bug in React. Please file an issue.")}var Mr=null,ho=null,Fo=!1,sc=!1,Bl=null;function yN(){Fo&&g("We should not be hydrating here. This is a bug in React. Please file a bug.")}function e6(){sc=!0}function vN(){return sc}function TN(e){var t=e.stateNode.containerInfo;return ho=UE(t),Mr=e,Fo=!0,Bl=null,sc=!1,!0}function kN(e,t,i){return ho=jE(t),Mr=e,Fo=!0,Bl=null,sc=!1,i!==null&&gN(e,i),!0}function t6(e,t){switch(e.tag){case R:{qE(e.stateNode.containerInfo,t);break}case j:{var i=(e.mode&Ot)!==st;KE(e.type,e.memoizedProps,e.stateNode,t,i);break}case Z:{var u=e.memoizedState;u.dehydrated!==null&&WE(u.dehydrated,t);break}}}function n6(e,t){t6(e,t);var i=S_();i.stateNode=t,i.return=e;var u=e.deletions;u===null?(e.deletions=[i],e.flags|=Vt):u.push(i)}function lv(e,t){{if(sc)return;switch(e.tag){case R:{var i=e.stateNode.containerInfo;switch(t.tag){case j:var u=t.type;t.pendingProps,ZE(i,u);break;case Q:var h=t.pendingProps;JE(i,h);break}break}case j:{var k=e.type,S=e.memoizedProps,_=e.stateNode;switch(t.tag){case j:{var A=t.type,P=t.pendingProps,z=(e.mode&Ot)!==st;tN(k,S,_,A,P,z);break}case Q:{var q=t.pendingProps,H=(e.mode&Ot)!==st;nN(k,S,_,q,H);break}}break}case Z:{var ae=e.memoizedState,oe=ae.dehydrated;if(oe!==null)switch(t.tag){case j:var me=t.type;t.pendingProps,XE(oe,me);break;case Q:var Ue=t.pendingProps;eN(oe,Ue);break}break}default:return}}}function r6(e,t){t.flags=t.flags&~Ma|on,lv(e,t)}function a6(e,t){switch(e.tag){case j:{var i=e.type;e.pendingProps;var u=OE(t,i);return u!==null?(e.stateNode=u,Mr=e,ho=PE(u),!0):!1}case Q:{var h=e.pendingProps,k=xE(t,h);return k!==null?(e.stateNode=k,Mr=e,ho=null,!0):!1}case Z:{var S=LE(t);if(S!==null){var _={dehydrated:S,treeContext:hN(),retryLane:Hr};e.memoizedState=_;var A=E_(S);return A.return=e,e.child=A,Mr=e,ho=null,!0}return!1}default:return!1}}function uv(e){return(e.mode&Ot)!==st&&(e.flags&mt)===nt}function cv(e){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function dv(e){if(Fo){var t=ho;if(!t){uv(e)&&(lv(Mr,e),cv()),r6(Mr,e),Fo=!1,Mr=e;return}var i=t;if(!a6(e,t)){uv(e)&&(lv(Mr,e),cv()),t=Fm(i);var u=Mr;if(!t||!a6(e,t)){r6(Mr,e),Fo=!1,Mr=e;return}n6(u,i)}}}function bN(e,t,i){var u=e.stateNode,h=!sc,k=zE(u,e.type,e.memoizedProps,t,i,e,h);return e.updateQueue=k,k!==null}function wN(e){var t=e.stateNode,i=e.memoizedProps,u=BE(t,i,e);if(u){var h=Mr;if(h!==null)switch(h.tag){case R:{var k=h.stateNode.containerInfo,S=(h.mode&Ot)!==st;HE(k,t,i,S);break}case j:{var _=h.type,A=h.memoizedProps,P=h.stateNode,z=(h.mode&Ot)!==st;$E(_,A,P,t,i,z);break}}}return u}function SN(e){var t=e.memoizedState,i=t!==null?t.dehydrated:null;if(!i)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");FE(i,e)}function EN(e){var t=e.memoizedState,i=t!==null?t.dehydrated:null;if(!i)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");return VE(i)}function o6(e){for(var t=e.return;t!==null&&t.tag!==j&&t.tag!==R&&t.tag!==Z;)t=t.return;Mr=t}function $g(e){if(e!==Mr)return!1;if(!Fo)return o6(e),Fo=!0,!1;if(e.tag!==R&&(e.tag!==j||GE(e.type)&&!H2(e.type,e.memoizedProps))){var t=ho;if(t)if(uv(e))i6(e),cv();else for(;t;)n6(e,t),t=Fm(t)}return o6(e),e.tag===Z?ho=EN(e):ho=Mr?Fm(e.stateNode):null,!0}function NN(){return Fo&&ho!==null}function i6(e){for(var t=ho;t;)t6(e,t),t=Fm(t)}function hf(){Mr=null,ho=null,Fo=!1,sc=!1}function s6(){Bl!==null&&(tk(Bl),Bl=null)}function Ir(){return Fo}function fv(e){Bl===null?Bl=[e]:Bl.push(e)}var MN=s.ReactCurrentBatchConfig,IN=null;function _N(){return MN.transition}var Vo={recordUnsafeLifecycleWarnings:function(e,t){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(e,t){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var CN=function(e){for(var t=null,i=e;i!==null;)i.mode&hn&&(t=i),i=i.return;return t},lc=function(e){var t=[];return e.forEach(function(i){t.push(i)}),t.sort().join(", ")},Gm=[],Hm=[],$m=[],qm=[],Wm=[],Km=[],uc=new Set;Vo.recordUnsafeLifecycleWarnings=function(e,t){uc.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&Gm.push(e),e.mode&hn&&typeof t.UNSAFE_componentWillMount=="function"&&Hm.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&$m.push(e),e.mode&hn&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&qm.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&Wm.push(e),e.mode&hn&&typeof t.UNSAFE_componentWillUpdate=="function"&&Km.push(e))},Vo.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;Gm.length>0&&(Gm.forEach(function(H){e.add(bt(H)||"Component"),uc.add(H.type)}),Gm=[]);var t=new Set;Hm.length>0&&(Hm.forEach(function(H){t.add(bt(H)||"Component"),uc.add(H.type)}),Hm=[]);var i=new Set;$m.length>0&&($m.forEach(function(H){i.add(bt(H)||"Component"),uc.add(H.type)}),$m=[]);var u=new Set;qm.length>0&&(qm.forEach(function(H){u.add(bt(H)||"Component"),uc.add(H.type)}),qm=[]);var h=new Set;Wm.length>0&&(Wm.forEach(function(H){h.add(bt(H)||"Component"),uc.add(H.type)}),Wm=[]);var k=new Set;if(Km.length>0&&(Km.forEach(function(H){k.add(bt(H)||"Component"),uc.add(H.type)}),Km=[]),t.size>0){var S=lc(t);g(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
60
60
 
61
61
  * Move code with side effects to componentDidMount, and set initial state in the constructor.
62
62
 
@@ -91,7 +91,7 @@ The old API will be supported in all 16.x releases, but applications using it sh
91
91
 
92
92
  Please update the following components: %s
93
93
 
94
- Learn more about this warning here: https://reactjs.org/link/legacy-context`,h)}finally{Dn()}}})},Vo.discardPendingWarnings=function(){Gm=[],Hm=[],$m=[],qm=[],Wm=[],Km=[],qg=new Map}}function Yo(e,t){if(e&&e.defaultProps){var i=Rt({},t),u=e.defaultProps;for(var h in u)i[h]===void 0&&(i[h]=u[h]);return i}return t}var pv=Ul(null),mv;mv={};var Wg=null,gf=null,hv=null,Kg=!1;function Zg(){Wg=null,gf=null,hv=null,Kg=!1}function u6(){Kg=!0}function c6(){Kg=!1}function d6(e,t,i){Zr(pv,t._currentValue,e),t._currentValue=i,t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==mv&&g("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=mv}function gv(e,t){var i=pv.current;Kr(pv,t),e._currentValue=i}function yv(e,t,i){for(var u=e;u!==null;){var h=u.alternate;if(ys(u.childLanes,t)?h!==null&&!ys(h.childLanes,t)&&(h.childLanes=Et(h.childLanes,t)):(u.childLanes=Et(u.childLanes,t),h!==null&&(h.childLanes=Et(h.childLanes,t))),u===i)break;u=u.return}u!==i&&g("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function AN(e,t,i){ON(e,t,i)}function ON(e,t,i){var u=e.child;for(u!==null&&(u.return=e);u!==null;){var h=void 0,k=u.dependencies;if(k!==null){h=u.child;for(var S=k.firstContext;S!==null;){if(S.context===t){if(u.tag===C){var _=Un(i),A=Ls(Xt,_);A.tag=Xg;var P=u.updateQueue;if(P!==null){var z=P.shared,q=z.pending;q===null?A.next=A:(A.next=q.next,q.next=A),z.pending=A}}u.lanes=Et(u.lanes,i);var H=u.alternate;H!==null&&(H.lanes=Et(H.lanes,i)),yv(u.return,i,e),k.lanes=Et(k.lanes,i);break}S=S.next}}else if(u.tag===se)h=u.type===e.type?null:u.child;else if(u.tag===ht){var ae=u.return;if(ae===null)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");ae.lanes=Et(ae.lanes,i);var oe=ae.alternate;oe!==null&&(oe.lanes=Et(oe.lanes,i)),yv(ae,i,e),h=u.sibling}else h=u.child;if(h!==null)h.return=u;else for(h=u;h!==null;){if(h===e){h=null;break}var me=h.sibling;if(me!==null){me.return=h.return,h=me;break}h=h.return}u=h}}function yf(e,t){Wg=e,gf=null,hv=null;var i=e.dependencies;if(i!==null){var u=i.firstContext;u!==null&&($r(i.lanes,t)&&c1(),i.firstContext=null)}}function Jn(e){Kg&&g("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");var t=e._currentValue;if(hv!==e){var i={context:e,memoizedValue:t,next:null};if(gf===null){if(Wg===null)throw new Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");gf=i,Wg.dependencies={lanes:he,firstContext:i}}else gf=gf.next=i}return t}var cc=null;function vv(e){cc===null?cc=[e]:cc.push(e)}function xN(){if(cc!==null){for(var e=0;e<cc.length;e++){var t=cc[e],i=t.interleaved;if(i!==null){t.interleaved=null;var u=i.next,h=t.pending;if(h!==null){var k=h.next;h.next=u,i.next=k}t.pending=i}}cc=null}}function f6(e,t,i,u){var h=t.interleaved;return h===null?(i.next=i,vv(t)):(i.next=h.next,h.next=i),t.interleaved=i,Jg(e,u)}function LN(e,t,i,u){var h=t.interleaved;h===null?(i.next=i,vv(t)):(i.next=h.next,h.next=i),t.interleaved=i}function RN(e,t,i,u){var h=t.interleaved;return h===null?(i.next=i,vv(t)):(i.next=h.next,h.next=i),t.interleaved=i,Jg(e,u)}function Pa(e,t){return Jg(e,t)}var DN=Jg;function Jg(e,t){e.lanes=Et(e.lanes,t);var i=e.alternate;i!==null&&(i.lanes=Et(i.lanes,t)),i===null&&(e.flags&(on|Ma))!==nt&&p5(e);for(var u=e,h=e.return;h!==null;)h.childLanes=Et(h.childLanes,t),i=h.alternate,i!==null?i.childLanes=Et(i.childLanes,t):(h.flags&(on|Ma))!==nt&&p5(e),u=h,h=h.return;if(u.tag===R){var k=u.stateNode;return k}else return null}var p6=0,m6=1,Xg=2,Tv=3,e0=!1,kv,t0;kv=!1,t0=null;function bv(e){var t={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:he},effects:null};e.updateQueue=t}function h6(e,t){var i=t.updateQueue,u=e.updateQueue;if(i===u){var h={baseState:u.baseState,firstBaseUpdate:u.firstBaseUpdate,lastBaseUpdate:u.lastBaseUpdate,shared:u.shared,effects:u.effects};t.updateQueue=h}}function Ls(e,t){var i={eventTime:e,lane:t,tag:p6,payload:null,callback:null,next:null};return i}function Fl(e,t,i){var u=e.updateQueue;if(u===null)return null;var h=u.shared;if(t0===h&&!kv&&(g("An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback."),kv=!0),DI()){var k=h.pending;return k===null?t.next=t:(t.next=k.next,k.next=t),h.pending=t,DN(e,i)}else return RN(e,h,t,i)}function n0(e,t,i){var u=t.updateQueue;if(u!==null){var h=u.shared;if(dm(i)){var k=h.lanes;k=pm(k,e.pendingLanes);var S=Et(k,i);h.lanes=S,Bu(e,S)}}}function wv(e,t){var i=e.updateQueue,u=e.alternate;if(u!==null){var h=u.updateQueue;if(i===h){var k=null,S=null,_=i.firstBaseUpdate;if(_!==null){var A=_;do{var P={eventTime:A.eventTime,lane:A.lane,tag:A.tag,payload:A.payload,callback:A.callback,next:null};S===null?k=S=P:(S.next=P,S=P),A=A.next}while(A!==null);S===null?k=S=t:(S.next=t,S=t)}else k=S=t;i={baseState:h.baseState,firstBaseUpdate:k,lastBaseUpdate:S,shared:h.shared,effects:h.effects},e.updateQueue=i;return}}var z=i.lastBaseUpdate;z===null?i.firstBaseUpdate=t:z.next=t,i.lastBaseUpdate=t}function PN(e,t,i,u,h,k){switch(i.tag){case m6:{var S=i.payload;if(typeof S=="function"){u6();var _=S.call(k,u,h);{if(e.mode&hn){Pn(!0);try{S.call(k,u,h)}finally{Pn(!1)}}c6()}return _}return S}case Tv:e.flags=e.flags&~Wn|mt;case p6:{var A=i.payload,P;if(typeof A=="function"){u6(),P=A.call(k,u,h);{if(e.mode&hn){Pn(!0);try{A.call(k,u,h)}finally{Pn(!1)}}c6()}}else P=A;return P==null?u:Rt({},u,P)}case Xg:return e0=!0,u}return u}function r0(e,t,i,u){var h=e.updateQueue;e0=!1,t0=h.shared;var k=h.firstBaseUpdate,S=h.lastBaseUpdate,_=h.shared.pending;if(_!==null){h.shared.pending=null;var A=_,P=A.next;A.next=null,S===null?k=P:S.next=P,S=A;var z=e.alternate;if(z!==null){var q=z.updateQueue,H=q.lastBaseUpdate;H!==S&&(H===null?q.firstBaseUpdate=P:H.next=P,q.lastBaseUpdate=A)}}if(k!==null){var ae=h.baseState,oe=he,me=null,Ue=null,Xe=null,it=k;do{var Lt=it.lane,_t=it.eventTime;if(ys(u,Lt)){if(Xe!==null){var ee={eventTime:_t,lane:Pt,tag:it.tag,payload:it.payload,callback:it.callback,next:null};Xe=Xe.next=ee}ae=PN(e,h,it,ae,t,i);var pe=it.callback;if(pe!==null&&it.lane!==Pt){e.flags|=so;var ne=h.effects;ne===null?h.effects=[it]:ne.push(it)}}else{var Me={eventTime:_t,lane:Lt,tag:it.tag,payload:it.payload,callback:it.callback,next:null};Xe===null?(Ue=Xe=Me,me=ae):Xe=Xe.next=Me,oe=Et(oe,Lt)}if(it=it.next,it===null){if(_=h.shared.pending,_===null)break;var Ye=_,je=Ye.next;Ye.next=null,it=je,h.lastBaseUpdate=Ye,h.shared.pending=null}}while(!0);Xe===null&&(me=ae),h.baseState=me,h.firstBaseUpdate=Ue,h.lastBaseUpdate=Xe;var pt=h.shared.interleaved;if(pt!==null){var kt=pt;do oe=Et(oe,kt.lane),kt=kt.next;while(kt!==pt)}else k===null&&(h.shared.lanes=he);b1(oe),e.lanes=oe,e.memoizedState=ae}t0=null}function UN(e,t){if(typeof e!="function")throw new Error("Invalid argument passed as callback. Expected a function. Instead "+("received: "+e));e.call(t)}function g6(){e0=!1}function a0(){return e0}function y6(e,t,i){var u=t.effects;if(t.effects=null,u!==null)for(var h=0;h<u.length;h++){var k=u[h],S=k.callback;S!==null&&(k.callback=null,UN(S,i))}}var Sv={},v6=new r.Component().refs,Ev,Nv,Mv,Iv,_v,T6,o0,Cv,Av,Ov;{Ev=new Set,Nv=new Set,Mv=new Set,Iv=new Set,Cv=new Set,_v=new Set,Av=new Set,Ov=new Set;var k6=new Set;o0=function(e,t){if(!(e===null||typeof e=="function")){var i=t+"_"+e;k6.has(i)||(k6.add(i),g("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e))}},T6=function(e,t){if(t===void 0){var i=Zt(e)||"Component";_v.has(i)||(_v.add(i),g("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",i))}},Object.defineProperty(Sv,"_processChildContext",{enumerable:!1,value:function(){throw new Error("_processChildContext is not available in React 16+. This likely means you have multiple copies of React and are attempting to nest a React 15 tree inside a React 16 tree using unstable_renderSubtreeIntoContainer, which isn't supported. Try to make sure you have only one copy of React (and ideally, switch to ReactDOM.createPortal).")}}),Object.freeze(Sv)}function xv(e,t,i,u){var h=e.memoizedState,k=i(u,h);{if(e.mode&hn){Pn(!0);try{k=i(u,h)}finally{Pn(!1)}}T6(t,k)}var S=k==null?h:Rt({},h,k);if(e.memoizedState=S,e.lanes===he){var _=e.updateQueue;_.baseState=S}}var Lv={isMounted:oa,enqueueSetState:function(e,t,i){var u=Ea(e),h=ma(),k=Wl(u),S=Ls(h,k);S.payload=t,i!=null&&(o0(i,"setState"),S.callback=i);var _=Fl(u,S,k);_!==null&&(mr(_,u,k,h),n0(_,u,k)),hi(u,k)},enqueueReplaceState:function(e,t,i){var u=Ea(e),h=ma(),k=Wl(u),S=Ls(h,k);S.tag=m6,S.payload=t,i!=null&&(o0(i,"replaceState"),S.callback=i);var _=Fl(u,S,k);_!==null&&(mr(_,u,k,h),n0(_,u,k)),hi(u,k)},enqueueForceUpdate:function(e,t){var i=Ea(e),u=ma(),h=Wl(i),k=Ls(u,h);k.tag=Xg,t!=null&&(o0(t,"forceUpdate"),k.callback=t);var S=Fl(i,k,h);S!==null&&(mr(S,i,h,u),n0(S,i,h)),sm(i,h)}};function b6(e,t,i,u,h,k,S){var _=e.stateNode;if(typeof _.shouldComponentUpdate=="function"){var A=_.shouldComponentUpdate(u,k,S);{if(e.mode&hn){Pn(!0);try{A=_.shouldComponentUpdate(u,k,S)}finally{Pn(!1)}}A===void 0&&g("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",Zt(t)||"Component")}return A}return t.prototype&&t.prototype.isPureReactComponent?!tt(i,u)||!tt(h,k):!0}function jN(e,t,i){var u=e.stateNode;{var h=Zt(t)||"Component",k=u.render;k||(t.prototype&&typeof t.prototype.render=="function"?g("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",h):g("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",h)),u.getInitialState&&!u.getInitialState.isReactClassApproved&&!u.state&&g("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",h),u.getDefaultProps&&!u.getDefaultProps.isReactClassApproved&&g("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",h),u.propTypes&&g("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",h),u.contextType&&g("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",h),u.contextTypes&&g("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",h),t.contextType&&t.contextTypes&&!Av.has(t)&&(Av.add(t),g("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",h)),typeof u.componentShouldUpdate=="function"&&g("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",h),t.prototype&&t.prototype.isPureReactComponent&&typeof u.shouldComponentUpdate<"u"&&g("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",Zt(t)||"A pure component"),typeof u.componentDidUnmount=="function"&&g("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",h),typeof u.componentDidReceiveProps=="function"&&g("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",h),typeof u.componentWillRecieveProps=="function"&&g("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",h),typeof u.UNSAFE_componentWillRecieveProps=="function"&&g("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",h);var S=u.props!==i;u.props!==void 0&&S&&g("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",h,h),u.defaultProps&&g("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",h,h),typeof u.getSnapshotBeforeUpdate=="function"&&typeof u.componentDidUpdate!="function"&&!Mv.has(t)&&(Mv.add(t),g("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",Zt(t))),typeof u.getDerivedStateFromProps=="function"&&g("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",h),typeof u.getDerivedStateFromError=="function"&&g("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",h),typeof t.getSnapshotBeforeUpdate=="function"&&g("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",h);var _=u.state;_&&(typeof _!="object"||$n(_))&&g("%s.state: must be set to an object or null",h),typeof u.getChildContext=="function"&&typeof t.childContextTypes!="object"&&g("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",h)}}function w6(e,t){t.updater=Lv,e.stateNode=t,ml(t,e),t._reactInternalInstance=Sv}function S6(e,t,i){var u=!1,h=eo,k=eo,S=t.contextType;if("contextType"in t){var _=S===null||S!==void 0&&S.$$typeof===hp&&S._context===void 0;if(!_&&!Ov.has(t)){Ov.add(t);var A="";S===void 0?A=" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof S!="object"?A=" However, it is set to a "+typeof S+".":S.$$typeof===mp?A=" Did you accidentally pass the Context.Provider instead?":S._context!==void 0?A=" Did you accidentally pass the Context.Consumer instead?":A=" However, it is set to an object with keys {"+Object.keys(S).join(", ")+"}.",g("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",Zt(t)||"Component",A)}}if(typeof S=="object"&&S!==null)k=Jn(S);else{h=df(e,t,!0);var P=t.contextTypes;u=P!=null,k=u?ff(e,h):eo}var z=new t(i,k);if(e.mode&hn){Pn(!0);try{z=new t(i,k)}finally{Pn(!1)}}var q=e.memoizedState=z.state!==null&&z.state!==void 0?z.state:null;w6(e,z);{if(typeof t.getDerivedStateFromProps=="function"&&q===null){var H=Zt(t)||"Component";Nv.has(H)||(Nv.add(H),g("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",H,z.state===null?"null":"undefined",H))}if(typeof t.getDerivedStateFromProps=="function"||typeof z.getSnapshotBeforeUpdate=="function"){var ae=null,oe=null,me=null;if(typeof z.componentWillMount=="function"&&z.componentWillMount.__suppressDeprecationWarning!==!0?ae="componentWillMount":typeof z.UNSAFE_componentWillMount=="function"&&(ae="UNSAFE_componentWillMount"),typeof z.componentWillReceiveProps=="function"&&z.componentWillReceiveProps.__suppressDeprecationWarning!==!0?oe="componentWillReceiveProps":typeof z.UNSAFE_componentWillReceiveProps=="function"&&(oe="UNSAFE_componentWillReceiveProps"),typeof z.componentWillUpdate=="function"&&z.componentWillUpdate.__suppressDeprecationWarning!==!0?me="componentWillUpdate":typeof z.UNSAFE_componentWillUpdate=="function"&&(me="UNSAFE_componentWillUpdate"),ae!==null||oe!==null||me!==null){var Ue=Zt(t)||"Component",Xe=typeof t.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";Iv.has(Ue)||(Iv.add(Ue),g(`Unsafe legacy lifecycles will not be called for components using new component APIs.
94
+ Learn more about this warning here: https://reactjs.org/link/legacy-context`,h)}finally{Dn()}}})},Vo.discardPendingWarnings=function(){Gm=[],Hm=[],$m=[],qm=[],Wm=[],Km=[],qg=new Map}}function Yo(e,t){if(e&&e.defaultProps){var i=Rt({},t),u=e.defaultProps;for(var h in u)i[h]===void 0&&(i[h]=u[h]);return i}return t}var pv=Ul(null),mv;mv={};var Wg=null,gf=null,hv=null,Kg=!1;function Zg(){Wg=null,gf=null,hv=null,Kg=!1}function u6(){Kg=!0}function c6(){Kg=!1}function d6(e,t,i){Zr(pv,t._currentValue,e),t._currentValue=i,t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==mv&&g("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=mv}function gv(e,t){var i=pv.current;Kr(pv,t),e._currentValue=i}function yv(e,t,i){for(var u=e;u!==null;){var h=u.alternate;if(ys(u.childLanes,t)?h!==null&&!ys(h.childLanes,t)&&(h.childLanes=Et(h.childLanes,t)):(u.childLanes=Et(u.childLanes,t),h!==null&&(h.childLanes=Et(h.childLanes,t))),u===i)break;u=u.return}u!==i&&g("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function AN(e,t,i){ON(e,t,i)}function ON(e,t,i){var u=e.child;for(u!==null&&(u.return=e);u!==null;){var h=void 0,k=u.dependencies;if(k!==null){h=u.child;for(var S=k.firstContext;S!==null;){if(S.context===t){if(u.tag===C){var _=Un(i),A=Ls(Xt,_);A.tag=Xg;var P=u.updateQueue;if(P!==null){var z=P.shared,q=z.pending;q===null?A.next=A:(A.next=q.next,q.next=A),z.pending=A}}u.lanes=Et(u.lanes,i);var H=u.alternate;H!==null&&(H.lanes=Et(H.lanes,i)),yv(u.return,i,e),k.lanes=Et(k.lanes,i);break}S=S.next}}else if(u.tag===se)h=u.type===e.type?null:u.child;else if(u.tag===ht){var ae=u.return;if(ae===null)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");ae.lanes=Et(ae.lanes,i);var oe=ae.alternate;oe!==null&&(oe.lanes=Et(oe.lanes,i)),yv(ae,i,e),h=u.sibling}else h=u.child;if(h!==null)h.return=u;else for(h=u;h!==null;){if(h===e){h=null;break}var me=h.sibling;if(me!==null){me.return=h.return,h=me;break}h=h.return}u=h}}function yf(e,t){Wg=e,gf=null,hv=null;var i=e.dependencies;if(i!==null){var u=i.firstContext;u!==null&&($r(i.lanes,t)&&c1(),i.firstContext=null)}}function Jn(e){Kg&&g("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");var t=e._currentValue;if(hv!==e){var i={context:e,memoizedValue:t,next:null};if(gf===null){if(Wg===null)throw new Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");gf=i,Wg.dependencies={lanes:he,firstContext:i}}else gf=gf.next=i}return t}var cc=null;function vv(e){cc===null?cc=[e]:cc.push(e)}function xN(){if(cc!==null){for(var e=0;e<cc.length;e++){var t=cc[e],i=t.interleaved;if(i!==null){t.interleaved=null;var u=i.next,h=t.pending;if(h!==null){var k=h.next;h.next=u,i.next=k}t.pending=i}}cc=null}}function f6(e,t,i,u){var h=t.interleaved;return h===null?(i.next=i,vv(t)):(i.next=h.next,h.next=i),t.interleaved=i,Jg(e,u)}function LN(e,t,i,u){var h=t.interleaved;h===null?(i.next=i,vv(t)):(i.next=h.next,h.next=i),t.interleaved=i}function RN(e,t,i,u){var h=t.interleaved;return h===null?(i.next=i,vv(t)):(i.next=h.next,h.next=i),t.interleaved=i,Jg(e,u)}function Pa(e,t){return Jg(e,t)}var DN=Jg;function Jg(e,t){e.lanes=Et(e.lanes,t);var i=e.alternate;i!==null&&(i.lanes=Et(i.lanes,t)),i===null&&(e.flags&(on|Ma))!==nt&&pk(e);for(var u=e,h=e.return;h!==null;)h.childLanes=Et(h.childLanes,t),i=h.alternate,i!==null?i.childLanes=Et(i.childLanes,t):(h.flags&(on|Ma))!==nt&&pk(e),u=h,h=h.return;if(u.tag===R){var k=u.stateNode;return k}else return null}var p6=0,m6=1,Xg=2,Tv=3,e0=!1,kv,t0;kv=!1,t0=null;function bv(e){var t={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:he},effects:null};e.updateQueue=t}function h6(e,t){var i=t.updateQueue,u=e.updateQueue;if(i===u){var h={baseState:u.baseState,firstBaseUpdate:u.firstBaseUpdate,lastBaseUpdate:u.lastBaseUpdate,shared:u.shared,effects:u.effects};t.updateQueue=h}}function Ls(e,t){var i={eventTime:e,lane:t,tag:p6,payload:null,callback:null,next:null};return i}function Fl(e,t,i){var u=e.updateQueue;if(u===null)return null;var h=u.shared;if(t0===h&&!kv&&(g("An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback."),kv=!0),DI()){var k=h.pending;return k===null?t.next=t:(t.next=k.next,k.next=t),h.pending=t,DN(e,i)}else return RN(e,h,t,i)}function n0(e,t,i){var u=t.updateQueue;if(u!==null){var h=u.shared;if(dm(i)){var k=h.lanes;k=pm(k,e.pendingLanes);var S=Et(k,i);h.lanes=S,Bu(e,S)}}}function wv(e,t){var i=e.updateQueue,u=e.alternate;if(u!==null){var h=u.updateQueue;if(i===h){var k=null,S=null,_=i.firstBaseUpdate;if(_!==null){var A=_;do{var P={eventTime:A.eventTime,lane:A.lane,tag:A.tag,payload:A.payload,callback:A.callback,next:null};S===null?k=S=P:(S.next=P,S=P),A=A.next}while(A!==null);S===null?k=S=t:(S.next=t,S=t)}else k=S=t;i={baseState:h.baseState,firstBaseUpdate:k,lastBaseUpdate:S,shared:h.shared,effects:h.effects},e.updateQueue=i;return}}var z=i.lastBaseUpdate;z===null?i.firstBaseUpdate=t:z.next=t,i.lastBaseUpdate=t}function PN(e,t,i,u,h,k){switch(i.tag){case m6:{var S=i.payload;if(typeof S=="function"){u6();var _=S.call(k,u,h);{if(e.mode&hn){Pn(!0);try{S.call(k,u,h)}finally{Pn(!1)}}c6()}return _}return S}case Tv:e.flags=e.flags&~Wn|mt;case p6:{var A=i.payload,P;if(typeof A=="function"){u6(),P=A.call(k,u,h);{if(e.mode&hn){Pn(!0);try{A.call(k,u,h)}finally{Pn(!1)}}c6()}}else P=A;return P==null?u:Rt({},u,P)}case Xg:return e0=!0,u}return u}function r0(e,t,i,u){var h=e.updateQueue;e0=!1,t0=h.shared;var k=h.firstBaseUpdate,S=h.lastBaseUpdate,_=h.shared.pending;if(_!==null){h.shared.pending=null;var A=_,P=A.next;A.next=null,S===null?k=P:S.next=P,S=A;var z=e.alternate;if(z!==null){var q=z.updateQueue,H=q.lastBaseUpdate;H!==S&&(H===null?q.firstBaseUpdate=P:H.next=P,q.lastBaseUpdate=A)}}if(k!==null){var ae=h.baseState,oe=he,me=null,Ue=null,Xe=null,it=k;do{var Lt=it.lane,_t=it.eventTime;if(ys(u,Lt)){if(Xe!==null){var ee={eventTime:_t,lane:Pt,tag:it.tag,payload:it.payload,callback:it.callback,next:null};Xe=Xe.next=ee}ae=PN(e,h,it,ae,t,i);var pe=it.callback;if(pe!==null&&it.lane!==Pt){e.flags|=so;var ne=h.effects;ne===null?h.effects=[it]:ne.push(it)}}else{var Me={eventTime:_t,lane:Lt,tag:it.tag,payload:it.payload,callback:it.callback,next:null};Xe===null?(Ue=Xe=Me,me=ae):Xe=Xe.next=Me,oe=Et(oe,Lt)}if(it=it.next,it===null){if(_=h.shared.pending,_===null)break;var Ye=_,je=Ye.next;Ye.next=null,it=je,h.lastBaseUpdate=Ye,h.shared.pending=null}}while(!0);Xe===null&&(me=ae),h.baseState=me,h.firstBaseUpdate=Ue,h.lastBaseUpdate=Xe;var pt=h.shared.interleaved;if(pt!==null){var kt=pt;do oe=Et(oe,kt.lane),kt=kt.next;while(kt!==pt)}else k===null&&(h.shared.lanes=he);b1(oe),e.lanes=oe,e.memoizedState=ae}t0=null}function UN(e,t){if(typeof e!="function")throw new Error("Invalid argument passed as callback. Expected a function. Instead "+("received: "+e));e.call(t)}function g6(){e0=!1}function a0(){return e0}function y6(e,t,i){var u=t.effects;if(t.effects=null,u!==null)for(var h=0;h<u.length;h++){var k=u[h],S=k.callback;S!==null&&(k.callback=null,UN(S,i))}}var Sv={},v6=new r.Component().refs,Ev,Nv,Mv,Iv,_v,T6,o0,Cv,Av,Ov;{Ev=new Set,Nv=new Set,Mv=new Set,Iv=new Set,Cv=new Set,_v=new Set,Av=new Set,Ov=new Set;var k6=new Set;o0=function(e,t){if(!(e===null||typeof e=="function")){var i=t+"_"+e;k6.has(i)||(k6.add(i),g("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e))}},T6=function(e,t){if(t===void 0){var i=Zt(e)||"Component";_v.has(i)||(_v.add(i),g("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",i))}},Object.defineProperty(Sv,"_processChildContext",{enumerable:!1,value:function(){throw new Error("_processChildContext is not available in React 16+. This likely means you have multiple copies of React and are attempting to nest a React 15 tree inside a React 16 tree using unstable_renderSubtreeIntoContainer, which isn't supported. Try to make sure you have only one copy of React (and ideally, switch to ReactDOM.createPortal).")}}),Object.freeze(Sv)}function xv(e,t,i,u){var h=e.memoizedState,k=i(u,h);{if(e.mode&hn){Pn(!0);try{k=i(u,h)}finally{Pn(!1)}}T6(t,k)}var S=k==null?h:Rt({},h,k);if(e.memoizedState=S,e.lanes===he){var _=e.updateQueue;_.baseState=S}}var Lv={isMounted:oa,enqueueSetState:function(e,t,i){var u=Ea(e),h=ma(),k=Wl(u),S=Ls(h,k);S.payload=t,i!=null&&(o0(i,"setState"),S.callback=i);var _=Fl(u,S,k);_!==null&&(mr(_,u,k,h),n0(_,u,k)),hi(u,k)},enqueueReplaceState:function(e,t,i){var u=Ea(e),h=ma(),k=Wl(u),S=Ls(h,k);S.tag=m6,S.payload=t,i!=null&&(o0(i,"replaceState"),S.callback=i);var _=Fl(u,S,k);_!==null&&(mr(_,u,k,h),n0(_,u,k)),hi(u,k)},enqueueForceUpdate:function(e,t){var i=Ea(e),u=ma(),h=Wl(i),k=Ls(u,h);k.tag=Xg,t!=null&&(o0(t,"forceUpdate"),k.callback=t);var S=Fl(i,k,h);S!==null&&(mr(S,i,h,u),n0(S,i,h)),sm(i,h)}};function b6(e,t,i,u,h,k,S){var _=e.stateNode;if(typeof _.shouldComponentUpdate=="function"){var A=_.shouldComponentUpdate(u,k,S);{if(e.mode&hn){Pn(!0);try{A=_.shouldComponentUpdate(u,k,S)}finally{Pn(!1)}}A===void 0&&g("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",Zt(t)||"Component")}return A}return t.prototype&&t.prototype.isPureReactComponent?!tt(i,u)||!tt(h,k):!0}function jN(e,t,i){var u=e.stateNode;{var h=Zt(t)||"Component",k=u.render;k||(t.prototype&&typeof t.prototype.render=="function"?g("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",h):g("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",h)),u.getInitialState&&!u.getInitialState.isReactClassApproved&&!u.state&&g("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",h),u.getDefaultProps&&!u.getDefaultProps.isReactClassApproved&&g("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",h),u.propTypes&&g("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",h),u.contextType&&g("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",h),u.contextTypes&&g("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",h),t.contextType&&t.contextTypes&&!Av.has(t)&&(Av.add(t),g("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",h)),typeof u.componentShouldUpdate=="function"&&g("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",h),t.prototype&&t.prototype.isPureReactComponent&&typeof u.shouldComponentUpdate<"u"&&g("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",Zt(t)||"A pure component"),typeof u.componentDidUnmount=="function"&&g("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",h),typeof u.componentDidReceiveProps=="function"&&g("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",h),typeof u.componentWillRecieveProps=="function"&&g("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",h),typeof u.UNSAFE_componentWillRecieveProps=="function"&&g("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",h);var S=u.props!==i;u.props!==void 0&&S&&g("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",h,h),u.defaultProps&&g("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",h,h),typeof u.getSnapshotBeforeUpdate=="function"&&typeof u.componentDidUpdate!="function"&&!Mv.has(t)&&(Mv.add(t),g("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",Zt(t))),typeof u.getDerivedStateFromProps=="function"&&g("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",h),typeof u.getDerivedStateFromError=="function"&&g("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",h),typeof t.getSnapshotBeforeUpdate=="function"&&g("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",h);var _=u.state;_&&(typeof _!="object"||$n(_))&&g("%s.state: must be set to an object or null",h),typeof u.getChildContext=="function"&&typeof t.childContextTypes!="object"&&g("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",h)}}function w6(e,t){t.updater=Lv,e.stateNode=t,ml(t,e),t._reactInternalInstance=Sv}function S6(e,t,i){var u=!1,h=eo,k=eo,S=t.contextType;if("contextType"in t){var _=S===null||S!==void 0&&S.$$typeof===hp&&S._context===void 0;if(!_&&!Ov.has(t)){Ov.add(t);var A="";S===void 0?A=" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof S!="object"?A=" However, it is set to a "+typeof S+".":S.$$typeof===mp?A=" Did you accidentally pass the Context.Provider instead?":S._context!==void 0?A=" Did you accidentally pass the Context.Consumer instead?":A=" However, it is set to an object with keys {"+Object.keys(S).join(", ")+"}.",g("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",Zt(t)||"Component",A)}}if(typeof S=="object"&&S!==null)k=Jn(S);else{h=df(e,t,!0);var P=t.contextTypes;u=P!=null,k=u?ff(e,h):eo}var z=new t(i,k);if(e.mode&hn){Pn(!0);try{z=new t(i,k)}finally{Pn(!1)}}var q=e.memoizedState=z.state!==null&&z.state!==void 0?z.state:null;w6(e,z);{if(typeof t.getDerivedStateFromProps=="function"&&q===null){var H=Zt(t)||"Component";Nv.has(H)||(Nv.add(H),g("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",H,z.state===null?"null":"undefined",H))}if(typeof t.getDerivedStateFromProps=="function"||typeof z.getSnapshotBeforeUpdate=="function"){var ae=null,oe=null,me=null;if(typeof z.componentWillMount=="function"&&z.componentWillMount.__suppressDeprecationWarning!==!0?ae="componentWillMount":typeof z.UNSAFE_componentWillMount=="function"&&(ae="UNSAFE_componentWillMount"),typeof z.componentWillReceiveProps=="function"&&z.componentWillReceiveProps.__suppressDeprecationWarning!==!0?oe="componentWillReceiveProps":typeof z.UNSAFE_componentWillReceiveProps=="function"&&(oe="UNSAFE_componentWillReceiveProps"),typeof z.componentWillUpdate=="function"&&z.componentWillUpdate.__suppressDeprecationWarning!==!0?me="componentWillUpdate":typeof z.UNSAFE_componentWillUpdate=="function"&&(me="UNSAFE_componentWillUpdate"),ae!==null||oe!==null||me!==null){var Ue=Zt(t)||"Component",Xe=typeof t.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";Iv.has(Ue)||(Iv.add(Ue),g(`Unsafe legacy lifecycles will not be called for components using new component APIs.
95
95
 
96
96
  %s uses %s but also contains the following legacy lifecycles:%s%s%s
97
97
 
@@ -103,7 +103,7 @@ https://reactjs.org/link/unsafe-component-lifecycles`,Ue,Xe,ae!==null?`
103
103
  1. You may be adding a ref to a function component
104
104
  2. You may be adding a ref to a component that was not created inside a component's render method
105
105
  3. You have multiple copies of React loaded
106
- See https://reactjs.org/link/refs-must-have-owner for more information.`)}}return u}function i0(e,t){var i=Object.prototype.toString.call(t);throw new Error("Objects are not valid as a React child (found: "+(i==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":i)+"). If you meant to render a collection of children, use an array instead.")}function s0(e){{var t=bt(e)||"Component";if(zv[t])return;zv[t]=!0,g("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.")}}function M6(e){var t=e._payload,i=e._init;return i(t)}function I6(e){function t(ee,pe){if(e){var ne=ee.deletions;ne===null?(ee.deletions=[pe],ee.flags|=Vt):ne.push(pe)}}function i(ee,pe){if(!e)return null;for(var ne=pe;ne!==null;)t(ee,ne),ne=ne.sibling;return null}function u(ee,pe){for(var ne=new Map,Me=pe;Me!==null;)Me.key!==null?ne.set(Me.key,Me):ne.set(Me.index,Me),Me=Me.sibling;return ne}function h(ee,pe){var ne=vc(ee,pe);return ne.index=0,ne.sibling=null,ne}function k(ee,pe,ne){if(ee.index=ne,!e)return ee.flags|=Wp,pe;var Me=ee.alternate;if(Me!==null){var Ye=Me.index;return Ye<pe?(ee.flags|=on,pe):Ye}else return ee.flags|=on,pe}function S(ee){return e&&ee.alternate===null&&(ee.flags|=on),ee}function _(ee,pe,ne,Me){if(pe===null||pe.tag!==Q){var Ye=f4(ne,ee.mode,Me);return Ye.return=ee,Ye}else{var je=h(pe,ne);return je.return=ee,je}}function A(ee,pe,ne,Me){var Ye=ne.type;if(Ye===No)return z(ee,pe,ne.props.children,Me,ne.key);if(pe!==null&&(pe.elementType===Ye||y5(pe,ne)||typeof Ye=="object"&&Ye!==null&&Ye.$$typeof===Er&&M6(Ye)===pe.type)){var je=h(pe,ne.props);return je.ref=Zm(ee,pe,ne),je.return=ee,je._debugSource=ne._source,je._debugOwner=ne._owner,je}var pt=d4(ne,ee.mode,Me);return pt.ref=Zm(ee,pe,ne),pt.return=ee,pt}function P(ee,pe,ne,Me){if(pe===null||pe.tag!==x||pe.stateNode.containerInfo!==ne.containerInfo||pe.stateNode.implementation!==ne.implementation){var Ye=p4(ne,ee.mode,Me);return Ye.return=ee,Ye}else{var je=h(pe,ne.children||[]);return je.return=ee,je}}function z(ee,pe,ne,Me,Ye){if(pe===null||pe.tag!==W){var je=Zl(ne,ee.mode,Me,Ye);return je.return=ee,je}else{var pt=h(pe,ne);return pt.return=ee,pt}}function q(ee,pe,ne){if(typeof pe=="string"&&pe!==""||typeof pe=="number"){var Me=f4(""+pe,ee.mode,ne);return Me.return=ee,Me}if(typeof pe=="object"&&pe!==null){switch(pe.$$typeof){case Xs:{var Ye=d4(pe,ee.mode,ne);return Ye.ref=Zm(ee,null,pe),Ye.return=ee,Ye}case Qa:{var je=p4(pe,ee.mode,ne);return je.return=ee,je}case Er:{var pt=pe._payload,kt=pe._init;return q(ee,kt(pt),ne)}}if($n(pe)||Mo(pe)){var Wt=Zl(pe,ee.mode,ne,null);return Wt.return=ee,Wt}i0(ee,pe)}return typeof pe=="function"&&s0(ee),null}function H(ee,pe,ne,Me){var Ye=pe!==null?pe.key:null;if(typeof ne=="string"&&ne!==""||typeof ne=="number")return Ye!==null?null:_(ee,pe,""+ne,Me);if(typeof ne=="object"&&ne!==null){switch(ne.$$typeof){case Xs:return ne.key===Ye?A(ee,pe,ne,Me):null;case Qa:return ne.key===Ye?P(ee,pe,ne,Me):null;case Er:{var je=ne._payload,pt=ne._init;return H(ee,pe,pt(je),Me)}}if($n(ne)||Mo(ne))return Ye!==null?null:z(ee,pe,ne,Me,null);i0(ee,ne)}return typeof ne=="function"&&s0(ee),null}function ae(ee,pe,ne,Me,Ye){if(typeof Me=="string"&&Me!==""||typeof Me=="number"){var je=ee.get(ne)||null;return _(pe,je,""+Me,Ye)}if(typeof Me=="object"&&Me!==null){switch(Me.$$typeof){case Xs:{var pt=ee.get(Me.key===null?ne:Me.key)||null;return A(pe,pt,Me,Ye)}case Qa:{var kt=ee.get(Me.key===null?ne:Me.key)||null;return P(pe,kt,Me,Ye)}case Er:var Wt=Me._payload,Bt=Me._init;return ae(ee,pe,ne,Bt(Wt),Ye)}if($n(Me)||Mo(Me)){var Fn=ee.get(ne)||null;return z(pe,Fn,Me,Ye,null)}i0(pe,Me)}return typeof Me=="function"&&s0(pe),null}function oe(ee,pe,ne){{if(typeof ee!="object"||ee===null)return pe;switch(ee.$$typeof){case Xs:case Qa:N6(ee,ne);var Me=ee.key;if(typeof Me!="string")break;if(pe===null){pe=new Set,pe.add(Me);break}if(!pe.has(Me)){pe.add(Me);break}g("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",Me);break;case Er:var Ye=ee._payload,je=ee._init;oe(je(Ye),pe,ne);break}}return pe}function me(ee,pe,ne,Me){for(var Ye=null,je=0;je<ne.length;je++){var pt=ne[je];Ye=oe(pt,Ye,ee)}for(var kt=null,Wt=null,Bt=pe,Fn=0,Ft=0,Rn=null;Bt!==null&&Ft<ne.length;Ft++){Bt.index>Ft?(Rn=Bt,Bt=null):Rn=Bt.sibling;var Xr=H(ee,Bt,ne[Ft],Me);if(Xr===null){Bt===null&&(Bt=Rn);break}e&&Bt&&Xr.alternate===null&&t(ee,Bt),Fn=k(Xr,Fn,Ft),Wt===null?kt=Xr:Wt.sibling=Xr,Wt=Xr,Bt=Rn}if(Ft===ne.length){if(i(ee,Bt),Ir()){var Rr=Ft;oc(ee,Rr)}return kt}if(Bt===null){for(;Ft<ne.length;Ft++){var no=q(ee,ne[Ft],Me);no!==null&&(Fn=k(no,Fn,Ft),Wt===null?kt=no:Wt.sibling=no,Wt=no)}if(Ir()){var ha=Ft;oc(ee,ha)}return kt}for(var ga=u(ee,Bt);Ft<ne.length;Ft++){var ea=ae(ga,ee,Ft,ne[Ft],Me);ea!==null&&(e&&ea.alternate!==null&&ga.delete(ea.key===null?Ft:ea.key),Fn=k(ea,Fn,Ft),Wt===null?kt=ea:Wt.sibling=ea,Wt=ea)}if(e&&ga.forEach(function(Rf){return t(ee,Rf)}),Ir()){var zs=Ft;oc(ee,zs)}return kt}function Ue(ee,pe,ne,Me){var Ye=Mo(ne);if(typeof Ye!="function")throw new Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");{typeof Symbol=="function"&&ne[Symbol.toStringTag]==="Generator"&&(Pv||g("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."),Pv=!0),ne.entries===Ye&&(Dv||g("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Dv=!0);var je=Ye.call(ne);if(je)for(var pt=null,kt=je.next();!kt.done;kt=je.next()){var Wt=kt.value;pt=oe(Wt,pt,ee)}}var Bt=Ye.call(ne);if(Bt==null)throw new Error("An iterable object provided no iterator.");for(var Fn=null,Ft=null,Rn=pe,Xr=0,Rr=0,no=null,ha=Bt.next();Rn!==null&&!ha.done;Rr++,ha=Bt.next()){Rn.index>Rr?(no=Rn,Rn=null):no=Rn.sibling;var ga=H(ee,Rn,ha.value,Me);if(ga===null){Rn===null&&(Rn=no);break}e&&Rn&&ga.alternate===null&&t(ee,Rn),Xr=k(ga,Xr,Rr),Ft===null?Fn=ga:Ft.sibling=ga,Ft=ga,Rn=no}if(ha.done){if(i(ee,Rn),Ir()){var ea=Rr;oc(ee,ea)}return Fn}if(Rn===null){for(;!ha.done;Rr++,ha=Bt.next()){var zs=q(ee,ha.value,Me);zs!==null&&(Xr=k(zs,Xr,Rr),Ft===null?Fn=zs:Ft.sibling=zs,Ft=zs)}if(Ir()){var Rf=Rr;oc(ee,Rf)}return Fn}for(var M1=u(ee,Rn);!ha.done;Rr++,ha=Bt.next()){var Pi=ae(M1,ee,Rr,ha.value,Me);Pi!==null&&(e&&Pi.alternate!==null&&M1.delete(Pi.key===null?Rr:Pi.key),Xr=k(Pi,Xr,Rr),Ft===null?Fn=Pi:Ft.sibling=Pi,Ft=Pi)}if(e&&M1.forEach(function(tC){return t(ee,tC)}),Ir()){var eC=Rr;oc(ee,eC)}return Fn}function Xe(ee,pe,ne,Me){if(pe!==null&&pe.tag===Q){i(ee,pe.sibling);var Ye=h(pe,ne);return Ye.return=ee,Ye}i(ee,pe);var je=f4(ne,ee.mode,Me);return je.return=ee,je}function it(ee,pe,ne,Me){for(var Ye=ne.key,je=pe;je!==null;){if(je.key===Ye){var pt=ne.type;if(pt===No){if(je.tag===W){i(ee,je.sibling);var kt=h(je,ne.props.children);return kt.return=ee,kt._debugSource=ne._source,kt._debugOwner=ne._owner,kt}}else if(je.elementType===pt||y5(je,ne)||typeof pt=="object"&&pt!==null&&pt.$$typeof===Er&&M6(pt)===je.type){i(ee,je.sibling);var Wt=h(je,ne.props);return Wt.ref=Zm(ee,je,ne),Wt.return=ee,Wt._debugSource=ne._source,Wt._debugOwner=ne._owner,Wt}i(ee,je);break}else t(ee,je);je=je.sibling}if(ne.type===No){var Bt=Zl(ne.props.children,ee.mode,Me,ne.key);return Bt.return=ee,Bt}else{var Fn=d4(ne,ee.mode,Me);return Fn.ref=Zm(ee,pe,ne),Fn.return=ee,Fn}}function Lt(ee,pe,ne,Me){for(var Ye=ne.key,je=pe;je!==null;){if(je.key===Ye)if(je.tag===x&&je.stateNode.containerInfo===ne.containerInfo&&je.stateNode.implementation===ne.implementation){i(ee,je.sibling);var pt=h(je,ne.children||[]);return pt.return=ee,pt}else{i(ee,je);break}else t(ee,je);je=je.sibling}var kt=p4(ne,ee.mode,Me);return kt.return=ee,kt}function _t(ee,pe,ne,Me){var Ye=typeof ne=="object"&&ne!==null&&ne.type===No&&ne.key===null;if(Ye&&(ne=ne.props.children),typeof ne=="object"&&ne!==null){switch(ne.$$typeof){case Xs:return S(it(ee,pe,ne,Me));case Qa:return S(Lt(ee,pe,ne,Me));case Er:var je=ne._payload,pt=ne._init;return _t(ee,pe,pt(je),Me)}if($n(ne))return me(ee,pe,ne,Me);if(Mo(ne))return Ue(ee,pe,ne,Me);i0(ee,ne)}return typeof ne=="string"&&ne!==""||typeof ne=="number"?S(Xe(ee,pe,""+ne,Me)):(typeof ne=="function"&&s0(ee),i(ee,pe))}return _t}var vf=I6(!0),_6=I6(!1);function VN(e,t){if(e!==null&&t.child!==e.child)throw new Error("Resuming work not yet implemented.");if(t.child!==null){var i=t.child,u=vc(i,i.pendingProps);for(t.child=u,u.return=t;i.sibling!==null;)i=i.sibling,u=u.sibling=vc(i,i.pendingProps),u.return=t;u.sibling=null}}function YN(e,t){for(var i=e.child;i!==null;)v_(i,t),i=i.sibling}var Jm={},Vl=Ul(Jm),Xm=Ul(Jm),l0=Ul(Jm);function u0(e){if(e===Jm)throw new Error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue.");return e}function C6(){var e=u0(l0.current);return e}function Bv(e,t){Zr(l0,t,e),Zr(Xm,e,e),Zr(Vl,Jm,e);var i=rE(t);Kr(Vl,e),Zr(Vl,i,e)}function Tf(e){Kr(Vl,e),Kr(Xm,e),Kr(l0,e)}function Fv(){var e=u0(Vl.current);return e}function A6(e){u0(l0.current);var t=u0(Vl.current),i=aE(t,e.type);t!==i&&(Zr(Xm,e,e),Zr(Vl,i,e))}function Vv(e){Xm.current===e&&(Kr(Vl,e),Kr(Xm,e))}var QN=0,O6=1,x6=1,e1=2,Qo=Ul(QN);function Yv(e,t){return(e&t)!==0}function kf(e){return e&O6}function Qv(e,t){return e&O6|t}function GN(e,t){return e|t}function Yl(e,t){Zr(Qo,t,e)}function bf(e){Kr(Qo,e)}function HN(e,t){var i=e.memoizedState;return i!==null?i.dehydrated!==null:(e.memoizedProps,!0)}function c0(e){for(var t=e;t!==null;){if(t.tag===Z){var i=t.memoizedState;if(i!==null){var u=i.dehydrated;if(u===null||V8(u)||K2(u))return t}}else if(t.tag===ct&&t.memoizedProps.revealOrder!==void 0){var h=(t.flags&mt)!==nt;if(h)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)return null;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Ua=0,sr=1,Ci=2,lr=4,_r=8,Gv=[];function Hv(){for(var e=0;e<Gv.length;e++){var t=Gv[e];t._workInProgressVersionPrimary=null}Gv.length=0}function $N(e,t){var i=t._getVersion,u=i(t._source);e.mutableSourceEagerHydrationData==null?e.mutableSourceEagerHydrationData=[t,u]:e.mutableSourceEagerHydrationData.push(t,u)}var Ve=s.ReactCurrentDispatcher,t1=s.ReactCurrentBatchConfig,$v,wf;$v=new Set;var dc=he,qt=null,ur=null,cr=null,d0=!1,n1=!1,r1=0,qN=0,WN=25,ge=null,go=null,Ql=-1,qv=!1;function Qt(){{var e=ge;go===null?go=[e]:go.push(e)}}function Re(){{var e=ge;go!==null&&(Ql++,go[Ql]!==e&&KN(e))}}function Sf(e){e!=null&&!$n(e)&&g("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",ge,typeof e)}function KN(e){{var t=bt(qt);if(!$v.has(t)&&($v.add(t),go!==null)){for(var i="",u=30,h=0;h<=Ql;h++){for(var k=go[h],S=h===Ql?e:k,_=h+1+". "+k;_.length<u;)_+=" ";_+=S+`
106
+ See https://reactjs.org/link/refs-must-have-owner for more information.`)}}return u}function i0(e,t){var i=Object.prototype.toString.call(t);throw new Error("Objects are not valid as a React child (found: "+(i==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":i)+"). If you meant to render a collection of children, use an array instead.")}function s0(e){{var t=bt(e)||"Component";if(zv[t])return;zv[t]=!0,g("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.")}}function M6(e){var t=e._payload,i=e._init;return i(t)}function I6(e){function t(ee,pe){if(e){var ne=ee.deletions;ne===null?(ee.deletions=[pe],ee.flags|=Vt):ne.push(pe)}}function i(ee,pe){if(!e)return null;for(var ne=pe;ne!==null;)t(ee,ne),ne=ne.sibling;return null}function u(ee,pe){for(var ne=new Map,Me=pe;Me!==null;)Me.key!==null?ne.set(Me.key,Me):ne.set(Me.index,Me),Me=Me.sibling;return ne}function h(ee,pe){var ne=vc(ee,pe);return ne.index=0,ne.sibling=null,ne}function k(ee,pe,ne){if(ee.index=ne,!e)return ee.flags|=Wp,pe;var Me=ee.alternate;if(Me!==null){var Ye=Me.index;return Ye<pe?(ee.flags|=on,pe):Ye}else return ee.flags|=on,pe}function S(ee){return e&&ee.alternate===null&&(ee.flags|=on),ee}function _(ee,pe,ne,Me){if(pe===null||pe.tag!==Q){var Ye=f4(ne,ee.mode,Me);return Ye.return=ee,Ye}else{var je=h(pe,ne);return je.return=ee,je}}function A(ee,pe,ne,Me){var Ye=ne.type;if(Ye===No)return z(ee,pe,ne.props.children,Me,ne.key);if(pe!==null&&(pe.elementType===Ye||yk(pe,ne)||typeof Ye=="object"&&Ye!==null&&Ye.$$typeof===Er&&M6(Ye)===pe.type)){var je=h(pe,ne.props);return je.ref=Zm(ee,pe,ne),je.return=ee,je._debugSource=ne._source,je._debugOwner=ne._owner,je}var pt=d4(ne,ee.mode,Me);return pt.ref=Zm(ee,pe,ne),pt.return=ee,pt}function P(ee,pe,ne,Me){if(pe===null||pe.tag!==x||pe.stateNode.containerInfo!==ne.containerInfo||pe.stateNode.implementation!==ne.implementation){var Ye=p4(ne,ee.mode,Me);return Ye.return=ee,Ye}else{var je=h(pe,ne.children||[]);return je.return=ee,je}}function z(ee,pe,ne,Me,Ye){if(pe===null||pe.tag!==W){var je=Zl(ne,ee.mode,Me,Ye);return je.return=ee,je}else{var pt=h(pe,ne);return pt.return=ee,pt}}function q(ee,pe,ne){if(typeof pe=="string"&&pe!==""||typeof pe=="number"){var Me=f4(""+pe,ee.mode,ne);return Me.return=ee,Me}if(typeof pe=="object"&&pe!==null){switch(pe.$$typeof){case Xs:{var Ye=d4(pe,ee.mode,ne);return Ye.ref=Zm(ee,null,pe),Ye.return=ee,Ye}case Qa:{var je=p4(pe,ee.mode,ne);return je.return=ee,je}case Er:{var pt=pe._payload,kt=pe._init;return q(ee,kt(pt),ne)}}if($n(pe)||Mo(pe)){var Wt=Zl(pe,ee.mode,ne,null);return Wt.return=ee,Wt}i0(ee,pe)}return typeof pe=="function"&&s0(ee),null}function H(ee,pe,ne,Me){var Ye=pe!==null?pe.key:null;if(typeof ne=="string"&&ne!==""||typeof ne=="number")return Ye!==null?null:_(ee,pe,""+ne,Me);if(typeof ne=="object"&&ne!==null){switch(ne.$$typeof){case Xs:return ne.key===Ye?A(ee,pe,ne,Me):null;case Qa:return ne.key===Ye?P(ee,pe,ne,Me):null;case Er:{var je=ne._payload,pt=ne._init;return H(ee,pe,pt(je),Me)}}if($n(ne)||Mo(ne))return Ye!==null?null:z(ee,pe,ne,Me,null);i0(ee,ne)}return typeof ne=="function"&&s0(ee),null}function ae(ee,pe,ne,Me,Ye){if(typeof Me=="string"&&Me!==""||typeof Me=="number"){var je=ee.get(ne)||null;return _(pe,je,""+Me,Ye)}if(typeof Me=="object"&&Me!==null){switch(Me.$$typeof){case Xs:{var pt=ee.get(Me.key===null?ne:Me.key)||null;return A(pe,pt,Me,Ye)}case Qa:{var kt=ee.get(Me.key===null?ne:Me.key)||null;return P(pe,kt,Me,Ye)}case Er:var Wt=Me._payload,Bt=Me._init;return ae(ee,pe,ne,Bt(Wt),Ye)}if($n(Me)||Mo(Me)){var Fn=ee.get(ne)||null;return z(pe,Fn,Me,Ye,null)}i0(pe,Me)}return typeof Me=="function"&&s0(pe),null}function oe(ee,pe,ne){{if(typeof ee!="object"||ee===null)return pe;switch(ee.$$typeof){case Xs:case Qa:N6(ee,ne);var Me=ee.key;if(typeof Me!="string")break;if(pe===null){pe=new Set,pe.add(Me);break}if(!pe.has(Me)){pe.add(Me);break}g("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",Me);break;case Er:var Ye=ee._payload,je=ee._init;oe(je(Ye),pe,ne);break}}return pe}function me(ee,pe,ne,Me){for(var Ye=null,je=0;je<ne.length;je++){var pt=ne[je];Ye=oe(pt,Ye,ee)}for(var kt=null,Wt=null,Bt=pe,Fn=0,Ft=0,Rn=null;Bt!==null&&Ft<ne.length;Ft++){Bt.index>Ft?(Rn=Bt,Bt=null):Rn=Bt.sibling;var Xr=H(ee,Bt,ne[Ft],Me);if(Xr===null){Bt===null&&(Bt=Rn);break}e&&Bt&&Xr.alternate===null&&t(ee,Bt),Fn=k(Xr,Fn,Ft),Wt===null?kt=Xr:Wt.sibling=Xr,Wt=Xr,Bt=Rn}if(Ft===ne.length){if(i(ee,Bt),Ir()){var Rr=Ft;oc(ee,Rr)}return kt}if(Bt===null){for(;Ft<ne.length;Ft++){var no=q(ee,ne[Ft],Me);no!==null&&(Fn=k(no,Fn,Ft),Wt===null?kt=no:Wt.sibling=no,Wt=no)}if(Ir()){var ha=Ft;oc(ee,ha)}return kt}for(var ga=u(ee,Bt);Ft<ne.length;Ft++){var ea=ae(ga,ee,Ft,ne[Ft],Me);ea!==null&&(e&&ea.alternate!==null&&ga.delete(ea.key===null?Ft:ea.key),Fn=k(ea,Fn,Ft),Wt===null?kt=ea:Wt.sibling=ea,Wt=ea)}if(e&&ga.forEach(function(Rf){return t(ee,Rf)}),Ir()){var zs=Ft;oc(ee,zs)}return kt}function Ue(ee,pe,ne,Me){var Ye=Mo(ne);if(typeof Ye!="function")throw new Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");{typeof Symbol=="function"&&ne[Symbol.toStringTag]==="Generator"&&(Pv||g("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."),Pv=!0),ne.entries===Ye&&(Dv||g("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Dv=!0);var je=Ye.call(ne);if(je)for(var pt=null,kt=je.next();!kt.done;kt=je.next()){var Wt=kt.value;pt=oe(Wt,pt,ee)}}var Bt=Ye.call(ne);if(Bt==null)throw new Error("An iterable object provided no iterator.");for(var Fn=null,Ft=null,Rn=pe,Xr=0,Rr=0,no=null,ha=Bt.next();Rn!==null&&!ha.done;Rr++,ha=Bt.next()){Rn.index>Rr?(no=Rn,Rn=null):no=Rn.sibling;var ga=H(ee,Rn,ha.value,Me);if(ga===null){Rn===null&&(Rn=no);break}e&&Rn&&ga.alternate===null&&t(ee,Rn),Xr=k(ga,Xr,Rr),Ft===null?Fn=ga:Ft.sibling=ga,Ft=ga,Rn=no}if(ha.done){if(i(ee,Rn),Ir()){var ea=Rr;oc(ee,ea)}return Fn}if(Rn===null){for(;!ha.done;Rr++,ha=Bt.next()){var zs=q(ee,ha.value,Me);zs!==null&&(Xr=k(zs,Xr,Rr),Ft===null?Fn=zs:Ft.sibling=zs,Ft=zs)}if(Ir()){var Rf=Rr;oc(ee,Rf)}return Fn}for(var M1=u(ee,Rn);!ha.done;Rr++,ha=Bt.next()){var Pi=ae(M1,ee,Rr,ha.value,Me);Pi!==null&&(e&&Pi.alternate!==null&&M1.delete(Pi.key===null?Rr:Pi.key),Xr=k(Pi,Xr,Rr),Ft===null?Fn=Pi:Ft.sibling=Pi,Ft=Pi)}if(e&&M1.forEach(function(tC){return t(ee,tC)}),Ir()){var eC=Rr;oc(ee,eC)}return Fn}function Xe(ee,pe,ne,Me){if(pe!==null&&pe.tag===Q){i(ee,pe.sibling);var Ye=h(pe,ne);return Ye.return=ee,Ye}i(ee,pe);var je=f4(ne,ee.mode,Me);return je.return=ee,je}function it(ee,pe,ne,Me){for(var Ye=ne.key,je=pe;je!==null;){if(je.key===Ye){var pt=ne.type;if(pt===No){if(je.tag===W){i(ee,je.sibling);var kt=h(je,ne.props.children);return kt.return=ee,kt._debugSource=ne._source,kt._debugOwner=ne._owner,kt}}else if(je.elementType===pt||yk(je,ne)||typeof pt=="object"&&pt!==null&&pt.$$typeof===Er&&M6(pt)===je.type){i(ee,je.sibling);var Wt=h(je,ne.props);return Wt.ref=Zm(ee,je,ne),Wt.return=ee,Wt._debugSource=ne._source,Wt._debugOwner=ne._owner,Wt}i(ee,je);break}else t(ee,je);je=je.sibling}if(ne.type===No){var Bt=Zl(ne.props.children,ee.mode,Me,ne.key);return Bt.return=ee,Bt}else{var Fn=d4(ne,ee.mode,Me);return Fn.ref=Zm(ee,pe,ne),Fn.return=ee,Fn}}function Lt(ee,pe,ne,Me){for(var Ye=ne.key,je=pe;je!==null;){if(je.key===Ye)if(je.tag===x&&je.stateNode.containerInfo===ne.containerInfo&&je.stateNode.implementation===ne.implementation){i(ee,je.sibling);var pt=h(je,ne.children||[]);return pt.return=ee,pt}else{i(ee,je);break}else t(ee,je);je=je.sibling}var kt=p4(ne,ee.mode,Me);return kt.return=ee,kt}function _t(ee,pe,ne,Me){var Ye=typeof ne=="object"&&ne!==null&&ne.type===No&&ne.key===null;if(Ye&&(ne=ne.props.children),typeof ne=="object"&&ne!==null){switch(ne.$$typeof){case Xs:return S(it(ee,pe,ne,Me));case Qa:return S(Lt(ee,pe,ne,Me));case Er:var je=ne._payload,pt=ne._init;return _t(ee,pe,pt(je),Me)}if($n(ne))return me(ee,pe,ne,Me);if(Mo(ne))return Ue(ee,pe,ne,Me);i0(ee,ne)}return typeof ne=="string"&&ne!==""||typeof ne=="number"?S(Xe(ee,pe,""+ne,Me)):(typeof ne=="function"&&s0(ee),i(ee,pe))}return _t}var vf=I6(!0),_6=I6(!1);function VN(e,t){if(e!==null&&t.child!==e.child)throw new Error("Resuming work not yet implemented.");if(t.child!==null){var i=t.child,u=vc(i,i.pendingProps);for(t.child=u,u.return=t;i.sibling!==null;)i=i.sibling,u=u.sibling=vc(i,i.pendingProps),u.return=t;u.sibling=null}}function YN(e,t){for(var i=e.child;i!==null;)v_(i,t),i=i.sibling}var Jm={},Vl=Ul(Jm),Xm=Ul(Jm),l0=Ul(Jm);function u0(e){if(e===Jm)throw new Error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue.");return e}function C6(){var e=u0(l0.current);return e}function Bv(e,t){Zr(l0,t,e),Zr(Xm,e,e),Zr(Vl,Jm,e);var i=rE(t);Kr(Vl,e),Zr(Vl,i,e)}function Tf(e){Kr(Vl,e),Kr(Xm,e),Kr(l0,e)}function Fv(){var e=u0(Vl.current);return e}function A6(e){u0(l0.current);var t=u0(Vl.current),i=aE(t,e.type);t!==i&&(Zr(Xm,e,e),Zr(Vl,i,e))}function Vv(e){Xm.current===e&&(Kr(Vl,e),Kr(Xm,e))}var QN=0,O6=1,x6=1,e1=2,Qo=Ul(QN);function Yv(e,t){return(e&t)!==0}function kf(e){return e&O6}function Qv(e,t){return e&O6|t}function GN(e,t){return e|t}function Yl(e,t){Zr(Qo,t,e)}function bf(e){Kr(Qo,e)}function HN(e,t){var i=e.memoizedState;return i!==null?i.dehydrated!==null:(e.memoizedProps,!0)}function c0(e){for(var t=e;t!==null;){if(t.tag===Z){var i=t.memoizedState;if(i!==null){var u=i.dehydrated;if(u===null||V8(u)||K2(u))return t}}else if(t.tag===ct&&t.memoizedProps.revealOrder!==void 0){var h=(t.flags&mt)!==nt;if(h)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)return null;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Ua=0,sr=1,Ci=2,lr=4,_r=8,Gv=[];function Hv(){for(var e=0;e<Gv.length;e++){var t=Gv[e];t._workInProgressVersionPrimary=null}Gv.length=0}function $N(e,t){var i=t._getVersion,u=i(t._source);e.mutableSourceEagerHydrationData==null?e.mutableSourceEagerHydrationData=[t,u]:e.mutableSourceEagerHydrationData.push(t,u)}var Ve=s.ReactCurrentDispatcher,t1=s.ReactCurrentBatchConfig,$v,wf;$v=new Set;var dc=he,qt=null,ur=null,cr=null,d0=!1,n1=!1,r1=0,qN=0,WN=25,ge=null,go=null,Ql=-1,qv=!1;function Qt(){{var e=ge;go===null?go=[e]:go.push(e)}}function Re(){{var e=ge;go!==null&&(Ql++,go[Ql]!==e&&KN(e))}}function Sf(e){e!=null&&!$n(e)&&g("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",ge,typeof e)}function KN(e){{var t=bt(qt);if(!$v.has(t)&&($v.add(t),go!==null)){for(var i="",u=30,h=0;h<=Ql;h++){for(var k=go[h],S=h===Ql?e:k,_=h+1+". "+k;_.length<u;)_+=" ";_+=S+`
107
107
  `,i+=_}g(`React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://reactjs.org/link/rules-of-hooks
108
108
 
109
109
  Previous render Next render
@@ -116,13 +116,13 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`)}}retur
116
116
  See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function Wv(e,t){if(qv)return!1;if(t===null)return g("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",ge),!1;e.length!==t.length&&g(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
117
117
 
118
118
  Previous: %s
119
- Incoming: %s`,ge,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var i=0;i<t.length&&i<e.length;i++)if(!Be(e[i],t[i]))return!1;return!0}function Ef(e,t,i,u,h,k){dc=k,qt=t,go=e!==null?e._debugHookTypes:null,Ql=-1,qv=e!==null&&e.type!==t.type,t.memoizedState=null,t.updateQueue=null,t.lanes=he,e!==null&&e.memoizedState!==null?Ve.current=ek:go!==null?Ve.current=X6:Ve.current=J6;var S=i(u,h);if(n1){var _=0;do{if(n1=!1,r1=0,_>=WN)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");_+=1,qv=!1,ur=null,cr=null,t.updateQueue=null,Ql=-1,Ve.current=tk,S=i(u,h)}while(n1)}Ve.current=E0,t._debugHookTypes=go;var A=ur!==null&&ur.next!==null;if(dc=he,qt=null,ur=null,cr=null,ge=null,go=null,Ql=-1,e!==null&&(e.flags&nr)!==(t.flags&nr)&&(e.mode&Ot)!==st&&g("Internal React error: Expected static flag was missing. Please notify the React team."),d0=!1,A)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return S}function Nf(){var e=r1!==0;return r1=0,e}function L6(e,t,i){t.updateQueue=e.updateQueue,(t.mode&Ca)!==st?t.flags&=~(ss|Vr|fn|St):t.flags&=~(fn|St),e.lanes=Sl(e.lanes,i)}function R6(){if(Ve.current=E0,d0){for(var e=qt.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}d0=!1}dc=he,qt=null,ur=null,cr=null,go=null,Ql=-1,ge=null,$6=!1,n1=!1,r1=0}function Ai(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return cr===null?qt.memoizedState=cr=e:cr=cr.next=e,cr}function yo(){var e;if(ur===null){var t=qt.alternate;t!==null?e=t.memoizedState:e=null}else e=ur.next;var i;if(cr===null?i=qt.memoizedState:i=cr.next,i!==null)cr=i,i=cr.next,ur=e;else{if(e===null)throw new Error("Rendered more hooks than during the previous render.");ur=e;var u={memoizedState:ur.memoizedState,baseState:ur.baseState,baseQueue:ur.baseQueue,queue:ur.queue,next:null};cr===null?qt.memoizedState=cr=u:cr=cr.next=u}return cr}function D6(){return{lastEffect:null,stores:null}}function Kv(e,t){return typeof t=="function"?t(e):t}function Zv(e,t,i){var u=Ai(),h;i!==void 0?h=i(t):h=t,u.memoizedState=u.baseState=h;var k={pending:null,interleaved:null,lanes:he,dispatch:null,lastRenderedReducer:e,lastRenderedState:h};u.queue=k;var S=k.dispatch=eM.bind(null,qt,k);return[u.memoizedState,S]}function Jv(e,t,i){var u=yo(),h=u.queue;if(h===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");h.lastRenderedReducer=e;var k=ur,S=k.baseQueue,_=h.pending;if(_!==null){if(S!==null){var A=S.next,P=_.next;S.next=P,_.next=A}k.baseQueue!==S&&g("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),k.baseQueue=S=_,h.pending=null}if(S!==null){var z=S.next,q=k.baseState,H=null,ae=null,oe=null,me=z;do{var Ue=me.lane;if(ys(dc,Ue)){if(oe!==null){var Xe={lane:Pt,action:me.action,hasEagerState:me.hasEagerState,eagerState:me.eagerState,next:null};oe=oe.next=Xe}if(me.hasEagerState)q=me.eagerState;else{var it=me.action;q=e(q,it)}}else{var Lt={lane:Ue,action:me.action,hasEagerState:me.hasEagerState,eagerState:me.eagerState,next:null};oe===null?(ae=oe=Lt,H=q):oe=oe.next=Lt,qt.lanes=Et(qt.lanes,Ue),b1(Ue)}me=me.next}while(me!==null&&me!==z);oe===null?H=q:oe.next=ae,Be(q,u.memoizedState)||c1(),u.memoizedState=q,u.baseState=H,u.baseQueue=oe,h.lastRenderedState=q}var _t=h.interleaved;if(_t!==null){var ee=_t;do{var pe=ee.lane;qt.lanes=Et(qt.lanes,pe),b1(pe),ee=ee.next}while(ee!==_t)}else S===null&&(h.lanes=he);var ne=h.dispatch;return[u.memoizedState,ne]}function Xv(e,t,i){var u=yo(),h=u.queue;if(h===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");h.lastRenderedReducer=e;var k=h.dispatch,S=h.pending,_=u.memoizedState;if(S!==null){h.pending=null;var A=S.next,P=A;do{var z=P.action;_=e(_,z),P=P.next}while(P!==A);Be(_,u.memoizedState)||c1(),u.memoizedState=_,u.baseQueue===null&&(u.baseState=_),h.lastRenderedState=_}return[_,k]}function e3(e,t,i){var u=qt,h=Ai(),k,S=Ir();if(S){if(i===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");k=i(),wf||k!==i()&&(g("The result of getServerSnapshot should be cached to avoid an infinite loop"),wf=!0)}else{if(k=t(),!wf){var _=t();Be(k,_)||(g("The result of getSnapshot should be cached to avoid an infinite loop"),wf=!0)}var A=Y0();if(A===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");zu(A,dc)||P6(u,t,k)}h.memoizedState=k;var P={value:k,getSnapshot:t};return h.queue=P,g0(j6.bind(null,u,P,e),[e]),u.flags|=fn,a1(sr|_r,U6.bind(null,u,P,k,t),void 0,null),k}function f0(e,t,i){var u=qt,h=yo(),k=t();if(!wf){var S=t();Be(k,S)||(g("The result of getSnapshot should be cached to avoid an infinite loop"),wf=!0)}var _=h.memoizedState,A=!Be(_,k);A&&(h.memoizedState=k,c1());var P=h.queue;if(i1(j6.bind(null,u,P,e),[e]),P.getSnapshot!==t||A||cr!==null&&cr.memoizedState.tag&sr){u.flags|=fn,a1(sr|_r,U6.bind(null,u,P,k,t),void 0,null);var z=Y0();if(z===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");zu(z,dc)||P6(u,t,k)}return k}function P6(e,t,i){e.flags|=Au;var u={getSnapshot:t,value:i},h=qt.updateQueue;if(h===null)h=D6(),qt.updateQueue=h,h.stores=[u];else{var k=h.stores;k===null?h.stores=[u]:k.push(u)}}function U6(e,t,i,u){t.value=i,t.getSnapshot=u,z6(t)&&B6(e)}function j6(e,t,i){var u=function(){z6(t)&&B6(e)};return i(u)}function z6(e){var t=e.getSnapshot,i=e.value;try{var u=t();return!Be(i,u)}catch{return!0}}function B6(e){var t=Pa(e,ut);t!==null&&mr(t,e,ut,Xt)}function p0(e){var t=Ai();typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e;var i={pending:null,interleaved:null,lanes:he,dispatch:null,lastRenderedReducer:Kv,lastRenderedState:e};t.queue=i;var u=i.dispatch=tM.bind(null,qt,i);return[t.memoizedState,u]}function t3(e){return Jv(Kv)}function n3(e){return Xv(Kv)}function a1(e,t,i,u){var h={tag:e,create:t,destroy:i,deps:u,next:null},k=qt.updateQueue;if(k===null)k=D6(),qt.updateQueue=k,k.lastEffect=h.next=h;else{var S=k.lastEffect;if(S===null)k.lastEffect=h.next=h;else{var _=S.next;S.next=h,h.next=_,k.lastEffect=h}}return h}function r3(e){var t=Ai();{var i={current:e};return t.memoizedState=i,i}}function m0(e){var t=yo();return t.memoizedState}function o1(e,t,i,u){var h=Ai(),k=u===void 0?null:u;qt.flags|=e,h.memoizedState=a1(sr|t,i,void 0,k)}function h0(e,t,i,u){var h=yo(),k=u===void 0?null:u,S=void 0;if(ur!==null){var _=ur.memoizedState;if(S=_.destroy,k!==null){var A=_.deps;if(Wv(k,A)){h.memoizedState=a1(t,i,S,k);return}}}qt.flags|=e,h.memoizedState=a1(sr|t,i,S,k)}function g0(e,t){return(qt.mode&Ca)!==st?o1(ss|fn|ui,_r,e,t):o1(fn|ui,_r,e,t)}function i1(e,t){return h0(fn,_r,e,t)}function a3(e,t){return o1(St,Ci,e,t)}function y0(e,t){return h0(St,Ci,e,t)}function o3(e,t){var i=St;return i|=Fr,(qt.mode&Ca)!==st&&(i|=Vr),o1(i,lr,e,t)}function v0(e,t){return h0(St,lr,e,t)}function F6(e,t){if(typeof t=="function"){var i=t,u=e();return i(u),function(){i(null)}}else if(t!=null){var h=t;h.hasOwnProperty("current")||g("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(h).join(", ")+"}");var k=e();return h.current=k,function(){h.current=null}}}function i3(e,t,i){typeof t!="function"&&g("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var u=i!=null?i.concat([e]):null,h=St;return h|=Fr,(qt.mode&Ca)!==st&&(h|=Vr),o1(h,lr,F6.bind(null,t,e),u)}function T0(e,t,i){typeof t!="function"&&g("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var u=i!=null?i.concat([e]):null;return h0(St,lr,F6.bind(null,t,e),u)}function ZN(e,t){}var k0=ZN;function s3(e,t){var i=Ai(),u=t===void 0?null:t;return i.memoizedState=[e,u],e}function b0(e,t){var i=yo(),u=t===void 0?null:t,h=i.memoizedState;if(h!==null&&u!==null){var k=h[1];if(Wv(u,k))return h[0]}return i.memoizedState=[e,u],e}function l3(e,t){var i=Ai(),u=t===void 0?null:t,h=e();return i.memoizedState=[h,u],h}function w0(e,t){var i=yo(),u=t===void 0?null:t,h=i.memoizedState;if(h!==null&&u!==null){var k=h[1];if(Wv(u,k))return h[0]}var S=e();return i.memoizedState=[S,u],S}function u3(e){var t=Ai();return t.memoizedState=e,e}function V6(e){var t=yo(),i=ur,u=i.memoizedState;return Q6(t,u,e)}function Y6(e){var t=yo();if(ur===null)return t.memoizedState=e,e;var i=ur.memoizedState;return Q6(t,i,e)}function Q6(e,t,i){var u=!v2(dc);if(u){if(!Be(i,t)){var h=fm();qt.lanes=Et(qt.lanes,h),b1(h),e.baseState=!0}return t}else return e.baseState&&(e.baseState=!1,c1()),e.memoizedState=i,i}function JN(e,t,i){var u=la();jn(Fu(u,Oa)),e(!0);var h=t1.transition;t1.transition={};var k=t1.transition;t1.transition._updatedFibers=new Set;try{e(!1),t()}finally{if(jn(u),t1.transition=h,h===null&&k._updatedFibers){var S=k._updatedFibers.size;S>10&&v("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),k._updatedFibers.clear()}}}function c3(){var e=p0(!1),t=e[0],i=e[1],u=JN.bind(null,i),h=Ai();return h.memoizedState=u,[t,u]}function G6(){var e=t3(),t=e[0],i=yo(),u=i.memoizedState;return[t,u]}function H6(){var e=n3(),t=e[0],i=yo(),u=i.memoizedState;return[t,u]}var $6=!1;function XN(){return $6}function d3(){var e=Ai(),t=Y0(),i=t.identifierPrefix,u;if(Ir()){var h=pN();u=":"+i+"R"+h;var k=r1++;k>0&&(u+="H"+k.toString(32)),u+=":"}else{var S=qN++;u=":"+i+"r"+S.toString(32)+":"}return e.memoizedState=u,u}function S0(){var e=yo(),t=e.memoizedState;return t}function eM(e,t,i){typeof arguments[3]=="function"&&g("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var u=Wl(e),h={lane:u,action:i,hasEagerState:!1,eagerState:null,next:null};if(q6(e))W6(t,h);else{var k=f6(e,t,h,u);if(k!==null){var S=ma();mr(k,e,u,S),K6(k,t,u)}}Z6(e,u)}function tM(e,t,i){typeof arguments[3]=="function"&&g("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var u=Wl(e),h={lane:u,action:i,hasEagerState:!1,eagerState:null,next:null};if(q6(e))W6(t,h);else{var k=e.alternate;if(e.lanes===he&&(k===null||k.lanes===he)){var S=t.lastRenderedReducer;if(S!==null){var _;_=Ve.current,Ve.current=Go;try{var A=t.lastRenderedState,P=S(A,i);if(h.hasEagerState=!0,h.eagerState=P,Be(P,A)){LN(e,t,h,u);return}}catch{}finally{Ve.current=_}}}var z=f6(e,t,h,u);if(z!==null){var q=ma();mr(z,e,u,q),K6(z,t,u)}}Z6(e,u)}function q6(e){var t=e.alternate;return e===qt||t!==null&&t===qt}function W6(e,t){n1=d0=!0;var i=e.pending;i===null?t.next=t:(t.next=i.next,i.next=t),e.pending=t}function K6(e,t,i){if(dm(i)){var u=t.lanes;u=pm(u,e.pendingLanes);var h=Et(u,i);t.lanes=h,Bu(e,h)}}function Z6(e,t,i){hi(e,t)}var E0={readContext:Jn,useCallback:Jr,useContext:Jr,useEffect:Jr,useImperativeHandle:Jr,useInsertionEffect:Jr,useLayoutEffect:Jr,useMemo:Jr,useReducer:Jr,useRef:Jr,useState:Jr,useDebugValue:Jr,useDeferredValue:Jr,useTransition:Jr,useMutableSource:Jr,useSyncExternalStore:Jr,useId:Jr,unstable_isNewReconciler:_e},J6=null,X6=null,ek=null,tk=null,Oi=null,Go=null,N0=null;{var f3=function(){g("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().")},vt=function(){g("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks")};J6={readContext:function(e){return Jn(e)},useCallback:function(e,t){return ge="useCallback",Qt(),Sf(t),s3(e,t)},useContext:function(e){return ge="useContext",Qt(),Jn(e)},useEffect:function(e,t){return ge="useEffect",Qt(),Sf(t),g0(e,t)},useImperativeHandle:function(e,t,i){return ge="useImperativeHandle",Qt(),Sf(i),i3(e,t,i)},useInsertionEffect:function(e,t){return ge="useInsertionEffect",Qt(),Sf(t),a3(e,t)},useLayoutEffect:function(e,t){return ge="useLayoutEffect",Qt(),Sf(t),o3(e,t)},useMemo:function(e,t){ge="useMemo",Qt(),Sf(t);var i=Ve.current;Ve.current=Oi;try{return l3(e,t)}finally{Ve.current=i}},useReducer:function(e,t,i){ge="useReducer",Qt();var u=Ve.current;Ve.current=Oi;try{return Zv(e,t,i)}finally{Ve.current=u}},useRef:function(e){return ge="useRef",Qt(),r3(e)},useState:function(e){ge="useState",Qt();var t=Ve.current;Ve.current=Oi;try{return p0(e)}finally{Ve.current=t}},useDebugValue:function(e,t){return ge="useDebugValue",Qt(),void 0},useDeferredValue:function(e){return ge="useDeferredValue",Qt(),u3(e)},useTransition:function(){return ge="useTransition",Qt(),c3()},useMutableSource:function(e,t,i){return ge="useMutableSource",Qt(),void 0},useSyncExternalStore:function(e,t,i){return ge="useSyncExternalStore",Qt(),e3(e,t,i)},useId:function(){return ge="useId",Qt(),d3()},unstable_isNewReconciler:_e},X6={readContext:function(e){return Jn(e)},useCallback:function(e,t){return ge="useCallback",Re(),s3(e,t)},useContext:function(e){return ge="useContext",Re(),Jn(e)},useEffect:function(e,t){return ge="useEffect",Re(),g0(e,t)},useImperativeHandle:function(e,t,i){return ge="useImperativeHandle",Re(),i3(e,t,i)},useInsertionEffect:function(e,t){return ge="useInsertionEffect",Re(),a3(e,t)},useLayoutEffect:function(e,t){return ge="useLayoutEffect",Re(),o3(e,t)},useMemo:function(e,t){ge="useMemo",Re();var i=Ve.current;Ve.current=Oi;try{return l3(e,t)}finally{Ve.current=i}},useReducer:function(e,t,i){ge="useReducer",Re();var u=Ve.current;Ve.current=Oi;try{return Zv(e,t,i)}finally{Ve.current=u}},useRef:function(e){return ge="useRef",Re(),r3(e)},useState:function(e){ge="useState",Re();var t=Ve.current;Ve.current=Oi;try{return p0(e)}finally{Ve.current=t}},useDebugValue:function(e,t){return ge="useDebugValue",Re(),void 0},useDeferredValue:function(e){return ge="useDeferredValue",Re(),u3(e)},useTransition:function(){return ge="useTransition",Re(),c3()},useMutableSource:function(e,t,i){return ge="useMutableSource",Re(),void 0},useSyncExternalStore:function(e,t,i){return ge="useSyncExternalStore",Re(),e3(e,t,i)},useId:function(){return ge="useId",Re(),d3()},unstable_isNewReconciler:_e},ek={readContext:function(e){return Jn(e)},useCallback:function(e,t){return ge="useCallback",Re(),b0(e,t)},useContext:function(e){return ge="useContext",Re(),Jn(e)},useEffect:function(e,t){return ge="useEffect",Re(),i1(e,t)},useImperativeHandle:function(e,t,i){return ge="useImperativeHandle",Re(),T0(e,t,i)},useInsertionEffect:function(e,t){return ge="useInsertionEffect",Re(),y0(e,t)},useLayoutEffect:function(e,t){return ge="useLayoutEffect",Re(),v0(e,t)},useMemo:function(e,t){ge="useMemo",Re();var i=Ve.current;Ve.current=Go;try{return w0(e,t)}finally{Ve.current=i}},useReducer:function(e,t,i){ge="useReducer",Re();var u=Ve.current;Ve.current=Go;try{return Jv(e,t,i)}finally{Ve.current=u}},useRef:function(e){return ge="useRef",Re(),m0()},useState:function(e){ge="useState",Re();var t=Ve.current;Ve.current=Go;try{return t3(e)}finally{Ve.current=t}},useDebugValue:function(e,t){return ge="useDebugValue",Re(),k0()},useDeferredValue:function(e){return ge="useDeferredValue",Re(),V6(e)},useTransition:function(){return ge="useTransition",Re(),G6()},useMutableSource:function(e,t,i){return ge="useMutableSource",Re(),void 0},useSyncExternalStore:function(e,t,i){return ge="useSyncExternalStore",Re(),f0(e,t)},useId:function(){return ge="useId",Re(),S0()},unstable_isNewReconciler:_e},tk={readContext:function(e){return Jn(e)},useCallback:function(e,t){return ge="useCallback",Re(),b0(e,t)},useContext:function(e){return ge="useContext",Re(),Jn(e)},useEffect:function(e,t){return ge="useEffect",Re(),i1(e,t)},useImperativeHandle:function(e,t,i){return ge="useImperativeHandle",Re(),T0(e,t,i)},useInsertionEffect:function(e,t){return ge="useInsertionEffect",Re(),y0(e,t)},useLayoutEffect:function(e,t){return ge="useLayoutEffect",Re(),v0(e,t)},useMemo:function(e,t){ge="useMemo",Re();var i=Ve.current;Ve.current=N0;try{return w0(e,t)}finally{Ve.current=i}},useReducer:function(e,t,i){ge="useReducer",Re();var u=Ve.current;Ve.current=N0;try{return Xv(e,t,i)}finally{Ve.current=u}},useRef:function(e){return ge="useRef",Re(),m0()},useState:function(e){ge="useState",Re();var t=Ve.current;Ve.current=N0;try{return n3(e)}finally{Ve.current=t}},useDebugValue:function(e,t){return ge="useDebugValue",Re(),k0()},useDeferredValue:function(e){return ge="useDeferredValue",Re(),Y6(e)},useTransition:function(){return ge="useTransition",Re(),H6()},useMutableSource:function(e,t,i){return ge="useMutableSource",Re(),void 0},useSyncExternalStore:function(e,t,i){return ge="useSyncExternalStore",Re(),f0(e,t)},useId:function(){return ge="useId",Re(),S0()},unstable_isNewReconciler:_e},Oi={readContext:function(e){return f3(),Jn(e)},useCallback:function(e,t){return ge="useCallback",vt(),Qt(),s3(e,t)},useContext:function(e){return ge="useContext",vt(),Qt(),Jn(e)},useEffect:function(e,t){return ge="useEffect",vt(),Qt(),g0(e,t)},useImperativeHandle:function(e,t,i){return ge="useImperativeHandle",vt(),Qt(),i3(e,t,i)},useInsertionEffect:function(e,t){return ge="useInsertionEffect",vt(),Qt(),a3(e,t)},useLayoutEffect:function(e,t){return ge="useLayoutEffect",vt(),Qt(),o3(e,t)},useMemo:function(e,t){ge="useMemo",vt(),Qt();var i=Ve.current;Ve.current=Oi;try{return l3(e,t)}finally{Ve.current=i}},useReducer:function(e,t,i){ge="useReducer",vt(),Qt();var u=Ve.current;Ve.current=Oi;try{return Zv(e,t,i)}finally{Ve.current=u}},useRef:function(e){return ge="useRef",vt(),Qt(),r3(e)},useState:function(e){ge="useState",vt(),Qt();var t=Ve.current;Ve.current=Oi;try{return p0(e)}finally{Ve.current=t}},useDebugValue:function(e,t){return ge="useDebugValue",vt(),Qt(),void 0},useDeferredValue:function(e){return ge="useDeferredValue",vt(),Qt(),u3(e)},useTransition:function(){return ge="useTransition",vt(),Qt(),c3()},useMutableSource:function(e,t,i){return ge="useMutableSource",vt(),Qt(),void 0},useSyncExternalStore:function(e,t,i){return ge="useSyncExternalStore",vt(),Qt(),e3(e,t,i)},useId:function(){return ge="useId",vt(),Qt(),d3()},unstable_isNewReconciler:_e},Go={readContext:function(e){return f3(),Jn(e)},useCallback:function(e,t){return ge="useCallback",vt(),Re(),b0(e,t)},useContext:function(e){return ge="useContext",vt(),Re(),Jn(e)},useEffect:function(e,t){return ge="useEffect",vt(),Re(),i1(e,t)},useImperativeHandle:function(e,t,i){return ge="useImperativeHandle",vt(),Re(),T0(e,t,i)},useInsertionEffect:function(e,t){return ge="useInsertionEffect",vt(),Re(),y0(e,t)},useLayoutEffect:function(e,t){return ge="useLayoutEffect",vt(),Re(),v0(e,t)},useMemo:function(e,t){ge="useMemo",vt(),Re();var i=Ve.current;Ve.current=Go;try{return w0(e,t)}finally{Ve.current=i}},useReducer:function(e,t,i){ge="useReducer",vt(),Re();var u=Ve.current;Ve.current=Go;try{return Jv(e,t,i)}finally{Ve.current=u}},useRef:function(e){return ge="useRef",vt(),Re(),m0()},useState:function(e){ge="useState",vt(),Re();var t=Ve.current;Ve.current=Go;try{return t3(e)}finally{Ve.current=t}},useDebugValue:function(e,t){return ge="useDebugValue",vt(),Re(),k0()},useDeferredValue:function(e){return ge="useDeferredValue",vt(),Re(),V6(e)},useTransition:function(){return ge="useTransition",vt(),Re(),G6()},useMutableSource:function(e,t,i){return ge="useMutableSource",vt(),Re(),void 0},useSyncExternalStore:function(e,t,i){return ge="useSyncExternalStore",vt(),Re(),f0(e,t)},useId:function(){return ge="useId",vt(),Re(),S0()},unstable_isNewReconciler:_e},N0={readContext:function(e){return f3(),Jn(e)},useCallback:function(e,t){return ge="useCallback",vt(),Re(),b0(e,t)},useContext:function(e){return ge="useContext",vt(),Re(),Jn(e)},useEffect:function(e,t){return ge="useEffect",vt(),Re(),i1(e,t)},useImperativeHandle:function(e,t,i){return ge="useImperativeHandle",vt(),Re(),T0(e,t,i)},useInsertionEffect:function(e,t){return ge="useInsertionEffect",vt(),Re(),y0(e,t)},useLayoutEffect:function(e,t){return ge="useLayoutEffect",vt(),Re(),v0(e,t)},useMemo:function(e,t){ge="useMemo",vt(),Re();var i=Ve.current;Ve.current=Go;try{return w0(e,t)}finally{Ve.current=i}},useReducer:function(e,t,i){ge="useReducer",vt(),Re();var u=Ve.current;Ve.current=Go;try{return Xv(e,t,i)}finally{Ve.current=u}},useRef:function(e){return ge="useRef",vt(),Re(),m0()},useState:function(e){ge="useState",vt(),Re();var t=Ve.current;Ve.current=Go;try{return n3(e)}finally{Ve.current=t}},useDebugValue:function(e,t){return ge="useDebugValue",vt(),Re(),k0()},useDeferredValue:function(e){return ge="useDeferredValue",vt(),Re(),Y6(e)},useTransition:function(){return ge="useTransition",vt(),Re(),H6()},useMutableSource:function(e,t,i){return ge="useMutableSource",vt(),Re(),void 0},useSyncExternalStore:function(e,t,i){return ge="useSyncExternalStore",vt(),Re(),f0(e,t)},useId:function(){return ge="useId",vt(),Re(),S0()},unstable_isNewReconciler:_e}}var Gl=o.unstable_now,nk=0,M0=-1,s1=-1,I0=-1,p3=!1,_0=!1;function rk(){return p3}function nM(){_0=!0}function rM(){p3=!1,_0=!1}function aM(){p3=_0,_0=!1}function ak(){return nk}function ok(){nk=Gl()}function m3(e){s1=Gl(),e.actualStartTime<0&&(e.actualStartTime=Gl())}function ik(e){s1=-1}function C0(e,t){if(s1>=0){var i=Gl()-s1;e.actualDuration+=i,t&&(e.selfBaseDuration=i),s1=-1}}function xi(e){if(M0>=0){var t=Gl()-M0;M0=-1;for(var i=e.return;i!==null;){switch(i.tag){case R:var u=i.stateNode;u.effectDuration+=t;return;case ue:var h=i.stateNode;h.effectDuration+=t;return}i=i.return}}}function h3(e){if(I0>=0){var t=Gl()-I0;I0=-1;for(var i=e.return;i!==null;){switch(i.tag){case R:var u=i.stateNode;u!==null&&(u.passiveEffectDuration+=t);return;case ue:var h=i.stateNode;h!==null&&(h.passiveEffectDuration+=t);return}i=i.return}}}function Li(){M0=Gl()}function g3(){I0=Gl()}function y3(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function fc(e,t){return{value:e,source:t,stack:bp(t),digest:null}}function v3(e,t,i){return{value:e,source:null,stack:i??null,digest:t??null}}function oM(e,t){return!0}function T3(e,t){try{var i=oM(e,t);if(i===!1)return;var u=t.value,h=t.source,k=t.stack,S=k!==null?k:"";if(u!=null&&u._suppressLogging){if(e.tag===C)return;console.error(u)}var _=h?bt(h):null,A=_?"The above error occurred in the <"+_+"> component:":"The above error occurred in one of your React components:",P;if(e.tag===R)P=`Consider adding an error boundary to your tree to customize error handling behavior.
119
+ Incoming: %s`,ge,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var i=0;i<t.length&&i<e.length;i++)if(!Be(e[i],t[i]))return!1;return!0}function Ef(e,t,i,u,h,k){dc=k,qt=t,go=e!==null?e._debugHookTypes:null,Ql=-1,qv=e!==null&&e.type!==t.type,t.memoizedState=null,t.updateQueue=null,t.lanes=he,e!==null&&e.memoizedState!==null?Ve.current=e5:go!==null?Ve.current=X6:Ve.current=J6;var S=i(u,h);if(n1){var _=0;do{if(n1=!1,r1=0,_>=WN)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");_+=1,qv=!1,ur=null,cr=null,t.updateQueue=null,Ql=-1,Ve.current=t5,S=i(u,h)}while(n1)}Ve.current=E0,t._debugHookTypes=go;var A=ur!==null&&ur.next!==null;if(dc=he,qt=null,ur=null,cr=null,ge=null,go=null,Ql=-1,e!==null&&(e.flags&nr)!==(t.flags&nr)&&(e.mode&Ot)!==st&&g("Internal React error: Expected static flag was missing. Please notify the React team."),d0=!1,A)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return S}function Nf(){var e=r1!==0;return r1=0,e}function L6(e,t,i){t.updateQueue=e.updateQueue,(t.mode&Ca)!==st?t.flags&=~(ss|Vr|fn|St):t.flags&=~(fn|St),e.lanes=Sl(e.lanes,i)}function R6(){if(Ve.current=E0,d0){for(var e=qt.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}d0=!1}dc=he,qt=null,ur=null,cr=null,go=null,Ql=-1,ge=null,$6=!1,n1=!1,r1=0}function Ai(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return cr===null?qt.memoizedState=cr=e:cr=cr.next=e,cr}function yo(){var e;if(ur===null){var t=qt.alternate;t!==null?e=t.memoizedState:e=null}else e=ur.next;var i;if(cr===null?i=qt.memoizedState:i=cr.next,i!==null)cr=i,i=cr.next,ur=e;else{if(e===null)throw new Error("Rendered more hooks than during the previous render.");ur=e;var u={memoizedState:ur.memoizedState,baseState:ur.baseState,baseQueue:ur.baseQueue,queue:ur.queue,next:null};cr===null?qt.memoizedState=cr=u:cr=cr.next=u}return cr}function D6(){return{lastEffect:null,stores:null}}function Kv(e,t){return typeof t=="function"?t(e):t}function Zv(e,t,i){var u=Ai(),h;i!==void 0?h=i(t):h=t,u.memoizedState=u.baseState=h;var k={pending:null,interleaved:null,lanes:he,dispatch:null,lastRenderedReducer:e,lastRenderedState:h};u.queue=k;var S=k.dispatch=eM.bind(null,qt,k);return[u.memoizedState,S]}function Jv(e,t,i){var u=yo(),h=u.queue;if(h===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");h.lastRenderedReducer=e;var k=ur,S=k.baseQueue,_=h.pending;if(_!==null){if(S!==null){var A=S.next,P=_.next;S.next=P,_.next=A}k.baseQueue!==S&&g("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),k.baseQueue=S=_,h.pending=null}if(S!==null){var z=S.next,q=k.baseState,H=null,ae=null,oe=null,me=z;do{var Ue=me.lane;if(ys(dc,Ue)){if(oe!==null){var Xe={lane:Pt,action:me.action,hasEagerState:me.hasEagerState,eagerState:me.eagerState,next:null};oe=oe.next=Xe}if(me.hasEagerState)q=me.eagerState;else{var it=me.action;q=e(q,it)}}else{var Lt={lane:Ue,action:me.action,hasEagerState:me.hasEagerState,eagerState:me.eagerState,next:null};oe===null?(ae=oe=Lt,H=q):oe=oe.next=Lt,qt.lanes=Et(qt.lanes,Ue),b1(Ue)}me=me.next}while(me!==null&&me!==z);oe===null?H=q:oe.next=ae,Be(q,u.memoizedState)||c1(),u.memoizedState=q,u.baseState=H,u.baseQueue=oe,h.lastRenderedState=q}var _t=h.interleaved;if(_t!==null){var ee=_t;do{var pe=ee.lane;qt.lanes=Et(qt.lanes,pe),b1(pe),ee=ee.next}while(ee!==_t)}else S===null&&(h.lanes=he);var ne=h.dispatch;return[u.memoizedState,ne]}function Xv(e,t,i){var u=yo(),h=u.queue;if(h===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");h.lastRenderedReducer=e;var k=h.dispatch,S=h.pending,_=u.memoizedState;if(S!==null){h.pending=null;var A=S.next,P=A;do{var z=P.action;_=e(_,z),P=P.next}while(P!==A);Be(_,u.memoizedState)||c1(),u.memoizedState=_,u.baseQueue===null&&(u.baseState=_),h.lastRenderedState=_}return[_,k]}function e3(e,t,i){var u=qt,h=Ai(),k,S=Ir();if(S){if(i===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");k=i(),wf||k!==i()&&(g("The result of getServerSnapshot should be cached to avoid an infinite loop"),wf=!0)}else{if(k=t(),!wf){var _=t();Be(k,_)||(g("The result of getSnapshot should be cached to avoid an infinite loop"),wf=!0)}var A=Y0();if(A===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");zu(A,dc)||P6(u,t,k)}h.memoizedState=k;var P={value:k,getSnapshot:t};return h.queue=P,g0(j6.bind(null,u,P,e),[e]),u.flags|=fn,a1(sr|_r,U6.bind(null,u,P,k,t),void 0,null),k}function f0(e,t,i){var u=qt,h=yo(),k=t();if(!wf){var S=t();Be(k,S)||(g("The result of getSnapshot should be cached to avoid an infinite loop"),wf=!0)}var _=h.memoizedState,A=!Be(_,k);A&&(h.memoizedState=k,c1());var P=h.queue;if(i1(j6.bind(null,u,P,e),[e]),P.getSnapshot!==t||A||cr!==null&&cr.memoizedState.tag&sr){u.flags|=fn,a1(sr|_r,U6.bind(null,u,P,k,t),void 0,null);var z=Y0();if(z===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");zu(z,dc)||P6(u,t,k)}return k}function P6(e,t,i){e.flags|=Au;var u={getSnapshot:t,value:i},h=qt.updateQueue;if(h===null)h=D6(),qt.updateQueue=h,h.stores=[u];else{var k=h.stores;k===null?h.stores=[u]:k.push(u)}}function U6(e,t,i,u){t.value=i,t.getSnapshot=u,z6(t)&&B6(e)}function j6(e,t,i){var u=function(){z6(t)&&B6(e)};return i(u)}function z6(e){var t=e.getSnapshot,i=e.value;try{var u=t();return!Be(i,u)}catch{return!0}}function B6(e){var t=Pa(e,ut);t!==null&&mr(t,e,ut,Xt)}function p0(e){var t=Ai();typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e;var i={pending:null,interleaved:null,lanes:he,dispatch:null,lastRenderedReducer:Kv,lastRenderedState:e};t.queue=i;var u=i.dispatch=tM.bind(null,qt,i);return[t.memoizedState,u]}function t3(e){return Jv(Kv)}function n3(e){return Xv(Kv)}function a1(e,t,i,u){var h={tag:e,create:t,destroy:i,deps:u,next:null},k=qt.updateQueue;if(k===null)k=D6(),qt.updateQueue=k,k.lastEffect=h.next=h;else{var S=k.lastEffect;if(S===null)k.lastEffect=h.next=h;else{var _=S.next;S.next=h,h.next=_,k.lastEffect=h}}return h}function r3(e){var t=Ai();{var i={current:e};return t.memoizedState=i,i}}function m0(e){var t=yo();return t.memoizedState}function o1(e,t,i,u){var h=Ai(),k=u===void 0?null:u;qt.flags|=e,h.memoizedState=a1(sr|t,i,void 0,k)}function h0(e,t,i,u){var h=yo(),k=u===void 0?null:u,S=void 0;if(ur!==null){var _=ur.memoizedState;if(S=_.destroy,k!==null){var A=_.deps;if(Wv(k,A)){h.memoizedState=a1(t,i,S,k);return}}}qt.flags|=e,h.memoizedState=a1(sr|t,i,S,k)}function g0(e,t){return(qt.mode&Ca)!==st?o1(ss|fn|ui,_r,e,t):o1(fn|ui,_r,e,t)}function i1(e,t){return h0(fn,_r,e,t)}function a3(e,t){return o1(St,Ci,e,t)}function y0(e,t){return h0(St,Ci,e,t)}function o3(e,t){var i=St;return i|=Fr,(qt.mode&Ca)!==st&&(i|=Vr),o1(i,lr,e,t)}function v0(e,t){return h0(St,lr,e,t)}function F6(e,t){if(typeof t=="function"){var i=t,u=e();return i(u),function(){i(null)}}else if(t!=null){var h=t;h.hasOwnProperty("current")||g("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(h).join(", ")+"}");var k=e();return h.current=k,function(){h.current=null}}}function i3(e,t,i){typeof t!="function"&&g("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var u=i!=null?i.concat([e]):null,h=St;return h|=Fr,(qt.mode&Ca)!==st&&(h|=Vr),o1(h,lr,F6.bind(null,t,e),u)}function T0(e,t,i){typeof t!="function"&&g("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var u=i!=null?i.concat([e]):null;return h0(St,lr,F6.bind(null,t,e),u)}function ZN(e,t){}var k0=ZN;function s3(e,t){var i=Ai(),u=t===void 0?null:t;return i.memoizedState=[e,u],e}function b0(e,t){var i=yo(),u=t===void 0?null:t,h=i.memoizedState;if(h!==null&&u!==null){var k=h[1];if(Wv(u,k))return h[0]}return i.memoizedState=[e,u],e}function l3(e,t){var i=Ai(),u=t===void 0?null:t,h=e();return i.memoizedState=[h,u],h}function w0(e,t){var i=yo(),u=t===void 0?null:t,h=i.memoizedState;if(h!==null&&u!==null){var k=h[1];if(Wv(u,k))return h[0]}var S=e();return i.memoizedState=[S,u],S}function u3(e){var t=Ai();return t.memoizedState=e,e}function V6(e){var t=yo(),i=ur,u=i.memoizedState;return Q6(t,u,e)}function Y6(e){var t=yo();if(ur===null)return t.memoizedState=e,e;var i=ur.memoizedState;return Q6(t,i,e)}function Q6(e,t,i){var u=!v2(dc);if(u){if(!Be(i,t)){var h=fm();qt.lanes=Et(qt.lanes,h),b1(h),e.baseState=!0}return t}else return e.baseState&&(e.baseState=!1,c1()),e.memoizedState=i,i}function JN(e,t,i){var u=la();jn(Fu(u,Oa)),e(!0);var h=t1.transition;t1.transition={};var k=t1.transition;t1.transition._updatedFibers=new Set;try{e(!1),t()}finally{if(jn(u),t1.transition=h,h===null&&k._updatedFibers){var S=k._updatedFibers.size;S>10&&v("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),k._updatedFibers.clear()}}}function c3(){var e=p0(!1),t=e[0],i=e[1],u=JN.bind(null,i),h=Ai();return h.memoizedState=u,[t,u]}function G6(){var e=t3(),t=e[0],i=yo(),u=i.memoizedState;return[t,u]}function H6(){var e=n3(),t=e[0],i=yo(),u=i.memoizedState;return[t,u]}var $6=!1;function XN(){return $6}function d3(){var e=Ai(),t=Y0(),i=t.identifierPrefix,u;if(Ir()){var h=pN();u=":"+i+"R"+h;var k=r1++;k>0&&(u+="H"+k.toString(32)),u+=":"}else{var S=qN++;u=":"+i+"r"+S.toString(32)+":"}return e.memoizedState=u,u}function S0(){var e=yo(),t=e.memoizedState;return t}function eM(e,t,i){typeof arguments[3]=="function"&&g("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var u=Wl(e),h={lane:u,action:i,hasEagerState:!1,eagerState:null,next:null};if(q6(e))W6(t,h);else{var k=f6(e,t,h,u);if(k!==null){var S=ma();mr(k,e,u,S),K6(k,t,u)}}Z6(e,u)}function tM(e,t,i){typeof arguments[3]=="function"&&g("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var u=Wl(e),h={lane:u,action:i,hasEagerState:!1,eagerState:null,next:null};if(q6(e))W6(t,h);else{var k=e.alternate;if(e.lanes===he&&(k===null||k.lanes===he)){var S=t.lastRenderedReducer;if(S!==null){var _;_=Ve.current,Ve.current=Go;try{var A=t.lastRenderedState,P=S(A,i);if(h.hasEagerState=!0,h.eagerState=P,Be(P,A)){LN(e,t,h,u);return}}catch{}finally{Ve.current=_}}}var z=f6(e,t,h,u);if(z!==null){var q=ma();mr(z,e,u,q),K6(z,t,u)}}Z6(e,u)}function q6(e){var t=e.alternate;return e===qt||t!==null&&t===qt}function W6(e,t){n1=d0=!0;var i=e.pending;i===null?t.next=t:(t.next=i.next,i.next=t),e.pending=t}function K6(e,t,i){if(dm(i)){var u=t.lanes;u=pm(u,e.pendingLanes);var h=Et(u,i);t.lanes=h,Bu(e,h)}}function Z6(e,t,i){hi(e,t)}var E0={readContext:Jn,useCallback:Jr,useContext:Jr,useEffect:Jr,useImperativeHandle:Jr,useInsertionEffect:Jr,useLayoutEffect:Jr,useMemo:Jr,useReducer:Jr,useRef:Jr,useState:Jr,useDebugValue:Jr,useDeferredValue:Jr,useTransition:Jr,useMutableSource:Jr,useSyncExternalStore:Jr,useId:Jr,unstable_isNewReconciler:_e},J6=null,X6=null,e5=null,t5=null,Oi=null,Go=null,N0=null;{var f3=function(){g("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().")},vt=function(){g("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks")};J6={readContext:function(e){return Jn(e)},useCallback:function(e,t){return ge="useCallback",Qt(),Sf(t),s3(e,t)},useContext:function(e){return ge="useContext",Qt(),Jn(e)},useEffect:function(e,t){return ge="useEffect",Qt(),Sf(t),g0(e,t)},useImperativeHandle:function(e,t,i){return ge="useImperativeHandle",Qt(),Sf(i),i3(e,t,i)},useInsertionEffect:function(e,t){return ge="useInsertionEffect",Qt(),Sf(t),a3(e,t)},useLayoutEffect:function(e,t){return ge="useLayoutEffect",Qt(),Sf(t),o3(e,t)},useMemo:function(e,t){ge="useMemo",Qt(),Sf(t);var i=Ve.current;Ve.current=Oi;try{return l3(e,t)}finally{Ve.current=i}},useReducer:function(e,t,i){ge="useReducer",Qt();var u=Ve.current;Ve.current=Oi;try{return Zv(e,t,i)}finally{Ve.current=u}},useRef:function(e){return ge="useRef",Qt(),r3(e)},useState:function(e){ge="useState",Qt();var t=Ve.current;Ve.current=Oi;try{return p0(e)}finally{Ve.current=t}},useDebugValue:function(e,t){return ge="useDebugValue",Qt(),void 0},useDeferredValue:function(e){return ge="useDeferredValue",Qt(),u3(e)},useTransition:function(){return ge="useTransition",Qt(),c3()},useMutableSource:function(e,t,i){return ge="useMutableSource",Qt(),void 0},useSyncExternalStore:function(e,t,i){return ge="useSyncExternalStore",Qt(),e3(e,t,i)},useId:function(){return ge="useId",Qt(),d3()},unstable_isNewReconciler:_e},X6={readContext:function(e){return Jn(e)},useCallback:function(e,t){return ge="useCallback",Re(),s3(e,t)},useContext:function(e){return ge="useContext",Re(),Jn(e)},useEffect:function(e,t){return ge="useEffect",Re(),g0(e,t)},useImperativeHandle:function(e,t,i){return ge="useImperativeHandle",Re(),i3(e,t,i)},useInsertionEffect:function(e,t){return ge="useInsertionEffect",Re(),a3(e,t)},useLayoutEffect:function(e,t){return ge="useLayoutEffect",Re(),o3(e,t)},useMemo:function(e,t){ge="useMemo",Re();var i=Ve.current;Ve.current=Oi;try{return l3(e,t)}finally{Ve.current=i}},useReducer:function(e,t,i){ge="useReducer",Re();var u=Ve.current;Ve.current=Oi;try{return Zv(e,t,i)}finally{Ve.current=u}},useRef:function(e){return ge="useRef",Re(),r3(e)},useState:function(e){ge="useState",Re();var t=Ve.current;Ve.current=Oi;try{return p0(e)}finally{Ve.current=t}},useDebugValue:function(e,t){return ge="useDebugValue",Re(),void 0},useDeferredValue:function(e){return ge="useDeferredValue",Re(),u3(e)},useTransition:function(){return ge="useTransition",Re(),c3()},useMutableSource:function(e,t,i){return ge="useMutableSource",Re(),void 0},useSyncExternalStore:function(e,t,i){return ge="useSyncExternalStore",Re(),e3(e,t,i)},useId:function(){return ge="useId",Re(),d3()},unstable_isNewReconciler:_e},e5={readContext:function(e){return Jn(e)},useCallback:function(e,t){return ge="useCallback",Re(),b0(e,t)},useContext:function(e){return ge="useContext",Re(),Jn(e)},useEffect:function(e,t){return ge="useEffect",Re(),i1(e,t)},useImperativeHandle:function(e,t,i){return ge="useImperativeHandle",Re(),T0(e,t,i)},useInsertionEffect:function(e,t){return ge="useInsertionEffect",Re(),y0(e,t)},useLayoutEffect:function(e,t){return ge="useLayoutEffect",Re(),v0(e,t)},useMemo:function(e,t){ge="useMemo",Re();var i=Ve.current;Ve.current=Go;try{return w0(e,t)}finally{Ve.current=i}},useReducer:function(e,t,i){ge="useReducer",Re();var u=Ve.current;Ve.current=Go;try{return Jv(e,t,i)}finally{Ve.current=u}},useRef:function(e){return ge="useRef",Re(),m0()},useState:function(e){ge="useState",Re();var t=Ve.current;Ve.current=Go;try{return t3(e)}finally{Ve.current=t}},useDebugValue:function(e,t){return ge="useDebugValue",Re(),k0()},useDeferredValue:function(e){return ge="useDeferredValue",Re(),V6(e)},useTransition:function(){return ge="useTransition",Re(),G6()},useMutableSource:function(e,t,i){return ge="useMutableSource",Re(),void 0},useSyncExternalStore:function(e,t,i){return ge="useSyncExternalStore",Re(),f0(e,t)},useId:function(){return ge="useId",Re(),S0()},unstable_isNewReconciler:_e},t5={readContext:function(e){return Jn(e)},useCallback:function(e,t){return ge="useCallback",Re(),b0(e,t)},useContext:function(e){return ge="useContext",Re(),Jn(e)},useEffect:function(e,t){return ge="useEffect",Re(),i1(e,t)},useImperativeHandle:function(e,t,i){return ge="useImperativeHandle",Re(),T0(e,t,i)},useInsertionEffect:function(e,t){return ge="useInsertionEffect",Re(),y0(e,t)},useLayoutEffect:function(e,t){return ge="useLayoutEffect",Re(),v0(e,t)},useMemo:function(e,t){ge="useMemo",Re();var i=Ve.current;Ve.current=N0;try{return w0(e,t)}finally{Ve.current=i}},useReducer:function(e,t,i){ge="useReducer",Re();var u=Ve.current;Ve.current=N0;try{return Xv(e,t,i)}finally{Ve.current=u}},useRef:function(e){return ge="useRef",Re(),m0()},useState:function(e){ge="useState",Re();var t=Ve.current;Ve.current=N0;try{return n3(e)}finally{Ve.current=t}},useDebugValue:function(e,t){return ge="useDebugValue",Re(),k0()},useDeferredValue:function(e){return ge="useDeferredValue",Re(),Y6(e)},useTransition:function(){return ge="useTransition",Re(),H6()},useMutableSource:function(e,t,i){return ge="useMutableSource",Re(),void 0},useSyncExternalStore:function(e,t,i){return ge="useSyncExternalStore",Re(),f0(e,t)},useId:function(){return ge="useId",Re(),S0()},unstable_isNewReconciler:_e},Oi={readContext:function(e){return f3(),Jn(e)},useCallback:function(e,t){return ge="useCallback",vt(),Qt(),s3(e,t)},useContext:function(e){return ge="useContext",vt(),Qt(),Jn(e)},useEffect:function(e,t){return ge="useEffect",vt(),Qt(),g0(e,t)},useImperativeHandle:function(e,t,i){return ge="useImperativeHandle",vt(),Qt(),i3(e,t,i)},useInsertionEffect:function(e,t){return ge="useInsertionEffect",vt(),Qt(),a3(e,t)},useLayoutEffect:function(e,t){return ge="useLayoutEffect",vt(),Qt(),o3(e,t)},useMemo:function(e,t){ge="useMemo",vt(),Qt();var i=Ve.current;Ve.current=Oi;try{return l3(e,t)}finally{Ve.current=i}},useReducer:function(e,t,i){ge="useReducer",vt(),Qt();var u=Ve.current;Ve.current=Oi;try{return Zv(e,t,i)}finally{Ve.current=u}},useRef:function(e){return ge="useRef",vt(),Qt(),r3(e)},useState:function(e){ge="useState",vt(),Qt();var t=Ve.current;Ve.current=Oi;try{return p0(e)}finally{Ve.current=t}},useDebugValue:function(e,t){return ge="useDebugValue",vt(),Qt(),void 0},useDeferredValue:function(e){return ge="useDeferredValue",vt(),Qt(),u3(e)},useTransition:function(){return ge="useTransition",vt(),Qt(),c3()},useMutableSource:function(e,t,i){return ge="useMutableSource",vt(),Qt(),void 0},useSyncExternalStore:function(e,t,i){return ge="useSyncExternalStore",vt(),Qt(),e3(e,t,i)},useId:function(){return ge="useId",vt(),Qt(),d3()},unstable_isNewReconciler:_e},Go={readContext:function(e){return f3(),Jn(e)},useCallback:function(e,t){return ge="useCallback",vt(),Re(),b0(e,t)},useContext:function(e){return ge="useContext",vt(),Re(),Jn(e)},useEffect:function(e,t){return ge="useEffect",vt(),Re(),i1(e,t)},useImperativeHandle:function(e,t,i){return ge="useImperativeHandle",vt(),Re(),T0(e,t,i)},useInsertionEffect:function(e,t){return ge="useInsertionEffect",vt(),Re(),y0(e,t)},useLayoutEffect:function(e,t){return ge="useLayoutEffect",vt(),Re(),v0(e,t)},useMemo:function(e,t){ge="useMemo",vt(),Re();var i=Ve.current;Ve.current=Go;try{return w0(e,t)}finally{Ve.current=i}},useReducer:function(e,t,i){ge="useReducer",vt(),Re();var u=Ve.current;Ve.current=Go;try{return Jv(e,t,i)}finally{Ve.current=u}},useRef:function(e){return ge="useRef",vt(),Re(),m0()},useState:function(e){ge="useState",vt(),Re();var t=Ve.current;Ve.current=Go;try{return t3(e)}finally{Ve.current=t}},useDebugValue:function(e,t){return ge="useDebugValue",vt(),Re(),k0()},useDeferredValue:function(e){return ge="useDeferredValue",vt(),Re(),V6(e)},useTransition:function(){return ge="useTransition",vt(),Re(),G6()},useMutableSource:function(e,t,i){return ge="useMutableSource",vt(),Re(),void 0},useSyncExternalStore:function(e,t,i){return ge="useSyncExternalStore",vt(),Re(),f0(e,t)},useId:function(){return ge="useId",vt(),Re(),S0()},unstable_isNewReconciler:_e},N0={readContext:function(e){return f3(),Jn(e)},useCallback:function(e,t){return ge="useCallback",vt(),Re(),b0(e,t)},useContext:function(e){return ge="useContext",vt(),Re(),Jn(e)},useEffect:function(e,t){return ge="useEffect",vt(),Re(),i1(e,t)},useImperativeHandle:function(e,t,i){return ge="useImperativeHandle",vt(),Re(),T0(e,t,i)},useInsertionEffect:function(e,t){return ge="useInsertionEffect",vt(),Re(),y0(e,t)},useLayoutEffect:function(e,t){return ge="useLayoutEffect",vt(),Re(),v0(e,t)},useMemo:function(e,t){ge="useMemo",vt(),Re();var i=Ve.current;Ve.current=Go;try{return w0(e,t)}finally{Ve.current=i}},useReducer:function(e,t,i){ge="useReducer",vt(),Re();var u=Ve.current;Ve.current=Go;try{return Xv(e,t,i)}finally{Ve.current=u}},useRef:function(e){return ge="useRef",vt(),Re(),m0()},useState:function(e){ge="useState",vt(),Re();var t=Ve.current;Ve.current=Go;try{return n3(e)}finally{Ve.current=t}},useDebugValue:function(e,t){return ge="useDebugValue",vt(),Re(),k0()},useDeferredValue:function(e){return ge="useDeferredValue",vt(),Re(),Y6(e)},useTransition:function(){return ge="useTransition",vt(),Re(),H6()},useMutableSource:function(e,t,i){return ge="useMutableSource",vt(),Re(),void 0},useSyncExternalStore:function(e,t,i){return ge="useSyncExternalStore",vt(),Re(),f0(e,t)},useId:function(){return ge="useId",vt(),Re(),S0()},unstable_isNewReconciler:_e}}var Gl=o.unstable_now,n5=0,M0=-1,s1=-1,I0=-1,p3=!1,_0=!1;function r5(){return p3}function nM(){_0=!0}function rM(){p3=!1,_0=!1}function aM(){p3=_0,_0=!1}function a5(){return n5}function o5(){n5=Gl()}function m3(e){s1=Gl(),e.actualStartTime<0&&(e.actualStartTime=Gl())}function i5(e){s1=-1}function C0(e,t){if(s1>=0){var i=Gl()-s1;e.actualDuration+=i,t&&(e.selfBaseDuration=i),s1=-1}}function xi(e){if(M0>=0){var t=Gl()-M0;M0=-1;for(var i=e.return;i!==null;){switch(i.tag){case R:var u=i.stateNode;u.effectDuration+=t;return;case ue:var h=i.stateNode;h.effectDuration+=t;return}i=i.return}}}function h3(e){if(I0>=0){var t=Gl()-I0;I0=-1;for(var i=e.return;i!==null;){switch(i.tag){case R:var u=i.stateNode;u!==null&&(u.passiveEffectDuration+=t);return;case ue:var h=i.stateNode;h!==null&&(h.passiveEffectDuration+=t);return}i=i.return}}}function Li(){M0=Gl()}function g3(){I0=Gl()}function y3(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function fc(e,t){return{value:e,source:t,stack:bp(t),digest:null}}function v3(e,t,i){return{value:e,source:null,stack:i??null,digest:t??null}}function oM(e,t){return!0}function T3(e,t){try{var i=oM(e,t);if(i===!1)return;var u=t.value,h=t.source,k=t.stack,S=k!==null?k:"";if(u!=null&&u._suppressLogging){if(e.tag===C)return;console.error(u)}var _=h?bt(h):null,A=_?"The above error occurred in the <"+_+"> component:":"The above error occurred in one of your React components:",P;if(e.tag===R)P=`Consider adding an error boundary to your tree to customize error handling behavior.
120
120
  Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.`;else{var z=bt(e)||"Anonymous";P="React will try to recreate this component tree from scratch "+("using the error boundary you provided, "+z+".")}var q=A+`
121
121
  `+S+`
122
122
 
123
- `+(""+P);console.error(q)}catch(H){setTimeout(function(){throw H})}}var iM=typeof WeakMap=="function"?WeakMap:Map;function sk(e,t,i){var u=Ls(Xt,i);u.tag=Tv,u.payload={element:null};var h=t.value;return u.callback=function(){JI(h),T3(e,t)},u}function k3(e,t,i){var u=Ls(Xt,i);u.tag=Tv;var h=e.type.getDerivedStateFromError;if(typeof h=="function"){var k=t.value;u.payload=function(){return h(k)},u.callback=function(){v5(e),T3(e,t)}}var S=e.stateNode;return S!==null&&typeof S.componentDidCatch=="function"&&(u.callback=function(){v5(e),T3(e,t),typeof h!="function"&&KI(this);var _=t.value,A=t.stack;this.componentDidCatch(_,{componentStack:A!==null?A:""}),typeof h!="function"&&($r(e.lanes,ut)||g("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",bt(e)||"Unknown"))}),u}function lk(e,t,i){var u=e.pingCache,h;if(u===null?(u=e.pingCache=new iM,h=new Set,u.set(t,h)):(h=u.get(t),h===void 0&&(h=new Set,u.set(t,h))),!h.has(i)){h.add(i);var k=XI.bind(null,e,t,i);rr&&w1(e,i),t.then(k,k)}}function sM(e,t,i,u){var h=e.updateQueue;if(h===null){var k=new Set;k.add(i),e.updateQueue=k}else h.add(i)}function lM(e,t){var i=e.tag;if((e.mode&Ot)===st&&(i===I||i===te||i===fe)){var u=e.alternate;u?(e.updateQueue=u.updateQueue,e.memoizedState=u.memoizedState,e.lanes=u.lanes):(e.updateQueue=null,e.memoizedState=null)}}function uk(e){var t=e;do{if(t.tag===Z&&HN(t))return t;t=t.return}while(t!==null);return null}function ck(e,t,i,u,h){if((e.mode&Ot)===st){if(e===t)e.flags|=Wn;else{if(e.flags|=mt,i.flags|=Ou,i.flags&=~(id|ra),i.tag===C){var k=i.alternate;if(k===null)i.tag=He;else{var S=Ls(Xt,ut);S.tag=Xg,Fl(i,S,ut)}}i.lanes=Et(i.lanes,ut)}return e}return e.flags|=Wn,e.lanes=h,e}function uM(e,t,i,u,h){if(i.flags|=ra,rr&&w1(e,h),u!==null&&typeof u=="object"&&typeof u.then=="function"){var k=u;lM(i),Ir()&&i.mode&Ot&&e6();var S=uk(t);if(S!==null){S.flags&=~kn,ck(S,t,i,e,h),S.mode&Ot&&lk(e,k,h),sM(S,e,k);return}else{if(!wl(h)){lk(e,k,h),X3();return}var _=new Error("A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.");u=_}}else if(Ir()&&i.mode&Ot){e6();var A=uk(t);if(A!==null){(A.flags&Wn)===nt&&(A.flags|=kn),ck(A,t,i,e,h),fv(fc(u,i));return}}u=fc(u,i),VI(u);var P=t;do{switch(P.tag){case R:{var z=u;P.flags|=Wn;var q=Un(h);P.lanes=Et(P.lanes,q);var H=sk(P,z,q);wv(P,H);return}case C:var ae=u,oe=P.type,me=P.stateNode;if((P.flags&mt)===nt&&(typeof oe.getDerivedStateFromError=="function"||me!==null&&typeof me.componentDidCatch=="function"&&!u5(me))){P.flags|=Wn;var Ue=Un(h);P.lanes=Et(P.lanes,Ue);var Xe=k3(P,ae,Ue);wv(P,Xe);return}break}P=P.return}while(P!==null)}function cM(){return null}var l1=s.ReactCurrentOwner,Ho=!1,b3,u1,w3,S3,E3,pc,N3,A0;b3={},u1={},w3={},S3={},E3={},pc=!1,N3={},A0={};function fa(e,t,i,u){e===null?t.child=_6(t,null,i,u):t.child=vf(t,e.child,i,u)}function dM(e,t,i,u){t.child=vf(t,e.child,null,u),t.child=vf(t,null,i,u)}function dk(e,t,i,u,h){if(t.type!==t.elementType){var k=i.propTypes;k&&Bo(k,u,"prop",Zt(i))}var S=i.render,_=t.ref,A,P;yf(t,h),mi(t);{if(l1.current=t,$a(!0),A=Ef(e,t,S,u,_,h),P=Nf(),t.mode&hn){Pn(!0);try{A=Ef(e,t,S,u,_,h),P=Nf()}finally{Pn(!1)}}$a(!1)}return ls(),e!==null&&!Ho?(L6(e,t,h),Rs(e,t,h)):(Ir()&&P&&iv(t),t.flags|=si,fa(e,t,A,h),t.child)}function fk(e,t,i,u,h){if(e===null){var k=i.type;if(g_(k)&&i.compare===null&&i.defaultProps===void 0){var S=k;return S=Lf(k),t.tag=fe,t.type=S,_3(t,k),pk(e,t,S,u,h)}{var _=k.propTypes;_&&Bo(_,u,"prop",Zt(k))}var A=c4(i.type,null,u,t,t.mode,h);return A.ref=t.ref,A.return=t,t.child=A,A}{var P=i.type,z=P.propTypes;z&&Bo(z,u,"prop",Zt(P))}var q=e.child,H=R3(e,h);if(!H){var ae=q.memoizedProps,oe=i.compare;if(oe=oe!==null?oe:tt,oe(ae,u)&&e.ref===t.ref)return Rs(e,t,h)}t.flags|=si;var me=vc(q,u);return me.ref=t.ref,me.return=t,t.child=me,me}function pk(e,t,i,u,h){if(t.type!==t.elementType){var k=t.elementType;if(k.$$typeof===Er){var S=k,_=S._payload,A=S._init;try{k=A(_)}catch{k=null}var P=k&&k.propTypes;P&&Bo(P,u,"prop",Zt(k))}}if(e!==null){var z=e.memoizedProps;if(tt(z,u)&&e.ref===t.ref&&t.type===e.type)if(Ho=!1,t.pendingProps=u=z,R3(e,h))(e.flags&Ou)!==nt&&(Ho=!0);else return t.lanes=e.lanes,Rs(e,t,h)}return M3(e,t,i,u,h)}function mk(e,t,i){var u=t.pendingProps,h=u.children,k=e!==null?e.memoizedState:null;if(u.mode==="hidden"||xe)if((t.mode&Ot)===st){var S={baseLanes:he,cachePool:null,transitions:null};t.memoizedState=S,Q0(t,i)}else if($r(i,Hr)){var _={baseLanes:he,cachePool:null,transitions:null};t.memoizedState=_;var A=k!==null?k.baseLanes:i;Q0(t,A)}else{var P=null,z;if(k!==null){var q=k.baseLanes;z=Et(q,i)}else z=i;t.lanes=t.childLanes=Hr;var H={baseLanes:z,cachePool:P,transitions:null};return t.memoizedState=H,t.updateQueue=null,Q0(t,z),null}else{var ae;k!==null?(ae=Et(k.baseLanes,i),t.memoizedState=null):ae=i,Q0(t,ae)}return fa(e,t,h,i),t.child}function fM(e,t,i){var u=t.pendingProps;return fa(e,t,u,i),t.child}function pM(e,t,i){var u=t.pendingProps.children;return fa(e,t,u,i),t.child}function mM(e,t,i){{t.flags|=St;{var u=t.stateNode;u.effectDuration=0,u.passiveEffectDuration=0}}var h=t.pendingProps,k=h.children;return fa(e,t,k,i),t.child}function hk(e,t){var i=t.ref;(e===null&&i!==null||e!==null&&e.ref!==i)&&(t.flags|=Br,t.flags|=Kp)}function M3(e,t,i,u,h){if(t.type!==t.elementType){var k=i.propTypes;k&&Bo(k,u,"prop",Zt(i))}var S;{var _=df(t,i,!0);S=ff(t,_)}var A,P;yf(t,h),mi(t);{if(l1.current=t,$a(!0),A=Ef(e,t,i,u,S,h),P=Nf(),t.mode&hn){Pn(!0);try{A=Ef(e,t,i,u,S,h),P=Nf()}finally{Pn(!1)}}$a(!1)}return ls(),e!==null&&!Ho?(L6(e,t,h),Rs(e,t,h)):(Ir()&&P&&iv(t),t.flags|=si,fa(e,t,A,h),t.child)}function gk(e,t,i,u,h){{switch(O_(t)){case!1:{var k=t.stateNode,S=t.type,_=new S(t.memoizedProps,k.context),A=_.state;k.updater.enqueueSetState(k,A,null);break}case!0:{t.flags|=mt,t.flags|=Wn;var P=new Error("Simulated error coming from DevTools"),z=Un(h);t.lanes=Et(t.lanes,z);var q=k3(t,fc(P,t),z);wv(t,q);break}}if(t.type!==t.elementType){var H=i.propTypes;H&&Bo(H,u,"prop",Zt(i))}}var ae;_i(i)?(ae=!0,Vg(t)):ae=!1,yf(t,h);var oe=t.stateNode,me;oe===null?(x0(e,t),S6(t,i,u),Rv(t,i,u,h),me=!0):e===null?me=BN(t,i,u,h):me=FN(e,t,i,u,h);var Ue=I3(e,t,i,me,ae,h);{var Xe=t.stateNode;me&&Xe.props!==u&&(pc||g("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",bt(t)||"a component"),pc=!0)}return Ue}function I3(e,t,i,u,h,k){hk(e,t);var S=(t.flags&mt)!==nt;if(!u&&!S)return h&&K8(t,i,!1),Rs(e,t,k);var _=t.stateNode;l1.current=t;var A;if(S&&typeof i.getDerivedStateFromError!="function")A=null,ik();else{mi(t);{if($a(!0),A=_.render(),t.mode&hn){Pn(!0);try{_.render()}finally{Pn(!1)}}$a(!1)}ls()}return t.flags|=si,e!==null&&S?dM(e,t,A,k):fa(e,t,A,k),t.memoizedState=_.state,h&&K8(t,i,!0),t.child}function yk(e){var t=e.stateNode;t.pendingContext?q8(e,t.pendingContext,t.pendingContext!==t.context):t.context&&q8(e,t.context,!1),Bv(e,t.containerInfo)}function hM(e,t,i){if(yk(t),e===null)throw new Error("Should have a current fiber. This is a bug in React.");var u=t.pendingProps,h=t.memoizedState,k=h.element;h6(e,t),r0(t,u,null,i);var S=t.memoizedState;t.stateNode;var _=S.element;if(h.isDehydrated){var A={element:_,isDehydrated:!1,cache:S.cache,pendingSuspenseBoundaries:S.pendingSuspenseBoundaries,transitions:S.transitions},P=t.updateQueue;if(P.baseState=A,t.memoizedState=A,t.flags&kn){var z=fc(new Error("There was an error while hydrating. Because the error happened outside of a Suspense boundary, the entire root will switch to client rendering."),t);return vk(e,t,_,i,z)}else if(_!==k){var q=fc(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t);return vk(e,t,_,i,q)}else{TN(t);var H=_6(t,null,_,i);t.child=H;for(var ae=H;ae;)ae.flags=ae.flags&~on|Ma,ae=ae.sibling}}else{if(hf(),_===k)return Rs(e,t,i);fa(e,t,_,i)}return t.child}function vk(e,t,i,u,h){return hf(),fv(h),t.flags|=kn,fa(e,t,i,u),t.child}function gM(e,t,i){A6(t),e===null&&dv(t);var u=t.type,h=t.pendingProps,k=e!==null?e.memoizedProps:null,S=h.children,_=H2(u,h);return _?S=null:k!==null&&H2(u,k)&&(t.flags|=Yt),hk(e,t),fa(e,t,S,i),t.child}function yM(e,t){return e===null&&dv(t),null}function vM(e,t,i,u){x0(e,t);var h=t.pendingProps,k=i,S=k._payload,_=k._init,A=_(S);t.type=A;var P=t.tag=y_(A),z=Yo(A,h),q;switch(P){case I:return _3(t,A),t.type=A=Lf(A),q=M3(null,t,A,z,u),q;case C:return t.type=A=a4(A),q=gk(null,t,A,z,u),q;case te:return t.type=A=o4(A),q=dk(null,t,A,z,u),q;case ye:{if(t.type!==t.elementType){var H=A.propTypes;H&&Bo(H,z,"prop",Zt(A))}return q=fk(null,t,A,Yo(A.type,z),u),q}}var ae="";throw A!==null&&typeof A=="object"&&A.$$typeof===Er&&(ae=" Did you wrap a component in React.lazy() more than once?"),new Error("Element type is invalid. Received a promise that resolves to: "+A+". "+("Lazy element type must resolve to a class or function."+ae))}function TM(e,t,i,u,h){x0(e,t),t.tag=C;var k;return _i(i)?(k=!0,Vg(t)):k=!1,yf(t,h),S6(t,i,u),Rv(t,i,u,h),I3(null,t,i,!0,k,h)}function kM(e,t,i,u){x0(e,t);var h=t.pendingProps,k;{var S=df(t,i,!1);k=ff(t,S)}yf(t,u);var _,A;mi(t);{if(i.prototype&&typeof i.prototype.render=="function"){var P=Zt(i)||"Unknown";b3[P]||(g("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",P,P),b3[P]=!0)}t.mode&hn&&Vo.recordLegacyContextWarning(t,null),$a(!0),l1.current=t,_=Ef(null,t,i,h,k,u),A=Nf(),$a(!1)}if(ls(),t.flags|=si,typeof _=="object"&&_!==null&&typeof _.render=="function"&&_.$$typeof===void 0){var z=Zt(i)||"Unknown";u1[z]||(g("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",z,z,z),u1[z]=!0)}if(typeof _=="object"&&_!==null&&typeof _.render=="function"&&_.$$typeof===void 0){{var q=Zt(i)||"Unknown";u1[q]||(g("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",q,q,q),u1[q]=!0)}t.tag=C,t.memoizedState=null,t.updateQueue=null;var H=!1;return _i(i)?(H=!0,Vg(t)):H=!1,t.memoizedState=_.state!==null&&_.state!==void 0?_.state:null,bv(t),w6(t,_),Rv(t,i,h,u),I3(null,t,i,!0,H,u)}else{if(t.tag=I,t.mode&hn){Pn(!0);try{_=Ef(null,t,i,h,k,u),A=Nf()}finally{Pn(!1)}}return Ir()&&A&&iv(t),fa(null,t,_,u),_3(t,i),t.child}}function _3(e,t){{if(t&&t.childContextTypes&&g("%s(...): childContextTypes cannot be defined on a function component.",t.displayName||t.name||"Component"),e.ref!==null){var i="",u=wa();u&&(i+=`
123
+ `+(""+P);console.error(q)}catch(H){setTimeout(function(){throw H})}}var iM=typeof WeakMap=="function"?WeakMap:Map;function s5(e,t,i){var u=Ls(Xt,i);u.tag=Tv,u.payload={element:null};var h=t.value;return u.callback=function(){JI(h),T3(e,t)},u}function k3(e,t,i){var u=Ls(Xt,i);u.tag=Tv;var h=e.type.getDerivedStateFromError;if(typeof h=="function"){var k=t.value;u.payload=function(){return h(k)},u.callback=function(){vk(e),T3(e,t)}}var S=e.stateNode;return S!==null&&typeof S.componentDidCatch=="function"&&(u.callback=function(){vk(e),T3(e,t),typeof h!="function"&&KI(this);var _=t.value,A=t.stack;this.componentDidCatch(_,{componentStack:A!==null?A:""}),typeof h!="function"&&($r(e.lanes,ut)||g("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",bt(e)||"Unknown"))}),u}function l5(e,t,i){var u=e.pingCache,h;if(u===null?(u=e.pingCache=new iM,h=new Set,u.set(t,h)):(h=u.get(t),h===void 0&&(h=new Set,u.set(t,h))),!h.has(i)){h.add(i);var k=XI.bind(null,e,t,i);rr&&w1(e,i),t.then(k,k)}}function sM(e,t,i,u){var h=e.updateQueue;if(h===null){var k=new Set;k.add(i),e.updateQueue=k}else h.add(i)}function lM(e,t){var i=e.tag;if((e.mode&Ot)===st&&(i===I||i===te||i===fe)){var u=e.alternate;u?(e.updateQueue=u.updateQueue,e.memoizedState=u.memoizedState,e.lanes=u.lanes):(e.updateQueue=null,e.memoizedState=null)}}function u5(e){var t=e;do{if(t.tag===Z&&HN(t))return t;t=t.return}while(t!==null);return null}function c5(e,t,i,u,h){if((e.mode&Ot)===st){if(e===t)e.flags|=Wn;else{if(e.flags|=mt,i.flags|=Ou,i.flags&=~(id|ra),i.tag===C){var k=i.alternate;if(k===null)i.tag=He;else{var S=Ls(Xt,ut);S.tag=Xg,Fl(i,S,ut)}}i.lanes=Et(i.lanes,ut)}return e}return e.flags|=Wn,e.lanes=h,e}function uM(e,t,i,u,h){if(i.flags|=ra,rr&&w1(e,h),u!==null&&typeof u=="object"&&typeof u.then=="function"){var k=u;lM(i),Ir()&&i.mode&Ot&&e6();var S=u5(t);if(S!==null){S.flags&=~kn,c5(S,t,i,e,h),S.mode&Ot&&l5(e,k,h),sM(S,e,k);return}else{if(!wl(h)){l5(e,k,h),X3();return}var _=new Error("A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.");u=_}}else if(Ir()&&i.mode&Ot){e6();var A=u5(t);if(A!==null){(A.flags&Wn)===nt&&(A.flags|=kn),c5(A,t,i,e,h),fv(fc(u,i));return}}u=fc(u,i),VI(u);var P=t;do{switch(P.tag){case R:{var z=u;P.flags|=Wn;var q=Un(h);P.lanes=Et(P.lanes,q);var H=s5(P,z,q);wv(P,H);return}case C:var ae=u,oe=P.type,me=P.stateNode;if((P.flags&mt)===nt&&(typeof oe.getDerivedStateFromError=="function"||me!==null&&typeof me.componentDidCatch=="function"&&!uk(me))){P.flags|=Wn;var Ue=Un(h);P.lanes=Et(P.lanes,Ue);var Xe=k3(P,ae,Ue);wv(P,Xe);return}break}P=P.return}while(P!==null)}function cM(){return null}var l1=s.ReactCurrentOwner,Ho=!1,b3,u1,w3,S3,E3,pc,N3,A0;b3={},u1={},w3={},S3={},E3={},pc=!1,N3={},A0={};function fa(e,t,i,u){e===null?t.child=_6(t,null,i,u):t.child=vf(t,e.child,i,u)}function dM(e,t,i,u){t.child=vf(t,e.child,null,u),t.child=vf(t,null,i,u)}function d5(e,t,i,u,h){if(t.type!==t.elementType){var k=i.propTypes;k&&Bo(k,u,"prop",Zt(i))}var S=i.render,_=t.ref,A,P;yf(t,h),mi(t);{if(l1.current=t,$a(!0),A=Ef(e,t,S,u,_,h),P=Nf(),t.mode&hn){Pn(!0);try{A=Ef(e,t,S,u,_,h),P=Nf()}finally{Pn(!1)}}$a(!1)}return ls(),e!==null&&!Ho?(L6(e,t,h),Rs(e,t,h)):(Ir()&&P&&iv(t),t.flags|=si,fa(e,t,A,h),t.child)}function f5(e,t,i,u,h){if(e===null){var k=i.type;if(g_(k)&&i.compare===null&&i.defaultProps===void 0){var S=k;return S=Lf(k),t.tag=fe,t.type=S,_3(t,k),p5(e,t,S,u,h)}{var _=k.propTypes;_&&Bo(_,u,"prop",Zt(k))}var A=c4(i.type,null,u,t,t.mode,h);return A.ref=t.ref,A.return=t,t.child=A,A}{var P=i.type,z=P.propTypes;z&&Bo(z,u,"prop",Zt(P))}var q=e.child,H=R3(e,h);if(!H){var ae=q.memoizedProps,oe=i.compare;if(oe=oe!==null?oe:tt,oe(ae,u)&&e.ref===t.ref)return Rs(e,t,h)}t.flags|=si;var me=vc(q,u);return me.ref=t.ref,me.return=t,t.child=me,me}function p5(e,t,i,u,h){if(t.type!==t.elementType){var k=t.elementType;if(k.$$typeof===Er){var S=k,_=S._payload,A=S._init;try{k=A(_)}catch{k=null}var P=k&&k.propTypes;P&&Bo(P,u,"prop",Zt(k))}}if(e!==null){var z=e.memoizedProps;if(tt(z,u)&&e.ref===t.ref&&t.type===e.type)if(Ho=!1,t.pendingProps=u=z,R3(e,h))(e.flags&Ou)!==nt&&(Ho=!0);else return t.lanes=e.lanes,Rs(e,t,h)}return M3(e,t,i,u,h)}function m5(e,t,i){var u=t.pendingProps,h=u.children,k=e!==null?e.memoizedState:null;if(u.mode==="hidden"||xe)if((t.mode&Ot)===st){var S={baseLanes:he,cachePool:null,transitions:null};t.memoizedState=S,Q0(t,i)}else if($r(i,Hr)){var _={baseLanes:he,cachePool:null,transitions:null};t.memoizedState=_;var A=k!==null?k.baseLanes:i;Q0(t,A)}else{var P=null,z;if(k!==null){var q=k.baseLanes;z=Et(q,i)}else z=i;t.lanes=t.childLanes=Hr;var H={baseLanes:z,cachePool:P,transitions:null};return t.memoizedState=H,t.updateQueue=null,Q0(t,z),null}else{var ae;k!==null?(ae=Et(k.baseLanes,i),t.memoizedState=null):ae=i,Q0(t,ae)}return fa(e,t,h,i),t.child}function fM(e,t,i){var u=t.pendingProps;return fa(e,t,u,i),t.child}function pM(e,t,i){var u=t.pendingProps.children;return fa(e,t,u,i),t.child}function mM(e,t,i){{t.flags|=St;{var u=t.stateNode;u.effectDuration=0,u.passiveEffectDuration=0}}var h=t.pendingProps,k=h.children;return fa(e,t,k,i),t.child}function h5(e,t){var i=t.ref;(e===null&&i!==null||e!==null&&e.ref!==i)&&(t.flags|=Br,t.flags|=Kp)}function M3(e,t,i,u,h){if(t.type!==t.elementType){var k=i.propTypes;k&&Bo(k,u,"prop",Zt(i))}var S;{var _=df(t,i,!0);S=ff(t,_)}var A,P;yf(t,h),mi(t);{if(l1.current=t,$a(!0),A=Ef(e,t,i,u,S,h),P=Nf(),t.mode&hn){Pn(!0);try{A=Ef(e,t,i,u,S,h),P=Nf()}finally{Pn(!1)}}$a(!1)}return ls(),e!==null&&!Ho?(L6(e,t,h),Rs(e,t,h)):(Ir()&&P&&iv(t),t.flags|=si,fa(e,t,A,h),t.child)}function g5(e,t,i,u,h){{switch(O_(t)){case!1:{var k=t.stateNode,S=t.type,_=new S(t.memoizedProps,k.context),A=_.state;k.updater.enqueueSetState(k,A,null);break}case!0:{t.flags|=mt,t.flags|=Wn;var P=new Error("Simulated error coming from DevTools"),z=Un(h);t.lanes=Et(t.lanes,z);var q=k3(t,fc(P,t),z);wv(t,q);break}}if(t.type!==t.elementType){var H=i.propTypes;H&&Bo(H,u,"prop",Zt(i))}}var ae;_i(i)?(ae=!0,Vg(t)):ae=!1,yf(t,h);var oe=t.stateNode,me;oe===null?(x0(e,t),S6(t,i,u),Rv(t,i,u,h),me=!0):e===null?me=BN(t,i,u,h):me=FN(e,t,i,u,h);var Ue=I3(e,t,i,me,ae,h);{var Xe=t.stateNode;me&&Xe.props!==u&&(pc||g("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",bt(t)||"a component"),pc=!0)}return Ue}function I3(e,t,i,u,h,k){h5(e,t);var S=(t.flags&mt)!==nt;if(!u&&!S)return h&&K8(t,i,!1),Rs(e,t,k);var _=t.stateNode;l1.current=t;var A;if(S&&typeof i.getDerivedStateFromError!="function")A=null,i5();else{mi(t);{if($a(!0),A=_.render(),t.mode&hn){Pn(!0);try{_.render()}finally{Pn(!1)}}$a(!1)}ls()}return t.flags|=si,e!==null&&S?dM(e,t,A,k):fa(e,t,A,k),t.memoizedState=_.state,h&&K8(t,i,!0),t.child}function y5(e){var t=e.stateNode;t.pendingContext?q8(e,t.pendingContext,t.pendingContext!==t.context):t.context&&q8(e,t.context,!1),Bv(e,t.containerInfo)}function hM(e,t,i){if(y5(t),e===null)throw new Error("Should have a current fiber. This is a bug in React.");var u=t.pendingProps,h=t.memoizedState,k=h.element;h6(e,t),r0(t,u,null,i);var S=t.memoizedState;t.stateNode;var _=S.element;if(h.isDehydrated){var A={element:_,isDehydrated:!1,cache:S.cache,pendingSuspenseBoundaries:S.pendingSuspenseBoundaries,transitions:S.transitions},P=t.updateQueue;if(P.baseState=A,t.memoizedState=A,t.flags&kn){var z=fc(new Error("There was an error while hydrating. Because the error happened outside of a Suspense boundary, the entire root will switch to client rendering."),t);return v5(e,t,_,i,z)}else if(_!==k){var q=fc(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t);return v5(e,t,_,i,q)}else{TN(t);var H=_6(t,null,_,i);t.child=H;for(var ae=H;ae;)ae.flags=ae.flags&~on|Ma,ae=ae.sibling}}else{if(hf(),_===k)return Rs(e,t,i);fa(e,t,_,i)}return t.child}function v5(e,t,i,u,h){return hf(),fv(h),t.flags|=kn,fa(e,t,i,u),t.child}function gM(e,t,i){A6(t),e===null&&dv(t);var u=t.type,h=t.pendingProps,k=e!==null?e.memoizedProps:null,S=h.children,_=H2(u,h);return _?S=null:k!==null&&H2(u,k)&&(t.flags|=Yt),h5(e,t),fa(e,t,S,i),t.child}function yM(e,t){return e===null&&dv(t),null}function vM(e,t,i,u){x0(e,t);var h=t.pendingProps,k=i,S=k._payload,_=k._init,A=_(S);t.type=A;var P=t.tag=y_(A),z=Yo(A,h),q;switch(P){case I:return _3(t,A),t.type=A=Lf(A),q=M3(null,t,A,z,u),q;case C:return t.type=A=a4(A),q=g5(null,t,A,z,u),q;case te:return t.type=A=o4(A),q=d5(null,t,A,z,u),q;case ye:{if(t.type!==t.elementType){var H=A.propTypes;H&&Bo(H,z,"prop",Zt(A))}return q=f5(null,t,A,Yo(A.type,z),u),q}}var ae="";throw A!==null&&typeof A=="object"&&A.$$typeof===Er&&(ae=" Did you wrap a component in React.lazy() more than once?"),new Error("Element type is invalid. Received a promise that resolves to: "+A+". "+("Lazy element type must resolve to a class or function."+ae))}function TM(e,t,i,u,h){x0(e,t),t.tag=C;var k;return _i(i)?(k=!0,Vg(t)):k=!1,yf(t,h),S6(t,i,u),Rv(t,i,u,h),I3(null,t,i,!0,k,h)}function kM(e,t,i,u){x0(e,t);var h=t.pendingProps,k;{var S=df(t,i,!1);k=ff(t,S)}yf(t,u);var _,A;mi(t);{if(i.prototype&&typeof i.prototype.render=="function"){var P=Zt(i)||"Unknown";b3[P]||(g("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",P,P),b3[P]=!0)}t.mode&hn&&Vo.recordLegacyContextWarning(t,null),$a(!0),l1.current=t,_=Ef(null,t,i,h,k,u),A=Nf(),$a(!1)}if(ls(),t.flags|=si,typeof _=="object"&&_!==null&&typeof _.render=="function"&&_.$$typeof===void 0){var z=Zt(i)||"Unknown";u1[z]||(g("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",z,z,z),u1[z]=!0)}if(typeof _=="object"&&_!==null&&typeof _.render=="function"&&_.$$typeof===void 0){{var q=Zt(i)||"Unknown";u1[q]||(g("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",q,q,q),u1[q]=!0)}t.tag=C,t.memoizedState=null,t.updateQueue=null;var H=!1;return _i(i)?(H=!0,Vg(t)):H=!1,t.memoizedState=_.state!==null&&_.state!==void 0?_.state:null,bv(t),w6(t,_),Rv(t,i,h,u),I3(null,t,i,!0,H,u)}else{if(t.tag=I,t.mode&hn){Pn(!0);try{_=Ef(null,t,i,h,k,u),A=Nf()}finally{Pn(!1)}}return Ir()&&A&&iv(t),fa(null,t,_,u),_3(t,i),t.child}}function _3(e,t){{if(t&&t.childContextTypes&&g("%s(...): childContextTypes cannot be defined on a function component.",t.displayName||t.name||"Component"),e.ref!==null){var i="",u=wa();u&&(i+=`
124
124
 
125
- Check the render method of \``+u+"`.");var h=u||"",k=e._debugSource;k&&(h=k.fileName+":"+k.lineNumber),E3[h]||(E3[h]=!0,g("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s",i))}if(typeof t.getDerivedStateFromProps=="function"){var S=Zt(t)||"Unknown";S3[S]||(g("%s: Function components do not support getDerivedStateFromProps.",S),S3[S]=!0)}if(typeof t.contextType=="object"&&t.contextType!==null){var _=Zt(t)||"Unknown";w3[_]||(g("%s: Function components do not support contextType.",_),w3[_]=!0)}}}var C3={dehydrated:null,treeContext:null,retryLane:Pt};function A3(e){return{baseLanes:e,cachePool:cM(),transitions:null}}function bM(e,t){var i=null;return{baseLanes:Et(e.baseLanes,t),cachePool:i,transitions:e.transitions}}function wM(e,t,i,u){if(t!==null){var h=t.memoizedState;if(h===null)return!1}return Yv(e,e1)}function SM(e,t){return Sl(e.childLanes,t)}function Tk(e,t,i){var u=t.pendingProps;x_(t)&&(t.flags|=mt);var h=Qo.current,k=!1,S=(t.flags&mt)!==nt;if(S||wM(h,e)?(k=!0,t.flags&=~mt):(e===null||e.memoizedState!==null)&&(h=GN(h,x6)),h=kf(h),Yl(t,h),e===null){dv(t);var _=t.memoizedState;if(_!==null){var A=_.dehydrated;if(A!==null)return _M(t,A)}var P=u.children,z=u.fallback;if(k){var q=EM(t,P,z,i),H=t.child;return H.memoizedState=A3(i),t.memoizedState=C3,q}else return O3(t,P)}else{var ae=e.memoizedState;if(ae!==null){var oe=ae.dehydrated;if(oe!==null)return CM(e,t,S,u,oe,ae,i)}if(k){var me=u.fallback,Ue=u.children,Xe=MM(e,t,Ue,me,i),it=t.child,Lt=e.child.memoizedState;return it.memoizedState=Lt===null?A3(i):bM(Lt,i),it.childLanes=SM(e,i),t.memoizedState=C3,Xe}else{var _t=u.children,ee=NM(e,t,_t,i);return t.memoizedState=null,ee}}}function O3(e,t,i){var u=e.mode,h={mode:"visible",children:t},k=x3(h,u);return k.return=e,e.child=k,k}function EM(e,t,i,u){var h=e.mode,k=e.child,S={mode:"hidden",children:t},_,A;return(h&Ot)===st&&k!==null?(_=k,_.childLanes=he,_.pendingProps=S,e.mode&lt&&(_.actualDuration=0,_.actualStartTime=-1,_.selfBaseDuration=0,_.treeBaseDuration=0),A=Zl(i,h,u,null)):(_=x3(S,h),A=Zl(i,h,u,null)),_.return=e,A.return=e,_.sibling=A,e.child=_,A}function x3(e,t,i){return T5(e,t,he,null)}function kk(e,t){return vc(e,t)}function NM(e,t,i,u){var h=e.child,k=h.sibling,S=kk(h,{mode:"visible",children:i});if((t.mode&Ot)===st&&(S.lanes=u),S.return=t,S.sibling=null,k!==null){var _=t.deletions;_===null?(t.deletions=[k],t.flags|=Vt):_.push(k)}return t.child=S,S}function MM(e,t,i,u,h){var k=t.mode,S=e.child,_=S.sibling,A={mode:"hidden",children:i},P;if((k&Ot)===st&&t.child!==S){var z=t.child;P=z,P.childLanes=he,P.pendingProps=A,t.mode&lt&&(P.actualDuration=0,P.actualStartTime=-1,P.selfBaseDuration=S.selfBaseDuration,P.treeBaseDuration=S.treeBaseDuration),t.deletions=null}else P=kk(S,A),P.subtreeFlags=S.subtreeFlags&nr;var q;return _!==null?q=vc(_,u):(q=Zl(u,k,h,null),q.flags|=on),q.return=t,P.return=t,P.sibling=q,t.child=P,q}function O0(e,t,i,u){u!==null&&fv(u),vf(t,e.child,null,i);var h=t.pendingProps,k=h.children,S=O3(t,k);return S.flags|=on,t.memoizedState=null,S}function IM(e,t,i,u,h){var k=t.mode,S={mode:"visible",children:i},_=x3(S,k),A=Zl(u,k,h,null);return A.flags|=on,_.return=t,A.return=t,_.sibling=A,t.child=_,(t.mode&Ot)!==st&&vf(t,e.child,null,h),A}function _M(e,t,i){return(e.mode&Ot)===st?(g("Cannot hydrate Suspense in legacy mode. Switch from ReactDOM.hydrate(element, container) to ReactDOMClient.hydrateRoot(container, <App />).render(element) or remove the Suspense components from the server rendered components."),e.lanes=ut):K2(t)?e.lanes=ds:e.lanes=Hr,null}function CM(e,t,i,u,h,k,S){if(i)if(t.flags&kn){t.flags&=~kn;var _=v3(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return O0(e,t,S,_)}else{if(t.memoizedState!==null)return t.child=e.child,t.flags|=mt,null;var A=u.children,P=u.fallback,z=IM(e,t,A,P,S),q=t.child;return q.memoizedState=A3(S),t.memoizedState=C3,z}else{if(yN(),(t.mode&Ot)===st)return O0(e,t,S,null);if(K2(h)){var H,ae,oe;{var me=RE(h);H=me.digest,ae=me.message,oe=me.stack}var Ue;ae?Ue=new Error(ae):Ue=new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.");var Xe=v3(Ue,H,oe);return O0(e,t,S,Xe)}var it=$r(S,e.childLanes);if(Ho||it){var Lt=Y0();if(Lt!==null){var _t=zd(Lt,S);if(_t!==Pt&&_t!==k.retryLane){k.retryLane=_t;var ee=Xt;Pa(e,_t),mr(Lt,e,_t,ee)}}X3();var pe=v3(new Error("This Suspense boundary received an update before it finished hydrating. This caused the boundary to switch to client rendering. The usual way to fix this is to wrap the original update in startTransition."));return O0(e,t,S,pe)}else if(V8(h)){t.flags|=mt,t.child=e.child;var ne=e_.bind(null,e);return DE(h,ne),null}else{kN(t,h,k.treeContext);var Me=u.children,Ye=O3(t,Me);return Ye.flags|=Ma,Ye}}}function bk(e,t,i){e.lanes=Et(e.lanes,t);var u=e.alternate;u!==null&&(u.lanes=Et(u.lanes,t)),yv(e.return,t,i)}function AM(e,t,i){for(var u=t;u!==null;){if(u.tag===Z){var h=u.memoizedState;h!==null&&bk(u,i,e)}else if(u.tag===ct)bk(u,i,e);else if(u.child!==null){u.child.return=u,u=u.child;continue}if(u===e)return;for(;u.sibling===null;){if(u.return===null||u.return===e)return;u=u.return}u.sibling.return=u.return,u=u.sibling}}function OM(e){for(var t=e,i=null;t!==null;){var u=t.alternate;u!==null&&c0(u)===null&&(i=t),t=t.sibling}return i}function xM(e){if(e!==void 0&&e!=="forwards"&&e!=="backwards"&&e!=="together"&&!N3[e])if(N3[e]=!0,typeof e=="string")switch(e.toLowerCase()){case"together":case"forwards":case"backwards":{g('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',e,e.toLowerCase());break}case"forward":case"backward":{g('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',e,e.toLowerCase());break}default:g('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e);break}else g('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e)}function LM(e,t){e!==void 0&&!A0[e]&&(e!=="collapsed"&&e!=="hidden"?(A0[e]=!0,g('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',e)):t!=="forwards"&&t!=="backwards"&&(A0[e]=!0,g('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',e)))}function wk(e,t){{var i=$n(e),u=!i&&typeof Mo(e)=="function";if(i||u){var h=i?"array":"iterable";return g("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",h,t,h),!1}}return!0}function RM(e,t){if((t==="forwards"||t==="backwards")&&e!==void 0&&e!==null&&e!==!1)if($n(e)){for(var i=0;i<e.length;i++)if(!wk(e[i],i))return}else{var u=Mo(e);if(typeof u=="function"){var h=u.call(e);if(h)for(var k=h.next(),S=0;!k.done;k=h.next()){if(!wk(k.value,S))return;S++}}else g('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',t)}}function L3(e,t,i,u,h){var k=e.memoizedState;k===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:u,tail:i,tailMode:h}:(k.isBackwards=t,k.rendering=null,k.renderingStartTime=0,k.last=u,k.tail=i,k.tailMode=h)}function Sk(e,t,i){var u=t.pendingProps,h=u.revealOrder,k=u.tail,S=u.children;xM(h),LM(k,h),RM(S,h),fa(e,t,S,i);var _=Qo.current,A=Yv(_,e1);if(A)_=Qv(_,e1),t.flags|=mt;else{var P=e!==null&&(e.flags&mt)!==nt;P&&AM(t,t.child,i),_=kf(_)}if(Yl(t,_),(t.mode&Ot)===st)t.memoizedState=null;else switch(h){case"forwards":{var z=OM(t.child),q;z===null?(q=t.child,t.child=null):(q=z.sibling,z.sibling=null),L3(t,!1,q,z,k);break}case"backwards":{var H=null,ae=t.child;for(t.child=null;ae!==null;){var oe=ae.alternate;if(oe!==null&&c0(oe)===null){t.child=ae;break}var me=ae.sibling;ae.sibling=H,H=ae,ae=me}L3(t,!0,H,null,k);break}case"together":{L3(t,!1,null,null,void 0);break}default:t.memoizedState=null}return t.child}function DM(e,t,i){Bv(t,t.stateNode.containerInfo);var u=t.pendingProps;return e===null?t.child=vf(t,null,u,i):fa(e,t,u,i),t.child}var Ek=!1;function PM(e,t,i){var u=t.type,h=u._context,k=t.pendingProps,S=t.memoizedProps,_=k.value;{"value"in k||Ek||(Ek=!0,g("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?"));var A=t.type.propTypes;A&&Bo(A,k,"prop","Context.Provider")}if(d6(t,h,_),S!==null){var P=S.value;if(Be(P,_)){if(S.children===k.children&&!Bg())return Rs(e,t,i)}else AN(t,h,i)}var z=k.children;return fa(e,t,z,i),t.child}var Nk=!1;function UM(e,t,i){var u=t.type;u._context===void 0?u!==u.Consumer&&(Nk||(Nk=!0,g("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):u=u._context;var h=t.pendingProps,k=h.children;typeof k!="function"&&g("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),yf(t,i);var S=Jn(u);mi(t);var _;return l1.current=t,$a(!0),_=k(S),$a(!1),ls(),t.flags|=si,fa(e,t,_,i),t.child}function c1(){Ho=!0}function x0(e,t){(t.mode&Ot)===st&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=on)}function Rs(e,t,i){return e!==null&&(t.dependencies=e.dependencies),ik(),b1(t.lanes),$r(i,t.childLanes)?(VN(e,t),t.child):null}function jM(e,t,i){{var u=t.return;if(u===null)throw new Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,i.index=t.index,i.sibling=t.sibling,i.return=t.return,i.ref=t.ref,t===u.child)u.child=i;else{var h=u.child;if(h===null)throw new Error("Expected parent to have a child.");for(;h.sibling!==t;)if(h=h.sibling,h===null)throw new Error("Expected to find the previous sibling.");h.sibling=i}var k=u.deletions;return k===null?(u.deletions=[e],u.flags|=Vt):k.push(e),i.flags|=on,i}}function R3(e,t){var i=e.lanes;return!!$r(i,t)}function zM(e,t,i){switch(t.tag){case R:yk(t),t.stateNode,hf();break;case j:A6(t);break;case C:{var u=t.type;_i(u)&&Vg(t);break}case x:Bv(t,t.stateNode.containerInfo);break;case se:{var h=t.memoizedProps.value,k=t.type._context;d6(t,k,h);break}case ue:{var S=$r(i,t.childLanes);S&&(t.flags|=St);{var _=t.stateNode;_.effectDuration=0,_.passiveEffectDuration=0}}break;case Z:{var A=t.memoizedState;if(A!==null){if(A.dehydrated!==null)return Yl(t,kf(Qo.current)),t.flags|=mt,null;var P=t.child,z=P.childLanes;if($r(i,z))return Tk(e,t,i);Yl(t,kf(Qo.current));var q=Rs(e,t,i);return q!==null?q.sibling:null}else Yl(t,kf(Qo.current));break}case ct:{var H=(e.flags&mt)!==nt,ae=$r(i,t.childLanes);if(H){if(ae)return Sk(e,t,i);t.flags|=mt}var oe=t.memoizedState;if(oe!==null&&(oe.rendering=null,oe.tail=null,oe.lastEffect=null),Yl(t,Qo.current),ae)break;return null}case $e:case at:return t.lanes=he,mk(e,t,i)}return Rs(e,t,i)}function Mk(e,t,i){if(t._debugNeedsRemount&&e!==null)return jM(e,t,c4(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes));if(e!==null){var u=e.memoizedProps,h=t.pendingProps;if(u!==h||Bg()||t.type!==e.type)Ho=!0;else{var k=R3(e,i);if(!k&&(t.flags&mt)===nt)return Ho=!1,zM(e,t,i);(e.flags&Ou)!==nt?Ho=!0:Ho=!1}}else if(Ho=!1,Ir()&&dN(t)){var S=t.index,_=fN();X8(t,_,S)}switch(t.lanes=he,t.tag){case D:return kM(e,t,t.type,i);case De:{var A=t.elementType;return vM(e,t,A,i)}case I:{var P=t.type,z=t.pendingProps,q=t.elementType===P?z:Yo(P,z);return M3(e,t,P,q,i)}case C:{var H=t.type,ae=t.pendingProps,oe=t.elementType===H?ae:Yo(H,ae);return gk(e,t,H,oe,i)}case R:return hM(e,t,i);case j:return gM(e,t,i);case Q:return yM(e,t);case Z:return Tk(e,t,i);case x:return DM(e,t,i);case te:{var me=t.type,Ue=t.pendingProps,Xe=t.elementType===me?Ue:Yo(me,Ue);return dk(e,t,me,Xe,i)}case W:return fM(e,t,i);case le:return pM(e,t,i);case ue:return mM(e,t,i);case se:return PM(e,t,i);case G:return UM(e,t,i);case ye:{var it=t.type,Lt=t.pendingProps,_t=Yo(it,Lt);if(t.type!==t.elementType){var ee=it.propTypes;ee&&Bo(ee,_t,"prop",Zt(it))}return _t=Yo(it.type,_t),fk(e,t,it,_t,i)}case fe:return pk(e,t,t.type,t.pendingProps,i);case He:{var pe=t.type,ne=t.pendingProps,Me=t.elementType===pe?ne:Yo(pe,ne);return TM(e,t,pe,Me,i)}case ct:return Sk(e,t,i);case yt:break;case $e:return mk(e,t,i)}throw new Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Mf(e){e.flags|=St}function Ik(e){e.flags|=Br,e.flags|=Kp}var _k,D3,Ck,Ak;_k=function(e,t,i,u){for(var h=t.child;h!==null;){if(h.tag===j||h.tag===Q)lE(e,h.stateNode);else if(h.tag!==x&&h.child!==null){h.child.return=h,h=h.child;continue}if(h===t)return;for(;h.sibling===null;){if(h.return===null||h.return===t)return;h=h.return}h.sibling.return=h.return,h=h.sibling}},D3=function(e,t){},Ck=function(e,t,i,u,h){var k=e.memoizedProps;if(k!==u){var S=t.stateNode,_=Fv(),A=cE(S,i,k,u,h,_);t.updateQueue=A,A&&Mf(t)}},Ak=function(e,t,i,u){i!==u&&Mf(t)};function d1(e,t){if(!Ir())switch(e.tailMode){case"hidden":{for(var i=e.tail,u=null;i!==null;)i.alternate!==null&&(u=i),i=i.sibling;u===null?e.tail=null:u.sibling=null;break}case"collapsed":{for(var h=e.tail,k=null;h!==null;)h.alternate!==null&&(k=h),h=h.sibling;k===null?!t&&e.tail!==null?e.tail.sibling=null:e.tail=null:k.sibling=null;break}}}function Cr(e){var t=e.alternate!==null&&e.alternate.child===e.child,i=he,u=nt;if(t){if((e.mode&lt)!==st){for(var h=e.selfBaseDuration,k=e.child;k!==null;)i=Et(i,Et(k.lanes,k.childLanes)),u|=k.subtreeFlags&nr,u|=k.flags&nr,h+=k.treeBaseDuration,k=k.sibling;e.treeBaseDuration=h}else for(var S=e.child;S!==null;)i=Et(i,Et(S.lanes,S.childLanes)),u|=S.subtreeFlags&nr,u|=S.flags&nr,S.return=e,S=S.sibling;e.subtreeFlags|=u}else{if((e.mode&lt)!==st){for(var _=e.actualDuration,A=e.selfBaseDuration,P=e.child;P!==null;)i=Et(i,Et(P.lanes,P.childLanes)),u|=P.subtreeFlags,u|=P.flags,_+=P.actualDuration,A+=P.treeBaseDuration,P=P.sibling;e.actualDuration=_,e.treeBaseDuration=A}else for(var z=e.child;z!==null;)i=Et(i,Et(z.lanes,z.childLanes)),u|=z.subtreeFlags,u|=z.flags,z.return=e,z=z.sibling;e.subtreeFlags|=u}return e.childLanes=i,t}function BM(e,t,i){if(NN()&&(t.mode&Ot)!==st&&(t.flags&mt)===nt)return i6(t),hf(),t.flags|=kn|ra|Wn,!1;var u=$g(t);if(i!==null&&i.dehydrated!==null)if(e===null){if(!u)throw new Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(SN(t),Cr(t),(t.mode&lt)!==st){var h=i!==null;if(h){var k=t.child;k!==null&&(t.treeBaseDuration-=k.treeBaseDuration)}}return!1}else{if(hf(),(t.flags&mt)===nt&&(t.memoizedState=null),t.flags|=St,Cr(t),(t.mode&lt)!==st){var S=i!==null;if(S){var _=t.child;_!==null&&(t.treeBaseDuration-=_.treeBaseDuration)}}return!1}else return s6(),!0}function Ok(e,t,i){var u=t.pendingProps;switch(sv(t),t.tag){case D:case De:case fe:case I:case te:case W:case le:case ue:case G:case ye:return Cr(t),null;case C:{var h=t.type;return _i(h)&&Fg(t),Cr(t),null}case R:{var k=t.stateNode;if(Tf(t),rv(t),Hv(),k.pendingContext&&(k.context=k.pendingContext,k.pendingContext=null),e===null||e.child===null){var S=$g(t);if(S)Mf(t);else if(e!==null){var _=e.memoizedState;(!_.isDehydrated||(t.flags&kn)!==nt)&&(t.flags|=Na,s6())}}return D3(e,t),Cr(t),null}case j:{Vv(t);var A=C6(),P=t.type;if(e!==null&&t.stateNode!=null)Ck(e,t,P,u,A),e.ref!==t.ref&&Ik(t);else{if(!u){if(t.stateNode===null)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return Cr(t),null}var z=Fv(),q=$g(t);if(q)bN(t,A,z)&&Mf(t);else{var H=sE(P,u,A,z,t);_k(H,t,!1,!1),t.stateNode=H,uE(H,P,u,A)&&Mf(t)}t.ref!==null&&Ik(t)}return Cr(t),null}case Q:{var ae=u;if(e&&t.stateNode!=null){var oe=e.memoizedProps;Ak(e,t,oe,ae)}else{if(typeof ae!="string"&&t.stateNode===null)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");var me=C6(),Ue=Fv(),Xe=$g(t);Xe?wN(t)&&Mf(t):t.stateNode=dE(ae,me,Ue,t)}return Cr(t),null}case Z:{bf(t);var it=t.memoizedState;if(e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){var Lt=BM(e,t,it);if(!Lt)return t.flags&Wn?t:null}if((t.flags&mt)!==nt)return t.lanes=i,(t.mode&lt)!==st&&y3(t),t;var _t=it!==null,ee=e!==null&&e.memoizedState!==null;if(_t!==ee&&_t){var pe=t.child;if(pe.flags|=li,(t.mode&Ot)!==st){var ne=e===null&&(t.memoizedProps.unstable_avoidThisFallback!==!0||!Ee);ne||Yv(Qo.current,x6)?FI():X3()}}var Me=t.updateQueue;if(Me!==null&&(t.flags|=St),Cr(t),(t.mode&lt)!==st&&_t){var Ye=t.child;Ye!==null&&(t.treeBaseDuration-=Ye.treeBaseDuration)}return null}case x:return Tf(t),D3(e,t),e===null&&aN(t.stateNode.containerInfo),Cr(t),null;case se:var je=t.type._context;return gv(je,t),Cr(t),null;case He:{var pt=t.type;return _i(pt)&&Fg(t),Cr(t),null}case ct:{bf(t);var kt=t.memoizedState;if(kt===null)return Cr(t),null;var Wt=(t.flags&mt)!==nt,Bt=kt.rendering;if(Bt===null)if(Wt)d1(kt,!1);else{var Fn=YI()&&(e===null||(e.flags&mt)===nt);if(!Fn)for(var Ft=t.child;Ft!==null;){var Rn=c0(Ft);if(Rn!==null){Wt=!0,t.flags|=mt,d1(kt,!1);var Xr=Rn.updateQueue;return Xr!==null&&(t.updateQueue=Xr,t.flags|=St),t.subtreeFlags=nt,YN(t,i),Yl(t,Qv(Qo.current,e1)),t.child}Ft=Ft.sibling}kt.tail!==null&&mn()>Jk()&&(t.flags|=mt,Wt=!0,d1(kt,!1),t.lanes=um)}else{if(!Wt){var Rr=c0(Bt);if(Rr!==null){t.flags|=mt,Wt=!0;var no=Rr.updateQueue;if(no!==null&&(t.updateQueue=no,t.flags|=St),d1(kt,!0),kt.tail===null&&kt.tailMode==="hidden"&&!Bt.alternate&&!Ir())return Cr(t),null}else mn()*2-kt.renderingStartTime>Jk()&&i!==Hr&&(t.flags|=mt,Wt=!0,d1(kt,!1),t.lanes=um)}if(kt.isBackwards)Bt.sibling=t.child,t.child=Bt;else{var ha=kt.last;ha!==null?ha.sibling=Bt:t.child=Bt,kt.last=Bt}}if(kt.tail!==null){var ga=kt.tail;kt.rendering=ga,kt.tail=ga.sibling,kt.renderingStartTime=mn(),ga.sibling=null;var ea=Qo.current;return Wt?ea=Qv(ea,e1):ea=kf(ea),Yl(t,ea),ga}return Cr(t),null}case yt:break;case $e:case at:{J3(t);var zs=t.memoizedState,Rf=zs!==null;if(e!==null){var M1=e.memoizedState,Pi=M1!==null;Pi!==Rf&&!xe&&(t.flags|=li)}return!Rf||(t.mode&Ot)===st?Cr(t):$r(Di,Hr)&&(Cr(t),t.subtreeFlags&(on|St)&&(t.flags|=li)),null}case It:return null;case Dt:return null}throw new Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function FM(e,t,i){switch(sv(t),t.tag){case C:{var u=t.type;_i(u)&&Fg(t);var h=t.flags;return h&Wn?(t.flags=h&~Wn|mt,(t.mode&lt)!==st&&y3(t),t):null}case R:{t.stateNode,Tf(t),rv(t),Hv();var k=t.flags;return(k&Wn)!==nt&&(k&mt)===nt?(t.flags=k&~Wn|mt,t):null}case j:return Vv(t),null;case Z:{bf(t);var S=t.memoizedState;if(S!==null&&S.dehydrated!==null){if(t.alternate===null)throw new Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");hf()}var _=t.flags;return _&Wn?(t.flags=_&~Wn|mt,(t.mode&lt)!==st&&y3(t),t):null}case ct:return bf(t),null;case x:return Tf(t),null;case se:var A=t.type._context;return gv(A,t),null;case $e:case at:return J3(t),null;case It:return null;default:return null}}function xk(e,t,i){switch(sv(t),t.tag){case C:{var u=t.type.childContextTypes;u!=null&&Fg(t);break}case R:{t.stateNode,Tf(t),rv(t),Hv();break}case j:{Vv(t);break}case x:Tf(t);break;case Z:bf(t);break;case ct:bf(t);break;case se:var h=t.type._context;gv(h,t);break;case $e:case at:J3(t);break}}var Lk=null;Lk=new Set;var L0=!1,Ar=!1,VM=typeof WeakSet=="function"?WeakSet:Set,We=null,If=null,_f=null;function YM(e){is(null,function(){throw e}),qp()}var QM=function(e,t){if(t.props=e.memoizedProps,t.state=e.memoizedState,e.mode&lt)try{Li(),t.componentWillUnmount()}finally{xi(e)}else t.componentWillUnmount()};function Rk(e,t){try{Hl(lr,e)}catch(i){cn(e,t,i)}}function P3(e,t,i){try{QM(e,i)}catch(u){cn(e,t,u)}}function GM(e,t,i){try{i.componentDidMount()}catch(u){cn(e,t,u)}}function Dk(e,t){try{Uk(e)}catch(i){cn(e,t,i)}}function Cf(e,t){var i=e.ref;if(i!==null)if(typeof i=="function"){var u;try{if(dt&&ft&&e.mode&lt)try{Li(),u=i(null)}finally{xi(e)}else u=i(null)}catch(h){cn(e,t,h)}typeof u=="function"&&g("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",bt(e))}else i.current=null}function R0(e,t,i){try{i()}catch(u){cn(e,t,u)}}var Pk=!1;function HM(e,t){oE(e.containerInfo),We=t,$M();var i=Pk;return Pk=!1,i}function $M(){for(;We!==null;){var e=We,t=e.child;(e.subtreeFlags&hl)!==nt&&t!==null?(t.return=e,We=t):qM()}}function qM(){for(;We!==null;){var e=We;$t(e);try{WM(e)}catch(i){cn(e,e.return,i)}Dn();var t=e.sibling;if(t!==null){t.return=e.return,We=t;return}We=e.return}}function WM(e){var t=e.alternate,i=e.flags;if((i&Na)!==nt){switch($t(e),e.tag){case I:case te:case fe:break;case C:{if(t!==null){var u=t.memoizedProps,h=t.memoizedState,k=e.stateNode;e.type===e.elementType&&!pc&&(k.props!==e.memoizedProps&&g("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",bt(e)||"instance"),k.state!==e.memoizedState&&g("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",bt(e)||"instance"));var S=k.getSnapshotBeforeUpdate(e.elementType===e.type?u:Yo(e.type,u),h);{var _=Lk;S===void 0&&!_.has(e.type)&&(_.add(e.type),g("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",bt(e)))}k.__reactInternalSnapshotBeforeUpdate=S}break}case R:{{var A=e.stateNode;AE(A.containerInfo)}break}case j:case Q:case x:case He:break;default:throw new Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}Dn()}}function $o(e,t,i){var u=t.updateQueue,h=u!==null?u.lastEffect:null;if(h!==null){var k=h.next,S=k;do{if((S.tag&e)===e){var _=S.destroy;S.destroy=void 0,_!==void 0&&((e&_r)!==Ua?md(t):(e&lr)!==Ua&&hd(t),(e&Ci)!==Ua&&S1(!0),R0(t,i,_),(e&Ci)!==Ua&&S1(!1),(e&_r)!==Ua?Vh():(e&lr)!==Ua&&gl())}S=S.next}while(S!==k)}}function Hl(e,t){var i=t.updateQueue,u=i!==null?i.lastEffect:null;if(u!==null){var h=u.next,k=h;do{if((k.tag&e)===e){(e&_r)!==Ua?Fh(t):(e&lr)!==Ua&&Yh(t);var S=k.create;(e&Ci)!==Ua&&S1(!0),k.destroy=S(),(e&Ci)!==Ua&&S1(!1),(e&_r)!==Ua?im():(e&lr)!==Ua&&Qh();{var _=k.destroy;if(_!==void 0&&typeof _!="function"){var A=void 0;(k.tag&lr)!==nt?A="useLayoutEffect":(k.tag&Ci)!==nt?A="useInsertionEffect":A="useEffect";var P=void 0;_===null?P=" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof _.then=="function"?P=`
125
+ Check the render method of \``+u+"`.");var h=u||"",k=e._debugSource;k&&(h=k.fileName+":"+k.lineNumber),E3[h]||(E3[h]=!0,g("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s",i))}if(typeof t.getDerivedStateFromProps=="function"){var S=Zt(t)||"Unknown";S3[S]||(g("%s: Function components do not support getDerivedStateFromProps.",S),S3[S]=!0)}if(typeof t.contextType=="object"&&t.contextType!==null){var _=Zt(t)||"Unknown";w3[_]||(g("%s: Function components do not support contextType.",_),w3[_]=!0)}}}var C3={dehydrated:null,treeContext:null,retryLane:Pt};function A3(e){return{baseLanes:e,cachePool:cM(),transitions:null}}function bM(e,t){var i=null;return{baseLanes:Et(e.baseLanes,t),cachePool:i,transitions:e.transitions}}function wM(e,t,i,u){if(t!==null){var h=t.memoizedState;if(h===null)return!1}return Yv(e,e1)}function SM(e,t){return Sl(e.childLanes,t)}function T5(e,t,i){var u=t.pendingProps;x_(t)&&(t.flags|=mt);var h=Qo.current,k=!1,S=(t.flags&mt)!==nt;if(S||wM(h,e)?(k=!0,t.flags&=~mt):(e===null||e.memoizedState!==null)&&(h=GN(h,x6)),h=kf(h),Yl(t,h),e===null){dv(t);var _=t.memoizedState;if(_!==null){var A=_.dehydrated;if(A!==null)return _M(t,A)}var P=u.children,z=u.fallback;if(k){var q=EM(t,P,z,i),H=t.child;return H.memoizedState=A3(i),t.memoizedState=C3,q}else return O3(t,P)}else{var ae=e.memoizedState;if(ae!==null){var oe=ae.dehydrated;if(oe!==null)return CM(e,t,S,u,oe,ae,i)}if(k){var me=u.fallback,Ue=u.children,Xe=MM(e,t,Ue,me,i),it=t.child,Lt=e.child.memoizedState;return it.memoizedState=Lt===null?A3(i):bM(Lt,i),it.childLanes=SM(e,i),t.memoizedState=C3,Xe}else{var _t=u.children,ee=NM(e,t,_t,i);return t.memoizedState=null,ee}}}function O3(e,t,i){var u=e.mode,h={mode:"visible",children:t},k=x3(h,u);return k.return=e,e.child=k,k}function EM(e,t,i,u){var h=e.mode,k=e.child,S={mode:"hidden",children:t},_,A;return(h&Ot)===st&&k!==null?(_=k,_.childLanes=he,_.pendingProps=S,e.mode&lt&&(_.actualDuration=0,_.actualStartTime=-1,_.selfBaseDuration=0,_.treeBaseDuration=0),A=Zl(i,h,u,null)):(_=x3(S,h),A=Zl(i,h,u,null)),_.return=e,A.return=e,_.sibling=A,e.child=_,A}function x3(e,t,i){return Tk(e,t,he,null)}function k5(e,t){return vc(e,t)}function NM(e,t,i,u){var h=e.child,k=h.sibling,S=k5(h,{mode:"visible",children:i});if((t.mode&Ot)===st&&(S.lanes=u),S.return=t,S.sibling=null,k!==null){var _=t.deletions;_===null?(t.deletions=[k],t.flags|=Vt):_.push(k)}return t.child=S,S}function MM(e,t,i,u,h){var k=t.mode,S=e.child,_=S.sibling,A={mode:"hidden",children:i},P;if((k&Ot)===st&&t.child!==S){var z=t.child;P=z,P.childLanes=he,P.pendingProps=A,t.mode&lt&&(P.actualDuration=0,P.actualStartTime=-1,P.selfBaseDuration=S.selfBaseDuration,P.treeBaseDuration=S.treeBaseDuration),t.deletions=null}else P=k5(S,A),P.subtreeFlags=S.subtreeFlags&nr;var q;return _!==null?q=vc(_,u):(q=Zl(u,k,h,null),q.flags|=on),q.return=t,P.return=t,P.sibling=q,t.child=P,q}function O0(e,t,i,u){u!==null&&fv(u),vf(t,e.child,null,i);var h=t.pendingProps,k=h.children,S=O3(t,k);return S.flags|=on,t.memoizedState=null,S}function IM(e,t,i,u,h){var k=t.mode,S={mode:"visible",children:i},_=x3(S,k),A=Zl(u,k,h,null);return A.flags|=on,_.return=t,A.return=t,_.sibling=A,t.child=_,(t.mode&Ot)!==st&&vf(t,e.child,null,h),A}function _M(e,t,i){return(e.mode&Ot)===st?(g("Cannot hydrate Suspense in legacy mode. Switch from ReactDOM.hydrate(element, container) to ReactDOMClient.hydrateRoot(container, <App />).render(element) or remove the Suspense components from the server rendered components."),e.lanes=ut):K2(t)?e.lanes=ds:e.lanes=Hr,null}function CM(e,t,i,u,h,k,S){if(i)if(t.flags&kn){t.flags&=~kn;var _=v3(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return O0(e,t,S,_)}else{if(t.memoizedState!==null)return t.child=e.child,t.flags|=mt,null;var A=u.children,P=u.fallback,z=IM(e,t,A,P,S),q=t.child;return q.memoizedState=A3(S),t.memoizedState=C3,z}else{if(yN(),(t.mode&Ot)===st)return O0(e,t,S,null);if(K2(h)){var H,ae,oe;{var me=RE(h);H=me.digest,ae=me.message,oe=me.stack}var Ue;ae?Ue=new Error(ae):Ue=new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.");var Xe=v3(Ue,H,oe);return O0(e,t,S,Xe)}var it=$r(S,e.childLanes);if(Ho||it){var Lt=Y0();if(Lt!==null){var _t=zd(Lt,S);if(_t!==Pt&&_t!==k.retryLane){k.retryLane=_t;var ee=Xt;Pa(e,_t),mr(Lt,e,_t,ee)}}X3();var pe=v3(new Error("This Suspense boundary received an update before it finished hydrating. This caused the boundary to switch to client rendering. The usual way to fix this is to wrap the original update in startTransition."));return O0(e,t,S,pe)}else if(V8(h)){t.flags|=mt,t.child=e.child;var ne=e_.bind(null,e);return DE(h,ne),null}else{kN(t,h,k.treeContext);var Me=u.children,Ye=O3(t,Me);return Ye.flags|=Ma,Ye}}}function b5(e,t,i){e.lanes=Et(e.lanes,t);var u=e.alternate;u!==null&&(u.lanes=Et(u.lanes,t)),yv(e.return,t,i)}function AM(e,t,i){for(var u=t;u!==null;){if(u.tag===Z){var h=u.memoizedState;h!==null&&b5(u,i,e)}else if(u.tag===ct)b5(u,i,e);else if(u.child!==null){u.child.return=u,u=u.child;continue}if(u===e)return;for(;u.sibling===null;){if(u.return===null||u.return===e)return;u=u.return}u.sibling.return=u.return,u=u.sibling}}function OM(e){for(var t=e,i=null;t!==null;){var u=t.alternate;u!==null&&c0(u)===null&&(i=t),t=t.sibling}return i}function xM(e){if(e!==void 0&&e!=="forwards"&&e!=="backwards"&&e!=="together"&&!N3[e])if(N3[e]=!0,typeof e=="string")switch(e.toLowerCase()){case"together":case"forwards":case"backwards":{g('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',e,e.toLowerCase());break}case"forward":case"backward":{g('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',e,e.toLowerCase());break}default:g('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e);break}else g('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e)}function LM(e,t){e!==void 0&&!A0[e]&&(e!=="collapsed"&&e!=="hidden"?(A0[e]=!0,g('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',e)):t!=="forwards"&&t!=="backwards"&&(A0[e]=!0,g('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',e)))}function w5(e,t){{var i=$n(e),u=!i&&typeof Mo(e)=="function";if(i||u){var h=i?"array":"iterable";return g("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",h,t,h),!1}}return!0}function RM(e,t){if((t==="forwards"||t==="backwards")&&e!==void 0&&e!==null&&e!==!1)if($n(e)){for(var i=0;i<e.length;i++)if(!w5(e[i],i))return}else{var u=Mo(e);if(typeof u=="function"){var h=u.call(e);if(h)for(var k=h.next(),S=0;!k.done;k=h.next()){if(!w5(k.value,S))return;S++}}else g('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',t)}}function L3(e,t,i,u,h){var k=e.memoizedState;k===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:u,tail:i,tailMode:h}:(k.isBackwards=t,k.rendering=null,k.renderingStartTime=0,k.last=u,k.tail=i,k.tailMode=h)}function S5(e,t,i){var u=t.pendingProps,h=u.revealOrder,k=u.tail,S=u.children;xM(h),LM(k,h),RM(S,h),fa(e,t,S,i);var _=Qo.current,A=Yv(_,e1);if(A)_=Qv(_,e1),t.flags|=mt;else{var P=e!==null&&(e.flags&mt)!==nt;P&&AM(t,t.child,i),_=kf(_)}if(Yl(t,_),(t.mode&Ot)===st)t.memoizedState=null;else switch(h){case"forwards":{var z=OM(t.child),q;z===null?(q=t.child,t.child=null):(q=z.sibling,z.sibling=null),L3(t,!1,q,z,k);break}case"backwards":{var H=null,ae=t.child;for(t.child=null;ae!==null;){var oe=ae.alternate;if(oe!==null&&c0(oe)===null){t.child=ae;break}var me=ae.sibling;ae.sibling=H,H=ae,ae=me}L3(t,!0,H,null,k);break}case"together":{L3(t,!1,null,null,void 0);break}default:t.memoizedState=null}return t.child}function DM(e,t,i){Bv(t,t.stateNode.containerInfo);var u=t.pendingProps;return e===null?t.child=vf(t,null,u,i):fa(e,t,u,i),t.child}var E5=!1;function PM(e,t,i){var u=t.type,h=u._context,k=t.pendingProps,S=t.memoizedProps,_=k.value;{"value"in k||E5||(E5=!0,g("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?"));var A=t.type.propTypes;A&&Bo(A,k,"prop","Context.Provider")}if(d6(t,h,_),S!==null){var P=S.value;if(Be(P,_)){if(S.children===k.children&&!Bg())return Rs(e,t,i)}else AN(t,h,i)}var z=k.children;return fa(e,t,z,i),t.child}var N5=!1;function UM(e,t,i){var u=t.type;u._context===void 0?u!==u.Consumer&&(N5||(N5=!0,g("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):u=u._context;var h=t.pendingProps,k=h.children;typeof k!="function"&&g("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),yf(t,i);var S=Jn(u);mi(t);var _;return l1.current=t,$a(!0),_=k(S),$a(!1),ls(),t.flags|=si,fa(e,t,_,i),t.child}function c1(){Ho=!0}function x0(e,t){(t.mode&Ot)===st&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=on)}function Rs(e,t,i){return e!==null&&(t.dependencies=e.dependencies),i5(),b1(t.lanes),$r(i,t.childLanes)?(VN(e,t),t.child):null}function jM(e,t,i){{var u=t.return;if(u===null)throw new Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,i.index=t.index,i.sibling=t.sibling,i.return=t.return,i.ref=t.ref,t===u.child)u.child=i;else{var h=u.child;if(h===null)throw new Error("Expected parent to have a child.");for(;h.sibling!==t;)if(h=h.sibling,h===null)throw new Error("Expected to find the previous sibling.");h.sibling=i}var k=u.deletions;return k===null?(u.deletions=[e],u.flags|=Vt):k.push(e),i.flags|=on,i}}function R3(e,t){var i=e.lanes;return!!$r(i,t)}function zM(e,t,i){switch(t.tag){case R:y5(t),t.stateNode,hf();break;case j:A6(t);break;case C:{var u=t.type;_i(u)&&Vg(t);break}case x:Bv(t,t.stateNode.containerInfo);break;case se:{var h=t.memoizedProps.value,k=t.type._context;d6(t,k,h);break}case ue:{var S=$r(i,t.childLanes);S&&(t.flags|=St);{var _=t.stateNode;_.effectDuration=0,_.passiveEffectDuration=0}}break;case Z:{var A=t.memoizedState;if(A!==null){if(A.dehydrated!==null)return Yl(t,kf(Qo.current)),t.flags|=mt,null;var P=t.child,z=P.childLanes;if($r(i,z))return T5(e,t,i);Yl(t,kf(Qo.current));var q=Rs(e,t,i);return q!==null?q.sibling:null}else Yl(t,kf(Qo.current));break}case ct:{var H=(e.flags&mt)!==nt,ae=$r(i,t.childLanes);if(H){if(ae)return S5(e,t,i);t.flags|=mt}var oe=t.memoizedState;if(oe!==null&&(oe.rendering=null,oe.tail=null,oe.lastEffect=null),Yl(t,Qo.current),ae)break;return null}case $e:case at:return t.lanes=he,m5(e,t,i)}return Rs(e,t,i)}function M5(e,t,i){if(t._debugNeedsRemount&&e!==null)return jM(e,t,c4(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes));if(e!==null){var u=e.memoizedProps,h=t.pendingProps;if(u!==h||Bg()||t.type!==e.type)Ho=!0;else{var k=R3(e,i);if(!k&&(t.flags&mt)===nt)return Ho=!1,zM(e,t,i);(e.flags&Ou)!==nt?Ho=!0:Ho=!1}}else if(Ho=!1,Ir()&&dN(t)){var S=t.index,_=fN();X8(t,_,S)}switch(t.lanes=he,t.tag){case D:return kM(e,t,t.type,i);case De:{var A=t.elementType;return vM(e,t,A,i)}case I:{var P=t.type,z=t.pendingProps,q=t.elementType===P?z:Yo(P,z);return M3(e,t,P,q,i)}case C:{var H=t.type,ae=t.pendingProps,oe=t.elementType===H?ae:Yo(H,ae);return g5(e,t,H,oe,i)}case R:return hM(e,t,i);case j:return gM(e,t,i);case Q:return yM(e,t);case Z:return T5(e,t,i);case x:return DM(e,t,i);case te:{var me=t.type,Ue=t.pendingProps,Xe=t.elementType===me?Ue:Yo(me,Ue);return d5(e,t,me,Xe,i)}case W:return fM(e,t,i);case le:return pM(e,t,i);case ue:return mM(e,t,i);case se:return PM(e,t,i);case G:return UM(e,t,i);case ye:{var it=t.type,Lt=t.pendingProps,_t=Yo(it,Lt);if(t.type!==t.elementType){var ee=it.propTypes;ee&&Bo(ee,_t,"prop",Zt(it))}return _t=Yo(it.type,_t),f5(e,t,it,_t,i)}case fe:return p5(e,t,t.type,t.pendingProps,i);case He:{var pe=t.type,ne=t.pendingProps,Me=t.elementType===pe?ne:Yo(pe,ne);return TM(e,t,pe,Me,i)}case ct:return S5(e,t,i);case yt:break;case $e:return m5(e,t,i)}throw new Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Mf(e){e.flags|=St}function I5(e){e.flags|=Br,e.flags|=Kp}var _5,D3,C5,A5;_5=function(e,t,i,u){for(var h=t.child;h!==null;){if(h.tag===j||h.tag===Q)lE(e,h.stateNode);else if(h.tag!==x&&h.child!==null){h.child.return=h,h=h.child;continue}if(h===t)return;for(;h.sibling===null;){if(h.return===null||h.return===t)return;h=h.return}h.sibling.return=h.return,h=h.sibling}},D3=function(e,t){},C5=function(e,t,i,u,h){var k=e.memoizedProps;if(k!==u){var S=t.stateNode,_=Fv(),A=cE(S,i,k,u,h,_);t.updateQueue=A,A&&Mf(t)}},A5=function(e,t,i,u){i!==u&&Mf(t)};function d1(e,t){if(!Ir())switch(e.tailMode){case"hidden":{for(var i=e.tail,u=null;i!==null;)i.alternate!==null&&(u=i),i=i.sibling;u===null?e.tail=null:u.sibling=null;break}case"collapsed":{for(var h=e.tail,k=null;h!==null;)h.alternate!==null&&(k=h),h=h.sibling;k===null?!t&&e.tail!==null?e.tail.sibling=null:e.tail=null:k.sibling=null;break}}}function Cr(e){var t=e.alternate!==null&&e.alternate.child===e.child,i=he,u=nt;if(t){if((e.mode&lt)!==st){for(var h=e.selfBaseDuration,k=e.child;k!==null;)i=Et(i,Et(k.lanes,k.childLanes)),u|=k.subtreeFlags&nr,u|=k.flags&nr,h+=k.treeBaseDuration,k=k.sibling;e.treeBaseDuration=h}else for(var S=e.child;S!==null;)i=Et(i,Et(S.lanes,S.childLanes)),u|=S.subtreeFlags&nr,u|=S.flags&nr,S.return=e,S=S.sibling;e.subtreeFlags|=u}else{if((e.mode&lt)!==st){for(var _=e.actualDuration,A=e.selfBaseDuration,P=e.child;P!==null;)i=Et(i,Et(P.lanes,P.childLanes)),u|=P.subtreeFlags,u|=P.flags,_+=P.actualDuration,A+=P.treeBaseDuration,P=P.sibling;e.actualDuration=_,e.treeBaseDuration=A}else for(var z=e.child;z!==null;)i=Et(i,Et(z.lanes,z.childLanes)),u|=z.subtreeFlags,u|=z.flags,z.return=e,z=z.sibling;e.subtreeFlags|=u}return e.childLanes=i,t}function BM(e,t,i){if(NN()&&(t.mode&Ot)!==st&&(t.flags&mt)===nt)return i6(t),hf(),t.flags|=kn|ra|Wn,!1;var u=$g(t);if(i!==null&&i.dehydrated!==null)if(e===null){if(!u)throw new Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(SN(t),Cr(t),(t.mode&lt)!==st){var h=i!==null;if(h){var k=t.child;k!==null&&(t.treeBaseDuration-=k.treeBaseDuration)}}return!1}else{if(hf(),(t.flags&mt)===nt&&(t.memoizedState=null),t.flags|=St,Cr(t),(t.mode&lt)!==st){var S=i!==null;if(S){var _=t.child;_!==null&&(t.treeBaseDuration-=_.treeBaseDuration)}}return!1}else return s6(),!0}function O5(e,t,i){var u=t.pendingProps;switch(sv(t),t.tag){case D:case De:case fe:case I:case te:case W:case le:case ue:case G:case ye:return Cr(t),null;case C:{var h=t.type;return _i(h)&&Fg(t),Cr(t),null}case R:{var k=t.stateNode;if(Tf(t),rv(t),Hv(),k.pendingContext&&(k.context=k.pendingContext,k.pendingContext=null),e===null||e.child===null){var S=$g(t);if(S)Mf(t);else if(e!==null){var _=e.memoizedState;(!_.isDehydrated||(t.flags&kn)!==nt)&&(t.flags|=Na,s6())}}return D3(e,t),Cr(t),null}case j:{Vv(t);var A=C6(),P=t.type;if(e!==null&&t.stateNode!=null)C5(e,t,P,u,A),e.ref!==t.ref&&I5(t);else{if(!u){if(t.stateNode===null)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return Cr(t),null}var z=Fv(),q=$g(t);if(q)bN(t,A,z)&&Mf(t);else{var H=sE(P,u,A,z,t);_5(H,t,!1,!1),t.stateNode=H,uE(H,P,u,A)&&Mf(t)}t.ref!==null&&I5(t)}return Cr(t),null}case Q:{var ae=u;if(e&&t.stateNode!=null){var oe=e.memoizedProps;A5(e,t,oe,ae)}else{if(typeof ae!="string"&&t.stateNode===null)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");var me=C6(),Ue=Fv(),Xe=$g(t);Xe?wN(t)&&Mf(t):t.stateNode=dE(ae,me,Ue,t)}return Cr(t),null}case Z:{bf(t);var it=t.memoizedState;if(e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){var Lt=BM(e,t,it);if(!Lt)return t.flags&Wn?t:null}if((t.flags&mt)!==nt)return t.lanes=i,(t.mode&lt)!==st&&y3(t),t;var _t=it!==null,ee=e!==null&&e.memoizedState!==null;if(_t!==ee&&_t){var pe=t.child;if(pe.flags|=li,(t.mode&Ot)!==st){var ne=e===null&&(t.memoizedProps.unstable_avoidThisFallback!==!0||!Ee);ne||Yv(Qo.current,x6)?FI():X3()}}var Me=t.updateQueue;if(Me!==null&&(t.flags|=St),Cr(t),(t.mode&lt)!==st&&_t){var Ye=t.child;Ye!==null&&(t.treeBaseDuration-=Ye.treeBaseDuration)}return null}case x:return Tf(t),D3(e,t),e===null&&aN(t.stateNode.containerInfo),Cr(t),null;case se:var je=t.type._context;return gv(je,t),Cr(t),null;case He:{var pt=t.type;return _i(pt)&&Fg(t),Cr(t),null}case ct:{bf(t);var kt=t.memoizedState;if(kt===null)return Cr(t),null;var Wt=(t.flags&mt)!==nt,Bt=kt.rendering;if(Bt===null)if(Wt)d1(kt,!1);else{var Fn=YI()&&(e===null||(e.flags&mt)===nt);if(!Fn)for(var Ft=t.child;Ft!==null;){var Rn=c0(Ft);if(Rn!==null){Wt=!0,t.flags|=mt,d1(kt,!1);var Xr=Rn.updateQueue;return Xr!==null&&(t.updateQueue=Xr,t.flags|=St),t.subtreeFlags=nt,YN(t,i),Yl(t,Qv(Qo.current,e1)),t.child}Ft=Ft.sibling}kt.tail!==null&&mn()>J5()&&(t.flags|=mt,Wt=!0,d1(kt,!1),t.lanes=um)}else{if(!Wt){var Rr=c0(Bt);if(Rr!==null){t.flags|=mt,Wt=!0;var no=Rr.updateQueue;if(no!==null&&(t.updateQueue=no,t.flags|=St),d1(kt,!0),kt.tail===null&&kt.tailMode==="hidden"&&!Bt.alternate&&!Ir())return Cr(t),null}else mn()*2-kt.renderingStartTime>J5()&&i!==Hr&&(t.flags|=mt,Wt=!0,d1(kt,!1),t.lanes=um)}if(kt.isBackwards)Bt.sibling=t.child,t.child=Bt;else{var ha=kt.last;ha!==null?ha.sibling=Bt:t.child=Bt,kt.last=Bt}}if(kt.tail!==null){var ga=kt.tail;kt.rendering=ga,kt.tail=ga.sibling,kt.renderingStartTime=mn(),ga.sibling=null;var ea=Qo.current;return Wt?ea=Qv(ea,e1):ea=kf(ea),Yl(t,ea),ga}return Cr(t),null}case yt:break;case $e:case at:{J3(t);var zs=t.memoizedState,Rf=zs!==null;if(e!==null){var M1=e.memoizedState,Pi=M1!==null;Pi!==Rf&&!xe&&(t.flags|=li)}return!Rf||(t.mode&Ot)===st?Cr(t):$r(Di,Hr)&&(Cr(t),t.subtreeFlags&(on|St)&&(t.flags|=li)),null}case It:return null;case Dt:return null}throw new Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function FM(e,t,i){switch(sv(t),t.tag){case C:{var u=t.type;_i(u)&&Fg(t);var h=t.flags;return h&Wn?(t.flags=h&~Wn|mt,(t.mode&lt)!==st&&y3(t),t):null}case R:{t.stateNode,Tf(t),rv(t),Hv();var k=t.flags;return(k&Wn)!==nt&&(k&mt)===nt?(t.flags=k&~Wn|mt,t):null}case j:return Vv(t),null;case Z:{bf(t);var S=t.memoizedState;if(S!==null&&S.dehydrated!==null){if(t.alternate===null)throw new Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");hf()}var _=t.flags;return _&Wn?(t.flags=_&~Wn|mt,(t.mode&lt)!==st&&y3(t),t):null}case ct:return bf(t),null;case x:return Tf(t),null;case se:var A=t.type._context;return gv(A,t),null;case $e:case at:return J3(t),null;case It:return null;default:return null}}function x5(e,t,i){switch(sv(t),t.tag){case C:{var u=t.type.childContextTypes;u!=null&&Fg(t);break}case R:{t.stateNode,Tf(t),rv(t),Hv();break}case j:{Vv(t);break}case x:Tf(t);break;case Z:bf(t);break;case ct:bf(t);break;case se:var h=t.type._context;gv(h,t);break;case $e:case at:J3(t);break}}var L5=null;L5=new Set;var L0=!1,Ar=!1,VM=typeof WeakSet=="function"?WeakSet:Set,We=null,If=null,_f=null;function YM(e){is(null,function(){throw e}),qp()}var QM=function(e,t){if(t.props=e.memoizedProps,t.state=e.memoizedState,e.mode&lt)try{Li(),t.componentWillUnmount()}finally{xi(e)}else t.componentWillUnmount()};function R5(e,t){try{Hl(lr,e)}catch(i){cn(e,t,i)}}function P3(e,t,i){try{QM(e,i)}catch(u){cn(e,t,u)}}function GM(e,t,i){try{i.componentDidMount()}catch(u){cn(e,t,u)}}function D5(e,t){try{U5(e)}catch(i){cn(e,t,i)}}function Cf(e,t){var i=e.ref;if(i!==null)if(typeof i=="function"){var u;try{if(dt&&ft&&e.mode&lt)try{Li(),u=i(null)}finally{xi(e)}else u=i(null)}catch(h){cn(e,t,h)}typeof u=="function"&&g("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",bt(e))}else i.current=null}function R0(e,t,i){try{i()}catch(u){cn(e,t,u)}}var P5=!1;function HM(e,t){oE(e.containerInfo),We=t,$M();var i=P5;return P5=!1,i}function $M(){for(;We!==null;){var e=We,t=e.child;(e.subtreeFlags&hl)!==nt&&t!==null?(t.return=e,We=t):qM()}}function qM(){for(;We!==null;){var e=We;$t(e);try{WM(e)}catch(i){cn(e,e.return,i)}Dn();var t=e.sibling;if(t!==null){t.return=e.return,We=t;return}We=e.return}}function WM(e){var t=e.alternate,i=e.flags;if((i&Na)!==nt){switch($t(e),e.tag){case I:case te:case fe:break;case C:{if(t!==null){var u=t.memoizedProps,h=t.memoizedState,k=e.stateNode;e.type===e.elementType&&!pc&&(k.props!==e.memoizedProps&&g("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",bt(e)||"instance"),k.state!==e.memoizedState&&g("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",bt(e)||"instance"));var S=k.getSnapshotBeforeUpdate(e.elementType===e.type?u:Yo(e.type,u),h);{var _=L5;S===void 0&&!_.has(e.type)&&(_.add(e.type),g("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",bt(e)))}k.__reactInternalSnapshotBeforeUpdate=S}break}case R:{{var A=e.stateNode;AE(A.containerInfo)}break}case j:case Q:case x:case He:break;default:throw new Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}Dn()}}function $o(e,t,i){var u=t.updateQueue,h=u!==null?u.lastEffect:null;if(h!==null){var k=h.next,S=k;do{if((S.tag&e)===e){var _=S.destroy;S.destroy=void 0,_!==void 0&&((e&_r)!==Ua?md(t):(e&lr)!==Ua&&hd(t),(e&Ci)!==Ua&&S1(!0),R0(t,i,_),(e&Ci)!==Ua&&S1(!1),(e&_r)!==Ua?Vh():(e&lr)!==Ua&&gl())}S=S.next}while(S!==k)}}function Hl(e,t){var i=t.updateQueue,u=i!==null?i.lastEffect:null;if(u!==null){var h=u.next,k=h;do{if((k.tag&e)===e){(e&_r)!==Ua?Fh(t):(e&lr)!==Ua&&Yh(t);var S=k.create;(e&Ci)!==Ua&&S1(!0),k.destroy=S(),(e&Ci)!==Ua&&S1(!1),(e&_r)!==Ua?im():(e&lr)!==Ua&&Qh();{var _=k.destroy;if(_!==void 0&&typeof _!="function"){var A=void 0;(k.tag&lr)!==nt?A="useLayoutEffect":(k.tag&Ci)!==nt?A="useInsertionEffect":A="useEffect";var P=void 0;_===null?P=" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof _.then=="function"?P=`
126
126
 
127
127
  It looks like you wrote `+A+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
128
128
 
@@ -135,11 +135,11 @@ It looks like you wrote `+A+`(async () => ...) or returned a Promise. Instead, w
135
135
  fetchData();
136
136
  }, [someId]); // Or [] if effect doesn't need props or state
137
137
 
138
- Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching`:P=" You returned: "+_,g("%s must not return anything besides a function, which is used for clean-up.%s",A,P)}}}k=k.next}while(k!==h)}}function KM(e,t){if((t.flags&St)!==nt)switch(t.tag){case ue:{var i=t.stateNode.passiveEffectDuration,u=t.memoizedProps,h=u.id,k=u.onPostCommit,S=ak(),_=t.alternate===null?"mount":"update";rk()&&(_="nested-update"),typeof k=="function"&&k(h,_,i,S);var A=t.return;e:for(;A!==null;){switch(A.tag){case R:var P=A.stateNode;P.passiveEffectDuration+=i;break e;case ue:var z=A.stateNode;z.passiveEffectDuration+=i;break e}A=A.return}break}}}function ZM(e,t,i,u){if((i.flags&yr)!==nt)switch(i.tag){case I:case te:case fe:{if(!Ar)if(i.mode&lt)try{Li(),Hl(lr|sr,i)}finally{xi(i)}else Hl(lr|sr,i);break}case C:{var h=i.stateNode;if(i.flags&St&&!Ar)if(t===null)if(i.type===i.elementType&&!pc&&(h.props!==i.memoizedProps&&g("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",bt(i)||"instance"),h.state!==i.memoizedState&&g("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",bt(i)||"instance")),i.mode&lt)try{Li(),h.componentDidMount()}finally{xi(i)}else h.componentDidMount();else{var k=i.elementType===i.type?t.memoizedProps:Yo(i.type,t.memoizedProps),S=t.memoizedState;if(i.type===i.elementType&&!pc&&(h.props!==i.memoizedProps&&g("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",bt(i)||"instance"),h.state!==i.memoizedState&&g("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",bt(i)||"instance")),i.mode&lt)try{Li(),h.componentDidUpdate(k,S,h.__reactInternalSnapshotBeforeUpdate)}finally{xi(i)}else h.componentDidUpdate(k,S,h.__reactInternalSnapshotBeforeUpdate)}var _=i.updateQueue;_!==null&&(i.type===i.elementType&&!pc&&(h.props!==i.memoizedProps&&g("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",bt(i)||"instance"),h.state!==i.memoizedState&&g("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",bt(i)||"instance")),y6(i,_,h));break}case R:{var A=i.updateQueue;if(A!==null){var P=null;if(i.child!==null)switch(i.child.tag){case j:P=i.child.stateNode;break;case C:P=i.child.stateNode;break}y6(i,A,P)}break}case j:{var z=i.stateNode;if(t===null&&i.flags&St){var q=i.type,H=i.memoizedProps;gE(z,q,H)}break}case Q:break;case x:break;case ue:{{var ae=i.memoizedProps,oe=ae.onCommit,me=ae.onRender,Ue=i.stateNode.effectDuration,Xe=ak(),it=t===null?"mount":"update";rk()&&(it="nested-update"),typeof me=="function"&&me(i.memoizedProps.id,it,i.actualDuration,i.treeBaseDuration,i.actualStartTime,Xe);{typeof oe=="function"&&oe(i.memoizedProps.id,it,Ue,Xe),qI(i);var Lt=i.return;e:for(;Lt!==null;){switch(Lt.tag){case R:var _t=Lt.stateNode;_t.effectDuration+=Ue;break e;case ue:var ee=Lt.stateNode;ee.effectDuration+=Ue;break e}Lt=Lt.return}}}break}case Z:{oI(e,i);break}case ct:case He:case yt:case $e:case at:case Dt:break;default:throw new Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}Ar||i.flags&Br&&Uk(i)}function JM(e){switch(e.tag){case I:case te:case fe:{if(e.mode&lt)try{Li(),Rk(e,e.return)}finally{xi(e)}else Rk(e,e.return);break}case C:{var t=e.stateNode;typeof t.componentDidMount=="function"&&GM(e,e.return,t),Dk(e,e.return);break}case j:{Dk(e,e.return);break}}}function XM(e,t){for(var i=null,u=e;;){if(u.tag===j){if(i===null){i=u;try{var h=u.stateNode;t?ME(h):_E(u.stateNode,u.memoizedProps)}catch(S){cn(e,e.return,S)}}}else if(u.tag===Q){if(i===null)try{var k=u.stateNode;t?IE(k):CE(k,u.memoizedProps)}catch(S){cn(e,e.return,S)}}else if(!((u.tag===$e||u.tag===at)&&u.memoizedState!==null&&u!==e)&&u.child!==null){u.child.return=u,u=u.child;continue}if(u===e)return;for(;u.sibling===null;){if(u.return===null||u.return===e)return;i===u&&(i=null),u=u.return}i===u&&(i=null),u.sibling.return=u.return,u=u.sibling}}function Uk(e){var t=e.ref;if(t!==null){var i=e.stateNode,u;switch(e.tag){case j:u=i;break;default:u=i}if(typeof t=="function"){var h;if(e.mode&lt)try{Li(),h=t(u)}finally{xi(e)}else h=t(u);typeof h=="function"&&g("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",bt(e))}else t.hasOwnProperty("current")||g("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",bt(e)),t.current=u}}function eI(e){var t=e.alternate;t!==null&&(t.return=null),e.return=null}function jk(e){var t=e.alternate;t!==null&&(e.alternate=null,jk(t));{if(e.child=null,e.deletions=null,e.sibling=null,e.tag===j){var i=e.stateNode;i!==null&&sN(i)}e.stateNode=null,e._debugOwner=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}}function tI(e){for(var t=e.return;t!==null;){if(zk(t))return t;t=t.return}throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.")}function zk(e){return e.tag===j||e.tag===R||e.tag===x}function Bk(e){var t=e;e:for(;;){for(;t.sibling===null;){if(t.return===null||zk(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==j&&t.tag!==Q&&t.tag!==ht;){if(t.flags&on||t.child===null||t.tag===x)continue e;t.child.return=t,t=t.child}if(!(t.flags&on))return t.stateNode}}function nI(e){var t=tI(e);switch(t.tag){case j:{var i=t.stateNode;t.flags&Yt&&(F8(i),t.flags&=~Yt);var u=Bk(e);j3(e,u,i);break}case R:case x:{var h=t.stateNode.containerInfo,k=Bk(e);U3(e,k,h);break}default:throw new Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function U3(e,t,i){var u=e.tag,h=u===j||u===Q;if(h){var k=e.stateNode;t?wE(i,k,t):kE(i,k)}else if(u!==x){var S=e.child;if(S!==null){U3(S,t,i);for(var _=S.sibling;_!==null;)U3(_,t,i),_=_.sibling}}}function j3(e,t,i){var u=e.tag,h=u===j||u===Q;if(h){var k=e.stateNode;t?bE(i,k,t):TE(i,k)}else if(u!==x){var S=e.child;if(S!==null){j3(S,t,i);for(var _=S.sibling;_!==null;)j3(_,t,i),_=_.sibling}}}var Or=null,qo=!1;function rI(e,t,i){{var u=t;e:for(;u!==null;){switch(u.tag){case j:{Or=u.stateNode,qo=!1;break e}case R:{Or=u.stateNode.containerInfo,qo=!0;break e}case x:{Or=u.stateNode.containerInfo,qo=!0;break e}}u=u.return}if(Or===null)throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");Fk(e,t,i),Or=null,qo=!1}eI(i)}function $l(e,t,i){for(var u=i.child;u!==null;)Fk(e,t,u),u=u.sibling}function Fk(e,t,i){switch(am(i),i.tag){case j:Ar||Cf(i,t);case Q:{{var u=Or,h=qo;Or=null,$l(e,t,i),Or=u,qo=h,Or!==null&&(qo?EE(Or,i.stateNode):SE(Or,i.stateNode))}return}case ht:{Or!==null&&(qo?NE(Or,i.stateNode):W2(Or,i.stateNode));return}case x:{{var k=Or,S=qo;Or=i.stateNode.containerInfo,qo=!0,$l(e,t,i),Or=k,qo=S}return}case I:case te:case ye:case fe:{if(!Ar){var _=i.updateQueue;if(_!==null){var A=_.lastEffect;if(A!==null){var P=A.next,z=P;do{var q=z,H=q.destroy,ae=q.tag;H!==void 0&&((ae&Ci)!==Ua?R0(i,t,H):(ae&lr)!==Ua&&(hd(i),i.mode&lt?(Li(),R0(i,t,H),xi(i)):R0(i,t,H),gl())),z=z.next}while(z!==P)}}}$l(e,t,i);return}case C:{if(!Ar){Cf(i,t);var oe=i.stateNode;typeof oe.componentWillUnmount=="function"&&P3(i,t,oe)}$l(e,t,i);return}case yt:{$l(e,t,i);return}case $e:{if(i.mode&Ot){var me=Ar;Ar=me||i.memoizedState!==null,$l(e,t,i),Ar=me}else $l(e,t,i);break}default:{$l(e,t,i);return}}}function aI(e){e.memoizedState}function oI(e,t){var i=t.memoizedState;if(i===null){var u=t.alternate;if(u!==null){var h=u.memoizedState;if(h!==null){var k=h.dehydrated;k!==null&&QE(k)}}}}function Vk(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var i=e.stateNode;i===null&&(i=e.stateNode=new VM),t.forEach(function(u){var h=t_.bind(null,e,u);if(!i.has(u)){if(i.add(u),rr)if(If!==null&&_f!==null)w1(_f,If);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");u.then(h,h)}})}}function iI(e,t,i){If=i,_f=e,$t(t),Yk(t,e),$t(t),If=null,_f=null}function Wo(e,t,i){var u=t.deletions;if(u!==null)for(var h=0;h<u.length;h++){var k=u[h];try{rI(e,t,k)}catch(A){cn(k,t,A)}}var S=Zy();if(t.subtreeFlags&Yr)for(var _=t.child;_!==null;)$t(_),Yk(_,e),_=_.sibling;$t(S)}function Yk(e,t,i){var u=e.alternate,h=e.flags;switch(e.tag){case I:case te:case ye:case fe:{if(Wo(t,e),Ri(e),h&St){try{$o(Ci|sr,e,e.return),Hl(Ci|sr,e)}catch(pt){cn(e,e.return,pt)}if(e.mode&lt){try{Li(),$o(lr|sr,e,e.return)}catch(pt){cn(e,e.return,pt)}xi(e)}else try{$o(lr|sr,e,e.return)}catch(pt){cn(e,e.return,pt)}}return}case C:{Wo(t,e),Ri(e),h&Br&&u!==null&&Cf(u,u.return);return}case j:{Wo(t,e),Ri(e),h&Br&&u!==null&&Cf(u,u.return);{if(e.flags&Yt){var k=e.stateNode;try{F8(k)}catch(pt){cn(e,e.return,pt)}}if(h&St){var S=e.stateNode;if(S!=null){var _=e.memoizedProps,A=u!==null?u.memoizedProps:_,P=e.type,z=e.updateQueue;if(e.updateQueue=null,z!==null)try{yE(S,z,P,A,_,e)}catch(pt){cn(e,e.return,pt)}}}}return}case Q:{if(Wo(t,e),Ri(e),h&St){if(e.stateNode===null)throw new Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");var q=e.stateNode,H=e.memoizedProps,ae=u!==null?u.memoizedProps:H;try{vE(q,ae,H)}catch(pt){cn(e,e.return,pt)}}return}case R:{if(Wo(t,e),Ri(e),h&St&&u!==null){var oe=u.memoizedState;if(oe.isDehydrated)try{YE(t.containerInfo)}catch(pt){cn(e,e.return,pt)}}return}case x:{Wo(t,e),Ri(e);return}case Z:{Wo(t,e),Ri(e);var me=e.child;if(me.flags&li){var Ue=me.stateNode,Xe=me.memoizedState,it=Xe!==null;if(Ue.isHidden=it,it){var Lt=me.alternate!==null&&me.alternate.memoizedState!==null;Lt||BI()}}if(h&St){try{aI(e)}catch(pt){cn(e,e.return,pt)}Vk(e)}return}case $e:{var _t=u!==null&&u.memoizedState!==null;if(e.mode&Ot){var ee=Ar;Ar=ee||_t,Wo(t,e),Ar=ee}else Wo(t,e);if(Ri(e),h&li){var pe=e.stateNode,ne=e.memoizedState,Me=ne!==null,Ye=e;if(pe.isHidden=Me,Me&&!_t&&(Ye.mode&Ot)!==st){We=Ye;for(var je=Ye.child;je!==null;)We=je,lI(je),je=je.sibling}XM(Ye,Me)}return}case ct:{Wo(t,e),Ri(e),h&St&&Vk(e);return}case yt:return;default:{Wo(t,e),Ri(e);return}}}function Ri(e){var t=e.flags;if(t&on){try{nI(e)}catch(i){cn(e,e.return,i)}e.flags&=~on}t&Ma&&(e.flags&=~Ma)}function sI(e,t,i){If=i,_f=t,We=e,Qk(e,t,i),If=null,_f=null}function Qk(e,t,i){for(var u=(e.mode&Ot)!==st;We!==null;){var h=We,k=h.child;if(h.tag===$e&&u){var S=h.memoizedState!==null,_=S||L0;if(_){z3(e,t,i);continue}else{var A=h.alternate,P=A!==null&&A.memoizedState!==null,z=P||Ar,q=L0,H=Ar;L0=_,Ar=z,Ar&&!H&&(We=h,uI(h));for(var ae=k;ae!==null;)We=ae,Qk(ae,t,i),ae=ae.sibling;We=h,L0=q,Ar=H,z3(e,t,i);continue}}(h.subtreeFlags&yr)!==nt&&k!==null?(k.return=h,We=k):z3(e,t,i)}}function z3(e,t,i){for(;We!==null;){var u=We;if((u.flags&yr)!==nt){var h=u.alternate;$t(u);try{ZM(t,h,u,i)}catch(S){cn(u,u.return,S)}Dn()}if(u===e){We=null;return}var k=u.sibling;if(k!==null){k.return=u.return,We=k;return}We=u.return}}function lI(e){for(;We!==null;){var t=We,i=t.child;switch(t.tag){case I:case te:case ye:case fe:{if(t.mode&lt)try{Li(),$o(lr,t,t.return)}finally{xi(t)}else $o(lr,t,t.return);break}case C:{Cf(t,t.return);var u=t.stateNode;typeof u.componentWillUnmount=="function"&&P3(t,t.return,u);break}case j:{Cf(t,t.return);break}case $e:{var h=t.memoizedState!==null;if(h){Gk(e);continue}break}}i!==null?(i.return=t,We=i):Gk(e)}}function Gk(e){for(;We!==null;){var t=We;if(t===e){We=null;return}var i=t.sibling;if(i!==null){i.return=t.return,We=i;return}We=t.return}}function uI(e){for(;We!==null;){var t=We,i=t.child;if(t.tag===$e){var u=t.memoizedState!==null;if(u){Hk(e);continue}}i!==null?(i.return=t,We=i):Hk(e)}}function Hk(e){for(;We!==null;){var t=We;$t(t);try{JM(t)}catch(u){cn(t,t.return,u)}if(Dn(),t===e){We=null;return}var i=t.sibling;if(i!==null){i.return=t.return,We=i;return}We=t.return}}function cI(e,t,i,u){We=t,dI(t,e,i,u)}function dI(e,t,i,u){for(;We!==null;){var h=We,k=h.child;(h.subtreeFlags&Ia)!==nt&&k!==null?(k.return=h,We=k):fI(e,t,i,u)}}function fI(e,t,i,u){for(;We!==null;){var h=We;if((h.flags&fn)!==nt){$t(h);try{pI(t,h,i,u)}catch(S){cn(h,h.return,S)}Dn()}if(h===e){We=null;return}var k=h.sibling;if(k!==null){k.return=h.return,We=k;return}We=h.return}}function pI(e,t,i,u){switch(t.tag){case I:case te:case fe:{if(t.mode&lt){g3();try{Hl(_r|sr,t)}finally{h3(t)}}else Hl(_r|sr,t);break}}}function mI(e){We=e,hI()}function hI(){for(;We!==null;){var e=We,t=e.child;if((We.flags&Vt)!==nt){var i=e.deletions;if(i!==null){for(var u=0;u<i.length;u++){var h=i[u];We=h,vI(h,e)}{var k=e.alternate;if(k!==null){var S=k.child;if(S!==null){k.child=null;do{var _=S.sibling;S.sibling=null,S=_}while(S!==null)}}}We=e}}(e.subtreeFlags&Ia)!==nt&&t!==null?(t.return=e,We=t):gI()}}function gI(){for(;We!==null;){var e=We;(e.flags&fn)!==nt&&($t(e),yI(e),Dn());var t=e.sibling;if(t!==null){t.return=e.return,We=t;return}We=e.return}}function yI(e){switch(e.tag){case I:case te:case fe:{e.mode&lt?(g3(),$o(_r|sr,e,e.return),h3(e)):$o(_r|sr,e,e.return);break}}}function vI(e,t){for(;We!==null;){var i=We;$t(i),kI(i,t),Dn();var u=i.child;u!==null?(u.return=i,We=u):TI(e)}}function TI(e){for(;We!==null;){var t=We,i=t.sibling,u=t.return;if(jk(t),t===e){We=null;return}if(i!==null){i.return=u,We=i;return}We=u}}function kI(e,t){switch(e.tag){case I:case te:case fe:{e.mode&lt?(g3(),$o(_r,e,t),h3(e)):$o(_r,e,t);break}}}function bI(e){switch(e.tag){case I:case te:case fe:{try{Hl(lr|sr,e)}catch(i){cn(e,e.return,i)}break}case C:{var t=e.stateNode;try{t.componentDidMount()}catch(i){cn(e,e.return,i)}break}}}function wI(e){switch(e.tag){case I:case te:case fe:{try{Hl(_r|sr,e)}catch(t){cn(e,e.return,t)}break}}}function SI(e){switch(e.tag){case I:case te:case fe:{try{$o(lr|sr,e,e.return)}catch(i){cn(e,e.return,i)}break}case C:{var t=e.stateNode;typeof t.componentWillUnmount=="function"&&P3(e,e.return,t);break}}}function EI(e){switch(e.tag){case I:case te:case fe:try{$o(_r|sr,e,e.return)}catch(t){cn(e,e.return,t)}}}if(typeof Symbol=="function"&&Symbol.for){var f1=Symbol.for;f1("selector.component"),f1("selector.has_pseudo_class"),f1("selector.role"),f1("selector.test_id"),f1("selector.text")}var NI=[];function MI(){NI.forEach(function(e){return e()})}var II=s.ReactCurrentActQueue;function _I(e){{var t=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0,i=typeof jest<"u";return i&&t!==!1}}function $k(){{var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return!e&&II.current!==null&&g("The current testing environment is not configured to support act(...)"),e}}var CI=Math.ceil,B3=s.ReactCurrentDispatcher,F3=s.ReactCurrentOwner,xr=s.ReactCurrentBatchConfig,Ko=s.ReactCurrentActQueue,dr=0,qk=1,Lr=2,vo=4,Ds=0,p1=1,mc=2,D0=3,m1=4,Wk=5,V3=6,Ut=dr,pa=null,Mn=null,fr=he,Di=he,Y3=Ul(he),pr=Ds,h1=null,P0=he,g1=he,U0=he,y1=null,ja=null,Q3=0,Kk=500,Zk=1/0,AI=500,Ps=null;function v1(){Zk=mn()+AI}function Jk(){return Zk}var j0=!1,G3=null,Af=null,hc=!1,ql=null,T1=he,H3=[],$3=null,OI=50,k1=0,q3=null,W3=!1,z0=!1,xI=50,Of=0,B0=null,F0=Xt,V0=he,Xk=!1;function Y0(){return pa}function ma(){return(Ut&(Lr|vo))!==dr?mn():(F0!==Xt||(F0=mn()),F0)}function Wl(e){var t=e.mode;if((t&Ot)===st)return ut;if((Ut&Lr)!==dr&&fr!==he)return Un(fr);var i=_N()!==IN;if(i){if(xr.transition!==null){var u=xr.transition;u._updatedFibers||(u._updatedFibers=new Set),u._updatedFibers.add(e)}return V0===Pt&&(V0=fm()),V0}var h=la();if(h!==Pt)return h;var k=fE();return k}function LI(e){var t=e.mode;return(t&Ot)===st?ut:T2()}function mr(e,t,i,u){r_(),Xk&&g("useInsertionEffect must not schedule updates."),W3&&(z0=!0),El(e,i,u),(Ut&Lr)!==he&&e===pa?i_(t):(rr&&Jh(e,t,i),s_(t),e===pa&&((Ut&Lr)===dr&&(g1=Et(g1,i)),pr===m1&&Kl(e,fr)),za(e,u),i===ut&&Ut===dr&&(t.mode&Ot)===st&&!Ko.isBatchingLegacy&&(v1(),J8()))}function RI(e,t,i){var u=e.current;u.lanes=t,El(e,t,i),za(e,i)}function DI(e){return(Ut&Lr)!==dr}function za(e,t){var i=e.callbackNode;g2(e,t);var u=Uu(e,e===pa?fr:he);if(u===he){i!==null&&h5(i),e.callbackNode=null,e.callbackPriority=Pt;return}var h=xn(u),k=e.callbackPriority;if(k===h&&!(Ko.current!==null&&i!==n4)){i==null&&k!==ut&&g("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.");return}i!=null&&h5(i);var S;if(h===ut)e.tag===jl?(Ko.isBatchingLegacy!==null&&(Ko.didScheduleLegacyUpdate=!0),cN(n5.bind(null,e))):Z8(n5.bind(null,e)),Ko.current!==null?Ko.current.push(zl):mE(function(){(Ut&(Lr|vo))===dr&&zl()}),S=null;else{var _;switch(eg(u)){case qr:_=dd;break;case Oa:_=ia;break;case ar:_=lo;break;case Fd:_=ci;break;default:_=lo;break}S=r4(_,e5.bind(null,e))}e.callbackPriority=h,e.callbackNode=S}function e5(e,t){if(rM(),F0=Xt,V0=he,(Ut&(Lr|vo))!==dr)throw new Error("Should not already be working.");var i=e.callbackNode,u=js();if(u&&e.callbackNode!==i)return null;var h=Uu(e,e===pa?fr:he);if(h===he)return null;var k=!zu(e,h)&&!Kh(e,h)&&!t,S=k?GI(e,h):G0(e,h);if(S!==Ds){if(S===mc){var _=cm(e);_!==he&&(h=_,S=K3(e,_))}if(S===p1){var A=h1;throw gc(e,he),Kl(e,h),za(e,mn()),A}if(S===V3)Kl(e,h);else{var P=!zu(e,h),z=e.current.alternate;if(P&&!UI(z)){if(S=G0(e,h),S===mc){var q=cm(e);q!==he&&(h=q,S=K3(e,q))}if(S===p1){var H=h1;throw gc(e,he),Kl(e,h),za(e,mn()),H}}e.finishedWork=z,e.finishedLanes=h,PI(e,S,h)}}return za(e,mn()),e.callbackNode===i?e5.bind(null,e):null}function K3(e,t){var i=y1;if(vs(e)){var u=gc(e,t);u.flags|=kn,rN(e.containerInfo)}var h=G0(e,t);if(h!==mc){var k=ja;ja=i,k!==null&&t5(k)}return h}function t5(e){ja===null?ja=e:ja.push.apply(ja,e)}function PI(e,t,i){switch(t){case Ds:case p1:throw new Error("Root did not complete. This is a bug in React.");case mc:{yc(e,ja,Ps);break}case D0:{if(Kl(e,i),Dd(i)&&!g5()){var u=Q3+Kk-mn();if(u>10){var h=Uu(e,he);if(h!==he)break;var k=e.suspendedLanes;if(!ys(k,i)){ma(),jd(e,k);break}e.timeoutHandle=$2(yc.bind(null,e,ja,Ps),u);break}}yc(e,ja,Ps);break}case m1:{if(Kl(e,i),Wh(i))break;if(!g5()){var S=qh(e,i),_=S,A=mn()-_,P=n_(A)-A;if(P>10){e.timeoutHandle=$2(yc.bind(null,e,ja,Ps),P);break}}yc(e,ja,Ps);break}case Wk:{yc(e,ja,Ps);break}default:throw new Error("Unknown root exit status.")}}function UI(e){for(var t=e;;){if(t.flags&Au){var i=t.updateQueue;if(i!==null){var u=i.stores;if(u!==null)for(var h=0;h<u.length;h++){var k=u[h],S=k.getSnapshot,_=k.value;try{if(!Be(S(),_))return!1}catch{return!1}}}}var A=t.child;if(t.subtreeFlags&Au&&A!==null){A.return=t,t=A;continue}if(t===e)return!0;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}return!0}function Kl(e,t){t=Sl(t,U0),t=Sl(t,g1),hm(e,t)}function n5(e){if(aM(),(Ut&(Lr|vo))!==dr)throw new Error("Should not already be working.");js();var t=Uu(e,he);if(!$r(t,ut))return za(e,mn()),null;var i=G0(e,t);if(e.tag!==jl&&i===mc){var u=cm(e);u!==he&&(t=u,i=K3(e,u))}if(i===p1){var h=h1;throw gc(e,he),Kl(e,t),za(e,mn()),h}if(i===V3)throw new Error("Root did not complete. This is a bug in React.");var k=e.current.alternate;return e.finishedWork=k,e.finishedLanes=t,yc(e,ja,Ps),za(e,mn()),null}function jI(e,t){t!==he&&(Bu(e,Et(t,ut)),za(e,mn()),(Ut&(Lr|vo))===dr&&(v1(),zl()))}function Z3(e,t){var i=Ut;Ut|=qk;try{return e(t)}finally{Ut=i,Ut===dr&&!Ko.isBatchingLegacy&&(v1(),J8())}}function zI(e,t,i,u,h){var k=la(),S=xr.transition;try{return xr.transition=null,jn(qr),e(t,i,u,h)}finally{jn(k),xr.transition=S,Ut===dr&&v1()}}function Us(e){ql!==null&&ql.tag===jl&&(Ut&(Lr|vo))===dr&&js();var t=Ut;Ut|=qk;var i=xr.transition,u=la();try{return xr.transition=null,jn(qr),e?e():void 0}finally{jn(u),xr.transition=i,Ut=t,(Ut&(Lr|vo))===dr&&zl()}}function r5(){return(Ut&(Lr|vo))!==dr}function Q0(e,t){Zr(Y3,Di,e),Di=Et(Di,t)}function J3(e){Di=Y3.current,Kr(Y3,e)}function gc(e,t){e.finishedWork=null,e.finishedLanes=he;var i=e.timeoutHandle;if(i!==q2&&(e.timeoutHandle=q2,pE(i)),Mn!==null)for(var u=Mn.return;u!==null;){var h=u.alternate;xk(h,u),u=u.return}pa=e;var k=vc(e.current,null);return Mn=k,fr=Di=t,pr=Ds,h1=null,P0=he,g1=he,U0=he,y1=null,ja=null,xN(),Vo.discardPendingWarnings(),k}function a5(e,t){do{var i=Mn;try{if(Zg(),R6(),Dn(),F3.current=null,i===null||i.return===null){pr=p1,h1=t,Mn=null;return}if(dt&&i.mode&lt&&C0(i,!0),Ze)if(ls(),t!==null&&typeof t=="object"&&typeof t.then=="function"){var u=t;Gh(i,u,fr)}else gd(i,t,fr);uM(e,i.return,i,t,fr),l5(i)}catch(h){t=h,Mn===i&&i!==null?(i=i.return,Mn=i):i=Mn;continue}return}while(!0)}function o5(){var e=B3.current;return B3.current=E0,e===null?E0:e}function i5(e){B3.current=e}function BI(){Q3=mn()}function b1(e){P0=Et(e,P0)}function FI(){pr===Ds&&(pr=D0)}function X3(){(pr===Ds||pr===D0||pr===mc)&&(pr=m1),pa!==null&&(ju(P0)||ju(g1))&&Kl(pa,fr)}function VI(e){pr!==m1&&(pr=mc),y1===null?y1=[e]:y1.push(e)}function YI(){return pr===Ds}function G0(e,t){var i=Ut;Ut|=Lr;var u=o5();if(pa!==e||fr!==t){if(rr){var h=e.memoizedUpdaters;h.size>0&&(w1(e,fr),h.clear()),gm(e,t)}Ps=Bd(),gc(e,t)}Za(t);do try{QI();break}catch(k){a5(e,k)}while(!0);if(Zg(),Ut=i,i5(u),Mn!==null)throw new Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");return vl(),pa=null,fr=he,pr}function QI(){for(;Mn!==null;)s5(Mn)}function GI(e,t){var i=Ut;Ut|=Lr;var u=o5();if(pa!==e||fr!==t){if(rr){var h=e.memoizedUpdaters;h.size>0&&(w1(e,fr),h.clear()),gm(e,t)}Ps=Bd(),v1(),gc(e,t)}Za(t);do try{HI();break}catch(k){a5(e,k)}while(!0);return Zg(),i5(u),Ut=i,Mn!==null?(Lu(),Ds):(vl(),pa=null,fr=he,pr)}function HI(){for(;Mn!==null&&!cd();)s5(Mn)}function s5(e){var t=e.alternate;$t(e);var i;(e.mode&lt)!==st?(m3(e),i=e4(t,e,Di),C0(e,!0)):i=e4(t,e,Di),Dn(),e.memoizedProps=e.pendingProps,i===null?l5(e):Mn=i,F3.current=null}function l5(e){var t=e;do{var i=t.alternate,u=t.return;if((t.flags&ra)===nt){$t(t);var h=void 0;if((t.mode&lt)===st?h=Ok(i,t,Di):(m3(t),h=Ok(i,t,Di),C0(t,!1)),Dn(),h!==null){Mn=h;return}}else{var k=FM(i,t);if(k!==null){k.flags&=Ph,Mn=k;return}if((t.mode&lt)!==st){C0(t,!1);for(var S=t.actualDuration,_=t.child;_!==null;)S+=_.actualDuration,_=_.sibling;t.actualDuration=S}if(u!==null)u.flags|=ra,u.subtreeFlags=nt,u.deletions=null;else{pr=V3,Mn=null;return}}var A=t.sibling;if(A!==null){Mn=A;return}t=u,Mn=t}while(t!==null);pr===Ds&&(pr=Wk)}function yc(e,t,i){var u=la(),h=xr.transition;try{xr.transition=null,jn(qr),$I(e,t,i,u)}finally{xr.transition=h,jn(u)}return null}function $I(e,t,i,u){do js();while(ql!==null);if(a_(),(Ut&(Lr|vo))!==dr)throw new Error("Should not already be working.");var h=e.finishedWork,k=e.finishedLanes;if(pd(k),h===null)return om(),null;if(k===he&&g("root.finishedLanes should not be empty during a commit. This is a bug in React."),e.finishedWork=null,e.finishedLanes=he,h===e.current)throw new Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");e.callbackNode=null,e.callbackPriority=Pt;var S=Et(h.lanes,h.childLanes);Zh(e,S),e===pa&&(pa=null,Mn=null,fr=he),((h.subtreeFlags&Ia)!==nt||(h.flags&Ia)!==nt)&&(hc||(hc=!0,$3=i,r4(lo,function(){return js(),null})));var _=(h.subtreeFlags&(hl|Yr|yr|Ia))!==nt,A=(h.flags&(hl|Yr|yr|Ia))!==nt;if(_||A){var P=xr.transition;xr.transition=null;var z=la();jn(qr);var q=Ut;Ut|=vo,F3.current=null,HM(e,h),ok(),iI(e,h,k),iE(e.containerInfo),e.current=h,Hh(k),sI(h,e,k),yl(),zh(),Ut=q,jn(z),xr.transition=P}else e.current=h,ok();var H=hc;if(hc?(hc=!1,ql=e,T1=k):(Of=0,B0=null),S=e.pendingLanes,S===he&&(Af=null),H||f5(e.current,!1),Do(h.stateNode,u),rr&&e.memoizedUpdaters.clear(),MI(),za(e,mn()),t!==null)for(var ae=e.onRecoverableError,oe=0;oe<t.length;oe++){var me=t[oe],Ue=me.stack,Xe=me.digest;ae(me.value,{componentStack:Ue,digest:Xe})}if(j0){j0=!1;var it=G3;throw G3=null,it}return $r(T1,ut)&&e.tag!==jl&&js(),S=e.pendingLanes,$r(S,ut)?(nM(),e===q3?k1++:(k1=0,q3=e)):k1=0,zl(),om(),null}function js(){if(ql!==null){var e=eg(T1),t=vr(ar,e),i=xr.transition,u=la();try{return xr.transition=null,jn(t),WI()}finally{jn(u),xr.transition=i}}return!1}function qI(e){H3.push(e),hc||(hc=!0,r4(lo,function(){return js(),null}))}function WI(){if(ql===null)return!1;var e=$3;$3=null;var t=ql,i=T1;if(ql=null,T1=he,(Ut&(Lr|vo))!==dr)throw new Error("Cannot flush passive effects while already rendering.");W3=!0,z0=!1,$h(i);var u=Ut;Ut|=vo,mI(t.current),cI(t,t.current,i,e);{var h=H3;H3=[];for(var k=0;k<h.length;k++){var S=h[k];KM(t,S)}}xu(),f5(t.current,!0),Ut=u,zl(),z0?t===B0?Of++:(Of=0,B0=t):Of=0,W3=!1,z0=!1,fi(t);{var _=t.current.stateNode;_.effectDuration=0,_.passiveEffectDuration=0}return!0}function u5(e){return Af!==null&&Af.has(e)}function KI(e){Af===null?Af=new Set([e]):Af.add(e)}function ZI(e){j0||(j0=!0,G3=e)}var JI=ZI;function c5(e,t,i){var u=fc(i,t),h=sk(e,u,ut),k=Fl(e,h,ut),S=ma();k!==null&&(El(k,ut,S),za(k,S))}function cn(e,t,i){if(YM(i),S1(!1),e.tag===R){c5(e,e,i);return}var u=null;for(u=t;u!==null;){if(u.tag===R){c5(u,e,i);return}else if(u.tag===C){var h=u.type,k=u.stateNode;if(typeof h.getDerivedStateFromError=="function"||typeof k.componentDidCatch=="function"&&!u5(k)){var S=fc(i,e),_=k3(u,S,ut),A=Fl(u,_,ut),P=ma();A!==null&&(El(A,ut,P),za(A,P));return}}u=u.return}g(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Likely causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
138
+ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching`:P=" You returned: "+_,g("%s must not return anything besides a function, which is used for clean-up.%s",A,P)}}}k=k.next}while(k!==h)}}function KM(e,t){if((t.flags&St)!==nt)switch(t.tag){case ue:{var i=t.stateNode.passiveEffectDuration,u=t.memoizedProps,h=u.id,k=u.onPostCommit,S=a5(),_=t.alternate===null?"mount":"update";r5()&&(_="nested-update"),typeof k=="function"&&k(h,_,i,S);var A=t.return;e:for(;A!==null;){switch(A.tag){case R:var P=A.stateNode;P.passiveEffectDuration+=i;break e;case ue:var z=A.stateNode;z.passiveEffectDuration+=i;break e}A=A.return}break}}}function ZM(e,t,i,u){if((i.flags&yr)!==nt)switch(i.tag){case I:case te:case fe:{if(!Ar)if(i.mode&lt)try{Li(),Hl(lr|sr,i)}finally{xi(i)}else Hl(lr|sr,i);break}case C:{var h=i.stateNode;if(i.flags&St&&!Ar)if(t===null)if(i.type===i.elementType&&!pc&&(h.props!==i.memoizedProps&&g("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",bt(i)||"instance"),h.state!==i.memoizedState&&g("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",bt(i)||"instance")),i.mode&lt)try{Li(),h.componentDidMount()}finally{xi(i)}else h.componentDidMount();else{var k=i.elementType===i.type?t.memoizedProps:Yo(i.type,t.memoizedProps),S=t.memoizedState;if(i.type===i.elementType&&!pc&&(h.props!==i.memoizedProps&&g("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",bt(i)||"instance"),h.state!==i.memoizedState&&g("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",bt(i)||"instance")),i.mode&lt)try{Li(),h.componentDidUpdate(k,S,h.__reactInternalSnapshotBeforeUpdate)}finally{xi(i)}else h.componentDidUpdate(k,S,h.__reactInternalSnapshotBeforeUpdate)}var _=i.updateQueue;_!==null&&(i.type===i.elementType&&!pc&&(h.props!==i.memoizedProps&&g("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",bt(i)||"instance"),h.state!==i.memoizedState&&g("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",bt(i)||"instance")),y6(i,_,h));break}case R:{var A=i.updateQueue;if(A!==null){var P=null;if(i.child!==null)switch(i.child.tag){case j:P=i.child.stateNode;break;case C:P=i.child.stateNode;break}y6(i,A,P)}break}case j:{var z=i.stateNode;if(t===null&&i.flags&St){var q=i.type,H=i.memoizedProps;gE(z,q,H)}break}case Q:break;case x:break;case ue:{{var ae=i.memoizedProps,oe=ae.onCommit,me=ae.onRender,Ue=i.stateNode.effectDuration,Xe=a5(),it=t===null?"mount":"update";r5()&&(it="nested-update"),typeof me=="function"&&me(i.memoizedProps.id,it,i.actualDuration,i.treeBaseDuration,i.actualStartTime,Xe);{typeof oe=="function"&&oe(i.memoizedProps.id,it,Ue,Xe),qI(i);var Lt=i.return;e:for(;Lt!==null;){switch(Lt.tag){case R:var _t=Lt.stateNode;_t.effectDuration+=Ue;break e;case ue:var ee=Lt.stateNode;ee.effectDuration+=Ue;break e}Lt=Lt.return}}}break}case Z:{oI(e,i);break}case ct:case He:case yt:case $e:case at:case Dt:break;default:throw new Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}Ar||i.flags&Br&&U5(i)}function JM(e){switch(e.tag){case I:case te:case fe:{if(e.mode&lt)try{Li(),R5(e,e.return)}finally{xi(e)}else R5(e,e.return);break}case C:{var t=e.stateNode;typeof t.componentDidMount=="function"&&GM(e,e.return,t),D5(e,e.return);break}case j:{D5(e,e.return);break}}}function XM(e,t){for(var i=null,u=e;;){if(u.tag===j){if(i===null){i=u;try{var h=u.stateNode;t?ME(h):_E(u.stateNode,u.memoizedProps)}catch(S){cn(e,e.return,S)}}}else if(u.tag===Q){if(i===null)try{var k=u.stateNode;t?IE(k):CE(k,u.memoizedProps)}catch(S){cn(e,e.return,S)}}else if(!((u.tag===$e||u.tag===at)&&u.memoizedState!==null&&u!==e)&&u.child!==null){u.child.return=u,u=u.child;continue}if(u===e)return;for(;u.sibling===null;){if(u.return===null||u.return===e)return;i===u&&(i=null),u=u.return}i===u&&(i=null),u.sibling.return=u.return,u=u.sibling}}function U5(e){var t=e.ref;if(t!==null){var i=e.stateNode,u;switch(e.tag){case j:u=i;break;default:u=i}if(typeof t=="function"){var h;if(e.mode&lt)try{Li(),h=t(u)}finally{xi(e)}else h=t(u);typeof h=="function"&&g("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",bt(e))}else t.hasOwnProperty("current")||g("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",bt(e)),t.current=u}}function eI(e){var t=e.alternate;t!==null&&(t.return=null),e.return=null}function j5(e){var t=e.alternate;t!==null&&(e.alternate=null,j5(t));{if(e.child=null,e.deletions=null,e.sibling=null,e.tag===j){var i=e.stateNode;i!==null&&sN(i)}e.stateNode=null,e._debugOwner=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}}function tI(e){for(var t=e.return;t!==null;){if(z5(t))return t;t=t.return}throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.")}function z5(e){return e.tag===j||e.tag===R||e.tag===x}function B5(e){var t=e;e:for(;;){for(;t.sibling===null;){if(t.return===null||z5(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==j&&t.tag!==Q&&t.tag!==ht;){if(t.flags&on||t.child===null||t.tag===x)continue e;t.child.return=t,t=t.child}if(!(t.flags&on))return t.stateNode}}function nI(e){var t=tI(e);switch(t.tag){case j:{var i=t.stateNode;t.flags&Yt&&(F8(i),t.flags&=~Yt);var u=B5(e);j3(e,u,i);break}case R:case x:{var h=t.stateNode.containerInfo,k=B5(e);U3(e,k,h);break}default:throw new Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function U3(e,t,i){var u=e.tag,h=u===j||u===Q;if(h){var k=e.stateNode;t?wE(i,k,t):kE(i,k)}else if(u!==x){var S=e.child;if(S!==null){U3(S,t,i);for(var _=S.sibling;_!==null;)U3(_,t,i),_=_.sibling}}}function j3(e,t,i){var u=e.tag,h=u===j||u===Q;if(h){var k=e.stateNode;t?bE(i,k,t):TE(i,k)}else if(u!==x){var S=e.child;if(S!==null){j3(S,t,i);for(var _=S.sibling;_!==null;)j3(_,t,i),_=_.sibling}}}var Or=null,qo=!1;function rI(e,t,i){{var u=t;e:for(;u!==null;){switch(u.tag){case j:{Or=u.stateNode,qo=!1;break e}case R:{Or=u.stateNode.containerInfo,qo=!0;break e}case x:{Or=u.stateNode.containerInfo,qo=!0;break e}}u=u.return}if(Or===null)throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");F5(e,t,i),Or=null,qo=!1}eI(i)}function $l(e,t,i){for(var u=i.child;u!==null;)F5(e,t,u),u=u.sibling}function F5(e,t,i){switch(am(i),i.tag){case j:Ar||Cf(i,t);case Q:{{var u=Or,h=qo;Or=null,$l(e,t,i),Or=u,qo=h,Or!==null&&(qo?EE(Or,i.stateNode):SE(Or,i.stateNode))}return}case ht:{Or!==null&&(qo?NE(Or,i.stateNode):W2(Or,i.stateNode));return}case x:{{var k=Or,S=qo;Or=i.stateNode.containerInfo,qo=!0,$l(e,t,i),Or=k,qo=S}return}case I:case te:case ye:case fe:{if(!Ar){var _=i.updateQueue;if(_!==null){var A=_.lastEffect;if(A!==null){var P=A.next,z=P;do{var q=z,H=q.destroy,ae=q.tag;H!==void 0&&((ae&Ci)!==Ua?R0(i,t,H):(ae&lr)!==Ua&&(hd(i),i.mode&lt?(Li(),R0(i,t,H),xi(i)):R0(i,t,H),gl())),z=z.next}while(z!==P)}}}$l(e,t,i);return}case C:{if(!Ar){Cf(i,t);var oe=i.stateNode;typeof oe.componentWillUnmount=="function"&&P3(i,t,oe)}$l(e,t,i);return}case yt:{$l(e,t,i);return}case $e:{if(i.mode&Ot){var me=Ar;Ar=me||i.memoizedState!==null,$l(e,t,i),Ar=me}else $l(e,t,i);break}default:{$l(e,t,i);return}}}function aI(e){e.memoizedState}function oI(e,t){var i=t.memoizedState;if(i===null){var u=t.alternate;if(u!==null){var h=u.memoizedState;if(h!==null){var k=h.dehydrated;k!==null&&QE(k)}}}}function V5(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var i=e.stateNode;i===null&&(i=e.stateNode=new VM),t.forEach(function(u){var h=t_.bind(null,e,u);if(!i.has(u)){if(i.add(u),rr)if(If!==null&&_f!==null)w1(_f,If);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");u.then(h,h)}})}}function iI(e,t,i){If=i,_f=e,$t(t),Y5(t,e),$t(t),If=null,_f=null}function Wo(e,t,i){var u=t.deletions;if(u!==null)for(var h=0;h<u.length;h++){var k=u[h];try{rI(e,t,k)}catch(A){cn(k,t,A)}}var S=Zy();if(t.subtreeFlags&Yr)for(var _=t.child;_!==null;)$t(_),Y5(_,e),_=_.sibling;$t(S)}function Y5(e,t,i){var u=e.alternate,h=e.flags;switch(e.tag){case I:case te:case ye:case fe:{if(Wo(t,e),Ri(e),h&St){try{$o(Ci|sr,e,e.return),Hl(Ci|sr,e)}catch(pt){cn(e,e.return,pt)}if(e.mode&lt){try{Li(),$o(lr|sr,e,e.return)}catch(pt){cn(e,e.return,pt)}xi(e)}else try{$o(lr|sr,e,e.return)}catch(pt){cn(e,e.return,pt)}}return}case C:{Wo(t,e),Ri(e),h&Br&&u!==null&&Cf(u,u.return);return}case j:{Wo(t,e),Ri(e),h&Br&&u!==null&&Cf(u,u.return);{if(e.flags&Yt){var k=e.stateNode;try{F8(k)}catch(pt){cn(e,e.return,pt)}}if(h&St){var S=e.stateNode;if(S!=null){var _=e.memoizedProps,A=u!==null?u.memoizedProps:_,P=e.type,z=e.updateQueue;if(e.updateQueue=null,z!==null)try{yE(S,z,P,A,_,e)}catch(pt){cn(e,e.return,pt)}}}}return}case Q:{if(Wo(t,e),Ri(e),h&St){if(e.stateNode===null)throw new Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");var q=e.stateNode,H=e.memoizedProps,ae=u!==null?u.memoizedProps:H;try{vE(q,ae,H)}catch(pt){cn(e,e.return,pt)}}return}case R:{if(Wo(t,e),Ri(e),h&St&&u!==null){var oe=u.memoizedState;if(oe.isDehydrated)try{YE(t.containerInfo)}catch(pt){cn(e,e.return,pt)}}return}case x:{Wo(t,e),Ri(e);return}case Z:{Wo(t,e),Ri(e);var me=e.child;if(me.flags&li){var Ue=me.stateNode,Xe=me.memoizedState,it=Xe!==null;if(Ue.isHidden=it,it){var Lt=me.alternate!==null&&me.alternate.memoizedState!==null;Lt||BI()}}if(h&St){try{aI(e)}catch(pt){cn(e,e.return,pt)}V5(e)}return}case $e:{var _t=u!==null&&u.memoizedState!==null;if(e.mode&Ot){var ee=Ar;Ar=ee||_t,Wo(t,e),Ar=ee}else Wo(t,e);if(Ri(e),h&li){var pe=e.stateNode,ne=e.memoizedState,Me=ne!==null,Ye=e;if(pe.isHidden=Me,Me&&!_t&&(Ye.mode&Ot)!==st){We=Ye;for(var je=Ye.child;je!==null;)We=je,lI(je),je=je.sibling}XM(Ye,Me)}return}case ct:{Wo(t,e),Ri(e),h&St&&V5(e);return}case yt:return;default:{Wo(t,e),Ri(e);return}}}function Ri(e){var t=e.flags;if(t&on){try{nI(e)}catch(i){cn(e,e.return,i)}e.flags&=~on}t&Ma&&(e.flags&=~Ma)}function sI(e,t,i){If=i,_f=t,We=e,Q5(e,t,i),If=null,_f=null}function Q5(e,t,i){for(var u=(e.mode&Ot)!==st;We!==null;){var h=We,k=h.child;if(h.tag===$e&&u){var S=h.memoizedState!==null,_=S||L0;if(_){z3(e,t,i);continue}else{var A=h.alternate,P=A!==null&&A.memoizedState!==null,z=P||Ar,q=L0,H=Ar;L0=_,Ar=z,Ar&&!H&&(We=h,uI(h));for(var ae=k;ae!==null;)We=ae,Q5(ae,t,i),ae=ae.sibling;We=h,L0=q,Ar=H,z3(e,t,i);continue}}(h.subtreeFlags&yr)!==nt&&k!==null?(k.return=h,We=k):z3(e,t,i)}}function z3(e,t,i){for(;We!==null;){var u=We;if((u.flags&yr)!==nt){var h=u.alternate;$t(u);try{ZM(t,h,u,i)}catch(S){cn(u,u.return,S)}Dn()}if(u===e){We=null;return}var k=u.sibling;if(k!==null){k.return=u.return,We=k;return}We=u.return}}function lI(e){for(;We!==null;){var t=We,i=t.child;switch(t.tag){case I:case te:case ye:case fe:{if(t.mode&lt)try{Li(),$o(lr,t,t.return)}finally{xi(t)}else $o(lr,t,t.return);break}case C:{Cf(t,t.return);var u=t.stateNode;typeof u.componentWillUnmount=="function"&&P3(t,t.return,u);break}case j:{Cf(t,t.return);break}case $e:{var h=t.memoizedState!==null;if(h){G5(e);continue}break}}i!==null?(i.return=t,We=i):G5(e)}}function G5(e){for(;We!==null;){var t=We;if(t===e){We=null;return}var i=t.sibling;if(i!==null){i.return=t.return,We=i;return}We=t.return}}function uI(e){for(;We!==null;){var t=We,i=t.child;if(t.tag===$e){var u=t.memoizedState!==null;if(u){H5(e);continue}}i!==null?(i.return=t,We=i):H5(e)}}function H5(e){for(;We!==null;){var t=We;$t(t);try{JM(t)}catch(u){cn(t,t.return,u)}if(Dn(),t===e){We=null;return}var i=t.sibling;if(i!==null){i.return=t.return,We=i;return}We=t.return}}function cI(e,t,i,u){We=t,dI(t,e,i,u)}function dI(e,t,i,u){for(;We!==null;){var h=We,k=h.child;(h.subtreeFlags&Ia)!==nt&&k!==null?(k.return=h,We=k):fI(e,t,i,u)}}function fI(e,t,i,u){for(;We!==null;){var h=We;if((h.flags&fn)!==nt){$t(h);try{pI(t,h,i,u)}catch(S){cn(h,h.return,S)}Dn()}if(h===e){We=null;return}var k=h.sibling;if(k!==null){k.return=h.return,We=k;return}We=h.return}}function pI(e,t,i,u){switch(t.tag){case I:case te:case fe:{if(t.mode&lt){g3();try{Hl(_r|sr,t)}finally{h3(t)}}else Hl(_r|sr,t);break}}}function mI(e){We=e,hI()}function hI(){for(;We!==null;){var e=We,t=e.child;if((We.flags&Vt)!==nt){var i=e.deletions;if(i!==null){for(var u=0;u<i.length;u++){var h=i[u];We=h,vI(h,e)}{var k=e.alternate;if(k!==null){var S=k.child;if(S!==null){k.child=null;do{var _=S.sibling;S.sibling=null,S=_}while(S!==null)}}}We=e}}(e.subtreeFlags&Ia)!==nt&&t!==null?(t.return=e,We=t):gI()}}function gI(){for(;We!==null;){var e=We;(e.flags&fn)!==nt&&($t(e),yI(e),Dn());var t=e.sibling;if(t!==null){t.return=e.return,We=t;return}We=e.return}}function yI(e){switch(e.tag){case I:case te:case fe:{e.mode&lt?(g3(),$o(_r|sr,e,e.return),h3(e)):$o(_r|sr,e,e.return);break}}}function vI(e,t){for(;We!==null;){var i=We;$t(i),kI(i,t),Dn();var u=i.child;u!==null?(u.return=i,We=u):TI(e)}}function TI(e){for(;We!==null;){var t=We,i=t.sibling,u=t.return;if(j5(t),t===e){We=null;return}if(i!==null){i.return=u,We=i;return}We=u}}function kI(e,t){switch(e.tag){case I:case te:case fe:{e.mode&lt?(g3(),$o(_r,e,t),h3(e)):$o(_r,e,t);break}}}function bI(e){switch(e.tag){case I:case te:case fe:{try{Hl(lr|sr,e)}catch(i){cn(e,e.return,i)}break}case C:{var t=e.stateNode;try{t.componentDidMount()}catch(i){cn(e,e.return,i)}break}}}function wI(e){switch(e.tag){case I:case te:case fe:{try{Hl(_r|sr,e)}catch(t){cn(e,e.return,t)}break}}}function SI(e){switch(e.tag){case I:case te:case fe:{try{$o(lr|sr,e,e.return)}catch(i){cn(e,e.return,i)}break}case C:{var t=e.stateNode;typeof t.componentWillUnmount=="function"&&P3(e,e.return,t);break}}}function EI(e){switch(e.tag){case I:case te:case fe:try{$o(_r|sr,e,e.return)}catch(t){cn(e,e.return,t)}}}if(typeof Symbol=="function"&&Symbol.for){var f1=Symbol.for;f1("selector.component"),f1("selector.has_pseudo_class"),f1("selector.role"),f1("selector.test_id"),f1("selector.text")}var NI=[];function MI(){NI.forEach(function(e){return e()})}var II=s.ReactCurrentActQueue;function _I(e){{var t=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0,i=typeof jest<"u";return i&&t!==!1}}function $5(){{var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return!e&&II.current!==null&&g("The current testing environment is not configured to support act(...)"),e}}var CI=Math.ceil,B3=s.ReactCurrentDispatcher,F3=s.ReactCurrentOwner,xr=s.ReactCurrentBatchConfig,Ko=s.ReactCurrentActQueue,dr=0,q5=1,Lr=2,vo=4,Ds=0,p1=1,mc=2,D0=3,m1=4,W5=5,V3=6,Ut=dr,pa=null,Mn=null,fr=he,Di=he,Y3=Ul(he),pr=Ds,h1=null,P0=he,g1=he,U0=he,y1=null,ja=null,Q3=0,K5=500,Z5=1/0,AI=500,Ps=null;function v1(){Z5=mn()+AI}function J5(){return Z5}var j0=!1,G3=null,Af=null,hc=!1,ql=null,T1=he,H3=[],$3=null,OI=50,k1=0,q3=null,W3=!1,z0=!1,xI=50,Of=0,B0=null,F0=Xt,V0=he,X5=!1;function Y0(){return pa}function ma(){return(Ut&(Lr|vo))!==dr?mn():(F0!==Xt||(F0=mn()),F0)}function Wl(e){var t=e.mode;if((t&Ot)===st)return ut;if((Ut&Lr)!==dr&&fr!==he)return Un(fr);var i=_N()!==IN;if(i){if(xr.transition!==null){var u=xr.transition;u._updatedFibers||(u._updatedFibers=new Set),u._updatedFibers.add(e)}return V0===Pt&&(V0=fm()),V0}var h=la();if(h!==Pt)return h;var k=fE();return k}function LI(e){var t=e.mode;return(t&Ot)===st?ut:T2()}function mr(e,t,i,u){r_(),X5&&g("useInsertionEffect must not schedule updates."),W3&&(z0=!0),El(e,i,u),(Ut&Lr)!==he&&e===pa?i_(t):(rr&&Jh(e,t,i),s_(t),e===pa&&((Ut&Lr)===dr&&(g1=Et(g1,i)),pr===m1&&Kl(e,fr)),za(e,u),i===ut&&Ut===dr&&(t.mode&Ot)===st&&!Ko.isBatchingLegacy&&(v1(),J8()))}function RI(e,t,i){var u=e.current;u.lanes=t,El(e,t,i),za(e,i)}function DI(e){return(Ut&Lr)!==dr}function za(e,t){var i=e.callbackNode;g2(e,t);var u=Uu(e,e===pa?fr:he);if(u===he){i!==null&&hk(i),e.callbackNode=null,e.callbackPriority=Pt;return}var h=xn(u),k=e.callbackPriority;if(k===h&&!(Ko.current!==null&&i!==n4)){i==null&&k!==ut&&g("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.");return}i!=null&&hk(i);var S;if(h===ut)e.tag===jl?(Ko.isBatchingLegacy!==null&&(Ko.didScheduleLegacyUpdate=!0),cN(nk.bind(null,e))):Z8(nk.bind(null,e)),Ko.current!==null?Ko.current.push(zl):mE(function(){(Ut&(Lr|vo))===dr&&zl()}),S=null;else{var _;switch(eg(u)){case qr:_=dd;break;case Oa:_=ia;break;case ar:_=lo;break;case Fd:_=ci;break;default:_=lo;break}S=r4(_,ek.bind(null,e))}e.callbackPriority=h,e.callbackNode=S}function ek(e,t){if(rM(),F0=Xt,V0=he,(Ut&(Lr|vo))!==dr)throw new Error("Should not already be working.");var i=e.callbackNode,u=js();if(u&&e.callbackNode!==i)return null;var h=Uu(e,e===pa?fr:he);if(h===he)return null;var k=!zu(e,h)&&!Kh(e,h)&&!t,S=k?GI(e,h):G0(e,h);if(S!==Ds){if(S===mc){var _=cm(e);_!==he&&(h=_,S=K3(e,_))}if(S===p1){var A=h1;throw gc(e,he),Kl(e,h),za(e,mn()),A}if(S===V3)Kl(e,h);else{var P=!zu(e,h),z=e.current.alternate;if(P&&!UI(z)){if(S=G0(e,h),S===mc){var q=cm(e);q!==he&&(h=q,S=K3(e,q))}if(S===p1){var H=h1;throw gc(e,he),Kl(e,h),za(e,mn()),H}}e.finishedWork=z,e.finishedLanes=h,PI(e,S,h)}}return za(e,mn()),e.callbackNode===i?ek.bind(null,e):null}function K3(e,t){var i=y1;if(vs(e)){var u=gc(e,t);u.flags|=kn,rN(e.containerInfo)}var h=G0(e,t);if(h!==mc){var k=ja;ja=i,k!==null&&tk(k)}return h}function tk(e){ja===null?ja=e:ja.push.apply(ja,e)}function PI(e,t,i){switch(t){case Ds:case p1:throw new Error("Root did not complete. This is a bug in React.");case mc:{yc(e,ja,Ps);break}case D0:{if(Kl(e,i),Dd(i)&&!gk()){var u=Q3+K5-mn();if(u>10){var h=Uu(e,he);if(h!==he)break;var k=e.suspendedLanes;if(!ys(k,i)){ma(),jd(e,k);break}e.timeoutHandle=$2(yc.bind(null,e,ja,Ps),u);break}}yc(e,ja,Ps);break}case m1:{if(Kl(e,i),Wh(i))break;if(!gk()){var S=qh(e,i),_=S,A=mn()-_,P=n_(A)-A;if(P>10){e.timeoutHandle=$2(yc.bind(null,e,ja,Ps),P);break}}yc(e,ja,Ps);break}case W5:{yc(e,ja,Ps);break}default:throw new Error("Unknown root exit status.")}}function UI(e){for(var t=e;;){if(t.flags&Au){var i=t.updateQueue;if(i!==null){var u=i.stores;if(u!==null)for(var h=0;h<u.length;h++){var k=u[h],S=k.getSnapshot,_=k.value;try{if(!Be(S(),_))return!1}catch{return!1}}}}var A=t.child;if(t.subtreeFlags&Au&&A!==null){A.return=t,t=A;continue}if(t===e)return!0;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}return!0}function Kl(e,t){t=Sl(t,U0),t=Sl(t,g1),hm(e,t)}function nk(e){if(aM(),(Ut&(Lr|vo))!==dr)throw new Error("Should not already be working.");js();var t=Uu(e,he);if(!$r(t,ut))return za(e,mn()),null;var i=G0(e,t);if(e.tag!==jl&&i===mc){var u=cm(e);u!==he&&(t=u,i=K3(e,u))}if(i===p1){var h=h1;throw gc(e,he),Kl(e,t),za(e,mn()),h}if(i===V3)throw new Error("Root did not complete. This is a bug in React.");var k=e.current.alternate;return e.finishedWork=k,e.finishedLanes=t,yc(e,ja,Ps),za(e,mn()),null}function jI(e,t){t!==he&&(Bu(e,Et(t,ut)),za(e,mn()),(Ut&(Lr|vo))===dr&&(v1(),zl()))}function Z3(e,t){var i=Ut;Ut|=q5;try{return e(t)}finally{Ut=i,Ut===dr&&!Ko.isBatchingLegacy&&(v1(),J8())}}function zI(e,t,i,u,h){var k=la(),S=xr.transition;try{return xr.transition=null,jn(qr),e(t,i,u,h)}finally{jn(k),xr.transition=S,Ut===dr&&v1()}}function Us(e){ql!==null&&ql.tag===jl&&(Ut&(Lr|vo))===dr&&js();var t=Ut;Ut|=q5;var i=xr.transition,u=la();try{return xr.transition=null,jn(qr),e?e():void 0}finally{jn(u),xr.transition=i,Ut=t,(Ut&(Lr|vo))===dr&&zl()}}function rk(){return(Ut&(Lr|vo))!==dr}function Q0(e,t){Zr(Y3,Di,e),Di=Et(Di,t)}function J3(e){Di=Y3.current,Kr(Y3,e)}function gc(e,t){e.finishedWork=null,e.finishedLanes=he;var i=e.timeoutHandle;if(i!==q2&&(e.timeoutHandle=q2,pE(i)),Mn!==null)for(var u=Mn.return;u!==null;){var h=u.alternate;x5(h,u),u=u.return}pa=e;var k=vc(e.current,null);return Mn=k,fr=Di=t,pr=Ds,h1=null,P0=he,g1=he,U0=he,y1=null,ja=null,xN(),Vo.discardPendingWarnings(),k}function ak(e,t){do{var i=Mn;try{if(Zg(),R6(),Dn(),F3.current=null,i===null||i.return===null){pr=p1,h1=t,Mn=null;return}if(dt&&i.mode&lt&&C0(i,!0),Ze)if(ls(),t!==null&&typeof t=="object"&&typeof t.then=="function"){var u=t;Gh(i,u,fr)}else gd(i,t,fr);uM(e,i.return,i,t,fr),lk(i)}catch(h){t=h,Mn===i&&i!==null?(i=i.return,Mn=i):i=Mn;continue}return}while(!0)}function ok(){var e=B3.current;return B3.current=E0,e===null?E0:e}function ik(e){B3.current=e}function BI(){Q3=mn()}function b1(e){P0=Et(e,P0)}function FI(){pr===Ds&&(pr=D0)}function X3(){(pr===Ds||pr===D0||pr===mc)&&(pr=m1),pa!==null&&(ju(P0)||ju(g1))&&Kl(pa,fr)}function VI(e){pr!==m1&&(pr=mc),y1===null?y1=[e]:y1.push(e)}function YI(){return pr===Ds}function G0(e,t){var i=Ut;Ut|=Lr;var u=ok();if(pa!==e||fr!==t){if(rr){var h=e.memoizedUpdaters;h.size>0&&(w1(e,fr),h.clear()),gm(e,t)}Ps=Bd(),gc(e,t)}Za(t);do try{QI();break}catch(k){ak(e,k)}while(!0);if(Zg(),Ut=i,ik(u),Mn!==null)throw new Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");return vl(),pa=null,fr=he,pr}function QI(){for(;Mn!==null;)sk(Mn)}function GI(e,t){var i=Ut;Ut|=Lr;var u=ok();if(pa!==e||fr!==t){if(rr){var h=e.memoizedUpdaters;h.size>0&&(w1(e,fr),h.clear()),gm(e,t)}Ps=Bd(),v1(),gc(e,t)}Za(t);do try{HI();break}catch(k){ak(e,k)}while(!0);return Zg(),ik(u),Ut=i,Mn!==null?(Lu(),Ds):(vl(),pa=null,fr=he,pr)}function HI(){for(;Mn!==null&&!cd();)sk(Mn)}function sk(e){var t=e.alternate;$t(e);var i;(e.mode&lt)!==st?(m3(e),i=e4(t,e,Di),C0(e,!0)):i=e4(t,e,Di),Dn(),e.memoizedProps=e.pendingProps,i===null?lk(e):Mn=i,F3.current=null}function lk(e){var t=e;do{var i=t.alternate,u=t.return;if((t.flags&ra)===nt){$t(t);var h=void 0;if((t.mode&lt)===st?h=O5(i,t,Di):(m3(t),h=O5(i,t,Di),C0(t,!1)),Dn(),h!==null){Mn=h;return}}else{var k=FM(i,t);if(k!==null){k.flags&=Ph,Mn=k;return}if((t.mode&lt)!==st){C0(t,!1);for(var S=t.actualDuration,_=t.child;_!==null;)S+=_.actualDuration,_=_.sibling;t.actualDuration=S}if(u!==null)u.flags|=ra,u.subtreeFlags=nt,u.deletions=null;else{pr=V3,Mn=null;return}}var A=t.sibling;if(A!==null){Mn=A;return}t=u,Mn=t}while(t!==null);pr===Ds&&(pr=W5)}function yc(e,t,i){var u=la(),h=xr.transition;try{xr.transition=null,jn(qr),$I(e,t,i,u)}finally{xr.transition=h,jn(u)}return null}function $I(e,t,i,u){do js();while(ql!==null);if(a_(),(Ut&(Lr|vo))!==dr)throw new Error("Should not already be working.");var h=e.finishedWork,k=e.finishedLanes;if(pd(k),h===null)return om(),null;if(k===he&&g("root.finishedLanes should not be empty during a commit. This is a bug in React."),e.finishedWork=null,e.finishedLanes=he,h===e.current)throw new Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");e.callbackNode=null,e.callbackPriority=Pt;var S=Et(h.lanes,h.childLanes);Zh(e,S),e===pa&&(pa=null,Mn=null,fr=he),((h.subtreeFlags&Ia)!==nt||(h.flags&Ia)!==nt)&&(hc||(hc=!0,$3=i,r4(lo,function(){return js(),null})));var _=(h.subtreeFlags&(hl|Yr|yr|Ia))!==nt,A=(h.flags&(hl|Yr|yr|Ia))!==nt;if(_||A){var P=xr.transition;xr.transition=null;var z=la();jn(qr);var q=Ut;Ut|=vo,F3.current=null,HM(e,h),o5(),iI(e,h,k),iE(e.containerInfo),e.current=h,Hh(k),sI(h,e,k),yl(),zh(),Ut=q,jn(z),xr.transition=P}else e.current=h,o5();var H=hc;if(hc?(hc=!1,ql=e,T1=k):(Of=0,B0=null),S=e.pendingLanes,S===he&&(Af=null),H||fk(e.current,!1),Do(h.stateNode,u),rr&&e.memoizedUpdaters.clear(),MI(),za(e,mn()),t!==null)for(var ae=e.onRecoverableError,oe=0;oe<t.length;oe++){var me=t[oe],Ue=me.stack,Xe=me.digest;ae(me.value,{componentStack:Ue,digest:Xe})}if(j0){j0=!1;var it=G3;throw G3=null,it}return $r(T1,ut)&&e.tag!==jl&&js(),S=e.pendingLanes,$r(S,ut)?(nM(),e===q3?k1++:(k1=0,q3=e)):k1=0,zl(),om(),null}function js(){if(ql!==null){var e=eg(T1),t=vr(ar,e),i=xr.transition,u=la();try{return xr.transition=null,jn(t),WI()}finally{jn(u),xr.transition=i}}return!1}function qI(e){H3.push(e),hc||(hc=!0,r4(lo,function(){return js(),null}))}function WI(){if(ql===null)return!1;var e=$3;$3=null;var t=ql,i=T1;if(ql=null,T1=he,(Ut&(Lr|vo))!==dr)throw new Error("Cannot flush passive effects while already rendering.");W3=!0,z0=!1,$h(i);var u=Ut;Ut|=vo,mI(t.current),cI(t,t.current,i,e);{var h=H3;H3=[];for(var k=0;k<h.length;k++){var S=h[k];KM(t,S)}}xu(),fk(t.current,!0),Ut=u,zl(),z0?t===B0?Of++:(Of=0,B0=t):Of=0,W3=!1,z0=!1,fi(t);{var _=t.current.stateNode;_.effectDuration=0,_.passiveEffectDuration=0}return!0}function uk(e){return Af!==null&&Af.has(e)}function KI(e){Af===null?Af=new Set([e]):Af.add(e)}function ZI(e){j0||(j0=!0,G3=e)}var JI=ZI;function ck(e,t,i){var u=fc(i,t),h=s5(e,u,ut),k=Fl(e,h,ut),S=ma();k!==null&&(El(k,ut,S),za(k,S))}function cn(e,t,i){if(YM(i),S1(!1),e.tag===R){ck(e,e,i);return}var u=null;for(u=t;u!==null;){if(u.tag===R){ck(u,e,i);return}else if(u.tag===C){var h=u.type,k=u.stateNode;if(typeof h.getDerivedStateFromError=="function"||typeof k.componentDidCatch=="function"&&!uk(k)){var S=fc(i,e),_=k3(u,S,ut),A=Fl(u,_,ut),P=ma();A!==null&&(El(A,ut,P),za(A,P));return}}u=u.return}g(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Likely causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
139
139
 
140
140
  Error message:
141
141
 
142
- %s`,i)}function XI(e,t,i){var u=e.pingCache;u!==null&&u.delete(t);var h=ma();jd(e,i),l_(e),pa===e&&ys(fr,i)&&(pr===m1||pr===D0&&Dd(fr)&&mn()-Q3<Kk?gc(e,he):U0=Et(U0,i)),za(e,h)}function d5(e,t){t===Pt&&(t=LI(e));var i=ma(),u=Pa(e,t);u!==null&&(El(u,t,i),za(u,i))}function e_(e){var t=e.memoizedState,i=Pt;t!==null&&(i=t.retryLane),d5(e,i)}function t_(e,t){var i=Pt,u;switch(e.tag){case Z:u=e.stateNode;var h=e.memoizedState;h!==null&&(i=h.retryLane);break;case ct:u=e.stateNode;break;default:throw new Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}u!==null&&u.delete(t),d5(e,i)}function n_(e){return e<120?120:e<480?480:e<1080?1080:e<1920?1920:e<3e3?3e3:e<4320?4320:CI(e/1960)*1960}function r_(){if(k1>OI)throw k1=0,q3=null,new Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");Of>xI&&(Of=0,B0=null,g("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render."))}function a_(){Vo.flushLegacyContextWarning(),Vo.flushPendingUnsafeLifecycleWarnings()}function f5(e,t){$t(e),H0(e,Vr,SI),t&&H0(e,ss,EI),H0(e,Vr,bI),t&&H0(e,ss,wI),Dn()}function H0(e,t,i){for(var u=e,h=null;u!==null;){var k=u.subtreeFlags&t;u!==h&&u.child!==null&&k!==nt?u=u.child:((u.flags&t)!==nt&&i(u),u.sibling!==null?u=u.sibling:u=h=u.return)}}var $0=null;function p5(e){{if((Ut&Lr)!==dr||!(e.mode&Ot))return;var t=e.tag;if(t!==D&&t!==R&&t!==C&&t!==I&&t!==te&&t!==ye&&t!==fe)return;var i=bt(e)||"ReactComponent";if($0!==null){if($0.has(i))return;$0.add(i)}else $0=new Set([i]);var u=An;try{$t(e),g("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously later calls tries to update the component. Move this work to useEffect instead.")}finally{u?$t(e):Dn()}}}var e4;{var o_=null;e4=function(e,t,i){var u=k5(o_,t);try{return Mk(e,t,i)}catch(k){if(vN()||k!==null&&typeof k=="object"&&typeof k.then=="function")throw k;if(Zg(),R6(),xk(e,t),k5(t,u),t.mode&lt&&m3(t),is(null,Mk,null,e,t,i),m2()){var h=qp();typeof h=="object"&&h!==null&&h._suppressLogging&&typeof k=="object"&&k!==null&&!k._suppressLogging&&(k._suppressLogging=!0)}throw k}}}var m5=!1,t4;t4=new Set;function i_(e){if(ba&&!XN())switch(e.tag){case I:case te:case fe:{var t=Mn&&bt(Mn)||"Unknown",i=t;if(!t4.has(i)){t4.add(i);var u=bt(e)||"Unknown";g("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://reactjs.org/link/setstate-in-render",u,t,t)}break}case C:{m5||(g("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),m5=!0);break}}}function w1(e,t){if(rr){var i=e.memoizedUpdaters;i.forEach(function(u){Jh(e,u,t)})}}var n4={};function r4(e,t){{var i=Ko.current;return i!==null?(i.push(t),n4):ud(e,t)}}function h5(e){if(e!==n4)return jh(e)}function g5(){return Ko.current!==null}function s_(e){{if(e.mode&Ot){if(!$k())return}else if(!_I()||Ut!==dr||e.tag!==I&&e.tag!==te&&e.tag!==fe)return;if(Ko.current===null){var t=An;try{$t(e),g(`An update to %s inside a test was not wrapped in act(...).
142
+ %s`,i)}function XI(e,t,i){var u=e.pingCache;u!==null&&u.delete(t);var h=ma();jd(e,i),l_(e),pa===e&&ys(fr,i)&&(pr===m1||pr===D0&&Dd(fr)&&mn()-Q3<K5?gc(e,he):U0=Et(U0,i)),za(e,h)}function dk(e,t){t===Pt&&(t=LI(e));var i=ma(),u=Pa(e,t);u!==null&&(El(u,t,i),za(u,i))}function e_(e){var t=e.memoizedState,i=Pt;t!==null&&(i=t.retryLane),dk(e,i)}function t_(e,t){var i=Pt,u;switch(e.tag){case Z:u=e.stateNode;var h=e.memoizedState;h!==null&&(i=h.retryLane);break;case ct:u=e.stateNode;break;default:throw new Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}u!==null&&u.delete(t),dk(e,i)}function n_(e){return e<120?120:e<480?480:e<1080?1080:e<1920?1920:e<3e3?3e3:e<4320?4320:CI(e/1960)*1960}function r_(){if(k1>OI)throw k1=0,q3=null,new Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");Of>xI&&(Of=0,B0=null,g("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render."))}function a_(){Vo.flushLegacyContextWarning(),Vo.flushPendingUnsafeLifecycleWarnings()}function fk(e,t){$t(e),H0(e,Vr,SI),t&&H0(e,ss,EI),H0(e,Vr,bI),t&&H0(e,ss,wI),Dn()}function H0(e,t,i){for(var u=e,h=null;u!==null;){var k=u.subtreeFlags&t;u!==h&&u.child!==null&&k!==nt?u=u.child:((u.flags&t)!==nt&&i(u),u.sibling!==null?u=u.sibling:u=h=u.return)}}var $0=null;function pk(e){{if((Ut&Lr)!==dr||!(e.mode&Ot))return;var t=e.tag;if(t!==D&&t!==R&&t!==C&&t!==I&&t!==te&&t!==ye&&t!==fe)return;var i=bt(e)||"ReactComponent";if($0!==null){if($0.has(i))return;$0.add(i)}else $0=new Set([i]);var u=An;try{$t(e),g("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously later calls tries to update the component. Move this work to useEffect instead.")}finally{u?$t(e):Dn()}}}var e4;{var o_=null;e4=function(e,t,i){var u=kk(o_,t);try{return M5(e,t,i)}catch(k){if(vN()||k!==null&&typeof k=="object"&&typeof k.then=="function")throw k;if(Zg(),R6(),x5(e,t),kk(t,u),t.mode&lt&&m3(t),is(null,M5,null,e,t,i),m2()){var h=qp();typeof h=="object"&&h!==null&&h._suppressLogging&&typeof k=="object"&&k!==null&&!k._suppressLogging&&(k._suppressLogging=!0)}throw k}}}var mk=!1,t4;t4=new Set;function i_(e){if(ba&&!XN())switch(e.tag){case I:case te:case fe:{var t=Mn&&bt(Mn)||"Unknown",i=t;if(!t4.has(i)){t4.add(i);var u=bt(e)||"Unknown";g("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://reactjs.org/link/setstate-in-render",u,t,t)}break}case C:{mk||(g("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),mk=!0);break}}}function w1(e,t){if(rr){var i=e.memoizedUpdaters;i.forEach(function(u){Jh(e,u,t)})}}var n4={};function r4(e,t){{var i=Ko.current;return i!==null?(i.push(t),n4):ud(e,t)}}function hk(e){if(e!==n4)return jh(e)}function gk(){return Ko.current!==null}function s_(e){{if(e.mode&Ot){if(!$5())return}else if(!_I()||Ut!==dr||e.tag!==I&&e.tag!==te&&e.tag!==fe)return;if(Ko.current===null){var t=An;try{$t(e),g(`An update to %s inside a test was not wrapped in act(...).
143
143
 
144
144
  When testing, code that causes React state updates should be wrapped into act(...):
145
145
 
@@ -148,7 +148,7 @@ act(() => {
148
148
  });
149
149
  /* assert on the output */
150
150
 
151
- This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act`,bt(e))}finally{t?$t(e):Dn()}}}}function l_(e){e.tag!==jl&&$k()&&Ko.current===null&&g(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
151
+ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act`,bt(e))}finally{t?$t(e):Dn()}}}}function l_(e){e.tag!==jl&&$5()&&Ko.current===null&&g(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
152
152
 
153
153
  When testing, code that resolves suspended data should be wrapped into act(...):
154
154
 
@@ -157,21 +157,21 @@ act(() => {
157
157
  });
158
158
  /* assert on the output */
159
159
 
160
- This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act`)}function S1(e){Xk=e}var To=null,xf=null,u_=function(e){To=e};function Lf(e){{if(To===null)return e;var t=To(e);return t===void 0?e:t.current}}function a4(e){return Lf(e)}function o4(e){{if(To===null)return e;var t=To(e);if(t===void 0){if(e!=null&&typeof e.render=="function"){var i=Lf(e.render);if(e.render!==i){var u={$$typeof:tl,render:i};return e.displayName!==void 0&&(u.displayName=e.displayName),u}}return e}return t.current}}function y5(e,t){{if(To===null)return!1;var i=e.elementType,u=t.type,h=!1,k=typeof u=="object"&&u!==null?u.$$typeof:null;switch(e.tag){case C:{typeof u=="function"&&(h=!0);break}case I:{(typeof u=="function"||k===Er)&&(h=!0);break}case te:{(k===tl||k===Er)&&(h=!0);break}case ye:case fe:{(k===nl||k===Er)&&(h=!0);break}default:return!1}if(h){var S=To(i);if(S!==void 0&&S===To(u))return!0}return!1}}function v5(e){{if(To===null||typeof WeakSet!="function")return;xf===null&&(xf=new WeakSet),xf.add(e)}}var c_=function(e,t){{if(To===null)return;var i=t.staleFamilies,u=t.updatedFamilies;js(),Us(function(){i4(e.current,u,i)})}},d_=function(e,t){{if(e.context!==eo)return;js(),Us(function(){E1(t,e,null,null)})}};function i4(e,t,i){{var u=e.alternate,h=e.child,k=e.sibling,S=e.tag,_=e.type,A=null;switch(S){case I:case fe:case C:A=_;break;case te:A=_.render;break}if(To===null)throw new Error("Expected resolveFamily to be set during hot reload.");var P=!1,z=!1;if(A!==null){var q=To(A);q!==void 0&&(i.has(q)?z=!0:t.has(q)&&(S===C?z=!0:P=!0))}if(xf!==null&&(xf.has(e)||u!==null&&xf.has(u))&&(z=!0),z&&(e._debugNeedsRemount=!0),z||P){var H=Pa(e,ut);H!==null&&mr(H,e,ut,Xt)}h!==null&&!z&&i4(h,t,i),k!==null&&i4(k,t,i)}}var f_=function(e,t){{var i=new Set,u=new Set(t.map(function(h){return h.current}));return s4(e.current,u,i),i}};function s4(e,t,i){{var u=e.child,h=e.sibling,k=e.tag,S=e.type,_=null;switch(k){case I:case fe:case C:_=S;break;case te:_=S.render;break}var A=!1;_!==null&&t.has(_)&&(A=!0),A?p_(e,i):u!==null&&s4(u,t,i),h!==null&&s4(h,t,i)}}function p_(e,t){{var i=m_(e,t);if(i)return;for(var u=e;;){switch(u.tag){case j:t.add(u.stateNode);return;case x:t.add(u.stateNode.containerInfo);return;case R:t.add(u.stateNode.containerInfo);return}if(u.return===null)throw new Error("Expected to reach root first.");u=u.return}}}function m_(e,t){for(var i=e,u=!1;;){if(i.tag===j)u=!0,t.add(i.stateNode);else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===e)return u;for(;i.sibling===null;){if(i.return===null||i.return===e)return u;i=i.return}i.sibling.return=i.return,i=i.sibling}return!1}var l4;{l4=!1;try{var i$=Object.preventExtensions({})}catch{l4=!0}}function h_(e,t,i,u){this.tag=e,this.key=i,this.elementType=null,this.type=null,this.stateNode=null,this.return=null,this.child=null,this.sibling=null,this.index=0,this.ref=null,this.pendingProps=t,this.memoizedProps=null,this.updateQueue=null,this.memoizedState=null,this.dependencies=null,this.mode=u,this.flags=nt,this.subtreeFlags=nt,this.deletions=null,this.lanes=he,this.childLanes=he,this.alternate=null,this.actualDuration=Number.NaN,this.actualStartTime=Number.NaN,this.selfBaseDuration=Number.NaN,this.treeBaseDuration=Number.NaN,this.actualDuration=0,this.actualStartTime=-1,this.selfBaseDuration=0,this.treeBaseDuration=0,this._debugSource=null,this._debugOwner=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,!l4&&typeof Object.preventExtensions=="function"&&Object.preventExtensions(this)}var to=function(e,t,i,u){return new h_(e,t,i,u)};function u4(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function g_(e){return typeof e=="function"&&!u4(e)&&e.defaultProps===void 0}function y_(e){if(typeof e=="function")return u4(e)?C:I;if(e!=null){var t=e.$$typeof;if(t===tl)return te;if(t===nl)return ye}return D}function vc(e,t){var i=e.alternate;i===null?(i=to(e.tag,t,e.key,e.mode),i.elementType=e.elementType,i.type=e.type,i.stateNode=e.stateNode,i._debugSource=e._debugSource,i._debugOwner=e._debugOwner,i._debugHookTypes=e._debugHookTypes,i.alternate=e,e.alternate=i):(i.pendingProps=t,i.type=e.type,i.flags=nt,i.subtreeFlags=nt,i.deletions=null,i.actualDuration=0,i.actualStartTime=-1),i.flags=e.flags&nr,i.childLanes=e.childLanes,i.lanes=e.lanes,i.child=e.child,i.memoizedProps=e.memoizedProps,i.memoizedState=e.memoizedState,i.updateQueue=e.updateQueue;var u=e.dependencies;switch(i.dependencies=u===null?null:{lanes:u.lanes,firstContext:u.firstContext},i.sibling=e.sibling,i.index=e.index,i.ref=e.ref,i.selfBaseDuration=e.selfBaseDuration,i.treeBaseDuration=e.treeBaseDuration,i._debugNeedsRemount=e._debugNeedsRemount,i.tag){case D:case I:case fe:i.type=Lf(e.type);break;case C:i.type=a4(e.type);break;case te:i.type=o4(e.type);break}return i}function v_(e,t){e.flags&=nr|on;var i=e.alternate;if(i===null)e.childLanes=he,e.lanes=t,e.child=null,e.subtreeFlags=nt,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0;else{e.childLanes=i.childLanes,e.lanes=i.lanes,e.child=i.child,e.subtreeFlags=nt,e.deletions=null,e.memoizedProps=i.memoizedProps,e.memoizedState=i.memoizedState,e.updateQueue=i.updateQueue,e.type=i.type;var u=i.dependencies;e.dependencies=u===null?null:{lanes:u.lanes,firstContext:u.firstContext},e.selfBaseDuration=i.selfBaseDuration,e.treeBaseDuration=i.treeBaseDuration}return e}function T_(e,t,i){var u;return e===Yg?(u=Ot,t===!0&&(u|=hn,u|=Ca)):u=st,rr&&(u|=lt),to(R,null,null,u)}function c4(e,t,i,u,h,k){var S=D,_=e;if(typeof e=="function")u4(e)?(S=C,_=a4(_)):_=Lf(_);else if(typeof e=="string")S=j;else e:switch(e){case No:return Zl(i.children,h,k,t);case el:S=le,h|=hn,(h&Ot)!==st&&(h|=Ca);break;case iu:return k_(i,h,k,t);case oo:return b_(i,h,k,t);case su:return w_(i,h,k,t);case gp:return T5(i,h,k,t);case $1:case G1:case Hy:case $y:case H1:default:{if(typeof e=="object"&&e!==null)switch(e.$$typeof){case mp:S=se;break e;case hp:S=G;break e;case tl:S=te,_=o4(_);break e;case nl:S=ye;break e;case Er:S=De,_=null;break e}var A="";{(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(A+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var P=u?bt(u):null;P&&(A+=`
160
+ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act`)}function S1(e){X5=e}var To=null,xf=null,u_=function(e){To=e};function Lf(e){{if(To===null)return e;var t=To(e);return t===void 0?e:t.current}}function a4(e){return Lf(e)}function o4(e){{if(To===null)return e;var t=To(e);if(t===void 0){if(e!=null&&typeof e.render=="function"){var i=Lf(e.render);if(e.render!==i){var u={$$typeof:tl,render:i};return e.displayName!==void 0&&(u.displayName=e.displayName),u}}return e}return t.current}}function yk(e,t){{if(To===null)return!1;var i=e.elementType,u=t.type,h=!1,k=typeof u=="object"&&u!==null?u.$$typeof:null;switch(e.tag){case C:{typeof u=="function"&&(h=!0);break}case I:{(typeof u=="function"||k===Er)&&(h=!0);break}case te:{(k===tl||k===Er)&&(h=!0);break}case ye:case fe:{(k===nl||k===Er)&&(h=!0);break}default:return!1}if(h){var S=To(i);if(S!==void 0&&S===To(u))return!0}return!1}}function vk(e){{if(To===null||typeof WeakSet!="function")return;xf===null&&(xf=new WeakSet),xf.add(e)}}var c_=function(e,t){{if(To===null)return;var i=t.staleFamilies,u=t.updatedFamilies;js(),Us(function(){i4(e.current,u,i)})}},d_=function(e,t){{if(e.context!==eo)return;js(),Us(function(){E1(t,e,null,null)})}};function i4(e,t,i){{var u=e.alternate,h=e.child,k=e.sibling,S=e.tag,_=e.type,A=null;switch(S){case I:case fe:case C:A=_;break;case te:A=_.render;break}if(To===null)throw new Error("Expected resolveFamily to be set during hot reload.");var P=!1,z=!1;if(A!==null){var q=To(A);q!==void 0&&(i.has(q)?z=!0:t.has(q)&&(S===C?z=!0:P=!0))}if(xf!==null&&(xf.has(e)||u!==null&&xf.has(u))&&(z=!0),z&&(e._debugNeedsRemount=!0),z||P){var H=Pa(e,ut);H!==null&&mr(H,e,ut,Xt)}h!==null&&!z&&i4(h,t,i),k!==null&&i4(k,t,i)}}var f_=function(e,t){{var i=new Set,u=new Set(t.map(function(h){return h.current}));return s4(e.current,u,i),i}};function s4(e,t,i){{var u=e.child,h=e.sibling,k=e.tag,S=e.type,_=null;switch(k){case I:case fe:case C:_=S;break;case te:_=S.render;break}var A=!1;_!==null&&t.has(_)&&(A=!0),A?p_(e,i):u!==null&&s4(u,t,i),h!==null&&s4(h,t,i)}}function p_(e,t){{var i=m_(e,t);if(i)return;for(var u=e;;){switch(u.tag){case j:t.add(u.stateNode);return;case x:t.add(u.stateNode.containerInfo);return;case R:t.add(u.stateNode.containerInfo);return}if(u.return===null)throw new Error("Expected to reach root first.");u=u.return}}}function m_(e,t){for(var i=e,u=!1;;){if(i.tag===j)u=!0,t.add(i.stateNode);else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===e)return u;for(;i.sibling===null;){if(i.return===null||i.return===e)return u;i=i.return}i.sibling.return=i.return,i=i.sibling}return!1}var l4;{l4=!1;try{var s$=Object.preventExtensions({})}catch{l4=!0}}function h_(e,t,i,u){this.tag=e,this.key=i,this.elementType=null,this.type=null,this.stateNode=null,this.return=null,this.child=null,this.sibling=null,this.index=0,this.ref=null,this.pendingProps=t,this.memoizedProps=null,this.updateQueue=null,this.memoizedState=null,this.dependencies=null,this.mode=u,this.flags=nt,this.subtreeFlags=nt,this.deletions=null,this.lanes=he,this.childLanes=he,this.alternate=null,this.actualDuration=Number.NaN,this.actualStartTime=Number.NaN,this.selfBaseDuration=Number.NaN,this.treeBaseDuration=Number.NaN,this.actualDuration=0,this.actualStartTime=-1,this.selfBaseDuration=0,this.treeBaseDuration=0,this._debugSource=null,this._debugOwner=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,!l4&&typeof Object.preventExtensions=="function"&&Object.preventExtensions(this)}var to=function(e,t,i,u){return new h_(e,t,i,u)};function u4(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function g_(e){return typeof e=="function"&&!u4(e)&&e.defaultProps===void 0}function y_(e){if(typeof e=="function")return u4(e)?C:I;if(e!=null){var t=e.$$typeof;if(t===tl)return te;if(t===nl)return ye}return D}function vc(e,t){var i=e.alternate;i===null?(i=to(e.tag,t,e.key,e.mode),i.elementType=e.elementType,i.type=e.type,i.stateNode=e.stateNode,i._debugSource=e._debugSource,i._debugOwner=e._debugOwner,i._debugHookTypes=e._debugHookTypes,i.alternate=e,e.alternate=i):(i.pendingProps=t,i.type=e.type,i.flags=nt,i.subtreeFlags=nt,i.deletions=null,i.actualDuration=0,i.actualStartTime=-1),i.flags=e.flags&nr,i.childLanes=e.childLanes,i.lanes=e.lanes,i.child=e.child,i.memoizedProps=e.memoizedProps,i.memoizedState=e.memoizedState,i.updateQueue=e.updateQueue;var u=e.dependencies;switch(i.dependencies=u===null?null:{lanes:u.lanes,firstContext:u.firstContext},i.sibling=e.sibling,i.index=e.index,i.ref=e.ref,i.selfBaseDuration=e.selfBaseDuration,i.treeBaseDuration=e.treeBaseDuration,i._debugNeedsRemount=e._debugNeedsRemount,i.tag){case D:case I:case fe:i.type=Lf(e.type);break;case C:i.type=a4(e.type);break;case te:i.type=o4(e.type);break}return i}function v_(e,t){e.flags&=nr|on;var i=e.alternate;if(i===null)e.childLanes=he,e.lanes=t,e.child=null,e.subtreeFlags=nt,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0;else{e.childLanes=i.childLanes,e.lanes=i.lanes,e.child=i.child,e.subtreeFlags=nt,e.deletions=null,e.memoizedProps=i.memoizedProps,e.memoizedState=i.memoizedState,e.updateQueue=i.updateQueue,e.type=i.type;var u=i.dependencies;e.dependencies=u===null?null:{lanes:u.lanes,firstContext:u.firstContext},e.selfBaseDuration=i.selfBaseDuration,e.treeBaseDuration=i.treeBaseDuration}return e}function T_(e,t,i){var u;return e===Yg?(u=Ot,t===!0&&(u|=hn,u|=Ca)):u=st,rr&&(u|=lt),to(R,null,null,u)}function c4(e,t,i,u,h,k){var S=D,_=e;if(typeof e=="function")u4(e)?(S=C,_=a4(_)):_=Lf(_);else if(typeof e=="string")S=j;else e:switch(e){case No:return Zl(i.children,h,k,t);case el:S=le,h|=hn,(h&Ot)!==st&&(h|=Ca);break;case iu:return k_(i,h,k,t);case oo:return b_(i,h,k,t);case su:return w_(i,h,k,t);case gp:return Tk(i,h,k,t);case $1:case G1:case Hy:case $y:case H1:default:{if(typeof e=="object"&&e!==null)switch(e.$$typeof){case mp:S=se;break e;case hp:S=G;break e;case tl:S=te,_=o4(_);break e;case nl:S=ye;break e;case Er:S=De,_=null;break e}var A="";{(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(A+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var P=u?bt(u):null;P&&(A+=`
161
161
 
162
- Check the render method of \``+P+"`.")}throw new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(e==null?e:typeof e)+"."+A))}}var z=to(S,i,t,h);return z.elementType=e,z.type=_,z.lanes=k,z._debugOwner=u,z}function d4(e,t,i){var u=null;u=e._owner;var h=e.type,k=e.key,S=e.props,_=c4(h,k,S,u,t,i);return _._debugSource=e._source,_._debugOwner=e._owner,_}function Zl(e,t,i,u){var h=to(W,e,u,t);return h.lanes=i,h}function k_(e,t,i,u){typeof e.id!="string"&&g('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id);var h=to(ue,e,u,t|lt);return h.elementType=iu,h.lanes=i,h.stateNode={effectDuration:0,passiveEffectDuration:0},h}function b_(e,t,i,u){var h=to(Z,e,u,t);return h.elementType=oo,h.lanes=i,h}function w_(e,t,i,u){var h=to(ct,e,u,t);return h.elementType=su,h.lanes=i,h}function T5(e,t,i,u){var h=to($e,e,u,t);h.elementType=gp,h.lanes=i;var k={isHidden:!1};return h.stateNode=k,h}function f4(e,t,i){var u=to(Q,e,null,t);return u.lanes=i,u}function S_(){var e=to(j,null,null,st);return e.elementType="DELETED",e}function E_(e){var t=to(ht,null,null,st);return t.stateNode=e,t}function p4(e,t,i){var u=e.children!==null?e.children:[],h=to(x,u,e.key,t);return h.lanes=i,h.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},h}function k5(e,t){return e===null&&(e=to(D,null,null,st)),e.tag=t.tag,e.key=t.key,e.elementType=t.elementType,e.type=t.type,e.stateNode=t.stateNode,e.return=t.return,e.child=t.child,e.sibling=t.sibling,e.index=t.index,e.ref=t.ref,e.pendingProps=t.pendingProps,e.memoizedProps=t.memoizedProps,e.updateQueue=t.updateQueue,e.memoizedState=t.memoizedState,e.dependencies=t.dependencies,e.mode=t.mode,e.flags=t.flags,e.subtreeFlags=t.subtreeFlags,e.deletions=t.deletions,e.lanes=t.lanes,e.childLanes=t.childLanes,e.alternate=t.alternate,e.actualDuration=t.actualDuration,e.actualStartTime=t.actualStartTime,e.selfBaseDuration=t.selfBaseDuration,e.treeBaseDuration=t.treeBaseDuration,e._debugSource=t._debugSource,e._debugOwner=t._debugOwner,e._debugNeedsRemount=t._debugNeedsRemount,e._debugHookTypes=t._debugHookTypes,e}function N_(e,t,i,u,h){this.tag=t,this.containerInfo=e,this.pendingChildren=null,this.current=null,this.pingCache=null,this.finishedWork=null,this.timeoutHandle=q2,this.context=null,this.pendingContext=null,this.callbackNode=null,this.callbackPriority=Pt,this.eventTimes=Ud(he),this.expirationTimes=Ud(Xt),this.pendingLanes=he,this.suspendedLanes=he,this.pingedLanes=he,this.expiredLanes=he,this.mutableReadLanes=he,this.finishedLanes=he,this.entangledLanes=he,this.entanglements=Ud(he),this.identifierPrefix=u,this.onRecoverableError=h,this.mutableSourceEagerHydrationData=null,this.effectDuration=0,this.passiveEffectDuration=0;{this.memoizedUpdaters=new Set;for(var k=this.pendingUpdatersLaneMap=[],S=0;S<ln;S++)k.push(new Set)}switch(t){case Yg:this._debugRootType=i?"hydrateRoot()":"createRoot()";break;case jl:this._debugRootType=i?"hydrate()":"render()";break}}function b5(e,t,i,u,h,k,S,_,A,P){var z=new N_(e,t,i,_,A),q=T_(t,k);z.current=q,q.stateNode=z;{var H={element:u,isDehydrated:i,cache:null,transitions:null,pendingSuspenseBoundaries:null};q.memoizedState=H}return bv(q),z}var m4="18.2.0";function M_(e,t,i){var u=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return ve(u),{$$typeof:Qa,key:u==null?null:""+u,children:e,containerInfo:t,implementation:i}}var h4,g4;h4=!1,g4={};function w5(e){if(!e)return eo;var t=Ea(e),i=uN(t);if(t.tag===C){var u=t.type;if(_i(u))return W8(t,u,i)}return i}function I_(e,t){{var i=Ea(e);if(i===void 0){if(typeof e.render=="function")throw new Error("Unable to find node on an unmounted component.");var u=Object.keys(e).join(",");throw new Error("Argument appears to not be a ReactComponent. Keys: "+u)}var h=_a(i);if(h===null)return null;if(h.mode&hn){var k=bt(i)||"Component";if(!g4[k]){g4[k]=!0;var S=An;try{$t(h),i.mode&hn?g("%s is deprecated in StrictMode. %s was passed an instance of %s which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node",t,t,k):g("%s is deprecated in StrictMode. %s was passed an instance of %s which renders StrictMode children. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node",t,t,k)}finally{S?$t(S):Dn()}}}return h.stateNode}}function S5(e,t,i,u,h,k,S,_){var A=!1,P=null;return b5(e,t,A,P,i,u,h,k,S)}function E5(e,t,i,u,h,k,S,_,A,P){var z=!0,q=b5(i,u,z,e,h,k,S,_,A);q.context=w5(null);var H=q.current,ae=ma(),oe=Wl(H),me=Ls(ae,oe);return me.callback=t??null,Fl(H,me,oe),RI(q,oe,ae),q}function E1(e,t,i,u){Bh(t,e);var h=t.current,k=ma(),S=Wl(h);us(S);var _=w5(i);t.context===null?t.context=_:t.pendingContext=_,ba&&An!==null&&!h4&&(h4=!0,g(`Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.
162
+ Check the render method of \``+P+"`.")}throw new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(e==null?e:typeof e)+"."+A))}}var z=to(S,i,t,h);return z.elementType=e,z.type=_,z.lanes=k,z._debugOwner=u,z}function d4(e,t,i){var u=null;u=e._owner;var h=e.type,k=e.key,S=e.props,_=c4(h,k,S,u,t,i);return _._debugSource=e._source,_._debugOwner=e._owner,_}function Zl(e,t,i,u){var h=to(W,e,u,t);return h.lanes=i,h}function k_(e,t,i,u){typeof e.id!="string"&&g('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id);var h=to(ue,e,u,t|lt);return h.elementType=iu,h.lanes=i,h.stateNode={effectDuration:0,passiveEffectDuration:0},h}function b_(e,t,i,u){var h=to(Z,e,u,t);return h.elementType=oo,h.lanes=i,h}function w_(e,t,i,u){var h=to(ct,e,u,t);return h.elementType=su,h.lanes=i,h}function Tk(e,t,i,u){var h=to($e,e,u,t);h.elementType=gp,h.lanes=i;var k={isHidden:!1};return h.stateNode=k,h}function f4(e,t,i){var u=to(Q,e,null,t);return u.lanes=i,u}function S_(){var e=to(j,null,null,st);return e.elementType="DELETED",e}function E_(e){var t=to(ht,null,null,st);return t.stateNode=e,t}function p4(e,t,i){var u=e.children!==null?e.children:[],h=to(x,u,e.key,t);return h.lanes=i,h.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},h}function kk(e,t){return e===null&&(e=to(D,null,null,st)),e.tag=t.tag,e.key=t.key,e.elementType=t.elementType,e.type=t.type,e.stateNode=t.stateNode,e.return=t.return,e.child=t.child,e.sibling=t.sibling,e.index=t.index,e.ref=t.ref,e.pendingProps=t.pendingProps,e.memoizedProps=t.memoizedProps,e.updateQueue=t.updateQueue,e.memoizedState=t.memoizedState,e.dependencies=t.dependencies,e.mode=t.mode,e.flags=t.flags,e.subtreeFlags=t.subtreeFlags,e.deletions=t.deletions,e.lanes=t.lanes,e.childLanes=t.childLanes,e.alternate=t.alternate,e.actualDuration=t.actualDuration,e.actualStartTime=t.actualStartTime,e.selfBaseDuration=t.selfBaseDuration,e.treeBaseDuration=t.treeBaseDuration,e._debugSource=t._debugSource,e._debugOwner=t._debugOwner,e._debugNeedsRemount=t._debugNeedsRemount,e._debugHookTypes=t._debugHookTypes,e}function N_(e,t,i,u,h){this.tag=t,this.containerInfo=e,this.pendingChildren=null,this.current=null,this.pingCache=null,this.finishedWork=null,this.timeoutHandle=q2,this.context=null,this.pendingContext=null,this.callbackNode=null,this.callbackPriority=Pt,this.eventTimes=Ud(he),this.expirationTimes=Ud(Xt),this.pendingLanes=he,this.suspendedLanes=he,this.pingedLanes=he,this.expiredLanes=he,this.mutableReadLanes=he,this.finishedLanes=he,this.entangledLanes=he,this.entanglements=Ud(he),this.identifierPrefix=u,this.onRecoverableError=h,this.mutableSourceEagerHydrationData=null,this.effectDuration=0,this.passiveEffectDuration=0;{this.memoizedUpdaters=new Set;for(var k=this.pendingUpdatersLaneMap=[],S=0;S<ln;S++)k.push(new Set)}switch(t){case Yg:this._debugRootType=i?"hydrateRoot()":"createRoot()";break;case jl:this._debugRootType=i?"hydrate()":"render()";break}}function bk(e,t,i,u,h,k,S,_,A,P){var z=new N_(e,t,i,_,A),q=T_(t,k);z.current=q,q.stateNode=z;{var H={element:u,isDehydrated:i,cache:null,transitions:null,pendingSuspenseBoundaries:null};q.memoizedState=H}return bv(q),z}var m4="18.2.0";function M_(e,t,i){var u=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return ve(u),{$$typeof:Qa,key:u==null?null:""+u,children:e,containerInfo:t,implementation:i}}var h4,g4;h4=!1,g4={};function wk(e){if(!e)return eo;var t=Ea(e),i=uN(t);if(t.tag===C){var u=t.type;if(_i(u))return W8(t,u,i)}return i}function I_(e,t){{var i=Ea(e);if(i===void 0){if(typeof e.render=="function")throw new Error("Unable to find node on an unmounted component.");var u=Object.keys(e).join(",");throw new Error("Argument appears to not be a ReactComponent. Keys: "+u)}var h=_a(i);if(h===null)return null;if(h.mode&hn){var k=bt(i)||"Component";if(!g4[k]){g4[k]=!0;var S=An;try{$t(h),i.mode&hn?g("%s is deprecated in StrictMode. %s was passed an instance of %s which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node",t,t,k):g("%s is deprecated in StrictMode. %s was passed an instance of %s which renders StrictMode children. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node",t,t,k)}finally{S?$t(S):Dn()}}}return h.stateNode}}function Sk(e,t,i,u,h,k,S,_){var A=!1,P=null;return bk(e,t,A,P,i,u,h,k,S)}function Ek(e,t,i,u,h,k,S,_,A,P){var z=!0,q=bk(i,u,z,e,h,k,S,_,A);q.context=wk(null);var H=q.current,ae=ma(),oe=Wl(H),me=Ls(ae,oe);return me.callback=t??null,Fl(H,me,oe),RI(q,oe,ae),q}function E1(e,t,i,u){Bh(t,e);var h=t.current,k=ma(),S=Wl(h);us(S);var _=wk(i);t.context===null?t.context=_:t.pendingContext=_,ba&&An!==null&&!h4&&(h4=!0,g(`Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.
163
163
 
164
- Check the render method of %s.`,bt(An)||"Unknown"));var A=Ls(k,S);A.payload={element:e},u=u===void 0?null:u,u!==null&&(typeof u!="function"&&g("render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",u),A.callback=u);var P=Fl(h,A,S);return P!==null&&(mr(P,h,S,k),n0(P,h,S)),S}function q0(e){var t=e.current;if(!t.child)return null;switch(t.child.tag){case j:return t.child.stateNode;default:return t.child.stateNode}}function __(e){switch(e.tag){case R:{var t=e.stateNode;if(vs(t)){var i=y2(t);jI(t,i)}break}case Z:{Us(function(){var h=Pa(e,ut);if(h!==null){var k=ma();mr(h,e,ut,k)}});var u=ut;y4(e,u);break}}}function N5(e,t){var i=e.memoizedState;i!==null&&i.dehydrated!==null&&(i.retryLane=mm(i.retryLane,t))}function y4(e,t){N5(e,t);var i=e.alternate;i&&N5(i,t)}function C_(e){if(e.tag===Z){var t=Tl,i=Pa(e,t);if(i!==null){var u=ma();mr(i,e,t,u)}y4(e,t)}}function A_(e){if(e.tag===Z){var t=Wl(e),i=Pa(e,t);if(i!==null){var u=ma();mr(i,e,t,u)}y4(e,t)}}function M5(e){var t=Uh(e);return t===null?null:t.stateNode}var I5=function(e){return null};function O_(e){return I5(e)}var _5=function(e){return!1};function x_(e){return _5(e)}var C5=null,A5=null,O5=null,x5=null,L5=null,R5=null,D5=null,P5=null,U5=null;{var j5=function(e,t,i){var u=t[i],h=$n(e)?e.slice():Rt({},e);return i+1===t.length?($n(h)?h.splice(u,1):delete h[u],h):(h[u]=j5(e[u],t,i+1),h)},z5=function(e,t){return j5(e,t,0)},B5=function(e,t,i,u){var h=t[u],k=$n(e)?e.slice():Rt({},e);if(u+1===t.length){var S=i[u];k[S]=k[h],$n(k)?k.splice(h,1):delete k[h]}else k[h]=B5(e[h],t,i,u+1);return k},F5=function(e,t,i){if(t.length!==i.length){v("copyWithRename() expects paths of the same length");return}else for(var u=0;u<i.length-1;u++)if(t[u]!==i[u]){v("copyWithRename() expects paths to be the same except for the deepest key");return}return B5(e,t,i,0)},V5=function(e,t,i,u){if(i>=t.length)return u;var h=t[i],k=$n(e)?e.slice():Rt({},e);return k[h]=V5(e[h],t,i+1,u),k},Y5=function(e,t,i){return V5(e,t,0,i)},v4=function(e,t){for(var i=e.memoizedState;i!==null&&t>0;)i=i.next,t--;return i};C5=function(e,t,i,u){var h=v4(e,t);if(h!==null){var k=Y5(h.memoizedState,i,u);h.memoizedState=k,h.baseState=k,e.memoizedProps=Rt({},e.memoizedProps);var S=Pa(e,ut);S!==null&&mr(S,e,ut,Xt)}},A5=function(e,t,i){var u=v4(e,t);if(u!==null){var h=z5(u.memoizedState,i);u.memoizedState=h,u.baseState=h,e.memoizedProps=Rt({},e.memoizedProps);var k=Pa(e,ut);k!==null&&mr(k,e,ut,Xt)}},O5=function(e,t,i,u){var h=v4(e,t);if(h!==null){var k=F5(h.memoizedState,i,u);h.memoizedState=k,h.baseState=k,e.memoizedProps=Rt({},e.memoizedProps);var S=Pa(e,ut);S!==null&&mr(S,e,ut,Xt)}},x5=function(e,t,i){e.pendingProps=Y5(e.memoizedProps,t,i),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var u=Pa(e,ut);u!==null&&mr(u,e,ut,Xt)},L5=function(e,t){e.pendingProps=z5(e.memoizedProps,t),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var i=Pa(e,ut);i!==null&&mr(i,e,ut,Xt)},R5=function(e,t,i){e.pendingProps=F5(e.memoizedProps,t,i),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var u=Pa(e,ut);u!==null&&mr(u,e,ut,Xt)},D5=function(e){var t=Pa(e,ut);t!==null&&mr(t,e,ut,Xt)},P5=function(e){I5=e},U5=function(e){_5=e}}function L_(e){var t=_a(e);return t===null?null:t.stateNode}function R_(e){return null}function D_(){return An}function P_(e){var t=e.findFiberByHostInstance,i=s.ReactCurrentDispatcher;return rm({bundleType:e.bundleType,version:e.version,rendererPackageName:e.rendererPackageName,rendererConfig:e.rendererConfig,overrideHookState:C5,overrideHookStateDeletePath:A5,overrideHookStateRenamePath:O5,overrideProps:x5,overridePropsDeletePath:L5,overridePropsRenamePath:R5,setErrorHandler:P5,setSuspenseHandler:U5,scheduleUpdate:D5,currentDispatcherRef:i,findHostInstanceByFiber:L_,findFiberByHostInstance:t||R_,findHostInstancesForRefresh:f_,scheduleRefresh:c_,scheduleRoot:d_,setRefreshHandler:u_,getCurrentFiber:D_,reconcilerVersion:m4})}var Q5=typeof reportError=="function"?reportError:function(e){console.error(e)};function T4(e){this._internalRoot=e}W0.prototype.render=T4.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw new Error("Cannot update an unmounted root.");{typeof arguments[1]=="function"?g("render(...): does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):K0(arguments[1])?g("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."):typeof arguments[1]<"u"&&g("You passed a second argument to root.render(...) but it only accepts one argument.");var i=t.containerInfo;if(i.nodeType!==On){var u=M5(t.current);u&&u.parentNode!==i&&g("render(...): It looks like the React-rendered content of the root container was removed without using React. This is not supported and will cause errors. Instead, call root.unmount() to empty a root's container.")}}E1(e,t,null,null)},W0.prototype.unmount=T4.prototype.unmount=function(){typeof arguments[0]=="function"&&g("unmount(...): does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect().");var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;r5()&&g("Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."),Us(function(){E1(null,e,null,null)}),Q8(t)}};function U_(e,t){if(!K0(e))throw new Error("createRoot(...): Target container is not a DOM element.");G5(e);var i=!1,u=!1,h="",k=Q5;t!=null&&(t.hydrate?v("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof t=="object"&&t!==null&&t.$$typeof===Xs&&g(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
164
+ Check the render method of %s.`,bt(An)||"Unknown"));var A=Ls(k,S);A.payload={element:e},u=u===void 0?null:u,u!==null&&(typeof u!="function"&&g("render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",u),A.callback=u);var P=Fl(h,A,S);return P!==null&&(mr(P,h,S,k),n0(P,h,S)),S}function q0(e){var t=e.current;if(!t.child)return null;switch(t.child.tag){case j:return t.child.stateNode;default:return t.child.stateNode}}function __(e){switch(e.tag){case R:{var t=e.stateNode;if(vs(t)){var i=y2(t);jI(t,i)}break}case Z:{Us(function(){var h=Pa(e,ut);if(h!==null){var k=ma();mr(h,e,ut,k)}});var u=ut;y4(e,u);break}}}function Nk(e,t){var i=e.memoizedState;i!==null&&i.dehydrated!==null&&(i.retryLane=mm(i.retryLane,t))}function y4(e,t){Nk(e,t);var i=e.alternate;i&&Nk(i,t)}function C_(e){if(e.tag===Z){var t=Tl,i=Pa(e,t);if(i!==null){var u=ma();mr(i,e,t,u)}y4(e,t)}}function A_(e){if(e.tag===Z){var t=Wl(e),i=Pa(e,t);if(i!==null){var u=ma();mr(i,e,t,u)}y4(e,t)}}function Mk(e){var t=Uh(e);return t===null?null:t.stateNode}var Ik=function(e){return null};function O_(e){return Ik(e)}var _k=function(e){return!1};function x_(e){return _k(e)}var Ck=null,Ak=null,Ok=null,xk=null,Lk=null,Rk=null,Dk=null,Pk=null,Uk=null;{var jk=function(e,t,i){var u=t[i],h=$n(e)?e.slice():Rt({},e);return i+1===t.length?($n(h)?h.splice(u,1):delete h[u],h):(h[u]=jk(e[u],t,i+1),h)},zk=function(e,t){return jk(e,t,0)},Bk=function(e,t,i,u){var h=t[u],k=$n(e)?e.slice():Rt({},e);if(u+1===t.length){var S=i[u];k[S]=k[h],$n(k)?k.splice(h,1):delete k[h]}else k[h]=Bk(e[h],t,i,u+1);return k},Fk=function(e,t,i){if(t.length!==i.length){v("copyWithRename() expects paths of the same length");return}else for(var u=0;u<i.length-1;u++)if(t[u]!==i[u]){v("copyWithRename() expects paths to be the same except for the deepest key");return}return Bk(e,t,i,0)},Vk=function(e,t,i,u){if(i>=t.length)return u;var h=t[i],k=$n(e)?e.slice():Rt({},e);return k[h]=Vk(e[h],t,i+1,u),k},Yk=function(e,t,i){return Vk(e,t,0,i)},v4=function(e,t){for(var i=e.memoizedState;i!==null&&t>0;)i=i.next,t--;return i};Ck=function(e,t,i,u){var h=v4(e,t);if(h!==null){var k=Yk(h.memoizedState,i,u);h.memoizedState=k,h.baseState=k,e.memoizedProps=Rt({},e.memoizedProps);var S=Pa(e,ut);S!==null&&mr(S,e,ut,Xt)}},Ak=function(e,t,i){var u=v4(e,t);if(u!==null){var h=zk(u.memoizedState,i);u.memoizedState=h,u.baseState=h,e.memoizedProps=Rt({},e.memoizedProps);var k=Pa(e,ut);k!==null&&mr(k,e,ut,Xt)}},Ok=function(e,t,i,u){var h=v4(e,t);if(h!==null){var k=Fk(h.memoizedState,i,u);h.memoizedState=k,h.baseState=k,e.memoizedProps=Rt({},e.memoizedProps);var S=Pa(e,ut);S!==null&&mr(S,e,ut,Xt)}},xk=function(e,t,i){e.pendingProps=Yk(e.memoizedProps,t,i),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var u=Pa(e,ut);u!==null&&mr(u,e,ut,Xt)},Lk=function(e,t){e.pendingProps=zk(e.memoizedProps,t),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var i=Pa(e,ut);i!==null&&mr(i,e,ut,Xt)},Rk=function(e,t,i){e.pendingProps=Fk(e.memoizedProps,t,i),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var u=Pa(e,ut);u!==null&&mr(u,e,ut,Xt)},Dk=function(e){var t=Pa(e,ut);t!==null&&mr(t,e,ut,Xt)},Pk=function(e){Ik=e},Uk=function(e){_k=e}}function L_(e){var t=_a(e);return t===null?null:t.stateNode}function R_(e){return null}function D_(){return An}function P_(e){var t=e.findFiberByHostInstance,i=s.ReactCurrentDispatcher;return rm({bundleType:e.bundleType,version:e.version,rendererPackageName:e.rendererPackageName,rendererConfig:e.rendererConfig,overrideHookState:Ck,overrideHookStateDeletePath:Ak,overrideHookStateRenamePath:Ok,overrideProps:xk,overridePropsDeletePath:Lk,overridePropsRenamePath:Rk,setErrorHandler:Pk,setSuspenseHandler:Uk,scheduleUpdate:Dk,currentDispatcherRef:i,findHostInstanceByFiber:L_,findFiberByHostInstance:t||R_,findHostInstancesForRefresh:f_,scheduleRefresh:c_,scheduleRoot:d_,setRefreshHandler:u_,getCurrentFiber:D_,reconcilerVersion:m4})}var Qk=typeof reportError=="function"?reportError:function(e){console.error(e)};function T4(e){this._internalRoot=e}W0.prototype.render=T4.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw new Error("Cannot update an unmounted root.");{typeof arguments[1]=="function"?g("render(...): does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):K0(arguments[1])?g("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."):typeof arguments[1]<"u"&&g("You passed a second argument to root.render(...) but it only accepts one argument.");var i=t.containerInfo;if(i.nodeType!==On){var u=Mk(t.current);u&&u.parentNode!==i&&g("render(...): It looks like the React-rendered content of the root container was removed without using React. This is not supported and will cause errors. Instead, call root.unmount() to empty a root's container.")}}E1(e,t,null,null)},W0.prototype.unmount=T4.prototype.unmount=function(){typeof arguments[0]=="function"&&g("unmount(...): does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect().");var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;rk()&&g("Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."),Us(function(){E1(null,e,null,null)}),Q8(t)}};function U_(e,t){if(!K0(e))throw new Error("createRoot(...): Target container is not a DOM element.");Gk(e);var i=!1,u=!1,h="",k=Qk;t!=null&&(t.hydrate?v("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof t=="object"&&t!==null&&t.$$typeof===Xs&&g(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
165
165
 
166
166
  let root = createRoot(domContainer);
167
- root.render(<App />);`),t.unstable_strictMode===!0&&(i=!0),t.identifierPrefix!==void 0&&(h=t.identifierPrefix),t.onRecoverableError!==void 0&&(k=t.onRecoverableError),t.transitionCallbacks!==void 0&&t.transitionCallbacks);var S=S5(e,Yg,null,i,u,h,k);Pg(S.current,e);var _=e.nodeType===On?e.parentNode:e;return Lm(_),new T4(S)}function W0(e){this._internalRoot=e}function j_(e){e&&ig(e)}W0.prototype.unstable_scheduleHydration=j_;function z_(e,t,i){if(!K0(e))throw new Error("hydrateRoot(...): Target container is not a DOM element.");G5(e),t===void 0&&g("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var u=i??null,h=i!=null&&i.hydratedSources||null,k=!1,S=!1,_="",A=Q5;i!=null&&(i.unstable_strictMode===!0&&(k=!0),i.identifierPrefix!==void 0&&(_=i.identifierPrefix),i.onRecoverableError!==void 0&&(A=i.onRecoverableError));var P=E5(t,null,e,Yg,u,k,S,_,A);if(Pg(P.current,e),Lm(e),h)for(var z=0;z<h.length;z++){var q=h[z];$N(P,q)}return new W0(P)}function K0(e){return!!(e&&(e.nodeType===zr||e.nodeType===qa||e.nodeType===es||!V))}function N1(e){return!!(e&&(e.nodeType===zr||e.nodeType===qa||e.nodeType===es||e.nodeType===On&&e.nodeValue===" react-mount-point-unstable "))}function G5(e){e.nodeType===zr&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&g("createRoot(): Creating roots directly with document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try using a container element created for your app."),Qm(e)&&(e._reactRootContainer?g("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):g("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}var B_=s.ReactCurrentOwner,H5;H5=function(e){if(e._reactRootContainer&&e.nodeType!==On){var t=M5(e._reactRootContainer.current);t&&t.parentNode!==e&&g("render(...): It looks like the React-rendered content of this container was removed without using React. This is not supported and will cause errors. Instead, call ReactDOM.unmountComponentAtNode to empty a container.")}var i=!!e._reactRootContainer,u=k4(e),h=!!(u&&Pl(u));h&&!i&&g("render(...): Replacing React-rendered children with a new root component. If you intended to update the children of this node, you should instead have the existing children update their state and render the new components instead of calling ReactDOM.render."),e.nodeType===zr&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&g("render(): Rendering components directly into document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try rendering into a container element created for your app.")};function k4(e){return e?e.nodeType===qa?e.documentElement:e.firstChild:null}function $5(){}function F_(e,t,i,u,h){if(h){if(typeof u=="function"){var k=u;u=function(){var H=q0(S);k.call(H)}}var S=E5(t,u,e,jl,null,!1,!1,"",$5);e._reactRootContainer=S,Pg(S.current,e);var _=e.nodeType===On?e.parentNode:e;return Lm(_),Us(),S}else{for(var A;A=e.lastChild;)e.removeChild(A);if(typeof u=="function"){var P=u;u=function(){var H=q0(z);P.call(H)}}var z=S5(e,jl,null,!1,!1,"",$5);e._reactRootContainer=z,Pg(z.current,e);var q=e.nodeType===On?e.parentNode:e;return Lm(q),Us(function(){E1(t,z,i,u)}),z}}function V_(e,t){e!==null&&typeof e!="function"&&g("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e)}function Z0(e,t,i,u,h){H5(i),V_(h===void 0?null:h,"render");var k=i._reactRootContainer,S;if(!k)S=F_(i,t,e,h,u);else{if(S=k,typeof h=="function"){var _=h;h=function(){var A=q0(S);_.call(A)}}E1(t,S,e,h)}return q0(S)}function Y_(e){{var t=B_.current;if(t!==null&&t.stateNode!==null){var i=t.stateNode._warnedAboutRefsInRender;i||g("%s is accessing findDOMNode inside its render(). render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",Zt(t.type)||"A component"),t.stateNode._warnedAboutRefsInRender=!0}}return e==null?null:e.nodeType===zr?e:I_(e,"findDOMNode")}function Q_(e,t,i){if(g("ReactDOM.hydrate is no longer supported in React 18. Use hydrateRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!N1(t))throw new Error("Target container is not a DOM element.");{var u=Qm(t)&&t._reactRootContainer===void 0;u&&g("You are calling ReactDOM.hydrate() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call hydrateRoot(container, element)?")}return Z0(null,e,t,!0,i)}function G_(e,t,i){if(g("ReactDOM.render is no longer supported in React 18. Use createRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!N1(t))throw new Error("Target container is not a DOM element.");{var u=Qm(t)&&t._reactRootContainer===void 0;u&&g("You are calling ReactDOM.render() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.render(element)?")}return Z0(null,e,t,!1,i)}function H_(e,t,i,u){if(g("ReactDOM.unstable_renderSubtreeIntoContainer() is no longer supported in React 18. Consider using a portal instead. Until you switch to the createRoot API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!N1(i))throw new Error("Target container is not a DOM element.");if(e==null||!Cu(e))throw new Error("parentComponent must be a valid React Component");return Z0(e,t,i,!1,u)}function $_(e){if(!N1(e))throw new Error("unmountComponentAtNode(...): Target container is not a DOM element.");{var t=Qm(e)&&e._reactRootContainer===void 0;t&&g("You are calling ReactDOM.unmountComponentAtNode() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.unmount()?")}if(e._reactRootContainer){{var i=k4(e),u=i&&!Pl(i);u&&g("unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React.")}return Us(function(){Z0(null,null,e,!1,function(){e._reactRootContainer=null,Q8(e)})}),!0}else{{var h=k4(e),k=!!(h&&Pl(h)),S=e.nodeType===zr&&N1(e.parentNode)&&!!e.parentNode._reactRootContainer;k&&g("unmountComponentAtNode(): The node you're attempting to unmount was rendered by React and is not a top-level container. %s",S?"You may have accidentally passed in a React root node instead of its container.":"Instead, have the parent component update its state and rerender in order to remove this component.")}return!1}}k2(__),tg(C_),b2(A_),Vd(la),ng(Xh),(typeof Map!="function"||Map.prototype==null||typeof Map.prototype.forEach!="function"||typeof Set!="function"||Set.prototype==null||typeof Set.prototype.clear!="function"||typeof Set.prototype.forEach!="function")&&g("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),Rh(KS),ad(Z3,zI,Us);function q_(e,t){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!K0(t))throw new Error("Target container is not a DOM element.");return M_(e,t,null,i)}function W_(e,t,i,u){return H_(e,t,i,u)}var b4={usingClientEntryPoint:!1,Events:[Pl,cf,Ug,rd,Mu,Z3]};function K_(e,t){return b4.usingClientEntryPoint||g('You are importing createRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),U_(e,t)}function Z_(e,t,i){return b4.usingClientEntryPoint||g('You are importing hydrateRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),z_(e,t,i)}function J_(e){return r5()&&g("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task."),Us(e)}var X_=P_({findFiberByHostInstance:rc,bundleType:1,version:m4,rendererPackageName:"react-dom"});if(!X_&&Tt&&window.top===window.self&&(navigator.userAgent.indexOf("Chrome")>-1&&navigator.userAgent.indexOf("Edge")===-1||navigator.userAgent.indexOf("Firefox")>-1)){var q5=window.location.protocol;/^(https?|file):$/.test(q5)&&console.info("%cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools"+(q5==="file:"?`
168
- You might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq`:""),"font-weight:bold")}ro.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=b4,ro.createPortal=q_,ro.createRoot=K_,ro.findDOMNode=Y_,ro.flushSync=J_,ro.hydrate=Q_,ro.hydrateRoot=Z_,ro.render=G_,ro.unmountComponentAtNode=$_,ro.unstable_batchedUpdates=Z3,ro.unstable_renderSubtreeIntoContainer=W_,ro.version=m4,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),ro}function V7(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function")){if(xc.process.env.NODE_ENV!=="production")throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(V7)}catch(r){console.error(r)}}}xc.process.env.NODE_ENV==="production"?(V7(),hT.exports=WR()):hT.exports=KR();var Y7=hT.exports,GT={exports:{}};function ZR(r){try{return JSON.stringify(r)}catch{return'"[Circular]"'}}var JR=XR;function XR(r,o,s){var m=s&&s.stringify||ZR,p=1;if(typeof r=="object"&&r!==null){var v=o.length+p;if(v===1)return r;var g=new Array(v);g[0]=m(r);for(var T=1;T<v;T++)g[T]=m(o[T]);return g.join(" ")}if(typeof r!="string")return r;var I=o.length;if(I===0)return r;for(var C="",D=1-p,R=-1,x=r&&r.length||0,j=0;j<x;){if(r.charCodeAt(j)===37&&j+1<x){switch(R=R>-1?R:0,r.charCodeAt(j+1)){case 100:case 102:if(D>=I||o[D]==null)break;R<j&&(C+=r.slice(R,j)),C+=Number(o[D]),R=j+2,j++;break;case 105:if(D>=I||o[D]==null)break;R<j&&(C+=r.slice(R,j)),C+=Math.floor(Number(o[D])),R=j+2,j++;break;case 79:case 111:case 106:if(D>=I||o[D]===void 0)break;R<j&&(C+=r.slice(R,j));var Q=typeof o[D];if(Q==="string"){C+="'"+o[D]+"'",R=j+2,j++;break}if(Q==="function"){C+=o[D].name||"<anonymous>",R=j+2,j++;break}C+=m(o[D]),R=j+2,j++;break;case 115:if(D>=I)break;R<j&&(C+=r.slice(R,j)),C+=String(o[D]),R=j+2,j++;break;case 37:R<j&&(C+=r.slice(R,j)),C+="%",R=j+2,j++,D--;break}++D}++j}return R===-1?r:(R<x&&(C+=r.slice(R)),C)}const Tb=JR;GT.exports=qs;const P1=mD().console||{},eD={mapHttpRequest:ny,mapHttpResponse:ny,wrapRequestSerializer:C4,wrapResponseSerializer:C4,wrapErrorSerializer:C4,req:ny,res:ny,err:bb,errWithCause:bb};function Ty(r,o){return r==="silent"?1/0:o.levels.values[r]}const HT=Symbol("pino.logFuncs"),gT=Symbol("pino.hierarchy"),tD={error:"log",fatal:"error",warn:"error",info:"log",debug:"log",trace:"log"};function kb(r,o){const s={logger:o,parent:r[gT]};o[gT]=s}function nD(r,o,s){const m={};o.forEach(p=>{m[p]=s[p]?s[p]:P1[p]||P1[tD[p]||"log"]||U1}),r[HT]=m}function rD(r,o){return Array.isArray(r)?r.filter(function(m){return m!=="!stdSerializers.err"}):r===!0?Object.keys(o):!1}function qs(r){r=r||{},r.browser=r.browser||{};const o=r.browser.transmit;if(o&&typeof o.send!="function")throw Error("pino: transmit option must have a send function");const s=r.browser.write||P1;r.browser.write&&(r.browser.asObject=!0);const m=r.serializers||{},p=rD(r.browser.serialize,m);let v=r.browser.serialize;Array.isArray(r.browser.serialize)&&r.browser.serialize.indexOf("!stdSerializers.err")>-1&&(v=!1);const g=Object.keys(r.customLevels||{}),T=["error","fatal","warn","info","debug","trace"].concat(g);typeof s=="function"&&T.forEach(function(W){s[W]=s}),(r.enabled===!1||r.browser.disabled)&&(r.level="silent");const I=r.level||"info",C=Object.create(s);C.log||(C.log=U1),nD(C,T,s),kb({},C),Object.defineProperty(C,"levelVal",{get:R}),Object.defineProperty(C,"level",{get:x,set:j});const D={transmit:o,serialize:p,asObject:r.browser.asObject,levels:T,timestamp:dD(r)};C.levels=aD(r),C.level=I,C.setMaxListeners=C.getMaxListeners=C.emit=C.addListener=C.on=C.prependListener=C.once=C.prependOnceListener=C.removeListener=C.removeAllListeners=C.listeners=C.listenerCount=C.eventNames=C.write=C.flush=U1,C.serializers=m,C._serialize=p,C._stdErrSerialize=v,C.child=Q,o&&(C._logEvent=yT());function R(){return Ty(this.level,this)}function x(){return this._level}function j(W){if(W!=="silent"&&!this.levels.values[W])throw Error("unknown level "+W);this._level=W,Tc(this,D,C,"error"),Tc(this,D,C,"fatal"),Tc(this,D,C,"warn"),Tc(this,D,C,"info"),Tc(this,D,C,"debug"),Tc(this,D,C,"trace"),g.forEach(le=>{Tc(this,D,C,le)})}function Q(W,le){if(!W)throw new Error("missing bindings for child Pino");le=le||{},p&&W.serializers&&(le.serializers=W.serializers);const G=le.serializers;if(p&&G){var se=Object.assign({},m,G),te=r.browser.serialize===!0?Object.keys(se):p;delete W.serializers,Py([W],te,se,this._stdErrSerialize)}function ue(ye){this._childLevel=(ye._childLevel|0)+1,this.bindings=W,se&&(this.serializers=se,this._serialize=te),o&&(this._logEvent=yT([].concat(ye._logEvent.bindings,W)))}ue.prototype=this;const Z=new ue(this);return kb(this,Z),Z.level=this.level,Z}return C}function aD(r){const o=r.customLevels||{},s=Object.assign({},qs.levels.values,o),m=Object.assign({},qs.levels.labels,oD(o));return{values:s,labels:m}}function oD(r){const o={};return Object.keys(r).forEach(function(s){o[r[s]]=s}),o}qs.levels={values:{fatal:60,error:50,warn:40,info:30,debug:20,trace:10},labels:{10:"trace",20:"debug",30:"info",40:"warn",50:"error",60:"fatal"}};qs.stdSerializers=eD;qs.stdTimeFunctions=Object.assign({},{nullTime:Q7,epochTime:G7,unixTime:fD,isoTime:pD});function iD(r){const o=[];r.bindings&&o.push(r.bindings);let s=r[gT];for(;s.parent;)s=s.parent,s.logger.bindings&&o.push(s.logger.bindings);return o.reverse()}function Tc(r,o,s,m){if(r[m]=Ty(r.level,s)>Ty(m,s)?U1:s[HT][m],!o.transmit&&r[m]===U1)return;r[m]=lD(r,o,s,m);const p=iD(r);p.length!==0&&(r[m]=sD(p,r[m]))}function sD(r,o){return function(){return o.apply(this,[...r,...arguments])}}function lD(r,o,s,m){return function(p){return function(){const g=o.timestamp(),T=new Array(arguments.length),I=Object.getPrototypeOf&&Object.getPrototypeOf(this)===P1?P1:this;for(var C=0;C<T.length;C++)T[C]=arguments[C];if(o.serialize&&!o.asObject&&Py(T,this._serialize,this.serializers,this._stdErrSerialize),o.asObject?p.call(I,uD(this,m,T,g)):p.apply(I,T),o.transmit){const D=o.transmit.level||r._level,R=s.levels.values[D],x=s.levels.values[m];if(x<R)return;cD(this,{ts:g,methodLevel:m,methodValue:x,transmitLevel:D,transmitValue:s.levels.values[o.transmit.level||r._level],send:o.transmit.send,val:Ty(r._level,s)},T)}}}(r[HT][m])}function uD(r,o,s,m){r._serialize&&Py(s,r._serialize,r.serializers,r._stdErrSerialize);const p=s.slice();let v=p[0];const g={};m&&(g.time=m),g.level=r.levels.values[o];let T=(r._childLevel|0)+1;if(T<1&&(T=1),v!==null&&typeof v=="object"){for(;T--&&typeof p[0]=="object";)Object.assign(g,p.shift());v=p.length?Tb(p.shift(),p):void 0}else typeof v=="string"&&(v=Tb(p.shift(),p));return v!==void 0&&(g.msg=v),g}function Py(r,o,s,m){for(const p in r)if(m&&r[p]instanceof Error)r[p]=qs.stdSerializers.err(r[p]);else if(typeof r[p]=="object"&&!Array.isArray(r[p]))for(const v in r[p])o&&o.indexOf(v)>-1&&v in s&&(r[p][v]=s[v](r[p][v]))}function cD(r,o,s){const m=o.send,p=o.ts,v=o.methodLevel,g=o.methodValue,T=o.val,I=r._logEvent.bindings;Py(s,r._serialize||Object.keys(r.serializers),r.serializers,r._stdErrSerialize===void 0?!0:r._stdErrSerialize),r._logEvent.ts=p,r._logEvent.messages=s.filter(function(C){return I.indexOf(C)===-1}),r._logEvent.level.label=v,r._logEvent.level.value=g,m(v,r._logEvent,T),r._logEvent=yT(I)}function yT(r){return{ts:0,messages:[],bindings:r||[],level:{label:"",value:0}}}function bb(r){const o={type:r.constructor.name,msg:r.message,stack:r.stack};for(const s in r)o[s]===void 0&&(o[s]=r[s]);return o}function dD(r){return typeof r.timestamp=="function"?r.timestamp:r.timestamp===!1?Q7:G7}function ny(){return{}}function C4(r){return r}function U1(){}function Q7(){return!1}function G7(){return Date.now()}function fD(){return Math.round(Date.now()/1e3)}function pD(){return new Date(Date.now()).toISOString()}function mD(){function r(o){return typeof o<"u"&&o}try{return typeof globalThis<"u"||Object.defineProperty(Object.prototype,"globalThis",{get:function(){return delete Object.prototype.globalThis,this.globalThis=this},configurable:!0}),globalThis}catch{return r(self)||r(window)||r(this)||{}}}GT.exports.default=qs;var H7=GT.exports.pino=qs;H7({level:"trace",enabled:!1,browser:{write:r=>{console.log(r)}}});var wb;(function(r){r.OPENED="opened"})(wb||(wb={}));var Xf;(function(r){r[r.ONBOARDING=1]="ONBOARDING",r[r.QUESTION=2]="QUESTION",r[r.QUESTION_RESOLVED=3]="QUESTION_RESOLVED"})(Xf||(Xf={}));const $T={[Kt.TWEET]:{label:"Insight",iconName:"icon-insight"},[Kt.PROMOTION]:{label:"Insight",iconName:"icon-insight"},[Kt.UNSET]:void 0,[Kt.FACTOID]:{label:"Insight",iconName:"icon-insight"},[Kt.POLL]:{label:"Poll",iconName:"icon-poll"},[Kt.TRIVIA]:{label:"Trivia",iconName:"icon-trivia"},[Kt.PREDICTION]:{label:"Prediction",iconName:"icon-prediction"}},hD=de("div")({name:"Container",class:"c1bgb86j",propsAsIs:!1}),gD=de("video")({name:"Player",class:"p6703cq",propsAsIs:!1}),yD=de("img")({name:"Poster",class:"p12ow7zo",propsAsIs:!1}),vD=de("div")({name:"Control",class:"cdpal9o",propsAsIs:!1}),$7=({poster:r,source:o})=>{const s=Ke.useRef(null),[m,p]=Ke.useState(!1),[v,g]=Ke.useState(!0);return F.jsxs(hD,{onClick:()=>{const T=s==null?void 0:s.current;T&&p(I=>I?(T.pause(),!1):(T.play(),g(!1),!0))},children:[F.jsx(gD,{ref:s,src:o,onEnded:()=>{var T;(T=s==null?void 0:s.current)==null||T.load(),p(!1),g(!0)},style:{visibility:v?"hidden":"visible"}}),F.jsx(yD,{src:r,style:{visibility:v?"visible":"hidden"}}),F.jsx(vD,{children:!m&&F.jsx(hr,{name:"icon-play"})})]})},TD=de("div")({name:"InsightContainer",class:"i1pqqgpo",propsAsIs:!1}),kD=de("img")({name:"Image",class:"igj7luu",propsAsIs:!1}),bD=de("div")({name:"InsightContent",class:"i1qne9g6",propsAsIs:!1}),wD=de("h3")({name:"Title",class:"ttpr98r",propsAsIs:!1}),SD=de("div")({name:"Description",class:"d17iaqp8",propsAsIs:!1}),ED=de("button")({name:"ActionBtn",class:"a16t3y7s",propsAsIs:!1}),ND=({video:r,image:o,heading:s,body:m,action:p})=>F.jsxs(TD,{children:[(r==null?void 0:r.url)&&F.jsx($7,{source:r.url,poster:r.thumbnailUrl}),o&&!(r!=null&&r.url)&&F.jsx(kD,{src:o}),F.jsxs(bD,{children:[F.jsx(wD,{children:s}),F.jsx(SD,{children:m}),p&&F.jsx(ED,{onClick:p,children:"View Insight"})]})]}),MD=de("div")({name:"Container",class:"c1eptrjd",propsAsIs:!1}),ID=de("div")({name:"CloseIconWrap",class:"crylm65",propsAsIs:!1}),_D=()=>hr,CD=de(_D())({name:"CloseIcon",class:"c9mrcz7",propsAsIs:!0}),AD=de("div")({name:"Header",class:"hw3lzv4",propsAsIs:!1}),OD=()=>hr,xD=de(OD())({name:"TypeIcon",class:"t1rrb3kf",propsAsIs:!0}),LD=de("span")({name:"TypeName",class:"t1ydnjov",propsAsIs:!1}),RD=de("div")({name:"Question",class:"qlf90cl",propsAsIs:!1}),DD=de("button")({name:"AnswerButton",class:"a1e0nhcl",propsAsIs:!1}),PD=de("div")({name:"Container",class:"cjq447q",propsAsIs:!1}),UD=de("div")({name:"ImageContainer",class:"i14egogb",propsAsIs:!1}),jD=de("img")({name:"Image",class:"i2g9g4l",propsAsIs:!1}),zD=()=>hr,BD=de(zD())({name:"TwitterIcon",class:"t1c454nm",propsAsIs:!0}),FD=de("div")({name:"Details",class:"d11nigc3",propsAsIs:!1}),VD=de("div")({name:"Name",class:"nrxa4k8",propsAsIs:!1}),YD=de("div")({name:"UserName",class:"u1p051g3",propsAsIs:!1}),QD=({image:r,name:o,userName:s,verified:m})=>F.jsxs(PD,{children:[r&&F.jsxs(UD,{children:[F.jsx(jD,{src:r}),F.jsx(BD,{name:"twitter"})]}),F.jsxs(FD,{children:[F.jsxs(VD,{children:[o," ",m&&F.jsx(hr,{name:"icon-twitter-verified"})]}),s&&F.jsxs(YD,{children:["@",s]})]})]}),GD=de("div")({name:"Container",class:"c1kzqw87",propsAsIs:!1}),HD=de("div")({name:"Details",class:"d9r1hf9",propsAsIs:!1}),$D=de("div")({name:"Body",class:"bezygt5",propsAsIs:!1}),q7=({image:r,body:o,account:s,accountVerified:m})=>F.jsx(GD,{children:F.jsxs(HD,{children:[F.jsx(QD,{image:r,name:s,userName:s,verified:m}),F.jsx($D,{children:o})]})}),qD=de("div")({name:"Container",class:"c1t4f0x4",propsAsIs:!1}),WD=de("button")({name:"ActionBtn",class:"a16w1nl6",propsAsIs:!1}),KD=de("div")({name:"QuoteWrap",class:"q14u54rf",propsAsIs:!1}),ZD=de("blockquote")({name:"Quote",class:"q1hxm6zo",propsAsIs:!1}),JD=({action:r,...o})=>F.jsxs(qD,{children:[o.title&&F.jsx(KD,{children:F.jsx(ZD,{children:o.title})}),F.jsx(q7,{...o}),r&&F.jsx(WD,{onClick:r,children:"View Insight"})]}),Sb=({close:r,action:o,data:{questionType:s,question:m,insight:p,tweet:v}})=>{const g=$T[s];return g?F.jsxs(MD,{children:[F.jsx(ID,{onClick:r,children:F.jsx(CD,{name:"icon-cross"})}),s!==Kt.TWEET&&F.jsxs(AD,{children:[F.jsx(xD,{"data-type-trivia":s===Kt.TRIVIA,"data-type-poll":s===Kt.POLL,name:g.iconName}),F.jsx(LD,{children:g.label})]}),s===Kt.FACTOID&&F.jsx(ND,{...p,action:o}),s===Kt.TWEET&&F.jsx(JD,{...v,action:o}),s!==Kt.FACTOID&&s!==Kt.TWEET&&F.jsxs(F.Fragment,{children:[F.jsx(RD,{children:m==null?void 0:m.title}),F.jsx(DD,{onClick:o,children:"Answer"})]})]}):null},jf=de("div")({name:"BGWrap",class:"b1dqe0sz",propsAsIs:!1}),Ya=de("div")({name:"BGLineBase",class:"b1v6w7ni",propsAsIs:!1}),XD=()=>Ya,eP=de(XD())({name:"BGOneLineOne",class:"b2nqb1p",propsAsIs:!0}),tP=()=>Ya,nP=de(tP())({name:"BGOneLineTwo",class:"b1xxgmbk",propsAsIs:!0}),rP=()=>Ya,aP=de(rP())({name:"BGOneLineThree",class:"b63lwcb",propsAsIs:!0}),oP=()=>Ya,Eb=de(oP())({name:"BGTwoLineOne",class:"b2iah4",propsAsIs:!0}),iP=()=>Ya,Nb=de(iP())({name:"BGTwoLineTwo",class:"b1xezvf6",propsAsIs:!0}),sP=()=>Ya,Mb=de(sP())({name:"BGTwoLineThree",class:"b1jz1hg0",propsAsIs:!0}),lP=()=>Ya,Ib=de(lP())({name:"BGThreeLineOne",class:"b18ho1tk",propsAsIs:!0}),uP=()=>Ya,_b=de(uP())({name:"BGThreeLineTwo",class:"b14uvjfm",propsAsIs:!0}),cP=()=>Ya,Cb=de(cP())({name:"BGThreeLineThree",class:"b11c3ns7",propsAsIs:!0}),dP=()=>Ya,Ab=de(dP())({name:"BGThreeLineFour",class:"b1bqhhet",propsAsIs:!0}),fP=()=>Ya,pP=de(fP())({name:"BGFourLineOne",class:"b1xyzi7o",propsAsIs:!0}),mP=()=>Ya,hP=de(mP())({name:"BGFourLineTwo",class:"byo0rup",propsAsIs:!0}),gP=()=>Ya,yP=de(gP())({name:"BGFourLineThree",class:"b1oyiqgv",propsAsIs:!0}),vP=()=>Ya,TP=de(vP())({name:"BGFourLineFour",class:"bx3ddqw",propsAsIs:!0}),kP=({step:r,correct:o})=>F.jsxs(F.Fragment,{children:[F.jsxs(jf,{"data-active":r===1,"data-first-screen":"true",children:[F.jsx(eP,{}),F.jsx(nP,{}),F.jsx(aP,{})]}),F.jsxs(jf,{"data-active":r===2,children:[F.jsx(Eb,{}),F.jsx(Nb,{}),F.jsx(Mb,{})]}),F.jsxs(jf,{"data-active":r===3,children:[F.jsx(Eb,{}),F.jsx(Nb,{}),F.jsx(Mb,{})]}),o?F.jsxs(F.Fragment,{children:[F.jsxs(jf,{"data-active":r===4,"data-correct":"false",children:[F.jsx(Ib,{}),F.jsx(_b,{}),F.jsx(Cb,{}),F.jsx(Ab,{})]}),F.jsxs(jf,{"data-active":r===5,"data-correct":"false","data-last-screen":"true",children:[F.jsx(Ib,{}),F.jsx(_b,{}),F.jsx(Cb,{}),F.jsx(Ab,{})]})]}):F.jsxs(jf,{"data-active":r===4,"data-correct":"false","data-last-screen":"true",children:[F.jsx(pP,{}),F.jsx(hP,{}),F.jsx(yP,{}),F.jsx(TP,{})]})]}),bP=de("div")({name:"Container",class:"c1pgyo67",propsAsIs:!1}),wP="hx17qu6",Uy=({children:r,style:o,className:s,hiding:m})=>F.jsx(bP,{style:o,className:vy(s,m&&wP),children:r}),SP=118,EP=()=>Uy,NP=de(EP())({name:"Container",class:"c10131zw",propsAsIs:!0}),MP=de("div")({name:"InnerContainer",class:"ir6k2eo",propsAsIs:!1}),zf=de("div")({name:"Content",class:"c1hwoq9l",propsAsIs:!1}),Bf=de("div")({name:"Title",class:"t4ujo4g",propsAsIs:!1}),O1=de("div")({name:"Subtitle",class:"s1pjil1h",propsAsIs:!1}),IP=()=>O1,Ob=de(IP())({name:"SubtitleFG",class:"s1iorwr9",propsAsIs:!0}),ry=de("div")({name:"AnswerText",class:"a51sv9d",propsAsIs:!1}),_P=()=>hr,A4=de(_P())({name:"FeedbackIcon",class:"f1lbk2ye",propsAsIs:!0}),xb=de("button")({name:"CloseButton",class:"crcvk3t",propsAsIs:!1}),CP=()=>hr,Lb=de(CP())({name:"CloseIcon",class:"c33p82r",propsAsIs:!0}),Ff=(r,o)=>r===o?"translateY(0px)":r>o?"translateY(100%)":"translateY(-100%)",AP=({close:r,votedAnswer:o,correct:s,correctAnswerTitle:m,questionTitle:p,saveHeight:v,style:g,hiding:T})=>{const[I,C]=Ke.useState(1),D=Ke.useRef({});Ke.useEffect(()=>{const x=setInterval(()=>{C(j=>s&&j>4||!s&&j>3?j:++j)},6e3);return()=>clearInterval(x)},[s]),Ke.useEffect(()=>{var x,j;D.current[I]&&v(((j=(x=D.current[I])==null?void 0:x.getBoundingClientRect())==null?void 0:j.height)||SP)},[I,v]);const R=x=>j=>{D.current&&(D.current[x]=j)};return F.jsx(NP,{style:g.height?g:{...g,paddingTop:0,paddingBottom:0},hiding:T,children:F.jsxs(MP,{style:{height:g.height,minHeight:g.height,backgroundColor:I>3?"var(--color-white)":"var(--color-primary-green2)"},children:[F.jsx(kP,{step:I,correct:s}),F.jsxs(zf,{ref:R(1),style:{transform:Ff(1,I)},children:[F.jsx(Bf,{children:"Master"}),F.jsx(Ob,{children:"FEATURED GROUPS +"})]}),F.jsxs(zf,{ref:R(2),style:{transform:Ff(2,I)},children:[F.jsx(Bf,{children:"Prediction results are in!"}),F.jsx(Ob,{children:"FEATURED GROUPS +"})]}),F.jsxs(zf,{ref:R(3),style:{transform:Ff(3,I)},children:[F.jsx(Bf,{children:p}),F.jsx(O1,{children:F.jsxs(ry,{children:["Your Pick: ",o==null?void 0:o.title]})})]}),s?F.jsxs(F.Fragment,{children:[F.jsxs(zf,{ref:R(4),style:{transform:Ff(4,I),color:"var(--color-primary-green1)"},children:[F.jsx(Bf,{children:"Congratulations! You answered correctly."}),F.jsxs(O1,{children:[F.jsx(A4,{name:"selected"}),F.jsxs(ry,{children:["Your Pick: ",o==null?void 0:o.title]})]})]}),F.jsxs(zf,{ref:R(5),style:{transform:Ff(5,I),color:"var(--color-primary-green1)"},children:[F.jsxs(Bf,{children:["+",o==null?void 0:o.points," points"]}),F.jsxs(O1,{children:[F.jsx(A4,{name:"selected"}),F.jsxs(ry,{children:["Your Pick: ",o==null?void 0:o.title]})]}),F.jsx(xb,{onClick:r,children:F.jsx(Lb,{name:"icon-cross"})})]})]}):F.jsxs(zf,{ref:R(4),style:{transform:Ff(4,I)},children:[F.jsxs(Bf,{style:{color:"var(--color-neutrals-gray9)"},children:["Better luck next time! Correct: ",m,"."]}),F.jsxs(O1,{style:{color:"var(--color-secondary-red1)"},children:[F.jsx(A4,{name:"circleClose"}),F.jsxs(ry,{children:["Your Pick: ",o==null?void 0:o.title]})]}),F.jsx(xb,{onClick:r,children:F.jsx(Lb,{name:"icon-cross"})})]})]})})};let Eo;typeof window<"u"?Eo=window:typeof self<"u"?Eo=self:Eo=ap.global;let vT=null,TT=null;const Rb=20,O4=Eo.clearTimeout,Db=Eo.setTimeout,x4=Eo.cancelAnimationFrame||Eo.mozCancelAnimationFrame||Eo.webkitCancelAnimationFrame,Pb=Eo.requestAnimationFrame||Eo.mozRequestAnimationFrame||Eo.webkitRequestAnimationFrame;x4==null||Pb==null?(vT=O4,TT=function(o){return Db(o,Rb)}):(vT=function([o,s]){x4(o),O4(s)},TT=function(o){const s=Pb(function(){O4(m),o()}),m=Db(function(){x4(s),o()},Rb);return[s,m]});function OP(r){let o,s,m,p,v,g,T;const I=typeof document<"u"&&document.attachEvent;if(!I){g=function(G){const se=G.__resizeTriggers__,te=se.firstElementChild,ue=se.lastElementChild,Z=te.firstElementChild;ue.scrollLeft=ue.scrollWidth,ue.scrollTop=ue.scrollHeight,Z.style.width=te.offsetWidth+1+"px",Z.style.height=te.offsetHeight+1+"px",te.scrollLeft=te.scrollWidth,te.scrollTop=te.scrollHeight},v=function(G){return G.offsetWidth!==G.__resizeLast__.width||G.offsetHeight!==G.__resizeLast__.height},T=function(G){if(G.target.className&&typeof G.target.className.indexOf=="function"&&G.target.className.indexOf("contract-trigger")<0&&G.target.className.indexOf("expand-trigger")<0)return;const se=this;g(this),this.__resizeRAF__&&vT(this.__resizeRAF__),this.__resizeRAF__=TT(function(){v(se)&&(se.__resizeLast__.width=se.offsetWidth,se.__resizeLast__.height=se.offsetHeight,se.__resizeListeners__.forEach(function(Z){Z.call(se,G)}))})};let x=!1,j="";m="animationstart";const Q="Webkit Moz O ms".split(" ");let W="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),le="";{const G=document.createElement("fakeelement");if(G.style.animationName!==void 0&&(x=!0),x===!1){for(let se=0;se<Q.length;se++)if(G.style[Q[se]+"AnimationName"]!==void 0){le=Q[se],j="-"+le.toLowerCase()+"-",m=W[se],x=!0;break}}}s="resizeanim",o="@"+j+"keyframes "+s+" { from { opacity: 0; } to { opacity: 0; } } ",p=j+"animation: 1ms "+s+"; "}const C=function(x){if(!x.getElementById("detectElementResize")){const j=(o||"")+".resize-triggers { "+(p||"")+'visibility: hidden; opacity: 0; } .resize-triggers, .resize-triggers > div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',Q=x.head||x.getElementsByTagName("head")[0],W=x.createElement("style");W.id="detectElementResize",W.type="text/css",r!=null&&W.setAttribute("nonce",r),W.styleSheet?W.styleSheet.cssText=j:W.appendChild(x.createTextNode(j)),Q.appendChild(W)}};return{addResizeListener:function(x,j){if(I)x.attachEvent("onresize",j);else{if(!x.__resizeTriggers__){const Q=x.ownerDocument,W=Eo.getComputedStyle(x);W&&W.position==="static"&&(x.style.position="relative"),C(Q),x.__resizeLast__={},x.__resizeListeners__=[],(x.__resizeTriggers__=Q.createElement("div")).className="resize-triggers";const le=Q.createElement("div");le.className="expand-trigger",le.appendChild(Q.createElement("div"));const G=Q.createElement("div");G.className="contract-trigger",x.__resizeTriggers__.appendChild(le),x.__resizeTriggers__.appendChild(G),x.appendChild(x.__resizeTriggers__),g(x),x.addEventListener("scroll",T,!0),m&&(x.__resizeTriggers__.__animationListener__=function(te){te.animationName===s&&g(x)},x.__resizeTriggers__.addEventListener(m,x.__resizeTriggers__.__animationListener__))}x.__resizeListeners__.push(j)}},removeResizeListener:function(x,j){if(I)x.detachEvent("onresize",j);else if(x.__resizeListeners__.splice(x.__resizeListeners__.indexOf(j),1),!x.__resizeListeners__.length){x.removeEventListener("scroll",T,!0),x.__resizeTriggers__.__animationListener__&&(x.__resizeTriggers__.removeEventListener(m,x.__resizeTriggers__.__animationListener__),x.__resizeTriggers__.__animationListener__=null);try{x.__resizeTriggers__=!x.removeChild(x.__resizeTriggers__)}catch{}}}}}class xP extends Ke.Component{constructor(...o){super(...o),this.state={height:this.props.defaultHeight||0,scaledHeight:this.props.defaultHeight||0,scaledWidth:this.props.defaultWidth||0,width:this.props.defaultWidth||0},this._autoSizer=null,this._detectElementResize=null,this._parentNode=null,this._resizeObserver=null,this._timeoutId=null,this._onResize=()=>{this._timeoutId=null;const{disableHeight:s,disableWidth:m,onResize:p}=this.props;if(this._parentNode){var v,g,T,I;const C=window.getComputedStyle(this._parentNode)||{},D=parseFloat((v=C.paddingLeft)!==null&&v!==void 0?v:"0"),R=parseFloat((g=C.paddingRight)!==null&&g!==void 0?g:"0"),x=parseFloat((T=C.paddingTop)!==null&&T!==void 0?T:"0"),j=parseFloat((I=C.paddingBottom)!==null&&I!==void 0?I:"0"),Q=this._parentNode.getBoundingClientRect(),W=Q.height-x-j,le=Q.width-D-R,G=this._parentNode.offsetHeight-x-j,se=this._parentNode.offsetWidth-D-R;(!s&&(this.state.height!==G||this.state.scaledHeight!==W)||!m&&(this.state.width!==se||this.state.scaledWidth!==le))&&(this.setState({height:G,width:se,scaledHeight:W,scaledWidth:le}),typeof p=="function"&&p({height:G,scaledHeight:W,scaledWidth:le,width:se}))}},this._setRef=s=>{this._autoSizer=s}}componentDidMount(){const{nonce:o}=this.props;this._autoSizer&&this._autoSizer.parentNode&&this._autoSizer.parentNode.ownerDocument&&this._autoSizer.parentNode.ownerDocument.defaultView&&this._autoSizer.parentNode instanceof this._autoSizer.parentNode.ownerDocument.defaultView.HTMLElement&&(this._parentNode=this._autoSizer.parentNode,this._parentNode!=null&&(typeof ResizeObserver<"u"?(this._resizeObserver=new ResizeObserver(()=>{this._timeoutId=setTimeout(this._onResize,0)}),this._resizeObserver.observe(this._parentNode)):(this._detectElementResize=OP(o),this._detectElementResize.addResizeListener(this._parentNode,this._onResize)),this._onResize()))}componentWillUnmount(){this._parentNode&&(this._detectElementResize&&this._detectElementResize.removeResizeListener(this._parentNode,this._onResize),this._timeoutId!==null&&clearTimeout(this._timeoutId),this._resizeObserver&&(this._resizeObserver.observe(this._parentNode),this._resizeObserver.disconnect()))}render(){const{children:o,defaultHeight:s,defaultWidth:m,disableHeight:p=!1,disableWidth:v=!1,nonce:g,onResize:T,style:I={},tagName:C="div",...D}=this.props,{height:R,scaledHeight:x,scaledWidth:j,width:Q}=this.state,W={overflow:"visible"},le={};let G=!1;return p||(R===0&&(G=!0),W.height=0,le.height=R,le.scaledHeight=x),v||(Q===0&&(G=!0),W.width=0,le.width=Q,le.scaledWidth=j),Ke.createElement(C,{ref:this._setRef,style:{...W,...I},...D},!G&&o(le))}}const LP=de("div")({name:"Container",class:"c1htq1lb",propsAsIs:!1}),RP=de("div")({name:"Content",class:"cjyzpp7",propsAsIs:!1}),DP=de("div")({name:"Graphic",class:"g16mldgz",propsAsIs:!1}),PP=de("div")({name:"Headline",class:"h69js65",propsAsIs:!1}),UP=de("div")({name:"StepsContainer",class:"smm7qmo",propsAsIs:!1}),jP=de("span")({name:"StepIndicator",class:"s17knuw2",propsAsIs:!1}),zP=({width:r,graphicSrc:o,headline:s,stepsCount:m,currentStep:p})=>F.jsxs(LP,{children:[F.jsxs(RP,{children:[F.jsx(DP,{"data-centered":p===0,children:F.jsx("img",{src:o,alt:s,width:r||300})}),s&&F.jsx(PP,{children:s})]}),F.jsx(UP,{children:Array.from({length:m}).map((v,g)=>F.jsx(jP,{"data-active":p===g},g))})]}),BP=de("div")({name:"Container",class:"c1itm4k7",propsAsIs:!1}),FP=de("div")({name:"IconContainer",class:"i1w4fsni",propsAsIs:!1}),VP=()=>hr,YP=de(VP())({name:"InviteGameIcon",class:"i19m85r1",propsAsIs:!0}),QP=de("div")({name:"Content",class:"c1mbu204",propsAsIs:!1}),GP=de("div")({name:"Heading",class:"h1amdqtv",propsAsIs:!1}),HP=de("div")({name:"Subtext",class:"s1lhlj9j",propsAsIs:!1}),$P=de("div")({name:"LinkContainer",class:"l1wot35e",propsAsIs:!1}),qP=de("div")({name:"LinkInfo",class:"l1jdw39q",propsAsIs:!1}),WP=de("span")({name:"LinkTitle",class:"l1cr5mk",propsAsIs:!1}),KP=de("span")({name:"LinkAddress",class:"lvi87q4",propsAsIs:!1}),ZP=()=>hr,JP=de(ZP())({name:"LinkIcon",class:"l1pqlvw3",propsAsIs:!0}),XP=de("div")({name:"SocialLinksContainer",class:"s1n7kzeh",propsAsIs:!1}),eU=de("a")({name:"SocialLink",class:"s2m9o9y",propsAsIs:!1}),tU=de("span")({name:"SocialLinkLabel",class:"sewjbbn",propsAsIs:!1}),W7=({inviteLink:r,socialLinks:o,inviteCardTitle:s,inviteCardSubtext:m,primaryColor:p,className:v})=>F.jsxs(BP,{className:v,children:[F.jsx(FP,{style:{backgroundColor:p},children:F.jsx(YP,{name:"invite-game-icon"})}),F.jsxs(QP,{children:[F.jsx(GP,{children:s||""}),F.jsx(HP,{children:m||""})]}),r&&F.jsxs($P,{onClick:async()=>{if(r)try{await navigator.clipboard.writeText(r)}catch(g){console.error("Unable to copy to clipboard",g)}},children:[F.jsxs(qP,{children:[F.jsx(WP,{children:"Invite link"}),F.jsx(KP,{children:r})]}),F.jsx(JP,{name:"icon-copy"})]}),o&&o.length>0&&F.jsx(XP,{children:o.map(({icon:g,link:T,label:I})=>F.jsxs(eU,{href:T,target:"_blank",children:[F.jsx(hr,{name:g}),F.jsx(tU,{children:I})]},T))})]}),nU=de("div")({name:"Container",class:"cm0bev",propsAsIs:!1}),rU=de("div")({name:"Content",class:"ce7x737",propsAsIs:!1}),aU=de("div")({name:"Title",class:"tc2tor6",propsAsIs:!1}),oU=de("div")({name:"RulesList",class:"r1k5klql",propsAsIs:!1}),iU=de("div")({name:"RulesItem",class:"r1tf3ft2",propsAsIs:!1}),sU=de("div")({name:"RuleIcon",class:"rwpvg1k",propsAsIs:!1}),lU=de("div")({name:"RuleText",class:"rbxiag0",propsAsIs:!1}),uU=de("button")({name:"TermsButton",class:"t6cyrry",propsAsIs:!1}),cU=({rules:r,rulesTitle:o,primaryColor:s})=>F.jsxs(nU,{children:[F.jsxs(rU,{children:[F.jsx(aU,{children:o}),F.jsx(oU,{children:r==null?void 0:r.map(({label:m,icon:p},v)=>F.jsxs(iU,{children:[p&&F.jsx(sU,{style:{backgroundColor:s},children:F.jsx(hr,{name:p,"data-icon":p})}),F.jsx(lU,{children:m})]},v))})]}),F.jsx(uU,{children:"See Terms and Conditions"})]}),dU=de("button")({name:"SButton",class:"s1nve60q",propsAsIs:!1}),fU=de("span")({name:"ButtonLabel",class:"b1xoswwx",propsAsIs:!1}),K7=({disabled:r,variant:o="primary",onClick:s,children:m,...p})=>F.jsx(dU,{onClick:s,disabled:r,"data-variant":o,...p,children:F.jsx(fU,{children:m})}),pU=de("div")({name:"Container",class:"c18uddbs",propsAsIs:!1}),mU=de("div")({name:"Content",class:"cvcfjf6",propsAsIs:!1}),hU=de("div")({name:"OnboardingHeader",class:"o1ie27lw",propsAsIs:!1}),gU=de("button")({name:"CloseBtn",class:"c15cjkwi",propsAsIs:!1}),yU=()=>hr,vU=de(yU())({name:"IconClose",class:"i1mavjt2",propsAsIs:!0}),TU=de("div")({name:"OnboardingFooter",class:"o1x0dyzv",propsAsIs:!1}),kU=()=>K7,bU=de(kU())({name:"OnboardingActionBtn",class:"o1jfi9c3",propsAsIs:!0}),Vf={steps:!1,rules:!1,inviteCard:!1},wU=({gamification:r,steps:o,rules:s,rulesBtnLabel:m,rulesTitle:p,primaryColor:v,inviteLink:g,socialLinks:T,inviteCardTitle:I,inviteCardSubtext:C,inviteCardBtnLabel:D,onClose:R})=>{const[x,j]=Ke.useState(0),[Q,W]=Ke.useState(Vf);Ke.useEffect(()=>{o!=null&&o.length?W({...Vf,steps:!0}):s!=null&&s.length?W({...Vf,rules:!0}):W({...Vf,inviteCard:!0})},[]);const le=Ke.useMemo(()=>Q.steps&&x===0?"Continue":Q.rules?m||"Got it":Q.inviteCard?D||"Play Now":"Next",[Q,x,m,D]),G=Ke.useCallback(()=>{o!=null&&o.length&&x<o.length-1?j(te=>++te):s!=null&&s.length&&Q.steps?W({...Vf,rules:!0}):Q.rules&&W({...Vf,inviteCard:!0})},[x,o==null?void 0:o.length,s==null?void 0:s.length,Q,j,W]),se=async()=>{await r.onboardingStatus.submitInplay()};return F.jsx(xP,{children:({width:te,height:ue})=>F.jsxs(pU,{style:{width:te,height:ue},children:[F.jsx(hU,{children:F.jsx(gU,{onClick:R,children:F.jsx(vU,{name:"icon-close-btn-gray"})})}),F.jsxs(mU,{children:[Q.steps&&(o==null?void 0:o.length)&&F.jsx(zP,{stepsCount:o.length,currentStep:x,...o[x]}),Q.rules&&F.jsx(cU,{rules:s,rulesTitle:p,primaryColor:v}),Q.inviteCard&&F.jsx(W7,{inviteLink:g,inviteCardTitle:I,inviteCardSubtext:C,primaryColor:v,socialLinks:T})]}),F.jsx(TU,{children:F.jsx(bU,{onClick:Q.inviteCard?se:G,children:le})})]})})},SU=de("div")({name:"Container",class:"cocfo2g",propsAsIs:!1}),EU=de("div")({name:"CloseIconWrap",class:"c1pdhxdk",propsAsIs:!1}),NU=()=>hr,MU=de(NU())({name:"CloseIcon",class:"c1funj3r",propsAsIs:!0}),IU=de("div")({name:"Title",class:"t1okg06y",propsAsIs:!1}),_U=de("img")({name:"SponsorLogo",class:"sb1n923",propsAsIs:!1}),CU=de("div")({name:"PresentsTitle",class:"p1stllxd",propsAsIs:!1}),AU=de("div")({name:"Subtitle",class:"s13kvdzw",propsAsIs:!1}),OU=de("div")({name:"Description",class:"dfvmv3t",propsAsIs:!1}),xU=de("button")({name:"ActionButton",class:"ay8e3j9",propsAsIs:!1}),Ub=({close:r,action:o,onboarding:s})=>{var m,p,v,g,T,I,C,D;return F.jsxs(SU,{children:[F.jsx(EU,{onClick:r,children:F.jsx(MU,{name:"icon-cross"})}),((p=(m=s==null?void 0:s.titleCard)==null?void 0:m.media)==null?void 0:p.sponsorLogo)&&F.jsxs(IU,{children:[F.jsx(_U,{alt:"sponsor-logo",src:(g=(v=s==null?void 0:s.titleCard)==null?void 0:v.media)==null?void 0:g.sponsorLogo}),F.jsx(CU,{children:"PRESENTS"})]}),((T=s==null?void 0:s.titleCard)==null?void 0:T.title)&&F.jsx(AU,{children:(I=s==null?void 0:s.titleCard)==null?void 0:I.title}),((C=s==null?void 0:s.titleCard)==null?void 0:C.subtitle)&&F.jsx(OU,{children:(D=s==null?void 0:s.titleCard)==null?void 0:D.subtitle}),F.jsx(xU,{onClick:o,children:"Play Now"})]})},LU="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOTIiIGhlaWdodD0iMTkiIHZpZXdCb3g9IjAgMCA5MiAxOSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE0LjE3MDEgMC45NTM5OTZDMTMuOTA0NyAwLjg3MzE0NSAxMy42MzkzIDEuMDE3NyAxMy4zNzM5IDEuMTY0N0MxMy4yNzk3IDEuMjE2MTUgMTMuMjEyNyAxLjMwNjggMTMuMTkwNCAxLjQwOTdMMTIuNzczNiAzLjMzMjk4QzEyLjc1ODggMy40MDQwNCAxMi44MjMzIDMuNDY3NzQgMTIuODk1MiAzLjQ1MzA0QzEzLjMzNDIgMy4zNTUwNCAxMy43NTA5IDIuOTc1MjggMTQuMTkgMy4xMDc1OEMxNC42ODExIDMuMjU3MDMgMTUuMTcyMiAyLjY0MjA3IDE1LjY2MzQgMi42NDk0MlYwLjQyOTY4OEMxNS4xNjk4IDAuNDMyMTM4IDE0LjY2MTMgMS4xMDM0NSAxNC4xNzAxIDAuOTUzOTk2WiIgZmlsbD0iIzAwNjc0NyIvPgo8cGF0aCBkPSJNMjAuNDQwNCA2Ljg0Nzg2QzIwLjMzNjIgNi43NzY4MSAyMC4yNzE3IDYuNjYxNjYgMjAuMjcxNyA2LjUzNjcxVjYuMTg2MzVDMjAuMjcxNyA1Ljg3Mjc1IDIwLjAxMzggNS42MTU0OSAxOS42OTM4IDUuNjE1NDlIMTkuNDYzMUMxOS4xODc4IDUuNjE1NDkgMTguOTM0OCA1Ljc1MjY5IDE4Ljc4NTkgNS45ODA1NUwxOC4wNDE4IDcuMTE0OTJDMTcuOTY3NCA3LjIyNzYyIDE3Ljg0MzQgNy4yOTM3NyAxNy43MDk0IDcuMjkzNzdIMTcuMjA4NEMxNi45NjAzIDcuMjkzNzcgMTYuNzMyMSA3LjQyODUyIDE2LjYxMzEgNy42NDQxMkMxNi40OTE1IDcuODY3MDggMTYuMjc1NyA4LjAyMTQzIDE2LjAzMDIgOC4wNzI4OFYwLjE4MTMwM0MxNi4wMzAyIDAuMDgwODUxMyAxNS45NDgzIDAgMTUuODQ2NiAwQzE1Ljc0NDkgMCAxNS42NjMgMC4wODA4NTEzIDE1LjY2MyAwLjE4MTMwM1YwLjQyNjMwN1YyLjY0NjA0VjguMDc3NzhDMTUuNDE3NSA4LjAyNjMzIDE1LjIwMTcgNy44NzE5OCAxNS4wODAxIDcuNjQ2NTdDMTQuOTYzNiA3LjQzMDk3IDE0LjczNTQgNy4yOTYyMiAxNC40ODQ4IDcuMjk2MjJIMTQuMTQ3NUMxMy44Nzk2IDcuMjk2MjIgMTMuNjM5IDcuNDUwNTcgMTMuNTI5OCA3LjY5MzEyTDEzLjI0OTYgOC4zMTI5OUMxMy4yMDQ5IDguNDEwOTkgMTMuMTA1NyA4LjQ3NDY5IDEyLjk5NjUgOC40NzQ2OUMxMi44ODc0IDguNDc0NjkgMTIuNzg4MiA4LjQxMDk5IDEyLjc0MzUgOC4zMTI5OUwxMi40NjMzIDcuNjkzMTJDMTIuMzU0MSA3LjQ1MzAyIDEyLjExMzUgNy4yOTYyMiAxMS44NDU2IDcuMjk2MjJIMi4zMzgwMkMyLjI2MTEzIDcuMjk2MjIgMi4xOTkxMSA3LjM1NzQ3IDIuMTk5MTEgNy40MzM0MkMyLjE5OTExIDcuNTk1MTIgMi4wNjUxNyA3LjcyNDk4IDEuOTAzOTQgNy43MjQ5OEgxLjQ5MjE4QzEuNDE1MjkgNy43MjQ5OCAxLjM1MzI4IDcuNzg2MjMgMS4zNTMyOCA3Ljg2MjE4VjguMzM1MDRDMS4zNTMyOCA4Ljc3ODQ5IDEuMjY2NDYgOS4yMDk3IDEuMDkyODMgOS42MTg4NkwwLjg0MjMwMyAxMC4yMTQyQzAuNjA5MTQgMTAuNzY1NSAwLjUgMTEuMzM2MyAwLjUgMTEuODk3NFYxMy4yNjk0QzAuNSAxMy42Mzk0IDAuNTU0NTcgMTQuMDE0MiAwLjY2MzcxIDE0LjM3OTNDMC45Njg4MDcgMTUuNDAzNCAxLjY2MzM0IDE2LjI0MTMgMi42MTgzMSAxNi43MzYyTDQuMTM4ODMgMTcuNTI3NkM0LjE1ODY4IDE3LjUzNzQgNC4xODEgMTcuNTQyMyA0LjIwMzMyIDE3LjU0MjNMNS4zMjY5NyAxNy41NTIxQzUuNTg5OSAxNy41NTQ1IDUuODQ3ODcgMTcuNjIwNyA2LjA3ODU1IDE3Ljc0ODFMNi42ODEzIDE4LjA4MTNDNi43MDExNSAxOC4wOTM1IDYuNzI1OTUgMTguMDk4NCA2Ljc1MDc2IDE4LjA5ODRINy41NTY5QzcuODM5NjggMTguMDk4NCA4LjExOTk3IDE4LjE3NDQgOC4zNjA1NyAxOC4zMTg5QzguMzYwNTcgMTguMzE4OSA4Ljc1NDk3IDE4LjU1NjYgOC44ODg5MSAxOC42MzI2QzkuMTAyMjMgMTguNzU1MSA5LjM2MDIgMTguODcyNyA5LjgwOTE2IDE4Ljg5NzJDOS45MTA4NiAxOC45MDIxIDEwLjAxMjYgMTguODY1MyAxMC4wODk1IDE4Ljc5NDNDMTAuMTYzOSAxOC43MjMyIDEwLjIwODUgMTguNjIyOCAxMC4yMDg1IDE4LjUyMjNWMTcuOTg4MkMxMC4yMDg1IDE3LjYwMTEgMTAuNDM5MiAxNy4yNDgzIDEwLjc5ODkgMTcuMDkzOUwxMi4wMzE3IDE2LjU1OThDMTIuMjAwMyAxNi40ODYzIDEyLjM4ODggMTYuNDc0MSAxMi41NjQ5IDE2LjUyOEwxMy4wMjYzIDE2LjY2MjdDMTMuMjIyMyAxNi43MTkxIDEzLjQzMDYgMTYuNzIxNSAxMy42MjY2IDE2LjY2MjdMMTQuNzE4IDE2LjM0MThDMTQuODYxOSAxNi4zMDAxIDE1LjAxNTYgMTYuMzAwMSAxNS4xNjIgMTYuMzQ0MkwxNS42MDYgMTYuNDY2N0MxNS44MTE5IDE2LjUyMzEgMTUuOTU4MiAxNi43MTQyIDE1Ljk1ODIgMTYuOTI0OVYxNy45OTMxQzE1Ljk1ODIgMTguNDkwNSAxNi4zNjc1IDE4Ljg5NzIgMTYuODcxIDE4Ljg5NzJDMTcuMjQ4MSAxOC44OTcyIDE3LjU3OCAxOC42NTk1IDE3LjY5MjEgMTguMzA0MkMxNy44OTc5IDE3LjY2NDggMTguMDAyMSAxNi45OTg0IDE4LjAwMjEgMTYuMzI3MVYxNS44NzE0QzE4LjAwMjEgMTUuNTQ4IDE4LjEzODUgMTUuMjM2OCAxOC4zNzY3IDE1LjAxMzhMMTguODMwNiAxNC41OUMxOS4xMzU3IDE0LjMwMzMgMTkuMzExOCAxMy44OTY2IDE5LjMxMTggMTMuNDgwMVYxMC45NDY4QzE5LjMxMTggMTAuNTU0OCAxOS40MzA5IDEwLjE3NSAxOS42NTkxIDkuODUxNjFDMTkuNjc2NCA5LjgyOTU2IDE5LjY4MzkgOS44MDAxNiAxOS42ODM5IDkuNzczMjFWOS4xNzU0QzE5LjY4MzkgOC43ODU4NCAxOS44MDI5IDguNDA4NTQgMjAuMDI2MiA4LjA4NzU4TDIwLjQ3NTEgNy40NDMyMkMyMC40OTI1IDcuNDIxMTcgMjAuNDk5OSA3LjM5NDIyIDIwLjQ5OTkgNy4zNjQ4MlY2Ljk2MDU2QzIwLjUwMjQgNi44ODQ2MSAyMC40NTUzIDYuODU3NjYgMjAuNDQwNCA2Ljg0Nzg2Wk0xNi4wMzAyIDEyLjg1NTRDMTYuMzM1MiAxMi45MDE5IDE2LjU2MzQgMTMuMDU2MyAxNi41NjM0IDEzLjI0MjVDMTYuNTYzNCAxMy40Mjg3IDE2LjMzNzcgMTMuNTgzIDE2LjAzMDIgMTMuNjI5NlYxMi44NTU0Wk0yLjk4MDQ2IDE2LjYxMzdMMi43NDk3OCAxNi40OTM3QzIuMTIyMjIgMTYuMTY3OCAxLjYyMTE3IDE1LjY4MjcgMS4yNzg4NiAxNS4wOTIyVjE0LjM1MjNDMS42NzA3OCAxNC45MTM0IDIuMjA0MDcgMTUuMzkxMiAyLjg1NjQ0IDE1LjczMTdMMi45ODA0NiAxNS43OTU0VjE2LjYxMzdaTTQuMTQxMzEgMTcuMjE4OUwzLjUyNjE2IDE2LjkwMDRWMTYuMDgyMUw0LjEzODgzIDE2LjQwMDZINC4xNDEzMVYxNy4yMTg5Wk02LjcwMTE1IDE3Ljc3NUw2LjIxNDk4IDE3LjUwNTVDNS45NDk1NyAxNy4zNTg1IDUuNjUxOTEgMTcuMjgwMSA1LjM0NjgyIDE3LjI3NTJWMTYuNDIyNkM1LjYwMjMgMTYuNDI3NSA1Ljg1NTMxIDE2LjQ5MzcgNi4wNzg1NSAxNi42MTYyTDYuNjgxMyAxNi45NDk0QzYuNjg2MjYgMTYuOTUxOCA2LjY5MzcgMTYuOTUxOCA2LjcwMTE1IDE2Ljk1NDNWMTcuNzc1Wk05LjkyODIyIDE3Ljk4ODJWMTguNDA0N1YxOC41MjIzQzkuOTI4MjIgMTguNTQ5MyA5LjkxNTgyIDE4LjU3NjIgOS44OTU5OCAxOC41OTU4QzkuODc2MTMgMTguNjE1NCA5Ljg1MTMzIDE4LjYyMjggOS44MjQwNCAxOC42MjI4QzkuNDM0NjEgMTguNjAzMiA5LjIxMTM3IDE4LjUwMjcgOS4wMzAzIDE4LjM5NzNDOC44OTg4MyAxOC4zMjE0IDguNTA2OTIgMTguMDg2MiA4LjUwNDQ0IDE4LjA4NjJDOC4yNTg4NyAxNy45MzkyIDcuOTgxMDYgMTcuODU4MyA3LjY5NTgxIDE3LjgzNjNWMTYuOTc4OEM3LjkyODk3IDE3LjAwMDggOC4xNTcxOCAxNy4wNjk0IDguMzYwNTcgMTcuMTg5NUw4LjcwMDQgMTcuMzkwNEM5LjA3MjQ2IDE3LjYxMDkgOS40OTY2MiAxNy43MzU4IDkuOTI4MjIgMTcuNzYwM1YxNy45ODgyWk0xMy4yODY4IDE2LjQyNzVDMTMuMjI3MiAxNi40MjUxIDEzLjE2NTIgMTYuNDE1MyAxMy4xMDU3IDE2LjM5ODFMMTIuNjQ0MyAxNi4yNjA5QzEyLjU0NTEgMTYuMjMxNSAxMi40NDM0IDE2LjIyMTcgMTIuMzQxNyAxNi4yMjE3VjE1LjM2NjdDMTIuNDE2MSAxNS4zNjY3IDEyLjQ5MDUgMTUuMzc0IDEyLjU2NDkgMTUuMzk2MUwxMy4wMjYzIDE1LjUzMDhDMTMuMTEwNyAxNS41NTUzIDEzLjE5OTkgMTUuNTY3NiAxMy4yODY4IDE1LjU3MjVWMTYuNDI3NVpNMTYuMTc2NSAxNi42MzMzQzE2LjA4NzIgMTYuNDI3NSAxNS45MTExIDE2LjI2MzQgMTUuNjg1NCAxNi4yMDIxTDE1LjI0MzggMTYuMDc5NkMxNS4xMzk3IDE2LjA0NzggMTUuMDMwNSAxNi4wMzU1IDE0LjkyMTQgMTYuMDM1NVYxNS4xODI5QzE1LjAwNTcgMTUuMTgwNCAxNS4wOTAxIDE1LjE5MDIgMTUuMTcxOSAxNS4yMTcyTDE1LjUzNDEgMTUuMzI5OUMxNS45MTg1IDE1LjQ1IDE2LjE3NjUgMTUuNzk3OSAxNi4xNzY1IDE2LjE5NDhWMTYuNjMzM1pNMTcuNDQ5IDE4LjE0NzRDMTcuNDQxNSAxOC4xNzE5IDE3LjQzNjYgMTguMTk2NCAxNy40MjkxIDE4LjIyMDlDMTcuMzUyMiAxOC40NjExIDE3LjEyOSAxOC42MjAzIDE2Ljg3NiAxOC42MjAzQzE2Ljg1MzcgMTguNjIwMyAxNi44MzEzIDE4LjYxNTQgMTYuODA5IDE4LjYxM1YxNy43NjI4QzE2LjgyNjQgMTcuNzY1MiAxNi44NDEzIDE3Ljc2NzcgMTYuODU4NiAxNy43Njc3QzE3LjEwNjcgMTcuNzY3NyAxNy4zMzI0IDE3LjYzMDUgMTcuNDUxNSAxNy40MjIyVjE4LjE0NzRIMTcuNDQ5Wk0xOS44MzAyIDcuNDgyNDJDMTkuNTUyNCA3Ljg3OTMzIDE5LjQwNjEgOC4zNDQ4NCAxOS40MDYxIDguODI3NDlWOS4yNDg5TDE5LjE5MDMgOS41NTc2QzE4LjkxIDkuOTU2OTYgMTguNzYxMSAxMC40MjQ5IDE4Ljc2MTEgMTAuOTFWMTMuMDM0MkMxOC43NjExIDEzLjM3NzIgMTguNjE3MyAxMy43MTI5IDE4LjM2NDMgMTMuOTQ4MUwxNy45MTAzIDE0LjM3NDRDMTcuNjA1MiAxNC42NjEgMTcuNDM2NiAxNS4wNjI4IDE3LjQ0OSAxNS40Nzk0TDE3LjQ1MTUgMTUuNTc0OUMxNy40Njg4IDE2LjEyNjIgMTcuMzk2OSAxNi42NzUgMTcuMjQwNiAxNy4yMDQyQzE3LjE5MSAxNy4zNzMyIDE3LjAzMjMgMTcuNDkwOCAxNi44NTYxIDE3LjQ5MDhDMTYuNjM1NCAxNy40OTA4IDE2LjQ1NDMgMTcuMzE0NCAxNi40NTQzIDE3LjA5MzlWMTYuMTk0OEMxNi40NTQzIDE1LjY3NTQgMTYuMTE3IDE1LjIyMjEgMTUuNjE1OSAxNS4wNjc3TDE1LjI1MzggMTQuOTU1QzE1LjA1MjggMTQuODkzOCAxNC44NDIgMTQuODkxMyAxNC42Mzg2IDE0Ljk1MDFMMTMuNTQ3MiAxNS4yNjg2QzEzLjQwMzMgMTUuMzEwMyAxMy4yNDk2IDE1LjMxMDMgMTMuMTA1NyAxNS4yNjg2TDEyLjY0NDMgMTUuMTMzOUMxMi40MDYyIDE1LjA2MjggMTIuMTQ4MiAxNS4wOCAxMS45MiAxNS4xNzhMMTAuOTUwMiAxNS41OTk0QzEwLjMzMDEgMTUuODY4OSA5LjkzMDcgMTYuNDc0MSA5LjkzMDcgMTcuMTQyOVYxNy40ODg0QzkuNTQ4NzEgMTcuNDY2MyA5LjE3NjY0IDE3LjM1MzYgOC44NDY3NCAxNy4xNTc2TDguNTA2OTIgMTYuOTU2N0M4LjIxOTE5IDE2Ljc4NzcgNy44OTE3NyAxNi42OTcgNy41NTY5IDE2LjY5N0g2Ljc4NTQ4TDYuMjE0OTggMTYuMzgxQzUuOTQ0NjEgMTYuMjMxNSA1LjYzOTUxIDE2LjE1MzEgNS4zMjk0NSAxNi4xNTA3TDQuMjM4MDUgMTYuMTQzM0wyLjk4NTQyIDE1LjQ5MTZDMS4wODUzOSAxNC41MDQyIDAuMjc0Mjc4IDEyLjI4MjEgMS4xMDAyNyAxMC4zMjJMMS4zNTA4IDkuNzI2NjZDMS41MzY4MyA5LjI4NTY1IDEuNjMzNTcgOC44MTc2OSAxLjYzMzU3IDguMzM3NDlWOC4wMDQyOEgxLjkwMzk0QzIuMTcxODMgOC4wMDQyOCAyLjQwMDAzIDcuODIwNTMgMi40NjIwNCA3LjU3MzA3SDExLjg0ODFDMTIuMDA0NCA3LjU3MzA3IDEyLjE0ODIgNy42NjM3MiAxMi4yMTAyIDcuODA1ODNMMTIuNDkwNSA4LjQyNTY5QzEyLjU3OTggOC42MjQxNCAxMi43NzgzIDguNzUxNTQgMTIuOTk5IDguNzUxNTRDMTMuMjE3MyA4Ljc1MTU0IDEzLjQxODIgOC42MjQxNCAxMy41MDc1IDguNDI1NjlMMTMuNzg3OCA3LjgwMzM4QzEzLjg1MjMgNy42NjEyNyAxMy45OTM3IDcuNTcwNjIgMTQuMTUgNy41NzA2MkgxNC40ODczQzE0LjYzMzcgNy41NzA2MiAxNC43Njc2IDcuNjQ5MDIgMTQuODM3IDcuNzc2NDNDMTUuMDA4MiA4LjA5MDAzIDE1LjMxNTggOC4zMDA3NCAxNS42NjU1IDguMzU3MDlWMTIuMjU3NUMxNS4xMDI1IDEyLjMxODggMTQuNjcwOSAxMi42NDk2IDE0LjY3MDkgMTMuMDUxNEMxNC42NzA5IDEzLjQ5NzMgMTUuMTk2NyAxMy44NTc0IDE1Ljg0NjYgMTMuODU3NEMxNi40OTY1IDEzLjg1NzQgMTcuMDIyMyAxMy40OTczIDE3LjAyMjMgMTMuMDUxNEMxNy4wMjIzIDEyLjY0OTYgMTYuNTkwNyAxMi4zMTYzIDE2LjAyNzcgMTIuMjU3NVY4LjM1NDY0QzE2LjM3NzQgOC4yOTgyOCAxNi42ODUgOC4wODc1OCAxNi44NTYxIDcuNzczOThDMTYuOTI1NiA3LjY0NjU3IDE3LjA1OTUgNy41NjgxNyAxNy4yMDU5IDcuNTY4MTdIMTcuNzA2OUMxNy45Mzc2IDcuNTY4MTcgMTguMTQ4NSA3LjQ1MzAyIDE4LjI3NSA3LjI2MTkyTDE5LjAxOTEgNi4xMjc1NUMxOS4xMTU4IDUuOTc4MSAxOS4yODIgNS44ODk5IDE5LjQ2MzEgNS44ODk5SDE5LjY5MzhDMTkuODU3NSA1Ljg4OTkgMTkuOTkxNCA2LjAyMjIgMTkuOTkxNCA2LjE4MzlWNi41MzQyNkMxOS45OTE0IDYuNzAzMzEgMjAuMDU4NCA2Ljg2NTAxIDIwLjE3NSA2Ljk4NTA2TDE5LjgzMDIgNy40ODI0MlpNMTUuNjYzIDEyLjg1NTRWMTMuNjI5NkMxNS4zNTc5IDEzLjU4MyAxNS4xMzIyIDEzLjQyODcgMTUuMTMyMiAxMy4yNDI1QzE1LjEzMjIgMTMuMDU2MyAxNS4zNTc5IDEyLjg5OTUgMTUuNjYzIDEyLjg1NTRaIiBmaWxsPSIjMDA2NzQ3Ii8+CjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNNDMuNjM1NSAxNC4yMjEyTDQ1Ljc4MyA2LjYzNjI3QzQ2LjAxNzUgNS44MDkwMSA0Ni42MjkgNS4xNDQ5OCA0Ny40Mjg4IDQuODQ4TDQ3LjQ4NzQgNC42MDEwN0g0NC41MDI4TDM5LjQzNCAxMC42OTg5TDM3LjQ5NDIgNC42MDEwN0gzNC43NjM2TDM0LjY5NzggNC44NDhDMzUuMTY1MyA1LjA4MjEzIDM1LjQyMyA1Ljc4MTc2IDM1LjQyMyA2LjM1MDk3VjYuMzg2MjhDMzUuNDIzIDkuNjM0NjkgMzMuMDQ0MyAxNS4yMTgzIDI5LjY5ODQgMTUuMjE4M0MyOC4zOTgyIDE1LjIxODMgMjcuNzI0MiAxNC4yOTAxIDI3LjcyNDIgMTMuNTE2NUMyNy43MjQyIDEyLjU3OTQgMjguNTAwMyAxMS45MTI5IDI5LjMxOTEgMTEuOTEyOUMzMC4xMTIgMTEuOTEyOSAzMC4yMzQyIDEyLjIxMSAzMC42OTA5IDEyLjIxMUMzMC45Njk2IDEyLjIxMSAzMS4yMzY2IDEyLjA2NjcgMzEuMzcwMSAxMS44MTk1QzMxLjU3OTcgMTEuNDMxMyAzMS40MjA4IDEwLjk1NzIgMzEuMDM3NiAxMC43NzE0TDMwLjgyODMgMTAuNjcwNUMyOC44Nzc1IDkuNzIyMjggMjYuNjE1MiAxMS4xNTgyIDI2LjYxNTIgMTMuMzQ1M1YxMy4zNzU2QzI2LjYxNTIgMTQuOTY3NSAyNy44NTI1IDE2LjI5ODkgMjkuNDI3NSAxNi4zNTQ1QzMzLjQ4NjcgMTYuNDk4MyAzNi4yMDE5IDEwLjk2NjEgMzYuNjMzOCA2LjkxNjg0TDM2Ljk0NTggOC4wMTI0M0wzOC41NDQ4IDEyLjg1NDVIMzkuMTUwNEw0NC4xNDUyIDYuODM0MjVMNDIuMDQ5OCAxNC4yMjlDNDEuODA5NCAxNS4wNzczIDQxLjE0MzcgMTUuNzM0NCA0MC4yOTg1IDE1Ljk1OEw0MC4yMzk5IDE2LjIwNDlINDQuMjU2MUw0NC4zMjE2IDE1Ljk1OEM0My43MjgzIDE1LjYwNDMgNDMuNDQ2MSAxNC44OTAyIDQzLjYzNTUgMTQuMjIxMloiIGZpbGw9IiMwMDY3NDciLz4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik01MS45ODQ3IDEyLjYzMzVINTAuMDYyNUM1MC4yODA4IDEyLjAzNCA1MC40ODk4IDExLjQ2MTcgNTAuNTYwMyAxMS4yNzQzQzUxLjA0NjUgOS45NzY4MiA1MS45NzEgOS40NTE4MyA1Mi44NjY1IDkuMzc4NDJMNTIuODU3MiA5LjM4NjJMNTEuOTg0NyAxMi42MzM1Wk01My43MTU5IDguNzI2MDdINTMuNjgxN0M1MS44MDcxIDguNzI4MyA0OS43OTE2IDguOTExNTUgNDguNzE5IDExLjk5MDNDNDcuODE3OSAxNC41NzY3IDQ3LjU3NDUgMTUuNjQ4MSA0Ni44NzA1IDE1LjY0ODFDNDYuNDIwNCAxNS42NDgxIDQ2LjUyOTcgMTQuNzYzIDQ1Ljg1NDkgMTQuNzYzQzQ1LjU1MDkgMTQuNzYzIDQ1LjIzMzIgMTUuMDA5MyA0NS4yMTA0IDE1LjM2NjFDNDUuMTcwNSAxNS45ODI2IDQ1Ljk5MDkgMTYuMzU1NSA0Ni42MDkyIDE2LjM1NTVDNDguNDkyOSAxNi4zNTU1IDQ5LjIxNDggMTQuOTY3MSA0OS40NTA1IDE0LjMyMDNDNDkuNDgxIDE0LjIzNTggNDkuNjQ3MyAxMy43NzggNDkuODQzNiAxMy4yMzg2SDUxLjgyMzFMNTEuNDg3OCAxNC40ODY2QzUxLjMxMDcgMTUuMTQ1IDUwLjk0NjUgMTUuNjgzOSA1MC4zMzA0IDE1Ljk1OTVMNTAuMjc3MiAxNi4yMDYySDUzLjUxNTRMNTMuNTc1NSAxNS45NTk1QzUzLjEzNzIgMTUuNTk0MSA1Mi45NDY5IDE1LjAwODIgNTMuMDg5IDE0LjQ2MjdMNTQuMzA3NSA5Ljc4MzAyQzU0LjQwMTEgOS40MjQwMyA1NC42NDcyIDkuMTI3ODkgNTQuOTgwOSA4Ljk3M0w1NS4wMzM4IDguNzI2MDdINTMuOTc4NUg1My43MTU5WiIgZmlsbD0iIzAwNjc0NyIvPgo8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTcwLjA1NiA5LjI2MDI2QzcwLjE2MDEgOS4wODYxOSA3MC4yNTk1IDguODIwMzUgNzAuMjU5NSA4LjY3MTg2TDcwLjI1OTcgOC42NzEwM0M3MC4yNzQxIDguMzkwMTggNzAuMDIwOCA4LjE3MjczIDY5Ljc0ODggOC4yMzE5Nkg2OS43NDgyQzY5LjUzMDQgOC4yNzk1MSA2OS4zNzMgOC40NzQ5OSA2OS4zNzcxIDguNzAwMjNDNjkuMzgwNyA4LjkzNDM2IDY5LjMzNDEgOS4xODU3NCA2OS4yMzUzIDkuMzA4MzZDNjkuMDA4MiA5LjU5MTE2IDY4LjY0NSA5LjU2Njk3IDY2Ljk3MTcgOS4wODE3NFY5LjA3ODk2QzY2LjgxODYgOS4wMzM2MyA2Ni42NTA0IDguOTg0MTQgNjYuNDczMSA4LjkzNDkyQzY2LjQ2MzcgOC45MzI0MSA2Ni40NTQ5IDguOTI5NjMgNjYuNDQ1MyA4LjkyNjU3TDY2LjQ0NTYgOC45Mjc0MUM2NS42MTA2IDguNjk4IDY0LjU3MzIgOC40ODc1IDYzLjg5MjkgOC44Mjg2OUM2My44ODc0IDguODMxNDggNjMuODgxNiA4LjgzNDUzIDYzLjg3NjQgOC44MzcwNEM2My4yMTE4IDkuMTc0MDYgNjIuNzQ3OSA5LjgxMjIzIDYyLjYwODYgMTAuNTUwMkM2Mi41ODc5IDEwLjY1ODcgNjIuNTcyOCAxMC43NDY4IDYyLjU3MTEgMTAuNzc4OFYxMC43Nzk5QzYyLjU1MTMgMTEuMTY3NSA2Mi45MDA5IDExLjQ2NzkgNjMuMjc2NyAxMS4zODY0TDYzLjI3NzMgMTEuMzg1OEM2My41ODIxIDExLjMxOTYgNjMuNzk2NSAxMS4wNDQxIDYzLjc5MDIgMTAuNzI5NkM2My43ODM2IDEwLjQxMTcgNjMuNzIwNSA5Ljk4NzQxIDYzLjg5MTggOS43MDI2N0M2NC4xNjc0IDkuMzEwNTkgNjQuNDUzNyA5LjI4Mjc4IDY1LjczNjEgOS43MTQ2Mkw2NC4zNDM2IDE0LjQ4NzdDNjQuMTUxNCAxNS4xNDU2IDYzLjY4MTIgMTUuNjg0OCA2My4wNTkgMTUuOTYwMUw2My4wMDAxIDE2LjIwNzNINjYuMzMxOUw2Ni4zOTc3IDE1Ljk2MDFDNjUuOTY3OSAxNS41OTUgNjUuNzkwNiAxNS4wMDg4IDY1Ljk0NTMgMTQuNDYzNUw2Ny4xNjI4IDEwLjE2MzdDNjcuNjk2OSAxMC4yNzYgNjguMjM4MSAxMC4zMDUgNjguNzY1MSAxMC4xNTMxTDY4Ljk1NDggMTAuMDk4NkM2OS4zNzg3IDkuOTc2MjkgNjkuODEyOSA5LjY2NjggNzAuMDU2IDkuMjYwMjZaIiBmaWxsPSIjMDA2NzQ3Ii8+CjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNNzEuMzg4OSA4LjcyNjA3TDcxLjMyMzQgOC45NzMyOEM3MS43MzYgOS4yNjEwOCA3MS45MjE5IDkuNzgwNzkgNzEuNzg4NiAxMC4yNjcxTDcwLjU1MDYgMTQuNDgxNkM3MC4zNTg0IDE1LjE0IDY5Ljg4ODIgMTUuNjc4OSA2OS4yNjU5IDE1Ljk1NDJMNjkuMjA3IDE2LjIwMTFINzAuOTY5Nkg3MS4xMzA2SDc1LjE4NjhMNzUuNzIyNiAxNC4yMjUySDc1LjQ3MDlMNzUuMzgwNiAxNC40MTQ1Qzc1LjA0NDcgMTUuMTIwNiA3NC4zMzcyIDE1LjU2OTkgNzMuNTYxNCAxNS41Njk5SDcxLjg0MTVMNzIuNzU3MiAxMi4yNjIzTDczLjQ4NzggMTIuMjYxNUM3My45ODA3IDEyLjI2MTIgNzQuMzUxMiAxMi43MTUzIDc0LjI1NjggMTMuMjAzNkg3NC41MDg0TDc1LjEwOTQgMTAuOTY3OUg3NC44NTc4Qzc0LjcxMjIgMTEuMzgxNCA3NC4zMjUzIDExLjY1NzggNzMuODkwNCAxMS42NThMNzIuOTI0MyAxMS42NTkyTDczLjU1OTcgOS4zNjM0MUw3NS4zODI1IDkuMzYyMDJDNzUuOTc3NSA5LjM2MTQ2IDc2LjQyMjkgOS45MTI2IDc2LjMwNCAxMC41MDE1SDc2LjU1NTZMNzcuMDMzIDguNzI2MDdINzEuMzg4OVoiIGZpbGw9IiMwMDY3NDciLz4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik04Mi44NjU1IDEwLjUzMjRDODIuNjY2OCAxMS4yMDI4IDgyLjA1NjQgMTEuNjYyNyA4MS4zNjMyIDExLjY2MjdMODAuMzA3NiAxMS42NjM2TDgwLjk0NjYgOS4zNjcyNkw4Mi4wMDU1IDkuMzY2N0M4Mi42MDY3IDkuMzY2NDIgODMuMDM3OSA5Ljk1MTIgODIuODY1NSAxMC41MzI0Wk04Mi43OTc4IDguNzI5OThINzguNzcxMUw3OC43MDUzIDguOTc2OTFDNzkuMDkxOSA5LjI0NjM2IDc5LjI3OTEgOS43MTkzNSA3OS4xOTIxIDEwLjE3NzlMNzcuOTMxMSAxNC40ODQ2Qzc3LjczOSAxNS4xNDMxIDc3LjI2OSAxNS42ODIgNzYuNjQ2NSAxNS45NTczTDc2LjU4NzkgMTYuMjA0OEg3OS45MTY0TDc5Ljk4MjIgMTUuOTU3M0M3OS41NTI0IDE1LjU5MjIgNzkuMzc1NCAxNS4wMDYgNzkuNTI5NiAxNC40NjA3TDgwLjE0IDEyLjI2NjJIODAuMzk0NEM4MC43Nzg3IDEyLjI2NjUgODEuMTAxNCAxMi41NTg0IDgxLjE0MzggMTIuOTQ0NEM4MS4xNTc4IDEzLjA2OSA4MS4zNTA1IDE0LjU5NDcgODEuNTA0NCAxNS4xMTk1QzgxLjcwNTkgMTUuODA1MiA4MS45NzA1IDE2LjIwNSA4Mi41NzI5IDE2LjIwNUg4NC4wNzg4TDg0LjEzNzUgMTUuOTU3OEw4My45MjE5IDE1LjgyODhDODMuNDk2NiAxNS41NzM4IDgzLjE4ODUgMTUuMTc3MyA4My4wNTA4IDE0LjY1MzFDODIuOTIwMyAxNC4xNTg1IDgyLjY3NyAxMy4yMzcyIDgyLjU1NzggMTIuNzQ5NUM4Mi40OTYxIDEyLjQ5ODEgODIuMTg2NiAxMi4yNjU0IDgxLjg2NjcgMTIuMjY1NEw4Mi4zNzQxIDEyLjI2NTFDODMuMjg0IDEyLjI2NDUgODQuMDgyNyAxMS42NTI1IDg0LjMyOCAxMC43NjcxQzg0LjYxMSA5Ljc0MzgyIDgzLjg0OTUgOC43Mjk5OCA4Mi43OTc4IDguNzI5OThaIiBmaWxsPSIjMDA2NzQ3Ii8+CjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNNjAuNjg0MiA5LjEwOTMxQzYwLjU3NiA5LjEwOTMxIDYwLjM0MzEgOS4wMzQ3OCA1OS45ODU4IDguODg0NjNDNTkuNjI4MSA4LjczNDQ3IDU5LjI2NjkgOC42NTk2NyA1OC45MDI3IDguNjU5NjdDNTguMTQ2NyA4LjY1OTY3IDU3LjUxNTcgOC45MDY4NyA1Ni45OTk3IDkuNDM1MkM1Ni41NzAzIDkuODc0ODMgNTYuMzc5NSAxMC4zNjI4IDU2LjM3OTUgMTAuNzg1MkM1Ni4zNzk1IDExLjIzNDkgNTYuNjM5OSAxMS43NjM1IDU3LjE2MTYgMTIuMTkwOUM1Ny42NTQyIDEyLjU5NDkgNTguMTY2OCAxMi45ODIgNTguNjggMTMuMzc3MUM1OS4yMTk2IDEzLjgxMzQgNTkuNDg5NyAxNC4yMTU4IDU5LjQ4OTcgMTQuNTQzMUM1OS40ODk3IDE1LjI2MTYgNTkuMDI2OSAxNS42NDgxIDU4LjA2ODggMTUuNjQ4MUM1Ny4wOTUzIDE1LjY0ODEgNTYuNDIyMSAxNC45Mjc2IDU2LjIwNjMgMTMuNTc4Mkg1NS45NDMxTDU1LjE3NzcgMTYuMjA0NUg1NS40MjAzQzU1LjczNjYgMTUuOTgwNyA1NS45NjE1IDE1LjgzNjYgNTYuNDIwMiAxNS44MzY2QzU2Ljg1OCAxNS44MzY2IDU3LjMyNTcgMTYuMzU1OCA1OC4zMjI5IDE2LjM1NThDNTkuMTE5MSAxNi4zNTU4IDU5Ljc0OTMgMTYuMTg5IDYwLjI4OTIgMTUuNjQzNEM2MC43NDgxIDE1LjE2NjggNjAuOTc3NSAxNC40OTk0IDYwLjk3NzUgMTMuOTUzOEM2MC45Nzc1IDEzLjQ0OTQgNjAuNjY0NCAxMi44NjEzIDYwLjExNzQgMTIuNDM3NUM1OS42NDggMTIuMDc0MSA1OS4xNDUzIDExLjc0OTYgNTguNjU5NiAxMS4zOTQ4QzU4LjEzMzIgMTAuOTk5MyA1Ny44NyAxMC42NjM3IDU3Ljg3IDEwLjI5NTZDNTcuODcgMTAuMDkwNiA1Ny45NzEzIDkuODg2NTEgNTguMTc0IDkuNjgyMTNDNTguNDMgOS40MjMyNSA1OC43NzMgOS4zNjU5NiA1OS4yMzIgOS4zNjU5NkM2MC4xNTI5IDkuMzY1OTYgNjAuNzk3NCA5Ljg4NDI5IDYwLjg1MTYgMTAuOTc0Nkg2MS4wOTQ1TDYxLjczNjggOC42NTk2N0g2MS40OTM5QzYxLjIzNzMgOC45NTk3MSA2MC45Njc1IDkuMTA5MzEgNjAuNjg0MiA5LjEwOTMxWiIgZmlsbD0iIzAwNjc0NyIvPgo8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTg5LjE3MTcgOS4zNjU2OUM5MC4wOTI2IDkuMzY1NjkgOTAuNzM3NCA5Ljg4NDAxIDkwLjc5MTQgMTAuOTc0M0g5MS4wMzQ1TDkxLjY3NjUgOC42NTk2N0g5MS40MzM0QzkxLjE3NzEgOC45NTkxNSA5MC45MDc1IDkuMTA5MDMgOTAuNjIzNyA5LjEwOTAzQzkwLjUxNTggOS4xMDkwMyA5MC4yODI5IDkuMDM0MjMgODkuOTI1MiA4Ljg4NDM1Qzg5LjU2NzYgOC43MzQ0NyA4OS4yMDY3IDguNjU5NjcgODguODQyMiA4LjY1OTY3Qzg4LjA4NjQgOC42NTk2NyA4Ny40NTU0IDguOTA2ODcgODYuOTM5NSA5LjQzNDkzQzg2LjUxIDkuODc0NTUgODYuMzE5MiAxMC4zNjI4IDg2LjMxOTIgMTAuNzg1Qzg2LjMxOTIgMTEuMjM1MSA4Ni41Nzk2IDExLjc2MjkgODcuMTAxNCAxMi4xOTA5Qzg3LjU5MzkgMTIuNTk0OSA4OC4xMDY1IDEyLjk4MTcgODguNjE5NyAxMy4zNzY4Qzg5LjE1OSAxMy44MTM0IDg5LjQyOTQgMTQuMjE1OCA4OS40Mjk0IDE0LjU0MjhDODkuNDI5NCAxNS4yNjEzIDg4Ljk2NjYgMTUuNjQ3OCA4OC4wMDg1IDE1LjY0NzhDODcuMDM1IDE1LjY0NzggODYuMzYxOSAxNC45Mjc0IDg2LjE0NTggMTMuNTc4Mkg4NS44ODI2TDg1LjExNzIgMTYuMjA0NUg4NS4zNjAzQzg1LjY3NjMgMTUuOTgwNyA4NS45MDEzIDE1LjgzNjYgODYuMzU5NyAxNS44MzY2Qzg2Ljc5NzcgMTUuODM2NiA4Ny4yNjUyIDE2LjM1NTggODguMjYyNiAxNi4zNTU4Qzg5LjA1ODggMTYuMzU1OCA4OS42ODkgMTYuMTg4NCA5MC4yMjg5IDE1LjY0MzRDOTAuNjg3OCAxNS4xNjYyIDkwLjkxNzIgMTQuNDk5MSA5MC45MTcyIDEzLjk1MzhDOTAuOTE3MiAxMy40NDk0IDkwLjYwNDEgMTIuODYxMyA5MC4wNTc0IDEyLjQzNzVDODkuNTg3NyAxMi4wNzM4IDg5LjA4NTMgMTEuNzQ5MyA4OC41OTk2IDExLjM5NDVDODguMDcyOSAxMC45OTkzIDg3LjgwOTcgMTAuNjYzMiA4Ny44MDk3IDEwLjI5NUM4Ny44MDk3IDEwLjA5MDkgODcuOTExIDkuODg2MjMgODguMTEzNCA5LjY4MTg1Qzg4LjM2OTcgOS40MjI5NyA4OC43MTI4IDkuMzY1NjkgODkuMTcxNyA5LjM2NTY5WiIgZmlsbD0iIzAwNjc0NyIvPgo8L3N2Zz4K",RU=de("div")({name:"OnboardingContainer",class:"o9squag",propsAsIs:!1}),DU=()=>Uy,PU=de(DU())({name:"OnboardingNotificationContainer",class:"o1c8wcli",propsAsIs:!0}),jb=de("div")({name:"InnerContainer",class:"i18oyadd",propsAsIs:!1}),UU="cebdc0u",jU=({deepLink:r,onboardingOpts:o,notification:s,gamification:m})=>{var p,v,g,T,I,C;const[D,R]=Ke.useState(void 0);return Ke.useEffect(()=>{const x=r.$store.subscribe(j=>{j&&R(j.data)});return()=>{x()}},[r.$store]),F.jsx(RU,{className:vy(s.hiding&&UU),children:F.jsx(wU,{rules:[{label:"Answer as many questions as you like.",icon:"icon-btn-feature-groups"},{label:"Win points for each correct trivia or prediction answer.",icon:"icon-thumb-up"},{label:"Top the leader board and best your friends.",icon:"icon-trophy"}],rulesBtnLabel:(p=o.rules)==null?void 0:p.buttonLabel,rulesTitle:(v=o.rules)==null?void 0:v.heading,steps:[{graphicSrc:"https://cdn.streamlayer.io/assets/sdk-web/onboarding-steps/step_1.png",headline:"Welcome to the Featured Groups +",width:80},{graphicSrc:"https://cdn.streamlayer.io/assets/sdk-web/onboarding-steps/step_2.png",headline:"Get real-time insights",width:264},{graphicSrc:"https://cdn.streamlayer.io/assets/sdk-web/onboarding-steps/step_3.png",headline:"Predictions, trivia & polls synced to match play"},{graphicSrc:"https://cdn.streamlayer.io/assets/sdk-web/onboarding-steps/step_4.png",headline:"Win points for every answer you get right"},{graphicSrc:"https://cdn.streamlayer.io/assets/sdk-web/onboarding-steps/step_5.png",headline:"Compete against friends on the leaderboard"}],primaryColor:(g=o.inviteCard)==null?void 0:g.iconColor,inviteLink:D==null?void 0:D.url,inviteCardTitle:(T=o.inviteCard)==null?void 0:T.heading,inviteCardSubtext:(I=o.inviteCard)==null?void 0:I.subtext,inviteCardBtnLabel:(C=o.inviteCard)==null?void 0:C.buttonLabel,onClose:()=>{var x;(x=s.close)==null||x.call(s)},socialLinks:[{icon:"icon-facebook",link:"https://www.facebook.com/TheMasters",label:"Facebook"},{icon:"icon-twitter",link:"https://twitter.com/@TheMasters",label:"X"}],gamification:m})})},zU=({sdk:r,notification:o,saveHeight:s,style:m})=>{var p;const v=Ke.useRef(null),[g,T]=Ke.useState(!1),I=r.getFeature(Xn.GAMES),C=o.data.onboarding;return(p=C==null?void 0:C.titleCard)!=null&&p.media&&(C.titleCard.media.sponsorLogo=LU),Ke.useLayoutEffect(()=>{var D;s(((D=v.current)==null?void 0:D.getBoundingClientRect().height)||0)},[s]),g&&I&&C?F.jsx(jU,{notification:o,setOpened:T,gamification:I,onboardingOpts:C,deepLink:I.deepLink}):F.jsxs(F.Fragment,{children:[F.jsx(jb,{ref:D=>{v.current=D},style:{position:"absolute",visibility:"hidden"},children:F.jsx(Ub,{close:()=>{},action:()=>{},onboarding:C})}),F.jsx(PU,{style:m,hiding:o.hiding,children:F.jsx(jb,{children:F.jsx(Ub,{close:o.close,action:()=>T(!0),onboarding:C})})})]})},BU=de("button")({name:"Container",class:"crkmfw1",propsAsIs:!1}),FU=de("div")({name:"Content",class:"c11awpy4",propsAsIs:!1}),VU=de("span")({name:"Title",class:"t154z7mh",propsAsIs:!1}),YU=({title:r,onClick:o,className:s,style:m})=>F.jsx(BU,{onClick:o,className:s,style:m,children:F.jsxs(FU,{children:[F.jsx(hr,{name:"iconUp"}),r&&F.jsx(VU,{children:r})]})}),QU=()=>Uy,GU=de(QU())({name:"Container",class:"ctckejh",propsAsIs:!0}),zb=de("div")({name:"InnerContainer",class:"i1ri7tzr",propsAsIs:!1}),HU=de("div")({name:"NotificationRefreshing",class:"n1ng1qh5",propsAsIs:!1}),$U=()=>YU,qU=de($U())({name:"Pill",class:"pruq6ik",propsAsIs:!0}),WU=r=>{const[o,s]=Ke.useState(0),m=Ke.useRef(null),p=Ke.useCallback(g=>{m.current=g},[]);Ke.useEffect(()=>{var g;const T=(g=m.current)==null?void 0:g.getBoundingClientRect();T&&s(T.height)},[r]);const v=Ke.useCallback(g=>{s(g)},[]);return[p,o,v]},KU=({sdk:r,notification:o})=>{var s,m;const[p,v,g]=WU(o.id);return o.type===Xf.QUESTION?F.jsxs(F.Fragment,{children:[F.jsx(zb,{ref:p,style:{position:"absolute",visibility:"hidden"},children:F.jsx(Sb,{...o})}),F.jsxs(GU,{style:{height:o.hiding?0:v},hiding:o.hiding,children:[F.jsx(zb,{style:{height:"100%"},children:F.jsx(Sb,{...o})}),F.jsx(HU,{},o.id)]})]}):o.type===Xf.QUESTION_RESOLVED&&(m=(s=o.data)==null?void 0:s.question)!=null&&m.predictionResult?F.jsx(AP,{style:{height:o.hiding?0:v},saveHeight:g,close:o.close,hiding:o.hiding,...o.data.question}):o.type===Xf.ONBOARDING?F.jsx(zU,{style:{height:o.hiding?0:v},saveHeight:g,sdk:r,notification:o}):null},ZU=({sdk:r,scrollNode:o,appNode:s,scrollStore:m})=>{var p,v;const[g]=Ke.useState(r.getNotificationsStore()),T=qi(g),{tabsShown:I}=qi(m,{keys:["tabsShown"]}),[C,D]=Ke.useState(null),R=Ke.useMemo(()=>{if(!(T!=null&&T.size))return null;for(const x of T.values())if(x.type===Xf.ONBOARDING)return x;return T.values().next().value},[T]);return Ke.useEffect(()=>{R&&m.get().scrollPosition>0&&D(R)},[R,m]),Ke.useEffect(()=>m.listen(x=>{x.scrollPosition===0&&D(null)}),[m]),F.jsxs(F.Fragment,{children:[!C&&R&&F.jsx(KU,{sdk:r,notification:R}),C&&s.current&&Y7.createPortal(F.jsx(qU,{title:`New ${((v=$T[(p=C.data)==null?void 0:p.questionType])==null?void 0:v.label)||"notification"}`,onClick:()=>{var x;(x=o.current)==null||x.scrollTo({top:0,behavior:"smooth"})},className:I?"c1d7yse1":void 0}),s.current)]})},JU=de("div")({name:"SDKContainer",class:"stu11h7",propsAsIs:!1}),Z7=de("div")({name:"SDKScrollContainer",class:"s1ucohr1",propsAsIs:!1}),J7=de("div")({name:"SDKContentContainer",class:"s1el4wvm",propsAsIs:!1}),XU=()=>J7,ej=de(XU())({name:"SDKWhiteContainer",class:"s1oe3036",propsAsIs:!0}),tj=r=>{const o=Ke.useRef(""),[s,m]=Ke.useState(!1),p=qi(r.status),v=qi(r.userId()),g=p==="ready",[T,I]=Ke.useState(Sc),C=Ke.useCallback((x,j)=>{I(j),j===Sc?(x&&r.createEventSession(x),window.requestAnimationFrame(()=>{r.openFeature(Xn.GAMES)})):r.closeFeature(!1)},[r]);Ke.useEffect(()=>{!g&&T===Sc&&(I(Zf),r.closeFeature(!0))},[g,T,r]);const D=x=>{o.current=x,m(!0),r.initializeApp({skipOrganizationSettings:!0}).then(({enabled:j,err:Q})=>{if(Q){C(x,Zf);return}if(j){r.isUserAuthorized().then(W=>{if(W){C(x,Sc);return}else r.disableApp()});return}})},R=()=>{m(!1),r.disableApp()};return Ke.useEffect(()=>{if(!v){g&&(I(Zf),r.disableApp());return}v&&o.current&&s&&r.initializeApp({skipOrganizationSettings:!0}).then(()=>{r.createEventSession(o.current)})},[v]),{sdkEnabled:s,sdkReady:g,activeOverlay:T,activateAndLoadOverlay:C,activateEventWithId:D,deactivate:R,isLogged:!!v}},nj=r=>{const o=qi(r.getActiveFeature()),s=qi(r.streamStore()),[m,p]=Ke.useState(null);return Ke.useEffect(()=>{const v=r.getFeatures();if(o)for(const[g,T]of v)g===o?T.status.get()===wc.Suspended&&(T.enable(),p(T)):T.status.get()===wc.Ready&&T.disable();else{for(const[,g]of v)g.status.get()===wc.Ready&&g.disable();p(null)}return()=>{for(const[,g]of v)g.status.get()===wc.Ready&&g.disable()}},[o,r,s]),[o,m]};var X7="Expected a function",Bb=0/0,rj="[object Symbol]",aj=/^\s+|\s+$/g,oj=/^[-+]0x[0-9a-f]+$/i,ij=/^0b[01]+$/i,sj=/^0o[0-7]+$/i,lj=parseInt,uj=typeof J0=="object"&&J0&&J0.Object===Object&&J0,cj=typeof self=="object"&&self&&self.Object===Object&&self,dj=uj||cj||Function("return this")(),fj=Object.prototype,pj=fj.toString,mj=Math.max,hj=Math.min,L4=function(){return dj.Date.now()};function gj(r,o,s){var m,p,v,g,T,I,C=0,D=!1,R=!1,x=!0;if(typeof r!="function")throw new TypeError(X7);o=Fb(o)||0,ky(s)&&(D=!!s.leading,R="maxWait"in s,v=R?mj(Fb(s.maxWait)||0,o):v,x="trailing"in s?!!s.trailing:x);function j(ye){var fe=m,De=p;return m=p=void 0,C=ye,g=r.apply(De,fe),g}function Q(ye){return C=ye,T=setTimeout(G,o),D?j(ye):g}function W(ye){var fe=ye-I,De=ye-C,He=o-fe;return R?hj(He,v-De):He}function le(ye){var fe=ye-I,De=ye-C;return I===void 0||fe>=o||fe<0||R&&De>=v}function G(){var ye=L4();if(le(ye))return se(ye);T=setTimeout(G,W(ye))}function se(ye){return T=void 0,x&&m?j(ye):(m=p=void 0,g)}function te(){T!==void 0&&clearTimeout(T),C=0,m=I=p=T=void 0}function ue(){return T===void 0?g:se(L4())}function Z(){var ye=L4(),fe=le(ye);if(m=arguments,p=this,I=ye,fe){if(T===void 0)return Q(I);if(R)return T=setTimeout(G,o),j(I)}return T===void 0&&(T=setTimeout(G,o)),g}return Z.cancel=te,Z.flush=ue,Z}function yj(r,o,s){var m=!0,p=!0;if(typeof r!="function")throw new TypeError(X7);return ky(s)&&(m="leading"in s?!!s.leading:m,p="trailing"in s?!!s.trailing:p),gj(r,o,{leading:m,maxWait:o,trailing:p})}function ky(r){var o=typeof r;return!!r&&(o=="object"||o=="function")}function vj(r){return!!r&&typeof r=="object"}function Tj(r){return typeof r=="symbol"||vj(r)&&pj.call(r)==rj}function Fb(r){if(typeof r=="number")return r;if(Tj(r))return Bb;if(ky(r)){var o=typeof r.valueOf=="function"?r.valueOf():r;r=ky(o)?o+"":o}if(typeof r!="string")return r===0?r:+r;r=r.replace(aj,"");var s=ij.test(r);return s||sj.test(r)?lj(r.slice(2),s?2:8):oj.test(r)?Bb:+r}var kj=yj;const bj=n7(kj);let wj=Symbol("clean"),va=[],Sj=(r,o)=>{let s=[],m={get(){return m.lc||m.listen(()=>{})(),m.value},l:o||0,lc:0,listen(p,v){return m.lc=s.push(p,v||m.l)/2,()=>{let g=s.indexOf(p);~g&&(s.splice(g,2),--m.lc||m.off())}},notify(p){let v=!va.length;for(let g=0;g<s.length;g+=2)va.push(s[g],s[g+1],m.value,p);if(v){for(let g=0;g<va.length;g+=4){let T;for(let I=g+1;!T&&(I+=4)<va.length;)va[I]<va[g+1]&&(T=va.push(va[g],va[g+1],va[g+2],va[g+3]));T||va[g](va[g+2],va[g+3])}va.length=0}},off(){},set(p){m.value!==p&&(m.value=p,m.notify())},subscribe(p,v){let g=m.listen(p,v);return p(m.value),g},value:r};return xc.process.env.NODE_ENV!=="production"&&(m[wj]=()=>{s=[],m.lc=0,m.off()}),m},Ej=(r={})=>{let o=Sj(r);return o.setKey=function(s,m){typeof m>"u"?s in o.value&&(o.value={...o.value},delete o.value[s],o.notify(s)):o.value[s]!==m&&(o.value={...o.value,[s]:m},o.notify(s))},o};const Nj=()=>{const r=Ke.useRef(null),o=Ke.useRef(0),[s]=Ke.useState(Ej({scrollPosition:0,scrollDirection:"forward"})),m=Ke.useCallback(bj(p=>{const v=p.target;if(!v)return;const{scrollTop:g}=v,T=o.current<g?"forward":"backward";o.current=g,s.set({scrollPosition:g,scrollDirection:T,tabsShown:s.get().tabsShown})},200),[]);return Ke.useEffect(()=>{const p=r.current;return p?(p.addEventListener("scroll",m),()=>{p.removeEventListener("scroll",m)}):()=>{}},[m]),[r,s]},Mj=({sdk:r,className:o,scrollStore:s,appNode:m,scrollNode:p})=>{const[,v]=nj(r);return F.jsx(gL,{className:o,scrollNode:p,appNode:m,scrollStore:s,feature:v,sdk:r})},Ij=({sdk:r,overlays:o,children:s})=>{const[m,p]=Nj(),v=Ke.useRef(null),{sdkEnabled:g,sdkReady:T,activeOverlay:I,activateAndLoadOverlay:C,activateEventWithId:D,deactivate:R,isLogged:x}=tj(r);return Ke.useEffect(()=>{Promise.resolve().then(()=>require("./gamification-feature.js"))},[]),F.jsxs(JU,{ref:v,children:[g&&F.jsx(DR,{sdkReady:T,activeOverlay:I,className:aT,setActiveOverlay:j=>C("",j)}),F.jsxs(Z7,{ref:m,"data-nav":g.toString(),children:[T&&F.jsx(ZU,{sdk:r,scrollNode:m,appNode:v,scrollStore:p}),(!g||I===Zf)&&s&&s({activateEventWithId:D,deactivate:R}),o&&I===fT&&o[I],T&&I===Sc&&F.jsx(Mj,{scrollStore:p,scrollNode:m,appNode:v,className:aT,sdk:r})]}),!x&&F.jsx("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",width:"100%",height:"100%"},children:"You are not logged in."})]})};var dn;(function(r){r[r.Canceled=1]="Canceled",r[r.Unknown=2]="Unknown",r[r.InvalidArgument=3]="InvalidArgument",r[r.DeadlineExceeded=4]="DeadlineExceeded",r[r.NotFound=5]="NotFound",r[r.AlreadyExists=6]="AlreadyExists",r[r.PermissionDenied=7]="PermissionDenied",r[r.ResourceExhausted=8]="ResourceExhausted",r[r.FailedPrecondition=9]="FailedPrecondition",r[r.Aborted=10]="Aborted",r[r.OutOfRange=11]="OutOfRange",r[r.Unimplemented=12]="Unimplemented",r[r.Internal=13]="Internal",r[r.Unavailable=14]="Unavailable",r[r.DataLoss=15]="DataLoss",r[r.Unauthenticated=16]="Unauthenticated"})(dn||(dn={}));function Vb(r){const o=dn[r];return typeof o!="string"?r.toString():o[0].toLowerCase()+o.substring(1).replace(/[A-Z]/g,s=>"_"+s.toLowerCase())}class er extends Error{constructor(o,s=dn.Unknown,m,p,v){super(_j(o,s)),this.name="ConnectError",Object.setPrototypeOf(this,new.target.prototype),this.rawMessage=o,this.code=s,this.metadata=new Headers(m??{}),this.details=p??[],this.cause=v}static from(o,s=dn.Unknown){return o instanceof er?o:o instanceof Error?o.name=="AbortError"?new er(o.message,dn.Canceled):new er(o.message,s,void 0,void 0,o):new er(String(o),s,void 0,void 0,o)}findDetails(o){const s="typeName"in o?{findMessage:p=>p===o.typeName?o:void 0}:o,m=[];for(const p of this.details){if(p instanceof Wi){s.findMessage(p.getType().typeName)&&m.push(p);continue}const v=s.findMessage(p.type);if(v)try{m.push(v.fromBinary(p.value))}catch{}}return m}}function _j(r,o){return r.length?`[${Vb(o)}] ${r}`:`[${Vb(o)}]`}function Cj(r,o,s){try{const m=DT.dec(r);return o?o.fromBinary(m,s):m}catch(m){throw er.from(m,dn.DataLoss)}}function Aj(r,o){const s={};for(const[m,p]of Object.entries(r.methods)){const v=o(Object.assign(Object.assign({},p),{localName:m,service:r}));v!=null&&(s[m]=v)}return s}function Yb(r){let o,s=new Uint8Array(0);function m(p){const v=new Uint8Array(s.length+p.length);v.set(s),v.set(p,s.length),s=v}return new ReadableStream({start(){o=r.getReader()},async pull(p){let v;for(;;){if(v===void 0&&s.byteLength>=5){let I=0;for(let C=1;C<5;C++)I=(I<<8)+s[C];v={flags:s[0],length:I}}if(v!==void 0&&s.byteLength>=v.length+5)break;const T=await o.read();if(T.done)break;m(T.value)}if(v===void 0){if(s.byteLength==0){p.close();return}p.error(new er("premature end of stream",dn.DataLoss));return}const g=s.subarray(5,5+v.length);s=s.subarray(5+v.length),p.enqueue({flags:v.flags,data:g})}})}function Qb(r,o){const s=new Uint8Array(o.length+5);s.set(o,5);const m=new DataView(s.buffer,s.byteOffset,s.byteLength);return m.setUint8(0,r),m.setUint32(1,o.length),s}var Oj=globalThis&&globalThis.__asyncValues||function(r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o=r[Symbol.asyncIterator],s;return o?o.call(r):(r=typeof __values=="function"?__values(r):r[Symbol.iterator](),s={},m("next"),m("throw"),m("return"),s[Symbol.asyncIterator]=function(){return this},s);function m(v){s[v]=r[v]&&function(g){return new Promise(function(T,I){g=r[v](g),p(T,I,g.done,g.value)})}}function p(v,g,T,I){Promise.resolve(I).then(function(C){v({value:C,done:T})},g)}},j1=globalThis&&globalThis.__await||function(r){return this instanceof j1?(this.v=r,this):new j1(r)},xj=globalThis&&globalThis.__asyncGenerator||function(r,o,s){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var m=s.apply(r,o||[]),p,v=[];return p={},g("next"),g("throw"),g("return"),p[Symbol.asyncIterator]=function(){return this},p;function g(x){m[x]&&(p[x]=function(j){return new Promise(function(Q,W){v.push([x,j,Q,W])>1||T(x,j)})})}function T(x,j){try{I(m[x](j))}catch(Q){R(v[0][3],Q)}}function I(x){x.value instanceof j1?Promise.resolve(x.value.v).then(C,D):R(v[0][2],x)}function C(x){T("next",x)}function D(x){T("throw",x)}function R(x,j){x(j),v.shift(),v.length&&T(v[0][0],v[0][1])}},Lj=globalThis&&globalThis.__asyncDelegator||function(r){var o,s;return o={},m("next"),m("throw",function(p){throw p}),m("return"),o[Symbol.iterator]=function(){return this},o;function m(p,v){o[p]=r[p]?function(g){return(s=!s)?{value:j1(r[p](g)),done:!1}:v?v(g):g}:v}};function Rj(r){return xj(this,arguments,function*(){yield j1(yield*Lj(Oj(r)))})}var ew=globalThis&&globalThis.__asyncValues||function(r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o=r[Symbol.asyncIterator],s;return o?o.call(r):(r=typeof __values=="function"?__values(r):r[Symbol.iterator](),s={},m("next"),m("throw"),m("return"),s[Symbol.asyncIterator]=function(){return this},s);function m(v){s[v]=r[v]&&function(g){return new Promise(function(T,I){g=r[v](g),p(T,I,g.done,g.value)})}}function p(v,g,T,I){Promise.resolve(I).then(function(C){v({value:C,done:T})},g)}},op=globalThis&&globalThis.__await||function(r){return this instanceof op?(this.v=r,this):new op(r)},Dj=globalThis&&globalThis.__asyncDelegator||function(r){var o,s;return o={},m("next"),m("throw",function(p){throw p}),m("return"),o[Symbol.iterator]=function(){return this},o;function m(p,v){o[p]=r[p]?function(g){return(s=!s)?{value:op(r[p](g)),done:!1}:v?v(g):g}:v}},Pj=globalThis&&globalThis.__asyncGenerator||function(r,o,s){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var m=s.apply(r,o||[]),p,v=[];return p={},g("next"),g("throw"),g("return"),p[Symbol.asyncIterator]=function(){return this},p;function g(x){m[x]&&(p[x]=function(j){return new Promise(function(Q,W){v.push([x,j,Q,W])>1||T(x,j)})})}function T(x,j){try{I(m[x](j))}catch(Q){R(v[0][3],Q)}}function I(x){x.value instanceof op?Promise.resolve(x.value.v).then(C,D):R(v[0][2],x)}function C(x){T("next",x)}function D(x){T("throw",x)}function R(x,j){x(j),v.shift(),v.length&&T(v[0][0],v[0][1])}};function Uj(r,o){return Aj(r,s=>{switch(s.kind){case et.Unary:return jj(o,r,s);case et.ServerStreaming:return zj(o,r,s);case et.ClientStreaming:return Bj(o,r,s);case et.BiDiStreaming:return Fj(o,r,s);default:return null}})}function jj(r,o,s){return async function(m,p){var v,g;const T=await r.unary(o,s,p==null?void 0:p.signal,p==null?void 0:p.timeoutMs,p==null?void 0:p.headers,m,p==null?void 0:p.contextValues);return(v=p==null?void 0:p.onHeader)===null||v===void 0||v.call(p,T.header),(g=p==null?void 0:p.onTrailer)===null||g===void 0||g.call(p,T.trailer),T.message}}function zj(r,o,s){return function(m,p){return tw(r.stream(o,s,p==null?void 0:p.signal,p==null?void 0:p.timeoutMs,p==null?void 0:p.headers,Rj([m]),p==null?void 0:p.contextValues),p)}}function Bj(r,o,s){return async function(m,p){var v,g,T,I,C,D;const R=await r.stream(o,s,p==null?void 0:p.signal,p==null?void 0:p.timeoutMs,p==null?void 0:p.headers,m,p==null?void 0:p.contextValues);(C=p==null?void 0:p.onHeader)===null||C===void 0||C.call(p,R.header);let x;try{for(var j=!0,Q=ew(R.message),W;W=await Q.next(),v=W.done,!v;j=!0)I=W.value,j=!1,x=I}catch(le){g={error:le}}finally{try{!j&&!v&&(T=Q.return)&&await T.call(Q)}finally{if(g)throw g.error}}if(!x)throw new er("protocol error: missing response message",dn.Internal);return(D=p==null?void 0:p.onTrailer)===null||D===void 0||D.call(p,R.trailer),x}}function Fj(r,o,s){return function(m,p){return tw(r.stream(o,s,p==null?void 0:p.signal,p==null?void 0:p.timeoutMs,p==null?void 0:p.headers,m,p==null?void 0:p.contextValues),p)}}function tw(r,o){const s=function(){var m,p;return Pj(this,arguments,function*(){const v=yield op(r);(m=o==null?void 0:o.onHeader)===null||m===void 0||m.call(o,v.header),yield op(yield*Dj(ew(v.message))),(p=o==null?void 0:o.onTrailer)===null||p===void 0||p.call(o,v.trailer)})}()[Symbol.asyncIterator]();return{[Symbol.asyncIterator]:()=>({next:()=>s.next()})}}function Vj(...r){const o=new AbortController,s=r.filter(p=>p!==void 0).concat(o.signal);for(const p of s){if(p.aborted){m.apply(p);break}p.addEventListener("abort",m)}function m(){o.signal.aborted||o.abort(nw(this));for(const p of s)p.removeEventListener("abort",m)}return o}function Yj(r){const o=new AbortController,s=()=>{o.abort(new er("the operation timed out",dn.DeadlineExceeded))};let m;return r!==void 0&&(r<=0?s():m=setTimeout(s,r)),{signal:o.signal,cleanup:()=>clearTimeout(m)}}function nw(r){if(!r.aborted)return;if(r.reason!==void 0)return r.reason;const o=new Error("This operation was aborted");return o.name="AbortError",o}function Gb(){return{get(r){return r.id in this?this[r.id]:r.defaultValue},set(r,o){return this[r.id]=o,this},delete(r){return delete this[r.id],this}}}const R4=128;function Hb(r){const o=new Headers,s=new TextDecoder().decode(r).split(`\r
169
- `);for(const m of s){if(m==="")continue;const p=m.indexOf(":");if(p>0){const v=m.substring(0,p).trim(),g=m.substring(p+1).trim();o.append(v,g)}}return o}const Qj="Content-Type",Gj="Grpc-Timeout",rw="Grpc-Status",aw="Grpc-Message",Hj="Grpc-Status-Details-Bin",$j="User-Agent",qj="X-User-Agent",Wj="X-Grpc-Web",Kj="application/grpc-web+proto",Zj="application/grpc-web+json";class Hs extends Wi{constructor(o){super(),this.code=0,this.message="",this.details=[],N.util.initPartial(o,this)}static fromBinary(o,s){return new Hs().fromBinary(o,s)}static fromJson(o,s){return new Hs().fromJson(o,s)}static fromJsonString(o,s){return new Hs().fromJsonString(o,s)}static equals(o,s){return N.util.equals(Hs,o,s)}}Hs.runtime=N;Hs.typeName="google.rpc.Status";Hs.fields=N.util.newFieldList(()=>[{no:1,name:"code",kind:"scalar",T:5},{no:2,name:"message",kind:"scalar",T:9},{no:3,name:"details",kind:"message",T:Qi,repeated:!0}]);const Jj="0";function ow(r){var o;const s=r.get(Hj);if(s!=null){const p=Cj(s,Hs);if(p.code==0)return;const v=new er(p.message,p.code,r);return v.details=p.details.map(g=>({type:g.typeUrl.substring(g.typeUrl.lastIndexOf("/")+1),value:g.value})),v}const m=r.get(rw);if(m!=null){if(m===Jj)return;const p=parseInt(m,10);return p in dn?new er(decodeURIComponent((o=r.get(aw))!==null&&o!==void 0?o:""),p,r):new er(`invalid grpc-status: ${m}`,dn.Internal,r)}}function $b(r,o,s){const m=typeof o=="string"?o:o.typeName,p=typeof s=="string"?s:s.name;return r.toString().replace(/\/?$/,`/${m}/${p}`)}function iw(r,o){return o instanceof Wi?o:new r(o)}function Xj(r,o){function s(m){return m.done===!0?m:{done:m.done,value:iw(r,m.value)}}return{[Symbol.asyncIterator](){const m=o[Symbol.asyncIterator](),p={next:()=>m.next().then(s)};return m.throw!==void 0&&(p.throw=v=>m.throw(v).then(s)),m.return!==void 0&&(p.return=v=>m.return(v).then(s)),p}}}function ez(r){var o;const s=Object.assign({},r);return(o=s.ignoreUnknownFields)!==null&&o!==void 0||(s.ignoreUnknownFields=!0),s}function qb(r,o,s,m){const p=o?Wb(r.I,m):Kb(r.I,s);return{parse:(o?Wb(r.O,m):Kb(r.O,s)).parse,serialize:p.serialize}}function Wb(r,o){return{parse(s){try{return r.fromBinary(s,o)}catch(m){const p=m instanceof Error?m.message:String(m);throw new er(`parse binary: ${p}`,dn.InvalidArgument)}},serialize(s){try{return s.toBinary(o)}catch(m){const p=m instanceof Error?m.message:String(m);throw new er(`serialize binary: ${p}`,dn.Internal)}}}}function Kb(r,o){var s,m;const p=(s=o==null?void 0:o.textEncoder)!==null&&s!==void 0?s:new TextEncoder,v=(m=o==null?void 0:o.textDecoder)!==null&&m!==void 0?m:new TextDecoder,g=ez(o);return{parse(T){try{const I=v.decode(T);return r.fromJsonString(I,g)}catch(I){throw er.from(I,dn.InvalidArgument)}},serialize(T){try{const I=T.toJsonString(g);return p.encode(I)}catch(I){throw er.from(I,dn.Internal)}}}}function tz(r){const o=lw(r.next,r.interceptors),[s,m,p]=sw(r),v=Object.assign(Object.assign({},r.req),{message:iw(r.req.method.I,r.req.message),signal:s});return o(v).then(g=>(p(),g),m)}function nz(r){const o=lw(r.next,r.interceptors),[s,m,p]=sw(r),v=Object.assign(Object.assign({},r.req),{message:Xj(r.req.method.I,r.req.message),signal:s});let g=!1;return s.addEventListener("abort",function(){var T,I;const C=r.req.message[Symbol.asyncIterator]();g||(T=C.throw)===null||T===void 0||T.call(C,this.reason).catch(()=>{}),(I=C.return)===null||I===void 0||I.call(C).catch(()=>{})}),o(v).then(T=>Object.assign(Object.assign({},T),{message:{[Symbol.asyncIterator](){const I=T.message[Symbol.asyncIterator]();return{next(){return I.next().then(C=>(C.done==!0&&(g=!0,p()),C),m)}}}}}),m)}function sw(r){const{signal:o,cleanup:s}=Yj(r.timeoutMs),m=Vj(r.signal,o);return[m.signal,function(v){const g=er.from(o.aborted?nw(o):v);return m.abort(g),s(),Promise.reject(g)},function(){s(),m.abort()}]}function lw(r,o){var s;return(s=o==null?void 0:o.concat().reverse().reduce((m,p)=>p(m),r))!==null&&s!==void 0?s:r}function rz(){try{new Headers}catch{throw new Error("connect-web requires the fetch API. Are you running on an old version of Node.js? Node.js is not supported in Connect for Web - please stay tuned for Connect for Node.")}}function Zb(r){const o=ow(r);if(o)throw o}function Jb(r,o,s){const m=new Headers(s??{});return m.set(Qj,r?Kj:Zj),m.set(Wj,"1"),m.set(qj,"connect-es/1.1.3"),m.set($j,"connect-es/1.1.3"),o!==void 0&&m.set(Gj,`${o}m`),m}function az(r){switch(r){case 400:return dn.Internal;case 401:return dn.Unauthenticated;case 403:return dn.PermissionDenied;case 404:return dn.Unimplemented;case 429:return dn.Unavailable;case 502:return dn.Unavailable;case 503:return dn.Unavailable;case 504:return dn.Unavailable;default:return dn.Unknown}}function Xb(r,o){var s;if(r>=200&&r<300){const m=ow(o);if(m)throw m;return{foundStatus:o.has(rw)}}throw new er(decodeURIComponent((s=o.get(aw))!==null&&s!==void 0?s:`HTTP ${r}`),az(r),o)}var Nc=globalThis&&globalThis.__await||function(r){return this instanceof Nc?(this.v=r,this):new Nc(r)},oz=globalThis&&globalThis.__asyncGenerator||function(r,o,s){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var m=s.apply(r,o||[]),p,v=[];return p={},g("next"),g("throw"),g("return"),p[Symbol.asyncIterator]=function(){return this},p;function g(x){m[x]&&(p[x]=function(j){return new Promise(function(Q,W){v.push([x,j,Q,W])>1||T(x,j)})})}function T(x,j){try{I(m[x](j))}catch(Q){R(v[0][3],Q)}}function I(x){x.value instanceof Nc?Promise.resolve(x.value.v).then(C,D):R(v[0][2],x)}function C(x){T("next",x)}function D(x){T("throw",x)}function R(x,j){x(j),v.shift(),v.length&&T(v[0][0],v[0][1])}};function iz(r){var o;rz();const s=(o=r.useBinaryFormat)!==null&&o!==void 0?o:!0;return{async unary(m,p,v,g,T,I,C){var D;const{serialize:R,parse:x}=qb(p,s,r.jsonOptions,r.binaryOptions);return g=g===void 0?r.defaultTimeoutMs:g<=0?void 0:g,await tz({interceptors:r.interceptors,signal:v,timeoutMs:g,req:{stream:!1,service:m,method:p,url:$b(r.baseUrl,m,p),init:{method:"POST",credentials:(D=r.credentials)!==null&&D!==void 0?D:"same-origin",redirect:"error",mode:"cors"},header:Jb(s,g,T),contextValues:C??Gb(),message:I},next:async j=>{var Q;const le=await((Q=r.fetch)!==null&&Q!==void 0?Q:globalThis.fetch)(j.url,Object.assign(Object.assign({},j.init),{headers:j.header,signal:j.signal,body:Qb(0,R(j.message))}));if(Xb(le.status,le.headers),!le.body)throw"missing response body";const G=Yb(le.body).getReader();let se,te;for(;;){const ue=await G.read();if(ue.done)break;const{flags:Z,data:ye}=ue.value;if(Z===R4){if(se!==void 0)throw"extra trailer";se=Hb(ye);continue}if(te!==void 0)throw"extra message";te=x(ye)}if(se===void 0)throw"missing trailer";if(Zb(se),te===void 0)throw"missing message";return{stream:!1,header:le.headers,message:te,trailer:se}}})},async stream(m,p,v,g,T,I,C){var D;const{serialize:R,parse:x}=qb(p,s,r.jsonOptions,r.binaryOptions);function j(W,le,G){return oz(this,arguments,function*(){const te=Yb(W).getReader();if(le){if(!(yield Nc(te.read())).done)throw"extra data for trailers-only";return yield Nc(void 0)}let ue=!1;for(;;){const Z=yield Nc(te.read());if(Z.done)break;const{flags:ye,data:fe}=Z.value;if((ye&R4)===R4){if(ue)throw"extra trailer";ue=!0;const De=Hb(fe);Zb(De),De.forEach((He,ht)=>G.set(ht,He));continue}if(ue)throw"extra message";yield yield Nc(x(fe))}if(!ue)throw"missing trailer"})}async function Q(W){if(p.kind!=et.ServerStreaming)throw"The fetch API does not support streaming request bodies";const le=await W[Symbol.asyncIterator]().next();if(le.done==!0)throw"missing request message";return Qb(0,R(le.value))}return g=g===void 0?r.defaultTimeoutMs:g<=0?void 0:g,nz({interceptors:r.interceptors,signal:v,timeoutMs:g,req:{stream:!0,service:m,method:p,url:$b(r.baseUrl,m,p),init:{method:"POST",credentials:(D=r.credentials)!==null&&D!==void 0?D:"same-origin",redirect:"error",mode:"cors"},header:Jb(s,g,T),contextValues:C??Gb(),message:I},next:async W=>{var le;const se=await((le=r.fetch)!==null&&le!==void 0?le:globalThis.fetch)(W.url,Object.assign(Object.assign({},W.init),{headers:W.header,signal:W.signal,body:await Q(W.message)})),{foundStatus:te}=Xb(se.status,se.headers);if(!se.body)throw"missing response body";const ue=new Headers;return Object.assign(Object.assign({},W),{header:se.headers,trailer:ue,message:j(se.body,te,ue)})}})}}}let sz=()=>({emit(r,...o){let s=this.events[r]||[];for(let m=0,p=s.length;m<p;m++)s[m](...o)},events:{},on(r,o){var s;return(s=this.events[r])!=null&&s.push(o)||(this.events[r]=[o]),()=>{var m;this.events[r]=(m=this.events[r])==null?void 0:m.filter(p=>o!==p)}}});const lz=({cache:r=new Map,fetcher:o,...s}={})=>{const m=sz();let p=!0;a9("visibilitychange",()=>{p=!document.hidden,p&&m.emit(t9)}),a9("online",()=>m.emit(n9));const v=new Map,g=new Map,T=new Map;let I={};const C=async([G,se],te,ue,Z)=>{var ye;if(!p)return;const fe=$e=>{te.key===G&&(te.set($e),m.emit(D4,G,$e,!0))},De=()=>{fe({...te.value,...i9,promise:T.get(G)})},{dedupeTime:He=4e3,fetcher:ht}={...ue,...I},ct=o9();if(T.has(G)){te.value.loading||De();return}if(!Z){const $e=r.get(G);$e&&te.value.data!==$e&&fe({data:$e,...Xl});const at=g.get(G);if(at&&at+He>ct)return}const yt=Hx();try{const $e=ht(...se);g.set(G,ct),T.set(G,$e),De();const at=await $e;r.set(G,at),fe({data:at,...Xl}),g.set(G,o9())}catch($e){(ye=ue.onError)==null||ye.call(ue,$e),fe({data:te.value.data,error:$e,...Xl})}finally{yt(),T.delete(G)}},D=(G,{fetcher:se=o,...te}={})=>{const ue=dT({...Xl}),Z={...s,...te,fetcher:se};ue._=uw,ue.invalidate=()=>{const{key:at}=ue;at&&j(at)},ue.mutate=at=>{const{key:It}=ue;It&&Q(It,at)};let ye,fe,De,He,ht,ct=[];tL(ue,()=>{const at=!ye;[ht,ye]=uz(G),He=ht.subscribe(xe=>{if(xe){const[Ee,V]=xe;ue.key=Ee,C([Ee,V],ue,Z),fe=Ee,De=V}else ue.key=fe=De=void 0,ue.set({...Xl})});const It=ht.get();It&&([fe,De]=It,at&&yt());const{refetchInterval:Dt=0,refetchOnFocus:wn,refetchOnReconnect:_e}=Z,ze=()=>{fe&&C([fe,De],ue,Z)};Dt>0&&v.set(G,setInterval(ze,Dt)),wn&&ct.push(m.on(t9,ze)),_e&&ct.push(m.on(n9,ze)),ct.push(m.on(r9,xe=>{fe&&P4(fe,xe)&&C([fe,De],ue,Z,!0)}),m.on(D4,(xe,Ee,V)=>{fe&&P4(fe,xe)&&ue.value!==Ee&&ue.value.data!==Ee&&ue.set(V?Ee:{data:Ee,...Xl})}))});const yt=()=>{fe&&De&&C([fe,De],ue,Z)},$e=ue.listen;return ue.listen=at=>{const It=$e(at);return at(ue.value),yt(),It},nL(ue,()=>{ue.value={...Xl},ye==null||ye(),ct.forEach(It=>It()),ct=[],He==null||He();const at=v.get(G);at&&clearInterval(at)}),ue},R=G=>{r.delete(G),g.delete(G)},x=(G,se)=>{for(const te of r.keys())P4(te,G)&&se(te)},j=G=>{x(G,R),m.emit(r9,G)},Q=(G,se)=>{x(G,te=>{se===void 0?R(te):r.set(te,se)}),m.emit(D4,G,se)};function W(G){const se=async ue=>{var Z;const ye=I.fetcher??G,fe=[];try{te.set({error:void 0,data:void 0,mutate:se,...i9});const De=await ye({data:ue,invalidate:He=>{fe.push(He)},getCacheUpdater:(He,ht=!0)=>[ct=>{Q(He,ct),ht&&fe.push(He)},r.get(He)]});return te.setKey("data",De),De}catch(De){(Z=s==null?void 0:s.onError)==null||Z.call(s,De),te.setKey("error",De)}finally{te.setKey("loading",!1),fe.forEach(j)}},te=dT({mutate:se,...Xl});return te.mutate=se,te}return[D,W,{__unsafeOverruleSettings:G=>{console.warn("You should only use __unsafeOverruleSettings in test environment"),I=G},invalidateKeys:j,mutateCache:Q}]};function e9(r){return typeof r=="string"||typeof r=="number"||r===!0}const uz=r=>{if(e9(r))return[tu([""+r,[r]]),()=>{}];let o=tu(null),s=[];const m=()=>{s.some(v=>v==null||v===!1)?o.set(null):o.set([s.join(""),s])},p=[];for(let v=0;v<r.length;v++){const g=r[v];e9(g)?s.push(g):p.push(g.subscribe(T=>{s[v]=cz(g)?g.value&&"data"in g.value?g.key:null:T,m()}))}return m(),[o,()=>p.forEach(v=>v())]};function cz(r){return r._===uw}const t9=1,n9=2,r9=3,D4=4,a9=(r,o)=>{typeof window>"u"||addEventListener(r,o)},P4=(r,o)=>Array.isArray(o)?o.includes(r):typeof o=="function"?o(r):r===o,o9=()=>new Date().getTime(),uw=Symbol(),i9={loading:!0},Xl={loading:!1},dz=N.makeEnum("streamlayer.sports.LeagueSyncStatus",[{no:0,name:"LEAGUE_SYNC_STATUS_UNSET",localName:"UNSET"},{no:1,name:"LEAGUE_SYNC_STATUS_SCHEDULED",localName:"SCHEDULED"},{no:2,name:"LEAGUE_SYNC_STATUS_IN_PROGRESS",localName:"IN_PROGRESS"},{no:3,name:"LEAGUE_SYNC_STATUS_SYNCED",localName:"SYNCED"},{no:4,name:"LEAGUE_SYNC_STATUS_ERROR",localName:"ERROR"}]),qT=N.makeEnum("streamlayer.sports.EventStatus",[{no:0,name:"EVENT_STATUS_UNSET",localName:"UNSET"},{no:1,name:"EVENT_STATUS_PREGAME",localName:"PREGAME"},{no:2,name:"EVENT_STATUS_ACTIVE",localName:"ACTIVE"},{no:3,name:"EVENT_STATUS_BREAK",localName:"BREAK"},{no:4,name:"EVENT_STATUS_OVERTIME",localName:"OVERTIME"},{no:5,name:"EVENT_STATUS_SHOOTOUTS",localName:"SHOOTOUTS"},{no:6,name:"EVENT_STATUS_POSTGAME",localName:"POSTGAME"},{no:7,name:"EVENT_STATUS_CANCELLED",localName:"CANCELLED"}]),WT=N.makeEnum("streamlayer.sports.EventEndless",[{no:0,name:"EVENT_ENDLESS_UNSET",localName:"UNSET"},{no:1,name:"EVENT_ENDLESS_ENABLED",localName:"ENABLED"},{no:2,name:"EVENT_ENDLESS_DISABLED",localName:"DISABLED"}]),jy=N.makeMessageType("streamlayer.sports.Pagination",()=>[{no:1,name:"page",kind:"scalar",T:5},{no:2,name:"page_size",kind:"scalar",T:5}]),cw=N.makeMessageType("streamlayer.sports.Sort",()=>[{no:1,name:"field",kind:"scalar",T:9},{no:2,name:"order",kind:"scalar",T:9}]),zy=N.makeMessageType("streamlayer.sports.Meta",()=>[{no:1,name:"count",kind:"scalar",T:5},{no:2,name:"page",kind:"scalar",T:5},{no:3,name:"page_size",kind:"scalar",T:5}]),By=N.makeMessageType("streamlayer.sports.Venue",()=>[{no:1,name:"city",kind:"scalar",T:9},{no:2,name:"country",kind:"scalar",T:9},{no:3,name:"stadium",kind:"scalar",T:9}]);N.makeMessageType("streamlayer.sports.Team",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"custom_fields",kind:"scalar",T:9},{no:3,name:"name",kind:"scalar",T:9},{no:4,name:"alias",kind:"scalar",T:9},{no:5,name:"venue",kind:"message",T:By}]);const z1=N.makeMessageType("streamlayer.sports.EventTime",()=>[{no:1,name:"clock",kind:"scalar",T:9},{no:2,name:"period",kind:"scalar",T:5}]),dw=N.makeMessageType("streamlayer.sports.EventPeriod",()=>[{no:1,name:"number",kind:"scalar",T:5},{no:2,name:"score_home",kind:"scalar",T:5},{no:3,name:"score_away",kind:"scalar",T:5}]);N.makeMessageType("streamlayer.sports.Event",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"custom_fields",kind:"scalar",T:9},{no:3,name:"league_id",kind:"scalar",T:4},{no:4,name:"season_id",kind:"scalar",T:4},{no:5,name:"home_team_id",kind:"scalar",T:4},{no:6,name:"away_team_id",kind:"scalar",T:4},{no:7,name:"winner_team_id",kind:"scalar",T:4},{no:8,name:"scheduled",kind:"scalar",T:9},{no:9,name:"score_home",kind:"scalar",T:5},{no:10,name:"score_away",kind:"scalar",T:5},{no:11,name:"venue",kind:"message",T:By},{no:12,name:"event_time",kind:"message",T:z1},{no:13,name:"status",kind:"enum",T:N.getEnumType(qT)},{no:14,name:"periods",kind:"message",T:dw,repeated:!0},{no:15,name:"start_time",kind:"scalar",T:9},{no:16,name:"end_time",kind:"scalar",T:9},{no:17,name:"endless",kind:"enum",T:N.getEnumType(WT)}]);const fw=N.makeMessageType("streamlayer.sports.Country",()=>[{no:1,name:"name",kind:"scalar",T:9},{no:2,name:"abbreviation",kind:"scalar",T:9}]),fz=N.makeMessageType("streamlayer.sports.PlayerAttributes",()=>[{no:1,name:"display_id",kind:"scalar",T:5},{no:3,name:"full_first",kind:"scalar",T:9},{no:4,name:"full_last",kind:"scalar",T:9},{no:5,name:"uniform",kind:"scalar",T:9},{no:6,name:"height",kind:"message",T:pz},{no:7,name:"weight",kind:"message",T:mz},{no:8,name:"birth",kind:"message",T:hz}]),pz=N.makeMessageType("streamlayer.sports.PlayerAttributes.Height",()=>[{no:1,name:"centimeters",kind:"scalar",T:5},{no:2,name:"inches",kind:"scalar",T:5}],{localName:"PlayerAttributes_Height"}),mz=N.makeMessageType("streamlayer.sports.PlayerAttributes.Weight",()=>[{no:1,name:"kilograms",kind:"scalar",T:5},{no:2,name:"pounds",kind:"scalar",T:5}],{localName:"PlayerAttributes_Weight"}),hz=N.makeMessageType("streamlayer.sports.PlayerAttributes.Birth",()=>[{no:1,name:"city",kind:"scalar",T:9},{no:2,name:"country",kind:"message",T:fw}],{localName:"PlayerAttributes_Birth"});N.makeMessageType("streamlayer.sports.PlayerAttributes.Birth.BirthDate",()=>[{no:1,name:"year",kind:"scalar",T:5},{no:2,name:"month",kind:"scalar",T:5},{no:3,name:"date",kind:"scalar",T:5},{no:4,name:"full",kind:"scalar",T:9}],{localName:"PlayerAttributes_Birth_BirthDate"});const gz=N.makeMessageType("streamlayer.sports.PlayerTeam",()=>[{no:1,name:"team_id",kind:"scalar",T:4},{no:2,name:"position",kind:"scalar",T:9},{no:3,name:"jersey_number",kind:"scalar",T:5}]);N.makeMessageType("streamlayer.sports.Player",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:8,name:"custom_fields",kind:"scalar",T:9},{no:9,name:"first_name",kind:"scalar",T:9},{no:10,name:"last_name",kind:"scalar",T:9},{no:14,name:"display_name",kind:"scalar",T:9},{no:11,name:"birth_date",kind:"scalar",T:9},{no:12,name:"nationality",kind:"message",T:fw},{no:13,name:"attributes",kind:"message",T:fz},{no:15,name:"teams",kind:"message",T:gz,repeated:!0}]);const nu=N.makeMessageType("streamlayer.sports.TeamRecord",()=>[{no:1,name:"wins",kind:"scalar",T:5},{no:2,name:"losses",kind:"scalar",T:5}]);N.makeMessageType("streamlayer.sports.Season",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:4,name:"name",kind:"scalar",T:9},{no:5,name:"type",kind:"scalar",T:9},{no:6,name:"year",kind:"scalar",T:5},{no:7,name:"league_id",kind:"scalar",T:4}]);const C1=N.makeMessageType("streamlayer.sports.SyncStatusStage",()=>[{no:1,name:"stage",kind:"scalar",T:9},{no:2,name:"timestamp",kind:"scalar",T:4},{no:3,name:"datetime",kind:"scalar",T:9},{no:4,name:"error",kind:"scalar",T:9},{no:5,name:"status",kind:"enum",T:N.getEnumType(dz)}]),yz=N.makeMessageType("streamlayer.sports.SyncStatus",()=>[{no:1,name:"teams",kind:"message",T:C1},{no:2,name:"event",kind:"message",T:C1},{no:3,name:"events",kind:"message",T:C1},{no:4,name:"players",kind:"message",T:C1},{no:5,name:"leagues",kind:"message",T:C1}]),vz=N.makeMessageType("streamlayer.sports.SyncStatusProvider",()=>[{no:1,name:"provider",kind:"scalar",T:9},{no:2,name:"status",kind:"message",T:yz}]);N.makeMessageType("streamlayer.sports.League",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:8,name:"custom_fields",kind:"scalar",T:9},{no:9,name:"country",kind:"scalar",T:9},{no:10,name:"name",kind:"scalar",T:9},{no:11,name:"alias",kind:"scalar",T:9},{no:13,name:"sync",kind:"scalar",T:8},{no:14,name:"sport_id",kind:"scalar",T:4},{no:12,name:"sync_status",kind:"message",T:vz,repeated:!0}]);N.makeMessageType("streamlayer.sports.Sport",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"created",kind:"scalar",T:9},{no:3,name:"updated",kind:"scalar",T:9},{no:8,name:"custom_fields",kind:"scalar",T:9},{no:10,name:"name",kind:"scalar",T:9},{no:11,name:"alias",kind:"scalar",T:9}]);const Tz=N.makeMessageType("streamlayer.sports.NflEventStatistics",()=>[{no:1,name:"passes",kind:"scalar",T:5},{no:2,name:"rushes",kind:"scalar",T:5},{no:3,name:"penalties",kind:"scalar",T:5},{no:4,name:"turnovers",kind:"scalar",T:5}]),kz=N.makeMessageType("streamlayer.sports.SoccerEventStatistics",()=>[{no:1,name:"ball_possession",kind:"scalar",T:5},{no:2,name:"throw_ins",kind:"scalar",T:5},{no:3,name:"fouls",kind:"scalar",T:5},{no:4,name:"goal_kicks",kind:"scalar",T:5},{no:5,name:"free_kicks",kind:"scalar",T:5},{no:6,name:"shots_on_target",kind:"scalar",T:5},{no:7,name:"corner_kicks",kind:"scalar",T:5},{no:8,name:"shots_off_target",kind:"scalar",T:5},{no:9,name:"shots_saved",kind:"scalar",T:5},{no:10,name:"offsides",kind:"scalar",T:5},{no:11,name:"shots_blocked",kind:"scalar",T:5},{no:12,name:"yellow_cards",kind:"scalar",T:5}]);N.makeMessageType("streamlayer.sports.EventTeamStatistics",()=>[{no:1,name:"football",kind:"message",T:Tz,oneof:"statistics"},{no:2,name:"soccer",kind:"message",T:kz,oneof:"statistics"}]);const ru=N.makeMessageType("streamlayer.sports.EventTeam",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"name",kind:"scalar",T:9},{no:3,name:"alias",kind:"scalar",T:9},{no:4,name:"logo",kind:"scalar",T:9},{no:5,name:"colors",kind:"scalar",T:9,repeated:!0},{no:6,name:"is_winner",kind:"scalar",T:8}]),bz=N.makeMessageType("streamlayer.sports.EventCustomFields",()=>[{no:1,name:"preview",kind:"scalar",T:9},{no:2,name:"stream",kind:"scalar",T:9},{no:3,name:"name",kind:"scalar",T:9},{no:4,name:"logo",kind:"scalar",T:9},{no:5,name:"event_ids",kind:"scalar",T:9,repeated:!0},{no:6,name:"subtitle",kind:"scalar",T:9},{no:7,name:"promotitle",kind:"scalar",T:9},{no:8,name:"slate",kind:"scalar",T:9},{no:9,name:"horizontal_preview",kind:"scalar",T:9},{no:10,name:"small_logo",kind:"scalar",T:9},{no:11,name:"description",kind:"scalar",T:9}]),wz=N.makeMessageType("streamlayer.sports.EventProgram",()=>[{no:1,name:"id",kind:"scalar",T:9,opt:!0},{no:2,name:"title",kind:"scalar",T:9},{no:3,name:"start_time",kind:"scalar",T:9},{no:4,name:"end_time",kind:"scalar",T:9},{no:5,name:"thumbnail_url",kind:"scalar",T:9},{no:6,name:"square_thumbnail_url",kind:"scalar",T:9}]),Sz=N.makeMessageType("streamlayer.sports.EventData",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"sport",kind:"scalar",T:9},{no:3,name:"league",kind:"scalar",T:9},{no:4,name:"scheduled",kind:"scalar",T:9},{no:5,name:"home",kind:"message",T:ru},{no:6,name:"away",kind:"message",T:ru},{no:7,name:"status",kind:"enum",T:N.getEnumType(qT)},{no:8,name:"custom_fields",kind:"message",T:bz},{no:9,name:"start_time",kind:"scalar",T:9},{no:10,name:"end_time",kind:"scalar",T:9},{no:11,name:"venue",kind:"message",T:By},{no:12,name:"schedule",kind:"message",T:wz,repeated:!0},{no:13,name:"endless",kind:"enum",T:N.getEnumType(WT)},{no:14,name:"provider_id",kind:"scalar",T:9}]),Lc=N.makeMessageType("streamlayer.sports.EventSummary",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"scheduled",kind:"scalar",T:9},{no:3,name:"score_home",kind:"scalar",T:5},{no:4,name:"score_away",kind:"scalar",T:5},{no:5,name:"venue",kind:"message",T:By},{no:6,name:"event_time",kind:"message",T:z1},{no:7,name:"home_team",kind:"message",T:ru},{no:8,name:"away_team",kind:"message",T:ru},{no:9,name:"status",kind:"enum",T:N.getEnumType(qT)},{no:10,name:"periods",kind:"message",T:dw,repeated:!0},{no:11,name:"league",kind:"scalar",T:9},{no:12,name:"start_time",kind:"scalar",T:9},{no:13,name:"end_time",kind:"scalar",T:9},{no:14,name:"name",kind:"scalar",T:9},{no:15,name:"logo",kind:"scalar",T:9},{no:16,name:"stream",kind:"scalar",T:9}]),ay=N.makeMessageType("streamlayer.sports.QueryOption",()=>[{no:1,name:"key",kind:"scalar",T:9},{no:2,name:"value",kind:"scalar",T:9}]),s9=N.makeMessageType("streamlayer.sports.ArrayQueryOption",()=>[{no:1,name:"key",kind:"scalar",T:9},{no:2,name:"value",kind:"scalar",T:9,repeated:!0}]);N.makeMessageType("streamlayer.sports.Query",()=>[{no:1,name:"provider",kind:"scalar",T:9},{no:2,name:"match",kind:"message",T:ay,repeated:!0},{no:3,name:"ne",kind:"message",T:ay,repeated:!0},{no:4,name:"eq",kind:"message",T:ay,repeated:!0},{no:5,name:"between",kind:"message",T:s9,repeated:!0},{no:6,name:"includes",kind:"message",T:s9,repeated:!0},{no:7,name:"is",kind:"message",T:ay,repeated:!0}]);const Ez=N.makeEnum("streamlayer.sports.baseball.PitcherStatus",[{no:0,name:"PITCHER_STATUS_UNSET",localName:"UNSET"},{no:1,name:"PITCHER_STATUS_WIN",localName:"WIN"},{no:2,name:"PITCHER_STATUS_LOSS",localName:"LOSS"}]),Nz=N.makeEnum("streamlayer.sports.baseball.BaseballBase",[{no:0,name:"BASEBALL_BASE_UNSET",localName:"UNSET"},{no:1,name:"BASEBALL_BASE_FIRST",localName:"FIRST"},{no:2,name:"BASEBALL_BASE_SECOND",localName:"SECOND"},{no:3,name:"BASEBALL_BASE_THIRD",localName:"THIRD"}]),l9=N.makeMessageType("streamlayer.sports.baseball.PitcherSummary",()=>[{no:1,name:"statistics",kind:"message",T:pw},{no:2,name:"status",kind:"enum",T:N.getEnumType(Ez)},{no:3,name:"win_rate",kind:"scalar",T:5},{no:4,name:"loss_rate",kind:"scalar",T:5}]),Mz=N.makeMessageType("streamlayer.sports.baseball.Runner",()=>[{no:1,name:"player_name",kind:"scalar",T:9},{no:2,name:"jersey_number",kind:"scalar",T:9}]),Iz=N.makeMessageType("streamlayer.sports.baseball.RunnerOnBase",()=>[{no:1,name:"base_number",kind:"enum",T:N.getEnumType(Nz)},{no:2,name:"player",kind:"message",T:Mz}]),_z=N.makeMessageType("streamlayer.sports.baseball.Hitting",()=>[{no:1,name:"player_name",kind:"scalar",T:9},{no:2,name:"hits_per_bat",kind:"scalar",T:9},{no:3,name:"runs",kind:"scalar",T:9},{no:4,name:"run_batted_in",kind:"scalar",T:9},{no:5,name:"walks",kind:"scalar",T:9},{no:6,name:"batting_average",kind:"scalar",T:9}]),Cz=N.makeMessageType("streamlayer.sports.baseball.Batting",()=>[{no:1,name:"player_name",kind:"scalar",T:9},{no:2,name:"at_bat",kind:"scalar",T:9},{no:3,name:"runs",kind:"scalar",T:9},{no:4,name:"hits",kind:"scalar",T:9},{no:5,name:"batting_average",kind:"scalar",T:9}]),pw=N.makeMessageType("streamlayer.sports.baseball.Pitching",()=>[{no:1,name:"player_name",kind:"scalar",T:9},{no:2,name:"innings_pitched",kind:"scalar",T:9},{no:3,name:"hits_by_pitch",kind:"scalar",T:9},{no:4,name:"earned_runs",kind:"scalar",T:9},{no:5,name:"walks",kind:"scalar",T:9},{no:6,name:"strikeouts",kind:"scalar",T:9}]),u9=N.makeMessageType("streamlayer.sports.baseball.BaseballTeamSummary",()=>[{no:1,name:"hitting",kind:"message",T:_z,repeated:!0},{no:2,name:"batting",kind:"message",T:Cz,repeated:!0},{no:3,name:"pitching",kind:"message",T:pw,repeated:!0}]),Az=N.makeMessageType("streamlayer.sports.baseball.BaseballSummary",()=>[{no:1,name:"home_pitcher",kind:"message",T:l9},{no:2,name:"away_pitcher",kind:"message",T:l9},{no:3,name:"home_statistics",kind:"message",T:u9},{no:4,name:"away_statistics",kind:"message",T:u9}]),Oz=N.makeMessageType("streamlayer.sports.baseball.BaseballPlayByPlayStatistics",()=>[{no:1,name:"team",kind:"message",T:ru},{no:2,name:"inning",kind:"scalar",T:9},{no:3,name:"play_text",kind:"scalar",T:9},{no:4,name:"detail",kind:"message",T:xz,repeated:!0},{no:5,name:"runs",kind:"scalar",T:5},{no:6,name:"hits",kind:"scalar",T:5},{no:7,name:"errors",kind:"scalar",T:5}]),xz=N.makeMessageType("streamlayer.sports.baseball.BaseballPlayByPlayStatistics.BaseballPlayByPlayDetailStatistics",()=>[{no:1,name:"score_home",kind:"scalar",T:5},{no:2,name:"score_away",kind:"scalar",T:5},{no:3,name:"play_text",kind:"scalar",T:9},{no:4,name:"scoring",kind:"scalar",T:8},{no:7,name:"play_id",kind:"scalar",T:5}],{localName:"BaseballPlayByPlayStatistics_BaseballPlayByPlayDetailStatistics"}),Lz=N.makeMessageType("streamlayer.sports.baseball.EventScore",()=>[{no:1,name:"outs",kind:"scalar",T:5},{no:2,name:"inning",kind:"scalar",T:5},{no:3,name:"inning_division",kind:"scalar",T:9},{no:4,name:"is_delayed",kind:"scalar",T:8},{no:5,name:"reason_for_delay",kind:"scalar",T:9},{no:6,name:"runners_on_base",kind:"message",T:Iz,repeated:!0},{no:7,name:"taken_bases",kind:"scalar",T:5},{no:8,name:"home_team_record",kind:"message",T:nu},{no:9,name:"away_team_record",kind:"message",T:nu}]),Rz=N.makeMessageType("streamlayer.sports.baseball.PlayByPlay",()=>[{no:1,name:"statistics",kind:"message",T:Oz,repeated:!0}]),Dz=N.makeMessageType("streamlayer.sports.baseball.EventSummary",()=>[{no:1,name:"statistics",kind:"message",T:Az}]),Pz=N.makeMessageType("streamlayer.sports.baseball.TeamStanding",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"name",kind:"scalar",T:9},{no:3,name:"alias",kind:"scalar",T:9},{no:4,name:"logo",kind:"scalar",T:9},{no:5,name:"colors",kind:"scalar",T:9,repeated:!0},{no:6,name:"wins",kind:"scalar",T:5},{no:7,name:"losses",kind:"scalar",T:5},{no:8,name:"pct",kind:"scalar",T:1},{no:9,name:"games_behind",kind:"scalar",T:5},{no:10,name:"streak",kind:"message",T:Uz},{no:11,name:"rank",kind:"message",T:jz},{no:12,name:"division",kind:"scalar",T:9},{no:13,name:"conference",kind:"scalar",T:9}]),Uz=N.makeMessageType("streamlayer.sports.baseball.TeamStanding.Streak",()=>[{no:1,name:"losses",kind:"scalar",T:5},{no:2,name:"wins",kind:"scalar",T:5}],{localName:"TeamStanding_Streak"}),jz=N.makeMessageType("streamlayer.sports.baseball.TeamStanding.Rank",()=>[{no:1,name:"division",kind:"scalar",T:5},{no:2,name:"conference",kind:"scalar",T:5}],{localName:"TeamStanding_Rank"}),zz=N.makeMessageType("streamlayer.sports.baseball.Standings",()=>[{no:1,name:"standings",kind:"message",T:Pz,repeated:!0}]),Bz=N.makeEnum("streamlayer.sports.basketball.BasketballPerformerCategory",[{no:0,name:"BASKETBALL_PERFORMER_CATEGORY_UNSET",localName:"UNSET"},{no:1,name:"BASKETBALL_PERFORMER_CATEGORY_POINTS",localName:"POINTS"},{no:2,name:"BASKETBALL_PERFORMER_CATEGORY_REBOUNDS",localName:"REBOUNDS"},{no:3,name:"BASKETBALL_PERFORMER_CATEGORY_ASSISTS",localName:"ASSISTS"}]),Fz=N.makeMessageType("streamlayer.sports.basketball.EventScore",()=>[{no:8,name:"home_team_record",kind:"message",T:nu},{no:9,name:"away_team_record",kind:"message",T:nu}]),c9=N.makeMessageType("streamlayer.sports.basketball.BasketballTeamSummary",()=>[{no:1,name:"field_goal_percentage",kind:"scalar",T:1},{no:2,name:"three_pts_percentage",kind:"scalar",T:1},{no:3,name:"free_throw_percentage",kind:"scalar",T:1},{no:4,name:"assists",kind:"scalar",T:5},{no:5,name:"rebounds",kind:"scalar",T:5}]),d9=N.makeMessageType("streamlayer.sports.basketball.BasketballPerformer",()=>[{no:1,name:"name",kind:"scalar",T:9},{no:2,name:"photo",kind:"scalar",T:9},{no:3,name:"score",kind:"scalar",T:9}]),Vz=N.makeMessageType("streamlayer.sports.basketball.BasketballPerformers",()=>[{no:1,name:"category",kind:"enum",T:N.getEnumType(Bz)},{no:2,name:"home_player",kind:"message",T:d9},{no:3,name:"away_player",kind:"message",T:d9}]),Yz=N.makeMessageType("streamlayer.sports.basketball.BasketballSummary",()=>[{no:1,name:"home_statistics",kind:"message",T:c9},{no:2,name:"away_statistics",kind:"message",T:c9}]),Qz=N.makeMessageType("streamlayer.sports.basketball.EventSummary",()=>[{no:1,name:"statistics",kind:"message",T:Yz},{no:2,name:"top_performers",kind:"message",T:Vz,repeated:!0},{no:3,name:"last_games",kind:"message",T:mw}]),Gz=N.makeMessageType("streamlayer.sports.basketball.BasketballPlayByPlayStatistics",()=>[{no:1,name:"team",kind:"message",T:ru},{no:2,name:"event_time",kind:"message",T:z1},{no:3,name:"score_home",kind:"scalar",T:5},{no:4,name:"score_away",kind:"scalar",T:5},{no:5,name:"play_text",kind:"scalar",T:9},{no:6,name:"scoring",kind:"scalar",T:8},{no:7,name:"play_id",kind:"scalar",T:5}]),Hz=N.makeMessageType("streamlayer.sports.basketball.PlayByPlay",()=>[{no:1,name:"statistics",kind:"message",T:Gz,repeated:!0}]),f9=N.makeMessageType("streamlayer.sports.basketball.PlayerScores",()=>[{no:1,name:"jersey",kind:"scalar",T:5},{no:2,name:"full_name",kind:"scalar",T:9},{no:3,name:"points",kind:"scalar",T:5},{no:4,name:"assists",kind:"scalar",T:5},{no:5,name:"rebounds",kind:"scalar",T:5},{no:6,name:"minutes",kind:"scalar",T:1},{no:7,name:"starter",kind:"scalar",T:8}]),$z=N.makeMessageType("streamlayer.sports.basketball.Boxscore",()=>[{no:1,name:"home_players",kind:"message",T:f9,repeated:!0},{no:2,name:"away_players",kind:"message",T:f9,repeated:!0}]),qz=N.makeMessageType("streamlayer.sports.basketball.TeamStanding",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"name",kind:"scalar",T:9},{no:3,name:"alias",kind:"scalar",T:9},{no:4,name:"logo",kind:"scalar",T:9},{no:5,name:"colors",kind:"scalar",T:9,repeated:!0},{no:6,name:"wins",kind:"scalar",T:5},{no:7,name:"losses",kind:"scalar",T:5},{no:8,name:"pct",kind:"scalar",T:1},{no:9,name:"games_behind",kind:"scalar",T:5},{no:10,name:"streak",kind:"message",T:Wz},{no:11,name:"rank",kind:"message",T:Kz},{no:12,name:"division",kind:"scalar",T:9},{no:13,name:"conference",kind:"scalar",T:9}]),Wz=N.makeMessageType("streamlayer.sports.basketball.TeamStanding.Streak",()=>[{no:1,name:"kind",kind:"scalar",T:9},{no:2,name:"length",kind:"scalar",T:5}],{localName:"TeamStanding_Streak"}),Kz=N.makeMessageType("streamlayer.sports.basketball.TeamStanding.Rank",()=>[{no:1,name:"division",kind:"scalar",T:5},{no:2,name:"conference",kind:"scalar",T:5}],{localName:"TeamStanding_Rank"}),Zz=N.makeMessageType("streamlayer.sports.basketball.Standings",()=>[{no:1,name:"standings",kind:"message",T:qz,repeated:!0}]),p9=N.makeMessageType("streamlayer.sports.basketball.BasketballMatchPlayer",()=>[{no:1,name:"first_name",kind:"scalar",T:9},{no:2,name:"last_name",kind:"scalar",T:9},{no:3,name:"display_name",kind:"scalar",T:9},{no:4,name:"photo",kind:"scalar",T:9},{no:5,name:"position",kind:"scalar",T:9},{no:6,name:"jersey",kind:"scalar",T:5}]),m9=N.makeMessageType("streamlayer.sports.basketball.BasketballMatchLineup",()=>[{no:3,name:"start_players",kind:"message",T:p9,repeated:!0},{no:4,name:"substitutes",kind:"message",T:p9,repeated:!0}]),Jz=N.makeMessageType("streamlayer.sports.basketball.BasketballMatchLineups",()=>[{no:1,name:"home_team",kind:"message",T:m9},{no:2,name:"away_team",kind:"message",T:m9}]),U4=N.makeMessageType("streamlayer.sports.basketball.BasketballLastGame",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"attributes",kind:"message",T:Xz}]),Xz=N.makeMessageType("streamlayer.sports.basketball.BasketballLastGame.BasketballLastGameAttributes",()=>[{no:1,name:"league",kind:"scalar",T:9},{no:2,name:"home_team",kind:"scalar",T:9},{no:3,name:"away_team",kind:"scalar",T:9},{no:5,name:"home_score",kind:"scalar",T:5},{no:6,name:"away_score",kind:"scalar",T:5},{no:7,name:"date",kind:"scalar",T:9}],{localName:"BasketballLastGame_BasketballLastGameAttributes"}),mw=N.makeMessageType("streamlayer.sports.basketball.BasketballLastGames",()=>[{no:1,name:"home",kind:"message",T:U4,repeated:!0},{no:2,name:"away",kind:"message",T:U4,repeated:!0},{no:3,name:"head_to_head",kind:"message",T:U4,repeated:!0}]),eB=N.makeEnum("streamlayer.sports.hockey.HockeyPerformerCategory",[{no:0,name:"HOCKEY_PERFORMER_CATEGORY_UNSET",localName:"UNSET"},{no:1,name:"HOCKEY_PERFORMER_CATEGORY_GOALS",localName:"GOALS"},{no:2,name:"HOCKEY_PERFORMER_CATEGORY_SHOTS",localName:"SHOTS"},{no:3,name:"HOCKEY_PERFORMER_CATEGORY_HITS",localName:"HITS"},{no:4,name:"HOCKEY_PERFORMER_CATEGORY_SAVES",localName:"SAVES"}]),hw=N.makeEnum("streamlayer.sports.hockey.HockeyPlayerPosition",[{no:0,name:"HOCKEY_PLAYER_POSITION_UNSET",localName:"UNSET"},{no:1,name:"HOCKEY_PLAYER_POSITION_CENTER",localName:"CENTER"},{no:2,name:"HOCKEY_PLAYER_POSITION_LEFT_WIND",localName:"LEFT_WIND"},{no:3,name:"HOCKEY_PLAYER_POSITION_RIGHT_WING",localName:"RIGHT_WING"},{no:4,name:"HOCKEY_PLAYER_POSITION_DEFENSE",localName:"DEFENSE"},{no:5,name:"HOCKEY_PLAYER_POSITION_GOALTENDER",localName:"GOALTENDER"}]),tB=N.makeMessageType("streamlayer.sports.hockey.EventScore",()=>[{no:8,name:"home_team_record",kind:"message",T:nu},{no:9,name:"away_team_record",kind:"message",T:nu}]),h9=N.makeMessageType("streamlayer.sports.hockey.HockeyPerformer",()=>[{no:1,name:"name",kind:"scalar",T:9},{no:2,name:"photo",kind:"scalar",T:9},{no:3,name:"score",kind:"scalar",T:5}]),nB=N.makeMessageType("streamlayer.sports.hockey.HockeyPerformers",()=>[{no:1,name:"category",kind:"enum",T:N.getEnumType(eB)},{no:2,name:"home_player",kind:"message",T:h9,repeated:!0},{no:3,name:"away_player",kind:"message",T:h9,repeated:!0}]),g9=N.makeMessageType("streamlayer.sports.hockey.HockeyTeamSummary",()=>[{no:1,name:"shots_on_goal",kind:"scalar",T:5},{no:2,name:"faceoff",kind:"scalar",T:1},{no:3,name:"powerplay",kind:"scalar",T:5},{no:4,name:"penalty_minutes",kind:"scalar",T:5},{no:5,name:"hits",kind:"scalar",T:5},{no:6,name:"blocks",kind:"scalar",T:5},{no:7,name:"giveaways",kind:"scalar",T:5},{no:8,name:"takeaways",kind:"scalar",T:5}]),rB=N.makeMessageType("streamlayer.sports.hockey.HockeySummary",()=>[{no:1,name:"home_statistics",kind:"message",T:g9},{no:2,name:"away_statistics",kind:"message",T:g9}]),aB=N.makeMessageType("streamlayer.sports.hockey.EventSummary",()=>[{no:1,name:"statistics",kind:"message",T:rB},{no:2,name:"top_performers",kind:"message",T:nB,repeated:!0}]),oB=N.makeMessageType("streamlayer.sports.hockey.HockeyPlayByPlayStatistics",()=>[{no:1,name:"team",kind:"message",T:ru},{no:2,name:"event_time",kind:"message",T:z1},{no:3,name:"score_home",kind:"scalar",T:5},{no:4,name:"score_away",kind:"scalar",T:5},{no:5,name:"play_text",kind:"scalar",T:9},{no:6,name:"scoring",kind:"scalar",T:8},{no:7,name:"play_id",kind:"scalar",T:5}]),iB=N.makeMessageType("streamlayer.sports.hockey.PlayByPlay",()=>[{no:1,name:"statistics",kind:"message",T:oB,repeated:!0}]),j4=N.makeMessageType("streamlayer.sports.hockey.PlayerScore",()=>[{no:1,name:"jersey",kind:"scalar",T:5},{no:2,name:"full_name",kind:"scalar",T:9},{no:3,name:"goals",kind:"scalar",T:5},{no:4,name:"assists",kind:"scalar",T:5},{no:5,name:"shots",kind:"scalar",T:5},{no:6,name:"penalty_minutes",kind:"scalar",T:1},{no:7,name:"minutes",kind:"scalar",T:9},{no:8,name:"position",kind:"enum",T:N.getEnumType(hw)}]),y9=N.makeMessageType("streamlayer.sports.hockey.GoaltenderScore",()=>[{no:1,name:"jersey",kind:"scalar",T:5},{no:2,name:"full_name",kind:"scalar",T:9},{no:3,name:"shots_againts",kind:"scalar",T:5},{no:4,name:"goals_againts",kind:"scalar",T:5},{no:5,name:"saves",kind:"scalar",T:5},{no:6,name:"saves_pct",kind:"scalar",T:5},{no:7,name:"minutes",kind:"scalar",T:9},{no:8,name:"position",kind:"enum",T:N.getEnumType(hw)}]),v9=N.makeMessageType("streamlayer.sports.hockey.PlayerScores",()=>[{no:1,name:"skaters",kind:"message",T:j4,repeated:!0},{no:2,name:"goaltender",kind:"message",T:y9},{no:3,name:"forwards",kind:"message",T:j4,repeated:!0},{no:4,name:"defensemen",kind:"message",T:j4,repeated:!0},{no:5,name:"goaltenders",kind:"message",T:y9,repeated:!0}]),sB=N.makeMessageType("streamlayer.sports.hockey.Boxscore",()=>[{no:1,name:"home_players",kind:"message",T:v9},{no:2,name:"away_players",kind:"message",T:v9}]),lB=N.makeMessageType("streamlayer.sports.hockey.TeamStanding",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"name",kind:"scalar",T:9},{no:3,name:"alias",kind:"scalar",T:9},{no:4,name:"logo",kind:"scalar",T:9},{no:5,name:"colors",kind:"scalar",T:9,repeated:!0},{no:6,name:"wins",kind:"scalar",T:5},{no:7,name:"losses",kind:"scalar",T:5},{no:8,name:"pct",kind:"scalar",T:1},{no:9,name:"games_behind",kind:"scalar",T:5},{no:10,name:"streak",kind:"message",T:uB},{no:11,name:"rank",kind:"message",T:cB},{no:12,name:"division",kind:"scalar",T:9},{no:13,name:"conference",kind:"scalar",T:9}]),uB=N.makeMessageType("streamlayer.sports.hockey.TeamStanding.Streak",()=>[{no:1,name:"kind",kind:"scalar",T:9},{no:2,name:"length",kind:"scalar",T:5}],{localName:"TeamStanding_Streak"}),cB=N.makeMessageType("streamlayer.sports.hockey.TeamStanding.Rank",()=>[{no:1,name:"division",kind:"scalar",T:5},{no:2,name:"conference",kind:"scalar",T:5}],{localName:"TeamStanding_Rank"}),dB=N.makeMessageType("streamlayer.sports.hockey.Standings",()=>[{no:1,name:"standings",kind:"message",T:lB,repeated:!0}]),fB=N.makeEnum("streamlayer.sports.soccer.SoccerPerformerCategory",[{no:0,name:"SOCCER_PERFORMER_CATEGORY_UNSET",localName:"UNSET"},{no:1,name:"SOCCER_PERFORMER_CATEGORY_ATTACK",localName:"ATTACK"},{no:2,name:"SOCCER_PERFORMER_CATEGORY_MIDFIELD",localName:"MIDFIELD"},{no:3,name:"SOCCER_PERFORMER_CATEGORY_DEFENSE",localName:"DEFENSE"}]),pB=N.makeEnum("streamlayer.sports.soccer.SoccerMatchActivityType",[{no:0,name:"SOCCER_MATCH_ACTIVITY_UNSET"},{no:1,name:"SOCCER_MATCH_ACTIVITY_GOAL"},{no:2,name:"SOCCER_MATCH_ACTIVITY_YELLOW_CARD"},{no:3,name:"SOCCER_MATCH_ACTIVITY_RED_CARD"},{no:4,name:"SOCCER_MATCH_ACTIVITY_SUBSTITUTION"},{no:5,name:"SOCCER_MATCH_ACTIVITY_HALF_TIME"},{no:6,name:"SOCCER_MATCH_ACTIVITY_FULL_TIME"}]),mB=N.makeMessageType("streamlayer.sports.soccer.EventScore",()=>[{no:8,name:"home_team_record",kind:"message",T:nu},{no:9,name:"away_team_record",kind:"message",T:nu}]),KT=N.makeMessageType("streamlayer.sports.soccer.SoccerPerformer",()=>[{no:1,name:"name",kind:"scalar",T:9},{no:2,name:"photo",kind:"scalar",T:9},{no:3,name:"score",kind:"scalar",T:5}]),hB=N.makeMessageType("streamlayer.sports.soccer.SoccerAttackPerfomer",()=>[{no:1,name:"perfomer",kind:"message",T:KT},{no:2,name:"attack_stats",kind:"message",T:EB}]),gB=N.makeMessageType("streamlayer.sports.soccer.SoccerMidfieldPerformer",()=>[{no:1,name:"perfomer",kind:"message",T:KT},{no:2,name:"midfield_stats",kind:"message",T:NB}]),yB=N.makeMessageType("streamlayer.sports.soccer.SoccerDefensePerfomer",()=>[{no:1,name:"perfomer",kind:"message",T:KT},{no:2,name:"defense_stats",kind:"message",T:MB}]),vB=N.makeMessageType("streamlayer.sports.soccer.SoccerPerformers",()=>[{no:1,name:"category",kind:"enum",T:N.getEnumType(fB)},{no:2,name:"attack_performer",kind:"message",T:hB},{no:3,name:"midfield_performer",kind:"message",T:gB},{no:4,name:"defense_performer",kind:"message",T:yB}]),TB=N.makeMessageType("streamlayer.sports.soccer.SoccerTeamTopMatchStats",()=>[{no:1,name:"possession",kind:"scalar",T:1},{no:2,name:"shots",kind:"scalar",T:5},{no:3,name:"shots_on_target",kind:"scalar",T:5},{no:4,name:"passes",kind:"scalar",T:5},{no:5,name:"offsides",kind:"scalar",T:5},{no:6,name:"yellow_cards",kind:"scalar",T:5},{no:7,name:"corner_kicks",kind:"scalar",T:5},{no:8,name:"free_kicks",kind:"scalar",T:5},{no:9,name:"red_cards",kind:"scalar",T:5}]),kB=N.makeMessageType("streamlayer.sports.soccer.SoccerTeamAttackingStats",()=>[{no:1,name:"possession",kind:"scalar",T:1},{no:2,name:"passing_accuracy",kind:"scalar",T:1},{no:3,name:"chances_created",kind:"scalar",T:5},{no:4,name:"successful_crosses",kind:"scalar",T:1}]),bB=N.makeMessageType("streamlayer.sports.soccer.SoccerTeamDefenseStats",()=>[{no:1,name:"tackles_made",kind:"scalar",T:5},{no:2,name:"interceptions",kind:"scalar",T:5},{no:3,name:"blocked_shots",kind:"scalar",T:5},{no:4,name:"clearances",kind:"scalar",T:5},{no:5,name:"duels_won",kind:"scalar",T:5}]),T9=N.makeMessageType("streamlayer.sports.soccer.SoccerTeamSummary",()=>[{no:1,name:"top_match_stats",kind:"message",T:TB},{no:2,name:"attacking_stats",kind:"message",T:kB},{no:3,name:"defense_stats",kind:"message",T:bB}]),wB=N.makeMessageType("streamlayer.sports.soccer.SoccerSummary",()=>[{no:1,name:"home_statistics",kind:"message",T:T9},{no:2,name:"away_statistics",kind:"message",T:T9},{no:3,name:"perfomers",kind:"message",T:vB}]),SB=N.makeMessageType("streamlayer.sports.soccer.EventSummary",()=>[{no:1,name:"statistics",kind:"message",T:wB},{no:2,name:"last_games",kind:"message",T:gw}]),EB=N.makeMessageType("streamlayer.sports.soccer.SoccerPlayerAttackingStats",()=>[{no:1,name:"goals",kind:"scalar",T:5},{no:2,name:"assists",kind:"scalar",T:5},{no:3,name:"shots",kind:"scalar",T:5},{no:4,name:"shots_on_goal",kind:"scalar",T:5},{no:5,name:"penalty_kick_goals",kind:"scalar",T:5}]),NB=N.makeMessageType("streamlayer.sports.soccer.SoccerPlayerMidfieldStats",()=>[{no:1,name:"goals",kind:"scalar",T:5},{no:2,name:"assists",kind:"scalar",T:5},{no:3,name:"key_passes",kind:"scalar",T:5},{no:4,name:"crosses",kind:"scalar",T:5},{no:5,name:"corners",kind:"scalar",T:5}]),MB=N.makeMessageType("streamlayer.sports.soccer.SoccerPlayerDefenseStats",()=>[{no:1,name:"goals",kind:"scalar",T:5},{no:2,name:"assists",kind:"scalar",T:5},{no:3,name:"tackles_made",kind:"scalar",T:5},{no:4,name:"interceptions",kind:"scalar",T:5},{no:5,name:"blocked_shots",kind:"scalar",T:5}]);N.makeMessageType("streamlayer.sports.soccer.SoccerMatchOdds",()=>[{no:1,name:"home_team_win",kind:"scalar",T:1},{no:2,name:"draw",kind:"scalar",T:1},{no:3,name:"away_team_win",kind:"scalar",T:1}]);const IB=N.makeMessageType("streamlayer.sports.soccer.SoccerMatchFormationMatrixPlayer",()=>[{no:1,name:"jersey_number",kind:"scalar",T:5},{no:2,name:"player_name",kind:"scalar",T:9},{no:3,name:"photo",kind:"scalar",T:9}]),_B=N.makeMessageType("streamlayer.sports.soccer.SoccerMatchFormationMatrix",()=>[{no:1,name:"row_players",kind:"message",T:IB,repeated:!0}]),k9=N.makeMessageType("streamlayer.sports.soccer.SoccerMatchPlayer",()=>[{no:1,name:"first_name",kind:"scalar",T:9},{no:2,name:"last_name",kind:"scalar",T:9},{no:3,name:"display_name",kind:"scalar",T:9},{no:4,name:"photo",kind:"scalar",T:9},{no:5,name:"position",kind:"scalar",T:9},{no:6,name:"jersey",kind:"scalar",T:5}]),b9=N.makeMessageType("streamlayer.sports.soccer.SoccerMatchLineup",()=>[{no:1,name:"formation_string",kind:"scalar",T:9},{no:2,name:"formation_matrix",kind:"message",T:_B,repeated:!0},{no:3,name:"start_players",kind:"message",T:k9,repeated:!0},{no:4,name:"substitutes",kind:"message",T:k9,repeated:!0}]),CB=N.makeMessageType("streamlayer.sports.soccer.SoccerMatchLineups",()=>[{no:1,name:"home_team",kind:"message",T:b9},{no:2,name:"away_team",kind:"message",T:b9}]);N.makeMessageType("streamlayer.sports.soccer.SoccerMatchScore",()=>[{no:1,name:"event_id",kind:"scalar",T:4},{no:2,name:"mil",kind:"scalar",T:1},{no:3,name:"round",kind:"scalar",T:9},{no:4,name:"live_url",kind:"scalar",T:9}]);const AB=N.makeMessageType("streamlayer.sports.soccer.SoccerPlayByPlayStatistics",()=>[{no:1,name:"team",kind:"message",T:ru},{no:2,name:"event_time",kind:"message",T:z1},{no:3,name:"score_home",kind:"scalar",T:5},{no:4,name:"score_away",kind:"scalar",T:5},{no:5,name:"play_text",kind:"scalar",T:9},{no:6,name:"scoring",kind:"scalar",T:8},{no:7,name:"play_id",kind:"scalar",T:5},{no:8,name:"type",kind:"enum",T:N.getEnumType(pB)}]),OB=N.makeMessageType("streamlayer.sports.soccer.PlayByPlay",()=>[{no:1,name:"statistics",kind:"message",T:AB,repeated:!0}]),xB=N.makeMessageType("streamlayer.sports.soccer.TeamStanding",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"name",kind:"scalar",T:9},{no:3,name:"alias",kind:"scalar",T:9},{no:4,name:"logo",kind:"scalar",T:9},{no:5,name:"colors",kind:"scalar",T:9,repeated:!0},{no:6,name:"wins",kind:"scalar",T:5},{no:7,name:"losses",kind:"scalar",T:5},{no:8,name:"draws",kind:"scalar",T:5},{no:9,name:"games_behind",kind:"scalar",T:5},{no:12,name:"division",kind:"scalar",T:9},{no:13,name:"points",kind:"scalar",T:5},{no:14,name:"position",kind:"scalar",T:5},{no:15,name:"total_goals",kind:"scalar",T:5},{no:16,name:"total_goals_received",kind:"scalar",T:5}]),LB=N.makeMessageType("streamlayer.sports.soccer.Standings",()=>[{no:1,name:"standings",kind:"message",T:xB,repeated:!0}]),z4=N.makeMessageType("streamlayer.sports.soccer.SoccerLastGame",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"attributes",kind:"message",T:RB}]),RB=N.makeMessageType("streamlayer.sports.soccer.SoccerLastGame.SoccerLastGameAttributes",()=>[{no:1,name:"league",kind:"scalar",T:9},{no:2,name:"home_team",kind:"scalar",T:9},{no:3,name:"away_team",kind:"scalar",T:9},{no:5,name:"home_score",kind:"scalar",T:5},{no:6,name:"away_score",kind:"scalar",T:5},{no:7,name:"date",kind:"scalar",T:9}],{localName:"SoccerLastGame_SoccerLastGameAttributes"}),gw=N.makeMessageType("streamlayer.sports.soccer.SoccerLastGames",()=>[{no:1,name:"home",kind:"message",T:z4,repeated:!0},{no:2,name:"away",kind:"message",T:z4,repeated:!0},{no:3,name:"head_to_head",kind:"message",T:z4,repeated:!0}]),Rc=N.makeEnum("streamlayer.sports.events.EventType",[{no:0,name:"EVENT_TYPE_UNSET",localName:"UNSET"},{no:1,name:"EVENT_TYPE_BASEBALL",localName:"BASEBALL"},{no:2,name:"EVENT_TYPE_BASKETBALL",localName:"BASKETBALL"},{no:3,name:"EVENT_TYPE_HOCKEY",localName:"HOCKEY"},{no:4,name:"EVENT_TYPE_SOCCER",localName:"SOCCER"},{no:5,name:"EVENT_TYPE_GOLF",localName:"GOLF"}]),DB=N.makeMessageType("streamlayer.sports.events.ScheduleAttributes",()=>[{no:1,name:"summary",kind:"message",T:Lc},{no:2,name:"baseball",kind:"message",T:Lz,oneof:"sport"},{no:3,name:"basketball",kind:"message",T:Fz,oneof:"sport"},{no:4,name:"hockey",kind:"message",T:tB,oneof:"sport"},{no:5,name:"soccer",kind:"message",T:mB,oneof:"sport"}]),PB=N.makeMessageType("streamlayer.sports.events.ScheduleResponseData",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"type",kind:"enum",T:N.getEnumType(Rc)},{no:3,name:"attributes",kind:"message",T:DB}]),UB=N.makeMessageType("streamlayer.sports.events.ListResponseAttributes",()=>[{no:1,name:"common",kind:"message",T:Sz}]),yw=N.makeMessageType("streamlayer.sports.events.ListResponseData",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"attributes",kind:"message",T:UB}]),jB=N.makeMessageType("streamlayer.sports.events.ListRequest",()=>[{no:1,name:"filter",kind:"message",T:zB},{no:2,name:"pagination",kind:"message",T:jy},{no:3,name:"sort",kind:"message",T:cw},{no:4,name:"ids",kind:"scalar",T:4,repeated:!0},{no:5,name:"organization_id",kind:"scalar",T:9}]),zB=N.makeMessageType("streamlayer.sports.events.ListRequest.Filter",()=>[{no:1,name:"date",kind:"scalar",T:9},{no:2,name:"league",kind:"scalar",T:9},{no:3,name:"start_date_time",kind:"scalar",T:9},{no:4,name:"end_date_time",kind:"scalar",T:9},{no:5,name:"sport",kind:"scalar",T:9},{no:6,name:"name",kind:"scalar",T:9},{no:7,name:"endless",kind:"enum",T:N.getEnumType(WT)}],{localName:"ListRequest_Filter"}),BB=N.makeMessageType("streamlayer.sports.events.DemoListRequest",()=>[{no:1,name:"filter",kind:"message",T:FB},{no:2,name:"pagination",kind:"message",T:jy},{no:3,name:"sort",kind:"message",T:cw}]),FB=N.makeMessageType("streamlayer.sports.events.DemoListRequest.Filter",()=>[{no:1,name:"date",kind:"scalar",T:9},{no:2,name:"league",kind:"scalar",T:9}],{localName:"DemoListRequest_Filter"}),VB=N.makeMessageType("streamlayer.sports.events.DemoListResponse",()=>[{no:1,name:"meta",kind:"message",T:zy},{no:2,name:"data",kind:"message",T:yw,repeated:!0}]),YB=N.makeMessageType("streamlayer.sports.events.ListResponse",()=>[{no:1,name:"meta",kind:"message",T:zy},{no:2,name:"data",kind:"message",T:yw,repeated:!0}]),w9=N.makeMessageType("streamlayer.sports.events.SummaryRequest",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"organization_id",kind:"scalar",T:9}]),S9=N.makeMessageType("streamlayer.sports.events.SummaryResponse",()=>[{no:1,name:"data",kind:"message",T:QB}]),QB=N.makeMessageType("streamlayer.sports.events.SummaryResponse.ResponseData",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"type",kind:"enum",T:N.getEnumType(Rc)},{no:3,name:"attributes",kind:"message",T:GB}],{localName:"SummaryResponse_ResponseData"}),GB=N.makeMessageType("streamlayer.sports.events.SummaryResponse.ResponseData.SummaryResponseAttributes",()=>[{no:1,name:"summary",kind:"message",T:Lc},{no:2,name:"baseball",kind:"message",T:Dz,oneof:"sports"},{no:3,name:"basketball",kind:"message",T:Qz,oneof:"sports"},{no:4,name:"hockey",kind:"message",T:aB,oneof:"sports"},{no:5,name:"soccer",kind:"message",T:SB,oneof:"sports"}],{localName:"SummaryResponse_ResponseData_SummaryResponseAttributes"}),HB=N.makeMessageType("streamlayer.sports.events.AdminSummaryRequest",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"organization_id",kind:"scalar",T:9}]),$B=N.makeMessageType("streamlayer.sports.events.AdminSummaryResponse",()=>[{no:1,name:"data",kind:"message",T:qB}]),qB=N.makeMessageType("streamlayer.sports.events.AdminSummaryResponse.ResponseData",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"attributes",kind:"message",T:WB}],{localName:"AdminSummaryResponse_ResponseData"}),WB=N.makeMessageType("streamlayer.sports.events.AdminSummaryResponse.ResponseData.SummaryResponseAttributes",()=>[{no:1,name:"summary",kind:"message",T:Lc},{no:2,name:"provider_id",kind:"scalar",T:9}],{localName:"AdminSummaryResponse_ResponseData_SummaryResponseAttributes"}),KB=N.makeMessageType("streamlayer.sports.events.PlayByPlayRequest",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"pagination",kind:"message",T:jy},{no:3,name:"order",kind:"scalar",T:9}]),ZB=N.makeMessageType("streamlayer.sports.events.PlayByPlayResponse",()=>[{no:1,name:"data",kind:"message",T:JB},{no:2,name:"meta",kind:"message",T:zy}]),JB=N.makeMessageType("streamlayer.sports.events.PlayByPlayResponse.ResponseData",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"type",kind:"enum",T:N.getEnumType(Rc)},{no:3,name:"attributes",kind:"message",T:XB}],{localName:"PlayByPlayResponse_ResponseData"}),XB=N.makeMessageType("streamlayer.sports.events.PlayByPlayResponse.ResponseData.PlayByPlayResponseAttributes",()=>[{no:1,name:"summary",kind:"message",T:Lc},{no:2,name:"baseball",kind:"message",T:Rz,oneof:"sports"},{no:3,name:"basketball",kind:"message",T:Hz,oneof:"sports"},{no:4,name:"hockey",kind:"message",T:iB,oneof:"sports"},{no:5,name:"soccer",kind:"message",T:OB,oneof:"sports"}],{localName:"PlayByPlayResponse_ResponseData_PlayByPlayResponseAttributes"}),eF=N.makeMessageType("streamlayer.sports.events.ScheduleRequest",()=>[{no:1,name:"filter",kind:"message",T:tF},{no:2,name:"pagination",kind:"message",T:jy}]),tF=N.makeMessageType("streamlayer.sports.events.ScheduleRequest.Filter",()=>[{no:1,name:"date",kind:"scalar",T:9},{no:2,name:"league",kind:"scalar",T:9}],{localName:"ScheduleRequest_Filter"}),nF=N.makeMessageType("streamlayer.sports.events.ScheduleResponse",()=>[{no:1,name:"data",kind:"message",T:PB,repeated:!0},{no:2,name:"meta",kind:"message",T:zy}]),rF=N.makeMessageType("streamlayer.sports.events.ScheduleDatesRequest",()=>[{no:1,name:"filter",kind:"message",T:aF}]),aF=N.makeMessageType("streamlayer.sports.events.ScheduleDatesRequest.Filter",()=>[{no:2,name:"league",kind:"scalar",T:9}],{localName:"ScheduleDatesRequest_Filter"}),oF=N.makeMessageType("streamlayer.sports.events.ScheduleDatesResponse",()=>[{no:1,name:"data",kind:"scalar",T:9,repeated:!0}]),iF=N.makeMessageType("streamlayer.sports.events.BoxscoreRequest",()=>[{no:1,name:"id",kind:"scalar",T:4}]),sF=N.makeMessageType("streamlayer.sports.events.BoxscoreResponse",()=>[{no:1,name:"data",kind:"message",T:lF}]),lF=N.makeMessageType("streamlayer.sports.events.BoxscoreResponse.ResponseData",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"type",kind:"enum",T:N.getEnumType(Rc)},{no:3,name:"attributes",kind:"message",T:uF}],{localName:"BoxscoreResponse_ResponseData"}),uF=N.makeMessageType("streamlayer.sports.events.BoxscoreResponse.ResponseData.BoxscoreResponseAttributes",()=>[{no:1,name:"summary",kind:"message",T:Lc},{no:2,name:"basketball",kind:"message",T:$z,oneof:"sports"},{no:3,name:"hockey",kind:"message",T:sB,oneof:"sports"}],{localName:"BoxscoreResponse_ResponseData_BoxscoreResponseAttributes"}),cF=N.makeMessageType("streamlayer.sports.events.StandingsRequest",()=>[{no:1,name:"league",kind:"scalar",T:9}]),dF=N.makeMessageType("streamlayer.sports.events.StandingsResponse",()=>[{no:1,name:"data",kind:"message",T:fF}]),fF=N.makeMessageType("streamlayer.sports.events.StandingsResponse.ResponseData",()=>[{no:1,name:"type",kind:"enum",T:N.getEnumType(Rc)},{no:2,name:"attributes",kind:"message",T:pF}],{localName:"StandingsResponse_ResponseData"}),pF=N.makeMessageType("streamlayer.sports.events.StandingsResponse.ResponseData.StandingsResponseAttributes",()=>[{no:2,name:"basketball",kind:"message",T:Zz,oneof:"sports"},{no:3,name:"hockey",kind:"message",T:dB,oneof:"sports"},{no:4,name:"baseball",kind:"message",T:zz,oneof:"sports"},{no:5,name:"soccer",kind:"message",T:LB,oneof:"sports"}],{localName:"StandingsResponse_ResponseData_StandingsResponseAttributes"}),mF=N.makeMessageType("streamlayer.sports.events.LineupRequest",()=>[{no:1,name:"id",kind:"scalar",T:4}]),hF=N.makeMessageType("streamlayer.sports.events.LineupResponse",()=>[{no:1,name:"data",kind:"message",T:gF}]),gF=N.makeMessageType("streamlayer.sports.events.LineupResponse.ResponseData",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"type",kind:"enum",T:N.getEnumType(Rc)},{no:3,name:"attributes",kind:"message",T:yF}],{localName:"LineupResponse_ResponseData"}),yF=N.makeMessageType("streamlayer.sports.events.LineupResponse.ResponseData.LineupResponseAttributes",()=>[{no:1,name:"summary",kind:"message",T:Lc},{no:2,name:"soccer",kind:"message",T:CB,oneof:"sports"},{no:3,name:"basketball",kind:"message",T:Jz,oneof:"sports"}],{localName:"LineupResponse_ResponseData_LineupResponseAttributes"}),vF=N.makeMessageType("streamlayer.sports.events.LastGamesRequest",()=>[{no:1,name:"id",kind:"scalar",T:4}]),TF=N.makeMessageType("streamlayer.sports.events.LastGamesResponse",()=>[{no:1,name:"data",kind:"message",T:kF}]),kF=N.makeMessageType("streamlayer.sports.events.LastGamesResponse.ResponseData",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"type",kind:"enum",T:N.getEnumType(Rc)},{no:3,name:"attributes",kind:"message",T:bF}],{localName:"LastGamesResponse_ResponseData"}),bF=N.makeMessageType("streamlayer.sports.events.LastGamesResponse.ResponseData.LastGamesResponseAttributes",()=>[{no:1,name:"summary",kind:"message",T:Lc},{no:2,name:"soccer",kind:"message",T:gw,oneof:"sports"},{no:3,name:"basketball",kind:"message",T:mw,oneof:"sports"}],{localName:"LastGamesResponse_ResponseData_LastGamesResponseAttributes"}),wF=N.makeMessageType("streamlayer.sports.events.RetrieveEventIdRequest",()=>[{no:1,name:"id",kind:"scalar",T:9}]),SF=N.makeMessageType("streamlayer.sports.events.RetrieveEventIdResponse",()=>[{no:1,name:"data",kind:"message",T:EF}]),EF=N.makeMessageType("streamlayer.sports.events.RetrieveEventIdResponse.RetrieveEventIdResponseData",()=>[{no:1,name:"id",kind:"scalar",T:4}],{localName:"RetrieveEventIdResponse_RetrieveEventIdResponseData"}),NF={typeName:"streamlayer.sports.events.Events",methods:{list:{name:"List",I:jB,O:YB,kind:et.Unary},demoList:{name:"DemoList",I:BB,O:VB,kind:et.Unary},summary:{name:"Summary",I:w9,O:S9,kind:et.Unary},adminSummary:{name:"AdminSummary",I:HB,O:$B,kind:et.Unary},boxscore:{name:"Boxscore",I:iF,O:sF,kind:et.Unary},standings:{name:"Standings",I:cF,O:dF,kind:et.Unary},playByPlay:{name:"PlayByPlay",I:KB,O:ZB,kind:et.Unary},schedule:{name:"Schedule",I:eF,O:nF,kind:et.Unary},scheduleDates:{name:"ScheduleDates",I:rF,O:oF,kind:et.Unary},lineup:{name:"Lineup",I:mF,O:hF,kind:et.Unary},retrieveEventId:{name:"RetrieveEventId",I:wF,O:SF,kind:et.Unary},lastGames:{name:"LastGames",I:vF,O:TF,kind:et.Unary},summarySubscription:{name:"SummarySubscription",I:w9,O:S9,kind:et.ServerStreaming}}},MF=N.makeEnum("streamlayer.sdkSettings.client.VisibleStatus",[{no:0,name:"VISIBLE_STATUS_UNSET",localName:"UNSET"},{no:1,name:"VISIBLE_STATUS_INCOGNITO",localName:"INCOGNITO"},{no:2,name:"VISIBLE_STATUS_VISIBLE",localName:"VISIBLE"}]),IF=N.makeEnum("streamlayer.sdkSettings.client.MessagesNotify",[{no:0,name:"MESSAGES_NOTIFY_UNSET",localName:"UNSET"},{no:1,name:"MESSAGES_NOTIFY_DISALLOW",localName:"DISALLOW"},{no:2,name:"MESSAGES_NOTIFY_ALLOW",localName:"ALLOW"}]),_F=N.makeEnum("streamlayer.sdkSettings.client.FriendsNotify",[{no:0,name:"FRIENDS_NOTIFY_UNSET",localName:"UNSET"},{no:1,name:"FRIENDS_NOTIFY_DISALLOW",localName:"DISALLOW"},{no:2,name:"FRIENDS_NOTIFY_ALLOW",localName:"ALLOW"}]),CF=N.makeEnum("streamlayer.sdkSettings.client.TwitterNotify",[{no:0,name:"TWITTER_NOTIFY_UNSET",localName:"UNSET"},{no:1,name:"TWITTER_NOTIFY_DISALLOW",localName:"DISALLOW"},{no:2,name:"TWITTER_NOTIFY_ALLOW",localName:"ALLOW"}]),AF=N.makeEnum("streamlayer.sdkSettings.client.CallsSound",[{no:0,name:"CALLS_SOUND_UNSET",localName:"UNSET"},{no:1,name:"CALLS_SOUND_DISALLOW",localName:"DISALLOW"},{no:2,name:"CALLS_SOUND_ALLOW",localName:"ALLOW"}]),OF=N.makeEnum("streamlayer.sdkSettings.client.MessagesSound",[{no:0,name:"MESSAGES_SOUND_UNSET",localName:"UNSET"},{no:1,name:"MESSAGES_SOUND_DISALLOW",localName:"DISALLOW"},{no:2,name:"MESSAGES_SOUND_ALLOW",localName:"ALLOW"}]),xF=N.makeEnum("streamlayer.sdkSettings.client.FriendsSound",[{no:0,name:"FRIENDS_SOUND_UNSET",localName:"UNSET"},{no:1,name:"FRIENDS_SOUND_DISALLOW",localName:"DISALLOW"},{no:2,name:"FRIENDS_SOUND_ALLOW",localName:"ALLOW"}]),LF=N.makeEnum("streamlayer.sdkSettings.client.TwitterSound",[{no:0,name:"TWITTER_SOUND_UNSET",localName:"UNSET"},{no:1,name:"TWITTER_SOUND_DISALLOW",localName:"DISALLOW"},{no:2,name:"TWITTER_SOUND_ALLOW",localName:"ALLOW"}]),vw=N.makeEnum("streamlayer.sdkSettings.client.SettingsAllow",[{no:0,name:"SETTINGS_ALLOW_UNSET",localName:"UNSET"},{no:1,name:"SETTINGS_ALLOW_DISALLOW",localName:"DISALLOW"},{no:2,name:"SETTINGS_ALLOW_ALLOW",localName:"ALLOW"}]),RF=N.makeEnum("streamlayer.sdkSettings.client.ManagedGroupType",[{no:0,name:"MANAGED_GROUP_TYPE_UNSET",localName:"UNSET"},{no:1,name:"MANAGED_GROUP_TYPE_CHAT",localName:"CHAT"},{no:2,name:"MANAGED_GROUP_TYPE_WP",localName:"WP"}]),DF=N.makeEnum("streamlayer.sdkSettings.client.GroupType",[{no:0,name:"GROUP_TYPE_UNSET",localName:"UNSET"},{no:1,name:"GROUP_TYPE_CHAT",localName:"CHAT"},{no:2,name:"GROUP_TYPE_WP",localName:"WP"}]),PF=N.makeMessageType("streamlayer.sdkSettings.client.NotifySettings",()=>[{no:1,name:"allow",kind:"enum",T:N.getEnumType(vw)}]),UF=N.makeMessageType("streamlayer.sdkSettings.client.SoundSettings",()=>[{no:1,name:"allow",kind:"enum",T:N.getEnumType(vw)}]),B4=N.makeMessageType("streamlayer.sdkSettings.client.ClientSettingsNotifications",()=>[{no:1,name:"notify",kind:"message",T:PF},{no:2,name:"sound",kind:"message",T:UF}]),ZT=N.makeMessageType("streamlayer.sdkSettings.client.ClientSettings",()=>[{no:1,name:"visible_status",kind:"enum",T:N.getEnumType(MF)},{no:2,name:"messages_notify",kind:"enum",T:N.getEnumType(IF)},{no:3,name:"friends_notify",kind:"enum",T:N.getEnumType(_F)},{no:4,name:"calls_sound",kind:"enum",T:N.getEnumType(AF)},{no:5,name:"messages_sound",kind:"enum",T:N.getEnumType(OF)},{no:6,name:"friends_sound",kind:"enum",T:N.getEnumType(xF)},{no:7,name:"twitter_notify",kind:"enum",T:N.getEnumType(CF)},{no:8,name:"twitter_sound",kind:"enum",T:N.getEnumType(LF)},{no:9,name:"gamification",kind:"message",T:B4},{no:10,name:"watch_party_invitation",kind:"message",T:B4},{no:11,name:"twitter_question",kind:"message",T:B4}]),jF=N.makeMessageType("streamlayer.sdkSettings.client.GetRequest",[]),zF=N.makeMessageType("streamlayer.sdkSettings.client.GetResponse",()=>[{no:1,name:"data",kind:"message",T:BF}]),BF=N.makeMessageType("streamlayer.sdkSettings.client.GetResponse.GetResponseData",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"message",T:ZT}],{localName:"GetResponse_GetResponseData"}),FF=N.makeMessageType("streamlayer.sdkSettings.client.UpdateRequest",()=>[{no:2,name:"settings",kind:"message",T:ZT}]),VF=N.makeMessageType("streamlayer.sdkSettings.client.UpdateResponse",()=>[{no:1,name:"data",kind:"message",T:YF}]),YF=N.makeMessageType("streamlayer.sdkSettings.client.UpdateResponse.UpdateResponseData",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"message",T:ZT}],{localName:"UpdateResponse_UpdateResponseData"}),QF=N.makeMessageType("streamlayer.sdkSettings.client.GetStreamRequest",()=>[{no:1,name:"id",kind:"scalar",T:9}]),GF=N.makeMessageType("streamlayer.sdkSettings.client.GetStreamResponse",()=>[{no:1,name:"data",kind:"message",T:HF}]),HF=N.makeMessageType("streamlayer.sdkSettings.client.GetStreamResponse.GetResponseData",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"message",T:_7}],{localName:"GetStreamResponse_GetResponseData"}),$F=N.makeMessageType("streamlayer.sdkSettings.client.GetOrganizationRequest",[]),qF=N.makeMessageType("streamlayer.sdkSettings.client.GetOrganizationResponse",()=>[{no:1,name:"data",kind:"message",T:WF}]),WF=N.makeMessageType("streamlayer.sdkSettings.client.GetOrganizationResponse.GetResponseData",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"message",T:C7}],{localName:"GetOrganizationResponse_GetResponseData"}),KF=N.makeMessageType("streamlayer.sdkSettings.client.GetOrganizationAdvertisingRequest",()=>[{no:1,name:"event_id",kind:"scalar",T:9,opt:!0}]),ZF=N.makeMessageType("streamlayer.sdkSettings.client.GetOrganizationAdvertisingResponse",()=>[{no:1,name:"data",kind:"message",T:JF}]),JF=N.makeMessageType("streamlayer.sdkSettings.client.GetOrganizationAdvertisingResponse.GetOrganizationAdvertisingResponseData",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"message",T:A7}],{localName:"GetOrganizationAdvertisingResponse_GetOrganizationAdvertisingResponseData"}),XF=N.makeMessageType("streamlayer.sdkSettings.client.ManagedGroup",()=>[{no:1,name:"group_id",kind:"scalar",T:9},{no:2,name:"fantasy_group_id",kind:"scalar",T:9},{no:3,name:"group_type",kind:"enum",T:N.getEnumType(RF)}]),Tw=N.makeMessageType("streamlayer.sdkSettings.client.DeepLinkData",()=>[{no:1,name:"group_id",kind:"scalar",T:9},{no:2,name:"event_id",kind:"scalar",T:9},{no:3,name:"gamification",kind:"scalar",T:8},{no:4,name:"managed_group",kind:"message",T:XF},{no:5,name:"external_event_id",kind:"scalar",T:9},{no:6,name:"external_group_id",kind:"scalar",T:9},{no:7,name:"group_type",kind:"enum",T:N.getEnumType(DF)}]),eV=N.makeMessageType("streamlayer.sdkSettings.client.GenerateDeepLinkRequest",()=>[{no:1,name:"data",kind:"message",T:Tw}]),tV=N.makeMessageType("streamlayer.sdkSettings.client.DeepLink",()=>[{no:1,name:"url",kind:"scalar",T:9},{no:2,name:"link_id",kind:"scalar",T:9}]),nV=N.makeMessageType("streamlayer.sdkSettings.client.GenerateDeepLinkResponse",()=>[{no:1,name:"data",kind:"message",T:rV}]),rV=N.makeMessageType("streamlayer.sdkSettings.client.GenerateDeepLinkResponse.GenerateDeepLinkResponseData",()=>[{no:1,name:"attributes",kind:"message",T:tV}],{localName:"GenerateDeepLinkResponse_GenerateDeepLinkResponseData"});N.makeMessageType("streamlayer.sdkSettings.client.RetreiveDeepLinkRequest",()=>[{no:1,name:"url",kind:"scalar",T:9}]);N.makeMessageType("streamlayer.sdkSettings.client.RetreiveDeepLinkResponse",()=>[{no:1,name:"data",kind:"message",T:aV}]);const aV=N.makeMessageType("streamlayer.sdkSettings.client.RetreiveDeepLinkResponse.RetreiveDeepLinkResponseData",()=>[{no:1,name:"attributes",kind:"message",T:Tw}],{localName:"RetreiveDeepLinkResponse_RetreiveDeepLinkResponseData"}),oV=N.makeMessageType("streamlayer.sdkSettings.client.StreamSubscriptionRequest",()=>[{no:1,name:"id",kind:"scalar",T:9}]),iV=N.makeMessageType("streamlayer.sdkSettings.client.OrganizationSubscriptionRequest",[]),sV=N.makeMessageType("streamlayer.sdkSettings.client.StreamSubscriptionResponse",()=>[{no:1,name:"data",kind:"message",T:lV}]),lV=N.makeMessageType("streamlayer.sdkSettings.client.StreamSubscriptionResponse.ResponseData",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"message",T:_7}],{localName:"StreamSubscriptionResponse_ResponseData"}),uV=N.makeMessageType("streamlayer.sdkSettings.client.OrganizationSubscriptionResponse",()=>[{no:1,name:"data",kind:"message",T:cV}]),cV=N.makeMessageType("streamlayer.sdkSettings.client.OrganizationSubscriptionResponse.ResponseData",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"message",T:C7}],{localName:"OrganizationSubscriptionResponse_ResponseData"}),B1={typeName:"streamlayer.sdkSettings.client.Client",methods:{get:{name:"Get",I:jF,O:zF,kind:et.Unary},update:{name:"Update",I:FF,O:VF,kind:et.Unary},getStream:{name:"GetStream",I:QF,O:GF,kind:et.Unary},getOrganization:{name:"GetOrganization",I:$F,O:qF,kind:et.Unary},getOrganizationAdvertising:{name:"GetOrganizationAdvertising",I:KF,O:ZF,kind:et.Unary},generateDeepLink:{name:"GenerateDeepLink",I:eV,O:nV,kind:et.Unary},streamSubscription:{name:"StreamSubscription",I:oV,O:sV,kind:et.ServerStreaming},organizationSubscription:{name:"OrganizationSubscription",I:iV,O:uV,kind:et.ServerStreaming}}},dV=N.makeEnum("streamlayer.users.UserNotificationPreference",[{no:0,name:"USER_NOTIFICATION_PREFERENCE_UNSET",localName:"UNSET"},{no:1,name:"USER_NOTIFICATION_PREFERENCE_ALL_EVENTS",localName:"ALL_EVENTS"},{no:2,name:"USER_NOTIFICATION_PREFERENCE_IMPORTANT_EVENTS_ONLY",localName:"IMPORTANT_EVENTS_ONLY"},{no:3,name:"USER_NOTIFICATION_PREFERENCE_DAILY_SUMMARY_AND_MENTIONS",localName:"DAILY_SUMMARY_AND_MENTIONS"}]),fV=N.makeMessageType("streamlayer.users.PublicChatUser",()=>[{no:1,name:"name",kind:"scalar",T:9}]),pV=N.makeMessageType("streamlayer.users.UserAttributes",()=>[{no:1,name:"username",kind:"scalar",T:9},{no:2,name:"name",kind:"scalar",T:9},{no:3,name:"alias",kind:"scalar",T:9},{no:5,name:"avatar",kind:"scalar",T:9},{no:6,name:"public_chat",kind:"message",T:fV},{no:7,name:"public_name",kind:"scalar",T:9}]);N.makeMessageType("streamlayer.users.UserOrganization",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"permissions",kind:"scalar",T:9,repeated:!0}]);const mV=N.makeMessageType("streamlayer.users.UserMetadata",()=>[{no:2,name:"avatar",kind:"scalar",T:9},{no:3,name:"avatar_background_colour",kind:"scalar",T:9},{no:4,name:"timezone",kind:"scalar",T:9},{no:5,name:"notification_preference",kind:"enum",T:N.getEnumType(dV)},{no:6,name:"active",kind:"scalar",T:8},{no:7,name:"first_name",kind:"scalar",T:9},{no:8,name:"last_name",kind:"scalar",T:9},{no:9,name:"roles",kind:"scalar",T:9,repeated:!0}]),hV=N.makeMessageType("streamlayer.users.ExtendedUserAttributes",()=>[{no:1,name:"username",kind:"scalar",T:9},{no:2,name:"name",kind:"scalar",T:9},{no:3,name:"alias",kind:"scalar",T:9},{no:4,name:"metadata",kind:"message",T:mV}]),JT=N.makeMessageType("streamlayer.users.User",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"message",T:pV}]);N.makeMessageType("streamlayer.users.ExtendedUser",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"message",T:hV}]);const gV=N.makeMessageType("streamlayer.users.LoginRequest",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"password",kind:"scalar",T:9}]),yV=N.makeMessageType("streamlayer.users.AuthResponse",()=>[{no:1,name:"meta",kind:"message",T:vV},{no:2,name:"data",kind:"message",T:JT}]),vV=N.makeMessageType("streamlayer.users.AuthResponse.AuthResponseMetadata",()=>[{no:1,name:"jwt",kind:"scalar",T:9},{no:3,name:"getstream",kind:"scalar",T:9}],{localName:"AuthResponse_AuthResponseMetadata"}),TV=N.makeMessageType("streamlayer.users.RegisterRequest",()=>[{no:1,name:"id",kind:"scalar",T:9}]),kV=N.makeMessageType("streamlayer.users.Referral",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"name",kind:"scalar",T:9},{no:3,name:"watching_game",kind:"scalar",T:9}]),bV=N.makeMessageType("streamlayer.users.RegisterResponse",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"requires_activation",kind:"scalar",T:8},{no:3,name:"referral",kind:"message",T:kV}]),wV=N.makeMessageType("streamlayer.users.RequestPasswordRequest",()=>[{no:1,name:"id",kind:"scalar",T:9}]),SV=N.makeMessageType("streamlayer.users.RequestPasswordResponse",()=>[{no:1,name:"requested",kind:"scalar",T:8},{no:2,name:"uid",kind:"scalar",T:9}]),EV=N.makeMessageType("streamlayer.users.MeRequest",[]),NV=N.makeMessageType("streamlayer.users.MeResponse",()=>[{no:1,name:"data",kind:"message",T:JT}]),MV=N.makeMessageType("streamlayer.users.UpdateMetadataRequest",()=>[{no:1,name:"set_name",kind:"scalar",T:9,oneof:"name"},{no:2,name:"del_name",kind:"scalar",T:9,oneof:"name"}]),IV=N.makeMessageType("streamlayer.users.UpdateAvatarRequest",()=>[{no:1,name:"username",kind:"scalar",T:9},{no:2,name:"set_avatar",kind:"scalar",T:9,oneof:"avatar"},{no:3,name:"del_avatar",kind:"scalar",T:9,oneof:"avatar"}]),_V=N.makeMessageType("streamlayer.users.UpdateAvatarResponse",[]),CV=N.makeMessageType("streamlayer.users.UpdatePublicChatNameRequest",()=>[{no:1,name:"username",kind:"scalar",T:9},{no:2,name:"set_name",kind:"scalar",T:9,oneof:"name"},{no:3,name:"del_name",kind:"scalar",T:9,oneof:"name"}]),AV=N.makeMessageType("streamlayer.users.UpdatePublicChatNameResponse",[]),OV=N.makeMessageType("streamlayer.users.UpdatePublicNameRequest",()=>[{no:1,name:"username",kind:"scalar",T:9},{no:2,name:"set_name",kind:"scalar",T:9,oneof:"name"},{no:3,name:"del_name",kind:"scalar",T:9,oneof:"name"}]),xV=N.makeMessageType("streamlayer.users.UpdatePublicNameResponse",[]),LV=N.makeMessageType("streamlayer.users.UpdateMetadataResponse",[]),RV=N.makeMessageType("streamlayer.users.InviteRequest",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"referral",kind:"message",T:DV}]),DV=N.makeMessageType("streamlayer.users.InviteRequest.InviteReferral",()=>[{no:1,name:"watching_game",kind:"scalar",T:9}],{localName:"InviteRequest_InviteReferral"}),PV=N.makeMessageType("streamlayer.users.InviteResponse",[]),UV=N.makeMessageType("streamlayer.users.BypassAuthRequest",()=>[{no:1,name:"user_key",kind:"scalar",T:9},{no:2,name:"schema",kind:"scalar",T:9},{no:3,name:"init",kind:"scalar",T:8}]),jV=N.makeMessageType("streamlayer.users.BypassAuthResponse",()=>[{no:1,name:"meta",kind:"message",T:zV},{no:2,name:"data",kind:"message",T:JT,opt:!0}]),zV=N.makeMessageType("streamlayer.users.BypassAuthResponse.AuthResponseMetadata",()=>[{no:1,name:"jwt",kind:"scalar",T:9,opt:!0},{no:3,name:"token",kind:"scalar",T:9,opt:!0},{no:4,name:"getstream",kind:"scalar",T:9}],{localName:"BypassAuthResponse_AuthResponseMetadata"}),kw={typeName:"streamlayer.users.Users",methods:{login:{name:"Login",I:gV,O:yV,kind:et.Unary},register:{name:"Register",I:TV,O:bV,kind:et.Unary},requestPassword:{name:"RequestPassword",I:wV,O:SV,kind:et.Unary},me:{name:"Me",I:EV,O:NV,kind:et.Unary},invite:{name:"Invite",I:RV,O:PV,kind:et.Unary},bypassAuth:{name:"BypassAuth",I:UV,O:jV,kind:et.Unary},updateMetadata:{name:"UpdateMetadata",I:MV,O:LV,kind:et.Unary},updateAvatar:{name:"UpdateAvatar",I:IV,O:_V,kind:et.Unary},updatePublicChatName:{name:"UpdatePublicChatName",I:CV,O:AV,kind:et.Unary},updatePublicName:{name:"UpdatePublicName",I:OV,O:xV,kind:et.Unary}}},Zs={typeName:"streamlayer.interactive.feed.Feed",methods:{get:{name:"Get",I:jO,O:zO,kind:et.Unary},subscription:{name:"Subscription",I:YA,O:QA,kind:et.ServerStreaming},votingSubscription:{name:"VotingSubscription",I:HA,O:$A,kind:et.ServerStreaming},questionSubscription:{name:"QuestionSubscription",I:KA,O:ZA,kind:et.ServerStreaming},questionByUser:{name:"QuestionByUser",I:eO,O:tO,kind:et.Unary},syncQuestion:{name:"SyncQuestion",I:rO,O:oO,kind:et.Unary},getQuestion:{name:"GetQuestion",I:sO,O:lO,kind:et.Unary},questionDetail:{name:"QuestionDetail",I:cO,O:dO,kind:et.Unary},submitAnswer:{name:"SubmitAnswer",I:pO,O:hO,kind:et.Unary},submitInplay:{name:"SubmitInplay",I:yO,O:TO,kind:et.Unary},skipQuestion:{name:"SkipQuestion",I:kO,O:wO,kind:et.Unary},pickHistory:{name:"PickHistory",I:EO,O:NO,kind:et.Unary},insightHistory:{name:"InsightHistory",I:_O,O:OO,kind:et.Unary},tweetHistory:{name:"TweetHistory",I:LO,O:RO,kind:et.Unary},promotionHistory:{name:"PromotionHistory",I:FO,O:VO,kind:et.Unary},list:{name:"List",I:GO,O:$O,kind:et.Unary},feedSubscription:{name:"FeedSubscription",I:WO,O:KO,kind:et.ServerStreaming}}},BV=N.makeEnum("streamlayer.interactive.leaderboard.LeaderboardType",[{no:0,name:"LEADERBOARD_TYPE_UNSET",localName:"UNSET"},{no:1,name:"LEADERBOARD_TYPE_TOURNAMENT",localName:"TOURNAMENT"},{no:2,name:"LEADERBOARD_TYPE_EVENT",localName:"EVENT"}]),bw=N.makeMessageType("streamlayer.interactive.leaderboard.LeaderboardData",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"enum",T:N.getEnumType(BV)},{no:3,name:"name",kind:"scalar",T:9},{no:4,name:"event_ids",kind:"scalar",T:3,repeated:!0},{no:5,name:"leaderboards",kind:"message",T:bw,repeated:!0},{no:6,name:"created_at",kind:"scalar",T:3}]),XT=N.makeMessageType("streamlayer.interactive.leaderboard.LeaderboardItem",()=>[{no:1,name:"streak",kind:"scalar",T:5},{no:2,name:"correct",kind:"scalar",T:5},{no:3,name:"incorrect",kind:"scalar",T:5},{no:4,name:"points",kind:"scalar",T:5},{no:5,name:"rank",kind:"scalar",T:5},{no:6,name:"name",kind:"scalar",T:9},{no:7,name:"avatar",kind:"scalar",T:9},{no:8,name:"user_id",kind:"scalar",T:9},{no:9,name:"recent_correct",kind:"scalar",T:5},{no:10,name:"streak_loss",kind:"scalar",T:5},{no:11,name:"friends_rank",kind:"scalar",T:5},{no:12,name:"in_top",kind:"scalar",T:5}]),FV=N.makeMessageType("streamlayer.interactive.leaderboard.LeaderboardSummaryItem",()=>[{no:1,name:"summary",kind:"message",T:XT},{no:2,name:"percentage",kind:"message",T:VV}]),VV=N.makeMessageType("streamlayer.interactive.leaderboard.LeaderboardSummaryItem.SummaryPercentage",()=>[{no:1,name:"correct",kind:"scalar",T:5},{no:2,name:"average",kind:"scalar",T:5}],{localName:"LeaderboardSummaryItem_SummaryPercentage"}),YV=N.makeMessageType("streamlayer.interactive.leaderboard.ListRequest",()=>[{no:1,name:"pagination",kind:"message",T:Ly},{no:2,name:"users_ids",kind:"scalar",T:9,repeated:!0},{no:3,name:"event_id",kind:"scalar",T:4},{no:4,name:"leaderboard_id",kind:"scalar",T:9}]),QV=N.makeMessageType("streamlayer.interactive.leaderboard.ListResponse",()=>[{no:1,name:"data",kind:"message",T:GV,repeated:!0},{no:2,name:"meta",kind:"message",T:HV}]),GV=N.makeMessageType("streamlayer.interactive.leaderboard.ListResponse.ListResponseData",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"message",T:XT}],{localName:"ListResponse_ListResponseData"}),HV=N.makeMessageType("streamlayer.interactive.leaderboard.ListResponse.ListResponseMeta",()=>[{no:1,name:"count",kind:"scalar",T:5},{no:2,name:"page",kind:"scalar",T:5},{no:3,name:"page_size",kind:"scalar",T:5}],{localName:"ListResponse_ListResponseMeta"}),$V=N.makeMessageType("streamlayer.interactive.leaderboard.SummaryRequest",()=>[{no:1,name:"event_id",kind:"scalar",T:4},{no:2,name:"user_id",kind:"scalar",T:9},{no:3,name:"leaderboard_id",kind:"scalar",T:9},{no:4,name:"users_ids",kind:"scalar",T:9,repeated:!0}]),qV=N.makeMessageType("streamlayer.interactive.leaderboard.SummaryResponse",()=>[{no:1,name:"data",kind:"message",T:WV}]),WV=N.makeMessageType("streamlayer.interactive.leaderboard.SummaryResponse.SummaryResponseData",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"message",T:FV}],{localName:"SummaryResponse_SummaryResponseData"}),KV=N.makeMessageType("streamlayer.interactive.leaderboard.EventLeaderboardsRequest",()=>[{no:1,name:"organization_id",kind:"scalar",T:9},{no:2,name:"event_id",kind:"scalar",T:9}]),ZV=N.makeMessageType("streamlayer.interactive.leaderboard.EventLeaderboardsResponse",()=>[{no:2,name:"data",kind:"message",T:JV}]),JV=N.makeMessageType("streamlayer.interactive.leaderboard.EventLeaderboardsResponse.EventLeaderboardsResponseData",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"message",T:bw}],{localName:"EventLeaderboardsResponse_EventLeaderboardsResponseData"}),XV=N.makeMessageType("streamlayer.interactive.leaderboard.EventLeaderboardRequest",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"organization_id",kind:"scalar",T:9},{no:3,name:"pagination",kind:"message",T:Ly},{no:4,name:"sort",kind:"message",T:DA}]),eY=N.makeMessageType("streamlayer.interactive.leaderboard.EventLeaderboardResponse",()=>[{no:1,name:"data",kind:"message",T:tY,repeated:!0},{no:2,name:"meta",kind:"message",T:nY}]),tY=N.makeMessageType("streamlayer.interactive.leaderboard.EventLeaderboardResponse.ListResponseData",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"message",T:XT}],{localName:"EventLeaderboardResponse_ListResponseData"}),nY=N.makeMessageType("streamlayer.interactive.leaderboard.EventLeaderboardResponse.ListResponseMeta",()=>[{no:1,name:"count",kind:"scalar",T:5},{no:2,name:"page",kind:"scalar",T:5},{no:3,name:"page_size",kind:"scalar",T:5}],{localName:"EventLeaderboardResponse_ListResponseMeta"}),ww={typeName:"streamlayer.interactive.leaderboard.Leaderboard",methods:{list:{name:"List",I:YV,O:QV,kind:et.Unary},summary:{name:"Summary",I:$V,O:qV,kind:et.Unary},eventLeaderboards:{name:"EventLeaderboards",I:KV,O:ZV,kind:et.Unary},eventLeaderboard:{name:"EventLeaderboard",I:XV,O:eY,kind:et.Unary}}};var Sw=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof ap.global<"u"?ap.global:typeof self<"u"?self:{};function rY(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}var Mt={},Ew={},Fy={};Fy.byteLength=iY;Fy.toByteArray=lY;Fy.fromByteArray=dY;var Hi=[],wo=[],aY=typeof Uint8Array<"u"?Uint8Array:Array,F4="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(var Yf=0,oY=F4.length;Yf<oY;++Yf)Hi[Yf]=F4[Yf],wo[F4.charCodeAt(Yf)]=Yf;wo["-".charCodeAt(0)]=62;wo["_".charCodeAt(0)]=63;function Nw(r){var o=r.length;if(o%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var s=r.indexOf("=");s===-1&&(s=o);var m=s===o?0:4-s%4;return[s,m]}function iY(r){var o=Nw(r),s=o[0],m=o[1];return(s+m)*3/4-m}function sY(r,o,s){return(o+s)*3/4-s}function lY(r){var o,s=Nw(r),m=s[0],p=s[1],v=new aY(sY(r,m,p)),g=0,T=p>0?m-4:m,I;for(I=0;I<T;I+=4)o=wo[r.charCodeAt(I)]<<18|wo[r.charCodeAt(I+1)]<<12|wo[r.charCodeAt(I+2)]<<6|wo[r.charCodeAt(I+3)],v[g++]=o>>16&255,v[g++]=o>>8&255,v[g++]=o&255;return p===2&&(o=wo[r.charCodeAt(I)]<<2|wo[r.charCodeAt(I+1)]>>4,v[g++]=o&255),p===1&&(o=wo[r.charCodeAt(I)]<<10|wo[r.charCodeAt(I+1)]<<4|wo[r.charCodeAt(I+2)]>>2,v[g++]=o>>8&255,v[g++]=o&255),v}function uY(r){return Hi[r>>18&63]+Hi[r>>12&63]+Hi[r>>6&63]+Hi[r&63]}function cY(r,o,s){for(var m,p=[],v=o;v<s;v+=3)m=(r[v]<<16&16711680)+(r[v+1]<<8&65280)+(r[v+2]&255),p.push(uY(m));return p.join("")}function dY(r){for(var o,s=r.length,m=s%3,p=[],v=16383,g=0,T=s-m;g<T;g+=v)p.push(cY(r,g,g+v>T?T:g+v));return m===1?(o=r[s-1],p.push(Hi[o>>2]+Hi[o<<4&63]+"==")):m===2&&(o=(r[s-2]<<8)+r[s-1],p.push(Hi[o>>10]+Hi[o>>4&63]+Hi[o<<2&63]+"=")),p.join("")}var e8={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */e8.read=function(r,o,s,m,p){var v,g,T=p*8-m-1,I=(1<<T)-1,C=I>>1,D=-7,R=s?p-1:0,x=s?-1:1,j=r[o+R];for(R+=x,v=j&(1<<-D)-1,j>>=-D,D+=T;D>0;v=v*256+r[o+R],R+=x,D-=8);for(g=v&(1<<-D)-1,v>>=-D,D+=m;D>0;g=g*256+r[o+R],R+=x,D-=8);if(v===0)v=1-C;else{if(v===I)return g?NaN:(j?-1:1)*(1/0);g=g+Math.pow(2,m),v=v-C}return(j?-1:1)*g*Math.pow(2,v-m)};e8.write=function(r,o,s,m,p,v){var g,T,I,C=v*8-p-1,D=(1<<C)-1,R=D>>1,x=p===23?Math.pow(2,-24)-Math.pow(2,-77):0,j=m?0:v-1,Q=m?1:-1,W=o<0||o===0&&1/o<0?1:0;for(o=Math.abs(o),isNaN(o)||o===1/0?(T=isNaN(o)?1:0,g=D):(g=Math.floor(Math.log(o)/Math.LN2),o*(I=Math.pow(2,-g))<1&&(g--,I*=2),g+R>=1?o+=x/I:o+=x*Math.pow(2,1-R),o*I>=2&&(g++,I/=2),g+R>=D?(T=0,g=D):g+R>=1?(T=(o*I-1)*Math.pow(2,p),g=g+R):(T=o*Math.pow(2,R-1)*Math.pow(2,p),g=0));p>=8;r[s+j]=T&255,j+=Q,T/=256,p-=8);for(g=g<<p|T,C+=p;C>0;r[s+j]=g&255,j+=Q,g/=256,C-=8);r[s+j-Q]|=W*128};/*!
167
+ root.render(<App />);`),t.unstable_strictMode===!0&&(i=!0),t.identifierPrefix!==void 0&&(h=t.identifierPrefix),t.onRecoverableError!==void 0&&(k=t.onRecoverableError),t.transitionCallbacks!==void 0&&t.transitionCallbacks);var S=Sk(e,Yg,null,i,u,h,k);Pg(S.current,e);var _=e.nodeType===On?e.parentNode:e;return Lm(_),new T4(S)}function W0(e){this._internalRoot=e}function j_(e){e&&ig(e)}W0.prototype.unstable_scheduleHydration=j_;function z_(e,t,i){if(!K0(e))throw new Error("hydrateRoot(...): Target container is not a DOM element.");Gk(e),t===void 0&&g("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var u=i??null,h=i!=null&&i.hydratedSources||null,k=!1,S=!1,_="",A=Qk;i!=null&&(i.unstable_strictMode===!0&&(k=!0),i.identifierPrefix!==void 0&&(_=i.identifierPrefix),i.onRecoverableError!==void 0&&(A=i.onRecoverableError));var P=Ek(t,null,e,Yg,u,k,S,_,A);if(Pg(P.current,e),Lm(e),h)for(var z=0;z<h.length;z++){var q=h[z];$N(P,q)}return new W0(P)}function K0(e){return!!(e&&(e.nodeType===zr||e.nodeType===qa||e.nodeType===es||!V))}function N1(e){return!!(e&&(e.nodeType===zr||e.nodeType===qa||e.nodeType===es||e.nodeType===On&&e.nodeValue===" react-mount-point-unstable "))}function Gk(e){e.nodeType===zr&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&g("createRoot(): Creating roots directly with document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try using a container element created for your app."),Qm(e)&&(e._reactRootContainer?g("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):g("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}var B_=s.ReactCurrentOwner,Hk;Hk=function(e){if(e._reactRootContainer&&e.nodeType!==On){var t=Mk(e._reactRootContainer.current);t&&t.parentNode!==e&&g("render(...): It looks like the React-rendered content of this container was removed without using React. This is not supported and will cause errors. Instead, call ReactDOM.unmountComponentAtNode to empty a container.")}var i=!!e._reactRootContainer,u=k4(e),h=!!(u&&Pl(u));h&&!i&&g("render(...): Replacing React-rendered children with a new root component. If you intended to update the children of this node, you should instead have the existing children update their state and render the new components instead of calling ReactDOM.render."),e.nodeType===zr&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&g("render(): Rendering components directly into document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try rendering into a container element created for your app.")};function k4(e){return e?e.nodeType===qa?e.documentElement:e.firstChild:null}function $k(){}function F_(e,t,i,u,h){if(h){if(typeof u=="function"){var k=u;u=function(){var H=q0(S);k.call(H)}}var S=Ek(t,u,e,jl,null,!1,!1,"",$k);e._reactRootContainer=S,Pg(S.current,e);var _=e.nodeType===On?e.parentNode:e;return Lm(_),Us(),S}else{for(var A;A=e.lastChild;)e.removeChild(A);if(typeof u=="function"){var P=u;u=function(){var H=q0(z);P.call(H)}}var z=Sk(e,jl,null,!1,!1,"",$k);e._reactRootContainer=z,Pg(z.current,e);var q=e.nodeType===On?e.parentNode:e;return Lm(q),Us(function(){E1(t,z,i,u)}),z}}function V_(e,t){e!==null&&typeof e!="function"&&g("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e)}function Z0(e,t,i,u,h){Hk(i),V_(h===void 0?null:h,"render");var k=i._reactRootContainer,S;if(!k)S=F_(i,t,e,h,u);else{if(S=k,typeof h=="function"){var _=h;h=function(){var A=q0(S);_.call(A)}}E1(t,S,e,h)}return q0(S)}function Y_(e){{var t=B_.current;if(t!==null&&t.stateNode!==null){var i=t.stateNode._warnedAboutRefsInRender;i||g("%s is accessing findDOMNode inside its render(). render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",Zt(t.type)||"A component"),t.stateNode._warnedAboutRefsInRender=!0}}return e==null?null:e.nodeType===zr?e:I_(e,"findDOMNode")}function Q_(e,t,i){if(g("ReactDOM.hydrate is no longer supported in React 18. Use hydrateRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!N1(t))throw new Error("Target container is not a DOM element.");{var u=Qm(t)&&t._reactRootContainer===void 0;u&&g("You are calling ReactDOM.hydrate() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call hydrateRoot(container, element)?")}return Z0(null,e,t,!0,i)}function G_(e,t,i){if(g("ReactDOM.render is no longer supported in React 18. Use createRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!N1(t))throw new Error("Target container is not a DOM element.");{var u=Qm(t)&&t._reactRootContainer===void 0;u&&g("You are calling ReactDOM.render() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.render(element)?")}return Z0(null,e,t,!1,i)}function H_(e,t,i,u){if(g("ReactDOM.unstable_renderSubtreeIntoContainer() is no longer supported in React 18. Consider using a portal instead. Until you switch to the createRoot API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!N1(i))throw new Error("Target container is not a DOM element.");if(e==null||!Cu(e))throw new Error("parentComponent must be a valid React Component");return Z0(e,t,i,!1,u)}function $_(e){if(!N1(e))throw new Error("unmountComponentAtNode(...): Target container is not a DOM element.");{var t=Qm(e)&&e._reactRootContainer===void 0;t&&g("You are calling ReactDOM.unmountComponentAtNode() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.unmount()?")}if(e._reactRootContainer){{var i=k4(e),u=i&&!Pl(i);u&&g("unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React.")}return Us(function(){Z0(null,null,e,!1,function(){e._reactRootContainer=null,Q8(e)})}),!0}else{{var h=k4(e),k=!!(h&&Pl(h)),S=e.nodeType===zr&&N1(e.parentNode)&&!!e.parentNode._reactRootContainer;k&&g("unmountComponentAtNode(): The node you're attempting to unmount was rendered by React and is not a top-level container. %s",S?"You may have accidentally passed in a React root node instead of its container.":"Instead, have the parent component update its state and rerender in order to remove this component.")}return!1}}k2(__),tg(C_),b2(A_),Vd(la),ng(Xh),(typeof Map!="function"||Map.prototype==null||typeof Map.prototype.forEach!="function"||typeof Set!="function"||Set.prototype==null||typeof Set.prototype.clear!="function"||typeof Set.prototype.forEach!="function")&&g("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),Rh(KS),ad(Z3,zI,Us);function q_(e,t){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!K0(t))throw new Error("Target container is not a DOM element.");return M_(e,t,null,i)}function W_(e,t,i,u){return H_(e,t,i,u)}var b4={usingClientEntryPoint:!1,Events:[Pl,cf,Ug,rd,Mu,Z3]};function K_(e,t){return b4.usingClientEntryPoint||g('You are importing createRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),U_(e,t)}function Z_(e,t,i){return b4.usingClientEntryPoint||g('You are importing hydrateRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),z_(e,t,i)}function J_(e){return rk()&&g("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task."),Us(e)}var X_=P_({findFiberByHostInstance:rc,bundleType:1,version:m4,rendererPackageName:"react-dom"});if(!X_&&Tt&&window.top===window.self&&(navigator.userAgent.indexOf("Chrome")>-1&&navigator.userAgent.indexOf("Edge")===-1||navigator.userAgent.indexOf("Firefox")>-1)){var qk=window.location.protocol;/^(https?|file):$/.test(qk)&&console.info("%cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools"+(qk==="file:"?`
168
+ You might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq`:""),"font-weight:bold")}ro.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=b4,ro.createPortal=q_,ro.createRoot=K_,ro.findDOMNode=Y_,ro.flushSync=J_,ro.hydrate=Q_,ro.hydrateRoot=Z_,ro.render=G_,ro.unmountComponentAtNode=$_,ro.unstable_batchedUpdates=Z3,ro.unstable_renderSubtreeIntoContainer=W_,ro.version=m4,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),ro}function V7(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function")){if(xc.process.env.NODE_ENV!=="production")throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(V7)}catch(r){console.error(r)}}}xc.process.env.NODE_ENV==="production"?(V7(),hT.exports=KR()):hT.exports=ZR();var Y7=hT.exports,GT={exports:{}};function JR(r){try{return JSON.stringify(r)}catch{return'"[Circular]"'}}var XR=eD;function eD(r,o,s){var m=s&&s.stringify||JR,p=1;if(typeof r=="object"&&r!==null){var v=o.length+p;if(v===1)return r;var g=new Array(v);g[0]=m(r);for(var T=1;T<v;T++)g[T]=m(o[T]);return g.join(" ")}if(typeof r!="string")return r;var I=o.length;if(I===0)return r;for(var C="",D=1-p,R=-1,x=r&&r.length||0,j=0;j<x;){if(r.charCodeAt(j)===37&&j+1<x){switch(R=R>-1?R:0,r.charCodeAt(j+1)){case 100:case 102:if(D>=I||o[D]==null)break;R<j&&(C+=r.slice(R,j)),C+=Number(o[D]),R=j+2,j++;break;case 105:if(D>=I||o[D]==null)break;R<j&&(C+=r.slice(R,j)),C+=Math.floor(Number(o[D])),R=j+2,j++;break;case 79:case 111:case 106:if(D>=I||o[D]===void 0)break;R<j&&(C+=r.slice(R,j));var Q=typeof o[D];if(Q==="string"){C+="'"+o[D]+"'",R=j+2,j++;break}if(Q==="function"){C+=o[D].name||"<anonymous>",R=j+2,j++;break}C+=m(o[D]),R=j+2,j++;break;case 115:if(D>=I)break;R<j&&(C+=r.slice(R,j)),C+=String(o[D]),R=j+2,j++;break;case 37:R<j&&(C+=r.slice(R,j)),C+="%",R=j+2,j++,D--;break}++D}++j}return R===-1?r:(R<x&&(C+=r.slice(R)),C)}const Tb=XR;GT.exports=qs;const P1=hD().console||{},tD={mapHttpRequest:ny,mapHttpResponse:ny,wrapRequestSerializer:C4,wrapResponseSerializer:C4,wrapErrorSerializer:C4,req:ny,res:ny,err:bb,errWithCause:bb};function Ty(r,o){return r==="silent"?1/0:o.levels.values[r]}const HT=Symbol("pino.logFuncs"),gT=Symbol("pino.hierarchy"),nD={error:"log",fatal:"error",warn:"error",info:"log",debug:"log",trace:"log"};function kb(r,o){const s={logger:o,parent:r[gT]};o[gT]=s}function rD(r,o,s){const m={};o.forEach(p=>{m[p]=s[p]?s[p]:P1[p]||P1[nD[p]||"log"]||U1}),r[HT]=m}function aD(r,o){return Array.isArray(r)?r.filter(function(m){return m!=="!stdSerializers.err"}):r===!0?Object.keys(o):!1}function qs(r){r=r||{},r.browser=r.browser||{};const o=r.browser.transmit;if(o&&typeof o.send!="function")throw Error("pino: transmit option must have a send function");const s=r.browser.write||P1;r.browser.write&&(r.browser.asObject=!0);const m=r.serializers||{},p=aD(r.browser.serialize,m);let v=r.browser.serialize;Array.isArray(r.browser.serialize)&&r.browser.serialize.indexOf("!stdSerializers.err")>-1&&(v=!1);const g=Object.keys(r.customLevels||{}),T=["error","fatal","warn","info","debug","trace"].concat(g);typeof s=="function"&&T.forEach(function(W){s[W]=s}),(r.enabled===!1||r.browser.disabled)&&(r.level="silent");const I=r.level||"info",C=Object.create(s);C.log||(C.log=U1),rD(C,T,s),kb({},C),Object.defineProperty(C,"levelVal",{get:R}),Object.defineProperty(C,"level",{get:x,set:j});const D={transmit:o,serialize:p,asObject:r.browser.asObject,levels:T,timestamp:fD(r)};C.levels=oD(r),C.level=I,C.setMaxListeners=C.getMaxListeners=C.emit=C.addListener=C.on=C.prependListener=C.once=C.prependOnceListener=C.removeListener=C.removeAllListeners=C.listeners=C.listenerCount=C.eventNames=C.write=C.flush=U1,C.serializers=m,C._serialize=p,C._stdErrSerialize=v,C.child=Q,o&&(C._logEvent=yT());function R(){return Ty(this.level,this)}function x(){return this._level}function j(W){if(W!=="silent"&&!this.levels.values[W])throw Error("unknown level "+W);this._level=W,Tc(this,D,C,"error"),Tc(this,D,C,"fatal"),Tc(this,D,C,"warn"),Tc(this,D,C,"info"),Tc(this,D,C,"debug"),Tc(this,D,C,"trace"),g.forEach(le=>{Tc(this,D,C,le)})}function Q(W,le){if(!W)throw new Error("missing bindings for child Pino");le=le||{},p&&W.serializers&&(le.serializers=W.serializers);const G=le.serializers;if(p&&G){var se=Object.assign({},m,G),te=r.browser.serialize===!0?Object.keys(se):p;delete W.serializers,Py([W],te,se,this._stdErrSerialize)}function ue(ye){this._childLevel=(ye._childLevel|0)+1,this.bindings=W,se&&(this.serializers=se,this._serialize=te),o&&(this._logEvent=yT([].concat(ye._logEvent.bindings,W)))}ue.prototype=this;const Z=new ue(this);return kb(this,Z),Z.level=this.level,Z}return C}function oD(r){const o=r.customLevels||{},s=Object.assign({},qs.levels.values,o),m=Object.assign({},qs.levels.labels,iD(o));return{values:s,labels:m}}function iD(r){const o={};return Object.keys(r).forEach(function(s){o[r[s]]=s}),o}qs.levels={values:{fatal:60,error:50,warn:40,info:30,debug:20,trace:10},labels:{10:"trace",20:"debug",30:"info",40:"warn",50:"error",60:"fatal"}};qs.stdSerializers=tD;qs.stdTimeFunctions=Object.assign({},{nullTime:Q7,epochTime:G7,unixTime:pD,isoTime:mD});function sD(r){const o=[];r.bindings&&o.push(r.bindings);let s=r[gT];for(;s.parent;)s=s.parent,s.logger.bindings&&o.push(s.logger.bindings);return o.reverse()}function Tc(r,o,s,m){if(r[m]=Ty(r.level,s)>Ty(m,s)?U1:s[HT][m],!o.transmit&&r[m]===U1)return;r[m]=uD(r,o,s,m);const p=sD(r);p.length!==0&&(r[m]=lD(p,r[m]))}function lD(r,o){return function(){return o.apply(this,[...r,...arguments])}}function uD(r,o,s,m){return function(p){return function(){const g=o.timestamp(),T=new Array(arguments.length),I=Object.getPrototypeOf&&Object.getPrototypeOf(this)===P1?P1:this;for(var C=0;C<T.length;C++)T[C]=arguments[C];if(o.serialize&&!o.asObject&&Py(T,this._serialize,this.serializers,this._stdErrSerialize),o.asObject?p.call(I,cD(this,m,T,g)):p.apply(I,T),o.transmit){const D=o.transmit.level||r._level,R=s.levels.values[D],x=s.levels.values[m];if(x<R)return;dD(this,{ts:g,methodLevel:m,methodValue:x,transmitLevel:D,transmitValue:s.levels.values[o.transmit.level||r._level],send:o.transmit.send,val:Ty(r._level,s)},T)}}}(r[HT][m])}function cD(r,o,s,m){r._serialize&&Py(s,r._serialize,r.serializers,r._stdErrSerialize);const p=s.slice();let v=p[0];const g={};m&&(g.time=m),g.level=r.levels.values[o];let T=(r._childLevel|0)+1;if(T<1&&(T=1),v!==null&&typeof v=="object"){for(;T--&&typeof p[0]=="object";)Object.assign(g,p.shift());v=p.length?Tb(p.shift(),p):void 0}else typeof v=="string"&&(v=Tb(p.shift(),p));return v!==void 0&&(g.msg=v),g}function Py(r,o,s,m){for(const p in r)if(m&&r[p]instanceof Error)r[p]=qs.stdSerializers.err(r[p]);else if(typeof r[p]=="object"&&!Array.isArray(r[p]))for(const v in r[p])o&&o.indexOf(v)>-1&&v in s&&(r[p][v]=s[v](r[p][v]))}function dD(r,o,s){const m=o.send,p=o.ts,v=o.methodLevel,g=o.methodValue,T=o.val,I=r._logEvent.bindings;Py(s,r._serialize||Object.keys(r.serializers),r.serializers,r._stdErrSerialize===void 0?!0:r._stdErrSerialize),r._logEvent.ts=p,r._logEvent.messages=s.filter(function(C){return I.indexOf(C)===-1}),r._logEvent.level.label=v,r._logEvent.level.value=g,m(v,r._logEvent,T),r._logEvent=yT(I)}function yT(r){return{ts:0,messages:[],bindings:r||[],level:{label:"",value:0}}}function bb(r){const o={type:r.constructor.name,msg:r.message,stack:r.stack};for(const s in r)o[s]===void 0&&(o[s]=r[s]);return o}function fD(r){return typeof r.timestamp=="function"?r.timestamp:r.timestamp===!1?Q7:G7}function ny(){return{}}function C4(r){return r}function U1(){}function Q7(){return!1}function G7(){return Date.now()}function pD(){return Math.round(Date.now()/1e3)}function mD(){return new Date(Date.now()).toISOString()}function hD(){function r(o){return typeof o<"u"&&o}try{return typeof globalThis<"u"||Object.defineProperty(Object.prototype,"globalThis",{get:function(){return delete Object.prototype.globalThis,this.globalThis=this},configurable:!0}),globalThis}catch{return r(self)||r(window)||r(this)||{}}}GT.exports.default=qs;var H7=GT.exports.pino=qs;H7({level:"trace",enabled:!1,browser:{write:r=>{console.log(r)}}});var wb;(function(r){r.OPENED="opened"})(wb||(wb={}));var Xf;(function(r){r[r.ONBOARDING=1]="ONBOARDING",r[r.QUESTION=2]="QUESTION",r[r.QUESTION_RESOLVED=3]="QUESTION_RESOLVED"})(Xf||(Xf={}));const $T={[Kt.TWEET]:{label:"Insight",iconName:"icon-insight"},[Kt.PROMOTION]:{label:"Insight",iconName:"icon-insight"},[Kt.UNSET]:void 0,[Kt.FACTOID]:{label:"Insight",iconName:"icon-insight"},[Kt.POLL]:{label:"Poll",iconName:"icon-poll"},[Kt.TRIVIA]:{label:"Trivia",iconName:"icon-trivia"},[Kt.PREDICTION]:{label:"Prediction",iconName:"icon-prediction"}},gD=de("div")({name:"Container",class:"c1bgb86j",propsAsIs:!1}),yD=de("video")({name:"Player",class:"p6703cq",propsAsIs:!1}),vD=de("img")({name:"Poster",class:"p12ow7zo",propsAsIs:!1}),TD=de("div")({name:"Control",class:"cdpal9o",propsAsIs:!1}),$7=({poster:r,source:o})=>{const s=Ke.useRef(null),[m,p]=Ke.useState(!1),[v,g]=Ke.useState(!0);return F.jsxs(gD,{onClick:()=>{const T=s==null?void 0:s.current;T&&p(I=>I?(T.pause(),!1):(T.play(),g(!1),!0))},children:[F.jsx(yD,{ref:s,src:o,onEnded:()=>{var T;(T=s==null?void 0:s.current)==null||T.load(),p(!1),g(!0)},style:{visibility:v?"hidden":"visible"}}),F.jsx(vD,{src:r,style:{visibility:v?"visible":"hidden"}}),F.jsx(TD,{children:!m&&F.jsx(hr,{name:"icon-play"})})]})},kD=de("div")({name:"InsightContainer",class:"i1pqqgpo",propsAsIs:!1}),bD=de("img")({name:"Image",class:"igj7luu",propsAsIs:!1}),wD=de("div")({name:"InsightContent",class:"i1qne9g6",propsAsIs:!1}),SD=de("h3")({name:"Title",class:"ttpr98r",propsAsIs:!1}),ED=de("div")({name:"Description",class:"d17iaqp8",propsAsIs:!1}),ND=de("button")({name:"ActionBtn",class:"a16t3y7s",propsAsIs:!1}),MD=({video:r,image:o,heading:s,body:m,action:p})=>F.jsxs(kD,{children:[(r==null?void 0:r.url)&&F.jsx($7,{source:r.url,poster:r.thumbnailUrl}),o&&!(r!=null&&r.url)&&F.jsx(bD,{src:o}),F.jsxs(wD,{children:[F.jsx(SD,{children:s}),F.jsx(ED,{children:m}),p&&F.jsx(ND,{onClick:p,children:"View Insight"})]})]}),ID=de("div")({name:"Container",class:"c1eptrjd",propsAsIs:!1}),_D=de("div")({name:"CloseIconWrap",class:"crylm65",propsAsIs:!1}),CD=()=>hr,AD=de(CD())({name:"CloseIcon",class:"c9mrcz7",propsAsIs:!0}),OD=de("div")({name:"Header",class:"hw3lzv4",propsAsIs:!1}),xD=()=>hr,LD=de(xD())({name:"TypeIcon",class:"t1rrb3kf",propsAsIs:!0}),RD=de("span")({name:"TypeName",class:"t1ydnjov",propsAsIs:!1}),DD=de("div")({name:"Question",class:"qlf90cl",propsAsIs:!1}),PD=de("button")({name:"AnswerButton",class:"a1e0nhcl",propsAsIs:!1}),UD=de("div")({name:"Container",class:"cjq447q",propsAsIs:!1}),jD=de("div")({name:"ImageContainer",class:"i14egogb",propsAsIs:!1}),zD=de("img")({name:"Image",class:"i2g9g4l",propsAsIs:!1}),BD=()=>hr,FD=de(BD())({name:"TwitterIcon",class:"t1c454nm",propsAsIs:!0}),VD=de("div")({name:"Details",class:"d11nigc3",propsAsIs:!1}),YD=de("div")({name:"Name",class:"nrxa4k8",propsAsIs:!1}),QD=de("div")({name:"UserName",class:"u1p051g3",propsAsIs:!1}),GD=({image:r,name:o,userName:s,verified:m})=>F.jsxs(UD,{children:[r&&F.jsxs(jD,{children:[F.jsx(zD,{src:r}),F.jsx(FD,{name:"twitter"})]}),F.jsxs(VD,{children:[F.jsxs(YD,{children:[o," ",m&&F.jsx(hr,{name:"icon-twitter-verified"})]}),s&&F.jsxs(QD,{children:["@",s]})]})]}),HD=de("div")({name:"Container",class:"c1kzqw87",propsAsIs:!1}),$D=de("div")({name:"Details",class:"d9r1hf9",propsAsIs:!1}),qD=de("div")({name:"Body",class:"bezygt5",propsAsIs:!1}),q7=({image:r,body:o,account:s,accountVerified:m})=>F.jsx(HD,{children:F.jsxs($D,{children:[F.jsx(GD,{image:r,name:s,userName:s,verified:m}),F.jsx(qD,{children:o})]})}),WD=de("div")({name:"Container",class:"c1t4f0x4",propsAsIs:!1}),KD=de("button")({name:"ActionBtn",class:"a16w1nl6",propsAsIs:!1}),ZD=de("div")({name:"QuoteWrap",class:"q14u54rf",propsAsIs:!1}),JD=de("blockquote")({name:"Quote",class:"q1hxm6zo",propsAsIs:!1}),XD=({action:r,...o})=>F.jsxs(WD,{children:[o.title&&F.jsx(ZD,{children:F.jsx(JD,{children:o.title})}),F.jsx(q7,{...o}),r&&F.jsx(KD,{onClick:r,children:"View Insight"})]}),Sb=({close:r,action:o,data:{questionType:s,question:m,insight:p,tweet:v}})=>{const g=$T[s];return g?F.jsxs(ID,{children:[F.jsx(_D,{onClick:r,children:F.jsx(AD,{name:"icon-cross"})}),s!==Kt.TWEET&&F.jsxs(OD,{children:[F.jsx(LD,{"data-type-trivia":s===Kt.TRIVIA,"data-type-poll":s===Kt.POLL,name:g.iconName}),F.jsx(RD,{children:g.label})]}),s===Kt.FACTOID&&F.jsx(MD,{...p,action:o}),s===Kt.TWEET&&F.jsx(XD,{...v,action:o}),s!==Kt.FACTOID&&s!==Kt.TWEET&&F.jsxs(F.Fragment,{children:[F.jsx(DD,{children:m==null?void 0:m.title}),F.jsx(PD,{onClick:o,children:"Answer"})]})]}):null},jf=de("div")({name:"BGWrap",class:"b1dqe0sz",propsAsIs:!1}),Ya=de("div")({name:"BGLineBase",class:"b1v6w7ni",propsAsIs:!1}),eP=()=>Ya,tP=de(eP())({name:"BGOneLineOne",class:"b2nqb1p",propsAsIs:!0}),nP=()=>Ya,rP=de(nP())({name:"BGOneLineTwo",class:"b1xxgmbk",propsAsIs:!0}),aP=()=>Ya,oP=de(aP())({name:"BGOneLineThree",class:"b63lwcb",propsAsIs:!0}),iP=()=>Ya,Eb=de(iP())({name:"BGTwoLineOne",class:"b2iah4",propsAsIs:!0}),sP=()=>Ya,Nb=de(sP())({name:"BGTwoLineTwo",class:"b1xezvf6",propsAsIs:!0}),lP=()=>Ya,Mb=de(lP())({name:"BGTwoLineThree",class:"b1jz1hg0",propsAsIs:!0}),uP=()=>Ya,Ib=de(uP())({name:"BGThreeLineOne",class:"b18ho1tk",propsAsIs:!0}),cP=()=>Ya,_b=de(cP())({name:"BGThreeLineTwo",class:"b14uvjfm",propsAsIs:!0}),dP=()=>Ya,Cb=de(dP())({name:"BGThreeLineThree",class:"b11c3ns7",propsAsIs:!0}),fP=()=>Ya,Ab=de(fP())({name:"BGThreeLineFour",class:"b1bqhhet",propsAsIs:!0}),pP=()=>Ya,mP=de(pP())({name:"BGFourLineOne",class:"b1xyzi7o",propsAsIs:!0}),hP=()=>Ya,gP=de(hP())({name:"BGFourLineTwo",class:"byo0rup",propsAsIs:!0}),yP=()=>Ya,vP=de(yP())({name:"BGFourLineThree",class:"b1oyiqgv",propsAsIs:!0}),TP=()=>Ya,kP=de(TP())({name:"BGFourLineFour",class:"bx3ddqw",propsAsIs:!0}),bP=({step:r,correct:o})=>F.jsxs(F.Fragment,{children:[F.jsxs(jf,{"data-active":r===1,"data-first-screen":"true",children:[F.jsx(tP,{}),F.jsx(rP,{}),F.jsx(oP,{})]}),F.jsxs(jf,{"data-active":r===2,children:[F.jsx(Eb,{}),F.jsx(Nb,{}),F.jsx(Mb,{})]}),F.jsxs(jf,{"data-active":r===3,children:[F.jsx(Eb,{}),F.jsx(Nb,{}),F.jsx(Mb,{})]}),o?F.jsxs(F.Fragment,{children:[F.jsxs(jf,{"data-active":r===4,"data-correct":"false",children:[F.jsx(Ib,{}),F.jsx(_b,{}),F.jsx(Cb,{}),F.jsx(Ab,{})]}),F.jsxs(jf,{"data-active":r===5,"data-correct":"false","data-last-screen":"true",children:[F.jsx(Ib,{}),F.jsx(_b,{}),F.jsx(Cb,{}),F.jsx(Ab,{})]})]}):F.jsxs(jf,{"data-active":r===4,"data-correct":"false","data-last-screen":"true",children:[F.jsx(mP,{}),F.jsx(gP,{}),F.jsx(vP,{}),F.jsx(kP,{})]})]}),wP=de("div")({name:"Container",class:"c1pgyo67",propsAsIs:!1}),SP="hx17qu6",Uy=({children:r,style:o,className:s,hiding:m})=>F.jsx(wP,{style:o,className:vy(s,m&&SP),children:r}),EP=118,NP=()=>Uy,MP=de(NP())({name:"Container",class:"c10131zw",propsAsIs:!0}),IP=de("div")({name:"InnerContainer",class:"ir6k2eo",propsAsIs:!1}),zf=de("div")({name:"Content",class:"c1hwoq9l",propsAsIs:!1}),Bf=de("div")({name:"Title",class:"t4ujo4g",propsAsIs:!1}),O1=de("div")({name:"Subtitle",class:"s1pjil1h",propsAsIs:!1}),_P=()=>O1,Ob=de(_P())({name:"SubtitleFG",class:"s1iorwr9",propsAsIs:!0}),ry=de("div")({name:"AnswerText",class:"a51sv9d",propsAsIs:!1}),CP=()=>hr,A4=de(CP())({name:"FeedbackIcon",class:"f1lbk2ye",propsAsIs:!0}),xb=de("button")({name:"CloseButton",class:"crcvk3t",propsAsIs:!1}),AP=()=>hr,Lb=de(AP())({name:"CloseIcon",class:"c33p82r",propsAsIs:!0}),Ff=(r,o)=>r===o?"translateY(0px)":r>o?"translateY(100%)":"translateY(-100%)",OP=({close:r,votedAnswer:o,correct:s,correctAnswerTitle:m,questionTitle:p,saveHeight:v,style:g,hiding:T})=>{const[I,C]=Ke.useState(1),D=Ke.useRef({});Ke.useEffect(()=>{const x=setInterval(()=>{C(j=>s&&j>4||!s&&j>3?j:++j)},6e3);return()=>clearInterval(x)},[s]),Ke.useEffect(()=>{var x,j;D.current[I]&&v(((j=(x=D.current[I])==null?void 0:x.getBoundingClientRect())==null?void 0:j.height)||EP)},[I,v]);const R=x=>j=>{D.current&&(D.current[x]=j)};return F.jsx(MP,{style:g.height?g:{...g,paddingTop:0,paddingBottom:0},hiding:T,children:F.jsxs(IP,{style:{height:g.height,minHeight:g.height,backgroundColor:I>3?"var(--color-white)":"var(--color-primary-green2)"},children:[F.jsx(bP,{step:I,correct:s}),F.jsxs(zf,{ref:R(1),style:{transform:Ff(1,I)},children:[F.jsx(Bf,{children:"Master"}),F.jsx(Ob,{children:"FEATURED GROUPS +"})]}),F.jsxs(zf,{ref:R(2),style:{transform:Ff(2,I)},children:[F.jsx(Bf,{children:"Prediction results are in!"}),F.jsx(Ob,{children:"FEATURED GROUPS +"})]}),F.jsxs(zf,{ref:R(3),style:{transform:Ff(3,I)},children:[F.jsx(Bf,{children:p}),F.jsx(O1,{children:F.jsxs(ry,{children:["Your Pick: ",o==null?void 0:o.title]})})]}),s?F.jsxs(F.Fragment,{children:[F.jsxs(zf,{ref:R(4),style:{transform:Ff(4,I),color:"var(--color-primary-green1)"},children:[F.jsx(Bf,{children:"Congratulations! You answered correctly."}),F.jsxs(O1,{children:[F.jsx(A4,{name:"selected"}),F.jsxs(ry,{children:["Your Pick: ",o==null?void 0:o.title]})]})]}),F.jsxs(zf,{ref:R(5),style:{transform:Ff(5,I),color:"var(--color-primary-green1)"},children:[F.jsxs(Bf,{children:["+",o==null?void 0:o.points," points"]}),F.jsxs(O1,{children:[F.jsx(A4,{name:"selected"}),F.jsxs(ry,{children:["Your Pick: ",o==null?void 0:o.title]})]}),F.jsx(xb,{onClick:r,children:F.jsx(Lb,{name:"icon-cross"})})]})]}):F.jsxs(zf,{ref:R(4),style:{transform:Ff(4,I)},children:[F.jsxs(Bf,{style:{color:"var(--color-neutrals-gray9)"},children:["Better luck next time! Correct: ",m,"."]}),F.jsxs(O1,{style:{color:"var(--color-secondary-red1)"},children:[F.jsx(A4,{name:"circleClose"}),F.jsxs(ry,{children:["Your Pick: ",o==null?void 0:o.title]})]}),F.jsx(xb,{onClick:r,children:F.jsx(Lb,{name:"icon-cross"})})]})]})})};let Eo;typeof window<"u"?Eo=window:typeof self<"u"?Eo=self:Eo=ap.global;let vT=null,TT=null;const Rb=20,O4=Eo.clearTimeout,Db=Eo.setTimeout,x4=Eo.cancelAnimationFrame||Eo.mozCancelAnimationFrame||Eo.webkitCancelAnimationFrame,Pb=Eo.requestAnimationFrame||Eo.mozRequestAnimationFrame||Eo.webkitRequestAnimationFrame;x4==null||Pb==null?(vT=O4,TT=function(o){return Db(o,Rb)}):(vT=function([o,s]){x4(o),O4(s)},TT=function(o){const s=Pb(function(){O4(m),o()}),m=Db(function(){x4(s),o()},Rb);return[s,m]});function xP(r){let o,s,m,p,v,g,T;const I=typeof document<"u"&&document.attachEvent;if(!I){g=function(G){const se=G.__resizeTriggers__,te=se.firstElementChild,ue=se.lastElementChild,Z=te.firstElementChild;ue.scrollLeft=ue.scrollWidth,ue.scrollTop=ue.scrollHeight,Z.style.width=te.offsetWidth+1+"px",Z.style.height=te.offsetHeight+1+"px",te.scrollLeft=te.scrollWidth,te.scrollTop=te.scrollHeight},v=function(G){return G.offsetWidth!==G.__resizeLast__.width||G.offsetHeight!==G.__resizeLast__.height},T=function(G){if(G.target.className&&typeof G.target.className.indexOf=="function"&&G.target.className.indexOf("contract-trigger")<0&&G.target.className.indexOf("expand-trigger")<0)return;const se=this;g(this),this.__resizeRAF__&&vT(this.__resizeRAF__),this.__resizeRAF__=TT(function(){v(se)&&(se.__resizeLast__.width=se.offsetWidth,se.__resizeLast__.height=se.offsetHeight,se.__resizeListeners__.forEach(function(Z){Z.call(se,G)}))})};let x=!1,j="";m="animationstart";const Q="Webkit Moz O ms".split(" ");let W="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),le="";{const G=document.createElement("fakeelement");if(G.style.animationName!==void 0&&(x=!0),x===!1){for(let se=0;se<Q.length;se++)if(G.style[Q[se]+"AnimationName"]!==void 0){le=Q[se],j="-"+le.toLowerCase()+"-",m=W[se],x=!0;break}}}s="resizeanim",o="@"+j+"keyframes "+s+" { from { opacity: 0; } to { opacity: 0; } } ",p=j+"animation: 1ms "+s+"; "}const C=function(x){if(!x.getElementById("detectElementResize")){const j=(o||"")+".resize-triggers { "+(p||"")+'visibility: hidden; opacity: 0; } .resize-triggers, .resize-triggers > div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',Q=x.head||x.getElementsByTagName("head")[0],W=x.createElement("style");W.id="detectElementResize",W.type="text/css",r!=null&&W.setAttribute("nonce",r),W.styleSheet?W.styleSheet.cssText=j:W.appendChild(x.createTextNode(j)),Q.appendChild(W)}};return{addResizeListener:function(x,j){if(I)x.attachEvent("onresize",j);else{if(!x.__resizeTriggers__){const Q=x.ownerDocument,W=Eo.getComputedStyle(x);W&&W.position==="static"&&(x.style.position="relative"),C(Q),x.__resizeLast__={},x.__resizeListeners__=[],(x.__resizeTriggers__=Q.createElement("div")).className="resize-triggers";const le=Q.createElement("div");le.className="expand-trigger",le.appendChild(Q.createElement("div"));const G=Q.createElement("div");G.className="contract-trigger",x.__resizeTriggers__.appendChild(le),x.__resizeTriggers__.appendChild(G),x.appendChild(x.__resizeTriggers__),g(x),x.addEventListener("scroll",T,!0),m&&(x.__resizeTriggers__.__animationListener__=function(te){te.animationName===s&&g(x)},x.__resizeTriggers__.addEventListener(m,x.__resizeTriggers__.__animationListener__))}x.__resizeListeners__.push(j)}},removeResizeListener:function(x,j){if(I)x.detachEvent("onresize",j);else if(x.__resizeListeners__.splice(x.__resizeListeners__.indexOf(j),1),!x.__resizeListeners__.length){x.removeEventListener("scroll",T,!0),x.__resizeTriggers__.__animationListener__&&(x.__resizeTriggers__.removeEventListener(m,x.__resizeTriggers__.__animationListener__),x.__resizeTriggers__.__animationListener__=null);try{x.__resizeTriggers__=!x.removeChild(x.__resizeTriggers__)}catch{}}}}}class LP extends Ke.Component{constructor(...o){super(...o),this.state={height:this.props.defaultHeight||0,scaledHeight:this.props.defaultHeight||0,scaledWidth:this.props.defaultWidth||0,width:this.props.defaultWidth||0},this._autoSizer=null,this._detectElementResize=null,this._parentNode=null,this._resizeObserver=null,this._timeoutId=null,this._onResize=()=>{this._timeoutId=null;const{disableHeight:s,disableWidth:m,onResize:p}=this.props;if(this._parentNode){var v,g,T,I;const C=window.getComputedStyle(this._parentNode)||{},D=parseFloat((v=C.paddingLeft)!==null&&v!==void 0?v:"0"),R=parseFloat((g=C.paddingRight)!==null&&g!==void 0?g:"0"),x=parseFloat((T=C.paddingTop)!==null&&T!==void 0?T:"0"),j=parseFloat((I=C.paddingBottom)!==null&&I!==void 0?I:"0"),Q=this._parentNode.getBoundingClientRect(),W=Q.height-x-j,le=Q.width-D-R,G=this._parentNode.offsetHeight-x-j,se=this._parentNode.offsetWidth-D-R;(!s&&(this.state.height!==G||this.state.scaledHeight!==W)||!m&&(this.state.width!==se||this.state.scaledWidth!==le))&&(this.setState({height:G,width:se,scaledHeight:W,scaledWidth:le}),typeof p=="function"&&p({height:G,scaledHeight:W,scaledWidth:le,width:se}))}},this._setRef=s=>{this._autoSizer=s}}componentDidMount(){const{nonce:o}=this.props;this._autoSizer&&this._autoSizer.parentNode&&this._autoSizer.parentNode.ownerDocument&&this._autoSizer.parentNode.ownerDocument.defaultView&&this._autoSizer.parentNode instanceof this._autoSizer.parentNode.ownerDocument.defaultView.HTMLElement&&(this._parentNode=this._autoSizer.parentNode,this._parentNode!=null&&(typeof ResizeObserver<"u"?(this._resizeObserver=new ResizeObserver(()=>{this._timeoutId=setTimeout(this._onResize,0)}),this._resizeObserver.observe(this._parentNode)):(this._detectElementResize=xP(o),this._detectElementResize.addResizeListener(this._parentNode,this._onResize)),this._onResize()))}componentWillUnmount(){this._parentNode&&(this._detectElementResize&&this._detectElementResize.removeResizeListener(this._parentNode,this._onResize),this._timeoutId!==null&&clearTimeout(this._timeoutId),this._resizeObserver&&(this._resizeObserver.observe(this._parentNode),this._resizeObserver.disconnect()))}render(){const{children:o,defaultHeight:s,defaultWidth:m,disableHeight:p=!1,disableWidth:v=!1,nonce:g,onResize:T,style:I={},tagName:C="div",...D}=this.props,{height:R,scaledHeight:x,scaledWidth:j,width:Q}=this.state,W={overflow:"visible"},le={};let G=!1;return p||(R===0&&(G=!0),W.height=0,le.height=R,le.scaledHeight=x),v||(Q===0&&(G=!0),W.width=0,le.width=Q,le.scaledWidth=j),Ke.createElement(C,{ref:this._setRef,style:{...W,...I},...D},!G&&o(le))}}const RP=de("div")({name:"Container",class:"c1htq1lb",propsAsIs:!1}),DP=de("div")({name:"Content",class:"cjyzpp7",propsAsIs:!1}),PP=de("div")({name:"Graphic",class:"g16mldgz",propsAsIs:!1}),UP=de("div")({name:"Headline",class:"h69js65",propsAsIs:!1}),jP=de("div")({name:"StepsContainer",class:"smm7qmo",propsAsIs:!1}),zP=de("span")({name:"StepIndicator",class:"s17knuw2",propsAsIs:!1}),BP=({width:r,graphicSrc:o,headline:s,stepsCount:m,currentStep:p})=>F.jsxs(RP,{children:[F.jsxs(DP,{children:[F.jsx(PP,{"data-centered":p===0,children:F.jsx("img",{src:o,alt:s,width:r||300})}),s&&F.jsx(UP,{children:s})]}),F.jsx(jP,{children:Array.from({length:m}).map((v,g)=>F.jsx(zP,{"data-active":p===g},g))})]}),FP=de("div")({name:"Container",class:"c1itm4k7",propsAsIs:!1}),VP=de("div")({name:"IconContainer",class:"i1w4fsni",propsAsIs:!1}),YP=()=>hr,QP=de(YP())({name:"InviteGameIcon",class:"i19m85r1",propsAsIs:!0}),GP=de("div")({name:"Content",class:"c1mbu204",propsAsIs:!1}),HP=de("div")({name:"Heading",class:"h1amdqtv",propsAsIs:!1}),$P=de("div")({name:"Subtext",class:"s1lhlj9j",propsAsIs:!1}),qP=de("div")({name:"LinkContainer",class:"l1wot35e",propsAsIs:!1}),WP=de("div")({name:"LinkInfo",class:"l1jdw39q",propsAsIs:!1}),KP=de("span")({name:"LinkTitle",class:"l1cr5mk",propsAsIs:!1}),ZP=de("span")({name:"LinkAddress",class:"lvi87q4",propsAsIs:!1}),JP=()=>hr,XP=de(JP())({name:"LinkIcon",class:"l1pqlvw3",propsAsIs:!0}),eU=de("div")({name:"SocialLinksContainer",class:"s1n7kzeh",propsAsIs:!1}),tU=de("a")({name:"SocialLink",class:"s2m9o9y",propsAsIs:!1}),nU=de("span")({name:"SocialLinkLabel",class:"sewjbbn",propsAsIs:!1}),W7=({inviteLink:r,socialLinks:o,inviteCardTitle:s,inviteCardSubtext:m,primaryColor:p,className:v})=>F.jsxs(FP,{className:v,children:[F.jsx(VP,{style:{backgroundColor:p},children:F.jsx(QP,{name:"invite-game-icon"})}),F.jsxs(GP,{children:[F.jsx(HP,{children:s||""}),F.jsx($P,{children:m||""})]}),r&&F.jsxs(qP,{onClick:async()=>{if(r)try{await navigator.clipboard.writeText(r)}catch(g){console.error("Unable to copy to clipboard",g)}},children:[F.jsxs(WP,{children:[F.jsx(KP,{children:"Invite link"}),F.jsx(ZP,{children:r})]}),F.jsx(XP,{name:"icon-copy"})]}),o&&o.length>0&&F.jsx(eU,{children:o.map(({icon:g,link:T,label:I})=>F.jsxs(tU,{href:T,target:"_blank",children:[F.jsx(hr,{name:g}),F.jsx(nU,{children:I})]},T))})]}),rU=de("div")({name:"Container",class:"cm0bev",propsAsIs:!1}),aU=de("div")({name:"Content",class:"ce7x737",propsAsIs:!1}),oU=de("div")({name:"Title",class:"tc2tor6",propsAsIs:!1}),iU=de("div")({name:"RulesList",class:"r1k5klql",propsAsIs:!1}),sU=de("div")({name:"RulesItem",class:"r1tf3ft2",propsAsIs:!1}),lU=de("div")({name:"RuleIcon",class:"rwpvg1k",propsAsIs:!1}),uU=de("div")({name:"RuleText",class:"rbxiag0",propsAsIs:!1}),cU=de("button")({name:"TermsButton",class:"t6cyrry",propsAsIs:!1}),dU=({rules:r,rulesTitle:o,primaryColor:s})=>F.jsxs(rU,{children:[F.jsxs(aU,{children:[F.jsx(oU,{children:o}),F.jsx(iU,{children:r==null?void 0:r.map(({label:m,icon:p},v)=>F.jsxs(sU,{children:[p&&F.jsx(lU,{style:{backgroundColor:s},children:F.jsx(hr,{name:p,"data-icon":p})}),F.jsx(uU,{children:m})]},v))})]}),F.jsx(cU,{children:"See Terms and Conditions"})]}),fU=de("button")({name:"SButton",class:"s1nve60q",propsAsIs:!1}),pU=de("span")({name:"ButtonLabel",class:"b1xoswwx",propsAsIs:!1}),K7=({disabled:r,variant:o="primary",onClick:s,children:m,...p})=>F.jsx(fU,{onClick:s,disabled:r,"data-variant":o,...p,children:F.jsx(pU,{children:m})}),mU=de("div")({name:"Container",class:"c18uddbs",propsAsIs:!1}),hU=de("div")({name:"Content",class:"cvcfjf6",propsAsIs:!1}),gU=de("div")({name:"OnboardingHeader",class:"o1ie27lw",propsAsIs:!1}),yU=de("button")({name:"CloseBtn",class:"c15cjkwi",propsAsIs:!1}),vU=()=>hr,TU=de(vU())({name:"IconClose",class:"i1mavjt2",propsAsIs:!0}),kU=de("div")({name:"OnboardingFooter",class:"o1x0dyzv",propsAsIs:!1}),bU=()=>K7,wU=de(bU())({name:"OnboardingActionBtn",class:"o1jfi9c3",propsAsIs:!0}),Vf={steps:!1,rules:!1,inviteCard:!1},SU=({gamification:r,steps:o,rules:s,rulesBtnLabel:m,rulesTitle:p,primaryColor:v,inviteLink:g,socialLinks:T,inviteCardTitle:I,inviteCardSubtext:C,inviteCardBtnLabel:D,onClose:R})=>{const[x,j]=Ke.useState(0),[Q,W]=Ke.useState(Vf);Ke.useEffect(()=>{o!=null&&o.length?W({...Vf,steps:!0}):s!=null&&s.length?W({...Vf,rules:!0}):W({...Vf,inviteCard:!0})},[]);const le=Ke.useMemo(()=>Q.steps&&x===0?"Continue":Q.rules?m||"Got it":Q.inviteCard?D||"Play Now":"Next",[Q,x,m,D]),G=Ke.useCallback(()=>{o!=null&&o.length&&x<o.length-1?j(te=>++te):s!=null&&s.length&&Q.steps?W({...Vf,rules:!0}):Q.rules&&W({...Vf,inviteCard:!0})},[x,o==null?void 0:o.length,s==null?void 0:s.length,Q,j,W]),se=async()=>{await r.onboardingStatus.submitInplay()};return F.jsx(LP,{children:({width:te,height:ue})=>F.jsxs(mU,{style:{width:te,height:ue},children:[F.jsx(gU,{children:F.jsx(yU,{onClick:R,children:F.jsx(TU,{name:"icon-close-btn-gray"})})}),F.jsxs(hU,{children:[Q.steps&&(o==null?void 0:o.length)&&F.jsx(BP,{stepsCount:o.length,currentStep:x,...o[x]}),Q.rules&&F.jsx(dU,{rules:s,rulesTitle:p,primaryColor:v}),Q.inviteCard&&F.jsx(W7,{inviteLink:g,inviteCardTitle:I,inviteCardSubtext:C,primaryColor:v,socialLinks:T})]}),F.jsx(kU,{children:F.jsx(wU,{onClick:Q.inviteCard?se:G,children:le})})]})})},EU=de("div")({name:"Container",class:"cocfo2g",propsAsIs:!1}),NU=de("div")({name:"CloseIconWrap",class:"c1pdhxdk",propsAsIs:!1}),MU=()=>hr,IU=de(MU())({name:"CloseIcon",class:"c1funj3r",propsAsIs:!0}),_U=de("div")({name:"Title",class:"t1okg06y",propsAsIs:!1}),CU=de("img")({name:"SponsorLogo",class:"sb1n923",propsAsIs:!1}),AU=de("div")({name:"PresentsTitle",class:"p1stllxd",propsAsIs:!1}),OU=de("div")({name:"Subtitle",class:"s13kvdzw",propsAsIs:!1}),xU=de("div")({name:"Description",class:"dfvmv3t",propsAsIs:!1}),LU=de("button")({name:"ActionButton",class:"ay8e3j9",propsAsIs:!1}),Ub=({close:r,action:o,onboarding:s})=>{var m,p,v,g,T,I,C,D;return F.jsxs(EU,{children:[F.jsx(NU,{onClick:r,children:F.jsx(IU,{name:"icon-cross"})}),((p=(m=s==null?void 0:s.titleCard)==null?void 0:m.media)==null?void 0:p.sponsorLogo)&&F.jsxs(_U,{children:[F.jsx(CU,{alt:"sponsor-logo",src:(g=(v=s==null?void 0:s.titleCard)==null?void 0:v.media)==null?void 0:g.sponsorLogo}),F.jsx(AU,{children:"PRESENTS"})]}),((T=s==null?void 0:s.titleCard)==null?void 0:T.title)&&F.jsx(OU,{children:(I=s==null?void 0:s.titleCard)==null?void 0:I.title}),((C=s==null?void 0:s.titleCard)==null?void 0:C.subtitle)&&F.jsx(xU,{children:(D=s==null?void 0:s.titleCard)==null?void 0:D.subtitle}),F.jsx(LU,{onClick:o,children:"Play Now"})]})},RU="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOTIiIGhlaWdodD0iMTkiIHZpZXdCb3g9IjAgMCA5MiAxOSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE0LjE3MDEgMC45NTM5OTZDMTMuOTA0NyAwLjg3MzE0NSAxMy42MzkzIDEuMDE3NyAxMy4zNzM5IDEuMTY0N0MxMy4yNzk3IDEuMjE2MTUgMTMuMjEyNyAxLjMwNjggMTMuMTkwNCAxLjQwOTdMMTIuNzczNiAzLjMzMjk4QzEyLjc1ODggMy40MDQwNCAxMi44MjMzIDMuNDY3NzQgMTIuODk1MiAzLjQ1MzA0QzEzLjMzNDIgMy4zNTUwNCAxMy43NTA5IDIuOTc1MjggMTQuMTkgMy4xMDc1OEMxNC42ODExIDMuMjU3MDMgMTUuMTcyMiAyLjY0MjA3IDE1LjY2MzQgMi42NDk0MlYwLjQyOTY4OEMxNS4xNjk4IDAuNDMyMTM4IDE0LjY2MTMgMS4xMDM0NSAxNC4xNzAxIDAuOTUzOTk2WiIgZmlsbD0iIzAwNjc0NyIvPgo8cGF0aCBkPSJNMjAuNDQwNCA2Ljg0Nzg2QzIwLjMzNjIgNi43NzY4MSAyMC4yNzE3IDYuNjYxNjYgMjAuMjcxNyA2LjUzNjcxVjYuMTg2MzVDMjAuMjcxNyA1Ljg3Mjc1IDIwLjAxMzggNS42MTU0OSAxOS42OTM4IDUuNjE1NDlIMTkuNDYzMUMxOS4xODc4IDUuNjE1NDkgMTguOTM0OCA1Ljc1MjY5IDE4Ljc4NTkgNS45ODA1NUwxOC4wNDE4IDcuMTE0OTJDMTcuOTY3NCA3LjIyNzYyIDE3Ljg0MzQgNy4yOTM3NyAxNy43MDk0IDcuMjkzNzdIMTcuMjA4NEMxNi45NjAzIDcuMjkzNzcgMTYuNzMyMSA3LjQyODUyIDE2LjYxMzEgNy42NDQxMkMxNi40OTE1IDcuODY3MDggMTYuMjc1NyA4LjAyMTQzIDE2LjAzMDIgOC4wNzI4OFYwLjE4MTMwM0MxNi4wMzAyIDAuMDgwODUxMyAxNS45NDgzIDAgMTUuODQ2NiAwQzE1Ljc0NDkgMCAxNS42NjMgMC4wODA4NTEzIDE1LjY2MyAwLjE4MTMwM1YwLjQyNjMwN1YyLjY0NjA0VjguMDc3NzhDMTUuNDE3NSA4LjAyNjMzIDE1LjIwMTcgNy44NzE5OCAxNS4wODAxIDcuNjQ2NTdDMTQuOTYzNiA3LjQzMDk3IDE0LjczNTQgNy4yOTYyMiAxNC40ODQ4IDcuMjk2MjJIMTQuMTQ3NUMxMy44Nzk2IDcuMjk2MjIgMTMuNjM5IDcuNDUwNTcgMTMuNTI5OCA3LjY5MzEyTDEzLjI0OTYgOC4zMTI5OUMxMy4yMDQ5IDguNDEwOTkgMTMuMTA1NyA4LjQ3NDY5IDEyLjk5NjUgOC40NzQ2OUMxMi44ODc0IDguNDc0NjkgMTIuNzg4MiA4LjQxMDk5IDEyLjc0MzUgOC4zMTI5OUwxMi40NjMzIDcuNjkzMTJDMTIuMzU0MSA3LjQ1MzAyIDEyLjExMzUgNy4yOTYyMiAxMS44NDU2IDcuMjk2MjJIMi4zMzgwMkMyLjI2MTEzIDcuMjk2MjIgMi4xOTkxMSA3LjM1NzQ3IDIuMTk5MTEgNy40MzM0MkMyLjE5OTExIDcuNTk1MTIgMi4wNjUxNyA3LjcyNDk4IDEuOTAzOTQgNy43MjQ5OEgxLjQ5MjE4QzEuNDE1MjkgNy43MjQ5OCAxLjM1MzI4IDcuNzg2MjMgMS4zNTMyOCA3Ljg2MjE4VjguMzM1MDRDMS4zNTMyOCA4Ljc3ODQ5IDEuMjY2NDYgOS4yMDk3IDEuMDkyODMgOS42MTg4NkwwLjg0MjMwMyAxMC4yMTQyQzAuNjA5MTQgMTAuNzY1NSAwLjUgMTEuMzM2MyAwLjUgMTEuODk3NFYxMy4yNjk0QzAuNSAxMy42Mzk0IDAuNTU0NTcgMTQuMDE0MiAwLjY2MzcxIDE0LjM3OTNDMC45Njg4MDcgMTUuNDAzNCAxLjY2MzM0IDE2LjI0MTMgMi42MTgzMSAxNi43MzYyTDQuMTM4ODMgMTcuNTI3NkM0LjE1ODY4IDE3LjUzNzQgNC4xODEgMTcuNTQyMyA0LjIwMzMyIDE3LjU0MjNMNS4zMjY5NyAxNy41NTIxQzUuNTg5OSAxNy41NTQ1IDUuODQ3ODcgMTcuNjIwNyA2LjA3ODU1IDE3Ljc0ODFMNi42ODEzIDE4LjA4MTNDNi43MDExNSAxOC4wOTM1IDYuNzI1OTUgMTguMDk4NCA2Ljc1MDc2IDE4LjA5ODRINy41NTY5QzcuODM5NjggMTguMDk4NCA4LjExOTk3IDE4LjE3NDQgOC4zNjA1NyAxOC4zMTg5QzguMzYwNTcgMTguMzE4OSA4Ljc1NDk3IDE4LjU1NjYgOC44ODg5MSAxOC42MzI2QzkuMTAyMjMgMTguNzU1MSA5LjM2MDIgMTguODcyNyA5LjgwOTE2IDE4Ljg5NzJDOS45MTA4NiAxOC45MDIxIDEwLjAxMjYgMTguODY1MyAxMC4wODk1IDE4Ljc5NDNDMTAuMTYzOSAxOC43MjMyIDEwLjIwODUgMTguNjIyOCAxMC4yMDg1IDE4LjUyMjNWMTcuOTg4MkMxMC4yMDg1IDE3LjYwMTEgMTAuNDM5MiAxNy4yNDgzIDEwLjc5ODkgMTcuMDkzOUwxMi4wMzE3IDE2LjU1OThDMTIuMjAwMyAxNi40ODYzIDEyLjM4ODggMTYuNDc0MSAxMi41NjQ5IDE2LjUyOEwxMy4wMjYzIDE2LjY2MjdDMTMuMjIyMyAxNi43MTkxIDEzLjQzMDYgMTYuNzIxNSAxMy42MjY2IDE2LjY2MjdMMTQuNzE4IDE2LjM0MThDMTQuODYxOSAxNi4zMDAxIDE1LjAxNTYgMTYuMzAwMSAxNS4xNjIgMTYuMzQ0MkwxNS42MDYgMTYuNDY2N0MxNS44MTE5IDE2LjUyMzEgMTUuOTU4MiAxNi43MTQyIDE1Ljk1ODIgMTYuOTI0OVYxNy45OTMxQzE1Ljk1ODIgMTguNDkwNSAxNi4zNjc1IDE4Ljg5NzIgMTYuODcxIDE4Ljg5NzJDMTcuMjQ4MSAxOC44OTcyIDE3LjU3OCAxOC42NTk1IDE3LjY5MjEgMTguMzA0MkMxNy44OTc5IDE3LjY2NDggMTguMDAyMSAxNi45OTg0IDE4LjAwMjEgMTYuMzI3MVYxNS44NzE0QzE4LjAwMjEgMTUuNTQ4IDE4LjEzODUgMTUuMjM2OCAxOC4zNzY3IDE1LjAxMzhMMTguODMwNiAxNC41OUMxOS4xMzU3IDE0LjMwMzMgMTkuMzExOCAxMy44OTY2IDE5LjMxMTggMTMuNDgwMVYxMC45NDY4QzE5LjMxMTggMTAuNTU0OCAxOS40MzA5IDEwLjE3NSAxOS42NTkxIDkuODUxNjFDMTkuNjc2NCA5LjgyOTU2IDE5LjY4MzkgOS44MDAxNiAxOS42ODM5IDkuNzczMjFWOS4xNzU0QzE5LjY4MzkgOC43ODU4NCAxOS44MDI5IDguNDA4NTQgMjAuMDI2MiA4LjA4NzU4TDIwLjQ3NTEgNy40NDMyMkMyMC40OTI1IDcuNDIxMTcgMjAuNDk5OSA3LjM5NDIyIDIwLjQ5OTkgNy4zNjQ4MlY2Ljk2MDU2QzIwLjUwMjQgNi44ODQ2MSAyMC40NTUzIDYuODU3NjYgMjAuNDQwNCA2Ljg0Nzg2Wk0xNi4wMzAyIDEyLjg1NTRDMTYuMzM1MiAxMi45MDE5IDE2LjU2MzQgMTMuMDU2MyAxNi41NjM0IDEzLjI0MjVDMTYuNTYzNCAxMy40Mjg3IDE2LjMzNzcgMTMuNTgzIDE2LjAzMDIgMTMuNjI5NlYxMi44NTU0Wk0yLjk4MDQ2IDE2LjYxMzdMMi43NDk3OCAxNi40OTM3QzIuMTIyMjIgMTYuMTY3OCAxLjYyMTE3IDE1LjY4MjcgMS4yNzg4NiAxNS4wOTIyVjE0LjM1MjNDMS42NzA3OCAxNC45MTM0IDIuMjA0MDcgMTUuMzkxMiAyLjg1NjQ0IDE1LjczMTdMMi45ODA0NiAxNS43OTU0VjE2LjYxMzdaTTQuMTQxMzEgMTcuMjE4OUwzLjUyNjE2IDE2LjkwMDRWMTYuMDgyMUw0LjEzODgzIDE2LjQwMDZINC4xNDEzMVYxNy4yMTg5Wk02LjcwMTE1IDE3Ljc3NUw2LjIxNDk4IDE3LjUwNTVDNS45NDk1NyAxNy4zNTg1IDUuNjUxOTEgMTcuMjgwMSA1LjM0NjgyIDE3LjI3NTJWMTYuNDIyNkM1LjYwMjMgMTYuNDI3NSA1Ljg1NTMxIDE2LjQ5MzcgNi4wNzg1NSAxNi42MTYyTDYuNjgxMyAxNi45NDk0QzYuNjg2MjYgMTYuOTUxOCA2LjY5MzcgMTYuOTUxOCA2LjcwMTE1IDE2Ljk1NDNWMTcuNzc1Wk05LjkyODIyIDE3Ljk4ODJWMTguNDA0N1YxOC41MjIzQzkuOTI4MjIgMTguNTQ5MyA5LjkxNTgyIDE4LjU3NjIgOS44OTU5OCAxOC41OTU4QzkuODc2MTMgMTguNjE1NCA5Ljg1MTMzIDE4LjYyMjggOS44MjQwNCAxOC42MjI4QzkuNDM0NjEgMTguNjAzMiA5LjIxMTM3IDE4LjUwMjcgOS4wMzAzIDE4LjM5NzNDOC44OTg4MyAxOC4zMjE0IDguNTA2OTIgMTguMDg2MiA4LjUwNDQ0IDE4LjA4NjJDOC4yNTg4NyAxNy45MzkyIDcuOTgxMDYgMTcuODU4MyA3LjY5NTgxIDE3LjgzNjNWMTYuOTc4OEM3LjkyODk3IDE3LjAwMDggOC4xNTcxOCAxNy4wNjk0IDguMzYwNTcgMTcuMTg5NUw4LjcwMDQgMTcuMzkwNEM5LjA3MjQ2IDE3LjYxMDkgOS40OTY2MiAxNy43MzU4IDkuOTI4MjIgMTcuNzYwM1YxNy45ODgyWk0xMy4yODY4IDE2LjQyNzVDMTMuMjI3MiAxNi40MjUxIDEzLjE2NTIgMTYuNDE1MyAxMy4xMDU3IDE2LjM5ODFMMTIuNjQ0MyAxNi4yNjA5QzEyLjU0NTEgMTYuMjMxNSAxMi40NDM0IDE2LjIyMTcgMTIuMzQxNyAxNi4yMjE3VjE1LjM2NjdDMTIuNDE2MSAxNS4zNjY3IDEyLjQ5MDUgMTUuMzc0IDEyLjU2NDkgMTUuMzk2MUwxMy4wMjYzIDE1LjUzMDhDMTMuMTEwNyAxNS41NTUzIDEzLjE5OTkgMTUuNTY3NiAxMy4yODY4IDE1LjU3MjVWMTYuNDI3NVpNMTYuMTc2NSAxNi42MzMzQzE2LjA4NzIgMTYuNDI3NSAxNS45MTExIDE2LjI2MzQgMTUuNjg1NCAxNi4yMDIxTDE1LjI0MzggMTYuMDc5NkMxNS4xMzk3IDE2LjA0NzggMTUuMDMwNSAxNi4wMzU1IDE0LjkyMTQgMTYuMDM1NVYxNS4xODI5QzE1LjAwNTcgMTUuMTgwNCAxNS4wOTAxIDE1LjE5MDIgMTUuMTcxOSAxNS4yMTcyTDE1LjUzNDEgMTUuMzI5OUMxNS45MTg1IDE1LjQ1IDE2LjE3NjUgMTUuNzk3OSAxNi4xNzY1IDE2LjE5NDhWMTYuNjMzM1pNMTcuNDQ5IDE4LjE0NzRDMTcuNDQxNSAxOC4xNzE5IDE3LjQzNjYgMTguMTk2NCAxNy40MjkxIDE4LjIyMDlDMTcuMzUyMiAxOC40NjExIDE3LjEyOSAxOC42MjAzIDE2Ljg3NiAxOC42MjAzQzE2Ljg1MzcgMTguNjIwMyAxNi44MzEzIDE4LjYxNTQgMTYuODA5IDE4LjYxM1YxNy43NjI4QzE2LjgyNjQgMTcuNzY1MiAxNi44NDEzIDE3Ljc2NzcgMTYuODU4NiAxNy43Njc3QzE3LjEwNjcgMTcuNzY3NyAxNy4zMzI0IDE3LjYzMDUgMTcuNDUxNSAxNy40MjIyVjE4LjE0NzRIMTcuNDQ5Wk0xOS44MzAyIDcuNDgyNDJDMTkuNTUyNCA3Ljg3OTMzIDE5LjQwNjEgOC4zNDQ4NCAxOS40MDYxIDguODI3NDlWOS4yNDg5TDE5LjE5MDMgOS41NTc2QzE4LjkxIDkuOTU2OTYgMTguNzYxMSAxMC40MjQ5IDE4Ljc2MTEgMTAuOTFWMTMuMDM0MkMxOC43NjExIDEzLjM3NzIgMTguNjE3MyAxMy43MTI5IDE4LjM2NDMgMTMuOTQ4MUwxNy45MTAzIDE0LjM3NDRDMTcuNjA1MiAxNC42NjEgMTcuNDM2NiAxNS4wNjI4IDE3LjQ0OSAxNS40Nzk0TDE3LjQ1MTUgMTUuNTc0OUMxNy40Njg4IDE2LjEyNjIgMTcuMzk2OSAxNi42NzUgMTcuMjQwNiAxNy4yMDQyQzE3LjE5MSAxNy4zNzMyIDE3LjAzMjMgMTcuNDkwOCAxNi44NTYxIDE3LjQ5MDhDMTYuNjM1NCAxNy40OTA4IDE2LjQ1NDMgMTcuMzE0NCAxNi40NTQzIDE3LjA5MzlWMTYuMTk0OEMxNi40NTQzIDE1LjY3NTQgMTYuMTE3IDE1LjIyMjEgMTUuNjE1OSAxNS4wNjc3TDE1LjI1MzggMTQuOTU1QzE1LjA1MjggMTQuODkzOCAxNC44NDIgMTQuODkxMyAxNC42Mzg2IDE0Ljk1MDFMMTMuNTQ3MiAxNS4yNjg2QzEzLjQwMzMgMTUuMzEwMyAxMy4yNDk2IDE1LjMxMDMgMTMuMTA1NyAxNS4yNjg2TDEyLjY0NDMgMTUuMTMzOUMxMi40MDYyIDE1LjA2MjggMTIuMTQ4MiAxNS4wOCAxMS45MiAxNS4xNzhMMTAuOTUwMiAxNS41OTk0QzEwLjMzMDEgMTUuODY4OSA5LjkzMDcgMTYuNDc0MSA5LjkzMDcgMTcuMTQyOVYxNy40ODg0QzkuNTQ4NzEgMTcuNDY2MyA5LjE3NjY0IDE3LjM1MzYgOC44NDY3NCAxNy4xNTc2TDguNTA2OTIgMTYuOTU2N0M4LjIxOTE5IDE2Ljc4NzcgNy44OTE3NyAxNi42OTcgNy41NTY5IDE2LjY5N0g2Ljc4NTQ4TDYuMjE0OTggMTYuMzgxQzUuOTQ0NjEgMTYuMjMxNSA1LjYzOTUxIDE2LjE1MzEgNS4zMjk0NSAxNi4xNTA3TDQuMjM4MDUgMTYuMTQzM0wyLjk4NTQyIDE1LjQ5MTZDMS4wODUzOSAxNC41MDQyIDAuMjc0Mjc4IDEyLjI4MjEgMS4xMDAyNyAxMC4zMjJMMS4zNTA4IDkuNzI2NjZDMS41MzY4MyA5LjI4NTY1IDEuNjMzNTcgOC44MTc2OSAxLjYzMzU3IDguMzM3NDlWOC4wMDQyOEgxLjkwMzk0QzIuMTcxODMgOC4wMDQyOCAyLjQwMDAzIDcuODIwNTMgMi40NjIwNCA3LjU3MzA3SDExLjg0ODFDMTIuMDA0NCA3LjU3MzA3IDEyLjE0ODIgNy42NjM3MiAxMi4yMTAyIDcuODA1ODNMMTIuNDkwNSA4LjQyNTY5QzEyLjU3OTggOC42MjQxNCAxMi43NzgzIDguNzUxNTQgMTIuOTk5IDguNzUxNTRDMTMuMjE3MyA4Ljc1MTU0IDEzLjQxODIgOC42MjQxNCAxMy41MDc1IDguNDI1NjlMMTMuNzg3OCA3LjgwMzM4QzEzLjg1MjMgNy42NjEyNyAxMy45OTM3IDcuNTcwNjIgMTQuMTUgNy41NzA2MkgxNC40ODczQzE0LjYzMzcgNy41NzA2MiAxNC43Njc2IDcuNjQ5MDIgMTQuODM3IDcuNzc2NDNDMTUuMDA4MiA4LjA5MDAzIDE1LjMxNTggOC4zMDA3NCAxNS42NjU1IDguMzU3MDlWMTIuMjU3NUMxNS4xMDI1IDEyLjMxODggMTQuNjcwOSAxMi42NDk2IDE0LjY3MDkgMTMuMDUxNEMxNC42NzA5IDEzLjQ5NzMgMTUuMTk2NyAxMy44NTc0IDE1Ljg0NjYgMTMuODU3NEMxNi40OTY1IDEzLjg1NzQgMTcuMDIyMyAxMy40OTczIDE3LjAyMjMgMTMuMDUxNEMxNy4wMjIzIDEyLjY0OTYgMTYuNTkwNyAxMi4zMTYzIDE2LjAyNzcgMTIuMjU3NVY4LjM1NDY0QzE2LjM3NzQgOC4yOTgyOCAxNi42ODUgOC4wODc1OCAxNi44NTYxIDcuNzczOThDMTYuOTI1NiA3LjY0NjU3IDE3LjA1OTUgNy41NjgxNyAxNy4yMDU5IDcuNTY4MTdIMTcuNzA2OUMxNy45Mzc2IDcuNTY4MTcgMTguMTQ4NSA3LjQ1MzAyIDE4LjI3NSA3LjI2MTkyTDE5LjAxOTEgNi4xMjc1NUMxOS4xMTU4IDUuOTc4MSAxOS4yODIgNS44ODk5IDE5LjQ2MzEgNS44ODk5SDE5LjY5MzhDMTkuODU3NSA1Ljg4OTkgMTkuOTkxNCA2LjAyMjIgMTkuOTkxNCA2LjE4MzlWNi41MzQyNkMxOS45OTE0IDYuNzAzMzEgMjAuMDU4NCA2Ljg2NTAxIDIwLjE3NSA2Ljk4NTA2TDE5LjgzMDIgNy40ODI0MlpNMTUuNjYzIDEyLjg1NTRWMTMuNjI5NkMxNS4zNTc5IDEzLjU4MyAxNS4xMzIyIDEzLjQyODcgMTUuMTMyMiAxMy4yNDI1QzE1LjEzMjIgMTMuMDU2MyAxNS4zNTc5IDEyLjg5OTUgMTUuNjYzIDEyLjg1NTRaIiBmaWxsPSIjMDA2NzQ3Ii8+CjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNNDMuNjM1NSAxNC4yMjEyTDQ1Ljc4MyA2LjYzNjI3QzQ2LjAxNzUgNS44MDkwMSA0Ni42MjkgNS4xNDQ5OCA0Ny40Mjg4IDQuODQ4TDQ3LjQ4NzQgNC42MDEwN0g0NC41MDI4TDM5LjQzNCAxMC42OTg5TDM3LjQ5NDIgNC42MDEwN0gzNC43NjM2TDM0LjY5NzggNC44NDhDMzUuMTY1MyA1LjA4MjEzIDM1LjQyMyA1Ljc4MTc2IDM1LjQyMyA2LjM1MDk3VjYuMzg2MjhDMzUuNDIzIDkuNjM0NjkgMzMuMDQ0MyAxNS4yMTgzIDI5LjY5ODQgMTUuMjE4M0MyOC4zOTgyIDE1LjIxODMgMjcuNzI0MiAxNC4yOTAxIDI3LjcyNDIgMTMuNTE2NUMyNy43MjQyIDEyLjU3OTQgMjguNTAwMyAxMS45MTI5IDI5LjMxOTEgMTEuOTEyOUMzMC4xMTIgMTEuOTEyOSAzMC4yMzQyIDEyLjIxMSAzMC42OTA5IDEyLjIxMUMzMC45Njk2IDEyLjIxMSAzMS4yMzY2IDEyLjA2NjcgMzEuMzcwMSAxMS44MTk1QzMxLjU3OTcgMTEuNDMxMyAzMS40MjA4IDEwLjk1NzIgMzEuMDM3NiAxMC43NzE0TDMwLjgyODMgMTAuNjcwNUMyOC44Nzc1IDkuNzIyMjggMjYuNjE1MiAxMS4xNTgyIDI2LjYxNTIgMTMuMzQ1M1YxMy4zNzU2QzI2LjYxNTIgMTQuOTY3NSAyNy44NTI1IDE2LjI5ODkgMjkuNDI3NSAxNi4zNTQ1QzMzLjQ4NjcgMTYuNDk4MyAzNi4yMDE5IDEwLjk2NjEgMzYuNjMzOCA2LjkxNjg0TDM2Ljk0NTggOC4wMTI0M0wzOC41NDQ4IDEyLjg1NDVIMzkuMTUwNEw0NC4xNDUyIDYuODM0MjVMNDIuMDQ5OCAxNC4yMjlDNDEuODA5NCAxNS4wNzczIDQxLjE0MzcgMTUuNzM0NCA0MC4yOTg1IDE1Ljk1OEw0MC4yMzk5IDE2LjIwNDlINDQuMjU2MUw0NC4zMjE2IDE1Ljk1OEM0My43MjgzIDE1LjYwNDMgNDMuNDQ2MSAxNC44OTAyIDQzLjYzNTUgMTQuMjIxMloiIGZpbGw9IiMwMDY3NDciLz4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik01MS45ODQ3IDEyLjYzMzVINTAuMDYyNUM1MC4yODA4IDEyLjAzNCA1MC40ODk4IDExLjQ2MTcgNTAuNTYwMyAxMS4yNzQzQzUxLjA0NjUgOS45NzY4MiA1MS45NzEgOS40NTE4MyA1Mi44NjY1IDkuMzc4NDJMNTIuODU3MiA5LjM4NjJMNTEuOTg0NyAxMi42MzM1Wk01My43MTU5IDguNzI2MDdINTMuNjgxN0M1MS44MDcxIDguNzI4MyA0OS43OTE2IDguOTExNTUgNDguNzE5IDExLjk5MDNDNDcuODE3OSAxNC41NzY3IDQ3LjU3NDUgMTUuNjQ4MSA0Ni44NzA1IDE1LjY0ODFDNDYuNDIwNCAxNS42NDgxIDQ2LjUyOTcgMTQuNzYzIDQ1Ljg1NDkgMTQuNzYzQzQ1LjU1MDkgMTQuNzYzIDQ1LjIzMzIgMTUuMDA5MyA0NS4yMTA0IDE1LjM2NjFDNDUuMTcwNSAxNS45ODI2IDQ1Ljk5MDkgMTYuMzU1NSA0Ni42MDkyIDE2LjM1NTVDNDguNDkyOSAxNi4zNTU1IDQ5LjIxNDggMTQuOTY3MSA0OS40NTA1IDE0LjMyMDNDNDkuNDgxIDE0LjIzNTggNDkuNjQ3MyAxMy43NzggNDkuODQzNiAxMy4yMzg2SDUxLjgyMzFMNTEuNDg3OCAxNC40ODY2QzUxLjMxMDcgMTUuMTQ1IDUwLjk0NjUgMTUuNjgzOSA1MC4zMzA0IDE1Ljk1OTVMNTAuMjc3MiAxNi4yMDYySDUzLjUxNTRMNTMuNTc1NSAxNS45NTk1QzUzLjEzNzIgMTUuNTk0MSA1Mi45NDY5IDE1LjAwODIgNTMuMDg5IDE0LjQ2MjdMNTQuMzA3NSA5Ljc4MzAyQzU0LjQwMTEgOS40MjQwMyA1NC42NDcyIDkuMTI3ODkgNTQuOTgwOSA4Ljk3M0w1NS4wMzM4IDguNzI2MDdINTMuOTc4NUg1My43MTU5WiIgZmlsbD0iIzAwNjc0NyIvPgo8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTcwLjA1NiA5LjI2MDI2QzcwLjE2MDEgOS4wODYxOSA3MC4yNTk1IDguODIwMzUgNzAuMjU5NSA4LjY3MTg2TDcwLjI1OTcgOC42NzEwM0M3MC4yNzQxIDguMzkwMTggNzAuMDIwOCA4LjE3MjczIDY5Ljc0ODggOC4yMzE5Nkg2OS43NDgyQzY5LjUzMDQgOC4yNzk1MSA2OS4zNzMgOC40NzQ5OSA2OS4zNzcxIDguNzAwMjNDNjkuMzgwNyA4LjkzNDM2IDY5LjMzNDEgOS4xODU3NCA2OS4yMzUzIDkuMzA4MzZDNjkuMDA4MiA5LjU5MTE2IDY4LjY0NSA5LjU2Njk3IDY2Ljk3MTcgOS4wODE3NFY5LjA3ODk2QzY2LjgxODYgOS4wMzM2MyA2Ni42NTA0IDguOTg0MTQgNjYuNDczMSA4LjkzNDkyQzY2LjQ2MzcgOC45MzI0MSA2Ni40NTQ5IDguOTI5NjMgNjYuNDQ1MyA4LjkyNjU3TDY2LjQ0NTYgOC45Mjc0MUM2NS42MTA2IDguNjk4IDY0LjU3MzIgOC40ODc1IDYzLjg5MjkgOC44Mjg2OUM2My44ODc0IDguODMxNDggNjMuODgxNiA4LjgzNDUzIDYzLjg3NjQgOC44MzcwNEM2My4yMTE4IDkuMTc0MDYgNjIuNzQ3OSA5LjgxMjIzIDYyLjYwODYgMTAuNTUwMkM2Mi41ODc5IDEwLjY1ODcgNjIuNTcyOCAxMC43NDY4IDYyLjU3MTEgMTAuNzc4OFYxMC43Nzk5QzYyLjU1MTMgMTEuMTY3NSA2Mi45MDA5IDExLjQ2NzkgNjMuMjc2NyAxMS4zODY0TDYzLjI3NzMgMTEuMzg1OEM2My41ODIxIDExLjMxOTYgNjMuNzk2NSAxMS4wNDQxIDYzLjc5MDIgMTAuNzI5NkM2My43ODM2IDEwLjQxMTcgNjMuNzIwNSA5Ljk4NzQxIDYzLjg5MTggOS43MDI2N0M2NC4xNjc0IDkuMzEwNTkgNjQuNDUzNyA5LjI4Mjc4IDY1LjczNjEgOS43MTQ2Mkw2NC4zNDM2IDE0LjQ4NzdDNjQuMTUxNCAxNS4xNDU2IDYzLjY4MTIgMTUuNjg0OCA2My4wNTkgMTUuOTYwMUw2My4wMDAxIDE2LjIwNzNINjYuMzMxOUw2Ni4zOTc3IDE1Ljk2MDFDNjUuOTY3OSAxNS41OTUgNjUuNzkwNiAxNS4wMDg4IDY1Ljk0NTMgMTQuNDYzNUw2Ny4xNjI4IDEwLjE2MzdDNjcuNjk2OSAxMC4yNzYgNjguMjM4MSAxMC4zMDUgNjguNzY1MSAxMC4xNTMxTDY4Ljk1NDggMTAuMDk4NkM2OS4zNzg3IDkuOTc2MjkgNjkuODEyOSA5LjY2NjggNzAuMDU2IDkuMjYwMjZaIiBmaWxsPSIjMDA2NzQ3Ii8+CjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNNzEuMzg4OSA4LjcyNjA3TDcxLjMyMzQgOC45NzMyOEM3MS43MzYgOS4yNjEwOCA3MS45MjE5IDkuNzgwNzkgNzEuNzg4NiAxMC4yNjcxTDcwLjU1MDYgMTQuNDgxNkM3MC4zNTg0IDE1LjE0IDY5Ljg4ODIgMTUuNjc4OSA2OS4yNjU5IDE1Ljk1NDJMNjkuMjA3IDE2LjIwMTFINzAuOTY5Nkg3MS4xMzA2SDc1LjE4NjhMNzUuNzIyNiAxNC4yMjUySDc1LjQ3MDlMNzUuMzgwNiAxNC40MTQ1Qzc1LjA0NDcgMTUuMTIwNiA3NC4zMzcyIDE1LjU2OTkgNzMuNTYxNCAxNS41Njk5SDcxLjg0MTVMNzIuNzU3MiAxMi4yNjIzTDczLjQ4NzggMTIuMjYxNUM3My45ODA3IDEyLjI2MTIgNzQuMzUxMiAxMi43MTUzIDc0LjI1NjggMTMuMjAzNkg3NC41MDg0TDc1LjEwOTQgMTAuOTY3OUg3NC44NTc4Qzc0LjcxMjIgMTEuMzgxNCA3NC4zMjUzIDExLjY1NzggNzMuODkwNCAxMS42NThMNzIuOTI0MyAxMS42NTkyTDczLjU1OTcgOS4zNjM0MUw3NS4zODI1IDkuMzYyMDJDNzUuOTc3NSA5LjM2MTQ2IDc2LjQyMjkgOS45MTI2IDc2LjMwNCAxMC41MDE1SDc2LjU1NTZMNzcuMDMzIDguNzI2MDdINzEuMzg4OVoiIGZpbGw9IiMwMDY3NDciLz4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik04Mi44NjU1IDEwLjUzMjRDODIuNjY2OCAxMS4yMDI4IDgyLjA1NjQgMTEuNjYyNyA4MS4zNjMyIDExLjY2MjdMODAuMzA3NiAxMS42NjM2TDgwLjk0NjYgOS4zNjcyNkw4Mi4wMDU1IDkuMzY2N0M4Mi42MDY3IDkuMzY2NDIgODMuMDM3OSA5Ljk1MTIgODIuODY1NSAxMC41MzI0Wk04Mi43OTc4IDguNzI5OThINzguNzcxMUw3OC43MDUzIDguOTc2OTFDNzkuMDkxOSA5LjI0NjM2IDc5LjI3OTEgOS43MTkzNSA3OS4xOTIxIDEwLjE3NzlMNzcuOTMxMSAxNC40ODQ2Qzc3LjczOSAxNS4xNDMxIDc3LjI2OSAxNS42ODIgNzYuNjQ2NSAxNS45NTczTDc2LjU4NzkgMTYuMjA0OEg3OS45MTY0TDc5Ljk4MjIgMTUuOTU3M0M3OS41NTI0IDE1LjU5MjIgNzkuMzc1NCAxNS4wMDYgNzkuNTI5NiAxNC40NjA3TDgwLjE0IDEyLjI2NjJIODAuMzk0NEM4MC43Nzg3IDEyLjI2NjUgODEuMTAxNCAxMi41NTg0IDgxLjE0MzggMTIuOTQ0NEM4MS4xNTc4IDEzLjA2OSA4MS4zNTA1IDE0LjU5NDcgODEuNTA0NCAxNS4xMTk1QzgxLjcwNTkgMTUuODA1MiA4MS45NzA1IDE2LjIwNSA4Mi41NzI5IDE2LjIwNUg4NC4wNzg4TDg0LjEzNzUgMTUuOTU3OEw4My45MjE5IDE1LjgyODhDODMuNDk2NiAxNS41NzM4IDgzLjE4ODUgMTUuMTc3MyA4My4wNTA4IDE0LjY1MzFDODIuOTIwMyAxNC4xNTg1IDgyLjY3NyAxMy4yMzcyIDgyLjU1NzggMTIuNzQ5NUM4Mi40OTYxIDEyLjQ5ODEgODIuMTg2NiAxMi4yNjU0IDgxLjg2NjcgMTIuMjY1NEw4Mi4zNzQxIDEyLjI2NTFDODMuMjg0IDEyLjI2NDUgODQuMDgyNyAxMS42NTI1IDg0LjMyOCAxMC43NjcxQzg0LjYxMSA5Ljc0MzgyIDgzLjg0OTUgOC43Mjk5OCA4Mi43OTc4IDguNzI5OThaIiBmaWxsPSIjMDA2NzQ3Ii8+CjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNNjAuNjg0MiA5LjEwOTMxQzYwLjU3NiA5LjEwOTMxIDYwLjM0MzEgOS4wMzQ3OCA1OS45ODU4IDguODg0NjNDNTkuNjI4MSA4LjczNDQ3IDU5LjI2NjkgOC42NTk2NyA1OC45MDI3IDguNjU5NjdDNTguMTQ2NyA4LjY1OTY3IDU3LjUxNTcgOC45MDY4NyA1Ni45OTk3IDkuNDM1MkM1Ni41NzAzIDkuODc0ODMgNTYuMzc5NSAxMC4zNjI4IDU2LjM3OTUgMTAuNzg1MkM1Ni4zNzk1IDExLjIzNDkgNTYuNjM5OSAxMS43NjM1IDU3LjE2MTYgMTIuMTkwOUM1Ny42NTQyIDEyLjU5NDkgNTguMTY2OCAxMi45ODIgNTguNjggMTMuMzc3MUM1OS4yMTk2IDEzLjgxMzQgNTkuNDg5NyAxNC4yMTU4IDU5LjQ4OTcgMTQuNTQzMUM1OS40ODk3IDE1LjI2MTYgNTkuMDI2OSAxNS42NDgxIDU4LjA2ODggMTUuNjQ4MUM1Ny4wOTUzIDE1LjY0ODEgNTYuNDIyMSAxNC45Mjc2IDU2LjIwNjMgMTMuNTc4Mkg1NS45NDMxTDU1LjE3NzcgMTYuMjA0NUg1NS40MjAzQzU1LjczNjYgMTUuOTgwNyA1NS45NjE1IDE1LjgzNjYgNTYuNDIwMiAxNS44MzY2QzU2Ljg1OCAxNS44MzY2IDU3LjMyNTcgMTYuMzU1OCA1OC4zMjI5IDE2LjM1NThDNTkuMTE5MSAxNi4zNTU4IDU5Ljc0OTMgMTYuMTg5IDYwLjI4OTIgMTUuNjQzNEM2MC43NDgxIDE1LjE2NjggNjAuOTc3NSAxNC40OTk0IDYwLjk3NzUgMTMuOTUzOEM2MC45Nzc1IDEzLjQ0OTQgNjAuNjY0NCAxMi44NjEzIDYwLjExNzQgMTIuNDM3NUM1OS42NDggMTIuMDc0MSA1OS4xNDUzIDExLjc0OTYgNTguNjU5NiAxMS4zOTQ4QzU4LjEzMzIgMTAuOTk5MyA1Ny44NyAxMC42NjM3IDU3Ljg3IDEwLjI5NTZDNTcuODcgMTAuMDkwNiA1Ny45NzEzIDkuODg2NTEgNTguMTc0IDkuNjgyMTNDNTguNDMgOS40MjMyNSA1OC43NzMgOS4zNjU5NiA1OS4yMzIgOS4zNjU5NkM2MC4xNTI5IDkuMzY1OTYgNjAuNzk3NCA5Ljg4NDI5IDYwLjg1MTYgMTAuOTc0Nkg2MS4wOTQ1TDYxLjczNjggOC42NTk2N0g2MS40OTM5QzYxLjIzNzMgOC45NTk3MSA2MC45Njc1IDkuMTA5MzEgNjAuNjg0MiA5LjEwOTMxWiIgZmlsbD0iIzAwNjc0NyIvPgo8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTg5LjE3MTcgOS4zNjU2OUM5MC4wOTI2IDkuMzY1NjkgOTAuNzM3NCA5Ljg4NDAxIDkwLjc5MTQgMTAuOTc0M0g5MS4wMzQ1TDkxLjY3NjUgOC42NTk2N0g5MS40MzM0QzkxLjE3NzEgOC45NTkxNSA5MC45MDc1IDkuMTA5MDMgOTAuNjIzNyA5LjEwOTAzQzkwLjUxNTggOS4xMDkwMyA5MC4yODI5IDkuMDM0MjMgODkuOTI1MiA4Ljg4NDM1Qzg5LjU2NzYgOC43MzQ0NyA4OS4yMDY3IDguNjU5NjcgODguODQyMiA4LjY1OTY3Qzg4LjA4NjQgOC42NTk2NyA4Ny40NTU0IDguOTA2ODcgODYuOTM5NSA5LjQzNDkzQzg2LjUxIDkuODc0NTUgODYuMzE5MiAxMC4zNjI4IDg2LjMxOTIgMTAuNzg1Qzg2LjMxOTIgMTEuMjM1MSA4Ni41Nzk2IDExLjc2MjkgODcuMTAxNCAxMi4xOTA5Qzg3LjU5MzkgMTIuNTk0OSA4OC4xMDY1IDEyLjk4MTcgODguNjE5NyAxMy4zNzY4Qzg5LjE1OSAxMy44MTM0IDg5LjQyOTQgMTQuMjE1OCA4OS40Mjk0IDE0LjU0MjhDODkuNDI5NCAxNS4yNjEzIDg4Ljk2NjYgMTUuNjQ3OCA4OC4wMDg1IDE1LjY0NzhDODcuMDM1IDE1LjY0NzggODYuMzYxOSAxNC45Mjc0IDg2LjE0NTggMTMuNTc4Mkg4NS44ODI2TDg1LjExNzIgMTYuMjA0NUg4NS4zNjAzQzg1LjY3NjMgMTUuOTgwNyA4NS45MDEzIDE1LjgzNjYgODYuMzU5NyAxNS44MzY2Qzg2Ljc5NzcgMTUuODM2NiA4Ny4yNjUyIDE2LjM1NTggODguMjYyNiAxNi4zNTU4Qzg5LjA1ODggMTYuMzU1OCA4OS42ODkgMTYuMTg4NCA5MC4yMjg5IDE1LjY0MzRDOTAuNjg3OCAxNS4xNjYyIDkwLjkxNzIgMTQuNDk5MSA5MC45MTcyIDEzLjk1MzhDOTAuOTE3MiAxMy40NDk0IDkwLjYwNDEgMTIuODYxMyA5MC4wNTc0IDEyLjQzNzVDODkuNTg3NyAxMi4wNzM4IDg5LjA4NTMgMTEuNzQ5MyA4OC41OTk2IDExLjM5NDVDODguMDcyOSAxMC45OTkzIDg3LjgwOTcgMTAuNjYzMiA4Ny44MDk3IDEwLjI5NUM4Ny44MDk3IDEwLjA5MDkgODcuOTExIDkuODg2MjMgODguMTEzNCA5LjY4MTg1Qzg4LjM2OTcgOS40MjI5NyA4OC43MTI4IDkuMzY1NjkgODkuMTcxNyA5LjM2NTY5WiIgZmlsbD0iIzAwNjc0NyIvPgo8L3N2Zz4K",DU=de("div")({name:"OnboardingContainer",class:"o9squag",propsAsIs:!1}),PU=()=>Uy,UU=de(PU())({name:"OnboardingNotificationContainer",class:"o1c8wcli",propsAsIs:!0}),jb=de("div")({name:"InnerContainer",class:"i18oyadd",propsAsIs:!1}),jU="cebdc0u",zU=({deepLink:r,onboardingOpts:o,notification:s,gamification:m})=>{var p,v,g,T,I,C;const[D,R]=Ke.useState(void 0);return Ke.useEffect(()=>{const x=r.$store.subscribe(j=>{j&&R(j.data)});return()=>{x()}},[r.$store]),F.jsx(DU,{className:vy(s.hiding&&jU),children:F.jsx(SU,{rules:[{label:"Answer as many questions as you like.",icon:"icon-btn-feature-groups"},{label:"Win points for each correct trivia or prediction answer.",icon:"icon-thumb-up"},{label:"Top the leader board and best your friends.",icon:"icon-trophy"}],rulesBtnLabel:(p=o.rules)==null?void 0:p.buttonLabel,rulesTitle:(v=o.rules)==null?void 0:v.heading,steps:[{graphicSrc:"https://cdn.streamlayer.io/assets/sdk-web/onboarding-steps/step_1.png",headline:"Welcome to the Featured Groups +",width:80},{graphicSrc:"https://cdn.streamlayer.io/assets/sdk-web/onboarding-steps/step_2.png",headline:"Get real-time insights",width:264},{graphicSrc:"https://cdn.streamlayer.io/assets/sdk-web/onboarding-steps/step_3.png",headline:"Predictions, trivia & polls synced to match play"},{graphicSrc:"https://cdn.streamlayer.io/assets/sdk-web/onboarding-steps/step_4.png",headline:"Win points for every answer you get right"},{graphicSrc:"https://cdn.streamlayer.io/assets/sdk-web/onboarding-steps/step_5.png",headline:"Compete against friends on the leaderboard"}],primaryColor:(g=o.inviteCard)==null?void 0:g.iconColor,inviteLink:D==null?void 0:D.url,inviteCardTitle:(T=o.inviteCard)==null?void 0:T.heading,inviteCardSubtext:(I=o.inviteCard)==null?void 0:I.subtext,inviteCardBtnLabel:(C=o.inviteCard)==null?void 0:C.buttonLabel,onClose:()=>{var x;(x=s.close)==null||x.call(s)},socialLinks:[{icon:"icon-facebook",link:"https://www.facebook.com/TheMasters",label:"Facebook"},{icon:"icon-twitter",link:"https://twitter.com/@TheMasters",label:"X"}],gamification:m})})},BU=({sdk:r,notification:o,saveHeight:s,style:m})=>{var p;const v=Ke.useRef(null),[g,T]=Ke.useState(!1),I=r.getFeature(Xn.GAMES),C=o.data.onboarding;return(p=C==null?void 0:C.titleCard)!=null&&p.media&&(C.titleCard.media.sponsorLogo=RU),Ke.useLayoutEffect(()=>{var D;s(((D=v.current)==null?void 0:D.getBoundingClientRect().height)||0)},[s]),g&&I&&C?F.jsx(zU,{notification:o,setOpened:T,gamification:I,onboardingOpts:C,deepLink:I.deepLink}):F.jsxs(F.Fragment,{children:[F.jsx(jb,{ref:D=>{v.current=D},style:{position:"absolute",visibility:"hidden"},children:F.jsx(Ub,{close:()=>{},action:()=>{},onboarding:C})}),F.jsx(UU,{style:m,hiding:o.hiding,children:F.jsx(jb,{children:F.jsx(Ub,{close:o.close,action:()=>T(!0),onboarding:C})})})]})},FU=de("button")({name:"Container",class:"crkmfw1",propsAsIs:!1}),VU=de("div")({name:"Content",class:"c11awpy4",propsAsIs:!1}),YU=de("span")({name:"Title",class:"t154z7mh",propsAsIs:!1}),QU=({title:r,onClick:o,className:s,style:m})=>F.jsx(FU,{onClick:o,className:s,style:m,children:F.jsxs(VU,{children:[F.jsx(hr,{name:"iconUp"}),r&&F.jsx(YU,{children:r})]})}),GU=()=>Uy,HU=de(GU())({name:"Container",class:"ctckejh",propsAsIs:!0}),zb=de("div")({name:"InnerContainer",class:"i1ri7tzr",propsAsIs:!1}),$U=de("div")({name:"NotificationRefreshing",class:"n1ng1qh5",propsAsIs:!1}),qU=()=>QU,WU=de(qU())({name:"Pill",class:"pruq6ik",propsAsIs:!0}),KU=r=>{const[o,s]=Ke.useState(0),m=Ke.useRef(null),p=Ke.useCallback(g=>{m.current=g},[]);Ke.useEffect(()=>{var g;const T=(g=m.current)==null?void 0:g.getBoundingClientRect();T&&s(T.height)},[r]);const v=Ke.useCallback(g=>{s(g)},[]);return[p,o,v]},ZU=({sdk:r,notification:o})=>{var s,m;const[p,v,g]=KU(o.id);return o.type===Xf.QUESTION?F.jsxs(F.Fragment,{children:[F.jsx(zb,{ref:p,style:{position:"absolute",visibility:"hidden"},children:F.jsx(Sb,{...o})}),F.jsxs(HU,{style:{height:o.hiding?0:v},hiding:o.hiding,children:[F.jsx(zb,{style:{height:"100%"},children:F.jsx(Sb,{...o})}),F.jsx($U,{},o.id)]})]}):o.type===Xf.QUESTION_RESOLVED&&(m=(s=o.data)==null?void 0:s.question)!=null&&m.predictionResult?F.jsx(OP,{style:{height:o.hiding?0:v},saveHeight:g,close:o.close,hiding:o.hiding,...o.data.question}):o.type===Xf.ONBOARDING?F.jsx(BU,{style:{height:o.hiding?0:v},saveHeight:g,sdk:r,notification:o}):null},JU=({sdk:r,scrollNode:o,appNode:s,scrollStore:m})=>{var p,v;const[g]=Ke.useState(r.getNotificationsStore()),T=qi(g),{tabsShown:I}=qi(m,{keys:["tabsShown"]}),[C,D]=Ke.useState(null),R=Ke.useMemo(()=>{if(!(T!=null&&T.size))return null;for(const x of T.values())if(x.type===Xf.ONBOARDING)return x;return T.values().next().value},[T]);return Ke.useEffect(()=>{R&&m.get().scrollPosition>0&&D(R)},[R,m]),Ke.useEffect(()=>m.listen(x=>{x.scrollPosition===0&&D(null)}),[m]),F.jsxs(F.Fragment,{children:[!C&&R&&F.jsx(ZU,{sdk:r,notification:R}),C&&s.current&&Y7.createPortal(F.jsx(WU,{title:`New ${((v=$T[(p=C.data)==null?void 0:p.questionType])==null?void 0:v.label)||"notification"}`,onClick:()=>{var x;(x=o.current)==null||x.scrollTo({top:0,behavior:"smooth"})},className:I?"c1d7yse1":void 0}),s.current)]})},XU=de("div")({name:"SDKContainer",class:"stu11h7",propsAsIs:!1}),Z7=de("div")({name:"SDKScrollContainer",class:"s1ucohr1",propsAsIs:!1}),J7=de("div")({name:"SDKContentContainer",class:"s1el4wvm",propsAsIs:!1}),ej=()=>J7,tj=de(ej())({name:"SDKWhiteContainer",class:"s1oe3036",propsAsIs:!0}),nj=r=>{const o=Ke.useRef(""),[s,m]=Ke.useState(!1),p=qi(r.status),v=qi(r.userId()),g=p==="ready",[T,I]=Ke.useState(Sc),C=Ke.useCallback((x,j)=>{I(j),j===Sc?(x&&r.createEventSession(x),window.requestAnimationFrame(()=>{r.openFeature(Xn.GAMES)})):r.closeFeature(!1)},[r]);Ke.useEffect(()=>{!g&&T===Sc&&(I(Zf),r.closeFeature(!0))},[g,T,r]);const D=x=>{o.current=x,m(!0),r.initializeApp({skipOrganizationSettings:!0}).then(({enabled:j,err:Q})=>{if(Q){C(x,Zf);return}if(j){r.isUserAuthorized().then(W=>{if(W){C(x,Sc);return}else r.disableApp()});return}})},R=()=>{m(!1),r.disableApp()};return Ke.useEffect(()=>{if(!v){g&&(I(Zf),r.disableApp());return}v&&o.current&&s&&r.initializeApp({skipOrganizationSettings:!0}).then(()=>{r.createEventSession(o.current)})},[v]),{sdkEnabled:s,sdkReady:g,activeOverlay:T,activateAndLoadOverlay:C,activateEventWithId:D,deactivate:R,isLogged:!!v}},rj=r=>{const o=qi(r.getActiveFeature()),s=qi(r.streamStore()),[m,p]=Ke.useState(null);return Ke.useEffect(()=>{const v=r.getFeatures();if(o)for(const[g,T]of v)g===o?T.status.get()===wc.Suspended&&(T.enable(),p(T)):T.status.get()===wc.Ready&&T.disable();else{for(const[,g]of v)g.status.get()===wc.Ready&&g.disable();p(null)}return()=>{for(const[,g]of v)g.status.get()===wc.Ready&&g.disable()}},[o,r,s]),[o,m]};var X7="Expected a function",Bb=0/0,aj="[object Symbol]",oj=/^\s+|\s+$/g,ij=/^[-+]0x[0-9a-f]+$/i,sj=/^0b[01]+$/i,lj=/^0o[0-7]+$/i,uj=parseInt,cj=typeof J0=="object"&&J0&&J0.Object===Object&&J0,dj=typeof self=="object"&&self&&self.Object===Object&&self,fj=cj||dj||Function("return this")(),pj=Object.prototype,mj=pj.toString,hj=Math.max,gj=Math.min,L4=function(){return fj.Date.now()};function yj(r,o,s){var m,p,v,g,T,I,C=0,D=!1,R=!1,x=!0;if(typeof r!="function")throw new TypeError(X7);o=Fb(o)||0,ky(s)&&(D=!!s.leading,R="maxWait"in s,v=R?hj(Fb(s.maxWait)||0,o):v,x="trailing"in s?!!s.trailing:x);function j(ye){var fe=m,De=p;return m=p=void 0,C=ye,g=r.apply(De,fe),g}function Q(ye){return C=ye,T=setTimeout(G,o),D?j(ye):g}function W(ye){var fe=ye-I,De=ye-C,He=o-fe;return R?gj(He,v-De):He}function le(ye){var fe=ye-I,De=ye-C;return I===void 0||fe>=o||fe<0||R&&De>=v}function G(){var ye=L4();if(le(ye))return se(ye);T=setTimeout(G,W(ye))}function se(ye){return T=void 0,x&&m?j(ye):(m=p=void 0,g)}function te(){T!==void 0&&clearTimeout(T),C=0,m=I=p=T=void 0}function ue(){return T===void 0?g:se(L4())}function Z(){var ye=L4(),fe=le(ye);if(m=arguments,p=this,I=ye,fe){if(T===void 0)return Q(I);if(R)return T=setTimeout(G,o),j(I)}return T===void 0&&(T=setTimeout(G,o)),g}return Z.cancel=te,Z.flush=ue,Z}function vj(r,o,s){var m=!0,p=!0;if(typeof r!="function")throw new TypeError(X7);return ky(s)&&(m="leading"in s?!!s.leading:m,p="trailing"in s?!!s.trailing:p),yj(r,o,{leading:m,maxWait:o,trailing:p})}function ky(r){var o=typeof r;return!!r&&(o=="object"||o=="function")}function Tj(r){return!!r&&typeof r=="object"}function kj(r){return typeof r=="symbol"||Tj(r)&&mj.call(r)==aj}function Fb(r){if(typeof r=="number")return r;if(kj(r))return Bb;if(ky(r)){var o=typeof r.valueOf=="function"?r.valueOf():r;r=ky(o)?o+"":o}if(typeof r!="string")return r===0?r:+r;r=r.replace(oj,"");var s=sj.test(r);return s||lj.test(r)?uj(r.slice(2),s?2:8):ij.test(r)?Bb:+r}var bj=vj;const wj=n7(bj);let Sj=Symbol("clean"),va=[],Ej=(r,o)=>{let s=[],m={get(){return m.lc||m.listen(()=>{})(),m.value},l:o||0,lc:0,listen(p,v){return m.lc=s.push(p,v||m.l)/2,()=>{let g=s.indexOf(p);~g&&(s.splice(g,2),--m.lc||m.off())}},notify(p){let v=!va.length;for(let g=0;g<s.length;g+=2)va.push(s[g],s[g+1],m.value,p);if(v){for(let g=0;g<va.length;g+=4){let T;for(let I=g+1;!T&&(I+=4)<va.length;)va[I]<va[g+1]&&(T=va.push(va[g],va[g+1],va[g+2],va[g+3]));T||va[g](va[g+2],va[g+3])}va.length=0}},off(){},set(p){m.value!==p&&(m.value=p,m.notify())},subscribe(p,v){let g=m.listen(p,v);return p(m.value),g},value:r};return xc.process.env.NODE_ENV!=="production"&&(m[Sj]=()=>{s=[],m.lc=0,m.off()}),m},Nj=(r={})=>{let o=Ej(r);return o.setKey=function(s,m){typeof m>"u"?s in o.value&&(o.value={...o.value},delete o.value[s],o.notify(s)):o.value[s]!==m&&(o.value={...o.value,[s]:m},o.notify(s))},o};const Mj=()=>{const r=Ke.useRef(null),o=Ke.useRef(0),[s]=Ke.useState(Nj({scrollPosition:0,scrollDirection:"forward"})),m=Ke.useCallback(wj(p=>{const v=p.target;if(!v)return;const{scrollTop:g}=v,T=o.current<g?"forward":"backward";o.current=g,s.set({scrollPosition:g,scrollDirection:T,tabsShown:s.get().tabsShown})},200),[]);return Ke.useEffect(()=>{const p=r.current;return p?(p.addEventListener("scroll",m),()=>{p.removeEventListener("scroll",m)}):()=>{}},[m]),[r,s]},Ij=({sdk:r,className:o,scrollStore:s,appNode:m,scrollNode:p})=>{const[,v]=rj(r);return F.jsx(gL,{className:o,scrollNode:p,appNode:m,scrollStore:s,feature:v,sdk:r})},_j=({sdk:r,overlays:o,children:s})=>{const[m,p]=Mj(),v=Ke.useRef(null),{sdkEnabled:g,sdkReady:T,activeOverlay:I,activateAndLoadOverlay:C,activateEventWithId:D,deactivate:R,isLogged:x}=nj(r);return Ke.useEffect(()=>{Promise.resolve().then(()=>require("./gamification-feature.js"))},[]),F.jsxs(XU,{ref:v,children:[g&&F.jsx(PR,{sdkReady:T,activeOverlay:I,className:aT,setActiveOverlay:j=>C("",j)}),F.jsxs(Z7,{ref:m,"data-nav":g.toString(),children:[T&&F.jsx(JU,{sdk:r,scrollNode:m,appNode:v,scrollStore:p}),(!g||I===Zf)&&s&&s({activateEventWithId:D,deactivate:R}),o&&I===fT&&o[I],T&&I===Sc&&F.jsx(Ij,{scrollStore:p,scrollNode:m,appNode:v,className:aT,sdk:r})]}),!x&&F.jsx("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",width:"100%",height:"100%"},children:"You are not logged in."})]})};var dn;(function(r){r[r.Canceled=1]="Canceled",r[r.Unknown=2]="Unknown",r[r.InvalidArgument=3]="InvalidArgument",r[r.DeadlineExceeded=4]="DeadlineExceeded",r[r.NotFound=5]="NotFound",r[r.AlreadyExists=6]="AlreadyExists",r[r.PermissionDenied=7]="PermissionDenied",r[r.ResourceExhausted=8]="ResourceExhausted",r[r.FailedPrecondition=9]="FailedPrecondition",r[r.Aborted=10]="Aborted",r[r.OutOfRange=11]="OutOfRange",r[r.Unimplemented=12]="Unimplemented",r[r.Internal=13]="Internal",r[r.Unavailable=14]="Unavailable",r[r.DataLoss=15]="DataLoss",r[r.Unauthenticated=16]="Unauthenticated"})(dn||(dn={}));function Vb(r){const o=dn[r];return typeof o!="string"?r.toString():o[0].toLowerCase()+o.substring(1).replace(/[A-Z]/g,s=>"_"+s.toLowerCase())}class er extends Error{constructor(o,s=dn.Unknown,m,p,v){super(Cj(o,s)),this.name="ConnectError",Object.setPrototypeOf(this,new.target.prototype),this.rawMessage=o,this.code=s,this.metadata=new Headers(m??{}),this.details=p??[],this.cause=v}static from(o,s=dn.Unknown){return o instanceof er?o:o instanceof Error?o.name=="AbortError"?new er(o.message,dn.Canceled):new er(o.message,s,void 0,void 0,o):new er(String(o),s,void 0,void 0,o)}findDetails(o){const s="typeName"in o?{findMessage:p=>p===o.typeName?o:void 0}:o,m=[];for(const p of this.details){if(p instanceof Wi){s.findMessage(p.getType().typeName)&&m.push(p);continue}const v=s.findMessage(p.type);if(v)try{m.push(v.fromBinary(p.value))}catch{}}return m}}function Cj(r,o){return r.length?`[${Vb(o)}] ${r}`:`[${Vb(o)}]`}function Aj(r,o,s){try{const m=DT.dec(r);return o?o.fromBinary(m,s):m}catch(m){throw er.from(m,dn.DataLoss)}}function Oj(r,o){const s={};for(const[m,p]of Object.entries(r.methods)){const v=o(Object.assign(Object.assign({},p),{localName:m,service:r}));v!=null&&(s[m]=v)}return s}function Yb(r){let o,s=new Uint8Array(0);function m(p){const v=new Uint8Array(s.length+p.length);v.set(s),v.set(p,s.length),s=v}return new ReadableStream({start(){o=r.getReader()},async pull(p){let v;for(;;){if(v===void 0&&s.byteLength>=5){let I=0;for(let C=1;C<5;C++)I=(I<<8)+s[C];v={flags:s[0],length:I}}if(v!==void 0&&s.byteLength>=v.length+5)break;const T=await o.read();if(T.done)break;m(T.value)}if(v===void 0){if(s.byteLength==0){p.close();return}p.error(new er("premature end of stream",dn.DataLoss));return}const g=s.subarray(5,5+v.length);s=s.subarray(5+v.length),p.enqueue({flags:v.flags,data:g})}})}function Qb(r,o){const s=new Uint8Array(o.length+5);s.set(o,5);const m=new DataView(s.buffer,s.byteOffset,s.byteLength);return m.setUint8(0,r),m.setUint32(1,o.length),s}var xj=globalThis&&globalThis.__asyncValues||function(r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o=r[Symbol.asyncIterator],s;return o?o.call(r):(r=typeof __values=="function"?__values(r):r[Symbol.iterator](),s={},m("next"),m("throw"),m("return"),s[Symbol.asyncIterator]=function(){return this},s);function m(v){s[v]=r[v]&&function(g){return new Promise(function(T,I){g=r[v](g),p(T,I,g.done,g.value)})}}function p(v,g,T,I){Promise.resolve(I).then(function(C){v({value:C,done:T})},g)}},j1=globalThis&&globalThis.__await||function(r){return this instanceof j1?(this.v=r,this):new j1(r)},Lj=globalThis&&globalThis.__asyncGenerator||function(r,o,s){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var m=s.apply(r,o||[]),p,v=[];return p={},g("next"),g("throw"),g("return"),p[Symbol.asyncIterator]=function(){return this},p;function g(x){m[x]&&(p[x]=function(j){return new Promise(function(Q,W){v.push([x,j,Q,W])>1||T(x,j)})})}function T(x,j){try{I(m[x](j))}catch(Q){R(v[0][3],Q)}}function I(x){x.value instanceof j1?Promise.resolve(x.value.v).then(C,D):R(v[0][2],x)}function C(x){T("next",x)}function D(x){T("throw",x)}function R(x,j){x(j),v.shift(),v.length&&T(v[0][0],v[0][1])}},Rj=globalThis&&globalThis.__asyncDelegator||function(r){var o,s;return o={},m("next"),m("throw",function(p){throw p}),m("return"),o[Symbol.iterator]=function(){return this},o;function m(p,v){o[p]=r[p]?function(g){return(s=!s)?{value:j1(r[p](g)),done:!1}:v?v(g):g}:v}};function Dj(r){return Lj(this,arguments,function*(){yield j1(yield*Rj(xj(r)))})}var ew=globalThis&&globalThis.__asyncValues||function(r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o=r[Symbol.asyncIterator],s;return o?o.call(r):(r=typeof __values=="function"?__values(r):r[Symbol.iterator](),s={},m("next"),m("throw"),m("return"),s[Symbol.asyncIterator]=function(){return this},s);function m(v){s[v]=r[v]&&function(g){return new Promise(function(T,I){g=r[v](g),p(T,I,g.done,g.value)})}}function p(v,g,T,I){Promise.resolve(I).then(function(C){v({value:C,done:T})},g)}},op=globalThis&&globalThis.__await||function(r){return this instanceof op?(this.v=r,this):new op(r)},Pj=globalThis&&globalThis.__asyncDelegator||function(r){var o,s;return o={},m("next"),m("throw",function(p){throw p}),m("return"),o[Symbol.iterator]=function(){return this},o;function m(p,v){o[p]=r[p]?function(g){return(s=!s)?{value:op(r[p](g)),done:!1}:v?v(g):g}:v}},Uj=globalThis&&globalThis.__asyncGenerator||function(r,o,s){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var m=s.apply(r,o||[]),p,v=[];return p={},g("next"),g("throw"),g("return"),p[Symbol.asyncIterator]=function(){return this},p;function g(x){m[x]&&(p[x]=function(j){return new Promise(function(Q,W){v.push([x,j,Q,W])>1||T(x,j)})})}function T(x,j){try{I(m[x](j))}catch(Q){R(v[0][3],Q)}}function I(x){x.value instanceof op?Promise.resolve(x.value.v).then(C,D):R(v[0][2],x)}function C(x){T("next",x)}function D(x){T("throw",x)}function R(x,j){x(j),v.shift(),v.length&&T(v[0][0],v[0][1])}};function jj(r,o){return Oj(r,s=>{switch(s.kind){case et.Unary:return zj(o,r,s);case et.ServerStreaming:return Bj(o,r,s);case et.ClientStreaming:return Fj(o,r,s);case et.BiDiStreaming:return Vj(o,r,s);default:return null}})}function zj(r,o,s){return async function(m,p){var v,g;const T=await r.unary(o,s,p==null?void 0:p.signal,p==null?void 0:p.timeoutMs,p==null?void 0:p.headers,m,p==null?void 0:p.contextValues);return(v=p==null?void 0:p.onHeader)===null||v===void 0||v.call(p,T.header),(g=p==null?void 0:p.onTrailer)===null||g===void 0||g.call(p,T.trailer),T.message}}function Bj(r,o,s){return function(m,p){return tw(r.stream(o,s,p==null?void 0:p.signal,p==null?void 0:p.timeoutMs,p==null?void 0:p.headers,Dj([m]),p==null?void 0:p.contextValues),p)}}function Fj(r,o,s){return async function(m,p){var v,g,T,I,C,D;const R=await r.stream(o,s,p==null?void 0:p.signal,p==null?void 0:p.timeoutMs,p==null?void 0:p.headers,m,p==null?void 0:p.contextValues);(C=p==null?void 0:p.onHeader)===null||C===void 0||C.call(p,R.header);let x;try{for(var j=!0,Q=ew(R.message),W;W=await Q.next(),v=W.done,!v;j=!0)I=W.value,j=!1,x=I}catch(le){g={error:le}}finally{try{!j&&!v&&(T=Q.return)&&await T.call(Q)}finally{if(g)throw g.error}}if(!x)throw new er("protocol error: missing response message",dn.Internal);return(D=p==null?void 0:p.onTrailer)===null||D===void 0||D.call(p,R.trailer),x}}function Vj(r,o,s){return function(m,p){return tw(r.stream(o,s,p==null?void 0:p.signal,p==null?void 0:p.timeoutMs,p==null?void 0:p.headers,m,p==null?void 0:p.contextValues),p)}}function tw(r,o){const s=function(){var m,p;return Uj(this,arguments,function*(){const v=yield op(r);(m=o==null?void 0:o.onHeader)===null||m===void 0||m.call(o,v.header),yield op(yield*Pj(ew(v.message))),(p=o==null?void 0:o.onTrailer)===null||p===void 0||p.call(o,v.trailer)})}()[Symbol.asyncIterator]();return{[Symbol.asyncIterator]:()=>({next:()=>s.next()})}}function Yj(...r){const o=new AbortController,s=r.filter(p=>p!==void 0).concat(o.signal);for(const p of s){if(p.aborted){m.apply(p);break}p.addEventListener("abort",m)}function m(){o.signal.aborted||o.abort(nw(this));for(const p of s)p.removeEventListener("abort",m)}return o}function Qj(r){const o=new AbortController,s=()=>{o.abort(new er("the operation timed out",dn.DeadlineExceeded))};let m;return r!==void 0&&(r<=0?s():m=setTimeout(s,r)),{signal:o.signal,cleanup:()=>clearTimeout(m)}}function nw(r){if(!r.aborted)return;if(r.reason!==void 0)return r.reason;const o=new Error("This operation was aborted");return o.name="AbortError",o}function Gb(){return{get(r){return r.id in this?this[r.id]:r.defaultValue},set(r,o){return this[r.id]=o,this},delete(r){return delete this[r.id],this}}}const R4=128;function Hb(r){const o=new Headers,s=new TextDecoder().decode(r).split(`\r
169
+ `);for(const m of s){if(m==="")continue;const p=m.indexOf(":");if(p>0){const v=m.substring(0,p).trim(),g=m.substring(p+1).trim();o.append(v,g)}}return o}const Gj="Content-Type",Hj="Grpc-Timeout",rw="Grpc-Status",aw="Grpc-Message",$j="Grpc-Status-Details-Bin",qj="User-Agent",Wj="X-User-Agent",Kj="X-Grpc-Web",Zj="application/grpc-web+proto",Jj="application/grpc-web+json";class Hs extends Wi{constructor(o){super(),this.code=0,this.message="",this.details=[],N.util.initPartial(o,this)}static fromBinary(o,s){return new Hs().fromBinary(o,s)}static fromJson(o,s){return new Hs().fromJson(o,s)}static fromJsonString(o,s){return new Hs().fromJsonString(o,s)}static equals(o,s){return N.util.equals(Hs,o,s)}}Hs.runtime=N;Hs.typeName="google.rpc.Status";Hs.fields=N.util.newFieldList(()=>[{no:1,name:"code",kind:"scalar",T:5},{no:2,name:"message",kind:"scalar",T:9},{no:3,name:"details",kind:"message",T:Qi,repeated:!0}]);const Xj="0";function ow(r){var o;const s=r.get($j);if(s!=null){const p=Aj(s,Hs);if(p.code==0)return;const v=new er(p.message,p.code,r);return v.details=p.details.map(g=>({type:g.typeUrl.substring(g.typeUrl.lastIndexOf("/")+1),value:g.value})),v}const m=r.get(rw);if(m!=null){if(m===Xj)return;const p=parseInt(m,10);return p in dn?new er(decodeURIComponent((o=r.get(aw))!==null&&o!==void 0?o:""),p,r):new er(`invalid grpc-status: ${m}`,dn.Internal,r)}}function $b(r,o,s){const m=typeof o=="string"?o:o.typeName,p=typeof s=="string"?s:s.name;return r.toString().replace(/\/?$/,`/${m}/${p}`)}function iw(r,o){return o instanceof Wi?o:new r(o)}function ez(r,o){function s(m){return m.done===!0?m:{done:m.done,value:iw(r,m.value)}}return{[Symbol.asyncIterator](){const m=o[Symbol.asyncIterator](),p={next:()=>m.next().then(s)};return m.throw!==void 0&&(p.throw=v=>m.throw(v).then(s)),m.return!==void 0&&(p.return=v=>m.return(v).then(s)),p}}}function tz(r){var o;const s=Object.assign({},r);return(o=s.ignoreUnknownFields)!==null&&o!==void 0||(s.ignoreUnknownFields=!0),s}function qb(r,o,s,m){const p=o?Wb(r.I,m):Kb(r.I,s);return{parse:(o?Wb(r.O,m):Kb(r.O,s)).parse,serialize:p.serialize}}function Wb(r,o){return{parse(s){try{return r.fromBinary(s,o)}catch(m){const p=m instanceof Error?m.message:String(m);throw new er(`parse binary: ${p}`,dn.InvalidArgument)}},serialize(s){try{return s.toBinary(o)}catch(m){const p=m instanceof Error?m.message:String(m);throw new er(`serialize binary: ${p}`,dn.Internal)}}}}function Kb(r,o){var s,m;const p=(s=o==null?void 0:o.textEncoder)!==null&&s!==void 0?s:new TextEncoder,v=(m=o==null?void 0:o.textDecoder)!==null&&m!==void 0?m:new TextDecoder,g=tz(o);return{parse(T){try{const I=v.decode(T);return r.fromJsonString(I,g)}catch(I){throw er.from(I,dn.InvalidArgument)}},serialize(T){try{const I=T.toJsonString(g);return p.encode(I)}catch(I){throw er.from(I,dn.Internal)}}}}function nz(r){const o=lw(r.next,r.interceptors),[s,m,p]=sw(r),v=Object.assign(Object.assign({},r.req),{message:iw(r.req.method.I,r.req.message),signal:s});return o(v).then(g=>(p(),g),m)}function rz(r){const o=lw(r.next,r.interceptors),[s,m,p]=sw(r),v=Object.assign(Object.assign({},r.req),{message:ez(r.req.method.I,r.req.message),signal:s});let g=!1;return s.addEventListener("abort",function(){var T,I;const C=r.req.message[Symbol.asyncIterator]();g||(T=C.throw)===null||T===void 0||T.call(C,this.reason).catch(()=>{}),(I=C.return)===null||I===void 0||I.call(C).catch(()=>{})}),o(v).then(T=>Object.assign(Object.assign({},T),{message:{[Symbol.asyncIterator](){const I=T.message[Symbol.asyncIterator]();return{next(){return I.next().then(C=>(C.done==!0&&(g=!0,p()),C),m)}}}}}),m)}function sw(r){const{signal:o,cleanup:s}=Qj(r.timeoutMs),m=Yj(r.signal,o);return[m.signal,function(v){const g=er.from(o.aborted?nw(o):v);return m.abort(g),s(),Promise.reject(g)},function(){s(),m.abort()}]}function lw(r,o){var s;return(s=o==null?void 0:o.concat().reverse().reduce((m,p)=>p(m),r))!==null&&s!==void 0?s:r}function az(){try{new Headers}catch{throw new Error("connect-web requires the fetch API. Are you running on an old version of Node.js? Node.js is not supported in Connect for Web - please stay tuned for Connect for Node.")}}function Zb(r){const o=ow(r);if(o)throw o}function Jb(r,o,s){const m=new Headers(s??{});return m.set(Gj,r?Zj:Jj),m.set(Kj,"1"),m.set(Wj,"connect-es/1.1.3"),m.set(qj,"connect-es/1.1.3"),o!==void 0&&m.set(Hj,`${o}m`),m}function oz(r){switch(r){case 400:return dn.Internal;case 401:return dn.Unauthenticated;case 403:return dn.PermissionDenied;case 404:return dn.Unimplemented;case 429:return dn.Unavailable;case 502:return dn.Unavailable;case 503:return dn.Unavailable;case 504:return dn.Unavailable;default:return dn.Unknown}}function Xb(r,o){var s;if(r>=200&&r<300){const m=ow(o);if(m)throw m;return{foundStatus:o.has(rw)}}throw new er(decodeURIComponent((s=o.get(aw))!==null&&s!==void 0?s:`HTTP ${r}`),oz(r),o)}var Nc=globalThis&&globalThis.__await||function(r){return this instanceof Nc?(this.v=r,this):new Nc(r)},iz=globalThis&&globalThis.__asyncGenerator||function(r,o,s){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var m=s.apply(r,o||[]),p,v=[];return p={},g("next"),g("throw"),g("return"),p[Symbol.asyncIterator]=function(){return this},p;function g(x){m[x]&&(p[x]=function(j){return new Promise(function(Q,W){v.push([x,j,Q,W])>1||T(x,j)})})}function T(x,j){try{I(m[x](j))}catch(Q){R(v[0][3],Q)}}function I(x){x.value instanceof Nc?Promise.resolve(x.value.v).then(C,D):R(v[0][2],x)}function C(x){T("next",x)}function D(x){T("throw",x)}function R(x,j){x(j),v.shift(),v.length&&T(v[0][0],v[0][1])}};function sz(r){var o;az();const s=(o=r.useBinaryFormat)!==null&&o!==void 0?o:!0;return{async unary(m,p,v,g,T,I,C){var D;const{serialize:R,parse:x}=qb(p,s,r.jsonOptions,r.binaryOptions);return g=g===void 0?r.defaultTimeoutMs:g<=0?void 0:g,await nz({interceptors:r.interceptors,signal:v,timeoutMs:g,req:{stream:!1,service:m,method:p,url:$b(r.baseUrl,m,p),init:{method:"POST",credentials:(D=r.credentials)!==null&&D!==void 0?D:"same-origin",redirect:"error",mode:"cors"},header:Jb(s,g,T),contextValues:C??Gb(),message:I},next:async j=>{var Q;const le=await((Q=r.fetch)!==null&&Q!==void 0?Q:globalThis.fetch)(j.url,Object.assign(Object.assign({},j.init),{headers:j.header,signal:j.signal,body:Qb(0,R(j.message))}));if(Xb(le.status,le.headers),!le.body)throw"missing response body";const G=Yb(le.body).getReader();let se,te;for(;;){const ue=await G.read();if(ue.done)break;const{flags:Z,data:ye}=ue.value;if(Z===R4){if(se!==void 0)throw"extra trailer";se=Hb(ye);continue}if(te!==void 0)throw"extra message";te=x(ye)}if(se===void 0)throw"missing trailer";if(Zb(se),te===void 0)throw"missing message";return{stream:!1,header:le.headers,message:te,trailer:se}}})},async stream(m,p,v,g,T,I,C){var D;const{serialize:R,parse:x}=qb(p,s,r.jsonOptions,r.binaryOptions);function j(W,le,G){return iz(this,arguments,function*(){const te=Yb(W).getReader();if(le){if(!(yield Nc(te.read())).done)throw"extra data for trailers-only";return yield Nc(void 0)}let ue=!1;for(;;){const Z=yield Nc(te.read());if(Z.done)break;const{flags:ye,data:fe}=Z.value;if((ye&R4)===R4){if(ue)throw"extra trailer";ue=!0;const De=Hb(fe);Zb(De),De.forEach((He,ht)=>G.set(ht,He));continue}if(ue)throw"extra message";yield yield Nc(x(fe))}if(!ue)throw"missing trailer"})}async function Q(W){if(p.kind!=et.ServerStreaming)throw"The fetch API does not support streaming request bodies";const le=await W[Symbol.asyncIterator]().next();if(le.done==!0)throw"missing request message";return Qb(0,R(le.value))}return g=g===void 0?r.defaultTimeoutMs:g<=0?void 0:g,rz({interceptors:r.interceptors,signal:v,timeoutMs:g,req:{stream:!0,service:m,method:p,url:$b(r.baseUrl,m,p),init:{method:"POST",credentials:(D=r.credentials)!==null&&D!==void 0?D:"same-origin",redirect:"error",mode:"cors"},header:Jb(s,g,T),contextValues:C??Gb(),message:I},next:async W=>{var le;const se=await((le=r.fetch)!==null&&le!==void 0?le:globalThis.fetch)(W.url,Object.assign(Object.assign({},W.init),{headers:W.header,signal:W.signal,body:await Q(W.message)})),{foundStatus:te}=Xb(se.status,se.headers);if(!se.body)throw"missing response body";const ue=new Headers;return Object.assign(Object.assign({},W),{header:se.headers,trailer:ue,message:j(se.body,te,ue)})}})}}}let lz=()=>({emit(r,...o){let s=this.events[r]||[];for(let m=0,p=s.length;m<p;m++)s[m](...o)},events:{},on(r,o){var s;return(s=this.events[r])!=null&&s.push(o)||(this.events[r]=[o]),()=>{var m;this.events[r]=(m=this.events[r])==null?void 0:m.filter(p=>o!==p)}}});const uz=({cache:r=new Map,fetcher:o,...s}={})=>{const m=lz();let p=!0;a9("visibilitychange",()=>{p=!document.hidden,p&&m.emit(t9)}),a9("online",()=>m.emit(n9));const v=new Map,g=new Map,T=new Map;let I={};const C=async([G,se],te,ue,Z)=>{var ye;if(!p)return;const fe=$e=>{te.key===G&&(te.set($e),m.emit(D4,G,$e,!0))},De=()=>{fe({...te.value,...i9,promise:T.get(G)})},{dedupeTime:He=4e3,fetcher:ht}={...ue,...I},ct=o9();if(T.has(G)){te.value.loading||De();return}if(!Z){const $e=r.get(G);$e&&te.value.data!==$e&&fe({data:$e,...Xl});const at=g.get(G);if(at&&at+He>ct)return}const yt=Hx();try{const $e=ht(...se);g.set(G,ct),T.set(G,$e),De();const at=await $e;r.set(G,at),fe({data:at,...Xl}),g.set(G,o9())}catch($e){(ye=ue.onError)==null||ye.call(ue,$e),fe({data:te.value.data,error:$e,...Xl})}finally{yt(),T.delete(G)}},D=(G,{fetcher:se=o,...te}={})=>{const ue=dT({...Xl}),Z={...s,...te,fetcher:se};ue._=uw,ue.invalidate=()=>{const{key:at}=ue;at&&j(at)},ue.mutate=at=>{const{key:It}=ue;It&&Q(It,at)};let ye,fe,De,He,ht,ct=[];tL(ue,()=>{const at=!ye;[ht,ye]=cz(G),He=ht.subscribe(xe=>{if(xe){const[Ee,V]=xe;ue.key=Ee,C([Ee,V],ue,Z),fe=Ee,De=V}else ue.key=fe=De=void 0,ue.set({...Xl})});const It=ht.get();It&&([fe,De]=It,at&&yt());const{refetchInterval:Dt=0,refetchOnFocus:wn,refetchOnReconnect:_e}=Z,ze=()=>{fe&&C([fe,De],ue,Z)};Dt>0&&v.set(G,setInterval(ze,Dt)),wn&&ct.push(m.on(t9,ze)),_e&&ct.push(m.on(n9,ze)),ct.push(m.on(r9,xe=>{fe&&P4(fe,xe)&&C([fe,De],ue,Z,!0)}),m.on(D4,(xe,Ee,V)=>{fe&&P4(fe,xe)&&ue.value!==Ee&&ue.value.data!==Ee&&ue.set(V?Ee:{data:Ee,...Xl})}))});const yt=()=>{fe&&De&&C([fe,De],ue,Z)},$e=ue.listen;return ue.listen=at=>{const It=$e(at);return at(ue.value),yt(),It},nL(ue,()=>{ue.value={...Xl},ye==null||ye(),ct.forEach(It=>It()),ct=[],He==null||He();const at=v.get(G);at&&clearInterval(at)}),ue},R=G=>{r.delete(G),g.delete(G)},x=(G,se)=>{for(const te of r.keys())P4(te,G)&&se(te)},j=G=>{x(G,R),m.emit(r9,G)},Q=(G,se)=>{x(G,te=>{se===void 0?R(te):r.set(te,se)}),m.emit(D4,G,se)};function W(G){const se=async ue=>{var Z;const ye=I.fetcher??G,fe=[];try{te.set({error:void 0,data:void 0,mutate:se,...i9});const De=await ye({data:ue,invalidate:He=>{fe.push(He)},getCacheUpdater:(He,ht=!0)=>[ct=>{Q(He,ct),ht&&fe.push(He)},r.get(He)]});return te.setKey("data",De),De}catch(De){(Z=s==null?void 0:s.onError)==null||Z.call(s,De),te.setKey("error",De)}finally{te.setKey("loading",!1),fe.forEach(j)}},te=dT({mutate:se,...Xl});return te.mutate=se,te}return[D,W,{__unsafeOverruleSettings:G=>{console.warn("You should only use __unsafeOverruleSettings in test environment"),I=G},invalidateKeys:j,mutateCache:Q}]};function e9(r){return typeof r=="string"||typeof r=="number"||r===!0}const cz=r=>{if(e9(r))return[tu([""+r,[r]]),()=>{}];let o=tu(null),s=[];const m=()=>{s.some(v=>v==null||v===!1)?o.set(null):o.set([s.join(""),s])},p=[];for(let v=0;v<r.length;v++){const g=r[v];e9(g)?s.push(g):p.push(g.subscribe(T=>{s[v]=dz(g)?g.value&&"data"in g.value?g.key:null:T,m()}))}return m(),[o,()=>p.forEach(v=>v())]};function dz(r){return r._===uw}const t9=1,n9=2,r9=3,D4=4,a9=(r,o)=>{typeof window>"u"||addEventListener(r,o)},P4=(r,o)=>Array.isArray(o)?o.includes(r):typeof o=="function"?o(r):r===o,o9=()=>new Date().getTime(),uw=Symbol(),i9={loading:!0},Xl={loading:!1},fz=N.makeEnum("streamlayer.sports.LeagueSyncStatus",[{no:0,name:"LEAGUE_SYNC_STATUS_UNSET",localName:"UNSET"},{no:1,name:"LEAGUE_SYNC_STATUS_SCHEDULED",localName:"SCHEDULED"},{no:2,name:"LEAGUE_SYNC_STATUS_IN_PROGRESS",localName:"IN_PROGRESS"},{no:3,name:"LEAGUE_SYNC_STATUS_SYNCED",localName:"SYNCED"},{no:4,name:"LEAGUE_SYNC_STATUS_ERROR",localName:"ERROR"}]),qT=N.makeEnum("streamlayer.sports.EventStatus",[{no:0,name:"EVENT_STATUS_UNSET",localName:"UNSET"},{no:1,name:"EVENT_STATUS_PREGAME",localName:"PREGAME"},{no:2,name:"EVENT_STATUS_ACTIVE",localName:"ACTIVE"},{no:3,name:"EVENT_STATUS_BREAK",localName:"BREAK"},{no:4,name:"EVENT_STATUS_OVERTIME",localName:"OVERTIME"},{no:5,name:"EVENT_STATUS_SHOOTOUTS",localName:"SHOOTOUTS"},{no:6,name:"EVENT_STATUS_POSTGAME",localName:"POSTGAME"},{no:7,name:"EVENT_STATUS_CANCELLED",localName:"CANCELLED"}]),WT=N.makeEnum("streamlayer.sports.EventEndless",[{no:0,name:"EVENT_ENDLESS_UNSET",localName:"UNSET"},{no:1,name:"EVENT_ENDLESS_ENABLED",localName:"ENABLED"},{no:2,name:"EVENT_ENDLESS_DISABLED",localName:"DISABLED"}]),jy=N.makeMessageType("streamlayer.sports.Pagination",()=>[{no:1,name:"page",kind:"scalar",T:5},{no:2,name:"page_size",kind:"scalar",T:5}]),cw=N.makeMessageType("streamlayer.sports.Sort",()=>[{no:1,name:"field",kind:"scalar",T:9},{no:2,name:"order",kind:"scalar",T:9}]),zy=N.makeMessageType("streamlayer.sports.Meta",()=>[{no:1,name:"count",kind:"scalar",T:5},{no:2,name:"page",kind:"scalar",T:5},{no:3,name:"page_size",kind:"scalar",T:5}]),By=N.makeMessageType("streamlayer.sports.Venue",()=>[{no:1,name:"city",kind:"scalar",T:9},{no:2,name:"country",kind:"scalar",T:9},{no:3,name:"stadium",kind:"scalar",T:9}]);N.makeMessageType("streamlayer.sports.Team",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"custom_fields",kind:"scalar",T:9},{no:3,name:"name",kind:"scalar",T:9},{no:4,name:"alias",kind:"scalar",T:9},{no:5,name:"venue",kind:"message",T:By}]);const z1=N.makeMessageType("streamlayer.sports.EventTime",()=>[{no:1,name:"clock",kind:"scalar",T:9},{no:2,name:"period",kind:"scalar",T:5}]),dw=N.makeMessageType("streamlayer.sports.EventPeriod",()=>[{no:1,name:"number",kind:"scalar",T:5},{no:2,name:"score_home",kind:"scalar",T:5},{no:3,name:"score_away",kind:"scalar",T:5}]);N.makeMessageType("streamlayer.sports.Event",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"custom_fields",kind:"scalar",T:9},{no:3,name:"league_id",kind:"scalar",T:4},{no:4,name:"season_id",kind:"scalar",T:4},{no:5,name:"home_team_id",kind:"scalar",T:4},{no:6,name:"away_team_id",kind:"scalar",T:4},{no:7,name:"winner_team_id",kind:"scalar",T:4},{no:8,name:"scheduled",kind:"scalar",T:9},{no:9,name:"score_home",kind:"scalar",T:5},{no:10,name:"score_away",kind:"scalar",T:5},{no:11,name:"venue",kind:"message",T:By},{no:12,name:"event_time",kind:"message",T:z1},{no:13,name:"status",kind:"enum",T:N.getEnumType(qT)},{no:14,name:"periods",kind:"message",T:dw,repeated:!0},{no:15,name:"start_time",kind:"scalar",T:9},{no:16,name:"end_time",kind:"scalar",T:9},{no:17,name:"endless",kind:"enum",T:N.getEnumType(WT)}]);const fw=N.makeMessageType("streamlayer.sports.Country",()=>[{no:1,name:"name",kind:"scalar",T:9},{no:2,name:"abbreviation",kind:"scalar",T:9}]),pz=N.makeMessageType("streamlayer.sports.PlayerAttributes",()=>[{no:1,name:"display_id",kind:"scalar",T:5},{no:3,name:"full_first",kind:"scalar",T:9},{no:4,name:"full_last",kind:"scalar",T:9},{no:5,name:"uniform",kind:"scalar",T:9},{no:6,name:"height",kind:"message",T:mz},{no:7,name:"weight",kind:"message",T:hz},{no:8,name:"birth",kind:"message",T:gz}]),mz=N.makeMessageType("streamlayer.sports.PlayerAttributes.Height",()=>[{no:1,name:"centimeters",kind:"scalar",T:5},{no:2,name:"inches",kind:"scalar",T:5}],{localName:"PlayerAttributes_Height"}),hz=N.makeMessageType("streamlayer.sports.PlayerAttributes.Weight",()=>[{no:1,name:"kilograms",kind:"scalar",T:5},{no:2,name:"pounds",kind:"scalar",T:5}],{localName:"PlayerAttributes_Weight"}),gz=N.makeMessageType("streamlayer.sports.PlayerAttributes.Birth",()=>[{no:1,name:"city",kind:"scalar",T:9},{no:2,name:"country",kind:"message",T:fw}],{localName:"PlayerAttributes_Birth"});N.makeMessageType("streamlayer.sports.PlayerAttributes.Birth.BirthDate",()=>[{no:1,name:"year",kind:"scalar",T:5},{no:2,name:"month",kind:"scalar",T:5},{no:3,name:"date",kind:"scalar",T:5},{no:4,name:"full",kind:"scalar",T:9}],{localName:"PlayerAttributes_Birth_BirthDate"});const yz=N.makeMessageType("streamlayer.sports.PlayerTeam",()=>[{no:1,name:"team_id",kind:"scalar",T:4},{no:2,name:"position",kind:"scalar",T:9},{no:3,name:"jersey_number",kind:"scalar",T:5}]);N.makeMessageType("streamlayer.sports.Player",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:8,name:"custom_fields",kind:"scalar",T:9},{no:9,name:"first_name",kind:"scalar",T:9},{no:10,name:"last_name",kind:"scalar",T:9},{no:14,name:"display_name",kind:"scalar",T:9},{no:11,name:"birth_date",kind:"scalar",T:9},{no:12,name:"nationality",kind:"message",T:fw},{no:13,name:"attributes",kind:"message",T:pz},{no:15,name:"teams",kind:"message",T:yz,repeated:!0}]);const nu=N.makeMessageType("streamlayer.sports.TeamRecord",()=>[{no:1,name:"wins",kind:"scalar",T:5},{no:2,name:"losses",kind:"scalar",T:5}]);N.makeMessageType("streamlayer.sports.Season",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:4,name:"name",kind:"scalar",T:9},{no:5,name:"type",kind:"scalar",T:9},{no:6,name:"year",kind:"scalar",T:5},{no:7,name:"league_id",kind:"scalar",T:4}]);const C1=N.makeMessageType("streamlayer.sports.SyncStatusStage",()=>[{no:1,name:"stage",kind:"scalar",T:9},{no:2,name:"timestamp",kind:"scalar",T:4},{no:3,name:"datetime",kind:"scalar",T:9},{no:4,name:"error",kind:"scalar",T:9},{no:5,name:"status",kind:"enum",T:N.getEnumType(fz)}]),vz=N.makeMessageType("streamlayer.sports.SyncStatus",()=>[{no:1,name:"teams",kind:"message",T:C1},{no:2,name:"event",kind:"message",T:C1},{no:3,name:"events",kind:"message",T:C1},{no:4,name:"players",kind:"message",T:C1},{no:5,name:"leagues",kind:"message",T:C1}]),Tz=N.makeMessageType("streamlayer.sports.SyncStatusProvider",()=>[{no:1,name:"provider",kind:"scalar",T:9},{no:2,name:"status",kind:"message",T:vz}]);N.makeMessageType("streamlayer.sports.League",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:8,name:"custom_fields",kind:"scalar",T:9},{no:9,name:"country",kind:"scalar",T:9},{no:10,name:"name",kind:"scalar",T:9},{no:11,name:"alias",kind:"scalar",T:9},{no:13,name:"sync",kind:"scalar",T:8},{no:14,name:"sport_id",kind:"scalar",T:4},{no:12,name:"sync_status",kind:"message",T:Tz,repeated:!0}]);N.makeMessageType("streamlayer.sports.Sport",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"created",kind:"scalar",T:9},{no:3,name:"updated",kind:"scalar",T:9},{no:8,name:"custom_fields",kind:"scalar",T:9},{no:10,name:"name",kind:"scalar",T:9},{no:11,name:"alias",kind:"scalar",T:9}]);const kz=N.makeMessageType("streamlayer.sports.NflEventStatistics",()=>[{no:1,name:"passes",kind:"scalar",T:5},{no:2,name:"rushes",kind:"scalar",T:5},{no:3,name:"penalties",kind:"scalar",T:5},{no:4,name:"turnovers",kind:"scalar",T:5}]),bz=N.makeMessageType("streamlayer.sports.SoccerEventStatistics",()=>[{no:1,name:"ball_possession",kind:"scalar",T:5},{no:2,name:"throw_ins",kind:"scalar",T:5},{no:3,name:"fouls",kind:"scalar",T:5},{no:4,name:"goal_kicks",kind:"scalar",T:5},{no:5,name:"free_kicks",kind:"scalar",T:5},{no:6,name:"shots_on_target",kind:"scalar",T:5},{no:7,name:"corner_kicks",kind:"scalar",T:5},{no:8,name:"shots_off_target",kind:"scalar",T:5},{no:9,name:"shots_saved",kind:"scalar",T:5},{no:10,name:"offsides",kind:"scalar",T:5},{no:11,name:"shots_blocked",kind:"scalar",T:5},{no:12,name:"yellow_cards",kind:"scalar",T:5}]);N.makeMessageType("streamlayer.sports.EventTeamStatistics",()=>[{no:1,name:"football",kind:"message",T:kz,oneof:"statistics"},{no:2,name:"soccer",kind:"message",T:bz,oneof:"statistics"}]);const ru=N.makeMessageType("streamlayer.sports.EventTeam",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"name",kind:"scalar",T:9},{no:3,name:"alias",kind:"scalar",T:9},{no:4,name:"logo",kind:"scalar",T:9},{no:5,name:"colors",kind:"scalar",T:9,repeated:!0},{no:6,name:"is_winner",kind:"scalar",T:8}]),wz=N.makeMessageType("streamlayer.sports.EventCustomFields",()=>[{no:1,name:"preview",kind:"scalar",T:9},{no:2,name:"stream",kind:"scalar",T:9},{no:3,name:"name",kind:"scalar",T:9},{no:4,name:"logo",kind:"scalar",T:9},{no:5,name:"event_ids",kind:"scalar",T:9,repeated:!0},{no:6,name:"subtitle",kind:"scalar",T:9},{no:7,name:"promotitle",kind:"scalar",T:9},{no:8,name:"slate",kind:"scalar",T:9},{no:9,name:"horizontal_preview",kind:"scalar",T:9},{no:10,name:"small_logo",kind:"scalar",T:9},{no:11,name:"description",kind:"scalar",T:9}]),Sz=N.makeMessageType("streamlayer.sports.EventProgram",()=>[{no:1,name:"id",kind:"scalar",T:9,opt:!0},{no:2,name:"title",kind:"scalar",T:9},{no:3,name:"start_time",kind:"scalar",T:9},{no:4,name:"end_time",kind:"scalar",T:9},{no:5,name:"thumbnail_url",kind:"scalar",T:9},{no:6,name:"square_thumbnail_url",kind:"scalar",T:9}]),Ez=N.makeMessageType("streamlayer.sports.EventData",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"sport",kind:"scalar",T:9},{no:3,name:"league",kind:"scalar",T:9},{no:4,name:"scheduled",kind:"scalar",T:9},{no:5,name:"home",kind:"message",T:ru},{no:6,name:"away",kind:"message",T:ru},{no:7,name:"status",kind:"enum",T:N.getEnumType(qT)},{no:8,name:"custom_fields",kind:"message",T:wz},{no:9,name:"start_time",kind:"scalar",T:9},{no:10,name:"end_time",kind:"scalar",T:9},{no:11,name:"venue",kind:"message",T:By},{no:12,name:"schedule",kind:"message",T:Sz,repeated:!0},{no:13,name:"endless",kind:"enum",T:N.getEnumType(WT)},{no:14,name:"provider_id",kind:"scalar",T:9}]),Lc=N.makeMessageType("streamlayer.sports.EventSummary",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"scheduled",kind:"scalar",T:9},{no:3,name:"score_home",kind:"scalar",T:5},{no:4,name:"score_away",kind:"scalar",T:5},{no:5,name:"venue",kind:"message",T:By},{no:6,name:"event_time",kind:"message",T:z1},{no:7,name:"home_team",kind:"message",T:ru},{no:8,name:"away_team",kind:"message",T:ru},{no:9,name:"status",kind:"enum",T:N.getEnumType(qT)},{no:10,name:"periods",kind:"message",T:dw,repeated:!0},{no:11,name:"league",kind:"scalar",T:9},{no:12,name:"start_time",kind:"scalar",T:9},{no:13,name:"end_time",kind:"scalar",T:9},{no:14,name:"name",kind:"scalar",T:9},{no:15,name:"logo",kind:"scalar",T:9},{no:16,name:"stream",kind:"scalar",T:9}]),ay=N.makeMessageType("streamlayer.sports.QueryOption",()=>[{no:1,name:"key",kind:"scalar",T:9},{no:2,name:"value",kind:"scalar",T:9}]),s9=N.makeMessageType("streamlayer.sports.ArrayQueryOption",()=>[{no:1,name:"key",kind:"scalar",T:9},{no:2,name:"value",kind:"scalar",T:9,repeated:!0}]);N.makeMessageType("streamlayer.sports.Query",()=>[{no:1,name:"provider",kind:"scalar",T:9},{no:2,name:"match",kind:"message",T:ay,repeated:!0},{no:3,name:"ne",kind:"message",T:ay,repeated:!0},{no:4,name:"eq",kind:"message",T:ay,repeated:!0},{no:5,name:"between",kind:"message",T:s9,repeated:!0},{no:6,name:"includes",kind:"message",T:s9,repeated:!0},{no:7,name:"is",kind:"message",T:ay,repeated:!0}]);const Nz=N.makeEnum("streamlayer.sports.baseball.PitcherStatus",[{no:0,name:"PITCHER_STATUS_UNSET",localName:"UNSET"},{no:1,name:"PITCHER_STATUS_WIN",localName:"WIN"},{no:2,name:"PITCHER_STATUS_LOSS",localName:"LOSS"}]),Mz=N.makeEnum("streamlayer.sports.baseball.BaseballBase",[{no:0,name:"BASEBALL_BASE_UNSET",localName:"UNSET"},{no:1,name:"BASEBALL_BASE_FIRST",localName:"FIRST"},{no:2,name:"BASEBALL_BASE_SECOND",localName:"SECOND"},{no:3,name:"BASEBALL_BASE_THIRD",localName:"THIRD"}]),l9=N.makeMessageType("streamlayer.sports.baseball.PitcherSummary",()=>[{no:1,name:"statistics",kind:"message",T:pw},{no:2,name:"status",kind:"enum",T:N.getEnumType(Nz)},{no:3,name:"win_rate",kind:"scalar",T:5},{no:4,name:"loss_rate",kind:"scalar",T:5}]),Iz=N.makeMessageType("streamlayer.sports.baseball.Runner",()=>[{no:1,name:"player_name",kind:"scalar",T:9},{no:2,name:"jersey_number",kind:"scalar",T:9}]),_z=N.makeMessageType("streamlayer.sports.baseball.RunnerOnBase",()=>[{no:1,name:"base_number",kind:"enum",T:N.getEnumType(Mz)},{no:2,name:"player",kind:"message",T:Iz}]),Cz=N.makeMessageType("streamlayer.sports.baseball.Hitting",()=>[{no:1,name:"player_name",kind:"scalar",T:9},{no:2,name:"hits_per_bat",kind:"scalar",T:9},{no:3,name:"runs",kind:"scalar",T:9},{no:4,name:"run_batted_in",kind:"scalar",T:9},{no:5,name:"walks",kind:"scalar",T:9},{no:6,name:"batting_average",kind:"scalar",T:9}]),Az=N.makeMessageType("streamlayer.sports.baseball.Batting",()=>[{no:1,name:"player_name",kind:"scalar",T:9},{no:2,name:"at_bat",kind:"scalar",T:9},{no:3,name:"runs",kind:"scalar",T:9},{no:4,name:"hits",kind:"scalar",T:9},{no:5,name:"batting_average",kind:"scalar",T:9}]),pw=N.makeMessageType("streamlayer.sports.baseball.Pitching",()=>[{no:1,name:"player_name",kind:"scalar",T:9},{no:2,name:"innings_pitched",kind:"scalar",T:9},{no:3,name:"hits_by_pitch",kind:"scalar",T:9},{no:4,name:"earned_runs",kind:"scalar",T:9},{no:5,name:"walks",kind:"scalar",T:9},{no:6,name:"strikeouts",kind:"scalar",T:9}]),u9=N.makeMessageType("streamlayer.sports.baseball.BaseballTeamSummary",()=>[{no:1,name:"hitting",kind:"message",T:Cz,repeated:!0},{no:2,name:"batting",kind:"message",T:Az,repeated:!0},{no:3,name:"pitching",kind:"message",T:pw,repeated:!0}]),Oz=N.makeMessageType("streamlayer.sports.baseball.BaseballSummary",()=>[{no:1,name:"home_pitcher",kind:"message",T:l9},{no:2,name:"away_pitcher",kind:"message",T:l9},{no:3,name:"home_statistics",kind:"message",T:u9},{no:4,name:"away_statistics",kind:"message",T:u9}]),xz=N.makeMessageType("streamlayer.sports.baseball.BaseballPlayByPlayStatistics",()=>[{no:1,name:"team",kind:"message",T:ru},{no:2,name:"inning",kind:"scalar",T:9},{no:3,name:"play_text",kind:"scalar",T:9},{no:4,name:"detail",kind:"message",T:Lz,repeated:!0},{no:5,name:"runs",kind:"scalar",T:5},{no:6,name:"hits",kind:"scalar",T:5},{no:7,name:"errors",kind:"scalar",T:5}]),Lz=N.makeMessageType("streamlayer.sports.baseball.BaseballPlayByPlayStatistics.BaseballPlayByPlayDetailStatistics",()=>[{no:1,name:"score_home",kind:"scalar",T:5},{no:2,name:"score_away",kind:"scalar",T:5},{no:3,name:"play_text",kind:"scalar",T:9},{no:4,name:"scoring",kind:"scalar",T:8},{no:7,name:"play_id",kind:"scalar",T:5}],{localName:"BaseballPlayByPlayStatistics_BaseballPlayByPlayDetailStatistics"}),Rz=N.makeMessageType("streamlayer.sports.baseball.EventScore",()=>[{no:1,name:"outs",kind:"scalar",T:5},{no:2,name:"inning",kind:"scalar",T:5},{no:3,name:"inning_division",kind:"scalar",T:9},{no:4,name:"is_delayed",kind:"scalar",T:8},{no:5,name:"reason_for_delay",kind:"scalar",T:9},{no:6,name:"runners_on_base",kind:"message",T:_z,repeated:!0},{no:7,name:"taken_bases",kind:"scalar",T:5},{no:8,name:"home_team_record",kind:"message",T:nu},{no:9,name:"away_team_record",kind:"message",T:nu}]),Dz=N.makeMessageType("streamlayer.sports.baseball.PlayByPlay",()=>[{no:1,name:"statistics",kind:"message",T:xz,repeated:!0}]),Pz=N.makeMessageType("streamlayer.sports.baseball.EventSummary",()=>[{no:1,name:"statistics",kind:"message",T:Oz}]),Uz=N.makeMessageType("streamlayer.sports.baseball.TeamStanding",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"name",kind:"scalar",T:9},{no:3,name:"alias",kind:"scalar",T:9},{no:4,name:"logo",kind:"scalar",T:9},{no:5,name:"colors",kind:"scalar",T:9,repeated:!0},{no:6,name:"wins",kind:"scalar",T:5},{no:7,name:"losses",kind:"scalar",T:5},{no:8,name:"pct",kind:"scalar",T:1},{no:9,name:"games_behind",kind:"scalar",T:5},{no:10,name:"streak",kind:"message",T:jz},{no:11,name:"rank",kind:"message",T:zz},{no:12,name:"division",kind:"scalar",T:9},{no:13,name:"conference",kind:"scalar",T:9}]),jz=N.makeMessageType("streamlayer.sports.baseball.TeamStanding.Streak",()=>[{no:1,name:"losses",kind:"scalar",T:5},{no:2,name:"wins",kind:"scalar",T:5}],{localName:"TeamStanding_Streak"}),zz=N.makeMessageType("streamlayer.sports.baseball.TeamStanding.Rank",()=>[{no:1,name:"division",kind:"scalar",T:5},{no:2,name:"conference",kind:"scalar",T:5}],{localName:"TeamStanding_Rank"}),Bz=N.makeMessageType("streamlayer.sports.baseball.Standings",()=>[{no:1,name:"standings",kind:"message",T:Uz,repeated:!0}]),Fz=N.makeEnum("streamlayer.sports.basketball.BasketballPerformerCategory",[{no:0,name:"BASKETBALL_PERFORMER_CATEGORY_UNSET",localName:"UNSET"},{no:1,name:"BASKETBALL_PERFORMER_CATEGORY_POINTS",localName:"POINTS"},{no:2,name:"BASKETBALL_PERFORMER_CATEGORY_REBOUNDS",localName:"REBOUNDS"},{no:3,name:"BASKETBALL_PERFORMER_CATEGORY_ASSISTS",localName:"ASSISTS"}]),Vz=N.makeMessageType("streamlayer.sports.basketball.EventScore",()=>[{no:8,name:"home_team_record",kind:"message",T:nu},{no:9,name:"away_team_record",kind:"message",T:nu}]),c9=N.makeMessageType("streamlayer.sports.basketball.BasketballTeamSummary",()=>[{no:1,name:"field_goal_percentage",kind:"scalar",T:1},{no:2,name:"three_pts_percentage",kind:"scalar",T:1},{no:3,name:"free_throw_percentage",kind:"scalar",T:1},{no:4,name:"assists",kind:"scalar",T:5},{no:5,name:"rebounds",kind:"scalar",T:5}]),d9=N.makeMessageType("streamlayer.sports.basketball.BasketballPerformer",()=>[{no:1,name:"name",kind:"scalar",T:9},{no:2,name:"photo",kind:"scalar",T:9},{no:3,name:"score",kind:"scalar",T:9}]),Yz=N.makeMessageType("streamlayer.sports.basketball.BasketballPerformers",()=>[{no:1,name:"category",kind:"enum",T:N.getEnumType(Fz)},{no:2,name:"home_player",kind:"message",T:d9},{no:3,name:"away_player",kind:"message",T:d9}]),Qz=N.makeMessageType("streamlayer.sports.basketball.BasketballSummary",()=>[{no:1,name:"home_statistics",kind:"message",T:c9},{no:2,name:"away_statistics",kind:"message",T:c9}]),Gz=N.makeMessageType("streamlayer.sports.basketball.EventSummary",()=>[{no:1,name:"statistics",kind:"message",T:Qz},{no:2,name:"top_performers",kind:"message",T:Yz,repeated:!0},{no:3,name:"last_games",kind:"message",T:mw}]),Hz=N.makeMessageType("streamlayer.sports.basketball.BasketballPlayByPlayStatistics",()=>[{no:1,name:"team",kind:"message",T:ru},{no:2,name:"event_time",kind:"message",T:z1},{no:3,name:"score_home",kind:"scalar",T:5},{no:4,name:"score_away",kind:"scalar",T:5},{no:5,name:"play_text",kind:"scalar",T:9},{no:6,name:"scoring",kind:"scalar",T:8},{no:7,name:"play_id",kind:"scalar",T:5}]),$z=N.makeMessageType("streamlayer.sports.basketball.PlayByPlay",()=>[{no:1,name:"statistics",kind:"message",T:Hz,repeated:!0}]),f9=N.makeMessageType("streamlayer.sports.basketball.PlayerScores",()=>[{no:1,name:"jersey",kind:"scalar",T:5},{no:2,name:"full_name",kind:"scalar",T:9},{no:3,name:"points",kind:"scalar",T:5},{no:4,name:"assists",kind:"scalar",T:5},{no:5,name:"rebounds",kind:"scalar",T:5},{no:6,name:"minutes",kind:"scalar",T:1},{no:7,name:"starter",kind:"scalar",T:8}]),qz=N.makeMessageType("streamlayer.sports.basketball.Boxscore",()=>[{no:1,name:"home_players",kind:"message",T:f9,repeated:!0},{no:2,name:"away_players",kind:"message",T:f9,repeated:!0}]),Wz=N.makeMessageType("streamlayer.sports.basketball.TeamStanding",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"name",kind:"scalar",T:9},{no:3,name:"alias",kind:"scalar",T:9},{no:4,name:"logo",kind:"scalar",T:9},{no:5,name:"colors",kind:"scalar",T:9,repeated:!0},{no:6,name:"wins",kind:"scalar",T:5},{no:7,name:"losses",kind:"scalar",T:5},{no:8,name:"pct",kind:"scalar",T:1},{no:9,name:"games_behind",kind:"scalar",T:5},{no:10,name:"streak",kind:"message",T:Kz},{no:11,name:"rank",kind:"message",T:Zz},{no:12,name:"division",kind:"scalar",T:9},{no:13,name:"conference",kind:"scalar",T:9}]),Kz=N.makeMessageType("streamlayer.sports.basketball.TeamStanding.Streak",()=>[{no:1,name:"kind",kind:"scalar",T:9},{no:2,name:"length",kind:"scalar",T:5}],{localName:"TeamStanding_Streak"}),Zz=N.makeMessageType("streamlayer.sports.basketball.TeamStanding.Rank",()=>[{no:1,name:"division",kind:"scalar",T:5},{no:2,name:"conference",kind:"scalar",T:5}],{localName:"TeamStanding_Rank"}),Jz=N.makeMessageType("streamlayer.sports.basketball.Standings",()=>[{no:1,name:"standings",kind:"message",T:Wz,repeated:!0}]),p9=N.makeMessageType("streamlayer.sports.basketball.BasketballMatchPlayer",()=>[{no:1,name:"first_name",kind:"scalar",T:9},{no:2,name:"last_name",kind:"scalar",T:9},{no:3,name:"display_name",kind:"scalar",T:9},{no:4,name:"photo",kind:"scalar",T:9},{no:5,name:"position",kind:"scalar",T:9},{no:6,name:"jersey",kind:"scalar",T:5}]),m9=N.makeMessageType("streamlayer.sports.basketball.BasketballMatchLineup",()=>[{no:3,name:"start_players",kind:"message",T:p9,repeated:!0},{no:4,name:"substitutes",kind:"message",T:p9,repeated:!0}]),Xz=N.makeMessageType("streamlayer.sports.basketball.BasketballMatchLineups",()=>[{no:1,name:"home_team",kind:"message",T:m9},{no:2,name:"away_team",kind:"message",T:m9}]),U4=N.makeMessageType("streamlayer.sports.basketball.BasketballLastGame",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"attributes",kind:"message",T:eB}]),eB=N.makeMessageType("streamlayer.sports.basketball.BasketballLastGame.BasketballLastGameAttributes",()=>[{no:1,name:"league",kind:"scalar",T:9},{no:2,name:"home_team",kind:"scalar",T:9},{no:3,name:"away_team",kind:"scalar",T:9},{no:5,name:"home_score",kind:"scalar",T:5},{no:6,name:"away_score",kind:"scalar",T:5},{no:7,name:"date",kind:"scalar",T:9}],{localName:"BasketballLastGame_BasketballLastGameAttributes"}),mw=N.makeMessageType("streamlayer.sports.basketball.BasketballLastGames",()=>[{no:1,name:"home",kind:"message",T:U4,repeated:!0},{no:2,name:"away",kind:"message",T:U4,repeated:!0},{no:3,name:"head_to_head",kind:"message",T:U4,repeated:!0}]),tB=N.makeEnum("streamlayer.sports.hockey.HockeyPerformerCategory",[{no:0,name:"HOCKEY_PERFORMER_CATEGORY_UNSET",localName:"UNSET"},{no:1,name:"HOCKEY_PERFORMER_CATEGORY_GOALS",localName:"GOALS"},{no:2,name:"HOCKEY_PERFORMER_CATEGORY_SHOTS",localName:"SHOTS"},{no:3,name:"HOCKEY_PERFORMER_CATEGORY_HITS",localName:"HITS"},{no:4,name:"HOCKEY_PERFORMER_CATEGORY_SAVES",localName:"SAVES"}]),hw=N.makeEnum("streamlayer.sports.hockey.HockeyPlayerPosition",[{no:0,name:"HOCKEY_PLAYER_POSITION_UNSET",localName:"UNSET"},{no:1,name:"HOCKEY_PLAYER_POSITION_CENTER",localName:"CENTER"},{no:2,name:"HOCKEY_PLAYER_POSITION_LEFT_WIND",localName:"LEFT_WIND"},{no:3,name:"HOCKEY_PLAYER_POSITION_RIGHT_WING",localName:"RIGHT_WING"},{no:4,name:"HOCKEY_PLAYER_POSITION_DEFENSE",localName:"DEFENSE"},{no:5,name:"HOCKEY_PLAYER_POSITION_GOALTENDER",localName:"GOALTENDER"}]),nB=N.makeMessageType("streamlayer.sports.hockey.EventScore",()=>[{no:8,name:"home_team_record",kind:"message",T:nu},{no:9,name:"away_team_record",kind:"message",T:nu}]),h9=N.makeMessageType("streamlayer.sports.hockey.HockeyPerformer",()=>[{no:1,name:"name",kind:"scalar",T:9},{no:2,name:"photo",kind:"scalar",T:9},{no:3,name:"score",kind:"scalar",T:5}]),rB=N.makeMessageType("streamlayer.sports.hockey.HockeyPerformers",()=>[{no:1,name:"category",kind:"enum",T:N.getEnumType(tB)},{no:2,name:"home_player",kind:"message",T:h9,repeated:!0},{no:3,name:"away_player",kind:"message",T:h9,repeated:!0}]),g9=N.makeMessageType("streamlayer.sports.hockey.HockeyTeamSummary",()=>[{no:1,name:"shots_on_goal",kind:"scalar",T:5},{no:2,name:"faceoff",kind:"scalar",T:1},{no:3,name:"powerplay",kind:"scalar",T:5},{no:4,name:"penalty_minutes",kind:"scalar",T:5},{no:5,name:"hits",kind:"scalar",T:5},{no:6,name:"blocks",kind:"scalar",T:5},{no:7,name:"giveaways",kind:"scalar",T:5},{no:8,name:"takeaways",kind:"scalar",T:5}]),aB=N.makeMessageType("streamlayer.sports.hockey.HockeySummary",()=>[{no:1,name:"home_statistics",kind:"message",T:g9},{no:2,name:"away_statistics",kind:"message",T:g9}]),oB=N.makeMessageType("streamlayer.sports.hockey.EventSummary",()=>[{no:1,name:"statistics",kind:"message",T:aB},{no:2,name:"top_performers",kind:"message",T:rB,repeated:!0}]),iB=N.makeMessageType("streamlayer.sports.hockey.HockeyPlayByPlayStatistics",()=>[{no:1,name:"team",kind:"message",T:ru},{no:2,name:"event_time",kind:"message",T:z1},{no:3,name:"score_home",kind:"scalar",T:5},{no:4,name:"score_away",kind:"scalar",T:5},{no:5,name:"play_text",kind:"scalar",T:9},{no:6,name:"scoring",kind:"scalar",T:8},{no:7,name:"play_id",kind:"scalar",T:5}]),sB=N.makeMessageType("streamlayer.sports.hockey.PlayByPlay",()=>[{no:1,name:"statistics",kind:"message",T:iB,repeated:!0}]),j4=N.makeMessageType("streamlayer.sports.hockey.PlayerScore",()=>[{no:1,name:"jersey",kind:"scalar",T:5},{no:2,name:"full_name",kind:"scalar",T:9},{no:3,name:"goals",kind:"scalar",T:5},{no:4,name:"assists",kind:"scalar",T:5},{no:5,name:"shots",kind:"scalar",T:5},{no:6,name:"penalty_minutes",kind:"scalar",T:1},{no:7,name:"minutes",kind:"scalar",T:9},{no:8,name:"position",kind:"enum",T:N.getEnumType(hw)}]),y9=N.makeMessageType("streamlayer.sports.hockey.GoaltenderScore",()=>[{no:1,name:"jersey",kind:"scalar",T:5},{no:2,name:"full_name",kind:"scalar",T:9},{no:3,name:"shots_againts",kind:"scalar",T:5},{no:4,name:"goals_againts",kind:"scalar",T:5},{no:5,name:"saves",kind:"scalar",T:5},{no:6,name:"saves_pct",kind:"scalar",T:5},{no:7,name:"minutes",kind:"scalar",T:9},{no:8,name:"position",kind:"enum",T:N.getEnumType(hw)}]),v9=N.makeMessageType("streamlayer.sports.hockey.PlayerScores",()=>[{no:1,name:"skaters",kind:"message",T:j4,repeated:!0},{no:2,name:"goaltender",kind:"message",T:y9},{no:3,name:"forwards",kind:"message",T:j4,repeated:!0},{no:4,name:"defensemen",kind:"message",T:j4,repeated:!0},{no:5,name:"goaltenders",kind:"message",T:y9,repeated:!0}]),lB=N.makeMessageType("streamlayer.sports.hockey.Boxscore",()=>[{no:1,name:"home_players",kind:"message",T:v9},{no:2,name:"away_players",kind:"message",T:v9}]),uB=N.makeMessageType("streamlayer.sports.hockey.TeamStanding",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"name",kind:"scalar",T:9},{no:3,name:"alias",kind:"scalar",T:9},{no:4,name:"logo",kind:"scalar",T:9},{no:5,name:"colors",kind:"scalar",T:9,repeated:!0},{no:6,name:"wins",kind:"scalar",T:5},{no:7,name:"losses",kind:"scalar",T:5},{no:8,name:"pct",kind:"scalar",T:1},{no:9,name:"games_behind",kind:"scalar",T:5},{no:10,name:"streak",kind:"message",T:cB},{no:11,name:"rank",kind:"message",T:dB},{no:12,name:"division",kind:"scalar",T:9},{no:13,name:"conference",kind:"scalar",T:9}]),cB=N.makeMessageType("streamlayer.sports.hockey.TeamStanding.Streak",()=>[{no:1,name:"kind",kind:"scalar",T:9},{no:2,name:"length",kind:"scalar",T:5}],{localName:"TeamStanding_Streak"}),dB=N.makeMessageType("streamlayer.sports.hockey.TeamStanding.Rank",()=>[{no:1,name:"division",kind:"scalar",T:5},{no:2,name:"conference",kind:"scalar",T:5}],{localName:"TeamStanding_Rank"}),fB=N.makeMessageType("streamlayer.sports.hockey.Standings",()=>[{no:1,name:"standings",kind:"message",T:uB,repeated:!0}]),pB=N.makeEnum("streamlayer.sports.soccer.SoccerPerformerCategory",[{no:0,name:"SOCCER_PERFORMER_CATEGORY_UNSET",localName:"UNSET"},{no:1,name:"SOCCER_PERFORMER_CATEGORY_ATTACK",localName:"ATTACK"},{no:2,name:"SOCCER_PERFORMER_CATEGORY_MIDFIELD",localName:"MIDFIELD"},{no:3,name:"SOCCER_PERFORMER_CATEGORY_DEFENSE",localName:"DEFENSE"}]),mB=N.makeEnum("streamlayer.sports.soccer.SoccerMatchActivityType",[{no:0,name:"SOCCER_MATCH_ACTIVITY_UNSET"},{no:1,name:"SOCCER_MATCH_ACTIVITY_GOAL"},{no:2,name:"SOCCER_MATCH_ACTIVITY_YELLOW_CARD"},{no:3,name:"SOCCER_MATCH_ACTIVITY_RED_CARD"},{no:4,name:"SOCCER_MATCH_ACTIVITY_SUBSTITUTION"},{no:5,name:"SOCCER_MATCH_ACTIVITY_HALF_TIME"},{no:6,name:"SOCCER_MATCH_ACTIVITY_FULL_TIME"}]),hB=N.makeMessageType("streamlayer.sports.soccer.EventScore",()=>[{no:8,name:"home_team_record",kind:"message",T:nu},{no:9,name:"away_team_record",kind:"message",T:nu}]),KT=N.makeMessageType("streamlayer.sports.soccer.SoccerPerformer",()=>[{no:1,name:"name",kind:"scalar",T:9},{no:2,name:"photo",kind:"scalar",T:9},{no:3,name:"score",kind:"scalar",T:5}]),gB=N.makeMessageType("streamlayer.sports.soccer.SoccerAttackPerfomer",()=>[{no:1,name:"perfomer",kind:"message",T:KT},{no:2,name:"attack_stats",kind:"message",T:NB}]),yB=N.makeMessageType("streamlayer.sports.soccer.SoccerMidfieldPerformer",()=>[{no:1,name:"perfomer",kind:"message",T:KT},{no:2,name:"midfield_stats",kind:"message",T:MB}]),vB=N.makeMessageType("streamlayer.sports.soccer.SoccerDefensePerfomer",()=>[{no:1,name:"perfomer",kind:"message",T:KT},{no:2,name:"defense_stats",kind:"message",T:IB}]),TB=N.makeMessageType("streamlayer.sports.soccer.SoccerPerformers",()=>[{no:1,name:"category",kind:"enum",T:N.getEnumType(pB)},{no:2,name:"attack_performer",kind:"message",T:gB},{no:3,name:"midfield_performer",kind:"message",T:yB},{no:4,name:"defense_performer",kind:"message",T:vB}]),kB=N.makeMessageType("streamlayer.sports.soccer.SoccerTeamTopMatchStats",()=>[{no:1,name:"possession",kind:"scalar",T:1},{no:2,name:"shots",kind:"scalar",T:5},{no:3,name:"shots_on_target",kind:"scalar",T:5},{no:4,name:"passes",kind:"scalar",T:5},{no:5,name:"offsides",kind:"scalar",T:5},{no:6,name:"yellow_cards",kind:"scalar",T:5},{no:7,name:"corner_kicks",kind:"scalar",T:5},{no:8,name:"free_kicks",kind:"scalar",T:5},{no:9,name:"red_cards",kind:"scalar",T:5}]),bB=N.makeMessageType("streamlayer.sports.soccer.SoccerTeamAttackingStats",()=>[{no:1,name:"possession",kind:"scalar",T:1},{no:2,name:"passing_accuracy",kind:"scalar",T:1},{no:3,name:"chances_created",kind:"scalar",T:5},{no:4,name:"successful_crosses",kind:"scalar",T:1}]),wB=N.makeMessageType("streamlayer.sports.soccer.SoccerTeamDefenseStats",()=>[{no:1,name:"tackles_made",kind:"scalar",T:5},{no:2,name:"interceptions",kind:"scalar",T:5},{no:3,name:"blocked_shots",kind:"scalar",T:5},{no:4,name:"clearances",kind:"scalar",T:5},{no:5,name:"duels_won",kind:"scalar",T:5}]),T9=N.makeMessageType("streamlayer.sports.soccer.SoccerTeamSummary",()=>[{no:1,name:"top_match_stats",kind:"message",T:kB},{no:2,name:"attacking_stats",kind:"message",T:bB},{no:3,name:"defense_stats",kind:"message",T:wB}]),SB=N.makeMessageType("streamlayer.sports.soccer.SoccerSummary",()=>[{no:1,name:"home_statistics",kind:"message",T:T9},{no:2,name:"away_statistics",kind:"message",T:T9},{no:3,name:"perfomers",kind:"message",T:TB}]),EB=N.makeMessageType("streamlayer.sports.soccer.EventSummary",()=>[{no:1,name:"statistics",kind:"message",T:SB},{no:2,name:"last_games",kind:"message",T:gw}]),NB=N.makeMessageType("streamlayer.sports.soccer.SoccerPlayerAttackingStats",()=>[{no:1,name:"goals",kind:"scalar",T:5},{no:2,name:"assists",kind:"scalar",T:5},{no:3,name:"shots",kind:"scalar",T:5},{no:4,name:"shots_on_goal",kind:"scalar",T:5},{no:5,name:"penalty_kick_goals",kind:"scalar",T:5}]),MB=N.makeMessageType("streamlayer.sports.soccer.SoccerPlayerMidfieldStats",()=>[{no:1,name:"goals",kind:"scalar",T:5},{no:2,name:"assists",kind:"scalar",T:5},{no:3,name:"key_passes",kind:"scalar",T:5},{no:4,name:"crosses",kind:"scalar",T:5},{no:5,name:"corners",kind:"scalar",T:5}]),IB=N.makeMessageType("streamlayer.sports.soccer.SoccerPlayerDefenseStats",()=>[{no:1,name:"goals",kind:"scalar",T:5},{no:2,name:"assists",kind:"scalar",T:5},{no:3,name:"tackles_made",kind:"scalar",T:5},{no:4,name:"interceptions",kind:"scalar",T:5},{no:5,name:"blocked_shots",kind:"scalar",T:5}]);N.makeMessageType("streamlayer.sports.soccer.SoccerMatchOdds",()=>[{no:1,name:"home_team_win",kind:"scalar",T:1},{no:2,name:"draw",kind:"scalar",T:1},{no:3,name:"away_team_win",kind:"scalar",T:1}]);const _B=N.makeMessageType("streamlayer.sports.soccer.SoccerMatchFormationMatrixPlayer",()=>[{no:1,name:"jersey_number",kind:"scalar",T:5},{no:2,name:"player_name",kind:"scalar",T:9},{no:3,name:"photo",kind:"scalar",T:9}]),CB=N.makeMessageType("streamlayer.sports.soccer.SoccerMatchFormationMatrix",()=>[{no:1,name:"row_players",kind:"message",T:_B,repeated:!0}]),k9=N.makeMessageType("streamlayer.sports.soccer.SoccerMatchPlayer",()=>[{no:1,name:"first_name",kind:"scalar",T:9},{no:2,name:"last_name",kind:"scalar",T:9},{no:3,name:"display_name",kind:"scalar",T:9},{no:4,name:"photo",kind:"scalar",T:9},{no:5,name:"position",kind:"scalar",T:9},{no:6,name:"jersey",kind:"scalar",T:5}]),b9=N.makeMessageType("streamlayer.sports.soccer.SoccerMatchLineup",()=>[{no:1,name:"formation_string",kind:"scalar",T:9},{no:2,name:"formation_matrix",kind:"message",T:CB,repeated:!0},{no:3,name:"start_players",kind:"message",T:k9,repeated:!0},{no:4,name:"substitutes",kind:"message",T:k9,repeated:!0}]),AB=N.makeMessageType("streamlayer.sports.soccer.SoccerMatchLineups",()=>[{no:1,name:"home_team",kind:"message",T:b9},{no:2,name:"away_team",kind:"message",T:b9}]);N.makeMessageType("streamlayer.sports.soccer.SoccerMatchScore",()=>[{no:1,name:"event_id",kind:"scalar",T:4},{no:2,name:"mil",kind:"scalar",T:1},{no:3,name:"round",kind:"scalar",T:9},{no:4,name:"live_url",kind:"scalar",T:9}]);const OB=N.makeMessageType("streamlayer.sports.soccer.SoccerPlayByPlayStatistics",()=>[{no:1,name:"team",kind:"message",T:ru},{no:2,name:"event_time",kind:"message",T:z1},{no:3,name:"score_home",kind:"scalar",T:5},{no:4,name:"score_away",kind:"scalar",T:5},{no:5,name:"play_text",kind:"scalar",T:9},{no:6,name:"scoring",kind:"scalar",T:8},{no:7,name:"play_id",kind:"scalar",T:5},{no:8,name:"type",kind:"enum",T:N.getEnumType(mB)}]),xB=N.makeMessageType("streamlayer.sports.soccer.PlayByPlay",()=>[{no:1,name:"statistics",kind:"message",T:OB,repeated:!0}]),LB=N.makeMessageType("streamlayer.sports.soccer.TeamStanding",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"name",kind:"scalar",T:9},{no:3,name:"alias",kind:"scalar",T:9},{no:4,name:"logo",kind:"scalar",T:9},{no:5,name:"colors",kind:"scalar",T:9,repeated:!0},{no:6,name:"wins",kind:"scalar",T:5},{no:7,name:"losses",kind:"scalar",T:5},{no:8,name:"draws",kind:"scalar",T:5},{no:9,name:"games_behind",kind:"scalar",T:5},{no:12,name:"division",kind:"scalar",T:9},{no:13,name:"points",kind:"scalar",T:5},{no:14,name:"position",kind:"scalar",T:5},{no:15,name:"total_goals",kind:"scalar",T:5},{no:16,name:"total_goals_received",kind:"scalar",T:5}]),RB=N.makeMessageType("streamlayer.sports.soccer.Standings",()=>[{no:1,name:"standings",kind:"message",T:LB,repeated:!0}]),z4=N.makeMessageType("streamlayer.sports.soccer.SoccerLastGame",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"attributes",kind:"message",T:DB}]),DB=N.makeMessageType("streamlayer.sports.soccer.SoccerLastGame.SoccerLastGameAttributes",()=>[{no:1,name:"league",kind:"scalar",T:9},{no:2,name:"home_team",kind:"scalar",T:9},{no:3,name:"away_team",kind:"scalar",T:9},{no:5,name:"home_score",kind:"scalar",T:5},{no:6,name:"away_score",kind:"scalar",T:5},{no:7,name:"date",kind:"scalar",T:9}],{localName:"SoccerLastGame_SoccerLastGameAttributes"}),gw=N.makeMessageType("streamlayer.sports.soccer.SoccerLastGames",()=>[{no:1,name:"home",kind:"message",T:z4,repeated:!0},{no:2,name:"away",kind:"message",T:z4,repeated:!0},{no:3,name:"head_to_head",kind:"message",T:z4,repeated:!0}]),Rc=N.makeEnum("streamlayer.sports.events.EventType",[{no:0,name:"EVENT_TYPE_UNSET",localName:"UNSET"},{no:1,name:"EVENT_TYPE_BASEBALL",localName:"BASEBALL"},{no:2,name:"EVENT_TYPE_BASKETBALL",localName:"BASKETBALL"},{no:3,name:"EVENT_TYPE_HOCKEY",localName:"HOCKEY"},{no:4,name:"EVENT_TYPE_SOCCER",localName:"SOCCER"},{no:5,name:"EVENT_TYPE_GOLF",localName:"GOLF"}]),PB=N.makeMessageType("streamlayer.sports.events.ScheduleAttributes",()=>[{no:1,name:"summary",kind:"message",T:Lc},{no:2,name:"baseball",kind:"message",T:Rz,oneof:"sport"},{no:3,name:"basketball",kind:"message",T:Vz,oneof:"sport"},{no:4,name:"hockey",kind:"message",T:nB,oneof:"sport"},{no:5,name:"soccer",kind:"message",T:hB,oneof:"sport"}]),UB=N.makeMessageType("streamlayer.sports.events.ScheduleResponseData",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"type",kind:"enum",T:N.getEnumType(Rc)},{no:3,name:"attributes",kind:"message",T:PB}]),jB=N.makeMessageType("streamlayer.sports.events.ListResponseAttributes",()=>[{no:1,name:"common",kind:"message",T:Ez}]),yw=N.makeMessageType("streamlayer.sports.events.ListResponseData",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"attributes",kind:"message",T:jB}]),zB=N.makeMessageType("streamlayer.sports.events.ListRequest",()=>[{no:1,name:"filter",kind:"message",T:BB},{no:2,name:"pagination",kind:"message",T:jy},{no:3,name:"sort",kind:"message",T:cw},{no:4,name:"ids",kind:"scalar",T:4,repeated:!0},{no:5,name:"organization_id",kind:"scalar",T:9}]),BB=N.makeMessageType("streamlayer.sports.events.ListRequest.Filter",()=>[{no:1,name:"date",kind:"scalar",T:9},{no:2,name:"league",kind:"scalar",T:9},{no:3,name:"start_date_time",kind:"scalar",T:9},{no:4,name:"end_date_time",kind:"scalar",T:9},{no:5,name:"sport",kind:"scalar",T:9},{no:6,name:"name",kind:"scalar",T:9},{no:7,name:"endless",kind:"enum",T:N.getEnumType(WT)}],{localName:"ListRequest_Filter"}),FB=N.makeMessageType("streamlayer.sports.events.DemoListRequest",()=>[{no:1,name:"filter",kind:"message",T:VB},{no:2,name:"pagination",kind:"message",T:jy},{no:3,name:"sort",kind:"message",T:cw}]),VB=N.makeMessageType("streamlayer.sports.events.DemoListRequest.Filter",()=>[{no:1,name:"date",kind:"scalar",T:9},{no:2,name:"league",kind:"scalar",T:9}],{localName:"DemoListRequest_Filter"}),YB=N.makeMessageType("streamlayer.sports.events.DemoListResponse",()=>[{no:1,name:"meta",kind:"message",T:zy},{no:2,name:"data",kind:"message",T:yw,repeated:!0}]),QB=N.makeMessageType("streamlayer.sports.events.ListResponse",()=>[{no:1,name:"meta",kind:"message",T:zy},{no:2,name:"data",kind:"message",T:yw,repeated:!0}]),w9=N.makeMessageType("streamlayer.sports.events.SummaryRequest",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"organization_id",kind:"scalar",T:9}]),S9=N.makeMessageType("streamlayer.sports.events.SummaryResponse",()=>[{no:1,name:"data",kind:"message",T:GB}]),GB=N.makeMessageType("streamlayer.sports.events.SummaryResponse.ResponseData",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"type",kind:"enum",T:N.getEnumType(Rc)},{no:3,name:"attributes",kind:"message",T:HB}],{localName:"SummaryResponse_ResponseData"}),HB=N.makeMessageType("streamlayer.sports.events.SummaryResponse.ResponseData.SummaryResponseAttributes",()=>[{no:1,name:"summary",kind:"message",T:Lc},{no:2,name:"baseball",kind:"message",T:Pz,oneof:"sports"},{no:3,name:"basketball",kind:"message",T:Gz,oneof:"sports"},{no:4,name:"hockey",kind:"message",T:oB,oneof:"sports"},{no:5,name:"soccer",kind:"message",T:EB,oneof:"sports"}],{localName:"SummaryResponse_ResponseData_SummaryResponseAttributes"}),$B=N.makeMessageType("streamlayer.sports.events.AdminSummaryRequest",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"organization_id",kind:"scalar",T:9}]),qB=N.makeMessageType("streamlayer.sports.events.AdminSummaryResponse",()=>[{no:1,name:"data",kind:"message",T:WB}]),WB=N.makeMessageType("streamlayer.sports.events.AdminSummaryResponse.ResponseData",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"attributes",kind:"message",T:KB}],{localName:"AdminSummaryResponse_ResponseData"}),KB=N.makeMessageType("streamlayer.sports.events.AdminSummaryResponse.ResponseData.SummaryResponseAttributes",()=>[{no:1,name:"summary",kind:"message",T:Lc},{no:2,name:"provider_id",kind:"scalar",T:9}],{localName:"AdminSummaryResponse_ResponseData_SummaryResponseAttributes"}),ZB=N.makeMessageType("streamlayer.sports.events.PlayByPlayRequest",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"pagination",kind:"message",T:jy},{no:3,name:"order",kind:"scalar",T:9}]),JB=N.makeMessageType("streamlayer.sports.events.PlayByPlayResponse",()=>[{no:1,name:"data",kind:"message",T:XB},{no:2,name:"meta",kind:"message",T:zy}]),XB=N.makeMessageType("streamlayer.sports.events.PlayByPlayResponse.ResponseData",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"type",kind:"enum",T:N.getEnumType(Rc)},{no:3,name:"attributes",kind:"message",T:eF}],{localName:"PlayByPlayResponse_ResponseData"}),eF=N.makeMessageType("streamlayer.sports.events.PlayByPlayResponse.ResponseData.PlayByPlayResponseAttributes",()=>[{no:1,name:"summary",kind:"message",T:Lc},{no:2,name:"baseball",kind:"message",T:Dz,oneof:"sports"},{no:3,name:"basketball",kind:"message",T:$z,oneof:"sports"},{no:4,name:"hockey",kind:"message",T:sB,oneof:"sports"},{no:5,name:"soccer",kind:"message",T:xB,oneof:"sports"}],{localName:"PlayByPlayResponse_ResponseData_PlayByPlayResponseAttributes"}),tF=N.makeMessageType("streamlayer.sports.events.ScheduleRequest",()=>[{no:1,name:"filter",kind:"message",T:nF},{no:2,name:"pagination",kind:"message",T:jy}]),nF=N.makeMessageType("streamlayer.sports.events.ScheduleRequest.Filter",()=>[{no:1,name:"date",kind:"scalar",T:9},{no:2,name:"league",kind:"scalar",T:9}],{localName:"ScheduleRequest_Filter"}),rF=N.makeMessageType("streamlayer.sports.events.ScheduleResponse",()=>[{no:1,name:"data",kind:"message",T:UB,repeated:!0},{no:2,name:"meta",kind:"message",T:zy}]),aF=N.makeMessageType("streamlayer.sports.events.ScheduleDatesRequest",()=>[{no:1,name:"filter",kind:"message",T:oF}]),oF=N.makeMessageType("streamlayer.sports.events.ScheduleDatesRequest.Filter",()=>[{no:2,name:"league",kind:"scalar",T:9}],{localName:"ScheduleDatesRequest_Filter"}),iF=N.makeMessageType("streamlayer.sports.events.ScheduleDatesResponse",()=>[{no:1,name:"data",kind:"scalar",T:9,repeated:!0}]),sF=N.makeMessageType("streamlayer.sports.events.BoxscoreRequest",()=>[{no:1,name:"id",kind:"scalar",T:4}]),lF=N.makeMessageType("streamlayer.sports.events.BoxscoreResponse",()=>[{no:1,name:"data",kind:"message",T:uF}]),uF=N.makeMessageType("streamlayer.sports.events.BoxscoreResponse.ResponseData",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"type",kind:"enum",T:N.getEnumType(Rc)},{no:3,name:"attributes",kind:"message",T:cF}],{localName:"BoxscoreResponse_ResponseData"}),cF=N.makeMessageType("streamlayer.sports.events.BoxscoreResponse.ResponseData.BoxscoreResponseAttributes",()=>[{no:1,name:"summary",kind:"message",T:Lc},{no:2,name:"basketball",kind:"message",T:qz,oneof:"sports"},{no:3,name:"hockey",kind:"message",T:lB,oneof:"sports"}],{localName:"BoxscoreResponse_ResponseData_BoxscoreResponseAttributes"}),dF=N.makeMessageType("streamlayer.sports.events.StandingsRequest",()=>[{no:1,name:"league",kind:"scalar",T:9}]),fF=N.makeMessageType("streamlayer.sports.events.StandingsResponse",()=>[{no:1,name:"data",kind:"message",T:pF}]),pF=N.makeMessageType("streamlayer.sports.events.StandingsResponse.ResponseData",()=>[{no:1,name:"type",kind:"enum",T:N.getEnumType(Rc)},{no:2,name:"attributes",kind:"message",T:mF}],{localName:"StandingsResponse_ResponseData"}),mF=N.makeMessageType("streamlayer.sports.events.StandingsResponse.ResponseData.StandingsResponseAttributes",()=>[{no:2,name:"basketball",kind:"message",T:Jz,oneof:"sports"},{no:3,name:"hockey",kind:"message",T:fB,oneof:"sports"},{no:4,name:"baseball",kind:"message",T:Bz,oneof:"sports"},{no:5,name:"soccer",kind:"message",T:RB,oneof:"sports"}],{localName:"StandingsResponse_ResponseData_StandingsResponseAttributes"}),hF=N.makeMessageType("streamlayer.sports.events.LineupRequest",()=>[{no:1,name:"id",kind:"scalar",T:4}]),gF=N.makeMessageType("streamlayer.sports.events.LineupResponse",()=>[{no:1,name:"data",kind:"message",T:yF}]),yF=N.makeMessageType("streamlayer.sports.events.LineupResponse.ResponseData",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"type",kind:"enum",T:N.getEnumType(Rc)},{no:3,name:"attributes",kind:"message",T:vF}],{localName:"LineupResponse_ResponseData"}),vF=N.makeMessageType("streamlayer.sports.events.LineupResponse.ResponseData.LineupResponseAttributes",()=>[{no:1,name:"summary",kind:"message",T:Lc},{no:2,name:"soccer",kind:"message",T:AB,oneof:"sports"},{no:3,name:"basketball",kind:"message",T:Xz,oneof:"sports"}],{localName:"LineupResponse_ResponseData_LineupResponseAttributes"}),TF=N.makeMessageType("streamlayer.sports.events.LastGamesRequest",()=>[{no:1,name:"id",kind:"scalar",T:4}]),kF=N.makeMessageType("streamlayer.sports.events.LastGamesResponse",()=>[{no:1,name:"data",kind:"message",T:bF}]),bF=N.makeMessageType("streamlayer.sports.events.LastGamesResponse.ResponseData",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"type",kind:"enum",T:N.getEnumType(Rc)},{no:3,name:"attributes",kind:"message",T:wF}],{localName:"LastGamesResponse_ResponseData"}),wF=N.makeMessageType("streamlayer.sports.events.LastGamesResponse.ResponseData.LastGamesResponseAttributes",()=>[{no:1,name:"summary",kind:"message",T:Lc},{no:2,name:"soccer",kind:"message",T:gw,oneof:"sports"},{no:3,name:"basketball",kind:"message",T:mw,oneof:"sports"}],{localName:"LastGamesResponse_ResponseData_LastGamesResponseAttributes"}),SF=N.makeMessageType("streamlayer.sports.events.RetrieveEventIdRequest",()=>[{no:1,name:"id",kind:"scalar",T:9}]),EF=N.makeMessageType("streamlayer.sports.events.RetrieveEventIdResponse",()=>[{no:1,name:"data",kind:"message",T:NF}]),NF=N.makeMessageType("streamlayer.sports.events.RetrieveEventIdResponse.RetrieveEventIdResponseData",()=>[{no:1,name:"id",kind:"scalar",T:4}],{localName:"RetrieveEventIdResponse_RetrieveEventIdResponseData"}),MF={typeName:"streamlayer.sports.events.Events",methods:{list:{name:"List",I:zB,O:QB,kind:et.Unary},demoList:{name:"DemoList",I:FB,O:YB,kind:et.Unary},summary:{name:"Summary",I:w9,O:S9,kind:et.Unary},adminSummary:{name:"AdminSummary",I:$B,O:qB,kind:et.Unary},boxscore:{name:"Boxscore",I:sF,O:lF,kind:et.Unary},standings:{name:"Standings",I:dF,O:fF,kind:et.Unary},playByPlay:{name:"PlayByPlay",I:ZB,O:JB,kind:et.Unary},schedule:{name:"Schedule",I:tF,O:rF,kind:et.Unary},scheduleDates:{name:"ScheduleDates",I:aF,O:iF,kind:et.Unary},lineup:{name:"Lineup",I:hF,O:gF,kind:et.Unary},retrieveEventId:{name:"RetrieveEventId",I:SF,O:EF,kind:et.Unary},lastGames:{name:"LastGames",I:TF,O:kF,kind:et.Unary},summarySubscription:{name:"SummarySubscription",I:w9,O:S9,kind:et.ServerStreaming}}},IF=N.makeEnum("streamlayer.sdkSettings.client.VisibleStatus",[{no:0,name:"VISIBLE_STATUS_UNSET",localName:"UNSET"},{no:1,name:"VISIBLE_STATUS_INCOGNITO",localName:"INCOGNITO"},{no:2,name:"VISIBLE_STATUS_VISIBLE",localName:"VISIBLE"}]),_F=N.makeEnum("streamlayer.sdkSettings.client.MessagesNotify",[{no:0,name:"MESSAGES_NOTIFY_UNSET",localName:"UNSET"},{no:1,name:"MESSAGES_NOTIFY_DISALLOW",localName:"DISALLOW"},{no:2,name:"MESSAGES_NOTIFY_ALLOW",localName:"ALLOW"}]),CF=N.makeEnum("streamlayer.sdkSettings.client.FriendsNotify",[{no:0,name:"FRIENDS_NOTIFY_UNSET",localName:"UNSET"},{no:1,name:"FRIENDS_NOTIFY_DISALLOW",localName:"DISALLOW"},{no:2,name:"FRIENDS_NOTIFY_ALLOW",localName:"ALLOW"}]),AF=N.makeEnum("streamlayer.sdkSettings.client.TwitterNotify",[{no:0,name:"TWITTER_NOTIFY_UNSET",localName:"UNSET"},{no:1,name:"TWITTER_NOTIFY_DISALLOW",localName:"DISALLOW"},{no:2,name:"TWITTER_NOTIFY_ALLOW",localName:"ALLOW"}]),OF=N.makeEnum("streamlayer.sdkSettings.client.CallsSound",[{no:0,name:"CALLS_SOUND_UNSET",localName:"UNSET"},{no:1,name:"CALLS_SOUND_DISALLOW",localName:"DISALLOW"},{no:2,name:"CALLS_SOUND_ALLOW",localName:"ALLOW"}]),xF=N.makeEnum("streamlayer.sdkSettings.client.MessagesSound",[{no:0,name:"MESSAGES_SOUND_UNSET",localName:"UNSET"},{no:1,name:"MESSAGES_SOUND_DISALLOW",localName:"DISALLOW"},{no:2,name:"MESSAGES_SOUND_ALLOW",localName:"ALLOW"}]),LF=N.makeEnum("streamlayer.sdkSettings.client.FriendsSound",[{no:0,name:"FRIENDS_SOUND_UNSET",localName:"UNSET"},{no:1,name:"FRIENDS_SOUND_DISALLOW",localName:"DISALLOW"},{no:2,name:"FRIENDS_SOUND_ALLOW",localName:"ALLOW"}]),RF=N.makeEnum("streamlayer.sdkSettings.client.TwitterSound",[{no:0,name:"TWITTER_SOUND_UNSET",localName:"UNSET"},{no:1,name:"TWITTER_SOUND_DISALLOW",localName:"DISALLOW"},{no:2,name:"TWITTER_SOUND_ALLOW",localName:"ALLOW"}]),vw=N.makeEnum("streamlayer.sdkSettings.client.SettingsAllow",[{no:0,name:"SETTINGS_ALLOW_UNSET",localName:"UNSET"},{no:1,name:"SETTINGS_ALLOW_DISALLOW",localName:"DISALLOW"},{no:2,name:"SETTINGS_ALLOW_ALLOW",localName:"ALLOW"}]),DF=N.makeEnum("streamlayer.sdkSettings.client.ManagedGroupType",[{no:0,name:"MANAGED_GROUP_TYPE_UNSET",localName:"UNSET"},{no:1,name:"MANAGED_GROUP_TYPE_CHAT",localName:"CHAT"},{no:2,name:"MANAGED_GROUP_TYPE_WP",localName:"WP"}]),PF=N.makeEnum("streamlayer.sdkSettings.client.GroupType",[{no:0,name:"GROUP_TYPE_UNSET",localName:"UNSET"},{no:1,name:"GROUP_TYPE_CHAT",localName:"CHAT"},{no:2,name:"GROUP_TYPE_WP",localName:"WP"}]),UF=N.makeMessageType("streamlayer.sdkSettings.client.NotifySettings",()=>[{no:1,name:"allow",kind:"enum",T:N.getEnumType(vw)}]),jF=N.makeMessageType("streamlayer.sdkSettings.client.SoundSettings",()=>[{no:1,name:"allow",kind:"enum",T:N.getEnumType(vw)}]),B4=N.makeMessageType("streamlayer.sdkSettings.client.ClientSettingsNotifications",()=>[{no:1,name:"notify",kind:"message",T:UF},{no:2,name:"sound",kind:"message",T:jF}]),ZT=N.makeMessageType("streamlayer.sdkSettings.client.ClientSettings",()=>[{no:1,name:"visible_status",kind:"enum",T:N.getEnumType(IF)},{no:2,name:"messages_notify",kind:"enum",T:N.getEnumType(_F)},{no:3,name:"friends_notify",kind:"enum",T:N.getEnumType(CF)},{no:4,name:"calls_sound",kind:"enum",T:N.getEnumType(OF)},{no:5,name:"messages_sound",kind:"enum",T:N.getEnumType(xF)},{no:6,name:"friends_sound",kind:"enum",T:N.getEnumType(LF)},{no:7,name:"twitter_notify",kind:"enum",T:N.getEnumType(AF)},{no:8,name:"twitter_sound",kind:"enum",T:N.getEnumType(RF)},{no:9,name:"gamification",kind:"message",T:B4},{no:10,name:"watch_party_invitation",kind:"message",T:B4},{no:11,name:"twitter_question",kind:"message",T:B4}]),zF=N.makeMessageType("streamlayer.sdkSettings.client.GetRequest",[]),BF=N.makeMessageType("streamlayer.sdkSettings.client.GetResponse",()=>[{no:1,name:"data",kind:"message",T:FF}]),FF=N.makeMessageType("streamlayer.sdkSettings.client.GetResponse.GetResponseData",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"message",T:ZT}],{localName:"GetResponse_GetResponseData"}),VF=N.makeMessageType("streamlayer.sdkSettings.client.UpdateRequest",()=>[{no:2,name:"settings",kind:"message",T:ZT}]),YF=N.makeMessageType("streamlayer.sdkSettings.client.UpdateResponse",()=>[{no:1,name:"data",kind:"message",T:QF}]),QF=N.makeMessageType("streamlayer.sdkSettings.client.UpdateResponse.UpdateResponseData",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"message",T:ZT}],{localName:"UpdateResponse_UpdateResponseData"}),GF=N.makeMessageType("streamlayer.sdkSettings.client.GetStreamRequest",()=>[{no:1,name:"id",kind:"scalar",T:9}]),HF=N.makeMessageType("streamlayer.sdkSettings.client.GetStreamResponse",()=>[{no:1,name:"data",kind:"message",T:$F}]),$F=N.makeMessageType("streamlayer.sdkSettings.client.GetStreamResponse.GetResponseData",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"message",T:_7}],{localName:"GetStreamResponse_GetResponseData"}),qF=N.makeMessageType("streamlayer.sdkSettings.client.GetOrganizationRequest",[]),WF=N.makeMessageType("streamlayer.sdkSettings.client.GetOrganizationResponse",()=>[{no:1,name:"data",kind:"message",T:KF}]),KF=N.makeMessageType("streamlayer.sdkSettings.client.GetOrganizationResponse.GetResponseData",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"message",T:C7}],{localName:"GetOrganizationResponse_GetResponseData"}),ZF=N.makeMessageType("streamlayer.sdkSettings.client.GetOrganizationAdvertisingRequest",()=>[{no:1,name:"event_id",kind:"scalar",T:9,opt:!0}]),JF=N.makeMessageType("streamlayer.sdkSettings.client.GetOrganizationAdvertisingResponse",()=>[{no:1,name:"data",kind:"message",T:XF}]),XF=N.makeMessageType("streamlayer.sdkSettings.client.GetOrganizationAdvertisingResponse.GetOrganizationAdvertisingResponseData",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"message",T:A7}],{localName:"GetOrganizationAdvertisingResponse_GetOrganizationAdvertisingResponseData"}),eV=N.makeMessageType("streamlayer.sdkSettings.client.ManagedGroup",()=>[{no:1,name:"group_id",kind:"scalar",T:9},{no:2,name:"fantasy_group_id",kind:"scalar",T:9},{no:3,name:"group_type",kind:"enum",T:N.getEnumType(DF)}]),Tw=N.makeMessageType("streamlayer.sdkSettings.client.DeepLinkData",()=>[{no:1,name:"group_id",kind:"scalar",T:9},{no:2,name:"event_id",kind:"scalar",T:9},{no:3,name:"gamification",kind:"scalar",T:8},{no:4,name:"managed_group",kind:"message",T:eV},{no:5,name:"external_event_id",kind:"scalar",T:9},{no:6,name:"external_group_id",kind:"scalar",T:9},{no:7,name:"group_type",kind:"enum",T:N.getEnumType(PF)}]),tV=N.makeMessageType("streamlayer.sdkSettings.client.GenerateDeepLinkRequest",()=>[{no:1,name:"data",kind:"message",T:Tw}]),nV=N.makeMessageType("streamlayer.sdkSettings.client.DeepLink",()=>[{no:1,name:"url",kind:"scalar",T:9},{no:2,name:"link_id",kind:"scalar",T:9}]),rV=N.makeMessageType("streamlayer.sdkSettings.client.GenerateDeepLinkResponse",()=>[{no:1,name:"data",kind:"message",T:aV}]),aV=N.makeMessageType("streamlayer.sdkSettings.client.GenerateDeepLinkResponse.GenerateDeepLinkResponseData",()=>[{no:1,name:"attributes",kind:"message",T:nV}],{localName:"GenerateDeepLinkResponse_GenerateDeepLinkResponseData"});N.makeMessageType("streamlayer.sdkSettings.client.RetreiveDeepLinkRequest",()=>[{no:1,name:"url",kind:"scalar",T:9}]);N.makeMessageType("streamlayer.sdkSettings.client.RetreiveDeepLinkResponse",()=>[{no:1,name:"data",kind:"message",T:oV}]);const oV=N.makeMessageType("streamlayer.sdkSettings.client.RetreiveDeepLinkResponse.RetreiveDeepLinkResponseData",()=>[{no:1,name:"attributes",kind:"message",T:Tw}],{localName:"RetreiveDeepLinkResponse_RetreiveDeepLinkResponseData"}),iV=N.makeMessageType("streamlayer.sdkSettings.client.StreamSubscriptionRequest",()=>[{no:1,name:"id",kind:"scalar",T:9}]),sV=N.makeMessageType("streamlayer.sdkSettings.client.OrganizationSubscriptionRequest",[]),lV=N.makeMessageType("streamlayer.sdkSettings.client.StreamSubscriptionResponse",()=>[{no:1,name:"data",kind:"message",T:uV}]),uV=N.makeMessageType("streamlayer.sdkSettings.client.StreamSubscriptionResponse.ResponseData",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"message",T:_7}],{localName:"StreamSubscriptionResponse_ResponseData"}),cV=N.makeMessageType("streamlayer.sdkSettings.client.OrganizationSubscriptionResponse",()=>[{no:1,name:"data",kind:"message",T:dV}]),dV=N.makeMessageType("streamlayer.sdkSettings.client.OrganizationSubscriptionResponse.ResponseData",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"message",T:C7}],{localName:"OrganizationSubscriptionResponse_ResponseData"}),B1={typeName:"streamlayer.sdkSettings.client.Client",methods:{get:{name:"Get",I:zF,O:BF,kind:et.Unary},update:{name:"Update",I:VF,O:YF,kind:et.Unary},getStream:{name:"GetStream",I:GF,O:HF,kind:et.Unary},getOrganization:{name:"GetOrganization",I:qF,O:WF,kind:et.Unary},getOrganizationAdvertising:{name:"GetOrganizationAdvertising",I:ZF,O:JF,kind:et.Unary},generateDeepLink:{name:"GenerateDeepLink",I:tV,O:rV,kind:et.Unary},streamSubscription:{name:"StreamSubscription",I:iV,O:lV,kind:et.ServerStreaming},organizationSubscription:{name:"OrganizationSubscription",I:sV,O:cV,kind:et.ServerStreaming}}},fV=N.makeEnum("streamlayer.users.UserNotificationPreference",[{no:0,name:"USER_NOTIFICATION_PREFERENCE_UNSET",localName:"UNSET"},{no:1,name:"USER_NOTIFICATION_PREFERENCE_ALL_EVENTS",localName:"ALL_EVENTS"},{no:2,name:"USER_NOTIFICATION_PREFERENCE_IMPORTANT_EVENTS_ONLY",localName:"IMPORTANT_EVENTS_ONLY"},{no:3,name:"USER_NOTIFICATION_PREFERENCE_DAILY_SUMMARY_AND_MENTIONS",localName:"DAILY_SUMMARY_AND_MENTIONS"}]),pV=N.makeMessageType("streamlayer.users.PublicChatUser",()=>[{no:1,name:"name",kind:"scalar",T:9}]),mV=N.makeMessageType("streamlayer.users.UserAttributes",()=>[{no:1,name:"username",kind:"scalar",T:9},{no:2,name:"name",kind:"scalar",T:9},{no:3,name:"alias",kind:"scalar",T:9},{no:5,name:"avatar",kind:"scalar",T:9},{no:6,name:"public_chat",kind:"message",T:pV},{no:7,name:"public_name",kind:"scalar",T:9}]);N.makeMessageType("streamlayer.users.UserOrganization",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"permissions",kind:"scalar",T:9,repeated:!0}]);const hV=N.makeMessageType("streamlayer.users.UserMetadata",()=>[{no:2,name:"avatar",kind:"scalar",T:9},{no:3,name:"avatar_background_colour",kind:"scalar",T:9},{no:4,name:"timezone",kind:"scalar",T:9},{no:5,name:"notification_preference",kind:"enum",T:N.getEnumType(fV)},{no:6,name:"active",kind:"scalar",T:8},{no:7,name:"first_name",kind:"scalar",T:9},{no:8,name:"last_name",kind:"scalar",T:9},{no:9,name:"roles",kind:"scalar",T:9,repeated:!0}]),gV=N.makeMessageType("streamlayer.users.ExtendedUserAttributes",()=>[{no:1,name:"username",kind:"scalar",T:9},{no:2,name:"name",kind:"scalar",T:9},{no:3,name:"alias",kind:"scalar",T:9},{no:4,name:"metadata",kind:"message",T:hV}]),JT=N.makeMessageType("streamlayer.users.User",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"message",T:mV}]);N.makeMessageType("streamlayer.users.ExtendedUser",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"message",T:gV}]);const yV=N.makeMessageType("streamlayer.users.LoginRequest",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"password",kind:"scalar",T:9}]),vV=N.makeMessageType("streamlayer.users.AuthResponse",()=>[{no:1,name:"meta",kind:"message",T:TV},{no:2,name:"data",kind:"message",T:JT}]),TV=N.makeMessageType("streamlayer.users.AuthResponse.AuthResponseMetadata",()=>[{no:1,name:"jwt",kind:"scalar",T:9},{no:3,name:"getstream",kind:"scalar",T:9}],{localName:"AuthResponse_AuthResponseMetadata"}),kV=N.makeMessageType("streamlayer.users.RegisterRequest",()=>[{no:1,name:"id",kind:"scalar",T:9}]),bV=N.makeMessageType("streamlayer.users.Referral",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"name",kind:"scalar",T:9},{no:3,name:"watching_game",kind:"scalar",T:9}]),wV=N.makeMessageType("streamlayer.users.RegisterResponse",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"requires_activation",kind:"scalar",T:8},{no:3,name:"referral",kind:"message",T:bV}]),SV=N.makeMessageType("streamlayer.users.RequestPasswordRequest",()=>[{no:1,name:"id",kind:"scalar",T:9}]),EV=N.makeMessageType("streamlayer.users.RequestPasswordResponse",()=>[{no:1,name:"requested",kind:"scalar",T:8},{no:2,name:"uid",kind:"scalar",T:9}]),NV=N.makeMessageType("streamlayer.users.MeRequest",[]),MV=N.makeMessageType("streamlayer.users.MeResponse",()=>[{no:1,name:"data",kind:"message",T:JT}]),IV=N.makeMessageType("streamlayer.users.UpdateMetadataRequest",()=>[{no:1,name:"set_name",kind:"scalar",T:9,oneof:"name"},{no:2,name:"del_name",kind:"scalar",T:9,oneof:"name"}]),_V=N.makeMessageType("streamlayer.users.UpdateAvatarRequest",()=>[{no:1,name:"username",kind:"scalar",T:9},{no:2,name:"set_avatar",kind:"scalar",T:9,oneof:"avatar"},{no:3,name:"del_avatar",kind:"scalar",T:9,oneof:"avatar"}]),CV=N.makeMessageType("streamlayer.users.UpdateAvatarResponse",[]),AV=N.makeMessageType("streamlayer.users.UpdatePublicChatNameRequest",()=>[{no:1,name:"username",kind:"scalar",T:9},{no:2,name:"set_name",kind:"scalar",T:9,oneof:"name"},{no:3,name:"del_name",kind:"scalar",T:9,oneof:"name"}]),OV=N.makeMessageType("streamlayer.users.UpdatePublicChatNameResponse",[]),xV=N.makeMessageType("streamlayer.users.UpdatePublicNameRequest",()=>[{no:1,name:"username",kind:"scalar",T:9},{no:2,name:"set_name",kind:"scalar",T:9,oneof:"name"},{no:3,name:"del_name",kind:"scalar",T:9,oneof:"name"}]),LV=N.makeMessageType("streamlayer.users.UpdatePublicNameResponse",[]),RV=N.makeMessageType("streamlayer.users.UpdateMetadataResponse",[]),DV=N.makeMessageType("streamlayer.users.InviteRequest",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"referral",kind:"message",T:PV}]),PV=N.makeMessageType("streamlayer.users.InviteRequest.InviteReferral",()=>[{no:1,name:"watching_game",kind:"scalar",T:9}],{localName:"InviteRequest_InviteReferral"}),UV=N.makeMessageType("streamlayer.users.InviteResponse",[]),jV=N.makeMessageType("streamlayer.users.BypassAuthRequest",()=>[{no:1,name:"user_key",kind:"scalar",T:9},{no:2,name:"schema",kind:"scalar",T:9},{no:3,name:"init",kind:"scalar",T:8}]),zV=N.makeMessageType("streamlayer.users.BypassAuthResponse",()=>[{no:1,name:"meta",kind:"message",T:BV},{no:2,name:"data",kind:"message",T:JT,opt:!0}]),BV=N.makeMessageType("streamlayer.users.BypassAuthResponse.AuthResponseMetadata",()=>[{no:1,name:"jwt",kind:"scalar",T:9,opt:!0},{no:3,name:"token",kind:"scalar",T:9,opt:!0},{no:4,name:"getstream",kind:"scalar",T:9}],{localName:"BypassAuthResponse_AuthResponseMetadata"}),kw={typeName:"streamlayer.users.Users",methods:{login:{name:"Login",I:yV,O:vV,kind:et.Unary},register:{name:"Register",I:kV,O:wV,kind:et.Unary},requestPassword:{name:"RequestPassword",I:SV,O:EV,kind:et.Unary},me:{name:"Me",I:NV,O:MV,kind:et.Unary},invite:{name:"Invite",I:DV,O:UV,kind:et.Unary},bypassAuth:{name:"BypassAuth",I:jV,O:zV,kind:et.Unary},updateMetadata:{name:"UpdateMetadata",I:IV,O:RV,kind:et.Unary},updateAvatar:{name:"UpdateAvatar",I:_V,O:CV,kind:et.Unary},updatePublicChatName:{name:"UpdatePublicChatName",I:AV,O:OV,kind:et.Unary},updatePublicName:{name:"UpdatePublicName",I:xV,O:LV,kind:et.Unary}}},Zs={typeName:"streamlayer.interactive.feed.Feed",methods:{get:{name:"Get",I:jO,O:zO,kind:et.Unary},subscription:{name:"Subscription",I:YA,O:QA,kind:et.ServerStreaming},votingSubscription:{name:"VotingSubscription",I:HA,O:$A,kind:et.ServerStreaming},questionSubscription:{name:"QuestionSubscription",I:KA,O:ZA,kind:et.ServerStreaming},questionByUser:{name:"QuestionByUser",I:eO,O:tO,kind:et.Unary},syncQuestion:{name:"SyncQuestion",I:rO,O:oO,kind:et.Unary},getQuestion:{name:"GetQuestion",I:sO,O:lO,kind:et.Unary},questionDetail:{name:"QuestionDetail",I:cO,O:dO,kind:et.Unary},submitAnswer:{name:"SubmitAnswer",I:pO,O:hO,kind:et.Unary},submitInplay:{name:"SubmitInplay",I:yO,O:TO,kind:et.Unary},skipQuestion:{name:"SkipQuestion",I:kO,O:wO,kind:et.Unary},pickHistory:{name:"PickHistory",I:EO,O:NO,kind:et.Unary},insightHistory:{name:"InsightHistory",I:_O,O:OO,kind:et.Unary},tweetHistory:{name:"TweetHistory",I:LO,O:RO,kind:et.Unary},promotionHistory:{name:"PromotionHistory",I:FO,O:VO,kind:et.Unary},list:{name:"List",I:GO,O:$O,kind:et.Unary},feedSubscription:{name:"FeedSubscription",I:WO,O:KO,kind:et.ServerStreaming}}},FV=N.makeEnum("streamlayer.interactive.leaderboard.LeaderboardType",[{no:0,name:"LEADERBOARD_TYPE_UNSET",localName:"UNSET"},{no:1,name:"LEADERBOARD_TYPE_TOURNAMENT",localName:"TOURNAMENT"},{no:2,name:"LEADERBOARD_TYPE_EVENT",localName:"EVENT"}]),bw=N.makeMessageType("streamlayer.interactive.leaderboard.LeaderboardData",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"enum",T:N.getEnumType(FV)},{no:3,name:"name",kind:"scalar",T:9},{no:4,name:"event_ids",kind:"scalar",T:3,repeated:!0},{no:5,name:"leaderboards",kind:"message",T:bw,repeated:!0},{no:6,name:"created_at",kind:"scalar",T:3}]),XT=N.makeMessageType("streamlayer.interactive.leaderboard.LeaderboardItem",()=>[{no:1,name:"streak",kind:"scalar",T:5},{no:2,name:"correct",kind:"scalar",T:5},{no:3,name:"incorrect",kind:"scalar",T:5},{no:4,name:"points",kind:"scalar",T:5},{no:5,name:"rank",kind:"scalar",T:5},{no:6,name:"name",kind:"scalar",T:9},{no:7,name:"avatar",kind:"scalar",T:9},{no:8,name:"user_id",kind:"scalar",T:9},{no:9,name:"recent_correct",kind:"scalar",T:5},{no:10,name:"streak_loss",kind:"scalar",T:5},{no:11,name:"friends_rank",kind:"scalar",T:5},{no:12,name:"in_top",kind:"scalar",T:5}]),VV=N.makeMessageType("streamlayer.interactive.leaderboard.LeaderboardSummaryItem",()=>[{no:1,name:"summary",kind:"message",T:XT},{no:2,name:"percentage",kind:"message",T:YV}]),YV=N.makeMessageType("streamlayer.interactive.leaderboard.LeaderboardSummaryItem.SummaryPercentage",()=>[{no:1,name:"correct",kind:"scalar",T:5},{no:2,name:"average",kind:"scalar",T:5}],{localName:"LeaderboardSummaryItem_SummaryPercentage"}),QV=N.makeMessageType("streamlayer.interactive.leaderboard.ListRequest",()=>[{no:1,name:"pagination",kind:"message",T:Ly},{no:2,name:"users_ids",kind:"scalar",T:9,repeated:!0},{no:3,name:"event_id",kind:"scalar",T:4},{no:4,name:"leaderboard_id",kind:"scalar",T:9}]),GV=N.makeMessageType("streamlayer.interactive.leaderboard.ListResponse",()=>[{no:1,name:"data",kind:"message",T:HV,repeated:!0},{no:2,name:"meta",kind:"message",T:$V}]),HV=N.makeMessageType("streamlayer.interactive.leaderboard.ListResponse.ListResponseData",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"message",T:XT}],{localName:"ListResponse_ListResponseData"}),$V=N.makeMessageType("streamlayer.interactive.leaderboard.ListResponse.ListResponseMeta",()=>[{no:1,name:"count",kind:"scalar",T:5},{no:2,name:"page",kind:"scalar",T:5},{no:3,name:"page_size",kind:"scalar",T:5}],{localName:"ListResponse_ListResponseMeta"}),qV=N.makeMessageType("streamlayer.interactive.leaderboard.SummaryRequest",()=>[{no:1,name:"event_id",kind:"scalar",T:4},{no:2,name:"user_id",kind:"scalar",T:9},{no:3,name:"leaderboard_id",kind:"scalar",T:9},{no:4,name:"users_ids",kind:"scalar",T:9,repeated:!0}]),WV=N.makeMessageType("streamlayer.interactive.leaderboard.SummaryResponse",()=>[{no:1,name:"data",kind:"message",T:KV}]),KV=N.makeMessageType("streamlayer.interactive.leaderboard.SummaryResponse.SummaryResponseData",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"message",T:VV}],{localName:"SummaryResponse_SummaryResponseData"}),ZV=N.makeMessageType("streamlayer.interactive.leaderboard.EventLeaderboardsRequest",()=>[{no:1,name:"organization_id",kind:"scalar",T:9},{no:2,name:"event_id",kind:"scalar",T:9}]),JV=N.makeMessageType("streamlayer.interactive.leaderboard.EventLeaderboardsResponse",()=>[{no:2,name:"data",kind:"message",T:XV}]),XV=N.makeMessageType("streamlayer.interactive.leaderboard.EventLeaderboardsResponse.EventLeaderboardsResponseData",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"message",T:bw}],{localName:"EventLeaderboardsResponse_EventLeaderboardsResponseData"}),eY=N.makeMessageType("streamlayer.interactive.leaderboard.EventLeaderboardRequest",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"organization_id",kind:"scalar",T:9},{no:3,name:"pagination",kind:"message",T:Ly},{no:4,name:"sort",kind:"message",T:DA}]),tY=N.makeMessageType("streamlayer.interactive.leaderboard.EventLeaderboardResponse",()=>[{no:1,name:"data",kind:"message",T:nY,repeated:!0},{no:2,name:"meta",kind:"message",T:rY}]),nY=N.makeMessageType("streamlayer.interactive.leaderboard.EventLeaderboardResponse.ListResponseData",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"message",T:XT}],{localName:"EventLeaderboardResponse_ListResponseData"}),rY=N.makeMessageType("streamlayer.interactive.leaderboard.EventLeaderboardResponse.ListResponseMeta",()=>[{no:1,name:"count",kind:"scalar",T:5},{no:2,name:"page",kind:"scalar",T:5},{no:3,name:"page_size",kind:"scalar",T:5}],{localName:"EventLeaderboardResponse_ListResponseMeta"}),ww={typeName:"streamlayer.interactive.leaderboard.Leaderboard",methods:{list:{name:"List",I:QV,O:GV,kind:et.Unary},summary:{name:"Summary",I:qV,O:WV,kind:et.Unary},eventLeaderboards:{name:"EventLeaderboards",I:ZV,O:JV,kind:et.Unary},eventLeaderboard:{name:"EventLeaderboard",I:eY,O:tY,kind:et.Unary}}};var Sw=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof ap.global<"u"?ap.global:typeof self<"u"?self:{};function aY(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}var Mt={},Ew={},Fy={};Fy.byteLength=sY;Fy.toByteArray=uY;Fy.fromByteArray=fY;var Hi=[],wo=[],oY=typeof Uint8Array<"u"?Uint8Array:Array,F4="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(var Yf=0,iY=F4.length;Yf<iY;++Yf)Hi[Yf]=F4[Yf],wo[F4.charCodeAt(Yf)]=Yf;wo["-".charCodeAt(0)]=62;wo["_".charCodeAt(0)]=63;function Nw(r){var o=r.length;if(o%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var s=r.indexOf("=");s===-1&&(s=o);var m=s===o?0:4-s%4;return[s,m]}function sY(r){var o=Nw(r),s=o[0],m=o[1];return(s+m)*3/4-m}function lY(r,o,s){return(o+s)*3/4-s}function uY(r){var o,s=Nw(r),m=s[0],p=s[1],v=new oY(lY(r,m,p)),g=0,T=p>0?m-4:m,I;for(I=0;I<T;I+=4)o=wo[r.charCodeAt(I)]<<18|wo[r.charCodeAt(I+1)]<<12|wo[r.charCodeAt(I+2)]<<6|wo[r.charCodeAt(I+3)],v[g++]=o>>16&255,v[g++]=o>>8&255,v[g++]=o&255;return p===2&&(o=wo[r.charCodeAt(I)]<<2|wo[r.charCodeAt(I+1)]>>4,v[g++]=o&255),p===1&&(o=wo[r.charCodeAt(I)]<<10|wo[r.charCodeAt(I+1)]<<4|wo[r.charCodeAt(I+2)]>>2,v[g++]=o>>8&255,v[g++]=o&255),v}function cY(r){return Hi[r>>18&63]+Hi[r>>12&63]+Hi[r>>6&63]+Hi[r&63]}function dY(r,o,s){for(var m,p=[],v=o;v<s;v+=3)m=(r[v]<<16&16711680)+(r[v+1]<<8&65280)+(r[v+2]&255),p.push(cY(m));return p.join("")}function fY(r){for(var o,s=r.length,m=s%3,p=[],v=16383,g=0,T=s-m;g<T;g+=v)p.push(dY(r,g,g+v>T?T:g+v));return m===1?(o=r[s-1],p.push(Hi[o>>2]+Hi[o<<4&63]+"==")):m===2&&(o=(r[s-2]<<8)+r[s-1],p.push(Hi[o>>10]+Hi[o>>4&63]+Hi[o<<2&63]+"=")),p.join("")}var e8={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */e8.read=function(r,o,s,m,p){var v,g,T=p*8-m-1,I=(1<<T)-1,C=I>>1,D=-7,R=s?p-1:0,x=s?-1:1,j=r[o+R];for(R+=x,v=j&(1<<-D)-1,j>>=-D,D+=T;D>0;v=v*256+r[o+R],R+=x,D-=8);for(g=v&(1<<-D)-1,v>>=-D,D+=m;D>0;g=g*256+r[o+R],R+=x,D-=8);if(v===0)v=1-C;else{if(v===I)return g?NaN:(j?-1:1)*(1/0);g=g+Math.pow(2,m),v=v-C}return(j?-1:1)*g*Math.pow(2,v-m)};e8.write=function(r,o,s,m,p,v){var g,T,I,C=v*8-p-1,D=(1<<C)-1,R=D>>1,x=p===23?Math.pow(2,-24)-Math.pow(2,-77):0,j=m?0:v-1,Q=m?1:-1,W=o<0||o===0&&1/o<0?1:0;for(o=Math.abs(o),isNaN(o)||o===1/0?(T=isNaN(o)?1:0,g=D):(g=Math.floor(Math.log(o)/Math.LN2),o*(I=Math.pow(2,-g))<1&&(g--,I*=2),g+R>=1?o+=x/I:o+=x*Math.pow(2,1-R),o*I>=2&&(g++,I/=2),g+R>=D?(T=0,g=D):g+R>=1?(T=(o*I-1)*Math.pow(2,p),g=g+R):(T=o*Math.pow(2,R-1)*Math.pow(2,p),g=0));p>=8;r[s+j]=T&255,j+=Q,T/=256,p-=8);for(g=g<<p|T,C+=p;C>0;r[s+j]=g&255,j+=Q,g/=256,C-=8);r[s+j-Q]|=W*128};/*!
170
170
  * The buffer module from node.js, for the browser.
171
171
  *
172
172
  * @author Feross Aboukhadijeh <https://feross.org>
173
173
  * @license MIT
174
- */(function(r){const o=Fy,s=e8,m=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;r.Buffer=T,r.SlowBuffer=se,r.INSPECT_MAX_BYTES=50;const p=2147483647;r.kMaxLength=p,T.TYPED_ARRAY_SUPPORT=v(),!T.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function v(){try{const l=new Uint8Array(1),c={foo:function(){return 42}};return Object.setPrototypeOf(c,Uint8Array.prototype),Object.setPrototypeOf(l,c),l.foo()===42}catch{return!1}}Object.defineProperty(T.prototype,"parent",{enumerable:!0,get:function(){if(T.isBuffer(this))return this.buffer}}),Object.defineProperty(T.prototype,"offset",{enumerable:!0,get:function(){if(T.isBuffer(this))return this.byteOffset}});function g(l){if(l>p)throw new RangeError('The value "'+l+'" is invalid for option "size"');const c=new Uint8Array(l);return Object.setPrototypeOf(c,T.prototype),c}function T(l,c,f){if(typeof l=="number"){if(typeof c=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return R(l)}return I(l,c,f)}T.poolSize=8192;function I(l,c,f){if(typeof l=="string")return x(l,c);if(ArrayBuffer.isView(l))return Q(l);if(l==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof l);if(Nt(l,ArrayBuffer)||l&&Nt(l.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Nt(l,SharedArrayBuffer)||l&&Nt(l.buffer,SharedArrayBuffer)))return W(l,c,f);if(typeof l=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const b=l.valueOf&&l.valueOf();if(b!=null&&b!==l)return T.from(b,c,f);const M=le(l);if(M)return M;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof l[Symbol.toPrimitive]=="function")return T.from(l[Symbol.toPrimitive]("string"),c,f);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof l)}T.from=function(l,c,f){return I(l,c,f)},Object.setPrototypeOf(T.prototype,Uint8Array.prototype),Object.setPrototypeOf(T,Uint8Array);function C(l){if(typeof l!="number")throw new TypeError('"size" argument must be of type number');if(l<0)throw new RangeError('The value "'+l+'" is invalid for option "size"')}function D(l,c,f){return C(l),l<=0?g(l):c!==void 0?typeof f=="string"?g(l).fill(c,f):g(l).fill(c):g(l)}T.alloc=function(l,c,f){return D(l,c,f)};function R(l){return C(l),g(l<0?0:G(l)|0)}T.allocUnsafe=function(l){return R(l)},T.allocUnsafeSlow=function(l){return R(l)};function x(l,c){if((typeof c!="string"||c==="")&&(c="utf8"),!T.isEncoding(c))throw new TypeError("Unknown encoding: "+c);const f=te(l,c)|0;let b=g(f);const M=b.write(l,c);return M!==f&&(b=b.slice(0,M)),b}function j(l){const c=l.length<0?0:G(l.length)|0,f=g(c);for(let b=0;b<c;b+=1)f[b]=l[b]&255;return f}function Q(l){if(Nt(l,Uint8Array)){const c=new Uint8Array(l);return W(c.buffer,c.byteOffset,c.byteLength)}return j(l)}function W(l,c,f){if(c<0||l.byteLength<c)throw new RangeError('"offset" is outside of buffer bounds');if(l.byteLength<c+(f||0))throw new RangeError('"length" is outside of buffer bounds');let b;return c===void 0&&f===void 0?b=new Uint8Array(l):f===void 0?b=new Uint8Array(l,c):b=new Uint8Array(l,c,f),Object.setPrototypeOf(b,T.prototype),b}function le(l){if(T.isBuffer(l)){const c=G(l.length)|0,f=g(c);return f.length===0||l.copy(f,0,0,c),f}if(l.length!==void 0)return typeof l.length!="number"||_n(l.length)?g(0):j(l);if(l.type==="Buffer"&&Array.isArray(l.data))return j(l.data)}function G(l){if(l>=p)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+p.toString(16)+" bytes");return l|0}function se(l){return+l!=l&&(l=0),T.alloc(+l)}T.isBuffer=function(l){return l!=null&&l._isBuffer===!0&&l!==T.prototype},T.compare=function(l,c){if(Nt(l,Uint8Array)&&(l=T.from(l,l.offset,l.byteLength)),Nt(c,Uint8Array)&&(c=T.from(c,c.offset,c.byteLength)),!T.isBuffer(l)||!T.isBuffer(c))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(l===c)return 0;let f=l.length,b=c.length;for(let M=0,O=Math.min(f,b);M<O;++M)if(l[M]!==c[M]){f=l[M],b=c[M];break}return f<b?-1:b<f?1:0},T.isEncoding=function(l){switch(String(l).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},T.concat=function(l,c){if(!Array.isArray(l))throw new TypeError('"list" argument must be an Array of Buffers');if(l.length===0)return T.alloc(0);let f;if(c===void 0)for(c=0,f=0;f<l.length;++f)c+=l[f].length;const b=T.allocUnsafe(c);let M=0;for(f=0;f<l.length;++f){let O=l[f];if(Nt(O,Uint8Array))M+O.length>b.length?(T.isBuffer(O)||(O=T.from(O)),O.copy(b,M)):Uint8Array.prototype.set.call(b,O,M);else if(T.isBuffer(O))O.copy(b,M);else throw new TypeError('"list" argument must be an Array of Buffers');M+=O.length}return b};function te(l,c){if(T.isBuffer(l))return l.length;if(ArrayBuffer.isView(l)||Nt(l,ArrayBuffer))return l.byteLength;if(typeof l!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof l);const f=l.length,b=arguments.length>2&&arguments[2]===!0;if(!b&&f===0)return 0;let M=!1;for(;;)switch(c){case"ascii":case"latin1":case"binary":return f;case"utf8":case"utf-8":return nn(l).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return f*2;case"hex":return f>>>1;case"base64":return Hn(l).length;default:if(M)return b?-1:nn(l).length;c=(""+c).toLowerCase(),M=!0}}T.byteLength=te;function ue(l,c,f){let b=!1;if((c===void 0||c<0)&&(c=0),c>this.length||((f===void 0||f>this.length)&&(f=this.length),f<=0)||(f>>>=0,c>>>=0,f<=c))return"";for(l||(l="utf8");;)switch(l){case"hex":return ze(this,c,f);case"utf8":case"utf-8":return at(this,c,f);case"ascii":return wn(this,c,f);case"latin1":case"binary":return _e(this,c,f);case"base64":return $e(this,c,f);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return xe(this,c,f);default:if(b)throw new TypeError("Unknown encoding: "+l);l=(l+"").toLowerCase(),b=!0}}T.prototype._isBuffer=!0;function Z(l,c,f){const b=l[c];l[c]=l[f],l[f]=b}T.prototype.swap16=function(){const l=this.length;if(l%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let c=0;c<l;c+=2)Z(this,c,c+1);return this},T.prototype.swap32=function(){const l=this.length;if(l%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let c=0;c<l;c+=4)Z(this,c,c+3),Z(this,c+1,c+2);return this},T.prototype.swap64=function(){const l=this.length;if(l%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let c=0;c<l;c+=8)Z(this,c,c+7),Z(this,c+1,c+6),Z(this,c+2,c+5),Z(this,c+3,c+4);return this},T.prototype.toString=function(){const l=this.length;return l===0?"":arguments.length===0?at(this,0,l):ue.apply(this,arguments)},T.prototype.toLocaleString=T.prototype.toString,T.prototype.equals=function(l){if(!T.isBuffer(l))throw new TypeError("Argument must be a Buffer");return this===l?!0:T.compare(this,l)===0},T.prototype.inspect=function(){let l="";const c=r.INSPECT_MAX_BYTES;return l=this.toString("hex",0,c).replace(/(.{2})/g,"$1 ").trim(),this.length>c&&(l+=" ... "),"<Buffer "+l+">"},m&&(T.prototype[m]=T.prototype.inspect),T.prototype.compare=function(l,c,f,b,M){if(Nt(l,Uint8Array)&&(l=T.from(l,l.offset,l.byteLength)),!T.isBuffer(l))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof l);if(c===void 0&&(c=0),f===void 0&&(f=l?l.length:0),b===void 0&&(b=0),M===void 0&&(M=this.length),c<0||f>l.length||b<0||M>this.length)throw new RangeError("out of range index");if(b>=M&&c>=f)return 0;if(b>=M)return-1;if(c>=f)return 1;if(c>>>=0,f>>>=0,b>>>=0,M>>>=0,this===l)return 0;let O=M-b,U=f-c;const Te=Math.min(O,U),Pe=this.slice(b,M),Ie=l.slice(c,f);for(let Ae=0;Ae<Te;++Ae)if(Pe[Ae]!==Ie[Ae]){O=Pe[Ae],U=Ie[Ae];break}return O<U?-1:U<O?1:0};function ye(l,c,f,b,M){if(l.length===0)return-1;if(typeof f=="string"?(b=f,f=0):f>2147483647?f=2147483647:f<-2147483648&&(f=-2147483648),f=+f,_n(f)&&(f=M?0:l.length-1),f<0&&(f=l.length+f),f>=l.length){if(M)return-1;f=l.length-1}else if(f<0)if(M)f=0;else return-1;if(typeof c=="string"&&(c=T.from(c,b)),T.isBuffer(c))return c.length===0?-1:fe(l,c,f,b,M);if(typeof c=="number")return c=c&255,typeof Uint8Array.prototype.indexOf=="function"?M?Uint8Array.prototype.indexOf.call(l,c,f):Uint8Array.prototype.lastIndexOf.call(l,c,f):fe(l,[c],f,b,M);throw new TypeError("val must be string, number or Buffer")}function fe(l,c,f,b,M){let O=1,U=l.length,Te=c.length;if(b!==void 0&&(b=String(b).toLowerCase(),b==="ucs2"||b==="ucs-2"||b==="utf16le"||b==="utf-16le")){if(l.length<2||c.length<2)return-1;O=2,U/=2,Te/=2,f/=2}function Pe(Ae,Ce){return O===1?Ae[Ce]:Ae.readUInt16BE(Ce*O)}let Ie;if(M){let Ae=-1;for(Ie=f;Ie<U;Ie++)if(Pe(l,Ie)===Pe(c,Ae===-1?0:Ie-Ae)){if(Ae===-1&&(Ae=Ie),Ie-Ae+1===Te)return Ae*O}else Ae!==-1&&(Ie-=Ie-Ae),Ae=-1}else for(f+Te>U&&(f=U-Te),Ie=f;Ie>=0;Ie--){let Ae=!0;for(let Ce=0;Ce<Te;Ce++)if(Pe(l,Ie+Ce)!==Pe(c,Ce)){Ae=!1;break}if(Ae)return Ie}return-1}T.prototype.includes=function(l,c,f){return this.indexOf(l,c,f)!==-1},T.prototype.indexOf=function(l,c,f){return ye(this,l,c,f,!0)},T.prototype.lastIndexOf=function(l,c,f){return ye(this,l,c,f,!1)};function De(l,c,f,b){f=Number(f)||0;const M=l.length-f;b?(b=Number(b),b>M&&(b=M)):b=M;const O=c.length;b>O/2&&(b=O/2);let U;for(U=0;U<b;++U){const Te=parseInt(c.substr(U*2,2),16);if(_n(Te))return U;l[f+U]=Te}return U}function He(l,c,f,b){return an(nn(c,l.length-f),l,f,b)}function ht(l,c,f,b){return an(tr(c),l,f,b)}function ct(l,c,f,b){return an(Hn(c),l,f,b)}function yt(l,c,f,b){return an(ve(c,l.length-f),l,f,b)}T.prototype.write=function(l,c,f,b){if(c===void 0)b="utf8",f=this.length,c=0;else if(f===void 0&&typeof c=="string")b=c,f=this.length,c=0;else if(isFinite(c))c=c>>>0,isFinite(f)?(f=f>>>0,b===void 0&&(b="utf8")):(b=f,f=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const M=this.length-c;if((f===void 0||f>M)&&(f=M),l.length>0&&(f<0||c<0)||c>this.length)throw new RangeError("Attempt to write outside buffer bounds");b||(b="utf8");let O=!1;for(;;)switch(b){case"hex":return De(this,l,c,f);case"utf8":case"utf-8":return He(this,l,c,f);case"ascii":case"latin1":case"binary":return ht(this,l,c,f);case"base64":return ct(this,l,c,f);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return yt(this,l,c,f);default:if(O)throw new TypeError("Unknown encoding: "+b);b=(""+b).toLowerCase(),O=!0}},T.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function $e(l,c,f){return c===0&&f===l.length?o.fromByteArray(l):o.fromByteArray(l.slice(c,f))}function at(l,c,f){f=Math.min(l.length,f);const b=[];let M=c;for(;M<f;){const O=l[M];let U=null,Te=O>239?4:O>223?3:O>191?2:1;if(M+Te<=f){let Pe,Ie,Ae,Ce;switch(Te){case 1:O<128&&(U=O);break;case 2:Pe=l[M+1],(Pe&192)===128&&(Ce=(O&31)<<6|Pe&63,Ce>127&&(U=Ce));break;case 3:Pe=l[M+1],Ie=l[M+2],(Pe&192)===128&&(Ie&192)===128&&(Ce=(O&15)<<12|(Pe&63)<<6|Ie&63,Ce>2047&&(Ce<55296||Ce>57343)&&(U=Ce));break;case 4:Pe=l[M+1],Ie=l[M+2],Ae=l[M+3],(Pe&192)===128&&(Ie&192)===128&&(Ae&192)===128&&(Ce=(O&15)<<18|(Pe&63)<<12|(Ie&63)<<6|Ae&63,Ce>65535&&Ce<1114112&&(U=Ce))}}U===null?(U=65533,Te=1):U>65535&&(U-=65536,b.push(U>>>10&1023|55296),U=56320|U&1023),b.push(U),M+=Te}return Dt(b)}const It=4096;function Dt(l){const c=l.length;if(c<=It)return String.fromCharCode.apply(String,l);let f="",b=0;for(;b<c;)f+=String.fromCharCode.apply(String,l.slice(b,b+=It));return f}function wn(l,c,f){let b="";f=Math.min(l.length,f);for(let M=c;M<f;++M)b+=String.fromCharCode(l[M]&127);return b}function _e(l,c,f){let b="";f=Math.min(l.length,f);for(let M=c;M<f;++M)b+=String.fromCharCode(l[M]);return b}function ze(l,c,f){const b=l.length;(!c||c<0)&&(c=0),(!f||f<0||f>b)&&(f=b);let M="";for(let O=c;O<f;++O)M+=ta[l[O]];return M}function xe(l,c,f){const b=l.slice(c,f);let M="";for(let O=0;O<b.length-1;O+=2)M+=String.fromCharCode(b[O]+b[O+1]*256);return M}T.prototype.slice=function(l,c){const f=this.length;l=~~l,c=c===void 0?f:~~c,l<0?(l+=f,l<0&&(l=0)):l>f&&(l=f),c<0?(c+=f,c<0&&(c=0)):c>f&&(c=f),c<l&&(c=l);const b=this.subarray(l,c);return Object.setPrototypeOf(b,T.prototype),b};function Ee(l,c,f){if(l%1!==0||l<0)throw new RangeError("offset is not uint");if(l+c>f)throw new RangeError("Trying to access beyond buffer length")}T.prototype.readUintLE=T.prototype.readUIntLE=function(l,c,f){l=l>>>0,c=c>>>0,f||Ee(l,c,this.length);let b=this[l],M=1,O=0;for(;++O<c&&(M*=256);)b+=this[l+O]*M;return b},T.prototype.readUintBE=T.prototype.readUIntBE=function(l,c,f){l=l>>>0,c=c>>>0,f||Ee(l,c,this.length);let b=this[l+--c],M=1;for(;c>0&&(M*=256);)b+=this[l+--c]*M;return b},T.prototype.readUint8=T.prototype.readUInt8=function(l,c){return l=l>>>0,c||Ee(l,1,this.length),this[l]},T.prototype.readUint16LE=T.prototype.readUInt16LE=function(l,c){return l=l>>>0,c||Ee(l,2,this.length),this[l]|this[l+1]<<8},T.prototype.readUint16BE=T.prototype.readUInt16BE=function(l,c){return l=l>>>0,c||Ee(l,2,this.length),this[l]<<8|this[l+1]},T.prototype.readUint32LE=T.prototype.readUInt32LE=function(l,c){return l=l>>>0,c||Ee(l,4,this.length),(this[l]|this[l+1]<<8|this[l+2]<<16)+this[l+3]*16777216},T.prototype.readUint32BE=T.prototype.readUInt32BE=function(l,c){return l=l>>>0,c||Ee(l,4,this.length),this[l]*16777216+(this[l+1]<<16|this[l+2]<<8|this[l+3])},T.prototype.readBigUInt64LE=At(function(l){l=l>>>0,Tt(l,"offset");const c=this[l],f=this[l+7];(c===void 0||f===void 0)&&Ct(l,this.length-8);const b=c+this[++l]*2**8+this[++l]*2**16+this[++l]*2**24,M=this[++l]+this[++l]*2**8+this[++l]*2**16+f*2**24;return BigInt(b)+(BigInt(M)<<BigInt(32))}),T.prototype.readBigUInt64BE=At(function(l){l=l>>>0,Tt(l,"offset");const c=this[l],f=this[l+7];(c===void 0||f===void 0)&&Ct(l,this.length-8);const b=c*2**24+this[++l]*2**16+this[++l]*2**8+this[++l],M=this[++l]*2**24+this[++l]*2**16+this[++l]*2**8+f;return(BigInt(b)<<BigInt(32))+BigInt(M)}),T.prototype.readIntLE=function(l,c,f){l=l>>>0,c=c>>>0,f||Ee(l,c,this.length);let b=this[l],M=1,O=0;for(;++O<c&&(M*=256);)b+=this[l+O]*M;return M*=128,b>=M&&(b-=Math.pow(2,8*c)),b},T.prototype.readIntBE=function(l,c,f){l=l>>>0,c=c>>>0,f||Ee(l,c,this.length);let b=c,M=1,O=this[l+--b];for(;b>0&&(M*=256);)O+=this[l+--b]*M;return M*=128,O>=M&&(O-=Math.pow(2,8*c)),O},T.prototype.readInt8=function(l,c){return l=l>>>0,c||Ee(l,1,this.length),this[l]&128?(255-this[l]+1)*-1:this[l]},T.prototype.readInt16LE=function(l,c){l=l>>>0,c||Ee(l,2,this.length);const f=this[l]|this[l+1]<<8;return f&32768?f|4294901760:f},T.prototype.readInt16BE=function(l,c){l=l>>>0,c||Ee(l,2,this.length);const f=this[l+1]|this[l]<<8;return f&32768?f|4294901760:f},T.prototype.readInt32LE=function(l,c){return l=l>>>0,c||Ee(l,4,this.length),this[l]|this[l+1]<<8|this[l+2]<<16|this[l+3]<<24},T.prototype.readInt32BE=function(l,c){return l=l>>>0,c||Ee(l,4,this.length),this[l]<<24|this[l+1]<<16|this[l+2]<<8|this[l+3]},T.prototype.readBigInt64LE=At(function(l){l=l>>>0,Tt(l,"offset");const c=this[l],f=this[l+7];(c===void 0||f===void 0)&&Ct(l,this.length-8);const b=this[l+4]+this[l+5]*2**8+this[l+6]*2**16+(f<<24);return(BigInt(b)<<BigInt(32))+BigInt(c+this[++l]*2**8+this[++l]*2**16+this[++l]*2**24)}),T.prototype.readBigInt64BE=At(function(l){l=l>>>0,Tt(l,"offset");const c=this[l],f=this[l+7];(c===void 0||f===void 0)&&Ct(l,this.length-8);const b=(c<<24)+this[++l]*2**16+this[++l]*2**8+this[++l];return(BigInt(b)<<BigInt(32))+BigInt(this[++l]*2**24+this[++l]*2**16+this[++l]*2**8+f)}),T.prototype.readFloatLE=function(l,c){return l=l>>>0,c||Ee(l,4,this.length),s.read(this,l,!0,23,4)},T.prototype.readFloatBE=function(l,c){return l=l>>>0,c||Ee(l,4,this.length),s.read(this,l,!1,23,4)},T.prototype.readDoubleLE=function(l,c){return l=l>>>0,c||Ee(l,8,this.length),s.read(this,l,!0,52,8)},T.prototype.readDoubleBE=function(l,c){return l=l>>>0,c||Ee(l,8,this.length),s.read(this,l,!1,52,8)};function V(l,c,f,b,M,O){if(!T.isBuffer(l))throw new TypeError('"buffer" argument must be a Buffer instance');if(c>M||c<O)throw new RangeError('"value" argument is out of bounds');if(f+b>l.length)throw new RangeError("Index out of range")}T.prototype.writeUintLE=T.prototype.writeUIntLE=function(l,c,f,b){if(l=+l,c=c>>>0,f=f>>>0,!b){const U=Math.pow(2,8*f)-1;V(this,l,c,f,U,0)}let M=1,O=0;for(this[c]=l&255;++O<f&&(M*=256);)this[c+O]=l/M&255;return c+f},T.prototype.writeUintBE=T.prototype.writeUIntBE=function(l,c,f,b){if(l=+l,c=c>>>0,f=f>>>0,!b){const U=Math.pow(2,8*f)-1;V(this,l,c,f,U,0)}let M=f-1,O=1;for(this[c+M]=l&255;--M>=0&&(O*=256);)this[c+M]=l/O&255;return c+f},T.prototype.writeUint8=T.prototype.writeUInt8=function(l,c,f){return l=+l,c=c>>>0,f||V(this,l,c,1,255,0),this[c]=l&255,c+1},T.prototype.writeUint16LE=T.prototype.writeUInt16LE=function(l,c,f){return l=+l,c=c>>>0,f||V(this,l,c,2,65535,0),this[c]=l&255,this[c+1]=l>>>8,c+2},T.prototype.writeUint16BE=T.prototype.writeUInt16BE=function(l,c,f){return l=+l,c=c>>>0,f||V(this,l,c,2,65535,0),this[c]=l>>>8,this[c+1]=l&255,c+2},T.prototype.writeUint32LE=T.prototype.writeUInt32LE=function(l,c,f){return l=+l,c=c>>>0,f||V(this,l,c,4,4294967295,0),this[c+3]=l>>>24,this[c+2]=l>>>16,this[c+1]=l>>>8,this[c]=l&255,c+4},T.prototype.writeUint32BE=T.prototype.writeUInt32BE=function(l,c,f){return l=+l,c=c>>>0,f||V(this,l,c,4,4294967295,0),this[c]=l>>>24,this[c+1]=l>>>16,this[c+2]=l>>>8,this[c+3]=l&255,c+4};function ce(l,c,f,b,M){tn(c,b,M,l,f,7);let O=Number(c&BigInt(4294967295));l[f++]=O,O=O>>8,l[f++]=O,O=O>>8,l[f++]=O,O=O>>8,l[f++]=O;let U=Number(c>>BigInt(32)&BigInt(4294967295));return l[f++]=U,U=U>>8,l[f++]=U,U=U>>8,l[f++]=U,U=U>>8,l[f++]=U,f}function be(l,c,f,b,M){tn(c,b,M,l,f,7);let O=Number(c&BigInt(4294967295));l[f+7]=O,O=O>>8,l[f+6]=O,O=O>>8,l[f+5]=O,O=O>>8,l[f+4]=O;let U=Number(c>>BigInt(32)&BigInt(4294967295));return l[f+3]=U,U=U>>8,l[f+2]=U,U=U>>8,l[f+1]=U,U=U>>8,l[f]=U,f+8}T.prototype.writeBigUInt64LE=At(function(l,c=0){return ce(this,l,c,BigInt(0),BigInt("0xffffffffffffffff"))}),T.prototype.writeBigUInt64BE=At(function(l,c=0){return be(this,l,c,BigInt(0),BigInt("0xffffffffffffffff"))}),T.prototype.writeIntLE=function(l,c,f,b){if(l=+l,c=c>>>0,!b){const Te=Math.pow(2,8*f-1);V(this,l,c,f,Te-1,-Te)}let M=0,O=1,U=0;for(this[c]=l&255;++M<f&&(O*=256);)l<0&&U===0&&this[c+M-1]!==0&&(U=1),this[c+M]=(l/O>>0)-U&255;return c+f},T.prototype.writeIntBE=function(l,c,f,b){if(l=+l,c=c>>>0,!b){const Te=Math.pow(2,8*f-1);V(this,l,c,f,Te-1,-Te)}let M=f-1,O=1,U=0;for(this[c+M]=l&255;--M>=0&&(O*=256);)l<0&&U===0&&this[c+M+1]!==0&&(U=1),this[c+M]=(l/O>>0)-U&255;return c+f},T.prototype.writeInt8=function(l,c,f){return l=+l,c=c>>>0,f||V(this,l,c,1,127,-128),l<0&&(l=255+l+1),this[c]=l&255,c+1},T.prototype.writeInt16LE=function(l,c,f){return l=+l,c=c>>>0,f||V(this,l,c,2,32767,-32768),this[c]=l&255,this[c+1]=l>>>8,c+2},T.prototype.writeInt16BE=function(l,c,f){return l=+l,c=c>>>0,f||V(this,l,c,2,32767,-32768),this[c]=l>>>8,this[c+1]=l&255,c+2},T.prototype.writeInt32LE=function(l,c,f){return l=+l,c=c>>>0,f||V(this,l,c,4,2147483647,-2147483648),this[c]=l&255,this[c+1]=l>>>8,this[c+2]=l>>>16,this[c+3]=l>>>24,c+4},T.prototype.writeInt32BE=function(l,c,f){return l=+l,c=c>>>0,f||V(this,l,c,4,2147483647,-2147483648),l<0&&(l=4294967295+l+1),this[c]=l>>>24,this[c+1]=l>>>16,this[c+2]=l>>>8,this[c+3]=l&255,c+4},T.prototype.writeBigInt64LE=At(function(l,c=0){return ce(this,l,c,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),T.prototype.writeBigInt64BE=At(function(l,c=0){return be(this,l,c,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function Ze(l,c,f,b,M,O){if(f+b>l.length)throw new RangeError("Index out of range");if(f<0)throw new RangeError("Index out of range")}function dt(l,c,f,b,M){return c=+c,f=f>>>0,M||Ze(l,c,f,4),s.write(l,c,f,b,23,4),f+4}T.prototype.writeFloatLE=function(l,c,f){return dt(this,l,c,!0,f)},T.prototype.writeFloatBE=function(l,c,f){return dt(this,l,c,!1,f)};function ft(l,c,f,b,M){return c=+c,f=f>>>0,M||Ze(l,c,f,8),s.write(l,c,f,b,52,8),f+8}T.prototype.writeDoubleLE=function(l,c,f){return ft(this,l,c,!0,f)},T.prototype.writeDoubleBE=function(l,c,f){return ft(this,l,c,!1,f)},T.prototype.copy=function(l,c,f,b){if(!T.isBuffer(l))throw new TypeError("argument should be a Buffer");if(f||(f=0),!b&&b!==0&&(b=this.length),c>=l.length&&(c=l.length),c||(c=0),b>0&&b<f&&(b=f),b===f||l.length===0||this.length===0)return 0;if(c<0)throw new RangeError("targetStart out of bounds");if(f<0||f>=this.length)throw new RangeError("Index out of range");if(b<0)throw new RangeError("sourceEnd out of bounds");b>this.length&&(b=this.length),l.length-c<b-f&&(b=l.length-c+f);const M=b-f;return this===l&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(c,f,b):Uint8Array.prototype.set.call(l,this.subarray(f,b),c),M},T.prototype.fill=function(l,c,f,b){if(typeof l=="string"){if(typeof c=="string"?(b=c,c=0,f=this.length):typeof f=="string"&&(b=f,f=this.length),b!==void 0&&typeof b!="string")throw new TypeError("encoding must be a string");if(typeof b=="string"&&!T.isEncoding(b))throw new TypeError("Unknown encoding: "+b);if(l.length===1){const O=l.charCodeAt(0);(b==="utf8"&&O<128||b==="latin1")&&(l=O)}}else typeof l=="number"?l=l&255:typeof l=="boolean"&&(l=Number(l));if(c<0||this.length<c||this.length<f)throw new RangeError("Out of range index");if(f<=c)return this;c=c>>>0,f=f===void 0?this.length:f>>>0,l||(l=0);let M;if(typeof l=="number")for(M=c;M<f;++M)this[M]=l;else{const O=T.isBuffer(l)?l:T.from(l,b),U=O.length;if(U===0)throw new TypeError('The value "'+l+'" is invalid for argument "value"');for(M=0;M<f-c;++M)this[M+c]=O[M%U]}return this};const Qe={};function rt(l,c,f){Qe[l]=class extends f{constructor(){super(),Object.defineProperty(this,"message",{value:c.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${l}]`,this.stack,delete this.name}get code(){return l}set code(b){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:b,writable:!0})}toString(){return`${this.name} [${l}]: ${this.message}`}}}rt("ERR_BUFFER_OUT_OF_BOUNDS",function(l){return l?`${l} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),rt("ERR_INVALID_ARG_TYPE",function(l,c){return`The "${l}" argument must be of type number. Received type ${typeof c}`},TypeError),rt("ERR_OUT_OF_RANGE",function(l,c,f){let b=`The value of "${l}" is out of range.`,M=f;return Number.isInteger(f)&&Math.abs(f)>2**32?M=wt(String(f)):typeof f=="bigint"&&(M=String(f),(f>BigInt(2)**BigInt(32)||f<-(BigInt(2)**BigInt(32)))&&(M=wt(M)),M+="n"),b+=` It must be ${c}. Received ${M}`,b},RangeError);function wt(l){let c="",f=l.length;const b=l[0]==="-"?1:0;for(;f>=b+4;f-=3)c=`_${l.slice(f-3,f)}${c}`;return`${l.slice(0,f)}${c}`}function Gt(l,c,f){Tt(c,"offset"),(l[c]===void 0||l[c+f]===void 0)&&Ct(c,l.length-(f+1))}function tn(l,c,f,b,M,O){if(l>f||l<c){const U=typeof c=="bigint"?"n":"";let Te;throw O>3?c===0||c===BigInt(0)?Te=`>= 0${U} and < 2${U} ** ${(O+1)*8}${U}`:Te=`>= -(2${U} ** ${(O+1)*8-1}${U}) and < 2 ** ${(O+1)*8-1}${U}`:Te=`>= ${c}${U} and <= ${f}${U}`,new Qe.ERR_OUT_OF_RANGE("value",Te,l)}Gt(b,M,O)}function Tt(l,c){if(typeof l!="number")throw new Qe.ERR_INVALID_ARG_TYPE(c,"number",l)}function Ct(l,c,f){throw Math.floor(l)!==l?(Tt(l,f),new Qe.ERR_OUT_OF_RANGE(f||"offset","an integer",l)):c<0?new Qe.ERR_BUFFER_OUT_OF_BOUNDS:new Qe.ERR_OUT_OF_RANGE(f||"offset",`>= ${f?1:0} and <= ${c}`,l)}const yn=/[^+/0-9A-Za-z-_]/g;function In(l){if(l=l.split("=")[0],l=l.trim().replace(yn,""),l.length<2)return"";for(;l.length%4!==0;)l=l+"=";return l}function nn(l,c){c=c||1/0;let f;const b=l.length;let M=null;const O=[];for(let U=0;U<b;++U){if(f=l.charCodeAt(U),f>55295&&f<57344){if(!M){if(f>56319){(c-=3)>-1&&O.push(239,191,189);continue}else if(U+1===b){(c-=3)>-1&&O.push(239,191,189);continue}M=f;continue}if(f<56320){(c-=3)>-1&&O.push(239,191,189),M=f;continue}f=(M-55296<<10|f-56320)+65536}else M&&(c-=3)>-1&&O.push(239,191,189);if(M=null,f<128){if((c-=1)<0)break;O.push(f)}else if(f<2048){if((c-=2)<0)break;O.push(f>>6|192,f&63|128)}else if(f<65536){if((c-=3)<0)break;O.push(f>>12|224,f>>6&63|128,f&63|128)}else if(f<1114112){if((c-=4)<0)break;O.push(f>>18|240,f>>12&63|128,f>>6&63|128,f&63|128)}else throw new Error("Invalid code point")}return O}function tr(l){const c=[];for(let f=0;f<l.length;++f)c.push(l.charCodeAt(f)&255);return c}function ve(l,c){let f,b,M;const O=[];for(let U=0;U<l.length&&!((c-=2)<0);++U)f=l.charCodeAt(U),b=f>>8,M=f%256,O.push(M),O.push(b);return O}function Hn(l){return o.toByteArray(In(l))}function an(l,c,f,b){let M;for(M=0;M<b&&!(M+f>=c.length||M>=l.length);++M)c[M+f]=l[M];return M}function Nt(l,c){return l instanceof c||l!=null&&l.constructor!=null&&l.constructor.name!=null&&l.constructor.name===c.name}function _n(l){return l!==l}const ta=function(){const l="0123456789abcdef",c=new Array(256);for(let f=0;f<16;++f){const b=f*16;for(let M=0;M<16;++M)c[b+M]=l[f]+l[M]}return c}();function At(l){return typeof BigInt>"u"?jr:l}function jr(){throw new Error("BigInt not supported")}})(Ew);var Mw={exports:{}},Gn=Mw.exports={},Fi,Vi;function kT(){throw new Error("setTimeout has not been defined")}function bT(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?Fi=setTimeout:Fi=kT}catch{Fi=kT}try{typeof clearTimeout=="function"?Vi=clearTimeout:Vi=bT}catch{Vi=bT}})();function Iw(r){if(Fi===setTimeout)return setTimeout(r,0);if((Fi===kT||!Fi)&&setTimeout)return Fi=setTimeout,setTimeout(r,0);try{return Fi(r,0)}catch{try{return Fi.call(null,r,0)}catch{return Fi.call(this,r,0)}}}function fY(r){if(Vi===clearTimeout)return clearTimeout(r);if((Vi===bT||!Vi)&&clearTimeout)return Vi=clearTimeout,clearTimeout(r);try{return Vi(r)}catch{try{return Vi.call(null,r)}catch{return Vi.call(this,r)}}}var $s=[],ep=!1,Mc,cy=-1;function pY(){!ep||!Mc||(ep=!1,Mc.length?$s=Mc.concat($s):cy=-1,$s.length&&_w())}function _w(){if(!ep){var r=Iw(pY);ep=!0;for(var o=$s.length;o;){for(Mc=$s,$s=[];++cy<o;)Mc&&Mc[cy].run();cy=-1,o=$s.length}Mc=null,ep=!1,fY(r)}}Gn.nextTick=function(r){var o=new Array(arguments.length-1);if(arguments.length>1)for(var s=1;s<arguments.length;s++)o[s-1]=arguments[s];$s.push(new Cw(r,o)),$s.length===1&&!ep&&Iw(_w)};function Cw(r,o){this.fun=r,this.array=o}Cw.prototype.run=function(){this.fun.apply(null,this.array)};Gn.title="browser";Gn.browser=!0;Gn.env={};Gn.argv=[];Gn.version="";Gn.versions={};function Js(){}Gn.on=Js;Gn.addListener=Js;Gn.once=Js;Gn.off=Js;Gn.removeListener=Js;Gn.removeAllListeners=Js;Gn.emit=Js;Gn.prependListener=Js;Gn.prependOnceListener=Js;Gn.listeners=function(r){return[]};Gn.binding=function(r){throw new Error("process.binding is not supported")};Gn.cwd=function(){return"/"};Gn.chdir=function(r){throw new Error("process.chdir is not supported")};Gn.umask=function(){return 0};var mY=Mw.exports;(function(r){Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});const o=Ew,s=mY,m=g=>g&&g.__esModule?g:{default:g},p=m(s),v=globalThis||void 0||self;Object.defineProperty(r,"Buffer",{enumerable:!0,get:()=>o.Buffer}),Object.defineProperty(r,"process",{enumerable:!0,get:()=>p.default}),r.global=v})(Mt);class hY{}window.slStore=Object.create(null);const gY=(r,o)=>fL(r,o,{mount:({storeName:s})=>{window.slStore[s]||(window.slStore[s]={mounted:!0,history:[{type:"mount"}]}),window.slStore[s].store=r},unmount:({storeName:s})=>{var m;window.slStore[s].mounted=!1,(m=window.slStore[s])==null||m.history.push({type:"unmount"})},change:({actionName:s,storeName:m,changed:p,newValue:v,oldValue:g,valueMessage:T})=>{var I;(I=window.slStore[m])==null||I.history.push({type:"change",changed:p,newValue:v,oldValue:g,diff:L7({...g},{...v},{cyclesFix:!1}),actionName:s,valueMessage:T})},action:{start:({actionName:s,args:m,storeName:p})=>{var v;(v=window.slStore[p])==null||v.history.push({type:"action:start",actionName:s,args:m,storeName:p})},error:({actionName:s,error:m,storeName:p})=>{var v;(v=window.slStore[p])==null||v.history.push({type:"action:error",actionName:s,error:m})},end:({actionName:s,storeName:m})=>{var p;(p=window.slStore[m])==null||p.history.push({type:"action:end",actionName:s})}}});class Vy{constructor(o,s){J(this,"store");J(this,"name");this.store=o,this.name=s,gY(this.store,this.name)}getStore(){return this.store}}const yY=r=>{const o=Object.keys(r);return x7(o.map(s=>r[s].getStore()),(...s)=>Object.fromEntries(o.map((m,p)=>[m,s[p]])))};class L1 extends Vy{constructor(){super(...arguments);J(this,"getValues",()=>this.getStore().get());J(this,"getValue",s=>this.getStore().get()[s]);J(this,"setValue",(s,m)=>this.getStore().setKey(s,m));J(this,"subscribe",(...s)=>this.getStore().subscribe(...s));J(this,"unsubscribe",()=>this.getStore().off())}}const _c=r=>dT(r);var Vs;(function(r){r.ORGANIZATION="ORGANIZATION",r.STREAM="STREAM"})(Vs||(Vs={}));const vY={[Xn.BETTING]:"betting",[Xn.GAMES]:"games",[Xn.PUBLIC_CHAT]:"publicChat",[Xn.TWITTER]:"twitter"};var tp;(function(r){r.Ready="ready",r.Suspended="suspended"})(tp||(tp={}));class Aw{constructor({settings:o,...s},m){J(this,"status");J(this,"source");J(this,"config");J(this,"settings");J(this,"listeners",new Set);J(this,"settingsKey");J(this,"enable",()=>{this.status.set(tp.Ready)});J(this,"disable",()=>{this.status.set(tp.Suspended)});J(this,"setFeatureConfig",({settings:o,...s})=>{var p;let m;for(m in s)this.config.setValue(m,s[m]);if(((p=o==null?void 0:o.overlaySettings)==null?void 0:p.case)!==void 0&&(o==null?void 0:o.overlaySettings.case)===this.settingsKey){const v=o.overlaySettings.value;if(v!==void 0){let g;for(g in v)v[g]!==0&&v[g]!==""&&this.settings.setValue(g,v[g])}}});J(this,"update",(o,s)=>{this.source===Vs.STREAM&&s===Vs.ORGANIZATION||(this.setFeatureConfig(o),this.source=s)});this.settingsKey=vY[s.type],this.status=tu(tp.Suspended),this.config=new L1(_c(s),`feature:config:${this.settingsKey}`),this.settingsKey!==void 0&&(o==null?void 0:o.overlaySettings.case)===this.settingsKey?this.settings=new L1(_c(o.overlaySettings.value),`feature:settings:${this.settingsKey}`):this.settings=new L1(_c({}),`feature:settings:${this.settingsKey}`),this.source=m}get featureConfig(){return this.config.getStore()}get featureSettings(){return this.settings.getStore()}registerEventListener(o){this.listeners.add(o)}fireEvent(o){for(const s of this.listeners.values())try{s.onEvent(o)}catch(m){console.error(m)}}}class Xo extends Vy{constructor(){super(...arguments);J(this,"getValue",()=>this.getStore().get());J(this,"setValue",s=>this.getStore().set(s));J(this,"subscribe",s=>this.getStore().subscribe(s));J(this,"unsubscribe",()=>this.getStore().off())}getValues(){throw new Error("not implemented")}listen(s){return this.getStore().listen(s)}get(){return this.getStore().get()}}const Va=r=>tu(r);class $i extends Vy{constructor(s,m,p){super(s,`api:${m}`);J(this,"atomStore");J(this,"getAtomStore",()=>this.atomStore);J(this,"getValue",async()=>{const s=this.getStore();if(s.value===void 0)throw new Error("no store");return await s.value.promise,s.get().data});J(this,"getValues",()=>{throw new Error("not implemented")});J(this,"setValue",s=>this.getStore().set({loading:!1,data:s==null?void 0:s.data}));J(this,"subscribe",s=>this.getStore().subscribe(s));J(this,"unsubscribe",()=>{throw new Error("not implemented")});J(this,"invalidate",()=>{this.store.invalidate()});J(this,"listen",s=>this.getStore().listen(s));J(this,"key",()=>this.getStore().key);J(this,"off",()=>this.getStore().off());this.atomStore=tu(),p&&s.subscribe(v=>{const g=this.atomStore.get(),T=p(v,g);g!==T&&this.atomStore.set(T)})}get(){throw new Error("not implemented")}}async function*TY(r,o){for await(const s of o){r.response.message=s,r.received_at=Date.now();const m={type:"__GRPC_DEVTOOLS_EXTENSION__",data:r};window.postMessage(m),yield s}}const kY=()=>r=>async o=>{const s={name:o.url,stream:o.stream,sent_at:Date.now(),request:{header:Object.fromEntries(o.header.entries())},response:{}};try{const m=await r(o);if(s.received_at=Date.now(),s.response.header=Object.fromEntries(m.header.entries()),s.response.trailer=Object.fromEntries(m.trailer.entries()),o.stream){s.request.message=o.message;const p={type:"__GRPC_DEVTOOLS_EXTENSION__",data:{...s,stream:!1}};return window.postMessage(p),{...m,message:TY(s,m.message)}}else{s.request.message=o.message,s.response.message=m.message,s.latency=s.received_at-s.sent_at;const p={type:"__GRPC_DEVTOOLS_EXTENSION__",data:s};window.postMessage(p)}return m}catch(m){s.received_at=Date.now(),s.request.message=o.message,s.response.trailer={"grpc-status":m.code,"grpc-message":m.rawMessage},s.response.message=m.rawMessage,s.latency=s.received_at-s.sent_at;const p={type:"__GRPC_DEVTOOLS_EXTENSION__",data:s};throw window.postMessage(p),m}};window.dispatchEvent(new CustomEvent("grpc_devtools_loaded"));var Zo;(function(r){r.Init="init",r.Ready="ready",r.Connecting="connecting",r.Connected="connected",r.Disconnected="disconnected",r.Failed="failed",r.Reconnect="reconnect",r.Reconnecting="reconnecting"})(Zo||(Zo={}));class bY{constructor(o,s,m,p){J(this,"params");J(this,"streamCancel");J(this,"method");J(this,"options");J(this,"headers");J(this,"listeners");J(this,"state");J(this,"store");J(this,"paramsListener");J(this,"reconnectTimeout");J(this,"attempt",0);J(this,"updateState",o=>{this.state.setValue("status",o),this.state.setValue("ts",new Date),this.addStateLog(`status => ${o}`)});J(this,"addStateLog",o=>{const s=this.state.getStore().get().log;this.state.setValue("log",[...s,`${new Date().toLocaleString()}: ${o}`])});J(this,"addListener",(o,s)=>this.listeners.has(o)?(this.addStateLog(`listener '${o}' not added, already exists`),!1):(this.listeners.set(o,s),this.addStateLog(`listener '${o}' added`),!0));J(this,"removeListener",o=>{this.listeners.delete(o),this.addStateLog(`listener '${o}' removed`)});J(this,"connect",()=>{this.updateState(Zo.Connecting),this.streamCancel&&(this.addStateLog("disconnect prev connection"),this.streamCancel.abort(),this.streamCancel=void 0);const o="get"in this.params&&typeof this.params.get=="function"?this.params.get():this.params;(async()=>{this.streamCancel=new AbortController;try{const s={headers:this.headers.getValues(),signal:this.streamCancel.signal},m=this.method(o,s);for await(const p of m)this.attempt=0,this.onData(p)}catch(s){s instanceof er&&s.code!=dn.Canceled&&this.onStreamError(s)}})(),this.updateState(Zo.Connected)});J(this,"disconnect",()=>{var o;this.streamCancel&&this.streamCancel.abort(),this.listeners.clear(),(o=this.paramsListener)==null||o.call(this),clearTimeout(this.reconnectTimeout),this.reconnectTimeout=void 0,this.updateState(Zo.Disconnected)});J(this,"reconnect",()=>{if(this.reconnectTimeout)this.addStateLog("already reconnecting");else if(this.attempt<this.options.reconnectMaxAttempts){this.updateState(Zo.Reconnect);const o=Math.min(this.options.reconnectMaxDelay,Math.pow(2,this.attempt)*this.options.reconnectDelay),s=Math.round(o*(1+Math.random())/2);this.reconnectTimeout=setTimeout(()=>{this.attempt++,this.updateState(Zo.Reconnecting),this.addStateLog(`reconnect attempt ${this.attempt} after ${s}ms`),this.connect(),this.reconnectTimeout=void 0},s)}else this.addStateLog("max reconnect attempts reached"),this.disconnect()});J(this,"getStore",()=>{var o;return(o=this.store)==null?void 0:o.getStore()});J(this,"onData",o=>{try{this.addStateLog(`received data => ${JSON.stringify(o)}`),this.store&&this.store.setValue(o);for(const[,s]of this.listeners)s(o);this.addStateLog(`data routed to ${this.listeners.size} listeners`)}catch(s){this.addStateLog(`error process data => ${s}`)}});J(this,"onStreamError",o=>{if(this.addStateLog(`error => ${o?JSON.stringify(o):"undefined"}}`),o!==void 0){if(o instanceof er&&o.code!==dn.Canceled){this.updateState(Zo.Failed),this.state.setValue("error",o),this.reconnect();return}this.disconnect()}});const v={status:Zo.Init,ts:new Date,log:[]};this.state=new L1(_c(v),`subscription:${p.name}:state`),this.options={...p,reconnectDelay:p.reconnectDelay??1e3,reconnectMaxDelay:p.reconnectMaxDelay??3e4,reconnectMaxAttempts:p.reconnectMaxAttempts??10,withStore:p.withStore??!1},this.headers=o,this.listeners=new Map,this.params=m,this.method=s,p.withStore&&(this.store=new Xo(Va(null),`subscription:${p.name}:store`)),"subscribe"in m&&typeof m.subscribe=="function"&&(this.paramsListener=m.subscribe(g=>{this.state.getValue("status")===Zo.Connected&&(this.addStateLog(`params updated, reconnect => ${JSON.stringify(g)}`),this.reconnect())})),this.updateState(Zo.Ready)}}class wY{constructor(o){J(this,"toJsonOptions",{emitDefaultValues:!1,enumAsInteger:!0,useProtoFieldName:!1});J(this,"transport");J(this,"nanoquery");J(this,"host");J(this,"interceptors",[]);J(this,"$headers");J(this,"clients");J(this,"callbackClients");J(this,"subscriptions");J(this,"addSubscription",(o,s,m)=>{const p=this.subscriptions.get(s);if(p)return p;const v=new bY(this.$headers,o,s,m);return this.subscriptions.set(s,v),v});J(this,"removeSubscription",o=>{o.disconnect(),this.subscriptions.delete(o.params)});J(this,"disconnect",()=>{for(const[o,s]of this.subscriptions)s.disconnect(),this.subscriptions.delete(o)});J(this,"registerInterceptor",o=>{this.interceptors.push(o)});J(this,"removeInterceptor",o=>{this.interceptors=this.interceptors.filter(s=>s!==o)});J(this,"getClient",o=>{const s=o.typeName;if(this.clients.has(s))return this.clients.get(s);const m=Uj(o,this.transport);return this.clients.set(s,m),m});J(this,"createPromiseClient",(o,{params:s=[],method:m})=>{const p=this.getClient(o),v=o.methods[m].name,g=[o.typeName,v.charAt(0).toLowerCase()+v.slice(1),...Array.isArray(s)?s:[s]],T=[o.typeName,v.charAt(0).toLowerCase()+v.slice(1)];return{client:p,queryKey:g,queryKeyStr:T.join("")}});J(this,"createStreamClient",o=>({client:this.getClient(o)}));J(this,"setSdkKey",o=>{this.$headers.setValue("sdk",o)});J(this,"setAuth",(o,s)=>{this.$headers.setValue("authorization",o),this.$headers.setValue("sl-user-id",s)});J(this,"setHeader",(o,s)=>this.$headers.setValue(o,s));J(this,"getHeader",o=>this.$headers.getValue(o));J(this,"getHeaders",()=>this.$headers.getValues());J(this,"initInterceptors",()=>{if(this.interceptors.length!==0)return;const o=s=>m=>{const p=this.$headers.getValues();for(const v in p)m.header.set(v,p[v]);return s(m)};this.interceptors.push(o),this.interceptors.push(kY())});var v,g;this.host=o,this.$headers=new L1(_c({"sl-device-id":((g=(v=Mt.process)==null?void 0:v.env)==null?void 0:g.NX_DEVICE_ID)||"sdk-web-dev"}),"transport:headers"),this.initInterceptors(),this.clients=new Map,this.callbackClients=new Map,this.subscriptions=new Map;const[s,m,p]=lz();this.nanoquery={createFetcherStore:s,createMutatorStore:m,utils:p},this.transport=iz({baseUrl:o,interceptors:this.interceptors,useBinaryFormat:!0})}}const SY=(r,o)=>{const{client:s,queryKey:m}=o.createPromiseClient(NF,{method:"retrieveEventId",params:[r]});return o.nanoquery.createFetcherStore(m,{fetcher:async(p,v,g)=>{var T;if(!g||typeof g!="string")return"";try{return((T=(await s.retrieveEventId({id:g})).data)==null?void 0:T.id)||""}catch{return""}}})},EY=(r,o)=>{const{client:s,queryKey:m}=o.createPromiseClient(B1,{method:"getStream",params:[r]});return o.nanoquery.createFetcherStore(m,{fetcher:async(p,v,g)=>{var T;return g?(T=(await s.getStream({id:g})).data)==null?void 0:T.attributes:void 0}})},NY=(r,o)=>{const{queryKey:s,client:m}=o.createPromiseClient(kw,{method:"me",params:[r]});return o.nanoquery.createFetcherStore(s,{fetcher:()=>m.me({})})},MY=r=>{const{client:o}=r.createPromiseClient(kw,{method:"bypassAuth"});return({userKey:s,schema:m,init:p})=>o.bypassAuth({userKey:s,schema:m,init:p})},IY=(r,o)=>{const{client:s,queryKey:m}=o.createPromiseClient(B1,{method:"get",params:[r]});return o.nanoquery.createFetcherStore(m,{fetcher:async()=>{var p;return(p=(await s.get({})).data)==null?void 0:p.attributes}})},_Y=(r,o)=>{const{client:s,queryKey:m}=o.createPromiseClient(B1,{method:"getOrganization",params:[r]});return o.nanoquery.createFetcherStore(m,{fetcher:async()=>{const p=await s.getOrganization({});return p.data?{...p.data.attributes,id:p.data.id}:void 0}})},CY=(r,o)=>{const{client:s,queryKey:m}=o.createPromiseClient(B1,{method:"getOrganizationAdvertising",params:[r]});return o.nanoquery.createFetcherStore(m,{fetcher:async()=>{var p;return(p=(await s.getOrganizationAdvertising({})).data)==null?void 0:p.attributes}})},AY=(r,o,s)=>{r.transport=new wY(o.host),r.sdk.host=r.transport.host,r.transport.setSdkKey(o.sdkKey),s()};class t8{constructor(o="main"){J(this,"delimiter",":");J(this,"prefix");J(this,"clear",()=>{for(const o in window.localStorage)o.startsWith(this.prefix)&&window.localStorage.removeItem(o)});J(this,"generateKey",o=>`${this.prefix}${this.delimiter}${o.join(this.delimiter)}`);J(this,"write",(...o)=>{const s=o.pop()||"";window.localStorage.setItem(this.generateKey(o),s)});J(this,"read",(...o)=>{const s=window.localStorage.getItem(this.generateKey(o));return s===null?void 0:s});J(this,"remove",(...o)=>{window.localStorage.removeItem(this.generateKey(o))});this.prefix=`sl-sdk${this.delimiter}${o}`}}var Bs;(function(r){r.SCHEMA="schema",r.EXTERNAL_TOKEN="eToken",r.TOKEN="token"})(Bs||(Bs={}));class qf extends t8{constructor(){super("user");J(this,"setSchema",s=>{this.write(Bs.SCHEMA,s)});J(this,"getSchema",()=>this.read(Bs.SCHEMA));J(this,"setToken",s=>{this.write(Bs.TOKEN,s)});J(this,"getToken",()=>this.read(Bs.TOKEN));J(this,"setExternalToken",s=>{this.write(Bs.EXTERNAL_TOKEN,s)});J(this,"getExternalToken",()=>this.read(Bs.EXTERNAL_TOKEN));J(this,"removeToken",()=>{this.remove(Bs.TOKEN)})}}var Ys;(function(r){r.DISABLED="disabled",r.INITIALIZATION="initialization",r.READY="ready",r.FAILED="failed",r.SUSPENDED="suspended"})(Ys||(Ys={}));const OY=r=>{const o=new qf,s=new Xo(Va(o.getExternalToken()),"userKey"),m=new Xo(Va(o.getToken()),"userToken"),p=new $i(NY(m.getStore(),r),"user",({data:g,error:T,loading:I},C)=>{var D;if(!T)return(D=g==null?void 0:g.data)!=null&&D.id?g.data.id:I===!1?void 0:C}),v=new $i(IY(m.getStore(),r),"userSettings");return{userKey:s,userToken:m,user:p,userSettings:v}},xY=r=>{const o=new Xo(Va(void 0),"providerStreamId"),s=new $i(SY(o.getStore(),r),"slStreamId",p=>p==null?void 0:p.data),m=new $i(EY(s.getAtomStore(),r),"streamSettings");return s.getAtomStore().listen(p=>{(p===""||p===void 0)&&m.getStore().mutate(void 0)}),{providerStreamId:o,slStreamId:s,streamSettings:m}},LY=r=>{const o=new Xo(Va(void 0),"enabled"),s=new Xo(Va(Ys.DISABLED),"status"),m=new $i(_Y(o.getStore(),r),"organizationSettings",T=>{var I;return(I=T==null?void 0:T.data)==null?void 0:I.id}),p=new $i(CY(m.getAtomStore(),r),"organizationAdvertising"),v=OY(r),g=xY(r);return{enabled:o,status:s,providerStreamId:g.providerStreamId,slStreamId:g.slStreamId,streamSettings:g.streamSettings,user:v.user,userKey:v.userKey,userToken:v.userToken,userSettings:v.userSettings,organizationSettings:m,organizationAdvertising:p}};class RY extends Vy{constructor(s){const m=LY(s),p=yY(m);super(p,"core");J(this,"stores");J(this,"subscribe",s=>{let m;for(m in this.stores){const p=s[m];m in s&&p!==void 0&&this.stores[m].subscribe(s[m])}});J(this,"unsubscribe",()=>this.getStore().off());this.stores=m}getValue(){throw new Error("Not implemented")}getValues(){return this.stores}setValue(){throw new Error("Not implemented")}}class DY extends hY{constructor(s,m){super();J(this,"$coreStore");J(this,"transport");J(this,"bypassLogin");J(this,"me",async()=>{var s;return this.$coreStore.getValues().user.invalidate(),(s=await this.$coreStore.getValues().user.getValue())==null?void 0:s.data});J(this,"login",async(s,m)=>{var T,I;this.$coreStore.getValues().userKey.setValue(m);const p=await this.bypassLogin({schema:s,userKey:m,init:!1}),v=(T=p.meta)==null?void 0:T.jwt,g=(I=p.data)==null?void 0:I.id;if(!v||!g)throw new Error("internal: token missing");return this.$coreStore.getValues().user.getStore().mutate(p),this.saveUser(v,g),v});J(this,"isAuthenticated",()=>this.me());J(this,"logout",()=>{this.$coreStore.getValues().user.setValue(),this.$coreStore.getValues().userKey.setValue(),this.$coreStore.getValues().userToken.setValue(),this.transport.setAuth("",""),new qf().clear()});J(this,"softLogout",()=>{const s=new qf;this.transport.setAuth("",""),s.setToken(""),this.reLogin()});J(this,"reLogin",()=>{const s=new qf,m=s.getToken(),p=s.getExternalToken();if(this.$coreStore.getValues().userKey.setValue(p),m)return this.saveUser(m,""),this.me().then(v=>{if(v!=null&&v.id){const g=v.id;this.saveUser(m,g)}});if(p&&!m){const v=s.getSchema();v&&p&&this.login(v,p).catch(()=>{this.logout()})}});J(this,"saveUser",(s,m)=>{this.transport.setAuth(s,m),this.$coreStore.getValues().userToken.setValue(s),new qf().setToken(s)});J(this,"connect",()=>{this.transport.registerInterceptor(s=>async m=>{try{return await s(m)}catch(p){throw p.code&&(p.code===7||p.code===16)&&this.transport.getHeader("authorization")&&this.softLogout(),p}})});this.$coreStore=s,this.transport=m,this.bypassLogin=MY(this.transport),this.connect()}}const A1=new qf,PY=(r,o,s)=>{r.auth=new DY(r.store,r.transport),r.stores.status.listen(m=>{m===Ys.READY&&r.auth.reLogin()}),r.sdk.userId=r.stores.user.getAtomStore,r.sdk.authorizationBypass=async(m,p)=>{if(!(A1.getSchema()===m&&A1.getExternalToken()===p&&r.transport.getHeader("authorization")))try{await r.auth.login(m,p),A1.setSchema(m),A1.setExternalToken(p)}catch{r.sdk.logout()}},r.sdk.logout=()=>{r.auth.logout(),A1.clear()},r.sdk.getUserStore=()=>r.stores.user.getStore(),r.sdk.isUserAuthorized=()=>r.auth.isAuthenticated(),s()},UY=(r,o,s)=>{r.store=new RY(r.transport),r.stores=r.store.getValues(),r.sdk.enabled=r.stores.enabled.getStore(),r.sdk.status=r.stores.status.getStore(),r.sdk.sdkStore=Object.fromEntries(Object.entries(r.stores).map(([m,p])=>[m,p.getStore()])),r.sdk.organizationStore=()=>r.stores.organizationSettings.getStore(),r.sdk.streamStore=()=>r.stores.streamSettings.getStore(),r.storeUnsubscribe=()=>{r.store.unsubscribe()},s()},jY=(r,o,s)=>{r.sdk=Object.create(null),r.sdk.initializeApp=async m=>{if(r.contextConfig=m,r.stores.enabled.get()==="on")return{enabled:!0};r.storeSubscribe(),r.stores.enabled.setValue("on"),r.stores.status.setValue(Ys.INITIALIZATION);try{const p=await r.stores.organizationSettings.getValue();return p?(r.stores.status.setValue(Ys.READY),{enabled:!!p}):(r.stores.status.setValue(Ys.FAILED),{err:"failed"})}catch(p){return r.stores.enabled.setValue(),r.stores.status.setValue(Ys.FAILED),{err:`${p}`}}},r.sdk.disableApp=()=>{r.stores.enabled.get()==="on"&&(r.stores.enabled.setValue(),r.stores.status.setValue(Ys.DISABLED),r.sdk.closeFeature(!0),r.storeUnsubscribe(),r.transport.disconnect())},r.sdk.createEventSession=m=>{r.stores.providerStreamId.setValue(m)},s()},zY=H7({level:"trace",enabled:!1,browser:{write:r=>{console.log(r)}}}),Ow=(r,o)=>zY.child({name:r},o),BY=(r,o,s)=>{const{client:m,queryKey:p}=s.createPromiseClient(ww,{method:"summary",params:[r,o]});return s.nanoquery.createFetcherStore(p,{fetcher:async(v,g,T,I)=>{var C;return(C=(await m.summary({eventId:T,userId:I})).data)==null?void 0:C.attributes}})},FY=r=>{const{client:o}=r.createPromiseClient(ww,{method:"list"});return s=>o.list(s)},VY=(r,o)=>{const{client:s,queryKey:m}=o.createPromiseClient(Zs,{method:"get",params:[r]});return o.nanoquery.createFetcherStore(m,{fetcher:async(p,v,g)=>{var T;return(T=(await s.get({eventId:g})).data)==null?void 0:T.attributes}})},YY=(r,o)=>{const{client:s,queryKey:m}=o.createPromiseClient(Zs,{method:"syncQuestion",params:[r]});return o.nanoquery.createFetcherStore(m,{fetcher:async(p,v,g)=>{var T;return g?(T=(await s.syncQuestion({filter:{eventId:g}})).data)==null?void 0:T.attributes:void 0}})},QY=(r,o)=>{const{client:s}=o.createStreamClient(Zs),m=tu({eventId:r.get()||"",feedId:""});return r.subscribe((p="")=>{m.set({eventId:p,feedId:""})}),o.addSubscription(s.subscription,m,{name:"feedSubscription"})},GY=(r,o)=>{const{client:s}=o.createStreamClient(Zs);return o.addSubscription(s.questionSubscription,{questionId:r},{name:"questionSubscription"})},xw=async(r,o)=>{var m,p;const{client:s}=o.createPromiseClient(Zs,{method:"questionByUser",params:[r]});return(p=(m=(await s.questionByUser({questionId:r})).data)==null?void 0:m.attributes)==null?void 0:p.question},HY=(r,o)=>{const{client:s,queryKey:m}=o.createPromiseClient(Zs,{method:"list",params:[r]});return o.nanoquery.createFetcherStore(m,{fetcher:async(p,v,g)=>g?(await s.list({eventId:g,filter:{statuses:[ao.ACTIVE,ao.RESOLVED]}})).data:[]})};var n8={exports:{}};const $Y=Object.getPrototypeOf({});function r8(r){function o(G){return G!=="constructor"&&G!=="prototype"&&G!=="__proto__"}function s(G){let se=0;const te=G.length,ue=new Array(te);for(se=0;se<te;++se)ue[se]=j(G[se]);return ue}function m(G){const se={};if(I&&Object.getPrototypeOf(G)!==$Y)return I(G);const te=T(G);let ue,Z,ye;for(ue=0,Z=te.length;ue<Z;++ue)o(ye=te[ue])&&(se[ye]=j(G[ye]));return se}function p(G,se){const te=G.length,ue=se.length;let Z=0;const ye=new Array(te+ue);for(Z=0;Z<te;++Z)ye[Z]=j(G[Z]);for(Z=0;Z<ue;++Z)ye[Z+te]=j(se[Z]);return ye}const v=Object.prototype.propertyIsEnumerable;function g(G){const se=Object.keys(G),te=Object.getOwnPropertySymbols(G);for(let ue=0,Z=te.length;ue<Z;++ue)v.call(G,te[ue])&&se.push(te[ue]);return se}const T=r&&r.symbols?g:Object.keys,I=typeof(r==null?void 0:r.cloneProtoObject)=="function"?r.cloneProtoObject:void 0;function C(G){return typeof G=="object"&&G!==null&&!(G instanceof RegExp)&&!(G instanceof Date)}function D(G){return typeof G!="object"||G===null}const R=typeof Mt.Buffer<"u"?G=>typeof G!="object"||G===null||G instanceof RegExp||G instanceof Date||G instanceof Mt.Buffer:G=>typeof G!="object"||G===null||G instanceof RegExp||G instanceof Date,x=r&&typeof r.mergeArray=="function"?r.mergeArray({clone:j,deepmerge:W,getKeys:T,isMergeableObject:C}):p;function j(G){return C(G)?Array.isArray(G)?s(G):m(G):G}function Q(G,se){const te={},ue=T(G),Z=T(se);let ye,fe,De;for(ye=0,fe=ue.length;ye<fe;++ye)o(De=ue[ye])&&Z.indexOf(De)===-1&&(te[De]=j(G[De]));for(ye=0,fe=Z.length;ye<fe;++ye)o(De=Z[ye])&&(De in G&&(ue.indexOf(De)!==-1&&(te[De]=W(G[De],se[De])),!0)||(te[De]=j(se[De])));return te}function W(G,se){const te=Array.isArray(se),ue=Array.isArray(G);return D(se)?se:R(G)?j(se):te&&ue?x(G,se):te!==ue?j(se):Q(G,se)}function le(){switch(arguments.length){case 0:return{};case 1:return j(arguments[0]);case 2:return W(arguments[0],arguments[1])}let G;for(let se=0,te=arguments.length;se<te;++se)G=W(G,arguments[se]);return G}return r&&r.all?le:W}n8.exports=r8;n8.exports.default=r8;var qY=n8.exports.deepmerge=r8;const WY=r=>(o,s)=>{let m=0;const p=o.length,v=s.length,g=Math.max(p,v),T=new Array(g);for(m=0;m<g;++m)m<v?T[m]=r.deepmerge(o[m],s[m]):T[m]=r.clone(o[m]);return T},KY=qY({mergeArray:WY}),ZY=(r,o,s)=>{const m=x7([o,s],(v,g)=>{if(v){if(g.data)return g.data.find(T=>T.id===v);console.error("Feed list is not loaded yet. Issue with the opened question.")}}),p=_c({data:void 0,loading:void 0,error:void 0});return m.subscribe(async v=>{if(v&&v.type==="question"){p.setKey("loading",!0);const g=await xw(v.id,r);p.set({data:g,loading:!1});return}p.set({data:void 0,loading:!1})}),{$store:m,$extendedStore:p,updateExtendedQuestion:v=>{const g=p.get().data;if(g)for(const T of(v==null?void 0:v.answers)||[])T.youVoted!==!0&&delete T.youVoted;p.set({data:KY(g,v)})}}};class JY{constructor(o){J(this,"slStreamId");J(this,"organizationId");J(this,"userId");J(this,"openedQuestionId");J(this,"openedQuestion");J(this,"activeQuestionId");J(this,"feedList");J(this,"moderationId");J(this,"moderation");J(this,"feedSubscription");J(this,"questionSubscription");J(this,"notifications");J(this,"log");J(this,"getCurrentSessionId",o=>{const s=o.eventId||this.slStreamId.get()||"",m=o.userId||this.userId.get()||"",p=o.organizationId||this.organizationId.get()||"",v=o.entity||"",g=o.prefix||"";return[p,s,m,g,v].join(":")});J(this,"disconnect",()=>{var o;(o=this.feedSubscription)==null||o.disconnect()});J(this,"openQuestion",o=>{this.openedQuestionId.set(o),this.notifications.markAsViewed(this.getCurrentSessionId({prefix:"notification",entity:o}))});J(this,"closeQuestion",o=>{this.openedQuestionId.set(void 0),o&&this.notifications.markAsViewed(this.getCurrentSessionId({prefix:"notification",entity:o}))});this.log=Ow("gamification-background"),this.slStreamId=o.stores.slStreamId.getAtomStore(),this.organizationId=o.stores.organizationSettings.getAtomStore(),this.userId=o.stores.user.getAtomStore(),this.moderationId=new Xo(Va(void 0),"moderationId").getStore(),this.openedQuestionId=new Xo(Va(void 0),"openedQuestionId").getStore(),this.notifications=o.notifications,this.moderation=new $i(VY(this.slStreamId,o.transport),"gamification:moderation"),this.feedList=new $i(HY(this.slStreamId,o.transport),"gamification:feedList"),this.activeQuestionId=new $i(YY(this.slStreamId,o.transport),"gamification:activeQuestionId"),this.openedQuestion=ZY(o.transport,this.openedQuestionId,this.feedList.getStore()),this.openedQuestionId.listen(s=>{this.log.debug({questionId:s},"received question"),s?(this.questionSubscription=GY(s,o.transport),this.questionSubscription.addListener("feed-subscription-opened-question",m=>{window.requestAnimationFrame(()=>{var p,v;this.openedQuestion.updateExtendedQuestion((v=(p=m.data)==null?void 0:p.attributes)==null?void 0:v.question)})}),this.questionSubscription.connect()):(this.log.info("cleanup on close question"),this.questionSubscription!==void 0&&(o.transport.removeSubscription(this.questionSubscription),this.questionSubscription=void 0))}),this.feedSubscription=QY(this.slStreamId,o.transport),this.feedSubscription.addListener("feed-subscription-active-question",s=>{window.requestAnimationFrame(()=>{var p;const m=this.activeQuestionId.getStore();m&&m.mutate((p=s.data)==null?void 0:p.attributes)})}),this.feedSubscription.connect()}}class XY{constructor(o){J(this,"notificationsList");J(this,"notifications");J(this,"store");J(this,"timeouts");J(this,"waitingQueue");J(this,"activeQueue");J(this,"options");J(this,"logger");J(this,"addToQueue",o=>{if(this.store.has(o.id)){this.logger.debug({notification:o},"skip existed notification: %o");return}const s=o.close,m=o.action;if(this.store.set(o.id,{...o,close:(...p)=>{s&&s(...p),this.closeNotification(o.id)},action:(...p)=>{m&&m(...p),this.closeNotification(o.id)}}),this.waitingQueue.add(o.id),this.activeQueue.size===this.options.concurrency){const[p]=this.activeQueue;this.closeNotification(p)}else this.tickWaitingQueue()});J(this,"tickWaitingQueue",()=>{if(this.activeQueue.size<this.options.concurrency){const[o]=this.waitingQueue;if(!o)return;this.activeQueue.add(o),this.waitingQueue.delete(o),this.logger.debug({job:o},"waiting queue tick"),this.tickActiveQueue(o)}else this.logger.debug({queueSize:this.activeQueue.size,concurrency:this.options.concurrency},"waiting queue tick skipped")});J(this,"tickActiveQueue",o=>{if(!o)return;const s=this.store.get(o);if(!s){this.logger.debug({notificationId:o},"active queue tick skipped, notification not exist");return}const m=setTimeout(()=>{const p=o,v=new Map(this.notifications.getValue());v.set(s.id,s),this.notifications.setValue(v);const g=setTimeout(()=>{this.logger.debug({notificationId:p,delay:s.autoHideDuration||5e3},"notification hiding by autoHideDuration"),this.closeNotification(p)},s.autoHideDuration||5e3);this.timeouts.set(p,g),this.logger.debug({notificationId:p,queue:[...v.values()]},"notification displayed")},s.delay||0);this.timeouts.set(o,m),this.logger.debug({notificationId:o},"active queue tick completed"),this.tickWaitingQueue()});J(this,"closeNotification",o=>{const s=new Map(this.notifications.getValue()),m=s.get(o);if(m){m.hiding=!(this.waitingQueue.size>=this.options.concurrency),this.notifications.setValue(s);const p=setTimeout(()=>{const v=new Map(this.notifications.getValue());v.delete(o),this.notifications.setValue(v);const g=this.timeouts.get(o);g!==void 0&&(clearTimeout(g),this.timeouts.delete(o)),this.logger.debug({notificationId:o},"notification hidden")},this.options.animationDelay||0);this.timeouts.set(o,p)}this.store.delete(o),this.activeQueue.delete(o),this.waitingQueue.delete(o),this.tickWaitingQueue(),this.logger.debug({notificationId:o},"notification hiding")});this.options=o,this.logger=Ow("notifications"),this.store=new Map,this.timeouts=new Map,this.waitingQueue=new Set,this.activeQueue=new Set,this.notifications=new Xo(Va(new Map),"notifications-queue"),this.notificationsList=this.notifications.getStore()}}var by;(function(r){r.OPENED="opened"})(by||(by={}));class eQ extends t8{constructor(){super("notification");J(this,"setOpened",s=>{this.write(by.OPENED,s,"true")});J(this,"isOpened",s=>this.read(by.OPENED,s));J(this,"clearNotification",()=>{this.clear()})}}var Ic;(function(r){r[r.ONBOARDING=1]="ONBOARDING",r[r.QUESTION=2]="QUESTION",r[r.QUESTION_RESOLVED=3]="QUESTION_RESOLVED"})(Ic||(Ic={}));class tQ{constructor(o={}){J(this,"queue");J(this,"storage");J(this,"add",o=>{this.storage.isOpened(o.id)||this.queue.addToQueue(o)});J(this,"close",o=>{this.queue.closeNotification(o),this.markAsViewed(o)});J(this,"getQueueStore",()=>this.queue.notificationsList);J(this,"markAsViewed",o=>{this.storage.setOpened(o)});this.storage=new eQ,this.queue=new XY({concurrency:1,animationDelay:1600,...o})}}const nQ=(r,o,s)=>{r.notifications=new tQ,r.addNotification=r.notifications.add,r.sdk.getNotificationsStore=()=>r.notifications.getQueueStore(),s()},rQ=(r,o)=>{const{client:s}=r.createPromiseClient(Zs,{method:"submitAnswer"});return s.submitAnswer({data:o})},aQ=(r,o)=>{const{client:s}=r.createPromiseClient(Zs,{method:"submitInplay"});return s.submitInplay({data:{eventId:+o}})},oQ=(r,o)=>{const{client:s}=r.createPromiseClient(Zs,{method:"skipQuestion"});return s.skipQuestion({data:{id:o}})};var wy;(function(r){r.ONBOARDING="onboarding"})(wy||(wy={}));class Lw extends t8{constructor(){super("gamification");J(this,"saveOnboardingStatus",({userId:s,eventId:m,organizationId:p},v)=>{this.write(wy.ONBOARDING,p,s,m,v)});J(this,"getOnboardingStatus",({userId:s,eventId:m,organizationId:p})=>this.read(wy.ONBOARDING,p,s,m))}}const E9={pageSize:10},iQ=(r,o,s)=>{let m=0;const p=Va({pageSize:(s==null?void 0:s.pageSize)||E9.pageSize,page:0}),v=_c({data:[],hasMore:!0,loading:void 0,error:void 0}),g=FY(r),T=async C=>{if(C){v.setKey("loading",!0);const D={eventId:C,pagination:{page:0,pageSize:(s==null?void 0:s.pageSize)||E9.pageSize}},R=await g(D);v.set({data:R.data.map(x=>x.attributes),hasMore:!0,loading:!1}),R.meta&&(m=Math.round(R.meta.count/R.meta.pageSize)),p.set(D.pagination)}};o.listen(T);const I=()=>{T(o.get())};return p.listen(async C=>{const D=o.get();if(C.page>0&&D)if(C.page<m){v.setKey("loading",!0);const R=await g({eventId:D,pagination:C}),x=v.get().data||[];v.set({data:[...x,...R.data.map(j=>j.attributes)],loading:!1,hasMore:!0})}else v.setKey("hasMore",!1)}),{$store:v,fetchMore:C=>{const D=p.get(),R=C||D.page+1;R<=m&&p.set({...D,page:R})},invalidate:I}},sQ=(r,o)=>{const{client:s,queryKey:m}=r.createPromiseClient(B1,{method:"generateDeepLink",params:o});return r.nanoquery.createFetcherStore(m,{fetcher:async(p,v,g)=>{var T;return g?(T=(await s.generateDeepLink({data:{eventId:g}})).data)==null?void 0:T.attributes:{}}})},lQ=(r,o,s)=>{const m=sQ(r,[o]),p=`${window.location.host+window.location.pathname}%23sl_eid=${o.get()}&sl_uid=${s.get()}`;return{$store:m,fetch,desktopLink:p}};var Dr;(function(r){r.Unset="unset",r.Required="required",r.Optional="optional",r.Completed="completed",r.Disabled="disabled",r.Unavailable="unavailable"})(Dr||(Dr={}));const uQ=(r,o,s,m)=>{const p=new Lw,v=Va(Dr.Unset),g=()=>{const{inplayGame:I}=r.featureSettings.get(),C=o.getCurrentSessionId({prefix:"onboarding"});I&&m.add({type:Ic.ONBOARDING,id:C,action:r.openFeature,close:()=>{m.markAsViewed(C)},delay:1e3,autoHideDuration:1e6,data:{questionType:Kt.UNSET,onboarding:{...I}}})};v.subscribe(I=>{(I===Dr.Optional||Dr.Required)&&g(),I===Dr.Completed&&o.activeQuestionId.invalidate()});const T=async()=>{var x,j,Q,W,le;const I=o.userId.get();if(!I){v.set(Dr.Unset);return}p.getOnboardingStatus({userId:I,organizationId:o.organizationId.get()||"",eventId:o.slStreamId.get()||""})===Dr.Completed&&v.set(Dr.Completed);const C=await o.moderation.getValue();if(v.get()===Dr.Completed)return;const D=!!((x=C==null?void 0:C.options)!=null&&x.onboardingEnabled&&((Q=(j=r.featureSettings.get().inplayGame)==null?void 0:j.onboarding)!=null&&Q.completed)),R=!!((le=(W=r.featureSettings.get().inplayGame)==null?void 0:W.titleCard)!=null&&le.optIn);D?R?v.set(Dr.Required):v.set(Dr.Optional):R?v.set(Dr.Unavailable):v.set(Dr.Disabled)};return T(),o.userId.subscribe(I=>{I&&T()}),o.moderation.subscribe(I=>{I.data&&T()}),{$store:v,submitInplay:async()=>{const I=o.slStreamId.get();if(I){await aQ(s,I),v.set(Dr.Completed),p.saveOnboardingStatus({organizationId:o.organizationId.get()||"",userId:o.userId.get()||"",eventId:I},Dr.Completed);const C=o.getCurrentSessionId({prefix:"onboarding"});m.close(C)}}}},cQ=new Set([Kt.POLL,Kt.PREDICTION,Kt.TRIVIA]);class dQ extends Aw{constructor(s,m,p){super(s,m);J(this,"userSummary");J(this,"feedList");J(this,"leaderboardId");J(this,"leaderboardList");J(this,"deepLink");J(this,"onboardingStatus");J(this,"openedQuestion");J(this,"currentUserId");J(this,"openedUser");J(this,"closeFeature");J(this,"openFeature");J(this,"notifications");J(this,"transport");J(this,"background");J(this,"storage");J(this,"connect",s=>{this.userSummary.invalidate(),this.leaderboardList.invalidate(),this.feedList.invalidate(),this.background.feedSubscription.addListener("feed-subscription-prediction-close",m=>{window.requestAnimationFrame(async()=>{var I,C;const p=(C=(I=m.data)==null?void 0:I.attributes)==null?void 0:C.question;if(!p)return;const{status:v,type:g,id:T}=p;if(v===ao.RESOLVED&&g===Kt.PREDICTION){const D=this.background.getCurrentSessionId({prefix:`notification-id:${T}`}),R=await xw(T,s),x=R==null?void 0:R.answers.find(({correct:Q})=>Q),j=R==null?void 0:R.answers.find(({youVoted:Q})=>Q);if(!j)return;this.notifications.add({type:Ic.QUESTION_RESOLVED,action:()=>this.openQuestion(T),close:()=>this.closeQuestion(T),autoHideDuration:35e3,id:D,data:{questionType:Kt.PREDICTION,question:{title:x!=null&&x.youVoted?`Congratulations! You answered correctly! You won ${x.points} pts!`:`Better luck next time! Correct: ${x==null?void 0:x.text}!`,votedAnswer:{title:j==null?void 0:j.text,points:j==null?void 0:j.points},correctAnswerTitle:x==null?void 0:x.text,correct:x==null?void 0:x.youVoted,predictionResult:v===ao.RESOLVED,questionTitle:R==null?void 0:R.subject}}}),this.userSummary.invalidate()}})}),this.background.feedSubscription.addListener("feed-subscription-questions-list",()=>{window.requestAnimationFrame(()=>{var m;(m=this.feedList)==null||m.invalidate()})})});J(this,"disconnect",()=>{this.background.feedSubscription.removeListener("feed-subscription-questions-list")});J(this,"submitAnswer",async(s,m)=>{await rQ(this.transport,{questionId:s,answerId:m}),this.feedList.invalidate(),this.userSummary.invalidate()});J(this,"skipQuestion",async s=>{await oQ(this.transport,s),this.feedList.invalidate(),this.userSummary.invalidate()});J(this,"openQuestion",s=>(this.openFeature(),this.background.openQuestion(s)));J(this,"closeQuestion",s=>this.background.closeQuestion(s));J(this,"openUser",s=>{var p;const m=(p=this.leaderboardList.$store.get().data)==null?void 0:p.find(v=>v.userId===s);this.openedUser.set(m)});J(this,"closeUser",()=>{this.openedUser.set(void 0)});this.background=new JY(p),this.storage=new Lw,this.userSummary=new $i(BY(this.background.slStreamId,this.background.userId,p.transport),"gamification:userSummary"),this.feedList=this.background.feedList,this.currentUserId=this.background.userId,this.openedUser=Va(void 0),this.leaderboardId=new Xo(Va(this.settings.getValue("pinnedLeaderboardId")),"pinnedLeaderboardId").getStore(),this.onboardingStatus=uQ(this,this.background,p.transport,p.notifications),this.notifications=p.notifications,this.transport=p.transport,this.closeFeature=()=>p.sdk.closeFeature(!0),this.openFeature=()=>p.sdk.openFeature(Xn.GAMES),this.openedQuestion=this.background.openedQuestion,this.deepLink=lQ(this.transport,this.background.slStreamId,this.background.userId),this.leaderboardList=iQ(this.transport,this.background.slStreamId),this.status.subscribe(v=>{v===tp.Ready?this.connect(p.transport):this.disconnect()}),this.background.activeQuestionId.listen(v=>{var T,I,C,D,R,x,j,Q,W,le,G,se;const g=this.onboardingStatus.$store.get();if(v&&v.data&&g&&((T=v.data.question)==null?void 0:T.id)!==void 0&&v.data.question.notification!==void 0&&((C=(I=v.data.question)==null?void 0:I.bypassNotifications)==null?void 0:C.inAppSilence)!==h7.ON&&v.data.question.status===ao.ACTIVE){if(cQ.has(v.data.question.type)){const te=(R=(D=this.settings.getValues().inplayGame)==null?void 0:D.titleCard)==null?void 0:R.optIn,ue=g===Dr.Completed;te!==void 0&&(!te||ue)&&this.notifications.add({type:Ic.QUESTION,action:()=>{var Z;return((Z=v.data)==null?void 0:Z.question)&&this.openQuestion(v.data.question.id)},close:()=>{var Z;return((Z=v.data)==null?void 0:Z.question)&&this.closeQuestion(v.data.question.id)},autoHideDuration:1e3*60,id:this.background.getCurrentSessionId({prefix:"notification",entity:v.data.question.id}),data:{questionType:v.data.question.type,question:{title:v.data.question.notification.title}}})}else if(v.data.question.type===Kt.FACTOID){const te=(x=v.data.question.options)==null?void 0:x.options.value,ue={heading:v.data.question.notification.title,body:v.data.question.notification.body,image:v.data.question.notification.image,video:{id:((j=te==null?void 0:te.video)==null?void 0:j.id)||"",url:((Q=te==null?void 0:te.video)==null?void 0:Q.url)||"",thumbnailUrl:((W=te==null?void 0:te.video)==null?void 0:W.thumbnailUrl)||""},webLink:{label:"",url:""}};this.notifications.add({type:Ic.QUESTION,action:()=>{var Z;return((Z=v.data)==null?void 0:Z.question)&&this.openQuestion(v.data.question.id)},close:()=>{var Z;return((Z=v.data)==null?void 0:Z.question)&&this.closeQuestion(v.data.question.id)},autoHideDuration:1e3*120,id:this.background.getCurrentSessionId({prefix:"notification",entity:v.data.question.id}),data:{questionType:v.data.question.type,insight:ue}})}else if(v.data.question.type===Kt.TWEET){const te=(le=v.data.question.options)==null?void 0:le.options.value,ue={title:v.data.question.notification.title,body:v.data.question.notification.body,image:v.data.question.notification.image,account:((G=te==null?void 0:te.tweetMeta)==null?void 0:G.account)||"",accountVerified:!!((se=te==null?void 0:te.tweetMeta)!=null&&se.accountVerified)};this.notifications.add({type:Ic.QUESTION,action:()=>{var Z;return((Z=v.data)==null?void 0:Z.question)&&this.openQuestion(v.data.question.id)},close:()=>{var Z;return((Z=v.data)==null?void 0:Z.question)&&this.closeQuestion(v.data.question.id)},autoHideDuration:1e3*120,id:this.background.getCurrentSessionId({prefix:"notification",entity:v.data.question.id}),data:{questionType:v.data.question.type,tweet:ue}})}}})}}const fQ={[Xn.GAMES]:!0};class pQ extends Aw{constructor(o,s){super(o,s)}}const mQ=(r,o,s)=>r.type===Xn.GAMES?new dQ(r,o,s):new pQ(r,o),hQ=(r,o,s)=>{r.features=new Map,r.activeFeature=new Xo(Va(Xn.UNSET),"activeFeature"),r.sdk.getFeatures=()=>r.features,r.sdk.getFeature=m=>r.features.get(m),r.sdk.getActiveFeature=()=>r.activeFeature.getStore(),r.sdk.openFeature=m=>{r.activeFeature.setValue(m)},r.sdk.closeFeature=(m=!1)=>{if(m){const p=r.activeFeature.getValue();r.activeFeature.setValue(Xn.UNSET),p&&r.features.delete(p)}},r.initFeature=(m,p=Vs.ORGANIZATION)=>{if(m.type in fQ&&!r.features.has(m.type)){const v=mQ(m,p,r);r.features.set(m.type,v)}},r.updateFeature=(m,p)=>{var v;(v=r.features.get(m.type))==null||v.update(m,p)},r.destroyFeature=m=>{r.features.delete(m.type)},r.reinitializeFeatures=async()=>{const m=await r.stores.organizationSettings.getValue();r.features.clear();for(const p of(m==null?void 0:m.overlays)||[])r.initFeature(p,Vs.ORGANIZATION)},r.stores.providerStreamId.listen(m=>{m||r.reinitializeFeatures()}),r.storeSubscribe=()=>{const m=(v,g)=>{var T;if(g!=null&&g.overlays&&!((T=r.contextConfig)!=null&&T.skipOrganizationSettings&&v===Vs.ORGANIZATION))for(const I of g.overlays)I.sdkEnable===!0&&(r.features.has(I.type)?r.updateFeature(I,v):r.initFeature(I,v))},p={organizationSettings:v=>{if(v.data)try{m(Vs.ORGANIZATION,v.data)}catch(g){console.log(g)}},streamSettings:v=>{if(v.data)try{m(Vs.STREAM,v.data)}catch(g){console.log(g)}}};r.store.subscribe(p)},s()};var a8={exports:{}},o8={exports:{}};function gQ(r){var o=new r,s=o;function m(){var v=o;return v.next?o=v.next:(o=new r,s=o),v.next=null,v}function p(v){s.next=v,s=v}return{get:m,release:p}}var yQ=gQ,vQ=yQ;function Rw(r,o,s){if(typeof r=="function"&&(s=o,o=r,r=null),s<1)throw new Error("fastqueue concurrency must be greater than 1");var m=vQ(TQ),p=null,v=null,g=0,T=null,I={push:W,drain:So,saturated:So,pause:D,paused:!1,concurrency:s,running:C,resume:j,idle:Q,length:R,getQueue:x,unshift:le,empty:So,kill:se,killAndDrain:te,error:ue};return I;function C(){return g}function D(){I.paused=!0}function R(){for(var Z=p,ye=0;Z;)Z=Z.next,ye++;return ye}function x(){for(var Z=p,ye=[];Z;)ye.push(Z.value),Z=Z.next;return ye}function j(){if(I.paused){I.paused=!1;for(var Z=0;Z<I.concurrency;Z++)g++,G()}}function Q(){return g===0&&I.length()===0}function W(Z,ye){var fe=m.get();fe.context=r,fe.release=G,fe.value=Z,fe.callback=ye||So,fe.errorHandler=T,g===I.concurrency||I.paused?v?(v.next=fe,v=fe):(p=fe,v=fe,I.saturated()):(g++,o.call(r,fe.value,fe.worked))}function le(Z,ye){var fe=m.get();fe.context=r,fe.release=G,fe.value=Z,fe.callback=ye||So,g===I.concurrency||I.paused?p?(fe.next=p,p=fe):(p=fe,v=fe,I.saturated()):(g++,o.call(r,fe.value,fe.worked))}function G(Z){Z&&m.release(Z);var ye=p;ye?I.paused?g--:(v===p&&(v=null),p=ye.next,ye.next=null,o.call(r,ye.value,ye.worked),v===null&&I.empty()):--g===0&&I.drain()}function se(){p=null,v=null,I.drain=So}function te(){p=null,v=null,I.drain(),I.drain=So}function ue(Z){T=Z}}function So(){}function TQ(){this.value=null,this.callback=So,this.next=null,this.release=So,this.context=null,this.errorHandler=null;var r=this;this.worked=function(o,s){var m=r.callback,p=r.errorHandler,v=r.value;r.value=null,r.callback=So,r.errorHandler&&p(o,v),m.call(r.context,o,s),r.release(r)}}function kQ(r,o,s){typeof r=="function"&&(s=o,o=r,r=null);function m(D,R){o.call(this,D).then(function(x){R(null,x)},R)}var p=Rw(r,m,s),v=p.push,g=p.unshift;return p.push=T,p.unshift=I,p.drained=C,p;function T(D){var R=new Promise(function(x,j){v(D,function(Q,W){if(Q){j(Q);return}x(W)})});return R.catch(So),R}function I(D){var R=new Promise(function(x,j){g(D,function(Q,W){if(Q){j(Q);return}x(W)})});return R.catch(So),R}function C(){if(p.idle())return new Promise(function(x){x()});var D=p.drain,R=new Promise(function(x){p.drain=function(){D(),x()}});return R}}o8.exports=Rw;o8.exports.promise=kQ;var Dw=o8.exports,i8={exports:{}},np=typeof Reflect=="object"?Reflect:null,N9=np&&typeof np.apply=="function"?np.apply:function(r,o,s){return Function.prototype.apply.call(r,o,s)},dy;np&&typeof np.ownKeys=="function"?dy=np.ownKeys:Object.getOwnPropertySymbols?dy=function(r){return Object.getOwnPropertyNames(r).concat(Object.getOwnPropertySymbols(r))}:dy=function(r){return Object.getOwnPropertyNames(r)};function bQ(r){console&&console.warn&&console.warn(r)}var Pw=Number.isNaN||function(r){return r!==r};function rn(){rn.init.call(this)}i8.exports=rn;i8.exports.once=NQ;rn.EventEmitter=rn;rn.prototype._events=void 0;rn.prototype._eventsCount=0;rn.prototype._maxListeners=void 0;var M9=10;function Yy(r){if(typeof r!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof r)}Object.defineProperty(rn,"defaultMaxListeners",{enumerable:!0,get:function(){return M9},set:function(r){if(typeof r!="number"||r<0||Pw(r))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+r+".");M9=r}});rn.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0};rn.prototype.setMaxListeners=function(r){if(typeof r!="number"||r<0||Pw(r))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+r+".");return this._maxListeners=r,this};function Uw(r){return r._maxListeners===void 0?rn.defaultMaxListeners:r._maxListeners}rn.prototype.getMaxListeners=function(){return Uw(this)};rn.prototype.emit=function(r){for(var o=[],s=1;s<arguments.length;s++)o.push(arguments[s]);var m=r==="error",p=this._events;if(p!==void 0)m=m&&p.error===void 0;else if(!m)return!1;if(m){var v;if(o.length>0&&(v=o[0]),v instanceof Error)throw v;var g=new Error("Unhandled error."+(v?" ("+v.message+")":""));throw g.context=v,g}var T=p[r];if(T===void 0)return!1;if(typeof T=="function")N9(T,this,o);else for(var I=T.length,C=Vw(T,I),s=0;s<I;++s)N9(C[s],this,o);return!0};function jw(r,o,s,m){var p,v,g;if(Yy(s),v=r._events,v===void 0?(v=r._events=Object.create(null),r._eventsCount=0):(v.newListener!==void 0&&(r.emit("newListener",o,s.listener?s.listener:s),v=r._events),g=v[o]),g===void 0)g=v[o]=s,++r._eventsCount;else if(typeof g=="function"?g=v[o]=m?[s,g]:[g,s]:m?g.unshift(s):g.push(s),p=Uw(r),p>0&&g.length>p&&!g.warned){g.warned=!0;var T=new Error("Possible EventEmitter memory leak detected. "+g.length+" "+String(o)+" listeners added. Use emitter.setMaxListeners() to increase limit");T.name="MaxListenersExceededWarning",T.emitter=r,T.type=o,T.count=g.length,bQ(T)}return r}rn.prototype.addListener=function(r,o){return jw(this,r,o,!1)};rn.prototype.on=rn.prototype.addListener;rn.prototype.prependListener=function(r,o){return jw(this,r,o,!0)};function wQ(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function zw(r,o,s){var m={fired:!1,wrapFn:void 0,target:r,type:o,listener:s},p=wQ.bind(m);return p.listener=s,m.wrapFn=p,p}rn.prototype.once=function(r,o){return Yy(o),this.on(r,zw(this,r,o)),this};rn.prototype.prependOnceListener=function(r,o){return Yy(o),this.prependListener(r,zw(this,r,o)),this};rn.prototype.removeListener=function(r,o){var s,m,p,v,g;if(Yy(o),m=this._events,m===void 0)return this;if(s=m[r],s===void 0)return this;if(s===o||s.listener===o)--this._eventsCount===0?this._events=Object.create(null):(delete m[r],m.removeListener&&this.emit("removeListener",r,s.listener||o));else if(typeof s!="function"){for(p=-1,v=s.length-1;v>=0;v--)if(s[v]===o||s[v].listener===o){g=s[v].listener,p=v;break}if(p<0)return this;p===0?s.shift():SQ(s,p),s.length===1&&(m[r]=s[0]),m.removeListener!==void 0&&this.emit("removeListener",r,g||o)}return this};rn.prototype.off=rn.prototype.removeListener;rn.prototype.removeAllListeners=function(r){var o,s,m;if(s=this._events,s===void 0)return this;if(s.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):s[r]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete s[r]),this;if(arguments.length===0){var p=Object.keys(s),v;for(m=0;m<p.length;++m)v=p[m],v!=="removeListener"&&this.removeAllListeners(v);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(o=s[r],typeof o=="function")this.removeListener(r,o);else if(o!==void 0)for(m=o.length-1;m>=0;m--)this.removeListener(r,o[m]);return this};function Bw(r,o,s){var m=r._events;if(m===void 0)return[];var p=m[o];return p===void 0?[]:typeof p=="function"?s?[p.listener||p]:[p]:s?EQ(p):Vw(p,p.length)}rn.prototype.listeners=function(r){return Bw(this,r,!0)};rn.prototype.rawListeners=function(r){return Bw(this,r,!1)};rn.listenerCount=function(r,o){return typeof r.listenerCount=="function"?r.listenerCount(o):Fw.call(r,o)};rn.prototype.listenerCount=Fw;function Fw(r){var o=this._events;if(o!==void 0){var s=o[r];if(typeof s=="function")return 1;if(s!==void 0)return s.length}return 0}rn.prototype.eventNames=function(){return this._eventsCount>0?dy(this._events):[]};function Vw(r,o){for(var s=new Array(o),m=0;m<o;++m)s[m]=r[m];return s}function SQ(r,o){for(;o+1<r.length;o++)r[o]=r[o+1];r.pop()}function EQ(r){for(var o=new Array(r.length),s=0;s<o.length;++s)o[s]=r[s].listener||r[s];return o}function NQ(r,o){return new Promise(function(s,m){function p(g){r.removeListener(o,v),m(g)}function v(){typeof r.removeListener=="function"&&r.removeListener("error",p),s([].slice.call(arguments))}Yw(r,o,v,{once:!0}),o!=="error"&&MQ(r,p,{once:!0})})}function MQ(r,o,s){typeof r.on=="function"&&Yw(r,"error",o,s)}function Yw(r,o,s,m){if(typeof r.on=="function")m.once?r.once(o,s):r.on(o,s);else if(typeof r.addEventListener=="function")r.addEventListener(o,function p(v){m.once&&r.removeEventListener(o,p),s(v)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof r)}var Qw=i8.exports,Qy={},Gw={},Hw=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var r={},o=Symbol("test"),s=Object(o);if(typeof o=="string"||Object.prototype.toString.call(o)!=="[object Symbol]"||Object.prototype.toString.call(s)!=="[object Symbol]")return!1;var m=42;r[o]=m;for(o in r)return!1;if(typeof Object.keys=="function"&&Object.keys(r).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(r).length!==0)return!1;var p=Object.getOwnPropertySymbols(r);if(p.length!==1||p[0]!==o||!Object.prototype.propertyIsEnumerable.call(r,o))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var v=Object.getOwnPropertyDescriptor(r,o);if(v.value!==m||v.enumerable!==!0)return!1}return!0},IQ=Hw,s8=function(){return IQ()&&!!Symbol.toStringTag},I9=typeof Symbol<"u"&&Symbol,_Q=Hw,CQ=function(){return typeof I9!="function"||typeof Symbol!="function"||typeof I9("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:_Q()},_9={foo:{}},AQ=Object,OQ=function(){return{__proto__:_9}.foo===_9.foo&&!({__proto__:null}instanceof AQ)},xQ="Function.prototype.bind called on incompatible ",LQ=Object.prototype.toString,RQ=Math.max,DQ="[object Function]",C9=function(r,o){for(var s=[],m=0;m<r.length;m+=1)s[m]=r[m];for(var p=0;p<o.length;p+=1)s[p+r.length]=o[p];return s},PQ=function(r,o){for(var s=[],m=o||0,p=0;m<r.length;m+=1,p+=1)s[p]=r[m];return s},UQ=function(r,o){for(var s="",m=0;m<r.length;m+=1)s+=r[m],m+1<r.length&&(s+=o);return s},jQ=function(r){var o=this;if(typeof o!="function"||LQ.apply(o)!==DQ)throw new TypeError(xQ+o);for(var s=PQ(arguments,1),m,p=function(){if(this instanceof m){var C=o.apply(this,C9(s,arguments));return Object(C)===C?C:this}return o.apply(r,C9(s,arguments))},v=RQ(0,o.length-s.length),g=[],T=0;T<v;T++)g[T]="$"+T;if(m=Function("binder","return function ("+UQ(g,",")+"){ return binder.apply(this,arguments); }")(p),o.prototype){var I=function(){};I.prototype=o.prototype,m.prototype=new I,I.prototype=null}return m},zQ=jQ,$w=Function.prototype.bind||zQ,A9={}.hasOwnProperty,V4=Function.prototype.call,BQ=V4.bind?V4.bind(A9):function(r,o){return V4.call(A9,r,o)},jt,ip=SyntaxError,qw=Function,rp=TypeError,Y4=function(r){try{return qw('"use strict"; return ('+r+").constructor;")()}catch{}},Cc=Object.getOwnPropertyDescriptor;if(Cc)try{Cc({},"")}catch{Cc=null}var Q4=function(){throw new rp},FQ=Cc?function(){try{return arguments.callee,Q4}catch{try{return Cc(arguments,"callee").get}catch{return Q4}}}():Q4,Qf=CQ(),VQ=OQ(),kr=Object.getPrototypeOf||(VQ?function(r){return r.__proto__}:null),Hf={},YQ=typeof Uint8Array>"u"||!kr?jt:kr(Uint8Array),Ac={"%AggregateError%":typeof AggregateError>"u"?jt:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?jt:ArrayBuffer,"%ArrayIteratorPrototype%":Qf&&kr?kr([][Symbol.iterator]()):jt,"%AsyncFromSyncIteratorPrototype%":jt,"%AsyncFunction%":Hf,"%AsyncGenerator%":Hf,"%AsyncGeneratorFunction%":Hf,"%AsyncIteratorPrototype%":Hf,"%Atomics%":typeof Atomics>"u"?jt:Atomics,"%BigInt%":typeof BigInt>"u"?jt:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?jt:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?jt:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?jt:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?jt:Float32Array,"%Float64Array%":typeof Float64Array>"u"?jt:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?jt:FinalizationRegistry,"%Function%":qw,"%GeneratorFunction%":Hf,"%Int8Array%":typeof Int8Array>"u"?jt:Int8Array,"%Int16Array%":typeof Int16Array>"u"?jt:Int16Array,"%Int32Array%":typeof Int32Array>"u"?jt:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Qf&&kr?kr(kr([][Symbol.iterator]())):jt,"%JSON%":typeof JSON=="object"?JSON:jt,"%Map%":typeof Map>"u"?jt:Map,"%MapIteratorPrototype%":typeof Map>"u"||!Qf||!kr?jt:kr(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?jt:Promise,"%Proxy%":typeof Proxy>"u"?jt:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?jt:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?jt:Set,"%SetIteratorPrototype%":typeof Set>"u"||!Qf||!kr?jt:kr(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?jt:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Qf&&kr?kr(""[Symbol.iterator]()):jt,"%Symbol%":Qf?Symbol:jt,"%SyntaxError%":ip,"%ThrowTypeError%":FQ,"%TypedArray%":YQ,"%TypeError%":rp,"%Uint8Array%":typeof Uint8Array>"u"?jt:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?jt:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?jt:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?jt:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?jt:WeakMap,"%WeakRef%":typeof WeakRef>"u"?jt:WeakRef,"%WeakSet%":typeof WeakSet>"u"?jt:WeakSet};if(kr)try{null.error}catch(r){var QQ=kr(kr(r));Ac["%Error.prototype%"]=QQ}var GQ=function r(o){var s;if(o==="%AsyncFunction%")s=Y4("async function () {}");else if(o==="%GeneratorFunction%")s=Y4("function* () {}");else if(o==="%AsyncGeneratorFunction%")s=Y4("async function* () {}");else if(o==="%AsyncGenerator%"){var m=r("%AsyncGeneratorFunction%");m&&(s=m.prototype)}else if(o==="%AsyncIteratorPrototype%"){var p=r("%AsyncGenerator%");p&&kr&&(s=kr(p.prototype))}return Ac[o]=s,s},O9={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},F1=$w,Sy=BQ,HQ=F1.call(Function.call,Array.prototype.concat),$Q=F1.call(Function.apply,Array.prototype.splice),x9=F1.call(Function.call,String.prototype.replace),Ey=F1.call(Function.call,String.prototype.slice),qQ=F1.call(Function.call,RegExp.prototype.exec),WQ=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,KQ=/\\(\\)?/g,ZQ=function(r){var o=Ey(r,0,1),s=Ey(r,-1);if(o==="%"&&s!=="%")throw new ip("invalid intrinsic syntax, expected closing `%`");if(s==="%"&&o!=="%")throw new ip("invalid intrinsic syntax, expected opening `%`");var m=[];return x9(r,WQ,function(p,v,g,T){m[m.length]=g?x9(T,KQ,"$1"):v||p}),m},JQ=function(r,o){var s=r,m;if(Sy(O9,s)&&(m=O9[s],s="%"+m[0]+"%"),Sy(Ac,s)){var p=Ac[s];if(p===Hf&&(p=GQ(s)),typeof p>"u"&&!o)throw new rp("intrinsic "+r+" exists, but is not available. Please file an issue!");return{alias:m,name:s,value:p}}throw new ip("intrinsic "+r+" does not exist!")},dp=function(r,o){if(typeof r!="string"||r.length===0)throw new rp("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof o!="boolean")throw new rp('"allowMissing" argument must be a boolean');if(qQ(/^%?[^%]*%?$/,r)===null)throw new ip("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var s=ZQ(r),m=s.length>0?s[0]:"",p=JQ("%"+m+"%",o),v=p.name,g=p.value,T=!1,I=p.alias;I&&(m=I[0],$Q(s,HQ([0,1],I)));for(var C=1,D=!0;C<s.length;C+=1){var R=s[C],x=Ey(R,0,1),j=Ey(R,-1);if((x==='"'||x==="'"||x==="`"||j==='"'||j==="'"||j==="`")&&x!==j)throw new ip("property names with quotes must have matching quotes");if((R==="constructor"||!D)&&(T=!0),m+="."+R,v="%"+m+"%",Sy(Ac,v))g=Ac[v];else if(g!=null){if(!(R in g)){if(!o)throw new rp("base intrinsic for "+r+" exists, but the property is not available.");return}if(Cc&&C+1>=s.length){var Q=Cc(g,R);D=!!Q,D&&"get"in Q&&!("originalValue"in Q.get)?g=Q.get:g=g[R]}else D=Sy(g,R),g=g[R];D&&!T&&(Ac[v]=g)}}return g},Ww={exports:{}},XQ=dp,wT=XQ("%Object.defineProperty%",!0),ST=function(){if(wT)try{return wT({},"a",{value:1}),!0}catch{return!1}return!1};ST.hasArrayLengthDefineBug=function(){if(!ST())return null;try{return wT([],"length",{value:1}).length!==1}catch{return!0}};var Kw=ST,eG=dp,fy=eG("%Object.getOwnPropertyDescriptor%",!0);if(fy)try{fy([],"length")}catch{fy=null}var l8=fy,tG=Kw(),u8=dp,R1=tG&&u8("%Object.defineProperty%",!0);if(R1)try{R1({},"a",{value:1})}catch{R1=!1}var nG=u8("%SyntaxError%"),Gf=u8("%TypeError%"),L9=l8,rG=function(r,o,s){if(!r||typeof r!="object"&&typeof r!="function")throw new Gf("`obj` must be an object or a function`");if(typeof o!="string"&&typeof o!="symbol")throw new Gf("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new Gf("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new Gf("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new Gf("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new Gf("`loose`, if provided, must be a boolean");var m=arguments.length>3?arguments[3]:null,p=arguments.length>4?arguments[4]:null,v=arguments.length>5?arguments[5]:null,g=arguments.length>6?arguments[6]:!1,T=!!L9&&L9(r,o);if(R1)R1(r,o,{configurable:v===null&&T?T.configurable:!v,enumerable:m===null&&T?T.enumerable:!m,value:s,writable:p===null&&T?T.writable:!p});else if(g||!m&&!p&&!v)r[o]=s;else throw new nG("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},Zw=dp,R9=rG,aG=Kw(),D9=l8,P9=Zw("%TypeError%"),oG=Zw("%Math.floor%"),iG=function(r,o){if(typeof r!="function")throw new P9("`fn` is not a function");if(typeof o!="number"||o<0||o>4294967295||oG(o)!==o)throw new P9("`length` must be a positive 32-bit integer");var s=arguments.length>2&&!!arguments[2],m=!0,p=!0;if("length"in r&&D9){var v=D9(r,"length");v&&!v.configurable&&(m=!1),v&&!v.writable&&(p=!1)}return(m||p||!s)&&(aG?R9(r,"length",o,!0,!0):R9(r,"length",o)),r};(function(r){var o=$w,s=dp,m=iG,p=s("%TypeError%"),v=s("%Function.prototype.apply%"),g=s("%Function.prototype.call%"),T=s("%Reflect.apply%",!0)||o.call(g,v),I=s("%Object.defineProperty%",!0),C=s("%Math.max%");if(I)try{I({},"a",{value:1})}catch{I=null}r.exports=function(R){if(typeof R!="function")throw new p("a function is required");var x=T(o,g,arguments);return m(x,1+C(0,R.length-(arguments.length-1)),!0)};var D=function(){return T(o,v,arguments)};I?I(r.exports,"apply",{value:D}):r.exports.apply=D})(Ww);var Jw=Ww.exports,Xw=dp,eS=Jw,sG=eS(Xw("String.prototype.indexOf")),tS=function(r,o){var s=Xw(r,!!o);return typeof s=="function"&&sG(r,".prototype.")>-1?eS(s):s},lG=s8(),uG=tS,ET=uG("Object.prototype.toString"),Gy=function(r){return lG&&r&&typeof r=="object"&&Symbol.toStringTag in r?!1:ET(r)==="[object Arguments]"},nS=function(r){return Gy(r)?!0:r!==null&&typeof r=="object"&&typeof r.length=="number"&&r.length>=0&&ET(r)!=="[object Array]"&&ET(r.callee)==="[object Function]"},cG=function(){return Gy(arguments)}();Gy.isLegacyArguments=nS;var dG=cG?Gy:nS,fG=Object.prototype.toString,pG=Function.prototype.toString,mG=/^\s*(?:function)?\*/,rS=s8(),G4=Object.getPrototypeOf,hG=function(){if(!rS)return!1;try{return Function("return function*() {}")()}catch{}},H4,gG=function(r){if(typeof r!="function")return!1;if(mG.test(pG.call(r)))return!0;if(!rS){var o=fG.call(r);return o==="[object GeneratorFunction]"}if(!G4)return!1;if(typeof H4>"u"){var s=hG();H4=s?G4(s):!1}return G4(r)===H4},aS=Function.prototype.toString,Wf=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,NT,py;if(typeof Wf=="function"&&typeof Object.defineProperty=="function")try{NT=Object.defineProperty({},"length",{get:function(){throw py}}),py={},Wf(function(){throw 42},null,NT)}catch(r){r!==py&&(Wf=null)}else Wf=null;var yG=/^\s*class\b/,MT=function(r){try{var o=aS.call(r);return yG.test(o)}catch{return!1}},$4=function(r){try{return MT(r)?!1:(aS.call(r),!0)}catch{return!1}},my=Object.prototype.toString,vG="[object Object]",TG="[object Function]",kG="[object GeneratorFunction]",bG="[object HTMLAllCollection]",wG="[object HTML document.all class]",SG="[object HTMLCollection]",EG=typeof Symbol=="function"&&!!Symbol.toStringTag,NG=!(0 in[,]),IT=function(){return!1};if(typeof document=="object"){var MG=document.all;my.call(MG)===my.call(document.all)&&(IT=function(r){if((NG||!r)&&(typeof r>"u"||typeof r=="object"))try{var o=my.call(r);return(o===bG||o===wG||o===SG||o===vG)&&r("")==null}catch{}return!1})}var IG=Wf?function(r){if(IT(r))return!0;if(!r||typeof r!="function"&&typeof r!="object")return!1;try{Wf(r,null,NT)}catch(o){if(o!==py)return!1}return!MT(r)&&$4(r)}:function(r){if(IT(r))return!0;if(!r||typeof r!="function"&&typeof r!="object")return!1;if(EG)return $4(r);if(MT(r))return!1;var o=my.call(r);return o!==TG&&o!==kG&&!/^\[object HTML/.test(o)?!1:$4(r)},_G=IG,CG=Object.prototype.toString,oS=Object.prototype.hasOwnProperty,AG=function(r,o,s){for(var m=0,p=r.length;m<p;m++)oS.call(r,m)&&(s==null?o(r[m],m,r):o.call(s,r[m],m,r))},OG=function(r,o,s){for(var m=0,p=r.length;m<p;m++)s==null?o(r.charAt(m),m,r):o.call(s,r.charAt(m),m,r)},xG=function(r,o,s){for(var m in r)oS.call(r,m)&&(s==null?o(r[m],m,r):o.call(s,r[m],m,r))},LG=function(r,o,s){if(!_G(o))throw new TypeError("iterator must be a function");var m;arguments.length>=3&&(m=s),CG.call(r)==="[object Array]"?AG(r,o,m):typeof r=="string"?OG(r,o,m):xG(r,o,m)},RG=LG,q4=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],DG=typeof globalThis>"u"?Sw:globalThis,PG=function(){for(var r=[],o=0;o<q4.length;o++)typeof DG[q4[o]]=="function"&&(r[r.length]=q4[o]);return r},Ny=RG,UG=PG,U9=Jw,c8=tS,hy=l8,jG=c8("Object.prototype.toString"),iS=s8(),j9=typeof globalThis>"u"?Sw:globalThis,_T=UG(),d8=c8("String.prototype.slice"),W4=Object.getPrototypeOf,zG=c8("Array.prototype.indexOf",!0)||function(r,o){for(var s=0;s<r.length;s+=1)if(r[s]===o)return s;return-1},My={__proto__:null};iS&&hy&&W4?Ny(_T,function(r){var o=new j9[r];if(Symbol.toStringTag in o){var s=W4(o),m=hy(s,Symbol.toStringTag);if(!m){var p=W4(s);m=hy(p,Symbol.toStringTag)}My["$"+r]=U9(m.get)}}):Ny(_T,function(r){var o=new j9[r],s=o.slice||o.set;s&&(My["$"+r]=U9(s))});var BG=function(r){var o=!1;return Ny(My,function(s,m){if(!o)try{"$"+s(r)===m&&(o=d8(m,1))}catch{}}),o},FG=function(r){var o=!1;return Ny(My,function(s,m){if(!o)try{s(r),o=d8(m,1)}catch{}}),o},sS=function(r){if(!r||typeof r!="object")return!1;if(!iS){var o=d8(jG(r),8,-1);return zG(_T,o)>-1?o:o!=="Object"?!1:FG(r)}return hy?BG(r):null},VG=sS,YG=function(r){return!!VG(r)};(function(r){var o=dG,s=gG,m=sS,p=YG;function v(ve){return ve.call.bind(ve)}var g=typeof BigInt<"u",T=typeof Symbol<"u",I=v(Object.prototype.toString),C=v(Number.prototype.valueOf),D=v(String.prototype.valueOf),R=v(Boolean.prototype.valueOf);if(g)var x=v(BigInt.prototype.valueOf);if(T)var j=v(Symbol.prototype.valueOf);function Q(ve,Hn){if(typeof ve!="object")return!1;try{return Hn(ve),!0}catch{return!1}}r.isArgumentsObject=o,r.isGeneratorFunction=s,r.isTypedArray=p;function W(ve){return typeof Promise<"u"&&ve instanceof Promise||ve!==null&&typeof ve=="object"&&typeof ve.then=="function"&&typeof ve.catch=="function"}r.isPromise=W;function le(ve){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(ve):p(ve)||ce(ve)}r.isArrayBufferView=le;function G(ve){return m(ve)==="Uint8Array"}r.isUint8Array=G;function se(ve){return m(ve)==="Uint8ClampedArray"}r.isUint8ClampedArray=se;function te(ve){return m(ve)==="Uint16Array"}r.isUint16Array=te;function ue(ve){return m(ve)==="Uint32Array"}r.isUint32Array=ue;function Z(ve){return m(ve)==="Int8Array"}r.isInt8Array=Z;function ye(ve){return m(ve)==="Int16Array"}r.isInt16Array=ye;function fe(ve){return m(ve)==="Int32Array"}r.isInt32Array=fe;function De(ve){return m(ve)==="Float32Array"}r.isFloat32Array=De;function He(ve){return m(ve)==="Float64Array"}r.isFloat64Array=He;function ht(ve){return m(ve)==="BigInt64Array"}r.isBigInt64Array=ht;function ct(ve){return m(ve)==="BigUint64Array"}r.isBigUint64Array=ct;function yt(ve){return I(ve)==="[object Map]"}yt.working=typeof Map<"u"&&yt(new Map);function $e(ve){return typeof Map>"u"?!1:yt.working?yt(ve):ve instanceof Map}r.isMap=$e;function at(ve){return I(ve)==="[object Set]"}at.working=typeof Set<"u"&&at(new Set);function It(ve){return typeof Set>"u"?!1:at.working?at(ve):ve instanceof Set}r.isSet=It;function Dt(ve){return I(ve)==="[object WeakMap]"}Dt.working=typeof WeakMap<"u"&&Dt(new WeakMap);function wn(ve){return typeof WeakMap>"u"?!1:Dt.working?Dt(ve):ve instanceof WeakMap}r.isWeakMap=wn;function _e(ve){return I(ve)==="[object WeakSet]"}_e.working=typeof WeakSet<"u"&&_e(new WeakSet);function ze(ve){return _e(ve)}r.isWeakSet=ze;function xe(ve){return I(ve)==="[object ArrayBuffer]"}xe.working=typeof ArrayBuffer<"u"&&xe(new ArrayBuffer);function Ee(ve){return typeof ArrayBuffer>"u"?!1:xe.working?xe(ve):ve instanceof ArrayBuffer}r.isArrayBuffer=Ee;function V(ve){return I(ve)==="[object DataView]"}V.working=typeof ArrayBuffer<"u"&&typeof DataView<"u"&&V(new DataView(new ArrayBuffer(1),0,1));function ce(ve){return typeof DataView>"u"?!1:V.working?V(ve):ve instanceof DataView}r.isDataView=ce;var be=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:void 0;function Ze(ve){return I(ve)==="[object SharedArrayBuffer]"}function dt(ve){return typeof be>"u"?!1:(typeof Ze.working>"u"&&(Ze.working=Ze(new be)),Ze.working?Ze(ve):ve instanceof be)}r.isSharedArrayBuffer=dt;function ft(ve){return I(ve)==="[object AsyncFunction]"}r.isAsyncFunction=ft;function Qe(ve){return I(ve)==="[object Map Iterator]"}r.isMapIterator=Qe;function rt(ve){return I(ve)==="[object Set Iterator]"}r.isSetIterator=rt;function wt(ve){return I(ve)==="[object Generator]"}r.isGeneratorObject=wt;function Gt(ve){return I(ve)==="[object WebAssembly.Module]"}r.isWebAssemblyCompiledModule=Gt;function tn(ve){return Q(ve,C)}r.isNumberObject=tn;function Tt(ve){return Q(ve,D)}r.isStringObject=Tt;function Ct(ve){return Q(ve,R)}r.isBooleanObject=Ct;function yn(ve){return g&&Q(ve,x)}r.isBigIntObject=yn;function In(ve){return T&&Q(ve,j)}r.isSymbolObject=In;function nn(ve){return tn(ve)||Tt(ve)||Ct(ve)||yn(ve)||In(ve)}r.isBoxedPrimitive=nn;function tr(ve){return typeof Uint8Array<"u"&&(Ee(ve)||dt(ve))}r.isAnyArrayBuffer=tr,["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(ve){Object.defineProperty(r,ve,{enumerable:!1,value:function(){throw new Error(ve+" is not supported in userland")}})})})(Gw);var QG=function(r){return r&&typeof r=="object"&&typeof r.copy=="function"&&typeof r.fill=="function"&&typeof r.readUInt8=="function"},CT={exports:{}};typeof Object.create=="function"?CT.exports=function(r,o){o&&(r.super_=o,r.prototype=Object.create(o.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}))}:CT.exports=function(r,o){if(o){r.super_=o;var s=function(){};s.prototype=o.prototype,r.prototype=new s,r.prototype.constructor=r}};var GG=CT.exports;(function(r){var o=Object.getOwnPropertyDescriptors||function(V){for(var ce=Object.keys(V),be={},Ze=0;Ze<ce.length;Ze++)be[ce[Ze]]=Object.getOwnPropertyDescriptor(V,ce[Ze]);return be},s=/%[sdj%]/g;r.format=function(V){if(!Z(V)){for(var ce=[],be=0;be<arguments.length;be++)ce.push(g(arguments[be]));return ce.join(" ")}for(var be=1,Ze=arguments,dt=Ze.length,ft=String(V).replace(s,function(wt){if(wt==="%%")return"%";if(be>=dt)return wt;switch(wt){case"%s":return String(Ze[be++]);case"%d":return Number(Ze[be++]);case"%j":try{return JSON.stringify(Ze[be++])}catch{return"[Circular]"}default:return wt}}),Qe=Ze[be];be<dt;Qe=Ze[++be])se(Qe)||!He(Qe)?ft+=" "+Qe:ft+=" "+g(Qe);return ft},r.deprecate=function(V,ce){if(typeof Mt.process<"u"&&Mt.process.noDeprecation===!0)return V;if(typeof Mt.process>"u")return function(){return r.deprecate(V,ce).apply(this,arguments)};var be=!1;function Ze(){if(!be){if(Mt.process.throwDeprecation)throw new Error(ce);Mt.process.traceDeprecation?console.trace(ce):console.error(ce),be=!0}return V.apply(this,arguments)}return Ze};var m={},p=/^$/;if(Mt.process.env.NODE_DEBUG){var v=Mt.process.env.NODE_DEBUG;v=v.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),p=new RegExp("^"+v+"$","i")}r.debuglog=function(V){if(V=V.toUpperCase(),!m[V])if(p.test(V)){var ce=Mt.process.pid;m[V]=function(){var be=r.format.apply(r,arguments);console.error("%s %d: %s",V,ce,be)}}else m[V]=function(){};return m[V]};function g(V,ce){var be={seen:[],stylize:I};return arguments.length>=3&&(be.depth=arguments[2]),arguments.length>=4&&(be.colors=arguments[3]),G(ce)?be.showHidden=ce:ce&&r._extend(be,ce),fe(be.showHidden)&&(be.showHidden=!1),fe(be.depth)&&(be.depth=2),fe(be.colors)&&(be.colors=!1),fe(be.customInspect)&&(be.customInspect=!0),be.colors&&(be.stylize=T),D(be,V,be.depth)}r.inspect=g,g.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},g.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function T(V,ce){var be=g.styles[ce];return be?"\x1B["+g.colors[be][0]+"m"+V+"\x1B["+g.colors[be][1]+"m":V}function I(V,ce){return V}function C(V){var ce={};return V.forEach(function(be,Ze){ce[be]=!0}),ce}function D(V,ce,be){if(V.customInspect&&ce&&yt(ce.inspect)&&ce.inspect!==r.inspect&&!(ce.constructor&&ce.constructor.prototype===ce)){var Ze=ce.inspect(be,V);return Z(Ze)||(Ze=D(V,Ze,be)),Ze}var dt=R(V,ce);if(dt)return dt;var ft=Object.keys(ce),Qe=C(ft);if(V.showHidden&&(ft=Object.getOwnPropertyNames(ce)),ct(ce)&&(ft.indexOf("message")>=0||ft.indexOf("description")>=0))return x(ce);if(ft.length===0){if(yt(ce)){var rt=ce.name?": "+ce.name:"";return V.stylize("[Function"+rt+"]","special")}if(De(ce))return V.stylize(RegExp.prototype.toString.call(ce),"regexp");if(ht(ce))return V.stylize(Date.prototype.toString.call(ce),"date");if(ct(ce))return x(ce)}var wt="",Gt=!1,tn=["{","}"];if(le(ce)&&(Gt=!0,tn=["[","]"]),yt(ce)){var Tt=ce.name?": "+ce.name:"";wt=" [Function"+Tt+"]"}if(De(ce)&&(wt=" "+RegExp.prototype.toString.call(ce)),ht(ce)&&(wt=" "+Date.prototype.toUTCString.call(ce)),ct(ce)&&(wt=" "+x(ce)),ft.length===0&&(!Gt||ce.length==0))return tn[0]+wt+tn[1];if(be<0)return De(ce)?V.stylize(RegExp.prototype.toString.call(ce),"regexp"):V.stylize("[Object]","special");V.seen.push(ce);var Ct;return Gt?Ct=j(V,ce,be,Qe,ft):Ct=ft.map(function(yn){return Q(V,ce,be,Qe,yn,Gt)}),V.seen.pop(),W(Ct,wt,tn)}function R(V,ce){if(fe(ce))return V.stylize("undefined","undefined");if(Z(ce)){var be="'"+JSON.stringify(ce).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return V.stylize(be,"string")}if(ue(ce))return V.stylize(""+ce,"number");if(G(ce))return V.stylize(""+ce,"boolean");if(se(ce))return V.stylize("null","null")}function x(V){return"["+Error.prototype.toString.call(V)+"]"}function j(V,ce,be,Ze,dt){for(var ft=[],Qe=0,rt=ce.length;Qe<rt;++Qe)_e(ce,String(Qe))?ft.push(Q(V,ce,be,Ze,String(Qe),!0)):ft.push("");return dt.forEach(function(wt){wt.match(/^\d+$/)||ft.push(Q(V,ce,be,Ze,wt,!0))}),ft}function Q(V,ce,be,Ze,dt,ft){var Qe,rt,wt;if(wt=Object.getOwnPropertyDescriptor(ce,dt)||{value:ce[dt]},wt.get?wt.set?rt=V.stylize("[Getter/Setter]","special"):rt=V.stylize("[Getter]","special"):wt.set&&(rt=V.stylize("[Setter]","special")),_e(Ze,dt)||(Qe="["+dt+"]"),rt||(V.seen.indexOf(wt.value)<0?(se(be)?rt=D(V,wt.value,null):rt=D(V,wt.value,be-1),rt.indexOf(`
174
+ */(function(r){const o=Fy,s=e8,m=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;r.Buffer=T,r.SlowBuffer=se,r.INSPECT_MAX_BYTES=50;const p=2147483647;r.kMaxLength=p,T.TYPED_ARRAY_SUPPORT=v(),!T.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function v(){try{const l=new Uint8Array(1),c={foo:function(){return 42}};return Object.setPrototypeOf(c,Uint8Array.prototype),Object.setPrototypeOf(l,c),l.foo()===42}catch{return!1}}Object.defineProperty(T.prototype,"parent",{enumerable:!0,get:function(){if(T.isBuffer(this))return this.buffer}}),Object.defineProperty(T.prototype,"offset",{enumerable:!0,get:function(){if(T.isBuffer(this))return this.byteOffset}});function g(l){if(l>p)throw new RangeError('The value "'+l+'" is invalid for option "size"');const c=new Uint8Array(l);return Object.setPrototypeOf(c,T.prototype),c}function T(l,c,f){if(typeof l=="number"){if(typeof c=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return R(l)}return I(l,c,f)}T.poolSize=8192;function I(l,c,f){if(typeof l=="string")return x(l,c);if(ArrayBuffer.isView(l))return Q(l);if(l==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof l);if(Nt(l,ArrayBuffer)||l&&Nt(l.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Nt(l,SharedArrayBuffer)||l&&Nt(l.buffer,SharedArrayBuffer)))return W(l,c,f);if(typeof l=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const b=l.valueOf&&l.valueOf();if(b!=null&&b!==l)return T.from(b,c,f);const M=le(l);if(M)return M;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof l[Symbol.toPrimitive]=="function")return T.from(l[Symbol.toPrimitive]("string"),c,f);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof l)}T.from=function(l,c,f){return I(l,c,f)},Object.setPrototypeOf(T.prototype,Uint8Array.prototype),Object.setPrototypeOf(T,Uint8Array);function C(l){if(typeof l!="number")throw new TypeError('"size" argument must be of type number');if(l<0)throw new RangeError('The value "'+l+'" is invalid for option "size"')}function D(l,c,f){return C(l),l<=0?g(l):c!==void 0?typeof f=="string"?g(l).fill(c,f):g(l).fill(c):g(l)}T.alloc=function(l,c,f){return D(l,c,f)};function R(l){return C(l),g(l<0?0:G(l)|0)}T.allocUnsafe=function(l){return R(l)},T.allocUnsafeSlow=function(l){return R(l)};function x(l,c){if((typeof c!="string"||c==="")&&(c="utf8"),!T.isEncoding(c))throw new TypeError("Unknown encoding: "+c);const f=te(l,c)|0;let b=g(f);const M=b.write(l,c);return M!==f&&(b=b.slice(0,M)),b}function j(l){const c=l.length<0?0:G(l.length)|0,f=g(c);for(let b=0;b<c;b+=1)f[b]=l[b]&255;return f}function Q(l){if(Nt(l,Uint8Array)){const c=new Uint8Array(l);return W(c.buffer,c.byteOffset,c.byteLength)}return j(l)}function W(l,c,f){if(c<0||l.byteLength<c)throw new RangeError('"offset" is outside of buffer bounds');if(l.byteLength<c+(f||0))throw new RangeError('"length" is outside of buffer bounds');let b;return c===void 0&&f===void 0?b=new Uint8Array(l):f===void 0?b=new Uint8Array(l,c):b=new Uint8Array(l,c,f),Object.setPrototypeOf(b,T.prototype),b}function le(l){if(T.isBuffer(l)){const c=G(l.length)|0,f=g(c);return f.length===0||l.copy(f,0,0,c),f}if(l.length!==void 0)return typeof l.length!="number"||_n(l.length)?g(0):j(l);if(l.type==="Buffer"&&Array.isArray(l.data))return j(l.data)}function G(l){if(l>=p)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+p.toString(16)+" bytes");return l|0}function se(l){return+l!=l&&(l=0),T.alloc(+l)}T.isBuffer=function(l){return l!=null&&l._isBuffer===!0&&l!==T.prototype},T.compare=function(l,c){if(Nt(l,Uint8Array)&&(l=T.from(l,l.offset,l.byteLength)),Nt(c,Uint8Array)&&(c=T.from(c,c.offset,c.byteLength)),!T.isBuffer(l)||!T.isBuffer(c))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(l===c)return 0;let f=l.length,b=c.length;for(let M=0,O=Math.min(f,b);M<O;++M)if(l[M]!==c[M]){f=l[M],b=c[M];break}return f<b?-1:b<f?1:0},T.isEncoding=function(l){switch(String(l).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},T.concat=function(l,c){if(!Array.isArray(l))throw new TypeError('"list" argument must be an Array of Buffers');if(l.length===0)return T.alloc(0);let f;if(c===void 0)for(c=0,f=0;f<l.length;++f)c+=l[f].length;const b=T.allocUnsafe(c);let M=0;for(f=0;f<l.length;++f){let O=l[f];if(Nt(O,Uint8Array))M+O.length>b.length?(T.isBuffer(O)||(O=T.from(O)),O.copy(b,M)):Uint8Array.prototype.set.call(b,O,M);else if(T.isBuffer(O))O.copy(b,M);else throw new TypeError('"list" argument must be an Array of Buffers');M+=O.length}return b};function te(l,c){if(T.isBuffer(l))return l.length;if(ArrayBuffer.isView(l)||Nt(l,ArrayBuffer))return l.byteLength;if(typeof l!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof l);const f=l.length,b=arguments.length>2&&arguments[2]===!0;if(!b&&f===0)return 0;let M=!1;for(;;)switch(c){case"ascii":case"latin1":case"binary":return f;case"utf8":case"utf-8":return nn(l).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return f*2;case"hex":return f>>>1;case"base64":return Hn(l).length;default:if(M)return b?-1:nn(l).length;c=(""+c).toLowerCase(),M=!0}}T.byteLength=te;function ue(l,c,f){let b=!1;if((c===void 0||c<0)&&(c=0),c>this.length||((f===void 0||f>this.length)&&(f=this.length),f<=0)||(f>>>=0,c>>>=0,f<=c))return"";for(l||(l="utf8");;)switch(l){case"hex":return ze(this,c,f);case"utf8":case"utf-8":return at(this,c,f);case"ascii":return wn(this,c,f);case"latin1":case"binary":return _e(this,c,f);case"base64":return $e(this,c,f);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return xe(this,c,f);default:if(b)throw new TypeError("Unknown encoding: "+l);l=(l+"").toLowerCase(),b=!0}}T.prototype._isBuffer=!0;function Z(l,c,f){const b=l[c];l[c]=l[f],l[f]=b}T.prototype.swap16=function(){const l=this.length;if(l%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let c=0;c<l;c+=2)Z(this,c,c+1);return this},T.prototype.swap32=function(){const l=this.length;if(l%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let c=0;c<l;c+=4)Z(this,c,c+3),Z(this,c+1,c+2);return this},T.prototype.swap64=function(){const l=this.length;if(l%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let c=0;c<l;c+=8)Z(this,c,c+7),Z(this,c+1,c+6),Z(this,c+2,c+5),Z(this,c+3,c+4);return this},T.prototype.toString=function(){const l=this.length;return l===0?"":arguments.length===0?at(this,0,l):ue.apply(this,arguments)},T.prototype.toLocaleString=T.prototype.toString,T.prototype.equals=function(l){if(!T.isBuffer(l))throw new TypeError("Argument must be a Buffer");return this===l?!0:T.compare(this,l)===0},T.prototype.inspect=function(){let l="";const c=r.INSPECT_MAX_BYTES;return l=this.toString("hex",0,c).replace(/(.{2})/g,"$1 ").trim(),this.length>c&&(l+=" ... "),"<Buffer "+l+">"},m&&(T.prototype[m]=T.prototype.inspect),T.prototype.compare=function(l,c,f,b,M){if(Nt(l,Uint8Array)&&(l=T.from(l,l.offset,l.byteLength)),!T.isBuffer(l))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof l);if(c===void 0&&(c=0),f===void 0&&(f=l?l.length:0),b===void 0&&(b=0),M===void 0&&(M=this.length),c<0||f>l.length||b<0||M>this.length)throw new RangeError("out of range index");if(b>=M&&c>=f)return 0;if(b>=M)return-1;if(c>=f)return 1;if(c>>>=0,f>>>=0,b>>>=0,M>>>=0,this===l)return 0;let O=M-b,U=f-c;const Te=Math.min(O,U),Pe=this.slice(b,M),Ie=l.slice(c,f);for(let Ae=0;Ae<Te;++Ae)if(Pe[Ae]!==Ie[Ae]){O=Pe[Ae],U=Ie[Ae];break}return O<U?-1:U<O?1:0};function ye(l,c,f,b,M){if(l.length===0)return-1;if(typeof f=="string"?(b=f,f=0):f>2147483647?f=2147483647:f<-2147483648&&(f=-2147483648),f=+f,_n(f)&&(f=M?0:l.length-1),f<0&&(f=l.length+f),f>=l.length){if(M)return-1;f=l.length-1}else if(f<0)if(M)f=0;else return-1;if(typeof c=="string"&&(c=T.from(c,b)),T.isBuffer(c))return c.length===0?-1:fe(l,c,f,b,M);if(typeof c=="number")return c=c&255,typeof Uint8Array.prototype.indexOf=="function"?M?Uint8Array.prototype.indexOf.call(l,c,f):Uint8Array.prototype.lastIndexOf.call(l,c,f):fe(l,[c],f,b,M);throw new TypeError("val must be string, number or Buffer")}function fe(l,c,f,b,M){let O=1,U=l.length,Te=c.length;if(b!==void 0&&(b=String(b).toLowerCase(),b==="ucs2"||b==="ucs-2"||b==="utf16le"||b==="utf-16le")){if(l.length<2||c.length<2)return-1;O=2,U/=2,Te/=2,f/=2}function Pe(Ae,Ce){return O===1?Ae[Ce]:Ae.readUInt16BE(Ce*O)}let Ie;if(M){let Ae=-1;for(Ie=f;Ie<U;Ie++)if(Pe(l,Ie)===Pe(c,Ae===-1?0:Ie-Ae)){if(Ae===-1&&(Ae=Ie),Ie-Ae+1===Te)return Ae*O}else Ae!==-1&&(Ie-=Ie-Ae),Ae=-1}else for(f+Te>U&&(f=U-Te),Ie=f;Ie>=0;Ie--){let Ae=!0;for(let Ce=0;Ce<Te;Ce++)if(Pe(l,Ie+Ce)!==Pe(c,Ce)){Ae=!1;break}if(Ae)return Ie}return-1}T.prototype.includes=function(l,c,f){return this.indexOf(l,c,f)!==-1},T.prototype.indexOf=function(l,c,f){return ye(this,l,c,f,!0)},T.prototype.lastIndexOf=function(l,c,f){return ye(this,l,c,f,!1)};function De(l,c,f,b){f=Number(f)||0;const M=l.length-f;b?(b=Number(b),b>M&&(b=M)):b=M;const O=c.length;b>O/2&&(b=O/2);let U;for(U=0;U<b;++U){const Te=parseInt(c.substr(U*2,2),16);if(_n(Te))return U;l[f+U]=Te}return U}function He(l,c,f,b){return an(nn(c,l.length-f),l,f,b)}function ht(l,c,f,b){return an(tr(c),l,f,b)}function ct(l,c,f,b){return an(Hn(c),l,f,b)}function yt(l,c,f,b){return an(ve(c,l.length-f),l,f,b)}T.prototype.write=function(l,c,f,b){if(c===void 0)b="utf8",f=this.length,c=0;else if(f===void 0&&typeof c=="string")b=c,f=this.length,c=0;else if(isFinite(c))c=c>>>0,isFinite(f)?(f=f>>>0,b===void 0&&(b="utf8")):(b=f,f=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const M=this.length-c;if((f===void 0||f>M)&&(f=M),l.length>0&&(f<0||c<0)||c>this.length)throw new RangeError("Attempt to write outside buffer bounds");b||(b="utf8");let O=!1;for(;;)switch(b){case"hex":return De(this,l,c,f);case"utf8":case"utf-8":return He(this,l,c,f);case"ascii":case"latin1":case"binary":return ht(this,l,c,f);case"base64":return ct(this,l,c,f);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return yt(this,l,c,f);default:if(O)throw new TypeError("Unknown encoding: "+b);b=(""+b).toLowerCase(),O=!0}},T.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function $e(l,c,f){return c===0&&f===l.length?o.fromByteArray(l):o.fromByteArray(l.slice(c,f))}function at(l,c,f){f=Math.min(l.length,f);const b=[];let M=c;for(;M<f;){const O=l[M];let U=null,Te=O>239?4:O>223?3:O>191?2:1;if(M+Te<=f){let Pe,Ie,Ae,Ce;switch(Te){case 1:O<128&&(U=O);break;case 2:Pe=l[M+1],(Pe&192)===128&&(Ce=(O&31)<<6|Pe&63,Ce>127&&(U=Ce));break;case 3:Pe=l[M+1],Ie=l[M+2],(Pe&192)===128&&(Ie&192)===128&&(Ce=(O&15)<<12|(Pe&63)<<6|Ie&63,Ce>2047&&(Ce<55296||Ce>57343)&&(U=Ce));break;case 4:Pe=l[M+1],Ie=l[M+2],Ae=l[M+3],(Pe&192)===128&&(Ie&192)===128&&(Ae&192)===128&&(Ce=(O&15)<<18|(Pe&63)<<12|(Ie&63)<<6|Ae&63,Ce>65535&&Ce<1114112&&(U=Ce))}}U===null?(U=65533,Te=1):U>65535&&(U-=65536,b.push(U>>>10&1023|55296),U=56320|U&1023),b.push(U),M+=Te}return Dt(b)}const It=4096;function Dt(l){const c=l.length;if(c<=It)return String.fromCharCode.apply(String,l);let f="",b=0;for(;b<c;)f+=String.fromCharCode.apply(String,l.slice(b,b+=It));return f}function wn(l,c,f){let b="";f=Math.min(l.length,f);for(let M=c;M<f;++M)b+=String.fromCharCode(l[M]&127);return b}function _e(l,c,f){let b="";f=Math.min(l.length,f);for(let M=c;M<f;++M)b+=String.fromCharCode(l[M]);return b}function ze(l,c,f){const b=l.length;(!c||c<0)&&(c=0),(!f||f<0||f>b)&&(f=b);let M="";for(let O=c;O<f;++O)M+=ta[l[O]];return M}function xe(l,c,f){const b=l.slice(c,f);let M="";for(let O=0;O<b.length-1;O+=2)M+=String.fromCharCode(b[O]+b[O+1]*256);return M}T.prototype.slice=function(l,c){const f=this.length;l=~~l,c=c===void 0?f:~~c,l<0?(l+=f,l<0&&(l=0)):l>f&&(l=f),c<0?(c+=f,c<0&&(c=0)):c>f&&(c=f),c<l&&(c=l);const b=this.subarray(l,c);return Object.setPrototypeOf(b,T.prototype),b};function Ee(l,c,f){if(l%1!==0||l<0)throw new RangeError("offset is not uint");if(l+c>f)throw new RangeError("Trying to access beyond buffer length")}T.prototype.readUintLE=T.prototype.readUIntLE=function(l,c,f){l=l>>>0,c=c>>>0,f||Ee(l,c,this.length);let b=this[l],M=1,O=0;for(;++O<c&&(M*=256);)b+=this[l+O]*M;return b},T.prototype.readUintBE=T.prototype.readUIntBE=function(l,c,f){l=l>>>0,c=c>>>0,f||Ee(l,c,this.length);let b=this[l+--c],M=1;for(;c>0&&(M*=256);)b+=this[l+--c]*M;return b},T.prototype.readUint8=T.prototype.readUInt8=function(l,c){return l=l>>>0,c||Ee(l,1,this.length),this[l]},T.prototype.readUint16LE=T.prototype.readUInt16LE=function(l,c){return l=l>>>0,c||Ee(l,2,this.length),this[l]|this[l+1]<<8},T.prototype.readUint16BE=T.prototype.readUInt16BE=function(l,c){return l=l>>>0,c||Ee(l,2,this.length),this[l]<<8|this[l+1]},T.prototype.readUint32LE=T.prototype.readUInt32LE=function(l,c){return l=l>>>0,c||Ee(l,4,this.length),(this[l]|this[l+1]<<8|this[l+2]<<16)+this[l+3]*16777216},T.prototype.readUint32BE=T.prototype.readUInt32BE=function(l,c){return l=l>>>0,c||Ee(l,4,this.length),this[l]*16777216+(this[l+1]<<16|this[l+2]<<8|this[l+3])},T.prototype.readBigUInt64LE=At(function(l){l=l>>>0,Tt(l,"offset");const c=this[l],f=this[l+7];(c===void 0||f===void 0)&&Ct(l,this.length-8);const b=c+this[++l]*2**8+this[++l]*2**16+this[++l]*2**24,M=this[++l]+this[++l]*2**8+this[++l]*2**16+f*2**24;return BigInt(b)+(BigInt(M)<<BigInt(32))}),T.prototype.readBigUInt64BE=At(function(l){l=l>>>0,Tt(l,"offset");const c=this[l],f=this[l+7];(c===void 0||f===void 0)&&Ct(l,this.length-8);const b=c*2**24+this[++l]*2**16+this[++l]*2**8+this[++l],M=this[++l]*2**24+this[++l]*2**16+this[++l]*2**8+f;return(BigInt(b)<<BigInt(32))+BigInt(M)}),T.prototype.readIntLE=function(l,c,f){l=l>>>0,c=c>>>0,f||Ee(l,c,this.length);let b=this[l],M=1,O=0;for(;++O<c&&(M*=256);)b+=this[l+O]*M;return M*=128,b>=M&&(b-=Math.pow(2,8*c)),b},T.prototype.readIntBE=function(l,c,f){l=l>>>0,c=c>>>0,f||Ee(l,c,this.length);let b=c,M=1,O=this[l+--b];for(;b>0&&(M*=256);)O+=this[l+--b]*M;return M*=128,O>=M&&(O-=Math.pow(2,8*c)),O},T.prototype.readInt8=function(l,c){return l=l>>>0,c||Ee(l,1,this.length),this[l]&128?(255-this[l]+1)*-1:this[l]},T.prototype.readInt16LE=function(l,c){l=l>>>0,c||Ee(l,2,this.length);const f=this[l]|this[l+1]<<8;return f&32768?f|4294901760:f},T.prototype.readInt16BE=function(l,c){l=l>>>0,c||Ee(l,2,this.length);const f=this[l+1]|this[l]<<8;return f&32768?f|4294901760:f},T.prototype.readInt32LE=function(l,c){return l=l>>>0,c||Ee(l,4,this.length),this[l]|this[l+1]<<8|this[l+2]<<16|this[l+3]<<24},T.prototype.readInt32BE=function(l,c){return l=l>>>0,c||Ee(l,4,this.length),this[l]<<24|this[l+1]<<16|this[l+2]<<8|this[l+3]},T.prototype.readBigInt64LE=At(function(l){l=l>>>0,Tt(l,"offset");const c=this[l],f=this[l+7];(c===void 0||f===void 0)&&Ct(l,this.length-8);const b=this[l+4]+this[l+5]*2**8+this[l+6]*2**16+(f<<24);return(BigInt(b)<<BigInt(32))+BigInt(c+this[++l]*2**8+this[++l]*2**16+this[++l]*2**24)}),T.prototype.readBigInt64BE=At(function(l){l=l>>>0,Tt(l,"offset");const c=this[l],f=this[l+7];(c===void 0||f===void 0)&&Ct(l,this.length-8);const b=(c<<24)+this[++l]*2**16+this[++l]*2**8+this[++l];return(BigInt(b)<<BigInt(32))+BigInt(this[++l]*2**24+this[++l]*2**16+this[++l]*2**8+f)}),T.prototype.readFloatLE=function(l,c){return l=l>>>0,c||Ee(l,4,this.length),s.read(this,l,!0,23,4)},T.prototype.readFloatBE=function(l,c){return l=l>>>0,c||Ee(l,4,this.length),s.read(this,l,!1,23,4)},T.prototype.readDoubleLE=function(l,c){return l=l>>>0,c||Ee(l,8,this.length),s.read(this,l,!0,52,8)},T.prototype.readDoubleBE=function(l,c){return l=l>>>0,c||Ee(l,8,this.length),s.read(this,l,!1,52,8)};function V(l,c,f,b,M,O){if(!T.isBuffer(l))throw new TypeError('"buffer" argument must be a Buffer instance');if(c>M||c<O)throw new RangeError('"value" argument is out of bounds');if(f+b>l.length)throw new RangeError("Index out of range")}T.prototype.writeUintLE=T.prototype.writeUIntLE=function(l,c,f,b){if(l=+l,c=c>>>0,f=f>>>0,!b){const U=Math.pow(2,8*f)-1;V(this,l,c,f,U,0)}let M=1,O=0;for(this[c]=l&255;++O<f&&(M*=256);)this[c+O]=l/M&255;return c+f},T.prototype.writeUintBE=T.prototype.writeUIntBE=function(l,c,f,b){if(l=+l,c=c>>>0,f=f>>>0,!b){const U=Math.pow(2,8*f)-1;V(this,l,c,f,U,0)}let M=f-1,O=1;for(this[c+M]=l&255;--M>=0&&(O*=256);)this[c+M]=l/O&255;return c+f},T.prototype.writeUint8=T.prototype.writeUInt8=function(l,c,f){return l=+l,c=c>>>0,f||V(this,l,c,1,255,0),this[c]=l&255,c+1},T.prototype.writeUint16LE=T.prototype.writeUInt16LE=function(l,c,f){return l=+l,c=c>>>0,f||V(this,l,c,2,65535,0),this[c]=l&255,this[c+1]=l>>>8,c+2},T.prototype.writeUint16BE=T.prototype.writeUInt16BE=function(l,c,f){return l=+l,c=c>>>0,f||V(this,l,c,2,65535,0),this[c]=l>>>8,this[c+1]=l&255,c+2},T.prototype.writeUint32LE=T.prototype.writeUInt32LE=function(l,c,f){return l=+l,c=c>>>0,f||V(this,l,c,4,4294967295,0),this[c+3]=l>>>24,this[c+2]=l>>>16,this[c+1]=l>>>8,this[c]=l&255,c+4},T.prototype.writeUint32BE=T.prototype.writeUInt32BE=function(l,c,f){return l=+l,c=c>>>0,f||V(this,l,c,4,4294967295,0),this[c]=l>>>24,this[c+1]=l>>>16,this[c+2]=l>>>8,this[c+3]=l&255,c+4};function ce(l,c,f,b,M){tn(c,b,M,l,f,7);let O=Number(c&BigInt(4294967295));l[f++]=O,O=O>>8,l[f++]=O,O=O>>8,l[f++]=O,O=O>>8,l[f++]=O;let U=Number(c>>BigInt(32)&BigInt(4294967295));return l[f++]=U,U=U>>8,l[f++]=U,U=U>>8,l[f++]=U,U=U>>8,l[f++]=U,f}function be(l,c,f,b,M){tn(c,b,M,l,f,7);let O=Number(c&BigInt(4294967295));l[f+7]=O,O=O>>8,l[f+6]=O,O=O>>8,l[f+5]=O,O=O>>8,l[f+4]=O;let U=Number(c>>BigInt(32)&BigInt(4294967295));return l[f+3]=U,U=U>>8,l[f+2]=U,U=U>>8,l[f+1]=U,U=U>>8,l[f]=U,f+8}T.prototype.writeBigUInt64LE=At(function(l,c=0){return ce(this,l,c,BigInt(0),BigInt("0xffffffffffffffff"))}),T.prototype.writeBigUInt64BE=At(function(l,c=0){return be(this,l,c,BigInt(0),BigInt("0xffffffffffffffff"))}),T.prototype.writeIntLE=function(l,c,f,b){if(l=+l,c=c>>>0,!b){const Te=Math.pow(2,8*f-1);V(this,l,c,f,Te-1,-Te)}let M=0,O=1,U=0;for(this[c]=l&255;++M<f&&(O*=256);)l<0&&U===0&&this[c+M-1]!==0&&(U=1),this[c+M]=(l/O>>0)-U&255;return c+f},T.prototype.writeIntBE=function(l,c,f,b){if(l=+l,c=c>>>0,!b){const Te=Math.pow(2,8*f-1);V(this,l,c,f,Te-1,-Te)}let M=f-1,O=1,U=0;for(this[c+M]=l&255;--M>=0&&(O*=256);)l<0&&U===0&&this[c+M+1]!==0&&(U=1),this[c+M]=(l/O>>0)-U&255;return c+f},T.prototype.writeInt8=function(l,c,f){return l=+l,c=c>>>0,f||V(this,l,c,1,127,-128),l<0&&(l=255+l+1),this[c]=l&255,c+1},T.prototype.writeInt16LE=function(l,c,f){return l=+l,c=c>>>0,f||V(this,l,c,2,32767,-32768),this[c]=l&255,this[c+1]=l>>>8,c+2},T.prototype.writeInt16BE=function(l,c,f){return l=+l,c=c>>>0,f||V(this,l,c,2,32767,-32768),this[c]=l>>>8,this[c+1]=l&255,c+2},T.prototype.writeInt32LE=function(l,c,f){return l=+l,c=c>>>0,f||V(this,l,c,4,2147483647,-2147483648),this[c]=l&255,this[c+1]=l>>>8,this[c+2]=l>>>16,this[c+3]=l>>>24,c+4},T.prototype.writeInt32BE=function(l,c,f){return l=+l,c=c>>>0,f||V(this,l,c,4,2147483647,-2147483648),l<0&&(l=4294967295+l+1),this[c]=l>>>24,this[c+1]=l>>>16,this[c+2]=l>>>8,this[c+3]=l&255,c+4},T.prototype.writeBigInt64LE=At(function(l,c=0){return ce(this,l,c,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),T.prototype.writeBigInt64BE=At(function(l,c=0){return be(this,l,c,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function Ze(l,c,f,b,M,O){if(f+b>l.length)throw new RangeError("Index out of range");if(f<0)throw new RangeError("Index out of range")}function dt(l,c,f,b,M){return c=+c,f=f>>>0,M||Ze(l,c,f,4),s.write(l,c,f,b,23,4),f+4}T.prototype.writeFloatLE=function(l,c,f){return dt(this,l,c,!0,f)},T.prototype.writeFloatBE=function(l,c,f){return dt(this,l,c,!1,f)};function ft(l,c,f,b,M){return c=+c,f=f>>>0,M||Ze(l,c,f,8),s.write(l,c,f,b,52,8),f+8}T.prototype.writeDoubleLE=function(l,c,f){return ft(this,l,c,!0,f)},T.prototype.writeDoubleBE=function(l,c,f){return ft(this,l,c,!1,f)},T.prototype.copy=function(l,c,f,b){if(!T.isBuffer(l))throw new TypeError("argument should be a Buffer");if(f||(f=0),!b&&b!==0&&(b=this.length),c>=l.length&&(c=l.length),c||(c=0),b>0&&b<f&&(b=f),b===f||l.length===0||this.length===0)return 0;if(c<0)throw new RangeError("targetStart out of bounds");if(f<0||f>=this.length)throw new RangeError("Index out of range");if(b<0)throw new RangeError("sourceEnd out of bounds");b>this.length&&(b=this.length),l.length-c<b-f&&(b=l.length-c+f);const M=b-f;return this===l&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(c,f,b):Uint8Array.prototype.set.call(l,this.subarray(f,b),c),M},T.prototype.fill=function(l,c,f,b){if(typeof l=="string"){if(typeof c=="string"?(b=c,c=0,f=this.length):typeof f=="string"&&(b=f,f=this.length),b!==void 0&&typeof b!="string")throw new TypeError("encoding must be a string");if(typeof b=="string"&&!T.isEncoding(b))throw new TypeError("Unknown encoding: "+b);if(l.length===1){const O=l.charCodeAt(0);(b==="utf8"&&O<128||b==="latin1")&&(l=O)}}else typeof l=="number"?l=l&255:typeof l=="boolean"&&(l=Number(l));if(c<0||this.length<c||this.length<f)throw new RangeError("Out of range index");if(f<=c)return this;c=c>>>0,f=f===void 0?this.length:f>>>0,l||(l=0);let M;if(typeof l=="number")for(M=c;M<f;++M)this[M]=l;else{const O=T.isBuffer(l)?l:T.from(l,b),U=O.length;if(U===0)throw new TypeError('The value "'+l+'" is invalid for argument "value"');for(M=0;M<f-c;++M)this[M+c]=O[M%U]}return this};const Qe={};function rt(l,c,f){Qe[l]=class extends f{constructor(){super(),Object.defineProperty(this,"message",{value:c.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${l}]`,this.stack,delete this.name}get code(){return l}set code(b){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:b,writable:!0})}toString(){return`${this.name} [${l}]: ${this.message}`}}}rt("ERR_BUFFER_OUT_OF_BOUNDS",function(l){return l?`${l} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),rt("ERR_INVALID_ARG_TYPE",function(l,c){return`The "${l}" argument must be of type number. Received type ${typeof c}`},TypeError),rt("ERR_OUT_OF_RANGE",function(l,c,f){let b=`The value of "${l}" is out of range.`,M=f;return Number.isInteger(f)&&Math.abs(f)>2**32?M=wt(String(f)):typeof f=="bigint"&&(M=String(f),(f>BigInt(2)**BigInt(32)||f<-(BigInt(2)**BigInt(32)))&&(M=wt(M)),M+="n"),b+=` It must be ${c}. Received ${M}`,b},RangeError);function wt(l){let c="",f=l.length;const b=l[0]==="-"?1:0;for(;f>=b+4;f-=3)c=`_${l.slice(f-3,f)}${c}`;return`${l.slice(0,f)}${c}`}function Gt(l,c,f){Tt(c,"offset"),(l[c]===void 0||l[c+f]===void 0)&&Ct(c,l.length-(f+1))}function tn(l,c,f,b,M,O){if(l>f||l<c){const U=typeof c=="bigint"?"n":"";let Te;throw O>3?c===0||c===BigInt(0)?Te=`>= 0${U} and < 2${U} ** ${(O+1)*8}${U}`:Te=`>= -(2${U} ** ${(O+1)*8-1}${U}) and < 2 ** ${(O+1)*8-1}${U}`:Te=`>= ${c}${U} and <= ${f}${U}`,new Qe.ERR_OUT_OF_RANGE("value",Te,l)}Gt(b,M,O)}function Tt(l,c){if(typeof l!="number")throw new Qe.ERR_INVALID_ARG_TYPE(c,"number",l)}function Ct(l,c,f){throw Math.floor(l)!==l?(Tt(l,f),new Qe.ERR_OUT_OF_RANGE(f||"offset","an integer",l)):c<0?new Qe.ERR_BUFFER_OUT_OF_BOUNDS:new Qe.ERR_OUT_OF_RANGE(f||"offset",`>= ${f?1:0} and <= ${c}`,l)}const yn=/[^+/0-9A-Za-z-_]/g;function In(l){if(l=l.split("=")[0],l=l.trim().replace(yn,""),l.length<2)return"";for(;l.length%4!==0;)l=l+"=";return l}function nn(l,c){c=c||1/0;let f;const b=l.length;let M=null;const O=[];for(let U=0;U<b;++U){if(f=l.charCodeAt(U),f>55295&&f<57344){if(!M){if(f>56319){(c-=3)>-1&&O.push(239,191,189);continue}else if(U+1===b){(c-=3)>-1&&O.push(239,191,189);continue}M=f;continue}if(f<56320){(c-=3)>-1&&O.push(239,191,189),M=f;continue}f=(M-55296<<10|f-56320)+65536}else M&&(c-=3)>-1&&O.push(239,191,189);if(M=null,f<128){if((c-=1)<0)break;O.push(f)}else if(f<2048){if((c-=2)<0)break;O.push(f>>6|192,f&63|128)}else if(f<65536){if((c-=3)<0)break;O.push(f>>12|224,f>>6&63|128,f&63|128)}else if(f<1114112){if((c-=4)<0)break;O.push(f>>18|240,f>>12&63|128,f>>6&63|128,f&63|128)}else throw new Error("Invalid code point")}return O}function tr(l){const c=[];for(let f=0;f<l.length;++f)c.push(l.charCodeAt(f)&255);return c}function ve(l,c){let f,b,M;const O=[];for(let U=0;U<l.length&&!((c-=2)<0);++U)f=l.charCodeAt(U),b=f>>8,M=f%256,O.push(M),O.push(b);return O}function Hn(l){return o.toByteArray(In(l))}function an(l,c,f,b){let M;for(M=0;M<b&&!(M+f>=c.length||M>=l.length);++M)c[M+f]=l[M];return M}function Nt(l,c){return l instanceof c||l!=null&&l.constructor!=null&&l.constructor.name!=null&&l.constructor.name===c.name}function _n(l){return l!==l}const ta=function(){const l="0123456789abcdef",c=new Array(256);for(let f=0;f<16;++f){const b=f*16;for(let M=0;M<16;++M)c[b+M]=l[f]+l[M]}return c}();function At(l){return typeof BigInt>"u"?jr:l}function jr(){throw new Error("BigInt not supported")}})(Ew);var Mw={exports:{}},Gn=Mw.exports={},Fi,Vi;function kT(){throw new Error("setTimeout has not been defined")}function bT(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?Fi=setTimeout:Fi=kT}catch{Fi=kT}try{typeof clearTimeout=="function"?Vi=clearTimeout:Vi=bT}catch{Vi=bT}})();function Iw(r){if(Fi===setTimeout)return setTimeout(r,0);if((Fi===kT||!Fi)&&setTimeout)return Fi=setTimeout,setTimeout(r,0);try{return Fi(r,0)}catch{try{return Fi.call(null,r,0)}catch{return Fi.call(this,r,0)}}}function pY(r){if(Vi===clearTimeout)return clearTimeout(r);if((Vi===bT||!Vi)&&clearTimeout)return Vi=clearTimeout,clearTimeout(r);try{return Vi(r)}catch{try{return Vi.call(null,r)}catch{return Vi.call(this,r)}}}var $s=[],ep=!1,Mc,cy=-1;function mY(){!ep||!Mc||(ep=!1,Mc.length?$s=Mc.concat($s):cy=-1,$s.length&&_w())}function _w(){if(!ep){var r=Iw(mY);ep=!0;for(var o=$s.length;o;){for(Mc=$s,$s=[];++cy<o;)Mc&&Mc[cy].run();cy=-1,o=$s.length}Mc=null,ep=!1,pY(r)}}Gn.nextTick=function(r){var o=new Array(arguments.length-1);if(arguments.length>1)for(var s=1;s<arguments.length;s++)o[s-1]=arguments[s];$s.push(new Cw(r,o)),$s.length===1&&!ep&&Iw(_w)};function Cw(r,o){this.fun=r,this.array=o}Cw.prototype.run=function(){this.fun.apply(null,this.array)};Gn.title="browser";Gn.browser=!0;Gn.env={};Gn.argv=[];Gn.version="";Gn.versions={};function Js(){}Gn.on=Js;Gn.addListener=Js;Gn.once=Js;Gn.off=Js;Gn.removeListener=Js;Gn.removeAllListeners=Js;Gn.emit=Js;Gn.prependListener=Js;Gn.prependOnceListener=Js;Gn.listeners=function(r){return[]};Gn.binding=function(r){throw new Error("process.binding is not supported")};Gn.cwd=function(){return"/"};Gn.chdir=function(r){throw new Error("process.chdir is not supported")};Gn.umask=function(){return 0};var hY=Mw.exports;(function(r){Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});const o=Ew,s=hY,m=g=>g&&g.__esModule?g:{default:g},p=m(s),v=globalThis||void 0||self;Object.defineProperty(r,"Buffer",{enumerable:!0,get:()=>o.Buffer}),Object.defineProperty(r,"process",{enumerable:!0,get:()=>p.default}),r.global=v})(Mt);class gY{}window.slStore=Object.create(null);const yY=(r,o)=>fL(r,o,{mount:({storeName:s})=>{window.slStore[s]||(window.slStore[s]={mounted:!0,history:[{type:"mount"}]}),window.slStore[s].store=r},unmount:({storeName:s})=>{var m;window.slStore[s].mounted=!1,(m=window.slStore[s])==null||m.history.push({type:"unmount"})},change:({actionName:s,storeName:m,changed:p,newValue:v,oldValue:g,valueMessage:T})=>{var I;(I=window.slStore[m])==null||I.history.push({type:"change",changed:p,newValue:v,oldValue:g,diff:L7({...g},{...v},{cyclesFix:!1}),actionName:s,valueMessage:T})},action:{start:({actionName:s,args:m,storeName:p})=>{var v;(v=window.slStore[p])==null||v.history.push({type:"action:start",actionName:s,args:m,storeName:p})},error:({actionName:s,error:m,storeName:p})=>{var v;(v=window.slStore[p])==null||v.history.push({type:"action:error",actionName:s,error:m})},end:({actionName:s,storeName:m})=>{var p;(p=window.slStore[m])==null||p.history.push({type:"action:end",actionName:s})}}});class Vy{constructor(o,s){J(this,"store");J(this,"name");this.store=o,this.name=s,yY(this.store,this.name)}getStore(){return this.store}}const vY=r=>{const o=Object.keys(r);return x7(o.map(s=>r[s].getStore()),(...s)=>Object.fromEntries(o.map((m,p)=>[m,s[p]])))};class L1 extends Vy{constructor(){super(...arguments);J(this,"getValues",()=>this.getStore().get());J(this,"getValue",s=>this.getStore().get()[s]);J(this,"setValue",(s,m)=>this.getStore().setKey(s,m));J(this,"subscribe",(...s)=>this.getStore().subscribe(...s));J(this,"unsubscribe",()=>this.getStore().off())}}const _c=r=>dT(r);var Vs;(function(r){r.ORGANIZATION="ORGANIZATION",r.STREAM="STREAM"})(Vs||(Vs={}));const TY={[Xn.BETTING]:"betting",[Xn.GAMES]:"games",[Xn.PUBLIC_CHAT]:"publicChat",[Xn.TWITTER]:"twitter"};var tp;(function(r){r.Ready="ready",r.Suspended="suspended"})(tp||(tp={}));class Aw{constructor({settings:o,...s},m){J(this,"status");J(this,"source");J(this,"config");J(this,"settings");J(this,"listeners",new Set);J(this,"settingsKey");J(this,"enable",()=>{this.status.set(tp.Ready)});J(this,"disable",()=>{this.status.set(tp.Suspended)});J(this,"setFeatureConfig",({settings:o,...s})=>{var p;let m;for(m in s)this.config.setValue(m,s[m]);if(((p=o==null?void 0:o.overlaySettings)==null?void 0:p.case)!==void 0&&(o==null?void 0:o.overlaySettings.case)===this.settingsKey){const v=o.overlaySettings.value;if(v!==void 0){let g;for(g in v)v[g]!==0&&v[g]!==""&&this.settings.setValue(g,v[g])}}});J(this,"update",(o,s)=>{this.source===Vs.STREAM&&s===Vs.ORGANIZATION||(this.setFeatureConfig(o),this.source=s)});this.settingsKey=TY[s.type],this.status=tu(tp.Suspended),this.config=new L1(_c(s),`feature:config:${this.settingsKey}`),this.settingsKey!==void 0&&(o==null?void 0:o.overlaySettings.case)===this.settingsKey?this.settings=new L1(_c(o.overlaySettings.value),`feature:settings:${this.settingsKey}`):this.settings=new L1(_c({}),`feature:settings:${this.settingsKey}`),this.source=m}get featureConfig(){return this.config.getStore()}get featureSettings(){return this.settings.getStore()}registerEventListener(o){this.listeners.add(o)}fireEvent(o){for(const s of this.listeners.values())try{s.onEvent(o)}catch(m){console.error(m)}}}class Xo extends Vy{constructor(){super(...arguments);J(this,"getValue",()=>this.getStore().get());J(this,"setValue",s=>this.getStore().set(s));J(this,"subscribe",s=>this.getStore().subscribe(s));J(this,"unsubscribe",()=>this.getStore().off())}getValues(){throw new Error("not implemented")}listen(s){return this.getStore().listen(s)}get(){return this.getStore().get()}}const Va=r=>tu(r);class $i extends Vy{constructor(s,m,p){super(s,`api:${m}`);J(this,"atomStore");J(this,"getAtomStore",()=>this.atomStore);J(this,"getValue",async()=>{const s=this.getStore();if(s.value===void 0)throw new Error("no store");return await s.value.promise,s.get().data});J(this,"getValues",()=>{throw new Error("not implemented")});J(this,"setValue",s=>this.getStore().set({loading:!1,data:s==null?void 0:s.data}));J(this,"subscribe",s=>this.getStore().subscribe(s));J(this,"unsubscribe",()=>{throw new Error("not implemented")});J(this,"invalidate",()=>{this.store.invalidate()});J(this,"listen",s=>this.getStore().listen(s));J(this,"key",()=>this.getStore().key);J(this,"off",()=>this.getStore().off());this.atomStore=tu(),p&&s.subscribe(v=>{const g=this.atomStore.get(),T=p(v,g);g!==T&&this.atomStore.set(T)})}get(){throw new Error("not implemented")}}async function*kY(r,o){for await(const s of o){r.response.message=s,r.received_at=Date.now();const m={type:"__GRPC_DEVTOOLS_EXTENSION__",data:r};window.postMessage(m),yield s}}const bY=()=>r=>async o=>{const s={name:o.url,stream:o.stream,sent_at:Date.now(),request:{header:Object.fromEntries(o.header.entries())},response:{}};try{const m=await r(o);if(s.received_at=Date.now(),s.response.header=Object.fromEntries(m.header.entries()),s.response.trailer=Object.fromEntries(m.trailer.entries()),o.stream){s.request.message=o.message;const p={type:"__GRPC_DEVTOOLS_EXTENSION__",data:{...s,stream:!1}};return window.postMessage(p),{...m,message:kY(s,m.message)}}else{s.request.message=o.message,s.response.message=m.message,s.latency=s.received_at-s.sent_at;const p={type:"__GRPC_DEVTOOLS_EXTENSION__",data:s};window.postMessage(p)}return m}catch(m){s.received_at=Date.now(),s.request.message=o.message,s.response.trailer={"grpc-status":m.code,"grpc-message":m.rawMessage},s.response.message=m.rawMessage,s.latency=s.received_at-s.sent_at;const p={type:"__GRPC_DEVTOOLS_EXTENSION__",data:s};throw window.postMessage(p),m}};window.dispatchEvent(new CustomEvent("grpc_devtools_loaded"));var Zo;(function(r){r.Init="init",r.Ready="ready",r.Connecting="connecting",r.Connected="connected",r.Disconnected="disconnected",r.Failed="failed",r.Reconnect="reconnect",r.Reconnecting="reconnecting"})(Zo||(Zo={}));class wY{constructor(o,s,m,p){J(this,"params");J(this,"streamCancel");J(this,"method");J(this,"options");J(this,"headers");J(this,"listeners");J(this,"state");J(this,"store");J(this,"paramsListener");J(this,"reconnectTimeout");J(this,"attempt",0);J(this,"updateState",o=>{this.state.setValue("status",o),this.state.setValue("ts",new Date),this.addStateLog(`status => ${o}`)});J(this,"addStateLog",o=>{const s=this.state.getStore().get().log;this.state.setValue("log",[...s,`${new Date().toLocaleString()}: ${o}`])});J(this,"addListener",(o,s)=>this.listeners.has(o)?(this.addStateLog(`listener '${o}' not added, already exists`),!1):(this.listeners.set(o,s),this.addStateLog(`listener '${o}' added`),!0));J(this,"removeListener",o=>{this.listeners.delete(o),this.addStateLog(`listener '${o}' removed`)});J(this,"connect",()=>{this.updateState(Zo.Connecting),this.streamCancel&&(this.addStateLog("disconnect prev connection"),this.streamCancel.abort(),this.streamCancel=void 0);const o="get"in this.params&&typeof this.params.get=="function"?this.params.get():this.params;(async()=>{this.streamCancel=new AbortController;try{const s={headers:this.headers.getValues(),signal:this.streamCancel.signal},m=this.method(o,s);for await(const p of m)this.attempt=0,this.onData(p)}catch(s){s instanceof er&&s.code!=dn.Canceled&&this.onStreamError(s)}})(),this.updateState(Zo.Connected)});J(this,"disconnect",()=>{var o;this.streamCancel&&this.streamCancel.abort(),this.listeners.clear(),(o=this.paramsListener)==null||o.call(this),clearTimeout(this.reconnectTimeout),this.reconnectTimeout=void 0,this.updateState(Zo.Disconnected)});J(this,"reconnect",()=>{if(this.reconnectTimeout)this.addStateLog("already reconnecting");else if(this.attempt<this.options.reconnectMaxAttempts){this.updateState(Zo.Reconnect);const o=Math.min(this.options.reconnectMaxDelay,Math.pow(2,this.attempt)*this.options.reconnectDelay),s=Math.round(o*(1+Math.random())/2);this.reconnectTimeout=setTimeout(()=>{this.attempt++,this.updateState(Zo.Reconnecting),this.addStateLog(`reconnect attempt ${this.attempt} after ${s}ms`),this.connect(),this.reconnectTimeout=void 0},s)}else this.addStateLog("max reconnect attempts reached"),this.disconnect()});J(this,"getStore",()=>{var o;return(o=this.store)==null?void 0:o.getStore()});J(this,"onData",o=>{try{this.addStateLog(`received data => ${JSON.stringify(o)}`),this.store&&this.store.setValue(o);for(const[,s]of this.listeners)s(o);this.addStateLog(`data routed to ${this.listeners.size} listeners`)}catch(s){this.addStateLog(`error process data => ${s}`)}});J(this,"onStreamError",o=>{if(this.addStateLog(`error => ${o?JSON.stringify(o):"undefined"}}`),o!==void 0){if(o instanceof er&&o.code!==dn.Canceled){this.updateState(Zo.Failed),this.state.setValue("error",o),this.reconnect();return}this.disconnect()}});const v={status:Zo.Init,ts:new Date,log:[]};this.state=new L1(_c(v),`subscription:${p.name}:state`),this.options={...p,reconnectDelay:p.reconnectDelay??1e3,reconnectMaxDelay:p.reconnectMaxDelay??3e4,reconnectMaxAttempts:p.reconnectMaxAttempts??10,withStore:p.withStore??!1},this.headers=o,this.listeners=new Map,this.params=m,this.method=s,p.withStore&&(this.store=new Xo(Va(null),`subscription:${p.name}:store`)),"subscribe"in m&&typeof m.subscribe=="function"&&(this.paramsListener=m.subscribe(g=>{this.state.getValue("status")===Zo.Connected&&(this.addStateLog(`params updated, reconnect => ${JSON.stringify(g)}`),this.reconnect())})),this.updateState(Zo.Ready)}}class SY{constructor(o){J(this,"toJsonOptions",{emitDefaultValues:!1,enumAsInteger:!0,useProtoFieldName:!1});J(this,"transport");J(this,"nanoquery");J(this,"host");J(this,"interceptors",[]);J(this,"$headers");J(this,"clients");J(this,"callbackClients");J(this,"subscriptions");J(this,"addSubscription",(o,s,m)=>{const p=this.subscriptions.get(s);if(p)return p;const v=new wY(this.$headers,o,s,m);return this.subscriptions.set(s,v),v});J(this,"removeSubscription",o=>{o.disconnect(),this.subscriptions.delete(o.params)});J(this,"disconnect",()=>{for(const[o,s]of this.subscriptions)s.disconnect(),this.subscriptions.delete(o)});J(this,"registerInterceptor",o=>{this.interceptors.push(o)});J(this,"removeInterceptor",o=>{this.interceptors=this.interceptors.filter(s=>s!==o)});J(this,"getClient",o=>{const s=o.typeName;if(this.clients.has(s))return this.clients.get(s);const m=jj(o,this.transport);return this.clients.set(s,m),m});J(this,"createPromiseClient",(o,{params:s=[],method:m})=>{const p=this.getClient(o),v=o.methods[m].name,g=[o.typeName,v.charAt(0).toLowerCase()+v.slice(1),...Array.isArray(s)?s:[s]],T=[o.typeName,v.charAt(0).toLowerCase()+v.slice(1)];return{client:p,queryKey:g,queryKeyStr:T.join("")}});J(this,"createStreamClient",o=>({client:this.getClient(o)}));J(this,"setSdkKey",o=>{this.$headers.setValue("sdk",o)});J(this,"setAuth",(o,s)=>{this.$headers.setValue("authorization",o),this.$headers.setValue("sl-user-id",s)});J(this,"setHeader",(o,s)=>this.$headers.setValue(o,s));J(this,"getHeader",o=>this.$headers.getValue(o));J(this,"getHeaders",()=>this.$headers.getValues());J(this,"initInterceptors",()=>{if(this.interceptors.length!==0)return;const o=s=>m=>{const p=this.$headers.getValues();for(const v in p)m.header.set(v,p[v]);return s(m)};this.interceptors.push(o),this.interceptors.push(bY())});var v,g;this.host=o,this.$headers=new L1(_c({"sl-device-id":((g=(v=Mt.process)==null?void 0:v.env)==null?void 0:g.NX_DEVICE_ID)||"sdk-web-dev"}),"transport:headers"),this.initInterceptors(),this.clients=new Map,this.callbackClients=new Map,this.subscriptions=new Map;const[s,m,p]=uz();this.nanoquery={createFetcherStore:s,createMutatorStore:m,utils:p},this.transport=sz({baseUrl:o,interceptors:this.interceptors,useBinaryFormat:!0})}}const EY=(r,o)=>{const{client:s,queryKey:m}=o.createPromiseClient(MF,{method:"retrieveEventId",params:[r]});return o.nanoquery.createFetcherStore(m,{fetcher:async(p,v,g)=>{var T;if(!g||typeof g!="string")return"";try{return((T=(await s.retrieveEventId({id:g})).data)==null?void 0:T.id)||""}catch{return""}}})},NY=(r,o)=>{const{client:s,queryKey:m}=o.createPromiseClient(B1,{method:"getStream",params:[r]});return o.nanoquery.createFetcherStore(m,{fetcher:async(p,v,g)=>{var T;return g?(T=(await s.getStream({id:g})).data)==null?void 0:T.attributes:void 0}})},MY=(r,o)=>{const{queryKey:s,client:m}=o.createPromiseClient(kw,{method:"me",params:[r]});return o.nanoquery.createFetcherStore(s,{fetcher:()=>m.me({})})},IY=r=>{const{client:o}=r.createPromiseClient(kw,{method:"bypassAuth"});return({userKey:s,schema:m,init:p})=>o.bypassAuth({userKey:s,schema:m,init:p})},_Y=(r,o)=>{const{client:s,queryKey:m}=o.createPromiseClient(B1,{method:"get",params:[r]});return o.nanoquery.createFetcherStore(m,{fetcher:async()=>{var p;return(p=(await s.get({})).data)==null?void 0:p.attributes}})},CY=(r,o)=>{const{client:s,queryKey:m}=o.createPromiseClient(B1,{method:"getOrganization",params:[r]});return o.nanoquery.createFetcherStore(m,{fetcher:async()=>{const p=await s.getOrganization({});return p.data?{...p.data.attributes,id:p.data.id}:void 0}})},AY=(r,o)=>{const{client:s,queryKey:m}=o.createPromiseClient(B1,{method:"getOrganizationAdvertising",params:[r]});return o.nanoquery.createFetcherStore(m,{fetcher:async()=>{var p;return(p=(await s.getOrganizationAdvertising({})).data)==null?void 0:p.attributes}})},OY=(r,o,s)=>{r.transport=new SY(o.host),r.sdk.host=r.transport.host,r.transport.setSdkKey(o.sdkKey),s()};class t8{constructor(o="main"){J(this,"delimiter",":");J(this,"prefix");J(this,"clear",()=>{for(const o in window.localStorage)o.startsWith(this.prefix)&&window.localStorage.removeItem(o)});J(this,"generateKey",o=>`${this.prefix}${this.delimiter}${o.join(this.delimiter)}`);J(this,"write",(...o)=>{const s=o.pop()||"";window.localStorage.setItem(this.generateKey(o),s)});J(this,"read",(...o)=>{const s=window.localStorage.getItem(this.generateKey(o));return s===null?void 0:s});J(this,"remove",(...o)=>{window.localStorage.removeItem(this.generateKey(o))});this.prefix=`sl-sdk${this.delimiter}${o}`}}var Bs;(function(r){r.SCHEMA="schema",r.EXTERNAL_TOKEN="eToken",r.TOKEN="token"})(Bs||(Bs={}));class qf extends t8{constructor(){super("user");J(this,"setSchema",s=>{this.write(Bs.SCHEMA,s)});J(this,"getSchema",()=>this.read(Bs.SCHEMA));J(this,"setToken",s=>{this.write(Bs.TOKEN,s)});J(this,"getToken",()=>this.read(Bs.TOKEN));J(this,"setExternalToken",s=>{this.write(Bs.EXTERNAL_TOKEN,s)});J(this,"getExternalToken",()=>this.read(Bs.EXTERNAL_TOKEN));J(this,"removeToken",()=>{this.remove(Bs.TOKEN)})}}var Ys;(function(r){r.DISABLED="disabled",r.INITIALIZATION="initialization",r.READY="ready",r.FAILED="failed",r.SUSPENDED="suspended"})(Ys||(Ys={}));const xY=r=>{const o=new qf,s=new Xo(Va(o.getExternalToken()),"userKey"),m=new Xo(Va(o.getToken()),"userToken"),p=new $i(MY(m.getStore(),r),"user",({data:g,error:T,loading:I},C)=>{var D;if(!T)return(D=g==null?void 0:g.data)!=null&&D.id?g.data.id:I===!1?void 0:C}),v=new $i(_Y(m.getStore(),r),"userSettings");return{userKey:s,userToken:m,user:p,userSettings:v}},LY=r=>{const o=new Xo(Va(void 0),"providerStreamId"),s=new $i(EY(o.getStore(),r),"slStreamId",p=>p==null?void 0:p.data),m=new $i(NY(s.getAtomStore(),r),"streamSettings");return s.getAtomStore().listen(p=>{(p===""||p===void 0)&&m.getStore().mutate(void 0)}),{providerStreamId:o,slStreamId:s,streamSettings:m}},RY=r=>{const o=new Xo(Va(void 0),"enabled"),s=new Xo(Va(Ys.DISABLED),"status"),m=new $i(CY(o.getStore(),r),"organizationSettings",T=>{var I;return(I=T==null?void 0:T.data)==null?void 0:I.id}),p=new $i(AY(m.getAtomStore(),r),"organizationAdvertising"),v=xY(r),g=LY(r);return{enabled:o,status:s,providerStreamId:g.providerStreamId,slStreamId:g.slStreamId,streamSettings:g.streamSettings,user:v.user,userKey:v.userKey,userToken:v.userToken,userSettings:v.userSettings,organizationSettings:m,organizationAdvertising:p}};class DY extends Vy{constructor(s){const m=RY(s),p=vY(m);super(p,"core");J(this,"stores");J(this,"subscribe",s=>{let m;for(m in this.stores){const p=s[m];m in s&&p!==void 0&&this.stores[m].subscribe(s[m])}});J(this,"unsubscribe",()=>this.getStore().off());this.stores=m}getValue(){throw new Error("Not implemented")}getValues(){return this.stores}setValue(){throw new Error("Not implemented")}}class PY extends gY{constructor(s,m){super();J(this,"$coreStore");J(this,"transport");J(this,"bypassLogin");J(this,"me",async()=>{var s;return this.$coreStore.getValues().user.invalidate(),(s=await this.$coreStore.getValues().user.getValue())==null?void 0:s.data});J(this,"login",async(s,m)=>{var T,I;this.$coreStore.getValues().userKey.setValue(m);const p=await this.bypassLogin({schema:s,userKey:m,init:!1}),v=(T=p.meta)==null?void 0:T.jwt,g=(I=p.data)==null?void 0:I.id;if(!v||!g)throw new Error("internal: token missing");return this.$coreStore.getValues().user.getStore().mutate(p),this.saveUser(v,g),v});J(this,"isAuthenticated",()=>this.me());J(this,"logout",()=>{this.$coreStore.getValues().user.setValue(),this.$coreStore.getValues().userKey.setValue(),this.$coreStore.getValues().userToken.setValue(),this.transport.setAuth("",""),new qf().clear()});J(this,"softLogout",()=>{const s=new qf;this.transport.setAuth("",""),s.setToken(""),this.reLogin()});J(this,"reLogin",()=>{const s=new qf,m=s.getToken(),p=s.getExternalToken();if(this.$coreStore.getValues().userKey.setValue(p),m)return this.saveUser(m,""),this.me().then(v=>{if(v!=null&&v.id){const g=v.id;this.saveUser(m,g)}});if(p&&!m){const v=s.getSchema();v&&p&&this.login(v,p).catch(()=>{this.logout()})}});J(this,"saveUser",(s,m)=>{this.transport.setAuth(s,m),this.$coreStore.getValues().userToken.setValue(s),new qf().setToken(s)});J(this,"connect",()=>{this.transport.registerInterceptor(s=>async m=>{try{return await s(m)}catch(p){throw p.code&&(p.code===7||p.code===16)&&this.transport.getHeader("authorization")&&this.softLogout(),p}})});this.$coreStore=s,this.transport=m,this.bypassLogin=IY(this.transport),this.connect()}}const A1=new qf,UY=(r,o,s)=>{r.auth=new PY(r.store,r.transport),r.stores.status.listen(m=>{m===Ys.READY&&r.auth.reLogin()}),r.sdk.userId=r.stores.user.getAtomStore,r.sdk.authorizationBypass=async(m,p)=>{if(!(A1.getSchema()===m&&A1.getExternalToken()===p&&r.transport.getHeader("authorization")))try{await r.auth.login(m,p),A1.setSchema(m),A1.setExternalToken(p)}catch{r.sdk.logout()}},r.sdk.logout=()=>{r.auth.logout(),A1.clear()},r.sdk.getUserStore=()=>r.stores.user.getStore(),r.sdk.isUserAuthorized=()=>r.auth.isAuthenticated(),s()},jY=(r,o,s)=>{r.store=new DY(r.transport),r.stores=r.store.getValues(),r.sdk.enabled=r.stores.enabled.getStore(),r.sdk.status=r.stores.status.getStore(),r.sdk.sdkStore=Object.fromEntries(Object.entries(r.stores).map(([m,p])=>[m,p.getStore()])),r.sdk.organizationStore=()=>r.stores.organizationSettings.getStore(),r.sdk.streamStore=()=>r.stores.streamSettings.getStore(),r.storeUnsubscribe=()=>{r.store.unsubscribe()},s()},zY=(r,o,s)=>{r.sdk=Object.create(null),r.sdk.initializeApp=async m=>{if(r.contextConfig=m,r.stores.enabled.get()==="on")return{enabled:!0};r.storeSubscribe(),r.stores.enabled.setValue("on"),r.stores.status.setValue(Ys.INITIALIZATION);try{const p=await r.stores.organizationSettings.getValue();return p?(r.stores.status.setValue(Ys.READY),{enabled:!!p}):(r.stores.status.setValue(Ys.FAILED),{err:"failed"})}catch(p){return r.stores.enabled.setValue(),r.stores.status.setValue(Ys.FAILED),{err:`${p}`}}},r.sdk.disableApp=()=>{r.stores.enabled.get()==="on"&&(r.stores.enabled.setValue(),r.stores.status.setValue(Ys.DISABLED),r.sdk.closeFeature(!0),r.storeUnsubscribe(),r.transport.disconnect())},r.sdk.createEventSession=m=>{r.stores.providerStreamId.setValue(m)},s()},BY=H7({level:"trace",enabled:!1,browser:{write:r=>{console.log(r)}}}),Ow=(r,o)=>BY.child({name:r},o),FY=(r,o,s)=>{const{client:m,queryKey:p}=s.createPromiseClient(ww,{method:"summary",params:[r,o]});return s.nanoquery.createFetcherStore(p,{fetcher:async(v,g,T,I)=>{var C;return(C=(await m.summary({eventId:T,userId:I})).data)==null?void 0:C.attributes}})},VY=r=>{const{client:o}=r.createPromiseClient(ww,{method:"list"});return s=>o.list(s)},YY=(r,o)=>{const{client:s,queryKey:m}=o.createPromiseClient(Zs,{method:"get",params:[r]});return o.nanoquery.createFetcherStore(m,{fetcher:async(p,v,g)=>{var T;return(T=(await s.get({eventId:g})).data)==null?void 0:T.attributes}})},QY=(r,o)=>{const{client:s,queryKey:m}=o.createPromiseClient(Zs,{method:"syncQuestion",params:[r]});return o.nanoquery.createFetcherStore(m,{fetcher:async(p,v,g)=>{var T;return g?(T=(await s.syncQuestion({filter:{eventId:g}})).data)==null?void 0:T.attributes:void 0}})},GY=(r,o)=>{const{client:s}=o.createStreamClient(Zs),m=tu({eventId:r.get()||"",feedId:""});return r.subscribe((p="")=>{m.set({eventId:p,feedId:""})}),o.addSubscription(s.subscription,m,{name:"feedSubscription"})},HY=(r,o)=>{const{client:s}=o.createStreamClient(Zs);return o.addSubscription(s.questionSubscription,{questionId:r},{name:"questionSubscription"})},xw=async(r,o)=>{var m,p;const{client:s}=o.createPromiseClient(Zs,{method:"questionByUser",params:[r]});return(p=(m=(await s.questionByUser({questionId:r})).data)==null?void 0:m.attributes)==null?void 0:p.question},$Y=(r,o)=>{const{client:s,queryKey:m}=o.createPromiseClient(Zs,{method:"list",params:[r]});return o.nanoquery.createFetcherStore(m,{fetcher:async(p,v,g)=>g?(await s.list({eventId:g,filter:{statuses:[ao.ACTIVE,ao.RESOLVED]}})).data:[]})};var n8={exports:{}};const qY=Object.getPrototypeOf({});function r8(r){function o(G){return G!=="constructor"&&G!=="prototype"&&G!=="__proto__"}function s(G){let se=0;const te=G.length,ue=new Array(te);for(se=0;se<te;++se)ue[se]=j(G[se]);return ue}function m(G){const se={};if(I&&Object.getPrototypeOf(G)!==qY)return I(G);const te=T(G);let ue,Z,ye;for(ue=0,Z=te.length;ue<Z;++ue)o(ye=te[ue])&&(se[ye]=j(G[ye]));return se}function p(G,se){const te=G.length,ue=se.length;let Z=0;const ye=new Array(te+ue);for(Z=0;Z<te;++Z)ye[Z]=j(G[Z]);for(Z=0;Z<ue;++Z)ye[Z+te]=j(se[Z]);return ye}const v=Object.prototype.propertyIsEnumerable;function g(G){const se=Object.keys(G),te=Object.getOwnPropertySymbols(G);for(let ue=0,Z=te.length;ue<Z;++ue)v.call(G,te[ue])&&se.push(te[ue]);return se}const T=r&&r.symbols?g:Object.keys,I=typeof(r==null?void 0:r.cloneProtoObject)=="function"?r.cloneProtoObject:void 0;function C(G){return typeof G=="object"&&G!==null&&!(G instanceof RegExp)&&!(G instanceof Date)}function D(G){return typeof G!="object"||G===null}const R=typeof Mt.Buffer<"u"?G=>typeof G!="object"||G===null||G instanceof RegExp||G instanceof Date||G instanceof Mt.Buffer:G=>typeof G!="object"||G===null||G instanceof RegExp||G instanceof Date,x=r&&typeof r.mergeArray=="function"?r.mergeArray({clone:j,deepmerge:W,getKeys:T,isMergeableObject:C}):p;function j(G){return C(G)?Array.isArray(G)?s(G):m(G):G}function Q(G,se){const te={},ue=T(G),Z=T(se);let ye,fe,De;for(ye=0,fe=ue.length;ye<fe;++ye)o(De=ue[ye])&&Z.indexOf(De)===-1&&(te[De]=j(G[De]));for(ye=0,fe=Z.length;ye<fe;++ye)o(De=Z[ye])&&(De in G&&(ue.indexOf(De)!==-1&&(te[De]=W(G[De],se[De])),!0)||(te[De]=j(se[De])));return te}function W(G,se){const te=Array.isArray(se),ue=Array.isArray(G);return D(se)?se:R(G)?j(se):te&&ue?x(G,se):te!==ue?j(se):Q(G,se)}function le(){switch(arguments.length){case 0:return{};case 1:return j(arguments[0]);case 2:return W(arguments[0],arguments[1])}let G;for(let se=0,te=arguments.length;se<te;++se)G=W(G,arguments[se]);return G}return r&&r.all?le:W}n8.exports=r8;n8.exports.default=r8;var WY=n8.exports.deepmerge=r8;const KY=r=>(o,s)=>{let m=0;const p=o.length,v=s.length,g=Math.max(p,v),T=new Array(g);for(m=0;m<g;++m)m<v?T[m]=r.deepmerge(o[m],s[m]):T[m]=r.clone(o[m]);return T},ZY=WY({mergeArray:KY}),JY=(r,o,s)=>{const m=x7([o,s],(v,g)=>{if(v){if(g.data)return g.data.find(T=>T.id===v);console.error("Feed list is not loaded yet. Issue with the opened question.")}}),p=_c({data:void 0,loading:void 0,error:void 0});return m.subscribe(async v=>{if(v&&v.type==="question"){p.setKey("loading",!0);const g=await xw(v.id,r);p.set({data:g,loading:!1});return}p.set({data:void 0,loading:!1})}),{$store:m,$extendedStore:p,updateExtendedQuestion:v=>{const g=p.get().data;if(g)for(const T of(v==null?void 0:v.answers)||[])T.youVoted!==!0&&delete T.youVoted;p.set({data:ZY(g,v)})}}};class XY{constructor(o){J(this,"slStreamId");J(this,"organizationId");J(this,"userId");J(this,"openedQuestionId");J(this,"openedQuestion");J(this,"activeQuestionId");J(this,"feedList");J(this,"moderationId");J(this,"moderation");J(this,"feedSubscription");J(this,"questionSubscription");J(this,"notifications");J(this,"log");J(this,"getCurrentSessionId",o=>{const s=o.eventId||this.slStreamId.get()||"",m=o.userId||this.userId.get()||"",p=o.organizationId||this.organizationId.get()||"",v=o.entity||"",g=o.prefix||"";return[p,s,m,g,v].join(":")});J(this,"disconnect",()=>{var o;(o=this.feedSubscription)==null||o.disconnect()});J(this,"openQuestion",o=>{this.openedQuestionId.set(o),this.notifications.markAsViewed(this.getCurrentSessionId({prefix:"notification",entity:o}))});J(this,"closeQuestion",o=>{this.openedQuestionId.set(void 0),o&&this.notifications.markAsViewed(this.getCurrentSessionId({prefix:"notification",entity:o}))});this.log=Ow("gamification-background"),this.slStreamId=o.stores.slStreamId.getAtomStore(),this.organizationId=o.stores.organizationSettings.getAtomStore(),this.userId=o.stores.user.getAtomStore(),this.moderationId=new Xo(Va(void 0),"moderationId").getStore(),this.openedQuestionId=new Xo(Va(void 0),"openedQuestionId").getStore(),this.notifications=o.notifications,this.moderation=new $i(YY(this.slStreamId,o.transport),"gamification:moderation"),this.feedList=new $i($Y(this.slStreamId,o.transport),"gamification:feedList"),this.activeQuestionId=new $i(QY(this.slStreamId,o.transport),"gamification:activeQuestionId"),this.openedQuestion=JY(o.transport,this.openedQuestionId,this.feedList.getStore()),this.openedQuestionId.listen(s=>{this.log.debug({questionId:s},"received question"),s?(this.questionSubscription=HY(s,o.transport),this.questionSubscription.addListener("feed-subscription-opened-question",m=>{window.requestAnimationFrame(()=>{var p,v;this.openedQuestion.updateExtendedQuestion((v=(p=m.data)==null?void 0:p.attributes)==null?void 0:v.question)})}),this.questionSubscription.connect()):(this.log.info("cleanup on close question"),this.questionSubscription!==void 0&&(o.transport.removeSubscription(this.questionSubscription),this.questionSubscription=void 0))}),this.feedSubscription=GY(this.slStreamId,o.transport),this.feedSubscription.addListener("feed-subscription-active-question",s=>{window.requestAnimationFrame(()=>{var p;const m=this.activeQuestionId.getStore();m&&m.mutate((p=s.data)==null?void 0:p.attributes)})}),this.feedSubscription.connect()}}class eQ{constructor(o){J(this,"notificationsList");J(this,"notifications");J(this,"store");J(this,"timeouts");J(this,"waitingQueue");J(this,"activeQueue");J(this,"options");J(this,"logger");J(this,"addToQueue",o=>{if(this.store.has(o.id)){this.logger.debug({notification:o},"skip existed notification: %o");return}const s=o.close,m=o.action;if(this.store.set(o.id,{...o,close:(...p)=>{s&&s(...p),this.closeNotification(o.id)},action:(...p)=>{m&&m(...p),this.closeNotification(o.id)}}),this.waitingQueue.add(o.id),this.activeQueue.size===this.options.concurrency){const[p]=this.activeQueue;this.closeNotification(p)}else this.tickWaitingQueue()});J(this,"tickWaitingQueue",()=>{if(this.activeQueue.size<this.options.concurrency){const[o]=this.waitingQueue;if(!o)return;this.activeQueue.add(o),this.waitingQueue.delete(o),this.logger.debug({job:o},"waiting queue tick"),this.tickActiveQueue(o)}else this.logger.debug({queueSize:this.activeQueue.size,concurrency:this.options.concurrency},"waiting queue tick skipped")});J(this,"tickActiveQueue",o=>{if(!o)return;const s=this.store.get(o);if(!s){this.logger.debug({notificationId:o},"active queue tick skipped, notification not exist");return}const m=setTimeout(()=>{const p=o,v=new Map(this.notifications.getValue());v.set(s.id,s),this.notifications.setValue(v);const g=setTimeout(()=>{this.logger.debug({notificationId:p,delay:s.autoHideDuration||5e3},"notification hiding by autoHideDuration"),this.closeNotification(p)},s.autoHideDuration||5e3);this.timeouts.set(p,g),this.logger.debug({notificationId:p,queue:[...v.values()]},"notification displayed")},s.delay||0);this.timeouts.set(o,m),this.logger.debug({notificationId:o},"active queue tick completed"),this.tickWaitingQueue()});J(this,"closeNotification",o=>{const s=new Map(this.notifications.getValue()),m=s.get(o);if(m){m.hiding=!(this.waitingQueue.size>=this.options.concurrency),this.notifications.setValue(s);const p=setTimeout(()=>{const v=new Map(this.notifications.getValue());v.delete(o),this.notifications.setValue(v);const g=this.timeouts.get(o);g!==void 0&&(clearTimeout(g),this.timeouts.delete(o)),this.logger.debug({notificationId:o},"notification hidden")},this.options.animationDelay||0);this.timeouts.set(o,p)}this.store.delete(o),this.activeQueue.delete(o),this.waitingQueue.delete(o),this.tickWaitingQueue(),this.logger.debug({notificationId:o},"notification hiding")});this.options=o,this.logger=Ow("notifications"),this.store=new Map,this.timeouts=new Map,this.waitingQueue=new Set,this.activeQueue=new Set,this.notifications=new Xo(Va(new Map),"notifications-queue"),this.notificationsList=this.notifications.getStore()}}var by;(function(r){r.OPENED="opened"})(by||(by={}));class tQ extends t8{constructor(){super("notification");J(this,"setOpened",s=>{this.write(by.OPENED,s,"true")});J(this,"isOpened",s=>this.read(by.OPENED,s));J(this,"clearNotification",()=>{this.clear()})}}var Ic;(function(r){r[r.ONBOARDING=1]="ONBOARDING",r[r.QUESTION=2]="QUESTION",r[r.QUESTION_RESOLVED=3]="QUESTION_RESOLVED"})(Ic||(Ic={}));class nQ{constructor(o={}){J(this,"queue");J(this,"storage");J(this,"add",o=>{this.storage.isOpened(o.id)||this.queue.addToQueue(o)});J(this,"close",o=>{this.queue.closeNotification(o),this.markAsViewed(o)});J(this,"getQueueStore",()=>this.queue.notificationsList);J(this,"markAsViewed",o=>{this.storage.setOpened(o)});this.storage=new tQ,this.queue=new eQ({concurrency:1,animationDelay:1600,...o})}}const rQ=(r,o,s)=>{r.notifications=new nQ,r.addNotification=r.notifications.add,r.sdk.getNotificationsStore=()=>r.notifications.getQueueStore(),s()},aQ=(r,o)=>{const{client:s}=r.createPromiseClient(Zs,{method:"submitAnswer"});return s.submitAnswer({data:o})},oQ=(r,o)=>{const{client:s}=r.createPromiseClient(Zs,{method:"submitInplay"});return s.submitInplay({data:{eventId:+o}})},iQ=(r,o)=>{const{client:s}=r.createPromiseClient(Zs,{method:"skipQuestion"});return s.skipQuestion({data:{id:o}})};var wy;(function(r){r.ONBOARDING="onboarding"})(wy||(wy={}));class Lw extends t8{constructor(){super("gamification");J(this,"saveOnboardingStatus",({userId:s,eventId:m,organizationId:p},v)=>{this.write(wy.ONBOARDING,p,s,m,v)});J(this,"getOnboardingStatus",({userId:s,eventId:m,organizationId:p})=>this.read(wy.ONBOARDING,p,s,m))}}const E9={pageSize:10},sQ=(r,o,s)=>{let m=0;const p=Va({pageSize:(s==null?void 0:s.pageSize)||E9.pageSize,page:0}),v=_c({data:[],hasMore:!0,loading:void 0,error:void 0}),g=VY(r),T=async C=>{if(C){v.setKey("loading",!0);const D={eventId:C,pagination:{page:0,pageSize:(s==null?void 0:s.pageSize)||E9.pageSize}},R=await g(D);v.set({data:R.data.map(x=>x.attributes),hasMore:!0,loading:!1}),R.meta&&(m=Math.round(R.meta.count/R.meta.pageSize)),p.set(D.pagination)}};o.listen(T);const I=()=>{T(o.get())};return p.listen(async C=>{const D=o.get();if(C.page>0&&D)if(C.page<m){v.setKey("loading",!0);const R=await g({eventId:D,pagination:C}),x=v.get().data||[];v.set({data:[...x,...R.data.map(j=>j.attributes)],loading:!1,hasMore:!0})}else v.setKey("hasMore",!1)}),{$store:v,fetchMore:C=>{const D=p.get(),R=C||D.page+1;R<=m&&p.set({...D,page:R})},invalidate:I}},lQ=(r,o)=>{const{client:s,queryKey:m}=r.createPromiseClient(B1,{method:"generateDeepLink",params:o});return r.nanoquery.createFetcherStore(m,{fetcher:async(p,v,g)=>{var T;return g?(T=(await s.generateDeepLink({data:{eventId:g}})).data)==null?void 0:T.attributes:{}}})},uQ=(r,o,s)=>{const m=lQ(r,[o]),p=`${window.location.host+window.location.pathname}%23sl_eid=${o.get()}&sl_uid=${s.get()}`;return{$store:m,fetch,desktopLink:p}};var Dr;(function(r){r.Unset="unset",r.Required="required",r.Optional="optional",r.Completed="completed",r.Disabled="disabled",r.Unavailable="unavailable"})(Dr||(Dr={}));const cQ=(r,o,s,m)=>{const p=new Lw,v=Va(Dr.Unset),g=()=>{const{inplayGame:I}=r.featureSettings.get(),C=o.getCurrentSessionId({prefix:"onboarding"});I&&m.add({type:Ic.ONBOARDING,id:C,action:r.openFeature,close:()=>{m.markAsViewed(C)},delay:1e3,autoHideDuration:1e6,data:{questionType:Kt.UNSET,onboarding:{...I}}})};v.subscribe(I=>{(I===Dr.Optional||Dr.Required)&&g(),I===Dr.Completed&&o.activeQuestionId.invalidate()});const T=async()=>{var x,j,Q,W,le;const I=o.userId.get();if(!I){v.set(Dr.Unset);return}p.getOnboardingStatus({userId:I,organizationId:o.organizationId.get()||"",eventId:o.slStreamId.get()||""})===Dr.Completed&&v.set(Dr.Completed);const C=await o.moderation.getValue();if(v.get()===Dr.Completed)return;const D=!!((x=C==null?void 0:C.options)!=null&&x.onboardingEnabled&&((Q=(j=r.featureSettings.get().inplayGame)==null?void 0:j.onboarding)!=null&&Q.completed)),R=!!((le=(W=r.featureSettings.get().inplayGame)==null?void 0:W.titleCard)!=null&&le.optIn);D?R?v.set(Dr.Required):v.set(Dr.Optional):R?v.set(Dr.Unavailable):v.set(Dr.Disabled)};return T(),o.userId.subscribe(I=>{I&&T()}),o.moderation.subscribe(I=>{I.data&&T()}),{$store:v,submitInplay:async()=>{const I=o.slStreamId.get();if(I){await oQ(s,I),v.set(Dr.Completed),p.saveOnboardingStatus({organizationId:o.organizationId.get()||"",userId:o.userId.get()||"",eventId:I},Dr.Completed);const C=o.getCurrentSessionId({prefix:"onboarding"});m.close(C)}}}},dQ=new Set([Kt.POLL,Kt.PREDICTION,Kt.TRIVIA]);class fQ extends Aw{constructor(s,m,p){super(s,m);J(this,"userSummary");J(this,"feedList");J(this,"leaderboardId");J(this,"leaderboardList");J(this,"deepLink");J(this,"onboardingStatus");J(this,"openedQuestion");J(this,"currentUserId");J(this,"openedUser");J(this,"closeFeature");J(this,"openFeature");J(this,"notifications");J(this,"transport");J(this,"background");J(this,"storage");J(this,"connect",s=>{this.userSummary.invalidate(),this.leaderboardList.invalidate(),this.feedList.invalidate(),this.background.feedSubscription.addListener("feed-subscription-prediction-close",m=>{window.requestAnimationFrame(async()=>{var I,C;const p=(C=(I=m.data)==null?void 0:I.attributes)==null?void 0:C.question;if(!p)return;const{status:v,type:g,id:T}=p;if(v===ao.RESOLVED&&g===Kt.PREDICTION){const D=this.background.getCurrentSessionId({prefix:`notification-id:${T}`}),R=await xw(T,s),x=R==null?void 0:R.answers.find(({correct:Q})=>Q),j=R==null?void 0:R.answers.find(({youVoted:Q})=>Q);if(!j)return;this.notifications.add({type:Ic.QUESTION_RESOLVED,action:()=>this.openQuestion(T),close:()=>this.closeQuestion(T),autoHideDuration:35e3,id:D,data:{questionType:Kt.PREDICTION,question:{title:x!=null&&x.youVoted?`Congratulations! You answered correctly! You won ${x.points} pts!`:`Better luck next time! Correct: ${x==null?void 0:x.text}!`,votedAnswer:{title:j==null?void 0:j.text,points:j==null?void 0:j.points},correctAnswerTitle:x==null?void 0:x.text,correct:x==null?void 0:x.youVoted,predictionResult:v===ao.RESOLVED,questionTitle:R==null?void 0:R.subject}}}),this.userSummary.invalidate()}})}),this.background.feedSubscription.addListener("feed-subscription-questions-list",()=>{window.requestAnimationFrame(()=>{var m;(m=this.feedList)==null||m.invalidate()})})});J(this,"disconnect",()=>{this.background.feedSubscription.removeListener("feed-subscription-questions-list")});J(this,"submitAnswer",async(s,m)=>{await aQ(this.transport,{questionId:s,answerId:m}),this.feedList.invalidate(),this.userSummary.invalidate()});J(this,"skipQuestion",async s=>{await iQ(this.transport,s),this.feedList.invalidate(),this.userSummary.invalidate()});J(this,"openQuestion",s=>(this.openFeature(),this.background.openQuestion(s)));J(this,"closeQuestion",s=>this.background.closeQuestion(s));J(this,"openUser",s=>{var p;const m=(p=this.leaderboardList.$store.get().data)==null?void 0:p.find(v=>v.userId===s);this.openedUser.set(m)});J(this,"closeUser",()=>{this.openedUser.set(void 0)});this.background=new XY(p),this.storage=new Lw,this.userSummary=new $i(FY(this.background.slStreamId,this.background.userId,p.transport),"gamification:userSummary"),this.feedList=this.background.feedList,this.currentUserId=this.background.userId,this.openedUser=Va(void 0),this.leaderboardId=new Xo(Va(this.settings.getValue("pinnedLeaderboardId")),"pinnedLeaderboardId").getStore(),this.onboardingStatus=cQ(this,this.background,p.transport,p.notifications),this.notifications=p.notifications,this.transport=p.transport,this.closeFeature=()=>p.sdk.closeFeature(!0),this.openFeature=()=>p.sdk.openFeature(Xn.GAMES),this.openedQuestion=this.background.openedQuestion,this.deepLink=uQ(this.transport,this.background.slStreamId,this.background.userId),this.leaderboardList=sQ(this.transport,this.background.slStreamId),this.status.subscribe(v=>{v===tp.Ready?this.connect(p.transport):this.disconnect()}),this.background.activeQuestionId.listen(v=>{var T,I,C,D,R,x,j,Q,W,le,G,se;const g=this.onboardingStatus.$store.get();if(v&&v.data&&g&&((T=v.data.question)==null?void 0:T.id)!==void 0&&v.data.question.notification!==void 0&&((C=(I=v.data.question)==null?void 0:I.bypassNotifications)==null?void 0:C.inAppSilence)!==h7.ON&&v.data.question.status===ao.ACTIVE){if(dQ.has(v.data.question.type)){const te=(R=(D=this.settings.getValues().inplayGame)==null?void 0:D.titleCard)==null?void 0:R.optIn,ue=g===Dr.Completed;te!==void 0&&(!te||ue)&&this.notifications.add({type:Ic.QUESTION,action:()=>{var Z;return((Z=v.data)==null?void 0:Z.question)&&this.openQuestion(v.data.question.id)},close:()=>{var Z;return((Z=v.data)==null?void 0:Z.question)&&this.closeQuestion(v.data.question.id)},autoHideDuration:1e3*60,id:this.background.getCurrentSessionId({prefix:"notification",entity:v.data.question.id}),data:{questionType:v.data.question.type,question:{title:v.data.question.notification.title}}})}else if(v.data.question.type===Kt.FACTOID){const te=(x=v.data.question.options)==null?void 0:x.options.value,ue={heading:v.data.question.notification.title,body:v.data.question.notification.body,image:v.data.question.notification.image,video:{id:((j=te==null?void 0:te.video)==null?void 0:j.id)||"",url:((Q=te==null?void 0:te.video)==null?void 0:Q.url)||"",thumbnailUrl:((W=te==null?void 0:te.video)==null?void 0:W.thumbnailUrl)||""},webLink:{label:"",url:""}};this.notifications.add({type:Ic.QUESTION,action:()=>{var Z;return((Z=v.data)==null?void 0:Z.question)&&this.openQuestion(v.data.question.id)},close:()=>{var Z;return((Z=v.data)==null?void 0:Z.question)&&this.closeQuestion(v.data.question.id)},autoHideDuration:1e3*120,id:this.background.getCurrentSessionId({prefix:"notification",entity:v.data.question.id}),data:{questionType:v.data.question.type,insight:ue}})}else if(v.data.question.type===Kt.TWEET){const te=(le=v.data.question.options)==null?void 0:le.options.value,ue={title:v.data.question.notification.title,body:v.data.question.notification.body,image:v.data.question.notification.image,account:((G=te==null?void 0:te.tweetMeta)==null?void 0:G.account)||"",accountVerified:!!((se=te==null?void 0:te.tweetMeta)!=null&&se.accountVerified)};this.notifications.add({type:Ic.QUESTION,action:()=>{var Z;return((Z=v.data)==null?void 0:Z.question)&&this.openQuestion(v.data.question.id)},close:()=>{var Z;return((Z=v.data)==null?void 0:Z.question)&&this.closeQuestion(v.data.question.id)},autoHideDuration:1e3*120,id:this.background.getCurrentSessionId({prefix:"notification",entity:v.data.question.id}),data:{questionType:v.data.question.type,tweet:ue}})}}})}}const pQ={[Xn.GAMES]:!0};class mQ extends Aw{constructor(o,s){super(o,s)}}const hQ=(r,o,s)=>r.type===Xn.GAMES?new fQ(r,o,s):new mQ(r,o),gQ=(r,o,s)=>{r.features=new Map,r.activeFeature=new Xo(Va(Xn.UNSET),"activeFeature"),r.sdk.getFeatures=()=>r.features,r.sdk.getFeature=m=>r.features.get(m),r.sdk.getActiveFeature=()=>r.activeFeature.getStore(),r.sdk.openFeature=m=>{r.activeFeature.setValue(m)},r.sdk.closeFeature=(m=!1)=>{if(m){const p=r.activeFeature.getValue();r.activeFeature.setValue(Xn.UNSET),p&&r.features.delete(p)}},r.initFeature=(m,p=Vs.ORGANIZATION)=>{if(m.type in pQ&&!r.features.has(m.type)){const v=hQ(m,p,r);r.features.set(m.type,v)}},r.updateFeature=(m,p)=>{var v;(v=r.features.get(m.type))==null||v.update(m,p)},r.destroyFeature=m=>{r.features.delete(m.type)},r.reinitializeFeatures=async()=>{const m=await r.stores.organizationSettings.getValue();r.features.clear();for(const p of(m==null?void 0:m.overlays)||[])r.initFeature(p,Vs.ORGANIZATION)},r.stores.providerStreamId.listen(m=>{m||r.reinitializeFeatures()}),r.storeSubscribe=()=>{const m=(v,g)=>{var T;if(g!=null&&g.overlays&&!((T=r.contextConfig)!=null&&T.skipOrganizationSettings&&v===Vs.ORGANIZATION))for(const I of g.overlays)I.sdkEnable===!0&&(r.features.has(I.type)?r.updateFeature(I,v):r.initFeature(I,v))},p={organizationSettings:v=>{if(v.data)try{m(Vs.ORGANIZATION,v.data)}catch(g){console.log(g)}},streamSettings:v=>{if(v.data)try{m(Vs.STREAM,v.data)}catch(g){console.log(g)}}};r.store.subscribe(p)},s()};var a8={exports:{}},o8={exports:{}};function yQ(r){var o=new r,s=o;function m(){var v=o;return v.next?o=v.next:(o=new r,s=o),v.next=null,v}function p(v){s.next=v,s=v}return{get:m,release:p}}var vQ=yQ,TQ=vQ;function Rw(r,o,s){if(typeof r=="function"&&(s=o,o=r,r=null),s<1)throw new Error("fastqueue concurrency must be greater than 1");var m=TQ(kQ),p=null,v=null,g=0,T=null,I={push:W,drain:So,saturated:So,pause:D,paused:!1,concurrency:s,running:C,resume:j,idle:Q,length:R,getQueue:x,unshift:le,empty:So,kill:se,killAndDrain:te,error:ue};return I;function C(){return g}function D(){I.paused=!0}function R(){for(var Z=p,ye=0;Z;)Z=Z.next,ye++;return ye}function x(){for(var Z=p,ye=[];Z;)ye.push(Z.value),Z=Z.next;return ye}function j(){if(I.paused){I.paused=!1;for(var Z=0;Z<I.concurrency;Z++)g++,G()}}function Q(){return g===0&&I.length()===0}function W(Z,ye){var fe=m.get();fe.context=r,fe.release=G,fe.value=Z,fe.callback=ye||So,fe.errorHandler=T,g===I.concurrency||I.paused?v?(v.next=fe,v=fe):(p=fe,v=fe,I.saturated()):(g++,o.call(r,fe.value,fe.worked))}function le(Z,ye){var fe=m.get();fe.context=r,fe.release=G,fe.value=Z,fe.callback=ye||So,g===I.concurrency||I.paused?p?(fe.next=p,p=fe):(p=fe,v=fe,I.saturated()):(g++,o.call(r,fe.value,fe.worked))}function G(Z){Z&&m.release(Z);var ye=p;ye?I.paused?g--:(v===p&&(v=null),p=ye.next,ye.next=null,o.call(r,ye.value,ye.worked),v===null&&I.empty()):--g===0&&I.drain()}function se(){p=null,v=null,I.drain=So}function te(){p=null,v=null,I.drain(),I.drain=So}function ue(Z){T=Z}}function So(){}function kQ(){this.value=null,this.callback=So,this.next=null,this.release=So,this.context=null,this.errorHandler=null;var r=this;this.worked=function(o,s){var m=r.callback,p=r.errorHandler,v=r.value;r.value=null,r.callback=So,r.errorHandler&&p(o,v),m.call(r.context,o,s),r.release(r)}}function bQ(r,o,s){typeof r=="function"&&(s=o,o=r,r=null);function m(D,R){o.call(this,D).then(function(x){R(null,x)},R)}var p=Rw(r,m,s),v=p.push,g=p.unshift;return p.push=T,p.unshift=I,p.drained=C,p;function T(D){var R=new Promise(function(x,j){v(D,function(Q,W){if(Q){j(Q);return}x(W)})});return R.catch(So),R}function I(D){var R=new Promise(function(x,j){g(D,function(Q,W){if(Q){j(Q);return}x(W)})});return R.catch(So),R}function C(){if(p.idle())return new Promise(function(x){x()});var D=p.drain,R=new Promise(function(x){p.drain=function(){D(),x()}});return R}}o8.exports=Rw;o8.exports.promise=bQ;var Dw=o8.exports,i8={exports:{}},np=typeof Reflect=="object"?Reflect:null,N9=np&&typeof np.apply=="function"?np.apply:function(r,o,s){return Function.prototype.apply.call(r,o,s)},dy;np&&typeof np.ownKeys=="function"?dy=np.ownKeys:Object.getOwnPropertySymbols?dy=function(r){return Object.getOwnPropertyNames(r).concat(Object.getOwnPropertySymbols(r))}:dy=function(r){return Object.getOwnPropertyNames(r)};function wQ(r){console&&console.warn&&console.warn(r)}var Pw=Number.isNaN||function(r){return r!==r};function rn(){rn.init.call(this)}i8.exports=rn;i8.exports.once=MQ;rn.EventEmitter=rn;rn.prototype._events=void 0;rn.prototype._eventsCount=0;rn.prototype._maxListeners=void 0;var M9=10;function Yy(r){if(typeof r!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof r)}Object.defineProperty(rn,"defaultMaxListeners",{enumerable:!0,get:function(){return M9},set:function(r){if(typeof r!="number"||r<0||Pw(r))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+r+".");M9=r}});rn.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0};rn.prototype.setMaxListeners=function(r){if(typeof r!="number"||r<0||Pw(r))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+r+".");return this._maxListeners=r,this};function Uw(r){return r._maxListeners===void 0?rn.defaultMaxListeners:r._maxListeners}rn.prototype.getMaxListeners=function(){return Uw(this)};rn.prototype.emit=function(r){for(var o=[],s=1;s<arguments.length;s++)o.push(arguments[s]);var m=r==="error",p=this._events;if(p!==void 0)m=m&&p.error===void 0;else if(!m)return!1;if(m){var v;if(o.length>0&&(v=o[0]),v instanceof Error)throw v;var g=new Error("Unhandled error."+(v?" ("+v.message+")":""));throw g.context=v,g}var T=p[r];if(T===void 0)return!1;if(typeof T=="function")N9(T,this,o);else for(var I=T.length,C=Vw(T,I),s=0;s<I;++s)N9(C[s],this,o);return!0};function jw(r,o,s,m){var p,v,g;if(Yy(s),v=r._events,v===void 0?(v=r._events=Object.create(null),r._eventsCount=0):(v.newListener!==void 0&&(r.emit("newListener",o,s.listener?s.listener:s),v=r._events),g=v[o]),g===void 0)g=v[o]=s,++r._eventsCount;else if(typeof g=="function"?g=v[o]=m?[s,g]:[g,s]:m?g.unshift(s):g.push(s),p=Uw(r),p>0&&g.length>p&&!g.warned){g.warned=!0;var T=new Error("Possible EventEmitter memory leak detected. "+g.length+" "+String(o)+" listeners added. Use emitter.setMaxListeners() to increase limit");T.name="MaxListenersExceededWarning",T.emitter=r,T.type=o,T.count=g.length,wQ(T)}return r}rn.prototype.addListener=function(r,o){return jw(this,r,o,!1)};rn.prototype.on=rn.prototype.addListener;rn.prototype.prependListener=function(r,o){return jw(this,r,o,!0)};function SQ(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function zw(r,o,s){var m={fired:!1,wrapFn:void 0,target:r,type:o,listener:s},p=SQ.bind(m);return p.listener=s,m.wrapFn=p,p}rn.prototype.once=function(r,o){return Yy(o),this.on(r,zw(this,r,o)),this};rn.prototype.prependOnceListener=function(r,o){return Yy(o),this.prependListener(r,zw(this,r,o)),this};rn.prototype.removeListener=function(r,o){var s,m,p,v,g;if(Yy(o),m=this._events,m===void 0)return this;if(s=m[r],s===void 0)return this;if(s===o||s.listener===o)--this._eventsCount===0?this._events=Object.create(null):(delete m[r],m.removeListener&&this.emit("removeListener",r,s.listener||o));else if(typeof s!="function"){for(p=-1,v=s.length-1;v>=0;v--)if(s[v]===o||s[v].listener===o){g=s[v].listener,p=v;break}if(p<0)return this;p===0?s.shift():EQ(s,p),s.length===1&&(m[r]=s[0]),m.removeListener!==void 0&&this.emit("removeListener",r,g||o)}return this};rn.prototype.off=rn.prototype.removeListener;rn.prototype.removeAllListeners=function(r){var o,s,m;if(s=this._events,s===void 0)return this;if(s.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):s[r]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete s[r]),this;if(arguments.length===0){var p=Object.keys(s),v;for(m=0;m<p.length;++m)v=p[m],v!=="removeListener"&&this.removeAllListeners(v);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(o=s[r],typeof o=="function")this.removeListener(r,o);else if(o!==void 0)for(m=o.length-1;m>=0;m--)this.removeListener(r,o[m]);return this};function Bw(r,o,s){var m=r._events;if(m===void 0)return[];var p=m[o];return p===void 0?[]:typeof p=="function"?s?[p.listener||p]:[p]:s?NQ(p):Vw(p,p.length)}rn.prototype.listeners=function(r){return Bw(this,r,!0)};rn.prototype.rawListeners=function(r){return Bw(this,r,!1)};rn.listenerCount=function(r,o){return typeof r.listenerCount=="function"?r.listenerCount(o):Fw.call(r,o)};rn.prototype.listenerCount=Fw;function Fw(r){var o=this._events;if(o!==void 0){var s=o[r];if(typeof s=="function")return 1;if(s!==void 0)return s.length}return 0}rn.prototype.eventNames=function(){return this._eventsCount>0?dy(this._events):[]};function Vw(r,o){for(var s=new Array(o),m=0;m<o;++m)s[m]=r[m];return s}function EQ(r,o){for(;o+1<r.length;o++)r[o]=r[o+1];r.pop()}function NQ(r){for(var o=new Array(r.length),s=0;s<o.length;++s)o[s]=r[s].listener||r[s];return o}function MQ(r,o){return new Promise(function(s,m){function p(g){r.removeListener(o,v),m(g)}function v(){typeof r.removeListener=="function"&&r.removeListener("error",p),s([].slice.call(arguments))}Yw(r,o,v,{once:!0}),o!=="error"&&IQ(r,p,{once:!0})})}function IQ(r,o,s){typeof r.on=="function"&&Yw(r,"error",o,s)}function Yw(r,o,s,m){if(typeof r.on=="function")m.once?r.once(o,s):r.on(o,s);else if(typeof r.addEventListener=="function")r.addEventListener(o,function p(v){m.once&&r.removeEventListener(o,p),s(v)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof r)}var Qw=i8.exports,Qy={},Gw={},Hw=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var r={},o=Symbol("test"),s=Object(o);if(typeof o=="string"||Object.prototype.toString.call(o)!=="[object Symbol]"||Object.prototype.toString.call(s)!=="[object Symbol]")return!1;var m=42;r[o]=m;for(o in r)return!1;if(typeof Object.keys=="function"&&Object.keys(r).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(r).length!==0)return!1;var p=Object.getOwnPropertySymbols(r);if(p.length!==1||p[0]!==o||!Object.prototype.propertyIsEnumerable.call(r,o))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var v=Object.getOwnPropertyDescriptor(r,o);if(v.value!==m||v.enumerable!==!0)return!1}return!0},_Q=Hw,s8=function(){return _Q()&&!!Symbol.toStringTag},I9=typeof Symbol<"u"&&Symbol,CQ=Hw,AQ=function(){return typeof I9!="function"||typeof Symbol!="function"||typeof I9("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:CQ()},_9={foo:{}},OQ=Object,xQ=function(){return{__proto__:_9}.foo===_9.foo&&!({__proto__:null}instanceof OQ)},LQ="Function.prototype.bind called on incompatible ",RQ=Object.prototype.toString,DQ=Math.max,PQ="[object Function]",C9=function(r,o){for(var s=[],m=0;m<r.length;m+=1)s[m]=r[m];for(var p=0;p<o.length;p+=1)s[p+r.length]=o[p];return s},UQ=function(r,o){for(var s=[],m=o||0,p=0;m<r.length;m+=1,p+=1)s[p]=r[m];return s},jQ=function(r,o){for(var s="",m=0;m<r.length;m+=1)s+=r[m],m+1<r.length&&(s+=o);return s},zQ=function(r){var o=this;if(typeof o!="function"||RQ.apply(o)!==PQ)throw new TypeError(LQ+o);for(var s=UQ(arguments,1),m,p=function(){if(this instanceof m){var C=o.apply(this,C9(s,arguments));return Object(C)===C?C:this}return o.apply(r,C9(s,arguments))},v=DQ(0,o.length-s.length),g=[],T=0;T<v;T++)g[T]="$"+T;if(m=Function("binder","return function ("+jQ(g,",")+"){ return binder.apply(this,arguments); }")(p),o.prototype){var I=function(){};I.prototype=o.prototype,m.prototype=new I,I.prototype=null}return m},BQ=zQ,$w=Function.prototype.bind||BQ,A9={}.hasOwnProperty,V4=Function.prototype.call,FQ=V4.bind?V4.bind(A9):function(r,o){return V4.call(A9,r,o)},jt,ip=SyntaxError,qw=Function,rp=TypeError,Y4=function(r){try{return qw('"use strict"; return ('+r+").constructor;")()}catch{}},Cc=Object.getOwnPropertyDescriptor;if(Cc)try{Cc({},"")}catch{Cc=null}var Q4=function(){throw new rp},VQ=Cc?function(){try{return arguments.callee,Q4}catch{try{return Cc(arguments,"callee").get}catch{return Q4}}}():Q4,Qf=AQ(),YQ=xQ(),kr=Object.getPrototypeOf||(YQ?function(r){return r.__proto__}:null),Hf={},QQ=typeof Uint8Array>"u"||!kr?jt:kr(Uint8Array),Ac={"%AggregateError%":typeof AggregateError>"u"?jt:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?jt:ArrayBuffer,"%ArrayIteratorPrototype%":Qf&&kr?kr([][Symbol.iterator]()):jt,"%AsyncFromSyncIteratorPrototype%":jt,"%AsyncFunction%":Hf,"%AsyncGenerator%":Hf,"%AsyncGeneratorFunction%":Hf,"%AsyncIteratorPrototype%":Hf,"%Atomics%":typeof Atomics>"u"?jt:Atomics,"%BigInt%":typeof BigInt>"u"?jt:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?jt:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?jt:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?jt:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?jt:Float32Array,"%Float64Array%":typeof Float64Array>"u"?jt:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?jt:FinalizationRegistry,"%Function%":qw,"%GeneratorFunction%":Hf,"%Int8Array%":typeof Int8Array>"u"?jt:Int8Array,"%Int16Array%":typeof Int16Array>"u"?jt:Int16Array,"%Int32Array%":typeof Int32Array>"u"?jt:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Qf&&kr?kr(kr([][Symbol.iterator]())):jt,"%JSON%":typeof JSON=="object"?JSON:jt,"%Map%":typeof Map>"u"?jt:Map,"%MapIteratorPrototype%":typeof Map>"u"||!Qf||!kr?jt:kr(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?jt:Promise,"%Proxy%":typeof Proxy>"u"?jt:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?jt:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?jt:Set,"%SetIteratorPrototype%":typeof Set>"u"||!Qf||!kr?jt:kr(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?jt:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Qf&&kr?kr(""[Symbol.iterator]()):jt,"%Symbol%":Qf?Symbol:jt,"%SyntaxError%":ip,"%ThrowTypeError%":VQ,"%TypedArray%":QQ,"%TypeError%":rp,"%Uint8Array%":typeof Uint8Array>"u"?jt:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?jt:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?jt:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?jt:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?jt:WeakMap,"%WeakRef%":typeof WeakRef>"u"?jt:WeakRef,"%WeakSet%":typeof WeakSet>"u"?jt:WeakSet};if(kr)try{null.error}catch(r){var GQ=kr(kr(r));Ac["%Error.prototype%"]=GQ}var HQ=function r(o){var s;if(o==="%AsyncFunction%")s=Y4("async function () {}");else if(o==="%GeneratorFunction%")s=Y4("function* () {}");else if(o==="%AsyncGeneratorFunction%")s=Y4("async function* () {}");else if(o==="%AsyncGenerator%"){var m=r("%AsyncGeneratorFunction%");m&&(s=m.prototype)}else if(o==="%AsyncIteratorPrototype%"){var p=r("%AsyncGenerator%");p&&kr&&(s=kr(p.prototype))}return Ac[o]=s,s},O9={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},F1=$w,Sy=FQ,$Q=F1.call(Function.call,Array.prototype.concat),qQ=F1.call(Function.apply,Array.prototype.splice),x9=F1.call(Function.call,String.prototype.replace),Ey=F1.call(Function.call,String.prototype.slice),WQ=F1.call(Function.call,RegExp.prototype.exec),KQ=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,ZQ=/\\(\\)?/g,JQ=function(r){var o=Ey(r,0,1),s=Ey(r,-1);if(o==="%"&&s!=="%")throw new ip("invalid intrinsic syntax, expected closing `%`");if(s==="%"&&o!=="%")throw new ip("invalid intrinsic syntax, expected opening `%`");var m=[];return x9(r,KQ,function(p,v,g,T){m[m.length]=g?x9(T,ZQ,"$1"):v||p}),m},XQ=function(r,o){var s=r,m;if(Sy(O9,s)&&(m=O9[s],s="%"+m[0]+"%"),Sy(Ac,s)){var p=Ac[s];if(p===Hf&&(p=HQ(s)),typeof p>"u"&&!o)throw new rp("intrinsic "+r+" exists, but is not available. Please file an issue!");return{alias:m,name:s,value:p}}throw new ip("intrinsic "+r+" does not exist!")},dp=function(r,o){if(typeof r!="string"||r.length===0)throw new rp("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof o!="boolean")throw new rp('"allowMissing" argument must be a boolean');if(WQ(/^%?[^%]*%?$/,r)===null)throw new ip("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var s=JQ(r),m=s.length>0?s[0]:"",p=XQ("%"+m+"%",o),v=p.name,g=p.value,T=!1,I=p.alias;I&&(m=I[0],qQ(s,$Q([0,1],I)));for(var C=1,D=!0;C<s.length;C+=1){var R=s[C],x=Ey(R,0,1),j=Ey(R,-1);if((x==='"'||x==="'"||x==="`"||j==='"'||j==="'"||j==="`")&&x!==j)throw new ip("property names with quotes must have matching quotes");if((R==="constructor"||!D)&&(T=!0),m+="."+R,v="%"+m+"%",Sy(Ac,v))g=Ac[v];else if(g!=null){if(!(R in g)){if(!o)throw new rp("base intrinsic for "+r+" exists, but the property is not available.");return}if(Cc&&C+1>=s.length){var Q=Cc(g,R);D=!!Q,D&&"get"in Q&&!("originalValue"in Q.get)?g=Q.get:g=g[R]}else D=Sy(g,R),g=g[R];D&&!T&&(Ac[v]=g)}}return g},Ww={exports:{}},eG=dp,wT=eG("%Object.defineProperty%",!0),ST=function(){if(wT)try{return wT({},"a",{value:1}),!0}catch{return!1}return!1};ST.hasArrayLengthDefineBug=function(){if(!ST())return null;try{return wT([],"length",{value:1}).length!==1}catch{return!0}};var Kw=ST,tG=dp,fy=tG("%Object.getOwnPropertyDescriptor%",!0);if(fy)try{fy([],"length")}catch{fy=null}var l8=fy,nG=Kw(),u8=dp,R1=nG&&u8("%Object.defineProperty%",!0);if(R1)try{R1({},"a",{value:1})}catch{R1=!1}var rG=u8("%SyntaxError%"),Gf=u8("%TypeError%"),L9=l8,aG=function(r,o,s){if(!r||typeof r!="object"&&typeof r!="function")throw new Gf("`obj` must be an object or a function`");if(typeof o!="string"&&typeof o!="symbol")throw new Gf("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new Gf("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new Gf("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new Gf("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new Gf("`loose`, if provided, must be a boolean");var m=arguments.length>3?arguments[3]:null,p=arguments.length>4?arguments[4]:null,v=arguments.length>5?arguments[5]:null,g=arguments.length>6?arguments[6]:!1,T=!!L9&&L9(r,o);if(R1)R1(r,o,{configurable:v===null&&T?T.configurable:!v,enumerable:m===null&&T?T.enumerable:!m,value:s,writable:p===null&&T?T.writable:!p});else if(g||!m&&!p&&!v)r[o]=s;else throw new rG("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},Zw=dp,R9=aG,oG=Kw(),D9=l8,P9=Zw("%TypeError%"),iG=Zw("%Math.floor%"),sG=function(r,o){if(typeof r!="function")throw new P9("`fn` is not a function");if(typeof o!="number"||o<0||o>4294967295||iG(o)!==o)throw new P9("`length` must be a positive 32-bit integer");var s=arguments.length>2&&!!arguments[2],m=!0,p=!0;if("length"in r&&D9){var v=D9(r,"length");v&&!v.configurable&&(m=!1),v&&!v.writable&&(p=!1)}return(m||p||!s)&&(oG?R9(r,"length",o,!0,!0):R9(r,"length",o)),r};(function(r){var o=$w,s=dp,m=sG,p=s("%TypeError%"),v=s("%Function.prototype.apply%"),g=s("%Function.prototype.call%"),T=s("%Reflect.apply%",!0)||o.call(g,v),I=s("%Object.defineProperty%",!0),C=s("%Math.max%");if(I)try{I({},"a",{value:1})}catch{I=null}r.exports=function(R){if(typeof R!="function")throw new p("a function is required");var x=T(o,g,arguments);return m(x,1+C(0,R.length-(arguments.length-1)),!0)};var D=function(){return T(o,v,arguments)};I?I(r.exports,"apply",{value:D}):r.exports.apply=D})(Ww);var Jw=Ww.exports,Xw=dp,eS=Jw,lG=eS(Xw("String.prototype.indexOf")),tS=function(r,o){var s=Xw(r,!!o);return typeof s=="function"&&lG(r,".prototype.")>-1?eS(s):s},uG=s8(),cG=tS,ET=cG("Object.prototype.toString"),Gy=function(r){return uG&&r&&typeof r=="object"&&Symbol.toStringTag in r?!1:ET(r)==="[object Arguments]"},nS=function(r){return Gy(r)?!0:r!==null&&typeof r=="object"&&typeof r.length=="number"&&r.length>=0&&ET(r)!=="[object Array]"&&ET(r.callee)==="[object Function]"},dG=function(){return Gy(arguments)}();Gy.isLegacyArguments=nS;var fG=dG?Gy:nS,pG=Object.prototype.toString,mG=Function.prototype.toString,hG=/^\s*(?:function)?\*/,rS=s8(),G4=Object.getPrototypeOf,gG=function(){if(!rS)return!1;try{return Function("return function*() {}")()}catch{}},H4,yG=function(r){if(typeof r!="function")return!1;if(hG.test(mG.call(r)))return!0;if(!rS){var o=pG.call(r);return o==="[object GeneratorFunction]"}if(!G4)return!1;if(typeof H4>"u"){var s=gG();H4=s?G4(s):!1}return G4(r)===H4},aS=Function.prototype.toString,Wf=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,NT,py;if(typeof Wf=="function"&&typeof Object.defineProperty=="function")try{NT=Object.defineProperty({},"length",{get:function(){throw py}}),py={},Wf(function(){throw 42},null,NT)}catch(r){r!==py&&(Wf=null)}else Wf=null;var vG=/^\s*class\b/,MT=function(r){try{var o=aS.call(r);return vG.test(o)}catch{return!1}},$4=function(r){try{return MT(r)?!1:(aS.call(r),!0)}catch{return!1}},my=Object.prototype.toString,TG="[object Object]",kG="[object Function]",bG="[object GeneratorFunction]",wG="[object HTMLAllCollection]",SG="[object HTML document.all class]",EG="[object HTMLCollection]",NG=typeof Symbol=="function"&&!!Symbol.toStringTag,MG=!(0 in[,]),IT=function(){return!1};if(typeof document=="object"){var IG=document.all;my.call(IG)===my.call(document.all)&&(IT=function(r){if((MG||!r)&&(typeof r>"u"||typeof r=="object"))try{var o=my.call(r);return(o===wG||o===SG||o===EG||o===TG)&&r("")==null}catch{}return!1})}var _G=Wf?function(r){if(IT(r))return!0;if(!r||typeof r!="function"&&typeof r!="object")return!1;try{Wf(r,null,NT)}catch(o){if(o!==py)return!1}return!MT(r)&&$4(r)}:function(r){if(IT(r))return!0;if(!r||typeof r!="function"&&typeof r!="object")return!1;if(NG)return $4(r);if(MT(r))return!1;var o=my.call(r);return o!==kG&&o!==bG&&!/^\[object HTML/.test(o)?!1:$4(r)},CG=_G,AG=Object.prototype.toString,oS=Object.prototype.hasOwnProperty,OG=function(r,o,s){for(var m=0,p=r.length;m<p;m++)oS.call(r,m)&&(s==null?o(r[m],m,r):o.call(s,r[m],m,r))},xG=function(r,o,s){for(var m=0,p=r.length;m<p;m++)s==null?o(r.charAt(m),m,r):o.call(s,r.charAt(m),m,r)},LG=function(r,o,s){for(var m in r)oS.call(r,m)&&(s==null?o(r[m],m,r):o.call(s,r[m],m,r))},RG=function(r,o,s){if(!CG(o))throw new TypeError("iterator must be a function");var m;arguments.length>=3&&(m=s),AG.call(r)==="[object Array]"?OG(r,o,m):typeof r=="string"?xG(r,o,m):LG(r,o,m)},DG=RG,q4=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],PG=typeof globalThis>"u"?Sw:globalThis,UG=function(){for(var r=[],o=0;o<q4.length;o++)typeof PG[q4[o]]=="function"&&(r[r.length]=q4[o]);return r},Ny=DG,jG=UG,U9=Jw,c8=tS,hy=l8,zG=c8("Object.prototype.toString"),iS=s8(),j9=typeof globalThis>"u"?Sw:globalThis,_T=jG(),d8=c8("String.prototype.slice"),W4=Object.getPrototypeOf,BG=c8("Array.prototype.indexOf",!0)||function(r,o){for(var s=0;s<r.length;s+=1)if(r[s]===o)return s;return-1},My={__proto__:null};iS&&hy&&W4?Ny(_T,function(r){var o=new j9[r];if(Symbol.toStringTag in o){var s=W4(o),m=hy(s,Symbol.toStringTag);if(!m){var p=W4(s);m=hy(p,Symbol.toStringTag)}My["$"+r]=U9(m.get)}}):Ny(_T,function(r){var o=new j9[r],s=o.slice||o.set;s&&(My["$"+r]=U9(s))});var FG=function(r){var o=!1;return Ny(My,function(s,m){if(!o)try{"$"+s(r)===m&&(o=d8(m,1))}catch{}}),o},VG=function(r){var o=!1;return Ny(My,function(s,m){if(!o)try{s(r),o=d8(m,1)}catch{}}),o},sS=function(r){if(!r||typeof r!="object")return!1;if(!iS){var o=d8(zG(r),8,-1);return BG(_T,o)>-1?o:o!=="Object"?!1:VG(r)}return hy?FG(r):null},YG=sS,QG=function(r){return!!YG(r)};(function(r){var o=fG,s=yG,m=sS,p=QG;function v(ve){return ve.call.bind(ve)}var g=typeof BigInt<"u",T=typeof Symbol<"u",I=v(Object.prototype.toString),C=v(Number.prototype.valueOf),D=v(String.prototype.valueOf),R=v(Boolean.prototype.valueOf);if(g)var x=v(BigInt.prototype.valueOf);if(T)var j=v(Symbol.prototype.valueOf);function Q(ve,Hn){if(typeof ve!="object")return!1;try{return Hn(ve),!0}catch{return!1}}r.isArgumentsObject=o,r.isGeneratorFunction=s,r.isTypedArray=p;function W(ve){return typeof Promise<"u"&&ve instanceof Promise||ve!==null&&typeof ve=="object"&&typeof ve.then=="function"&&typeof ve.catch=="function"}r.isPromise=W;function le(ve){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(ve):p(ve)||ce(ve)}r.isArrayBufferView=le;function G(ve){return m(ve)==="Uint8Array"}r.isUint8Array=G;function se(ve){return m(ve)==="Uint8ClampedArray"}r.isUint8ClampedArray=se;function te(ve){return m(ve)==="Uint16Array"}r.isUint16Array=te;function ue(ve){return m(ve)==="Uint32Array"}r.isUint32Array=ue;function Z(ve){return m(ve)==="Int8Array"}r.isInt8Array=Z;function ye(ve){return m(ve)==="Int16Array"}r.isInt16Array=ye;function fe(ve){return m(ve)==="Int32Array"}r.isInt32Array=fe;function De(ve){return m(ve)==="Float32Array"}r.isFloat32Array=De;function He(ve){return m(ve)==="Float64Array"}r.isFloat64Array=He;function ht(ve){return m(ve)==="BigInt64Array"}r.isBigInt64Array=ht;function ct(ve){return m(ve)==="BigUint64Array"}r.isBigUint64Array=ct;function yt(ve){return I(ve)==="[object Map]"}yt.working=typeof Map<"u"&&yt(new Map);function $e(ve){return typeof Map>"u"?!1:yt.working?yt(ve):ve instanceof Map}r.isMap=$e;function at(ve){return I(ve)==="[object Set]"}at.working=typeof Set<"u"&&at(new Set);function It(ve){return typeof Set>"u"?!1:at.working?at(ve):ve instanceof Set}r.isSet=It;function Dt(ve){return I(ve)==="[object WeakMap]"}Dt.working=typeof WeakMap<"u"&&Dt(new WeakMap);function wn(ve){return typeof WeakMap>"u"?!1:Dt.working?Dt(ve):ve instanceof WeakMap}r.isWeakMap=wn;function _e(ve){return I(ve)==="[object WeakSet]"}_e.working=typeof WeakSet<"u"&&_e(new WeakSet);function ze(ve){return _e(ve)}r.isWeakSet=ze;function xe(ve){return I(ve)==="[object ArrayBuffer]"}xe.working=typeof ArrayBuffer<"u"&&xe(new ArrayBuffer);function Ee(ve){return typeof ArrayBuffer>"u"?!1:xe.working?xe(ve):ve instanceof ArrayBuffer}r.isArrayBuffer=Ee;function V(ve){return I(ve)==="[object DataView]"}V.working=typeof ArrayBuffer<"u"&&typeof DataView<"u"&&V(new DataView(new ArrayBuffer(1),0,1));function ce(ve){return typeof DataView>"u"?!1:V.working?V(ve):ve instanceof DataView}r.isDataView=ce;var be=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:void 0;function Ze(ve){return I(ve)==="[object SharedArrayBuffer]"}function dt(ve){return typeof be>"u"?!1:(typeof Ze.working>"u"&&(Ze.working=Ze(new be)),Ze.working?Ze(ve):ve instanceof be)}r.isSharedArrayBuffer=dt;function ft(ve){return I(ve)==="[object AsyncFunction]"}r.isAsyncFunction=ft;function Qe(ve){return I(ve)==="[object Map Iterator]"}r.isMapIterator=Qe;function rt(ve){return I(ve)==="[object Set Iterator]"}r.isSetIterator=rt;function wt(ve){return I(ve)==="[object Generator]"}r.isGeneratorObject=wt;function Gt(ve){return I(ve)==="[object WebAssembly.Module]"}r.isWebAssemblyCompiledModule=Gt;function tn(ve){return Q(ve,C)}r.isNumberObject=tn;function Tt(ve){return Q(ve,D)}r.isStringObject=Tt;function Ct(ve){return Q(ve,R)}r.isBooleanObject=Ct;function yn(ve){return g&&Q(ve,x)}r.isBigIntObject=yn;function In(ve){return T&&Q(ve,j)}r.isSymbolObject=In;function nn(ve){return tn(ve)||Tt(ve)||Ct(ve)||yn(ve)||In(ve)}r.isBoxedPrimitive=nn;function tr(ve){return typeof Uint8Array<"u"&&(Ee(ve)||dt(ve))}r.isAnyArrayBuffer=tr,["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(ve){Object.defineProperty(r,ve,{enumerable:!1,value:function(){throw new Error(ve+" is not supported in userland")}})})})(Gw);var GG=function(r){return r&&typeof r=="object"&&typeof r.copy=="function"&&typeof r.fill=="function"&&typeof r.readUInt8=="function"},CT={exports:{}};typeof Object.create=="function"?CT.exports=function(r,o){o&&(r.super_=o,r.prototype=Object.create(o.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}))}:CT.exports=function(r,o){if(o){r.super_=o;var s=function(){};s.prototype=o.prototype,r.prototype=new s,r.prototype.constructor=r}};var HG=CT.exports;(function(r){var o=Object.getOwnPropertyDescriptors||function(V){for(var ce=Object.keys(V),be={},Ze=0;Ze<ce.length;Ze++)be[ce[Ze]]=Object.getOwnPropertyDescriptor(V,ce[Ze]);return be},s=/%[sdj%]/g;r.format=function(V){if(!Z(V)){for(var ce=[],be=0;be<arguments.length;be++)ce.push(g(arguments[be]));return ce.join(" ")}for(var be=1,Ze=arguments,dt=Ze.length,ft=String(V).replace(s,function(wt){if(wt==="%%")return"%";if(be>=dt)return wt;switch(wt){case"%s":return String(Ze[be++]);case"%d":return Number(Ze[be++]);case"%j":try{return JSON.stringify(Ze[be++])}catch{return"[Circular]"}default:return wt}}),Qe=Ze[be];be<dt;Qe=Ze[++be])se(Qe)||!He(Qe)?ft+=" "+Qe:ft+=" "+g(Qe);return ft},r.deprecate=function(V,ce){if(typeof Mt.process<"u"&&Mt.process.noDeprecation===!0)return V;if(typeof Mt.process>"u")return function(){return r.deprecate(V,ce).apply(this,arguments)};var be=!1;function Ze(){if(!be){if(Mt.process.throwDeprecation)throw new Error(ce);Mt.process.traceDeprecation?console.trace(ce):console.error(ce),be=!0}return V.apply(this,arguments)}return Ze};var m={},p=/^$/;if(Mt.process.env.NODE_DEBUG){var v=Mt.process.env.NODE_DEBUG;v=v.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),p=new RegExp("^"+v+"$","i")}r.debuglog=function(V){if(V=V.toUpperCase(),!m[V])if(p.test(V)){var ce=Mt.process.pid;m[V]=function(){var be=r.format.apply(r,arguments);console.error("%s %d: %s",V,ce,be)}}else m[V]=function(){};return m[V]};function g(V,ce){var be={seen:[],stylize:I};return arguments.length>=3&&(be.depth=arguments[2]),arguments.length>=4&&(be.colors=arguments[3]),G(ce)?be.showHidden=ce:ce&&r._extend(be,ce),fe(be.showHidden)&&(be.showHidden=!1),fe(be.depth)&&(be.depth=2),fe(be.colors)&&(be.colors=!1),fe(be.customInspect)&&(be.customInspect=!0),be.colors&&(be.stylize=T),D(be,V,be.depth)}r.inspect=g,g.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},g.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function T(V,ce){var be=g.styles[ce];return be?"\x1B["+g.colors[be][0]+"m"+V+"\x1B["+g.colors[be][1]+"m":V}function I(V,ce){return V}function C(V){var ce={};return V.forEach(function(be,Ze){ce[be]=!0}),ce}function D(V,ce,be){if(V.customInspect&&ce&&yt(ce.inspect)&&ce.inspect!==r.inspect&&!(ce.constructor&&ce.constructor.prototype===ce)){var Ze=ce.inspect(be,V);return Z(Ze)||(Ze=D(V,Ze,be)),Ze}var dt=R(V,ce);if(dt)return dt;var ft=Object.keys(ce),Qe=C(ft);if(V.showHidden&&(ft=Object.getOwnPropertyNames(ce)),ct(ce)&&(ft.indexOf("message")>=0||ft.indexOf("description")>=0))return x(ce);if(ft.length===0){if(yt(ce)){var rt=ce.name?": "+ce.name:"";return V.stylize("[Function"+rt+"]","special")}if(De(ce))return V.stylize(RegExp.prototype.toString.call(ce),"regexp");if(ht(ce))return V.stylize(Date.prototype.toString.call(ce),"date");if(ct(ce))return x(ce)}var wt="",Gt=!1,tn=["{","}"];if(le(ce)&&(Gt=!0,tn=["[","]"]),yt(ce)){var Tt=ce.name?": "+ce.name:"";wt=" [Function"+Tt+"]"}if(De(ce)&&(wt=" "+RegExp.prototype.toString.call(ce)),ht(ce)&&(wt=" "+Date.prototype.toUTCString.call(ce)),ct(ce)&&(wt=" "+x(ce)),ft.length===0&&(!Gt||ce.length==0))return tn[0]+wt+tn[1];if(be<0)return De(ce)?V.stylize(RegExp.prototype.toString.call(ce),"regexp"):V.stylize("[Object]","special");V.seen.push(ce);var Ct;return Gt?Ct=j(V,ce,be,Qe,ft):Ct=ft.map(function(yn){return Q(V,ce,be,Qe,yn,Gt)}),V.seen.pop(),W(Ct,wt,tn)}function R(V,ce){if(fe(ce))return V.stylize("undefined","undefined");if(Z(ce)){var be="'"+JSON.stringify(ce).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return V.stylize(be,"string")}if(ue(ce))return V.stylize(""+ce,"number");if(G(ce))return V.stylize(""+ce,"boolean");if(se(ce))return V.stylize("null","null")}function x(V){return"["+Error.prototype.toString.call(V)+"]"}function j(V,ce,be,Ze,dt){for(var ft=[],Qe=0,rt=ce.length;Qe<rt;++Qe)_e(ce,String(Qe))?ft.push(Q(V,ce,be,Ze,String(Qe),!0)):ft.push("");return dt.forEach(function(wt){wt.match(/^\d+$/)||ft.push(Q(V,ce,be,Ze,wt,!0))}),ft}function Q(V,ce,be,Ze,dt,ft){var Qe,rt,wt;if(wt=Object.getOwnPropertyDescriptor(ce,dt)||{value:ce[dt]},wt.get?wt.set?rt=V.stylize("[Getter/Setter]","special"):rt=V.stylize("[Getter]","special"):wt.set&&(rt=V.stylize("[Setter]","special")),_e(Ze,dt)||(Qe="["+dt+"]"),rt||(V.seen.indexOf(wt.value)<0?(se(be)?rt=D(V,wt.value,null):rt=D(V,wt.value,be-1),rt.indexOf(`
175
175
  `)>-1&&(ft?rt=rt.split(`
176
176
  `).map(function(Gt){return" "+Gt}).join(`
177
177
  `).slice(2):rt=`
@@ -180,9 +180,9 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
180
180
  `))):rt=V.stylize("[Circular]","special")),fe(Qe)){if(ft&&dt.match(/^\d+$/))return rt;Qe=JSON.stringify(""+dt),Qe.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(Qe=Qe.slice(1,-1),Qe=V.stylize(Qe,"name")):(Qe=Qe.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),Qe=V.stylize(Qe,"string"))}return Qe+": "+rt}function W(V,ce,be){var Ze=V.reduce(function(dt,ft){return ft.indexOf(`
181
181
  `)>=0,dt+ft.replace(/\u001b\[\d\d?m/g,"").length+1},0);return Ze>60?be[0]+(ce===""?"":ce+`
182
182
  `)+" "+V.join(`,
183
- `)+" "+be[1]:be[0]+ce+" "+V.join(", ")+" "+be[1]}r.types=Gw;function le(V){return Array.isArray(V)}r.isArray=le;function G(V){return typeof V=="boolean"}r.isBoolean=G;function se(V){return V===null}r.isNull=se;function te(V){return V==null}r.isNullOrUndefined=te;function ue(V){return typeof V=="number"}r.isNumber=ue;function Z(V){return typeof V=="string"}r.isString=Z;function ye(V){return typeof V=="symbol"}r.isSymbol=ye;function fe(V){return V===void 0}r.isUndefined=fe;function De(V){return He(V)&&at(V)==="[object RegExp]"}r.isRegExp=De,r.types.isRegExp=De;function He(V){return typeof V=="object"&&V!==null}r.isObject=He;function ht(V){return He(V)&&at(V)==="[object Date]"}r.isDate=ht,r.types.isDate=ht;function ct(V){return He(V)&&(at(V)==="[object Error]"||V instanceof Error)}r.isError=ct,r.types.isNativeError=ct;function yt(V){return typeof V=="function"}r.isFunction=yt;function $e(V){return V===null||typeof V=="boolean"||typeof V=="number"||typeof V=="string"||typeof V=="symbol"||typeof V>"u"}r.isPrimitive=$e,r.isBuffer=QG;function at(V){return Object.prototype.toString.call(V)}function It(V){return V<10?"0"+V.toString(10):V.toString(10)}var Dt=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function wn(){var V=new Date,ce=[It(V.getHours()),It(V.getMinutes()),It(V.getSeconds())].join(":");return[V.getDate(),Dt[V.getMonth()],ce].join(" ")}r.log=function(){console.log("%s - %s",wn(),r.format.apply(r,arguments))},r.inherits=GG,r._extend=function(V,ce){if(!ce||!He(ce))return V;for(var be=Object.keys(ce),Ze=be.length;Ze--;)V[be[Ze]]=ce[be[Ze]];return V};function _e(V,ce){return Object.prototype.hasOwnProperty.call(V,ce)}var ze=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;r.promisify=function(V){if(typeof V!="function")throw new TypeError('The "original" argument must be of type Function');if(ze&&V[ze]){var ce=V[ze];if(typeof ce!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(ce,ze,{value:ce,enumerable:!1,writable:!1,configurable:!0}),ce}function ce(){for(var be,Ze,dt=new Promise(function(rt,wt){be=rt,Ze=wt}),ft=[],Qe=0;Qe<arguments.length;Qe++)ft.push(arguments[Qe]);ft.push(function(rt,wt){rt?Ze(rt):be(wt)});try{V.apply(this,ft)}catch(rt){Ze(rt)}return dt}return Object.setPrototypeOf(ce,Object.getPrototypeOf(V)),ze&&Object.defineProperty(ce,ze,{value:ce,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(ce,o(V))},r.promisify.custom=ze;function xe(V,ce){if(!V){var be=new Error("Promise was rejected with a falsy value");be.reason=V,V=be}return ce(V)}function Ee(V){if(typeof V!="function")throw new TypeError('The "original" argument must be of type Function');function ce(){for(var be=[],Ze=0;Ze<arguments.length;Ze++)be.push(arguments[Ze]);var dt=be.pop();if(typeof dt!="function")throw new TypeError("The last argument must be of type Function");var ft=this,Qe=function(){return dt.apply(ft,arguments)};V.apply(this,be).then(function(rt){Mt.process.nextTick(Qe.bind(null,null,rt))},function(rt){Mt.process.nextTick(xe.bind(null,rt,Qe))})}return Object.setPrototypeOf(ce,Object.getPrototypeOf(V)),Object.defineProperties(ce,o(V)),ce}r.callbackify=Ee})(Qy);const{inherits:HG,format:K4}=Qy;function kc(r,o,s=Error){if(!r)throw new Error("Avvio error code must not be empty");if(!o)throw new Error("Avvio base error message must not be empty");function m(p,v,g){if(!new.target)return new m(p,v,g);Error.captureStackTrace(this,m),this.code=r,this.message=o,this.name="AvvioError",p&&v&&g?this.message=K4(o,p,v,g):p&&v?this.message=K4(o,p,v):p?this.message=K4(o,p):this.message=o}return m.prototype[Symbol.toStringTag]="Error",m.prototype.toString=function(){return`${this.name} [${this.code}]: ${this.message}`},HG(m,s),m}var lS={createError:kc,AVV_ERR_EXPOSE_ALREADY_DEFINED:kc("AVV_ERR_EXPOSE_ALREADY_DEFINED","'%s' () is already defined, specify an expose option"),AVV_ERR_CALLBACK_NOT_FN:kc("AVV_ERR_CALLBACK_NOT_FN","Callback for '%s' hook is not a function. Received: '%s'"),AVV_ERR_PLUGIN_NOT_VALID:kc("AVV_ERR_PLUGIN_NOT_VALID","Plugin must be a function or a promise. Received: '%s'"),AVV_ERR_ROOT_PLG_BOOTED:kc("AVV_ERR_PLUGIN_NOT_VALID","Root plugin has already booted"),AVV_ERR_PARENT_PLG_LOADED:kc("AVV_ERR_PARENT_PLG_LOADED","Impossible to load '%s' plugin because the parent '%s' was already loaded"),AVV_ERR_READY_TIMEOUT:kc("AVV_ERR_READY_TIMEOUT","Plugin did not start in time: '%s'. You may have forgotten to call 'done' function or to resolve a Promise")},$G=function r(o,s,m){s===void 0&&(s=""),m||(m={});var p=function(I){var C={"│":"|","└":"`","├":"+","─":"-","┬":"-"};return m.unicode===!1?C[I]:I};typeof o=="string"&&(o={label:o});var v=o.nodes||[],g=(o.label||"").split(`
183
+ `)+" "+be[1]:be[0]+ce+" "+V.join(", ")+" "+be[1]}r.types=Gw;function le(V){return Array.isArray(V)}r.isArray=le;function G(V){return typeof V=="boolean"}r.isBoolean=G;function se(V){return V===null}r.isNull=se;function te(V){return V==null}r.isNullOrUndefined=te;function ue(V){return typeof V=="number"}r.isNumber=ue;function Z(V){return typeof V=="string"}r.isString=Z;function ye(V){return typeof V=="symbol"}r.isSymbol=ye;function fe(V){return V===void 0}r.isUndefined=fe;function De(V){return He(V)&&at(V)==="[object RegExp]"}r.isRegExp=De,r.types.isRegExp=De;function He(V){return typeof V=="object"&&V!==null}r.isObject=He;function ht(V){return He(V)&&at(V)==="[object Date]"}r.isDate=ht,r.types.isDate=ht;function ct(V){return He(V)&&(at(V)==="[object Error]"||V instanceof Error)}r.isError=ct,r.types.isNativeError=ct;function yt(V){return typeof V=="function"}r.isFunction=yt;function $e(V){return V===null||typeof V=="boolean"||typeof V=="number"||typeof V=="string"||typeof V=="symbol"||typeof V>"u"}r.isPrimitive=$e,r.isBuffer=GG;function at(V){return Object.prototype.toString.call(V)}function It(V){return V<10?"0"+V.toString(10):V.toString(10)}var Dt=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function wn(){var V=new Date,ce=[It(V.getHours()),It(V.getMinutes()),It(V.getSeconds())].join(":");return[V.getDate(),Dt[V.getMonth()],ce].join(" ")}r.log=function(){console.log("%s - %s",wn(),r.format.apply(r,arguments))},r.inherits=HG,r._extend=function(V,ce){if(!ce||!He(ce))return V;for(var be=Object.keys(ce),Ze=be.length;Ze--;)V[be[Ze]]=ce[be[Ze]];return V};function _e(V,ce){return Object.prototype.hasOwnProperty.call(V,ce)}var ze=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;r.promisify=function(V){if(typeof V!="function")throw new TypeError('The "original" argument must be of type Function');if(ze&&V[ze]){var ce=V[ze];if(typeof ce!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(ce,ze,{value:ce,enumerable:!1,writable:!1,configurable:!0}),ce}function ce(){for(var be,Ze,dt=new Promise(function(rt,wt){be=rt,Ze=wt}),ft=[],Qe=0;Qe<arguments.length;Qe++)ft.push(arguments[Qe]);ft.push(function(rt,wt){rt?Ze(rt):be(wt)});try{V.apply(this,ft)}catch(rt){Ze(rt)}return dt}return Object.setPrototypeOf(ce,Object.getPrototypeOf(V)),ze&&Object.defineProperty(ce,ze,{value:ce,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(ce,o(V))},r.promisify.custom=ze;function xe(V,ce){if(!V){var be=new Error("Promise was rejected with a falsy value");be.reason=V,V=be}return ce(V)}function Ee(V){if(typeof V!="function")throw new TypeError('The "original" argument must be of type Function');function ce(){for(var be=[],Ze=0;Ze<arguments.length;Ze++)be.push(arguments[Ze]);var dt=be.pop();if(typeof dt!="function")throw new TypeError("The last argument must be of type Function");var ft=this,Qe=function(){return dt.apply(ft,arguments)};V.apply(this,be).then(function(rt){Mt.process.nextTick(Qe.bind(null,null,rt))},function(rt){Mt.process.nextTick(xe.bind(null,rt,Qe))})}return Object.setPrototypeOf(ce,Object.getPrototypeOf(V)),Object.defineProperties(ce,o(V)),ce}r.callbackify=Ee})(Qy);const{inherits:$G,format:K4}=Qy;function kc(r,o,s=Error){if(!r)throw new Error("Avvio error code must not be empty");if(!o)throw new Error("Avvio base error message must not be empty");function m(p,v,g){if(!new.target)return new m(p,v,g);Error.captureStackTrace(this,m),this.code=r,this.message=o,this.name="AvvioError",p&&v&&g?this.message=K4(o,p,v,g):p&&v?this.message=K4(o,p,v):p?this.message=K4(o,p):this.message=o}return m.prototype[Symbol.toStringTag]="Error",m.prototype.toString=function(){return`${this.name} [${this.code}]: ${this.message}`},$G(m,s),m}var lS={createError:kc,AVV_ERR_EXPOSE_ALREADY_DEFINED:kc("AVV_ERR_EXPOSE_ALREADY_DEFINED","'%s' () is already defined, specify an expose option"),AVV_ERR_CALLBACK_NOT_FN:kc("AVV_ERR_CALLBACK_NOT_FN","Callback for '%s' hook is not a function. Received: '%s'"),AVV_ERR_PLUGIN_NOT_VALID:kc("AVV_ERR_PLUGIN_NOT_VALID","Plugin must be a function or a promise. Received: '%s'"),AVV_ERR_ROOT_PLG_BOOTED:kc("AVV_ERR_PLUGIN_NOT_VALID","Root plugin has already booted"),AVV_ERR_PARENT_PLG_LOADED:kc("AVV_ERR_PARENT_PLG_LOADED","Impossible to load '%s' plugin because the parent '%s' was already loaded"),AVV_ERR_READY_TIMEOUT:kc("AVV_ERR_READY_TIMEOUT","Plugin did not start in time: '%s'. You may have forgotten to call 'done' function or to resolve a Promise")},qG=function r(o,s,m){s===void 0&&(s=""),m||(m={});var p=function(I){var C={"│":"|","└":"`","├":"+","─":"-","┬":"-"};return m.unicode===!1?C[I]:I};typeof o=="string"&&(o={label:o});var v=o.nodes||[],g=(o.label||"").split(`
184
184
  `),T=`
185
185
  `+s+(v.length?p("│"):" ")+" ";return s+g.join(T)+`
186
- `+v.map(function(I,C){var D=C===v.length-1,R=I.nodes&&I.nodes.length,x=s+(D?" ":p("│"))+" ";return s+p(D?"└":"├")+p("─")+p(R?"┬":"─")+" "+r(I,x,m).slice(s.length+2)}).join("")};const qG=$G,z9=Symbol("avvio.TimeTree.untrackNode"),Z4=Symbol("avvio.TimeTree.trackNode"),B9=Symbol("avvio.TimeTree.getParent"),F9=Symbol("avvio.TimeTree.getNode"),V9=Symbol("avvio.TimeTree.addNode");let WG=class{constructor(){this.root=null,this.tableId=new Map,this.tableLabel=new Map}[Z4](r){this.tableId.set(r.id,r),this.tableLabel.has(r.label)?this.tableLabel.get(r.label).push(r):this.tableLabel.set(r.label,[r])}[z9](r){this.tableId.delete(r.id);const o=this.tableLabel.get(r.label);if(o.id){this.tableLabel.delete(r.label);return}o.pop(),o.length===0&&this.tableLabel.delete(r.label)}[B9](r){if(r===null)return this.root;const o=this.tableLabel.get(r);return o.id?o:o[o.length-1]}[F9](r){return this.tableId.get(r)}[V9](r,o,s){if(r===null)return this.root={id:"root",label:o,start:s,nodes:[]},this[Z4](this.root),this.root.id;const m=this[B9](r),p=`${o}-${Math.random()}`,v={id:p,parent:r,start:s,label:o,nodes:[]};return m.nodes.push(v),this[Z4](v),p}start(r,o,s=Date.now()){return this[V9](r,o,s)}stop(r,o=Date.now()){const s=this[F9](r);s&&(s.stop=o,s.diff=s.stop-s.start||0,this[z9](s))}toJSON(){return Object.assign({},this.root)}prittyPrint(){const r=s=>(s.label=`${s.label} ${s.diff} ms`,s.nodes.length>0&&(s.nodes=s.nodes.map(m=>r(m))),s),o=r(this.toJSON());return qG(o)}};var KG=WG,f8={exports:{}},AT={exports:{}},J4,Y9;function ZG(){if(Y9)return J4;Y9=1;var r=1e3,o=r*60,s=o*60,m=s*24,p=m*7,v=m*365.25;J4=function(D,R){R=R||{};var x=typeof D;if(x==="string"&&D.length>0)return g(D);if(x==="number"&&isFinite(D))return R.long?I(D):T(D);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(D))};function g(D){if(D=String(D),!(D.length>100)){var R=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(D);if(R){var x=parseFloat(R[1]),j=(R[2]||"ms").toLowerCase();switch(j){case"years":case"year":case"yrs":case"yr":case"y":return x*v;case"weeks":case"week":case"w":return x*p;case"days":case"day":case"d":return x*m;case"hours":case"hour":case"hrs":case"hr":case"h":return x*s;case"minutes":case"minute":case"mins":case"min":case"m":return x*o;case"seconds":case"second":case"secs":case"sec":case"s":return x*r;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return x;default:return}}}}function T(D){var R=Math.abs(D);return R>=m?Math.round(D/m)+"d":R>=s?Math.round(D/s)+"h":R>=o?Math.round(D/o)+"m":R>=r?Math.round(D/r)+"s":D+"ms"}function I(D){var R=Math.abs(D);return R>=m?C(D,R,m,"day"):R>=s?C(D,R,s,"hour"):R>=o?C(D,R,o,"minute"):R>=r?C(D,R,r,"second"):D+" ms"}function C(D,R,x,j){var Q=R>=x*1.5;return Math.round(D/x)+" "+j+(Q?"s":"")}return J4}function JG(r){s.debug=s,s.default=s,s.coerce=I,s.disable=v,s.enable=p,s.enabled=g,s.humanize=ZG(),s.destroy=C,Object.keys(r).forEach(D=>{s[D]=r[D]}),s.names=[],s.skips=[],s.formatters={};function o(D){let R=0;for(let x=0;x<D.length;x++)R=(R<<5)-R+D.charCodeAt(x),R|=0;return s.colors[Math.abs(R)%s.colors.length]}s.selectColor=o;function s(D){let R,x=null,j,Q;function W(...le){if(!W.enabled)return;const G=W,se=Number(new Date),te=se-(R||se);G.diff=te,G.prev=R,G.curr=se,R=se,le[0]=s.coerce(le[0]),typeof le[0]!="string"&&le.unshift("%O");let ue=0;le[0]=le[0].replace(/%([a-zA-Z%])/g,(Z,ye)=>{if(Z==="%%")return"%";ue++;const fe=s.formatters[ye];if(typeof fe=="function"){const De=le[ue];Z=fe.call(G,De),le.splice(ue,1),ue--}return Z}),s.formatArgs.call(G,le),(G.log||s.log).apply(G,le)}return W.namespace=D,W.useColors=s.useColors(),W.color=s.selectColor(D),W.extend=m,W.destroy=s.destroy,Object.defineProperty(W,"enabled",{enumerable:!0,configurable:!1,get:()=>x!==null?x:(j!==s.namespaces&&(j=s.namespaces,Q=s.enabled(D)),Q),set:le=>{x=le}}),typeof s.init=="function"&&s.init(W),W}function m(D,R){const x=s(this.namespace+(typeof R>"u"?":":R)+D);return x.log=this.log,x}function p(D){s.save(D),s.namespaces=D,s.names=[],s.skips=[];let R;const x=(typeof D=="string"?D:"").split(/[\s,]+/),j=x.length;for(R=0;R<j;R++)x[R]&&(D=x[R].replace(/\*/g,".*?"),D[0]==="-"?s.skips.push(new RegExp("^"+D.slice(1)+"$")):s.names.push(new RegExp("^"+D+"$")))}function v(){const D=[...s.names.map(T),...s.skips.map(T).map(R=>"-"+R)].join(",");return s.enable(""),D}function g(D){if(D[D.length-1]==="*")return!0;let R,x;for(R=0,x=s.skips.length;R<x;R++)if(s.skips[R].test(D))return!1;for(R=0,x=s.names.length;R<x;R++)if(s.names[R].test(D))return!0;return!1}function T(D){return D.toString().substring(2,D.toString().length-2).replace(/\.\*\?$/,"*")}function I(D){return D instanceof Error?D.stack||D.message:D}function C(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return s.enable(s.load()),s}var XG=JG;(function(r,o){o.formatArgs=m,o.save=p,o.load=v,o.useColors=s,o.storage=g(),o.destroy=(()=>{let I=!1;return()=>{I||(I=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),o.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function s(){return typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)?!0:typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)?!1:typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function m(I){if(I[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+I[0]+(this.useColors?"%c ":" ")+"+"+r.exports.humanize(this.diff),!this.useColors)return;const C="color: "+this.color;I.splice(1,0,C,"color: inherit");let D=0,R=0;I[0].replace(/%[a-zA-Z%]/g,x=>{x!=="%%"&&(D++,x==="%c"&&(R=D))}),I.splice(R,0,C)}o.log=console.debug||console.log||(()=>{});function p(I){try{I?o.storage.setItem("debug",I):o.storage.removeItem("debug")}catch{}}function v(){let I;try{I=o.storage.getItem("debug")}catch{}return!I&&typeof Mt.process<"u"&&"env"in Mt.process&&(I=Mt.process.env.DEBUG),I}function g(){try{return localStorage}catch{}}r.exports=XG(o);const{formatters:T}=r.exports;T.j=function(I){try{return JSON.stringify(I)}catch(C){return"[UnexpectedJSONParseError]: "+C.message}}})(AT,AT.exports);var uS=AT.exports;const eH=Dw,tH=Qw.EventEmitter,nH=Qy.inherits,Pr=uS("avvio"),{AVV_ERR_READY_TIMEOUT:rH}=lS,X4=Symbol.for("plugin-meta");function aH(r,o){return r[X4]&&r[X4].name?r[X4].name:typeof o<"u"&&typeof o!="function"&&o.name?o.name:r.name?r.name:r.toString().split(`
187
- `).slice(0,2).map(s=>s.trim()).join(" -- ")}function oH(){const r={};return r.promise=new Promise((o,s)=>{r.resolve=o,r.reject=s}),r}function fp(r,o,s,m,p){this.started=!1,this.func=o,this.opts=s,this.onFinish=null,this.parent=r,this.timeout=p===void 0?r._timeout:p,this.name=aH(o,s),this.isAfter=m,this.q=eH(r,iH,1),this.q.pause(),this._error=null,this.loaded=!1,this._promise=null}nH(fp,tH);fp.prototype.exec=function(r,o){const s=this.func;let m=!1;const p=this.name;if(this.parent._error&&!this.isAfter){Pr("skipping loading of plugin as parent errored and it is not an after",p),Mt.process.nextTick(o);return}if(this.isAfter)this.server=r;else try{this.server=this.parent.override(r,s,this.opts)}catch(I){return Pr("override errored",p),o(I)}this.opts=typeof this.opts=="function"?this.opts(this.server):this.opts,Pr("exec",p);let v;const g=I=>{if(m){Pr("loading complete",p);return}this._error=I,Pr(I?"exec errored":"exec completed",p),m=!0,v&&clearTimeout(v),o(I)};this.timeout>0&&(Pr("setting up timeout",p,this.timeout),v=setTimeout(function(){Pr("timed out",p),v=null;const I=new rH(p);I.fn=s,g(I)},this.timeout)),this.started=!0,this.emit("start",this.server?this.server.name:null,this.name,Date.now());const T=s(this.server,this.opts,g);T&&typeof T.then=="function"&&(Pr("exec: resolving promise",p),T.then(()=>Mt.process.nextTick(g),I=>Mt.process.nextTick(g,I)))};fp.prototype.loadedSoFar=function(){if(this.loaded)return Promise.resolve();const r=()=>{this.server.after((s,m)=>{this._error=s,this.q.pause(),s?(Pr("rejecting promise",this.name,s),this._promise.reject(s)):(Pr("resolving promise",this.name),this._promise.resolve()),this._promise=null,Mt.process.nextTick(m,s)}),this.q.resume()};let o;return this._promise?o=Promise.resolve():(this._promise=oH(),o=this._promise.promise,this.server?r():this.on("start",r)),o};fp.prototype.enqueue=function(r,o){Pr("enqueue",this.name,r.name),this.emit("enqueue",this.server?this.server.name:null,this.name,Date.now()),this.q.push(r,o)};fp.prototype.finish=function(r,o){Pr("finish",this.name,r);const s=()=>{this.loaded||(Pr("loaded",this.name),this.emit("loaded",this.server?this.server.name:null,this.name,Date.now()),this.loaded=!0,o(r))};if(r){this._promise&&(this._promise.reject(r),this._promise=null),s();return}const m=()=>{if(Pr("check",this.name,this.q.length(),this.q.running(),this._promise),this.q.length()===0&&this.q.running()===0)if(this._promise){const p=()=>{Pr("wrap"),queueMicrotask(m)};this._promise.resolve(),this._promise.promise.then(p,p),this._promise=null}else s();else Pr("delayed",this.name),this.q.drain=()=>{Pr("drain",this.name),this.q.drain=sH,queueMicrotask(m)}};queueMicrotask(m),this.q.resume()};function iH(r,o){const s=this;Mt.process.nextTick(p8.bind(s),r,o)}function p8(r,o){if(typeof r.func.then=="function"){r.func.then(m=>{typeof m.default=="function"&&(m=m.default),r.func=m,p8.call(this,r,o)},o);return}const s=this._current[0];this._current.unshift(r),r.exec(s&&s.server||this._server,m=>{r.finish(m,p=>{this._current.shift(),o(p)})})}function sH(){}f8.exports=fp;f8.exports.loadPlugin=p8;var lH=f8.exports;const Q9=Dw,uH=Qw.EventEmitter,cH=Qy.inherits,{AVV_ERR_EXPOSE_ALREADY_DEFINED:eT,AVV_ERR_CALLBACK_NOT_FN:D1,AVV_ERR_PLUGIN_NOT_VALID:dH,AVV_ERR_ROOT_PLG_BOOTED:fH,AVV_ERR_READY_TIMEOUT:pH}=lS,mH=KG,OT=lH,sp=uS("avvio"),Iy=Symbol("kAvvio"),tT=Symbol("kThenifyDoNotWrap");function hH(r,o,s){const m=o.expose||{},p=m.use||"use",v=m.after||"after",g=m.ready||"ready",T=m.onClose||"onClose",I=m.close||"close";if(r[p])throw new eT(p);if(r[v])throw new eT(v);if(r[g])throw new eT(g);r[p]=function(C,D){return s.use(C,D),this},Object.defineProperty(r,"then",{get:cS.bind(s)}),r[Iy]=!0,r[v]=function(C){return typeof C!="function"?s._loadRegistered():(s.after(nT(C,this)),this)},r[g]=function(C){if(C&&typeof C!="function")throw new D1(g,typeof C);return s.ready(C?nT(C,this):void 0)},r[T]=function(C){if(typeof C!="function")throw new D1(T,typeof C);return s.onClose(kH(C,this)),this},r[I]=function(C){if(C&&typeof C!="function")throw new D1(I,typeof C);return C?(s.close(nT(C,this)),this):s.close()}}function Sr(r,o,s){if(typeof r=="function"&&arguments.length===1&&(s=r,o={},r=null),typeof o=="function"&&(s=o,o={}),o=o||{},!(this instanceof Sr)){const m=new Sr(r,o,s);return r&&hH(r,o,m),m}o.autostart!==!1&&(o.autostart=!0),r=r||this,this._timeout=Number(o.timeout)||0,this._server=r,this._current=[],this._error=null,this._isOnCloseHandlerKey=Symbol("isOnCloseHandler"),this._lastUsed=null,this.setMaxListeners(0),s&&this.once("start",s),this.started=!1,this.booted=!1,this.pluginTree=new mH,this._readyQ=Q9(this,dS,1),this._readyQ.pause(),this._readyQ.drain=()=>{this.emit("start"),this._readyQ.drain=G9},this._closeQ=Q9(this,TH,1),this._closeQ.pause(),this._closeQ.drain=()=>{this.emit("close"),this._closeQ.drain=G9},this._doStart=null,this._root=new OT(this,gH.bind(this),o,!1,0),this._root.once("start",(m,p,v)=>{const g=this.pluginTree.start(null,p,v);this._root.once("loaded",(T,I,C)=>{this.pluginTree.stop(g,C)})}),OT.loadPlugin.call(this,this._root,m=>{sp("root plugin ready");try{this.emit("preReady"),this._root=null}catch(p){m=m||this._error||p}if(m){if(this._error=m,this._readyQ.length()===0)throw m}else this.booted=!0;this._readyQ.resume()})}function gH(r,o,s){this._doStart=s,o.autostart&&this.start()}cH(Sr,uH);Sr.prototype.start=function(){return this.started=!0,Mt.process.nextTick(this._doStart),this};Sr.prototype.override=function(r,o,s){return r};function yH(r){if(r&&typeof r=="object"&&typeof r.default=="function"&&(r=r.default),!(r&&(typeof r=="function"||typeof r.then=="function")))throw new dH(typeof r);return r}Sr.prototype[Iy]=!0;Sr.prototype.use=function(r,o){return this._lastUsed=this._addPlugin(r,o,!1),this};Sr.prototype._loadRegistered=function(){const r=this._current[0];return!this.started&&!this.booted&&Mt.process.nextTick(()=>this._root.q.resume()),r?r.loadedSoFar():Promise.resolve()};Object.defineProperty(Sr.prototype,"then",{get:cS});Sr.prototype._addPlugin=function(r,o,s){if(r=yH(r),o=o||{},this.booted)throw new fH;const m=this._current[0],p=new OT(this,r,o,s);if(p.once("start",(v,g,T)=>{const I=this.pluginTree.start(m.name,g,T);p.once("loaded",(C,D,R)=>{this.pluginTree.stop(I,R)})}),m.loaded)throw new Error(p.name,m.name);return m.enqueue(p,v=>{v&&(this._error=v)}),p};Sr.prototype.after=function(r){if(!r)return this._loadRegistered();this._addPlugin(o.bind(this),{},!0);function o(s,m,p){dS.call(this,r,p)}return this};Sr.prototype.onClose=function(r){if(typeof r!="function")throw new Error("not a function");r[this._isOnCloseHandlerKey]=!0,this._closeQ.unshift(r,o.bind(this));function o(s){s&&(this._error=s)}return this};Sr.prototype.close=function(r){let o;if(r){if(typeof r!="function")throw new D1("close",typeof r)}else o=new Promise(function(s,m){r=function(p){if(p)return m(p);s()}});return this.ready(()=>{this._error=null,this._closeQ.push(r),Mt.process.nextTick(this._closeQ.resume.bind(this._closeQ))}),o};Sr.prototype.ready=function(r){if(r){if(typeof r!="function")throw new D1("ready",typeof r);this._readyQ.push(r),queueMicrotask(this.start.bind(this));return}return new Promise((o,s)=>{this._readyQ.push(p),this.start();const m=this._current[0].server;function p(v,g,T){v?s(v):o(m),Mt.process.nextTick(T)}})};Sr.prototype.prettyPrint=function(){return this.pluginTree.prittyPrint()};Sr.prototype.toJSON=function(){return this.pluginTree.toJSON()};function G9(){}function cS(){if(this.booted){sp("thenify returning null because we are already booted");return}if(this[tT]){this[tT]=!1;return}return sp("thenify"),(r,o)=>this._loadRegistered().then(()=>(this[tT]=!0,r(this._server)),o)}function dS(r,o){const s=this._server,m=this._error;let p;if(this._error=null,r.length===0)this._error=m,p=r(),p&&!p[Iy]&&typeof p.then=="function"?p.then(()=>Mt.process.nextTick(o),v=>Mt.process.nextTick(o,v)):Mt.process.nextTick(o);else if(r.length===1)p=r(m),p&&!p[Iy]&&typeof p.then=="function"?p.then(()=>Mt.process.nextTick(o),v=>Mt.process.nextTick(o,v)):Mt.process.nextTick(o);else if(this._timeout===0){const v=g=>{this._error=g,o(this._error)};r.length===2?r(m,v):r(m,s,v)}else vH.call(this,r,m,s,o)}function vH(r,o,s,m){const p=r.name;sp("setting up ready timeout",p,this._timeout);let v=setTimeout(()=>{sp("timed out",p),v=null;const T=new pH(p);T.fn=r,this._error=T,m(T)},this._timeout);r.length===2?r(o,g.bind(this)):r(o,s,g.bind(this));function g(T){v&&(clearTimeout(v),this._error=T,m(this._error))}}function TH(r,o){const s=this._server,m=r[this._isOnCloseHandlerKey];if(r.length===0||r.length===1){let p;m?p=r(s):p=r(this._error),p&&typeof p.then=="function"?(sp("resolving close/onClose promise"),p.then(()=>Mt.process.nextTick(o),v=>Mt.process.nextTick(o,v))):Mt.process.nextTick(o)}else r.length===2?r(m?s:this._error,o):m?r(s,o):r(this._error,s,o)}function kH(r,o){return s.bind(o);function s(m,p){let v;r.length===0?(v=r(),v&&v.then?v.then(function(){Mt.process.nextTick(p)},p):Mt.process.nextTick(p)):r.length===1?(v=r(this),v&&v.then?v.then(function(){Mt.process.nextTick(p)},p):Mt.process.nextTick(p)):r(this,p)}}function nT(r,o){return s.bind(o);function s(m,p){let v;r?r.length===0?(v=r(),v&&v.then?v.then(function(){Mt.process.nextTick(p,m)},p):Mt.process.nextTick(p,m)):r.length===1?(v=r(m),v&&v.then?v.then(function(){Mt.process.nextTick(p)},p):Mt.process.nextTick(p)):r.length===2?r(m,p):r(m,this,p):Mt.process.nextTick(p)}}a8.exports=Sr;a8.exports.express=function(r){return Sr(r,{expose:{use:"load"}})};var bH=a8.exports;const wH=rY(bH);function SH(r,o=!0,s=!0){const m=o?"https://grpc-sdk.streamlayer.io:443":"https://grpc-sdk.next.streamlayer.io:443",p=wH(Object.create({}),{autostart:!1});return p.use(jY),p.use(AY,{sdkKey:r,host:m}),p.use(UY),p.use(PY),p.use(hQ),p.use(nQ),s&&p.after(async(v,g,T)=>{if(v)throw v;await g.sdk.initializeApp(),T()}),p.onClose(()=>{console.log("close")}),p}const EH=(r,o,s,m)=>{const[p,v]=Ke.useState(null);return Ke.useEffect(()=>{let g=!1;if(!r)return console.error("streamlayer sdk key should be provided"),v(I=>(I!==null&&typeof I.disableApp=="function"&&I.disableApp(),null)),()=>{g=!0};const T=SH(r,s,m);if(o)for(const I of o)T.use(I);return T.ready().then(I=>{g||v(I.sdk)}).catch(I=>console.log(I)),()=>{g=!0,T.close(function(I){if(I)throw I})}},[r,s]),p};var fS=(r=>(r[r.UNSET=0]="UNSET",r[r.CONNECTED=1]="CONNECTED",r[r.READY=2]="READY",r))(fS||{});const m8=Ke.createContext({status:0,sdk:null}),NH=({sdkKey:r,plugins:o,children:s,production:m=!0,autoEnable:p=!0})=>{const v=EH(r,o,m,p),g=Ke.useMemo(()=>v?{sdk:v,status:2}:{status:1,sdk:null},[v]);return F.jsx(m8.Provider,{value:g,children:s})};const MH=({sdkKey:r,plugins:o,children:s,production:m=!0})=>F.jsx(NH,{sdkKey:r,plugins:o,production:m,autoEnable:!1,children:s}),IH=({children:r,overlays:o})=>{const{sdk:s,status:m}=Ke.useContext(m8);if(m===fS.UNSET)throw new Error("Wrap app in `StreamLayerProvider`");return s?F.jsx("div",{className:"StreamLayerSDK",children:F.jsx(q9,{style:{height:"100%"},children:F.jsx(Ij,{sdk:s,overlays:o,children:r})})}):r({})},pS=()=>{const{sdk:r}=Ke.useContext(m8);return r},_H=({token:r,schema:o})=>{const s=pS();return Ke.useEffect(()=>{r&&o&&s&&s.authorizationBypass(o,r)},[r,o,s]),null};var h8={},_y=function(){return _y=Object.assign||function(r){for(var o,s=1,m=arguments.length;s<m;s++)for(var p in o=arguments[s])Object.prototype.hasOwnProperty.call(o,p)&&(r[p]=o[p]);return r},_y.apply(this,arguments)},CH=function(){function r(o,s,m){var p=this;this.endVal=s,this.options=m,this.version="2.8.0",this.defaults={startVal:0,decimalPlaces:0,duration:2,useEasing:!0,useGrouping:!0,useIndianSeparators:!1,smartEasingThreshold:999,smartEasingAmount:333,separator:",",decimal:".",prefix:"",suffix:"",enableScrollSpy:!1,scrollSpyDelay:200,scrollSpyOnce:!1},this.finalEndVal=null,this.useEasing=!0,this.countDown=!1,this.error="",this.startVal=0,this.paused=!0,this.once=!1,this.count=function(v){p.startTime||(p.startTime=v);var g=v-p.startTime;p.remaining=p.duration-g,p.useEasing?p.countDown?p.frameVal=p.startVal-p.easingFn(g,0,p.startVal-p.endVal,p.duration):p.frameVal=p.easingFn(g,p.startVal,p.endVal-p.startVal,p.duration):p.frameVal=p.startVal+(p.endVal-p.startVal)*(g/p.duration);var T=p.countDown?p.frameVal<p.endVal:p.frameVal>p.endVal;p.frameVal=T?p.endVal:p.frameVal,p.frameVal=Number(p.frameVal.toFixed(p.options.decimalPlaces)),p.printValue(p.frameVal),g<p.duration?p.rAF=requestAnimationFrame(p.count):p.finalEndVal!==null?p.update(p.finalEndVal):p.options.onCompleteCallback&&p.options.onCompleteCallback()},this.formatNumber=function(v){var g,T,I,C,D=v<0?"-":"";g=Math.abs(v).toFixed(p.options.decimalPlaces);var R=(g+="").split(".");if(T=R[0],I=R.length>1?p.options.decimal+R[1]:"",p.options.useGrouping){C="";for(var x=3,j=0,Q=0,W=T.length;Q<W;++Q)p.options.useIndianSeparators&&Q===4&&(x=2,j=1),Q!==0&&j%x==0&&(C=p.options.separator+C),j++,C=T[W-Q-1]+C;T=C}return p.options.numerals&&p.options.numerals.length&&(T=T.replace(/[0-9]/g,function(le){return p.options.numerals[+le]}),I=I.replace(/[0-9]/g,function(le){return p.options.numerals[+le]})),D+p.options.prefix+T+I+p.options.suffix},this.easeOutExpo=function(v,g,T,I){return T*(1-Math.pow(2,-10*v/I))*1024/1023+g},this.options=_y(_y({},this.defaults),m),this.formattingFn=this.options.formattingFn?this.options.formattingFn:this.formatNumber,this.easingFn=this.options.easingFn?this.options.easingFn:this.easeOutExpo,this.startVal=this.validateValue(this.options.startVal),this.frameVal=this.startVal,this.endVal=this.validateValue(s),this.options.decimalPlaces=Math.max(this.options.decimalPlaces),this.resetDuration(),this.options.separator=String(this.options.separator),this.useEasing=this.options.useEasing,this.options.separator===""&&(this.options.useGrouping=!1),this.el=typeof o=="string"?document.getElementById(o):o,this.el?this.printValue(this.startVal):this.error="[CountUp] target is null or undefined",typeof window<"u"&&this.options.enableScrollSpy&&(this.error?console.error(this.error,o):(window.onScrollFns=window.onScrollFns||[],window.onScrollFns.push(function(){return p.handleScroll(p)}),window.onscroll=function(){window.onScrollFns.forEach(function(v){return v()})},this.handleScroll(this)))}return r.prototype.handleScroll=function(o){if(o&&window&&!o.once){var s=window.innerHeight+window.scrollY,m=o.el.getBoundingClientRect(),p=m.top+window.pageYOffset,v=m.top+m.height+window.pageYOffset;v<s&&v>window.scrollY&&o.paused?(o.paused=!1,setTimeout(function(){return o.start()},o.options.scrollSpyDelay),o.options.scrollSpyOnce&&(o.once=!0)):(window.scrollY>v||p>s)&&!o.paused&&o.reset()}},r.prototype.determineDirectionAndSmartEasing=function(){var o=this.finalEndVal?this.finalEndVal:this.endVal;this.countDown=this.startVal>o;var s=o-this.startVal;if(Math.abs(s)>this.options.smartEasingThreshold&&this.options.useEasing){this.finalEndVal=o;var m=this.countDown?1:-1;this.endVal=o+m*this.options.smartEasingAmount,this.duration=this.duration/2}else this.endVal=o,this.finalEndVal=null;this.finalEndVal!==null?this.useEasing=!1:this.useEasing=this.options.useEasing},r.prototype.start=function(o){this.error||(this.options.onStartCallback&&this.options.onStartCallback(),o&&(this.options.onCompleteCallback=o),this.duration>0?(this.determineDirectionAndSmartEasing(),this.paused=!1,this.rAF=requestAnimationFrame(this.count)):this.printValue(this.endVal))},r.prototype.pauseResume=function(){this.paused?(this.startTime=null,this.duration=this.remaining,this.startVal=this.frameVal,this.determineDirectionAndSmartEasing(),this.rAF=requestAnimationFrame(this.count)):cancelAnimationFrame(this.rAF),this.paused=!this.paused},r.prototype.reset=function(){cancelAnimationFrame(this.rAF),this.paused=!0,this.resetDuration(),this.startVal=this.validateValue(this.options.startVal),this.frameVal=this.startVal,this.printValue(this.startVal)},r.prototype.update=function(o){cancelAnimationFrame(this.rAF),this.startTime=null,this.endVal=this.validateValue(o),this.endVal!==this.frameVal&&(this.startVal=this.frameVal,this.finalEndVal==null&&this.resetDuration(),this.finalEndVal=null,this.determineDirectionAndSmartEasing(),this.rAF=requestAnimationFrame(this.count))},r.prototype.printValue=function(o){var s;if(this.el){var m=this.formattingFn(o);!((s=this.options.plugin)===null||s===void 0)&&s.render?this.options.plugin.render(this.el,m):this.el.tagName==="INPUT"?this.el.value=m:this.el.tagName==="text"||this.el.tagName==="tspan"?this.el.textContent=m:this.el.innerHTML=m}},r.prototype.ensureNumber=function(o){return typeof o=="number"&&!isNaN(o)},r.prototype.validateValue=function(o){var s=Number(o);return this.ensureNumber(s)?s:(this.error="[CountUp] invalid start or end value: ".concat(o),null)},r.prototype.resetDuration=function(){this.startTime=null,this.duration=1e3*Number(this.options.duration),this.remaining=this.duration},r}();const AH=Object.freeze(Object.defineProperty({__proto__:null,CountUp:CH},Symbol.toStringTag,{value:"Module"})),OH=bC(AH);Object.defineProperty(h8,"__esModule",{value:!0});var br=Ke,xH=OH;function LH(r,o){var s=r==null?null:typeof Symbol<"u"&&r[Symbol.iterator]||r["@@iterator"];if(s!=null){var m,p,v,g,T=[],I=!0,C=!1;try{if(v=(s=s.call(r)).next,o===0){if(Object(s)!==s)return;I=!1}else for(;!(I=(m=v.call(s)).done)&&(T.push(m.value),T.length!==o);I=!0);}catch(D){C=!0,p=D}finally{try{if(!I&&s.return!=null&&(g=s.return(),Object(g)!==g))return}finally{if(C)throw p}}return T}}function H9(r,o){var s=Object.keys(r);if(Object.getOwnPropertySymbols){var m=Object.getOwnPropertySymbols(r);o&&(m=m.filter(function(p){return Object.getOwnPropertyDescriptor(r,p).enumerable})),s.push.apply(s,m)}return s}function Cy(r){for(var o=1;o<arguments.length;o++){var s=arguments[o]!=null?arguments[o]:{};o%2?H9(Object(s),!0).forEach(function(m){RH(r,m,s[m])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(s)):H9(Object(s)).forEach(function(m){Object.defineProperty(r,m,Object.getOwnPropertyDescriptor(s,m))})}return r}function RH(r,o,s){return o=FH(o),o in r?Object.defineProperty(r,o,{value:s,enumerable:!0,configurable:!0,writable:!0}):r[o]=s,r}function xT(){return xT=Object.assign?Object.assign.bind():function(r){for(var o=1;o<arguments.length;o++){var s=arguments[o];for(var m in s)Object.prototype.hasOwnProperty.call(s,m)&&(r[m]=s[m])}return r},xT.apply(this,arguments)}function DH(r,o){if(r==null)return{};var s={},m=Object.keys(r),p,v;for(v=0;v<m.length;v++)p=m[v],!(o.indexOf(p)>=0)&&(s[p]=r[p]);return s}function mS(r,o){if(r==null)return{};var s=DH(r,o),m,p;if(Object.getOwnPropertySymbols){var v=Object.getOwnPropertySymbols(r);for(p=0;p<v.length;p++)m=v[p],!(o.indexOf(m)>=0)&&Object.prototype.propertyIsEnumerable.call(r,m)&&(s[m]=r[m])}return s}function PH(r,o){return UH(r)||LH(r,o)||jH(r,o)||zH()}function UH(r){if(Array.isArray(r))return r}function jH(r,o){if(r){if(typeof r=="string")return $9(r,o);var s=Object.prototype.toString.call(r).slice(8,-1);if(s==="Object"&&r.constructor&&(s=r.constructor.name),s==="Map"||s==="Set")return Array.from(r);if(s==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return $9(r,o)}}function $9(r,o){(o==null||o>r.length)&&(o=r.length);for(var s=0,m=new Array(o);s<o;s++)m[s]=r[s];return m}function zH(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
188
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function BH(r,o){if(typeof r!="object"||r===null)return r;var s=r[Symbol.toPrimitive];if(s!==void 0){var m=s.call(r,o||"default");if(typeof m!="object")return m;throw new TypeError("@@toPrimitive must return a primitive value.")}return(o==="string"?String:Number)(r)}function FH(r){var o=BH(r,"string");return typeof o=="symbol"?o:String(o)}var VH=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?br.useLayoutEffect:br.useEffect;function Jo(r){var o=br.useRef(r);return VH(function(){o.current=r}),br.useCallback(function(){for(var s=arguments.length,m=new Array(s),p=0;p<s;p++)m[p]=arguments[p];return o.current.apply(void 0,m)},[])}var YH=function(o,s){var m=s.decimal,p=s.decimals,v=s.duration,g=s.easingFn,T=s.end,I=s.formattingFn,C=s.numerals,D=s.prefix,R=s.separator,x=s.start,j=s.suffix,Q=s.useEasing,W=s.useGrouping,le=s.useIndianSeparators,G=s.enableScrollSpy,se=s.scrollSpyDelay,te=s.scrollSpyOnce,ue=s.plugin;return new xH.CountUp(o,T,{startVal:x,duration:v,decimal:m,decimalPlaces:p,easingFn:g,formattingFn:I,numerals:C,separator:R,prefix:D,suffix:j,plugin:ue,useEasing:Q,useIndianSeparators:le,useGrouping:W,enableScrollSpy:G,scrollSpyDelay:se,scrollSpyOnce:te})},QH=["ref","startOnMount","enableReinitialize","delay","onEnd","onStart","onPauseResume","onReset","onUpdate"],GH={decimal:".",separator:",",delay:null,prefix:"",suffix:"",duration:2,start:0,decimals:0,startOnMount:!0,enableReinitialize:!0,useEasing:!0,useGrouping:!0,useIndianSeparators:!1},hS=function(o){var s=Object.fromEntries(Object.entries(o).filter(function(He){var ht=PH(He,2),ct=ht[1];return ct!==void 0})),m=br.useMemo(function(){return Cy(Cy({},GH),s)},[o]),p=m.ref,v=m.startOnMount,g=m.enableReinitialize,T=m.delay,I=m.onEnd,C=m.onStart,D=m.onPauseResume,R=m.onReset,x=m.onUpdate,j=mS(m,QH),Q=br.useRef(),W=br.useRef(),le=br.useRef(!1),G=Jo(function(){return YH(typeof p=="string"?p:p.current,j)}),se=Jo(function(He){var ht=Q.current;if(ht&&!He)return ht;var ct=G();return Q.current=ct,ct}),te=Jo(function(){var He=function(){return se(!0).start(function(){I==null||I({pauseResume:ue,reset:Z,start:fe,update:ye})})};T&&T>0?W.current=setTimeout(He,T*1e3):He(),C==null||C({pauseResume:ue,reset:Z,update:ye})}),ue=Jo(function(){se().pauseResume(),D==null||D({reset:Z,start:fe,update:ye})}),Z=Jo(function(){se().el&&(W.current&&clearTimeout(W.current),se().reset(),R==null||R({pauseResume:ue,start:fe,update:ye}))}),ye=Jo(function(He){se().update(He),x==null||x({pauseResume:ue,reset:Z,start:fe})}),fe=Jo(function(){Z(),te()}),De=Jo(function(He){v&&(He&&Z(),te())});return br.useEffect(function(){le.current?g&&De(!0):(le.current=!0,De())},[g,le,De,T,o.start,o.suffix,o.prefix,o.duration,o.separator,o.decimals,o.decimal,o.formattingFn]),br.useEffect(function(){return function(){Z()}},[Z]),{start:fe,pauseResume:ue,reset:Z,update:ye,getCountUp:se}},HH=["className","redraw","containerProps","children","style"],$H=function(o){var s=o.className,m=o.redraw,p=o.containerProps,v=o.children,g=o.style,T=mS(o,HH),I=br.useRef(null),C=br.useRef(!1),D=hS(Cy(Cy({},T),{},{ref:I,startOnMount:typeof v!="function"||o.delay===0,enableReinitialize:!1})),R=D.start,x=D.reset,j=D.update,Q=D.pauseResume,W=D.getCountUp,le=Jo(function(){R()}),G=Jo(function(ue){o.preserveValue||x(),j(ue)}),se=Jo(function(){if(typeof o.children=="function"&&!(I.current instanceof Element)){console.error(`Couldn't find attached element to hook the CountUp instance into! Try to attach "containerRef" from the render prop to a an Element, eg. <span ref={containerRef} />.`);return}W()});br.useEffect(function(){se()},[se]),br.useEffect(function(){C.current&&G(o.end)},[o.end,G]);var te=m&&o;return br.useEffect(function(){m&&C.current&&le()},[le,m,te]),br.useEffect(function(){!m&&C.current&&le()},[le,m,o.start,o.suffix,o.prefix,o.duration,o.separator,o.decimals,o.decimal,o.className,o.formattingFn]),br.useEffect(function(){C.current=!0},[]),typeof v=="function"?v({countUpRef:I,start:R,reset:x,update:j,pauseResume:Q,getCountUp:W}):br.createElement("span",xT({className:s,ref:I,style:g},p),typeof o.start<"u"?W().formattingFn(o.start):"")},qH=h8.default=$H;h8.useCountUp=hS;const gS=({value:r=0,decimals:o,duration:s=1,preserveValue:m=!0,...p})=>{const[,v]=r.toString().split("."),g=o??((v==null?void 0:v.length)||0);return F.jsx(qH,{end:r,...p,duration:s,decimals:g,enableScrollSpy:!1,preserveValue:m})},WH=de("div")({name:"PointsContainer",class:"psiob9b",propsAsIs:!1}),KH=de("div")({name:"PointsIcon",class:"p1gqe4lh",propsAsIs:!1}),ZH=()=>hr,JH=de(ZH())({name:"PointsSvg",class:"p15syg2y",propsAsIs:!0}),XH=de("div")({name:"PointsBody",class:"p12n4f2h",propsAsIs:!1}),e$=de("div")({name:"PointsTitle",class:"poqmx89",propsAsIs:!1}),t$=de("div")({name:"PointsValue",class:"prj9b3v",propsAsIs:!1}),n$=({points:r})=>F.jsxs(WH,{className:aT,children:[F.jsx(KH,{children:F.jsx(JH,{name:"icon-trophy"})}),F.jsxs(XH,{children:[F.jsx(e$,{children:"Total points"}),F.jsx(t$,{children:F.jsx(gS,{value:r})})]})]}),r$=({userSummary:r})=>{const[o,s]=Ke.useState(0);return Ke.useEffect(()=>{const m=r.subscribe(p=>{var v,g;(g=(v=p.data)==null?void 0:v.summary)!=null&&g.points&&s(p.data.summary.points)});return()=>{m()}},[r]),F.jsx(n$,{points:o})},a$=({sdk:r})=>{if(qi(r.sdkStore.status)!=="ready")return null;const o=r.getFeature(Xn.GAMES);return o?F.jsx(r$,{userSummary:o.userSummary.getStore()}):null},o$=()=>{const r=pS();return r?F.jsx("div",{className:"StreamLayerSDK",children:F.jsx(q9,{children:F.jsx(a$,{sdk:r})})}):null};exports.E=rT;exports.MastersStreamLayerProvider=MH;exports.MastersStreamLayerSDKReact=IH;exports.O=W7;exports.PickHistoryStatus=T7;exports.Pk=Y7;exports.QuestionImages=lp;exports.QuestionStatus=ao;exports.QuestionType=Kt;exports.StreamLayerLogin=_H;exports.StreamLayerSDKPoints=o$;exports.a=ej;exports.c=K7;exports.d=gS;exports.getDefaultExportFromCjs=n7;exports.n=J7;exports.o=$T;exports.r=Z7;exports.r1=hr;exports.styled_default=de;exports.u=q7;exports.useStore=qi;exports.w=$7;exports.x=Uy;
186
+ `+v.map(function(I,C){var D=C===v.length-1,R=I.nodes&&I.nodes.length,x=s+(D?" ":p("│"))+" ";return s+p(D?"└":"├")+p("─")+p(R?"┬":"─")+" "+r(I,x,m).slice(s.length+2)}).join("")};const WG=qG,z9=Symbol("avvio.TimeTree.untrackNode"),Z4=Symbol("avvio.TimeTree.trackNode"),B9=Symbol("avvio.TimeTree.getParent"),F9=Symbol("avvio.TimeTree.getNode"),V9=Symbol("avvio.TimeTree.addNode");let KG=class{constructor(){this.root=null,this.tableId=new Map,this.tableLabel=new Map}[Z4](r){this.tableId.set(r.id,r),this.tableLabel.has(r.label)?this.tableLabel.get(r.label).push(r):this.tableLabel.set(r.label,[r])}[z9](r){this.tableId.delete(r.id);const o=this.tableLabel.get(r.label);if(o.id){this.tableLabel.delete(r.label);return}o.pop(),o.length===0&&this.tableLabel.delete(r.label)}[B9](r){if(r===null)return this.root;const o=this.tableLabel.get(r);return o.id?o:o[o.length-1]}[F9](r){return this.tableId.get(r)}[V9](r,o,s){if(r===null)return this.root={id:"root",label:o,start:s,nodes:[]},this[Z4](this.root),this.root.id;const m=this[B9](r),p=`${o}-${Math.random()}`,v={id:p,parent:r,start:s,label:o,nodes:[]};return m.nodes.push(v),this[Z4](v),p}start(r,o,s=Date.now()){return this[V9](r,o,s)}stop(r,o=Date.now()){const s=this[F9](r);s&&(s.stop=o,s.diff=s.stop-s.start||0,this[z9](s))}toJSON(){return Object.assign({},this.root)}prittyPrint(){const r=s=>(s.label=`${s.label} ${s.diff} ms`,s.nodes.length>0&&(s.nodes=s.nodes.map(m=>r(m))),s),o=r(this.toJSON());return WG(o)}};var ZG=KG,f8={exports:{}},AT={exports:{}},J4,Y9;function JG(){if(Y9)return J4;Y9=1;var r=1e3,o=r*60,s=o*60,m=s*24,p=m*7,v=m*365.25;J4=function(D,R){R=R||{};var x=typeof D;if(x==="string"&&D.length>0)return g(D);if(x==="number"&&isFinite(D))return R.long?I(D):T(D);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(D))};function g(D){if(D=String(D),!(D.length>100)){var R=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(D);if(R){var x=parseFloat(R[1]),j=(R[2]||"ms").toLowerCase();switch(j){case"years":case"year":case"yrs":case"yr":case"y":return x*v;case"weeks":case"week":case"w":return x*p;case"days":case"day":case"d":return x*m;case"hours":case"hour":case"hrs":case"hr":case"h":return x*s;case"minutes":case"minute":case"mins":case"min":case"m":return x*o;case"seconds":case"second":case"secs":case"sec":case"s":return x*r;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return x;default:return}}}}function T(D){var R=Math.abs(D);return R>=m?Math.round(D/m)+"d":R>=s?Math.round(D/s)+"h":R>=o?Math.round(D/o)+"m":R>=r?Math.round(D/r)+"s":D+"ms"}function I(D){var R=Math.abs(D);return R>=m?C(D,R,m,"day"):R>=s?C(D,R,s,"hour"):R>=o?C(D,R,o,"minute"):R>=r?C(D,R,r,"second"):D+" ms"}function C(D,R,x,j){var Q=R>=x*1.5;return Math.round(D/x)+" "+j+(Q?"s":"")}return J4}function XG(r){s.debug=s,s.default=s,s.coerce=I,s.disable=v,s.enable=p,s.enabled=g,s.humanize=JG(),s.destroy=C,Object.keys(r).forEach(D=>{s[D]=r[D]}),s.names=[],s.skips=[],s.formatters={};function o(D){let R=0;for(let x=0;x<D.length;x++)R=(R<<5)-R+D.charCodeAt(x),R|=0;return s.colors[Math.abs(R)%s.colors.length]}s.selectColor=o;function s(D){let R,x=null,j,Q;function W(...le){if(!W.enabled)return;const G=W,se=Number(new Date),te=se-(R||se);G.diff=te,G.prev=R,G.curr=se,R=se,le[0]=s.coerce(le[0]),typeof le[0]!="string"&&le.unshift("%O");let ue=0;le[0]=le[0].replace(/%([a-zA-Z%])/g,(Z,ye)=>{if(Z==="%%")return"%";ue++;const fe=s.formatters[ye];if(typeof fe=="function"){const De=le[ue];Z=fe.call(G,De),le.splice(ue,1),ue--}return Z}),s.formatArgs.call(G,le),(G.log||s.log).apply(G,le)}return W.namespace=D,W.useColors=s.useColors(),W.color=s.selectColor(D),W.extend=m,W.destroy=s.destroy,Object.defineProperty(W,"enabled",{enumerable:!0,configurable:!1,get:()=>x!==null?x:(j!==s.namespaces&&(j=s.namespaces,Q=s.enabled(D)),Q),set:le=>{x=le}}),typeof s.init=="function"&&s.init(W),W}function m(D,R){const x=s(this.namespace+(typeof R>"u"?":":R)+D);return x.log=this.log,x}function p(D){s.save(D),s.namespaces=D,s.names=[],s.skips=[];let R;const x=(typeof D=="string"?D:"").split(/[\s,]+/),j=x.length;for(R=0;R<j;R++)x[R]&&(D=x[R].replace(/\*/g,".*?"),D[0]==="-"?s.skips.push(new RegExp("^"+D.slice(1)+"$")):s.names.push(new RegExp("^"+D+"$")))}function v(){const D=[...s.names.map(T),...s.skips.map(T).map(R=>"-"+R)].join(",");return s.enable(""),D}function g(D){if(D[D.length-1]==="*")return!0;let R,x;for(R=0,x=s.skips.length;R<x;R++)if(s.skips[R].test(D))return!1;for(R=0,x=s.names.length;R<x;R++)if(s.names[R].test(D))return!0;return!1}function T(D){return D.toString().substring(2,D.toString().length-2).replace(/\.\*\?$/,"*")}function I(D){return D instanceof Error?D.stack||D.message:D}function C(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return s.enable(s.load()),s}var eH=XG;(function(r,o){o.formatArgs=m,o.save=p,o.load=v,o.useColors=s,o.storage=g(),o.destroy=(()=>{let I=!1;return()=>{I||(I=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),o.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function s(){return typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)?!0:typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)?!1:typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function m(I){if(I[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+I[0]+(this.useColors?"%c ":" ")+"+"+r.exports.humanize(this.diff),!this.useColors)return;const C="color: "+this.color;I.splice(1,0,C,"color: inherit");let D=0,R=0;I[0].replace(/%[a-zA-Z%]/g,x=>{x!=="%%"&&(D++,x==="%c"&&(R=D))}),I.splice(R,0,C)}o.log=console.debug||console.log||(()=>{});function p(I){try{I?o.storage.setItem("debug",I):o.storage.removeItem("debug")}catch{}}function v(){let I;try{I=o.storage.getItem("debug")}catch{}return!I&&typeof Mt.process<"u"&&"env"in Mt.process&&(I=Mt.process.env.DEBUG),I}function g(){try{return localStorage}catch{}}r.exports=eH(o);const{formatters:T}=r.exports;T.j=function(I){try{return JSON.stringify(I)}catch(C){return"[UnexpectedJSONParseError]: "+C.message}}})(AT,AT.exports);var uS=AT.exports;const tH=Dw,nH=Qw.EventEmitter,rH=Qy.inherits,Pr=uS("avvio"),{AVV_ERR_READY_TIMEOUT:aH}=lS,X4=Symbol.for("plugin-meta");function oH(r,o){return r[X4]&&r[X4].name?r[X4].name:typeof o<"u"&&typeof o!="function"&&o.name?o.name:r.name?r.name:r.toString().split(`
187
+ `).slice(0,2).map(s=>s.trim()).join(" -- ")}function iH(){const r={};return r.promise=new Promise((o,s)=>{r.resolve=o,r.reject=s}),r}function fp(r,o,s,m,p){this.started=!1,this.func=o,this.opts=s,this.onFinish=null,this.parent=r,this.timeout=p===void 0?r._timeout:p,this.name=oH(o,s),this.isAfter=m,this.q=tH(r,sH,1),this.q.pause(),this._error=null,this.loaded=!1,this._promise=null}rH(fp,nH);fp.prototype.exec=function(r,o){const s=this.func;let m=!1;const p=this.name;if(this.parent._error&&!this.isAfter){Pr("skipping loading of plugin as parent errored and it is not an after",p),Mt.process.nextTick(o);return}if(this.isAfter)this.server=r;else try{this.server=this.parent.override(r,s,this.opts)}catch(I){return Pr("override errored",p),o(I)}this.opts=typeof this.opts=="function"?this.opts(this.server):this.opts,Pr("exec",p);let v;const g=I=>{if(m){Pr("loading complete",p);return}this._error=I,Pr(I?"exec errored":"exec completed",p),m=!0,v&&clearTimeout(v),o(I)};this.timeout>0&&(Pr("setting up timeout",p,this.timeout),v=setTimeout(function(){Pr("timed out",p),v=null;const I=new aH(p);I.fn=s,g(I)},this.timeout)),this.started=!0,this.emit("start",this.server?this.server.name:null,this.name,Date.now());const T=s(this.server,this.opts,g);T&&typeof T.then=="function"&&(Pr("exec: resolving promise",p),T.then(()=>Mt.process.nextTick(g),I=>Mt.process.nextTick(g,I)))};fp.prototype.loadedSoFar=function(){if(this.loaded)return Promise.resolve();const r=()=>{this.server.after((s,m)=>{this._error=s,this.q.pause(),s?(Pr("rejecting promise",this.name,s),this._promise.reject(s)):(Pr("resolving promise",this.name),this._promise.resolve()),this._promise=null,Mt.process.nextTick(m,s)}),this.q.resume()};let o;return this._promise?o=Promise.resolve():(this._promise=iH(),o=this._promise.promise,this.server?r():this.on("start",r)),o};fp.prototype.enqueue=function(r,o){Pr("enqueue",this.name,r.name),this.emit("enqueue",this.server?this.server.name:null,this.name,Date.now()),this.q.push(r,o)};fp.prototype.finish=function(r,o){Pr("finish",this.name,r);const s=()=>{this.loaded||(Pr("loaded",this.name),this.emit("loaded",this.server?this.server.name:null,this.name,Date.now()),this.loaded=!0,o(r))};if(r){this._promise&&(this._promise.reject(r),this._promise=null),s();return}const m=()=>{if(Pr("check",this.name,this.q.length(),this.q.running(),this._promise),this.q.length()===0&&this.q.running()===0)if(this._promise){const p=()=>{Pr("wrap"),queueMicrotask(m)};this._promise.resolve(),this._promise.promise.then(p,p),this._promise=null}else s();else Pr("delayed",this.name),this.q.drain=()=>{Pr("drain",this.name),this.q.drain=lH,queueMicrotask(m)}};queueMicrotask(m),this.q.resume()};function sH(r,o){const s=this;Mt.process.nextTick(p8.bind(s),r,o)}function p8(r,o){if(typeof r.func.then=="function"){r.func.then(m=>{typeof m.default=="function"&&(m=m.default),r.func=m,p8.call(this,r,o)},o);return}const s=this._current[0];this._current.unshift(r),r.exec(s&&s.server||this._server,m=>{r.finish(m,p=>{this._current.shift(),o(p)})})}function lH(){}f8.exports=fp;f8.exports.loadPlugin=p8;var uH=f8.exports;const Q9=Dw,cH=Qw.EventEmitter,dH=Qy.inherits,{AVV_ERR_EXPOSE_ALREADY_DEFINED:eT,AVV_ERR_CALLBACK_NOT_FN:D1,AVV_ERR_PLUGIN_NOT_VALID:fH,AVV_ERR_ROOT_PLG_BOOTED:pH,AVV_ERR_READY_TIMEOUT:mH}=lS,hH=ZG,OT=uH,sp=uS("avvio"),Iy=Symbol("kAvvio"),tT=Symbol("kThenifyDoNotWrap");function gH(r,o,s){const m=o.expose||{},p=m.use||"use",v=m.after||"after",g=m.ready||"ready",T=m.onClose||"onClose",I=m.close||"close";if(r[p])throw new eT(p);if(r[v])throw new eT(v);if(r[g])throw new eT(g);r[p]=function(C,D){return s.use(C,D),this},Object.defineProperty(r,"then",{get:cS.bind(s)}),r[Iy]=!0,r[v]=function(C){return typeof C!="function"?s._loadRegistered():(s.after(nT(C,this)),this)},r[g]=function(C){if(C&&typeof C!="function")throw new D1(g,typeof C);return s.ready(C?nT(C,this):void 0)},r[T]=function(C){if(typeof C!="function")throw new D1(T,typeof C);return s.onClose(bH(C,this)),this},r[I]=function(C){if(C&&typeof C!="function")throw new D1(I,typeof C);return C?(s.close(nT(C,this)),this):s.close()}}function Sr(r,o,s){if(typeof r=="function"&&arguments.length===1&&(s=r,o={},r=null),typeof o=="function"&&(s=o,o={}),o=o||{},!(this instanceof Sr)){const m=new Sr(r,o,s);return r&&gH(r,o,m),m}o.autostart!==!1&&(o.autostart=!0),r=r||this,this._timeout=Number(o.timeout)||0,this._server=r,this._current=[],this._error=null,this._isOnCloseHandlerKey=Symbol("isOnCloseHandler"),this._lastUsed=null,this.setMaxListeners(0),s&&this.once("start",s),this.started=!1,this.booted=!1,this.pluginTree=new hH,this._readyQ=Q9(this,dS,1),this._readyQ.pause(),this._readyQ.drain=()=>{this.emit("start"),this._readyQ.drain=G9},this._closeQ=Q9(this,kH,1),this._closeQ.pause(),this._closeQ.drain=()=>{this.emit("close"),this._closeQ.drain=G9},this._doStart=null,this._root=new OT(this,yH.bind(this),o,!1,0),this._root.once("start",(m,p,v)=>{const g=this.pluginTree.start(null,p,v);this._root.once("loaded",(T,I,C)=>{this.pluginTree.stop(g,C)})}),OT.loadPlugin.call(this,this._root,m=>{sp("root plugin ready");try{this.emit("preReady"),this._root=null}catch(p){m=m||this._error||p}if(m){if(this._error=m,this._readyQ.length()===0)throw m}else this.booted=!0;this._readyQ.resume()})}function yH(r,o,s){this._doStart=s,o.autostart&&this.start()}dH(Sr,cH);Sr.prototype.start=function(){return this.started=!0,Mt.process.nextTick(this._doStart),this};Sr.prototype.override=function(r,o,s){return r};function vH(r){if(r&&typeof r=="object"&&typeof r.default=="function"&&(r=r.default),!(r&&(typeof r=="function"||typeof r.then=="function")))throw new fH(typeof r);return r}Sr.prototype[Iy]=!0;Sr.prototype.use=function(r,o){return this._lastUsed=this._addPlugin(r,o,!1),this};Sr.prototype._loadRegistered=function(){const r=this._current[0];return!this.started&&!this.booted&&Mt.process.nextTick(()=>this._root.q.resume()),r?r.loadedSoFar():Promise.resolve()};Object.defineProperty(Sr.prototype,"then",{get:cS});Sr.prototype._addPlugin=function(r,o,s){if(r=vH(r),o=o||{},this.booted)throw new pH;const m=this._current[0],p=new OT(this,r,o,s);if(p.once("start",(v,g,T)=>{const I=this.pluginTree.start(m.name,g,T);p.once("loaded",(C,D,R)=>{this.pluginTree.stop(I,R)})}),m.loaded)throw new Error(p.name,m.name);return m.enqueue(p,v=>{v&&(this._error=v)}),p};Sr.prototype.after=function(r){if(!r)return this._loadRegistered();this._addPlugin(o.bind(this),{},!0);function o(s,m,p){dS.call(this,r,p)}return this};Sr.prototype.onClose=function(r){if(typeof r!="function")throw new Error("not a function");r[this._isOnCloseHandlerKey]=!0,this._closeQ.unshift(r,o.bind(this));function o(s){s&&(this._error=s)}return this};Sr.prototype.close=function(r){let o;if(r){if(typeof r!="function")throw new D1("close",typeof r)}else o=new Promise(function(s,m){r=function(p){if(p)return m(p);s()}});return this.ready(()=>{this._error=null,this._closeQ.push(r),Mt.process.nextTick(this._closeQ.resume.bind(this._closeQ))}),o};Sr.prototype.ready=function(r){if(r){if(typeof r!="function")throw new D1("ready",typeof r);this._readyQ.push(r),queueMicrotask(this.start.bind(this));return}return new Promise((o,s)=>{this._readyQ.push(p),this.start();const m=this._current[0].server;function p(v,g,T){v?s(v):o(m),Mt.process.nextTick(T)}})};Sr.prototype.prettyPrint=function(){return this.pluginTree.prittyPrint()};Sr.prototype.toJSON=function(){return this.pluginTree.toJSON()};function G9(){}function cS(){if(this.booted){sp("thenify returning null because we are already booted");return}if(this[tT]){this[tT]=!1;return}return sp("thenify"),(r,o)=>this._loadRegistered().then(()=>(this[tT]=!0,r(this._server)),o)}function dS(r,o){const s=this._server,m=this._error;let p;if(this._error=null,r.length===0)this._error=m,p=r(),p&&!p[Iy]&&typeof p.then=="function"?p.then(()=>Mt.process.nextTick(o),v=>Mt.process.nextTick(o,v)):Mt.process.nextTick(o);else if(r.length===1)p=r(m),p&&!p[Iy]&&typeof p.then=="function"?p.then(()=>Mt.process.nextTick(o),v=>Mt.process.nextTick(o,v)):Mt.process.nextTick(o);else if(this._timeout===0){const v=g=>{this._error=g,o(this._error)};r.length===2?r(m,v):r(m,s,v)}else TH.call(this,r,m,s,o)}function TH(r,o,s,m){const p=r.name;sp("setting up ready timeout",p,this._timeout);let v=setTimeout(()=>{sp("timed out",p),v=null;const T=new mH(p);T.fn=r,this._error=T,m(T)},this._timeout);r.length===2?r(o,g.bind(this)):r(o,s,g.bind(this));function g(T){v&&(clearTimeout(v),this._error=T,m(this._error))}}function kH(r,o){const s=this._server,m=r[this._isOnCloseHandlerKey];if(r.length===0||r.length===1){let p;m?p=r(s):p=r(this._error),p&&typeof p.then=="function"?(sp("resolving close/onClose promise"),p.then(()=>Mt.process.nextTick(o),v=>Mt.process.nextTick(o,v))):Mt.process.nextTick(o)}else r.length===2?r(m?s:this._error,o):m?r(s,o):r(this._error,s,o)}function bH(r,o){return s.bind(o);function s(m,p){let v;r.length===0?(v=r(),v&&v.then?v.then(function(){Mt.process.nextTick(p)},p):Mt.process.nextTick(p)):r.length===1?(v=r(this),v&&v.then?v.then(function(){Mt.process.nextTick(p)},p):Mt.process.nextTick(p)):r(this,p)}}function nT(r,o){return s.bind(o);function s(m,p){let v;r?r.length===0?(v=r(),v&&v.then?v.then(function(){Mt.process.nextTick(p,m)},p):Mt.process.nextTick(p,m)):r.length===1?(v=r(m),v&&v.then?v.then(function(){Mt.process.nextTick(p)},p):Mt.process.nextTick(p)):r.length===2?r(m,p):r(m,this,p):Mt.process.nextTick(p)}}a8.exports=Sr;a8.exports.express=function(r){return Sr(r,{expose:{use:"load"}})};var wH=a8.exports;const SH=aY(wH);function EH(r,o=!0,s=!0){const m=o?"https://grpc-sdk.streamlayer.io:443":"https://grpc-sdk.next.streamlayer.io:443",p=SH(Object.create({}),{autostart:!1});return p.use(zY),p.use(OY,{sdkKey:r,host:m}),p.use(jY),p.use(UY),p.use(gQ),p.use(rQ),s&&p.after(async(v,g,T)=>{if(v)throw v;await g.sdk.initializeApp(),T()}),p.onClose(()=>{console.log("close")}),p}const NH=(r,o,s,m)=>{const[p,v]=Ke.useState(null);return Ke.useEffect(()=>{let g=!1;if(!r)return console.error("streamlayer sdk key should be provided"),v(I=>(I!==null&&typeof I.disableApp=="function"&&I.disableApp(),null)),()=>{g=!0};const T=EH(r,s,m);if(o)for(const I of o)T.use(I);return T.ready().then(I=>{g||v(I.sdk)}).catch(I=>console.log(I)),()=>{g=!0,T.close(function(I){if(I)throw I})}},[r,s]),p};var fS=(r=>(r[r.UNSET=0]="UNSET",r[r.CONNECTED=1]="CONNECTED",r[r.READY=2]="READY",r))(fS||{});const m8=Ke.createContext({status:0,sdk:null}),MH=({sdkKey:r,plugins:o,children:s,production:m=!0,autoEnable:p=!0})=>{const v=NH(r,o,m,p),g=Ke.useMemo(()=>v?{sdk:v,status:2}:{status:1,sdk:null},[v]);return F.jsx(m8.Provider,{value:g,children:s})};const IH=({sdkKey:r,plugins:o,children:s,production:m=!0})=>F.jsx(MH,{sdkKey:r,plugins:o,production:m,autoEnable:!1,children:s}),_H=({children:r,overlays:o})=>{const{sdk:s,status:m}=Ke.useContext(m8);if(m===fS.UNSET)throw new Error("Wrap app in `StreamLayerProvider`");return s?F.jsx("div",{className:"StreamLayerSDK",children:F.jsx(q9,{style:{height:"100%"},children:F.jsx(_j,{sdk:s,overlays:o,children:r})})}):r({})},pS=()=>{const{sdk:r}=Ke.useContext(m8);return r},CH=({token:r,schema:o})=>{const s=pS();return Ke.useEffect(()=>{r&&o&&s&&s.authorizationBypass(o,r)},[r,o,s]),null};var h8={},_y=function(){return _y=Object.assign||function(r){for(var o,s=1,m=arguments.length;s<m;s++)for(var p in o=arguments[s])Object.prototype.hasOwnProperty.call(o,p)&&(r[p]=o[p]);return r},_y.apply(this,arguments)},AH=function(){function r(o,s,m){var p=this;this.endVal=s,this.options=m,this.version="2.8.0",this.defaults={startVal:0,decimalPlaces:0,duration:2,useEasing:!0,useGrouping:!0,useIndianSeparators:!1,smartEasingThreshold:999,smartEasingAmount:333,separator:",",decimal:".",prefix:"",suffix:"",enableScrollSpy:!1,scrollSpyDelay:200,scrollSpyOnce:!1},this.finalEndVal=null,this.useEasing=!0,this.countDown=!1,this.error="",this.startVal=0,this.paused=!0,this.once=!1,this.count=function(v){p.startTime||(p.startTime=v);var g=v-p.startTime;p.remaining=p.duration-g,p.useEasing?p.countDown?p.frameVal=p.startVal-p.easingFn(g,0,p.startVal-p.endVal,p.duration):p.frameVal=p.easingFn(g,p.startVal,p.endVal-p.startVal,p.duration):p.frameVal=p.startVal+(p.endVal-p.startVal)*(g/p.duration);var T=p.countDown?p.frameVal<p.endVal:p.frameVal>p.endVal;p.frameVal=T?p.endVal:p.frameVal,p.frameVal=Number(p.frameVal.toFixed(p.options.decimalPlaces)),p.printValue(p.frameVal),g<p.duration?p.rAF=requestAnimationFrame(p.count):p.finalEndVal!==null?p.update(p.finalEndVal):p.options.onCompleteCallback&&p.options.onCompleteCallback()},this.formatNumber=function(v){var g,T,I,C,D=v<0?"-":"";g=Math.abs(v).toFixed(p.options.decimalPlaces);var R=(g+="").split(".");if(T=R[0],I=R.length>1?p.options.decimal+R[1]:"",p.options.useGrouping){C="";for(var x=3,j=0,Q=0,W=T.length;Q<W;++Q)p.options.useIndianSeparators&&Q===4&&(x=2,j=1),Q!==0&&j%x==0&&(C=p.options.separator+C),j++,C=T[W-Q-1]+C;T=C}return p.options.numerals&&p.options.numerals.length&&(T=T.replace(/[0-9]/g,function(le){return p.options.numerals[+le]}),I=I.replace(/[0-9]/g,function(le){return p.options.numerals[+le]})),D+p.options.prefix+T+I+p.options.suffix},this.easeOutExpo=function(v,g,T,I){return T*(1-Math.pow(2,-10*v/I))*1024/1023+g},this.options=_y(_y({},this.defaults),m),this.formattingFn=this.options.formattingFn?this.options.formattingFn:this.formatNumber,this.easingFn=this.options.easingFn?this.options.easingFn:this.easeOutExpo,this.startVal=this.validateValue(this.options.startVal),this.frameVal=this.startVal,this.endVal=this.validateValue(s),this.options.decimalPlaces=Math.max(this.options.decimalPlaces),this.resetDuration(),this.options.separator=String(this.options.separator),this.useEasing=this.options.useEasing,this.options.separator===""&&(this.options.useGrouping=!1),this.el=typeof o=="string"?document.getElementById(o):o,this.el?this.printValue(this.startVal):this.error="[CountUp] target is null or undefined",typeof window<"u"&&this.options.enableScrollSpy&&(this.error?console.error(this.error,o):(window.onScrollFns=window.onScrollFns||[],window.onScrollFns.push(function(){return p.handleScroll(p)}),window.onscroll=function(){window.onScrollFns.forEach(function(v){return v()})},this.handleScroll(this)))}return r.prototype.handleScroll=function(o){if(o&&window&&!o.once){var s=window.innerHeight+window.scrollY,m=o.el.getBoundingClientRect(),p=m.top+window.pageYOffset,v=m.top+m.height+window.pageYOffset;v<s&&v>window.scrollY&&o.paused?(o.paused=!1,setTimeout(function(){return o.start()},o.options.scrollSpyDelay),o.options.scrollSpyOnce&&(o.once=!0)):(window.scrollY>v||p>s)&&!o.paused&&o.reset()}},r.prototype.determineDirectionAndSmartEasing=function(){var o=this.finalEndVal?this.finalEndVal:this.endVal;this.countDown=this.startVal>o;var s=o-this.startVal;if(Math.abs(s)>this.options.smartEasingThreshold&&this.options.useEasing){this.finalEndVal=o;var m=this.countDown?1:-1;this.endVal=o+m*this.options.smartEasingAmount,this.duration=this.duration/2}else this.endVal=o,this.finalEndVal=null;this.finalEndVal!==null?this.useEasing=!1:this.useEasing=this.options.useEasing},r.prototype.start=function(o){this.error||(this.options.onStartCallback&&this.options.onStartCallback(),o&&(this.options.onCompleteCallback=o),this.duration>0?(this.determineDirectionAndSmartEasing(),this.paused=!1,this.rAF=requestAnimationFrame(this.count)):this.printValue(this.endVal))},r.prototype.pauseResume=function(){this.paused?(this.startTime=null,this.duration=this.remaining,this.startVal=this.frameVal,this.determineDirectionAndSmartEasing(),this.rAF=requestAnimationFrame(this.count)):cancelAnimationFrame(this.rAF),this.paused=!this.paused},r.prototype.reset=function(){cancelAnimationFrame(this.rAF),this.paused=!0,this.resetDuration(),this.startVal=this.validateValue(this.options.startVal),this.frameVal=this.startVal,this.printValue(this.startVal)},r.prototype.update=function(o){cancelAnimationFrame(this.rAF),this.startTime=null,this.endVal=this.validateValue(o),this.endVal!==this.frameVal&&(this.startVal=this.frameVal,this.finalEndVal==null&&this.resetDuration(),this.finalEndVal=null,this.determineDirectionAndSmartEasing(),this.rAF=requestAnimationFrame(this.count))},r.prototype.printValue=function(o){var s;if(this.el){var m=this.formattingFn(o);!((s=this.options.plugin)===null||s===void 0)&&s.render?this.options.plugin.render(this.el,m):this.el.tagName==="INPUT"?this.el.value=m:this.el.tagName==="text"||this.el.tagName==="tspan"?this.el.textContent=m:this.el.innerHTML=m}},r.prototype.ensureNumber=function(o){return typeof o=="number"&&!isNaN(o)},r.prototype.validateValue=function(o){var s=Number(o);return this.ensureNumber(s)?s:(this.error="[CountUp] invalid start or end value: ".concat(o),null)},r.prototype.resetDuration=function(){this.startTime=null,this.duration=1e3*Number(this.options.duration),this.remaining=this.duration},r}();const OH=Object.freeze(Object.defineProperty({__proto__:null,CountUp:AH},Symbol.toStringTag,{value:"Module"})),xH=bC(OH);Object.defineProperty(h8,"__esModule",{value:!0});var br=Ke,LH=xH;function RH(r,o){var s=r==null?null:typeof Symbol<"u"&&r[Symbol.iterator]||r["@@iterator"];if(s!=null){var m,p,v,g,T=[],I=!0,C=!1;try{if(v=(s=s.call(r)).next,o===0){if(Object(s)!==s)return;I=!1}else for(;!(I=(m=v.call(s)).done)&&(T.push(m.value),T.length!==o);I=!0);}catch(D){C=!0,p=D}finally{try{if(!I&&s.return!=null&&(g=s.return(),Object(g)!==g))return}finally{if(C)throw p}}return T}}function H9(r,o){var s=Object.keys(r);if(Object.getOwnPropertySymbols){var m=Object.getOwnPropertySymbols(r);o&&(m=m.filter(function(p){return Object.getOwnPropertyDescriptor(r,p).enumerable})),s.push.apply(s,m)}return s}function Cy(r){for(var o=1;o<arguments.length;o++){var s=arguments[o]!=null?arguments[o]:{};o%2?H9(Object(s),!0).forEach(function(m){DH(r,m,s[m])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(s)):H9(Object(s)).forEach(function(m){Object.defineProperty(r,m,Object.getOwnPropertyDescriptor(s,m))})}return r}function DH(r,o,s){return o=VH(o),o in r?Object.defineProperty(r,o,{value:s,enumerable:!0,configurable:!0,writable:!0}):r[o]=s,r}function xT(){return xT=Object.assign?Object.assign.bind():function(r){for(var o=1;o<arguments.length;o++){var s=arguments[o];for(var m in s)Object.prototype.hasOwnProperty.call(s,m)&&(r[m]=s[m])}return r},xT.apply(this,arguments)}function PH(r,o){if(r==null)return{};var s={},m=Object.keys(r),p,v;for(v=0;v<m.length;v++)p=m[v],!(o.indexOf(p)>=0)&&(s[p]=r[p]);return s}function mS(r,o){if(r==null)return{};var s=PH(r,o),m,p;if(Object.getOwnPropertySymbols){var v=Object.getOwnPropertySymbols(r);for(p=0;p<v.length;p++)m=v[p],!(o.indexOf(m)>=0)&&Object.prototype.propertyIsEnumerable.call(r,m)&&(s[m]=r[m])}return s}function UH(r,o){return jH(r)||RH(r,o)||zH(r,o)||BH()}function jH(r){if(Array.isArray(r))return r}function zH(r,o){if(r){if(typeof r=="string")return $9(r,o);var s=Object.prototype.toString.call(r).slice(8,-1);if(s==="Object"&&r.constructor&&(s=r.constructor.name),s==="Map"||s==="Set")return Array.from(r);if(s==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return $9(r,o)}}function $9(r,o){(o==null||o>r.length)&&(o=r.length);for(var s=0,m=new Array(o);s<o;s++)m[s]=r[s];return m}function BH(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
188
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function FH(r,o){if(typeof r!="object"||r===null)return r;var s=r[Symbol.toPrimitive];if(s!==void 0){var m=s.call(r,o||"default");if(typeof m!="object")return m;throw new TypeError("@@toPrimitive must return a primitive value.")}return(o==="string"?String:Number)(r)}function VH(r){var o=FH(r,"string");return typeof o=="symbol"?o:String(o)}var YH=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?br.useLayoutEffect:br.useEffect;function Jo(r){var o=br.useRef(r);return YH(function(){o.current=r}),br.useCallback(function(){for(var s=arguments.length,m=new Array(s),p=0;p<s;p++)m[p]=arguments[p];return o.current.apply(void 0,m)},[])}var QH=function(o,s){var m=s.decimal,p=s.decimals,v=s.duration,g=s.easingFn,T=s.end,I=s.formattingFn,C=s.numerals,D=s.prefix,R=s.separator,x=s.start,j=s.suffix,Q=s.useEasing,W=s.useGrouping,le=s.useIndianSeparators,G=s.enableScrollSpy,se=s.scrollSpyDelay,te=s.scrollSpyOnce,ue=s.plugin;return new LH.CountUp(o,T,{startVal:x,duration:v,decimal:m,decimalPlaces:p,easingFn:g,formattingFn:I,numerals:C,separator:R,prefix:D,suffix:j,plugin:ue,useEasing:Q,useIndianSeparators:le,useGrouping:W,enableScrollSpy:G,scrollSpyDelay:se,scrollSpyOnce:te})},GH=["ref","startOnMount","enableReinitialize","delay","onEnd","onStart","onPauseResume","onReset","onUpdate"],HH={decimal:".",separator:",",delay:null,prefix:"",suffix:"",duration:2,start:0,decimals:0,startOnMount:!0,enableReinitialize:!0,useEasing:!0,useGrouping:!0,useIndianSeparators:!1},hS=function(o){var s=Object.fromEntries(Object.entries(o).filter(function(He){var ht=UH(He,2),ct=ht[1];return ct!==void 0})),m=br.useMemo(function(){return Cy(Cy({},HH),s)},[o]),p=m.ref,v=m.startOnMount,g=m.enableReinitialize,T=m.delay,I=m.onEnd,C=m.onStart,D=m.onPauseResume,R=m.onReset,x=m.onUpdate,j=mS(m,GH),Q=br.useRef(),W=br.useRef(),le=br.useRef(!1),G=Jo(function(){return QH(typeof p=="string"?p:p.current,j)}),se=Jo(function(He){var ht=Q.current;if(ht&&!He)return ht;var ct=G();return Q.current=ct,ct}),te=Jo(function(){var He=function(){return se(!0).start(function(){I==null||I({pauseResume:ue,reset:Z,start:fe,update:ye})})};T&&T>0?W.current=setTimeout(He,T*1e3):He(),C==null||C({pauseResume:ue,reset:Z,update:ye})}),ue=Jo(function(){se().pauseResume(),D==null||D({reset:Z,start:fe,update:ye})}),Z=Jo(function(){se().el&&(W.current&&clearTimeout(W.current),se().reset(),R==null||R({pauseResume:ue,start:fe,update:ye}))}),ye=Jo(function(He){se().update(He),x==null||x({pauseResume:ue,reset:Z,start:fe})}),fe=Jo(function(){Z(),te()}),De=Jo(function(He){v&&(He&&Z(),te())});return br.useEffect(function(){le.current?g&&De(!0):(le.current=!0,De())},[g,le,De,T,o.start,o.suffix,o.prefix,o.duration,o.separator,o.decimals,o.decimal,o.formattingFn]),br.useEffect(function(){return function(){Z()}},[Z]),{start:fe,pauseResume:ue,reset:Z,update:ye,getCountUp:se}},$H=["className","redraw","containerProps","children","style"],qH=function(o){var s=o.className,m=o.redraw,p=o.containerProps,v=o.children,g=o.style,T=mS(o,$H),I=br.useRef(null),C=br.useRef(!1),D=hS(Cy(Cy({},T),{},{ref:I,startOnMount:typeof v!="function"||o.delay===0,enableReinitialize:!1})),R=D.start,x=D.reset,j=D.update,Q=D.pauseResume,W=D.getCountUp,le=Jo(function(){R()}),G=Jo(function(ue){o.preserveValue||x(),j(ue)}),se=Jo(function(){if(typeof o.children=="function"&&!(I.current instanceof Element)){console.error(`Couldn't find attached element to hook the CountUp instance into! Try to attach "containerRef" from the render prop to a an Element, eg. <span ref={containerRef} />.`);return}W()});br.useEffect(function(){se()},[se]),br.useEffect(function(){C.current&&G(o.end)},[o.end,G]);var te=m&&o;return br.useEffect(function(){m&&C.current&&le()},[le,m,te]),br.useEffect(function(){!m&&C.current&&le()},[le,m,o.start,o.suffix,o.prefix,o.duration,o.separator,o.decimals,o.decimal,o.className,o.formattingFn]),br.useEffect(function(){C.current=!0},[]),typeof v=="function"?v({countUpRef:I,start:R,reset:x,update:j,pauseResume:Q,getCountUp:W}):br.createElement("span",xT({className:s,ref:I,style:g},p),typeof o.start<"u"?W().formattingFn(o.start):"")},WH=h8.default=qH;h8.useCountUp=hS;const gS=({value:r=0,decimals:o,duration:s=1,preserveValue:m=!0,...p})=>{const[,v]=r.toString().split("."),g=o??((v==null?void 0:v.length)||0);return F.jsx(WH,{end:r,...p,duration:s,decimals:g,enableScrollSpy:!1,preserveValue:m})},KH=de("div")({name:"PointsContainer",class:"psiob9b",propsAsIs:!1}),ZH=de("div")({name:"PointsIcon",class:"p1gqe4lh",propsAsIs:!1}),JH=()=>hr,XH=de(JH())({name:"PointsSvg",class:"p15syg2y",propsAsIs:!0}),e$=de("div")({name:"PointsBody",class:"p12n4f2h",propsAsIs:!1}),t$=de("div")({name:"PointsTitle",class:"poqmx89",propsAsIs:!1}),n$=de("div")({name:"PointsValue",class:"prj9b3v",propsAsIs:!1}),r$=({points:r})=>F.jsxs(KH,{className:aT,children:[F.jsx(ZH,{children:F.jsx(XH,{name:"icon-trophy"})}),F.jsxs(e$,{children:[F.jsx(t$,{children:"Total points"}),F.jsx(n$,{children:F.jsx(gS,{value:r})})]})]}),a$=({userSummary:r})=>{const[o,s]=Ke.useState(0);return Ke.useEffect(()=>{const m=r.subscribe(p=>{var v,g;(g=(v=p.data)==null?void 0:v.summary)!=null&&g.points&&s(p.data.summary.points)});return()=>{m()}},[r]),F.jsx(r$,{points:o})},o$=({sdk:r})=>{if(qi(r.sdkStore.status)!=="ready")return null;const o=r.getFeature(Xn.GAMES);return o?F.jsx(a$,{userSummary:o.userSummary.getStore()}):null},i$=()=>{const r=pS();return r?F.jsx("div",{className:"StreamLayerSDK",children:F.jsx(q9,{children:F.jsx(o$,{sdk:r})})}):null};exports.E=rT;exports.MastersStreamLayerProvider=IH;exports.MastersStreamLayerSDKReact=_H;exports.O=W7;exports.PickHistoryStatus=T7;exports.Pk=Y7;exports.QuestionImages=lp;exports.QuestionStatus=ao;exports.QuestionType=Kt;exports.StreamLayerLogin=CH;exports.StreamLayerSDKPoints=i$;exports.a=tj;exports.c=K7;exports.c1=hr;exports.d=gS;exports.getDefaultExportFromCjs=n7;exports.n=J7;exports.o=$T;exports.r=Z7;exports.styled_default=de;exports.u=q7;exports.useStore=qi;exports.w=$7;exports.x=Uy;