@streamlayer/web-os 0.1.1 → 0.1.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.
- package/lib/cjs/index2.js +1 -1
- package/lib/es/index2.js +1 -1
- package/package.json +15 -15
package/lib/cjs/index2.js
CHANGED
|
@@ -53,7 +53,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
53
53
|
`),i=`
|
|
54
54
|
`+n+(o.length?r("│"):" ")+" ";return n+a.join(i)+`
|
|
55
55
|
`+o.map(function(s,c){var u=c===o.length-1,d=s.nodes&&s.nodes.length,h=n+(u?" ":r("│"))+" ";return n+r(u?"└":"├")+r("─")+r(d?"┬":"─")+" "+e(s,h,l).slice(n.length+2)}).join("")};const cQ=sQ,Cp=Symbol("avvio.TimeTree.untrackNode"),R3=Symbol("avvio.TimeTree.trackNode"),Zp=Symbol("avvio.TimeTree.getParent"),Sp=Symbol("avvio.TimeTree.getNode"),Wp=Symbol("avvio.TimeTree.addNode");let uQ=class{constructor(){this.root=null,this.tableId=new Map,this.tableLabel=new Map}[R3](e){this.tableId.set(e.id,e),this.tableLabel.has(e.label)?this.tableLabel.get(e.label).push(e):this.tableLabel.set(e.label,[e])}[Cp](e){this.tableId.delete(e.id);const t=this.tableLabel.get(e.label);if(t.id){this.tableLabel.delete(e.label);return}t.pop(),t.length===0&&this.tableLabel.delete(e.label)}[Zp](e){if(e===null)return this.root;const t=this.tableLabel.get(e);return t.id?t:t[t.length-1]}[Sp](e){return this.tableId.get(e)}[Wp](e,t,n){if(e===null)return this.root={id:"root",label:t,start:n,nodes:[]},this[R3](this.root),this.root.id;const l=this[Zp](e),r=`${t}-${Math.random()}`,o={id:r,parent:e,start:n,label:t,nodes:[]};return l.nodes.push(o),this[R3](o),r}start(e,t,n=Date.now()){return this[Wp](e,t,n)}stop(e,t=Date.now()){const n=this[Sp](e);n&&(n.stop=t,n.diff=n.stop-n.start||0,this[Cp](n))}toJSON(){return Object.assign({},this.root)}prittyPrint(){const e=n=>(n.label=`${n.label} ${n.diff} ms`,n.nodes.length>0&&(n.nodes=n.nodes.map(l=>e(l))),n),t=e(this.toJSON());return cQ(t)}};var dQ=uQ,y6={exports:{}},v9={exports:{}},E3,vp;function hQ(){if(vp)return E3;vp=1;var e=1e3,t=e*60,n=t*60,l=n*24,r=l*7,o=l*365.25;E3=function(u,d){d=d||{};var h=typeof u;if(h==="string"&&u.length>0)return a(u);if(h==="number"&&isFinite(u))return d.long?s(u):i(u);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(u))};function a(u){if(u=String(u),!(u.length>100)){var d=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(u);if(d){var h=parseFloat(d[1]),m=(d[2]||"ms").toLowerCase();switch(m){case"years":case"year":case"yrs":case"yr":case"y":return h*o;case"weeks":case"week":case"w":return h*r;case"days":case"day":case"d":return h*l;case"hours":case"hour":case"hrs":case"hr":case"h":return h*n;case"minutes":case"minute":case"mins":case"min":case"m":return h*t;case"seconds":case"second":case"secs":case"sec":case"s":return h*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return h;default:return}}}}function i(u){var d=Math.abs(u);return d>=l?Math.round(u/l)+"d":d>=n?Math.round(u/n)+"h":d>=t?Math.round(u/t)+"m":d>=e?Math.round(u/e)+"s":u+"ms"}function s(u){var d=Math.abs(u);return d>=l?c(u,d,l,"day"):d>=n?c(u,d,n,"hour"):d>=t?c(u,d,t,"minute"):d>=e?c(u,d,e,"second"):u+" ms"}function c(u,d,h,m){var b=d>=h*1.5;return Math.round(u/h)+" "+m+(b?"s":"")}return E3}function mQ(e){n.debug=n,n.default=n,n.coerce=s,n.disable=o,n.enable=r,n.enabled=a,n.humanize=hQ(),n.destroy=c,Object.keys(e).forEach(u=>{n[u]=e[u]}),n.names=[],n.skips=[],n.formatters={};function t(u){let d=0;for(let h=0;h<u.length;h++)d=(d<<5)-d+u.charCodeAt(h),d|=0;return n.colors[Math.abs(d)%n.colors.length]}n.selectColor=t;function n(u){let d,h=null,m,b;function R(...y){if(!R.enabled)return;const f=R,g=Number(new Date),V=g-(d||g);f.diff=V,f.prev=d,f.curr=g,d=g,y[0]=n.coerce(y[0]),typeof y[0]!="string"&&y.unshift("%O");let A=0;y[0]=y[0].replace(/%([a-zA-Z%])/g,(Z,W)=>{if(Z==="%%")return"%";A++;const S=n.formatters[W];if(typeof S=="function"){const N=y[A];Z=S.call(f,N),y.splice(A,1),A--}return Z}),n.formatArgs.call(f,y),(f.log||n.log).apply(f,y)}return R.namespace=u,R.useColors=n.useColors(),R.color=n.selectColor(u),R.extend=l,R.destroy=n.destroy,Object.defineProperty(R,"enabled",{enumerable:!0,configurable:!1,get:()=>h!==null?h:(m!==n.namespaces&&(m=n.namespaces,b=n.enabled(u)),b),set:y=>{h=y}}),typeof n.init=="function"&&n.init(R),R}function l(u,d){const h=n(this.namespace+(typeof d>"u"?":":d)+u);return h.log=this.log,h}function r(u){n.save(u),n.namespaces=u,n.names=[],n.skips=[];let d;const h=(typeof u=="string"?u:"").split(/[\s,]+/),m=h.length;for(d=0;d<m;d++)h[d]&&(u=h[d].replace(/\*/g,".*?"),u[0]==="-"?n.skips.push(new RegExp("^"+u.slice(1)+"$")):n.names.push(new RegExp("^"+u+"$")))}function o(){const u=[...n.names.map(i),...n.skips.map(i).map(d=>"-"+d)].join(",");return n.enable(""),u}function a(u){if(u[u.length-1]==="*")return!0;let d,h;for(d=0,h=n.skips.length;d<h;d++)if(n.skips[d].test(u))return!1;for(d=0,h=n.names.length;d<h;d++)if(n.names[d].test(u))return!0;return!1}function i(u){return u.toString().substring(2,u.toString().length-2).replace(/\.\*\?$/,"*")}function s(u){return u instanceof Error?u.stack||u.message:u}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 n.enable(n.load()),n}var fQ=mQ;(function(e,t){t.formatArgs=l,t.save=r,t.load=o,t.useColors=n,t.storage=a(),t.destroy=(()=>{let s=!1;return()=>{s||(s=!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`."))}})(),t.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 n(){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 l(s){if(s[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+s[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const c="color: "+this.color;s.splice(1,0,c,"color: inherit");let u=0,d=0;s[0].replace(/%[a-zA-Z%]/g,h=>{h!=="%%"&&(u++,h==="%c"&&(d=u))}),s.splice(d,0,c)}t.log=console.debug||console.log||(()=>{});function r(s){try{s?t.storage.setItem("debug",s):t.storage.removeItem("debug")}catch{}}function o(){let s;try{s=t.storage.getItem("debug")}catch{}return!s&&typeof le<"u"&&"env"in le&&(s=le.env.DEBUG),s}function a(){try{return localStorage}catch{}}e.exports=fQ(t);const{formatters:i}=e.exports;i.j=function(s){try{return JSON.stringify(s)}catch(c){return"[UnexpectedJSONParseError]: "+c.message}}})(v9,v9.exports);var Ey=v9.exports;const pQ=OA,gQ=ny.EventEmitter,bQ=x0.inherits,Rt=Ey("avvio"),{AVV_ERR_READY_TIMEOUT:VQ}=Ry,A3=Symbol.for("plugin-meta");function RQ(e,t){return e[A3]&&e[A3].name?e[A3].name:typeof t<"u"&&typeof t!="function"&&t.name?t.name:e.name?e.name:e.toString().split(`
|
|
56
|
-
`).slice(0,2).map(n=>n.trim()).join(" -- ")}function EQ(){const e={};return e.promise=new Promise((t,n)=>{e.resolve=t,e.reject=n}),e}function qa(e,t,n,l,r){this.started=!1,this.func=t,this.opts=n,this.onFinish=null,this.parent=e,this.timeout=r===void 0?e._timeout:r,this.name=RQ(t,n),this.isAfter=l,this.q=pQ(e,AQ,1),this.q.pause(),this._error=null,this.loaded=!1,this._promise=null}bQ(qa,gQ);qa.prototype.exec=function(e,t){const n=this.func;let l=!1;const r=this.name;if(this.parent._error&&!this.isAfter){Rt("skipping loading of plugin as parent errored and it is not an after",r),le.nextTick(t);return}if(this.isAfter)this.server=e;else try{this.server=this.parent.override(e,n,this.opts)}catch(s){return Rt("override errored",r),t(s)}this.opts=typeof this.opts=="function"?this.opts(this.server):this.opts,Rt("exec",r);let o;const a=s=>{if(l){Rt("loading complete",r);return}this._error=s,Rt(s?"exec errored":"exec completed",r),l=!0,o&&clearTimeout(o),t(s)};this.timeout>0&&(Rt("setting up timeout",r,this.timeout),o=setTimeout(function(){Rt("timed out",r),o=null;const s=new VQ(r);s.fn=n,a(s)},this.timeout)),this.started=!0,this.emit("start",this.server?this.server.name:null,this.name,Date.now());const i=n(this.server,this.opts,a);i&&typeof i.then=="function"&&(Rt("exec: resolving promise",r),i.then(()=>le.nextTick(a),s=>le.nextTick(a,s)))};qa.prototype.loadedSoFar=function(){if(this.loaded)return Promise.resolve();const e=()=>{this.server.after((n,l)=>{this._error=n,this.q.pause(),n?(Rt("rejecting promise",this.name,n),this._promise.reject(n)):(Rt("resolving promise",this.name),this._promise.resolve()),this._promise=null,le.nextTick(l,n)}),this.q.resume()};let t;return this._promise?t=Promise.resolve():(this._promise=EQ(),t=this._promise.promise,this.server?e():this.on("start",e)),t};qa.prototype.enqueue=function(e,t){Rt("enqueue",this.name,e.name),this.emit("enqueue",this.server?this.server.name:null,this.name,Date.now()),this.q.push(e,t)};qa.prototype.finish=function(e,t){Rt("finish",this.name,e);const n=()=>{this.loaded||(Rt("loaded",this.name),this.emit("loaded",this.server?this.server.name:null,this.name,Date.now()),this.loaded=!0,t(e))};if(e){this._promise&&(this._promise.reject(e),this._promise=null),n();return}const l=()=>{if(Rt("check",this.name,this.q.length(),this.q.running(),this._promise),this.q.length()===0&&this.q.running()===0)if(this._promise){const r=()=>{Rt("wrap"),queueMicrotask(l)};this._promise.resolve(),this._promise.promise.then(r,r),this._promise=null}else n();else Rt("delayed",this.name),this.q.drain=()=>{Rt("drain",this.name),this.q.drain=yQ,queueMicrotask(l)}};queueMicrotask(l),this.q.resume()};function AQ(e,t){const n=this;le.nextTick(C6.bind(n),e,t)}function C6(e,t){if(typeof e.func.then=="function"){e.func.then(l=>{typeof l.default=="function"&&(l=l.default),e.func=l,C6.call(this,e,t)},t);return}const n=this._current[0];this._current.unshift(e),e.exec(n&&n.server||this._server,l=>{e.finish(l,r=>{this._current.shift(),t(r)})})}function yQ(){}y6.exports=qa;y6.exports.loadPlugin=C6;var CQ=y6.exports;const Fp=OA,ZQ=ny.EventEmitter,SQ=x0.inherits,{AVV_ERR_EXPOSE_ALREADY_DEFINED:y3,AVV_ERR_CALLBACK_NOT_FN:Hi,AVV_ERR_PLUGIN_NOT_VALID:WQ,AVV_ERR_ROOT_PLG_BOOTED:vQ,AVV_ERR_READY_TIMEOUT:FQ}=Ry,NQ=dQ,F9=CQ,Ta=Ey("avvio"),Ju=Symbol("kAvvio"),C3=Symbol("kThenifyDoNotWrap");function IQ(e,t,n){const l=t.expose||{},r=l.use||"use",o=l.after||"after",a=l.ready||"ready",i=l.onClose||"onClose",s=l.close||"close";if(e[r])throw new y3(r);if(e[o])throw new y3(o);if(e[a])throw new y3(a);e[r]=function(c,u){return n.use(c,u),this},Object.defineProperty(e,"then",{get:Ay.bind(n)}),e[Ju]=!0,e[o]=function(c){return typeof c!="function"?n._loadRegistered():(n.after(Z3(c,this)),this)},e[a]=function(c){if(c&&typeof c!="function")throw new Hi(a,typeof c);return n.ready(c?Z3(c,this):void 0)},e[i]=function(c){if(typeof c!="function")throw new Hi(i,typeof c);return n.onClose(BQ(c,this)),this},e[s]=function(c){if(c&&typeof c!="function")throw new Hi(s,typeof c);return c?(n.close(Z3(c,this)),this):n.close()}}function ft(e,t,n){if(typeof e=="function"&&arguments.length===1&&(n=e,t={},e=null),typeof t=="function"&&(n=t,t={}),t=t||{},!(this instanceof ft)){const l=new ft(e,t,n);return e&&IQ(e,t,l),l}t.autostart!==!1&&(t.autostart=!0),e=e||this,this._timeout=Number(t.timeout)||0,this._server=e,this._current=[],this._error=null,this._isOnCloseHandlerKey=Symbol("isOnCloseHandler"),this._lastUsed=null,this.setMaxListeners(0),n&&this.once("start",n),this.started=!1,this.booted=!1,this.pluginTree=new NQ,this._readyQ=Fp(this,yy,1),this._readyQ.pause(),this._readyQ.drain=()=>{this.emit("start"),this._readyQ.drain=Np},this._closeQ=Fp(this,YQ,1),this._closeQ.pause(),this._closeQ.drain=()=>{this.emit("close"),this._closeQ.drain=Np},this._doStart=null,this._root=new F9(this,XQ.bind(this),t,!1,0),this._root.once("start",(l,r,o)=>{const a=this.pluginTree.start(null,r,o);this._root.once("loaded",(i,s,c)=>{this.pluginTree.stop(a,c)})}),F9.loadPlugin.call(this,this._root,l=>{Ta("root plugin ready");try{this.emit("preReady"),this._root=null}catch(r){l=l||this._error||r}if(l){if(this._error=l,this._readyQ.length()===0)throw l}else this.booted=!0;this._readyQ.resume()})}function XQ(e,t,n){this._doStart=n,t.autostart&&this.start()}SQ(ft,ZQ);ft.prototype.start=function(){return this.started=!0,le.nextTick(this._doStart),this};ft.prototype.override=function(e,t,n){return e};function GQ(e){if(e&&typeof e=="object"&&typeof e.default=="function"&&(e=e.default),!(e&&(typeof e=="function"||typeof e.then=="function")))throw new WQ(typeof e);return e}ft.prototype[Ju]=!0;ft.prototype.use=function(e,t){return this._lastUsed=this._addPlugin(e,t,!1),this};ft.prototype._loadRegistered=function(){const e=this._current[0];return!this.started&&!this.booted&&le.nextTick(()=>this._root.q.resume()),e?e.loadedSoFar():Promise.resolve()};Object.defineProperty(ft.prototype,"then",{get:Ay});ft.prototype._addPlugin=function(e,t,n){if(e=GQ(e),t=t||{},this.booted)throw new vQ;const l=this._current[0],r=new F9(this,e,t,n);if(r.once("start",(o,a,i)=>{const s=this.pluginTree.start(l.name,a,i);r.once("loaded",(c,u,d)=>{this.pluginTree.stop(s,d)})}),l.loaded)throw new Error(r.name,l.name);return l.enqueue(r,o=>{o&&(this._error=o)}),r};ft.prototype.after=function(e){if(!e)return this._loadRegistered();this._addPlugin(t.bind(this),{},!0);function t(n,l,r){yy.call(this,e,r)}return this};ft.prototype.onClose=function(e){if(typeof e!="function")throw new Error("not a function");e[this._isOnCloseHandlerKey]=!0,this._closeQ.unshift(e,t.bind(this));function t(n){n&&(this._error=n)}return this};ft.prototype.close=function(e){let t;if(e){if(typeof e!="function")throw new Hi("close",typeof e)}else t=new Promise(function(n,l){e=function(r){if(r)return l(r);n()}});return this.ready(()=>{this._error=null,this._closeQ.push(e),le.nextTick(this._closeQ.resume.bind(this._closeQ))}),t};ft.prototype.ready=function(e){if(e){if(typeof e!="function")throw new Hi("ready",typeof e);this._readyQ.push(e),queueMicrotask(this.start.bind(this));return}return new Promise((t,n)=>{this._readyQ.push(r),this.start();const l=this._current[0].server;function r(o,a,i){o?n(o):t(l),le.nextTick(i)}})};ft.prototype.prettyPrint=function(){return this.pluginTree.prittyPrint()};ft.prototype.toJSON=function(){return this.pluginTree.toJSON()};function Np(){}function Ay(){if(this.booted){Ta("thenify returning null because we are already booted");return}if(this[C3]){this[C3]=!1;return}return Ta("thenify"),(e,t)=>this._loadRegistered().then(()=>(this[C3]=!0,e(this._server)),t)}function yy(e,t){const n=this._server,l=this._error;let r;if(this._error=null,e.length===0)this._error=l,r=e(),r&&!r[Ju]&&typeof r.then=="function"?r.then(()=>le.nextTick(t),o=>le.nextTick(t,o)):le.nextTick(t);else if(e.length===1)r=e(l),r&&!r[Ju]&&typeof r.then=="function"?r.then(()=>le.nextTick(t),o=>le.nextTick(t,o)):le.nextTick(t);else if(this._timeout===0){const o=a=>{this._error=a,t(this._error)};e.length===2?e(l,o):e(l,n,o)}else UQ.call(this,e,l,n,t)}function UQ(e,t,n,l){const r=e.name;Ta("setting up ready timeout",r,this._timeout);let o=setTimeout(()=>{Ta("timed out",r),o=null;const i=new FQ(r);i.fn=e,this._error=i,l(i)},this._timeout);e.length===2?e(t,a.bind(this)):e(t,n,a.bind(this));function a(i){o&&(clearTimeout(o),this._error=i,l(this._error))}}function YQ(e,t){const n=this._server,l=e[this._isOnCloseHandlerKey];if(e.length===0||e.length===1){let r;l?r=e(n):r=e(this._error),r&&typeof r.then=="function"?(Ta("resolving close/onClose promise"),r.then(()=>le.nextTick(t),o=>le.nextTick(t,o))):le.nextTick(t)}else e.length===2?e(l?n:this._error,t):l?e(n,t):e(this._error,n,t)}function BQ(e,t){return n.bind(t);function n(l,r){let o;e.length===0?(o=e(),o&&o.then?o.then(function(){le.nextTick(r)},r):le.nextTick(r)):e.length===1?(o=e(this),o&&o.then?o.then(function(){le.nextTick(r)},r):le.nextTick(r)):e(this,r)}}function Z3(e,t){return n.bind(t);function n(l,r){let o;e?e.length===0?(o=e(),o&&o.then?o.then(function(){le.nextTick(r,l)},r):le.nextTick(r,l)):e.length===1?(o=e(l),o&&o.then?o.then(function(){le.nextTick(r)},r):le.nextTick(r)):e.length===2?e(l,r):e(l,this,r):le.nextTick(r)}}d6.exports=ft;d6.exports.express=function(e){return ft(e,{expose:{use:"load"}})};var wQ=d6.exports;const kQ=dJ(wQ);(function(){if(window.requestAnimationFrame&&window.cancelAnimationFrame)return;const e=["webkit","moz","ms","o"];for(const t of e)window.requestAnimationFrame=window.requestAnimationFrame||window[`${t}RequestAnimationFrame`],window.cancelAnimationFrame=window.cancelAnimationFrame||window[`${t}CancelAnimationFrame`]||window[`${t}CancelRequestAnimationFrame`];if(/iP(ad|hone|od).*OS 6/.test(window.navigator.userAgent)||!window.requestAnimationFrame||!window.cancelAnimationFrame){let t=0;const n=!!(window.performance&&window.performance.now);window.requestAnimationFrame=function(l){const r=n?window.performance.now():new Date().getTime(),o=Math.max(0,16-(r-t)),a=window.setTimeout(function(){l(r+o)},o);return t=r+o,a},window.cancelAnimationFrame=clearTimeout}})();function TQ(e,t=!0,n=!0,l={friendsTab:"enabled"}){const r=t?"https://grpc-sdk.streamlayer.io:443":"https://grpc-sdk.next.streamlayer.io:443",o=t?"https://grpc.streamlayer.io:443":"https://grpc.next.streamlayer.io:443",a=kQ(Object.create({}),{autostart:!1});return a.use(zL,{hideFriends:l.hideFriends,skipOnboarding:l.skipOnboarding,betPack:l.betPack,friendsTab:l.friendsTab,theme:l.theme,themeMode:l.themeMode}),a.use(wL,{onDeepLinkHandled:l==null?void 0:l.onDeepLinkHandled}),a.use(JL,{videoPlayerController:l==null?void 0:l.videoPlayerController}),a.use(QL,{onContentActivate:l==null?void 0:l.onContentActivate,withAd:l==null?void 0:l.withAd,withAdNotification:l==null?void 0:l.withAdNotification}),a.use(nL,{sdkKey:e,host:r,analyticsHost:o,version:l==null?void 0:l.version}),a.use(iL),a.use(LL),a.use(eJ),a.use(NL),a.use(uJ),a.after((i,s,c)=>{if(i)throw i;s.ready(),c()}),n&&a.after(async(i,s,c)=>{if(i)throw i;await s.sdk.initializeApp(),c()}),a.onClose(()=>{console.log("close")}),a}const LQ=({sdkKey:e,plugins:t,production:n,autoEnable:l,onDeepLinkHandled:r,videoPlayerController:o,onContentActivate:a,hideFriends:i,skipOnboarding:s,withAdNotification:c,withAd:u,friendsTab:d,betPack:h})=>{const[m,b]=B.useState(null);return B.useEffect(()=>{let R=!1;if(!e)return console.error("streamlayer sdk key should be provided"),b(f=>(f!==null&&typeof f.disableApp=="function"&&f.disableApp(),null)),()=>{R=!0};const y=TQ(e,n,l,{version:"1.17.0",onDeepLinkHandled:r,videoPlayerController:o,onContentActivate:a,skipOnboarding:s,withAdNotification:c,withAd:u,hideFriends:i,friendsTab:d,betPack:h});if(t)for(const f of t)y.use(f);return y.ready().then(f=>{R||(b(f.sdk),typeof window<"u")}).catch(f=>console.log(f)),()=>{R=!0,y.close(function(f){if(f)throw f})}},[e,n]),m};var JQ=Object.defineProperty,xQ=(e,t,n)=>t in e?JQ(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Te=(e,t,n)=>xQ(e,typeof t!="symbol"?t+"":t,n),zc=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof s5<"u"?s5:typeof self<"u"?self:{};function QQ(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function zQ(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function l(){return this instanceof l?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(l){var r=Object.getOwnPropertyDescriptor(e,l);Object.defineProperty(n,l,r.get?r:{enumerable:!0,get:function(){return e[l]}})}),n}const KQ=ZE({level:"trace",enabled:typeof window<"u"&&!!window.localStorage.getItem("SL_DEBUG"),browser:{write:e=>{console.log(e)}}}),ei=(e,t)=>KQ.child({name:e},t);class MQ extends Event{constructor(t,n){super(t),Te(this,"slEventBus"),this.slEventBus=n}}const HQ=ei("event-bus");class OQ{constructor(t="sl-event-bus"){Te(this,"name"),Te(this,"listeners"),Te(this,"emit",(n,l)=>{const r=new MQ(this.name,{...l,type:n});HQ.debug(r,"Emitting event"),window.dispatchEvent(r)}),Te(this,"destroy",()=>{this.listeners.forEach(n=>{window.removeEventListener(this.name,n),this.listeners.delete(n)}),this.listeners.clear()}),this.name=t,this.listeners=new Set}listen(t){return window.addEventListener(this.name,t),this.listeners.add(t),()=>{this.off(t)}}off(t){window.removeEventListener(this.name,t),this.listeners.delete(t)}}var Ip;(function(e){e[e.ONBOARDING=1]="ONBOARDING",e[e.QUESTION=2]="QUESTION",e[e.QUESTION_RESOLVED=3]="QUESTION_RESOLVED"})(Ip||(Ip={}));function DQ(e,t,n){let l=new Set(t).add(void 0);return e.listen((r,o,a)=>{l.has(a)&&n(r,o,a)})}window.slStore=Object.create(null);var Xp;(function(e){e.ORGANIZATION="ORGANIZATION",e.STREAM="STREAM"})(Xp||(Xp={}));se.BETTING+"",se.GAMES+"",se.PUBLIC_CHAT+"",se.TWITTER+"";var Gp;(function(e){e.Ready="ready",e.Suspended="suspended"})(Gp||(Gp={}));const Cy=new OQ;window.dispatchEvent(new CustomEvent("grpc_devtools_loaded"));function jQ(e){return e instanceof DOMException&&(e.code===22||e.code===1014||e.name==="QuotaExceededError"||e.name==="NS_ERROR_DOM_QUOTA_REACHED")}class PQ{constructor(t="main",n=window.localStorage){Te(this,"delimiter",":"),Te(this,"prefix"),Te(this,"storage"),Te(this,"clear",()=>{for(const l in window.localStorage)l.startsWith(this.prefix)&&this.storage.removeItem(l)}),Te(this,"generateKey",l=>`${this.prefix}${this.delimiter}${l.join(this.delimiter)}`),Te(this,"write",(...l)=>{const r=l.pop()||"",o=this.generateKey(l);try{this.storage.setItem(o,r)}catch(a){jQ(a)&&this.storage===window.sessionStorage&&(window.sessionStorage.removeItem("slstreamlogs"),this.storage.setItem(o,r))}}),Te(this,"read",(...l)=>{const r=this.storage.getItem(this.generateKey(l));return r===null?void 0:r}),Te(this,"remove",(...l)=>{this.storage.removeItem(this.generateKey(l))}),this.prefix=`sl-sdk${this.delimiter}${t}`,this.storage=n}}var Up;(function(e){e.Init="init",e.Ready="ready",e.Connecting="connecting",e.Connected="connected",e.Disconnected="disconnected",e.Failed="failed",e.Reconnect="reconnect",e.Reconnecting="reconnecting"})(Up||(Up={}));ei("grpc:stream");_.Unknown,_.Internal,_.DeadlineExceeded,_.ResourceExhausted,_.FailedPrecondition,_.Unavailable,_.DataLoss;ei("grpc:retry");Xu(10,{description:"Number of attempts to retry"}),Xu(3e4,{description:"Max delay between retries in milliseconds"});var Ql;(function(e){e.SCHEMA="schema",e.EXTERNAL_TOKEN="eToken",e.TOKEN="token"})(Ql||(Ql={}));class _Q extends PQ{constructor(){super("user"),Te(this,"setSchema",t=>{this.write(Ql.SCHEMA,t)}),Te(this,"getSchema",()=>this.read(Ql.SCHEMA)),Te(this,"setToken",t=>{this.write(Ql.TOKEN,t)}),Te(this,"getToken",()=>this.read(Ql.TOKEN)),Te(this,"setExternalToken",t=>{this.write(Ql.EXTERNAL_TOKEN,t)}),Te(this,"getExternalToken",()=>this.read(Ql.EXTERNAL_TOKEN)),Te(this,"removeToken",()=>{this.remove(Ql.TOKEN)})}}var Yp;(function(e){e.DISABLED="disabled",e.INITIALIZATION="initialization",e.READY="ready",e.FAILED="failed",e.SUSPENDED="suspended"})(Yp||(Yp={}));ei("deep_link");ei("bypass");new _Q;ei("video_player");O.FACTOID+"",O.POLL+"",O.TRIVIA+"",O.PREDICTION+"",O.TWEET+"";var Bp;(function(e){e.SHOWED="showed"})(Bp||(Bp={}));var wp;(function(e){e.ONBOARDING="onboarding",e.ONBOARDING_IO="onboarding_io",e.QUESTION_RECEIVED="q-received",e.QUESTION_OPENED="q-opened"})(wp||(wp={}));var kp;(function(e){e.ALLOWED="allowed",e.DISALLOWED="disallowed"})(kp||(kp={}));var Tp;(function(e){e.OPENED="opened"})(Tp||(Tp={}));var Lp;(function(e){e.UNKNOWN="unknown",e.ALREADY_VOTED="already_voted"})(Lp||(Lp={}));var Jp;(function(e){e.Unset="unset",e.Required="required",e.Optional="optional",e.Completed="completed",e.Disabled="disabled",e.Unavailable="unavailable"})(Jp||(Jp={}));O.POLL,O.PREDICTION,O.TRIVIA;const $Q={[se.GAMES]:!0};var qQ=function(){const e=Array.prototype.slice.call(arguments).filter(Boolean),t={},n=[];e.forEach(r=>{(r?r.split(" "):[]).forEach(o=>{if(o.startsWith("atm_")){const[,a]=o.split("_");t[a]=o}else n.push(o)})});const l=[];for(const r in t)Object.prototype.hasOwnProperty.call(t,r)&&l.push(t[r]);return l.push(...n),l.join(" ")},La=qQ;function ez(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var tz=/^((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|disableRemotePlayback|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)-.*))$/,S3=ez(function(e){return tz.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),nz=e=>e.toUpperCase()===e,lz=e=>t=>e.indexOf(t)===-1,Zy=(e,t)=>{const n={};return Object.keys(e).filter(lz(t)).forEach(l=>{n[l]=e[l]}),n};function rz(e,t,n){const l=Zy(t,n);if(!e){const r=typeof S3=="function"?{default:S3}:S3;Object.keys(l).forEach(o=>{r.default(o)||delete l[o]})}return l}var oz=(e,t)=>{};function az(e){let t="";return n=>{const l=(o,a)=>{const{as:i=e,class:s=t}=o,c=n.propsAsIs===void 0?!(typeof i=="string"&&i.indexOf("-")===-1&&!nz(i[0])):n.propsAsIs,u=rz(c,o,["as","class"]);u.ref=a,u.className=n.atomic?La(n.class,u.className||s):La(u.className||s,n.class);const{vars:d}=n;if(d){const h={};for(const R in d){const y=d[R],f=y[0],g=y[1]||"",V=typeof f=="function"?f(o):f;oz(V,n.name),h[`--${R}`]=`${V}${g}`}const m=u.style||{},b=Object.keys(m);b.length>0&&b.forEach(R=>{h[R]=m[R]}),u.style=h}return e.__wyw_meta&&e!==i?(u.as=i,B.createElement(e,u)):B.createElement(i,u)},r=B.forwardRef?B.forwardRef(l):o=>{const a=Zy(o,["innerRef"]);return l(a,o.innerRef)};return r.displayName=n.name,r.__wyw_meta={className:n.class||t,extends:e},r}}var X=az;const Z6=X("div")({name:"SDKContentContainer",class:"s1meqjjv",propsAsIs:!1}),iz=()=>Z6,Sy=X(iz())({name:"SDKWhiteContainer",class:"s1burm22",propsAsIs:!0}),sz=()=>Sy,cz=X(sz())({name:"SDKSummaryContainer",class:"sm5r3j5",propsAsIs:!0}),uz=X("div")({name:"TabsContainer",class:"tysxwr6",propsAsIs:!1}),dz=()=>Z6,hz=X(dz())({name:"LeaderboardContainer",class:"l9er3b1",propsAsIs:!0}),mz=()=>Sy,fz=X(mz())({name:"TabsNavContainer",class:"t19dtrb3",propsAsIs:!0}),pz=X("div")({name:"UserSummaryContainer",class:"u1552n3j",propsAsIs:!1});function gz(e,t={}){let n=B.useCallback(r=>t.keys?DQ(e,t.keys,r):e.listen(r),[t.keys,e]),l=e.get.bind(e);return B.useSyncExternalStore(n,l,l)}/**
|
|
56
|
+
`).slice(0,2).map(n=>n.trim()).join(" -- ")}function EQ(){const e={};return e.promise=new Promise((t,n)=>{e.resolve=t,e.reject=n}),e}function qa(e,t,n,l,r){this.started=!1,this.func=t,this.opts=n,this.onFinish=null,this.parent=e,this.timeout=r===void 0?e._timeout:r,this.name=RQ(t,n),this.isAfter=l,this.q=pQ(e,AQ,1),this.q.pause(),this._error=null,this.loaded=!1,this._promise=null}bQ(qa,gQ);qa.prototype.exec=function(e,t){const n=this.func;let l=!1;const r=this.name;if(this.parent._error&&!this.isAfter){Rt("skipping loading of plugin as parent errored and it is not an after",r),le.nextTick(t);return}if(this.isAfter)this.server=e;else try{this.server=this.parent.override(e,n,this.opts)}catch(s){return Rt("override errored",r),t(s)}this.opts=typeof this.opts=="function"?this.opts(this.server):this.opts,Rt("exec",r);let o;const a=s=>{if(l){Rt("loading complete",r);return}this._error=s,Rt(s?"exec errored":"exec completed",r),l=!0,o&&clearTimeout(o),t(s)};this.timeout>0&&(Rt("setting up timeout",r,this.timeout),o=setTimeout(function(){Rt("timed out",r),o=null;const s=new VQ(r);s.fn=n,a(s)},this.timeout)),this.started=!0,this.emit("start",this.server?this.server.name:null,this.name,Date.now());const i=n(this.server,this.opts,a);i&&typeof i.then=="function"&&(Rt("exec: resolving promise",r),i.then(()=>le.nextTick(a),s=>le.nextTick(a,s)))};qa.prototype.loadedSoFar=function(){if(this.loaded)return Promise.resolve();const e=()=>{this.server.after((n,l)=>{this._error=n,this.q.pause(),n?(Rt("rejecting promise",this.name,n),this._promise.reject(n)):(Rt("resolving promise",this.name),this._promise.resolve()),this._promise=null,le.nextTick(l,n)}),this.q.resume()};let t;return this._promise?t=Promise.resolve():(this._promise=EQ(),t=this._promise.promise,this.server?e():this.on("start",e)),t};qa.prototype.enqueue=function(e,t){Rt("enqueue",this.name,e.name),this.emit("enqueue",this.server?this.server.name:null,this.name,Date.now()),this.q.push(e,t)};qa.prototype.finish=function(e,t){Rt("finish",this.name,e);const n=()=>{this.loaded||(Rt("loaded",this.name),this.emit("loaded",this.server?this.server.name:null,this.name,Date.now()),this.loaded=!0,t(e))};if(e){this._promise&&(this._promise.reject(e),this._promise=null),n();return}const l=()=>{if(Rt("check",this.name,this.q.length(),this.q.running(),this._promise),this.q.length()===0&&this.q.running()===0)if(this._promise){const r=()=>{Rt("wrap"),queueMicrotask(l)};this._promise.resolve(),this._promise.promise.then(r,r),this._promise=null}else n();else Rt("delayed",this.name),this.q.drain=()=>{Rt("drain",this.name),this.q.drain=yQ,queueMicrotask(l)}};queueMicrotask(l),this.q.resume()};function AQ(e,t){const n=this;le.nextTick(C6.bind(n),e,t)}function C6(e,t){if(typeof e.func.then=="function"){e.func.then(l=>{typeof l.default=="function"&&(l=l.default),e.func=l,C6.call(this,e,t)},t);return}const n=this._current[0];this._current.unshift(e),e.exec(n&&n.server||this._server,l=>{e.finish(l,r=>{this._current.shift(),t(r)})})}function yQ(){}y6.exports=qa;y6.exports.loadPlugin=C6;var CQ=y6.exports;const Fp=OA,ZQ=ny.EventEmitter,SQ=x0.inherits,{AVV_ERR_EXPOSE_ALREADY_DEFINED:y3,AVV_ERR_CALLBACK_NOT_FN:Hi,AVV_ERR_PLUGIN_NOT_VALID:WQ,AVV_ERR_ROOT_PLG_BOOTED:vQ,AVV_ERR_READY_TIMEOUT:FQ}=Ry,NQ=dQ,F9=CQ,Ta=Ey("avvio"),Ju=Symbol("kAvvio"),C3=Symbol("kThenifyDoNotWrap");function IQ(e,t,n){const l=t.expose||{},r=l.use||"use",o=l.after||"after",a=l.ready||"ready",i=l.onClose||"onClose",s=l.close||"close";if(e[r])throw new y3(r);if(e[o])throw new y3(o);if(e[a])throw new y3(a);e[r]=function(c,u){return n.use(c,u),this},Object.defineProperty(e,"then",{get:Ay.bind(n)}),e[Ju]=!0,e[o]=function(c){return typeof c!="function"?n._loadRegistered():(n.after(Z3(c,this)),this)},e[a]=function(c){if(c&&typeof c!="function")throw new Hi(a,typeof c);return n.ready(c?Z3(c,this):void 0)},e[i]=function(c){if(typeof c!="function")throw new Hi(i,typeof c);return n.onClose(BQ(c,this)),this},e[s]=function(c){if(c&&typeof c!="function")throw new Hi(s,typeof c);return c?(n.close(Z3(c,this)),this):n.close()}}function ft(e,t,n){if(typeof e=="function"&&arguments.length===1&&(n=e,t={},e=null),typeof t=="function"&&(n=t,t={}),t=t||{},!(this instanceof ft)){const l=new ft(e,t,n);return e&&IQ(e,t,l),l}t.autostart!==!1&&(t.autostart=!0),e=e||this,this._timeout=Number(t.timeout)||0,this._server=e,this._current=[],this._error=null,this._isOnCloseHandlerKey=Symbol("isOnCloseHandler"),this._lastUsed=null,this.setMaxListeners(0),n&&this.once("start",n),this.started=!1,this.booted=!1,this.pluginTree=new NQ,this._readyQ=Fp(this,yy,1),this._readyQ.pause(),this._readyQ.drain=()=>{this.emit("start"),this._readyQ.drain=Np},this._closeQ=Fp(this,YQ,1),this._closeQ.pause(),this._closeQ.drain=()=>{this.emit("close"),this._closeQ.drain=Np},this._doStart=null,this._root=new F9(this,XQ.bind(this),t,!1,0),this._root.once("start",(l,r,o)=>{const a=this.pluginTree.start(null,r,o);this._root.once("loaded",(i,s,c)=>{this.pluginTree.stop(a,c)})}),F9.loadPlugin.call(this,this._root,l=>{Ta("root plugin ready");try{this.emit("preReady"),this._root=null}catch(r){l=l||this._error||r}if(l){if(this._error=l,this._readyQ.length()===0)throw l}else this.booted=!0;this._readyQ.resume()})}function XQ(e,t,n){this._doStart=n,t.autostart&&this.start()}SQ(ft,ZQ);ft.prototype.start=function(){return this.started=!0,le.nextTick(this._doStart),this};ft.prototype.override=function(e,t,n){return e};function GQ(e){if(e&&typeof e=="object"&&typeof e.default=="function"&&(e=e.default),!(e&&(typeof e=="function"||typeof e.then=="function")))throw new WQ(typeof e);return e}ft.prototype[Ju]=!0;ft.prototype.use=function(e,t){return this._lastUsed=this._addPlugin(e,t,!1),this};ft.prototype._loadRegistered=function(){const e=this._current[0];return!this.started&&!this.booted&&le.nextTick(()=>this._root.q.resume()),e?e.loadedSoFar():Promise.resolve()};Object.defineProperty(ft.prototype,"then",{get:Ay});ft.prototype._addPlugin=function(e,t,n){if(e=GQ(e),t=t||{},this.booted)throw new vQ;const l=this._current[0],r=new F9(this,e,t,n);if(r.once("start",(o,a,i)=>{const s=this.pluginTree.start(l.name,a,i);r.once("loaded",(c,u,d)=>{this.pluginTree.stop(s,d)})}),l.loaded)throw new Error(r.name,l.name);return l.enqueue(r,o=>{o&&(this._error=o)}),r};ft.prototype.after=function(e){if(!e)return this._loadRegistered();this._addPlugin(t.bind(this),{},!0);function t(n,l,r){yy.call(this,e,r)}return this};ft.prototype.onClose=function(e){if(typeof e!="function")throw new Error("not a function");e[this._isOnCloseHandlerKey]=!0,this._closeQ.unshift(e,t.bind(this));function t(n){n&&(this._error=n)}return this};ft.prototype.close=function(e){let t;if(e){if(typeof e!="function")throw new Hi("close",typeof e)}else t=new Promise(function(n,l){e=function(r){if(r)return l(r);n()}});return this.ready(()=>{this._error=null,this._closeQ.push(e),le.nextTick(this._closeQ.resume.bind(this._closeQ))}),t};ft.prototype.ready=function(e){if(e){if(typeof e!="function")throw new Hi("ready",typeof e);this._readyQ.push(e),queueMicrotask(this.start.bind(this));return}return new Promise((t,n)=>{this._readyQ.push(r),this.start();const l=this._current[0].server;function r(o,a,i){o?n(o):t(l),le.nextTick(i)}})};ft.prototype.prettyPrint=function(){return this.pluginTree.prittyPrint()};ft.prototype.toJSON=function(){return this.pluginTree.toJSON()};function Np(){}function Ay(){if(this.booted){Ta("thenify returning null because we are already booted");return}if(this[C3]){this[C3]=!1;return}return Ta("thenify"),(e,t)=>this._loadRegistered().then(()=>(this[C3]=!0,e(this._server)),t)}function yy(e,t){const n=this._server,l=this._error;let r;if(this._error=null,e.length===0)this._error=l,r=e(),r&&!r[Ju]&&typeof r.then=="function"?r.then(()=>le.nextTick(t),o=>le.nextTick(t,o)):le.nextTick(t);else if(e.length===1)r=e(l),r&&!r[Ju]&&typeof r.then=="function"?r.then(()=>le.nextTick(t),o=>le.nextTick(t,o)):le.nextTick(t);else if(this._timeout===0){const o=a=>{this._error=a,t(this._error)};e.length===2?e(l,o):e(l,n,o)}else UQ.call(this,e,l,n,t)}function UQ(e,t,n,l){const r=e.name;Ta("setting up ready timeout",r,this._timeout);let o=setTimeout(()=>{Ta("timed out",r),o=null;const i=new FQ(r);i.fn=e,this._error=i,l(i)},this._timeout);e.length===2?e(t,a.bind(this)):e(t,n,a.bind(this));function a(i){o&&(clearTimeout(o),this._error=i,l(this._error))}}function YQ(e,t){const n=this._server,l=e[this._isOnCloseHandlerKey];if(e.length===0||e.length===1){let r;l?r=e(n):r=e(this._error),r&&typeof r.then=="function"?(Ta("resolving close/onClose promise"),r.then(()=>le.nextTick(t),o=>le.nextTick(t,o))):le.nextTick(t)}else e.length===2?e(l?n:this._error,t):l?e(n,t):e(this._error,n,t)}function BQ(e,t){return n.bind(t);function n(l,r){let o;e.length===0?(o=e(),o&&o.then?o.then(function(){le.nextTick(r)},r):le.nextTick(r)):e.length===1?(o=e(this),o&&o.then?o.then(function(){le.nextTick(r)},r):le.nextTick(r)):e(this,r)}}function Z3(e,t){return n.bind(t);function n(l,r){let o;e?e.length===0?(o=e(),o&&o.then?o.then(function(){le.nextTick(r,l)},r):le.nextTick(r,l)):e.length===1?(o=e(l),o&&o.then?o.then(function(){le.nextTick(r)},r):le.nextTick(r)):e.length===2?e(l,r):e(l,this,r):le.nextTick(r)}}d6.exports=ft;d6.exports.express=function(e){return ft(e,{expose:{use:"load"}})};var wQ=d6.exports;const kQ=dJ(wQ);(function(){if(window.requestAnimationFrame&&window.cancelAnimationFrame)return;const e=["webkit","moz","ms","o"];for(const t of e)window.requestAnimationFrame=window.requestAnimationFrame||window[`${t}RequestAnimationFrame`],window.cancelAnimationFrame=window.cancelAnimationFrame||window[`${t}CancelAnimationFrame`]||window[`${t}CancelRequestAnimationFrame`];if(/iP(ad|hone|od).*OS 6/.test(window.navigator.userAgent)||!window.requestAnimationFrame||!window.cancelAnimationFrame){let t=0;const n=!!(window.performance&&window.performance.now);window.requestAnimationFrame=function(l){const r=n?window.performance.now():new Date().getTime(),o=Math.max(0,16-(r-t)),a=window.setTimeout(function(){l(r+o)},o);return t=r+o,a},window.cancelAnimationFrame=clearTimeout}})();function TQ(e,t=!0,n=!0,l={friendsTab:"enabled"}){const r=t?"https://grpc-sdk.streamlayer.io:443":"https://grpc-sdk.next.streamlayer.io:443",o=t?"https://grpc.streamlayer.io:443":"https://grpc.next.streamlayer.io:443",a=kQ(Object.create({}),{autostart:!1});return a.use(zL,{hideFriends:l.hideFriends,skipOnboarding:l.skipOnboarding,betPack:l.betPack,friendsTab:l.friendsTab,theme:l.theme,themeMode:l.themeMode}),a.use(wL,{onDeepLinkHandled:l==null?void 0:l.onDeepLinkHandled}),a.use(JL,{videoPlayerController:l==null?void 0:l.videoPlayerController}),a.use(QL,{onContentActivate:l==null?void 0:l.onContentActivate,withAd:l==null?void 0:l.withAd,withAdNotification:l==null?void 0:l.withAdNotification}),a.use(nL,{sdkKey:e,host:r,analyticsHost:o,version:l==null?void 0:l.version}),a.use(iL),a.use(LL),a.use(eJ),a.use(NL),a.use(uJ),a.after((i,s,c)=>{if(i)throw i;s.ready(),c()}),n&&a.after(async(i,s,c)=>{if(i)throw i;await s.sdk.initializeApp(),c()}),a.onClose(()=>{console.log("close")}),a}const LQ=({sdkKey:e,plugins:t,production:n,autoEnable:l,onDeepLinkHandled:r,videoPlayerController:o,onContentActivate:a,hideFriends:i,skipOnboarding:s,withAdNotification:c,withAd:u,friendsTab:d,betPack:h})=>{const[m,b]=B.useState(null);return B.useEffect(()=>{let R=!1;if(!e)return console.error("streamlayer sdk key should be provided"),b(f=>(f!==null&&typeof f.disableApp=="function"&&f.disableApp(),null)),()=>{R=!0};const y=TQ(e,n,l,{version:"1.17.1",onDeepLinkHandled:r,videoPlayerController:o,onContentActivate:a,skipOnboarding:s,withAdNotification:c,withAd:u,hideFriends:i,friendsTab:d,betPack:h});if(t)for(const f of t)y.use(f);return y.ready().then(f=>{R||(b(f.sdk),typeof window<"u")}).catch(f=>console.log(f)),()=>{R=!0,y.close(function(f){if(f)throw f})}},[e,n]),m};var JQ=Object.defineProperty,xQ=(e,t,n)=>t in e?JQ(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Te=(e,t,n)=>xQ(e,typeof t!="symbol"?t+"":t,n),zc=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof s5<"u"?s5:typeof self<"u"?self:{};function QQ(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function zQ(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function l(){return this instanceof l?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(l){var r=Object.getOwnPropertyDescriptor(e,l);Object.defineProperty(n,l,r.get?r:{enumerable:!0,get:function(){return e[l]}})}),n}const KQ=ZE({level:"trace",enabled:typeof window<"u"&&!!window.localStorage.getItem("SL_DEBUG"),browser:{write:e=>{console.log(e)}}}),ei=(e,t)=>KQ.child({name:e},t);class MQ extends Event{constructor(t,n){super(t),Te(this,"slEventBus"),this.slEventBus=n}}const HQ=ei("event-bus");class OQ{constructor(t="sl-event-bus"){Te(this,"name"),Te(this,"listeners"),Te(this,"emit",(n,l)=>{const r=new MQ(this.name,{...l,type:n});HQ.debug(r,"Emitting event"),window.dispatchEvent(r)}),Te(this,"destroy",()=>{this.listeners.forEach(n=>{window.removeEventListener(this.name,n),this.listeners.delete(n)}),this.listeners.clear()}),this.name=t,this.listeners=new Set}listen(t){return window.addEventListener(this.name,t),this.listeners.add(t),()=>{this.off(t)}}off(t){window.removeEventListener(this.name,t),this.listeners.delete(t)}}var Ip;(function(e){e[e.ONBOARDING=1]="ONBOARDING",e[e.QUESTION=2]="QUESTION",e[e.QUESTION_RESOLVED=3]="QUESTION_RESOLVED"})(Ip||(Ip={}));function DQ(e,t,n){let l=new Set(t).add(void 0);return e.listen((r,o,a)=>{l.has(a)&&n(r,o,a)})}window.slStore=Object.create(null);var Xp;(function(e){e.ORGANIZATION="ORGANIZATION",e.STREAM="STREAM"})(Xp||(Xp={}));se.BETTING+"",se.GAMES+"",se.PUBLIC_CHAT+"",se.TWITTER+"";var Gp;(function(e){e.Ready="ready",e.Suspended="suspended"})(Gp||(Gp={}));const Cy=new OQ;window.dispatchEvent(new CustomEvent("grpc_devtools_loaded"));function jQ(e){return e instanceof DOMException&&(e.code===22||e.code===1014||e.name==="QuotaExceededError"||e.name==="NS_ERROR_DOM_QUOTA_REACHED")}class PQ{constructor(t="main",n=window.localStorage){Te(this,"delimiter",":"),Te(this,"prefix"),Te(this,"storage"),Te(this,"clear",()=>{for(const l in window.localStorage)l.startsWith(this.prefix)&&this.storage.removeItem(l)}),Te(this,"generateKey",l=>`${this.prefix}${this.delimiter}${l.join(this.delimiter)}`),Te(this,"write",(...l)=>{const r=l.pop()||"",o=this.generateKey(l);try{this.storage.setItem(o,r)}catch(a){jQ(a)&&this.storage===window.sessionStorage&&(window.sessionStorage.removeItem("slstreamlogs"),this.storage.setItem(o,r))}}),Te(this,"read",(...l)=>{const r=this.storage.getItem(this.generateKey(l));return r===null?void 0:r}),Te(this,"remove",(...l)=>{this.storage.removeItem(this.generateKey(l))}),this.prefix=`sl-sdk${this.delimiter}${t}`,this.storage=n}}var Up;(function(e){e.Init="init",e.Ready="ready",e.Connecting="connecting",e.Connected="connected",e.Disconnected="disconnected",e.Failed="failed",e.Reconnect="reconnect",e.Reconnecting="reconnecting"})(Up||(Up={}));ei("grpc:stream");_.Unknown,_.Internal,_.DeadlineExceeded,_.ResourceExhausted,_.FailedPrecondition,_.Unavailable,_.DataLoss;ei("grpc:retry");Xu(10,{description:"Number of attempts to retry"}),Xu(3e4,{description:"Max delay between retries in milliseconds"});var Ql;(function(e){e.SCHEMA="schema",e.EXTERNAL_TOKEN="eToken",e.TOKEN="token"})(Ql||(Ql={}));class _Q extends PQ{constructor(){super("user"),Te(this,"setSchema",t=>{this.write(Ql.SCHEMA,t)}),Te(this,"getSchema",()=>this.read(Ql.SCHEMA)),Te(this,"setToken",t=>{this.write(Ql.TOKEN,t)}),Te(this,"getToken",()=>this.read(Ql.TOKEN)),Te(this,"setExternalToken",t=>{this.write(Ql.EXTERNAL_TOKEN,t)}),Te(this,"getExternalToken",()=>this.read(Ql.EXTERNAL_TOKEN)),Te(this,"removeToken",()=>{this.remove(Ql.TOKEN)})}}var Yp;(function(e){e.DISABLED="disabled",e.INITIALIZATION="initialization",e.READY="ready",e.FAILED="failed",e.SUSPENDED="suspended"})(Yp||(Yp={}));ei("deep_link");ei("bypass");new _Q;ei("video_player");O.FACTOID+"",O.POLL+"",O.TRIVIA+"",O.PREDICTION+"",O.TWEET+"";var Bp;(function(e){e.SHOWED="showed"})(Bp||(Bp={}));var wp;(function(e){e.ONBOARDING="onboarding",e.ONBOARDING_IO="onboarding_io",e.QUESTION_RECEIVED="q-received",e.QUESTION_OPENED="q-opened"})(wp||(wp={}));var kp;(function(e){e.ALLOWED="allowed",e.DISALLOWED="disallowed"})(kp||(kp={}));var Tp;(function(e){e.OPENED="opened"})(Tp||(Tp={}));var Lp;(function(e){e.UNKNOWN="unknown",e.ALREADY_VOTED="already_voted"})(Lp||(Lp={}));var Jp;(function(e){e.Unset="unset",e.Required="required",e.Optional="optional",e.Completed="completed",e.Disabled="disabled",e.Unavailable="unavailable"})(Jp||(Jp={}));O.POLL,O.PREDICTION,O.TRIVIA;const $Q={[se.GAMES]:!0};var qQ=function(){const e=Array.prototype.slice.call(arguments).filter(Boolean),t={},n=[];e.forEach(r=>{(r?r.split(" "):[]).forEach(o=>{if(o.startsWith("atm_")){const[,a]=o.split("_");t[a]=o}else n.push(o)})});const l=[];for(const r in t)Object.prototype.hasOwnProperty.call(t,r)&&l.push(t[r]);return l.push(...n),l.join(" ")},La=qQ;function ez(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var tz=/^((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|disableRemotePlayback|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)-.*))$/,S3=ez(function(e){return tz.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),nz=e=>e.toUpperCase()===e,lz=e=>t=>e.indexOf(t)===-1,Zy=(e,t)=>{const n={};return Object.keys(e).filter(lz(t)).forEach(l=>{n[l]=e[l]}),n};function rz(e,t,n){const l=Zy(t,n);if(!e){const r=typeof S3=="function"?{default:S3}:S3;Object.keys(l).forEach(o=>{r.default(o)||delete l[o]})}return l}var oz=(e,t)=>{};function az(e){let t="";return n=>{const l=(o,a)=>{const{as:i=e,class:s=t}=o,c=n.propsAsIs===void 0?!(typeof i=="string"&&i.indexOf("-")===-1&&!nz(i[0])):n.propsAsIs,u=rz(c,o,["as","class"]);u.ref=a,u.className=n.atomic?La(n.class,u.className||s):La(u.className||s,n.class);const{vars:d}=n;if(d){const h={};for(const R in d){const y=d[R],f=y[0],g=y[1]||"",V=typeof f=="function"?f(o):f;oz(V,n.name),h[`--${R}`]=`${V}${g}`}const m=u.style||{},b=Object.keys(m);b.length>0&&b.forEach(R=>{h[R]=m[R]}),u.style=h}return e.__wyw_meta&&e!==i?(u.as=i,B.createElement(e,u)):B.createElement(i,u)},r=B.forwardRef?B.forwardRef(l):o=>{const a=Zy(o,["innerRef"]);return l(a,o.innerRef)};return r.displayName=n.name,r.__wyw_meta={className:n.class||t,extends:e},r}}var X=az;const Z6=X("div")({name:"SDKContentContainer",class:"s1meqjjv",propsAsIs:!1}),iz=()=>Z6,Sy=X(iz())({name:"SDKWhiteContainer",class:"s1burm22",propsAsIs:!0}),sz=()=>Sy,cz=X(sz())({name:"SDKSummaryContainer",class:"sm5r3j5",propsAsIs:!0}),uz=X("div")({name:"TabsContainer",class:"tysxwr6",propsAsIs:!1}),dz=()=>Z6,hz=X(dz())({name:"LeaderboardContainer",class:"l9er3b1",propsAsIs:!0}),mz=()=>Sy,fz=X(mz())({name:"TabsNavContainer",class:"t19dtrb3",propsAsIs:!0}),pz=X("div")({name:"UserSummaryContainer",class:"u1552n3j",propsAsIs:!1});function gz(e,t={}){let n=B.useCallback(r=>t.keys?DQ(e,t.keys,r):e.listen(r),[t.keys,e]),l=e.get.bind(e);return B.useSyncExternalStore(n,l,l)}/**
|
|
57
57
|
* @license React
|
|
58
58
|
* use-sync-external-store-shim.production.js
|
|
59
59
|
*
|
package/lib/es/index2.js
CHANGED
|
@@ -21619,7 +21619,7 @@ const zx = ({
|
|
|
21619
21619
|
R = !0;
|
|
21620
21620
|
};
|
|
21621
21621
|
const A = xx(e, n, l, {
|
|
21622
|
-
version: "1.17.
|
|
21622
|
+
version: "1.17.1",
|
|
21623
21623
|
onDeepLinkHandled: r,
|
|
21624
21624
|
videoPlayerController: o,
|
|
21625
21625
|
onContentActivate: a,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@streamlayer/web-os",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"author": "StreamLayer, Inc (https://streamlayer.io)",
|
|
6
6
|
"maintainers": [
|
|
@@ -27,18 +27,18 @@
|
|
|
27
27
|
"package.json"
|
|
28
28
|
],
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@streamlayer/feature-gamification": "^1.19.
|
|
31
|
-
"@streamlayer/sdk-web": "^1.13.
|
|
32
|
-
"@streamlayer/sdk-web-
|
|
33
|
-
"@streamlayer/sdk-web-
|
|
34
|
-
"@streamlayer/sdk-web-
|
|
35
|
-
"@streamlayer/sdk-web-
|
|
36
|
-
"@streamlayer/sdk-web-interfaces": "^1.6.
|
|
37
|
-
"@streamlayer/sdk-web-
|
|
38
|
-
"@streamlayer/sdk-web-
|
|
39
|
-
"@streamlayer/
|
|
40
|
-
"@streamlayer/
|
|
41
|
-
"@streamlayer/sdk-web-types": "^1.13.
|
|
30
|
+
"@streamlayer/feature-gamification": "^1.19.1",
|
|
31
|
+
"@streamlayer/sdk-web": "^1.13.1",
|
|
32
|
+
"@streamlayer/sdk-web-api": "^1.11.1",
|
|
33
|
+
"@streamlayer/sdk-web-core": "^1.14.1",
|
|
34
|
+
"@streamlayer/sdk-web-analytics": "^1.10.1",
|
|
35
|
+
"@streamlayer/sdk-web-features": "^1.0.66",
|
|
36
|
+
"@streamlayer/sdk-web-interfaces": "^1.6.4",
|
|
37
|
+
"@streamlayer/sdk-web-logger": "^1.0.66",
|
|
38
|
+
"@streamlayer/sdk-web-notifications": "^1.3.28",
|
|
39
|
+
"@streamlayer/sdk-web-storage": "^1.0.66",
|
|
40
|
+
"@streamlayer/react-polyfills": "^0.1.26",
|
|
41
|
+
"@streamlayer/sdk-web-types": "^1.13.1"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
44
44
|
"@bufbuild/protobuf": "^2.2.2",
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
"size-limit": "^11.1.6",
|
|
95
95
|
"url-loader": "^4.1.1",
|
|
96
96
|
"vite-plugin-dts": "^4.2.3",
|
|
97
|
-
"@streamlayer/react": "^1.17.
|
|
98
|
-
"@streamlayer/react-ui": "^1.26.
|
|
97
|
+
"@streamlayer/react": "^1.17.1",
|
|
98
|
+
"@streamlayer/react-ui": "^1.26.1"
|
|
99
99
|
}
|
|
100
100
|
}
|