@streamlayer/react 1.11.3-rc.5 → 1.11.3

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.
Files changed (96) hide show
  1. package/lib/app/advertisement.d.ts +18 -0
  2. package/lib/app/app.d.ts +19 -0
  3. package/lib/{auth.d.ts → app/auth.d.ts} +4 -13
  4. package/lib/app/event.d.ts +4 -0
  5. package/lib/app/insight.d.ts +13 -0
  6. package/lib/app/masters.d.ts +28 -0
  7. package/lib/app/notification.d.ts +5 -0
  8. package/lib/app/points.d.ts +3 -0
  9. package/lib/app/provider.d.ts +43 -0
  10. package/lib/app/useStreamLayerApp.d.ts +19 -0
  11. package/lib/cjs/advertisement.js +1 -1
  12. package/lib/cjs/auth.js +1 -1
  13. package/lib/cjs/gamification-feature.js +1 -1
  14. package/lib/cjs/gamification-feature2.js +1 -0
  15. package/lib/cjs/index.js +1 -1
  16. package/lib/cjs/insight.js +1 -1
  17. package/lib/cjs/masters.js +1 -0
  18. package/lib/cjs/masters2.js +9 -0
  19. package/lib/cjs/notification.js +1 -1
  20. package/lib/cjs/points.js +1 -1
  21. package/lib/cjs/provider.js +98 -85
  22. package/lib/cjs/useStreamLayerApp2.js +17 -15
  23. package/lib/classic/app/advertisement.d.ts +18 -0
  24. package/lib/classic/app/app.d.ts +19 -0
  25. package/lib/classic/{auth.d.ts → app/auth.d.ts} +4 -13
  26. package/lib/classic/app/event.d.ts +4 -0
  27. package/lib/classic/app/insight.d.ts +13 -0
  28. package/lib/classic/app/masters.d.ts +28 -0
  29. package/lib/classic/app/notification.d.ts +5 -0
  30. package/lib/classic/app/points.d.ts +3 -0
  31. package/lib/classic/app/provider.d.ts +43 -0
  32. package/lib/classic/app/useStreamLayerApp.d.ts +19 -0
  33. package/lib/classic/cjs/advertisement.js +1 -1
  34. package/lib/classic/cjs/auth.js +1 -1
  35. package/lib/classic/cjs/gamification-feature.js +1 -1
  36. package/lib/classic/cjs/gamification-feature2.js +1 -0
  37. package/lib/classic/cjs/index.js +1 -1
  38. package/lib/classic/cjs/insight.js +1 -1
  39. package/lib/classic/cjs/masters.js +1 -0
  40. package/lib/classic/cjs/masters2.js +9 -0
  41. package/lib/classic/cjs/notification.js +1 -1
  42. package/lib/classic/cjs/points.js +1 -1
  43. package/lib/classic/cjs/provider.js +98 -85
  44. package/lib/classic/cjs/useStreamLayerApp2.js +17 -15
  45. package/lib/classic/es/advertisement.js +619 -719
  46. package/lib/classic/es/auth.js +2 -5
  47. package/lib/classic/es/gamification-feature.js +1 -1
  48. package/lib/classic/es/gamification-feature2.js +4 -0
  49. package/lib/classic/es/index.js +14 -11
  50. package/lib/classic/es/insight.js +33 -33
  51. package/lib/classic/es/masters.js +8 -0
  52. package/lib/classic/es/masters2.js +1106 -0
  53. package/lib/classic/es/notification.js +378 -453
  54. package/lib/classic/es/points.js +39 -64
  55. package/lib/classic/es/provider.js +15850 -13307
  56. package/lib/classic/es/useStreamLayerApp2.js +8135 -4692
  57. package/lib/classic/index.d.ts +14 -218
  58. package/lib/classic/masters.d.ts +5 -0
  59. package/lib/classic/style.css +1 -455
  60. package/lib/dist/cjs/gamification-feature.js +1 -0
  61. package/lib/dist/cjs/gamification-feature2.js +1 -0
  62. package/lib/dist/cjs/index.js +1 -0
  63. package/lib/dist/cjs/masters.js +219 -0
  64. package/lib/dist/cjs/package.json +1 -0
  65. package/lib/dist/es/gamification-feature.js +4 -0
  66. package/lib/dist/es/gamification-feature2.js +123 -0
  67. package/lib/dist/es/index.js +9 -0
  68. package/lib/dist/es/masters.js +42736 -0
  69. package/lib/dist/es/package.json +1 -0
  70. package/lib/dist/style.css +1 -0
  71. package/lib/es/advertisement.js +619 -719
  72. package/lib/es/auth.js +2 -5
  73. package/lib/es/gamification-feature.js +1 -1
  74. package/lib/es/gamification-feature2.js +4 -0
  75. package/lib/es/index.js +14 -11
  76. package/lib/es/insight.js +33 -33
  77. package/lib/es/masters.js +8 -0
  78. package/lib/es/masters2.js +1106 -0
  79. package/lib/es/notification.js +378 -453
  80. package/lib/es/points.js +39 -64
  81. package/lib/es/provider.js +15856 -13306
  82. package/lib/es/useStreamLayerApp2.js +8135 -4692
  83. package/lib/index.d.ts +14 -218
  84. package/lib/masters.d.ts +5 -0
  85. package/lib/style.css +1 -1
  86. package/package.json +57 -3
  87. package/lib/advertisement.d.ts +0 -146
  88. package/lib/classic/advertisement.d.ts +0 -146
  89. package/lib/classic/insight.d.ts +0 -136
  90. package/lib/classic/notification.d.ts +0 -120
  91. package/lib/classic/points.d.ts +0 -12
  92. package/lib/classic/useStreamLayerApp.d.ts +0 -167
  93. package/lib/insight.d.ts +0 -136
  94. package/lib/notification.d.ts +0 -120
  95. package/lib/points.d.ts +0 -12
  96. package/lib/useStreamLayerApp.d.ts +0 -167
@@ -0,0 +1,219 @@
1
+ "use strict";var zL=Object.defineProperty;var HL=(n,a,o)=>a in n?zL(n,a,{enumerable:!0,configurable:!0,writable:!0,value:o}):n[a]=o;var U=(n,a,o)=>HL(n,typeof a!="symbol"?a+"":a,o);const w=require("react/jsx-runtime"),W=require("react");function GL(n){const a=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(n){for(const o in n)if(o!=="default"){const l=Object.getOwnPropertyDescriptor(n,o);Object.defineProperty(a,o,l.get?l:{enumerable:!0,get:()=>n[o]})}}return a.default=n,Object.freeze(a)}const j=GL(W);function qL(n){var a=Object.create(null);return function(o){return a[o]===void 0&&(a[o]=n(o)),a[o]}}var WL=/^((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)-.*))$/,y5=qL(function(n){return WL.test(n)||n.charCodeAt(0)===111&&n.charCodeAt(1)===110&&n.charCodeAt(2)<91}),QL=function(){const a=Array.prototype.slice.call(arguments).filter(Boolean),o={},l=[];a.forEach(p=>{(p?p.split(" "):[]).forEach(y=>{if(y.startsWith("atm_")){const[,b]=y.split("_");o[b]=y}else l.push(y)})});const c=[];for(const p in o)Object.prototype.hasOwnProperty.call(o,p)&&c.push(o[p]);return c.push(...l),c.join(" ")},ku=QL,YL=n=>n.toUpperCase()===n,KL=n=>a=>n.indexOf(a)===-1,sw=(n,a)=>{const o={};return Object.keys(n).filter(KL(a)).forEach(l=>{o[l]=n[l]}),o};function ZL(n,a,o){const l=sw(a,o);if(!n){const c=typeof y5=="function"?{default:y5}:y5;Object.keys(l).forEach(p=>{c.default(p)||delete l[p]})}return l}var XL=(n,a)=>{};function JL(n){let a="";return o=>{const l=(p,f)=>{const{as:y=n,class:b=a}=p,C=o.propsAsIs===void 0?!(typeof y=="string"&&y.indexOf("-")===-1&&!YL(y[0])):o.propsAsIs,_=ZL(C,p,["as","class"]);_.ref=f,_.className=o.atomic?ku(o.class,_.className||b):ku(_.className||b,o.class);const{vars:N}=o;if(N){const O={};for(const D in N){const B=N[D],V=B[0],Q=B[1]||"",K=typeof V=="function"?V(p):V;XL(K,o.name),O[`--${D}`]=`${K}${Q}`}const L=_.style||{},x=Object.keys(L);x.length>0&&x.forEach(D=>{O[D]=L[D]}),_.style=O}return n.__wyw_meta&&n!==y?(_.as=y,W.createElement(n,_)):W.createElement(y,_)},c=W.forwardRef?W.forwardRef(l):p=>{const f=sw(p,["innerRef"]);return l(f,p.innerRef)};return c.displayName=o.name,c.__wyw_meta={className:o.class||a,extends:n},c}}var P=JL;const eA=P("div")({name:"SDKContainer",class:"s8zgqze",propsAsIs:!1}),tA=P("div")({name:"SDKScrollContainer",class:"s6t897k",propsAsIs:!1}),iw=P("div")({name:"SDKContentContainer",class:"sw7pkvp",propsAsIs:!1}),nA=()=>iw,k6=P(nA())({name:"SDKWhiteContainer",class:"s14gkn7u",propsAsIs:!0}),aA=P("div")({name:"TabsContainer",class:"t1yxstm9",propsAsIs:!1}),rA=()=>k6,oA=P(rA())({name:"LeaderboardContainer",class:"ldpty1s",propsAsIs:!0}),sA=()=>k6,iA=P(sA())({name:"TabsNavContainer",class:"t136a59y",propsAsIs:!0}),lA=P("div")({name:"UserSummaryContainer",class:"u11vnm9m",propsAsIs:!1});var Ih=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function lw(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}function uA(n){if(n.__esModule)return n;var a=n.default;if(typeof a=="function"){var o=function l(){return this instanceof l?Reflect.construct(a,arguments,this.constructor):a.apply(this,arguments)};o.prototype=a.prototype}else o={};return Object.defineProperty(o,"__esModule",{value:!0}),Object.keys(n).forEach(function(l){var c=Object.getOwnPropertyDescriptor(n,l);Object.defineProperty(o,l,c.get?c:{enumerable:!0,get:function(){return n[l]}})}),o}var uw="Expected a function",vb=NaN,cA="[object Symbol]",dA=/^\s+|\s+$/g,mA=/^[-+]0x[0-9a-f]+$/i,fA=/^0b[01]+$/i,pA=/^0o[0-7]+$/i,hA=parseInt,gA=typeof Ih=="object"&&Ih&&Ih.Object===Object&&Ih,yA=typeof self=="object"&&self&&self.Object===Object&&self,vA=gA||yA||Function("return this")(),TA=Object.prototype,bA=TA.toString,kA=Math.max,SA=Math.min,v5=function(){return vA.Date.now()};function wA(n,a,o){var l,c,p,f,y,b,C=0,_=!1,N=!1,O=!0;if(typeof n!="function")throw new TypeError(uw);a=Tb(a)||0,n6(o)&&(_=!!o.leading,N="maxWait"in o,p=N?kA(Tb(o.maxWait)||0,a):p,O="trailing"in o?!!o.trailing:O);function L(ue){var oe=l,Ne=c;return l=c=void 0,C=ue,f=n.apply(Ne,oe),f}function x(ue){return C=ue,y=setTimeout(V,a),_?L(ue):f}function D(ue){var oe=ue-b,Ne=ue-C,de=a-oe;return N?SA(de,p-Ne):de}function B(ue){var oe=ue-b,Ne=ue-C;return b===void 0||oe>=a||oe<0||N&&Ne>=p}function V(){var ue=v5();if(B(ue))return Q(ue);y=setTimeout(V,D(ue))}function Q(ue){return y=void 0,O&&l?L(ue):(l=c=void 0,f)}function K(){y!==void 0&&clearTimeout(y),C=0,l=b=c=y=void 0}function re(){return y===void 0?f:Q(v5())}function te(){var ue=v5(),oe=B(ue);if(l=arguments,c=this,b=ue,oe){if(y===void 0)return x(b);if(N)return y=setTimeout(V,a),L(b)}return y===void 0&&(y=setTimeout(V,a)),f}return te.cancel=K,te.flush=re,te}function CA(n,a,o){var l=!0,c=!0;if(typeof n!="function")throw new TypeError(uw);return n6(o)&&(l="leading"in o?!!o.leading:l,c="trailing"in o?!!o.trailing:c),wA(n,a,{leading:l,maxWait:a,trailing:c})}function n6(n){var a=typeof n;return!!n&&(a=="object"||a=="function")}function EA(n){return!!n&&typeof n=="object"}function _A(n){return typeof n=="symbol"||EA(n)&&bA.call(n)==cA}function Tb(n){if(typeof n=="number")return n;if(_A(n))return vb;if(n6(n)){var a=typeof n.valueOf=="function"?n.valueOf():n;n=n6(a)?a+"":a}if(typeof n!="string")return n===0?n:+n;n=n.replace(dA,"");var o=fA.test(n);return o||pA.test(n)?hA(n.slice(2),o?2:8):mA.test(n)?vb:+n}var IA=CA;const u2=lw(IA);function NA(n,a,o){let l=new Set([...a,void 0]);return n.listen((c,p)=>{l.has(p)&&o(c,p)})}function RA(n,a={}){let o=W.useCallback(c=>a.keys?NA(n,a.keys,c):n.listen(c),[a.keys,n]),l=n.get.bind(n);return W.useSyncExternalStore(o,l,l)}var OA={};/**
2
+ * @license React
3
+ * use-sync-external-store-shim.production.js
4
+ *
5
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
6
+ *
7
+ * This source code is licensed under the MIT license found in the
8
+ * LICENSE file in the root directory of this source tree.
9
+ */var v0=W;function LA(n,a){return n===a&&(n!==0||1/n===1/a)||n!==n&&a!==a}var AA=typeof Object.is=="function"?Object.is:LA,xA=v0.useState,PA=v0.useEffect,MA=v0.useLayoutEffect,DA=v0.useDebugValue;function UA(n,a){var o=a(),l=xA({inst:{value:o,getSnapshot:a}}),c=l[0].inst,p=l[1];return MA(function(){c.value=o,c.getSnapshot=a,T5(c)&&p({inst:c})},[n,o,a]),PA(function(){return T5(c)&&p({inst:c}),n(function(){T5(c)&&p({inst:c})})},[n]),DA(o),o}function T5(n){var a=n.getSnapshot;n=n.value;try{var o=a();return!AA(n,o)}catch{return!0}}function FA(n,a){return a()}var VA=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?FA:UA;OA.useSyncExternalStore=v0.useSyncExternalStore!==void 0?v0.useSyncExternalStore:VA;const Ut=RA,cw=j.useTransition,dw={BLUE_QUESTION_ACTION_BTN:"#1589ee",WHITE:"#FFFFFF",BLUE:"#2d6ffd",GREY_PRIMARY:"#909395",GREY_PRIMARY_ONBOARDING_INAPP:"#B5B7B8",PRIMARY_1:"#1D7BFF",PRIMARY_2:"#095CD1",PRIMARY_TEXT:"#090E13",SECONDARY_TEXT:"rgba(10, 14, 19, 0.70)",QUESTION_TYPE_ICON:"#1D7BFF",SUCCESS:"#107D57",UNSUCCESS:"#DF2F3B",SECONDARY_RED1:"#DF2F3B",NEUTRALS_WHITE:"#FFFFFF",NEUTRALS_WHITE1:"#FFFFFF",NEUTRALS_GRAY1:"#F7F7F7",NEUTRALS_GRAY2:"#F2F2F1",NEUTRALS_GRAY3:"#E8E8E8",NEUTRALS_GRAY4:"#D9D9D6",NEUTRALS_GRAY5:"#B1B3B3",NEUTRALS_GRAY6:"#888B8D",NEUTRALS_GRAY7:"#6B6F73",NEUTRALS_GRAY9:"#25282A",SDK_CONTAINER_BG:"#F7F7F7",SDK_WHITE_CONTAINER_BG:"#fff",SDK_DARK_CONTAINER_BG:"#fff",SDK_PREDICTION_RESULT_SUCCESS_BG:"#fff",SDK_PREDICTION_RESULT_INCORRECT_BG:"#fff",SDK_PREDICTION_RESULT_SUCCESS_TEXT:"#107D57",SDK_PREDICTION_RESULT_ERROR_TITLE:"#090E13",SDK_PREDICTION_RESULT_ERROR_SUBTITLE:"#DF2F3B",SDK_PREDICTION_RESULT_CLOSE_ICON:"#6B6F73",SDK_PREDICTION_FEEDBACK_SUCCESS_ICON:"#107D57",SDK_PREDICTION_FEEDBACK_INCORRECT_RECT1:"#CD2525",SDK_PREDICTION_FEEDBACK_INCORRECT_RECT2:"#fff",PREDICTION_BG_LINES_CORRECT:"#01AB58",PREDICTION_BG_LINES_INCORRECT:"#888B8D",SKELETON_COLOR_1:"#f1efef",SKELETON_COLOR_2:"#f9f8f8",TABS_CONTAINER_BG:"#F2F2F1",TABS_ACTIVE_BG:"#FFFFFF",TABS_COLOR:"#6B6F73",TABS_ACTIVE_COLOR:"#1D7BFF",CARD_BG:"#FFFFFF",CARD_BORDER:"#fff",BORDER:"#E8E8E8",VOTE_BTN_BG:"#F7F7F7",VOTE_BTN_BORDER:"rgb(232, 232, 232)",VOTE_BTN_DISABLED_BORDER:"#B1B3B3",VOTE_BTN_SELECTED_BORDER:"#25282A",VOTE_BTN_NOT_SELECTED_BORDER:"#E8E8E8",VOTE_BTN_SELECTED_BG:"#FFFFFF",VOTE_BTN_NOT_SELECTED_BG:"#FFFFFF",VOTE_BTN_NOT_SELECTED_BG_UNSET:"rgb(196, 196, 196)",VOTED_ANSWER_BG:"#FFFFFF",VOTED_BTN_RCT_BG:"#2d5694",IN_APP_BG:"rgba(255, 255, 255, 0.90)",IN_APP_QUESTION_TYPE_ICON:"#1D7BFF",IN_APP_QUESTION_TYPE_LABEL:"#82899E",IN_APP_QUESTION_QUOTE:"rgba(10, 14, 19, 0.70)",IN_APP_QUESTION_RESULT_SUBTITLE_BG:"#1D7BFF",IN_APP_QUESTION_RESULT_LINE:"#babfc5"},BA={BG_PRIMARY:"#13212b",BG_SECONDARY:"#152430",BG_SECONDARY1:"#435059",BORDER_PRIMARY:"rgba(255, 255, 255, 0.1)",TEXT_PRIMARY:"#f9f9f9",TEXT_PRIMARY1:"#f9f9f9",TEXT_SECONDARY:"rgba(255, 255, 255, 0.8)",TEXT_SECONDARY1:"#878787",WHITE:"#fff"},jA=["#107D57","#DF2F3B","#DF2F3B","#E8E8E8"],$A="#cee5de",zA="#f9d6d8",HA="#E8E8E8",sa={REGULAR:"'SF Pro Text', Arial, Helvetica, sans-serif",SERIF:"'SF Pro Display', Arial, Helvetica, sans-serif",COLOR:"#fff",WEIGHT_DEFAULT:"500",WEIGHT_DEFAULT1:"500",WEIGHT_DEFAULT2:"400",WEIGHT_DEFAULT3:"500",SIZE_DEFAULT:"16px",SIZE_DEFAULT1:"14px",SIZE_DEFAULT2:"12px",LINE_HEIGHT:"24px",MARGIN_TITLE_DEFAULT:"24px 0px"},ca={xs:324,sm:576,md:768,lg:992,xl:1200,xxl:1440},GA={landscape:"landscape",portrait:"portrait"},qA=Object.entries(dw).reduce((n,[a,o])=>`
10
+ ${n}
11
+ --color-${a.toLowerCase().replaceAll("_","-")}: ${o};
12
+ `,""),WA=Object.entries(BA).reduce((n,[a,o])=>`
13
+ ${n}
14
+ --color-adv-${a.toLowerCase().replaceAll("_","-")}: ${o};
15
+ `,"");function QA(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var mw={exports:{}},Un=mw.exports={},zs,Hs;function o9(){throw new Error("setTimeout has not been defined")}function s9(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?zs=setTimeout:zs=o9}catch{zs=o9}try{typeof clearTimeout=="function"?Hs=clearTimeout:Hs=s9}catch{Hs=s9}})();function fw(n){if(zs===setTimeout)return setTimeout(n,0);if((zs===o9||!zs)&&setTimeout)return zs=setTimeout,setTimeout(n,0);try{return zs(n,0)}catch{try{return zs.call(null,n,0)}catch{return zs.call(this,n,0)}}}function YA(n){if(Hs===clearTimeout)return clearTimeout(n);if((Hs===s9||!Hs)&&clearTimeout)return Hs=clearTimeout,clearTimeout(n);try{return Hs(n)}catch{try{return Hs.call(null,n)}catch{return Hs.call(this,n)}}}var Ji=[],d0=!1,qc,Bh=-1;function KA(){!d0||!qc||(d0=!1,qc.length?Ji=qc.concat(Ji):Bh=-1,Ji.length&&pw())}function pw(){if(!d0){var n=fw(KA);d0=!0;for(var a=Ji.length;a;){for(qc=Ji,Ji=[];++Bh<a;)qc&&qc[Bh].run();Bh=-1,a=Ji.length}qc=null,d0=!1,YA(n)}}Un.nextTick=function(n){var a=new Array(arguments.length-1);if(arguments.length>1)for(var o=1;o<arguments.length;o++)a[o-1]=arguments[o];Ji.push(new hw(n,a)),Ji.length===1&&!d0&&fw(pw)};function hw(n,a){this.fun=n,this.array=a}hw.prototype.run=function(){this.fun.apply(null,this.array)};Un.title="browser";Un.browser=!0;Un.env={};Un.argv=[];Un.version="";Un.versions={};function ol(){}Un.on=ol;Un.addListener=ol;Un.once=ol;Un.off=ol;Un.removeListener=ol;Un.removeAllListeners=ol;Un.emit=ol;Un.prependListener=ol;Un.prependOnceListener=ol;Un.listeners=function(n){return[]};Un.binding=function(n){throw new Error("process.binding is not supported")};Un.cwd=function(){return"/"};Un.chdir=function(n){throw new Error("process.chdir is not supported")};Un.umask=function(){return 0};var ZA=mw.exports;const C0=QA(ZA);let XA=Symbol("clean"),Da=[],JA=(n,a)=>{let o=[],l={get(){return l.lc||l.listen(()=>{})(),l.value},l:a||0,lc:0,listen(c,p){return l.lc=o.push(c,p||l.l)/2,()=>{let f=o.indexOf(c);~f&&(o.splice(f,2),--l.lc||l.off())}},notify(c,p){let f=!Da.length;for(let y=0;y<o.length;y+=2)Da.push(o[y],o[y+1],l.value,c,p);if(f){for(let y=0;y<Da.length;y+=5){let b;for(let C=y+1;!b&&(C+=5)<Da.length;)Da[C]<Da[y+1]&&(b=Da.push(Da[y],Da[y+1],Da[y+2],Da[y+3],Da[y+4]));b||Da[y](Da[y+2],Da[y+3],Da[y+4])}Da.length=0}},off(){},set(c){let p=l.value;p!==c&&(l.value=c,l.notify(p))},subscribe(c,p){let f=l.listen(c,p);return c(l.value),f},value:n};return C0.env.NODE_ENV!=="production"&&(l[XA]=()=>{o=[],l.lc=0,l.off()}),l},gw=(n={})=>{let a=JA(n);return a.setKey=function(o,l){let c=a.value;typeof l>"u"&&o in a.value?(a.value={...a.value},delete a.value[o],a.notify(c,o)):a.value[o]!==l&&(a.value={...a.value,[o]:l},a.notify(c,o))},a};const z9=(n,a,o)=>{const l=a>=ca.lg&&a<ca.xl?75:52;n.current&&window.scrollTo({top:n.current.offsetTop-l,...o})},ex=15,tx=(n,a)=>{const o=W.useRef(null),l=W.useRef(0),[c]=W.useState(gw({scrollPosition:0,tabsShown:!0,scrollDirection:"forward"})),p=Ut(a);return W.useEffect(()=>{const f=window.innerWidth<ca.xl?window:o.current;if(!f)return()=>{};const y=u2(b=>{var C;const _=b.target;if(!_)return;let N=0;p.screen.size<ca.xl?N=((C=n.current)==null?void 0:C.getBoundingClientRect().y)||0:N=_.scrollTop;const O=l.current-N;if(ex>Math.abs(O))return;const L=l.current<N?"forward":"backward";l.current=N,c.set({scrollPosition:Math.round(N),scrollDirection:L,tabsShown:c.get().tabsShown})},200);return f.addEventListener("scroll",y),()=>{f.removeEventListener("scroll",y)}},[c,n,p.screen]),[o,c]};var H9={exports:{}};function nx(n){try{return JSON.stringify(n)}catch{return'"[Circular]"'}}var ax=rx;function rx(n,a,o){var l=o&&o.stringify||nx,c=1;if(typeof n=="object"&&n!==null){var p=a.length+c;if(p===1)return n;var f=new Array(p);f[0]=l(n);for(var y=1;y<p;y++)f[y]=l(a[y]);return f.join(" ")}if(typeof n!="string")return n;var b=a.length;if(b===0)return n;for(var C="",_=1-c,N=-1,O=n&&n.length||0,L=0;L<O;){if(n.charCodeAt(L)===37&&L+1<O){switch(N=N>-1?N:0,n.charCodeAt(L+1)){case 100:case 102:if(_>=b||a[_]==null)break;N<L&&(C+=n.slice(N,L)),C+=Number(a[_]),N=L+2,L++;break;case 105:if(_>=b||a[_]==null)break;N<L&&(C+=n.slice(N,L)),C+=Math.floor(Number(a[_])),N=L+2,L++;break;case 79:case 111:case 106:if(_>=b||a[_]===void 0)break;N<L&&(C+=n.slice(N,L));var x=typeof a[_];if(x==="string"){C+="'"+a[_]+"'",N=L+2,L++;break}if(x==="function"){C+=a[_].name||"<anonymous>",N=L+2,L++;break}C+=l(a[_]),N=L+2,L++;break;case 115:if(_>=b)break;N<L&&(C+=n.slice(N,L)),C+=String(a[_]),N=L+2,L++;break;case 37:N<L&&(C+=n.slice(N,L)),C+="%",N=L+2,L++,_--;break}++_}++L}return N===-1?n:(N<O&&(C+=n.slice(N)),C)}const bb=ax;H9.exports=rl;const c2=Tx().console||{},ox={mapHttpRequest:Nh,mapHttpResponse:Nh,wrapRequestSerializer:b5,wrapResponseSerializer:b5,wrapErrorSerializer:b5,req:Nh,res:Nh,err:Sb,errWithCause:Sb};function a6(n,a){return n==="silent"?1/0:a.levels.values[n]}const G9=Symbol("pino.logFuncs"),i9=Symbol("pino.hierarchy"),sx={error:"log",fatal:"error",warn:"error",info:"log",debug:"log",trace:"log"};function kb(n,a){const o={logger:a,parent:n[i9]};a[i9]=o}function ix(n,a,o){const l={};a.forEach(c=>{l[c]=o[c]?o[c]:c2[c]||c2[sx[c]||"log"]||m0}),n[G9]=l}function lx(n,a){return Array.isArray(n)?n.filter(function(l){return l!=="!stdSerializers.err"}):n===!0?Object.keys(a):!1}function rl(n){n=n||{},n.browser=n.browser||{};const a=n.browser.transmit;if(a&&typeof a.send!="function")throw Error("pino: transmit option must have a send function");const o=n.browser.write||c2;n.browser.write&&(n.browser.asObject=!0);const l=n.serializers||{},c=lx(n.browser.serialize,l);let p=n.browser.serialize;Array.isArray(n.browser.serialize)&&n.browser.serialize.indexOf("!stdSerializers.err")>-1&&(p=!1);const f=Object.keys(n.customLevels||{}),y=["error","fatal","warn","info","debug","trace"].concat(f);typeof o=="function"&&y.forEach(function(D){o[D]=o}),(n.enabled===!1||n.browser.disabled)&&(n.level="silent");const b=n.level||"info",C=Object.create(o);C.log||(C.log=m0),ix(C,y,o),kb({},C),Object.defineProperty(C,"levelVal",{get:N}),Object.defineProperty(C,"level",{get:O,set:L});const _={transmit:a,serialize:c,asObject:n.browser.asObject,formatters:n.browser.formatters,levels:y,timestamp:gx(n),messageKey:n.messageKey||"msg",onChild:n.onChild||m0};C.levels=ux(n),C.level=b,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=m0,C.serializers=l,C._serialize=c,C._stdErrSerialize=p,C.child=function(...D){return x.call(this,_,...D)},a&&(C._logEvent=l9());function N(){return a6(this.level,this)}function O(){return this._level}function L(D){if(D!=="silent"&&!this.levels.values[D])throw Error("unknown level "+D);this._level=D,jc(this,_,C,"error"),jc(this,_,C,"fatal"),jc(this,_,C,"warn"),jc(this,_,C,"info"),jc(this,_,C,"debug"),jc(this,_,C,"trace"),f.forEach(B=>{jc(this,_,C,B)})}function x(D,B,V){if(!B)throw new Error("missing bindings for child Pino");V=V||{},c&&B.serializers&&(V.serializers=B.serializers);const Q=V.serializers;if(c&&Q){var K=Object.assign({},l,Q),re=n.browser.serialize===!0?Object.keys(K):c;delete B.serializers,q9([B],re,K,this._stdErrSerialize)}function te(oe){this._childLevel=(oe._childLevel|0)+1,this.bindings=B,K&&(this.serializers=K,this._serialize=re),a&&(this._logEvent=l9([].concat(oe._logEvent.bindings,B)))}te.prototype=this;const ue=new te(this);return kb(this,ue),ue.child=function(...oe){return x.call(this,D,...oe)},ue.level=V.level||this.level,D.onChild(ue),ue}return C}function ux(n){const a=n.customLevels||{},o=Object.assign({},rl.levels.values,a),l=Object.assign({},rl.levels.labels,cx(a));return{values:o,labels:l}}function cx(n){const a={};return Object.keys(n).forEach(function(o){a[n[o]]=o}),a}rl.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"}};rl.stdSerializers=ox;rl.stdTimeFunctions=Object.assign({},{nullTime:yw,epochTime:vw,unixTime:yx,isoTime:vx});function dx(n){const a=[];n.bindings&&a.push(n.bindings);let o=n[i9];for(;o.parent;)o=o.parent,o.logger.bindings&&a.push(o.logger.bindings);return a.reverse()}function jc(n,a,o,l){if(Object.defineProperty(n,l,{value:a6(n.level,o)>a6(l,o)?m0:o[G9][l],writable:!0,enumerable:!0,configurable:!0}),n[l]===m0){if(!a.transmit)return;const p=a.transmit.level||n.level,f=o.levels.values[p];if(o.levels.values[l]<f)return}n[l]=fx(n,a,o,l);const c=dx(n);c.length!==0&&(n[l]=mx(c,n[l]))}function mx(n,a){return function(){return a.apply(this,[...n,...arguments])}}function fx(n,a,o,l){return function(c){return function(){const f=a.timestamp(),y=new Array(arguments.length),b=Object.getPrototypeOf&&Object.getPrototypeOf(this)===c2?c2:this;for(var C=0;C<y.length;C++)y[C]=arguments[C];var _=!1;if(a.serialize&&(q9(y,this._serialize,this.serializers,this._stdErrSerialize),_=!0),a.asObject||a.formatters?c.call(b,px(this,l,y,f,a)):c.apply(b,y),a.transmit){const N=a.transmit.level||n._level,O=o.levels.values[N],L=o.levels.values[l];if(L<O)return;hx(this,{ts:f,methodLevel:l,methodValue:L,transmitLevel:N,transmitValue:o.levels.values[a.transmit.level||n._level],send:a.transmit.send,val:a6(n._level,o)},y,_)}}}(n[G9][l])}function px(n,a,o,l,c){const{level:p,log:f=O=>O}=c.formatters||{},y=o.slice();let b=y[0];const C={};if(l&&(C.time=l),p){const O=p(a,n.levels.values[a]);Object.assign(C,O)}else C.level=n.levels.values[a];let _=(n._childLevel|0)+1;if(_<1&&(_=1),b!==null&&typeof b=="object"){for(;_--&&typeof y[0]=="object";)Object.assign(C,y.shift());b=y.length?bb(y.shift(),y):void 0}else typeof b=="string"&&(b=bb(y.shift(),y));return b!==void 0&&(C[c.messageKey]=b),f(C)}function q9(n,a,o,l){for(const c in n)if(l&&n[c]instanceof Error)n[c]=rl.stdSerializers.err(n[c]);else if(typeof n[c]=="object"&&!Array.isArray(n[c])&&a)for(const p in n[c])a.indexOf(p)>-1&&p in o&&(n[c][p]=o[p](n[c][p]))}function hx(n,a,o,l=!1){const c=a.send,p=a.ts,f=a.methodLevel,y=a.methodValue,b=a.val,C=n._logEvent.bindings;l||q9(o,n._serialize||Object.keys(n.serializers),n.serializers,n._stdErrSerialize===void 0?!0:n._stdErrSerialize),n._logEvent.ts=p,n._logEvent.messages=o.filter(function(_){return C.indexOf(_)===-1}),n._logEvent.level.label=f,n._logEvent.level.value=y,c(f,n._logEvent,b),n._logEvent=l9(C)}function l9(n){return{ts:0,messages:[],bindings:n||[],level:{label:"",value:0}}}function Sb(n){const a={type:n.constructor.name,msg:n.message,stack:n.stack};for(const o in n)a[o]===void 0&&(a[o]=n[o]);return a}function gx(n){return typeof n.timestamp=="function"?n.timestamp:n.timestamp===!1?yw:vw}function Nh(){return{}}function b5(n){return n}function m0(){}function yw(){return!1}function vw(){return Date.now()}function yx(){return Math.round(Date.now()/1e3)}function vx(){return new Date(Date.now()).toISOString()}function Tx(){function n(a){return typeof a<"u"&&a}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 n(self)||n(window)||n(this)||{}}}H9.exports.default=rl;var Tw=H9.exports.pino=rl;const bx=Tw({level:"trace",enabled:typeof window<"u"&&!!window.localStorage.getItem("SL_DEBUG"),browser:{write:n=>{console.log(n)}}}),E0=(n,a)=>bx.child({name:n},a);class kx extends Event{constructor(o,l){super(o);U(this,"slEventBus");this.slEventBus=l}}const Sx=E0("event-bus");class wx{constructor(a="sl-event-bus"){U(this,"name");U(this,"listeners");U(this,"emit",(a,o)=>{const l=new kx(this.name,{...o,type:a});Sx.debug(l,"Emitting event"),window.dispatchEvent(l)});U(this,"destroy",()=>{this.listeners.forEach(a=>{window.removeEventListener(this.name,a),this.listeners.delete(a)}),this.listeners.clear()});this.name=a,this.listeners=new Set}listen(a){return window.addEventListener(this.name,a),this.listeners.add(a),()=>{this.off(a)}}off(a){window.removeEventListener(this.name,a),this.listeners.delete(a)}}function _n(n,a){if(!n)throw new Error(a)}const Cx=34028234663852886e22,Ex=-34028234663852886e22,_x=4294967295,Ix=2147483647,Nx=-2147483648;function jh(n){if(typeof n!="number")throw new Error("invalid int 32: "+typeof n);if(!Number.isInteger(n)||n>Ix||n<Nx)throw new Error("invalid int 32: "+n)}function u9(n){if(typeof n!="number")throw new Error("invalid uint 32: "+typeof n);if(!Number.isInteger(n)||n>_x||n<0)throw new Error("invalid uint 32: "+n)}function bw(n){if(typeof n!="number")throw new Error("invalid float 32: "+typeof n);if(Number.isFinite(n)&&(n>Cx||n<Ex))throw new Error("invalid float 32: "+n)}const kw=Symbol("@bufbuild/protobuf/enum-type");function Rx(n){const a=n[kw];return _n(a,"missing enum type on enum object"),a}function Sw(n,a,o,l){n[kw]=ww(a,o.map(c=>({no:c.no,name:c.name,localName:n[c.no]})))}function ww(n,a,o){const l=Object.create(null),c=Object.create(null),p=[];for(const f of a){const y=Cw(f);p.push(y),l[f.name]=y,c[f.no]=y}return{typeName:n,values:p,findName(f){return l[f]},findNumber(f){return c[f]}}}function Ox(n,a,o){const l={};for(const c of a){const p=Cw(c);l[p.localName]=p.no,l[p.no]=p.localName}return Sw(l,n,a),l}function Cw(n){return"localName"in n?n:Object.assign(Object.assign({},n),{localName:n.name})}class p2{equals(a){return this.getType().runtime.util.equals(this.getType(),this,a)}clone(){return this.getType().runtime.util.clone(this)}fromBinary(a,o){const l=this.getType(),c=l.runtime.bin,p=c.makeReadOptions(o);return c.readMessage(this,p.readerFactory(a),a.byteLength,p),this}fromJson(a,o){const l=this.getType(),c=l.runtime.json,p=c.makeReadOptions(o);return c.readMessage(l,a,p,this),this}fromJsonString(a,o){let l;try{l=JSON.parse(a)}catch(c){throw new Error(`cannot decode ${this.getType().typeName} from JSON: ${c instanceof Error?c.message:String(c)}`)}return this.fromJson(l,o)}toBinary(a){const o=this.getType(),l=o.runtime.bin,c=l.makeWriteOptions(a),p=c.writerFactory();return l.writeMessage(this,p,c),p.finish()}toJson(a){const o=this.getType(),l=o.runtime.json,c=l.makeWriteOptions(a);return l.writeMessage(this,c)}toJsonString(a){var o;const l=this.toJson(a);return JSON.stringify(l,null,(o=a==null?void 0:a.prettySpaces)!==null&&o!==void 0?o:0)}toJSON(){return this.toJson({emitDefaultValues:!0})}getType(){return Object.getPrototypeOf(this).constructor}}function Lx(n,a,o,l){var c;const p=(c=l==null?void 0:l.localName)!==null&&c!==void 0?c:a.substring(a.lastIndexOf(".")+1),f={[p]:function(y){n.util.initFields(this),n.util.initPartial(y,this)}}[p];return Object.setPrototypeOf(f.prototype,new p2),Object.assign(f,{runtime:n,typeName:a,fields:n.util.newFieldList(o),fromBinary(y,b){return new f().fromBinary(y,b)},fromJson(y,b){return new f().fromJson(y,b)},fromJsonString(y,b){return new f().fromJsonString(y,b)},equals(y,b){return n.util.equals(f,y,b)}}),f}function Ax(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var Ew={exports:{}},Fn=Ew.exports={},Gs,qs;function c9(){throw new Error("setTimeout has not been defined")}function d9(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?Gs=setTimeout:Gs=c9}catch{Gs=c9}try{typeof clearTimeout=="function"?qs=clearTimeout:qs=d9}catch{qs=d9}})();function _w(n){if(Gs===setTimeout)return setTimeout(n,0);if((Gs===c9||!Gs)&&setTimeout)return Gs=setTimeout,setTimeout(n,0);try{return Gs(n,0)}catch{try{return Gs.call(null,n,0)}catch{return Gs.call(this,n,0)}}}function xx(n){if(qs===clearTimeout)return clearTimeout(n);if((qs===d9||!qs)&&clearTimeout)return qs=clearTimeout,clearTimeout(n);try{return qs(n)}catch{try{return qs.call(null,n)}catch{return qs.call(this,n)}}}var el=[],f0=!1,Wc,$h=-1;function Px(){!f0||!Wc||(f0=!1,Wc.length?el=Wc.concat(el):$h=-1,el.length&&Iw())}function Iw(){if(!f0){var n=_w(Px);f0=!0;for(var a=el.length;a;){for(Wc=el,el=[];++$h<a;)Wc&&Wc[$h].run();$h=-1,a=el.length}Wc=null,f0=!1,xx(n)}}Fn.nextTick=function(n){var a=new Array(arguments.length-1);if(arguments.length>1)for(var o=1;o<arguments.length;o++)a[o-1]=arguments[o];el.push(new Nw(n,a)),el.length===1&&!f0&&_w(Iw)};function Nw(n,a){this.fun=n,this.array=a}Nw.prototype.run=function(){this.fun.apply(null,this.array)};Fn.title="browser";Fn.browser=!0;Fn.env={};Fn.argv=[];Fn.version="";Fn.versions={};function sl(){}Fn.on=sl;Fn.addListener=sl;Fn.once=sl;Fn.off=sl;Fn.removeListener=sl;Fn.removeAllListeners=sl;Fn.emit=sl;Fn.prependListener=sl;Fn.prependOnceListener=sl;Fn.listeners=function(n){return[]};Fn.binding=function(n){throw new Error("process.binding is not supported")};Fn.cwd=function(){return"/"};Fn.chdir=function(n){throw new Error("process.chdir is not supported")};Fn.umask=function(){return 0};var Mx=Ew.exports;const wb=Ax(Mx);function Dx(){let n=0,a=0;for(let l=0;l<28;l+=7){let c=this.buf[this.pos++];if(n|=(c&127)<<l,!(c&128))return this.assertBounds(),[n,a]}let o=this.buf[this.pos++];if(n|=(o&15)<<28,a=(o&112)>>4,!(o&128))return this.assertBounds(),[n,a];for(let l=3;l<=31;l+=7){let c=this.buf[this.pos++];if(a|=(c&127)<<l,!(c&128))return this.assertBounds(),[n,a]}throw new Error("invalid varint")}function k5(n,a,o){for(let p=0;p<28;p=p+7){const f=n>>>p,y=!(!(f>>>7)&&a==0),b=(y?f|128:f)&255;if(o.push(b),!y)return}const l=n>>>28&15|(a&7)<<4,c=!!(a>>3);if(o.push((c?l|128:l)&255),!!c){for(let p=3;p<31;p=p+7){const f=a>>>p,y=!!(f>>>7),b=(y?f|128:f)&255;if(o.push(b),!y)return}o.push(a>>>31&1)}}const zh=4294967296;function Cb(n){const a=n[0]==="-";a&&(n=n.slice(1));const o=1e6;let l=0,c=0;function p(f,y){const b=Number(n.slice(f,y));c*=o,l=l*o+b,l>=zh&&(c=c+(l/zh|0),l=l%zh)}return p(-24,-18),p(-18,-12),p(-12,-6),p(-6),a?Ow(l,c):W9(l,c)}function Ux(n,a){let o=W9(n,a);const l=o.hi&2147483648;l&&(o=Ow(o.lo,o.hi));const c=Rw(o.lo,o.hi);return l?"-"+c:c}function Rw(n,a){if({lo:n,hi:a}=Fx(n,a),a<=2097151)return String(zh*a+n);const o=n&16777215,l=(n>>>24|a<<8)&16777215,c=a>>16&65535;let p=o+l*6777216+c*6710656,f=l+c*8147497,y=c*2;const b=1e7;return p>=b&&(f+=Math.floor(p/b),p%=b),f>=b&&(y+=Math.floor(f/b),f%=b),y.toString()+Eb(f)+Eb(p)}function Fx(n,a){return{lo:n>>>0,hi:a>>>0}}function W9(n,a){return{lo:n|0,hi:a|0}}function Ow(n,a){return a=~a,n?n=~n+1:a+=1,W9(n,a)}const Eb=n=>{const a=String(n);return"0000000".slice(a.length)+a};function _b(n,a){if(n>=0){for(;n>127;)a.push(n&127|128),n=n>>>7;a.push(n)}else{for(let o=0;o<9;o++)a.push(n&127|128),n=n>>7;a.push(1)}}function Vx(){let n=this.buf[this.pos++],a=n&127;if(!(n&128))return this.assertBounds(),a;if(n=this.buf[this.pos++],a|=(n&127)<<7,!(n&128))return this.assertBounds(),a;if(n=this.buf[this.pos++],a|=(n&127)<<14,!(n&128))return this.assertBounds(),a;if(n=this.buf[this.pos++],a|=(n&127)<<21,!(n&128))return this.assertBounds(),a;n=this.buf[this.pos++],a|=(n&15)<<28;for(let o=5;n&128&&o<10;o++)n=this.buf[this.pos++];if(n&128)throw new Error("invalid varint");return this.assertBounds(),a>>>0}function Bx(){const n=new DataView(new ArrayBuffer(8));if(typeof BigInt=="function"&&typeof n.getBigInt64=="function"&&typeof n.getBigUint64=="function"&&typeof n.setBigInt64=="function"&&typeof n.setBigUint64=="function"&&(typeof wb!="object"||typeof wb.env!="object"||!1)){const c=BigInt("-9223372036854775808"),p=BigInt("9223372036854775807"),f=BigInt("0"),y=BigInt("18446744073709551615");return{zero:BigInt(0),supported:!0,parse(b){const C=typeof b=="bigint"?b:BigInt(b);if(C>p||C<c)throw new Error(`int64 invalid: ${b}`);return C},uParse(b){const C=typeof b=="bigint"?b:BigInt(b);if(C>y||C<f)throw new Error(`uint64 invalid: ${b}`);return C},enc(b){return n.setBigInt64(0,this.parse(b),!0),{lo:n.getInt32(0,!0),hi:n.getInt32(4,!0)}},uEnc(b){return n.setBigInt64(0,this.uParse(b),!0),{lo:n.getInt32(0,!0),hi:n.getInt32(4,!0)}},dec(b,C){return n.setInt32(0,b,!0),n.setInt32(4,C,!0),n.getBigInt64(0,!0)},uDec(b,C){return n.setInt32(0,b,!0),n.setInt32(4,C,!0),n.getBigUint64(0,!0)}}}const o=c=>_n(/^-?[0-9]+$/.test(c),`int64 invalid: ${c}`),l=c=>_n(/^[0-9]+$/.test(c),`uint64 invalid: ${c}`);return{zero:"0",supported:!1,parse(c){return typeof c!="string"&&(c=c.toString()),o(c),c},uParse(c){return typeof c!="string"&&(c=c.toString()),l(c),c},enc(c){return typeof c!="string"&&(c=c.toString()),o(c),Cb(c)},uEnc(c){return typeof c!="string"&&(c=c.toString()),l(c),Cb(c)},dec(c,p){return Ux(c,p)},uDec(c,p){return Rw(c,p)}}}const nr=Bx();var ge;(function(n){n[n.DOUBLE=1]="DOUBLE",n[n.FLOAT=2]="FLOAT",n[n.INT64=3]="INT64",n[n.UINT64=4]="UINT64",n[n.INT32=5]="INT32",n[n.FIXED64=6]="FIXED64",n[n.FIXED32=7]="FIXED32",n[n.BOOL=8]="BOOL",n[n.STRING=9]="STRING",n[n.BYTES=12]="BYTES",n[n.UINT32=13]="UINT32",n[n.SFIXED32=15]="SFIXED32",n[n.SFIXED64=16]="SFIXED64",n[n.SINT32=17]="SINT32",n[n.SINT64=18]="SINT64"})(ge||(ge={}));var Su;(function(n){n[n.BIGINT=0]="BIGINT",n[n.STRING=1]="STRING"})(Su||(Su={}));function hu(n,a,o){if(a===o)return!0;if(n==ge.BYTES){if(!(a instanceof Uint8Array)||!(o instanceof Uint8Array)||a.length!==o.length)return!1;for(let l=0;l<a.length;l++)if(a[l]!==o[l])return!1;return!0}switch(n){case ge.UINT64:case ge.FIXED64:case ge.INT64:case ge.SFIXED64:case ge.SINT64:return a==o}return!1}function T0(n,a){switch(n){case ge.BOOL:return!1;case ge.UINT64:case ge.FIXED64:case ge.INT64:case ge.SFIXED64:case ge.SINT64:return a==0?nr.zero:"0";case ge.DOUBLE:case ge.FLOAT:return 0;case ge.BYTES:return new Uint8Array(0);case ge.STRING:return"";default:return 0}}function Lw(n,a){switch(n){case ge.BOOL:return a===!1;case ge.STRING:return a==="";case ge.BYTES:return a instanceof Uint8Array&&!a.byteLength;default:return a==0}}var Dn;(function(n){n[n.Varint=0]="Varint",n[n.Bit64=1]="Bit64",n[n.LengthDelimited=2]="LengthDelimited",n[n.StartGroup=3]="StartGroup",n[n.EndGroup=4]="EndGroup",n[n.Bit32=5]="Bit32"})(Dn||(Dn={}));class jx{constructor(a){this.stack=[],this.textEncoder=a??new TextEncoder,this.chunks=[],this.buf=[]}finish(){this.chunks.push(new Uint8Array(this.buf));let a=0;for(let c=0;c<this.chunks.length;c++)a+=this.chunks[c].length;let o=new Uint8Array(a),l=0;for(let c=0;c<this.chunks.length;c++)o.set(this.chunks[c],l),l+=this.chunks[c].length;return this.chunks=[],o}fork(){return this.stack.push({chunks:this.chunks,buf:this.buf}),this.chunks=[],this.buf=[],this}join(){let a=this.finish(),o=this.stack.pop();if(!o)throw new Error("invalid state, fork stack empty");return this.chunks=o.chunks,this.buf=o.buf,this.uint32(a.byteLength),this.raw(a)}tag(a,o){return this.uint32((a<<3|o)>>>0)}raw(a){return this.buf.length&&(this.chunks.push(new Uint8Array(this.buf)),this.buf=[]),this.chunks.push(a),this}uint32(a){for(u9(a);a>127;)this.buf.push(a&127|128),a=a>>>7;return this.buf.push(a),this}int32(a){return jh(a),_b(a,this.buf),this}bool(a){return this.buf.push(a?1:0),this}bytes(a){return this.uint32(a.byteLength),this.raw(a)}string(a){let o=this.textEncoder.encode(a);return this.uint32(o.byteLength),this.raw(o)}float(a){bw(a);let o=new Uint8Array(4);return new DataView(o.buffer).setFloat32(0,a,!0),this.raw(o)}double(a){let o=new Uint8Array(8);return new DataView(o.buffer).setFloat64(0,a,!0),this.raw(o)}fixed32(a){u9(a);let o=new Uint8Array(4);return new DataView(o.buffer).setUint32(0,a,!0),this.raw(o)}sfixed32(a){jh(a);let o=new Uint8Array(4);return new DataView(o.buffer).setInt32(0,a,!0),this.raw(o)}sint32(a){return jh(a),a=(a<<1^a>>31)>>>0,_b(a,this.buf),this}sfixed64(a){let o=new Uint8Array(8),l=new DataView(o.buffer),c=nr.enc(a);return l.setInt32(0,c.lo,!0),l.setInt32(4,c.hi,!0),this.raw(o)}fixed64(a){let o=new Uint8Array(8),l=new DataView(o.buffer),c=nr.uEnc(a);return l.setInt32(0,c.lo,!0),l.setInt32(4,c.hi,!0),this.raw(o)}int64(a){let o=nr.enc(a);return k5(o.lo,o.hi,this.buf),this}sint64(a){let o=nr.enc(a),l=o.hi>>31,c=o.lo<<1^l,p=(o.hi<<1|o.lo>>>31)^l;return k5(c,p,this.buf),this}uint64(a){let o=nr.uEnc(a);return k5(o.lo,o.hi,this.buf),this}}class $x{constructor(a,o){this.varint64=Dx,this.uint32=Vx,this.buf=a,this.len=a.length,this.pos=0,this.view=new DataView(a.buffer,a.byteOffset,a.byteLength),this.textDecoder=o??new TextDecoder}tag(){let a=this.uint32(),o=a>>>3,l=a&7;if(o<=0||l<0||l>5)throw new Error("illegal tag: field no "+o+" wire type "+l);return[o,l]}skip(a,o){let l=this.pos;switch(a){case Dn.Varint:for(;this.buf[this.pos++]&128;);break;case Dn.Bit64:this.pos+=4;case Dn.Bit32:this.pos+=4;break;case Dn.LengthDelimited:let c=this.uint32();this.pos+=c;break;case Dn.StartGroup:for(;;){const[p,f]=this.tag();if(f===Dn.EndGroup){if(o!==void 0&&p!==o)throw new Error("invalid end group tag");break}this.skip(f,p)}break;default:throw new Error("cant skip wire type "+a)}return this.assertBounds(),this.buf.subarray(l,this.pos)}assertBounds(){if(this.pos>this.len)throw new RangeError("premature EOF")}int32(){return this.uint32()|0}sint32(){let a=this.uint32();return a>>>1^-(a&1)}int64(){return nr.dec(...this.varint64())}uint64(){return nr.uDec(...this.varint64())}sint64(){let[a,o]=this.varint64(),l=-(a&1);return a=(a>>>1|(o&1)<<31)^l,o=o>>>1^l,nr.dec(a,o)}bool(){let[a,o]=this.varint64();return a!==0||o!==0}fixed32(){return this.view.getUint32((this.pos+=4)-4,!0)}sfixed32(){return this.view.getInt32((this.pos+=4)-4,!0)}fixed64(){return nr.uDec(this.sfixed32(),this.sfixed32())}sfixed64(){return nr.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 a=this.uint32(),o=this.pos;return this.pos+=a,this.assertBounds(),this.buf.subarray(o,o+a)}string(){return this.textDecoder.decode(this.bytes())}}function zx(n,a,o,l){let c;return{typeName:a,extendee:o,get field(){if(!c){const p=typeof l=="function"?l():l;p.name=a.split(".").pop(),p.jsonName=`[${a}]`,c=n.util.newFieldList([p]).list()[0]}return c},runtime:n}}function Aw(n){const a=n.field.localName,o=Object.create(null);return o[a]=Hx(n),[o,()=>o[a]]}function Hx(n){const a=n.field;if(a.repeated)return[];if(a.default!==void 0)return a.default;switch(a.kind){case"enum":return a.T.values[0].no;case"scalar":return T0(a.T,a.L);case"message":const o=a.T,l=new o;return o.fieldWrapper?o.fieldWrapper.unwrapField(l):l;case"map":throw"map fields are not allowed to be extensions"}}function Gx(n,a){if(!a.repeated&&(a.kind=="enum"||a.kind=="scalar")){for(let o=n.length-1;o>=0;--o)if(n[o].no==a.no)return[n[o]];return[]}return n.filter(o=>o.no===a.no)}let Qi="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),S6=[];for(let n=0;n<Qi.length;n++)S6[Qi[n].charCodeAt(0)]=n;S6[45]=Qi.indexOf("+");S6[95]=Qi.indexOf("/");const Q9={dec(n){let a=n.length*3/4;n[n.length-2]=="="?a-=2:n[n.length-1]=="="&&(a-=1);let o=new Uint8Array(a),l=0,c=0,p,f=0;for(let y=0;y<n.length;y++){if(p=S6[n.charCodeAt(y)],p===void 0)switch(n[y]){case"=":c=0;case`
16
+ `:case"\r":case" ":case" ":continue;default:throw Error("invalid base64 string.")}switch(c){case 0:f=p,c=1;break;case 1:o[l++]=f<<2|(p&48)>>4,f=p,c=2;break;case 2:o[l++]=(f&15)<<4|(p&60)>>2,f=p,c=3;break;case 3:o[l++]=(f&3)<<6|p,c=0;break}}if(c==1)throw Error("invalid base64 string.");return o.subarray(0,l)},enc(n){let a="",o=0,l,c=0;for(let p=0;p<n.length;p++)switch(l=n[p],o){case 0:a+=Qi[l>>2],c=(l&3)<<4,o=1;break;case 1:a+=Qi[c|l>>4],c=(l&15)<<2,o=2;break;case 2:a+=Qi[c|l>>6],a+=Qi[l&63],o=0;break}return o&&(a+=Qi[c],a+="=",o==1&&(a+="=")),a}};function qx(n,a,o){Pw(a,n);const l=a.runtime.bin.makeReadOptions(o),c=Gx(n.getType().runtime.bin.listUnknownFields(n),a.field),[p,f]=Aw(a);for(const y of c)a.runtime.bin.readField(p,l.readerFactory(y.data),a.field,y.wireType,l);return f()}function Wx(n,a,o,l){Pw(a,n);const c=a.runtime.bin.makeReadOptions(l),p=a.runtime.bin.makeWriteOptions(l);if(xw(n,a)){const C=n.getType().runtime.bin.listUnknownFields(n).filter(_=>_.no!=a.field.no);n.getType().runtime.bin.discardUnknownFields(n);for(const _ of C)n.getType().runtime.bin.onUnknownField(n,_.no,_.wireType,_.data)}const f=p.writerFactory();let y=a.field;!y.opt&&!y.repeated&&(y.kind=="enum"||y.kind=="scalar")&&(y=Object.assign(Object.assign({},a.field),{opt:!0})),a.runtime.bin.writeField(y,o,f,p);const b=c.readerFactory(f.finish());for(;b.pos<b.len;){const[C,_]=b.tag(),N=b.skip(_,C);n.getType().runtime.bin.onUnknownField(n,C,_,N)}}function xw(n,a){const o=n.getType();return a.extendee.typeName===o.typeName&&!!o.runtime.bin.listUnknownFields(n).find(l=>l.no==a.field.no)}function Pw(n,a){_n(n.extendee.typeName==a.getType().typeName,`extension ${n.typeName} can only be applied to message ${n.extendee.typeName}`)}function Mw(n,a){const o=n.localName;if(n.repeated)return a[o].length>0;if(n.oneof)return a[n.oneof.localName].case===o;switch(n.kind){case"enum":case"scalar":return n.opt||n.req?a[o]!==void 0:n.kind=="enum"?a[o]!==n.T.values[0].no:!Lw(n.T,a[o]);case"message":return a[o]!==void 0;case"map":return Object.keys(a[o]).length>0}}function Ib(n,a){const o=n.localName,l=!n.opt&&!n.req;if(n.repeated)a[o]=[];else if(n.oneof)a[n.oneof.localName]={case:void 0};else switch(n.kind){case"map":a[o]={};break;case"enum":a[o]=l?n.T.values[0].no:void 0;break;case"scalar":a[o]=l?T0(n.T,n.L):void 0;break;case"message":a[o]=void 0;break}}function Kc(n,a){if(n===null||typeof n!="object"||!Object.getOwnPropertyNames(p2.prototype).every(l=>l in n&&typeof n[l]=="function"))return!1;const o=n.getType();return o===null||typeof o!="function"||!("typeName"in o)||typeof o.typeName!="string"?!1:a===void 0?!0:o.typeName==a.typeName}function Dw(n,a){return Kc(a)||!n.fieldWrapper?a:n.fieldWrapper.wrapField(a)}ge.DOUBLE,ge.FLOAT,ge.INT64,ge.UINT64,ge.INT32,ge.UINT32,ge.BOOL,ge.STRING,ge.BYTES;const Nb={ignoreUnknownFields:!1},Rb={emitDefaultValues:!1,enumAsInteger:!1,useProtoFieldName:!1,prettySpaces:0};function Qx(n){return n?Object.assign(Object.assign({},Nb),n):Nb}function Yx(n){return n?Object.assign(Object.assign({},Rb),n):Rb}const r6=Symbol(),Hh=Symbol();function Kx(){return{makeReadOptions:Qx,makeWriteOptions:Yx,readMessage(n,a,o,l){if(a==null||Array.isArray(a)||typeof a!="object")throw new Error(`cannot decode message ${n.typeName} from JSON: ${Ws(a)}`);l=l??new n;const c=new Map,p=o.typeRegistry;for(const[f,y]of Object.entries(a)){const b=n.fields.findJsonName(f);if(b){if(b.oneof){if(y===null&&b.kind=="scalar")continue;const C=c.get(b.oneof);if(C!==void 0)throw new Error(`cannot decode message ${n.typeName} from JSON: multiple keys for oneof "${b.oneof.name}" present: "${C}", "${f}"`);c.set(b.oneof,f)}Ob(l,y,b,o,n)}else{let C=!1;if(p!=null&&p.findExtension&&f.startsWith("[")&&f.endsWith("]")){const _=p.findExtension(f.substring(1,f.length-1));if(_&&_.extendee.typeName==n.typeName){C=!0;const[N,O]=Aw(_);Ob(N,y,_.field,o,_),Wx(l,_,O(),o)}}if(!C&&!o.ignoreUnknownFields)throw new Error(`cannot decode message ${n.typeName} from JSON: key "${f}" is unknown`)}}return l},writeMessage(n,a){const o=n.getType(),l={};let c;try{for(c of o.fields.byNumber()){if(!Mw(c,n)){if(c.req)throw"required field not set";if(!a.emitDefaultValues||!Xx(c))continue}const f=c.oneof?n[c.oneof.localName].value:n[c.localName],y=Lb(c,f,a);y!==void 0&&(l[a.useProtoFieldName?c.name:c.jsonName]=y)}const p=a.typeRegistry;if(p!=null&&p.findExtensionFor)for(const f of o.runtime.bin.listUnknownFields(n)){const y=p.findExtensionFor(o.typeName,f.no);if(y&&xw(n,y)){const b=qx(n,y,a),C=Lb(y.field,b,a);C!==void 0&&(l[y.field.jsonName]=C)}}}catch(p){const f=c?`cannot encode field ${o.typeName}.${c.name} to JSON`:`cannot encode message ${o.typeName} to JSON`,y=p instanceof Error?p.message:String(p);throw new Error(f+(y.length>0?`: ${y}`:""))}return l},readScalar(n,a,o){return a2(n,a,o??Su.BIGINT,!0)},writeScalar(n,a,o){if(a!==void 0&&(o||Lw(n,a)))return Gh(n,a)},debug:Ws}}function Ws(n){if(n===null)return"null";switch(typeof n){case"object":return Array.isArray(n)?"array":"object";case"string":return n.length>100?"string":`"${n.split('"').join('\\"')}"`;default:return String(n)}}function Ob(n,a,o,l,c){let p=o.localName;if(o.repeated){if(_n(o.kind!="map"),a===null)return;if(!Array.isArray(a))throw new Error(`cannot decode field ${c.typeName}.${o.name} from JSON: ${Ws(a)}`);const f=n[p];for(const y of a){if(y===null)throw new Error(`cannot decode field ${c.typeName}.${o.name} from JSON: ${Ws(y)}`);switch(o.kind){case"message":f.push(o.T.fromJson(y,l));break;case"enum":const b=S5(o.T,y,l.ignoreUnknownFields,!0);b!==Hh&&f.push(b);break;case"scalar":try{f.push(a2(o.T,y,o.L,!0))}catch(C){let _=`cannot decode field ${c.typeName}.${o.name} from JSON: ${Ws(y)}`;throw C instanceof Error&&C.message.length>0&&(_+=`: ${C.message}`),new Error(_)}break}}}else if(o.kind=="map"){if(a===null)return;if(typeof a!="object"||Array.isArray(a))throw new Error(`cannot decode field ${c.typeName}.${o.name} from JSON: ${Ws(a)}`);const f=n[p];for(const[y,b]of Object.entries(a)){if(b===null)throw new Error(`cannot decode field ${c.typeName}.${o.name} from JSON: map value null`);let C;try{C=Zx(o.K,y)}catch(_){let N=`cannot decode map key for field ${c.typeName}.${o.name} from JSON: ${Ws(a)}`;throw _ instanceof Error&&_.message.length>0&&(N+=`: ${_.message}`),new Error(N)}switch(o.V.kind){case"message":f[C]=o.V.T.fromJson(b,l);break;case"enum":const _=S5(o.V.T,b,l.ignoreUnknownFields,!0);_!==Hh&&(f[C]=_);break;case"scalar":try{f[C]=a2(o.V.T,b,Su.BIGINT,!0)}catch(N){let O=`cannot decode map value for field ${c.typeName}.${o.name} from JSON: ${Ws(a)}`;throw N instanceof Error&&N.message.length>0&&(O+=`: ${N.message}`),new Error(O)}break}}}else switch(o.oneof&&(n=n[o.oneof.localName]={case:p},p="value"),o.kind){case"message":const f=o.T;if(a===null&&f.typeName!="google.protobuf.Value")return;let y=n[p];Kc(y)?y.fromJson(a,l):(n[p]=y=f.fromJson(a,l),f.fieldWrapper&&!o.oneof&&(n[p]=f.fieldWrapper.unwrapField(y)));break;case"enum":const b=S5(o.T,a,l.ignoreUnknownFields,!1);switch(b){case r6:Ib(o,n);break;case Hh:break;default:n[p]=b;break}break;case"scalar":try{const C=a2(o.T,a,o.L,!1);switch(C){case r6:Ib(o,n);break;default:n[p]=C;break}}catch(C){let _=`cannot decode field ${c.typeName}.${o.name} from JSON: ${Ws(a)}`;throw C instanceof Error&&C.message.length>0&&(_+=`: ${C.message}`),new Error(_)}break}}function Zx(n,a){if(n===ge.BOOL)switch(a){case"true":a=!0;break;case"false":a=!1;break}return a2(n,a,Su.BIGINT,!0).toString()}function a2(n,a,o,l){if(a===null)return l?T0(n,o):r6;switch(n){case ge.DOUBLE:case ge.FLOAT:if(a==="NaN")return Number.NaN;if(a==="Infinity")return Number.POSITIVE_INFINITY;if(a==="-Infinity")return Number.NEGATIVE_INFINITY;if(a===""||typeof a=="string"&&a.trim().length!==a.length||typeof a!="string"&&typeof a!="number")break;const c=Number(a);if(Number.isNaN(c)||!Number.isFinite(c))break;return n==ge.FLOAT&&bw(c),c;case ge.INT32:case ge.FIXED32:case ge.SFIXED32:case ge.SINT32:case ge.UINT32:let p;if(typeof a=="number"?p=a:typeof a=="string"&&a.length>0&&a.trim().length===a.length&&(p=Number(a)),p===void 0)break;return n==ge.UINT32||n==ge.FIXED32?u9(p):jh(p),p;case ge.INT64:case ge.SFIXED64:case ge.SINT64:if(typeof a!="number"&&typeof a!="string")break;const f=nr.parse(a);return o?f.toString():f;case ge.FIXED64:case ge.UINT64:if(typeof a!="number"&&typeof a!="string")break;const y=nr.uParse(a);return o?y.toString():y;case ge.BOOL:if(typeof a!="boolean")break;return a;case ge.STRING:if(typeof a!="string")break;try{encodeURIComponent(a)}catch{throw new Error("invalid UTF8")}return a;case ge.BYTES:if(a==="")return new Uint8Array(0);if(typeof a!="string")break;return Q9.dec(a)}throw new Error}function S5(n,a,o,l){if(a===null)return n.typeName=="google.protobuf.NullValue"?0:l?n.values[0].no:r6;switch(typeof a){case"number":if(Number.isInteger(a))return a;break;case"string":const c=n.findName(a);if(c!==void 0)return c.no;if(o)return Hh;break}throw new Error(`cannot decode enum ${n.typeName} from JSON: ${Ws(a)}`)}function Xx(n){return n.repeated||n.kind=="map"?!0:!(n.oneof||n.kind=="message"||n.opt||n.req)}function Lb(n,a,o){if(n.kind=="map"){_n(typeof a=="object"&&a!=null);const l={},c=Object.entries(a);switch(n.V.kind){case"scalar":for(const[f,y]of c)l[f.toString()]=Gh(n.V.T,y);break;case"message":for(const[f,y]of c)l[f.toString()]=y.toJson(o);break;case"enum":const p=n.V.T;for(const[f,y]of c)l[f.toString()]=w5(p,y,o.enumAsInteger);break}return o.emitDefaultValues||c.length>0?l:void 0}if(n.repeated){_n(Array.isArray(a));const l=[];switch(n.kind){case"scalar":for(let c=0;c<a.length;c++)l.push(Gh(n.T,a[c]));break;case"enum":for(let c=0;c<a.length;c++)l.push(w5(n.T,a[c],o.enumAsInteger));break;case"message":for(let c=0;c<a.length;c++)l.push(a[c].toJson(o));break}return o.emitDefaultValues||l.length>0?l:void 0}switch(n.kind){case"scalar":return Gh(n.T,a);case"enum":return w5(n.T,a,o.enumAsInteger);case"message":return Dw(n.T,a).toJson(o)}}function w5(n,a,o){var l;if(_n(typeof a=="number"),n.typeName=="google.protobuf.NullValue")return null;if(o)return a;const c=n.findNumber(a);return(l=c==null?void 0:c.name)!==null&&l!==void 0?l:a}function Gh(n,a){switch(n){case ge.INT32:case ge.SFIXED32:case ge.SINT32:case ge.FIXED32:case ge.UINT32:return _n(typeof a=="number"),a;case ge.FLOAT:case ge.DOUBLE:return _n(typeof a=="number"),Number.isNaN(a)?"NaN":a===Number.POSITIVE_INFINITY?"Infinity":a===Number.NEGATIVE_INFINITY?"-Infinity":a;case ge.STRING:return _n(typeof a=="string"),a;case ge.BOOL:return _n(typeof a=="boolean"),a;case ge.UINT64:case ge.FIXED64:case ge.INT64:case ge.SFIXED64:case ge.SINT64:return _n(typeof a=="bigint"||typeof a=="string"||typeof a=="number"),a.toString();case ge.BYTES:return _n(a instanceof Uint8Array),Q9.enc(a)}}const e0=Symbol("@bufbuild/protobuf/unknown-fields"),Ab={readUnknownFields:!0,readerFactory:n=>new $x(n)},xb={writeUnknownFields:!0,writerFactory:()=>new jx};function Jx(n){return n?Object.assign(Object.assign({},Ab),n):Ab}function eP(n){return n?Object.assign(Object.assign({},xb),n):xb}function tP(){return{makeReadOptions:Jx,makeWriteOptions:eP,listUnknownFields(n){var a;return(a=n[e0])!==null&&a!==void 0?a:[]},discardUnknownFields(n){delete n[e0]},writeUnknownFields(n,a){const l=n[e0];if(l)for(const c of l)a.tag(c.no,c.wireType).raw(c.data)},onUnknownField(n,a,o,l){const c=n;Array.isArray(c[e0])||(c[e0]=[]),c[e0].push({no:a,wireType:o,data:l})},readMessage(n,a,o,l,c){const p=n.getType(),f=c?a.len:a.pos+o;let y,b;for(;a.pos<f&&([y,b]=a.tag(),!(c===!0&&b==Dn.EndGroup));){const C=p.fields.find(y);if(!C){const _=a.skip(b,y);l.readUnknownFields&&this.onUnknownField(n,y,b,_);continue}Pb(n,a,C,b,l)}if(c&&(b!=Dn.EndGroup||y!==o))throw new Error("invalid end group tag")},readField:Pb,writeMessage(n,a,o){const l=n.getType();for(const c of l.fields.byNumber()){if(!Mw(c,n)){if(c.req)throw new Error(`cannot encode field ${l.typeName}.${c.name} to binary: required field not set`);continue}const p=c.oneof?n[c.oneof.localName].value:n[c.localName];Mb(c,p,a,o)}return o.writeUnknownFields&&this.writeUnknownFields(n,a),a},writeField(n,a,o,l){a!==void 0&&Mb(n,a,o,l)}}}function Pb(n,a,o,l,c){let{repeated:p,localName:f}=o;switch(o.oneof&&(n=n[o.oneof.localName],n.case!=f&&delete n.value,n.case=f,f="value"),o.kind){case"scalar":case"enum":const y=o.kind=="enum"?ge.INT32:o.T;let b=o6;if(o.kind=="scalar"&&o.L>0&&(b=aP),p){let O=n[f];if(l==Dn.LengthDelimited&&y!=ge.STRING&&y!=ge.BYTES){let x=a.uint32()+a.pos;for(;a.pos<x;)O.push(b(a,y))}else O.push(b(a,y))}else n[f]=b(a,y);break;case"message":const C=o.T;p?n[f].push(qh(a,new C,c,o)):Kc(n[f])?qh(a,n[f],c,o):(n[f]=qh(a,new C,c,o),C.fieldWrapper&&!o.oneof&&!o.repeated&&(n[f]=C.fieldWrapper.unwrapField(n[f])));break;case"map":let[_,N]=nP(o,a,c);n[f][_]=N;break}}function qh(n,a,o,l){const c=a.getType().runtime.bin,p=l==null?void 0:l.delimited;return c.readMessage(a,n,p?l.no:n.uint32(),o,p),a}function nP(n,a,o){const l=a.uint32(),c=a.pos+l;let p,f;for(;a.pos<c;){const[y]=a.tag();switch(y){case 1:p=o6(a,n.K);break;case 2:switch(n.V.kind){case"scalar":f=o6(a,n.V.T);break;case"enum":f=a.int32();break;case"message":f=qh(a,new n.V.T,o,void 0);break}break}}if(p===void 0&&(p=T0(n.K,Su.BIGINT)),typeof p!="string"&&typeof p!="number"&&(p=p.toString()),f===void 0)switch(n.V.kind){case"scalar":f=T0(n.V.T,Su.BIGINT);break;case"enum":f=n.V.T.values[0].no;break;case"message":f=new n.V.T;break}return[p,f]}function aP(n,a){const o=o6(n,a);return typeof o=="bigint"?o.toString():o}function o6(n,a){switch(a){case ge.STRING:return n.string();case ge.BOOL:return n.bool();case ge.DOUBLE:return n.double();case ge.FLOAT:return n.float();case ge.INT32:return n.int32();case ge.INT64:return n.int64();case ge.UINT64:return n.uint64();case ge.FIXED64:return n.fixed64();case ge.BYTES:return n.bytes();case ge.FIXED32:return n.fixed32();case ge.SFIXED32:return n.sfixed32();case ge.SFIXED64:return n.sfixed64();case ge.SINT64:return n.sint64();case ge.UINT32:return n.uint32();case ge.SINT32:return n.sint32()}}function Mb(n,a,o,l){_n(a!==void 0);const c=n.repeated;switch(n.kind){case"scalar":case"enum":let p=n.kind=="enum"?ge.INT32:n.T;if(c)if(_n(Array.isArray(a)),n.packed)oP(o,p,n.no,a);else for(const f of a)r2(o,p,n.no,f);else r2(o,p,n.no,a);break;case"message":if(c){_n(Array.isArray(a));for(const f of a)Db(o,l,n,f)}else Db(o,l,n,a);break;case"map":_n(typeof a=="object"&&a!=null);for(const[f,y]of Object.entries(a))rP(o,l,n,f,y);break}}function rP(n,a,o,l,c){n.tag(o.no,Dn.LengthDelimited),n.fork();let p=l;switch(o.K){case ge.INT32:case ge.FIXED32:case ge.UINT32:case ge.SFIXED32:case ge.SINT32:p=Number.parseInt(l);break;case ge.BOOL:_n(l=="true"||l=="false"),p=l=="true";break}switch(r2(n,o.K,1,p),o.V.kind){case"scalar":r2(n,o.V.T,2,c);break;case"enum":r2(n,ge.INT32,2,c);break;case"message":_n(c!==void 0),n.tag(2,Dn.LengthDelimited).bytes(c.toBinary(a));break}n.join()}function Db(n,a,o,l){const c=Dw(o.T,l);o.delimited?n.tag(o.no,Dn.StartGroup).raw(c.toBinary(a)).tag(o.no,Dn.EndGroup):n.tag(o.no,Dn.LengthDelimited).bytes(c.toBinary(a))}function r2(n,a,o,l){_n(l!==void 0);let[c,p]=Uw(a);n.tag(o,c)[p](l)}function oP(n,a,o,l){if(!l.length)return;n.tag(o,Dn.LengthDelimited).fork();let[,c]=Uw(a);for(let p=0;p<l.length;p++)n[c](l[p]);n.join()}function Uw(n){let a=Dn.Varint;switch(n){case ge.BYTES:case ge.STRING:a=Dn.LengthDelimited;break;case ge.DOUBLE:case ge.FIXED64:case ge.SFIXED64:a=Dn.Bit64;break;case ge.FIXED32:case ge.SFIXED32:case ge.FLOAT:a=Dn.Bit32;break}const o=ge[n].toLowerCase();return[a,o]}function sP(){return{setEnumType:Sw,initPartial(n,a){if(n===void 0)return;const o=a.getType();for(const l of o.fields.byMember()){const c=l.localName,p=a,f=n;if(f[c]!=null)switch(l.kind){case"oneof":const y=f[c].case;if(y===void 0)continue;const b=l.findField(y);let C=f[c].value;b&&b.kind=="message"&&!Kc(C,b.T)?C=new b.T(C):b&&b.kind==="scalar"&&b.T===ge.BYTES&&(C=Kf(C)),p[c]={case:y,value:C};break;case"scalar":case"enum":let _=f[c];l.T===ge.BYTES&&(_=l.repeated?_.map(Kf):Kf(_)),p[c]=_;break;case"map":switch(l.V.kind){case"scalar":case"enum":if(l.V.T===ge.BYTES)for(const[L,x]of Object.entries(f[c]))p[c][L]=Kf(x);else Object.assign(p[c],f[c]);break;case"message":const O=l.V.T;for(const L of Object.keys(f[c])){let x=f[c][L];O.fieldWrapper||(x=new O(x)),p[c][L]=x}break}break;case"message":const N=l.T;if(l.repeated)p[c]=f[c].map(O=>Kc(O,N)?O:new N(O));else{const O=f[c];N.fieldWrapper?N.typeName==="google.protobuf.BytesValue"?p[c]=Kf(O):p[c]=O:p[c]=Kc(O,N)?O:new N(O)}break}}},equals(n,a,o){return a===o?!0:!a||!o?!1:n.fields.byMember().every(l=>{const c=a[l.localName],p=o[l.localName];if(l.repeated){if(c.length!==p.length)return!1;switch(l.kind){case"message":return c.every((f,y)=>l.T.equals(f,p[y]));case"scalar":return c.every((f,y)=>hu(l.T,f,p[y]));case"enum":return c.every((f,y)=>hu(ge.INT32,f,p[y]))}throw new Error(`repeated cannot contain ${l.kind}`)}switch(l.kind){case"message":return l.T.equals(c,p);case"enum":return hu(ge.INT32,c,p);case"scalar":return hu(l.T,c,p);case"oneof":if(c.case!==p.case)return!1;const f=l.findField(c.case);if(f===void 0)return!0;switch(f.kind){case"message":return f.T.equals(c.value,p.value);case"enum":return hu(ge.INT32,c.value,p.value);case"scalar":return hu(f.T,c.value,p.value)}throw new Error(`oneof cannot contain ${f.kind}`);case"map":const y=Object.keys(c).concat(Object.keys(p));switch(l.V.kind){case"message":const b=l.V.T;return y.every(_=>b.equals(c[_],p[_]));case"enum":return y.every(_=>hu(ge.INT32,c[_],p[_]));case"scalar":const C=l.V.T;return y.every(_=>hu(C,c[_],p[_]))}break}})},clone(n){const a=n.getType(),o=new a,l=o;for(const c of a.fields.byMember()){const p=n[c.localName];let f;if(c.repeated)f=p.map(Rh);else if(c.kind=="map"){f=l[c.localName];for(const[y,b]of Object.entries(p))f[y]=Rh(b)}else c.kind=="oneof"?f=c.findField(p.case)?{case:p.case,value:Rh(p.value)}:{case:void 0}:f=Rh(p);l[c.localName]=f}for(const c of a.runtime.bin.listUnknownFields(n))a.runtime.bin.onUnknownField(l,c.no,c.wireType,c.data);return o}}}function Rh(n){if(n===void 0)return n;if(Kc(n))return n.clone();if(n instanceof Uint8Array){const a=new Uint8Array(n.byteLength);return a.set(n),a}return n}function Kf(n){return n instanceof Uint8Array?n:new Uint8Array(n)}function iP(n,a,o){return{syntax:n,json:Kx(),bin:tP(),util:Object.assign(Object.assign({},sP()),{newFieldList:a,initFields:o}),makeMessageType(l,c,p){return Lx(this,l,c,p)},makeEnum:Ox,makeEnumType:ww,getEnumType:Rx,makeExtension(l,c,p){return zx(this,l,c,p)}}}class lP{constructor(a,o){this._fields=a,this._normalizer=o}findJsonName(a){if(!this.jsonNames){const o={};for(const l of this.list())o[l.jsonName]=o[l.name]=l;this.jsonNames=o}return this.jsonNames[a]}find(a){if(!this.numbers){const o={};for(const l of this.list())o[l.no]=l;this.numbers=o}return this.numbers[a]}list(){return this.all||(this.all=this._normalizer(this._fields)),this.all}byNumber(){return this.numbersAsc||(this.numbersAsc=this.list().concat().sort((a,o)=>a.no-o.no)),this.numbersAsc}byMember(){if(!this.members){this.members=[];const a=this.members;let o;for(const l of this.list())l.oneof?l.oneof!==o&&(o=l.oneof,a.push(o)):a.push(l)}return this.members}}function Fw(n,a){const o=Vw(n);return a?o:pP(fP(o))}function uP(n){return Fw(n,!1)}const cP=Vw;function Vw(n){let a=!1;const o=[];for(let l=0;l<n.length;l++){let c=n.charAt(l);switch(c){case"_":a=!0;break;case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":o.push(c),a=!1;break;default:a&&(a=!1,c=c.toUpperCase()),o.push(c);break}}return o.join("")}const dP=new Set(["constructor","toString","toJSON","valueOf"]),mP=new Set(["getType","clone","equals","fromBinary","fromJson","fromJsonString","toBinary","toJson","toJsonString","toObject"]),Bw=n=>`${n}$`,fP=n=>mP.has(n)?Bw(n):n,pP=n=>dP.has(n)?Bw(n):n;class hP{constructor(a){this.kind="oneof",this.repeated=!1,this.packed=!1,this.opt=!1,this.req=!1,this.default=void 0,this.fields=[],this.name=a,this.localName=uP(a)}addField(a){_n(a.oneof===this,`field ${a.name} not one of ${this.name}`),this.fields.push(a)}findField(a){if(!this._lookup){this._lookup=Object.create(null);for(let o=0;o<this.fields.length;o++)this._lookup[this.fields[o].localName]=this.fields[o]}return this._lookup[a]}}function gP(n,a){var o,l,c,p,f,y;const b=[];let C;for(const _ of typeof n=="function"?n():n){const N=_;if(N.localName=Fw(_.name,_.oneof!==void 0),N.jsonName=(o=_.jsonName)!==null&&o!==void 0?o:cP(_.name),N.repeated=(l=_.repeated)!==null&&l!==void 0?l:!1,_.kind=="scalar"&&(N.L=(c=_.L)!==null&&c!==void 0?c:Su.BIGINT),N.delimited=(p=_.delimited)!==null&&p!==void 0?p:!1,N.req=(f=_.req)!==null&&f!==void 0?f:!1,N.opt=(y=_.opt)!==null&&y!==void 0?y:!1,_.packed===void 0&&(N.packed=_.kind=="enum"||_.kind=="scalar"&&_.T!=ge.BYTES&&_.T!=ge.STRING),_.oneof!==void 0){const O=typeof _.oneof=="string"?_.oneof:_.oneof.name;(!C||C.name!=O)&&(C=new hP(O)),N.oneof=C,C.addField(N)}b.push(N)}return b}const k=iP("proto3",n=>new lP(n,a=>gP(a)),n=>{for(const a of n.getType().fields.byMember()){if(a.opt)continue;const o=a.localName,l=n;if(a.repeated){l[o]=[];continue}switch(a.kind){case"oneof":l[o]={case:void 0};break;case"enum":l[o]=0;break;case"map":l[o]={};break;case"scalar":l[o]=T0(a.T,a.L);break}}});var He;(function(n){n[n.Unary=0]="Unary",n[n.ServerStreaming=1]="ServerStreaming",n[n.ClientStreaming=2]="ClientStreaming",n[n.BiDiStreaming=3]="BiDiStreaming"})(He||(He={}));var Ub;(function(n){n[n.NoSideEffects=1]="NoSideEffects",n[n.Idempotent=2]="Idempotent"})(Ub||(Ub={}));class yr extends p2{constructor(a){super(),this.seconds=nr.zero,this.nanos=0,k.util.initPartial(a,this)}fromJson(a,o){if(typeof a!="string")throw new Error(`cannot decode google.protobuf.Timestamp from JSON: ${k.json.debug(a)}`);const l=a.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(!l)throw new Error("cannot decode google.protobuf.Timestamp from JSON: invalid RFC 3339 string");const c=Date.parse(l[1]+"-"+l[2]+"-"+l[3]+"T"+l[4]+":"+l[5]+":"+l[6]+(l[8]?l[8]:"Z"));if(Number.isNaN(c))throw new Error("cannot decode google.protobuf.Timestamp from JSON: invalid RFC 3339 string");if(c<Date.parse("0001-01-01T00:00:00Z")||c>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=nr.parse(c/1e3),this.nanos=0,l[7]&&(this.nanos=parseInt("1"+l[7]+"0".repeat(9-l[7].length))-1e9),this}toJson(a){const o=Number(this.seconds)*1e3;if(o<Date.parse("0001-01-01T00:00:00Z")||o>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 l="Z";if(this.nanos>0){const c=(this.nanos+1e9).toString().substring(1);c.substring(3)==="000000"?l="."+c.substring(0,3)+"Z":c.substring(6)==="000"?l="."+c.substring(0,6)+"Z":l="."+c+"Z"}return new Date(o).toISOString().replace(".000Z",l)}toDate(){return new Date(Number(this.seconds)*1e3+Math.ceil(this.nanos/1e6))}static now(){return yr.fromDate(new Date)}static fromDate(a){const o=a.getTime();return new yr({seconds:nr.parse(Math.floor(o/1e3)),nanos:o%1e3*1e6})}static fromBinary(a,o){return new yr().fromBinary(a,o)}static fromJson(a,o){return new yr().fromJson(a,o)}static fromJsonString(a,o){return new yr().fromJsonString(a,o)}static equals(a,o){return k.util.equals(yr,a,o)}}yr.runtime=k;yr.typeName="google.protobuf.Timestamp";yr.fields=k.util.newFieldList(()=>[{no:1,name:"seconds",kind:"scalar",T:3},{no:2,name:"nanos",kind:"scalar",T:5}]);class Js extends p2{constructor(a){super(),this.typeUrl="",this.value=new Uint8Array(0),k.util.initPartial(a,this)}toJson(a){var o;if(this.typeUrl==="")return{};const l=this.typeUrlToName(this.typeUrl),c=(o=a==null?void 0:a.typeRegistry)===null||o===void 0?void 0:o.findMessage(l);if(!c)throw new Error(`cannot encode message google.protobuf.Any to JSON: "${this.typeUrl}" is not in the type registry`);let f=c.fromBinary(this.value).toJson(a);return(l.startsWith("google.protobuf.")||f===null||Array.isArray(f)||typeof f!="object")&&(f={value:f}),f["@type"]=this.typeUrl,f}fromJson(a,o){var l;if(a===null||Array.isArray(a)||typeof a!="object")throw new Error(`cannot decode message google.protobuf.Any from JSON: expected object but got ${a===null?"null":Array.isArray(a)?"array":typeof a}`);if(Object.keys(a).length==0)return this;const c=a["@type"];if(typeof c!="string"||c=="")throw new Error('cannot decode message google.protobuf.Any from JSON: "@type" is empty');const p=this.typeUrlToName(c),f=(l=o==null?void 0:o.typeRegistry)===null||l===void 0?void 0:l.findMessage(p);if(!f)throw new Error(`cannot decode message google.protobuf.Any from JSON: ${c} is not in the type registry`);let y;if(p.startsWith("google.protobuf.")&&Object.prototype.hasOwnProperty.call(a,"value"))y=f.fromJson(a.value,o);else{const b=Object.assign({},a);delete b["@type"],y=f.fromJson(b,o)}return this.packFrom(y),this}packFrom(a){this.value=a.toBinary(),this.typeUrl=this.typeNameToUrl(a.getType().typeName)}unpackTo(a){return this.is(a.getType())?(a.fromBinary(this.value),!0):!1}unpack(a){if(this.typeUrl==="")return;const o=a.findMessage(this.typeUrlToName(this.typeUrl));if(o)return o.fromBinary(this.value)}is(a){if(this.typeUrl==="")return!1;const o=this.typeUrlToName(this.typeUrl);let l="";return typeof a=="string"?l=a:l=a.typeName,o===l}typeNameToUrl(a){return`type.googleapis.com/${a}`}typeUrlToName(a){if(!a.length)throw new Error(`invalid type url: ${a}`);const o=a.lastIndexOf("/"),l=o>=0?a.substring(o+1):a;if(!l.length)throw new Error(`invalid type url: ${a}`);return l}static pack(a){const o=new Js;return o.packFrom(a),o}static fromBinary(a,o){return new Js().fromBinary(a,o)}static fromJson(a,o){return new Js().fromJson(a,o)}static fromJsonString(a,o){return new Js().fromJsonString(a,o)}static equals(a,o){return k.util.equals(Js,a,o)}}Js.runtime=k;Js.typeName="google.protobuf.Any";Js.fields=k.util.newFieldList(()=>[{no:1,name:"type_url",kind:"scalar",T:9},{no:2,name:"value",kind:"scalar",T:12}]);const yP=k.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"}]),la=k.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"},{no:31,name:"KIND_AD_VIDEO_PLAYED",localName:"AD_VIDEO_PLAYED"},{no:32,name:"KIND_AD_BUTTON_NAVIGATED",localName:"AD_BUTTON_NAVIGATED"},{no:33,name:"KIND_AD_BANNER_NAVIGATED",localName:"AD_BANNER_NAVIGATED"}]),Fa=k.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"}]),m9=k.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"}]),Wn=k.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"}]),Qs=k.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"},{no:8,name:"TOPIC_SUB_TYPE_PROMOTION_GAM",localName:"PROMOTION_GAM"}]),zr=k.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"}]),vP=k.makeMessageType("streamlayer.social.TweetHashtags",()=>[{no:1,name:"text",kind:"scalar",T:9},{no:2,name:"indices",kind:"scalar",T:5,repeated:!0}]),TP=k.makeMessageType("streamlayer.social.TweetUrls",()=>[{no:1,name:"url",kind:"scalar",T:9},{no:2,name:"display_url",kind:"scalar",T:9},{no:3,name:"expanded_url",kind:"scalar",T:9},{no:4,name:"indices",kind:"scalar",T:5,repeated:!0}]),bP=k.makeMessageType("streamlayer.social.TweetMedia",()=>[{no:1,name:"id",kind:"scalar",T:3},{no:2,name:"id_str",kind:"scalar",T:9},{no:3,name:"type",kind:"scalar",T:9},{no:4,name:"url",kind:"scalar",T:9},{no:5,name:"media_url",kind:"scalar",T:9},{no:6,name:"display_url",kind:"scalar",T:9},{no:7,name:"expanded_url",kind:"scalar",T:9},{no:8,name:"media_url_https",kind:"scalar",T:9},{no:9,name:"source_user_id",kind:"scalar",T:3},{no:10,name:"source_user_id_str",kind:"scalar",T:9},{no:11,name:"source_status_id",kind:"scalar",T:3},{no:12,name:"source_status_id_str",kind:"scalar",T:9},{no:13,name:"sizes",kind:"message",T:jw},{no:14,name:"indices",kind:"scalar",T:5,repeated:!0}]),kP=k.makeMessageType("streamlayer.social.TweetExtendedMedia",()=>[{no:1,name:"id",kind:"scalar",T:3},{no:2,name:"id_str",kind:"scalar",T:9},{no:3,name:"type",kind:"scalar",T:9},{no:4,name:"url",kind:"scalar",T:9},{no:5,name:"media_url",kind:"scalar",T:9},{no:6,name:"display_url",kind:"scalar",T:9},{no:7,name:"expanded_url",kind:"scalar",T:9},{no:8,name:"media_url_https",kind:"scalar",T:9},{no:9,name:"sizes",kind:"message",T:jw},{no:10,name:"indices",kind:"scalar",T:5,repeated:!0},{no:11,name:"video_info",kind:"message",T:wP},{no:12,name:"additional_media_info",kind:"message",T:SP}]),SP=k.makeMessageType("streamlayer.social.TweetExtendedMedia.TweetAdditionalMediaInfo",()=>[{no:1,name:"title",kind:"scalar",T:9},{no:2,name:"description",kind:"scalar",T:9},{no:3,name:"embeddable",kind:"scalar",T:8},{no:4,name:"monetizable",kind:"scalar",T:8}],{localName:"TweetExtendedMedia_TweetAdditionalMediaInfo"}),wP=k.makeMessageType("streamlayer.social.TweetMediaVideoInfo",()=>[{no:1,name:"aspect_ratio",kind:"scalar",T:5,repeated:!0},{no:2,name:"duration_millis",kind:"scalar",T:5},{no:3,name:"variants",kind:"message",T:CP,repeated:!0}]),CP=k.makeMessageType("streamlayer.social.TweetMediaVideoInfo.TweetVideoVariants",()=>[{no:1,name:"bitrate",kind:"scalar",T:5},{no:2,name:"content_type",kind:"scalar",T:9},{no:3,name:"url",kind:"scalar",T:9}],{localName:"TweetMediaVideoInfo_TweetVideoVariants"}),jw=k.makeMessageType("streamlayer.social.TweetMediaSizes",()=>[{no:1,name:"thumb",kind:"message",T:Oh},{no:2,name:"large",kind:"message",T:Oh},{no:3,name:"medium",kind:"message",T:Oh},{no:4,name:"small",kind:"message",T:Oh}]),Oh=k.makeMessageType("streamlayer.social.TweetMediaSize",()=>[{no:1,name:"w",kind:"scalar",T:5},{no:2,name:"h",kind:"scalar",T:5},{no:3,name:"resize",kind:"scalar",T:9}]),EP=k.makeMessageType("streamlayer.social.TweetUserMentions",()=>[{no:1,name:"id",kind:"scalar",T:3},{no:2,name:"id_str",kind:"scalar",T:9},{no:3,name:"name",kind:"scalar",T:9},{no:4,name:"screen_name",kind:"scalar",T:9},{no:5,name:"indices",kind:"scalar",T:5,repeated:!0}]),_P=k.makeMessageType("streamlayer.social.TweetSymbol",()=>[{no:1,name:"text",kind:"scalar",T:9},{no:2,name:"indices",kind:"scalar",T:5,repeated:!0}]),IP=k.makeMessageType("streamlayer.social.TweetPoll",()=>[{no:1,name:"duration_minutes",kind:"scalar",T:9},{no:2,name:"end_datetime",kind:"scalar",T:9},{no:3,name:"options",kind:"message",T:NP,repeated:!0}]),NP=k.makeMessageType("streamlayer.social.TweetPoll.TweetPollOption",()=>[{no:1,name:"position",kind:"scalar",T:5},{no:2,name:"text",kind:"scalar",T:9}],{localName:"TweetPoll_TweetPollOption"}),RP=k.makeMessageType("streamlayer.social.TweetMetadata",()=>[{no:1,name:"id_str",kind:"scalar",T:9},{no:2,name:"account",kind:"scalar",T:9},{no:3,name:"account_id",kind:"scalar",T:9},{no:4,name:"account_image",kind:"scalar",T:9},{no:8,name:"account_name",kind:"scalar",T:9},{no:9,name:"account_verified",kind:"scalar",T:8},{no:5,name:"retweeted_status",kind:"message",T:Y9},{no:6,name:"entities",kind:"message",T:OP},{no:7,name:"extended_entities",kind:"message",T:LP},{no:10,name:"retweet_count",kind:"scalar",T:4},{no:11,name:"favorite_count",kind:"scalar",T:4}]),OP=k.makeMessageType("streamlayer.social.TweetMetadata.TweetEntities",()=>[{no:1,name:"urls",kind:"message",T:TP,repeated:!0},{no:2,name:"hashtags",kind:"message",T:vP,repeated:!0},{no:3,name:"media",kind:"message",T:bP,repeated:!0},{no:4,name:"user_mentions",kind:"message",T:EP,repeated:!0},{no:5,name:"symbols",kind:"message",T:_P,repeated:!0},{no:6,name:"polls",kind:"message",T:IP,repeated:!0}],{localName:"TweetMetadata_TweetEntities"}),LP=k.makeMessageType("streamlayer.social.TweetMetadata.TweetExtendedEntities",()=>[{no:1,name:"media",kind:"message",T:kP,repeated:!0}],{localName:"TweetMetadata_TweetExtendedEntities"}),Y9=k.makeMessageType("streamlayer.social.Tweet",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"date",kind:"scalar",T:9},{no:3,name:"text",kind:"scalar",T:9},{no:4,name:"meta",kind:"message",T:RP}]),fe=k.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"}]),AP=k.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"}]),yn=k.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"}]),xP=k.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"}]),PP=k.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"}]),Gr=k.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"}]),MP=k.makeEnum("streamlayer.interactive.NotificationPromotionMode",[{no:0,name:"NOTIFICATION_PROMOTION_MODE_UNSET",localName:"UNSET"},{no:1,name:"NOTIFICATION_PROMOTION_MODE_CLASSIC",localName:"CLASSIC"},{no:2,name:"NOTIFICATION_PROMOTION_MODE_LOWER_THIRD",localName:"LOWER_THIRD"},{no:3,name:"NOTIFICATION_PROMOTION_MODE_RICH_NOTIFICATION",localName:"RICH_NOTIFICATION"}]),DP=k.makeEnum("streamlayer.interactive.NotificationPromotionImagePosition",[{no:0,name:"NOTIFICATION_PROMOTION_IMAGE_POSITION_UNSET",localName:"UNSET"},{no:1,name:"NOTIFICATION_PROMOTION_IMAGE_POSITION_FIT",localName:"FIT"},{no:2,name:"NOTIFICATION_PROMOTION_IMAGE_POSITION_CENTERED",localName:"CENTERED"},{no:3,name:"NOTIFICATION_PROMOTION_IMAGE_POSITION_BOTTOM",localName:"BOTTOM"},{no:4,name:"NOTIFICATION_PROMOTION_IMAGE_POSITION_SOLID",localName:"SOLID"},{no:5,name:"NOTIFICATION_PROMOTION_IMAGE_POSITION_MIDDLE",localName:"MIDDLE"}]),UP=k.makeEnum("streamlayer.interactive.NotificationSponsorLogoMode",[{no:0,name:"NOTIFICATION_SPONSOR_LOGO_UNSET"},{no:1,name:"NOTIFICATION_SPONSOR_LOGO_NONE"},{no:2,name:"NOTIFICATION_SPONSOR_LOGO_TRANSPARENT"}]),FP=k.makeEnum("streamlayer.interactive.CtaIconMode",[{no:0,name:"CTA_ICON_UNSET"},{no:1,name:"CTA_ICON_NONE"},{no:2,name:"CTA_ICON_TRANSPARENT"}]),$w=k.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"}]),Hr=k.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"},{no:6,name:"PROMOTION_TYPE_EXTERNAL_AD",localName:"EXTERNAL_AD"}]),VP=k.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"}]),BP=k.makeEnum("streamlayer.interactive.PromotionButtonType",[{no:0,name:"PROMOTION_BUTTON_TYPE_UNSET",localName:"UNSET"},{no:1,name:"PROMOTION_BUTTON_TYPE_BASIC",localName:"BASIC"},{no:3,name:"PROMOTION_BUTTON_TYPE_ADD_TO_WALLET",localName:"ADD_TO_WALLET"},{no:4,name:"PROMOTION_BUTTON_TYPE_RETURN_TO_VIDEO",localName:"RETURN_TO_VIDEO"},{no:5,name:"PROMOTION_BUTTON_TYPE_NO_BUTTON",localName:"NO_BUTTON"}]),jP=k.makeEnum("streamlayer.interactive.PromotionLogoMode",[{no:0,name:"PROMOTION_LOGO_MODE_UNSET",localName:"UNSET"},{no:1,name:"PROMOTION_LOGO_MODE_LEFT",localName:"LEFT"},{no:2,name:"PROMOTION_LOGO_MODE_CENTER",localName:"CENTER"},{no:3,name:"PROMOTION_LOGO_MODE_MINMAL",localName:"MINMAL"}]),K9=k.makeEnum("streamlayer.interactive.UseAsNotification",[{no:0,name:"USE_AS_NOTIFICATION_UNSET",localName:"UNSET"},{no:1,name:"USE_AS_NOTIFICATION_ENABLED",localName:"ENABLED"},{no:2,name:"USE_AS_NOTIFICATION_DISABLED",localName:"DISABLED"}]),f9=k.makeEnum("streamlayer.interactive.NotificationEnabled",[{no:0,name:"NOTIFICATION_ENABLED_UNSET"},{no:1,name:"NOTIFICATION_ENABLED"},{no:2,name:"NOTIFICATION_DISABLED"}]),zw=k.makeEnum("streamlayer.interactive.CloseTimerAuto",[{no:0,name:"CLOSE_TIMER_AUTO_UNSET",localName:"UNSET"},{no:1,name:"CLOSE_TIMER_AUTO_ENABLED",localName:"ENABLED"},{no:2,name:"CLOSE_TIMER_AUTO_DISABLED",localName:"DISABLED"}]),w6=k.makeEnum("streamlayer.interactive.AutoPlayVideo",[{no:0,name:"AUTO_PLAY_VIDEO_UNSET",localName:"UNSET"},{no:1,name:"AUTO_PLAY_VIDEO_ENABLED",localName:"ENABLED"},{no:2,name:"AUTO_PLAY_VIDEO_DISABLED",localName:"DISABLED"}]),$P=k.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"}]),zP=k.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"}]),HP=k.makeEnum("streamlayer.interactive.QuestionSkipReason",[{no:0,name:"QUESTION_SKIP_REASON_UNSET",localName:"UNSET"},{no:1,name:"QUESTION_SKIP_REASON_OVERDUE",localName:"OVERDUE"}]),Hw=k.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"}]),GP=k.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"}]),Z9=k.makeMessageType("streamlayer.interactive.CloseTimer",()=>[{no:1,name:"auto",kind:"enum",T:k.getEnumType(zw)},{no:2,name:"seconds",kind:"scalar",T:5}]),X9=k.makeMessageType("streamlayer.interactive.QuestionAppearance",()=>[{no:1,name:"layout",kind:"enum",T:k.getEnumType(PP)},{no:2,name:"images",kind:"enum",T:k.getEnumType(Gr)},{no:3,name:"primary_color",kind:"scalar",T:9},{no:4,name:"position",kind:"enum",T:k.getEnumType(xP)},{no:5,name:"auto_hide_interval",kind:"scalar",T:4}]),_0=k.makeMessageType("streamlayer.interactive.Sponsorship",()=>[{no:1,name:"logo",kind:"scalar",T:9},{no:2,name:"name",kind:"scalar",T:9}]),qP=k.makeMessageType("streamlayer.interactive.PromotionNotification",()=>[{no:1,name:"sponsor_logo",kind:"scalar",T:9},{no:2,name:"sponsor_logo_mode",kind:"enum",T:k.getEnumType(UP)},{no:3,name:"cta_button",kind:"message",T:qw},{no:4,name:"image_position",kind:"enum",T:k.getEnumType(DP)},{no:5,name:"mode",kind:"enum",T:k.getEnumType(MP)}]),J9=k.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:k.getEnumType($w)},{no:5,name:"body",kind:"scalar",T:9},{no:6,name:"image_mode",kind:"enum",T:k.getEnumType(Gr)},{no:7,name:"promotion",kind:"message",T:qP},{no:8,name:"enabled",kind:"enum",T:k.getEnumType(f9)}]),WP=k.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}]),QP=k.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},{no:9,name:"points_earned",kind:"scalar",T:13}]),wu=k.makeMessageType("streamlayer.interactive.AnswerFeedback",()=>[{no:1,name:"title",kind:"scalar",T:9},{no:2,name:"description",kind:"scalar",T:9}]),ey=k.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}]),Gw=k.makeMessageType("streamlayer.interactive.WebLink",()=>[{no:1,name:"label",kind:"scalar",T:9},{no:2,name:"url",kind:"scalar",T:9}]),qw=k.makeMessageType("streamlayer.interactive.CTAButton",()=>[{no:1,name:"label",kind:"scalar",T:9},{no:2,name:"color",kind:"scalar",T:9},{no:3,name:"text_color",kind:"scalar",T:9,opt:!0},{no:4,name:"cta_icon",kind:"scalar",T:9},{no:5,name:"cta_icon_mode",kind:"enum",T:k.getEnumType(FP)}]),Fb=k.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:qw},{no:4,name:"video",kind:"message",T:ey},{no:5,name:"body",kind:"scalar",T:9,opt:!0},{no:6,name:"analytics_topic_sub_type",kind:"enum",T:k.getEnumType(Qs),opt:!0},{no:7,name:"title",kind:"scalar",T:9,opt:!0}]),YP=k.makeMessageType("streamlayer.interactive.AdLoop",()=>[{no:1,name:"interval",kind:"scalar",T:5,opt:!0}]),Ww=k.makeMessageType("streamlayer.interactive.QuestionOptions",()=>[{no:1,name:"poll",kind:"message",T:KP,oneof:"options"},{no:2,name:"trivia",kind:"message",T:ZP,oneof:"options"},{no:3,name:"prediction",kind:"message",T:XP,oneof:"options"},{no:4,name:"factoid",kind:"message",T:JP,oneof:"options"},{no:5,name:"tweet",kind:"message",T:eM,oneof:"options"},{no:6,name:"promotion",kind:"message",T:rM,oneof:"options"}]),KP=k.makeMessageType("streamlayer.interactive.QuestionOptions.PollOptions",[],{localName:"QuestionOptions_PollOptions"}),ZP=k.makeMessageType("streamlayer.interactive.QuestionOptions.TriviaOptions",()=>[{no:1,name:"correct_feedback",kind:"message",T:wu},{no:2,name:"incorrect_feedback",kind:"message",T:wu},{no:3,name:"points",kind:"scalar",T:4}],{localName:"QuestionOptions_TriviaOptions"}),XP=k.makeMessageType("streamlayer.interactive.QuestionOptions.PredictionOptions",()=>[{no:1,name:"correct_feedback",kind:"message",T:wu},{no:2,name:"incorrect_feedback",kind:"message",T:wu}],{localName:"QuestionOptions_PredictionOptions"}),JP=k.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:ey},{no:4,name:"web_link",kind:"message",T:Gw},{no:5,name:"image_mode",kind:"enum",T:k.getEnumType(Gr)},{no:6,name:"use_as_notification",kind:"enum",T:k.getEnumType(K9)},{no:7,name:"close_timer",kind:"message",T:Z9,opt:!0},{no:8,name:"auto_play_video",kind:"enum",T:k.getEnumType(w6),opt:!0}],{localName:"QuestionOptions_FactoidOptions"}),eM=k.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:tM}],{localName:"QuestionOptions_TweetOptions"}),tM=k.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},{no:4,name:"tweet",kind:"message",T:Y9}],{localName:"QuestionOptions_TweetOptions_TweetMetadata"}),nM=k.makeMessageType("streamlayer.interactive.QuestionOptions.GamOptions",()=>[{no:1,name:"env",kind:"scalar",T:9,opt:!0},{no:2,name:"gdfp_req",kind:"scalar",T:9,opt:!0},{no:3,name:"iu",kind:"scalar",T:9,opt:!0},{no:4,name:"output",kind:"scalar",T:9,opt:!0},{no:5,name:"sz",kind:"scalar",T:9,opt:!0},{no:6,name:"unviewed_position_start",kind:"scalar",T:9,opt:!0},{no:7,name:"ciu_szs",kind:"scalar",T:9,repeated:!0},{no:8,name:"url",kind:"scalar",T:9,opt:!0},{no:9,name:"description_url",kind:"scalar",T:9,opt:!0},{no:10,name:"correlator",kind:"scalar",T:9,opt:!0},{no:11,name:"cust_params",kind:"map",K:9,V:{kind:"scalar",T:9}},{no:12,name:"plcmt",kind:"scalar",T:9,opt:!0},{no:13,name:"vpa",kind:"scalar",T:9,opt:!0},{no:14,name:"vpmute",kind:"scalar",T:9,opt:!0},{no:15,name:"wta",kind:"scalar",T:9,opt:!0},{no:16,name:"aconp",kind:"scalar",T:9,opt:!0},{no:17,name:"ad_rule",kind:"scalar",T:9,opt:!0},{no:18,name:"ad_type",kind:"scalar",T:9,opt:!0},{no:19,name:"hl",kind:"scalar",T:9,opt:!0},{no:20,name:"dth",kind:"scalar",T:9,opt:!0},{no:21,name:"gdpr",kind:"scalar",T:9,opt:!0},{no:22,name:"gdpr_consent",kind:"scalar",T:9,opt:!0},{no:23,name:"iabexcl",kind:"scalar",T:9,opt:!0},{no:24,name:"lip",kind:"scalar",T:8,opt:!0},{no:25,name:"ltd",kind:"scalar",T:9,opt:!0},{no:26,name:"nofb",kind:"scalar",T:9,opt:!0},{no:27,name:"npa",kind:"scalar",T:9,opt:!0},{no:28,name:"omid_p",kind:"scalar",T:9,opt:!0},{no:29,name:"ppt",kind:"scalar",T:9,opt:!0},{no:30,name:"ppos",kind:"scalar",T:9,opt:!0},{no:31,name:"ppid",kind:"scalar",T:9,opt:!0},{no:32,name:"scor",kind:"scalar",T:9,opt:!0},{no:33,name:"sdk_apis",kind:"scalar",T:9,opt:!0},{no:34,name:"ssss",kind:"scalar",T:9,opt:!0},{no:35,name:"sdmax",kind:"scalar",T:9,opt:!0},{no:36,name:"sid",kind:"scalar",T:9,opt:!0},{no:37,name:"rdp",kind:"scalar",T:9,opt:!0},{no:38,name:"addtl_consent",kind:"scalar",T:9,opt:!0},{no:39,name:"afvsz",kind:"scalar",T:9,opt:!0},{no:40,name:"allcues",kind:"scalar",T:9,opt:!0},{no:41,name:"cmsid",kind:"scalar",T:9,opt:!0},{no:42,name:"vid",kind:"scalar",T:9,opt:!0},{no:43,name:"excl_cat",kind:"scalar",T:9,opt:!0},{no:44,name:"ipd",kind:"scalar",T:9,opt:!0},{no:45,name:"ipe",kind:"scalar",T:9,opt:!0},{no:46,name:"max_ad_duration",kind:"scalar",T:9,opt:!0},{no:47,name:"min_ad_duration",kind:"scalar",T:9,opt:!0},{no:48,name:"mridx",kind:"scalar",T:9,opt:!0},{no:49,name:"msid",kind:"scalar",T:9,opt:!0},{no:50,name:"an",kind:"scalar",T:9,opt:!0},{no:51,name:"pmad",kind:"scalar",T:9,opt:!0},{no:52,name:"pmnd",kind:"scalar",T:9,opt:!0},{no:53,name:"pmxd",kind:"scalar",T:9,opt:!0},{no:54,name:"pod",kind:"scalar",T:9,opt:!0},{no:55,name:"pp",kind:"scalar",T:9,opt:!0},{no:56,name:"ppsj",kind:"scalar",T:9,opt:!0},{no:57,name:"ptpl",kind:"scalar",T:9,opt:!0},{no:58,name:"ptpln",kind:"scalar",T:9,opt:!0},{no:59,name:"pubf",kind:"scalar",T:9,opt:!0},{no:60,name:"pvtf",kind:"scalar",T:9,opt:!0},{no:61,name:"pvid",kind:"scalar",T:9,opt:!0},{no:62,name:"pvid_s",kind:"scalar",T:9,opt:!0},{no:63,name:"rdid",kind:"scalar",T:9,opt:!0},{no:64,name:"idtype",kind:"scalar",T:9,opt:!0},{no:65,name:"is_lat",kind:"scalar",T:9,opt:!0},{no:66,name:"tfcd",kind:"scalar",T:9,opt:!0},{no:67,name:"trt",kind:"scalar",T:9,opt:!0},{no:68,name:"vad_type",kind:"scalar",T:9,opt:!0},{no:69,name:"vid_d",kind:"scalar",T:9,opt:!0},{no:70,name:"vconp",kind:"scalar",T:9,opt:!0},{no:71,name:"vpi",kind:"scalar",T:9,opt:!0},{no:72,name:"vpos",kind:"scalar",T:9,opt:!0},{no:73,name:"impl",kind:"scalar",T:9,opt:!0},{no:74,name:"vad_format",kind:"scalar",T:9,opt:!0}],{localName:"QuestionOptions_GamOptions"}),aM=k.makeMessageType("streamlayer.interactive.QuestionOptions.AdCampaigns",()=>[{no:1,name:"gam_options",kind:"message",T:nM,opt:!0},{no:2,name:"gam_base_url",kind:"scalar",T:9,opt:!0},{no:3,name:"ad_loop",kind:"message",T:YP}],{localName:"QuestionOptions_AdCampaigns"}),rM=k.makeMessageType("streamlayer.interactive.QuestionOptions.PromotionOptions",()=>[{no:1,name:"type",kind:"enum",T:k.getEnumType(Hr)},{no:2,name:"sponsor",kind:"message",T:_0},{no:3,name:"banner",kind:"message",T:Fb},{no:4,name:"enable_wallet",kind:"enum",T:k.getEnumType(VP)},{no:5,name:"additional_banner",kind:"message",T:Fb},{no:6,name:"coupon",kind:"scalar",T:9},{no:7,name:"logo_mode",kind:"enum",T:k.getEnumType(jP)},{no:8,name:"coupon_zip",kind:"scalar",T:9},{no:9,name:"coupon_barcode_url",kind:"scalar",T:9},{no:10,name:"button_type",kind:"enum",T:k.getEnumType(BP),opt:!0},{no:11,name:"ad_campaigns",kind:"message",T:aM,opt:!0},{no:12,name:"close_timer",kind:"message",T:Z9,opt:!0},{no:13,name:"auto_play_video",kind:"enum",T:k.getEnumType(w6),opt:!0}],{localName:"QuestionOptions_PromotionOptions"}),oM=k.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}]),sM=k.makeMessageType("streamlayer.interactive.QuestionAi",()=>[{no:1,name:"verified",kind:"scalar",T:8}]),Qw=k.makeMessageType("streamlayer.interactive.Question",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"enum",T:k.getEnumType(fe)},{no:3,name:"subject",kind:"scalar",T:9,opt:!0},{no:4,name:"options",kind:"message",T:Ww},{no:5,name:"appearance",kind:"message",T:X9},{no:6,name:"sponsorship",kind:"message",T:_0},{no:7,name:"notification",kind:"message",T:J9},{no:8,name:"answers",kind:"message",T:WP,repeated:!0},{no:9,name:"status",kind:"enum",T:k.getEnumType(yn)},{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:yr},{no:17,name:"tags",kind:"message",T:oM,repeated:!0},{no:18,name:"bypass_notifications",kind:"message",T:ny},{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:k.getEnumType(AP)},{no:22,name:"ai",kind:"message",T:sM},{no:23,name:"has_triggers",kind:"scalar",T:8,opt:!0}]),ty=k.makeMessageType("streamlayer.interactive.ExtendedQuestion",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"enum",T:k.getEnumType(fe)},{no:3,name:"subject",kind:"scalar",T:9},{no:4,name:"options",kind:"message",T:Ww},{no:5,name:"appearance",kind:"message",T:X9},{no:6,name:"sponsorship",kind:"message",T:_0},{no:7,name:"notification",kind:"message",T:J9},{no:8,name:"answers",kind:"message",T:QP,repeated:!0},{no:9,name:"status",kind:"enum",T:k.getEnumType(yn)},{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:ny}]),Yw=k.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:_0},{no:4,name:"onboarding_enabled",kind:"scalar",T:8},{no:5,name:"question",kind:"message",T:iM},{no:6,name:"sponsors",kind:"message",T:cM},{no:7,name:"notification",kind:"message",T:dM},{no:8,name:"activated_at",kind:"message",T:yr},{no:9,name:"deactivated_at",kind:"message",T:yr},{no:10,name:"question_auto_post",kind:"message",T:mM},{no:11,name:"bypass_notifications",kind:"message",T:ny},{no:12,name:"importer_collaboration",kind:"message",T:vM}]),iM=k.makeMessageType("streamlayer.interactive.EventModeration.QuestionSettings",()=>[{no:1,name:"appearance",kind:"message",T:X9},{no:2,name:"trivia",kind:"message",T:lM},{no:3,name:"prediction",kind:"message",T:uM},{no:4,name:"correct_feedbacks",kind:"message",T:wu,repeated:!0},{no:5,name:"incorrect_feedbacks",kind:"message",T:wu,repeated:!0}],{localName:"EventModeration_QuestionSettings"}),lM=k.makeMessageType("streamlayer.interactive.EventModeration.QuestionSettings.TriviaCardSettings",()=>[{no:1,name:"points",kind:"scalar",T:13}],{localName:"EventModeration_QuestionSettings_TriviaCardSettings"}),uM=k.makeMessageType("streamlayer.interactive.EventModeration.QuestionSettings.PredictionCardSettings",()=>[{no:1,name:"max_points",kind:"scalar",T:13}],{localName:"EventModeration_QuestionSettings_PredictionCardSettings"}),cM=k.makeMessageType("streamlayer.interactive.EventModeration.SponsorshipSettings",()=>[{no:1,name:"sponsors",kind:"message",T:_0,repeated:!0}],{localName:"EventModeration_SponsorshipSettings"}),dM=k.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:k.getEnumType($w)},{no:4,name:"image_mode",kind:"enum",T:k.getEnumType(Gr)}],{localName:"EventModeration_NotificationSettings"}),mM=k.makeMessageType("streamlayer.interactive.QuestionAutoPost",()=>[{no:1,name:"state",kind:"enum",T:k.getEnumType($P)},{no:2,name:"interval",kind:"scalar",T:13},{no:3,name:"next_post_time",kind:"message",T:yr},{no:4,name:"start_mode",kind:"enum",T:k.getEnumType(zP)},{no:5,name:"start_options",kind:"message",T:fM}]),fM=k.makeMessageType("streamlayer.interactive.QuestionAutoPostStartOptions",()=>[{no:1,name:"schedule",kind:"message",T:pM,oneof:"options"}]),pM=k.makeMessageType("streamlayer.interactive.QuestionAutoPostStartOptions.ScheduleOptions",()=>[{no:1,name:"timestamp",kind:"scalar",T:4}],{localName:"QuestionAutoPostStartOptions_ScheduleOptions"}),C6=k.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}]),hM=k.makeMessageType("streamlayer.interactive.Sort",()=>[{no:1,name:"field",kind:"scalar",T:9},{no:2,name:"order",kind:"scalar",T:9}]),ny=k.makeMessageType("streamlayer.interactive.BypassNotifications",()=>[{no:1,name:"in_app_silence",kind:"enum",T:k.getEnumType(Hw)}]),gM=k.makeMessageType("streamlayer.interactive.ImportError",()=>[{no:1,name:"row_id",kind:"scalar",T:9},{no:2,name:"message",kind:"scalar",T:9}]),yM=k.makeMessageType("streamlayer.interactive.ImportProgress",()=>[{no:1,name:"import_id",kind:"scalar",T:9},{no:2,name:"status",kind:"enum",T:k.getEnumType(GP)},{no:3,name:"errors",kind:"message",T:gM,repeated:!0},{no:4,name:"last_updated",kind:"message",T:yr}]),vM=k.makeMessageType("streamlayer.interactive.ImporterCollaboration",()=>[{no:1,name:"imports",kind:"map",K:9,V:{kind:"message",T:yM}}]),tl=k.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"}]),TM=k.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"}]),Kw=k.makeMessageType("streamlayer.interactive.feed.FeedQuestion",()=>[{no:1,name:"question",kind:"message",T:Qw},{no:2,name:"notification",kind:"message",T:J9},{no:3,name:"moderation",kind:"message",T:Yw},{no:4,name:"feed_item",kind:"message",T:E6}]),bM=k.makeMessageType("streamlayer.interactive.feed.SubscriptionRequest",()=>[{no:1,name:"event_id",kind:"scalar",T:9},{no:2,name:"feed_id",kind:"scalar",T:9}]),kM=k.makeMessageType("streamlayer.interactive.feed.SubscriptionResponse",()=>[{no:1,name:"data",kind:"message",T:SM}]),SM=k.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:Kw}],{localName:"SubscriptionResponse_SubscriptionResponseData"}),wM=k.makeMessageType("streamlayer.interactive.feed.VotingSubscriptionRequest",()=>[{no:1,name:"feed_id",kind:"scalar",T:9},{no:2,name:"question_id",kind:"scalar",T:9}]),CM=k.makeMessageType("streamlayer.interactive.feed.VotingSubscriptionResponse",()=>[{no:1,name:"data",kind:"message",T:EM}]),EM=k.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:ay,repeated:!0}],{localName:"VotingSubscriptionResponse_VotingSubscriptionResponseData"}),_M=k.makeMessageType("streamlayer.interactive.feed.QuestionSubscription",()=>[{no:1,name:"question",kind:"message",T:ty}]),IM=k.makeMessageType("streamlayer.interactive.feed.QuestionSubscriptionRequest",()=>[{no:1,name:"question_id",kind:"scalar",T:9}]),NM=k.makeMessageType("streamlayer.interactive.feed.QuestionSubscriptionResponse",()=>[{no:1,name:"data",kind:"message",T:RM}]),RM=k.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:_M}],{localName:"QuestionSubscriptionResponse_QuestionSubscriptionResponseData"}),OM=k.makeMessageType("streamlayer.interactive.feed.QuestionByUser",()=>[{no:1,name:"question",kind:"message",T:ty}]),LM=k.makeMessageType("streamlayer.interactive.feed.QuestionByUserRequest",()=>[{no:1,name:"question_id",kind:"scalar",T:9}]),AM=k.makeMessageType("streamlayer.interactive.feed.QuestionByUserResponse",()=>[{no:1,name:"data",kind:"message",T:xM}]),xM=k.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:OM}],{localName:"QuestionByUserResponse_QuestionByUserResponseData"}),PM=k.makeMessageType("streamlayer.interactive.feed.SyncQuestionRequest",()=>[{no:1,name:"filter",kind:"message",T:MM}]),MM=k.makeMessageType("streamlayer.interactive.feed.SyncQuestionRequest.SyncQuestionRequestFilter",()=>[{no:1,name:"event_id",kind:"scalar",T:9},{no:2,name:"types",kind:"enum",T:k.getEnumType(fe),repeated:!0}],{localName:"SyncQuestionRequest_SyncQuestionRequestFilter"}),DM=k.makeMessageType("streamlayer.interactive.feed.SyncQuestionResponse",()=>[{no:1,name:"data",kind:"message",T:UM}]),UM=k.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:Kw}],{localName:"SyncQuestionResponse_SyncQuestionResponseData"}),FM=k.makeMessageType("streamlayer.interactive.feed.GetQuestionRequest",()=>[{no:1,name:"id",kind:"scalar",T:9}]),VM=k.makeMessageType("streamlayer.interactive.feed.GetQuestionResponse",()=>[{no:1,name:"data",kind:"message",T:BM}]),BM=k.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:Qw}],{localName:"GetQuestionResponse_GetQuestionResponseData"}),jM=k.makeMessageType("streamlayer.interactive.feed.QuestionDetailRequest",()=>[{no:1,name:"id",kind:"scalar",T:9}]),$M=k.makeMessageType("streamlayer.interactive.feed.QuestionDetailResponse",()=>[{no:1,name:"data",kind:"message",T:zM}]),zM=k.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:ty}],{localName:"QuestionDetailResponse_QuestionDetailResponseData"}),ay=k.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}]),HM=k.makeMessageType("streamlayer.interactive.feed.SubmitAnswerRequest",()=>[{no:1,name:"data",kind:"message",T:GM}]),GM=k.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"}),qM=k.makeMessageType("streamlayer.interactive.feed.SubmitAnswerResponse",()=>[{no:1,name:"data",kind:"message",T:WM}]),WM=k.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:ay,repeated:!0}],{localName:"SubmitAnswerResponse_SubmitAnswerResponseData"}),QM=k.makeMessageType("streamlayer.interactive.feed.SubmitInplayRequest",()=>[{no:1,name:"data",kind:"message",T:YM}]),YM=k.makeMessageType("streamlayer.interactive.feed.SubmitInplayRequest.SubmitRequestData",()=>[{no:1,name:"event_id",kind:"scalar",T:13}],{localName:"SubmitInplayRequest_SubmitRequestData"}),KM=k.makeMessageType("streamlayer.interactive.feed.SubmitInplayResponse",[]),ZM=k.makeMessageType("streamlayer.interactive.feed.SkipQuestionRequest",()=>[{no:1,name:"data",kind:"message",T:XM}]),XM=k.makeMessageType("streamlayer.interactive.feed.SkipQuestionRequest.SkipQuestionRequestData",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"reason",kind:"enum",T:k.getEnumType(HP)}],{localName:"SkipQuestionRequest_SkipQuestionRequestData"}),JM=k.makeMessageType("streamlayer.interactive.feed.SkipQuestionResponse",()=>[{no:1,name:"data",kind:"message",T:eD}]),eD=k.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:ay,repeated:!0}],{localName:"SkipQuestionResponse_SkipQuestionResponseData"}),tD=k.makeMessageType("streamlayer.interactive.feed.PickHistoryRequest",()=>[{no:1,name:"question_type",kind:"enum",T:k.getEnumType(fe),repeated:!0},{no:3,name:"event_id",kind:"scalar",T:9},{no:2,name:"pagination",kind:"message",T:C6}]),Zw=k.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:k.getEnumType(tl)},{no:4,name:"question_type",kind:"enum",T:k.getEnumType(fe)},{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:k.getEnumType(yn)}]),nD=k.makeMessageType("streamlayer.interactive.feed.PickHistoryResponse",()=>[{no:1,name:"data",kind:"message",T:aD,repeated:!0},{no:2,name:"meta",kind:"message",T:rD}]),aD=k.makeMessageType("streamlayer.interactive.feed.PickHistoryResponse.PickHistoryResponseData",()=>[{no:1,name:"attributes",kind:"message",T:Zw}],{localName:"PickHistoryResponse_PickHistoryResponseData"}),rD=k.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"}),oD=k.makeMessageType("streamlayer.interactive.feed.InsightHistoryRequest",()=>[{no:1,name:"event_id",kind:"scalar",T:9}]),sD=k.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:ey,opt:!0},{no:5,name:"web_link",kind:"message",T:Gw,opt:!0},{no:6,name:"image_mode",kind:"enum",T:k.getEnumType(Gr)},{no:7,name:"close_timer",kind:"message",T:Z9,opt:!0},{no:8,name:"auto_play_video",kind:"enum",T:k.getEnumType(w6),opt:!0}]),iD=k.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}]),Xw=k.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:k.getEnumType(Gr)},{no:5,name:"instant_view",kind:"message",T:sD,opt:!0},{no:6,name:"notification",kind:"message",T:iD,opt:!0},{no:7,name:"use_as_notification",kind:"enum",T:k.getEnumType(K9)}]),lD=k.makeMessageType("streamlayer.interactive.feed.InsightHistoryResponse",()=>[{no:1,name:"data",kind:"message",T:uD,repeated:!0}]),uD=k.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:Xw}],{localName:"InsightHistoryResponse_InsightHistoryResponseData"}),cD=k.makeMessageType("streamlayer.interactive.feed.TweetHistoryRequest",()=>[{no:1,name:"event_id",kind:"scalar",T:9}]),Jw=k.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},{no:7,name:"tweet",kind:"message",T:Y9}]),dD=k.makeMessageType("streamlayer.interactive.feed.TweetHistoryResponse",()=>[{no:1,name:"data",kind:"message",T:mD,repeated:!0}]),mD=k.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:Jw}],{localName:"TweetHistoryResponse_TweetHistoryResponseData"}),fD=k.makeMessageType("streamlayer.interactive.feed.InteractiveFeed",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"options",kind:"message",T:pD},{no:3,name:"moderation",kind:"message",T:Yw}]),pD=k.makeMessageType("streamlayer.interactive.feed.FeedOptions",()=>[{no:1,name:"onboarding_enabled",kind:"scalar",T:8}]),hD=k.makeMessageType("streamlayer.interactive.feed.GetRequest",()=>[{no:1,name:"event_id",kind:"scalar",T:9}]),gD=k.makeMessageType("streamlayer.interactive.feed.GetResponse",()=>[{no:1,name:"data",kind:"message",T:yD}]),yD=k.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:fD}],{localName:"GetResponse_GetResponseData"}),vD=k.makeMessageType("streamlayer.interactive.feed.PromotionHistoryRequest",()=>[{no:1,name:"event_id",kind:"scalar",T:9}]),eC=k.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}]),TD=k.makeMessageType("streamlayer.interactive.feed.PromotionHistoryResponse",()=>[{no:1,name:"data",kind:"message",T:bD,repeated:!0}]),bD=k.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:eC}],{localName:"PromotionHistoryResponse_PromotionHistoryResponseData"}),kD=k.makeMessageType("streamlayer.interactive.feed.FeedItemAttributes",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"enum",T:k.getEnumType(fe)},{no:3,name:"status",kind:"enum",T:k.getEnumType(yn)},{no:8,name:"created",kind:"scalar",T:9},{no:4,name:"question",kind:"message",T:Zw,oneof:"attributes"},{no:5,name:"tweet",kind:"message",T:Jw,oneof:"attributes"},{no:6,name:"insight",kind:"message",T:Xw,oneof:"attributes"},{no:7,name:"promotion",kind:"message",T:eC,oneof:"attributes"}]),E6=k.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:kD}]),SD=k.makeMessageType("streamlayer.interactive.feed.FeedListRequest",()=>[{no:1,name:"event_id",kind:"scalar",T:9},{no:2,name:"filter",kind:"message",T:wD},{no:3,name:"pagination",kind:"message",T:C6}]),wD=k.makeMessageType("streamlayer.interactive.feed.FeedListRequest.FeedListFilter",()=>[{no:1,name:"types",kind:"enum",T:k.getEnumType(fe),repeated:!0},{no:2,name:"statuses",kind:"enum",T:k.getEnumType(yn),repeated:!0}],{localName:"FeedListRequest_FeedListFilter"}),CD=k.makeMessageType("streamlayer.interactive.feed.FeedListResponse",()=>[{no:1,name:"data",kind:"message",T:E6,repeated:!0},{no:2,name:"meta",kind:"message",T:ED}]),ED=k.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"}),_D=k.makeMessageType("streamlayer.interactive.feed.FeedItemRequest",()=>[{no:1,name:"id",kind:"scalar",T:9}]),ID=k.makeMessageType("streamlayer.interactive.feed.FeedItemResponse",()=>[{no:1,name:"data",kind:"message",T:E6}]),ND=k.makeMessageType("streamlayer.interactive.feed.FeedSubscriptionRequest",()=>[{no:1,name:"event_id",kind:"scalar",T:9}]),RD=k.makeMessageType("streamlayer.interactive.feed.FeedSubscriptionResponse",()=>[{no:1,name:"data",kind:"message",T:E6},{no:2,name:"meta",kind:"message",T:OD}]),OD=k.makeMessageType("streamlayer.interactive.feed.FeedSubscriptionResponse.FeedSubscriptionMeta",()=>[{no:1,name:"type",kind:"enum",T:k.getEnumType(TM)}],{localName:"FeedSubscriptionResponse_FeedSubscriptionMeta"}),LD=k.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}]),AD=k.makeMessageType("streamlayer.sdkSettings.game.common.GameMedia",()=>[{no:1,name:"game_icon",kind:"scalar",T:9},{no:2,name:"sponsor_logo",kind:"scalar",T:9}]),xD=k.makeMessageType("streamlayer.sdkSettings.game.common.GamePrize",()=>[{no:1,name:"title",kind:"scalar",T:9},{no:2,name:"image",kind:"scalar",T:9}]),PD=k.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:AD},{no:6,name:"appearance",kind:"message",T:LD},{no:7,name:"prizes",kind:"message",T:xD,repeated:!0},{no:8,name:"completed",kind:"scalar",T:8}]),MD=k.makeMessageType("streamlayer.sdkSettings.game.common.TitleCardMedia",()=>[{no:1,name:"icon",kind:"scalar",T:9},{no:2,name:"sponsor_logo",kind:"scalar",T:9}]),DD=k.makeMessageType("streamlayer.sdkSettings.game.common.TitleCardAppearance",()=>[{no:1,name:"graphic",kind:"scalar",T:9}]),UD=k.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:MD},{no:7,name:"appearance",kind:"message",T:DD},{no:8,name:"completed",kind:"scalar",T:8}]),FD=k.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}]),VD=k.makeMessageType("streamlayer.sdkSettings.game.common.GameOnboarding",()=>[{no:1,name:"steps",kind:"message",T:FD,repeated:!0},{no:2,name:"completed",kind:"scalar",T:8}]),BD=k.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}]),jD=k.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}]),$D=k.makeMessageType("streamlayer.sdkSettings.game.common.GameSettings",()=>[{no:1,name:"overview",kind:"message",T:PD},{no:2,name:"title_card",kind:"message",T:UD},{no:3,name:"onboarding",kind:"message",T:VD},{no:4,name:"rules",kind:"message",T:BD},{no:5,name:"invite_card",kind:"message",T:jD},{no:6,name:"completed",kind:"scalar",T:8},{no:7,name:"enable",kind:"scalar",T:8}]),zD=k.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:wu,repeated:!0},{no:7,name:"incorrect_feedbacks",kind:"message",T:wu,repeated:!0}]),HD=k.makeMessageType("streamlayer.sdkSettings.moderation.common.ModerationNotifications",()=>[{no:1,name:"default_image",kind:"scalar",T:9},{no:2,name:"image_mode",kind:"enum",T:k.getEnumType(Gr)}]),GD=k.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:_0,repeated:!0}]),qD=k.makeMessageType("streamlayer.sdkSettings.moderation.common.ModerationSettings",()=>[{no:1,name:"general",kind:"message",T:zD},{no:2,name:"notifications",kind:"message",T:HD},{no:3,name:"sponsorships",kind:"message",T:GD}]),yt=k.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"}]),WD=k.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"}]),QD=k.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"}]),ry=k.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"}]),YD=k.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"}]),tC=k.makeEnum("streamlayer.sdkSettings.GetStreamEnabled",[{no:0,name:"GETSTREAM_ENABLED_UNSET"},{no:1,name:"GETSTREAM_ENABLED_TRUE"},{no:2,name:"GETSTREAM_ENABLED_FALSE"}]),KD=k.makeEnum("streamlayer.sdkSettings.PublicName",[{no:0,name:"PUBLIC_NAME_UNSET",localName:"UNSET"},{no:1,name:"PUBLIC_NAME_ENABLED",localName:"ENABLED"},{no:2,name:"PUBLIC_NAME_DISABLED",localName:"DISABLED"}]),ZD=k.makeEnum("streamlayer.sdkSettings.AnalyticsVersion",[{no:0,name:"ANALYTICS_VERSION_UNSET",localName:"UNSET"},{no:1,name:"ANALYTICS_VERSION_V1",localName:"V1"},{no:2,name:"ANALYTICS_VERSION_V2",localName:"V2"}]),XD=k.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"}]),JD=k.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"}]),eU=k.makeMessageType("streamlayer.sdkSettings.TwitterOverlaySettings",()=>[{no:1,name:"accounts",kind:"scalar",T:9,repeated:!0}]),tU=k.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:k.getEnumType(WD)}]),nU=k.makeMessageType("streamlayer.sdkSettings.CtaImage",()=>[{no:1,name:"url",kind:"scalar",T:9},{no:2,name:"name",kind:"scalar",T:9}]),nC=k.makeMessageType("streamlayer.sdkSettings.BrandDefaults",()=>[{no:1,name:"appearance",kind:"message",T:aU}]),aU=k.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"}),Vb=k.makeMessageType("streamlayer.sdkSettings.BettingOverlaySettings",()=>[{no:1,name:"favorites",kind:"message",T:tU,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:k.getEnumType(QD)},{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:nU}]),rU=k.makeMessageType("streamlayer.sdkSettings.GetStreamSettingsClient",()=>[{no:1,name:"enabled",kind:"enum",T:k.getEnumType(tC)},{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:k.getEnumType(ry)}]),s6=k.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:k.getEnumType(ry)},{no:5,name:"is_default",kind:"enum",T:k.getEnumType(YD)}]),oU=k.makeMessageType("streamlayer.sdkSettings.GetStreamChannels",()=>[{no:1,name:"enabled",kind:"enum",T:k.getEnumType(tC)},{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:k.getEnumType(ry)},{no:5,name:"default_channel",kind:"message",T:s6},{no:6,name:"channels",kind:"message",T:s6,repeated:!0}]),aC=k.makeMessageType("streamlayer.sdkSettings.StreamSettings",()=>[{no:1,name:"overlays",kind:"message",T:oC,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:nC},{no:10,name:"getstream",kind:"message",T:oU}]),sU=k.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:iU,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}]),iU=k.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"}),rC=k.makeMessageType("streamlayer.sdkSettings.OrganizationSettings",()=>[{no:1,name:"overlays",kind:"message",T:oC,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:nC},{no:13,name:"pub",kind:"message",T:sU},{no:14,name:"getstream",kind:"message",T:rU},{no:15,name:"public_name",kind:"enum",T:k.getEnumType(KD)},{no:16,name:"analytics_version",kind:"enum",T:k.getEnumType(ZD)}]),lU=k.makeMessageType("streamlayer.sdkSettings.GamesOverlaySettings",()=>[{no:1,name:"inplay_game",kind:"message",T:$D},{no:2,name:"moderation",kind:"message",T:qD},{no:3,name:"pinned_leaderboard_id",kind:"scalar",T:9},{no:4,name:"leaderboard_kind",kind:"enum",T:k.getEnumType(XD)}]),Bb=k.makeMessageType("streamlayer.sdkSettings.GetStreamOverlaySettings",()=>[{no:1,name:"default_channel",kind:"message",T:s6},{no:2,name:"channels",kind:"message",T:s6,repeated:!0}]),t2=k.makeMessageType("streamlayer.sdkSettings.SdkOverlaySettings",()=>[{no:4,name:"twitter",kind:"message",T:eU,oneof:"overlay_settings"},{no:5,name:"betting",kind:"message",T:Vb,oneof:"overlay_settings"},{no:6,name:"inplay",kind:"message",T:Vb,oneof:"overlay_settings"},{no:7,name:"games",kind:"message",T:lU,oneof:"overlay_settings"},{no:8,name:"getstream",kind:"message",T:Bb,oneof:"overlay_settings"},{no:9,name:"public_chat",kind:"message",T:Bb,oneof:"overlay_settings"}]),uU=k.makeMessageType("streamlayer.sdkSettings.SdkOverlayMeta",()=>[{no:1,name:"organization",kind:"message",T:t2},{no:2,name:"global_preset",kind:"message",T:t2},{no:3,name:"preset",kind:"message",T:t2},{no:4,name:"stream",kind:"message",T:t2}]),oC=k.makeMessageType("streamlayer.sdkSettings.SdkOverlay",()=>[{no:1,name:"type",kind:"enum",T:k.getEnumType(yt)},{no:3,name:"position",kind:"scalar",T:5},{no:4,name:"overwrite",kind:"scalar",T:8},{no:5,name:"settings",kind:"message",T:t2},{no:6,name:"meta",kind:"message",T:uU},{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}]),cU=k.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:k.getEnumType(JD)}]),dU=k.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}]),mU=k.makeMessageType("streamlayer.sdkSettings.AdvertisingSettings",()=>[{no:1,name:"frequency",kind:"scalar",T:5},{no:2,name:"images",kind:"message",T:cU,repeated:!0},{no:3,name:"videos",kind:"message",T:dU,repeated:!0}]),fU=k.makeMessageType("streamlayer.sdkSettings.AdvertisingOverlaySettings",()=>[{no:1,name:"overlay_type",kind:"enum",T:k.getEnumType(yt)},{no:2,name:"settings",kind:"map",K:9,V:{kind:"message",T:mU}},{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}]),pU=k.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:fU}}]),p9=k.makeEnum("streamlayer.analytics.v1.invitations.InvitationCategory",[{no:0,name:"INVITATION_CATEGORY_UNSET",localName:"UNSET"},{no:1,name:"INVITATION_CATEGORY_WATCHING",localName:"WATCHING"},{no:2,name:"INVITATION_CATEGORY_MESSAGING",localName:"MESSAGING"},{no:3,name:"INVITATION_CATEGORY_VOICING",localName:"VOICING"},{no:4,name:"INVITATION_CATEGORY_GAMES",localName:"GAMES"}]),d2=k.makeEnum("streamlayer.analytics.v1.invitations.InvitationFrom",[{no:0,name:"INVITATION_FROM_UNSET",localName:"UNSET"},{no:1,name:"INVITATION_FROM_TITLE_CARD",localName:"TITLE_CARD"},{no:2,name:"INVITATION_FROM_MENU",localName:"MENU"}]);let C5=0,jb=[];function hU(){return C5+=1,()=>{if(C5-=1,C5===0){let n=jb;jb=[];for(let a of n)a()}}}let Ua=[],Cu=(n,a)=>{let o=[],l={get(){return l.lc||l.listen(()=>{})(),l.value},l:a||0,lc:0,listen(c,p){return l.lc=o.push(c,p||l.l)/2,()=>{let f=o.indexOf(c);~f&&(o.splice(f,2),--l.lc||l.off())}},notify(c,p){let f=!Ua.length;for(let y=0;y<o.length;y+=2)Ua.push(o[y],o[y+1],l.value,c,p);if(f){for(let y=0;y<Ua.length;y+=5){let b;for(let C=y+1;!b&&(C+=5)<Ua.length;)Ua[C]<Ua[y+1]&&(b=Ua.push(Ua[y],Ua[y+1],Ua[y+2],Ua[y+3],Ua[y+4]));b||Ua[y](Ua[y+2],Ua[y+3],Ua[y+4])}Ua.length=0}},off(){},set(c){let p=l.value;p!==c&&(l.value=c,l.notify(p))},subscribe(c,p){let f=l.listen(c,p);return c(l.value),f},value:n};return l};const gU=0,yU=1,vU=5,Lh=6,Ah=10;let oy=(n,a,o,l)=>(n.events=n.events||{},n.events[o+Ah]||(n.events[o+Ah]=l(c=>{n.events[o].reduceRight((p,f)=>(f(p),p),{shared:{},...c})})),n.events[o]=n.events[o]||[],n.events[o].push(a),()=>{let c=n.events[o],p=c.indexOf(a);c.splice(p,1),c.length||(delete n.events[o],n.events[o+Ah](),delete n.events[o+Ah])}),TU=(n,a)=>oy(n,a,gU,o=>{let l=n.listen;return n.listen=c=>(!n.lc&&!n.starting&&(n.starting=!0,o(),delete n.starting),l(c)),()=>{n.listen=l}}),bU=(n,a)=>oy(n,a,yU,o=>{let l=n.off;return n.off=()=>{o(),l()},()=>{n.off=l}}),kU=1e3,_6=(n,a)=>oy(n,l=>{let c=a(l);c&&n.events[Lh].push(c)},vU,l=>{let c=n.listen;n.listen=(...f)=>(!n.lc&&!n.active&&(n.active=!0,l()),c(...f));let p=n.off;return n.events[Lh]=[],n.off=()=>{p(),setTimeout(()=>{if(n.active&&!n.lc){n.active=!1;for(let f of n.events[Lh])f();n.events[Lh]=[]}},kU)},()=>{n.listen=c,n.off=p}}),sC=(n,a,o)=>{Array.isArray(n)||(n=[n]);let l,c=0,p=()=>{let C=n.map(_=>_.get());if(l===void 0||C.some((_,N)=>_!==l[N])){let _=++c;l=C;let N=a(...C);N&&N.then&&N.t?N.then(O=>{_===c&&f.set(O)}):f.set(N)}},f=Cu(void 0,Math.max(...n.map(C=>C.l))+1),y,b=o?()=>{clearTimeout(y),y=setTimeout(p)}:p;return _6(f,()=>{let C=n.map(_=>_.listen(b,-1/f.l));return p(),()=>{for(let _ of C)_()}}),f},SU=(n,a)=>sC(n,a),$b=(n,a)=>sC(n,a,!0),h9=(n={})=>{let a=Cu(n);return a.setKey=function(o,l){let c=a.value;typeof l>"u"&&o in a.value?(a.value={...a.value},delete a.value[o],a.notify(c,o)):a.value[o]!==l&&(a.value={...a.value,[o]:l},a.notify(c,o))},a};window.slStore=Object.create(null);var zb;(function(n){n.ORGANIZATION="ORGANIZATION",n.STREAM="STREAM"})(zb||(zb={}));yt.BETTING+"",yt.GAMES+"",yt.PUBLIC_CHAT+"",yt.TWITTER+"";var Zc;(function(n){n.Ready="ready",n.Suspended="suspended"})(Zc||(Zc={}));const I0=new wx,wU=n=>{const a=Ut(n.getActiveFeature()),o=Ut(n.streamStore()),[l,c]=W.useState(null);return W.useEffect(()=>{const p=n.getFeatures();if(!a)c(null);else for(const[f,y]of p)f===a?(y.status.get()===Zc.Suspended&&y.enable(),c(y)):y.status.get()===Zc.Ready&&y.disable();return()=>{for(const[,f]of p)f.status.get()===Zc.Ready&&f.disable()}},[a,n,o]),[a,l]},iC=n=>[a=>(...o)=>(n&&I0.emit(n==null?void 0:n.type,n),a?a(o):null)],CU=n=>{const a=n.target;a instanceof HTMLAnchorElement&&a.target==="_blank"&&a.getAttribute("data-analytics")==="web-link"&&I0.emit("poll",{action:"navigated",payload:{}})},EU=u2((n,a)=>{var o;if(n.target instanceof Document){const l=(o=a.current)==null?void 0:o.getBoundingClientRect(),c=l&&l.top<0&&l.bottom>window.innerHeight;if(l&&!c)return}I0.emit("interactions",{action:"scroll",payload:{}})},5e3),_U=u2((n,a)=>{var o;if(n.target instanceof Document){const l=(o=a.current)==null?void 0:o.getBoundingClientRect(),c=l&&l.top<0&&l.bottom>window.innerHeight;if(l&&!c)return}I0.emit("interactions",{action:"tap",payload:{}})},5e3),E5=(n,a)=>{const o=window.innerWidth<ca.xl;W.useEffect(()=>{const l=o&&a.useDomNode?document:n.current,c=p=>{a.listener(p,n)};return a.enabled&&(l==null||l.addEventListener(a.event,c)),()=>{l==null||l.removeEventListener(a.event,c)}},[o,a.enabled,a.listener])},_5=n=>a=>`
17
+ @media only screen and (${n}) {
18
+ ${a}
19
+ }
20
+ `,IU=(n,a)=>o=>`
21
+ @media only screen and (${n}) and (${a}) {
22
+ ${o}
23
+ }
24
+ `,i6={up:n=>{const a=ca[n];return _5(`min-width: ${a}px`)},down:n=>{const a=ca[n]-1;return _5(`max-width: ${a}px`)},intermediate:(n,a)=>{const o=ca[n]-1,l=ca[a];return IU(`max-width: ${o}px`,`min-width: ${l}px`)},orientation:n=>{const a=GA[n];return _5(`orientation: ${a}`)}};`${qA}${WA}${sa.REGULAR}${sa.REGULAR}${sa.COLOR}${sa.SERIF}${sa.WEIGHT_DEFAULT}${sa.WEIGHT_DEFAULT1}${sa.WEIGHT_DEFAULT2}${sa.WEIGHT_DEFAULT3}${sa.SIZE_DEFAULT}${sa.SIZE_DEFAULT1}${sa.SIZE_DEFAULT2}${sa.LINE_HEIGHT}${sa.MARGIN_TITLE_DEFAULT}${i6.down("xl")`
25
+ --header-offset: 0px;
26
+ `}${i6.intermediate("xl","lg")`
27
+ --header-offset: 0px;
28
+ `}`;const Wh="StreamLayerCSSReset",I5=P("div")({name:"LoadingContainer",class:"l7wseip",propsAsIs:!1}),NU=({feature:n,sdk:a,children:o,className:l,noWait:c})=>{const p=Ut(n.status),f=Ut(a.sdkStore.slStreamId);if(!c){if(f!=null&&f.loading&&!f.data)return w.jsx(I5,{className:l,children:"Event is loading..."});if(!(f!=null&&f.data))return w.jsx(I5,{className:l,children:"Event is forbidden..."});if(p!==Zc.Ready)return w.jsx(I5,{className:l,children:"Wait feature..."})}return o};var RU=Object.defineProperty,OU=(n,a,o)=>a in n?RU(n,a,{enumerable:!0,configurable:!0,writable:!0,value:o}):n[a]=o,LU=(n,a,o)=>OU(n,a+"",o);let AU=class{constructor(){LU(this,"observers",new Set)}subscribe(a){this.observers.add(a)}unsubscribe(a){this.observers.delete(a)}notify(a){this.observers.forEach(o=>o(a))}};const Zf=new AU,xU={hiding:!1,finished:!1},lC=()=>{const[n,a]=W.useState(xU),o=W.useRef(null);W.useEffect(()=>{const p=f=>{a(f)};return Zf.subscribe(p),()=>{Zf.unsubscribe(p)}},[]);const l=W.useCallback(p=>{const f={hiding:!0,finished:!1};o.current&&clearTimeout(o.current),p!=null&&p.delay?o.current=setTimeout(()=>{Zf.notify(f)},p==null?void 0:p.delay):Zf.notify(f)},[]),c=W.useCallback(()=>{n.hiding&&(o.current=null,Zf.notify({hiding:!1,finished:!0}))},[n.hiding]);return{...n,runAnimation:l,onAnimationEnd:c}},g9=globalThis||void 0||self,PU=n=>j.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},j.createElement("path",{d:"M8 4L16 12L8 20",stroke:"#6B6F73",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),MU=n=>j.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},j.createElement("g",{id:"check"},j.createElement("path",{id:"Vector",d:"M4 13L9 18L20 6",stroke:"#107D57",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}))),DU=n=>j.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},j.createElement("path",{d:"M10 6L16 12L10 18",stroke:"white",style:{stroke:"white",strokeOpacity:1},strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"})),UU=n=>j.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},j.createElement("rect",{width:16,height:16,rx:8,fill:"#CD2525"}),j.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"}),j.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"})),FU=n=>j.createElement("svg",{width:12,height:12,viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},j.createElement("g",{id:"Frame 3469478"},j.createElement("path",{id:"Vector 4",d:"M1.62695 1.62598L10.3742 10.3745",stroke:"#6B6F73",strokeWidth:1.5,strokeLinecap:"round"}),j.createElement("path",{id:"Vector 5",d:"M1.62695 10.376L10.3742 1.62746",stroke:"#6B6F73",strokeWidth:1.5,strokeLinecap:"round"}))),VU=n=>j.createElement("svg",{width:64,height:65,viewBox:"0 0 64 65",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},j.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"})),BU=n=>j.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},j.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"})),jU=n=>j.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},j.createElement("g",{id:"Checkmark"},j.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"}))),$U=n=>j.createElement("svg",{width:12,height:20,viewBox:"0 0 12 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},j.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})),zU=n=>j.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},j.createElement("g",{id:"Chevron"},j.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"}))),HU=n=>j.createElement("svg",{width:16,height:17,viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},j.createElement("g",{id:"Chevron"},j.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"}))),GU=n=>j.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},j.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"}),j.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"})),qU=n=>j.createElement("svg",{width:12,height:12,viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},j.createElement("path",{d:"M1.62695 1.62598L10.3742 10.3745",stroke:"#6B6F73",strokeWidth:1.5,strokeLinecap:"round"}),j.createElement("path",{d:"M1.62695 10.376L10.3742 1.62746",stroke:"#6B6F73",strokeWidth:1.5,strokeLinecap:"round"})),WU=n=>j.createElement("svg",{width:10,height:10,viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},j.createElement("g",{id:"Group 465"},j.createElement("rect",{id:"Rectangle 368",x:1.25,width:12.3744,height:1.76777,rx:.883884,transform:"rotate(45 1.25 0)",fill:"white"}),j.createElement("rect",{id:"Rectangle 369",y:8.75,width:12.3744,height:1.76777,rx:.883884,transform:"rotate(-45 0 8.75)",fill:"white"}))),QU=n=>j.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},j.createElement("rect",{y:.00195312,width:24,height:24,rx:12,fill:"#F80022"}),j.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"}),j.createElement("rect",{x:7,y:15.752,width:12.3744,height:1.76777,rx:.883884,transform:"rotate(-45 7 15.752)",fill:"white"})),YU=n=>j.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},j.createElement("g",{id:"Frame"},j.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"}))),KU=n=>j.createElement("svg",{width:25,height:24,viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},j.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"}),j.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"})),ZU=n=>j.createElement("svg",{width:35,height:35,viewBox:"0 0 35 35",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},j.createElement("g",{id:"Features"},j.createElement("path",{id:"Icon",d:"M29.481 9.15331H24.5286V8.57275C24.5286 8.25228 24.282 7.99219 23.9783 7.99219H10.7717C10.468 7.99219 10.2215 8.25228 10.2215 8.57275V9.15331H5.26902C4.96527 9.15331 4.71875 9.4134 4.71875 9.73388V12.5945C4.71875 16.4366 7.68032 19.5612 11.322 19.5612C11.344 19.5612 11.3627 19.5508 11.3837 19.5484C12.3752 21.1508 13.9204 22.3491 15.7088 22.8205C15.6395 24.2719 15.2884 24.8688 14.2297 26.0183L13.9303 26.3411C12.416 27.9806 11.322 27.9511 11.322 29.2725C11.322 29.5929 11.5685 29.853 11.8723 29.853H22.8777C23.1815 29.853 23.428 29.5929 23.428 29.2725C23.428 27.9511 22.3341 27.9806 20.8197 26.3411L20.5215 26.0172C19.4628 24.8677 19.1117 24.2707 19.0423 22.8193C20.8307 22.3491 22.3759 21.1496 23.3675 19.5473C23.3873 19.5508 23.406 19.5612 23.428 19.5612C27.0697 19.5612 30.0313 16.4366 30.0313 12.5945V9.73388C30.0313 9.4134 29.7848 9.15331 29.481 9.15331ZM5.81929 12.5945V10.3144H10.2215V15.4973C10.2215 16.497 10.4196 17.4584 10.7717 18.342C7.99947 18.0459 5.81929 15.5971 5.81929 12.5945ZM28.9307 12.5945C28.9307 15.5971 26.7506 18.0459 23.9783 18.342C24.3305 17.4596 24.5286 16.4982 24.5286 15.4973V10.3144H28.9307V12.5945Z",fill:"white"}))),XU=n=>j.createElement("svg",{width:40,height:40,viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},j.createElement("g",{id:"CarbonUserAvatar 1"},j.createElement("g",{id:"Group 232"},j.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"}),j.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"})))),JU=n=>j.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},j.createElement("rect",{width:24,height:24,rx:12,fill:"white",fillOpacity:.1}),j.createElement("rect",{x:8.25,y:7,width:12.3744,height:1.76777,rx:.883884,transform:"rotate(45 8.25 7)",fill:"white"}),j.createElement("rect",{x:7,y:15.75,width:12.3744,height:1.76777,rx:.883884,transform:"rotate(-45 7 15.75)",fill:"white"})),eF=n=>j.createElement("svg",{width:17,height:17,viewBox:"0 0 17 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},j.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"})),tF=n=>j.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},j.createElement("rect",{width:32,height:32,rx:16,fill:"white"}),j.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"}),j.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"})),nF=n=>j.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},j.createElement("g",{id:"Share"},j.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"}))),aF=n=>j.createElement("svg",{width:17,height:16,viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"sc-ANdsN kTVWJE",...n},j.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"}),j.createElement("path",{d:"M13.3335 6.16669V3.16669H10.3335",stroke:"#ffffff",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),j.createElement("path",{d:"M13.1668 3.33331L8.3335 8.16665",stroke:"#ffffff",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),rF=n=>j.createElement("svg",{width:17,height:18,viewBox:"0 0 17 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},j.createElement("g",{id:"Group"},j.createElement("path",{id:"Vector",d:"M12.5396 12.431L15.8603 9.00169L12.5396 5.57239",stroke:"#EB5757",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),j.createElement("path",{id:"Vector_2",d:"M15.8602 9.00159H5.57227",stroke:"#EB5757",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),j.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"}))),oF=n=>j.createElement("svg",{width:99,height:96,viewBox:"0 0 99 96",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},j.createElement("g",{id:"Masters Logo Big"},j.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"}),j.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"}))),sF=n=>j.createElement("svg",{width:48,height:48,viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},j.createElement("circle",{opacity:.5,cx:24,cy:24,r:24,fill:"black",style:{fill:"black",fillOpacity:1}}),j.createElement("rect",{x:18,y:13.999,width:4,height:20,rx:1,fill:"white",style:{fill:"white",fillOpacity:1}}),j.createElement("rect",{x:26,y:13.999,width:4,height:20,rx:1,fill:"white",style:{fill:"white",fillOpacity:1}})),iF=n=>j.createElement("svg",{width:48,height:48,viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},j.createElement("circle",{opacity:.5,cx:24,cy:24.001,r:24,fill:"black"}),j.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"})),lF=n=>j.createElement("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},j.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"})),uF=n=>j.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:22,height:22,viewBox:"0 0 22 22",fill:"none",...n},j.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"})),cF=n=>j.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},j.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"}),j.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"})),dF=n=>j.createElement("svg",{width:12,height:12,viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},j.createElement("g",{id:"Trophy"},j.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"}))),mF=n=>j.createElement("svg",{width:40,height:39,viewBox:"0 0 40 39",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},j.createElement("rect",{x:.796875,width:38.4,height:38.4,rx:19.2,fill:"#FFB600"}),j.createElement("path",{d:"M31.2752 10.8509H26.5795V10.3005C26.5795 9.99661 26.3458 9.75 26.0578 9.75H13.536C13.248 9.75 13.0143 9.99661 13.0143 10.3005V10.8509H8.31861C8.03061 10.8509 7.79688 11.0975 7.79688 11.4014V14.1136C7.79688 17.7566 10.6049 20.7192 14.0578 20.7192C14.0786 20.7192 14.0964 20.7092 14.1162 20.707C15.0564 22.2263 16.5214 23.3625 18.2171 23.8094C18.1513 25.1856 17.8185 25.7516 16.8146 26.8415L16.5308 27.1475C15.095 28.702 14.0578 28.674 14.0578 29.9268C14.0578 30.2307 14.2915 30.4773 14.5795 30.4773H25.0143C25.3023 30.4773 25.536 30.2307 25.536 29.9268C25.536 28.674 24.4988 28.702 23.063 27.1475L22.7802 26.8404C21.7764 25.7505 21.4435 25.1845 21.3778 23.8083C23.0734 23.3625 24.5385 22.2252 25.4786 20.7059C25.4974 20.7092 25.5152 20.7192 25.536 20.7192C28.9889 20.7192 31.7969 17.7566 31.7969 14.1136V11.4014C31.7969 11.0975 31.5632 10.8509 31.2752 10.8509ZM8.84035 14.1136V11.9518H13.0143V16.8659C13.0143 17.8138 13.2021 18.7254 13.536 19.5632C10.9075 19.2825 8.84035 16.9606 8.84035 14.1136ZM30.7534 14.1136C30.7534 16.9606 28.6863 19.2825 26.0578 19.5632C26.3917 18.7265 26.5795 17.8149 26.5795 16.8659V11.9518H30.7534V14.1136Z",fill:"white"})),fF=n=>j.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},j.createElement("g",{id:"Trophy"},j.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"}))),pF=n=>j.createElement("svg",{width:14,height:14,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},j.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"})),hF=n=>j.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},j.createElement("g",{id:"Chevron Up"},j.createElement("path",{id:"Vector",d:"M4 9.6001L8 5.6001L12 9.6001",stroke:"#107D57",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"}))),gF=n=>j.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},j.createElement("g",{id:"cross"},j.createElement("path",{id:"Vector",d:"M6 18L18 6M6 6L18 18",stroke:"#BA0C2F",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}))),yF=n=>j.createElement("svg",{width:25,height:24,viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},j.createElement("g",{id:"Friends"},j.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"}),j.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}))),vF=n=>j.createElement("svg",{width:86,height:21,viewBox:"0 0 86 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},j.createElement("path",{d:"M39.7699 17.519L41.7975 10.3564C42.019 9.57525 42.5964 8.94819 43.3515 8.66775L43.4069 8.43457H40.5888L35.8028 14.1928L33.9712 8.43457H31.393L31.3309 8.66775C31.7723 8.88885 32.0156 9.54952 32.0156 10.087V10.1204C32.0156 13.1879 29.7696 18.4607 26.6104 18.4607C25.3827 18.4607 24.7463 17.5842 24.7463 16.8536C24.7463 15.9687 25.4791 15.3393 26.2522 15.3393C26.6778 15.3393 26.8988 15.4303 27.0895 15.5088C27.2342 15.5684 27.3615 15.6208 27.5475 15.6208C27.8106 15.6208 28.0628 15.4845 28.1888 15.2511C28.3867 14.8845 28.2367 14.4368 27.8748 14.2614L27.6773 14.1661C25.8352 13.2706 23.6992 14.6266 23.6992 16.6919V16.7205C23.6992 18.2238 24.8674 19.4811 26.3546 19.5336C30.1873 19.6694 32.751 14.4452 33.1588 10.6214L33.4534 11.656L34.9632 16.2284H35.5351L40.2511 10.5434L38.2726 17.5264C38.0457 18.3275 37.4171 18.948 36.6191 19.1592L36.5637 19.3923H40.3559L40.4177 19.1592C39.8575 18.8252 39.5911 18.1508 39.7699 17.519Z",fill:"#006747",style:{fill:"#006747",fill:"color(display-p3 0.0000 0.4039 0.2784)",fillOpacity:1}}),j.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.2539 12.3311C47.4839 12.3332 45.5808 12.5062 44.568 15.4136C44.443 15.7724 44.3314 16.1004 44.2299 16.3988C43.6403 18.1314 43.3898 18.8676 42.8227 18.8676C42.6317 18.8676 42.5473 18.6987 42.4545 18.5128C42.3409 18.2851 42.2145 18.0318 41.8638 18.0318C41.5768 18.0318 41.2768 18.2645 41.2552 18.6014C41.2175 19.1835 41.9922 19.5357 42.576 19.5357C44.3546 19.5357 45.0362 18.2246 45.2587 17.6138C45.2876 17.534 45.4446 17.1017 45.6299 16.5923H47.499L47.1824 17.7708C47.0152 18.3926 46.6713 18.9015 46.0895 19.1617L46.0394 19.3947H49.0969L49.1536 19.1617C48.7397 18.8167 48.5601 18.2634 48.6943 17.7482L49.8448 13.3292C49.9332 12.9901 50.1656 12.7105 50.4806 12.5642L50.5306 12.3311H49.2539ZM47.6519 16.0223H45.8369C46.043 15.4562 46.2403 14.9158 46.3069 14.7388C46.766 13.5136 47.6389 13.0178 48.4845 12.9485L48.4757 12.9558L47.6519 16.0223Z",fill:"#006747",style:{fill:"#006747",fill:"color(display-p3 0.0000 0.4039 0.2784)",fillOpacity:1}}),j.createElement("path",{d:"M64.9086 12.2791C64.9086 12.4194 64.8148 12.6704 64.7165 12.8348C64.487 13.2187 64.077 13.5109 63.6767 13.6265L63.4976 13.678C63 13.8213 62.489 13.794 61.9847 13.6879L60.8352 17.7483C60.6891 18.2633 60.8565 18.8168 61.2623 19.1616L61.2001 19.395H58.0542L58.1098 19.1616C58.6973 18.9016 59.1413 18.3925 59.3228 17.7712L60.6376 13.2639C59.4267 12.8561 59.1564 12.8823 58.8962 13.2526C58.7642 13.4721 58.7796 13.7795 58.7931 14.0483C58.7962 14.1086 58.7991 14.1673 58.8003 14.2223C58.8062 14.5193 58.6037 14.7795 58.316 14.842C57.9611 14.9189 57.6305 14.6359 57.6492 14.2698V14.2688C57.6508 14.2386 57.6651 14.1553 57.6846 14.0529C57.8161 13.356 58.2541 12.7534 58.8816 12.4351L58.892 12.4299L58.8972 12.4272C59.5396 12.1051 60.5191 12.3038 61.3075 12.5205C61.3166 12.5234 61.3246 12.5252 61.3335 12.5276C61.5009 12.574 61.6597 12.6208 61.8043 12.6636V12.6662C63.3842 13.1244 63.7271 13.1473 63.9416 12.8802C64.0349 12.7644 64.0788 12.527 64.0755 12.3059C64.0716 12.0932 64.2202 11.9086 64.4259 11.8637C64.6827 11.8078 64.9221 12.0139 64.9086 12.2791Z",fill:"#006747",style:{fill:"#006747",fill:"color(display-p3 0.0000 0.4039 0.2784)",fillOpacity:1}}),j.createElement("path",{d:"M65.9742 12.3311L65.9123 12.5645C66.302 12.8363 66.4774 13.327 66.3516 13.7863L65.1826 17.7661C65.0012 18.3879 64.5572 18.8968 63.9697 19.1568L63.9141 19.3899H69.5602L70.0661 17.524H69.8285L69.7432 17.7028C69.4261 18.3695 68.758 18.7939 68.0255 18.7939H66.4015L67.2661 15.6704L67.956 15.6696C68.4214 15.6693 68.7712 16.0981 68.6821 16.5592H68.9197L69.4872 14.448H69.2496C69.112 14.8385 68.7468 15.0995 68.3361 15.0998L67.4239 15.1008L68.0239 12.9329L69.745 12.9316C70.3068 12.9311 70.7274 13.4515 70.6151 14.0077H70.8527L71.3034 12.3311H65.9742Z",fill:"#006747",style:{fill:"#006747",fill:"color(display-p3 0.0000 0.4039 0.2784)",fillOpacity:1}}),j.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M72.9481 12.334H76.7502C77.7432 12.334 78.4622 13.2914 78.195 14.2577C77.9634 15.0938 77.2093 15.6717 76.3501 15.6723L75.871 15.6725C76.1731 15.6725 76.4653 15.8923 76.5235 16.1297C76.6323 16.575 76.8508 17.403 76.9765 17.8796L76.9891 17.9274C77.1191 18.4223 77.4099 18.7968 77.8116 19.0376L78.0151 19.1594L77.9597 19.3929H76.5378C75.969 19.3929 75.7192 19.0153 75.5289 18.3677C75.3836 17.8722 75.2017 16.4314 75.1884 16.3138C75.1484 15.9493 74.8437 15.6736 74.4808 15.6733H74.2406L73.6643 17.7456C73.5187 18.2606 73.6859 18.8141 74.0917 19.1589L74.0295 19.3926H70.8867L70.9421 19.1589C71.5298 18.8989 71.9736 18.39 72.155 17.7682L73.3456 13.7013C73.4277 13.2683 73.251 12.8216 72.886 12.5672L72.9481 12.334ZM75.395 15.1028C76.0496 15.1028 76.6259 14.6685 76.8136 14.0354C76.9763 13.4866 76.5692 12.9344 76.0015 12.9346L75.0017 12.9352L74.3984 15.1036L75.395 15.1028Z",fill:"#006747",style:{fill:"#006747",fill:"color(display-p3 0.0000 0.4039 0.2784)",fillOpacity:1}}),j.createElement("path",{d:"M55.8673 12.6932C55.7651 12.6932 55.5452 12.6228 55.2078 12.481C54.8701 12.3392 54.529 12.2686 54.1851 12.2686C53.4713 12.2686 52.8755 12.502 52.3883 13.0009C51.9828 13.4161 51.8027 13.8769 51.8027 14.2758C51.8027 14.7004 52.0486 15.1996 52.5412 15.6032C52.9175 15.9119 53.3062 16.2101 53.6975 16.5103C53.7898 16.5812 53.8823 16.6521 53.9748 16.7233C54.4843 17.1353 54.7393 17.5153 54.7393 17.8244C54.7393 18.5029 54.3023 18.8679 53.3977 18.8679C52.4785 18.8679 51.8429 18.1875 51.6391 16.9132H51.3906L50.668 19.3933H50.897C51.1957 19.182 51.4081 19.0459 51.8411 19.0459C52.0058 19.0459 52.1751 19.1238 52.3786 19.2175C52.6859 19.3588 53.0713 19.5362 53.6377 19.5362C54.3894 19.5362 54.9845 19.3786 55.4942 18.8634C55.9276 18.4134 56.1441 17.7832 56.1441 17.268C56.1441 16.7916 55.8485 16.2362 55.332 15.8361C55.0681 15.6317 54.793 15.4404 54.5168 15.2482C54.3292 15.1177 54.1411 14.9869 53.9556 14.8514C53.4585 14.478 53.21 14.161 53.21 13.8134C53.21 13.6198 53.3057 13.4271 53.497 13.2341C53.7388 12.9896 54.0627 12.9355 54.496 12.9355C55.3655 12.9355 55.9741 13.425 56.0253 14.4546H56.2546L56.861 12.2686H56.6318C56.3895 12.5519 56.1347 12.6932 55.8673 12.6932Z",fill:"#006747",style:{fill:"#006747",fill:"color(display-p3 0.0000 0.4039 0.2784)",fillOpacity:1}}),j.createElement("path",{d:"M84.2951 14.4543C84.2441 13.4247 83.6353 12.9353 82.7658 12.9353C82.3325 12.9353 82.0086 12.9894 81.7665 13.2338C81.5755 13.4268 81.4798 13.6201 81.4798 13.8128C81.4798 14.1605 81.7283 14.478 82.2256 14.8511C82.4108 14.9864 82.5985 15.117 82.7858 15.2473C83.0623 15.4397 83.3377 15.6313 83.6021 15.8361C84.1183 16.2363 84.4139 16.7916 84.4139 17.268C84.4139 17.7829 84.1974 18.4128 83.764 18.8634C83.2542 19.3781 82.6592 19.5362 81.9074 19.5362C81.341 19.5362 80.9556 19.3588 80.6483 19.2175C80.4448 19.1238 80.2755 19.0459 80.1107 19.0459C79.6778 19.0459 79.4655 19.182 79.167 19.3933H78.9375L79.6602 16.9132H79.9087C80.1127 18.1873 80.7483 18.8676 81.6675 18.8676C82.5721 18.8676 83.0091 18.5026 83.0091 17.8241C83.0091 17.5153 82.7538 17.1354 82.2446 16.7231C82.15 16.6502 82.0554 16.5777 81.961 16.5052C81.5718 16.2067 81.1852 15.9102 80.811 15.6032C80.3184 15.199 80.0724 14.7006 80.0724 14.2755C80.0724 13.8769 80.2526 13.4158 80.6581 13.0006C81.1453 12.502 81.7411 12.2686 82.4546 12.2686C82.7988 12.2686 83.1396 12.3392 83.4773 12.4807C83.815 12.6223 84.0349 12.6929 84.1368 12.6929C84.4048 12.6929 84.6593 12.5514 84.9013 12.2686H85.1308L84.5246 14.4543H84.2951Z",fill:"#006747",style:{fill:"#006747",fill:"color(display-p3 0.0000 0.4039 0.2784)",fillOpacity:1}}),j.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21.4366 7.2801C21.4366 7.10548 21.2957 6.96289 21.1226 6.96289H20.88C20.6903 6.96289 20.5153 7.059 20.4126 7.21996L19.6278 8.4452C19.4953 8.65133 19.2714 8.77422 19.0281 8.77422H18.4981C18.3442 8.77422 18.203 8.8593 18.1295 8.99611C17.9478 9.33563 17.6228 9.56329 17.2542 9.62264V13.8311C17.848 13.896 18.3023 14.2547 18.3023 14.6885C18.3023 15.1685 17.7471 15.5576 17.0616 15.5576C16.3766 15.5576 15.8209 15.1685 15.8209 14.6885C15.8209 14.2547 16.2755 13.896 16.8687 13.8311V9.62264C16.5001 9.56277 16.1754 9.33511 15.9942 8.99637C15.9209 8.85956 15.78 8.77474 15.6261 8.77474H15.2708C15.1052 8.77474 14.9552 8.87295 14.8876 9.02578L14.5923 9.69643C14.4982 9.90965 14.2877 10.0478 14.0563 10.0478C13.8249 10.0478 13.6144 9.90965 13.5208 9.69564L13.225 9.02604C13.1579 8.87348 13.0074 8.77474 12.8423 8.77474H2.93715C2.87113 9.04127 2.63171 9.23926 2.34784 9.23926H2.06112V9.59927C2.06112 10.1174 1.96104 10.622 1.76425 11.0994L1.49962 11.7425C0.628527 13.8561 1.48429 16.2538 3.48955 17.3207L4.81218 18.0241L5.96298 18.0325C6.28922 18.0349 6.61208 18.1213 6.89673 18.282L7.49982 18.6223H8.31372C8.66648 18.6223 9.01273 18.7195 9.31506 18.9027L9.67301 19.121C10.0208 19.3318 10.4136 19.4542 10.8178 19.4781V19.1055C10.8178 18.3833 11.2405 17.7292 11.8948 17.4393L12.919 16.9845C13.1597 16.8777 13.4309 16.8609 13.6833 16.9368L14.1694 17.0833C14.3222 17.1295 14.4829 17.1295 14.6347 17.0841L15.7876 16.7388C16.0007 16.6747 16.2251 16.6768 16.4364 16.7437L16.8198 16.8656C17.3486 17.0334 17.7037 17.5223 17.7037 18.0827V19.0566C17.7037 19.2922 17.8934 19.4841 18.1271 19.4841C18.3143 19.4841 18.4815 19.357 18.5337 19.1756C18.6977 18.6039 18.7726 18.0126 18.7554 17.4175L18.7539 17.3144C18.7411 16.8656 18.9187 16.431 19.24 16.1214L19.7191 15.6614C19.9853 15.4048 20.1381 15.0451 20.1381 14.6732V12.3819C20.1381 11.8575 20.2946 11.3526 20.5907 10.9214L20.8179 10.5897V10.1342C20.8179 9.61266 20.9726 9.11033 21.265 8.68126L21.63 8.14506C21.507 8.01534 21.4366 7.84203 21.4366 7.65848V7.2801Z",fill:"#FCE300",style:{fill:"#FCE300",fill:"color(display-p3 0.9882 0.8902 0.0000)",fillOpacity:1}}),j.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.16479 19.1581C8.95111 19.0284 8.71091 18.953 8.46344 18.9305V19.8514C8.7642 19.8745 9.05691 19.9643 9.3166 20.1218C9.31738 20.1221 9.73122 20.3763 9.87082 20.4587C10.064 20.573 10.2987 20.6817 10.7094 20.7029C10.7383 20.7042 10.7648 20.694 10.7856 20.6743C10.8072 20.6533 10.8191 20.6255 10.8191 20.5953V19.7736C10.3619 19.7492 9.91605 19.6148 9.523 19.3758L9.16479 19.1581Z",fill:"white",style:{fill:"white",fillOpacity:1}}),j.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.7527 18.5415C6.51744 18.4083 6.25099 18.3369 5.98116 18.3314V19.2523C6.30116 19.2578 6.61752 19.3429 6.89645 19.5002L7.40934 19.7898V18.9065C7.40284 18.9036 7.39582 18.9044 7.38932 18.9009L6.7527 18.5415Z",fill:"white",style:{fill:"white",fillOpacity:1}}),j.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.5993 17.2219C13.5226 17.1988 13.4436 17.1904 13.3651 17.1904V18.1123C13.4722 18.1123 13.5796 18.1239 13.6838 18.1551L14.1699 18.3022C14.2323 18.3205 14.2962 18.33 14.3602 18.3334V17.4125C14.2676 17.4086 14.1754 17.3954 14.0854 17.3687L13.5993 17.2219Z",fill:"white",style:{fill:"white",fillOpacity:1}}),j.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.731 17.1493L16.3481 17.0275C16.2623 17.0002 16.1729 16.9891 16.0843 16.9915V17.9121C16.1987 17.9098 16.313 17.9245 16.424 17.9589L16.8896 18.0912C17.1282 18.1598 17.3151 18.3362 17.409 18.5576V18.0823C17.409 17.6532 17.1366 17.2782 16.731 17.1493Z",fill:"white",style:{fill:"white",fillOpacity:1}}),j.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.1277 19.7819C18.1092 19.7819 18.0923 19.7777 18.0739 19.7764V20.6957C18.0978 20.6983 18.1209 20.7028 18.1454 20.7028C18.4139 20.7028 18.6491 20.5292 18.7305 20.2708C18.7388 20.2448 18.7443 20.2175 18.7521 20.1915V19.409C18.627 19.6338 18.3902 19.7819 18.1277 19.7819Z",fill:"white",style:{fill:"white",fillOpacity:1}}),j.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.6875 16.096V16.8948C2.04935 17.5315 2.57913 18.0549 3.23993 18.4062L3.48402 18.5359V17.6534L3.35275 17.5838C2.66232 17.2167 2.10186 16.7005 1.6875 16.096Z",fill:"white",style:{fill:"white",fillOpacity:1}}),j.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.06076 17.9608V18.8434L4.70907 19.1879V18.3048C4.70829 18.3048 4.70725 18.3048 4.70647 18.3043L4.06076 17.9608Z",fill:"white",style:{fill:"white",fillOpacity:1}}),j.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.8159 14.8958C17.8159 14.6949 17.577 14.5274 17.2541 14.4785V15.313C17.577 15.2637 17.8159 15.0966 17.8159 14.8958Z",fill:"white",style:{fill:"white",fillOpacity:1}}),j.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.3086 14.8958C16.3086 15.0966 16.5475 15.2637 16.8704 15.313V14.4785C16.5475 14.5274 16.3086 14.6949 16.3086 14.8958Z",fill:"white",style:{fill:"white",fillOpacity:1}}),j.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.2923 1.62988C15.0123 1.54322 14.7326 1.69736 14.4526 1.85623C14.3536 1.91268 14.2831 2.00879 14.259 2.12092L13.8189 4.19615C13.8025 4.27282 13.8708 4.34214 13.9468 4.32481C14.4095 4.2182 14.8496 3.80962 15.3123 3.95246C15.8309 4.11317 16.3492 3.44987 16.8678 3.45775V1.06348C16.3464 1.06584 15.8111 1.79006 15.2923 1.62988",fill:"#BA0C2F",style:{fill:"#BA0C2F",fill:"color(display-p3 0.7294 0.0471 0.1843)",fillOpacity:1}}),j.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21.2656 8.68074C20.9732 9.11033 20.8185 9.6124 20.8185 10.1336V10.5895L20.5913 10.9211C20.2949 11.352 20.1384 11.857 20.1384 12.3816V14.6727C20.1384 15.0445 19.9859 15.4046 19.7197 15.6608L19.2406 16.1214C18.919 16.4305 18.742 16.8651 18.7545 17.3141L18.7563 17.417C18.7732 18.012 18.6983 18.6037 18.5343 19.1756C18.482 19.3568 18.3149 19.4836 18.1277 19.4836C17.894 19.4836 17.7043 19.2916 17.7043 19.0561V18.0822C17.7043 17.5221 17.3492 17.0334 16.8204 16.8651L16.437 16.7435C16.2257 16.6763 16.0013 16.6747 15.7882 16.7382L14.6353 17.0835C14.4835 17.129 14.3226 17.129 14.17 17.0833L13.6839 16.9365C13.4317 16.8603 13.1603 16.8771 12.9196 16.9843L11.8954 17.4388C11.2411 17.729 10.8184 18.3828 10.8184 19.1049V19.4778C10.4142 19.4542 10.0214 19.3315 9.67385 19.1204L9.31564 18.9027C9.01332 18.7192 8.66706 18.622 8.31431 18.622H7.5004L6.89731 18.2817C6.61241 18.1208 6.28981 18.0344 5.96357 18.032L4.81276 18.0239L3.49013 17.3204C1.48461 16.2538 0.62911 13.8558 1.50021 11.7422L1.76484 11.0994C1.96162 10.6218 2.0617 10.1168 2.0617 9.59901V9.239H2.34843C2.63229 9.239 2.87171 9.04075 2.93774 8.77422H12.8429C13.008 8.77422 13.1585 8.87295 13.2256 9.02578L13.5211 9.69564C13.615 9.90912 13.8255 10.0475 14.0569 10.0475C14.2882 10.0475 14.4988 9.90939 14.5929 9.6959L14.8885 9.02525C14.9558 8.87269 15.1058 8.77422 15.2714 8.77422H15.6267C15.7806 8.77422 15.9215 8.85956 15.9948 8.99611C16.176 9.33484 16.5007 9.56251 16.8693 9.62238V13.8309C16.2761 13.896 15.8214 14.2544 15.8214 14.6882C15.8214 15.1685 16.3772 15.5574 17.0622 15.5574C17.7477 15.5574 18.3029 15.1685 18.3029 14.6882C18.3029 14.2544 17.8485 13.896 17.2548 13.8309V9.62264C17.6234 9.56277 17.9484 9.33511 18.1301 8.99611C18.2036 8.8593 18.3445 8.77396 18.4987 8.77396H19.029C19.272 8.77396 19.4958 8.65107 19.6282 8.44494L20.4132 7.21944C20.5159 7.05847 20.6908 6.96263 20.8806 6.96263H21.1234C21.2963 6.96263 21.4372 7.10495 21.4372 7.27957V7.65796C21.4372 7.84151 21.5076 8.01508 21.6306 8.14454L21.2656 8.68074ZM18.7515 20.1908C18.7437 20.2171 18.7382 20.2441 18.7299 20.2704C18.6486 20.5291 18.4133 20.7026 18.1448 20.7026C18.1203 20.7026 18.0972 20.6979 18.0733 20.6953V19.7757C18.0912 19.7775 18.1086 19.7812 18.1271 19.7812C18.3891 19.7812 18.6265 19.6331 18.7515 19.4086V20.1908ZM17.4081 18.5572C17.3143 18.3358 17.1279 18.1591 16.8893 18.0908L16.4235 17.9585C16.3125 17.9241 16.1981 17.9094 16.0837 17.9117V16.9911C16.1726 16.9887 16.2615 16.9998 16.3473 17.0273L16.7305 17.1489C17.136 17.2778 17.4081 17.6528 17.4081 18.0819V18.5572ZM14.3601 18.3327C14.2957 18.3296 14.2317 18.3204 14.1693 18.3015L13.6832 18.155C13.5795 18.1232 13.4719 18.1119 13.3645 18.1119V17.19C13.4435 17.19 13.5226 17.1986 13.5987 17.2212L14.0848 17.3683C14.1748 17.3953 14.2673 17.4084 14.3601 17.4121V18.3327ZM10.8185 20.5951C10.8185 20.6251 10.8061 20.6529 10.7847 20.6739C10.764 20.6939 10.7374 20.7038 10.7086 20.7028C10.2979 20.6815 10.0631 20.5726 9.86998 20.4583C9.73039 20.3756 9.31628 20.122 9.31576 20.1217C9.05607 19.9636 8.76311 19.8743 8.46286 19.851V18.9301C8.71008 18.9526 8.95001 19.028 9.16395 19.1577L9.5219 19.3754C9.91521 19.6144 10.3608 19.7488 10.8185 19.7732V20.5951ZM7.40902 19.7897L6.89588 19.4998C6.61669 19.3422 6.30059 19.2574 5.98059 19.2519V18.331C6.25016 18.3362 6.51661 18.4082 6.75238 18.5411L7.38901 18.9008C7.39498 18.9042 7.40252 18.9034 7.40902 18.9058V19.7897ZM4.70824 19.1875L4.06018 18.8427V17.9604L4.7059 18.3039C4.70668 18.3042 4.70772 18.3039 4.70824 18.3042V19.1875ZM3.48345 18.5355L3.23935 18.4058C2.57856 18.0545 2.04904 17.5309 1.68693 16.8944V16.0956C2.10129 16.7001 2.66174 17.2163 3.35191 17.5831L3.48345 17.653V18.5355ZM17.2536 14.4781C17.5762 14.527 17.8153 14.6945 17.8153 14.8954C17.8153 15.0962 17.5762 15.2638 17.2536 15.3129V14.4781ZM16.8698 15.3129C16.5474 15.2638 16.308 15.0962 16.308 14.8954C16.308 14.6945 16.5474 14.527 16.8698 14.4781V15.3129ZM21.9089 7.99494C21.7979 7.91906 21.7314 7.79328 21.7314 7.65778V7.27939C21.7314 6.94065 21.4582 6.66494 21.1229 6.66494H20.8801C20.59 6.66494 20.3227 6.81172 20.1649 7.05777L19.3804 8.28274C19.3027 8.40405 19.1709 8.47627 19.0284 8.47627H18.4981C18.2361 8.47627 17.9954 8.62095 17.8698 8.8557C17.7401 9.09702 17.5137 9.26271 17.2543 9.31891V0.800046C17.2543 0.692385 17.1682 0.605469 17.0616 0.605469C16.9553 0.605469 16.8688 0.692385 16.8688 0.800046V9.31891C16.6093 9.26245 16.3832 9.09676 16.2537 8.85465C16.1292 8.62148 15.8887 8.47627 15.6262 8.47627H15.2708C14.9893 8.47627 14.733 8.64432 14.6189 8.90402L14.323 9.57467C14.2763 9.68049 14.1715 9.74929 14.0563 9.74929C13.9409 9.74929 13.8364 9.68049 13.7899 9.57441L13.4943 8.90455C13.3799 8.64432 13.1239 8.47627 12.8424 8.47627H2.80773C2.72611 8.47627 2.66034 8.54296 2.66034 8.62515C2.66034 8.79951 2.51996 8.94078 2.34788 8.94078H1.91376C1.83239 8.94078 1.76637 9.00748 1.76637 9.08967V9.59883C1.76637 10.077 1.67434 10.5434 1.49186 10.9848L1.22775 11.6273C0.981833 12.2234 0.866155 12.8405 0.867194 13.4463V14.9262C0.867194 15.3261 0.924384 15.7287 1.03954 16.1247C1.36162 17.2291 2.0939 18.1329 3.10251 18.6694L4.70667 19.5223C4.72747 19.5336 4.75113 19.5396 4.77452 19.5399L5.96094 19.5488C6.23779 19.5506 6.51178 19.6239 6.75327 19.7599L7.38989 20.1194C7.41199 20.1317 7.43642 20.1383 7.46164 20.1383H8.31376C8.61296 20.1383 8.90697 20.2208 9.16276 20.3762C9.16276 20.3762 9.57998 20.6314 9.72009 20.7149C9.94521 20.8481 10.2189 20.9749 10.6926 20.9996C10.8002 21.0046 10.9065 20.9662 10.9871 20.8896C11.0666 20.8129 11.1127 20.7058 11.1127 20.5949V20.0178C11.1127 19.5997 11.357 19.2208 11.7365 19.0525L13.0376 18.4751C13.2146 18.3971 13.4137 18.384 13.5988 18.4401L14.0849 18.5869C14.2921 18.6489 14.5113 18.6494 14.719 18.5877L15.8716 18.2419C16.0242 18.1962 16.1864 18.1965 16.3416 18.244L16.81 18.3774C17.0278 18.4396 17.1804 18.6434 17.1804 18.8724V20.0259C17.1804 20.5634 17.613 21.0004 18.1449 21.0004C18.5426 21.0004 18.8904 20.7428 19.0105 20.3605C19.2281 19.6698 19.338 18.9517 19.338 18.2264V17.7359C19.338 17.3874 19.4818 17.0503 19.7326 16.8111L20.212 16.3534C20.5351 16.0425 20.7207 15.6058 20.7207 15.1549V12.4203C20.7207 11.9965 20.847 11.5879 21.0862 11.2392C21.1034 11.2145 21.113 11.1849 21.113 11.1547V10.51C21.113 10.0891 21.2375 9.68338 21.4738 9.33624L21.9479 8.6396C21.9651 8.61517 21.9742 8.58576 21.9742 8.5553V8.11836C21.9742 8.03538 21.9266 8.00676 21.9089 7.99494Z",fill:"#006747",style:{fill:"#006747",fill:"color(display-p3 0.0000 0.4039 0.2784)",fillOpacity:1}})),TF=n=>j.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},j.createElement("g",{id:"Group 483737"},j.createElement("g",{id:"Icon / Live"},j.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"}),j.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"})))),bF=n=>j.createElement("svg",{width:14,height:17,viewBox:"0 0 14 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},j.createElement("g",{id:"Icon / Games"},j.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}),j.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"}))),kF=n=>j.createElement("svg",{width:19,height:14,viewBox:"0 0 19 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},j.createElement("g",{id:"Icon / LeaderBoard"},j.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"}))),SF=n=>j.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},j.createElement("g",{clipPath:"url(#clip0_1664_3009)"},j.createElement("path",{d:"M21 19V5C21 3.9 20.1 3 19 3H5C3.9 3 3 3.9 3 5V19C3 20.1 3.9 21 5 21H19C20.1 21 21 20.1 21 19ZM8.5 13.5L11 16.51L14.5 12L19 18H5L8.5 13.5Z",fill:"#B6B9C6"})),j.createElement("defs",null,j.createElement("clipPath",{id:"clip0_1664_3009"},j.createElement("rect",{width:24,height:24,fill:"white"})))),wF=n=>j.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},j.createElement("g",{id:"check"},j.createElement("path",{id:"Vector",d:"M3.59985 10.8L7.59985 14.8L16.3999 5.20001",stroke:"white",strokeWidth:1.2,strokeLinecap:"round",strokeLinejoin:"round"}))),CF=n=>j.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},j.createElement("g",{id:"cross"},j.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"}))),EF=n=>j.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},j.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"}),j.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"}),j.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"})),_F=n=>j.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},j.createElement("g",{id:"Icon/Insight"},j.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"}),j.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"}),j.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"}),j.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"}),j.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"}),j.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"}),j.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"}),j.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"}),j.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"}))),IF=n=>j.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},j.createElement("g",{id:"Poll"},j.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}))),NF=n=>j.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},j.createElement("g",{id:"Icon/Notification/Prediciton"},j.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}))),RF=n=>j.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},j.createElement("g",{id:"Icon/Notification/Trivia"},j.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}))),OF=n=>j.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},j.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"})),LF=n=>j.createElement("svg",{width:103,height:18,viewBox:"0 0 103 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},j.createElement("g",{clipPath:"url(#clip0_6919_104497)"},j.createElement("path",{d:"M9.89618 3.45801C9.91951 3.45801 9.94451 3.46134 9.96784 3.46134C9.97618 3.46134 9.98284 3.46134 9.99118 3.46467H9.99784C10.0095 3.46467 10.0212 3.46801 10.0312 3.46801C10.0412 3.46801 10.0462 3.46801 10.0545 3.47134C10.0762 3.47467 10.0962 3.47467 10.1178 3.47634C10.1412 3.47967 10.1662 3.48134 10.1895 3.48467H10.2012C10.2462 3.48967 10.2945 3.49634 10.3395 3.50467C10.4512 3.52467 10.5595 3.54801 10.6662 3.57801C10.6928 3.58301 10.7178 3.59301 10.7445 3.60134H10.7478C10.7745 3.60967 10.7995 3.61801 10.8262 3.62467C10.8528 3.63301 10.8778 3.64134 10.9045 3.65134C10.9312 3.65967 10.9562 3.66801 10.9795 3.67967C11.0012 3.68801 11.0212 3.69634 11.0428 3.70634C11.0495 3.70967 11.0578 3.71134 11.0645 3.71467C11.0828 3.72301 11.1012 3.72967 11.1195 3.73801C11.1262 3.74134 11.1312 3.74301 11.1378 3.74634C11.1562 3.75467 11.1712 3.76134 11.1895 3.76967C11.1962 3.77301 11.2045 3.77467 11.2128 3.78134C11.2345 3.78967 11.2528 3.79801 11.2728 3.80967C11.2762 3.80967 11.2795 3.81301 11.2812 3.81301C11.3045 3.82467 11.3295 3.83634 11.3512 3.84801C11.3695 3.85634 11.3878 3.86801 11.4062 3.87634C11.4212 3.88134 11.4328 3.89134 11.4462 3.89967C11.4645 3.91134 11.4828 3.91967 11.5012 3.93134C11.5045 3.93467 11.5078 3.93467 11.5095 3.93634L11.5728 3.97467H11.5762L15.2178 6.18801L15.4412 6.32467C16.3228 6.90801 16.9028 7.88467 16.9028 8.99301C16.9028 10.1013 16.3262 11.0763 15.4445 11.6613L15.2095 11.803L11.5745 14.0113H11.5712L11.5078 14.0497C11.5078 14.0497 11.5012 14.053 11.4995 14.0547C11.4812 14.0663 11.4628 14.0747 11.4445 14.0863C11.4595 14.078 11.4745 14.0697 11.4895 14.0597L5.94951 17.433C5.94951 17.433 5.94618 17.433 5.94618 17.4363L5.74451 17.558H5.74118C5.19784 17.863 4.55784 18.0247 3.87784 17.993C2.73618 17.938 1.75784 17.3463 1.19284 16.4847C0.837844 15.9413 0.64451 15.2913 0.681177 14.6013C0.71451 13.983 0.922844 13.4147 1.26118 12.9397L1.26951 12.9247L4.04451 8.99634L6.77784 5.12634C6.81118 5.07967 6.84784 5.03301 6.87784 4.98467C6.87451 4.98967 6.86951 4.99967 6.86284 5.00467C6.87118 4.98967 6.88118 4.97634 6.88951 4.96134C6.88951 4.95801 6.89284 4.95801 6.89284 4.95634C6.89618 4.95301 6.89951 4.94801 6.90118 4.94467C6.90118 4.94467 6.90118 4.94134 6.90451 4.94134C6.91951 4.92134 6.93451 4.90134 6.94618 4.87801C6.96118 4.85801 6.97618 4.83801 6.99118 4.81634C7.00618 4.79634 7.02118 4.77634 7.03618 4.75467C7.03951 4.75134 7.03951 4.74967 7.04284 4.74634C7.04618 4.74301 7.04618 4.74134 7.04951 4.74134C7.06451 4.72134 7.07951 4.70134 7.09784 4.67967C7.10951 4.66467 7.12118 4.65134 7.13451 4.63634C7.16784 4.59801 7.20118 4.56134 7.23784 4.52301C7.25284 4.50801 7.26451 4.49467 7.27951 4.47967C7.30118 4.45634 7.32118 4.43634 7.34618 4.41634C7.36451 4.39967 7.38284 4.38134 7.40118 4.36467C7.41951 4.34801 7.43451 4.33301 7.45284 4.31801C7.45618 4.31467 7.45951 4.31301 7.45951 4.31301C7.47118 4.30134 7.48118 4.29301 7.49284 4.28467C7.50451 4.27301 7.51951 4.26134 7.53284 4.25301C7.53618 4.24967 7.53951 4.24801 7.54118 4.24801C7.55951 4.23301 7.57451 4.21967 7.59284 4.20467C7.60784 4.18967 7.62618 4.17801 7.64118 4.16634C7.65618 4.15467 7.66784 4.14634 7.68284 4.13467C7.70118 4.11967 7.71951 4.10801 7.73784 4.09467C7.75284 4.08634 7.76451 4.07467 7.77951 4.06634C7.78618 4.06134 7.79451 4.05467 7.80284 4.05134C7.81784 4.03967 7.83284 4.03134 7.84784 4.02301C7.85118 4.01967 7.85618 4.01801 7.85951 4.01467C7.87784 4.00301 7.89618 3.99134 7.91118 3.98301C7.91784 3.97801 7.92618 3.97467 7.93284 3.96801C7.94784 3.95967 7.95951 3.95134 7.97451 3.94134C7.98284 3.93634 7.99284 3.92967 8.00118 3.92467C8.01618 3.91634 8.03451 3.90801 8.04951 3.89634C8.05284 3.89301 8.05784 3.89134 8.06451 3.88801C8.08618 3.87634 8.10451 3.86467 8.12451 3.85634C8.12784 3.85301 8.13118 3.85301 8.13618 3.85134C8.15784 3.83967 8.17784 3.82801 8.19951 3.81967C8.19951 3.81967 8.20284 3.81967 8.20284 3.81634C8.22618 3.80467 8.24784 3.79301 8.27284 3.78134C8.27284 3.78134 8.27618 3.78134 8.27618 3.77801C8.29451 3.76967 8.31284 3.76134 8.33284 3.75134C8.34118 3.74801 8.35118 3.74301 8.35951 3.73967C8.37118 3.73467 8.38284 3.72801 8.39618 3.72467C8.41118 3.71967 8.42284 3.71301 8.43784 3.70801C8.46118 3.69967 8.48284 3.69134 8.50784 3.68134C8.52284 3.67634 8.53451 3.66967 8.54951 3.66634C8.57118 3.65801 8.59118 3.65134 8.61284 3.64301C8.63118 3.63801 8.65284 3.63134 8.66951 3.62301C8.75451 3.59634 8.83784 3.57134 8.92284 3.54967C8.94118 3.54467 8.96284 3.54134 8.97951 3.53801C9.08451 3.51467 9.19451 3.49467 9.30284 3.48301C9.32951 3.47967 9.35784 3.47801 9.38451 3.47467C9.42118 3.47134 9.45951 3.46967 9.49618 3.46634C9.51118 3.46634 9.52284 3.46301 9.53784 3.46301H9.55951C9.58951 3.46301 9.61618 3.45967 9.64784 3.45967H9.73784C9.79451 3.45967 9.84284 3.45967 9.89451 3.46301L9.89618 3.45801ZM10.6662 14.413C10.5612 14.4413 10.4512 14.4647 10.3395 14.4863C10.4512 14.4663 10.5595 14.443 10.6662 14.413ZM9.56118 14.5313H9.56951C9.56118 14.5313 9.54784 14.5313 9.53951 14.528C9.54618 14.528 9.55451 14.5313 9.56118 14.5313ZM7.08784 13.293C7.05451 13.253 7.02451 13.2147 6.99451 13.1747C7.02451 13.2147 7.05784 13.253 7.08784 13.293ZM6.90284 13.043C6.90284 13.043 6.90618 13.0463 6.90618 13.048C6.90284 13.0447 6.90284 13.043 6.89951 13.0363C6.89618 13.033 6.89618 13.0297 6.89284 13.0247C6.86951 12.9897 6.84784 12.953 6.82284 12.918C6.84451 12.953 6.86784 12.9913 6.88951 13.0247C6.89618 13.0297 6.89784 13.0363 6.90118 13.0413L6.90284 13.043ZM6.89451 13.0263C6.85784 12.968 6.81951 12.913 6.77618 12.858L6.89451 13.0263Z",fill:"#1652A8",style:{fill:"#1652A8",fill:"color(display-p3 0.0863 0.3216 0.6588)",fillOpacity:1}}),j.createElement("g",{opacity:.85},j.createElement("path",{d:"M5.77088 0.453306L5.97588 0.578306L5.97921 0.581639L11.5225 3.94997C11.5075 3.94164 11.4925 3.93331 11.4775 3.92331C11.4959 3.93497 11.5142 3.94331 11.5325 3.95497C11.5359 3.95831 11.5392 3.95831 11.5409 3.95997L11.6042 3.99831H11.6075L15.2492 6.21164L15.4725 6.34831C16.3542 6.93164 16.9342 7.9083 16.9342 9.01664C16.9342 10.125 16.3575 11.1 15.4759 11.685L15.2409 11.8266L11.6059 14.035H11.6025L11.5392 14.0733C11.5392 14.0733 11.5325 14.0766 11.5309 14.0783C11.5125 14.09 11.4942 14.0983 11.4759 14.11C11.4642 14.1183 11.4492 14.125 11.4359 14.1333C11.4175 14.145 11.3992 14.1533 11.3809 14.1616C11.3575 14.1733 11.3359 14.185 11.3109 14.1966C11.3075 14.2 11.3042 14.2 11.3025 14.2C11.2842 14.2116 11.2625 14.22 11.2425 14.2283C11.2359 14.2316 11.2275 14.2333 11.2192 14.24C11.2009 14.2483 11.1859 14.255 11.1675 14.2633C11.1609 14.2666 11.1592 14.2683 11.1525 14.2683C11.1309 14.2766 11.1109 14.285 11.0859 14.2966C11.0625 14.3083 11.0342 14.3166 11.0109 14.325C10.9875 14.3333 10.9592 14.345 10.9359 14.3533C10.9092 14.3616 10.8842 14.37 10.8575 14.38C10.8309 14.3883 10.8059 14.3966 10.7792 14.4033H10.7759C10.7492 14.4116 10.7242 14.4183 10.6975 14.4266C10.5925 14.455 10.4825 14.4783 10.3709 14.4983C10.3259 14.5066 10.2775 14.5133 10.2325 14.5183C10.2259 14.5183 10.2242 14.5183 10.2209 14.5216C10.1975 14.525 10.1725 14.5283 10.1492 14.53C10.1009 14.5366 10.0525 14.5383 10.0042 14.5416C9.92921 14.5483 9.85254 14.5483 9.77754 14.5483H9.68088C9.65421 14.5483 9.62921 14.545 9.60254 14.545C9.59421 14.545 9.58088 14.545 9.57254 14.5416C9.53254 14.5383 9.49088 14.5366 9.45254 14.5333C9.27421 14.5166 9.09588 14.4866 8.92754 14.4466C8.90421 14.44 8.87921 14.435 8.85254 14.4266C8.81921 14.4183 8.78588 14.41 8.74921 14.3983C8.73088 14.3933 8.70921 14.3866 8.69254 14.3816C8.66588 14.3733 8.64088 14.365 8.61421 14.355C8.58754 14.3466 8.56254 14.3383 8.53921 14.3266C8.51588 14.3183 8.48754 14.3066 8.46421 14.2983C8.44088 14.29 8.41921 14.2816 8.39754 14.27C8.38921 14.2666 8.38254 14.265 8.37421 14.2583C8.35588 14.25 8.33754 14.2416 8.31754 14.2316C8.31754 14.2316 8.31421 14.2316 8.31421 14.2283C8.29088 14.2166 8.26588 14.205 8.24254 14.1933C8.21921 14.1816 8.19421 14.17 8.17088 14.155C8.14754 14.1433 8.12254 14.1283 8.10088 14.1166C8.07754 14.105 8.05254 14.09 8.03088 14.0766C8.00754 14.0616 7.98588 14.0483 7.96088 14.0366C7.93754 14.0216 7.91588 14.0083 7.89421 13.9933C7.87254 13.9783 7.85254 13.965 7.83088 13.95C7.82754 13.95 7.82754 13.9466 7.82421 13.945C7.80588 13.9333 7.78754 13.9183 7.76754 13.905C7.76421 13.9016 7.76088 13.9016 7.75921 13.9C7.74088 13.885 7.72254 13.8733 7.70421 13.86C7.70088 13.8566 7.69588 13.855 7.69254 13.8483C7.67421 13.8333 7.65588 13.82 7.63754 13.805C7.63754 13.805 7.63421 13.805 7.63421 13.8016C7.61588 13.7866 7.59754 13.7733 7.57754 13.755C7.57421 13.7516 7.57088 13.7516 7.56921 13.7483C7.55421 13.7366 7.53921 13.7216 7.52421 13.71C7.51754 13.705 7.51254 13.6983 7.50588 13.695C7.49421 13.6833 7.47921 13.6716 7.46588 13.66C7.43921 13.6366 7.41421 13.6133 7.39088 13.5866C7.37254 13.57 7.35754 13.5516 7.33921 13.535C7.32754 13.5233 7.31754 13.5116 7.30588 13.5C7.29421 13.4883 7.28421 13.48 7.27588 13.4683C7.25754 13.4516 7.24254 13.43 7.22421 13.4133C7.19088 13.375 7.15754 13.3383 7.12421 13.2966C7.09088 13.2566 7.06088 13.2183 7.03088 13.1783C7.01588 13.1583 7.00088 13.1383 6.98588 13.1166C6.97088 13.0966 6.95588 13.0766 6.94421 13.0533C6.94088 13.05 6.94088 13.0483 6.93754 13.0416C6.93421 13.0383 6.93421 13.0366 6.93088 13.03C6.90754 12.995 6.88588 12.9583 6.86088 12.9233C6.88254 12.9583 6.90588 12.995 6.92754 13.03C6.89088 12.9716 6.85254 12.9166 6.80921 12.8616L4.07921 8.99664L1.34088 5.12997L1.23254 4.97664L1.22921 4.97164C0.92421 4.51164 0.737543 3.97497 0.707543 3.39497C0.670877 2.70497 0.86421 2.05164 1.22088 1.50997C1.78588 0.648306 2.76588 0.0566391 3.90421 -2.75556e-05C4.58421 -0.0150276 5.22421 0.148306 5.77088 0.453306Z",fill:"url(#paint0_linear_6919_104497)",style:{}})),j.createElement("path",{d:"M32.4132 12.862C31.2015 12.862 30.4482 12.0503 30.4482 10.7203V8.4453H32.6632V7.02697H30.4482V4.72363L28.8548 5.9053V7.0253H27.9648V8.44363H28.8548V10.7053C28.8548 12.9953 30.1982 14.412 32.4282 14.412H32.7682V12.862H32.4132Z",fill:"#687C8B",style:{fill:"#687C8B",fill:"color(display-p3 0.4078 0.4863 0.5451)",fillOpacity:1}}),j.createElement("path",{d:"M19.9812 12.5767L21.4028 11.4651C22.0395 12.4867 22.8995 13.0351 23.9962 13.0351C25.1962 13.0351 25.9512 12.2651 25.9512 11.3017C25.9512 10.1901 24.7662 9.83506 23.5212 9.43506C22.0545 8.96172 20.4695 8.36839 20.4695 6.38339C20.4695 4.73839 21.9362 3.43506 23.9362 3.43506C25.5812 3.43506 26.6028 4.07172 27.4328 5.03506L26.1145 6.01339C25.6262 5.25839 24.8995 4.85839 23.9362 4.85839C22.8395 4.85839 22.1278 5.51006 22.1278 6.35506C22.1278 7.39172 23.2695 7.73339 24.5128 8.14839C25.9945 8.65172 27.6095 9.29006 27.6095 11.3051C27.6095 12.9651 26.2462 14.5501 24.0095 14.5501C22.1578 14.5501 20.8978 13.7651 19.9795 12.5801L19.9812 12.5767Z",fill:"#687C8B",style:{fill:"#687C8B",fill:"color(display-p3 0.4078 0.4863 0.5451)",fillOpacity:1}}),j.createElement("path",{d:"M38.2695 10.7367C38.2695 8.56503 39.9379 6.8667 42.1095 6.8667C44.2812 6.8667 45.9062 8.4467 45.9062 10.6334V11.2534H39.7912C39.9979 12.39 40.8845 13.1434 42.1695 13.1434C43.1745 13.1434 43.9429 12.6117 44.3262 11.8134L45.6262 12.5367C44.9762 13.7484 43.8095 14.545 42.1695 14.545C39.8362 14.545 38.2695 12.8767 38.2695 10.735V10.7367ZM39.8645 9.91003H44.2962C44.0595 8.8467 43.2479 8.25503 42.1095 8.25503C40.9712 8.25503 40.1595 8.93503 39.8645 9.91003Z",fill:"#687C8B",style:{fill:"#687C8B",fill:"color(display-p3 0.4078 0.4863 0.5451)",fillOpacity:1}}),j.createElement("path",{d:"M33.7549 10.72C33.7549 8.42999 35.0982 7.02832 37.3282 7.02832H38.0366V8.56499H37.3132C36.1016 8.56499 35.3199 9.40665 35.3349 10.7367V14.415H33.7549V10.7233V10.72Z",fill:"#687C8B",style:{fill:"#687C8B",fill:"color(display-p3 0.4078 0.4863 0.5451)",fillOpacity:1}}),j.createElement("path",{d:"M46.6882 10.7218C46.6882 8.56517 48.3865 6.88184 50.5132 6.88184C52.6399 6.88184 54.3082 8.56517 54.3082 10.7218V14.4135H52.7582V13.4535C52.2415 14.1468 51.4432 14.5468 50.4682 14.5468C48.3565 14.5468 46.6865 12.8935 46.6865 10.7218H46.6882ZM52.7882 10.7218C52.7882 9.40684 51.7832 8.3585 50.5132 8.3585C49.2432 8.3585 48.2382 9.40684 48.2382 10.7218C48.2382 12.0368 49.2282 13.0852 50.5132 13.0852C51.7982 13.0852 52.7882 12.0218 52.7882 10.7218Z",fill:"#687C8B",style:{fill:"#687C8B",fill:"color(display-p3 0.4078 0.4863 0.5451)",fillOpacity:1}}),j.createElement("path",{d:"M55.3027 10.2717C55.3027 8.30667 56.6461 6.875 58.6411 6.875C59.7777 6.875 60.6944 7.33333 61.2694 8.10167C61.8161 7.33333 62.7027 6.875 63.8394 6.875C65.8477 6.875 67.2511 8.27833 67.2511 10.2717V14.4067H65.6711V10.2867C65.6711 9.165 64.9177 8.38167 63.8394 8.38167C62.7611 8.38167 62.0527 9.18 62.0677 10.2433V14.4083H60.4877V10.2883C60.4877 9.16667 59.7194 8.38333 58.6411 8.38333C57.5627 8.38333 56.8694 9.18167 56.8827 10.245V14.41H55.3027V10.275V10.2717Z",fill:"#687C8B",style:{fill:"#687C8B",fill:"color(display-p3 0.4078 0.4863 0.5451)",fillOpacity:1}}),j.createElement("path",{d:"M68.2646 3.62695H69.8746V12.872H74.2313V14.4086H68.2646V3.62695Z",fill:"#687C8B",style:{fill:"#687C8B",fill:"color(display-p3 0.4078 0.4863 0.5451)",fillOpacity:1}}),j.createElement("path",{d:"M89.418 10.7367C89.418 8.56503 91.0863 6.8667 93.258 6.8667C95.4296 6.8667 97.0546 8.4467 97.0546 10.6334V11.2534H90.9396C91.1463 12.39 92.033 13.1434 93.318 13.1434C94.323 13.1434 95.0913 12.6117 95.4746 11.8134L96.7746 12.5367C96.1246 13.7484 94.958 14.545 93.318 14.545C90.9846 14.545 89.418 12.8767 89.418 10.735V10.7367ZM91.013 9.91003H95.4446C95.208 8.8467 94.3963 8.25503 93.258 8.25503C92.1196 8.25503 91.308 8.93503 91.013 9.91003Z",fill:"#687C8B",style:{fill:"#687C8B",fill:"color(display-p3 0.4078 0.4863 0.5451)",fillOpacity:1}}),j.createElement("path",{d:"M74.4948 10.7218C74.4948 8.56517 76.1932 6.88184 78.3198 6.88184C80.4465 6.88184 82.1148 8.56517 82.1148 10.7218V14.4135H80.5648V13.4535C80.0482 14.1468 79.2498 14.5468 78.2748 14.5468C76.1632 14.5468 74.4932 12.8935 74.4932 10.7218H74.4948ZM80.5948 10.7218C80.5948 9.40684 79.5898 8.3585 78.3198 8.3585C77.0498 8.3585 76.0448 9.40684 76.0448 10.7218C76.0448 12.0368 77.0348 13.0852 78.3198 13.0852C79.6048 13.0852 80.5948 12.0218 80.5948 10.7218Z",fill:"#687C8B",style:{fill:"#687C8B",fill:"color(display-p3 0.4078 0.4863 0.5451)",fillOpacity:1}}),j.createElement("path",{d:"M85.0381 14.0498L81.9814 7.0498H83.6798L85.8364 12.1748L87.8748 7.0498H89.5431L85.0831 17.8465H83.4581L85.0381 14.0515V14.0498Z",fill:"#687C8B",style:{fill:"#687C8B",fill:"color(display-p3 0.4078 0.4863 0.5451)",fillOpacity:1}}),j.createElement("path",{d:"M98.041 10.7151C98.041 8.4251 99.3843 7.02344 101.614 7.02344H102.323V8.5601H101.599C100.388 8.5601 99.606 9.40177 99.621 10.7318V14.4101H98.041V10.7184V10.7151Z",fill:"#687C8B",style:{fill:"#687C8B",fill:"color(display-p3 0.4078 0.4863 0.5451)",fillOpacity:1}})),j.createElement("defs",null,j.createElement("linearGradient",{id:"paint0_linear_6919_104497",x1:4.31754,y1:8.70664,x2:13.6359,y2:3.59497,gradientUnits:"userSpaceOnUse"},j.createElement("stop",{offset:.2,stopColor:"#1589EE",style:{stopColor:"#1589EE",stopColor:"color(display-p3 0.0824 0.5373 0.9333)",stopOpacity:1}}),j.createElement("stop",{offset:1,stopColor:"#5EB4FF",style:{stopColor:"#5EB4FF",stopColor:"color(display-p3 0.3686 0.7059 1.0000)",stopOpacity:1}})),j.createElement("clipPath",{id:"clip0_6919_104497"},j.createElement("rect",{width:101.648,height:18,fill:"white",style:{fill:"white",fillOpacity:1},transform:"translate(0.675781)"})))),AF=n=>j.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},j.createElement("g",{id:"Frame 3469523"},j.createElement("rect",{x:.5,y:.5,width:17,height:17,rx:8.5,fill:"black"}),j.createElement("rect",{x:.5,y:.5,width:17,height:17,rx:8.5,stroke:"#F2F2F1"}),j.createElement("g",{id:"layer1"},j.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"})))),Hb={"invite-game-icon":yF,"icon-trophy":fF,"icon-trophy-green":dF,"icon-trophy-solid":mF,"icon-trivia":RF,"icon-thumb-down":uF,"icon-thumb-up":cF,"icon-star":lF,"icon-prediction":NF,"icon-insight":_F,"icon-poll":IF,"icon-play":iF,"icon-pause":sF,"icon-masters-logo":oF,"icon-logout":rF,"icon-link":aF,"icon-external-link":eF,"icon-invite-arrow":nF,"icon-friends":tF,"icon-exit":JU,"icon-default-user-avatar":XU,"icon-copy":KU,"icon-cross":FU,"icon-close":QU,"icon-close-btn-white":WU,"icon-close-btn-gray":qU,"icon-circle-arrow-right":GU,"icon-chevron":HU,"icon-chevron-white-left":zU,"icon-chevron-left":$U,"icon-check":MU,"icon-check-white":jU,"icon-check-green":BU,"icon-check-circle":VU,"icon-btn-channels":TF,"icon-btn-feature-groups":bF,"icon-btn-leaderboard":kF,"icon-arrow":PU,"icon-twitter-verified":pF,dashboard:ZU,correct:wF,incorrect:CF,questionExpired:EF,selected:OF,circleClose:UU,incorrectVoted:gF,mastersLogo:vF,streamLayerLogo:LF,twitter:AF,iconUp:hF,iconCopySuccess:YU,chevronRight:DU,noImageIcon:SF},wt=({name:n,style:a,className:o,...l})=>{if(!Hb[n])return w.jsx("span",{children:n});const c=Hb[n];return w.jsx(c,{"data-testid":"svg-icon",style:a,className:o,...l})};var Gb=typeof window>"u"?W.useEffect:W.useLayoutEffect,xF=({isPlaying:n,duration:a,startAt:o=0,updateInterval:l=0,onComplete:c,onUpdate:p})=>{let[f,y]=W.useState(o),b=W.useRef(0),C=W.useRef(o),_=W.useRef(o*-1e3),N=W.useRef(null),O=W.useRef(null),L=W.useRef(null),x=V=>{let Q=V/1e3;if(O.current===null){O.current=Q,N.current=requestAnimationFrame(x);return}let K=Q-O.current,re=b.current+K;O.current=Q,b.current=re;let te=C.current+(l===0?re:(re/l|0)*l),ue=C.current+re,oe=typeof a=="number"&&ue>=a;y(oe?a:te),oe||(N.current=requestAnimationFrame(x))},D=()=>{N.current&&cancelAnimationFrame(N.current),L.current&&clearTimeout(L.current),O.current=null},B=W.useCallback(V=>{D(),b.current=0;let Q=typeof V=="number"?V:o;C.current=Q,y(Q),n&&(N.current=requestAnimationFrame(x))},[n,o]);return Gb(()=>{if(p==null||p(f),a&&f>=a){_.current+=a*1e3;let{shouldRepeat:V=!1,delay:Q=0,newStartAt:K}=(c==null?void 0:c(_.current/1e3))||{};V&&(L.current=setTimeout(()=>B(K),Q*1e3))}},[f,a]),Gb(()=>(n&&(N.current=requestAnimationFrame(x)),D),[n,a,l]),{elapsedTime:f,reset:B}},PF=(n,a,o)=>{let l=n/2,c=a/2,p=l-c,f=2*p,y=o==="clockwise"?"1,0":"0,1",b=2*Math.PI*p;return{path:`m ${l},${c} a ${p},${p} 0 ${y} 0,${f} a ${p},${p} 0 ${y} 0,-${f}`,pathLength:b}},qb=(n,a)=>n===0||n===a?0:typeof a=="number"?n-a:0,MF=n=>({position:"relative",width:n,height:n}),DF={display:"flex",justifyContent:"center",alignItems:"center",position:"absolute",left:0,top:0,width:"100%",height:"100%"},uC=(n,a,o,l,c)=>{if(l===0)return a;let p=(c?l-n:n)/l;return a+o*p},Wb=n=>{var a,o;return(o=(a=n.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(l,c,p,f)=>`#${c}${c}${p}${p}${f}${f}`).substring(1).match(/.{2}/g))==null?void 0:a.map(l=>parseInt(l,16)))!=null?o:[]},UF=(n,a)=>{var o;let{colors:l,colorsTime:c,isSmoothColorTransition:p=!0}=n;if(typeof l=="string")return l;let f=(o=c==null?void 0:c.findIndex((O,L)=>O>=a&&a>=c[L+1]))!=null?o:-1;if(!c||f===-1)return l[0];if(!p)return l[f];let y=c[f]-a,b=c[f]-c[f+1],C=Wb(l[f]),_=Wb(l[f+1]),N=!!n.isGrowing;return`rgb(${C.map((O,L)=>uC(y,O,_[L]-O,b,N)|0).join(",")})`},FF=n=>{let{duration:a,initialRemainingTime:o,updateInterval:l,size:c=180,strokeWidth:p=12,trailStrokeWidth:f,isPlaying:y=!1,isGrowing:b=!1,rotation:C="clockwise",onComplete:_,onUpdate:N}=n,O=W.useRef(),L=Math.max(p,f??0),{path:x,pathLength:D}=PF(c,L,C),{elapsedTime:B}=xF({isPlaying:y,duration:a,startAt:qb(a,o),updateInterval:l,onUpdate:typeof N=="function"?Q=>{let K=Math.ceil(a-Q);K!==O.current&&(O.current=K,N(K))}:void 0,onComplete:typeof _=="function"?Q=>{var K;let{shouldRepeat:re,delay:te,newInitialRemainingTime:ue}=(K=_(Q))!=null?K:{};if(re)return{shouldRepeat:re,delay:te,newStartAt:qb(a,ue)}}:void 0}),V=a-B;return{elapsedTime:B,path:x,pathLength:D,remainingTime:Math.ceil(V),rotation:C,size:c,stroke:UF(n,V),strokeDashoffset:uC(B,0,D,a,b),strokeWidth:p}},sy=n=>{let{children:a,strokeLinecap:o,trailColor:l,trailStrokeWidth:c}=n,{path:p,pathLength:f,stroke:y,strokeDashoffset:b,remainingTime:C,elapsedTime:_,size:N,strokeWidth:O}=FF(n);return W.createElement("div",{style:MF(N)},W.createElement("svg",{viewBox:`0 0 ${N} ${N}`,width:N,height:N,xmlns:"http://www.w3.org/2000/svg"},W.createElement("path",{d:p,fill:"none",stroke:l??"#d9d9d9",strokeWidth:c??O}),W.createElement("path",{d:p,fill:"none",stroke:y,strokeLinecap:o??"round",strokeWidth:O,strokeDasharray:f,strokeDashoffset:b})),typeof a=="function"&&W.createElement("div",{style:DF},a({remainingTime:C,elapsedTime:_,color:y})))};sy.displayName="CountdownCircleTimer";const VF=[10,10,1,0],BF=P("div")({name:"RemainingTimeCircle",class:"r165427",propsAsIs:!1}),jF=P("div")({name:"RemainingTime",class:"r17garf3",propsAsIs:!1}),$F=$A,y9=zA,Qb=HA,zF=({className:n,duration:a=30,onTimerExpired:o,isPlaying:l=!0})=>w.jsx(sy,{isPlaying:l,strokeWidth:0,duration:a,colors:y9,size:24,onComplete:o,children:({remainingTime:c})=>w.jsx(jF,{className:n,children:a===0?0:c})}),HF=({isPlaying:n=!0,duration:a=30,onTimerExpired:o})=>{const[l,c]=W.useState(a>10?$F:y9),[p,f]=W.useState(2);W.useEffect(()=>{a===0&&(f(0),c(Qb))},[a]);const y=({remainingTime:_})=>w.jsx(BF,{children:a===0?0:_}),b=W.useCallback(()=>{o==null||o(),c(Qb)},[o,c]),C=W.useCallback(_=>{_===10&&c(y9)},[c]);return w.jsx(sy,{isPlaying:n,duration:a,colors:jA,colorsTime:VF,size:32,strokeWidth:p,trailStrokeWidth:2,trailColor:l,onComplete:b,onUpdate:C,children:y})},GF=P("div")({name:"CloseIconWrap",class:"c3v6bv6",propsAsIs:!1}),qF=P("div")({name:"TimerWrap",class:"teuhmro",propsAsIs:!1}),WF=()=>wt,QF=P(WF())({name:"Icon",class:"i17rfxv5",propsAsIs:!0}),YF=({close:n,className:a,isPlaying:o=!0,duration:l=0,autoClose:c})=>{const[p,f]=W.useState(l===0);W.useEffect(()=>{f(!l)},[l]);const y=W.useCallback(()=>{c===zw.ENABLED?n==null||n():f(!0)},[c,n]);return p?w.jsx(GF,{onClick:n,className:a,children:w.jsx(QF,{name:"icon-cross"})}):w.jsx(qF,{children:w.jsx(zF,{isPlaying:o,duration:l,onTimerExpired:y})})},I6={[fe.TWEET]:{label:"Insight",iconName:"icon-insight"},[fe.PROMOTION]:{label:"Insight",iconName:"icon-insight"},[fe.UNSET]:void 0,[fe.FACTOID]:{label:"Insight",iconName:"icon-insight"},[fe.POLL]:{label:"Poll",iconName:"icon-poll"},[fe.TRIVIA]:{label:"Trivia",iconName:"icon-trivia"},[fe.PREDICTION]:{label:"Prediction",iconName:"icon-prediction"}};fe.TWEET+"",fe.FACTOID+"",fe.POLL+"",fe.TRIVIA+"",fe.PREDICTION+"",fe.PROMOTION+"",fe.UNSET+"";const KF=P("div")({name:"Container",class:"c1vwopgc",propsAsIs:!1}),ZF=P("div")({name:"QuestionTypeWrap",class:"qyktpt0",propsAsIs:!1}),XF=()=>wt,JF=P(XF())({name:"QuestionTypeIcon",class:"q951jdx",propsAsIs:!0}),eV=P("span")({name:"QuestionTypeTitle",class:"qss5f0e",propsAsIs:!1}),tV=P("div")({name:"CloseIconWrap",class:"c1ao1jtv",propsAsIs:!1}),nV=()=>wt,aV=P(nV())({name:"CloseIcon",class:"cvsl7l3",propsAsIs:!0}),cC=({type:n,closeTimer:a,close:o,label:l})=>{const c=n?I6[n]:{label:l,iconName:void 0};return w.jsxs(KF,{children:[w.jsxs(ZF,{children:[(c==null?void 0:c.iconName)&&w.jsx(JF,{"data-type-trivia":n===fe.TRIVIA,"data-type-poll":n===fe.POLL,name:c.iconName}),(c==null?void 0:c.label)&&w.jsx(eV,{children:c.label})]}),a!=null&&a.seconds?w.jsx(YF,{close:o,autoClose:a.auto,duration:a.seconds}):w.jsx(tV,{onClick:o,children:w.jsx(aV,{name:"icon-cross"})})]})},dC=P("div")({name:"Container",class:"cqg02m",propsAsIs:!1}),uo=({children:n,style:a,loading:o})=>o?w.jsx(dC,{style:a,children:n}):n,iy=n=>n.split(/\s+/).map(a=>a[0]).join("").toUpperCase(),mC=n=>n?n.toLocaleString("en-US"):"0",rV=n=>{const a=new Date(n);if(!a)return"";const o=new Date,l=Math.floor(o.getTime()-a.getTime());return l<6e4?`${Math.floor(l/1e3)}s`:l<36e5?`${Math.floor(l/6e4)}m`:l<864e5?`${Math.floor(l/36e5)}h`:a.getFullYear()===o.getFullYear()?`${a.toLocaleDateString("en-US",{month:"short",day:"numeric"})}`:`${a.toLocaleDateString("en-US",{month:"2-digit",day:"2-digit",year:"2-digit"})}`},oV=P("div")({name:"Container",class:"c1zy8a",propsAsIs:!1}),sV=P("div")({name:"Title",class:"t1vih9p5",propsAsIs:!1}),iV=P("div")({name:"Indicator",class:"i1fbnvpb",propsAsIs:!1}),Yb=({indicator:n,title:a})=>w.jsxs(oV,{children:[w.jsx(sV,{children:a}),w.jsx(iV,{children:n})]}),lV=P("div")({name:"Container",class:"ctmhwyc",propsAsIs:!1}),uV=P("div")({name:"Indicator",class:"i1jri200",propsAsIs:!1}),cV=P("div")({name:"Title",class:"t8s05oq",propsAsIs:!1}),xh=({indicator:n,title:a})=>w.jsxs(lV,{children:[w.jsx(uV,{children:n}),w.jsx(cV,{children:a})]}),dV=P("div")({name:"Container",class:"c1yrpn9o",propsAsIs:!1}),mV=P("div")({name:"TopInfo",class:"t17fwahh",propsAsIs:!1}),fV=P("div")({name:"BottomInfo",class:"by6w7e9",propsAsIs:!1}),pV=P("div")({name:"User",class:"u1g7arbm",propsAsIs:!1}),hV=P("img")({name:"Avatar",class:"a1ldeata",propsAsIs:!1}),gV=P("div")({name:"UserInfo",class:"u10d4koz",propsAsIs:!1}),yV=P("div")({name:"UserName",class:"u1q6roj0",propsAsIs:!1}),vV=P("div")({name:"UserRating",class:"ui0m425",propsAsIs:!1}),TV=P("img")({name:"TrophyIcon",class:"t1el3mrn",propsAsIs:!1}),bV=P("div")({name:"Rts",class:"r2vgnxv",propsAsIs:!1}),kV=P("div")({name:"RtsIndicator",class:"roqn06j",propsAsIs:!1}),SV=P("div")({name:"RtsLabel",class:"r15adx7c",propsAsIs:!1}),wV=P("div")({name:"Divider",class:"dv59lta",propsAsIs:!1}),CV=P("div")({name:"Ranks",class:"r55lotb",propsAsIs:!1}),EV=P("div")({name:"Statistics",class:"s1knfgqt",propsAsIs:!1}),_V=P("div")({name:"AvatarPlaceholder",class:"a1mqo824",propsAsIs:!1}),IV=P("button")({name:"UserAccountBtn",class:"uxareh6",propsAsIs:!1}),NV="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Trophy'%3e%3cpath%20id='Combined%20Shape'%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3.69197%204.66662C3.69197%205.99705%203.92914%207.17787%204.4035%208.20912C3.49966%208.02451%202.74487%207.66486%202.1391%207.13014C1.53333%206.59542%201.23046%206.0798%201.23046%205.58328V4.66662H3.69197ZM14.7686%204.66662V5.58328C14.7686%206.0798%2014.4658%206.59542%2013.86%207.13014C13.2542%207.66486%2012.4994%208.02451%2011.5956%208.20912C12.0699%207.17787%2012.3071%205.99705%2012.3071%204.66662H14.7686ZM15.9998%205.58329V4.36108C15.9998%204.10645%2015.9101%203.89002%2015.7306%203.71178C15.5511%203.53354%2015.3332%203.44442%2015.0768%203.44442H12.3076V2.52776C12.3076%202.10763%2012.1569%201.74797%2011.8556%201.44878C11.5544%201.14959%2011.1922%201%2010.7691%201H5.23072C4.80764%201%204.44547%201.14959%204.14419%201.44878C3.84291%201.74797%203.69227%202.10763%203.69227%202.52776V3.44442H0.923068C0.666659%203.44442%200.448714%203.53354%200.269228%203.71178C0.0897418%203.89002%200%204.10645%200%204.36108V5.58329C0%206.03525%200.13301%206.49039%200.399034%206.94872C0.665059%207.40705%201.02403%207.82082%201.47595%208.19003C1.92787%208.55924%202.48234%208.86957%203.13939%209.12101C3.79644%209.37246%204.48713%209.51409%205.21149%209.54592C5.48071%209.88967%205.7852%2010.192%206.12494%2010.453C6.36853%2010.6695%206.53679%2010.9002%206.62974%2011.1453C6.72269%2011.3904%206.76916%2011.6752%206.76916%2011.9999C6.76916%2012.3436%206.67141%2012.6333%206.4759%2012.8688C6.28038%2013.1043%205.96789%2013.2221%205.53841%2013.2221C5.05764%2013.2221%204.62976%2013.3669%204.25476%2013.6566C3.87977%2013.9462%203.69227%2014.3106%203.69227%2014.7499V15.361C3.69227%2015.4501%203.72112%2015.5233%203.77881%2015.5806C3.8365%2015.6379%203.91022%2015.6665%203.99996%2015.6665H11.9999C12.0896%2015.6665%2012.1633%2015.6379%2012.221%2015.5806C12.2787%2015.5233%2012.3076%2015.4501%2012.3076%2015.361V14.7499C12.3076%2014.3106%2012.1201%2013.9462%2011.7451%2013.6566C11.3701%2013.3669%2010.9422%2013.2221%2010.4614%2013.2221C10.0319%2013.2221%209.71945%2013.1043%209.52394%2012.8688C9.32843%2012.6333%209.23068%2012.3436%209.23068%2011.9999C9.23068%2011.6752%209.27715%2011.3904%209.3701%2011.1453C9.46305%2010.9002%209.63131%2010.6695%209.8749%2010.453C10.2146%2010.192%2010.5191%209.88967%2010.7884%209.54592C11.5127%209.51409%2012.2034%209.37246%2012.8604%209.12101C13.5175%208.86957%2014.072%208.55924%2014.5239%208.19003C14.9758%207.82082%2015.3348%207.40705%2015.6008%206.94872C15.8668%206.49039%2015.9998%206.03525%2015.9998%205.58329ZM6.76047%207.1798L8.05109%206.49997L9.3417%207.1798L9.09521%205.73989L10.1393%204.72015L8.69639%204.51007L8.05109%203.2L7.40578%204.51007L5.96283%204.72015L7.00696%205.73989L6.76047%207.1798Z'%20fill='%23F2C94C'/%3e%3c/g%3e%3c/svg%3e",ly=({loading:n,avatar:a,name:o,points:l,friendsRank:c,rank:p,streak:f,correct:y,incorrect:b,inTop:C,successRate:_})=>w.jsxs(dV,{"data-loading":n,children:[w.jsx(mV,{children:w.jsx(uo,{loading:n,children:w.jsxs(pV,{children:[w.jsxs(IV,{children:[a&&w.jsx(hV,{alt:"avatar",src:a}),!a&&w.jsx(_V,{children:iy(o||"")})]}),w.jsxs(gV,{children:[w.jsx(yV,{children:o}),w.jsxs(vV,{children:[w.jsxs(bV,{children:[w.jsx(TV,{alt:"rank-icon",src:NV}),w.jsxs(kV,{children:[mC(l),w.jsx(SV,{children:"PTS"})]})]}),w.jsx(wV,{}),w.jsxs("div",{children:["TOP ",C||0,"%"]})]})]})]})})}),w.jsxs(fV,{children:[w.jsxs(CV,{children:[w.jsx(uo,{loading:n,style:{width:"100%"},children:w.jsx(Yb,{indicator:c||0,title:"Friends rank"})}),w.jsx(uo,{loading:n,style:{width:"100%"},children:w.jsx(Yb,{indicator:p||0,title:"Global rank"})})]}),w.jsx(uo,{loading:n,children:w.jsxs(EV,{children:[w.jsx(xh,{indicator:f||0,title:"Win streak"}),w.jsx(xh,{indicator:y||0,title:"Correct"}),w.jsx(xh,{indicator:b||0,title:"Incorrect"}),w.jsx(xh,{indicator:`${_||0}%`,title:"Succ. rate"})]})})]})]});var v9={exports:{}},$r={},N5={exports:{}},Kb={};/**
29
+ * @license React
30
+ * scheduler.production.min.js
31
+ *
32
+ * Copyright (c) Facebook, Inc. and its affiliates.
33
+ *
34
+ * This source code is licensed under the MIT license found in the
35
+ * LICENSE file in the root directory of this source tree.
36
+ */var Zb;function RV(){return Zb||(Zb=1,function(n){function a(Se,Me){var Ce=Se.length;Se.push(Me);e:for(;0<Ce;){var dt=Ce-1>>>1,z=Se[dt];if(0<c(z,Me))Se[dt]=Me,Se[Ce]=z,Ce=dt;else break e}}function o(Se){return Se.length===0?null:Se[0]}function l(Se){if(Se.length===0)return null;var Me=Se[0],Ce=Se.pop();if(Ce!==Me){Se[0]=Ce;e:for(var dt=0,z=Se.length,se=z>>>1;dt<se;){var pe=2*(dt+1)-1,Ye=Se[pe],gt=pe+1,lt=Se[gt];if(0>c(Ye,Ce))gt<z&&0>c(lt,Ye)?(Se[dt]=lt,Se[gt]=Ce,dt=gt):(Se[dt]=Ye,Se[pe]=Ce,dt=pe);else if(gt<z&&0>c(lt,Ce))Se[dt]=lt,Se[gt]=Ce,dt=gt;else break e}}return Me}function c(Se,Me){var Ce=Se.sortIndex-Me.sortIndex;return Ce!==0?Ce:Se.id-Me.id}if(typeof performance=="object"&&typeof performance.now=="function"){var p=performance;n.unstable_now=function(){return p.now()}}else{var f=Date,y=f.now();n.unstable_now=function(){return f.now()-y}}var b=[],C=[],_=1,N=null,O=3,L=!1,x=!1,D=!1,B=typeof setTimeout=="function"?setTimeout:null,V=typeof clearTimeout=="function"?clearTimeout:null,Q=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function K(Se){for(var Me=o(C);Me!==null;){if(Me.callback===null)l(C);else if(Me.startTime<=Se)l(C),Me.sortIndex=Me.expirationTime,a(b,Me);else break;Me=o(C)}}function re(Se){if(D=!1,K(Se),!x)if(o(b)!==null)x=!0,Rt(te);else{var Me=o(C);Me!==null&&Qn(re,Me.startTime-Se)}}function te(Se,Me){x=!1,D&&(D=!1,V(Ne),Ne=-1),L=!0;var Ce=O;try{for(K(Me),N=o(b);N!==null&&(!(N.expirationTime>Me)||Se&&!De());){var dt=N.callback;if(typeof dt=="function"){N.callback=null,O=N.priorityLevel;var z=dt(N.expirationTime<=Me);Me=n.unstable_now(),typeof z=="function"?N.callback=z:N===o(b)&&l(b),K(Me)}else l(b);N=o(b)}if(N!==null)var se=!0;else{var pe=o(C);pe!==null&&Qn(re,pe.startTime-Me),se=!1}return se}finally{N=null,O=Ce,L=!1}}var ue=!1,oe=null,Ne=-1,de=5,Fe=-1;function De(){return!(n.unstable_now()-Fe<de)}function Pe(){if(oe!==null){var Se=n.unstable_now();Fe=Se;var Me=!0;try{Me=oe(!0,Se)}finally{Me?ke():(ue=!1,oe=null)}}else ue=!1}var ke;if(typeof Q=="function")ke=function(){Q(Pe)};else if(typeof MessageChannel<"u"){var $e=new MessageChannel,it=$e.port2;$e.port1.onmessage=Pe,ke=function(){it.postMessage(null)}}else ke=function(){B(Pe,0)};function Rt(Se){oe=Se,ue||(ue=!0,ke())}function Qn(Se,Me){Ne=B(function(){Se(n.unstable_now())},Me)}n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(Se){Se.callback=null},n.unstable_continueExecution=function(){x||L||(x=!0,Rt(te))},n.unstable_forceFrameRate=function(Se){0>Se||125<Se?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):de=0<Se?Math.floor(1e3/Se):5},n.unstable_getCurrentPriorityLevel=function(){return O},n.unstable_getFirstCallbackNode=function(){return o(b)},n.unstable_next=function(Se){switch(O){case 1:case 2:case 3:var Me=3;break;default:Me=O}var Ce=O;O=Me;try{return Se()}finally{O=Ce}},n.unstable_pauseExecution=function(){},n.unstable_requestPaint=function(){},n.unstable_runWithPriority=function(Se,Me){switch(Se){case 1:case 2:case 3:case 4:case 5:break;default:Se=3}var Ce=O;O=Se;try{return Me()}finally{O=Ce}},n.unstable_scheduleCallback=function(Se,Me,Ce){var dt=n.unstable_now();switch(typeof Ce=="object"&&Ce!==null?(Ce=Ce.delay,Ce=typeof Ce=="number"&&0<Ce?dt+Ce:dt):Ce=dt,Se){case 1:var z=-1;break;case 2:z=250;break;case 5:z=1073741823;break;case 4:z=1e4;break;default:z=5e3}return z=Ce+z,Se={id:_++,callback:Me,priorityLevel:Se,startTime:Ce,expirationTime:z,sortIndex:-1},Ce>dt?(Se.sortIndex=Ce,a(C,Se),o(b)===null&&Se===o(C)&&(D?(V(Ne),Ne=-1):D=!0,Qn(re,Ce-dt))):(Se.sortIndex=z,a(b,Se),x||L||(x=!0,Rt(te))),Se},n.unstable_shouldYield=De,n.unstable_wrapCallback=function(Se){var Me=O;return function(){var Ce=O;O=Me;try{return Se.apply(this,arguments)}finally{O=Ce}}}}(Kb)),Kb}var Xb={},Jb;function OV(){return Jb||(Jb=1,function(n){C0.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 a=!1,o=!1,l=5;function c(Re,Je){var vt=Re.length;Re.push(Je),y(Re,Je,vt)}function p(Re){return Re.length===0?null:Re[0]}function f(Re){if(Re.length===0)return null;var Je=Re[0],vt=Re.pop();return vt!==Je&&(Re[0]=vt,b(Re,vt,0)),Je}function y(Re,Je,vt){for(var qt=vt;qt>0;){var ln=qt-1>>>1,Ba=Re[ln];if(C(Ba,Je)>0)Re[ln]=Je,Re[qt]=Ba,qt=ln;else return}}function b(Re,Je,vt){for(var qt=vt,ln=Re.length,Ba=ln>>>1;qt<Ba;){var Rn=(qt+1)*2-1,Qr=Re[Rn],vn=Rn+1,br=Re[vn];if(C(Qr,Je)<0)vn<ln&&C(br,Qr)<0?(Re[qt]=br,Re[vn]=Je,qt=vn):(Re[qt]=Qr,Re[Rn]=Je,qt=Rn);else if(vn<ln&&C(br,Je)<0)Re[qt]=br,Re[vn]=Je,qt=vn;else return}}function C(Re,Je){var vt=Re.sortIndex-Je.sortIndex;return vt!==0?vt:Re.id-Je.id}var _=1,N=2,O=3,L=4,x=5,D=typeof performance=="object"&&typeof performance.now=="function";if(D){var B=performance;n.unstable_now=function(){return B.now()}}else{var V=Date,Q=V.now();n.unstable_now=function(){return V.now()-Q}}var K=1073741823,re=-1,te=250,ue=5e3,oe=1e4,Ne=K,de=[],Fe=[],De=1,Pe=null,ke=O,$e=!1,it=!1,Rt=!1,Qn=typeof setTimeout=="function"?setTimeout:null,Se=typeof clearTimeout=="function"?clearTimeout:null,Me=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function Ce(Re){for(var Je=p(Fe);Je!==null;){if(Je.callback===null)f(Fe);else if(Je.startTime<=Re)f(Fe),Je.sortIndex=Je.expirationTime,c(de,Je);else return;Je=p(Fe)}}function dt(Re){if(Rt=!1,Ce(Re),!it)if(p(de)!==null)it=!0,Tr(z);else{var Je=p(Fe);Je!==null&&ms(dt,Je.startTime-Re)}}function z(Re,Je){it=!1,Rt&&(Rt=!1,ar()),$e=!0;var vt=ke;try{var qt;if(!o)return se(Re,Je)}finally{Pe=null,ke=vt,$e=!1}}function se(Re,Je){var vt=Je;for(Ce(vt),Pe=p(de);Pe!==null&&!a&&!(Pe.expirationTime>vt&&(!Re||Wr()));){var qt=Pe.callback;if(typeof qt=="function"){Pe.callback=null,ke=Pe.priorityLevel;var ln=Pe.expirationTime<=vt,Ba=qt(ln);vt=n.unstable_now(),typeof Ba=="function"?Pe.callback=Ba:Pe===p(de)&&f(de),Ce(vt)}else f(de);Pe=p(de)}if(Pe!==null)return!0;var Rn=p(Fe);return Rn!==null&&ms(dt,Rn.startTime-vt),!1}function pe(Re,Je){switch(Re){case _:case N:case O:case L:case x:break;default:Re=O}var vt=ke;ke=Re;try{return Je()}finally{ke=vt}}function Ye(Re){var Je;switch(ke){case _:case N:case O:Je=O;break;default:Je=ke;break}var vt=ke;ke=Je;try{return Re()}finally{ke=vt}}function gt(Re){var Je=ke;return function(){var vt=ke;ke=Je;try{return Re.apply(this,arguments)}finally{ke=vt}}}function lt(Re,Je,vt){var qt=n.unstable_now(),ln;if(typeof vt=="object"&&vt!==null){var Ba=vt.delay;typeof Ba=="number"&&Ba>0?ln=qt+Ba:ln=qt}else ln=qt;var Rn;switch(Re){case _:Rn=re;break;case N:Rn=te;break;case x:Rn=Ne;break;case L:Rn=oe;break;case O:default:Rn=ue;break}var Qr=ln+Rn,vn={id:De++,callback:Je,priorityLevel:Re,startTime:ln,expirationTime:Qr,sortIndex:-1};return ln>qt?(vn.sortIndex=ln,c(Fe,vn),p(de)===null&&vn===p(Fe)&&(Rt?ar():Rt=!0,ms(dt,ln-qt))):(vn.sortIndex=Qr,c(de,vn),!it&&!$e&&(it=!0,Tr(z))),vn}function tt(){}function ut(){!it&&!$e&&(it=!0,Tr(z))}function _t(){return p(de)}function Yt(Re){Re.callback=null}function In(){return ke}var Gt=!1,nn=null,Nt=-1,sn=l,Nn=-1;function Wr(){var Re=n.unstable_now()-Nn;return!(Re<sn)}function me(){}function Ao(Re){if(Re<0||Re>125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");return}Re>0?sn=Math.floor(1e3/Re):sn=l}var mo=function(){if(nn!==null){var Re=n.unstable_now();Nn=Re;var Je=!0,vt=!0;try{vt=nn(Je,Re)}finally{vt?xo():(Gt=!1,nn=null)}}else Gt=!1},xo;if(typeof Me=="function")xo=function(){Me(mo)};else if(typeof MessageChannel<"u"){var ds=new MessageChannel,ni=ds.port2;ds.port1.onmessage=mo,xo=function(){ni.postMessage(null)}}else xo=function(){Qn(mo,0)};function Tr(Re){nn=Re,Gt||(Gt=!0,xo())}function ms(Re,Je){Nt=Qn(function(){Re(n.unstable_now())},Je)}function ar(){Se(Nt),Nt=-1}var fo=me,Iu=null;n.unstable_IdlePriority=x,n.unstable_ImmediatePriority=_,n.unstable_LowPriority=L,n.unstable_NormalPriority=O,n.unstable_Profiling=Iu,n.unstable_UserBlockingPriority=N,n.unstable_cancelCallback=Yt,n.unstable_continueExecution=ut,n.unstable_forceFrameRate=Ao,n.unstable_getCurrentPriorityLevel=In,n.unstable_getFirstCallbackNode=_t,n.unstable_next=Ye,n.unstable_pauseExecution=tt,n.unstable_requestPaint=fo,n.unstable_runWithPriority=pe,n.unstable_scheduleCallback=lt,n.unstable_shouldYield=Wr,n.unstable_wrapCallback=gt,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()}(Xb)),Xb}var ek;function fC(){return ek||(ek=1,C0.env.NODE_ENV==="production"?N5.exports=RV():N5.exports=OV()),N5.exports}/**
37
+ * @license React
38
+ * react-dom.production.min.js
39
+ *
40
+ * Copyright (c) Facebook, Inc. and its affiliates.
41
+ *
42
+ * This source code is licensed under the MIT license found in the
43
+ * LICENSE file in the root directory of this source tree.
44
+ */var tk;function LV(){if(tk)return $r;tk=1;var n=W,a=fC();function o(r){for(var s="https://reactjs.org/docs/error-decoder.html?invariant="+r,d=1;d<arguments.length;d++)s+="&args[]="+encodeURIComponent(arguments[d]);return"Minified React error #"+r+"; visit "+s+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var l=new Set,c={};function p(r,s){f(r,s),f(r+"Capture",s)}function f(r,s){for(c[r]=s,r=0;r<s.length;r++)l.add(s[r])}var y=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),b=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]*$/,_={},N={};function O(r){return b.call(N,r)?!0:b.call(_,r)?!1:C.test(r)?N[r]=!0:(_[r]=!0,!1)}function L(r,s,d,h){if(d!==null&&d.type===0)return!1;switch(typeof s){case"function":case"symbol":return!0;case"boolean":return h?!1:d!==null?!d.acceptsBooleans:(r=r.toLowerCase().slice(0,5),r!=="data-"&&r!=="aria-");default:return!1}}function x(r,s,d,h){if(s===null||typeof s>"u"||L(r,s,d,h))return!0;if(h)return!1;if(d!==null)switch(d.type){case 3:return!s;case 4:return s===!1;case 5:return isNaN(s);case 6:return isNaN(s)||1>s}return!1}function D(r,s,d,h,v,S,R){this.acceptsBooleans=s===2||s===3||s===4,this.attributeName=h,this.attributeNamespace=v,this.mustUseProperty=d,this.propertyName=r,this.type=s,this.sanitizeURL=S,this.removeEmptyString=R}var B={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(r){B[r]=new D(r,0,!1,r,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(r){var s=r[0];B[s]=new D(s,1,!1,r[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(r){B[r]=new D(r,2,!1,r.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(r){B[r]=new D(r,2,!1,r,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(r){B[r]=new D(r,3,!1,r.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(r){B[r]=new D(r,3,!0,r,null,!1,!1)}),["capture","download"].forEach(function(r){B[r]=new D(r,4,!1,r,null,!1,!1)}),["cols","rows","size","span"].forEach(function(r){B[r]=new D(r,6,!1,r,null,!1,!1)}),["rowSpan","start"].forEach(function(r){B[r]=new D(r,5,!1,r.toLowerCase(),null,!1,!1)});var V=/[\-:]([a-z])/g;function Q(r){return r[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(r){var s=r.replace(V,Q);B[s]=new D(s,1,!1,r,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(r){var s=r.replace(V,Q);B[s]=new D(s,1,!1,r,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(r){var s=r.replace(V,Q);B[s]=new D(s,1,!1,r,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(r){B[r]=new D(r,1,!1,r.toLowerCase(),null,!1,!1)}),B.xlinkHref=new D("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(r){B[r]=new D(r,1,!1,r.toLowerCase(),null,!0,!0)});function K(r,s,d,h){var v=B.hasOwnProperty(s)?B[s]:null;(v!==null?v.type!==0:h||!(2<s.length)||s[0]!=="o"&&s[0]!=="O"||s[1]!=="n"&&s[1]!=="N")&&(x(s,d,v,h)&&(d=null),h||v===null?O(s)&&(d===null?r.removeAttribute(s):r.setAttribute(s,""+d)):v.mustUseProperty?r[v.propertyName]=d===null?v.type===3?!1:"":d:(s=v.attributeName,h=v.attributeNamespace,d===null?r.removeAttribute(s):(v=v.type,d=v===3||v===4&&d===!0?"":""+d,h?r.setAttributeNS(h,s,d):r.setAttribute(s,d))))}var re=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,te=Symbol.for("react.element"),ue=Symbol.for("react.portal"),oe=Symbol.for("react.fragment"),Ne=Symbol.for("react.strict_mode"),de=Symbol.for("react.profiler"),Fe=Symbol.for("react.provider"),De=Symbol.for("react.context"),Pe=Symbol.for("react.forward_ref"),ke=Symbol.for("react.suspense"),$e=Symbol.for("react.suspense_list"),it=Symbol.for("react.memo"),Rt=Symbol.for("react.lazy"),Qn=Symbol.for("react.offscreen"),Se=Symbol.iterator;function Me(r){return r===null||typeof r!="object"?null:(r=Se&&r[Se]||r["@@iterator"],typeof r=="function"?r:null)}var Ce=Object.assign,dt;function z(r){if(dt===void 0)try{throw Error()}catch(d){var s=d.stack.trim().match(/\n( *(at )?)/);dt=s&&s[1]||""}return`
45
+ `+dt+r}var se=!1;function pe(r,s){if(!r||se)return"";se=!0;var d=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(s)if(s=function(){throw Error()},Object.defineProperty(s.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(s,[])}catch(ne){var h=ne}Reflect.construct(r,[],s)}else{try{s.call()}catch(ne){h=ne}r.call(s.prototype)}else{try{throw Error()}catch(ne){h=ne}r()}}catch(ne){if(ne&&h&&typeof ne.stack=="string"){for(var v=ne.stack.split(`
46
+ `),S=h.stack.split(`
47
+ `),R=v.length-1,F=S.length-1;1<=R&&0<=F&&v[R]!==S[F];)F--;for(;1<=R&&0<=F;R--,F--)if(v[R]!==S[F]){if(R!==1||F!==1)do if(R--,F--,0>F||v[R]!==S[F]){var $=`
48
+ `+v[R].replace(" at new "," at ");return r.displayName&&$.includes("<anonymous>")&&($=$.replace("<anonymous>",r.displayName)),$}while(1<=R&&0<=F);break}}}finally{se=!1,Error.prepareStackTrace=d}return(r=r?r.displayName||r.name:"")?z(r):""}function Ye(r){switch(r.tag){case 5:return z(r.type);case 16:return z("Lazy");case 13:return z("Suspense");case 19:return z("SuspenseList");case 0:case 2:case 15:return r=pe(r.type,!1),r;case 11:return r=pe(r.type.render,!1),r;case 1:return r=pe(r.type,!0),r;default:return""}}function gt(r){if(r==null)return null;if(typeof r=="function")return r.displayName||r.name||null;if(typeof r=="string")return r;switch(r){case oe:return"Fragment";case ue:return"Portal";case de:return"Profiler";case Ne:return"StrictMode";case ke:return"Suspense";case $e:return"SuspenseList"}if(typeof r=="object")switch(r.$$typeof){case De:return(r.displayName||"Context")+".Consumer";case Fe:return(r._context.displayName||"Context")+".Provider";case Pe:var s=r.render;return r=r.displayName,r||(r=s.displayName||s.name||"",r=r!==""?"ForwardRef("+r+")":"ForwardRef"),r;case it:return s=r.displayName||null,s!==null?s:gt(r.type)||"Memo";case Rt:s=r._payload,r=r._init;try{return gt(r(s))}catch{}}return null}function lt(r){var s=r.type;switch(r.tag){case 24:return"Cache";case 9:return(s.displayName||"Context")+".Consumer";case 10:return(s._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return r=s.render,r=r.displayName||r.name||"",s.displayName||(r!==""?"ForwardRef("+r+")":"ForwardRef");case 7:return"Fragment";case 5:return s;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return gt(s);case 8:return s===Ne?"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 s=="function")return s.displayName||s.name||null;if(typeof s=="string")return s}return null}function tt(r){switch(typeof r){case"boolean":case"number":case"string":case"undefined":return r;case"object":return r;default:return""}}function ut(r){var s=r.type;return(r=r.nodeName)&&r.toLowerCase()==="input"&&(s==="checkbox"||s==="radio")}function _t(r){var s=ut(r)?"checked":"value",d=Object.getOwnPropertyDescriptor(r.constructor.prototype,s),h=""+r[s];if(!r.hasOwnProperty(s)&&typeof d<"u"&&typeof d.get=="function"&&typeof d.set=="function"){var v=d.get,S=d.set;return Object.defineProperty(r,s,{configurable:!0,get:function(){return v.call(this)},set:function(R){h=""+R,S.call(this,R)}}),Object.defineProperty(r,s,{enumerable:d.enumerable}),{getValue:function(){return h},setValue:function(R){h=""+R},stopTracking:function(){r._valueTracker=null,delete r[s]}}}}function Yt(r){r._valueTracker||(r._valueTracker=_t(r))}function In(r){if(!r)return!1;var s=r._valueTracker;if(!s)return!0;var d=s.getValue(),h="";return r&&(h=ut(r)?r.checked?"true":"false":r.value),r=h,r!==d?(s.setValue(r),!0):!1}function Gt(r){if(r=r||(typeof document<"u"?document:void 0),typeof r>"u")return null;try{return r.activeElement||r.body}catch{return r.body}}function nn(r,s){var d=s.checked;return Ce({},s,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:d??r._wrapperState.initialChecked})}function Nt(r,s){var d=s.defaultValue==null?"":s.defaultValue,h=s.checked!=null?s.checked:s.defaultChecked;d=tt(s.value!=null?s.value:d),r._wrapperState={initialChecked:h,initialValue:d,controlled:s.type==="checkbox"||s.type==="radio"?s.checked!=null:s.value!=null}}function sn(r,s){s=s.checked,s!=null&&K(r,"checked",s,!1)}function Nn(r,s){sn(r,s);var d=tt(s.value),h=s.type;if(d!=null)h==="number"?(d===0&&r.value===""||r.value!=d)&&(r.value=""+d):r.value!==""+d&&(r.value=""+d);else if(h==="submit"||h==="reset"){r.removeAttribute("value");return}s.hasOwnProperty("value")?me(r,s.type,d):s.hasOwnProperty("defaultValue")&&me(r,s.type,tt(s.defaultValue)),s.checked==null&&s.defaultChecked!=null&&(r.defaultChecked=!!s.defaultChecked)}function Wr(r,s,d){if(s.hasOwnProperty("value")||s.hasOwnProperty("defaultValue")){var h=s.type;if(!(h!=="submit"&&h!=="reset"||s.value!==void 0&&s.value!==null))return;s=""+r._wrapperState.initialValue,d||s===r.value||(r.value=s),r.defaultValue=s}d=r.name,d!==""&&(r.name=""),r.defaultChecked=!!r._wrapperState.initialChecked,d!==""&&(r.name=d)}function me(r,s,d){(s!=="number"||Gt(r.ownerDocument)!==r)&&(d==null?r.defaultValue=""+r._wrapperState.initialValue:r.defaultValue!==""+d&&(r.defaultValue=""+d))}var Ao=Array.isArray;function mo(r,s,d,h){if(r=r.options,s){s={};for(var v=0;v<d.length;v++)s["$"+d[v]]=!0;for(d=0;d<r.length;d++)v=s.hasOwnProperty("$"+r[d].value),r[d].selected!==v&&(r[d].selected=v),v&&h&&(r[d].defaultSelected=!0)}else{for(d=""+tt(d),s=null,v=0;v<r.length;v++){if(r[v].value===d){r[v].selected=!0,h&&(r[v].defaultSelected=!0);return}s!==null||r[v].disabled||(s=r[v])}s!==null&&(s.selected=!0)}}function xo(r,s){if(s.dangerouslySetInnerHTML!=null)throw Error(o(91));return Ce({},s,{value:void 0,defaultValue:void 0,children:""+r._wrapperState.initialValue})}function ds(r,s){var d=s.value;if(d==null){if(d=s.children,s=s.defaultValue,d!=null){if(s!=null)throw Error(o(92));if(Ao(d)){if(1<d.length)throw Error(o(93));d=d[0]}s=d}s==null&&(s=""),d=s}r._wrapperState={initialValue:tt(d)}}function ni(r,s){var d=tt(s.value),h=tt(s.defaultValue);d!=null&&(d=""+d,d!==r.value&&(r.value=d),s.defaultValue==null&&r.defaultValue!==d&&(r.defaultValue=d)),h!=null&&(r.defaultValue=""+h)}function Tr(r){var s=r.textContent;s===r._wrapperState.initialValue&&s!==""&&s!==null&&(r.value=s)}function ms(r){switch(r){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 ar(r,s){return r==null||r==="http://www.w3.org/1999/xhtml"?ms(s):r==="http://www.w3.org/2000/svg"&&s==="foreignObject"?"http://www.w3.org/1999/xhtml":r}var fo,Iu=function(r){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(s,d,h,v){MSApp.execUnsafeLocalFunction(function(){return r(s,d,h,v)})}:r}(function(r,s){if(r.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in r)r.innerHTML=s;else{for(fo=fo||document.createElement("div"),fo.innerHTML="<svg>"+s.valueOf().toString()+"</svg>",s=fo.firstChild;r.firstChild;)r.removeChild(r.firstChild);for(;s.firstChild;)r.appendChild(s.firstChild)}});function Re(r,s){if(s){var d=r.firstChild;if(d&&d===r.lastChild&&d.nodeType===3){d.nodeValue=s;return}}r.textContent=s}var Je={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},vt=["Webkit","ms","Moz","O"];Object.keys(Je).forEach(function(r){vt.forEach(function(s){s=s+r.charAt(0).toUpperCase()+r.substring(1),Je[s]=Je[r]})});function qt(r,s,d){return s==null||typeof s=="boolean"||s===""?"":d||typeof s!="number"||s===0||Je.hasOwnProperty(r)&&Je[r]?(""+s).trim():s+"px"}function ln(r,s){r=r.style;for(var d in s)if(s.hasOwnProperty(d)){var h=d.indexOf("--")===0,v=qt(d,s[d],h);d==="float"&&(d="cssFloat"),h?r.setProperty(d,v):r[d]=v}}var Ba=Ce({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 Rn(r,s){if(s){if(Ba[r]&&(s.children!=null||s.dangerouslySetInnerHTML!=null))throw Error(o(137,r));if(s.dangerouslySetInnerHTML!=null){if(s.children!=null)throw Error(o(60));if(typeof s.dangerouslySetInnerHTML!="object"||!("__html"in s.dangerouslySetInnerHTML))throw Error(o(61))}if(s.style!=null&&typeof s.style!="object")throw Error(o(62))}}function Qr(r,s){if(r.indexOf("-")===-1)return typeof s.is=="string";switch(r){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 vn=null;function br(r){return r=r.target||r.srcElement||window,r.correspondingUseElement&&(r=r.correspondingUseElement),r.nodeType===3?r.parentNode:r}var Nu=null,Tn=null,un=null;function v2(r){if(r=Ju(r)){if(typeof Nu!="function")throw Error(o(280));var s=r.stateNode;s&&(s=Xe(s),Nu(r.stateNode,r.type,s))}}function rd(r){Tn?un?un.push(r):un=[r]:Tn=r}function od(){if(Tn){var r=Tn,s=un;if(un=Tn=null,v2(r),s)for(r=0;r<s.length;r++)v2(s[r])}}function T2(r,s){return r(s)}function b2(){}var sd=!1;function L0(r,s,d){if(sd)return r(s,d);sd=!0;try{return T2(r,s,d)}finally{sd=!1,(Tn!==null||un!==null)&&(b2(),od())}}function Ru(r,s){var d=r.stateNode;if(d===null)return null;var h=Xe(d);if(h===null)return null;d=h[s];e:switch(s){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(h=!h.disabled)||(r=r.type,h=!(r==="button"||r==="input"||r==="select"||r==="textarea")),r=!h;break e;default:r=!1}if(r)return null;if(d&&typeof d!="function")throw Error(o(231,s,typeof d));return d}var id=!1;if(y)try{var ai={};Object.defineProperty(ai,"passive",{get:function(){id=!0}}),window.addEventListener("test",ai,ai),window.removeEventListener("test",ai,ai)}catch{id=!1}function ll(r,s,d,h,v,S,R,F,$){var ne=Array.prototype.slice.call(arguments,3);try{s.apply(d,ne)}catch(ye){this.onError(ye)}}var Yr=!1,Po=null,ul=!1,Ou=null,A0={onError:function(r){Yr=!0,Po=r}};function x0(r,s,d,h,v,S,R,F,$){Yr=!1,Po=null,ll.apply(A0,arguments)}function cl(r,s,d,h,v,S,R,F,$){if(x0.apply(this,arguments),Yr){if(Yr){var ne=Po;Yr=!1,Po=null}else throw Error(o(198));ul||(ul=!0,Ou=ne)}}function po(r){var s=r,d=r;if(r.alternate)for(;s.return;)s=s.return;else{r=s;do s=r,s.flags&4098&&(d=s.return),r=s.return;while(r)}return s.tag===3?d:null}function Lu(r){if(r.tag===13){var s=r.memoizedState;if(s===null&&(r=r.alternate,r!==null&&(s=r.memoizedState)),s!==null)return s.dehydrated}return null}function dl(r){if(po(r)!==r)throw Error(o(188))}function Ea(r){var s=r.alternate;if(!s){if(s=po(r),s===null)throw Error(o(188));return s!==r?null:r}for(var d=r,h=s;;){var v=d.return;if(v===null)break;var S=v.alternate;if(S===null){if(h=v.return,h!==null){d=h;continue}break}if(v.child===S.child){for(S=v.child;S;){if(S===d)return dl(v),r;if(S===h)return dl(v),s;S=S.sibling}throw Error(o(188))}if(d.return!==h.return)d=v,h=S;else{for(var R=!1,F=v.child;F;){if(F===d){R=!0,d=v,h=S;break}if(F===h){R=!0,h=v,d=S;break}F=F.sibling}if(!R){for(F=S.child;F;){if(F===d){R=!0,d=S,h=v;break}if(F===h){R=!0,h=S,d=v;break}F=F.sibling}if(!R)throw Error(o(189))}}if(d.alternate!==h)throw Error(o(190))}if(d.tag!==3)throw Error(o(188));return d.stateNode.current===d?r:s}function k2(r){return r=Ea(r),r!==null?S2(r):null}function S2(r){if(r.tag===5||r.tag===6)return r;for(r=r.child;r!==null;){var s=S2(r);if(s!==null)return s;r=r.sibling}return null}var P0=a.unstable_scheduleCallback,w2=a.unstable_cancelCallback,j6=a.unstable_shouldYield,$6=a.unstable_requestPaint,cn=a.unstable_now,z6=a.unstable_getCurrentPriorityLevel,Mo=a.unstable_ImmediatePriority,Ct=a.unstable_UserBlockingPriority,fs=a.unstable_NormalPriority,C2=a.unstable_LowPriority,M0=a.unstable_IdlePriority,Au=null,Kr=null;function E2(r){if(Kr&&typeof Kr.onCommitFiberRoot=="function")try{Kr.onCommitFiberRoot(Au,r,void 0,(r.current.flags&128)===128)}catch{}}var kr=Math.clz32?Math.clz32:H6,_2=Math.log,I2=Math.LN2;function H6(r){return r>>>=0,r===0?32:31-(_2(r)/I2|0)|0}var ld=64,ml=4194304;function ri(r){switch(r&-r){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 r&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return r&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return r}}function Zr(r,s){var d=r.pendingLanes;if(d===0)return 0;var h=0,v=r.suspendedLanes,S=r.pingedLanes,R=d&268435455;if(R!==0){var F=R&~v;F!==0?h=ri(F):(S&=R,S!==0&&(h=ri(S)))}else R=d&~v,R!==0?h=ri(R):S!==0&&(h=ri(S));if(h===0)return 0;if(s!==0&&s!==h&&!(s&v)&&(v=h&-h,S=s&-s,v>=S||v===16&&(S&4194240)!==0))return s;if(h&4&&(h|=d&16),s=r.entangledLanes,s!==0)for(r=r.entanglements,s&=h;0<s;)d=31-kr(s),v=1<<d,h|=r[d],s&=~v;return h}function D0(r,s){switch(r){case 1:case 2:case 4:return s+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 s+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 ud(r,s){for(var d=r.suspendedLanes,h=r.pingedLanes,v=r.expirationTimes,S=r.pendingLanes;0<S;){var R=31-kr(S),F=1<<R,$=v[R];$===-1?(!(F&d)||F&h)&&(v[R]=D0(F,s)):$<=s&&(r.expiredLanes|=F),S&=~F}}function U0(r){return r=r.pendingLanes&-1073741825,r!==0?r:r&1073741824?1073741824:0}function cd(){var r=ld;return ld<<=1,!(ld&4194240)&&(ld=64),r}function F0(r){for(var s=[],d=0;31>d;d++)s.push(r);return s}function oi(r,s,d){r.pendingLanes|=s,s!==536870912&&(r.suspendedLanes=0,r.pingedLanes=0),r=r.eventTimes,s=31-kr(s),r[s]=d}function G6(r,s){var d=r.pendingLanes&~s;r.pendingLanes=s,r.suspendedLanes=0,r.pingedLanes=0,r.expiredLanes&=s,r.mutableReadLanes&=s,r.entangledLanes&=s,s=r.entanglements;var h=r.eventTimes;for(r=r.expirationTimes;0<d;){var v=31-kr(d),S=1<<v;s[v]=0,h[v]=-1,r[v]=-1,d&=~S}}function xu(r,s){var d=r.entangledLanes|=s;for(r=r.entanglements;d;){var h=31-kr(d),v=1<<h;v&s|r[h]&s&&(r[h]|=s),d&=~v}}var Ft=0;function V0(r){return r&=-r,1<r?4<r?r&268435455?16:536870912:4:1}var N2,dd,Vt,R2,B0,ft=!1,Pu=[],bn=null,Sr=null,wr=null,Mu=new Map,On=new Map,Bt=[],q6="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 Xr(r,s){switch(r){case"focusin":case"focusout":bn=null;break;case"dragenter":case"dragleave":Sr=null;break;case"mouseover":case"mouseout":wr=null;break;case"pointerover":case"pointerout":Mu.delete(s.pointerId);break;case"gotpointercapture":case"lostpointercapture":On.delete(s.pointerId)}}function ma(r,s,d,h,v,S){return r===null||r.nativeEvent!==S?(r={blockedOn:s,domEventName:d,eventSystemFlags:h,nativeEvent:S,targetContainers:[v]},s!==null&&(s=Ju(s),s!==null&&dd(s)),r):(r.eventSystemFlags|=h,s=r.targetContainers,v!==null&&s.indexOf(v)===-1&&s.push(v),r)}function ps(r,s,d,h,v){switch(s){case"focusin":return bn=ma(bn,r,s,d,h,v),!0;case"dragenter":return Sr=ma(Sr,r,s,d,h,v),!0;case"mouseover":return wr=ma(wr,r,s,d,h,v),!0;case"pointerover":var S=v.pointerId;return Mu.set(S,ma(Mu.get(S)||null,r,s,d,h,v)),!0;case"gotpointercapture":return S=v.pointerId,On.set(S,ma(On.get(S)||null,r,s,d,h,v)),!0}return!1}function O2(r){var s=Er(r.target);if(s!==null){var d=po(s);if(d!==null){if(s=d.tag,s===13){if(s=Lu(d),s!==null){r.blockedOn=s,B0(r.priority,function(){Vt(d)});return}}else if(s===3&&d.stateNode.current.memoizedState.isDehydrated){r.blockedOn=d.tag===3?d.stateNode.containerInfo:null;return}}}r.blockedOn=null}function fl(r){if(r.blockedOn!==null)return!1;for(var s=r.targetContainers;0<s.length;){var d=pd(r.domEventName,r.eventSystemFlags,s[0],r.nativeEvent);if(d===null){d=r.nativeEvent;var h=new d.constructor(d.type,d);vn=h,d.target.dispatchEvent(h),vn=null}else return s=Ju(d),s!==null&&dd(s),r.blockedOn=d,!1;s.shift()}return!0}function j0(r,s,d){fl(r)&&d.delete(s)}function L2(){ft=!1,bn!==null&&fl(bn)&&(bn=null),Sr!==null&&fl(Sr)&&(Sr=null),wr!==null&&fl(wr)&&(wr=null),Mu.forEach(j0),On.forEach(j0)}function Du(r,s){r.blockedOn===s&&(r.blockedOn=null,ft||(ft=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,L2)))}function Uu(r){function s(v){return Du(v,r)}if(0<Pu.length){Du(Pu[0],r);for(var d=1;d<Pu.length;d++){var h=Pu[d];h.blockedOn===r&&(h.blockedOn=null)}}for(bn!==null&&Du(bn,r),Sr!==null&&Du(Sr,r),wr!==null&&Du(wr,r),Mu.forEach(s),On.forEach(s),d=0;d<Bt.length;d++)h=Bt[d],h.blockedOn===r&&(h.blockedOn=null);for(;0<Bt.length&&(d=Bt[0],d.blockedOn===null);)O2(d),d.blockedOn===null&&Bt.shift()}var pl=re.ReactCurrentBatchConfig,si=!0;function A2(r,s,d,h){var v=Ft,S=pl.transition;pl.transition=null;try{Ft=1,fd(r,s,d,h)}finally{Ft=v,pl.transition=S}}function md(r,s,d,h){var v=Ft,S=pl.transition;pl.transition=null;try{Ft=4,fd(r,s,d,h)}finally{Ft=v,pl.transition=S}}function fd(r,s,d,h){if(si){var v=pd(r,s,d,h);if(v===null)_d(r,s,h,Fu,d),Xr(r,h);else if(ps(v,r,s,d,h))h.stopPropagation();else if(Xr(r,h),s&4&&-1<q6.indexOf(r)){for(;v!==null;){var S=Ju(v);if(S!==null&&N2(S),S=pd(r,s,d,h),S===null&&_d(r,s,h,Fu,d),S===v)break;v=S}v!==null&&h.stopPropagation()}else _d(r,s,h,null,d)}}var Fu=null;function pd(r,s,d,h){if(Fu=null,r=br(h),r=Er(r),r!==null)if(s=po(r),s===null)r=null;else if(d=s.tag,d===13){if(r=Lu(s),r!==null)return r;r=null}else if(d===3){if(s.stateNode.current.memoizedState.isDehydrated)return s.tag===3?s.stateNode.containerInfo:null;r=null}else s!==r&&(r=null);return Fu=r,null}function $0(r){switch(r){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(z6()){case Mo:return 1;case Ct:return 4;case fs:case C2:return 16;case M0:return 536870912;default:return 16}default:return 16}}var Do=null,Vu=null,Bu=null;function z0(){if(Bu)return Bu;var r,s=Vu,d=s.length,h,v="value"in Do?Do.value:Do.textContent,S=v.length;for(r=0;r<d&&s[r]===v[r];r++);var R=d-r;for(h=1;h<=R&&s[d-h]===v[S-h];h++);return Bu=v.slice(r,1<h?1-h:void 0)}function hl(r){var s=r.keyCode;return"charCode"in r?(r=r.charCode,r===0&&s===13&&(r=13)):r=s,r===10&&(r=13),32<=r||r===13?r:0}function ju(){return!0}function x2(){return!1}function rr(r){function s(d,h,v,S,R){this._reactName=d,this._targetInst=v,this.type=h,this.nativeEvent=S,this.target=R,this.currentTarget=null;for(var F in r)r.hasOwnProperty(F)&&(d=r[F],this[F]=d?d(S):S[F]);return this.isDefaultPrevented=(S.defaultPrevented!=null?S.defaultPrevented:S.returnValue===!1)?ju:x2,this.isPropagationStopped=x2,this}return Ce(s.prototype,{preventDefault:function(){this.defaultPrevented=!0;var d=this.nativeEvent;d&&(d.preventDefault?d.preventDefault():typeof d.returnValue!="unknown"&&(d.returnValue=!1),this.isDefaultPrevented=ju)},stopPropagation:function(){var d=this.nativeEvent;d&&(d.stopPropagation?d.stopPropagation():typeof d.cancelBubble!="unknown"&&(d.cancelBubble=!0),this.isPropagationStopped=ju)},persist:function(){},isPersistent:ju}),s}var hs={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(r){return r.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},hd=rr(hs),gl=Ce({},hs,{view:0,detail:0}),P2=rr(gl),gd,H0,$u,Bn=Ce({},gl,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Q0,button:0,buttons:0,relatedTarget:function(r){return r.relatedTarget===void 0?r.fromElement===r.srcElement?r.toElement:r.fromElement:r.relatedTarget},movementX:function(r){return"movementX"in r?r.movementX:(r!==$u&&($u&&r.type==="mousemove"?(gd=r.screenX-$u.screenX,H0=r.screenY-$u.screenY):H0=gd=0,$u=r),gd)},movementY:function(r){return"movementY"in r?r.movementY:H0}}),yd=rr(Bn),M2=Ce({},Bn,{dataTransfer:0}),D2=rr(M2),W6=Ce({},gl,{relatedTarget:0}),gs=rr(W6),G0=Ce({},hs,{animationName:0,elapsedTime:0,pseudoElement:0}),U2=rr(G0),Q6=Ce({},hs,{clipboardData:function(r){return"clipboardData"in r?r.clipboardData:window.clipboardData}}),Y6=rr(Q6),K6=Ce({},hs,{data:0}),q0=rr(K6),W0={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},F2={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"},V2={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function B2(r){var s=this.nativeEvent;return s.getModifierState?s.getModifierState(r):(r=V2[r])?!!s[r]:!1}function Q0(){return B2}var Uo=Ce({},gl,{key:function(r){if(r.key){var s=W0[r.key]||r.key;if(s!=="Unidentified")return s}return r.type==="keypress"?(r=hl(r),r===13?"Enter":String.fromCharCode(r)):r.type==="keydown"||r.type==="keyup"?F2[r.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Q0,charCode:function(r){return r.type==="keypress"?hl(r):0},keyCode:function(r){return r.type==="keydown"||r.type==="keyup"?r.keyCode:0},which:function(r){return r.type==="keypress"?hl(r):r.type==="keydown"||r.type==="keyup"?r.keyCode:0}}),Z6=rr(Uo),Y0=Ce({},Bn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),vd=rr(Y0),K0=Ce({},gl,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Q0}),X6=rr(K0),Td=Ce({},hs,{propertyName:0,elapsedTime:0,pseudoElement:0}),j2=rr(Td),ja=Ce({},Bn,{deltaX:function(r){return"deltaX"in r?r.deltaX:"wheelDeltaX"in r?-r.wheelDeltaX:0},deltaY:function(r){return"deltaY"in r?r.deltaY:"wheelDeltaY"in r?-r.wheelDeltaY:"wheelDelta"in r?-r.wheelDelta:0},deltaZ:0,deltaMode:0}),Fo=rr(ja),kn=[9,13,27,32],Jr=y&&"CompositionEvent"in window,ii=null;y&&"documentMode"in document&&(ii=document.documentMode);var bd=y&&"TextEvent"in window&&!ii,$2=y&&(!Jr||ii&&8<ii&&11>=ii),yl=" ",z2=!1;function H2(r,s){switch(r){case"keyup":return kn.indexOf(s.keyCode)!==-1;case"keydown":return s.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function kd(r){return r=r.detail,typeof r=="object"&&"data"in r?r.data:null}var vl=!1;function J6(r,s){switch(r){case"compositionend":return kd(s);case"keypress":return s.which!==32?null:(z2=!0,yl);case"textInput":return r=s.data,r===yl&&z2?null:r;default:return null}}function e8(r,s){if(vl)return r==="compositionend"||!Jr&&H2(r,s)?(r=z0(),Bu=Vu=Do=null,vl=!1,r):null;switch(r){case"paste":return null;case"keypress":if(!(s.ctrlKey||s.altKey||s.metaKey)||s.ctrlKey&&s.altKey){if(s.char&&1<s.char.length)return s.char;if(s.which)return String.fromCharCode(s.which)}return null;case"compositionend":return $2&&s.locale!=="ko"?null:s.data;default:return null}}var G2={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 q2(r){var s=r&&r.nodeName&&r.nodeName.toLowerCase();return s==="input"?!!G2[r.type]:s==="textarea"}function W2(r,s,d,h){rd(h),s=Ku(s,"onChange"),0<s.length&&(d=new hd("onChange","change",null,d,h),r.push({event:d,listeners:s}))}var zu=null,Tl=null;function bl(r){Ed(r,0)}function kl(r){var s=wl(r);if(In(s))return r}function Q2(r,s){if(r==="change")return s}var Z0=!1;if(y){var X0;if(y){var J0="oninput"in document;if(!J0){var Y2=document.createElement("div");Y2.setAttribute("oninput","return;"),J0=typeof Y2.oninput=="function"}X0=J0}else X0=!1;Z0=X0&&(!document.documentMode||9<document.documentMode)}function K2(){zu&&(zu.detachEvent("onpropertychange",Z2),Tl=zu=null)}function Z2(r){if(r.propertyName==="value"&&kl(Tl)){var s=[];W2(s,Tl,r,br(r)),L0(bl,s)}}function t8(r,s,d){r==="focusin"?(K2(),zu=s,Tl=d,zu.attachEvent("onpropertychange",Z2)):r==="focusout"&&K2()}function n8(r){if(r==="selectionchange"||r==="keyup"||r==="keydown")return kl(Tl)}function a8(r,s){if(r==="click")return kl(s)}function X2(r,s){if(r==="input"||r==="change")return kl(s)}function r8(r,s){return r===s&&(r!==0||1/r===1/s)||r!==r&&s!==s}var Cr=typeof Object.is=="function"?Object.is:r8;function Hu(r,s){if(Cr(r,s))return!0;if(typeof r!="object"||r===null||typeof s!="object"||s===null)return!1;var d=Object.keys(r),h=Object.keys(s);if(d.length!==h.length)return!1;for(h=0;h<d.length;h++){var v=d[h];if(!b.call(s,v)||!Cr(r[v],s[v]))return!1}return!0}function J2(r){for(;r&&r.firstChild;)r=r.firstChild;return r}function ep(r,s){var d=J2(r);r=0;for(var h;d;){if(d.nodeType===3){if(h=r+d.textContent.length,r<=s&&h>=s)return{node:d,offset:s-r};r=h}e:{for(;d;){if(d.nextSibling){d=d.nextSibling;break e}d=d.parentNode}d=void 0}d=J2(d)}}function tp(r,s){return r&&s?r===s?!0:r&&r.nodeType===3?!1:s&&s.nodeType===3?tp(r,s.parentNode):"contains"in r?r.contains(s):r.compareDocumentPosition?!!(r.compareDocumentPosition(s)&16):!1:!1}function Sd(){for(var r=window,s=Gt();s instanceof r.HTMLIFrameElement;){try{var d=typeof s.contentWindow.location.href=="string"}catch{d=!1}if(d)r=s.contentWindow;else break;s=Gt(r.document)}return s}function Vo(r){var s=r&&r.nodeName&&r.nodeName.toLowerCase();return s&&(s==="input"&&(r.type==="text"||r.type==="search"||r.type==="tel"||r.type==="url"||r.type==="password")||s==="textarea"||r.contentEditable==="true")}function wd(r){var s=Sd(),d=r.focusedElem,h=r.selectionRange;if(s!==d&&d&&d.ownerDocument&&tp(d.ownerDocument.documentElement,d)){if(h!==null&&Vo(d)){if(s=h.start,r=h.end,r===void 0&&(r=s),"selectionStart"in d)d.selectionStart=s,d.selectionEnd=Math.min(r,d.value.length);else if(r=(s=d.ownerDocument||document)&&s.defaultView||window,r.getSelection){r=r.getSelection();var v=d.textContent.length,S=Math.min(h.start,v);h=h.end===void 0?S:Math.min(h.end,v),!r.extend&&S>h&&(v=h,h=S,S=v),v=ep(d,S);var R=ep(d,h);v&&R&&(r.rangeCount!==1||r.anchorNode!==v.node||r.anchorOffset!==v.offset||r.focusNode!==R.node||r.focusOffset!==R.offset)&&(s=s.createRange(),s.setStart(v.node,v.offset),r.removeAllRanges(),S>h?(r.addRange(s),r.extend(R.node,R.offset)):(s.setEnd(R.node,R.offset),r.addRange(s)))}}for(s=[],r=d;r=r.parentNode;)r.nodeType===1&&s.push({element:r,left:r.scrollLeft,top:r.scrollTop});for(typeof d.focus=="function"&&d.focus(),d=0;d<s.length;d++)r=s[d],r.element.scrollLeft=r.left,r.element.scrollTop=r.top}}var np=y&&"documentMode"in document&&11>=document.documentMode,eo=null,em=null,Gu=null,tm=!1;function ap(r,s,d){var h=d.window===d?d.document:d.nodeType===9?d:d.ownerDocument;tm||eo==null||eo!==Gt(h)||(h=eo,"selectionStart"in h&&Vo(h)?h={start:h.selectionStart,end:h.selectionEnd}:(h=(h.ownerDocument&&h.ownerDocument.defaultView||window).getSelection(),h={anchorNode:h.anchorNode,anchorOffset:h.anchorOffset,focusNode:h.focusNode,focusOffset:h.focusOffset}),Gu&&Hu(Gu,h)||(Gu=h,h=Ku(em,"onSelect"),0<h.length&&(s=new hd("onSelect","select",null,s,d),r.push({event:s,listeners:h}),s.target=eo)))}function Cd(r,s){var d={};return d[r.toLowerCase()]=s.toLowerCase(),d["Webkit"+r]="webkit"+s,d["Moz"+r]="moz"+s,d}var li={animationend:Cd("Animation","AnimationEnd"),animationiteration:Cd("Animation","AnimationIteration"),animationstart:Cd("Animation","AnimationStart"),transitionend:Cd("Transition","TransitionEnd")},nm={},am={};y&&(am=document.createElement("div").style,"AnimationEvent"in window||(delete li.animationend.animation,delete li.animationiteration.animation,delete li.animationstart.animation),"TransitionEvent"in window||delete li.transitionend.transition);function jn(r){if(nm[r])return nm[r];if(!li[r])return r;var s=li[r],d;for(d in s)if(s.hasOwnProperty(d)&&d in am)return nm[r]=s[d];return r}var rm=jn("animationend"),rp=jn("animationiteration"),op=jn("animationstart"),sp=jn("transitionend"),ip=new Map,lp="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 Bo(r,s){ip.set(r,s),p(s,[r])}for(var qu=0;qu<lp.length;qu++){var ui=lp[qu],o8=ui.toLowerCase(),Wu=ui[0].toUpperCase()+ui.slice(1);Bo(o8,"on"+Wu)}Bo(rm,"onAnimationEnd"),Bo(rp,"onAnimationIteration"),Bo(op,"onAnimationStart"),Bo("dblclick","onDoubleClick"),Bo("focusin","onFocus"),Bo("focusout","onBlur"),Bo(sp,"onTransitionEnd"),f("onMouseEnter",["mouseout","mouseover"]),f("onMouseLeave",["mouseout","mouseover"]),f("onPointerEnter",["pointerout","pointerover"]),f("onPointerLeave",["pointerout","pointerover"]),p("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),p("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),p("onBeforeInput",["compositionend","keypress","textInput","paste"]),p("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),p("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),p("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Qu="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(" "),s8=new Set("cancel close invalid load scroll toggle".split(" ").concat(Qu));function up(r,s,d){var h=r.type||"unknown-event";r.currentTarget=d,cl(h,s,void 0,r),r.currentTarget=null}function Ed(r,s){s=(s&4)!==0;for(var d=0;d<r.length;d++){var h=r[d],v=h.event;h=h.listeners;e:{var S=void 0;if(s)for(var R=h.length-1;0<=R;R--){var F=h[R],$=F.instance,ne=F.currentTarget;if(F=F.listener,$!==S&&v.isPropagationStopped())break e;up(v,F,ne),S=$}else for(R=0;R<h.length;R++){if(F=h[R],$=F.instance,ne=F.currentTarget,F=F.listener,$!==S&&v.isPropagationStopped())break e;up(v,F,ne),S=$}}}if(ul)throw r=Ou,ul=!1,Ou=null,r}function Ht(r,s){var d=s[dm];d===void 0&&(d=s[dm]=new Set);var h=r+"__bubble";d.has(h)||(cp(s,r,2,!1),d.add(h))}function ys(r,s,d){var h=0;s&&(h|=4),cp(d,r,h,s)}var jo="_reactListening"+Math.random().toString(36).slice(2);function Sl(r){if(!r[jo]){r[jo]=!0,l.forEach(function(d){d!=="selectionchange"&&(s8.has(d)||ys(d,!1,r),ys(d,!0,r))});var s=r.nodeType===9?r:r.ownerDocument;s===null||s[jo]||(s[jo]=!0,ys("selectionchange",!1,s))}}function cp(r,s,d,h){switch($0(s)){case 1:var v=A2;break;case 4:v=md;break;default:v=fd}d=v.bind(null,s,d,r),v=void 0,!id||s!=="touchstart"&&s!=="touchmove"&&s!=="wheel"||(v=!0),h?v!==void 0?r.addEventListener(s,d,{capture:!0,passive:v}):r.addEventListener(s,d,!0):v!==void 0?r.addEventListener(s,d,{passive:v}):r.addEventListener(s,d,!1)}function _d(r,s,d,h,v){var S=h;if(!(s&1)&&!(s&2)&&h!==null)e:for(;;){if(h===null)return;var R=h.tag;if(R===3||R===4){var F=h.stateNode.containerInfo;if(F===v||F.nodeType===8&&F.parentNode===v)break;if(R===4)for(R=h.return;R!==null;){var $=R.tag;if(($===3||$===4)&&($=R.stateNode.containerInfo,$===v||$.nodeType===8&&$.parentNode===v))return;R=R.return}for(;F!==null;){if(R=Er(F),R===null)return;if($=R.tag,$===5||$===6){h=S=R;continue e}F=F.parentNode}}h=h.return}L0(function(){var ne=S,ye=br(d),Te=[];e:{var ve=ip.get(r);if(ve!==void 0){var Le=hd,Ve=r;switch(r){case"keypress":if(hl(d)===0)break e;case"keydown":case"keyup":Le=Z6;break;case"focusin":Ve="focus",Le=gs;break;case"focusout":Ve="blur",Le=gs;break;case"beforeblur":case"afterblur":Le=gs;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":Le=yd;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":Le=D2;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":Le=X6;break;case rm:case rp:case op:Le=U2;break;case sp:Le=j2;break;case"scroll":Le=P2;break;case"wheel":Le=Fo;break;case"copy":case"cut":case"paste":Le=Y6;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":Le=vd}var ze=(s&4)!==0,hn=!ze&&r==="scroll",Y=ze?ve!==null?ve+"Capture":null:ve;ze=[];for(var G=ne,J;G!==null;){J=G;var we=J.stateNode;if(J.tag===5&&we!==null&&(J=we,Y!==null&&(we=Ru(G,Y),we!=null&&ze.push(Yu(G,we,J)))),hn)break;G=G.return}0<ze.length&&(ve=new Le(ve,Ve,null,d,ye),Te.push({event:ve,listeners:ze}))}}if(!(s&7)){e:{if(ve=r==="mouseover"||r==="pointerover",Le=r==="mouseout"||r==="pointerout",ve&&d!==vn&&(Ve=d.relatedTarget||d.fromElement)&&(Er(Ve)||Ve[$o]))break e;if((Le||ve)&&(ve=ye.window===ye?ye:(ve=ye.ownerDocument)?ve.defaultView||ve.parentWindow:window,Le?(Ve=d.relatedTarget||d.toElement,Le=ne,Ve=Ve?Er(Ve):null,Ve!==null&&(hn=po(Ve),Ve!==hn||Ve.tag!==5&&Ve.tag!==6)&&(Ve=null)):(Le=null,Ve=ne),Le!==Ve)){if(ze=yd,we="onMouseLeave",Y="onMouseEnter",G="mouse",(r==="pointerout"||r==="pointerover")&&(ze=vd,we="onPointerLeave",Y="onPointerEnter",G="pointer"),hn=Le==null?ve:wl(Le),J=Ve==null?ve:wl(Ve),ve=new ze(we,G+"leave",Le,d,ye),ve.target=hn,ve.relatedTarget=J,we=null,Er(ye)===ne&&(ze=new ze(Y,G+"enter",Ve,d,ye),ze.target=J,ze.relatedTarget=hn,we=ze),hn=we,Le&&Ve)t:{for(ze=Le,Y=Ve,G=0,J=ze;J;J=ci(J))G++;for(J=0,we=Y;we;we=ci(we))J++;for(;0<G-J;)ze=ci(ze),G--;for(;0<J-G;)Y=ci(Y),J--;for(;G--;){if(ze===Y||Y!==null&&ze===Y.alternate)break t;ze=ci(ze),Y=ci(Y)}ze=null}else ze=null;Le!==null&&om(Te,ve,Le,ze,!1),Ve!==null&&hn!==null&&om(Te,hn,Ve,ze,!0)}}e:{if(ve=ne?wl(ne):window,Le=ve.nodeName&&ve.nodeName.toLowerCase(),Le==="select"||Le==="input"&&ve.type==="file")var We=Q2;else if(q2(ve))if(Z0)We=X2;else{We=n8;var Be=t8}else(Le=ve.nodeName)&&Le.toLowerCase()==="input"&&(ve.type==="checkbox"||ve.type==="radio")&&(We=a8);if(We&&(We=We(r,ne))){W2(Te,We,d,ye);break e}Be&&Be(r,ve,ne),r==="focusout"&&(Be=ve._wrapperState)&&Be.controlled&&ve.type==="number"&&me(ve,"number",ve.value)}switch(Be=ne?wl(ne):window,r){case"focusin":(q2(Be)||Be.contentEditable==="true")&&(eo=Be,em=ne,Gu=null);break;case"focusout":Gu=em=eo=null;break;case"mousedown":tm=!0;break;case"contextmenu":case"mouseup":case"dragend":tm=!1,ap(Te,d,ye);break;case"selectionchange":if(np)break;case"keydown":case"keyup":ap(Te,d,ye)}var Ze;if(Jr)e:{switch(r){case"compositionstart":var st="onCompositionStart";break e;case"compositionend":st="onCompositionEnd";break e;case"compositionupdate":st="onCompositionUpdate";break e}st=void 0}else vl?H2(r,d)&&(st="onCompositionEnd"):r==="keydown"&&d.keyCode===229&&(st="onCompositionStart");st&&($2&&d.locale!=="ko"&&(vl||st!=="onCompositionStart"?st==="onCompositionEnd"&&vl&&(Ze=z0()):(Do=ye,Vu="value"in Do?Do.value:Do.textContent,vl=!0)),Be=Ku(ne,st),0<Be.length&&(st=new q0(st,r,null,d,ye),Te.push({event:st,listeners:Be}),Ze?st.data=Ze:(Ze=kd(d),Ze!==null&&(st.data=Ze)))),(Ze=bd?J6(r,d):e8(r,d))&&(ne=Ku(ne,"onBeforeInput"),0<ne.length&&(ye=new q0("onBeforeInput","beforeinput",null,d,ye),Te.push({event:ye,listeners:ne}),ye.data=Ze))}Ed(Te,s)})}function Yu(r,s,d){return{instance:r,listener:s,currentTarget:d}}function Ku(r,s){for(var d=s+"Capture",h=[];r!==null;){var v=r,S=v.stateNode;v.tag===5&&S!==null&&(v=S,S=Ru(r,d),S!=null&&h.unshift(Yu(r,S,v)),S=Ru(r,s),S!=null&&h.push(Yu(r,S,v))),r=r.return}return h}function ci(r){if(r===null)return null;do r=r.return;while(r&&r.tag!==5);return r||null}function om(r,s,d,h,v){for(var S=s._reactName,R=[];d!==null&&d!==h;){var F=d,$=F.alternate,ne=F.stateNode;if($!==null&&$===h)break;F.tag===5&&ne!==null&&(F=ne,v?($=Ru(d,S),$!=null&&R.unshift(Yu(d,$,F))):v||($=Ru(d,S),$!=null&&R.push(Yu(d,$,F)))),d=d.return}R.length!==0&&r.push({event:s,listeners:R})}var sm=/\r\n?/g,i8=/\u0000|\uFFFD/g;function im(r){return(typeof r=="string"?r:""+r).replace(sm,`
49
+ `).replace(i8,"")}function Id(r,s,d){if(s=im(s),im(r)!==s&&d)throw Error(o(425))}function Nd(){}var lm=null,di=null;function Zu(r,s){return r==="textarea"||r==="noscript"||typeof s.children=="string"||typeof s.children=="number"||typeof s.dangerouslySetInnerHTML=="object"&&s.dangerouslySetInnerHTML!==null&&s.dangerouslySetInnerHTML.__html!=null}var mi=typeof setTimeout=="function"?setTimeout:void 0,dp=typeof clearTimeout=="function"?clearTimeout:void 0,um=typeof Promise=="function"?Promise:void 0,cm=typeof queueMicrotask=="function"?queueMicrotask:typeof um<"u"?function(r){return um.resolve(null).then(r).catch(l8)}:mi;function l8(r){setTimeout(function(){throw r})}function vs(r,s){var d=s,h=0;do{var v=d.nextSibling;if(r.removeChild(d),v&&v.nodeType===8)if(d=v.data,d==="/$"){if(h===0){r.removeChild(v),Uu(s);return}h--}else d!=="$"&&d!=="$?"&&d!=="$!"||h++;d=v}while(d);Uu(s)}function to(r){for(;r!=null;r=r.nextSibling){var s=r.nodeType;if(s===1||s===3)break;if(s===8){if(s=r.data,s==="$"||s==="$!"||s==="$?")break;if(s==="/$")return null}}return r}function Xu(r){r=r.previousSibling;for(var s=0;r;){if(r.nodeType===8){var d=r.data;if(d==="$"||d==="$!"||d==="$?"){if(s===0)return r;s--}else d==="/$"&&s++}r=r.previousSibling}return null}var Ts=Math.random().toString(36).slice(2),ho="__reactFiber$"+Ts,fi="__reactProps$"+Ts,$o="__reactContainer$"+Ts,dm="__reactEvents$"+Ts,u8="__reactListeners$"+Ts,mm="__reactHandles$"+Ts;function Er(r){var s=r[ho];if(s)return s;for(var d=r.parentNode;d;){if(s=d[$o]||d[ho]){if(d=s.alternate,s.child!==null||d!==null&&d.child!==null)for(r=Xu(r);r!==null;){if(d=r[ho])return d;r=Xu(r)}return s}r=d,d=r.parentNode}return null}function Ju(r){return r=r[ho]||r[$o],!r||r.tag!==5&&r.tag!==6&&r.tag!==13&&r.tag!==3?null:r}function wl(r){if(r.tag===5||r.tag===6)return r.stateNode;throw Error(o(33))}function Xe(r){return r[fi]||null}var bs=[],Kt=-1;function ht(r){return{current:r}}function Pt(r){0>Kt||(r.current=bs[Kt],bs[Kt]=null,Kt--)}function Mt(r,s){Kt++,bs[Kt]=r.current,r.current=s}var go={},rt=ht(go),dn=ht(!1),$a=go;function _r(r,s){var d=r.type.contextTypes;if(!d)return go;var h=r.stateNode;if(h&&h.__reactInternalMemoizedUnmaskedChildContext===s)return h.__reactInternalMemoizedMaskedChildContext;var v={},S;for(S in d)v[S]=s[S];return h&&(r=r.stateNode,r.__reactInternalMemoizedUnmaskedChildContext=s,r.__reactInternalMemoizedMaskedChildContext=v),v}function Jt(r){return r=r.childContextTypes,r!=null}function Ir(){Pt(dn),Pt(rt)}function ks(r,s,d){if(rt.current!==go)throw Error(o(168));Mt(rt,s),Mt(dn,d)}function ec(r,s,d){var h=r.stateNode;if(s=s.childContextTypes,typeof h.getChildContext!="function")return d;h=h.getChildContext();for(var v in h)if(!(v in s))throw Error(o(108,lt(r)||"Unknown",v));return Ce({},d,h)}function Rd(r){return r=(r=r.stateNode)&&r.__reactInternalMemoizedMergedChildContext||go,$a=rt.current,Mt(rt,r),Mt(dn,dn.current),!0}function mp(r,s,d){var h=r.stateNode;if(!h)throw Error(o(169));d?(r=ec(r,s,$a),h.__reactInternalMemoizedMergedChildContext=r,Pt(dn),Pt(rt),Mt(rt,r)):Pt(dn),Mt(dn,d)}var or=null,$n=!1,tc=!1;function fm(r){or===null?or=[r]:or.push(r)}function pm(r){$n=!0,fm(r)}function za(){if(!tc&&or!==null){tc=!0;var r=0,s=Ft;try{var d=or;for(Ft=1;r<d.length;r++){var h=d[r];do h=h(!0);while(h!==null)}or=null,$n=!1}catch(v){throw or!==null&&(or=or.slice(r+1)),P0(Mo,za),v}finally{Ft=s,tc=!1}}return null}var Ss=[],Ha=0,pi=null,Cl=0,Ga=[],fa=0,Nr=null,Yn=1,zo="";function sr(r,s){Ss[Ha++]=Cl,Ss[Ha++]=pi,pi=r,Cl=s}function hm(r,s,d){Ga[fa++]=Yn,Ga[fa++]=zo,Ga[fa++]=Nr,Nr=r;var h=Yn;r=zo;var v=32-kr(h)-1;h&=~(1<<v),d+=1;var S=32-kr(s)+v;if(30<S){var R=v-v%5;S=(h&(1<<R)-1).toString(32),h>>=R,v-=R,Yn=1<<32-kr(s)+v|d<<v|h,zo=S+r}else Yn=1<<S|d<<v|h,zo=r}function Od(r){r.return!==null&&(sr(r,1),hm(r,1,0))}function gm(r){for(;r===pi;)pi=Ss[--Ha],Ss[Ha]=null,Cl=Ss[--Ha],Ss[Ha]=null;for(;r===Nr;)Nr=Ga[--fa],Ga[fa]=null,zo=Ga[--fa],Ga[fa]=null,Yn=Ga[--fa],Ga[fa]=null}var ir=null,qa=null,Zt=!1,Rr=null;function ym(r,s){var d=Dr(5,null,null,0);d.elementType="DELETED",d.stateNode=s,d.return=r,s=r.deletions,s===null?(r.deletions=[d],r.flags|=16):s.push(d)}function fp(r,s){switch(r.tag){case 5:var d=r.type;return s=s.nodeType!==1||d.toLowerCase()!==s.nodeName.toLowerCase()?null:s,s!==null?(r.stateNode=s,ir=r,qa=to(s.firstChild),!0):!1;case 6:return s=r.pendingProps===""||s.nodeType!==3?null:s,s!==null?(r.stateNode=s,ir=r,qa=null,!0):!1;case 13:return s=s.nodeType!==8?null:s,s!==null?(d=Nr!==null?{id:Yn,overflow:zo}:null,r.memoizedState={dehydrated:s,treeContext:d,retryLane:1073741824},d=Dr(18,null,null,0),d.stateNode=s,d.return=r,r.child=d,ir=r,qa=null,!0):!1;default:return!1}}function Ld(r){return(r.mode&1)!==0&&(r.flags&128)===0}function Ad(r){if(Zt){var s=qa;if(s){var d=s;if(!fp(r,s)){if(Ld(r))throw Error(o(418));s=to(d.nextSibling);var h=ir;s&&fp(r,s)?ym(h,d):(r.flags=r.flags&-4097|2,Zt=!1,ir=r)}}else{if(Ld(r))throw Error(o(418));r.flags=r.flags&-4097|2,Zt=!1,ir=r}}}function pp(r){for(r=r.return;r!==null&&r.tag!==5&&r.tag!==3&&r.tag!==13;)r=r.return;ir=r}function xd(r){if(r!==ir)return!1;if(!Zt)return pp(r),Zt=!0,!1;var s;if((s=r.tag!==3)&&!(s=r.tag!==5)&&(s=r.type,s=s!=="head"&&s!=="body"&&!Zu(r.type,r.memoizedProps)),s&&(s=qa)){if(Ld(r))throw hp(),Error(o(418));for(;s;)ym(r,s),s=to(s.nextSibling)}if(pp(r),r.tag===13){if(r=r.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error(o(317));e:{for(r=r.nextSibling,s=0;r;){if(r.nodeType===8){var d=r.data;if(d==="/$"){if(s===0){qa=to(r.nextSibling);break e}s--}else d!=="$"&&d!=="$!"&&d!=="$?"||s++}r=r.nextSibling}qa=null}}else qa=ir?to(r.stateNode.nextSibling):null;return!0}function hp(){for(var r=qa;r;)r=to(r.nextSibling)}function an(){qa=ir=null,Zt=!1}function vm(r){Rr===null?Rr=[r]:Rr.push(r)}var Pd=re.ReactCurrentBatchConfig;function hi(r,s,d){if(r=d.ref,r!==null&&typeof r!="function"&&typeof r!="object"){if(d._owner){if(d=d._owner,d){if(d.tag!==1)throw Error(o(309));var h=d.stateNode}if(!h)throw Error(o(147,r));var v=h,S=""+r;return s!==null&&s.ref!==null&&typeof s.ref=="function"&&s.ref._stringRef===S?s.ref:(s=function(R){var F=v.refs;R===null?delete F[S]:F[S]=R},s._stringRef=S,s)}if(typeof r!="string")throw Error(o(284));if(!d._owner)throw Error(o(290,r))}return r}function yo(r,s){throw r=Object.prototype.toString.call(s),Error(o(31,r==="[object Object]"?"object with keys {"+Object.keys(s).join(", ")+"}":r))}function gp(r){var s=r._init;return s(r._payload)}function Md(r){function s(Y,G){if(r){var J=Y.deletions;J===null?(Y.deletions=[G],Y.flags|=16):J.push(G)}}function d(Y,G){if(!r)return null;for(;G!==null;)s(Y,G),G=G.sibling;return null}function h(Y,G){for(Y=new Map;G!==null;)G.key!==null?Y.set(G.key,G):Y.set(G.index,G),G=G.sibling;return Y}function v(Y,G){return Y=Ls(Y,G),Y.index=0,Y.sibling=null,Y}function S(Y,G,J){return Y.index=J,r?(J=Y.alternate,J!==null?(J=J.index,J<G?(Y.flags|=2,G):J):(Y.flags|=2,G)):(Y.flags|=1048576,G)}function R(Y){return r&&Y.alternate===null&&(Y.flags|=2),Y}function F(Y,G,J,we){return G===null||G.tag!==6?(G=kc(J,Y.mode,we),G.return=Y,G):(G=v(G,J),G.return=Y,G)}function $(Y,G,J,we){var We=J.type;return We===oe?ye(Y,G,J.props.children,we,J.key):G!==null&&(G.elementType===We||typeof We=="object"&&We!==null&&We.$$typeof===Rt&&gp(We)===G.type)?(we=v(G,J.props),we.ref=hi(Y,G,J),we.return=Y,we):(we=y1(J.type,J.key,J.props,null,Y.mode,we),we.ref=hi(Y,G,J),we.return=Y,we)}function ne(Y,G,J,we){return G===null||G.tag!==4||G.stateNode.containerInfo!==J.containerInfo||G.stateNode.implementation!==J.implementation?(G=xi(J,Y.mode,we),G.return=Y,G):(G=v(G,J.children||[]),G.return=Y,G)}function ye(Y,G,J,we,We){return G===null||G.tag!==7?(G=Ai(J,Y.mode,we,We),G.return=Y,G):(G=v(G,J),G.return=Y,G)}function Te(Y,G,J){if(typeof G=="string"&&G!==""||typeof G=="number")return G=kc(""+G,Y.mode,J),G.return=Y,G;if(typeof G=="object"&&G!==null){switch(G.$$typeof){case te:return J=y1(G.type,G.key,G.props,null,Y.mode,J),J.ref=hi(Y,null,G),J.return=Y,J;case ue:return G=xi(G,Y.mode,J),G.return=Y,G;case Rt:var we=G._init;return Te(Y,we(G._payload),J)}if(Ao(G)||Me(G))return G=Ai(G,Y.mode,J,null),G.return=Y,G;yo(Y,G)}return null}function ve(Y,G,J,we){var We=G!==null?G.key:null;if(typeof J=="string"&&J!==""||typeof J=="number")return We!==null?null:F(Y,G,""+J,we);if(typeof J=="object"&&J!==null){switch(J.$$typeof){case te:return J.key===We?$(Y,G,J,we):null;case ue:return J.key===We?ne(Y,G,J,we):null;case Rt:return We=J._init,ve(Y,G,We(J._payload),we)}if(Ao(J)||Me(J))return We!==null?null:ye(Y,G,J,we,null);yo(Y,J)}return null}function Le(Y,G,J,we,We){if(typeof we=="string"&&we!==""||typeof we=="number")return Y=Y.get(J)||null,F(G,Y,""+we,We);if(typeof we=="object"&&we!==null){switch(we.$$typeof){case te:return Y=Y.get(we.key===null?J:we.key)||null,$(G,Y,we,We);case ue:return Y=Y.get(we.key===null?J:we.key)||null,ne(G,Y,we,We);case Rt:var Be=we._init;return Le(Y,G,J,Be(we._payload),We)}if(Ao(we)||Me(we))return Y=Y.get(J)||null,ye(G,Y,we,We,null);yo(G,we)}return null}function Ve(Y,G,J,we){for(var We=null,Be=null,Ze=G,st=G=0,Gn=null;Ze!==null&&st<J.length;st++){Ze.index>st?(Gn=Ze,Ze=null):Gn=Ze.sibling;var Ot=ve(Y,Ze,J[st],we);if(Ot===null){Ze===null&&(Ze=Gn);break}r&&Ze&&Ot.alternate===null&&s(Y,Ze),G=S(Ot,G,st),Be===null?We=Ot:Be.sibling=Ot,Be=Ot,Ze=Gn}if(st===J.length)return d(Y,Ze),Zt&&sr(Y,st),We;if(Ze===null){for(;st<J.length;st++)Ze=Te(Y,J[st],we),Ze!==null&&(G=S(Ze,G,st),Be===null?We=Ze:Be.sibling=Ze,Be=Ze);return Zt&&sr(Y,st),We}for(Ze=h(Y,Ze);st<J.length;st++)Gn=Le(Ze,Y,st,J[st],we),Gn!==null&&(r&&Gn.alternate!==null&&Ze.delete(Gn.key===null?st:Gn.key),G=S(Gn,G,st),Be===null?We=Gn:Be.sibling=Gn,Be=Gn);return r&&Ze.forEach(function(As){return s(Y,As)}),Zt&&sr(Y,st),We}function ze(Y,G,J,we){var We=Me(J);if(typeof We!="function")throw Error(o(150));if(J=We.call(J),J==null)throw Error(o(151));for(var Be=We=null,Ze=G,st=G=0,Gn=null,Ot=J.next();Ze!==null&&!Ot.done;st++,Ot=J.next()){Ze.index>st?(Gn=Ze,Ze=null):Gn=Ze.sibling;var As=ve(Y,Ze,Ot.value,we);if(As===null){Ze===null&&(Ze=Gn);break}r&&Ze&&As.alternate===null&&s(Y,Ze),G=S(As,G,st),Be===null?We=As:Be.sibling=As,Be=As,Ze=Gn}if(Ot.done)return d(Y,Ze),Zt&&sr(Y,st),We;if(Ze===null){for(;!Ot.done;st++,Ot=J.next())Ot=Te(Y,Ot.value,we),Ot!==null&&(G=S(Ot,G,st),Be===null?We=Ot:Be.sibling=Ot,Be=Ot);return Zt&&sr(Y,st),We}for(Ze=h(Y,Ze);!Ot.done;st++,Ot=J.next())Ot=Le(Ze,Y,st,Ot.value,we),Ot!==null&&(r&&Ot.alternate!==null&&Ze.delete(Ot.key===null?st:Ot.key),G=S(Ot,G,st),Be===null?We=Ot:Be.sibling=Ot,Be=Ot);return r&&Ze.forEach(function(_8){return s(Y,_8)}),Zt&&sr(Y,st),We}function hn(Y,G,J,we){if(typeof J=="object"&&J!==null&&J.type===oe&&J.key===null&&(J=J.props.children),typeof J=="object"&&J!==null){switch(J.$$typeof){case te:e:{for(var We=J.key,Be=G;Be!==null;){if(Be.key===We){if(We=J.type,We===oe){if(Be.tag===7){d(Y,Be.sibling),G=v(Be,J.props.children),G.return=Y,Y=G;break e}}else if(Be.elementType===We||typeof We=="object"&&We!==null&&We.$$typeof===Rt&&gp(We)===Be.type){d(Y,Be.sibling),G=v(Be,J.props),G.ref=hi(Y,Be,J),G.return=Y,Y=G;break e}d(Y,Be);break}else s(Y,Be);Be=Be.sibling}J.type===oe?(G=Ai(J.props.children,Y.mode,we,J.key),G.return=Y,Y=G):(we=y1(J.type,J.key,J.props,null,Y.mode,we),we.ref=hi(Y,G,J),we.return=Y,Y=we)}return R(Y);case ue:e:{for(Be=J.key;G!==null;){if(G.key===Be)if(G.tag===4&&G.stateNode.containerInfo===J.containerInfo&&G.stateNode.implementation===J.implementation){d(Y,G.sibling),G=v(G,J.children||[]),G.return=Y,Y=G;break e}else{d(Y,G);break}else s(Y,G);G=G.sibling}G=xi(J,Y.mode,we),G.return=Y,Y=G}return R(Y);case Rt:return Be=J._init,hn(Y,G,Be(J._payload),we)}if(Ao(J))return Ve(Y,G,J,we);if(Me(J))return ze(Y,G,J,we);yo(Y,J)}return typeof J=="string"&&J!==""||typeof J=="number"?(J=""+J,G!==null&&G.tag===6?(d(Y,G.sibling),G=v(G,J),G.return=Y,Y=G):(d(Y,G),G=kc(J,Y.mode,we),G.return=Y,Y=G),R(Y)):d(Y,G)}return hn}var El=Md(!0),yp=Md(!1),Ho=ht(null),Ln=null,Ee=null,Or=null;function lr(){Or=Ee=Ln=null}function Tm(r){var s=Ho.current;Pt(Ho),r._currentValue=s}function bm(r,s,d){for(;r!==null;){var h=r.alternate;if((r.childLanes&s)!==s?(r.childLanes|=s,h!==null&&(h.childLanes|=s)):h!==null&&(h.childLanes&s)!==s&&(h.childLanes|=s),r===d)break;r=r.return}}function _l(r,s){Ln=r,Or=Ee=null,r=r.dependencies,r!==null&&r.firstContext!==null&&(r.lanes&s&&(Ya=!0),r.firstContext=null)}function Lr(r){var s=r._currentValue;if(Or!==r)if(r={context:r,memoizedValue:s,next:null},Ee===null){if(Ln===null)throw Error(o(308));Ee=r,Ln.dependencies={lanes:0,firstContext:r}}else Ee=Ee.next=r;return s}var gi=null;function Sn(r){gi===null?gi=[r]:gi.push(r)}function vp(r,s,d,h){var v=s.interleaved;return v===null?(d.next=d,Sn(s)):(d.next=v.next,v.next=d),s.interleaved=d,Go(r,h)}function Go(r,s){r.lanes|=s;var d=r.alternate;for(d!==null&&(d.lanes|=s),d=r,r=r.return;r!==null;)r.childLanes|=s,d=r.alternate,d!==null&&(d.childLanes|=s),d=r,r=r.return;return d.tag===3?d.stateNode:null}var ws=!1;function Dd(r){r.updateQueue={baseState:r.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Il(r,s){r=r.updateQueue,s.updateQueue===r&&(s.updateQueue={baseState:r.baseState,firstBaseUpdate:r.firstBaseUpdate,lastBaseUpdate:r.lastBaseUpdate,shared:r.shared,effects:r.effects})}function Wa(r,s){return{eventTime:r,lane:s,tag:0,payload:null,callback:null,next:null}}function Cs(r,s,d){var h=r.updateQueue;if(h===null)return null;if(h=h.shared,Et&2){var v=h.pending;return v===null?s.next=s:(s.next=v.next,v.next=s),h.pending=s,Go(r,d)}return v=h.interleaved,v===null?(s.next=s,Sn(h)):(s.next=v.next,v.next=s),h.interleaved=s,Go(r,d)}function Ud(r,s,d){if(s=s.updateQueue,s!==null&&(s=s.shared,(d&4194240)!==0)){var h=s.lanes;h&=r.pendingLanes,d|=h,s.lanes=d,xu(r,d)}}function Tp(r,s){var d=r.updateQueue,h=r.alternate;if(h!==null&&(h=h.updateQueue,d===h)){var v=null,S=null;if(d=d.firstBaseUpdate,d!==null){do{var R={eventTime:d.eventTime,lane:d.lane,tag:d.tag,payload:d.payload,callback:d.callback,next:null};S===null?v=S=R:S=S.next=R,d=d.next}while(d!==null);S===null?v=S=s:S=S.next=s}else v=S=s;d={baseState:h.baseState,firstBaseUpdate:v,lastBaseUpdate:S,shared:h.shared,effects:h.effects},r.updateQueue=d;return}r=d.lastBaseUpdate,r===null?d.firstBaseUpdate=s:r.next=s,d.lastBaseUpdate=s}function Fd(r,s,d,h){var v=r.updateQueue;ws=!1;var S=v.firstBaseUpdate,R=v.lastBaseUpdate,F=v.shared.pending;if(F!==null){v.shared.pending=null;var $=F,ne=$.next;$.next=null,R===null?S=ne:R.next=ne,R=$;var ye=r.alternate;ye!==null&&(ye=ye.updateQueue,F=ye.lastBaseUpdate,F!==R&&(F===null?ye.firstBaseUpdate=ne:F.next=ne,ye.lastBaseUpdate=$))}if(S!==null){var Te=v.baseState;R=0,ye=ne=$=null,F=S;do{var ve=F.lane,Le=F.eventTime;if((h&ve)===ve){ye!==null&&(ye=ye.next={eventTime:Le,lane:0,tag:F.tag,payload:F.payload,callback:F.callback,next:null});e:{var Ve=r,ze=F;switch(ve=s,Le=d,ze.tag){case 1:if(Ve=ze.payload,typeof Ve=="function"){Te=Ve.call(Le,Te,ve);break e}Te=Ve;break e;case 3:Ve.flags=Ve.flags&-65537|128;case 0:if(Ve=ze.payload,ve=typeof Ve=="function"?Ve.call(Le,Te,ve):Ve,ve==null)break e;Te=Ce({},Te,ve);break e;case 2:ws=!0}}F.callback!==null&&F.lane!==0&&(r.flags|=64,ve=v.effects,ve===null?v.effects=[F]:ve.push(F))}else Le={eventTime:Le,lane:ve,tag:F.tag,payload:F.payload,callback:F.callback,next:null},ye===null?(ne=ye=Le,$=Te):ye=ye.next=Le,R|=ve;if(F=F.next,F===null){if(F=v.shared.pending,F===null)break;ve=F,F=ve.next,ve.next=null,v.lastBaseUpdate=ve,v.shared.pending=null}}while(!0);if(ye===null&&($=Te),v.baseState=$,v.firstBaseUpdate=ne,v.lastBaseUpdate=ye,s=v.shared.interleaved,s!==null){v=s;do R|=v.lane,v=v.next;while(v!==s)}else S===null&&(v.shared.lanes=0);Yo|=R,r.lanes=R,r.memoizedState=Te}}function bp(r,s,d){if(r=s.effects,s.effects=null,r!==null)for(s=0;s<r.length;s++){var h=r[s],v=h.callback;if(v!==null){if(h.callback=null,h=d,typeof v!="function")throw Error(o(191,v));v.call(h)}}}var nc={},no=ht(nc),Nl=ht(nc),ac=ht(nc);function yi(r){if(r===nc)throw Error(o(174));return r}function km(r,s){switch(Mt(ac,s),Mt(Nl,r),Mt(no,nc),r=s.nodeType,r){case 9:case 11:s=(s=s.documentElement)?s.namespaceURI:ar(null,"");break;default:r=r===8?s.parentNode:s,s=r.namespaceURI||null,r=r.tagName,s=ar(s,r)}Pt(no),Mt(no,s)}function Rl(){Pt(no),Pt(Nl),Pt(ac)}function kp(r){yi(ac.current);var s=yi(no.current),d=ar(s,r.type);s!==d&&(Mt(Nl,r),Mt(no,d))}function Sm(r){Nl.current===r&&(Pt(no),Pt(Nl))}var en=ht(0);function Vd(r){for(var s=r;s!==null;){if(s.tag===13){var d=s.memoizedState;if(d!==null&&(d=d.dehydrated,d===null||d.data==="$?"||d.data==="$!"))return s}else if(s.tag===19&&s.memoizedProps.revealOrder!==void 0){if(s.flags&128)return s}else if(s.child!==null){s.child.return=s,s=s.child;continue}if(s===r)break;for(;s.sibling===null;){if(s.return===null||s.return===r)return null;s=s.return}s.sibling.return=s.return,s=s.sibling}return null}var Bd=[];function wm(){for(var r=0;r<Bd.length;r++)Bd[r]._workInProgressVersionPrimary=null;Bd.length=0}var jd=re.ReactCurrentDispatcher,rc=re.ReactCurrentBatchConfig,Ge=0,qe=null,ot=null,bt=null,ur=!1,Ol=!1,oc=0,c8=0;function pa(){throw Error(o(321))}function sc(r,s){if(s===null)return!1;for(var d=0;d<s.length&&d<r.length;d++)if(!Cr(r[d],s[d]))return!1;return!0}function he(r,s,d,h,v,S){if(Ge=S,qe=s,s.memoizedState=null,s.updateQueue=null,s.lanes=0,jd.current=r===null||r.memoizedState===null?d8:Wt,r=d(h,v),Ol){S=0;do{if(Ol=!1,oc=0,25<=S)throw Error(o(301));S+=1,bt=ot=null,s.updateQueue=null,jd.current=n1,r=d(h,v)}while(Ol)}if(jd.current=ha,s=ot!==null&&ot.next!==null,Ge=0,bt=ot=qe=null,ur=!1,s)throw Error(o(300));return r}function wn(){var r=oc!==0;return oc=0,r}function Ke(){var r={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return bt===null?qe.memoizedState=bt=r:bt=bt.next=r,bt}function Kn(){if(ot===null){var r=qe.alternate;r=r!==null?r.memoizedState:null}else r=ot.next;var s=bt===null?qe.memoizedState:bt.next;if(s!==null)bt=s,ot=r;else{if(r===null)throw Error(o(310));ot=r,r={memoizedState:ot.memoizedState,baseState:ot.baseState,baseQueue:ot.baseQueue,queue:ot.queue,next:null},bt===null?qe.memoizedState=bt=r:bt=bt.next=r}return bt}function cr(r,s){return typeof s=="function"?s(r):s}function qo(r){var s=Kn(),d=s.queue;if(d===null)throw Error(o(311));d.lastRenderedReducer=r;var h=ot,v=h.baseQueue,S=d.pending;if(S!==null){if(v!==null){var R=v.next;v.next=S.next,S.next=R}h.baseQueue=v=S,d.pending=null}if(v!==null){S=v.next,h=h.baseState;var F=R=null,$=null,ne=S;do{var ye=ne.lane;if((Ge&ye)===ye)$!==null&&($=$.next={lane:0,action:ne.action,hasEagerState:ne.hasEagerState,eagerState:ne.eagerState,next:null}),h=ne.hasEagerState?ne.eagerState:r(h,ne.action);else{var Te={lane:ye,action:ne.action,hasEagerState:ne.hasEagerState,eagerState:ne.eagerState,next:null};$===null?(F=$=Te,R=h):$=$.next=Te,qe.lanes|=ye,Yo|=ye}ne=ne.next}while(ne!==null&&ne!==S);$===null?R=h:$.next=F,Cr(h,s.memoizedState)||(Ya=!0),s.memoizedState=h,s.baseState=R,s.baseQueue=$,d.lastRenderedState=h}if(r=d.interleaved,r!==null){v=r;do S=v.lane,qe.lanes|=S,Yo|=S,v=v.next;while(v!==r)}else v===null&&(d.lanes=0);return[s.memoizedState,d.dispatch]}function Ar(r){var s=Kn(),d=s.queue;if(d===null)throw Error(o(311));d.lastRenderedReducer=r;var h=d.dispatch,v=d.pending,S=s.memoizedState;if(v!==null){d.pending=null;var R=v=v.next;do S=r(S,R.action),R=R.next;while(R!==v);Cr(S,s.memoizedState)||(Ya=!0),s.memoizedState=S,s.baseQueue===null&&(s.baseState=S),d.lastRenderedState=S}return[S,h]}function Ll(){}function vi(r,s){var d=qe,h=Kn(),v=s(),S=!Cr(h.memoizedState,v);if(S&&(h.memoizedState=v,Ya=!0),h=h.queue,ic(zd.bind(null,d,h,r),[r]),h.getSnapshot!==s||S||bt!==null&&bt.memoizedState.tag&1){if(d.flags|=2048,Ti(9,$d.bind(null,d,h,v,s),void 0,null),rn===null)throw Error(o(349));Ge&30||Al(d,s,v)}return v}function Al(r,s,d){r.flags|=16384,r={getSnapshot:s,value:d},s=qe.updateQueue,s===null?(s={lastEffect:null,stores:null},qe.updateQueue=s,s.stores=[r]):(d=s.stores,d===null?s.stores=[r]:d.push(r))}function $d(r,s,d,h){s.value=d,s.getSnapshot=h,Hd(s)&&Gd(r)}function zd(r,s,d){return d(function(){Hd(s)&&Gd(r)})}function Hd(r){var s=r.getSnapshot;r=r.value;try{var d=s();return!Cr(r,d)}catch{return!0}}function Gd(r){var s=Go(r,1);s!==null&&ba(s,r,1,-1)}function qd(r){var s=Ke();return typeof r=="function"&&(r=r()),s.memoizedState=s.baseState=r,r={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:cr,lastRenderedState:r},s.queue=r,r=r.dispatch=lc.bind(null,qe,r),[s.memoizedState,r]}function Ti(r,s,d,h){return r={tag:r,create:s,destroy:d,deps:h,next:null},s=qe.updateQueue,s===null?(s={lastEffect:null,stores:null},qe.updateQueue=s,s.lastEffect=r.next=r):(d=s.lastEffect,d===null?s.lastEffect=r.next=r:(h=d.next,d.next=r,r.next=h,s.lastEffect=r)),r}function Wd(){return Kn().memoizedState}function xl(r,s,d,h){var v=Ke();qe.flags|=r,v.memoizedState=Ti(1|s,d,void 0,h===void 0?null:h)}function Pl(r,s,d,h){var v=Kn();h=h===void 0?null:h;var S=void 0;if(ot!==null){var R=ot.memoizedState;if(S=R.destroy,h!==null&&sc(h,R.deps)){v.memoizedState=Ti(s,d,S,h);return}}qe.flags|=r,v.memoizedState=Ti(1|s,d,S,h)}function Qd(r,s){return xl(8390656,8,r,s)}function ic(r,s){return Pl(2048,8,r,s)}function Yd(r,s){return Pl(4,2,r,s)}function Kd(r,s){return Pl(4,4,r,s)}function Zd(r,s){if(typeof s=="function")return r=r(),s(r),function(){s(null)};if(s!=null)return r=r(),s.current=r,function(){s.current=null}}function Xd(r,s,d){return d=d!=null?d.concat([r]):null,Pl(4,4,Zd.bind(null,s,r),d)}function Ml(){}function bi(r,s){var d=Kn();s=s===void 0?null:s;var h=d.memoizedState;return h!==null&&s!==null&&sc(s,h[1])?h[0]:(d.memoizedState=[r,s],r)}function Jd(r,s){var d=Kn();s=s===void 0?null:s;var h=d.memoizedState;return h!==null&&s!==null&&sc(s,h[1])?h[0]:(r=r(),d.memoizedState=[r,s],r)}function e1(r,s,d){return Ge&21?(Cr(d,s)||(d=cd(),qe.lanes|=d,Yo|=d,r.baseState=!0),s):(r.baseState&&(r.baseState=!1,Ya=!0),r.memoizedState=d)}function Cm(r,s){var d=Ft;Ft=d!==0&&4>d?d:4,r(!0);var h=rc.transition;rc.transition={};try{r(!1),s()}finally{Ft=d,rc.transition=h}}function t1(){return Kn().memoizedState}function Sp(r,s,d){var h=Cn(r);if(d={lane:h,action:d,hasEagerState:!1,eagerState:null,next:null},Em(r))Dl(s,d);else if(d=vp(r,s,d,h),d!==null){var v=Ta();ba(d,r,h,v),Es(d,s,h)}}function lc(r,s,d){var h=Cn(r),v={lane:h,action:d,hasEagerState:!1,eagerState:null,next:null};if(Em(r))Dl(s,v);else{var S=r.alternate;if(r.lanes===0&&(S===null||S.lanes===0)&&(S=s.lastRenderedReducer,S!==null))try{var R=s.lastRenderedState,F=S(R,d);if(v.hasEagerState=!0,v.eagerState=F,Cr(F,R)){var $=s.interleaved;$===null?(v.next=v,Sn(s)):(v.next=$.next,$.next=v),s.interleaved=v;return}}catch{}finally{}d=vp(r,s,v,h),d!==null&&(v=Ta(),ba(d,r,h,v),Es(d,s,h))}}function Em(r){var s=r.alternate;return r===qe||s!==null&&s===qe}function Dl(r,s){Ol=ur=!0;var d=r.pending;d===null?s.next=s:(s.next=d.next,d.next=s),r.pending=s}function Es(r,s,d){if(d&4194240){var h=s.lanes;h&=r.pendingLanes,d|=h,s.lanes=d,xu(r,d)}}var ha={readContext:Lr,useCallback:pa,useContext:pa,useEffect:pa,useImperativeHandle:pa,useInsertionEffect:pa,useLayoutEffect:pa,useMemo:pa,useReducer:pa,useRef:pa,useState:pa,useDebugValue:pa,useDeferredValue:pa,useTransition:pa,useMutableSource:pa,useSyncExternalStore:pa,useId:pa,unstable_isNewReconciler:!1},d8={readContext:Lr,useCallback:function(r,s){return Ke().memoizedState=[r,s===void 0?null:s],r},useContext:Lr,useEffect:Qd,useImperativeHandle:function(r,s,d){return d=d!=null?d.concat([r]):null,xl(4194308,4,Zd.bind(null,s,r),d)},useLayoutEffect:function(r,s){return xl(4194308,4,r,s)},useInsertionEffect:function(r,s){return xl(4,2,r,s)},useMemo:function(r,s){var d=Ke();return s=s===void 0?null:s,r=r(),d.memoizedState=[r,s],r},useReducer:function(r,s,d){var h=Ke();return s=d!==void 0?d(s):s,h.memoizedState=h.baseState=s,r={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:r,lastRenderedState:s},h.queue=r,r=r.dispatch=Sp.bind(null,qe,r),[h.memoizedState,r]},useRef:function(r){var s=Ke();return r={current:r},s.memoizedState=r},useState:qd,useDebugValue:Ml,useDeferredValue:function(r){return Ke().memoizedState=r},useTransition:function(){var r=qd(!1),s=r[0];return r=Cm.bind(null,r[1]),Ke().memoizedState=r,[s,r]},useMutableSource:function(){},useSyncExternalStore:function(r,s,d){var h=qe,v=Ke();if(Zt){if(d===void 0)throw Error(o(407));d=d()}else{if(d=s(),rn===null)throw Error(o(349));Ge&30||Al(h,s,d)}v.memoizedState=d;var S={value:d,getSnapshot:s};return v.queue=S,Qd(zd.bind(null,h,S,r),[r]),h.flags|=2048,Ti(9,$d.bind(null,h,S,d,s),void 0,null),d},useId:function(){var r=Ke(),s=rn.identifierPrefix;if(Zt){var d=zo,h=Yn;d=(h&~(1<<32-kr(h)-1)).toString(32)+d,s=":"+s+"R"+d,d=oc++,0<d&&(s+="H"+d.toString(32)),s+=":"}else d=c8++,s=":"+s+"r"+d.toString(32)+":";return r.memoizedState=s},unstable_isNewReconciler:!1},Wt={readContext:Lr,useCallback:bi,useContext:Lr,useEffect:ic,useImperativeHandle:Xd,useInsertionEffect:Yd,useLayoutEffect:Kd,useMemo:Jd,useReducer:qo,useRef:Wd,useState:function(){return qo(cr)},useDebugValue:Ml,useDeferredValue:function(r){var s=Kn();return e1(s,ot.memoizedState,r)},useTransition:function(){var r=qo(cr)[0],s=Kn().memoizedState;return[r,s]},useMutableSource:Ll,useSyncExternalStore:vi,useId:t1,unstable_isNewReconciler:!1},n1={readContext:Lr,useCallback:bi,useContext:Lr,useEffect:ic,useImperativeHandle:Xd,useInsertionEffect:Yd,useLayoutEffect:Kd,useMemo:Jd,useReducer:Ar,useRef:Wd,useState:function(){return Ar(cr)},useDebugValue:Ml,useDeferredValue:function(r){var s=Kn();return ot===null?s.memoizedState=r:e1(s,ot.memoizedState,r)},useTransition:function(){var r=Ar(cr)[0],s=Kn().memoizedState;return[r,s]},useMutableSource:Ll,useSyncExternalStore:vi,useId:t1,unstable_isNewReconciler:!1};function Qa(r,s){if(r&&r.defaultProps){s=Ce({},s),r=r.defaultProps;for(var d in r)s[d]===void 0&&(s[d]=r[d]);return s}return s}function ki(r,s,d,h){s=r.memoizedState,d=d(h,s),d=d==null?s:Ce({},s,d),r.memoizedState=d,r.lanes===0&&(r.updateQueue.baseState=d)}var Si={isMounted:function(r){return(r=r._reactInternals)?po(r)===r:!1},enqueueSetState:function(r,s,d){r=r._reactInternals;var h=Ta(),v=Cn(r),S=Wa(h,v);S.payload=s,d!=null&&(S.callback=d),s=Cs(r,S,v),s!==null&&(ba(s,r,v,h),Ud(s,r,v))},enqueueReplaceState:function(r,s,d){r=r._reactInternals;var h=Ta(),v=Cn(r),S=Wa(h,v);S.tag=1,S.payload=s,d!=null&&(S.callback=d),s=Cs(r,S,v),s!==null&&(ba(s,r,v,h),Ud(s,r,v))},enqueueForceUpdate:function(r,s){r=r._reactInternals;var d=Ta(),h=Cn(r),v=Wa(d,h);v.tag=2,s!=null&&(v.callback=s),s=Cs(r,v,h),s!==null&&(ba(s,r,h,d),Ud(s,r,h))}};function wp(r,s,d,h,v,S,R){return r=r.stateNode,typeof r.shouldComponentUpdate=="function"?r.shouldComponentUpdate(h,S,R):s.prototype&&s.prototype.isPureReactComponent?!Hu(d,h)||!Hu(v,S):!0}function Cp(r,s,d){var h=!1,v=go,S=s.contextType;return typeof S=="object"&&S!==null?S=Lr(S):(v=Jt(s)?$a:rt.current,h=s.contextTypes,S=(h=h!=null)?_r(r,v):go),s=new s(d,S),r.memoizedState=s.state!==null&&s.state!==void 0?s.state:null,s.updater=Si,r.stateNode=s,s._reactInternals=r,h&&(r=r.stateNode,r.__reactInternalMemoizedUnmaskedChildContext=v,r.__reactInternalMemoizedMaskedChildContext=S),s}function Ep(r,s,d,h){r=s.state,typeof s.componentWillReceiveProps=="function"&&s.componentWillReceiveProps(d,h),typeof s.UNSAFE_componentWillReceiveProps=="function"&&s.UNSAFE_componentWillReceiveProps(d,h),s.state!==r&&Si.enqueueReplaceState(s,s.state,null)}function _m(r,s,d,h){var v=r.stateNode;v.props=d,v.state=r.memoizedState,v.refs={},Dd(r);var S=s.contextType;typeof S=="object"&&S!==null?v.context=Lr(S):(S=Jt(s)?$a:rt.current,v.context=_r(r,S)),v.state=r.memoizedState,S=s.getDerivedStateFromProps,typeof S=="function"&&(ki(r,s,S,d),v.state=r.memoizedState),typeof s.getDerivedStateFromProps=="function"||typeof v.getSnapshotBeforeUpdate=="function"||typeof v.UNSAFE_componentWillMount!="function"&&typeof v.componentWillMount!="function"||(s=v.state,typeof v.componentWillMount=="function"&&v.componentWillMount(),typeof v.UNSAFE_componentWillMount=="function"&&v.UNSAFE_componentWillMount(),s!==v.state&&Si.enqueueReplaceState(v,v.state,null),Fd(r,d,v,h),v.state=r.memoizedState),typeof v.componentDidMount=="function"&&(r.flags|=4194308)}function _s(r,s){try{var d="",h=s;do d+=Ye(h),h=h.return;while(h);var v=d}catch(S){v=`
50
+ Error generating stack: `+S.message+`
51
+ `+S.stack}return{value:r,source:s,stack:v,digest:null}}function Im(r,s,d){return{value:r,source:null,stack:d??null,digest:s??null}}function uc(r,s){try{console.error(s.value)}catch(d){setTimeout(function(){throw d})}}var _p=typeof WeakMap=="function"?WeakMap:Map;function Ip(r,s,d){d=Wa(-1,d),d.tag=3,d.payload={element:null};var h=s.value;return d.callback=function(){d1||(d1=!0,Ii=h),uc(r,s)},d}function Np(r,s,d){d=Wa(-1,d),d.tag=3;var h=r.type.getDerivedStateFromError;if(typeof h=="function"){var v=s.value;d.payload=function(){return h(v)},d.callback=function(){uc(r,s)}}var S=r.stateNode;return S!==null&&typeof S.componentDidCatch=="function"&&(d.callback=function(){uc(r,s),typeof h!="function"&&(bo===null?bo=new Set([this]):bo.add(this));var R=s.stack;this.componentDidCatch(s.value,{componentStack:R!==null?R:""})}),d}function cc(r,s,d){var h=r.pingCache;if(h===null){h=r.pingCache=new _p;var v=new Set;h.set(s,v)}else v=h.get(s),v===void 0&&(v=new Set,h.set(s,v));v.has(d)||(v.add(d),r=y8.bind(null,r,s,d),s.then(r,r))}function Rp(r){do{var s;if((s=r.tag===13)&&(s=r.memoizedState,s=s!==null?s.dehydrated!==null:!0),s)return r;r=r.return}while(r!==null);return null}function Nm(r,s,d,h,v){return r.mode&1?(r.flags|=65536,r.lanes=v,r):(r===s?r.flags|=65536:(r.flags|=128,d.flags|=131072,d.flags&=-52805,d.tag===1&&(d.alternate===null?d.tag=17:(s=Wa(-1,1),s.tag=2,Cs(d,s,1))),d.lanes|=1),r)}var Op=re.ReactCurrentOwner,Ya=!1;function pn(r,s,d,h){s.child=r===null?yp(s,null,d,h):El(s,r.child,d,h)}function Ul(r,s,d,h,v){d=d.render;var S=s.ref;return _l(s,v),h=he(r,s,d,h,S,v),d=wn(),r!==null&&!Ya?(s.updateQueue=r.updateQueue,s.flags&=-2053,r.lanes&=~v,Zn(r,s,v)):(Zt&&d&&Od(s),s.flags|=1,pn(r,s,h,v),s.child)}function Is(r,s,d,h,v){if(r===null){var S=d.type;return typeof S=="function"&&!qm(S)&&S.defaultProps===void 0&&d.compare===null&&d.defaultProps===void 0?(s.tag=15,s.type=S,a1(r,s,S,h,v)):(r=y1(d.type,null,h,s,s.mode,v),r.ref=s.ref,r.return=s,s.child=r)}if(S=r.child,!(r.lanes&v)){var R=S.memoizedProps;if(d=d.compare,d=d!==null?d:Hu,d(R,h)&&r.ref===s.ref)return Zn(r,s,v)}return s.flags|=1,r=Ls(S,h),r.ref=s.ref,r.return=s,s.child=r}function a1(r,s,d,h,v){if(r!==null){var S=r.memoizedProps;if(Hu(S,h)&&r.ref===s.ref)if(Ya=!1,s.pendingProps=h=S,(r.lanes&v)!==0)r.flags&131072&&(Ya=!0);else return s.lanes=r.lanes,Zn(r,s,v)}return pt(r,s,d,h,v)}function Ka(r,s,d){var h=s.pendingProps,v=h.children,S=r!==null?r.memoizedState:null;if(h.mode==="hidden")if(!(s.mode&1))s.memoizedState={baseLanes:0,cachePool:null,transitions:null},Mt(zl,dr),dr|=d;else{if(!(d&1073741824))return r=S!==null?S.baseLanes|d:d,s.lanes=s.childLanes=1073741824,s.memoizedState={baseLanes:r,cachePool:null,transitions:null},s.updateQueue=null,Mt(zl,dr),dr|=r,null;s.memoizedState={baseLanes:0,cachePool:null,transitions:null},h=S!==null?S.baseLanes:d,Mt(zl,dr),dr|=h}else S!==null?(h=S.baseLanes|d,s.memoizedState=null):h=d,Mt(zl,dr),dr|=h;return pn(r,s,v,d),s.child}function wi(r,s){var d=s.ref;(r===null&&d!==null||r!==null&&r.ref!==d)&&(s.flags|=512,s.flags|=2097152)}function pt(r,s,d,h,v){var S=Jt(d)?$a:rt.current;return S=_r(s,S),_l(s,v),d=he(r,s,d,h,S,v),h=wn(),r!==null&&!Ya?(s.updateQueue=r.updateQueue,s.flags&=-2053,r.lanes&=~v,Zn(r,s,v)):(Zt&&h&&Od(s),s.flags|=1,pn(r,s,d,v),s.child)}function dc(r,s,d,h,v){if(Jt(d)){var S=!0;Rd(s)}else S=!1;if(_l(s,v),s.stateNode===null)ga(r,s),Cp(s,d,h),_m(s,d,h,v),h=!0;else if(r===null){var R=s.stateNode,F=s.memoizedProps;R.props=F;var $=R.context,ne=d.contextType;typeof ne=="object"&&ne!==null?ne=Lr(ne):(ne=Jt(d)?$a:rt.current,ne=_r(s,ne));var ye=d.getDerivedStateFromProps,Te=typeof ye=="function"||typeof R.getSnapshotBeforeUpdate=="function";Te||typeof R.UNSAFE_componentWillReceiveProps!="function"&&typeof R.componentWillReceiveProps!="function"||(F!==h||$!==ne)&&Ep(s,R,h,ne),ws=!1;var ve=s.memoizedState;R.state=ve,Fd(s,h,R,v),$=s.memoizedState,F!==h||ve!==$||dn.current||ws?(typeof ye=="function"&&(ki(s,d,ye,h),$=s.memoizedState),(F=ws||wp(s,d,F,h,ve,$,ne))?(Te||typeof R.UNSAFE_componentWillMount!="function"&&typeof R.componentWillMount!="function"||(typeof R.componentWillMount=="function"&&R.componentWillMount(),typeof R.UNSAFE_componentWillMount=="function"&&R.UNSAFE_componentWillMount()),typeof R.componentDidMount=="function"&&(s.flags|=4194308)):(typeof R.componentDidMount=="function"&&(s.flags|=4194308),s.memoizedProps=h,s.memoizedState=$),R.props=h,R.state=$,R.context=ne,h=F):(typeof R.componentDidMount=="function"&&(s.flags|=4194308),h=!1)}else{R=s.stateNode,Il(r,s),F=s.memoizedProps,ne=s.type===s.elementType?F:Qa(s.type,F),R.props=ne,Te=s.pendingProps,ve=R.context,$=d.contextType,typeof $=="object"&&$!==null?$=Lr($):($=Jt(d)?$a:rt.current,$=_r(s,$));var Le=d.getDerivedStateFromProps;(ye=typeof Le=="function"||typeof R.getSnapshotBeforeUpdate=="function")||typeof R.UNSAFE_componentWillReceiveProps!="function"&&typeof R.componentWillReceiveProps!="function"||(F!==Te||ve!==$)&&Ep(s,R,h,$),ws=!1,ve=s.memoizedState,R.state=ve,Fd(s,h,R,v);var Ve=s.memoizedState;F!==Te||ve!==Ve||dn.current||ws?(typeof Le=="function"&&(ki(s,d,Le,h),Ve=s.memoizedState),(ne=ws||wp(s,d,ne,h,ve,Ve,$)||!1)?(ye||typeof R.UNSAFE_componentWillUpdate!="function"&&typeof R.componentWillUpdate!="function"||(typeof R.componentWillUpdate=="function"&&R.componentWillUpdate(h,Ve,$),typeof R.UNSAFE_componentWillUpdate=="function"&&R.UNSAFE_componentWillUpdate(h,Ve,$)),typeof R.componentDidUpdate=="function"&&(s.flags|=4),typeof R.getSnapshotBeforeUpdate=="function"&&(s.flags|=1024)):(typeof R.componentDidUpdate!="function"||F===r.memoizedProps&&ve===r.memoizedState||(s.flags|=4),typeof R.getSnapshotBeforeUpdate!="function"||F===r.memoizedProps&&ve===r.memoizedState||(s.flags|=1024),s.memoizedProps=h,s.memoizedState=Ve),R.props=h,R.state=Ve,R.context=$,h=ne):(typeof R.componentDidUpdate!="function"||F===r.memoizedProps&&ve===r.memoizedState||(s.flags|=4),typeof R.getSnapshotBeforeUpdate!="function"||F===r.memoizedProps&&ve===r.memoizedState||(s.flags|=1024),h=!1)}return r1(r,s,d,h,S,v)}function r1(r,s,d,h,v,S){wi(r,s);var R=(s.flags&128)!==0;if(!h&&!R)return v&&mp(s,d,!1),Zn(r,s,S);h=s.stateNode,Op.current=s;var F=R&&typeof d.getDerivedStateFromError!="function"?null:h.render();return s.flags|=1,r!==null&&R?(s.child=El(s,r.child,null,S),s.child=El(s,null,F,S)):pn(r,s,F,S),s.memoizedState=h.state,v&&mp(s,d,!0),s.child}function Lp(r){var s=r.stateNode;s.pendingContext?ks(r,s.pendingContext,s.pendingContext!==s.context):s.context&&ks(r,s.context,!1),km(r,s.containerInfo)}function o1(r,s,d,h,v){return an(),vm(v),s.flags|=256,pn(r,s,d,h),s.child}var Ci={dehydrated:null,treeContext:null,retryLane:0};function Rm(r){return{baseLanes:r,cachePool:null,transitions:null}}function Om(r,s,d){var h=s.pendingProps,v=en.current,S=!1,R=(s.flags&128)!==0,F;if((F=R)||(F=r!==null&&r.memoizedState===null?!1:(v&2)!==0),F?(S=!0,s.flags&=-129):(r===null||r.memoizedState!==null)&&(v|=1),Mt(en,v&1),r===null)return Ad(s),r=s.memoizedState,r!==null&&(r=r.dehydrated,r!==null)?(s.mode&1?r.data==="$!"?s.lanes=8:s.lanes=1073741824:s.lanes=1,null):(R=h.children,r=h.fallback,S?(h=s.mode,S=s.child,R={mode:"hidden",children:R},!(h&1)&&S!==null?(S.childLanes=0,S.pendingProps=R):S=bc(R,h,0,null),r=Ai(r,h,d,null),S.return=s,r.return=s,S.sibling=r,s.child=S,s.child.memoizedState=Rm(d),s.memoizedState=Ci,r):Lm(s,R));if(v=r.memoizedState,v!==null&&(F=v.dehydrated,F!==null))return m8(r,s,R,h,F,v,d);if(S){S=h.fallback,R=s.mode,v=r.child,F=v.sibling;var $={mode:"hidden",children:h.children};return!(R&1)&&s.child!==v?(h=s.child,h.childLanes=0,h.pendingProps=$,s.deletions=null):(h=Ls(v,$),h.subtreeFlags=v.subtreeFlags&14680064),F!==null?S=Ls(F,S):(S=Ai(S,R,d,null),S.flags|=2),S.return=s,h.return=s,h.sibling=S,s.child=h,h=S,S=s.child,R=r.child.memoizedState,R=R===null?Rm(d):{baseLanes:R.baseLanes|d,cachePool:null,transitions:R.transitions},S.memoizedState=R,S.childLanes=r.childLanes&~d,s.memoizedState=Ci,h}return S=r.child,r=S.sibling,h=Ls(S,{mode:"visible",children:h.children}),!(s.mode&1)&&(h.lanes=d),h.return=s,h.sibling=null,r!==null&&(d=s.deletions,d===null?(s.deletions=[r],s.flags|=16):d.push(r)),s.child=h,s.memoizedState=null,h}function Lm(r,s){return s=bc({mode:"visible",children:s},r.mode,0,null),s.return=r,r.child=s}function Fl(r,s,d,h){return h!==null&&vm(h),El(s,r.child,null,d),r=Lm(s,s.pendingProps.children),r.flags|=2,s.memoizedState=null,r}function m8(r,s,d,h,v,S,R){if(d)return s.flags&256?(s.flags&=-257,h=Im(Error(o(422))),Fl(r,s,R,h)):s.memoizedState!==null?(s.child=r.child,s.flags|=128,null):(S=h.fallback,v=s.mode,h=bc({mode:"visible",children:h.children},v,0,null),S=Ai(S,v,R,null),S.flags|=2,h.return=s,S.return=s,h.sibling=S,s.child=h,s.mode&1&&El(s,r.child,null,R),s.child.memoizedState=Rm(R),s.memoizedState=Ci,S);if(!(s.mode&1))return Fl(r,s,R,null);if(v.data==="$!"){if(h=v.nextSibling&&v.nextSibling.dataset,h)var F=h.dgst;return h=F,S=Error(o(419)),h=Im(S,h,void 0),Fl(r,s,R,h)}if(F=(R&r.childLanes)!==0,Ya||F){if(h=rn,h!==null){switch(R&-R){case 4:v=2;break;case 16:v=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:v=32;break;case 536870912:v=268435456;break;default:v=0}v=v&(h.suspendedLanes|R)?0:v,v!==0&&v!==S.retryLane&&(S.retryLane=v,Go(r,v),ba(h,r,v,-1))}return zm(),h=Im(Error(o(421))),Fl(r,s,R,h)}return v.data==="$?"?(s.flags|=128,s.child=r.child,s=v8.bind(null,r),v._reactRetry=s,null):(r=S.treeContext,qa=to(v.nextSibling),ir=s,Zt=!0,Rr=null,r!==null&&(Ga[fa++]=Yn,Ga[fa++]=zo,Ga[fa++]=Nr,Yn=r.id,zo=r.overflow,Nr=s),s=Lm(s,h.children),s.flags|=4096,s)}function Am(r,s,d){r.lanes|=s;var h=r.alternate;h!==null&&(h.lanes|=s),bm(r.return,s,d)}function s1(r,s,d,h,v){var S=r.memoizedState;S===null?r.memoizedState={isBackwards:s,rendering:null,renderingStartTime:0,last:h,tail:d,tailMode:v}:(S.isBackwards=s,S.rendering=null,S.renderingStartTime=0,S.last=h,S.tail=d,S.tailMode=v)}function xm(r,s,d){var h=s.pendingProps,v=h.revealOrder,S=h.tail;if(pn(r,s,h.children,d),h=en.current,h&2)h=h&1|2,s.flags|=128;else{if(r!==null&&r.flags&128)e:for(r=s.child;r!==null;){if(r.tag===13)r.memoizedState!==null&&Am(r,d,s);else if(r.tag===19)Am(r,d,s);else if(r.child!==null){r.child.return=r,r=r.child;continue}if(r===s)break e;for(;r.sibling===null;){if(r.return===null||r.return===s)break e;r=r.return}r.sibling.return=r.return,r=r.sibling}h&=1}if(Mt(en,h),!(s.mode&1))s.memoizedState=null;else switch(v){case"forwards":for(d=s.child,v=null;d!==null;)r=d.alternate,r!==null&&Vd(r)===null&&(v=d),d=d.sibling;d=v,d===null?(v=s.child,s.child=null):(v=d.sibling,d.sibling=null),s1(s,!1,v,d,S);break;case"backwards":for(d=null,v=s.child,s.child=null;v!==null;){if(r=v.alternate,r!==null&&Vd(r)===null){s.child=v;break}r=v.sibling,v.sibling=d,d=v,v=r}s1(s,!0,d,null,S);break;case"together":s1(s,!1,null,null,void 0);break;default:s.memoizedState=null}return s.child}function ga(r,s){!(s.mode&1)&&r!==null&&(r.alternate=null,s.alternate=null,s.flags|=2)}function Zn(r,s,d){if(r!==null&&(s.dependencies=r.dependencies),Yo|=s.lanes,!(d&s.childLanes))return null;if(r!==null&&s.child!==r.child)throw Error(o(153));if(s.child!==null){for(r=s.child,d=Ls(r,r.pendingProps),s.child=d,d.return=s;r.sibling!==null;)r=r.sibling,d=d.sibling=Ls(r,r.pendingProps),d.return=s;d.sibling=null}return s.child}function Wo(r,s,d){switch(s.tag){case 3:Lp(s),an();break;case 5:kp(s);break;case 1:Jt(s.type)&&Rd(s);break;case 4:km(s,s.stateNode.containerInfo);break;case 10:var h=s.type._context,v=s.memoizedProps.value;Mt(Ho,h._currentValue),h._currentValue=v;break;case 13:if(h=s.memoizedState,h!==null)return h.dehydrated!==null?(Mt(en,en.current&1),s.flags|=128,null):d&s.child.childLanes?Om(r,s,d):(Mt(en,en.current&1),r=Zn(r,s,d),r!==null?r.sibling:null);Mt(en,en.current&1);break;case 19:if(h=(d&s.childLanes)!==0,r.flags&128){if(h)return xm(r,s,d);s.flags|=128}if(v=s.memoizedState,v!==null&&(v.rendering=null,v.tail=null,v.lastEffect=null),Mt(en,en.current),h)break;return null;case 22:case 23:return s.lanes=0,Ka(r,s,d)}return Zn(r,s,d)}var mc,Ei,xr,An;mc=function(r,s){for(var d=s.child;d!==null;){if(d.tag===5||d.tag===6)r.appendChild(d.stateNode);else if(d.tag!==4&&d.child!==null){d.child.return=d,d=d.child;continue}if(d===s)break;for(;d.sibling===null;){if(d.return===null||d.return===s)return;d=d.return}d.sibling.return=d.return,d=d.sibling}},Ei=function(){},xr=function(r,s,d,h){var v=r.memoizedProps;if(v!==h){r=s.stateNode,yi(no.current);var S=null;switch(d){case"input":v=nn(r,v),h=nn(r,h),S=[];break;case"select":v=Ce({},v,{value:void 0}),h=Ce({},h,{value:void 0}),S=[];break;case"textarea":v=xo(r,v),h=xo(r,h),S=[];break;default:typeof v.onClick!="function"&&typeof h.onClick=="function"&&(r.onclick=Nd)}Rn(d,h);var R;d=null;for(ne in v)if(!h.hasOwnProperty(ne)&&v.hasOwnProperty(ne)&&v[ne]!=null)if(ne==="style"){var F=v[ne];for(R in F)F.hasOwnProperty(R)&&(d||(d={}),d[R]="")}else ne!=="dangerouslySetInnerHTML"&&ne!=="children"&&ne!=="suppressContentEditableWarning"&&ne!=="suppressHydrationWarning"&&ne!=="autoFocus"&&(c.hasOwnProperty(ne)?S||(S=[]):(S=S||[]).push(ne,null));for(ne in h){var $=h[ne];if(F=v!=null?v[ne]:void 0,h.hasOwnProperty(ne)&&$!==F&&($!=null||F!=null))if(ne==="style")if(F){for(R in F)!F.hasOwnProperty(R)||$&&$.hasOwnProperty(R)||(d||(d={}),d[R]="");for(R in $)$.hasOwnProperty(R)&&F[R]!==$[R]&&(d||(d={}),d[R]=$[R])}else d||(S||(S=[]),S.push(ne,d)),d=$;else ne==="dangerouslySetInnerHTML"?($=$?$.__html:void 0,F=F?F.__html:void 0,$!=null&&F!==$&&(S=S||[]).push(ne,$)):ne==="children"?typeof $!="string"&&typeof $!="number"||(S=S||[]).push(ne,""+$):ne!=="suppressContentEditableWarning"&&ne!=="suppressHydrationWarning"&&(c.hasOwnProperty(ne)?($!=null&&ne==="onScroll"&&Ht("scroll",r),S||F===$||(S=[])):(S=S||[]).push(ne,$))}d&&(S=S||[]).push("style",d);var ne=S;(s.updateQueue=ne)&&(s.flags|=4)}},An=function(r,s,d,h){d!==h&&(s.flags|=4)};function fc(r,s){if(!Zt)switch(r.tailMode){case"hidden":s=r.tail;for(var d=null;s!==null;)s.alternate!==null&&(d=s),s=s.sibling;d===null?r.tail=null:d.sibling=null;break;case"collapsed":d=r.tail;for(var h=null;d!==null;)d.alternate!==null&&(h=d),d=d.sibling;h===null?s||r.tail===null?r.tail=null:r.tail.sibling=null:h.sibling=null}}function ya(r){var s=r.alternate!==null&&r.alternate.child===r.child,d=0,h=0;if(s)for(var v=r.child;v!==null;)d|=v.lanes|v.childLanes,h|=v.subtreeFlags&14680064,h|=v.flags&14680064,v.return=r,v=v.sibling;else for(v=r.child;v!==null;)d|=v.lanes|v.childLanes,h|=v.subtreeFlags,h|=v.flags,v.return=r,v=v.sibling;return r.subtreeFlags|=h,r.childLanes=d,s}function f8(r,s,d){var h=s.pendingProps;switch(gm(s),s.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ya(s),null;case 1:return Jt(s.type)&&Ir(),ya(s),null;case 3:return h=s.stateNode,Rl(),Pt(dn),Pt(rt),wm(),h.pendingContext&&(h.context=h.pendingContext,h.pendingContext=null),(r===null||r.child===null)&&(xd(s)?s.flags|=4:r===null||r.memoizedState.isDehydrated&&!(s.flags&256)||(s.flags|=1024,Rr!==null&&(Tc(Rr),Rr=null))),Ei(r,s),ya(s),null;case 5:Sm(s);var v=yi(ac.current);if(d=s.type,r!==null&&s.stateNode!=null)xr(r,s,d,h,v),r.ref!==s.ref&&(s.flags|=512,s.flags|=2097152);else{if(!h){if(s.stateNode===null)throw Error(o(166));return ya(s),null}if(r=yi(no.current),xd(s)){h=s.stateNode,d=s.type;var S=s.memoizedProps;switch(h[ho]=s,h[fi]=S,r=(s.mode&1)!==0,d){case"dialog":Ht("cancel",h),Ht("close",h);break;case"iframe":case"object":case"embed":Ht("load",h);break;case"video":case"audio":for(v=0;v<Qu.length;v++)Ht(Qu[v],h);break;case"source":Ht("error",h);break;case"img":case"image":case"link":Ht("error",h),Ht("load",h);break;case"details":Ht("toggle",h);break;case"input":Nt(h,S),Ht("invalid",h);break;case"select":h._wrapperState={wasMultiple:!!S.multiple},Ht("invalid",h);break;case"textarea":ds(h,S),Ht("invalid",h)}Rn(d,S),v=null;for(var R in S)if(S.hasOwnProperty(R)){var F=S[R];R==="children"?typeof F=="string"?h.textContent!==F&&(S.suppressHydrationWarning!==!0&&Id(h.textContent,F,r),v=["children",F]):typeof F=="number"&&h.textContent!==""+F&&(S.suppressHydrationWarning!==!0&&Id(h.textContent,F,r),v=["children",""+F]):c.hasOwnProperty(R)&&F!=null&&R==="onScroll"&&Ht("scroll",h)}switch(d){case"input":Yt(h),Wr(h,S,!0);break;case"textarea":Yt(h),Tr(h);break;case"select":case"option":break;default:typeof S.onClick=="function"&&(h.onclick=Nd)}h=v,s.updateQueue=h,h!==null&&(s.flags|=4)}else{R=v.nodeType===9?v:v.ownerDocument,r==="http://www.w3.org/1999/xhtml"&&(r=ms(d)),r==="http://www.w3.org/1999/xhtml"?d==="script"?(r=R.createElement("div"),r.innerHTML="<script><\/script>",r=r.removeChild(r.firstChild)):typeof h.is=="string"?r=R.createElement(d,{is:h.is}):(r=R.createElement(d),d==="select"&&(R=r,h.multiple?R.multiple=!0:h.size&&(R.size=h.size))):r=R.createElementNS(r,d),r[ho]=s,r[fi]=h,mc(r,s,!1,!1),s.stateNode=r;e:{switch(R=Qr(d,h),d){case"dialog":Ht("cancel",r),Ht("close",r),v=h;break;case"iframe":case"object":case"embed":Ht("load",r),v=h;break;case"video":case"audio":for(v=0;v<Qu.length;v++)Ht(Qu[v],r);v=h;break;case"source":Ht("error",r),v=h;break;case"img":case"image":case"link":Ht("error",r),Ht("load",r),v=h;break;case"details":Ht("toggle",r),v=h;break;case"input":Nt(r,h),v=nn(r,h),Ht("invalid",r);break;case"option":v=h;break;case"select":r._wrapperState={wasMultiple:!!h.multiple},v=Ce({},h,{value:void 0}),Ht("invalid",r);break;case"textarea":ds(r,h),v=xo(r,h),Ht("invalid",r);break;default:v=h}Rn(d,v),F=v;for(S in F)if(F.hasOwnProperty(S)){var $=F[S];S==="style"?ln(r,$):S==="dangerouslySetInnerHTML"?($=$?$.__html:void 0,$!=null&&Iu(r,$)):S==="children"?typeof $=="string"?(d!=="textarea"||$!=="")&&Re(r,$):typeof $=="number"&&Re(r,""+$):S!=="suppressContentEditableWarning"&&S!=="suppressHydrationWarning"&&S!=="autoFocus"&&(c.hasOwnProperty(S)?$!=null&&S==="onScroll"&&Ht("scroll",r):$!=null&&K(r,S,$,R))}switch(d){case"input":Yt(r),Wr(r,h,!1);break;case"textarea":Yt(r),Tr(r);break;case"option":h.value!=null&&r.setAttribute("value",""+tt(h.value));break;case"select":r.multiple=!!h.multiple,S=h.value,S!=null?mo(r,!!h.multiple,S,!1):h.defaultValue!=null&&mo(r,!!h.multiple,h.defaultValue,!0);break;default:typeof v.onClick=="function"&&(r.onclick=Nd)}switch(d){case"button":case"input":case"select":case"textarea":h=!!h.autoFocus;break e;case"img":h=!0;break e;default:h=!1}}h&&(s.flags|=4)}s.ref!==null&&(s.flags|=512,s.flags|=2097152)}return ya(s),null;case 6:if(r&&s.stateNode!=null)An(r,s,r.memoizedProps,h);else{if(typeof h!="string"&&s.stateNode===null)throw Error(o(166));if(d=yi(ac.current),yi(no.current),xd(s)){if(h=s.stateNode,d=s.memoizedProps,h[ho]=s,(S=h.nodeValue!==d)&&(r=ir,r!==null))switch(r.tag){case 3:Id(h.nodeValue,d,(r.mode&1)!==0);break;case 5:r.memoizedProps.suppressHydrationWarning!==!0&&Id(h.nodeValue,d,(r.mode&1)!==0)}S&&(s.flags|=4)}else h=(d.nodeType===9?d:d.ownerDocument).createTextNode(h),h[ho]=s,s.stateNode=h}return ya(s),null;case 13:if(Pt(en),h=s.memoizedState,r===null||r.memoizedState!==null&&r.memoizedState.dehydrated!==null){if(Zt&&qa!==null&&s.mode&1&&!(s.flags&128))hp(),an(),s.flags|=98560,S=!1;else if(S=xd(s),h!==null&&h.dehydrated!==null){if(r===null){if(!S)throw Error(o(318));if(S=s.memoizedState,S=S!==null?S.dehydrated:null,!S)throw Error(o(317));S[ho]=s}else an(),!(s.flags&128)&&(s.memoizedState=null),s.flags|=4;ya(s),S=!1}else Rr!==null&&(Tc(Rr),Rr=null),S=!0;if(!S)return s.flags&65536?s:null}return s.flags&128?(s.lanes=d,s):(h=h!==null,h!==(r!==null&&r.memoizedState!==null)&&h&&(s.child.flags|=8192,s.mode&1&&(r===null||en.current&1?Pn===0&&(Pn=3):zm())),s.updateQueue!==null&&(s.flags|=4),ya(s),null);case 4:return Rl(),Ei(r,s),r===null&&Sl(s.stateNode.containerInfo),ya(s),null;case 10:return Tm(s.type._context),ya(s),null;case 17:return Jt(s.type)&&Ir(),ya(s),null;case 19:if(Pt(en),S=s.memoizedState,S===null)return ya(s),null;if(h=(s.flags&128)!==0,R=S.rendering,R===null)if(h)fc(S,!1);else{if(Pn!==0||r!==null&&r.flags&128)for(r=s.child;r!==null;){if(R=Vd(r),R!==null){for(s.flags|=128,fc(S,!1),h=R.updateQueue,h!==null&&(s.updateQueue=h,s.flags|=4),s.subtreeFlags=0,h=d,d=s.child;d!==null;)S=d,r=h,S.flags&=14680066,R=S.alternate,R===null?(S.childLanes=0,S.lanes=r,S.child=null,S.subtreeFlags=0,S.memoizedProps=null,S.memoizedState=null,S.updateQueue=null,S.dependencies=null,S.stateNode=null):(S.childLanes=R.childLanes,S.lanes=R.lanes,S.child=R.child,S.subtreeFlags=0,S.deletions=null,S.memoizedProps=R.memoizedProps,S.memoizedState=R.memoizedState,S.updateQueue=R.updateQueue,S.type=R.type,r=R.dependencies,S.dependencies=r===null?null:{lanes:r.lanes,firstContext:r.firstContext}),d=d.sibling;return Mt(en,en.current&1|2),s.child}r=r.sibling}S.tail!==null&&cn()>Gl&&(s.flags|=128,h=!0,fc(S,!1),s.lanes=4194304)}else{if(!h)if(r=Vd(R),r!==null){if(s.flags|=128,h=!0,d=r.updateQueue,d!==null&&(s.updateQueue=d,s.flags|=4),fc(S,!0),S.tail===null&&S.tailMode==="hidden"&&!R.alternate&&!Zt)return ya(s),null}else 2*cn()-S.renderingStartTime>Gl&&d!==1073741824&&(s.flags|=128,h=!0,fc(S,!1),s.lanes=4194304);S.isBackwards?(R.sibling=s.child,s.child=R):(d=S.last,d!==null?d.sibling=R:s.child=R,S.last=R)}return S.tail!==null?(s=S.tail,S.rendering=s,S.tail=s.sibling,S.renderingStartTime=cn(),s.sibling=null,d=en.current,Mt(en,h?d&1|2:d&1),s):(ya(s),null);case 22:case 23:return $m(),h=s.memoizedState!==null,r!==null&&r.memoizedState!==null!==h&&(s.flags|=8192),h&&s.mode&1?dr&1073741824&&(ya(s),s.subtreeFlags&6&&(s.flags|=8192)):ya(s),null;case 24:return null;case 25:return null}throw Error(o(156,s.tag))}function Pm(r,s){switch(gm(s),s.tag){case 1:return Jt(s.type)&&Ir(),r=s.flags,r&65536?(s.flags=r&-65537|128,s):null;case 3:return Rl(),Pt(dn),Pt(rt),wm(),r=s.flags,r&65536&&!(r&128)?(s.flags=r&-65537|128,s):null;case 5:return Sm(s),null;case 13:if(Pt(en),r=s.memoizedState,r!==null&&r.dehydrated!==null){if(s.alternate===null)throw Error(o(340));an()}return r=s.flags,r&65536?(s.flags=r&-65537|128,s):null;case 19:return Pt(en),null;case 4:return Rl(),null;case 10:return Tm(s.type._context),null;case 22:case 23:return $m(),null;case 24:return null;default:return null}}var pc=!1,xn=!1,Ap=typeof WeakSet=="function"?WeakSet:Set,Ue=null;function Vl(r,s){var d=r.ref;if(d!==null)if(typeof d=="function")try{d(null)}catch(h){fn(r,s,h)}else d.current=null}function i1(r,s,d){try{d()}catch(h){fn(r,s,h)}}var xp=!1;function Pp(r,s){if(lm=si,r=Sd(),Vo(r)){if("selectionStart"in r)var d={start:r.selectionStart,end:r.selectionEnd};else e:{d=(d=r.ownerDocument)&&d.defaultView||window;var h=d.getSelection&&d.getSelection();if(h&&h.rangeCount!==0){d=h.anchorNode;var v=h.anchorOffset,S=h.focusNode;h=h.focusOffset;try{d.nodeType,S.nodeType}catch{d=null;break e}var R=0,F=-1,$=-1,ne=0,ye=0,Te=r,ve=null;t:for(;;){for(var Le;Te!==d||v!==0&&Te.nodeType!==3||(F=R+v),Te!==S||h!==0&&Te.nodeType!==3||($=R+h),Te.nodeType===3&&(R+=Te.nodeValue.length),(Le=Te.firstChild)!==null;)ve=Te,Te=Le;for(;;){if(Te===r)break t;if(ve===d&&++ne===v&&(F=R),ve===S&&++ye===h&&($=R),(Le=Te.nextSibling)!==null)break;Te=ve,ve=Te.parentNode}Te=Le}d=F===-1||$===-1?null:{start:F,end:$}}else d=null}d=d||{start:0,end:0}}else d=null;for(di={focusedElem:r,selectionRange:d},si=!1,Ue=s;Ue!==null;)if(s=Ue,r=s.child,(s.subtreeFlags&1028)!==0&&r!==null)r.return=s,Ue=r;else for(;Ue!==null;){s=Ue;try{var Ve=s.alternate;if(s.flags&1024)switch(s.tag){case 0:case 11:case 15:break;case 1:if(Ve!==null){var ze=Ve.memoizedProps,hn=Ve.memoizedState,Y=s.stateNode,G=Y.getSnapshotBeforeUpdate(s.elementType===s.type?ze:Qa(s.type,ze),hn);Y.__reactInternalSnapshotBeforeUpdate=G}break;case 3:var J=s.stateNode.containerInfo;J.nodeType===1?J.textContent="":J.nodeType===9&&J.documentElement&&J.removeChild(J.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(o(163))}}catch(we){fn(s,s.return,we)}if(r=s.sibling,r!==null){r.return=s.return,Ue=r;break}Ue=s.return}return Ve=xp,xp=!1,Ve}function hc(r,s,d){var h=s.updateQueue;if(h=h!==null?h.lastEffect:null,h!==null){var v=h=h.next;do{if((v.tag&r)===r){var S=v.destroy;v.destroy=void 0,S!==void 0&&i1(s,d,S)}v=v.next}while(v!==h)}}function gc(r,s){if(s=s.updateQueue,s=s!==null?s.lastEffect:null,s!==null){var d=s=s.next;do{if((d.tag&r)===r){var h=d.create;d.destroy=h()}d=d.next}while(d!==s)}}function Mm(r){var s=r.ref;if(s!==null){var d=r.stateNode;switch(r.tag){case 5:r=d;break;default:r=d}typeof s=="function"?s(r):s.current=r}}function Dm(r){var s=r.alternate;s!==null&&(r.alternate=null,Dm(s)),r.child=null,r.deletions=null,r.sibling=null,r.tag===5&&(s=r.stateNode,s!==null&&(delete s[ho],delete s[fi],delete s[dm],delete s[u8],delete s[mm])),r.stateNode=null,r.return=null,r.dependencies=null,r.memoizedProps=null,r.memoizedState=null,r.pendingProps=null,r.stateNode=null,r.updateQueue=null}function Mp(r){return r.tag===5||r.tag===3||r.tag===4}function l1(r){e:for(;;){for(;r.sibling===null;){if(r.return===null||Mp(r.return))return null;r=r.return}for(r.sibling.return=r.return,r=r.sibling;r.tag!==5&&r.tag!==6&&r.tag!==18;){if(r.flags&2||r.child===null||r.tag===4)continue e;r.child.return=r,r=r.child}if(!(r.flags&2))return r.stateNode}}function Bl(r,s,d){var h=r.tag;if(h===5||h===6)r=r.stateNode,s?d.nodeType===8?d.parentNode.insertBefore(r,s):d.insertBefore(r,s):(d.nodeType===8?(s=d.parentNode,s.insertBefore(r,d)):(s=d,s.appendChild(r)),d=d._reactRootContainer,d!=null||s.onclick!==null||(s.onclick=Nd));else if(h!==4&&(r=r.child,r!==null))for(Bl(r,s,d),r=r.sibling;r!==null;)Bl(r,s,d),r=r.sibling}function vo(r,s,d){var h=r.tag;if(h===5||h===6)r=r.stateNode,s?d.insertBefore(r,s):d.appendChild(r);else if(h!==4&&(r=r.child,r!==null))for(vo(r,s,d),r=r.sibling;r!==null;)vo(r,s,d),r=r.sibling}var tn=null,zn=!1;function Pr(r,s,d){for(d=d.child;d!==null;)jl(r,s,d),d=d.sibling}function jl(r,s,d){if(Kr&&typeof Kr.onCommitFiberUnmount=="function")try{Kr.onCommitFiberUnmount(Au,d)}catch{}switch(d.tag){case 5:xn||Vl(d,s);case 6:var h=tn,v=zn;tn=null,Pr(r,s,d),tn=h,zn=v,tn!==null&&(zn?(r=tn,d=d.stateNode,r.nodeType===8?r.parentNode.removeChild(d):r.removeChild(d)):tn.removeChild(d.stateNode));break;case 18:tn!==null&&(zn?(r=tn,d=d.stateNode,r.nodeType===8?vs(r.parentNode,d):r.nodeType===1&&vs(r,d),Uu(r)):vs(tn,d.stateNode));break;case 4:h=tn,v=zn,tn=d.stateNode.containerInfo,zn=!0,Pr(r,s,d),tn=h,zn=v;break;case 0:case 11:case 14:case 15:if(!xn&&(h=d.updateQueue,h!==null&&(h=h.lastEffect,h!==null))){v=h=h.next;do{var S=v,R=S.destroy;S=S.tag,R!==void 0&&(S&2||S&4)&&i1(d,s,R),v=v.next}while(v!==h)}Pr(r,s,d);break;case 1:if(!xn&&(Vl(d,s),h=d.stateNode,typeof h.componentWillUnmount=="function"))try{h.props=d.memoizedProps,h.state=d.memoizedState,h.componentWillUnmount()}catch(F){fn(d,s,F)}Pr(r,s,d);break;case 21:Pr(r,s,d);break;case 22:d.mode&1?(xn=(h=xn)||d.memoizedState!==null,Pr(r,s,d),xn=h):Pr(r,s,d);break;default:Pr(r,s,d)}}function Qo(r){var s=r.updateQueue;if(s!==null){r.updateQueue=null;var d=r.stateNode;d===null&&(d=r.stateNode=new Ap),s.forEach(function(h){var v=T8.bind(null,r,h);d.has(h)||(d.add(h),h.then(v,v))})}}function ao(r,s){var d=s.deletions;if(d!==null)for(var h=0;h<d.length;h++){var v=d[h];try{var S=r,R=s,F=R;e:for(;F!==null;){switch(F.tag){case 5:tn=F.stateNode,zn=!1;break e;case 3:tn=F.stateNode.containerInfo,zn=!0;break e;case 4:tn=F.stateNode.containerInfo,zn=!0;break e}F=F.return}if(tn===null)throw Error(o(160));jl(S,R,v),tn=null,zn=!1;var $=v.alternate;$!==null&&($.return=null),v.return=null}catch(ne){fn(v,s,ne)}}if(s.subtreeFlags&12854)for(s=s.child;s!==null;)Dp(s,r),s=s.sibling}function Dp(r,s){var d=r.alternate,h=r.flags;switch(r.tag){case 0:case 11:case 14:case 15:if(ao(s,r),To(r),h&4){try{hc(3,r,r.return),gc(3,r)}catch(ze){fn(r,r.return,ze)}try{hc(5,r,r.return)}catch(ze){fn(r,r.return,ze)}}break;case 1:ao(s,r),To(r),h&512&&d!==null&&Vl(d,d.return);break;case 5:if(ao(s,r),To(r),h&512&&d!==null&&Vl(d,d.return),r.flags&32){var v=r.stateNode;try{Re(v,"")}catch(ze){fn(r,r.return,ze)}}if(h&4&&(v=r.stateNode,v!=null)){var S=r.memoizedProps,R=d!==null?d.memoizedProps:S,F=r.type,$=r.updateQueue;if(r.updateQueue=null,$!==null)try{F==="input"&&S.type==="radio"&&S.name!=null&&sn(v,S),Qr(F,R);var ne=Qr(F,S);for(R=0;R<$.length;R+=2){var ye=$[R],Te=$[R+1];ye==="style"?ln(v,Te):ye==="dangerouslySetInnerHTML"?Iu(v,Te):ye==="children"?Re(v,Te):K(v,ye,Te,ne)}switch(F){case"input":Nn(v,S);break;case"textarea":ni(v,S);break;case"select":var ve=v._wrapperState.wasMultiple;v._wrapperState.wasMultiple=!!S.multiple;var Le=S.value;Le!=null?mo(v,!!S.multiple,Le,!1):ve!==!!S.multiple&&(S.defaultValue!=null?mo(v,!!S.multiple,S.defaultValue,!0):mo(v,!!S.multiple,S.multiple?[]:"",!1))}v[fi]=S}catch(ze){fn(r,r.return,ze)}}break;case 6:if(ao(s,r),To(r),h&4){if(r.stateNode===null)throw Error(o(162));v=r.stateNode,S=r.memoizedProps;try{v.nodeValue=S}catch(ze){fn(r,r.return,ze)}}break;case 3:if(ao(s,r),To(r),h&4&&d!==null&&d.memoizedState.isDehydrated)try{Uu(s.containerInfo)}catch(ze){fn(r,r.return,ze)}break;case 4:ao(s,r),To(r);break;case 13:ao(s,r),To(r),v=r.child,v.flags&8192&&(S=v.memoizedState!==null,v.stateNode.isHidden=S,!S||v.alternate!==null&&v.alternate.memoizedState!==null||(Vm=cn())),h&4&&Qo(r);break;case 22:if(ye=d!==null&&d.memoizedState!==null,r.mode&1?(xn=(ne=xn)||ye,ao(s,r),xn=ne):ao(s,r),To(r),h&8192){if(ne=r.memoizedState!==null,(r.stateNode.isHidden=ne)&&!ye&&r.mode&1)for(Ue=r,ye=r.child;ye!==null;){for(Te=Ue=ye;Ue!==null;){switch(ve=Ue,Le=ve.child,ve.tag){case 0:case 11:case 14:case 15:hc(4,ve,ve.return);break;case 1:Vl(ve,ve.return);var Ve=ve.stateNode;if(typeof Ve.componentWillUnmount=="function"){h=ve,d=ve.return;try{s=h,Ve.props=s.memoizedProps,Ve.state=s.memoizedState,Ve.componentWillUnmount()}catch(ze){fn(h,d,ze)}}break;case 5:Vl(ve,ve.return);break;case 22:if(ve.memoizedState!==null){Um(Te);continue}}Le!==null?(Le.return=ve,Ue=Le):Um(Te)}ye=ye.sibling}e:for(ye=null,Te=r;;){if(Te.tag===5){if(ye===null){ye=Te;try{v=Te.stateNode,ne?(S=v.style,typeof S.setProperty=="function"?S.setProperty("display","none","important"):S.display="none"):(F=Te.stateNode,$=Te.memoizedProps.style,R=$!=null&&$.hasOwnProperty("display")?$.display:null,F.style.display=qt("display",R))}catch(ze){fn(r,r.return,ze)}}}else if(Te.tag===6){if(ye===null)try{Te.stateNode.nodeValue=ne?"":Te.memoizedProps}catch(ze){fn(r,r.return,ze)}}else if((Te.tag!==22&&Te.tag!==23||Te.memoizedState===null||Te===r)&&Te.child!==null){Te.child.return=Te,Te=Te.child;continue}if(Te===r)break e;for(;Te.sibling===null;){if(Te.return===null||Te.return===r)break e;ye===Te&&(ye=null),Te=Te.return}ye===Te&&(ye=null),Te.sibling.return=Te.return,Te=Te.sibling}}break;case 19:ao(s,r),To(r),h&4&&Qo(r);break;case 21:break;default:ao(s,r),To(r)}}function To(r){var s=r.flags;if(s&2){try{e:{for(var d=r.return;d!==null;){if(Mp(d)){var h=d;break e}d=d.return}throw Error(o(160))}switch(h.tag){case 5:var v=h.stateNode;h.flags&32&&(Re(v,""),h.flags&=-33);var S=l1(r);vo(r,S,v);break;case 3:case 4:var R=h.stateNode.containerInfo,F=l1(r);Bl(r,F,R);break;default:throw Error(o(161))}}catch($){fn(r,r.return,$)}r.flags&=-3}s&4096&&(r.flags&=-4097)}function Up(r,s,d){Ue=r,$l(r)}function $l(r,s,d){for(var h=(r.mode&1)!==0;Ue!==null;){var v=Ue,S=v.child;if(v.tag===22&&h){var R=v.memoizedState!==null||pc;if(!R){var F=v.alternate,$=F!==null&&F.memoizedState!==null||xn;F=pc;var ne=xn;if(pc=R,(xn=$)&&!ne)for(Ue=v;Ue!==null;)R=Ue,$=R.child,R.tag===22&&R.memoizedState!==null?Vp(v):$!==null?($.return=R,Ue=$):Vp(v);for(;S!==null;)Ue=S,$l(S),S=S.sibling;Ue=v,pc=F,xn=ne}Fp(r)}else v.subtreeFlags&8772&&S!==null?(S.return=v,Ue=S):Fp(r)}}function Fp(r){for(;Ue!==null;){var s=Ue;if(s.flags&8772){var d=s.alternate;try{if(s.flags&8772)switch(s.tag){case 0:case 11:case 15:xn||gc(5,s);break;case 1:var h=s.stateNode;if(s.flags&4&&!xn)if(d===null)h.componentDidMount();else{var v=s.elementType===s.type?d.memoizedProps:Qa(s.type,d.memoizedProps);h.componentDidUpdate(v,d.memoizedState,h.__reactInternalSnapshotBeforeUpdate)}var S=s.updateQueue;S!==null&&bp(s,S,h);break;case 3:var R=s.updateQueue;if(R!==null){if(d=null,s.child!==null)switch(s.child.tag){case 5:d=s.child.stateNode;break;case 1:d=s.child.stateNode}bp(s,R,d)}break;case 5:var F=s.stateNode;if(d===null&&s.flags&4){d=F;var $=s.memoizedProps;switch(s.type){case"button":case"input":case"select":case"textarea":$.autoFocus&&d.focus();break;case"img":$.src&&(d.src=$.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(s.memoizedState===null){var ne=s.alternate;if(ne!==null){var ye=ne.memoizedState;if(ye!==null){var Te=ye.dehydrated;Te!==null&&Uu(Te)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(o(163))}xn||s.flags&512&&Mm(s)}catch(ve){fn(s,s.return,ve)}}if(s===r){Ue=null;break}if(d=s.sibling,d!==null){d.return=s.return,Ue=d;break}Ue=s.return}}function Um(r){for(;Ue!==null;){var s=Ue;if(s===r){Ue=null;break}var d=s.sibling;if(d!==null){d.return=s.return,Ue=d;break}Ue=s.return}}function Vp(r){for(;Ue!==null;){var s=Ue;try{switch(s.tag){case 0:case 11:case 15:var d=s.return;try{gc(4,s)}catch($){fn(s,d,$)}break;case 1:var h=s.stateNode;if(typeof h.componentDidMount=="function"){var v=s.return;try{h.componentDidMount()}catch($){fn(s,v,$)}}var S=s.return;try{Mm(s)}catch($){fn(s,S,$)}break;case 5:var R=s.return;try{Mm(s)}catch($){fn(s,R,$)}}}catch($){fn(s,s.return,$)}if(s===r){Ue=null;break}var F=s.sibling;if(F!==null){F.return=s.return,Ue=F;break}Ue=s.return}}var u1=Math.ceil,yc=re.ReactCurrentDispatcher,Fm=re.ReactCurrentOwner,va=re.ReactCurrentBatchConfig,Et=0,rn=null,mn=null,Hn=0,dr=0,zl=ht(0),Pn=0,vc=null,Yo=0,c1=0,Hl=0,_i=null,_a=null,Vm=0,Gl=1/0,Ko=null,d1=!1,Ii=null,bo=null,Ns=!1,Rs=null,m1=0,ql=0,f1=null,Ni=-1,Ri=0;function Ta(){return Et&6?cn():Ni!==-1?Ni:Ni=cn()}function Cn(r){return r.mode&1?Et&2&&Hn!==0?Hn&-Hn:Pd.transition!==null?(Ri===0&&(Ri=cd()),Ri):(r=Ft,r!==0||(r=window.event,r=r===void 0?16:$0(r.type)),r):1}function ba(r,s,d,h){if(50<ql)throw ql=0,f1=null,Error(o(185));oi(r,d,h),(!(Et&2)||r!==rn)&&(r===rn&&(!(Et&2)&&(c1|=d),Pn===4&&Mr(r,Hn)),ka(r,h),d===1&&Et===0&&!(s.mode&1)&&(Gl=cn()+500,$n&&za()))}function ka(r,s){var d=r.callbackNode;ud(r,s);var h=Zr(r,r===rn?Hn:0);if(h===0)d!==null&&w2(d),r.callbackNode=null,r.callbackPriority=0;else if(s=h&-h,r.callbackPriority!==s){if(d!=null&&w2(d),s===1)r.tag===0?pm(Bp.bind(null,r)):fm(Bp.bind(null,r)),cm(function(){!(Et&6)&&za()}),d=null;else{switch(V0(h)){case 1:d=Mo;break;case 4:d=Ct;break;case 16:d=fs;break;case 536870912:d=M0;break;default:d=fs}d=Gm(d,Wl.bind(null,r))}r.callbackPriority=s,r.callbackNode=d}}function Wl(r,s){if(Ni=-1,Ri=0,Et&6)throw Error(o(327));var d=r.callbackNode;if(Yl()&&r.callbackNode!==d)return null;var h=Zr(r,r===rn?Hn:0);if(h===0)return null;if(h&30||h&r.expiredLanes||s)s=h1(r,h);else{s=h;var v=Et;Et|=2;var S=p1();(rn!==r||Hn!==s)&&(Ko=null,Gl=cn()+500,Oi(r,s));do try{h8();break}catch(F){jp(r,F)}while(!0);lr(),yc.current=S,Et=v,mn!==null?s=0:(rn=null,Hn=0,s=Pn)}if(s!==0){if(s===2&&(v=U0(r),v!==0&&(h=v,s=Bm(r,v))),s===1)throw d=vc,Oi(r,0),Mr(r,h),ka(r,cn()),d;if(s===6)Mr(r,h);else{if(v=r.current.alternate,!(h&30)&&!jm(v)&&(s=h1(r,h),s===2&&(S=U0(r),S!==0&&(h=S,s=Bm(r,S))),s===1))throw d=vc,Oi(r,0),Mr(r,h),ka(r,cn()),d;switch(r.finishedWork=v,r.finishedLanes=h,s){case 0:case 1:throw Error(o(345));case 2:Li(r,_a,Ko);break;case 3:if(Mr(r,h),(h&130023424)===h&&(s=Vm+500-cn(),10<s)){if(Zr(r,0)!==0)break;if(v=r.suspendedLanes,(v&h)!==h){Ta(),r.pingedLanes|=r.suspendedLanes&v;break}r.timeoutHandle=mi(Li.bind(null,r,_a,Ko),s);break}Li(r,_a,Ko);break;case 4:if(Mr(r,h),(h&4194240)===h)break;for(s=r.eventTimes,v=-1;0<h;){var R=31-kr(h);S=1<<R,R=s[R],R>v&&(v=R),h&=~S}if(h=v,h=cn()-h,h=(120>h?120:480>h?480:1080>h?1080:1920>h?1920:3e3>h?3e3:4320>h?4320:1960*u1(h/1960))-h,10<h){r.timeoutHandle=mi(Li.bind(null,r,_a,Ko),h);break}Li(r,_a,Ko);break;case 5:Li(r,_a,Ko);break;default:throw Error(o(329))}}}return ka(r,cn()),r.callbackNode===d?Wl.bind(null,r):null}function Bm(r,s){var d=_i;return r.current.memoizedState.isDehydrated&&(Oi(r,s).flags|=256),r=h1(r,s),r!==2&&(s=_a,_a=d,s!==null&&Tc(s)),r}function Tc(r){_a===null?_a=r:_a.push.apply(_a,r)}function jm(r){for(var s=r;;){if(s.flags&16384){var d=s.updateQueue;if(d!==null&&(d=d.stores,d!==null))for(var h=0;h<d.length;h++){var v=d[h],S=v.getSnapshot;v=v.value;try{if(!Cr(S(),v))return!1}catch{return!1}}}if(d=s.child,s.subtreeFlags&16384&&d!==null)d.return=s,s=d;else{if(s===r)break;for(;s.sibling===null;){if(s.return===null||s.return===r)return!0;s=s.return}s.sibling.return=s.return,s=s.sibling}}return!0}function Mr(r,s){for(s&=~Hl,s&=~c1,r.suspendedLanes|=s,r.pingedLanes&=~s,r=r.expirationTimes;0<s;){var d=31-kr(s),h=1<<d;r[d]=-1,s&=~h}}function Bp(r){if(Et&6)throw Error(o(327));Yl();var s=Zr(r,0);if(!(s&1))return ka(r,cn()),null;var d=h1(r,s);if(r.tag!==0&&d===2){var h=U0(r);h!==0&&(s=h,d=Bm(r,h))}if(d===1)throw d=vc,Oi(r,0),Mr(r,s),ka(r,cn()),d;if(d===6)throw Error(o(345));return r.finishedWork=r.current.alternate,r.finishedLanes=s,Li(r,_a,Ko),ka(r,cn()),null}function Ql(r,s){var d=Et;Et|=1;try{return r(s)}finally{Et=d,Et===0&&(Gl=cn()+500,$n&&za())}}function Os(r){Rs!==null&&Rs.tag===0&&!(Et&6)&&Yl();var s=Et;Et|=1;var d=va.transition,h=Ft;try{if(va.transition=null,Ft=1,r)return r()}finally{Ft=h,va.transition=d,Et=s,!(Et&6)&&za()}}function $m(){dr=zl.current,Pt(zl)}function Oi(r,s){r.finishedWork=null,r.finishedLanes=0;var d=r.timeoutHandle;if(d!==-1&&(r.timeoutHandle=-1,dp(d)),mn!==null)for(d=mn.return;d!==null;){var h=d;switch(gm(h),h.tag){case 1:h=h.type.childContextTypes,h!=null&&Ir();break;case 3:Rl(),Pt(dn),Pt(rt),wm();break;case 5:Sm(h);break;case 4:Rl();break;case 13:Pt(en);break;case 19:Pt(en);break;case 10:Tm(h.type._context);break;case 22:case 23:$m()}d=d.return}if(rn=r,mn=r=Ls(r.current,null),Hn=dr=s,Pn=0,vc=null,Hl=c1=Yo=0,_a=_i=null,gi!==null){for(s=0;s<gi.length;s++)if(d=gi[s],h=d.interleaved,h!==null){d.interleaved=null;var v=h.next,S=d.pending;if(S!==null){var R=S.next;S.next=v,h.next=R}d.pending=h}gi=null}return r}function jp(r,s){do{var d=mn;try{if(lr(),jd.current=ha,ur){for(var h=qe.memoizedState;h!==null;){var v=h.queue;v!==null&&(v.pending=null),h=h.next}ur=!1}if(Ge=0,bt=ot=qe=null,Ol=!1,oc=0,Fm.current=null,d===null||d.return===null){Pn=1,vc=s,mn=null;break}e:{var S=r,R=d.return,F=d,$=s;if(s=Hn,F.flags|=32768,$!==null&&typeof $=="object"&&typeof $.then=="function"){var ne=$,ye=F,Te=ye.tag;if(!(ye.mode&1)&&(Te===0||Te===11||Te===15)){var ve=ye.alternate;ve?(ye.updateQueue=ve.updateQueue,ye.memoizedState=ve.memoizedState,ye.lanes=ve.lanes):(ye.updateQueue=null,ye.memoizedState=null)}var Le=Rp(R);if(Le!==null){Le.flags&=-257,Nm(Le,R,F,S,s),Le.mode&1&&cc(S,ne,s),s=Le,$=ne;var Ve=s.updateQueue;if(Ve===null){var ze=new Set;ze.add($),s.updateQueue=ze}else Ve.add($);break e}else{if(!(s&1)){cc(S,ne,s),zm();break e}$=Error(o(426))}}else if(Zt&&F.mode&1){var hn=Rp(R);if(hn!==null){!(hn.flags&65536)&&(hn.flags|=256),Nm(hn,R,F,S,s),vm(_s($,F));break e}}S=$=_s($,F),Pn!==4&&(Pn=2),_i===null?_i=[S]:_i.push(S),S=R;do{switch(S.tag){case 3:S.flags|=65536,s&=-s,S.lanes|=s;var Y=Ip(S,$,s);Tp(S,Y);break e;case 1:F=$;var G=S.type,J=S.stateNode;if(!(S.flags&128)&&(typeof G.getDerivedStateFromError=="function"||J!==null&&typeof J.componentDidCatch=="function"&&(bo===null||!bo.has(J)))){S.flags|=65536,s&=-s,S.lanes|=s;var we=Np(S,F,s);Tp(S,we);break e}}S=S.return}while(S!==null)}Hm(d)}catch(We){s=We,mn===d&&d!==null&&(mn=d=d.return);continue}break}while(!0)}function p1(){var r=yc.current;return yc.current=ha,r===null?ha:r}function zm(){(Pn===0||Pn===3||Pn===2)&&(Pn=4),rn===null||!(Yo&268435455)&&!(c1&268435455)||Mr(rn,Hn)}function h1(r,s){var d=Et;Et|=2;var h=p1();(rn!==r||Hn!==s)&&(Ko=null,Oi(r,s));do try{p8();break}catch(v){jp(r,v)}while(!0);if(lr(),Et=d,yc.current=h,mn!==null)throw Error(o(261));return rn=null,Hn=0,Pn}function p8(){for(;mn!==null;)$p(mn)}function h8(){for(;mn!==null&&!j6();)$p(mn)}function $p(r){var s=Hp(r.alternate,r,dr);r.memoizedProps=r.pendingProps,s===null?Hm(r):mn=s,Fm.current=null}function Hm(r){var s=r;do{var d=s.alternate;if(r=s.return,s.flags&32768){if(d=Pm(d,s),d!==null){d.flags&=32767,mn=d;return}if(r!==null)r.flags|=32768,r.subtreeFlags=0,r.deletions=null;else{Pn=6,mn=null;return}}else if(d=f8(d,s,dr),d!==null){mn=d;return}if(s=s.sibling,s!==null){mn=s;return}mn=s=r}while(s!==null);Pn===0&&(Pn=5)}function Li(r,s,d){var h=Ft,v=va.transition;try{va.transition=null,Ft=1,g8(r,s,d,h)}finally{va.transition=v,Ft=h}return null}function g8(r,s,d,h){do Yl();while(Rs!==null);if(Et&6)throw Error(o(327));d=r.finishedWork;var v=r.finishedLanes;if(d===null)return null;if(r.finishedWork=null,r.finishedLanes=0,d===r.current)throw Error(o(177));r.callbackNode=null,r.callbackPriority=0;var S=d.lanes|d.childLanes;if(G6(r,S),r===rn&&(mn=rn=null,Hn=0),!(d.subtreeFlags&2064)&&!(d.flags&2064)||Ns||(Ns=!0,Gm(fs,function(){return Yl(),null})),S=(d.flags&15990)!==0,d.subtreeFlags&15990||S){S=va.transition,va.transition=null;var R=Ft;Ft=1;var F=Et;Et|=4,Fm.current=null,Pp(r,d),Dp(d,r),wd(di),si=!!lm,di=lm=null,r.current=d,Up(d),$6(),Et=F,Ft=R,va.transition=S}else r.current=d;if(Ns&&(Ns=!1,Rs=r,m1=v),S=r.pendingLanes,S===0&&(bo=null),E2(d.stateNode),ka(r,cn()),s!==null)for(h=r.onRecoverableError,d=0;d<s.length;d++)v=s[d],h(v.value,{componentStack:v.stack,digest:v.digest});if(d1)throw d1=!1,r=Ii,Ii=null,r;return m1&1&&r.tag!==0&&Yl(),S=r.pendingLanes,S&1?r===f1?ql++:(ql=0,f1=r):ql=0,za(),null}function Yl(){if(Rs!==null){var r=V0(m1),s=va.transition,d=Ft;try{if(va.transition=null,Ft=16>r?16:r,Rs===null)var h=!1;else{if(r=Rs,Rs=null,m1=0,Et&6)throw Error(o(331));var v=Et;for(Et|=4,Ue=r.current;Ue!==null;){var S=Ue,R=S.child;if(Ue.flags&16){var F=S.deletions;if(F!==null){for(var $=0;$<F.length;$++){var ne=F[$];for(Ue=ne;Ue!==null;){var ye=Ue;switch(ye.tag){case 0:case 11:case 15:hc(8,ye,S)}var Te=ye.child;if(Te!==null)Te.return=ye,Ue=Te;else for(;Ue!==null;){ye=Ue;var ve=ye.sibling,Le=ye.return;if(Dm(ye),ye===ne){Ue=null;break}if(ve!==null){ve.return=Le,Ue=ve;break}Ue=Le}}}var Ve=S.alternate;if(Ve!==null){var ze=Ve.child;if(ze!==null){Ve.child=null;do{var hn=ze.sibling;ze.sibling=null,ze=hn}while(ze!==null)}}Ue=S}}if(S.subtreeFlags&2064&&R!==null)R.return=S,Ue=R;else e:for(;Ue!==null;){if(S=Ue,S.flags&2048)switch(S.tag){case 0:case 11:case 15:hc(9,S,S.return)}var Y=S.sibling;if(Y!==null){Y.return=S.return,Ue=Y;break e}Ue=S.return}}var G=r.current;for(Ue=G;Ue!==null;){R=Ue;var J=R.child;if(R.subtreeFlags&2064&&J!==null)J.return=R,Ue=J;else e:for(R=G;Ue!==null;){if(F=Ue,F.flags&2048)try{switch(F.tag){case 0:case 11:case 15:gc(9,F)}}catch(We){fn(F,F.return,We)}if(F===R){Ue=null;break e}var we=F.sibling;if(we!==null){we.return=F.return,Ue=we;break e}Ue=F.return}}if(Et=v,za(),Kr&&typeof Kr.onPostCommitFiberRoot=="function")try{Kr.onPostCommitFiberRoot(Au,r)}catch{}h=!0}return h}finally{Ft=d,va.transition=s}}return!1}function zp(r,s,d){s=_s(d,s),s=Ip(r,s,1),r=Cs(r,s,1),s=Ta(),r!==null&&(oi(r,1,s),ka(r,s))}function fn(r,s,d){if(r.tag===3)zp(r,r,d);else for(;s!==null;){if(s.tag===3){zp(s,r,d);break}else if(s.tag===1){var h=s.stateNode;if(typeof s.type.getDerivedStateFromError=="function"||typeof h.componentDidCatch=="function"&&(bo===null||!bo.has(h))){r=_s(d,r),r=Np(s,r,1),s=Cs(s,r,1),r=Ta(),s!==null&&(oi(s,1,r),ka(s,r));break}}s=s.return}}function y8(r,s,d){var h=r.pingCache;h!==null&&h.delete(s),s=Ta(),r.pingedLanes|=r.suspendedLanes&d,rn===r&&(Hn&d)===d&&(Pn===4||Pn===3&&(Hn&130023424)===Hn&&500>cn()-Vm?Oi(r,0):Hl|=d),ka(r,s)}function g1(r,s){s===0&&(r.mode&1?(s=ml,ml<<=1,!(ml&130023424)&&(ml=4194304)):s=1);var d=Ta();r=Go(r,s),r!==null&&(oi(r,s,d),ka(r,d))}function v8(r){var s=r.memoizedState,d=0;s!==null&&(d=s.retryLane),g1(r,d)}function T8(r,s){var d=0;switch(r.tag){case 13:var h=r.stateNode,v=r.memoizedState;v!==null&&(d=v.retryLane);break;case 19:h=r.stateNode;break;default:throw Error(o(314))}h!==null&&h.delete(s),g1(r,d)}var Hp;Hp=function(r,s,d){if(r!==null)if(r.memoizedProps!==s.pendingProps||dn.current)Ya=!0;else{if(!(r.lanes&d)&&!(s.flags&128))return Ya=!1,Wo(r,s,d);Ya=!!(r.flags&131072)}else Ya=!1,Zt&&s.flags&1048576&&hm(s,Cl,s.index);switch(s.lanes=0,s.tag){case 2:var h=s.type;ga(r,s),r=s.pendingProps;var v=_r(s,rt.current);_l(s,d),v=he(null,s,h,r,v,d);var S=wn();return s.flags|=1,typeof v=="object"&&v!==null&&typeof v.render=="function"&&v.$$typeof===void 0?(s.tag=1,s.memoizedState=null,s.updateQueue=null,Jt(h)?(S=!0,Rd(s)):S=!1,s.memoizedState=v.state!==null&&v.state!==void 0?v.state:null,Dd(s),v.updater=Si,s.stateNode=v,v._reactInternals=s,_m(s,h,r,d),s=r1(null,s,h,!0,S,d)):(s.tag=0,Zt&&S&&Od(s),pn(null,s,v,d),s=s.child),s;case 16:h=s.elementType;e:{switch(ga(r,s),r=s.pendingProps,v=h._init,h=v(h._payload),s.type=h,v=s.tag=k8(h),r=Qa(h,r),v){case 0:s=pt(null,s,h,r,d);break e;case 1:s=dc(null,s,h,r,d);break e;case 11:s=Ul(null,s,h,r,d);break e;case 14:s=Is(null,s,h,Qa(h.type,r),d);break e}throw Error(o(306,h,""))}return s;case 0:return h=s.type,v=s.pendingProps,v=s.elementType===h?v:Qa(h,v),pt(r,s,h,v,d);case 1:return h=s.type,v=s.pendingProps,v=s.elementType===h?v:Qa(h,v),dc(r,s,h,v,d);case 3:e:{if(Lp(s),r===null)throw Error(o(387));h=s.pendingProps,S=s.memoizedState,v=S.element,Il(r,s),Fd(s,h,null,d);var R=s.memoizedState;if(h=R.element,S.isDehydrated)if(S={element:h,isDehydrated:!1,cache:R.cache,pendingSuspenseBoundaries:R.pendingSuspenseBoundaries,transitions:R.transitions},s.updateQueue.baseState=S,s.memoizedState=S,s.flags&256){v=_s(Error(o(423)),s),s=o1(r,s,h,d,v);break e}else if(h!==v){v=_s(Error(o(424)),s),s=o1(r,s,h,d,v);break e}else for(qa=to(s.stateNode.containerInfo.firstChild),ir=s,Zt=!0,Rr=null,d=yp(s,null,h,d),s.child=d;d;)d.flags=d.flags&-3|4096,d=d.sibling;else{if(an(),h===v){s=Zn(r,s,d);break e}pn(r,s,h,d)}s=s.child}return s;case 5:return kp(s),r===null&&Ad(s),h=s.type,v=s.pendingProps,S=r!==null?r.memoizedProps:null,R=v.children,Zu(h,v)?R=null:S!==null&&Zu(h,S)&&(s.flags|=32),wi(r,s),pn(r,s,R,d),s.child;case 6:return r===null&&Ad(s),null;case 13:return Om(r,s,d);case 4:return km(s,s.stateNode.containerInfo),h=s.pendingProps,r===null?s.child=El(s,null,h,d):pn(r,s,h,d),s.child;case 11:return h=s.type,v=s.pendingProps,v=s.elementType===h?v:Qa(h,v),Ul(r,s,h,v,d);case 7:return pn(r,s,s.pendingProps,d),s.child;case 8:return pn(r,s,s.pendingProps.children,d),s.child;case 12:return pn(r,s,s.pendingProps.children,d),s.child;case 10:e:{if(h=s.type._context,v=s.pendingProps,S=s.memoizedProps,R=v.value,Mt(Ho,h._currentValue),h._currentValue=R,S!==null)if(Cr(S.value,R)){if(S.children===v.children&&!dn.current){s=Zn(r,s,d);break e}}else for(S=s.child,S!==null&&(S.return=s);S!==null;){var F=S.dependencies;if(F!==null){R=S.child;for(var $=F.firstContext;$!==null;){if($.context===h){if(S.tag===1){$=Wa(-1,d&-d),$.tag=2;var ne=S.updateQueue;if(ne!==null){ne=ne.shared;var ye=ne.pending;ye===null?$.next=$:($.next=ye.next,ye.next=$),ne.pending=$}}S.lanes|=d,$=S.alternate,$!==null&&($.lanes|=d),bm(S.return,d,s),F.lanes|=d;break}$=$.next}}else if(S.tag===10)R=S.type===s.type?null:S.child;else if(S.tag===18){if(R=S.return,R===null)throw Error(o(341));R.lanes|=d,F=R.alternate,F!==null&&(F.lanes|=d),bm(R,d,s),R=S.sibling}else R=S.child;if(R!==null)R.return=S;else for(R=S;R!==null;){if(R===s){R=null;break}if(S=R.sibling,S!==null){S.return=R.return,R=S;break}R=R.return}S=R}pn(r,s,v.children,d),s=s.child}return s;case 9:return v=s.type,h=s.pendingProps.children,_l(s,d),v=Lr(v),h=h(v),s.flags|=1,pn(r,s,h,d),s.child;case 14:return h=s.type,v=Qa(h,s.pendingProps),v=Qa(h.type,v),Is(r,s,h,v,d);case 15:return a1(r,s,s.type,s.pendingProps,d);case 17:return h=s.type,v=s.pendingProps,v=s.elementType===h?v:Qa(h,v),ga(r,s),s.tag=1,Jt(h)?(r=!0,Rd(s)):r=!1,_l(s,d),Cp(s,h,v),_m(s,h,v,d),r1(null,s,h,!0,r,d);case 19:return xm(r,s,d);case 22:return Ka(r,s,d)}throw Error(o(156,s.tag))};function Gm(r,s){return P0(r,s)}function b8(r,s,d,h){this.tag=r,this.key=d,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=s,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=h,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Dr(r,s,d,h){return new b8(r,s,d,h)}function qm(r){return r=r.prototype,!(!r||!r.isReactComponent)}function k8(r){if(typeof r=="function")return qm(r)?1:0;if(r!=null){if(r=r.$$typeof,r===Pe)return 11;if(r===it)return 14}return 2}function Ls(r,s){var d=r.alternate;return d===null?(d=Dr(r.tag,s,r.key,r.mode),d.elementType=r.elementType,d.type=r.type,d.stateNode=r.stateNode,d.alternate=r,r.alternate=d):(d.pendingProps=s,d.type=r.type,d.flags=0,d.subtreeFlags=0,d.deletions=null),d.flags=r.flags&14680064,d.childLanes=r.childLanes,d.lanes=r.lanes,d.child=r.child,d.memoizedProps=r.memoizedProps,d.memoizedState=r.memoizedState,d.updateQueue=r.updateQueue,s=r.dependencies,d.dependencies=s===null?null:{lanes:s.lanes,firstContext:s.firstContext},d.sibling=r.sibling,d.index=r.index,d.ref=r.ref,d}function y1(r,s,d,h,v,S){var R=2;if(h=r,typeof r=="function")qm(r)&&(R=1);else if(typeof r=="string")R=5;else e:switch(r){case oe:return Ai(d.children,v,S,s);case Ne:R=8,v|=8;break;case de:return r=Dr(12,d,s,v|2),r.elementType=de,r.lanes=S,r;case ke:return r=Dr(13,d,s,v),r.elementType=ke,r.lanes=S,r;case $e:return r=Dr(19,d,s,v),r.elementType=$e,r.lanes=S,r;case Qn:return bc(d,v,S,s);default:if(typeof r=="object"&&r!==null)switch(r.$$typeof){case Fe:R=10;break e;case De:R=9;break e;case Pe:R=11;break e;case it:R=14;break e;case Rt:R=16,h=null;break e}throw Error(o(130,r==null?r:typeof r,""))}return s=Dr(R,d,s,v),s.elementType=r,s.type=h,s.lanes=S,s}function Ai(r,s,d,h){return r=Dr(7,r,h,s),r.lanes=d,r}function bc(r,s,d,h){return r=Dr(22,r,h,s),r.elementType=Qn,r.lanes=d,r.stateNode={isHidden:!1},r}function kc(r,s,d){return r=Dr(6,r,null,s),r.lanes=d,r}function xi(r,s,d){return s=Dr(4,r.children!==null?r.children:[],r.key,s),s.lanes=d,s.stateNode={containerInfo:r.containerInfo,pendingChildren:null,implementation:r.implementation},s}function S8(r,s,d,h,v){this.tag=s,this.containerInfo=r,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=F0(0),this.expirationTimes=F0(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=F0(0),this.identifierPrefix=h,this.onRecoverableError=v,this.mutableSourceEagerHydrationData=null}function v1(r,s,d,h,v,S,R,F,$){return r=new S8(r,s,d,F,$),s===1?(s=1,S===!0&&(s|=8)):s=0,S=Dr(3,null,null,s),r.current=S,S.stateNode=r,S.memoizedState={element:h,isDehydrated:d,cache:null,transitions:null,pendingSuspenseBoundaries:null},Dd(S),r}function Gp(r,s,d){var h=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:ue,key:h==null?null:""+h,children:r,containerInfo:s,implementation:d}}function Wm(r){if(!r)return go;r=r._reactInternals;e:{if(po(r)!==r||r.tag!==1)throw Error(o(170));var s=r;do{switch(s.tag){case 3:s=s.stateNode.context;break e;case 1:if(Jt(s.type)){s=s.stateNode.__reactInternalMemoizedMergedChildContext;break e}}s=s.return}while(s!==null);throw Error(o(171))}if(r.tag===1){var d=r.type;if(Jt(d))return ec(r,d,s)}return s}function qp(r,s,d,h,v,S,R,F,$){return r=v1(d,h,!0,r,v,S,R,F,$),r.context=Wm(null),d=r.current,h=Ta(),v=Cn(d),S=Wa(h,v),S.callback=s??null,Cs(d,S,v),r.current.lanes=v,oi(r,v,h),ka(r,h),r}function Sc(r,s,d,h){var v=s.current,S=Ta(),R=Cn(v);return d=Wm(d),s.context===null?s.context=d:s.pendingContext=d,s=Wa(S,R),s.payload={element:r},h=h===void 0?null:h,h!==null&&(s.callback=h),r=Cs(v,s,R),r!==null&&(ba(r,v,R,S),Ud(r,v,R)),R}function T1(r){if(r=r.current,!r.child)return null;switch(r.child.tag){case 5:return r.child.stateNode;default:return r.child.stateNode}}function Wp(r,s){if(r=r.memoizedState,r!==null&&r.dehydrated!==null){var d=r.retryLane;r.retryLane=d!==0&&d<s?d:s}}function Qm(r,s){Wp(r,s),(r=r.alternate)&&Wp(r,s)}function Qp(){return null}var Ym=typeof reportError=="function"?reportError:function(r){console.error(r)};function b1(r){this._internalRoot=r}Zo.prototype.render=b1.prototype.render=function(r){var s=this._internalRoot;if(s===null)throw Error(o(409));Sc(r,s,null,null)},Zo.prototype.unmount=b1.prototype.unmount=function(){var r=this._internalRoot;if(r!==null){this._internalRoot=null;var s=r.containerInfo;Os(function(){Sc(null,r,null,null)}),s[$o]=null}};function Zo(r){this._internalRoot=r}Zo.prototype.unstable_scheduleHydration=function(r){if(r){var s=R2();r={blockedOn:null,target:r,priority:s};for(var d=0;d<Bt.length&&s!==0&&s<Bt[d].priority;d++);Bt.splice(d,0,r),d===0&&O2(r)}};function Km(r){return!(!r||r.nodeType!==1&&r.nodeType!==9&&r.nodeType!==11)}function k1(r){return!(!r||r.nodeType!==1&&r.nodeType!==9&&r.nodeType!==11&&(r.nodeType!==8||r.nodeValue!==" react-mount-point-unstable "))}function Yp(){}function w8(r,s,d,h,v){if(v){if(typeof h=="function"){var S=h;h=function(){var ne=T1(R);S.call(ne)}}var R=qp(s,h,r,0,null,!1,!1,"",Yp);return r._reactRootContainer=R,r[$o]=R.current,Sl(r.nodeType===8?r.parentNode:r),Os(),R}for(;v=r.lastChild;)r.removeChild(v);if(typeof h=="function"){var F=h;h=function(){var ne=T1($);F.call(ne)}}var $=v1(r,0,!1,null,null,!1,!1,"",Yp);return r._reactRootContainer=$,r[$o]=$.current,Sl(r.nodeType===8?r.parentNode:r),Os(function(){Sc(s,$,d,h)}),$}function S1(r,s,d,h,v){var S=d._reactRootContainer;if(S){var R=S;if(typeof v=="function"){var F=v;v=function(){var $=T1(R);F.call($)}}Sc(s,R,r,v)}else R=w8(d,s,r,v,h);return T1(R)}N2=function(r){switch(r.tag){case 3:var s=r.stateNode;if(s.current.memoizedState.isDehydrated){var d=ri(s.pendingLanes);d!==0&&(xu(s,d|1),ka(s,cn()),!(Et&6)&&(Gl=cn()+500,za()))}break;case 13:Os(function(){var h=Go(r,1);if(h!==null){var v=Ta();ba(h,r,1,v)}}),Qm(r,1)}},dd=function(r){if(r.tag===13){var s=Go(r,134217728);if(s!==null){var d=Ta();ba(s,r,134217728,d)}Qm(r,134217728)}},Vt=function(r){if(r.tag===13){var s=Cn(r),d=Go(r,s);if(d!==null){var h=Ta();ba(d,r,s,h)}Qm(r,s)}},R2=function(){return Ft},B0=function(r,s){var d=Ft;try{return Ft=r,s()}finally{Ft=d}},Nu=function(r,s,d){switch(s){case"input":if(Nn(r,d),s=d.name,d.type==="radio"&&s!=null){for(d=r;d.parentNode;)d=d.parentNode;for(d=d.querySelectorAll("input[name="+JSON.stringify(""+s)+'][type="radio"]'),s=0;s<d.length;s++){var h=d[s];if(h!==r&&h.form===r.form){var v=Xe(h);if(!v)throw Error(o(90));In(h),Nn(h,v)}}}break;case"textarea":ni(r,d);break;case"select":s=d.value,s!=null&&mo(r,!!d.multiple,s,!1)}},T2=Ql,b2=Os;var C8={usingClientEntryPoint:!1,Events:[Ju,wl,Xe,rd,od,Ql]},Kl={findFiberByHostInstance:Er,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},E8={bundleType:Kl.bundleType,version:Kl.version,rendererPackageName:Kl.rendererPackageName,rendererConfig:Kl.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:re.ReactCurrentDispatcher,findHostInstanceByFiber:function(r){return r=k2(r),r===null?null:r.stateNode},findFiberByHostInstance:Kl.findFiberByHostInstance||Qp,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var w1=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!w1.isDisabled&&w1.supportsFiber)try{Au=w1.inject(E8),Kr=w1}catch{}}return $r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=C8,$r.createPortal=function(r,s){var d=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Km(s))throw Error(o(200));return Gp(r,s,null,d)},$r.createRoot=function(r,s){if(!Km(r))throw Error(o(299));var d=!1,h="",v=Ym;return s!=null&&(s.unstable_strictMode===!0&&(d=!0),s.identifierPrefix!==void 0&&(h=s.identifierPrefix),s.onRecoverableError!==void 0&&(v=s.onRecoverableError)),s=v1(r,1,!1,null,null,d,!1,h,v),r[$o]=s.current,Sl(r.nodeType===8?r.parentNode:r),new b1(s)},$r.findDOMNode=function(r){if(r==null)return null;if(r.nodeType===1)return r;var s=r._reactInternals;if(s===void 0)throw typeof r.render=="function"?Error(o(188)):(r=Object.keys(r).join(","),Error(o(268,r)));return r=k2(s),r=r===null?null:r.stateNode,r},$r.flushSync=function(r){return Os(r)},$r.hydrate=function(r,s,d){if(!k1(s))throw Error(o(200));return S1(null,r,s,!0,d)},$r.hydrateRoot=function(r,s,d){if(!Km(r))throw Error(o(405));var h=d!=null&&d.hydratedSources||null,v=!1,S="",R=Ym;if(d!=null&&(d.unstable_strictMode===!0&&(v=!0),d.identifierPrefix!==void 0&&(S=d.identifierPrefix),d.onRecoverableError!==void 0&&(R=d.onRecoverableError)),s=qp(s,null,r,1,d??null,v,!1,S,R),r[$o]=s.current,Sl(r),h)for(r=0;r<h.length;r++)d=h[r],v=d._getVersion,v=v(d._source),s.mutableSourceEagerHydrationData==null?s.mutableSourceEagerHydrationData=[d,v]:s.mutableSourceEagerHydrationData.push(d,v);return new Zo(s)},$r.render=function(r,s,d){if(!k1(s))throw Error(o(200));return S1(null,r,s,!1,d)},$r.unmountComponentAtNode=function(r){if(!k1(r))throw Error(o(40));return r._reactRootContainer?(Os(function(){S1(null,null,r,!1,function(){r._reactRootContainer=null,r[$o]=null})}),!0):!1},$r.unstable_batchedUpdates=Ql,$r.unstable_renderSubtreeIntoContainer=function(r,s,d,h){if(!k1(d))throw Error(o(200));if(r==null||r._reactInternals===void 0)throw Error(o(38));return S1(r,s,d,!1,h)},$r.version="18.3.1-next-f1338f8080-20240426",$r}var io={},nk;function AV(){return nk||(nk=1,C0.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 n=W,a=fC(),o=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,l=!1;function c(e){l=e}function p(e){if(!l){for(var t=arguments.length,i=new Array(t>1?t-1:0),u=1;u<t;u++)i[u-1]=arguments[u];y("warn",e,i)}}function f(e){if(!l){for(var t=arguments.length,i=new Array(t>1?t-1:0),u=1;u<t;u++)i[u-1]=arguments[u];y("error",e,i)}}function y(e,t,i){{var u=o.ReactDebugCurrentFrame,m=u.getStackAddendum();m!==""&&(t+="%s",i=i.concat([m]));var g=i.map(function(T){return String(T)});g.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,g)}}var b=0,C=1,_=2,N=3,O=4,L=5,x=6,D=7,B=8,V=9,Q=10,K=11,re=12,te=13,ue=14,oe=15,Ne=16,de=17,Fe=18,De=19,Pe=21,ke=22,$e=23,it=24,Rt=25,Qn=!0,Se=!1,Me=!1,Ce=!1,dt=!1,z=!0,se=!1,pe=!0,Ye=!0,gt=!0,lt=!0,tt=new Set,ut={},_t={};function Yt(e,t){In(e,t),In(e+"Capture",t)}function In(e,t){ut[e]&&f("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),ut[e]=t;{var i=e.toLowerCase();_t[i]=e,e==="onDoubleClick"&&(_t.ondblclick=e)}for(var u=0;u<t.length;u++)tt.add(t[u])}var Gt=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",nn=Object.prototype.hasOwnProperty;function Nt(e){{var t=typeof Symbol=="function"&&Symbol.toStringTag,i=t&&e[Symbol.toStringTag]||e.constructor.name||"Object";return i}}function sn(e){try{return Nn(e),!1}catch{return!0}}function Nn(e){return""+e}function Wr(e,t){if(sn(e))return f("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",t,Nt(e)),Nn(e)}function me(e){if(sn(e))return f("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Nt(e)),Nn(e)}function Ao(e,t){if(sn(e))return f("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.",t,Nt(e)),Nn(e)}function mo(e,t){if(sn(e))return f("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",t,Nt(e)),Nn(e)}function xo(e){if(sn(e))return f("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",Nt(e)),Nn(e)}function ds(e){if(sn(e))return f("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.",Nt(e)),Nn(e)}var ni=0,Tr=1,ms=2,ar=3,fo=4,Iu=5,Re=6,Je=":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",vt=Je+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",qt=new RegExp("^["+Je+"]["+vt+"]*$"),ln={},Ba={};function Rn(e){return nn.call(Ba,e)?!0:nn.call(ln,e)?!1:qt.test(e)?(Ba[e]=!0,!0):(ln[e]=!0,f("Invalid attribute name: `%s`",e),!1)}function Qr(e,t,i){return t!==null?t.type===ni:i?!1:e.length>2&&(e[0]==="o"||e[0]==="O")&&(e[1]==="n"||e[1]==="N")}function vn(e,t,i,u){if(i!==null&&i.type===ni)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":{if(u)return!1;if(i!==null)return!i.acceptsBooleans;var m=e.toLowerCase().slice(0,5);return m!=="data-"&&m!=="aria-"}default:return!1}}function br(e,t,i,u){if(t===null||typeof t>"u"||vn(e,t,i,u))return!0;if(u)return!1;if(i!==null)switch(i.type){case ar:return!t;case fo:return t===!1;case Iu:return isNaN(t);case Re:return isNaN(t)||t<1}return!1}function Nu(e){return un.hasOwnProperty(e)?un[e]:null}function Tn(e,t,i,u,m,g,T){this.acceptsBooleans=t===ms||t===ar||t===fo,this.attributeName=u,this.attributeNamespace=m,this.mustUseProperty=i,this.propertyName=e,this.type=t,this.sanitizeURL=g,this.removeEmptyString=T}var un={},v2=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];v2.forEach(function(e){un[e]=new Tn(e,ni,!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];un[t]=new Tn(t,Tr,!1,i,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){un[e]=new Tn(e,ms,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){un[e]=new Tn(e,ms,!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){un[e]=new Tn(e,ar,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){un[e]=new Tn(e,ar,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){un[e]=new Tn(e,fo,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){un[e]=new Tn(e,Re,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){un[e]=new Tn(e,Iu,!1,e.toLowerCase(),null,!1,!1)});var rd=/[\-\:]([a-z])/g,od=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(rd,od);un[t]=new Tn(t,Tr,!1,e,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(e){var t=e.replace(rd,od);un[t]=new Tn(t,Tr,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(rd,od);un[t]=new Tn(t,Tr,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){un[e]=new Tn(e,Tr,!1,e.toLowerCase(),null,!1,!1)});var T2="xlinkHref";un[T2]=new Tn("xlinkHref",Tr,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){un[e]=new Tn(e,Tr,!1,e.toLowerCase(),null,!0,!0)});var b2=/^[\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,sd=!1;function L0(e){!sd&&b2.test(e)&&(sd=!0,f("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 Ru(e,t,i,u){if(u.mustUseProperty){var m=u.propertyName;return e[m]}else{Wr(i,t),u.sanitizeURL&&L0(""+i);var g=u.attributeName,T=null;if(u.type===fo){if(e.hasAttribute(g)){var E=e.getAttribute(g);return E===""?!0:br(t,i,u,!1)?E:E===""+i?i:E}}else if(e.hasAttribute(g)){if(br(t,i,u,!1))return e.getAttribute(g);if(u.type===ar)return i;T=e.getAttribute(g)}return br(t,i,u,!1)?T===null?i:T:T===""+i?i:T}}function id(e,t,i,u){{if(!Rn(t))return;if(!e.hasAttribute(t))return i===void 0?void 0:null;var m=e.getAttribute(t);return Wr(i,t),m===""+i?i:m}}function ai(e,t,i,u){var m=Nu(t);if(!Qr(t,m,u)){if(br(t,i,m,u)&&(i=null),u||m===null){if(Rn(t)){var g=t;i===null?e.removeAttribute(g):(Wr(i,t),e.setAttribute(g,""+i))}return}var T=m.mustUseProperty;if(T){var E=m.propertyName;if(i===null){var I=m.type;e[E]=I===ar?!1:""}else e[E]=i;return}var A=m.attributeName,M=m.attributeNamespace;if(i===null)e.removeAttribute(A);else{var q=m.type,H;q===ar||q===fo&&i===!0?H="":(Wr(i,A),H=""+i,m.sanitizeURL&&L0(H.toString())),M?e.setAttributeNS(M,A,H):e.setAttribute(A,H)}}}var ll=Symbol.for("react.element"),Yr=Symbol.for("react.portal"),Po=Symbol.for("react.fragment"),ul=Symbol.for("react.strict_mode"),Ou=Symbol.for("react.profiler"),A0=Symbol.for("react.provider"),x0=Symbol.for("react.context"),cl=Symbol.for("react.forward_ref"),po=Symbol.for("react.suspense"),Lu=Symbol.for("react.suspense_list"),dl=Symbol.for("react.memo"),Ea=Symbol.for("react.lazy"),k2=Symbol.for("react.scope"),S2=Symbol.for("react.debug_trace_mode"),P0=Symbol.for("react.offscreen"),w2=Symbol.for("react.legacy_hidden"),j6=Symbol.for("react.cache"),$6=Symbol.for("react.tracing_marker"),cn=Symbol.iterator,z6="@@iterator";function Mo(e){if(e===null||typeof e!="object")return null;var t=cn&&e[cn]||e[z6];return typeof t=="function"?t:null}var Ct=Object.assign,fs=0,C2,M0,Au,Kr,E2,kr,_2;function I2(){}I2.__reactDisabledLog=!0;function H6(){{if(fs===0){C2=console.log,M0=console.info,Au=console.warn,Kr=console.error,E2=console.group,kr=console.groupCollapsed,_2=console.groupEnd;var e={configurable:!0,enumerable:!0,value:I2,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}fs++}}function ld(){{if(fs--,fs===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Ct({},e,{value:C2}),info:Ct({},e,{value:M0}),warn:Ct({},e,{value:Au}),error:Ct({},e,{value:Kr}),group:Ct({},e,{value:E2}),groupCollapsed:Ct({},e,{value:kr}),groupEnd:Ct({},e,{value:_2})})}fs<0&&f("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ml=o.ReactCurrentDispatcher,ri;function Zr(e,t,i){{if(ri===void 0)try{throw Error()}catch(m){var u=m.stack.trim().match(/\n( *(at )?)/);ri=u&&u[1]||""}return`
52
+ `+ri+e}}var D0=!1,ud;{var U0=typeof WeakMap=="function"?WeakMap:Map;ud=new U0}function cd(e,t){if(!e||D0)return"";{var i=ud.get(e);if(i!==void 0)return i}var u;D0=!0;var m=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var g;g=ml.current,ml.current=null,H6();try{if(t){var T=function(){throw Error()};if(Object.defineProperty(T.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(T,[])}catch(ae){u=ae}Reflect.construct(e,[],T)}else{try{T.call()}catch(ae){u=ae}e.call(T.prototype)}}else{try{throw Error()}catch(ae){u=ae}e()}}catch(ae){if(ae&&u&&typeof ae.stack=="string"){for(var E=ae.stack.split(`
53
+ `),I=u.stack.split(`
54
+ `),A=E.length-1,M=I.length-1;A>=1&&M>=0&&E[A]!==I[M];)M--;for(;A>=1&&M>=0;A--,M--)if(E[A]!==I[M]){if(A!==1||M!==1)do if(A--,M--,M<0||E[A]!==I[M]){var q=`
55
+ `+E[A].replace(" at new "," at ");return e.displayName&&q.includes("<anonymous>")&&(q=q.replace("<anonymous>",e.displayName)),typeof e=="function"&&ud.set(e,q),q}while(A>=1&&M>=0);break}}}finally{D0=!1,ml.current=g,ld(),Error.prepareStackTrace=m}var H=e?e.displayName||e.name:"",ee=H?Zr(H):"";return typeof e=="function"&&ud.set(e,ee),ee}function F0(e,t,i){return cd(e,!0)}function oi(e,t,i){return cd(e,!1)}function G6(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function xu(e,t,i){if(e==null)return"";if(typeof e=="function")return cd(e,G6(e));if(typeof e=="string")return Zr(e);switch(e){case po:return Zr("Suspense");case Lu:return Zr("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case cl:return oi(e.render);case dl:return xu(e.type,t,i);case Ea:{var u=e,m=u._payload,g=u._init;try{return xu(g(m),t,i)}catch{}}}return""}function Ft(e){switch(e._debugOwner&&e._debugOwner.type,e._debugSource,e.tag){case L:return Zr(e.type);case Ne:return Zr("Lazy");case te:return Zr("Suspense");case De:return Zr("SuspenseList");case b:case _:case oe:return oi(e.type);case K:return oi(e.type.render);case C:return F0(e.type);default:return""}}function V0(e){try{var t="",i=e;do t+=Ft(i),i=i.return;while(i);return t}catch(u){return`
56
+ Error generating stack: `+u.message+`
57
+ `+u.stack}}function N2(e,t,i){var u=e.displayName;if(u)return u;var m=t.displayName||t.name||"";return m!==""?i+"("+m+")":i}function dd(e){return e.displayName||"Context"}function Vt(e){if(e==null)return null;if(typeof e.tag=="number"&&f("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Po:return"Fragment";case Yr:return"Portal";case Ou:return"Profiler";case ul:return"StrictMode";case po:return"Suspense";case Lu:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case x0:var t=e;return dd(t)+".Consumer";case A0:var i=e;return dd(i._context)+".Provider";case cl:return N2(e,e.render,"ForwardRef");case dl:var u=e.displayName||null;return u!==null?u:Vt(e.type)||"Memo";case Ea:{var m=e,g=m._payload,T=m._init;try{return Vt(T(g))}catch{return null}}}return null}function R2(e,t,i){var u=t.displayName||t.name||"";return e.displayName||(u!==""?i+"("+u+")":i)}function B0(e){return e.displayName||"Context"}function ft(e){var t=e.tag,i=e.type;switch(t){case it:return"Cache";case V:var u=i;return B0(u)+".Consumer";case Q:var m=i;return B0(m._context)+".Provider";case Fe:return"DehydratedFragment";case K:return R2(i,i.render,"ForwardRef");case D:return"Fragment";case L:return i;case O:return"Portal";case N:return"Root";case x:return"Text";case Ne:return Vt(i);case B:return i===ul?"StrictMode":"Mode";case ke:return"Offscreen";case re:return"Profiler";case Pe:return"Scope";case te:return"Suspense";case De:return"SuspenseList";case Rt:return"TracingMarker";case C:case b:case de:case _:case ue:case oe:if(typeof i=="function")return i.displayName||i.name||null;if(typeof i=="string")return i;break}return null}var Pu=o.ReactDebugCurrentFrame,bn=null,Sr=!1;function wr(){{if(bn===null)return null;var e=bn._debugOwner;if(e!==null&&typeof e<"u")return ft(e)}return null}function Mu(){return bn===null?"":V0(bn)}function On(){Pu.getCurrentStack=null,bn=null,Sr=!1}function Bt(e){Pu.getCurrentStack=e===null?null:Mu,bn=e,Sr=!1}function q6(){return bn}function Xr(e){Sr=e}function ma(e){return""+e}function ps(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return ds(e),e;default:return""}}var O2={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function fl(e,t){O2[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||t.value==null||f("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),t.onChange||t.readOnly||t.disabled||t.checked==null||f("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function j0(e){var t=e.type,i=e.nodeName;return i&&i.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function L2(e){return e._valueTracker}function Du(e){e._valueTracker=null}function Uu(e){var t="";return e&&(j0(e)?t=e.checked?"true":"false":t=e.value),t}function pl(e){var t=j0(e)?"checked":"value",i=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);ds(e[t]);var u=""+e[t];if(!(e.hasOwnProperty(t)||typeof i>"u"||typeof i.get!="function"||typeof i.set!="function")){var m=i.get,g=i.set;Object.defineProperty(e,t,{configurable:!0,get:function(){return m.call(this)},set:function(E){ds(E),u=""+E,g.call(this,E)}}),Object.defineProperty(e,t,{enumerable:i.enumerable});var T={getValue:function(){return u},setValue:function(E){ds(E),u=""+E},stopTracking:function(){Du(e),delete e[t]}};return T}}function si(e){L2(e)||(e._valueTracker=pl(e))}function A2(e){if(!e)return!1;var t=L2(e);if(!t)return!0;var i=t.getValue(),u=Uu(e);return u!==i?(t.setValue(u),!0):!1}function md(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var fd=!1,Fu=!1,pd=!1,$0=!1;function Do(e){var t=e.type==="checkbox"||e.type==="radio";return t?e.checked!=null:e.value!=null}function Vu(e,t){var i=e,u=t.checked,m=Ct({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:u??i._wrapperState.initialChecked});return m}function Bu(e,t){fl("input",t),t.checked!==void 0&&t.defaultChecked!==void 0&&!Fu&&(f("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components",wr()||"A component",t.type),Fu=!0),t.value!==void 0&&t.defaultValue!==void 0&&!fd&&(f("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components",wr()||"A component",t.type),fd=!0);var i=e,u=t.defaultValue==null?"":t.defaultValue;i._wrapperState={initialChecked:t.checked!=null?t.checked:t.defaultChecked,initialValue:ps(t.value!=null?t.value:u),controlled:Do(t)}}function z0(e,t){var i=e,u=t.checked;u!=null&&ai(i,"checked",u,!1)}function hl(e,t){var i=e;{var u=Do(t);!i._wrapperState.controlled&&u&&!$0&&(f("A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"),$0=!0),i._wrapperState.controlled&&!u&&!pd&&(f("A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"),pd=!0)}z0(e,t);var m=ps(t.value),g=t.type;if(m!=null)g==="number"?(m===0&&i.value===""||i.value!=m)&&(i.value=ma(m)):i.value!==ma(m)&&(i.value=ma(m));else if(g==="submit"||g==="reset"){i.removeAttribute("value");return}t.hasOwnProperty("value")?hs(i,t.type,m):t.hasOwnProperty("defaultValue")&&hs(i,t.type,ps(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(i.defaultChecked=!!t.defaultChecked)}function ju(e,t,i){var u=e;if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var m=t.type,g=m==="submit"||m==="reset";if(g&&(t.value===void 0||t.value===null))return;var T=ma(u._wrapperState.initialValue);i||T!==u.value&&(u.value=T),u.defaultValue=T}var E=u.name;E!==""&&(u.name=""),u.defaultChecked=!u.defaultChecked,u.defaultChecked=!!u._wrapperState.initialChecked,E!==""&&(u.name=E)}function x2(e,t){var i=e;hl(i,t),rr(i,t)}function rr(e,t){var i=t.name;if(t.type==="radio"&&i!=null){for(var u=e;u.parentNode;)u=u.parentNode;Wr(i,"name");for(var m=u.querySelectorAll("input[name="+JSON.stringify(""+i)+'][type="radio"]'),g=0;g<m.length;g++){var T=m[g];if(!(T===e||T.form!==e.form)){var E=m3(T);if(!E)throw new Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");A2(T),hl(T,E)}}}}function hs(e,t,i){(t!=="number"||md(e.ownerDocument)!==e)&&(i==null?e.defaultValue=ma(e._wrapperState.initialValue):e.defaultValue!==ma(i)&&(e.defaultValue=ma(i)))}var hd=!1,gl=!1,P2=!1;function gd(e,t){t.value==null&&(typeof t.children=="object"&&t.children!==null?n.Children.forEach(t.children,function(i){i!=null&&(typeof i=="string"||typeof i=="number"||gl||(gl=!0,f("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}):t.dangerouslySetInnerHTML!=null&&(P2||(P2=!0,f("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")))),t.selected!=null&&!hd&&(f("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),hd=!0)}function H0(e,t){t.value!=null&&e.setAttribute("value",ma(ps(t.value)))}var $u=Array.isArray;function Bn(e){return $u(e)}var yd;yd=!1;function M2(){var e=wr();return e?`
58
+
59
+ Check the render method of \``+e+"`.":""}var D2=["value","defaultValue"];function W6(e){{fl("select",e);for(var t=0;t<D2.length;t++){var i=D2[t];if(e[i]!=null){var u=Bn(e[i]);e.multiple&&!u?f("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",i,M2()):!e.multiple&&u&&f("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",i,M2())}}}}function gs(e,t,i,u){var m=e.options;if(t){for(var g=i,T={},E=0;E<g.length;E++)T["$"+g[E]]=!0;for(var I=0;I<m.length;I++){var A=T.hasOwnProperty("$"+m[I].value);m[I].selected!==A&&(m[I].selected=A),A&&u&&(m[I].defaultSelected=!0)}}else{for(var M=ma(ps(i)),q=null,H=0;H<m.length;H++){if(m[H].value===M){m[H].selected=!0,u&&(m[H].defaultSelected=!0);return}q===null&&!m[H].disabled&&(q=m[H])}q!==null&&(q.selected=!0)}}function G0(e,t){return Ct({},t,{value:void 0})}function U2(e,t){var i=e;W6(t),i._wrapperState={wasMultiple:!!t.multiple},t.value!==void 0&&t.defaultValue!==void 0&&!yd&&(f("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),yd=!0)}function Q6(e,t){var i=e;i.multiple=!!t.multiple;var u=t.value;u!=null?gs(i,!!t.multiple,u,!1):t.defaultValue!=null&&gs(i,!!t.multiple,t.defaultValue,!0)}function Y6(e,t){var i=e,u=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!t.multiple;var m=t.value;m!=null?gs(i,!!t.multiple,m,!1):u!==!!t.multiple&&(t.defaultValue!=null?gs(i,!!t.multiple,t.defaultValue,!0):gs(i,!!t.multiple,t.multiple?[]:"",!1))}function K6(e,t){var i=e,u=t.value;u!=null&&gs(i,!!t.multiple,u,!1)}var q0=!1;function W0(e,t){var i=e;if(t.dangerouslySetInnerHTML!=null)throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");var u=Ct({},t,{value:void 0,defaultValue:void 0,children:ma(i._wrapperState.initialValue)});return u}function F2(e,t){var i=e;fl("textarea",t),t.value!==void 0&&t.defaultValue!==void 0&&!q0&&(f("%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components",wr()||"A component"),q0=!0);var u=t.value;if(u==null){var m=t.children,g=t.defaultValue;if(m!=null){f("Use the `defaultValue` or `value` props instead of setting children on <textarea>.");{if(g!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Bn(m)){if(m.length>1)throw new Error("<textarea> can only have at most one child.");m=m[0]}g=m}}g==null&&(g=""),u=g}i._wrapperState={initialValue:ps(u)}}function V2(e,t){var i=e,u=ps(t.value),m=ps(t.defaultValue);if(u!=null){var g=ma(u);g!==i.value&&(i.value=g),t.defaultValue==null&&i.defaultValue!==g&&(i.defaultValue=g)}m!=null&&(i.defaultValue=ma(m))}function B2(e,t){var i=e,u=i.textContent;u===i._wrapperState.initialValue&&u!==""&&u!==null&&(i.value=u)}function Q0(e,t){V2(e,t)}var Uo="http://www.w3.org/1999/xhtml",Z6="http://www.w3.org/1998/Math/MathML",Y0="http://www.w3.org/2000/svg";function vd(e){switch(e){case"svg":return Y0;case"math":return Z6;default:return Uo}}function K0(e,t){return e==null||e===Uo?vd(t):e===Y0&&t==="foreignObject"?Uo:e}var X6=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,i,u,m){MSApp.execUnsafeLocalFunction(function(){return e(t,i,u,m)})}:e},Td,j2=X6(function(e,t){if(e.namespaceURI===Y0&&!("innerHTML"in e)){Td=Td||document.createElement("div"),Td.innerHTML="<svg>"+t.valueOf().toString()+"</svg>";for(var i=Td.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;i.firstChild;)e.appendChild(i.firstChild);return}e.innerHTML=t}),ja=1,Fo=3,kn=8,Jr=9,ii=11,bd=function(e,t){if(t){var i=e.firstChild;if(i&&i===e.lastChild&&i.nodeType===Fo){i.nodeValue=t;return}}e.textContent=t},$2={animation:["animationDelay","animationDirection","animationDuration","animationFillMode","animationIterationCount","animationName","animationPlayState","animationTimingFunction"],background:["backgroundAttachment","backgroundClip","backgroundColor","backgroundImage","backgroundOrigin","backgroundPositionX","backgroundPositionY","backgroundRepeat","backgroundSize"],backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:["borderBottomColor","borderBottomStyle","borderBottomWidth","borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRightColor","borderRightStyle","borderRightWidth","borderTopColor","borderTopStyle","borderTopWidth"],borderBlockEnd:["borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth"],borderBlockStart:["borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth"],borderBottom:["borderBottomColor","borderBottomStyle","borderBottomWidth"],borderColor:["borderBottomColor","borderLeftColor","borderRightColor","borderTopColor"],borderImage:["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"],borderInlineEnd:["borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth"],borderInlineStart:["borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth"],borderLeft:["borderLeftColor","borderLeftStyle","borderLeftWidth"],borderRadius:["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"],borderRight:["borderRightColor","borderRightStyle","borderRightWidth"],borderStyle:["borderBottomStyle","borderLeftStyle","borderRightStyle","borderTopStyle"],borderTop:["borderTopColor","borderTopStyle","borderTopWidth"],borderWidth:["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth"],columnRule:["columnRuleColor","columnRuleStyle","columnRuleWidth"],columns:["columnCount","columnWidth"],flex:["flexBasis","flexGrow","flexShrink"],flexFlow:["flexDirection","flexWrap"],font:["fontFamily","fontFeatureSettings","fontKerning","fontLanguageOverride","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition","fontWeight","lineHeight"],fontVariant:["fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition"],gap:["columnGap","rowGap"],grid:["gridAutoColumns","gridAutoFlow","gridAutoRows","gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],gridArea:["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"],gridColumn:["gridColumnEnd","gridColumnStart"],gridColumnGap:["columnGap"],gridGap:["columnGap","rowGap"],gridRow:["gridRowEnd","gridRowStart"],gridRowGap:["rowGap"],gridTemplate:["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],listStyle:["listStyleImage","listStylePosition","listStyleType"],margin:["marginBottom","marginLeft","marginRight","marginTop"],marker:["markerEnd","markerMid","markerStart"],mask:["maskClip","maskComposite","maskImage","maskMode","maskOrigin","maskPositionX","maskPositionY","maskRepeat","maskSize"],maskPosition:["maskPositionX","maskPositionY"],outline:["outlineColor","outlineStyle","outlineWidth"],overflow:["overflowX","overflowY"],padding:["paddingBottom","paddingLeft","paddingRight","paddingTop"],placeContent:["alignContent","justifyContent"],placeItems:["alignItems","justifyItems"],placeSelf:["alignSelf","justifySelf"],textDecoration:["textDecorationColor","textDecorationLine","textDecorationStyle"],textEmphasis:["textEmphasisColor","textEmphasisStyle"],transition:["transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],wordWrap:["overflowWrap"]},yl={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};function z2(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var H2=["Webkit","ms","Moz","O"];Object.keys(yl).forEach(function(e){H2.forEach(function(t){yl[z2(t,e)]=yl[e]})});function kd(e,t,i){var u=t==null||typeof t=="boolean"||t==="";return u?"":!i&&typeof t=="number"&&t!==0&&!(yl.hasOwnProperty(e)&&yl[e])?t+"px":(mo(t,e),(""+t).trim())}var vl=/([A-Z])/g,J6=/^ms-/;function e8(e){return e.replace(vl,"-$1").toLowerCase().replace(J6,"-ms-")}var G2=function(){};{var q2=/^(?:webkit|moz|o)[A-Z]/,W2=/^-ms-/,zu=/-(.)/g,Tl=/;\s*$/,bl={},kl={},Q2=!1,Z0=!1,X0=function(e){return e.replace(zu,function(t,i){return i.toUpperCase()})},J0=function(e){bl.hasOwnProperty(e)&&bl[e]||(bl[e]=!0,f("Unsupported style property %s. Did you mean %s?",e,X0(e.replace(W2,"ms-"))))},Y2=function(e){bl.hasOwnProperty(e)&&bl[e]||(bl[e]=!0,f("Unsupported vendor-prefixed style property %s. Did you mean %s?",e,e.charAt(0).toUpperCase()+e.slice(1)))},K2=function(e,t){kl.hasOwnProperty(t)&&kl[t]||(kl[t]=!0,f(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,e,t.replace(Tl,"")))},Z2=function(e,t){Q2||(Q2=!0,f("`NaN` is an invalid value for the `%s` css style property.",e))},t8=function(e,t){Z0||(Z0=!0,f("`Infinity` is an invalid value for the `%s` css style property.",e))};G2=function(e,t){e.indexOf("-")>-1?J0(e):q2.test(e)?Y2(e):Tl.test(t)&&K2(e,t),typeof t=="number"&&(isNaN(t)?Z2(e,t):isFinite(t)||t8(e,t))}}var n8=G2;function a8(e){{var t="",i="";for(var u in e)if(e.hasOwnProperty(u)){var m=e[u];if(m!=null){var g=u.indexOf("--")===0;t+=i+(g?u:e8(u))+":",t+=kd(u,m,g),i=";"}}return t||null}}function X2(e,t){var i=e.style;for(var u in t)if(t.hasOwnProperty(u)){var m=u.indexOf("--")===0;m||n8(u,t[u]);var g=kd(u,t[u],m);u==="float"&&(u="cssFloat"),m?i.setProperty(u,g):i[u]=g}}function r8(e){return e==null||typeof e=="boolean"||e===""}function Cr(e){var t={};for(var i in e)for(var u=$2[i]||[i],m=0;m<u.length;m++)t[u[m]]=i;return t}function Hu(e,t){{if(!t)return;var i=Cr(e),u=Cr(t),m={};for(var g in i){var T=i[g],E=u[g];if(E&&T!==E){var I=T+","+E;if(m[I])continue;m[I]=!0,f("%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",r8(e[T])?"Removing":"Updating",T,E)}}}}var J2={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},ep=Ct({menuitem:!0},J2),tp="__html";function Sd(e,t){if(t){if(ep[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw new Error(e+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof t.dangerouslySetInnerHTML!="object"||!(tp in t.dangerouslySetInnerHTML))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.")}if(!t.suppressContentEditableWarning&&t.contentEditable&&t.children!=null&&f("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),t.style!=null&&typeof t.style!="object")throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.")}}function Vo(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){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 wd={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},np={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},eo={},em=new RegExp("^(aria)-["+vt+"]*$"),Gu=new RegExp("^(aria)[A-Z]["+vt+"]*$");function tm(e,t){{if(nn.call(eo,t)&&eo[t])return!0;if(Gu.test(t)){var i="aria-"+t.slice(4).toLowerCase(),u=np.hasOwnProperty(i)?i:null;if(u==null)return f("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),eo[t]=!0,!0;if(t!==u)return f("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,u),eo[t]=!0,!0}if(em.test(t)){var m=t.toLowerCase(),g=np.hasOwnProperty(m)?m:null;if(g==null)return eo[t]=!0,!1;if(t!==g)return f("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,g),eo[t]=!0,!0}}return!0}function ap(e,t){{var i=[];for(var u in t){var m=tm(e,u);m||i.push(u)}var g=i.map(function(T){return"`"+T+"`"}).join(", ");i.length===1?f("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",g,e):i.length>1&&f("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",g,e)}}function Cd(e,t){Vo(e,t)||ap(e,t)}var li=!1;function nm(e,t){{if(e!=="input"&&e!=="textarea"&&e!=="select")return;t!=null&&t.value===null&&!li&&(li=!0,e==="select"&&t.multiple?f("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",e):f("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e))}}var am=function(){};{var jn={},rm=/^on./,rp=/^on[^A-Z]/,op=new RegExp("^(aria)-["+vt+"]*$"),sp=new RegExp("^(aria)[A-Z]["+vt+"]*$");am=function(e,t,i,u){if(nn.call(jn,t)&&jn[t])return!0;var m=t.toLowerCase();if(m==="onfocusin"||m==="onfocusout")return f("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),jn[t]=!0,!0;if(u!=null){var g=u.registrationNameDependencies,T=u.possibleRegistrationNames;if(g.hasOwnProperty(t))return!0;var E=T.hasOwnProperty(m)?T[m]:null;if(E!=null)return f("Invalid event handler property `%s`. Did you mean `%s`?",t,E),jn[t]=!0,!0;if(rm.test(t))return f("Unknown event handler property `%s`. It will be ignored.",t),jn[t]=!0,!0}else if(rm.test(t))return rp.test(t)&&f("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),jn[t]=!0,!0;if(op.test(t)||sp.test(t))return!0;if(m==="innerhtml")return f("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),jn[t]=!0,!0;if(m==="aria")return f("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),jn[t]=!0,!0;if(m==="is"&&i!==null&&i!==void 0&&typeof i!="string")return f("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof i),jn[t]=!0,!0;if(typeof i=="number"&&isNaN(i))return f("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),jn[t]=!0,!0;var I=Nu(t),A=I!==null&&I.type===ni;if(wd.hasOwnProperty(m)){var M=wd[m];if(M!==t)return f("Invalid DOM property `%s`. Did you mean `%s`?",t,M),jn[t]=!0,!0}else if(!A&&t!==m)return f("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",t,m),jn[t]=!0,!0;return typeof i=="boolean"&&vn(t,i,I,!1)?(i?f('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',i,t,t,i,t):f('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',i,t,t,i,t,t,t),jn[t]=!0,!0):A?!0:vn(t,i,I,!1)?(jn[t]=!0,!1):((i==="false"||i==="true")&&I!==null&&I.type===ar&&(f("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",i,t,i==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',t,i),jn[t]=!0),!0)}}var ip=function(e,t,i){{var u=[];for(var m in t){var g=am(e,m,t[m],i);g||u.push(m)}var T=u.map(function(E){return"`"+E+"`"}).join(", ");u.length===1?f("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",T,e):u.length>1&&f("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",T,e)}};function lp(e,t,i){Vo(e,t)||ip(e,t,i)}var Bo=1,qu=2,ui=4,o8=Bo|qu|ui,Wu=null;function Qu(e){Wu!==null&&f("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),Wu=e}function s8(){Wu===null&&f("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),Wu=null}function up(e){return e===Wu}function Ed(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===Fo?t.parentNode:t}var Ht=null,ys=null,jo=null;function Sl(e){var t=Jl(e);if(t){if(typeof Ht!="function")throw new Error("setRestoreImplementation() needs to be called to handle a target for controlled events. This error is likely caused by a bug in React. Please file an issue.");var i=t.stateNode;if(i){var u=m3(i);Ht(t.stateNode,t.type,u)}}}function cp(e){Ht=e}function _d(e){ys?jo?jo.push(e):jo=[e]:ys=e}function Yu(){return ys!==null||jo!==null}function Ku(){if(ys){var e=ys,t=jo;if(ys=null,jo=null,Sl(e),t)for(var i=0;i<t.length;i++)Sl(t[i])}}var ci=function(e,t){return e(t)},om=function(){},sm=!1;function i8(){var e=Yu();e&&(om(),Ku())}function im(e,t,i){if(sm)return e(t,i);sm=!0;try{return ci(e,t,i)}finally{sm=!1,i8()}}function Id(e,t,i){ci=e,om=i}function Nd(e){return e==="button"||e==="input"||e==="select"||e==="textarea"}function lm(e,t,i){switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":return!!(i.disabled&&Nd(t));default:return!1}}function di(e,t){var i=e.stateNode;if(i===null)return null;var u=m3(i);if(u===null)return null;var m=u[t];if(lm(t,e.type,u))return null;if(m&&typeof m!="function")throw new Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof m+"` type.");return m}var Zu=!1;if(Gt)try{var mi={};Object.defineProperty(mi,"passive",{get:function(){Zu=!0}}),window.addEventListener("test",mi,mi),window.removeEventListener("test",mi,mi)}catch{Zu=!1}function dp(e,t,i,u,m,g,T,E,I){var A=Array.prototype.slice.call(arguments,3);try{t.apply(i,A)}catch(M){this.onError(M)}}var um=dp;if(typeof window<"u"&&typeof window.dispatchEvent=="function"&&typeof document<"u"&&typeof document.createEvent=="function"){var cm=document.createElement("react");um=function(e,t,i,u,m,g,T,E,I){if(typeof document>"u"||document===null)throw new Error("The `document` global was defined when React was initialized, but is not defined anymore. This can happen in a test environment if a component schedules an update from an asynchronous callback, but the test has already finished running. To solve this, you can either unmount the component at the end of your test (and ensure that any asynchronous operations get canceled in `componentWillUnmount`), or you can change the test itself to be asynchronous.");var A=document.createEvent("Event"),M=!1,q=!0,H=window.event,ee=Object.getOwnPropertyDescriptor(window,"event");function ae(){cm.removeEventListener(Z,Ie,!1),typeof window.event<"u"&&window.hasOwnProperty("event")&&(window.event=H)}var le=Array.prototype.slice.call(arguments,3);function Ie(){M=!0,ae(),t.apply(i,le),q=!1}var Qe,et=!1,kt=!1;function Tt(ie){if(Qe=ie.error,et=!0,Qe===null&&ie.colno===0&&ie.lineno===0&&(kt=!0),ie.defaultPrevented&&Qe!=null&&typeof Qe=="object")try{Qe._suppressLogging=!0}catch{}}var Z="react-"+(e||"invokeguardedcallback");if(window.addEventListener("error",Tt),cm.addEventListener(Z,Ie,!1),A.initEvent(Z,!1,!1),cm.dispatchEvent(A),ee&&Object.defineProperty(window,"event",ee),M&&q&&(et?kt&&(Qe=new Error("A cross-origin error was thrown. React doesn't have access to the actual error object in development. See https://reactjs.org/link/crossorigin-error for more information.")):Qe=new Error(`An error was thrown inside one of your components, but React doesn't know what it was. This is likely due to browser flakiness. React does its best to preserve the "Pause on exceptions" behavior of the DevTools, which requires some DEV-mode only tricks. It's possible that these don't work in your browser. Try triggering the error in production mode, or switching to a modern browser. If you suspect that this is actually an issue with React, please file an issue.`),this.onError(Qe)),window.removeEventListener("error",Tt),!M)return ae(),dp.apply(this,arguments)}}var l8=um,vs=!1,to=null,Xu=!1,Ts=null,ho={onError:function(e){vs=!0,to=e}};function fi(e,t,i,u,m,g,T,E,I){vs=!1,to=null,l8.apply(ho,arguments)}function $o(e,t,i,u,m,g,T,E,I){if(fi.apply(this,arguments),vs){var A=mm();Xu||(Xu=!0,Ts=A)}}function dm(){if(Xu){var e=Ts;throw Xu=!1,Ts=null,e}}function u8(){return vs}function mm(){if(vs){var e=to;return vs=!1,to=null,e}else throw new Error("clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.")}function Er(e){return e._reactInternals}function Ju(e){return e._reactInternals!==void 0}function wl(e,t){e._reactInternals=t}var Xe=0,bs=1,Kt=2,ht=4,Pt=16,Mt=32,go=64,rt=128,dn=256,$a=512,_r=1024,Jt=2048,Ir=4096,ks=8192,ec=16384,Rd=Jt|ht|go|$a|_r|ec,mp=32767,or=32768,$n=65536,tc=131072,fm=1048576,pm=2097152,za=4194304,Ss=8388608,Ha=16777216,pi=33554432,Cl=ht|_r|0,Ga=Kt|ht|Pt|Mt|$a|Ir|ks,fa=ht|go|$a|ks,Nr=Jt|Pt,Yn=za|Ss|pm,zo=o.ReactCurrentOwner;function sr(e){var t=e,i=e;if(e.alternate)for(;t.return;)t=t.return;else{var u=t;do t=u,(t.flags&(Kt|Ir))!==Xe&&(i=t.return),u=t.return;while(u)}return t.tag===N?i:null}function hm(e){if(e.tag===te){var t=e.memoizedState;if(t===null){var i=e.alternate;i!==null&&(t=i.memoizedState)}if(t!==null)return t.dehydrated}return null}function Od(e){return e.tag===N?e.stateNode.containerInfo:null}function gm(e){return sr(e)===e}function ir(e){{var t=zo.current;if(t!==null&&t.tag===C){var i=t,u=i.stateNode;u._warnedAboutRefsInRender||f("%s is accessing isMounted inside its render() function. 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.",ft(i)||"A component"),u._warnedAboutRefsInRender=!0}}var m=Er(e);return m?sr(m)===m:!1}function qa(e){if(sr(e)!==e)throw new Error("Unable to find node on an unmounted component.")}function Zt(e){var t=e.alternate;if(!t){var i=sr(e);if(i===null)throw new Error("Unable to find node on an unmounted component.");return i!==e?null:e}for(var u=e,m=t;;){var g=u.return;if(g===null)break;var T=g.alternate;if(T===null){var E=g.return;if(E!==null){u=m=E;continue}break}if(g.child===T.child){for(var I=g.child;I;){if(I===u)return qa(g),e;if(I===m)return qa(g),t;I=I.sibling}throw new Error("Unable to find node on an unmounted component.")}if(u.return!==m.return)u=g,m=T;else{for(var A=!1,M=g.child;M;){if(M===u){A=!0,u=g,m=T;break}if(M===m){A=!0,m=g,u=T;break}M=M.sibling}if(!A){for(M=T.child;M;){if(M===u){A=!0,u=T,m=g;break}if(M===m){A=!0,m=T,u=g;break}M=M.sibling}if(!A)throw new Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(u.alternate!==m)throw new Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(u.tag!==N)throw new Error("Unable to find node on an unmounted component.");return u.stateNode.current===u?e:t}function Rr(e){var t=Zt(e);return t!==null?ym(t):null}function ym(e){if(e.tag===L||e.tag===x)return e;for(var t=e.child;t!==null;){var i=ym(t);if(i!==null)return i;t=t.sibling}return null}function fp(e){var t=Zt(e);return t!==null?Ld(t):null}function Ld(e){if(e.tag===L||e.tag===x)return e;for(var t=e.child;t!==null;){if(t.tag!==O){var i=Ld(t);if(i!==null)return i}t=t.sibling}return null}var Ad=a.unstable_scheduleCallback,pp=a.unstable_cancelCallback,xd=a.unstable_shouldYield,hp=a.unstable_requestPaint,an=a.unstable_now,vm=a.unstable_getCurrentPriorityLevel,Pd=a.unstable_ImmediatePriority,hi=a.unstable_UserBlockingPriority,yo=a.unstable_NormalPriority,gp=a.unstable_LowPriority,Md=a.unstable_IdlePriority,El=a.unstable_yieldValue,yp=a.unstable_setDisableYieldValue,Ho=null,Ln=null,Ee=null,Or=!1,lr=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u";function Tm(e){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled)return!0;if(!t.supportsFiber)return f("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://reactjs.org/link/react-devtools"),!0;try{Ye&&(e=Ct({},e,{getLaneLabelMap:Go,injectProfilingHooks:vp})),Ho=t.inject(e),Ln=t}catch(i){f("React instrumentation encountered an error: %s.",i)}return!!t.checkDCE}function bm(e,t){if(Ln&&typeof Ln.onScheduleFiberRoot=="function")try{Ln.onScheduleFiberRoot(Ho,e,t)}catch(i){Or||(Or=!0,f("React instrumentation encountered an error: %s",i))}}function _l(e,t){if(Ln&&typeof Ln.onCommitFiberRoot=="function")try{var i=(e.current.flags&rt)===rt;if(gt){var u;switch(t){case ga:u=Pd;break;case Zn:u=hi;break;case Wo:u=yo;break;case mc:u=Md;break;default:u=yo;break}Ln.onCommitFiberRoot(Ho,e,u,i)}}catch(m){Or||(Or=!0,f("React instrumentation encountered an error: %s",m))}}function Lr(e){if(Ln&&typeof Ln.onPostCommitFiberRoot=="function")try{Ln.onPostCommitFiberRoot(Ho,e)}catch(t){Or||(Or=!0,f("React instrumentation encountered an error: %s",t))}}function gi(e){if(Ln&&typeof Ln.onCommitFiberUnmount=="function")try{Ln.onCommitFiberUnmount(Ho,e)}catch(t){Or||(Or=!0,f("React instrumentation encountered an error: %s",t))}}function Sn(e){if(typeof El=="function"&&(yp(e),c(e)),Ln&&typeof Ln.setStrictMode=="function")try{Ln.setStrictMode(Ho,e)}catch(t){Or||(Or=!0,f("React instrumentation encountered an error: %s",t))}}function vp(e){Ee=e}function Go(){{for(var e=new Map,t=1,i=0;i<sc;i++){var u=d8(t);e.set(t,u),t*=2}return e}}function ws(e){Ee!==null&&typeof Ee.markCommitStarted=="function"&&Ee.markCommitStarted(e)}function Dd(){Ee!==null&&typeof Ee.markCommitStopped=="function"&&Ee.markCommitStopped()}function Il(e){Ee!==null&&typeof Ee.markComponentRenderStarted=="function"&&Ee.markComponentRenderStarted(e)}function Wa(){Ee!==null&&typeof Ee.markComponentRenderStopped=="function"&&Ee.markComponentRenderStopped()}function Cs(e){Ee!==null&&typeof Ee.markComponentPassiveEffectMountStarted=="function"&&Ee.markComponentPassiveEffectMountStarted(e)}function Ud(){Ee!==null&&typeof Ee.markComponentPassiveEffectMountStopped=="function"&&Ee.markComponentPassiveEffectMountStopped()}function Tp(e){Ee!==null&&typeof Ee.markComponentPassiveEffectUnmountStarted=="function"&&Ee.markComponentPassiveEffectUnmountStarted(e)}function Fd(){Ee!==null&&typeof Ee.markComponentPassiveEffectUnmountStopped=="function"&&Ee.markComponentPassiveEffectUnmountStopped()}function bp(e){Ee!==null&&typeof Ee.markComponentLayoutEffectMountStarted=="function"&&Ee.markComponentLayoutEffectMountStarted(e)}function nc(){Ee!==null&&typeof Ee.markComponentLayoutEffectMountStopped=="function"&&Ee.markComponentLayoutEffectMountStopped()}function no(e){Ee!==null&&typeof Ee.markComponentLayoutEffectUnmountStarted=="function"&&Ee.markComponentLayoutEffectUnmountStarted(e)}function Nl(){Ee!==null&&typeof Ee.markComponentLayoutEffectUnmountStopped=="function"&&Ee.markComponentLayoutEffectUnmountStopped()}function ac(e,t,i){Ee!==null&&typeof Ee.markComponentErrored=="function"&&Ee.markComponentErrored(e,t,i)}function yi(e,t,i){Ee!==null&&typeof Ee.markComponentSuspended=="function"&&Ee.markComponentSuspended(e,t,i)}function km(e){Ee!==null&&typeof Ee.markLayoutEffectsStarted=="function"&&Ee.markLayoutEffectsStarted(e)}function Rl(){Ee!==null&&typeof Ee.markLayoutEffectsStopped=="function"&&Ee.markLayoutEffectsStopped()}function kp(e){Ee!==null&&typeof Ee.markPassiveEffectsStarted=="function"&&Ee.markPassiveEffectsStarted(e)}function Sm(){Ee!==null&&typeof Ee.markPassiveEffectsStopped=="function"&&Ee.markPassiveEffectsStopped()}function en(e){Ee!==null&&typeof Ee.markRenderStarted=="function"&&Ee.markRenderStarted(e)}function Vd(){Ee!==null&&typeof Ee.markRenderYielded=="function"&&Ee.markRenderYielded()}function Bd(){Ee!==null&&typeof Ee.markRenderStopped=="function"&&Ee.markRenderStopped()}function wm(e){Ee!==null&&typeof Ee.markRenderScheduled=="function"&&Ee.markRenderScheduled(e)}function jd(e,t){Ee!==null&&typeof Ee.markForceUpdateScheduled=="function"&&Ee.markForceUpdateScheduled(e,t)}function rc(e,t){Ee!==null&&typeof Ee.markStateUpdateScheduled=="function"&&Ee.markStateUpdateScheduled(e,t)}var Ge=0,qe=1,ot=2,bt=8,ur=16,Ol=Math.clz32?Math.clz32:pa,oc=Math.log,c8=Math.LN2;function pa(e){var t=e>>>0;return t===0?32:31-(oc(t)/c8|0)|0}var sc=31,he=0,wn=0,Ke=1,Kn=2,cr=4,qo=8,Ar=16,Ll=32,vi=4194240,Al=64,$d=128,zd=256,Hd=512,Gd=1024,qd=2048,Ti=4096,Wd=8192,xl=16384,Pl=32768,Qd=65536,ic=131072,Yd=262144,Kd=524288,Zd=1048576,Xd=2097152,Ml=130023424,bi=4194304,Jd=8388608,e1=16777216,Cm=33554432,t1=67108864,Sp=bi,lc=134217728,Em=268435455,Dl=268435456,Es=536870912,ha=1073741824;function d8(e){{if(e&Ke)return"Sync";if(e&Kn)return"InputContinuousHydration";if(e&cr)return"InputContinuous";if(e&qo)return"DefaultHydration";if(e&Ar)return"Default";if(e&Ll)return"TransitionHydration";if(e&vi)return"Transition";if(e&Ml)return"Retry";if(e&lc)return"SelectiveHydration";if(e&Dl)return"IdleHydration";if(e&Es)return"Idle";if(e&ha)return"Offscreen"}}var Wt=-1,n1=Al,Qa=bi;function ki(e){switch(pn(e)){case Ke:return Ke;case Kn:return Kn;case cr:return cr;case qo:return qo;case Ar:return Ar;case Ll:return Ll;case Al:case $d:case zd:case Hd:case Gd:case qd:case Ti:case Wd:case xl:case Pl:case Qd:case ic:case Yd:case Kd:case Zd:case Xd:return e&vi;case bi:case Jd:case e1:case Cm:case t1:return e&Ml;case lc:return lc;case Dl:return Dl;case Es:return Es;case ha:return ha;default:return f("Should have found matching lanes. This is a bug in React."),e}}function Si(e,t){var i=e.pendingLanes;if(i===he)return he;var u=he,m=e.suspendedLanes,g=e.pingedLanes,T=i&Em;if(T!==he){var E=T&~m;if(E!==he)u=ki(E);else{var I=T&g;I!==he&&(u=ki(I))}}else{var A=i&~m;A!==he?u=ki(A):g!==he&&(u=ki(g))}if(u===he)return he;if(t!==he&&t!==u&&(t&m)===he){var M=pn(u),q=pn(t);if(M>=q||M===Ar&&(q&vi)!==he)return t}(u&cr)!==he&&(u|=i&Ar);var H=e.entangledLanes;if(H!==he)for(var ee=e.entanglements,ae=u&H;ae>0;){var le=Is(ae),Ie=1<<le;u|=ee[le],ae&=~Ie}return u}function wp(e,t){for(var i=e.eventTimes,u=Wt;t>0;){var m=Is(t),g=1<<m,T=i[m];T>u&&(u=T),t&=~g}return u}function Cp(e,t){switch(e){case Ke:case Kn:case cr:return t+250;case qo:case Ar:case Ll:case Al:case $d:case zd:case Hd:case Gd:case qd:case Ti:case Wd:case xl:case Pl:case Qd:case ic:case Yd:case Kd:case Zd:case Xd:return t+5e3;case bi:case Jd:case e1:case Cm:case t1:return Wt;case lc:case Dl:case Es:case ha:return Wt;default:return f("Should have found matching lanes. This is a bug in React."),Wt}}function Ep(e,t){for(var i=e.pendingLanes,u=e.suspendedLanes,m=e.pingedLanes,g=e.expirationTimes,T=i;T>0;){var E=Is(T),I=1<<E,A=g[E];A===Wt?((I&u)===he||(I&m)!==he)&&(g[E]=Cp(I,t)):A<=t&&(e.expiredLanes|=I),T&=~I}}function _m(e){return ki(e.pendingLanes)}function _s(e){var t=e.pendingLanes&~ha;return t!==he?t:t&ha?ha:he}function Im(e){return(e&Ke)!==he}function uc(e){return(e&Em)!==he}function _p(e){return(e&Ml)===e}function Ip(e){var t=Ke|cr|Ar;return(e&t)===he}function Np(e){return(e&vi)===e}function cc(e,t){var i=Kn|cr|qo|Ar;return(t&i)!==he}function Rp(e,t){return(t&e.expiredLanes)!==he}function Nm(e){return(e&vi)!==he}function Op(){var e=n1;return n1<<=1,(n1&vi)===he&&(n1=Al),e}function Ya(){var e=Qa;return Qa<<=1,(Qa&Ml)===he&&(Qa=bi),e}function pn(e){return e&-e}function Ul(e){return pn(e)}function Is(e){return 31-Ol(e)}function a1(e){return Is(e)}function Ka(e,t){return(e&t)!==he}function wi(e,t){return(e&t)===t}function pt(e,t){return e|t}function dc(e,t){return e&~t}function r1(e,t){return e&t}function Lp(e,t){return e!==wn&&e<t?e:t}function o1(e){for(var t=[],i=0;i<sc;i++)t.push(e);return t}function Ci(e,t,i){e.pendingLanes|=t,t!==Es&&(e.suspendedLanes=he,e.pingedLanes=he);var u=e.eventTimes,m=a1(t);u[m]=i}function Rm(e,t){e.suspendedLanes|=t,e.pingedLanes&=~t;for(var i=e.expirationTimes,u=t;u>0;){var m=Is(u),g=1<<m;i[m]=Wt,u&=~g}}function Om(e,t,i){e.pingedLanes|=e.suspendedLanes&t}function Lm(e,t){var i=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=he,e.pingedLanes=he,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t;for(var u=e.entanglements,m=e.eventTimes,g=e.expirationTimes,T=i;T>0;){var E=Is(T),I=1<<E;u[E]=he,m[E]=Wt,g[E]=Wt,T&=~I}}function Fl(e,t){for(var i=e.entangledLanes|=t,u=e.entanglements,m=i;m;){var g=Is(m),T=1<<g;T&t|u[g]&t&&(u[g]|=t),m&=~T}}function m8(e,t){var i=pn(t),u;switch(i){case cr:u=Kn;break;case Ar:u=qo;break;case Al:case $d:case zd:case Hd:case Gd:case qd:case Ti:case Wd:case xl:case Pl:case Qd:case ic:case Yd:case Kd:case Zd:case Xd:case bi:case Jd:case e1:case Cm:case t1:u=Ll;break;case Es:u=Dl;break;default:u=wn;break}return(u&(e.suspendedLanes|t))!==wn?wn:u}function Am(e,t,i){if(lr)for(var u=e.pendingUpdatersLaneMap;i>0;){var m=a1(i),g=1<<m,T=u[m];T.add(t),i&=~g}}function s1(e,t){if(lr)for(var i=e.pendingUpdatersLaneMap,u=e.memoizedUpdaters;t>0;){var m=a1(t),g=1<<m,T=i[m];T.size>0&&(T.forEach(function(E){var I=E.alternate;(I===null||!u.has(I))&&u.add(E)}),T.clear()),t&=~g}}function xm(e,t){return null}var ga=Ke,Zn=cr,Wo=Ar,mc=Es,Ei=wn;function xr(){return Ei}function An(e){Ei=e}function fc(e,t){var i=Ei;try{return Ei=e,t()}finally{Ei=i}}function ya(e,t){return e!==0&&e<t?e:t}function f8(e,t){return e>t?e:t}function Pm(e,t){return e!==0&&e<t}function pc(e){var t=pn(e);return Pm(ga,t)?Pm(Zn,t)?uc(t)?Wo:mc:Zn:ga}function xn(e){var t=e.current.memoizedState;return t.isDehydrated}var Ap;function Ue(e){Ap=e}function Vl(e){Ap(e)}var i1;function xp(e){i1=e}var Pp;function hc(e){Pp=e}var gc;function Mm(e){gc=e}var Dm;function Mp(e){Dm=e}var l1=!1,Bl=[],vo=null,tn=null,zn=null,Pr=new Map,jl=new Map,Qo=[],ao=["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"];function Dp(e){return ao.indexOf(e)>-1}function To(e,t,i,u,m){return{blockedOn:e,domEventName:t,eventSystemFlags:i,nativeEvent:m,targetContainers:[u]}}function Up(e,t){switch(e){case"focusin":case"focusout":vo=null;break;case"dragenter":case"dragleave":tn=null;break;case"mouseover":case"mouseout":zn=null;break;case"pointerover":case"pointerout":{var i=t.pointerId;Pr.delete(i);break}case"gotpointercapture":case"lostpointercapture":{var u=t.pointerId;jl.delete(u);break}}}function $l(e,t,i,u,m,g){if(e===null||e.nativeEvent!==g){var T=To(t,i,u,m,g);if(t!==null){var E=Jl(t);E!==null&&i1(E)}return T}e.eventSystemFlags|=u;var I=e.targetContainers;return m!==null&&I.indexOf(m)===-1&&I.push(m),e}function Fp(e,t,i,u,m){switch(t){case"focusin":{var g=m;return vo=$l(vo,e,t,i,u,g),!0}case"dragenter":{var T=m;return tn=$l(tn,e,t,i,u,T),!0}case"mouseover":{var E=m;return zn=$l(zn,e,t,i,u,E),!0}case"pointerover":{var I=m,A=I.pointerId;return Pr.set(A,$l(Pr.get(A)||null,e,t,i,u,I)),!0}case"gotpointercapture":{var M=m,q=M.pointerId;return jl.set(q,$l(jl.get(q)||null,e,t,i,u,M)),!0}}return!1}function Um(e){var t=Ec(e.target);if(t!==null){var i=sr(t);if(i!==null){var u=i.tag;if(u===te){var m=hm(i);if(m!==null){e.blockedOn=m,Dm(e.priority,function(){Pp(i)});return}}else if(u===N){var g=i.stateNode;if(xn(g)){e.blockedOn=Od(i);return}}}}e.blockedOn=null}function Vp(e){for(var t=gc(),i={blockedOn:null,target:e,priority:t},u=0;u<Qo.length&&Pm(t,Qo[u].priority);u++);Qo.splice(u,0,i),u===0&&Um(i)}function u1(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;t.length>0;){var i=t[0],u=_i(e.domEventName,e.eventSystemFlags,i,e.nativeEvent);if(u===null){var m=e.nativeEvent,g=new m.constructor(m.type,m);Qu(g),m.target.dispatchEvent(g),s8()}else{var T=Jl(u);return T!==null&&i1(T),e.blockedOn=u,!1}t.shift()}return!0}function yc(e,t,i){u1(e)&&i.delete(t)}function Fm(){l1=!1,vo!==null&&u1(vo)&&(vo=null),tn!==null&&u1(tn)&&(tn=null),zn!==null&&u1(zn)&&(zn=null),Pr.forEach(yc),jl.forEach(yc)}function va(e,t){e.blockedOn===t&&(e.blockedOn=null,l1||(l1=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,Fm)))}function Et(e){if(Bl.length>0){va(Bl[0],e);for(var t=1;t<Bl.length;t++){var i=Bl[t];i.blockedOn===e&&(i.blockedOn=null)}}vo!==null&&va(vo,e),tn!==null&&va(tn,e),zn!==null&&va(zn,e);var u=function(E){return va(E,e)};Pr.forEach(u),jl.forEach(u);for(var m=0;m<Qo.length;m++){var g=Qo[m];g.blockedOn===e&&(g.blockedOn=null)}for(;Qo.length>0;){var T=Qo[0];if(T.blockedOn!==null)break;Um(T),T.blockedOn===null&&Qo.shift()}}var rn=o.ReactCurrentBatchConfig,mn=!0;function Hn(e){mn=!!e}function dr(){return mn}function zl(e,t,i){var u=_a(t),m;switch(u){case ga:m=Pn;break;case Zn:m=vc;break;case Wo:default:m=Yo;break}return m.bind(null,t,i,e)}function Pn(e,t,i,u){var m=xr(),g=rn.transition;rn.transition=null;try{An(ga),Yo(e,t,i,u)}finally{An(m),rn.transition=g}}function vc(e,t,i,u){var m=xr(),g=rn.transition;rn.transition=null;try{An(Zn),Yo(e,t,i,u)}finally{An(m),rn.transition=g}}function Yo(e,t,i,u){mn&&c1(e,t,i,u)}function c1(e,t,i,u){var m=_i(e,t,i,u);if(m===null){x8(e,t,u,Hl,i),Up(e,u);return}if(Fp(m,e,t,i,u)){u.stopPropagation();return}if(Up(e,u),t&ui&&Dp(e)){for(;m!==null;){var g=Jl(m);g!==null&&Vl(g);var T=_i(e,t,i,u);if(T===null&&x8(e,t,u,Hl,i),T===m)break;m=T}m!==null&&u.stopPropagation();return}x8(e,t,u,null,i)}var Hl=null;function _i(e,t,i,u){Hl=null;var m=Ed(u),g=Ec(m);if(g!==null){var T=sr(g);if(T===null)g=null;else{var E=T.tag;if(E===te){var I=hm(T);if(I!==null)return I;g=null}else if(E===N){var A=T.stateNode;if(xn(A))return Od(T);g=null}else T!==g&&(g=null)}}return Hl=g,null}function _a(e){switch(e){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 ga;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 Zn;case"message":{var t=vm();switch(t){case Pd:return ga;case hi:return Zn;case yo:case gp:return Wo;case Md:return mc;default:return Wo}}default:return Wo}}function Vm(e,t,i){return e.addEventListener(t,i,!1),i}function Gl(e,t,i){return e.addEventListener(t,i,!0),i}function Ko(e,t,i,u){return e.addEventListener(t,i,{capture:!0,passive:u}),i}function d1(e,t,i,u){return e.addEventListener(t,i,{passive:u}),i}var Ii=null,bo=null,Ns=null;function Rs(e){return Ii=e,bo=f1(),!0}function m1(){Ii=null,bo=null,Ns=null}function ql(){if(Ns)return Ns;var e,t=bo,i=t.length,u,m=f1(),g=m.length;for(e=0;e<i&&t[e]===m[e];e++);var T=i-e;for(u=1;u<=T&&t[i-u]===m[g-u];u++);var E=u>1?1-u:void 0;return Ns=m.slice(e,E),Ns}function f1(){return"value"in Ii?Ii.value:Ii.textContent}function Ni(e){var t,i=e.keyCode;return"charCode"in e?(t=e.charCode,t===0&&i===13&&(t=13)):t=i,t===10&&(t=13),t>=32||t===13?t:0}function Ri(){return!0}function Ta(){return!1}function Cn(e){function t(i,u,m,g,T){this._reactName=i,this._targetInst=m,this.type=u,this.nativeEvent=g,this.target=T,this.currentTarget=null;for(var E in e)if(e.hasOwnProperty(E)){var I=e[E];I?this[E]=I(g):this[E]=g[E]}var A=g.defaultPrevented!=null?g.defaultPrevented:g.returnValue===!1;return A?this.isDefaultPrevented=Ri:this.isDefaultPrevented=Ta,this.isPropagationStopped=Ta,this}return Ct(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var i=this.nativeEvent;i&&(i.preventDefault?i.preventDefault():typeof i.returnValue!="unknown"&&(i.returnValue=!1),this.isDefaultPrevented=Ri)},stopPropagation:function(){var i=this.nativeEvent;i&&(i.stopPropagation?i.stopPropagation():typeof i.cancelBubble!="unknown"&&(i.cancelBubble=!0),this.isPropagationStopped=Ri)},persist:function(){},isPersistent:Ri}),t}var ba={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ka=Cn(ba),Wl=Ct({},ba,{view:0,detail:0}),Bm=Cn(Wl),Tc,jm,Mr;function Bp(e){e!==Mr&&(Mr&&e.type==="mousemove"?(Tc=e.screenX-Mr.screenX,jm=e.screenY-Mr.screenY):(Tc=0,jm=0),Mr=e)}var Ql=Ct({},Wl,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:g1,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(Bp(e),Tc)},movementY:function(e){return"movementY"in e?e.movementY:jm}}),Os=Cn(Ql),$m=Ct({},Ql,{dataTransfer:0}),Oi=Cn($m),jp=Ct({},Wl,{relatedTarget:0}),p1=Cn(jp),zm=Ct({},ba,{animationName:0,elapsedTime:0,pseudoElement:0}),h1=Cn(zm),p8=Ct({},ba,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),h8=Cn(p8),$p=Ct({},ba,{data:0}),Hm=Cn($p),Li=Hm,g8={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Yl={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"};function zp(e){if(e.key){var t=g8[e.key]||e.key;if(t!=="Unidentified")return t}if(e.type==="keypress"){var i=Ni(e);return i===13?"Enter":String.fromCharCode(i)}return e.type==="keydown"||e.type==="keyup"?Yl[e.keyCode]||"Unidentified":""}var fn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function y8(e){var t=this,i=t.nativeEvent;if(i.getModifierState)return i.getModifierState(e);var u=fn[e];return u?!!i[u]:!1}function g1(e){return y8}var v8=Ct({},Wl,{key:zp,code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:g1,charCode:function(e){return e.type==="keypress"?Ni(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Ni(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),T8=Cn(v8),Hp=Ct({},Ql,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Gm=Cn(Hp),b8=Ct({},Wl,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:g1}),Dr=Cn(b8),qm=Ct({},ba,{propertyName:0,elapsedTime:0,pseudoElement:0}),k8=Cn(qm),Ls=Ct({},Ql,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),y1=Cn(Ls),Ai=[9,13,27,32],bc=229,kc=Gt&&"CompositionEvent"in window,xi=null;Gt&&"documentMode"in document&&(xi=document.documentMode);var S8=Gt&&"TextEvent"in window&&!xi,v1=Gt&&(!kc||xi&&xi>8&&xi<=11),Gp=32,Wm=String.fromCharCode(Gp);function qp(){Yt("onBeforeInput",["compositionend","keypress","textInput","paste"]),Yt("onCompositionEnd",["compositionend","focusout","keydown","keypress","keyup","mousedown"]),Yt("onCompositionStart",["compositionstart","focusout","keydown","keypress","keyup","mousedown"]),Yt("onCompositionUpdate",["compositionupdate","focusout","keydown","keypress","keyup","mousedown"])}var Sc=!1;function T1(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}function Wp(e){switch(e){case"compositionstart":return"onCompositionStart";case"compositionend":return"onCompositionEnd";case"compositionupdate":return"onCompositionUpdate"}}function Qm(e,t){return e==="keydown"&&t.keyCode===bc}function Qp(e,t){switch(e){case"keyup":return Ai.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==bc;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ym(e){var t=e.detail;return typeof t=="object"&&"data"in t?t.data:null}function b1(e){return e.locale==="ko"}var Zo=!1;function Km(e,t,i,u,m){var g,T;if(kc?g=Wp(t):Zo?Qp(t,u)&&(g="onCompositionEnd"):Qm(t,u)&&(g="onCompositionStart"),!g)return null;v1&&!b1(u)&&(!Zo&&g==="onCompositionStart"?Zo=Rs(m):g==="onCompositionEnd"&&Zo&&(T=ql()));var E=Jp(i,g);if(E.length>0){var I=new Hm(g,t,null,u,m);if(e.push({event:I,listeners:E}),T)I.data=T;else{var A=Ym(u);A!==null&&(I.data=A)}}}function k1(e,t){switch(e){case"compositionend":return Ym(t);case"keypress":var i=t.which;return i!==Gp?null:(Sc=!0,Wm);case"textInput":var u=t.data;return u===Wm&&Sc?null:u;default:return null}}function Yp(e,t){if(Zo){if(e==="compositionend"||!kc&&Qp(e,t)){var i=ql();return m1(),Zo=!1,i}return null}switch(e){case"paste":return null;case"keypress":if(!T1(t)){if(t.char&&t.char.length>1)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return v1&&!b1(t)?null:t.data;default:return null}}function w8(e,t,i,u,m){var g;if(S8?g=k1(t,u):g=Yp(t,u),!g)return null;var T=Jp(i,"onBeforeInput");if(T.length>0){var E=new Li("onBeforeInput","beforeinput",null,u,m);e.push({event:E,listeners:T}),E.data=g}}function S1(e,t,i,u,m,g,T){Km(e,t,i,u,m),w8(e,t,i,u,m)}var C8={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 Kl(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!C8[e.type]:t==="textarea"}/**
60
+ * Checks if an event is supported in the current execution environment.
61
+ *
62
+ * NOTE: This will not work correctly for non-generic events such as `change`,
63
+ * `reset`, `load`, `error`, and `select`.
64
+ *
65
+ * Borrows from Modernizr.
66
+ *
67
+ * @param {string} eventNameSuffix Event name, e.g. "click".
68
+ * @return {boolean} True if the event is supported.
69
+ * @internal
70
+ * @license Modernizr 3.0.0pre (Custom Build) | MIT
71
+ */function E8(e){if(!Gt)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 w1(){Yt("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"])}function r(e,t,i,u){_d(u);var m=Jp(t,"onChange");if(m.length>0){var g=new ka("onChange","change",null,i,u);e.push({event:g,listeners:m})}}var s=null,d=null;function h(e){var t=e.nodeName&&e.nodeName.toLowerCase();return t==="select"||t==="input"&&e.type==="file"}function v(e){var t=[];r(t,d,e,Ed(e)),im(S,t)}function S(e){Ky(e,0)}function R(e){var t=R1(e);if(A2(t))return e}function F(e,t){if(e==="change")return t}var $=!1;Gt&&($=E8("input")&&(!document.documentMode||document.documentMode>9));function ne(e,t){s=e,d=t,s.attachEvent("onpropertychange",Te)}function ye(){s&&(s.detachEvent("onpropertychange",Te),s=null,d=null)}function Te(e){e.propertyName==="value"&&R(d)&&v(e)}function ve(e,t,i){e==="focusin"?(ye(),ne(t,i)):e==="focusout"&&ye()}function Le(e,t){if(e==="selectionchange"||e==="keyup"||e==="keydown")return R(d)}function Ve(e){var t=e.nodeName;return t&&t.toLowerCase()==="input"&&(e.type==="checkbox"||e.type==="radio")}function ze(e,t){if(e==="click")return R(t)}function hn(e,t){if(e==="input"||e==="change")return R(t)}function Y(e){var t=e._wrapperState;!t||!t.controlled||e.type!=="number"||hs(e,"number",e.value)}function G(e,t,i,u,m,g,T){var E=i?R1(i):window,I,A;if(h(E)?I=F:Kl(E)?$?I=hn:(I=Le,A=ve):Ve(E)&&(I=ze),I){var M=I(t,i);if(M){r(e,M,u,m);return}}A&&A(t,E,i),t==="focusout"&&Y(E)}function J(){In("onMouseEnter",["mouseout","mouseover"]),In("onMouseLeave",["mouseout","mouseover"]),In("onPointerEnter",["pointerout","pointerover"]),In("onPointerLeave",["pointerout","pointerover"])}function we(e,t,i,u,m,g,T){var E=t==="mouseover"||t==="pointerover",I=t==="mouseout"||t==="pointerout";if(E&&!up(u)){var A=u.relatedTarget||u.fromElement;if(A&&(Ec(A)||df(A)))return}if(!(!I&&!E)){var M;if(m.window===m)M=m;else{var q=m.ownerDocument;q?M=q.defaultView||q.parentWindow:M=window}var H,ee;if(I){var ae=u.relatedTarget||u.toElement;if(H=i,ee=ae?Ec(ae):null,ee!==null){var le=sr(ee);(ee!==le||ee.tag!==L&&ee.tag!==x)&&(ee=null)}}else H=null,ee=i;if(H!==ee){var Ie=Os,Qe="onMouseLeave",et="onMouseEnter",kt="mouse";(t==="pointerout"||t==="pointerover")&&(Ie=Gm,Qe="onPointerLeave",et="onPointerEnter",kt="pointer");var Tt=H==null?M:R1(H),Z=ee==null?M:R1(ee),ie=new Ie(Qe,kt+"leave",H,u,m);ie.target=Tt,ie.relatedTarget=Z;var X=null,be=Ec(m);if(be===i){var xe=new Ie(et,kt+"enter",ee,u,m);xe.target=Z,xe.relatedTarget=Tt,X=xe}k_(e,ie,X,H,ee)}}}function We(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Be=typeof Object.is=="function"?Object.is:We;function Ze(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 m=0;m<i.length;m++){var g=i[m];if(!nn.call(t,g)||!Be(e[g],t[g]))return!1}return!0}function st(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Gn(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function Ot(e,t){for(var i=st(e),u=0,m=0;i;){if(i.nodeType===Fo){if(m=u+i.textContent.length,u<=t&&m>=t)return{node:i,offset:t-u};u=m}i=st(Gn(i))}}function As(e){var t=e.ownerDocument,i=t&&t.defaultView||window,u=i.getSelection&&i.getSelection();if(!u||u.rangeCount===0)return null;var m=u.anchorNode,g=u.anchorOffset,T=u.focusNode,E=u.focusOffset;try{m.nodeType,T.nodeType}catch{return null}return _8(e,m,g,T,E)}function _8(e,t,i,u,m){var g=0,T=-1,E=-1,I=0,A=0,M=e,q=null;e:for(;;){for(var H=null;M===t&&(i===0||M.nodeType===Fo)&&(T=g+i),M===u&&(m===0||M.nodeType===Fo)&&(E=g+m),M.nodeType===Fo&&(g+=M.nodeValue.length),(H=M.firstChild)!==null;)q=M,M=H;for(;;){if(M===e)break e;if(q===t&&++I===i&&(T=g),q===u&&++A===m&&(E=g),(H=M.nextSibling)!==null)break;M=q,q=M.parentNode}M=H}return T===-1||E===-1?null:{start:T,end:E}}function n_(e,t){var i=e.ownerDocument||document,u=i&&i.defaultView||window;if(u.getSelection){var m=u.getSelection(),g=e.textContent.length,T=Math.min(t.start,g),E=t.end===void 0?T:Math.min(t.end,g);if(!m.extend&&T>E){var I=E;E=T,T=I}var A=Ot(e,T),M=Ot(e,E);if(A&&M){if(m.rangeCount===1&&m.anchorNode===A.node&&m.anchorOffset===A.offset&&m.focusNode===M.node&&m.focusOffset===M.offset)return;var q=i.createRange();q.setStart(A.node,A.offset),m.removeAllRanges(),T>E?(m.addRange(q),m.extend(M.node,M.offset)):(q.setEnd(M.node,M.offset),m.addRange(q))}}}function Fy(e){return e&&e.nodeType===Fo}function Vy(e,t){return!e||!t?!1:e===t?!0:Fy(e)?!1:Fy(t)?Vy(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1}function a_(e){return e&&e.ownerDocument&&Vy(e.ownerDocument.documentElement,e)}function r_(e){try{return typeof e.contentWindow.location.href=="string"}catch{return!1}}function By(){for(var e=window,t=md();t instanceof e.HTMLIFrameElement;){if(r_(t))e=t.contentWindow;else return t;t=md(e.document)}return t}function I8(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 o_(){var e=By();return{focusedElem:e,selectionRange:I8(e)?i_(e):null}}function s_(e){var t=By(),i=e.focusedElem,u=e.selectionRange;if(t!==i&&a_(i)){u!==null&&I8(i)&&l_(i,u);for(var m=[],g=i;g=g.parentNode;)g.nodeType===ja&&m.push({element:g,left:g.scrollLeft,top:g.scrollTop});typeof i.focus=="function"&&i.focus();for(var T=0;T<m.length;T++){var E=m[T];E.element.scrollLeft=E.left,E.element.scrollTop=E.top}}}function i_(e){var t;return"selectionStart"in e?t={start:e.selectionStart,end:e.selectionEnd}:t=As(e),t||{start:0,end:0}}function l_(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)):n_(e,t)}var u_=Gt&&"documentMode"in document&&document.documentMode<=11;function c_(){Yt("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"])}var C1=null,N8=null,Zm=null,R8=!1;function d_(e){if("selectionStart"in e&&I8(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 m_(e){return e.window===e?e.document:e.nodeType===Jr?e:e.ownerDocument}function jy(e,t,i){var u=m_(i);if(!(R8||C1==null||C1!==md(u))){var m=d_(C1);if(!Zm||!Ze(Zm,m)){Zm=m;var g=Jp(N8,"onSelect");if(g.length>0){var T=new ka("onSelect","select",null,t,i);e.push({event:T,listeners:g}),T.target=C1}}}}function f_(e,t,i,u,m,g,T){var E=i?R1(i):window;switch(t){case"focusin":(Kl(E)||E.contentEditable==="true")&&(C1=E,N8=i,Zm=null);break;case"focusout":C1=null,N8=null,Zm=null;break;case"mousedown":R8=!0;break;case"contextmenu":case"mouseup":case"dragend":R8=!1,jy(e,u,m);break;case"selectionchange":if(u_)break;case"keydown":case"keyup":jy(e,u,m)}}function Kp(e,t){var i={};return i[e.toLowerCase()]=t.toLowerCase(),i["Webkit"+e]="webkit"+t,i["Moz"+e]="moz"+t,i}var E1={animationend:Kp("Animation","AnimationEnd"),animationiteration:Kp("Animation","AnimationIteration"),animationstart:Kp("Animation","AnimationStart"),transitionend:Kp("Transition","TransitionEnd")},O8={},$y={};Gt&&($y=document.createElement("div").style,"AnimationEvent"in window||(delete E1.animationend.animation,delete E1.animationiteration.animation,delete E1.animationstart.animation),"TransitionEvent"in window||delete E1.transitionend.transition);function Zp(e){if(O8[e])return O8[e];if(!E1[e])return e;var t=E1[e];for(var i in t)if(t.hasOwnProperty(i)&&i in $y)return O8[e]=t[i];return e}var zy=Zp("animationend"),Hy=Zp("animationiteration"),Gy=Zp("animationstart"),qy=Zp("transitionend"),Wy=new Map,Qy=["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 Zl(e,t){Wy.set(e,t),Yt(t,[e])}function p_(){for(var e=0;e<Qy.length;e++){var t=Qy[e],i=t.toLowerCase(),u=t[0].toUpperCase()+t.slice(1);Zl(i,"on"+u)}Zl(zy,"onAnimationEnd"),Zl(Hy,"onAnimationIteration"),Zl(Gy,"onAnimationStart"),Zl("dblclick","onDoubleClick"),Zl("focusin","onFocus"),Zl("focusout","onBlur"),Zl(qy,"onTransitionEnd")}function h_(e,t,i,u,m,g,T){var E=Wy.get(t);if(E!==void 0){var I=ka,A=t;switch(t){case"keypress":if(Ni(u)===0)return;case"keydown":case"keyup":I=T8;break;case"focusin":A="focus",I=p1;break;case"focusout":A="blur",I=p1;break;case"beforeblur":case"afterblur":I=p1;break;case"click":if(u.button===2)return;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":I=Os;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":I=Oi;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":I=Dr;break;case zy:case Hy:case Gy:I=h1;break;case qy:I=k8;break;case"scroll":I=Bm;break;case"wheel":I=y1;break;case"copy":case"cut":case"paste":I=h8;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":I=Gm;break}var M=(g&ui)!==0;{var q=!M&&t==="scroll",H=T_(i,E,u.type,M,q);if(H.length>0){var ee=new I(E,A,null,u,m);e.push({event:ee,listeners:H})}}}}p_(),J(),w1(),c_(),qp();function g_(e,t,i,u,m,g,T){h_(e,t,i,u,m,g);var E=(g&o8)===0;E&&(we(e,t,i,u,m),G(e,t,i,u,m),f_(e,t,i,u,m),S1(e,t,i,u,m))}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"],L8=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(Xm));function Yy(e,t,i){var u=e.type||"unknown-event";e.currentTarget=i,$o(u,t,void 0,e),e.currentTarget=null}function y_(e,t,i){var u;if(i)for(var m=t.length-1;m>=0;m--){var g=t[m],T=g.instance,E=g.currentTarget,I=g.listener;if(T!==u&&e.isPropagationStopped())return;Yy(e,I,E),u=T}else for(var A=0;A<t.length;A++){var M=t[A],q=M.instance,H=M.currentTarget,ee=M.listener;if(q!==u&&e.isPropagationStopped())return;Yy(e,ee,H),u=q}}function Ky(e,t){for(var i=(t&ui)!==0,u=0;u<e.length;u++){var m=e[u],g=m.event,T=m.listeners;y_(g,T,i)}dm()}function v_(e,t,i,u,m){var g=Ed(i),T=[];g_(T,e,u,i,g,t),Ky(T,t)}function on(e,t){L8.has(e)||f('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var i=!1,u=QI(t),m=S_(e);u.has(m)||(Zy(t,e,qu,i),u.add(m))}function A8(e,t,i){L8.has(e)&&!t&&f('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|=ui),Zy(i,e,u,t)}var Xp="_reactListening"+Math.random().toString(36).slice(2);function Jm(e){if(!e[Xp]){e[Xp]=!0,tt.forEach(function(i){i!=="selectionchange"&&(L8.has(i)||A8(i,!1,e),A8(i,!0,e))});var t=e.nodeType===Jr?e:e.ownerDocument;t!==null&&(t[Xp]||(t[Xp]=!0,A8("selectionchange",!1,t)))}}function Zy(e,t,i,u,m){var g=zl(e,t,i),T=void 0;Zu&&(t==="touchstart"||t==="touchmove"||t==="wheel")&&(T=!0),e=e,u?T!==void 0?Ko(e,t,g,T):Gl(e,t,g):T!==void 0?d1(e,t,g,T):Vm(e,t,g)}function Xy(e,t){return e===t||e.nodeType===kn&&e.parentNode===t}function x8(e,t,i,u,m){var g=u;if(!(t&Bo)&&!(t&qu)){var T=m;if(u!==null){var E=u;e:for(;;){if(E===null)return;var I=E.tag;if(I===N||I===O){var A=E.stateNode.containerInfo;if(Xy(A,T))break;if(I===O)for(var M=E.return;M!==null;){var q=M.tag;if(q===N||q===O){var H=M.stateNode.containerInfo;if(Xy(H,T))return}M=M.return}for(;A!==null;){var ee=Ec(A);if(ee===null)return;var ae=ee.tag;if(ae===L||ae===x){E=g=ee;continue e}A=A.parentNode}}E=E.return}}}im(function(){return v_(e,t,i,g)})}function ef(e,t,i){return{instance:e,listener:t,currentTarget:i}}function T_(e,t,i,u,m,g){for(var T=t!==null?t+"Capture":null,E=u?T:t,I=[],A=e,M=null;A!==null;){var q=A,H=q.stateNode,ee=q.tag;if(ee===L&&H!==null&&(M=H,E!==null)){var ae=di(A,E);ae!=null&&I.push(ef(A,ae,M))}if(m)break;A=A.return}return I}function Jp(e,t){for(var i=t+"Capture",u=[],m=e;m!==null;){var g=m,T=g.stateNode,E=g.tag;if(E===L&&T!==null){var I=T,A=di(m,i);A!=null&&u.unshift(ef(m,A,I));var M=di(m,t);M!=null&&u.push(ef(m,M,I))}m=m.return}return u}function _1(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==L);return e||null}function b_(e,t){for(var i=e,u=t,m=0,g=i;g;g=_1(g))m++;for(var T=0,E=u;E;E=_1(E))T++;for(;m-T>0;)i=_1(i),m--;for(;T-m>0;)u=_1(u),T--;for(var I=m;I--;){if(i===u||u!==null&&i===u.alternate)return i;i=_1(i),u=_1(u)}return null}function Jy(e,t,i,u,m){for(var g=t._reactName,T=[],E=i;E!==null&&E!==u;){var I=E,A=I.alternate,M=I.stateNode,q=I.tag;if(A!==null&&A===u)break;if(q===L&&M!==null){var H=M;if(m){var ee=di(E,g);ee!=null&&T.unshift(ef(E,ee,H))}else if(!m){var ae=di(E,g);ae!=null&&T.push(ef(E,ae,H))}}E=E.return}T.length!==0&&e.push({event:t,listeners:T})}function k_(e,t,i,u,m){var g=u&&m?b_(u,m):null;u!==null&&Jy(e,t,u,g,!1),m!==null&&i!==null&&Jy(e,i,m,g,!0)}function S_(e,t){return e+"__bubble"}var Ur=!1,tf="dangerouslySetInnerHTML",e3="suppressContentEditableWarning",Xl="suppressHydrationWarning",e7="autoFocus",wc="children",Cc="style",t3="__html",P8,n3,nf,t7,a3,n7,a7;P8={dialog:!0,webview:!0},n3=function(e,t){Cd(e,t),nm(e,t),lp(e,t,{registrationNameDependencies:ut,possibleRegistrationNames:_t})},n7=Gt&&!document.documentMode,nf=function(e,t,i){if(!Ur){var u=r3(i),m=r3(t);m!==u&&(Ur=!0,f("Prop `%s` did not match. Server: %s Client: %s",e,JSON.stringify(m),JSON.stringify(u)))}},t7=function(e){if(!Ur){Ur=!0;var t=[];e.forEach(function(i){t.push(i)}),f("Extra attributes from the server: %s",t)}},a3=function(e,t){t===!1?f("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):f("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)},a7=function(e,t){var i=e.namespaceURI===Uo?e.ownerDocument.createElement(e.tagName):e.ownerDocument.createElementNS(e.namespaceURI,e.tagName);return i.innerHTML=t,i.innerHTML};var w_=/\r\n?/g,C_=/\u0000|\uFFFD/g;function r3(e){xo(e);var t=typeof e=="string"?e:""+e;return t.replace(w_,`
72
+ `).replace(C_,"")}function o3(e,t,i,u){var m=r3(t),g=r3(e);if(g!==m&&(u&&(Ur||(Ur=!0,f('Text content did not match. Server: "%s" Client: "%s"',g,m))),i&&Qn))throw new Error("Text content does not match server-rendered HTML.")}function r7(e){return e.nodeType===Jr?e:e.ownerDocument}function E_(){}function s3(e){e.onclick=E_}function __(e,t,i,u,m){for(var g in u)if(u.hasOwnProperty(g)){var T=u[g];if(g===Cc)T&&Object.freeze(T),X2(t,T);else if(g===tf){var E=T?T[t3]:void 0;E!=null&&j2(t,E)}else if(g===wc)if(typeof T=="string"){var I=e!=="textarea"||T!=="";I&&bd(t,T)}else typeof T=="number"&&bd(t,""+T);else g===e3||g===Xl||g===e7||(ut.hasOwnProperty(g)?T!=null&&(typeof T!="function"&&a3(g,T),g==="onScroll"&&on("scroll",t)):T!=null&&ai(t,g,T,m))}}function I_(e,t,i,u){for(var m=0;m<t.length;m+=2){var g=t[m],T=t[m+1];g===Cc?X2(e,T):g===tf?j2(e,T):g===wc?bd(e,T):ai(e,g,T,u)}}function N_(e,t,i,u){var m,g=r7(i),T,E=u;if(E===Uo&&(E=vd(e)),E===Uo){if(m=Vo(e,t),!m&&e!==e.toLowerCase()&&f("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",e),e==="script"){var I=g.createElement("div");I.innerHTML="<script><\/script>";var A=I.firstChild;T=I.removeChild(A)}else if(typeof t.is=="string")T=g.createElement(e,{is:t.is});else if(T=g.createElement(e),e==="select"){var M=T;t.multiple?M.multiple=!0:t.size&&(M.size=t.size)}}else T=g.createElementNS(E,e);return E===Uo&&!m&&Object.prototype.toString.call(T)==="[object HTMLUnknownElement]"&&!nn.call(P8,e)&&(P8[e]=!0,f("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",e)),T}function R_(e,t){return r7(t).createTextNode(e)}function O_(e,t,i,u){var m=Vo(t,i);n3(t,i);var g;switch(t){case"dialog":on("cancel",e),on("close",e),g=i;break;case"iframe":case"object":case"embed":on("load",e),g=i;break;case"video":case"audio":for(var T=0;T<Xm.length;T++)on(Xm[T],e);g=i;break;case"source":on("error",e),g=i;break;case"img":case"image":case"link":on("error",e),on("load",e),g=i;break;case"details":on("toggle",e),g=i;break;case"input":Bu(e,i),g=Vu(e,i),on("invalid",e);break;case"option":gd(e,i),g=i;break;case"select":U2(e,i),g=G0(e,i),on("invalid",e);break;case"textarea":F2(e,i),g=W0(e,i),on("invalid",e);break;default:g=i}switch(Sd(t,g),__(t,e,u,g,m),t){case"input":si(e),ju(e,i,!1);break;case"textarea":si(e),B2(e);break;case"option":H0(e,i);break;case"select":Q6(e,i);break;default:typeof g.onClick=="function"&&s3(e);break}}function L_(e,t,i,u,m){n3(t,u);var g=null,T,E;switch(t){case"input":T=Vu(e,i),E=Vu(e,u),g=[];break;case"select":T=G0(e,i),E=G0(e,u),g=[];break;case"textarea":T=W0(e,i),E=W0(e,u),g=[];break;default:T=i,E=u,typeof T.onClick!="function"&&typeof E.onClick=="function"&&s3(e);break}Sd(t,E);var I,A,M=null;for(I in T)if(!(E.hasOwnProperty(I)||!T.hasOwnProperty(I)||T[I]==null))if(I===Cc){var q=T[I];for(A in q)q.hasOwnProperty(A)&&(M||(M={}),M[A]="")}else I===tf||I===wc||I===e3||I===Xl||I===e7||(ut.hasOwnProperty(I)?g||(g=[]):(g=g||[]).push(I,null));for(I in E){var H=E[I],ee=T!=null?T[I]:void 0;if(!(!E.hasOwnProperty(I)||H===ee||H==null&&ee==null))if(I===Cc)if(H&&Object.freeze(H),ee){for(A in ee)ee.hasOwnProperty(A)&&(!H||!H.hasOwnProperty(A))&&(M||(M={}),M[A]="");for(A in H)H.hasOwnProperty(A)&&ee[A]!==H[A]&&(M||(M={}),M[A]=H[A])}else M||(g||(g=[]),g.push(I,M)),M=H;else if(I===tf){var ae=H?H[t3]:void 0,le=ee?ee[t3]:void 0;ae!=null&&le!==ae&&(g=g||[]).push(I,ae)}else I===wc?(typeof H=="string"||typeof H=="number")&&(g=g||[]).push(I,""+H):I===e3||I===Xl||(ut.hasOwnProperty(I)?(H!=null&&(typeof H!="function"&&a3(I,H),I==="onScroll"&&on("scroll",e)),!g&&ee!==H&&(g=[])):(g=g||[]).push(I,H))}return M&&(Hu(M,E[Cc]),(g=g||[]).push(Cc,M)),g}function A_(e,t,i,u,m){i==="input"&&m.type==="radio"&&m.name!=null&&z0(e,m);var g=Vo(i,u),T=Vo(i,m);switch(I_(e,t,g,T),i){case"input":hl(e,m);break;case"textarea":V2(e,m);break;case"select":Y6(e,m);break}}function x_(e){{var t=e.toLowerCase();return wd.hasOwnProperty(t)&&wd[t]||null}}function P_(e,t,i,u,m,g,T){var E,I;switch(E=Vo(t,i),n3(t,i),t){case"dialog":on("cancel",e),on("close",e);break;case"iframe":case"object":case"embed":on("load",e);break;case"video":case"audio":for(var A=0;A<Xm.length;A++)on(Xm[A],e);break;case"source":on("error",e);break;case"img":case"image":case"link":on("error",e),on("load",e);break;case"details":on("toggle",e);break;case"input":Bu(e,i),on("invalid",e);break;case"option":gd(e,i);break;case"select":U2(e,i),on("invalid",e);break;case"textarea":F2(e,i),on("invalid",e);break}Sd(t,i);{I=new Set;for(var M=e.attributes,q=0;q<M.length;q++){var H=M[q].name.toLowerCase();switch(H){case"value":break;case"checked":break;case"selected":break;default:I.add(M[q].name)}}}var ee=null;for(var ae in i)if(i.hasOwnProperty(ae)){var le=i[ae];if(ae===wc)typeof le=="string"?e.textContent!==le&&(i[Xl]!==!0&&o3(e.textContent,le,g,T),ee=[wc,le]):typeof le=="number"&&e.textContent!==""+le&&(i[Xl]!==!0&&o3(e.textContent,le,g,T),ee=[wc,""+le]);else if(ut.hasOwnProperty(ae))le!=null&&(typeof le!="function"&&a3(ae,le),ae==="onScroll"&&on("scroll",e));else if(T&&typeof E=="boolean"){var Ie=void 0,Qe=E&&se?null:Nu(ae);if(i[Xl]!==!0&&!(ae===e3||ae===Xl||ae==="value"||ae==="checked"||ae==="selected")){if(ae===tf){var et=e.innerHTML,kt=le?le[t3]:void 0;if(kt!=null){var Tt=a7(e,kt);Tt!==et&&nf(ae,et,Tt)}}else if(ae===Cc){if(I.delete(ae),n7){var Z=a8(le);Ie=e.getAttribute("style"),Z!==Ie&&nf(ae,Ie,Z)}}else if(E&&!se)I.delete(ae.toLowerCase()),Ie=id(e,ae,le),le!==Ie&&nf(ae,Ie,le);else if(!Qr(ae,Qe,E)&&!br(ae,le,Qe,E)){var ie=!1;if(Qe!==null)I.delete(Qe.attributeName),Ie=Ru(e,ae,le,Qe);else{var X=u;if(X===Uo&&(X=vd(t)),X===Uo)I.delete(ae.toLowerCase());else{var be=x_(ae);be!==null&&be!==ae&&(ie=!0,I.delete(be)),I.delete(ae)}Ie=id(e,ae,le)}var xe=se;!xe&&le!==Ie&&!ie&&nf(ae,Ie,le)}}}}switch(T&&I.size>0&&i[Xl]!==!0&&t7(I),t){case"input":si(e),ju(e,i,!0);break;case"textarea":si(e),B2(e);break;case"select":case"option":break;default:typeof i.onClick=="function"&&s3(e);break}return ee}function M_(e,t,i){var u=e.nodeValue!==t;return u}function M8(e,t){{if(Ur)return;Ur=!0,f("Did not expect server HTML to contain a <%s> in <%s>.",t.nodeName.toLowerCase(),e.nodeName.toLowerCase())}}function D8(e,t){{if(Ur)return;Ur=!0,f('Did not expect server HTML to contain the text node "%s" in <%s>.',t.nodeValue,e.nodeName.toLowerCase())}}function U8(e,t,i){{if(Ur)return;Ur=!0,f("Expected server HTML to contain a matching <%s> in <%s>.",t,e.nodeName.toLowerCase())}}function F8(e,t){{if(t===""||Ur)return;Ur=!0,f('Expected server HTML to contain a matching text node for "%s" in <%s>.',t,e.nodeName.toLowerCase())}}function D_(e,t,i){switch(t){case"input":x2(e,i);return;case"textarea":Q0(e,i);return;case"select":K6(e,i);return}}var af=function(){},rf=function(){};{var U_=["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"],o7=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],F_=o7.concat(["button"]),V_=["dd","dt","li","option","optgroup","p","rp","rt"],s7={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};rf=function(e,t){var i=Ct({},e||s7),u={tag:t};return o7.indexOf(t)!==-1&&(i.aTagInScope=null,i.buttonTagInScope=null,i.nobrTagInScope=null),F_.indexOf(t)!==-1&&(i.pTagInButtonScope=null),U_.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 B_=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 V_.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},j_=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},i7={};af=function(e,t,i){i=i||s7;var u=i.current,m=u&&u.tag;t!=null&&(e!=null&&f("validateDOMNesting: when childText is passed, childTag should be null"),e="#text");var g=B_(e,m)?null:u,T=g?null:j_(e,i),E=g||T;if(E){var I=E.tag,A=!!g+"|"+e+"|"+I;if(!i7[A]){i7[A]=!0;var M=e,q="";if(e==="#text"?/\S/.test(t)?M="Text nodes":(M="Whitespace text nodes",q=" Make sure you don't have any extra whitespace between tags on each line of your source code."):M="<"+e+">",g){var H="";I==="table"&&e==="tr"&&(H+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),f("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",M,I,q,H)}else f("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",M,I)}}}}var i3="suppressHydrationWarning",l3="$",u3="/$",of="$?",sf="$!",$_="style",V8=null,B8=null;function z_(e){var t,i,u=e.nodeType;switch(u){case Jr:case ii:{t=u===Jr?"#document":"#fragment";var m=e.documentElement;i=m?m.namespaceURI:K0(null,"");break}default:{var g=u===kn?e.parentNode:e,T=g.namespaceURI||null;t=g.tagName,i=K0(T,t);break}}{var E=t.toLowerCase(),I=rf(null,E);return{namespace:i,ancestorInfo:I}}}function H_(e,t,i){{var u=e,m=K0(u.namespace,t),g=rf(u.ancestorInfo,t);return{namespace:m,ancestorInfo:g}}}function G_(e){V8=dr(),B8=o_();var t=null;return Hn(!1),t}function q_(e){s_(B8),Hn(V8),V8=null,B8=null}function W_(e,t,i,u,m){var g;{var T=u;if(af(e,null,T.ancestorInfo),typeof t.children=="string"||typeof t.children=="number"){var E=""+t.children,I=rf(T.ancestorInfo,e);af(null,E,I)}g=T.namespace}var A=N_(e,t,i,g);return cf(m,A),Q8(A,t),A}function Q_(e,t){e.appendChild(t)}function Y_(e,t,i,u,m){switch(O_(e,t,i,u),t){case"button":case"input":case"select":case"textarea":return!!i.autoFocus;case"img":return!0;default:return!1}}function K_(e,t,i,u,m,g){{var T=g;if(typeof u.children!=typeof i.children&&(typeof u.children=="string"||typeof u.children=="number")){var E=""+u.children,I=rf(T.ancestorInfo,t);af(null,E,I)}}return L_(e,t,i,u)}function j8(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 Z_(e,t,i,u){{var m=i;af(null,e,m.ancestorInfo)}var g=R_(e,t);return cf(u,g),g}function X_(){var e=window.event;return e===void 0?Wo:_a(e.type)}var $8=typeof setTimeout=="function"?setTimeout:void 0,J_=typeof clearTimeout=="function"?clearTimeout:void 0,z8=-1,l7=typeof Promise=="function"?Promise:void 0,eI=typeof queueMicrotask=="function"?queueMicrotask:typeof l7<"u"?function(e){return l7.resolve(null).then(e).catch(tI)}:$8;function tI(e){setTimeout(function(){throw e})}function nI(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 aI(e,t,i,u,m,g){A_(e,t,i,u,m),Q8(e,m)}function u7(e){bd(e,"")}function rI(e,t,i){e.nodeValue=i}function oI(e,t){e.appendChild(t)}function sI(e,t){var i;e.nodeType===kn?(i=e.parentNode,i.insertBefore(t,e)):(i=e,i.appendChild(t));var u=e._reactRootContainer;u==null&&i.onclick===null&&s3(i)}function iI(e,t,i){e.insertBefore(t,i)}function lI(e,t,i){e.nodeType===kn?e.parentNode.insertBefore(t,i):e.insertBefore(t,i)}function uI(e,t){e.removeChild(t)}function cI(e,t){e.nodeType===kn?e.parentNode.removeChild(t):e.removeChild(t)}function H8(e,t){var i=t,u=0;do{var m=i.nextSibling;if(e.removeChild(i),m&&m.nodeType===kn){var g=m.data;if(g===u3)if(u===0){e.removeChild(m),Et(t);return}else u--;else(g===l3||g===of||g===sf)&&u++}i=m}while(i);Et(t)}function dI(e,t){e.nodeType===kn?H8(e.parentNode,t):e.nodeType===ja&&H8(e,t),Et(e)}function mI(e){e=e;var t=e.style;typeof t.setProperty=="function"?t.setProperty("display","none","important"):t.display="none"}function fI(e){e.nodeValue=""}function pI(e,t){e=e;var i=t[$_],u=i!=null&&i.hasOwnProperty("display")?i.display:null;e.style.display=kd("display",u)}function hI(e,t){e.nodeValue=t}function gI(e){e.nodeType===ja?e.textContent="":e.nodeType===Jr&&e.documentElement&&e.removeChild(e.documentElement)}function yI(e,t,i){return e.nodeType!==ja||t.toLowerCase()!==e.nodeName.toLowerCase()?null:e}function vI(e,t){return t===""||e.nodeType!==Fo?null:e}function TI(e){return e.nodeType!==kn?null:e}function c7(e){return e.data===of}function G8(e){return e.data===sf}function bI(e){var t=e.nextSibling&&e.nextSibling.dataset,i,u,m;return t&&(i=t.dgst,u=t.msg,m=t.stck),{message:u,digest:i,stack:m}}function kI(e,t){e._reactRetry=t}function c3(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===ja||t===Fo)break;if(t===kn){var i=e.data;if(i===l3||i===sf||i===of)break;if(i===u3)return null}}return e}function lf(e){return c3(e.nextSibling)}function SI(e){return c3(e.firstChild)}function wI(e){return c3(e.firstChild)}function CI(e){return c3(e.nextSibling)}function EI(e,t,i,u,m,g,T){cf(g,e),Q8(e,i);var E;{var I=m;E=I.namespace}var A=(g.mode&qe)!==Ge;return P_(e,t,i,E,u,A,T)}function _I(e,t,i,u){return cf(i,e),i.mode&qe,M_(e,t)}function II(e,t){cf(t,e)}function NI(e){for(var t=e.nextSibling,i=0;t;){if(t.nodeType===kn){var u=t.data;if(u===u3){if(i===0)return lf(t);i--}else(u===l3||u===sf||u===of)&&i++}t=t.nextSibling}return null}function d7(e){for(var t=e.previousSibling,i=0;t;){if(t.nodeType===kn){var u=t.data;if(u===l3||u===sf||u===of){if(i===0)return t;i--}else u===u3&&i++}t=t.previousSibling}return null}function RI(e){Et(e)}function OI(e){Et(e)}function LI(e){return e!=="head"&&e!=="body"}function AI(e,t,i,u){var m=!0;o3(t.nodeValue,i,u,m)}function xI(e,t,i,u,m,g){if(t[i3]!==!0){var T=!0;o3(u.nodeValue,m,g,T)}}function PI(e,t){t.nodeType===ja?M8(e,t):t.nodeType===kn||D8(e,t)}function MI(e,t){{var i=e.parentNode;i!==null&&(t.nodeType===ja?M8(i,t):t.nodeType===kn||D8(i,t))}}function DI(e,t,i,u,m){(m||t[i3]!==!0)&&(u.nodeType===ja?M8(i,u):u.nodeType===kn||D8(i,u))}function UI(e,t,i){U8(e,t)}function FI(e,t){F8(e,t)}function VI(e,t,i){{var u=e.parentNode;u!==null&&U8(u,t)}}function BI(e,t){{var i=e.parentNode;i!==null&&F8(i,t)}}function jI(e,t,i,u,m,g){(g||t[i3]!==!0)&&U8(i,u)}function $I(e,t,i,u,m){(m||t[i3]!==!0)&&F8(i,u)}function zI(e){f("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",e.nodeName.toLowerCase())}function HI(e){Jm(e)}var I1=Math.random().toString(36).slice(2),N1="__reactFiber$"+I1,q8="__reactProps$"+I1,uf="__reactContainer$"+I1,W8="__reactEvents$"+I1,GI="__reactListeners$"+I1,qI="__reactHandles$"+I1;function WI(e){delete e[N1],delete e[q8],delete e[W8],delete e[GI],delete e[qI]}function cf(e,t){t[N1]=e}function d3(e,t){t[uf]=e}function m7(e){e[uf]=null}function df(e){return!!e[uf]}function Ec(e){var t=e[N1];if(t)return t;for(var i=e.parentNode;i;){if(t=i[uf]||i[N1],t){var u=t.alternate;if(t.child!==null||u!==null&&u.child!==null)for(var m=d7(e);m!==null;){var g=m[N1];if(g)return g;m=d7(m)}return t}e=i,i=e.parentNode}return null}function Jl(e){var t=e[N1]||e[uf];return t&&(t.tag===L||t.tag===x||t.tag===te||t.tag===N)?t:null}function R1(e){if(e.tag===L||e.tag===x)return e.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function m3(e){return e[q8]||null}function Q8(e,t){e[q8]=t}function QI(e){var t=e[W8];return t===void 0&&(t=e[W8]=new Set),t}var f7={},p7=o.ReactDebugCurrentFrame;function f3(e){if(e){var t=e._owner,i=xu(e.type,e._source,t?t.type:null);p7.setExtraStackFrame(i)}else p7.setExtraStackFrame(null)}function Xo(e,t,i,u,m){{var g=Function.call.bind(nn);for(var T in e)if(g(e,T)){var E=void 0;try{if(typeof e[T]!="function"){var I=Error((u||"React class")+": "+i+" type `"+T+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[T]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw I.name="Invariant Violation",I}E=e[T](t,T,u,i,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(A){E=A}E&&!(E instanceof Error)&&(f3(m),f("%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,T,typeof E),f3(null)),E instanceof Error&&!(E.message in f7)&&(f7[E.message]=!0,f3(m),f("Failed %s type: %s",i,E.message),f3(null))}}}var Y8=[],p3;p3=[];var Pi=-1;function eu(e){return{current:e}}function Za(e,t){if(Pi<0){f("Unexpected pop.");return}t!==p3[Pi]&&f("Unexpected Fiber popped."),e.current=Y8[Pi],Y8[Pi]=null,p3[Pi]=null,Pi--}function Xa(e,t,i){Pi++,Y8[Pi]=e.current,p3[Pi]=i,e.current=t}var K8;K8={};var ro={};Object.freeze(ro);var Mi=eu(ro),xs=eu(!1),Z8=ro;function O1(e,t,i){return i&&Ps(t)?Z8:Mi.current}function h7(e,t,i){{var u=e.stateNode;u.__reactInternalMemoizedUnmaskedChildContext=t,u.__reactInternalMemoizedMaskedChildContext=i}}function L1(e,t){{var i=e.type,u=i.contextTypes;if(!u)return ro;var m=e.stateNode;if(m&&m.__reactInternalMemoizedUnmaskedChildContext===t)return m.__reactInternalMemoizedMaskedChildContext;var g={};for(var T in u)g[T]=t[T];{var E=ft(e)||"Unknown";Xo(u,g,"context",E)}return m&&h7(e,t,g),g}}function h3(){return xs.current}function Ps(e){{var t=e.childContextTypes;return t!=null}}function g3(e){Za(xs,e),Za(Mi,e)}function X8(e){Za(xs,e),Za(Mi,e)}function g7(e,t,i){{if(Mi.current!==ro)throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");Xa(Mi,t,e),Xa(xs,i,e)}}function y7(e,t,i){{var u=e.stateNode,m=t.childContextTypes;if(typeof u.getChildContext!="function"){{var g=ft(e)||"Unknown";K8[g]||(K8[g]=!0,f("%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.",g,g))}return i}var T=u.getChildContext();for(var E in T)if(!(E in m))throw new Error((ft(e)||"Unknown")+'.getChildContext(): key "'+E+'" is not defined in childContextTypes.');{var I=ft(e)||"Unknown";Xo(m,T,"child context",I)}return Ct({},i,T)}}function y3(e){{var t=e.stateNode,i=t&&t.__reactInternalMemoizedMergedChildContext||ro;return Z8=Mi.current,Xa(Mi,i,e),Xa(xs,xs.current,e),!0}}function v7(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 m=y7(e,t,Z8);u.__reactInternalMemoizedMergedChildContext=m,Za(xs,e),Za(Mi,e),Xa(Mi,m,e),Xa(xs,i,e)}else Za(xs,e),Xa(xs,i,e)}}function YI(e){{if(!gm(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 N:return t.stateNode.context;case C:{var i=t.type;if(Ps(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 tu=0,v3=1,Di=null,J8=!1,e4=!1;function T7(e){Di===null?Di=[e]:Di.push(e)}function KI(e){J8=!0,T7(e)}function b7(){J8&&nu()}function nu(){if(!e4&&Di!==null){e4=!0;var e=0,t=xr();try{var i=!0,u=Di;for(An(ga);e<u.length;e++){var m=u[e];do m=m(i);while(m!==null)}Di=null,J8=!1}catch(g){throw Di!==null&&(Di=Di.slice(e+1)),Ad(Pd,nu),g}finally{An(t),e4=!1}}return null}var A1=[],x1=0,T3=null,b3=0,ko=[],So=0,_c=null,Ui=1,Fi="";function ZI(e){return Nc(),(e.flags&fm)!==Xe}function XI(e){return Nc(),b3}function JI(){var e=Fi,t=Ui,i=t&~eN(t);return i.toString(32)+e}function Ic(e,t){Nc(),A1[x1++]=b3,A1[x1++]=T3,T3=e,b3=t}function k7(e,t,i){Nc(),ko[So++]=Ui,ko[So++]=Fi,ko[So++]=_c,_c=e;var u=Ui,m=Fi,g=k3(u)-1,T=u&~(1<<g),E=i+1,I=k3(t)+g;if(I>30){var A=g-g%5,M=(1<<A)-1,q=(T&M).toString(32),H=T>>A,ee=g-A,ae=k3(t)+ee,le=E<<ee,Ie=le|H,Qe=q+m;Ui=1<<ae|Ie,Fi=Qe}else{var et=E<<g,kt=et|T,Tt=m;Ui=1<<I|kt,Fi=Tt}}function t4(e){Nc();var t=e.return;if(t!==null){var i=1,u=0;Ic(e,i),k7(e,i,u)}}function k3(e){return 32-Ol(e)}function eN(e){return 1<<k3(e)-1}function n4(e){for(;e===T3;)T3=A1[--x1],A1[x1]=null,b3=A1[--x1],A1[x1]=null;for(;e===_c;)_c=ko[--So],ko[So]=null,Fi=ko[--So],ko[So]=null,Ui=ko[--So],ko[So]=null}function tN(){return Nc(),_c!==null?{id:Ui,overflow:Fi}:null}function nN(e,t){Nc(),ko[So++]=Ui,ko[So++]=Fi,ko[So++]=_c,Ui=t.id,Fi=t.overflow,_c=e}function Nc(){Na()||f("Expected to be hydrating. This is a bug in React. Please file an issue.")}var Ia=null,wo=null,Jo=!1,Rc=!1,au=null;function aN(){Jo&&f("We should not be hydrating here. This is a bug in React. Please file a bug.")}function S7(){Rc=!0}function rN(){return Rc}function oN(e){var t=e.stateNode.containerInfo;return wo=wI(t),Ia=e,Jo=!0,au=null,Rc=!1,!0}function sN(e,t,i){return wo=CI(t),Ia=e,Jo=!0,au=null,Rc=!1,i!==null&&nN(e,i),!0}function w7(e,t){switch(e.tag){case N:{PI(e.stateNode.containerInfo,t);break}case L:{var i=(e.mode&qe)!==Ge;DI(e.type,e.memoizedProps,e.stateNode,t,i);break}case te:{var u=e.memoizedState;u.dehydrated!==null&&MI(u.dehydrated,t);break}}}function C7(e,t){w7(e,t);var i=cL();i.stateNode=t,i.return=e;var u=e.deletions;u===null?(e.deletions=[i],e.flags|=Pt):u.push(i)}function a4(e,t){{if(Rc)return;switch(e.tag){case N:{var i=e.stateNode.containerInfo;switch(t.tag){case L:var u=t.type;t.pendingProps,UI(i,u);break;case x:var m=t.pendingProps;FI(i,m);break}break}case L:{var g=e.type,T=e.memoizedProps,E=e.stateNode;switch(t.tag){case L:{var I=t.type,A=t.pendingProps,M=(e.mode&qe)!==Ge;jI(g,T,E,I,A,M);break}case x:{var q=t.pendingProps,H=(e.mode&qe)!==Ge;$I(g,T,E,q,H);break}}break}case te:{var ee=e.memoizedState,ae=ee.dehydrated;if(ae!==null)switch(t.tag){case L:var le=t.type;t.pendingProps,VI(ae,le);break;case x:var Ie=t.pendingProps;BI(ae,Ie);break}break}default:return}}}function E7(e,t){t.flags=t.flags&~Ir|Kt,a4(e,t)}function _7(e,t){switch(e.tag){case L:{var i=e.type;e.pendingProps;var u=yI(t,i);return u!==null?(e.stateNode=u,Ia=e,wo=SI(u),!0):!1}case x:{var m=e.pendingProps,g=vI(t,m);return g!==null?(e.stateNode=g,Ia=e,wo=null,!0):!1}case te:{var T=TI(t);if(T!==null){var E={dehydrated:T,treeContext:tN(),retryLane:ha};e.memoizedState=E;var I=dL(T);return I.return=e,e.child=I,Ia=e,wo=null,!0}return!1}default:return!1}}function r4(e){return(e.mode&qe)!==Ge&&(e.flags&rt)===Xe}function o4(e){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function s4(e){if(Jo){var t=wo;if(!t){r4(e)&&(a4(Ia,e),o4()),E7(Ia,e),Jo=!1,Ia=e;return}var i=t;if(!_7(e,t)){r4(e)&&(a4(Ia,e),o4()),t=lf(i);var u=Ia;if(!t||!_7(e,t)){E7(Ia,e),Jo=!1,Ia=e;return}C7(u,i)}}}function iN(e,t,i){var u=e.stateNode,m=!Rc,g=EI(u,e.type,e.memoizedProps,t,i,e,m);return e.updateQueue=g,g!==null}function lN(e){var t=e.stateNode,i=e.memoizedProps,u=_I(t,i,e);if(u){var m=Ia;if(m!==null)switch(m.tag){case N:{var g=m.stateNode.containerInfo,T=(m.mode&qe)!==Ge;AI(g,t,i,T);break}case L:{var E=m.type,I=m.memoizedProps,A=m.stateNode,M=(m.mode&qe)!==Ge;xI(E,I,A,t,i,M);break}}}return u}function uN(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.");II(i,e)}function cN(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 NI(i)}function I7(e){for(var t=e.return;t!==null&&t.tag!==L&&t.tag!==N&&t.tag!==te;)t=t.return;Ia=t}function S3(e){if(e!==Ia)return!1;if(!Jo)return I7(e),Jo=!0,!1;if(e.tag!==N&&(e.tag!==L||LI(e.type)&&!j8(e.type,e.memoizedProps))){var t=wo;if(t)if(r4(e))N7(e),o4();else for(;t;)C7(e,t),t=lf(t)}return I7(e),e.tag===te?wo=cN(e):wo=Ia?lf(e.stateNode):null,!0}function dN(){return Jo&&wo!==null}function N7(e){for(var t=wo;t;)w7(e,t),t=lf(t)}function P1(){Ia=null,wo=null,Jo=!1,Rc=!1}function R7(){au!==null&&(ST(au),au=null)}function Na(){return Jo}function i4(e){au===null?au=[e]:au.push(e)}var mN=o.ReactCurrentBatchConfig,fN=null;function pN(){return mN.transition}var es={recordUnsafeLifecycleWarnings:function(e,t){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(e,t){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var hN=function(e){for(var t=null,i=e;i!==null;)i.mode&bt&&(t=i),i=i.return;return t},Oc=function(e){var t=[];return e.forEach(function(i){t.push(i)}),t.sort().join(", ")},mf=[],ff=[],pf=[],hf=[],gf=[],yf=[],Lc=new Set;es.recordUnsafeLifecycleWarnings=function(e,t){Lc.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&mf.push(e),e.mode&bt&&typeof t.UNSAFE_componentWillMount=="function"&&ff.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&pf.push(e),e.mode&bt&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&hf.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&gf.push(e),e.mode&bt&&typeof t.UNSAFE_componentWillUpdate=="function"&&yf.push(e))},es.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;mf.length>0&&(mf.forEach(function(H){e.add(ft(H)||"Component"),Lc.add(H.type)}),mf=[]);var t=new Set;ff.length>0&&(ff.forEach(function(H){t.add(ft(H)||"Component"),Lc.add(H.type)}),ff=[]);var i=new Set;pf.length>0&&(pf.forEach(function(H){i.add(ft(H)||"Component"),Lc.add(H.type)}),pf=[]);var u=new Set;hf.length>0&&(hf.forEach(function(H){u.add(ft(H)||"Component"),Lc.add(H.type)}),hf=[]);var m=new Set;gf.length>0&&(gf.forEach(function(H){m.add(ft(H)||"Component"),Lc.add(H.type)}),gf=[]);var g=new Set;if(yf.length>0&&(yf.forEach(function(H){g.add(ft(H)||"Component"),Lc.add(H.type)}),yf=[]),t.size>0){var T=Oc(t);f(`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.
73
+
74
+ * Move code with side effects to componentDidMount, and set initial state in the constructor.
75
+
76
+ Please update the following components: %s`,T)}if(u.size>0){var E=Oc(u);f(`Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
77
+
78
+ * Move data fetching code or side effects to componentDidUpdate.
79
+ * If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state
80
+
81
+ Please update the following components: %s`,E)}if(g.size>0){var I=Oc(g);f(`Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
82
+
83
+ * Move data fetching code or side effects to componentDidUpdate.
84
+
85
+ Please update the following components: %s`,I)}if(e.size>0){var A=Oc(e);p(`componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
86
+
87
+ * Move code with side effects to componentDidMount, and set initial state in the constructor.
88
+ * Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
89
+
90
+ Please update the following components: %s`,A)}if(i.size>0){var M=Oc(i);p(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
91
+
92
+ * Move data fetching code or side effects to componentDidUpdate.
93
+ * If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state
94
+ * Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
95
+
96
+ Please update the following components: %s`,M)}if(m.size>0){var q=Oc(m);p(`componentWillUpdate has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
97
+
98
+ * Move data fetching code or side effects to componentDidUpdate.
99
+ * Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
100
+
101
+ Please update the following components: %s`,q)}};var w3=new Map,O7=new Set;es.recordLegacyContextWarning=function(e,t){var i=hN(e);if(i===null){f("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue.");return}if(!O7.has(e.type)){var u=w3.get(i);(e.type.contextTypes!=null||e.type.childContextTypes!=null||t!==null&&typeof t.getChildContext=="function")&&(u===void 0&&(u=[],w3.set(i,u)),u.push(e))}},es.flushLegacyContextWarning=function(){w3.forEach(function(e,t){if(e.length!==0){var i=e[0],u=new Set;e.forEach(function(g){u.add(ft(g)||"Component"),O7.add(g.type)});var m=Oc(u);try{Bt(i),f(`Legacy context API has been detected within a strict-mode tree.
102
+
103
+ The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
104
+
105
+ Please update the following components: %s
106
+
107
+ Learn more about this warning here: https://reactjs.org/link/legacy-context`,m)}finally{On()}}})},es.discardPendingWarnings=function(){mf=[],ff=[],pf=[],hf=[],gf=[],yf=[],w3=new Map}}var l4,u4,c4,d4,m4,L7=function(e,t){};l4=!1,u4=!1,c4={},d4={},m4={},L7=function(e,t){if(!(e===null||typeof e!="object")&&!(!e._store||e._store.validated||e.key!=null)){if(typeof e._store!="object")throw new Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");e._store.validated=!0;var i=ft(t)||"Component";d4[i]||(d4[i]=!0,f('Each child in a list should have a unique "key" prop. See https://reactjs.org/link/warning-keys for more information.'))}};function gN(e){return e.prototype&&e.prototype.isReactComponent}function vf(e,t,i){var u=i.ref;if(u!==null&&typeof u!="function"&&typeof u!="object"){if((e.mode&bt||pe)&&!(i._owner&&i._self&&i._owner.stateNode!==i._self)&&!(i._owner&&i._owner.tag!==C)&&!(typeof i.type=="function"&&!gN(i.type))&&i._owner){var m=ft(e)||"Component";c4[m]||(f('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. We recommend using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',m,u),c4[m]=!0)}if(i._owner){var g=i._owner,T;if(g){var E=g;if(E.tag!==C)throw new Error("Function components cannot have string refs. We recommend using useRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref");T=E.stateNode}if(!T)throw new Error("Missing owner for string ref "+u+". This error is likely caused by a bug in React. Please file an issue.");var I=T;Ao(u,"ref");var A=""+u;if(t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===A)return t.ref;var M=function(q){var H=I.refs;q===null?delete H[A]:H[A]=q};return M._stringRef=A,M}else{if(typeof u!="string")throw new Error("Expected ref to be a function, a string, an object returned by React.createRef(), or null.");if(!i._owner)throw new Error("Element ref was specified as a string ("+u+`) but no owner was set. This could happen for one of the following reasons:
108
+ 1. You may be adding a ref to a function component
109
+ 2. You may be adding a ref to a component that was not created inside a component's render method
110
+ 3. You have multiple copies of React loaded
111
+ See https://reactjs.org/link/refs-must-have-owner for more information.`)}}return u}function C3(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 E3(e){{var t=ft(e)||"Component";if(m4[t])return;m4[t]=!0,f("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 A7(e){var t=e._payload,i=e._init;return i(t)}function x7(e){function t(Z,ie){if(e){var X=Z.deletions;X===null?(Z.deletions=[ie],Z.flags|=Pt):X.push(ie)}}function i(Z,ie){if(!e)return null;for(var X=ie;X!==null;)t(Z,X),X=X.sibling;return null}function u(Z,ie){for(var X=new Map,be=ie;be!==null;)be.key!==null?X.set(be.key,be):X.set(be.index,be),be=be.sibling;return X}function m(Z,ie){var X=Bc(Z,ie);return X.index=0,X.sibling=null,X}function g(Z,ie,X){if(Z.index=X,!e)return Z.flags|=fm,ie;var be=Z.alternate;if(be!==null){var xe=be.index;return xe<ie?(Z.flags|=Kt,ie):xe}else return Z.flags|=Kt,ie}function T(Z){return e&&Z.alternate===null&&(Z.flags|=Kt),Z}function E(Z,ie,X,be){if(ie===null||ie.tag!==x){var xe=i5(X,Z.mode,be);return xe.return=Z,xe}else{var Oe=m(ie,X);return Oe.return=Z,Oe}}function I(Z,ie,X,be){var xe=X.type;if(xe===Po)return M(Z,ie,X.props.children,be,X.key);if(ie!==null&&(ie.elementType===xe||FT(ie,X)||typeof xe=="object"&&xe!==null&&xe.$$typeof===Ea&&A7(xe)===ie.type)){var Oe=m(ie,X.props);return Oe.ref=vf(Z,ie,X),Oe.return=Z,Oe._debugSource=X._source,Oe._debugOwner=X._owner,Oe}var nt=s5(X,Z.mode,be);return nt.ref=vf(Z,ie,X),nt.return=Z,nt}function A(Z,ie,X,be){if(ie===null||ie.tag!==O||ie.stateNode.containerInfo!==X.containerInfo||ie.stateNode.implementation!==X.implementation){var xe=l5(X,Z.mode,be);return xe.return=Z,xe}else{var Oe=m(ie,X.children||[]);return Oe.return=Z,Oe}}function M(Z,ie,X,be,xe){if(ie===null||ie.tag!==D){var Oe=pu(X,Z.mode,be,xe);return Oe.return=Z,Oe}else{var nt=m(ie,X);return nt.return=Z,nt}}function q(Z,ie,X){if(typeof ie=="string"&&ie!==""||typeof ie=="number"){var be=i5(""+ie,Z.mode,X);return be.return=Z,be}if(typeof ie=="object"&&ie!==null){switch(ie.$$typeof){case ll:{var xe=s5(ie,Z.mode,X);return xe.ref=vf(Z,null,ie),xe.return=Z,xe}case Yr:{var Oe=l5(ie,Z.mode,X);return Oe.return=Z,Oe}case Ea:{var nt=ie._payload,mt=ie._init;return q(Z,mt(nt),X)}}if(Bn(ie)||Mo(ie)){var $t=pu(ie,Z.mode,X,null);return $t.return=Z,$t}C3(Z,ie)}return typeof ie=="function"&&E3(Z),null}function H(Z,ie,X,be){var xe=ie!==null?ie.key:null;if(typeof X=="string"&&X!==""||typeof X=="number")return xe!==null?null:E(Z,ie,""+X,be);if(typeof X=="object"&&X!==null){switch(X.$$typeof){case ll:return X.key===xe?I(Z,ie,X,be):null;case Yr:return X.key===xe?A(Z,ie,X,be):null;case Ea:{var Oe=X._payload,nt=X._init;return H(Z,ie,nt(Oe),be)}}if(Bn(X)||Mo(X))return xe!==null?null:M(Z,ie,X,be,null);C3(Z,X)}return typeof X=="function"&&E3(Z),null}function ee(Z,ie,X,be,xe){if(typeof be=="string"&&be!==""||typeof be=="number"){var Oe=Z.get(X)||null;return E(ie,Oe,""+be,xe)}if(typeof be=="object"&&be!==null){switch(be.$$typeof){case ll:{var nt=Z.get(be.key===null?X:be.key)||null;return I(ie,nt,be,xe)}case Yr:{var mt=Z.get(be.key===null?X:be.key)||null;return A(ie,mt,be,xe)}case Ea:var $t=be._payload,At=be._init;return ee(Z,ie,X,At($t),xe)}if(Bn(be)||Mo(be)){var Mn=Z.get(X)||null;return M(ie,Mn,be,xe,null)}C3(ie,be)}return typeof be=="function"&&E3(ie),null}function ae(Z,ie,X){{if(typeof Z!="object"||Z===null)return ie;switch(Z.$$typeof){case ll:case Yr:L7(Z,X);var be=Z.key;if(typeof be!="string")break;if(ie===null){ie=new Set,ie.add(be);break}if(!ie.has(be)){ie.add(be);break}f("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.",be);break;case Ea:var xe=Z._payload,Oe=Z._init;ae(Oe(xe),ie,X);break}}return ie}function le(Z,ie,X,be){for(var xe=null,Oe=0;Oe<X.length;Oe++){var nt=X[Oe];xe=ae(nt,xe,Z)}for(var mt=null,$t=null,At=ie,Mn=0,xt=0,En=null;At!==null&&xt<X.length;xt++){At.index>xt?(En=At,At=null):En=At.sibling;var er=H(Z,At,X[xt],be);if(er===null){At===null&&(At=En);break}e&&At&&er.alternate===null&&t(Z,At),Mn=g(er,Mn,xt),$t===null?mt=er:$t.sibling=er,$t=er,At=En}if(xt===X.length){if(i(Z,At),Na()){var Ma=xt;Ic(Z,Ma)}return mt}if(At===null){for(;xt<X.length;xt++){var so=q(Z,X[xt],be);so!==null&&(Mn=g(so,Mn,xt),$t===null?mt=so:$t.sibling=so,$t=so)}if(Na()){var hr=xt;Ic(Z,hr)}return mt}for(var gr=u(Z,At);xt<X.length;xt++){var tr=ee(gr,Z,xt,X[xt],be);tr!==null&&(e&&tr.alternate!==null&&gr.delete(tr.key===null?xt:tr.key),Mn=g(tr,Mn,xt),$t===null?mt=tr:$t.sibling=tr,$t=tr)}if(e&&gr.forEach(function(J1){return t(Z,J1)}),Na()){var Gi=xt;Ic(Z,Gi)}return mt}function Ie(Z,ie,X,be){var xe=Mo(X);if(typeof xe!="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"&&X[Symbol.toStringTag]==="Generator"&&(u4||f("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."),u4=!0),X.entries===xe&&(l4||f("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),l4=!0);var Oe=xe.call(X);if(Oe)for(var nt=null,mt=Oe.next();!mt.done;mt=Oe.next()){var $t=mt.value;nt=ae($t,nt,Z)}}var At=xe.call(X);if(At==null)throw new Error("An iterable object provided no iterator.");for(var Mn=null,xt=null,En=ie,er=0,Ma=0,so=null,hr=At.next();En!==null&&!hr.done;Ma++,hr=At.next()){En.index>Ma?(so=En,En=null):so=En.sibling;var gr=H(Z,En,hr.value,be);if(gr===null){En===null&&(En=so);break}e&&En&&gr.alternate===null&&t(Z,En),er=g(gr,er,Ma),xt===null?Mn=gr:xt.sibling=gr,xt=gr,En=so}if(hr.done){if(i(Z,En),Na()){var tr=Ma;Ic(Z,tr)}return Mn}if(En===null){for(;!hr.done;Ma++,hr=At.next()){var Gi=q(Z,hr.value,be);Gi!==null&&(er=g(Gi,er,Ma),xt===null?Mn=Gi:xt.sibling=Gi,xt=Gi)}if(Na()){var J1=Ma;Ic(Z,J1)}return Mn}for(var Yf=u(Z,En);!hr.done;Ma++,hr=At.next()){var $s=ee(Yf,Z,Ma,hr.value,be);$s!==null&&(e&&$s.alternate!==null&&Yf.delete($s.key===null?Ma:$s.key),er=g($s,er,Ma),xt===null?Mn=$s:xt.sibling=$s,xt=$s)}if(e&&Yf.forEach(function($L){return t(Z,$L)}),Na()){var jL=Ma;Ic(Z,jL)}return Mn}function Qe(Z,ie,X,be){if(ie!==null&&ie.tag===x){i(Z,ie.sibling);var xe=m(ie,X);return xe.return=Z,xe}i(Z,ie);var Oe=i5(X,Z.mode,be);return Oe.return=Z,Oe}function et(Z,ie,X,be){for(var xe=X.key,Oe=ie;Oe!==null;){if(Oe.key===xe){var nt=X.type;if(nt===Po){if(Oe.tag===D){i(Z,Oe.sibling);var mt=m(Oe,X.props.children);return mt.return=Z,mt._debugSource=X._source,mt._debugOwner=X._owner,mt}}else if(Oe.elementType===nt||FT(Oe,X)||typeof nt=="object"&&nt!==null&&nt.$$typeof===Ea&&A7(nt)===Oe.type){i(Z,Oe.sibling);var $t=m(Oe,X.props);return $t.ref=vf(Z,Oe,X),$t.return=Z,$t._debugSource=X._source,$t._debugOwner=X._owner,$t}i(Z,Oe);break}else t(Z,Oe);Oe=Oe.sibling}if(X.type===Po){var At=pu(X.props.children,Z.mode,be,X.key);return At.return=Z,At}else{var Mn=s5(X,Z.mode,be);return Mn.ref=vf(Z,ie,X),Mn.return=Z,Mn}}function kt(Z,ie,X,be){for(var xe=X.key,Oe=ie;Oe!==null;){if(Oe.key===xe)if(Oe.tag===O&&Oe.stateNode.containerInfo===X.containerInfo&&Oe.stateNode.implementation===X.implementation){i(Z,Oe.sibling);var nt=m(Oe,X.children||[]);return nt.return=Z,nt}else{i(Z,Oe);break}else t(Z,Oe);Oe=Oe.sibling}var mt=l5(X,Z.mode,be);return mt.return=Z,mt}function Tt(Z,ie,X,be){var xe=typeof X=="object"&&X!==null&&X.type===Po&&X.key===null;if(xe&&(X=X.props.children),typeof X=="object"&&X!==null){switch(X.$$typeof){case ll:return T(et(Z,ie,X,be));case Yr:return T(kt(Z,ie,X,be));case Ea:var Oe=X._payload,nt=X._init;return Tt(Z,ie,nt(Oe),be)}if(Bn(X))return le(Z,ie,X,be);if(Mo(X))return Ie(Z,ie,X,be);C3(Z,X)}return typeof X=="string"&&X!==""||typeof X=="number"?T(Qe(Z,ie,""+X,be)):(typeof X=="function"&&E3(Z),i(Z,ie))}return Tt}var M1=x7(!0),P7=x7(!1);function yN(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=Bc(i,i.pendingProps);for(t.child=u,u.return=t;i.sibling!==null;)i=i.sibling,u=u.sibling=Bc(i,i.pendingProps),u.return=t;u.sibling=null}}function vN(e,t){for(var i=e.child;i!==null;)oL(i,t),i=i.sibling}var f4=eu(null),p4;p4={};var _3=null,D1=null,h4=null,I3=!1;function N3(){_3=null,D1=null,h4=null,I3=!1}function M7(){I3=!0}function D7(){I3=!1}function U7(e,t,i){Xa(f4,t._currentValue,e),t._currentValue=i,t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==p4&&f("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=p4}function g4(e,t){var i=f4.current;Za(f4,t),e._currentValue=i}function y4(e,t,i){for(var u=e;u!==null;){var m=u.alternate;if(wi(u.childLanes,t)?m!==null&&!wi(m.childLanes,t)&&(m.childLanes=pt(m.childLanes,t)):(u.childLanes=pt(u.childLanes,t),m!==null&&(m.childLanes=pt(m.childLanes,t))),u===i)break;u=u.return}u!==i&&f("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 TN(e,t,i){bN(e,t,i)}function bN(e,t,i){var u=e.child;for(u!==null&&(u.return=e);u!==null;){var m=void 0,g=u.dependencies;if(g!==null){m=u.child;for(var T=g.firstContext;T!==null;){if(T.context===t){if(u.tag===C){var E=Ul(i),I=Vi(Wt,E);I.tag=O3;var A=u.updateQueue;if(A!==null){var M=A.shared,q=M.pending;q===null?I.next=I:(I.next=q.next,q.next=I),M.pending=I}}u.lanes=pt(u.lanes,i);var H=u.alternate;H!==null&&(H.lanes=pt(H.lanes,i)),y4(u.return,i,e),g.lanes=pt(g.lanes,i);break}T=T.next}}else if(u.tag===Q)m=u.type===e.type?null:u.child;else if(u.tag===Fe){var ee=u.return;if(ee===null)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");ee.lanes=pt(ee.lanes,i);var ae=ee.alternate;ae!==null&&(ae.lanes=pt(ae.lanes,i)),y4(ee,i,e),m=u.sibling}else m=u.child;if(m!==null)m.return=u;else for(m=u;m!==null;){if(m===e){m=null;break}var le=m.sibling;if(le!==null){le.return=m.return,m=le;break}m=m.return}u=m}}function U1(e,t){_3=e,D1=null,h4=null;var i=e.dependencies;if(i!==null){var u=i.firstContext;u!==null&&(Ka(i.lanes,t)&&xf(),i.firstContext=null)}}function qn(e){I3&&f("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(h4!==e){var i={context:e,memoizedValue:t,next:null};if(D1===null){if(_3===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().");D1=i,_3.dependencies={lanes:he,firstContext:i}}else D1=D1.next=i}return t}var Ac=null;function v4(e){Ac===null?Ac=[e]:Ac.push(e)}function kN(){if(Ac!==null){for(var e=0;e<Ac.length;e++){var t=Ac[e],i=t.interleaved;if(i!==null){t.interleaved=null;var u=i.next,m=t.pending;if(m!==null){var g=m.next;m.next=u,i.next=g}t.pending=i}}Ac=null}}function F7(e,t,i,u){var m=t.interleaved;return m===null?(i.next=i,v4(t)):(i.next=m.next,m.next=i),t.interleaved=i,R3(e,u)}function SN(e,t,i,u){var m=t.interleaved;m===null?(i.next=i,v4(t)):(i.next=m.next,m.next=i),t.interleaved=i}function wN(e,t,i,u){var m=t.interleaved;return m===null?(i.next=i,v4(t)):(i.next=m.next,m.next=i),t.interleaved=i,R3(e,u)}function Fr(e,t){return R3(e,t)}var CN=R3;function R3(e,t){e.lanes=pt(e.lanes,t);var i=e.alternate;i!==null&&(i.lanes=pt(i.lanes,t)),i===null&&(e.flags&(Kt|Ir))!==Xe&&PT(e);for(var u=e,m=e.return;m!==null;)m.childLanes=pt(m.childLanes,t),i=m.alternate,i!==null?i.childLanes=pt(i.childLanes,t):(m.flags&(Kt|Ir))!==Xe&&PT(e),u=m,m=m.return;if(u.tag===N){var g=u.stateNode;return g}else return null}var V7=0,B7=1,O3=2,T4=3,L3=!1,b4,A3;b4=!1,A3=null;function k4(e){var t={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:he},effects:null};e.updateQueue=t}function j7(e,t){var i=t.updateQueue,u=e.updateQueue;if(i===u){var m={baseState:u.baseState,firstBaseUpdate:u.firstBaseUpdate,lastBaseUpdate:u.lastBaseUpdate,shared:u.shared,effects:u.effects};t.updateQueue=m}}function Vi(e,t){var i={eventTime:e,lane:t,tag:V7,payload:null,callback:null,next:null};return i}function ru(e,t,i){var u=e.updateQueue;if(u===null)return null;var m=u.shared;if(A3===m&&!b4&&(f("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."),b4=!0),SO()){var g=m.pending;return g===null?t.next=t:(t.next=g.next,g.next=t),m.pending=t,CN(e,i)}else return wN(e,m,t,i)}function x3(e,t,i){var u=t.updateQueue;if(u!==null){var m=u.shared;if(Nm(i)){var g=m.lanes;g=r1(g,e.pendingLanes);var T=pt(g,i);m.lanes=T,Fl(e,T)}}}function S4(e,t){var i=e.updateQueue,u=e.alternate;if(u!==null){var m=u.updateQueue;if(i===m){var g=null,T=null,E=i.firstBaseUpdate;if(E!==null){var I=E;do{var A={eventTime:I.eventTime,lane:I.lane,tag:I.tag,payload:I.payload,callback:I.callback,next:null};T===null?g=T=A:(T.next=A,T=A),I=I.next}while(I!==null);T===null?g=T=t:(T.next=t,T=t)}else g=T=t;i={baseState:m.baseState,firstBaseUpdate:g,lastBaseUpdate:T,shared:m.shared,effects:m.effects},e.updateQueue=i;return}}var M=i.lastBaseUpdate;M===null?i.firstBaseUpdate=t:M.next=t,i.lastBaseUpdate=t}function EN(e,t,i,u,m,g){switch(i.tag){case B7:{var T=i.payload;if(typeof T=="function"){M7();var E=T.call(g,u,m);{if(e.mode&bt){Sn(!0);try{T.call(g,u,m)}finally{Sn(!1)}}D7()}return E}return T}case T4:e.flags=e.flags&~$n|rt;case V7:{var I=i.payload,A;if(typeof I=="function"){M7(),A=I.call(g,u,m);{if(e.mode&bt){Sn(!0);try{I.call(g,u,m)}finally{Sn(!1)}}D7()}}else A=I;return A==null?u:Ct({},u,A)}case O3:return L3=!0,u}return u}function P3(e,t,i,u){var m=e.updateQueue;L3=!1,A3=m.shared;var g=m.firstBaseUpdate,T=m.lastBaseUpdate,E=m.shared.pending;if(E!==null){m.shared.pending=null;var I=E,A=I.next;I.next=null,T===null?g=A:T.next=A,T=I;var M=e.alternate;if(M!==null){var q=M.updateQueue,H=q.lastBaseUpdate;H!==T&&(H===null?q.firstBaseUpdate=A:H.next=A,q.lastBaseUpdate=I)}}if(g!==null){var ee=m.baseState,ae=he,le=null,Ie=null,Qe=null,et=g;do{var kt=et.lane,Tt=et.eventTime;if(wi(u,kt)){if(Qe!==null){var Z={eventTime:Tt,lane:wn,tag:et.tag,payload:et.payload,callback:et.callback,next:null};Qe=Qe.next=Z}ee=EN(e,m,et,ee,t,i);var ie=et.callback;if(ie!==null&&et.lane!==wn){e.flags|=go;var X=m.effects;X===null?m.effects=[et]:X.push(et)}}else{var be={eventTime:Tt,lane:kt,tag:et.tag,payload:et.payload,callback:et.callback,next:null};Qe===null?(Ie=Qe=be,le=ee):Qe=Qe.next=be,ae=pt(ae,kt)}if(et=et.next,et===null){if(E=m.shared.pending,E===null)break;var xe=E,Oe=xe.next;xe.next=null,et=Oe,m.lastBaseUpdate=xe,m.shared.pending=null}}while(!0);Qe===null&&(le=ee),m.baseState=le,m.firstBaseUpdate=Ie,m.lastBaseUpdate=Qe;var nt=m.shared.interleaved;if(nt!==null){var mt=nt;do ae=pt(ae,mt.lane),mt=mt.next;while(mt!==nt)}else g===null&&(m.shared.lanes=he);Hf(ae),e.lanes=ae,e.memoizedState=ee}A3=null}function _N(e,t){if(typeof e!="function")throw new Error("Invalid argument passed as callback. Expected a function. Instead "+("received: "+e));e.call(t)}function $7(){L3=!1}function M3(){return L3}function z7(e,t,i){var u=t.effects;if(t.effects=null,u!==null)for(var m=0;m<u.length;m++){var g=u[m],T=g.callback;T!==null&&(g.callback=null,_N(T,i))}}var Tf={},ou=eu(Tf),bf=eu(Tf),D3=eu(Tf);function U3(e){if(e===Tf)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 H7(){var e=U3(D3.current);return e}function w4(e,t){Xa(D3,t,e),Xa(bf,e,e),Xa(ou,Tf,e);var i=z_(t);Za(ou,e),Xa(ou,i,e)}function F1(e){Za(ou,e),Za(bf,e),Za(D3,e)}function C4(){var e=U3(ou.current);return e}function G7(e){U3(D3.current);var t=U3(ou.current),i=H_(t,e.type);t!==i&&(Xa(bf,e,e),Xa(ou,i,e))}function E4(e){bf.current===e&&(Za(ou,e),Za(bf,e))}var IN=0,q7=1,W7=1,kf=2,ts=eu(IN);function _4(e,t){return(e&t)!==0}function V1(e){return e&q7}function I4(e,t){return e&q7|t}function NN(e,t){return e|t}function su(e,t){Xa(ts,t,e)}function B1(e){Za(ts,e)}function RN(e,t){var i=e.memoizedState;return i!==null?i.dehydrated!==null:(e.memoizedProps,!0)}function F3(e){for(var t=e;t!==null;){if(t.tag===te){var i=t.memoizedState;if(i!==null){var u=i.dehydrated;if(u===null||c7(u)||G8(u))return t}}else if(t.tag===De&&t.memoizedProps.revealOrder!==void 0){var m=(t.flags&rt)!==Xe;if(m)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 Vr=0,Xn=1,Ms=2,Jn=4,Ra=8,N4=[];function R4(){for(var e=0;e<N4.length;e++){var t=N4[e];t._workInProgressVersionPrimary=null}N4.length=0}function ON(e,t){var i=t._getVersion,u=i(t._source);e.mutableSourceEagerHydrationData==null?e.mutableSourceEagerHydrationData=[t,u]:e.mutableSourceEagerHydrationData.push(t,u)}var Ae=o.ReactCurrentDispatcher,Sf=o.ReactCurrentBatchConfig,O4,j1;O4=new Set;var xc=he,jt=null,ea=null,ta=null,V3=!1,wf=!1,Cf=0,LN=0,AN=25,ce=null,Co=null,iu=-1,L4=!1;function Dt(){{var e=ce;Co===null?Co=[e]:Co.push(e)}}function _e(){{var e=ce;Co!==null&&(iu++,Co[iu]!==e&&xN(e))}}function $1(e){e!=null&&!Bn(e)&&f("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",ce,typeof e)}function xN(e){{var t=ft(jt);if(!O4.has(t)&&(O4.add(t),Co!==null)){for(var i="",u=30,m=0;m<=iu;m++){for(var g=Co[m],T=m===iu?e:g,E=m+1+". "+g;E.length<u;)E+=" ";E+=T+`
112
+ `,i+=E}f(`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
113
+
114
+ Previous render Next render
115
+ ------------------------------------------------------
116
+ %s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
117
+ `,t,i)}}}function Ja(){throw new Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
118
+ 1. You might have mismatching versions of React and the renderer (such as React DOM)
119
+ 2. You might be breaking the Rules of Hooks
120
+ 3. You might have more than one copy of React in the same app
121
+ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function A4(e,t){if(L4)return!1;if(t===null)return f("%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.",ce),!1;e.length!==t.length&&f(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
122
+
123
+ Previous: %s
124
+ Incoming: %s`,ce,"["+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 z1(e,t,i,u,m,g){xc=g,jt=t,Co=e!==null?e._debugHookTypes:null,iu=-1,L4=e!==null&&e.type!==t.type,t.memoizedState=null,t.updateQueue=null,t.lanes=he,e!==null&&e.memoizedState!==null?Ae.current=hv:Co!==null?Ae.current=pv:Ae.current=fv;var T=i(u,m);if(wf){var E=0;do{if(wf=!1,Cf=0,E>=AN)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");E+=1,L4=!1,ea=null,ta=null,t.updateQueue=null,iu=-1,Ae.current=gv,T=i(u,m)}while(wf)}Ae.current=X3,t._debugHookTypes=Co;var I=ea!==null&&ea.next!==null;if(xc=he,jt=null,ea=null,ta=null,ce=null,Co=null,iu=-1,e!==null&&(e.flags&Yn)!==(t.flags&Yn)&&(e.mode&qe)!==Ge&&f("Internal React error: Expected static flag was missing. Please notify the React team."),V3=!1,I)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return T}function H1(){var e=Cf!==0;return Cf=0,e}function Q7(e,t,i){t.updateQueue=e.updateQueue,(t.mode&ur)!==Ge?t.flags&=~(pi|Ha|Jt|ht):t.flags&=~(Jt|ht),e.lanes=dc(e.lanes,i)}function Y7(){if(Ae.current=X3,V3){for(var e=jt.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}V3=!1}xc=he,jt=null,ea=null,ta=null,Co=null,iu=-1,ce=null,lv=!1,wf=!1,Cf=0}function Ds(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ta===null?jt.memoizedState=ta=e:ta=ta.next=e,ta}function Eo(){var e;if(ea===null){var t=jt.alternate;t!==null?e=t.memoizedState:e=null}else e=ea.next;var i;if(ta===null?i=jt.memoizedState:i=ta.next,i!==null)ta=i,i=ta.next,ea=e;else{if(e===null)throw new Error("Rendered more hooks than during the previous render.");ea=e;var u={memoizedState:ea.memoizedState,baseState:ea.baseState,baseQueue:ea.baseQueue,queue:ea.queue,next:null};ta===null?jt.memoizedState=ta=u:ta=ta.next=u}return ta}function K7(){return{lastEffect:null,stores:null}}function x4(e,t){return typeof t=="function"?t(e):t}function P4(e,t,i){var u=Ds(),m;i!==void 0?m=i(t):m=t,u.memoizedState=u.baseState=m;var g={pending:null,interleaved:null,lanes:he,dispatch:null,lastRenderedReducer:e,lastRenderedState:m};u.queue=g;var T=g.dispatch=UN.bind(null,jt,g);return[u.memoizedState,T]}function M4(e,t,i){var u=Eo(),m=u.queue;if(m===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");m.lastRenderedReducer=e;var g=ea,T=g.baseQueue,E=m.pending;if(E!==null){if(T!==null){var I=T.next,A=E.next;T.next=A,E.next=I}g.baseQueue!==T&&f("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),g.baseQueue=T=E,m.pending=null}if(T!==null){var M=T.next,q=g.baseState,H=null,ee=null,ae=null,le=M;do{var Ie=le.lane;if(wi(xc,Ie)){if(ae!==null){var Qe={lane:wn,action:le.action,hasEagerState:le.hasEagerState,eagerState:le.eagerState,next:null};ae=ae.next=Qe}if(le.hasEagerState)q=le.eagerState;else{var et=le.action;q=e(q,et)}}else{var kt={lane:Ie,action:le.action,hasEagerState:le.hasEagerState,eagerState:le.eagerState,next:null};ae===null?(ee=ae=kt,H=q):ae=ae.next=kt,jt.lanes=pt(jt.lanes,Ie),Hf(Ie)}le=le.next}while(le!==null&&le!==M);ae===null?H=q:ae.next=ee,Be(q,u.memoizedState)||xf(),u.memoizedState=q,u.baseState=H,u.baseQueue=ae,m.lastRenderedState=q}var Tt=m.interleaved;if(Tt!==null){var Z=Tt;do{var ie=Z.lane;jt.lanes=pt(jt.lanes,ie),Hf(ie),Z=Z.next}while(Z!==Tt)}else T===null&&(m.lanes=he);var X=m.dispatch;return[u.memoizedState,X]}function D4(e,t,i){var u=Eo(),m=u.queue;if(m===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");m.lastRenderedReducer=e;var g=m.dispatch,T=m.pending,E=u.memoizedState;if(T!==null){m.pending=null;var I=T.next,A=I;do{var M=A.action;E=e(E,M),A=A.next}while(A!==I);Be(E,u.memoizedState)||xf(),u.memoizedState=E,u.baseQueue===null&&(u.baseState=E),m.lastRenderedState=E}return[E,g]}function U4(e,t,i){var u=jt,m=Ds(),g,T=Na();if(T){if(i===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");g=i(),j1||g!==i()&&(f("The result of getServerSnapshot should be cached to avoid an infinite loop"),j1=!0)}else{if(g=t(),!j1){var E=t();Be(g,E)||(f("The result of getSnapshot should be cached to avoid an infinite loop"),j1=!0)}var I=vh();if(I===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");cc(I,xc)||Z7(u,t,g)}m.memoizedState=g;var A={value:g,getSnapshot:t};return m.queue=A,H3(J7.bind(null,u,A,e),[e]),u.flags|=Jt,Ef(Xn|Ra,X7.bind(null,u,A,g,t),void 0,null),g}function B3(e,t,i){var u=jt,m=Eo(),g=t();if(!j1){var T=t();Be(g,T)||(f("The result of getSnapshot should be cached to avoid an infinite loop"),j1=!0)}var E=m.memoizedState,I=!Be(E,g);I&&(m.memoizedState=g,xf());var A=m.queue;if(If(J7.bind(null,u,A,e),[e]),A.getSnapshot!==t||I||ta!==null&&ta.memoizedState.tag&Xn){u.flags|=Jt,Ef(Xn|Ra,X7.bind(null,u,A,g,t),void 0,null);var M=vh();if(M===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");cc(M,xc)||Z7(u,t,g)}return g}function Z7(e,t,i){e.flags|=ec;var u={getSnapshot:t,value:i},m=jt.updateQueue;if(m===null)m=K7(),jt.updateQueue=m,m.stores=[u];else{var g=m.stores;g===null?m.stores=[u]:g.push(u)}}function X7(e,t,i,u){t.value=i,t.getSnapshot=u,ev(t)&&tv(e)}function J7(e,t,i){var u=function(){ev(t)&&tv(e)};return i(u)}function ev(e){var t=e.getSnapshot,i=e.value;try{var u=t();return!Be(i,u)}catch{return!0}}function tv(e){var t=Fr(e,Ke);t!==null&&oa(t,e,Ke,Wt)}function j3(e){var t=Ds();typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e;var i={pending:null,interleaved:null,lanes:he,dispatch:null,lastRenderedReducer:x4,lastRenderedState:e};t.queue=i;var u=i.dispatch=FN.bind(null,jt,i);return[t.memoizedState,u]}function F4(e){return M4(x4)}function V4(e){return D4(x4)}function Ef(e,t,i,u){var m={tag:e,create:t,destroy:i,deps:u,next:null},g=jt.updateQueue;if(g===null)g=K7(),jt.updateQueue=g,g.lastEffect=m.next=m;else{var T=g.lastEffect;if(T===null)g.lastEffect=m.next=m;else{var E=T.next;T.next=m,m.next=E,g.lastEffect=m}}return m}function B4(e){var t=Ds();{var i={current:e};return t.memoizedState=i,i}}function $3(e){var t=Eo();return t.memoizedState}function _f(e,t,i,u){var m=Ds(),g=u===void 0?null:u;jt.flags|=e,m.memoizedState=Ef(Xn|t,i,void 0,g)}function z3(e,t,i,u){var m=Eo(),g=u===void 0?null:u,T=void 0;if(ea!==null){var E=ea.memoizedState;if(T=E.destroy,g!==null){var I=E.deps;if(A4(g,I)){m.memoizedState=Ef(t,i,T,g);return}}}jt.flags|=e,m.memoizedState=Ef(Xn|t,i,T,g)}function H3(e,t){return(jt.mode&ur)!==Ge?_f(pi|Jt|Ss,Ra,e,t):_f(Jt|Ss,Ra,e,t)}function If(e,t){return z3(Jt,Ra,e,t)}function j4(e,t){return _f(ht,Ms,e,t)}function G3(e,t){return z3(ht,Ms,e,t)}function $4(e,t){var i=ht;return i|=za,(jt.mode&ur)!==Ge&&(i|=Ha),_f(i,Jn,e,t)}function q3(e,t){return z3(ht,Jn,e,t)}function nv(e,t){if(typeof t=="function"){var i=t,u=e();return i(u),function(){i(null)}}else if(t!=null){var m=t;m.hasOwnProperty("current")||f("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(m).join(", ")+"}");var g=e();return m.current=g,function(){m.current=null}}}function z4(e,t,i){typeof t!="function"&&f("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,m=ht;return m|=za,(jt.mode&ur)!==Ge&&(m|=Ha),_f(m,Jn,nv.bind(null,t,e),u)}function W3(e,t,i){typeof t!="function"&&f("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 z3(ht,Jn,nv.bind(null,t,e),u)}function PN(e,t){}var Q3=PN;function H4(e,t){var i=Ds(),u=t===void 0?null:t;return i.memoizedState=[e,u],e}function Y3(e,t){var i=Eo(),u=t===void 0?null:t,m=i.memoizedState;if(m!==null&&u!==null){var g=m[1];if(A4(u,g))return m[0]}return i.memoizedState=[e,u],e}function G4(e,t){var i=Ds(),u=t===void 0?null:t,m=e();return i.memoizedState=[m,u],m}function K3(e,t){var i=Eo(),u=t===void 0?null:t,m=i.memoizedState;if(m!==null&&u!==null){var g=m[1];if(A4(u,g))return m[0]}var T=e();return i.memoizedState=[T,u],T}function q4(e){var t=Ds();return t.memoizedState=e,e}function av(e){var t=Eo(),i=ea,u=i.memoizedState;return ov(t,u,e)}function rv(e){var t=Eo();if(ea===null)return t.memoizedState=e,e;var i=ea.memoizedState;return ov(t,i,e)}function ov(e,t,i){var u=!Ip(xc);if(u){if(!Be(i,t)){var m=Op();jt.lanes=pt(jt.lanes,m),Hf(m),e.baseState=!0}return t}else return e.baseState&&(e.baseState=!1,xf()),e.memoizedState=i,i}function MN(e,t,i){var u=xr();An(ya(u,Zn)),e(!0);var m=Sf.transition;Sf.transition={};var g=Sf.transition;Sf.transition._updatedFibers=new Set;try{e(!1),t()}finally{if(An(u),Sf.transition=m,m===null&&g._updatedFibers){var T=g._updatedFibers.size;T>10&&p("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."),g._updatedFibers.clear()}}}function W4(){var e=j3(!1),t=e[0],i=e[1],u=MN.bind(null,i),m=Ds();return m.memoizedState=u,[t,u]}function sv(){var e=F4(),t=e[0],i=Eo(),u=i.memoizedState;return[t,u]}function iv(){var e=V4(),t=e[0],i=Eo(),u=i.memoizedState;return[t,u]}var lv=!1;function DN(){return lv}function Q4(){var e=Ds(),t=vh(),i=t.identifierPrefix,u;if(Na()){var m=JI();u=":"+i+"R"+m;var g=Cf++;g>0&&(u+="H"+g.toString(32)),u+=":"}else{var T=LN++;u=":"+i+"r"+T.toString(32)+":"}return e.memoizedState=u,u}function Z3(){var e=Eo(),t=e.memoizedState;return t}function UN(e,t,i){typeof arguments[3]=="function"&&f("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=mu(e),m={lane:u,action:i,hasEagerState:!1,eagerState:null,next:null};if(uv(e))cv(t,m);else{var g=F7(e,t,m,u);if(g!==null){var T=pr();oa(g,e,u,T),dv(g,t,u)}}mv(e,u)}function FN(e,t,i){typeof arguments[3]=="function"&&f("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=mu(e),m={lane:u,action:i,hasEagerState:!1,eagerState:null,next:null};if(uv(e))cv(t,m);else{var g=e.alternate;if(e.lanes===he&&(g===null||g.lanes===he)){var T=t.lastRenderedReducer;if(T!==null){var E;E=Ae.current,Ae.current=ns;try{var I=t.lastRenderedState,A=T(I,i);if(m.hasEagerState=!0,m.eagerState=A,Be(A,I)){SN(e,t,m,u);return}}catch{}finally{Ae.current=E}}}var M=F7(e,t,m,u);if(M!==null){var q=pr();oa(M,e,u,q),dv(M,t,u)}}mv(e,u)}function uv(e){var t=e.alternate;return e===jt||t!==null&&t===jt}function cv(e,t){wf=V3=!0;var i=e.pending;i===null?t.next=t:(t.next=i.next,i.next=t),e.pending=t}function dv(e,t,i){if(Nm(i)){var u=t.lanes;u=r1(u,e.pendingLanes);var m=pt(u,i);t.lanes=m,Fl(e,m)}}function mv(e,t,i){rc(e,t)}var X3={readContext:qn,useCallback:Ja,useContext:Ja,useEffect:Ja,useImperativeHandle:Ja,useInsertionEffect:Ja,useLayoutEffect:Ja,useMemo:Ja,useReducer:Ja,useRef:Ja,useState:Ja,useDebugValue:Ja,useDeferredValue:Ja,useTransition:Ja,useMutableSource:Ja,useSyncExternalStore:Ja,useId:Ja,unstable_isNewReconciler:Se},fv=null,pv=null,hv=null,gv=null,Us=null,ns=null,J3=null;{var Y4=function(){f("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().")},ct=function(){f("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")};fv={readContext:function(e){return qn(e)},useCallback:function(e,t){return ce="useCallback",Dt(),$1(t),H4(e,t)},useContext:function(e){return ce="useContext",Dt(),qn(e)},useEffect:function(e,t){return ce="useEffect",Dt(),$1(t),H3(e,t)},useImperativeHandle:function(e,t,i){return ce="useImperativeHandle",Dt(),$1(i),z4(e,t,i)},useInsertionEffect:function(e,t){return ce="useInsertionEffect",Dt(),$1(t),j4(e,t)},useLayoutEffect:function(e,t){return ce="useLayoutEffect",Dt(),$1(t),$4(e,t)},useMemo:function(e,t){ce="useMemo",Dt(),$1(t);var i=Ae.current;Ae.current=Us;try{return G4(e,t)}finally{Ae.current=i}},useReducer:function(e,t,i){ce="useReducer",Dt();var u=Ae.current;Ae.current=Us;try{return P4(e,t,i)}finally{Ae.current=u}},useRef:function(e){return ce="useRef",Dt(),B4(e)},useState:function(e){ce="useState",Dt();var t=Ae.current;Ae.current=Us;try{return j3(e)}finally{Ae.current=t}},useDebugValue:function(e,t){return ce="useDebugValue",Dt(),void 0},useDeferredValue:function(e){return ce="useDeferredValue",Dt(),q4(e)},useTransition:function(){return ce="useTransition",Dt(),W4()},useMutableSource:function(e,t,i){return ce="useMutableSource",Dt(),void 0},useSyncExternalStore:function(e,t,i){return ce="useSyncExternalStore",Dt(),U4(e,t,i)},useId:function(){return ce="useId",Dt(),Q4()},unstable_isNewReconciler:Se},pv={readContext:function(e){return qn(e)},useCallback:function(e,t){return ce="useCallback",_e(),H4(e,t)},useContext:function(e){return ce="useContext",_e(),qn(e)},useEffect:function(e,t){return ce="useEffect",_e(),H3(e,t)},useImperativeHandle:function(e,t,i){return ce="useImperativeHandle",_e(),z4(e,t,i)},useInsertionEffect:function(e,t){return ce="useInsertionEffect",_e(),j4(e,t)},useLayoutEffect:function(e,t){return ce="useLayoutEffect",_e(),$4(e,t)},useMemo:function(e,t){ce="useMemo",_e();var i=Ae.current;Ae.current=Us;try{return G4(e,t)}finally{Ae.current=i}},useReducer:function(e,t,i){ce="useReducer",_e();var u=Ae.current;Ae.current=Us;try{return P4(e,t,i)}finally{Ae.current=u}},useRef:function(e){return ce="useRef",_e(),B4(e)},useState:function(e){ce="useState",_e();var t=Ae.current;Ae.current=Us;try{return j3(e)}finally{Ae.current=t}},useDebugValue:function(e,t){return ce="useDebugValue",_e(),void 0},useDeferredValue:function(e){return ce="useDeferredValue",_e(),q4(e)},useTransition:function(){return ce="useTransition",_e(),W4()},useMutableSource:function(e,t,i){return ce="useMutableSource",_e(),void 0},useSyncExternalStore:function(e,t,i){return ce="useSyncExternalStore",_e(),U4(e,t,i)},useId:function(){return ce="useId",_e(),Q4()},unstable_isNewReconciler:Se},hv={readContext:function(e){return qn(e)},useCallback:function(e,t){return ce="useCallback",_e(),Y3(e,t)},useContext:function(e){return ce="useContext",_e(),qn(e)},useEffect:function(e,t){return ce="useEffect",_e(),If(e,t)},useImperativeHandle:function(e,t,i){return ce="useImperativeHandle",_e(),W3(e,t,i)},useInsertionEffect:function(e,t){return ce="useInsertionEffect",_e(),G3(e,t)},useLayoutEffect:function(e,t){return ce="useLayoutEffect",_e(),q3(e,t)},useMemo:function(e,t){ce="useMemo",_e();var i=Ae.current;Ae.current=ns;try{return K3(e,t)}finally{Ae.current=i}},useReducer:function(e,t,i){ce="useReducer",_e();var u=Ae.current;Ae.current=ns;try{return M4(e,t,i)}finally{Ae.current=u}},useRef:function(e){return ce="useRef",_e(),$3()},useState:function(e){ce="useState",_e();var t=Ae.current;Ae.current=ns;try{return F4(e)}finally{Ae.current=t}},useDebugValue:function(e,t){return ce="useDebugValue",_e(),Q3()},useDeferredValue:function(e){return ce="useDeferredValue",_e(),av(e)},useTransition:function(){return ce="useTransition",_e(),sv()},useMutableSource:function(e,t,i){return ce="useMutableSource",_e(),void 0},useSyncExternalStore:function(e,t,i){return ce="useSyncExternalStore",_e(),B3(e,t)},useId:function(){return ce="useId",_e(),Z3()},unstable_isNewReconciler:Se},gv={readContext:function(e){return qn(e)},useCallback:function(e,t){return ce="useCallback",_e(),Y3(e,t)},useContext:function(e){return ce="useContext",_e(),qn(e)},useEffect:function(e,t){return ce="useEffect",_e(),If(e,t)},useImperativeHandle:function(e,t,i){return ce="useImperativeHandle",_e(),W3(e,t,i)},useInsertionEffect:function(e,t){return ce="useInsertionEffect",_e(),G3(e,t)},useLayoutEffect:function(e,t){return ce="useLayoutEffect",_e(),q3(e,t)},useMemo:function(e,t){ce="useMemo",_e();var i=Ae.current;Ae.current=J3;try{return K3(e,t)}finally{Ae.current=i}},useReducer:function(e,t,i){ce="useReducer",_e();var u=Ae.current;Ae.current=J3;try{return D4(e,t,i)}finally{Ae.current=u}},useRef:function(e){return ce="useRef",_e(),$3()},useState:function(e){ce="useState",_e();var t=Ae.current;Ae.current=J3;try{return V4(e)}finally{Ae.current=t}},useDebugValue:function(e,t){return ce="useDebugValue",_e(),Q3()},useDeferredValue:function(e){return ce="useDeferredValue",_e(),rv(e)},useTransition:function(){return ce="useTransition",_e(),iv()},useMutableSource:function(e,t,i){return ce="useMutableSource",_e(),void 0},useSyncExternalStore:function(e,t,i){return ce="useSyncExternalStore",_e(),B3(e,t)},useId:function(){return ce="useId",_e(),Z3()},unstable_isNewReconciler:Se},Us={readContext:function(e){return Y4(),qn(e)},useCallback:function(e,t){return ce="useCallback",ct(),Dt(),H4(e,t)},useContext:function(e){return ce="useContext",ct(),Dt(),qn(e)},useEffect:function(e,t){return ce="useEffect",ct(),Dt(),H3(e,t)},useImperativeHandle:function(e,t,i){return ce="useImperativeHandle",ct(),Dt(),z4(e,t,i)},useInsertionEffect:function(e,t){return ce="useInsertionEffect",ct(),Dt(),j4(e,t)},useLayoutEffect:function(e,t){return ce="useLayoutEffect",ct(),Dt(),$4(e,t)},useMemo:function(e,t){ce="useMemo",ct(),Dt();var i=Ae.current;Ae.current=Us;try{return G4(e,t)}finally{Ae.current=i}},useReducer:function(e,t,i){ce="useReducer",ct(),Dt();var u=Ae.current;Ae.current=Us;try{return P4(e,t,i)}finally{Ae.current=u}},useRef:function(e){return ce="useRef",ct(),Dt(),B4(e)},useState:function(e){ce="useState",ct(),Dt();var t=Ae.current;Ae.current=Us;try{return j3(e)}finally{Ae.current=t}},useDebugValue:function(e,t){return ce="useDebugValue",ct(),Dt(),void 0},useDeferredValue:function(e){return ce="useDeferredValue",ct(),Dt(),q4(e)},useTransition:function(){return ce="useTransition",ct(),Dt(),W4()},useMutableSource:function(e,t,i){return ce="useMutableSource",ct(),Dt(),void 0},useSyncExternalStore:function(e,t,i){return ce="useSyncExternalStore",ct(),Dt(),U4(e,t,i)},useId:function(){return ce="useId",ct(),Dt(),Q4()},unstable_isNewReconciler:Se},ns={readContext:function(e){return Y4(),qn(e)},useCallback:function(e,t){return ce="useCallback",ct(),_e(),Y3(e,t)},useContext:function(e){return ce="useContext",ct(),_e(),qn(e)},useEffect:function(e,t){return ce="useEffect",ct(),_e(),If(e,t)},useImperativeHandle:function(e,t,i){return ce="useImperativeHandle",ct(),_e(),W3(e,t,i)},useInsertionEffect:function(e,t){return ce="useInsertionEffect",ct(),_e(),G3(e,t)},useLayoutEffect:function(e,t){return ce="useLayoutEffect",ct(),_e(),q3(e,t)},useMemo:function(e,t){ce="useMemo",ct(),_e();var i=Ae.current;Ae.current=ns;try{return K3(e,t)}finally{Ae.current=i}},useReducer:function(e,t,i){ce="useReducer",ct(),_e();var u=Ae.current;Ae.current=ns;try{return M4(e,t,i)}finally{Ae.current=u}},useRef:function(e){return ce="useRef",ct(),_e(),$3()},useState:function(e){ce="useState",ct(),_e();var t=Ae.current;Ae.current=ns;try{return F4(e)}finally{Ae.current=t}},useDebugValue:function(e,t){return ce="useDebugValue",ct(),_e(),Q3()},useDeferredValue:function(e){return ce="useDeferredValue",ct(),_e(),av(e)},useTransition:function(){return ce="useTransition",ct(),_e(),sv()},useMutableSource:function(e,t,i){return ce="useMutableSource",ct(),_e(),void 0},useSyncExternalStore:function(e,t,i){return ce="useSyncExternalStore",ct(),_e(),B3(e,t)},useId:function(){return ce="useId",ct(),_e(),Z3()},unstable_isNewReconciler:Se},J3={readContext:function(e){return Y4(),qn(e)},useCallback:function(e,t){return ce="useCallback",ct(),_e(),Y3(e,t)},useContext:function(e){return ce="useContext",ct(),_e(),qn(e)},useEffect:function(e,t){return ce="useEffect",ct(),_e(),If(e,t)},useImperativeHandle:function(e,t,i){return ce="useImperativeHandle",ct(),_e(),W3(e,t,i)},useInsertionEffect:function(e,t){return ce="useInsertionEffect",ct(),_e(),G3(e,t)},useLayoutEffect:function(e,t){return ce="useLayoutEffect",ct(),_e(),q3(e,t)},useMemo:function(e,t){ce="useMemo",ct(),_e();var i=Ae.current;Ae.current=ns;try{return K3(e,t)}finally{Ae.current=i}},useReducer:function(e,t,i){ce="useReducer",ct(),_e();var u=Ae.current;Ae.current=ns;try{return D4(e,t,i)}finally{Ae.current=u}},useRef:function(e){return ce="useRef",ct(),_e(),$3()},useState:function(e){ce="useState",ct(),_e();var t=Ae.current;Ae.current=ns;try{return V4(e)}finally{Ae.current=t}},useDebugValue:function(e,t){return ce="useDebugValue",ct(),_e(),Q3()},useDeferredValue:function(e){return ce="useDeferredValue",ct(),_e(),rv(e)},useTransition:function(){return ce="useTransition",ct(),_e(),iv()},useMutableSource:function(e,t,i){return ce="useMutableSource",ct(),_e(),void 0},useSyncExternalStore:function(e,t,i){return ce="useSyncExternalStore",ct(),_e(),B3(e,t)},useId:function(){return ce="useId",ct(),_e(),Z3()},unstable_isNewReconciler:Se}}var lu=a.unstable_now,yv=0,eh=-1,Nf=-1,th=-1,K4=!1,nh=!1;function vv(){return K4}function VN(){nh=!0}function BN(){K4=!1,nh=!1}function jN(){K4=nh,nh=!1}function Tv(){return yv}function bv(){yv=lu()}function Z4(e){Nf=lu(),e.actualStartTime<0&&(e.actualStartTime=lu())}function kv(e){Nf=-1}function ah(e,t){if(Nf>=0){var i=lu()-Nf;e.actualDuration+=i,t&&(e.selfBaseDuration=i),Nf=-1}}function Fs(e){if(eh>=0){var t=lu()-eh;eh=-1;for(var i=e.return;i!==null;){switch(i.tag){case N:var u=i.stateNode;u.effectDuration+=t;return;case re:var m=i.stateNode;m.effectDuration+=t;return}i=i.return}}}function X4(e){if(th>=0){var t=lu()-th;th=-1;for(var i=e.return;i!==null;){switch(i.tag){case N:var u=i.stateNode;u!==null&&(u.passiveEffectDuration+=t);return;case re:var m=i.stateNode;m!==null&&(m.passiveEffectDuration+=t);return}i=i.return}}}function Vs(){eh=lu()}function J4(){th=lu()}function eg(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function as(e,t){if(e&&e.defaultProps){var i=Ct({},t),u=e.defaultProps;for(var m in u)i[m]===void 0&&(i[m]=u[m]);return i}return t}var tg={},ng,ag,rg,og,sg,Sv,rh,ig,lg,ug,Rf;{ng=new Set,ag=new Set,rg=new Set,og=new Set,ig=new Set,sg=new Set,lg=new Set,ug=new Set,Rf=new Set;var wv=new Set;rh=function(e,t){if(!(e===null||typeof e=="function")){var i=t+"_"+e;wv.has(i)||(wv.add(i),f("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e))}},Sv=function(e,t){if(t===void 0){var i=Vt(e)||"Component";sg.has(i)||(sg.add(i),f("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",i))}},Object.defineProperty(tg,"_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(tg)}function cg(e,t,i,u){var m=e.memoizedState,g=i(u,m);{if(e.mode&bt){Sn(!0);try{g=i(u,m)}finally{Sn(!1)}}Sv(t,g)}var T=g==null?m:Ct({},m,g);if(e.memoizedState=T,e.lanes===he){var E=e.updateQueue;E.baseState=T}}var dg={isMounted:ir,enqueueSetState:function(e,t,i){var u=Er(e),m=pr(),g=mu(u),T=Vi(m,g);T.payload=t,i!=null&&(rh(i,"setState"),T.callback=i);var E=ru(u,T,g);E!==null&&(oa(E,u,g,m),x3(E,u,g)),rc(u,g)},enqueueReplaceState:function(e,t,i){var u=Er(e),m=pr(),g=mu(u),T=Vi(m,g);T.tag=B7,T.payload=t,i!=null&&(rh(i,"replaceState"),T.callback=i);var E=ru(u,T,g);E!==null&&(oa(E,u,g,m),x3(E,u,g)),rc(u,g)},enqueueForceUpdate:function(e,t){var i=Er(e),u=pr(),m=mu(i),g=Vi(u,m);g.tag=O3,t!=null&&(rh(t,"forceUpdate"),g.callback=t);var T=ru(i,g,m);T!==null&&(oa(T,i,m,u),x3(T,i,m)),jd(i,m)}};function Cv(e,t,i,u,m,g,T){var E=e.stateNode;if(typeof E.shouldComponentUpdate=="function"){var I=E.shouldComponentUpdate(u,g,T);{if(e.mode&bt){Sn(!0);try{I=E.shouldComponentUpdate(u,g,T)}finally{Sn(!1)}}I===void 0&&f("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",Vt(t)||"Component")}return I}return t.prototype&&t.prototype.isPureReactComponent?!Ze(i,u)||!Ze(m,g):!0}function $N(e,t,i){var u=e.stateNode;{var m=Vt(t)||"Component",g=u.render;g||(t.prototype&&typeof t.prototype.render=="function"?f("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",m):f("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",m)),u.getInitialState&&!u.getInitialState.isReactClassApproved&&!u.state&&f("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?",m),u.getDefaultProps&&!u.getDefaultProps.isReactClassApproved&&f("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.",m),u.propTypes&&f("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",m),u.contextType&&f("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",m),t.childContextTypes&&!Rf.has(t)&&(e.mode&bt)===Ge&&(Rf.add(t),f(`%s uses the legacy childContextTypes API which is no longer supported and will be removed in the next major release. Use React.createContext() instead
125
+
126
+ .Learn more about this warning here: https://reactjs.org/link/legacy-context`,m)),t.contextTypes&&!Rf.has(t)&&(e.mode&bt)===Ge&&(Rf.add(t),f(`%s uses the legacy contextTypes API which is no longer supported and will be removed in the next major release. Use React.createContext() with static contextType instead.
127
+
128
+ Learn more about this warning here: https://reactjs.org/link/legacy-context`,m)),u.contextTypes&&f("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",m),t.contextType&&t.contextTypes&&!lg.has(t)&&(lg.add(t),f("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",m)),typeof u.componentShouldUpdate=="function"&&f("%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.",m),t.prototype&&t.prototype.isPureReactComponent&&typeof u.shouldComponentUpdate<"u"&&f("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",Vt(t)||"A pure component"),typeof u.componentDidUnmount=="function"&&f("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",m),typeof u.componentDidReceiveProps=="function"&&f("%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().",m),typeof u.componentWillRecieveProps=="function"&&f("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",m),typeof u.UNSAFE_componentWillRecieveProps=="function"&&f("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",m);var T=u.props!==i;u.props!==void 0&&T&&f("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",m,m),u.defaultProps&&f("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",m,m),typeof u.getSnapshotBeforeUpdate=="function"&&typeof u.componentDidUpdate!="function"&&!rg.has(t)&&(rg.add(t),f("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",Vt(t))),typeof u.getDerivedStateFromProps=="function"&&f("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",m),typeof u.getDerivedStateFromError=="function"&&f("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",m),typeof t.getSnapshotBeforeUpdate=="function"&&f("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",m);var E=u.state;E&&(typeof E!="object"||Bn(E))&&f("%s.state: must be set to an object or null",m),typeof u.getChildContext=="function"&&typeof t.childContextTypes!="object"&&f("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",m)}}function Ev(e,t){t.updater=dg,e.stateNode=t,wl(t,e),t._reactInternalInstance=tg}function _v(e,t,i){var u=!1,m=ro,g=ro,T=t.contextType;if("contextType"in t){var E=T===null||T!==void 0&&T.$$typeof===x0&&T._context===void 0;if(!E&&!ug.has(t)){ug.add(t);var I="";T===void 0?I=" 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 T!="object"?I=" However, it is set to a "+typeof T+".":T.$$typeof===A0?I=" Did you accidentally pass the Context.Provider instead?":T._context!==void 0?I=" Did you accidentally pass the Context.Consumer instead?":I=" However, it is set to an object with keys {"+Object.keys(T).join(", ")+"}.",f("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",Vt(t)||"Component",I)}}if(typeof T=="object"&&T!==null)g=qn(T);else{m=O1(e,t,!0);var A=t.contextTypes;u=A!=null,g=u?L1(e,m):ro}var M=new t(i,g);if(e.mode&bt){Sn(!0);try{M=new t(i,g)}finally{Sn(!1)}}var q=e.memoizedState=M.state!==null&&M.state!==void 0?M.state:null;Ev(e,M);{if(typeof t.getDerivedStateFromProps=="function"&&q===null){var H=Vt(t)||"Component";ag.has(H)||(ag.add(H),f("`%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,M.state===null?"null":"undefined",H))}if(typeof t.getDerivedStateFromProps=="function"||typeof M.getSnapshotBeforeUpdate=="function"){var ee=null,ae=null,le=null;if(typeof M.componentWillMount=="function"&&M.componentWillMount.__suppressDeprecationWarning!==!0?ee="componentWillMount":typeof M.UNSAFE_componentWillMount=="function"&&(ee="UNSAFE_componentWillMount"),typeof M.componentWillReceiveProps=="function"&&M.componentWillReceiveProps.__suppressDeprecationWarning!==!0?ae="componentWillReceiveProps":typeof M.UNSAFE_componentWillReceiveProps=="function"&&(ae="UNSAFE_componentWillReceiveProps"),typeof M.componentWillUpdate=="function"&&M.componentWillUpdate.__suppressDeprecationWarning!==!0?le="componentWillUpdate":typeof M.UNSAFE_componentWillUpdate=="function"&&(le="UNSAFE_componentWillUpdate"),ee!==null||ae!==null||le!==null){var Ie=Vt(t)||"Component",Qe=typeof t.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";og.has(Ie)||(og.add(Ie),f(`Unsafe legacy lifecycles will not be called for components using new component APIs.
129
+
130
+ %s uses %s but also contains the following legacy lifecycles:%s%s%s
131
+
132
+ The above lifecycles should be removed. Learn more about this warning here:
133
+ https://reactjs.org/link/unsafe-component-lifecycles`,Ie,Qe,ee!==null?`
134
+ `+ee:"",ae!==null?`
135
+ `+ae:"",le!==null?`
136
+ `+le:""))}}}return u&&h7(e,m,g),M}function zN(e,t){var i=t.state;typeof t.componentWillMount=="function"&&t.componentWillMount(),typeof t.UNSAFE_componentWillMount=="function"&&t.UNSAFE_componentWillMount(),i!==t.state&&(f("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",ft(e)||"Component"),dg.enqueueReplaceState(t,t.state,null))}function Iv(e,t,i,u){var m=t.state;if(typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(i,u),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(i,u),t.state!==m){{var g=ft(e)||"Component";ng.has(g)||(ng.add(g),f("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",g))}dg.enqueueReplaceState(t,t.state,null)}}function mg(e,t,i,u){$N(e,t,i);var m=e.stateNode;m.props=i,m.state=e.memoizedState,m.refs={},k4(e);var g=t.contextType;if(typeof g=="object"&&g!==null)m.context=qn(g);else{var T=O1(e,t,!0);m.context=L1(e,T)}{if(m.state===i){var E=Vt(t)||"Component";ig.has(E)||(ig.add(E),f("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",E))}e.mode&bt&&es.recordLegacyContextWarning(e,m),es.recordUnsafeLifecycleWarnings(e,m)}m.state=e.memoizedState;var I=t.getDerivedStateFromProps;if(typeof I=="function"&&(cg(e,t,I,i),m.state=e.memoizedState),typeof t.getDerivedStateFromProps!="function"&&typeof m.getSnapshotBeforeUpdate!="function"&&(typeof m.UNSAFE_componentWillMount=="function"||typeof m.componentWillMount=="function")&&(zN(e,m),P3(e,i,m,u),m.state=e.memoizedState),typeof m.componentDidMount=="function"){var A=ht;A|=za,(e.mode&ur)!==Ge&&(A|=Ha),e.flags|=A}}function HN(e,t,i,u){var m=e.stateNode,g=e.memoizedProps;m.props=g;var T=m.context,E=t.contextType,I=ro;if(typeof E=="object"&&E!==null)I=qn(E);else{var A=O1(e,t,!0);I=L1(e,A)}var M=t.getDerivedStateFromProps,q=typeof M=="function"||typeof m.getSnapshotBeforeUpdate=="function";!q&&(typeof m.UNSAFE_componentWillReceiveProps=="function"||typeof m.componentWillReceiveProps=="function")&&(g!==i||T!==I)&&Iv(e,m,i,I),$7();var H=e.memoizedState,ee=m.state=H;if(P3(e,i,m,u),ee=e.memoizedState,g===i&&H===ee&&!h3()&&!M3()){if(typeof m.componentDidMount=="function"){var ae=ht;ae|=za,(e.mode&ur)!==Ge&&(ae|=Ha),e.flags|=ae}return!1}typeof M=="function"&&(cg(e,t,M,i),ee=e.memoizedState);var le=M3()||Cv(e,t,g,i,H,ee,I);if(le){if(!q&&(typeof m.UNSAFE_componentWillMount=="function"||typeof m.componentWillMount=="function")&&(typeof m.componentWillMount=="function"&&m.componentWillMount(),typeof m.UNSAFE_componentWillMount=="function"&&m.UNSAFE_componentWillMount()),typeof m.componentDidMount=="function"){var Ie=ht;Ie|=za,(e.mode&ur)!==Ge&&(Ie|=Ha),e.flags|=Ie}}else{if(typeof m.componentDidMount=="function"){var Qe=ht;Qe|=za,(e.mode&ur)!==Ge&&(Qe|=Ha),e.flags|=Qe}e.memoizedProps=i,e.memoizedState=ee}return m.props=i,m.state=ee,m.context=I,le}function GN(e,t,i,u,m){var g=t.stateNode;j7(e,t);var T=t.memoizedProps,E=t.type===t.elementType?T:as(t.type,T);g.props=E;var I=t.pendingProps,A=g.context,M=i.contextType,q=ro;if(typeof M=="object"&&M!==null)q=qn(M);else{var H=O1(t,i,!0);q=L1(t,H)}var ee=i.getDerivedStateFromProps,ae=typeof ee=="function"||typeof g.getSnapshotBeforeUpdate=="function";!ae&&(typeof g.UNSAFE_componentWillReceiveProps=="function"||typeof g.componentWillReceiveProps=="function")&&(T!==I||A!==q)&&Iv(t,g,u,q),$7();var le=t.memoizedState,Ie=g.state=le;if(P3(t,u,g,m),Ie=t.memoizedState,T===I&&le===Ie&&!h3()&&!M3()&&!Me)return typeof g.componentDidUpdate=="function"&&(T!==e.memoizedProps||le!==e.memoizedState)&&(t.flags|=ht),typeof g.getSnapshotBeforeUpdate=="function"&&(T!==e.memoizedProps||le!==e.memoizedState)&&(t.flags|=_r),!1;typeof ee=="function"&&(cg(t,i,ee,u),Ie=t.memoizedState);var Qe=M3()||Cv(t,i,E,u,le,Ie,q)||Me;return Qe?(!ae&&(typeof g.UNSAFE_componentWillUpdate=="function"||typeof g.componentWillUpdate=="function")&&(typeof g.componentWillUpdate=="function"&&g.componentWillUpdate(u,Ie,q),typeof g.UNSAFE_componentWillUpdate=="function"&&g.UNSAFE_componentWillUpdate(u,Ie,q)),typeof g.componentDidUpdate=="function"&&(t.flags|=ht),typeof g.getSnapshotBeforeUpdate=="function"&&(t.flags|=_r)):(typeof g.componentDidUpdate=="function"&&(T!==e.memoizedProps||le!==e.memoizedState)&&(t.flags|=ht),typeof g.getSnapshotBeforeUpdate=="function"&&(T!==e.memoizedProps||le!==e.memoizedState)&&(t.flags|=_r),t.memoizedProps=u,t.memoizedState=Ie),g.props=u,g.state=Ie,g.context=q,Qe}function Pc(e,t){return{value:e,source:t,stack:V0(t),digest:null}}function fg(e,t,i){return{value:e,source:null,stack:i??null,digest:t??null}}function qN(e,t){return!0}function pg(e,t){try{var i=qN(e,t);if(i===!1)return;var u=t.value,m=t.source,g=t.stack,T=g!==null?g:"";if(u!=null&&u._suppressLogging){if(e.tag===C)return;console.error(u)}var E=m?ft(m):null,I=E?"The above error occurred in the <"+E+"> component:":"The above error occurred in one of your React components:",A;if(e.tag===N)A=`Consider adding an error boundary to your tree to customize error handling behavior.
137
+ Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.`;else{var M=ft(e)||"Anonymous";A="React will try to recreate this component tree from scratch "+("using the error boundary you provided, "+M+".")}var q=I+`
138
+ `+T+`
139
+
140
+ `+(""+A);console.error(q)}catch(H){setTimeout(function(){throw H})}}var WN=typeof WeakMap=="function"?WeakMap:Map;function Nv(e,t,i){var u=Vi(Wt,i);u.tag=T4,u.payload={element:null};var m=t.value;return u.callback=function(){VO(m),pg(e,t)},u}function hg(e,t,i){var u=Vi(Wt,i);u.tag=T4;var m=e.type.getDerivedStateFromError;if(typeof m=="function"){var g=t.value;u.payload=function(){return m(g)},u.callback=function(){VT(e),pg(e,t)}}var T=e.stateNode;return T!==null&&typeof T.componentDidCatch=="function"&&(u.callback=function(){VT(e),pg(e,t),typeof m!="function"&&UO(this);var E=t.value,I=t.stack;this.componentDidCatch(E,{componentStack:I!==null?I:""}),typeof m!="function"&&(Ka(e.lanes,Ke)||f("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",ft(e)||"Unknown"))}),u}function Rv(e,t,i){var u=e.pingCache,m;if(u===null?(u=e.pingCache=new WN,m=new Set,u.set(t,m)):(m=u.get(t),m===void 0&&(m=new Set,u.set(t,m))),!m.has(i)){m.add(i);var g=BO.bind(null,e,t,i);lr&&Gf(e,i),t.then(g,g)}}function QN(e,t,i,u){var m=e.updateQueue;if(m===null){var g=new Set;g.add(i),e.updateQueue=g}else m.add(i)}function YN(e,t){var i=e.tag;if((e.mode&qe)===Ge&&(i===b||i===K||i===oe)){var u=e.alternate;u?(e.updateQueue=u.updateQueue,e.memoizedState=u.memoizedState,e.lanes=u.lanes):(e.updateQueue=null,e.memoizedState=null)}}function Ov(e){var t=e;do{if(t.tag===te&&RN(t))return t;t=t.return}while(t!==null);return null}function Lv(e,t,i,u,m){if((e.mode&qe)===Ge){if(e===t)e.flags|=$n;else{if(e.flags|=rt,i.flags|=tc,i.flags&=~(Rd|or),i.tag===C){var g=i.alternate;if(g===null)i.tag=de;else{var T=Vi(Wt,Ke);T.tag=O3,ru(i,T,Ke)}}i.lanes=pt(i.lanes,Ke)}return e}return e.flags|=$n,e.lanes=m,e}function KN(e,t,i,u,m){if(i.flags|=or,lr&&Gf(e,m),u!==null&&typeof u=="object"&&typeof u.then=="function"){var g=u;YN(i),Na()&&i.mode&qe&&S7();var T=Ov(t);if(T!==null){T.flags&=~dn,Lv(T,t,i,e,m),T.mode&qe&&Rv(e,g,m),QN(T,e,g);return}else{if(!Im(m)){Rv(e,g,m),Qg();return}var E=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=E}}else if(Na()&&i.mode&qe){S7();var I=Ov(t);if(I!==null){(I.flags&$n)===Xe&&(I.flags|=dn),Lv(I,t,i,e,m),i4(Pc(u,i));return}}u=Pc(u,i),RO(u);var A=t;do{switch(A.tag){case N:{var M=u;A.flags|=$n;var q=Ul(m);A.lanes=pt(A.lanes,q);var H=Nv(A,M,q);S4(A,H);return}case C:var ee=u,ae=A.type,le=A.stateNode;if((A.flags&rt)===Xe&&(typeof ae.getDerivedStateFromError=="function"||le!==null&&typeof le.componentDidCatch=="function"&&!OT(le))){A.flags|=$n;var Ie=Ul(m);A.lanes=pt(A.lanes,Ie);var Qe=hg(A,ee,Ie);S4(A,Qe);return}break}A=A.return}while(A!==null)}function ZN(){return null}var Of=o.ReactCurrentOwner,rs=!1,gg,Lf,yg,vg,Tg,Mc,bg,oh,Af;gg={},Lf={},yg={},vg={},Tg={},Mc=!1,bg={},oh={},Af={};function mr(e,t,i,u){e===null?t.child=P7(t,null,i,u):t.child=M1(t,e.child,i,u)}function XN(e,t,i,u){t.child=M1(t,e.child,null,u),t.child=M1(t,null,i,u)}function Av(e,t,i,u,m){if(t.type!==t.elementType){var g=i.propTypes;g&&Xo(g,u,"prop",Vt(i))}var T=i.render,E=t.ref,I,A;U1(t,m),Il(t);{if(Of.current=t,Xr(!0),I=z1(e,t,T,u,E,m),A=H1(),t.mode&bt){Sn(!0);try{I=z1(e,t,T,u,E,m),A=H1()}finally{Sn(!1)}}Xr(!1)}return Wa(),e!==null&&!rs?(Q7(e,t,m),Bi(e,t,m)):(Na()&&A&&t4(t),t.flags|=bs,mr(e,t,I,m),t.child)}function xv(e,t,i,u,m){if(e===null){var g=i.type;if(aL(g)&&i.compare===null&&i.defaultProps===void 0){var T=g;return T=X1(g),t.tag=oe,t.type=T,wg(t,g),Pv(e,t,T,u,m)}{var E=g.propTypes;if(E&&Xo(E,u,"prop",Vt(g)),i.defaultProps!==void 0){var I=Vt(g)||"Unknown";Af[I]||(f("%s: Support for defaultProps will be removed from memo components in a future major release. Use JavaScript default parameters instead.",I),Af[I]=!0)}}var A=o5(i.type,null,u,t,t.mode,m);return A.ref=t.ref,A.return=t,t.child=A,A}{var M=i.type,q=M.propTypes;q&&Xo(q,u,"prop",Vt(M))}var H=e.child,ee=Rg(e,m);if(!ee){var ae=H.memoizedProps,le=i.compare;if(le=le!==null?le:Ze,le(ae,u)&&e.ref===t.ref)return Bi(e,t,m)}t.flags|=bs;var Ie=Bc(H,u);return Ie.ref=t.ref,Ie.return=t,t.child=Ie,Ie}function Pv(e,t,i,u,m){if(t.type!==t.elementType){var g=t.elementType;if(g.$$typeof===Ea){var T=g,E=T._payload,I=T._init;try{g=I(E)}catch{g=null}var A=g&&g.propTypes;A&&Xo(A,u,"prop",Vt(g))}}if(e!==null){var M=e.memoizedProps;if(Ze(M,u)&&e.ref===t.ref&&t.type===e.type)if(rs=!1,t.pendingProps=u=M,Rg(e,m))(e.flags&tc)!==Xe&&(rs=!0);else return t.lanes=e.lanes,Bi(e,t,m)}return kg(e,t,i,u,m)}function Mv(e,t,i){var u=t.pendingProps,m=u.children,g=e!==null?e.memoizedState:null;if(u.mode==="hidden"||Ce)if((t.mode&qe)===Ge){var T={baseLanes:he,cachePool:null,transitions:null};t.memoizedState=T,Th(t,i)}else if(Ka(i,ha)){var E={baseLanes:he,cachePool:null,transitions:null};t.memoizedState=E;var I=g!==null?g.baseLanes:i;Th(t,I)}else{var A=null,M;if(g!==null){var q=g.baseLanes;M=pt(q,i)}else M=i;t.lanes=t.childLanes=ha;var H={baseLanes:M,cachePool:A,transitions:null};return t.memoizedState=H,t.updateQueue=null,Th(t,M),null}else{var ee;g!==null?(ee=pt(g.baseLanes,i),t.memoizedState=null):ee=i,Th(t,ee)}return mr(e,t,m,i),t.child}function JN(e,t,i){var u=t.pendingProps;return mr(e,t,u,i),t.child}function eR(e,t,i){var u=t.pendingProps.children;return mr(e,t,u,i),t.child}function tR(e,t,i){{t.flags|=ht;{var u=t.stateNode;u.effectDuration=0,u.passiveEffectDuration=0}}var m=t.pendingProps,g=m.children;return mr(e,t,g,i),t.child}function Dv(e,t){var i=t.ref;(e===null&&i!==null||e!==null&&e.ref!==i)&&(t.flags|=$a,t.flags|=pm)}function kg(e,t,i,u,m){if(t.type!==t.elementType){var g=i.propTypes;g&&Xo(g,u,"prop",Vt(i))}var T;{var E=O1(t,i,!0);T=L1(t,E)}var I,A;U1(t,m),Il(t);{if(Of.current=t,Xr(!0),I=z1(e,t,i,u,T,m),A=H1(),t.mode&bt){Sn(!0);try{I=z1(e,t,i,u,T,m),A=H1()}finally{Sn(!1)}}Xr(!1)}return Wa(),e!==null&&!rs?(Q7(e,t,m),Bi(e,t,m)):(Na()&&A&&t4(t),t.flags|=bs,mr(e,t,I,m),t.child)}function Uv(e,t,i,u,m){{switch(vL(t)){case!1:{var g=t.stateNode,T=t.type,E=new T(t.memoizedProps,g.context),I=E.state;g.updater.enqueueSetState(g,I,null);break}case!0:{t.flags|=rt,t.flags|=$n;var A=new Error("Simulated error coming from DevTools"),M=Ul(m);t.lanes=pt(t.lanes,M);var q=hg(t,Pc(A,t),M);S4(t,q);break}}if(t.type!==t.elementType){var H=i.propTypes;H&&Xo(H,u,"prop",Vt(i))}}var ee;Ps(i)?(ee=!0,y3(t)):ee=!1,U1(t,m);var ae=t.stateNode,le;ae===null?(ih(e,t),_v(t,i,u),mg(t,i,u,m),le=!0):e===null?le=HN(t,i,u,m):le=GN(e,t,i,u,m);var Ie=Sg(e,t,i,le,ee,m);{var Qe=t.stateNode;le&&Qe.props!==u&&(Mc||f("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",ft(t)||"a component"),Mc=!0)}return Ie}function Sg(e,t,i,u,m,g){Dv(e,t);var T=(t.flags&rt)!==Xe;if(!u&&!T)return m&&v7(t,i,!1),Bi(e,t,g);var E=t.stateNode;Of.current=t;var I;if(T&&typeof i.getDerivedStateFromError!="function")I=null,kv();else{Il(t);{if(Xr(!0),I=E.render(),t.mode&bt){Sn(!0);try{E.render()}finally{Sn(!1)}}Xr(!1)}Wa()}return t.flags|=bs,e!==null&&T?XN(e,t,I,g):mr(e,t,I,g),t.memoizedState=E.state,m&&v7(t,i,!0),t.child}function Fv(e){var t=e.stateNode;t.pendingContext?g7(e,t.pendingContext,t.pendingContext!==t.context):t.context&&g7(e,t.context,!1),w4(e,t.containerInfo)}function nR(e,t,i){if(Fv(t),e===null)throw new Error("Should have a current fiber. This is a bug in React.");var u=t.pendingProps,m=t.memoizedState,g=m.element;j7(e,t),P3(t,u,null,i);var T=t.memoizedState;t.stateNode;var E=T.element;if(m.isDehydrated){var I={element:E,isDehydrated:!1,cache:T.cache,pendingSuspenseBoundaries:T.pendingSuspenseBoundaries,transitions:T.transitions},A=t.updateQueue;if(A.baseState=I,t.memoizedState=I,t.flags&dn){var M=Pc(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 Vv(e,t,E,i,M)}else if(E!==g){var q=Pc(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t);return Vv(e,t,E,i,q)}else{oN(t);var H=P7(t,null,E,i);t.child=H;for(var ee=H;ee;)ee.flags=ee.flags&~Kt|Ir,ee=ee.sibling}}else{if(P1(),E===g)return Bi(e,t,i);mr(e,t,E,i)}return t.child}function Vv(e,t,i,u,m){return P1(),i4(m),t.flags|=dn,mr(e,t,i,u),t.child}function aR(e,t,i){G7(t),e===null&&s4(t);var u=t.type,m=t.pendingProps,g=e!==null?e.memoizedProps:null,T=m.children,E=j8(u,m);return E?T=null:g!==null&&j8(u,g)&&(t.flags|=Mt),Dv(e,t),mr(e,t,T,i),t.child}function rR(e,t){return e===null&&s4(t),null}function oR(e,t,i,u){ih(e,t);var m=t.pendingProps,g=i,T=g._payload,E=g._init,I=E(T);t.type=I;var A=t.tag=rL(I),M=as(I,m),q;switch(A){case b:return wg(t,I),t.type=I=X1(I),q=kg(null,t,I,M,u),q;case C:return t.type=I=Jg(I),q=Uv(null,t,I,M,u),q;case K:return t.type=I=e5(I),q=Av(null,t,I,M,u),q;case ue:{if(t.type!==t.elementType){var H=I.propTypes;H&&Xo(H,M,"prop",Vt(I))}return q=xv(null,t,I,as(I.type,M),u),q}}var ee="";throw I!==null&&typeof I=="object"&&I.$$typeof===Ea&&(ee=" Did you wrap a component in React.lazy() more than once?"),new Error("Element type is invalid. Received a promise that resolves to: "+I+". "+("Lazy element type must resolve to a class or function."+ee))}function sR(e,t,i,u,m){ih(e,t),t.tag=C;var g;return Ps(i)?(g=!0,y3(t)):g=!1,U1(t,m),_v(t,i,u),mg(t,i,u,m),Sg(null,t,i,!0,g,m)}function iR(e,t,i,u){ih(e,t);var m=t.pendingProps,g;{var T=O1(t,i,!1);g=L1(t,T)}U1(t,u);var E,I;Il(t);{if(i.prototype&&typeof i.prototype.render=="function"){var A=Vt(i)||"Unknown";gg[A]||(f("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.",A,A),gg[A]=!0)}t.mode&bt&&es.recordLegacyContextWarning(t,null),Xr(!0),Of.current=t,E=z1(null,t,i,m,g,u),I=H1(),Xr(!1)}if(Wa(),t.flags|=bs,typeof E=="object"&&E!==null&&typeof E.render=="function"&&E.$$typeof===void 0){var M=Vt(i)||"Unknown";Lf[M]||(f("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.",M,M,M),Lf[M]=!0)}if(typeof E=="object"&&E!==null&&typeof E.render=="function"&&E.$$typeof===void 0){{var q=Vt(i)||"Unknown";Lf[q]||(f("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),Lf[q]=!0)}t.tag=C,t.memoizedState=null,t.updateQueue=null;var H=!1;return Ps(i)?(H=!0,y3(t)):H=!1,t.memoizedState=E.state!==null&&E.state!==void 0?E.state:null,k4(t),Ev(t,E),mg(t,i,m,u),Sg(null,t,i,!0,H,u)}else{if(t.tag=b,t.mode&bt){Sn(!0);try{E=z1(null,t,i,m,g,u),I=H1()}finally{Sn(!1)}}return Na()&&I&&t4(t),mr(null,t,E,u),wg(t,i),t.child}}function wg(e,t){{if(t&&t.childContextTypes&&f("%s(...): childContextTypes cannot be defined on a function component.",t.displayName||t.name||"Component"),e.ref!==null){var i="",u=wr();u&&(i+=`
141
+
142
+ Check the render method of \``+u+"`.");var m=u||"",g=e._debugSource;g&&(m=g.fileName+":"+g.lineNumber),Tg[m]||(Tg[m]=!0,f("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s",i))}if(t.defaultProps!==void 0){var T=Vt(t)||"Unknown";Af[T]||(f("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",T),Af[T]=!0)}if(typeof t.getDerivedStateFromProps=="function"){var E=Vt(t)||"Unknown";vg[E]||(f("%s: Function components do not support getDerivedStateFromProps.",E),vg[E]=!0)}if(typeof t.contextType=="object"&&t.contextType!==null){var I=Vt(t)||"Unknown";yg[I]||(f("%s: Function components do not support contextType.",I),yg[I]=!0)}}}var Cg={dehydrated:null,treeContext:null,retryLane:wn};function Eg(e){return{baseLanes:e,cachePool:ZN(),transitions:null}}function lR(e,t){var i=null;return{baseLanes:pt(e.baseLanes,t),cachePool:i,transitions:e.transitions}}function uR(e,t,i,u){if(t!==null){var m=t.memoizedState;if(m===null)return!1}return _4(e,kf)}function cR(e,t){return dc(e.childLanes,t)}function Bv(e,t,i){var u=t.pendingProps;TL(t)&&(t.flags|=rt);var m=ts.current,g=!1,T=(t.flags&rt)!==Xe;if(T||uR(m,e)?(g=!0,t.flags&=~rt):(e===null||e.memoizedState!==null)&&(m=NN(m,W7)),m=V1(m),su(t,m),e===null){s4(t);var E=t.memoizedState;if(E!==null){var I=E.dehydrated;if(I!==null)return hR(t,I)}var A=u.children,M=u.fallback;if(g){var q=dR(t,A,M,i),H=t.child;return H.memoizedState=Eg(i),t.memoizedState=Cg,q}else return _g(t,A)}else{var ee=e.memoizedState;if(ee!==null){var ae=ee.dehydrated;if(ae!==null)return gR(e,t,T,u,ae,ee,i)}if(g){var le=u.fallback,Ie=u.children,Qe=fR(e,t,Ie,le,i),et=t.child,kt=e.child.memoizedState;return et.memoizedState=kt===null?Eg(i):lR(kt,i),et.childLanes=cR(e,i),t.memoizedState=Cg,Qe}else{var Tt=u.children,Z=mR(e,t,Tt,i);return t.memoizedState=null,Z}}}function _g(e,t,i){var u=e.mode,m={mode:"visible",children:t},g=Ig(m,u);return g.return=e,e.child=g,g}function dR(e,t,i,u){var m=e.mode,g=e.child,T={mode:"hidden",children:t},E,I;return(m&qe)===Ge&&g!==null?(E=g,E.childLanes=he,E.pendingProps=T,e.mode&ot&&(E.actualDuration=0,E.actualStartTime=-1,E.selfBaseDuration=0,E.treeBaseDuration=0),I=pu(i,m,u,null)):(E=Ig(T,m),I=pu(i,m,u,null)),E.return=e,I.return=e,E.sibling=I,e.child=E,I}function Ig(e,t,i){return BT(e,t,he,null)}function jv(e,t){return Bc(e,t)}function mR(e,t,i,u){var m=e.child,g=m.sibling,T=jv(m,{mode:"visible",children:i});if((t.mode&qe)===Ge&&(T.lanes=u),T.return=t,T.sibling=null,g!==null){var E=t.deletions;E===null?(t.deletions=[g],t.flags|=Pt):E.push(g)}return t.child=T,T}function fR(e,t,i,u,m){var g=t.mode,T=e.child,E=T.sibling,I={mode:"hidden",children:i},A;if((g&qe)===Ge&&t.child!==T){var M=t.child;A=M,A.childLanes=he,A.pendingProps=I,t.mode&ot&&(A.actualDuration=0,A.actualStartTime=-1,A.selfBaseDuration=T.selfBaseDuration,A.treeBaseDuration=T.treeBaseDuration),t.deletions=null}else A=jv(T,I),A.subtreeFlags=T.subtreeFlags&Yn;var q;return E!==null?q=Bc(E,u):(q=pu(u,g,m,null),q.flags|=Kt),q.return=t,A.return=t,A.sibling=q,t.child=A,q}function sh(e,t,i,u){u!==null&&i4(u),M1(t,e.child,null,i);var m=t.pendingProps,g=m.children,T=_g(t,g);return T.flags|=Kt,t.memoizedState=null,T}function pR(e,t,i,u,m){var g=t.mode,T={mode:"visible",children:i},E=Ig(T,g),I=pu(u,g,m,null);return I.flags|=Kt,E.return=t,I.return=t,E.sibling=I,t.child=E,(t.mode&qe)!==Ge&&M1(t,e.child,null,m),I}function hR(e,t,i){return(e.mode&qe)===Ge?(f("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=Ke):G8(t)?e.lanes=qo:e.lanes=ha,null}function gR(e,t,i,u,m,g,T){if(i)if(t.flags&dn){t.flags&=~dn;var E=fg(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return sh(e,t,T,E)}else{if(t.memoizedState!==null)return t.child=e.child,t.flags|=rt,null;var I=u.children,A=u.fallback,M=pR(e,t,I,A,T),q=t.child;return q.memoizedState=Eg(T),t.memoizedState=Cg,M}else{if(aN(),(t.mode&qe)===Ge)return sh(e,t,T,null);if(G8(m)){var H,ee,ae;{var le=bI(m);H=le.digest,ee=le.message,ae=le.stack}var Ie;ee?Ie=new Error(ee):Ie=new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.");var Qe=fg(Ie,H,ae);return sh(e,t,T,Qe)}var et=Ka(T,e.childLanes);if(rs||et){var kt=vh();if(kt!==null){var Tt=m8(kt,T);if(Tt!==wn&&Tt!==g.retryLane){g.retryLane=Tt;var Z=Wt;Fr(e,Tt),oa(kt,e,Tt,Z)}}Qg();var ie=fg(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 sh(e,t,T,ie)}else if(c7(m)){t.flags|=rt,t.child=e.child;var X=jO.bind(null,e);return kI(m,X),null}else{sN(t,m,g.treeContext);var be=u.children,xe=_g(t,be);return xe.flags|=Ir,xe}}}function $v(e,t,i){e.lanes=pt(e.lanes,t);var u=e.alternate;u!==null&&(u.lanes=pt(u.lanes,t)),y4(e.return,t,i)}function yR(e,t,i){for(var u=t;u!==null;){if(u.tag===te){var m=u.memoizedState;m!==null&&$v(u,i,e)}else if(u.tag===De)$v(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 vR(e){for(var t=e,i=null;t!==null;){var u=t.alternate;u!==null&&F3(u)===null&&(i=t),t=t.sibling}return i}function TR(e){if(e!==void 0&&e!=="forwards"&&e!=="backwards"&&e!=="together"&&!bg[e])if(bg[e]=!0,typeof e=="string")switch(e.toLowerCase()){case"together":case"forwards":case"backwards":{f('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',e,e.toLowerCase());break}case"forward":case"backward":{f('"%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:f('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e);break}else f('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e)}function bR(e,t){e!==void 0&&!oh[e]&&(e!=="collapsed"&&e!=="hidden"?(oh[e]=!0,f('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',e)):t!=="forwards"&&t!=="backwards"&&(oh[e]=!0,f('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',e)))}function zv(e,t){{var i=Bn(e),u=!i&&typeof Mo(e)=="function";if(i||u){var m=i?"array":"iterable";return f("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>",m,t,m),!1}}return!0}function kR(e,t){if((t==="forwards"||t==="backwards")&&e!==void 0&&e!==null&&e!==!1)if(Bn(e)){for(var i=0;i<e.length;i++)if(!zv(e[i],i))return}else{var u=Mo(e);if(typeof u=="function"){var m=u.call(e);if(m)for(var g=m.next(),T=0;!g.done;g=m.next()){if(!zv(g.value,T))return;T++}}else f('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 Ng(e,t,i,u,m){var g=e.memoizedState;g===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:u,tail:i,tailMode:m}:(g.isBackwards=t,g.rendering=null,g.renderingStartTime=0,g.last=u,g.tail=i,g.tailMode=m)}function Hv(e,t,i){var u=t.pendingProps,m=u.revealOrder,g=u.tail,T=u.children;TR(m),bR(g,m),kR(T,m),mr(e,t,T,i);var E=ts.current,I=_4(E,kf);if(I)E=I4(E,kf),t.flags|=rt;else{var A=e!==null&&(e.flags&rt)!==Xe;A&&yR(t,t.child,i),E=V1(E)}if(su(t,E),(t.mode&qe)===Ge)t.memoizedState=null;else switch(m){case"forwards":{var M=vR(t.child),q;M===null?(q=t.child,t.child=null):(q=M.sibling,M.sibling=null),Ng(t,!1,q,M,g);break}case"backwards":{var H=null,ee=t.child;for(t.child=null;ee!==null;){var ae=ee.alternate;if(ae!==null&&F3(ae)===null){t.child=ee;break}var le=ee.sibling;ee.sibling=H,H=ee,ee=le}Ng(t,!0,H,null,g);break}case"together":{Ng(t,!1,null,null,void 0);break}default:t.memoizedState=null}return t.child}function SR(e,t,i){w4(t,t.stateNode.containerInfo);var u=t.pendingProps;return e===null?t.child=M1(t,null,u,i):mr(e,t,u,i),t.child}var Gv=!1;function wR(e,t,i){var u=t.type,m=u._context,g=t.pendingProps,T=t.memoizedProps,E=g.value;{"value"in g||Gv||(Gv=!0,f("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?"));var I=t.type.propTypes;I&&Xo(I,g,"prop","Context.Provider")}if(U7(t,m,E),T!==null){var A=T.value;if(Be(A,E)){if(T.children===g.children&&!h3())return Bi(e,t,i)}else TN(t,m,i)}var M=g.children;return mr(e,t,M,i),t.child}var qv=!1;function CR(e,t,i){var u=t.type;u._context===void 0?u!==u.Consumer&&(qv||(qv=!0,f("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 m=t.pendingProps,g=m.children;typeof g!="function"&&f("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."),U1(t,i);var T=qn(u);Il(t);var E;return Of.current=t,Xr(!0),E=g(T),Xr(!1),Wa(),t.flags|=bs,mr(e,t,E,i),t.child}function xf(){rs=!0}function ih(e,t){(t.mode&qe)===Ge&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=Kt)}function Bi(e,t,i){return e!==null&&(t.dependencies=e.dependencies),kv(),Hf(t.lanes),Ka(i,t.childLanes)?(yN(e,t),t.child):null}function ER(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 m=u.child;if(m===null)throw new Error("Expected parent to have a child.");for(;m.sibling!==t;)if(m=m.sibling,m===null)throw new Error("Expected to find the previous sibling.");m.sibling=i}var g=u.deletions;return g===null?(u.deletions=[e],u.flags|=Pt):g.push(e),i.flags|=Kt,i}}function Rg(e,t){var i=e.lanes;return!!Ka(i,t)}function _R(e,t,i){switch(t.tag){case N:Fv(t),t.stateNode,P1();break;case L:G7(t);break;case C:{var u=t.type;Ps(u)&&y3(t);break}case O:w4(t,t.stateNode.containerInfo);break;case Q:{var m=t.memoizedProps.value,g=t.type._context;U7(t,g,m);break}case re:{var T=Ka(i,t.childLanes);T&&(t.flags|=ht);{var E=t.stateNode;E.effectDuration=0,E.passiveEffectDuration=0}}break;case te:{var I=t.memoizedState;if(I!==null){if(I.dehydrated!==null)return su(t,V1(ts.current)),t.flags|=rt,null;var A=t.child,M=A.childLanes;if(Ka(i,M))return Bv(e,t,i);su(t,V1(ts.current));var q=Bi(e,t,i);return q!==null?q.sibling:null}else su(t,V1(ts.current));break}case De:{var H=(e.flags&rt)!==Xe,ee=Ka(i,t.childLanes);if(H){if(ee)return Hv(e,t,i);t.flags|=rt}var ae=t.memoizedState;if(ae!==null&&(ae.rendering=null,ae.tail=null,ae.lastEffect=null),su(t,ts.current),ee)break;return null}case ke:case $e:return t.lanes=he,Mv(e,t,i)}return Bi(e,t,i)}function Wv(e,t,i){if(t._debugNeedsRemount&&e!==null)return ER(e,t,o5(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes));if(e!==null){var u=e.memoizedProps,m=t.pendingProps;if(u!==m||h3()||t.type!==e.type)rs=!0;else{var g=Rg(e,i);if(!g&&(t.flags&rt)===Xe)return rs=!1,_R(e,t,i);(e.flags&tc)!==Xe?rs=!0:rs=!1}}else if(rs=!1,Na()&&ZI(t)){var T=t.index,E=XI();k7(t,E,T)}switch(t.lanes=he,t.tag){case _:return iR(e,t,t.type,i);case Ne:{var I=t.elementType;return oR(e,t,I,i)}case b:{var A=t.type,M=t.pendingProps,q=t.elementType===A?M:as(A,M);return kg(e,t,A,q,i)}case C:{var H=t.type,ee=t.pendingProps,ae=t.elementType===H?ee:as(H,ee);return Uv(e,t,H,ae,i)}case N:return nR(e,t,i);case L:return aR(e,t,i);case x:return rR(e,t);case te:return Bv(e,t,i);case O:return SR(e,t,i);case K:{var le=t.type,Ie=t.pendingProps,Qe=t.elementType===le?Ie:as(le,Ie);return Av(e,t,le,Qe,i)}case D:return JN(e,t,i);case B:return eR(e,t,i);case re:return tR(e,t,i);case Q:return wR(e,t,i);case V:return CR(e,t,i);case ue:{var et=t.type,kt=t.pendingProps,Tt=as(et,kt);if(t.type!==t.elementType){var Z=et.propTypes;Z&&Xo(Z,Tt,"prop",Vt(et))}return Tt=as(et.type,Tt),xv(e,t,et,Tt,i)}case oe:return Pv(e,t,t.type,t.pendingProps,i);case de:{var ie=t.type,X=t.pendingProps,be=t.elementType===ie?X:as(ie,X);return sR(e,t,ie,be,i)}case De:return Hv(e,t,i);case Pe:break;case ke:return Mv(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 G1(e){e.flags|=ht}function Qv(e){e.flags|=$a,e.flags|=pm}var Yv,Og,Kv,Zv;Yv=function(e,t,i,u){for(var m=t.child;m!==null;){if(m.tag===L||m.tag===x)Q_(e,m.stateNode);else if(m.tag!==O&&m.child!==null){m.child.return=m,m=m.child;continue}if(m===t)return;for(;m.sibling===null;){if(m.return===null||m.return===t)return;m=m.return}m.sibling.return=m.return,m=m.sibling}},Og=function(e,t){},Kv=function(e,t,i,u,m){var g=e.memoizedProps;if(g!==u){var T=t.stateNode,E=C4(),I=K_(T,i,g,u,m,E);t.updateQueue=I,I&&G1(t)}},Zv=function(e,t,i,u){i!==u&&G1(t)};function Pf(e,t){if(!Na())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 m=e.tail,g=null;m!==null;)m.alternate!==null&&(g=m),m=m.sibling;g===null?!t&&e.tail!==null?e.tail.sibling=null:e.tail=null:g.sibling=null;break}}}function Oa(e){var t=e.alternate!==null&&e.alternate.child===e.child,i=he,u=Xe;if(t){if((e.mode&ot)!==Ge){for(var m=e.selfBaseDuration,g=e.child;g!==null;)i=pt(i,pt(g.lanes,g.childLanes)),u|=g.subtreeFlags&Yn,u|=g.flags&Yn,m+=g.treeBaseDuration,g=g.sibling;e.treeBaseDuration=m}else for(var T=e.child;T!==null;)i=pt(i,pt(T.lanes,T.childLanes)),u|=T.subtreeFlags&Yn,u|=T.flags&Yn,T.return=e,T=T.sibling;e.subtreeFlags|=u}else{if((e.mode&ot)!==Ge){for(var E=e.actualDuration,I=e.selfBaseDuration,A=e.child;A!==null;)i=pt(i,pt(A.lanes,A.childLanes)),u|=A.subtreeFlags,u|=A.flags,E+=A.actualDuration,I+=A.treeBaseDuration,A=A.sibling;e.actualDuration=E,e.treeBaseDuration=I}else for(var M=e.child;M!==null;)i=pt(i,pt(M.lanes,M.childLanes)),u|=M.subtreeFlags,u|=M.flags,M.return=e,M=M.sibling;e.subtreeFlags|=u}return e.childLanes=i,t}function IR(e,t,i){if(dN()&&(t.mode&qe)!==Ge&&(t.flags&rt)===Xe)return N7(t),P1(),t.flags|=dn|or|$n,!1;var u=S3(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(uN(t),Oa(t),(t.mode&ot)!==Ge){var m=i!==null;if(m){var g=t.child;g!==null&&(t.treeBaseDuration-=g.treeBaseDuration)}}return!1}else{if(P1(),(t.flags&rt)===Xe&&(t.memoizedState=null),t.flags|=ht,Oa(t),(t.mode&ot)!==Ge){var T=i!==null;if(T){var E=t.child;E!==null&&(t.treeBaseDuration-=E.treeBaseDuration)}}return!1}else return R7(),!0}function Xv(e,t,i){var u=t.pendingProps;switch(n4(t),t.tag){case _:case Ne:case oe:case b:case K:case D:case B:case re:case V:case ue:return Oa(t),null;case C:{var m=t.type;return Ps(m)&&g3(t),Oa(t),null}case N:{var g=t.stateNode;if(F1(t),X8(t),R4(),g.pendingContext&&(g.context=g.pendingContext,g.pendingContext=null),e===null||e.child===null){var T=S3(t);if(T)G1(t);else if(e!==null){var E=e.memoizedState;(!E.isDehydrated||(t.flags&dn)!==Xe)&&(t.flags|=_r,R7())}}return Og(e,t),Oa(t),null}case L:{E4(t);var I=H7(),A=t.type;if(e!==null&&t.stateNode!=null)Kv(e,t,A,u,I),e.ref!==t.ref&&Qv(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 Oa(t),null}var M=C4(),q=S3(t);if(q)iN(t,I,M)&&G1(t);else{var H=W_(A,u,I,M,t);Yv(H,t,!1,!1),t.stateNode=H,Y_(H,A,u,I)&&G1(t)}t.ref!==null&&Qv(t)}return Oa(t),null}case x:{var ee=u;if(e&&t.stateNode!=null){var ae=e.memoizedProps;Zv(e,t,ae,ee)}else{if(typeof ee!="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 le=H7(),Ie=C4(),Qe=S3(t);Qe?lN(t)&&G1(t):t.stateNode=Z_(ee,le,Ie,t)}return Oa(t),null}case te:{B1(t);var et=t.memoizedState;if(e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){var kt=IR(e,t,et);if(!kt)return t.flags&$n?t:null}if((t.flags&rt)!==Xe)return t.lanes=i,(t.mode&ot)!==Ge&&eg(t),t;var Tt=et!==null,Z=e!==null&&e.memoizedState!==null;if(Tt!==Z&&Tt){var ie=t.child;if(ie.flags|=ks,(t.mode&qe)!==Ge){var X=e===null&&(t.memoizedProps.unstable_avoidThisFallback!==!0||!dt);X||_4(ts.current,W7)?NO():Qg()}}var be=t.updateQueue;if(be!==null&&(t.flags|=ht),Oa(t),(t.mode&ot)!==Ge&&Tt){var xe=t.child;xe!==null&&(t.treeBaseDuration-=xe.treeBaseDuration)}return null}case O:return F1(t),Og(e,t),e===null&&HI(t.stateNode.containerInfo),Oa(t),null;case Q:var Oe=t.type._context;return g4(Oe,t),Oa(t),null;case de:{var nt=t.type;return Ps(nt)&&g3(t),Oa(t),null}case De:{B1(t);var mt=t.memoizedState;if(mt===null)return Oa(t),null;var $t=(t.flags&rt)!==Xe,At=mt.rendering;if(At===null)if($t)Pf(mt,!1);else{var Mn=OO()&&(e===null||(e.flags&rt)===Xe);if(!Mn)for(var xt=t.child;xt!==null;){var En=F3(xt);if(En!==null){$t=!0,t.flags|=rt,Pf(mt,!1);var er=En.updateQueue;return er!==null&&(t.updateQueue=er,t.flags|=ht),t.subtreeFlags=Xe,vN(t,i),su(t,I4(ts.current,kf)),t.child}xt=xt.sibling}mt.tail!==null&&an()>TT()&&(t.flags|=rt,$t=!0,Pf(mt,!1),t.lanes=Sp)}else{if(!$t){var Ma=F3(At);if(Ma!==null){t.flags|=rt,$t=!0;var so=Ma.updateQueue;if(so!==null&&(t.updateQueue=so,t.flags|=ht),Pf(mt,!0),mt.tail===null&&mt.tailMode==="hidden"&&!At.alternate&&!Na())return Oa(t),null}else an()*2-mt.renderingStartTime>TT()&&i!==ha&&(t.flags|=rt,$t=!0,Pf(mt,!1),t.lanes=Sp)}if(mt.isBackwards)At.sibling=t.child,t.child=At;else{var hr=mt.last;hr!==null?hr.sibling=At:t.child=At,mt.last=At}}if(mt.tail!==null){var gr=mt.tail;mt.rendering=gr,mt.tail=gr.sibling,mt.renderingStartTime=an(),gr.sibling=null;var tr=ts.current;return $t?tr=I4(tr,kf):tr=V1(tr),su(t,tr),gr}return Oa(t),null}case Pe:break;case ke:case $e:{Wg(t);var Gi=t.memoizedState,J1=Gi!==null;if(e!==null){var Yf=e.memoizedState,$s=Yf!==null;$s!==J1&&!Ce&&(t.flags|=ks)}return!J1||(t.mode&qe)===Ge?Oa(t):Ka(js,ha)&&(Oa(t),t.subtreeFlags&(Kt|ht)&&(t.flags|=ks)),null}case it:return null;case Rt: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 NR(e,t,i){switch(n4(t),t.tag){case C:{var u=t.type;Ps(u)&&g3(t);var m=t.flags;return m&$n?(t.flags=m&~$n|rt,(t.mode&ot)!==Ge&&eg(t),t):null}case N:{t.stateNode,F1(t),X8(t),R4();var g=t.flags;return(g&$n)!==Xe&&(g&rt)===Xe?(t.flags=g&~$n|rt,t):null}case L:return E4(t),null;case te:{B1(t);var T=t.memoizedState;if(T!==null&&T.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.");P1()}var E=t.flags;return E&$n?(t.flags=E&~$n|rt,(t.mode&ot)!==Ge&&eg(t),t):null}case De:return B1(t),null;case O:return F1(t),null;case Q:var I=t.type._context;return g4(I,t),null;case ke:case $e:return Wg(t),null;case it:return null;default:return null}}function Jv(e,t,i){switch(n4(t),t.tag){case C:{var u=t.type.childContextTypes;u!=null&&g3(t);break}case N:{t.stateNode,F1(t),X8(t),R4();break}case L:{E4(t);break}case O:F1(t);break;case te:B1(t);break;case De:B1(t);break;case Q:var m=t.type._context;g4(m,t);break;case ke:case $e:Wg(t);break}}var eT=null;eT=new Set;var lh=!1,La=!1,RR=typeof WeakSet=="function"?WeakSet:Set,je=null,q1=null,W1=null;function OR(e){fi(null,function(){throw e}),mm()}var LR=function(e,t){if(t.props=e.memoizedProps,t.state=e.memoizedState,e.mode&ot)try{Vs(),t.componentWillUnmount()}finally{Fs(e)}else t.componentWillUnmount()};function tT(e,t){try{uu(Jn,e)}catch(i){Xt(e,t,i)}}function Lg(e,t,i){try{LR(e,i)}catch(u){Xt(e,t,u)}}function AR(e,t,i){try{i.componentDidMount()}catch(u){Xt(e,t,u)}}function nT(e,t){try{rT(e)}catch(i){Xt(e,t,i)}}function Q1(e,t){var i=e.ref;if(i!==null)if(typeof i=="function"){var u;try{if(gt&&lt&&e.mode&ot)try{Vs(),u=i(null)}finally{Fs(e)}else u=i(null)}catch(m){Xt(e,t,m)}typeof u=="function"&&f("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",ft(e))}else i.current=null}function uh(e,t,i){try{i()}catch(u){Xt(e,t,u)}}var aT=!1;function xR(e,t){G_(e.containerInfo),je=t,PR();var i=aT;return aT=!1,i}function PR(){for(;je!==null;){var e=je,t=e.child;(e.subtreeFlags&Cl)!==Xe&&t!==null?(t.return=e,je=t):MR()}}function MR(){for(;je!==null;){var e=je;Bt(e);try{DR(e)}catch(i){Xt(e,e.return,i)}On();var t=e.sibling;if(t!==null){t.return=e.return,je=t;return}je=e.return}}function DR(e){var t=e.alternate,i=e.flags;if((i&_r)!==Xe){switch(Bt(e),e.tag){case b:case K:case oe:break;case C:{if(t!==null){var u=t.memoizedProps,m=t.memoizedState,g=e.stateNode;e.type===e.elementType&&!Mc&&(g.props!==e.memoizedProps&&f("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.",ft(e)||"instance"),g.state!==e.memoizedState&&f("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.",ft(e)||"instance"));var T=g.getSnapshotBeforeUpdate(e.elementType===e.type?u:as(e.type,u),m);{var E=eT;T===void 0&&!E.has(e.type)&&(E.add(e.type),f("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",ft(e)))}g.__reactInternalSnapshotBeforeUpdate=T}break}case N:{{var I=e.stateNode;gI(I.containerInfo)}break}case L:case x:case O:case de: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.")}On()}}function os(e,t,i){var u=t.updateQueue,m=u!==null?u.lastEffect:null;if(m!==null){var g=m.next,T=g;do{if((T.tag&e)===e){var E=T.destroy;T.destroy=void 0,E!==void 0&&((e&Ra)!==Vr?Tp(t):(e&Jn)!==Vr&&no(t),(e&Ms)!==Vr&&qf(!0),uh(t,i,E),(e&Ms)!==Vr&&qf(!1),(e&Ra)!==Vr?Fd():(e&Jn)!==Vr&&Nl())}T=T.next}while(T!==g)}}function uu(e,t){var i=t.updateQueue,u=i!==null?i.lastEffect:null;if(u!==null){var m=u.next,g=m;do{if((g.tag&e)===e){(e&Ra)!==Vr?Cs(t):(e&Jn)!==Vr&&bp(t);var T=g.create;(e&Ms)!==Vr&&qf(!0),g.destroy=T(),(e&Ms)!==Vr&&qf(!1),(e&Ra)!==Vr?Ud():(e&Jn)!==Vr&&nc();{var E=g.destroy;if(E!==void 0&&typeof E!="function"){var I=void 0;(g.tag&Jn)!==Xe?I="useLayoutEffect":(g.tag&Ms)!==Xe?I="useInsertionEffect":I="useEffect";var A=void 0;E===null?A=" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof E.then=="function"?A=`
143
+
144
+ It looks like you wrote `+I+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
145
+
146
+ `+I+`(() => {
147
+ async function fetchData() {
148
+ // You can await here
149
+ const response = await MyAPI.getData(someId);
150
+ // ...
151
+ }
152
+ fetchData();
153
+ }, [someId]); // Or [] if effect doesn't need props or state
154
+
155
+ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching`:A=" You returned: "+E,f("%s must not return anything besides a function, which is used for clean-up.%s",I,A)}}}g=g.next}while(g!==m)}}function UR(e,t){if((t.flags&ht)!==Xe)switch(t.tag){case re:{var i=t.stateNode.passiveEffectDuration,u=t.memoizedProps,m=u.id,g=u.onPostCommit,T=Tv(),E=t.alternate===null?"mount":"update";vv()&&(E="nested-update"),typeof g=="function"&&g(m,E,i,T);var I=t.return;e:for(;I!==null;){switch(I.tag){case N:var A=I.stateNode;A.passiveEffectDuration+=i;break e;case re:var M=I.stateNode;M.passiveEffectDuration+=i;break e}I=I.return}break}}}function FR(e,t,i,u){if((i.flags&fa)!==Xe)switch(i.tag){case b:case K:case oe:{if(!La)if(i.mode&ot)try{Vs(),uu(Jn|Xn,i)}finally{Fs(i)}else uu(Jn|Xn,i);break}case C:{var m=i.stateNode;if(i.flags&ht&&!La)if(t===null)if(i.type===i.elementType&&!Mc&&(m.props!==i.memoizedProps&&f("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.",ft(i)||"instance"),m.state!==i.memoizedState&&f("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.",ft(i)||"instance")),i.mode&ot)try{Vs(),m.componentDidMount()}finally{Fs(i)}else m.componentDidMount();else{var g=i.elementType===i.type?t.memoizedProps:as(i.type,t.memoizedProps),T=t.memoizedState;if(i.type===i.elementType&&!Mc&&(m.props!==i.memoizedProps&&f("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.",ft(i)||"instance"),m.state!==i.memoizedState&&f("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.",ft(i)||"instance")),i.mode&ot)try{Vs(),m.componentDidUpdate(g,T,m.__reactInternalSnapshotBeforeUpdate)}finally{Fs(i)}else m.componentDidUpdate(g,T,m.__reactInternalSnapshotBeforeUpdate)}var E=i.updateQueue;E!==null&&(i.type===i.elementType&&!Mc&&(m.props!==i.memoizedProps&&f("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.",ft(i)||"instance"),m.state!==i.memoizedState&&f("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.",ft(i)||"instance")),z7(i,E,m));break}case N:{var I=i.updateQueue;if(I!==null){var A=null;if(i.child!==null)switch(i.child.tag){case L:A=i.child.stateNode;break;case C:A=i.child.stateNode;break}z7(i,I,A)}break}case L:{var M=i.stateNode;if(t===null&&i.flags&ht){var q=i.type,H=i.memoizedProps;nI(M,q,H)}break}case x:break;case O:break;case re:{{var ee=i.memoizedProps,ae=ee.onCommit,le=ee.onRender,Ie=i.stateNode.effectDuration,Qe=Tv(),et=t===null?"mount":"update";vv()&&(et="nested-update"),typeof le=="function"&&le(i.memoizedProps.id,et,i.actualDuration,i.treeBaseDuration,i.actualStartTime,Qe);{typeof ae=="function"&&ae(i.memoizedProps.id,et,Ie,Qe),MO(i);var kt=i.return;e:for(;kt!==null;){switch(kt.tag){case N:var Tt=kt.stateNode;Tt.effectDuration+=Ie;break e;case re:var Z=kt.stateNode;Z.effectDuration+=Ie;break e}kt=kt.return}}}break}case te:{qR(e,i);break}case De:case de:case Pe:case ke:case $e:case Rt: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.")}La||i.flags&$a&&rT(i)}function VR(e){switch(e.tag){case b:case K:case oe:{if(e.mode&ot)try{Vs(),tT(e,e.return)}finally{Fs(e)}else tT(e,e.return);break}case C:{var t=e.stateNode;typeof t.componentDidMount=="function"&&AR(e,e.return,t),nT(e,e.return);break}case L:{nT(e,e.return);break}}}function BR(e,t){for(var i=null,u=e;;){if(u.tag===L){if(i===null){i=u;try{var m=u.stateNode;t?mI(m):pI(u.stateNode,u.memoizedProps)}catch(T){Xt(e,e.return,T)}}}else if(u.tag===x){if(i===null)try{var g=u.stateNode;t?fI(g):hI(g,u.memoizedProps)}catch(T){Xt(e,e.return,T)}}else if(!((u.tag===ke||u.tag===$e)&&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 rT(e){var t=e.ref;if(t!==null){var i=e.stateNode,u;switch(e.tag){case L:u=i;break;default:u=i}if(typeof t=="function"){var m;if(e.mode&ot)try{Vs(),m=t(u)}finally{Fs(e)}else m=t(u);typeof m=="function"&&f("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",ft(e))}else t.hasOwnProperty("current")||f("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",ft(e)),t.current=u}}function jR(e){var t=e.alternate;t!==null&&(t.return=null),e.return=null}function oT(e){var t=e.alternate;t!==null&&(e.alternate=null,oT(t));{if(e.child=null,e.deletions=null,e.sibling=null,e.tag===L){var i=e.stateNode;i!==null&&WI(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 $R(e){for(var t=e.return;t!==null;){if(sT(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 sT(e){return e.tag===L||e.tag===N||e.tag===O}function iT(e){var t=e;e:for(;;){for(;t.sibling===null;){if(t.return===null||sT(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==L&&t.tag!==x&&t.tag!==Fe;){if(t.flags&Kt||t.child===null||t.tag===O)continue e;t.child.return=t,t=t.child}if(!(t.flags&Kt))return t.stateNode}}function zR(e){var t=$R(e);switch(t.tag){case L:{var i=t.stateNode;t.flags&Mt&&(u7(i),t.flags&=~Mt);var u=iT(e);xg(e,u,i);break}case N:case O:{var m=t.stateNode.containerInfo,g=iT(e);Ag(e,g,m);break}default:throw new Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function Ag(e,t,i){var u=e.tag,m=u===L||u===x;if(m){var g=e.stateNode;t?lI(i,g,t):sI(i,g)}else if(u!==O){var T=e.child;if(T!==null){Ag(T,t,i);for(var E=T.sibling;E!==null;)Ag(E,t,i),E=E.sibling}}}function xg(e,t,i){var u=e.tag,m=u===L||u===x;if(m){var g=e.stateNode;t?iI(i,g,t):oI(i,g)}else if(u!==O){var T=e.child;if(T!==null){xg(T,t,i);for(var E=T.sibling;E!==null;)xg(E,t,i),E=E.sibling}}}var Aa=null,ss=!1;function HR(e,t,i){{var u=t;e:for(;u!==null;){switch(u.tag){case L:{Aa=u.stateNode,ss=!1;break e}case N:{Aa=u.stateNode.containerInfo,ss=!0;break e}case O:{Aa=u.stateNode.containerInfo,ss=!0;break e}}u=u.return}if(Aa===null)throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");lT(e,t,i),Aa=null,ss=!1}jR(i)}function cu(e,t,i){for(var u=i.child;u!==null;)lT(e,t,u),u=u.sibling}function lT(e,t,i){switch(gi(i),i.tag){case L:La||Q1(i,t);case x:{{var u=Aa,m=ss;Aa=null,cu(e,t,i),Aa=u,ss=m,Aa!==null&&(ss?cI(Aa,i.stateNode):uI(Aa,i.stateNode))}return}case Fe:{Aa!==null&&(ss?dI(Aa,i.stateNode):H8(Aa,i.stateNode));return}case O:{{var g=Aa,T=ss;Aa=i.stateNode.containerInfo,ss=!0,cu(e,t,i),Aa=g,ss=T}return}case b:case K:case ue:case oe:{if(!La){var E=i.updateQueue;if(E!==null){var I=E.lastEffect;if(I!==null){var A=I.next,M=A;do{var q=M,H=q.destroy,ee=q.tag;H!==void 0&&((ee&Ms)!==Vr?uh(i,t,H):(ee&Jn)!==Vr&&(no(i),i.mode&ot?(Vs(),uh(i,t,H),Fs(i)):uh(i,t,H),Nl())),M=M.next}while(M!==A)}}}cu(e,t,i);return}case C:{if(!La){Q1(i,t);var ae=i.stateNode;typeof ae.componentWillUnmount=="function"&&Lg(i,t,ae)}cu(e,t,i);return}case Pe:{cu(e,t,i);return}case ke:{if(i.mode&qe){var le=La;La=le||i.memoizedState!==null,cu(e,t,i),La=le}else cu(e,t,i);break}default:{cu(e,t,i);return}}}function GR(e){e.memoizedState}function qR(e,t){var i=t.memoizedState;if(i===null){var u=t.alternate;if(u!==null){var m=u.memoizedState;if(m!==null){var g=m.dehydrated;g!==null&&OI(g)}}}}function uT(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var i=e.stateNode;i===null&&(i=e.stateNode=new RR),t.forEach(function(u){var m=$O.bind(null,e,u);if(!i.has(u)){if(i.add(u),lr)if(q1!==null&&W1!==null)Gf(W1,q1);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");u.then(m,m)}})}}function WR(e,t,i){q1=i,W1=e,Bt(t),cT(t,e),Bt(t),q1=null,W1=null}function is(e,t,i){var u=t.deletions;if(u!==null)for(var m=0;m<u.length;m++){var g=u[m];try{HR(e,t,g)}catch(I){Xt(g,t,I)}}var T=q6();if(t.subtreeFlags&Ga)for(var E=t.child;E!==null;)Bt(E),cT(E,e),E=E.sibling;Bt(T)}function cT(e,t,i){var u=e.alternate,m=e.flags;switch(e.tag){case b:case K:case ue:case oe:{if(is(t,e),Bs(e),m&ht){try{os(Ms|Xn,e,e.return),uu(Ms|Xn,e)}catch(nt){Xt(e,e.return,nt)}if(e.mode&ot){try{Vs(),os(Jn|Xn,e,e.return)}catch(nt){Xt(e,e.return,nt)}Fs(e)}else try{os(Jn|Xn,e,e.return)}catch(nt){Xt(e,e.return,nt)}}return}case C:{is(t,e),Bs(e),m&$a&&u!==null&&Q1(u,u.return);return}case L:{is(t,e),Bs(e),m&$a&&u!==null&&Q1(u,u.return);{if(e.flags&Mt){var g=e.stateNode;try{u7(g)}catch(nt){Xt(e,e.return,nt)}}if(m&ht){var T=e.stateNode;if(T!=null){var E=e.memoizedProps,I=u!==null?u.memoizedProps:E,A=e.type,M=e.updateQueue;if(e.updateQueue=null,M!==null)try{aI(T,M,A,I,E,e)}catch(nt){Xt(e,e.return,nt)}}}}return}case x:{if(is(t,e),Bs(e),m&ht){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,ee=u!==null?u.memoizedProps:H;try{rI(q,ee,H)}catch(nt){Xt(e,e.return,nt)}}return}case N:{if(is(t,e),Bs(e),m&ht&&u!==null){var ae=u.memoizedState;if(ae.isDehydrated)try{RI(t.containerInfo)}catch(nt){Xt(e,e.return,nt)}}return}case O:{is(t,e),Bs(e);return}case te:{is(t,e),Bs(e);var le=e.child;if(le.flags&ks){var Ie=le.stateNode,Qe=le.memoizedState,et=Qe!==null;if(Ie.isHidden=et,et){var kt=le.alternate!==null&&le.alternate.memoizedState!==null;kt||IO()}}if(m&ht){try{GR(e)}catch(nt){Xt(e,e.return,nt)}uT(e)}return}case ke:{var Tt=u!==null&&u.memoizedState!==null;if(e.mode&qe){var Z=La;La=Z||Tt,is(t,e),La=Z}else is(t,e);if(Bs(e),m&ks){var ie=e.stateNode,X=e.memoizedState,be=X!==null,xe=e;if(ie.isHidden=be,be&&!Tt&&(xe.mode&qe)!==Ge){je=xe;for(var Oe=xe.child;Oe!==null;)je=Oe,YR(Oe),Oe=Oe.sibling}BR(xe,be)}return}case De:{is(t,e),Bs(e),m&ht&&uT(e);return}case Pe:return;default:{is(t,e),Bs(e);return}}}function Bs(e){var t=e.flags;if(t&Kt){try{zR(e)}catch(i){Xt(e,e.return,i)}e.flags&=~Kt}t&Ir&&(e.flags&=~Ir)}function QR(e,t,i){q1=i,W1=t,je=e,dT(e,t,i),q1=null,W1=null}function dT(e,t,i){for(var u=(e.mode&qe)!==Ge;je!==null;){var m=je,g=m.child;if(m.tag===ke&&u){var T=m.memoizedState!==null,E=T||lh;if(E){Pg(e,t,i);continue}else{var I=m.alternate,A=I!==null&&I.memoizedState!==null,M=A||La,q=lh,H=La;lh=E,La=M,La&&!H&&(je=m,KR(m));for(var ee=g;ee!==null;)je=ee,dT(ee,t,i),ee=ee.sibling;je=m,lh=q,La=H,Pg(e,t,i);continue}}(m.subtreeFlags&fa)!==Xe&&g!==null?(g.return=m,je=g):Pg(e,t,i)}}function Pg(e,t,i){for(;je!==null;){var u=je;if((u.flags&fa)!==Xe){var m=u.alternate;Bt(u);try{FR(t,m,u,i)}catch(T){Xt(u,u.return,T)}On()}if(u===e){je=null;return}var g=u.sibling;if(g!==null){g.return=u.return,je=g;return}je=u.return}}function YR(e){for(;je!==null;){var t=je,i=t.child;switch(t.tag){case b:case K:case ue:case oe:{if(t.mode&ot)try{Vs(),os(Jn,t,t.return)}finally{Fs(t)}else os(Jn,t,t.return);break}case C:{Q1(t,t.return);var u=t.stateNode;typeof u.componentWillUnmount=="function"&&Lg(t,t.return,u);break}case L:{Q1(t,t.return);break}case ke:{var m=t.memoizedState!==null;if(m){mT(e);continue}break}}i!==null?(i.return=t,je=i):mT(e)}}function mT(e){for(;je!==null;){var t=je;if(t===e){je=null;return}var i=t.sibling;if(i!==null){i.return=t.return,je=i;return}je=t.return}}function KR(e){for(;je!==null;){var t=je,i=t.child;if(t.tag===ke){var u=t.memoizedState!==null;if(u){fT(e);continue}}i!==null?(i.return=t,je=i):fT(e)}}function fT(e){for(;je!==null;){var t=je;Bt(t);try{VR(t)}catch(u){Xt(t,t.return,u)}if(On(),t===e){je=null;return}var i=t.sibling;if(i!==null){i.return=t.return,je=i;return}je=t.return}}function ZR(e,t,i,u){je=t,XR(t,e,i,u)}function XR(e,t,i,u){for(;je!==null;){var m=je,g=m.child;(m.subtreeFlags&Nr)!==Xe&&g!==null?(g.return=m,je=g):JR(e,t,i,u)}}function JR(e,t,i,u){for(;je!==null;){var m=je;if((m.flags&Jt)!==Xe){Bt(m);try{eO(t,m,i,u)}catch(T){Xt(m,m.return,T)}On()}if(m===e){je=null;return}var g=m.sibling;if(g!==null){g.return=m.return,je=g;return}je=m.return}}function eO(e,t,i,u){switch(t.tag){case b:case K:case oe:{if(t.mode&ot){J4();try{uu(Ra|Xn,t)}finally{X4(t)}}else uu(Ra|Xn,t);break}}}function tO(e){je=e,nO()}function nO(){for(;je!==null;){var e=je,t=e.child;if((je.flags&Pt)!==Xe){var i=e.deletions;if(i!==null){for(var u=0;u<i.length;u++){var m=i[u];je=m,oO(m,e)}{var g=e.alternate;if(g!==null){var T=g.child;if(T!==null){g.child=null;do{var E=T.sibling;T.sibling=null,T=E}while(T!==null)}}}je=e}}(e.subtreeFlags&Nr)!==Xe&&t!==null?(t.return=e,je=t):aO()}}function aO(){for(;je!==null;){var e=je;(e.flags&Jt)!==Xe&&(Bt(e),rO(e),On());var t=e.sibling;if(t!==null){t.return=e.return,je=t;return}je=e.return}}function rO(e){switch(e.tag){case b:case K:case oe:{e.mode&ot?(J4(),os(Ra|Xn,e,e.return),X4(e)):os(Ra|Xn,e,e.return);break}}}function oO(e,t){for(;je!==null;){var i=je;Bt(i),iO(i,t),On();var u=i.child;u!==null?(u.return=i,je=u):sO(e)}}function sO(e){for(;je!==null;){var t=je,i=t.sibling,u=t.return;if(oT(t),t===e){je=null;return}if(i!==null){i.return=u,je=i;return}je=u}}function iO(e,t){switch(e.tag){case b:case K:case oe:{e.mode&ot?(J4(),os(Ra,e,t),X4(e)):os(Ra,e,t);break}}}function lO(e){switch(e.tag){case b:case K:case oe:{try{uu(Jn|Xn,e)}catch(i){Xt(e,e.return,i)}break}case C:{var t=e.stateNode;try{t.componentDidMount()}catch(i){Xt(e,e.return,i)}break}}}function uO(e){switch(e.tag){case b:case K:case oe:{try{uu(Ra|Xn,e)}catch(t){Xt(e,e.return,t)}break}}}function cO(e){switch(e.tag){case b:case K:case oe:{try{os(Jn|Xn,e,e.return)}catch(i){Xt(e,e.return,i)}break}case C:{var t=e.stateNode;typeof t.componentWillUnmount=="function"&&Lg(e,e.return,t);break}}}function dO(e){switch(e.tag){case b:case K:case oe:try{os(Ra|Xn,e,e.return)}catch(t){Xt(e,e.return,t)}}}if(typeof Symbol=="function"&&Symbol.for){var Mf=Symbol.for;Mf("selector.component"),Mf("selector.has_pseudo_class"),Mf("selector.role"),Mf("selector.test_id"),Mf("selector.text")}var mO=[];function fO(){mO.forEach(function(e){return e()})}var pO=o.ReactCurrentActQueue;function hO(e){{var t=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0,i=typeof jest<"u";return i&&t!==!1}}function pT(){{var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return!e&&pO.current!==null&&f("The current testing environment is not configured to support act(...)"),e}}var gO=Math.ceil,Mg=o.ReactCurrentDispatcher,Dg=o.ReactCurrentOwner,xa=o.ReactCurrentBatchConfig,ls=o.ReactCurrentActQueue,na=0,hT=1,Pa=2,_o=4,ji=0,Df=1,Dc=2,ch=3,Uf=4,gT=5,Ug=6,It=na,fr=null,gn=null,aa=he,js=he,Fg=eu(he),ra=ji,Ff=null,dh=he,Vf=he,mh=he,Bf=null,Br=null,Vg=0,yT=500,vT=1/0,yO=500,$i=null;function jf(){vT=an()+yO}function TT(){return vT}var fh=!1,Bg=null,Y1=null,Uc=!1,du=null,$f=he,jg=[],$g=null,vO=50,zf=0,zg=null,Hg=!1,ph=!1,TO=50,K1=0,hh=null,gh=Wt,yh=he,bT=!1;function vh(){return fr}function pr(){return(It&(Pa|_o))!==na?an():(gh!==Wt||(gh=an()),gh)}function mu(e){var t=e.mode;if((t&qe)===Ge)return Ke;if((It&Pa)!==na&&aa!==he)return Ul(aa);var i=pN()!==fN;if(i){if(xa.transition!==null){var u=xa.transition;u._updatedFibers||(u._updatedFibers=new Set),u._updatedFibers.add(e)}return yh===wn&&(yh=Op()),yh}var m=xr();if(m!==wn)return m;var g=X_();return g}function bO(e){var t=e.mode;return(t&qe)===Ge?Ke:Ya()}function oa(e,t,i,u){HO(),bT&&f("useInsertionEffect must not schedule updates."),Hg&&(ph=!0),Ci(e,i,u),(It&Pa)!==he&&e===fr?WO(t):(lr&&Am(e,t,i),QO(t),e===fr&&((It&Pa)===na&&(Vf=pt(Vf,i)),ra===Uf&&fu(e,aa)),jr(e,u),i===Ke&&It===na&&(t.mode&qe)===Ge&&!ls.isBatchingLegacy&&(jf(),b7()))}function kO(e,t,i){var u=e.current;u.lanes=t,Ci(e,t,i),jr(e,i)}function SO(e){return(It&Pa)!==na}function jr(e,t){var i=e.callbackNode;Ep(e,t);var u=Si(e,e===fr?aa:he);if(u===he){i!==null&&DT(i),e.callbackNode=null,e.callbackPriority=wn;return}var m=pn(u),g=e.callbackPriority;if(g===m&&!(ls.current!==null&&i!==Zg)){i==null&&g!==Ke&&f("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.");return}i!=null&&DT(i);var T;if(m===Ke)e.tag===tu?(ls.isBatchingLegacy!==null&&(ls.didScheduleLegacyUpdate=!0),KI(wT.bind(null,e))):T7(wT.bind(null,e)),ls.current!==null?ls.current.push(nu):eI(function(){(It&(Pa|_o))===na&&nu()}),T=null;else{var E;switch(pc(u)){case ga:E=Pd;break;case Zn:E=hi;break;case Wo:E=yo;break;case mc:E=Md;break;default:E=yo;break}T=Xg(E,kT.bind(null,e))}e.callbackPriority=m,e.callbackNode=T}function kT(e,t){if(BN(),gh=Wt,yh=he,(It&(Pa|_o))!==na)throw new Error("Should not already be working.");var i=e.callbackNode,u=Hi();if(u&&e.callbackNode!==i)return null;var m=Si(e,e===fr?aa:he);if(m===he)return null;var g=!cc(e,m)&&!Rp(e,m)&&!t,T=g?AO(e,m):bh(e,m);if(T!==ji){if(T===Dc){var E=_s(e);E!==he&&(m=E,T=Gg(e,E))}if(T===Df){var I=Ff;throw Fc(e,he),fu(e,m),jr(e,an()),I}if(T===Ug)fu(e,m);else{var A=!cc(e,m),M=e.current.alternate;if(A&&!CO(M)){if(T=bh(e,m),T===Dc){var q=_s(e);q!==he&&(m=q,T=Gg(e,q))}if(T===Df){var H=Ff;throw Fc(e,he),fu(e,m),jr(e,an()),H}}e.finishedWork=M,e.finishedLanes=m,wO(e,T,m)}}return jr(e,an()),e.callbackNode===i?kT.bind(null,e):null}function Gg(e,t){var i=Bf;if(xn(e)){var u=Fc(e,t);u.flags|=dn,zI(e.containerInfo)}var m=bh(e,t);if(m!==Dc){var g=Br;Br=i,g!==null&&ST(g)}return m}function ST(e){Br===null?Br=e:Br.push.apply(Br,e)}function wO(e,t,i){switch(t){case ji:case Df:throw new Error("Root did not complete. This is a bug in React.");case Dc:{Vc(e,Br,$i);break}case ch:{if(fu(e,i),_p(i)&&!UT()){var u=Vg+yT-an();if(u>10){var m=Si(e,he);if(m!==he)break;var g=e.suspendedLanes;if(!wi(g,i)){pr(),Om(e,g);break}e.timeoutHandle=$8(Vc.bind(null,e,Br,$i),u);break}}Vc(e,Br,$i);break}case Uf:{if(fu(e,i),Np(i))break;if(!UT()){var T=wp(e,i),E=T,I=an()-E,A=zO(I)-I;if(A>10){e.timeoutHandle=$8(Vc.bind(null,e,Br,$i),A);break}}Vc(e,Br,$i);break}case gT:{Vc(e,Br,$i);break}default:throw new Error("Unknown root exit status.")}}function CO(e){for(var t=e;;){if(t.flags&ec){var i=t.updateQueue;if(i!==null){var u=i.stores;if(u!==null)for(var m=0;m<u.length;m++){var g=u[m],T=g.getSnapshot,E=g.value;try{if(!Be(T(),E))return!1}catch{return!1}}}}var I=t.child;if(t.subtreeFlags&ec&&I!==null){I.return=t,t=I;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 fu(e,t){t=dc(t,mh),t=dc(t,Vf),Rm(e,t)}function wT(e){if(jN(),(It&(Pa|_o))!==na)throw new Error("Should not already be working.");Hi();var t=Si(e,he);if(!Ka(t,Ke))return jr(e,an()),null;var i=bh(e,t);if(e.tag!==tu&&i===Dc){var u=_s(e);u!==he&&(t=u,i=Gg(e,u))}if(i===Df){var m=Ff;throw Fc(e,he),fu(e,t),jr(e,an()),m}if(i===Ug)throw new Error("Root did not complete. This is a bug in React.");var g=e.current.alternate;return e.finishedWork=g,e.finishedLanes=t,Vc(e,Br,$i),jr(e,an()),null}function EO(e,t){t!==he&&(Fl(e,pt(t,Ke)),jr(e,an()),(It&(Pa|_o))===na&&(jf(),nu()))}function qg(e,t){var i=It;It|=hT;try{return e(t)}finally{It=i,It===na&&!ls.isBatchingLegacy&&(jf(),b7())}}function _O(e,t,i,u,m){var g=xr(),T=xa.transition;try{return xa.transition=null,An(ga),e(t,i,u,m)}finally{An(g),xa.transition=T,It===na&&jf()}}function zi(e){du!==null&&du.tag===tu&&(It&(Pa|_o))===na&&Hi();var t=It;It|=hT;var i=xa.transition,u=xr();try{return xa.transition=null,An(ga),e?e():void 0}finally{An(u),xa.transition=i,It=t,(It&(Pa|_o))===na&&nu()}}function CT(){return(It&(Pa|_o))!==na}function Th(e,t){Xa(Fg,js,e),js=pt(js,t)}function Wg(e){js=Fg.current,Za(Fg,e)}function Fc(e,t){e.finishedWork=null,e.finishedLanes=he;var i=e.timeoutHandle;if(i!==z8&&(e.timeoutHandle=z8,J_(i)),gn!==null)for(var u=gn.return;u!==null;){var m=u.alternate;Jv(m,u),u=u.return}fr=e;var g=Bc(e.current,null);return gn=g,aa=js=t,ra=ji,Ff=null,dh=he,Vf=he,mh=he,Bf=null,Br=null,kN(),es.discardPendingWarnings(),g}function ET(e,t){do{var i=gn;try{if(N3(),Y7(),On(),Dg.current=null,i===null||i.return===null){ra=Df,Ff=t,gn=null;return}if(gt&&i.mode&ot&&ah(i,!0),Ye)if(Wa(),t!==null&&typeof t=="object"&&typeof t.then=="function"){var u=t;yi(i,u,aa)}else ac(i,t,aa);KN(e,i.return,i,t,aa),RT(i)}catch(m){t=m,gn===i&&i!==null?(i=i.return,gn=i):i=gn;continue}return}while(!0)}function _T(){var e=Mg.current;return Mg.current=X3,e===null?X3:e}function IT(e){Mg.current=e}function IO(){Vg=an()}function Hf(e){dh=pt(e,dh)}function NO(){ra===ji&&(ra=ch)}function Qg(){(ra===ji||ra===ch||ra===Dc)&&(ra=Uf),fr!==null&&(uc(dh)||uc(Vf))&&fu(fr,aa)}function RO(e){ra!==Uf&&(ra=Dc),Bf===null?Bf=[e]:Bf.push(e)}function OO(){return ra===ji}function bh(e,t){var i=It;It|=Pa;var u=_T();if(fr!==e||aa!==t){if(lr){var m=e.memoizedUpdaters;m.size>0&&(Gf(e,aa),m.clear()),s1(e,t)}$i=xm(),Fc(e,t)}en(t);do try{LO();break}catch(g){ET(e,g)}while(!0);if(N3(),It=i,IT(u),gn!==null)throw new Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");return Bd(),fr=null,aa=he,ra}function LO(){for(;gn!==null;)NT(gn)}function AO(e,t){var i=It;It|=Pa;var u=_T();if(fr!==e||aa!==t){if(lr){var m=e.memoizedUpdaters;m.size>0&&(Gf(e,aa),m.clear()),s1(e,t)}$i=xm(),jf(),Fc(e,t)}en(t);do try{xO();break}catch(g){ET(e,g)}while(!0);return N3(),IT(u),It=i,gn!==null?(Vd(),ji):(Bd(),fr=null,aa=he,ra)}function xO(){for(;gn!==null&&!xd();)NT(gn)}function NT(e){var t=e.alternate;Bt(e);var i;(e.mode&ot)!==Ge?(Z4(e),i=Yg(t,e,js),ah(e,!0)):i=Yg(t,e,js),On(),e.memoizedProps=e.pendingProps,i===null?RT(e):gn=i,Dg.current=null}function RT(e){var t=e;do{var i=t.alternate,u=t.return;if((t.flags&or)===Xe){Bt(t);var m=void 0;if((t.mode&ot)===Ge?m=Xv(i,t,js):(Z4(t),m=Xv(i,t,js),ah(t,!1)),On(),m!==null){gn=m;return}}else{var g=NR(i,t);if(g!==null){g.flags&=mp,gn=g;return}if((t.mode&ot)!==Ge){ah(t,!1);for(var T=t.actualDuration,E=t.child;E!==null;)T+=E.actualDuration,E=E.sibling;t.actualDuration=T}if(u!==null)u.flags|=or,u.subtreeFlags=Xe,u.deletions=null;else{ra=Ug,gn=null;return}}var I=t.sibling;if(I!==null){gn=I;return}t=u,gn=t}while(t!==null);ra===ji&&(ra=gT)}function Vc(e,t,i){var u=xr(),m=xa.transition;try{xa.transition=null,An(ga),PO(e,t,i,u)}finally{xa.transition=m,An(u)}return null}function PO(e,t,i,u){do Hi();while(du!==null);if(GO(),(It&(Pa|_o))!==na)throw new Error("Should not already be working.");var m=e.finishedWork,g=e.finishedLanes;if(ws(g),m===null)return Dd(),null;if(g===he&&f("root.finishedLanes should not be empty during a commit. This is a bug in React."),e.finishedWork=null,e.finishedLanes=he,m===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=wn;var T=pt(m.lanes,m.childLanes);Lm(e,T),e===fr&&(fr=null,gn=null,aa=he),((m.subtreeFlags&Nr)!==Xe||(m.flags&Nr)!==Xe)&&(Uc||(Uc=!0,$g=i,Xg(yo,function(){return Hi(),null})));var E=(m.subtreeFlags&(Cl|Ga|fa|Nr))!==Xe,I=(m.flags&(Cl|Ga|fa|Nr))!==Xe;if(E||I){var A=xa.transition;xa.transition=null;var M=xr();An(ga);var q=It;It|=_o,Dg.current=null,xR(e,m),bv(),WR(e,m,g),q_(e.containerInfo),e.current=m,km(g),QR(m,e,g),Rl(),hp(),It=q,An(M),xa.transition=A}else e.current=m,bv();var H=Uc;if(Uc?(Uc=!1,du=e,$f=g):(K1=0,hh=null),T=e.pendingLanes,T===he&&(Y1=null),H||xT(e.current,!1),_l(m.stateNode,u),lr&&e.memoizedUpdaters.clear(),fO(),jr(e,an()),t!==null)for(var ee=e.onRecoverableError,ae=0;ae<t.length;ae++){var le=t[ae],Ie=le.stack,Qe=le.digest;ee(le.value,{componentStack:Ie,digest:Qe})}if(fh){fh=!1;var et=Bg;throw Bg=null,et}return Ka($f,Ke)&&e.tag!==tu&&Hi(),T=e.pendingLanes,Ka(T,Ke)?(VN(),e===zg?zf++:(zf=0,zg=e)):zf=0,nu(),Dd(),null}function Hi(){if(du!==null){var e=pc($f),t=f8(Wo,e),i=xa.transition,u=xr();try{return xa.transition=null,An(t),DO()}finally{An(u),xa.transition=i}}return!1}function MO(e){jg.push(e),Uc||(Uc=!0,Xg(yo,function(){return Hi(),null}))}function DO(){if(du===null)return!1;var e=$g;$g=null;var t=du,i=$f;if(du=null,$f=he,(It&(Pa|_o))!==na)throw new Error("Cannot flush passive effects while already rendering.");Hg=!0,ph=!1,kp(i);var u=It;It|=_o,tO(t.current),ZR(t,t.current,i,e);{var m=jg;jg=[];for(var g=0;g<m.length;g++){var T=m[g];UR(t,T)}}Sm(),xT(t.current,!0),It=u,nu(),ph?t===hh?K1++:(K1=0,hh=t):K1=0,Hg=!1,ph=!1,Lr(t);{var E=t.current.stateNode;E.effectDuration=0,E.passiveEffectDuration=0}return!0}function OT(e){return Y1!==null&&Y1.has(e)}function UO(e){Y1===null?Y1=new Set([e]):Y1.add(e)}function FO(e){fh||(fh=!0,Bg=e)}var VO=FO;function LT(e,t,i){var u=Pc(i,t),m=Nv(e,u,Ke),g=ru(e,m,Ke),T=pr();g!==null&&(Ci(g,Ke,T),jr(g,T))}function Xt(e,t,i){if(OR(i),qf(!1),e.tag===N){LT(e,e,i);return}var u=null;for(u=t;u!==null;){if(u.tag===N){LT(u,e,i);return}else if(u.tag===C){var m=u.type,g=u.stateNode;if(typeof m.getDerivedStateFromError=="function"||typeof g.componentDidCatch=="function"&&!OT(g)){var T=Pc(i,e),E=hg(u,T,Ke),I=ru(u,E,Ke),A=pr();I!==null&&(Ci(I,Ke,A),jr(I,A));return}}u=u.return}f(`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.
156
+
157
+ Error message:
158
+
159
+ %s`,i)}function BO(e,t,i){var u=e.pingCache;u!==null&&u.delete(t);var m=pr();Om(e,i),YO(e),fr===e&&wi(aa,i)&&(ra===Uf||ra===ch&&_p(aa)&&an()-Vg<yT?Fc(e,he):mh=pt(mh,i)),jr(e,m)}function AT(e,t){t===wn&&(t=bO(e));var i=pr(),u=Fr(e,t);u!==null&&(Ci(u,t,i),jr(u,i))}function jO(e){var t=e.memoizedState,i=wn;t!==null&&(i=t.retryLane),AT(e,i)}function $O(e,t){var i=wn,u;switch(e.tag){case te:u=e.stateNode;var m=e.memoizedState;m!==null&&(i=m.retryLane);break;case De: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),AT(e,i)}function zO(e){return e<120?120:e<480?480:e<1080?1080:e<1920?1920:e<3e3?3e3:e<4320?4320:gO(e/1960)*1960}function HO(){if(zf>vO)throw zf=0,zg=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.");K1>TO&&(K1=0,hh=null,f("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 GO(){es.flushLegacyContextWarning(),es.flushPendingUnsafeLifecycleWarnings()}function xT(e,t){Bt(e),kh(e,Ha,cO),t&&kh(e,pi,dO),kh(e,Ha,lO),t&&kh(e,pi,uO),On()}function kh(e,t,i){for(var u=e,m=null;u!==null;){var g=u.subtreeFlags&t;u!==m&&u.child!==null&&g!==Xe?u=u.child:((u.flags&t)!==Xe&&i(u),u.sibling!==null?u=u.sibling:u=m=u.return)}}var Sh=null;function PT(e){{if((It&Pa)!==na||!(e.mode&qe))return;var t=e.tag;if(t!==_&&t!==N&&t!==C&&t!==b&&t!==K&&t!==ue&&t!==oe)return;var i=ft(e)||"ReactComponent";if(Sh!==null){if(Sh.has(i))return;Sh.add(i)}else Sh=new Set([i]);var u=bn;try{Bt(e),f("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?Bt(e):On()}}}var Yg;{var qO=null;Yg=function(e,t,i){var u=jT(qO,t);try{return Wv(e,t,i)}catch(g){if(rN()||g!==null&&typeof g=="object"&&typeof g.then=="function")throw g;if(N3(),Y7(),Jv(e,t),jT(t,u),t.mode&ot&&Z4(t),fi(null,Wv,null,e,t,i),u8()){var m=mm();typeof m=="object"&&m!==null&&m._suppressLogging&&typeof g=="object"&&g!==null&&!g._suppressLogging&&(g._suppressLogging=!0)}throw g}}}var MT=!1,Kg;Kg=new Set;function WO(e){if(Sr&&!DN())switch(e.tag){case b:case K:case oe:{var t=gn&&ft(gn)||"Unknown",i=t;if(!Kg.has(i)){Kg.add(i);var u=ft(e)||"Unknown";f("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:{MT||(f("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),MT=!0);break}}}function Gf(e,t){if(lr){var i=e.memoizedUpdaters;i.forEach(function(u){Am(e,u,t)})}}var Zg={};function Xg(e,t){{var i=ls.current;return i!==null?(i.push(t),Zg):Ad(e,t)}}function DT(e){if(e!==Zg)return pp(e)}function UT(){return ls.current!==null}function QO(e){{if(e.mode&qe){if(!pT())return}else if(!hO()||It!==na||e.tag!==b&&e.tag!==K&&e.tag!==oe)return;if(ls.current===null){var t=bn;try{Bt(e),f(`An update to %s inside a test was not wrapped in act(...).
160
+
161
+ When testing, code that causes React state updates should be wrapped into act(...):
162
+
163
+ act(() => {
164
+ /* fire events that update state */
165
+ });
166
+ /* assert on the output */
167
+
168
+ 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`,ft(e))}finally{t?Bt(e):On()}}}}function YO(e){e.tag!==tu&&pT()&&ls.current===null&&f(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
169
+
170
+ When testing, code that resolves suspended data should be wrapped into act(...):
171
+
172
+ act(() => {
173
+ /* finish loading suspended data */
174
+ });
175
+ /* assert on the output */
176
+
177
+ 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 qf(e){bT=e}var Io=null,Z1=null,KO=function(e){Io=e};function X1(e){{if(Io===null)return e;var t=Io(e);return t===void 0?e:t.current}}function Jg(e){return X1(e)}function e5(e){{if(Io===null)return e;var t=Io(e);if(t===void 0){if(e!=null&&typeof e.render=="function"){var i=X1(e.render);if(e.render!==i){var u={$$typeof:cl,render:i};return e.displayName!==void 0&&(u.displayName=e.displayName),u}}return e}return t.current}}function FT(e,t){{if(Io===null)return!1;var i=e.elementType,u=t.type,m=!1,g=typeof u=="object"&&u!==null?u.$$typeof:null;switch(e.tag){case C:{typeof u=="function"&&(m=!0);break}case b:{(typeof u=="function"||g===Ea)&&(m=!0);break}case K:{(g===cl||g===Ea)&&(m=!0);break}case ue:case oe:{(g===dl||g===Ea)&&(m=!0);break}default:return!1}if(m){var T=Io(i);if(T!==void 0&&T===Io(u))return!0}return!1}}function VT(e){{if(Io===null||typeof WeakSet!="function")return;Z1===null&&(Z1=new WeakSet),Z1.add(e)}}var ZO=function(e,t){{if(Io===null)return;var i=t.staleFamilies,u=t.updatedFamilies;Hi(),zi(function(){t5(e.current,u,i)})}},XO=function(e,t){{if(e.context!==ro)return;Hi(),zi(function(){Wf(t,e,null,null)})}};function t5(e,t,i){{var u=e.alternate,m=e.child,g=e.sibling,T=e.tag,E=e.type,I=null;switch(T){case b:case oe:case C:I=E;break;case K:I=E.render;break}if(Io===null)throw new Error("Expected resolveFamily to be set during hot reload.");var A=!1,M=!1;if(I!==null){var q=Io(I);q!==void 0&&(i.has(q)?M=!0:t.has(q)&&(T===C?M=!0:A=!0))}if(Z1!==null&&(Z1.has(e)||u!==null&&Z1.has(u))&&(M=!0),M&&(e._debugNeedsRemount=!0),M||A){var H=Fr(e,Ke);H!==null&&oa(H,e,Ke,Wt)}m!==null&&!M&&t5(m,t,i),g!==null&&t5(g,t,i)}}var JO=function(e,t){{var i=new Set,u=new Set(t.map(function(m){return m.current}));return n5(e.current,u,i),i}};function n5(e,t,i){{var u=e.child,m=e.sibling,g=e.tag,T=e.type,E=null;switch(g){case b:case oe:case C:E=T;break;case K:E=T.render;break}var I=!1;E!==null&&t.has(E)&&(I=!0),I?eL(e,i):u!==null&&n5(u,t,i),m!==null&&n5(m,t,i)}}function eL(e,t){{var i=tL(e,t);if(i)return;for(var u=e;;){switch(u.tag){case L:t.add(u.stateNode);return;case O:t.add(u.stateNode.containerInfo);return;case N:t.add(u.stateNode.containerInfo);return}if(u.return===null)throw new Error("Expected to reach root first.");u=u.return}}}function tL(e,t){for(var i=e,u=!1;;){if(i.tag===L)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 a5;{a5=!1;try{var Ene=Object.preventExtensions({})}catch{a5=!0}}function nL(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=Xe,this.subtreeFlags=Xe,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,!a5&&typeof Object.preventExtensions=="function"&&Object.preventExtensions(this)}var oo=function(e,t,i,u){return new nL(e,t,i,u)};function r5(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function aL(e){return typeof e=="function"&&!r5(e)&&e.defaultProps===void 0}function rL(e){if(typeof e=="function")return r5(e)?C:b;if(e!=null){var t=e.$$typeof;if(t===cl)return K;if(t===dl)return ue}return _}function Bc(e,t){var i=e.alternate;i===null?(i=oo(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=Xe,i.subtreeFlags=Xe,i.deletions=null,i.actualDuration=0,i.actualStartTime=-1),i.flags=e.flags&Yn,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 _:case b:case oe:i.type=X1(e.type);break;case C:i.type=Jg(e.type);break;case K:i.type=e5(e.type);break}return i}function oL(e,t){e.flags&=Yn|Kt;var i=e.alternate;if(i===null)e.childLanes=he,e.lanes=t,e.child=null,e.subtreeFlags=Xe,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=Xe,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 sL(e,t,i){var u;return e===v3?(u=qe,t===!0&&(u|=bt,u|=ur)):u=Ge,lr&&(u|=ot),oo(N,null,null,u)}function o5(e,t,i,u,m,g){var T=_,E=e;if(typeof e=="function")r5(e)?(T=C,E=Jg(E)):E=X1(E);else if(typeof e=="string")T=L;else e:switch(e){case Po:return pu(i.children,m,g,t);case ul:T=B,m|=bt,(m&qe)!==Ge&&(m|=ur);break;case Ou:return iL(i,m,g,t);case po:return lL(i,m,g,t);case Lu:return uL(i,m,g,t);case P0:return BT(i,m,g,t);case w2:case k2:case j6:case $6:case S2:default:{if(typeof e=="object"&&e!==null)switch(e.$$typeof){case A0:T=Q;break e;case x0:T=V;break e;case cl:T=K,E=e5(E);break e;case dl:T=ue;break e;case Ea:T=Ne,E=null;break e}var I="";{(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(I+=" 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 A=u?ft(u):null;A&&(I+=`
178
+
179
+ Check the render method of \``+A+"`.")}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)+"."+I))}}var M=oo(T,i,t,m);return M.elementType=e,M.type=E,M.lanes=g,M._debugOwner=u,M}function s5(e,t,i){var u=null;u=e._owner;var m=e.type,g=e.key,T=e.props,E=o5(m,g,T,u,t,i);return E._debugSource=e._source,E._debugOwner=e._owner,E}function pu(e,t,i,u){var m=oo(D,e,u,t);return m.lanes=i,m}function iL(e,t,i,u){typeof e.id!="string"&&f('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id);var m=oo(re,e,u,t|ot);return m.elementType=Ou,m.lanes=i,m.stateNode={effectDuration:0,passiveEffectDuration:0},m}function lL(e,t,i,u){var m=oo(te,e,u,t);return m.elementType=po,m.lanes=i,m}function uL(e,t,i,u){var m=oo(De,e,u,t);return m.elementType=Lu,m.lanes=i,m}function BT(e,t,i,u){var m=oo(ke,e,u,t);m.elementType=P0,m.lanes=i;var g={isHidden:!1};return m.stateNode=g,m}function i5(e,t,i){var u=oo(x,e,null,t);return u.lanes=i,u}function cL(){var e=oo(L,null,null,Ge);return e.elementType="DELETED",e}function dL(e){var t=oo(Fe,null,null,Ge);return t.stateNode=e,t}function l5(e,t,i){var u=e.children!==null?e.children:[],m=oo(O,u,e.key,t);return m.lanes=i,m.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},m}function jT(e,t){return e===null&&(e=oo(_,null,null,Ge)),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 mL(e,t,i,u,m){this.tag=t,this.containerInfo=e,this.pendingChildren=null,this.current=null,this.pingCache=null,this.finishedWork=null,this.timeoutHandle=z8,this.context=null,this.pendingContext=null,this.callbackNode=null,this.callbackPriority=wn,this.eventTimes=o1(he),this.expirationTimes=o1(Wt),this.pendingLanes=he,this.suspendedLanes=he,this.pingedLanes=he,this.expiredLanes=he,this.mutableReadLanes=he,this.finishedLanes=he,this.entangledLanes=he,this.entanglements=o1(he),this.identifierPrefix=u,this.onRecoverableError=m,this.mutableSourceEagerHydrationData=null,this.effectDuration=0,this.passiveEffectDuration=0;{this.memoizedUpdaters=new Set;for(var g=this.pendingUpdatersLaneMap=[],T=0;T<sc;T++)g.push(new Set)}switch(t){case v3:this._debugRootType=i?"hydrateRoot()":"createRoot()";break;case tu:this._debugRootType=i?"hydrate()":"render()";break}}function $T(e,t,i,u,m,g,T,E,I,A){var M=new mL(e,t,i,E,I),q=sL(t,g);M.current=q,q.stateNode=M;{var H={element:u,isDehydrated:i,cache:null,transitions:null,pendingSuspenseBoundaries:null};q.memoizedState=H}return k4(q),M}var u5="18.3.1";function fL(e,t,i){var u=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return me(u),{$$typeof:Yr,key:u==null?null:""+u,children:e,containerInfo:t,implementation:i}}var c5,d5;c5=!1,d5={};function zT(e){if(!e)return ro;var t=Er(e),i=YI(t);if(t.tag===C){var u=t.type;if(Ps(u))return y7(t,u,i)}return i}function pL(e,t){{var i=Er(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 m=Rr(i);if(m===null)return null;if(m.mode&bt){var g=ft(i)||"Component";if(!d5[g]){d5[g]=!0;var T=bn;try{Bt(m),i.mode&bt?f("%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,g):f("%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,g)}finally{T?Bt(T):On()}}}return m.stateNode}}function HT(e,t,i,u,m,g,T,E){var I=!1,A=null;return $T(e,t,I,A,i,u,m,g,T)}function GT(e,t,i,u,m,g,T,E,I,A){var M=!0,q=$T(i,u,M,e,m,g,T,E,I);q.context=zT(null);var H=q.current,ee=pr(),ae=mu(H),le=Vi(ee,ae);return le.callback=t??null,ru(H,le,ae),kO(q,ae,ee),q}function Wf(e,t,i,u){bm(t,e);var m=t.current,g=pr(),T=mu(m);wm(T);var E=zT(i);t.context===null?t.context=E:t.pendingContext=E,Sr&&bn!==null&&!c5&&(c5=!0,f(`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.
180
+
181
+ Check the render method of %s.`,ft(bn)||"Unknown"));var I=Vi(g,T);I.payload={element:e},u=u===void 0?null:u,u!==null&&(typeof u!="function"&&f("render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",u),I.callback=u);var A=ru(m,I,T);return A!==null&&(oa(A,m,T,g),x3(A,m,T)),T}function wh(e){var t=e.current;if(!t.child)return null;switch(t.child.tag){case L:return t.child.stateNode;default:return t.child.stateNode}}function hL(e){switch(e.tag){case N:{var t=e.stateNode;if(xn(t)){var i=_m(t);EO(t,i)}break}case te:{zi(function(){var m=Fr(e,Ke);if(m!==null){var g=pr();oa(m,e,Ke,g)}});var u=Ke;m5(e,u);break}}}function qT(e,t){var i=e.memoizedState;i!==null&&i.dehydrated!==null&&(i.retryLane=Lp(i.retryLane,t))}function m5(e,t){qT(e,t);var i=e.alternate;i&&qT(i,t)}function gL(e){if(e.tag===te){var t=lc,i=Fr(e,t);if(i!==null){var u=pr();oa(i,e,t,u)}m5(e,t)}}function yL(e){if(e.tag===te){var t=mu(e),i=Fr(e,t);if(i!==null){var u=pr();oa(i,e,t,u)}m5(e,t)}}function WT(e){var t=fp(e);return t===null?null:t.stateNode}var QT=function(e){return null};function vL(e){return QT(e)}var YT=function(e){return!1};function TL(e){return YT(e)}var KT=null,ZT=null,XT=null,JT=null,eb=null,tb=null,nb=null,ab=null,rb=null;{var ob=function(e,t,i){var u=t[i],m=Bn(e)?e.slice():Ct({},e);return i+1===t.length?(Bn(m)?m.splice(u,1):delete m[u],m):(m[u]=ob(e[u],t,i+1),m)},sb=function(e,t){return ob(e,t,0)},ib=function(e,t,i,u){var m=t[u],g=Bn(e)?e.slice():Ct({},e);if(u+1===t.length){var T=i[u];g[T]=g[m],Bn(g)?g.splice(m,1):delete g[m]}else g[m]=ib(e[m],t,i,u+1);return g},lb=function(e,t,i){if(t.length!==i.length){p("copyWithRename() expects paths of the same length");return}else for(var u=0;u<i.length-1;u++)if(t[u]!==i[u]){p("copyWithRename() expects paths to be the same except for the deepest key");return}return ib(e,t,i,0)},ub=function(e,t,i,u){if(i>=t.length)return u;var m=t[i],g=Bn(e)?e.slice():Ct({},e);return g[m]=ub(e[m],t,i+1,u),g},cb=function(e,t,i){return ub(e,t,0,i)},f5=function(e,t){for(var i=e.memoizedState;i!==null&&t>0;)i=i.next,t--;return i};KT=function(e,t,i,u){var m=f5(e,t);if(m!==null){var g=cb(m.memoizedState,i,u);m.memoizedState=g,m.baseState=g,e.memoizedProps=Ct({},e.memoizedProps);var T=Fr(e,Ke);T!==null&&oa(T,e,Ke,Wt)}},ZT=function(e,t,i){var u=f5(e,t);if(u!==null){var m=sb(u.memoizedState,i);u.memoizedState=m,u.baseState=m,e.memoizedProps=Ct({},e.memoizedProps);var g=Fr(e,Ke);g!==null&&oa(g,e,Ke,Wt)}},XT=function(e,t,i,u){var m=f5(e,t);if(m!==null){var g=lb(m.memoizedState,i,u);m.memoizedState=g,m.baseState=g,e.memoizedProps=Ct({},e.memoizedProps);var T=Fr(e,Ke);T!==null&&oa(T,e,Ke,Wt)}},JT=function(e,t,i){e.pendingProps=cb(e.memoizedProps,t,i),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var u=Fr(e,Ke);u!==null&&oa(u,e,Ke,Wt)},eb=function(e,t){e.pendingProps=sb(e.memoizedProps,t),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var i=Fr(e,Ke);i!==null&&oa(i,e,Ke,Wt)},tb=function(e,t,i){e.pendingProps=lb(e.memoizedProps,t,i),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var u=Fr(e,Ke);u!==null&&oa(u,e,Ke,Wt)},nb=function(e){var t=Fr(e,Ke);t!==null&&oa(t,e,Ke,Wt)},ab=function(e){QT=e},rb=function(e){YT=e}}function bL(e){var t=Rr(e);return t===null?null:t.stateNode}function kL(e){return null}function SL(){return bn}function wL(e){var t=e.findFiberByHostInstance,i=o.ReactCurrentDispatcher;return Tm({bundleType:e.bundleType,version:e.version,rendererPackageName:e.rendererPackageName,rendererConfig:e.rendererConfig,overrideHookState:KT,overrideHookStateDeletePath:ZT,overrideHookStateRenamePath:XT,overrideProps:JT,overridePropsDeletePath:eb,overridePropsRenamePath:tb,setErrorHandler:ab,setSuspenseHandler:rb,scheduleUpdate:nb,currentDispatcherRef:i,findHostInstanceByFiber:bL,findFiberByHostInstance:t||kL,findHostInstancesForRefresh:JO,scheduleRefresh:ZO,scheduleRoot:XO,setRefreshHandler:KO,getCurrentFiber:SL,reconcilerVersion:u5})}var db=typeof reportError=="function"?reportError:function(e){console.error(e)};function p5(e){this._internalRoot=e}Ch.prototype.render=p5.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw new Error("Cannot update an unmounted root.");{typeof arguments[1]=="function"?f("render(...): does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):Eh(arguments[1])?f("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"&&f("You passed a second argument to root.render(...) but it only accepts one argument.");var i=t.containerInfo;if(i.nodeType!==kn){var u=WT(t.current);u&&u.parentNode!==i&&f("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.")}}Wf(e,t,null,null)},Ch.prototype.unmount=p5.prototype.unmount=function(){typeof arguments[0]=="function"&&f("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;CT()&&f("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."),zi(function(){Wf(null,e,null,null)}),m7(t)}};function CL(e,t){if(!Eh(e))throw new Error("createRoot(...): Target container is not a DOM element.");mb(e);var i=!1,u=!1,m="",g=db;t!=null&&(t.hydrate?p("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof t=="object"&&t!==null&&t.$$typeof===ll&&f(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
182
+
183
+ let root = createRoot(domContainer);
184
+ root.render(<App />);`),t.unstable_strictMode===!0&&(i=!0),t.identifierPrefix!==void 0&&(m=t.identifierPrefix),t.onRecoverableError!==void 0&&(g=t.onRecoverableError),t.transitionCallbacks!==void 0&&t.transitionCallbacks);var T=HT(e,v3,null,i,u,m,g);d3(T.current,e);var E=e.nodeType===kn?e.parentNode:e;return Jm(E),new p5(T)}function Ch(e){this._internalRoot=e}function EL(e){e&&Vp(e)}Ch.prototype.unstable_scheduleHydration=EL;function _L(e,t,i){if(!Eh(e))throw new Error("hydrateRoot(...): Target container is not a DOM element.");mb(e),t===void 0&&f("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var u=i??null,m=i!=null&&i.hydratedSources||null,g=!1,T=!1,E="",I=db;i!=null&&(i.unstable_strictMode===!0&&(g=!0),i.identifierPrefix!==void 0&&(E=i.identifierPrefix),i.onRecoverableError!==void 0&&(I=i.onRecoverableError));var A=GT(t,null,e,v3,u,g,T,E,I);if(d3(A.current,e),Jm(e),m)for(var M=0;M<m.length;M++){var q=m[M];ON(A,q)}return new Ch(A)}function Eh(e){return!!(e&&(e.nodeType===ja||e.nodeType===Jr||e.nodeType===ii||!z))}function Qf(e){return!!(e&&(e.nodeType===ja||e.nodeType===Jr||e.nodeType===ii||e.nodeType===kn&&e.nodeValue===" react-mount-point-unstable "))}function mb(e){e.nodeType===ja&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&f("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."),df(e)&&(e._reactRootContainer?f("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):f("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 IL=o.ReactCurrentOwner,fb;fb=function(e){if(e._reactRootContainer&&e.nodeType!==kn){var t=WT(e._reactRootContainer.current);t&&t.parentNode!==e&&f("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=h5(e),m=!!(u&&Jl(u));m&&!i&&f("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===ja&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&f("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 h5(e){return e?e.nodeType===Jr?e.documentElement:e.firstChild:null}function pb(){}function NL(e,t,i,u,m){if(m){if(typeof u=="function"){var g=u;u=function(){var H=wh(T);g.call(H)}}var T=GT(t,u,e,tu,null,!1,!1,"",pb);e._reactRootContainer=T,d3(T.current,e);var E=e.nodeType===kn?e.parentNode:e;return Jm(E),zi(),T}else{for(var I;I=e.lastChild;)e.removeChild(I);if(typeof u=="function"){var A=u;u=function(){var H=wh(M);A.call(H)}}var M=HT(e,tu,null,!1,!1,"",pb);e._reactRootContainer=M,d3(M.current,e);var q=e.nodeType===kn?e.parentNode:e;return Jm(q),zi(function(){Wf(t,M,i,u)}),M}}function RL(e,t){e!==null&&typeof e!="function"&&f("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e)}function _h(e,t,i,u,m){fb(i),RL(m===void 0?null:m,"render");var g=i._reactRootContainer,T;if(!g)T=NL(i,t,e,m,u);else{if(T=g,typeof m=="function"){var E=m;m=function(){var I=wh(T);E.call(I)}}Wf(t,T,e,m)}return wh(T)}var hb=!1;function OL(e){{hb||(hb=!0,f("findDOMNode is deprecated and will be removed in the next major release. 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"));var t=IL.current;if(t!==null&&t.stateNode!==null){var i=t.stateNode._warnedAboutRefsInRender;i||f("%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.",Vt(t.type)||"A component"),t.stateNode._warnedAboutRefsInRender=!0}}return e==null?null:e.nodeType===ja?e:pL(e,"findDOMNode")}function LL(e,t,i){if(f("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"),!Qf(t))throw new Error("Target container is not a DOM element.");{var u=df(t)&&t._reactRootContainer===void 0;u&&f("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 _h(null,e,t,!0,i)}function AL(e,t,i){if(f("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"),!Qf(t))throw new Error("Target container is not a DOM element.");{var u=df(t)&&t._reactRootContainer===void 0;u&&f("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 _h(null,e,t,!1,i)}function xL(e,t,i,u){if(f("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"),!Qf(i))throw new Error("Target container is not a DOM element.");if(e==null||!Ju(e))throw new Error("parentComponent must be a valid React Component");return _h(e,t,i,!1,u)}var gb=!1;function PL(e){if(gb||(gb=!0,f("unmountComponentAtNode is deprecated and will be removed in the next major release. Switch to the createRoot API. Learn more: https://reactjs.org/link/switch-to-createroot")),!Qf(e))throw new Error("unmountComponentAtNode(...): Target container is not a DOM element.");{var t=df(e)&&e._reactRootContainer===void 0;t&&f("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=h5(e),u=i&&!Jl(i);u&&f("unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React.")}return zi(function(){_h(null,null,e,!1,function(){e._reactRootContainer=null,m7(e)})}),!0}else{{var m=h5(e),g=!!(m&&Jl(m)),T=e.nodeType===ja&&Qf(e.parentNode)&&!!e.parentNode._reactRootContainer;g&&f("unmountComponentAtNode(): The node you're attempting to unmount was rendered by React and is not a top-level container. %s",T?"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}}Ue(hL),xp(gL),hc(yL),Mm(xr),Mp(fc),(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")&&f("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"),cp(D_),Id(qg,_O,zi);function ML(e,t){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!Eh(t))throw new Error("Target container is not a DOM element.");return fL(e,t,null,i)}function DL(e,t,i,u){return xL(e,t,i,u)}var g5={usingClientEntryPoint:!1,Events:[Jl,R1,m3,_d,Ku,qg]};function UL(e,t){return g5.usingClientEntryPoint||f('You are importing createRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),CL(e,t)}function FL(e,t,i){return g5.usingClientEntryPoint||f('You are importing hydrateRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),_L(e,t,i)}function VL(e){return CT()&&f("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."),zi(e)}var BL=wL({findFiberByHostInstance:Ec,bundleType:1,version:u5,rendererPackageName:"react-dom"});if(!BL&&Gt&&window.top===window.self&&(navigator.userAgent.indexOf("Chrome")>-1&&navigator.userAgent.indexOf("Edge")===-1||navigator.userAgent.indexOf("Firefox")>-1)){var yb=window.location.protocol;/^(https?|file):$/.test(yb)&&console.info("%cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools"+(yb==="file:"?`
185
+ You might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq`:""),"font-weight:bold")}io.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=g5,io.createPortal=ML,io.createRoot=UL,io.findDOMNode=OL,io.flushSync=VL,io.hydrate=LL,io.hydrateRoot=FL,io.render=AL,io.unmountComponentAtNode=PL,io.unstable_batchedUpdates=qg,io.unstable_renderSubtreeIntoContainer=DL,io.version=u5,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),io}function pC(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function")){if(C0.env.NODE_ENV!=="production")throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(pC)}catch(n){console.error(n)}}}C0.env.NODE_ENV==="production"?(pC(),v9.exports=LV()):v9.exports=AV();var l6=v9.exports;const xV=P("div")({name:"StaticContainer",class:"svm502q",propsAsIs:!1}),PV=`
186
+ .sl-hide-on-modal {
187
+ height: 0 !important;
188
+ opacity: 0 !important;
189
+ overflow: hidden !important;
190
+ }
191
+ `,MV=`
192
+ .sl-pill-button {
193
+ display: none !important;
194
+ }
195
+ `,hC=()=>window.innerWidth>=ca.lg&&window.innerWidth<ca.xl?76:53,ak=n=>{var a;const o=hC();return Math.round((((a=n.current)==null?void 0:a.getBoundingClientRect().y)||0)-o)<=0},gC=({children:n,container:a,useContainer:o})=>{const[l]=W.useState(()=>ak(a)),[c,p]=W.useState(!1);return W.useEffect(()=>{if(!a.current||!l)return p(!0),()=>{};const f=window.scrollY;return p(!0),()=>{ak(a)&&window.scrollTo({top:f,behavior:"instant"})}},[]),W.useEffect(()=>{if(c&&a.current&&l){const f=hC();window.scrollTo({top:a.current.offsetTop-f,behavior:"instant"})}},[c]),!a.current||!c?null:o?l6.createPortal(w.jsxs(xV,{children:[n,w.jsx("style",{children:PV}),w.jsx("style",{children:MV})]}),a.current,"modal-node"):l6.createPortal(n,a.current,"modal-node")},DV=P("div")({name:"Container",class:"c1pgyo67",propsAsIs:!1}),UV="sx17qu6",FV="h1692c5m",N0=({children:n,style:a,className:o,enabled:l=!0,hiding:c,onAnimationEnd:p})=>w.jsx(DV,{style:a,className:ku(o,l&&UV,l&&c&&FV),onAnimationEnd:p,children:n}),VV=()=>N0,BV=P(VV())({name:"GrowingContainer",class:"gck55ev",propsAsIs:!0}),yC=({children:n,style:a,enabled:o,animate:l,...c})=>{const p=W.useRef(null),f=W.useMemo(()=>{const y=p==null?void 0:p.current,b=y&&window.getComputedStyle(y),C=b==null?void 0:b.getPropertyValue("height");return o?{height:l?C:0}:{}},[o,l]);return w.jsx(BV,{...c,enabled:o&&l,style:{...a,...f},children:w.jsx("div",{ref:p,children:n})})},vC=W.createContext({sdk:null}),uy=()=>W.useContext(vC),rk=P("div")({name:"SponsorLogoWrap",class:"s8p5v5z",propsAsIs:!1}),jV=()=>wt,ok=P(jV())({name:"SponsorLogo",class:"s755yti",propsAsIs:!0}),$V=({mastersApp:n})=>n?w.jsx(rk,{children:w.jsx(ok,{name:"mastersLogo"})}):w.jsx(rk,{children:w.jsx(ok,{name:"streamLayerLogo"})}),zV=P("div")({name:"Container",class:"c1gcvmcj",propsAsIs:!1}),HV=P("div")({name:"Title",class:"tnr592a",propsAsIs:!1}),GV=P("div")({name:"Description",class:"d1e8jqpv",propsAsIs:!1}),qV=()=>wt,WV=P(qV())({name:"Icon",class:"i1vs651k",propsAsIs:!0}),QV=({icon:n,title:a,description:o})=>w.jsxs(zV,{children:[w.jsx(WV,{name:n}),w.jsx(HV,{children:a}),w.jsx(GV,{children:o})]}),YV=()=>yC,KV=P(YV())({name:"ShowInContainer",class:"s16sbdnm",propsAsIs:!0}),$c=P("div")({name:"FeedbackContainer",class:"fbhorgl",propsAsIs:!1}),ZV=P("div")({name:"Container",class:"c1g20ja7",propsAsIs:!1}),XV=()=>wt,sk=P(XV())({name:"IconPrediction",class:"i455ozj",propsAsIs:!0}),Xf=P("div")({name:"FeedbackIconWrap",class:"f1913njx",propsAsIs:!1}),Ph=P("div")({name:"FeedbackHeader",class:"fzfk69z",propsAsIs:!1}),JV=P("span")({name:"FeedbackTitle",class:"fx87qaj",propsAsIs:!1}),zc=P("span")({name:"FeedbackDescription",class:"fvek9ew",propsAsIs:!1}),R5=P("div")({name:"FeedbackText",class:"f1kbtp09",propsAsIs:!1}),eB=P("span")({name:"DynamicWrap",class:"d4i8rro",propsAsIs:!1}),tB=({feedbackMessages:n,questionVotedCorrectly:a,questionVoted:o,questionType:l,hasCorrectAnswer:c,showExpiredNotification:p,showClosedNotificationTrivia:f,votedInCurrentRender:y,votedAfterQuestionClosed:b,voteErrorMessage:C,enteredAnActiveQuestion:_,marketClosed:N,percentsAnimated:O})=>{const L=o&&(l===fe.TRIVIA||l===fe.PREDICTION),x=l===fe.PREDICTION&&!c,D=N&&l===fe.PREDICTION&&!o&&!_||l===fe.PREDICTION&&b&&y&&_,B=L&&x,V=L&&c,Q=l===fe.PREDICTION&&o&&y&&c,K=o&&l===fe.POLL&&y,re=a?"correct":"incorrect",te=a?n==null?void 0:n.correctFeedback:n==null?void 0:n.incorrectFeedback;return p||f||B||V||D||K||Q||C?w.jsx(KV,{enabled:y,animate:O,children:w.jsxs(ZV,{"data-prediction":x,children:[C&&!D&&w.jsxs($c,{children:[w.jsx(sk,{name:"questionExpired"}),w.jsx(zc,{children:C})]}),!C&&p&&w.jsxs($c,{children:[w.jsx(Xf,{children:w.jsx(wt,{name:"questionExpired"})}),w.jsxs("div",{children:[w.jsx(Ph,{children:w.jsx(zc,{children:"Question Expired"})}),w.jsx(R5,{children:"You can still answer to see if you're correct, but no points are awarded for expired questions."})]})]}),!C&&f&&w.jsxs($c,{children:[w.jsx(Xf,{children:w.jsx(wt,{name:"questionExpired"})}),w.jsxs("div",{children:[w.jsx(Ph,{children:w.jsx(zc,{children:"Question Closed"})}),w.jsx(R5,{children:"This question was answered after the moderator closed the question. So the points for this answer won’t tally."})]})]}),D&&w.jsxs($c,{children:[w.jsx(Xf,{children:w.jsx(wt,{name:"questionExpired"})}),w.jsxs("div",{children:[w.jsx(Ph,{children:w.jsx(zc,{children:"Question Closed"})}),w.jsx(R5,{children:"This event has already taken place, so the ability to make a prediction on its outcome is no longer available."})]})]}),!C&&B&&w.jsxs($c,{children:[w.jsx(sk,{name:"icon-prediction"}),w.jsxs(zc,{children:["Your pick has been recorded. ",w.jsx(eB,{children:"We’ll notify you of the result."})]})]}),!C&&K&&w.jsxs($c,{children:[w.jsx(Xf,{"data-feedback-type":"correct",children:w.jsx(wt,{name:"correct"})}),w.jsx(zc,{children:"Thanks for answering. Please stay tuned for the next question."})]}),!C&&(V||Q)&&w.jsxs($c,{children:[w.jsx(Xf,{"data-feedback-type":re,children:w.jsx(wt,{name:re})}),w.jsx("div",{children:w.jsxs(Ph,{children:[w.jsx(JV,{"data-feedback-type":re,children:te==null?void 0:te.title}),w.jsx(zc,{children:te==null?void 0:te.description})]})})]})]})}):null},nB=P("div")({name:"SDKScrollContainer",class:"s102vcph",propsAsIs:!1}),cy=P("div")({name:"SDKContentContainer",class:"s1meqjjv",propsAsIs:!1}),aB=()=>cy,TC=P(aB())({name:"SDKWhiteContainer",class:"s1burm22",propsAsIs:!0}),rB=()=>TC,oB=P(rB())({name:"SDKSummaryContainer",class:"sm5r3j5",propsAsIs:!0}),sB=P("div")({name:"TabsContainer",class:"tysxwr6",propsAsIs:!1}),iB=()=>cy,lB=P(iB())({name:"LeaderboardContainer",class:"l9er3b1",propsAsIs:!0}),uB=()=>TC,cB=P(uB())({name:"TabsNavContainer",class:"t19dtrb3",propsAsIs:!0}),dB=P("div")({name:"UserSummaryContainer",class:"u1552n3j",propsAsIs:!1}),bC=P("div")({name:"Container",class:"c14ielyq",propsAsIs:!1}),mB=()=>nB,fB=P(mB())({name:"QuestionScrollContainer",class:"q1tlqx57",propsAsIs:!0}),kC=P("div")({name:"Content",class:"c1hq58md",propsAsIs:!1}),pB=P("div")({name:"Title",class:"t1c8nxcx",propsAsIs:!1}),SC=P("div")({name:"Options",class:"oiozuc3",propsAsIs:!1}),hB=()=>N0,gB=P(hB())({name:"AlertContainer",class:"apnc44r",propsAsIs:!0});var dy={},u6=function(){return u6=Object.assign||function(n){for(var a,o=1,l=arguments.length;o<l;o++)for(var c in a=arguments[o])Object.prototype.hasOwnProperty.call(a,c)&&(n[c]=a[c]);return n},u6.apply(this,arguments)},yB=function(){function n(a,o,l){var c=this;this.endVal=o,this.options=l,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(p){c.startTime||(c.startTime=p);var f=p-c.startTime;c.remaining=c.duration-f,c.useEasing?c.countDown?c.frameVal=c.startVal-c.easingFn(f,0,c.startVal-c.endVal,c.duration):c.frameVal=c.easingFn(f,c.startVal,c.endVal-c.startVal,c.duration):c.frameVal=c.startVal+(c.endVal-c.startVal)*(f/c.duration);var y=c.countDown?c.frameVal<c.endVal:c.frameVal>c.endVal;c.frameVal=y?c.endVal:c.frameVal,c.frameVal=Number(c.frameVal.toFixed(c.options.decimalPlaces)),c.printValue(c.frameVal),f<c.duration?c.rAF=requestAnimationFrame(c.count):c.finalEndVal!==null?c.update(c.finalEndVal):c.options.onCompleteCallback&&c.options.onCompleteCallback()},this.formatNumber=function(p){var f,y,b,C,_=p<0?"-":"";f=Math.abs(p).toFixed(c.options.decimalPlaces);var N=(f+="").split(".");if(y=N[0],b=N.length>1?c.options.decimal+N[1]:"",c.options.useGrouping){C="";for(var O=3,L=0,x=0,D=y.length;x<D;++x)c.options.useIndianSeparators&&x===4&&(O=2,L=1),x!==0&&L%O==0&&(C=c.options.separator+C),L++,C=y[D-x-1]+C;y=C}return c.options.numerals&&c.options.numerals.length&&(y=y.replace(/[0-9]/g,function(B){return c.options.numerals[+B]}),b=b.replace(/[0-9]/g,function(B){return c.options.numerals[+B]})),_+c.options.prefix+y+b+c.options.suffix},this.easeOutExpo=function(p,f,y,b){return y*(1-Math.pow(2,-10*p/b))*1024/1023+f},this.options=u6(u6({},this.defaults),l),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(o),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 a=="string"?document.getElementById(a):a,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,a):(window.onScrollFns=window.onScrollFns||[],window.onScrollFns.push(function(){return c.handleScroll(c)}),window.onscroll=function(){window.onScrollFns.forEach(function(p){return p()})},this.handleScroll(this)))}return n.prototype.handleScroll=function(a){if(a&&window&&!a.once){var o=window.innerHeight+window.scrollY,l=a.el.getBoundingClientRect(),c=l.top+window.pageYOffset,p=l.top+l.height+window.pageYOffset;p<o&&p>window.scrollY&&a.paused?(a.paused=!1,setTimeout(function(){return a.start()},a.options.scrollSpyDelay),a.options.scrollSpyOnce&&(a.once=!0)):(window.scrollY>p||c>o)&&!a.paused&&a.reset()}},n.prototype.determineDirectionAndSmartEasing=function(){var a=this.finalEndVal?this.finalEndVal:this.endVal;this.countDown=this.startVal>a;var o=a-this.startVal;if(Math.abs(o)>this.options.smartEasingThreshold&&this.options.useEasing){this.finalEndVal=a;var l=this.countDown?1:-1;this.endVal=a+l*this.options.smartEasingAmount,this.duration=this.duration/2}else this.endVal=a,this.finalEndVal=null;this.finalEndVal!==null?this.useEasing=!1:this.useEasing=this.options.useEasing},n.prototype.start=function(a){this.error||(this.options.onStartCallback&&this.options.onStartCallback(),a&&(this.options.onCompleteCallback=a),this.duration>0?(this.determineDirectionAndSmartEasing(),this.paused=!1,this.rAF=requestAnimationFrame(this.count)):this.printValue(this.endVal))},n.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},n.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)},n.prototype.update=function(a){cancelAnimationFrame(this.rAF),this.startTime=null,this.endVal=this.validateValue(a),this.endVal!==this.frameVal&&(this.startVal=this.frameVal,this.finalEndVal==null&&this.resetDuration(),this.finalEndVal=null,this.determineDirectionAndSmartEasing(),this.rAF=requestAnimationFrame(this.count))},n.prototype.printValue=function(a){var o;if(this.el){var l=this.formattingFn(a);!((o=this.options.plugin)===null||o===void 0)&&o.render?this.options.plugin.render(this.el,l):this.el.tagName==="INPUT"?this.el.value=l:this.el.tagName==="text"||this.el.tagName==="tspan"?this.el.textContent=l:this.el.innerHTML=l}},n.prototype.ensureNumber=function(a){return typeof a=="number"&&!isNaN(a)},n.prototype.validateValue=function(a){var o=Number(a);return this.ensureNumber(o)?o:(this.error="[CountUp] invalid start or end value: ".concat(a),null)},n.prototype.resetDuration=function(){this.startTime=null,this.duration=1e3*Number(this.options.duration),this.remaining=this.duration},n}();const vB=Object.freeze(Object.defineProperty({__proto__:null,CountUp:yB},Symbol.toStringTag,{value:"Module"})),TB=uA(vB);Object.defineProperty(dy,"__esModule",{value:!0});var wa=W,bB=TB;function kB(n,a){var o=n==null?null:typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(o!=null){var l,c,p,f,y=[],b=!0,C=!1;try{if(p=(o=o.call(n)).next,a!==0)for(;!(b=(l=p.call(o)).done)&&(y.push(l.value),y.length!==a);b=!0);}catch(_){C=!0,c=_}finally{try{if(!b&&o.return!=null&&(f=o.return(),Object(f)!==f))return}finally{if(C)throw c}}return y}}function ik(n,a){var o=Object.keys(n);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(n);a&&(l=l.filter(function(c){return Object.getOwnPropertyDescriptor(n,c).enumerable})),o.push.apply(o,l)}return o}function c6(n){for(var a=1;a<arguments.length;a++){var o=arguments[a]!=null?arguments[a]:{};a%2?ik(Object(o),!0).forEach(function(l){CB(n,l,o[l])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(o)):ik(Object(o)).forEach(function(l){Object.defineProperty(n,l,Object.getOwnPropertyDescriptor(o,l))})}return n}function SB(n,a){if(typeof n!="object"||!n)return n;var o=n[Symbol.toPrimitive];if(o!==void 0){var l=o.call(n,a||"default");if(typeof l!="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return(a==="string"?String:Number)(n)}function wB(n){var a=SB(n,"string");return typeof a=="symbol"?a:String(a)}function CB(n,a,o){return a=wB(a),a in n?Object.defineProperty(n,a,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[a]=o,n}function T9(){return T9=Object.assign?Object.assign.bind():function(n){for(var a=1;a<arguments.length;a++){var o=arguments[a];for(var l in o)Object.prototype.hasOwnProperty.call(o,l)&&(n[l]=o[l])}return n},T9.apply(this,arguments)}function EB(n,a){if(n==null)return{};var o={},l=Object.keys(n),c,p;for(p=0;p<l.length;p++)c=l[p],!(a.indexOf(c)>=0)&&(o[c]=n[c]);return o}function wC(n,a){if(n==null)return{};var o=EB(n,a),l,c;if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(n);for(c=0;c<p.length;c++)l=p[c],!(a.indexOf(l)>=0)&&Object.prototype.propertyIsEnumerable.call(n,l)&&(o[l]=n[l])}return o}function _B(n,a){return IB(n)||kB(n,a)||NB(n,a)||RB()}function IB(n){if(Array.isArray(n))return n}function NB(n,a){if(n){if(typeof n=="string")return lk(n,a);var o=Object.prototype.toString.call(n).slice(8,-1);if(o==="Object"&&n.constructor&&(o=n.constructor.name),o==="Map"||o==="Set")return Array.from(n);if(o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return lk(n,a)}}function lk(n,a){(a==null||a>n.length)&&(a=n.length);for(var o=0,l=new Array(a);o<a;o++)l[o]=n[o];return l}function RB(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
196
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var OB=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?wa.useLayoutEffect:wa.useEffect;function cs(n){var a=wa.useRef(n);return OB(function(){a.current=n}),wa.useCallback(function(){for(var o=arguments.length,l=new Array(o),c=0;c<o;c++)l[c]=arguments[c];return a.current.apply(void 0,l)},[])}var LB=function(a,o){var l=o.decimal,c=o.decimals,p=o.duration,f=o.easingFn,y=o.end,b=o.formattingFn,C=o.numerals,_=o.prefix,N=o.separator,O=o.start,L=o.suffix,x=o.useEasing,D=o.useGrouping,B=o.useIndianSeparators,V=o.enableScrollSpy,Q=o.scrollSpyDelay,K=o.scrollSpyOnce,re=o.plugin;return new bB.CountUp(a,y,{startVal:O,duration:p,decimal:l,decimalPlaces:c,easingFn:f,formattingFn:b,numerals:C,separator:N,prefix:_,suffix:L,plugin:re,useEasing:x,useIndianSeparators:B,useGrouping:D,enableScrollSpy:V,scrollSpyDelay:Q,scrollSpyOnce:K})},AB=["ref","startOnMount","enableReinitialize","delay","onEnd","onStart","onPauseResume","onReset","onUpdate"],xB={decimal:".",separator:",",delay:null,prefix:"",suffix:"",duration:2,start:0,decimals:0,startOnMount:!0,enableReinitialize:!0,useEasing:!0,useGrouping:!0,useIndianSeparators:!1},CC=function(a){var o=Object.fromEntries(Object.entries(a).filter(function(de){var Fe=_B(de,2),De=Fe[1];return De!==void 0})),l=wa.useMemo(function(){return c6(c6({},xB),o)},[a]),c=l.ref,p=l.startOnMount,f=l.enableReinitialize,y=l.delay,b=l.onEnd,C=l.onStart,_=l.onPauseResume,N=l.onReset,O=l.onUpdate,L=wC(l,AB),x=wa.useRef(),D=wa.useRef(),B=wa.useRef(!1),V=cs(function(){return LB(typeof c=="string"?c:c.current,L)}),Q=cs(function(de){var Fe=x.current;if(Fe&&!de)return Fe;var De=V();return x.current=De,De}),K=cs(function(){var de=function(){return Q(!0).start(function(){b==null||b({pauseResume:re,reset:te,start:oe,update:ue})})};y&&y>0?D.current=setTimeout(de,y*1e3):de(),C==null||C({pauseResume:re,reset:te,update:ue})}),re=cs(function(){Q().pauseResume(),_==null||_({reset:te,start:oe,update:ue})}),te=cs(function(){Q().el&&(D.current&&clearTimeout(D.current),Q().reset(),N==null||N({pauseResume:re,start:oe,update:ue}))}),ue=cs(function(de){Q().update(de),O==null||O({pauseResume:re,reset:te,start:oe})}),oe=cs(function(){te(),K()}),Ne=cs(function(de){p&&(de&&te(),K())});return wa.useEffect(function(){B.current?f&&Ne(!0):(B.current=!0,Ne())},[f,B,Ne,y,a.start,a.suffix,a.prefix,a.duration,a.separator,a.decimals,a.decimal,a.formattingFn]),wa.useEffect(function(){return function(){te()}},[te]),{start:oe,pauseResume:re,reset:te,update:ue,getCountUp:Q}},PB=["className","redraw","containerProps","children","style"],MB=function(a){var o=a.className,l=a.redraw,c=a.containerProps,p=a.children,f=a.style,y=wC(a,PB),b=wa.useRef(null),C=wa.useRef(!1),_=CC(c6(c6({},y),{},{ref:b,startOnMount:typeof p!="function"||a.delay===0,enableReinitialize:!1})),N=_.start,O=_.reset,L=_.update,x=_.pauseResume,D=_.getCountUp,B=cs(function(){N()}),V=cs(function(re){a.preserveValue||O(),L(re)}),Q=cs(function(){if(typeof a.children=="function"&&!(b.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}D()});wa.useEffect(function(){Q()},[Q]),wa.useEffect(function(){C.current&&V(a.end)},[a.end,V]);var K=l&&a;return wa.useEffect(function(){l&&C.current&&B()},[B,l,K]),wa.useEffect(function(){!l&&C.current&&B()},[B,l,a.start,a.suffix,a.prefix,a.duration,a.separator,a.decimals,a.decimal,a.className,a.formattingFn]),wa.useEffect(function(){C.current=!0},[]),typeof p=="function"?p({countUpRef:b,start:N,reset:O,update:L,pauseResume:x,getCountUp:D}):wa.createElement("span",T9({className:o,ref:b,style:f},c),typeof a.start<"u"?D().formattingFn(a.start):"")},DB=dy.default=MB;dy.useCountUp=CC;const N6=({value:n=0,decimals:a,duration:o=1,preserveValue:l=!0,...c})=>{const[,p]=n.toString().split("."),f=a??((p==null?void 0:p.length)||0);return w.jsx(DB,{end:n,...c,duration:o,decimals:f,enableScrollSpy:!1,preserveValue:l})},UB=P("button")({name:"ButtonContainer",class:"b1b6dl8t",propsAsIs:!1}),FB=P("div")({name:"ButtonPctWrap",class:"b4iik8i",propsAsIs:!1}),VB=P("div")({name:"ButtonPct",class:"b1gq1lnf",propsAsIs:!1}),BB=P("span")({name:"ButtonBody",class:"b1j65z51",propsAsIs:!1}),jB=P("div")({name:"IconContainer",class:"i19tpfua",propsAsIs:!1}),$B=P("div")({name:"IconWrap",class:"i1tubmma",propsAsIs:!1}),EC=P("img")({name:"Icon",class:"i1grrgwj",propsAsIs:!1}),zB=()=>EC,HB=P(zB())({name:"IconDefault",class:"ibemyq8",propsAsIs:!0}),GB=()=>EC,qB=P(GB())({name:"IconCircle",class:"i1dceht",propsAsIs:!0}),WB=P("span")({name:"Title",class:"t116q4vq",propsAsIs:!1}),QB=P("span")({name:"Indicators",class:"i17ajcu2",propsAsIs:!1}),YB=P("span")({name:"Pts",class:"pu9kmlb",propsAsIs:!1}),KB=P("span")({name:"Percentage",class:"p1j2j0s0",propsAsIs:!1}),ZB=()=>wt,XB=P(ZB())({name:"CheckIcon",class:"c1mzj1sj",propsAsIs:!0}),uk={[Gr.CENTERED]:n=>w.jsx(HB,{"data-testid":"vote-icon",alt:"option-icon",src:n}),[Gr.TRANSPARENT]:n=>w.jsx(jB,{"data-testid":"vote-icon",children:w.jsx($B,{style:{backgroundImage:`url(${n})`}})}),[Gr.ROUNDED]:n=>w.jsx(qB,{"data-testid":"vote-icon",alt:"option-icon",src:n}),[Gr.NONE]:()=>null,[Gr.UNSET]:()=>null},JB=({questionType:n,hasCorrectAnswer:a,correct:o,youVoted:l,questionVoted:c})=>{if(n===fe.POLL&&l)return"voted";if(n===fe.PREDICTION){if(!a&&c)return l?"voted":"unset";if(a&&c)return l?o?"correct":"incorrect":"unset";if(l)return"correct"}return n===fe.TRIVIA&&c&&l?o?"correct":"incorrect":"unset"},ej=({questionType:n,questionVoted:a,correct:o,hasCorrectAnswer:l,questionStatus:c})=>n===fe.TRIVIA?a&&o:n===fe.PREDICTION?a&&o&&l||c===yn.RESOLVED&&o:!1,tj=n=>{var a;const{id:o,icon:l,text:c,percentageDecimal:p,points:f,onVote:y,markThatVoted:b,onPercentsAnimated:C,youSelected:_,youVoted:N,questionVoted:O,imageMode:L,answerTimeExpired:x,questionStatus:D,isLoading:B,questionType:V,correct:Q,hasCorrectAnswer:K,votedAfterQuestionClosed:re,enteredAnActiveQuestion:te,marketClosed:ue}=n,[oe,Ne]=W.useState(0),de=JB(n),Fe=ej({questionType:V,questionVoted:O,correct:Q,hasCorrectAnswer:K,questionStatus:D}),De=ue&&V===fe.PREDICTION,Pe=O||De,ke=V===fe.PREDICTION&&!O&&!ue,$e=O&&!_&&de!=="incorrect"&&!N;return W.useLayoutEffect(()=>{Ne(0),requestAnimationFrame(()=>{Ne(p)})},[p]),w.jsxs(UB,{value:o,"data-selected":_,"data-answer-state":de,disabled:O||B||x||De&&!te||De&&te&&re,"data-is-not-checked":$e,onClick:it=>{b(V===fe.PREDICTION?ue:D===yn.RESOLVED),y(it)},children:[w.jsx(FB,{children:w.jsx(VB,{"data-answer-state":de,style:{width:`${Pe?oe:0}%`},onTransitionEnd:()=>{De||C==null||C()}})}),w.jsxs(BB,{children:[l&&L&&((a=uk[L])==null?void 0:a.call(uk,l)),w.jsx(WB,{children:c}),ke&&w.jsxs("div",{children:[f,w.jsx(YB,{children:"pts"})]}),Pe&&w.jsxs(QB,{children:[Fe&&w.jsx(XB,{name:"selected"}),w.jsx(KB,{children:w.jsx(N6,{value:p,suffix:"%"})})]})]})]})},nj=()=>yC,aj=P(nj())({name:"ShowInContainer",class:"sie6cqo",propsAsIs:!0}),rj=P("div")({name:"WinBarContainer",class:"wgizw4u",propsAsIs:!1}),oj=P("div")({name:"Content",class:"c1l3ucjp",propsAsIs:!1}),sj=P("div")({name:"Title",class:"tx7j799",propsAsIs:!1}),ij=()=>wt,lj=P(ij())({name:"WinIcon",class:"w4lwuj0",propsAsIs:!0}),uj=P("div")({name:"Points",class:"po9i64o",propsAsIs:!1}),cj=P("span")({name:"PointsCount",class:"pe5g05h",propsAsIs:!1}),dj=P("span")({name:"PointsUnits",class:"p1hdtpmb",propsAsIs:!1}),mj=({title:n,points:a,isPlayingTimer:o,isTimer:l,animatePoints:c,questionType:p,timerDuration:f,votedInCurrentRender:y,percentsAnimated:b,onTimerExpired:C})=>w.jsx(aj,{enabled:p===fe.PREDICTION&&y,animate:b,children:w.jsxs(rj,{style:{justifyContent:p===fe.PREDICTION?"center":"space-between"},children:[w.jsxs(oj,{children:[n&&w.jsx(sj,{children:n}),a!==void 0&&p!==fe.POLL&&w.jsxs(w.Fragment,{children:[w.jsx(lj,{name:"icon-trophy"}),w.jsxs(uj,{children:[w.jsx(cj,{children:c?w.jsx(N6,{value:a,delay:.3}):a}),w.jsx(dj,{children:"PTS"})]})]})]}),l&&p!==fe.PREDICTION&&w.jsx(HF,{isPlaying:o,onTimerExpired:C,duration:f})]})}),fj=(n,a)=>{switch(n){case"already_voted":return a===fe.POLL?"You’ve already answered this question on another device.":"You’ve already answered this question on another device. So the points for this answer won't tally.";default:return"Something went wrong, please try again"}},pj=()=>w.jsx(bC,{children:w.jsxs(kC,{children:[w.jsx(uo,{loading:!0,style:{height:"40px",borderRadius:"100px"}}),w.jsx(uo,{loading:!0,style:{height:"24px",margin:"16px 0"}}),w.jsx(SC,{children:Array.from({length:5}).map((n,a)=>w.jsx(uo,{loading:!0,style:{height:"44px"}},a))})]})}),hj=({openedQuestion:n,isLoading:a,vote:o,close:l})=>{var c,p;const f=n.subject,y=n.type,b=n.status,C=(c=n.options)==null?void 0:c.options,_=n.marketClosed,N=n.id,O=W.useRef(),[L,x]=W.useState(!1),[D,B]=W.useState(!1),[V,Q]=W.useState(!0),[K,re]=W.useState(!1),[te,ue]=W.useState(!1),[oe,Ne]=W.useState(""),[de,Fe]=W.useState(""),[De,Pe]=W.useState(!1),[ke,$e]=W.useState(!1),{runAnimation:it,finished:Rt}=lC();W.useEffect(()=>{Rt&&l()},[l,Rt]),W.useEffect(()=>{y===fe.PREDICTION?_&&Q(!1):b===yn.RESOLVED&&Q(!1)},[]);const Qn=W.useCallback(Nt=>{B(Nt),x(!0)},[]),Se=W.useRef(!1),Me=W.useCallback(async Nt=>{if(!Se.current&&(Se.current=!0,N)){const sn=Nt.currentTarget.value;Ne(sn);try{await o(N,sn)}catch(Nn){Fe(fj(Nn.message,y)),Ne(""),console.error("Error while voting",Nn),Se.current=!1}}},[y,N,Ne,o]),Ce=W.useCallback(()=>{re(!0),it({delay:3500})},[it]),dt=W.useCallback(()=>{ue(!0),it({delay:3500})},[it]),z=W.useMemo(()=>n==null?void 0:n.answers.find(Nt=>Nt.youVoted===!0),[n]),se=W.useMemo(()=>!!(n!=null&&n.answers.find(Nt=>Nt.correct===!0)),[n]),pe=W.useMemo(()=>n==null?void 0:n.answers.find(Nt=>Nt.correct===!0),[n]);W.useEffect(()=>{z&&L&&!ke&&(O.current=setTimeout(dt,1e4),$e(!0))},[z]),W.useEffect(()=>()=>{clearTimeout(O.current)},[]);const Ye=W.useMemo(()=>n?n.answers.map(Nt=>{var sn;return{...Nt,questionVoted:!!z,youSelected:oe===Nt.id,isLoading:a,hasCorrectAnswer:se,questionType:n.type,answerTimeExpired:K,questionStatus:b,imageMode:(sn=n.appearance)==null?void 0:sn.images,onVote:Me}}):[],[se,K,a,n,z,b,Me,oe]);W.useEffect(()=>{const Nt=Ye.some(({percentageDecimal:Nn})=>Nn!==0),sn=z&&y===fe.PREDICTION;de&&(!Nt||_&&sn)&&Pe(!0)},[Ye,de,_,y,z]);const gt=C&&(C.case==="trivia"||C.case==="prediction")?C.value:void 0,lt=b===yn.RESOLVED&&y===fe.TRIVIA&&!z&&!V,tt=y===fe.TRIVIA&&D,ut=W.useMemo(()=>y===fe.PREDICTION?!!(z&&!se||z&&se&&pe!=null&&pe.youVoted):!0,[y,z,se,pe]),_t=W.useMemo(()=>{if(y===fe.PREDICTION&&z&&(!se||se&&pe!=null&&pe.youVoted))return z.points;if(!(lt||K))return z?z.correct?z.pointsEarned:0:pe==null?void 0:pe.points},[K,z,pe,lt,y,se]),Yt=W.useMemo(()=>y===fe.PREDICTION&&z?se?se&&pe!=null&&pe.youVoted?"You won":"":"To win":lt||K?"Time expired":y===fe.POLL?"Time remaining":z?"You won":"To win",[K,y,z,lt,se,pe]),In=!ut||ut&&y===fe.PREDICTION&&L&&!De,Gt=(y===fe.TRIVIA||y===fe.PREDICTION)&&z&&se&&(pe==null?void 0:pe.youVoted),nn=z||lt||tt||y===fe.TRIVIA&&b===yn.RESOLVED&&V;return w.jsx(fB,{children:w.jsx(bC,{children:w.jsxs(kC,{children:[w.jsx(tB,{feedbackMessages:gt,questionVoted:!!z,questionVotedCorrectly:z==null?void 0:z.correct,questionType:y,hasCorrectAnswer:se,showExpiredNotification:lt,showClosedNotificationTrivia:tt,votedInCurrentRender:L,votedAfterQuestionClosed:D,enteredAnActiveQuestion:V,marketClosed:_,percentsAnimated:De,voteErrorMessage:de}),ut&&w.jsx(mj,{title:Yt,points:_t,onTimerExpired:Ce,questionType:n.type,isTimer:!a,isPlayingTimer:!z,animatePoints:Gt,timerDuration:nn?0:Number(((p=n==null?void 0:n.appearance)==null?void 0:p.autoHideInterval)||"30"),votedInCurrentRender:L,percentsAnimated:De}),K||te?w.jsx(gB,{children:w.jsx(QV,{icon:"icon-check-circle",title:"More to come...",description:te?w.jsxs(w.Fragment,{children:["Stay tuned for more questions ",w.jsx("br",{})," and insights."]}):w.jsxs(w.Fragment,{children:["Watch for additional enhanced stream ",w.jsx("br",{})," interactive experience."]})})}):w.jsxs(w.Fragment,{children:[w.jsx(pB,{style:In?{marginTop:0}:{},children:f}),w.jsx(SC,{children:Ye.map(Nt=>w.jsx(tj,{...Nt,markThatVoted:Qn,onPercentsAnimated:()=>Pe(!0),votedAfterQuestionClosed:D,enteredAnActiveQuestion:V,marketClosed:_},Nt.id))})]})]})})})},gj=P("div")({name:"Container",class:"c1bgb86j",propsAsIs:!1}),yj=P("video")({name:"Player",class:"p6703cq",propsAsIs:!1}),vj=P("img")({name:"Poster",class:"p12ow7zo",propsAsIs:!1}),Tj=P("div")({name:"Control",class:"cdpal9o",propsAsIs:!1}),bj="t1xke4ml",kj="h1yzxv57",Sj=n=>{for(const a of n)a.isIntersecting?a.target instanceof HTMLVideoElement&&a.target.autoplay&&a.target.play():a.target instanceof HTMLVideoElement&&!a.target.paused&&a.target.pause()},_C=new IntersectionObserver(Sj,{threshold:.5}),my=new Set,wj=n=>{_C.observe(n),my.add(n)},Cj=n=>{_C.unobserve(n),my.delete(n)},IC=()=>{for(const n of my)n instanceof HTMLVideoElement&&!n.paused&&n.pause()},fy=({poster:n,source:a,aspectRatio:o,controlVideo:l,onPlay:c,onPause:p,autoPlay:f,hideControls:y})=>{const b=W.useRef(null),[C,_]=W.useState(!1),[N,O]=W.useState(!0),L=W.useCallback(()=>{l==null||l({muted:!0})},[l]),x=W.useCallback(()=>{l==null||l({muted:!1})},[l]),D=V=>{V.stopPropagation();const Q=b==null?void 0:b.current;if(Q){if(C)Q.pause();else{const K=b==null?void 0:b.current;if(!K)return;IC(),K.play().catch(re=>console.log(re)),O(!1)}I0.emit("interactions",{action:"tap",payload:{}})}},B=()=>{var V;(V=b==null?void 0:b.current)==null||V.load(),O(!0)};return W.useEffect(()=>{const V=b==null?void 0:b.current;return()=>{V&&(V.paused||x())}},[x]),W.useEffect(()=>{const V=b.current;return V?(wj(V),()=>Cj(V)):()=>{}},[]),w.jsxs(gj,{onClick:y?void 0:D,className:ku(C&&bj,y&&kj),style:o?{aspectRatio:o}:{},children:[w.jsx(yj,{ref:b,src:a,autoPlay:f,onPlay:()=>{L(),_(!0),O(!1),c==null||c()},onPause:()=>{x(),_(!1),p==null||p()},onEnded:()=>{x(),_(!1),B()},style:{visibility:N?"hidden":"visible"},controls:!1,playsInline:!0}),w.jsx(vj,{src:n,style:{visibility:N?"visible":"hidden"}}),!y&&w.jsx(Tj,{children:C?w.jsx(wt,{name:"icon-pause"}):w.jsx(wt,{name:"icon-play"})})]})},Ej=P("div")({name:"Container",class:"cgn5uen",propsAsIs:!1}),_j=P("div")({name:"Content",class:"c1px8nt6",propsAsIs:!1}),Ij=P("h3")({name:"Title",class:"t5et2jt",propsAsIs:!1}),Nj=P("div")({name:"Description",class:"d1i2kpk2",propsAsIs:!1}),Rj=P("img")({name:"Image",class:"id3lh3p",propsAsIs:!1}),Oj=P("div")({name:"ImageContainer",class:"i1gfjeu5",propsAsIs:!1}),NC=({instantView:n,isDetail:a,notification:o,controlVideo:l})=>{const c=n==null?void 0:n.heading,p=n==null?void 0:n.body,f=c||p,y=o==null?void 0:o.title,b=o==null?void 0:o.body;return w.jsxs(Ej,{children:[(n==null?void 0:n.video)&&w.jsx(fy,{source:n.video.url,poster:n.video.thumbnailUrl,controlVideo:l,autoPlay:n.autoPlayVideo===w6.ENABLED}),(n==null?void 0:n.image)&&!(n!=null&&n.video)&&w.jsx(Oj,{"data-rounded":n.imageMode===Gr.ROUNDED,children:w.jsx(Rj,{src:n==null?void 0:n.image})}),w.jsxs(_j,{children:[w.jsx(Ij,{children:a&&f?c:y}),w.jsx(Nj,{children:a&&f?p:b})]})]})},Lj=P("div")({name:"Container",class:"c1euiow",propsAsIs:!1}),Aj=P("a")({name:"WebLinkBtn",class:"w19zie3h",propsAsIs:!1}),xj=()=>wt,Pj=P(xj())({name:"WebLinkIcon",class:"wyg5v7z",propsAsIs:!0}),Mj=({instantView:n,...a})=>w.jsxs(Lj,{children:[w.jsx(NC,{instantView:n,...a,isDetail:!0}),(n==null?void 0:n.webLink)&&w.jsxs(Aj,{href:n==null?void 0:n.webLink.url,target:"_blank","data-analytics":"web-link",children:[n==null?void 0:n.webLink.label,w.jsx(Pj,{name:"icon-external-link"})]})]}),Dj=P("div")({name:"Container",class:"cjq447q",propsAsIs:!1}),Uj=P("div")({name:"ImageContainer",class:"i14egogb",propsAsIs:!1}),Fj=P("img")({name:"Image",class:"i2g9g4l",propsAsIs:!1}),Vj=()=>wt,Bj=P(Vj())({name:"TwitterIcon",class:"t1c454nm",propsAsIs:!0}),jj=P("div")({name:"Details",class:"d11nigc3",propsAsIs:!1}),$j=P("div")({name:"Name",class:"nrxa4k8",propsAsIs:!1}),zj=P("div")({name:"UserNameAndDate",class:"u1p051g3",propsAsIs:!1}),Hj=({image:n,name:a,userName:o,verified:l,createdTweet:c})=>{const p=c&&rV(c);return w.jsxs(Dj,{children:[n&&w.jsxs(Uj,{children:[w.jsx(Fj,{className:"SL_AccountImage",src:n}),w.jsx(Bj,{name:"twitter"})]}),w.jsxs(jj,{children:[a&&w.jsxs($j,{className:"SL_TweetAccountName",children:[a," ",l&&w.jsx(wt,{name:"icon-twitter-verified"})]}),o&&w.jsxs(zj,{className:"SL_TweetAccountUserName",children:["@",o," ",p&&`・ ${p}`]})]})]})},Gj=P("div")({name:"Container",class:"c1kzqw87",propsAsIs:!1}),qj=P("div")({name:"Details",class:"d9r1hf9",propsAsIs:!1}),Wj=P("div")({name:"Body",class:"bezygt5",propsAsIs:!1}),Jf=P("div")({name:"ImagesContainer",class:"i1y8f7ym",propsAsIs:!1}),O5=P("div")({name:"ImagesBlock",class:"i18gwonx",propsAsIs:!1}),RC=P("img")({name:"Image",class:"i3g0xjd",propsAsIs:!1}),Qj=()=>RC,gu=P(Qj())({name:"ImageFullSize",class:"io8rt7p",propsAsIs:!0}),Yj=()=>RC,L5=P(Yj())({name:"ImageHalfSize",class:"i4hn3ox",propsAsIs:!0}),Kj=new RegExp("\\s?https?://t.co[^\\s]+(\\s+)?$"),Zj=n=>n==null?void 0:n.replace(Kj,""),py=({image:n,body:a,account:o,accountVerified:l,tweet:c,isDetail:p,controlVideo:f})=>{var y,b,C,_,N,O,L,x,D;const B=(b=(y=c==null?void 0:c.meta)==null?void 0:y.extendedEntities)==null?void 0:b.media,V=B==null?void 0:B.find(({type:K})=>K==="photo"),Q=(O=(N=(_=(C=B==null?void 0:B[0])==null?void 0:C.videoInfo)==null?void 0:_.variants)==null?void 0:N.find(({contentType:K})=>K==="video/mp4"))==null?void 0:O.url;return w.jsxs(Gj,{children:[w.jsxs(qj,{children:[w.jsx(Hj,{image:n,name:(L=c==null?void 0:c.meta)==null?void 0:L.accountName,userName:o,verified:l,createdTweet:c==null?void 0:c.date}),w.jsx(Wj,{children:Zj(a)}),!p&&V&&w.jsx(Jf,{children:w.jsx(gu,{src:B==null?void 0:B[0].mediaUrlHttps})}),p&&V&&w.jsxs(w.Fragment,{children:[(B==null?void 0:B.length)===1&&w.jsx(Jf,{children:w.jsx(gu,{src:B[0].mediaUrlHttps})}),(B==null?void 0:B.length)===2&&w.jsxs(Jf,{children:[w.jsx(L5,{src:B[0].mediaUrlHttps}),w.jsx(L5,{src:B[1].mediaUrlHttps})]}),(B==null?void 0:B.length)===3&&w.jsxs(Jf,{children:[w.jsx(L5,{src:B[0].mediaUrlHttps}),w.jsxs(O5,{children:[w.jsx(gu,{src:B[1].mediaUrlHttps}),w.jsx(gu,{src:B[2].mediaUrlHttps})]})]}),(B==null?void 0:B.length)===4&&w.jsxs(Jf,{children:[w.jsxs(O5,{children:[w.jsx(gu,{src:B[0].mediaUrlHttps}),w.jsx(gu,{src:B[1].mediaUrlHttps})]}),w.jsxs(O5,{children:[w.jsx(gu,{src:B[2].mediaUrlHttps}),w.jsx(gu,{src:B[3].mediaUrlHttps})]})]})]})]}),!V&&(((x=B==null?void 0:B[0])==null?void 0:x.type)==="video"||((D=B==null?void 0:B[0])==null?void 0:D.type)==="animated_gif")&&Q&&w.jsx(fy,{source:Q,poster:B[0].mediaUrlHttps,controlVideo:f})]})},Xj=P("div")({name:"Container",class:"c1dcxmvf",propsAsIs:!1}),Jj=P("blockquote")({name:"Quote",class:"qb4q22c",propsAsIs:!1}),e$=n=>w.jsxs(Xj,{children:[n.title&&w.jsx(Jj,{children:n.title}),w.jsx(py,{...n,isDetail:!0})]}),t$=P("div")({name:"QuestionContainer",class:"qwgkhsv",propsAsIs:!1}),n$=({openedQuestion:n})=>{var a,o;const{sdk:l}=uy();return((a=n==null?void 0:n.attributes)==null?void 0:a.attributes.case)==="insight"?w.jsx(Mj,{...n.attributes.attributes.value,controlVideo:l==null?void 0:l.controlVideoPlayer}):((o=n==null?void 0:n.attributes)==null?void 0:o.attributes.case)==="tweet"?w.jsx(e$,{...n.attributes.attributes.value,controlVideo:l==null?void 0:l.controlVideoPlayer}):null},a$=({extendedQuestion:n,vote:a,close:o})=>{const{loading:l,data:c}=n;return c?w.jsx(hj,{vote:a,close:o,openedQuestion:c,isLoading:!!l}):w.jsx(pj,{})},r$=({gamification:n})=>{var a;const o=Ut(n.openedQuestion.$store),l=Ut(n.openedQuestion.$extendedStore);if(!o)return null;const c=o.type;return w.jsxs(t$,{children:[w.jsx(cC,{close:n.closeQuestion,type:((a=o.attributes)==null?void 0:a.type)||fe.UNSET}),c==="question"&&w.jsx(a$,{vote:n.submitAnswer,close:n.closeQuestion,extendedQuestion:l}),c!=="question"&&w.jsx(n$,{openedQuestion:o}),w.jsx($V,{mastersLogo:!0})]})},o$=P("div")({name:"Container",class:"c115qtkr",propsAsIs:!1}),s$=P("div")({name:"STabs",class:"sxnslc8",propsAsIs:!1}),i$=P("button")({name:"Button",class:"b1umzux0",propsAsIs:!1}),l$=P("span")({name:"Title",class:"tspsaas",propsAsIs:!1});var o2=(n=>(n.HOME="home",n.LEADERBOARD="leaderboard",n))(o2||{});const ck=({title:n,active:a,onClick:o})=>w.jsx(i$,{onClick:o,"data-selected":a,children:w.jsx(l$,{children:n})}),OC=({activePage:n="home",toggleActivePage:a})=>w.jsx(o$,{children:w.jsxs(s$,{"data-position":n==="home"?"left":"right",children:[w.jsx(ck,{title:"Home",active:n==="home",onClick:()=>a("home")}),w.jsx(ck,{title:"Friends",active:n==="leaderboard",onClick:()=>a("leaderboard")})]})}),u$=P("button")({name:"Container",class:"cpjnajb",propsAsIs:!1}),c$=P("div")({name:"Content",class:"c4m6kaz",propsAsIs:!1}),d$=P("span")({name:"Title",class:"t1h8t9cc",propsAsIs:!1}),m$=()=>w.jsx(u$,{children:w.jsxs(c$,{children:[w.jsx(wt,{name:"iconCopySuccess"}),w.jsx(d$,{children:"Link Copied to Clipboard"})]})}),hy=n=>{const a=W.useRef(),[o,l]=W.useState(null),c=W.useCallback(async p=>{var f;if(p&&(f=navigator==null?void 0:navigator.clipboard)!=null&&f.writeText){a.current&&(clearTimeout(a.current),l(null));try{await navigator.clipboard.writeText(p),n.current&&(l(l6.createPortal(w.jsx(m$,{}),n.current)),a.current=setTimeout(()=>{l(null)},1e3))}catch(y){console.error("Unable to copy to clipboard",y)}}},[n]);return W.useEffect(()=>()=>{clearTimeout(a.current)},[]),[c,o]},f$=P("div")({name:"Container",class:"c1ux29ft",propsAsIs:!1}),p$=()=>wt,h$=P(p$())({name:"FriendsIcon",class:"f10ncfg2",propsAsIs:!0}),g$=P("div")({name:"Content",class:"c1yc07bd",propsAsIs:!1}),y$=P("div")({name:"Title",class:"tj6cq7w",propsAsIs:!1}),v$=P("div")({name:"Description",class:"d1ag78xo",propsAsIs:!1}),T$=()=>wt,b$=P(T$())({name:"ArrowInviteIcon",class:"awohrz6",propsAsIs:!0}),LC=({title:n,description:a,onClick:o,className:l})=>{const[c]=iC({type:"invitation",action:"sent",payload:{from:d2.TITLE_CARD}});return w.jsxs(f$,{onClick:c(o),className:l,children:[w.jsx(h$,{name:"icon-friends"}),w.jsxs(g$,{children:[w.jsx(y$,{children:n}),w.jsx(v$,{children:a})]}),w.jsx(b$,{name:"icon-copy"})]})};let Ro;typeof window<"u"?Ro=window:typeof self<"u"?Ro=self:Ro=g9;let b9=null,k9=null;const dk=20,A5=Ro.clearTimeout,mk=Ro.setTimeout,x5=Ro.cancelAnimationFrame||Ro.mozCancelAnimationFrame||Ro.webkitCancelAnimationFrame,fk=Ro.requestAnimationFrame||Ro.mozRequestAnimationFrame||Ro.webkitRequestAnimationFrame;x5==null||fk==null?(b9=A5,k9=function(a){return mk(a,dk)}):(b9=function([a,o]){x5(a),A5(o)},k9=function(a){const o=fk(function(){A5(l),a()}),l=mk(function(){x5(o),a()},dk);return[o,l]});function k$(n){let a,o,l,c,p,f,y;const b=typeof document<"u"&&document.attachEvent;if(!b){f=function(V){const Q=V.__resizeTriggers__,K=Q.firstElementChild,re=Q.lastElementChild,te=K.firstElementChild;re.scrollLeft=re.scrollWidth,re.scrollTop=re.scrollHeight,te.style.width=K.offsetWidth+1+"px",te.style.height=K.offsetHeight+1+"px",K.scrollLeft=K.scrollWidth,K.scrollTop=K.scrollHeight},p=function(V){return V.offsetWidth!==V.__resizeLast__.width||V.offsetHeight!==V.__resizeLast__.height},y=function(V){if(V.target.className&&typeof V.target.className.indexOf=="function"&&V.target.className.indexOf("contract-trigger")<0&&V.target.className.indexOf("expand-trigger")<0)return;const Q=this;f(this),this.__resizeRAF__&&b9(this.__resizeRAF__),this.__resizeRAF__=k9(function(){p(Q)&&(Q.__resizeLast__.width=Q.offsetWidth,Q.__resizeLast__.height=Q.offsetHeight,Q.__resizeListeners__.forEach(function(te){te.call(Q,V)}))})};let O=!1,L="";l="animationstart";const x="Webkit Moz O ms".split(" ");let D="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),B="";{const V=document.createElement("fakeelement");if(V.style.animationName!==void 0&&(O=!0),O===!1){for(let Q=0;Q<x.length;Q++)if(V.style[x[Q]+"AnimationName"]!==void 0){B=x[Q],L="-"+B.toLowerCase()+"-",l=D[Q],O=!0;break}}}o="resizeanim",a="@"+L+"keyframes "+o+" { from { opacity: 0; } to { opacity: 0; } } ",c=L+"animation: 1ms "+o+"; "}const C=function(O){if(!O.getElementById("detectElementResize")){const L=(a||"")+".resize-triggers { "+(c||"")+'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%; }',x=O.head||O.getElementsByTagName("head")[0],D=O.createElement("style");D.id="detectElementResize",D.type="text/css",n!=null&&D.setAttribute("nonce",n),D.styleSheet?D.styleSheet.cssText=L:D.appendChild(O.createTextNode(L)),x.appendChild(D)}};return{addResizeListener:function(O,L){if(b)O.attachEvent("onresize",L);else{if(!O.__resizeTriggers__){const x=O.ownerDocument,D=Ro.getComputedStyle(O);D&&D.position==="static"&&(O.style.position="relative"),C(x),O.__resizeLast__={},O.__resizeListeners__=[],(O.__resizeTriggers__=x.createElement("div")).className="resize-triggers";const B=x.createElement("div");B.className="expand-trigger",B.appendChild(x.createElement("div"));const V=x.createElement("div");V.className="contract-trigger",O.__resizeTriggers__.appendChild(B),O.__resizeTriggers__.appendChild(V),O.appendChild(O.__resizeTriggers__),f(O),O.addEventListener("scroll",y,!0),l&&(O.__resizeTriggers__.__animationListener__=function(K){K.animationName===o&&f(O)},O.__resizeTriggers__.addEventListener(l,O.__resizeTriggers__.__animationListener__))}O.__resizeListeners__.push(L)}},removeResizeListener:function(O,L){if(b)O.detachEvent("onresize",L);else if(O.__resizeListeners__.splice(O.__resizeListeners__.indexOf(L),1),!O.__resizeListeners__.length){O.removeEventListener("scroll",y,!0),O.__resizeTriggers__.__animationListener__&&(O.__resizeTriggers__.removeEventListener(l,O.__resizeTriggers__.__animationListener__),O.__resizeTriggers__.__animationListener__=null);try{O.__resizeTriggers__=!O.removeChild(O.__resizeTriggers__)}catch{}}}}}class S$ extends W.Component{constructor(...a){super(...a),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:o,disableWidth:l,onResize:c}=this.props;if(this._parentNode){const p=window.getComputedStyle(this._parentNode)||{},f=parseFloat(p.paddingLeft||"0"),y=parseFloat(p.paddingRight||"0"),b=parseFloat(p.paddingTop||"0"),C=parseFloat(p.paddingBottom||"0"),_=this._parentNode.getBoundingClientRect(),N=_.height-b-C,O=_.width-f-y,L=this._parentNode.offsetHeight-b-C,x=this._parentNode.offsetWidth-f-y;(!o&&(this.state.height!==L||this.state.scaledHeight!==N)||!l&&(this.state.width!==x||this.state.scaledWidth!==O))&&(this.setState({height:L,width:x,scaledHeight:N,scaledWidth:O}),typeof c=="function"&&c({height:L,scaledHeight:N,scaledWidth:O,width:x}))}},this._setRef=o=>{this._autoSizer=o}}componentDidMount(){const{nonce:a}=this.props,o=this._autoSizer?this._autoSizer.parentNode:null;if(o!=null&&o.ownerDocument&&o.ownerDocument.defaultView&&o instanceof o.ownerDocument.defaultView.HTMLElement){this._parentNode=o;const l=o.ownerDocument.defaultView.ResizeObserver;l!=null?(this._resizeObserver=new l(()=>{this._timeoutId=setTimeout(this._onResize,0)}),this._resizeObserver.observe(o)):(this._detectElementResize=k$(a),this._detectElementResize.addResizeListener(o,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.disconnect())}render(){const{children:a,defaultHeight:o,defaultWidth:l,disableHeight:c=!1,disableWidth:p=!1,doNotBailOutOnEmptyChildren:f=!1,nonce:y,onResize:b,style:C={},tagName:_="div",...N}=this.props,{height:O,scaledHeight:L,scaledWidth:x,width:D}=this.state,B={overflow:"visible"},V={};let Q=!1;return c||(O===0&&(Q=!0),B.height=0,V.height=O,V.scaledHeight=L),p||(D===0&&(Q=!0),B.width=0,V.width=D,V.scaledWidth=x),f&&(Q=!1),W.createElement(_,{ref:this._setRef,style:{...B,...C},...N},!Q&&a(V))}}function w$(n){var a=n.lastRenderedStartIndex,o=n.lastRenderedStopIndex,l=n.startIndex,c=n.stopIndex;return!(l>o||c<a)}function C$(n){for(var a=n.isItemLoaded,o=n.itemCount,l=n.minimumBatchSize,c=n.startIndex,p=n.stopIndex,f=[],y=null,b=null,C=c;C<=p;C++){var _=a(C);_?b!==null&&(f.push(y,b),y=b=null):(b=C,y===null&&(y=C))}if(b!==null){for(var N=Math.min(Math.max(b,y+l-1),o-1),O=b+1;O<=N&&!a(O);O++)b=O;f.push(y,b)}if(f.length)for(;f[1]-f[0]+1<l&&f[0]>0;){var L=f[0]-1;if(!a(L))f[0]=L;else break}return f}var E$=function(n,a){if(!(n instanceof a))throw new TypeError("Cannot call a class as a function")},_$=function(){function n(a,o){for(var l=0;l<o.length;l++){var c=o[l];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(a,c.key,c)}}return function(a,o,l){return o&&n(a.prototype,o),l&&n(a,l),a}}(),I$=function(n,a){if(typeof a!="function"&&a!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof a);n.prototype=Object.create(a&&a.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),a&&(Object.setPrototypeOf?Object.setPrototypeOf(n,a):n.__proto__=a)},pk=function(n,a){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return a&&(typeof a=="object"||typeof a=="function")?a:n};(function(n){I$(a,n);function a(){var o,l,c,p;E$(this,a);for(var f=arguments.length,y=Array(f),b=0;b<f;b++)y[b]=arguments[b];return p=(l=(c=pk(this,(o=a.__proto__||Object.getPrototypeOf(a)).call.apply(o,[this].concat(y))),c),c._lastRenderedStartIndex=-1,c._lastRenderedStopIndex=-1,c._memoizedUnloadedRanges=[],c._onItemsRendered=function(C){var _=C.visibleStartIndex,N=C.visibleStopIndex;c._lastRenderedStartIndex=_,c._lastRenderedStopIndex=N,c._ensureRowsLoaded(_,N)},c._setRef=function(C){c._listRef=C},l),pk(c,p)}return _$(a,[{key:"resetloadMoreItemsCache",value:function(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;this._memoizedUnloadedRanges=[],l&&this._ensureRowsLoaded(this._lastRenderedStartIndex,this._lastRenderedStopIndex)}},{key:"componentDidMount",value:function(){}},{key:"render",value:function(){var l=this.props.children;return l({onItemsRendered:this._onItemsRendered,ref:this._setRef})}},{key:"_ensureRowsLoaded",value:function(l,c){var p=this.props,f=p.isItemLoaded,y=p.itemCount,b=p.minimumBatchSize,C=b===void 0?10:b,_=p.threshold,N=_===void 0?15:_,O=C$({isItemLoaded:f,itemCount:y,minimumBatchSize:C,startIndex:Math.max(0,l-N),stopIndex:Math.min(y-1,c+N)});(this._memoizedUnloadedRanges.length!==O.length||this._memoizedUnloadedRanges.some(function(L,x){return O[x]!==L}))&&(this._memoizedUnloadedRanges=O,this._loadUnloadedRanges(O))}},{key:"_loadUnloadedRanges",value:function(l){for(var c=this,p=this.props.loadMoreItems||this.props.loadMoreRows,f=function(C){var _=l[C],N=l[C+1],O=p(_,N);O!=null&&O.then(function(){if(w$({lastRenderedStartIndex:c._lastRenderedStartIndex,lastRenderedStopIndex:c._lastRenderedStopIndex,startIndex:_,stopIndex:N})){if(c._listRef==null)return;typeof c._listRef.resetAfterIndex=="function"?c._listRef.resetAfterIndex(_,!0):(typeof c._listRef._getItemStyleCache=="function"&&c._listRef._getItemStyleCache(-1),c._listRef.forceUpdate())}})},y=0;y<l.length;y+=2)f(y)}}]),a})(W.PureComponent);const N$=P("div")({name:"Container",class:"culdu4a",propsAsIs:!1}),R$=P("div")({name:"Position",class:"pwf8e69",propsAsIs:!1}),O$=P("img")({name:"Avatar",class:"atf4yh4",propsAsIs:!1}),L$=P("div")({name:"AvatarPlaceholder",class:"a1dg29ja",propsAsIs:!1}),A$=P("div")({name:"Content",class:"c10a68rc",propsAsIs:!1}),x$=P("div")({name:"NameContainer",class:"nc4kck5",propsAsIs:!1}),P$=P("span")({name:"Name",class:"njsrqgr",propsAsIs:!1}),M$=()=>wt,D$=P(M$())({name:"CurrentUserBadge",class:"c17uc4zr",propsAsIs:!0});var AC={exports:{}},U$="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",F$=U$,V$=F$;function xC(){}function PC(){}PC.resetWarningCache=xC;var B$=function(){function n(l,c,p,f,y,b){if(b!==V$){var C=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw C.name="Invariant Violation",C}}n.isRequired=n;function a(){return n}var o={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:a,element:n,elementType:n,instanceOf:a,node:n,objectOf:a,oneOf:a,oneOfType:a,shape:a,exact:a,checkPropTypes:PC,resetWarningCache:xC};return o.PropTypes=o,o};AC.exports=B$();var j$=AC.exports;const lo=lw(j$);class S9 extends W.Component{constructor(a){super(a),this.scrollListener=this.scrollListener.bind(this),this.eventListenerOptions=this.eventListenerOptions.bind(this),this.mousewheelListener=this.mousewheelListener.bind(this)}componentDidMount(){this.pageLoaded=this.props.pageStart,this.options=this.eventListenerOptions(),this.attachScrollListener()}componentDidUpdate(){if(this.props.isReverse&&this.loadMore){const a=this.getParentElement(this.scrollComponent);a.scrollTop=a.scrollHeight-this.beforeScrollHeight+this.beforeScrollTop,this.loadMore=!1}this.attachScrollListener()}componentWillUnmount(){this.detachScrollListener(),this.detachMousewheelListener()}isPassiveSupported(){let a=!1;const o={get passive(){a=!0}};try{document.addEventListener("test",null,o),document.removeEventListener("test",null,o)}catch{}return a}eventListenerOptions(){let a=this.props.useCapture;return this.isPassiveSupported()?a={useCapture:this.props.useCapture,passive:!0}:a={passive:!1},a}setDefaultLoader(a){this.defaultLoader=a}detachMousewheelListener(){let a=window;this.props.useWindow===!1&&(a=this.scrollComponent.parentNode),a.removeEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture)}detachScrollListener(){let a=window;this.props.useWindow===!1&&(a=this.getParentElement(this.scrollComponent)),a.removeEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),a.removeEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture)}getParentElement(a){const o=this.props.getScrollParent&&this.props.getScrollParent();return o??(a&&a.parentNode)}filterProps(a){return a}attachScrollListener(){const a=this.getParentElement(this.scrollComponent);if(!this.props.hasMore||!a)return;let o=window;this.props.useWindow===!1&&(o=a),o.addEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture),o.addEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),o.addEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture),this.props.initialLoad&&this.scrollListener()}mousewheelListener(a){a.deltaY===1&&!this.isPassiveSupported()&&a.preventDefault()}scrollListener(){const a=this.scrollComponent,o=window,l=this.getParentElement(a);let c;if(this.props.useWindow){const p=document.documentElement||document.body.parentNode||document.body,f=o.pageYOffset!==void 0?o.pageYOffset:p.scrollTop;this.props.isReverse?c=f:c=this.calculateOffset(a,f)}else this.props.isReverse?c=l.scrollTop:c=a.scrollHeight-l.scrollTop-l.clientHeight;c<Number(this.props.threshold)&&a&&a.offsetParent!==null&&(this.detachScrollListener(),this.beforeScrollHeight=l.scrollHeight,this.beforeScrollTop=l.scrollTop,typeof this.props.loadMore=="function"&&(this.props.loadMore(this.pageLoaded+=1),this.loadMore=!0))}calculateOffset(a,o){return a?this.calculateTopPosition(a)+(a.offsetHeight-o-window.innerHeight):0}calculateTopPosition(a){return a?a.offsetTop+this.calculateTopPosition(a.offsetParent):0}render(){const a=this.filterProps(this.props),{children:o,element:l,hasMore:c,initialLoad:p,isReverse:f,loader:y,loadMore:b,pageStart:C,ref:_,threshold:N,useCapture:O,useWindow:L,getScrollParent:x,...D}=a;D.ref=V=>{this.scrollComponent=V,_&&_(V)};const B=[o];return c&&(y?f?B.unshift(y):B.push(y):this.defaultLoader&&(f?B.unshift(this.defaultLoader):B.push(this.defaultLoader))),W.createElement(l,D,B)}}U(S9,"propTypes",{children:lo.node.isRequired,element:lo.node,hasMore:lo.bool,initialLoad:lo.bool,isReverse:lo.bool,loader:lo.node,loadMore:lo.func.isRequired,pageStart:lo.number,ref:lo.func,getScrollParent:lo.func,threshold:lo.number,useCapture:lo.bool,useWindow:lo.bool}),U(S9,"defaultProps",{element:"div",hasMore:!1,initialLoad:!0,pageStart:0,ref:null,threshold:250,useWindow:!0,isReverse:!1,useCapture:!1,loader:null,getScrollParent:null});const $$=({friendsRank:n,avatar:a,name:o,userId:l,points:c,isCurrentUser:p,style:f})=>w.jsxs(N$,{"data-name":l,style:f,children:[w.jsx(R$,{children:n||0}),w.jsxs(A$,{children:[a?w.jsx(O$,{alt:"leaderboard-item-avatar",src:a}):w.jsx(L$,{children:iy(o||"")}),w.jsxs(x$,{children:[w.jsx(P$,{children:o||""}),p&&w.jsx(D$,{name:"icon-star"})]})]}),w.jsx("div",{children:mC(c)})]}),z$=P("div")({name:"Container",class:"c16btbfp",propsAsIs:!1}),MC=({items:n,currentUserId:a,openItemDetail:o,fetchMore:l,scrollNode:c,hasMore:p})=>{const f=W.useCallback(y=>{const b=y.target.getAttribute("data-name");b&&o(b)},[o]);return w.jsx(S9,{loadMore:l,initialLoad:!1,hasMore:p,useWindow:!1,getScrollParent:()=>c.current,children:w.jsx(z$,{onClick:f,children:n.map(y=>w.jsx($$,{...y,isCurrentUser:!!a&&a===y.userId},y.userId))})})},H$=P("div")({name:"Container",class:"c1itm4k7",propsAsIs:!1}),G$=P("div")({name:"IconContainer",class:"i1w4fsni",propsAsIs:!1}),q$=()=>wt,W$=P(q$())({name:"InviteGameIcon",class:"i19m85r1",propsAsIs:!0}),Q$=P("div")({name:"Content",class:"c1mbu204",propsAsIs:!1}),Y$=P("div")({name:"Heading",class:"h1amdqtv",propsAsIs:!1}),K$=P("div")({name:"Subtext",class:"s1lhlj9j",propsAsIs:!1}),Z$=P("div")({name:"LinkContainer",class:"l1wot35e",propsAsIs:!1}),X$=P("div")({name:"LinkInfo",class:"l1jdw39q",propsAsIs:!1}),J$=P("span")({name:"LinkTitle",class:"l1cr5mk",propsAsIs:!1}),ez=P("span")({name:"LinkAddress",class:"lvi87q4",propsAsIs:!1}),tz=()=>wt,nz=P(tz())({name:"LinkIcon",class:"l1pqlvw3",propsAsIs:!0}),gy=({inviteLink:n,inviteCardTitle:a,inviteCardSubtext:o,primaryColor:l,className:c})=>{const p=W.useRef(null),[f,y]=hy(p),[b]=iC({type:"invitation",action:"sent",payload:{from:d2.MENU}});return w.jsxs(H$,{className:c,children:[w.jsx(G$,{style:{backgroundColor:l},children:w.jsx(W$,{name:"invite-game-icon"})}),w.jsxs(Q$,{children:[w.jsx(Y$,{children:a||""}),w.jsx(K$,{children:o||""})]}),n&&w.jsxs(Z$,{ref:p,onClick:b(()=>f(n)),children:[w.jsxs(X$,{children:[w.jsx(J$,{children:"Invite link"}),w.jsx(ez,{children:n})]}),w.jsx(nz,{name:"icon-copy"})]}),y]})},az=P("div")({name:"InviteFriendsContainer",class:"i1b9agwt",propsAsIs:!1}),rz=({deepLink:n})=>w.jsx(az,{children:w.jsx(gy,{inviteLink:n,inviteCardTitle:"It’s More Fun With Friends",inviteCardSubtext:"Invite and compete against your friends for the top spot on the leaderboard."})}),oz=P("div")({name:"InviteLinkContainer",class:"ij36hcn",propsAsIs:!1}),sz=({gamification:n,scrollNode:a,scrollStore:o})=>{const l=W.useRef(null),{data:c,hasMore:p,loading:f,key:y}=Ut(n.leaderboardList.$store),{data:b}=Ut(n.deepLink.$store),[C,_]=hy(l);return!c.length&&!f?w.jsx(rz,{deepLink:b}):w.jsxs(w.Fragment,{children:[w.jsx(MC,{items:c,scrollNode:a,scrollStore:o,fetchMore:n.leaderboardList.fetchMore,hasMore:p,openItemDetail:n.openUser,currentUserId:n.currentUserId.get()},y),b&&w.jsx(oz,{ref:l,children:w.jsx(LC,{onClick:()=>C(b),title:"Invite Friends",description:"Challenge them now!"})}),_]})},yy=P("div")({name:"QuestionItem",class:"q1w97g3p",propsAsIs:!1}),iz=P("div")({name:"QuestionCaption",class:"q2sl39u",propsAsIs:!1}),lz=P("div")({name:"QuestionBody",class:"qd5h0uc",propsAsIs:!1}),uz=P("div")({name:"QuestionAction",class:"q105uluy",propsAsIs:!1}),cz=()=>wt,Qh=P(cz())({name:"QuestionActionIcon",class:"q1fa0b9h",propsAsIs:!0}),dz=()=>Qh,mz=P(dz())({name:"QuestionCheckIcon",class:"qxlt78s",propsAsIs:!0}),fz=()=>wt,pz=P(fz())({name:"QuestionTypeIcon",class:"qmg0vkx",propsAsIs:!0}),hz=P("div")({name:"QuestionTypeLabel",class:"q1uz5j1g",propsAsIs:!1}),gz=P("div")({name:"QuestionContent",class:"qc3icwa",propsAsIs:!1}),DC=P("button")({name:"PlayButton",class:"p169lohr",propsAsIs:!1}),yz=P("div")({name:"SkeletonContainer",class:"s1f43z3r",propsAsIs:!1}),vz=()=>dC,Tz=P(vz())({name:"SkeletonButton",class:"s16k8geu",propsAsIs:!0}),bz={[tl.LOST]:w.jsx(Qh,{name:"incorrectVoted"}),[tl.WON]:w.jsx(mz,{name:"icon-check"}),[tl.UNSET]:w.jsx(Qh,{name:"icon-arrow"}),[tl.DNP]:w.jsx(Qh,{name:"icon-arrow"})},kz=()=>w.jsxs(yz,{children:[w.jsx(uo,{loading:!0,style:{width:"35%"}}),w.jsx(uo,{loading:!0,style:{width:"70%"}}),w.jsx(Tz,{})]}),Sz=({questionTypeData:n,questionType:a,questionStatus:o})=>w.jsxs(iz,{className:"SL_QuestionCaption",children:[w.jsx(pz,{className:"SL_QuestionTypeIcon","data-testid":"question-type-icon","data-type-trivia":a===fe.TRIVIA,"data-type-poll":a===fe.POLL,name:n.iconName}),w.jsxs(hz,{className:"SL_QuestionTypeLabel",children:[n.label,a===fe.TRIVIA&&o===yn.RESOLVED&&" • Expired"]})]}),wz=({questionId:n,questionType:a,questionStatus:o,subject:l,openForVoting:c,status:p})=>{const f=I6[a],y=bz[p];return f?w.jsxs(yy,{"data-name":n,children:[w.jsxs(gz,{children:[w.jsx(Sz,{questionTypeData:f,questionType:a,questionStatus:o}),w.jsx(lz,{children:l||""})]}),w.jsx(uz,{children:c?w.jsx(DC,{children:"Play"}):y})]}):null},Cz=()=>yy,Ez=P(Cz())({name:"Container",class:"cll3md7",propsAsIs:!0}),_z=()=>DC,Iz=P(_z())({name:"ActionBtn",class:"a10g1iik",propsAsIs:!0}),Nz=({questionId:n,...a})=>w.jsxs(Ez,{"data-name":n,children:[w.jsx(NC,{questionId:n,...a}),w.jsx(Iz,{"data-name":n,children:"View Insight"})]}),Rz=()=>yy,Oz=P(Rz())({name:"Container",class:"cl56x6b",propsAsIs:!0}),Lz=P("button")({name:"ActionButton",class:"a11pzf92",propsAsIs:!1}),Az=P("blockquote")({name:"Quote",class:"q1hbaleq",propsAsIs:!1}),xz=({...n})=>w.jsxs(Oz,{"data-name":n.tweetId,children:[n.title&&w.jsx(Az,{children:n.title}),w.jsx(py,{...n}),w.jsx(Lz,{"data-name":n.tweetId,children:"View Insight"})]}),hk=P("div")({name:"QuestionsContainer",class:"qvghv3l",propsAsIs:!1}),UC=({questions:n,openQuestion:a,controlVideo:o})=>{const l=c=>{const p=c.target.getAttribute("data-name");p&&(IC(),a(p,{openedFrom:"list"}))};return n?w.jsx(hk,{onClick:l,children:n==null?void 0:n.map(c=>{var p,f,y;if(c.type==="question"&&((p=c.attributes)==null?void 0:p.attributes.case)==="question"){const b=c.attributes.attributes.value;return w.jsx(wz,{...b},b.questionId)}if(c.type==="insight"&&((f=c.attributes)==null?void 0:f.attributes.case)==="insight"){const b=c.attributes.attributes.value;return w.jsx(Nz,{controlVideo:o,...b},b.questionId)}if(c.type==="tweet"&&((y=c.attributes)==null?void 0:y.attributes.case)==="tweet"){const b=c.attributes.attributes.value,C=c.attributes.id;return w.jsx(xz,{controlVideo:o,...b,tweetId:C},C)}return null})}):w.jsx(hk,{children:Array.from({length:5}).map((c,p)=>w.jsx(kz,{},p))})},Pz=({store:n,openQuestion:a})=>{const{sdk:o}=uy(),l=Ut(n);return w.jsx(UC,{openQuestion:a,questions:l.data,controlVideo:o==null?void 0:o.controlVideoPlayer})},Mz=({userSummary:n})=>{var a;const[o,l]=W.useState(void 0);return W.useEffect(()=>{const c=n.$store.subscribe(p=>{p&&l(p)});return()=>{c()}},[n]),w.jsx(ly,{loading:!(o!=null&&o.summary),...o==null?void 0:o.summary,successRate:(a=o==null?void 0:o.percentage)==null?void 0:a.correct})},Dz=({gamification:n,className:a,scrollStore:o,scrollNode:l,appNode:c,style:p,responsiveStore:f})=>{const{tabsShown:y}=Ut(o,{keys:["tabsShown"]}),[b,C]=W.useState(o2.HOME),[,_]=cw(),{sdkInDesktopView:N,screen:O}=Ut(f,{keys:["sdkInDesktopView"]}),L=D=>{_(()=>{var B;C(D),N===!1&&(((B=c.current)==null?void 0:B.getBoundingClientRect().y)||0)<0&&z9(c,O.size,{behavior:"instant"})})};W.useEffect(()=>o.subscribe(D=>{if(D.scrollPosition===0){o.setKey("tabsShown",!0);return}f.get().sdkInDesktopView?o.setKey("tabsShown",D.scrollDirection==="backward"):o.setKey("tabsShown",D.scrollDirection==="forward")}),[o,f]);let x="0px";return N?x=y?"0px":"calc(8px - var(--header-height) - var(--header-offset))":x=y?"calc(var(--header-height) + var(--header-offset) - 2px)":"0px",w.jsxs(aA,{className:a,style:p,children:[w.jsx(iA,{style:{top:x},children:w.jsx(OC,{activePage:b,toggleActivePage:L})}),b===o2.HOME&&w.jsxs(w.Fragment,{children:[w.jsx(k6,{style:{paddingTop:"8px"},children:w.jsx(lA,{children:w.jsx(Mz,{userSummary:n.userSummary})})}),w.jsx(iw,{style:{flex:1},children:w.jsx(Pz,{openQuestion:n.openQuestion,store:n.feedList.getStore()})})]}),b===o2.LEADERBOARD&&w.jsx(oA,{children:w.jsx(sz,{scrollStore:o,scrollNode:l,gamification:n})})]})},Uz=()=>N0,gk=P(Uz())({name:"OpenedContainer",class:"o1seszvt",propsAsIs:!0}),Fz=P("div")({name:"UserContainer",class:"u1pbry50",propsAsIs:!1}),Vz=({correct:n,incorrect:a})=>{const o=n+a;return o===0?0:Math.round(n/o*100)},Bz=({gamification:n,scrollStore:a,className:o,appNode:l,scrollNode:c,responsiveStore:p})=>w.jsx(Dz,{appNode:l,scrollStore:a,scrollNode:c,className:o,gamification:n,responsiveStore:p}),jz=({gamification:n,className:a,appNode:o,responsiveStore:l})=>{const c=Ut(n.openedQuestion.$store),p=Ut(n.openedUser),{sdkInDesktopView:f}=Ut(l,{keys:["sdkInDesktopView"]}),{hiding:y,onAnimationEnd:b}=lC();if(!o.current||!c&&!p)return null;const C=c?w.jsx(gk,{className:a,hiding:y,onAnimationEnd:b,children:w.jsx(r$,{gamification:n})}):p?w.jsx(gk,{className:a,hiding:y,onAnimationEnd:b,children:w.jsxs(Fz,{children:[w.jsx(cC,{label:"Friend's Rank",close:n.closeUser}),w.jsx(k6,{children:w.jsx(ly,{...p,successRate:Vz(p)})})]})}):null;return w.jsx(gC,{container:o,useContainer:!f,children:C})},$z=W.lazy(()=>Promise.resolve().then(()=>require("./gamification-feature.js"))),zz=({sdk:n,feature:a,className:o,scrollStore:l,appNode:c,scrollNode:p,responsiveStore:f})=>{const y=W.useMemo(()=>a&&a.featureConfig.get().type===yt.GAMES?w.jsx(NU,{className:o,sdk:n,feature:a,children:w.jsx($z,{appNode:c,scrollStore:l,scrollNode:p,className:o,responsiveStore:f,gamification:a})}):null,[n,a,o,f,l,p,c]);return w.jsx(W.Suspense,{fallback:w.jsx("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",width:"100%",height:"100%"},children:"page loading..."}),children:y})},Hz=({feature:n,className:a,appNode:o,responsiveStore:l})=>n&&n.featureConfig.get().type===yt.GAMES?w.jsx(jz,{className:a,appNode:o,responsiveStore:l,gamification:n}):null,Gz=P("button")({name:"SButton",class:"sxxa0c",propsAsIs:!1}),qz=P("span")({name:"ButtonIcon",class:"b193dcyu",propsAsIs:!1}),Wz=P("span")({name:"ButtonLabel",class:"b40tuix",propsAsIs:!1}),Qz="s14xk0af",Yz="ha3mg7c",Kz="h103yr45",i0=({disabled:n,active:a,onClick:o,label:l,icon:c,id:p})=>w.jsx(Gz,{onClick:o,disabled:n,className:ku(a&&Qz,!a&&(p==="channels"||p==="featuredGroups")&&Yz,!a&&p==="leaderboard"&&Kz),children:w.jsxs(w.Fragment,{children:[c&&w.jsx(qz,{children:c}),w.jsx(Wz,{children:l})]})}),Zz=()=>wt,Xz=P(Zz())({name:"ButtonIcon",class:"b1whzxvd",propsAsIs:!0}),Yi="channels",Jz=n=>{var a;return w.jsx(i0,{...n,id:"channels",label:"Channels",icon:w.jsx(Xz,{name:"icon-btn-channels","data-selected":(a=n.active)==null?void 0:a.toString()})})},eH=()=>wt,tH=P(eH())({name:"ButtonIcon",class:"b11des7c",propsAsIs:!0}),Tu="featuredGroups",nH=n=>{var a;return w.jsx(i0,{...n,label:n.labelFull?"Featured Groups +":"FG+",id:"featuredGroups",icon:w.jsx(tH,{name:"icon-btn-feature-groups","data-selected":(a=n.active)==null?void 0:a.toString()})})},aH="leaderboard",rH=P("div")({name:"Buttons",class:"b5o8qbl",propsAsIs:!1}),FC=({children:n,className:a})=>w.jsx(rH,{className:a,children:n}),oH=P("div")({name:"Navigation",class:"n19lpak2",propsAsIs:!1}),sH=()=>FC,iH=P(sH())({name:"NavigationItems",class:"n1w473c2",propsAsIs:!0}),lH=W.forwardRef(({activeOverlay:n,setActiveOverlay:a,scrollToTop:o,sdkReady:l,className:c,responsiveStore:p},f)=>{const{screen:y}=Ut(p,{keys:["screen"]});return w.jsxs(oH,{className:c,children:[w.jsxs(iH,{children:[w.jsx(Jz,{active:n===Yi,onClick:()=>{a(Yi),n!==Yi&&o()}}),w.jsx(nH,{active:n===Tu,disabled:!l,onClick:()=>{a(Tu),n!==Tu&&o()},labelFull:y.size>=ca.md&&y.size<ca.xl})]}),w.jsx("div",{ref:f})]})});function uH(n){return n instanceof DOMException&&(n.code===22||n.code===1014||n.name==="QuotaExceededError"||n.name==="NS_ERROR_DOM_QUOTA_REACHED")}class cH{constructor(a="main",o=window.localStorage){U(this,"delimiter",":");U(this,"prefix");U(this,"storage");U(this,"clear",()=>{for(const a in window.localStorage)a.startsWith(this.prefix)&&this.storage.removeItem(a)});U(this,"generateKey",a=>`${this.prefix}${this.delimiter}${a.join(this.delimiter)}`);U(this,"write",(...a)=>{const o=a.pop()||"",l=this.generateKey(a);try{this.storage.setItem(l,o)}catch(c){uH(c)&&this.storage===window.sessionStorage&&(window.sessionStorage.removeItem("slstreamlogs"),this.storage.setItem(l,o))}});U(this,"read",(...a)=>{const o=this.storage.getItem(this.generateKey(a));return o===null?void 0:o});U(this,"remove",(...a)=>{this.storage.removeItem(this.generateKey(a))});this.prefix=`sl-sdk${this.delimiter}${a}`,this.storage=o}}var yk;(function(n){n.OPENED="opened"})(yk||(yk={}));var p0;(function(n){n[n.ONBOARDING=1]="ONBOARDING",n[n.QUESTION=2]="QUESTION",n[n.QUESTION_RESOLVED=3]="QUESTION_RESOLVED"})(p0||(p0={}));const dH=P("div")({name:"InsightContainer",class:"i1pqqgpo",propsAsIs:!1}),mH=P("img")({name:"Image",class:"igj7luu",propsAsIs:!1}),fH=P("div")({name:"ImageContainer",class:"i1qne9g6",propsAsIs:!1}),pH=P("div")({name:"InsightContent",class:"itpr98r",propsAsIs:!1}),hH=P("h3")({name:"Title",class:"t17iaqp8",propsAsIs:!1}),gH=P("div")({name:"Description",class:"d16t3y7s",propsAsIs:!1}),yH=P("button")({name:"ActionBtn",class:"a12495er",propsAsIs:!1}),vH=({video:n,image:a,imageMode:o,heading:l,body:c,action:p,controlVideo:f})=>w.jsxs(dH,{children:[(n==null?void 0:n.url)&&w.jsx(fy,{source:n.url,poster:n.thumbnailUrl,controlVideo:f}),a&&!(n!=null&&n.url)&&w.jsx(fH,{"data-rounded":o===Gr.ROUNDED,children:w.jsx(mH,{src:a,alt:l})}),w.jsxs(pH,{children:[w.jsx(hH,{children:l}),w.jsx(gH,{children:c}),p&&w.jsx(yH,{onClick:p,children:"View Insight"})]})]}),TH=P("div")({name:"Container",class:"c1eptrjd",propsAsIs:!1}),bH=P("div")({name:"CloseIconWrap",class:"crylm65",propsAsIs:!1}),kH=()=>wt,SH=P(kH())({name:"CloseIcon",class:"c9mrcz7",propsAsIs:!0}),wH=P("div")({name:"Header",class:"hw3lzv4",propsAsIs:!1}),CH=()=>wt,EH=P(CH())({name:"TypeIcon",class:"t1rrb3kf",propsAsIs:!0}),_H=P("span")({name:"TypeName",class:"t1ydnjov",propsAsIs:!1}),IH=P("div")({name:"Question",class:"qlf90cl",propsAsIs:!1}),NH=P("button")({name:"AnswerButton",class:"a1e0nhcl",propsAsIs:!1}),RH=P("div")({name:"Container",class:"c1t4f0x4",propsAsIs:!1}),OH=P("button")({name:"ActionBtn",class:"a16w1nl6",propsAsIs:!1}),LH=P("div")({name:"QuoteWrap",class:"q14u54rf",propsAsIs:!1}),AH=P("blockquote")({name:"Quote",class:"q1hxm6zo",propsAsIs:!1}),xH=({action:n,...a})=>w.jsxs(RH,{children:[a.title&&w.jsx(LH,{children:w.jsx(AH,{children:a.title})}),w.jsx(py,{...a}),n&&w.jsx(OH,{onClick:n,children:"View Insight"})]}),vk=({close:n,action:a,controlVideo:o,data:{questionType:l,question:c,insight:p,tweet:f}})=>{const y=I6[l];return y?w.jsxs(TH,{onClick:a,style:l===fe.TWEET?{paddingTop:"12px"}:{},children:[w.jsx(bH,{onClick:b=>{b.stopPropagation(),n&&n(b)},children:w.jsx(SH,{name:"icon-cross"})}),l!==fe.TWEET&&w.jsxs(wH,{children:[w.jsx(EH,{"data-type-trivia":l===fe.TRIVIA,"data-type-poll":l===fe.POLL,name:y.iconName}),w.jsx(_H,{children:y.label})]}),l===fe.FACTOID&&p&&w.jsx(vH,{...p,action:a,controlVideo:o}),l===fe.TWEET&&f&&w.jsx(xH,{...f,action:a,controlVideo:o}),l!==fe.FACTOID&&l!==fe.TWEET&&w.jsxs(w.Fragment,{children:[w.jsx(IH,{children:c==null?void 0:c.title}),w.jsx(NH,{children:"Answer"})]})]}):null},t0=P("div")({name:"BGWrap",class:"b1dqe0sz",propsAsIs:!1}),qr=P("div")({name:"BGLineBase",class:"b1v6w7ni",propsAsIs:!1}),PH=()=>qr,MH=P(PH())({name:"BGOneLineOne",class:"b2nqb1p",propsAsIs:!0}),DH=()=>qr,UH=P(DH())({name:"BGOneLineTwo",class:"b1xxgmbk",propsAsIs:!0}),FH=()=>qr,VH=P(FH())({name:"BGOneLineThree",class:"b63lwcb",propsAsIs:!0}),BH=()=>qr,Tk=P(BH())({name:"BGTwoLineOne",class:"b2iah4",propsAsIs:!0}),jH=()=>qr,bk=P(jH())({name:"BGTwoLineTwo",class:"b1xezvf6",propsAsIs:!0}),$H=()=>qr,kk=P($H())({name:"BGTwoLineThree",class:"b1jz1hg0",propsAsIs:!0}),zH=()=>qr,Sk=P(zH())({name:"BGThreeLineOne",class:"b18ho1tk",propsAsIs:!0}),HH=()=>qr,wk=P(HH())({name:"BGThreeLineTwo",class:"b14uvjfm",propsAsIs:!0}),GH=()=>qr,Ck=P(GH())({name:"BGThreeLineThree",class:"b11c3ns7",propsAsIs:!0}),qH=()=>qr,Ek=P(qH())({name:"BGThreeLineFour",class:"b1bqhhet",propsAsIs:!0}),WH=()=>qr,QH=P(WH())({name:"BGFourLineOne",class:"b1xyzi7o",propsAsIs:!0}),YH=()=>qr,KH=P(YH())({name:"BGFourLineTwo",class:"byo0rup",propsAsIs:!0}),ZH=()=>qr,XH=P(ZH())({name:"BGFourLineThree",class:"b1oyiqgv",propsAsIs:!0}),JH=()=>qr,eG=P(JH())({name:"BGFourLineFour",class:"bx3ddqw",propsAsIs:!0}),tG=({step:n,correct:a})=>w.jsxs(w.Fragment,{children:[w.jsxs(t0,{"data-active":n===1,"data-first-screen":"true",children:[w.jsx(MH,{}),w.jsx(UH,{}),w.jsx(VH,{})]}),w.jsxs(t0,{"data-active":n===2,children:[w.jsx(Tk,{}),w.jsx(bk,{}),w.jsx(kk,{})]}),w.jsxs(t0,{"data-active":n===3,children:[w.jsx(Tk,{}),w.jsx(bk,{}),w.jsx(kk,{})]}),a?w.jsxs(w.Fragment,{children:[w.jsxs(t0,{"data-active":n===4,"data-correct":"true",children:[w.jsx(Sk,{}),w.jsx(wk,{}),w.jsx(Ck,{}),w.jsx(Ek,{})]}),w.jsxs(t0,{"data-active":n===5,"data-correct":"true",children:[w.jsx(Sk,{}),w.jsx(wk,{}),w.jsx(Ck,{}),w.jsx(Ek,{})]})]}):w.jsxs(t0,{"data-active":n===4,"data-correct":"false",children:[w.jsx(QH,{}),w.jsx(KH,{}),w.jsx(XH,{}),w.jsx(eG,{})]})]}),nG=118,aG=()=>N0,rG=P(aG())({name:"Container",class:"c10131zw",propsAsIs:!0}),oG=P("div")({name:"InnerContainer",class:"ir6k2eo",propsAsIs:!1}),Hc=P("div")({name:"Content",class:"c1hwoq9l",propsAsIs:!1}),n2=P("div")({name:"Title",class:"t4ujo4g",propsAsIs:!1}),sG=()=>n2,iG=P(sG())({name:"PointsTitle",class:"p1pjil1h",propsAsIs:!0}),Mh=P("div")({name:"Subtitle",class:"s1iorwr9",propsAsIs:!1}),_k=P("div")({name:"SubtitleFG",class:"s51sv9d",propsAsIs:!1}),Dh=P("div")({name:"AnswerText",class:"a1lbk2ye",propsAsIs:!1}),lG=()=>wt,VC=P(lG())({name:"FeedbackIcon",class:"frcvk3t",propsAsIs:!0}),uG=()=>VC,Ik=P(uG())({name:"FeedbackIconCorrect",class:"f33p82r",propsAsIs:!0}),cG=()=>VC,dG=P(cG())({name:"FeedbackIconIncorrect",class:"f12r9net",propsAsIs:!0}),Nk=P("div")({name:"CloseIconWrap",class:"c1fw6699",propsAsIs:!1}),mG=()=>wt,Rk=P(mG())({name:"CloseIcon",class:"c115o126",propsAsIs:!0}),fG="data:image/svg+xml,%3csvg%20width='154'%20height='37'%20viewBox='0%200%20154%2037'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M70.9776%2030.8796L74.668%2018.1381C75.0696%2016.7473%2076.1186%2015.6318%2077.4936%2015.1371L77.5928%2014.7217H72.466L63.7623%2024.9662L60.431%2014.7217H55.7389L55.6255%2015.1371C56.4288%2015.5291%2056.8683%2016.7052%2056.8683%2017.662V17.7227C56.8683%2023.1787%2052.781%2032.5598%2047.0352%2032.5598C44.8002%2032.5598%2043.6425%2031.0009%2043.6425%2029.7035C43.6425%2028.1306%2044.975%2027.0105%2046.3831%2027.0105C47.744%2027.0105%2047.9519%2027.5099%2048.741%2027.5099C49.2182%2027.5099%2049.6766%2027.2672%2049.9081%2026.8518C50.2672%2026.1984%2049.9931%2025.4049%2049.3363%2025.0922L48.9772%2024.9242C45.6271%2023.3327%2041.7383%2025.7457%2041.7383%2029.4188V29.4701C41.7383%2032.1444%2043.8646%2034.38%2046.5674%2034.4733C53.5417%2034.716%2058.2055%2025.4236%2058.9473%2018.6188L59.486%2020.4577L62.2313%2028.5927H63.2709L71.8518%2018.4741L68.2512%2030.8936C67.8401%2032.3171%2066.6966%2033.4232%2065.2412%2033.7966L65.142%2034.212H72.0408L72.1542%2033.7966C71.1383%2033.2039%2070.6516%2032.0044%2070.9776%2030.8796Z'%20fill='white'/%3e%3cpath%20d='M88.2952%2021.6521H88.2385C85.016%2021.6568%2081.5571%2021.9648%2079.7143%2027.1361C78.1692%2031.4813%2077.7487%2033.2828%2076.539%2033.2828C75.7641%2033.2828%2075.9531%2031.794%2074.7954%2031.794C74.2709%2031.794%2073.7275%2032.2094%2073.6897%2032.8068C73.6236%2033.8429%2075.0317%2034.4683%2076.0949%2034.4683C79.3316%2034.4683%2080.5696%2032.1347%2080.9759%2031.0472C81.0279%2030.9072%2081.3162%2030.1371%2081.6517%2029.2317H85.0538L84.4773%2031.3273C84.1749%2032.4334%2083.5464%2033.3388%2082.488%2033.8009L82.3982%2034.2163H87.9597L88.0637%2033.8009C87.3124%2033.1848%2086.9816%2032.2%2087.2273%2031.2853L89.3206%2023.4257C89.4812%2022.8236%2089.9018%2022.3242%2090.4783%2022.0628L90.568%2021.6475H88.7536H88.2952V21.6521ZM85.3231%2028.2189H82.0202C82.3935%2027.2108%2082.7526%2026.2493%2082.8755%2025.9366C83.7118%2023.757%2085.2995%2022.8749%2086.8399%2022.7536L86.8257%2022.7676L85.3231%2028.2189Z'%20fill='white'/%3e%3cpath%20d='M116.358%2022.5486C116.538%2022.2545%20116.708%2021.8112%20116.708%2021.5591C116.732%2021.0877%20116.297%2020.7237%20115.829%2020.8217C115.456%2020.9011%20115.187%2021.2324%20115.191%2021.6058C115.196%2021.9978%20115.12%2022.4226%20114.95%2022.6279C114.558%2023.104%20113.934%2023.062%20111.062%2022.2452V22.2405C110.797%2022.1659%20110.509%2022.0819%20110.206%2021.9978C110.187%2021.9932%20110.173%2021.9885%20110.159%2021.9838C108.723%2021.6011%20106.941%2021.2464%20105.774%2021.8205C105.765%2021.8252%20105.755%2021.8298%20105.746%2021.8345C104.602%2022.3992%20103.808%2023.4727%20103.567%2024.7142C103.53%2024.8962%20103.506%2025.0455%20103.501%2025.0969C103.468%2025.7456%20104.068%2026.2544%20104.711%2026.1143C105.235%2026.0023%20105.604%2025.5403%20105.59%2025.0129C105.58%2024.4808%20105.472%2023.7667%20105.765%2023.286C106.237%2022.6279%20106.729%2022.5812%20108.935%2023.3047L106.544%2031.323C106.214%2032.4291%20105.406%2033.3345%20104.338%2033.7966L104.238%2034.212H109.961L110.074%2033.7966C109.337%2033.1852%20109.03%2032.1957%20109.299%2031.2809L111.392%2024.0561C112.309%2024.2428%20113.24%2024.2941%20114.147%2024.0374L114.473%2023.9441C115.196%2023.7527%20115.943%2023.2347%20116.358%2022.5486Z'%20fill='white'/%3e%3cpath%20d='M118.649%2021.6523L118.536%2022.0677C119.245%2022.5531%20119.561%2023.4259%20119.335%2024.2427L117.208%2031.3228C116.877%2032.429%20116.069%2033.3344%20115.002%2033.7964L114.902%2034.2118H117.931H118.21H125.18L126.101%2030.8934H125.666L125.51%2031.2108C124.934%2032.3963%20123.72%2033.1524%20122.382%2033.1524H119.429L121.003%2027.5937H122.259C123.105%2027.5937%20123.743%2028.3545%20123.582%2029.1759H124.012L125.043%2025.4188H124.613C124.362%2026.1142%20123.696%2026.5763%20122.949%2026.5809H121.291L122.382%2022.7258L125.515%2022.7211C126.536%2022.7211%20127.301%2023.6452%20127.098%2024.6347H127.528L128.35%2021.6523H118.649Z'%20fill='white'/%3e%3cpath%20d='M138.251%2021.6582H131.333L131.22%2022.0736C131.881%2022.5263%20132.207%2023.3197%20132.056%2024.0898L129.892%2031.324C129.561%2032.4301%20128.753%2033.3356%20127.685%2033.7976L127.586%2034.213H133.303L133.417%2033.7976C132.68%2033.1862%20132.373%2032.2014%20132.637%2031.282L133.686%2027.5949H134.126C134.787%2027.5949%20135.34%2028.085%20135.416%2028.7337C135.439%2028.9437%20135.77%2031.506%20136.035%2032.3881C136.379%2033.5409%20136.833%2034.213%20137.868%2034.213H140.453L140.552%2033.7976L140.183%2033.5829C139.451%2033.1536%20138.922%2032.4908%20138.685%2031.6087C138.463%2030.7779%20138.043%2029.2284%20137.84%2028.4117C137.736%2027.9916%20137.202%2027.5996%20136.654%2027.5996H137.523C139.087%2027.5996%20140.457%2026.5681%20140.878%2025.0839C141.365%2023.3617%20140.056%2021.6582%20138.251%2021.6582ZM138.369%2024.6872C138.029%2025.812%20136.98%2026.5868%20135.789%2026.5868H133.974L135.071%2022.7317H136.89C137.925%2022.727%20138.662%2023.7118%20138.369%2024.6872Z'%20fill='white'/%3e%3cpath%20d='M100.265%2022.2961C100.081%2022.2961%2099.6794%2022.1701%2099.0651%2021.9181C98.4508%2021.6661%2097.8318%2021.54%2097.2034%2021.54C95.904%2021.54%2094.8219%2021.9554%2093.9336%2022.8422C93.1964%2023.5796%2092.8704%2024.401%2092.8704%2025.1105C92.8704%2025.8665%2093.3193%2026.7533%2094.2124%2027.4721C95.0582%2028.1488%2095.937%2028.8022%2096.8206%2029.465C97.7468%2030.1977%2098.2098%2030.8745%2098.2098%2031.4252C98.2098%2032.634%2097.416%2033.2828%2095.7669%2033.2828C94.0942%2033.2828%2092.9366%2032.074%2092.568%2029.8057H92.1144L90.8008%2034.2162H91.226C91.7694%2033.8382%2092.1569%2033.6001%2092.946%2033.6001C93.6973%2033.6001%2094.5006%2034.4729%2096.2158%2034.4729C97.5814%2034.4729%2098.6682%2034.1929%2099.5943%2033.2781C100.383%2032.4753%20100.776%2031.3552%20100.776%2030.4404C100.776%2029.591%20100.237%2028.6062%2099.2966%2027.8921C98.4886%2027.2807%2097.6286%2026.7347%2096.7923%2026.1419C95.8898%2025.4792%2095.4362%2024.9144%2095.4362%2024.2937C95.4362%2023.9483%2095.611%2023.6076%2095.9559%2023.2622C96.3954%2022.8282%2096.986%2022.7302%2097.7751%2022.7302C99.3581%2022.7302%20100.464%2023.5983%20100.558%2025.4325H100.974L102.08%2021.5447H101.664C101.215%2022.0441%20100.752%2022.2961%20100.265%2022.2961Z'%20fill='white'/%3e%3cpath%20d='M149.201%2022.7304C150.784%2022.7304%20151.89%2023.6032%20151.984%2025.4327H152.4L153.501%2021.5449H153.085C152.646%2022.049%20152.182%2022.301%20151.696%2022.301C151.512%2022.301%20151.11%2022.175%20150.496%2021.923C149.881%2021.6709%20149.262%2021.5449%20148.634%2021.5449C147.334%2021.5449%20146.252%2021.9603%20145.364%2022.8471C144.627%2023.5845%20144.296%2024.4059%20144.296%2025.1153C144.296%2025.8714%20144.745%2026.7582%20145.638%2027.477C146.484%2028.1537%20147.363%2028.8071%20148.246%2029.4699C149.173%2030.2026%20149.636%2030.8794%20149.636%2031.4301C149.636%2032.6389%20148.842%2033.2876%20147.193%2033.2876C145.52%2033.2876%20144.362%2032.0788%20143.994%2029.8106H143.54L142.227%2034.2211H142.642C143.186%2033.843%20143.573%2033.605%20144.358%2033.605C145.109%2033.605%20145.912%2034.4778%20147.627%2034.4778C148.993%2034.4778%20150.075%2034.1978%20151.006%2033.283C151.795%2032.4802%20152.187%2031.3601%20152.187%2030.4453C152.187%2029.6005%20151.649%2028.6111%20150.708%2027.897C149.9%2027.2856%20149.04%2026.7395%20148.204%2026.1468C147.301%2025.4841%20146.848%2024.9193%20146.848%2024.2986C146.848%2023.9532%20147.023%2023.6125%20147.368%2023.2671C147.826%2022.8237%20148.412%2022.7304%20149.201%2022.7304Z'%20fill='white'/%3e%3cpath%20d='M26.5433%202.60035C26.0377%202.44633%2025.5321%202.72169%2025.0265%203.00173C24.8469%203.09974%2024.7194%203.27243%2024.6768%203.46845L23.883%207.13222C23.8547%207.26757%2023.9775%207.38891%2024.1145%207.36091C24.9509%207.17422%2025.7447%206.4508%2026.5811%206.70283C27.5167%206.98753%2028.4522%205.81606%2029.3878%205.83006V1.60156C28.4475%201.60623%2027.4789%202.88505%2026.5433%202.60035Z'%20fill='white'/%3e%3cpath%20d='M38.4856%2013.8398C38.2871%2013.7044%2038.1643%2013.4851%2038.1643%2013.2471V12.5796C38.1643%2011.9822%2037.6729%2011.4922%2037.0633%2011.4922H36.6239C36.0994%2011.4922%2035.6174%2011.7536%2035.3339%2012.1876L33.9164%2014.3485C33.7746%2014.5632%2033.5383%2014.6892%2033.2832%2014.6892H32.3287C31.8562%2014.6892%2031.4215%2014.9459%2031.1947%2015.3566C30.9631%2015.7814%2030.552%2016.0754%2030.0843%2016.1734V1.1403C30.0843%200.94894%2029.9283%200.794922%2029.7346%200.794922C29.5409%200.794922%2029.3849%200.94894%2029.3849%201.1403V1.60702V5.83552V16.1827C28.9171%2016.0847%2028.506%2015.7907%2028.2745%2015.3613C28.0524%2014.9506%2027.6177%2014.6939%2027.1405%2014.6939H26.4979C25.9875%2014.6939%2025.5292%2014.9879%2025.3213%2015.45L24.7873%2016.6308C24.7023%2016.8175%2024.5133%2016.9388%2024.3054%2016.9388C24.0975%2016.9388%2023.9085%2016.8175%2023.8234%2016.6308L23.2895%2015.45C23.0816%2014.9926%2022.6232%2014.6939%2022.1129%2014.6939H4.00135C3.85487%2014.6939%203.73674%2014.8106%203.73674%2014.9553C3.73674%2015.2633%203.48158%2015.5107%203.17444%2015.5107H2.39007C2.24359%2015.5107%202.12546%2015.6273%202.12546%2015.772V16.6728C2.12546%2017.5176%201.96008%2018.339%201.62931%2019.1184L1.15207%2020.2526C0.707907%2021.3027%200.5%2022.3901%200.5%2023.4589V26.0726C0.5%2026.7773%200.603954%2027.4914%200.811861%2028.1868C1.39306%2030.1377%202.7161%2031.7339%204.53529%2032.6767L7.43182%2034.1842C7.46962%2034.2029%207.51214%2034.2122%207.55467%2034.2122L9.69517%2034.2309C10.196%2034.2355%2010.6875%2034.3616%2011.1269%2034.6043L12.2751%2035.239C12.3129%2035.2623%2012.3602%2035.2717%2012.4074%2035.2717H13.9431C14.4818%2035.2717%2015.0157%2035.4163%2015.474%2035.6917C15.474%2035.6917%2016.2253%2036.1444%2016.4805%2036.2891C16.8869%2036.5225%2017.3783%2036.7465%2018.2335%2036.7932C18.4273%2036.8025%2018.621%2036.7325%2018.7675%2036.5972C18.9092%2036.4618%2018.9943%2036.2704%2018.9943%2036.0791V35.0616C18.9943%2034.3242%2019.4337%2033.6521%2020.1189%2033.3581L22.4673%2032.3406C22.7886%2032.2006%2023.1477%2032.1773%2023.4832%2032.28L24.3621%2032.5367C24.7354%2032.644%2025.1323%2032.6487%2025.5056%2032.5367L27.5846%2031.9253C27.8587%2031.8459%2028.1517%2031.8459%2028.4304%2031.9299L29.2763%2032.1633C29.6684%2032.2706%2029.9472%2032.6347%2029.9472%2033.0361V35.071C29.9472%2036.0184%2030.7269%2036.7932%2031.6861%2036.7932C32.4043%2036.7932%2033.0328%2036.3405%2033.2501%2035.6637C33.6423%2034.4456%2033.8408%2033.1761%2033.8408%2031.8973V31.0292C33.8408%2030.4131%2034.1006%2029.8204%2034.5543%2029.3956L35.419%2028.5882C36.0002%2028.0421%2036.3356%2027.2674%2036.3356%2026.474V21.6481C36.3356%2020.9013%2036.5625%2020.1779%2036.9972%2019.5618C37.0302%2019.5198%2037.0444%2019.4638%2037.0444%2019.4125V18.2737C37.0444%2017.5316%2037.2712%2016.8128%2037.6965%2016.2014L38.5517%2014.9739C38.5848%2014.9319%2038.599%2014.8806%2038.599%2014.8246V14.0545C38.6037%2013.9098%2038.5139%2013.8585%2038.4856%2013.8398ZM30.0843%2025.2838C30.6654%2025.3725%2031.1002%2025.6665%2031.1002%2026.0212C31.1002%2026.3759%2030.6702%2026.67%2030.0843%2026.7587V25.2838ZM5.22516%2032.4433L4.78572%2032.2146C3.59026%2031.5939%202.63577%2030.6698%201.9837%2029.545V28.1355C2.73028%2029.2043%203.74619%2030.1144%204.98891%2030.7631L5.22516%2030.8845V32.4433ZM7.43654%2033.5961L6.2647%2032.9894V31.4305L7.43182%2032.0373H7.43654V33.5961ZM12.3129%2034.6556L11.3868%2034.1422C10.8812%2033.8622%2010.3142%2033.7128%209.73297%2033.7035V32.0793C10.2197%2032.0886%2010.7016%2032.2146%2011.1269%2032.448L12.2751%2033.0827C12.2846%2033.0874%2012.2987%2033.0874%2012.3129%2033.0921V34.6556ZM18.4603%2035.0616V35.8551V36.0791C18.4603%2036.1304%2018.4367%2036.1818%2018.3989%2036.2191C18.3611%2036.2564%2018.3139%2036.2705%2018.2619%2036.2705C17.52%2036.2331%2017.0948%2036.0418%2016.7498%2035.8411C16.4994%2035.6964%2015.7528%2035.2483%2015.7481%2035.2483C15.2803%2034.9683%2014.7511%2034.8143%2014.2077%2034.7723V33.1387C14.6519%2033.1808%2015.0866%2033.3114%2015.474%2033.5401L16.1214%2033.9228C16.8302%2034.3429%2017.6382%2034.5809%2018.4603%2034.6276V35.0616ZM24.8582%2032.0886C24.7448%2032.084%2024.6267%2032.0653%2024.5133%2032.0326L23.6344%2031.7713C23.4454%2031.7152%2023.2517%2031.6966%2023.0579%2031.6966V30.0677C23.1997%2030.0677%2023.3414%2030.0817%2023.4832%2030.1237L24.3621%2030.3804C24.5227%2030.4271%2024.6928%2030.4504%2024.8582%2030.4598V32.0886ZM30.363%2032.4807C30.1929%2032.0886%2029.8574%2031.7759%2029.4275%2031.6592L28.5864%2031.4259C28.3879%2031.3652%2028.18%2031.3419%2027.9721%2031.3419V29.7177C28.1328%2029.713%2028.2934%2029.7317%2028.4493%2029.783L29.1392%2029.9977C29.8716%2030.2264%2030.363%2030.8891%2030.363%2031.6452V32.4807ZM32.787%2035.365C32.7729%2035.4117%2032.7634%2035.4584%2032.7492%2035.505C32.6028%2035.9624%2032.1775%2036.2658%2031.6955%2036.2658C31.653%2036.2658%2031.6105%2036.2564%2031.568%2036.2518V34.6323C31.601%2034.6369%2031.6294%2034.6416%2031.6625%2034.6416C32.135%2034.6416%2032.565%2034.3802%2032.7918%2033.9835V35.365H32.787ZM37.3232%2015.0486C36.794%2015.8047%2036.5152%2016.6915%2036.5152%2017.6109V18.4137L36.1041%2019.0017C35.5702%2019.7625%2035.2867%2020.6539%2035.2867%2021.578V25.6245C35.2867%2026.2779%2035.0126%2026.9173%2034.5306%2027.3654L33.6659%2028.1775C33.0847%2028.7236%2032.7634%2029.489%2032.787%2030.2824L32.7918%2030.4644C32.8248%2031.5146%2032.6878%2032.56%2032.3901%2033.5681C32.2956%2033.8902%2031.9932%2034.1142%2031.6577%2034.1142C31.2372%2034.1142%2030.8923%2033.7782%2030.8923%2033.3581V31.6452C30.8923%2030.6558%2030.2496%2029.7923%2029.2952%2029.4983L28.6053%2029.2836C28.2225%2029.1669%2027.8209%2029.1623%2027.4334%2029.2743L25.3544%2029.881C25.0803%2029.9604%2024.7873%2029.9604%2024.5133%2029.881L23.6344%2029.6243C23.1808%2029.489%2022.6894%2029.5217%2022.2547%2029.7083L20.4071%2030.5111C19.2258%2031.0245%2018.4651%2032.1773%2018.4651%2033.4515V34.1095C17.7374%2034.0675%2017.0286%2033.8528%2016.4002%2033.4795L15.7528%2033.0967C15.2047%2032.7747%2014.581%2032.602%2013.9431%2032.602H12.4736L11.3868%2031.9999C10.8717%2031.7152%2010.2905%2031.5659%209.69989%2031.5612L7.62082%2031.5472L5.23461%2030.3057C1.61514%2028.4249%200.0700101%2024.1917%201.64349%2020.4579L2.12073%2019.3238C2.47512%2018.4837%202.6594%2017.5922%202.6594%2016.6775V16.0427H3.17444C3.68476%2016.0427%204.11948%2015.6927%204.2376%2015.2213H22.1176C22.4153%2015.2213%2022.6894%2015.394%2022.8075%2015.6647L23.3414%2016.8455C23.5115%2017.2235%2023.8896%2017.4662%2024.3101%2017.4662C24.7259%2017.4662%2025.1087%2017.2235%2025.2788%2016.8455L25.8127%2015.66C25.9356%2015.3893%2026.2049%2015.2166%2026.5026%2015.2166H27.1452C27.424%2015.2166%2027.6791%2015.366%2027.8114%2015.6087C28.1375%2016.2061%2028.7234%2016.6075%2029.3897%2016.7148V24.145C28.317%2024.2617%2027.4949%2024.8918%2027.4949%2025.6572C27.4949%2026.5066%2028.4966%2027.1927%2029.7346%2027.1927C30.9726%2027.1927%2031.9743%2026.5066%2031.9743%2025.6572C31.9743%2024.8918%2031.1521%2024.257%2030.0795%2024.145V16.7101C30.7458%2016.6028%2031.3317%2016.2014%2031.6577%2015.604C31.79%2015.3613%2032.0452%2015.212%2032.324%2015.212H33.2785C33.7179%2015.212%2034.1195%2014.9926%2034.3605%2014.6286L35.7781%2012.4676C35.9624%2012.1829%2036.2789%2012.0149%2036.6239%2012.0149H37.0633C37.3752%2012.0149%2037.6303%2012.2669%2037.6303%2012.575V13.2424C37.6303%2013.5644%2037.7579%2013.8725%2037.98%2014.1012L37.3232%2015.0486ZM29.3849%2025.2838V26.7587C28.8037%2026.67%2028.3737%2026.3759%2028.3737%2026.0212C28.3737%2025.6665%2028.8037%2025.3678%2029.3849%2025.2838Z'%20fill='white'/%3e%3c/svg%3e",pG="data:image/svg+xml,%3csvg%20width='159'%20height='28'%20viewBox='0%200%20159%2028'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_6919_71839)'%3e%3cpath%20d='M4.13243%2025.9198C5.34921%2026.9052%207.05161%2027.0267%208.39597%2026.224L22.9838%2017.5138C25.4013%2016.0703%2025.4117%2012.5721%2023.0028%2011.1144L17.4686%207.76522C15.4767%206.55981%2012.8918%207.10053%2011.5501%209.00325L3.27399%2020.7399C2.14132%2022.3462%202.44805%2024.5556%203.97544%2025.7926L4.13243%2025.9198Z'%20stroke='white'%20style='stroke:white;stroke-opacity:1;'%20stroke-width='2.33333'/%3e%3cpath%20d='M4.11673%202.57147C5.33939%201.58127%207.0516%201.46387%208.39797%202.27791L22.9843%2011.0971C25.3835%2012.5477%2025.3874%2016.0265%2022.9914%2017.4824L17.5405%2020.7946C15.5485%2022.005%2012.9594%2021.4661%2011.6157%2019.5615L3.27518%207.7386C2.142%206.1323%202.44856%203.92248%203.97619%202.68529L4.11673%202.57147Z'%20stroke='white'%20style='stroke:white;stroke-opacity:1;'%20stroke-width='2.33333'/%3e%3cpath%20d='M49.8088%2020.0063C47.924%2020.0063%2046.7521%2018.7437%2046.7521%2016.6748V13.1359H50.1977V10.9296H46.7521V7.34668L44.2736%209.18483V10.9271H42.8892V13.1333H44.2736V16.6515C44.2736%2020.2137%2046.3632%2022.4174%2049.8321%2022.4174H50.361V20.0063H49.8088Z'%20fill='white'%20style='fill:white;fill-opacity:1;'/%3e%3cpath%20d='M30.4704%2019.5631L32.6818%2017.8339C33.6722%2019.4231%2035.01%2020.2761%2036.7159%2020.2761C38.5826%2020.2761%2039.757%2019.0783%2039.757%2017.5798C39.757%2015.8505%2037.9137%2015.2983%2035.977%2014.6761C33.6956%2013.9398%2031.23%2013.0168%2031.23%209.92907C31.23%207.37018%2033.5115%205.34277%2036.6226%205.34277C39.1815%205.34277%2040.7707%206.33314%2042.0618%207.83166L40.0111%209.35351C39.2515%208.17907%2038.1211%207.55685%2036.6226%207.55685C34.9167%207.55685%2033.8096%208.57055%2033.8096%209.88499C33.8096%2011.4976%2035.5856%2012.0291%2037.5196%2012.6746C39.8244%2013.4576%2042.3367%2014.4506%2042.3367%2017.585C42.3367%2020.1672%2040.2159%2022.6328%2036.7367%2022.6328C33.8563%2022.6328%2031.8963%2021.4117%2030.4678%2019.5683L30.4704%2019.5631Z'%20fill='white'%20style='fill:white;fill-opacity:1;'/%3e%3cpath%20d='M58.9189%2016.7007C58.9189%2013.3225%2061.5141%2010.6807%2064.8923%2010.6807C68.2704%2010.6807%2070.7982%2013.1384%2070.7982%2016.5399V17.5044H61.286C61.6075%2019.2725%2062.9867%2020.4444%2064.9856%2020.4444C66.5489%2020.4444%2067.7441%2019.6173%2068.3404%2018.3755L70.3627%2019.5007C69.3515%2021.3855%2067.5367%2022.6247%2064.9856%2022.6247C61.356%2022.6247%2058.9189%2020.0296%2058.9189%2016.6981V16.7007ZM61.4001%2015.4147H68.2938C67.9256%2013.7607%2066.663%2012.8403%2064.8923%2012.8403C63.1215%2012.8403%2061.8589%2013.8981%2061.4001%2015.4147Z'%20fill='white'%20style='fill:white;fill-opacity:1;'/%3e%3cpath%20d='M51.8955%2016.6752C51.8955%2013.113%2053.9851%2010.9326%2057.454%2010.9326H58.5559V13.323H57.4307C55.5459%2013.323%2054.33%2014.6322%2054.3533%2016.7011V22.423H51.8955V16.6804V16.6752Z'%20fill='white'%20style='fill:white;fill-opacity:1;'/%3e%3cpath%20d='M72.0138%2016.6774C72.0138%2013.3226%2074.6557%2010.7041%2077.9638%2010.7041C81.272%2010.7041%2083.8672%2013.3226%2083.8672%2016.6774V22.42H81.456V20.9267C80.6523%2022.0052%2079.4105%2022.6274%2077.8938%2022.6274C74.609%2022.6274%2072.0112%2020.0556%2072.0112%2016.6774H72.0138ZM81.5027%2016.6774C81.5027%2014.6319%2079.9394%2013.0011%2077.9638%2013.0011C75.9883%2013.0011%2074.4249%2014.6319%2074.4249%2016.6774C74.4249%2018.723%2075.9649%2020.3537%2077.9638%2020.3537C79.9627%2020.3537%2081.5027%2018.6997%2081.5027%2016.6774Z'%20fill='white'%20style='fill:white;fill-opacity:1;'/%3e%3cpath%20d='M85.4155%2015.978C85.4155%2012.9214%2087.5052%2010.6943%2090.6085%2010.6943C92.3766%2010.6943%2093.8026%2011.4073%2094.697%2012.6025C95.5474%2011.4073%2096.9266%2010.6943%2098.6948%2010.6943C101.819%2010.6943%20104.002%2012.8773%20104.002%2015.978V22.4103H101.544V16.0014C101.544%2014.2566%20100.372%2013.038%2098.6948%2013.038C97.0174%2013.038%2095.9155%2014.2799%2095.9389%2015.934V22.4129H93.4811V16.004C93.4811%2014.2592%2092.2859%2013.0406%2090.6085%2013.0406C88.9311%2013.0406%2087.8526%2014.2825%2087.8733%2015.9366V22.4154H85.4155V15.9832V15.978Z'%20fill='white'%20style='fill:white;fill-opacity:1;'/%3e%3cpath%20d='M105.578%205.6416H108.082V20.0227H114.859V22.4131H105.578V5.6416Z'%20fill='white'%20style='fill:white;fill-opacity:1;'/%3e%3cpath%20d='M138.483%2016.7007C138.483%2013.3225%20141.078%2010.6807%20144.456%2010.6807C147.834%2010.6807%20150.362%2013.1384%20150.362%2016.5399V17.5044H140.85C141.171%2019.2725%20142.551%2020.4444%20144.55%2020.4444C146.113%2020.4444%20147.308%2019.6173%20147.904%2018.3755L149.927%2019.5007C148.916%2021.3855%20147.101%2022.6247%20144.55%2022.6247C140.92%2022.6247%20138.483%2020.0296%20138.483%2016.6981V16.7007ZM140.964%2015.4147H147.858C147.49%2013.7607%20146.227%2012.8403%20144.456%2012.8403C142.685%2012.8403%20141.423%2013.8981%20140.964%2015.4147Z'%20fill='white'%20style='fill:white;fill-opacity:1;'/%3e%3cpath%20d='M115.269%2016.6774C115.269%2013.3226%20117.911%2010.7041%20121.219%2010.7041C124.527%2010.7041%20127.122%2013.3226%20127.122%2016.6774V22.42H124.711V20.9267C123.907%2022.0052%20122.665%2022.6274%20121.149%2022.6274C117.864%2022.6274%20115.266%2020.0556%20115.266%2016.6774H115.269ZM124.758%2016.6774C124.758%2014.6319%20123.194%2013.0011%20121.219%2013.0011C119.243%2013.0011%20117.68%2014.6319%20117.68%2016.6774C117.68%2018.723%20119.22%2020.3537%20121.219%2020.3537C123.218%2020.3537%20124.758%2018.6997%20124.758%2016.6774Z'%20fill='white'%20style='fill:white;fill-opacity:1;'/%3e%3cpath%20d='M131.67%2021.8547L126.915%2010.9658H129.557L132.912%2018.938L136.082%2010.9658H138.678L131.74%2027.7606H129.212L131.67%2021.8573V21.8547Z'%20fill='white'%20style='fill:white;fill-opacity:1;'/%3e%3cpath%20d='M151.897%2016.6674C151.897%2013.1052%20153.987%2010.9248%20157.455%2010.9248H158.557V13.3152H157.432C155.547%2013.3152%20154.331%2014.6244%20154.355%2016.6933V22.4152H151.897V16.6726V16.6674Z'%20fill='white'%20style='fill:white;fill-opacity:1;'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_6919_71839'%3e%3crect%20width='158.12'%20height='28'%20fill='white'%20style='fill:white;fill-opacity:1;'%20transform='translate(0.44043)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",hG=(n,a,o)=>n===a?"translateY(0px)":n>a?`translateY(${o}px)`:"translateY(-100%)",gG=({close:n,votedAnswer:a,mastersApp:o,correct:l,correctAnswerTitle:c,questionTitle:p,saveHeight:f,style:y,hiding:b})=>{const[C,_]=W.useState(1),N=W.useRef({});W.useEffect(()=>{const x=setInterval(()=>{_(D=>l&&D>4||!l&&D>3?D:++D)},3e3);return()=>clearInterval(x)},[l]),W.useEffect(()=>{var x,D;N.current[C]&&f(((D=(x=N.current[C])==null?void 0:x.getBoundingClientRect())==null?void 0:D.height)||nG)},[C,f]);const O=x=>D=>{N.current&&(N.current[x]=D)},L=x=>({transform:hG(x,C,y.height)});return w.jsx(rG,{style:y.height?y:{...y,paddingTop:0,paddingBottom:0},hiding:b,children:w.jsxs(oG,{style:{height:y.height,minHeight:y.height,backgroundColor:C>3?l?"var(--color-sdk-prediction-result-success-bg)":"var(--color-sdk-prediction-result-incorrect-bg)":"var(--color-primary-1)"},children:[w.jsx(tG,{step:C,correct:l}),o&&w.jsxs(Hc,{ref:O(1),style:L(1),children:[w.jsx("img",{alt:"sponsor-logo",src:fG}),w.jsx(_k,{children:"Featured Groups +"})]}),!o&&w.jsx(Hc,{ref:O(1),style:L(1),children:w.jsx("img",{alt:"sponsor-logo",src:pG})}),w.jsxs(Hc,{ref:O(2),style:L(2),children:[w.jsx(n2,{children:"Prediction results are in!"}),o&&w.jsx(_k,{children:"Featured Groups +"})]}),w.jsxs(Hc,{ref:O(3),style:L(3),children:[w.jsx(n2,{children:p}),w.jsx(Mh,{children:w.jsxs(Dh,{children:[w.jsx("span",{children:"Your Pick:"})," ",a==null?void 0:a.title]})})]}),l?w.jsxs(w.Fragment,{children:[w.jsxs(Hc,{ref:O(4),style:{...L(4),color:"var(--color-sdk-prediction-result-success-text)"},children:[w.jsxs(n2,{children:["Congratulations!",w.jsx("br",{}),"You answered correctly."]}),w.jsxs(Mh,{children:[w.jsx(Ik,{name:"selected"}),w.jsxs(Dh,{children:[w.jsx("span",{children:"Your Pick:"})," ",a==null?void 0:a.title]})]})]}),w.jsxs(Hc,{ref:O(5),style:{...L(5),color:"var(--color-sdk-prediction-result-success-text)"},children:[w.jsx(iG,{children:C===5&&w.jsx(N6,{delay:.5,prefix:"+",suffix:" points",value:a==null?void 0:a.points})}),w.jsxs(Mh,{children:[w.jsx(Ik,{name:"selected"}),w.jsxs(Dh,{children:[w.jsx("span",{children:"Your Pick:"})," ",a==null?void 0:a.title]})]}),w.jsx(Nk,{onClick:n,children:w.jsx(Rk,{name:"icon-cross"})})]})]}):w.jsxs(Hc,{ref:O(4),style:L(4),children:[w.jsxs(n2,{style:{color:"var(--color-sdk-prediction-result-error-title)"},children:["Better luck next time!",w.jsx("br",{}),"Correct: ",c,"."]}),w.jsxs(Mh,{style:{color:"var(--color-sdk-prediction-result-error-subtitle)"},children:[w.jsx(dG,{name:"circleClose"}),w.jsxs(Dh,{children:[w.jsx("span",{children:"Your Pick:"})," ",a==null?void 0:a.title]})]}),w.jsx(Nk,{onClick:n,children:w.jsx(Rk,{name:"icon-cross"})})]})]})})},yG=n=>{const[a,o]=W.useState(!1),[l,c]=W.useState(!1),p=W.useRef(null),f=W.useCallback(()=>{c(!0),p.current&&clearTimeout(p.current),p.current=setTimeout(()=>{c(!1)},1e3)},[]),y=W.useCallback(async b=>{o(!0);const C=b.map(_=>new Promise((N,O)=>{const L=new Image;L.onload=()=>N(_),L.onerror=()=>O(),L.src=_}));await Promise.allSettled(C),o(!1)},[]);return W.useEffect(()=>{n&&(f(),y(n))},[n,f,y]),{loading:a,throttled:l}},vG=P("div")({name:"Container",class:"cl51m2q",propsAsIs:!1}),TG=P("img")({name:"Avatar",class:"a2yhhhr",propsAsIs:!1}),bG=P("div")({name:"AvatarPlaceholder",class:"a1dtxxlr",propsAsIs:!1}),kG=P("div")({name:"Content",class:"c12clm3w",propsAsIs:!1}),SG=P("span")({name:"Name",class:"n14lctn7",propsAsIs:!1}),wG=({avatar:n,name:a})=>w.jsxs(vG,{children:[n&&w.jsx(TG,{src:n}),!n&&w.jsx(bG,{children:iy(a||"")}),w.jsxs(kG,{children:[w.jsxs(SG,{children:[a," "]}),"is waiting for you!"]})]}),CG=P("div")({name:"Container",class:"c1htq1lb",propsAsIs:!1}),EG=P("div")({name:"Graphic",class:"gjyzpp7",propsAsIs:!1}),_G=P("img")({name:"GraphicImage",class:"g16mldgz",propsAsIs:!1}),IG=P("div")({name:"Headline",class:"h69js65",propsAsIs:!1}),NG=P("div")({name:"TaglineContainer",class:"tmm7qmo",propsAsIs:!1}),RG=P("div")({name:"Tagline",class:"t17knuw2",propsAsIs:!1}),OG=P("div")({name:"Content",class:"c1b74psg",propsAsIs:!1}),LG=P("div")({name:"StepsContainer",class:"s1y99ug7",propsAsIs:!1}),AG=P("span")({name:"StepIndicator",class:"sgf3v5n",propsAsIs:!1}),xG=P("div")({name:"InvitingUserWrap",class:"i1sj6gn8",propsAsIs:!1}),PG=({loading:n,steps:a,currentStep:o,inviterName:l})=>{const{headline:c,tagline:p}=a[o];return w.jsxs(CG,{children:[p&&w.jsx(NG,{children:w.jsx(uo,{loading:n,children:w.jsx(RG,{children:p})})}),w.jsxs(OG,{"data-welcome-screen":o===0,children:[w.jsx(EG,{children:w.jsx(uo,{loading:n,children:a.map(({graphicSrc:f},y)=>w.jsx(_G,{src:f,"data-active":o===y}))})}),c&&w.jsx(uo,{loading:n,children:w.jsx(IG,{children:c})})]}),l&&o===0&&w.jsx(xG,{children:w.jsx(wG,{name:l})}),w.jsx(LG,{style:n?{visibility:"hidden"}:{},children:Array.from({length:a.length}).map((f,y)=>w.jsx(AG,{"data-active":o===y},y))})]})},MG=P("div")({name:"Container",class:"cm0bev",propsAsIs:!1}),DG=P("div")({name:"Content",class:"ce7x737",propsAsIs:!1}),UG=P("div")({name:"Title",class:"tc2tor6",propsAsIs:!1}),FG=P("div")({name:"RulesList",class:"r1k5klql",propsAsIs:!1}),VG=P("div")({name:"RulesItem",class:"r1tf3ft2",propsAsIs:!1}),BG=P("div")({name:"RuleIcon",class:"rwpvg1k",propsAsIs:!1}),jG=P("div")({name:"RuleText",class:"rbxiag0",propsAsIs:!1}),$G=P("button")({name:"TermsButton",class:"t6cyrry",propsAsIs:!1}),zG=({rules:n,rulesTitle:a,termsText:o,primaryColor:l,openTerms:c})=>w.jsxs(MG,{children:[w.jsxs(DG,{children:[w.jsx(UG,{children:a}),w.jsx(FG,{children:n==null?void 0:n.map(({label:p,icon:f},y)=>w.jsxs(VG,{children:[f&&w.jsx(BG,{style:{backgroundColor:l},children:w.jsx(wt,{name:f,"data-icon":f})}),w.jsx(jG,{children:p})]},y))})]}),o&&w.jsx($G,{onClick:c,children:"See Terms and Conditions"})]}),HG=P("div")({name:"Container",class:"cj0g35h",propsAsIs:!1}),GG=P("div")({name:"Content",class:"c1xkhrbn",propsAsIs:!1}),qG=P("div")({name:"Title",class:"tifzb8b",propsAsIs:!1}),WG=P("div")({name:"ScrollingText",class:"stduw5c",propsAsIs:!1}),QG=({termsTitle:n,termsText:a})=>w.jsx(HG,{children:w.jsxs(GG,{children:[w.jsx(qG,{children:n}),w.jsx(WG,{children:a})]})}),YG=P("button")({name:"SButton",class:"s1nve60q",propsAsIs:!1}),KG=P("span")({name:"ButtonLabel",class:"b1xoswwx",propsAsIs:!1}),ZG=({disabled:n,variant:a="primary",onClick:o,children:l,...c})=>w.jsx(YG,{onClick:o,disabled:n,"data-variant":a,...c,children:w.jsx(KG,{children:l})}),XG=P("div")({name:"Container",class:"c18uddbs",propsAsIs:!1}),JG=P("div")({name:"Content",class:"cvcfjf6",propsAsIs:!1}),eq=P("div")({name:"OnboardingHeader",class:"o1ie27lw",propsAsIs:!1}),tq=P("button")({name:"CloseBtn",class:"c15cjkwi",propsAsIs:!1}),nq=()=>wt,aq=P(nq())({name:"IconClose",class:"i1mavjt2",propsAsIs:!0}),rq=P("div")({name:"OnboardingFooter",class:"o1x0dyzv",propsAsIs:!1}),oq=()=>ZG,sq=P(oq())({name:"OnboardingActionBtn",class:"o1jfi9c3",propsAsIs:!0}),n0={steps:!1,rules:!1,inviteCard:!1},iq=({gamification:n,steps:a,rules:o,rulesBtnLabel:l,rulesTitle:c,termsTitle:p,termsText:f,primaryColor:y,inviteLink:b,inviteCardTitle:C,inviteCardSubtext:_,inviteCardBtnLabel:N,loading:O,inviterName:L,sdk:x,onClose:D})=>{const[B,V]=W.useState(0),[Q,K]=W.useState(!1),[re,te]=W.useState(n0);W.useEffect(()=>{a!=null&&a.length?te({...n0,steps:!0}):o!=null&&o.length?te({...n0,rules:!0}):te({...n0,inviteCard:!0})},[]);const ue=W.useMemo(()=>re.steps&&B===0?"Continue":re.rules?Q||!l?"Got it":l:re.inviteCard?N||"Play Now":"Next",[re,B,Q,l,N]),oe=W.useCallback(()=>{a!=null&&a.length&&B<a.length-1?V(de=>++de):o!=null&&o.length&&re.steps?te({...n0,rules:!0}):re.rules&&te({...n0,inviteCard:!0})},[B,a==null?void 0:a.length,o==null?void 0:o.length,re,V,te]),Ne=async()=>{re.inviteCard?await n.onboardingStatus.submitInplay():re.rules&&Q?K(!1):oe()};return W.useEffect(()=>{!O&&L&&x.inviteDisplayed()},[O,L,x]),w.jsx(S$,{children:({width:de,height:Fe})=>w.jsxs(XG,{style:{width:de,height:Fe,maxHeight:Fe},children:[w.jsx(eq,{children:w.jsx(tq,{onClick:D,children:w.jsx(aq,{name:"icon-close-btn-gray"})})}),w.jsxs(JG,{children:[re.steps&&(a==null?void 0:a.length)&&w.jsx(PG,{loading:O,steps:a,currentStep:B,inviterName:L}),re.rules&&!Q&&w.jsx(zG,{rules:o,rulesTitle:c,termsText:f,primaryColor:y,openTerms:()=>K(!0)}),re.rules&&Q&&w.jsx(QG,{termsTitle:p,termsText:f}),re.inviteCard&&w.jsx(gy,{inviteLink:b,inviteCardTitle:C,inviteCardSubtext:_,primaryColor:y})]}),w.jsx(rq,{children:w.jsx(uo,{loading:O,style:{width:"100%"},children:w.jsx(sq,{onClick:Ne,children:ue})})})]})})},lq=P("div")({name:"Container",class:"czz4rjk",propsAsIs:!1}),uq=P("div")({name:"CloseIconWrap",class:"cxmojsy",propsAsIs:!1}),cq=()=>wt,dq=P(cq())({name:"CloseIcon",class:"c1urm3yx",propsAsIs:!0}),mq=P("div")({name:"Title",class:"tme976v",propsAsIs:!1}),fq=P("img")({name:"SponsorLogo",class:"s1lal9yz",propsAsIs:!1}),pq=P("div")({name:"PresentsTitle",class:"pnn1sv1",propsAsIs:!1}),hq=P("div")({name:"Subtitle",class:"s1hjj1y8",propsAsIs:!1}),gq=P("div")({name:"Description",class:"dz7yjzw",propsAsIs:!1}),yq=P("button")({name:"ActionButton",class:"avpowqk",propsAsIs:!1}),Ok=({close:n,action:a,onboarding:o})=>{var l,c,p,f,y,b,C,_;return w.jsxs(lq,{children:[w.jsx(uq,{onClick:n,children:w.jsx(dq,{name:"icon-cross"})}),((c=(l=o==null?void 0:o.titleCard)==null?void 0:l.media)==null?void 0:c.sponsorLogo)&&w.jsxs(mq,{children:[w.jsx(fq,{alt:"sponsor-logo",src:(f=(p=o==null?void 0:o.titleCard)==null?void 0:p.media)==null?void 0:f.sponsorLogo}),w.jsx(pq,{children:"PRESENTS"})]}),((y=o==null?void 0:o.titleCard)==null?void 0:y.title)&&w.jsx(hq,{children:(b=o==null?void 0:o.titleCard)==null?void 0:b.title}),((C=o==null?void 0:o.titleCard)==null?void 0:C.subtitle)&&w.jsx(gq,{children:(_=o==null?void 0:o.titleCard)==null?void 0:_.subtitle}),w.jsx(yq,{onClick:a,children:"Play Now"})]})},vq="data:image/svg+xml,%3csvg%20width='92'%20height='19'%20viewBox='0%200%2092%2019'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M14.1701%200.953996C13.9047%200.873145%2013.6393%201.0177%2013.3739%201.1647C13.2797%201.21615%2013.2127%201.3068%2013.1904%201.4097L12.7736%203.33298C12.7588%203.40404%2012.8233%203.46774%2012.8952%203.45304C13.3342%203.35504%2013.7509%202.97528%2014.19%203.10758C14.6811%203.25703%2015.1722%202.64207%2015.6634%202.64942V0.429688C15.1698%200.432138%2014.6613%201.10345%2014.1701%200.953996Z'%20fill='%23006747'/%3e%3cpath%20d='M20.4404%206.84786C20.3362%206.77681%2020.2717%206.66166%2020.2717%206.53671V6.18635C20.2717%205.87275%2020.0138%205.61549%2019.6938%205.61549H19.4631C19.1878%205.61549%2018.9348%205.75269%2018.7859%205.98055L18.0418%207.11492C17.9674%207.22762%2017.8434%207.29377%2017.7094%207.29377H17.2084C16.9603%207.29377%2016.7321%207.42852%2016.6131%207.64412C16.4915%207.86708%2016.2757%208.02143%2016.0302%208.07288V0.181303C16.0302%200.0808513%2015.9483%200%2015.8466%200C15.7449%200%2015.663%200.0808513%2015.663%200.181303V0.426307V2.64604V8.07778C15.4175%208.02633%2015.2017%207.87198%2015.0801%207.64657C14.9636%207.43097%2014.7354%207.29622%2014.4848%207.29622H14.1475C13.8796%207.29622%2013.639%207.45057%2013.5298%207.69312L13.2496%208.31299C13.2049%208.41099%2013.1057%208.47469%2012.9965%208.47469C12.8874%208.47469%2012.7882%208.41099%2012.7435%208.31299L12.4633%207.69312C12.3541%207.45302%2012.1135%207.29622%2011.8456%207.29622H2.33802C2.26113%207.29622%202.19911%207.35747%202.19911%207.43342C2.19911%207.59512%202.06517%207.72498%201.90394%207.72498H1.49218C1.41529%207.72498%201.35328%207.78623%201.35328%207.86218V8.33504C1.35328%208.77849%201.26646%209.2097%201.09283%209.61886L0.842303%2010.2142C0.60914%2010.7655%200.5%2011.3363%200.5%2011.8974V13.2694C0.5%2013.6394%200.55457%2014.0142%200.66371%2014.3793C0.968807%2015.4034%201.66334%2016.2413%202.61831%2016.7362L4.13883%2017.5276C4.15868%2017.5374%204.181%2017.5423%204.20332%2017.5423L5.32697%2017.5521C5.5899%2017.5545%205.84787%2017.6207%206.07855%2017.7481L6.6813%2018.0813C6.70115%2018.0935%206.72595%2018.0984%206.75076%2018.0984H7.5569C7.83968%2018.0984%208.11997%2018.1744%208.36057%2018.3189C8.36057%2018.3189%208.75497%2018.5566%208.88891%2018.6326C9.10223%2018.7551%209.3602%2018.8727%209.80916%2018.8972C9.91086%2018.9021%2010.0126%2018.8653%2010.0895%2018.7943C10.1639%2018.7232%2010.2085%2018.6228%2010.2085%2018.5223V17.9882C10.2085%2017.6011%2010.4392%2017.2483%2010.7989%2017.0939L12.0317%2016.5598C12.2003%2016.4863%2012.3888%2016.4741%2012.5649%2016.528L13.0263%2016.6627C13.2223%2016.7191%2013.4306%2016.7215%2013.6266%2016.6627L14.718%2016.3418C14.8619%2016.3001%2015.0156%2016.3001%2015.162%2016.3442L15.606%2016.4667C15.8119%2016.5231%2015.9582%2016.7142%2015.9582%2016.9249V17.9931C15.9582%2018.4905%2016.3675%2018.8972%2016.871%2018.8972C17.2481%2018.8972%2017.578%2018.6595%2017.6921%2018.3042C17.8979%2017.6648%2018.0021%2016.9984%2018.0021%2016.3271V15.8714C18.0021%2015.548%2018.1385%2015.2368%2018.3767%2015.0138L18.8306%2014.59C19.1357%2014.3033%2019.3118%2013.8966%2019.3118%2013.4801V10.9468C19.3118%2010.5548%2019.4309%2010.175%2019.6591%209.85161C19.6764%209.82956%2019.6839%209.80016%2019.6839%209.77321V9.1754C19.6839%208.78584%2019.8029%208.40854%2020.0262%208.08758L20.4751%207.44322C20.4925%207.42117%2020.4999%207.39422%2020.4999%207.36482V6.96056C20.5024%206.88461%2020.4553%206.85766%2020.4404%206.84786ZM16.0302%2012.8554C16.3352%2012.9019%2016.5634%2013.0563%2016.5634%2013.2425C16.5634%2013.4287%2016.3377%2013.583%2016.0302%2013.6296V12.8554ZM2.98046%2016.6137L2.74978%2016.4937C2.12222%2016.1678%201.62117%2015.6827%201.27886%2015.0922V14.3523C1.67078%2014.9134%202.20407%2015.3912%202.85644%2015.7317L2.98046%2015.7954V16.6137ZM4.14131%2017.2189L3.52616%2016.9004V16.0821L4.13883%2016.4006H4.14131V17.2189ZM6.70115%2017.775L6.21498%2017.5055C5.94957%2017.3585%205.65191%2017.2801%205.34682%2017.2752V16.4226C5.6023%2016.4275%205.85531%2016.4937%206.07855%2016.6162L6.6813%2016.9494C6.68626%2016.9518%206.6937%2016.9518%206.70115%2016.9543V17.775ZM9.92822%2017.9882V18.4047V18.5223C9.92822%2018.5493%209.91582%2018.5762%209.89598%2018.5958C9.87613%2018.6154%209.85133%2018.6228%209.82404%2018.6228C9.43461%2018.6032%209.21137%2018.5027%209.0303%2018.3973C8.89883%2018.3214%208.50692%2018.0862%208.50444%2018.0862C8.25887%2017.9392%207.98106%2017.8583%207.69581%2017.8363V16.9788C7.92897%2017.0008%208.15718%2017.0694%208.36057%2017.1895L8.7004%2017.3904C9.07246%2017.6109%209.49662%2017.7358%209.92822%2017.7603V17.9882ZM13.2868%2016.4275C13.2272%2016.4251%2013.1652%2016.4153%2013.1057%2016.3981L12.6443%2016.2609C12.5451%2016.2315%2012.4434%2016.2217%2012.3417%2016.2217V15.3667C12.4161%2015.3667%2012.4905%2015.374%2012.5649%2015.3961L13.0263%2015.5308C13.1107%2015.5553%2013.1999%2015.5676%2013.2868%2015.5725V16.4275ZM16.1765%2016.6333C16.0872%2016.4275%2015.9111%2016.2634%2015.6854%2016.2021L15.2438%2016.0796C15.1397%2016.0478%2015.0305%2016.0355%2014.9214%2016.0355V15.1829C15.0057%2015.1804%2015.0901%2015.1902%2015.1719%2015.2172L15.5341%2015.3299C15.9185%2015.45%2016.1765%2015.7979%2016.1765%2016.1948V16.6333ZM17.449%2018.1474C17.4415%2018.1719%2017.4366%2018.1964%2017.4291%2018.2209C17.3522%2018.4611%2017.129%2018.6203%2016.876%2018.6203C16.8537%2018.6203%2016.8313%2018.6154%2016.809%2018.613V17.7628C16.8264%2017.7652%2016.8413%2017.7677%2016.8586%2017.7677C17.1067%2017.7677%2017.3324%2017.6305%2017.4515%2017.4222V18.1474H17.449ZM19.8302%207.48242C19.5524%207.87933%2019.4061%208.34484%2019.4061%208.82749V9.2489L19.1903%209.5576C18.91%209.95696%2018.7611%2010.4249%2018.7611%2010.91V13.0342C18.7611%2013.3772%2018.6173%2013.7129%2018.3643%2013.9481L17.9103%2014.3744C17.6052%2014.661%2017.4366%2015.0628%2017.449%2015.4794L17.4515%2015.5749C17.4688%2016.1262%2017.3969%2016.675%2017.2406%2017.2042C17.191%2017.3732%2017.0323%2017.4908%2016.8561%2017.4908C16.6354%2017.4908%2016.4543%2017.3144%2016.4543%2017.0939V16.1948C16.4543%2015.6754%2016.117%2015.2221%2015.6159%2015.0677L15.2538%2014.955C15.0528%2014.8938%2014.842%2014.8913%2014.6386%2014.9501L13.5472%2015.2686C13.4033%2015.3103%2013.2496%2015.3103%2013.1057%2015.2686L12.6443%2015.1339C12.4062%2015.0628%2012.1482%2015.08%2011.92%2015.178L10.9502%2015.5994C10.3301%2015.8689%209.9307%2016.4741%209.9307%2017.1429V17.4884C9.54871%2017.4663%209.17664%2017.3536%208.84674%2017.1576L8.50692%2016.9567C8.21919%2016.7877%207.89177%2016.697%207.5569%2016.697H6.78548L6.21498%2016.381C5.94461%2016.2315%205.63951%2016.1531%205.32945%2016.1507L4.23805%2016.1433L2.98542%2015.4916C1.08539%2014.5042%200.274278%2012.2821%201.10027%2010.322L1.3508%209.72666C1.53683%209.28565%201.63357%208.81769%201.63357%208.33749V8.00428H1.90394C2.17183%208.00428%202.40003%207.82053%202.46204%207.57307H11.8481C12.0044%207.57307%2012.1482%207.66372%2012.2102%207.80583L12.4905%208.42569C12.5798%208.62414%2012.7783%208.75154%2012.999%208.75154C13.2173%208.75154%2013.4182%208.62414%2013.5075%208.42569L13.7878%207.80338C13.8523%207.66127%2013.9937%207.57062%2014.15%207.57062H14.4873C14.6337%207.57062%2014.7676%207.64902%2014.837%207.77643C15.0082%208.09003%2015.3158%208.30074%2015.6655%208.35709V12.2575C15.1025%2012.3188%2014.6709%2012.6496%2014.6709%2013.0514C14.6709%2013.4973%2015.1967%2013.8574%2015.8466%2013.8574C16.4965%2013.8574%2017.0223%2013.4973%2017.0223%2013.0514C17.0223%2012.6496%2016.5907%2012.3163%2016.0277%2012.2575V8.35464C16.3774%208.29828%2016.685%208.08758%2016.8561%207.77398C16.9256%207.64657%2017.0595%207.56817%2017.2059%207.56817H17.7069C17.9376%207.56817%2018.1485%207.45302%2018.275%207.26192L19.0191%206.12755C19.1158%205.9781%2019.282%205.8899%2019.4631%205.8899H19.6938C19.8575%205.8899%2019.9914%206.0222%2019.9914%206.1839V6.53426C19.9914%206.70331%2020.0584%206.86501%2020.175%206.98506L19.8302%207.48242ZM15.663%2012.8554V13.6296C15.3579%2013.583%2015.1322%2013.4287%2015.1322%2013.2425C15.1322%2013.0563%2015.3579%2012.8995%2015.663%2012.8554Z'%20fill='%23006747'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M43.6355%2014.2212L45.783%206.63627C46.0175%205.80901%2046.629%205.14498%2047.4288%204.848L47.4874%204.60107H44.5028L39.434%2010.6989L37.4942%204.60107H34.7636L34.6978%204.848C35.1653%205.08213%2035.423%205.78176%2035.423%206.35097V6.38628C35.423%209.63469%2033.0443%2015.2183%2029.6984%2015.2183C28.3982%2015.2183%2027.7242%2014.2901%2027.7242%2013.5165C27.7242%2012.5794%2028.5003%2011.9129%2029.3191%2011.9129C30.112%2011.9129%2030.2342%2012.211%2030.6909%2012.211C30.9696%2012.211%2031.2366%2012.0667%2031.3701%2011.8195C31.5797%2011.4313%2031.4208%2010.9572%2031.0376%2010.7714L30.8283%2010.6705C28.8775%209.72228%2026.6152%2011.1582%2026.6152%2013.3453V13.3756C26.6152%2014.9675%2027.8525%2016.2989%2029.4275%2016.3545C33.4867%2016.4983%2036.2019%2010.9661%2036.6338%206.91684L36.9458%208.01243L38.5448%2012.8545H39.1504L44.1452%206.83425L42.0498%2014.229C41.8094%2015.0773%2041.1437%2015.7344%2040.2985%2015.958L40.2399%2016.2049H44.2561L44.3216%2015.958C43.7283%2015.6043%2043.4461%2014.8902%2043.6355%2014.2212Z'%20fill='%23006747'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M51.9847%2012.6335H50.0625C50.2808%2012.034%2050.4898%2011.4617%2050.5603%2011.2743C51.0465%209.97682%2051.971%209.45183%2052.8665%209.37842L52.8572%209.3862L51.9847%2012.6335ZM53.7159%208.72607H53.6817C51.8071%208.7283%2049.7916%208.91155%2048.719%2011.9903C47.8179%2014.5767%2047.5745%2015.6481%2046.8705%2015.6481C46.4204%2015.6481%2046.5297%2014.763%2045.8549%2014.763C45.5509%2014.763%2045.2332%2015.0093%2045.2104%2015.3661C45.1705%2015.9826%2045.9909%2016.3555%2046.6092%2016.3555C48.4929%2016.3555%2049.2148%2014.9671%2049.4505%2014.3203C49.481%2014.2358%2049.6473%2013.778%2049.8436%2013.2386H51.8231L51.4878%2014.4866C51.3107%2015.145%2050.9465%2015.6839%2050.3304%2015.9595L50.2772%2016.2062H53.5154L53.5755%2015.9595C53.1372%2015.5941%2052.9469%2015.0082%2053.089%2014.4627L54.3075%209.78302C54.4011%209.42403%2054.6472%209.12789%2054.9809%208.973L55.0338%208.72607H53.9785H53.7159Z'%20fill='%23006747'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M70.056%209.26026C70.1601%209.08619%2070.2595%208.82035%2070.2595%208.67186L70.2597%208.67103C70.2741%208.39018%2070.0208%208.17273%2069.7488%208.23196H69.7482C69.5304%208.27951%2069.373%208.47499%2069.3771%208.70023C69.3807%208.93436%2069.3341%209.18574%2069.2353%209.30836C69.0082%209.59116%2068.645%209.56697%2066.9717%209.08174V9.07896C66.8186%209.03363%2066.6504%208.98414%2066.4731%208.93492C66.4637%208.93241%2066.4549%208.92963%2066.4453%208.92657L66.4456%208.92741C65.6106%208.698%2064.5732%208.4875%2063.8929%208.82869C63.8874%208.83148%2063.8816%208.83453%2063.8764%208.83704C63.2118%209.17406%2062.7479%209.81223%2062.6086%2010.5502C62.5879%2010.6587%2062.5728%2010.7468%2062.5711%2010.7788V10.7799C62.5513%2011.1675%2062.9009%2011.4679%2063.2767%2011.3864L63.2773%2011.3858C63.5821%2011.3196%2063.7965%2011.0441%2063.7902%2010.7296C63.7836%2010.4117%2063.7205%209.98741%2063.8918%209.70267C64.1674%209.31059%2064.4537%209.28278%2065.7361%209.71462L64.3436%2014.4877C64.1514%2015.1456%2063.6812%2015.6848%2063.059%2015.9601L63.0001%2016.2073H66.3319L66.3977%2015.9601C65.9679%2015.595%2065.7906%2015.0088%2065.9453%2014.4635L67.1628%2010.1637C67.6969%2010.276%2068.2381%2010.305%2068.7651%2010.1531L68.9548%2010.0986C69.3787%209.97629%2069.8129%209.6668%2070.056%209.26026Z'%20fill='%23006747'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M71.3889%208.72607L71.3234%208.97328C71.736%209.26108%2071.9219%209.78079%2071.7886%2010.2671L70.5506%2014.4816C70.3584%2015.14%2069.8882%2015.6789%2069.2659%2015.9542L69.207%2016.2011H70.9696H71.1306H75.1868L75.7226%2014.2252H75.4709L75.3806%2014.4145C75.0447%2015.1206%2074.3372%2015.5699%2073.5614%2015.5699H71.8415L72.7572%2012.2623L73.4878%2012.2615C73.9807%2012.2612%2074.3512%2012.7153%2074.2568%2013.2036H74.5084L75.1094%2010.9679H74.8578C74.7122%2011.3814%2074.3253%2011.6578%2073.8904%2011.658L72.9243%2011.6592L73.5597%209.36341L75.3825%209.36202C75.9775%209.36146%2076.4229%209.9126%2076.304%2010.5015H76.5556L77.033%208.72607H71.3889Z'%20fill='%23006747'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M82.8655%2010.5324C82.6668%2011.2028%2082.0564%2011.6627%2081.3632%2011.6627L80.3076%2011.6636L80.9466%209.36726L82.0055%209.3667C82.6067%209.36642%2083.0379%209.9512%2082.8655%2010.5324ZM82.7978%208.72998H78.7711L78.7053%208.97691C79.0919%209.24636%2079.2791%209.71935%2079.1921%2010.1779L77.9311%2014.4846C77.739%2015.1431%2077.269%2015.682%2076.6465%2015.9573L76.5879%2016.2048H79.9164L79.9822%2015.9573C79.5524%2015.5922%2079.3754%2015.006%2079.5296%2014.4607L80.14%2012.2662H80.3944C80.7787%2012.2665%2081.1014%2012.5584%2081.1438%2012.9444C81.1578%2013.069%2081.3505%2014.5947%2081.5044%2015.1195C81.7059%2015.8052%2081.9705%2016.205%2082.5729%2016.205H84.0788L84.1375%2015.9578L83.9219%2015.8288C83.4966%2015.5738%2083.1885%2015.1773%2083.0508%2014.6531C82.9203%2014.1585%2082.677%2013.2372%2082.5578%2012.7495C82.4961%2012.4981%2082.1866%2012.2654%2081.8667%2012.2654L82.3741%2012.2651C83.284%2012.2645%2084.0827%2011.6525%2084.328%2010.7671C84.611%209.74382%2083.8495%208.72998%2082.7978%208.72998Z'%20fill='%23006747'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M60.6842%209.10931C60.576%209.10931%2060.3431%209.03478%2059.9858%208.88463C59.6281%208.73447%2059.2669%208.65967%2058.9027%208.65967C58.1467%208.65967%2057.5157%208.90687%2056.9997%209.4352C56.5703%209.87483%2056.3795%2010.3628%2056.3795%2010.7852C56.3795%2011.2349%2056.6399%2011.7635%2057.1616%2012.1909C57.6542%2012.5949%2058.1668%2012.982%2058.68%2013.3771C59.2196%2013.8134%2059.4897%2014.2158%2059.4897%2014.5431C59.4897%2015.2616%2059.0269%2015.6481%2058.0688%2015.6481C57.0953%2015.6481%2056.4221%2014.9276%2056.2063%2013.5782H55.9431L55.1777%2016.2045H55.4203C55.7366%2015.9807%2055.9615%2015.8366%2056.4202%2015.8366C56.858%2015.8366%2057.3257%2016.3558%2058.3229%2016.3558C59.1191%2016.3558%2059.7493%2016.189%2060.2892%2015.6434C60.7481%2015.1668%2060.9775%2014.4994%2060.9775%2013.9538C60.9775%2013.4494%2060.6644%2012.8613%2060.1174%2012.4375C59.648%2012.0741%2059.1453%2011.7496%2058.6596%2011.3948C58.1332%2010.9993%2057.87%2010.6637%2057.87%2010.2956C57.87%2010.0906%2057.9713%209.88651%2058.174%209.68213C58.43%209.42325%2058.773%209.36596%2059.232%209.36596C60.1529%209.36596%2060.7974%209.88429%2060.8516%2010.9746H61.0945L61.7368%208.65967H61.4939C61.2373%208.95971%2060.9675%209.10931%2060.6842%209.10931Z'%20fill='%23006747'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M89.1717%209.36569C90.0926%209.36569%2090.7374%209.88401%2090.7914%2010.9743H91.0345L91.6765%208.65967H91.4334C91.1771%208.95915%2090.9075%209.10903%2090.6237%209.10903C90.5158%209.10903%2090.2829%209.03423%2089.9252%208.88435C89.5676%208.73447%2089.2067%208.65967%2088.8422%208.65967C88.0864%208.65967%2087.4554%208.90687%2086.9395%209.43493C86.51%209.87455%2086.3192%2010.3628%2086.3192%2010.785C86.3192%2011.2351%2086.5796%2011.7629%2087.1014%2012.1909C87.5939%2012.5949%2088.1065%2012.9817%2088.6197%2013.3768C89.159%2013.8134%2089.4294%2014.2158%2089.4294%2014.5428C89.4294%2015.2613%2088.9666%2015.6478%2088.0085%2015.6478C87.035%2015.6478%2086.3619%2014.9274%2086.1458%2013.5782H85.8826L85.1172%2016.2045H85.3603C85.6763%2015.9807%2085.9013%2015.8366%2086.3597%2015.8366C86.7977%2015.8366%2087.2652%2016.3558%2088.2626%2016.3558C89.0588%2016.3558%2089.689%2016.1884%2090.2289%2015.6434C90.6878%2015.1662%2090.9172%2014.4991%2090.9172%2013.9538C90.9172%2013.4494%2090.6041%2012.8613%2090.0574%2012.4375C89.5877%2012.0738%2089.0853%2011.7493%2088.5996%2011.3945C88.0729%2010.9993%2087.8097%2010.6632%2087.8097%2010.295C87.8097%2010.0909%2087.911%209.88623%2088.1134%209.68185C88.3697%209.42297%2088.7128%209.36569%2089.1717%209.36569Z'%20fill='%23006747'/%3e%3c/svg%3e",w9=[{graphicSrc:"https://cdn.streamlayer.io/assets/sdk-web/onboarding-steps/step_1.png",tagline:"Featured groups+ experience",headline:w.jsxs(w.Fragment,{children:["Welcome to ",w.jsx("br",{})," Featured Groups +"]})},{graphicSrc:"https://cdn.streamlayer.io/assets/sdk-web/onboarding-steps/step_2.png",headline:"Get real-time insights"},{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"}],Tq=P("div")({name:"OnboardingContainer",class:"on59ra",propsAsIs:!1}),bq=()=>N0,kq=P(bq())({name:"OnboardingNotificationContainer",class:"op1wk5d",propsAsIs:!0}),Lk=P("div")({name:"InnerContainer",class:"i1i1g2vj",propsAsIs:!1}),Sq=({deepLink:n,onboardingOpts:a,notification:o,gamification:l,loading:c,sdk:p})=>{var f,y,b,C,_,N,O;const L=Ut(l.friends.getStore()),[x,D]=W.useState(void 0),B=W.useMemo(()=>{var V,Q;const K=p.getInviter();return K?(Q=(V=L.data)==null?void 0:V.find(({slId:re})=>re===K))==null?void 0:Q.name:""},[L.data,p]);return W.useEffect(()=>{const V=n.$store.subscribe(Q=>{Q&&D(Q.data)});return()=>{V()}},[n.$store]),w.jsx(Tq,{children:w.jsx(iq,{loading:c,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:(f=a.rules)==null?void 0:f.buttonLabel,rulesTitle:(y=a.rules)==null?void 0:y.heading,termsTitle:"Terms and Conditions",termsText:(b=a.rules)==null?void 0:b.terms,steps:w9,primaryColor:(C=a.inviteCard)==null?void 0:C.iconColor,inviteLink:x,inviteCardTitle:(_=a.inviteCard)==null?void 0:_.heading,inviteCardSubtext:(N=a.inviteCard)==null?void 0:N.subtext,inviteCardBtnLabel:(O=a.inviteCard)==null?void 0:O.buttonLabel,onClose:()=>{var V;(V=o.close)==null||V.call(o)},gamification:l,sdk:p,inviterName:B})})},wq=({sdk:n,notification:a,saveHeight:o,style:l,appNode:c,sdkInDesktopView:p,responsiveStore:f})=>{var y;const b=W.useRef(null),C=a.data.onboarding,[_,N]=W.useState(C==null?void 0:C.instantOpen),O=n.getFeature(yt.GAMES),L=W.useMemo(()=>w9==null?void 0:w9.map(({graphicSrc:V})=>V),[]),{screen:x}=Ut(f,{keys:["screen"]});(y=C==null?void 0:C.titleCard)!=null&&y.media&&(C.titleCard.media.sponsorLogo=vq),W.useLayoutEffect(()=>{var V;o(((V=b.current)==null?void 0:V.getBoundingClientRect().height)||0)},[o]);const{loading:D,throttled:B}=yG(L);return _&&O&&C&&c.current&&!B?w.jsx(gC,{container:c,useContainer:!p,children:w.jsx(Sq,{notification:a,setOpened:N,gamification:O,onboardingOpts:C,deepLink:O.deepLink,loading:D,sdk:n})}):w.jsxs(w.Fragment,{children:[w.jsx(Lk,{ref:b,style:{position:"absolute",visibility:"hidden"},children:w.jsx(Ok,{close:()=>{},action:()=>{},onboarding:C})}),w.jsx(kq,{style:l,hiding:a.hiding,children:w.jsx(Lk,{children:w.jsx(Ok,{close:a.close,action:()=>{var V;N(!0),(((V=c.current)==null?void 0:V.getBoundingClientRect().y)||0)<0&&z9(c,x.size,{behavior:"smooth"})},onboarding:C})})})]})},Cq=P("button")({name:"Container",class:"crkmfw1",propsAsIs:!1}),Eq=P("div")({name:"Content",class:"c11awpy4",propsAsIs:!1}),_q=P("span")({name:"Title",class:"t154z7mh",propsAsIs:!1}),Iq=({title:n,onClick:a,className:o,style:l})=>w.jsx(Cq,{onClick:a,className:o,style:l,children:w.jsxs(Eq,{children:[w.jsx(wt,{name:"iconUp"}),n&&w.jsx(_q,{children:n})]})}),Nq=()=>N0,Rq=P(Nq())({name:"Container",class:"c1f0y7nw",propsAsIs:!0}),BC=P("div")({name:"InnerContainer",class:"i1qa3p7a",propsAsIs:!1}),Oq=()=>BC,Lq=P(Oq())({name:"HiddenContainer",class:"hrthymv",propsAsIs:!0}),Aq=P("div")({name:"NotificationRefreshing",class:"n13rok4i",propsAsIs:!1}),xq=()=>Iq,Pq=P(xq())({name:"Pill",class:"pht79xf",propsAsIs:!0}),Mq=n=>{const[a,o]=W.useState(0),l=W.useRef(null),c=W.useCallback(f=>{l.current=f},[]);W.useEffect(()=>{var f;const y=(f=l.current)==null?void 0:f.getBoundingClientRect();y&&o(y.height)},[n]);const p=W.useCallback(f=>{o(f)},[]);return[c,a,p]},Dq=({sdk:n,notification:a,appNode:o,responsiveStore:l})=>{var c,p;const{sdkInDesktopView:f}=Ut(l,{keys:["sdkInDesktopView"]}),{sdk:y}=uy(),[b,C,_]=Mq(a.id);return a.type===p0.QUESTION?w.jsxs(w.Fragment,{children:[w.jsx(Lq,{ref:b,children:w.jsx(vk,{...a})}),w.jsxs(Rq,{style:{height:a.hiding?0:C},hiding:a.hiding,children:[w.jsx(BC,{style:{height:"100%"},children:w.jsx(vk,{...a,controlVideo:y==null?void 0:y.controlVideoPlayer})}),w.jsx(Aq,{},a.id)]})]}):a.type===p0.QUESTION_RESOLVED&&(p=(c=a.data)==null?void 0:c.question)!=null&&p.predictionResult?w.jsx(gG,{style:{height:a.hiding?0:C},saveHeight:_,close:a.close,hiding:a.hiding,...a.data.question,mastersApp:!0}):a.type===p0.ONBOARDING?w.jsx(wq,{style:{height:a.hiding?0:C},saveHeight:_,sdk:n,notification:a,sdkInDesktopView:f,appNode:o,responsiveStore:l}):null},Uq="p1co32q0",Fq=({pill:n,setPill:a,appNode:o,headerNode:l,scrollNode:c,responsiveStore:p,scrollStore:f})=>{var y,b;const{screen:C}=Ut(p,{keys:["screen"]}),{tabsShown:_,scrollPosition:N}=Ut(f,{keys:["tabsShown","scrollPosition"]});W.useEffect(()=>{p.get().sdkInDesktopView?N<50&&a(null):N>-50&&a(null)},[N,p,a]);const O=p.get().sdkInDesktopView?o:l;return!n||!O.current?null:l6.createPortal(w.jsx(Pq,{title:n.type===p0.QUESTION_RESOLVED?"Prediction result":`New ${((b=I6[(y=n.data)==null?void 0:y.questionType])==null?void 0:b.label)||"notification"}`,onClick:()=>{var L;p.get().sdkInDesktopView?(L=c.current)==null||L.scrollTo({top:0,behavior:"smooth"}):z9(o,C.size,{behavior:"smooth"}),a(null)},className:ku(_&&Uq,"sl-pill-button")}),O.current)},Vq=({sdk:n,headerNode:a,scrollNode:o,responsiveStore:l,appNode:c,scrollStore:p})=>{const[f]=W.useState(n.getNotificationsStore()),y=Ut(f),[b,C]=W.useState(null),_=W.useMemo(()=>n.getActiveNotification(),[n,y]);return W.useEffect(()=>{_&&I0.emit("notification",{action:"rendered",payload:{questionId:_.data.questionId,questionType:_.data.questionType}})},[_]),W.useEffect(()=>{_&&(l.get().sdkInDesktopView||l.get().sdkInView)&&(!l.get().sdkInDesktopView&&l.get().sdkInView&&C(_),l.get().sdkInDesktopView&&window.requestAnimationFrame(()=>{p.get().scrollPosition!==0&&C(_)}))},[_]),W.useEffect(()=>{_||C(null)},[_]),w.jsxs(w.Fragment,{children:[!b&&_&&w.jsx(Dq,{headerNode:a,appNode:c,sdk:n,notification:_,responsiveStore:l}),b&&w.jsx(Fq,{pill:b,setPill:C,appNode:c,notification:_,headerNode:a,scrollNode:o,scrollStore:p,responsiveStore:l})]})},Bq=n=>{const a=W.useRef(""),[o,l]=W.useState(!1),c=Ut(n.status),p=Ut(n.sdkStore.slStreamId),f=Ut(n.userId()),y=Ut(n.getActiveFeature()),b=c==="ready"&&!!p.data,[C,_]=W.useState(Tu),N=W.useCallback((x,D)=>{_(D),x&&n.createEventSession(x),D===Tu?window.requestAnimationFrame(()=>{n.openFeature(yt.GAMES)}):n.closeFeature(!1)},[n]);W.useEffect(()=>{!b&&C===Tu&&(_(Yi),n.closeFeature(!0))},[b,C,n]),W.useEffect(()=>{y===yt.GAMES?_(Tu):y===yt.UNSET&&_(Yi);const x=n.getFeature(yt.GAMES);x&&(x.closeQuestion(),x.closeUser())},[y,n]);const O=W.useCallback(x=>{a.current=x,l(!0),n.initializeApp({skipOrganizationSettings:!0}).then(({enabled:D,err:B})=>{if(B){N(x,Yi);return}if(D){n.isUserAuthorized().then(V=>{if(V){N(x,Yi);return}else n.disableApp()});return}})},[N,n]),L=W.useCallback(()=>{l(!1),n.disableApp()},[n]);return W.useEffect(()=>{if(!f){b&&(_(Yi),n.disableApp());return}if(f&&a.current&&o){n.initializeApp({skipOrganizationSettings:!0}).then(()=>{n.createEventSession(a.current)});return}},[f]),W.useEffect(()=>()=>{l(!1),n.disableApp()},[l,n]),{sdkEnabled:o,sdkReady:b,activeOverlay:C,activateAndLoadOverlay:N,activateEventWithId:O,deactivate:L,isLogged:!!f}},Ak=Object.keys(ca),P5=()=>{const n=window.innerWidth;let a="sm";for(let o=Ak.length-1;o>0;o--){const l=Ak[o];if(!(n<ca[l])&&n>=ca[l]){a=l;break}}return{name:a,size:ca[a]}},xk=n=>{var a;return(((a=n.current)==null?void 0:a.getBoundingClientRect().y)||0)<-68},Pk=n=>n>=ca.xl,jq=n=>{const[a]=W.useState(()=>{const o=P5();return gw({screen:P5(),sdkInView:xk(n),sdkInDesktopView:Pk(o.size)})});return W.useEffect(()=>{const o=u2(()=>{a.setKey("sdkInView",xk(n))},200),l=u2(()=>{const c=P5();a.setKey("screen",c),a.setKey("sdkInDesktopView",Pk(c.size))},200);return window.addEventListener("scroll",o),window.addEventListener("resize",l),()=>{window.removeEventListener("scroll",o),window.removeEventListener("resize",l)}},[a,n]),[a]},$q={...dw,BG_TRANSPARENT:"rgba(0,0,0, .8)",BLUE_QUESTION_ACTION_BTN:"#1589ee",WHITE:"#FFFFFF",BLUE:"#2d6ffd",GREY_PRIMARY_ONBOARDING_INAPP:"#B5B7B8",GREY_PRIMARY:"#909395",PRIMARY_1:"#107D57",PRIMARY_2:"#006747",PRIMARY_TEXT:"#25282A",QUESTION_TYPE_ICON:"#107D57",SUCCESS:"#107D57",UNSUCCESS:"#DF2F3B",SECONDARY_RED1:"#DF2F3B",NEUTRALS_WHITE:"#FFFFFF",NEUTRALS_WHITE1:"#FFFFFF",NEUTRALS_GRAY1:"#F7F7F7",NEUTRALS_GRAY2:"#F2F2F1",NEUTRALS_GRAY3:"#E8E8E8",NEUTRALS_GRAY4:"#D9D9D6",NEUTRALS_GRAY5:"#B1B3B3",NEUTRALS_GRAY6:"#888B8D",NEUTRALS_GRAY7:"#6B6F73",NEUTRALS_GRAY9:"#25282A",SDK_CONTAINER_BG:"#F7F7F7",SDK_WHITE_CONTAINER_BG:"#fff",SDK_DARK_CONTAINER_BG:"#fff",SDK_PREDICTION_RESULT_SUCCESS_BG:"#fff",SDK_PREDICTION_RESULT_INCORRECT_BG:"#fff",SDK_PREDICTION_RESULT_SUCCESS_TEXT:"#107D57",SDK_PREDICTION_RESULT_ERROR_TITLE:"#090E13",SDK_PREDICTION_RESULT_ERROR_SUBTITLE:"#DF2F3B",SDK_PREDICTION_RESULT_CLOSE_ICON:"#6B6F73",SDK_PREDICTION_FEEDBACK_SUCCESS_ICON:"#107D57",SDK_PREDICTION_FEEDBACK_INCORRECT_RECT1:"#CD2525",SDK_PREDICTION_FEEDBACK_INCORRECT_RECT2:"#fff",PREDICTION_BG_LINES_CORRECT:"#01AB58",PREDICTION_BG_LINES_INCORRECT:"#888B8D",SKELETON_COLOR_1:"#f1efef",SKELETON_COLOR_2:"#f9f8f8",TABS_CONTAINER_BG:"#F2F2F1",TABS_ACTIVE_BG:"#FFFFFF",TABS_COLOR:"#6B6F73",TABS_ACTIVE_COLOR:"#107D57",CARD_BG:"#FFFFFF",CARD_BORDER:"#fff",BORDER:"#E8E8E8",VOTE_BTN_BG:"#F7F7F7",VOTE_BTN_BORDER:"rgb(232, 232, 232)",VOTE_BTN_DISABLED_BORDER:"#B1B3B3",VOTE_BTN_SELECTED_BORDER:"#25282A",VOTE_BTN_NOT_SELECTED_BORDER:"#E8E8E8",VOTE_BTN_SELECTED_BG:"#FFFFFF",VOTE_BTN_NOT_SELECTED_BG:"#FFFFFF",VOTE_BTN_NOT_SELECTED_BG_UNSET:"rgb(196, 196, 196)",VOTED_ANSWER_BG:"rgba(16, 125, 87, 0.10)",VOTED_BTN_RCT_BG:"rgba(16, 125, 87, 0.30)",IN_APP_BG:"rgba(255, 255, 255, 0.90)",IN_APP_QUESTION_TYPE_ICON:"#1D7BFF",IN_APP_QUESTION_TYPE_LABEL:"#82899E",IN_APP_QUESTION_QUOTE:"rgba(10, 14, 19, 0.70)",IN_APP_QUESTION_RESULT_SUBTITLE_BG:"#1D7BFF",IN_APP_QUESTION_RESULT_LINE:"#babfc5"},yu={...sa,REGULAR:"'Benton Sans', BentonSans, Arial, Helvetica, sans-serif",SERIF:"'Tiempos', 'Tiempos Text', Times New Roman, serif",COLOR:"#fff",WEIGHT_DEFAULT:"500"},zq=Object.entries($q).reduce((n,[a,o])=>`
197
+ ${n}
198
+ --color-${a.toLowerCase().replaceAll("_","-")}: ${o};
199
+ `,"");`${zq}${yu.REGULAR}${yu.REGULAR}${yu.COLOR}${yu.SERIF}${yu.WEIGHT_DEFAULT}${yu.WEIGHT_DEFAULT1}${yu.WEIGHT_DEFAULT2}${yu.WEIGHT_DEFAULT3}${sa.SIZE_DEFAULT}${sa.SIZE_DEFAULT1}${sa.SIZE_DEFAULT2}${sa.LINE_HEIGHT}${sa.MARGIN_TITLE_DEFAULT}${i6.down("xl")`
200
+ --header-offset: 56px;
201
+ --watch-live-header: 46px;
202
+ `}${i6.intermediate("xl","lg")`
203
+ --header-offset: 76px;
204
+ `}`;const Hq="m1ojpy2l",jC=({children:n,style:a})=>w.jsx("div",{className:"StreamLayerSDKTheme",children:w.jsx("div",{className:Hq,style:a,children:n})}),Gq=({sdk:n,className:a,scrollStore:o,appNode:l,scrollNode:c,responsiveStore:p})=>{const[,f]=wU(n);return w.jsx(zz,{className:a,scrollNode:c,appNode:l,scrollStore:o,feature:f,responsiveStore:p,sdk:n})},qq=({sdk:n,className:a,appNode:o,responsiveStore:l})=>{const c=Ut(n.featuresList.getStore());return c?Array.from(c,p=>{const f=n.getFeature(p);return f?w.jsx(Hz,{className:a,appNode:o,feature:f,responsiveStore:l,sdk:n},p):null}):null},Wq=({sdk:n,overlays:a,children:o})=>{const l=W.useRef(null),c=W.useRef(null),[p]=jq(l),[f,y]=tx(l,p),{sdkEnabled:b,sdkReady:C,activeOverlay:_,activateAndLoadOverlay:N,activateEventWithId:O,deactivate:L,isLogged:x}=Bq(n);E5(l,{enabled:b,event:"click",listener:CU}),E5(f,{enabled:b,event:"scrollend",listener:EU,useDomNode:!0}),E5(f,{enabled:b,event:"click",listener:_U,useDomNode:!0});const D=W.useMemo(()=>({sdk:n}),[n]);return W.useEffect(()=>{Promise.resolve().then(()=>require("./gamification-feature.js"))},[]),w.jsx(vC.Provider,{value:D,children:w.jsxs(eA,{ref:l,children:[b&&w.jsx(lH,{ref:c,sdkReady:C,activeOverlay:_,className:Wh,setActiveOverlay:B=>N("",B),scrollToTop:()=>{var B;return(B=f.current)==null?void 0:B.scrollTo(0,0)},responsiveStore:p}),w.jsxs(tA,{className:"sl-hide-on-modal",ref:f,"data-nav":b.toString(),children:[C&&w.jsx(Vq,{sdk:n,scrollNode:f,headerNode:c,appNode:l,scrollStore:y,responsiveStore:p}),w.jsx("div",{style:!b||_===Yi?{}:{display:"none"},children:o&&o({activateEventWithId:O,deactivate:L})}),a&&_===aH&&a[_],C&&_===Tu&&w.jsx(Gq,{scrollStore:y,responsiveStore:p,scrollNode:f,appNode:l,className:Wh,sdk:n}),C&&w.jsx(qq,{responsiveStore:p,appNode:l,className:Wh,sdk:n})]}),b&&!x&&w.jsx("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",width:"100%",height:"100%"},children:"You are not logged in."})]})})},Qq=P("div")({name:"PointsContainer",class:"psiob9b",propsAsIs:!1}),Yq=P("div")({name:"PointsIcon",class:"p1gqe4lh",propsAsIs:!1}),Kq=()=>wt,Zq=P(Kq())({name:"PointsSvg",class:"p15syg2y",propsAsIs:!0}),Xq=P("div")({name:"PointsBody",class:"p12n4f2h",propsAsIs:!1}),Jq=P("div")({name:"PointsTitle",class:"poqmx89",propsAsIs:!1}),eW=P("div")({name:"PointsValue",class:"prj9b3v",propsAsIs:!1}),tW=({points:n,onClick:a})=>w.jsxs(Qq,{className:Wh,onClick:a,children:[w.jsx(Yq,{children:w.jsx(Zq,{name:"icon-trophy-solid"})}),w.jsxs(Xq,{children:[w.jsx(Jq,{children:"Total points"}),w.jsx(eW,{children:w.jsx(N6,{value:n})})]})]}),nW=({gamification:n})=>{const a=n.userSummary.$store,[o,l]=W.useState(0);return W.useEffect(()=>{const c=a.subscribe(p=>{var f;(f=p==null?void 0:p.summary)!=null&&f.points&&l(p.summary.points)});return()=>{c()}},[a]),w.jsx(tW,{points:o,onClick:()=>{n.status.get()===Zc.Suspended&&n.openFeature()}})},aW=({sdk:n})=>{if(!Ut(n.featuresList.getStore()))return null;const a=n.getFeature(yt.GAMES);return a?w.jsx(nW,{gamification:a}):null},rW=W.createContext({sdk:null,topNavigation:!1}),oW=()=>W.useContext(rW);W.lazy(()=>Promise.resolve().then(()=>require("./gamification-feature2.js")));let C9=(n=21)=>crypto.getRandomValues(new Uint8Array(n)).reduce((a,o)=>(o&=63,o<36?a+=o.toString(36):o<62?a+=(o-26).toString(36).toUpperCase():o>62?a+="-":a+="_",a),"");var at;(function(n){n[n.Canceled=1]="Canceled",n[n.Unknown=2]="Unknown",n[n.InvalidArgument=3]="InvalidArgument",n[n.DeadlineExceeded=4]="DeadlineExceeded",n[n.NotFound=5]="NotFound",n[n.AlreadyExists=6]="AlreadyExists",n[n.PermissionDenied=7]="PermissionDenied",n[n.ResourceExhausted=8]="ResourceExhausted",n[n.FailedPrecondition=9]="FailedPrecondition",n[n.Aborted=10]="Aborted",n[n.OutOfRange=11]="OutOfRange",n[n.Unimplemented=12]="Unimplemented",n[n.Internal=13]="Internal",n[n.Unavailable=14]="Unavailable",n[n.DataLoss=15]="DataLoss",n[n.Unauthenticated=16]="Unauthenticated"})(at||(at={}));function Mk(n){const a=at[n];return typeof a!="string"?n.toString():a[0].toLowerCase()+a.substring(1).replace(/[A-Z]/g,o=>"_"+o.toLowerCase())}class zt extends Error{constructor(a,o=at.Unknown,l,c,p){super(sW(a,o)),this.name="ConnectError",Object.setPrototypeOf(this,new.target.prototype),this.rawMessage=a,this.code=o,this.metadata=new Headers(l??{}),this.details=c??[],this.cause=p}static from(a,o=at.Unknown){return a instanceof zt?a:a instanceof Error?a.name=="AbortError"?new zt(a.message,at.Canceled):new zt(a.message,o,void 0,void 0,a):new zt(String(a),o,void 0,void 0,a)}static[Symbol.hasInstance](a){return a instanceof Error?Object.getPrototypeOf(a)===zt.prototype?!0:a.name==="ConnectError"&&"code"in a&&typeof a.code=="number"&&"metadata"in a&&"details"in a&&Array.isArray(a.details)&&"rawMessage"in a&&typeof a.rawMessage=="string"&&"cause"in a:!1}findDetails(a){const o="typeName"in a?{findMessage:c=>c===a.typeName?a:void 0}:a,l=[];for(const c of this.details){if("getType"in c){o.findMessage(c.getType().typeName)&&l.push(c);continue}const p=o.findMessage(c.type);if(p)try{l.push(p.fromBinary(c.value))}catch{}}return l}}function sW(n,a){return n.length?`[${Mk(a)}] ${n}`:`[${Mk(a)}]`}function iW(n,a,o){try{const l=Q9.dec(n);return a?a.fromBinary(l,o):l}catch(l){throw zt.from(l,at.DataLoss)}}function lW(n,a){const o={};for(const[l,c]of Object.entries(n.methods)){const p=a(Object.assign(Object.assign({},c),{localName:l,service:n}));p!=null&&(o[l]=p)}return o}const Dk=1;function Uk(n){let a,o=new Uint8Array(0);function l(c){const p=new Uint8Array(o.length+c.length);p.set(o),p.set(c,o.length),o=p}return new ReadableStream({start(){a=n.getReader()},async pull(c){let p;for(;;){if(p===void 0&&o.byteLength>=5){let b=0;for(let C=1;C<5;C++)b=(b<<8)+o[C];p={flags:o[0],length:b}}if(p!==void 0&&o.byteLength>=p.length+5)break;const y=await a.read();if(y.done)break;l(y.value)}if(p===void 0){if(o.byteLength==0){c.close();return}c.error(new zt("premature end of stream",at.DataLoss));return}const f=o.subarray(5,5+p.length);o=o.subarray(5+p.length),c.enqueue({flags:p.flags,data:f})}})}function Fk(n,a){const o=new Uint8Array(a.length+5);o.set(a,5);const l=new DataView(o.buffer,o.byteOffset,o.byteLength);return l.setUint8(0,n),l.setUint32(1,a.length),o}var uW=function(n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var a=n[Symbol.asyncIterator],o;return a?a.call(n):(n=typeof __values=="function"?__values(n):n[Symbol.iterator](),o={},l("next"),l("throw"),l("return"),o[Symbol.asyncIterator]=function(){return this},o);function l(p){o[p]=n[p]&&function(f){return new Promise(function(y,b){f=n[p](f),c(y,b,f.done,f.value)})}}function c(p,f,y,b){Promise.resolve(b).then(function(C){p({value:C,done:y})},f)}},m2=function(n){return this instanceof m2?(this.v=n,this):new m2(n)},cW=function(n,a,o){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var l=o.apply(n,a||[]),c,p=[];return c={},y("next"),y("throw"),y("return",f),c[Symbol.asyncIterator]=function(){return this},c;function f(L){return function(x){return Promise.resolve(x).then(L,N)}}function y(L,x){l[L]&&(c[L]=function(D){return new Promise(function(B,V){p.push([L,D,B,V])>1||b(L,D)})},x&&(c[L]=x(c[L])))}function b(L,x){try{C(l[L](x))}catch(D){O(p[0][3],D)}}function C(L){L.value instanceof m2?Promise.resolve(L.value.v).then(_,N):O(p[0][2],L)}function _(L){b("next",L)}function N(L){b("throw",L)}function O(L,x){L(x),p.shift(),p.length&&b(p[0][0],p[0][1])}},dW=function(n){var a,o;return a={},l("next"),l("throw",function(c){throw c}),l("return"),a[Symbol.iterator]=function(){return this},a;function l(c,p){a[c]=n[c]?function(f){return(o=!o)?{value:m2(n[c](f)),done:!1}:p?p(f):f}:p}};function mW(n){return cW(this,arguments,function*(){yield m2(yield*dW(uW(n)))})}var $C=function(n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var a=n[Symbol.asyncIterator],o;return a?a.call(n):(n=typeof __values=="function"?__values(n):n[Symbol.iterator](),o={},l("next"),l("throw"),l("return"),o[Symbol.asyncIterator]=function(){return this},o);function l(p){o[p]=n[p]&&function(f){return new Promise(function(y,b){f=n[p](f),c(y,b,f.done,f.value)})}}function c(p,f,y,b){Promise.resolve(b).then(function(C){p({value:C,done:y})},f)}},b0=function(n){return this instanceof b0?(this.v=n,this):new b0(n)},fW=function(n){var a,o;return a={},l("next"),l("throw",function(c){throw c}),l("return"),a[Symbol.iterator]=function(){return this},a;function l(c,p){a[c]=n[c]?function(f){return(o=!o)?{value:b0(n[c](f)),done:!1}:p?p(f):f}:p}},pW=function(n,a,o){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var l=o.apply(n,a||[]),c,p=[];return c={},y("next"),y("throw"),y("return",f),c[Symbol.asyncIterator]=function(){return this},c;function f(L){return function(x){return Promise.resolve(x).then(L,N)}}function y(L,x){l[L]&&(c[L]=function(D){return new Promise(function(B,V){p.push([L,D,B,V])>1||b(L,D)})},x&&(c[L]=x(c[L])))}function b(L,x){try{C(l[L](x))}catch(D){O(p[0][3],D)}}function C(L){L.value instanceof b0?Promise.resolve(L.value.v).then(_,N):O(p[0][2],L)}function _(L){b("next",L)}function N(L){b("throw",L)}function O(L,x){L(x),p.shift(),p.length&&b(p[0][0],p[0][1])}};function Vk(n,a){return lW(n,o=>{switch(o.kind){case He.Unary:return hW(a,n,o);case He.ServerStreaming:return gW(a,n,o);case He.ClientStreaming:return yW(a,n,o);case He.BiDiStreaming:return vW(a,n,o);default:return null}})}function hW(n,a,o){return async function(l,c){var p,f;const y=await n.unary(a,o,c==null?void 0:c.signal,c==null?void 0:c.timeoutMs,c==null?void 0:c.headers,l,c==null?void 0:c.contextValues);return(p=c==null?void 0:c.onHeader)===null||p===void 0||p.call(c,y.header),(f=c==null?void 0:c.onTrailer)===null||f===void 0||f.call(c,y.trailer),y.message}}function gW(n,a,o){return function(l,c){return zC(n.stream(a,o,c==null?void 0:c.signal,c==null?void 0:c.timeoutMs,c==null?void 0:c.headers,mW([l]),c==null?void 0:c.contextValues),c)}}function yW(n,a,o){return async function(l,c){var p,f,y,b,C,_;const N=await n.stream(a,o,c==null?void 0:c.signal,c==null?void 0:c.timeoutMs,c==null?void 0:c.headers,l,c==null?void 0:c.contextValues);(C=c==null?void 0:c.onHeader)===null||C===void 0||C.call(c,N.header);let O,L=0;try{for(var x=!0,D=$C(N.message),B;B=await D.next(),p=B.done,!p;x=!0)b=B.value,x=!1,O=b,L++}catch(V){f={error:V}}finally{try{!x&&!p&&(y=D.return)&&await y.call(D)}finally{if(f)throw f.error}}if(!O)throw new zt("protocol error: missing response message",at.Unimplemented);if(L>1)throw new zt("protocol error: received extra messages for client streaming method",at.Unimplemented);return(_=c==null?void 0:c.onTrailer)===null||_===void 0||_.call(c,N.trailer),O}}function vW(n,a,o){return function(l,c){return zC(n.stream(a,o,c==null?void 0:c.signal,c==null?void 0:c.timeoutMs,c==null?void 0:c.headers,l,c==null?void 0:c.contextValues),c)}}function zC(n,a){const o=function(){return pW(this,arguments,function*(){var l,c;const p=yield b0(n);(l=a==null?void 0:a.onHeader)===null||l===void 0||l.call(a,p.header),yield b0(yield*fW($C(p.message))),(c=a==null?void 0:a.onTrailer)===null||c===void 0||c.call(a,p.trailer)})}()[Symbol.asyncIterator]();return{[Symbol.asyncIterator]:()=>({next:()=>o.next()})}}function TW(...n){const a=new AbortController,o=n.filter(c=>c!==void 0).concat(a.signal);for(const c of o){if(c.aborted){l.apply(c);break}c.addEventListener("abort",l)}function l(){a.signal.aborted||a.abort(HC(this));for(const c of o)c.removeEventListener("abort",l)}return a}function bW(n){const a=new AbortController,o=()=>{a.abort(new zt("the operation timed out",at.DeadlineExceeded))};let l;return n!==void 0&&(n<=0?o():l=setTimeout(o,n)),{signal:a.signal,cleanup:()=>clearTimeout(l)}}function HC(n){if(!n.aborted)return;if(n.reason!==void 0)return n.reason;const a=new Error("This operation was aborted");return a.name="AbortError",a}function E9(){return{get(n){return n.id in this?this[n.id]:n.defaultValue},set(n,a){return this[n.id]=a,this},delete(n){return delete this[n.id],this}}}function d6(n,a){return{id:Symbol(a==null?void 0:a.description),defaultValue:n}}const M5=128;function Bk(n){const a=new Headers,o=new TextDecoder().decode(n).split(`\r
205
+ `);for(const l of o){if(l==="")continue;const c=l.indexOf(":");if(c>0){const p=l.substring(0,c).trim(),f=l.substring(c+1).trim();a.append(p,f)}}return a}const kW="Content-Type",SW="Grpc-Timeout",k0="Grpc-Status",GC="Grpc-Message",wW="Grpc-Status-Details-Bin",CW="X-User-Agent",EW="X-Grpc-Web",_W="application/grpc-web+proto",IW="application/grpc-web+json";class nl extends p2{constructor(a){super(),this.code=0,this.message="",this.details=[],k.util.initPartial(a,this)}static fromBinary(a,o){return new nl().fromBinary(a,o)}static fromJson(a,o){return new nl().fromJson(a,o)}static fromJsonString(a,o){return new nl().fromJsonString(a,o)}static equals(a,o){return k.util.equals(nl,a,o)}}nl.runtime=k;nl.typeName="google.rpc.Status";nl.fields=k.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:Js,repeated:!0}]);const NW="0";function qC(n){var a;const o=n.get(wW);if(o!=null){const c=iW(o,nl);if(c.code==0)return;const p=new zt(c.message,c.code,n);return p.details=c.details.map(f=>({type:f.typeUrl.substring(f.typeUrl.lastIndexOf("/")+1),value:f.value})),p}const l=n.get(k0);if(l!=null){if(l===NW)return;const c=parseInt(l,10);return c in at?new zt(decodeURIComponent((a=n.get(GC))!==null&&a!==void 0?a:""),c,n):new zt(`invalid grpc-status: ${l}`,at.Internal,n)}}function jk(n,a,o){const l=typeof a=="string"?a:a.typeName,c=typeof o=="string"?o:o.name;return n.toString().replace(/\/?$/,`/${l}/${c}`)}function WC(n,a){return a instanceof n?a:new n(a)}function RW(n,a){function o(l){return l.done===!0?l:{done:l.done,value:WC(n,l.value)}}return{[Symbol.asyncIterator](){const l=a[Symbol.asyncIterator](),c={next:()=>l.next().then(o)};return l.throw!==void 0&&(c.throw=p=>l.throw(p).then(o)),l.return!==void 0&&(c.return=p=>l.return(p).then(o)),c}}}function QC(n,a){var o;return(o=a==null?void 0:a.concat().reverse().reduce((l,c)=>c(l),n))!==null&&o!==void 0?o:n}function OW(n){var a;const o=Object.assign({},n);return(a=o.ignoreUnknownFields)!==null&&a!==void 0||(o.ignoreUnknownFields=!0),o}function $k(n,a,o,l){const c=a?zk(n.I,l):Hk(n.I,o);return{parse:(a?zk(n.O,l):Hk(n.O,o)).parse,serialize:c.serialize}}function zk(n,a){return{parse(o){try{return n.fromBinary(o,a)}catch(l){const c=l instanceof Error?l.message:String(l);throw new zt(`parse binary: ${c}`,at.Internal)}},serialize(o){try{return o.toBinary(a)}catch(l){const c=l instanceof Error?l.message:String(l);throw new zt(`serialize binary: ${c}`,at.Internal)}}}}function Hk(n,a){var o,l;const c=(o=a==null?void 0:a.textEncoder)!==null&&o!==void 0?o:new TextEncoder,p=(l=a==null?void 0:a.textDecoder)!==null&&l!==void 0?l:new TextDecoder,f=OW(a);return{parse(y){try{const b=p.decode(y);return n.fromJsonString(b,f)}catch(b){throw zt.from(b,at.InvalidArgument)}},serialize(y){try{const b=y.toJsonString(f);return c.encode(b)}catch(b){throw zt.from(b,at.Internal)}}}}function LW(n){const a=QC(n.next,n.interceptors),[o,l,c]=YC(n),p=Object.assign(Object.assign({},n.req),{message:WC(n.req.method.I,n.req.message),signal:o});return a(p).then(f=>(c(),f),l)}function AW(n){const a=QC(n.next,n.interceptors),[o,l,c]=YC(n),p=Object.assign(Object.assign({},n.req),{message:RW(n.req.method.I,n.req.message),signal:o});let f=!1;return o.addEventListener("abort",function(){var y,b;const C=n.req.message[Symbol.asyncIterator]();f||(y=C.throw)===null||y===void 0||y.call(C,this.reason).catch(()=>{}),(b=C.return)===null||b===void 0||b.call(C).catch(()=>{})}),a(p).then(y=>Object.assign(Object.assign({},y),{message:{[Symbol.asyncIterator](){const b=y.message[Symbol.asyncIterator]();return{next(){return b.next().then(C=>(C.done==!0&&(f=!0,c()),C),l)}}}}}),l)}function YC(n){const{signal:a,cleanup:o}=bW(n.timeoutMs),l=TW(n.signal,a);return[l.signal,function(p){const f=zt.from(a.aborted?HC(a):p);return l.abort(f),o(),Promise.reject(f)},function(){o(),l.abort()}]}function xW(){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 Gk(n,a){const o=qC(n);if(o)throw a.forEach((l,c)=>{o.metadata.append(c,l)}),o;if(!a.has(k0)&&!n.has(k0))throw new zt("protocol error: missing status",at.Internal)}function qk(n,a,o,l){const c=new Headers(o??{});return c.set(kW,n?_W:IW),c.set(EW,"1"),c.set(CW,"connect-es/1.6.1"),a!==void 0&&c.set(SW,`${a}m`),c}function PW(n){switch(n){case 400:return at.Internal;case 401:return at.Unauthenticated;case 403:return at.PermissionDenied;case 404:return at.Unimplemented;case 429:return at.Unavailable;case 502:return at.Unavailable;case 503:return at.Unavailable;case 504:return at.Unavailable;default:return at.Unknown}}function Wk(n,a){var o;if(n>=200&&n<300)return{foundStatus:a.has(k0),headerError:qC(a)};throw new zt(decodeURIComponent((o=a.get(GC))!==null&&o!==void 0?o:`HTTP ${n}`),PW(n),a)}var Qc=function(n){return this instanceof Qc?(this.v=n,this):new Qc(n)},MW=function(n,a,o){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var l=o.apply(n,a||[]),c,p=[];return c={},y("next"),y("throw"),y("return",f),c[Symbol.asyncIterator]=function(){return this},c;function f(L){return function(x){return Promise.resolve(x).then(L,N)}}function y(L,x){l[L]&&(c[L]=function(D){return new Promise(function(B,V){p.push([L,D,B,V])>1||b(L,D)})},x&&(c[L]=x(c[L])))}function b(L,x){try{C(l[L](x))}catch(D){O(p[0][3],D)}}function C(L){L.value instanceof Qc?Promise.resolve(L.value.v).then(_,N):O(p[0][2],L)}function _(L){b("next",L)}function N(L){b("throw",L)}function O(L,x){L(x),p.shift(),p.length&&b(p[0][0],p[0][1])}};function Qk(n){var a;xW();const o=(a=n.useBinaryFormat)!==null&&a!==void 0?a:!0;return{async unary(l,c,p,f,y,b,C){var _;const{serialize:N,parse:O}=$k(c,o,n.jsonOptions,n.binaryOptions);return f=f===void 0?n.defaultTimeoutMs:f<=0?void 0:f,await LW({interceptors:n.interceptors,signal:p,timeoutMs:f,req:{stream:!1,service:l,method:c,url:jk(n.baseUrl,l,c),init:{method:"POST",credentials:(_=n.credentials)!==null&&_!==void 0?_:"same-origin",redirect:"error",mode:"cors"},header:qk(o,f,y),contextValues:C??E9(),message:b},next:async L=>{var x;const B=await((x=n.fetch)!==null&&x!==void 0?x:globalThis.fetch)(L.url,Object.assign(Object.assign({},L.init),{headers:L.header,signal:L.signal,body:Fk(0,N(L.message))})),{headerError:V}=Wk(B.status,B.headers);if(!B.body)throw V!==void 0?V:"missing response body";const Q=Uk(B.body).getReader();let K,re;for(;;){const te=await Q.read();if(te.done)break;const{flags:ue,data:oe}=te.value;if((ue&Dk)===Dk)throw new zt("protocol error: received unsupported compressed output",at.Internal);if(ue===M5){if(K!==void 0)throw"extra trailer";K=Bk(oe);continue}if(re!==void 0)throw new zt("extra message",at.Unimplemented);re=O(oe)}if(K===void 0)throw V!==void 0?V:new zt("missing trailer",B.headers.has(k0)?at.Unimplemented:at.Unknown);if(Gk(K,B.headers),re===void 0)throw new zt("missing message",K.has(k0)?at.Unimplemented:at.Unknown);return{stream:!1,service:l,method:c,header:B.headers,message:re,trailer:K}}})},async stream(l,c,p,f,y,b,C){var _;const{serialize:N,parse:O}=$k(c,o,n.jsonOptions,n.binaryOptions);function L(D,B,V,Q,K){return MW(this,arguments,function*(){const te=Uk(D).getReader();if(B){if(!(yield Qc(te.read())).done)throw"extra data for trailers-only";return yield Qc(void 0)}let ue=!1;for(;;){const oe=yield Qc(te.read());if(oe.done)break;const{flags:Ne,data:de}=oe.value;if((Ne&M5)===M5){if(ue)throw"extra trailer";ue=!0;const Fe=Bk(de);Gk(Fe,Q),Fe.forEach((De,Pe)=>V.set(Pe,De));continue}if(ue)throw"extra message";yield yield Qc(O(de))}if("throwIfAborted"in K&&K.throwIfAborted(),!ue)throw"missing trailer"})}async function x(D){if(c.kind!=He.ServerStreaming)throw"The fetch API does not support streaming request bodies";const B=await D[Symbol.asyncIterator]().next();if(B.done==!0)throw"missing request message";return Fk(0,N(B.value))}return f=f===void 0?n.defaultTimeoutMs:f<=0?void 0:f,AW({interceptors:n.interceptors,signal:p,timeoutMs:f,req:{stream:!0,service:l,method:c,url:jk(n.baseUrl,l,c),init:{method:"POST",credentials:(_=n.credentials)!==null&&_!==void 0?_:"same-origin",redirect:"error",mode:"cors"},header:qk(o,f,y),contextValues:C??E9(),message:b},next:async D=>{var B;const Q=await((B=n.fetch)!==null&&B!==void 0?B:globalThis.fetch)(D.url,Object.assign(Object.assign({},D.init),{headers:D.header,signal:D.signal,body:await x(D.message)})),{foundStatus:K,headerError:re}=Wk(Q.status,Q.headers);if(re!=null)throw re;if(!Q.body)throw"missing response body";const te=new Headers;return Object.assign(Object.assign({},D),{header:Q.headers,trailer:te,message:L(Q.body,K,te,Q.headers,D.signal)})}})}}}let DW=()=>({emit(n,...a){let o=this.events[n]||[];for(let l=0,c=o.length;l<c;l++)o[l](...a)},events:{},on(n,a){var o;return(o=this.events[n])!=null&&o.push(a)||(this.events[n]=[a]),()=>{var l;this.events[n]=(l=this.events[n])==null?void 0:l.filter(c=>a!==c)}}});const Yk=({cache:n=new Map,fetcher:a,...o}={})=>{const l=DW();let c=!0;eS("visibilitychange",()=>{c=!document.hidden,c&&l.emit(Zk)}),eS("online",()=>l.emit(Xk));const p=new Map,f=new Map,y=new Map;let b={};const C=async([V,Q],K,re,te)=>{var ue;if(!c)return;const oe=ke=>{K.key===V&&(K.set(ke),l.emit(D5,V,ke,!0))},Ne=()=>{oe({...K.value,...nS,promise:y.get(V)})},{dedupeTime:de=4e3,fetcher:Fe}={...re,...b},De=tS();if(y.has(V)){K.value.loading||Ne();return}if(!te){const ke=n.get(V);ke&&K.value.data!==ke&&oe({data:ke,...vu});const $e=f.get(V);if($e&&$e+de>De)return}const Pe=hU();try{const ke=Fe(...Q);f.set(V,De),y.set(V,ke),Ne();const $e=await ke;n.set(V,$e),oe({data:$e,...vu}),f.set(V,tS())}catch(ke){(ue=re.onError)==null||ue.call(re,ke),oe({data:K.value.data,error:ke,...vu})}finally{Pe(),y.delete(V)}},_=(V,{fetcher:Q=a,...K}={})=>{const re=h9({...vu}),te={...o,...K,fetcher:Q};re._=KC,re.invalidate=()=>{const{key:$e}=re;$e&&L($e)},re.mutate=$e=>{const{key:it}=re;it&&x(it,$e)};let ue,oe,Ne,de,Fe,De=[];TU(re,()=>{const $e=!ue;[Fe,ue]=UW(V),de=Fe.subscribe(Ce=>{if(Ce){const[dt,z]=Ce;re.key=dt,C([dt,z],re,te),oe=dt,Ne=z}else re.key=oe=Ne=void 0,re.set({...vu})});const it=Fe.get();it&&([oe,Ne]=it,$e&&Pe());const{refetchInterval:Rt=0,refetchOnFocus:Qn,refetchOnReconnect:Se}=te,Me=()=>{oe&&C([oe,Ne],re,te)};Rt>0&&p.set(V,setInterval(Me,Rt)),Qn&&De.push(l.on(Zk,Me)),Se&&De.push(l.on(Xk,Me)),De.push(l.on(Jk,Ce=>{oe&&U5(oe,Ce)&&C([oe,Ne],re,te,!0)}),l.on(D5,(Ce,dt,z)=>{oe&&U5(oe,Ce)&&re.value!==dt&&re.value.data!==dt&&re.set(z?dt:{data:dt,...vu})}))});const Pe=()=>{oe&&Ne&&C([oe,Ne],re,te)},ke=re.listen;return re.listen=$e=>{const it=ke($e);return $e(re.value),Pe(),it},bU(re,()=>{re.value={...vu},ue==null||ue(),De.forEach($e=>$e()),De=[],de==null||de(),clearInterval(p.get(V))}),re},N=V=>{n.delete(V),f.delete(V)},O=(V,Q)=>{for(const K of n.keys())U5(K,V)&&Q(K)},L=V=>{O(V,N),l.emit(Jk,V)},x=(V,Q)=>{O(V,K=>{Q===void 0?N(K):n.set(K,Q)}),l.emit(D5,V,Q)};function D(V){const Q=async re=>{var te;const ue=b.fetcher??V,oe=[];try{K.set({error:void 0,data:void 0,mutate:Q,...nS});const Ne=await ue({data:re,invalidate:de=>{oe.push(de)},getCacheUpdater:(de,Fe=!0)=>[De=>{x(de,De),Fe&&oe.push(de)},n.get(de)]});return K.setKey("data",Ne),Ne}catch(Ne){(te=o==null?void 0:o.onError)==null||te.call(o,Ne),K.setKey("error",Ne)}finally{K.setKey("loading",!1),oe.forEach(L)}},K=h9({mutate:Q,...vu});return K.mutate=Q,K}return[_,D,{__unsafeOverruleSettings:V=>{console.warn("You should only use __unsafeOverruleSettings in test environment"),b=V},invalidateKeys:L,mutateCache:x}]};function Kk(n){return typeof n=="string"||typeof n=="number"||n===!0}const UW=n=>{if(Kk(n))return[Cu([""+n,[n]]),()=>{}];let a=Cu(null),o=[];const l=()=>{o.some(p=>p==null||p===!1)?a.set(null):a.set([o.join(""),o])},c=[];for(let p=0;p<n.length;p++){const f=n[p];Kk(f)?o.push(f):c.push(f.subscribe(y=>{o[p]=FW(f)?f.value&&"data"in f.value?f.key:null:y,l()}))}return l(),[a,()=>c.forEach(p=>p())]};function FW(n){return n._===KC}const Zk=1,Xk=2,Jk=3,D5=4,eS=(n,a)=>{typeof window>"u"||addEventListener(n,a)},U5=(n,a)=>Array.isArray(a)?a.includes(n):typeof a=="function"?a(n):n===a,tS=()=>new Date().getTime(),KC=Symbol(),nS={loading:!0},vu={loading:!1};window.dispatchEvent(new CustomEvent("grpc_devtools_loaded"));var aS;(function(n){n.Init="init",n.Ready="ready",n.Connecting="connecting",n.Connected="connected",n.Disconnected="disconnected",n.Failed="failed",n.Reconnect="reconnect",n.Reconnecting="reconnecting"})(aS||(aS={}));E0("grpc:stream");at.Unknown,at.Internal,at.DeadlineExceeded,at.ResourceExhausted,at.FailedPrecondition,at.Unavailable,at.DataLoss;E0("grpc:retry");d6(10,{description:"Number of attempts to retry"}),d6(3e4,{description:"Max delay between retries in milliseconds"});const ZC=k.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"}]),XC=k.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"}]),R6=k.makeMessageType("streamlayer.sports.Pagination",()=>[{no:1,name:"page",kind:"scalar",T:5},{no:2,name:"page_size",kind:"scalar",T:5}]),JC=k.makeMessageType("streamlayer.sports.Sort",()=>[{no:1,name:"field",kind:"scalar",T:9},{no:2,name:"order",kind:"scalar",T:9}]),O6=k.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}]),eE=k.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}]),L6=k.makeMessageType("streamlayer.sports.EventTime",()=>[{no:1,name:"clock",kind:"scalar",T:9},{no:2,name:"period",kind:"scalar",T:5}]),VW=k.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}]),Eu=k.makeMessageType("streamlayer.sports.TeamRecord",()=>[{no:1,name:"wins",kind:"scalar",T:5},{no:2,name:"losses",kind:"scalar",T:5}]),_u=k.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}]),BW=k.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}]),jW=k.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}]),$W=k.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:_u},{no:6,name:"away",kind:"message",T:_u},{no:7,name:"status",kind:"enum",T:k.getEnumType(ZC)},{no:8,name:"custom_fields",kind:"message",T:BW},{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:eE},{no:12,name:"schedule",kind:"message",T:jW,repeated:!0},{no:13,name:"endless",kind:"enum",T:k.getEnumType(XC)},{no:14,name:"provider_id",kind:"scalar",T:9}]),nd=k.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:eE},{no:6,name:"event_time",kind:"message",T:L6},{no:7,name:"home_team",kind:"message",T:_u},{no:8,name:"away_team",kind:"message",T:_u},{no:9,name:"status",kind:"enum",T:k.getEnumType(ZC)},{no:10,name:"periods",kind:"message",T:VW,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}]),zW=k.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"}]),HW=k.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"}]),rS=k.makeMessageType("streamlayer.sports.baseball.PitcherSummary",()=>[{no:1,name:"statistics",kind:"message",T:tE},{no:2,name:"status",kind:"enum",T:k.getEnumType(zW)},{no:3,name:"win_rate",kind:"scalar",T:5},{no:4,name:"loss_rate",kind:"scalar",T:5}]),GW=k.makeMessageType("streamlayer.sports.baseball.Runner",()=>[{no:1,name:"player_name",kind:"scalar",T:9},{no:2,name:"jersey_number",kind:"scalar",T:9}]),qW=k.makeMessageType("streamlayer.sports.baseball.RunnerOnBase",()=>[{no:1,name:"base_number",kind:"enum",T:k.getEnumType(HW)},{no:2,name:"player",kind:"message",T:GW}]),WW=k.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}]),QW=k.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}]),tE=k.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}]),oS=k.makeMessageType("streamlayer.sports.baseball.BaseballTeamSummary",()=>[{no:1,name:"hitting",kind:"message",T:WW,repeated:!0},{no:2,name:"batting",kind:"message",T:QW,repeated:!0},{no:3,name:"pitching",kind:"message",T:tE,repeated:!0}]),YW=k.makeMessageType("streamlayer.sports.baseball.BaseballSummary",()=>[{no:1,name:"home_pitcher",kind:"message",T:rS},{no:2,name:"away_pitcher",kind:"message",T:rS},{no:3,name:"home_statistics",kind:"message",T:oS},{no:4,name:"away_statistics",kind:"message",T:oS}]),KW=k.makeMessageType("streamlayer.sports.baseball.BaseballPlayByPlayStatistics",()=>[{no:1,name:"team",kind:"message",T:_u},{no:2,name:"inning",kind:"scalar",T:9},{no:3,name:"play_text",kind:"scalar",T:9},{no:4,name:"detail",kind:"message",T:ZW,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}]),ZW=k.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"}),XW=k.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:qW,repeated:!0},{no:7,name:"taken_bases",kind:"scalar",T:5},{no:8,name:"home_team_record",kind:"message",T:Eu},{no:9,name:"away_team_record",kind:"message",T:Eu}]),JW=k.makeMessageType("streamlayer.sports.baseball.PlayByPlay",()=>[{no:1,name:"statistics",kind:"message",T:KW,repeated:!0}]),eQ=k.makeMessageType("streamlayer.sports.baseball.EventSummary",()=>[{no:1,name:"statistics",kind:"message",T:YW}]),tQ=k.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:nQ},{no:11,name:"rank",kind:"message",T:aQ},{no:12,name:"division",kind:"scalar",T:9},{no:13,name:"conference",kind:"scalar",T:9}]),nQ=k.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"}),aQ=k.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"}),rQ=k.makeMessageType("streamlayer.sports.baseball.Standings",()=>[{no:1,name:"standings",kind:"message",T:tQ,repeated:!0}]),oQ=k.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"}]),sQ=k.makeMessageType("streamlayer.sports.basketball.EventScore",()=>[{no:8,name:"home_team_record",kind:"message",T:Eu},{no:9,name:"away_team_record",kind:"message",T:Eu}]),sS=k.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}]),iS=k.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}]),iQ=k.makeMessageType("streamlayer.sports.basketball.BasketballPerformers",()=>[{no:1,name:"category",kind:"enum",T:k.getEnumType(oQ)},{no:2,name:"home_player",kind:"message",T:iS},{no:3,name:"away_player",kind:"message",T:iS}]),lQ=k.makeMessageType("streamlayer.sports.basketball.BasketballSummary",()=>[{no:1,name:"home_statistics",kind:"message",T:sS},{no:2,name:"away_statistics",kind:"message",T:sS}]),uQ=k.makeMessageType("streamlayer.sports.basketball.EventSummary",()=>[{no:1,name:"statistics",kind:"message",T:lQ},{no:2,name:"top_performers",kind:"message",T:iQ,repeated:!0},{no:3,name:"last_games",kind:"message",T:nE}]),cQ=k.makeMessageType("streamlayer.sports.basketball.BasketballPlayByPlayStatistics",()=>[{no:1,name:"team",kind:"message",T:_u},{no:2,name:"event_time",kind:"message",T:L6},{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}]),dQ=k.makeMessageType("streamlayer.sports.basketball.PlayByPlay",()=>[{no:1,name:"statistics",kind:"message",T:cQ,repeated:!0}]),lS=k.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}]),mQ=k.makeMessageType("streamlayer.sports.basketball.Boxscore",()=>[{no:1,name:"home_players",kind:"message",T:lS,repeated:!0},{no:2,name:"away_players",kind:"message",T:lS,repeated:!0}]),fQ=k.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:pQ},{no:11,name:"rank",kind:"message",T:hQ},{no:12,name:"division",kind:"scalar",T:9},{no:13,name:"conference",kind:"scalar",T:9}]),pQ=k.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"}),hQ=k.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"}),gQ=k.makeMessageType("streamlayer.sports.basketball.Standings",()=>[{no:1,name:"standings",kind:"message",T:fQ,repeated:!0}]),uS=k.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}]),cS=k.makeMessageType("streamlayer.sports.basketball.BasketballMatchLineup",()=>[{no:3,name:"start_players",kind:"message",T:uS,repeated:!0},{no:4,name:"substitutes",kind:"message",T:uS,repeated:!0}]),yQ=k.makeMessageType("streamlayer.sports.basketball.BasketballMatchLineups",()=>[{no:1,name:"home_team",kind:"message",T:cS},{no:2,name:"away_team",kind:"message",T:cS}]),F5=k.makeMessageType("streamlayer.sports.basketball.BasketballLastGame",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"attributes",kind:"message",T:vQ}]),vQ=k.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"}),nE=k.makeMessageType("streamlayer.sports.basketball.BasketballLastGames",()=>[{no:1,name:"home",kind:"message",T:F5,repeated:!0},{no:2,name:"away",kind:"message",T:F5,repeated:!0},{no:3,name:"head_to_head",kind:"message",T:F5,repeated:!0}]),TQ=k.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"}]),aE=k.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"}]),bQ=k.makeMessageType("streamlayer.sports.hockey.EventScore",()=>[{no:8,name:"home_team_record",kind:"message",T:Eu},{no:9,name:"away_team_record",kind:"message",T:Eu}]),dS=k.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}]),kQ=k.makeMessageType("streamlayer.sports.hockey.HockeyPerformers",()=>[{no:1,name:"category",kind:"enum",T:k.getEnumType(TQ)},{no:2,name:"home_player",kind:"message",T:dS,repeated:!0},{no:3,name:"away_player",kind:"message",T:dS,repeated:!0}]),mS=k.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}]),SQ=k.makeMessageType("streamlayer.sports.hockey.HockeySummary",()=>[{no:1,name:"home_statistics",kind:"message",T:mS},{no:2,name:"away_statistics",kind:"message",T:mS}]),wQ=k.makeMessageType("streamlayer.sports.hockey.EventSummary",()=>[{no:1,name:"statistics",kind:"message",T:SQ},{no:2,name:"top_performers",kind:"message",T:kQ,repeated:!0}]),CQ=k.makeMessageType("streamlayer.sports.hockey.HockeyPlayByPlayStatistics",()=>[{no:1,name:"team",kind:"message",T:_u},{no:2,name:"event_time",kind:"message",T:L6},{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}]),EQ=k.makeMessageType("streamlayer.sports.hockey.PlayByPlay",()=>[{no:1,name:"statistics",kind:"message",T:CQ,repeated:!0}]),V5=k.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:k.getEnumType(aE)}]),fS=k.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:k.getEnumType(aE)}]),pS=k.makeMessageType("streamlayer.sports.hockey.PlayerScores",()=>[{no:1,name:"skaters",kind:"message",T:V5,repeated:!0},{no:2,name:"goaltender",kind:"message",T:fS},{no:3,name:"forwards",kind:"message",T:V5,repeated:!0},{no:4,name:"defensemen",kind:"message",T:V5,repeated:!0},{no:5,name:"goaltenders",kind:"message",T:fS,repeated:!0}]),_Q=k.makeMessageType("streamlayer.sports.hockey.Boxscore",()=>[{no:1,name:"home_players",kind:"message",T:pS},{no:2,name:"away_players",kind:"message",T:pS}]),IQ=k.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:NQ},{no:11,name:"rank",kind:"message",T:RQ},{no:12,name:"division",kind:"scalar",T:9},{no:13,name:"conference",kind:"scalar",T:9}]),NQ=k.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"}),RQ=k.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"}),OQ=k.makeMessageType("streamlayer.sports.hockey.Standings",()=>[{no:1,name:"standings",kind:"message",T:IQ,repeated:!0}]),LQ=k.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"}]),AQ=k.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"}]),xQ=k.makeMessageType("streamlayer.sports.soccer.EventScore",()=>[{no:8,name:"home_team_record",kind:"message",T:Eu},{no:9,name:"away_team_record",kind:"message",T:Eu}]),vy=k.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}]),PQ=k.makeMessageType("streamlayer.sports.soccer.SoccerAttackPerfomer",()=>[{no:1,name:"perfomer",kind:"message",T:vy},{no:2,name:"attack_stats",kind:"message",T:zQ}]),MQ=k.makeMessageType("streamlayer.sports.soccer.SoccerMidfieldPerformer",()=>[{no:1,name:"perfomer",kind:"message",T:vy},{no:2,name:"midfield_stats",kind:"message",T:HQ}]),DQ=k.makeMessageType("streamlayer.sports.soccer.SoccerDefensePerfomer",()=>[{no:1,name:"perfomer",kind:"message",T:vy},{no:2,name:"defense_stats",kind:"message",T:GQ}]),UQ=k.makeMessageType("streamlayer.sports.soccer.SoccerPerformers",()=>[{no:1,name:"category",kind:"enum",T:k.getEnumType(LQ)},{no:2,name:"attack_performer",kind:"message",T:PQ},{no:3,name:"midfield_performer",kind:"message",T:MQ},{no:4,name:"defense_performer",kind:"message",T:DQ}]),FQ=k.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}]),VQ=k.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}]),BQ=k.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}]),hS=k.makeMessageType("streamlayer.sports.soccer.SoccerTeamSummary",()=>[{no:1,name:"top_match_stats",kind:"message",T:FQ},{no:2,name:"attacking_stats",kind:"message",T:VQ},{no:3,name:"defense_stats",kind:"message",T:BQ}]),jQ=k.makeMessageType("streamlayer.sports.soccer.SoccerSummary",()=>[{no:1,name:"home_statistics",kind:"message",T:hS},{no:2,name:"away_statistics",kind:"message",T:hS},{no:3,name:"perfomers",kind:"message",T:UQ}]),$Q=k.makeMessageType("streamlayer.sports.soccer.EventSummary",()=>[{no:1,name:"statistics",kind:"message",T:jQ},{no:2,name:"last_games",kind:"message",T:rE}]),zQ=k.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}]),HQ=k.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}]),GQ=k.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}]),qQ=k.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}]),WQ=k.makeMessageType("streamlayer.sports.soccer.SoccerMatchFormationMatrix",()=>[{no:1,name:"row_players",kind:"message",T:qQ,repeated:!0}]),gS=k.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}]),yS=k.makeMessageType("streamlayer.sports.soccer.SoccerMatchLineup",()=>[{no:1,name:"formation_string",kind:"scalar",T:9},{no:2,name:"formation_matrix",kind:"message",T:WQ,repeated:!0},{no:3,name:"start_players",kind:"message",T:gS,repeated:!0},{no:4,name:"substitutes",kind:"message",T:gS,repeated:!0}]),QQ=k.makeMessageType("streamlayer.sports.soccer.SoccerMatchLineups",()=>[{no:1,name:"home_team",kind:"message",T:yS},{no:2,name:"away_team",kind:"message",T:yS}]),YQ=k.makeMessageType("streamlayer.sports.soccer.SoccerPlayByPlayStatistics",()=>[{no:1,name:"team",kind:"message",T:_u},{no:2,name:"event_time",kind:"message",T:L6},{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:k.getEnumType(AQ)}]),KQ=k.makeMessageType("streamlayer.sports.soccer.PlayByPlay",()=>[{no:1,name:"statistics",kind:"message",T:YQ,repeated:!0}]),ZQ=k.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}]),XQ=k.makeMessageType("streamlayer.sports.soccer.Standings",()=>[{no:1,name:"standings",kind:"message",T:ZQ,repeated:!0}]),B5=k.makeMessageType("streamlayer.sports.soccer.SoccerLastGame",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"attributes",kind:"message",T:JQ}]),JQ=k.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"}),rE=k.makeMessageType("streamlayer.sports.soccer.SoccerLastGames",()=>[{no:1,name:"home",kind:"message",T:B5,repeated:!0},{no:2,name:"away",kind:"message",T:B5,repeated:!0},{no:3,name:"head_to_head",kind:"message",T:B5,repeated:!0}]),ad=k.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"}]),eY=k.makeMessageType("streamlayer.sports.events.ScheduleAttributes",()=>[{no:1,name:"summary",kind:"message",T:nd},{no:2,name:"baseball",kind:"message",T:XW,oneof:"sport"},{no:3,name:"basketball",kind:"message",T:sQ,oneof:"sport"},{no:4,name:"hockey",kind:"message",T:bQ,oneof:"sport"},{no:5,name:"soccer",kind:"message",T:xQ,oneof:"sport"}]),tY=k.makeMessageType("streamlayer.sports.events.ScheduleResponseData",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"type",kind:"enum",T:k.getEnumType(ad)},{no:3,name:"attributes",kind:"message",T:eY}]),nY=k.makeMessageType("streamlayer.sports.events.ListResponseAttributes",()=>[{no:1,name:"common",kind:"message",T:$W}]),oE=k.makeMessageType("streamlayer.sports.events.ListResponseData",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"attributes",kind:"message",T:nY}]),aY=k.makeMessageType("streamlayer.sports.events.ListRequest",()=>[{no:1,name:"filter",kind:"message",T:rY},{no:2,name:"pagination",kind:"message",T:R6},{no:3,name:"sort",kind:"message",T:JC},{no:4,name:"ids",kind:"scalar",T:4,repeated:!0},{no:5,name:"organization_id",kind:"scalar",T:9}]),rY=k.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:k.getEnumType(XC)}],{localName:"ListRequest_Filter"}),oY=k.makeMessageType("streamlayer.sports.events.DemoListRequest",()=>[{no:1,name:"filter",kind:"message",T:sY},{no:2,name:"pagination",kind:"message",T:R6},{no:3,name:"sort",kind:"message",T:JC}]),sY=k.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"}),iY=k.makeMessageType("streamlayer.sports.events.DemoListResponse",()=>[{no:1,name:"meta",kind:"message",T:O6},{no:2,name:"data",kind:"message",T:oE,repeated:!0}]),lY=k.makeMessageType("streamlayer.sports.events.ListResponse",()=>[{no:1,name:"meta",kind:"message",T:O6},{no:2,name:"data",kind:"message",T:oE,repeated:!0}]),vS=k.makeMessageType("streamlayer.sports.events.SummaryRequest",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"organization_id",kind:"scalar",T:9}]),TS=k.makeMessageType("streamlayer.sports.events.SummaryResponse",()=>[{no:1,name:"data",kind:"message",T:uY}]),uY=k.makeMessageType("streamlayer.sports.events.SummaryResponse.ResponseData",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"type",kind:"enum",T:k.getEnumType(ad)},{no:3,name:"attributes",kind:"message",T:cY}],{localName:"SummaryResponse_ResponseData"}),cY=k.makeMessageType("streamlayer.sports.events.SummaryResponse.ResponseData.SummaryResponseAttributes",()=>[{no:1,name:"summary",kind:"message",T:nd},{no:2,name:"baseball",kind:"message",T:eQ,oneof:"sports"},{no:3,name:"basketball",kind:"message",T:uQ,oneof:"sports"},{no:4,name:"hockey",kind:"message",T:wQ,oneof:"sports"},{no:5,name:"soccer",kind:"message",T:$Q,oneof:"sports"}],{localName:"SummaryResponse_ResponseData_SummaryResponseAttributes"}),dY=k.makeMessageType("streamlayer.sports.events.AdminSummaryRequest",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"organization_id",kind:"scalar",T:9}]),mY=k.makeMessageType("streamlayer.sports.events.AdminSummaryResponse",()=>[{no:1,name:"data",kind:"message",T:fY}]),fY=k.makeMessageType("streamlayer.sports.events.AdminSummaryResponse.ResponseData",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"attributes",kind:"message",T:pY}],{localName:"AdminSummaryResponse_ResponseData"}),pY=k.makeMessageType("streamlayer.sports.events.AdminSummaryResponse.ResponseData.SummaryResponseAttributes",()=>[{no:1,name:"summary",kind:"message",T:nd},{no:2,name:"provider_id",kind:"scalar",T:9}],{localName:"AdminSummaryResponse_ResponseData_SummaryResponseAttributes"}),hY=k.makeMessageType("streamlayer.sports.events.PlayByPlayRequest",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"pagination",kind:"message",T:R6},{no:3,name:"order",kind:"scalar",T:9}]),gY=k.makeMessageType("streamlayer.sports.events.PlayByPlayResponse",()=>[{no:1,name:"data",kind:"message",T:yY},{no:2,name:"meta",kind:"message",T:O6}]),yY=k.makeMessageType("streamlayer.sports.events.PlayByPlayResponse.ResponseData",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"type",kind:"enum",T:k.getEnumType(ad)},{no:3,name:"attributes",kind:"message",T:vY}],{localName:"PlayByPlayResponse_ResponseData"}),vY=k.makeMessageType("streamlayer.sports.events.PlayByPlayResponse.ResponseData.PlayByPlayResponseAttributes",()=>[{no:1,name:"summary",kind:"message",T:nd},{no:2,name:"baseball",kind:"message",T:JW,oneof:"sports"},{no:3,name:"basketball",kind:"message",T:dQ,oneof:"sports"},{no:4,name:"hockey",kind:"message",T:EQ,oneof:"sports"},{no:5,name:"soccer",kind:"message",T:KQ,oneof:"sports"}],{localName:"PlayByPlayResponse_ResponseData_PlayByPlayResponseAttributes"}),TY=k.makeMessageType("streamlayer.sports.events.ScheduleRequest",()=>[{no:1,name:"filter",kind:"message",T:bY},{no:2,name:"pagination",kind:"message",T:R6}]),bY=k.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"}),kY=k.makeMessageType("streamlayer.sports.events.ScheduleResponse",()=>[{no:1,name:"data",kind:"message",T:tY,repeated:!0},{no:2,name:"meta",kind:"message",T:O6}]),SY=k.makeMessageType("streamlayer.sports.events.ScheduleDatesRequest",()=>[{no:1,name:"filter",kind:"message",T:wY}]),wY=k.makeMessageType("streamlayer.sports.events.ScheduleDatesRequest.Filter",()=>[{no:2,name:"league",kind:"scalar",T:9}],{localName:"ScheduleDatesRequest_Filter"}),CY=k.makeMessageType("streamlayer.sports.events.ScheduleDatesResponse",()=>[{no:1,name:"data",kind:"scalar",T:9,repeated:!0}]),EY=k.makeMessageType("streamlayer.sports.events.BoxscoreRequest",()=>[{no:1,name:"id",kind:"scalar",T:4}]),_Y=k.makeMessageType("streamlayer.sports.events.BoxscoreResponse",()=>[{no:1,name:"data",kind:"message",T:IY}]),IY=k.makeMessageType("streamlayer.sports.events.BoxscoreResponse.ResponseData",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"type",kind:"enum",T:k.getEnumType(ad)},{no:3,name:"attributes",kind:"message",T:NY}],{localName:"BoxscoreResponse_ResponseData"}),NY=k.makeMessageType("streamlayer.sports.events.BoxscoreResponse.ResponseData.BoxscoreResponseAttributes",()=>[{no:1,name:"summary",kind:"message",T:nd},{no:2,name:"basketball",kind:"message",T:mQ,oneof:"sports"},{no:3,name:"hockey",kind:"message",T:_Q,oneof:"sports"}],{localName:"BoxscoreResponse_ResponseData_BoxscoreResponseAttributes"}),RY=k.makeMessageType("streamlayer.sports.events.StandingsRequest",()=>[{no:1,name:"league",kind:"scalar",T:9}]),OY=k.makeMessageType("streamlayer.sports.events.StandingsResponse",()=>[{no:1,name:"data",kind:"message",T:LY}]),LY=k.makeMessageType("streamlayer.sports.events.StandingsResponse.ResponseData",()=>[{no:1,name:"type",kind:"enum",T:k.getEnumType(ad)},{no:2,name:"attributes",kind:"message",T:AY}],{localName:"StandingsResponse_ResponseData"}),AY=k.makeMessageType("streamlayer.sports.events.StandingsResponse.ResponseData.StandingsResponseAttributes",()=>[{no:2,name:"basketball",kind:"message",T:gQ,oneof:"sports"},{no:3,name:"hockey",kind:"message",T:OQ,oneof:"sports"},{no:4,name:"baseball",kind:"message",T:rQ,oneof:"sports"},{no:5,name:"soccer",kind:"message",T:XQ,oneof:"sports"}],{localName:"StandingsResponse_ResponseData_StandingsResponseAttributes"}),xY=k.makeMessageType("streamlayer.sports.events.LineupRequest",()=>[{no:1,name:"id",kind:"scalar",T:4}]),PY=k.makeMessageType("streamlayer.sports.events.LineupResponse",()=>[{no:1,name:"data",kind:"message",T:MY}]),MY=k.makeMessageType("streamlayer.sports.events.LineupResponse.ResponseData",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"type",kind:"enum",T:k.getEnumType(ad)},{no:3,name:"attributes",kind:"message",T:DY}],{localName:"LineupResponse_ResponseData"}),DY=k.makeMessageType("streamlayer.sports.events.LineupResponse.ResponseData.LineupResponseAttributes",()=>[{no:1,name:"summary",kind:"message",T:nd},{no:2,name:"soccer",kind:"message",T:QQ,oneof:"sports"},{no:3,name:"basketball",kind:"message",T:yQ,oneof:"sports"}],{localName:"LineupResponse_ResponseData_LineupResponseAttributes"}),UY=k.makeMessageType("streamlayer.sports.events.LastGamesRequest",()=>[{no:1,name:"id",kind:"scalar",T:4}]),FY=k.makeMessageType("streamlayer.sports.events.LastGamesResponse",()=>[{no:1,name:"data",kind:"message",T:VY}]),VY=k.makeMessageType("streamlayer.sports.events.LastGamesResponse.ResponseData",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"type",kind:"enum",T:k.getEnumType(ad)},{no:3,name:"attributes",kind:"message",T:BY}],{localName:"LastGamesResponse_ResponseData"}),BY=k.makeMessageType("streamlayer.sports.events.LastGamesResponse.ResponseData.LastGamesResponseAttributes",()=>[{no:1,name:"summary",kind:"message",T:nd},{no:2,name:"soccer",kind:"message",T:rE,oneof:"sports"},{no:3,name:"basketball",kind:"message",T:nE,oneof:"sports"}],{localName:"LastGamesResponse_ResponseData_LastGamesResponseAttributes"}),jY=k.makeMessageType("streamlayer.sports.events.RetrieveEventIdRequest",()=>[{no:1,name:"id",kind:"scalar",T:9}]),$Y=k.makeMessageType("streamlayer.sports.events.RetrieveEventIdResponse",()=>[{no:1,name:"data",kind:"message",T:zY}]),zY=k.makeMessageType("streamlayer.sports.events.RetrieveEventIdResponse.RetrieveEventIdResponseData",()=>[{no:1,name:"id",kind:"scalar",T:4}],{localName:"RetrieveEventIdResponse_RetrieveEventIdResponseData"}),sE={typeName:"streamlayer.sports.events.Events",methods:{list:{name:"List",I:aY,O:lY,kind:He.Unary},demoList:{name:"DemoList",I:oY,O:iY,kind:He.Unary},summary:{name:"Summary",I:vS,O:TS,kind:He.Unary},adminSummary:{name:"AdminSummary",I:dY,O:mY,kind:He.Unary},boxscore:{name:"Boxscore",I:EY,O:_Y,kind:He.Unary},standings:{name:"Standings",I:RY,O:OY,kind:He.Unary},playByPlay:{name:"PlayByPlay",I:hY,O:gY,kind:He.Unary},schedule:{name:"Schedule",I:TY,O:kY,kind:He.Unary},scheduleDates:{name:"ScheduleDates",I:SY,O:CY,kind:He.Unary},lineup:{name:"Lineup",I:xY,O:PY,kind:He.Unary},retrieveEventId:{name:"RetrieveEventId",I:jY,O:$Y,kind:He.Unary},lastGames:{name:"LastGames",I:UY,O:FY,kind:He.Unary},summarySubscription:{name:"SummarySubscription",I:vS,O:TS,kind:He.ServerStreaming}}},HY=k.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"}]),GY=k.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"}]),qY=k.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"}]),WY=k.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"}]),QY=k.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"}]),YY=k.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"}]),KY=k.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"}]),ZY=k.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"}]),iE=k.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"}]),XY=k.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"}]),JY=k.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"}]),eK=k.makeMessageType("streamlayer.sdkSettings.client.NotifySettings",()=>[{no:1,name:"allow",kind:"enum",T:k.getEnumType(iE)}]),tK=k.makeMessageType("streamlayer.sdkSettings.client.SoundSettings",()=>[{no:1,name:"allow",kind:"enum",T:k.getEnumType(iE)}]),j5=k.makeMessageType("streamlayer.sdkSettings.client.ClientSettingsNotifications",()=>[{no:1,name:"notify",kind:"message",T:eK},{no:2,name:"sound",kind:"message",T:tK}]),Ty=k.makeMessageType("streamlayer.sdkSettings.client.ClientSettings",()=>[{no:1,name:"visible_status",kind:"enum",T:k.getEnumType(HY)},{no:2,name:"messages_notify",kind:"enum",T:k.getEnumType(GY)},{no:3,name:"friends_notify",kind:"enum",T:k.getEnumType(qY)},{no:4,name:"calls_sound",kind:"enum",T:k.getEnumType(QY)},{no:5,name:"messages_sound",kind:"enum",T:k.getEnumType(YY)},{no:6,name:"friends_sound",kind:"enum",T:k.getEnumType(KY)},{no:7,name:"twitter_notify",kind:"enum",T:k.getEnumType(WY)},{no:8,name:"twitter_sound",kind:"enum",T:k.getEnumType(ZY)},{no:9,name:"gamification",kind:"message",T:j5},{no:10,name:"watch_party_invitation",kind:"message",T:j5},{no:11,name:"twitter_question",kind:"message",T:j5}]),nK=k.makeMessageType("streamlayer.sdkSettings.client.GetRequest",[]),aK=k.makeMessageType("streamlayer.sdkSettings.client.GetResponse",()=>[{no:1,name:"data",kind:"message",T:rK}]),rK=k.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:Ty}],{localName:"GetResponse_GetResponseData"}),oK=k.makeMessageType("streamlayer.sdkSettings.client.UpdateRequest",()=>[{no:2,name:"settings",kind:"message",T:Ty}]),sK=k.makeMessageType("streamlayer.sdkSettings.client.UpdateResponse",()=>[{no:1,name:"data",kind:"message",T:iK}]),iK=k.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:Ty}],{localName:"UpdateResponse_UpdateResponseData"}),lK=k.makeMessageType("streamlayer.sdkSettings.client.GetStreamRequest",()=>[{no:1,name:"id",kind:"scalar",T:9}]),uK=k.makeMessageType("streamlayer.sdkSettings.client.GetStreamResponse",()=>[{no:1,name:"data",kind:"message",T:cK}]),cK=k.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:aC}],{localName:"GetStreamResponse_GetResponseData"}),dK=k.makeMessageType("streamlayer.sdkSettings.client.GetOrganizationRequest",[]),mK=k.makeMessageType("streamlayer.sdkSettings.client.GetOrganizationResponse",()=>[{no:1,name:"data",kind:"message",T:fK}]),fK=k.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:rC}],{localName:"GetOrganizationResponse_GetResponseData"}),pK=k.makeMessageType("streamlayer.sdkSettings.client.GetOrganizationAdvertisingRequest",()=>[{no:1,name:"event_id",kind:"scalar",T:9,opt:!0}]),hK=k.makeMessageType("streamlayer.sdkSettings.client.GetOrganizationAdvertisingResponse",()=>[{no:1,name:"data",kind:"message",T:gK}]),gK=k.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:pU}],{localName:"GetOrganizationAdvertisingResponse_GetOrganizationAdvertisingResponseData"}),yK=k.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:k.getEnumType(XY)}]),vK=k.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:yK},{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:k.getEnumType(JY)}]),TK=k.makeMessageType("streamlayer.sdkSettings.client.GenerateDeepLinkRequest",()=>[{no:1,name:"data",kind:"message",T:vK}]),bK=k.makeMessageType("streamlayer.sdkSettings.client.DeepLink",()=>[{no:1,name:"url",kind:"scalar",T:9},{no:2,name:"link_id",kind:"scalar",T:9}]),kK=k.makeMessageType("streamlayer.sdkSettings.client.GenerateDeepLinkResponse",()=>[{no:1,name:"data",kind:"message",T:SK}]),SK=k.makeMessageType("streamlayer.sdkSettings.client.GenerateDeepLinkResponse.GenerateDeepLinkResponseData",()=>[{no:1,name:"attributes",kind:"message",T:bK}],{localName:"GenerateDeepLinkResponse_GenerateDeepLinkResponseData"}),wK=k.makeMessageType("streamlayer.sdkSettings.client.StreamSubscriptionRequest",()=>[{no:1,name:"id",kind:"scalar",T:9}]),CK=k.makeMessageType("streamlayer.sdkSettings.client.OrganizationSubscriptionRequest",[]),EK=k.makeMessageType("streamlayer.sdkSettings.client.StreamSubscriptionResponse",()=>[{no:1,name:"data",kind:"message",T:_K}]),_K=k.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:aC}],{localName:"StreamSubscriptionResponse_ResponseData"}),IK=k.makeMessageType("streamlayer.sdkSettings.client.OrganizationSubscriptionResponse",()=>[{no:1,name:"data",kind:"message",T:NK}]),NK=k.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:rC}],{localName:"OrganizationSubscriptionResponse_ResponseData"}),h2={typeName:"streamlayer.sdkSettings.client.Client",methods:{get:{name:"Get",I:nK,O:aK,kind:He.Unary},update:{name:"Update",I:oK,O:sK,kind:He.Unary},getStream:{name:"GetStream",I:lK,O:uK,kind:He.Unary},getOrganization:{name:"GetOrganization",I:dK,O:mK,kind:He.Unary},getOrganizationAdvertising:{name:"GetOrganizationAdvertising",I:pK,O:hK,kind:He.Unary},generateDeepLink:{name:"GenerateDeepLink",I:TK,O:kK,kind:He.Unary},streamSubscription:{name:"StreamSubscription",I:wK,O:EK,kind:He.ServerStreaming},organizationSubscription:{name:"OrganizationSubscription",I:CK,O:IK,kind:He.ServerStreaming}}},RK=k.makeMessageType("streamlayer.users.PublicChatUser",()=>[{no:1,name:"name",kind:"scalar",T:9}]),OK=k.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:RK},{no:7,name:"public_name",kind:"scalar",T:9}]),by=k.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:OK}]),LK=k.makeMessageType("streamlayer.users.LoginRequest",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"password",kind:"scalar",T:9}]),AK=k.makeMessageType("streamlayer.users.AuthResponse",()=>[{no:1,name:"meta",kind:"message",T:xK},{no:2,name:"data",kind:"message",T:by}]),xK=k.makeMessageType("streamlayer.users.AuthResponse.AuthResponseMetadata",()=>[{no:1,name:"jwt",kind:"scalar",T:9},{no:3,name:"getstream",kind:"scalar",T:9}],{localName:"AuthResponse_AuthResponseMetadata"}),PK=k.makeMessageType("streamlayer.users.RegisterRequest",()=>[{no:1,name:"id",kind:"scalar",T:9}]),MK=k.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}]),DK=k.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:MK}]),UK=k.makeMessageType("streamlayer.users.RequestPasswordRequest",()=>[{no:1,name:"id",kind:"scalar",T:9}]),FK=k.makeMessageType("streamlayer.users.RequestPasswordResponse",()=>[{no:1,name:"requested",kind:"scalar",T:8},{no:2,name:"uid",kind:"scalar",T:9}]),VK=k.makeMessageType("streamlayer.users.MeRequest",[]),BK=k.makeMessageType("streamlayer.users.MeResponse",()=>[{no:1,name:"data",kind:"message",T:by}]),jK=k.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"}]),$K=k.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"}]),zK=k.makeMessageType("streamlayer.users.UpdateAvatarResponse",[]),HK=k.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"}]),GK=k.makeMessageType("streamlayer.users.UpdatePublicChatNameResponse",[]),qK=k.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"}]),WK=k.makeMessageType("streamlayer.users.UpdatePublicNameResponse",[]),QK=k.makeMessageType("streamlayer.users.UpdateMetadataResponse",[]),YK=k.makeMessageType("streamlayer.users.InviteRequest",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"referral",kind:"message",T:KK}]),KK=k.makeMessageType("streamlayer.users.InviteRequest.InviteReferral",()=>[{no:1,name:"watching_game",kind:"scalar",T:9}],{localName:"InviteRequest_InviteReferral"}),ZK=k.makeMessageType("streamlayer.users.InviteResponse",[]),XK=k.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},{no:4,name:"inviter_key",kind:"scalar",T:9,opt:!0}]),JK=k.makeMessageType("streamlayer.users.BypassAuthResponse",()=>[{no:1,name:"meta",kind:"message",T:eZ},{no:2,name:"data",kind:"message",T:by,opt:!0}]),eZ=k.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},{no:5,name:"inviter_key",kind:"scalar",T:9,opt:!0}],{localName:"BypassAuthResponse_AuthResponseMetadata"}),tZ=k.makeMessageType("streamlayer.users.GetFriendsRequest",()=>[{no:1,name:"last_created_at",kind:"scalar",T:9,opt:!0},{no:2,name:"limit",kind:"scalar",T:5,opt:!0}]),nZ=k.makeMessageType("streamlayer.users.GetFriendsResponse",()=>[{no:1,name:"data",kind:"message",T:rZ,repeated:!0},{no:2,name:"metadata",kind:"message",T:aZ}]),aZ=k.makeMessageType("streamlayer.users.GetFriendsResponse.ResponseMeta",()=>[{no:1,name:"last_created_at",kind:"scalar",T:9}],{localName:"GetFriendsResponse_ResponseMeta"}),rZ=k.makeMessageType("streamlayer.users.GetFriendsResponse.FriendData",()=>[{no:1,name:"name",kind:"scalar",T:9},{no:2,name:"tinode_id",kind:"scalar",T:9},{no:3,name:"sl_id",kind:"scalar",T:9}],{localName:"GetFriendsResponse_FriendData"}),ky={typeName:"streamlayer.users.Users",methods:{login:{name:"Login",I:LK,O:AK,kind:He.Unary},register:{name:"Register",I:PK,O:DK,kind:He.Unary},requestPassword:{name:"RequestPassword",I:UK,O:FK,kind:He.Unary},me:{name:"Me",I:VK,O:BK,kind:He.Unary},invite:{name:"Invite",I:YK,O:ZK,kind:He.Unary},bypassAuth:{name:"BypassAuth",I:XK,O:JK,kind:He.Unary},updateMetadata:{name:"UpdateMetadata",I:jK,O:QK,kind:He.Unary},updateAvatar:{name:"UpdateAvatar",I:$K,O:zK,kind:He.Unary},updatePublicChatName:{name:"UpdatePublicChatName",I:HK,O:GK,kind:He.Unary},updatePublicName:{name:"UpdatePublicName",I:qK,O:WK,kind:He.Unary},getFriends:{name:"GetFriends",I:tZ,O:nZ,kind:He.Unary}}};var qi;(function(n){n.SCHEMA="schema",n.EXTERNAL_TOKEN="eToken",n.TOKEN="token"})(qi||(qi={}));class oZ extends cH{constructor(){super("user");U(this,"setSchema",o=>{this.write(qi.SCHEMA,o)});U(this,"getSchema",()=>this.read(qi.SCHEMA));U(this,"setToken",o=>{this.write(qi.TOKEN,o)});U(this,"getToken",()=>this.read(qi.TOKEN));U(this,"setExternalToken",o=>{this.write(qi.EXTERNAL_TOKEN,o)});U(this,"getExternalToken",()=>this.read(qi.EXTERNAL_TOKEN));U(this,"removeToken",()=>{this.remove(qi.TOKEN)})}}var bS;(function(n){n.DISABLED="disabled",n.INITIALIZATION="initialization",n.READY="ready",n.FAILED="failed",n.SUSPENDED="suspended"})(bS||(bS={}));const Lo={typeName:"streamlayer.interactive.feed.Feed",methods:{get:{name:"Get",I:hD,O:gD,kind:He.Unary},subscription:{name:"Subscription",I:bM,O:kM,kind:He.ServerStreaming},votingSubscription:{name:"VotingSubscription",I:wM,O:CM,kind:He.ServerStreaming},questionSubscription:{name:"QuestionSubscription",I:IM,O:NM,kind:He.ServerStreaming},questionByUser:{name:"QuestionByUser",I:LM,O:AM,kind:He.Unary},syncQuestion:{name:"SyncQuestion",I:PM,O:DM,kind:He.Unary},getQuestion:{name:"GetQuestion",I:FM,O:VM,kind:He.Unary},questionDetail:{name:"QuestionDetail",I:jM,O:$M,kind:He.Unary},submitAnswer:{name:"SubmitAnswer",I:HM,O:qM,kind:He.Unary},submitInplay:{name:"SubmitInplay",I:QM,O:KM,kind:He.Unary},skipQuestion:{name:"SkipQuestion",I:ZM,O:JM,kind:He.Unary},pickHistory:{name:"PickHistory",I:tD,O:nD,kind:He.Unary},insightHistory:{name:"InsightHistory",I:oD,O:lD,kind:He.Unary},tweetHistory:{name:"TweetHistory",I:cD,O:dD,kind:He.Unary},promotionHistory:{name:"PromotionHistory",I:vD,O:TD,kind:He.Unary},list:{name:"List",I:SD,O:CD,kind:He.Unary},item:{name:"Item",I:_D,O:ID,kind:He.Unary},feedSubscription:{name:"FeedSubscription",I:ND,O:RD,kind:He.ServerStreaming}}},sZ=k.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"}]),lE=k.makeMessageType("streamlayer.interactive.leaderboard.LeaderboardData",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"enum",T:k.getEnumType(sZ)},{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:lE,repeated:!0},{no:6,name:"created_at",kind:"scalar",T:3}]),Sy=k.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}]),iZ=k.makeMessageType("streamlayer.interactive.leaderboard.LeaderboardSummaryItem",()=>[{no:1,name:"summary",kind:"message",T:Sy},{no:2,name:"percentage",kind:"message",T:lZ}]),lZ=k.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"}),uZ=k.makeMessageType("streamlayer.interactive.leaderboard.ListRequest",()=>[{no:1,name:"pagination",kind:"message",T:C6},{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}]),cZ=k.makeMessageType("streamlayer.interactive.leaderboard.ListResponse",()=>[{no:1,name:"data",kind:"message",T:dZ,repeated:!0},{no:2,name:"meta",kind:"message",T:mZ}]),dZ=k.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:Sy}],{localName:"ListResponse_ListResponseData"}),mZ=k.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"}),fZ=k.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}]),pZ=k.makeMessageType("streamlayer.interactive.leaderboard.SummaryResponse",()=>[{no:1,name:"data",kind:"message",T:hZ}]),hZ=k.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:iZ}],{localName:"SummaryResponse_SummaryResponseData"}),gZ=k.makeMessageType("streamlayer.interactive.leaderboard.EventLeaderboardsRequest",()=>[{no:1,name:"organization_id",kind:"scalar",T:9},{no:2,name:"event_id",kind:"scalar",T:9}]),yZ=k.makeMessageType("streamlayer.interactive.leaderboard.EventLeaderboardsResponse",()=>[{no:2,name:"data",kind:"message",T:vZ}]),vZ=k.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:lE}],{localName:"EventLeaderboardsResponse_EventLeaderboardsResponseData"}),TZ=k.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:C6},{no:4,name:"sort",kind:"message",T:hM}]),bZ=k.makeMessageType("streamlayer.interactive.leaderboard.EventLeaderboardResponse",()=>[{no:1,name:"data",kind:"message",T:kZ,repeated:!0},{no:2,name:"meta",kind:"message",T:SZ}]),kZ=k.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:Sy}],{localName:"EventLeaderboardResponse_ListResponseData"}),SZ=k.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"}),uE={typeName:"streamlayer.interactive.leaderboard.Leaderboard",methods:{list:{name:"List",I:uZ,O:cZ,kind:He.Unary},summary:{name:"Summary",I:fZ,O:pZ,kind:He.Unary},eventLeaderboards:{name:"EventLeaderboards",I:gZ,O:yZ,kind:He.Unary},eventLeaderboard:{name:"EventLeaderboard",I:TZ,O:bZ,kind:He.Unary}}};var kS;(function(n){n.SHOWED="showed"})(kS||(kS={}));var SS;(function(n){n.ALLOWED="allowed",n.DISALLOWED="disallowed"})(SS||(SS={}));var wS;(function(n){n.UNKNOWN="unknown",n.ALREADY_VOTED="already_voted"})(wS||(wS={}));var CS;(function(n){n.ONBOARDING="onboarding",n.ONBOARDING_IO="onboarding_io"})(CS||(CS={}));E0("deep_link");E0("bypass");new oZ;E0("video_player");fe.FACTOID+"",fe.POLL+"",fe.TRIVIA+"",fe.PREDICTION+"",fe.TWEET+"";const wZ=k.makeMessageType("streamlayer.shortLinks.GenerateRequest",()=>[{no:1,name:"web",kind:"scalar",T:9},{no:2,name:"mobile",kind:"scalar",T:9}]),CZ=k.makeMessageType("streamlayer.shortLinks.GenerateResponse",()=>[{no:1,name:"data",kind:"message",T:EZ}]),EZ=k.makeMessageType("streamlayer.shortLinks.GenerateResponse.GenerateResponseData",()=>[{no:1,name:"link",kind:"scalar",T:9}],{localName:"GenerateResponse_GenerateResponseData"}),_Z={typeName:"streamlayer.shortLinks.LinksClient",methods:{generate:{name:"Generate",I:wZ,O:CZ,kind:He.Unary}}};var ES;(function(n){n.Unset="unset",n.Required="required",n.Optional="optional",n.Completed="completed",n.Disabled="disabled",n.Unavailable="unavailable"})(ES||(ES={}));fe.POLL,fe.PREDICTION,fe.TRIVIA;const IZ={[yt.GAMES]:!0},cE=P("div")({name:"Navigation",class:"n6tbwuy",propsAsIs:!1}),NZ=()=>FC,_S=P(NZ())({name:"NavigationItems",class:"n1up4z7v",propsAsIs:!0}),RZ=()=>wt,OZ=P(RZ())({name:"ButtonIcon",class:"b11wpe79",propsAsIs:!0}),LZ=P("div")({name:"Container",class:"calnblm",propsAsIs:!1}),AZ=P("div")({name:"Title",class:"t1438p52",propsAsIs:!1}),xZ=P("div")({name:"CloseIconWrap",class:"c17srj38",propsAsIs:!1}),PZ=()=>wt,MZ=P(PZ())({name:"CloseIcon",class:"clqia8k",propsAsIs:!0}),DZ=()=>wt,UZ=P(DZ())({name:"DashboardIcon",class:"df5w958",propsAsIs:!0}),FZ="h12x6aiv";W.forwardRef(({sdk:n,className:a},o)=>{const l=()=>{n.closeFeature()};return w.jsxs(cE,{className:ku(a,FZ),children:[w.jsxs(LZ,{children:[w.jsxs(AZ,{children:[w.jsx(UZ,{name:"dashboard"}),"Dashboard"]}),w.jsx(xZ,{onClick:l,children:w.jsx(MZ,{name:"icon-cross"})})]}),w.jsx("div",{ref:o})]})});W.forwardRef(({sdk:n,className:a},o)=>{const l=Ut(n.sdkStore.organizationSettings),c=Ut(n.sdkStore.streamSettings),p=Ut(n.getActiveFeature()),f=W.useMemo(()=>{const b=(c==null?void 0:c.data)||(l==null?void 0:l.data);return b!=null&&b.overlays?b.overlays:[]},[l,c]),y=W.useMemo(()=>[...f.filter(({enableSdkButton:b,type:C})=>C===yt.GAMES||b).map(b=>({id:b.type,onClick:()=>n.openFeature(b.type),disabled:!(b.type in IZ),label:b.name,icon:w.jsx("img",{src:b.icon,alt:""}),position:b.position*10}))].sort((b,C)=>b.position-C.position),[f,n]);return w.jsxs(cE,{className:a,children:[y.length!==0&&w.jsx(_S,{children:[w.jsx(i0,{id:"Channels",onClick:()=>n.closeFeature(),label:"Channels",active:p===0},"Channels"),...y.map(b=>b.id===yt.GAMES?w.jsx(i0,{...b,active:b.id===p,label:"StreamLayer +",id:"featuredGroups",icon:w.jsx(OZ,{name:"icon-btn-feature-groups","data-selected":b.id===p})},b.id):w.jsx(i0,{...b,icon:void 0,active:b.id===p},b.id))]}),!y.length&&w.jsx(_S,{children:[w.jsx(i0,{id:"empty",label:"No Features...",active:!1,disabled:!0},"empty")]}),w.jsx("div",{ref:o})]})});const _9=k.makeEnum("streamlayer.analytics.v1.interactions.InteractionActionType",[{no:0,name:"INTERACTION_ACTION_TYPE_UNSET",localName:"UNSET"},{no:1,name:"INTERACTION_ACTION_TYPE_TAP",localName:"TAP"},{no:2,name:"INTERACTION_ACTION_TYPE_CALL",localName:"CALL"},{no:3,name:"INTERACTION_ACTION_TYPE_MESSAGE",localName:"MESSAGE"},{no:4,name:"INTERACTION_ACTION_TYPE_SCROLL",localName:"SCROLL"}]),Ys=k.makeEnum("streamlayer.analytics.v1.notifications.NotificationKind",[{no:0,name:"NOTIFICATION_KIND_UNSET",localName:"UNSET"},{no:1,name:"NOTIFICATION_KIND_MESSAGE",localName:"MESSAGE"},{no:2,name:"NOTIFICATION_KIND_CALL",localName:"CALL"},{no:3,name:"NOTIFICATION_KIND_TWITTER",localName:"TWITTER"},{no:4,name:"NOTIFICATION_KIND_WAVE",localName:"WAVE"},{no:5,name:"NOTIFICATION_KIND_INPLAY",localName:"INPLAY"},{no:6,name:"NOTIFICATION_KIND_GROUP_CALL",localName:"GROUP_CALL"},{no:7,name:"NOTIFICATION_KIND_MISSED_CALL",localName:"MISSED_CALL"},{no:8,name:"NOTIFICATION_KIND_MISSED_GROUP_CALL",localName:"MISSED_GROUP_CALL"},{no:9,name:"NOTIFICATION_KIND_WATCH_PARTY",localName:"WATCH_PARTY"},{no:10,name:"NOTIFICATION_KIND_POLLS",localName:"POLLS"}]),I9=k.makeEnum("streamlayer.analytics.v1.notifications.NotificationType",[{no:0,name:"NOTIFICATION_TYPE_UNSET",localName:"UNSET"},{no:1,name:"NOTIFICATION_TYPE_IN_APP",localName:"IN_APP"},{no:2,name:"NOTIFICATION_TYPE_PUSH",localName:"PUSH"}]),VZ=k.makeEnum("streamlayer.analytics.v1.permissions.PermissionType",[{no:0,name:"PERMISSION_TYPE_UNSET",localName:"UNSET"},{no:1,name:"PERMISSION_TYPE_ADDRESS_BOOK",localName:"ADDRESS_BOOK"},{no:2,name:"PERMISSION_TYPE_CALLING",localName:"CALLING"},{no:3,name:"PERMISSION_TYPE_CAMERA",localName:"CAMERA"}]),BZ=k.makeEnum("streamlayer.analytics.v1.waves.WaveCategory",[{no:0,name:"WAVE_CATEGORY_UNSET",localName:"UNSET"},{no:1,name:"WAVE_CATEGORY_WATCHING",localName:"WATCHING"},{no:2,name:"WAVE_CATEGORY_MESSAGING",localName:"MESSAGING"},{no:3,name:"WAVE_CATEGORY_VOICING",localName:"VOICING"}]),IS=k.makeMessageType("streamlayer.analytics.v2.streaming.SendResponse",()=>[{no:1,name:"result",kind:"enum",T:k.getEnumType(yP)}]),jZ=k.makeMessageType("streamlayer.analytics.v2.streaming.SendExtra",[]),vr=k.makeMessageType("streamlayer.analytics.v2.streaming.CommonData",()=>[{no:1,name:"event_id",kind:"scalar",T:4,opt:!0},{no:2,name:"category",kind:"enum",T:k.getEnumType(Fa),opt:!0},{no:3,name:"kind",kind:"enum",T:k.getEnumType(la),opt:!0},{no:4,name:"screen_orientation",kind:"enum",T:k.getEnumType(m9),opt:!0},{no:5,name:"session_id",kind:"scalar",T:9,opt:!0},{no:6,name:"overlay_session_id",kind:"scalar",T:9,opt:!0},{no:7,name:"topic_id",kind:"scalar",T:9,opt:!0},{no:8,name:"topic_type",kind:"enum",T:k.getEnumType(Wn),opt:!0},{no:9,name:"parent_topic_id",kind:"scalar",T:9,opt:!0},{no:10,name:"parent_topic_type",kind:"enum",T:k.getEnumType(Wn),opt:!0},{no:11,name:"participants_count",kind:"scalar",T:13,opt:!0},{no:12,name:"route_map",kind:"scalar",T:9,opt:!0},{no:13,name:"track_timestamp",kind:"scalar",T:4,opt:!0},{no:14,name:"topic_sub_type",kind:"enum",T:k.getEnumType(Qs),opt:!0},{no:15,name:"country",kind:"scalar",T:9,opt:!0}]),$Z=k.makeMessageType("streamlayer.analytics.v2.streaming.SendAuthenticationsMessage",()=>[{no:1,name:"common",kind:"message",T:vr}]),zZ=k.makeMessageType("streamlayer.analytics.v2.streaming.SendCallsMessage",()=>[{no:1,name:"common",kind:"message",T:vr}]),HZ=k.makeMessageType("streamlayer.analytics.v2.streaming.SendConversationsMessage",()=>[{no:1,name:"common",kind:"message",T:vr}]),GZ=k.makeMessageType("streamlayer.analytics.v2.streaming.SendInteractionsMessage",()=>[{no:1,name:"common",kind:"message",T:vr},{no:2,name:"action_type",kind:"enum",T:k.getEnumType(_9)}]),qZ=k.makeMessageType("streamlayer.analytics.v2.streaming.EventOpenedMessage",()=>[{no:1,name:"common",kind:"message",T:vr}]),WZ=k.makeMessageType("streamlayer.analytics.v2.streaming.SendInvitationsMessage",()=>[{no:1,name:"common",kind:"message",T:vr},{no:2,name:"category",kind:"enum",T:k.getEnumType(p9)},{no:3,name:"from",kind:"enum",T:k.getEnumType(d2)}]),QZ=k.makeMessageType("streamlayer.analytics.v2.streaming.LaunchButtonMessage",()=>[{no:1,name:"common",kind:"message",T:vr}]),YZ=k.makeMessageType("streamlayer.analytics.v2.streaming.NotificationMessage",()=>[{no:1,name:"common",kind:"message",T:vr},{no:2,name:"notification_kind",kind:"enum",T:k.getEnumType(Ys)},{no:3,name:"notification_type",kind:"enum",T:k.getEnumType(I9)}]),KZ=k.makeMessageType("streamlayer.analytics.v2.streaming.PermissionMessage",()=>[{no:1,name:"common",kind:"message",T:vr},{no:2,name:"permission",kind:"enum",T:k.getEnumType(VZ)}]),ZZ=k.makeMessageType("streamlayer.analytics.v2.streaming.ButtonInitializedMessage",()=>[{no:1,name:"common",kind:"message",T:vr}]),XZ=k.makeMessageType("streamlayer.analytics.v2.streaming.WavesMessage",()=>[{no:1,name:"common",kind:"message",T:vr},{no:2,name:"category",kind:"enum",T:k.getEnumType(BZ)}]),JZ=k.makeMessageType("streamlayer.analytics.v2.streaming.HeartbeatMessage",()=>[{no:1,name:"common",kind:"message",T:vr}]),eX=k.makeMessageType("streamlayer.analytics.v2.streaming.GamesMessage",()=>[{no:1,name:"common",kind:"message",T:vr},{no:2,name:"poll_opened_from",kind:"enum",T:k.getEnumType(zr)}]),tX=k.makeMessageType("streamlayer.analytics.v2.streaming.Login",()=>[{no:1,name:"common",kind:"message",T:vr},{no:2,name:"token",kind:"scalar",T:9}]),nX=k.makeMessageType("streamlayer.analytics.v2.streaming.Logout",()=>[{no:1,name:"common",kind:"message",T:vr}]),NS=k.makeMessageType("streamlayer.analytics.v2.streaming.SendRequest",()=>[{no:1,name:"auth",kind:"message",T:$Z,oneof:"message"},{no:2,name:"call",kind:"message",T:zZ,oneof:"message"},{no:3,name:"conversations",kind:"message",T:HZ,oneof:"message"},{no:4,name:"interactions",kind:"message",T:GZ,oneof:"message"},{no:5,name:"event_opened",kind:"message",T:qZ,oneof:"message"},{no:6,name:"invitation",kind:"message",T:WZ,oneof:"message"},{no:7,name:"launch_button",kind:"message",T:QZ,oneof:"message"},{no:8,name:"notification",kind:"message",T:YZ,oneof:"message"},{no:9,name:"permission",kind:"message",T:KZ,oneof:"message"},{no:10,name:"button_init",kind:"message",T:ZZ,oneof:"message"},{no:11,name:"waves",kind:"message",T:XZ,oneof:"message"},{no:12,name:"heartbeat",kind:"message",T:JZ,oneof:"message"},{no:13,name:"games",kind:"message",T:eX,oneof:"message"},{no:14,name:"login",kind:"message",T:tX,oneof:"message"},{no:15,name:"logout",kind:"message",T:nX,oneof:"message"},{no:100,name:"extra",kind:"message",T:jZ}]),dE={typeName:"streamlayer.analytics.v2.streaming.AnalyticsService",methods:{send:{name:"Send",I:NS,O:IS,kind:He.ClientStreaming},unary:{name:"Unary",I:NS,O:IS,kind:He.Unary}}};function aX(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var mE={exports:{}},Vn=mE.exports={},Ks,Zs;function N9(){throw new Error("setTimeout has not been defined")}function R9(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?Ks=setTimeout:Ks=N9}catch{Ks=N9}try{typeof clearTimeout=="function"?Zs=clearTimeout:Zs=R9}catch{Zs=R9}})();function fE(n){if(Ks===setTimeout)return setTimeout(n,0);if((Ks===N9||!Ks)&&setTimeout)return Ks=setTimeout,setTimeout(n,0);try{return Ks(n,0)}catch{try{return Ks.call(null,n,0)}catch{return Ks.call(this,n,0)}}}function rX(n){if(Zs===clearTimeout)return clearTimeout(n);if((Zs===R9||!Zs)&&clearTimeout)return Zs=clearTimeout,clearTimeout(n);try{return Zs(n)}catch{try{return Zs.call(null,n)}catch{return Zs.call(this,n)}}}var al=[],h0=!1,Yc,Yh=-1;function oX(){!h0||!Yc||(h0=!1,Yc.length?al=Yc.concat(al):Yh=-1,al.length&&pE())}function pE(){if(!h0){var n=fE(oX);h0=!0;for(var a=al.length;a;){for(Yc=al,al=[];++Yh<a;)Yc&&Yc[Yh].run();Yh=-1,a=al.length}Yc=null,h0=!1,rX(n)}}Vn.nextTick=function(n){var a=new Array(arguments.length-1);if(arguments.length>1)for(var o=1;o<arguments.length;o++)a[o-1]=arguments[o];al.push(new hE(n,a)),al.length===1&&!h0&&fE(pE)};function hE(n,a){this.fun=n,this.array=a}hE.prototype.run=function(){this.fun.apply(null,this.array)};Vn.title="browser";Vn.browser=!0;Vn.env={};Vn.argv=[];Vn.version="";Vn.versions={};function il(){}Vn.on=il;Vn.addListener=il;Vn.once=il;Vn.off=il;Vn.removeListener=il;Vn.removeAllListeners=il;Vn.emit=il;Vn.prependListener=il;Vn.prependOnceListener=il;Vn.listeners=function(n){return[]};Vn.binding=function(n){throw new Error("process.binding is not supported")};Vn.cwd=function(){return"/"};Vn.chdir=function(n){throw new Error("process.chdir is not supported")};Vn.umask=function(){return 0};var sX=mE.exports;const St=aX(sX),iX=Tw({level:"trace",enabled:typeof window<"u"&&!!window.localStorage.getItem("SL_DEBUG"),browser:{write:n=>{console.log(n)}}}),ti=(n,a)=>iX.child({name:n},a);class lX extends Event{constructor(o,l){super(o);U(this,"slEventBus");this.slEventBus=l}}const uX=ti("event-bus");class cX{constructor(a="sl-event-bus"){U(this,"name");U(this,"listeners");U(this,"emit",(a,o)=>{const l=new lX(this.name,{...o,type:a});uX.debug(l,"Emitting event"),window.dispatchEvent(l)});U(this,"destroy",()=>{this.listeners.forEach(a=>{window.removeEventListener(this.name,a),this.listeners.delete(a)}),this.listeners.clear()});this.name=a,this.listeners=new Set}listen(a){return window.addEventListener(this.name,a),this.listeners.add(a),()=>{this.off(a)}}off(a){window.removeEventListener(this.name,a),this.listeners.delete(a)}}class dX{}window.slStore=Object.create(null);class A6{constructor(a,o){U(this,"store");U(this,"name");this.store=a,this.name=o}getStore(){return this.store}}const mX=n=>{const a=Object.keys(n);return SU(a.map(o=>n[o].getStore()),(...o)=>Object.fromEntries(a.map((l,c)=>[l,o[c]])))};class Xc extends A6{constructor(){super(...arguments);U(this,"getValues",()=>this.getStore().get());U(this,"getValue",o=>this.getStore().get()[o]);U(this,"setValue",(o,l)=>this.getStore().setKey(o,l));U(this,"subscribe",(...o)=>this.getStore().subscribe(...o));U(this,"unsubscribe",()=>this.getStore().off())}}const co=n=>h9(n);var Ki;(function(n){n.ORGANIZATION="ORGANIZATION",n.STREAM="STREAM"})(Ki||(Ki={}));const fX={[yt.BETTING]:"betting",[yt.GAMES]:"games",[yt.PUBLIC_CHAT]:"publicChat",[yt.TWITTER]:"twitter"};var s2;(function(n){n.Ready="ready",n.Suspended="suspended"})(s2||(s2={}));class gE{constructor({settings:a,...o},l){U(this,"status");U(this,"source");U(this,"config");U(this,"settings");U(this,"listeners",new Set);U(this,"settingsKey");U(this,"enable",()=>{this.status.set(s2.Ready)});U(this,"disable",()=>{this.status.set(s2.Suspended)});U(this,"setFeatureConfig",({settings:a,...o})=>{var c;let l;for(l in o)this.config.setValue(l,o[l]);if(((c=a==null?void 0:a.overlaySettings)==null?void 0:c.case)!==void 0&&(a==null?void 0:a.overlaySettings.case)===this.settingsKey){const p=a.overlaySettings.value;if(p!==void 0){let f;for(f in p)p[f]!==0&&p[f]!==""&&this.settings.setValue(f,p[f])}}});U(this,"update",(a,o)=>{this.source===Ki.STREAM&&o===Ki.ORGANIZATION||(this.setFeatureConfig(a),this.source=o)});this.settingsKey=fX[o.type],this.status=Cu(s2.Suspended),this.config=new Xc(co(o),`feature:config:${this.settingsKey}`),this.settingsKey!==void 0&&(a==null?void 0:a.overlaySettings.case)===this.settingsKey?this.settings=new Xc(co(a.overlaySettings.value),`feature:settings:${this.settingsKey}`):this.settings=new Xc(co({}),`feature:settings:${this.settingsKey}`),this.source=l}get featureConfig(){return this.config.getStore()}get featureSettings(){return this.settings.getStore()}registerEventListener(a){this.listeners.add(a)}fireEvent(a){for(const o of this.listeners.values())try{o.onEvent(a)}catch(l){console.error(l)}}}class Oo extends A6{constructor(){super(...arguments);U(this,"getValue",()=>this.getStore().get());U(this,"setValue",o=>this.getStore().set(o));U(this,"subscribe",o=>this.getStore().subscribe(o));U(this,"unsubscribe",()=>this.getStore().off())}getValues(){throw new Error("not implemented")}listen(o){return this.getStore().listen(o)}get(){return this.getStore().get()}}const da=n=>Cu(n);class ei extends A6{constructor(o,l,c){super(o,`api:${l}`);U(this,"atomStore");U(this,"getAtomStore",()=>this.atomStore);U(this,"getValue",async()=>{const o=this.getStore();if(o.value===void 0)throw new Error("no store");return await o.value.promise,o.get().data});U(this,"getValues",()=>this.getStore().get());U(this,"setValue",o=>this.getStore().set({loading:!1,data:o==null?void 0:o.data}));U(this,"subscribe",o=>this.getStore().subscribe(o));U(this,"unsubscribe",()=>{throw new Error("not implemented")});U(this,"invalidate",()=>{this.store.invalidate()});U(this,"listen",o=>this.getStore().listen(o));U(this,"key",()=>this.getStore().key);U(this,"off",()=>this.getStore().off());this.atomStore=Cu(),c&&o.subscribe(p=>{const f=this.atomStore.get(),y=c(p,f);f!==y&&this.atomStore.set(y)})}get(){throw new Error("not implemented")}}const ua=new cX;async function*pX(n,a){for await(const o of a){n.response.message=o,n.received_at=Date.now(),n.id=yE++;const l={type:"__GRPC_DEVTOOLS_EXTENSION__",data:n};window.postMessage(l),yield o}}let yE=0;const hX=()=>n=>async a=>{const o={id:yE++,name:a.url,stream:a.stream,sent_at:Date.now(),request:{header:Object.fromEntries(a.header.entries()),message:a.message},response:{}};window.postMessage({type:"__GRPC_DEVTOOLS_EXTENSION__",data:o});try{const l=await n(a);if(o.received_at=Date.now(),o.response.header=Object.fromEntries(l.header.entries()),o.response.trailer=Object.fromEntries(l.trailer.entries()),a.stream){const c={type:"__GRPC_DEVTOOLS_EXTENSION__",data:{...o,stream:!1}};return window.postMessage(c),{...l,message:pX(o,l.message)}}else{o.response.message=l.message,o.latency=o.received_at-o.sent_at;const c={type:"__GRPC_DEVTOOLS_EXTENSION__",data:o};window.postMessage(c)}return l}catch(l){o.received_at=Date.now(),o.response.trailer={"grpc-status":l.code,"grpc-message":l.rawMessage},o.response.message=l.rawMessage,o.latency=o.received_at-o.sent_at;const c={type:"__GRPC_DEVTOOLS_EXTENSION__",data:o};throw window.postMessage(c),l}};window.dispatchEvent(new CustomEvent("grpc_devtools_loaded"));function vE(n){return n instanceof DOMException&&(n.code===22||n.code===1014||n.name==="QuotaExceededError"||n.name==="NS_ERROR_DOM_QUOTA_REACHED")}class R0{constructor(a="main",o=window.localStorage){U(this,"delimiter",":");U(this,"prefix");U(this,"storage");U(this,"clear",()=>{for(const a in window.localStorage)a.startsWith(this.prefix)&&this.storage.removeItem(a)});U(this,"generateKey",a=>`${this.prefix}${this.delimiter}${a.join(this.delimiter)}`);U(this,"write",(...a)=>{const o=a.pop()||"",l=this.generateKey(a);try{this.storage.setItem(l,o)}catch(c){vE(c)&&this.storage===window.sessionStorage&&(window.sessionStorage.removeItem("slstreamlogs"),this.storage.setItem(l,o))}});U(this,"read",(...a)=>{const o=this.storage.getItem(this.generateKey(a));return o===null?void 0:o});U(this,"remove",(...a)=>{this.storage.removeItem(this.generateKey(a))});this.prefix=`sl-sdk${this.delimiter}${a}`,this.storage=o}}var us;(function(n){n.Init="init",n.Ready="ready",n.Connecting="connecting",n.Connected="connected",n.Disconnected="disconnected",n.Failed="failed",n.Reconnect="reconnect",n.Reconnecting="reconnecting"})(us||(us={}));const RS=ti("grpc:stream");class gX{constructor(a,o,l,c){U(this,"params");U(this,"streamCancel");U(this,"method");U(this,"options");U(this,"headers");U(this,"listeners");U(this,"state");U(this,"store");U(this,"paramsListener");U(this,"reconnectTimeout");U(this,"attempt",0);U(this,"updateState",a=>{this.state.setValue("status",a),this.state.setValue("ts",new Date),this.addStateLog(`status => ${a}`)});U(this,"addStateLog",a=>{const o=this.state.getStore().get().log,l=`${this.options.name} ${new Date().toISOString()}: ${a}`;if(o.push(l),this.state.setValue("log",o),localStorage.getItem("SL_DEBUG")){a.startsWith("received data")?RS.trace({name:this.options.name,attempt:this.attempt},"received data"):RS.trace({name:this.options.name,attempt:this.attempt},a);try{window.sessionStorage.setItem("slstreamlogs",window.sessionStorage.getItem("slstreamlogs")+`
206
+ `+l)}catch(c){vE(c)&&window.sessionStorage.removeItem("slstreamlogs"),window.sessionStorage.setItem("slstreamlogs",l)}}});U(this,"addListener",(a,o)=>this.listeners.has(a)?(this.addStateLog(`listener '${a}' not added, already exists`),()=>{}):(this.listeners.set(a,o),this.addStateLog(`listener '${a}' added`),()=>this.removeListener(a)));U(this,"removeListener",a=>{this.listeners.delete(a),this.addStateLog(`listener '${a}' removed`)});U(this,"connect",()=>{this.updateState(us.Connecting),this.streamCancel&&(this.addStateLog("disconnect prev connection"),this.streamCancel.abort(),this.streamCancel=void 0);const a="get"in this.params&&typeof this.params.get=="function"?this.params.get():this.params;(async()=>{this.streamCancel=new AbortController;try{const o={headers:this.headers.getValues(),signal:this.streamCancel.signal},l=this.method(a,o);for await(const c of l)this.attempt=0,this.onData(c)}catch(o){o instanceof zt&&o.code!=at.Canceled&&this.onStreamError(o)}})(),this.updateState(us.Connected)});U(this,"disconnect",()=>{var a;this.streamCancel&&this.streamCancel.abort(),this.listeners.clear(),(a=this.paramsListener)==null||a.call(this),clearTimeout(this.reconnectTimeout),this.reconnectTimeout=void 0,this.updateState(us.Disconnected)});U(this,"reconnect",()=>{if(this.reconnectTimeout)this.addStateLog("already reconnecting");else if(this.attempt<this.options.reconnectMaxAttempts){this.updateState(us.Reconnect);const a=Math.min(this.options.reconnectMaxDelay,Math.pow(2,this.attempt)*this.options.reconnectDelay),o=Math.round(a*(1+Math.random())/2);this.reconnectTimeout=setTimeout(()=>{this.attempt++,this.updateState(us.Reconnecting),this.addStateLog(`reconnect attempt ${this.attempt} after ${o}ms`),this.connect(),this.reconnectTimeout=void 0},o)}else this.addStateLog("max reconnect attempts reached"),this.disconnect()});U(this,"getStore",()=>{var a;return(a=this.store)==null?void 0:a.getStore()});U(this,"onData",a=>{try{this.addStateLog(`received data => ${JSON.stringify(a)}`),this.store&&this.store.setValue(a);for(const[,o]of this.listeners)o(a);this.addStateLog(`data routed to ${this.listeners.size} listeners`)}catch(o){this.addStateLog(`error process data => ${o}`)}});U(this,"onStreamError",a=>{if(this.addStateLog(`error => ${a?JSON.stringify(a):"undefined"}}`),a!==void 0){if(a instanceof zt&&a.code!==at.Canceled){this.updateState(us.Failed),this.state.setValue("error",a),a.code===at.Unknown&&a.cause==="missing trailer"&&(this.attempt=0),this.reconnect();return}this.disconnect()}});const p={status:us.Init,ts:new Date,log:[]};this.state=new Xc(co(p),`subscription:${c.name}:state`),this.options={...c,reconnectDelay:c.reconnectDelay??1e3,reconnectMaxDelay:c.reconnectMaxDelay??3e4,reconnectMaxAttempts:c.reconnectMaxAttempts??10,withStore:c.withStore??!1},this.headers=a,this.listeners=new Map,this.params=l,this.method=o,c.withStore&&(this.store=new Oo(da(null),`subscription:${c.name}:store`)),"subscribe"in l&&typeof l.subscribe=="function"&&(this.paramsListener=l.subscribe(f=>{this.state.getValue("status")===us.Connected&&(this.addStateLog(`params updated, reconnect => ${JSON.stringify(f)}`),this.reconnect())})),this.updateState(us.Ready)}}const yX=new Set([at.Unknown,at.Internal,at.DeadlineExceeded,at.ResourceExhausted,at.FailedPrecondition,at.Unavailable,at.DataLoss]),OS=ti("grpc:retry"),vX=n=>async a=>{const o=a.contextValues.get(O9.retryAttempts),l=300,c=a.contextValues.get(O9.retryDelay);if(a.stream||o===0)return n(a);OS.trace({url:a.url,attempts:o,maxDelay:c},"retry options");for(let p=0;;p++)try{return await n(a)}catch(f){OS.trace({attempt:p,error:f},"retry attempt");const y=zt.from(f);if(p>=o||!(y instanceof zt)||!yX.has(y.code))throw f;const b=Math.min(c,Math.pow(2,p)*l),C=Math.round(b*(1+Math.random())/2);await new Promise(_=>setTimeout(_,C))}},O9={retryAttempts:d6(10,{description:"Number of attempts to retry"}),retryDelay:d6(3e4,{description:"Max delay between retries in milliseconds"})},TX=()=>{const n=localStorage.getItem("sl-device-id");if(n)return n;const a=C9();return localStorage.setItem("sl-device-id",a),a},bX=()=>{var n;return((n=navigator.userAgentData)==null?void 0:n.platform)||navigator.platform};class LS{constructor(a,o){U(this,"toJsonOptions",{emitDefaultValues:!1,enumAsInteger:!0,useProtoFieldName:!1});U(this,"transport");U(this,"streamTransport");U(this,"nanoquery");U(this,"host");U(this,"$headers");U(this,"interceptors",[]);U(this,"clients");U(this,"streamClients");U(this,"subscriptions");U(this,"opts");U(this,"addSubscription",(a,o,l)=>{const c=this.subscriptions.get(o);if(c)return c;const p=new gX(this.$headers,a,o,l);return this.subscriptions.set(o,p),p});U(this,"removeSubscription",a=>{a.disconnect(),this.subscriptions.delete(a.params)});U(this,"disconnect",()=>{var c,p;for(const[f,y]of this.subscriptions)y.disconnect(),this.subscriptions.delete(f);this.clients.clear(),this.streamClients.clear(),this.subscriptions.clear();const[a,o,l]=Yk({dedupeTime:(c=this.opts)==null?void 0:c.dedupeTime,refetchInterval:(p=this.opts)==null?void 0:p.refetchInterval});this.nanoquery={createFetcherStore:a,createMutatorStore:o,utils:l}});U(this,"registerInterceptor",a=>{this.interceptors.push(a)});U(this,"removeInterceptor",a=>{this.interceptors=this.interceptors.filter(o=>o!==a)});U(this,"getClient",a=>{const o=a.typeName;if(this.clients.has(o))return this.clients.get(o);const l=Vk(a,this.transport);return this.clients.set(o,l),l});U(this,"getStreamClient",a=>{const o=`stream-${a.typeName}`;if(this.clients.has(o))return this.clients.get(o);const l=Vk(a,this.streamTransport);return this.clients.set(o,l),l});U(this,"createPromiseClient",(a,{params:o=[],method:l})=>{const c=this.getClient(a),p=a.methods[l].name,f=[a.typeName,p.charAt(0).toLowerCase()+p.slice(1),...Array.isArray(o)?o:[o]],y=[a.typeName,p.charAt(0).toLowerCase()+p.slice(1)];return{client:c,createRequestOptions:b=>{const C=E9();for(const _ in b){const N=O9[_];C.set(N,b[_])}return C},queryKey:f,queryKeyStr:y.join("")}});U(this,"createStreamClient",a=>({client:this.getStreamClient(a)}));U(this,"setSdkKey",a=>{this.$headers.setValue("sdk",a)});U(this,"setAuth",(a,o)=>{this.$headers.setValue("authorization",a),this.$headers.setValue("sl-user-id",o)});U(this,"setHeader",(a,o)=>this.$headers.setValue(a,o));U(this,"getHeader",a=>this.$headers.getValue(a));U(this,"getHeaders",()=>this.$headers.getValues());U(this,"initInterceptors",()=>{var o;if(this.interceptors.length!==0)return;const a=l=>c=>{const p=this.$headers.getValues();for(const f in p)c.header.set(f,p[f]);return l(c)};this.interceptors.push(a),this.interceptors.push(hX()),(o=this.opts)!=null&&o.retryable&&this.interceptors.push(vX)});this.host=a,this.opts=o,this.$headers=new Xc(co({"sl-device-id":TX(),"sl-device-os":bX()}),"transport:headers"),this.initInterceptors(),this.clients=new Map,this.streamClients=new Map,this.subscriptions=new Map;const[l,c,p]=Yk({dedupeTime:o==null?void 0:o.dedupeTime,refetchInterval:o==null?void 0:o.refetchInterval});this.nanoquery={createFetcherStore:l,createMutatorStore:c,utils:p},this.transport=Qk({baseUrl:a,defaultTimeoutMs:1e4,interceptors:this.interceptors}),this.streamTransport=Qk({baseUrl:a,interceptors:this.interceptors})}}const kX=(n,a)=>{const{client:o,queryKey:l}=a.createPromiseClient(sE,{method:"retrieveEventId",params:[n]});return a.nanoquery.createFetcherStore(l,{fetcher:async(c,p,f)=>{var y;if(!f||typeof f!="string")return"";try{return((y=(await o.retrieveEventId({id:f})).data)==null?void 0:y.id)||""}catch{return""}}})},SX=(n,a)=>{const{client:o,queryKey:l}=a.createPromiseClient(h2,{method:"getStream",params:[n]});return a.nanoquery.createFetcherStore(l,{fetcher:async(c,p,f)=>{var y;return f?(y=(await o.getStream({id:f})).data)==null?void 0:y.attributes:void 0}})},wX=(n,a)=>{const{client:o,queryKey:l}=a.createPromiseClient(sE,{method:"summary",params:[n]});return a.nanoquery.createFetcherStore(l,{fetcher:async(c,p,f)=>{var y;return f?(y=(await o.summary({id:f})).data)==null?void 0:y.attributes:void 0}})},CX=(n,a)=>{const{queryKey:o,client:l}=a.createPromiseClient(ky,{method:"me",params:[n]});return a.nanoquery.createFetcherStore(o,{fetcher:async()=>{const{data:c}=await l.me({});return{data:c}}})},EX=n=>{const{client:a,createRequestOptions:o}=n.createPromiseClient(ky,{method:"bypassAuth"}),l=o({retryAttempts:0});return({userKey:c,schema:p,init:f,inviterKey:y})=>a.bypassAuth({userKey:c,schema:p,init:f,inviterKey:y},{contextValues:l})},_X=(n,a)=>{const{client:o,queryKey:l}=a.createPromiseClient(h2,{method:"get",params:[n]});return a.nanoquery.createFetcherStore(l,{fetcher:async()=>{var c;return(c=(await o.get({})).data)==null?void 0:c.attributes}})},IX=(n,a)=>{const{client:o,queryKey:l}=a.createPromiseClient(h2,{method:"getOrganization",params:[n]});return a.nanoquery.createFetcherStore(l,{fetcher:async()=>{const c=await o.getOrganization({});return c.data?{...c.data.attributes,id:c.data.id}:void 0}})},NX=(n,a)=>{const{client:o,queryKey:l}=a.createPromiseClient(h2,{method:"getOrganizationAdvertising",params:[n]});return a.nanoquery.createFetcherStore(l,{fetcher:async()=>{var c;return(c=(await o.getOrganizationAdvertising({})).data)==null?void 0:c.attributes}})},RX=(n,a,o)=>{n.transport=new LS(a.host,{dedupeTime:1e3*60*5,refetchInterval:1e3*60*5,retryable:!0}),n.analyticsTransport=new LS(a.analyticsHost),n.sdk.host=n.transport.host,n.transport.setSdkKey(a.sdkKey),n.transport.setHeader("sl-sdk-version",a.version||"-"),n.transport.$headers.subscribe(l=>{n.analyticsTransport.$headers.getStore().set(l)}),n.sdk.onMount({name:"transport"},()=>()=>{n.transport.disconnect(),n.analyticsTransport.disconnect()}),o()};var Wi;(function(n){n.SCHEMA="schema",n.EXTERNAL_TOKEN="eToken",n.TOKEN="token"})(Wi||(Wi={}));class l0 extends R0{constructor(){super("user");U(this,"setSchema",o=>{this.write(Wi.SCHEMA,o)});U(this,"getSchema",()=>this.read(Wi.SCHEMA));U(this,"setToken",o=>{this.write(Wi.TOKEN,o)});U(this,"getToken",()=>this.read(Wi.TOKEN));U(this,"setExternalToken",o=>{this.write(Wi.EXTERNAL_TOKEN,o)});U(this,"getExternalToken",()=>this.read(Wi.EXTERNAL_TOKEN));U(this,"removeToken",()=>{this.remove(Wi.TOKEN)})}}var Zi;(function(n){n.DISABLED="disabled",n.INITIALIZATION="initialization",n.READY="ready",n.FAILED="failed",n.SUSPENDED="suspended"})(Zi||(Zi={}));const OX=n=>{const a=new l0,o=new Oo(da(a.getExternalToken()),"userKey"),l=new Oo(da(a.getToken()),"userToken"),c=new ei(CX(l.getStore(),n),"user",({data:f,error:y,loading:b},C)=>{var _;if(!y)return(_=f==null?void 0:f.data)!=null&&_.id?f.data.id:b===!1?void 0:C}),p=new ei(_X(l.getStore(),n),"userSettings");return{userKey:o,userToken:l,user:c,userSettings:p}},LX=n=>{const a=new Oo(da(void 0),"providerStreamId"),o=new ei(kX(a.getStore(),n),"slStreamId",p=>p==null?void 0:p.data),l=new ei(SX(o.getAtomStore(),n),"streamSettings"),c=new ei(wX(o.getAtomStore(),n),"streamSettings");return o.getAtomStore().listen(p=>{(p===""||p===void 0)&&(l.getStore().mutate(void 0),c.getStore().mutate(void 0))}),{providerStreamId:a,slStreamId:o,streamSettings:l,streamSummary:c}},AX=n=>{const a=new Oo(da(void 0),"enabled"),o=new Oo(da(Zi.DISABLED),"status"),l=new ei(IX(a.getStore(),n),"organizationSettings",y=>{var b;return(b=y==null?void 0:y.data)==null?void 0:b.id}),c=new ei(NX(l.getAtomStore(),n),"organizationAdvertising"),p=OX(n),f=LX(n);return{enabled:a,status:o,providerStreamId:f.providerStreamId,slStreamId:f.slStreamId,streamSettings:f.streamSettings,streamSummary:f.streamSummary,user:p.user,userKey:p.userKey,userToken:p.userToken,userSettings:p.userSettings,organizationSettings:l,organizationAdvertising:c}};class xX extends A6{constructor(o){const l=AX(o),c=mX(l);super(c,"core");U(this,"stores");U(this,"subscribe",o=>{let l;for(l in this.stores){const c=o[l];l in o&&c!==void 0&&this.stores[l].subscribe(o[l])}});U(this,"unsubscribe",()=>this.getStore().off());this.stores=l}getValue(){throw new Error("Not implemented")}getValues(){return this.stores}setValue(){throw new Error("Not implemented")}}const PX=(n,a,o)=>{n.store=new xX(n.transport),n.stores=n.store.getValues(),n.sdk.enabled=n.stores.enabled.getStore(),n.sdk.status=n.stores.status.getStore(),n.sdk.sdkStore=Object.fromEntries(Object.entries(n.stores).map(([l,c])=>[l,c.getStore()])),n.sdk.organizationStore=()=>n.stores.organizationSettings.getStore(),n.sdk.streamStore=()=>n.stores.streamSettings.getStore(),n.sdk.streamSummary=()=>n.stores.streamSummary.getStore(),n.storeUnsubscribe=()=>{n.store.unsubscribe()},o()},MX=n=>{const{client:a}=n.createPromiseClient(uE,{method:"list"});return o=>a.list(o)},TE=n=>{const{client:a}=n.createPromiseClient(uE,{method:"summary"});return o=>a.summary(o)},DX=(n,a)=>{const{client:o,queryKey:l}=a.createPromiseClient(ky,{method:"getFriends",params:[n]});return a.nanoquery.createFetcherStore(l,{fetcher:async(c,p,f)=>{if(!f)return[];try{return(await o.getFriends({})).data}catch{return[]}}})},UX=(n,a)=>{const{client:o,queryKey:l}=a.createPromiseClient(Lo,{method:"get",params:[n]});return a.nanoquery.createFetcherStore(l,{fetcher:async(c,p,f)=>{var y;return(y=(await o.get({eventId:f})).data)==null?void 0:y.attributes},refetchInterval:0,dedupeTime:1e3*60*60})},FX=(n,a)=>{const{client:o,queryKey:l}=a.createPromiseClient(Lo,{method:"syncQuestion",params:[n]});return a.nanoquery.createFetcherStore(l,{fetcher:async(c,p,f)=>{var b,C,_,N;if(!f)return;const y=await o.syncQuestion({filter:{eventId:f}});if(((_=(C=(b=y.data)==null?void 0:b.attributes)==null?void 0:C.question)==null?void 0:_.type)!==fe.PROMOTION)return(N=y.data)==null?void 0:N.attributes},dedupeTime:1e3*60*10,refetchInterval:0})},VX=async(n,a)=>{const{client:o}=a.createPromiseClient(Lo,{method:"item",params:[n]});return(await o.item({id:n})).data},BX=(n,a)=>{const{client:o}=a.createStreamClient(Lo),l=Cu({eventId:n.get()||"",feedId:""});return n.subscribe((c="")=>{l.set({eventId:c,feedId:""})}),a.addSubscription(o.subscription,l,{name:"feedSubscription"})},jX=(n,a)=>{const{client:o}=a.createStreamClient(Lo);return a.addSubscription(o.questionSubscription,{questionId:n},{name:"questionSubscription"})},$X=async(n,a)=>{var l,c;const{client:o}=a.createPromiseClient(Lo,{method:"questionByUser",params:[n]});return(c=(l=(await o.questionByUser({questionId:n})).data)==null?void 0:l.attributes)==null?void 0:c.question},L9=(n,a)=>{const{client:o,queryKey:l}=a.createPromiseClient(Lo,{method:"questionByUser",params:[n]});return a.nanoquery.createFetcherStore(l,{fetcher:async(c,p,f)=>{var y,b;return(b=(y=(await o.questionByUser({questionId:f})).data)==null?void 0:y.attributes)==null?void 0:b.question},dedupeTime:1e3*60*5})},bE=async(n,a)=>{var b;if(!n)return;const{client:o}=a.createPromiseClient(Lo,{method:"getQuestion",params:[n]}),l=await o.getQuestion({id:n});if(!((b=l.data)!=null&&b.attributes))return;const{options:c,notification:p,...f}=l.data.attributes,y=(c==null?void 0:c.options.case)==="promotion"?c==null?void 0:c.options.value:void 0;return{id:f.id,question:f,promotion:y,notification:p}},zX=(n,a,o)=>{const{client:l,queryKey:c}=o.createPromiseClient(Lo,{method:"list",params:[n,a]});return o.nanoquery.createFetcherStore(c,{fetcher:async(p,f,y,b)=>y?(await l.list({eventId:y,filter:{types:b===Jc.ALLOWED?[]:[fe.FACTOID,fe.PROMOTION,fe.TWEET],statuses:[yn.ACTIVE,yn.RESOLVED]}})).data:[],dedupeTime:0,refetchInterval:0})},HX=(n,a)=>{const{client:o,queryKey:l}=a.createPromiseClient(Lo,{method:"list",params:[n]});return a.nanoquery.createFetcherStore(l,{fetcher:async(c,p,f)=>{var b;if(!f)return;const y=(b=(await o.list({eventId:f,filter:{types:[fe.PROMOTION],statuses:[yn.ACTIVE]},pagination:{page:0,pageSize:1}})).data)==null?void 0:b[0];if(y.type==="promotion")return bE(y.id,a)},dedupeTime:0,refetchInterval:0})},GX=(n,a,o)=>{const l=$b([a,o],()=>{var C,_;const f=a.get();if(!f)return;const y=(C=o.get().data)==null?void 0:C.find(N=>N.id===(f==null?void 0:f.questionId)),b=(_=f==null?void 0:f.question)==null?void 0:_.openedFrom;return y?(y.openedFrom=b,y):f.question}),c=$b(l,f=>f&&f.type==="question"?f.id:void 0),p=L9(c,n);return{$store:l,$extendedStore:p,updateExtendedQuestion:f=>{const y=p.get().data,b=(C,_)=>{if(!C||!_)return C||_||[];const N=[];for(let O=0;O<C.length;O++)N.push({...C[O],..._[O],correct:C[O].correct,youVoted:C[O].youVoted,pointsEarned:C[O].pointsEarned});return N};p.mutate({...f,options:y==null?void 0:y.options,subject:y==null?void 0:y.subject,appearance:y==null?void 0:y.appearance,answers:b(y==null?void 0:y.answers,f==null?void 0:f.answers)})}}};var m6;(function(n){n.SHOWED="showed"})(m6||(m6={}));class qX extends R0{constructor(){super("advertisement");U(this,"setShowed",o=>{this.write(m6.SHOWED,o,"true")});U(this,"isViewed",o=>this.read(m6.SHOWED,o))}}const WX=n=>{var f,y,b,C,_;const a=(y=(f=n.data)==null?void 0:f.attributes)==null?void 0:y.question;if((((_=(C=(b=n.data)==null?void 0:b.attributes)==null?void 0:C.feedItem)==null?void 0:_.type)==="promotion"?n.data.attributes.feedItem:void 0)===void 0||!a)return;const{options:o,notification:l,...c}=a,p=(o==null?void 0:o.options.case)==="promotion"?o.options.value:void 0;return{id:c.id,question:c,notification:l,promotion:p}},Uh=n=>n.startsWith("http://")||n.startsWith("https://")?new URL(n).toString():n,QX=({gamOptions:n,gamBaseUrl:a})=>{const o=`${a}?`,l=[];for(const c in n){const p=c.replace(/([a-zA-Z])(?=[A-Z])/g,"$1_").toLowerCase(),f=n[c];if(f)if(typeof f=="string")l.push(`${p}=${Uh(f)}`);else if(Array.isArray(f))l.push(`${p}=${f.map(Uh).join(",")}`);else{const y=Object.entries(f).map(([b,C])=>Array.isArray(C)?`${b}=${C.map(Uh).join(",")}`:typeof C=="string"?`${b}=${Uh(C)}`:`${b}=${C}`).join("&").replaceAll("=","%3D").replaceAll("&","%26").replaceAll(",","%2C");l.push(`${p}=${y}`)}}return o+l.join("&")},a0=n=>{var a,o,l;return(((a=n==null?void 0:n.promotion)==null?void 0:a.type)===Hr.INGAME_IAB11_LBAR||((o=n==null?void 0:n.promotion)==null?void 0:o.type)===Hr.INGAME_IAB21_LBAR)&&!!((l=n.promotion.additionalBanner)!=null&&l.imageUrl)},YX=(n,a,o)=>{let l=!1;const c=o.transport,p=ti("advertisement"),f=new qX,y=co({}),b=HX(n,c),C=x=>{var D,B,V;if(x!=null&&x.fromNotification){y.setKey("hasNotification",!1);const Q=y.get(),K=(D=Q.data)==null?void 0:D.question.id,re=(V=(B=Q.data)==null?void 0:B.promotion)==null?void 0:V.type;K&&(ua.emit("advertisement",{action:"opened",payload:{id:K,type:re,hasBanner:a0(Q.data),openedFrom:"notification"}}),ua.emit("advertisement",{action:"notification-opened",payload:{id:K,type:re,hasBanner:a0(Q.data)}}))}},_=()=>{var Q,K,re,te;const x=y.get(),D=(Q=x.data)==null?void 0:Q.question.id,B=(re=(K=x.data)==null?void 0:K.promotion)==null?void 0:re.type,V=(te=y.get())==null?void 0:te.isOpened;D&&!V&&(p.debug({id:D},"markAsViewed: %o"),f.setShowed(D),y.setKey("isOpened",!0),ua.emit("advertisement",{action:"viewed",payload:{id:D,type:B,hasBanner:a0(x.data)}}))},N=(x,D)=>{var B;D?y.set({loading:!1,error:void 0,data:D,hasNotification:((B=D==null?void 0:D.notification)==null?void 0:B.enabled)===f9.NOTIFICATION_ENABLED,close:()=>O(D.question.id),togglePause:V=>L(D.question.id,V),isViewed:!!f.isViewed(D.question.id)}):(y.setKey("loading",!0),bE(x,c).then(V=>{var Q;return y.set({loading:!1,error:void 0,data:V,hasNotification:((Q=V==null?void 0:V.notification)==null?void 0:Q.enabled)===f9.NOTIFICATION_ENABLED,close:()=>O(V==null?void 0:V.question.id),togglePause:K=>L(V==null?void 0:V.question.id,K),isViewed:V&&!!f.isViewed(V.question.id)})}).catch(V=>y.set({loading:!1,error:V,data:void 0})))};y.subscribe((x,D)=>{var B,V,Q,K,re,te,ue,oe,Ne,de;if(!(((B=x.data)==null?void 0:B.id)===((V=D==null?void 0:D.data)==null?void 0:V.id)&&x.isPaused!==(D==null?void 0:D.isPaused))){if(((K=(Q=x.data)==null?void 0:Q.promotion)==null?void 0:K.type)===Hr.EXTERNAL_AD&&!(x!=null&&x.externalAd)&&((re=x.data.promotion.adCampaigns)!=null&&re.gamOptions)&&((te=x.data.promotion.adCampaigns)!=null&&te.gamBaseUrl)){const Fe=QX(x.data.promotion.adCampaigns);y.setKey("externalAd",{type:"gam",url:Fe})}(ue=x.data)!=null&&ue.promotion&&!x.isOpened&&(ua.emit("advertisement",{action:"received",payload:{id:x.data.question.id,type:x.data.promotion.type,hasNotification:!!x.hasNotification,hasBanner:a0(x.data),isViewed:!!f.isViewed(x.data.question.id)},skipAnalytics:x.data.question.id===((oe=D==null?void 0:D.data)==null?void 0:oe.question.id)}),x.data.question.id!==((Ne=D==null?void 0:D.data)==null?void 0:Ne.question.id)&&!f.isViewed(x.data.question.id)&&ua.emit("advertisement",{action:"notification-received",payload:{id:x.data.question.id,type:x.data.promotion.type,hasNotification:!0,hasBanner:a0(x.data),isViewed:!1}})),!(x!=null&&x.data)&&(D!=null&&D.data)&&ua.emit("advertisement",{action:"closed",payload:{id:D.data.question.id,type:(de=D.data.promotion)==null?void 0:de.type,hasNotification:!!D.hasNotification,hasBanner:a0(D.data),isViewed:!!f.isViewed(D.data.question.id)}})}});const O=x=>{var D,B;(!x||((B=(D=y.get())==null?void 0:D.data)==null?void 0:B.question.id)===x)&&y.set({})},L=(x,D)=>{var B,V;((V=(B=y.get())==null?void 0:B.data)==null?void 0:V.question.id)===x&&y.setKey("isPaused",D)};return{connect:()=>{l||(l=!0,b.subscribe((x,D)=>{x.data&&(!(D!=null&&D.data)||x.data.id!==D.data.id)&&N(x.data.question.id,x.data)}),a.addListener("promotion",x=>{const D=WX(x);if(D){if(D.question.status===yn.RESOLVED){O(D.question.id),p.debug({promotion:D},"resolved: %o");return}if(D.question.status===yn.ACTIVE){p.debug({promotion:D},"active: %o"),N(D.question.id,D);return}p.debug({promotion:D},"skip: %o")}}))},hide:O,show:N,open:C,markAsViewed:_,$store:y}};var Jc;(function(n){n.ALLOWED="allowed",n.DISALLOWED="disallowed"})(Jc||(Jc={}));class KX{constructor(a){U(this,"slStreamId");U(this,"organizationId");U(this,"userId");U(this,"interactiveAllowed");U(this,"openedQuestionId");U(this,"openedQuestion");U(this,"activeQuestionId");U(this,"feedList");U(this,"moderationId");U(this,"moderation");U(this,"feedSubscription");U(this,"questionSubscription");U(this,"advertisement");U(this,"notifications");U(this,"log");U(this,"transport");U(this,"cancels",new Set);U(this,"getCurrentSessionId",a=>{const o=a.eventId||this.slStreamId.get()||"",l=a.userId||this.userId.get()||"",c=a.organizationId||this.organizationId.get()||"",p=a.entity||"",f=a.prefix||"";return[c,o,l,f,p].join(":")});U(this,"disconnect",()=>{var a;(a=this.feedSubscription)==null||a.disconnect(),this.questionSubscription!==void 0&&(this.transport.removeSubscription(this.questionSubscription),this.questionSubscription=void 0)});U(this,"openQuestion",(a,o)=>{this.openedQuestionId.set({questionId:a,question:o}),this.notifications.markAsViewed(this.getCurrentSessionId({prefix:"notification",entity:a}))});U(this,"closeQuestion",a=>{this.openedQuestionId.set(void 0),a&&this.notifications.markAsViewed(this.getCurrentSessionId({prefix:"notification",entity:a}))});this.transport=a.transport,this.log=ti("gamification-background"),this.slStreamId=a.stores.slStreamId.getAtomStore(),this.organizationId=a.stores.organizationSettings.getAtomStore(),this.userId=a.stores.user.getAtomStore(),this.moderationId=new Oo(da(void 0),"moderationId").getStore(),this.interactiveAllowed=new Oo(da(Jc.DISALLOWED),"interactiveAllowed").getStore(),this.openedQuestionId=new Oo(da(void 0),"openedQuestionId").getStore(),this.notifications=a.notifications,this.moderation=new ei(UX(this.slStreamId,a.transport),"gamification:moderation"),this.feedList=new ei(zX(this.slStreamId,this.interactiveAllowed,a.transport),"gamification:feedList"),this.activeQuestionId=FX(this.slStreamId,a.transport),this.openedQuestion=GX(a.transport,this.openedQuestionId,this.feedList.getStore()),this.cancels.add(this.openedQuestionId.listen(o=>{this.log.debug({item:o},"received question"),o!=null&&o.questionId?(this.questionSubscription=jX(o.questionId,a.transport),this.questionSubscription.addListener("feed-subscription-opened-question",l=>{var c,p;this.openedQuestion.updateExtendedQuestion((p=(c=l.data)==null?void 0:c.attributes)==null?void 0:p.question)}),this.questionSubscription.connect()):(this.log.info("cleanup on close question"),this.questionSubscription!==void 0&&(a.transport.removeSubscription(this.questionSubscription),this.questionSubscription=void 0))})),this.feedSubscription=BX(this.slStreamId,a.transport),this.cancels.add(this.feedSubscription.addListener("feed-subscription-active-question",o=>{var p,f,y,b;const l=(f=(p=this.activeQuestionId.get().data)==null?void 0:p.question)==null?void 0:f.id,c=(b=(y=o.data)==null?void 0:y.attributes)==null?void 0:b.question;if(!(!c||c.type===fe.PROMOTION)){if(c.status===yn.RESOLVED){l===c.id&&this.activeQuestionId.mutate(void 0);return}window.requestAnimationFrame(()=>{var C;this.activeQuestionId.mutate((C=o.data)==null?void 0:C.attributes)})}})),this.cancels.add(this.feedSubscription.addListener("moderation update",o=>{window.requestAnimationFrame(()=>{var l,c,p,f;((c=(l=o.data)==null?void 0:l.attributes)==null?void 0:c.question)===void 0&&((f=(p=o.data)==null?void 0:p.attributes)!=null&&f.moderation)&&this.moderation.invalidate()})})),this.cancels.add(this.activeQuestionId.subscribe((o,l)=>{var c,p,f,y,b,C,_;(c=o.data)!=null&&c.feedItem&&((f=(p=o.data)==null?void 0:p.feedItem)==null?void 0:f.id)!==((b=(y=l==null?void 0:l.data)==null?void 0:y.feedItem)==null?void 0:b.id)&&a.onQuestionActivate({stage:"activate",id:o.data.feedItem.id,isViewed:!!this.notifications.isViewed(this.getCurrentSessionId({prefix:"notification",entity:o.data.feedItem.id})),hasNotification:!0,type:o.data.feedItem.type}),!((C=o.data)!=null&&C.feedItem)&&((_=l==null?void 0:l.data)!=null&&_.feedItem)&&a.onQuestionActivate({stage:"deactivate",id:l.data.feedItem.id,isViewed:!!this.notifications.isViewed(this.getCurrentSessionId({prefix:"notification",entity:l.data.feedItem.id})),hasNotification:!0,type:l.data.feedItem.type})})),this.feedSubscription.connect(),this.cancels.add(this.interactiveAllowed.listen(()=>{window.requestAnimationFrame(()=>{this.activeQuestionId.invalidate()})})),a.sdk.onMount({name:"gamification-background"},()=>()=>{this.activeQuestionId.off();for(const o of this.cancels)o(),this.cancels.delete(o)}),this.advertisement=YX(this.slStreamId,this.feedSubscription,a)}}class ZX{constructor(a){U(this,"notificationsList");U(this,"store");U(this,"timeouts");U(this,"waitingQueue");U(this,"activeQueue");U(this,"options");U(this,"logger");U(this,"addToQueue",a=>{var c;if(this.store.has(a.id)){this.logger.debug({notification:a},"skip existed notification: %o");return}const o=a.close,l=a.action;if(this.store.set(a.id,{...a,close:(...p)=>{o&&o(...p),this.closeNotification(a.id)},action:(...p)=>{l&&l(...p),this.closeNotification(a.id,{animateHiding:!1})}}),this.waitingQueue.add(a.id),this.activeQueue.size===this.options.concurrency){const[p]=this.activeQueue;if(((c=this.store.get(p))==null?void 0:c.persistent)!==!0)this.closeNotification(p);else{const[f]=this.waitingQueue;this.waitingQueue.size>1&&this.closeNotification(f),this.tickWaitingQueue()}}else this.tickWaitingQueue()});U(this,"tickWaitingQueue",()=>{if(this.activeQueue.size<this.options.concurrency){const[a]=this.waitingQueue;if(!a)return;this.activeQueue.add(a),this.waitingQueue.delete(a),this.logger.debug({job:a},"waiting queue tick"),this.tickActiveQueue(a)}else this.logger.debug({queueSize:this.activeQueue.size,concurrency:this.options.concurrency},"waiting queue tick skipped")});U(this,"tickActiveQueue",a=>{if(!a)return;const o=this.store.get(a);if(!o){this.logger.debug({notificationId:a},"active queue tick skipped, notification not exist");return}ua.emit("notification",{action:"received",payload:{questionId:o.data.questionId,questionType:o.data.questionType}});const l=setTimeout(()=>{const c=a,p=new Map(this.notificationsList.get());p.set(o.id,o),this.notificationsList.set(p);const f=setTimeout(()=>{this.logger.debug({notificationId:c,delay:o.autoHideDuration||5e3},"notification hiding by autoHideDuration"),this.closeNotification(c)},o.autoHideDuration||5e3);this.timeouts.set(c,f),this.logger.debug({notificationId:c,queue:[...p.values()]},"notification displayed")},o.delay||0);this.timeouts.set(a,l),this.logger.debug({notificationId:a},"active queue tick completed"),this.tickWaitingQueue()});U(this,"closeNotification",(a,{animateHiding:o=!0}={})=>{const l=new Map(this.notificationsList.get()),c=l.get(a);if(c){c.hiding=!(this.waitingQueue.size>=this.options.concurrency)&&o,this.notificationsList.set(l);const p=setTimeout(()=>{const f=new Map(this.notificationsList.get());f.delete(a),this.notificationsList.set(f);const y=this.timeouts.get(a);y!==void 0&&(clearTimeout(y),this.timeouts.delete(a)),this.logger.debug({notificationId:a},"notification hidden"),c.hiding&&ua.emit("notification",{action:"closed",payload:{questionId:c.data.questionId,questionType:c.data.questionType}})},this.options.animationDelay||0);this.timeouts.set(a,p)}return this.store.delete(a),this.activeQueue.delete(a),this.waitingQueue.delete(a),this.tickWaitingQueue(),this.logger.debug({notificationId:a},"notification hiding"),c});U(this,"drain",()=>{this.store.clear(),this.timeouts.clear(),this.waitingQueue.clear(),this.activeQueue.clear(),this.notificationsList.off(),this.notificationsList.set(new Map)});this.options=a,this.logger=ti("notifications"),this.store=new Map,this.timeouts=new Map,this.waitingQueue=new Set,this.activeQueue=new Set,this.notificationsList=da(new Map)}}var f6;(function(n){n.OPENED="opened"})(f6||(f6={}));class XX extends R0{constructor(){super("notification");U(this,"setOpened",o=>{this.write(f6.OPENED,o,"true")});U(this,"isOpened",o=>this.read(f6.OPENED,o));U(this,"clearNotification",()=>{this.clear()})}}var bu;(function(n){n[n.ONBOARDING=1]="ONBOARDING",n[n.QUESTION=2]="QUESTION",n[n.QUESTION_RESOLVED=3]="QUESTION_RESOLVED"})(bu||(bu={}));class JX{constructor(a={}){U(this,"queue");U(this,"storage");U(this,"isViewed",a=>this.storage.isOpened(a));U(this,"add",a=>{if(!this.isViewed(a.id)){if(a.data&&a.emitEvent){const o=a.action;a.action=(...l)=>{o&&o(...l),ua.emit("notification",{action:"opened",payload:{questionId:a.data.questionId,questionType:a.data.questionType}})}}this.queue.addToQueue(a)}});U(this,"close",(a,{markAsViewed:o=!0,animateHiding:l}={})=>{this.queue.closeNotification(a,{animateHiding:l}),o&&this.markAsViewed(a)});U(this,"getActiveNotification",()=>{const a=this.queue.notificationsList.get();if(!(a!=null&&a.size))return null;for(const o of a.values())if(o.type===bu.ONBOARDING)return o;return a.values().next().value});U(this,"getQueueStore",()=>this.queue.notificationsList);U(this,"markAsViewed",a=>{this.storage.setOpened(a)});this.storage=new XX,this.queue=new ZX({concurrency:1,animationDelay:1600,...a})}}const eJ=(n,a,o)=>{n.notifications=new JX(void 0),n.addNotification=n.notifications.add,n.sdk.getNotificationsStore=()=>n.notifications.getQueueStore(),n.sdk.getActiveNotification=()=>n.notifications.getActiveNotification(),n.sdk.onMount({name:"notifications"},()=>()=>{n.notifications.queue.drain()}),o()};var f2;(function(n){n.UNKNOWN="unknown",n.ALREADY_VOTED="already_voted"})(f2||(f2={}));const tJ=async(n,a)=>{var p;const{client:o,createRequestOptions:l}=n.createPromiseClient(Lo,{method:"submitAnswer"}),c=l({retryAttempts:0});try{return await o.submitAnswer({data:a},{contextValues:c})}catch(f){throw((p=zt.from(f))==null?void 0:p.code)===at.AlreadyExists?new Error(f2.ALREADY_VOTED):new Error(f2.UNKNOWN)}},nJ=(n,a)=>{const{client:o,createRequestOptions:l}=n.createPromiseClient(Lo,{method:"submitInplay"}),c=l({retryAttempts:0});return o.submitInplay({data:{eventId:+a}},{contextValues:c})};var u0;(function(n){n.ONBOARDING="onboarding",n.ONBOARDING_IO="onboarding_io"})(u0||(u0={}));class aJ extends R0{constructor(){super("gamification-session",window.sessionStorage);U(this,"writeValue",(o,l)=>{this.write(...o,l)});U(this,"readValue",o=>this.read(...o))}}class kE extends R0{constructor(){super("gamification");U(this,"sessionStorage");U(this,"saveOnboardingStatus",({userId:o,eventId:l,organizationId:c},p)=>{this.write(u0.ONBOARDING,c,o,l,p)});U(this,"getOnboardingStatus",({userId:o,eventId:l,organizationId:c})=>this.read(u0.ONBOARDING,c,o,l));U(this,"setOnboardingInstantOpen",({userId:o,eventId:l,organizationId:c})=>{this.sessionStorage.writeValue([u0.ONBOARDING_IO,c,o,l],"1")});U(this,"getOnboardingInstantOpen",({userId:o,eventId:l,organizationId:c})=>this.sessionStorage.readValue([u0.ONBOARDING_IO,c,o,l]));this.sessionStorage=new aJ}}const rJ={pageSize:10},oJ=(n,a,o,l,c)=>{let p=0;const f=da({pageSize:rJ.pageSize,page:0}),y=co({data:[],key:Date.now(),hasMore:!0,loading:void 0,error:void 0}),b=MX(n),C=async()=>{var x;const O=a.get(),L=((x=l.getStore().get().data)==null?void 0:x.map(D=>D.slId))||[];if(O&&(L!=null&&L.length)){const D=o.get();D&&L.push(D),y.setKey("loading",!0),y.setKey("data",[]);const B=await b({eventId:O,usersIds:L});y.set({data:B.data.map((V,Q)=>({...V.attributes,friendsRank:Q+1})),hasMore:!1,key:Date.now(),loading:!1}),B.meta&&(p=Math.round(B.meta.count/B.meta.pageSize))}},_=()=>{C()},N=O=>{const L=f.get(),x=O||L.page+1;x<=p&&f.set({...L,page:x})};return _6(y,()=>{const O=a.listen(C),L=l.listen(C);return()=>{O(),L()}}),{$store:y,fetchMore:N,invalidate:_}};class sJ extends R0{constructor(){super("deep-link-context",window.sessionStorage);U(this,"get",this.read);U(this,"set",this.write);U(this,"del",this.remove)}}const AS="sldl",x6="sldl_uid",SE="sldl_eid",wE="sldl_e_eid",iJ=new Set([x6,SE,wE]),xS=n=>{const a={},o={};for(const[l,c]of n)iJ.has(l)?a[l]=c:o[l]=c;return{result:a,remain:o}},lJ=({hash:n,search:a})=>{if(n&&n.includes(AS)){const o=new URLSearchParams(n.substr(1));return{hash:xS(o)}}if(a&&a.includes(AS)){const o=new URLSearchParams(a);return{search:xS(o)}}return null},PS=ti("deep_link"),Xs={debug:(...n)=>{PS.debug(...n),localStorage.getItem("SL_DEBUG")&&console.log(...n)},trace:(...n)=>{PS.trace(...n),localStorage.getItem("SL_DEBUG")&&console.log(...n)}},uJ=(n,a)=>{const{hash:o,search:l}=window.location;if(Xs.debug({hash:o,search:l},"get deep link data from"),o||l){const c=lJ({hash:o,search:l});if(Xs.debug(c,"parse deep link result"),c){const{hash:p,search:f}=c,{result:y,remain:b}=p||f;if(Object.keys(y).length!==0){n.setValue("data",y);const C=Object.keys(b).length!==0;if(p){let _="";C&&(_=`#${new URLSearchParams(b).toString()}`,Xs.debug({updatedHash:_},"update hash")),window.history.replaceState(null,"",window.location.pathname+window.location.search+_)}if(f){let _="";C&&(_=`?${new URLSearchParams(b).toString()}`,Xs.debug({updatedSearch:_},"update search")),window.history.replaceState(null,"",window.location.pathname+_+window.location.hash)}a(y)}}}n.setValue("parsed",!0)},cJ=(n,a,o)=>{const l=new sJ,c=l.get("sl-deep-link-store");let p={};if(c)try{p=JSON.parse(c)}catch(y){Xs.debug(y)}n.deepLink={$store:new Xc(co(p),"deep-link-context"),getDeepLinkData:()=>{const{data:y,used:b}=n.deepLink.$store.getValues();return{data:y,used:b}},deepLinkUsed:y=>{Xs.debug(`logged in with inviterId: ${y}`),n.deepLink.$store.setValue("used",!0)},onDeepLinkHandlers:new Set},n.sdk.getInviter=()=>{const{data:y,used:b}=n.deepLink.getDeepLinkData();return b?y==null?void 0:y[x6]:void 0},n.sdk.inviteDisplayed=()=>{n.deepLink.$store.getStore().set({}),n.deepLink.$store.getStore().off(),l.del("sl-deep-link-store")},n.deepLink.$store.subscribe(y=>l.set("sl-deep-link-store",JSON.stringify(y))),n.sdk.addDeepLinkHandler=y=>{localStorage.getItem("SL_DEBUG")&&Xs.trace("adding deep link handler"),n.deepLink.onDeepLinkHandlers.add(y)},a.onDeepLinkHandled&&n.sdk.addDeepLinkHandler(a.onDeepLinkHandled),n.sdk.removeDeepLinkHandler=y=>{Xs.trace("removing deep link handler"),n.deepLink.onDeepLinkHandlers.delete(y)};const f=y=>{n.deepLink.$store.setValue("handled",!0),Xs.trace({size:n.deepLink.onDeepLinkHandlers.size},"deep link handled, call callbacks");for(const b of n.deepLink.onDeepLinkHandlers)try{Xs.trace("called handler"),b(y)}catch(C){console.error(C)}};uJ(n.deepLink.$store,f),o()},dJ=ti("bypass");class mJ extends dX{constructor(o,l,c){super();U(this,"$coreStore");U(this,"deepLink");U(this,"transport");U(this,"bypassLogin");U(this,"me",async()=>{var o;return this.$coreStore.getValues().user.invalidate(),(o=await this.$coreStore.getValues().user.getValue())==null?void 0:o.data});U(this,"login",async(o,l)=>{var _,N,O;this.$coreStore.getValues().userKey.setValue(l);const{used:c,data:p}=this.deepLink.getDeepLinkData(),f=c?"":p==null?void 0:p[x6];dJ.debug({inviterKey:f},"login with inviterKey");const y=await this.bypassLogin({schema:o,userKey:l,inviterKey:f,init:!1}),b=(_=y.meta)==null?void 0:_.jwt,C=(N=y.data)==null?void 0:N.id;if(!b||!C)throw new Error("internal: token missing");return(O=y.meta)!=null&&O.inviterKey&&this.deepLink.deepLinkUsed(y.meta.inviterKey),this.$coreStore.getValues().user.getStore().mutate({data:y.data}),this.saveUser(b,C),b});U(this,"isAuthenticated",()=>this.me());U(this,"logout",()=>{this.$coreStore.getValues().user.setValue(),this.$coreStore.getValues().userKey.setValue(),this.$coreStore.getValues().userToken.setValue(),this.transport.setAuth("",""),new l0().clear()});U(this,"softLogout",()=>{const o=new l0;this.transport.setAuth("",""),o.setToken(""),this.reLogin()});U(this,"reLogin",()=>{const o=new l0,l=o.getToken(),c=o.getExternalToken();if(this.$coreStore.getValues().userKey.setValue(c),l)return this.saveUser(l,""),this.me().then(p=>{if(p!=null&&p.id){const f=p.id;this.saveUser(l,f)}});if(c&&!l){const p=o.getSchema();p&&c&&this.login(p,c).catch(()=>{this.logout()})}});U(this,"saveUser",(o,l)=>{this.transport.setAuth(o,l),this.$coreStore.getValues().userToken.setValue(o),new l0().setToken(o)});U(this,"connect",()=>{this.transport.registerInterceptor(o=>async l=>{try{return await o(l)}catch(c){throw c.code&&(c.code===7||c.code===16)&&this.transport.getHeader("authorization")&&this.softLogout(),c}})});this.$coreStore=o,this.deepLink=c,this.transport=l,this.bypassLogin=EX(this.transport),this.connect()}}const e2=new l0,fJ=(n,a,o)=>{n.auth=new mJ(n.store,n.transport,n.deepLink),n.stores.status.listen(l=>{l===Zi.READY&&n.auth.reLogin()}),n.sdk.userId=n.stores.user.getAtomStore,n.sdk.authorizationBypass=async(l,c)=>{if(!(e2.getSchema()===l&&e2.getExternalToken()===c&&n.transport.getHeader("authorization")))try{await n.auth.login(l,c),e2.setSchema(l),e2.setExternalToken(c)}catch{n.sdk.logout()}},n.sdk.logout=()=>{n.auth.logout(),e2.clear()},n.sdk.getUserStore=()=>n.stores.user.getStore(),n.sdk.isUserAuthorized=()=>n.auth.isAuthenticated(),o()},MS=ti("video_player"),Fh={debug:(...n)=>{MS.debug(...n),localStorage.getItem("SL_DEBUG")&&console.log(...n)},trace:(...n)=>{MS.trace(...n),localStorage.getItem("SL_DEBUG")&&console.log(...n)}},pJ=(n,a,o)=>{n.videoPlayer={controllers:new Set},n.sdk.addVideoPlayerController=l=>{Fh.trace("adding video player controller"),n.videoPlayer.controllers.add(l)},a.videoPlayerController&&n.sdk.addVideoPlayerController(a.videoPlayerController),n.sdk.removeVideoPlayerController=l=>{Fh.trace("removing video player controller"),n.videoPlayer.controllers.delete(l)},n.sdk.controlVideoPlayer=l=>{Fh.trace("controlling video player");for(const c of n.videoPlayer.controllers){Fh.trace("calling video player controller");try{c(l)}catch(p){console.error(p)}}},o()},hJ={[fe.FACTOID]:"insight",[fe.POLL]:"poll",[fe.TRIVIA]:"trivia",[fe.PREDICTION]:"prediction",[fe.TWEET]:"tweet"},gJ=(n,a,o)=>{n.sdk.uiState=co({}),n.ui={enableAppNotification:function(){n.sdk.uiState.setKey("appNotification",!0)},disableAppNotification:function(){n.sdk.uiState.get().app||n.sdk.uiState.setKey("appNotification",!1)},enableApp:function(){n.sdk.uiState.set({app:!0,appNotification:!0})},disableApp:function(){n.sdk.uiState.set({...n.sdk.uiState.get(),appNotification:!1,app:!1})}},a.onContentActivate&&(n.ui.onContentActivate=a.onContentActivate);const l=c=>{n.ui.onContentActivate&&n.ui.onContentActivate({...c,type:"advertisement"})};n.onQuestionActivate=({questionType:c,...p})=>{if(n.ui.onContentActivate){const f=p.type||c&&hJ[c]||"question";n.ui.onContentActivate({...p,type:f})}},n.sdk.onMount({name:"ui"},()=>{const c=y=>{var b,C;if(((b=y.slEventBus)==null?void 0:b.type)==="notification")switch(y.slEventBus.action){case"received":n.ui.enableAppNotification();break;case"closed":n.ui.disableAppNotification();break}if(((C=y.slEventBus)==null?void 0:C.type)==="advertisement"&&a.withAd){const _=y.slEventBus,{hasNotification:N,hasBanner:O,id:L,isViewed:x,type:D}=_.payload;switch(_.action){case"notification-opened":n.sdk.uiState.set({promotionExternalAd:D===Hr.EXTERNAL_AD,promotionBanner:O,promotionNotification:!1,promotionOverlay:!0,promotionSidebar:!0});break;case"received":if(n.sdk.closeFeature(),l({stage:"activate",id:L,hasNotification:N,hasBanner:O,isViewed:x}),!a.withAdNotification){n.sdk.uiState.set({promotionBanner:O,promotionOverlay:!0,promotionSidebar:!0,promotionExternalAd:D===Hr.EXTERNAL_AD});break}N?n.sdk.uiState.set({promotionNotification:!0}):n.sdk.uiState.set({promotionBanner:O,promotionOverlay:!0,promotionSidebar:!0,promotionExternalAd:D===Hr.EXTERNAL_AD});break;case"closed":n.sdk.uiState.set({...n.sdk.uiState.get(),promotionNotification:!1,promotionBanner:!1,promotionOverlay:!1,promotionExternalAd:!1,promotionSidebar:!1}),l({stage:"deactivate",id:L,hasNotification:N,hasBanner:O,isViewed:x});break}}},p=ua.listen(c),f=n.activeFeature.subscribe(y=>{y?(n.ui.enableApp(),n.sdk.uiState.set({app:!0})):n.ui.disableApp()});return()=>{p(),f()}}),o()},yJ=(n,a,o)=>{const l={onMountedFired:!1},c=new Map,p=new Map;n.sdk=Object.create(null),n.sdk.options=co(a),n.sdk.withAuth=!1,n.sdk.onMount=({name:f,clear:y},b)=>{var C,_;if(c.has(f)){const N=p.get(f);N&&N(),c.delete(f),p.delete(f)}c.set(f,{cb:b,clear:y}),((_=(C=n==null?void 0:n.stores)==null?void 0:C.enabled)==null?void 0:_.get())==="on"&&p.set(f,b())},n.ready=()=>{n.stores.enabled.subscribe(f=>{f==="on"&&l.onMountedFired===!1&&(c.forEach(({cb:y},b)=>p.set(b,y())),l.onMountedFired=!0),f!=="on"&&l.onMountedFired===!0&&(p.forEach(y=>y()),p.clear(),c.forEach(({clear:y},b)=>y&&c.delete(b)),l.onMountedFired=!1)})},n.sdk.initializeApp=async f=>{if(n.contextConfig=f,n.stores.enabled.get()==="on")return{enabled:!0};n.storeSubscribe(),n.stores.enabled.setValue("on"),n.stores.status.setValue(Zi.INITIALIZATION);try{const y=await n.stores.organizationSettings.getValue();return y?(n.stores.status.setValue(Zi.READY),{enabled:!!y}):(n.stores.status.setValue(Zi.FAILED),{err:"failed"})}catch(y){return n.stores.enabled.setValue(),n.stores.status.setValue(Zi.FAILED),{err:`${y}`}}},n.sdk.disableApp=()=>{n.stores.enabled.get()==="on"&&(n.stores.enabled.setValue(),n.stores.status.setValue(Zi.DISABLED),n.stores.slStreamId.setValue(),n.stores.providerStreamId.setValue(),n.sdk.closeFeature(!0),n.storeUnsubscribe(),n.transport.disconnect())},n.sdk.createEventSession=f=>{n.stores.providerStreamId.setValue(f)},o()},vJ=(n,a)=>{const{client:o,queryKey:l}=n.createPromiseClient(h2,{method:"generateDeepLink",params:a});return n.nanoquery.createFetcherStore(l,{fetcher:async(c,p,f,y)=>{var b;if(!f)return{};try{return(b=(await o.generateDeepLink({data:{gamification:!0,externalEventId:y,eventId:f}})).data)==null?void 0:b.attributes}catch{return}},dedupeTime:1e3*60*60*24,refetchInterval:0})},TJ=(n,{web:a,mobile:o})=>{const{client:l}=n.createPromiseClient(_Z,{method:"generate"});return l.generate({web:a,mobile:o})},DS=(n,a)=>{const o=new URLSearchParams(n);for(const[l,c]of Object.entries(a))o.append(l,c);return o.toString()},bJ=(n,a,o,l)=>{const c=co({});return _6(c,()=>vJ(n,[a,o]).subscribe(async({data:p,loading:f})=>{var O;const y=p===void 0&&f===!1?"https://streamlayer.io":p==null?void 0:p.url,b=l.get()||"",C=a.get()||"",_=o.get()||"",N={[x6]:b,[SE]:C,[wE]:_};if(!f&&y){c.setKey("loading",!0);let L=window.location.search,x=window.location.hash;L&&x||x?L=`?${DS(L,N)}`:x=`#${DS("",N)}`;const D=window.location.origin+window.location.pathname+L+x;try{const B=await TJ(n,{web:D,mobile:y});c.set({data:(O=B.data)==null?void 0:O.link,loading:!1})}catch{c.set({loading:!1,error:"Failed to generate short link",data:void 0})}}else c.setKey("loading",!0)})),{$store:c,fetch}};var ia;(function(n){n.Unset="unset",n.Required="required",n.Optional="optional",n.Completed="completed",n.Disabled="disabled",n.Unavailable="unavailable"})(ia||(ia={}));const kJ=(n,a,o,l)=>{const{inplayGame:c}=n.featureSettings.get(),p=a.getCurrentSessionId({prefix:"onboarding"});c&&o.add({type:bu.ONBOARDING,id:p,action:n.openFeature,close:()=>{n.onboardingProcessed.set(!0)},persistent:!0,autoHideDuration:1e6,data:{questionId:"onboarding",questionType:fe.UNSET,onboarding:{...c,instantOpen:!l.getOnboardingInstantOpen({userId:a.userId.get()||"",organizationId:a.organizationId.get()||"",eventId:a.slStreamId.get()||""})}}})},Vh=(n,a,o,l,c,p)=>{var f,y,b;try{const C=a.userId.get();if(!C)return;if(c.getOnboardingStatus({userId:C,organizationId:a.organizationId.get()||"",eventId:a.slStreamId.get()||""})===ia.Completed){n.set(ia.Completed);for(const x of p)x();return}const _=(f=a.moderation.getStore().value)==null?void 0:f.data,N=o.featureSettings.get().inplayGame;if(_===void 0||N===void 0)return;const O=(y=_==null?void 0:_.options)==null?void 0:y.onboardingEnabled,L=(b=N==null?void 0:N.titleCard)==null?void 0:b.optIn;O?L?n.set(ia.Required):n.set(ia.Optional):(L?n.set(ia.Unavailable):n.set(ia.Disabled),l.close(a.getCurrentSessionId({prefix:"onboarding"}),{markAsViewed:!1}))}catch(C){console.error(C)}},SJ=(n,a,o,l)=>{let c=!1;const p=new kE,f=da(ia.Unset);f.subscribe(b=>{b!==ia.Unset&&(b===ia.Optional||b===ia.Required?c===!1&&(kJ(n,a,l,p),c=!0):n.onboardingProcessed.set(!0),b===ia.Completed&&a.activeQuestionId.invalidate(),p.setOnboardingInstantOpen({userId:a.userId.get()||"",organizationId:a.organizationId.get()||"",eventId:a.slStreamId.get()||""}))});const y=[];return Vh(f,a,n,l,p,y),f.get()!==ia.Completed&&(y.push(a.userId.listen(b=>{b&&Vh(f,a,n,l,p,y)})),y.push(a.moderation.listen(b=>{b.data&&Vh(f,a,n,l,p,y)})),y.push(n.featureSettings.listen(b=>{b&&Vh(f,a,n,l,p,y)}))),{$store:f,submitInplay:async()=>{const b=a.slStreamId.get();if(b){await nJ(o,b),f.set(ia.Completed),p.saveOnboardingStatus({organizationId:a.organizationId.get()||"",userId:a.userId.get()||"",eventId:b},ia.Completed),ua.emit("poll",{action:"onboardingPassed",payload:{}}),n.openFeature();const C=a.getCurrentSessionId({prefix:"onboarding"});l.close(C)}}}},wJ=(n,a,o,l)=>{const c=co(void 0),p=TE(l),f=async()=>{var L,x;const b=n.get(),C=a.get(),_=(L=o.getStore().get().data)==null?void 0:L.map(D=>D.slId);if(!_)return;const N={eventId:b,userId:C,usersIds:[..._,C]},O=await p(N);c.set((x=O.data)==null?void 0:x.attributes)},y=()=>{f()};return _6(c,()=>{const b=n.listen(f),C=o.listen(f),_=a.listen(f);return()=>{b(),C(),_()}}),{$store:c,invalidate:y}},CJ=async(n,a,o,l,c)=>{var _,N,O;const p=TE(c),f=n.get(),y=a.get(),b=((_=o.getStore().get().data)==null?void 0:_.map(L=>L.slId))||[],C={eventId:f,userId:l,usersIds:[...b,y]};return(O=(N=(await p(C)).data)==null?void 0:N.attributes)==null?void 0:O.summary},EJ=new Set([fe.POLL,fe.PREDICTION,fe.TRIVIA]);class _J extends gE{constructor(o,l,c){super(o,l);U(this,"userSummary");U(this,"feedList");U(this,"friends");U(this,"leaderboardId");U(this,"leaderboardList");U(this,"deepLink");U(this,"onboardingStatus");U(this,"openedQuestion");U(this,"currentUserId");U(this,"openedUser");U(this,"closeFeature");U(this,"openFeature");U(this,"feedSubscription");U(this,"activeQuestionId");U(this,"openedQuestionId");U(this,"advertisement");U(this,"onboardingProcessed");U(this,"friendsTabEnabled");U(this,"notifications");U(this,"transport");U(this,"background");U(this,"storage");U(this,"submitAnswerTimeout");U(this,"cancels",new Set);U(this,"onQuestionActivate");U(this,"checkInteractiveFlag",()=>{var y,b,C,_,N;const o=this.onboardingStatus.$store.get(),l=(C=(b=(y=this.background.moderation.getStore().value)==null?void 0:y.data)==null?void 0:b.options)==null?void 0:C.onboardingEnabled,c=(N=(_=this.settings.getValues().inplayGame)==null?void 0:_.titleCard)==null?void 0:N.optIn,p=o===ia.Completed,f=!l||p||c!==!0;this.background.interactiveAllowed.set(f?Jc.ALLOWED:Jc.DISALLOWED)});U(this,"connect",()=>{this.onboardingProcessed.subscribe(o=>{o&&this.advertisement.connect()}),this.cancels.add(this.background.feedSubscription.addListener("feed-subscription-prediction-close",async o=>{var C,_,N,O,L,x,D,B,V,Q,K;if(!this.isInteractiveAllowed)return;const l=(_=(C=o.data)==null?void 0:C.attributes)==null?void 0:_.question,c=(O=(N=o.data)==null?void 0:N.attributes)==null?void 0:O.feedItem;if(!l||!(c!=null&&c.attributes))return;const{status:p,type:f,id:y,answers:b}=l;if(p===yn.RESOLVED&&f===fe.PREDICTION){const re=this.background.getCurrentSessionId({prefix:`notification-id:${y}`}),te=[...this.feedList.getValues().data||[]],ue=te.findIndex(it=>it.id===y),oe=te[ue];let Ne=(D=(x=(L=oe==null?void 0:oe.attributes)==null?void 0:L.attributes)==null?void 0:x.value)==null?void 0:D.answerId;const de=L9(y,this.transport),Fe=de.subscribe(()=>{});await de.get().promise;let De=de.get().data;De||(De=await $X(y,this.transport)),Fe(),window.requestAnimationFrame(()=>{de.invalidate()}),Ne||(Ne=(B=De==null?void 0:De.answers.find(({youVoted:it})=>it))==null?void 0:B.id);const Pe=b.find(({correct:it})=>it),ke=Ne?b.find(({id:it})=>it===Ne):void 0,$e=!!(ke!=null&&ke.correct);if(oe&&((Q=(V=te[ue])==null?void 0:V.attributes)==null?void 0:Q.attributes.case)==="question"){try{te[ue].attributes.attributes.value.answerId=Ne,te[ue].attributes.attributes.value.openForVoting=!1,Ne&&(te[ue].attributes.attributes.value.status=$e?tl.WON:tl.LOST)}catch{}this.feedList.getStore().mutate(te)}if(!ke||!Pe)return;((K=this.openedQuestionId.get())==null?void 0:K.questionId)!==l.id&&this.notifications.add({type:bu.QUESTION_RESOLVED,action:()=>this.openQuestion(l.id,c),close:()=>this.closeQuestion(y),autoHideDuration:$e?15e3:12e3,id:re,emitEvent:!1,data:{questionId:y,questionType:fe.PREDICTION,question:{title:$e?`Congratulations! You answered correctly! You won ${Pe.points} pts!`:`Better luck next time! Correct: ${Pe==null?void 0:Pe.text}!`,votedAnswer:{title:ke==null?void 0:ke.text,points:ke==null?void 0:ke.points},correctAnswerTitle:Pe==null?void 0:Pe.text,correct:!!$e,predictionResult:p===yn.RESOLVED,questionTitle:l==null?void 0:l.subject}}}),this.userSummary.invalidate()}})),this.cancels.add(this.background.feedSubscription.addListener("feed-subscription-questions-list",o=>{var f,y,b,C,_;const l=[...((f=this.feedList.getStore().value)==null?void 0:f.data)||[]],c=(b=(y=o.data)==null?void 0:y.attributes)==null?void 0:b.feedItem,p=l.findIndex(N=>N.id===(c==null?void 0:c.id));if(c!=null&&c.attributes&&c.attributes.attributes.case!=="promotion"&&!(c.attributes.status!==yn.ACTIVE&&c.attributes.status!==yn.RESOLVED)){if(p!==-1)if(c.attributes.attributes.case==="question"&&((C=l[p].attributes)==null?void 0:C.attributes.case)==="question"){const N=l[p];N.attributes&&(l[p]={...l[p],attributes:{...N.attributes,attributes:{...N.attributes.attributes,value:{...N.attributes.attributes.value,...c.attributes.attributes.value,answerId:N.attributes.attributes.value.answerId,status:N.attributes.attributes.value.status,openForVoting:N.attributes.attributes.value.openForVoting}}}})}else{const N=l[p];N.attributes&&c.attributes&&(l[p]={...l[p],attributes:{...N.attributes,attributes:{...N.attributes.attributes,value:{...N.attributes.attributes.value,...c.attributes.attributes.value}}}})}p===-1&&(l.unshift(c),ua.emit("poll",{action:"received",payload:{questionId:c.id,questionType:(_=c.attributes)==null?void 0:_.type}})),this.feedList.getStore().mutate(l)}}))});U(this,"disconnect",()=>{this.background.feedSubscription.removeListener("feed-subscription-prediction-close"),this.background.feedSubscription.removeListener("feed-subscription-questions-list")});U(this,"submitAnswer",async(o,l)=>{const c=L9(o,this.transport),p=c.subscribe(()=>{}),f={...c.get().data||{}},y=()=>{var O;const b=this.feedList.getValues().data;if(!b)return;const C=b.findIndex(L=>L.id===o),_=b[C],N=((O=_==null?void 0:_.attributes)==null?void 0:O.attributes.case)==="question"&&_.attributes.attributes.value;if(N){ua.emit("poll",{action:"voted",payload:{questionId:o,questionType:N.questionType}});const L=c.get().data;if(p(),L){const x=L.answers.find(Q=>Q.correct===!0),D=L.answers.findIndex(Q=>Q.id===l),B=L.answers[D],V=L.answers.every(({percentageDecimal:Q},K)=>Q===(f==null?void 0:f.answers[K].percentageDecimal));b[C].attributes.attributes.value.answerId=l,b[C].attributes.attributes.value.openForVoting=!1,b[C].attributes.attributes.value.text=(B==null?void 0:B.text)||"",x&&(b[C].attributes.attributes.value.status=x.id===l?tl.WON:tl.LOST),this.feedList.getStore().mutate([...b]),L.answers[D].correct=(x==null?void 0:x.id)===l,L.answers[D].youVoted=!0,V&&L.answers.forEach(Q=>{Q.percentageDecimal=0}),(x==null?void 0:x.id)===l&&(L.answers[D].pointsEarned=L.status===yn.RESOLVED?0:x.points),c.mutate({...L})}this.submitAnswerTimeout&&clearTimeout(this.submitAnswerTimeout),this.submitAnswerTimeout=setTimeout(()=>{this.userSummary.invalidate()},1e3)}};try{await tJ(this.transport,{questionId:o,answerId:l}),y()}catch(b){if(b.message===f2.ALREADY_VOTED){this.userSummary.invalidate();const C=c.subscribe(()=>{});c.invalidate(),C()}throw b}});U(this,"openQuestion",(o,l)=>{var p,f,y,b;if(!o)return()=>{};this.notifications.close(this.background.getCurrentSessionId({prefix:"notification",entity:o}),{animateHiding:!1});let c=(p=l==null?void 0:l.attributes)==null?void 0:p.type;return c||(c=(b=(y=(((f=this.feedList.getStore().value)==null?void 0:f.data)||[]).find(C=>C.id===o))==null?void 0:y.attributes)==null?void 0:b.type),ua.emit("poll",{action:"opened",payload:{questionId:o,questionType:c,questionOpenedFrom:l==null?void 0:l.openedFrom}}),this.openFeature(),this.background.openQuestion(o,l)});U(this,"getFeedItem",o=>VX(o,this.transport));U(this,"isOpenedQuestion",o=>!!this.notifications.isViewed(o));U(this,"closeQuestion",o=>(o&&this.onQuestionActivate({stage:"deactivate",id:o,isViewed:!!this.notifications.isViewed(this.background.getCurrentSessionId({prefix:"notification",entity:o}))}),this.background.closeQuestion(o)));U(this,"openUser",async o=>{var p,f;const l=(p=this.leaderboardList.$store.get().data)==null?void 0:p.find(y=>y.userId===o);if(!l){this.openedUser.set(l);return}if(l.summaryLoaded){this.openedUser.set(l);return}const c={...l};try{const y=await CJ(this.background.slStreamId,this.background.userId,this.friends,o,this.transport);(y==null?void 0:y.inTop)!==void 0&&(this.leaderboardList.$store.setKey("data",(f=this.leaderboardList.$store.get().data)==null?void 0:f.map(b=>(b.userId===o&&(b.inTop=y.inTop),b))),c.inTop=y.inTop)}catch(y){console.error(y)}this.openedUser.set(c)});U(this,"closeUser",()=>{this.openedUser.set(void 0)});U(this,"showInApp",o=>{var c,p,f,y,b,C,_,N,O,L,x,D,B,V,Q,K,re,te,ue,oe,Ne;const l=this.onboardingStatus.$store.get();if(o&&o.data&&l&&l!==ia.Unset&&((c=o.data.question)==null?void 0:c.id)!==void 0&&((f=(p=o.data.question)==null?void 0:p.bypassNotifications)==null?void 0:f.inAppSilence)!==Hw.ON&&o.data.question.status===yn.ACTIVE&&!o.data.question.marketClosed){if(EJ.has(o.data.question.type))this.isInteractiveAllowed&&o.data.question.notification!==void 0&&this.notifications.add({type:bu.QUESTION,action:()=>{var de,Fe,De;return this.openQuestion((Fe=(de=o.data)==null?void 0:de.question)==null?void 0:Fe.id,(De=o.data)==null?void 0:De.feedItem)},close:()=>{var de,Fe;return this.closeQuestion((Fe=(de=o.data)==null?void 0:de.question)==null?void 0:Fe.id)},autoHideDuration:1e3*60,id:this.background.getCurrentSessionId({prefix:"notification",entity:o.data.question.id}),emitEvent:!0,data:{questionId:o.data.question.id,questionType:o.data.question.type,question:{title:o.data.question.notification.title},inApp:{notification:o.data.question.notification,appearance:o.data.question.appearance,sponsorship:o.data.question.sponsorship}}});else if(o.data.question.type===fe.FACTOID){const de=(y=o.data.question.options)==null?void 0:y.options.value,Fe=((b=o.data.question.notification)==null?void 0:b.title)||o.data.question.subject||"",De=((C=o.data.question.notification)==null?void 0:C.body)||de.body,Pe={heading:Fe,body:De,imageMode:de==null?void 0:de.imageMode,image:de==null?void 0:de.image,video:{id:((_=de==null?void 0:de.video)==null?void 0:_.id)||"",url:((N=de==null?void 0:de.video)==null?void 0:N.url)||"",thumbnailUrl:((O=de==null?void 0:de.video)==null?void 0:O.thumbnailUrl)||""},webLink:{label:"",url:""}};this.notifications.add({type:bu.QUESTION,action:()=>{var ke,$e,it;return this.openQuestion(($e=(ke=o==null?void 0:o.data)==null?void 0:ke.question)==null?void 0:$e.id,(it=o==null?void 0:o.data)==null?void 0:it.feedItem)},close:()=>{var ke,$e;return this.closeQuestion(($e=(ke=o==null?void 0:o.data)==null?void 0:ke.question)==null?void 0:$e.id)},autoHideDuration:1e3*120,emitEvent:!0,id:this.background.getCurrentSessionId({prefix:"notification",entity:o.data.question.id}),data:{questionId:o.data.question.id,questionType:o.data.question.type,insight:Pe,inApp:{useMediaFromContent:de.useAsNotification===K9.ENABLED,notification:o.data.question.notification,appearance:o.data.question.appearance,sponsorship:o.data.question.sponsorship}}})}else if(o.data.question.type===fe.TWEET&&o.data.question.notification!==void 0){const de=(L=o.data.question.options)==null?void 0:L.options.value,Fe={image:"",video:""};if((Q=(V=(B=(D=(x=de.tweetMeta)==null?void 0:x.tweet)==null?void 0:D.meta)==null?void 0:B.extendedEntities)==null?void 0:V.media)!=null&&Q[0]){const Pe=de.tweetMeta.tweet.meta.extendedEntities.media;if(Pe){const ke=Pe.find(({type:$e})=>$e==="photo")||Pe[0];Fe.image=ke.mediaUrlHttps,ke.type==="video"&&(Fe.video=ke.url)}}const De={title:(K=o.data.question.notification)==null?void 0:K.title,body:(re=o.data.question.notification)==null?void 0:re.body,image:(te=o.data.question.notification)==null?void 0:te.image,account:((ue=de==null?void 0:de.tweetMeta)==null?void 0:ue.account)||"",accountVerified:!!((oe=de==null?void 0:de.tweetMeta)!=null&&oe.accountVerified),tweet:(Ne=de==null?void 0:de.tweetMeta)==null?void 0:Ne.tweet,tweetId:o.data.question.id,tweetMedia:Fe};this.notifications.add({type:bu.QUESTION,action:()=>{var Pe,ke,$e;return this.openQuestion((ke=(Pe=o.data)==null?void 0:Pe.question)==null?void 0:ke.id,($e=o.data)==null?void 0:$e.feedItem)},close:()=>{var Pe,ke;return this.closeQuestion((ke=(Pe=o.data)==null?void 0:Pe.question)==null?void 0:ke.id)},autoHideDuration:1e3*120,emitEvent:!0,id:this.background.getCurrentSessionId({prefix:"notification",entity:o.data.question.id}),data:{questionId:o.data.question.id,questionType:o.data.question.type,tweet:De,inApp:{notification:o.data.question.notification,appearance:o.data.question.appearance,sponsorship:o.data.question.sponsorship}}})}}});this.background=new KX(c),this.advertisement=this.background.advertisement,this.onQuestionActivate=c.onQuestionActivate,this.feedSubscription=this.background.feedSubscription,this.activeQuestionId=this.background.activeQuestionId,this.openedQuestionId=this.background.openedQuestionId,this.storage=new kE,this.feedList=this.background.feedList,this.friends=new ei(DX(this.background.userId,c.transport),"gamification:friends"),this.currentUserId=this.background.userId,this.openedUser=da(void 0),this.onboardingProcessed=da(!c.sdk.withAuth),this.leaderboardId=new Oo(da(this.settings.getValue("pinnedLeaderboardId")),"pinnedLeaderboardId").getStore(),this.onboardingStatus=SJ(this,this.background,c.transport,c.notifications),this.notifications=c.notifications,this.transport=c.transport,this.closeFeature=(p=!0)=>c.sdk.closeFeature(p),this.openFeature=()=>c.sdk.openFeature(yt.GAMES),this.openedQuestion=this.background.openedQuestion,this.deepLink=bJ(this.transport,this.background.slStreamId,c.stores.providerStreamId.getStore(),this.background.userId),this.userSummary=wJ(this.background.slStreamId,this.background.userId,this.friends,this.transport),this.leaderboardList=oJ(this.transport,this.background.slStreamId,this.background.userId,this.friends),this.connect(),this.cancels.add(this.userSummary.$store.listen((p,f)=>{f!=null&&f.summary&&(p!=null&&p.summary)&&this.leaderboardList.invalidate()})),this.cancels.add(this.onboardingStatus.$store.listen(this.checkInteractiveFlag)),this.cancels.add(this.background.moderation.getStore().listen(this.checkInteractiveFlag)),this.cancels.add(this.settings.subscribe(this.checkInteractiveFlag)),this.cancels.add(this.onboardingStatus.$store.listen((p,f)=>{(f===void 0||p!==ia.Unset)&&this.background.activeQuestionId.invalidate()})),this.background.activeQuestionId.listen(this.showInApp),this.friendsTabEnabled=da(!1),this.cancels.add(c.sdk.options.subscribe(p=>{p.friendsTab==="disabled"?this.friendsTabEnabled.set(!1):p.friendsTab==="enabled"&&this.friendsTabEnabled.set(!0)})),this.cancels.add(this.settings.subscribe(p=>{var f,y;c.sdk.options.get().friendsTab==="activatedGame"&&this.friendsTabEnabled.set(!!((y=(f=p.inplayGame)==null?void 0:f.titleCard)!=null&&y.optIn))})),c.sdk.onMount({name:"gamification",clear:!0},()=>()=>{for(const p of this.cancels)p(),this.cancels.delete(p)})}get isInteractiveAllowed(){return this.background.interactiveAllowed.get()===Jc.ALLOWED}}const IJ={[yt.GAMES]:!0};class NJ extends gE{constructor(a,o){super(a,o)}}const RJ=(n,a,o)=>n.type===yt.GAMES?new _J(n,a,o):new NJ(n,a),OJ=(n,a,o)=>{n.features=new Map,n.sdk.featuresList=new Oo(da(new Set),"features-list"),n.activeFeature=new Oo(da(yt.UNSET),"activeFeature"),n.sdk.getFeatures=()=>n.features,n.sdk.getFeature=l=>n.features.get(l),n.sdk.getActiveFeature=()=>n.activeFeature.getStore(),n.sdk.openFeature=l=>{n.activeFeature.setValue(l)},n.sdk.closeFeature=(l=!1)=>{const c=n.activeFeature.getValue();if(n.activeFeature.setValue(yt.UNSET),l&&c){n.features.delete(c);const p=n.sdk.featuresList.getValue();p&&p.delete(c),n.sdk.featuresList.setValue(p)}},n.initFeature=(l,c=Ki.ORGANIZATION)=>{if(l.type in IJ&&!n.features.has(l.type)){const p=RJ(l,c,n);n.features.set(l.type,p);let f=n.sdk.featuresList.getValue();f?f.add(l.type):f=new Set([l.type]),n.sdk.featuresList.setValue(new Set(f))}},n.updateFeature=(l,c)=>{var p;(p=n.features.get(l.type))==null||p.update(l,c)},n.destroyFeature=l=>{n.features.delete(l.type);const c=n.sdk.featuresList.getValue();c&&c.delete(l.type),n.sdk.featuresList.setValue(new Set(c))},n.reinitializeFeatures=async()=>{const l=await n.stores.organizationSettings.getValue();n.features.clear(),n.sdk.featuresList.setValue(new Set);for(const c of(l==null?void 0:l.overlays)||[])n.initFeature(c,Ki.ORGANIZATION)},n.stores.providerStreamId.listen(l=>{l||n.reinitializeFeatures()}),n.storeSubscribe=()=>{const l=(p,f)=>{var y;if(f!=null&&f.overlays&&!((y=n.contextConfig)!=null&&y.skipOrganizationSettings&&p===Ki.ORGANIZATION))for(const b of f.overlays)b.sdkEnable===!0&&(n.features.has(b.type)?n.updateFeature(b,p):n.initFeature(b,p))},c={organizationSettings:p=>{if(p.data)try{l(Ki.ORGANIZATION,p.data)}catch(f){console.log(f)}},streamSettings:p=>{if(p.data)try{l(Ki.STREAM,p.data)}catch(f){console.log(f)}}};n.store.subscribe(c)},o()};class LJ{constructor(a){U(this,"analytics");U(this,"accepted",()=>{this.analytics.write("invitation",{common:{...this.analytics.commonStore.getValues(),kind:la.INVITATION_ACCEPTED},category:p9.GAMES,from:d2.UNSET})});U(this,"sent",({from:a})=>{this.analytics.write("invitation",{common:{...this.analytics.commonStore.getValues(),kind:la.INVITATION_SENT},category:p9.GAMES,from:a||d2.UNSET})});this.analytics=a,this.analytics.onConnect(()=>{const o=l=>{var c;if(((c=l.slEventBus)==null?void 0:c.type)==="invitation")switch(l.slEventBus.action){case"sent":this.sent(l.slEventBus.payload);break}};return ua.listen(o)})}}class AJ{constructor(a){U(this,"analytics");U(this,"tap",()=>{this.analytics.write("interactions",{common:{...this.analytics.commonStore.getValues(),kind:la.INTERACTIONS},actionType:_9.TAP})});U(this,"scroll",()=>{this.analytics.write("interactions",{common:{...this.analytics.commonStore.getValues(),kind:la.INTERACTIONS},actionType:_9.SCROLL})});this.analytics=a,this.analytics.onConnect(()=>{const o=l=>{var c;if(((c=l.slEventBus)==null?void 0:c.type)==="interactions")switch(l.slEventBus.action){case"tap":this.tap();break;case"scroll":this.scroll();break}};return ua.listen(o)})}}const xJ={[Hr.UNSET]:Qs.UNSET,[Hr.INGAME_IAB21]:Qs.PROMOTION_INGAME_IAB21,[Hr.INGAME_IAB11_LBAR]:Qs.PROMOTION_INGAME_IAB11_LBAR,[Hr.INGAME_IAB11]:Qs.PROMOTION_INGAME_IAB11,[Hr.INGAME_IAB21_LBAR]:Qs.PROMOTION_INGAME_IAB21_LBAR,[Hr.INGAME_IAB61]:Qs.PROMOTION_INGAME_IAB61,[Hr.EXTERNAL_AD]:Qs.PROMOTION_GAM},A9=n=>n?xJ[n]:Qs.UNSET;class PJ{constructor(a){U(this,"analytics");U(this,"received",({id:a},{topicSubType:o})=>{this.analytics.write("games",{common:{...this.analytics.commonStore.getValues(),kind:la.POLLS_RECEIVED,topicId:a,topicType:Wn.POLLS_PROMOTION,topicSubType:o},pollOpenedFrom:zr.UNSET})});U(this,"opened",({id:a,openedFrom:o},{topicSubType:l})=>{this.analytics.write("games",{common:{...this.analytics.commonStore.getValues(),kind:la.POLLS_OPENED,topicId:a,topicType:Wn.POLLS_PROMOTION,topicSubType:l},pollOpenedFrom:o==="notification"?zr.IN_APP:zr.UNSET})});U(this,"viewed",({id:a},{topicSubType:o})=>{this.analytics.write("games",{common:{...this.analytics.commonStore.getValues(),kind:la.POLLS_OPENED,topicId:a,topicType:Wn.POLLS_PROMOTION,topicSubType:o},pollOpenedFrom:zr.UNSET})});U(this,"videoPlay",({id:a},{topicSubType:o})=>{this.analytics.write("games",{common:{...this.analytics.commonStore.getValues(),topicId:a,kind:la.AD_VIDEO_PLAYED,topicType:Wn.POLLS_PROMOTION,topicSubType:o},pollOpenedFrom:zr.UNSET})});U(this,"buttonSelect",({id:a},{topicSubType:o})=>{this.analytics.write("games",{common:{...this.analytics.commonStore.getValues(),topicId:a,kind:la.AD_BUTTON_NAVIGATED,topicType:Wn.POLLS_PROMOTION,topicSubType:o},pollOpenedFrom:zr.UNSET})});U(this,"bannerSelect",({id:a},{topicSubType:o})=>{this.analytics.write("games",{common:{...this.analytics.commonStore.getValues(),topicId:a,kind:la.AD_BANNER_NAVIGATED,topicType:Wn.POLLS_PROMOTION,topicSubType:o},pollOpenedFrom:zr.UNSET})});this.analytics=a,this.analytics.onConnect(()=>{const o=l=>{var c,p;if(!((c=l.slEventBus)!=null&&c.skipAnalytics)&&((p=l.slEventBus)==null?void 0:p.type)==="advertisement"){const f=A9(l.slEventBus.payload.type);switch(l.slEventBus.action){case"videoPlay":this.videoPlay(l.slEventBus.payload,{topicSubType:f});break;case"buttonSelect":this.buttonSelect(l.slEventBus.payload,{topicSubType:f});break;case"bannerSelect":this.bannerSelect(l.slEventBus.payload,{topicSubType:f});break;case"received":this.received(l.slEventBus.payload,{topicSubType:f});break;case"opened":this.opened(l.slEventBus.payload,{topicSubType:f});break;case"viewed":this.viewed(l.slEventBus.payload,{topicSubType:f});break}}};return ua.listen(o)})}}const i2={[fe.UNSET]:Wn.UNSET,[fe.FACTOID]:Wn.POLLS_INSIGHT,[fe.POLL]:Wn.POLLS_POLL,[fe.PREDICTION]:Wn.POLLS_PREDICTION,[fe.PROMOTION]:Wn.POLLS_PROMOTION,[fe.TRIVIA]:Wn.POLLS_TRIVIA,[fe.TWEET]:Wn.POLLS_TWITTER};fe.UNSET+"",Ys.UNSET,fe.FACTOID+"",Ys.POLLS,fe.POLL+"",Ys.POLLS,fe.PREDICTION+"",Ys.POLLS,fe.PROMOTION+"",Ys.POLLS,fe.TRIVIA+"",Ys.POLLS,fe.TWEET+"",Ys.POLLS;const MJ={[yt.UNSET]:Fa.UNSET,[yt.INPLAY]:Fa.INPLAY,[yt.MESSAGING]:Fa.MESSAGING,[yt.STATISTICS]:Fa.STATS,[yt.BETTING]:Fa.BETTING,[yt.TWITTER]:Fa.TWITTER,[yt.MERCHANDISE]:Fa.MERCHANDISE,[yt.CONTESTS]:Fa.CONTESTS,[yt.VOICE_CHAT]:Fa.CALLING,[yt.TICKETS]:Fa.TICKETS,[yt.WHOIS_WATCHING]:Fa.WHOISWATCHING,[yt.PROFILE]:Fa.PROFILE,[yt.GAMES]:Fa.POLLS,[yt.GOLF_STATISTICS]:Fa.STATS,[yt.HIGHLIGHTS]:Fa.HIGHLIGHTS,[yt.PUBLIC_CHAT]:Fa.PUBLIC_CHAT};class DJ{constructor(a){U(this,"analytics");U(this,"received",({questionId:a,questionType:o,topicSubType:l})=>{this.analytics.write("notification",{common:{...this.analytics.commonStore.getValues(),kind:la.NOTIFICATION_RECEIVED,topicId:a,topicType:o?i2[o]:Wn.UNSET,topicSubType:l},notificationKind:Ys.POLLS,notificationType:I9.IN_APP})});U(this,"opened",({questionId:a,questionType:o,topicSubType:l})=>{this.analytics.write("notification",{common:{...this.analytics.commonStore.getValues(),kind:la.NOTIFICATION_OPENED,topicId:a,topicType:o?i2[o]:Wn.UNSET,topicSubType:l},notificationKind:Ys.POLLS,notificationType:I9.IN_APP})});this.analytics=a,this.analytics.onConnect(()=>{const o=l=>{var c,p;if(((c=l.slEventBus)==null?void 0:c.type)==="notification")switch(l.slEventBus.action){case"rendered":this.received(l.slEventBus.payload);break;case"opened":this.opened(l.slEventBus.payload);break}if(((p=l.slEventBus)==null?void 0:p.type)==="advertisement")switch(l.slEventBus.action){case"notification-received":this.received({questionId:l.slEventBus.payload.id,questionType:fe.PROMOTION,topicSubType:A9(l.slEventBus.payload.type)});break;case"notification-opened":this.opened({questionId:l.slEventBus.payload.id,questionType:fe.PROMOTION,topicSubType:A9(l.slEventBus.payload.type)});break}};return ua.listen(o)})}}class UJ{constructor(a){U(this,"analytics");U(this,"received",({questionId:a,questionType:o})=>{this.analytics.write("games",{common:{...this.analytics.commonStore.getValues(),kind:la.POLLS_RECEIVED,topicId:a,topicType:o?i2[o]:Wn.UNSET},pollOpenedFrom:zr.UNSET})});U(this,"opened",({questionId:a,questionType:o,questionOpenedFrom:l})=>{this.analytics.write("games",{common:{...this.analytics.commonStore.getValues(),kind:la.POLLS_OPENED,topicId:a,topicType:o?i2[o]:Wn.UNSET},pollOpenedFrom:l==="list"?zr.PICK_HISTORY:zr.IN_APP})});U(this,"voted",({questionId:a,questionType:o})=>{this.analytics.write("games",{common:{...this.analytics.commonStore.getValues(),kind:la.POLLS_VOTE,topicId:a,topicType:o?i2[o]:Wn.UNSET},pollOpenedFrom:zr.UNSET})});U(this,"onboardingPassed",()=>{this.analytics.write("games",{common:{...this.analytics.commonStore.getValues(),kind:la.GAMES_JOINED},pollOpenedFrom:zr.UNSET})});U(this,"navigated",()=>{this.analytics.write("games",{common:{...this.analytics.commonStore.getValues(),kind:la.POLLS_NAVIGATED},pollOpenedFrom:zr.UNSET})});this.analytics=a,this.analytics.onConnect(()=>{const o=l=>{var c;if(((c=l.slEventBus)==null?void 0:c.type)==="poll")switch(l.slEventBus.action){case"voted":this.voted(l.slEventBus.payload);break;case"navigated":this.navigated();break;case"onboardingPassed":this.onboardingPassed();break;case"received":this.received(l.slEventBus.payload);break;case"opened":this.opened(l.slEventBus.payload);break}};return ua.listen(o)})}}const FJ=({transport:n,$commonStore:a})=>{let o;const l=da(!1),c=5e3,{client:p,queryKey:f}=n.createPromiseClient(dE,{method:"send",params:[l]}),y=n.nanoquery.createFetcherStore(f,{fetcher:async()=>{const N=a.getStore().get();try{await p.unary({message:{case:"heartbeat",value:{common:{...N,kind:la.SESSION_HEARTBEAT}}}})}catch(O){Xi.error(O,"send heartbeat failed")}return Date.now()},refetchInterval:c}),b=()=>{Xi.debug("mounted heartbeat"),o=y.subscribe(()=>{})},C=()=>{Xi.debug("enabled heartbeat"),l.set(!0),y.lc===0&&b()},_=()=>{Xi.debug("disabled heartbeat"),l.set(!1)};return{enable:C,disable:_,mount:b,unmount:()=>{Xi.debug("unmounted heartbeat"),y.off(),o==null||o(),o=void 0,_()}}},Xi=ti("analytics");class VJ{constructor(a){U(this,"commonStore");U(this,"notifications");U(this,"polls");U(this,"invitation");U(this,"interactions");U(this,"advertisement");U(this,"heartbeat");U(this,"analyticsClient");U(this,"listeners");U(this,"listenersCancels");U(this,"connected",!1);U(this,"connect",()=>{this.writeCommon("sessionId",C9()),this.heartbeat.enable(),this.listeners.forEach(a=>this.listenersCancels.add(a())),this.connected=!0,Xi.debug("analytics connected")});U(this,"disconnect",()=>{this.writeCommon("sessionId",""),this.writeCommon("overlaySessionId",""),this.heartbeat.unmount(),this.listenersCancels.forEach(a=>a()),this.connected=!1,Xi.debug("analytics disconnected")});U(this,"write",(a,o)=>{o&&this.analyticsClient.unary({message:{case:a,value:o}}).then(()=>{Xi.trace("send analytics success",a,o)}).catch(l=>{Xi.error(l,"send analytics failed")})});U(this,"writeCommon",(a,o)=>{this.commonStore.setValue(a,o)});U(this,"onConnect",a=>{this.listeners.add(a),this.connected&&this.listenersCancels.add(a())});U(this,"connectToSDK",a=>{this.onConnect(()=>a.stores.slStreamId.getAtomStore().subscribe(o=>{this.writeCommon("eventId",o)})),this.onConnect(()=>a.sdk.getActiveFeature().subscribe(o=>{o&&this.writeCommon("category",MJ[o]),o!==yt.UNSET?this.writeCommon("overlaySessionId",C9()):this.writeCommon("overlaySessionId","")})),this.onConnect(()=>{const o=window.matchMedia("(orientation: portrait)"),l=c=>{this.writeCommon("screenOrientation",c.matches?m9.PORTRAIT:m9.LANDSCAPE)};return o.addEventListener("change",l),()=>{o.removeEventListener("change",l)}}),this.onConnect(()=>a.deepLink.$store.subscribe(o=>{o!=null&&o.handled&&this.invitation.accepted()}))});this.listeners=new Set,this.listenersCancels=new Set,this.commonStore=new Xc(co({}),"common-analytics"),this.connectToSDK(a),this.heartbeat=FJ({transport:a.analyticsTransport,$commonStore:this.commonStore}),this.notifications=new DJ(this),this.polls=new UJ(this),this.invitation=new LJ(this),this.interactions=new AJ(this),this.advertisement=new PJ(this);const{client:o}=a.analyticsTransport.createPromiseClient(dE,{method:"send"});this.analyticsClient=o}}const BJ=(n,a,o)=>{n.analytics=new VJ(n),n.sdk.onMount({name:"analytics"},()=>(n.analytics.connect(),()=>{n.analytics.disconnect()})),o()};var wy=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof g9<"u"?g9:typeof self<"u"?self:{};function jJ(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var Cy={exports:{}},Ey={exports:{}};function $J(n){var a=new n,o=a;function l(){var p=a;return p.next?a=p.next:(a=new n,o=a),p.next=null,p}function c(p){o.next=p,o=p}return{get:l,release:c}}var zJ=$J,HJ=zJ;function CE(n,a,o){if(typeof n=="function"&&(o=a,a=n,n=null),!(o>=1))throw new Error("fastqueue concurrency must be equal to or greater than 1");var l=HJ(GJ),c=null,p=null,f=0,y=null,b={push:D,drain:No,saturated:No,pause:_,paused:!1,get concurrency(){return o},set concurrency(te){if(!(te>=1))throw new Error("fastqueue concurrency must be equal to or greater than 1");if(o=te,!b.paused)for(;c&&f<o;)f++,V()},running:C,resume:L,idle:x,length:N,getQueue:O,unshift:B,empty:No,kill:Q,killAndDrain:K,error:re};return b;function C(){return f}function _(){b.paused=!0}function N(){for(var te=c,ue=0;te;)te=te.next,ue++;return ue}function O(){for(var te=c,ue=[];te;)ue.push(te.value),te=te.next;return ue}function L(){if(b.paused){if(b.paused=!1,c===null){f++,V();return}for(;c&&f<o;)f++,V()}}function x(){return f===0&&b.length()===0}function D(te,ue){var oe=l.get();oe.context=n,oe.release=V,oe.value=te,oe.callback=ue||No,oe.errorHandler=y,f>=o||b.paused?p?(p.next=oe,p=oe):(c=oe,p=oe,b.saturated()):(f++,a.call(n,oe.value,oe.worked))}function B(te,ue){var oe=l.get();oe.context=n,oe.release=V,oe.value=te,oe.callback=ue||No,oe.errorHandler=y,f>=o||b.paused?c?(oe.next=c,c=oe):(c=oe,p=oe,b.saturated()):(f++,a.call(n,oe.value,oe.worked))}function V(te){te&&l.release(te);var ue=c;ue&&f<=o?b.paused?f--:(p===c&&(p=null),c=ue.next,ue.next=null,a.call(n,ue.value,ue.worked),p===null&&b.empty()):--f===0&&b.drain()}function Q(){c=null,p=null,b.drain=No}function K(){c=null,p=null,b.drain(),b.drain=No}function re(te){y=te}}function No(){}function GJ(){this.value=null,this.callback=No,this.next=null,this.release=No,this.context=null,this.errorHandler=null;var n=this;this.worked=function(a,o){var l=n.callback,c=n.errorHandler,p=n.value;n.value=null,n.callback=No,n.errorHandler&&c(a,p),l.call(n.context,a,o),n.release(n)}}function qJ(n,a,o){typeof n=="function"&&(o=a,a=n,n=null);function l(_,N){a.call(this,_).then(function(O){N(null,O)},N)}var c=CE(n,l,o),p=c.push,f=c.unshift;return c.push=y,c.unshift=b,c.drained=C,c;function y(_){var N=new Promise(function(O,L){p(_,function(x,D){if(x){L(x);return}O(D)})});return N.catch(No),N}function b(_){var N=new Promise(function(O,L){f(_,function(x,D){if(x){L(x);return}O(D)})});return N.catch(No),N}function C(){if(c.idle())return new Promise(function(O){O()});var _=c.drain,N=new Promise(function(O){c.drain=function(){_(),O()}});return N}}Ey.exports=CE;Ey.exports.promise=qJ;var EE=Ey.exports,_y={exports:{}},g0=typeof Reflect=="object"?Reflect:null,US=g0&&typeof g0.apply=="function"?g0.apply:function(n,a,o){return Function.prototype.apply.call(n,a,o)},Kh;g0&&typeof g0.ownKeys=="function"?Kh=g0.ownKeys:Object.getOwnPropertySymbols?Kh=function(n){return Object.getOwnPropertyNames(n).concat(Object.getOwnPropertySymbols(n))}:Kh=function(n){return Object.getOwnPropertyNames(n)};function WJ(n){console&&console.warn&&console.warn(n)}var _E=Number.isNaN||function(n){return n!==n};function Qt(){Qt.init.call(this)}_y.exports=Qt;_y.exports.once=ZJ;Qt.EventEmitter=Qt;Qt.prototype._events=void 0;Qt.prototype._eventsCount=0;Qt.prototype._maxListeners=void 0;var FS=10;function P6(n){if(typeof n!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof n)}Object.defineProperty(Qt,"defaultMaxListeners",{enumerable:!0,get:function(){return FS},set:function(n){if(typeof n!="number"||n<0||_E(n))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+n+".");FS=n}});Qt.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};Qt.prototype.setMaxListeners=function(n){if(typeof n!="number"||n<0||_E(n))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+n+".");return this._maxListeners=n,this};function IE(n){return n._maxListeners===void 0?Qt.defaultMaxListeners:n._maxListeners}Qt.prototype.getMaxListeners=function(){return IE(this)};Qt.prototype.emit=function(n){for(var a=[],o=1;o<arguments.length;o++)a.push(arguments[o]);var l=n==="error",c=this._events;if(c!==void 0)l=l&&c.error===void 0;else if(!l)return!1;if(l){var p;if(a.length>0&&(p=a[0]),p instanceof Error)throw p;var f=new Error("Unhandled error."+(p?" ("+p.message+")":""));throw f.context=p,f}var y=c[n];if(y===void 0)return!1;if(typeof y=="function")US(y,this,a);else for(var b=y.length,C=AE(y,b),o=0;o<b;++o)US(C[o],this,a);return!0};function NE(n,a,o,l){var c,p,f;if(P6(o),p=n._events,p===void 0?(p=n._events=Object.create(null),n._eventsCount=0):(p.newListener!==void 0&&(n.emit("newListener",a,o.listener?o.listener:o),p=n._events),f=p[a]),f===void 0)f=p[a]=o,++n._eventsCount;else if(typeof f=="function"?f=p[a]=l?[o,f]:[f,o]:l?f.unshift(o):f.push(o),c=IE(n),c>0&&f.length>c&&!f.warned){f.warned=!0;var y=new Error("Possible EventEmitter memory leak detected. "+f.length+" "+String(a)+" listeners added. Use emitter.setMaxListeners() to increase limit");y.name="MaxListenersExceededWarning",y.emitter=n,y.type=a,y.count=f.length,WJ(y)}return n}Qt.prototype.addListener=function(n,a){return NE(this,n,a,!1)};Qt.prototype.on=Qt.prototype.addListener;Qt.prototype.prependListener=function(n,a){return NE(this,n,a,!0)};function QJ(){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 RE(n,a,o){var l={fired:!1,wrapFn:void 0,target:n,type:a,listener:o},c=QJ.bind(l);return c.listener=o,l.wrapFn=c,c}Qt.prototype.once=function(n,a){return P6(a),this.on(n,RE(this,n,a)),this};Qt.prototype.prependOnceListener=function(n,a){return P6(a),this.prependListener(n,RE(this,n,a)),this};Qt.prototype.removeListener=function(n,a){var o,l,c,p,f;if(P6(a),l=this._events,l===void 0)return this;if(o=l[n],o===void 0)return this;if(o===a||o.listener===a)--this._eventsCount===0?this._events=Object.create(null):(delete l[n],l.removeListener&&this.emit("removeListener",n,o.listener||a));else if(typeof o!="function"){for(c=-1,p=o.length-1;p>=0;p--)if(o[p]===a||o[p].listener===a){f=o[p].listener,c=p;break}if(c<0)return this;c===0?o.shift():YJ(o,c),o.length===1&&(l[n]=o[0]),l.removeListener!==void 0&&this.emit("removeListener",n,f||a)}return this};Qt.prototype.off=Qt.prototype.removeListener;Qt.prototype.removeAllListeners=function(n){var a,o,l;if(o=this._events,o===void 0)return this;if(o.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):o[n]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete o[n]),this;if(arguments.length===0){var c=Object.keys(o),p;for(l=0;l<c.length;++l)p=c[l],p!=="removeListener"&&this.removeAllListeners(p);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(a=o[n],typeof a=="function")this.removeListener(n,a);else if(a!==void 0)for(l=a.length-1;l>=0;l--)this.removeListener(n,a[l]);return this};function OE(n,a,o){var l=n._events;if(l===void 0)return[];var c=l[a];return c===void 0?[]:typeof c=="function"?o?[c.listener||c]:[c]:o?KJ(c):AE(c,c.length)}Qt.prototype.listeners=function(n){return OE(this,n,!0)};Qt.prototype.rawListeners=function(n){return OE(this,n,!1)};Qt.listenerCount=function(n,a){return typeof n.listenerCount=="function"?n.listenerCount(a):LE.call(n,a)};Qt.prototype.listenerCount=LE;function LE(n){var a=this._events;if(a!==void 0){var o=a[n];if(typeof o=="function")return 1;if(o!==void 0)return o.length}return 0}Qt.prototype.eventNames=function(){return this._eventsCount>0?Kh(this._events):[]};function AE(n,a){for(var o=new Array(a),l=0;l<a;++l)o[l]=n[l];return o}function YJ(n,a){for(;a+1<n.length;a++)n[a]=n[a+1];n.pop()}function KJ(n){for(var a=new Array(n.length),o=0;o<a.length;++o)a[o]=n[o].listener||n[o];return a}function ZJ(n,a){return new Promise(function(o,l){function c(f){n.removeListener(a,p),l(f)}function p(){typeof n.removeListener=="function"&&n.removeListener("error",c),o([].slice.call(arguments))}xE(n,a,p,{once:!0}),a!=="error"&&XJ(n,c,{once:!0})})}function XJ(n,a,o){typeof n.on=="function"&&xE(n,"error",a,o)}function xE(n,a,o,l){if(typeof n.on=="function")l.once?n.once(a,o):n.on(a,o);else if(typeof n.addEventListener=="function")n.addEventListener(a,function c(p){l.once&&n.removeEventListener(a,c),o(p)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof n)}var PE=_y.exports,M6={},ME={},DE=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var n={},a=Symbol("test"),o=Object(a);if(typeof a=="string"||Object.prototype.toString.call(a)!=="[object Symbol]"||Object.prototype.toString.call(o)!=="[object Symbol]")return!1;var l=42;n[a]=l;for(a in n)return!1;if(typeof Object.keys=="function"&&Object.keys(n).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(n).length!==0)return!1;var c=Object.getOwnPropertySymbols(n);if(c.length!==1||c[0]!==a||!Object.prototype.propertyIsEnumerable.call(n,a))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var p=Object.getOwnPropertyDescriptor(n,a);if(p.value!==l||p.enumerable!==!0)return!1}return!0},JJ=DE,D6=function(){return JJ()&&!!Symbol.toStringTag},eee=Error,tee=EvalError,nee=RangeError,aee=ReferenceError,UE=SyntaxError,U6=TypeError,ree=URIError,VS=typeof Symbol<"u"&&Symbol,oee=DE,see=function(){return typeof VS!="function"||typeof Symbol!="function"||typeof VS("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:oee()},$5={__proto__:null,foo:{}},iee=Object,lee=function(){return{__proto__:$5}.foo===$5.foo&&!($5 instanceof iee)},uee="Function.prototype.bind called on incompatible ",cee=Object.prototype.toString,dee=Math.max,mee="[object Function]",BS=function(n,a){for(var o=[],l=0;l<n.length;l+=1)o[l]=n[l];for(var c=0;c<a.length;c+=1)o[c+n.length]=a[c];return o},fee=function(n,a){for(var o=[],l=a,c=0;l<n.length;l+=1,c+=1)o[c]=n[l];return o},pee=function(n,a){for(var o="",l=0;l<n.length;l+=1)o+=n[l],l+1<n.length&&(o+=a);return o},hee=function(n){var a=this;if(typeof a!="function"||cee.apply(a)!==mee)throw new TypeError(uee+a);for(var o=fee(arguments,1),l,c=function(){if(this instanceof l){var C=a.apply(this,BS(o,arguments));return Object(C)===C?C:this}return a.apply(n,BS(o,arguments))},p=dee(0,a.length-o.length),f=[],y=0;y<p;y++)f[y]="$"+y;if(l=Function("binder","return function ("+pee(f,",")+"){ return binder.apply(this,arguments); }")(c),a.prototype){var b=function(){};b.prototype=a.prototype,l.prototype=new b,b.prototype=null}return l},gee=hee,Iy=Function.prototype.bind||gee,yee=Function.prototype.call,vee=Object.prototype.hasOwnProperty,Tee=Iy,bee=Tee.call(yee,vee),Lt,kee=eee,See=tee,wee=nee,Cee=aee,S0=UE,y0=U6,Eee=ree,FE=Function,z5=function(n){try{return FE('"use strict"; return ('+n+").constructor;")()}catch{}},ed=Object.getOwnPropertyDescriptor;if(ed)try{ed({},"")}catch{ed=null}var H5=function(){throw new y0},_ee=ed?function(){try{return arguments.callee,H5}catch{try{return ed(arguments,"callee").get}catch{return H5}}}():H5,r0=see(),Iee=lee(),Sa=Object.getPrototypeOf||(Iee?function(n){return n.__proto__}:null),s0={},Nee=typeof Uint8Array>"u"||!Sa?Lt:Sa(Uint8Array),td={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?Lt:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?Lt:ArrayBuffer,"%ArrayIteratorPrototype%":r0&&Sa?Sa([][Symbol.iterator]()):Lt,"%AsyncFromSyncIteratorPrototype%":Lt,"%AsyncFunction%":s0,"%AsyncGenerator%":s0,"%AsyncGeneratorFunction%":s0,"%AsyncIteratorPrototype%":s0,"%Atomics%":typeof Atomics>"u"?Lt:Atomics,"%BigInt%":typeof BigInt>"u"?Lt:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?Lt:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?Lt:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?Lt:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":kee,"%eval%":eval,"%EvalError%":See,"%Float32Array%":typeof Float32Array>"u"?Lt:Float32Array,"%Float64Array%":typeof Float64Array>"u"?Lt:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?Lt:FinalizationRegistry,"%Function%":FE,"%GeneratorFunction%":s0,"%Int8Array%":typeof Int8Array>"u"?Lt:Int8Array,"%Int16Array%":typeof Int16Array>"u"?Lt:Int16Array,"%Int32Array%":typeof Int32Array>"u"?Lt:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":r0&&Sa?Sa(Sa([][Symbol.iterator]())):Lt,"%JSON%":typeof JSON=="object"?JSON:Lt,"%Map%":typeof Map>"u"?Lt:Map,"%MapIteratorPrototype%":typeof Map>"u"||!r0||!Sa?Lt:Sa(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?Lt:Promise,"%Proxy%":typeof Proxy>"u"?Lt:Proxy,"%RangeError%":wee,"%ReferenceError%":Cee,"%Reflect%":typeof Reflect>"u"?Lt:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?Lt:Set,"%SetIteratorPrototype%":typeof Set>"u"||!r0||!Sa?Lt:Sa(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?Lt:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":r0&&Sa?Sa(""[Symbol.iterator]()):Lt,"%Symbol%":r0?Symbol:Lt,"%SyntaxError%":S0,"%ThrowTypeError%":_ee,"%TypedArray%":Nee,"%TypeError%":y0,"%Uint8Array%":typeof Uint8Array>"u"?Lt:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?Lt:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?Lt:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?Lt:Uint32Array,"%URIError%":Eee,"%WeakMap%":typeof WeakMap>"u"?Lt:WeakMap,"%WeakRef%":typeof WeakRef>"u"?Lt:WeakRef,"%WeakSet%":typeof WeakSet>"u"?Lt:WeakSet};if(Sa)try{null.error}catch(n){var Ree=Sa(Sa(n));td["%Error.prototype%"]=Ree}var Oee=function n(a){var o;if(a==="%AsyncFunction%")o=z5("async function () {}");else if(a==="%GeneratorFunction%")o=z5("function* () {}");else if(a==="%AsyncGeneratorFunction%")o=z5("async function* () {}");else if(a==="%AsyncGenerator%"){var l=n("%AsyncGeneratorFunction%");l&&(o=l.prototype)}else if(a==="%AsyncIteratorPrototype%"){var c=n("%AsyncGenerator%");c&&Sa&&(o=Sa(c.prototype))}return td[a]=o,o},jS={__proto__:null,"%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"]},g2=Iy,p6=bee,Lee=g2.call(Function.call,Array.prototype.concat),Aee=g2.call(Function.apply,Array.prototype.splice),$S=g2.call(Function.call,String.prototype.replace),h6=g2.call(Function.call,String.prototype.slice),xee=g2.call(Function.call,RegExp.prototype.exec),Pee=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Mee=/\\(\\)?/g,Dee=function(n){var a=h6(n,0,1),o=h6(n,-1);if(a==="%"&&o!=="%")throw new S0("invalid intrinsic syntax, expected closing `%`");if(o==="%"&&a!=="%")throw new S0("invalid intrinsic syntax, expected opening `%`");var l=[];return $S(n,Pee,function(c,p,f,y){l[l.length]=f?$S(y,Mee,"$1"):p||c}),l},Uee=function(n,a){var o=n,l;if(p6(jS,o)&&(l=jS[o],o="%"+l[0]+"%"),p6(td,o)){var c=td[o];if(c===s0&&(c=Oee(o)),typeof c>"u"&&!a)throw new y0("intrinsic "+n+" exists, but is not available. Please file an issue!");return{alias:l,name:o,value:c}}throw new S0("intrinsic "+n+" does not exist!")},y2=function(n,a){if(typeof n!="string"||n.length===0)throw new y0("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof a!="boolean")throw new y0('"allowMissing" argument must be a boolean');if(xee(/^%?[^%]*%?$/,n)===null)throw new S0("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var o=Dee(n),l=o.length>0?o[0]:"",c=Uee("%"+l+"%",a),p=c.name,f=c.value,y=!1,b=c.alias;b&&(l=b[0],Aee(o,Lee([0,1],b)));for(var C=1,_=!0;C<o.length;C+=1){var N=o[C],O=h6(N,0,1),L=h6(N,-1);if((O==='"'||O==="'"||O==="`"||L==='"'||L==="'"||L==="`")&&O!==L)throw new S0("property names with quotes must have matching quotes");if((N==="constructor"||!_)&&(y=!0),l+="."+N,p="%"+l+"%",p6(td,p))f=td[p];else if(f!=null){if(!(N in f)){if(!a)throw new y0("base intrinsic for "+n+" exists, but the property is not available.");return}if(ed&&C+1>=o.length){var x=ed(f,N);_=!!x,_&&"get"in x&&!("originalValue"in x.get)?f=x.get:f=f[N]}else _=p6(f,N),f=f[N];_&&!y&&(td[p]=f)}}return f},VE={exports:{}},G5,zS;function Ny(){if(zS)return G5;zS=1;var n=y2,a=n("%Object.defineProperty%",!0)||!1;if(a)try{a({},"a",{value:1})}catch{a=!1}return G5=a,G5}var Fee=y2,Zh=Fee("%Object.getOwnPropertyDescriptor%",!0);if(Zh)try{Zh([],"length")}catch{Zh=null}var F6=Zh,HS=Ny(),Vee=UE,o0=U6,GS=F6,Bee=function(n,a,o){if(!n||typeof n!="object"&&typeof n!="function")throw new o0("`obj` must be an object or a function`");if(typeof a!="string"&&typeof a!="symbol")throw new o0("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new o0("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new o0("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new o0("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new o0("`loose`, if provided, must be a boolean");var l=arguments.length>3?arguments[3]:null,c=arguments.length>4?arguments[4]:null,p=arguments.length>5?arguments[5]:null,f=arguments.length>6?arguments[6]:!1,y=!!GS&&GS(n,a);if(HS)HS(n,a,{configurable:p===null&&y?y.configurable:!p,enumerable:l===null&&y?y.enumerable:!l,value:o,writable:c===null&&y?y.writable:!c});else if(f||!l&&!c&&!p)n[a]=o;else throw new Vee("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},x9=Ny(),BE=function(){return!!x9};BE.hasArrayLengthDefineBug=function(){if(!x9)return null;try{return x9([],"length",{value:1}).length!==1}catch{return!0}};var jee=BE,$ee=y2,qS=Bee,zee=jee(),WS=F6,QS=U6,Hee=$ee("%Math.floor%"),Gee=function(n,a){if(typeof n!="function")throw new QS("`fn` is not a function");if(typeof a!="number"||a<0||a>4294967295||Hee(a)!==a)throw new QS("`length` must be a positive 32-bit integer");var o=arguments.length>2&&!!arguments[2],l=!0,c=!0;if("length"in n&&WS){var p=WS(n,"length");p&&!p.configurable&&(l=!1),p&&!p.writable&&(c=!1)}return(l||c||!o)&&(zee?qS(n,"length",a,!0,!0):qS(n,"length",a)),n};(function(n){var a=Iy,o=y2,l=Gee,c=U6,p=o("%Function.prototype.apply%"),f=o("%Function.prototype.call%"),y=o("%Reflect.apply%",!0)||a.call(f,p),b=Ny(),C=o("%Math.max%");n.exports=function(N){if(typeof N!="function")throw new c("a function is required");var O=y(a,f,arguments);return l(O,1+C(0,N.length-(arguments.length-1)),!0)};var _=function(){return y(a,p,arguments)};b?b(n.exports,"apply",{value:_}):n.exports.apply=_})(VE);var Ry=VE.exports,jE=y2,$E=Ry,qee=$E(jE("String.prototype.indexOf")),Oy=function(n,a){var o=jE(n,!!a);return typeof o=="function"&&qee(n,".prototype.")>-1?$E(o):o},Wee=D6(),Qee=Oy,P9=Qee("Object.prototype.toString"),V6=function(n){return Wee&&n&&typeof n=="object"&&Symbol.toStringTag in n?!1:P9(n)==="[object Arguments]"},zE=function(n){return V6(n)?!0:n!==null&&typeof n=="object"&&typeof n.length=="number"&&n.length>=0&&P9(n)!=="[object Array]"&&P9(n.callee)==="[object Function]"},Yee=function(){return V6(arguments)}();V6.isLegacyArguments=zE;var Kee=Yee?V6:zE,Zee=Object.prototype.toString,Xee=Function.prototype.toString,Jee=/^\s*(?:function)?\*/,HE=D6(),q5=Object.getPrototypeOf,ete=function(){if(!HE)return!1;try{return Function("return function*() {}")()}catch{}},W5,tte=function(n){if(typeof n!="function")return!1;if(Jee.test(Xee.call(n)))return!0;if(!HE){var a=Zee.call(n);return a==="[object GeneratorFunction]"}if(!q5)return!1;if(typeof W5>"u"){var o=ete();W5=o?q5(o):!1}return q5(n)===W5},GE=Function.prototype.toString,c0=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,M9,Xh;if(typeof c0=="function"&&typeof Object.defineProperty=="function")try{M9=Object.defineProperty({},"length",{get:function(){throw Xh}}),Xh={},c0(function(){throw 42},null,M9)}catch(n){n!==Xh&&(c0=null)}else c0=null;var nte=/^\s*class\b/,D9=function(n){try{var a=GE.call(n);return nte.test(a)}catch{return!1}},Q5=function(n){try{return D9(n)?!1:(GE.call(n),!0)}catch{return!1}},Jh=Object.prototype.toString,ate="[object Object]",rte="[object Function]",ote="[object GeneratorFunction]",ste="[object HTMLAllCollection]",ite="[object HTML document.all class]",lte="[object HTMLCollection]",ute=typeof Symbol=="function"&&!!Symbol.toStringTag,cte=!(0 in[,]),U9=function(){return!1};if(typeof document=="object"){var dte=document.all;Jh.call(dte)===Jh.call(document.all)&&(U9=function(n){if((cte||!n)&&(typeof n>"u"||typeof n=="object"))try{var a=Jh.call(n);return(a===ste||a===ite||a===lte||a===ate)&&n("")==null}catch{}return!1})}var mte=c0?function(n){if(U9(n))return!0;if(!n||typeof n!="function"&&typeof n!="object")return!1;try{c0(n,null,M9)}catch(a){if(a!==Xh)return!1}return!D9(n)&&Q5(n)}:function(n){if(U9(n))return!0;if(!n||typeof n!="function"&&typeof n!="object")return!1;if(ute)return Q5(n);if(D9(n))return!1;var a=Jh.call(n);return a!==rte&&a!==ote&&!/^\[object HTML/.test(a)?!1:Q5(n)},fte=mte,pte=Object.prototype.toString,qE=Object.prototype.hasOwnProperty,hte=function(n,a,o){for(var l=0,c=n.length;l<c;l++)qE.call(n,l)&&(o==null?a(n[l],l,n):a.call(o,n[l],l,n))},gte=function(n,a,o){for(var l=0,c=n.length;l<c;l++)o==null?a(n.charAt(l),l,n):a.call(o,n.charAt(l),l,n)},yte=function(n,a,o){for(var l in n)qE.call(n,l)&&(o==null?a(n[l],l,n):a.call(o,n[l],l,n))},vte=function(n,a,o){if(!fte(a))throw new TypeError("iterator must be a function");var l;arguments.length>=3&&(l=o),pte.call(n)==="[object Array]"?hte(n,a,l):typeof n=="string"?gte(n,a,l):yte(n,a,l)},WE=vte,Tte=["Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"],Y5=Tte,bte=typeof globalThis>"u"?wy:globalThis,QE=function(){for(var n=[],a=0;a<Y5.length;a++)typeof bte[Y5[a]]=="function"&&(n[n.length]=Y5[a]);return n},g6=WE,kte=QE,YS=Ry,Ly=Oy,e6=F6,Ste=Ly("Object.prototype.toString"),YE=D6(),KS=typeof globalThis>"u"?wy:globalThis,F9=kte(),Ay=Ly("String.prototype.slice"),K5=Object.getPrototypeOf,wte=Ly("Array.prototype.indexOf",!0)||function(n,a){for(var o=0;o<n.length;o+=1)if(n[o]===a)return o;return-1},y6={__proto__:null};YE&&e6&&K5?g6(F9,function(n){var a=new KS[n];if(Symbol.toStringTag in a){var o=K5(a),l=e6(o,Symbol.toStringTag);if(!l){var c=K5(o);l=e6(c,Symbol.toStringTag)}y6["$"+n]=YS(l.get)}}):g6(F9,function(n){var a=new KS[n],o=a.slice||a.set;o&&(y6["$"+n]=YS(o))});var Cte=function(n){var a=!1;return g6(y6,function(o,l){if(!a)try{"$"+o(n)===l&&(a=Ay(l,1))}catch{}}),a},Ete=function(n){var a=!1;return g6(y6,function(o,l){if(!a)try{o(n),a=Ay(l,1)}catch{}}),a},_te=function(n){if(!n||typeof n!="object")return!1;if(!YE){var a=Ay(Ste(n),8,-1);return wte(F9,a)>-1?a:a!=="Object"?!1:Ete(n)}return e6?Cte(n):null},v6=WE,Ite=QE,ZS=Ry,xy=Oy,t6=F6,Nte=xy("Object.prototype.toString"),KE=D6(),XS=typeof globalThis>"u"?wy:globalThis,V9=Ite(),Py=xy("String.prototype.slice"),Z5=Object.getPrototypeOf,Rte=xy("Array.prototype.indexOf",!0)||function(n,a){for(var o=0;o<n.length;o+=1)if(n[o]===a)return o;return-1},T6={__proto__:null};KE&&t6&&Z5?v6(V9,function(n){var a=new XS[n];if(Symbol.toStringTag in a){var o=Z5(a),l=t6(o,Symbol.toStringTag);if(!l){var c=Z5(o);l=t6(c,Symbol.toStringTag)}T6["$"+n]=ZS(l.get)}}):v6(V9,function(n){var a=new XS[n],o=a.slice||a.set;o&&(T6["$"+n]=ZS(o))});var Ote=function(n){var a=!1;return v6(T6,function(o,l){if(!a)try{"$"+o(n)===l&&(a=Py(l,1))}catch{}}),a},Lte=function(n){var a=!1;return v6(T6,function(o,l){if(!a)try{o(n),a=Py(l,1)}catch{}}),a},Ate=function(n){if(!n||typeof n!="object")return!1;if(!KE){var a=Py(Nte(n),8,-1);return Rte(V9,a)>-1?a:a!=="Object"?!1:Lte(n)}return t6?Ote(n):null},xte=Ate,Pte=function(n){return!!xte(n)};(function(n){var a=Kee,o=tte,l=_te,c=Pte;function p(me){return me.call.bind(me)}var f=typeof BigInt<"u",y=typeof Symbol<"u",b=p(Object.prototype.toString),C=p(Number.prototype.valueOf),_=p(String.prototype.valueOf),N=p(Boolean.prototype.valueOf);if(f)var O=p(BigInt.prototype.valueOf);if(y)var L=p(Symbol.prototype.valueOf);function x(me,Ao){if(typeof me!="object")return!1;try{return Ao(me),!0}catch{return!1}}n.isArgumentsObject=a,n.isGeneratorFunction=o,n.isTypedArray=c;function D(me){return typeof Promise<"u"&&me instanceof Promise||me!==null&&typeof me=="object"&&typeof me.then=="function"&&typeof me.catch=="function"}n.isPromise=D;function B(me){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(me):c(me)||se(me)}n.isArrayBufferView=B;function V(me){return l(me)==="Uint8Array"}n.isUint8Array=V;function Q(me){return l(me)==="Uint8ClampedArray"}n.isUint8ClampedArray=Q;function K(me){return l(me)==="Uint16Array"}n.isUint16Array=K;function re(me){return l(me)==="Uint32Array"}n.isUint32Array=re;function te(me){return l(me)==="Int8Array"}n.isInt8Array=te;function ue(me){return l(me)==="Int16Array"}n.isInt16Array=ue;function oe(me){return l(me)==="Int32Array"}n.isInt32Array=oe;function Ne(me){return l(me)==="Float32Array"}n.isFloat32Array=Ne;function de(me){return l(me)==="Float64Array"}n.isFloat64Array=de;function Fe(me){return l(me)==="BigInt64Array"}n.isBigInt64Array=Fe;function De(me){return l(me)==="BigUint64Array"}n.isBigUint64Array=De;function Pe(me){return b(me)==="[object Map]"}Pe.working=typeof Map<"u"&&Pe(new Map);function ke(me){return typeof Map>"u"?!1:Pe.working?Pe(me):me instanceof Map}n.isMap=ke;function $e(me){return b(me)==="[object Set]"}$e.working=typeof Set<"u"&&$e(new Set);function it(me){return typeof Set>"u"?!1:$e.working?$e(me):me instanceof Set}n.isSet=it;function Rt(me){return b(me)==="[object WeakMap]"}Rt.working=typeof WeakMap<"u"&&Rt(new WeakMap);function Qn(me){return typeof WeakMap>"u"?!1:Rt.working?Rt(me):me instanceof WeakMap}n.isWeakMap=Qn;function Se(me){return b(me)==="[object WeakSet]"}Se.working=typeof WeakSet<"u"&&Se(new WeakSet);function Me(me){return Se(me)}n.isWeakSet=Me;function Ce(me){return b(me)==="[object ArrayBuffer]"}Ce.working=typeof ArrayBuffer<"u"&&Ce(new ArrayBuffer);function dt(me){return typeof ArrayBuffer>"u"?!1:Ce.working?Ce(me):me instanceof ArrayBuffer}n.isArrayBuffer=dt;function z(me){return b(me)==="[object DataView]"}z.working=typeof ArrayBuffer<"u"&&typeof DataView<"u"&&z(new DataView(new ArrayBuffer(1),0,1));function se(me){return typeof DataView>"u"?!1:z.working?z(me):me instanceof DataView}n.isDataView=se;var pe=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:void 0;function Ye(me){return b(me)==="[object SharedArrayBuffer]"}function gt(me){return typeof pe>"u"?!1:(typeof Ye.working>"u"&&(Ye.working=Ye(new pe)),Ye.working?Ye(me):me instanceof pe)}n.isSharedArrayBuffer=gt;function lt(me){return b(me)==="[object AsyncFunction]"}n.isAsyncFunction=lt;function tt(me){return b(me)==="[object Map Iterator]"}n.isMapIterator=tt;function ut(me){return b(me)==="[object Set Iterator]"}n.isSetIterator=ut;function _t(me){return b(me)==="[object Generator]"}n.isGeneratorObject=_t;function Yt(me){return b(me)==="[object WebAssembly.Module]"}n.isWebAssemblyCompiledModule=Yt;function In(me){return x(me,C)}n.isNumberObject=In;function Gt(me){return x(me,_)}n.isStringObject=Gt;function nn(me){return x(me,N)}n.isBooleanObject=nn;function Nt(me){return f&&x(me,O)}n.isBigIntObject=Nt;function sn(me){return y&&x(me,L)}n.isSymbolObject=sn;function Nn(me){return In(me)||Gt(me)||nn(me)||Nt(me)||sn(me)}n.isBoxedPrimitive=Nn;function Wr(me){return typeof Uint8Array<"u"&&(dt(me)||gt(me))}n.isAnyArrayBuffer=Wr,["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(me){Object.defineProperty(n,me,{enumerable:!1,value:function(){throw new Error(me+" is not supported in userland")}})})})(ME);var Mte=function(n){return n&&typeof n=="object"&&typeof n.copy=="function"&&typeof n.fill=="function"&&typeof n.readUInt8=="function"},B9={exports:{}};typeof Object.create=="function"?B9.exports=function(n,a){a&&(n.super_=a,n.prototype=Object.create(a.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}))}:B9.exports=function(n,a){if(a){n.super_=a;var o=function(){};o.prototype=a.prototype,n.prototype=new o,n.prototype.constructor=n}};var Dte=B9.exports;(function(n){var a=Object.getOwnPropertyDescriptors||function(z){for(var se=Object.keys(z),pe={},Ye=0;Ye<se.length;Ye++)pe[se[Ye]]=Object.getOwnPropertyDescriptor(z,se[Ye]);return pe},o=/%[sdj%]/g;n.format=function(z){if(!te(z)){for(var se=[],pe=0;pe<arguments.length;pe++)se.push(f(arguments[pe]));return se.join(" ")}for(var pe=1,Ye=arguments,gt=Ye.length,lt=String(z).replace(o,function(_t){if(_t==="%%")return"%";if(pe>=gt)return _t;switch(_t){case"%s":return String(Ye[pe++]);case"%d":return Number(Ye[pe++]);case"%j":try{return JSON.stringify(Ye[pe++])}catch{return"[Circular]"}default:return _t}}),tt=Ye[pe];pe<gt;tt=Ye[++pe])Q(tt)||!de(tt)?lt+=" "+tt:lt+=" "+f(tt);return lt},n.deprecate=function(z,se){if(typeof St<"u"&&St.noDeprecation===!0)return z;if(typeof St>"u")return function(){return n.deprecate(z,se).apply(this,arguments)};var pe=!1;function Ye(){if(!pe){if(St.throwDeprecation)throw new Error(se);St.traceDeprecation?console.trace(se):console.error(se),pe=!0}return z.apply(this,arguments)}return Ye};var l={},c=/^$/;if(St.env.NODE_DEBUG){var p=St.env.NODE_DEBUG;p=p.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),c=new RegExp("^"+p+"$","i")}n.debuglog=function(z){if(z=z.toUpperCase(),!l[z])if(c.test(z)){var se=St.pid;l[z]=function(){var pe=n.format.apply(n,arguments);console.error("%s %d: %s",z,se,pe)}}else l[z]=function(){};return l[z]};function f(z,se){var pe={seen:[],stylize:b};return arguments.length>=3&&(pe.depth=arguments[2]),arguments.length>=4&&(pe.colors=arguments[3]),V(se)?pe.showHidden=se:se&&n._extend(pe,se),oe(pe.showHidden)&&(pe.showHidden=!1),oe(pe.depth)&&(pe.depth=2),oe(pe.colors)&&(pe.colors=!1),oe(pe.customInspect)&&(pe.customInspect=!0),pe.colors&&(pe.stylize=y),_(pe,z,pe.depth)}n.inspect=f,f.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]},f.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function y(z,se){var pe=f.styles[se];return pe?"\x1B["+f.colors[pe][0]+"m"+z+"\x1B["+f.colors[pe][1]+"m":z}function b(z,se){return z}function C(z){var se={};return z.forEach(function(pe,Ye){se[pe]=!0}),se}function _(z,se,pe){if(z.customInspect&&se&&Pe(se.inspect)&&se.inspect!==n.inspect&&!(se.constructor&&se.constructor.prototype===se)){var Ye=se.inspect(pe,z);return te(Ye)||(Ye=_(z,Ye,pe)),Ye}var gt=N(z,se);if(gt)return gt;var lt=Object.keys(se),tt=C(lt);if(z.showHidden&&(lt=Object.getOwnPropertyNames(se)),De(se)&&(lt.indexOf("message")>=0||lt.indexOf("description")>=0))return O(se);if(lt.length===0){if(Pe(se)){var ut=se.name?": "+se.name:"";return z.stylize("[Function"+ut+"]","special")}if(Ne(se))return z.stylize(RegExp.prototype.toString.call(se),"regexp");if(Fe(se))return z.stylize(Date.prototype.toString.call(se),"date");if(De(se))return O(se)}var _t="",Yt=!1,In=["{","}"];if(B(se)&&(Yt=!0,In=["[","]"]),Pe(se)){var Gt=se.name?": "+se.name:"";_t=" [Function"+Gt+"]"}if(Ne(se)&&(_t=" "+RegExp.prototype.toString.call(se)),Fe(se)&&(_t=" "+Date.prototype.toUTCString.call(se)),De(se)&&(_t=" "+O(se)),lt.length===0&&(!Yt||se.length==0))return In[0]+_t+In[1];if(pe<0)return Ne(se)?z.stylize(RegExp.prototype.toString.call(se),"regexp"):z.stylize("[Object]","special");z.seen.push(se);var nn;return Yt?nn=L(z,se,pe,tt,lt):nn=lt.map(function(Nt){return x(z,se,pe,tt,Nt,Yt)}),z.seen.pop(),D(nn,_t,In)}function N(z,se){if(oe(se))return z.stylize("undefined","undefined");if(te(se)){var pe="'"+JSON.stringify(se).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return z.stylize(pe,"string")}if(re(se))return z.stylize(""+se,"number");if(V(se))return z.stylize(""+se,"boolean");if(Q(se))return z.stylize("null","null")}function O(z){return"["+Error.prototype.toString.call(z)+"]"}function L(z,se,pe,Ye,gt){for(var lt=[],tt=0,ut=se.length;tt<ut;++tt)Se(se,String(tt))?lt.push(x(z,se,pe,Ye,String(tt),!0)):lt.push("");return gt.forEach(function(_t){_t.match(/^\d+$/)||lt.push(x(z,se,pe,Ye,_t,!0))}),lt}function x(z,se,pe,Ye,gt,lt){var tt,ut,_t;if(_t=Object.getOwnPropertyDescriptor(se,gt)||{value:se[gt]},_t.get?_t.set?ut=z.stylize("[Getter/Setter]","special"):ut=z.stylize("[Getter]","special"):_t.set&&(ut=z.stylize("[Setter]","special")),Se(Ye,gt)||(tt="["+gt+"]"),ut||(z.seen.indexOf(_t.value)<0?(Q(pe)?ut=_(z,_t.value,null):ut=_(z,_t.value,pe-1),ut.indexOf(`
207
+ `)>-1&&(lt?ut=ut.split(`
208
+ `).map(function(Yt){return" "+Yt}).join(`
209
+ `).slice(2):ut=`
210
+ `+ut.split(`
211
+ `).map(function(Yt){return" "+Yt}).join(`
212
+ `))):ut=z.stylize("[Circular]","special")),oe(tt)){if(lt&&gt.match(/^\d+$/))return ut;tt=JSON.stringify(""+gt),tt.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(tt=tt.slice(1,-1),tt=z.stylize(tt,"name")):(tt=tt.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),tt=z.stylize(tt,"string"))}return tt+": "+ut}function D(z,se,pe){var Ye=z.reduce(function(gt,lt){return lt.indexOf(`
213
+ `)>=0,gt+lt.replace(/\u001b\[\d\d?m/g,"").length+1},0);return Ye>60?pe[0]+(se===""?"":se+`
214
+ `)+" "+z.join(`,
215
+ `)+" "+pe[1]:pe[0]+se+" "+z.join(", ")+" "+pe[1]}n.types=ME;function B(z){return Array.isArray(z)}n.isArray=B;function V(z){return typeof z=="boolean"}n.isBoolean=V;function Q(z){return z===null}n.isNull=Q;function K(z){return z==null}n.isNullOrUndefined=K;function re(z){return typeof z=="number"}n.isNumber=re;function te(z){return typeof z=="string"}n.isString=te;function ue(z){return typeof z=="symbol"}n.isSymbol=ue;function oe(z){return z===void 0}n.isUndefined=oe;function Ne(z){return de(z)&&$e(z)==="[object RegExp]"}n.isRegExp=Ne,n.types.isRegExp=Ne;function de(z){return typeof z=="object"&&z!==null}n.isObject=de;function Fe(z){return de(z)&&$e(z)==="[object Date]"}n.isDate=Fe,n.types.isDate=Fe;function De(z){return de(z)&&($e(z)==="[object Error]"||z instanceof Error)}n.isError=De,n.types.isNativeError=De;function Pe(z){return typeof z=="function"}n.isFunction=Pe;function ke(z){return z===null||typeof z=="boolean"||typeof z=="number"||typeof z=="string"||typeof z=="symbol"||typeof z>"u"}n.isPrimitive=ke,n.isBuffer=Mte;function $e(z){return Object.prototype.toString.call(z)}function it(z){return z<10?"0"+z.toString(10):z.toString(10)}var Rt=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function Qn(){var z=new Date,se=[it(z.getHours()),it(z.getMinutes()),it(z.getSeconds())].join(":");return[z.getDate(),Rt[z.getMonth()],se].join(" ")}n.log=function(){console.log("%s - %s",Qn(),n.format.apply(n,arguments))},n.inherits=Dte,n._extend=function(z,se){if(!se||!de(se))return z;for(var pe=Object.keys(se),Ye=pe.length;Ye--;)z[pe[Ye]]=se[pe[Ye]];return z};function Se(z,se){return Object.prototype.hasOwnProperty.call(z,se)}var Me=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;n.promisify=function(z){if(typeof z!="function")throw new TypeError('The "original" argument must be of type Function');if(Me&&z[Me]){var se=z[Me];if(typeof se!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(se,Me,{value:se,enumerable:!1,writable:!1,configurable:!0}),se}function se(){for(var pe,Ye,gt=new Promise(function(ut,_t){pe=ut,Ye=_t}),lt=[],tt=0;tt<arguments.length;tt++)lt.push(arguments[tt]);lt.push(function(ut,_t){ut?Ye(ut):pe(_t)});try{z.apply(this,lt)}catch(ut){Ye(ut)}return gt}return Object.setPrototypeOf(se,Object.getPrototypeOf(z)),Me&&Object.defineProperty(se,Me,{value:se,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(se,a(z))},n.promisify.custom=Me;function Ce(z,se){if(!z){var pe=new Error("Promise was rejected with a falsy value");pe.reason=z,z=pe}return se(z)}function dt(z){if(typeof z!="function")throw new TypeError('The "original" argument must be of type Function');function se(){for(var pe=[],Ye=0;Ye<arguments.length;Ye++)pe.push(arguments[Ye]);var gt=pe.pop();if(typeof gt!="function")throw new TypeError("The last argument must be of type Function");var lt=this,tt=function(){return gt.apply(lt,arguments)};z.apply(this,pe).then(function(ut){St.nextTick(tt.bind(null,null,ut))},function(ut){St.nextTick(Ce.bind(null,ut,tt))})}return Object.setPrototypeOf(se,Object.getPrototypeOf(z)),Object.defineProperties(se,a(z)),se}n.callbackify=dt})(M6);const{inherits:Ute,format:X5}=M6;function Gc(n,a,o=Error){if(!n)throw new Error("Avvio error code must not be empty");if(!a)throw new Error("Avvio base error message must not be empty");function l(c,p,f){if(!new.target)return new l(c,p,f);Error.captureStackTrace(this,l),this.code=n,this.message=a,this.name="AvvioError",c&&p&&f?this.message=X5(a,c,p,f):c&&p?this.message=X5(a,c,p):c?this.message=X5(a,c):this.message=a}return l.prototype[Symbol.toStringTag]="Error",l.prototype.toString=function(){return`${this.name} [${this.code}]: ${this.message}`},Ute(l,o),l}var ZE={createError:Gc,AVV_ERR_EXPOSE_ALREADY_DEFINED:Gc("AVV_ERR_EXPOSE_ALREADY_DEFINED","'%s' () is already defined, specify an expose option"),AVV_ERR_CALLBACK_NOT_FN:Gc("AVV_ERR_CALLBACK_NOT_FN","Callback for '%s' hook is not a function. Received: '%s'"),AVV_ERR_PLUGIN_NOT_VALID:Gc("AVV_ERR_PLUGIN_NOT_VALID","Plugin must be a function or a promise. Received: '%s'"),AVV_ERR_ROOT_PLG_BOOTED:Gc("AVV_ERR_PLUGIN_NOT_VALID","Root plugin has already booted"),AVV_ERR_PARENT_PLG_LOADED:Gc("AVV_ERR_PARENT_PLG_LOADED","Impossible to load '%s' plugin because the parent '%s' was already loaded"),AVV_ERR_READY_TIMEOUT:Gc("AVV_ERR_READY_TIMEOUT","Plugin did not start in time: '%s'. You may have forgotten to call 'done' function or to resolve a Promise")},Fte=function n(a,o,l){o===void 0&&(o=""),l||(l={});var c=function(b){var C={"│":"|","└":"`","├":"+","─":"-","┬":"-"};return l.unicode===!1?C[b]:b};typeof a=="string"&&(a={label:a});var p=a.nodes||[],f=(a.label||"").split(`
216
+ `),y=`
217
+ `+o+(p.length?c("│"):" ")+" ";return o+f.join(y)+`
218
+ `+p.map(function(b,C){var _=C===p.length-1,N=b.nodes&&b.nodes.length,O=o+(_?" ":c("│"))+" ";return o+c(_?"└":"├")+c("─")+c(N?"┬":"─")+" "+n(b,O,l).slice(o.length+2)}).join("")};const Vte=Fte,JS=Symbol("avvio.TimeTree.untrackNode"),J5=Symbol("avvio.TimeTree.trackNode"),ew=Symbol("avvio.TimeTree.getParent"),tw=Symbol("avvio.TimeTree.getNode"),nw=Symbol("avvio.TimeTree.addNode");let Bte=class{constructor(){this.root=null,this.tableId=new Map,this.tableLabel=new Map}[J5](n){this.tableId.set(n.id,n),this.tableLabel.has(n.label)?this.tableLabel.get(n.label).push(n):this.tableLabel.set(n.label,[n])}[JS](n){this.tableId.delete(n.id);const a=this.tableLabel.get(n.label);if(a.id){this.tableLabel.delete(n.label);return}a.pop(),a.length===0&&this.tableLabel.delete(n.label)}[ew](n){if(n===null)return this.root;const a=this.tableLabel.get(n);return a.id?a:a[a.length-1]}[tw](n){return this.tableId.get(n)}[nw](n,a,o){if(n===null)return this.root={id:"root",label:a,start:o,nodes:[]},this[J5](this.root),this.root.id;const l=this[ew](n),c=`${a}-${Math.random()}`,p={id:c,parent:n,start:o,label:a,nodes:[]};return l.nodes.push(p),this[J5](p),c}start(n,a,o=Date.now()){return this[nw](n,a,o)}stop(n,a=Date.now()){const o=this[tw](n);o&&(o.stop=a,o.diff=o.stop-o.start||0,this[JS](o))}toJSON(){return Object.assign({},this.root)}prittyPrint(){const n=o=>(o.label=`${o.label} ${o.diff} ms`,o.nodes.length>0&&(o.nodes=o.nodes.map(l=>n(l))),o),a=n(this.toJSON());return Vte(a)}};var jte=Bte,My={exports:{}},j9={exports:{}},e9,aw;function $te(){if(aw)return e9;aw=1;var n=1e3,a=n*60,o=a*60,l=o*24,c=l*7,p=l*365.25;e9=function(_,N){N=N||{};var O=typeof _;if(O==="string"&&_.length>0)return f(_);if(O==="number"&&isFinite(_))return N.long?b(_):y(_);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(_))};function f(_){if(_=String(_),!(_.length>100)){var N=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(_);if(N){var O=parseFloat(N[1]),L=(N[2]||"ms").toLowerCase();switch(L){case"years":case"year":case"yrs":case"yr":case"y":return O*p;case"weeks":case"week":case"w":return O*c;case"days":case"day":case"d":return O*l;case"hours":case"hour":case"hrs":case"hr":case"h":return O*o;case"minutes":case"minute":case"mins":case"min":case"m":return O*a;case"seconds":case"second":case"secs":case"sec":case"s":return O*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return O;default:return}}}}function y(_){var N=Math.abs(_);return N>=l?Math.round(_/l)+"d":N>=o?Math.round(_/o)+"h":N>=a?Math.round(_/a)+"m":N>=n?Math.round(_/n)+"s":_+"ms"}function b(_){var N=Math.abs(_);return N>=l?C(_,N,l,"day"):N>=o?C(_,N,o,"hour"):N>=a?C(_,N,a,"minute"):N>=n?C(_,N,n,"second"):_+" ms"}function C(_,N,O,L){var x=N>=O*1.5;return Math.round(_/O)+" "+L+(x?"s":"")}return e9}function zte(n){o.debug=o,o.default=o,o.coerce=b,o.disable=p,o.enable=c,o.enabled=f,o.humanize=$te(),o.destroy=C,Object.keys(n).forEach(_=>{o[_]=n[_]}),o.names=[],o.skips=[],o.formatters={};function a(_){let N=0;for(let O=0;O<_.length;O++)N=(N<<5)-N+_.charCodeAt(O),N|=0;return o.colors[Math.abs(N)%o.colors.length]}o.selectColor=a;function o(_){let N,O=null,L,x;function D(...B){if(!D.enabled)return;const V=D,Q=Number(new Date),K=Q-(N||Q);V.diff=K,V.prev=N,V.curr=Q,N=Q,B[0]=o.coerce(B[0]),typeof B[0]!="string"&&B.unshift("%O");let re=0;B[0]=B[0].replace(/%([a-zA-Z%])/g,(te,ue)=>{if(te==="%%")return"%";re++;const oe=o.formatters[ue];if(typeof oe=="function"){const Ne=B[re];te=oe.call(V,Ne),B.splice(re,1),re--}return te}),o.formatArgs.call(V,B),(V.log||o.log).apply(V,B)}return D.namespace=_,D.useColors=o.useColors(),D.color=o.selectColor(_),D.extend=l,D.destroy=o.destroy,Object.defineProperty(D,"enabled",{enumerable:!0,configurable:!1,get:()=>O!==null?O:(L!==o.namespaces&&(L=o.namespaces,x=o.enabled(_)),x),set:B=>{O=B}}),typeof o.init=="function"&&o.init(D),D}function l(_,N){const O=o(this.namespace+(typeof N>"u"?":":N)+_);return O.log=this.log,O}function c(_){o.save(_),o.namespaces=_,o.names=[],o.skips=[];let N;const O=(typeof _=="string"?_:"").split(/[\s,]+/),L=O.length;for(N=0;N<L;N++)O[N]&&(_=O[N].replace(/\*/g,".*?"),_[0]==="-"?o.skips.push(new RegExp("^"+_.slice(1)+"$")):o.names.push(new RegExp("^"+_+"$")))}function p(){const _=[...o.names.map(y),...o.skips.map(y).map(N=>"-"+N)].join(",");return o.enable(""),_}function f(_){if(_[_.length-1]==="*")return!0;let N,O;for(N=0,O=o.skips.length;N<O;N++)if(o.skips[N].test(_))return!1;for(N=0,O=o.names.length;N<O;N++)if(o.names[N].test(_))return!0;return!1}function y(_){return _.toString().substring(2,_.toString().length-2).replace(/\.\*\?$/,"*")}function b(_){return _ instanceof Error?_.stack||_.message:_}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 o.enable(o.load()),o}var Hte=zte;(function(n,a){a.formatArgs=l,a.save=c,a.load=p,a.useColors=o,a.storage=f(),a.destroy=(()=>{let b=!1;return()=>{b||(b=!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`."))}})(),a.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 o(){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(b){if(b[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+b[0]+(this.useColors?"%c ":" ")+"+"+n.exports.humanize(this.diff),!this.useColors)return;const C="color: "+this.color;b.splice(1,0,C,"color: inherit");let _=0,N=0;b[0].replace(/%[a-zA-Z%]/g,O=>{O!=="%%"&&(_++,O==="%c"&&(N=_))}),b.splice(N,0,C)}a.log=console.debug||console.log||(()=>{});function c(b){try{b?a.storage.setItem("debug",b):a.storage.removeItem("debug")}catch{}}function p(){let b;try{b=a.storage.getItem("debug")}catch{}return!b&&typeof St<"u"&&"env"in St&&(b=St.env.DEBUG),b}function f(){try{return localStorage}catch{}}n.exports=Hte(a);const{formatters:y}=n.exports;y.j=function(b){try{return JSON.stringify(b)}catch(C){return"[UnexpectedJSONParseError]: "+C.message}}})(j9,j9.exports);var XE=j9.exports;const Gte=EE,qte=PE.EventEmitter,Wte=M6.inherits,Va=XE("avvio"),{AVV_ERR_READY_TIMEOUT:Qte}=ZE,t9=Symbol.for("plugin-meta");function Yte(n,a){return n[t9]&&n[t9].name?n[t9].name:typeof a<"u"&&typeof a!="function"&&a.name?a.name:n.name?n.name:n.toString().split(`
219
+ `).slice(0,2).map(o=>o.trim()).join(" -- ")}function Kte(){const n={};return n.promise=new Promise((a,o)=>{n.resolve=a,n.reject=o}),n}function O0(n,a,o,l,c){this.started=!1,this.func=a,this.opts=o,this.onFinish=null,this.parent=n,this.timeout=c===void 0?n._timeout:c,this.name=Yte(a,o),this.isAfter=l,this.q=Gte(n,Zte,1),this.q.pause(),this._error=null,this.loaded=!1,this._promise=null}Wte(O0,qte);O0.prototype.exec=function(n,a){const o=this.func;let l=!1;const c=this.name;if(this.parent._error&&!this.isAfter){Va("skipping loading of plugin as parent errored and it is not an after",c),St.nextTick(a);return}if(this.isAfter)this.server=n;else try{this.server=this.parent.override(n,o,this.opts)}catch(b){return Va("override errored",c),a(b)}this.opts=typeof this.opts=="function"?this.opts(this.server):this.opts,Va("exec",c);let p;const f=b=>{if(l){Va("loading complete",c);return}this._error=b,Va(b?"exec errored":"exec completed",c),l=!0,p&&clearTimeout(p),a(b)};this.timeout>0&&(Va("setting up timeout",c,this.timeout),p=setTimeout(function(){Va("timed out",c),p=null;const b=new Qte(c);b.fn=o,f(b)},this.timeout)),this.started=!0,this.emit("start",this.server?this.server.name:null,this.name,Date.now());const y=o(this.server,this.opts,f);y&&typeof y.then=="function"&&(Va("exec: resolving promise",c),y.then(()=>St.nextTick(f),b=>St.nextTick(f,b)))};O0.prototype.loadedSoFar=function(){if(this.loaded)return Promise.resolve();const n=()=>{this.server.after((o,l)=>{this._error=o,this.q.pause(),o?(Va("rejecting promise",this.name,o),this._promise.reject(o)):(Va("resolving promise",this.name),this._promise.resolve()),this._promise=null,St.nextTick(l,o)}),this.q.resume()};let a;return this._promise?a=Promise.resolve():(this._promise=Kte(),a=this._promise.promise,this.server?n():this.on("start",n)),a};O0.prototype.enqueue=function(n,a){Va("enqueue",this.name,n.name),this.emit("enqueue",this.server?this.server.name:null,this.name,Date.now()),this.q.push(n,a)};O0.prototype.finish=function(n,a){Va("finish",this.name,n);const o=()=>{this.loaded||(Va("loaded",this.name),this.emit("loaded",this.server?this.server.name:null,this.name,Date.now()),this.loaded=!0,a(n))};if(n){this._promise&&(this._promise.reject(n),this._promise=null),o();return}const l=()=>{if(Va("check",this.name,this.q.length(),this.q.running(),this._promise),this.q.length()===0&&this.q.running()===0)if(this._promise){const c=()=>{Va("wrap"),queueMicrotask(l)};this._promise.resolve(),this._promise.promise.then(c,c),this._promise=null}else o();else Va("delayed",this.name),this.q.drain=()=>{Va("drain",this.name),this.q.drain=Xte,queueMicrotask(l)}};queueMicrotask(l),this.q.resume()};function Zte(n,a){const o=this;St.nextTick(Dy.bind(o),n,a)}function Dy(n,a){if(typeof n.func.then=="function"){n.func.then(l=>{typeof l.default=="function"&&(l=l.default),n.func=l,Dy.call(this,n,a)},a);return}const o=this._current[0];this._current.unshift(n),n.exec(o&&o.server||this._server,l=>{n.finish(l,c=>{this._current.shift(),a(c)})})}function Xte(){}My.exports=O0;My.exports.loadPlugin=Dy;var Jte=My.exports;const rw=EE,ene=PE.EventEmitter,tne=M6.inherits,{AVV_ERR_EXPOSE_ALREADY_DEFINED:n9,AVV_ERR_CALLBACK_NOT_FN:l2,AVV_ERR_PLUGIN_NOT_VALID:nne,AVV_ERR_ROOT_PLG_BOOTED:ane,AVV_ERR_READY_TIMEOUT:rne}=ZE,one=jte,$9=Jte,w0=XE("avvio"),b6=Symbol("kAvvio"),a9=Symbol("kThenifyDoNotWrap");function sne(n,a,o){const l=a.expose||{},c=l.use||"use",p=l.after||"after",f=l.ready||"ready",y=l.onClose||"onClose",b=l.close||"close";if(n[c])throw new n9(c);if(n[p])throw new n9(p);if(n[f])throw new n9(f);n[c]=function(C,_){return o.use(C,_),this},Object.defineProperty(n,"then",{get:JE.bind(o)}),n[b6]=!0,n[p]=function(C){return typeof C!="function"?o._loadRegistered():(o.after(r9(C,this)),this)},n[f]=function(C){if(C&&typeof C!="function")throw new l2(f,typeof C);return o.ready(C?r9(C,this):void 0)},n[y]=function(C){if(typeof C!="function")throw new l2(y,typeof C);return o.onClose(dne(C,this)),this},n[b]=function(C){if(C&&typeof C!="function")throw new l2(b,typeof C);return C?(o.close(r9(C,this)),this):o.close()}}function Ca(n,a,o){if(typeof n=="function"&&arguments.length===1&&(o=n,a={},n=null),typeof a=="function"&&(o=a,a={}),a=a||{},!(this instanceof Ca)){const l=new Ca(n,a,o);return n&&sne(n,a,l),l}a.autostart!==!1&&(a.autostart=!0),n=n||this,this._timeout=Number(a.timeout)||0,this._server=n,this._current=[],this._error=null,this._isOnCloseHandlerKey=Symbol("isOnCloseHandler"),this._lastUsed=null,this.setMaxListeners(0),o&&this.once("start",o),this.started=!1,this.booted=!1,this.pluginTree=new one,this._readyQ=rw(this,e_,1),this._readyQ.pause(),this._readyQ.drain=()=>{this.emit("start"),this._readyQ.drain=ow},this._closeQ=rw(this,cne,1),this._closeQ.pause(),this._closeQ.drain=()=>{this.emit("close"),this._closeQ.drain=ow},this._doStart=null,this._root=new $9(this,ine.bind(this),a,!1,0),this._root.once("start",(l,c,p)=>{const f=this.pluginTree.start(null,c,p);this._root.once("loaded",(y,b,C)=>{this.pluginTree.stop(f,C)})}),$9.loadPlugin.call(this,this._root,l=>{w0("root plugin ready");try{this.emit("preReady"),this._root=null}catch(c){l=l||this._error||c}if(l){if(this._error=l,this._readyQ.length()===0)throw l}else this.booted=!0;this._readyQ.resume()})}function ine(n,a,o){this._doStart=o,a.autostart&&this.start()}tne(Ca,ene);Ca.prototype.start=function(){return this.started=!0,St.nextTick(this._doStart),this};Ca.prototype.override=function(n,a,o){return n};function lne(n){if(n&&typeof n=="object"&&typeof n.default=="function"&&(n=n.default),!(n&&(typeof n=="function"||typeof n.then=="function")))throw new nne(typeof n);return n}Ca.prototype[b6]=!0;Ca.prototype.use=function(n,a){return this._lastUsed=this._addPlugin(n,a,!1),this};Ca.prototype._loadRegistered=function(){const n=this._current[0];return!this.started&&!this.booted&&St.nextTick(()=>this._root.q.resume()),n?n.loadedSoFar():Promise.resolve()};Object.defineProperty(Ca.prototype,"then",{get:JE});Ca.prototype._addPlugin=function(n,a,o){if(n=lne(n),a=a||{},this.booted)throw new ane;const l=this._current[0],c=new $9(this,n,a,o);if(c.once("start",(p,f,y)=>{const b=this.pluginTree.start(l.name,f,y);c.once("loaded",(C,_,N)=>{this.pluginTree.stop(b,N)})}),l.loaded)throw new Error(c.name,l.name);return l.enqueue(c,p=>{p&&(this._error=p)}),c};Ca.prototype.after=function(n){if(!n)return this._loadRegistered();this._addPlugin(a.bind(this),{},!0);function a(o,l,c){e_.call(this,n,c)}return this};Ca.prototype.onClose=function(n){if(typeof n!="function")throw new Error("not a function");n[this._isOnCloseHandlerKey]=!0,this._closeQ.unshift(n,a.bind(this));function a(o){o&&(this._error=o)}return this};Ca.prototype.close=function(n){let a;if(n){if(typeof n!="function")throw new l2("close",typeof n)}else a=new Promise(function(o,l){n=function(c){if(c)return l(c);o()}});return this.ready(()=>{this._error=null,this._closeQ.push(n),St.nextTick(this._closeQ.resume.bind(this._closeQ))}),a};Ca.prototype.ready=function(n){if(n){if(typeof n!="function")throw new l2("ready",typeof n);this._readyQ.push(n),queueMicrotask(this.start.bind(this));return}return new Promise((a,o)=>{this._readyQ.push(c),this.start();const l=this._current[0].server;function c(p,f,y){p?o(p):a(l),St.nextTick(y)}})};Ca.prototype.prettyPrint=function(){return this.pluginTree.prittyPrint()};Ca.prototype.toJSON=function(){return this.pluginTree.toJSON()};function ow(){}function JE(){if(this.booted){w0("thenify returning null because we are already booted");return}if(this[a9]){this[a9]=!1;return}return w0("thenify"),(n,a)=>this._loadRegistered().then(()=>(this[a9]=!0,n(this._server)),a)}function e_(n,a){const o=this._server,l=this._error;let c;if(this._error=null,n.length===0)this._error=l,c=n(),c&&!c[b6]&&typeof c.then=="function"?c.then(()=>St.nextTick(a),p=>St.nextTick(a,p)):St.nextTick(a);else if(n.length===1)c=n(l),c&&!c[b6]&&typeof c.then=="function"?c.then(()=>St.nextTick(a),p=>St.nextTick(a,p)):St.nextTick(a);else if(this._timeout===0){const p=f=>{this._error=f,a(this._error)};n.length===2?n(l,p):n(l,o,p)}else une.call(this,n,l,o,a)}function une(n,a,o,l){const c=n.name;w0("setting up ready timeout",c,this._timeout);let p=setTimeout(()=>{w0("timed out",c),p=null;const y=new rne(c);y.fn=n,this._error=y,l(y)},this._timeout);n.length===2?n(a,f.bind(this)):n(a,o,f.bind(this));function f(y){p&&(clearTimeout(p),this._error=y,l(this._error))}}function cne(n,a){const o=this._server,l=n[this._isOnCloseHandlerKey];if(n.length===0||n.length===1){let c;l?c=n(o):c=n(this._error),c&&typeof c.then=="function"?(w0("resolving close/onClose promise"),c.then(()=>St.nextTick(a),p=>St.nextTick(a,p))):St.nextTick(a)}else n.length===2?n(l?o:this._error,a):l?n(o,a):n(this._error,o,a)}function dne(n,a){return o.bind(a);function o(l,c){let p;n.length===0?(p=n(),p&&p.then?p.then(function(){St.nextTick(c)},c):St.nextTick(c)):n.length===1?(p=n(this),p&&p.then?p.then(function(){St.nextTick(c)},c):St.nextTick(c)):n(this,c)}}function r9(n,a){return o.bind(a);function o(l,c){let p;n?n.length===0?(p=n(),p&&p.then?p.then(function(){St.nextTick(c,l)},c):St.nextTick(c,l)):n.length===1?(p=n(l),p&&p.then?p.then(function(){St.nextTick(c)},c):St.nextTick(c)):n.length===2?n(l,c):n(l,this,c):St.nextTick(c)}}Cy.exports=Ca;Cy.exports.express=function(n){return Ca(n,{expose:{use:"load"}})};var mne=Cy.exports;const fne=jJ(mne);(function(){if(window.requestAnimationFrame&&window.cancelAnimationFrame)return;const n=["webkit","moz","ms","o"];for(const a of n)window.requestAnimationFrame=window.requestAnimationFrame||window[`${a}RequestAnimationFrame`],window.cancelAnimationFrame=window.cancelAnimationFrame||window[`${a}CancelAnimationFrame`]||window[`${a}CancelRequestAnimationFrame`];if(/iP(ad|hone|od).*OS 6/.test(window.navigator.userAgent)||!window.requestAnimationFrame||!window.cancelAnimationFrame){let a=0;const o=!!(window.performance&&window.performance.now);window.requestAnimationFrame=function(l){const c=o?window.performance.now():new Date().getTime(),p=Math.max(0,16-(c-a)),f=window.setTimeout(function(){l(c+p)},p);return a=c+p,f},window.cancelAnimationFrame=clearTimeout}})();function pne(n,a=!0,o=!0,l={friendsTab:"enabled"}){const c=a?"https://grpc-sdk.streamlayer.io:443":"https://grpc-sdk.next.streamlayer.io:443",p=a?"https://grpc.streamlayer.io:443":"https://grpc.next.streamlayer.io:443",f=fne(Object.create({}),{autostart:!1});return f.use(yJ,{friendsTab:l.friendsTab,theme:l.theme,themeMode:l.themeMode}),f.use(cJ,{onDeepLinkHandled:l==null?void 0:l.onDeepLinkHandled}),f.use(pJ,{videoPlayerController:l==null?void 0:l.videoPlayerController}),f.use(gJ,{onContentActivate:l==null?void 0:l.onContentActivate,withAd:l==null?void 0:l.withAd,withAdNotification:l==null?void 0:l.withAdNotification}),f.use(RX,{sdkKey:n,host:c,analyticsHost:p,version:l==null?void 0:l.version}),f.use(PX),f.use(fJ),f.use(OJ),f.use(eJ),f.use(BJ),f.after((y,b,C)=>{if(y)throw y;b.ready(),C()}),o&&f.after(async(y,b,C)=>{if(y)throw y;await b.sdk.initializeApp(),C()}),f.onClose(()=>{console.log("close")}),f}const hne=({sdkKey:n,plugins:a,production:o,autoEnable:l,onDeepLinkHandled:c,videoPlayerController:p,onContentActivate:f,withAdNotification:y,withAd:b,friendsTab:C})=>{const[_,N]=W.useState(null);return W.useEffect(()=>{let O=!1;if(!n)return console.error("streamlayer sdk key should be provided"),N(x=>(x!==null&&typeof x.disableApp=="function"&&x.disableApp(),null)),()=>{O=!0};const L=pne(n,o,l,{version:"1.11.3",onDeepLinkHandled:c,videoPlayerController:p,onContentActivate:f,withAdNotification:y,withAd:b,friendsTab:C});if(a)for(const x of a)L.use(x);return L.ready().then(x=>{O||(N(x.sdk),typeof window<"u")}).catch(x=>console.log(x)),()=>{O=!0,L.close(function(x){if(x)throw x})}},[n,o]),_},gne=({event:n})=>{const a=Uy(),o=Tne();return W.useEffect(()=>(a&&(n&&(a.createEventSession(n),o&&(o.current=n)),!n&&(o!=null&&o.current)&&(a.createEventSession(""),o.current="")),()=>{a&&a.disableApp()}),[n,o,a]),null};var t_=(n=>(n[n.UNSET=0]="UNSET",n[n.CONNECTED=1]="CONNECTED",n[n.READY=2]="READY",n))(t_||{});const yne={status:0,sdk:null},B6=W.createContext(yne),vne=({sdkKey:n,theme:a,themeMode:o,plugins:l,children:c,event:p,production:f=!0,autoEnable:y=!0,withAdNotification:b,withAd:C=!0,friendsTab:_="enabled",onDeepLinkHandled:N,videoPlayerController:O,onContentActivate:L})=>{const x=hne({sdkKey:n,plugins:l,production:f,autoEnable:y,onDeepLinkHandled:N,videoPlayerController:O,onContentActivate:L,withAdNotification:b,withAd:C,friendsTab:_}),D=W.useRef(""),B=W.useMemo(()=>x?{sdk:x,status:2,event:D}:{status:1,sdk:null,event:D},[x]);return W.useEffect(()=>{x&&(x.options.setKey("friendsTab",_),x.options.setKey("theme",a),x.options.setKey("themeMode",o))},[x,_,a,o]),W.useEffect(()=>()=>{N&&(x==null||x.removeDeepLinkHandler(N)),O&&(x==null||x.removeVideoPlayerController(O))},[x]),W.useEffect(()=>{localStorage.getItem("SL_DEBUG")&&console.log("StreamLayerProvider mounted with props:",{sdkKey:!!n,onDeepLinkHandled:!!N,videoPlayerController:!!O})},[n,N,O]),w.jsxs(B6.Provider,{value:B,children:[p!==void 0&&w.jsx(gne,{event:p}),c]})},Uy=()=>{const{sdk:n}=W.useContext(B6);return n},Tne=()=>{const{event:n}=W.useContext(B6);return n},bne=({sdkKey:n,plugins:a,children:o,onDeepLinkHandled:l,videoPlayerController:c,production:p=!0})=>w.jsx(vne,{sdkKey:n,plugins:a,production:p,autoEnable:!1,onDeepLinkHandled:l,videoPlayerController:c,children:o}),kne=({children:n,overlays:a})=>{const{sdk:o,status:l}=W.useContext(B6);return l===t_.UNSET?(console.error("Wrap app in `StreamLayerProvider`"),n({})):o?w.jsx("div",{className:"StreamLayerSDK",children:w.jsx(jC,{style:{height:"100%"},children:w.jsx(Wq,{sdk:o,overlays:a,children:n})})}):n({})};class Sne extends W.Component{constructor(a){super(a),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(a,o){console.error(a,o.componentStack)}render(){return this.state.hasError?this.props.children({}):w.jsx(kne,{...this.props})}}const wne=({token:n,schema:a})=>{const o=Uy();return W.useEffect(()=>{n&&a&&o&&o.authorizationBypass(a,n),o&&(o.withAuth=!0)},[n,a,o]),null},Cne=()=>{const n=Uy();return n?w.jsx("div",{className:"StreamLayerSDK",children:w.jsx(jC,{children:w.jsx(aW,{sdk:n})})}):null};exports.A=ca;exports.C=LC;exports.C$1=lB;exports.M=gy;exports.MastersStreamLayerProvider=bne;exports.MastersStreamLayerSDKReact=Sne;exports.O=ly;exports.S=MC;exports.S$1=cB;exports.StreamLayerLogin=wne;exports.StreamLayerSDKPoints=Cne;exports.T=hy;exports.b=OC;exports.cx_default=ku;exports.d=dB;exports.k=UC;exports.l=sB;exports.m=o2;exports.m$1=oB;exports.n=cy;exports.p=oW;exports.styled_default=P;exports.useStore=Ut;exports.useTransition=cw;exports.z=Bz;