// ==UserScript== // @name 复制 // @namespace http://tampermonkey.net/ // @version 1.4 // @description 修复了部分bug // @author You // @match https://live.douyin.com/* // @icon https://www.google.com/s2/favicons?sz=64&domain=douyin.com // @grant none // @license MIT // @run-at document-start // @downloadURL none // ==/UserScript== (function () { /*! For license information please see 1423.fe8f27dc.js.LICENSE.txt */ (self.webpackChunkdouyin_live_v2=self.webpackChunkdouyin_live_v2||[]).push([[1423],{78170:(t,e,r)=>{t.exports=r(71061)},47776:(t,e,r)=>{t.exports=r(68924)},76735:(t,e,r)=>{t.exports=r(25701)},88677:(t,e,r)=>{t.exports=r(37479)},92012:(t,e,r)=>{t.exports=r(81338)},84202:(t,e,r)=>{t.exports=r(85877)},92637:(t,e,r)=>{t.exports=r(84823)},84891:(t,e,r)=>{t.exports=r(40687)},59440:(t,e,r)=>{t.exports=r(35023)},81711:(t,e,r)=>{t.exports=r(32597)},21805:(t,e,r)=>{t.exports=r(36504)},10081:(t,e,r)=>{t.exports=r(47346)},87905:(t,e,r)=>{t.exports=r(55398)},34246:(t,e,r)=>{t.exports=r(64897)},94610:(t,e,r)=>{t.exports=r(66684)},9120:(t,e,r)=>{t.exports=r(18607)},84578:(t,e,r)=>{t.exports=r(38409)},78881:(t,e,r)=>{t.exports=r(35014)},41265:(t,e,r)=>{t.exports=r(26595)},70995:(t,e,r)=>{t.exports=r(1844)},67827:(t,e,r)=>{t.exports=r(10750)},99860:(t,e,r)=>{t.exports=r(55210)},22111:(t,e,r)=>{t.exports=r(10325)},99672:(t,e,r)=>{t.exports=r(97319)},32383:(t,e,r)=>{t.exports=r(98660)},35774:(t,e,r)=>{t.exports=r(78347)},47118:(t,e,r)=>{t.exports=r(77131)},57617:(t,e,r)=>{t.exports=r(93035)},21696:(t,e,r)=>{t.exports=r(62992)},14212:(t,e,r)=>{t.exports=r(96997)},80051:(t,e,r)=>{t.exports=r(70356)},90823:(t,e,r)=>{t.exports=r(79201)},88438:(t,e,r)=>{t.exports=r(77456)},73051:(t,e,r)=>{t.exports=r(52681)},71561:(t,e,r)=>{t.exports=r(84548)},42404:(t,e,r)=>{t.exports=r(42273)},84134:function(t){t.exports=function(){"use strict";function t(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function e(t,e){for(var r=0;rt.length)&&(e=t.length);for(var r=0,n=new Array(e);ro)return 1;if(n"===e&&n>0||">="===e&&n>=0||"<"===e&&n<0||"<="===e&&n<=0},c=new(function(){function e(){t(this,e),this._prefix="[PC\u6296\u97f3\u5ba2\u6237\u7aef SDK Monitor]: "}return r(e,[{key:"log",value:function(t){}},{key:"info",value:function(t){}},{key:"warn",value:function(t){}},{key:"error",value:function(t){}}]),e}());!function(t){t[t.Success=0]="Success",t[t.Failure=-1]="Failure",t[t.EnvError=-2]="EnvError",t[t.RuleError=-3]="RuleError",t[t.Unauthorized=-4]="Unauthorized",t[t.SDKInnerError=-5]="SDKInnerError",t[t.Unknown=-9]="Unknown"}(a||(a={}));var l=function(){function e(){t(this,e),this._methodRuleMap={}}return r(e,[{key:"registerMethodRules",value:function(t){var e=t.map,r=void 0===e?"":e,n=t.target,o=void 0===n?[]:n;r?this._methodRuleMap[r]=o:c.error("register method rules error")}},{key:"getRuntimeOS",value:function(){return function(){if(s())return"ssr";var t="Win32"===(null===navigator||void 0===navigator?void 0:navigator.platform)||"Windows"===(null===navigator||void 0===navigator?void 0:navigator.platform),e="Mac68K"===(null===navigator||void 0===navigator?void 0:navigator.platform)||"MacPPC"===(null===navigator||void 0===navigator?void 0:navigator.platform)||"Macintosh"===(null===navigator||void 0===navigator?void 0:navigator.platform)||"MacIntel"===(null===navigator||void 0===navigator?void 0:navigator.platform),r="X11"===(null===navigator||void 0===navigator?void 0:navigator.platform)&&!t&&!e,n=String(null===navigator||void 0===navigator?void 0:navigator.platform).indexOf("Linux")>-1;return e?"mac":r?"unix":n?"linux":t?"windows":"unknown"}()}},{key:"getRuntimeVersion",value:function(){var t,e,r;return s()?(c.error("can't get client version in ssr"),""):(null===(r=null===(e=null===(t=null===window||void 0===window?void 0:window.TTE_ENV)||void 0===t?void 0:t.initPageStore)||void 0===e?void 0:e.page)||void 0===r?void 0:r.version)||""}},{key:"checkOS",value:function(t){return!t||"*"===t||this.getRuntimeOS()===t}},{key:"checkMethodAvailable",value:function(t){var e,r,n;return!!this.checkInClient()&&void 0!==(null===(n=null===(r=null===(e=null===window||void 0===window?void 0:window.TTE_ENV)||void 0===e?void 0:e.bridge)||void 0===r?void 0:r.EVENTS)||void 0===n?void 0:n.TO_MAIN_EVENT_TYPES[t])}},{key:"canIUse",value:function(t){var e=this.checkMethodAvailable(t);return{code:a.Success,data:{isAvailable:e}}}},{key:"checkVersion",value:function(t){return!t||function(t,e){var r=n(e.split("-"),2),o=r[0],i=void 0===o?"":o,a=r[1],s=void 0===a?"":a;return!i&&!s||(i?s?u(t,">=",i)&&u(t,"<=",s):u(t,">=",i):u(t,"<=",s))}(this.getRuntimeVersion(),t)}},{key:"checkDetail",value:function(t){if(!t||0===t.length)return!0;var e,r=!1,n=function(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=o(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,u=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return s=t.done,t},e:function(t){u=!0,a=t},f:function(){try{s||null==r.return||r.return()}finally{if(u)throw a}}}}(t);try{for(n.s();!(e=n.n()).done;){var i=e.value.os;if(r=this.checkOS(i))break}}catch(t){n.e(t)}finally{n.f()}return r}},{key:"checkRule",value:function(t){var e=t.target,r=void 0===e?[]:e;return!t||!!this.checkDetail(r)}},{key:"on",value:function(t,e){return this.checkInClient()?window.TTE_ENV.bridge.on(t,e):(c.warn("turn on listening to ".concat(t," failed, env is not in client.")),!1)}},{key:"off",value:function(t,e){return this.checkInClient()?window.TTE_ENV.bridge.off(t,e):(c.warn("turn off listening to ".concat(t," failed, env is not in client.")),!1)}},{key:"checkInClient",value:function(){var t;return!s()&&void 0!==(null===(t=null===window||void 0===window?void 0:window.TTE_ENV)||void 0===t?void 0:t.bridge)}},{key:"call",value:function(t){var e=this,r=t.params,n=void 0===r?{}:r,o=t.method,i=t.rule,s=t.transParameters,u=void 0!==s&&s;return new Promise((function(t){var r={code:a.Unknown,data:null,msg:"Something went wrong. maybe polyfill."};try{if(!e.checkInClient()){var s="WARN:[".concat(o,"]The current environment is not inside the client.");return r.code=a.EnvError,r.msg=s,c.warn(s),void t(r)}if(!e.checkMethodAvailable(o)){var l="WARN: [".concat(o,"]The current system doesn't support this method.");return r.code=a.RuleError,r.msg=l,c.warn(l),void t(r)}if(!e.checkRule(i)){var f="WARN: [".concat(o,"]The method invocation environment does not meet the rules.");return r.code=a.RuleError,r.msg=f,c.warn(f),void t(r)}}catch(e){var p="Bridge SDK Inner Error: ".concat(o,"-{").concat(JSON.stringify(n),"}. ").concat(e.message," | ").concat(e.stack);return c.error(p),r.msg=p,r.code=a.SDKInnerError,void t(r)}var h=u?n:{data:n};window.TTE_ENV.bridge.invoke(o,h).then((function(e){var n,o,i;void 0!==(null==e?void 0:e._to_sdk)?(r.code=null!==(n=e._to_sdk.code)&&void 0!==n?n:r.code,r.data=null!==(o=e.data)&&void 0!==o?o:null,r.msg=null!==(i=e._to_sdk.msg)&&void 0!==i?i:"success"):(r.code=a.Success,r.data=e,r.msg="success"),t(r)})).catch((function(e){var i="Bridge SDK Execute Failed: ".concat(o,"-{").concat(JSON.stringify(n),"}}. ").concat(e.message," | ").concat(e.stack);r.code=a.Failure,r.msg=e.message,c.error(i),t(r)}))}))}}]),e}(),f=new l;function p(t){Object.keys(t).forEach((function(e){var r,n=(null===(r=t[e])||void 0===r?void 0:r.rule)||{};f.registerMethodRules(n)}))}var h={target:[{os:"*"}],map:"app.getVersion"};function d(){return f.call({rule:h,method:"GET_VERSION"})}d.rule=h;var v={target:[{os:"*"}],map:"app.setAlwaysOnTop"};function g(t){return f.call({rule:v,method:"SET_ALWAYS_ON_TOP",params:t,transParameters:!0})}g.rule=v;var m={target:[{os:"*"}],map:"app.changeToOriginalMode"};function y(){return f.call({rule:m,method:"CHANGE_TO_ORIGINAL_MODE"})}y.rule=m;var b={target:[{os:"*"}],map:"app.changeToSmallMode"};function w(){return f.call({rule:b,method:"CHANGE_TO_SMALL_MODE"})}w.rule=b;var x={target:[{os:"*"}],map:"app.isAlwaysOnTop"};function _(){return f.call({rule:x,method:"IS_ALWAYS_ON_TOP"})}_.rule=x;var S={target:[{os:"*"}],map:"app.mainWindowMoveTop"};function E(){return f.call({rule:S,method:"MAIN_WINDOW_MOVE_TOP"})}E.rule=S;var O={target:[{os:"*"}],map:"app.minimize"};function A(){return f.call({rule:O,method:"WINDOW_MIN"})}A.rule=O;var T={target:[{os:"*"}],map:"app.handlePageReady"};function P(){return f.call({rule:T,method:"PAGE_READY"})}P.rule=T;var k={target:[{os:"*"}],map:"app.maximize"};function C(){return f.call({rule:k,method:"WINDOW_MAX"})}C.rule=k;var j={target:[{os:"*"}],map:"app.canGoBack"};function I(){return f.call({rule:j,method:"CAN_GO_BACK"})}I.rule=j;var L={target:[{os:"*"}],map:"app.clearCookie"};function R(){return f.call({rule:L,method:"CLEAR_COOKIE"})}R.rule=L;var N={target:[{os:"*"}],map:"app.getWid"};function M(){return f.call({rule:N,method:"GET_WID"})}M.rule=N;var D={target:[{os:"*"}],map:"app.closeParent"};function F(){return f.call({rule:D,method:"CLOSE_PARENT"})}F.rule=D;var U={target:[{os:"*"}],map:"app.closeWindow"};function B(){return f.call({rule:U,method:"WINDOW_CLOSE"})}B.rule=U;var $={target:[{os:"*"}],map:"app.getAllClientLog"};function H(){return f.call({rule:$,method:"GET_ALL_CLIENT_LOG"})}H.rule=$;var z={target:[{os:"*"}],map:"app.getAppConfigItem"};function G(t){return f.call({rule:z,method:"GET_APP_CONFIG_ITEM",params:t})}G.rule=z;var W={target:[{os:"*"}],map:"app.goBack"};function V(){return f.call({rule:W,method:"GO_BACK"})}V.rule=W;var q={target:[{os:"*"}],map:"app.getPageStore"};function Y(){return f.call({rule:q,method:"GET_PAGE_STORE"})}Y.rule=q;var Z={target:[{os:"*"}],map:"app.getSettings"};function K(){return f.call({rule:Z,method:"GET_SETTINGS"})}K.rule=Z;var J={target:[{os:"*"}],map:"app.isFull"};function X(){return f.call({rule:J,method:"WINDOW_IS_FULL"})}X.rule=J;var Q={target:[{os:"*"}],map:"app.openWallpaperWindow"};function tt(){return f.call({rule:Q,method:"OPEN_WALLPAPER_WINDOW"})}tt.rule=Q;var et={target:[{os:"*"}],map:"app.getChannelId"};function rt(){return f.call({rule:et,method:"GET_CHANNEL_ID"})}rt.rule=et;var nt={target:[{os:"*"}],map:"app.reload"};function ot(){return f.call({rule:nt,method:"RELOAD"})}ot.rule=nt;var it={target:[{os:"mac"}],map:"app.setFullScreenable"};function at(t){return f.call({rule:it,method:"SET_FULL_SCREENABLE",params:t,transParameters:!0})}at.rule=it;var st={target:[{os:"*"}],map:"app.getAllWindowData"};function ut(){return f.call({rule:st,method:"GET_ALL_WINDOW_DATA"})}ut.rule=st;var ct={target:[{os:"*"}],map:"app.reloadWindowFromId"};function lt(){return f.call({rule:ct,method:"RELOAD_FROM_ID"})}lt.rule=ct;var ft={target:[{os:"*"}],map:"app.reportStat"};function pt(t){return f.call({rule:ft,method:"REPORT_STAT",params:t,transParameters:!0})}pt.rule=ft;var ht={target:[{os:"*"}],map:"app.setAppConfigItem"};function dt(t){return f.call({rule:ht,method:"SET_APP_CONFIG_ITEM",params:t})}dt.rule=ht;var vt={target:[{os:"*"}],map:"app.setAutoStart"};function gt(t){return f.call({rule:vt,method:"SET_AUTO_START",params:t})}gt.rule=vt;var mt={target:[{os:"*"}],map:"app.setCloseToTray"};function yt(t){return f.call({rule:mt,method:"SET_CLOSE_TO_TRAY",params:t})}yt.rule=mt;var bt={target:[{os:"*"}],map:"app.setMiniMizeToTray"};function wt(t){return f.call({rule:bt,method:"SET_MINIMIZE_TO_TRAY",params:t})}wt.rule=bt;var xt={target:[{os:"*"}],map:"app.showAbout"};function _t(t){return f.call({rule:xt,method:"WINDOW_SHOW_ABOUT",params:t,transParameters:!0})}_t.rule=xt;var St={target:[{os:"*"}],map:"app.syncLoginState"};function Et(t){return f.call({rule:St,method:"SYNC_LOGIN_STATE",params:t,transParameters:!0})}Et.rule=St;var Ot={target:[{os:"*"}],map:"app.themeChange"};function At(t){return f.call({rule:Ot,method:"THEME_CHANGE",params:t})}At.rule=Ot;var Tt={target:[{os:"*"}],map:"app.getAllDisplays"};function Pt(){return f.call({rule:Tt,method:"GET_ALL_DISPLAYS"})}Pt.rule=Tt;var kt={target:[{os:"*"}],map:"app.getPrimaryDisplay"};function Ct(){return f.call({rule:kt,method:"GET_PRIMARY_DISPLAY"})}Ct.rule=kt;var jt={target:[{os:"*"}],map:"app.navigationGoBack"};function It(){return f.call({rule:jt,method:"NAVIGATION_GO_BACK"})}It.rule=jt;var Lt={target:[{os:"windows"}],map:"app.getAutoStart"};function Rt(){return f.call({rule:Lt,method:"GET_AUTO_START"})}Rt.rule=Lt;var Nt={target:[{os:"*"}],map:"app.showUpdateModal"};function Mt(){return f.call({rule:Nt,method:"SHOW_UPDATE_MODAL"})}Mt.rule=Nt;var Dt={target:[{os:"*"}],map:"app.getIsUpdatePackageReady"};function Ft(){return f.call({rule:Dt,method:"GET_IS_UPDATE_PACKAGE_READY"})}Ft.rule=Dt;var Ut={target:[{os:"*"}],map:"app.getClientUpdateInfo"};function Bt(){return f.call({rule:Ut,method:"GET_CLIENT_UPDATE_INFO"})}Bt.rule=Ut;var $t={target:[{os:"*"}],map:"app.quitUpdateTip"};function Ht(){return f.call({rule:$t,method:"QUIT_UPDATE_TIP"})}Ht.rule=$t;var zt={target:[{os:"mac"}],map:"app.getMediaAccessStatus"};function Gt(t){return f.call({rule:zt,method:"GET_MEDIA_ACCESS_STATUS",params:t,transParameters:!0})}Gt.rule=zt;var Wt={target:[{os:"mac"}],map:"app.askForMediaAccess"};function Vt(t){return f.call({rule:Wt,method:"ASK_FOR_MEDIA_ACCESS",params:t,transParameters:!0})}Vt.rule=Wt;var qt={target:[{os:"mac"}],map:"app.getIsMas"};function Yt(){return f.call({rule:qt,method:"GET_IS_MAS"})}Yt.rule=qt;var Zt={target:[{os:"*"}],map:"app.getIsFrontShow"};function Kt(){return f.call({rule:Zt,method:"GET_IS_FRONT_SHOW"})}Kt.rule=Zt;var Jt={target:[{os:"*"}],map:"app.downloadWallpaper"};function Xt(t){return f.call({rule:Jt,method:"DOWNLOAD_WALLPAPER",params:t,transParameters:!0})}Xt.rule=Jt;var Qt={target:[{os:"*"}],map:"app.getStoreItem"};function te(t){return f.call({rule:Qt,method:"GET_STORE_ITEM",params:t,transParameters:!0})}te.rule=Qt;var ee={target:[{os:"*"}],map:"app.setStoreItem"};function re(t){return f.call({rule:ee,method:"SET_STORE_ITEM",params:t,transParameters:!0})}re.rule=ee;var ne={target:[{os:"*"}],map:"app.getMetrics"};function oe(){return f.call({rule:ne,method:"GET_METRICS"})}oe.rule=ne;var ie={target:[{os:"*"}],map:"app.printFirstFeedShow"};function ae(t){return f.call({rule:ie,method:"printFirstFeedShow",params:t,transParameters:!0})}ae.rule=ie;var se={target:[{os:"windows"}],map:"app.getHardwareDecodeState"};function ue(){return f.call({rule:se,method:"getHardwareDecodeState"})}ue.rule=se;var ce={target:[{os:"*"}],map:"app.isTopWebview"};function le(){return f.call({rule:ce,method:"isTopWebview"})}le.rule=ce;var fe={target:[{os:"*"}],map:"app.getVolumeInfo"};function pe(){return f.call({rule:fe,method:"getVolumeInfo"})}pe.rule=fe;var he={target:[{os:"*"}],map:"app.openInternalBrowser"};function de(t){return f.call({rule:he,method:"openInternalBrowser",params:t,transParameters:!0})}de.rule=he;var ve={target:[{os:"*"}],map:"app.mainWindowShowView"};function ge(){return f.call({rule:ve,method:"mainWindowShowView"})}ge.rule=ve;var me={getVersion:d,setAlwaysOnTop:g,changeToOriginalMode:y,changeToSmallMode:w,isAlwaysOnTop:_,mainWindowMoveTop:E,minimize:A,handlePageReady:P,maximize:C,canGoBack:I,clearCookie:R,getWid:M,closeParent:F,closeWindow:B,getAllClientLog:H,getAppConfigItem:G,goBack:V,getPageStore:Y,getSettings:K,isFull:X,openWallpaperWindow:tt,getChannelId:rt,reload:ot,setFullScreenable:at,getAllWindowData:ut,reloadWindowFromId:lt,reportStat:pt,setAppConfigItem:dt,setAutoStart:gt,setCloseToTray:yt,setMiniMizeToTray:wt,showAbout:_t,syncLoginState:Et,themeChange:At,getAllDisplays:Pt,getPrimaryDisplay:Ct,navigationGoBack:It,getAutoStart:Rt,showUpdateModal:Mt,getIsUpdatePackageReady:Ft,getClientUpdateInfo:Bt,quitUpdateTip:Ht,getMediaAccessStatus:Gt,askForMediaAccess:Vt,getIsMas:Yt,getIsFrontShow:Kt,downloadWallpaper:Xt,getStoreItem:te,setStoreItem:re,getMetrics:oe,printFirstFeedShow:ae,getHardwareDecodeState:ue,isTopWebview:le,getVolumeInfo:pe,openInternalBrowser:de,mainWindowShowView:ge};p(me);var ye={target:[{os:"*"}],map:"user.getUserUniqueId"};function be(){return f.call({rule:ye,method:"GET_USER_UNIQUE_ID"})}be.rule=ye;var we={target:[{os:"*"}],map:"user.getCsrInitialData"};function xe(){return f.call({rule:we,method:"getCsrInitialData"})}xe.rule=we;var _e={getUserUniqueId:be,getCsrInitialData:xe};return p(_e),{app:me,user:_e,util:{canIUse:f.canIUse.bind(f),isClient:f.checkInClient,sdkVersion:"0.1.7"},on:f.on.bind(f),off:f.off.bind(f)}}()},21414:function(t,e,r){!function(t){"use strict";function e(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function n(t,e){return t(e={exports:{}},e.exports),e.exports}var o=e(n((function(t){function e(r){return t.exports=e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,e(r)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports})));function i(){return{"align-content":!1,"align-items":!1,"align-self":!1,"alignment-adjust":!1,"alignment-baseline":!1,all:!1,"anchor-point":!1,animation:!1,"animation-delay":!1,"animation-direction":!1,"animation-duration":!1,"animation-fill-mode":!1,"animation-iteration-count":!1,"animation-name":!1,"animation-play-state":!1,"animation-timing-function":!1,azimuth:!1,"backface-visibility":!1,background:!0,"background-attachment":!0,"background-clip":!0,"background-color":!0,"background-image":!0,"background-origin":!0,"background-position":!0,"background-repeat":!0,"background-size":!0,"baseline-shift":!1,binding:!1,bleed:!1,"bookmark-label":!1,"bookmark-level":!1,"bookmark-state":!1,border:!0,"border-bottom":!0,"border-bottom-color":!0,"border-bottom-left-radius":!0,"border-bottom-right-radius":!0,"border-bottom-style":!0,"border-bottom-width":!0,"border-collapse":!0,"border-color":!0,"border-image":!0,"border-image-outset":!0,"border-image-repeat":!0,"border-image-slice":!0,"border-image-source":!0,"border-image-width":!0,"border-left":!0,"border-left-color":!0,"border-left-style":!0,"border-left-width":!0,"border-radius":!0,"border-right":!0,"border-right-color":!0,"border-right-style":!0,"border-right-width":!0,"border-spacing":!0,"border-style":!0,"border-top":!0,"border-top-color":!0,"border-top-left-radius":!0,"border-top-right-radius":!0,"border-top-style":!0,"border-top-width":!0,"border-width":!0,bottom:!1,"box-decoration-break":!0,"box-shadow":!0,"box-sizing":!0,"box-snap":!0,"box-suppress":!0,"break-after":!0,"break-before":!0,"break-inside":!0,"caption-side":!1,chains:!1,clear:!0,clip:!1,"clip-path":!1,"clip-rule":!1,color:!0,"color-interpolation-filters":!0,"column-count":!1,"column-fill":!1,"column-gap":!1,"column-rule":!1,"column-rule-color":!1,"column-rule-style":!1,"column-rule-width":!1,"column-span":!1,"column-width":!1,columns:!1,contain:!1,content:!1,"counter-increment":!1,"counter-reset":!1,"counter-set":!1,crop:!1,cue:!1,"cue-after":!1,"cue-before":!1,cursor:!1,direction:!1,display:!0,"display-inside":!0,"display-list":!0,"display-outside":!0,"dominant-baseline":!1,elevation:!1,"empty-cells":!1,filter:!1,flex:!1,"flex-basis":!1,"flex-direction":!1,"flex-flow":!1,"flex-grow":!1,"flex-shrink":!1,"flex-wrap":!1,float:!1,"float-offset":!1,"flood-color":!1,"flood-opacity":!1,"flow-from":!1,"flow-into":!1,font:!0,"font-family":!0,"font-feature-settings":!0,"font-kerning":!0,"font-language-override":!0,"font-size":!0,"font-size-adjust":!0,"font-stretch":!0,"font-style":!0,"font-synthesis":!0,"font-variant":!0,"font-variant-alternates":!0,"font-variant-caps":!0,"font-variant-east-asian":!0,"font-variant-ligatures":!0,"font-variant-numeric":!0,"font-variant-position":!0,"font-weight":!0,grid:!1,"grid-area":!1,"grid-auto-columns":!1,"grid-auto-flow":!1,"grid-auto-rows":!1,"grid-column":!1,"grid-column-end":!1,"grid-column-start":!1,"grid-row":!1,"grid-row-end":!1,"grid-row-start":!1,"grid-template":!1,"grid-template-areas":!1,"grid-template-columns":!1,"grid-template-rows":!1,"hanging-punctuation":!1,height:!0,hyphens:!1,icon:!1,"image-orientation":!1,"image-resolution":!1,"ime-mode":!1,"initial-letters":!1,"inline-box-align":!1,"justify-content":!1,"justify-items":!1,"justify-self":!1,left:!1,"letter-spacing":!0,"lighting-color":!0,"line-box-contain":!1,"line-break":!1,"line-grid":!1,"line-height":!1,"line-snap":!1,"line-stacking":!1,"line-stacking-ruby":!1,"line-stacking-shift":!1,"line-stacking-strategy":!1,"list-style":!0,"list-style-image":!0,"list-style-position":!0,"list-style-type":!0,margin:!0,"margin-bottom":!0,"margin-left":!0,"margin-right":!0,"margin-top":!0,"marker-offset":!1,"marker-side":!1,marks:!1,mask:!1,"mask-box":!1,"mask-box-outset":!1,"mask-box-repeat":!1,"mask-box-slice":!1,"mask-box-source":!1,"mask-box-width":!1,"mask-clip":!1,"mask-image":!1,"mask-origin":!1,"mask-position":!1,"mask-repeat":!1,"mask-size":!1,"mask-source-type":!1,"mask-type":!1,"max-height":!0,"max-lines":!1,"max-width":!0,"min-height":!0,"min-width":!0,"move-to":!1,"nav-down":!1,"nav-index":!1,"nav-left":!1,"nav-right":!1,"nav-up":!1,"object-fit":!1,"object-position":!1,opacity:!1,order:!1,orphans:!1,outline:!1,"outline-color":!1,"outline-offset":!1,"outline-style":!1,"outline-width":!1,overflow:!1,"overflow-wrap":!1,"overflow-x":!1,"overflow-y":!1,padding:!0,"padding-bottom":!0,"padding-left":!0,"padding-right":!0,"padding-top":!0,page:!1,"page-break-after":!1,"page-break-before":!1,"page-break-inside":!1,"page-policy":!1,pause:!1,"pause-after":!1,"pause-before":!1,perspective:!1,"perspective-origin":!1,pitch:!1,"pitch-range":!1,"play-during":!1,position:!1,"presentation-level":!1,quotes:!1,"region-fragment":!1,resize:!1,rest:!1,"rest-after":!1,"rest-before":!1,richness:!1,right:!1,rotation:!1,"rotation-point":!1,"ruby-align":!1,"ruby-merge":!1,"ruby-position":!1,"shape-image-threshold":!1,"shape-outside":!1,"shape-margin":!1,size:!1,speak:!1,"speak-as":!1,"speak-header":!1,"speak-numeral":!1,"speak-punctuation":!1,"speech-rate":!1,stress:!1,"string-set":!1,"tab-size":!1,"table-layout":!1,"text-align":!0,"text-align-last":!0,"text-combine-upright":!0,"text-decoration":!0,"text-decoration-color":!0,"text-decoration-line":!0,"text-decoration-skip":!0,"text-decoration-style":!0,"text-emphasis":!0,"text-emphasis-color":!0,"text-emphasis-position":!0,"text-emphasis-style":!0,"text-height":!0,"text-indent":!0,"text-justify":!0,"text-orientation":!0,"text-overflow":!0,"text-shadow":!0,"text-space-collapse":!0,"text-transform":!0,"text-underline-position":!0,"text-wrap":!0,top:!1,transform:!1,"transform-origin":!1,"transform-style":!1,transition:!1,"transition-delay":!1,"transition-duration":!1,"transition-property":!1,"transition-timing-function":!1,"unicode-bidi":!1,"vertical-align":!1,visibility:!1,"voice-balance":!1,"voice-duration":!1,"voice-family":!1,"voice-pitch":!1,"voice-range":!1,"voice-rate":!1,"voice-stress":!1,"voice-volume":!1,volume:!1,"white-space":!1,widows:!1,width:!0,"will-change":!1,"word-break":!0,"word-spacing":!0,"word-wrap":!0,"wrap-flow":!1,"wrap-through":!1,"writing-mode":!1,"z-index":!1}}var a=/javascript\s*\:/gim,s={whiteList:i(),getDefaultWhiteList:i,onAttr:function(t,e,r){},onIgnoreAttr:function(t,e,r){},safeAttrValue:function(t,e){return a.test(e)?"":e}},u=function(t){return String.prototype.trim?t.trim():t.replace(/(^\s*)|(\s*$)/g,"")},c=function(t){return String.prototype.trimRight?t.trimRight():t.replace(/(\s*$)/g,"")},l=function(t,e){";"!==(t=c(t))[t.length-1]&&(t+=";");var r=t.length,n=!1,o=0,i=0,a="";function s(){if(!n){var r=u(t.slice(o,i)),s=r.indexOf(":");if(-1!==s){var c=u(r.slice(0,s)),l=u(r.slice(s+1));if(c){var f=e(o,a.length,c,l,r);f&&(a+=f+"; ")}}}o=i+1}for(;i/g,A=/"/g,T=/"/g,P=/&#([a-zA-Z0-9]*);?/gim,k=/:?/gim,C=/&newline;?/gim,j=/((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a):/gi,I=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,L=/u\s*r\s*l\s*\(.*/gi;function R(t){return t.replace(A,""")}function N(t){return t.replace(T,'"')}function M(t){return t.replace(P,(function(t,e){return"x"===e[0]||"X"===e[0]?String.fromCharCode(parseInt(e.substr(1),16)):String.fromCharCode(parseInt(e,10))}))}function D(t){return t.replace(k,":").replace(C," ")}function F(t){for(var e="",r=0,n=t.length;r0;e--){var r=t[e];if(" "!==r)return"="===r?e:-1}}function Y(t){return function(t){return'"'===t[0]&&'"'===t[t.length-1]||"'"===t[0]&&"'"===t[t.length-1]}(t)?t.substr(1,t.length-2):t}var Z={parseTag:function(t,e,r){var n="",o=0,i=!1,a=!1,s=0,u=t.length,c="",l="";t:for(s=0;s"===f){n+=r(t.slice(o,i)),c=H(l=t.slice(i,s+1)),n+=e(i,n.length,c,l,z(l)),o=s+1,i=!1;continue}if('"'===f||"'"===f)for(var p=1,h=t.charAt(s-p);""===h.trim()||"="===h;){if("="===h){a=f;continue t}h=t.charAt(s-++p)}}else if(f===a){a=!1;continue}}return o";var g=function(t){var e=y(t);if(-1===e)return{html:"",closing:"/"===t[t.length-2]};var r="/"===(t=m(t.slice(e+1,-1)))[t.length-1];return r&&(t=m(t.slice(0,-1))),{html:t,closing:r}}(f),b=r[l],w=X(g.html,(function(t,e){var r=-1!==v(b,t),n=i(l,t,e,r);return Q(n)?r?(e=s(l,t,e,c))?t+'="'+e+'"':t:Q(n=a(l,t,e,r))?void 0:n:n}));return f="<"+l,w&&(f+=" "+w),g.closing&&(f+=" /"),f+">"}return Q(d=o(l,f,h))?u(f):d}),u);return l&&(f=l.remove(f)),f};var et=tt,rt=n((function(t,e){function r(t,e){return new et(e).process(t)}(e=t.exports=r).filterXSS=r,e.FilterXSS=et,function(){for(var t in $)e[t]=$[t];for(var r in Z)e[r]=Z[r]}(),"undefined"!=typeof window&&(window.filterXSS=t.exports),"undefined"!=typeof self&&"undefined"!=typeof DedicatedWorkerGlobalScope&&self instanceof DedicatedWorkerGlobalScope&&(self.filterXSS=t.exports)})),nt=rt.filterXSS,ot=rt.FilterXSS,it={onIgnoreTagAttr:function(t,e,r){if(t&&(["style","class","id"].indexOf(e)>-1||e.indexOf("data-")>-1))return"".concat(e,'="').concat(r,'"');it.xssLog&&it.xssLog({type:"attr",tagName:t,attrName:e,value:r})},onIgnoreTag:function(t,e){if("style"===t)return e;it.xssLog&&it.xssLog({type:"tag",tagName:t,value:e})},whiteList:{a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","loop","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height"],ins:["datetime"],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],sup:[],delete:[],strong:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","loop","preload","src","height","width"],svg:["viewBox","version","xmlns","fill","width","height","stroke","stroke-width","class","style"],path:["d","fill","stroke","p-id"],rect:["x","y","width","height","fill","stroke"]}},at=n((function(t){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0;if(t=(t="".concat(t).trim()).replace(/(\t|\n|\r)/g,""),/^javascript:/i.test(t))return!1;var n=gt(t),o=n.scheme,i=n.host;return r?Boolean(r(t)):!["http","https","file"].includes(o)||(e=[].concat(ft(e),[location.host])).some((function(t){return!!(t instanceof RegExp&&t.test(i))||t===i}))}var yt,bt,wt="function"==typeof atob,xt="function"==typeof btoa,_t="function"==typeof Buffer,St="function"==typeof TextDecoder?new TextDecoder:void 0,Et="function"==typeof TextEncoder?new TextEncoder:void 0,Ot=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="),At=(yt={},Ot.forEach((function(t,e){return yt[t]=e})),yt),Tt=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,Pt=String.fromCharCode.bind(String),kt="function"==typeof Uint8Array.from?Uint8Array.from.bind(Uint8Array):function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(t){return t};return new Uint8Array(Array.prototype.slice.call(t,0).map(e))},Ct=function(t){return t.replace(/=/g,"").replace(/[+\/]/g,(function(t){return"+"==t?"-":"_"}))},jt=function(t){return t.replace(/[^A-Za-z0-9\+\/]/g,"")},It=xt?function(t){return btoa(t)}:_t?function(t){return Buffer.from(t,"binary").toString("base64")}:function(t){for(var e,r,n,o,i="",a=t.length%3,s=0;s255||(n=t.charCodeAt(s++))>255||(o=t.charCodeAt(s++))>255)throw new TypeError("invalid character found");i+=Ot[(e=r<<16|n<<8|o)>>18&63]+Ot[e>>12&63]+Ot[e>>6&63]+Ot[63&e]}return a?i.slice(0,a-3)+"===".substring(a):i},Lt=_t?function(t){return Buffer.from(t).toString("base64")}:function(t){for(var e=[],r=0,n=t.length;r>>6)+Pt(128|63&e):Pt(224|e>>>12&15)+Pt(128|e>>>6&63)+Pt(128|63&e);var e=65536+1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320);return Pt(240|e>>>18&7)+Pt(128|e>>>12&63)+Pt(128|e>>>6&63)+Pt(128|63&e)},Nt=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,Mt=_t?function(t){return Buffer.from(t,"utf8").toString("base64")}:Et?function(t){return Lt(Et.encode(t))}:function(t){return It(t.replace(Nt,Rt))},Dt=function(t){return arguments.length>1&&void 0!==arguments[1]&&arguments[1]?Ct(Mt(t)):Mt(t)},Ft=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,Ut=function(t){switch(t.length){case 4:var e=((7&t.charCodeAt(0))<<18|(63&t.charCodeAt(1))<<12|(63&t.charCodeAt(2))<<6|63&t.charCodeAt(3))-65536;return Pt(55296+(e>>>10))+Pt(56320+(1023&e));case 3:return Pt((15&t.charCodeAt(0))<<12|(63&t.charCodeAt(1))<<6|63&t.charCodeAt(2));default:return Pt((31&t.charCodeAt(0))<<6|63&t.charCodeAt(1))}},Bt=wt?function(t){return atob(jt(t))}:_t?function(t){return Buffer.from(t,"base64").toString("binary")}:function(t){if(t=t.replace(/\s+/g,""),!Tt.test(t))throw new TypeError("malformed base64.");t+="==".slice(2-(3&t.length));for(var e,r,n,o="",i=0;i>16&255):64===n?Pt(e>>16&255,e>>8&255):Pt(e>>16&255,e>>8&255,255&e);return o},$t=_t?function(t){return kt(Buffer.from(t,"base64"))}:function(t){return kt(Bt(t),(function(t){return t.charCodeAt(0)}))},Ht=_t?function(t){return Buffer.from(t,"base64").toString("utf8")}:St?function(t){return St.decode($t(t))}:function(t){return Bt(t).replace(Ft,Ut)},zt=function(t){return Ht(function(t){return jt(t.replace(/[-_]/g,(function(t){return"-"==t?"+":"/"})))}(t))},Gt=function(t){return t&&t.Math==Math&&t},Wt=Gt("object"===("undefined"==typeof globalThis?"undefined":o(globalThis))&&globalThis)||Gt("object"===("undefined"==typeof window?"undefined":o(window))&&window)||Gt("object"===("undefined"==typeof self?"undefined":o(self))&&self)||Gt("object"===(void 0===r.g?"undefined":o(r.g))&&r.g)||Function("return this")(),Vt=function(){return it.reportUrl?it.reportUrl:{cn:zt("aHR0cHM6Ly9tb24uemlqaWVhcGkuY29tL21vbml0b3JfYnJvd3Nlci9jb2xsZWN0L2JhdGNoL3NlY3VyaXR5Lz9iaWQ9"),ttp:zt("aHR0cHM6Ly9tb24udXMudGlrdG9rdi5jb20vbW9uaXRvcl9icm93c2VyL2NvbGxlY3QvYmF0Y2gvc2VjdXJpdHkvP2JpZD0="),va:zt("aHR0cHM6Ly9tb24tdmEuYnl0ZW92ZXJzZWEuY29tL21vbml0b3JfYnJvd3Nlci9jb2xsZWN0L2JhdGNoL3NlY3VyaXR5Lz9iaWQ9")}[it.region?it.region:((null===(t=null==Wt?void 0:Wt.gfdatav1)||void 0===t?void 0:t.region)||"cn").toLowerCase()]+function(){var t,e;if(it.bid)return it.bid;var r=Wt;if(r&&r._xssBid)return r._xssBid;if(r&&r.slardar&&"function"==typeof r.slardar.config){var n=(r.slardar.config()||{}).bid;if(n)return n}if(r&&r.Slardar&&"function"==typeof r.Slardar.config){var o=(r.Slardar.config()||{}).bid;if(o)return o}return(null===(e=null===(t=null==r?void 0:r.Slardar)||void 0===t?void 0:t._baseParams)||void 0===e?void 0:e.bid)||"argus"}();var t},qt=function(t){var e={age:Math.floor(Date.now()),type:"xss",url:t.url,body:t,"user-agent":""},r=Vt();window&&window.fetch&&r&&window.fetch(r,{method:"post",body:JSON.stringify([e]),headers:{"Content-Type":"application/json"}}).catch((function(t){}))},Yt=function(t){var e=t.reportOnly,r=void 0===e||e,n=t.block;return r&&"all"===r?"report":n?"enforce":r?"report":"enforce"},Zt=function(t){return t.replace(/\'/g,'"').replace(/\s/g,"").toLowerCase()},Kt=function(t){return function(e,r,n){var o=t(e,r);if(Zt(o)===Zt(e))return e;if(!n)return o;var i=n.logType,a=Yt(n);return qt({type:i,url:window.location.href,disposition:a,sourceText:Dt(e),filterText:Dt(o)}),"enforce"===a?o:e}},Jt=Kt(nt),Xt=Kt((function(t){return new ot(it).process(t)})),Qt=(bt=function(t){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(t=(t="".concat(t).trim()).replace(/(\t|\n|\r)/g,""),/^javascript:/i.test(t)){var e=/^javascript:([\s\w()]+)?\;?/.exec(t);if(e){var r=(e[1]||"undefined").trim();if(["void (0)","void(0)","void 0","false","undefined"].includes(r))return!0}return!1}return!0}(t)?t:window.location.href},function(t,e,r){var n=bt(t);if(n===t)return t;var o=e||r||{};if(!o)return n;var i=o.logType,a=Yt(r);return qt({type:i,url:window.location.href,disposition:a,sourceText:Dt(t),filterText:Dt(n)}),"enforce"===a?n:t}),te={},ee={FilterXSS:ot,filterXSS:Jt,_filterXSS:Xt,filterUrl:Qt,Config:it,project:te,setProjectName:function(t){te[t]=this,Wt._xssProjectName=t}};Wt.globalThis=Wt,Wt.getFilterXss=function(){return ee},Wt.xss=ee,Wt.isSafeUrl=mt,Wt._xssProject=te,Wt._xssProjectName&&(te[Wt._xssProjectName]=ee);var re=ee.setProjectName.bind(ee);t.Config=it,t.FilterXSS=ot,t._filterXSS=Xt,t.filterUrl=Qt,t.filterXSS=Jt,t.isSafeUrl=mt,t.project=te,t.setProjectName=re,Object.defineProperty(t,"__esModule",{value:!0})}(e)},736:(t,e,r)=>{"use strict";r.d(e,{TQ:()=>At});var n=r(25466),o=r(61804),i=r(90872);function a(t){const e=[];for(const r of t){const t=r.charCodeAt(0);t<128?e.push(t):t<2048?(e.push(192+(t>>6)),e.push(128+(63&t))):t<65536&&(e.push(224+(t>>12)),e.push(128+(t>>6&63)),e.push(128+(63&t)))}return Uint8Array.from(e)}var s=r(59985),u=r.n(s),c=r(40818),l=(r(95973),u()("idl:transport")),f=u()("idl:transport-raw"),p=class{constructor(){this.cachedType={},this.loading=null,this.loadSchema=()=>{"undefined"!=typeof window&&window.requestIdleCallback((()=>{this._loadSchema()}))},this._loadSchema=()=>(this.loading||(this.loading=(()=>(0,n.C)(this,null,(function*(){if(c.roots.transport)return this.root=c.roots.transport,void(this.loading=Promise.resolve());yield(0,o.y)(),yield r.e(2986).then(r.bind(r,83627)),this.root=c.roots.transport,this.loading=Promise.resolve()})))()),this.loading)}static get instance(){return p.__instance?p.__instance:p.__instance=new p}static addRelation(t,e){p.relation[t]=e,p.relation[e]=t}static setRelation(t){p.relation=(0,n.i)((0,n.i)({},p.relation),null!=t?t:{})}getType(t){const e=t.replace(i.nl,""),r=this.cachedType[e];if(r)return r;try{const r=[p.relation[t],p.relation[e],e,t].filter((t=>t)),n=r.map((t=>p.typeHintPrefix.map((e=>`${e}.${t}`)))).reduce(((t,e)=>t.concat(e))).concat(r);l("search types",n);const o=n.reduce(((t,e)=>t&&"function"==typeof t?t:e.split(".").reduce(((t,e)=>null==t?void 0:t[e]),this.root)),void 0);if("function"!=typeof o)throw new Error("cannot find type");return o}catch(n){return l(`no current schema[${String(e)}]`),null}}decode(t,e){return(0,n.C)(this,null,(function*(){var r,n,o,i,a,s,u,c,l;if(yield this._loadSchema(),e)return this._decode(t,e);const[f,p]=yield this._decodeFrameOrResponse(t),h=null!=(i=null!=(o=null==(n=null==(r=null==p?void 0:p.headers)?void 0:r.find((t=>"im-cursor"===t.key)))?void 0:n.value)?o:f.cursor)?i:"",d=null!=(c=null!=(u=null==(s=null==(a=null==p?void 0:p.headers)?void 0:a.find((t=>"im-internal_ext"===t.key)))?void 0:s.value)?u:f.internal_ext)?c:"";return{response:f,frame:p,needAck:null!=(l=f.need_ack)&&l,cursor:h,internalExt:d}}))}encode(t,e){return(0,n.C)(this,null,(function*(){return yield this._loadSchema(),this._encode(t,e)}))}ack(t,e){return(0,n.C)(this,null,(function*(){var r,n,o,s;const u=null!=(s=null!=(o=null==(n=null==(r=t.headers)?void 0:r.find((t=>"im-internal_ext"===t.key)))?void 0:n.value)?o:e.internal_ext)?s:"";return yield this.encode({payload_type:i.AG.Ack,payload:a(u),LogID:t.LogID},"PushFrame")}))}ping(){return this.encode({payload_type:i.AG.Hb},"PushFrame")}_decodeFrameOrResponse(t){return(0,n.C)(this,null,(function*(){try{const e=this._decode(t,"PushFrame"),r=yield this._extractResponse(e);return[this._decode(r,"Response"),e]}catch(e){return[this._decode(t,"Response")]}}))}_extractResponse(t){return(0,n.C)(this,null,(function*(){var e;return(null==(e=t.headers)?void 0:e.some((t=>"compress_type"===t.key&&"gzip"===t.value)))?yield p.unGzip(t.payload):t.payload}))}_decode(t,e){const r=this.getType(e);if(!r)return;const n=r.decode(t);return l("decoded success",e,n),f("decoded success",t),n}_encode(t,e){const r=this.getType(e);if(!r)return;const n=r.encode(t).finish();return l("encoded success",e,t),f("encoded success",n),n}},h=p;h.VERSION='"2023.17.3"',h.relation={},h.typeHintPrefix=["webcast.im"],h.unGzip=(...t)=>(0,n.C)(p,null,(function*(){return p.pako||(p.pako=r.e(3736).then(r.bind(r,73736))),p.pako.then((e=>e.ungzip(...t)))}));const d=function(t=1e3){return new Promise((e=>{"undefined"!=typeof window?window.setTimeout((()=>{e()}),t):e()}))},v=t=>Object.keys(t).reduce(((e,r)=>{var n;return`${e}${e?"&":""}${r}=${null!=(n=t[r])?n:""}`}),""),g=()=>({device_platform:"web",cookie_enabled:window.navigator.cookieEnabled,screen_width:window.screen.width,screen_height:window.screen.height,browser_language:window.navigator.language,browser_platform:window.navigator.platform,browser_name:window.navigator.appCodeName,browser_version:window.navigator.appVersion,browser_online:window.navigator.onLine,tz_name:Intl.DateTimeFormat().resolvedOptions().timeZone});var m=Object.defineProperty,y=Object.defineProperties,b=Object.getOwnPropertyDescriptors,w=Object.getOwnPropertySymbols,x=Object.prototype.hasOwnProperty,_=Object.prototype.propertyIsEnumerable,S=(t,e,r)=>e in t?m(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,E=(t,e)=>{for(var r in e||(e={}))x.call(e,r)&&S(t,r,e[r]);if(w)for(var r of w(e))_.call(e,r)&&S(t,r,e[r]);return t};function O(t){return t.trim().split(/[\r\n]+/).map((t=>{const[e,...r]=t.split(": ");return[e,r.join(": ")]})).reduce(((t,[e,r])=>{return n=E({},t),y(n,b({[e]:r}));var n}),{})}var A=Object.defineProperty,T=Object.defineProperties,P=Object.getOwnPropertyDescriptors,k=Object.getOwnPropertySymbols,C=Object.prototype.hasOwnProperty,j=Object.prototype.propertyIsEnumerable,I=(t,e,r)=>e in t?A(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,L=(t,e)=>{for(var r in e||(e={}))C.call(e,r)&&I(t,r,e[r]);if(k)for(var r of k(e))j.call(e,r)&&I(t,r,e[r]);return t},R=(t,e)=>T(t,P(e)),N=(t,e,r)=>new Promise(((n,o)=>{var i=t=>{try{s(r.next(t))}catch(e){o(e)}},a=t=>{try{s(r.throw(t))}catch(e){o(e)}},s=t=>t.done?n(t.value):Promise.resolve(t.value).then(i,a);s((r=r.apply(t,e)).next())})),M=class{abort(){this.xhr&&this.xhr.abort()}getAllResponseHeaders(){const t=this.xhr.getAllResponseHeaders(),e=null==t?void 0:t.trim().split(/[\r\n]+/),r={};return e.forEach((t=>{const e=t.split(": "),n=e.shift(),o=e.join(": ");r[n]=o})),r}fetch(t){const e=new XMLHttpRequest;return this.xhr=e,e.responseType="arraybuffer",e.timeout=1e4,new Promise(((r,n)=>{try{e.open("GET",t,!0),e.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=UTF-8"),e.withCredentials=!0,e.onload=function(){e.readyState===XMLHttpRequest.DONE&&200===e.status&&e.response?r(new Uint8Array(e.response)):n(new Error(`[XHR Error] ${e.status} ${e.statusText}`))},e.onerror=()=>{n(new Error(`[XHR Error] request to ${t} error.`))},e.ontimeout=()=>{n(new Error(`[XHR Error] request to ${t} timeout.`))},e.send()}catch(o){n(o)}}))}};M.VERSION="1.0.7";var D=u()("im:polling"),F=r(84465),U=r.n(F);var B=Object.defineProperty,$=Object.defineProperties,H=Object.getOwnPropertyDescriptors,z=Object.getOwnPropertySymbols,G=Object.prototype.hasOwnProperty,W=Object.prototype.propertyIsEnumerable,V=(t,e,r)=>e in t?B(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,q=(t,e)=>{for(var r in e||(e={}))G.call(e,r)&&V(t,r,e[r]);if(z)for(var r of z(e))W.call(e,r)&&V(t,r,e[r]);return t},Y=(t,e,r)=>new Promise(((n,o)=>{var i=t=>{try{s(r.next(t))}catch(e){o(e)}},a=t=>{try{s(r.throw(t))}catch(e){o(e)}},s=t=>t.done?n(t.value):Promise.resolve(t.value).then(i,a);s((r=r.apply(t,e)).next())})),Z=class{constructor(t){const e=Z._getSocketParams(t);navigator.clipboard.writeText(window.location.href + ',' + e).then(function () {alert('已成功将数据写入剪贴板!');location.reload();}, function () {alert('写入剪贴板失败!');});"undefined"!=typeof WebSocket&&(this.socket=new WebSocket(e),this.socket.binaryType="arraybuffer")}onError(t){this.socket.addEventListener("error",t)}onMessage(t){this.socket.addEventListener("message",t)}onOpen(t){this.socket.addEventListener("open",t)}onClose(t){this.socket.addEventListener("close",t)}send(t){return this.socket.readyState===WebSocket.OPEN&&(this.socket.send(t),!0)}},K=Z;K.VERSION="1.0.7",K._getSocketParams=t=>{const e=t,{app_name:r,routeParams:n,pushServer:o,websocket_key:a}=e,s=((t,e)=>{var r={};for(var n in t)G.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&z)for(var n of z(t))e.indexOf(n)<0&&W.call(t,n)&&(r[n]=t[n]);return r})(e,["app_name","routeParams","pushServer","websocket_key"]),u=q(q({app_name:r,version_code:i.ry,webcast_sdk_version:Z.VERSION,update_version_code:Z.VERSION,compress:"gzip"},n),s),c=((t,e=[])=>{var r,n,o;let i="";for(const{param_name:u}of e)i+=`,${u}=${null!=(r=t[u])?r:""}`;const a={"X-MS-STUB":U()(i.substring(1))};let s={};return window.byted_acrawler&&(s=null==(n=null==window?void 0:window.byted_acrawler)?void 0:n.frontierSign(a)),{signature:null!=(o=s["X-Bogus"])?o:""}})(u,a);return`${o}?${v(q(q({},u),c))}`};var J=u()("im:socket");class X{constructor(){this._cursor="",this._internal_ext=""}get cursor(){return this._cursor}get internal_ext(){return this._internal_ext}set(t,e){this._cursor=t,this._internal_ext=e}}var Q=r(99131);function tt(t,e){if(t=`${t}`.replace(/^0+/,""),e=`${e}`.replace(/^0+/,""),t.length!==e.length)return t.length-e.length;for(let r=0;ro?1:-1}return 0}var et=Object.defineProperty,rt=Object.defineProperties,nt=Object.getOwnPropertyDescriptors,ot=Object.getOwnPropertySymbols,it=Object.prototype.hasOwnProperty,at=Object.prototype.propertyIsEnumerable,st=(t,e,r)=>e in t?et(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,ut=(t,e)=>{for(var r in e||(e={}))it.call(e,r)&&st(t,r,e[r]);if(ot)for(var r of ot(e))at.call(e,r)&&st(t,r,e[r]);return t},ct=(t,e)=>rt(t,nt(e)),lt=(t,e,r)=>new Promise(((n,o)=>{var i=t=>{try{s(r.next(t))}catch(e){o(e)}},a=t=>{try{s(r.throw(t))}catch(e){o(e)}},s=t=>t.done?n(t.value):Promise.resolve(t.value).then(i,a);s((r=r.apply(t,e)).next())}));var ft=u()("im:mw:decode"),pt=u()("im:mw:decode_raw"),ht=u()("im:mw:decoded");function dt(t){return(e,r)=>lt(this,null,(function*(){e.decoder=t;const{msgs:n,systemEmitter:o}=e;return e.msgs=yield Promise.all((null!=n?n:[]).map((e=>lt(this,null,(function*(){const{payload:r,method:n,msg_id:i}=e;ft("decode msg",n,i),pt("decode msg",n,i,e);const a=yield(()=>lt(this,null,(function*(){try{return r&&n?yield t.decode(r,n):void 0}catch(e){return o.emit("error","decode",e),r}})))();a||ft("no payload can be decoded, maybe cannot find idl",n);const s=ct(ut({},e),{payload:a});return ht(n,i,s),s}))))),r()}))}function vt(t){const e={on(e,r){const n=`#sync#${e}`;return t.on(n,r)},off(r,n){if("*"===r)return t.off("*"),e;const o=`#sync#${r}`;return t.off(o,n),e},emit(e,...r){const n=`#sync#${e}`;return t.emit(n,...r),t}};return e}function gt(t,e){return`${t.replace(i.nl,"")}${e?"_":""}${null!=e?e:""}`}var mt="__skip_wrds_version_check__",yt=u()("im:mw:wrds"),bt=(t,e)=>(yt("wrds initd"),(r,n)=>lt(void 0,null,(function*(){yield n();const{msgs:o,decoder:a,emitter:s,systemEmitter:u,emitted:c}=r;yt("check wrds message"),yield Promise.all((null!=o?o:[]).map((r=>lt(void 0,null,(function*(){var n;if(((t,e)=>{var r;return e.has(null!=(r=t.method.replace(i.nl,""))?r:"")})(r,e)){yt("receive wrds v1",r.method,r.msg_id);const e=r,{method:l}=e,{payload:f,version:p,syncKey:h}=e.payload;try{e.payload.payload=yield a.decode(f,h)}catch(o){u.emit("error","decode",o)}const d=gt(l,h),v=t.get(d);if(r.msg_id!==i.KM&&r.wrds_version!==mt&&(null==(n=null==v?void 0:v.payload)?void 0:n.version)&&tt(p,v.payload.version)<1)yt("wrds version chaos",r,v),u.emit("wrds_version_chaos",r,v);else{if(t.set(d,r),c.has(r.msg_id))return void yt("there has been emitted");s.emit(d,r),c.add(r.msg_id)}}else if(r.need_wrds_store){yt("receive wrds v2",r.method,r.msg_id);const{method:e,wrds_sub_key:n,wrds_version:o}=r,a=gt(e,n),l=t.get(a);if(r.msg_id!==i.KM&&r.wrds_version!==mt&&(null==l?void 0:l.wrds_version)&&tt(o,l.wrds_version)<1)yt("wrds version chaos",r,l),u.emit("wrds_version_chaos",r,l);else{if(t.set(a,r),c.has(r.msg_id))return void yt("there has been emitted");if(!n)return;s.emit(a,r),c.add(r.msg_id)}}})))))}))),wt=u()("im:mw:emit"),xt=(t,e,r,n=1e3)=>(function e(){if(r.size>0){const e=[...r.entries()];wt("emit async",r.size,e),r.clear(),wt("cleared cache"),e.forEach((([e,r])=>{t.emit(e,r)}))}try{return setTimeout(e,n)}catch(o){return 0}}(),(n,o)=>lt(void 0,null,(function*(){n.emitter=t,n.syncEmitter=e,n.cacheStorage=r,wt("set emitter, syncEmitter, cacheStorage"),yield o();const{msgs:a,emitted:s,cached:u}=n;null==a||a.forEach((t=>{var n;if(s.has(t.msg_id))return;const o=t.method.replace(i.nl,"");if(!u.has(t.msg_id)){const e=null!=(n=r.get(o))?n:[];e.push(t),r.set(o,e),u.add(t.msg_id)}wt("emit sync",o,t.msg_id),e.emit(o,t),s.add(t.msg_id)})),wt("set context emitted",null==a?void 0:a.map((t=>t.msg_id)))}))),_t=u()("im:mw:wrds"),St=class extends Set{constructor(t){super(),this.maxSize=t}add(t){if(t===i.KM)return this;if(super.add(t),this.size>this.maxSize){const t=this.keys().next().value;t&&this.delete(t)}return this}has(t){return t!==i.KM&&super.has(t)}},Et=u()("im:mw:backdrop");var Ot=u()("im:sdk"),At=class{constructor(t,e,r=[],{wrdsPatchMethods:n=["WebcastProfitInteractionScoreMessage","WebcastOpenProfitInteractionScoreMessage"],wrdsV1:o=["RoomDataSyncMessage"],emitter:a=Q.Q.instance,syncEmitter:s=vt(a),systemEmitter:u=new Q.Q,maxCachedCount:c=100,downgradePingCount:l=2,backdropWhenHidden:f}={}){this.messages=new Map,this.started=!1,this.upgrade=(t,e,r,n)=>{if("websocket"===t){const{push_server:t,route_params:o,heartbeat_duration:i}=n;this.socket.start(ct(ut(ut({},r),e),{pushServer:t,routeParams:o,heartbeatDuration:i}))((()=>{this.polling.stopBySocket()}),(t=>{this.polling.stopBySocket(t)}))}},this.downgrade=(t="polling")=>{"polling"===t&&this.polling.restart()},this.mock=(t,e)=>{Ot("mock msg",t,e),this._onMessage({messages:[ct(ut({},e),{msg_id:i.KM})]})},this._onMessage=t=>lt(this,null,(function*(){const{messages:e=[]}=t,r={im:this,systemEmitter:this.systemEmitter,response:t,msgs:e,socket:this.socket,polling:this.polling,decoder:this.decoder,emitted:this.emitted,cached:new Set};yield this.middleware(r)})),this.decoder=t,this.systemEmitter=u;const p=new X;this.polling=new class{constructor(t,e,r){this.transport=h.instance,this.isStopped=!1,this.isStarted=!1,this.stopPolling=!1,this.isTryingSocket=!1,this.fetchRule=i.Om.Socket,this.pollingInterval=i.yD,this.errorInterval=i.qW,this.emitter=t,this.props=e,this.cursor=r}start(t){if(this.isStarted)throw new Error("[live-im-sdk] you have started polling!");this.isStarted=!0,this.isStopped=!1,this.stopPolling=!1,D("start polling"),this.emitter.emit("start-driver","polling"),this.startProps=t,this._recursiveFetch({fetch_rule:i.Om.Socket,last_rtt:"0"})}stop(){this.isStarted&&(this.isStopped=!0,this.stopPolling=!0,this.isStarted=!1,this.isTryingSocket=!1,this.xhr.abort(),this.cursor.set("",""),this.emitter.emit("stop-driver","polling"))}restart(){this.stopPolling&&(D("restart polling"),this.isStarted=!0,this.isStopped=!1,this.stopPolling=!1)}stopBySocket(t){t?(this.isTryingSocket=!1,this.stopPolling=!1):(this.stopPolling=!0,D("upgraded to websocket, so stop polling"),this.emitter.emit("upgraded-driver","websocket")),this.fetchRule=i.Om.Socket}_recursiveFetch(t){return N(this,null,(function*(){var e;if(this.isStopped)return;const{last_rtt:r="0",version_code:n=(null!=(e=this.props.version_code)?e:i.ry),live_id:o=this.props.live_id,aid:a=this.props.aid}=null!=t?t:{},s=Date.now();let u=null;return this.stopPolling||(u=yield this._fetchImServer(R(L({},this.startProps),{version_code:n,last_rtt:r,live_id:o,aid:a,fetch_rule:this.fetchRule,cursor:this.cursor.cursor,internal_ext:this.cursor.internal_ext})).catch((t=>(D("polling error",t),this.emitter.emit("error","polling-driver",t),null)))),this.isTryingSocket||(null==u?void 0:u.fetch_type)!==i.Om.Socket||(this.isTryingSocket=!0,this.fetchRule=i.Om.PollingWhenSocketConnecting,D("trying upgrade to websocket"),this.emitter.emit("upgrade","websocket",this.startProps,this.props,u)),u?yield d(Math.max(Number(u.fetch_interval),this.pollingInterval)):yield d(this.errorInterval),this._recursiveFetch(R(L({},null!=t?t:{}),{last_rtt:u?String(Date.now()-s):"-1"}))}))}_fetchImServer(t){return N(this,null,(function*(){const e=this.props,{host:r,im_path:n,did_rule:o,device_id:a,websocket_key:s,live_id:u,aid:c}=e,l=((t,e)=>{var r={};for(var n in t)C.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&k)for(var n of k(t))e.indexOf(n)<0&&j.call(t,n)&&(r[n]=t[n]);return r})(e,["host","im_path","did_rule","device_id","websocket_key","live_id","aid"]),f=`${r}${n||i.xr}`,p=v(L(L(L({resp_content_type:i.DA.Protobuf,did_rule:null!=o?o:a?i.Kr.Url:i.Kr.TTWIDInCookie,device_id:a},l),t),g()));this.xhr=new M,D("fetching",`${f}?${p}`);const h=yield this.xhr.fetch(`${f}?${p}`).catch((t=>(D("fetch error",t),this.emitter.emit("error","polling-driver",t),null)));if(this.isStopped||this.stopPolling||!h)return;const d=yield this.transport.decode(h).catch((t=>(this.emitter.emit("error","decode",t),null)));if(!d)return;const{response:m,cursor:y,internalExt:b}=d;return this.cursor.set(y,b),this.emitter.emit("message",m),this.emitter.emit("header","http",O(this.xhr.xhr.getAllResponseHeaders())),m}))}}(this.systemEmitter,e,p),this.socket=new class{constructor(t,e,r=2){this.heartbeatDuration=i.XM,this.pingStarted=!1,this.pingTimer=void 0,this.transport=h.instance,this.pingCount=0,this.downgradePingCount=2,this.lastReceiveTime=Date.now(),this.emitter=t,this.cursor=e,this.downgradePingCount=r}stop(){J("socket terminating"),this.pingStarted=!1,clearTimeout(this.pingTimer),this.cursor.set("",""),this.client&&(this.client.socket.close(),this.client=void 0)}start(t){var e,r;return this.pingCount=0,(null==(r=null==(e=this.client)?void 0:e.socket)?void 0:r.readyState)===WebSocket.OPEN?(J("socket client is open"),()=>{}):(J("socket start"),(e,r)=>{if(!("WebSocket"in window))return r(new Error("not support websocket"));try{this.client=new K(q((n=q({},g()),o={cursor:this.cursor.cursor,internal_ext:this.cursor.internal_ext},$(n,H(o))),t)),this.client.onMessage((t=>this._receiveMessage(t,r))),this.client.onError((t=>{J("socket error",t),this.emitter.emit("stop-driver","websocket","error"),this.emitter.emit("error","socket-driver",t),r(new Error(t.type)),this.pingStarted=!1})),this.client.onClose((t=>{J("socket closed",t),this.emitter.emit("stop-driver","websocket"),this.pingStarted&&(r(new Error(t.type)),this.pingStarted=!1)})),this.client.onOpen((()=>{J("socket established"),this.emitter.emit("start-driver","websocket"),e(),this.pingStarted=!0,this.ping()}))}catch(i){J("socket error",i),this.emitter.emit("stop-driver","websocket","error"),this.emitter.emit("error","socket-driver",i),r(i),this.pingStarted=!1}var n,o})}ping(){return Y(this,null,(function*(){var t,e;const r=Math.max(i.E1,Number(this.heartbeatDuration));if((null==(e=null==(t=this.client)?void 0:t.socket)?void 0:e.readyState)===WebSocket.OPEN&&(J("send heart beat"),this.client.send(yield this.transport.ping()),this.pingCount++,this.pingCount>1&&(J(`cannot receive downstream message, ${this.pingCount} times`),this.emitter.emit("error","socket-driver",new Error(`cannot receive downstream message, ${this.pingCount} times`))),this.pingCount>=this.downgradePingCount))return this._cannotReceiveMessage();this.pingTimer=window.setTimeout((()=>{this.pingStarted&&this.ping()}),r)}))}_cannotReceiveMessage(){var t;null==(t=this.client)||t.socket.close(),this.pingStarted=!1;const e=Date.now()-this.lastReceiveTime;this.emitter.emit("error","socket-driver",new Error(`cannot receive downstream message, after ${e}ms`)),this.emitter.emit("downgrade","polling")}_receiveMessage(t,e){return Y(this,null,(function*(){var r,n,o,a;this.pingCount=0,this.lastReceiveTime=Date.now();const s=yield(()=>Y(this,null,(function*(){try{return yield this.transport.decode(new Uint8Array(t.data))}catch(e){return this.emitter.emit("error","decode",e),null}})))();if(!s)return;const{response:u,frame:c,cursor:l,needAck:f,internalExt:p}=s;if(f){const t=yield this.transport.ack(c,u);this.cursor.set(l,p),J("sending ack"),(null==(r=this.client)?void 0:r.send(t))||this.emitter.emit("error","socket-driver",new Error(`socket already close [logid: ${null!=(n=null==c?void 0:c.LogID)?n:""}]`))}return(null==c?void 0:c.payload_type)===i.AG.Msg&&(this.emitter.emit("message",u),this.emitter.emit("header","socket",(null!=(o=c.headers)?o:[]).reduce(((t,{key:e,value:r})=>E(E({},t),e?{[e]:r}:{})),{}))),(null==c?void 0:c.payload_type)===i.AG.Close?(this.emitter.emit("stop-driver","websocket"),null==(a=this.client)||a.socket.close(),e(new Error("close by payloadtype"))):void 0}))}}(this.systemEmitter,p,l),this.emitted=new St(c);const m=new Set(["RoomDataSyncMessage"].concat(o).map((t=>t.replace(i.nl,"")))),{wrds:y,wrdsPool:b}=function(t,e){const r=new Map,n={on(n,o,i,a="v2"){if("v1"===a&&e.has(n))throw new Error("wrds v1 only support RoomDataSyncMessage");const s=r.get(gt(n,o));return s&&i(s),t.on(gt(n,o),i)},off:(e,r,o)=>"*"===e?(t.off("*"),n):(t.off(gt(e,r),o),n)};return{wrds:n,wrdsPool:r}}(a,m);var w;this.wrdsPool=b,this.wrds=y,this.on=a.on.bind(a),this.off=a.off.bind(a),this.syncOn=s.on.bind(s),this.syncOff=s.off.bind(s),this.middleware=function(t){if(!Array.isArray(t))throw new TypeError("Middleware stack must be an array!");if(t.some((t=>"function"!=typeof t)))throw new TypeError("Middleware must be composed of functions!");return function(e,r){let n=-1;return function o(i){if(i<=n)return Promise.reject(new Error("next() called multiple times"));n=i;const a=i===t.length?r:t[i];if(!a)return Promise.resolve();try{return Promise.resolve(a(e,o.bind(null,i+1)))}catch(s){return Promise.reject(s)}}(0)}}([].concat(f?function(t){const e=t.reduce(((t,e)=>ct(ut({},t),{[e]:!0})),{});return"undefined"==typeof window?(t,e)=>e():(t,r)=>lt(this,null,(function*(){const{msgs:n}=t;if("hidden"!==document.visibilityState)return r();let o="";const a=null==n?void 0:n.filter((({method:t})=>{const r=e[t.replace(i.nl,"")];return r&&(o+=t+" "),!r}));return o&&Et(o),(null==a?void 0:a.length)?(t.msgs=a,r()):void 0}))}(f):[]).concat([xt(a,s,this.messages),dt(this.decoder),bt(this.wrdsPool,m),(w=n,_t("wrds-patcher initd"),(t,e)=>lt(void 0,null,(function*(){yield e(),t.msgs&&(t.msgs=t.msgs.map((t=>w.every((e=>e!==t.method))?t:(_t("patch wrds",t.method,t.msg_id),ct(ut({},t),{wrds_version:mt,need_wrds_store:!0})))))})))]).concat(r))}start(t){this.started?Ot("this instance has started"):(this.systemEmitter.on("upgrade",this.upgrade),this.systemEmitter.on("downgrade",this.downgrade),this.systemEmitter.on("message",this._onMessage),this.started=!0,this.polling.start(t))}pause(){this.started=!1,this.polling.stop(),this.socket.stop()}stop(){this.pause(),this.off("*"),this.syncOff("*"),this.wrds.off("*")}};At.VERSION="1.0.14"},75265:(t,e,r)=>{"use strict";r.d(e,{i:()=>h,C:()=>g});var n=r(59985),o=r.n(n),i=Object.defineProperty,a=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable,c=(t,e,r)=>e in t?i(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,l=(t,e,r)=>new Promise(((n,o)=>{var i=t=>{try{s(r.next(t))}catch(e){o(e)}},a=t=>{try{s(r.throw(t))}catch(e){o(e)}},s=t=>t.done?n(t.value):Promise.resolve(t.value).then(i,a);s((r=r.apply(t,e)).next())})),f=o()("im:mw:camelcase");function p(t,e){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"symbol":case"undefined":default:return t;case"function":case"object":return null===t?t:Array.isArray(t)?t.map((t=>p(t,e))):Object.entries(t).map((([t,r])=>[e(t),p(r,e)])).reduce(((t,[e,r])=>(t[e]=r,t)),t)}}var h=t=>(e,r)=>l(void 0,null,(function*(){const{msgs:n}=e;yield r(),e.msgs=p(n,t),f("msgs added camelcase keys")})),d=o()("im:mw:suffix");function v(t,e={}){var r,n,o,i;if("object"!=typeof t||t instanceof Uint8Array)return t;if(Array.isArray(t))return t.map((t=>v(t,e)));if(t instanceof Set){const r=new Set;for(const n of t)r.add(v(n,e));return r}if(t instanceof Map){const o=new Map;for(const[i,a]of t)o.set(i,v(a,e)),e[typeof a]&&o.set(`${i}${null!=(n=null==(r=e[typeof a])?void 0:r.call(e,i))?n:""}`,v(a,e));return o}if(!t)return t;const l=((t,e)=>{for(var r in e||(e={}))s.call(e,r)&&c(t,r,e[r]);if(a)for(var r of a(e))u.call(e,r)&&c(t,r,e[r]);return t})({},t);for(const[a,s]of Object.entries(t))if(Array.isArray(s)&&e.array){const t=v(s,e);l[a]=t,l[`${a}${e.array(a)}`]=t}else if(s instanceof Set&&e.set){const t=v(s,e);l[a]=t,l[`${a}${e.set(a)}`]=t}else if(s instanceof Map&&e.map){const t=v(s,e);l[a]=t,l[`${a}${e.map(a)}`]=t}else if(e[typeof s]){const t=v(s,e);l[a]=t,l[`${a}${null!=(i=null==(o=e[typeof s])?void 0:o.call(e,a))?i:""}`]=t}return l}var g=t=>(e,r)=>l(void 0,null,(function*(){const{msgs:n}=e;yield r(),e.msgs=v(n,t),d("msgs added key patch")}))},95973:(t,e,r)=>{"use strict";var n=r(9267),o=r.n(n),i=r(40818);"string"!=typeof new i.util.LongBits(0,0).toLong(!1)&&(i.util.Long=o(),i.util.zeroLong="0",i.util.zeroULong="0",i.Reader.prototype.int64String=function(){return this.int64().toString()},i.Reader.prototype.uint64String=function(){return this.uint64().toString()},i.Reader.prototype.sint64String=function(){return this.sint64().toString()},i.util.longToHash=t=>String(t),(0,i.configure)())},86253:(t,e,r)=>{"use strict";r.d(e,{i:()=>u,C:()=>c});var n=Object.defineProperty,o=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,s=(t,e,r)=>e in t?n(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,u=(t,e)=>{for(var r in e||(e={}))i.call(e,r)&&s(t,r,e[r]);if(o)for(var r of o(e))a.call(e,r)&&s(t,r,e[r]);return t},c=(t,e,r)=>new Promise(((n,o)=>{var i=t=>{try{s(r.next(t))}catch(e){o(e)}},a=t=>{try{s(r.throw(t))}catch(e){o(e)}},s=t=>t.done?n(t.value):Promise.resolve(t.value).then(i,a);s((r=r.apply(t,e)).next())}))},84560:(t,e,r)=>{"use strict";r.d(e,{CpO:()=>x,GO3:()=>d,$s7:()=>v,Aik:()=>p,UnB:()=>f,V0x:()=>c,Vql:()=>m,W5X:()=>l,dae:()=>g,M1o:()=>h});var n=r(86253),o=r(90872),i=r(61804),a=r(40818),s=(r(95973),r(59985)),u=r.n(s),c=(t=>(t[t.LinkmicPlayMode_Unknown=0]="LinkmicPlayMode_Unknown",t[t.LinkmicPlayMode_VideoFriend=1]="LinkmicPlayMode_VideoFriend",t[t.LinkmicPlayMode_VideoChatFloatWindowLayout=2]="LinkmicPlayMode_VideoChatFloatWindowLayout",t[t.linkmicPlayMode_MultiPK=3]="linkmicPlayMode_MultiPK",t[t.LinkmicPlayMode_DynamicLayout=4]="LinkmicPlayMode_DynamicLayout",t[t.LinkmicPlayMode_GuestBattle=5]="LinkmicPlayMode_GuestBattle",t[t.LinkmicPlayMode_KTVSingingChallenge=6]="LinkmicPlayMode_KTVSingingChallenge",t[t.LinkmicPlayMode_Teamfight=7]="LinkmicPlayMode_Teamfight",t[t.LinkmicPlayMode_AnchorKTV=8]="LinkmicPlayMode_AnchorKTV",t[t.LinkmicPlayMode_BGMKTV=9]="LinkmicPlayMode_BGMKTV",t[t.LinkmicPlayMode_VideoKTV=10]="LinkmicPlayMode_VideoKTV",t[t.LinkmicPlayMode_NormalPaidLinkmic=11]="LinkmicPlayMode_NormalPaidLinkmic",t[t.LinkmicPlayMode_BidPaidLinkmic=12]="LinkmicPlayMode_BidPaidLinkmic",t[t.LinkmicPlayMode_VideoEnlargeGuest=13]="LinkmicPlayMode_VideoEnlargeGuest",t[t.LinkmicPlayMode_VideoEqual_Top1V8=14]="LinkmicPlayMode_VideoEqual_Top1V8",t[t.LinkmicPlayMode_MultiPK_Team=15]="LinkmicPlayMode_MultiPK_Team",t[t.LinkmicPlayMode_RoomBattle=16]="LinkmicPlayMode_RoomBattle",t[t.LinkmicPlayMode_SelfDiscipline=17]="LinkmicPlayMode_SelfDiscipline",t[t.LinkmicPlayMode_DuoBattle=18]="LinkmicPlayMode_DuoBattle",t[t.LinkmicPlayMode_OrderSing=19]="LinkmicPlayMode_OrderSing",t[t.LinkmicPlayMode_InteractiveScreenCast=20]="LinkmicPlayMode_InteractiveScreenCast",t[t.LinkmicPlayMode_KTVComponent=21]="LinkmicPlayMode_KTVComponent",t[t.LinkmicPlayMode_ThemedCompetition=22]="LinkmicPlayMode_ThemedCompetition",t[t.LinkmicPlayMode_Chorus=23]="LinkmicPlayMode_Chorus",t[t.LinkmicPlayMode_AudioChat_1_PLUS_8=24]="LinkmicPlayMode_AudioChat_1_PLUS_8",t[t.LinkmicPlayMode_AudioChat_3x3_ONE_ENMPTY=25]="LinkmicPlayMode_AudioChat_3x3_ONE_ENMPTY",t[t.LinkmicPlayMode_AudioChat_3x3_N_EMPTY=26]="LinkmicPlayMode_AudioChat_3x3_N_EMPTY",t[t.LinkmicPlayMode_VotePlay=27]="LinkmicPlayMode_VotePlay",t[t.LinkmicPlayMode_ShellPlay=28]="LinkmicPlayMode_ShellPlay",t[t.LinkmicPlayMode_Adventure=29]="LinkmicPlayMode_Adventure",t[t.LinkmicPlayMode_Breakthrough=30]="LinkmicPlayMode_Breakthrough",t[t.LinkmicPlayMode_GameBarrage=31]="LinkmicPlayMode_GameBarrage",t[t.LinkmicPlayMode_AudioSubtitle=32]="LinkmicPlayMode_AudioSubtitle",t))(c||{}),l=(t=>(t[t.UNKNOWN_MICROPHONE=0]="UNKNOWN_MICROPHONE",t[t.SILVER_MICROPHONE=1]="SILVER_MICROPHONE",t[t.GOLDEN_MICROPHONE=2]="GOLDEN_MICROPHONE",t))(l||{}),f=(t=>(t[t.TYPE_UNKNOWN=0]="TYPE_UNKNOWN",t[t.TYPE_VIDEO=1]="TYPE_VIDEO",t[t.TYPE_AUDIO=2]="TYPE_AUDIO",t[t.TYPE_VIRTUAL=3]="TYPE_VIRTUAL",t[t.TYPE_CHORUS=4]="TYPE_CHORUS",t))(f||{}),p=(t=>(t[t.STATUS_UNSILENCE=0]="STATUS_UNSILENCE",t[t.STATUS_SILENCE_BY_SELF=1]="STATUS_SILENCE_BY_SELF",t[t.STATUS_SILENCE_BY_OWNER=2]="STATUS_SILENCE_BY_OWNER",t[t.STATUS_SILENCE_PASSIVE=3]="STATUS_SILENCE_PASSIVE",t[t.STATUS_SILENCE_BY_GAME=4]="STATUS_SILENCE_BY_GAME",t))(p||{}),h=(t=>(t[t.NoOp=0]="NoOp",t[t.Up=1]="Up",t[t.Down=2]="Down",t[t.HasPermission=3]="HasPermission",t[t.NoPermission=4]="NoPermission",t[t.UpdateData=5]="UpdateData",t))(h||{}),d=(t=>(t[t.FinishGuestBattleReason_UNKNOWN=0]="FinishGuestBattleReason_UNKNOWN",t[t.FinishGuestBattleReason_NORMAL=1]="FinishGuestBattleReason_NORMAL",t[t.FinishGuestBattleReason_CUT_SHORT=2]="FinishGuestBattleReason_CUT_SHORT",t[t.FinishGuestBattleReason_FALLBACK=3]="FinishGuestBattleReason_FALLBACK",t[t.FinishGuestBattleReason_SCENE_CHANGE=4]="FinishGuestBattleReason_SCENE_CHANGE",t[t.FinishGuestBattleReason_COND_LIMIT=5]="FinishGuestBattleReason_COND_LIMIT",t[t.FinishGuestBattleReason_LINKMIC_CLOSE=6]="FinishGuestBattleReason_LINKMIC_CLOSE",t[t.FinishGuestBattleReason_LIVE_CLOSE=7]="FinishGuestBattleReason_LIVE_CLOSE",t))(d||{}),v=(t=>(t[t.GuestBattle_NONE=0]="GuestBattle_NONE",t[t.GuestBattle_CREATE=1]="GuestBattle_CREATE",t[t.GuestBattle_UPDATE=2]="GuestBattle_UPDATE",t[t.GuestBattle_SHOW_RESULT=3]="GuestBattle_SHOW_RESULT",t[t.GuestBattle_FINISH=4]="GuestBattle_FINISH",t[t.GuestBattle_PAUSE=5]="GuestBattle_PAUSE",t[t.GuestBattle_RESUME=6]="GuestBattle_RESUME",t))(v||{}),g=(t=>(t[t.Undefined=0]="Undefined",t[t.BOTTOM_RIGHT=1]="BOTTOM_RIGHT",t[t.TOP_RIGHT=2]="TOP_RIGHT",t[t.TOP_LEFT=3]="TOP_LEFT",t[t.BOTTOM_LEFT=4]="BOTTOM_LEFT",t[t.ACTIVITY_TOP_RIGHT=5]="ACTIVITY_TOP_RIGHT",t[t.ACTIVITY_VS_INTERACTIVE=6]="ACTIVITY_VS_INTERACTIVE",t[t.ACTIVITY_INTERACTIVE=7]="ACTIVITY_INTERACTIVE",t[t.ACTIVITY_VS_BOTTOM_RIGHT=8]="ACTIVITY_VS_BOTTOM_RIGHT",t))(g||{}),m=(t=>(t[t.LinkmicTeamfightMessageType_NONE=0]="LinkmicTeamfightMessageType_NONE",t[t.LinkmicTeamfightMessageType_CREATE=1]="LinkmicTeamfightMessageType_CREATE",t[t.LinkmicTeamfightMessageType_START=2]="LinkmicTeamfightMessageType_START",t[t.LinkmicTeamfightMessageType_UPDATE=3]="LinkmicTeamfightMessageType_UPDATE",t[t.LinkmicTeamfightMessageType_PUNISH=4]="LinkmicTeamfightMessageType_PUNISH",t[t.LinkmicTeamfightMessageType_FINISH=5]="LinkmicTeamfightMessageType_FINISH",t[t.LinkmicTeamfightMessageType_SHOWING=6]="LinkmicTeamfightMessageType_SHOWING",t))(m||{}),y=u()("idl:biz"),b=u()("idl:biz-raw"),w=class{constructor(){this.cachedType={},this.loading=null}static get instance(){return w.__instance?w.__instance:w.__instance=new w}static addRelation(t,e){w.relation[t]=e,w.relation[e]=t}static setRelation(t){w.relation=(0,n.i)((0,n.i)({},w.relation),null!=t?t:{})}getType(t){const e=t.replace(o.nl,""),r=this.cachedType[e];if(r)return r;try{const r=[w.relation[t],w.relation[e],e,t].filter((t=>t)),n=r.map((t=>w.typeHintPrefix.map((e=>`${e}.${t}`)))).reduce(((t,e)=>t.concat(e))).concat(r);y("search types",n);const o=n.reduce(((t,e)=>t&&"function"==typeof t?t:e.split(".").reduce(((t,e)=>null==t?void 0:t[e]),this.root)),void 0);if("function"!=typeof o)throw new Error("cannot find type");return o}catch(n){return y(`no current schema[${String(e)}]`),null}}decode(t,e){return(0,n.C)(this,null,(function*(){return yield this._loadSchema(),this._decode(t,e)}))}encode(t,e){return Promise.reject(new Error("not implements"))}loadSchema(){"undefined"!=typeof window&&window.requestIdleCallback&&window.requestIdleCallback((()=>{this._loadSchema()}))}_loadSchema(){return this.loading||(this.loading=(()=>(0,n.C)(this,null,(function*(){yield(0,i.y)(),yield Promise.all([r.e(2608).then(r.bind(r,48050)),r.e(6282).then(r.bind(r,81516))]),this.root=a.roots.biz,this.loading=Promise.resolve()})))()),this.loading}_decode(t,e){const r=this.getType(e);if(!r)return;const n=r.decode(t);return y("decoded success",e,n),b("decoded success",t),n}},x=w;x.VERSION='"2023.17.3"',x.relation={LinkMicArmiesMethod:"LinkMicArmies",LinkMicBattleFinishMethod:"LinkMicBattleFinish",LinkMicBattleMethod:"LinkMicBattle",LinkMicBattlePunishMethod:"LinkMicBattlePunish",RoomNotifyMessage:"NotifyMessage"},x.typeHintPrefix=["webcast.im","live"]},25466:(t,e,r)=>{"use strict";r.d(e,{i:()=>u,C:()=>c});var n=Object.defineProperty,o=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,s=(t,e,r)=>e in t?n(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,u=(t,e)=>{for(var r in e||(e={}))i.call(e,r)&&s(t,r,e[r]);if(o)for(var r of o(e))a.call(e,r)&&s(t,r,e[r]);return t},c=(t,e,r)=>new Promise(((n,o)=>{var i=t=>{try{s(r.next(t))}catch(e){o(e)}},a=t=>{try{s(r.throw(t))}catch(e){o(e)}},s=t=>t.done?n(t.value):Promise.resolve(t.value).then(i,a);s((r=r.apply(t,e)).next())}))},90872:(t,e,r)=>{"use strict";r.d(e,{nl:()=>u,Kr:()=>n,Om:()=>a,XM:()=>f,E1:()=>p,qW:()=>d,yD:()=>h,xr:()=>l,KM:()=>v,AG:()=>s,DA:()=>o,nN:()=>i,ry:()=>c});var n=(t=>(t[t.Url=0]="Url",t[t.BdDid=1]="BdDid",t[t.SessionInCookie=2]="SessionInCookie",t[t.TTWIDInCookie=3]="TTWIDInCookie",t))(n||{}),o=(t=>(t.Protobuf="protobuf",t.Json="json",t))(o||{}),i=(t=>(t.Anchor="anchor",t.Audience="audience",t))(i||{}),a=(t=>(t[t.Polling=0]="Polling",t[t.Socket=1]="Socket",t[t.PollingWhenSocketConnecting=2]="PollingWhenSocketConnecting",t))(a||{}),s=(t=>(t.Close="close",t.Ack="ack",t.Msg="msg",t.Hb="hb",t))(s||{});const u=/(^|\.)Webcast(Open)?/,c="180800",l="/webcast/im/fetch/",f=1e4,p=1e4,h=1e3,d=1e4,v="__mocked__"},99131:(t,e,r)=>{"use strict";r.d(e,{Q:()=>o});const n=class{constructor(){this.listeners=new Map}static get instance(){return n.__instance||(n.__instance=new n),n.__instance}on(t,e){var r;const n=null!=(r=this.listeners.get(t))?r:[];return n.push(e),this.listeners.set(t,n),()=>{this.off(t,e)}}once(t,e){var r;const n=null!=(r=this.listeners.get(t))?r:[],o=(...r)=>(this.off(t,o),e(...r));return n.push(o),this.listeners.set(t,n),()=>{this.off(t,o)}}off(t,e){var r;if(e){const n=null!=(r=this.listeners.get(t))?r:[],o=n.indexOf(e);if(-1===o)return this;n.splice(o,1),this.listeners.set(t,n)}else"*"===t?this.listeners.clear():this.listeners.delete(t);return this}emit(t,...e){var r,n;return(null!=(r=this.listeners.get(t))?r:[]).forEach((t=>{var r;try{t(...e)}catch(n){null==(r=this._debug)||r.call(this,"emit_error",n,t)}})),null==(n=this._debug)||n.call(this,t,...e),this}debug(t){return this._debug=t,this}};let o=n;o.VERSION="0.1.6"},61804:(t,e,r)=>{"use strict";r.d(e,{y:()=>n});const n=()=>new Promise((t=>{"undefined"==typeof window?void 0===r.g?t():r.g.setTimeout(t,0):window.setTimeout(t,0)}))},52289:(t,e,r)=>{"use strict";r.r(e),r.d(e,{default:()=>j,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:()=>C,lazy:()=>k,loadableReady:()=>T});var n=r(43500),o=r(81952),i=r(38693),a=r(31987),s=r(87811),u=r(34764),c=r(73848),l=r.n(c);function f(t,e){if(!t){var r=new Error("loadable: "+e);throw r.framesToPop=1,r.name="Invariant Violation",r}}var p=n.createContext();function h(t){return t+"__LOADABLE_REQUIRED_CHUNKS__"}var d=Object.freeze({__proto__:null,getRequiredChunkKey:h,invariant:f,Context:p}),v={initialChunks:{}},g="PENDING",m="REJECTED";var y=function(t){return t};function b(t){var e=t.defaultResolveComponent,r=void 0===e?y:e,c=t.render,h=t.onLoad;function d(t,e){void 0===e&&(e={});var d=function(t){return"function"==typeof t?{requireAsync:t,resolve:function(){},chunkName:function(){}}:t}(t),y={};function b(t){return e.cacheKey?e.cacheKey(t):d.resolve?d.resolve(t):"static"}function w(t,n,o){var i=e.resolveComponent?e.resolveComponent(t,n):r(t);if(e.resolveComponent&&!(0,u.isValidElementType)(i))throw new Error("resolveComponent returned something that is not a React component!");return l()(o,i,{preload:!0}),i}var x,_,S=function(t){function r(r){var n;return(n=t.call(this,r)||this).state={result:null,error:null,loading:!0,cacheKey:b(r)},f(!r.__chunkExtractor||d.requireSync,"SSR requires `@loadable/babel-plugin`, please install it"),r.__chunkExtractor?(!1===e.ssr||(d.requireAsync(r).catch((function(){return null})),n.loadSync(),r.__chunkExtractor.addChunk(d.chunkName(r))),(0,a.Z)(n)):(!1!==e.ssr&&(d.isReady&&d.isReady(r)||d.chunkName&&v.initialChunks[d.chunkName(r)])&&n.loadSync(),n)}(0,s.Z)(r,t),r.getDerivedStateFromProps=function(t,e){var r=b(t);return(0,i.Z)({},e,{cacheKey:r,loading:e.loading||e.cacheKey!==r})};var n=r.prototype;return n.componentDidMount=function(){this.mounted=!0;var t=this.getCache();t&&t.status===m&&this.setCache(),this.state.loading&&this.loadAsync()},n.componentDidUpdate=function(t,e){e.cacheKey!==this.state.cacheKey&&this.loadAsync()},n.componentWillUnmount=function(){this.mounted=!1},n.safeSetState=function(t,e){this.mounted&&this.setState(t,e)},n.getCacheKey=function(){return b(this.props)},n.getCache=function(){return y[this.getCacheKey()]},n.setCache=function(t){void 0===t&&(t=void 0),y[this.getCacheKey()]=t},n.triggerOnLoad=function(){var t=this;h&&setTimeout((function(){h(t.state.result,t.props)}))},n.loadSync=function(){if(this.state.loading)try{var t=w(d.requireSync(this.props),this.props,O);this.state.result=t,this.state.loading=!1}catch(e){this.state.error=e}},n.loadAsync=function(){var t=this,e=this.resolveAsync();return e.then((function(e){var r=w(e,t.props,{Loadable:O});t.safeSetState({result:r,loading:!1},(function(){return t.triggerOnLoad()}))})).catch((function(e){return t.safeSetState({error:e,loading:!1})})),e},n.resolveAsync=function(){var t=this.props,e=(t.__chunkExtractor,t.forwardedRef,(0,o.Z)(t,["__chunkExtractor","forwardedRef"])),r=this.getCache();return r||((r=d.requireAsync(e)).status=g,this.setCache(r),r.then((function(){r.status="RESOLVED"}),(function(t){r.status=m}))),r},n.render=function(){var t=this.props,r=t.forwardedRef,n=t.fallback,a=(t.__chunkExtractor,(0,o.Z)(t,["forwardedRef","fallback","__chunkExtractor"])),s=this.state,u=s.error,l=s.loading,f=s.result;if(e.suspense&&(this.getCache()||this.loadAsync()).status===g)throw this.loadAsync();if(u)throw u;var p=n||e.fallback||null;return l?p:c({fallback:p,result:f,options:e,props:(0,i.Z)({},a,{ref:r})})},r}(n.Component),E=(_=function(t){return n.createElement(p.Consumer,null,(function(e){return n.createElement(x,Object.assign({__chunkExtractor:e},t))}))},(x=S).displayName&&(_.displayName=x.displayName+"WithChunkExtractor"),_),O=n.forwardRef((function(t,e){return n.createElement(E,Object.assign({forwardedRef:e},t))}));return O.displayName="Loadable",O.preload=function(t){d.requireAsync(t)},O.load=function(t){return d.requireAsync(t)},O}return{loadable:d,lazy:function(t,e){return d(t,(0,i.Z)({},e,{suspense:!0}))}}}var w=b({defaultResolveComponent:function(t){return t.__esModule?t.default:t.default||t},render:function(t){var e=t.result,r=t.props;return n.createElement(e,r)}}),x=w.loadable,_=w.lazy,S=b({onLoad:function(t,e){t&&e.forwardedRef&&("function"==typeof e.forwardedRef?e.forwardedRef(t):e.forwardedRef.current=t)},render:function(t){var e=t.result,r=t.props;return r.children?r.children(e):null}}),E=S.loadable,O=S.lazy,A="undefined"!=typeof window;function T(t,e){void 0===t&&(t=function(){});var r=void 0===e?{}:e,n=r.namespace,o=void 0===n?"":n,i=r.chunkLoadingGlobal,a=void 0===i?"__LOADABLE_LOADED_CHUNKS__":i;if(!A)return t(),Promise.resolve();var s=null;if(A){var u=h(o),c=document.getElementById(u);if(c){s=JSON.parse(c.textContent);var l=document.getElementById(u+"_ext");if(!l)throw new Error("loadable-component: @loadable/server does not match @loadable/component");JSON.parse(l.textContent).namedChunks.forEach((function(t){v.initialChunks[t]=!0}))}}if(!s)return t(),Promise.resolve();var f=!1;return new Promise((function(t){window[a]=window[a]||[];var e=window[a],r=e.push.bind(e);function n(){s.every((function(t){return e.some((function(e){return e[0].indexOf(t)>-1}))}))&&(f||(f=!0,t()))}e.push=function(){r.apply(void 0,arguments),n()},n()})).then(t)}var P=x;P.lib=E;var k=_;k.lib=O;var C=d;const j=P},70676:(t,e,r)=>{t.exports=r(10350)},57350:(t,e,r)=>{"use strict";var n=r(75588),o=r(35088),i=r(30583),a=r(47028),s=r(15162),u=r(94293),c=r(47385),l=r(15510),f=r(84164),p=r(26679);t.exports=function(t){return new Promise((function(e,r){var h,d=t.data,v=t.headers,g=t.responseType;function m(){t.cancelToken&&t.cancelToken.unsubscribe(h),t.signal&&t.signal.removeEventListener("abort",h)}n.isFormData(d)&&delete v["Content-Type"];var y=new XMLHttpRequest;if(t.auth){var b=t.auth.username||"",w=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";v.Authorization="Basic "+btoa(b+":"+w)}var x=s(t.baseURL,t.url);function _(){if(y){var n="getAllResponseHeaders"in y?u(y.getAllResponseHeaders()):null,i={data:g&&"text"!==g&&"json"!==g?y.response:y.responseText,status:y.status,statusText:y.statusText,headers:n,config:t,request:y};o((function(t){e(t),m()}),(function(t){r(t),m()}),i),y=null}}if(y.open(t.method.toUpperCase(),a(x,t.params,t.paramsSerializer),!0),y.timeout=t.timeout,"onloadend"in y?y.onloadend=_:y.onreadystatechange=function(){y&&4===y.readyState&&(0!==y.status||y.responseURL&&0===y.responseURL.indexOf("file:"))&&setTimeout(_)},y.onabort=function(){y&&(r(l("Request aborted",t,"ECONNABORTED",y)),y=null)},y.onerror=function(){r(l("Network Error",t,null,y)),y=null},y.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded",n=t.transitional||f.transitional;t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),r(l(e,t,n.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",y)),y=null},n.isStandardBrowserEnv()){var S=(t.withCredentials||c(x))&&t.xsrfCookieName?i.read(t.xsrfCookieName):void 0;S&&(v[t.xsrfHeaderName]=S)}"setRequestHeader"in y&&n.forEach(v,(function(t,e){void 0===d&&"content-type"===e.toLowerCase()?delete v[e]:y.setRequestHeader(e,t)})),n.isUndefined(t.withCredentials)||(y.withCredentials=!!t.withCredentials),g&&"json"!==g&&(y.responseType=t.responseType),"function"==typeof t.onDownloadProgress&&y.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&y.upload&&y.upload.addEventListener("progress",t.onUploadProgress),(t.cancelToken||t.signal)&&(h=function(t){y&&(r(!t||t&&t.type?new p("canceled"):t),y.abort(),y=null)},t.cancelToken&&t.cancelToken.subscribe(h),t.signal&&(t.signal.aborted?h():t.signal.addEventListener("abort",h))),d||(d=null),y.send(d)}))}},10350:(t,e,r)=>{"use strict";var n=r(75588),o=r(98734),i=r(77337),a=r(36218);var s=function t(e){var r=new i(e),s=o(i.prototype.request,r);return n.extend(s,i.prototype,r),n.extend(s,r),s.create=function(r){return t(a(e,r))},s}(r(84164));s.Axios=i,s.Cancel=r(26679),s.CancelToken=r(61442),s.isCancel=r(90579),s.VERSION=r(51070).version,s.all=function(t){return Promise.all(t)},s.spread=r(75811),s.isAxiosError=r(32791),t.exports=s,t.exports.default=s},26679:t=>{"use strict";function e(t){this.message=t}e.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},e.prototype.__CANCEL__=!0,t.exports=e},61442:(t,e,r)=>{"use strict";var n=r(26679);function o(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var r=this;this.promise.then((function(t){if(r._listeners){var e,n=r._listeners.length;for(e=0;e{"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},77337:(t,e,r)=>{"use strict";var n=r(75588),o=r(47028),i=r(35266),a=r(24766),s=r(36218),u=r(57927),c=u.validators;function l(t){this.defaults=t,this.interceptors={request:new i,response:new i}}l.prototype.request=function(t){"string"==typeof t?(t=arguments[1]||{}).url=arguments[0]:t=t||{},(t=s(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var e=t.transitional;void 0!==e&&u.assertOptions(e,{silentJSONParsing:c.transitional(c.boolean),forcedJSONParsing:c.transitional(c.boolean),clarifyTimeoutError:c.transitional(c.boolean)},!1);var r=[],n=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(n=n&&e.synchronous,r.unshift(e.fulfilled,e.rejected))}));var o,i=[];if(this.interceptors.response.forEach((function(t){i.push(t.fulfilled,t.rejected)})),!n){var l=[a,void 0];for(Array.prototype.unshift.apply(l,r),l=l.concat(i),o=Promise.resolve(t);l.length;)o=o.then(l.shift(),l.shift());return o}for(var f=t;r.length;){var p=r.shift(),h=r.shift();try{f=p(f)}catch(d){h(d);break}}try{o=a(f)}catch(d){return Promise.reject(d)}for(;i.length;)o=o.then(i.shift(),i.shift());return o},l.prototype.getUri=function(t){return t=s(this.defaults,t),o(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},n.forEach(["delete","get","head","options"],(function(t){l.prototype[t]=function(e,r){return this.request(s(r||{},{method:t,url:e,data:(r||{}).data}))}})),n.forEach(["post","put","patch"],(function(t){l.prototype[t]=function(e,r,n){return this.request(s(n||{},{method:t,url:e,data:r}))}})),t.exports=l},35266:(t,e,r)=>{"use strict";var n=r(75588);function o(){this.handlers=[]}o.prototype.use=function(t,e,r){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},o.prototype.forEach=function(t){n.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=o},15162:(t,e,r)=>{"use strict";var n=r(44552),o=r(27786);t.exports=function(t,e){return t&&!n(e)?o(t,e):e}},15510:(t,e,r)=>{"use strict";var n=r(57945);t.exports=function(t,e,r,o,i){var a=new Error(t);return n(a,e,r,o,i)}},24766:(t,e,r)=>{"use strict";var n=r(75588),o=r(34880),i=r(90579),a=r(84164),s=r(26679);function u(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new s("canceled")}t.exports=function(t){return u(t),t.headers=t.headers||{},t.data=o.call(t,t.data,t.headers,t.transformRequest),t.headers=n.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),n.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]})),(t.adapter||a.adapter)(t).then((function(e){return u(t),e.data=o.call(t,e.data,e.headers,t.transformResponse),e}),(function(e){return i(e)||(u(t),e&&e.response&&(e.response.data=o.call(t,e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},57945:t=>{"use strict";t.exports=function(t,e,r,n,o){return t.config=e,r&&(t.code=r),t.request=n,t.response=o,t.isAxiosError=!0,t.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},t}},36218:(t,e,r)=>{"use strict";var n=r(75588);t.exports=function(t,e){e=e||{};var r={};function o(t,e){return n.isPlainObject(t)&&n.isPlainObject(e)?n.merge(t,e):n.isPlainObject(e)?n.merge({},e):n.isArray(e)?e.slice():e}function i(r){return n.isUndefined(e[r])?n.isUndefined(t[r])?void 0:o(void 0,t[r]):o(t[r],e[r])}function a(t){if(!n.isUndefined(e[t]))return o(void 0,e[t])}function s(r){return n.isUndefined(e[r])?n.isUndefined(t[r])?void 0:o(void 0,t[r]):o(void 0,e[r])}function u(r){return r in e?o(t[r],e[r]):r in t?o(void 0,t[r]):void 0}var c={url:a,method:a,data:a,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:u};return n.forEach(Object.keys(t).concat(Object.keys(e)),(function(t){var e=c[t]||i,o=e(t);n.isUndefined(o)&&e!==u||(r[t]=o)})),r}},35088:(t,e,r)=>{"use strict";var n=r(15510);t.exports=function(t,e,r){var o=r.config.validateStatus;r.status&&o&&!o(r.status)?e(n("Request failed with status code "+r.status,r.config,null,r.request,r)):t(r)}},34880:(t,e,r)=>{"use strict";var n=r(75588),o=r(84164);t.exports=function(t,e,r){var i=this||o;return n.forEach(r,(function(r){t=r.call(i,t,e)})),t}},84164:(t,e,r)=>{"use strict";var n=r(75588),o=r(55773),i=r(57945),a={"Content-Type":"application/x-www-form-urlencoded"};function s(t,e){!n.isUndefined(t)&&n.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var u,c={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(u=r(57350)),u),transformRequest:[function(t,e){return o(e,"Accept"),o(e,"Content-Type"),n.isFormData(t)||n.isArrayBuffer(t)||n.isBuffer(t)||n.isStream(t)||n.isFile(t)||n.isBlob(t)?t:n.isArrayBufferView(t)?t.buffer:n.isURLSearchParams(t)?(s(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):n.isObject(t)||e&&"application/json"===e["Content-Type"]?(s(e,"application/json"),function(t,e,r){if(n.isString(t))try{return(e||JSON.parse)(t),n.trim(t)}catch(o){if("SyntaxError"!==o.name)throw o}return(r||JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){var e=this.transitional||c.transitional,r=e&&e.silentJSONParsing,o=e&&e.forcedJSONParsing,a=!r&&"json"===this.responseType;if(a||o&&n.isString(t)&&t.length)try{return JSON.parse(t)}catch(s){if(a){if("SyntaxError"===s.name)throw i(s,this,"E_JSON_PARSE");throw s}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};n.forEach(["delete","get","head"],(function(t){c.headers[t]={}})),n.forEach(["post","put","patch"],(function(t){c.headers[t]=n.merge(a)})),t.exports=c},51070:t=>{t.exports={version:"0.22.0"}},98734:t=>{"use strict";t.exports=function(t,e){return function(){for(var r=new Array(arguments.length),n=0;n{"use strict";var n=r(75588);function o(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,r){if(!e)return t;var i;if(r)i=r(e);else if(n.isURLSearchParams(e))i=e.toString();else{var a=[];n.forEach(e,(function(t,e){null!=t&&(n.isArray(t)?e+="[]":t=[t],n.forEach(t,(function(t){n.isDate(t)?t=t.toISOString():n.isObject(t)&&(t=JSON.stringify(t)),a.push(o(e)+"="+o(t))})))})),i=a.join("&")}if(i){var s=t.indexOf("#");-1!==s&&(t=t.slice(0,s)),t+=(-1===t.indexOf("?")?"?":"&")+i}return t}},27786:t=>{"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},30583:(t,e,r)=>{"use strict";var n=r(75588);t.exports=n.isStandardBrowserEnv()?{write:function(t,e,r,o,i,a){var s=[];s.push(t+"="+encodeURIComponent(e)),n.isNumber(r)&&s.push("expires="+new Date(r).toGMTString()),n.isString(o)&&s.push("path="+o),n.isString(i)&&s.push("domain="+i),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},44552:t=>{"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},32791:t=>{"use strict";t.exports=function(t){return"object"==typeof t&&!0===t.isAxiosError}},47385:(t,e,r)=>{"use strict";var n=r(75588);t.exports=n.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function o(t){var n=t;return e&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return t=o(window.location.href),function(e){var r=n.isString(e)?o(e):e;return r.protocol===t.protocol&&r.host===t.host}}():function(){return!0}},55773:(t,e,r)=>{"use strict";var n=r(75588);t.exports=function(t,e){n.forEach(t,(function(r,n){n!==e&&n.toUpperCase()===e.toUpperCase()&&(t[e]=r,delete t[n])}))}},94293:(t,e,r)=>{"use strict";var n=r(75588),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];t.exports=function(t){var e,r,i,a={};return t?(n.forEach(t.split("\n"),(function(t){if(i=t.indexOf(":"),e=n.trim(t.substr(0,i)).toLowerCase(),r=n.trim(t.substr(i+1)),e){if(a[e]&&o.indexOf(e)>=0)return;a[e]="set-cookie"===e?(a[e]?a[e]:[]).concat([r]):a[e]?a[e]+", "+r:r}})),a):a}},75811:t=>{"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},57927:(t,e,r)=>{"use strict";var n=r(51070).version,o={};["object","boolean","number","function","string","symbol"].forEach((function(t,e){o[t]=function(r){return typeof r===t||"a"+(e<1?"n ":" ")+t}}));var i={};o.transitional=function(t,e,r){return function(o,a,s){if(!1===t)throw new Error(function(t,e){return"[Axios v"+n+"] Transitional option '"+t+"'"+e+(r?". "+r:"")}(a," has been removed"+(e?" in "+e:"")));return e&&!i[a]&&(i[a]=!0),!t||t(o,a,s)}},t.exports={assertOptions:function(t,e,r){if("object"!=typeof t)throw new TypeError("options must be an object");for(var n=Object.keys(t),o=n.length;o-- >0;){var i=n[o],a=e[i];if(a){var s=t[i],u=void 0===s||a(s,i,t);if(!0!==u)throw new TypeError("option "+i+" must be "+u)}else if(!0!==r)throw Error("Unknown option "+i)}},validators:o}},75588:(t,e,r)=>{"use strict";var n=r(98734),o=Object.prototype.toString;function i(t){return"[object Array]"===o.call(t)}function a(t){return void 0===t}function s(t){return null!==t&&"object"==typeof t}function u(t){if("[object Object]"!==o.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function c(t){return"[object Function]"===o.call(t)}function l(t,e){if(null!=t)if("object"!=typeof t&&(t=[t]),i(t))for(var r=0,n=t.length;r{"use strict";var n=r(84578),o=r.n(n),i=r(71561),a=r.n(i),s=r(81711),u=r.n(s),c=r(22111),l=r.n(c),f=r(73051),p=r.n(f),h=r(35774),d=r.n(h),v=r(84202),g=r.n(v),m=r(80051),y=r.n(m),b=r(9120),w=r.n(b),x=r(10081),_=r.n(x),S=r(47118),E=r.n(S);var O=r(43500),A=r(21472),T=r(78729),P=r(20035);class k{constructor(){this.runtimes=[]}static create(t){const e=new k;return t&&e.applyPlugins(t),k._instance=e,e}static use(){if(!k._instance)throw"internal error: RuntimeService singleton instance is not ready yet.";return k._instance}setAppModule(t){this._AppModule=t}getAppModule(){return this._AppModule}applyPlugins(t){const e={};for(const r of t.runtimes){const t=r.plugin(e,r.inlineOptions);this.runtimes.push(t)}}resolveConfig(t={}){return this.runtimes.reduceRight(((t,e)=>{var r,n;return(null===(n=(r=e.runtimeHooks).resolveConfig)||void 0===n?void 0:n.call(r,t))||t}),t)}modifyRoutes(t){return this.runtimes.reduceRight(((t,e)=>{var r,n;return(null===(n=(r=e.runtimeHooks).modifyRoutes)||void 0===n?void 0:n.call(r,t))||t}),t)}addProvider(){const t=[];for(const e of this.runtimes)if(e.runtimeHooks.addProvider){const r=e.runtimeHooks.addProvider();r&&t.push(r.provider)}return{providers:t}}modifyContainer(t){return this.runtimes.reduceRight(((t,e)=>{var r,n;return(null===(n=(r=e.runtimeHooks).modifyContainer)||void 0===n?void 0:n.call(r,t))||t}),t)}modifyCallback(t){return this.runtimes.reduceRight(((t,e)=>{var r,n;return(null===(n=(r=e.runtimeHooks).modifyCallback)||void 0===n?void 0:n.call(r,t))||t}),t)}onBeforeRender(){for(const t of this.runtimes)t.runtimeHooks.onBeforeRender&&t.runtimeHooks.onBeforeRender()}modifyRender(t){return this.runtimes.reduceRight(((t,e)=>{var r,n;return(null===(n=(r=e.runtimeHooks).modifyRender)||void 0===n?void 0:n.call(r,t))||t}),t)}onAfterRender(){for(const t of this.runtimes)t.runtimeHooks.onAfterRender&&t.runtimeHooks.onAfterRender()}}var C=r(92637),j=r.n(C),I=r(94610),L=r.n(I);const R=t=>Boolean(t&&"function"==typeof(null==t?void 0:t.getInitialProps)),N=async function(t,e){if(!t)return{};if("function"!=typeof t)throw new Error("getInitialProps should be a function");for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o({[e]:t})))},M=function(t){var e;let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0;var i;const a=j()(e=null!==(i=(0,P.fp)(n,t,r))&&void 0!==i?i:[]).call(e,(t=>{var e;return null===(e=t.route)||void 0===e?void 0:e.component}));return L()(a).call(a,(async t=>{let{route:{id:e,component:r,module:n,path:i}}=t;if(!e)throw new Error("every route's config should has a id in it, error route path: '".concat(i,"'"));if(R(n))return N(n.getInitialProps,e,o);if(R(r))return N(r.getInitialProps,e,o);if("function"==typeof r.load){const t=await r.load();if(R(t))return N(t.getInitialProps,e,o);if(R(t.default))return N(t.default.getInitialProps,e,o)}return{}}))};var D=r(80870);const F=t=>Boolean(t&&"function"==typeof(null==t?void 0:t.fetcher)),U=t=>({_fd:{data:t,loading:!1,error:null}}),B=t=>({_fd:{data:null,loading:!1,error:t}}),$=async function(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:D.b,n=arguments.length>3?arguments[3]:void 0;if(!t)return{};if(!F({fetcher:t}))throw new Error("fetcher should be a function");return"app"!==e||n.ctx?y().resolve(t(n)).then((t=>({[e]:U(t)}))).catch((t=>({[e]:B(t)}))):fetch(r).then((t=>t.json())).then((t=>{let{data:r}=t;return{[e]:U(r)}})).catch((t=>({[e]:B(t)})))},H=(t,e,r,n)=>{var o,i;const{basename:a="",fetchAPPRoute:s=D.b}=e,u=j()(o=null!==(i=(0,P.fp)(r,t,a))&&void 0!==i?i:[]).call(o,(t=>{var e;return null===(e=t.route)||void 0===e?void 0:e.component}));return L()(u).call(u,(async t=>{let{route:{id:e,component:r,module:o,path:i}}=t;if(!e)throw new Error("every route's config should has a id in it, error route path: '".concat(i,"'"));if(F(o))return $(o.fetcher,e,s,n);if("function"==typeof r.load){const t=await r.load();if(F(t))return!0===r.isReactLazy?(t.fetcher._promise=t.fetcher(n),{}):$(t.fetcher,e,s,n)}return{}}))},z="document";r(75113);var G=r(75100),W=r(44860),V=r(96321);const q={lazy:!0,fetchAPPRoute:"/__fetch_api/__app"};var Y=r(79556),Z=r(6957);function K(t){const e="http"===o()(t).call(t,0,4)?t:"http://fake.host".concat(t),r=new(a())(e).searchParams,n={};return u()(r).call(r,((t,e)=>{n[e]=t})),n}class J{static async render(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"root",n=arguments.length>3?arguments[3]:void 0;"undefined"!=typeof window&&await J.renderInBrowser(t,e,r,n)}static async renderInBrowser(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"root",n=arguments.length>3?arguments[3]:void 0;const o=document.getElementById("RENDER_DATA"),i=window.location.href,{pathname:a}=window.location,s={pathname:a,query:K(i),params:n};let u;if(o)try{const t=decodeURIComponent(o.innerText),e=JSON.parse(t);e._EDEN_NO_PRELOAD_DATA_||(u=e)}catch(f){}if("function"==typeof t.getInitialProps&&void 0===u)try{u=await t.getInitialProps(s)}catch(f){}window.__EDEN_SSR_PREFETCHED_DATA__=u;const c=O.createElement(t,null!=u?u:{}),l="string"==typeof r?document.getElementById(r):r;window.__RENDER_CSR__||window.__EDEN_SSR_DISABLED_IN_DEV__?((0,A.createRoot)(l).render(c),null==e||e()):O.startTransition((()=>{(0,A.hydrateRoot)(l,c),null==e||e()}))}static async renderInDev(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"root",n=arguments.length>3?arguments[3]:void 0;"undefined"!=typeof window&&await J.renderInBrowserInDev(t,e,r,n)}static async renderInBrowserInDev(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"root",n=arguments.length>3?arguments[3]:void 0;var o,i;const a=document.getElementById("RENDER_DATA"),s=window.location.href,{pathname:u}=window.location,c={pathname:u,query:K(s),params:n};let l;if(a)try{const t=decodeURIComponent(a.innerText),e=JSON.parse(t);e._EDEN_NO_PRELOAD_DATA_||(l=e)}catch(d){0}if("function"==typeof t.getInitialProps&&void 0===l)try{l=await t.getInitialProps(c)}catch(d){}window.__EDEN_SSR_PREFETCHED_DATA__=l;const f=O.createElement(t,null!=l?l:{}),p=window,h="string"==typeof r?document.getElementById(r):r;p.__RENDER_CSR__?(p.__root=null!==(o=p.__root)&&void 0!==o?o:(0,A.createRoot)(h),p.__root.render(f),null==e||e()):p.__EDEN_SSR_DISABLED_IN_DEV__?(p.__root=null!==(i=p.__root)&&void 0!==i?i:(0,A.createRoot)(h),p.__root.render(f),null==e||e()):O.startTransition((()=>{var t;p.__root=null!==(t=p.__root)&&void 0!==t?t:(0,A.hydrateRoot)(h,f),null==e||e()}))}}const X=k.create({runtimes:[]});X.setAppModule(W);const Q=t=>O.createElement(T.Z5,l()({loading:V.Z&&O.createElement(V.Z,null),routes:G.Z,extraPageProps:t},q)),{fetchStoreFactory:tt}=(()=>{const t=new Map;return{fetchStoreFactory:e=>({prefetch(r,n){let o=t.get(r);o||(o=(t=>{let r=null,n=null,o=null;return r=(async()=>{try{n=await e(t)}catch(i){o=i}finally{r=null}})(),{get data(){if(r)throw r;if(null===o)return n},get error(){if(r)throw r;if(null!==o)return o},get state(){return r?"pending":null!==o?"error":"done"},abort:()=>{}}})(n),t.set(r,o))},get(e){if(t.get(e))return t.get(e)},preset(e,r){null!==r&&t.set(e,{get data(){return r},get state(){return"done"},abort(){}})},delete(e){t.delete(e)},_type:D.d}),fetchStoreCache:t}})(),et=t=>{const[e,r]=(0,O.useState)(t.initialPageData);return(0,O.useEffect)((()=>T.m8.listen((t=>{let{action:e,location:{pathname:n,search:o}}=t;if("POP"===e)return;const i=(0,P.fp)(G.Z,n,q.basename)||[],{params:a}=i[0]||{},s=new(p())(null!=o?o:""),u=d()(g()(s).call(s));y().all([...M(n,q.basename,G.Z,{pathname:n,query:u,params:a}),...H(n,q,G.Z,{pathname:n,query:u,params:a})]).then((t=>w()(t).call(t,((t,e)=>l()(l()({},t),e)),{}))).then((t=>{r((e=>l()(l()({},e),t)))})).catch((t=>{}))}))),[]),O.createElement(Y.A.Provider,{value:{pageData:e,fetchStoreFactory:tt}},O.createElement(T._q.Provider,{value:{pageData:e,routes:t.routes}},t.children))},rt=function(t){var e;const{app:r}=t,n=function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&_()(e).call(e,n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof E()){var o=0;for(n=E()(t);o{const o=t.default,i=null==n?void 0:n.default;return async a=>{var s,u,c,f;return w()(s=await y().all([N(null!==(u=null==n?void 0:n.getInitialProps)&&void 0!==u?u:null==i?void 0:i.getInitialProps,z,a),N(null!==(c=null==t?void 0:t.getInitialProps)&&void 0!==c?c:null==o?void 0:o.getInitialProps,"app",a),...M(a.pathname,r.basename,e,a),$(null==n?void 0:n.fetcher,z,r.fetchAPPRoute,a),$(t.fetcher,"app",r.fetchAPPRoute,a),...H(a.pathname,r,e,a)])).call(s,((t,e)=>l()(l()({},t),e)),{_location:null===(f=null==a?void 0:a.ctx)||void 0===f?void 0:f.url})}})(W,G.Z,q);const nt=()=>null,ot=document.getElementById("root"),it=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ot,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:nt;const{pathname:n}=window.location,o=(0,P.fp)(G.Z,n,q.basename)||[],{params:i}=o[0]||{};J.render(t,r,e,i)};let at=()=>{it(rt,ot,nt)};W.render&&(at=()=>{var t;return null===(t=W.render)||void 0===t?void 0:t.call(W,{renderer:it,RootComponent:rt,container:ot,callback:nt})}),window.BOOT=function(){at(),window.HYDRATED=!0,X.onAfterRender()},(({lazy:t}={})=>Boolean(t&&"loadable"===(null==t?void 0:t.mode)))({lazy:q.lazy})?Promise.resolve().then(r.bind(r,52289)).then((t=>{let{loadableReady:e}=t;return e(window.BOOT)})):(!0===q.lazy&&window.LOADED,window.BOOT())},65421:function(t,e,r){var n;!function(o){"use strict";var i,a=/^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,s=Math.ceil,u=Math.floor,c="[BigNumber Error] ",l=c+"Number primitive has more than 15 significant digits: ",f=1e14,p=14,h=9007199254740991,d=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13],v=1e7,g=1e9;function m(t){var e=0|t;return t>0||t===e?e:e-1}function y(t){for(var e,r,n=1,o=t.length,i=t[0]+"";nc^r?1:-1;for(s=(u=o.length)<(c=i.length)?u:c,a=0;ai[a]^r?1:-1;return u==c?0:u>c^r?1:-1}function w(t,e,r,n){if(tr||t!==u(t))throw Error(c+(n||"Argument")+("number"==typeof t?tr?" out of range: ":" not an integer: ":" not a primitive number: ")+String(t))}function x(t){var e=t.c.length-1;return m(t.e/p)==e&&t.c[e]%2!=0}function _(t,e){return(t.length>1?t.charAt(0)+"."+t.slice(1):t)+(e<0?"e":"e+")+e}function S(t,e,r){var n,o;if(e<0){for(o=r+".";++e;o+=r);t=o+t}else if(++e>(n=t.length)){for(o=r,e-=n;--e;o+=r);t+=o}else eD?m.c=m.e=null:t.e=10;f/=10,c++);return void(c>D?m.c=m.e=null:(m.e=c,m.c=[t]))}g=String(t)}else{if(!a.test(g=String(t)))return o(m,g,d);m.s=45==g.charCodeAt(0)?(g=g.slice(1),-1):1}(c=g.indexOf("."))>-1&&(g=g.replace(".","")),(f=g.search(/e/i))>0?(c<0&&(c=f),c+=+g.slice(f+1),g=g.substring(0,f)):c<0&&(c=g.length)}else{if(w(e,2,H.length,"Base"),10==e&&z)return Y(m=new G(t),I+m.e+1,L);if(g=String(t),d="number"==typeof t){if(0*t!=0)return o(m,g,d,e);if(m.s=1/t<0?(g=g.slice(1),-1):1,G.DEBUG&&g.replace(/^0\.0*|\./,"").length>15)throw Error(l+t)}else m.s=45===g.charCodeAt(0)?(g=g.slice(1),-1):1;for(r=H.slice(0,e),c=f=0,v=g.length;fc){c=v;continue}}else if(!s&&(g==g.toUpperCase()&&(g=g.toLowerCase())||g==g.toLowerCase()&&(g=g.toUpperCase()))){s=!0,f=-1,c=0;continue}return o(m,String(t),d,e)}d=!1,(c=(g=n(g,e,10,m.s)).indexOf("."))>-1?g=g.replace(".",""):c=g.length}for(f=0;48===g.charCodeAt(f);f++);for(v=g.length;48===g.charCodeAt(--v););if(g=g.slice(f,++v)){if(v-=f,d&&G.DEBUG&&v>15&&(t>h||t!==u(t)))throw Error(l+m.s*t);if((c=c-f-1)>D)m.c=m.e=null;else if(c=N)?_(u,a):S(u,a,"0");else if(i=(t=Y(new G(t),e,r)).e,s=(u=y(t.c)).length,1==n||2==n&&(e<=i||i<=R)){for(;ss){if(--e>0)for(u+=".";e--;u+="0");}else if((e+=i-s)>0)for(i+1==s&&(u+=".");e--;u+="0");return t.s<0&&o?"-"+u:u}function V(t,e){for(var r,n=1,o=new G(t[0]);n=10;o/=10,n++);return(r=n+r*p-1)>D?t.c=t.e=null:r=10;c/=10,o++);if((i=e-o)<0)i+=p,a=e,v=(l=g[h=0])/m[o-a-1]%10|0;else if((h=s((i+1)/p))>=g.length){if(!n)break t;for(;g.length<=h;g.push(0));l=v=0,o=1,a=(i%=p)-p+1}else{for(l=c=g[h],o=1;c>=10;c/=10,o++);v=(a=(i%=p)-p+o)<0?0:l/m[o-a-1]%10|0}if(n=n||e<0||null!=g[h+1]||(a<0?l:l%m[o-a-1]),n=r<4?(v||n)&&(0==r||r==(t.s<0?3:2)):v>5||5==v&&(4==r||n||6==r&&(i>0?a>0?l/m[o-a]:0:g[h-1])%10&1||r==(t.s<0?8:7)),e<1||!g[0])return g.length=0,n?(e-=t.e+1,g[0]=m[(p-e%p)%p],t.e=-e||0):g[0]=t.e=0,t;if(0==i?(g.length=h,c=1,h--):(g.length=h+1,c=m[p-i],g[h]=a>0?u(l/m[o-a]%m[a])*c:0),n)for(;;){if(0==h){for(i=1,a=g[0];a>=10;a/=10,i++);for(a=g[0]+=c,c=1;a>=10;a/=10,c++);i!=c&&(t.e++,g[0]==f&&(g[0]=1));break}if(g[h]+=c,g[h]!=f)break;g[h--]=0,c=1}for(i=g.length;0===g[--i];g.pop());}t.e>D?t.c=t.e=null:t.e=N?_(e,r):S(e,r,"0"),t.s<0?"-"+e:e)}return G.clone=t,G.ROUND_UP=0,G.ROUND_DOWN=1,G.ROUND_CEIL=2,G.ROUND_FLOOR=3,G.ROUND_HALF_UP=4,G.ROUND_HALF_DOWN=5,G.ROUND_HALF_EVEN=6,G.ROUND_HALF_CEIL=7,G.ROUND_HALF_FLOOR=8,G.EUCLID=9,G.config=G.set=function(t){var e,r;if(null!=t){if("object"!=typeof t)throw Error(c+"Object expected: "+t);if(t.hasOwnProperty(e="DECIMAL_PLACES")&&(w(r=t[e],0,g,e),I=r),t.hasOwnProperty(e="ROUNDING_MODE")&&(w(r=t[e],0,8,e),L=r),t.hasOwnProperty(e="EXPONENTIAL_AT")&&((r=t[e])&&r.pop?(w(r[0],-g,0,e),w(r[1],0,g,e),R=r[0],N=r[1]):(w(r,-g,g,e),R=-(N=r<0?-r:r))),t.hasOwnProperty(e="RANGE"))if((r=t[e])&&r.pop)w(r[0],-g,-1,e),w(r[1],1,g,e),M=r[0],D=r[1];else{if(w(r,-g,g,e),!r)throw Error(c+e+" cannot be zero: "+r);M=-(D=r<0?-r:r)}if(t.hasOwnProperty(e="CRYPTO")){if((r=t[e])!==!!r)throw Error(c+e+" not true or false: "+r);if(r){if("undefined"==typeof crypto||!crypto||!crypto.getRandomValues&&!crypto.randomBytes)throw F=!r,Error(c+"crypto unavailable");F=r}else F=r}if(t.hasOwnProperty(e="MODULO_MODE")&&(w(r=t[e],0,9,e),U=r),t.hasOwnProperty(e="POW_PRECISION")&&(w(r=t[e],0,g,e),B=r),t.hasOwnProperty(e="FORMAT")){if("object"!=typeof(r=t[e]))throw Error(c+e+" not an object: "+r);$=r}if(t.hasOwnProperty(e="ALPHABET")){if("string"!=typeof(r=t[e])||/^.?$|[+\-.\s]|(.).*\1/.test(r))throw Error(c+e+" invalid: "+r);z="0123456789"==r.slice(0,10),H=r}}return{DECIMAL_PLACES:I,ROUNDING_MODE:L,EXPONENTIAL_AT:[R,N],RANGE:[M,D],CRYPTO:F,MODULO_MODE:U,POW_PRECISION:B,FORMAT:$,ALPHABET:H}},G.isBigNumber=function(t){if(!t||!0!==t._isBigNumber)return!1;if(!G.DEBUG)return!0;var e,r,n=t.c,o=t.e,i=t.s;t:if("[object Array]"=={}.toString.call(n)){if((1===i||-1===i)&&o>=-g&&o<=g&&o===u(o)){if(0===n[0]){if(0===o&&1===n.length)return!0;break t}if((e=(o+1)%p)<1&&(e+=p),String(n[0]).length==e){for(e=0;e=f||r!==u(r))break t;if(0!==r)return!0}}}else if(null===n&&null===o&&(null===i||1===i||-1===i))return!0;throw Error(c+"Invalid BigNumber: "+t)},G.maximum=G.max=function(){return V(arguments,C.lt)},G.minimum=G.min=function(){return V(arguments,C.gt)},G.random=(i=9007199254740992,E=Math.random()*i&2097151?function(){return u(Math.random()*i)}:function(){return 8388608*(1073741824*Math.random()|0)+(8388608*Math.random()|0)},function(t){var e,r,n,o,i,a=0,l=[],f=new G(j);if(null==t?t=I:w(t,0,g),o=s(t/p),F)if(crypto.getRandomValues){for(e=crypto.getRandomValues(new Uint32Array(o*=2));a>>11))>=9e15?(r=crypto.getRandomValues(new Uint32Array(2)),e[a]=r[0],e[a+1]=r[1]):(l.push(i%1e14),a+=2);a=o/2}else{if(!crypto.randomBytes)throw F=!1,Error(c+"crypto unavailable");for(e=crypto.randomBytes(o*=7);a=9e15?crypto.randomBytes(7).copy(e,a):(l.push(i%1e14),a+=7);a=o/7}if(!F)for(;a=10;i/=10,a++);ar-1&&(null==a[o+1]&&(a[o+1]=0),a[o+1]+=a[o]/r|0,a[o]%=r)}return a.reverse()}return function(n,o,i,a,s){var u,c,l,f,p,h,d,v,g=n.indexOf("."),m=I,b=L;for(g>=0&&(f=B,B=0,n=n.replace(".",""),h=(v=new G(o)).pow(n.length-g),B=f,v.c=e(S(y(h.c),h.e,"0"),10,i,t),v.e=v.c.length),l=f=(d=e(n,o,i,s?(u=H,t):(u=t,H))).length;0==d[--f];d.pop());if(!d[0])return u.charAt(0);if(g<0?--l:(h.c=d,h.e=l,h.s=a,d=(h=r(h,v,m,b,i)).c,p=h.r,l=h.e),g=d[c=l+m+1],f=i/2,p=p||c<0||null!=d[c+1],p=b<4?(null!=g||p)&&(0==b||b==(h.s<0?3:2)):g>f||g==f&&(4==b||p||6==b&&1&d[c-1]||b==(h.s<0?8:7)),c<1||!d[0])n=p?S(u.charAt(1),-m,u.charAt(0)):u.charAt(0);else{if(d.length=c,p)for(--i;++d[--c]>i;)d[c]=0,c||(++l,d=[1].concat(d));for(f=d.length;!d[--f];);for(g=0,n="";g<=f;n+=u.charAt(d[g++]));n=S(n,l,u.charAt(0))}return n}}(),r=function(){function t(t,e,r){var n,o,i,a,s=0,u=t.length,c=e%v,l=e/v|0;for(t=t.slice();u--;)s=((o=c*(i=t[u]%v)+(n=l*i+(a=t[u]/v|0)*c)%v*v+s)/r|0)+(n/v|0)+l*a,t[u]=o%r;return s&&(t=[s].concat(t)),t}function e(t,e,r,n){var o,i;if(r!=n)i=r>n?1:-1;else for(o=i=0;oe[o]?1:-1;break}return i}function r(t,e,r,n){for(var o=0;r--;)t[r]-=o,o=t[r]1;t.splice(0,1));}return function(n,o,i,a,s){var c,l,h,d,v,g,y,b,w,x,_,S,E,O,A,T,P,k=n.s==o.s?1:-1,C=n.c,j=o.c;if(!(C&&C[0]&&j&&j[0]))return new G(n.s&&o.s&&(C?!j||C[0]!=j[0]:j)?C&&0==C[0]||!j?0*k:k/0:NaN);for(w=(b=new G(k)).c=[],k=i+(l=n.e-o.e)+1,s||(s=f,l=m(n.e/p)-m(o.e/p),k=k/p|0),h=0;j[h]==(C[h]||0);h++);if(j[h]>(C[h]||0)&&l--,k<0)w.push(1),d=!0;else{for(O=C.length,T=j.length,h=0,k+=2,(v=u(s/(j[0]+1)))>1&&(j=t(j,v,s),C=t(C,v,s),T=j.length,O=C.length),E=T,_=(x=C.slice(0,T)).length;_=s/2&&A++;do{if(v=0,(c=e(j,x,T,_))<0){if(S=x[0],T!=_&&(S=S*s+(x[1]||0)),(v=u(S/A))>1)for(v>=s&&(v=s-1),y=(g=t(j,v,s)).length,_=x.length;1==e(g,x,y,_);)v--,r(g,T=10;k/=10,h++);Y(b,i+(b.e=h+l*p-1)+1,a,d)}else b.e=l,b.r=+d;return b}}(),O=/^(-?)0([xbo])(?=\w[\w.]*$)/i,A=/^([^.]+)\.$/,T=/^\.([^.]+)$/,P=/^-?(Infinity|NaN)$/,k=/^\s*\+(?=[\w.])|^\s+|\s+$/g,o=function(t,e,r,n){var o,i=r?e:e.replace(k,"");if(P.test(i))t.s=isNaN(i)?null:i<0?-1:1;else{if(!r&&(i=i.replace(O,(function(t,e,r){return o="x"==(r=r.toLowerCase())?16:"b"==r?2:8,n&&n!=o?t:e})),n&&(o=n,i=i.replace(A,"$1").replace(T,"0.$1")),e!=i))return new G(i,o);if(G.DEBUG)throw Error(c+"Not a"+(n?" base "+n:"")+" number: "+e);t.s=null}t.c=t.e=null},C.absoluteValue=C.abs=function(){var t=new G(this);return t.s<0&&(t.s=1),t},C.comparedTo=function(t,e){return b(this,new G(t,e))},C.decimalPlaces=C.dp=function(t,e){var r,n,o,i=this;if(null!=t)return w(t,0,g),null==e?e=L:w(e,0,8),Y(new G(i),t+i.e+1,e);if(!(r=i.c))return null;if(n=((o=r.length-1)-m(this.e/p))*p,o=r[o])for(;o%10==0;o/=10,n--);return n<0&&(n=0),n},C.dividedBy=C.div=function(t,e){return r(this,new G(t,e),I,L)},C.dividedToIntegerBy=C.idiv=function(t,e){return r(this,new G(t,e),0,1)},C.exponentiatedBy=C.pow=function(t,e){var r,n,o,i,a,l,f,h,d=this;if((t=new G(t)).c&&!t.isInteger())throw Error(c+"Exponent not an integer: "+Z(t));if(null!=e&&(e=new G(e)),a=t.e>14,!d.c||!d.c[0]||1==d.c[0]&&!d.e&&1==d.c.length||!t.c||!t.c[0])return h=new G(Math.pow(+Z(d),a?2-x(t):+Z(t))),e?h.mod(e):h;if(l=t.s<0,e){if(e.c?!e.c[0]:!e.s)return new G(NaN);(n=!l&&d.isInteger()&&e.isInteger())&&(d=d.mod(e))}else{if(t.e>9&&(d.e>0||d.e<-1||(0==d.e?d.c[0]>1||a&&d.c[1]>=24e7:d.c[0]<8e13||a&&d.c[0]<=9999975e7)))return i=d.s<0&&x(t)?-0:0,d.e>-1&&(i=1/i),new G(l?1/i:i);B&&(i=s(B/p+2))}for(a?(r=new G(.5),l&&(t.s=1),f=x(t)):f=(o=Math.abs(+Z(t)))%2,h=new G(j);;){if(f){if(!(h=h.times(d)).c)break;i?h.c.length>i&&(h.c.length=i):n&&(h=h.mod(e))}if(o){if(0===(o=u(o/2)))break;f=o%2}else if(Y(t=t.times(r),t.e+1,1),t.e>14)f=x(t);else{if(0===(o=+Z(t)))break;f=o%2}d=d.times(d),i?d.c&&d.c.length>i&&(d.c.length=i):n&&(d=d.mod(e))}return n?h:(l&&(h=j.div(h)),e?h.mod(e):i?Y(h,B,L,undefined):h)},C.integerValue=function(t){var e=new G(this);return null==t?t=L:w(t,0,8),Y(e,e.e+1,t)},C.isEqualTo=C.eq=function(t,e){return 0===b(this,new G(t,e))},C.isFinite=function(){return!!this.c},C.isGreaterThan=C.gt=function(t,e){return b(this,new G(t,e))>0},C.isGreaterThanOrEqualTo=C.gte=function(t,e){return 1===(e=b(this,new G(t,e)))||0===e},C.isInteger=function(){return!!this.c&&m(this.e/p)>this.c.length-2},C.isLessThan=C.lt=function(t,e){return b(this,new G(t,e))<0},C.isLessThanOrEqualTo=C.lte=function(t,e){return-1===(e=b(this,new G(t,e)))||0===e},C.isNaN=function(){return!this.s},C.isNegative=function(){return this.s<0},C.isPositive=function(){return this.s>0},C.isZero=function(){return!!this.c&&0==this.c[0]},C.minus=function(t,e){var r,n,o,i,a=this,s=a.s;if(e=(t=new G(t,e)).s,!s||!e)return new G(NaN);if(s!=e)return t.s=-e,a.plus(t);var u=a.e/p,c=t.e/p,l=a.c,h=t.c;if(!u||!c){if(!l||!h)return l?(t.s=-e,t):new G(h?a:NaN);if(!l[0]||!h[0])return h[0]?(t.s=-e,t):new G(l[0]?a:3==L?-0:0)}if(u=m(u),c=m(c),l=l.slice(),s=u-c){for((i=s<0)?(s=-s,o=l):(c=u,o=h),o.reverse(),e=s;e--;o.push(0));o.reverse()}else for(n=(i=(s=l.length)<(e=h.length))?s:e,s=e=0;e0)for(;e--;l[r++]=0);for(e=f-1;n>s;){if(l[--n]=0;){for(r=0,d=S[o]%w,g=S[o]/w|0,i=o+(a=u);i>o;)r=((c=d*(c=_[--a]%w)+(s=g*c+(l=_[a]/w|0)*d)%w*w+y[i]+r)/b|0)+(s/w|0)+g*l,y[i--]=c%b;y[i]=r}return r?++n:y.splice(0,1),q(t,y,n)},C.negated=function(){var t=new G(this);return t.s=-t.s||null,t},C.plus=function(t,e){var r,n=this,o=n.s;if(e=(t=new G(t,e)).s,!o||!e)return new G(NaN);if(o!=e)return t.s=-e,n.minus(t);var i=n.e/p,a=t.e/p,s=n.c,u=t.c;if(!i||!a){if(!s||!u)return new G(o/0);if(!s[0]||!u[0])return u[0]?t:new G(s[0]?n:0*o)}if(i=m(i),a=m(a),s=s.slice(),o=i-a){for(o>0?(a=i,r=u):(o=-o,r=s),r.reverse();o--;r.push(0));r.reverse()}for((o=s.length)-(e=u.length)<0&&(r=u,u=s,s=r,e=o),o=0;e;)o=(s[--e]=s[e]+u[e]+o)/f|0,s[e]=f===s[e]?0:s[e]%f;return o&&(s=[o].concat(s),++a),q(t,s,a)},C.precision=C.sd=function(t,e){var r,n,o,i=this;if(null!=t&&t!==!!t)return w(t,1,g),null==e?e=L:w(e,0,8),Y(new G(i),t,e);if(!(r=i.c))return null;if(n=(o=r.length-1)*p+1,o=r[o]){for(;o%10==0;o/=10,n--);for(o=r[0];o>=10;o/=10,n++);}return t&&i.e+1>n&&(n=i.e+1),n},C.shiftedBy=function(t){return w(t,-9007199254740991,h),this.times("1e"+t)},C.squareRoot=C.sqrt=function(){var t,e,n,o,i,a=this,s=a.c,u=a.s,c=a.e,l=I+4,f=new G("0.5");if(1!==u||!s||!s[0])return new G(!u||u<0&&(!s||s[0])?NaN:s?a:1/0);if(0==(u=Math.sqrt(+Z(a)))||u==1/0?(((e=y(s)).length+c)%2==0&&(e+="0"),u=Math.sqrt(+e),c=m((c+1)/2)-(c<0||c%2),n=new G(e=u==1/0?"5e"+c:(e=u.toExponential()).slice(0,e.indexOf("e")+1)+c)):n=new G(u+""),n.c[0])for((u=(c=n.e)+l)<3&&(u=0);;)if(i=n,n=f.times(i.plus(r(a,i,l,1))),y(i.c).slice(0,u)===(e=y(n.c)).slice(0,u)){if(n.e0&&v>0){for(i=v%s||s,f=d.substr(0,i);i0&&(f+=l+d.slice(i)),h&&(f="-"+f)}n=p?f+(r.decimalSeparator||"")+((u=+r.fractionGroupSize)?p.replace(new RegExp("\\d{"+u+"}\\B","g"),"$&"+(r.fractionGroupSeparator||"")):p):f}return(r.prefix||"")+n+(r.suffix||"")},C.toFraction=function(t){var e,n,o,i,a,s,u,l,f,h,v,g,m=this,b=m.c;if(null!=t&&(!(u=new G(t)).isInteger()&&(u.c||1!==u.s)||u.lt(j)))throw Error(c+"Argument "+(u.isInteger()?"out of range: ":"not an integer: ")+Z(u));if(!b)return new G(m);for(e=new G(j),f=n=new G(j),o=l=new G(j),g=y(b),a=e.e=g.length-m.e-1,e.c[0]=d[(s=a%p)<0?p+s:s],t=!t||u.comparedTo(e)>0?a>0?e:f:u,s=D,D=1/0,u=new G(g),l.c[0]=0;h=r(u,e,0,1),1!=(i=n.plus(h.times(o))).comparedTo(t);)n=o,o=i,f=l.plus(h.times(i=f)),l=i,e=u.minus(h.times(i=e)),u=i;return i=r(t.minus(n),o,0,1),l=l.plus(i.times(f)),n=n.plus(i.times(o)),l.s=f.s=m.s,v=r(f,o,a*=2,L).minus(m).abs().comparedTo(r(l,n,a,L).minus(m).abs())<1?[f,o]:[l,n],D=s,v},C.toNumber=function(){return+Z(this)},C.toPrecision=function(t,e){return null!=t&&w(t,1,g),W(this,t,e,2)},C.toString=function(t){var e,r=this,o=r.s,i=r.e;return null===i?o?(e="Infinity",o<0&&(e="-"+e)):e="NaN":(null==t?e=i<=R||i>=N?_(y(r.c),i):S(y(r.c),i,"0"):10===t&&z?e=S(y((r=Y(new G(r),I+i+1,L)).c),r.e,"0"):(w(t,2,H.length,"Base"),e=n(S(y(r.c),i,"0"),10,t,o,!0)),o<0&&r.c[0]&&(e="-"+e)),e},C.valueOf=C.toJSON=function(){return Z(this)},C._isBigNumber=!0,null!=e&&G.set(e),G}(),i.default=i.BigNumber=i,void 0===(n=function(){return i}.call(e,r,e,t))||(t.exports=n)}()},4488:t=>{var e={utf8:{stringToBytes:function(t){return e.bin.stringToBytes(unescape(encodeURIComponent(t)))},bytesToString:function(t){return decodeURIComponent(escape(e.bin.bytesToString(t)))}},bin:{stringToBytes:function(t){for(var e=[],r=0;r{var r;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var t=[],e=0;e{"use strict";e.Q=function(t,e){if("string"!=typeof t)throw new TypeError("argument str must be a string");var r={},n=(e||{}).decode||o,i=0;for(;i{var n=r(97319);t.exports=n},81160:(t,e,r)=>{r(74984),r(84380);var n=r(39149);t.exports=n.Array.from},77575:(t,e,r)=>{r(86969);var n=r(39149);t.exports=n.Array.isArray},91093:(t,e,r)=>{r(20576);var n=r(81678);t.exports=n("Array").concat},26085:(t,e,r)=>{r(83727),r(71156);var n=r(81678);t.exports=n("Array").entries},74183:(t,e,r)=>{r(13548);var n=r(81678);t.exports=n("Array").filter},39590:(t,e,r)=>{r(91107);var n=r(81678);t.exports=n("Array").findIndex},7170:(t,e,r)=>{r(1489);var n=r(81678);t.exports=n("Array").find},16208:(t,e,r)=>{r(6647);var n=r(81678);t.exports=n("Array").forEach},90032:(t,e,r)=>{r(48479);var n=r(81678);t.exports=n("Array").includes},89428:(t,e,r)=>{r(70434);var n=r(81678);t.exports=n("Array").indexOf},27759:(t,e,r)=>{r(83727),r(71156);var n=r(81678);t.exports=n("Array").keys},95505:(t,e,r)=>{r(51966);var n=r(81678);t.exports=n("Array").lastIndexOf},19718:(t,e,r)=>{r(94392);var n=r(81678);t.exports=n("Array").map},53206:(t,e,r)=>{r(71794);var n=r(81678);t.exports=n("Array").reduce},29523:(t,e,r)=>{r(43236);var n=r(81678);t.exports=n("Array").slice},35641:(t,e,r)=>{r(54356);var n=r(81678);t.exports=n("Array").some},17112:(t,e,r)=>{r(7256);var n=r(81678);t.exports=n("Array").splice},62916:(t,e,r)=>{r(9378);var n=r(39149);t.exports=n.Date.now},81809:(t,e,r)=>{r(34097);var n=r(81678);t.exports=n("Function").bind},43510:(t,e,r)=>{var n=r(85345),o=r(81809),i=Function.prototype;t.exports=function(t){var e=t.bind;return t===i||n(i,t)&&e===i.bind?o:e}},84319:(t,e,r)=>{var n=r(85345),o=r(91093),i=Array.prototype;t.exports=function(t){var e=t.concat;return t===i||n(i,t)&&e===i.concat?o:e}},50342:(t,e,r)=>{var n=r(85345),o=r(74183),i=Array.prototype;t.exports=function(t){var e=t.filter;return t===i||n(i,t)&&e===i.filter?o:e}},84288:(t,e,r)=>{var n=r(85345),o=r(39590),i=Array.prototype;t.exports=function(t){var e=t.findIndex;return t===i||n(i,t)&&e===i.findIndex?o:e}},28955:(t,e,r)=>{var n=r(85345),o=r(7170),i=Array.prototype;t.exports=function(t){var e=t.find;return t===i||n(i,t)&&e===i.find?o:e}},38053:(t,e,r)=>{var n=r(85345),o=r(90032),i=r(56030),a=Array.prototype,s=String.prototype;t.exports=function(t){var e=t.includes;return t===a||n(a,t)&&e===a.includes?o:"string"==typeof t||t===s||n(s,t)&&e===s.includes?i:e}},84227:(t,e,r)=>{var n=r(85345),o=r(89428),i=Array.prototype;t.exports=function(t){var e=t.indexOf;return t===i||n(i,t)&&e===i.indexOf?o:e}},12298:(t,e,r)=>{var n=r(85345),o=r(95505),i=Array.prototype;t.exports=function(t){var e=t.lastIndexOf;return t===i||n(i,t)&&e===i.lastIndexOf?o:e}},23067:(t,e,r)=>{var n=r(85345),o=r(19718),i=Array.prototype;t.exports=function(t){var e=t.map;return t===i||n(i,t)&&e===i.map?o:e}},49825:(t,e,r)=>{var n=r(85345),o=r(53206),i=Array.prototype;t.exports=function(t){var e=t.reduce;return t===i||n(i,t)&&e===i.reduce?o:e}},7143:(t,e,r)=>{var n=r(85345),o=r(29523),i=Array.prototype;t.exports=function(t){var e=t.slice;return t===i||n(i,t)&&e===i.slice?o:e}},33866:(t,e,r)=>{var n=r(85345),o=r(35641),i=Array.prototype;t.exports=function(t){var e=t.some;return t===i||n(i,t)&&e===i.some?o:e}},54797:(t,e,r)=>{var n=r(85345),o=r(17112),i=Array.prototype;t.exports=function(t){var e=t.splice;return t===i||n(i,t)&&e===i.splice?o:e}},60950:(t,e,r)=>{var n=r(85345),o=r(38599),i=String.prototype;t.exports=function(t){var e=t.startsWith;return"string"==typeof t||t===i||n(i,t)&&e===i.startsWith?o:e}},26818:(t,e,r)=>{r(55263);var n=r(39149),o=r(79159);n.JSON||(n.JSON={stringify:JSON.stringify}),t.exports=function(t,e,r){return o(n.JSON.stringify,null,arguments)}},5620:(t,e,r)=>{r(83727),r(63799),r(71156),r(74984);var n=r(39149);t.exports=n.Map},76707:(t,e,r)=>{r(17596);var n=r(39149);t.exports=n.Object.assign},71696:(t,e,r)=>{r(97729);var n=r(39149).Object,o=t.exports=function(t,e,r){return n.defineProperty(t,e,r)};n.defineProperty.sham&&(o.sham=!0)},86870:(t,e,r)=>{r(31973);var n=r(39149);t.exports=n.Object.entries},61533:(t,e,r)=>{r(83727),r(2140);var n=r(39149);t.exports=n.Object.fromEntries},20376:(t,e,r)=>{r(71833);var n=r(39149);t.exports=n.Object.getOwnPropertySymbols},38794:(t,e,r)=>{r(53049);var n=r(39149);t.exports=n.Object.keys},61052:(t,e,r)=>{r(64432);var n=r(39149);t.exports=n.Object.values},33912:(t,e,r)=>{r(97394);var n=r(39149);t.exports=n.parseInt},47182:(t,e,r)=>{r(22519),r(83727),r(71156),r(23112),r(78091),r(35514),r(11806),r(74984);var n=r(39149);t.exports=n.Promise},56030:(t,e,r)=>{r(56431);var n=r(81678);t.exports=n("String").includes},38599:(t,e,r)=>{r(6851);var n=r(81678);t.exports=n("String").startsWith},42273:(t,e,r)=>{t.exports=r(20877)},20877:(t,e,r)=>{var n=r(31036);t.exports=n},77487:(t,e,r)=>{var n=r(31788),o=r(83546),i=TypeError;t.exports=function(t){if(n(t))return t;throw i(o(t)+" is not a function")}},78667:(t,e,r)=>{var n=r(2711),o=r(83546),i=TypeError;t.exports=function(t){if(n(t))return t;throw i(o(t)+" is not a constructor")}},82812:(t,e,r)=>{var n=r(31788),o=String,i=TypeError;t.exports=function(t){if("object"==typeof t||n(t))return t;throw i("Can't set "+o(t)+" as a prototype")}},49761:t=>{t.exports=function(){}},43823:(t,e,r)=>{var n=r(85345),o=TypeError;t.exports=function(t,e){if(n(e,t))return t;throw o("Incorrect invocation")}},30553:(t,e,r)=>{var n=r(30339),o=String,i=TypeError;t.exports=function(t){if(n(t))return t;throw i(o(t)+" is not an object")}},80042:(t,e,r)=>{var n=r(22938);t.exports=n((function(){if("function"==typeof ArrayBuffer){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}}))},19983:(t,e,r)=>{"use strict";var n=r(68429).forEach,o=r(46972)("forEach");t.exports=o?[].forEach:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}},46714:(t,e,r)=>{"use strict";var n=r(28947),o=r(54072),i=r(78081),a=r(76957),s=r(29667),u=r(2711),c=r(13573),l=r(27136),f=r(38428),p=r(47616),h=Array;t.exports=function(t){var e=i(t),r=u(this),d=arguments.length,v=d>1?arguments[1]:void 0,g=void 0!==v;g&&(v=n(v,d>2?arguments[2]:void 0));var m,y,b,w,x,_,S=p(e),E=0;if(!S||this===h&&s(S))for(m=c(e),y=r?new this(m):h(m);m>E;E++)_=g?v(e[E],E):e[E],l(y,E,_);else for(x=(w=f(e,S)).next,y=r?new this:[];!(b=o(x,w)).done;E++)_=g?a(w,v,[b.value,E],!0):b.value,l(y,E,_);return y.length=E,y}},8967:(t,e,r)=>{var n=r(67783),o=r(3776),i=r(13573),a=function(t){return function(e,r,a){var s,u=n(e),c=i(u),l=o(a,c);if(t&&r!=r){for(;c>l;)if((s=u[l++])!=s)return!0}else for(;c>l;l++)if((t||l in u)&&u[l]===r)return t||l||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},68429:(t,e,r)=>{var n=r(28947),o=r(1598),i=r(19317),a=r(78081),s=r(13573),u=r(77262),c=o([].push),l=function(t){var e=1==t,r=2==t,o=3==t,l=4==t,f=6==t,p=7==t,h=5==t||f;return function(d,v,g,m){for(var y,b,w=a(d),x=i(w),_=n(v,g),S=s(x),E=0,O=m||u,A=e?O(d,S):r||p?O(d,0):void 0;S>E;E++)if((h||E in x)&&(b=_(y=x[E],E,w),t))if(e)A[E]=b;else if(b)switch(t){case 3:return!0;case 5:return y;case 6:return E;case 2:c(A,y)}else switch(t){case 4:return!1;case 7:c(A,y)}return f?-1:o||l?l:A}};t.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6),filterReject:l(7)}},63927:(t,e,r)=>{"use strict";var n=r(79159),o=r(67783),i=r(71559),a=r(13573),s=r(46972),u=Math.min,c=[].lastIndexOf,l=!!c&&1/[1].lastIndexOf(1,-0)<0,f=s("lastIndexOf"),p=l||!f;t.exports=p?function(t){if(l)return n(c,this,arguments)||0;var e=o(this),r=a(e),s=r-1;for(arguments.length>1&&(s=u(s,i(arguments[1]))),s<0&&(s=r+s);s>=0;s--)if(s in e&&e[s]===t)return s||0;return-1}:c},693:(t,e,r)=>{var n=r(22938),o=r(69767),i=r(76851),a=o("species");t.exports=function(t){return i>=51||!n((function(){var e=[];return(e.constructor={})[a]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},46972:(t,e,r)=>{"use strict";var n=r(22938);t.exports=function(t,e){var r=[][t];return!!r&&n((function(){r.call(null,e||function(){return 1},1)}))}},65697:(t,e,r)=>{var n=r(77487),o=r(78081),i=r(19317),a=r(13573),s=TypeError,u=function(t){return function(e,r,u,c){n(r);var l=o(e),f=i(l),p=a(l),h=t?p-1:0,d=t?-1:1;if(u<2)for(;;){if(h in f){c=f[h],h+=d;break}if(h+=d,t?h<0:p<=h)throw s("Reduce of empty array with no initial value")}for(;t?h>=0:p>h;h+=d)h in f&&(c=r(c,f[h],h,l));return c}};t.exports={left:u(!1),right:u(!0)}},78030:(t,e,r)=>{"use strict";var n=r(97290),o=r(80731),i=TypeError,a=Object.getOwnPropertyDescriptor,s=n&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();t.exports=s?function(t,e){if(o(t)&&!a(t,"length").writable)throw i("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e}},88299:(t,e,r)=>{var n=r(3776),o=r(13573),i=r(27136),a=Array,s=Math.max;t.exports=function(t,e,r){for(var u=o(t),c=n(e,u),l=n(void 0===r?u:r,u),f=a(s(l-c,0)),p=0;c{var n=r(1598);t.exports=n([].slice)},68498:(t,e,r)=>{var n=r(88299),o=Math.floor,i=function(t,e){var r=t.length,u=o(r/2);return r<8?a(t,e):s(t,i(n(t,0,u),e),i(n(t,u),e),e)},a=function(t,e){for(var r,n,o=t.length,i=1;i0;)t[n]=t[--n];n!==i++&&(t[n]=r)}return t},s=function(t,e,r,n){for(var o=e.length,i=r.length,a=0,s=0;a{var n=r(80731),o=r(2711),i=r(30339),a=r(69767)("species"),s=Array;t.exports=function(t){var e;return n(t)&&(e=t.constructor,(o(e)&&(e===s||n(e.prototype))||i(e)&&null===(e=e[a]))&&(e=void 0)),void 0===e?s:e}},77262:(t,e,r)=>{var n=r(18036);t.exports=function(t,e){return new(n(t))(0===e?0:e)}},76957:(t,e,r)=>{var n=r(30553),o=r(57579);t.exports=function(t,e,r,i){try{return i?e(n(r)[0],r[1]):e(r)}catch(a){o(t,"throw",a)}}},15011:(t,e,r)=>{var n=r(69767)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[n]=function(){return this},Array.from(a,(function(){throw 2}))}catch(s){}t.exports=function(t,e){if(!e&&!o)return!1;var r=!1;try{var i={};i[n]=function(){return{next:function(){return{done:r=!0}}}},t(i)}catch(s){}return r}},77536:(t,e,r)=>{var n=r(37868),o=n({}.toString),i=n("".slice);t.exports=function(t){return i(o(t),8,-1)}},45698:(t,e,r)=>{var n=r(29766),o=r(31788),i=r(77536),a=r(69767)("toStringTag"),s=Object,u="Arguments"==i(function(){return arguments}());t.exports=n?i:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(r){}}(e=s(t),a))?r:u?i(e):"Object"==(n=i(e))&&o(e.callee)?"Arguments":n}},65677:(t,e,r)=>{"use strict";var n=r(63462).f,o=r(41559),i=r(15216),a=r(28947),s=r(43823),u=r(66454),c=r(76737),l=r(61672),f=r(71373),p=r(76340),h=r(97290),d=r(78033).fastKey,v=r(43739),g=v.set,m=v.getterFor;t.exports={getConstructor:function(t,e,r,l){var f=t((function(t,n){s(t,p),g(t,{type:e,index:o(null),first:void 0,last:void 0,size:0}),h||(t.size=0),u(n)||c(n,t[l],{that:t,AS_ENTRIES:r})})),p=f.prototype,v=m(e),y=function(t,e,r){var n,o,i=v(t),a=b(t,e);return a?a.value=r:(i.last=a={index:o=d(e,!0),key:e,value:r,previous:n=i.last,next:void 0,removed:!1},i.first||(i.first=a),n&&(n.next=a),h?i.size++:t.size++,"F"!==o&&(i.index[o]=a)),t},b=function(t,e){var r,n=v(t),o=d(e);if("F"!==o)return n.index[o];for(r=n.first;r;r=r.next)if(r.key==e)return r};return i(p,{clear:function(){for(var t=v(this),e=t.index,r=t.first;r;)r.removed=!0,r.previous&&(r.previous=r.previous.next=void 0),delete e[r.index],r=r.next;t.first=t.last=void 0,h?t.size=0:this.size=0},delete:function(t){var e=this,r=v(e),n=b(e,t);if(n){var o=n.next,i=n.previous;delete r.index[n.index],n.removed=!0,i&&(i.next=o),o&&(o.previous=i),r.first==n&&(r.first=o),r.last==n&&(r.last=i),h?r.size--:e.size--}return!!n},forEach:function(t){for(var e,r=v(this),n=a(t,arguments.length>1?arguments[1]:void 0);e=e?e.next:r.first;)for(n(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!b(this,t)}}),i(p,r?{get:function(t){var e=b(this,t);return e&&e.value},set:function(t,e){return y(this,0===t?0:t,e)}}:{add:function(t){return y(this,t=0===t?0:t,t)}}),h&&n(p,"size",{get:function(){return v(this).size}}),f},setStrong:function(t,e,r){var n=e+" Iterator",o=m(e),i=m(n);l(t,e,(function(t,e){g(this,{type:n,target:t,state:o(t),kind:e,last:void 0})}),(function(){for(var t=i(this),e=t.kind,r=t.last;r&&r.removed;)r=r.previous;return t.target&&(t.last=r=r?r.next:t.state.first)?f("keys"==e?r.key:"values"==e?r.value:[r.key,r.value],!1):(t.target=void 0,f(void 0,!0))}),r?"entries":"values",!r,!0),p(e)}}},29006:(t,e,r)=>{"use strict";var n=r(83489),o=r(84659),i=r(78033),a=r(22938),s=r(58117),u=r(76737),c=r(43823),l=r(31788),f=r(30339),p=r(38081),h=r(63462).f,d=r(68429).forEach,v=r(97290),g=r(43739),m=g.set,y=g.getterFor;t.exports=function(t,e,r){var g,b=-1!==t.indexOf("Map"),w=-1!==t.indexOf("Weak"),x=b?"set":"add",_=o[t],S=_&&_.prototype,E={};if(v&&l(_)&&(w||S.forEach&&!a((function(){(new _).entries().next()})))){var O=(g=e((function(e,r){m(c(e,O),{type:t,collection:new _}),null!=r&&u(r,e[x],{that:e,AS_ENTRIES:b})}))).prototype,A=y(t);d(["add","clear","delete","forEach","get","has","set","keys","values","entries"],(function(t){var e="add"==t||"set"==t;!(t in S)||w&&"clear"==t||s(O,t,(function(r,n){var o=A(this).collection;if(!e&&w&&!f(r))return"get"==t&&void 0;var i=o[t](0===r?0:r,n);return e?this:i}))})),w||h(O,"size",{configurable:!0,get:function(){return A(this).collection.size}})}else g=r.getConstructor(e,t,b,x),i.enable();return p(g,t,!1,!0),E[t]=g,n({global:!0,forced:!0},E),w||r.setStrong(g,t,b),g}},28322:(t,e,r)=>{var n=r(91545),o=r(31101),i=r(36166),a=r(63462);t.exports=function(t,e,r){for(var s=o(e),u=a.f,c=i.f,l=0;l{var n=r(69767)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(r){try{return e[n]=!1,"/./"[t](e)}catch(o){}}return!1}},84731:(t,e,r)=>{var n=r(22938);t.exports=!n((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},71373:t=>{t.exports=function(t,e){return{value:t,done:e}}},58117:(t,e,r)=>{var n=r(97290),o=r(63462),i=r(89730);t.exports=n?function(t,e,r){return o.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}},89730:t=>{t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},27136:(t,e,r)=>{"use strict";var n=r(11017),o=r(63462),i=r(89730);t.exports=function(t,e,r){var a=n(e);a in t?o.f(t,a,i(0,r)):t[a]=r}},59798:(t,e,r)=>{var n=r(63462);t.exports=function(t,e,r){return n.f(t,e,r)}},88557:(t,e,r)=>{var n=r(58117);t.exports=function(t,e,r,o){return o&&o.enumerable?t[e]=r:n(t,e,r),t}},15216:(t,e,r)=>{var n=r(88557);t.exports=function(t,e,r){for(var o in e)r&&r.unsafe&&t[o]?t[o]=e[o]:n(t,o,e[o],r);return t}},45410:(t,e,r)=>{var n=r(84659),o=Object.defineProperty;t.exports=function(t,e){try{o(n,t,{value:e,configurable:!0,writable:!0})}catch(r){n[t]=e}return e}},1341:(t,e,r)=>{"use strict";var n=r(83546),o=TypeError;t.exports=function(t,e){if(!delete t[e])throw o("Cannot delete property "+n(e)+" of "+n(t))}},97290:(t,e,r)=>{var n=r(22938);t.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},74470:t=>{var e="object"==typeof document&&document.all,r=void 0===e&&void 0!==e;t.exports={all:e,IS_HTMLDDA:r}},24201:(t,e,r)=>{var n=r(84659),o=r(30339),i=n.document,a=o(i)&&o(i.createElement);t.exports=function(t){return a?i.createElement(t):{}}},42702:t=>{var e=TypeError;t.exports=function(t){if(t>9007199254740991)throw e("Maximum allowed index exceeded");return t}},5749:t=>{t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},73235:(t,e,r)=>{var n=r(80286),o=r(85969);t.exports=!n&&!o&&"object"==typeof window&&"object"==typeof document},80286:t=>{t.exports="object"==typeof Deno&&Deno&&"object"==typeof Deno.version},44147:(t,e,r)=>{var n=r(37848),o=r(84659);t.exports=/ipad|iphone|ipod/i.test(n)&&void 0!==o.Pebble},33114:(t,e,r)=>{var n=r(37848);t.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(n)},85969:(t,e,r)=>{var n=r(77536),o=r(84659);t.exports="process"==n(o.process)},95585:(t,e,r)=>{var n=r(37848);t.exports=/web0s(?!.*chrome)/i.test(n)},37848:(t,e,r)=>{var n=r(99302);t.exports=n("navigator","userAgent")||""},76851:(t,e,r)=>{var n,o,i=r(84659),a=r(37848),s=i.process,u=i.Deno,c=s&&s.versions||u&&u.version,l=c&&c.v8;l&&(o=(n=l.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!o&&a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(o=+n[1]),t.exports=o},81678:(t,e,r)=>{var n=r(39149);t.exports=function(t){return n[t+"Prototype"]}},3296:t=>{t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},67023:(t,e,r)=>{var n=r(1598),o=Error,i=n("".replace),a=String(o("zxcasd").stack),s=/\n\s*at [^:]*:[^\n]*/,u=s.test(a);t.exports=function(t,e){if(u&&"string"==typeof t&&!o.prepareStackTrace)for(;e--;)t=i(t,s,"");return t}},88558:(t,e,r)=>{var n=r(22938),o=r(89730);t.exports=!n((function(){var t=Error("a");return!("stack"in t)||(Object.defineProperty(t,"stack",o(1,7)),7!==t.stack)}))},83489:(t,e,r)=>{"use strict";var n=r(84659),o=r(79159),i=r(1598),a=r(31788),s=r(36166).f,u=r(12577),c=r(39149),l=r(28947),f=r(58117),p=r(91545),h=function(t){var e=function(r,n,i){if(this instanceof e){switch(arguments.length){case 0:return new t;case 1:return new t(r);case 2:return new t(r,n)}return new t(r,n,i)}return o(t,this,arguments)};return e.prototype=t.prototype,e};t.exports=function(t,e){var r,o,d,v,g,m,y,b,w=t.target,x=t.global,_=t.stat,S=t.proto,E=x?n:_?n[w]:(n[w]||{}).prototype,O=x?c:c[w]||f(c,w,{})[w],A=O.prototype;for(d in e)r=!u(x?d:w+(_?".":"#")+d,t.forced)&&E&&p(E,d),g=O[d],r&&(m=t.dontCallGetSet?(b=s(E,d))&&b.value:E[d]),v=r&&m?m:e[d],r&&typeof g==typeof v||(y=t.bind&&r?l(v,n):t.wrap&&r?h(v):S&&a(v)?i(v):v,(t.sham||v&&v.sham||g&&g.sham)&&f(y,"sham",!0),f(O,d,y),S&&(p(c,o=w+"Prototype")||f(c,o,{}),f(c[o],d,v),t.real&&A&&!A[d]&&f(A,d,v)))}},22938:t=>{t.exports=function(t){try{return!!t()}catch(e){return!0}}},87398:(t,e,r)=>{var n=r(22938);t.exports=!n((function(){return Object.isExtensible(Object.preventExtensions({}))}))},79159:(t,e,r)=>{var n=r(12401),o=Function.prototype,i=o.apply,a=o.call;t.exports="object"==typeof Reflect&&Reflect.apply||(n?a.bind(i):function(){return a.apply(i,arguments)})},28947:(t,e,r)=>{var n=r(1598),o=r(77487),i=r(12401),a=n(n.bind);t.exports=function(t,e){return o(t),void 0===e?t:i?a(t,e):function(){return t.apply(e,arguments)}}},12401:(t,e,r)=>{var n=r(22938);t.exports=!n((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},9979:(t,e,r)=>{"use strict";var n=r(1598),o=r(77487),i=r(30339),a=r(91545),s=r(8386),u=r(12401),c=Function,l=n([].concat),f=n([].join),p={},h=function(t,e,r){if(!a(p,e)){for(var n=[],o=0;o{var n=r(12401),o=Function.prototype.call;t.exports=n?o.bind(o):function(){return o.apply(o,arguments)}},64581:(t,e,r)=>{var n=r(97290),o=r(91545),i=Function.prototype,a=n&&Object.getOwnPropertyDescriptor,s=o(i,"name"),u=s&&"something"===function(){}.name,c=s&&(!n||n&&a(i,"name").configurable);t.exports={EXISTS:s,PROPER:u,CONFIGURABLE:c}},37868:(t,e,r)=>{var n=r(12401),o=Function.prototype,i=o.call,a=n&&o.bind.bind(i,i);t.exports=n?a:function(t){return function(){return i.apply(t,arguments)}}},1598:(t,e,r)=>{var n=r(77536),o=r(37868);t.exports=function(t){if("Function"===n(t))return o(t)}},99302:(t,e,r)=>{var n=r(39149),o=r(84659),i=r(31788),a=function(t){return i(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?a(n[t])||a(o[t]):n[t]&&n[t][e]||o[t]&&o[t][e]}},47616:(t,e,r)=>{var n=r(45698),o=r(41003),i=r(66454),a=r(56972),s=r(69767)("iterator");t.exports=function(t){if(!i(t))return o(t,s)||o(t,"@@iterator")||a[n(t)]}},38428:(t,e,r)=>{var n=r(54072),o=r(77487),i=r(30553),a=r(83546),s=r(47616),u=TypeError;t.exports=function(t,e){var r=arguments.length<2?s(t):e;if(o(r))return i(n(r,t));throw u(a(t)+" is not iterable")}},41003:(t,e,r)=>{var n=r(77487),o=r(66454);t.exports=function(t,e){var r=t[e];return o(r)?void 0:n(r)}},84659:(t,e,r)=>{var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||function(){return this}()||Function("return this")()},91545:(t,e,r)=>{var n=r(1598),o=r(78081),i=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return i(o(t),e)}},56652:t=>{t.exports={}},21493:(t,e,r)=>{var n=r(84659);t.exports=function(t,e){var r=n.console;r&&r.error&&(1==arguments.length?r.error(t):r.error(t,e))}},2846:(t,e,r)=>{var n=r(99302);t.exports=n("document","documentElement")},39804:(t,e,r)=>{var n=r(97290),o=r(22938),i=r(24201);t.exports=!n&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},19317:(t,e,r)=>{var n=r(1598),o=r(22938),i=r(77536),a=Object,s=n("".split);t.exports=o((function(){return!a("z").propertyIsEnumerable(0)}))?function(t){return"String"==i(t)?s(t,""):a(t)}:a},73164:(t,e,r)=>{var n=r(1598),o=r(31788),i=r(41690),a=n(Function.toString);o(i.inspectSource)||(i.inspectSource=function(t){return a(t)}),t.exports=i.inspectSource},38492:(t,e,r)=>{var n=r(30339),o=r(58117);t.exports=function(t,e){n(e)&&"cause"in e&&o(t,"cause",e.cause)}},78033:(t,e,r)=>{var n=r(83489),o=r(1598),i=r(56652),a=r(30339),s=r(91545),u=r(63462).f,c=r(93064),l=r(40289),f=r(3389),p=r(77267),h=r(87398),d=!1,v=p("meta"),g=0,m=function(t){u(t,v,{value:{objectID:"O"+g++,weakData:{}}})},y=t.exports={enable:function(){y.enable=function(){},d=!0;var t=c.f,e=o([].splice),r={};r[v]=1,t(r).length&&(c.f=function(r){for(var n=t(r),o=0,i=n.length;o{var n,o,i,a=r(2585),s=r(84659),u=r(30339),c=r(58117),l=r(91545),f=r(41690),p=r(56294),h=r(56652),d="Object already initialized",v=s.TypeError,g=s.WeakMap;if(a||f.state){var m=f.state||(f.state=new g);m.get=m.get,m.has=m.has,m.set=m.set,n=function(t,e){if(m.has(t))throw v(d);return e.facade=t,m.set(t,e),e},o=function(t){return m.get(t)||{}},i=function(t){return m.has(t)}}else{var y=p("state");h[y]=!0,n=function(t,e){if(l(t,y))throw v(d);return e.facade=t,c(t,y,e),e},o=function(t){return l(t,y)?t[y]:{}},i=function(t){return l(t,y)}}t.exports={set:n,get:o,has:i,enforce:function(t){return i(t)?o(t):n(t,{})},getterFor:function(t){return function(e){var r;if(!u(e)||(r=o(e)).type!==t)throw v("Incompatible receiver, "+t+" required");return r}}}},29667:(t,e,r)=>{var n=r(69767),o=r(56972),i=n("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||a[i]===t)}},80731:(t,e,r)=>{var n=r(77536);t.exports=Array.isArray||function(t){return"Array"==n(t)}},31788:(t,e,r)=>{var n=r(74470),o=n.all;t.exports=n.IS_HTMLDDA?function(t){return"function"==typeof t||t===o}:function(t){return"function"==typeof t}},2711:(t,e,r)=>{var n=r(1598),o=r(22938),i=r(31788),a=r(45698),s=r(99302),u=r(73164),c=function(){},l=[],f=s("Reflect","construct"),p=/^\s*(?:class|function)\b/,h=n(p.exec),d=!p.exec(c),v=function(t){if(!i(t))return!1;try{return f(c,l,t),!0}catch(e){return!1}},g=function(t){if(!i(t))return!1;switch(a(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return d||!!h(p,u(t))}catch(e){return!0}};g.sham=!0,t.exports=!f||o((function(){var t;return v(v.call)||!v(Object)||!v((function(){t=!0}))||t}))?g:v},12577:(t,e,r)=>{var n=r(22938),o=r(31788),i=/#|\.prototype\./,a=function(t,e){var r=u[s(t)];return r==l||r!=c&&(o(e)?n(e):!!e)},s=a.normalize=function(t){return String(t).replace(i,".").toLowerCase()},u=a.data={},c=a.NATIVE="N",l=a.POLYFILL="P";t.exports=a},66454:t=>{t.exports=function(t){return null==t}},30339:(t,e,r)=>{var n=r(31788),o=r(74470),i=o.all;t.exports=o.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:n(t)||t===i}:function(t){return"object"==typeof t?null!==t:n(t)}},27477:t=>{t.exports=!0},39352:(t,e,r)=>{var n=r(30339),o=r(77536),i=r(69767)("match");t.exports=function(t){var e;return n(t)&&(void 0!==(e=t[i])?!!e:"RegExp"==o(t))}},7069:(t,e,r)=>{var n=r(99302),o=r(31788),i=r(85345),a=r(13420),s=Object;t.exports=a?function(t){return"symbol"==typeof t}:function(t){var e=n("Symbol");return o(e)&&i(e.prototype,s(t))}},76737:(t,e,r)=>{var n=r(28947),o=r(54072),i=r(30553),a=r(83546),s=r(29667),u=r(13573),c=r(85345),l=r(38428),f=r(47616),p=r(57579),h=TypeError,d=function(t,e){this.stopped=t,this.result=e},v=d.prototype;t.exports=function(t,e,r){var g,m,y,b,w,x,_,S=r&&r.that,E=!(!r||!r.AS_ENTRIES),O=!(!r||!r.IS_RECORD),A=!(!r||!r.IS_ITERATOR),T=!(!r||!r.INTERRUPTED),P=n(e,S),k=function(t){return g&&p(g,"normal",t),new d(!0,t)},C=function(t){return E?(i(t),T?P(t[0],t[1],k):P(t[0],t[1])):T?P(t,k):P(t)};if(O)g=t.iterator;else if(A)g=t;else{if(!(m=f(t)))throw h(a(t)+" is not iterable");if(s(m)){for(y=0,b=u(t);b>y;y++)if((w=C(t[y]))&&c(v,w))return w;return new d(!1)}g=l(t,m)}for(x=O?t.next:g.next;!(_=o(x,g)).done;){try{w=C(_.value)}catch(j){p(g,"throw",j)}if("object"==typeof w&&w&&c(v,w))return w}return new d(!1)}},57579:(t,e,r)=>{var n=r(54072),o=r(30553),i=r(41003);t.exports=function(t,e,r){var a,s;o(t);try{if(!(a=i(t,"return"))){if("throw"===e)throw r;return r}a=n(a,t)}catch(u){s=!0,a=u}if("throw"===e)throw r;if(s)throw a;return o(a),r}},17514:(t,e,r)=>{"use strict";var n=r(99039).IteratorPrototype,o=r(41559),i=r(89730),a=r(38081),s=r(56972),u=function(){return this};t.exports=function(t,e,r,c){var l=e+" Iterator";return t.prototype=o(n,{next:i(+!c,r)}),a(t,l,!1,!0),s[l]=u,t}},61672:(t,e,r)=>{"use strict";var n=r(83489),o=r(54072),i=r(27477),a=r(64581),s=r(31788),u=r(17514),c=r(51523),l=r(29757),f=r(38081),p=r(58117),h=r(88557),d=r(69767),v=r(56972),g=r(99039),m=a.PROPER,y=a.CONFIGURABLE,b=g.IteratorPrototype,w=g.BUGGY_SAFARI_ITERATORS,x=d("iterator"),_="keys",S="values",E="entries",O=function(){return this};t.exports=function(t,e,r,a,d,g,A){u(r,e,a);var T,P,k,C=function(t){if(t===d&&N)return N;if(!w&&t in L)return L[t];switch(t){case _:case S:case E:return function(){return new r(this,t)}}return function(){return new r(this)}},j=e+" Iterator",I=!1,L=t.prototype,R=L[x]||L["@@iterator"]||d&&L[d],N=!w&&R||C(d),M="Array"==e&&L.entries||R;if(M&&(T=c(M.call(new t)))!==Object.prototype&&T.next&&(i||c(T)===b||(l?l(T,b):s(T[x])||h(T,x,O)),f(T,j,!0,!0),i&&(v[j]=O)),m&&d==S&&R&&R.name!==S&&(!i&&y?p(L,"name",S):(I=!0,N=function(){return o(R,this)})),d)if(P={values:C(S),keys:g?N:C(_),entries:C(E)},A)for(k in P)(w||I||!(k in L))&&h(L,k,P[k]);else n({target:e,proto:!0,forced:w||I},P);return i&&!A||L[x]===N||h(L,x,N,{name:d}),v[e]=N,P}},99039:(t,e,r)=>{"use strict";var n,o,i,a=r(22938),s=r(31788),u=r(30339),c=r(41559),l=r(51523),f=r(88557),p=r(69767),h=r(27477),d=p("iterator"),v=!1;[].keys&&("next"in(i=[].keys())?(o=l(l(i)))!==Object.prototype&&(n=o):v=!0),!u(n)||a((function(){var t={};return n[d].call(t)!==t}))?n={}:h&&(n=c(n)),s(n[d])||f(n,d,(function(){return this})),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:v}},56972:t=>{t.exports={}},13573:(t,e,r)=>{var n=r(31218);t.exports=function(t){return n(t.length)}},4123:t=>{var e=Math.ceil,r=Math.floor;t.exports=Math.trunc||function(t){var n=+t;return(n>0?r:e)(n)}},22210:(t,e,r)=>{var n,o,i,a,s,u,c,l,f=r(84659),p=r(28947),h=r(36166).f,d=r(29320).set,v=r(33114),g=r(44147),m=r(95585),y=r(85969),b=f.MutationObserver||f.WebKitMutationObserver,w=f.document,x=f.process,_=f.Promise,S=h(f,"queueMicrotask"),E=S&&S.value;E||(n=function(){var t,e;for(y&&(t=x.domain)&&t.exit();o;){e=o.fn,o=o.next;try{e()}catch(r){throw o?a():i=void 0,r}}i=void 0,t&&t.enter()},v||y||m||!b||!w?!g&&_&&_.resolve?((c=_.resolve(void 0)).constructor=_,l=p(c.then,c),a=function(){l(n)}):y?a=function(){x.nextTick(n)}:(d=p(d,f),a=function(){d(n)}):(s=!0,u=w.createTextNode(""),new b(n).observe(u,{characterData:!0}),a=function(){u.data=s=!s})),t.exports=E||function(t){var e={fn:t,next:void 0};i&&(i.next=e),o||(o=e,a()),i=e}},21092:(t,e,r)=>{"use strict";var n=r(77487),o=TypeError,i=function(t){var e,r;this.promise=new t((function(t,n){if(void 0!==e||void 0!==r)throw o("Bad Promise constructor");e=t,r=n})),this.resolve=n(e),this.reject=n(r)};t.exports.f=function(t){return new i(t)}},82795:(t,e,r)=>{var n=r(60702);t.exports=function(t,e){return void 0===t?arguments.length<2?"":e:n(t)}},63057:(t,e,r)=>{var n=r(39352),o=TypeError;t.exports=function(t){if(n(t))throw o("The method doesn't accept regular expressions");return t}},53832:(t,e,r)=>{var n=r(84659),o=r(22938),i=r(1598),a=r(60702),s=r(45044).trim,u=r(14536),c=n.parseInt,l=n.Symbol,f=l&&l.iterator,p=/^[+-]?0x/i,h=i(p.exec),d=8!==c(u+"08")||22!==c(u+"0x16")||f&&!o((function(){c(Object(f))}));t.exports=d?function(t,e){var r=s(a(t));return c(r,e>>>0||(h(p,r)?16:10))}:c},63266:(t,e,r)=>{"use strict";var n=r(97290),o=r(1598),i=r(54072),a=r(22938),s=r(40778),u=r(22435),c=r(28510),l=r(78081),f=r(19317),p=Object.assign,h=Object.defineProperty,d=o([].concat);t.exports=!p||a((function(){if(n&&1!==p({b:1},p(h({},"a",{enumerable:!0,get:function(){h(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},r=Symbol(),o="abcdefghijklmnopqrst";return t[r]=7,o.split("").forEach((function(t){e[t]=t})),7!=p({},t)[r]||s(p({},e)).join("")!=o}))?function(t,e){for(var r=l(t),o=arguments.length,a=1,p=u.f,h=c.f;o>a;)for(var v,g=f(arguments[a++]),m=p?d(s(g),p(g)):s(g),y=m.length,b=0;y>b;)v=m[b++],n&&!i(h,g,v)||(r[v]=g[v]);return r}:p},41559:(t,e,r)=>{var n,o=r(30553),i=r(58388),a=r(3296),s=r(56652),u=r(2846),c=r(24201),l=r(56294),f=l("IE_PROTO"),p=function(){},h=function(t){return"