You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
NewEduCoderBuild/umi.c7af0d0e.js

1486 lines
2.8 MiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

(function(){var __webpack_modules__={93398:function(d,g,e){"use strict";e.r(g),e.d(g,{blue:function(){return ue},blueDark:function(){return $e},cyan:function(){return ie},cyanDark:function(){return Ze},geekblue:function(){return K},geekblueDark:function(){return Ht},generate:function(){return T},gold:function(){return Q},goldDark:function(){return se},gray:function(){return q},green:function(){return oe},greenDark:function(){return Re},grey:function(){return te},greyDark:function(){return qt},lime:function(){return Y},limeDark:function(){return Pe},magenta:function(){return G},magentaDark:function(){return Ot},orange:function(){return j},orangeDark:function(){return F},presetDarkPalettes:function(){return er},presetPalettes:function(){return J},presetPrimaryColors:function(){return D},purple:function(){return V},purpleDark:function(){return bt},red:function(){return M},redDark:function(){return le},volcano:function(){return N},volcanoDark:function(){return z},yellow:function(){return X},yellowDark:function(){return _e}});var r=e(18082);const i=Math.round;function l(Jt,Xe){const Pt=Jt.replace(/^[^(]*\((.*)/,"$1").replace(/\).*/,"").match(/\d*\.?\d+%?/g)||[],Ut=Pt.map(st=>parseFloat(st));for(let st=0;st<3;st+=1)Ut[st]=Xe(Ut[st]||0,Pt[st]||"",st);return Pt[3]?Ut[3]=Pt[3].includes("%")?Ut[3]/100:Ut[3]:Ut[3]=1,Ut}const c=(Jt,Xe,Pt)=>Pt===0?Jt:Jt/100;function f(Jt,Xe){const Pt=Xe||255;return Jt>Pt?Pt:Jt<0?0:Jt}class s{constructor(Xe){(0,r.Z)(this,"isValid",!0),(0,r.Z)(this,"r",0),(0,r.Z)(this,"g",0),(0,r.Z)(this,"b",0),(0,r.Z)(this,"a",1),(0,r.Z)(this,"_h",void 0),(0,r.Z)(this,"_s",void 0),(0,r.Z)(this,"_l",void 0),(0,r.Z)(this,"_v",void 0),(0,r.Z)(this,"_max",void 0),(0,r.Z)(this,"_min",void 0),(0,r.Z)(this,"_brightness",void 0);function Pt(Ut){return Ut[0]in Xe&&Ut[1]in Xe&&Ut[2]in Xe}if(Xe)if(typeof Xe=="string"){let st=function(yt){return Ut.startsWith(yt)};const Ut=Xe.trim();/^#?[A-F\d]{3,8}$/i.test(Ut)?this.fromHexString(Ut):st("rgb")?this.fromRgbString(Ut):st("hsl")?this.fromHslString(Ut):(st("hsv")||st("hsb"))&&this.fromHsvString(Ut)}else if(Xe instanceof s)this.r=Xe.r,this.g=Xe.g,this.b=Xe.b,this.a=Xe.a,this._h=Xe._h,this._s=Xe._s,this._l=Xe._l,this._v=Xe._v;else if(Pt("rgb"))this.r=f(Xe.r),this.g=f(Xe.g),this.b=f(Xe.b),this.a=typeof Xe.a=="number"?f(Xe.a,1):1;else if(Pt("hsl"))this.fromHsl(Xe);else if(Pt("hsv"))this.fromHsv(Xe);else throw new Error("@ant-design/fast-color: unsupported input "+JSON.stringify(Xe))}setR(Xe){return this._sc("r",Xe)}setG(Xe){return this._sc("g",Xe)}setB(Xe){return this._sc("b",Xe)}setA(Xe){return this._sc("a",Xe,1)}setHue(Xe){const Pt=this.toHsv();return Pt.h=Xe,this._c(Pt)}getLuminance(){function Xe(yt){const ht=yt/255;return ht<=.03928?ht/12.92:Math.pow((ht+.055)/1.055,2.4)}const Pt=Xe(this.r),Ut=Xe(this.g),st=Xe(this.b);return .2126*Pt+.7152*Ut+.0722*st}getHue(){if(typeof this._h=="undefined"){const Xe=this.getMax()-this.getMin();Xe===0?this._h=0:this._h=i(60*(this.r===this.getMax()?(this.g-this.b)/Xe+(this.g<this.b?6:0):this.g===this.getMax()?(this.b-this.r)/Xe+2:(this.r-this.g)/Xe+4))}return this._h}getSaturation(){if(typeof this._s=="undefined"){const Xe=this.getMax()-this.getMin();Xe===0?this._s=0:this._s=Xe/this.getMax()}return this._s}getLightness(){return typeof this._l=="undefined"&&(this._l=(this.getMax()+this.getMin())/510),this._l}getValue(){return typeof this._v=="undefined"&&(this._v=this.getMax()/255),this._v}getBrightness(){return typeof this._brightness=="undefined"&&(this._brightness=(this.r*299+this.g*587+this.b*114)/1e3),this._brightness}darken(Xe=10){const Pt=this.getHue(),Ut=this.getSaturation();let st=this.getLightness()-Xe/100;return st<0&&(st=0),this._c({h:Pt,s:Ut,l:st,a:this.a})}lighten(Xe=10){const Pt=this.getHue(),Ut=this.getSaturation();let st=this.getLightness()+Xe/100;return st>1&&(st=1),this._c({h:Pt,s:Ut,l:st,a:this.a})}mix(Xe,Pt=50){const Ut=this._c(Xe),st=Pt/100,yt=Je=>(Ut[Je]-this[Je])*st+this[Je],ht={r:i(yt("r")),g:i(yt("g")),b:i(yt("b")),a:i(yt("a")*100)/100};return this._c(ht)}tint(Xe=10){return this.mix({r:255,g:255,b:255,a:1},Xe)}shade(Xe=10){return this.mix({r:0,g:0,b:0,a:1},Xe)}onBackground(Xe){const Pt=this._c(Xe),Ut=this.a+Pt.a*(1-this.a),st=yt=>i((this[yt]*this.a+Pt[yt]*Pt.a*(1-this.a))/Ut);return this._c({r:st("r"),g:st("g"),b:st("b"),a:Ut})}isDark(){return this.getBrightness()<128}isLight(){return this.getBrightness()>=128}equals(Xe){return this.r===Xe.r&&this.g===Xe.g&&this.b===Xe.b&&this.a===Xe.a}clone(){return this._c(this)}toHexString(){let Xe="#";const Pt=(this.r||0).toString(16);Xe+=Pt.length===2?Pt:"0"+Pt;const Ut=(this.g||0).toString(16);Xe+=Ut.length===2?Ut:"0"+Ut;const st=(this.b||0).toString(16);if(Xe+=st.length===2?st:"0"+st,typeof this.a=="number"&&this.a>=0&&this.a<1){const yt=i(this.a*255).toString(16);Xe+=yt.length===2?yt:"0"+yt}return Xe}toHsl(){return{h:this.getHue(),s:this.getSaturation(),l:this.getLightness(),a:this.a}}toHslString(){const Xe=this.getHue(),Pt=i(this.getSaturation()*100),Ut=i(this.getLightness()*100);return this.a!==1?`hsla(${Xe},${Pt}%,${Ut}%,${this.a})`:`hsl(${Xe},${Pt}%,${Ut}%)`}toHsv(){return{h:this.getHue(),s:this.getSaturation(),v:this.getValue(),a:this.a}}toRgb(){return{r:this.r,g:this.g,b:this.b,a:this.a}}toRgbString(){return this.a!==1?`rgba(${this.r},${this.g},${this.b},${this.a})`:`rgb(${this.r},${this.g},${this.b})`}toString(){return this.toRgbString()}_sc(Xe,Pt,Ut){const st=this.clone();return st[Xe]=f(Pt,Ut),st}_c(Xe){return new this.constructor(Xe)}getMax(){return typeof this._max=="undefined"&&(this._max=Math.max(this.r,this.g,this.b)),this._max}getMin(){return typeof this._min=="undefined"&&(this._min=Math.min(this.r,this.g,this.b)),this._min}fromHexString(Xe){const Pt=Xe.replace("#","");function Ut(st,yt){return parseInt(Pt[st]+Pt[yt||st],16)}Pt.length<6?(this.r=Ut(0),this.g=Ut(1),this.b=Ut(2),this.a=Pt[3]?Ut(3)/255:1):(this.r=Ut(0,1),this.g=Ut(2,3),this.b=Ut(4,5),this.a=Pt[6]?Ut(6,7)/255:1)}fromHsl({h:Xe,s:Pt,l:Ut,a:st}){if(this._h=Xe%360,this._s=Pt,this._l=Ut,this.a=typeof st=="number"?st:1,Pt<=0){const Ne=i(Ut*255);this.r=Ne,this.g=Ne,this.b=Ne}let yt=0,ht=0,Je=0;const je=Xe/60,ge=(1-Math.abs(2*Ut-1))*Pt,Se=ge*(1-Math.abs(je%2-1));je>=0&&je<1?(yt=ge,ht=Se):je>=1&&je<2?(yt=Se,ht=ge):je>=2&&je<3?(ht=ge,Je=Se):je>=3&&je<4?(ht=Se,Je=ge):je>=4&&je<5?(yt=Se,Je=ge):je>=5&&je<6&&(yt=ge,Je=Se);const Me=Ut-ge/2;this.r=i((yt+Me)*255),this.g=i((ht+Me)*255),this.b=i((Je+Me)*255)}fromHsv({h:Xe,s:Pt,v:Ut,a:st}){this._h=Xe%360,this._s=Pt,this._v=Ut,this.a=typeof st=="number"?st:1;const yt=i(Ut*255);if(this.r=yt,this.g=yt,this.b=yt,Pt<=0)return;const ht=Xe/60,Je=Math.floor(ht),je=ht-Je,ge=i(Ut*(1-Pt)*255),Se=i(Ut*(1-Pt*je)*255),Me=i(Ut*(1-Pt*(1-je))*255);switch(Je){case 0:this.g=Me,this.b=ge;break;case 1:this.r=Se,this.b=ge;break;case 2:this.r=ge,this.b=Me;break;case 3:this.r=ge,this.g=Se;break;case 4:this.r=Me,this.g=ge;break;case 5:default:this.g=ge,this.b=Se;break}}fromHsvString(Xe){const Pt=l(Xe,c);this.fromHsv({h:Pt[0],s:Pt[1],v:Pt[2],a:Pt[3]})}fromHslString(Xe){const Pt=l(Xe,c);this.fromHsl({h:Pt[0],s:Pt[1],l:Pt[2],a:Pt[3]})}fromRgbString(Xe){const Pt=l(Xe,(Ut,st)=>st.includes("%")?i(Ut/100*255):Ut);this.r=Pt[0],this.g=Pt[1],this.b=Pt[2],this.a=Pt[3]}}var h=2,u=.16,a=.05,x=.05,p=.15,y=5,_=4,b=[{index:7,amount:15},{index:6,amount:25},{index:5,amount:30},{index:5,amount:45},{index:5,amount:65},{index:5,amount:85},{index:4,amount:90},{index:3,amount:95},{index:2,amount:97},{index:1,amount:98}];function S(Jt,Xe,Pt){var Ut;return Math.round(Jt.h)>=60&&Math.round(Jt.h)<=240?Ut=Pt?Math.round(Jt.h)-h*Xe:Math.round(Jt.h)+h*Xe:Ut=Pt?Math.round(Jt.h)+h*Xe:Math.round(Jt.h)-h*Xe,Ut<0?Ut+=360:Ut>=360&&(Ut-=360),Ut}function R(Jt,Xe,Pt){if(Jt.h===0&&Jt.s===0)return Jt.s;var Ut;return Pt?Ut=Jt.s-u*Xe:Xe===_?Ut=Jt.s+u:Ut=Jt.s+a*Xe,Ut>1&&(Ut=1),Pt&&Xe===y&&Ut>.1&&(Ut=.1),Ut<.06&&(Ut=.06),Math.round(Ut*100)/100}function L(Jt,Xe,Pt){var Ut;return Pt?Ut=Jt.v+x*Xe:Ut=Jt.v-p*Xe,Ut=Math.max(0,Math.min(1,Ut)),Math.round(Ut*100)/100}function T(Jt){for(var Xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Pt=[],Ut=new s(Jt),st=Ut.toHsv(),yt=y;yt>0;yt-=1){var ht=new s({h:S(st,yt,!0),s:R(st,yt,!0),v:L(st,yt,!0)});Pt.push(ht)}Pt.push(Ut);for(var Je=1;Je<=_;Je+=1){var je=new s({h:S(st,Je),s:R(st,Je),v:L(st,Je)});Pt.push(je)}return Xe.theme==="dark"?b.map(function(ge){var Se=ge.index,Me=ge.amount;return new s(Xe.backgroundColor||"#141414").mix(Pt[Se],Me).toHexString()}):Pt.map(function(ge){return ge.toHexString()})}var D={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},M=["#fff1f0","#ffccc7","#ffa39e","#ff7875","#ff4d4f","#f5222d","#cf1322","#a8071a","#820014","#5c0011"];M.primary=M[5];var N=["#fff2e8","#ffd8bf","#ffbb96","#ff9c6e","#ff7a45","#fa541c","#d4380d","#ad2102","#871400","#610b00"];N.primary=N[5];var j=["#fff7e6","#ffe7ba","#ffd591","#ffc069","#ffa940","#fa8c16","#d46b08","#ad4e00","#873800","#612500"];j.primary=j[5];var Q=["#fffbe6","#fff1b8","#ffe58f","#ffd666","#ffc53d","#faad14","#d48806","#ad6800","#874d00","#613400"];Q.primary=Q[5];var X=["#feffe6","#ffffb8","#fffb8f","#fff566","#ffec3d","#fadb14","#d4b106","#ad8b00","#876800","#614700"];X.primary=X[5];var Y=["#fcffe6","#f4ffb8","#eaff8f","#d3f261","#bae637","#a0d911","#7cb305","#5b8c00","#3f6600","#254000"];Y.primary=Y[5];var oe=["#f6ffed","#d9f7be","#b7eb8f","#95de64","#73d13d","#52c41a","#389e0d","#237804","#135200","#092b00"];oe.primary=oe[5];var ie=["#e6fffb","#b5f5ec","#87e8de","#5cdbd3","#36cfc9","#13c2c2","#08979c","#006d75","#00474f","#002329"];ie.primary=ie[5];var ue=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];ue.primary=ue[5];var K=["#f0f5ff","#d6e4ff","#adc6ff","#85a5ff","#597ef7","#2f54eb","#1d39c4","#10239e","#061178","#030852"];K.primary=K[5];var V=["#f9f0ff","#efdbff","#d3adf7","#b37feb","#9254de","#722ed1","#531dab","#391085","#22075e","#120338"];V.primary=V[5];var G=["#fff0f6","#ffd6e7","#ffadd2","#ff85c0","#f759ab","#eb2f96","#c41d7f","#9e1068","#780650","#520339"];G.primary=G[5];var te=["#a6a6a6","#999999","#8c8c8c","#808080","#737373","#666666","#404040","#1a1a1a","#000000","#000000"];te.primary=te[5];var q=te,J={red:M,volcano:N,orange:j,gold:Q,yellow:X,lime:Y,green:oe,cyan:ie,blue:ue,geekblue:K,purple:V,magenta:G,grey:te},le=["#2a1215","#431418","#58181c","#791a1f","#a61d24","#d32029","#e84749","#f37370","#f89f9a","#fac8c3"];le.primary=le[5];var z=["#2b1611","#441d12","#592716","#7c3118","#aa3e19","#d84a1b","#e87040","#f3956a","#f8b692","#fad4bc"];z.primary=z[5];var F=["#2b1d11","#442a11","#593815","#7c4a15","#aa6215","#d87a16","#e89a3c","#f3b765","#f8cf8d","#fae3b7"];F.primary=F[5];var se=["#2b2111","#443111","#594214","#7c5914","#aa7714","#d89614","#e8b339","#f3cc62","#f8df8b","#faedb5"];se.primary=se[5];var _e=["#2b2611","#443b11","#595014","#7c6e14","#aa9514","#d8bd14","#e8d639","#f3ea62","#f8f48b","#fafab5"];_e.primary=_e[5];var Pe=["#1f2611","#2e3c10","#3e4f13","#536d13","#6f9412","#8bbb11","#a9d134","#c9e75d","#e4f88b","#f0fab5"];Pe.primary=Pe[5];var Re=["#162312","#1d3712","#274916","#306317","#3c8618","#49aa19","#6abe39","#8fd460","#b2e58b","#d5f2bb"];Re.primary=Re[5];var Ze=["#112123","#113536","#144848","#146262","#138585","#13a8a8","#33bcb7","#58d1c9","#84e2d8","#b2f1e8"];Ze.primary=Ze[5];var $e=["#111a2c","#112545","#15325b","#15417e","#1554ad","#1668dc","#3c89e8","#65a9f3","#8dc5f8","#b7dcfa"];$e.primary=$e[5];var Ht=["#131629","#161d40","#1c2755","#203175","#263ea0","#2b4acb","#5273e0","#7f9ef3","#a8c1f8","#d2e0fa"];Ht.primary=Ht[5];var bt=["#1a1325","#24163a","#301c4d","#3e2069","#51258f","#642ab5","#854eca","#ab7ae0","#cda8f0","#ebd7fa"];bt.primary=bt[5];var Ot=["#291321","#40162f","#551c3b","#75204f","#a02669","#cb2b83","#e0529c","#f37fb7","#f8a8cc","#fad2e3"];Ot.primary=Ot[5];var qt=["#151515","#1f1f1f","#2d2d2d","#393939","#494949","#5a5a5a","#6a6a6a","#7b7b7b","#888888","#969696"];qt.primary=qt[5];var er={red:le,volcano:z,orange:F,gold:se,yellow:_e,lime:Pe,green:Re,cyan:Ze,blue:$e,geekblue:Ht,purple:bt,magenta:Ot,grey:qt}},93083:function(d,g,e){"use strict";e.r(g),e.d(g,{Keyframes:function(){return fs},NaNLinter:function(){return ja},StyleContext:function(){return ie},StyleProvider:function(){return oe},Theme:function(){return Ot},_experimental:function(){return Fo},createCache:function(){return X},createTheme:function(){return er},extractStyle:function(){return _u},genCalc:function(){return Re},getComputedToken:function(){return _r},legacyLogicalPropertiesTransformer:function(){return jo},legacyNotSelectorLinter:function(){return _s},logicalPropertiesLinter:function(){return Gs},parentSelectorLinter:function(){return ls},px2remTransformer:function(){return mu},token2CSSVar:function(){return Ie},unit:function(){return Vt},useCSSVarRegister:function(){return Lo},useCacheToken:function(){return sn},useStyleRegister:function(){return Xa}});var r=e(52456),i=e(18082),l=e(92393),c=e(20049);function f(Qt){for(var cr=0,sr,vr=0,wr=Qt.length;wr>=4;++vr,wr-=4)sr=Qt.charCodeAt(vr)&255|(Qt.charCodeAt(++vr)&255)<<8|(Qt.charCodeAt(++vr)&255)<<16|(Qt.charCodeAt(++vr)&255)<<24,sr=(sr&65535)*1540483477+((sr>>>16)*59797<<16),sr^=sr>>>24,cr=(sr&65535)*1540483477+((sr>>>16)*59797<<16)^(cr&65535)*1540483477+((cr>>>16)*59797<<16);switch(wr){case 3:cr^=(Qt.charCodeAt(vr+2)&255)<<16;case 2:cr^=(Qt.charCodeAt(vr+1)&255)<<8;case 1:cr^=Qt.charCodeAt(vr)&255,cr=(cr&65535)*1540483477+((cr>>>16)*59797<<16)}return cr^=cr>>>13,cr=(cr&65535)*1540483477+((cr>>>16)*59797<<16),((cr^cr>>>15)>>>0).toString(36)}var s=f,h=e(810),u=e(59301),a=e.t(u,2),x=e(5883),p=e(80547),y=e(13697),_=e(6487),b=e(56789),S="%";function R(Qt){return Qt.join(S)}var L=function(){function Qt(cr){(0,_.Z)(this,Qt),(0,i.Z)(this,"instanceId",void 0),(0,i.Z)(this,"cache",new Map),this.instanceId=cr}return(0,b.Z)(Qt,[{key:"get",value:function(sr){return this.opGet(R(sr))}},{key:"opGet",value:function(sr){return this.cache.get(sr)||null}},{key:"update",value:function(sr,vr){return this.opUpdate(R(sr),vr)}},{key:"opUpdate",value:function(sr,vr){var wr=this.cache.get(sr),xn=vr(wr);xn===null?this.cache.delete(sr):this.cache.set(sr,xn)}}]),Qt}(),T=L,D=["children"],M="data-token-hash",N="data-css-hash",j="data-cache-path",Q="__cssinjs_instance__";function X(){var Qt=Math.random().toString(12).slice(2);if(typeof document!="undefined"&&document.head&&document.body){var cr=document.body.querySelectorAll("style[".concat(N,"]"))||[],sr=document.head.firstChild;Array.from(cr).forEach(function(wr){wr[Q]=wr[Q]||Qt,wr[Q]===Qt&&document.head.insertBefore(wr,sr)});var vr={};Array.from(document.querySelectorAll("style[".concat(N,"]"))).forEach(function(wr){var xn=wr.getAttribute(N);if(vr[xn]){if(wr[Q]===Qt){var Sn;(Sn=wr.parentNode)===null||Sn===void 0||Sn.removeChild(wr)}}else vr[xn]=!0})}return new T(Qt)}var Y=u.createContext({hashPriority:"low",cache:X(),defaultCache:!0}),oe=function(cr){var sr=cr.children,vr=(0,x.Z)(cr,D),wr=u.useContext(Y),xn=(0,p.Z)(function(){var Sn=(0,c.Z)({},wr);Object.keys(vr).forEach(function(Ln){var Gn=vr[Ln];vr[Ln]!==void 0&&(Sn[Ln]=Gn)});var Un=vr.cache;return Sn.cache=Sn.cache||X(),Sn.defaultCache=!Un&&wr.defaultCache,Sn},[wr,vr],function(Sn,Un){return!(0,y.Z)(Sn[0],Un[0],!0)||!(0,y.Z)(Sn[1],Un[1],!0)});return u.createElement(Y.Provider,{value:xn},sr)},ie=Y,ue=e(10928),K=e(47273),V=e(41281),G=e(7942),te=e(76773),q=(0,b.Z)(function Qt(){(0,_.Z)(this,Qt)}),J=q,le="CALC_UNIT",z=new RegExp(le,"g");function F(Qt){return typeof Qt=="number"?"".concat(Qt).concat(le):Qt}var se=function(Qt){(0,G.Z)(sr,Qt);var cr=(0,te.Z)(sr);function sr(vr,wr){var xn;(0,_.Z)(this,sr),xn=cr.call(this),(0,i.Z)((0,V.Z)(xn),"result",""),(0,i.Z)((0,V.Z)(xn),"unitlessCssVar",void 0),(0,i.Z)((0,V.Z)(xn),"lowPriority",void 0);var Sn=(0,ue.Z)(vr);return xn.unitlessCssVar=wr,vr instanceof sr?xn.result="(".concat(vr.result,")"):Sn==="number"?xn.result=F(vr):Sn==="string"&&(xn.result=vr),xn}return(0,b.Z)(sr,[{key:"add",value:function(wr){return wr instanceof sr?this.result="".concat(this.result," + ").concat(wr.getResult()):(typeof wr=="number"||typeof wr=="string")&&(this.result="".concat(this.result," + ").concat(F(wr))),this.lowPriority=!0,this}},{key:"sub",value:function(wr){return wr instanceof sr?this.result="".concat(this.result," - ").concat(wr.getResult()):(typeof wr=="number"||typeof wr=="string")&&(this.result="".concat(this.result," - ").concat(F(wr))),this.lowPriority=!0,this}},{key:"mul",value:function(wr){return this.lowPriority&&(this.result="(".concat(this.result,")")),wr instanceof sr?this.result="".concat(this.result," * ").concat(wr.getResult(!0)):(typeof wr=="number"||typeof wr=="string")&&(this.result="".concat(this.result," * ").concat(wr)),this.lowPriority=!1,this}},{key:"div",value:function(wr){return this.lowPriority&&(this.result="(".concat(this.result,")")),wr instanceof sr?this.result="".concat(this.result," / ").concat(wr.getResult(!0)):(typeof wr=="number"||typeof wr=="string")&&(this.result="".concat(this.result," / ").concat(wr)),this.lowPriority=!1,this}},{key:"getResult",value:function(wr){return this.lowPriority||wr?"(".concat(this.result,")"):this.result}},{key:"equal",value:function(wr){var xn=this,Sn=wr||{},Un=Sn.unit,Ln=!0;return typeof Un=="boolean"?Ln=Un:Array.from(this.unitlessCssVar).some(function(Gn){return xn.result.includes(Gn)})&&(Ln=!1),this.result=this.result.replace(z,Ln?"px":""),typeof this.lowPriority!="undefined"?"calc(".concat(this.result,")"):this.result}}]),sr}(J),_e=function(Qt){(0,G.Z)(sr,Qt);var cr=(0,te.Z)(sr);function sr(vr){var wr;return(0,_.Z)(this,sr),wr=cr.call(this),(0,i.Z)((0,V.Z)(wr),"result",0),vr instanceof sr?wr.result=vr.result:typeof vr=="number"&&(wr.result=vr),wr}return(0,b.Z)(sr,[{key:"add",value:function(wr){return wr instanceof sr?this.result+=wr.result:typeof wr=="number"&&(this.result+=wr),this}},{key:"sub",value:function(wr){return wr instanceof sr?this.result-=wr.result:typeof wr=="number"&&(this.result-=wr),this}},{key:"mul",value:function(wr){return wr instanceof sr?this.result*=wr.result:typeof wr=="number"&&(this.result*=wr),this}},{key:"div",value:function(wr){return wr instanceof sr?this.result/=wr.result:typeof wr=="number"&&(this.result/=wr),this}},{key:"equal",value:function(){return this.result}}]),sr}(J),Pe=function(cr,sr){var vr=cr==="css"?se:_e;return function(wr){return new vr(wr,sr)}},Re=Pe;function Ze(Qt,cr){if(Qt.length!==cr.length)return!1;for(var sr=0;sr<Qt.length;sr++)if(Qt[sr]!==cr[sr])return!1;return!0}var $e=function(){function Qt(){(0,_.Z)(this,Qt),(0,i.Z)(this,"cache",void 0),(0,i.Z)(this,"keys",void 0),(0,i.Z)(this,"cacheCallTimes",void 0),this.cache=new Map,this.keys=[],this.cacheCallTimes=0}return(0,b.Z)(Qt,[{key:"size",value:function(){return this.keys.length}},{key:"internalGet",value:function(sr){var vr,wr,xn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Sn={map:this.cache};return sr.forEach(function(Un){if(!Sn)Sn=void 0;else{var Ln;Sn=(Ln=Sn)===null||Ln===void 0||(Ln=Ln.map)===null||Ln===void 0?void 0:Ln.get(Un)}}),(vr=Sn)!==null&&vr!==void 0&&vr.value&&xn&&(Sn.value[1]=this.cacheCallTimes++),(wr=Sn)===null||wr===void 0?void 0:wr.value}},{key:"get",value:function(sr){var vr;return(vr=this.internalGet(sr,!0))===null||vr===void 0?void 0:vr[0]}},{key:"has",value:function(sr){return!!this.internalGet(sr)}},{key:"set",value:function(sr,vr){var wr=this;if(!this.has(sr)){if(this.size()+1>Qt.MAX_CACHE_SIZE+Qt.MAX_CACHE_OFFSET){var xn=this.keys.reduce(function(Gn,ur){var Fr=(0,r.Z)(Gn,2),xr=Fr[1];return wr.internalGet(ur)[1]<xr?[ur,wr.internalGet(ur)[1]]:Gn},[this.keys[0],this.cacheCallTimes]),Sn=(0,r.Z)(xn,1),Un=Sn[0];this.delete(Un)}this.keys.push(sr)}var Ln=this.cache;sr.forEach(function(Gn,ur){if(ur===sr.length-1)Ln.set(Gn,{value:[vr,wr.cacheCallTimes++]});else{var Fr=Ln.get(Gn);Fr?Fr.map||(Fr.map=new Map):Ln.set(Gn,{map:new Map}),Ln=Ln.get(Gn).map}})}},{key:"deleteByPath",value:function(sr,vr){var wr=sr.get(vr[0]);if(vr.length===1){var xn;return wr.map?sr.set(vr[0],{map:wr.map}):sr.delete(vr[0]),(xn=wr.value)===null||xn===void 0?void 0:xn[0]}var Sn=this.deleteByPath(wr.map,vr.slice(1));return(!wr.map||wr.map.size===0)&&!wr.value&&sr.delete(vr[0]),Sn}},{key:"delete",value:function(sr){if(this.has(sr))return this.keys=this.keys.filter(function(vr){return!Ze(vr,sr)}),this.deleteByPath(this.cache,sr)}}]),Qt}();(0,i.Z)($e,"MAX_CACHE_SIZE",20),(0,i.Z)($e,"MAX_CACHE_OFFSET",5);var Ht=e(48736),bt=0,Ot=function(){function Qt(cr){(0,_.Z)(this,Qt),(0,i.Z)(this,"derivatives",void 0),(0,i.Z)(this,"id",void 0),this.derivatives=Array.isArray(cr)?cr:[cr],this.id=bt,cr.length===0&&(0,Ht.Kp)(cr.length>0,"[Ant Design CSS-in-JS] Theme should have at least one derivative function."),bt+=1}return(0,b.Z)(Qt,[{key:"getDerivativeToken",value:function(sr){return this.derivatives.reduce(function(vr,wr){return wr(sr,vr)},void 0)}}]),Qt}(),qt=new $e;function er(Qt){var cr=Array.isArray(Qt)?Qt:[Qt];return qt.has(cr)||qt.set(cr,new Ot(cr)),qt.get(cr)}var Jt=new WeakMap,Xe={};function Pt(Qt,cr){for(var sr=Jt,vr=0;vr<cr.length;vr+=1){var wr=cr[vr];sr.has(wr)||sr.set(wr,new WeakMap),sr=sr.get(wr)}return sr.has(Xe)||sr.set(Xe,Qt()),sr.get(Xe)}var Ut=new WeakMap;function st(Qt){var cr=Ut.get(Qt)||"";return cr||(Object.keys(Qt).forEach(function(sr){var vr=Qt[sr];cr+=sr,vr instanceof Ot?cr+=vr.id:vr&&(0,ue.Z)(vr)==="object"?cr+=st(vr):cr+=vr}),cr=s(cr),Ut.set(Qt,cr)),cr}function yt(Qt,cr){return s("".concat(cr,"_").concat(st(Qt)))}var ht="random-".concat(Date.now(),"-").concat(Math.random()).replace(/\./g,""),Je="_bAmBoO_";function je(Qt,cr,sr){if((0,K.Z)()){var vr,wr;(0,h.hq)(Qt,ht);var xn=document.createElement("div");xn.style.position="fixed",xn.style.left="0",xn.style.top="0",cr==null||cr(xn),document.body.appendChild(xn);var Sn=sr?sr(xn):(vr=getComputedStyle(xn).content)===null||vr===void 0?void 0:vr.includes(Je);return(wr=xn.parentNode)===null||wr===void 0||wr.removeChild(xn),(0,h.jL)(ht),Sn}return!1}var ge=null;function Se(){return ge===void 0&&(ge=je("@layer ".concat(ht," { .").concat(ht,' { content: "').concat(Je,'"!important; } }'),function(Qt){Qt.className=ht})),ge}var Me=void 0;function Ne(){return Me===void 0&&(Me=je(":where(.".concat(ht,') { content: "').concat(Je,'"!important; }'),function(Qt){Qt.className=ht})),Me}var He=void 0;function nt(){return He===void 0&&(He=je(".".concat(ht," { inset-block: 93px !important; }"),function(Qt){Qt.className=ht},function(Qt){return getComputedStyle(Qt).bottom==="93px"})),He}var ct=(0,K.Z)();function Vt(Qt){return typeof Qt=="number"?"".concat(Qt,"px"):Qt}function Wt(Qt,cr,sr){var vr,wr=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},xn=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;if(xn)return Qt;var Sn=(0,c.Z)((0,c.Z)({},wr),{},(vr={},(0,i.Z)(vr,M,cr),(0,i.Z)(vr,N,sr),vr)),Un=Object.keys(Sn).map(function(Ln){var Gn=Sn[Ln];return Gn?"".concat(Ln,'="').concat(Gn,'"'):null}).filter(function(Ln){return Ln}).join(" ");return"<style ".concat(Un,">").concat(Qt,"</style>")}var Ie=function(cr){var sr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return"--".concat(sr?"".concat(sr,"-"):"").concat(cr).replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/([A-Z]+)([A-Z][a-z0-9]+)/g,"$1-$2").replace(/([a-z])([A-Z0-9])/g,"$1-$2").toLowerCase()},qe=function(cr,sr,vr){return Object.keys(cr).length?".".concat(sr).concat(vr!=null&&vr.scope?".".concat(vr.scope):"","{").concat(Object.entries(cr).map(function(wr){var xn=(0,r.Z)(wr,2),Sn=xn[0],Un=xn[1];return"".concat(Sn,":").concat(Un,";")}).join(""),"}"):""},Gt=function(cr,sr,vr){var wr={},xn={};return Object.entries(cr).forEach(function(Sn){var Un,Ln,Gn=(0,r.Z)(Sn,2),ur=Gn[0],Fr=Gn[1];if(vr!=null&&(Un=vr.preserve)!==null&&Un!==void 0&&Un[ur])xn[ur]=Fr;else if((typeof Fr=="string"||typeof Fr=="number")&&!(vr!=null&&(Ln=vr.ignore)!==null&&Ln!==void 0&&Ln[ur])){var xr,mn=Ie(ur,vr==null?void 0:vr.prefix);wr[mn]=typeof Fr=="number"&&!(vr!=null&&(xr=vr.unitless)!==null&&xr!==void 0&&xr[ur])?"".concat(Fr,"px"):String(Fr),xn[ur]="var(".concat(mn,")")}}),[xn,qe(wr,sr,{scope:vr==null?void 0:vr.scope})]},kt=e(34280),Zt=(0,c.Z)({},a),Nt=Zt.useInsertionEffect,Ct=function(cr,sr,vr){u.useMemo(cr,vr),(0,kt.Z)(function(){return sr(!0)},vr)},Yt=Nt?function(Qt,cr,sr){return Nt(function(){return Qt(),cr()},sr)}:Ct,We=Yt,fe=(0,c.Z)({},a),pe=fe.useInsertionEffect,Dt=function(cr){var sr=[],vr=!1;function wr(xn){vr||sr.push(xn)}return u.useEffect(function(){return vr=!1,function(){vr=!0,sr.length&&sr.forEach(function(xn){return xn()})}},cr),wr},Ce=function(){return function(cr){cr()}},dt=typeof pe!="undefined"?Dt:Ce,zt=dt;function Tt(){return!1}var Oe=!1;function St(){return Oe}var be=Tt;if(0)var Ke,vt;function Rt(Qt,cr,sr,vr,wr){var xn=u.useContext(ie),Sn=xn.cache,Un=[Qt].concat((0,l.Z)(cr)),Ln=R(Un),Gn=zt([Ln]),ur=be(),Fr=function(ft){Sn.opUpdate(Ln,function(Pn){var Vn=Pn||[void 0,void 0],li=(0,r.Z)(Vn,2),Qi=li[0],Nr=Qi===void 0?0:Qi,Li=li[1],ba=Li,zr=ba||sr(),na=[Nr,zr];return ft?ft(na):na})};u.useMemo(function(){Fr()},[Ln]);var xr=Sn.opGet(Ln),mn=xr[1];return We(function(){wr==null||wr(mn)},function(Hn){return Fr(function(ft){var Pn=(0,r.Z)(ft,2),Vn=Pn[0],li=Pn[1];return Hn&&Vn===0&&(wr==null||wr(mn)),[Vn+1,li]}),function(){Sn.opUpdate(Ln,function(ft){var Pn=ft||[],Vn=(0,r.Z)(Pn,2),li=Vn[0],Qi=li===void 0?0:li,Nr=Vn[1],Li=Qi-1;return Li===0?(Gn(function(){(Hn||!Sn.opGet(Ln))&&(vr==null||vr(Nr,!1))}),null):[Qi-1,Nr]})}},[Ln]),mn}var Fe={},kr="css",At=new Map;function Kr(Qt){At.set(Qt,(At.get(Qt)||0)+1)}function qr(Qt,cr){if(typeof document!="undefined"){var sr=document.querySelectorAll("style[".concat(M,'="').concat(Qt,'"]'));sr.forEach(function(vr){if(vr[Q]===cr){var wr;(wr=vr.parentNode)===null||wr===void 0||wr.removeChild(vr)}})}}var Ar=0;function Br(Qt,cr){At.set(Qt,(At.get(Qt)||0)-1);var sr=Array.from(At.keys()),vr=sr.filter(function(wr){var xn=At.get(wr)||0;return xn<=0});sr.length-vr.length>Ar&&vr.forEach(function(wr){qr(wr,cr),At.delete(wr)})}var _r=function(cr,sr,vr,wr){var xn=vr.getDerivativeToken(cr),Sn=(0,c.Z)((0,c.Z)({},xn),sr);return wr&&(Sn=wr(Sn)),Sn},Ur="token";function sn(Qt,cr){var sr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},vr=(0,u.useContext)(ie),wr=vr.cache.instanceId,xn=vr.container,Sn=sr.salt,Un=Sn===void 0?"":Sn,Ln=sr.override,Gn=Ln===void 0?Fe:Ln,ur=sr.formatToken,Fr=sr.getComputedToken,xr=sr.cssVar,mn=Pt(function(){return Object.assign.apply(Object,[{}].concat((0,l.Z)(cr)))},cr),Hn=st(mn),ft=st(Gn),Pn=xr?st(xr):"",Vn=Rt(Ur,[Un,Qt.id,Hn,ft,Pn],function(){var li,Qi=Fr?Fr(mn,Gn,Qt):_r(mn,Gn,Qt,ur),Nr=(0,c.Z)({},Qi),Li="";if(xr){var ba=Gt(Qi,xr.key,{prefix:xr.prefix,ignore:xr.ignore,unitless:xr.unitless,preserve:xr.preserve}),zr=(0,r.Z)(ba,2);Qi=zr[0],Li=zr[1]}var na=yt(Qi,Un);Qi._tokenKey=na,Nr._tokenKey=yt(Nr,Un);var Ss=(li=xr==null?void 0:xr.key)!==null&&li!==void 0?li:na;Qi._themeKey=Ss,Kr(Ss);var ci="".concat(kr,"-").concat(s(na));return Qi._hashId=ci,[Qi,ci,Nr,Li,(xr==null?void 0:xr.key)||""]},function(li){Br(li[0]._themeKey,wr)},function(li){var Qi=(0,r.Z)(li,4),Nr=Qi[0],Li=Qi[3];if(xr&&Li){var ba=(0,h.hq)(Li,s("css-variables-".concat(Nr._themeKey)),{mark:N,prepend:"queue",attachTo:xn,priority:-999});ba[Q]=wr,ba.setAttribute(M,Nr._themeKey)}});return Vn}var cn=function(cr,sr,vr){var wr=(0,r.Z)(cr,5),xn=wr[2],Sn=wr[3],Un=wr[4],Ln=vr||{},Gn=Ln.plain;if(!Sn)return null;var ur=xn._tokenKey,Fr=-999,xr={"data-rc-order":"prependQueue","data-rc-priority":"".concat(Fr)},mn=Wt(Sn,Un,ur,xr,Gn);return[Fr,ur,mn]},or=e(5016),Lt={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},mt=Lt,gt="-ms-",$t="-moz-",Cr="-webkit-",gr="comm",ot="rule",Mr="decl",yn="@page",Zn="@media",mr="@import",tn="@charset",hn="@viewport",Fn="@supports",ti="@document",jn="@namespace",Zi="@keyframes",xi="@font-face",Si="@counter-style",Ei="@font-feature-values",mi="@layer",Xi="@scope",qn=Math.abs,Yi=String.fromCharCode,wt=Object.assign;function ut(Qt,cr){return vi(Qt,0)^45?(((cr<<2^vi(Qt,0))<<2^vi(Qt,1))<<2^vi(Qt,2))<<2^vi(Qt,3):0}function Jn(Qt){return Qt.trim()}function Ai(Qt,cr){return(Qt=cr.exec(Qt))?Qt[0]:Qt}function ei(Qt,cr,sr){return Qt.replace(cr,sr)}function Gi(Qt,cr,sr){return Qt.indexOf(cr,sr)}function vi(Qt,cr){return Qt.charCodeAt(cr)|0}function si(Qt,cr,sr){return Qt.slice(cr,sr)}function En(Qt){return Qt.length}function tr(Qt){return Qt.length}function _t(Qt,cr){return cr.push(Qt),Qt}function rt(Qt,cr){return Qt.map(cr).join("")}function It(Qt,cr){return Qt.filter(function(sr){return!Ai(sr,cr)})}function pt(Qt,cr){for(var sr="",vr=0;vr<Qt.length;vr++)sr+=cr(Qt[vr],vr,Qt,cr)||"";return sr}function lr(Qt,cr,sr,vr){switch(Qt.type){case mi:if(Qt.children.length)break;case mr:case jn:case Mr:return Qt.return=Qt.return||Qt.value;case gr:return"";case Zi:return Qt.return=Qt.value+"{"+pt(Qt.children,vr)+"}";case ot:if(!En(Qt.value=Qt.props.join(",")))return""}return En(sr=pt(Qt.children,vr))?Qt.return=Qt.value+"{"+sr+"}":""}var fr=1,Ir=1,Hr=0,ze=0,et=0,Ee="";function it(Qt,cr,sr,vr,wr,xn,Sn,Un){return{value:Qt,root:cr,parent:sr,type:vr,props:wr,children:xn,line:fr,column:Ir,length:Sn,return:"",siblings:Un}}function ir(Qt,cr){return assign(it("",null,null,"",null,null,0,Qt.siblings),Qt,{length:-Qt.length},cr)}function Dr(Qt){for(;Qt.root;)Qt=ir(Qt.root,{children:[Qt]});append(Qt,Qt.siblings)}function Er(){return et}function Or(){return et=ze>0?vi(Ee,--ze):0,Ir--,et===10&&(Ir=1,fr--),et}function $r(){return et=ze<Hr?vi(Ee,ze++):0,Ir++,et===10&&(Ir=1,fr++),et}function bn(){return vi(Ee,ze)}function Pr(){return ze}function un(Qt,cr){return si(Ee,Qt,cr)}function rn(Qt){switch(Qt){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function ln(Qt){return fr=Ir=1,Hr=En(Ee=Qt),ze=0,[]}function An(Qt){return Ee="",Qt}function pa(Qt){return Jn(un(ze-1,Ni(Qt===91?Qt+2:Qt===40?Qt+1:Qt)))}function Pi(Qt){return An(pn(ln(Qt)))}function gi(Qt){for(;(et=bn())&&et<33;)$r();return rn(Qt)>2||rn(et)>3?"":" "}function pn(Qt){for(;$r();)switch(rn(et)){case 0:append(xs(ze-1),Qt);break;case 2:append(pa(et),Qt);break;default:append(from(et),Qt)}return Qt}function ui(Qt,cr){for(;--cr&&$r()&&!(et<48||et>102||et>57&&et<65||et>70&&et<97););return un(Qt,Pr()+(cr<6&&bn()==32&&$r()==32))}function Ni(Qt){for(;$r();)switch(et){case Qt:return ze;case 34:case 39:Qt!==34&&Qt!==39&&Ni(et);break;case 40:Qt===41&&Ni(Qt);break;case 92:$r();break}return ze}function la(Qt,cr){for(;$r()&&Qt+et!==57;)if(Qt+et===84&&bn()===47)break;return"/*"+un(cr,ze-1)+"*"+Yi(Qt===47?Qt:$r())}function xs(Qt){for(;!rn(bn());)$r();return un(Qt,ze)}function Pa(Qt){return An(Na("",null,null,null,[""],Qt=ln(Qt),0,[0],Qt))}function Na(Qt,cr,sr,vr,wr,xn,Sn,Un,Ln){for(var Gn=0,ur=0,Fr=Sn,xr=0,mn=0,Hn=0,ft=1,Pn=1,Vn=1,li=0,Qi="",Nr=wr,Li=xn,ba=vr,zr=Qi;Pn;)switch(Hn=li,li=$r()){case 40:if(Hn!=108&&vi(zr,Fr-1)==58){Gi(zr+=ei(pa(li),"&","&\f"),"&\f",qn(Gn?Un[Gn-1]:0))!=-1&&(Vn=-1);break}case 34:case 39:case 91:zr+=pa(li);break;case 9:case 10:case 13:case 32:zr+=gi(Hn);break;case 92:zr+=ui(Pr()-1,7);continue;case 47:switch(bn()){case 42:case 47:_t($a(la($r(),Pr()),cr,sr,Ln),Ln),(rn(Hn||1)==5||rn(bn()||1)==5)&&En(zr)&&si(zr,-1,void 0)!==" "&&(zr+=" ");break;default:zr+="/"}break;case 123*ft:Un[Gn++]=En(zr)*Vn;case 125*ft:case 59:case 0:switch(li){case 0:case 125:Pn=0;case 59+ur:Vn==-1&&(zr=ei(zr,/\f/g,"")),mn>0&&(En(zr)-Fr||ft===0&&Hn===47)&&_t(mn>32?hs(zr+";",vr,sr,Fr-1,Ln):hs(ei(zr," ","")+";",vr,sr,Fr-2,Ln),Ln);break;case 59:zr+=";";default:if(_t(ba=Is(zr,cr,sr,Gn,ur,wr,Un,Qi,Nr=[],Li=[],Fr,xn),xn),li===123)if(ur===0)Na(zr,cr,ba,ba,Nr,xn,Fr,Un,Li);else{switch(xr){case 99:if(vi(zr,3)===110)break;case 108:if(vi(zr,2)===97)break;default:ur=0;case 100:case 109:case 115:}ur?Na(Qt,ba,ba,vr&&_t(Is(Qt,ba,ba,0,0,wr,Un,Qi,wr,Nr=[],Fr,Li),Li),wr,Li,Fr,Un,vr?Nr:Li):Na(zr,ba,ba,ba,[""],Li,0,Un,Li)}}Gn=ur=mn=0,ft=Vn=1,Qi=zr="",Fr=Sn;break;case 58:Fr=1+En(zr),mn=Hn;default:if(ft<1){if(li==123)--ft;else if(li==125&&ft++==0&&Or()==125)continue}switch(zr+=Yi(li),li*ft){case 38:Vn=ur>0?1:(zr+="\f",-1);break;case 44:Un[Gn++]=(En(zr)-1)*Vn,Vn=1;break;case 64:bn()===45&&(zr+=pa($r())),xr=bn(),ur=Fr=En(Qi=zr+=xs(Pr())),li++;break;case 45:Hn===45&&En(zr)==2&&(ft=0)}}return xn}function Is(Qt,cr,sr,vr,wr,xn,Sn,Un,Ln,Gn,ur,Fr){for(var xr=wr-1,mn=wr===0?xn:[""],Hn=tr(mn),ft=0,Pn=0,Vn=0;ft<vr;++ft)for(var li=0,Qi=si(Qt,xr+1,xr=qn(Pn=Sn[ft])),Nr=Qt;li<Hn;++li)(Nr=Jn(Pn>0?mn[li]+" "+Qi:ei(Qi,/&\f/g,mn[li])))&&(Ln[Vn++]=Nr);return it(Qt,cr,sr,wr===0?ot:Un,Ln,Gn,ur,Fr)}function $a(Qt,cr,sr,vr){return it(Qt,cr,sr,gr,Yi(Er()),si(Qt,2,-2),0,vr)}function hs(Qt,cr,sr,vr,wr){return it(Qt,cr,sr,Mr,si(Qt,0,vr),si(Qt,vr+1,-1),vr,wr)}function oa(Qt,cr){var sr=cr.path,vr=cr.parentSelectors;(0,Ht.ZP)(!1,"[Ant Design CSS-in-JS] ".concat(sr?"Error in ".concat(sr,": "):"").concat(Qt).concat(vr.length?" Selector: ".concat(vr.join(" | ")):""))}var yi=function(cr,sr,vr){if(cr==="content"){var wr=/(attr|counters?|url|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,xn=["normal","none","initial","inherit","unset"];(typeof sr!="string"||xn.indexOf(sr)===-1&&!wr.test(sr)&&(sr.charAt(0)!==sr.charAt(sr.length-1)||sr.charAt(0)!=='"'&&sr.charAt(0)!=="'"))&&lintWarning("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\"".concat(sr,"\"'`."),vr)}},Ga=null,Ds=function(cr,sr,vr){cr==="animation"&&vr.hashId&&sr!=="none"&&lintWarning("You seem to be using hashed animation '".concat(sr,"', in which case 'animationName' with Keyframe as value is recommended."),vr)},$i=null;function ps(Qt){var cr,sr=((cr=Qt.match(/:not\(([^)]*)\)/))===null||cr===void 0?void 0:cr[1])||"",vr=sr.split(/(\[[^[]*])|(?=[.#])/).filter(function(wr){return wr});return vr.length>1}function Co(Qt){return Qt.parentSelectors.reduce(function(cr,sr){return cr?sr.includes("&")?sr.replace(/&/g,cr):"".concat(cr," ").concat(sr):sr},"")}var La=function(cr,sr,vr){var wr=Co(vr),xn=wr.match(/:not\([^)]*\)/g)||[];xn.length>0&&xn.some(ps)&&oa("Concat ':not' selector not support in legacy browsers.",vr)},_s=La,ji=function(cr,sr,vr){switch(cr){case"marginLeft":case"marginRight":case"paddingLeft":case"paddingRight":case"left":case"right":case"borderLeft":case"borderLeftWidth":case"borderLeftStyle":case"borderLeftColor":case"borderRight":case"borderRightWidth":case"borderRightStyle":case"borderRightColor":case"borderTopLeftRadius":case"borderTopRightRadius":case"borderBottomLeftRadius":case"borderBottomRightRadius":oa("You seem to be using non-logical property '".concat(cr,"' which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),vr);return;case"margin":case"padding":case"borderWidth":case"borderStyle":if(typeof sr=="string"){var wr=sr.split(" ").map(function(Un){return Un.trim()});wr.length===4&&wr[1]!==wr[3]&&oa("You seem to be using '".concat(cr,"' property with different left ").concat(cr," and right ").concat(cr,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),vr)}return;case"clear":case"textAlign":(sr==="left"||sr==="right")&&oa("You seem to be using non-logical value '".concat(sr,"' of ").concat(cr,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),vr);return;case"borderRadius":if(typeof sr=="string"){var xn=sr.split("/").map(function(Un){return Un.trim()}),Sn=xn.reduce(function(Un,Ln){if(Un)return Un;var Gn=Ln.split(" ").map(function(ur){return ur.trim()});return Gn.length>=2&&Gn[0]!==Gn[1]||Gn.length===3&&Gn[1]!==Gn[2]||Gn.length===4&&Gn[2]!==Gn[3]?!0:Un},!1);Sn&&oa("You seem to be using non-logical value '".concat(sr,"' of ").concat(cr,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),vr)}return;default:}},Gs=ji,Rn=function(cr,sr,vr){(typeof sr=="string"&&/NaN/g.test(sr)||Number.isNaN(sr))&&oa("Unexpected 'NaN' in property '".concat(cr,": ").concat(sr,"'."),vr)},ja=Rn,ns=function(cr,sr,vr){vr.parentSelectors.some(function(wr){var xn=wr.split(",");return xn.some(function(Sn){return Sn.split("&").length>2})})&&oa("Should not use more than one `&` in a selector.",vr)},ls=ns,Vi="data-ant-cssinjs-cache-path",Ia="_FILE_STYLE__";function Da(Qt){return Object.keys(Qt).map(function(cr){var sr=Qt[cr];return"".concat(cr,":").concat(sr)}).join(";")}var ms,Bs=!0;function _o(Qt){var cr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;ms=Qt,Bs=cr}function To(){if(!ms&&(ms={},(0,K.Z)())){var Qt=document.createElement("div");Qt.className=Vi,Qt.style.position="fixed",Qt.style.visibility="hidden",Qt.style.top="-9999px",document.body.appendChild(Qt);var cr=getComputedStyle(Qt).content||"";cr=cr.replace(/^"/,"").replace(/"$/,""),cr.split(";").forEach(function(wr){var xn=wr.split(":"),Sn=(0,r.Z)(xn,2),Un=Sn[0],Ln=Sn[1];ms[Un]=Ln});var sr=document.querySelector("style[".concat(Vi,"]"));if(sr){var vr;Bs=!1,(vr=sr.parentNode)===null||vr===void 0||vr.removeChild(sr)}document.body.removeChild(Qt)}}function Vo(Qt){return To(),!!ms[Qt]}function uo(Qt){var cr=ms[Qt],sr=null;if(cr&&(0,K.Z)())if(Bs)sr=Ia;else{var vr=document.querySelector("style[".concat(N,'="').concat(ms[Qt],'"]'));vr?sr=vr.innerHTML:delete ms[Qt]}return[sr,cr]}var ca="_skip_check_",cs="_multi_value_";function mo(Qt){var cr=pt(Pa(Qt),lr);return cr.replace(/\{%%%\:[^;];}/g,";")}function vo(Qt){return(0,ue.Z)(Qt)==="object"&&Qt&&(ca in Qt||cs in Qt)}function go(Qt,cr,sr){if(!cr)return Qt;var vr=".".concat(cr),wr=sr==="low"?":where(".concat(vr,")"):vr,xn=Qt.split(",").map(function(Sn){var Un,Ln=Sn.trim().split(/\s+/),Gn=Ln[0]||"",ur=((Un=Gn.match(/^\w+/))===null||Un===void 0?void 0:Un[0])||"";return Gn="".concat(ur).concat(wr).concat(Gn.slice(ur.length)),[Gn].concat((0,l.Z)(Ln.slice(1))).join(" ")});return xn.join(",")}var hi=function Qt(cr){var sr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},vr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{root:!0,parentSelectors:[]},wr=vr.root,xn=vr.injectHash,Sn=vr.parentSelectors,Un=sr.hashId,Ln=sr.layer,Gn=sr.path,ur=sr.hashPriority,Fr=sr.transformers,xr=Fr===void 0?[]:Fr,mn=sr.linters,Hn=mn===void 0?[]:mn,ft="",Pn={};function Vn(Nr){var Li=Nr.getName(Un);if(!Pn[Li]){var ba=Qt(Nr.style,sr,{root:!1,parentSelectors:Sn}),zr=(0,r.Z)(ba,1),na=zr[0];Pn[Li]="@keyframes ".concat(Nr.getName(Un)).concat(na)}}function li(Nr){var Li=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return Nr.forEach(function(ba){Array.isArray(ba)?li(ba,Li):ba&&Li.push(ba)}),Li}var Qi=li(Array.isArray(cr)?cr:[cr]);return Qi.forEach(function(Nr){var Li=typeof Nr=="string"&&!wr?{}:Nr;if(typeof Li=="string")ft+="".concat(Li,`
`);else if(Li._keyframe)Vn(Li);else{var ba=xr.reduce(function(zr,na){var Ss;return(na==null||(Ss=na.visit)===null||Ss===void 0?void 0:Ss.call(na,zr))||zr},Li);Object.keys(ba).forEach(function(zr){var na=ba[zr];if((0,ue.Z)(na)==="object"&&na&&(zr!=="animationName"||!na._keyframe)&&!vo(na)){var Ss=!1,ci=zr.trim(),Vs=!1;(wr||xn)&&Un?ci.startsWith("@")?Ss=!0:ci==="&"?ci=go("",Un,ur):ci=go(zr,Un,ur):wr&&!Un&&(ci==="&"||ci==="")&&(ci="",Vs=!0);var xo=Qt(na,sr,{root:Vs,injectHash:Ss,parentSelectors:[].concat((0,l.Z)(Sn),[ci])}),Os=(0,r.Z)(xo,2),xa=Os[0],ds=Os[1];Pn=(0,c.Z)((0,c.Z)({},Pn),ds),ft+="".concat(ci).concat(xa)}else{let gs=function(Ns,Ye){var Qe=Ns.replace(/[A-Z]/g,function(Kt){return"-".concat(Kt.toLowerCase())}),Mt=Ye;!mt[Ns]&&typeof Mt=="number"&&Mt!==0&&(Mt="".concat(Mt,"px")),Ns==="animationName"&&Ye!==null&&Ye!==void 0&&Ye._keyframe&&(Vn(Ye),Mt=Ye.getName(Un)),ft+="".concat(Qe,":").concat(Mt,";")};var ks,In=(ks=na==null?void 0:na.value)!==null&&ks!==void 0?ks:na;(0,ue.Z)(na)==="object"&&na!==null&&na!==void 0&&na[cs]&&Array.isArray(In)?In.forEach(function(Ns){gs(zr,Ns)}):gs(zr,In)}})}}),wr?Ln&&(ft&&(ft="@layer ".concat(Ln.name," {").concat(ft,"}")),Ln.dependencies&&(Pn["@layer ".concat(Ln.name)]=Ln.dependencies.map(function(Nr){return"@layer ".concat(Nr,", ").concat(Ln.name,";")}).join(`
`))):ft="{".concat(ft,"}"),[ft,Pn]};function oi(Qt,cr){return s("".concat(Qt.join("%")).concat(cr))}function Fa(){return null}var Va="style";function Xa(Qt,cr){var sr=Qt.token,vr=Qt.path,wr=Qt.hashId,xn=Qt.layer,Sn=Qt.nonce,Un=Qt.clientOnly,Ln=Qt.order,Gn=Ln===void 0?0:Ln,ur=u.useContext(ie),Fr=ur.autoClear,xr=ur.mock,mn=ur.defaultCache,Hn=ur.hashPriority,ft=ur.container,Pn=ur.ssrInline,Vn=ur.transformers,li=ur.linters,Qi=ur.cache,Nr=ur.layer,Li=sr._tokenKey,ba=[Li];Nr&&ba.push("layer"),ba.push.apply(ba,(0,l.Z)(vr));var zr=ct,na=Rt(Va,ba,function(){var Os=ba.join("|");if(Vo(Os)){var xa=uo(Os),ds=(0,r.Z)(xa,2),ks=ds[0],In=ds[1];if(ks)return[ks,Li,In,{},Un,Gn]}var gs=cr(),Ns=hi(gs,{hashId:wr,hashPriority:Hn,layer:Nr?xn:void 0,path:vr.join("-"),transformers:Vn,linters:li}),Ye=(0,r.Z)(Ns,2),Qe=Ye[0],Mt=Ye[1],Kt=mo(Qe),hr=oi(ba,Kt);return[Kt,Li,hr,Mt,Un,Gn]},function(Os,xa){var ds=(0,r.Z)(Os,3),ks=ds[2];(xa||Fr)&&ct&&(0,h.jL)(ks,{mark:N})},function(Os){var xa=(0,r.Z)(Os,4),ds=xa[0],ks=xa[1],In=xa[2],gs=xa[3];if(zr&&ds!==Ia){var Ns={mark:N,prepend:Nr?!1:"queue",attachTo:ft,priority:Gn},Ye=typeof Sn=="function"?Sn():Sn;Ye&&(Ns.csp={nonce:Ye});var Qe=[],Mt=[];Object.keys(gs).forEach(function(hr){hr.startsWith("@layer")?Qe.push(hr):Mt.push(hr)}),Qe.forEach(function(hr){(0,h.hq)(mo(gs[hr]),"_layer-".concat(hr),(0,c.Z)((0,c.Z)({},Ns),{},{prepend:!0}))});var Kt=(0,h.hq)(ds,In,Ns);Kt[Q]=Qi.instanceId,Kt.setAttribute(M,Li),Mt.forEach(function(hr){(0,h.hq)(mo(gs[hr]),"_effect-".concat(hr),Ns)})}}),Ss=(0,r.Z)(na,3),ci=Ss[0],Vs=Ss[1],xo=Ss[2];return function(Os){var xa;if(!Pn||zr||!mn)xa=u.createElement(Fa,null);else{var ds;xa=u.createElement("style",(0,or.Z)({},(ds={},(0,i.Z)(ds,M,Vs),(0,i.Z)(ds,N,xo),ds),{dangerouslySetInnerHTML:{__html:ci}}))}return u.createElement(u.Fragment,null,xa,Os)}}var lo=function(cr,sr,vr){var wr=(0,r.Z)(cr,6),xn=wr[0],Sn=wr[1],Un=wr[2],Ln=wr[3],Gn=wr[4],ur=wr[5],Fr=vr||{},xr=Fr.plain;if(Gn)return null;var mn=xn,Hn={"data-rc-order":"prependQueue","data-rc-priority":"".concat(ur)};return mn=Wt(xn,Sn,Un,Hn,xr),Ln&&Object.keys(Ln).forEach(function(ft){if(!sr[ft]){sr[ft]=!0;var Pn=mo(Ln[ft]),Vn=Wt(Pn,Sn,"_effect-".concat(ft),Hn,xr);ft.startsWith("@layer")?mn=Vn+mn:mn+=Vn}}),[ur,Un,mn]},co="cssVar",Po=function(cr,sr){var vr=cr.key,wr=cr.prefix,xn=cr.unitless,Sn=cr.ignore,Un=cr.token,Ln=cr.scope,Gn=Ln===void 0?"":Ln,ur=(0,u.useContext)(ie),Fr=ur.cache.instanceId,xr=ur.container,mn=Un._tokenKey,Hn=[].concat((0,l.Z)(cr.path),[vr,Gn,mn]),ft=Rt(co,Hn,function(){var Pn=sr(),Vn=Gt(Pn,vr,{prefix:wr,unitless:xn,ignore:Sn,scope:Gn}),li=(0,r.Z)(Vn,2),Qi=li[0],Nr=li[1],Li=oi(Hn,Nr);return[Qi,Nr,Li,vr]},function(Pn){var Vn=(0,r.Z)(Pn,3),li=Vn[2];ct&&(0,h.jL)(li,{mark:N})},function(Pn){var Vn=(0,r.Z)(Pn,3),li=Vn[1],Qi=Vn[2];if(li){var Nr=(0,h.hq)(li,Qi,{mark:N,prepend:"queue",attachTo:xr,priority:-999});Nr[Q]=Fr,Nr.setAttribute(M,vr)}});return ft},Qa=function(cr,sr,vr){var wr=(0,r.Z)(cr,4),xn=wr[1],Sn=wr[2],Un=wr[3],Ln=vr||{},Gn=Ln.plain;if(!xn)return null;var ur=-999,Fr={"data-rc-order":"prependQueue","data-rc-priority":"".concat(ur)},xr=Wt(xn,Un,Sn,Fr,Gn);return[ur,Sn,xr]},Lo=Po,yo,Ko=(yo={},(0,i.Z)(yo,Va,lo),(0,i.Z)(yo,Ur,cn),(0,i.Z)(yo,co,Qa),yo);function Tu(Qt){return Qt!==null}function _u(Qt,cr){var sr=typeof cr=="boolean"?{plain:cr}:cr||{},vr=sr.plain,wr=vr===void 0?!1:vr,xn=sr.types,Sn=xn===void 0?["style","token","cssVar"]:xn,Un=new RegExp("^(".concat((typeof Sn=="string"?[Sn]:Sn).join("|"),")%")),Ln=Array.from(Qt.cache.keys()).filter(function(xr){return Un.test(xr)}),Gn={},ur={},Fr="";return Ln.map(function(xr){var mn=xr.replace(Un,"").replace(/%/g,"|"),Hn=xr.split("%"),ft=(0,r.Z)(Hn,1),Pn=ft[0],Vn=Ko[Pn],li=Vn(Qt.cache.get(xr)[1],Gn,{plain:wr});if(!li)return null;var Qi=(0,r.Z)(li,3),Nr=Qi[0],Li=Qi[1],ba=Qi[2];return xr.startsWith("style")&&(ur[mn]=Li),[Nr,ba]}).filter(Tu).sort(function(xr,mn){var Hn=(0,r.Z)(xr,1),ft=Hn[0],Pn=(0,r.Z)(mn,1),Vn=Pn[0];return ft-Vn}).forEach(function(xr){var mn=(0,r.Z)(xr,2),Hn=mn[1];Fr+=Hn}),Fr+=Wt(".".concat(Vi,'{content:"').concat(Da(ur),'";}'),void 0,void 0,(0,i.Z)({},Vi,Vi),wr),Fr}var fo=function(){function Qt(cr,sr){(0,_.Z)(this,Qt),(0,i.Z)(this,"name",void 0),(0,i.Z)(this,"style",void 0),(0,i.Z)(this,"_keyframe",!0),this.name=cr,this.style=sr}return(0,b.Z)(Qt,[{key:"getName",value:function(){var sr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return sr?"".concat(sr,"-").concat(this.name):this.name}}]),Qt}(),fs=fo;function zu(Qt){if(typeof Qt=="number")return[[Qt],!1];var cr=String(Qt).trim(),sr=cr.match(/(.*)(!important)/),vr=(sr?sr[1]:cr).trim().split(/\s+/),wr=[],xn=0;return[vr.reduce(function(Sn,Un){if(Un.includes("(")||Un.includes(")")){var Ln=Un.split("(").length-1,Gn=Un.split(")").length-1;xn+=Ln-Gn}return xn>=0&&wr.push(Un),xn===0&&(Sn.push(wr.join(" ")),wr=[]),Sn},[]),!!sr]}function Mo(Qt){return Qt.notSplit=!0,Qt}var Io={inset:["top","right","bottom","left"],insetBlock:["top","bottom"],insetBlockStart:["top"],insetBlockEnd:["bottom"],insetInline:["left","right"],insetInlineStart:["left"],insetInlineEnd:["right"],marginBlock:["marginTop","marginBottom"],marginBlockStart:["marginTop"],marginBlockEnd:["marginBottom"],marginInline:["marginLeft","marginRight"],marginInlineStart:["marginLeft"],marginInlineEnd:["marginRight"],paddingBlock:["paddingTop","paddingBottom"],paddingBlockStart:["paddingTop"],paddingBlockEnd:["paddingBottom"],paddingInline:["paddingLeft","paddingRight"],paddingInlineStart:["paddingLeft"],paddingInlineEnd:["paddingRight"],borderBlock:Mo(["borderTop","borderBottom"]),borderBlockStart:Mo(["borderTop"]),borderBlockEnd:Mo(["borderBottom"]),borderInline:Mo(["borderLeft","borderRight"]),borderInlineStart:Mo(["borderLeft"]),borderInlineEnd:Mo(["borderRight"]),borderBlockWidth:["borderTopWidth","borderBottomWidth"],borderBlockStartWidth:["borderTopWidth"],borderBlockEndWidth:["borderBottomWidth"],borderInlineWidth:["borderLeftWidth","borderRightWidth"],borderInlineStartWidth:["borderLeftWidth"],borderInlineEndWidth:["borderRightWidth"],borderBlockStyle:["borderTopStyle","borderBottomStyle"],borderBlockStartStyle:["borderTopStyle"],borderBlockEndStyle:["borderBottomStyle"],borderInlineStyle:["borderLeftStyle","borderRightStyle"],borderInlineStartStyle:["borderLeftStyle"],borderInlineEndStyle:["borderRightStyle"],borderBlockColor:["borderTopColor","borderBottomColor"],borderBlockStartColor:["borderTopColor"],borderBlockEndColor:["borderBottomColor"],borderInlineColor:["borderLeftColor","borderRightColor"],borderInlineStartColor:["borderLeftColor"],borderInlineEndColor:["borderRightColor"],borderStartStartRadius:["borderTopLeftRadius"],borderStartEndRadius:["borderTopRightRadius"],borderEndStartRadius:["borderBottomLeftRadius"],borderEndEndRadius:["borderBottomRightRadius"]};function Us(Qt,cr){var sr=Qt;return cr&&(sr="".concat(sr," !important")),{_skip_check_:!0,value:sr}}var ou={visit:function(cr){var sr={};return Object.keys(cr).forEach(function(vr){var wr=cr[vr],xn=Io[vr];if(xn&&(typeof wr=="number"||typeof wr=="string")){var Sn=zu(wr),Un=(0,r.Z)(Sn,2),Ln=Un[0],Gn=Un[1];xn.length&&xn.notSplit?xn.forEach(function(ur){sr[ur]=Us(wr,Gn)}):xn.length===1?sr[xn[0]]=Us(Ln[0],Gn):xn.length===2?xn.forEach(function(ur,Fr){var xr;sr[ur]=Us((xr=Ln[Fr])!==null&&xr!==void 0?xr:Ln[0],Gn)}):xn.length===4?xn.forEach(function(ur,Fr){var xr,mn;sr[ur]=Us((xr=(mn=Ln[Fr])!==null&&mn!==void 0?mn:Ln[Fr-2])!==null&&xr!==void 0?xr:Ln[0],Gn)}):sr[vr]=wr}else sr[vr]=wr}),sr}},jo=ou,Do=/url\([^)]+\)|var\([^)]+\)|(\d*\.?\d+)px/g;function Ls(Qt,cr){var sr=Math.pow(10,cr+1),vr=Math.floor(Qt*sr);return Math.round(vr/10)*10/sr}var bo=function(){var cr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},sr=cr.rootValue,vr=sr===void 0?16:sr,wr=cr.precision,xn=wr===void 0?5:wr,Sn=cr.mediaQuery,Un=Sn===void 0?!1:Sn,Ln=function(Fr,xr){if(!xr)return Fr;var mn=parseFloat(xr);if(mn<=1)return Fr;var Hn=Ls(mn/vr,xn);return"".concat(Hn,"rem")},Gn=function(Fr){var xr=(0,c.Z)({},Fr);return Object.entries(Fr).forEach(function(mn){var Hn=(0,r.Z)(mn,2),ft=Hn[0],Pn=Hn[1];if(typeof Pn=="string"&&Pn.includes("px")){var Vn=Pn.replace(Do,Ln);xr[ft]=Vn}!mt[ft]&&typeof Pn=="number"&&Pn!==0&&(xr[ft]="".concat(Pn,"px").replace(Do,Ln));var li=ft.trim();if(li.startsWith("@")&&li.includes("px")&&Un){var Qi=ft.replace(Do,Ln);xr[Qi]=xr[ft],delete xr[ft]}}),xr};return{visit:Gn}},mu=bo,Fo={supportModernCSS:function(){return Ne()&&nt()}}},7657:function(d,g,e){"use strict";e.d(g,{Z:function(){return le}});var r=e(5016),i=e(52456),l=e(18082),c=e(5883),f=e(59301),s=e(92310),h=e.n(s),u=e(93398),a=e(18418),x=e(20049),p=e(10928),y=e(810),_=e(96452),b=e(48736);function S(z){return z.replace(/-(.)/g,function(F,se){return se.toUpperCase()})}function R(z,F){(0,b.ZP)(z,"[@ant-design/icons] ".concat(F))}function L(z){return(0,p.Z)(z)==="object"&&typeof z.name=="string"&&typeof z.theme=="string"&&((0,p.Z)(z.icon)==="object"||typeof z.icon=="function")}function T(){var z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(z).reduce(function(F,se){var _e=z[se];switch(se){case"class":F.className=_e,delete F.class;break;default:delete F[se],F[S(se)]=_e}return F},{})}function D(z,F,se){return se?f.createElement(z.tag,(0,x.Z)((0,x.Z)({key:F},T(z.attrs)),se),(z.children||[]).map(function(_e,Pe){return D(_e,"".concat(F,"-").concat(z.tag,"-").concat(Pe))})):f.createElement(z.tag,(0,x.Z)({key:F},T(z.attrs)),(z.children||[]).map(function(_e,Pe){return D(_e,"".concat(F,"-").concat(z.tag,"-").concat(Pe))}))}function M(z){return(0,u.generate)(z)[0]}function N(z){return z?Array.isArray(z)?z:[z]:[]}var j={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},Q=`
.anticon {
display: inline-flex;
align-items: center;
color: inherit;
font-style: normal;
line-height: 0;
text-align: center;
text-transform: none;
vertical-align: -0.125em;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.anticon > * {
line-height: 1;
}
.anticon svg {
display: inline-block;
}
.anticon::before {
display: none;
}
.anticon .anticon-icon {
display: block;
}
.anticon[tabindex] {
cursor: pointer;
}
.anticon-spin::before,
.anticon-spin {
display: inline-block;
-webkit-animation: loadingCircle 1s infinite linear;
animation: loadingCircle 1s infinite linear;
}
@-webkit-keyframes loadingCircle {
100% {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
}
@keyframes loadingCircle {
100% {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
}
`,X=function(F){var se=(0,f.useContext)(a.Z),_e=se.csp,Pe=se.prefixCls,Re=se.layer,Ze=Q;Pe&&(Ze=Ze.replace(/anticon/g,Pe)),Re&&(Ze="@layer ".concat(Re,` {
`).concat(Ze,`
}`)),(0,f.useEffect)(function(){var $e=F.current,Ht=(0,_.A)($e);(0,y.hq)(Ze,"@ant-design-icons",{prepend:!Re,csp:_e,attachTo:Ht})},[])},Y=["icon","className","onClick","style","primaryColor","secondaryColor"],oe={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function ie(z){var F=z.primaryColor,se=z.secondaryColor;oe.primaryColor=F,oe.secondaryColor=se||M(F),oe.calculated=!!se}function ue(){return(0,x.Z)({},oe)}var K=function(F){var se=F.icon,_e=F.className,Pe=F.onClick,Re=F.style,Ze=F.primaryColor,$e=F.secondaryColor,Ht=(0,c.Z)(F,Y),bt=f.useRef(),Ot=oe;if(Ze&&(Ot={primaryColor:Ze,secondaryColor:$e||M(Ze)}),X(bt),R(L(se),"icon should be icon definiton, but got ".concat(se)),!L(se))return null;var qt=se;return qt&&typeof qt.icon=="function"&&(qt=(0,x.Z)((0,x.Z)({},qt),{},{icon:qt.icon(Ot.primaryColor,Ot.secondaryColor)})),D(qt.icon,"svg-".concat(qt.name),(0,x.Z)((0,x.Z)({className:_e,onClick:Pe,style:Re,"data-icon":qt.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},Ht),{},{ref:bt}))};K.displayName="IconReact",K.getTwoToneColors=ue,K.setTwoToneColors=ie;var V=K;function G(z){var F=N(z),se=(0,i.Z)(F,2),_e=se[0],Pe=se[1];return V.setTwoToneColors({primaryColor:_e,secondaryColor:Pe})}function te(){var z=V.getTwoToneColors();return z.calculated?[z.primaryColor,z.secondaryColor]:z.primaryColor}var q=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];G(u.blue.primary);var J=f.forwardRef(function(z,F){var se=z.className,_e=z.icon,Pe=z.spin,Re=z.rotate,Ze=z.tabIndex,$e=z.onClick,Ht=z.twoToneColor,bt=(0,c.Z)(z,q),Ot=f.useContext(a.Z),qt=Ot.prefixCls,er=qt===void 0?"anticon":qt,Jt=Ot.rootClassName,Xe=h()(Jt,er,(0,l.Z)((0,l.Z)({},"".concat(er,"-").concat(_e.name),!!_e.name),"".concat(er,"-spin"),!!Pe||_e.name==="loading"),se),Pt=Ze;Pt===void 0&&$e&&(Pt=-1);var Ut=Re?{msTransform:"rotate(".concat(Re,"deg)"),transform:"rotate(".concat(Re,"deg)")}:void 0,st=N(Ht),yt=(0,i.Z)(st,2),ht=yt[0],Je=yt[1];return f.createElement("span",(0,r.Z)({role:"img","aria-label":_e.name},bt,{ref:F,tabIndex:Pt,onClick:$e,className:Xe}),f.createElement(V,{icon:_e,primaryColor:ht,secondaryColor:Je,style:Ut}))});J.displayName="AntdIcon",J.getTwoToneColor=te,J.setTwoToneColor=G;var le=J},18418:function(d,g,e){"use strict";var r=e(59301),i=(0,r.createContext)({});g.Z=i},29679:function(d,g,e){"use strict";e.d(g,{Z:function(){return u}});var r=e(5016),i=e(59301),l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"},c=l,f=e(7657),s=function(x,p){return i.createElement(f.Z,(0,r.Z)({},x,{ref:p,icon:c}))},h=i.forwardRef(s),u=h},19248:function(d,g,e){"use strict";e.d(g,{Z:function(){return u}});var r=e(5016),i=e(59301),l={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z"}}]},name:"close-circle",theme:"filled"},c=l,f=e(7657),s=function(x,p){return i.createElement(f.Z,(0,r.Z)({},x,{ref:p,icon:c}))},h=i.forwardRef(s),u=h},99267:function(d,g,e){"use strict";e.d(g,{Z:function(){return u}});var r=e(5016),i=e(59301),l={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"}}]},name:"close",theme:"outlined"},c=l,f=e(7657),s=function(x,p){return i.createElement(f.Z,(0,r.Z)({},x,{ref:p,icon:c}))},h=i.forwardRef(s),u=h},96512:function(d,g,e){"use strict";e.d(g,{Z:function(){return u}});var r=e(5016),i=e(59301),l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"exclamation-circle",theme:"filled"},c=l,f=e(7657),s=function(x,p){return i.createElement(f.Z,(0,r.Z)({},x,{ref:p,icon:c}))},h=i.forwardRef(s),u=h},78987:function(d,g,e){"use strict";e.d(g,{Z:function(){return u}});var r=e(5016),i=e(59301),l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"info-circle",theme:"filled"},c=l,f=e(7657),s=function(x,p){return i.createElement(f.Z,(0,r.Z)({},x,{ref:p,icon:c}))},h=i.forwardRef(s),u=h},58617:function(d,g,e){"use strict";e.d(g,{Z:function(){return u}});var r=e(5016),i=e(59301),l={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"},c=l,f=e(7657),s=function(x,p){return i.createElement(f.Z,(0,r.Z)({},x,{ref:p,icon:c}))},h=i.forwardRef(s),u=h},12722:function(d,g,e){"use strict";e.d(g,{GC:function(){return x},T6:function(){return y},VD:function(){return _},WE:function(){return h},Wl:function(){return p},Yt:function(){return b},lC:function(){return l},py:function(){return s},rW:function(){return i},s:function(){return a},ve:function(){return f},vq:function(){return u}});var r=e(12187);function i(S,R,L){return{r:(0,r.sh)(S,255)*255,g:(0,r.sh)(R,255)*255,b:(0,r.sh)(L,255)*255}}function l(S,R,L){S=(0,r.sh)(S,255),R=(0,r.sh)(R,255),L=(0,r.sh)(L,255);var T=Math.max(S,R,L),D=Math.min(S,R,L),M=0,N=0,j=(T+D)/2;if(T===D)N=0,M=0;else{var Q=T-D;switch(N=j>.5?Q/(2-T-D):Q/(T+D),T){case S:M=(R-L)/Q+(R<L?6:0);break;case R:M=(L-S)/Q+2;break;case L:M=(S-R)/Q+4;break;default:break}M/=6}return{h:M,s:N,l:j}}function c(S,R,L){return L<0&&(L+=1),L>1&&(L-=1),L<.16666666666666666?S+(R-S)*(6*L):L<.5?R:L<.6666666666666666?S+(R-S)*(.6666666666666666-L)*6:S}function f(S,R,L){var T,D,M;if(S=(0,r.sh)(S,360),R=(0,r.sh)(R,100),L=(0,r.sh)(L,100),R===0)D=L,M=L,T=L;else{var N=L<.5?L*(1+R):L+R-L*R,j=2*L-N;T=c(j,N,S+.3333333333333333),D=c(j,N,S),M=c(j,N,S-.3333333333333333)}return{r:T*255,g:D*255,b:M*255}}function s(S,R,L){S=(0,r.sh)(S,255),R=(0,r.sh)(R,255),L=(0,r.sh)(L,255);var T=Math.max(S,R,L),D=Math.min(S,R,L),M=0,N=T,j=T-D,Q=T===0?0:j/T;if(T===D)M=0;else{switch(T){case S:M=(R-L)/j+(R<L?6:0);break;case R:M=(L-S)/j+2;break;case L:M=(S-R)/j+4;break;default:break}M/=6}return{h:M,s:Q,v:N}}function h(S,R,L){S=(0,r.sh)(S,360)*6,R=(0,r.sh)(R,100),L=(0,r.sh)(L,100);var T=Math.floor(S),D=S-T,M=L*(1-R),N=L*(1-D*R),j=L*(1-(1-D)*R),Q=T%6,X=[L,N,M,M,j,L][Q],Y=[j,L,L,N,M,M][Q],oe=[M,M,j,L,L,N][Q];return{r:X*255,g:Y*255,b:oe*255}}function u(S,R,L,T){var D=[(0,r.FZ)(Math.round(S).toString(16)),(0,r.FZ)(Math.round(R).toString(16)),(0,r.FZ)(Math.round(L).toString(16))];return T&&D[0].startsWith(D[0].charAt(1))&&D[1].startsWith(D[1].charAt(1))&&D[2].startsWith(D[2].charAt(1))?D[0].charAt(0)+D[1].charAt(0)+D[2].charAt(0):D.join("")}function a(S,R,L,T,D){var M=[(0,r.FZ)(Math.round(S).toString(16)),(0,r.FZ)(Math.round(R).toString(16)),(0,r.FZ)(Math.round(L).toString(16)),(0,r.FZ)(p(T))];return D&&M[0].startsWith(M[0].charAt(1))&&M[1].startsWith(M[1].charAt(1))&&M[2].startsWith(M[2].charAt(1))&&M[3].startsWith(M[3].charAt(1))?M[0].charAt(0)+M[1].charAt(0)+M[2].charAt(0)+M[3].charAt(0):M.join("")}function x(S,R,L,T){var D=[(0,r.FZ)(p(T)),(0,r.FZ)(Math.round(S).toString(16)),(0,r.FZ)(Math.round(R).toString(16)),(0,r.FZ)(Math.round(L).toString(16))];return D.join("")}function p(S){return Math.round(parseFloat(S)*255).toString(16)}function y(S){return _(S)/255}function _(S){return parseInt(S,16)}function b(S){return{r:S>>16,g:(S&65280)>>8,b:S&255}}},93796:function(d,g,e){"use strict";e.d(g,{R:function(){return r}});var r={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"}},9915:function(d,g,e){"use strict";e.d(g,{ky:function(){return y},uA:function(){return c},uz:function(){return p}});var r=e(12722),i=e(93796),l=e(12187);function c(_){var b={r:0,g:0,b:0},S=1,R=null,L=null,T=null,D=!1,M=!1;return typeof _=="string"&&(_=p(_)),typeof _=="object"&&(y(_.r)&&y(_.g)&&y(_.b)?(b=(0,r.rW)(_.r,_.g,_.b),D=!0,M=String(_.r).substr(-1)==="%"?"prgb":"rgb"):y(_.h)&&y(_.s)&&y(_.v)?(R=(0,l.JX)(_.s),L=(0,l.JX)(_.v),b=(0,r.WE)(_.h,R,L),D=!0,M="hsv"):y(_.h)&&y(_.s)&&y(_.l)&&(R=(0,l.JX)(_.s),T=(0,l.JX)(_.l),b=(0,r.ve)(_.h,R,T),D=!0,M="hsl"),Object.prototype.hasOwnProperty.call(_,"a")&&(S=_.a)),S=(0,l.Yq)(S),{ok:D,format:_.format||M,r:Math.min(255,Math.max(b.r,0)),g:Math.min(255,Math.max(b.g,0)),b:Math.min(255,Math.max(b.b,0)),a:S}}var f="[-\\+]?\\d+%?",s="[-\\+]?\\d*\\.\\d+%?",h="(?:".concat(s,")|(?:").concat(f,")"),u="[\\s|\\(]+(".concat(h,")[,|\\s]+(").concat(h,")[,|\\s]+(").concat(h,")\\s*\\)?"),a="[\\s|\\(]+(".concat(h,")[,|\\s]+(").concat(h,")[,|\\s]+(").concat(h,")[,|\\s]+(").concat(h,")\\s*\\)?"),x={CSS_UNIT:new RegExp(h),rgb:new RegExp("rgb"+u),rgba:new RegExp("rgba"+a),hsl:new RegExp("hsl"+u),hsla:new RegExp("hsla"+a),hsv:new RegExp("hsv"+u),hsva:new RegExp("hsva"+a),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function p(_){if(_=_.trim().toLowerCase(),_.length===0)return!1;var b=!1;if(i.R[_])_=i.R[_],b=!0;else if(_==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var S=x.rgb.exec(_);return S?{r:S[1],g:S[2],b:S[3]}:(S=x.rgba.exec(_),S?{r:S[1],g:S[2],b:S[3],a:S[4]}:(S=x.hsl.exec(_),S?{h:S[1],s:S[2],l:S[3]}:(S=x.hsla.exec(_),S?{h:S[1],s:S[2],l:S[3],a:S[4]}:(S=x.hsv.exec(_),S?{h:S[1],s:S[2],v:S[3]}:(S=x.hsva.exec(_),S?{h:S[1],s:S[2],v:S[3],a:S[4]}:(S=x.hex8.exec(_),S?{r:(0,r.VD)(S[1]),g:(0,r.VD)(S[2]),b:(0,r.VD)(S[3]),a:(0,r.T6)(S[4]),format:b?"name":"hex8"}:(S=x.hex6.exec(_),S?{r:(0,r.VD)(S[1]),g:(0,r.VD)(S[2]),b:(0,r.VD)(S[3]),format:b?"name":"hex"}:(S=x.hex4.exec(_),S?{r:(0,r.VD)(S[1]+S[1]),g:(0,r.VD)(S[2]+S[2]),b:(0,r.VD)(S[3]+S[3]),a:(0,r.T6)(S[4]+S[4]),format:b?"name":"hex8"}:(S=x.hex3.exec(_),S?{r:(0,r.VD)(S[1]+S[1]),g:(0,r.VD)(S[2]+S[2]),b:(0,r.VD)(S[3]+S[3]),format:b?"name":"hex"}:!1)))))))))}function y(_){return!!x.CSS_UNIT.exec(String(_))}},64993:function(d,g,e){"use strict";e.d(g,{C:function(){return f},H:function(){return s}});var r=e(12722),i=e(93796),l=e(9915),c=e(12187),f=function(){function h(u,a){u===void 0&&(u=""),a===void 0&&(a={});var x;if(u instanceof h)return u;typeof u=="number"&&(u=(0,r.Yt)(u)),this.originalInput=u;var p=(0,l.uA)(u);this.originalInput=u,this.r=p.r,this.g=p.g,this.b=p.b,this.a=p.a,this.roundA=Math.round(100*this.a)/100,this.format=(x=a.format)!==null&&x!==void 0?x:p.format,this.gradientType=a.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=p.ok}return h.prototype.isDark=function(){return this.getBrightness()<128},h.prototype.isLight=function(){return!this.isDark()},h.prototype.getBrightness=function(){var u=this.toRgb();return(u.r*299+u.g*587+u.b*114)/1e3},h.prototype.getLuminance=function(){var u=this.toRgb(),a,x,p,y=u.r/255,_=u.g/255,b=u.b/255;return y<=.03928?a=y/12.92:a=Math.pow((y+.055)/1.055,2.4),_<=.03928?x=_/12.92:x=Math.pow((_+.055)/1.055,2.4),b<=.03928?p=b/12.92:p=Math.pow((b+.055)/1.055,2.4),.2126*a+.7152*x+.0722*p},h.prototype.getAlpha=function(){return this.a},h.prototype.setAlpha=function(u){return this.a=(0,c.Yq)(u),this.roundA=Math.round(100*this.a)/100,this},h.prototype.isMonochrome=function(){var u=this.toHsl().s;return u===0},h.prototype.toHsv=function(){var u=(0,r.py)(this.r,this.g,this.b);return{h:u.h*360,s:u.s,v:u.v,a:this.a}},h.prototype.toHsvString=function(){var u=(0,r.py)(this.r,this.g,this.b),a=Math.round(u.h*360),x=Math.round(u.s*100),p=Math.round(u.v*100);return this.a===1?"hsv(".concat(a,", ").concat(x,"%, ").concat(p,"%)"):"hsva(".concat(a,", ").concat(x,"%, ").concat(p,"%, ").concat(this.roundA,")")},h.prototype.toHsl=function(){var u=(0,r.lC)(this.r,this.g,this.b);return{h:u.h*360,s:u.s,l:u.l,a:this.a}},h.prototype.toHslString=function(){var u=(0,r.lC)(this.r,this.g,this.b),a=Math.round(u.h*360),x=Math.round(u.s*100),p=Math.round(u.l*100);return this.a===1?"hsl(".concat(a,", ").concat(x,"%, ").concat(p,"%)"):"hsla(".concat(a,", ").concat(x,"%, ").concat(p,"%, ").concat(this.roundA,")")},h.prototype.toHex=function(u){return u===void 0&&(u=!1),(0,r.vq)(this.r,this.g,this.b,u)},h.prototype.toHexString=function(u){return u===void 0&&(u=!1),"#"+this.toHex(u)},h.prototype.toHex8=function(u){return u===void 0&&(u=!1),(0,r.s)(this.r,this.g,this.b,this.a,u)},h.prototype.toHex8String=function(u){return u===void 0&&(u=!1),"#"+this.toHex8(u)},h.prototype.toHexShortString=function(u){return u===void 0&&(u=!1),this.a===1?this.toHexString(u):this.toHex8String(u)},h.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},h.prototype.toRgbString=function(){var u=Math.round(this.r),a=Math.round(this.g),x=Math.round(this.b);return this.a===1?"rgb(".concat(u,", ").concat(a,", ").concat(x,")"):"rgba(".concat(u,", ").concat(a,", ").concat(x,", ").concat(this.roundA,")")},h.prototype.toPercentageRgb=function(){var u=function(a){return"".concat(Math.round((0,c.sh)(a,255)*100),"%")};return{r:u(this.r),g:u(this.g),b:u(this.b),a:this.a}},h.prototype.toPercentageRgbString=function(){var u=function(a){return Math.round((0,c.sh)(a,255)*100)};return this.a===1?"rgb(".concat(u(this.r),"%, ").concat(u(this.g),"%, ").concat(u(this.b),"%)"):"rgba(".concat(u(this.r),"%, ").concat(u(this.g),"%, ").concat(u(this.b),"%, ").concat(this.roundA,")")},h.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var u="#"+(0,r.vq)(this.r,this.g,this.b,!1),a=0,x=Object.entries(i.R);a<x.length;a++){var p=x[a],y=p[0],_=p[1];if(u===_)return y}return!1},h.prototype.toString=function(u){var a=!!u;u=u!=null?u:this.format;var x=!1,p=this.a<1&&this.a>=0,y=!a&&p&&(u.startsWith("hex")||u==="name");return y?u==="name"&&this.a===0?this.toName():this.toRgbString():(u==="rgb"&&(x=this.toRgbString()),u==="prgb"&&(x=this.toPercentageRgbString()),(u==="hex"||u==="hex6")&&(x=this.toHexString()),u==="hex3"&&(x=this.toHexString(!0)),u==="hex4"&&(x=this.toHex8String(!0)),u==="hex8"&&(x=this.toHex8String()),u==="name"&&(x=this.toName()),u==="hsl"&&(x=this.toHslString()),u==="hsv"&&(x=this.toHsvString()),x||this.toHexString())},h.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},h.prototype.clone=function(){return new h(this.toString())},h.prototype.lighten=function(u){u===void 0&&(u=10);var a=this.toHsl();return a.l+=u/100,a.l=(0,c.V2)(a.l),new h(a)},h.prototype.brighten=function(u){u===void 0&&(u=10);var a=this.toRgb();return a.r=Math.max(0,Math.min(255,a.r-Math.round(255*-(u/100)))),a.g=Math.max(0,Math.min(255,a.g-Math.round(255*-(u/100)))),a.b=Math.max(0,Math.min(255,a.b-Math.round(255*-(u/100)))),new h(a)},h.prototype.darken=function(u){u===void 0&&(u=10);var a=this.toHsl();return a.l-=u/100,a.l=(0,c.V2)(a.l),new h(a)},h.prototype.tint=function(u){return u===void 0&&(u=10),this.mix("white",u)},h.prototype.shade=function(u){return u===void 0&&(u=10),this.mix("black",u)},h.prototype.desaturate=function(u){u===void 0&&(u=10);var a=this.toHsl();return a.s-=u/100,a.s=(0,c.V2)(a.s),new h(a)},h.prototype.saturate=function(u){u===void 0&&(u=10);var a=this.toHsl();return a.s+=u/100,a.s=(0,c.V2)(a.s),new h(a)},h.prototype.greyscale=function(){return this.desaturate(100)},h.prototype.spin=function(u){var a=this.toHsl(),x=(a.h+u)%360;return a.h=x<0?360+x:x,new h(a)},h.prototype.mix=function(u,a){a===void 0&&(a=50);var x=this.toRgb(),p=new h(u).toRgb(),y=a/100,_={r:(p.r-x.r)*y+x.r,g:(p.g-x.g)*y+x.g,b:(p.b-x.b)*y+x.b,a:(p.a-x.a)*y+x.a};return new h(_)},h.prototype.analogous=function(u,a){u===void 0&&(u=6),a===void 0&&(a=30);var x=this.toHsl(),p=360/a,y=[this];for(x.h=(x.h-(p*u>>1)+720)%360;--u;)x.h=(x.h+p)%360,y.push(new h(x));return y},h.prototype.complement=function(){var u=this.toHsl();return u.h=(u.h+180)%360,new h(u)},h.prototype.monochromatic=function(u){u===void 0&&(u=6);for(var a=this.toHsv(),x=a.h,p=a.s,y=a.v,_=[],b=1/u;u--;)_.push(new h({h:x,s:p,v:y})),y=(y+b)%1;return _},h.prototype.splitcomplement=function(){var u=this.toHsl(),a=u.h;return[this,new h({h:(a+72)%360,s:u.s,l:u.l}),new h({h:(a+216)%360,s:u.s,l:u.l})]},h.prototype.onBackground=function(u){var a=this.toRgb(),x=new h(u).toRgb(),p=a.a+x.a*(1-a.a);return new h({r:(a.r*a.a+x.r*x.a*(1-a.a))/p,g:(a.g*a.a+x.g*x.a*(1-a.a))/p,b:(a.b*a.a+x.b*x.a*(1-a.a))/p,a:p})},h.prototype.triad=function(){return this.polyad(3)},h.prototype.tetrad=function(){return this.polyad(4)},h.prototype.polyad=function(u){for(var a=this.toHsl(),x=a.h,p=[this],y=360/u,_=1;_<u;_++)p.push(new h({h:(x+_*y)%360,s:a.s,l:a.l}));return p},h.prototype.equals=function(u){return this.toRgbString()===new h(u).toRgbString()},h}();function s(h,u){return h===void 0&&(h=""),u===void 0&&(u={}),new f(h,u)}},12187:function(d,g,e){"use strict";e.d(g,{FZ:function(){return h},JX:function(){return s},V2:function(){return i},Yq:function(){return f},sh:function(){return r}});function r(u,a){l(u)&&(u="100%");var x=c(u);return u=a===360?u:Math.min(a,Math.max(0,parseFloat(u))),x&&(u=parseInt(String(u*a),10)/100),Math.abs(u-a)<1e-6?1:(a===360?u=(u<0?u%a+a:u%a)/parseFloat(String(a)):u=u%a/parseFloat(String(a)),u)}function i(u){return Math.min(1,Math.max(0,u))}function l(u){return typeof u=="string"&&u.indexOf(".")!==-1&&parseFloat(u)===1}function c(u){return typeof u=="string"&&u.indexOf("%")!==-1}function f(u){return u=parseFloat(u),(isNaN(u)||u<0||u>1)&&(u=1),u}function s(u){return u<=1?"".concat(Number(u)*100,"%"):u}function h(u){return u.length===1?"0"+u:String(u)}},43403:function(d,g,e){"use strict";e.d(g,{Z:function(){return X}});var r=e(52456),i=e(59301),l=e(4676),c=e(47273),f=e(48736),s=e(8654),h=i.createContext(null),u=h,a=e(92393),x=e(34280),p=[];function y(Y,oe){var ie=i.useState(function(){if(!(0,c.Z)())return null;var _e=document.createElement("div");return _e}),ue=(0,r.Z)(ie,1),K=ue[0],V=i.useRef(!1),G=i.useContext(u),te=i.useState(p),q=(0,r.Z)(te,2),J=q[0],le=q[1],z=G||(V.current?void 0:function(_e){le(function(Pe){var Re=[_e].concat((0,a.Z)(Pe));return Re})});function F(){K.parentElement||document.body.appendChild(K),V.current=!0}function se(){var _e;(_e=K.parentElement)===null||_e===void 0||_e.removeChild(K),V.current=!1}return(0,x.Z)(function(){return Y?G?G(F):F():se(),se},[Y]),(0,x.Z)(function(){J.length&&(J.forEach(function(_e){return _e()}),le(p))},[J]),[K,z]}var _=e(810),b=e(75152);function S(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var R="rc-util-locker-".concat(Date.now()),L=0;function T(Y){var oe=!!Y,ie=i.useState(function(){return L+=1,"".concat(R,"_").concat(L)}),ue=(0,r.Z)(ie,1),K=ue[0];(0,x.Z)(function(){if(oe){var V=(0,b.o)(document.body).width,G=S();(0,_.hq)(`
html body {
overflow-y: hidden;
`.concat(G?"width: calc(100% - ".concat(V,"px);"):"",`
}`),K)}else(0,_.jL)(K);return function(){(0,_.jL)(K)}},[oe,K])}var D=!1;function M(Y){return typeof Y=="boolean"&&(D=Y),D}var N=function(oe){return oe===!1?!1:!(0,c.Z)()||!oe?null:typeof oe=="string"?document.querySelector(oe):typeof oe=="function"?oe():oe},j=i.forwardRef(function(Y,oe){var ie=Y.open,ue=Y.autoLock,K=Y.getContainer,V=Y.debug,G=Y.autoDestroy,te=G===void 0?!0:G,q=Y.children,J=i.useState(ie),le=(0,r.Z)(J,2),z=le[0],F=le[1],se=z||ie;i.useEffect(function(){(te||ie)&&F(ie)},[ie,te]);var _e=i.useState(function(){return N(K)}),Pe=(0,r.Z)(_e,2),Re=Pe[0],Ze=Pe[1];i.useEffect(function(){var st=N(K);Ze(st!=null?st:null)});var $e=y(se&&!Re,V),Ht=(0,r.Z)($e,2),bt=Ht[0],Ot=Ht[1],qt=Re!=null?Re:bt;T(ue&&ie&&(0,c.Z)()&&(qt===bt||qt===document.body));var er=null;if(q&&(0,s.Yr)(q)&&oe){var Jt=q;er=Jt.ref}var Xe=(0,s.x1)(er,oe);if(!se||!(0,c.Z)()||Re===void 0)return null;var Pt=qt===!1||M(),Ut=q;return oe&&(Ut=i.cloneElement(q,{ref:Xe})),i.createElement(u.Provider,{value:Ot},Pt?Ut:(0,l.createPortal)(Ut,qt))}),Q=j,X=Q},35593:function(d,g,e){"use strict";e.d(g,{Z:function(){return Ut}});var r=e(20049),i=e(52456),l=e(5883),c=e(43403),f=e(92310),s=e.n(f),h=e(29301),u=e(76846),a=e(96452),x=e(6089),p=e(80402),y=e(34280),_=e(49658),b=e(59301),S=e(5016),R=e(77900),L=e(8654);function T(st){var yt=st.prefixCls,ht=st.align,Je=st.arrow,je=st.arrowPos,ge=Je||{},Se=ge.className,Me=ge.content,Ne=je.x,He=Ne===void 0?0:Ne,nt=je.y,ct=nt===void 0?0:nt,Vt=b.useRef();if(!ht||!ht.points)return null;var Wt={position:"absolute"};if(ht.autoArrow!==!1){var Ie=ht.points[0],qe=ht.points[1],Gt=Ie[0],kt=Ie[1],Zt=qe[0],Nt=qe[1];Gt===Zt||!["t","b"].includes(Gt)?Wt.top=ct:Gt==="t"?Wt.top=0:Wt.bottom=0,kt===Nt||!["l","r"].includes(kt)?Wt.left=He:kt==="l"?Wt.left=0:Wt.right=0}return b.createElement("div",{ref:Vt,className:s()("".concat(yt,"-arrow"),Se),style:Wt},Me)}function D(st){var yt=st.prefixCls,ht=st.open,Je=st.zIndex,je=st.mask,ge=st.motion;return je?b.createElement(R.default,(0,S.Z)({},ge,{motionAppear:!0,visible:ht,removeOnLeave:!0}),function(Se){var Me=Se.className;return b.createElement("div",{style:{zIndex:Je},className:s()("".concat(yt,"-mask"),Me)})}):null}var M=b.memo(function(st){var yt=st.children;return yt},function(st,yt){return yt.cache}),N=M,j=b.forwardRef(function(st,yt){var ht=st.popup,Je=st.className,je=st.prefixCls,ge=st.style,Se=st.target,Me=st.onVisibleChanged,Ne=st.open,He=st.keepDom,nt=st.fresh,ct=st.onClick,Vt=st.mask,Wt=st.arrow,Ie=st.arrowPos,qe=st.align,Gt=st.motion,kt=st.maskMotion,Zt=st.forceRender,Nt=st.getPopupContainer,Ct=st.autoDestroy,Yt=st.portal,We=st.zIndex,fe=st.onMouseEnter,pe=st.onMouseLeave,Dt=st.onPointerEnter,Ce=st.ready,dt=st.offsetX,zt=st.offsetY,Tt=st.offsetR,Oe=st.offsetB,St=st.onAlign,be=st.onPrepare,Ke=st.stretch,vt=st.targetWidth,Rt=st.targetHeight,Fe=typeof ht=="function"?ht():ht,kr=Ne||He,At=(Nt==null?void 0:Nt.length)>0,Kr=b.useState(!Nt||!At),qr=(0,i.Z)(Kr,2),Ar=qr[0],Br=qr[1];if((0,y.Z)(function(){!Ar&&At&&Se&&Br(!0)},[Ar,At,Se]),!Ar)return null;var _r="auto",Ur={left:"-1000vw",top:"-1000vh",right:_r,bottom:_r};if(Ce||!Ne){var sn,cn=qe.points,or=qe.dynamicInset||((sn=qe._experimental)===null||sn===void 0?void 0:sn.dynamicInset),Lt=or&&cn[0][1]==="r",mt=or&&cn[0][0]==="b";Lt?(Ur.right=Tt,Ur.left=_r):(Ur.left=dt,Ur.right=_r),mt?(Ur.bottom=Oe,Ur.top=_r):(Ur.top=zt,Ur.bottom=_r)}var gt={};return Ke&&(Ke.includes("height")&&Rt?gt.height=Rt:Ke.includes("minHeight")&&Rt&&(gt.minHeight=Rt),Ke.includes("width")&&vt?gt.width=vt:Ke.includes("minWidth")&&vt&&(gt.minWidth=vt)),Ne||(gt.pointerEvents="none"),b.createElement(Yt,{open:Zt||kr,getContainer:Nt&&function(){return Nt(Se)},autoDestroy:Ct},b.createElement(D,{prefixCls:je,open:Ne,zIndex:We,mask:Vt,motion:kt}),b.createElement(h.Z,{onResize:St,disabled:!Ne},function($t){return b.createElement(R.default,(0,S.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:Zt,leavedClassName:"".concat(je,"-hidden")},Gt,{onAppearPrepare:be,onEnterPrepare:be,visible:Ne,onVisibleChanged:function(gr){var ot;Gt==null||(ot=Gt.onVisibleChanged)===null||ot===void 0||ot.call(Gt,gr),Me(gr)}}),function(Cr,gr){var ot=Cr.className,Mr=Cr.style,yn=s()(je,ot,Je);return b.createElement("div",{ref:(0,L.sQ)($t,yt,gr),className:yn,style:(0,r.Z)((0,r.Z)((0,r.Z)((0,r.Z)({"--arrow-x":"".concat(Ie.x||0,"px"),"--arrow-y":"".concat(Ie.y||0,"px")},Ur),gt),Mr),{},{boxSizing:"border-box",zIndex:We},ge),onMouseEnter:fe,onMouseLeave:pe,onPointerEnter:Dt,onClick:ct},Wt&&b.createElement(T,{prefixCls:je,arrow:Wt,arrowPos:Ie,align:qe}),b.createElement(N,{cache:!Ne&&!nt},Fe))})}))}),Q=j,X=b.forwardRef(function(st,yt){var ht=st.children,Je=st.getTriggerDOMNode,je=(0,L.Yr)(ht),ge=b.useCallback(function(Me){(0,L.mH)(yt,Je?Je(Me):Me)},[Je]),Se=(0,L.x1)(ge,ht.ref);return je?b.cloneElement(ht,{ref:Se}):ht}),Y=X,oe=b.createContext(null),ie=oe;function ue(st){return st?Array.isArray(st)?st:[st]:[]}function K(st,yt,ht,Je){return b.useMemo(function(){var je=ue(ht!=null?ht:yt),ge=ue(Je!=null?Je:yt),Se=new Set(je),Me=new Set(ge);return st&&(Se.has("hover")&&(Se.delete("hover"),Se.add("click")),Me.has("hover")&&(Me.delete("hover"),Me.add("click"))),[Se,Me]},[st,yt,ht,Je])}var V=e(29194);function G(){var st=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],yt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],ht=arguments.length>2?arguments[2]:void 0;return ht?st[0]===yt[0]:st[0]===yt[0]&&st[1]===yt[1]}function te(st,yt,ht,Je){for(var je=ht.points,ge=Object.keys(st),Se=0;Se<ge.length;Se+=1){var Me,Ne=ge[Se];if(G((Me=st[Ne])===null||Me===void 0?void 0:Me.points,je,Je))return"".concat(yt,"-placement-").concat(Ne)}return""}function q(st,yt,ht,Je){return yt||(ht?{motionName:"".concat(st,"-").concat(ht)}:Je?{motionName:Je}:null)}function J(st){return st.ownerDocument.defaultView}function le(st){for(var yt=[],ht=st==null?void 0:st.parentElement,Je=["hidden","scroll","clip","auto"];ht;){var je=J(ht).getComputedStyle(ht),ge=je.overflowX,Se=je.overflowY,Me=je.overflow;[ge,Se,Me].some(function(Ne){return Je.includes(Ne)})&&yt.push(ht),ht=ht.parentElement}return yt}function z(st){var yt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(st)?yt:st}function F(st){return z(parseFloat(st),0)}function se(st,yt){var ht=(0,r.Z)({},st);return(yt||[]).forEach(function(Je){if(!(Je instanceof HTMLBodyElement||Je instanceof HTMLHtmlElement)){var je=J(Je).getComputedStyle(Je),ge=je.overflow,Se=je.overflowClipMargin,Me=je.borderTopWidth,Ne=je.borderBottomWidth,He=je.borderLeftWidth,nt=je.borderRightWidth,ct=Je.getBoundingClientRect(),Vt=Je.offsetHeight,Wt=Je.clientHeight,Ie=Je.offsetWidth,qe=Je.clientWidth,Gt=F(Me),kt=F(Ne),Zt=F(He),Nt=F(nt),Ct=z(Math.round(ct.width/Ie*1e3)/1e3),Yt=z(Math.round(ct.height/Vt*1e3)/1e3),We=(Ie-qe-Zt-Nt)*Ct,fe=(Vt-Wt-Gt-kt)*Yt,pe=Gt*Yt,Dt=kt*Yt,Ce=Zt*Ct,dt=Nt*Ct,zt=0,Tt=0;if(ge==="clip"){var Oe=F(Se);zt=Oe*Ct,Tt=Oe*Yt}var St=ct.x+Ce-zt,be=ct.y+pe-Tt,Ke=St+ct.width+2*zt-Ce-dt-We,vt=be+ct.height+2*Tt-pe-Dt-fe;ht.left=Math.max(ht.left,St),ht.top=Math.max(ht.top,be),ht.right=Math.min(ht.right,Ke),ht.bottom=Math.min(ht.bottom,vt)}}),ht}function _e(st){var yt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,ht="".concat(yt),Je=ht.match(/^(.*)\%$/);return Je?st*(parseFloat(Je[1])/100):parseFloat(ht)}function Pe(st,yt){var ht=yt||[],Je=(0,i.Z)(ht,2),je=Je[0],ge=Je[1];return[_e(st.width,je),_e(st.height,ge)]}function Re(){var st=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[st[0],st[1]]}function Ze(st,yt){var ht=yt[0],Je=yt[1],je,ge;return ht==="t"?ge=st.y:ht==="b"?ge=st.y+st.height:ge=st.y+st.height/2,Je==="l"?je=st.x:Je==="r"?je=st.x+st.width:je=st.x+st.width/2,{x:je,y:ge}}function $e(st,yt){var ht={t:"b",b:"t",l:"r",r:"l"};return st.map(function(Je,je){return je===yt?ht[Je]||"c":Je}).join("")}function Ht(st,yt,ht,Je,je,ge,Se){var Me=b.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:je[Je]||{}}),Ne=(0,i.Z)(Me,2),He=Ne[0],nt=Ne[1],ct=b.useRef(0),Vt=b.useMemo(function(){return yt?le(yt):[]},[yt]),Wt=b.useRef({}),Ie=function(){Wt.current={}};st||Ie();var qe=(0,x.Z)(function(){if(yt&&ht&&st){let Ia=function(ms,Bs){var _o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:yn,To=Fe.x+ms,Vo=Fe.y+Bs,uo=To+sn,ca=Vo+Ur,cs=Math.max(To,_o.left),mo=Math.max(Vo,_o.top),vo=Math.min(uo,_o.right),go=Math.min(ca,_o.bottom);return Math.max(0,(vo-cs)*(go-mo))},Da=function(){ir=Fe.y+tr,Dr=ir+Ur,Er=Fe.x+En,Or=Er+sn};var Zt,Nt,Ct=yt,Yt=Ct.ownerDocument,We=J(Ct),fe=We.getComputedStyle(Ct),pe=fe.width,Dt=fe.height,Ce=fe.position,dt=Ct.style.left,zt=Ct.style.top,Tt=Ct.style.right,Oe=Ct.style.bottom,St=Ct.style.overflow,be=(0,r.Z)((0,r.Z)({},je[Je]),ge),Ke=Yt.createElement("div");(Zt=Ct.parentElement)===null||Zt===void 0||Zt.appendChild(Ke),Ke.style.left="".concat(Ct.offsetLeft,"px"),Ke.style.top="".concat(Ct.offsetTop,"px"),Ke.style.position=Ce,Ke.style.height="".concat(Ct.offsetHeight,"px"),Ke.style.width="".concat(Ct.offsetWidth,"px"),Ct.style.left="0",Ct.style.top="0",Ct.style.right="auto",Ct.style.bottom="auto",Ct.style.overflow="hidden";var vt;if(Array.isArray(ht))vt={x:ht[0],y:ht[1],width:0,height:0};else{var Rt=ht.getBoundingClientRect();vt={x:Rt.x,y:Rt.y,width:Rt.width,height:Rt.height}}var Fe=Ct.getBoundingClientRect(),kr=Yt.documentElement,At=kr.clientWidth,Kr=kr.clientHeight,qr=kr.scrollWidth,Ar=kr.scrollHeight,Br=kr.scrollTop,_r=kr.scrollLeft,Ur=Fe.height,sn=Fe.width,cn=vt.height,or=vt.width,Lt={left:0,top:0,right:At,bottom:Kr},mt={left:-_r,top:-Br,right:qr-_r,bottom:Ar-Br},gt=be.htmlRegion,$t="visible",Cr="visibleFirst";gt!=="scroll"&&gt!==Cr&&(gt=$t);var gr=gt===Cr,ot=se(mt,Vt),Mr=se(Lt,Vt),yn=gt===$t?Mr:ot,Zn=gr?Mr:yn;Ct.style.left="auto",Ct.style.top="auto",Ct.style.right="0",Ct.style.bottom="0";var mr=Ct.getBoundingClientRect();Ct.style.left=dt,Ct.style.top=zt,Ct.style.right=Tt,Ct.style.bottom=Oe,Ct.style.overflow=St,(Nt=Ct.parentElement)===null||Nt===void 0||Nt.removeChild(Ke);var tn=z(Math.round(sn/parseFloat(pe)*1e3)/1e3),hn=z(Math.round(Ur/parseFloat(Dt)*1e3)/1e3);if(tn===0||hn===0||(0,u.Sh)(ht)&&!(0,V.Z)(ht))return;var Fn=be.offset,ti=be.targetOffset,jn=Pe(Fe,Fn),Zi=(0,i.Z)(jn,2),xi=Zi[0],Si=Zi[1],Ei=Pe(vt,ti),mi=(0,i.Z)(Ei,2),Xi=mi[0],qn=mi[1];vt.x-=Xi,vt.y-=qn;var Yi=be.points||[],wt=(0,i.Z)(Yi,2),ut=wt[0],Jn=wt[1],Ai=Re(Jn),ei=Re(ut),Gi=Ze(vt,Ai),vi=Ze(Fe,ei),si=(0,r.Z)({},be),En=Gi.x-vi.x+xi,tr=Gi.y-vi.y+Si,_t=Ia(En,tr),rt=Ia(En,tr,Mr),It=Ze(vt,["t","l"]),pt=Ze(Fe,["t","l"]),lr=Ze(vt,["b","r"]),fr=Ze(Fe,["b","r"]),Ir=be.overflow||{},Hr=Ir.adjustX,ze=Ir.adjustY,et=Ir.shiftX,Ee=Ir.shiftY,it=function(Bs){return typeof Bs=="boolean"?Bs:Bs>=0},ir,Dr,Er,Or;Da();var $r=it(ze),bn=ei[0]===Ai[0];if($r&&ei[0]==="t"&&(Dr>Zn.bottom||Wt.current.bt)){var Pr=tr;bn?Pr-=Ur-cn:Pr=It.y-fr.y-Si;var un=Ia(En,Pr),rn=Ia(En,Pr,Mr);un>_t||un===_t&&(!gr||rn>=rt)?(Wt.current.bt=!0,tr=Pr,Si=-Si,si.points=[$e(ei,0),$e(Ai,0)]):Wt.current.bt=!1}if($r&&ei[0]==="b"&&(ir<Zn.top||Wt.current.tb)){var ln=tr;bn?ln+=Ur-cn:ln=lr.y-pt.y-Si;var An=Ia(En,ln),pa=Ia(En,ln,Mr);An>_t||An===_t&&(!gr||pa>=rt)?(Wt.current.tb=!0,tr=ln,Si=-Si,si.points=[$e(ei,0),$e(Ai,0)]):Wt.current.tb=!1}var Pi=it(Hr),gi=ei[1]===Ai[1];if(Pi&&ei[1]==="l"&&(Or>Zn.right||Wt.current.rl)){var pn=En;gi?pn-=sn-or:pn=It.x-fr.x-xi;var ui=Ia(pn,tr),Ni=Ia(pn,tr,Mr);ui>_t||ui===_t&&(!gr||Ni>=rt)?(Wt.current.rl=!0,En=pn,xi=-xi,si.points=[$e(ei,1),$e(Ai,1)]):Wt.current.rl=!1}if(Pi&&ei[1]==="r"&&(Er<Zn.left||Wt.current.lr)){var la=En;gi?la+=sn-or:la=lr.x-pt.x-xi;var xs=Ia(la,tr),Pa=Ia(la,tr,Mr);xs>_t||xs===_t&&(!gr||Pa>=rt)?(Wt.current.lr=!0,En=la,xi=-xi,si.points=[$e(ei,1),$e(Ai,1)]):Wt.current.lr=!1}Da();var Na=et===!0?0:et;typeof Na=="number"&&(Er<Mr.left&&(En-=Er-Mr.left-xi,vt.x+or<Mr.left+Na&&(En+=vt.x-Mr.left+or-Na)),Or>Mr.right&&(En-=Or-Mr.right-xi,vt.x>Mr.right-Na&&(En+=vt.x-Mr.right+Na)));var Is=Ee===!0?0:Ee;typeof Is=="number"&&(ir<Mr.top&&(tr-=ir-Mr.top-Si,vt.y+cn<Mr.top+Is&&(tr+=vt.y-Mr.top+cn-Is)),Dr>Mr.bottom&&(tr-=Dr-Mr.bottom-Si,vt.y>Mr.bottom-Is&&(tr+=vt.y-Mr.bottom+Is)));var $a=Fe.x+En,hs=$a+sn,oa=Fe.y+tr,yi=oa+Ur,Ga=vt.x,Ds=Ga+or,$i=vt.y,ps=$i+cn,Co=Math.max($a,Ga),La=Math.min(hs,Ds),_s=(Co+La)/2,ji=_s-$a,Gs=Math.max(oa,$i),Rn=Math.min(yi,ps),ja=(Gs+Rn)/2,ns=ja-oa;Se==null||Se(yt,si);var ls=mr.right-Fe.x-(En+Fe.width),Vi=mr.bottom-Fe.y-(tr+Fe.height);nt({ready:!0,offsetX:En/tn,offsetY:tr/hn,offsetR:ls/tn,offsetB:Vi/hn,arrowX:ji/tn,arrowY:ns/hn,scaleX:tn,scaleY:hn,align:si})}}),Gt=function(){ct.current+=1;var Nt=ct.current;Promise.resolve().then(function(){ct.current===Nt&&qe()})},kt=function(){nt(function(Nt){return(0,r.Z)((0,r.Z)({},Nt),{},{ready:!1})})};return(0,y.Z)(kt,[Je]),(0,y.Z)(function(){st||kt()},[st]),[He.ready,He.offsetX,He.offsetY,He.offsetR,He.offsetB,He.arrowX,He.arrowY,He.scaleX,He.scaleY,He.align,Gt]}var bt=e(92393);function Ot(st,yt,ht,Je,je){(0,y.Z)(function(){if(st&&yt&&ht){let ct=function(){Je(),je()};var ge=yt,Se=ht,Me=le(ge),Ne=le(Se),He=J(Se),nt=new Set([He].concat((0,bt.Z)(Me),(0,bt.Z)(Ne)));return nt.forEach(function(Vt){Vt.addEventListener("scroll",ct,{passive:!0})}),He.addEventListener("resize",ct,{passive:!0}),Je(),function(){nt.forEach(function(Vt){Vt.removeEventListener("scroll",ct),He.removeEventListener("resize",ct)})}}},[st,yt,ht])}var qt=e(48736),er=e(16089);function Jt(st,yt,ht,Je,je,ge,Se,Me){var Ne=b.useRef(st),He=b.useRef(!1);Ne.current!==st&&(He.current=!0,Ne.current=st),b.useEffect(function(){var nt=(0,er.Z)(function(){He.current=!1});return function(){er.Z.cancel(nt)}},[st]),b.useEffect(function(){if(yt&&Je&&(!je||ge)){var nt=function(){var Ce=!1,dt=function(Oe){var St=Oe.target;Ce=Se(St)},zt=function(Oe){var St=Oe.target;!He.current&&Ne.current&&!Ce&&!Se(St)&&Me(!1)};return[dt,zt]},ct=nt(),Vt=(0,i.Z)(ct,2),Wt=Vt[0],Ie=Vt[1],qe=nt(),Gt=(0,i.Z)(qe,2),kt=Gt[0],Zt=Gt[1],Nt=J(Je);Nt.addEventListener("mousedown",Wt,!0),Nt.addEventListener("click",Ie,!0),Nt.addEventListener("contextmenu",Ie,!0);var Ct=(0,a.A)(ht);if(Ct&&(Ct.addEventListener("mousedown",kt,!0),Ct.addEventListener("click",Zt,!0),Ct.addEventListener("contextmenu",Zt,!0)),0)var Yt,We,fe,pe;return function(){Nt.removeEventListener("mousedown",Wt,!0),Nt.removeEventListener("click",Ie,!0),Nt.removeEventListener("contextmenu",Ie,!0),Ct&&(Ct.removeEventListener("mousedown",kt,!0),Ct.removeEventListener("click",Zt,!0),Ct.removeEventListener("contextmenu",Zt,!0))}}},[yt,ht,Je,je,ge])}var Xe=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];function Pt(){var st=arguments.length>0&&arguments[0]!==void 0?arguments[0]:c.Z,yt=b.forwardRef(function(ht,Je){var je=ht.prefixCls,ge=je===void 0?"rc-trigger-popup":je,Se=ht.children,Me=ht.action,Ne=Me===void 0?"hover":Me,He=ht.showAction,nt=ht.hideAction,ct=ht.popupVisible,Vt=ht.defaultPopupVisible,Wt=ht.onPopupVisibleChange,Ie=ht.afterPopupVisibleChange,qe=ht.mouseEnterDelay,Gt=ht.mouseLeaveDelay,kt=Gt===void 0?.1:Gt,Zt=ht.focusDelay,Nt=ht.blurDelay,Ct=ht.mask,Yt=ht.maskClosable,We=Yt===void 0?!0:Yt,fe=ht.getPopupContainer,pe=ht.forceRender,Dt=ht.autoDestroy,Ce=ht.destroyPopupOnHide,dt=ht.popup,zt=ht.popupClassName,Tt=ht.popupStyle,Oe=ht.popupPlacement,St=ht.builtinPlacements,be=St===void 0?{}:St,Ke=ht.popupAlign,vt=ht.zIndex,Rt=ht.stretch,Fe=ht.getPopupClassNameFromAlign,kr=ht.fresh,At=ht.alignPoint,Kr=ht.onPopupClick,qr=ht.onPopupAlign,Ar=ht.arrow,Br=ht.popupMotion,_r=ht.maskMotion,Ur=ht.popupTransitionName,sn=ht.popupAnimation,cn=ht.maskTransitionName,or=ht.maskAnimation,Lt=ht.className,mt=ht.getTriggerDOMNode,gt=(0,l.Z)(ht,Xe),$t=Dt||Ce||!1,Cr=b.useState(!1),gr=(0,i.Z)(Cr,2),ot=gr[0],Mr=gr[1];(0,y.Z)(function(){Mr((0,_.Z)())},[]);var yn=b.useRef({}),Zn=b.useContext(ie),mr=b.useMemo(function(){return{registerSubPopup:function(oi,Fa){yn.current[oi]=Fa,Zn==null||Zn.registerSubPopup(oi,Fa)}}},[Zn]),tn=(0,p.Z)(),hn=b.useState(null),Fn=(0,i.Z)(hn,2),ti=Fn[0],jn=Fn[1],Zi=(0,x.Z)(function(hi){(0,u.Sh)(hi)&&ti!==hi&&jn(hi),Zn==null||Zn.registerSubPopup(tn,hi)}),xi=b.useState(null),Si=(0,i.Z)(xi,2),Ei=Si[0],mi=Si[1],Xi=b.useRef(null),qn=(0,x.Z)(function(hi){(0,u.Sh)(hi)&&Ei!==hi&&(mi(hi),Xi.current=hi)}),Yi=b.Children.only(Se),wt=(Yi==null?void 0:Yi.props)||{},ut={},Jn=(0,x.Z)(function(hi){var oi,Fa,Va=Ei;return(Va==null?void 0:Va.contains(hi))||((oi=(0,a.A)(Va))===null||oi===void 0?void 0:oi.host)===hi||hi===Va||(ti==null?void 0:ti.contains(hi))||((Fa=(0,a.A)(ti))===null||Fa===void 0?void 0:Fa.host)===hi||hi===ti||Object.values(yn.current).some(function(Xa){return(Xa==null?void 0:Xa.contains(hi))||hi===Xa})}),Ai=q(ge,Br,sn,Ur),ei=q(ge,_r,or,cn),Gi=b.useState(Vt||!1),vi=(0,i.Z)(Gi,2),si=vi[0],En=vi[1],tr=ct!=null?ct:si,_t=(0,x.Z)(function(hi){ct===void 0&&En(hi)});(0,y.Z)(function(){En(ct||!1)},[ct]);var rt=b.useRef(tr);rt.current=tr;var It=b.useRef([]);It.current=[];var pt=(0,x.Z)(function(hi){var oi;_t(hi),((oi=It.current[It.current.length-1])!==null&&oi!==void 0?oi:tr)!==hi&&(It.current.push(hi),Wt==null||Wt(hi))}),lr=b.useRef(),fr=function(){clearTimeout(lr.current)},Ir=function(oi){var Fa=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;fr(),Fa===0?pt(oi):lr.current=setTimeout(function(){pt(oi)},Fa*1e3)};b.useEffect(function(){return fr},[]);var Hr=b.useState(!1),ze=(0,i.Z)(Hr,2),et=ze[0],Ee=ze[1];(0,y.Z)(function(hi){(!hi||tr)&&Ee(!0)},[tr]);var it=b.useState(null),ir=(0,i.Z)(it,2),Dr=ir[0],Er=ir[1],Or=b.useState([0,0]),$r=(0,i.Z)(Or,2),bn=$r[0],Pr=$r[1],un=function(oi){Pr([oi.clientX,oi.clientY])},rn=Ht(tr,ti,At?bn:Ei,Oe,be,Ke,qr),ln=(0,i.Z)(rn,11),An=ln[0],pa=ln[1],Pi=ln[2],gi=ln[3],pn=ln[4],ui=ln[5],Ni=ln[6],la=ln[7],xs=ln[8],Pa=ln[9],Na=ln[10],Is=K(ot,Ne,He,nt),$a=(0,i.Z)(Is,2),hs=$a[0],oa=$a[1],yi=hs.has("click"),Ga=oa.has("click")||oa.has("contextMenu"),Ds=(0,x.Z)(function(){et||Na()}),$i=function(){rt.current&&At&&Ga&&Ir(!1)};Ot(tr,Ei,ti,Ds,$i),(0,y.Z)(function(){Ds()},[bn,Oe]),(0,y.Z)(function(){tr&&!(be!=null&&be[Oe])&&Ds()},[JSON.stringify(Ke)]);var ps=b.useMemo(function(){var hi=te(be,ge,Pa,At);return s()(hi,Fe==null?void 0:Fe(Pa))},[Pa,Fe,be,ge,At]);b.useImperativeHandle(Je,function(){return{nativeElement:Xi.current,forceAlign:Ds}});var Co=b.useState(0),La=(0,i.Z)(Co,2),_s=La[0],ji=La[1],Gs=b.useState(0),Rn=(0,i.Z)(Gs,2),ja=Rn[0],ns=Rn[1],ls=function(){if(Rt&&Ei){var oi=Ei.getBoundingClientRect();ji(oi.width),ns(oi.height)}},Vi=function(){ls(),Ds()},Ia=function(oi){Ee(!1),Na(),Ie==null||Ie(oi)},Da=function(){return new Promise(function(oi){ls(),Er(function(){return oi})})};(0,y.Z)(function(){Dr&&(Na(),Dr(),Er(null))},[Dr]);function ms(hi,oi,Fa,Va){ut[hi]=function(Xa){var lo;Va==null||Va(Xa),Ir(oi,Fa);for(var co=arguments.length,Po=new Array(co>1?co-1:0),Qa=1;Qa<co;Qa++)Po[Qa-1]=arguments[Qa];(lo=wt[hi])===null||lo===void 0||lo.call.apply(lo,[wt,Xa].concat(Po))}}(yi||Ga)&&(ut.onClick=function(hi){var oi;rt.current&&Ga?Ir(!1):!rt.current&&yi&&(un(hi),Ir(!0));for(var Fa=arguments.length,Va=new Array(Fa>1?Fa-1:0),Xa=1;Xa<Fa;Xa++)Va[Xa-1]=arguments[Xa];(oi=wt.onClick)===null||oi===void 0||oi.call.apply(oi,[wt,hi].concat(Va))}),Jt(tr,Ga,Ei,ti,Ct,We,Jn,Ir);var Bs=hs.has("hover"),_o=oa.has("hover"),To,Vo;Bs&&(ms("onMouseEnter",!0,qe,function(hi){un(hi)}),ms("onPointerEnter",!0,qe,function(hi){un(hi)}),To=function(oi){(tr||et)&&ti!==null&&ti!==void 0&&ti.contains(oi.target)&&Ir(!0,qe)},At&&(ut.onMouseMove=function(hi){var oi;(oi=wt.onMouseMove)===null||oi===void 0||oi.call(wt,hi)})),_o&&(ms("onMouseLeave",!1,kt),ms("onPointerLeave",!1,kt),Vo=function(){Ir(!1,kt)}),hs.has("focus")&&ms("onFocus",!0,Zt),oa.has("focus")&&ms("onBlur",!1,Nt),hs.has("contextMenu")&&(ut.onContextMenu=function(hi){var oi;rt.current&&oa.has("contextMenu")?Ir(!1):(un(hi),Ir(!0)),hi.preventDefault();for(var Fa=arguments.length,Va=new Array(Fa>1?Fa-1:0),Xa=1;Xa<Fa;Xa++)Va[Xa-1]=arguments[Xa];(oi=wt.onContextMenu)===null||oi===void 0||oi.call.apply(oi,[wt,hi].concat(Va))}),Lt&&(ut.className=s()(wt.className,Lt));var uo=(0,r.Z)((0,r.Z)({},wt),ut),ca={},cs=["onContextMenu","onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur"];cs.forEach(function(hi){gt[hi]&&(ca[hi]=function(){for(var oi,Fa=arguments.length,Va=new Array(Fa),Xa=0;Xa<Fa;Xa++)Va[Xa]=arguments[Xa];(oi=uo[hi])===null||oi===void 0||oi.call.apply(oi,[uo].concat(Va)),gt[hi].apply(gt,Va)})});var mo=b.cloneElement(Yi,(0,r.Z)((0,r.Z)({},uo),ca)),vo={x:ui,y:Ni},go=Ar?(0,r.Z)({},Ar!==!0?Ar:{}):null;return b.createElement(b.Fragment,null,b.createElement(h.Z,{disabled:!tr,ref:qn,onResize:Vi},b.createElement(Y,{getTriggerDOMNode:mt},mo)),b.createElement(ie.Provider,{value:mr},b.createElement(Q,{portal:st,ref:Zi,prefixCls:ge,popup:dt,className:s()(zt,ps),style:Tt,target:Ei,onMouseEnter:To,onMouseLeave:Vo,onPointerEnter:To,zIndex:vt,open:tr,keepDom:et,fresh:kr,onClick:Kr,mask:Ct,motion:Ai,maskMotion:ei,onVisibleChanged:Ia,onPrepare:Da,forceRender:pe,autoDestroy:$t,getPopupContainer:fe,align:Pa,arrow:go,arrowPos:vo,ready:An,offsetX:pa,offsetY:Pi,offsetR:gi,offsetB:pn,onAlign:Ds,stretch:Rt,targetWidth:_s/la,targetHeight:ja/xs})))});return yt}var Ut=Pt(c.Z)},8944:function(){"use strict"},5755:function(d,g){"use strict";g.Z={loading:"loading___hdeS1",layoutMainClass:"layoutMainClass___t8btz"}},49535:function(d,g){"use strict";function e(i){const l={},c={channels:l,subscribe:function(f,s){return l[f]||(l[f]=[]),l[f].push(s),this.unsubscribe.bind(null,f,s)},unsubscribe:function(f,s){console.log(f,"channel");let h=l[f],u=-1;if(h){for(let a=0;a<h.length;a++)if(h[a].name===s.name){u=a;break}if(u>=0)return l[f].splice(u,1),!0}return!1},publish:function(f){if(!l[f])return!1;const s=Array.prototype.slice.call(arguments,1);return l[f].forEach(h=>{h.apply(null,s)}),this}};return i?Object.assign(i,c):c}const r=new e;g.Z=r},2339:function(d,g,e){"use strict";e.d(g,{zt:function(){return na},$j:function(){return ba},Ue:function(){return Bs},I0:function(){return xo},v9:function(){return yo}});var r={};e.r(r),e.d(r,{actionChannel:function(){return or},all:function(){return Fe},apply:function(){return qr},call:function(){return Kr},cancel:function(){return sn},cancelled:function(){return Lt},cps:function(){return Ar},flush:function(){return mt},fork:function(){return Br},getContext:function(){return gt},join:function(){return Ur},put:function(){return Rt},race:function(){return kr},select:function(){return cn},setContext:function(){return $t},spawn:function(){return _r},take:function(){return Ke},takeEvery:function(){return _t},takeLatest:function(){return rt},takem:function(){return vt},throttle:function(){return It}});var i=e(59301),l=e(76267),c=e(59781),f=Object.assign||function(Ye){for(var Qe=1;Qe<arguments.length;Qe++){var Mt=arguments[Qe];for(var Kt in Mt)Object.prototype.hasOwnProperty.call(Mt,Kt)&&(Ye[Kt]=Mt[Kt])}return Ye},s=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Ye){return typeof Ye}:function(Ye){return Ye&&typeof Symbol=="function"&&Ye.constructor===Symbol&&Ye!==Symbol.prototype?"symbol":typeof Ye},h=function(Qe){return"@@redux-saga/"+Qe},u=h("TASK"),a=h("HELPER"),x=h("MATCH"),p=h("CANCEL_PROMISE"),y=h("SAGA_ACTION"),_=h("SELF_CANCELLATION"),b=function(Qe){return function(){return Qe}},S=b(!0),R=null,L=function(){},T=function(Qe){return Qe};function D(Ye,Qe,Mt){if(!Qe(Ye))throw le("error","uncaught at check",Mt),new Error(Mt)}var M=Object.prototype.hasOwnProperty;function N(Ye,Qe){return j.notUndef(Ye)&&M.call(Ye,Qe)}var j={undef:function(Qe){return Qe==null},notUndef:function(Qe){return Qe!=null},func:function(Qe){return typeof Qe=="function"},number:function(Qe){return typeof Qe=="number"},string:function(Qe){return typeof Qe=="string"},array:Array.isArray,object:function(Qe){return Qe&&!j.array(Qe)&&(typeof Qe=="undefined"?"undefined":s(Qe))==="object"},promise:function(Qe){return Qe&&j.func(Qe.then)},iterator:function(Qe){return Qe&&j.func(Qe.next)&&j.func(Qe.throw)},iterable:function(Qe){return Qe&&j.func(Symbol)?j.func(Qe[Symbol.iterator]):j.array(Qe)},task:function(Qe){return Qe&&Qe[u]},observable:function(Qe){return Qe&&j.func(Qe.subscribe)},buffer:function(Qe){return Qe&&j.func(Qe.isEmpty)&&j.func(Qe.take)&&j.func(Qe.put)},pattern:function(Qe){return Qe&&(j.string(Qe)||(typeof Qe=="undefined"?"undefined":s(Qe))==="symbol"||j.func(Qe)||j.array(Qe))},channel:function(Qe){return Qe&&j.func(Qe.take)&&j.func(Qe.close)},helper:function(Qe){return Qe&&Qe[a]},stringableFunc:function(Qe){return j.func(Qe)&&N(Qe,"toString")}},Q={assign:function(Qe,Mt){for(var Kt in Mt)N(Mt,Kt)&&(Qe[Kt]=Mt[Kt])}};function X(Ye,Qe){var Mt=Ye.indexOf(Qe);Mt>=0&&Ye.splice(Mt,1)}var Y={from:function(Qe){var Mt=Array(Qe.length);for(var Kt in Qe)N(Qe,Kt)&&(Mt[Kt]=Qe[Kt]);return Mt}};function oe(){var Ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Qe=f({},Ye),Mt=new Promise(function(Kt,hr){Qe.resolve=Kt,Qe.reject=hr});return Qe.promise=Mt,Qe}function ie(Ye){for(var Qe=[],Mt=0;Mt<Ye;Mt++)Qe.push(oe());return Qe}function ue(Ye){var Qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,Mt=void 0,Kt=new Promise(function(hr){Mt=setTimeout(function(){return hr(Qe)},Ye)});return Kt[p]=function(){return clearTimeout(Mt)},Kt}function K(){var Ye,Qe=!0,Mt=void 0,Kt=void 0;return Ye={},Ye[u]=!0,Ye.isRunning=function(){return Qe},Ye.result=function(){return Mt},Ye.error=function(){return Kt},Ye.setRunning=function(Rr){return Qe=Rr},Ye.setResult=function(Rr){return Mt=Rr},Ye.setError=function(Rr){return Kt=Rr},Ye}function V(){var Ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return function(){return++Ye}}var G=V(),te=function(Qe){throw Qe},q=function(Qe){return{value:Qe,done:!0}};function J(Ye){var Qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:te,Mt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"",Kt=arguments[3],hr={name:Mt,next:Ye,throw:Qe,return:q};return Kt&&(hr[a]=!0),typeof Symbol!="undefined"&&(hr[Symbol.iterator]=function(){return hr}),hr}function le(Ye,Qe){var Mt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"";typeof window=="undefined"?console.log("redux-saga "+Ye+": "+Qe+`
`+(Mt&&Mt.stack||Mt)):console[Ye](Qe,Mt)}function z(Ye,Qe){return function(){return Ye.apply(void 0,arguments)}}var F=function(Qe,Mt){return Qe+" has been deprecated in favor of "+Mt+", please update your code"},se=function(Qe){return new Error(`
redux-saga: Error checking hooks detected an inconsistent state. This is likely a bug
in redux-saga code and not yours. Thanks for reporting this in the project's github repo.
Error: `+Qe+`
`)},_e=function(Qe,Mt){return(Qe?Qe+".":"")+"setContext(props): argument "+Mt+" is not a plain object"},Pe=function(Qe){return function(Mt){return Qe(Object.defineProperty(Mt,y,{value:!0}))}},Re=function Ye(Qe){return function(){for(var Mt=arguments.length,Kt=Array(Mt),hr=0;hr<Mt;hr++)Kt[hr]=arguments[hr];var Rr=[],jr=Qe.apply(void 0,Kt);return{next:function(nn){return Rr.push(nn),jr.next(nn)},clone:function(){var nn=Ye(Qe).apply(void 0,Kt);return Rr.forEach(function(gn){return nn.next(gn)}),nn},return:function(nn){return jr.return(nn)},throw:function(nn){return jr.throw(nn)}}}},Ze="Channel's Buffer overflow!",$e=1,Ht=2,bt=3,Ot=4,qt={isEmpty:S,put:L,take:L};function er(){var Ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,Qe=arguments[1],Mt=new Array(Ye),Kt=0,hr=0,Rr=0,jr=function(Qn){Mt[hr]=Qn,hr=(hr+1)%Ye,Kt++},vn=function(){if(Kt!=0){var Qn=Mt[Rr];return Mt[Rr]=null,Kt--,Rr=(Rr+1)%Ye,Qn}},nn=function(){for(var Qn=[];Kt;)Qn.push(vn());return Qn};return{isEmpty:function(){return Kt==0},put:function(Qn){if(Kt<Ye)jr(Qn);else{var ni=void 0;switch(Qe){case $e:throw new Error(Ze);case bt:Mt[hr]=Qn,hr=(hr+1)%Ye,Rr=hr;break;case Ot:ni=2*Ye,Mt=nn(),Kt=Mt.length,hr=Mt.length,Rr=0,Mt.length=ni,Ye=ni,jr(Qn);break;default:}}},take:vn,flush:nn}}var Jt={none:function(){return qt},fixed:function(Qe){return er(Qe,$e)},dropping:function(Qe){return er(Qe,Ht)},sliding:function(Qe){return er(Qe,bt)},expanding:function(Qe){return er(Qe,Ot)}},Xe=[],Pt=0;function Ut(Ye){try{yt(),Ye()}finally{ht()}}function st(Ye){Xe.push(Ye),Pt||(yt(),Je())}function yt(){Pt++}function ht(){Pt--}function Je(){ht();for(var Ye=void 0;!Pt&&(Ye=Xe.shift())!==void 0;)Ut(Ye)}var je=Object.assign||function(Ye){for(var Qe=1;Qe<arguments.length;Qe++){var Mt=arguments[Qe];for(var Kt in Mt)Object.prototype.hasOwnProperty.call(Mt,Kt)&&(Ye[Kt]=Mt[Kt])}return Ye},ge="@@redux-saga/CHANNEL_END",Se={type:ge},Me=function(Qe){return Qe&&Qe.type===ge};function Ne(){var Ye=[];function Qe(Kt){return Ye.push(Kt),function(){return X(Ye,Kt)}}function Mt(Kt){for(var hr=Ye.slice(),Rr=0,jr=hr.length;Rr<jr;Rr++)hr[Rr](Kt)}return{subscribe:Qe,emit:Mt}}var He="invalid buffer passed to channel factory function",nt="Saga was provided with an undefined action";function ct(){var Ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Jt.fixed(),Qe=!1,Mt=[];D(Ye,j.buffer,He);function Kt(){if(Qe&&Mt.length)throw se("Cannot have a closed channel with pending takers");if(Mt.length&&!Ye.isEmpty())throw se("Cannot have pending takers with non empty buffer")}function hr(nn){if(Kt(),D(nn,j.notUndef,nt),!Qe){if(!Mt.length)return Ye.put(nn);for(var gn=0;gn<Mt.length;gn++){var Qn=Mt[gn];if(!Qn[x]||Qn[x](nn))return Mt.splice(gn,1),Qn(nn)}}}function Rr(nn){Kt(),D(nn,j.func,"channel.take's callback must be a function"),Qe&&Ye.isEmpty()?nn(Se):Ye.isEmpty()?(Mt.push(nn),nn.cancel=function(){return X(Mt,nn)}):nn(Ye.take())}function jr(nn){if(Kt(),D(nn,j.func,"channel.flush' callback must be a function"),Qe&&Ye.isEmpty()){nn(Se);return}nn(Ye.flush())}function vn(){if(Kt(),!Qe&&(Qe=!0,Mt.length)){var nn=Mt;Mt=[];for(var gn=0,Qn=nn.length;gn<Qn;gn++)nn[gn](Se)}}return{take:Rr,put:hr,flush:jr,close:vn,get __takers__(){return Mt},get __closed__(){return Qe}}}function Vt(Ye){var Qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Jt.none(),Mt=arguments[2];arguments.length>2&&D(Mt,j.func,"Invalid match function passed to eventChannel");var Kt=ct(Qe),hr=function(){Kt.__closed__||(Rr&&Rr(),Kt.close())},Rr=Ye(function(jr){if(Me(jr)){hr();return}Mt&&!Mt(jr)||Kt.put(jr)});if(Kt.__closed__&&Rr(),!j.func(Rr))throw new Error("in eventChannel: subscribe should return a function to unsubscribe");return{take:Kt.take,flush:Kt.flush,close:hr}}function Wt(Ye){var Qe=Vt(function(Mt){return Ye(function(Kt){if(Kt[y]){Mt(Kt);return}st(function(){return Mt(Kt)})})});return je({},Qe,{take:function(Kt,hr){arguments.length>1&&(D(hr,j.func,"channel.take's matcher argument must be a function"),Kt[x]=hr),Qe.take(Kt)}})}var Ie=h("IO"),qe="TAKE",Gt="PUT",kt="ALL",Zt="RACE",Nt="CALL",Ct="CPS",Yt="FORK",We="JOIN",fe="CANCEL",pe="SELECT",Dt="ACTION_CHANNEL",Ce="CANCELLED",dt="FLUSH",zt="GET_CONTEXT",Tt="SET_CONTEXT",Oe=`
(HINT: if you are getting this errors in tests, consider using createMockTask from redux-saga/utils)`,St=function(Qe,Mt){var Kt;return Kt={},Kt[Ie]=!0,Kt[Qe]=Mt,Kt},be=function(Qe){return D(gr.fork(Qe),j.object,"detach(eff): argument must be a fork effect"),Qe[Yt].detached=!0,Qe};function Ke(){var Ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"*";if(arguments.length&&D(arguments[0],j.notUndef,"take(patternOrChannel): patternOrChannel is undefined"),j.pattern(Ye))return St(qe,{pattern:Ye});if(j.channel(Ye))return St(qe,{channel:Ye});throw new Error("take(patternOrChannel): argument "+String(Ye)+" is not valid channel or a valid pattern")}Ke.maybe=function(){var Ye=Ke.apply(void 0,arguments);return Ye[qe].maybe=!0,Ye};var vt=z(Ke.maybe,F("takem","take.maybe"));function Rt(Ye,Qe){return arguments.length>1?(D(Ye,j.notUndef,"put(channel, action): argument channel is undefined"),D(Ye,j.channel,"put(channel, action): argument "+Ye+" is not a valid channel"),D(Qe,j.notUndef,"put(channel, action): argument action is undefined")):(D(Ye,j.notUndef,"put(action): argument action is undefined"),Qe=Ye,Ye=null),St(Gt,{channel:Ye,action:Qe})}Rt.resolve=function(){var Ye=Rt.apply(void 0,arguments);return Ye[Gt].resolve=!0,Ye},Rt.sync=z(Rt.resolve,F("put.sync","put.resolve"));function Fe(Ye){return St(kt,Ye)}function kr(Ye){return St(Zt,Ye)}function At(Ye,Qe,Mt){D(Qe,j.notUndef,Ye+": argument fn is undefined");var Kt=null;if(j.array(Qe)){var hr=Qe;Kt=hr[0],Qe=hr[1]}else if(Qe.fn){var Rr=Qe;Kt=Rr.context,Qe=Rr.fn}return Kt&&j.string(Qe)&&j.func(Kt[Qe])&&(Qe=Kt[Qe]),D(Qe,j.func,Ye+": argument "+Qe+" is not a function"),{context:Kt,fn:Qe,args:Mt}}function Kr(Ye){for(var Qe=arguments.length,Mt=Array(Qe>1?Qe-1:0),Kt=1;Kt<Qe;Kt++)Mt[Kt-1]=arguments[Kt];return St(Nt,At("call",Ye,Mt))}function qr(Ye,Qe){var Mt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return St(Nt,At("apply",{context:Ye,fn:Qe},Mt))}function Ar(Ye){for(var Qe=arguments.length,Mt=Array(Qe>1?Qe-1:0),Kt=1;Kt<Qe;Kt++)Mt[Kt-1]=arguments[Kt];return St(Ct,At("cps",Ye,Mt))}function Br(Ye){for(var Qe=arguments.length,Mt=Array(Qe>1?Qe-1:0),Kt=1;Kt<Qe;Kt++)Mt[Kt-1]=arguments[Kt];return St(Yt,At("fork",Ye,Mt))}function _r(Ye){for(var Qe=arguments.length,Mt=Array(Qe>1?Qe-1:0),Kt=1;Kt<Qe;Kt++)Mt[Kt-1]=arguments[Kt];return be(Br.apply(void 0,[Ye].concat(Mt)))}function Ur(){for(var Ye=arguments.length,Qe=Array(Ye),Mt=0;Mt<Ye;Mt++)Qe[Mt]=arguments[Mt];if(Qe.length>1)return Fe(Qe.map(function(hr){return Ur(hr)}));var Kt=Qe[0];return D(Kt,j.notUndef,"join(task): argument task is undefined"),D(Kt,j.task,"join(task): argument "+Kt+" is not a valid Task object "+Oe),St(We,Kt)}function sn(){for(var Ye=arguments.length,Qe=Array(Ye),Mt=0;Mt<Ye;Mt++)Qe[Mt]=arguments[Mt];if(Qe.length>1)return Fe(Qe.map(function(hr){return sn(hr)}));var Kt=Qe[0];return Qe.length===1&&(D(Kt,j.notUndef,"cancel(task): argument task is undefined"),D(Kt,j.task,"cancel(task): argument "+Kt+" is not a valid Task object "+Oe)),St(fe,Kt||_)}function cn(Ye){for(var Qe=arguments.length,Mt=Array(Qe>1?Qe-1:0),Kt=1;Kt<Qe;Kt++)Mt[Kt-1]=arguments[Kt];return arguments.length===0?Ye=T:(D(Ye,j.notUndef,"select(selector,[...]): argument selector is undefined"),D(Ye,j.func,"select(selector,[...]): argument "+Ye+" is not a function")),St(pe,{selector:Ye,args:Mt})}function or(Ye,Qe){return D(Ye,j.notUndef,"actionChannel(pattern,...): argument pattern is undefined"),arguments.length>1&&(D(Qe,j.notUndef,"actionChannel(pattern, buffer): argument buffer is undefined"),D(Qe,j.buffer,"actionChannel(pattern, buffer): argument "+Qe+" is not a valid buffer")),St(Dt,{pattern:Ye,buffer:Qe})}function Lt(){return St(Ce,{})}function mt(Ye){return D(Ye,j.channel,"flush(channel): argument "+Ye+" is not valid channel"),St(dt,Ye)}function gt(Ye){return D(Ye,j.string,"getContext(prop): argument "+Ye+" is not a string"),St(zt,Ye)}function $t(Ye){return D(Ye,j.object,_e(null,Ye)),St(Tt,Ye)}var Cr=function(Qe){return function(Mt){return Mt&&Mt[Ie]&&Mt[Qe]}},gr={take:Cr(qe),put:Cr(Gt),all:Cr(kt),race:Cr(Zt),call:Cr(Nt),cps:Cr(Ct),fork:Cr(Yt),join:Cr(We),cancel:Cr(fe),select:Cr(pe),actionChannel:Cr(Dt),cancelled:Cr(Ce),flush:Cr(dt),getContext:Cr(zt),setContext:Cr(Tt)},ot=Object.assign||function(Ye){for(var Qe=1;Qe<arguments.length;Qe++){var Mt=arguments[Qe];for(var Kt in Mt)Object.prototype.hasOwnProperty.call(Mt,Kt)&&(Ye[Kt]=Mt[Kt])}return Ye},Mr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Ye){return typeof Ye}:function(Ye){return Ye&&typeof Symbol=="function"&&Ye.constructor===Symbol&&Ye!==Symbol.prototype?"symbol":typeof Ye};function yn(Ye,Qe){for(var Mt in Qe){var Kt=Qe[Mt];Kt.configurable=Kt.enumerable=!0,"value"in Kt&&(Kt.writable=!0),Object.defineProperty(Ye,Mt,Kt)}return Ye}var Zn="proc first argument (Saga function result) must be an iterator",mr={toString:function(){return"@@redux-saga/CHANNEL_END"}},tn={toString:function(){return"@@redux-saga/TASK_CANCEL"}},hn={wildcard:function(){return S},default:function(Qe){return(typeof Qe=="undefined"?"undefined":Mr(Qe))==="symbol"?function(Mt){return Mt.type===Qe}:function(Mt){return Mt.type===String(Qe)}},array:function(Qe){return function(Mt){return Qe.some(function(Kt){return Fn(Kt)(Mt)})}},predicate:function(Qe){return function(Mt){return Qe(Mt)}}};function Fn(Ye){return(Ye==="*"?hn.wildcard:j.array(Ye)?hn.array:j.stringableFunc(Ye)?hn.default:j.func(Ye)?hn.predicate:hn.default)(Ye)}function ti(Ye,Qe,Mt){var Kt=[],hr=void 0,Rr=!1;vn(Qe);function jr(gn){nn(),Mt(gn,!0)}function vn(gn){Kt.push(gn),gn.cont=function(Qn,ni){Rr||(X(Kt,gn),gn.cont=L,ni?jr(Qn):(gn===Qe&&(hr=Qn),Kt.length||(Rr=!0,Mt(hr))))}}function nn(){Rr||(Rr=!0,Kt.forEach(function(gn){gn.cont=L,gn.cancel()}),Kt=[])}return{addTask:vn,cancelAll:nn,abort:jr,getTasks:function(){return Kt},taskNames:function(){return Kt.map(function(Qn){return Qn.name})}}}function jn(Ye){var Qe=Ye.context,Mt=Ye.fn,Kt=Ye.args;if(j.iterator(Mt))return Mt;var hr=void 0,Rr=void 0;try{hr=Mt.apply(Qe,Kt)}catch(jr){Rr=jr}return j.iterator(hr)?hr:J(Rr?function(){throw Rr}:function(){var jr=void 0,vn={done:!1,value:hr},nn=function(Qn){return{done:!0,value:Qn}};return function(gn){return jr?nn(gn):(jr=!0,vn)}}())}var Zi=function(Qe){return{fn:Qe}};function xi(Ye){var Qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:function(){return L},Mt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:L,Kt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:L,hr=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},Rr=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},jr=arguments.length>6&&arguments[6]!==void 0?arguments[6]:0,vn=arguments.length>7&&arguments[7]!==void 0?arguments[7]:"anonymous",nn=arguments[8];D(Ye,j.iterator,Zn);var gn="[...effects]",Qn=z(Ms,F(gn,"all("+gn+")")),ni=Rr.sagaMonitor,_i=Rr.logger,Ii=Rr.onError,Hi=_i||le,Mi=function(Qr){var Cn=Qr.sagaStack;!Cn&&Qr.stack&&(Cn=Qr.stack.split(`
`)[0].indexOf(Qr.message)!==-1?Qr.stack:"Error: "+Qr.message+`
`+Qr.stack),Hi("error","uncaught at "+vn,Cn||Qr.message||Qr)},wi=Wt(Qe),ma=Object.create(hr);Wi.cancel=L;var Ci=Jr(jr,vn,Ye,nn),bi={name:vn,cancel:Ks,isRunning:!0},fa=ti(vn,bi,ka);function Ks(){bi.isRunning&&!bi.isCancelled&&(bi.isCancelled=!0,Wi(tn))}function Es(){Ye._isRunning&&!Ye._isCancelled&&(Ye._isCancelled=!0,fa.cancelAll(),ka(tn))}return nn&&(nn.cancel=Es),Ye._isRunning=!0,Wi(),Ci;function Wi(br,Qr){if(!bi.isRunning)throw new Error("Trying to resume an already finished generator");try{var Cn=void 0;Qr?Cn=Ye.throw(br):br===tn?(bi.isCancelled=!0,Wi.cancel(),Cn=j.func(Ye.return)?Ye.return(tn):{done:!0,value:tn}):br===mr?Cn=j.func(Ye.return)?Ye.return():{done:!0}:Cn=Ye.next(br),Cn.done?(bi.isMainRunning=!1,bi.cont&&bi.cont(Cn.value)):ea(Cn.value,jr,"",Wi)}catch(ri){bi.isCancelled&&Mi(ri),bi.isMainRunning=!1,bi.cont(ri,!0)}}function ka(br,Qr){Ye._isRunning=!1,wi.close(),Qr?(br instanceof Error&&Object.defineProperty(br,"sagaStack",{value:"at "+vn+`
`+(br.sagaStack||br.stack),configurable:!0}),Ci.cont||(br instanceof Error&&Ii?Ii(br):Mi(br)),Ye._error=br,Ye._isAborted=!0,Ye._deferredEnd&&Ye._deferredEnd.reject(br)):(Ye._result=br,Ye._deferredEnd&&Ye._deferredEnd.resolve(br)),Ci.cont&&Ci.cont(br,Qr),Ci.joiners.forEach(function(Cn){return Cn.cb(br,Qr)}),Ci.joiners=null}function ea(br,Qr){var Cn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"",ri=arguments[3],Fi=G();ni&&ni.effectTriggered({effectId:Fi,parentEffectId:Qr,label:Cn,effect:br});var Mn=void 0;function Dn(ia,Ui){Mn||(Mn=!0,ri.cancel=L,ni&&(Ui?ni.effectRejected(Fi,ia):ni.effectResolved(Fi,ia)),ri(ia,Ui))}Dn.cancel=L,ri.cancel=function(){if(!Mn){Mn=!0;try{Dn.cancel()}catch(ia){Mi(ia)}Dn.cancel=L,ni&&ni.effectCancelled(Fi)}};var Bn=void 0;return j.promise(br)?ki(br,Dn):j.helper(br)?so(Zi(br),Fi,Dn):j.iterator(br)?va(br,Fi,vn,Dn):j.array(br)?Qn(br,Fi,Dn):(Bn=gr.take(br))?Ba(Bn,Dn):(Bn=gr.put(br))?Ka(Bn,Dn):(Bn=gr.all(br))?Ms(Bn,Fi,Dn):(Bn=gr.race(br))?da(Bn,Fi,Dn):(Bn=gr.call(br))?eo(Bn,Fi,Dn):(Bn=gr.cps(br))?qa(Bn,Dn):(Bn=gr.fork(br))?so(Bn,Fi,Dn):(Bn=gr.join(br))?Ya(Bn,Dn):(Bn=gr.cancel(br))?Ys(Bn,Dn):(Bn=gr.select(br))?Ua(Bn,Dn):(Bn=gr.actionChannel(br))?As(Bn,Dn):(Bn=gr.flush(br))?ye(Bn,Dn):(Bn=gr.cancelled(br))?ga(Bn,Dn):(Bn=gr.getContext(br))?we(Bn,Dn):(Bn=gr.setContext(br))?yr(Bn,Dn):Dn(br)}function ki(br,Qr){var Cn=br[p];j.func(Cn)?Qr.cancel=Cn:j.func(br.abort)&&(Qr.cancel=function(){return br.abort()}),br.then(Qr,function(ri){return Qr(ri,!0)})}function va(br,Qr,Cn,ri){xi(br,Qe,Mt,Kt,ma,Rr,Qr,Cn,ri)}function Ba(br,Qr){var Cn=br.channel,ri=br.pattern,Fi=br.maybe;Cn=Cn||wi;var Mn=function(Bn){return Bn instanceof Error?Qr(Bn,!0):Me(Bn)&&!Fi?Qr(mr):Qr(Bn)};try{Cn.take(Mn,Fn(ri))}catch(Dn){return Qr(Dn,!0)}Qr.cancel=Mn.cancel}function Ka(br,Qr){var Cn=br.channel,ri=br.action,Fi=br.resolve;st(function(){var Mn=void 0;try{Mn=(Cn?Cn.put:Mt)(ri)}catch(Dn){if(Cn||Fi)return Qr(Dn,!0);Mi(Dn)}if(Fi&&j.promise(Mn))ki(Mn,Qr);else return Qr(Mn)})}function eo(br,Qr,Cn){var ri=br.context,Fi=br.fn,Mn=br.args,Dn=void 0;try{Dn=Fi.apply(ri,Mn)}catch(Bn){return Cn(Bn,!0)}return j.promise(Dn)?ki(Dn,Cn):j.iterator(Dn)?va(Dn,Qr,Fi.name,Cn):Cn(Dn)}function qa(br,Qr){var Cn=br.context,ri=br.fn,Fi=br.args;try{var Mn=function(Bn,ia){return j.undef(Bn)?Qr(ia):Qr(Bn,!0)};ri.apply(Cn,Fi.concat(Mn)),Mn.cancel&&(Qr.cancel=function(){return Mn.cancel()})}catch(Dn){return Qr(Dn,!0)}}function so(br,Qr,Cn){var ri=br.context,Fi=br.fn,Mn=br.args,Dn=br.detached,Bn=jn({context:ri,fn:Fi,args:Mn});try{yt();var ia=xi(Bn,Qe,Mt,Kt,ma,Rr,Qr,Fi.name,Dn?null:L);Dn?Cn(ia):Bn._isRunning?(fa.addTask(ia),Cn(ia)):Bn._error?fa.abort(Bn._error):Cn(ia)}finally{Je()}}function Ya(br,Qr){if(br.isRunning()){var Cn={task:Ci,cb:Qr};Qr.cancel=function(){return X(br.joiners,Cn)},br.joiners.push(Cn)}else br.isAborted()?Qr(br.error(),!0):Qr(br.result())}function Ys(br,Qr){br===_&&(br=Ci),br.isRunning()&&br.cancel(),Qr()}function Ms(br,Qr,Cn){var ri=Object.keys(br);if(!ri.length)return Cn(j.array(br)?[]:{});var Fi=0,Mn=void 0,Dn={},Bn={};function ia(){Fi===ri.length&&(Mn=!0,Cn(j.array(br)?Y.from(ot({},Dn,{length:ri.length})):Dn))}ri.forEach(function(Ui){var ho=function(eu,hl){Mn||(hl||Me(eu)||eu===mr||eu===tn?(Cn.cancel(),Cn(eu,hl)):(Dn[Ui]=eu,Fi++,ia()))};ho.cancel=L,Bn[Ui]=ho}),Cn.cancel=function(){Mn||(Mn=!0,ri.forEach(function(Ui){return Bn[Ui].cancel()}))},ri.forEach(function(Ui){return ea(br[Ui],Qr,Ui,Bn[Ui])})}function da(br,Qr,Cn){var ri=void 0,Fi=Object.keys(br),Mn={};Fi.forEach(function(Dn){var Bn=function(Ui,ho){if(!ri){if(ho)Cn.cancel(),Cn(Ui,!0);else if(!Me(Ui)&&Ui!==mr&&Ui!==tn){var Xs;Cn.cancel(),ri=!0;var eu=(Xs={},Xs[Dn]=Ui,Xs);Cn(j.array(br)?[].slice.call(ot({},eu,{length:Fi.length})):eu)}}};Bn.cancel=L,Mn[Dn]=Bn}),Cn.cancel=function(){ri||(ri=!0,Fi.forEach(function(Dn){return Mn[Dn].cancel()}))},Fi.forEach(function(Dn){ri||ea(br[Dn],Qr,Dn,Mn[Dn])})}function Ua(br,Qr){var Cn=br.selector,ri=br.args;try{var Fi=Cn.apply(void 0,[Kt()].concat(ri));Qr(Fi)}catch(Mn){Qr(Mn,!0)}}function As(br,Qr){var Cn=br.pattern,ri=br.buffer,Fi=Fn(Cn);Fi.pattern=Cn,Qr(Vt(Qe,ri||Jt.fixed(),Fi))}function ga(br,Qr){Qr(!!bi.isCancelled)}function ye(br,Qr){br.flush(Qr)}function we(br,Qr){Qr(ma[br])}function yr(br,Qr){Q.assign(ma,br),Qr()}function Jr(br,Qr,Cn,ri){var Fi,Mn,Dn;return Cn._deferredEnd=null,Mn={},Mn[u]=!0,Mn.id=br,Mn.name=Qr,Fi="done",Dn={},Dn[Fi]=Dn[Fi]||{},Dn[Fi].get=function(){if(Cn._deferredEnd)return Cn._deferredEnd.promise;var Bn=oe();return Cn._deferredEnd=Bn,Cn._isRunning||(Cn._error?Bn.reject(Cn._error):Bn.resolve(Cn._result)),Bn.promise},Mn.cont=ri,Mn.joiners=[],Mn.cancel=Es,Mn.isRunning=function(){return Cn._isRunning},Mn.isCancelled=function(){return Cn._isCancelled},Mn.isAborted=function(){return Cn._isAborted},Mn.result=function(){return Cn._result},Mn.error=function(){return Cn._error},Mn.setContext=function(ia){D(ia,j.object,_e("task",ia)),Q.assign(ma,ia)},yn(Mn,Dn),Mn}}var Si="runSaga(storeInterface, saga, ...args)",Ei=Si+": saga argument must be a Generator function!";function mi(Ye,Qe){for(var Mt=arguments.length,Kt=Array(Mt>2?Mt-2:0),hr=2;hr<Mt;hr++)Kt[hr-2]=arguments[hr];var Rr=void 0;j.iterator(Ye)?(Rr=Ye,Ye=Qe):(D(Qe,j.func,Ei),Rr=Qe.apply(void 0,Kt),D(Rr,j.iterator,Ei));var jr=Ye,vn=jr.subscribe,nn=jr.dispatch,gn=jr.getState,Qn=jr.context,ni=jr.sagaMonitor,_i=jr.logger,Ii=jr.onError,Hi=G();ni&&(ni.effectTriggered=ni.effectTriggered||L,ni.effectResolved=ni.effectResolved||L,ni.effectRejected=ni.effectRejected||L,ni.effectCancelled=ni.effectCancelled||L,ni.actionDispatched=ni.actionDispatched||L,ni.effectTriggered({effectId:Hi,root:!0,parentEffectId:0,effect:{root:!0,saga:Qe,args:Kt}}));var Mi=xi(Rr,vn,Pe(nn),gn,Qn,{sagaMonitor:ni,logger:_i,onError:Ii},Hi,Qe.name);return ni&&ni.effectResolved(Hi,Mi),Mi}function Xi(Ye,Qe){var Mt={};for(var Kt in Ye)Qe.indexOf(Kt)>=0||Object.prototype.hasOwnProperty.call(Ye,Kt)&&(Mt[Kt]=Ye[Kt]);return Mt}function qn(){var Ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Qe=Ye.context,Mt=Qe===void 0?{}:Qe,Kt=Xi(Ye,["context"]),hr=Kt.sagaMonitor,Rr=Kt.logger,jr=Kt.onError;if(j.func(Kt))throw new Error("Saga middleware no longer accept Generator functions. Use sagaMiddleware.run instead");if(Rr&&!j.func(Rr))throw new Error("`options.logger` passed to the Saga middleware is not a function!");if(jr&&!j.func(jr))throw new Error("`options.onError` passed to the Saga middleware is not a function!");if(Kt.emitter&&!j.func(Kt.emitter))throw new Error("`options.emitter` passed to the Saga middleware is not a function!");function vn(nn){var gn=nn.getState,Qn=nn.dispatch,ni=Ne();return ni.emit=(Kt.emitter||T)(ni.emit),vn.run=mi.bind(null,{context:Mt,subscribe:ni.subscribe,dispatch:Qn,getState:gn,sagaMonitor:hr,logger:Rr,onError:jr}),function(_i){return function(Ii){hr&&hr.actionDispatched&&hr.actionDispatched(Ii);var Hi=_i(Ii);return ni.emit(Ii),Hi}}}return vn.run=function(){throw new Error("Before running a Saga, you must mount the Saga middleware on the Store using applyMiddleware")},vn.setContext=function(nn){D(nn,j.object,_e("sagaMiddleware",nn)),Q.assign(Mt,nn)},vn}var Yi={done:!0,value:void 0},wt={};function ut(Ye){return j.channel(Ye)?"channel":Array.isArray(Ye)?String(Ye.map(function(Qe){return String(Qe)})):String(Ye)}function Jn(Ye,Qe){var Mt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"iterator",Kt=void 0,hr=Qe;function Rr(jr,vn){if(hr===wt)return Yi;if(vn)throw hr=wt,vn;Kt&&Kt(jr);var nn=Ye[hr](),gn=nn[0],Qn=nn[1],ni=nn[2];return hr=gn,Kt=ni,hr===wt?Yi:Qn}return J(Rr,function(jr){return Rr(null,jr)},Mt,!0)}function Ai(Ye,Qe){for(var Mt=arguments.length,Kt=Array(Mt>2?Mt-2:0),hr=2;hr<Mt;hr++)Kt[hr-2]=arguments[hr];var Rr={done:!1,value:Ke(Ye)},jr=function(Qn){return{done:!1,value:Br.apply(void 0,[Qe].concat(Kt,[Qn]))}},vn=void 0,nn=function(Qn){return vn=Qn};return Jn({q1:function(){return["q2",Rr,nn]},q2:function(){return vn===Se?[wt]:["q1",jr(vn)]}},"q1","takeEvery("+ut(Ye)+", "+Qe.name+")")}function ei(Ye,Qe){for(var Mt=arguments.length,Kt=Array(Mt>2?Mt-2:0),hr=2;hr<Mt;hr++)Kt[hr-2]=arguments[hr];var Rr={done:!1,value:Ke(Ye)},jr=function(Ii){return{done:!1,value:Br.apply(void 0,[Qe].concat(Kt,[Ii]))}},vn=function(Ii){return{done:!1,value:sn(Ii)}},nn=void 0,gn=void 0,Qn=function(Ii){return nn=Ii},ni=function(Ii){return gn=Ii};return Jn({q1:function(){return["q2",Rr,ni]},q2:function(){return gn===Se?[wt]:nn?["q3",vn(nn)]:["q1",jr(gn),Qn]},q3:function(){return["q1",jr(gn),Qn]}},"q1","takeLatest("+ut(Ye)+", "+Qe.name+")")}function Gi(Ye,Qe,Mt){for(var Kt=arguments.length,hr=Array(Kt>3?Kt-3:0),Rr=3;Rr<Kt;Rr++)hr[Rr-3]=arguments[Rr];var jr=void 0,vn=void 0,nn={done:!1,value:or(Qe,Jt.sliding(1))},gn=function(){return{done:!1,value:Ke(vn)}},Qn=function(Mi){return{done:!1,value:Br.apply(void 0,[Mt].concat(hr,[Mi]))}},ni={done:!1,value:Kr(ue,Ye)},_i=function(Mi){return jr=Mi},Ii=function(Mi){return vn=Mi};return Jn({q1:function(){return["q2",nn,Ii]},q2:function(){return["q3",gn(),_i]},q3:function(){return jr===Se?[wt]:["q4",Qn(jr)]},q4:function(){return["q2",ni]}},"q1","throttle("+ut(Qe)+", "+Mt.name+")")}var vi=function(Qe){return"import { "+Qe+" } from 'redux-saga' has been deprecated in favor of import { "+Qe+` } from 'redux-saga/effects'.
The latter will not work with yield*, as helper effects are wrapped automatically for you in fork effect.
Therefore yield `+Qe+" will return task descriptor to your saga and execute next lines of code."},si=null,En=null,tr=null;function _t(Ye,Qe){for(var Mt=arguments.length,Kt=Array(Mt>2?Mt-2:0),hr=2;hr<Mt;hr++)Kt[hr-2]=arguments[hr];return Br.apply(void 0,[Ai,Ye,Qe].concat(Kt))}function rt(Ye,Qe){for(var Mt=arguments.length,Kt=Array(Mt>2?Mt-2:0),hr=2;hr<Mt;hr++)Kt[hr-2]=arguments[hr];return Br.apply(void 0,[ei,Ye,Qe].concat(Kt))}function It(Ye,Qe,Mt){for(var Kt=arguments.length,hr=Array(Kt>3?Kt-3:0),Rr=3;Rr<Kt;Rr++)hr[Rr-3]=arguments[Rr];return Br.apply(void 0,[Gi,Ye,Qe,Mt].concat(hr))}var pt=qn,lr=e(44520),fr=e.n(lr),Ir=e(10928),Hr=e(78639),ze=e.n(Hr),et=e(92393),Ee=e(74604),it=e(56754),ir=e.n(it),Dr=e(6487),Er=e(56789),Or=e(89381),$r=e.n(Or),bn=e(60288),Pr=e(52456),un=e(13960),rn=e.n(un),ln=Array.isArray.bind(Array),An=function(Qe){return typeof Qe=="function"},pa=function(Qe){return Qe},Pi=function(){},gi=function(Qe,Mt){for(var Kt=0,hr=Qe.length;Kt<hr;Kt+=1)if(Mt(Qe[Kt],Kt))return Kt;return-1},pn=Object.freeze({isPlainObject:ze(),isArray:ln,isFunction:An,returnSelf:pa,noop:Pi,findIndex:gi});function ui(Ye,Qe){var Mt=Ye.namespace,Kt=Ye.reducers,hr=Ye.effects,Rr=Ye.subscriptions;invariant(Mt,"[app.model] namespace should be defined"),invariant(typeof Mt=="string","[app.model] namespace should be string, but got ".concat(_typeof(Mt))),invariant(!Qe.some(function(jr){return jr.namespace===Mt}),"[app.model] namespace should be unique"),Kt&&(invariant(isPlainObject(Kt)||ln(Kt),"[app.model] reducers should be plain object or array, but got ".concat(_typeof(Kt))),invariant(!ln(Kt)||isPlainObject(Kt[0])&&An(Kt[1]),"[app.model] reducers with array should be [Object, Function]")),hr&&invariant(isPlainObject(hr),"[app.model] effects should be plain object, but got ".concat(_typeof(hr))),Rr&&(invariant(isPlainObject(Rr),"[app.model] subscriptions should be plain object, but got ".concat(_typeof(Rr))),invariant(Ni(Rr),"[app.model] subscription should be function"))}function Ni(Ye){return Object.keys(Ye).every(function(Qe){return An(Ye[Qe])})}var la="/";function xs(Ye,Qe,Mt){return Object.keys(Ye).reduce(function(Kt,hr){ir()(hr.indexOf("".concat(Qe).concat(la))!==0,"[prefixNamespace]: ".concat(Mt," ").concat(hr," should not be prefixed with namespace ").concat(Qe));var Rr="".concat(Qe).concat(la).concat(hr);return Kt[Rr]=Ye[hr],Kt},{})}function Pa(Ye){var Qe=Ye.namespace,Mt=Ye.reducers,Kt=Ye.effects;if(Mt)if(ln(Mt)){var hr=(0,Ee.Z)(Mt),Rr=hr[0],jr=hr.slice(1);Ye.reducers=[xs(Rr,Qe,"reducer")].concat((0,et.Z)(jr))}else Ye.reducers=xs(Mt,Qe,"reducer");return Kt&&(Ye.effects=xs(Kt,Qe,"effect")),Ye}var Na=["onError","onStateChange","onAction","onHmr","onReducer","onEffect","extraReducers","extraEnhancers","_handleActions"];function Is(Ye){return Object.keys(Ye).reduce(function(Qe,Mt){return Na.indexOf(Mt)>-1&&(Qe[Mt]=Ye[Mt]),Qe},{})}var $a=function(){function Ye(){(0,Dr.Z)(this,Ye),this._handleActions=null,this.hooks=Na.reduce(function(Qe,Mt){return Qe[Mt]=[],Qe},{})}return(0,Er.Z)(Ye,[{key:"use",value:function(Mt){fr()(ze()(Mt),"plugin.use: plugin should be plain object");var Kt=this.hooks;for(var hr in Mt)Object.prototype.hasOwnProperty.call(Mt,hr)&&(fr()(Kt[hr],"plugin.use: unknown plugin property: ".concat(hr)),hr==="_handleActions"?this._handleActions=Mt[hr]:hr==="extraEnhancers"?Kt[hr]=Mt[hr]:Kt[hr].push(Mt[hr]))}},{key:"apply",value:function(Mt,Kt){var hr=this.hooks,Rr=["onError","onHmr"];fr()(Rr.indexOf(Mt)>-1,"plugin.apply: hook ".concat(Mt," cannot be applied"));var jr=hr[Mt];return function(){if(jr.length){var vn=!0,nn=!1,gn=void 0;try{for(var Qn=jr[Symbol.iterator](),ni;!(vn=(ni=Qn.next()).done);vn=!0){var _i=ni.value;_i.apply(void 0,arguments)}}catch(Ii){nn=!0,gn=Ii}finally{try{!vn&&Qn.return!=null&&Qn.return()}finally{if(nn)throw gn}}}else Kt&&Kt.apply(void 0,arguments)}}},{key:"get",value:function(Mt){var Kt=this.hooks;return fr()(Mt in Kt,"plugin.get: hook ".concat(Mt," cannot be got")),Mt==="extraReducers"?hs(Kt[Mt]):Mt==="onReducer"?oa(Kt[Mt]):Kt[Mt]}}]),Ye}();function hs(Ye){var Qe={},Mt=!0,Kt=!1,hr=void 0;try{for(var Rr=Ye[Symbol.iterator](),jr;!(Mt=(jr=Rr.next()).done);Mt=!0){var vn=jr.value;Qe=(0,l.Z)({},Qe,vn)}}catch(nn){Kt=!0,hr=nn}finally{try{!Mt&&Rr.return!=null&&Rr.return()}finally{if(Kt)throw hr}}return Qe}function oa(Ye){return function(Qe){var Mt=!0,Kt=!1,hr=void 0;try{for(var Rr=Ye[Symbol.iterator](),jr;!(Mt=(jr=Rr.next()).done);Mt=!0){var vn=jr.value;Qe=vn(Qe)}}catch(nn){Kt=!0,hr=nn}finally{try{!Mt&&Rr.return!=null&&Rr.return()}finally{if(Kt)throw hr}}return Qe}}function yi(Ye){var Qe=Ye.reducers,Mt=Ye.initialState,Kt=Ye.plugin,hr=Ye.sagaMiddleware,Rr=Ye.promiseMiddleware,jr=Ye.createOpts.setupMiddlewares,vn=jr===void 0?pa:jr,nn=Kt.get("extraEnhancers");fr()(ln(nn),"[app.start] extraEnhancers should be array, but got ".concat((0,Ir.Z)(nn)));var gn=Kt.get("onAction"),Qn=vn([Rr,hr].concat((0,et.Z)($r()(gn)))),ni=c.qC,_i=[c.md.apply(void 0,(0,et.Z)(Qn))].concat((0,et.Z)(nn));return(0,c.MT)(Qe,Mt,ni.apply(void 0,(0,et.Z)(_i)))}function Ga(Ye,Qe){var Mt="".concat(Qe.namespace).concat(la).concat(Ye),Kt=Mt.replace(/\/@@[^/]+?$/,""),hr=Array.isArray(Qe.reducers)?Qe.reducers[0][Kt]:Qe.reducers&&Qe.reducers[Kt];return hr||Qe.effects&&Qe.effects[Kt]?Mt:Ye}function Ds(Ye,Qe,Mt,Kt){var hr=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{};return rn().mark(function Rr(){var jr;return rn().wrap(function(nn){for(;;)switch(nn.prev=nn.next){case 0:nn.t0=rn().keys(Ye);case 1:if((nn.t1=nn.t0()).done){nn.next=7;break}if(jr=nn.t1.value,!Object.prototype.hasOwnProperty.call(Ye,jr)){nn.next=5;break}return nn.delegateYield(rn().mark(function gn(){var Qn,ni;return rn().wrap(function(Ii){for(;;)switch(Ii.prev=Ii.next){case 0:return Qn=$i(jr,Ye[jr],Qe,Mt,Kt,hr),Ii.next=3,Br(Qn);case 3:return ni=Ii.sent,Ii.next=6,Br(rn().mark(function Hi(){return rn().wrap(function(wi){for(;;)switch(wi.prev=wi.next){case 0:return wi.next=2,Ke("".concat(Qe.namespace,"/@@CANCEL_EFFECTS"));case 2:return wi.next=4,sn(ni);case 4:case"end":return wi.stop()}},Hi)}));case 6:case"end":return Ii.stop()}},gn)})(),"t2",5);case 5:nn.next=1;break;case 7:case"end":return nn.stop()}},Rr)})}function $i(Ye,Qe,Mt,Kt,hr,Rr){var jr=rn().mark(Hi),vn=Qe,nn="takeEvery",gn,Qn;if(Array.isArray(Qe)){var ni=(0,Pr.Z)(Qe,1);vn=ni[0];var _i=Qe[1];_i&&_i.type&&(nn=_i.type,nn==="throttle"&&(fr()(_i.ms,"app.start: opts.ms should be defined if type is throttle"),gn=_i.ms),nn==="poll"&&(fr()(_i.delay,"app.start: opts.delay should be defined if type is poll"),Qn=_i.delay)),fr()(["watcher","takeEvery","takeLatest","throttle","poll"].indexOf(nn)>-1,"app.start: effect type should be takeEvery, takeLatest, throttle, poll or watcher")}function Ii(){}function Hi(){var wi,ma,Ci,bi,fa,Ks,Es,Wi,ka,ea=arguments;return rn().wrap(function(va){for(;;)switch(va.prev=va.next){case 0:for(wi=ea.length,ma=new Array(wi),Ci=0;Ci<wi;Ci++)ma[Ci]=ea[Ci];return bi=ma.length>0?ma[0]:{},fa=bi.__dva_resolve,Ks=fa===void 0?Ii:fa,Es=bi.__dva_reject,Wi=Es===void 0?Ii:Es,va.prev=2,va.next=5,Rt({type:"".concat(Ye).concat(la,"@@start")});case 5:return va.next=7,vn.apply(void 0,(0,et.Z)(ma.concat(ps(Mt,Rr))));case 7:return ka=va.sent,va.next=10,Rt({type:"".concat(Ye).concat(la,"@@end")});case 10:Ks(ka),va.next=17;break;case 13:va.prev=13,va.t0=va.catch(2),Kt(va.t0,{key:Ye,effectArgs:ma}),va.t0._dontReject||Wi(va.t0);case 17:case"end":return va.stop()}},jr,null,[[2,13]])}var Mi=Co(hr,Hi,Mt,Ye);switch(nn){case"watcher":return Hi;case"takeLatest":return rn().mark(function wi(){return rn().wrap(function(Ci){for(;;)switch(Ci.prev=Ci.next){case 0:return Ci.next=2,rt(Ye,Mi);case 2:case"end":return Ci.stop()}},wi)});case"throttle":return rn().mark(function wi(){return rn().wrap(function(Ci){for(;;)switch(Ci.prev=Ci.next){case 0:return Ci.next=2,It(gn,Ye,Mi);case 2:case"end":return Ci.stop()}},wi)});case"poll":return rn().mark(function wi(){var ma,Ci,bi,fa,Ks,Es,Wi;return rn().wrap(function(ea){for(;;)switch(ea.prev=ea.next){case 0:bi=function(va,Ba){var Ka;return rn().wrap(function(qa){for(;;)switch(qa.prev=qa.next){case 0:Ka=va.call;case 1:return qa.next=4,Ka(Mi,Ba);case 4:return qa.next=6,Ka(Ci,Qn);case 6:qa.next=1;break;case 8:case"end":return qa.stop()}},ma)},Ci=function(va){return new Promise(function(Ba){return setTimeout(Ba,va)})},ma=rn().mark(bi),fa=Kr,Ks=Ke,Es=kr;case 4:return ea.next=7,Ks("".concat(Ye,"-start"));case 7:return Wi=ea.sent,ea.next=10,Es([fa(bi,r,Wi),Ks("".concat(Ye,"-stop"))]);case 10:ea.next=4;break;case 12:case"end":return ea.stop()}},wi)});default:return rn().mark(function wi(){return rn().wrap(function(Ci){for(;;)switch(Ci.prev=Ci.next){case 0:return Ci.next=2,_t(Ye,Mi);case 2:case"end":return Ci.stop()}},wi)})}}function ps(Ye,Qe){function Mt(jr,vn){fr()(jr,"dispatch: action should be a plain Object with type");var nn=Qe.namespacePrefixWarning,gn=nn===void 0?!0:nn;gn&&ir()(jr.indexOf("".concat(Ye.namespace).concat(la))!==0,"[".concat(vn,"] ").concat(jr," should not be prefixed with namespace ").concat(Ye.namespace))}function Kt(jr){var vn=jr.type;return Mt(vn,"sagaEffects.put"),Rt((0,l.Z)({},jr,{type:Ga(vn,Ye)}))}function hr(jr){var vn=jr.type;return Mt(vn,"sagaEffects.put.resolve"),Rt.resolve((0,l.Z)({},jr,{type:Ga(vn,Ye)}))}Kt.resolve=hr;function Rr(jr){return typeof jr=="string"?(Mt(jr,"sagaEffects.take"),Ke(Ga(jr,Ye))):Array.isArray(jr)?Ke(jr.map(function(vn){return typeof vn=="string"?(Mt(vn,"sagaEffects.take"),Ga(vn,Ye)):vn})):Ke(jr)}return(0,l.Z)({},r,{put:Kt,take:Rr})}function Co(Ye,Qe,Mt,Kt){var hr=!0,Rr=!1,jr=void 0;try{for(var vn=Ye[Symbol.iterator](),nn;!(hr=(nn=vn.next()).done);hr=!0){var gn=nn.value;Qe=gn(Qe,r,Mt,Kt)}}catch(Qn){Rr=!0,jr=Qn}finally{try{!hr&&vn.return!=null&&vn.return()}finally{if(Rr)throw jr}}return Qe}function La(Ye){return Ye}function _s(Ye){var Qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:La;return function(Mt,Kt){var hr=Kt.type;return fr()(hr,"dispatch: action should be a plain Object with type"),Ye===hr?Qe(Mt,Kt):Mt}}function ji(){for(var Ye=arguments.length,Qe=new Array(Ye),Mt=0;Mt<Ye;Mt++)Qe[Mt]=arguments[Mt];return function(Kt,hr){return Qe.reduce(function(Rr,jr){return jr(Rr,hr)},Kt)}}function Gs(Ye,Qe){var Mt=Object.keys(Ye).map(function(hr){return _s(hr,Ye[hr])}),Kt=ji.apply(void 0,(0,et.Z)(Mt));return function(){var hr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Qe,Rr=arguments.length>1?arguments[1]:void 0;return Kt(hr,Rr)}}function Rn(Ye,Qe,Mt){return Array.isArray(Ye)?Ye[1]((Mt||Gs)(Ye[0],Qe)):(Mt||Gs)(Ye||{},Qe)}function ja(Ye){return function(){return function(Mt){return function(Kt){var hr=Kt.type;return Qe(hr)?new Promise(function(Rr,jr){Mt((0,l.Z)({__dva_resolve:Rr,__dva_reject:jr},Kt))}):Mt(Kt)}}};function Qe(Mt){if(!Mt||typeof Mt!="string")return!1;var Kt=Mt.split(la),hr=(0,Pr.Z)(Kt,1),Rr=hr[0],jr=Ye._models.filter(function(vn){return vn.namespace===Rr})[0];return!!(jr&&jr.effects&&jr.effects[Mt])}}function ns(Ye,Qe){return function(Mt){var Kt=Mt.type;return fr()(Kt,"dispatch: action should be a plain Object with type"),ir()(Kt.indexOf("".concat(Qe.namespace).concat(la))!==0,"dispatch: ".concat(Kt," should not be prefixed with namespace ").concat(Qe.namespace)),Ye((0,l.Z)({},Mt,{type:Ga(Kt,Qe)}))}}function ls(Ye,Qe,Mt,Kt){var hr=[],Rr=[];for(var jr in Ye)if(Object.prototype.hasOwnProperty.call(Ye,jr)){var vn=Ye[jr],nn=vn({dispatch:ns(Mt._store.dispatch,Qe),history:Mt._history},Kt);An(nn)?hr.push(nn):Rr.push(jr)}return{funcs:hr,nonFuncs:Rr}}function Vi(Ye,Qe){if(Ye[Qe]){var Mt=Ye[Qe],Kt=Mt.funcs,hr=Mt.nonFuncs;ir()(hr.length===0,"[app.unmodel] subscription should return unlistener function, check these subscriptions ".concat(hr.join(", ")));var Rr=!0,jr=!1,vn=void 0;try{for(var nn=Kt[Symbol.iterator](),gn;!(Rr=(gn=nn.next()).done);Rr=!0){var Qn=gn.value;Qn()}}catch(ni){jr=!0,vn=ni}finally{try{!Rr&&nn.return!=null&&nn.return()}finally{if(jr)throw vn}}delete Ye[Qe]}}var Ia=Pi,Da=gi,ms={namespace:"@@dva",state:0,reducers:{UPDATE:function(Qe){return Qe+1}}};function Bs(){var Ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Mt=Qe.initialReducer,Kt=Qe.setupApp,hr=Kt===void 0?Ia:Kt,Rr=new $a;Rr.use(Is(Ye));var jr={_models:[Pa((0,l.Z)({},ms))],_store:null,_plugin:Rr,use:Rr.use.bind(Rr),model:vn,start:ni};return jr;function vn(_i){var Ii=Pa((0,l.Z)({},_i));return jr._models.push(Ii),Ii}function nn(_i,Ii,Hi,Mi){Mi=vn(Mi);var wi=jr._store;wi.asyncReducers[Mi.namespace]=Rn(Mi.reducers,Mi.state,Rr._handleActions),wi.replaceReducer(_i()),Mi.effects&&wi.runSaga(jr._getSaga(Mi.effects,Mi,Ii,Rr.get("onEffect"),Ye)),Mi.subscriptions&&(Hi[Mi.namespace]=ls(Mi.subscriptions,Mi,jr,Ii))}function gn(_i,Ii,Hi,Mi){var wi=jr._store;delete wi.asyncReducers[Mi],delete Ii[Mi],wi.replaceReducer(_i()),wi.dispatch({type:"@@dva/UPDATE"}),wi.dispatch({type:"".concat(Mi,"/@@CANCEL_EFFECTS")}),Vi(Hi,Mi),jr._models=jr._models.filter(function(ma){return ma.namespace!==Mi})}function Qn(_i,Ii,Hi,Mi,wi){var ma=jr._store,Ci=wi.namespace,bi=Da(jr._models,function(fa){return fa.namespace===Ci});~bi&&(ma.dispatch({type:"".concat(Ci,"/@@CANCEL_EFFECTS")}),delete ma.asyncReducers[Ci],delete Ii[Ci],Vi(Hi,Ci),jr._models.splice(bi,1)),jr.model(wi),ma.dispatch({type:"@@dva/UPDATE"})}function ni(){var _i=function(yr,Jr){yr&&(typeof yr=="string"&&(yr=new Error(yr)),yr.preventDefault=function(){yr._dontReject=!0},Rr.apply("onError",function(br){throw new Error(br.stack||br)})(yr,jr._store.dispatch,Jr))},Ii=pt(),Hi=ja(jr);jr._getSaga=Ds.bind(null);var Mi=[],wi=(0,l.Z)({},Mt),ma=!0,Ci=!1,bi=void 0;try{for(var fa=jr._models[Symbol.iterator](),Ks;!(ma=(Ks=fa.next()).done);ma=!0){var Es=Ks.value;wi[Es.namespace]=Rn(Es.reducers,Es.state,Rr._handleActions),Es.effects&&Mi.push(jr._getSaga(Es.effects,Es,_i,Rr.get("onEffect"),Ye))}}catch(we){Ci=!0,bi=we}finally{try{!ma&&fa.return!=null&&fa.return()}finally{if(Ci)throw bi}}var Wi=Rr.get("onReducer"),ka=Rr.get("extraReducers");fr()(Object.keys(ka).every(function(we){return!(we in wi)}),"[app.start] extraReducers is conflict with other reducers, reducers list: ".concat(Object.keys(wi).join(", "))),jr._store=yi({reducers:ye(),initialState:Ye.initialState||{},plugin:Rr,createOpts:Qe,sagaMiddleware:Ii,promiseMiddleware:Hi});var ea=jr._store;ea.runSaga=Ii.run,ea.asyncReducers={};var ki=Rr.get("onStateChange"),va=!0,Ba=!1,Ka=void 0;try{for(var eo=function(){var yr=so.value;ea.subscribe(function(){yr(ea.getState())})},qa=ki[Symbol.iterator](),so;!(va=(so=qa.next()).done);va=!0)eo()}catch(we){Ba=!0,Ka=we}finally{try{!va&&qa.return!=null&&qa.return()}finally{if(Ba)throw Ka}}Mi.forEach(Ii.run),hr(jr);var Ya={},Ys=!0,Ms=!1,da=void 0;try{for(var Ua=this._models[Symbol.iterator](),As;!(Ys=(As=Ua.next()).done);Ys=!0){var ga=As.value;ga.subscriptions&&(Ya[ga.namespace]=ls(ga.subscriptions,ga,jr,_i))}}catch(we){Ms=!0,da=we}finally{try{!Ys&&Ua.return!=null&&Ua.return()}finally{if(Ms)throw da}}jr.model=nn.bind(jr,ye,_i,Ya),jr.unmodel=gn.bind(jr,ye,wi,Ya),jr.replaceModel=Qn.bind(jr,ye,wi,Ya,_i);function ye(){return Wi((0,c.UY)((0,l.Z)({},wi,ka,jr._store?jr._store.asyncReducers:{})))}}}var _o=e(37573),To=e(45097),Vo=e(4676);function uo(Ye){Ye()}let ca=uo;const cs=Ye=>ca=Ye,mo=()=>ca,vo=Symbol.for("react-redux-context"),go=typeof globalThis!="undefined"?globalThis:{};function hi(){var Ye;if(!i.createContext)return{};const Qe=(Ye=go[vo])!=null?Ye:go[vo]=new Map;let Mt=Qe.get(i.createContext);return Mt||(Mt=i.createContext(null),Qe.set(i.createContext,Mt)),Mt}const oi=hi();var Fa=null;function Va(Ye=oi){return function(){return(0,i.useContext)(Ye)}}const Xa=Va(),lo=()=>{throw new Error("uSES not initialized!")};let co=lo;const Po=Ye=>{co=Ye},Qa=(Ye,Qe)=>Ye===Qe;function Lo(Ye=oi){const Qe=Ye===oi?Xa:Va(Ye);return function(Kt,hr={}){const{equalityFn:Rr=Qa,stabilityCheck:jr=void 0,noopCheck:vn=void 0}=typeof hr=="function"?{equalityFn:hr}:hr,{store:nn,subscription:gn,getServerState:Qn,stabilityCheck:ni,noopCheck:_i}=Qe(),Ii=(0,i.useRef)(!0),Hi=(0,i.useCallback)({[Kt.name](wi){return Kt(wi)}}[Kt.name],[Kt,ni,jr]),Mi=co(gn.addNestedSub,nn.getState,Qn||nn.getState,Hi,Rr);return(0,i.useDebugValue)(Mi),Mi}}const yo=Lo();var Ko=e(5016),Tu=e(37417),_u=e(94266),fo=e.n(_u),fs=e(23265);const zu=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function Mo(Ye,Qe,Mt,Kt,{areStatesEqual:hr,areOwnPropsEqual:Rr,areStatePropsEqual:jr}){let vn=!1,nn,gn,Qn,ni,_i;function Ii(Ci,bi){return nn=Ci,gn=bi,Qn=Ye(nn,gn),ni=Qe(Kt,gn),_i=Mt(Qn,ni,gn),vn=!0,_i}function Hi(){return Qn=Ye(nn,gn),Qe.dependsOnOwnProps&&(ni=Qe(Kt,gn)),_i=Mt(Qn,ni,gn),_i}function Mi(){return Ye.dependsOnOwnProps&&(Qn=Ye(nn,gn)),Qe.dependsOnOwnProps&&(ni=Qe(Kt,gn)),_i=Mt(Qn,ni,gn),_i}function wi(){const Ci=Ye(nn,gn),bi=!jr(Ci,Qn);return Qn=Ci,bi&&(_i=Mt(Qn,ni,gn)),_i}function ma(Ci,bi){const fa=!Rr(bi,gn),Ks=!hr(Ci,nn,bi,gn);return nn=Ci,gn=bi,fa&&Ks?Hi():fa?Mi():Ks?wi():_i}return function(bi,fa){return vn?ma(bi,fa):Ii(bi,fa)}}function Io(Ye,Qe){let{initMapStateToProps:Mt,initMapDispatchToProps:Kt,initMergeProps:hr}=Qe,Rr=(0,Tu.Z)(Qe,zu);const jr=Mt(Ye,Rr),vn=Kt(Ye,Rr),nn=hr(Ye,Rr);return Mo(jr,vn,nn,Ye,Rr)}function Us(Ye,Qe){const Mt={};for(const Kt in Ye){const hr=Ye[Kt];typeof hr=="function"&&(Mt[Kt]=(...Rr)=>Qe(hr(...Rr)))}return Mt}function ou(Ye){return function(Mt){const Kt=Ye(Mt);function hr(){return Kt}return hr.dependsOnOwnProps=!1,hr}}function jo(Ye){return Ye.dependsOnOwnProps?!!Ye.dependsOnOwnProps:Ye.length!==1}function Do(Ye,Qe){return function(Kt,{displayName:hr}){const Rr=function(vn,nn){return Rr.dependsOnOwnProps?Rr.mapToProps(vn,nn):Rr.mapToProps(vn,void 0)};return Rr.dependsOnOwnProps=!0,Rr.mapToProps=function(vn,nn){Rr.mapToProps=Ye,Rr.dependsOnOwnProps=jo(Ye);let gn=Rr(vn,nn);return typeof gn=="function"&&(Rr.mapToProps=gn,Rr.dependsOnOwnProps=jo(gn),gn=Rr(vn,nn)),gn},Rr}}function Ls(Ye,Qe){return(Mt,Kt)=>{throw new Error(`Invalid value of type ${typeof Ye} for ${Qe} argument when connecting component ${Kt.wrappedComponentName}.`)}}function bo(Ye){return Ye&&typeof Ye=="object"?ou(Qe=>Us(Ye,Qe)):Ye?typeof Ye=="function"?Do(Ye,"mapDispatchToProps"):Ls(Ye,"mapDispatchToProps"):ou(Qe=>({dispatch:Qe}))}function mu(Ye){return Ye?typeof Ye=="function"?Do(Ye,"mapStateToProps"):Ls(Ye,"mapStateToProps"):ou(()=>({}))}function Fo(Ye,Qe,Mt){return(0,Ko.Z)({},Mt,Ye,Qe)}function Qt(Ye){return function(Mt,{displayName:Kt,areMergedPropsEqual:hr}){let Rr=!1,jr;return function(nn,gn,Qn){const ni=Ye(nn,gn,Qn);return Rr?hr(ni,jr)||(jr=ni):(Rr=!0,jr=ni),jr}}}function cr(Ye){return Ye?typeof Ye=="function"?Qt(Ye):Ls(Ye,"mergeProps"):()=>Fo}function sr(){const Ye=mo();let Qe=null,Mt=null;return{clear(){Qe=null,Mt=null},notify(){Ye(()=>{let Kt=Qe;for(;Kt;)Kt.callback(),Kt=Kt.next})},get(){let Kt=[],hr=Qe;for(;hr;)Kt.push(hr),hr=hr.next;return Kt},subscribe(Kt){let hr=!0,Rr=Mt={callback:Kt,next:null,prev:Mt};return Rr.prev?Rr.prev.next=Rr:Qe=Rr,function(){!hr||Qe===null||(hr=!1,Rr.next?Rr.next.prev=Rr.prev:Mt=Rr.prev,Rr.prev?Rr.prev.next=Rr.next:Qe=Rr.next)}}}}const vr={notify(){},get:()=>[]};function wr(Ye,Qe){let Mt,Kt=vr,hr=0,Rr=!1;function jr(Mi){Qn();const wi=Kt.subscribe(Mi);let ma=!1;return()=>{ma||(ma=!0,wi(),ni())}}function vn(){Kt.notify()}function nn(){Hi.onStateChange&&Hi.onStateChange()}function gn(){return Rr}function Qn(){hr++,Mt||(Mt=Qe?Qe.addNestedSub(nn):Ye.subscribe(nn),Kt=sr())}function ni(){hr--,Mt&&hr===0&&(Mt(),Mt=void 0,Kt.clear(),Kt=vr)}function _i(){Rr||(Rr=!0,Qn())}function Ii(){Rr&&(Rr=!1,ni())}const Hi={addNestedSub:jr,notifyNestedSubs:vn,handleChangeWrapper:nn,isSubscribed:gn,trySubscribe:_i,tryUnsubscribe:Ii,getListeners:()=>Kt};return Hi}const Sn=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?i.useLayoutEffect:i.useEffect;function Un(Ye,Qe){return Ye===Qe?Ye!==0||Qe!==0||1/Ye===1/Qe:Ye!==Ye&&Qe!==Qe}function Ln(Ye,Qe){if(Un(Ye,Qe))return!0;if(typeof Ye!="object"||Ye===null||typeof Qe!="object"||Qe===null)return!1;const Mt=Object.keys(Ye),Kt=Object.keys(Qe);if(Mt.length!==Kt.length)return!1;for(let hr=0;hr<Mt.length;hr++)if(!Object.prototype.hasOwnProperty.call(Qe,Mt[hr])||!Un(Ye[Mt[hr]],Qe[Mt[hr]]))return!1;return!0}const Gn=["reactReduxForwardedRef"];let ur=lo;const Fr=Ye=>{ur=Ye},xr=null,mn=[null,null],Hn=Ye=>{try{return JSON.stringify(Ye)}catch(Qe){return String(Ye)}};function ft(Ye,Qe,Mt){Sn(()=>Ye(...Qe),Mt)}function Pn(Ye,Qe,Mt,Kt,hr,Rr){Ye.current=Kt,Mt.current=!1,hr.current&&(hr.current=null,Rr())}function Vn(Ye,Qe,Mt,Kt,hr,Rr,jr,vn,nn,gn,Qn){if(!Ye)return()=>{};let ni=!1,_i=null;const Ii=()=>{if(ni||!vn.current)return;const Mi=Qe.getState();let wi,ma;try{wi=Kt(Mi,hr.current)}catch(Ci){ma=Ci,_i=Ci}ma||(_i=null),wi===Rr.current?jr.current||gn():(Rr.current=wi,nn.current=wi,jr.current=!0,Qn())};return Mt.onStateChange=Ii,Mt.trySubscribe(),Ii(),()=>{if(ni=!0,Mt.tryUnsubscribe(),Mt.onStateChange=null,_i)throw _i}}const li=()=>xr;function Qi(Ye,Qe){return Ye===Qe}let Nr=!1;function Li(Ye,Qe,Mt,{pure:Kt,areStatesEqual:hr=Qi,areOwnPropsEqual:Rr=Ln,areStatePropsEqual:jr=Ln,areMergedPropsEqual:vn=Ln,forwardRef:nn=!1,context:gn=oi}={}){const Qn=gn,ni=mu(Ye),_i=bo(Qe),Ii=cr(Mt),Hi=!!Ye;return wi=>{const ma=wi.displayName||wi.name||"Component",Ci=`Connect(${ma})`,bi={shouldHandleStateChanges:Hi,displayName:Ci,wrappedComponentName:ma,WrappedComponent:wi,initMapStateToProps:ni,initMapDispatchToProps:_i,initMergeProps:Ii,areStatesEqual:hr,areStatePropsEqual:jr,areOwnPropsEqual:Rr,areMergedPropsEqual:vn};function fa(Wi){const[ka,ea,ki]=i.useMemo(()=>{const{reactReduxForwardedRef:Mn}=Wi,Dn=(0,Tu.Z)(Wi,Gn);return[Wi.context,Mn,Dn]},[Wi]),va=i.useMemo(()=>ka&&ka.Consumer&&(0,fs.isContextConsumer)(i.createElement(ka.Consumer,null))?ka:Qn,[ka,Qn]),Ba=i.useContext(va),Ka=!!Wi.store&&!!Wi.store.getState&&!!Wi.store.dispatch,eo=!!Ba&&!!Ba.store,qa=Ka?Wi.store:Ba.store,so=eo?Ba.getServerState:qa.getState,Ya=i.useMemo(()=>Io(qa.dispatch,bi),[qa]),[Ys,Ms]=i.useMemo(()=>{if(!Hi)return mn;const Mn=wr(qa,Ka?void 0:Ba.subscription),Dn=Mn.notifyNestedSubs.bind(Mn);return[Mn,Dn]},[qa,Ka,Ba]),da=i.useMemo(()=>Ka?Ba:(0,Ko.Z)({},Ba,{subscription:Ys}),[Ka,Ba,Ys]),Ua=i.useRef(),As=i.useRef(ki),ga=i.useRef(),ye=i.useRef(!1),we=i.useRef(!1),yr=i.useRef(!1),Jr=i.useRef();Sn(()=>(yr.current=!0,()=>{yr.current=!1}),[]);const br=i.useMemo(()=>()=>ga.current&&ki===As.current?ga.current:Ya(qa.getState(),ki),[qa,ki]),Qr=i.useMemo(()=>Dn=>Ys?Vn(Hi,qa,Ys,Ya,As,Ua,ye,yr,ga,Ms,Dn):()=>{},[Ys]);ft(Pn,[As,Ua,ye,ki,ga,Ms]);let Cn;try{Cn=ur(Qr,br,so?()=>Ya(so(),ki):br)}catch(Mn){throw Jr.current&&(Mn.message+=`
The error may be correlated with this previous error:
${Jr.current.stack}
`),Mn}Sn(()=>{Jr.current=void 0,ga.current=void 0,Ua.current=Cn});const ri=i.useMemo(()=>i.createElement(wi,(0,Ko.Z)({},Cn,{ref:ea})),[ea,wi,Cn]);return i.useMemo(()=>Hi?i.createElement(va.Provider,{value:da},ri):ri,[va,ri,da])}const Es=i.memo(fa);if(Es.WrappedComponent=wi,Es.displayName=fa.displayName=Ci,nn){const ka=i.forwardRef(function(ki,va){return i.createElement(Es,(0,Ko.Z)({},ki,{reactReduxForwardedRef:va}))});return ka.displayName=Ci,ka.WrappedComponent=wi,fo()(ka,wi)}return fo()(Es,wi)}}var ba=Li;function zr({store:Ye,context:Qe,children:Mt,serverState:Kt,stabilityCheck:hr="once",noopCheck:Rr="once"}){const jr=i.useMemo(()=>{const gn=wr(Ye);return{store:Ye,subscription:gn,getServerState:Kt?()=>Kt:void 0,stabilityCheck:hr,noopCheck:Rr}},[Ye,Kt,hr,Rr]),vn=i.useMemo(()=>Ye.getState(),[Ye]);Sn(()=>{const{subscription:gn}=jr;return gn.onStateChange=gn.notifyNestedSubs,gn.trySubscribe(),vn!==Ye.getState()&&gn.notifyNestedSubs(),()=>{gn.tryUnsubscribe(),gn.onStateChange=void 0}},[jr,vn]);const nn=Qe||oi;return i.createElement(nn.Provider,{value:jr},Mt)}var na=zr;function Ss(Ye=oi){const Qe=Ye===oi?Xa:Va(Ye);return function(){const{store:Kt}=Qe();return Kt}}const ci=Ss();function Vs(Ye=oi){const Qe=Ye===oi?ci:Ss(Ye);return function(){return Qe().dispatch}}const xo=Vs();Po(To.useSyncExternalStoreWithSelector),Fr(_o.useSyncExternalStore),cs(Vo.unstable_batchedUpdates);var Os=Object.defineProperty,xa=Object.getOwnPropertySymbols,ds=Object.prototype.hasOwnProperty,ks=Object.prototype.propertyIsEnumerable,In=(Ye,Qe,Mt)=>Qe in Ye?Os(Ye,Qe,{enumerable:!0,configurable:!0,writable:!0,value:Mt}):Ye[Qe]=Mt,gs=(Ye,Qe)=>{for(var Mt in Qe||(Qe={}))ds.call(Qe,Mt)&&In(Ye,Mt,Qe[Mt]);if(xa)for(var Mt of xa(Qe))ks.call(Qe,Mt)&&In(Ye,Mt,Qe[Mt]);return Ye};function Ns(Ye){const Qe=create(Ye,{initialReducer:{},setupApp(){}}),Mt=Qe.start;return Qe.router=Kt,Qe.start=hr,Qe;function Kt(Rr){Qe._router=Rr}function hr(Rr){if(typeof Rr!="undefined")throw new Error("dva.start() should not be called with any arguments.");Qe._store||Mt.call(Qe);const jr=Qe._store,vn=Qe._router;return nn=>React.createElement(Provider,{store:jr},vn(gs({app:Qe},nn)))}}},58293:function(d,g,e){"use strict";e.d(g,{fi:function(){return _},m8:function(){return p}});var r=e(19340),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(L,T,D)=>T in L?i(L,T,{enumerable:!0,configurable:!0,writable:!0,value:D}):L[T]=D,a=(L,T)=>{for(var D in T||(T={}))s.call(T,D)&&u(L,D,T[D]);if(f)for(var D of f(T))h.call(T,D)&&u(L,D,T[D]);return L},x=(L,T)=>l(L,c(T));let p,y="/";function _(L){let T;return L.type==="hash"?T=(0,r.q_)():L.type==="memory"?T=(0,r.PP)(L):T=(0,r.lX)(),L.basename&&(y=L.basename),p=x(a({},T),{push(D,M){T.push(S(D,T),M)},replace(D,M){T.replace(S(D,T),M)},get location(){return T.location},get action(){return T.action}}),T}function b(L){L&&(p=L)}function S(L,T){if(typeof L=="string")return`${R(y)}${L}`;if(typeof L=="object"){const D=T.location.pathname;return x(a({},L),{pathname:L.pathname?`${R(y)}${L.pathname}`:D})}else throw new Error(`Unexpected to: ${L}`)}function R(L){return L.slice(-1)==="/"?L.slice(0,-1):L}},3191:function(d,g,e){"use strict";e.d(g,{gD:function(){return cn},We:function(){return or}});var r={};e.r(r),e.d(r,{dva:function(){return a}});var i={};e.r(i),e.d(i,{innerProvider:function(){return He}});var l={};e.r(l),e.d(l,{rootContainer:function(){return Ce}});var c={};e.r(c),e.d(c,{dataflowProvider:function(){return zt}});var f={};e.r(f),e.d(f,{i18nProvider:function(){return Ar}});var s=e(8591),h=e(61186),u=e.n(h);u().locale("ZH-cn");const a={config:{onError(Lt){s.ZP.error(Lt.message,3)}}};var x=e(59301),p=e(12708),y=e.n(p),_=e(12373),b=e.n(_),S=e(44520),R=e.n(S),L=e(19747),T=e.n(L);function D(){return D=Object.assign||function(Lt){for(var mt=1;mt<arguments.length;mt++){var gt=arguments[mt];for(var $t in gt)Object.prototype.hasOwnProperty.call(gt,$t)&&(Lt[$t]=gt[$t])}return Lt},D.apply(this,arguments)}function M(Lt,mt){Lt.prototype=Object.create(mt.prototype),Lt.prototype.constructor=Lt,N(Lt,mt)}function N(Lt,mt){return N=Object.setPrototypeOf||function(gt,$t){return gt.__proto__=$t,gt},N(Lt,mt)}function j(Lt,mt){if(Lt==null)return{};var gt,$t,Cr={},gr=Object.keys(Lt);for($t=0;$t<gr.length;$t++)mt.indexOf(gt=gr[$t])>=0||(Cr[gt]=Lt[gt]);return Cr}var Q={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},X={rel:["amphtml","canonical","alternate"]},Y={type:["application/ld+json"]},oe={charset:"",name:["robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]},ie=Object.keys(Q).map(function(Lt){return Q[Lt]}),ue={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},K=Object.keys(ue).reduce(function(Lt,mt){return Lt[ue[mt]]=mt,Lt},{}),V=function(Lt,mt){for(var gt=Lt.length-1;gt>=0;gt-=1){var $t=Lt[gt];if(Object.prototype.hasOwnProperty.call($t,mt))return $t[mt]}return null},G=function(Lt){var mt=V(Lt,Q.TITLE),gt=V(Lt,"titleTemplate");if(Array.isArray(mt)&&(mt=mt.join("")),gt&&mt)return gt.replace(/%s/g,function(){return mt});var $t=V(Lt,"defaultTitle");return mt||$t||void 0},te=function(Lt){return V(Lt,"onChangeClientState")||function(){}},q=function(Lt,mt){return mt.filter(function(gt){return gt[Lt]!==void 0}).map(function(gt){return gt[Lt]}).reduce(function(gt,$t){return D({},gt,$t)},{})},J=function(Lt,mt){return mt.filter(function(gt){return gt[Q.BASE]!==void 0}).map(function(gt){return gt[Q.BASE]}).reverse().reduce(function(gt,$t){if(!gt.length)for(var Cr=Object.keys($t),gr=0;gr<Cr.length;gr+=1){var ot=Cr[gr].toLowerCase();if(Lt.indexOf(ot)!==-1&&$t[ot])return gt.concat($t)}return gt},[])},le=function(Lt,mt,gt){var $t={};return gt.filter(function(Cr){return!!Array.isArray(Cr[Lt])||(Cr[Lt]!==void 0&&console&&typeof console.warn=="function"&&console.warn("Helmet: "+Lt+' should be of type "Array". Instead found type "'+typeof Cr[Lt]+'"'),!1)}).map(function(Cr){return Cr[Lt]}).reverse().reduce(function(Cr,gr){var ot={};gr.filter(function(tn){for(var hn,Fn=Object.keys(tn),ti=0;ti<Fn.length;ti+=1){var jn=Fn[ti],Zi=jn.toLowerCase();mt.indexOf(Zi)===-1||hn==="rel"&&tn[hn].toLowerCase()==="canonical"||Zi==="rel"&&tn[Zi].toLowerCase()==="stylesheet"||(hn=Zi),mt.indexOf(jn)===-1||jn!=="innerHTML"&&jn!=="cssText"&&jn!=="itemprop"||(hn=jn)}if(!hn||!tn[hn])return!1;var xi=tn[hn].toLowerCase();return $t[hn]||($t[hn]={}),ot[hn]||(ot[hn]={}),!$t[hn][xi]&&(ot[hn][xi]=!0,!0)}).reverse().forEach(function(tn){return Cr.push(tn)});for(var Mr=Object.keys(ot),yn=0;yn<Mr.length;yn+=1){var Zn=Mr[yn],mr=D({},$t[Zn],ot[Zn]);$t[Zn]=mr}return Cr},[]).reverse()},z=function(Lt,mt){if(Array.isArray(Lt)&&Lt.length){for(var gt=0;gt<Lt.length;gt+=1)if(Lt[gt][mt])return!0}return!1},F=function(Lt){return Array.isArray(Lt)?Lt.join(""):Lt},se=function(Lt,mt){return Array.isArray(Lt)?Lt.reduce(function(gt,$t){return function(Cr,gr){for(var ot=Object.keys(Cr),Mr=0;Mr<ot.length;Mr+=1)if(gr[ot[Mr]]&&gr[ot[Mr]].includes(Cr[ot[Mr]]))return!0;return!1}($t,mt)?gt.priority.push($t):gt.default.push($t),gt},{priority:[],default:[]}):{default:Lt}},_e=function(Lt,mt){var gt;return D({},Lt,((gt={})[mt]=void 0,gt))},Pe=[Q.NOSCRIPT,Q.SCRIPT,Q.STYLE],Re=function(Lt,mt){return mt===void 0&&(mt=!0),mt===!1?String(Lt):String(Lt).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")},Ze=function(Lt){return Object.keys(Lt).reduce(function(mt,gt){var $t=Lt[gt]!==void 0?gt+'="'+Lt[gt]+'"':""+gt;return mt?mt+" "+$t:$t},"")},$e=function(Lt,mt){return mt===void 0&&(mt={}),Object.keys(Lt).reduce(function(gt,$t){return gt[ue[$t]||$t]=Lt[$t],gt},mt)},Ht=function(Lt,mt){return mt.map(function(gt,$t){var Cr,gr=((Cr={key:$t})["data-rh"]=!0,Cr);return Object.keys(gt).forEach(function(ot){var Mr=ue[ot]||ot;Mr==="innerHTML"||Mr==="cssText"?gr.dangerouslySetInnerHTML={__html:gt.innerHTML||gt.cssText}:gr[Mr]=gt[ot]}),x.createElement(Lt,gr)})},bt=function(Lt,mt,gt){switch(Lt){case Q.TITLE:return{toComponent:function(){return Cr=mt.titleAttributes,(gr={key:$t=mt.title})["data-rh"]=!0,ot=$e(Cr,gr),[x.createElement(Q.TITLE,ot,$t)];var $t,Cr,gr,ot},toString:function(){return function($t,Cr,gr,ot){var Mr=Ze(gr),yn=F(Cr);return Mr?"<"+$t+' data-rh="true" '+Mr+">"+Re(yn,ot)+"</"+$t+">":"<"+$t+' data-rh="true">'+Re(yn,ot)+"</"+$t+">"}(Lt,mt.title,mt.titleAttributes,gt)}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return $e(mt)},toString:function(){return Ze(mt)}};default:return{toComponent:function(){return Ht(Lt,mt)},toString:function(){return function($t,Cr,gr){return Cr.reduce(function(ot,Mr){var yn=Object.keys(Mr).filter(function(tn){return!(tn==="innerHTML"||tn==="cssText")}).reduce(function(tn,hn){var Fn=Mr[hn]===void 0?hn:hn+'="'+Re(Mr[hn],gr)+'"';return tn?tn+" "+Fn:Fn},""),Zn=Mr.innerHTML||Mr.cssText||"",mr=Pe.indexOf($t)===-1;return ot+"<"+$t+' data-rh="true" '+yn+(mr?"/>":">"+Zn+"</"+$t+">")},"")}(Lt,mt,gt)}}}},Ot=function(Lt){var mt=Lt.baseTag,gt=Lt.bodyAttributes,$t=Lt.encode,Cr=Lt.htmlAttributes,gr=Lt.noscriptTags,ot=Lt.styleTags,Mr=Lt.title,yn=Mr===void 0?"":Mr,Zn=Lt.titleAttributes,mr=Lt.linkTags,tn=Lt.metaTags,hn=Lt.scriptTags,Fn={toComponent:function(){},toString:function(){return""}};if(Lt.prioritizeSeoTags){var ti=function(jn){var Zi=jn.linkTags,xi=jn.scriptTags,Si=jn.encode,Ei=se(jn.metaTags,oe),mi=se(Zi,X),Xi=se(xi,Y);return{priorityMethods:{toComponent:function(){return[].concat(Ht(Q.META,Ei.priority),Ht(Q.LINK,mi.priority),Ht(Q.SCRIPT,Xi.priority))},toString:function(){return bt(Q.META,Ei.priority,Si)+" "+bt(Q.LINK,mi.priority,Si)+" "+bt(Q.SCRIPT,Xi.priority,Si)}},metaTags:Ei.default,linkTags:mi.default,scriptTags:Xi.default}}(Lt);Fn=ti.priorityMethods,mr=ti.linkTags,tn=ti.metaTags,hn=ti.scriptTags}return{priority:Fn,base:bt(Q.BASE,mt,$t),bodyAttributes:bt("bodyAttributes",gt,$t),htmlAttributes:bt("htmlAttributes",Cr,$t),link:bt(Q.LINK,mr,$t),meta:bt(Q.META,tn,$t),noscript:bt(Q.NOSCRIPT,gr,$t),script:bt(Q.SCRIPT,hn,$t),style:bt(Q.STYLE,ot,$t),title:bt(Q.TITLE,{title:yn,titleAttributes:Zn},$t)}},qt=[],er=function(Lt,mt){var gt=this;mt===void 0&&(mt=typeof document!="undefined"),this.instances=[],this.value={setHelmet:function($t){gt.context.helmet=$t},helmetInstances:{get:function(){return gt.canUseDOM?qt:gt.instances},add:function($t){(gt.canUseDOM?qt:gt.instances).push($t)},remove:function($t){var Cr=(gt.canUseDOM?qt:gt.instances).indexOf($t);(gt.canUseDOM?qt:gt.instances).splice(Cr,1)}}},this.context=Lt,this.canUseDOM=mt,mt||(Lt.helmet=Ot({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))},Jt=x.createContext({}),Xe=y().shape({setHelmet:y().func,helmetInstances:y().shape({get:y().func,add:y().func,remove:y().func})}),Pt=typeof document!="undefined",Ut=function(Lt){function mt(gt){var $t;return($t=Lt.call(this,gt)||this).helmetData=new er($t.props.context,mt.canUseDOM),$t}return M(mt,Lt),mt.prototype.render=function(){return x.createElement(Jt.Provider,{value:this.helmetData.value},this.props.children)},mt}(x.Component);Ut.canUseDOM=Pt,Ut.propTypes={context:y().shape({helmet:y().shape()}),children:y().node.isRequired},Ut.defaultProps={context:{}},Ut.displayName="HelmetProvider";var st=function(Lt,mt){var gt,$t=document.head||document.querySelector(Q.HEAD),Cr=$t.querySelectorAll(Lt+"[data-rh]"),gr=[].slice.call(Cr),ot=[];return mt&&mt.length&&mt.forEach(function(Mr){var yn=document.createElement(Lt);for(var Zn in Mr)Object.prototype.hasOwnProperty.call(Mr,Zn)&&(Zn==="innerHTML"?yn.innerHTML=Mr.innerHTML:Zn==="cssText"?yn.styleSheet?yn.styleSheet.cssText=Mr.cssText:yn.appendChild(document.createTextNode(Mr.cssText)):yn.setAttribute(Zn,Mr[Zn]===void 0?"":Mr[Zn]));yn.setAttribute("data-rh","true"),gr.some(function(mr,tn){return gt=tn,yn.isEqualNode(mr)})?gr.splice(gt,1):ot.push(yn)}),gr.forEach(function(Mr){return Mr.parentNode.removeChild(Mr)}),ot.forEach(function(Mr){return $t.appendChild(Mr)}),{oldTags:gr,newTags:ot}},yt=function(Lt,mt){var gt=document.getElementsByTagName(Lt)[0];if(gt){for(var $t=gt.getAttribute("data-rh"),Cr=$t?$t.split(","):[],gr=[].concat(Cr),ot=Object.keys(mt),Mr=0;Mr<ot.length;Mr+=1){var yn=ot[Mr],Zn=mt[yn]||"";gt.getAttribute(yn)!==Zn&&gt.setAttribute(yn,Zn),Cr.indexOf(yn)===-1&&Cr.push(yn);var mr=gr.indexOf(yn);mr!==-1&&gr.splice(mr,1)}for(var tn=gr.length-1;tn>=0;tn-=1)gt.removeAttribute(gr[tn]);Cr.length===gr.length?gt.removeAttribute("data-rh"):gt.getAttribute("data-rh")!==ot.join(",")&&gt.setAttribute("data-rh",ot.join(","))}},ht=function(Lt,mt){var gt=Lt.baseTag,$t=Lt.htmlAttributes,Cr=Lt.linkTags,gr=Lt.metaTags,ot=Lt.noscriptTags,Mr=Lt.onChangeClientState,yn=Lt.scriptTags,Zn=Lt.styleTags,mr=Lt.title,tn=Lt.titleAttributes;yt(Q.BODY,Lt.bodyAttributes),yt(Q.HTML,$t),function(jn,Zi){jn!==void 0&&document.title!==jn&&(document.title=F(jn)),yt(Q.TITLE,Zi)}(mr,tn);var hn={baseTag:st(Q.BASE,gt),linkTags:st(Q.LINK,Cr),metaTags:st(Q.META,gr),noscriptTags:st(Q.NOSCRIPT,ot),scriptTags:st(Q.SCRIPT,yn),styleTags:st(Q.STYLE,Zn)},Fn={},ti={};Object.keys(hn).forEach(function(jn){var Zi=hn[jn],xi=Zi.newTags,Si=Zi.oldTags;xi.length&&(Fn[jn]=xi),Si.length&&(ti[jn]=hn[jn].oldTags)}),mt&&mt(),Mr(Lt,Fn,ti)},Je=null,je=function(Lt){function mt(){for(var $t,Cr=arguments.length,gr=new Array(Cr),ot=0;ot<Cr;ot++)gr[ot]=arguments[ot];return($t=Lt.call.apply(Lt,[this].concat(gr))||this).rendered=!1,$t}M(mt,Lt);var gt=mt.prototype;return gt.shouldComponentUpdate=function($t){return!T()($t,this.props)},gt.componentDidUpdate=function(){this.emitChange()},gt.componentWillUnmount=function(){this.props.context.helmetInstances.remove(this),this.emitChange()},gt.emitChange=function(){var $t,Cr,gr=this.props.context,ot=gr.setHelmet,Mr=null,yn=($t=gr.helmetInstances.get().map(function(Zn){var mr=D({},Zn.props);return delete mr.context,mr}),{baseTag:J(["href"],$t),bodyAttributes:q("bodyAttributes",$t),defer:V($t,"defer"),encode:V($t,"encodeSpecialCharacters"),htmlAttributes:q("htmlAttributes",$t),linkTags:le(Q.LINK,["rel","href"],$t),metaTags:le(Q.META,["name","charset","http-equiv","property","itemprop"],$t),noscriptTags:le(Q.NOSCRIPT,["innerHTML"],$t),onChangeClientState:te($t),scriptTags:le(Q.SCRIPT,["src","innerHTML"],$t),styleTags:le(Q.STYLE,["cssText"],$t),title:G($t),titleAttributes:q("titleAttributes",$t),prioritizeSeoTags:z($t,"prioritizeSeoTags")});Ut.canUseDOM?(Cr=yn,Je&&cancelAnimationFrame(Je),Cr.defer?Je=requestAnimationFrame(function(){ht(Cr,function(){Je=null})}):(ht(Cr),Je=null)):Ot&&(Mr=Ot(yn)),ot(Mr)},gt.init=function(){this.rendered||(this.rendered=!0,this.props.context.helmetInstances.add(this),this.emitChange())},gt.render=function(){return this.init(),null},mt}(x.Component);je.propTypes={context:Xe.isRequired},je.displayName="HelmetDispatcher";var ge=["children"],Se=["children"],Me=function(Lt){function mt(){return Lt.apply(this,arguments)||this}M(mt,Lt);var gt=mt.prototype;return gt.shouldComponentUpdate=function($t){return!b()(_e(this.props,"helmetData"),_e($t,"helmetData"))},gt.mapNestedChildrenToProps=function($t,Cr){if(!Cr)return null;switch($t.type){case Q.SCRIPT:case Q.NOSCRIPT:return{innerHTML:Cr};case Q.STYLE:return{cssText:Cr};default:throw new Error("<"+$t.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")}},gt.flattenArrayTypeChildren=function($t){var Cr,gr=$t.child,ot=$t.arrayTypeChildren;return D({},ot,((Cr={})[gr.type]=[].concat(ot[gr.type]||[],[D({},$t.newChildProps,this.mapNestedChildrenToProps(gr,$t.nestedChildren))]),Cr))},gt.mapObjectTypeChildren=function($t){var Cr,gr,ot=$t.child,Mr=$t.newProps,yn=$t.newChildProps,Zn=$t.nestedChildren;switch(ot.type){case Q.TITLE:return D({},Mr,((Cr={})[ot.type]=Zn,Cr.titleAttributes=D({},yn),Cr));case Q.BODY:return D({},Mr,{bodyAttributes:D({},yn)});case Q.HTML:return D({},Mr,{htmlAttributes:D({},yn)});default:return D({},Mr,((gr={})[ot.type]=D({},yn),gr))}},gt.mapArrayTypeChildrenToProps=function($t,Cr){var gr=D({},Cr);return Object.keys($t).forEach(function(ot){var Mr;gr=D({},gr,((Mr={})[ot]=$t[ot],Mr))}),gr},gt.warnOnInvalidChildren=function($t,Cr){return R()(ie.some(function(gr){return $t.type===gr}),typeof $t.type=="function"?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":"Only elements types "+ie.join(", ")+" are allowed. Helmet does not support rendering <"+$t.type+"> elements. Refer to our API for more information."),R()(!Cr||typeof Cr=="string"||Array.isArray(Cr)&&!Cr.some(function(gr){return typeof gr!="string"}),"Helmet expects a string as a child of <"+$t.type+">. Did you forget to wrap your children in braces? ( <"+$t.type+">{``}</"+$t.type+"> ) Refer to our API for more information."),!0},gt.mapChildrenToProps=function($t,Cr){var gr=this,ot={};return x.Children.forEach($t,function(Mr){if(Mr&&Mr.props){var yn=Mr.props,Zn=yn.children,mr=j(yn,ge),tn=Object.keys(mr).reduce(function(Fn,ti){return Fn[K[ti]||ti]=mr[ti],Fn},{}),hn=Mr.type;switch(typeof hn=="symbol"?hn=hn.toString():gr.warnOnInvalidChildren(Mr,Zn),hn){case Q.FRAGMENT:Cr=gr.mapChildrenToProps(Zn,Cr);break;case Q.LINK:case Q.META:case Q.NOSCRIPT:case Q.SCRIPT:case Q.STYLE:ot=gr.flattenArrayTypeChildren({child:Mr,arrayTypeChildren:ot,newChildProps:tn,nestedChildren:Zn});break;default:Cr=gr.mapObjectTypeChildren({child:Mr,newProps:Cr,newChildProps:tn,nestedChildren:Zn})}}}),this.mapArrayTypeChildrenToProps(ot,Cr)},gt.render=function(){var $t=this.props,Cr=$t.children,gr=j($t,Se),ot=D({},gr),Mr=gr.helmetData;return Cr&&(ot=this.mapChildrenToProps(Cr,ot)),!Mr||Mr instanceof er||(Mr=new er(Mr.context,Mr.instances)),Mr?x.createElement(je,D({},ot,{context:Mr.value,helmetData:void 0})):x.createElement(Jt.Consumer,null,function(yn){return x.createElement(je,D({},ot,{context:yn}))})},mt}(x.Component);Me.propTypes={base:y().object,bodyAttributes:y().object,children:y().oneOfType([y().arrayOf(y().node),y().node]),defaultTitle:y().string,defer:y().bool,encodeSpecialCharacters:y().bool,htmlAttributes:y().object,link:y().arrayOf(y().object),meta:y().arrayOf(y().object),noscript:y().arrayOf(y().object),onChangeClientState:y().func,script:y().arrayOf(y().object),style:y().arrayOf(y().object),title:y().string,titleAttributes:y().object,titleTemplate:y().string,prioritizeSeoTags:y().bool,helmetData:y().object},Me.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},Me.displayName="Helmet";const Ne={},He=Lt=>x.createElement(Ut,{context:Ne},Lt);var nt=e(92736),ct=e(25690),Vt=e(93083),Wt=e(61337),Ie=e(28440),qe=e.n(Ie),Gt=Object.defineProperty,kt=Object.getOwnPropertySymbols,Zt=Object.prototype.hasOwnProperty,Nt=Object.prototype.propertyIsEnumerable,Ct=(Lt,mt,gt)=>mt in Lt?Gt(Lt,mt,{enumerable:!0,configurable:!0,writable:!0,value:gt}):Lt[mt]=gt,Yt=(Lt,mt)=>{for(var gt in mt||(mt={}))Zt.call(mt,gt)&&Ct(Lt,gt,mt[gt]);if(kt)for(var gt of kt(mt))Nt.call(mt,gt)&&Ct(Lt,gt,mt[gt]);return Lt},We=(Lt,mt)=>{var gt={};for(var $t in Lt)Zt.call(Lt,$t)&&mt.indexOf($t)<0&&(gt[$t]=Lt[$t]);if(Lt!=null&&kt)for(var $t of kt(Lt))mt.indexOf($t)<0&&Nt.call(Lt,$t)&&(gt[$t]=Lt[$t]);return gt};let fe=null;const pe=()=>(fe||(fe=or().applyPlugins({key:"antd",type:ct.ApplyPluginsType.modify,initialValue:Yt({},{componentSize:"middle"})})),fe);function Dt({children:Lt}){let mt=Lt;const[gt,$t]=x.useState(()=>{const gr=pe(),{appConfig:ot}=gr;return We(gr,["appConfig"])}),Cr=gr=>{$t(ot=>qe()({},ot,typeof gr=="function"?gr(ot):gr))};return gt.prefixCls&&nt.ZP.config({prefixCls:gt.prefixCls}),gt.iconPrefixCls&&nt.ZP.config({iconPrefixCls:gt.iconPrefixCls}),gt.theme&&nt.ZP.config({theme:gt.theme}),mt=x.createElement(nt.ZP,Yt({},gt),mt),mt=x.createElement(Vt.StyleProvider,{hashPriority:"high"},mt),mt=x.createElement(Wt.C.Provider,{value:Cr},x.createElement(Wt.S.Provider,{value:gt},mt)),mt}function Ce(Lt){return x.createElement(Dt,null,Lt)}var dt=e(64839);function zt(Lt,mt){return x.createElement(dt.j,mt,Lt)}var Tt=e(65517),Oe=e(18956),St=e(81863),be=Object.defineProperty,Ke=Object.getOwnPropertySymbols,vt=Object.prototype.hasOwnProperty,Rt=Object.prototype.propertyIsEnumerable,Fe=(Lt,mt,gt)=>mt in Lt?be(Lt,mt,{enumerable:!0,configurable:!0,writable:!0,value:gt}):Lt[mt]=gt,kr=(Lt,mt)=>{for(var gt in mt||(mt={}))vt.call(mt,gt)&&Fe(Lt,gt,mt[gt]);if(Ke)for(var gt of Ke(mt))Rt.call(mt,gt)&&Fe(Lt,gt,mt[gt]);return Lt};function At(){var Lt,mt;const gt=getLocale();(Lt=moment)!=null&&Lt.locale&&moment.locale(((mt=localeInfo[gt])==null?void 0:mt.momentLocale)||"zh-cn"),setIntl(gt)}const Kr=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?x.useLayoutEffect:x.useEffect,qr=Lt=>{var mt;const gt=(0,Oe.Kd)(),[$t,Cr]=x.useState(gt),[gr,ot]=x.useState(()=>(0,Oe.lw)($t,!0)),Mr=mr=>{var tn,hn;(tn=u())!=null&&tn.locale&&u().locale(((hn=Oe.H8[mr])==null?void 0:hn.momentLocale)||"en"),Cr(mr),ot((0,Oe.lw)(mr))};Kr(()=>(Oe.B.on(Oe.PZ,Mr),()=>{Oe.B.off(Oe.PZ,Mr)}),[]);const yn=kr({},St.Z),Zn=(0,Oe.Mg)();return x.createElement(nt.ZP,{direction:Zn,locale:((mt=Oe.H8[$t])==null?void 0:mt.antd)||yn},x.createElement(Oe.eU,{value:gr},Lt.children))};function Ar(Lt){return x.createElement(qr,null,Lt)}function Br(Lt){return Lt.default?typeof Lt.default=="function"?Lt.default():Lt.default:Lt}function _r(){return[{apply:Br(r),path:void 0},{apply:i,path:void 0},{apply:l,path:void 0},{apply:c,path:void 0},{apply:f,path:void 0}]}function Ur(){return["patchRoutes","patchClientRoutes","modifyContextOpts","modifyClientRenderOpts","rootContainer","innerProvider","i18nProvider","accessProvider","dataflowProvider","outerProvider","render","onRouteChange","antd","dva","locale","qiankun"]}let sn=null;function cn(){return sn=ct.PluginManager.create({plugins:_r(),validKeys:Ur()}),sn}function or(){return sn}},25690:function(d,g,e){"use strict";e.d(g,{ApplyPluginsType:function(){return Pt},Link:function(){return V},Outlet:function(){return G.j3},PluginManager:function(){return Ut},connect:function(){return f.$j},getDvaApp:function(){return s.Q},history:function(){return st.m8},useAppData:function(){return Y.Ov},useDispatch:function(){return f.I0},useLocation:function(){return G.TH},useOutletContext:function(){return G.bx},useParams:function(){return G.UO},useSearchParams:function(){return X.lr},useSelector:function(){return f.v9}});var r=e(59301),i=e(61337);function l(){return React.useContext(AntdConfigContext)}function c(){return React.useContext(AntdConfigContextSetter)}var f=e(2339),s=e(64839),h=e(18956),u=Object.defineProperty,a=Object.defineProperties,x=Object.getOwnPropertyDescriptors,p=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,_=Object.prototype.propertyIsEnumerable,b=(He,nt,ct)=>nt in He?u(He,nt,{enumerable:!0,configurable:!0,writable:!0,value:ct}):He[nt]=ct,S=(He,nt)=>{for(var ct in nt||(nt={}))y.call(nt,ct)&&b(He,ct,nt[ct]);if(p)for(var ct of p(nt))_.call(nt,ct)&&b(He,ct,nt[ct]);return He},R=(He,nt)=>a(He,x(nt)),L=(He,nt)=>{var ct={};for(var Vt in He)y.call(He,Vt)&&nt.indexOf(Vt)<0&&(ct[Vt]=He[Vt]);if(He!=null&&p)for(var Vt of p(He))nt.indexOf(Vt)<0&&_.call(He,Vt)&&(ct[Vt]=He[Vt]);return ct};const T=He=>{var nt=He,{overlayClassName:ct}=nt,Vt=L(nt,["overlayClassName"]);return React.createElement(Dropdown,S({overlayClassName:ct},Vt))},D=He=>He.reduce((nt,ct)=>ct.lang?R(S({},nt),{[ct.lang]:ct}):nt,{}),M={"ar-EG":{lang:"ar-EG",label:"\u0627\u0644\u0639\u0631\u0628\u064A\u0629",icon:"\u{1F1EA}\u{1F1EC}",title:"\u0644\u063A\u0629"},"az-AZ":{lang:"az-AZ",label:"Az\u0259rbaycan dili",icon:"\u{1F1E6}\u{1F1FF}",title:"Dil"},"bg-BG":{lang:"bg-BG",label:"\u0411\u044A\u043B\u0433\u0430\u0440\u0441\u043A\u0438 \u0435\u0437\u0438\u043A",icon:"\u{1F1E7}\u{1F1EC}",title:"\u0435\u0437\u0438\u043A"},"bn-BD":{lang:"bn-BD",label:"\u09AC\u09BE\u0982\u09B2\u09BE",icon:"\u{1F1E7}\u{1F1E9}",title:"\u09AD\u09BE\u09B7\u09BE"},"ca-ES":{lang:"ca-ES",label:"Catal\xE1",icon:"\u{1F1E8}\u{1F1E6}",title:"llengua"},"cs-CZ":{lang:"cs-CZ",label:"\u010Ce\u0161tina",icon:"\u{1F1E8}\u{1F1FF}",title:"Jazyk"},"da-DK":{lang:"da-DK",label:"Dansk",icon:"\u{1F1E9}\u{1F1F0}",title:"Sprog"},"de-DE":{lang:"de-DE",label:"Deutsch",icon:"\u{1F1E9}\u{1F1EA}",title:"Sprache"},"el-GR":{lang:"el-GR",label:"\u0395\u03BB\u03BB\u03B7\u03BD\u03B9\u03BA\u03AC",icon:"\u{1F1EC}\u{1F1F7}",title:"\u0393\u03BB\u03CE\u03C3\u03C3\u03B1"},"en-GB":{lang:"en-GB",label:"English",icon:"\u{1F1EC}\u{1F1E7}",title:"Language"},"en-US":{lang:"en-US",label:"English",icon:"\u{1F1FA}\u{1F1F8}",title:"Language"},"es-ES":{lang:"es-ES",label:"Espa\xF1ol",icon:"\u{1F1EA}\u{1F1F8}",title:"Idioma"},"et-EE":{lang:"et-EE",label:"Eesti",icon:"\u{1F1EA}\u{1F1EA}",title:"Keel"},"fa-IR":{lang:"fa-IR",label:"\u0641\u0627\u0631\u0633\u06CC",icon:"\u{1F1EE}\u{1F1F7}",title:"\u0632\u0628\u0627\u0646"},"fi-FI":{lang:"fi-FI",label:"Suomi",icon:"\u{1F1EB}\u{1F1EE}",title:"Kieli"},"fr-BE":{lang:"fr-BE",label:"Fran\xE7ais",icon:"\u{1F1E7}\u{1F1EA}",title:"Langue"},"fr-FR":{lang:"fr-FR",label:"Fran\xE7ais",icon:"\u{1F1EB}\u{1F1F7}",title:"Langue"},"ga-IE":{lang:"ga-IE",label:"Gaeilge",icon:"\u{1F1EE}\u{1F1EA}",title:"Teanga"},"he-IL":{lang:"he-IL",label:"\u05E2\u05D1\u05E8\u05D9\u05EA",icon:"\u{1F1EE}\u{1F1F1}",title:"\u05E9\u05E4\u05D4"},"hi-IN":{lang:"hi-IN",label:"\u0939\u093F\u0928\u094D\u0926\u0940, \u0939\u093F\u0902\u0926\u0940",icon:"\u{1F1EE}\u{1F1F3}",title:"\u092D\u093E\u0937\u093E: \u0939\u093F\u0928\u094D\u0926\u0940"},"hr-HR":{lang:"hr-HR",label:"Hrvatski jezik",icon:"\u{1F1ED}\u{1F1F7}",title:"Jezik"},"hu-HU":{lang:"hu-HU",label:"Magyar",icon:"\u{1F1ED}\u{1F1FA}",title:"Nyelv"},"hy-AM":{lang:"hu-HU",label:"\u0540\u0561\u0575\u0565\u0580\u0565\u0576",icon:"\u{1F1E6}\u{1F1F2}",title:"\u053C\u0565\u0566\u0578\u0582"},"id-ID":{lang:"id-ID",label:"Bahasa Indonesia",icon:"\u{1F1EE}\u{1F1E9}",title:"Bahasa"},"it-IT":{lang:"it-IT",label:"Italiano",icon:"\u{1F1EE}\u{1F1F9}",title:"Linguaggio"},"is-IS":{lang:"is-IS",label:"\xCDslenska",icon:"\u{1F1EE}\u{1F1F8}",title:"Tungum\xE1l"},"ja-JP":{lang:"ja-JP",label:"\u65E5\u672C\u8A9E",icon:"\u{1F1EF}\u{1F1F5}",title:"\u8A00\u8A9E"},"ku-IQ":{lang:"ku-IQ",label:"\u06A9\u0648\u0631\u062F\u06CC",icon:"\u{1F1EE}\u{1F1F6}",title:"Ziman"},"kn-IN":{lang:"kn-IN",label:"\u0C95\u0CA8\u0CCD\u0CA8\u0CA1",icon:"\u{1F1EE}\u{1F1F3}",title:"\u0CAD\u0CBE\u0CB7\u0CC6"},"ko-KR":{lang:"ko-KR",label:"\uD55C\uAD6D\uC5B4",icon:"\u{1F1F0}\u{1F1F7}",title:"\uC5B8\uC5B4"},"lv-LV":{lang:"lv-LV",label:"Latvie\u0161u valoda",icon:"\u{1F1F1}\u{1F1EE}",title:"Kalba"},"mk-MK":{lang:"mk-MK",label:"\u043C\u0430\u043A\u0435\u0434\u043E\u043D\u0441\u043A\u0438 \u0458\u0430\u0437\u0438\u043A",icon:"\u{1F1F2}\u{1F1F0}",title:"\u0408\u0430\u0437\u0438\u043A"},"mn-MN":{lang:"mn-MN",label:"\u041C\u043E\u043D\u0433\u043E\u043B \u0445\u044D\u043B",icon:"\u{1F1F2}\u{1F1F3}",title:"\u0425\u044D\u043B"},"ms-MY":{lang:"ms-MY",label:"\u0628\u0647\u0627\u0633 \u0645\u0644\u0627\u064A\u0648\u200E",icon:"\u{1F1F2}\u{1F1FE}",title:"Bahasa"},"nb-NO":{lang:"nb-NO",label:"Norsk",icon:"\u{1F1F3}\u{1F1F4}",title:"Spr\xE5k"},"ne-NP":{lang:"ne-NP",label:"\u0928\u0947\u092A\u093E\u0932\u0940",icon:"\u{1F1F3}\u{1F1F5}",title:"\u092D\u093E\u0937\u093E"},"nl-BE":{lang:"nl-BE",label:"Vlaams",icon:"\u{1F1E7}\u{1F1EA}",title:"Taal"},"nl-NL":{lang:"nl-NL",label:"Nederlands",icon:"\u{1F1F3}\u{1F1F1}",title:"Taal"},"pl-PL":{lang:"pl-PL",label:"Polski",icon:"\u{1F1F5}\u{1F1F1}",title:"J\u0119zyk"},"pt-BR":{lang:"pt-BR",label:"Portugu\xEAs",icon:"\u{1F1E7}\u{1F1F7}",title:"Idiomas"},"pt-PT":{lang:"pt-PT",label:"Portugu\xEAs",icon:"\u{1F1F5}\u{1F1F9}",title:"Idiomas"},"ro-RO":{lang:"ro-RO",label:"Rom\xE2n\u0103",icon:"\u{1F1F7}\u{1F1F4}",title:"Limba"},"ru-RU":{lang:"ru-RU",label:"\u0420\u0443\u0441\u0441\u043A\u0438\u0439",icon:"\u{1F1F7}\u{1F1FA}",title:"\u044F\u0437\u044B\u043A"},"sk-SK":{lang:"sk-SK",label:"Sloven\u010Dina",icon:"\u{1F1F8}\u{1F1F0}",title:"Jazyk"},"sr-RS":{lang:"sr-RS",label:"\u0441\u0440\u043F\u0441\u043A\u0438 \u0458\u0435\u0437\u0438\u043A",icon:"\u{1F1F8}\u{1F1F7}",title:"\u0408\u0435\u0437\u0438\u043A"},"sl-SI":{lang:"sl-SI",label:"Sloven\u0161\u010Dina",icon:"\u{1F1F8}\u{1F1F1}",title:"Jezik"},"sv-SE":{lang:"sv-SE",label:"Svenska",icon:"\u{1F1F8}\u{1F1EA}",title:"Spr\xE5k"},"ta-IN":{lang:"ta-IN",label:"\u0BA4\u0BAE\u0BBF\u0BB4\u0BCD",icon:"\u{1F1EE}\u{1F1F3}",title:"\u0BAE\u0BCA\u0BB4\u0BBF"},"th-TH":{lang:"th-TH",label:"\u0E44\u0E17\u0E22",icon:"\u{1F1F9}\u{1F1ED}",title:"\u0E20\u0E32\u0E29\u0E32"},"tr-TR":{lang:"tr-TR",label:"T\xFCrk\xE7e",icon:"\u{1F1F9}\u{1F1F7}",title:"Dil"},"uk-UA":{lang:"uk-UA",label:"\u0423\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u0430",icon:"\u{1F1FA}\u{1F1F0}",title:"\u041C\u043E\u0432\u0430"},"vi-VN":{lang:"vi-VN",label:"Ti\u1EBFng Vi\u1EC7t",icon:"\u{1F1FB}\u{1F1F3}",title:"Ng\xF4n ng\u1EEF"},"zh-CN":{lang:"zh-CN",label:"\u7B80\u4F53\u4E2D\u6587",icon:"\u{1F1E8}\u{1F1F3}",title:"\u8BED\u8A00"},"zh-TW":{lang:"zh-TW",label:"\u7E41\u9AD4\u4E2D\u6587",icon:"\u{1F1ED}\u{1F1F0}",title:"\u8A9E\u8A00"}},N=He=>React.createElement(React.Fragment,null);var j=e(38329),Q=e(38127),X=e(32451),Y=e(91231),oe=e(87296);function ie(He,nt){var ct=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Vt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(typeof IntersectionObserver!="function")return null;var Wt=r.useRef(typeof IntersectionObserver=="function"),Ie=r.useRef(null);return r.useEffect(function(){if(!(!He.current||!Wt.current||Vt.disabled))return Ie.current=new IntersectionObserver(function(qe){var Gt=(0,oe.Z)(qe,1),kt=Gt[0];nt(kt)},ct),Ie.current.observe(He.current),function(){var qe;(qe=Ie.current)===null||qe===void 0||qe.disconnect()}},[nt,ct,Vt.disabled,He]),Ie.current}var ue=["prefetch"];function K(He){var nt=r.useRef(null);return r.useEffect(function(){He&&(typeof He=="function"?He(nt.current):He.current=nt.current)}),nt}var V=r.forwardRef(function(He,nt){var ct,Vt=He.prefetch,Wt=(0,Q.Z)(He,ue),Ie=typeof window!="undefined"&&window.__umi_route_prefetch__||{defaultPrefetch:"none",defaultPrefetchTimeout:50},qe=Ie.defaultPrefetch,Gt=Ie.defaultPrefetchTimeout,kt=(Vt===!0?"intent":Vt===!1?"none":Vt)||qe;if(!["intent","render","viewport","none"].includes(kt))throw new Error("Invalid prefetch value ".concat(kt," found in Link component"));var Zt=(0,Y.Ov)(),Nt=typeof He.to=="string"?He.to:(ct=He.to)===null||ct===void 0?void 0:ct.pathname,Ct=r.useRef(!1),Yt=K(nt),We=function(Dt){if(kt==="intent"){var Ce=Dt.target||{};Ce.preloadTimeout||(Ce.preloadTimeout=setTimeout(function(){var dt;Ce.preloadTimeout=null,(dt=Zt.preloadRoute)===null||dt===void 0||dt.call(Zt,Nt)},He.prefetchTimeout||Gt))}},fe=function(Dt){if(kt==="intent"){var Ce=Dt.target||{};Ce.preloadTimeout&&(clearTimeout(Ce.preloadTimeout),Ce.preloadTimeout=null)}};return(0,r.useLayoutEffect)(function(){if(kt==="render"&&!Ct.current){var pe;(pe=Zt.preloadRoute)===null||pe===void 0||pe.call(Zt,Nt),Ct.current=!0}},[kt,Nt]),ie(Yt,function(pe){if(pe!=null&&pe.isIntersecting){var Dt;(Dt=Zt.preloadRoute)===null||Dt===void 0||Dt.call(Zt,Nt)}},{rootMargin:"100px"},{disabled:kt!=="viewport"}),Nt?r.createElement(X.rU,(0,j.Z)({onMouseEnter:We,onMouseLeave:fe,ref:Yt},Wt),He.children):null}),G=e(35338),te=e(8616);function q(){"use strict";q=function(){return nt};var He,nt={},ct=Object.prototype,Vt=ct.hasOwnProperty,Wt=Object.defineProperty||function(Ar,Br,_r){Ar[Br]=_r.value},Ie=typeof Symbol=="function"?Symbol:{},qe=Ie.iterator||"@@iterator",Gt=Ie.asyncIterator||"@@asyncIterator",kt=Ie.toStringTag||"@@toStringTag";function Zt(Ar,Br,_r){return Object.defineProperty(Ar,Br,{value:_r,enumerable:!0,configurable:!0,writable:!0}),Ar[Br]}try{Zt({},"")}catch(Ar){Zt=function(_r,Ur,sn){return _r[Ur]=sn}}function Nt(Ar,Br,_r,Ur){var sn=Br&&Br.prototype instanceof Ce?Br:Ce,cn=Object.create(sn.prototype),or=new Kr(Ur||[]);return Wt(cn,"_invoke",{value:Rt(Ar,_r,or)}),cn}function Ct(Ar,Br,_r){try{return{type:"normal",arg:Ar.call(Br,_r)}}catch(Ur){return{type:"throw",arg:Ur}}}nt.wrap=Nt;var Yt="suspendedStart",We="suspendedYield",fe="executing",pe="completed",Dt={};function Ce(){}function dt(){}function zt(){}var Tt={};Zt(Tt,qe,function(){return this});var Oe=Object.getPrototypeOf,St=Oe&&Oe(Oe(qr([])));St&&St!==ct&&Vt.call(St,qe)&&(Tt=St);var be=zt.prototype=Ce.prototype=Object.create(Tt);function Ke(Ar){["next","throw","return"].forEach(function(Br){Zt(Ar,Br,function(_r){return this._invoke(Br,_r)})})}function vt(Ar,Br){function _r(sn,cn,or,Lt){var mt=Ct(Ar[sn],Ar,cn);if(mt.type!=="throw"){var gt=mt.arg,$t=gt.value;return $t&&(0,te.Z)($t)=="object"&&Vt.call($t,"__await")?Br.resolve($t.__await).then(function(Cr){_r("next",Cr,or,Lt)},function(Cr){_r("throw",Cr,or,Lt)}):Br.resolve($t).then(function(Cr){gt.value=Cr,or(gt)},function(Cr){return _r("throw",Cr,or,Lt)})}Lt(mt.arg)}var Ur;Wt(this,"_invoke",{value:function(cn,or){function Lt(){return new Br(function(mt,gt){_r(cn,or,mt,gt)})}return Ur=Ur?Ur.then(Lt,Lt):Lt()}})}function Rt(Ar,Br,_r){var Ur=Yt;return function(sn,cn){if(Ur===fe)throw new Error("Generator is already running");if(Ur===pe){if(sn==="throw")throw cn;return{value:He,done:!0}}for(_r.method=sn,_r.arg=cn;;){var or=_r.delegate;if(or){var Lt=Fe(or,_r);if(Lt){if(Lt===Dt)continue;return Lt}}if(_r.method==="next")_r.sent=_r._sent=_r.arg;else if(_r.method==="throw"){if(Ur===Yt)throw Ur=pe,_r.arg;_r.dispatchException(_r.arg)}else _r.method==="return"&&_r.abrupt("return",_r.arg);Ur=fe;var mt=Ct(Ar,Br,_r);if(mt.type==="normal"){if(Ur=_r.done?pe:We,mt.arg===Dt)continue;return{value:mt.arg,done:_r.done}}mt.type==="throw"&&(Ur=pe,_r.method="throw",_r.arg=mt.arg)}}}function Fe(Ar,Br){var _r=Br.method,Ur=Ar.iterator[_r];if(Ur===He)return Br.delegate=null,_r==="throw"&&Ar.iterator.return&&(Br.method="return",Br.arg=He,Fe(Ar,Br),Br.method==="throw")||_r!=="return"&&(Br.method="throw",Br.arg=new TypeError("The iterator does not provide a '"+_r+"' method")),Dt;var sn=Ct(Ur,Ar.iterator,Br.arg);if(sn.type==="throw")return Br.method="throw",Br.arg=sn.arg,Br.delegate=null,Dt;var cn=sn.arg;return cn?cn.done?(Br[Ar.resultName]=cn.value,Br.next=Ar.nextLoc,Br.method!=="return"&&(Br.method="next",Br.arg=He),Br.delegate=null,Dt):cn:(Br.method="throw",Br.arg=new TypeError("iterator result is not an object"),Br.delegate=null,Dt)}function kr(Ar){var Br={tryLoc:Ar[0]};1 in Ar&&(Br.catchLoc=Ar[1]),2 in Ar&&(Br.finallyLoc=Ar[2],Br.afterLoc=Ar[3]),this.tryEntries.push(Br)}function At(Ar){var Br=Ar.completion||{};Br.type="normal",delete Br.arg,Ar.completion=Br}function Kr(Ar){this.tryEntries=[{tryLoc:"root"}],Ar.forEach(kr,this),this.reset(!0)}function qr(Ar){if(Ar||Ar===""){var Br=Ar[qe];if(Br)return Br.call(Ar);if(typeof Ar.next=="function")return Ar;if(!isNaN(Ar.length)){var _r=-1,Ur=function sn(){for(;++_r<Ar.length;)if(Vt.call(Ar,_r))return sn.value=Ar[_r],sn.done=!1,sn;return sn.value=He,sn.done=!0,sn};return Ur.next=Ur}}throw new TypeError((0,te.Z)(Ar)+" is not iterable")}return dt.prototype=zt,Wt(be,"constructor",{value:zt,configurable:!0}),Wt(zt,"constructor",{value:dt,configurable:!0}),dt.displayName=Zt(zt,kt,"GeneratorFunction"),nt.isGeneratorFunction=function(Ar){var Br=typeof Ar=="function"&&Ar.constructor;return!!Br&&(Br===dt||(Br.displayName||Br.name)==="GeneratorFunction")},nt.mark=function(Ar){return Object.setPrototypeOf?Object.setPrototypeOf(Ar,zt):(Ar.__proto__=zt,Zt(Ar,kt,"GeneratorFunction")),Ar.prototype=Object.create(be),Ar},nt.awrap=function(Ar){return{__await:Ar}},Ke(vt.prototype),Zt(vt.prototype,Gt,function(){return this}),nt.AsyncIterator=vt,nt.async=function(Ar,Br,_r,Ur,sn){sn===void 0&&(sn=Promise);var cn=new vt(Nt(Ar,Br,_r,Ur),sn);return nt.isGeneratorFunction(Br)?cn:cn.next().then(function(or){return or.done?or.value:cn.next()})},Ke(be),Zt(be,kt,"Generator"),Zt(be,qe,function(){return this}),Zt(be,"toString",function(){return"[object Generator]"}),nt.keys=function(Ar){var Br=Object(Ar),_r=[];for(var Ur in Br)_r.push(Ur);return _r.reverse(),function sn(){for(;_r.length;){var cn=_r.pop();if(cn in Br)return sn.value=cn,sn.done=!1,sn}return sn.done=!0,sn}},nt.values=qr,Kr.prototype={constructor:Kr,reset:function(Br){if(this.prev=0,this.next=0,this.sent=this._sent=He,this.done=!1,this.delegate=null,this.method="next",this.arg=He,this.tryEntries.forEach(At),!Br)for(var _r in this)_r.charAt(0)==="t"&&Vt.call(this,_r)&&!isNaN(+_r.slice(1))&&(this[_r]=He)},stop:function(){this.done=!0;var Br=this.tryEntries[0].completion;if(Br.type==="throw")throw Br.arg;return this.rval},dispatchException:function(Br){if(this.done)throw Br;var _r=this;function Ur(gt,$t){return or.type="throw",or.arg=Br,_r.next=gt,$t&&(_r.method="next",_r.arg=He),!!$t}for(var sn=this.tryEntries.length-1;sn>=0;--sn){var cn=this.tryEntries[sn],or=cn.completion;if(cn.tryLoc==="root")return Ur("end");if(cn.tryLoc<=this.prev){var Lt=Vt.call(cn,"catchLoc"),mt=Vt.call(cn,"finallyLoc");if(Lt&&mt){if(this.prev<cn.catchLoc)return Ur(cn.catchLoc,!0);if(this.prev<cn.finallyLoc)return Ur(cn.finallyLoc)}else if(Lt){if(this.prev<cn.catchLoc)return Ur(cn.catchLoc,!0)}else{if(!mt)throw new Error("try statement without catch or finally");if(this.prev<cn.finallyLoc)return Ur(cn.finallyLoc)}}}},abrupt:function(Br,_r){for(var Ur=this.tryEntries.length-1;Ur>=0;--Ur){var sn=this.tryEntries[Ur];if(sn.tryLoc<=this.prev&&Vt.call(sn,"finallyLoc")&&this.prev<sn.finallyLoc){var cn=sn;break}}cn&&(Br==="break"||Br==="continue")&&cn.tryLoc<=_r&&_r<=cn.finallyLoc&&(cn=null);var or=cn?cn.completion:{};return or.type=Br,or.arg=_r,cn?(this.method="next",this.next=cn.finallyLoc,Dt):this.complete(or)},complete:function(Br,_r){if(Br.type==="throw")throw Br.arg;return Br.type==="break"||Br.type==="continue"?this.next=Br.arg:Br.type==="return"?(this.rval=this.arg=Br.arg,this.method="return",this.next="end"):Br.type==="normal"&&_r&&(this.next=_r),Dt},finish:function(Br){for(var _r=this.tryEntries.length-1;_r>=0;--_r){var Ur=this.tryEntries[_r];if(Ur.finallyLoc===Br)return this.complete(Ur.completion,Ur.afterLoc),At(Ur),Dt}},catch:function(Br){for(var _r=this.tryEntries.length-1;_r>=0;--_r){var Ur=this.tryEntries[_r];if(Ur.tryLoc===Br){var sn=Ur.completion;if(sn.type==="throw"){var cn=sn.arg;At(Ur)}return cn}}throw new Error("illegal catch attempt")},delegateYield:function(Br,_r,Ur){return this.delegate={iterator:qr(Br),resultName:_r,nextLoc:Ur},this.method==="next"&&(this.arg=He),Dt}},nt}var J=e(63579);function le(He,nt,ct,Vt,Wt,Ie,qe){try{var Gt=He[Ie](qe),kt=Gt.value}catch(Zt){ct(Zt);return}Gt.done?nt(kt):Promise.resolve(kt).then(Vt,Wt)}function z(He){return function(){var nt=this,ct=arguments;return new Promise(function(Vt,Wt){var Ie=He.apply(nt,ct);function qe(kt){le(Ie,Vt,Wt,qe,Gt,"next",kt)}function Gt(kt){le(Ie,Vt,Wt,qe,Gt,"throw",kt)}qe(void 0)})}}var F=e(99227);function se(He,nt){var ct=typeof Symbol!="undefined"&&He[Symbol.iterator]||He["@@iterator"];if(!ct){if(Array.isArray(He)||(ct=(0,F.Z)(He))||nt&&He&&typeof He.length=="number"){ct&&(He=ct);var Vt=0,Wt=function(){};return{s:Wt,n:function(){return Vt>=He.length?{done:!0}:{done:!1,value:He[Vt++]}},e:function(Zt){throw Zt},f:Wt}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Ie=!0,qe=!1,Gt;return{s:function(){ct=ct.call(He)},n:function(){var Zt=ct.next();return Ie=Zt.done,Zt},e:function(Zt){qe=!0,Gt=Zt},f:function(){try{!Ie&&ct.return!=null&&ct.return()}finally{if(qe)throw Gt}}}}var _e=e(73825);function Pe(He){if(typeof Symbol!="undefined"&&He[Symbol.iterator]!=null||He["@@iterator"]!=null)return Array.from(He)}var Re=e(66160);function Ze(He){return(0,_e.Z)(He)||Pe(He)||(0,F.Z)(He)||(0,Re.Z)()}function $e(He,nt){if(!(He instanceof nt))throw new TypeError("Cannot call a class as a function")}var Ht=e(89878);function bt(He,nt){for(var ct=0;ct<nt.length;ct++){var Vt=nt[ct];Vt.enumerable=Vt.enumerable||!1,Vt.configurable=!0,"value"in Vt&&(Vt.writable=!0),Object.defineProperty(He,(0,Ht.Z)(Vt.key),Vt)}}function Ot(He,nt,ct){return nt&&bt(He.prototype,nt),ct&&bt(He,ct),Object.defineProperty(He,"prototype",{writable:!1}),He}var qt=e(65873);function er(He,nt){if(!He)throw new Error(nt)}function Jt(He){var nt=He.fns,ct=He.args;if(nt.length===1)return nt[0];var Vt=nt.pop();return nt.reduce(function(Wt,Ie){return function(){return Ie(Wt,ct)}},Vt)}function Xe(He){return!!He&&(0,te.Z)(He)==="object"&&typeof He.then=="function"}var Pt=function(He){return He.compose="compose",He.modify="modify",He.event="event",He}({}),Ut=function(){function He(nt){$e(this,He),(0,qt.Z)(this,"opts",void 0),(0,qt.Z)(this,"hooks",{}),this.opts=nt}return Ot(He,[{key:"register",value:function(ct){var Vt=this;er(ct.apply,"plugin register failed, apply must supplied"),Object.keys(ct.apply).forEach(function(Wt){er(Vt.opts.validKeys.indexOf(Wt)>-1,"register failed, invalid key ".concat(Wt," ").concat(ct.path?"from plugin ".concat(ct.path):"",".")),Vt.hooks[Wt]=(Vt.hooks[Wt]||[]).concat(ct.apply[Wt])})}},{key:"getHooks",value:function(ct){var Vt=ct.split("."),Wt=Ze(Vt),Ie=Wt[0],qe=Wt.slice(1),Gt=this.hooks[Ie]||[];return qe.length&&(Gt=Gt.map(function(kt){try{var Zt=kt,Nt=se(qe),Ct;try{for(Nt.s();!(Ct=Nt.n()).done;){var Yt=Ct.value;Zt=Zt[Yt]}}catch(We){Nt.e(We)}finally{Nt.f()}return Zt}catch(We){return null}}).filter(Boolean)),Gt}},{key:"applyPlugins",value:function(ct){var Vt=ct.key,Wt=ct.type,Ie=ct.initialValue,qe=ct.args,Gt=ct.async,kt=this.getHooks(Vt)||[];switch(qe&&er((0,te.Z)(qe)==="object","applyPlugins failed, args must be plain object."),Gt&&er(Wt===Pt.modify||Wt===Pt.event,"async only works with modify and event type."),Wt){case Pt.modify:return Gt?kt.reduce(function(){var Zt=z(q().mark(function Nt(Ct,Yt){var We;return q().wrap(function(pe){for(;;)switch(pe.prev=pe.next){case 0:if(er(typeof Yt=="function"||(0,te.Z)(Yt)==="object"||Xe(Yt),"applyPlugins failed, all hooks for key ".concat(Vt," must be function, plain object or Promise.")),!Xe(Ct)){pe.next=5;break}return pe.next=4,Ct;case 4:Ct=pe.sent;case 5:if(typeof Yt!="function"){pe.next=16;break}if(We=Yt(Ct,qe),!Xe(We)){pe.next=13;break}return pe.next=10,We;case 10:return pe.abrupt("return",pe.sent);case 13:return pe.abrupt("return",We);case 14:pe.next=21;break;case 16:if(!Xe(Yt)){pe.next=20;break}return pe.next=19,Yt;case 19:Yt=pe.sent;case 20:return pe.abrupt("return",(0,J.Z)((0,J.Z)({},Ct),Yt));case 21:case"end":return pe.stop()}},Nt)}));return function(Nt,Ct){return Zt.apply(this,arguments)}}(),Xe(Ie)?Ie:Promise.resolve(Ie)):kt.reduce(function(Zt,Nt){return er(typeof Nt=="function"||(0,te.Z)(Nt)==="object","applyPlugins failed, all hooks for key ".concat(Vt," must be function or plain object.")),typeof Nt=="function"?Nt(Zt,qe):(0,J.Z)((0,J.Z)({},Zt),Nt)},Ie);case Pt.event:return z(q().mark(function Zt(){var Nt,Ct,Yt,We;return q().wrap(function(pe){for(;;)switch(pe.prev=pe.next){case 0:Nt=se(kt),pe.prev=1,Nt.s();case 3:if((Ct=Nt.n()).done){pe.next=12;break}if(Yt=Ct.value,er(typeof Yt=="function","applyPlugins failed, all hooks for key ".concat(Vt," must be function.")),We=Yt(qe),!(Gt&&Xe(We))){pe.next=10;break}return pe.next=10,We;case 10:pe.next=3;break;case 12:pe.next=17;break;case 14:pe.prev=14,pe.t0=pe.catch(1),Nt.e(pe.t0);case 17:return pe.prev=17,Nt.f(),pe.finish(17);case 20:case"end":return pe.stop()}},Zt,null,[[1,14,17,20]])}))();case Pt.compose:return function(){return Jt({fns:kt.concat(Ie),args:qe})()}}}}],[{key:"create",value:function(ct){var Vt=new He({validKeys:ct.validKeys});return ct.plugins.forEach(function(Wt){Vt.register(Wt)}),Vt}}]),He}(),st=e(58293);let yt=0,ht=0;function Je(He,nt){}function je(He){return JSON.stringify(He,null,2)}function ge(He){const nt=He.length>1?He.map(Se).join(" "):He[0];return typeof nt=="object"?`${je(nt)}`:nt.toString()}function Se(He){return typeof He=="object"?`${JSON.stringify(He)}`:He.toString()}const Me={log(...He){ge(He)},info(...He){ge(He)},warn(...He){ge(He)},error(...He){ge(He)},group(){ht++},groupCollapsed(){ht++},groupEnd(){ht&&--ht},clear(){},trace(...He){console.trace(...He)},profile(...He){console.profile(...He)},profileEnd(...He){console.profileEnd(...He)}},Ne=()=>{}},61337:function(d,g,e){"use strict";e.d(g,{C:function(){return l},S:function(){return i}});var r=e(59301);const i=r.createContext(null),l=r.createContext(()=>{console.error("The 'useAntdConfigSetter()' method depends on the antd 'ConfigProvider', requires one of 'antd.configProvider' / 'antd.dark' / 'antd.compact' to be enabled.")})},64839:function(d,g,e){"use strict";e.d(g,{j:function(){return yc},Q:function(){return Oc}});var r=e(2339),i=e(89880),l=e.n(i),c=e(59301),f=e(25690),s=e(98750),h=Object.defineProperty,u=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,p=(I,O,k)=>O in I?h(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,y=(I,O)=>{for(var k in O||(O={}))a.call(O,k)&&p(I,k,O[k]);if(u)for(var k of u(O))x.call(O,k)&&p(I,k,O[k]);return I},b={namespace:"account",state:{basicInfo:void 0,actionTabs:{key:"",params:{}}},effects:{*updateAvatar({payload:I},{call:O,put:k}){return yield O(s.n1,I)},*appplySchool({payload:I},{call:O,put:k}){return yield O(s.bz,I)},*getSchoolOption({payload:I},{call:O,put:k}){return yield O(s.GY,I)},*getDepartmentOption({payload:I},{call:O,put:k}){return yield O(s.Ql,I)},*appplyDepartment({payload:I},{call:O,put:k}){return yield O(s.Zm,I)},*updateAccount({payload:I},{call:O,put:k}){return yield O(s.sG,I)},*cancelRealNameAuth({payload:I},{call:O,put:k}){return yield O(s.P,I)},*cancelProfessionalAuth({payload:I},{call:O,put:k}){return yield O(s.$f,I)},*applyProfessionalAuth({payload:I},{call:O,put:k}){return yield O(s.Ow,I)},*applyRealNameAuth({payload:I},{call:O,put:k}){return yield O(s.ht,I)},*getCode({payload:I},{call:O,put:k}){return yield O(s.Cq,I)},*bindPhone({payload:I},{call:O,put:k}){return yield O(s.eF,I)},*bindEmail({payload:I},{call:O,put:k}){return yield O(s.I8,I)},*updatePassword({payload:I},{call:O,put:k}){return yield O(s.gQ,I)},*unbindAccount({payload:I},{call:O,put:k}){return yield O(s.wi,I)},*getBasicInfo({payload:I},{call:O,put:k}){const me=yield O(s.o9,I);return yield k({type:"save",payload:{basicInfo:y({},me)}}),me},*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:y({},I)}})}},reducers:{save(I,O){return y(y({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:k})=>{k==="/"&&I({type:"query"})})}}},S=e(97402),R=Object.defineProperty,L=Object.getOwnPropertySymbols,T=Object.prototype.hasOwnProperty,D=Object.prototype.propertyIsEnumerable,M=(I,O,k)=>O in I?R(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,N=(I,O)=>{for(var k in O||(O={}))T.call(O,k)&&M(I,k,O[k]);if(L)for(var k of L(O))D.call(O,k)&&M(I,k,O[k]);return I},Q={namespace:"announcement",state:{name:"\u666E\u901A\u8BD5\u5377\uFF0C\u968F\u673A\u8BD5\u5377\u8BE6\u60C5\u9875\u9762",loading:!0,actionTabs:{}},effects:{*informDown({payload:I,callback:O},{call:k,put:me}){return yield k(S.nZ,I)},*informUp({payload:I,callback:O},{call:k,put:me}){return yield k(S.TO,I)},*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:N({},I)}})}},reducers:{save(I,O){return N(N({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){}}},X=e(44203),Y=Object.defineProperty,oe=Object.getOwnPropertySymbols,ie=Object.prototype.hasOwnProperty,ue=Object.prototype.propertyIsEnumerable,K=(I,O,k)=>O in I?Y(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,V=(I,O)=>{for(var k in O||(O={}))ie.call(O,k)&&K(I,k,O[k]);if(oe)for(var k of oe(O))ue.call(O,k)&&K(I,k,O[k]);return I},te={namespace:"attachment",state:{name:"\u8D44\u6E90",loading:!0,detail:{},actionTabs:{}},effects:{*allAttachment({payload:I,callback:O},{call:k,put:me}){const ke=yield k(X.SV,I);return yield me({type:"save",payload:{allList:V({},ke)}}),ke},*mineAttachment({payload:I,callback:O},{call:k,put:me}){const ke=yield k(X.zI,I);return yield me({type:"save",payload:{mineList:V({},ke)}}),ke},*fileImport({payload:I,callback:O},{call:k,put:me}){return yield k(X.tO,I)},*getDetail({payload:I,callback:O},{call:k,put:me}){const ke=yield k(X.Nm,I);return yield me({type:"save",payload:{detail:V({},ke)}}),ke},*updateVisits({payload:I,callback:O},{call:k,put:me}){return yield k(X.H,I)},*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:V({},I)}})}},reducers:{save(I,O){return V(V({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){}}},q=e(32967),J=Object.defineProperty,le=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,F=Object.prototype.propertyIsEnumerable,se=(I,O,k)=>O in I?J(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,_e=(I,O)=>{for(var k in O||(O={}))z.call(O,k)&&se(I,k,O[k]);if(le)for(var k of le(O))F.call(O,k)&&se(I,k,O[k]);return I},Re={namespace:"boards",state:{name:"\u8BA8\u8BBA",loading:!0,actionTabs:{},boardsDetail:{},boardsCategoryList:{}},effects:{*getBoardsCategoryList({payload:I,callback:O},{call:k,put:me}){const ke=yield k(q.yq,I);return yield me({type:"save",payload:{boardsCategoryList:_e({},ke.data)}}),ke.data},*getBoardsDetail({payload:I,callback:O},{call:k,put:me}){const ke=yield k(q.dI,I);return yield me({type:"save",payload:{boardsDetail:_e({},ke.data)}}),ke.data},*setTopping({payload:I,callback:O},{call:k,put:me}){return yield k(q.cc,I)},*escTopping({payload:I,callback:O},{call:k,put:me}){return yield k(q.CJ,I)},*getReplyList({payload:I,callback:O},{call:k,put:me}){const ke=yield k(q.PC,I);yield me({type:"save",payload:{replyList:_e({},ke.data)}})},*createReply({payload:I,callback:O},{call:k,put:me}){return yield k(q.PP,I)},*replyLike({payload:I,callback:O},{call:k,put:me}){return yield k(q.NA,I)},*replyUnLike({payload:I,callback:O},{call:k,put:me}){return yield k(q.YQ,I)},*deleteReply({payload:I,callback:O},{call:k,put:me}){return yield k(q.Mf,I)},*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:_e({},I)}})}},reducers:{save(I,O){return _e(_e({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){}}},Ze=e(81722),$e=Object.defineProperty,Ht=Object.getOwnPropertySymbols,bt=Object.prototype.hasOwnProperty,Ot=Object.prototype.propertyIsEnumerable,qt=(I,O,k)=>O in I?$e(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,er=(I,O)=>{for(var k in O||(O={}))bt.call(O,k)&&qt(I,k,O[k]);if(Ht)for(var k of Ht(O))Ot.call(O,k)&&qt(I,k,O[k]);return I},Xe={namespace:"exercise",state:{name:"\u666E\u901A\u8BD5\u5377\uFF0C\u968F\u673A\u8BD5\u5377\u8BE6\u60C5\u9875\u9762",loading:!0,exerciseList:{},userExerciseList:{},statisticsList:{},exerciseCoursesList:{},brankList:{},editData:{},endGroups:{},actionTabs:{removeEventListenerExitScreen:!1},publishGroups:{},commonHeader:{},reviewExercise:{},reviewGroupExercise:{},workSetting:{},editRandomExercises:{},redoModal:{},exerciseUserInfo:{},examinationIntelligentSettings:{},exerciseExportHeadData:{},codeReviewDetail:{},exerciseIdentityPhotos:{},checkDomain:window.document.domain==="kepukehuan.educoder.net"||window.document.domain==="test-kepukehuan.educoder.net",order_type:"",order:"",updateIndex:null,saveExerciseDownUsers:null,NormalResult:{},course_groups:[],SumupDetail:{},ScoreRangesData:{}},effects:{*getScoreRangesData({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Ze.$Q,I);return yield me({type:"save",payload:{ScoreRangesData:ke==null?void 0:ke.data}}),ke},*getQuestionResult({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Ze._U,I);return yield me({type:"save",payload:{NormalResult:ke}}),ke},*getUserExercise({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Ze.xA,I);return yield me({type:"save",payload:{userExerciseList:er({},(ke==null?void 0:ke.data)||{})}}),console.log("getUserExercise-res:",ke),ke==null?void 0:ke.data},*getExerciseIdentityPhotos({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Ze.J,I);return yield me({type:"save",payload:{exerciseIdentityPhotos:er({},(ke==null?void 0:ke.data)||{})}}),ke==null?void 0:ke.data},*getExerciseExportHeadData({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Ze.iw,I);return yield me({type:"save",payload:{exerciseExportHeadData:er({},ke)}}),ke},*getExerciseUserInfo({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Ze.Ty,I);return(ke==null?void 0:ke.status)===0&&(yield me({type:"save",payload:er({},{exerciseUserInfo:er({},ke.data)})})),ke},*getExaminationIntelligentSettings({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Ze.sA,I);return yield me({type:"save",payload:{examinationIntelligentSettings:er({},ke)}}),ke},*getRandomEditExercises({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Ze.yu,I);return yield me({type:"save",payload:{editRandomExercises:er({},ke)}}),ke},*getExerciseList({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Ze.G$,I);if(ke!=null&&ke.total_exercise_users)try{localStorage.total_exercise_users=JSON.stringify(ke.total_exercise_users)}catch(en){}return yield me({type:"save",payload:{exerciseList:er({},ke)}}),yield me({type:"save",payload:{order_type:I.order_type,order:I.order}}),ke},*getExerciseStatistics({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Ze._u,I);return yield me({type:"save",payload:{statisticsList:er({},ke)}}),ke},*getBrankList({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Ze.n$,I);return yield me({type:"save",payload:{brankList:er({},ke)}}),ke},*saveBanks({payload:I,callback:O},{call:k,put:me}){return yield k(Ze.lf,I)},*getExerciseCourses({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Ze.N3,I);return yield me({type:"save",payload:{exerciseCoursesList:er({},ke)}}),ke},*addExercise({payload:I,callback:O},{call:k,put:me}){return yield k(Ze.uR,I)},*editExercise({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Ze.qf,I);return yield me({type:"save",payload:{editData:er({},ke)}}),ke},*getTagDiscipline({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Ze.YY,I);return yield me({type:"save",payload:{tagDisciplineData:er({},ke)}}),ke},*editExerciseQuestion({payload:I,callback:O},{call:k,put:me}){return yield k(Ze.Di,I)},*addExerciseQuestion({payload:I,callback:O},{call:k,put:me}){return yield k(Ze.MK,I)},*exeriseMoveUpDown({payload:I,callback:O},{call:k,put:me}){return yield k(Ze.GK,I)},*getEndGroups({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Ze.KE,I);return yield me({type:"save",payload:{endGroups:er({},ke)}}),ke},*getPublishGroups({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Ze.ux,I);return yield me({type:"save",payload:{publishGroups:er({},ke)}}),ke},*getCommonHeader({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Ze.UK,I);return yield me({type:"save",payload:{commonHeader:er({},ke)}}),ke},*getReviewExercise({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Ze.BJ,I);return yield me({type:"save",payload:{reviewExercise:er({},ke)}}),ke},*postReviewExercise({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Ze.pu,I);return yield me({type:"save",payload:{reviewExercise:er({},ke)}}),ke},*getCentralizeReviewExercise({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Ze.X4,I);return yield me({type:"save",payload:{reviewExercise:er({},ke)}}),ke},*clearData({payload:I,callback:O},{call:k,put:me}){yield me({type:"save",payload:{[I.key]:{}}})},*getReviewGroupExercise({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Ze.W4,I);return yield me({type:"save",payload:{reviewGroupExercise:er({},ke)}}),ke},*getWorkSetting({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Ze.Ul,I);return yield me({type:"save",payload:{workSetting:er({},ke)}}),ke},*getRedoModal({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Ze.tX,I);return yield me({type:"save",payload:{redoModal:er({},ke)}}),ke},*getRedoListModal({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Ze.s,I);return yield me({type:"save",payload:{redoModal:er({},ke)}}),ke},*getCodeReviewDetail({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Ze.Xn,I);return yield me({type:"save",payload:{codeReviewDetail:er({},ke)}}),ke},*changeScore({payload:I,callback:O},{call:k,put:me}){return yield k(Ze.gG,I)},*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:er({},I)}})},*setUpdateIndex({payload:I},{call:O,put:k}){yield k({type:"save",payload:{updateIndex:I==="clear"?null:Math.random()}})},*setSaveExerciseDownUsers({payload:I},{call:O,put:k}){yield k({type:"save",payload:{saveExerciseDownUsers:I}})}},reducers:{save(I,O){return er(er({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){}}},Pt=e(24059),Ut=Object.defineProperty,st=Object.getOwnPropertySymbols,yt=Object.prototype.hasOwnProperty,ht=Object.prototype.propertyIsEnumerable,Je=(I,O,k)=>O in I?Ut(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,je=(I,O)=>{for(var k in O||(O={}))yt.call(O,k)&&Je(I,k,O[k]);if(st)for(var k of st(O))ht.call(O,k)&&Je(I,k,O[k]);return I},Se={namespace:"graduation",state:{name:"\u6BD5\u4E1A\u8BBE\u8BA1",loading:!0,actionTabs:{},detailList:{},detailTaskList:{},replyList:{},detail:{},addTopicData:{},editTopicData:{},editTasksData:{}},effects:{*getTopisDetailList({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Pt.x_,I);return yield me({type:"save",payload:{detailList:je({},ke)}}),ke},*getTasksListDetail({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Pt.QA,I);return yield me({type:"save",payload:{detailTaskList:je({},ke)}}),ke},*getTopisDetail({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Pt.B6,I);return yield me({type:"save",payload:{detail:je({},ke)}}),ke},*getTasksDetail({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Pt.y3,I);return yield me({type:"save",payload:{tasksDetail:je({},ke)}}),ke},*refuseTopic({payload:I,callback:O},{call:k,put:me}){return yield k(Pt.mM,I)},*agreeTopic({payload:I,callback:O},{call:k,put:me}){return yield k(Pt.je,I)},*getReplyList({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Pt.PC,I);yield me({type:"save",payload:{replyList:je({},ke)}})},*createReply({payload:I,callback:O},{call:k,put:me}){return yield k(Pt.PP,I)},*replyLike({payload:I,callback:O},{call:k,put:me}){return yield k(Pt.NA,I)},*replyUnLike({payload:I,callback:O},{call:k,put:me}){return yield k(Pt.YQ,I)},*deleteReply({payload:I,callback:O},{call:k,put:me}){return yield k(Pt.Mf,I)},*addTopicDefaultData({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Pt.y0,I);yield me({type:"save",payload:{addTopicData:je({},ke)}})},*editTopicDefaultData({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Pt.hL,I);return yield me({type:"save",payload:{editTopicData:je({},ke)}}),ke},*editTasksDefaultData({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Pt._n,I);return yield me({type:"save",payload:{editTasksData:je({},ke)}}),ke},*addTopic({payload:I,callback:O},{call:k,put:me}){return yield k(Pt.Gr,I)},*editTopic({payload:I,callback:O},{call:k,put:me}){return yield k(Pt.wA,I)},*addTasks({payload:I,callback:O},{call:k,put:me}){return yield k(Pt.Sv,I)},*editTasks({payload:I,callback:O},{call:k,put:me}){return yield k(Pt.RP,I)},*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:je({},I)}})}},reducers:{save(I,O){return je(je({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){}}},Me=e(89392),Ne=e(1247),He=Object.defineProperty,nt=Object.getOwnPropertySymbols,ct=Object.prototype.hasOwnProperty,Vt=Object.prototype.propertyIsEnumerable,Wt=(I,O,k)=>O in I?He(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,Ie=(I,O)=>{for(var k in O||(O={}))ct.call(O,k)&&Wt(I,k,O[k]);if(nt)for(var k of nt(O))Vt.call(O,k)&&Wt(I,k,O[k]);return I},Gt={namespace:"shixunHomeworks",state:{name:"",loading:!0,workList:{},shixunWorkList:{},headerInfo:{},shixunWorkReport:{},codeReview:{},codeReviewDetail:{},workSetting:{},changeData:{},codeReviewCourse:{},referenceAnswer:{},publishGroups:{},endGroups:{},brankList:{},replyList:{},workDetail:{},commonHomeWorkAddDefaultData:{},studentWorkAddDefaultData:{},studentWorkEditDefaultData:{},commonHomeWorkEditDefaultData:{},studentWorkDetail:{},studentWorkSupplyDetail:{},studentWorkCommon:{},allStudentWorks:{},searchMemberList:{},searchProjectList:{},actionTabs:{key:""},listParams:{order:"all",page:1,limit:16,search:""},homeworkAssistantPermissions:{},shixunAssistantPermission:{},courseAssistantPermission:{}},effects:{*getWorkList({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Ne.h$,I);try{sessionStorage.all_student_works=JSON.stringify(ke.all_student_works),sessionStorage.all_student_works_params=JSON.stringify(I),localStorage.setItem("all_student_works_param",JSON.stringify(I))}catch(en){}return yield me({type:"save",payload:{workList:Ie({},ke)}}),ke},*getShixunWorkHeadInfo({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Ne.fK,I);try{}catch(en){}return yield me({type:"save",payload:{headerInfo:ke==null?void 0:ke.data}}),ke},*getShixunWorkList({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Ne.Z8,I);try{sessionStorage.all_student_works=JSON.stringify(ke.all_student_works),sessionStorage.all_student_works_params=JSON.stringify(I),localStorage.setItem("all_student_works_param",JSON.stringify(I))}catch(en){}return yield me({type:"save",payload:{shixunWorkList:ke==null?void 0:ke.data,homeworkAssistantPermissions:ke.homework_assistant_permissions,shixunAssistantPermission:ke.shixun_assistant_permission,courseAssistantPermission:ke.course_assistant_permission}}),ke},*getCodeReview({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Ne.RP,I);return yield me({type:"save",payload:{codeReview:Ie({},ke)}}),ke},*getCodeReviewDetail({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Ne.Xn,I);return yield me({type:"save",payload:{codeReviewDetail:Ie({},ke)}}),ke},*getWorkDetail({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Ne.to,I);return yield me({type:"save",payload:{workDetail:Ie({},ke)}}),ke},*updateWork({payload:I,callback:O},{call:k,put:me}){return yield k(Ne.H,I)},*getShixunWorkReport({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Ne.sw,I);try{ke.all_student_works=JSON.parse(sessionStorage.all_student_works||"[]")}catch(en){}return yield me({type:"save",payload:{shixunWorkReport:Ie({},ke)}}),ke},*getShixunWorkReports({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Ne.cz,I);try{ke.all_student_works=JSON.parse(sessionStorage.all_student_works||"[]")}catch(en){}return yield me({type:"save",payload:{shixunWorkReport:Ie({},ke)}}),ke},*getWorkSetting({payload:I,callback:O},{call:k,put:me}){var ke,en;const $n=yield k(Ne.Ul,I);(ke=$n==null?void 0:$n.group_settings)==null||ke.map(Di=>{Di.value=Di.group_name,Di.id=Di.group_id,Di.group_id=[Di.group_id]}),(en=$n==null?void 0:$n.allow_late_settings)==null||en.map(Di=>{Di.value=Di.group_name,Di.id=Di.group_id,Di.group_id=[Di.group_id]});const dn={shixun_evaluation:$n.shixun_evaluation,challenge_settings:$n.challenge_settings};return yield me({type:"save",payload:{workSetting:Ie({},$n),changeData:(0,Me.cloneDeep)(dn)}}),$n},*updateSetting({payload:I,callback:O},{call:k,put:me}){return yield k(Ne.m7,I)},*getCodeReviewCourse({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Ne.JG,I);return yield me({type:"save",payload:{codeReviewCourse:Ie({},ke)}}),ke},*exportShixunWorks({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Ne.Dx,I)},*getReferenceAnswer({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Ne.Q3,I);return yield me({type:"save",payload:{referenceAnswer:Ie({},ke)}}),ke},*getPublishGroups({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Ne.ux,I);return yield me({type:"save",payload:{publishGroups:Ie({},ke)}}),ke},*getEndGroups({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Ne.KE,I);return yield me({type:"save",payload:{endGroups:Ie({},ke)}}),ke},*getBrankList({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Ne.n$,I);return yield me({type:"save",payload:{brankList:Ie({},ke)}}),ke},*changeScore({payload:I,callback:O},{call:k,put:me}){return yield k(Ne.gG,I)},*saveBanks({payload:I,callback:O},{call:k,put:me}){return yield k(Ne.lf,I)},*addCommonHomeWorkDefaultData({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Ne.Qt,I);return yield me({type:"save",payload:{commonHomeWorkAddDefaultData:Ie({},ke)}}),ke},*getSearchMemberList({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Ne.Lz,I);return yield me({type:"save",payload:{searchMemberList:Ie({},ke)}}),ke},*getProjectList({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Ne.ku,I);return yield me({type:"save",payload:{searchProjectList:Ie({},ke)}}),ke},*addStudentWorkDefaultData({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Ne.ak,I);return yield me({type:"save",payload:{studentWorkAddDefaultData:Ie({},ke)}}),ke},*editStudentWorkDefaultData({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Ne.PW,I);return yield me({type:"save",payload:{studentWorkEditDefaultData:Ie({},ke)}}),ke},*editCommonHomeWorkDefaultData({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Ne.BD,I);return yield me({type:"save",payload:{commonHomeWorkEditDefaultData:Ie({},ke)}}),ke},*editCommonHomeWorkDefaultBankData({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Ne.pH,I);return yield me({type:"save",payload:{commonHomeWorkEditDefaultData:Ie({},ke)}}),ke},*getReplyList({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Ne.PC,I);yield me({type:"save",payload:{replyList:Ie({},ke)}})},*getStudentWorkDetail({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Ne.Hj,I);yield me({type:"save",payload:{studentWorkDetail:Ie({},ke)}})},*getStudentWorkSupplyDetail({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Ne.ub,I);yield me({type:"save",payload:{studentWorkSupplyDetail:Ie({},ke)}})},*getStudentWorkCommon({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Ne.JA,I);yield me({type:"save",payload:{studentWorkCommon:Ie({},ke)}})},*getAllStudentWorks({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Ne.ql,I);return yield me({type:"save",payload:{allStudentWorks:Ie({},ke)}}),ke},*getFileRepeatResult({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Ne.oN,I);return yield me({type:"save",payload:{codeReview:Ie({},ke)}}),ke},*getFileRepeatDetail({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Ne.Ti,I);return yield me({type:"save",payload:{codeReviewDetail:Ie({},ke)}}),ke},*createReply({payload:I,callback:O},{call:k,put:me}){return yield k(Ne.PP,I)},*replyLike({payload:I,callback:O},{call:k,put:me}){return yield k(Ne.NA,I)},*replyUnLike({payload:I,callback:O},{call:k,put:me}){return yield k(Ne.YQ,I)},*deleteReply({payload:I,callback:O},{call:k,put:me}){return yield k(Ne.Mf,I)},*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:Ie({},I)}})}},reducers:{save(I,O){return Ie(Ie({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:k})=>{k==="/"&&I({type:"query"})})}}},kt=e(82264),Zt=e(48790),Nt=Object.defineProperty,Ct=Object.getOwnPropertySymbols,Yt=Object.prototype.hasOwnProperty,We=Object.prototype.propertyIsEnumerable,fe=(I,O,k)=>O in I?Nt(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,pe=(I,O)=>{for(var k in O||(O={}))Yt.call(O,k)&&fe(I,k,O[k]);if(Ct)for(var k of Ct(O))We.call(O,k)&&fe(I,k,O[k]);return I},Ce={namespace:"classroomList",state:{name:"",loading:!0,detailTopBanner:{copy_completed:!0},detailLeftMenus:{},detailLeftMenusNames:{},detailShixunsList:{},detailGraduationTopicsList:{},detailGraduationTaskList:{},detailExerciseList:{},detailPollsList:{},detailCommonHomeworksList:{},detailAttendancesList:{},detailAttendancesDetail:{},detailAnnouncementList:{},detailAttachmentList:{},detailCourseware:{},courseMine:{},detailVideoList:{},detailLiveVideoList:{},detailBoardList:{},courseGroups:{},allCourseGroups:{},detailCourseGroupsList:{},detailCoursStudentsList:{},detailCourseStatisticsList:{},detailAttendancesStatistic:{},detailCourseWorkscore:{},detailCourseActscore:{},coursesLists:{},shixunLists:{},schoolList:{},taskList:[],searchMemberList:{},actionTabs:{key:""},listParams:{order:"all",page:1,limit:16,search:""},shareStatus:!1,AssistantObject:{},updateData:""},effects:{*setAssistantPermissions({payload:I},{call:O,put:k}){yield O(kt.gq,I)},*getAssistantPermissions({payload:I},{call:O,put:k}){if(!(0,Zt.eB)())return;const me=yield O(kt.rS,I);yield k({type:"save",payload:{AssistantObject:me.permissions}})},*getAiStatusQuery({payload:I},{call:O,put:k}){const me=yield O(kt.LH,I);return yield k({type:"save",payload:{cal_finish_if:me.cal_finish_if}}),me},*updateCoursePortraitData({payload:I},{call:O,put:k}){return yield O(kt.Z_,I)},*getUserPortraitConfig({payload:I},{call:O,put:k}){const me=yield O(kt._0,I);return yield k({type:"save",payload:{userPortraitConfig:me.data}}),me},*updateUserPortraitConfig({payload:I},{call:O,put:k}){return yield O(kt.r2,I)},*getClassroom({payload:I},{call:O,put:k}){const me=I,ke=yield O(kt.V8,I);return yield k({type:"save",payload:pe({listParams:me},ke)}),ke},*getClassroomTopBanner({payload:I},{call:O,put:k}){const me=yield O(kt.U_,I);return yield k({type:"save",payload:{detailTopBanner:me.status?{copy_completed:!0}:pe({},me)}}),me.status?{copy_completed:!0}:me},*getClassroomLeftMenus({payload:I},{call:O,put:k}){const me=yield O(kt.w9,I);let ke=[...(me==null?void 0:me.course_modules)||[],...(me==null?void 0:me.hidden_modules)||[]],en={};return ke==null||ke.forEach($n=>{en[$n.type]=$n.name}),yield k({type:"save",payload:{detailLeftMenus:pe({},me),detailLeftMenusNames:en}}),me},*getClassroomShixunsList({payload:I},{call:O,put:k}){const me=yield O(kt.Nd,I);yield k({type:"save",payload:{detailShixunsList:pe({},me)}})},*getClassroomTeacherShixunsList({payload:I},{call:O,put:k}){const me=yield O(kt.Gk,I);return yield k({type:"save",payload:{detailShixunsList:pe({},me)}}),me},*getClassroomCommonList({payload:I},{call:O,put:k}){const me=yield O(kt.Nd,I);yield k({type:"save",payload:{detailCommonHomeworksList:pe({},me)}})},*getClassroomTeacherCommonList({payload:I},{call:O,put:k}){const me=yield O(kt.Gk,I);return yield k({type:"save",payload:{detailCommonHomeworksList:pe({},me)}}),me},*getClassroomGraduationTopicsList({payload:I},{call:O,put:k}){const me=yield O(kt.yV,I);yield k({type:"save",payload:{detailGraduationTopicsList:pe({},me)}})},*getClassroomGraduationTaskList({payload:I},{call:O,put:k}){const me=yield O(kt.R2,I);yield k({type:"save",payload:{detailGraduationTaskList:pe({},me)}})},*getClassroomExercisesList({payload:I},{call:O,put:k}){const me=yield O(kt.N7,I);yield k({type:"save",payload:{detailExerciseList:pe({},me)}})},*getClassroomPollsList({payload:I},{call:O,put:k}){const me=yield O(kt.BR,I);yield k({type:"save",payload:{detailPollsList:pe({},me)}})},*getCourseGroups({payload:I},{call:O,put:k}){const me=yield O(kt.qB,I);yield k({type:"save",payload:{courseGroups:pe({},me)}})},*getAllCourseGroup({payload:I},{call:O,put:k}){const me=yield O(kt.c_,I);return yield k({type:"save",payload:{allCourseGroups:pe({},me)}}),me},*getClassroomCommonHomeworksList({payload:I},{call:O,put:k}){const me=yield O(kt.Al,I);yield k({type:"save",payload:{detailCommonHomeworksList:pe({},me)}})},*getClassroomAttendancesList({payload:I},{call:O,put:k}){const me=yield O(kt.Vw,I);yield k({type:"save",payload:{detailAttendancesList:pe({},me)}})},*getClassroomAttendancesStatistic({payload:I},{call:O,put:k}){const me=yield O(kt.Ls,I);yield k({type:"save",payload:{detailAttendancesStatistic:pe({},me)}})},*getAttendanceDetail({payload:I},{call:O,put:k}){const me=yield O(kt.zg,I);return yield k({type:"save",payload:{detailAttendancesDetail:pe({},me)}}),me},*getAnnouncementList({payload:I},{call:O,put:k}){const me=yield O(kt.QZ,I);yield k({type:"save",payload:{detailAnnouncementList:pe({},me)}})},*getAttachmentList({payload:I},{call:O,put:k}){const me=yield O(kt.KT,I);yield k({type:"save",payload:{detailAttachmentList:pe({},me.data)}})},*getCourseware({payload:I},{call:O,put:k}){const me=yield O(kt.ZT,I);yield k({type:"save",payload:{detailCourseware:pe({},me.data)}})},*getVideoList({payload:I},{call:O,put:k}){const me=yield O(kt.O3,I);yield k({type:"save",payload:{detailVideoList:pe({},me)}})},*getLiveVideoList({payload:I},{call:O,put:k}){const me=yield O(kt.DJ,I);yield k({type:"save",payload:{detailLiveVideoList:pe({},me)}})},*getCoursesMine({payload:I,callback:O},{call:k,put:me}){const ke=yield k(kt.Ed,I);return yield me({type:"save",payload:{courseMine:pe({},ke)}}),ke.data},*getBoardList({payload:I,callback:O},{call:k,put:me}){const ke=yield k(kt.KP,I);return yield me({type:"save",payload:{detailBoardList:pe({},ke.data)}}),ke.data},*getCourseGroupsList({payload:I,callback:O},{call:k,put:me}){const ke=yield k(kt.kW,I);return yield me({type:"save",payload:{detailCourseGroupsList:pe({},ke)}}),ke},*getCourseStudentsList({payload:I,callback:O},{call:k,put:me}){const ke=yield k(kt.J2,I);return yield me({type:"save",payload:{detailCoursStudentsList:pe({},ke)}}),ke.data},*getCourseStatistics({payload:I,callback:O},{call:k,put:me}){const ke=yield k(kt.g4,I);return yield me({type:"save",payload:{detailCourseStatisticsList:pe({},ke)}}),ke},*getCourseActscore({payload:I,callback:O},{call:k,put:me}){const ke=yield k(kt.t1,I);return yield me({type:"save",payload:{detailCourseActscore:pe({},ke)}}),ke},*getCourseWorkscore({payload:I,callback:O},{call:k,put:me}){const ke=yield k(kt.GV,I);return yield me({type:"save",payload:{detailCourseWorkscore:pe({},ke)}}),ke},*getShixunLists({payload:I,callback:O},{call:k,put:me}){const ke=yield k(kt.Pj,I);return yield me({type:"save",payload:{shixunLists:pe({},ke)}}),ke},*getExperimentLists({payload:I,callback:O},{call:k,put:me}){const ke=yield k(kt._9,I);return yield me({type:"save",payload:{shixunLists:pe({},ke)}}),ke},*getShixunAiRecommendLists({payload:I,callback:O},{call:k,put:me}){const ke=yield k(kt.Hn,I);return yield me({type:"save",payload:{shixunAiRecommendLists:pe({},ke)}}),ke},*getCoursesLists({payload:I,callback:O},{call:k,put:me}){const ke=yield k(kt.W7,I);return yield me({type:"save",payload:{coursesLists:pe({},ke)}}),ke},*createCoursesHomework({payload:I,callback:O},{call:k,put:me}){return yield k(kt.Ds,I)},*createShixunHomework({payload:I,callback:O},{call:k,put:me}){return yield k(kt.aQ,I)},*createExperiment({payload:I,callback:O},{call:k,put:me}){return yield k(kt.BQ,I)},*getSchoolList({payload:I,callback:O},{call:k,put:me}){const ke=yield k(kt.K$,I);return yield me({type:"save",payload:{schoolList:pe({},ke.school_names)}}),ke.school_names},*searchSchoolTeacherList({payload:I,callback:O},{call:k,put:me}){const ke=yield k(kt.nQ,I);return yield me({type:"save",payload:{searchMemberList:pe({},ke)}}),ke},*getAllTaskList({payload:I,callback:O},{call:k,put:me}){const ke=yield k(kt.km,I);return yield me({type:"save",payload:{taskList:[...ke.tasks]}}),ke},*updateTaskPosition({payload:I,callback:O},{call:k,put:me}){const ke=yield k(kt.U8,I);return yield me({type:"save",payload:{actionTabs:{key:""}}}),ke},*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:pe({},I)}})},*setUpdateData({payload:I},{call:O,put:k}){yield k({type:"save",payload:{updateData:I}})}},reducers:{save(I,O){return pe(pe({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:k})=>{k==="/"&&I({type:"query"})})}}},dt=Object.defineProperty,zt=Object.getOwnPropertySymbols,Tt=Object.prototype.hasOwnProperty,Oe=Object.prototype.propertyIsEnumerable,St=(I,O,k)=>O in I?dt(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,be=(I,O)=>{for(var k in O||(O={}))Tt.call(O,k)&&St(I,k,O[k]);if(zt)for(var k of zt(O))Oe.call(O,k)&&St(I,k,O[k]);return I},vt={namespace:"newClassroom",state:{schoolList:[],searchCourseList:[],actionTabs:{key:"",params:{}}},effects:{*getSchoolList({payload:I},{call:O,put:k}){const me=yield O(kt.K$,I);yield k({type:"save",payload:{schoolList:(me==null?void 0:me.school_names)||[]}})},*getSearchCourseList({payload:I},{call:O,put:k}){const me=yield O(kt.oM,I);yield k({type:"save",payload:{searchCourseList:(me==null?void 0:me.course_lists)||[]}})},*submitCourses({payload:I},{call:O,put:k}){return yield O(kt.Bn,I)},*appplySchool({payload:I},{call:O,put:k}){return yield O(kt.bz,I)},*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:be({},I)}})},*joincoursegroup({payload:I},{call:O,put:k}){return yield O(kt.WK,I)}},reducers:{save(I,O){return be(be({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){}}},Rt=Object.defineProperty,Fe=Object.getOwnPropertySymbols,kr=Object.prototype.hasOwnProperty,At=Object.prototype.propertyIsEnumerable,Kr=(I,O,k)=>O in I?Rt(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,qr=(I,O)=>{for(var k in O||(O={}))kr.call(O,k)&&Kr(I,k,O[k]);if(Fe)for(var k of Fe(O))At.call(O,k)&&Kr(I,k,O[k]);return I},Br={namespace:"classroomsOverview",state:{},effects:{*getCourseUseInfos({payload:I},{call:O,put:k}){const me=yield O(kt.Dd,I);yield k({type:"save",payload:{CourseUseInfos:me}})},*getRankList({payload:I},{call:O,put:k}){const me=yield O(kt.Fg,I);yield k({type:"save",payload:{RankList:{teacher_list:[{rank:"\u6392\u540D",name:"\u59D3\u540D",course_num:"\u7BA1\u7406\u8BFE",homework_num:"\u53D1\u5E03\u4F5C\u4E1A\u6570",exercise_num:"\u53D1\u5E03\u8003\u8BD5\u6570",resource_num:"\u4E0A\u4F20\u8D44\u6E90\u6570"},...(me==null?void 0:me.teacher_list)||[]],student_list:[{rank:"\u6392\u540D",name:"\u59D3\u540D",student_id:"\u5B66\u53F7/\u5DE5\u53F7",finish_num:"\u5B8C\u6210\u4F5C\u4E1A\u6570",total_score:"\u603B\u6210\u7EE9"},...(me==null?void 0:me.student_list)||[]],learn_course_list:[{rank:"\u6392\u540D",name:"\u6559\u5B66\u8BFE\u5802\u540D\u79F0",num:"\u5B66\u4E60\u4EBA\u6570"},...(me==null?void 0:me.learn_course_list)||[]],interact_course_list:[{rank:"\u6392\u540D",name:"\u6559\u5B66\u8BFE\u5802\u540D\u79F0",num:"\u4E92\u52A8\u8BA8\u8BBA\u6570"},...(me==null?void 0:me.interact_course_list)||[]],finish_course_list:[{rank:"\u6392\u540D",name:"\u6559\u5B66\u8BFE\u5802\u540D\u79F0",num:"\u603B\u5B8C\u6210\u6570"},...(me==null?void 0:me.finish_course_list)||[]]}}})},*getStatisticsBody({payload:I},{call:O,put:k}){const me=yield O(kt.Gz,I);yield k({type:"save",payload:{SBody:me}})},*getStatisticsHeader({payload:I},{call:O,put:k}){const me=yield O(kt.Hl,I);yield k({type:"save",payload:{SHeader:me}})}},reducers:{save(I,O){return qr(qr({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:k})=>{k==="/"&&I({type:"query"})})}}},_r=e(7299),Ur=Object.defineProperty,sn=Object.getOwnPropertySymbols,cn=Object.prototype.hasOwnProperty,or=Object.prototype.propertyIsEnumerable,Lt=(I,O,k)=>O in I?Ur(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,mt=(I,O)=>{for(var k in O||(O={}))cn.call(O,k)&&Lt(I,k,O[k]);if(sn)for(var k of sn(O))or.call(O,k)&&Lt(I,k,O[k]);return I},$t={namespace:"polls",state:{name:"\u666E\u901A\u8BD5\u5377\uFF0C\u968F\u673A\u8BD5\u5377\u8BE6\u60C5\u9875\u9762",loading:!0,pollsList:{},statisticsList:{},pollsCoursesList:{},brankList:{},actionTabs:{},commonHeader:{},pollSetting:{},endGroups:{},publishGroups:{},exerciseBanks:{}},effects:{*getPollsList({payload:I,callback:O},{call:k,put:me}){const ke=yield k(_r.s3,I);return yield me({type:"save",payload:{pollsList:mt({},ke)}}),ke},*getCommonHeader({payload:I,callback:O},{call:k,put:me}){const ke=yield k(_r.UK,I);return yield me({type:"save",payload:{commonHeader:mt({},ke)}}),ke},*getPollsStatistics({payload:I,callback:O},{call:k,put:me}){const ke=yield k(_r.Qn,I);return yield me({type:"save",payload:{statisticsList:mt({},ke)}}),ke},*getBrankList({payload:I,callback:O},{call:k,put:me}){const ke=yield k(_r.n$,I);return yield me({type:"save",payload:{brankList:mt({},ke)}}),ke},*saveBanks({payload:I,callback:O},{call:k,put:me}){return yield k(_r.lf,I)},*getPollsCourses({payload:I,callback:O},{call:k,put:me}){const ke=yield k(_r.Q9,I);return yield me({type:"save",payload:{pollsCoursesList:mt({},ke)}}),ke},*getPollsSetting({payload:I,callback:O},{call:k,put:me}){const ke=yield k(_r.Hi,I);return yield me({type:"save",payload:{pollSetting:mt({},ke)}}),ke},*editPolls({payload:I,callback:O},{call:k,put:me}){const ke=yield k(_r.Ye,I);return yield me({type:"save",payload:{editData:mt({},JSON.parse(JSON.stringify(ke)))}}),ke},*getEndGroups({payload:I,callback:O},{call:k,put:me}){const ke=yield k(_r.KE,I);return yield me({type:"save",payload:{endGroups:mt({},ke)}}),ke},*getPublishGroups({payload:I,callback:O},{call:k,put:me}){const ke=yield k(_r.ux,I);return yield me({type:"save",payload:{publishGroups:mt({},ke)}}),ke},*getExerciseBanks({payload:I,callback:O},{call:k,put:me}){const ke=yield k(_r.kp,I);return yield me({type:"save",payload:{exerciseBanks:mt({},ke)}}),ke},*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:mt({},I)}})}},reducers:{save(I,O){return mt(mt({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){}}},Cr=e(49234),gr=Object.defineProperty,ot=Object.getOwnPropertySymbols,Mr=Object.prototype.hasOwnProperty,yn=Object.prototype.propertyIsEnumerable,Zn=(I,O,k)=>O in I?gr(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,mr=(I,O)=>{for(var k in O||(O={}))Mr.call(O,k)&&Zn(I,k,O[k]);if(ot)for(var k of ot(O))yn.call(O,k)&&Zn(I,k,O[k]);return I},hn={namespace:"teachers",state:{list:{},applyList:{},allCourseGroups:{},graduationGroupList:{},studentsList:{},actionTabs:{key:"",params:{}},updateIndex:1},effects:{*getList({payload:I},{call:O,put:k}){var me;const ke=yield O(Cr.gp,I);return(me=ke==null?void 0:ke.teacher_list)==null||me.map(en=>(en.key=en.course_member_id,en)),yield k({type:"save",payload:{list:ke}}),ke},*getStudentsList({payload:I},{call:O,put:k}){var me;const ke=yield O(Cr.ur,I);return(me=ke==null?void 0:ke.students)==null||me.map(en=>(en.key=en.user_id,en)),yield k({type:"save",payload:{studentsList:ke}}),ke},*getApplyList({payload:I},{call:O,put:k}){const me=yield O(Cr.s,I);return yield k({type:"save",payload:{applyList:me}}),me},*getAllCourseGroups({payload:I},{call:O,put:k}){const me=yield O(Cr.xV,I);return yield k({type:"save",payload:{allCourseGroups:me}}),me},*getGraduationGroupList({payload:I},{call:O,put:k}){const me=yield O(Cr.Bg,I);return yield k({type:"save",payload:{graduationGroupList:me}}),me},*setAllCourseGroups({payload:I},{call:O,put:k}){const me=yield O(Cr.oZ,I);return yield k({type:"save",payload:{setAllCourseGroups:me}}),me},*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:mr({},I)}})},*setUpdateIndex({payload:I},{call:O,put:k}){yield k({type:"save",payload:{updateIndex:Math.random()}})}},reducers:{save(I,O){return mr(mr({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){}}},Fn=e(69618),ti=Object.defineProperty,jn=Object.getOwnPropertySymbols,Zi=Object.prototype.hasOwnProperty,xi=Object.prototype.propertyIsEnumerable,Si=(I,O,k)=>O in I?ti(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,Ei=(I,O)=>{for(var k in O||(O={}))Zi.call(O,k)&&Si(I,k,O[k]);if(jn)for(var k of jn(O))xi.call(O,k)&&Si(I,k,O[k]);return I},Xi={namespace:"video",state:{name:"\u8D44\u6E90",loading:!0,actionTabs:{},videoStatisticsList:{},newVideoStatisticsList:{},videoDurationStatics:{},StudentvideoStatistics:{},videoPeopleStatics:{},videoStatistics:{},oneVideoStatisticsList:{}},effects:{*getVideoStatisticsList({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Fn.BQ,I);return yield me({type:"save",payload:{videoStatisticsList:Ei({},ke)}}),ke},*getNewVideoStatisticsList({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Fn.cU,I);return yield me({type:"save",payload:{newVideoStatisticsList:Ei({},ke)}}),ke},*getVideoPeopleStatics({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Fn.Zx,I);return yield me({type:"save",payload:{videoPeopleStatics:Ei({},ke)}}),ke},*getVideoDurationStatics({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Fn.Mz,I);return yield me({type:"save",payload:{videoDurationStatics:Ei({},ke)}}),ke},*getVideoStatistics({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Fn.ZY,I);return yield me({type:"save",payload:{videoStatistics:Ei({},ke)}}),ke},*getOneVideoStatisticsList({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Fn.cU,I);return yield me({type:"save",payload:{oneVideoStatisticsList:Ei({},ke)}}),ke},*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:Ei({},I)}})},*getStudentVideoStatisticsList({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Fn.Vg,I);return yield me({type:"save",payload:{StudentvideoStatistics:Ei({},ke)}}),ke}},reducers:{save(I,O){return Ei(Ei({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){}}},qn=e(73801),Yi=Object.defineProperty,wt=Object.getOwnPropertySymbols,ut=Object.prototype.hasOwnProperty,Jn=Object.prototype.propertyIsEnumerable,Ai=(I,O,k)=>O in I?Yi(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,ei=(I,O)=>{for(var k in O||(O={}))ut.call(O,k)&&Ai(I,k,O[k]);if(wt)for(var k of wt(O))Jn.call(O,k)&&Ai(I,k,O[k]);return I},vi={namespace:"competitions",state:{name:"",loading:!0,listParams:{page:1,per_page:20,category:""},Staff:{},Header:{},competition_title:"",banner:"",competitions:[],count:"",RightItems:{},Prizes:{},Account:{},TabResultList:{},competition_team:{},all_team_member:{},actionTabs:{key:"",params:{}},GuidesData:{}},effects:{*postGuides({payload:I,callback:O},{call:k,put:me}){return yield k(qn.cC,I)},*getGuides({payload:I,callback:O},{call:k,put:me}){const ke=yield k(qn.Ax,I);return yield me({type:"save",payload:{GuidesData:ke}}),ke},*getWorkSubmitUpdateRes({payload:I,callback:O},{call:k,put:me}){return yield k(qn.zF,I)},*getList({payload:I},{call:O,put:k}){const me=I,ke=yield O(qn.bQ,I);return yield k({type:"save",payload:ei({listParams:me},ke)}),ke},*getMemberWorks({payload:I},{call:O,put:k}){const me=yield O(qn.xx,I);return yield k({type:"save",payload:{MemberWorks:me||{}}}),me},*addApplytojoincourse({payload:I,callback:O},{call:k,put:me}){return yield k(qn.qS,I)},*competitionTeams({payload:I,callback:O},{call:k,put:me}){return yield k(qn.Pt,I)},*getStaff({payload:I,callback:O},{call:k,put:me}){const ke=yield k(qn.Dh,I);return yield me({type:"save",payload:{Staff:ke}}),ke},*getHeader({payload:I,callback:O},{call:k,put:me}){const ke=yield k(qn.Pg,I);return yield me({type:"save",payload:{Header:ke}}),ke},*getItem({payload:I,callback:O},{call:k,put:me}){const ke=yield k(qn.rV,I);return yield me({type:"save",payload:{RightItems:ke}}),ke},*updateMdContent({payload:I,callback:O},{call:k,put:me}){return yield k(qn.zj,I)},*getTeamList({payload:I,callback:O},{call:k,put:me}){return yield k(qn.aq,I)},*getTeamDetail({payload:I,callback:O},{call:k,put:me}){return yield k(qn.Ze,I)},*UpTeam({payload:I,callback:O},{call:k,put:me}){return yield k(qn.yS,I)},*DeleteTeam({payload:I,callback:O},{call:k,put:me}){return yield k(qn.ps,I)},*ExitTeam({payload:I,callback:O},{call:k,put:me}){return yield k(qn.vV,I)},*AddTeam({payload:I,callback:O},{call:k,put:me}){return yield k(qn.FU,I)},*AddPersonnel({payload:I,callback:O},{call:k,put:me}){return yield k(qn.R9,I)},*JoinTeam({payload:I,callback:O},{call:k,put:me}){return yield k(qn.zc,I)},*getTeacher({payload:I,callback:O},{call:k,put:me}){return yield k(qn.jS,I)},*getStudents({payload:I,callback:O},{call:k,put:me}){return yield k(qn.sK,I)},*SubmitTeam({payload:I,callback:O},{call:k,put:me}){return yield k(qn.rm,I)},*Reward({payload:I,callback:O},{call:k,put:me}){return yield k(qn.Qp,I)},*ChartRules({payload:I,callback:O},{call:k,put:me}){return yield k(qn.Ux,I)},*Charts({payload:I,callback:O},{call:k,put:me}){return yield k(qn.GQ,I)},*TabResults({payload:I,callback:O},{call:k,put:me}){const ke=yield k(qn.ml,I);return yield me({type:"save",payload:{TabResultList:ke}}),ke},*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:ei({},I)}})},*Results({payload:I,callback:O},{call:k,put:me}){return yield k(qn.u9,I)},*Prize({payload:I,callback:O},{call:k,put:me}){const ke=yield k(qn.pU,I);return yield me({type:"save",payload:{Prizes:ke}}),ke},*Accounts({payload:I,callback:O},{call:k,put:me}){const ke=yield k(qn.XJ,I);return yield me({type:"save",payload:{Account:ke}}),ke},*getVerification({payload:I,callback:O},{call:k,put:me}){return yield k(qn.Ni,I)},*PhoneBind({payload:I,callback:O},{call:k,put:me}){return yield k(qn.uZ,I)},*EmailBind({payload:I,callback:O},{call:k,put:me}){return yield k(qn.rk,I)},*Authentication({payload:I,callback:O},{call:k,put:me}){return yield k(qn.Vy,I)},*Professional({payload:I,callback:O},{call:k,put:me}){return yield k(qn.tC,I)},*setleader({payload:I,callback:O},{call:k,put:me}){return yield k(qn.tO,I)},*getShixun({payload:I,callback:O},{call:k,put:me}){return yield k(qn.qj,I)},*getCourse({payload:I,callback:O},{call:k,put:me}){return yield k(qn.XR,I)},*competition_teams({payload:I,callback:O},{call:k,put:me}){const ke=yield k(qn.zz,I);return yield me({type:"save",payload:{competition_team:ke}}),ke},*all_team_members({payload:I,callback:O},{call:k,put:me}){const ke=yield k(qn.$P,I);return yield me({type:"save",payload:{all_team_member:ke}}),ke}},reducers:{save(I,O){return ei(ei({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:k})=>{k==="/"&&I({type:"query"})})}}},si=e(1103),En=e(32026),tr=Object.defineProperty,_t=Object.defineProperties,rt=Object.getOwnPropertyDescriptors,It=Object.getOwnPropertySymbols,pt=Object.prototype.hasOwnProperty,lr=Object.prototype.propertyIsEnumerable,fr=(I,O,k)=>O in I?tr(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,Ir=(I,O)=>{for(var k in O||(O={}))pt.call(O,k)&&fr(I,k,O[k]);if(It)for(var k of It(O))lr.call(O,k)&&fr(I,k,O[k]);return I},Hr=(I,O)=>_t(I,rt(O)),et={namespace:"engineeringEvaluteDetail",state:{classDataSource:{active:null,dataList:[]},actionTabs:{key:"",params:{}},name:"",headerData:{dataSource:{[En.k[0]]:{width:235,placeholder:`\u8BF7\u9009\u62E9${En.k[0]}`,loading:"engineeringEvaluteDetail/getMajorList",dataList:[]},[En.k[1]]:{width:138,placeholder:`\u8BF7\u9009\u62E9${En.k[1]}`,loading:"engineeringEvaluteDetail/getYearList",dataList:[]}},active:{}},tabListData:[],echartsData:{barData:{name:"",dataSource:{xData:[],yBarData:[],yLineData:[]}},lineData:{name:"",xData:[],seriesData:[]},scatterData:{}}},effects:{*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:Ir({},I)}})},*getMajorList({payload:I},{call:O,put:k,select:me}){const{userInfo:ke}=yield me(en=>en.user);if(ke!=null&&ke.school_id){const en=yield O(si.BA,ke.school_id);en&&en.data&&(yield k({type:"setMajorOrYearDataSource",payload:{key:En.k[0],value:en.data.map($n=>({label:$n.name,value:$n.ec_major_school_id}))}}))}},*getYearList({payload:I},{call:O,put:k}){const me=yield O(si.Nx,I);me&&me.data&&(yield k({type:"setMajorOrYearDataSource",payload:{key:En.k[1],value:me.data.map(ke=>({label:ke.year,value:ke.ec_year_id}))}}))},*getCourseResultDetail({payload:I},{call:O,put:k}){console.log(I,"payload");const me=yield O(si.p1,I);me&&me.ec_course_target&&(yield k({type:"setEchartsData",payload:me}))},*getCourseResultDetailClass({payload:I},{call:O,put:k}){const me=yield O(si.ff,I);me&&me.class_name&&(yield k({type:"save",payload:{classDataSource:{active:null,dataList:[...me.class_name]}}}))},*setClassActive({payload:I},{call:O,put:k}){yield k({type:"save",payload:{classDataSource:Ir({},I)}})}},reducers:{save(I,O){return Ir(Ir({},I),O.payload)},setMajorOrYearDataSource(I,{payload:O}){return Hr(Ir({},I),{headerData:Hr(Ir({},I.headerData),{dataSource:Hr(Ir({},I.headerData.dataSource),{[O.key]:Hr(Ir({},I.headerData.dataSource[O.key]),{dataList:O.value})})})})},setMajorOrYearActive(I,{payload:O}){return Hr(Ir({},I),{headerData:Hr(Ir({},I.headerData),{active:Hr(Ir({},I.headerData.active),{[O.key]:O.value})})})},setEchartsData(I,{payload:O}){let k={name:O.course_name||"",dataSource:{xData:[],yBarData:[],yLineData:[]}},me={name:O.course_name||"",xData:[],seriesData:[]},ke={};return O.ec_course_target.forEach((en,$n)=>{en.position=$n+1,k=Hr(Ir({},k),{dataSource:{xData:[...k.dataSource.xData,$n+1],yBarData:[...k.dataSource.yBarData,en.actual_grade],yLineData:[...k.dataSource.yLineData,en.standard_grade]}});let dn=[],Di={min:[],max:[]},Ha=[],Oa=[],Ao=[];en.student_data.detail.forEach((Ma,io)=>{let ys=Ma.score;dn.push(io+1),Di.max.push(ys>=en.student_data.goal_score?ys:null),Di.min.push(ys>=en.student_data.goal_score?null:ys),Ha.push(Ma.name),Oa.push(Ma.student_id),Ao.push(Ma.clazz)}),ke[$n+1]={name:$n+1,average_score:en.student_data.average_score,goal_score:en.student_data.goal_score,xData:dn,yData:Di,name_data:Ha,student_ids:Oa,class_data:Ao,goal_scoreData:new Array(en.student_data.detail.length).fill(en.student_data.goal_score),average_scoreData:new Array(en.student_data.detail.length).fill(en.student_data.average_score)}}),O.history.forEach(en=>{me=Hr(Ir({},me),{xData:[...me.xData,en.year],seriesData:[...me.seriesData,en.total_score]})}),Hr(Ir({},I),{name:O.course_name||"",tabListData:O.ec_course_target,echartsData:{barData:k,lineData:me,scatterData:ke}})}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:k})=>{k==="/"&&I({type:"query"})})}}},Ee=Object.defineProperty,it=Object.getOwnPropertySymbols,ir=Object.prototype.hasOwnProperty,Dr=Object.prototype.propertyIsEnumerable,Er=(I,O,k)=>O in I?Ee(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,Or=(I,O)=>{for(var k in O||(O={}))ir.call(O,k)&&Er(I,k,O[k]);if(it)for(var k of it(O))Dr.call(O,k)&&Er(I,k,O[k]);return I},bn={namespace:"engineering",state:{showMenu:!0,matrixVerify:{key:!1,params:{}},actionTabs:{key:"",params:{}}},effects:{*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:Or({},I)}})},*setShowMenu({payload:I},{call:O,put:k}){yield k({type:"save",payload:{showMenu:I}})},*setMatrixVerify({payload:I},{call:O,put:k}){yield k({type:"save",payload:{matrixVerify:Or({},I)}})}},reducers:{save(I,O){return Or(Or({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:k})=>{k==="/"&&I({type:"query"})})}}},Pr=e(96999),un=Object.defineProperty,rn=Object.defineProperties,ln=Object.getOwnPropertyDescriptors,An=Object.getOwnPropertySymbols,pa=Object.prototype.hasOwnProperty,Pi=Object.prototype.propertyIsEnumerable,gi=(I,O,k)=>O in I?un(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,pn=(I,O)=>{for(var k in O||(O={}))pa.call(O,k)&&gi(I,k,O[k]);if(An)for(var k of An(O))Pi.call(O,k)&&gi(I,k,O[k]);return I},ui=(I,O)=>rn(I,ln(O)),la={namespace:"engineeringNavigtion",state:{actionTabs:{key:"",params:{}},headerData:{title:"\u8BA4\u8BC1\u5BFC\u822A",dataSource:{[En.k[0]]:{width:235,placeholder:`\u8BF7\u9009\u62E9${En.k[0]}`,loading:"engineeringNavigtion/getMajorList",dataList:[]},[En.k[1]]:{width:138,placeholder:`\u8BF7\u9009\u62E9${En.k[1]}`,loading:"engineeringNavigtion/getYearList",dataList:[]}},active:{},name:"",tabBarContent:{user_name:"",user_school:"",user_type:""}},cardListData:{appraiseData:{norm:{title:"\u6307\u6807\u8BC4\u4EF7",result:"-",tabBarContent:[{icon:"icon-biyezhibiao",label:"\u6BD5\u4E1A\u6307\u6807",value:"/engineering/graduated/index"},{icon:"icon-biyejuzhen",label:"\u6BD5\u4E1A\u77E9\u9635",value:"/engineering/graduated/matrix"}],listData:[{key:"graduation_count",icon:"icon-biyeyaoqiu1",backgroundColor:"#F2EBFB",textColor:"#713BDB",label:"\u6BD5\u4E1A\u8981\u6C42",value:"-",unit:"\u9879"},{key:"graduation_subitem_count",icon:"icon-zhibiaodian",backgroundColor:"#FEF3EF",textColor:"#FF8B58",label:"\u6307\u6807\u70B9",value:"-",unit:"\u9879"},{key:"graduation_achieve_count",icon:"icon-dacheng",backgroundColor:"#D7F5E6",textColor:"#07C160",label:"\u5DF2\u8FBE\u6210\u6BD5\u4E1A\u8981\u6C42",value:"-",unit:"\u9879"},{key:"graduation_not_achieve_count",icon:"icon-weidacheng",backgroundColor:"#F5F5F5",textColor:"#7C8184",label:"\u672A\u8FBE\u6210\u6BD5\u4E1A\u8981\u6C42",value:"-",unit:"\u9879"}]},course:{title:"\u8BFE\u7A0B\u8BC4\u4EF7",result:"-",tabBarContent:[{icon:"icon-kechengliebiao",label:"\u8BFE\u7A0B\u5217\u8868",value:"/engineering/course/list"},{icon:"icon-kechengjuzhen",label:"\u8BFE\u7A0B\u77E9\u9635",value:"/engineering/course/matrix"}],listData:[{key:"course_count",icon:"icon-kechengshuliang",backgroundColor:"#E2F5FF",textColor:"#007AFF",label:"\u8BFE\u7A0B\u6570\u91CF",value:"-",unit:"\u95E8"},{key:"course_target_count",icon:"icon-mubiao",backgroundColor:"#FEF8EF",textColor:"#FEB315",label:"\u8BFE\u7A0B\u76EE\u6807",value:"-",unit:"\u9879"},{key:"course_achieve_count",icon:"icon-dacheng",backgroundColor:"#D7F5E6",textColor:"#07C160",label:"\u5DF2\u8FBE\u6210\u8BFE\u7A0B\u6570\u91CF",value:"-",unit:"\u95E8"},{key:"course_not_achieve_count",icon:"icon-weidacheng",backgroundColor:"#F5F5F5",textColor:"#7C8184",label:"\u672A\u8FBE\u6210\u8BFE\u7A0B\u6570\u91CF",value:"-",unit:"\u95E8"}]}},teamData:{teach:{title:"\u6388\u8BFE\u56E2\u961F",tabBarContent:"0\u4EBA",listData:[]},work:{title:"\u5DE5\u4F5C\u56E2\u961F",tabBarContent:"0\u4EBA",listData:[]}}},totalListData:[{key:"student_count",title:"\u5F53\u524D\u5B66\u751F\u603B\u6570",value:0,icon:"icon-xuesheng1",backgroundColor:"rgba(201,236,255,0.51)",textColor:"#007AFF"},{key:"student_in_count",title:"\u8F6C\u5165\u5B66\u751F\u603B\u6570",value:0,icon:"icon-zhuanru",backgroundColor:"rgba(119,241,174,0.4)",textColor:"#1FA363"},{key:"student_out_count",title:"\u8F6C\u51FA\u5B66\u751F\u603B\u6570",value:0,icon:"icon-zhuanchu",backgroundColor:"rgba(255,197,147,0.44)",textColor:"#FA6400"}]},effects:{*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:pn({},I)}})},*getMajorList({},{call:I,put:O,select:k}){const{userInfo:me}=yield k(ke=>ke.user);if(me!=null&&me.school_id){const ke=yield I(si.BA,me.school_id);if(ke&&ke.data){const en=Pr.U.getItem(me==null?void 0:me.login);yield O({type:"setMajorOrYearDataSource",payload:{key:En.k[0],value:ke.data.map($n=>({label:$n.name,value:$n.ec_major_school_id})),active:ke.data.length>0?en[0]||ke.data[0].ec_major_school_id:void 0}})}}},*getYearList({payload:I},{call:O,put:k,select:me}){const ke=yield O(si.Nx,I.id),{userInfo:en}=yield me($n=>$n.user);if(ke&&ke.data){const $n=Pr.U.getItem(en==null?void 0:en.login);yield k({type:"setMajorOrYearDataSource",payload:{key:En.k[1],value:ke.data.map(dn=>({label:dn.year,value:dn.ec_year_id})),active:ke.data.length>0?I.firstEnter?$n[1]:ke.data[0].ec_year_id:void 0}})}},*getTopPage({},{call:I,put:O,select:k}){const{headerData:me}=yield k($n=>$n.engineeringNavigtion),{userInfo:ke}=yield k($n=>$n.user);let en={};if(me.active[En.k[1]]&&ke.school_id){const $n=[me.active[En.k[0]],me.active[En.k[1]]];Pr.U.setItem(ke==null?void 0:ke.login,$n);const dn=yield I(si.bA,{ec_year_id:me.active[En.k[1]],school_id:ke.school_id});dn&&dn.data&&(en=dn.data),yield O({type:"setTopPage",payload:en})}},*putTopPageName({payload:I,callback:O},{call:k,put:me}){try{const ke=yield k(si.ay,I);O(ke)}catch(ke){let en="";ke&&(en=JSON.stringify(ke),ke.message&&(en=ke.message)),O({message:en,status:999})}}},reducers:{save(I,O){return pn(pn({},I),O.payload)},setMajorOrYearDataSource(I,{payload:O}){let k=I.headerData.active;return O.active&&(k=ui(pn({},k),{[O.key]:O.active})),ui(pn({},I),{headerData:ui(pn({},I.headerData),{dataSource:ui(pn({},I.headerData.dataSource),{[O.key]:ui(pn({},I.headerData.dataSource[O.key]),{dataList:O.value})}),active:k})})},setMajorOrYearActive(I,{payload:O}){return ui(pn({},I),{headerData:ui(pn({},I.headerData),{active:ui(pn({},I.headerData.active),{[O.key]:O.value})})})},setTopPage(I,{payload:O}){return ui(pn({},I),{headerData:ui(pn({},I.headerData),{name:O.name,tabBarContent:{user_name:O.user_name,user_school:O.user_school,user_type:O.user_type}}),cardListData:ui(pn({},I.cardListData),{appraiseData:ui(pn({},I.cardListData.appraiseData),{norm:ui(pn({},I.cardListData.appraiseData.norm),{result:O.graduaiton_result,listData:I.cardListData.appraiseData.norm.listData.map(k=>ui(pn({},k),{value:O[k.key]||0}))}),course:ui(pn({},I.cardListData.appraiseData.course),{result:O.course_result,listData:I.cardListData.appraiseData.course.listData.map(k=>ui(pn({},k),{value:O[k.key]||0}))})}),teamData:{teach:ui(pn({},I.cardListData.teamData.teach),{tabBarContent:`${O.course_teachers?O.course_teachers.length:0}\u4EBA`,listData:O.course_teachers||[]}),work:ui(pn({},I.cardListData.teamData.work),{tabBarContent:`${O.work_teachers?O.work_teachers.length:0}\u4EBA`,listData:O.work_teachers||[]})}}),totalListData:I.totalListData.map(k=>ui(pn({},k),{value:O[k.key]||0}))})}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:k})=>{k==="/"&&I({type:"query"})})}}},xs=Object.defineProperty,Pa=Object.defineProperties,Na=Object.getOwnPropertyDescriptors,Is=Object.getOwnPropertySymbols,$a=Object.prototype.hasOwnProperty,hs=Object.prototype.propertyIsEnumerable,oa=(I,O,k)=>O in I?xs(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,yi=(I,O)=>{for(var k in O||(O={}))$a.call(O,k)&&oa(I,k,O[k]);if(Is)for(var k of Is(O))hs.call(O,k)&&oa(I,k,O[k]);return I},Ga=(I,O)=>Pa(I,Na(O)),$i={namespace:"engineeringNormDetail",state:{actionTabs:{key:"",params:{}},dataSource:{name:"",goal_value:0,actual_value:0,subitems:[]}},effects:{*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:yi({},I)}})},*getGraduationResultDetail({payload:I},{call:O,put:k}){const me=yield O(si.gq,I);yield k({type:"save",payload:{dataSource:me}})}},reducers:{save(I,O){return yi(yi({},I),O.payload)},setDataSource(I,{payload:O}){let k=O;return Ga(yi({},I),{dataSource:k})}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:k})=>{k==="/"&&I({type:"query"})})}}},ps=e(8591),Co=Object.defineProperty,La=Object.defineProperties,_s=Object.getOwnPropertyDescriptors,ji=Object.getOwnPropertySymbols,Gs=Object.prototype.hasOwnProperty,Rn=Object.prototype.propertyIsEnumerable,ja=(I,O,k)=>O in I?Co(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,ns=(I,O)=>{for(var k in O||(O={}))Gs.call(O,k)&&ja(I,k,O[k]);if(ji)for(var k of ji(O))Rn.call(O,k)&&ja(I,k,O[k]);return I},ls=(I,O)=>La(I,_s(O)),Vi=(I,O)=>{var k={};for(var me in I)Gs.call(I,me)&&O.indexOf(me)<0&&(k[me]=I[me]);if(I!=null&&ji)for(var me of ji(I))O.indexOf(me)<0&&Rn.call(I,me)&&(k[me]=I[me]);return k},Da={namespace:"engineeringNormList",state:{actionTabs:{key:"",params:{}},headerData:{dataSource:{[En.k[0]]:{width:235,placeholder:`\u8BF7\u9009\u62E9${En.k[0]}`,loading:"engineeringNormList/getMajorList",dataList:[]},[En.k[1]]:{width:138,placeholder:`\u8BF7\u9009\u62E9${En.k[1]}`,loading:"engineeringNormList/getYearList",dataList:[]}},active:{}},tabListData:[],expandedRowKeys:[],all_goal_value:""},effects:{*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:ns({},I)}})},*getMajorList({},{call:I,put:O,select:k}){const{userInfo:me}=yield k(ke=>ke.user);if(me!=null&&me.school_id){const ke=yield I(si.BA,me.school_id);if(ke&&ke.data){const en=Pr.U.getItem(me==null?void 0:me.login);yield O({type:"setMajorOrYearDataSource",payload:{key:En.k[0],value:ke.data.map($n=>({label:$n.name,value:$n.ec_major_school_id})),active:ke.data.length>0?en[0]||ke.data[0].ec_major_school_id:void 0}})}}},*getYearList({payload:I},{call:O,put:k,select:me}){const ke=yield O(si.Nx,I.id),{userInfo:en}=yield me($n=>$n.user);if(ke&&ke.data){const $n=Pr.U.getItem(en==null?void 0:en.login);yield k({type:"setMajorOrYearDataSource",payload:{key:En.k[1],value:ke.data.map(dn=>({label:dn.year,value:dn.ec_year_id})),active:ke.data.length>0?I.firstEnter?$n[1]:ke.data[0].ec_year_id:void 0}})}},*getGraduationResults({},{call:I,put:O,select:k}){const{headerData:me}=yield k(Ha=>Ha.engineeringNormList),{userInfo:ke}=yield k(Ha=>Ha.user);let en=[],$n=[],dn="";const Di=me.active[En.k[1]];if(Di){const Ha=[me.active[En.k[0]],me.active[En.k[1]]];Pr.U.setItem(ke==null?void 0:ke.login,Ha);const Oa=yield I(si.eM,Di);Oa&&Oa.graduation_requirements&&(dn=Oa.all_goal_value||"",en=Oa.graduation_requirements.map(Ao=>{var Ma=Ao,{subitems:io}=Ma,ys=Vi(Ma,["subitems"]);return $n.push(ys.id),ls(ns({},ys),{children:io})}))}yield O({type:"save",payload:{tabListData:en,all_goal_value:dn,expandedRowKeys:$n}})},*exportGraduation({},{call:I,select:O}){const{headerData:k}=yield O(me=>me.engineeringNormList);k.active[En.k[1]]&&(yield I(si.OE,k.active[En.k[1]]))},*compute({payload:I},{call:O,put:k}){const me=I,{all:ke}=me,en=Vi(me,["all"]),$n=yield O(ke?si.Qx:si.Xl,en);$n&&$n.status===0?(ps.ZP.success("\u8BA1\u7B97\u5B8C\u6210"),yield k({type:"getGraduationResults"})):ps.ZP.error($n.message)},*getFormulas({callback:I},{call:O,select:k}){const{headerData:me}=yield k(ke=>ke.engineeringNormList);if(me.active[En.k[1]]){const ke=yield O(si.mK,me.active[En.k[1]]);I(ke)}},*setFormulas({payload:I,callback:O},{call:k}){const me=yield k(si.y9,I);O(me)},*putGoalValue({payload:I},{call:O,put:k}){const me=yield O(si.No,I);if(me&&me.status===0)ps.ZP.success("\u4FDD\u5B58\u6210\u529F"),yield k({type:"save",payload:{actionTabs:{key:"",params:{}}}}),yield k({type:"getGraduationResults"});else{let ke="\u4FDD\u5B58\u5931\u8D25";me&&me.message&&(ke=me.message),ps.ZP.error(ke)}}},reducers:{save(I,O){return ns(ns({},I),O.payload)},setMajorOrYearDataSource(I,{payload:O}){let k=I.headerData.active;return O.active&&(k=ls(ns({},k),{[O.key]:O.active})),ls(ns({},I),{headerData:ls(ns({},I.headerData),{dataSource:ls(ns({},I.headerData.dataSource),{[O.key]:ls(ns({},I.headerData.dataSource[O.key]),{dataList:O.value})}),active:k})})},setMajorOrYearActive(I,{payload:O}){return ls(ns({},I),{headerData:ls(ns({},I.headerData),{active:ls(ns({},I.headerData.active),{[O.key]:O.value})})})}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:k})=>{k==="/"&&I({type:"query"})})}}},ms=e(94670),Bs=Object.defineProperty,_o=Object.getOwnPropertySymbols,To=Object.prototype.hasOwnProperty,Vo=Object.prototype.propertyIsEnumerable,uo=(I,O,k)=>O in I?Bs(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,ca=(I,O)=>{for(var k in O||(O={}))To.call(O,k)&&uo(I,k,O[k]);if(_o)for(var k of _o(O))Vo.call(O,k)&&uo(I,k,O[k]);return I},mo={namespace:"forumsDetail",state:{forumsDetailData:{}},effects:{*getForumsDetailData({payload:I},{call:O,put:k}){const me=yield O(ms.Si,I);return yield k({type:"save",payload:{forumsDetailData:ca({},me)}}),me},*setForumsDetailData({payload:I},{call:O,put:k}){yield k({type:"save",payload:{forumsDetailData:ca({},I)}})}},reducers:{save(I,O){return ca(ca({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:k})=>{k==="/"&&I({type:"query"})})}}},vo=Object.defineProperty,go=Object.getOwnPropertySymbols,hi=Object.prototype.hasOwnProperty,oi=Object.prototype.propertyIsEnumerable,Fa=(I,O,k)=>O in I?vo(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,Va=(I,O)=>{for(var k in O||(O={}))hi.call(O,k)&&Fa(I,k,O[k]);if(go)for(var k of go(O))oi.call(O,k)&&Fa(I,k,O[k]);return I},lo={namespace:"forumsList",state:{forumsData:{},listParams:{page:1,order:"updated_at"}},effects:{*getForumsData({payload:I},{call:O,put:k}){const me=yield O(I.memoType==="shixun_discuss"?ms.kd:ms.bc,I);return delete I.memoType,yield k({type:"save",payload:{listParams:I,forumsData:Va({},me)}}),me}},reducers:{save(I,O){return Va(Va({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:k})=>{k==="/"&&I({type:"query"})})}}},co=e(22072),Po=e(346),Qa=e(28209),Lo=e.n(Qa),yo=Object.defineProperty,Ko=Object.getOwnPropertySymbols,Tu=Object.prototype.hasOwnProperty,_u=Object.prototype.propertyIsEnumerable,fo=(I,O,k)=>O in I?yo(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,fs=(I,O)=>{for(var k in O||(O={}))Tu.call(O,k)&&fo(I,k,O[k]);if(Ko)for(var k of Ko(O))_u.call(O,k)&&fo(I,k,O[k]);return I},Mo={namespace:"globalSetting",state:{name:"\u5168\u5C40\u914D\u7F6E",loading:!0,isIlearning:window.location.host.indexOf("learning.")>-1,showFooter:!0,showHeader:!0,showTip:!1,showHeaderFooter:!0,showHeaderFixed:!1,onlyShowBackTop:!0,onlyShowBackTopIcons:!0,operateModel:!1,operateModelPath:"",showQuestionBackTop:!1,theme:"defaults",shareData:{title:document.title,imgUrl:"https://ali-cdn.educoder.net/images/avatars/LaboratorySetting/1tab?t=1610677202",desc:""},globalLoading:{show:!1,text:""},updateData:{end_time:"",start_time:"",subject:"",system_score:"",system_update:!1},infoData:{name:"",phone:""},isSaiaDomain:window.location.host=="saia.educoder.net",actionTabs:{key:"",params:{}}},effects:{*query({payload:I},{call:O,put:k}){var me,ke;const en=yield O(co.D2,I);Po.Z.ONLYOFFICE=(me=en==null?void 0:en.setting)==null?void 0:me.office_server_url,Io(en);try{const Di="5183666c72eec9e4",Ha="5183666c72eec9e4";var $n=Lo().enc.Utf8.parse(Di);let Oa=Lo().enc.Utf8.parse(Ha);var dn=Lo().AES.decrypt(((ke=en==null?void 0:en.setting)==null?void 0:ke.user_default_password)||"",$n,{iv:Oa,mode:Lo().mode.CBC});en.setting.user_default_password=dn.toString(Lo().enc.Utf8)}catch(Di){}yield k({type:"save",payload:fs({},en)})},*getSystemUpdate({payload:I},{call:O,put:k}){const me=yield O(co.n0,I);yield k({type:"save",payload:{updateData:fs({},me)}})},*setTheme({payload:I},{call:O,put:k}){const me=yield O(co.n0,I);yield k({type:"save",payload:{theme:I||"default"}})},*setShareData({payload:I},{call:O,put:k}){yield k({type:"save",payload:{shareData:I}})},*setGlobalLoading({payload:I},{call:O,put:k}){yield k({type:"save",payload:{globalLoading:fs({},I)}})},*delayTipToggle({payload:I},{call:O,put:k}){yield k({type:"save",payload:{showTip:I}})},*headerToggle({payload:I},{call:O,put:k}){yield k({type:"save",payload:{showHeader:I}})},*footerToggle({payload:I},{call:O,put:k}){yield k({type:"save",payload:{showFooter:I}})},*headerFooterToggle({payload:I},{call:O,put:k}){yield k({type:"save",payload:{showHeaderFooter:I}})},*delayTipToggle({payload:I},{call:O,put:k}){yield k({type:"save",payload:{showTip:I}})},*headerFixedToggle({payload:I},{call:O,put:k}){yield k({type:"save",payload:{showHeaderFixed:I}})},*onlyShowBackTopToggle({payload:I},{call:O,put:k}){yield k({type:"save",payload:{onlyShowBackTop:I}})},*onlyShowBackTopIconToggle({payload:I},{call:O,put:k}){yield k({type:"save",payload:{onlyShowBackTopIcons:I}})},*setOperateModel({payload:I},{call:O,put:k}){yield k({type:"save",payload:{operateModel:I}})},*setOperateModelPath({payload:I},{call:O,put:k}){yield k({type:"save",payload:{operateModelPath:I}})},*setShowQuestionBackTop({payload:I},{call:O,put:k}){yield k({type:"save",payload:{showQuestionBackTop:I}})},*setInfoData({payload:I},{call:O,put:k}){yield k({type:"save",payload:{infoData:fs({},I)}})},*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:fs({},I)}})}},reducers:{save(I,O){return fs(fs({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:k})=>{})}}};const Io=(I={})=>{var O,k,me,ke,en;if(window.self!==window.top||!((O=I.setting)!=null&&O.tab_logo_url))return;const $n=document.createElement("link"),dn=document.getElementById("dynamic-favicon");$n.id="dynamic-favicon",$n.rel="shortcut icon",$n.href=(k=I.setting)!=null&&k.tab_logo_url?`${Po.Z.IMG_SERVER}/${(me=I.setting)==null?void 0:me.tab_logo_url}`:"",dn&&document.head.removeChild(dn),document.head.appendChild($n);try{(ke=I.setting)!=null&&ke.main_site||(document.querySelector('meta[name="keywords"]').content=(en=I.setting)==null?void 0:en.name,document.querySelector('meta[name="description"]').remove())}catch(Di){}};var Us=e(12309),ou=Object.defineProperty,jo=Object.getOwnPropertySymbols,Do=Object.prototype.hasOwnProperty,Ls=Object.prototype.propertyIsEnumerable,bo=(I,O,k)=>O in I?ou(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,mu=(I,O)=>{for(var k in O||(O={}))Do.call(O,k)&&bo(I,k,O[k]);if(jo)for(var k of jo(O))Ls.call(O,k)&&bo(I,k,O[k]);return I},Qt={namespace:"graduations",state:{actionTabs:{key:"",params:{}},details:{},menus:[],forTask:[],ownedList:[],students:{},years:[],graduation:{teachers_count:0,students_count:0,graduation_tasks_count:0},teachers:{},graduation_stages:[],Notices:{total_count:0,no_deal_count:0},Tasks:{data:[],count:0},updateIndex:1},effects:{*getGraduationsStageDetails({payload:I},{call:O,put:k}){return yield O(Us.Xh,I)},*getGraduationsFinalScore({payload:I},{call:O,put:k}){return yield O(Us.H3,I)},*getDelGraduationsTasks({payload:I},{call:O,put:k}){return yield O(Us.km,I)},*getGraduationsTasks({payload:I},{call:O,put:k}){const me=yield O(Us.Xw,I);yield k({type:"save",payload:{Tasks:me}})},*getGraduationsTeachers({payload:I},{call:O,put:k}){var me;const ke=yield O(Us.AA,I);return(me=ke==null?void 0:ke.data)==null||me.map(en=>(en.key=en.id,en)),yield k({type:"save",payload:{teachers:ke}}),ke},*getGraduationsStudents({payload:I},{call:O,put:k}){var me;const ke=yield O(Us.eh,I);(me=ke==null?void 0:ke.data)==null||me.map(en=>(en.key=en.id,en)),yield k({type:"save",payload:{students:ke}})},*getGraduationsNotices({payload:I},{call:O,put:k}){const me=yield O(Us.Rk,I);yield k({type:"save",payload:{Notices:me}})},*getGraduationsInfo({payload:I},{call:O,put:k}){const me=yield O(Us.F7,I);yield k({type:"save",payload:{graduation:me.graduation}})},*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:mu({},I)}})},*setUpdateIndex({payload:I},{call:O,put:k}){yield k({type:"save",payload:{updateIndex:Math.random()}})},*getGraduationsDetails({payload:I},{call:O,put:k}){const me=yield O(Us.Ou,I);yield k({type:"save",payload:{details:(me==null?void 0:me.graduation)||{},menus:(me==null?void 0:me.data)||[],forTask:(me==null?void 0:me.for_task)||[]}})}},reducers:{save(I,O){return mu(mu({},I),O.payload)}}},cr=e(82220),sr=Object.defineProperty,vr=Object.defineProperties,wr=Object.getOwnPropertyDescriptors,xn=Object.getOwnPropertySymbols,Sn=Object.prototype.hasOwnProperty,Un=Object.prototype.propertyIsEnumerable,Ln=(I,O,k)=>O in I?sr(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,Gn=(I,O)=>{for(var k in O||(O={}))Sn.call(O,k)&&Ln(I,k,O[k]);if(xn)for(var k of xn(O))Un.call(O,k)&&Ln(I,k,O[k]);return I},ur=(I,O)=>vr(I,wr(O)),xr={namespace:"homePage",state:{name:"\u9996\u9875",loading:!0},effects:{*home({payload:I},{call:O,put:k}){const me=yield O(cr.Tt,{payload:I});yield k({type:"save",payload:ur(Gn({},me),{isloading:!0})})},*query({payload:I},{call:O,put:k}){yield k({type:"save",payload:{name:"linlu"}})},*getHomeNotice({payload:I,callback:O},{call:k,put:me}){return yield k(cr.LA,I)},*UploadNotice({payload:I,callback:O},{call:k,put:me}){return yield k(cr.S_,I)}},reducers:{save(I,O){return Gn(Gn({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:k})=>{k==="/"&&I({type:"query"})})}}},mn=Object.defineProperty,Hn=Object.defineProperties,ft=Object.getOwnPropertyDescriptors,Pn=Object.getOwnPropertySymbols,Vn=Object.prototype.hasOwnProperty,li=Object.prototype.propertyIsEnumerable,Qi=(I,O,k)=>O in I?mn(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,Nr=(I,O)=>{for(var k in O||(O={}))Vn.call(O,k)&&Qi(I,k,O[k]);if(Pn)for(var k of Pn(O))li.call(O,k)&&Qi(I,k,O[k]);return I},Li=(I,O)=>Hn(I,ft(O)),zr={namespace:"innovation",state:{visibleModalName:"",hideRemindModal:!0,openForkModalPosition:"forkButton",simpleModalProps:{visible:!1}},reducers:{save(I,O){return Nr(Nr({},I),O.payload)},openModal(I,O){return Li(Nr({},I),{visibleModalName:O.payload})},closeModal(I){return Li(Nr({},I),{visibleModalName:""})},openSimpleModal(I,O){return Li(Nr({},I),{simpleModalProps:Nr({visible:!0},O.payload)})},closeSimpleModal(I){return Li(Nr({},I),{simpleModalProps:{visible:!1}})}}},na=e(38986),Ss=Object.defineProperty,ci=Object.getOwnPropertySymbols,Vs=Object.prototype.hasOwnProperty,xo=Object.prototype.propertyIsEnumerable,Os=(I,O,k)=>O in I?Ss(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,xa=(I,O)=>{for(var k in O||(O={}))Vs.call(O,k)&&Os(I,k,O[k]);if(ci)for(var k of ci(O))xo.call(O,k)&&Os(I,k,O[k]);return I},ds=(I,O,k)=>new Promise((me,ke)=>{var en=Di=>{try{dn(k.next(Di))}catch(Ha){ke(Ha)}},$n=Di=>{try{dn(k.throw(Di))}catch(Ha){ke(Ha)}},dn=Di=>Di.done?me(Di.value):Promise.resolve(Di.value).then(en,$n);dn((k=k.apply(I,O)).next())});const ks=I=>ds(void 0,null,function*(){return(0,na.ZP)("/api/paid_subjects/banner.json",{method:"get",params:xa({},I)})}),In=I=>ds(void 0,null,function*(){return(0,na.ZP)("/api/paid_subjects/top_category.json",{method:"get",params:xa({},I)})}),gs=I=>ds(void 0,null,function*(){return(0,na.ZP)("/api/paid_subjects/hot_recommend_subjects.json",{method:"get",params:xa({},I)})}),Ns=I=>ds(void 0,null,function*(){return(0,na.ZP)("/api/paid_subjects/time_discount_subjects.json",{method:"get",params:xa({},I)})}),Ye=I=>ds(void 0,null,function*(){return(0,na.ZP)("/api/paid_subjects.json",{method:"post",body:xa({},I)})}),Qe=I=>ds(void 0,null,function*(){return(0,na.ZP)("/api/paid_subjects/all_tags.json",{method:"get",params:xa({},I)})}),Mt=I=>ds(void 0,null,function*(){return(0,na.ZP)("/api/paid_subjects/user_comments.json",{method:"get",params:xa({},I)})}),Kt=I=>ds(void 0,null,function*(){return(0,na.ZP)("/api/paid_subjects/info_show.json",{method:"get",params:xa({},I)})});var hr=Object.defineProperty,Rr=Object.getOwnPropertySymbols,jr=Object.prototype.hasOwnProperty,vn=Object.prototype.propertyIsEnumerable,nn=(I,O,k)=>O in I?hr(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,gn=(I,O)=>{for(var k in O||(O={}))jr.call(O,k)&&nn(I,k,O[k]);if(Rr)for(var k of Rr(O))vn.call(O,k)&&nn(I,k,O[k]);return I},ni={namespace:"intraincourse",state:{name:"\u7528\u6237\u767B\u5F55\u6A21\u5757",BannerList:[],Adv:{},TopCategoryList:[],HotList:[],DiscountList:[],SubjectList:{},Tags:[],UserComments:[],InfoShow:{}},effects:{*getBannerList({payload:I},{call:O,put:k}){const{data:{adv:me,top_banner:ke}}=yield O(ks,I);yield k({type:"save",payload:{BannerList:ke,Adv:me}})},*getTopCategoryList({payload:I},{call:O,put:k}){const{data:{top_category_list:me}}=yield O(In,I);yield k({type:"save",payload:{TopCategoryList:[{id:-1,name:"\u5168\u90E8"},...me]}})},*getHotList({payload:I},{call:O,put:k}){const{data:{hot_list:me}}=yield O(gs,I);yield k({type:"save",payload:{HotList:me}})},*getDiscountList({payload:I},{call:O,put:k}){const{data:{discount_list:me}}=yield O(Ns,I);yield k({type:"save",payload:{DiscountList:me}})},*getPaidSubjects({payload:I},{call:O,put:k}){const{data:me}=yield O(Ye,I);yield k({type:"save",payload:{SubjectList:me}})},*getTags({payload:I},{call:O,put:k}){const{data:{list:me}}=yield O(Qe,I);yield k({type:"save",payload:{Tags:me}})},*getUserComments({payload:I},{call:O,put:k}){const{data:{list:me}}=yield O(Mt,I);yield k({type:"save",payload:{UserComments:me}})},*getInfoShow({payload:I},{call:O,put:k}){const{data:me}=yield O(Kt,I);yield k({type:"save",payload:{InfoShow:me}})}},reducers:{save(I,O){return gn(gn({},I),O.payload)}}},Ii={namespace:"loadingss",state:{global:!1,effects:{},models:{}}},Hi=e(50958),Mi=Object.defineProperty,wi=Object.getOwnPropertySymbols,ma=Object.prototype.hasOwnProperty,Ci=Object.prototype.propertyIsEnumerable,bi=(I,O,k)=>O in I?Mi(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,fa=(I,O)=>{for(var k in O||(O={}))ma.call(O,k)&&bi(I,k,O[k]);if(wi)for(var k of wi(O))Ci.call(O,k)&&bi(I,k,O[k]);return I},Es={namespace:"messages",state:{tidingsList:[],privateMessage:[],unreadInfo:[],recentContacts:{},privateMessageDetails:{},userPrivateMessage:{},actionTabs:{key:"",params:{}}},effects:{*getPrivateMessageDetails({payload:I},{call:O,put:k}){const me=yield O(Hi.Ub,I);return yield k({type:"save",payload:{privateMessageDetails:me||[]}}),me},*getTidings({payload:I},{call:O,put:k}){const me=yield O(Hi.AD,I);yield k({type:"save",payload:{tidingsList:me||[]}})},*getPrivateMessages({payload:I},{call:O,put:k}){const me=yield O(Hi.V8,I);return yield k({type:"save",payload:{privateMessage:me||[]}}),me},*getUsersForPrivateMessages({payload:I},{call:O,put:k}){const me=yield O(Hi.QJ,I);return yield k({type:"save",payload:{userPrivateMessage:me||[]}}),me},*unreadMessageInfo({payload:I},{call:O,put:k}){const me=yield O(Hi.Ig,I);yield k({type:"save",payload:{unreadInfo:me||[]}})},*getRecentContacts({payload:I},{call:O,put:k}){const me=yield O(Hi.Ko,I);return yield k({type:"save",payload:{recentContacts:me||[]}}),me},*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:fa({},I)}})}},reducers:{save(I,O){return fa(fa({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){}}},Wi=e(93629),ka=e(51257),ea=e(32162),ki=Object.defineProperty,va=Object.defineProperties,Ba=Object.getOwnPropertyDescriptors,Ka=Object.getOwnPropertySymbols,eo=Object.prototype.hasOwnProperty,qa=Object.prototype.propertyIsEnumerable,so=(I,O,k)=>O in I?ki(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,Ya=(I,O)=>{for(var k in O||(O={}))eo.call(O,k)&&so(I,k,O[k]);if(Ka)for(var k of Ka(O))qa.call(O,k)&&so(I,k,O[k]);return I},Ys=(I,O)=>va(I,Ba(O));const Ms=(I,O)=>{var k,me,ke,en,$n,dn,Di,Ha,Oa;if(!I)return;const{exam:Ao,single_questions:Ma,multiple_questions:io,judgement_questions:ys,program_questions:kc,completion_questions:Jl,subjective_questions:ec,practical_questions:bc,combination_questions:Nu,bprogram_questions:Oi}=I||{},tc=[Ya({type:"SINGLE",question_type:0,name:((k=O==null?void 0:O.find(Ja=>Ja.value==ea.fw[0].nameType))==null?void 0:k.name)||ea.fw[0].name},Ma),Ya({type:"MULTIPLE",question_type:1,name:((me=O==null?void 0:O.find(Ja=>Ja.value==ea.fw[1].nameType))==null?void 0:me.name)||ea.fw[1].name},io),Ya({type:"JUDGMENT",question_type:2,name:((ke=O==null?void 0:O.find(Ja=>Ja.value==ea.fw[2].nameType))==null?void 0:ke.name)||ea.fw[2].name},ys),Ya({type:"PROGRAM",question_type:6,name:((en=O==null?void 0:O.find(Ja=>Ja.value==ea.fw[6].nameType))==null?void 0:en.name)||ea.fw[6].name},kc),Ya({type:"COMPLETION",question_type:3,name:(($n=O==null?void 0:O.find(Ja=>Ja.value==ea.fw[3].nameType))==null?void 0:$n.name)||ea.fw[3].name},Jl),Ya({type:"SUBJECTIVE",question_type:4,name:((dn=O==null?void 0:O.find(Ja=>Ja.value==ea.fw[4].nameType))==null?void 0:dn.name)||ea.fw[4].name},ec),Ya({type:"PRACTICAL",question_type:5,name:((Di=O==null?void 0:O.find(Ja=>Ja.value==ea.fw[5].nameType))==null?void 0:Di.name)||ea.fw[5].name},bc),Ya({type:"COMBINATION",question_type:7,name:((Ha=O==null?void 0:O.find(Ja=>Ja.value==ea.fw[7].nameType))==null?void 0:Ha.name)||ea.fw[7].name},Nu),Ya({type:"BPROGRAM",question_type:8,name:((Oa=O==null?void 0:O.find(Ja=>Ja.value==ea.fw[8].nameType))==null?void 0:Oa.name)||ea.fw[8].name},Oi)],Rl=[];if(I.sort_by_qustion_type)for(const Ja of I.qustion_type_order_name_en)Rl.push(tc.find(al=>al.type===Ja));const Ws=(I.sort_by_qustion_type?Rl:tc).filter(Ja=>(Ja==null?void 0:Ja.questions_count)>0).map((Ja,al)=>{var sl;return Ya(Ya({},Ja),{number:(0,ka.EM)(al+1),questions:(sl=Ja==null?void 0:Ja.questions)==null?void 0:sl.map(bl=>Ys(Ya({},bl),{shixun:bl.examination_bank_shixun_challenges,question_type:Ja.question_type}))})});return{exam:Ao,questionList:Ws}};var da=e(55305),Ua=Object.defineProperty,As=Object.getOwnPropertySymbols,ga=Object.prototype.hasOwnProperty,ye=Object.prototype.propertyIsEnumerable,we=(I,O,k)=>O in I?Ua(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,yr=(I,O)=>{for(var k in O||(O={}))ga.call(O,k)&&we(I,k,O[k]);if(As)for(var k of As(O))ye.call(O,k)&&we(I,k,O[k]);return I},br={namespace:"paperlibrary",state:{paperData:void 0,disciplinesData:void 0,teachGroupData:void 0,courseOptions:[],actionTabs:{key:"",params:{}}},effects:{*postExistCourse({payload:I},{call:O,put:k}){return yield O(Wi.a2,I)},*postCheckExaminationBanks({payload:I},{call:O,put:k}){return yield O(Wi.q$,I)},*postPaperlibraryCopy({payload:I},{call:O,put:k}){return yield O(Wi.ID,I)},*getDisciplines({payload:I},{call:O,put:k}){const me=yield O(Wi.d1,I);return yield k({type:"save",payload:{disciplinesData:yr({},me)}}),me},*getCustomDisciplines({payload:I},{call:O,put:k}){const me=yield O(Wi.ar,I);return yield k({type:"save",payload:{disciplinesData:yr({},me)}}),me},*getEditDisciplines({payload:I},{call:O,put:k}){const me=yield O(Wi.d1,I),ke=me==null?void 0:me.disciplines,en=(0,da.L)(ke);return yield k({type:"save",payload:{courseOptions:en,disciplinesData:yr({},me)}}),me},*getTeachGroupData({payload:I},{call:O,put:k}){const me=yield O(Wi.Dm,I);return yield k({type:"save",payload:{teachGroupData:yr({},me)}}),me},*getPaperData({payload:I},{call:O,put:k}){const me=yield O(Wi.iT,I),ke=yield O(Wi.cV,I),en=Ms(me,ke.data);return yield k({type:"save",payload:{paperData:en}}),me},*getPaperlibraryList({payload:I},{call:O,put:k}){return yield O(Wi.Gd,I)},*setPublic({payload:I},{call:O,put:k}){return yield O(Wi.DF,I)},*handleDelete({payload:I},{call:O,put:k}){return yield O(Wi.fn,I)},*getCourseList({payload:I},{call:O,put:k}){return yield O(Wi.tS,I)},*postBatchSendToCourse({payload:I},{call:O,put:k}){return yield O(Wi.lc,I)},*sendToClass({payload:I},{call:O,put:k}){return yield O(Wi.kp,I)},*adjustPosition({payload:I},{call:O,put:k}){return yield O(Wi.qN,I)},*setScore({payload:I},{call:O,put:k}){return yield O(Wi.ts,I)},*handleDeleteEditQuestion({payload:I},{call:O,put:k}){return yield O(Wi.NC,I)},*batchSetScore({payload:I},{call:O,put:k}){return yield O(Wi.YP,I)},*batchDelete({payload:I},{call:O,put:k}){return yield O(Wi.Hm,I)},*updatePaper({payload:I},{call:O,put:k}){return yield O(Wi.jK,I)},*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:yr({},I)}})}},reducers:{save(I,O){return yr(yr({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:k})=>{k==="/"&&I({type:"query"})})}}},Qr=Object.defineProperty,Cn=Object.getOwnPropertySymbols,ri=Object.prototype.hasOwnProperty,Fi=Object.prototype.propertyIsEnumerable,Mn=(I,O,k)=>O in I?Qr(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,Dn=(I,O)=>{for(var k in O||(O={}))ri.call(O,k)&&Mn(I,k,O[k]);if(Cn)for(var k of Cn(O))Fi.call(O,k)&&Mn(I,k,O[k]);return I},ia={namespace:"newExercisePaper",state:{loading:!0,exerciseExportHeadData:{},tagDisciplineData:{},editData:{},actionTabs:{removeEventListenerExitScreen:!1}},effects:{*getExerciseExportHeadData({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Wi.Dq,I);return yield me({type:"save",payload:{exerciseExportHeadData:Dn({},ke)}}),ke},*editExercise({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Wi.Di,I);return yield me({type:"save",payload:{editData:Dn({},ke)}}),ke},*getTagDiscipline({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Ze.YY,I);return yield me({type:"save",payload:{tagDisciplineData:Dn({},ke)}}),ke},*editExerciseQuestion({payload:I,callback:O},{call:k,put:me}){return yield k(Wi.oF,I)},*addExerciseQuestion({payload:I,callback:O},{call:k,put:me}){return yield k(Wi.oF,I)},*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:Dn({},I)}})}},reducers:{save(I,O){return Dn(Dn({},I),O.payload)},modifyTitle(I,O){const k=(0,Me.cloneDeep)(I);return k.editData.exercise.exercise_name=O.payload,k}},subscriptions:{setup({dispatch:I,history:O}){}}},Ui=e(36714),ho=Object.defineProperty,Xs=Object.getOwnPropertySymbols,eu=Object.prototype.hasOwnProperty,hl=Object.prototype.propertyIsEnumerable,qu=(I,O,k)=>O in I?ho(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,vu=(I,O)=>{for(var k in O||(O={}))eu.call(O,k)&&qu(I,k,O[k]);if(Xs)for(var k of Xs(O))hl.call(O,k)&&qu(I,k,O[k]);return I},Pu={namespace:"pathsDetail",state:{detail:{},rightData:{},Courses:{},stageData:[],StageChildrenData:{},discusses:{},actionTabs:{key:"",params:{}},isShowSchedule:!1,keywords:"",stage_id:null,visibleType:"All",editKey:-1},effects:{*getDiscusses({payload:I},{call:O,put:k}){const me=yield O(Ui.Ax,I);yield k({type:"save",payload:{discusses:vu({},me)}})},*getPathsDetail({payload:I},{call:O,put:k}){const me=yield O(Ui.lk,I);return yield k({type:"save",payload:{detail:vu({},me)}}),me},*getCourseDetail({payload:I},{call:O,put:k}){const me=yield O(Ui.Sp,I);return yield k({type:"save",payload:{detail:vu({},me)}}),me},*getRightData({payload:I},{call:O,put:k}){const me=yield O(Ui.AQ,I);yield k({type:"save",payload:{rightData:vu({},me)}})},*getCoureses({payload:I},{call:O,put:k}){const me=yield O(Ui.ue,I);yield k({type:"save",payload:{Courses:vu({},me)}})},*getStageChildrenData({payload:I},{call:O,put:k}){const me=yield O(Ui.w4,I);return yield k({type:"save",payload:{StageChildrenData:me}}),me},*getStageData({payload:I},{call:O,put:k}){var me,ke;let en=null;I!=null&&I.show_course_section?en=yield O(Ui.yN,I):en=yield O(Ui.p,I),yield k({type:"save",payload:{stageData:((me=en==null?void 0:en.data)==null?void 0:me.stages)||(en==null?void 0:en.stages)||[],isShowSchedule:((ke=en==null?void 0:en.data)==null?void 0:ke.is_show_schedule)||(en==null?void 0:en.is_show_schedule)||!1}})},*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:vu({},I)}})}},reducers:{save(I,O){return vu(vu({},I),O.payload)}}},Ve=Object.defineProperty,W=Object.getOwnPropertySymbols,ee=Object.prototype.hasOwnProperty,ne=Object.prototype.propertyIsEnumerable,he=(I,O,k)=>O in I?Ve(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,Ae=(I,O)=>{for(var k in O||(O={}))ee.call(O,k)&&he(I,k,O[k]);if(W)for(var k of W(O))ne.call(O,k)&&he(I,k,O[k]);return I},xt={namespace:"pathsList",state:{name:"",loading:!0,actionTabs:{key:"",params:{}},listParams:{sort:"desc",order:"new",page:1,limit:16,keyword:""}},effects:{*getCourse({payload:I},{call:O,put:k}){const me=I,ke=yield O(Ui.tS,I);return yield k({type:"save",payload:Ae({listParams:me},ke)}),ke},*getMenus({payload:I},{call:O,put:k}){const me=yield O(Ui.fh,I);yield k({type:"save",payload:{menus:me}})},*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:Ae({},I)}})},*clearListParams({payload:I},{call:O,put:k}){yield k({type:"save",payload:{listParams:{sort:"desc",order:"new",page:1,limit:16,keyword:""}}})}},reducers:{save(I,O){return Ae(Ae({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:k})=>{k==="/"&&I({type:"query"})})}}},Ft=Object.defineProperty,nr=Object.getOwnPropertySymbols,Tr=Object.prototype.hasOwnProperty,Wr=Object.prototype.propertyIsEnumerable,an=(I,O,k)=>O in I?Ft(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,wn=(I,O)=>{for(var k in O||(O={}))Tr.call(O,k)&&an(I,k,O[k]);if(nr)for(var k of nr(O))Wr.call(O,k)&&an(I,k,O[k]);return I},Wn={namespace:"newCourse",state:{actionTabs:{key:"",params:{}}},effects:{*editCourse({payload:I},{call:O,put:k}){return yield O(Ui.tu,I)},*submitCourse({payload:I},{call:O,put:k}){return yield O(Ui.pU,I)},*getEditCourseData({payload:I},{call:O,put:k}){return yield O(Ui.mQ,I)},*getSchoolOption({payload:I},{call:O,put:k}){return yield O(Ui.GY,I)},*appplySchool({payload:I},{call:O,put:k}){return yield O(Ui.bz,I)},*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:wn({},I)}})}},reducers:{save(I,O){return wn(wn({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:k})=>{k==="/"&&I({type:"query"})})}}},pi=Object.defineProperty,Sr=Object.defineProperties,aa=Object.getOwnPropertyDescriptors,sa=Object.getOwnPropertySymbols,is=Object.prototype.hasOwnProperty,Za=Object.prototype.propertyIsEnumerable,ws=(I,O,k)=>O in I?pi(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,as=(I,O)=>{for(var k in O||(O={}))is.call(O,k)&&ws(I,k,O[k]);if(sa)for(var k of sa(O))Za.call(O,k)&&ws(I,k,O[k]);return I},Aa=(I,O)=>Sr(I,aa(O)),Rs={namespace:"pathsOverview",state:{},effects:{*getSubjectUseInfos({payload:I},{call:O,put:k}){const me=yield O(Ui.nq,I);yield k({type:"save",payload:{SubjectUseInfos:me}})},*getRankList({payload:I},{call:O,put:k}){const me=yield O(Ui.Fg,I);yield k({type:"save",payload:{RankList:Aa(as({},me),{learn_list:[{rank:"\u6392\u540D",name:"\u5B9E\u8DF5\u8BFE\u7A0B\u540D\u79F0",data:"\u5B66\u4E60\u4EBA\u6570"},...(me==null?void 0:me.learn_list)||[]]})}})},*getStatisticsBody({payload:I},{call:O,put:k}){const me=yield O(Ui.Gz,I);yield k({type:"save",payload:{SBody:me}})},*getOnlineCount({payload:I},{call:O,put:k}){const me=yield O(Ui.hS,I);yield k({type:"save",payload:{OnlineCount:me==null?void 0:me.data}})},*getStatisticsHeader({payload:I},{call:O,put:k}){const me=yield O(Ui.Hl,I);yield k({type:"save",payload:{SHeader:me}})}},reducers:{save(I,O){return as(as({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:k})=>{k==="/"&&I({type:"query"})})}}},fi=e(46722),Qs=Object.defineProperty,po=Object.getOwnPropertySymbols,Oo=Object.prototype.hasOwnProperty,za=Object.prototype.propertyIsEnumerable,Eo=(I,O,k)=>O in I?Qs(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,zs=(I,O)=>{for(var k in O||(O={}))Oo.call(O,k)&&Eo(I,k,O[k]);if(po)for(var k of po(O))za.call(O,k)&&Eo(I,k,O[k]);return I},Ju={namespace:"problemset",state:{disciplinesData:void 0,courseOptions:[],basketData:void 0,editData:void 0,groupData:void 0,teachGroupData:void 0,actionTabs:{key:"",params:{}},itemBanks:{},groupfolderList:{}},effects:{*getGroup({payload:I},{call:O,put:k}){const me=yield O(fi.ex,I);return yield k({type:"save",payload:{groupfolderList:me}}),me},*getDisciplines({payload:I},{call:O,put:k}){const me=yield O(fi.d1,I);return yield k({type:"save",payload:{disciplinesData:zs({},me)}}),me},*getEditDisciplines({payload:I},{call:O,put:k}){const me=yield O(fi.d1,I),ke=me==null?void 0:me.disciplines,en=(0,da.L)(ke);return yield k({type:"save",payload:{courseOptions:en,disciplinesData:zs({},me)}}),me},*getBasketList({payload:I},{call:O,put:k}){const me=yield O(fi.Qj,I);return yield k({type:"save",payload:{basketData:zs({},me)}}),me},*getTeachGroupData({payload:I},{call:O,put:k}){const me=yield O(fi.Dm,I);return yield k({type:"save",payload:{teachGroupData:zs({},me)}}),me},*getEditData({payload:I},{call:O,put:k}){const me=yield O(fi.FG,I);return yield k({type:"save",payload:{editData:zs({},me)}}),me},*getEditDataBprogram({payload:I},{call:O,put:k}){const me=yield O(fi.Bo,I);return yield k({type:"save",payload:{editData:zs({},me)}}),me},*getGroupData({payload:I},{call:O,put:k}){const me=yield O(fi.hI,I);return yield k({type:"save",payload:{groupData:zs({},me)}}),me},*getItemBanks({payload:I},{call:O,put:k}){const me=yield O(fi.Of,I);return yield k({type:"save",payload:{itemBanks:zs({},me)}}),me},*setPrivate({payload:I},{call:O,put:k}){return yield O(fi.Pl,I)},*revokePublish({payload:I},{call:O,put:k}){return yield O(fi.IJ,I)},*setPublic({payload:I},{call:O,put:k}){return yield O(fi.DF,I)},*handleDelete({payload:I},{call:O,put:k}){return yield O(fi.fn,I)},*startExperience({payload:I},{call:O,put:k}){return yield O(fi.Bd,I)},*cancel({payload:I},{call:O,put:k}){return yield O(fi.al,I)},*select({payload:I},{call:O,put:k}){return yield O(fi.Ys,I)},*examUnselectAll({payload:I},{call:O,put:k}){return yield O(fi.rV,I)},*basketDelete({payload:I},{call:O,put:k}){return yield O(fi.x5,I)},*unselectAll({payload:I},{call:O,put:k}){return yield O(fi.HF,I)},*addKnowledge({payload:I},{call:O,put:k}){return yield O(fi.U6,I)},*editProblemset({payload:I},{call:O,put:k}){return yield O(fi.Wk,I)},*addProblemset({payload:I},{call:O,put:k}){return yield O(fi.Mr,I)},*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:zs({},I)}})}},reducers:{save(I,O){return zs(zs({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:k})=>{k==="/"&&I({type:"query"})})}}},el=Object.defineProperty,gu=Object.getOwnPropertySymbols,ss=Object.prototype.hasOwnProperty,uu=Object.prototype.propertyIsEnumerable,yu=(I,O,k)=>O in I?el(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,wo=(I,O)=>{for(var k in O||(O={}))ss.call(O,k)&&yu(I,k,O[k]);if(gu)for(var k of gu(O))uu.call(O,k)&&yu(I,k,O[k]);return I},Iu={namespace:"problemsetPreview",state:{disciplinesData:void 0,courseOptions:[],paperData:void 0,actionTabs:{key:"",params:{}}},effects:{*getPaperData({payload:I},{call:O,put:k}){const me=yield O(fi.iT,I),ke=(0,da.r)(me);return yield k({type:"save",payload:{paperData:ke}}),me},*getEditDisciplines({payload:I},{call:O,put:k}){const me=yield O(fi.d1,I),ke=me==null?void 0:me.disciplines,en=(0,da.L)(ke);return yield k({type:"save",payload:{courseOptions:en,disciplinesData:wo({},me)}}),me},*setScore({payload:I},{call:O,put:k}){return yield O(fi.ts,I)},*handleDelete({payload:I},{call:O,put:k}){return yield O(fi.Cn,I)},*batchSetScore({payload:I},{call:O,put:k}){return yield O(fi.YP,I)},*batchDelete({payload:I},{call:O,put:k}){return yield O(fi.Hm,I)},*adjustPosition({payload:I},{call:O,put:k}){return yield O(fi.qN,I)},*newPreviewProblemset({payload:I},{call:O,put:k}){return yield O(fi.et,I)},*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:wo({},I)}})}},reducers:{save(I,O){return wo(wo({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:k})=>{k==="/"&&I({type:"query"})})}}},Yo=e(506),zl=Object.defineProperty,Zs=Object.getOwnPropertySymbols,Uo=Object.prototype.hasOwnProperty,Du=Object.prototype.propertyIsEnumerable,Zl=(I,O,k)=>O in I?zl(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,lu=(I,O)=>{for(var k in O||(O={}))Uo.call(O,k)&&Zl(I,k,O[k]);if(Zs)for(var k of Zs(O))Du.call(O,k)&&Zl(I,k,O[k]);return I},Zu={namespace:"restful",state:{restful:void 0,restfulDetail:{},actionTabs:{key:"",params:{}}},effects:{*getRestful({payload:I},{call:O,put:k}){const me=yield O(Yo.Go,I);return yield k({type:"save",payload:{restful:lu({},me)}}),me},*getRestfulDetail({payload:I},{call:O,put:k}){const me=yield O(Yo.H5,I);return yield k({type:"save",payload:{restfulDetail:lu({},(me==null?void 0:me.data)||{})}}),(me==null?void 0:me.data)||{}},*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:lu({},I)}})}},reducers:{save(I,O){return lu(lu({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:k})=>{k==="/"&&I({type:"query"})})}}},ai=e(75736);const Sc=(I={})=>{var O,k,me,ke,en,$n;return[{name:"\u5185\u5BB9\u5BA1\u6838\u60C5\u51B5",id:"Content",status:(O=I==null?void 0:I.content_info)==null?void 0:O.status,username:(k=I==null?void 0:I.content_info)==null?void 0:k.username,time:(me=I==null?void 0:I.content_info)==null?void 0:me.time},{name:"\u6027\u80FD\u5BA1\u6838\u60C5\u51B5",id:"Performance",status:(ke=I==null?void 0:I.perference_info)==null?void 0:ke.status,username:(en=I==null?void 0:I.perference_info)==null?void 0:en.username,time:($n=I==null?void 0:I.perference_info)==null?void 0:$n.time}]};var to=Object.defineProperty,uc=Object.defineProperties,tu=Object.getOwnPropertyDescriptors,rl=Object.getOwnPropertySymbols,Hu=Object.prototype.hasOwnProperty,lc=Object.prototype.propertyIsEnumerable,Ac=(I,O,k)=>O in I?to(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,qs=(I,O)=>{for(var k in O||(O={}))Hu.call(O,k)&&Ac(I,k,O[k]);if(rl)for(var k of rl(O))lc.call(O,k)&&Ac(I,k,O[k]);return I},cc=(I,O)=>uc(I,tu(O)),Bo={namespace:"shixunsDetail",state:{detail:void 0,rightData:void 0,challenges:{is_jupyter:!0,is_jupyter_lab:!0},auditSituationData:void 0,setting:void 0,challengesNew:{},challengesEdit:{},editChallengesQuestion:{},fileContent:{},hasStartedEnv:!1,repository:{},mirrorApplies:{},infoWithJupyterLab:{},actionTabs:{key:"",params:{}}},effects:{*getShixunsDetail({payload:I},{call:O,put:k}){const me=yield O(ai.Po,I);return yield k({type:"save",payload:{detail:qs({},me)}}),me},*getMirrorApplies({payload:I},{call:O,put:k}){const me=yield O(ai.tX,I);return yield k({type:"save",payload:{mirrorApplies:qs({},(me==null?void 0:me.data)||{})}}),me},*getRightData({payload:I},{call:O,put:k}){const me=yield O(ai.AQ,I);yield k({type:"save",payload:{rightData:qs({},me)}})},*getChallengesData({payload:I},{call:O,put:k}){const me=yield O(ai.n5,I);yield k({type:"save",payload:{challenges:qs({},me)}})},*saveCopyForExercise({payload:I},{call:O,put:k}){return yield O(ai.FB,I)},*execJupyter({payload:I},{call:O,put:k}){return yield O(ai.BK,I)},*execShixun({payload:I},{call:O,put:k}){const me=yield O(ai.Ir,I);return(me==null?void 0:me.status)===-3&&(0,ka.eF)(),me},*openChallenge({payload:I},{call:O,put:k}){return yield O(ai.dK,I)},*challengeMoveUp({payload:I},{call:O,put:k}){return yield O(ai.zD,I)},*challengeMoveDown({payload:I},{call:O,put:k}){return yield O(ai.hn,I)},*cancelCollect({payload:I},{call:O,put:k}){return yield O(ai.rs,I)},*collect({payload:I},{call:O,put:k}){return yield O(ai.KM,I)},*searchUserCourses({payload:I},{call:O,put:k}){return yield O(ai._7,I)},*sendToCourse({payload:I},{call:O,put:k}){return yield O(ai.Q,I)},*cancelRelease({payload:I},{call:O,put:k}){return yield O(ai.Ne,I)},*cancelPublic({payload:I},{call:O,put:k}){return yield O(ai.Er,I)},*applyPublic({payload:I},{call:O,put:k}){return yield O(ai.WO,I)},*release({payload:I},{call:O,put:k}){return yield O(ai.Ar,I)},*updateAuditSituation({payload:I},{call:O,put:k}){return yield O(ai.LP,I)},*getCollaboratorsData({payload:I},{call:O,put:k}){return yield O(ai.j8,I)},*addCollaborator({payload:I},{call:O,put:k}){return yield O(ai.OV,I)},*addTeachGroupMember({payload:I},{call:O,put:k}){return yield O(ai.l3,I)},*getChangeManager({payload:I},{call:O,put:k}){return yield O(ai.P2,I)},*changeManager({payload:I},{call:O,put:k}){return yield O(ai.X$,I)},*deleteCollaborators({payload:I},{call:O,put:k}){return yield O(ai.xk,I)},*getRankingList({payload:I},{call:O,put:k}){return yield O(ai.E4,I)},*getMirrorScript({payload:I},{call:O,put:k}){return yield O(ai.Z2,I)},*getScriptContent({payload:I},{call:O,put:k}){return yield O(ai.Bj,I)},*getCustomScript({payload:I},{call:O,put:k}){return yield O(ai.Wi,I)},*updateSettingBasicInfo({payload:I},{call:O,put:k}){return yield O(ai.ZO,I)},*getShixunQuote({payload:I},{call:O,put:k}){return yield O(ai.Gr,I)},*deleteShixun({payload:I},{call:O,put:k}){return yield O(ai.Ps,I)},*permanentClose({payload:I},{call:O,put:k}){return yield O(ai.U9,I)},*getDepartments({payload:I},{call:O,put:k}){return yield O(ai.Ql,I)},*updatePermissionSetting({payload:I},{call:O,put:k}){return yield O(ai.aH,I)},*updateLearnSetting({payload:I},{call:O,put:k}){return yield O(ai.yE,I)},*updateSetting({payload:I},{call:O,put:k}){return yield O(ai.m7,I)},*getSetData({payload:I},{call:O,put:k}){return yield O(ai.U0,I)},*deleteDataSet({payload:I},{call:O,put:k}){return yield O(ai.uo,I)},*deleteGitFile({payload:I},{call:O,put:k}){return yield O(ai.sr,I)},*deleteGitFiles({payload:I},{call:O,put:k}){return yield O(ai.p0,I)},*moveGitFile({payload:I},{call:O,put:k}){return yield O(ai.IT,I)},*moveGitFiles({payload:I},{call:O,put:k}){return yield O(ai.t2,I)},*getRepository({payload:I},{call:O,put:k}){const me=yield O(ai.Ag,I);return yield k({type:"save",payload:{repository:qs({},me)}}),qs({},me)},*getRepositorys({payload:I},{call:O,put:k}){const me=yield O(ai.Wl,I);return yield k({type:"save",payload:{repository:qs({},me)}}),qs({},me)},*getRepositorys({payload:I},{call:O,put:k}){const me=yield O(ai.Wl,I);return yield k({type:"save",payload:{repository:qs({},me)}}),qs({},me)},*getSecretRepository({payload:I},{call:O,put:k}){const me=yield O(ai.w,I);return yield k({type:"save",payload:{secretRepository:qs({},me)}}),me},*addRepositoryFile({payload:I},{call:O,put:k}){return yield O(ai.v3,I)},*addRepositoryFiles({payload:I},{call:O,put:k}){return yield O(ai.fL,I)},*getRepositoryCommit({payload:I},{call:O,put:k}){return yield O(ai.Je,I)},*getFileContent({payload:I},{call:O,put:k}){const me=yield O(ai.LK,I);return yield k({type:"save",payload:{fileContent:cc(qs({},me),{params:I})}}),me},*getFileContents({payload:I},{call:O,put:k}){const me=yield O(ai.nu,I);return yield k({type:"save",payload:{fileContent:cc(qs({},me),{params:I})}}),me},*updateRepositoryFile({payload:I},{call:O,put:k}){return yield O(ai.kF,I)},*updateRepositoryFiles({payload:I},{call:O,put:k}){return yield O(ai.jq,I)},*uploadGitFolder({payload:I},{call:O,put:k}){return yield O(ai.Op,I)},*updateCollaboratorEditable({payload:I},{call:O,put:k}){return yield O(ai.Dz,I)},*getSettingsData({payload:I},{call:O,put:k}){const me=yield O(ai.DC,I);yield k({type:"save",payload:{setting:qs({},me)}})},*getChallengesNew({payload:I},{call:O,put:k}){const me=yield O(ai.km,I);yield k({type:"save",payload:{challengesNew:qs({},me)}})},*getChallengesEdit({payload:I},{call:O,put:k}){const me=yield O(ai.q0,I);return yield k({type:"save",payload:{challengesEdit:qs({},me)}}),me},*getAuditSituationData({payload:I},{call:O,put:k}){const me=yield O(ai.GI,I),ke=Sc(me);yield k({type:"save",payload:{auditSituationData:ke}})},*getEditChallengesQuestion({payload:I},{call:O,put:k}){const me=yield O(ai.UQ,I);return yield k({type:"save",payload:{editChallengesQuestion:me}}),me},*getInfoWithJupyterLab({payload:I},{call:O,put:k}){const me=yield O(ai.mI,I);return yield k({type:"save",payload:{infoWithJupyterLab:me}}),me},*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:qs({},I)}})}},reducers:{save(I,O){return console.log("reducers:",I,O),qs(qs({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:k})=>{k==="/"&&I({type:"query"})})}}},Cl=Object.defineProperty,Cc=Object.getOwnPropertySymbols,Hl=Object.prototype.hasOwnProperty,bu=Object.prototype.propertyIsEnumerable,Wl=(I,O,k)=>O in I?Cl(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,Hs=(I,O)=>{for(var k in O||(O={}))Hl.call(O,k)&&Wl(I,k,O[k]);if(Cc)for(var k of Cc(O))bu.call(O,k)&&Wl(I,k,O[k]);return I},No={namespace:"shixunsList",state:{name:"",loading:!0,listParams:{sort:"desc",order_by:"new",page:1,limit:16,keyword:"",status:0,diff:0,hideme:!1}},effects:{*getShixuns({payload:I},{call:O,put:k}){const me=yield O(ai.he,I),ke=Hs({},I);return yield k({type:"save",payload:Hs({listParams:ke},me)}),me},*getMenus({payload:I},{call:O,put:k}){var me;const ke=yield O(ai.I_,I);(me=ke==null?void 0:ke.disciplines)==null||me.map(en=>(en.sub_repertoires=en.sub_disciplines,en)),yield k({type:"save",payload:{menus:[...(ke==null?void 0:ke.disciplines)||[]]}})},*clearListParams({payload:I},{call:O,put:k}){yield k({type:"save",payload:{listParams:{sort:"desc",order_by:"new",page:1,limit:16,keyword:"",status:0,diff:0,hideme:!1}}})}},reducers:{save(I,O){return Hs(Hs({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:k})=>{k==="/"&&I({type:"query"})})}}},Wu=Object.defineProperty,Tl=Object.getOwnPropertySymbols,ru=Object.prototype.hasOwnProperty,Tc=Object.prototype.propertyIsEnumerable,cu=(I,O,k)=>O in I?Wu(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,Xo=(I,O)=>{for(var k in O||(O={}))ru.call(O,k)&&cu(I,k,O[k]);if(Tl)for(var k of Tl(O))Tc.call(O,k)&&cu(I,k,O[k]);return I},xu={namespace:"newShixuns",state:{newData:{},actionTabs:{key:"",params:{}},environmentData:{}},effects:{*getNewShixunsData({payload:I},{call:O,put:k}){const me=yield O(ai.b8,I);return yield k({type:"save",payload:{newData:Xo({},me)}}),me},*deleteAttachment({payload:I},{call:O,put:k}){return yield O(ai.OW,I)},*applyShixunMirror({payload:I},{call:O,put:k}){return yield O(ai.EH,I)},*submitShixuns({payload:I},{call:O,put:k}){return yield O(ai.eX,I)},*getShixunsJupyterLab({payload:I},{call:O,put:k}){const me=yield O(ai.Gu,I);return yield k({type:"save",payload:{newData:Xo({},me)}}),me},*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:Xo({},I)}})},*getEnvironmentData({payload:I},{call:O,put:k}){const me=yield O(ai.K,I);return console.log(me,"response"),yield k({type:"save",payload:{environmentData:Xo({},me.data)}}),me}},reducers:{save(I,O){return Xo(Xo({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){}}},fc=Object.defineProperty,_l=Object.getOwnPropertySymbols,Ra=Object.prototype.hasOwnProperty,lf=Object.prototype.propertyIsEnumerable,zc=(I,O,k)=>O in I?fc(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,Ou=(I,O)=>{for(var k in O||(O={}))Ra.call(O,k)&&zc(I,k,O[k]);if(_l)for(var k of _l(O))lf.call(O,k)&&zc(I,k,O[k]);return I},cf={namespace:"shixunsOverview",state:{},effects:{*getShixunUseInfos({payload:I},{call:O,put:k}){const me=yield O(ai.e,I);yield k({type:"save",payload:{ShixunUseInfos:me}})},*getRankList({payload:I},{call:O,put:k}){const me=yield O(ai.Fg,I);yield k({type:"save",payload:{RankList:{user_list:[{rank:"\u6392\u540D",name:"\u59D3\u540D",role:"\u89D2\u8272",student_id:"\u5B66\u53F7/\u5DE5\u53F7",num:"\u901A\u8FC7\u5173\u5361\u6570"},...(me==null?void 0:me.user_list)||[]],learn_list:[{rank:"\u6392\u540D",name:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",num:"\u5B66\u4E60\u4EBA\u6570"},...(me==null?void 0:me.learn_list)||[]],clearance_list:[{rank:"\u6392\u540D",name:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",num:"\u901A\u5173\u6570"},...(me==null?void 0:me.clearance_list)||[]],quote_list:[{rank:"\u6392\u540D",name:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",num:"\u5F15\u7528\u6B21\u6570"},...(me==null?void 0:me.quote_list)||[]]}}})},*getStatisticsBody({payload:I},{call:O,put:k}){const me=yield O(ai.Gz,I);yield k({type:"save",payload:{SBody:me}})},*getOnlineCount({payload:I},{call:O,put:k}){const me=yield O(ai.hS,I);yield k({type:"save",payload:{OnlineCount:me==null?void 0:me.data}})},*getStatisticsHeader({payload:I},{call:O,put:k}){const me=yield O(ai.Hl,I);yield k({type:"save",payload:{SHeader:me}})}},reducers:{save(I,O){return Ou(Ou({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:k})=>{k==="/"&&I({type:"query"})})}}},dc=(I,O,k)=>new Promise((me,ke)=>{var en=Di=>{try{dn(k.next(Di))}catch(Ha){ke(Ha)}},$n=Di=>{try{dn(k.throw(Di))}catch(Ha){ke(Ha)}},dn=Di=>Di.done?me(Di.value):Promise.resolve(Di.value).then(en,$n);dn((k=k.apply(I,O)).next())});function nu(I){return dc(this,null,function*(){return(0,na.ZP)("/api/shixuns/new.json",{method:"Get",params:I})})}function Zc(I){return dc(this,null,function*(){return(0,na.ZP)(`/api/shixuns/${I.id}/required_status.json`,{method:"Get",params:{}})})}var hc=Object.defineProperty,Gl=Object.defineProperties,Hc=Object.getOwnPropertyDescriptors,pc=Object.getOwnPropertySymbols,zo=Object.prototype.hasOwnProperty,Gu=Object.prototype.propertyIsEnumerable,Pl=(I,O,k)=>O in I?hc(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,Eu=(I,O)=>{for(var k in O||(O={}))zo.call(O,k)&&Pl(I,k,O[k]);if(pc)for(var k of pc(O))Gu.call(O,k)&&Pl(I,k,O[k]);return I},_c=(I,O)=>Gl(I,Hc(O)),Vl={namespace:"practiceSetting",state:{data:{},is_published:!0,updateIndex:1,id:"",questionName:"",base_info_warning:!1,challenges_warning:!1,repository_warning:!1,mirror_warning:!1,service_warning:!1,selectQuestionParams:{},newQuestion:null,user_name:"",user_image_url:"",title:"",windows_vnc:!0,isExistComplete:!1,sideBar:{tabsActive:"",selectPath:"",confirmLeave:!1}},effects:{*setParams({payload:I},{call:O,put:k}){yield k({type:"save",payload:Eu({},I)})},*getTestData({payload:I},{call:O,put:k}){const me=yield O(nu,I);yield k({type:"save",payload:{data:me}})},*setUpdateIndex({payload:I},{call:O,put:k}){yield k({type:"save",payload:{updateIndex:Math.random()}})},*getCommonData({payload:I},{call:O,put:k}){const me=yield O(Zc,I);yield k({type:"save",payload:Eu({},me.data)})},*setSideBarTabs({payload:I},{call:O,put:k}){yield k({type:"sideBar",payload:Eu({},I)})}},reducers:{save(I,O){return Eu(Eu({},I),O.payload)},sideBar(I,O){return _c(Eu({},I),{sideBar:Eu(Eu({},I.sideBar),O.payload)})}},subscriptions:{setup({dispatch:I,history:O}){}}},no=e(86245),Gc=Object.defineProperty,Ic=Object.getOwnPropertySymbols,ku=Object.prototype.hasOwnProperty,Ru=Object.prototype.propertyIsEnumerable,$s=(I,O,k)=>O in I?Gc(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,ml=(I,O)=>{for(var k in O||(O={}))ku.call(O,k)&&$s(I,k,O[k]);if(Ic)for(var k of Ic(O))Ru.call(O,k)&&$s(I,k,O[k]);return I},mc={namespace:"userDetail",state:{systemUpdate:void 0,homepageInfo:void 0,homeworkBanksDetail:{},actionTabs:{key:"",params:{}}},effects:{*getHomeworkBanksDetail({payload:I},{call:O,put:k}){const me=yield O(no.JJ,I);return yield k({type:"save",payload:{homeworkBanksDetail:ml({},me)}}),me},*getSystemUpdate({payload:I},{call:O,put:k}){const me=yield O(no.n0,I);return yield k({type:"save",payload:{systemUpdate:ml({},me)}}),me},*getHomepageInfo({payload:I},{call:O,put:k}){const me=yield O(no.DA,I);return yield k({type:"save",payload:{homepageInfo:ml({},me)}}),me},*signed({payload:I},{call:O,put:k}){return yield O(no.qN,I)},*getCourses({payload:I},{call:O,put:k}){return yield O(no.Ho,I)},*getShixuns({payload:I},{call:O,put:k}){return yield O(no.rV,I)},*getPaths({payload:I},{call:O,put:k}){return yield O(no.w3,I)},*getProjects({payload:I},{call:O,put:k}){return yield O(no.mW,I)},*getVideos({payload:I},{call:O,put:k}){return yield O(no.WY,I)},*getReviewVideos({payload:I},{call:O,put:k}){return yield O(no.Qx,I)},*deleteVideo({payload:I},{call:O,put:k}){return yield O(no.FM,I)},*getQuestionBanks({payload:I},{call:O,put:k}){return yield O(no.ai,I)},*topicsSetPublic({payload:I},{call:O,put:k}){return yield O(no.Cx,I)},*topicsDelete({payload:I},{call:O,put:k}){return yield O(no.WS,I)},*topicGetCourseList({payload:I},{call:O,put:k}){return yield O(no.gI,I)},*topicSendToClass({payload:I},{call:O,put:k}){return I.object_type==="videos"?yield O(no.Fn,I):yield O(no.Ef,I)},*logWatchHistory({payload:I},{call:O,put:k}){const me=yield O(no.lO,I);return me==null?void 0:me.log_id},*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:ml({},I)}})}},reducers:{save(I,O){return ml(ml({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:k})=>{k==="/"&&I({type:"query"})})}}},Vc=Object.defineProperty,vl=Object.getOwnPropertySymbols,ko=Object.prototype.hasOwnProperty,Il=Object.prototype.propertyIsEnumerable,Ue=(I,O,k)=>O in I?Vc(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,wu=(I,O)=>{for(var k in O||(O={}))ko.call(O,k)&&Ue(I,k,O[k]);if(vl)for(var k of vl(O))Il.call(O,k)&&Ue(I,k,O[k]);return I},Qo=(I,O)=>{var k={};for(var me in I)ko.call(I,me)&&O.indexOf(me)<0&&(k[me]=I[me]);if(I!=null&&vl)for(var me of vl(I))O.indexOf(me)<0&&Il.call(I,me)&&(k[me]=I[me]);return k},$o={namespace:"user",state:{name:"\u7528\u6237\u767B\u5F55\u6A21\u5757",showPopLogin:!1,showClosable:!1,bindAccountModalVisible:!1,userInfoForBindAccountModal:{},loginInfo:{login:"",password:""},userInfo:{},navigationInfo:{},loading:!0,actionTabs:{key:"",params:{},phone:""}},effects:{*login({payload:I},{call:O,put:k}){const me=I,{to:ke}=me,en=Qo(me,["to"]);if(!(yield O(no.Es,en)).status)try{ke?f.history.replace(ke):location.reload()}catch(dn){}},*showPopLogin({payload:I},{put:O}){yield O({type:"save",payload:{showPopLogin:I.showPopLogin,showClosable:I.showClosable}})},*setBindAccountModal({payload:I},{put:O}){yield O({type:"save",payload:{bindAccountModalVisible:I.bindAccountModalVisible,userInfoForBindAccountModal:I.userInfoForBindAccountModal,loginInfo:I.loginInfo}})},*getUserInfo({payload:I},{call:O,put:k}){const me=yield O(no.bG,wu({},I));return localStorage.userInfo=JSON.stringify(me),yield k({type:"save",payload:{userInfo:wu({},me)}}),me},*getNavigationInfo({payload:I},{call:O,put:k}){const me=yield O(no.x4,wu({},I));yield k({type:"save",payload:{navigationInfo:wu({},me)}})},*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:wu({},I)}})}},reducers:{save(I,O){return wu(wu({},I),O.payload)}}},fu=e(49379),Yl=Object.defineProperty,Lu=Object.defineProperties,So=Object.getOwnPropertyDescriptors,nl=Object.getOwnPropertySymbols,Su=Object.prototype.hasOwnProperty,vc=Object.prototype.propertyIsEnumerable,Mu=(I,O,k)=>O in I?Yl(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,Zo=(I,O)=>{for(var k in O||(O={}))Su.call(O,k)&&Mu(I,k,O[k]);if(nl)for(var k of nl(O))vc.call(O,k)&&Mu(I,k,O[k]);return I},il=(I,O)=>Lu(I,So(O));const Au=()=>{var I,O,k,me,ke,en,$n;let dn=window.location.href.split("/");if(!dn.includes("video"))return;let Di=(I=dn[dn.length-1])==null?void 0:I.split("?")[0];Di=Number(Di);const Ha=(k=(O=dn[dn.length-1])==null?void 0:O.split("?")[1])==null?void 0:k.split("=")[1];return((ke=(me=dn[dn.length-1])==null?void 0:me.split("?")[1])==null?void 0:ke.split("=")[0])==="subject_id"?{videoId:Di,subject_id:Ha}:(($n=(en=dn[dn.length-1])==null?void 0:en.split("?")[1])==null?void 0:$n.split("=")[0])==="new_video_id"?{videoId:Di,new_video_id:Ha}:{videoId:Di,course_id:Ha}};var Kc={namespace:"videoDetail",state:{detail:{},actionTabs:{key:"",params:{}},videoTabs:{key:"",params:{}},stages:[],cust_seq:0,queryParams:Au(),videoList:[],attachmentList:[],selectParams:{checkBoxValue:!1,radioValue:1},active:{}},effects:{*getVideoDetail({payload:I,callback:O},{call:k,put:me}){const ke=yield k(Fn.O2,I);return O?O(ke):yield me({type:"save",payload:{detail:Zo({},ke)}}),ke},*setVideoValue({payload:I},{call:O,put:k}){yield k({type:"save",payload:{detail:Zo({},I)}})},*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:Zo({},I)}})},*setVideoTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{videoTabs:Zo({},I)}})},*setSelectValue({payload:I},{call:O,put:k}){yield k({type:"save",payload:{selectParams:Zo({},I)}})},*getStageData({payload:I},{call:O,put:k,select:me}){const ke=yield O(Fn.yN,I),en=yield O(Ui.lk,{id:I.subject_id}),{queryParams:$n}=yield me(Ma=>Ma.videoDetail),{stages:dn=[]}=ke,Di=[];let Ha=[],Oa={};const Ao=Ma=>{Ma.forEach(io=>{String(io.id)===String($n.videoId)&&(Oa=io),io.item_type==="VideoItem"?Di.push(io):io.item_type==="Attachment"&&Ha.push(io),io.children&&io.children.length&&Ao(io.children)})};dn==null||dn.forEach(Ma=>{Ao(Ma.items)}),window.filterVideoSign=[...Di],yield k({type:"save",payload:{stages:dn,active:Oa,cust_seq:en.cust_seq,videoList:Di,attachmentList:Ha}})},*getVideoData({payload:I},{call:O,put:k,select:me}){const ke=yield O(Fn.fn,I),{categories:en=[],coruse_videos:$n=[]}=ke;yield k({type:"save",payload:{stages:(en==null?void 0:en.length)>0?en:[{coruse_videos:$n,name:"\u672A\u5206\u914D\u76EE\u5F55"}]}})},*getCourseStageData({payload:I},{call:O,put:k,select:me}){const ke=yield O(fu.R7,I),{queryParams:en}=yield me(Ao=>Ao.videoDetail),{stages:$n}=ke;let dn=[],Di=[],Ha={};const Oa=Ao=>{Ao.forEach(Ma=>{String(Ma.id)===String(en.videoId)&&(Ha=Ma),Ma.item_type==="VideoItem"?dn.push(Ma):Ma.item_type==="Attachment"&&Di.push(Ma),Ma.children&&Ma.children.length&&Oa(Ma.children)})};$n==null||$n.forEach(Ao=>{Oa(Ao.items)}),window.filterVideoSign=[...dn],yield k({type:"save",payload:{active:Ha,stages:$n,cust_seq:!0,videoList:dn,attachmentList:Di}})}},reducers:{save(I,O){return Zo(Zo({},I),O.payload)},handleListItemClick(I,O){const{videoList:k,attachmentList:me}=I,ke=O.payload.videoId||O.payload.attachmentId,en=[...k,...me].find($n=>`${$n.id}`==`${ke}`);return il(Zo({},I),{active:en,queryParams:Zo(Zo({},Au()),O.payload)})}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:k})=>{k==="/"&&I({type:"query"})})}}},oo=e(466),du=Object.defineProperty,Dl=Object.getOwnPropertySymbols,Xl=Object.prototype.hasOwnProperty,Ql=Object.prototype.propertyIsEnumerable,gl=(I,O,k)=>O in I?du(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,Ol=(I,O)=>{for(var k in O||(O={}))Xl.call(O,k)&&gl(I,k,O[k]);if(Dl)for(var k of Dl(O))Ql.call(O,k)&&gl(I,k,O[k]);return I},kl={namespace:"virtualSpaces",state:{showMenu:!0,loading:!0,actionTabs:{key:"",params:{},module_id:""},virtualSpacesDetails:{},menus:[],LessonsList:{},LessonDetail:{},LessonResList:{},DiscussionList:{},DiscussionDetail:{},Workplace:{BaseData:{}}},effects:{*getBaseStatisticData({payload:I},{call:O,put:k}){const me=yield O(oo.y2,I);return yield k({type:"save",payload:{Workplace:{BaseData:me.data}}}),me},*putEditDiscussion({payload:I},{call:O,put:k}){return yield O(oo.CH,I)},*getDiscussionDetail({payload:I},{call:O,put:k}){const me=yield O(oo.XQ,I);return yield k({type:"save",payload:{DiscussionDetail:me}}),me},*postDiscussionList({payload:I},{call:O,put:k}){return yield O(oo.Ll,I)},*getDiscussionList({payload:I},{call:O,put:k}){const me=yield O(oo.EA,I);return yield k({type:"save",payload:{DiscussionList:me}}),me},*postAddLessonRes({payload:I},{call:O,put:k}){return yield O(oo.cZ,I)},*getLessonResourcesList({payload:I},{call:O,put:k}){const me=yield O(oo.b,I);return yield k({type:"save",payload:{LessonResList:me}}),me},*putGoodLessonsDetail({payload:I},{call:O,put:k}){return yield O(oo.To,I)},*getGoodLessonsDetail({payload:I},{call:O,put:k}){const me=yield O(oo.FU,I);return yield k({type:"save",payload:{LessonDetail:me}}),me},*postGoodLessonsList({payload:I},{call:O,put:k}){return yield O(oo.Vf,I)},*getGoodLessonsList({payload:I},{call:O,put:k}){const me=yield O(oo.G_,I);return yield k({type:"save",payload:{LessonsList:me}}),me},*setActionTabs({payload:I},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:Ol({},I)}})},*setShowMenu({payload:I},{call:O,put:k}){yield k({type:"save",payload:{showMenu:I}})},*getVirtualSpacesDetails({payload:I},{call:O,put:k}){const me=yield O(oo.sT,I);yield k({type:"save",payload:{virtualSpacesDetails:Ol({},me)}})},*setVirtualSpacesLoading({payload:I},{call:O,put:k}){yield k({type:"save",payload:{loading:I}})},*getVirtualSpacesMenus({payload:I},{call:O,put:k}){const me=yield O(oo.Sl,I);return yield k({type:"save",payload:{menus:me}}),me}},reducers:{save(I,O){return Ol(Ol({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:k})=>{k==="/"&&I({type:"query"})})}}};const ql={model_1:{namespace:"account.index",model:b},model_2:{namespace:"classrooms.announcement",model:Q},model_3:{namespace:"classrooms.attachment",model:te},model_4:{namespace:"classrooms.boards",model:Re},model_5:{namespace:"classrooms.exercise",model:Xe},model_6:{namespace:"classrooms.graduation",model:Se},model_7:{namespace:"classrooms.homeworks",model:Gt},model_8:{namespace:"classrooms.index",model:Ce},model_9:{namespace:"classrooms.new",model:vt},model_10:{namespace:"classrooms.overview",model:Br},model_11:{namespace:"classrooms.polls",model:$t},model_12:{namespace:"classrooms.teacher",model:hn},model_13:{namespace:"classrooms.video",model:Xi},model_14:{namespace:"competitions.index",model:vi},model_15:{namespace:"engineering.evaluateDetail",model:et},model_16:{namespace:"engineering.evaluateList",model:En.Z},model_17:{namespace:"engineering.index",model:bn},model_18:{namespace:"engineering.navigation",model:la},model_19:{namespace:"engineering.normDetail",model:$i},model_20:{namespace:"engineering.normList",model:Da},model_21:{namespace:"forums.detail",model:mo},model_22:{namespace:"forums.index",model:lo},model_23:{namespace:"globalSetting",model:Mo},model_24:{namespace:"graduations.index",model:Qt},model_25:{namespace:"homePage",model:xr},model_26:{namespace:"innovation.index",model:zr},model_27:{namespace:"intraincourse.index",model:ni},model_28:{namespace:"loading",model:Ii},model_29:{namespace:"messages.index",model:Es},model_30:{namespace:"paperlibrary.index",model:br},model_31:{namespace:"paperlibrary.newPaper",model:ia},model_32:{namespace:"paths.detail",model:Pu},model_33:{namespace:"paths.index",model:xt},model_34:{namespace:"paths.new",model:Wn},model_35:{namespace:"paths.overview",model:Rs},model_36:{namespace:"problemset.index",model:Ju},model_37:{namespace:"problemset.preview",model:Iu},model_38:{namespace:"resetFul.index",model:Zu},model_39:{namespace:"shixuns.detail",model:Bo},model_40:{namespace:"shixuns.index",model:No},model_41:{namespace:"shixuns.new",model:xu},model_42:{namespace:"shixuns.overview",model:cf},model_43:{namespace:"shixuns.practiceSetting",model:Vl},model_44:{namespace:"user.detail",model:mc},model_45:{namespace:"user.index",model:$o},model_46:{namespace:"video.detail",model:Kc},model_47:{namespace:"virtualSpaces.index",model:kl}};var yl=Object.defineProperty,Yc=Object.getOwnPropertySymbols,Fu=Object.prototype.hasOwnProperty,Bu=Object.prototype.propertyIsEnumerable,iu=(I,O,k)=>O in I?yl(I,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[O]=k,qo=(I,O)=>{for(var k in O||(O={}))Fu.call(O,k)&&iu(I,k,O[k]);if(Yc)for(var k of Yc(O))Bu.call(O,k)&&iu(I,k,O[k]);return I};let gc;function yc(I){const{pluginManager:O}=(0,f.useAppData)(),k=(0,c.useRef)(),me=O.applyPlugins({key:"dva",type:f.ApplyPluginsType.modify,initialValue:{}});if(!k.current){k.current=(0,r.Ue)(qo({history:f.history},me.config||{}),{initialReducer:{},setupMiddlewares(ke){return[...ke]},setupApp(ke){ke._history=f.history}}),gc=k.current,k.current.use(l()()),(me.plugins||[]).forEach(ke=>{k.current.use(ke)});for(const ke of Object.keys(ql))k.current.model(qo({namespace:ql[ke].namespace},ql[ke].model));k.current.start()}return c.createElement(r.zt,{store:k.current._store},I.children)}function Oc(){return gc}},18956:function(d,g,e){"use strict";e.d(g,{PZ:function(){return ei},eU:function(){return a},B:function(){return Ai},Mg:function(){return pt},lw:function(){return _t},Kd:function(){return It},H8:function(){return vi}});var r=e(59301),i=e(94266),l=e.n(i);const c=l()||i;function f(ze){return ze.displayName||ze.name||"Component"}const s=r.createContext(null),{Consumer:h,Provider:u}=s,a=u,x=null;function p(ze,et){const{intlPropName:Ee="intl",forwardRef:it=!1,enforceContext:ir=!0}=et||{},Dr=Er=>React.createElement(h,null,Or=>(ir&&invariantIntlContext(Or),React.createElement(ze,Object.assign({},Er,{[Ee]:Or},{ref:it?Er.forwardedRef:null}))));return Dr.displayName=`injectIntl(${f(ze)})`,Dr.WrappedComponent=ze,c(it?React.forwardRef((Er,Or)=>React.createElement(Dr,Object.assign({},Er,{forwardedRef:Or}))):Dr,ze)}var y;(function(ze){ze[ze.literal=0]="literal",ze[ze.argument=1]="argument",ze[ze.number=2]="number",ze[ze.date=3]="date",ze[ze.time=4]="time",ze[ze.select=5]="select",ze[ze.plural=6]="plural",ze[ze.pound=7]="pound"})(y||(y={}));function _(ze){return ze.type===y.literal}function b(ze){return ze.type===y.argument}function S(ze){return ze.type===y.number}function R(ze){return ze.type===y.date}function L(ze){return ze.type===y.time}function T(ze){return ze.type===y.select}function D(ze){return ze.type===y.plural}function M(ze){return ze.type===y.pound}function N(ze){return!!(ze&&typeof ze=="object"&&ze.type===0)}function j(ze){return!!(ze&&typeof ze=="object"&&ze.type===1)}function Q(ze){return{type:y.literal,value:ze}}function X(ze,et){return{type:y.number,value:ze,style:et}}var Y=function(){var ze=function(et,Ee){return ze=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(it,ir){it.__proto__=ir}||function(it,ir){for(var Dr in ir)ir.hasOwnProperty(Dr)&&(it[Dr]=ir[Dr])},ze(et,Ee)};return function(et,Ee){ze(et,Ee);function it(){this.constructor=et}et.prototype=Ee===null?Object.create(Ee):(it.prototype=Ee.prototype,new it)}}(),oe=function(){return oe=Object.assign||function(ze){for(var et,Ee=1,it=arguments.length;Ee<it;Ee++){et=arguments[Ee];for(var ir in et)Object.prototype.hasOwnProperty.call(et,ir)&&(ze[ir]=et[ir])}return ze},oe.apply(this,arguments)},ie=function(ze){Y(et,ze);function et(Ee,it,ir,Dr){var Er=ze.call(this)||this;return Er.message=Ee,Er.expected=it,Er.found=ir,Er.location=Dr,Er.name="SyntaxError",typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(Er,et),Er}return et.buildMessage=function(Ee,it){function ir(Pr){return Pr.charCodeAt(0).toString(16).toUpperCase()}function Dr(Pr){return Pr.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(un){return"\\x0"+ir(un)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(un){return"\\x"+ir(un)})}function Er(Pr){return Pr.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(un){return"\\x0"+ir(un)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(un){return"\\x"+ir(un)})}function Or(Pr){switch(Pr.type){case"literal":return'"'+Dr(Pr.text)+'"';case"class":var un=Pr.parts.map(function(rn){return Array.isArray(rn)?Er(rn[0])+"-"+Er(rn[1]):Er(rn)});return"["+(Pr.inverted?"^":"")+un+"]";case"any":return"any character";case"end":return"end of input";case"other":return Pr.description}}function $r(Pr){var un=Pr.map(Or),rn,ln;if(un.sort(),un.length>0){for(rn=1,ln=1;rn<un.length;rn++)un[rn-1]!==un[rn]&&(un[ln]=un[rn],ln++);un.length=ln}switch(un.length){case 1:return un[0];case 2:return un[0]+" or "+un[1];default:return un.slice(0,-1).join(", ")+", or "+un[un.length-1]}}function bn(Pr){return Pr?'"'+Dr(Pr)+'"':"end of input"}return"Expected "+$r(Ee)+" but "+bn(it)+" found."},et}(Error);function ue(ze,et){et=et!==void 0?et:{};var Ee={},it={start:Ye},ir=Ye,Dr=function(ye){return ye.join("")},Er=function(ye){return oe({type:y.literal,value:ye},ga())},Or="#",$r=ci("#",!1),bn=function(){return oe({type:y.pound},ga())},Pr=xa("argumentElement"),un="{",rn=ci("{",!1),ln="}",An=ci("}",!1),pa=function(ye){return oe({type:y.argument,value:ye},ga())},Pi=xa("numberSkeletonId"),gi=/^['\/{}]/,pn=Vs(["'","/","{","}"],!1,!1),ui=xo(),Ni=xa("numberSkeletonTokenOption"),la="/",xs=ci("/",!1),Pa=function(ye){return ye},Na=xa("numberSkeletonToken"),Is=function(ye,we){return{stem:ye,options:we}},$a=function(ye){return oe({type:0,tokens:ye},ga())},hs="::",oa=ci("::",!1),yi=function(ye){return ye},Ga=function(){return da.push("numberArgStyle"),!0},Ds=function(ye){return da.pop(),ye.replace(/\s*$/,"")},$i=",",ps=ci(",",!1),Co="number",La=ci("number",!1),_s=function(ye,we,yr){return oe({type:we==="number"?y.number:we==="date"?y.date:y.time,style:yr&&yr[2],value:ye},ga())},ji="'",Gs=ci("'",!1),Rn=/^[^']/,ja=Vs(["'"],!0,!1),ns=/^[^a-zA-Z'{}]/,ls=Vs([["a","z"],["A","Z"],"'","{","}"],!0,!1),Vi=/^[a-zA-Z]/,Ia=Vs([["a","z"],["A","Z"]],!1,!1),Da=function(ye){return oe({type:1,pattern:ye},ga())},ms=function(){return da.push("dateOrTimeArgStyle"),!0},Bs="date",_o=ci("date",!1),To="time",Vo=ci("time",!1),uo="plural",ca=ci("plural",!1),cs="selectordinal",mo=ci("selectordinal",!1),vo="offset:",go=ci("offset:",!1),hi=function(ye,we,yr,Jr){return oe({type:y.plural,pluralType:we==="plural"?"cardinal":"ordinal",value:ye,offset:yr?yr[2]:0,options:Jr.reduce(function(br,Qr){var Cn=Qr.id,ri=Qr.value,Fi=Qr.location;return Cn in br&&Ss('Duplicate option "'+Cn+'" in plural element: "'+ba()+'"',zr()),br[Cn]={value:ri,location:Fi},br},{})},ga())},oi="select",Fa=ci("select",!1),Va=function(ye,we){return oe({type:y.select,value:ye,options:we.reduce(function(yr,Jr){var br=Jr.id,Qr=Jr.value,Cn=Jr.location;return br in yr&&Ss('Duplicate option "'+br+'" in select element: "'+ba()+'"',zr()),yr[br]={value:Qr,location:Cn},yr},{})},ga())},Xa="=",lo=ci("=",!1),co=function(ye){return da.push("select"),!0},Po=function(ye,we){return da.pop(),oe({id:ye,value:we},ga())},Qa=function(ye){return da.push("plural"),!0},Lo=function(ye,we){return da.pop(),oe({id:ye,value:we},ga())},yo=xa("whitespace"),Ko=/^[\t-\r \x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,Tu=Vs([[" ","\r"]," ","\x85","\xA0","\u1680",["\u2000","\u200A"],"\u2028","\u2029","\u202F","\u205F","\u3000"],!1,!1),_u=xa("syntax pattern"),fo=/^[!-\/:-@[-\^`{-~\xA1-\xA7\xA9\xAB\xAC\xAE\xB0\xB1\xB6\xBB\xBF\xD7\xF7\u2010-\u2027\u2030-\u203E\u2041-\u2053\u2055-\u205E\u2190-\u245F\u2500-\u2775\u2794-\u2BFF\u2E00-\u2E7F\u3001-\u3003\u3008-\u3020\u3030\uFD3E\uFD3F\uFE45\uFE46]/,fs=Vs([["!","/"],[":","@"],["[","^"],"`",["{","~"],["\xA1","\xA7"],"\xA9","\xAB","\xAC","\xAE","\xB0","\xB1","\xB6","\xBB","\xBF","\xD7","\xF7",["\u2010","\u2027"],["\u2030","\u203E"],["\u2041","\u2053"],["\u2055","\u205E"],["\u2190","\u245F"],["\u2500","\u2775"],["\u2794","\u2BFF"],["\u2E00","\u2E7F"],["\u3001","\u3003"],["\u3008","\u3020"],"\u3030","\uFD3E","\uFD3F","\uFE45","\uFE46"],!1,!1),zu=xa("optional whitespace"),Mo=xa("number"),Io="-",Us=ci("-",!1),ou=function(ye,we){return we?ye?-we:we:0},jo=xa("apostrophe"),Do=xa("double apostrophes"),Ls="''",bo=ci("''",!1),mu=function(){return"'"},Fo=function(ye,we){return ye+we.replace("''","'")},Qt=function(ye){return ye!=="{"&&!(As()&&ye==="#")&&!(Ua()&&ye==="}")},cr=`
`,sr=ci(`
`,!1),vr=function(ye){return ye==="{"||ye==="}"||As()&&ye==="#"},wr=xa("argNameOrNumber"),xn=xa("argNumber"),Sn="0",Un=ci("0",!1),Ln=function(){return 0},Gn=/^[1-9]/,ur=Vs([["1","9"]],!1,!1),Fr=/^[0-9]/,xr=Vs([["0","9"]],!1,!1),mn=function(ye){return parseInt(ye.join(""),10)},Hn=xa("argName"),ft=0,Pn=0,Vn=[{line:1,column:1}],li=0,Qi=[],Nr=0,Li;if(et.startRule!==void 0){if(!(et.startRule in it))throw new Error(`Can't start parsing from rule "`+et.startRule+'".');ir=it[et.startRule]}function ba(){return ze.substring(Pn,ft)}function zr(){return ks(Pn,ft)}function na(ye,we){throw we=we!==void 0?we:ks(Pn,ft),Ns([xa(ye)],ze.substring(Pn,ft),we)}function Ss(ye,we){throw we=we!==void 0?we:ks(Pn,ft),gs(ye,we)}function ci(ye,we){return{type:"literal",text:ye,ignoreCase:we}}function Vs(ye,we,yr){return{type:"class",parts:ye,inverted:we,ignoreCase:yr}}function xo(){return{type:"any"}}function Os(){return{type:"end"}}function xa(ye){return{type:"other",description:ye}}function ds(ye){var we=Vn[ye],yr;if(we)return we;for(yr=ye-1;!Vn[yr];)yr--;for(we=Vn[yr],we={line:we.line,column:we.column};yr<ye;)ze.charCodeAt(yr)===10?(we.line++,we.column=1):we.column++,yr++;return Vn[ye]=we,we}function ks(ye,we){var yr=ds(ye),Jr=ds(we);return{start:{offset:ye,line:yr.line,column:yr.column},end:{offset:we,line:Jr.line,column:Jr.column}}}function In(ye){ft<li||(ft>li&&(li=ft,Qi=[]),Qi.push(ye))}function gs(ye,we){return new ie(ye,[],"",we)}function Ns(ye,we,yr){return new ie(ie.buildMessage(ye,we),ye,we,yr)}function Ye(){var ye;return ye=Qe(),ye}function Qe(){var ye,we;for(ye=[],we=Mt();we!==Ee;)ye.push(we),we=Mt();return ye}function Mt(){var ye;return ye=hr(),ye===Ee&&(ye=jr(),ye===Ee&&(ye=Ci(),ye===Ee&&(ye=bi(),ye===Ee&&(ye=fa(),ye===Ee&&(ye=Rr()))))),ye}function Kt(){var ye,we,yr;if(ye=ft,we=[],yr=Ka(),yr===Ee&&(yr=eo(),yr===Ee&&(yr=qa())),yr!==Ee)for(;yr!==Ee;)we.push(yr),yr=Ka(),yr===Ee&&(yr=eo(),yr===Ee&&(yr=qa()));else we=Ee;return we!==Ee&&(Pn=ye,we=Dr(we)),ye=we,ye}function hr(){var ye,we;return ye=ft,we=Kt(),we!==Ee&&(Pn=ye,we=Er(we)),ye=we,ye}function Rr(){var ye,we;return ye=ft,ze.charCodeAt(ft)===35?(we=Or,ft++):(we=Ee,Nr===0&&In($r)),we!==Ee&&(Pn=ye,we=bn()),ye=we,ye}function jr(){var ye,we,yr,Jr,br,Qr;return Nr++,ye=ft,ze.charCodeAt(ft)===123?(we=un,ft++):(we=Ee,Nr===0&&In(rn)),we!==Ee?(yr=ki(),yr!==Ee?(Jr=Ya(),Jr!==Ee?(br=ki(),br!==Ee?(ze.charCodeAt(ft)===125?(Qr=ln,ft++):(Qr=Ee,Nr===0&&In(An)),Qr!==Ee?(Pn=ye,we=pa(Jr),ye=we):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee),Nr--,ye===Ee&&(we=Ee,Nr===0&&In(Pr)),ye}function vn(){var ye,we,yr,Jr,br;if(Nr++,ye=ft,we=[],yr=ft,Jr=ft,Nr++,br=ka(),br===Ee&&(gi.test(ze.charAt(ft))?(br=ze.charAt(ft),ft++):(br=Ee,Nr===0&&In(pn))),Nr--,br===Ee?Jr=void 0:(ft=Jr,Jr=Ee),Jr!==Ee?(ze.length>ft?(br=ze.charAt(ft),ft++):(br=Ee,Nr===0&&In(ui)),br!==Ee?(Jr=[Jr,br],yr=Jr):(ft=yr,yr=Ee)):(ft=yr,yr=Ee),yr!==Ee)for(;yr!==Ee;)we.push(yr),yr=ft,Jr=ft,Nr++,br=ka(),br===Ee&&(gi.test(ze.charAt(ft))?(br=ze.charAt(ft),ft++):(br=Ee,Nr===0&&In(pn))),Nr--,br===Ee?Jr=void 0:(ft=Jr,Jr=Ee),Jr!==Ee?(ze.length>ft?(br=ze.charAt(ft),ft++):(br=Ee,Nr===0&&In(ui)),br!==Ee?(Jr=[Jr,br],yr=Jr):(ft=yr,yr=Ee)):(ft=yr,yr=Ee);else we=Ee;return we!==Ee?ye=ze.substring(ye,ft):ye=we,Nr--,ye===Ee&&(we=Ee,Nr===0&&In(Pi)),ye}function nn(){var ye,we,yr;return Nr++,ye=ft,ze.charCodeAt(ft)===47?(we=la,ft++):(we=Ee,Nr===0&&In(xs)),we!==Ee?(yr=vn(),yr!==Ee?(Pn=ye,we=Pa(yr),ye=we):(ft=ye,ye=Ee)):(ft=ye,ye=Ee),Nr--,ye===Ee&&(we=Ee,Nr===0&&In(Ni)),ye}function gn(){var ye,we,yr,Jr,br;if(Nr++,ye=ft,we=ki(),we!==Ee)if(yr=vn(),yr!==Ee){for(Jr=[],br=nn();br!==Ee;)Jr.push(br),br=nn();Jr!==Ee?(Pn=ye,we=Is(yr,Jr),ye=we):(ft=ye,ye=Ee)}else ft=ye,ye=Ee;else ft=ye,ye=Ee;return Nr--,ye===Ee&&(we=Ee,Nr===0&&In(Na)),ye}function Qn(){var ye,we,yr;if(ye=ft,we=[],yr=gn(),yr!==Ee)for(;yr!==Ee;)we.push(yr),yr=gn();else we=Ee;return we!==Ee&&(Pn=ye,we=$a(we)),ye=we,ye}function ni(){var ye,we,yr;return ye=ft,ze.substr(ft,2)===hs?(we=hs,ft+=2):(we=Ee,Nr===0&&In(oa)),we!==Ee?(yr=Qn(),yr!==Ee?(Pn=ye,we=yi(yr),ye=we):(ft=ye,ye=Ee)):(ft=ye,ye=Ee),ye===Ee&&(ye=ft,Pn=ft,we=Ga(),we?we=void 0:we=Ee,we!==Ee?(yr=Kt(),yr!==Ee?(Pn=ye,we=Ds(yr),ye=we):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)),ye}function _i(){var ye,we,yr,Jr,br,Qr,Cn,ri,Fi,Mn,Dn,Bn,ia;return ye=ft,ze.charCodeAt(ft)===123?(we=un,ft++):(we=Ee,Nr===0&&In(rn)),we!==Ee?(yr=ki(),yr!==Ee?(Jr=Ya(),Jr!==Ee?(br=ki(),br!==Ee?(ze.charCodeAt(ft)===44?(Qr=$i,ft++):(Qr=Ee,Nr===0&&In(ps)),Qr!==Ee?(Cn=ki(),Cn!==Ee?(ze.substr(ft,6)===Co?(ri=Co,ft+=6):(ri=Ee,Nr===0&&In(La)),ri!==Ee?(Fi=ki(),Fi!==Ee?(Mn=ft,ze.charCodeAt(ft)===44?(Dn=$i,ft++):(Dn=Ee,Nr===0&&In(ps)),Dn!==Ee?(Bn=ki(),Bn!==Ee?(ia=ni(),ia!==Ee?(Dn=[Dn,Bn,ia],Mn=Dn):(ft=Mn,Mn=Ee)):(ft=Mn,Mn=Ee)):(ft=Mn,Mn=Ee),Mn===Ee&&(Mn=null),Mn!==Ee?(Dn=ki(),Dn!==Ee?(ze.charCodeAt(ft)===125?(Bn=ln,ft++):(Bn=Ee,Nr===0&&In(An)),Bn!==Ee?(Pn=ye,we=_s(Jr,ri,Mn),ye=we):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee),ye}function Ii(){var ye,we,yr,Jr;if(ye=ft,ze.charCodeAt(ft)===39?(we=ji,ft++):(we=Ee,Nr===0&&In(Gs)),we!==Ee){if(yr=[],Jr=Ka(),Jr===Ee&&(Rn.test(ze.charAt(ft))?(Jr=ze.charAt(ft),ft++):(Jr=Ee,Nr===0&&In(ja))),Jr!==Ee)for(;Jr!==Ee;)yr.push(Jr),Jr=Ka(),Jr===Ee&&(Rn.test(ze.charAt(ft))?(Jr=ze.charAt(ft),ft++):(Jr=Ee,Nr===0&&In(ja)));else yr=Ee;yr!==Ee?(ze.charCodeAt(ft)===39?(Jr=ji,ft++):(Jr=Ee,Nr===0&&In(Gs)),Jr!==Ee?(we=[we,yr,Jr],ye=we):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)}else ft=ye,ye=Ee;if(ye===Ee)if(ye=[],we=Ka(),we===Ee&&(ns.test(ze.charAt(ft))?(we=ze.charAt(ft),ft++):(we=Ee,Nr===0&&In(ls))),we!==Ee)for(;we!==Ee;)ye.push(we),we=Ka(),we===Ee&&(ns.test(ze.charAt(ft))?(we=ze.charAt(ft),ft++):(we=Ee,Nr===0&&In(ls)));else ye=Ee;return ye}function Hi(){var ye,we;if(ye=[],Vi.test(ze.charAt(ft))?(we=ze.charAt(ft),ft++):(we=Ee,Nr===0&&In(Ia)),we!==Ee)for(;we!==Ee;)ye.push(we),Vi.test(ze.charAt(ft))?(we=ze.charAt(ft),ft++):(we=Ee,Nr===0&&In(Ia));else ye=Ee;return ye}function Mi(){var ye,we,yr,Jr;if(ye=ft,we=ft,yr=[],Jr=Ii(),Jr===Ee&&(Jr=Hi()),Jr!==Ee)for(;Jr!==Ee;)yr.push(Jr),Jr=Ii(),Jr===Ee&&(Jr=Hi());else yr=Ee;return yr!==Ee?we=ze.substring(we,ft):we=yr,we!==Ee&&(Pn=ye,we=Da(we)),ye=we,ye}function wi(){var ye,we,yr;return ye=ft,ze.substr(ft,2)===hs?(we=hs,ft+=2):(we=Ee,Nr===0&&In(oa)),we!==Ee?(yr=Mi(),yr!==Ee?(Pn=ye,we=yi(yr),ye=we):(ft=ye,ye=Ee)):(ft=ye,ye=Ee),ye===Ee&&(ye=ft,Pn=ft,we=ms(),we?we=void 0:we=Ee,we!==Ee?(yr=Kt(),yr!==Ee?(Pn=ye,we=Ds(yr),ye=we):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)),ye}function ma(){var ye,we,yr,Jr,br,Qr,Cn,ri,Fi,Mn,Dn,Bn,ia;return ye=ft,ze.charCodeAt(ft)===123?(we=un,ft++):(we=Ee,Nr===0&&In(rn)),we!==Ee?(yr=ki(),yr!==Ee?(Jr=Ya(),Jr!==Ee?(br=ki(),br!==Ee?(ze.charCodeAt(ft)===44?(Qr=$i,ft++):(Qr=Ee,Nr===0&&In(ps)),Qr!==Ee?(Cn=ki(),Cn!==Ee?(ze.substr(ft,4)===Bs?(ri=Bs,ft+=4):(ri=Ee,Nr===0&&In(_o)),ri===Ee&&(ze.substr(ft,4)===To?(ri=To,ft+=4):(ri=Ee,Nr===0&&In(Vo))),ri!==Ee?(Fi=ki(),Fi!==Ee?(Mn=ft,ze.charCodeAt(ft)===44?(Dn=$i,ft++):(Dn=Ee,Nr===0&&In(ps)),Dn!==Ee?(Bn=ki(),Bn!==Ee?(ia=wi(),ia!==Ee?(Dn=[Dn,Bn,ia],Mn=Dn):(ft=Mn,Mn=Ee)):(ft=Mn,Mn=Ee)):(ft=Mn,Mn=Ee),Mn===Ee&&(Mn=null),Mn!==Ee?(Dn=ki(),Dn!==Ee?(ze.charCodeAt(ft)===125?(Bn=ln,ft++):(Bn=Ee,Nr===0&&In(An)),Bn!==Ee?(Pn=ye,we=_s(Jr,ri,Mn),ye=we):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee),ye}function Ci(){var ye;return ye=_i(),ye===Ee&&(ye=ma()),ye}function bi(){var ye,we,yr,Jr,br,Qr,Cn,ri,Fi,Mn,Dn,Bn,ia,Ui,ho,Xs;if(ye=ft,ze.charCodeAt(ft)===123?(we=un,ft++):(we=Ee,Nr===0&&In(rn)),we!==Ee)if(yr=ki(),yr!==Ee)if(Jr=Ya(),Jr!==Ee)if(br=ki(),br!==Ee)if(ze.charCodeAt(ft)===44?(Qr=$i,ft++):(Qr=Ee,Nr===0&&In(ps)),Qr!==Ee)if(Cn=ki(),Cn!==Ee)if(ze.substr(ft,6)===uo?(ri=uo,ft+=6):(ri=Ee,Nr===0&&In(ca)),ri===Ee&&(ze.substr(ft,13)===cs?(ri=cs,ft+=13):(ri=Ee,Nr===0&&In(mo))),ri!==Ee)if(Fi=ki(),Fi!==Ee)if(ze.charCodeAt(ft)===44?(Mn=$i,ft++):(Mn=Ee,Nr===0&&In(ps)),Mn!==Ee)if(Dn=ki(),Dn!==Ee)if(Bn=ft,ze.substr(ft,7)===vo?(ia=vo,ft+=7):(ia=Ee,Nr===0&&In(go)),ia!==Ee?(Ui=ki(),Ui!==Ee?(ho=va(),ho!==Ee?(ia=[ia,Ui,ho],Bn=ia):(ft=Bn,Bn=Ee)):(ft=Bn,Bn=Ee)):(ft=Bn,Bn=Ee),Bn===Ee&&(Bn=null),Bn!==Ee)if(ia=ki(),ia!==Ee){if(Ui=[],ho=Wi(),ho!==Ee)for(;ho!==Ee;)Ui.push(ho),ho=Wi();else Ui=Ee;Ui!==Ee?(ho=ki(),ho!==Ee?(ze.charCodeAt(ft)===125?(Xs=ln,ft++):(Xs=Ee,Nr===0&&In(An)),Xs!==Ee?(Pn=ye,we=hi(Jr,ri,Bn,Ui),ye=we):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)}else ft=ye,ye=Ee;else ft=ye,ye=Ee;else ft=ye,ye=Ee;else ft=ye,ye=Ee;else ft=ye,ye=Ee;else ft=ye,ye=Ee;else ft=ye,ye=Ee;else ft=ye,ye=Ee;else ft=ye,ye=Ee;else ft=ye,ye=Ee;else ft=ye,ye=Ee;else ft=ye,ye=Ee;return ye}function fa(){var ye,we,yr,Jr,br,Qr,Cn,ri,Fi,Mn,Dn,Bn,ia,Ui;if(ye=ft,ze.charCodeAt(ft)===123?(we=un,ft++):(we=Ee,Nr===0&&In(rn)),we!==Ee)if(yr=ki(),yr!==Ee)if(Jr=Ya(),Jr!==Ee)if(br=ki(),br!==Ee)if(ze.charCodeAt(ft)===44?(Qr=$i,ft++):(Qr=Ee,Nr===0&&In(ps)),Qr!==Ee)if(Cn=ki(),Cn!==Ee)if(ze.substr(ft,6)===oi?(ri=oi,ft+=6):(ri=Ee,Nr===0&&In(Fa)),ri!==Ee)if(Fi=ki(),Fi!==Ee)if(ze.charCodeAt(ft)===44?(Mn=$i,ft++):(Mn=Ee,Nr===0&&In(ps)),Mn!==Ee)if(Dn=ki(),Dn!==Ee){if(Bn=[],ia=Es(),ia!==Ee)for(;ia!==Ee;)Bn.push(ia),ia=Es();else Bn=Ee;Bn!==Ee?(ia=ki(),ia!==Ee?(ze.charCodeAt(ft)===125?(Ui=ln,ft++):(Ui=Ee,Nr===0&&In(An)),Ui!==Ee?(Pn=ye,we=Va(Jr,Bn),ye=we):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)}else ft=ye,ye=Ee;else ft=ye,ye=Ee;else ft=ye,ye=Ee;else ft=ye,ye=Ee;else ft=ye,ye=Ee;else ft=ye,ye=Ee;else ft=ye,ye=Ee;else ft=ye,ye=Ee;else ft=ye,ye=Ee;else ft=ye,ye=Ee;return ye}function Ks(){var ye,we,yr,Jr;return ye=ft,we=ft,ze.charCodeAt(ft)===61?(yr=Xa,ft++):(yr=Ee,Nr===0&&In(lo)),yr!==Ee?(Jr=va(),Jr!==Ee?(yr=[yr,Jr],we=yr):(ft=we,we=Ee)):(ft=we,we=Ee),we!==Ee?ye=ze.substring(ye,ft):ye=we,ye===Ee&&(ye=Ms()),ye}function Es(){var ye,we,yr,Jr,br,Qr,Cn,ri;return ye=ft,we=ki(),we!==Ee?(yr=Ms(),yr!==Ee?(Jr=ki(),Jr!==Ee?(ze.charCodeAt(ft)===123?(br=un,ft++):(br=Ee,Nr===0&&In(rn)),br!==Ee?(Pn=ft,Qr=co(yr),Qr?Qr=void 0:Qr=Ee,Qr!==Ee?(Cn=Qe(),Cn!==Ee?(ze.charCodeAt(ft)===125?(ri=ln,ft++):(ri=Ee,Nr===0&&In(An)),ri!==Ee?(Pn=ye,we=Po(yr,Cn),ye=we):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee),ye}function Wi(){var ye,we,yr,Jr,br,Qr,Cn,ri;return ye=ft,we=ki(),we!==Ee?(yr=Ks(),yr!==Ee?(Jr=ki(),Jr!==Ee?(ze.charCodeAt(ft)===123?(br=un,ft++):(br=Ee,Nr===0&&In(rn)),br!==Ee?(Pn=ft,Qr=Qa(yr),Qr?Qr=void 0:Qr=Ee,Qr!==Ee?(Cn=Qe(),Cn!==Ee?(ze.charCodeAt(ft)===125?(ri=ln,ft++):(ri=Ee,Nr===0&&In(An)),ri!==Ee?(Pn=ye,we=Lo(yr,Cn),ye=we):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)):(ft=ye,ye=Ee),ye}function ka(){var ye,we;return Nr++,Ko.test(ze.charAt(ft))?(ye=ze.charAt(ft),ft++):(ye=Ee,Nr===0&&In(Tu)),Nr--,ye===Ee&&(we=Ee,Nr===0&&In(yo)),ye}function ea(){var ye,we;return Nr++,fo.test(ze.charAt(ft))?(ye=ze.charAt(ft),ft++):(ye=Ee,Nr===0&&In(fs)),Nr--,ye===Ee&&(we=Ee,Nr===0&&In(_u)),ye}function ki(){var ye,we,yr;for(Nr++,ye=ft,we=[],yr=ka();yr!==Ee;)we.push(yr),yr=ka();return we!==Ee?ye=ze.substring(ye,ft):ye=we,Nr--,ye===Ee&&(we=Ee,Nr===0&&In(zu)),ye}function va(){var ye,we,yr;return Nr++,ye=ft,ze.charCodeAt(ft)===45?(we=Io,ft++):(we=Ee,Nr===0&&In(Us)),we===Ee&&(we=null),we!==Ee?(yr=Ys(),yr!==Ee?(Pn=ye,we=ou(we,yr),ye=we):(ft=ye,ye=Ee)):(ft=ye,ye=Ee),Nr--,ye===Ee&&(we=Ee,Nr===0&&In(Mo)),ye}function Ba(){var ye,we;return Nr++,ze.charCodeAt(ft)===39?(ye=ji,ft++):(ye=Ee,Nr===0&&In(Gs)),Nr--,ye===Ee&&(we=Ee,Nr===0&&In(jo)),ye}function Ka(){var ye,we;return Nr++,ye=ft,ze.substr(ft,2)===Ls?(we=Ls,ft+=2):(we=Ee,Nr===0&&In(bo)),we!==Ee&&(Pn=ye,we=mu()),ye=we,Nr--,ye===Ee&&(we=Ee,Nr===0&&In(Do)),ye}function eo(){var ye,we,yr,Jr,br,Qr;if(ye=ft,ze.charCodeAt(ft)===39?(we=ji,ft++):(we=Ee,Nr===0&&In(Gs)),we!==Ee)if(yr=so(),yr!==Ee){for(Jr=ft,br=[],ze.substr(ft,2)===Ls?(Qr=Ls,ft+=2):(Qr=Ee,Nr===0&&In(bo)),Qr===Ee&&(Rn.test(ze.charAt(ft))?(Qr=ze.charAt(ft),ft++):(Qr=Ee,Nr===0&&In(ja)));Qr!==Ee;)br.push(Qr),ze.substr(ft,2)===Ls?(Qr=Ls,ft+=2):(Qr=Ee,Nr===0&&In(bo)),Qr===Ee&&(Rn.test(ze.charAt(ft))?(Qr=ze.charAt(ft),ft++):(Qr=Ee,Nr===0&&In(ja)));br!==Ee?Jr=ze.substring(Jr,ft):Jr=br,Jr!==Ee?(ze.charCodeAt(ft)===39?(br=ji,ft++):(br=Ee,Nr===0&&In(Gs)),br===Ee&&(br=null),br!==Ee?(Pn=ye,we=Fo(yr,Jr),ye=we):(ft=ye,ye=Ee)):(ft=ye,ye=Ee)}else ft=ye,ye=Ee;else ft=ye,ye=Ee;return ye}function qa(){var ye,we,yr,Jr;return ye=ft,we=ft,ze.length>ft?(yr=ze.charAt(ft),ft++):(yr=Ee,Nr===0&&In(ui)),yr!==Ee?(Pn=ft,Jr=Qt(yr),Jr?Jr=void 0:Jr=Ee,Jr!==Ee?(yr=[yr,Jr],we=yr):(ft=we,we=Ee)):(ft=we,we=Ee),we===Ee&&(ze.charCodeAt(ft)===10?(we=cr,ft++):(we=Ee,Nr===0&&In(sr))),we!==Ee?ye=ze.substring(ye,ft):ye=we,ye}function so(){var ye,we,yr,Jr;return ye=ft,we=ft,ze.length>ft?(yr=ze.charAt(ft),ft++):(yr=Ee,Nr===0&&In(ui)),yr!==Ee?(Pn=ft,Jr=vr(yr),Jr?Jr=void 0:Jr=Ee,Jr!==Ee?(yr=[yr,Jr],we=yr):(ft=we,we=Ee)):(ft=we,we=Ee),we!==Ee?ye=ze.substring(ye,ft):ye=we,ye}function Ya(){var ye,we;return Nr++,ye=ft,we=Ys(),we===Ee&&(we=Ms()),we!==Ee?ye=ze.substring(ye,ft):ye=we,Nr--,ye===Ee&&(we=Ee,Nr===0&&In(wr)),ye}function Ys(){var ye,we,yr,Jr,br;if(Nr++,ye=ft,ze.charCodeAt(ft)===48?(we=Sn,ft++):(we=Ee,Nr===0&&In(Un)),we!==Ee&&(Pn=ye,we=Ln()),ye=we,ye===Ee){if(ye=ft,we=ft,Gn.test(ze.charAt(ft))?(yr=ze.charAt(ft),ft++):(yr=Ee,Nr===0&&In(ur)),yr!==Ee){for(Jr=[],Fr.test(ze.charAt(ft))?(br=ze.charAt(ft),ft++):(br=Ee,Nr===0&&In(xr));br!==Ee;)Jr.push(br),Fr.test(ze.charAt(ft))?(br=ze.charAt(ft),ft++):(br=Ee,Nr===0&&In(xr));Jr!==Ee?(yr=[yr,Jr],we=yr):(ft=we,we=Ee)}else ft=we,we=Ee;we!==Ee&&(Pn=ye,we=mn(we)),ye=we}return Nr--,ye===Ee&&(we=Ee,Nr===0&&In(xn)),ye}function Ms(){var ye,we,yr,Jr,br;if(Nr++,ye=ft,we=[],yr=ft,Jr=ft,Nr++,br=ka(),br===Ee&&(br=ea()),Nr--,br===Ee?Jr=void 0:(ft=Jr,Jr=Ee),Jr!==Ee?(ze.length>ft?(br=ze.charAt(ft),ft++):(br=Ee,Nr===0&&In(ui)),br!==Ee?(Jr=[Jr,br],yr=Jr):(ft=yr,yr=Ee)):(ft=yr,yr=Ee),yr!==Ee)for(;yr!==Ee;)we.push(yr),yr=ft,Jr=ft,Nr++,br=ka(),br===Ee&&(br=ea()),Nr--,br===Ee?Jr=void 0:(ft=Jr,Jr=Ee),Jr!==Ee?(ze.length>ft?(br=ze.charAt(ft),ft++):(br=Ee,Nr===0&&In(ui)),br!==Ee?(Jr=[Jr,br],yr=Jr):(ft=yr,yr=Ee)):(ft=yr,yr=Ee);else we=Ee;return we!==Ee?ye=ze.substring(ye,ft):ye=we,Nr--,ye===Ee&&(we=Ee,Nr===0&&In(Hn)),ye}var da=["root"];function Ua(){return da.length>1}function As(){return da[da.length-1]==="plural"}function ga(){return et&&et.captureLocation?{location:zr()}:{}}if(Li=ir(),Li!==Ee&&ft===ze.length)return Li;throw Li!==Ee&&ft<ze.length&&In(Os()),Ns(Qi,li<ze.length?ze.charAt(li):null,li<ze.length?ks(li,li+1):ks(li,li))}var K=ue,V=function(){for(var ze=0,et=0,Ee=arguments.length;et<Ee;et++)ze+=arguments[et].length;for(var it=Array(ze),ir=0,et=0;et<Ee;et++)for(var Dr=arguments[et],Er=0,Or=Dr.length;Er<Or;Er++,ir++)it[ir]=Dr[Er];return it},G=/(^|[^\\])#/g;function te(ze){ze.forEach(function(et){!D(et)&&!T(et)||Object.keys(et.options).forEach(function(Ee){for(var it,ir=et.options[Ee],Dr=-1,Er=void 0,Or=0;Or<ir.value.length;Or++){var $r=ir.value[Or];if(_($r)&&G.test($r.value)){Dr=Or,Er=$r;break}}if(Er){var bn=Er.value.replace(G,"$1{"+et.value+", number}"),Pr=K(bn);(it=ir.value).splice.apply(it,V([Dr,1],Pr))}te(ir.value)})})}function q(ze,et){var Ee=K(ze,et);return(!et||et.normalizeHashtagInPlural!==!1)&&te(Ee),Ee}var J=function(){for(var ze=0,et=0,Ee=arguments.length;et<Ee;et++)ze+=arguments[et].length;for(var it=Array(ze),ir=0,et=0;et<Ee;et++)for(var Dr=arguments[et],Er=0,Or=Dr.length;Er<Or;Er++,ir++)it[ir]=Dr[Er];return it};function le(ze){return JSON.stringify(ze.map(function(et){return et&&typeof et=="object"?z(et):et}))}function z(ze){return Object.keys(ze).sort().map(function(et){var Ee;return Ee={},Ee[et]=ze[et],Ee})}var F=function(ze,et){return et===void 0&&(et={}),function(){for(var Ee,it=[],ir=0;ir<arguments.length;ir++)it[ir]=arguments[ir];var Dr=le(it),Er=Dr&&et[Dr];return Er||(Er=new((Ee=ze).bind.apply(Ee,J([void 0],it))),Dr&&(et[Dr]=Er)),Er}},se=F,_e=function(){return _e=Object.assign||function(ze){for(var et,Ee=1,it=arguments.length;Ee<it;Ee++){et=arguments[Ee];for(var ir in et)Object.prototype.hasOwnProperty.call(et,ir)&&(ze[ir]=et[ir])}return ze},_e.apply(this,arguments)},Pe=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function Re(ze){var et={};return ze.replace(Pe,function(Ee){var it=Ee.length;switch(Ee[0]){case"G":et.era=it===4?"long":it===5?"narrow":"short";break;case"y":et.year=it===2?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":et.month=["numeric","2-digit","short","long","narrow"][it-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":et.day=["numeric","2-digit"][it-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":et.weekday=it===4?"short":it===5?"narrow":"short";break;case"e":if(it<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");et.weekday=["short","long","narrow","short"][it-4];break;case"c":if(it<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");et.weekday=["short","long","narrow","short"][it-4];break;case"a":et.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":et.hourCycle="h12",et.hour=["numeric","2-digit"][it-1];break;case"H":et.hourCycle="h23",et.hour=["numeric","2-digit"][it-1];break;case"K":et.hourCycle="h11",et.hour=["numeric","2-digit"][it-1];break;case"k":et.hourCycle="h24",et.hour=["numeric","2-digit"][it-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":et.minute=["numeric","2-digit"][it-1];break;case"s":et.second=["numeric","2-digit"][it-1];break;case"S":case"A":throw new RangeError("`S/A` (second) pattenrs are not supported, use `s` instead");case"z":et.timeZoneName=it<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) pattenrs are not supported, use `z` instead")}return""}),et}function Ze(ze){return ze.replace(/^(.*?)-/,"")}var $e=/^\.(?:(0+)(\+|#+)?)?$/g,Ht=/^(@+)?(\+|#+)?$/g;function bt(ze){var et={};return ze.replace(Ht,function(Ee,it,ir){return typeof ir!="string"?(et.minimumSignificantDigits=it.length,et.maximumSignificantDigits=it.length):ir==="+"?et.minimumSignificantDigits=it.length:it[0]==="#"?et.maximumSignificantDigits=it.length:(et.minimumSignificantDigits=it.length,et.maximumSignificantDigits=it.length+(typeof ir=="string"?ir.length:0)),""}),et}function Ot(ze){switch(ze){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":return{currencySign:"accounting"};case"sign-always":return{signDisplay:"always"};case"sign-accounting-always":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":return{signDisplay:"never"}}}function qt(ze){var et={},Ee=Ot(ze);return Ee||et}function er(ze){for(var et={},Ee=0,it=ze;Ee<it.length;Ee++){var ir=it[Ee];switch(ir.stem){case"percent":et.style="percent";continue;case"currency":et.style="currency",et.currency=ir.options[0];continue;case"group-off":et.useGrouping=!1;continue;case"precision-integer":et.maximumFractionDigits=0;continue;case"measure-unit":et.style="unit",et.unit=Ze(ir.options[0]);continue;case"compact-short":et.notation="compact",et.compactDisplay="short";continue;case"compact-long":et.notation="compact",et.compactDisplay="long";continue;case"scientific":et=_e(_e(_e({},et),{notation:"scientific"}),ir.options.reduce(function(Er,Or){return _e(_e({},Er),qt(Or))},{}));continue;case"engineering":et=_e(_e(_e({},et),{notation:"engineering"}),ir.options.reduce(function(Er,Or){return _e(_e({},Er),qt(Or))},{}));continue;case"notation-simple":et.notation="standard";continue;case"unit-width-narrow":et.currencyDisplay="narrowSymbol",et.unitDisplay="narrow";continue;case"unit-width-short":et.currencyDisplay="code",et.unitDisplay="short";continue;case"unit-width-full-name":et.currencyDisplay="name",et.unitDisplay="long";continue;case"unit-width-iso-code":et.currencyDisplay="symbol";continue}if($e.test(ir.stem)){if(ir.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");ir.stem.replace($e,function(Er,Or,$r){return Er==="."?et.maximumFractionDigits=0:$r==="+"?et.minimumFractionDigits=$r.length:Or[0]==="#"?et.maximumFractionDigits=Or.length:(et.minimumFractionDigits=Or.length,et.maximumFractionDigits=Or.length+(typeof $r=="string"?$r.length:0)),""}),ir.options.length&&(et=_e(_e({},et),bt(ir.options[0])));continue}if(Ht.test(ir.stem)){et=_e(_e({},et),bt(ir.stem));continue}var Dr=Ot(ir.stem);Dr&&(et=_e(_e({},et),Dr))}return et}var Jt=function(){var ze=function(et,Ee){return ze=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(it,ir){it.__proto__=ir}||function(it,ir){for(var Dr in ir)ir.hasOwnProperty(Dr)&&(it[Dr]=ir[Dr])},ze(et,Ee)};return function(et,Ee){ze(et,Ee);function it(){this.constructor=et}et.prototype=Ee===null?Object.create(Ee):(it.prototype=Ee.prototype,new it)}}(),Xe=function(){for(var ze=0,et=0,Ee=arguments.length;et<Ee;et++)ze+=arguments[et].length;for(var it=Array(ze),ir=0,et=0;et<Ee;et++)for(var Dr=arguments[et],Er=0,Or=Dr.length;Er<Or;Er++,ir++)it[ir]=Dr[Er];return it},Pt=function(ze){Jt(et,ze);function et(Ee,it){var ir=ze.call(this,Ee)||this;return ir.variableId=it,ir}return et}(Error);function Ut(ze){return ze.length<2?ze:ze.reduce(function(et,Ee){var it=et[et.length-1];return!it||it.type!==0||Ee.type!==0?et.push(Ee):it.value+=Ee.value,et},[])}function st(ze,et,Ee,it,ir,Dr,Er){if(ze.length===1&&_(ze[0]))return[{type:0,value:ze[0].value}];for(var Or=[],$r=0,bn=ze;$r<bn.length;$r++){var Pr=bn[$r];if(_(Pr)){Or.push({type:0,value:Pr.value});continue}if(M(Pr)){typeof Dr=="number"&&Or.push({type:0,value:Ee.getNumberFormat(et).format(Dr)});continue}var un=Pr.value;if(!(ir&&un in ir))throw new Pt('The intl string context variable "'+un+'" was not provided to the string "'+Er+'"');var rn=ir[un];if(b(Pr)){(!rn||typeof rn=="string"||typeof rn=="number")&&(rn=typeof rn=="string"||typeof rn=="number"?String(rn):""),Or.push({type:1,value:rn});continue}if(R(Pr)){var ln=typeof Pr.style=="string"?it.date[Pr.style]:void 0;Or.push({type:0,value:Ee.getDateTimeFormat(et,ln).format(rn)});continue}if(L(Pr)){var ln=typeof Pr.style=="string"?it.time[Pr.style]:j(Pr.style)?Re(Pr.style.pattern):void 0;Or.push({type:0,value:Ee.getDateTimeFormat(et,ln).format(rn)});continue}if(S(Pr)){var ln=typeof Pr.style=="string"?it.number[Pr.style]:N(Pr.style)?er(Pr.style.tokens):void 0;Or.push({type:0,value:Ee.getNumberFormat(et,ln).format(rn)});continue}if(T(Pr)){var An=Pr.options[rn]||Pr.options.other;if(!An)throw new RangeError('Invalid values for "'+Pr.value+'": "'+rn+'". Options are "'+Object.keys(Pr.options).join('", "')+'"');Or.push.apply(Or,st(An.value,et,Ee,it,ir));continue}if(D(Pr)){var An=Pr.options["="+rn];if(!An){if(!Intl.PluralRules)throw new Pt(`Intl.PluralRules is not available in this environment.
Try polyfilling it using "@formatjs/intl-pluralrules"
`);var pa=Ee.getPluralRules(et,{type:Pr.pluralType}).select(rn-(Pr.offset||0));An=Pr.options[pa]||Pr.options.other}if(!An)throw new RangeError('Invalid values for "'+Pr.value+'": "'+rn+'". Options are "'+Object.keys(Pr.options).join('", "')+'"');Or.push.apply(Or,st(An.value,et,Ee,it,ir,rn-(Pr.offset||0)));continue}}return Ut(Or)}function yt(ze,et,Ee,it,ir,Dr){var Er=st(ze,et,Ee,it,ir,void 0,Dr);return Er.length===1?Er[0].value:Er.reduce(function(Or,$r){return Or+=$r.value},"")}var ht,Je="@@",je=/@@(\d+_\d+)@@/g,ge=0;function Se(){return Date.now()+"_"+ ++ge}function Me(ze,et){return ze.split(je).filter(Boolean).map(function(Ee){return et[Ee]!=null?et[Ee]:Ee}).reduce(function(Ee,it){return Ee.length&&typeof it=="string"&&typeof Ee[Ee.length-1]=="string"?Ee[Ee.length-1]+=it:Ee.push(it),Ee},[])}var Ne=/(<([0-9a-zA-Z-_]*?)>(.*?)<\/([0-9a-zA-Z-_]*?)>)|(<[0-9a-zA-Z-_]*?\/>)/,He=Date.now()+"@@",nt=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"];function ct(ze,et,Ee){var it=ze.tagName,ir=ze.outerHTML,Dr=ze.textContent,Er=ze.childNodes;if(!it)return Me(Dr||"",et);it=it.toLowerCase();var Or=~nt.indexOf(it),$r=Ee[it];if($r&&Or)throw new Pt(it+" is a self-closing tag and can not be used, please use another tag name.");if(!Er.length)return[ir];var bn=Array.prototype.slice.call(Er).reduce(function(Pr,un){return Pr.concat(ct(un,et,Ee))},[]);return $r?typeof $r=="function"?[$r.apply(void 0,bn)]:[$r]:Xe(["<"+it+">"],bn,["</"+it+">"])}function Vt(ze,et,Ee,it,ir,Dr){var Er=st(ze,et,Ee,it,ir,void 0,Dr),Or={},$r=Er.reduce(function(rn,ln){if(ln.type===0)return rn+=ln.value;var An=Se();return Or[An]=ln.value,rn+=""+Je+An+Je},"");if(!Ne.test($r))return Me($r,Or);if(!ir)throw new Pt("Message has placeholders but no values was given");if(typeof DOMParser=="undefined")throw new Pt("Cannot format XML message without DOMParser");ht||(ht=new DOMParser);var bn=ht.parseFromString('<formatted-message id="'+He+'">'+$r+"</formatted-message>","text/html").getElementById(He);if(!bn)throw new Pt("Malformed HTML message "+$r);var Pr=Object.keys(ir).filter(function(rn){return!!bn.getElementsByTagName(rn).length});if(!Pr.length)return Me($r,Or);var un=Pr.filter(function(rn){return rn!==rn.toLowerCase()});if(un.length)throw new Pt("HTML tag must be lowercased but the following tags are not: "+un.join(", "));return Array.prototype.slice.call(bn.childNodes).reduce(function(rn,ln){return rn.concat(ct(ln,Or,ir))},[])}var Wt=function(){return Wt=Object.assign||function(ze){for(var et,Ee=1,it=arguments.length;Ee<it;Ee++){et=arguments[Ee];for(var ir in et)Object.prototype.hasOwnProperty.call(et,ir)&&(ze[ir]=et[ir])}return ze},Wt.apply(this,arguments)};function Ie(ze,et){return et?Wt(Wt(Wt({},ze||{}),et||{}),Object.keys(ze).reduce(function(Ee,it){return Ee[it]=Wt(Wt({},ze[it]),et[it]||{}),Ee},{})):ze}function qe(ze,et){return et?Object.keys(ze).reduce(function(Ee,it){return Ee[it]=Ie(ze[it],et[it]),Ee},Wt({},ze)):ze}function Gt(ze){return ze===void 0&&(ze={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:se(Intl.NumberFormat,ze.number),getDateTimeFormat:se(Intl.DateTimeFormat,ze.dateTime),getPluralRules:se(Intl.PluralRules,ze.pluralRules)}}var kt=function(){function ze(et,Ee,it,ir){var Dr=this;if(Ee===void 0&&(Ee=ze.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(Er){return yt(Dr.ast,Dr.locales,Dr.formatters,Dr.formats,Er,Dr.message)},this.formatToParts=function(Er){return st(Dr.ast,Dr.locales,Dr.formatters,Dr.formats,Er,void 0,Dr.message)},this.formatHTMLMessage=function(Er){return Vt(Dr.ast,Dr.locales,Dr.formatters,Dr.formats,Er,Dr.message)},this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(Dr.locales)[0]}},this.getAst=function(){return Dr.ast},typeof et=="string"){if(this.message=et,!ze.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=ze.__parse(et,{normalizeHashtagInPlural:!1})}else this.ast=et;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=qe(ze.formats,it),this.locales=Ee,this.formatters=ir&&ir.formatters||Gt(this.formatterCache)}return ze.defaultLocale=new Intl.NumberFormat().resolvedOptions().locale,ze.__parse=q,ze.formats={number:{currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},ze}(),Zt=kt,Nt=Zt;function Ct(ze,et,Ee){if(Ee===void 0&&(Ee=Error),!ze)throw new Ee(et)}const Yt={38:"&amp;",62:"&gt;",60:"&lt;",34:"&quot;",39:"&#x27;"},We=/[&><"']/g;function fe(ze){return(""+ze).replace(We,et=>Yt[et.charCodeAt(0)])}function pe(ze,et,Ee={}){return et.reduce((it,ir)=>(ir in ze?it[ir]=ze[ir]:ir in Ee&&(it[ir]=Ee[ir]),it),{})}function Dt(ze){Ct(ze,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}function Ce(ze,et){const Ee=et?`
${et.stack}`:"";return`[React Intl] ${ze}${Ee}`}function dt(ze){}const zt={formats:{},messages:{},timeZone:void 0,textComponent:r.Fragment,defaultLocale:"en",defaultFormats:{},onError:dt};function Tt(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function Oe(ze=Tt()){const et=Intl.RelativeTimeFormat,Ee=Intl.ListFormat,it=Intl.DisplayNames;return{getDateTimeFormat:se(Intl.DateTimeFormat,ze.dateTime),getNumberFormat:se(Intl.NumberFormat,ze.number),getMessageFormat:se(Nt,ze.message),getRelativeTimeFormat:se(et,ze.relativeTime),getPluralRules:se(Intl.PluralRules,ze.pluralRules),getListFormat:se(Ee,ze.list),getDisplayNames:se(it,ze.displayNames)}}function St(ze,et,Ee,it){const ir=ze&&ze[et];let Dr;if(ir&&(Dr=ir[Ee]),Dr)return Dr;it(Ce(`No ${et} format named: ${Ee}`))}const be=["localeMatcher","style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay"];function Ke({locale:ze,formats:et,onError:Ee},it,ir={}){const{format:Dr}=ir,Er=Dr&&St(et,"number",Dr,Ee)||{},Or=pe(ir,be,Er);return it(ze,Or)}function vt(ze,et,Ee,it={}){try{return Ke(ze,et,it).format(Ee)}catch(ir){ze.onError(Ce("Error formatting number.",ir))}return String(Ee)}function Rt(ze,et,Ee,it={}){try{return Ke(ze,et,it).formatToParts(Ee)}catch(ir){ze.onError(Ce("Error formatting number.",ir))}return[]}const Fe=["numeric","style"];function kr({locale:ze,formats:et,onError:Ee},it,ir={}){const{format:Dr}=ir,Er=!!Dr&&St(et,"relative",Dr,Ee)||{},Or=pe(ir,Fe,Er);return it(ze,Or)}function At(ze,et,Ee,it,ir={}){it||(it="second"),Intl.RelativeTimeFormat||ze.onError(Ce(`Intl.RelativeTimeFormat is not available in this environment.
Try polyfilling it using "@formatjs/intl-relativetimeformat"
`));try{return kr(ze,et,ir).format(Ee,it)}catch(Er){ze.onError(Ce("Error formatting relative time.",Er))}return String(Ee)}const Kr=["localeMatcher","formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName"];function qr({locale:ze,formats:et,onError:Ee,timeZone:it},ir,Dr,Er={}){const{format:Or}=Er,$r=Object.assign(Object.assign({},it&&{timeZone:it}),Or&&St(et,ir,Or,Ee));let bn=pe(Er,Kr,$r);return ir==="time"&&!bn.hour&&!bn.minute&&!bn.second&&(bn=Object.assign(Object.assign({},bn),{hour:"numeric",minute:"numeric"})),Dr(ze,bn)}function Ar(ze,et,Ee,it={}){const ir=typeof Ee=="string"?new Date(Ee||0):Ee;try{return qr(ze,"date",et,it).format(ir)}catch(Dr){ze.onError(Ce("Error formatting date.",Dr))}return String(ir)}function Br(ze,et,Ee,it={}){const ir=typeof Ee=="string"?new Date(Ee||0):Ee;try{return qr(ze,"time",et,it).format(ir)}catch(Dr){ze.onError(Ce("Error formatting time.",Dr))}return String(ir)}function _r(ze,et,Ee,it={}){const ir=typeof Ee=="string"?new Date(Ee||0):Ee;try{return qr(ze,"date",et,it).formatToParts(ir)}catch(Dr){ze.onError(Ce("Error formatting date.",Dr))}return[]}function Ur(ze,et,Ee,it={}){const ir=typeof Ee=="string"?new Date(Ee||0):Ee;try{return qr(ze,"time",et,it).formatToParts(ir)}catch(Dr){ze.onError(Ce("Error formatting time.",Dr))}return[]}const sn=["localeMatcher","type"];function cn({locale:ze,onError:et},Ee,it,ir={}){Intl.PluralRules||et(Ce(`Intl.PluralRules is not available in this environment.
Try polyfilling it using "@formatjs/intl-pluralrules"
`));const Dr=pe(ir,sn);try{return Ee(ze,Dr).select(it)}catch(Er){et(Ce("Error formatting plural.",Er))}return"other"}function or(ze,et){return Object.keys(ze).reduce((Ee,it)=>(Ee[it]=Object.assign({timeZone:et},ze[it]),Ee),{})}function Lt(ze,et){return Object.keys(Object.assign(Object.assign({},ze),et)).reduce((it,ir)=>(it[ir]=Object.assign(Object.assign({},ze[ir]||{}),et[ir]||{}),it),{})}function mt(ze,et){if(!et)return ze;const Ee=Nt.formats;return Object.assign(Object.assign(Object.assign({},Ee),ze),{date:Lt(or(Ee.date,et),or(ze.date||{},et)),time:Lt(or(Ee.time,et),or(ze.time||{},et))})}const gt=ze=>r.createElement(r.Fragment,null,...ze);function $t({locale:ze,formats:et,messages:Ee,defaultLocale:it,defaultFormats:ir,onError:Dr,timeZone:Er},Or,$r={id:""},bn={}){const{id:Pr,defaultMessage:un}=$r;Ct(!!Pr,"[React Intl] An `id` must be provided to format a message.");const rn=Ee&&Ee[String(Pr)];et=mt(et,Er),ir=mt(ir,Er);let ln=[];if(rn)try{ln=Or.getMessageFormat(rn,ze,et,{formatters:Or}).formatHTMLMessage(bn)}catch(An){Dr(Ce(`Error formatting message: "${Pr}" for locale: "${ze}"`+(un?", using default message as fallback.":""),An))}else(!un||ze&&ze.toLowerCase()!==it.toLowerCase())&&Dr(Ce(`Missing message: "${Pr}" for locale: "${ze}"`+(un?", using default message as fallback.":"")));if(!ln.length&&un)try{ln=Or.getMessageFormat(un,it,ir).formatHTMLMessage(bn)}catch(An){Dr(Ce(`Error formatting the default message for: "${Pr}"`,An))}return ln.length?ln.length===1&&typeof ln[0]=="string"?ln[0]||un||String(Pr):gt(ln):(Dr(Ce(`Cannot format message: "${Pr}", using message ${rn||un?"source":"id"} as fallback.`)),typeof rn=="string"?rn||un||String(Pr):un||String(Pr))}function Cr(ze,et,Ee={id:""},it={}){const ir=Object.keys(it).reduce((Dr,Er)=>{const Or=it[Er];return Dr[Er]=typeof Or=="string"?fe(Or):Or,Dr},{});return $t(ze,et,Ee,ir)}var gr=e(18947),ot=e.n(gr);const Mr=["localeMatcher","type","style"],yn=Date.now();function Zn(ze){return`${yn}_${ze}_${yn}`}function mr({locale:ze,onError:et},Ee,it,ir={}){Intl.ListFormat||et(Ce(`Intl.ListFormat is not available in this environment.
Try polyfilling it using "@formatjs/intl-listformat"
`));const Er=pe(ir,Mr);try{const Or={},$r=it.map((Pr,un)=>{if(typeof Pr=="object"){const rn=Zn(un);return Or[rn]=Pr,rn}return String(Pr)});return Object.keys(Or).length?Ee(ze,Er).formatToParts($r).reduce((Pr,un)=>{const rn=un.value;return Or[rn]?Pr.push(Or[rn]):typeof Pr[Pr.length-1]=="string"?Pr[Pr.length-1]+=rn:Pr.push(rn),Pr},[]):Ee(ze,Er).format($r)}catch(Or){et(Ce("Error formatting list.",Or))}return it}const tn=["localeMatcher","style","type","fallback"];function hn({locale:ze,onError:et},Ee,it,ir={}){Intl.DisplayNames||et(Ce(`Intl.DisplayNames is not available in this environment.
Try polyfilling it using "@formatjs/intl-displaynames"
`));const Er=pe(ir,tn);try{return Ee(ze,Er).of(it)}catch(Or){et(Ce("Error formatting display name.",Or))}}const Fn=ot()||gr;function ti(ze){return{locale:ze.locale,timeZone:ze.timeZone,formats:ze.formats,textComponent:ze.textComponent,messages:ze.messages,defaultLocale:ze.defaultLocale,defaultFormats:ze.defaultFormats,onError:ze.onError}}function jn(ze,et){const Ee=Oe(et),it=Object.assign(Object.assign({},zt),ze),{locale:ir,defaultLocale:Dr,onError:Er}=it;return ir?!Intl.NumberFormat.supportedLocalesOf(ir).length&&Er?Er(Ce(`Missing locale data for locale: "${ir}" in Intl.NumberFormat. Using default locale: "${Dr}" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/Getting-Started.md#runtime-requirements for more details`)):!Intl.DateTimeFormat.supportedLocalesOf(ir).length&&Er&&Er(Ce(`Missing locale data for locale: "${ir}" in Intl.DateTimeFormat. Using default locale: "${Dr}" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/Getting-Started.md#runtime-requirements for more details`)):(Er&&Er(Ce(`"locale" was not configured, using "${Dr}" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/API.md#intlshape for more details`)),it.locale=it.defaultLocale||"en"),Object.assign(Object.assign({},it),{formatters:Ee,formatNumber:vt.bind(null,it,Ee.getNumberFormat),formatNumberToParts:Rt.bind(null,it,Ee.getNumberFormat),formatRelativeTime:At.bind(null,it,Ee.getRelativeTimeFormat),formatDate:Ar.bind(null,it,Ee.getDateTimeFormat),formatDateToParts:_r.bind(null,it,Ee.getDateTimeFormat),formatTime:Br.bind(null,it,Ee.getDateTimeFormat),formatTimeToParts:Ur.bind(null,it,Ee.getDateTimeFormat),formatPlural:cn.bind(null,it,Ee.getPluralRules),formatMessage:$t.bind(null,it,Ee),formatHTMLMessage:Cr.bind(null,it,Ee),formatList:mr.bind(null,it,Ee.getListFormat),formatDisplayName:hn.bind(null,it,Ee.getDisplayNames)})}class Zi extends r.PureComponent{constructor(){super(...arguments),this.cache=Tt(),this.state={cache:this.cache,intl:jn(ti(this.props),this.cache),prevConfig:ti(this.props)}}static getDerivedStateFromProps(et,{prevConfig:Ee,cache:it}){const ir=ti(et);return Fn(Ee,ir)?null:{intl:jn(ir,it),prevConfig:ir}}render(){return Dt(this.state.intl),r.createElement(a,{value:this.state.intl},this.props.children)}}Zi.displayName="IntlProvider",Zi.defaultProps=zt;var xi=e(3191),Si=e(3424),Ei=e.n(Si),mi=e(85239),Xi=Object.getOwnPropertySymbols,qn=Object.prototype.hasOwnProperty,Yi=Object.prototype.propertyIsEnumerable,wt=(ze,et)=>{var Ee={};for(var it in ze)qn.call(ze,it)&&et.indexOf(it)<0&&(Ee[it]=ze[it]);if(ze!=null&&Xi)for(var it of Xi(ze))et.indexOf(it)<0&&Yi.call(ze,it)&&(Ee[it]=ze[it]);return Ee};let ut;const Jn=!0,Ai=new(Ei()),ei=Symbol("LANG_CHANGE"),Gi=(ze,et="")=>Object.keys(ze).reduce((Ee,it)=>{const ir=ze[it],Dr=et?`${et}.${it}`:it;return typeof ir=="string"?Ee[Dr]=ir:Object.assign(Ee,Gi(ir,Dr)),Ee},{}),vi={},si=(ze,et,Ee)=>{var it,ir,Dr,Er;if(!ze)return;const Or=(it=vi[ze])!=null&&it.messages?Object.assign({},vi[ze].messages,et):et,{momentLocale:$r=(ir=vi[ze])==null?void 0:ir.momentLocale,antd:bn=(Dr=vi[ze])==null?void 0:Dr.antd}=Ee||{},Pr=(Er=ze.split("-"))==null?void 0:Er.join("-");vi[ze]={messages:Or,locale:Pr,momentLocale:$r,antd:bn},Pr===It()&&Ai.emit(ei,Pr)},En=ze=>(0,xi.We)().applyPlugins({key:"locale",type:"modify",initialValue:ze}),tr=ze=>{const Ee=En(vi[ze]),{cache:it}=Ee,ir=wt(Ee,["cache"]);return jn(ir,it)},_t=(ze,et)=>ut&&!et&&!ze?ut:(ze||(ze=It()),ze&&vi[ze]?tr(ze):vi["zh-CN"]?tr("zh-CN"):jn({locale:"zh-CN",messages:{}})),rt=ze=>{ut=_t(ze,!0)},It=()=>{const ze=En({});return typeof(ze==null?void 0:ze.getLocale)=="function"?ze.getLocale():(navigator.cookieEnabled&&typeof localStorage!="undefined"&&Jn?window.localStorage.getItem("umi_locale"):"")||void 0||"zh-CN"},pt=()=>{const ze=It();return["he","ar","fa","ku"].filter(it=>ze.startsWith(it)).length?"rtl":"ltr"},lr=(ze,et=!0)=>{(()=>{if(It()!==ze){if(navigator.cookieEnabled&&typeof window.localStorage!="undefined"&&Jn&&window.localStorage.setItem("umi_locale",ze||""),rt(ze),et)window.location.reload();else if(Ai.emit(ei,ze),window.dispatchEvent){const it=new Event("languagechange");window.dispatchEvent(it)}}})()};let fr=!0;const Ir=(ze,et)=>(fr&&(warning(!1,`Using this API will cause automatic refresh when switching languages, please use useIntl or injectIntl.
\u4F7F\u7528\u6B64 api \u4F1A\u9020\u6210\u5207\u6362\u8BED\u8A00\u7684\u65F6\u5019\u65E0\u6CD5\u81EA\u52A8\u5237\u65B0\uFF0C\u8BF7\u4F7F\u7528 useIntl \u6216 injectIntl\u3002
http://j.mp/37Fkd5Q
`),fr=!1),ut||rt(It()),ut.formatMessage(ze,et)),Hr=()=>Object.keys(vi)},6383:function(d,g,e){"use strict";e.d(g,{y:function(){return s}});var r=e(43418),i=e(95237),l=e(43604),c=e(4787),f=e(59301);const s=h=>new Promise((u,a)=>{if(window.RTCPeerConnection=window.RTCPeerConnection||window.mozRTCPeerConnection||window.webkitRTCPeerConnection,typeof window.RTCPeerConnection=="undefined")return a("WebRTC not supported by browser");let x=new RTCPeerConnection,p=[];x.createDataChannel(""),x.createOffer().then(y=>x.setLocalDescription(y)).catch(y=>a(y)),x.onicecandidate=y=>{console.log("event:",y);const _=[];if(!y||!y.candidate){if(console.log("ips",p),p.length==0||!(0,c.t)(p[0])){const Y=r.default.info({title:f.createElement(i.Z,null,f.createElement(l.Z,{flex:"1"},"\u63D0\u793A"),f.createElement(l.Z,null,f.createElement("span",{className:"iconfont icon-yiguanbi1 current c-grey-c",onClick:()=>Y.destroy()}))),icon:null,width:500,className:"custom-modal-divider",content:f.createElement(i.Z,null,f.createElement(l.Z,null,"\u5F53\u524D\u8003\u8BD5\u5DF2\u542F\u7528\u9650\u5236\u8003\u8BD5\u8BBF\u95EEIP\uFF08\u9650\u5236\u516C\u5171IP+\u5185\u7F51IP\uFF09\u3002",(h.ip_limit==="inner"||h.ip_bind)&&f.createElement(f.Fragment,null,f.createElement("span",{className:"c-red"},"\uFF08\u53EA\u5141\u8BB8\u5728Chrome\u8C37\u6B4C\u6D4F\u89C8\u5668\u4F5C\u7B54\uFF0C\u5E76\u4E14\u9700\u8981\u5B89\u88C5WebRTC Leak Prevent\u63D2\u4EF6\uFF09"),f.createElement("br",null),f.createElement(Button,{onClick:showInstallWebRtcDoc,type:"link"},"\u5982\u4F55\u5B89\u88C5WebRTC Leak Prevent\u63D2\u4EF6?"))))});return a("WebRTC disabled or restricted by browser")}const X=p.filter(Y=>(0,c.t)(Y));return!X||!X.length?a("IP\u83B7\u53D6\u5931\u8D25"):u(X.join(""))}let b=y.candidate.candidate.split(" "),[S,R,L,T,D,M,,N,...j]=b,Q=["rtp","rtpc"];if(console.log("event:",y),p.some(X=>X==D)||p.push(D),console.log(" candidate: "+S.split(":")[1]),console.log(" component: "+Q[R-1]),console.log(" protocol: "+L),console.log(" priority: "+T),console.log(" ip: "+D),console.log(" port: "+M),console.log(" type: "+N),j.length){console.log("attributes: ");for(let X=0;X<j.length;X+=2)console.log("> "+j[X]+": "+j[X+1])}}})},28426:function(d,g,e){"use strict";var r=e(59301),i=e(4977),l=e(3113),c=Object.defineProperty,f=Object.defineProperties,s=Object.getOwnPropertyDescriptors,h=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,x=(b,S,R)=>S in b?c(b,S,{enumerable:!0,configurable:!0,writable:!0,value:R}):b[S]=R,p=(b,S)=>{for(var R in S||(S={}))u.call(S,R)&&x(b,R,S[R]);if(h)for(var R of h(S))a.call(S,R)&&x(b,R,S[R]);return b},y=(b,S)=>f(b,s(S));const _=({img:b,buttonProps:S={},styles:R={},customText:L,ButtonText:T,ButtonClick:D,Buttonclass:M,ButtonTwo:N,imgStyles:j,loading:Q=!1})=>r.createElement("section",{className:"tc animated fadeIn",style:p(p({},{color:"#999",margin:"100px auto",visibility:Q?"hidden":"visible"}),R)},r.createElement("img",{src:b||i,style:y(p({},j),{pointerEvents:"none",userSelect:"none"})}),r.createElement("p",{className:"mt20 font14"},L||"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"),T&&r.createElement(l.ZP,p({className:M,onClick:D},S),T),N&&N);g.Z=_},75617:function(d,g,e){"use strict";e.d(g,{Z:function(){return oe}});var r=e(59301),i={wrp:"wrp___dq7YK",bgBlack:"bgBlack___ARIUV",monaco:"monaco___VnZC3",darkBlue:"darkBlue___UprA9",close:"close___LKoWu",embed:"embed___hvpEJ"},l=e(3113),c=e(5016),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M862 465.3h-81c-4.6 0-9 2-12.1 5.5L550 723.1V160c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v563.1L255.1 470.8c-3-3.5-7.4-5.5-12.1-5.5h-81c-6.8 0-10.5 8.1-6 13.2L487.9 861a31.96 31.96 0 0048.3 0L868 478.5c4.5-5.2.8-13.2-6-13.2z"}}]},name:"arrow-down",theme:"outlined"},s=f,h=e(7657),u=function(ue,K){return r.createElement(h.Z,(0,c.Z)({},ue,{ref:K,icon:s}))},a=r.forwardRef(u),x=a,p=e(75975),y=e(6848),_=e(51257),b=e(81722),S=e(28426),R=e(346),L=e(44203),T=e(59301),D=Object.defineProperty,M=Object.getOwnPropertySymbols,N=Object.prototype.hasOwnProperty,j=Object.prototype.propertyIsEnumerable,Q=(ie,ue,K)=>ue in ie?D(ie,ue,{enumerable:!0,configurable:!0,writable:!0,value:K}):ie[ue]=K,X=(ie,ue)=>{for(var K in ue||(ue={}))N.call(ue,K)&&Q(ie,K,ue[K]);if(M)for(var K of M(ue))j.call(ue,K)&&Q(ie,K,ue[K]);return ie},Y=(ie,ue,K)=>new Promise((V,G)=>{var te=le=>{try{J(K.next(le))}catch(z){G(z)}},q=le=>{try{J(K.throw(le))}catch(z){G(z)}},J=le=>le.done?V(le.value):Promise.resolve(le.value).then(te,q);J((K=K.apply(ie,ue)).next())}),oe=({editOffice:ie="view",data:ue,theme:K,type:V,filename:G,monacoEditor:te,className:q,style:J,close:le,onClose:z,hasMask:F,disabledDownload:se,onImgDimensions:_e,showNodata:Pe,recordInfo:Re})=>{const[Ze,$e]=(0,r.useState)("https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt"),[Ht,bt]=(0,r.useState)(""),[Ot,qt]=(0,r.useState)(),er=window.ENV==="build"?"/react/build":"",Jt=location.host.startsWith("localhost")?R.Z.PROXY_SERVER:R.Z.API_SERVER,Pt=10*(1024*1024),Ut=(0,r.useRef)();ue!=null&&ue.startsWith("/api")&&V!=="txt"&&(ue=R.Z.API_SERVER+ue);const st=je=>je.substring(je.lastIndexOf("/")+1).split(".").pop();G&&te&&(te.filename=G),(0,r.useEffect)(()=>{var je,ge;const Se=(ge=(je=document.cookie)==null?void 0:je.replace(/\s/g,""))==null?void 0:ge.split(";");Se==null||Se.map(Me=>{let Ne=Me.split("=");Ne[0]==="_educoder_session"&&bt(Ne[1])})},[]),(0,r.useEffect)(()=>{V==="office"&&(ue.indexOf("bigfilescdn.")>-1||ue.indexOf("bigfiles1")>-1?qt({url:ue,fileType:st(ue),model:ue.indexOf("model=edit")?"edit":"view"}):yt())},[V,ue]);const yt=()=>Y(void 0,null,function*(){console.log("data:",ue);let je=ue;ue.startsWith("http")||(je=location.origin+je);let ge=new URL(je).pathname.split("/").pop();const Se=yield(0,b.gJ)({attachment_id:ge});Se.url=Jt+Se.url,qt(Se)}),ht=()=>{if(ue.startsWith("http")||ue.startsWith("blob:")){Je();return}(0,_.Nd)(G||"educoder",decodeURIComponent(ue))},Je=()=>{Re&&(0,L.fc)({id:Re==null?void 0:Re.id,watch_type:1,course_id:Re==null?void 0:Re.course_id}),(0,_.Nd)(G||"educoder",decodeURIComponent(ue))};return console.log(ue,"data"),T.createElement("div",{style:X({},J||{}),className:`${F&&i.bgBlack} ${V?i.wrp:"hide"}`},le&&T.createElement("div",{className:i.close,ref:Ut},!!_e&&T.createElement(y.Z,{title:"\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8",getPopupContainer:()=>Ut.current},T.createElement("span",{onClick:()=>{z(),_e()}},T.createElement("i",{className:"icon-yulanpizhu"}))),!se&&T.createElement(y.Z,{title:"\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6",getPopupContainer:()=>Ut.current},T.createElement("span",{onClick:Je},T.createElement("i",{className:"icon-quxiaozhiding"}))),T.createElement(y.Z,{title:"\u5173\u95ED",getPopupContainer:()=>Ut.current},T.createElement("span",{className:"",onClick:z},T.createElement("i",{className:"icon-guanbi1"})))),T.createElement("div",{className:`${i[q]} ${q} ${i.monaco} ${V==="txt"?"show":"hide"}`},V==="txt"&&T.createElement(T.Fragment,null,T.createElement(p.ZP,X({},te)))),V==="audio"&&T.createElement("audio",{src:(ue==null?void 0:ue.indexOf("http"))>-1||ue!=null&&ue.startsWith("/api")?ue:`data:image/png;base64,${ue}`,autoPlay:!0}),V==="video"&&T.createElement(T.Fragment,null,(ue==null?void 0:ue.indexOf("http"))>-1||ue!=null&&ue.startsWith("/api")?T.createElement("video",{controls:!0,src:`${ue}`,autoPlay:!0}):T.createElement("video",{controls:!0,src:`data:video/mp4;base64,${ue}`,autoPlay:!0})),V==="office"&&Ot&&T.createElement("iframe",{src:`${er}/office.html?key=${Ot.key}&url=${btoa(Ot.url)}&callbackUrl=${Jt+(Ot.callbackUrl||"")}&fileType=${Ot.fileType}&title=${Ot.title||""}&model=${ie}&officeServer=${R.Z.ONLYOFFICE}&disabledDownload=${!!se}`}),V==="html"&&T.createElement("iframe",{src:ue+"&disposition=inline"}),V==="pdf"&&T.createElement("iframe",{src:`${er}/js/pdfview/index.html?filename=${G||"educoder.pdf"}&url=${encodeURIComponent(ue)}&disabledDownload=${!!se}`}),V==="image"&&T.createElement("img",{src:(ue==null?void 0:ue.indexOf("http"))>-1||ue!=null&&ue.startsWith("/api")?ue:`data:image/png;base64,${ue}`}),(V==="other"||V==="download")&&T.createElement(T.Fragment,null,Pe?T.createElement(S.Z,{customText:"\u5F53\u524D\u6587\u4EF6\u4E0D\u652F\u6301\u9884\u89C8\uFF0C\u53EF\u70B9\u51FB\u4E0B\u8F7D\u67E5\u770B",ButtonTwo:T.createElement(l.ZP,{icon:T.createElement("i",{className:"iconfont icon-xiazai4 font14"}),type:"primary",size:"middle",onClick:ht,disabled:se},"\u4E0B\u8F7D")}):T.createElement(l.ZP,{type:"primary",size:"middle",onClick:ht,disabled:se},T.createElement(x,null),"\u70B9\u51FB\u4E0B\u8F7D")))}},91842:function(d,g,e){"use strict";e.d(g,{z:function(){return X},Z:function(){return Y}});var r=e(59301),i=e(8944),l=e(81428),c=e(64018),f=e(79710),s=e(346),h=e(51257),u=e(15342),a=e(1012),x=e(75617),p=e(59301),_=({html:oe})=>{const ie=(0,r.useRef)(null),ue=(0,r.useRef)(null),K=`.markdown-body p {
margin: 0 0 16px 0 !important;
line-height: 28px;
white-space: pre-wrap;
}
ol,
ul,
li {
list-style-type: none
}
ol,
ul,
dl {
margin-bottom: 0px;
}
.markdown-body {
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
color: #333;
overflow: hidden;
font-family: "Microsoft YaHei", Helvetica, "Meiryo UI", "Malgun Gothic", "Segoe UI", "Trebuchet MS", "Monaco", monospace, Tahoma, STXihei, "\u534E\u6587\u7EC6\u9ED1", STHeiti, "Helvetica Neue", "Droid Sans", "wenquanyi micro hei", FreeSans, Arimo, Arial, SimSun, "\u5B8B\u4F53", Heiti, "\u9ED1\u4F53", sans-serif;
word-break: break-word;
font-size: 16px;
line-height: 1.6;
white-space: normal;
word-wrap: break-word;
position: relative;
}
.markdown-body ul>li {
list-style-type: disc;
}
.markdown-body ol>li {
list-style-type: decimal;
}
.markdown-body a {
background: transparent;
}
.markdown-body a:active,
.markdown-body a:hover {
outline: 0;
}
.markdown-body strong {
font-weight: bold;
}
.markdown-body h1 {
font-size: 2em;
margin: 0.67em 0;
}
.markdown-body img {
border: 0;
}
.markdown-body hr {
-moz-box-sizing: content-box;
box-sizing: content-box;
height: 0;
}
.markdown-body pre {
overflow: auto;
}
.markdown-body code,
.markdown-body kbd,
.markdown-body pre {
font-family: "Meiryo UI", "YaHei Consolas Hybrid", Consolas, "Malgun Gothic", "Segoe UI", "Trebuchet MS", Helvetica, monospace, monospace;
font-size: 1em;
}
.markdown-body input {
color: inherit;
font: inherit;
margin: 0;
}
.markdown-body html input[disabled] {
cursor: default;
}
.markdown-body input {
line-height: normal;
}
.markdown-body input[type="checkbox"] {
-moz-box-sizing: border-box;
box-sizing: border-box;
padding: 0;
}
.markdown-body table {
border-collapse: collapse;
border-spacing: 0;
}
.markdown-body td,
.markdown-body th {
padding: 0;
}
.markdown-body * {
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.markdown-body input {
font: 13px/1.4 Helvetica, arial, freesans, clean, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol";
}
.markdown-body a {
color: #4183c4;
text-decoration: none;
}
.markdown-body a:hover,
.markdown-body a:active {
text-decoration: underline;
}
.markdown-body hr {
height: 0;
margin: 15px 0;
overflow: hidden;
background: transparent;
border: 0;
border-bottom: 1px solid #ddd;
}
.markdown-body hr:before {
display: table;
content: "";
}
.markdown-body hr:after {
display: table;
clear: both;
content: "";
}
.markdown-body h1,
.markdown-body h2,
.markdown-body h3,
.markdown-body h4,
.markdown-body h5,
.markdown-body h6 {
margin-top: 15px;
margin-bottom: 15px;
line-height: 1.1;
}
.markdown-body h1 {
font-size: 30px;
}
.markdown-body h2 {
font-size: 21px;
}
.markdown-body h3 {
font-size: 16px;
}
.markdown-body h4 {
font-size: 14px;
}
.markdown-body h5 {
font-size: 12px;
}
.markdown-body h6 {
font-size: 11px;
}
.markdown-body blockquote {
margin: 0;
}
.markdown-body ul,
.markdown-body ol {
padding: 0;
margin-top: 0;
margin-bottom: 0;
}
ul.linenums,
ol.linenums {
padding: 16px 0 0 36px !important;
}
.markdown-body ul,
.markdown-body ol {
padding-left: 2em;
}
.markdown-body ol ol,
.markdown-body ul ol {
list-style-type: lower-roman;
}
.markdown-body ul ul ol,
.markdown-body ul ol ol,
.markdown-body ol ul ol,
.markdown-body ol ol ol {
list-style-type: lower-alpha;
}
.markdown-body dd {
margin-left: 0;
}
.markdown-body code {
font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
font-size: 12px;
}
.markdown-body pre {
margin-top: 0;
margin-bottom: 0;
font: 12px Consolas, "Liberation Mono", Menlo, Courier, monospace;
}
.markdown-body .octicon {
font: normal normal 16px octicons-anchor;
line-height: 1;
display: inline-block;
text-decoration: none;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.markdown-body .octicon-link:before {
content: '\f05c';
}
.markdown-body>*:first-child {
margin-top: 0 !important;
}
.markdown-body>*:last-child {
margin-bottom: 0 !important;
}
.markdown-body .anchor {
position: absolute;
top: 0;
left: 0;
display: block;
padding-right: 6px;
padding-left: 30px;
margin-left: -30px;
}
.markdown-body .anchor:focus {
outline: none;
}
.markdown-body h1,
.markdown-body h2,
.markdown-body h3,
.markdown-body h4,
.markdown-body h5,
.markdown-body h6 {
position: relative;
margin-top: 1em;
margin-bottom: 16px;
font-weight: bold;
line-height: 1.4;
}
.markdown-body h1 .octicon-link,
.markdown-body h2 .octicon-link,
.markdown-body h3 .octicon-link,
.markdown-body h4 .octicon-link,
.markdown-body h5 .octicon-link,
.markdown-body h6 .octicon-link {
display: none;
color: #000;
vertical-align: middle;
}
.markdown-body h1:hover .anchor,
.markdown-body h2:hover .anchor,
.markdown-body h3:hover .anchor,
.markdown-body h4:hover .anchor,
.markdown-body h5:hover .anchor,
.markdown-body h6:hover .anchor {
padding-left: 8px;
margin-left: -30px;
text-decoration: none;
}
.markdown-body h1:hover .anchor .octicon-link,
.markdown-body h2:hover .anchor .octicon-link,
.markdown-body h3:hover .anchor .octicon-link,
.markdown-body h4:hover .anchor .octicon-link,
.markdown-body h5:hover .anchor .octicon-link,
.markdown-body h6:hover .anchor .octicon-link {
display: inline-block;
}
.markdown-body h1 {
padding-bottom: 0.3em;
font-size: 2.25em;
line-height: 1.2;
border-bottom: 1px solid #eee;
}
.markdown-body h1 .anchor {
line-height: 1;
}
.markdown-body h2 {
padding-bottom: 0.3em;
font-size: 1.75em;
line-height: 1.225;
border-bottom: 1px solid #eee;
}
.markdown-body h2 .anchor {
line-height: 1;
}
.markdown-body h3 {
font-size: 1.5em;
line-height: 1.43;
}
.markdown-body h3 .anchor {
line-height: 1.2;
}
.markdown-body h4 {
font-size: 1.25em;
}
.markdown-body h4 .anchor {
line-height: 1.2;
}
.markdown-body h5 {
font-size: 1em;
}
.markdown-body h5 .anchor {
line-height: 1.1;
}
.markdown-body h6 {
font-size: 1em;
color: #777;
}
.markdown-body h6 .anchor {
line-height: 1.1;
}
.markdown-body p,
.markdown-body blockquote,
.markdown-body ul,
.markdown-body ol,
.markdown-body dl,
.markdown-body table,
.markdown-body pre {
margin-top: 0;
margin-bottom: 16px;
}
.markdown-body ul ul,
.markdown-body ul ol,
.markdown-body ol ol,
.markdown-body ol ul {
margin-top: 0;
margin-bottom: 0;
}
.markdown-body li>p {
margin-top: 16px;
}
.markdown-body dl {
padding: 0;
}
.markdown-body dl dt {
padding: 0;
margin-top: 16px;
font-size: 1em;
font-style: italic;
font-weight: bold;
}
.markdown-body dl dd {
padding: 0 16px;
margin-bottom: 16px;
}
.markdown-body blockquote {
padding: 0 15px;
color: #777;
border-left: 4px solid #ddd;
}
.markdown-body blockquote> :first-child {
margin-top: 0;
}
.markdown-body blockquote> :last-child {
margin-bottom: 0;
}
.markdown-body table {
display: block;
width: 100%;
overflow: auto;
word-break: normal;
word-break: keep-all;
}
.markdown-body table th {
font-weight: bold;
text-align: revert;
}
.markdown-body table th,
.markdown-body table td {
padding: 6px 13px;
border: 1px solid #ddd;
}
.markdown-body table tr {
background-color: #fff;
border-top: 1px solid #ccc;
}
.markdown-body table tr:nth-child(2n) {
background-color: #f8f8f8;
}
.markdown-body img {
max-width: 100%;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.markdown-body code {
padding: 0;
padding-top: 0.2em;
padding-bottom: 0.2em;
margin: 0;
font-size: 85%;
background-color: rgba(0, 0, 0, 0.04);
border-radius: 3px;
}
.markdown-body code:has(.katex) {
background-color: transparent;
}
.markdown-body code:before,
.markdown-body code:after {
letter-spacing: -0.2em;
content: "\\00a0";
}
.markdown-body pre>code {
padding: 0;
margin: 0;
font-size: 100%;
word-break: normal;
white-space: pre;
background: transparent;
border: 0;
}
.markdown-body .highlight {
margin-bottom: 16px;
}
.markdown-body .highlight pre,
.markdown-body pre {
padding: 16px;
overflow: auto;
font-size: 85%;
line-height: 1.45;
background-color: #f7f7f7;
border-radius: 3px;
}
.markdown-body .highlight pre {
margin-bottom: 0;
word-break: normal;
}
.markdown-body pre {
word-wrap: normal;
}
.markdown-body pre code {
display: inline;
max-width: initial;
padding: 0;
margin: 0;
overflow: initial;
line-height: inherit;
word-wrap: normal;
background-color: transparent;
border: 0;
}
.markdown-body pre code:before,
.markdown-body pre code:after {
content: normal;
}
.markdown-body kbd {
display: inline-block;
padding: 3px 5px;
font-size: 11px;
line-height: 10px;
color: #555;
vertical-align: middle;
background-color: #fcfcfc;
border: solid 1px #ccc;
border-bottom-color: #bbb;
border-radius: 3px;
box-shadow: inset 0 -1px 0 #bbb;
}
.markdown-body .pl-c {
color: #969896;
}
.markdown-body .pl-c1,
.markdown-body .pl-mdh,
.markdown-body .pl-mm,
.markdown-body .pl-mp,
.markdown-body .pl-mr,
.markdown-body .pl-s1 .pl-v,
.markdown-body .pl-s3,
.markdown-body .pl-sc,
.markdown-body .pl-sv {
color: #0086b3;
}
.markdown-body .pl-e,
.markdown-body .pl-en {
color: #795da3;
}
.markdown-body .pl-s1 .pl-s2,
.markdown-body .pl-smi,
.markdown-body .pl-smp,
.markdown-body .pl-stj,
.markdown-body .pl-vo,
.markdown-body .pl-vpf {
color: #333;
}
.markdown-body .pl-ent {
color: #63a35c;
}
.markdown-body .pl-k,
.markdown-body .pl-s,
.markdown-body .pl-st {
color: #a71d5d;
}
.markdown-body .pl-pds,
.markdown-body .pl-s1,
.markdown-body .pl-s1 .pl-pse .pl-s2,
.markdown-body .pl-sr,
.markdown-body .pl-sr .pl-cce,
.markdown-body .pl-sr .pl-sra,
.markdown-body .pl-sr .pl-sre,
.markdown-body .pl-src {
color: #df5000;
}
.markdown-body .pl-mo,
.markdown-body .pl-v {
color: #1d3e81;
}
.markdown-body .pl-id {
color: #b52a1d;
}
.markdown-body .pl-ii {
background-color: #b52a1d;
color: #f8f8f8;
}
.markdown-body .pl-sr .pl-cce {
color: #63a35c;
font-weight: bold;
}
.markdown-body .pl-ml {
color: #693a17;
}
.markdown-body .pl-mh,
.markdown-body .pl-mh .pl-en,
.markdown-body .pl-ms {
color: #1d3e81;
font-weight: bold;
}
.markdown-body .pl-mq {
color: #008080;
}
.markdown-body .pl-mi {
color: #333;
font-style: italic;
}
.markdown-body .pl-mb {
color: #333;
font-weight: bold;
}
.markdown-body .pl-md,
.markdown-body .pl-mdhf {
background-color: #ffecec;
color: #bd2c00;
}
.markdown-body .pl-mdht,
.markdown-body .pl-mi1 {
background-color: #eaffea;
color: #55a532;
}
.markdown-body .pl-mdr {
color: #795da3;
font-weight: bold;
}
.markdown-body kbd {
display: inline-block;
padding: 3px 5px;
font: 11px Consolas, "Liberation Mono", Menlo, Courier, monospace;
line-height: 10px;
color: #555;
vertical-align: middle;
background-color: #fcfcfc;
border: solid 1px #ccc;
border-bottom-color: #bbb;
border-radius: 3px;
box-shadow: inset 0 -1px 0 #bbb;
}
.markdown-body .task-list-item {
list-style-type: none;
}
.markdown-body .task-list-item+.task-list-item {
margin-top: 3px;
}
.markdown-body .task-list-item input {
float: left;
margin: 0.3em 0 0.25em -1.6em;
vertical-align: middle;
}
.markdown-body :checked+.radio-label {
z-index: 1;
position: relative;
border-color: #4183c4;
}
/*! Pretty printing styles. Used with prettify.js. */
/* SPAN elements with the classes below are added by prettyprint. */
.pln {
color: #000
}
/* plain text */
@media screen {
.str {
color: #080
}
/* string content */
.kwd {
color: #008
}
/* a keyword */
.com {
color: #800
}
/* a comment */
.typ {
color: #606
}
/* a type name */
.lit {
color: #066
}
/* a literal value */
/* punctuation, lisp open bracket, lisp close bracket */
.pun,
.opn,
.clo {
color: #660
}
.tag {
color: #008
}
/* a markup tag name */
.atn {
color: #606
}
/* a markup attribute name */
.atv {
color: #080
}
/* a markup attribute value */
.dec,
.var {
color: #606
}
/* a declaration; a variable name */
.fun {
color: red
}
/* a function name */
}
/* Use higher contrast and text-weight for printable form. */
@media print,
projection {
.str {
color: #060
}
.kwd {
color: #006;
font-weight: bold
}
.com {
color: #600;
font-style: italic
}
.typ {
color: #404;
font-weight: bold
}
.lit {
color: #044
}
.pun,
.opn,
.clo {
color: #440
}
.tag {
color: #006;
font-weight: bold
}
.atn {
color: #404
}
.atv {
color: #060
}
}
/* Put a border around prettyprinted code snippets. */
pre.prettyprint {
padding: 2px;
/* border: 1px solid #888 */
}
/* Specify class=linenums on a pre to get line numbering */
ol.linenums {
margin-top: 0;
margin-bottom: 0
}
/* IE indents via margin-left */
li.L0,
li.L1,
li.L2,
li.L3,
li.L5,
li.L6,
li.L7,
li.L8 {
list-style-type: none
}
/* Alternate shading for lines */
li.L1,
li.L3,
li.L5,
li.L7,
li.L9 {
background: #eee
}
.markdown-body p,
.markdown-body blockquote,
.markdown-body ul,
.markdown-body ol,
.markdown-body dl,
.markdown-body table,
.markdown-body pre {
margin-top: 0;
margin-bottom: 16px;
}`;return(0,r.useEffect)(()=>{const V=ie.current.attachShadow({mode:"open"});ue.current=document.createElement("div"),ue.current.className="markdown-body",ue.current.innerHTML=oe,V.appendChild(ue.current);const G=document.createElement("style");return G.textContent=K,V.appendChild(G),()=>{V.innerHTML=""}},[]),(0,r.useEffect)(()=>{ue.current&&(ue.current.innerHTML=oe)},[oe]),p.createElement("div",{ref:ie})},b=Object.defineProperty,S=Object.getOwnPropertySymbols,R=Object.prototype.hasOwnProperty,L=Object.prototype.propertyIsEnumerable,T=(oe,ie,ue)=>ie in oe?b(oe,ie,{enumerable:!0,configurable:!0,writable:!0,value:ue}):oe[ie]=ue,D=(oe,ie)=>{for(var ue in ie||(ie={}))R.call(ie,ue)&&T(oe,ue,ie[ue]);if(S)for(var ue of S(ie))L.call(ie,ue)&&T(oe,ue,ie[ue]);return oe};const M="@\u2581\u2581@",N="@\u2581@",j=/<pre[^>]*>/g;function Q(oe){let ie=document.createElement("div");return ie.innerHTML=oe,ie.childNodes.length===0?"":ie.childNodes[0].nodeValue}const X=(oe,ie)=>{oe=oe||"";const ue=/(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?\)|(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,K=/\"(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,V=/\(\s+(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,G=/(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g;return ie?oe.replaceAll("https://www.educoder.net","").replaceAll("https://www-cdn.educoder.net","").replaceAll("//api/attachments","/api/attachments").replace(ue,(te,q,J,le,z,F,se)=>{const _e=q||le||F,Pe=J||z||se||"?";return s.Z.API_SERVER+"/api/attachments/"+_e+Pe+"&t="+(0,h.Jn)(_e,Date.now())+(te.indexOf(")")>-1?")":"&")}).replaceAll('src="(','src="').replaceAll("src='(",'src="'):(oe=oe.replace(G,(te,q,J,le,z,F,se)=>{const _e=q||le||F,Pe=J||z||se||"?";return s.Z.API_SERVER+"/attachments/download/"+_e+Pe+"&t="+(0,h.Jn)(_e,Date.now())+(te.indexOf(")")>-1?")":"&")}).replace(ue,(te,q,J,le,z,F,se)=>{const _e=q||le||F,Pe=J||z||se||"?";return s.Z.API_SERVER+"/api/attachments/"+_e+Pe+"&t="+(0,h.Jn)(_e,Date.now())+(te.indexOf(")")>-1?")":"&")}).replace(K,(te,q,J,le,z)=>{const F=q||le,se=J||z||"";return'"'+s.Z.API_SERVER+"/api/attachments/"+F+se+F+se+"&t="+(0,h.Jn)(F,Date.now())}).replace(V,(te,q,J,le,z)=>{const F=q||le,se=J||z||"";return"("+s.Z.API_SERVER+"/files/uploads/"+F+se+F+se+"&t="+(0,h.Jn)(F,Date.now())}).replaceAll('src="(','src="').replaceAll("src='(",'src="').replaceAll("http://video.educoder","https://video.educoder").replaceAll("http://www.educoder.net/api","https://data.educoder.net/api").replaceAll("https://www.educoder.net/api","https://data.educoder.net/api").replace(/\r\n/g,`
`),oe)};var Y=({value:oe="",className:ie,showTextOnly:ue,showLines:K,style:V={},stylesPrev:G={},highlightKeywords:te,showProgramFill:q,isProgramFill:J,disabledFill:le=!1,programFillValue:z,onFillChange:F=Pe=>{},onFillBlur:se=()=>{},onFillFocus:_e=()=>{}})=>{let Pe=String(oe);const[Re,Ze]=(0,r.useState)(""),[$e,Ht]=(0,r.useState)("office"),[bt,Ot]=(0,r.useState)([]),qt=(0,r.useRef)("a"+(0,a.Z)()),er={},Jt=(Ne,He,nt)=>{const ct=document.createElement(Ne===N?"input":"textarea");ct.style.width="100%",ct.style.height=Ne===N?"40px":"151px",ct.rows=5,ct.spellcheck=!1,ct.name="edu-program-fill",ct.placeholder="\u8BF7\u8F93\u5165",ct.dataset.id=He;const Vt=Object.keys(er).length;return er[Vt]=ct,`<span class="edu-program-fill-wrap ${Ne===N?"":"show"}" style="width:${Ne===N?"400px":"100%"}" title=${nt||""}><span>${ct.outerHTML}<span class="edu-program-fill-score" style="margin:0 6px"></span></span></span>`};function Xe(Ne){return Ne=Ne.replace(/!\[.*?\]\(.*?\)/g,""),Ne=Ne.replace(/\[.*?\]\(.*?\)/g,""),Ne=Ne.replace(new RegExp("<iframe.*?<\\/iframe>","gs"),""),Ne=Ne.replace(/<embed.*?>/g,""),Ne=Ne.replace(/<img.*?>/g,""),Ne=Ne.replace(new RegExp("<video.*?>.*?<\\/video>","gs"),""),Ne=Ne.replace(new RegExp("<audio.*?>.*?<\\/audio>","gs"),""),Ne=Ne.replace(new RegExp("<style.*?>.*?<\\/style>","gs"),""),Ne=Ne.replace(new RegExp("<script.*?>.*?<\\/script>","gs"),""),Ne}const Pt=Ne=>Ne.replace(/<style.*?>([\s\S]+?)<\/style>/gim,function(He,nt){let ct=nt.replace(/(\n|\r)/g,"").split("}"),Vt=[];return ct.map(Wt=>{Wt!=""&&Vt.push(`.${qt.current} ${Wt}`)}),`<style>${Vt.join("}")}</style>`}),Ut=(0,r.useMemo)(()=>{try{const ct=/\(\s+\/api\/attachments\/|\(\/api\/attachments\//g,Vt=/\"\/api\/attachments\/|\"\/attachments\/download\//g,Wt=/\(\s+\/files\/uploads\/|\"\/files\/uploads\//g,Ie=/\(\/attachments\/download\//g;Pe=Pe.replace(Ie,"("+s.Z.API_SERVER+"/attachments/download/").replace(ct,"("+s.Z.API_SERVER+"/api/attachments/").replace(Vt,'"'+s.Z.API_SERVER+"/api/attachments/").replace(Wt,'"'+s.Z.API_SERVER+"/files/uploads/").replaceAll("http://video.educoder","https://video.educoder").replaceAll("http://www.educoder.net/api","https://data.educoder.net/api").replaceAll("https://www.educoder.net/api","https://data.educoder.net/api").replace(/\r\n/g,`
`)}catch(ct){}if(q){let ct=-1;return Pe=Pe.replaceAll("<","&lt;").replaceAll(">","&gt;").replace(/(@▁▁@|@▁@)/g,function(Vt,Wt,Ie){var qe;return++ct,Jt(Vt,ct,(qe=z==null?void 0:z[ct])==null?void 0:qe.value.replaceAll("<","&lt;").replaceAll(">","&gt;"))}),`<pre style="background:#fff;padding:4px">${Pt(Pe||"")}</pre>`}let Ne=Pt(Pe);Ne=(0,l.ZP)(Ne);const He=(0,l.ez)();Pe.match(/\[TOC\]/)&&(Ne=Ne.replace("<p>[TOC]</p>",(0,l.Qv)()),(0,l.Iy)()),Ne=Ne.replace(/(__special_katext_id_\d+__)/g,(ct,Vt)=>{const{type:Wt,expression:Ie}=He[Vt];return(0,u.renderToString)(Q(Ie)||"",{displayMode:Wt==="block",throwOnError:!1,output:"html"})}),Ne=Ne.replace(/▁/g,"\u2581\u2581\u2581\u2581\u2581"),(0,l.AL)();const nt=document.createElement("div");if(nt.innerHTML=Ne,ue)return nt.innerText;if(te){const ct=te.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return Je(nt,ct),nt.innerHTML}return setTimeout(()=>Se(),500),nt.innerHTML},[Pe,te]);(0,r.useEffect)(()=>{je.current&&je.current.querySelectorAll(["input","textarea"]).forEach(He=>{He.oninput=st,He.onblur=yt,He.onfocus=ht})},[bt]),(0,r.useEffect)(()=>{var Ne,He,nt,ct,Vt;if(z!=null&&z.length)try{const Wt=je.current.querySelectorAll(".edu-program-fill-score"),Ie=je.current.querySelectorAll('[name="edu-program-fill"]');for(const[qe,Gt]of Ie.entries())Gt.value=((Ne=z==null?void 0:z[qe])==null?void 0:Ne.value)||"",((He=z==null?void 0:z[qe])==null?void 0:He.type)==="warning"?Gt.className="program-fill-warning":((nt=z==null?void 0:z[qe])==null?void 0:nt.type)==="success"?Gt.className="program-fill-success":Gt.className="";for(const[qe,Gt]of Wt.entries())Gt.innerHTML=(ct=z==null?void 0:z[qe])!=null&&ct.score?`${(Vt=z==null?void 0:z[qe])==null?void 0:Vt.score}\u5206`:"";Ot(z)}catch(Wt){console.log(Wt,"error")}},[z]);const st=Ne=>{bt[Ne.target.dataset.id]=bt[Ne.target.dataset.id]||{},bt[Ne.target.dataset.id].value=Ne.target.value,Ot([...bt]),F(bt,Ne.target.dataset.id)},yt=Ne=>{bt[Ne.target.dataset.id]=bt[Ne.target.dataset.id]||{},bt[Ne.target.dataset.id].value=Ne.target.value,Ot([...bt]),se(bt,Ne.target.dataset.id)},ht=Ne=>{bt[Ne.target.dataset.id]=bt[Ne.target.dataset.id]||{},bt[Ne.target.dataset.id].value=Ne.target.value,Ot([...bt]),_e(bt,Ne.target.dataset.id)};function Je(Ne,He){return Ne.childNodes.forEach(nt=>{var ct;if(nt.childNodes.length>0)Je(nt,He);else if(nt.nodeName!=="IMG")if(nt.innerHTML)nt.innerHTML=(ct=nt.innerHTML)==null?void 0:ct.replace(new RegExp(He,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>');else{const Vt=document.createElement("span");Vt.innerHTML=nt.textContent.replace(new RegExp(He,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>'),nt.replaceWith(Vt)}})}const je=(0,r.useRef)();l.jb.WebkitLineClamp=K,K&&(V=D(D({},V),l.jb));function ge(Ne){let He=Ne.target;if(He.tagName.toUpperCase()==="A"){let nt=He.getAttribute("href");if(nt.indexOf("office")>-1)Ne.preventDefault(),Ze(nt),Ht("office");else if(nt.indexOf("application/pdf")>-1)Ne.preventDefault(),Ze(nt),Ht("pdf");else if(nt.indexOf("text/html")>-1)Ne.preventDefault(),Ze(nt),Ht("html");else if(nt.startsWith("#")){Ne.preventDefault();let ct=document.getElementById(nt.replace("#",""));ct&&ct.scrollIntoView(!0)}}}const Se=()=>{var Ne;const He=(Ne=je.current)==null?void 0:Ne.querySelectorAll("video");He==null||He.forEach(nt=>{if(nt.oncontextmenu=()=>!1,nt.src.indexOf(".m3u8")>-1&&!nt.canPlayType("application/vnd.apple.mpegurl")){if(f.ZP.isSupported()){var ct=new f.ZP;ct.loadSource(nt.src),ct.attachMedia(nt)}}})};(0,r.useEffect)(()=>{if(je.current&&Ut&&Ut.match(j)&&window.PR.prettyPrint(),je.current)return je.current.addEventListener("click",ge),()=>{var Ne;(Ne=je.current)==null||Ne.removeEventListener("click",ge),(0,l.AL)(),(0,l.Iy)()}},[Ut,je.current,ge]),(0,r.useEffect)(()=>{var Ne;const He=nt=>{nt.preventDefault(),nt.clipboardData.setData("text",window.getSelection().toString())};return(Ne=je.current)==null||Ne.addEventListener("copy",He),()=>{var nt;(nt=je.current)==null||nt.removeEventListener("copy",He)}},[je.current]);const Me=Ne=>/<style[\s\S]*?>/i.test(Ne||"");return r.createElement(r.Fragment,null,ue&&r.createElement("div",{ref:je},Ut),!ue&&!Me(Ut)&&r.createElement("div",{ref:je,style:D({},V),className:`${ie||""} ${le?"disabled-fill":""} markdown-body ${qt.current}`,dangerouslySetInnerHTML:{__html:Ut}}),!ue&&Me(Ut)&&r.createElement(_,{html:Ut}),r.createElement(x.Z,{close:!0,data:Re,type:Re!=null&&Re.length?$e:"",style:D({},G),onClose:()=>Ze("")}))}},75975:function(d,g,e){"use strict";e.d(g,{SV:function(){return je},ZP:function(){return Je}});var r=e(59301),i=e(76374);const l={keywords:["print","auto","break","case","char","const","continue","default","do","double","else","enum","extern","float","for","goto","if","int","long","register","return","short","signed","sizeof","static","struct","switch","typedef","union","unsigned","void","volatile","while"]},c={quickKey:[{label:"main",content:["public static void main(String[] args) {"," $0","}"].join(`
`)},{label:"System.out.println",content:["System.out.println($0)"].join(`
`)},{label:"System.out.print",content:["System.out.print($0)"].join(`
`)}],keywords:["abstract","continue","for","new","switch","assert","default","goto","package","synchronized","boolean","do","if","private","this","break","double","implements","protected","throw","byte","else","import","public","throws","case","enum","instanceof","return","transient","catch","extends","int","short","try","char","final","interface","static","void","class","finally","long","strictfp","volatile","const","float","native","super","while","true","false"]},f={keywords:["abstract","amp","array","auto","bool","break","case","catch","char","class","const","constexpr","const_cast","continue","cpu","decltype","default","delegate","delete","do","double","dynamic_cast","each","else","enum","event","explicit","export","extern","false","final","finally","float","friend","gcnew","generic","goto","in","initonly","inline","int","interface","interior_ptr","internal","literal","long","mutable","namespace","new","noexcept","nullptr","__nullptr","operator","override","partial","pascal","pin_ptr","private","property","protected","public","ref","register","reinterpret_cast","restrict","return","safe_cast","sealed","short","signed","sizeof","static","static_assert","static_cast","struct","switch","template","this","thread_local","throw","tile_static","true","try","typedef","typeid","typename","union","unsigned","using","virtual","void","volatile","wchar_t","where","while","_asm","_based","_cdecl","_declspec","_fastcall","_if_exists","_if_not_exists","_inline","_multiple_inheritance","_pascal","_single_inheritance","_stdcall","_virtual_inheritance","_w64","__abstract","__alignof","__asm","__assume","__based","__box","__builtin_alignof","__cdecl","__clrcall","__declspec","__delegate","__event","__except","__fastcall","__finally","__forceinline","__gc","__hook","__identifier","__if_exists","__if_not_exists","__inline","__int128","__int16","__int32","__int64","__int8","__interface","__leave","__m128","__m128d","__m128i","__m256","__m256d","__m256i","__m64","__multiple_inheritance","__newslot","__nogc","__noop","__nounwind","__novtordisp","__pascal","__pin","__pragma","__property","__ptr32","__ptr64","__raise","__restrict","__resume","__sealed","__single_inheritance","__stdcall","__super","__thiscall","__try","__try_cast","__typeof","__unaligned","__unhook","__uuidof","__value","__virtual_inheritance","__w64","__wchar_t"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],quickKey:[{label:"ifelse",content:["if (${1:condition}) {"," $0","} else {"," ","}"].join(`
`)},{label:"include",content:"include<$0>"},{label:"printf",content:"printf($0)"},{label:"system",content:'system("$0")'},{label:"main",content:["int main () {"," $0","}"].join(`
`)},{label:"if",content:["if () {"," $0","}"].join(`
`)},{label:"for",content:["for(int j=0 ; j<10; j++){"," $0","}"].join(`
`)},{label:"trycatch",content:["try{"," $0","}catch(ExceptionName e){","}"].join(`
`)},{label:"using namespace std;",content:["using namespace std;"].join(`
`)},{label:"include <iostream>",content:["#include <iostream>"].join(`
`)},{label:"include <vector>",content:["#include <vector>"].join(`
`)},{label:"include <cstdio>",content:["#include <cstdio>"].join(`
`)},{label:"include <cstring>",content:["#include <cstring>"].join(`
`)},{label:"include <sstream>",content:["#include <sstream>"].join(`
`)},{label:"include <fstream>",content:["#include <fstream>"].join(`
`)},{label:"include <map>",content:["#include <map>"].join(`
`)},{label:"include <string>",content:["#include <string>"].join(`
`)},{label:"include <cmath>",content:["#include <cmath>"].join(`
`)}]},s={keywords:["and","as","assert","break","class","continue","def","del","elif","else","except","exec","finally","for","from","global","if","import","in","is","lambda","None","not","or","pass","raise","return","self","try","while","with","yield","int","float","long","complex","hex","abs","all","any","apply","basestring","bin","bool","buffer","bytearray","callable","chr","classmethod","cmp","coerce","compile","complex","delattr","dict","dir","divmod","enumerate","eval","execfile","file","filter","format","frozenset","getattr","globals","hasattr","hash","help","id","input","intern","isinstance","issubclass","iter","len","locals","list","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","reversed","range","raw_input","reduce","reload","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","unichr","unicode","vars","xrange","zip","True","False","__dict__","__methods__","__members__","__class__","__bases__","__name__","__mro__","__subclasses__","__init__","__import__"],quickKey:[{label:"print",content:["print($0)"].join(`
`)}]},h={keywords:["asInstanceOf","catch","class","classOf","def","do","else","extends","finally","for","foreach","forSome","if","import","isInstanceOf","macro","match","new","object","package","return","throw","trait","try","type","until","val","var","while","with","yield","given","enum","then"],quickKey:[{label:"println",content:["println($0)"].join(`
`)}]};var u=e(53184),a=e.n(u),x=Object.defineProperty,p=Object.defineProperties,y=Object.getOwnPropertyDescriptors,_=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,S=Object.prototype.propertyIsEnumerable,R=(ge,Se,Me)=>Se in ge?x(ge,Se,{enumerable:!0,configurable:!0,writable:!0,value:Me}):ge[Se]=Me,L=(ge,Se)=>{for(var Me in Se||(Se={}))b.call(Se,Me)&&R(ge,Me,Se[Me]);if(_)for(var Me of _(Se))S.call(Se,Me)&&R(ge,Me,Se[Me]);return ge},T=(ge,Se)=>p(ge,y(Se)),D=(ge,Se,Me)=>new Promise((Ne,He)=>{var nt=Wt=>{try{Vt(Me.next(Wt))}catch(Ie){He(Ie)}},ct=Wt=>{try{Vt(Me.throw(Wt))}catch(Ie){He(Ie)}},Vt=Wt=>Wt.done?Ne(Wt.value):Promise.resolve(Wt.value).then(nt,ct);Vt((Me=Me.apply(ge,Se)).next())});const M={languages:["c","abap","apex","azcli","bat","cameligo","clojure","coffee","cpp","csharp","csp","css","dockerfile","fsharp","go","graphql","handlebars","html","ini","java","javascript","json","kotlin","less","lua","markdown","mips","msdax","mysql","objective-c","pascal","pascaligo","perl","pgsql","php","postiats","powerquery","powershell","pug","python","r","razor","redis","redshift","restructuredtext","ruby","rust","sb","scheme","scss","shell","solidity","sophia","sql","st","swift","tcl","twig","vb","xml","yaml'"],tables:{users:["name","id","email","phone","password"],roles:["id","name","order","created_at","updated_at","deleted_at"]}},N=(ge,Se)=>Se.map(Me=>({label:Me,kind:ge.languages.CompletionItemKind.Keyword,insertText:Me})),j=ge=>Object.keys(M.tables).map(Se=>({label:Se,kind:ge.languages.CompletionItemKind.Variable,insertText:Se})),Q=(ge,Se)=>{const Me=M.tables[ge];return Me?Me.map(Ne=>({label:Ne,kind:Se.languages.CompletionItemKind.Field,insertText:Ne})):[]};function X(ge,Se,Me,Ne,He){let nt=Se.getWordUntilPosition(Me),ct={startLineNumber:Me.lineNumber,endLineNumber:Me.lineNumber,startColumn:nt.startColumn,endColumn:nt.endColumn},Vt=Ne.map(Wt=>({label:Wt,kind:ge.languages.CompletionItemKind.Keyword,insertText:Wt,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ct}));return He.map(Wt=>{Vt.push(T(L({},Wt),{range:ct}))}),Vt}var Y=ge=>{M.languages.map(He=>(ge.languages.registerDocumentFormattingEditProvider(He,{provideDocumentFormattingEdits(nt,ct,Vt){return D(this,null,function*(){const Wt=a()(nt.getValue(),{indent_size:"2",indent_char:" ",max_preserve_newlines:"2",preserve_newlines:!0,keep_array_indentation:!0,break_chained_methods:!1,indent_scripts:"normal",brace_style:"collapse",space_before_conditional:!0,unescape_strings:!1,jslint_happy:!1,end_with_newline:!0,wrap_line_length:"0",indent_inner_html:!1,comma_first:!1,e4x:!1,indent_empty_lines:!1});return[{range:nt.getFullModelRange(),text:Wt}]})}}),He));const Se=f.quickKey.map(He=>({label:He.label,kind:ge.languages.CompletionItemKind.Method,insertText:He.content,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet})),Me=s.quickKey.map(He=>({label:He.label,kind:ge.languages.CompletionItemKind.Method,insertText:He.content,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet})),Ne=c.quickKey.map(He=>({label:He.label,kind:ge.languages.CompletionItemKind.Method,insertText:He.content,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet}));ge.languages.registerCompletionItemProvider("cpp",{provideCompletionItems:function(He,nt){var ct=He.getWordUntilPosition(nt),Vt={startLineNumber:nt.lineNumber,endLineNumber:nt.lineNumber,startColumn:ct.startColumn,endColumn:ct.endColumn},Wt=He.getLineContent(nt.lineNumber).substring(ct.startColumn-2,ct.endColumn);return{suggestions:[...f.keywords.map(Ie=>({label:Ie,kind:ge.languages.CompletionItemKind.Function,documentation:Ie,insertText:Ie,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Vt})),...f.quickKey.map(Ie=>({label:Ie.label,kind:ge.languages.CompletionItemKind.Function,documentation:Ie.content,insertText:Wt.startsWith("#")?Ie.content.replace(/#/,""):Ie.content,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Vt}))]}}}),ge.languages.registerCompletionItemProvider("c",{provideCompletionItems:function(He,nt){var ct=He.getWordUntilPosition(nt),Vt={startLineNumber:nt.lineNumber,endLineNumber:nt.lineNumber,startColumn:ct.startColumn,endColumn:ct.endColumn};return{suggestions:[...l.keywords.map(Wt=>({label:Wt,kind:ge.languages.CompletionItemKind.Function,documentation:Wt,insertText:Wt,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Vt}))]}}}),ge.languages.registerCompletionItemProvider("java",{provideCompletionItems:function(He,nt){var ct=He.getWordUntilPosition(nt),Vt={startLineNumber:nt.lineNumber,endLineNumber:nt.lineNumber,startColumn:ct.startColumn,endColumn:ct.endColumn},Wt=He.getLineContent(nt.lineNumber).substring(ct.startColumn-2,ct.endColumn);return{suggestions:[...c.keywords.map(Ie=>({label:Ie,kind:ge.languages.CompletionItemKind.Function,documentation:Ie,insertText:Ie,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Vt})),...c.quickKey.map(Ie=>({label:Ie.label,kind:ge.languages.CompletionItemKind.Function,documentation:Ie.content,insertText:Wt.startsWith("#")?Ie.content.replace(/#/,""):Ie.content,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Vt}))]}}}),ge.languages.registerCompletionItemProvider("scala",{provideCompletionItems:function(He,nt){var ct=He.getWordUntilPosition(nt),Vt={startLineNumber:nt.lineNumber,endLineNumber:nt.lineNumber,startColumn:ct.startColumn,endColumn:ct.endColumn},Wt=He.getLineContent(nt.lineNumber).substring(ct.startColumn-2,ct.endColumn);return{suggestions:[...h.keywords.map(Ie=>({label:Ie,kind:ge.languages.CompletionItemKind.Function,documentation:Ie,insertText:Ie,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Vt})),...h.quickKey.map(Ie=>({label:Ie.label,kind:ge.languages.CompletionItemKind.Function,documentation:Ie.content,insertText:Wt.startsWith("#")?Ie.content.replace(/#/,""):Ie.content,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Vt}))]}}}),ge.languages.registerCompletionItemProvider("python",{provideCompletionItems:function(He,nt){var ct=He.getWordUntilPosition(nt),Vt={startLineNumber:nt.lineNumber,endLineNumber:nt.lineNumber,startColumn:ct.startColumn,endColumn:ct.endColumn},Wt=He.getLineContent(nt.lineNumber).substring(ct.startColumn-2,ct.endColumn);return{suggestions:[...s.keywords.map(Ie=>({label:Ie,kind:ge.languages.CompletionItemKind.Function,documentation:Ie,insertText:Ie,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Vt})),...s.quickKey.map(Ie=>({label:Ie.label,kind:ge.languages.CompletionItemKind.Function,documentation:Ie.content,insertText:Wt.startsWith("#")?Ie.content.replace(/#/,""):Ie.content,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Vt}))]}}})};const oe="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002";var ie=Object.defineProperty,ue=(ge,Se,Me)=>Se in ge?ie(ge,Se,{enumerable:!0,configurable:!0,writable:!0,value:Me}):ge[Se]=Me,K=(ge,Se,Me)=>ue(ge,typeof Se!="symbol"?Se+"":Se,Me);const V=class Rd{constructor(Se,Me,Ne){this.placeholder=Se,this.editor=Me,this.monaco=Ne,Me.onDidChangeModelContent(()=>this.onDidChangeModelContent()),this.onDidChangeModelContent()}onDidChangeModelContent(){this.editor.getValue()===""?this.editor.addContentWidget(this):this.editor.removeContentWidget(this)}getId(){return Rd.ID}getDomNode(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.style.width="max-content",this.domNode.textContent=this.placeholder,this.domNode.style.fontStyle="initial",this.domNode.style.color="#D7D7D7",this.domNode.style.pointerEvents="none",this.editor.applyFontInfo(this.domNode)),this.domNode}getPosition(){return{position:{lineNumber:1,column:1},preference:[this.monaco.editor.ContentWidgetPositionPreference.EXACT]}}dispose(){this.editor.removeContentWidget(this)}};K(V,"ID","editor.widget.placeholderHint");var te=V,q=e(96236),J=e(8591),le=e(6848),z=e(89392),F=e(49535),se=e(56102),_e=Object.defineProperty,Pe=Object.defineProperties,Re=Object.getOwnPropertyDescriptors,Ze=Object.getOwnPropertySymbols,$e=Object.prototype.hasOwnProperty,Ht=Object.prototype.propertyIsEnumerable,bt=(ge,Se,Me)=>Se in ge?_e(ge,Se,{enumerable:!0,configurable:!0,writable:!0,value:Me}):ge[Se]=Me,Ot=(ge,Se)=>{for(var Me in Se||(Se={}))$e.call(Se,Me)&&bt(ge,Me,Se[Me]);if(Ze)for(var Me of Ze(Se))Ht.call(Se,Me)&&bt(ge,Me,Se[Me]);return ge},qt=(ge,Se)=>Pe(ge,Re(Se)),er=(ge,Se)=>{var Me={};for(var Ne in ge)$e.call(ge,Ne)&&Se.indexOf(Ne)<0&&(Me[Ne]=ge[Ne]);if(ge!=null&&Ze)for(var Ne of Ze(ge))Se.indexOf(Ne)<0&&Ht.call(ge,Ne)&&(Me[Ne]=ge[Ne]);return Me},Jt=(ge,Se,Me)=>new Promise((Ne,He)=>{var nt=Wt=>{try{Vt(Me.next(Wt))}catch(Ie){He(Ie)}},ct=Wt=>{try{Vt(Me.throw(Wt))}catch(Ie){He(Ie)}},Vt=Wt=>Wt.done?Ne(Wt.value):Promise.resolve(Wt.value).then(nt,ct);Vt((Me=Me.apply(ge,Se)).next())});function Xe(ge){return/^\d+$/.test(ge)?`${ge}px`:ge}function Pt(){}let Ut=!1;const st={"Python3.6":"python","Python2.7":"python",Dynamips:"cpp",Java:"java",Web:"php",Html:"html",Hive:"sql",Hadoop:"java",SDL:"cpp",PHP:"php",Matlab:"python",Git:"python",Python:"python","C/C++":"cpp","C++":"cpp",C:"cpp",Ruby:"ruby",Shell:"shell",JavaScript:"javascript",Perl6:"perl",Kotlin:"kotlin",Elixir:"elixir",Android:"java",JavaWeb:"java",Go:"go",Spark:"sql",MachineLearning:"python",Verilog:"xml","Verilog/VNC":"xml",Docker:"dockerfile","C#":"csharp",SQLite3:"sql",Oracle:"sql",Vhdl:"vhdl",R:"r",Swift:"swift",SQLServer:"mysql",MySQL:"mysql",Mongo:"sql",PostgreSql:"pgsql",Hbase:"powershell",Sqoop:"sql",Nasm:"cpp",Kafka:"java",Flink:"java",Sml:"javascript",OpenGL:"cpp",Perl5:"perl",Orange:"python",Scala:"scale",solidity:"sol"};function yt(ge=[]){let Se=ge;if(Array.isArray(ge)){for(let Me=0;Me<ge.length;Me++){let Ne=st[ge[Me]];if(Ne)return Ne}return Se[0]}return st[Se]||Se}let ht=null;var Je=ge=>{var Se=ge,{width:Me="100%",height:Ne="100%",value:He,language:nt="javascript",style:ct={},options:Vt={},overrideServices:Wt={},theme:Ie="vs-dark",onEditBlur:qe,isCopy:Gt=!1,onSave:kt,autoHeight:Zt=!1,forbidCopy:Nt=!1,onChange:Ct=Pt,editorDidMount:Yt=Pt,onFocus:We=Pt,onBreakPoint:fe=Pt,breakPointValue:pe=[],filename:Dt="educoder.txt",errorLine:Ce,errorContent:dt="",highlightLine:zt,openBreakPoint:Tt=!1,placeholder:Oe=""}=Se,St=er(Se,["width","height","value","language","style","options","overrideServices","theme","onEditBlur","isCopy","onSave","autoHeight","forbidCopy","onChange","editorDidMount","onFocus","onBreakPoint","breakPointValue","filename","errorLine","errorContent","highlightLine","openBreakPoint","placeholder"]);const be=(0,r.useRef)(),Ke=(0,r.useRef)({}),vt=(0,r.useRef)(),Rt=(0,r.useRef)(),Fe=(0,r.useRef)([]),kr=(0,r.useRef)(!1),At=(0,r.useRef)(),Kr=(0,r.useRef)(),qr=(0,r.useRef)(!1),[Ar,Br]=(0,r.useState)(!1);function _r(){let mr;return be.current&&(mr=new i.Z(tn=>{for(let hn of tn)(hn.target.offsetHeight>0||hn.target.offsetWidth>0)&&Ke.current.instance.layout()}),mr.observe(be.current)),mr}function Ur(){J.ZP.warning({content:decodeURIComponent(oe),key:"monaco-editor-tip"})}const sn=()=>{let mr=Ke.current.instance;if(He!=null&&mr&&Ar){const tn=mr.getModel();tn&&He!==tn.getValue()&&(Ut=!0,tn.setValue(He),mr.layout(),Ut=!1)}};(0,r.useEffect)(()=>{const mr=F.Z.subscribe("formatDocument",tn=>{var hn;let Fn=Ke.current.instance;(hn=Fn==null?void 0:Fn.getAction)==null||hn.call(Fn,"editor.action.formatDocument").run()});return window.updateMonacoValue=tn=>{Ct(tn)},mr},[]),(0,r.useEffect)(()=>{var mr;let tn=Ke.current.instance;Rt.current&&clearTimeout(Rt.current),Rt.current=setTimeout(()=>{sn()},500),He&&(He!=null&&He.length)&&((mr=tn==null?void 0:tn.updateOptions)==null||mr.call(tn,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(He.split(/\r\n|\r|\n/g).length))+3,5)}))},[He,Ar,Ke.current]),(0,r.useEffect)(()=>{if(Ce&&Ke.current&&Ke.current.instance){let tn=Ke.current.instance;tn.changeViewZones(function(hn){var Fn=document.createElement("div");Fn.style.padding="10px 20px",Fn.style.width="calc(100% - 20px)",Fn.className="my-error-line-wrp",Fn.innerHTML=dt,hn.addZone({afterLineNumber:Ce||11,heightInLines:3,domNode:Fn})});var mr={domNode:null,getId:function(){return"my.overlay.widget"},getDomNode:function(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.innerHTML="",this.domNode.style.width="100%",this.domNode.style.padding="20px 100px",this.domNode.style.right="0px",this.domNode.style.top="50px",this.domNode.style.position="relative",this.domNode.style.color="#333"),this.domNode},getPosition:function(){return null}};tn.addOverlayWidget(mr),tn.revealPositionInCenter({lineNumber:20,column:1})}},[Ce,Ke.current,Ar]);const cn=(mr="",tn)=>{if(!mr||mr.trim()==="")return!0;const Fn=Ke.current.instance.getModel().getLineTokens(tn);let ti=!1;for(let jn=0;jn<2;jn++)Fn.getStandardTokenType(jn)===1&&(ti=!0);return ti};(0,r.useEffect)(()=>{var mr;const tn=(mr=Ke.current)==null?void 0:mr.instance;if(tn&&Ar&&Nt){const hn=tn.onDidBlurEditorWidget(()=>{qr.current=!1}),Fn=tn.onDidFocusEditorText(()=>{qr.current=!0});return()=>{hn.dispose(),Fn.dispose()}}},[Ke.current,Ar,Nt]),(0,r.useEffect)(()=>{var mr;if((mr=Ke.current)!=null&&mr.instance&&Ar&&Tt){let tn=Ke.current.instance,hn=tn.getModel();if(!hn)return;(()=>{var wt;let ut=[],Jn=[];const Ai=hn.getAllDecorations();for(let Gi of Ai)Gi.options.className==="highlighted-line"&&(ut.push((wt=Gi==null?void 0:Gi.range)==null?void 0:wt.startLineNumber),Jn.push(Gi==null?void 0:Gi.id));if(zt===ut[0])return;hn.deltaDecorations(Jn,[]);const ei=hn.getLineCount();zt&&zt<=ei&&(tn.deltaDecorations([],[{range:new ht.Range(zt,1,zt,hn.getLineMaxColumn(zt)),options:{isWholeLine:!0,className:"highlighted-line"}}]),tn.revealLineInCenter(zt))})();const ti=(wt=!1)=>{var ut;let Jn=[],Ai=[];const ei=hn.getAllDecorations();for(let Gi of ei)Gi.options.linesDecorationsClassName==="breakpoints-select"&&(Jn.push((ut=Gi==null?void 0:Gi.range)==null?void 0:ut.startLineNumber),Ai.push(Gi==null?void 0:Gi.id));if(wt)return{lines:Jn,ids:Ai};fe(Jn)},jn=wt=>Jt(void 0,null,function*(){let ut={range:new ht.Range(wt,1,wt,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield hn.deltaDecorations([],[ut]),ti()}),Zi=wt=>Jt(void 0,null,function*(){let ut=[];const Jn=tn.getLineDecorations(wt);for(let Ai of Jn)Ai.options.linesDecorationsClassName==="breakpoints-select"&&ut.push(Ai.id);yield hn.deltaDecorations(ut,[]),ti()}),xi=wt=>{let ut=tn.getLineDecorations(wt);for(let Jn of ut)if(Jn.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,z.isEqual)(pe,ti(!0).lines)){hn.deltaDecorations(ti(!0).ids,[]);const wt=pe.map(ut=>({range:new ht.Range(ut,1,ut,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));hn.deltaDecorations([],wt)}const Si=tn.onDidChangeModelContent(wt=>{let ut=tn.getPosition();if(ut){let Jn=ut.lineNumber;clearTimeout(Kr.current),Kr.current=setTimeout(()=>{cn(hn.getLineContent(Jn),Jn)?Zi(Jn):xi(Jn)?(Zi(Jn),jn(Jn)):ti()},100)}}),Ei=tn.onMouseDown(wt=>{var ut,Jn,Ai;if(wt.target.detail&&((Ai=(Jn=(ut=wt.target)==null?void 0:ut.element)==null?void 0:Jn.className)!=null&&Ai.includes("line-numbers"))){let ei=wt.target.position.lineNumber;if(cn(hn.getLineContent(ei),ei))return;xi(ei)?Zi(ei):jn(ei)}}),mi=wt=>{let ut={range:new ht.Range(wt,1,wt,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};Fe.current=tn.deltaDecorations(Fe.current,[ut])},Xi=()=>{Fe.current=tn.deltaDecorations(Fe.current,[])},qn=tn.onMouseMove(wt=>{var ut,Jn,Ai;if(Xi(),wt.target.detail&&((Ai=(Jn=(ut=wt.target)==null?void 0:ut.element)==null?void 0:Jn.className)!=null&&Ai.includes("line-numbers"))){let ei=wt.target.position.lineNumber;if(cn(hn.getLineContent(ei),ei))return;mi(ei)}}),Yi=tn.onMouseLeave(()=>{Xi()});return()=>{Si.dispose(),Ei.dispose(),qn.dispose(),Yi.dispose()}}},[Ke.current,Ar,pe,zt,Tt,nt]),(0,r.useEffect)(()=>{var mr;(mr=Ke.current)!=null&&mr.instance&&Tt&&Ke.current.instance.setPosition({lineNumber:0,column:0})},[zt]);function or(){let mr=Ke.current.instance;if(mr){const tn=mr.getSelection(),hn=Ke.current.pastePos||{},Fn=new ht.Range(hn.startLineNumber||tn.endLineNumber,hn.startColumn||tn.endColumn,hn.endLineNumber||tn.endLineNumber,hn.endColumn||tn.endColumn);setTimeout(()=>{mr.executeEdits("",[{range:Fn,text:""}])},300)}}function Lt(mr){(window.navigator.platform.match("Mac")?mr.metaKey:mr.ctrlKey)&&mr.keyCode==83&&(mr.preventDefault(),kt())}const mt=()=>{if(Zt&&Ke.current.instance){const mr=Ke.current.instance.getContentHeight();yn(mr<Ne?Ne:mr)}else yn(Ne)};function gt(mr){var tn=document.createEvent("MouseEvents");tn.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),mr.dispatchEvent(tn)}const $t=mr=>{if(!qr.current)return;const{keyCode:tn,ctrlKey:hn,metaKey:Fn,target:ti,type:jn}=mr;return(jn==="paste"||(tn===67||tn===86)&&(Fn||hn))&&ti.nodeName==="TEXTAREA"&&(Ur(),mr.preventDefault()),!1};function Cr(mr,tn){var hn=window.URL||window.webkitURL||window,Fn=new Blob([tn]),ti=document.createElementNS("http://www.w3.org/1999/xhtml","a");ti.href=hn.createObjectURL(Fn),ti.download=mr,gt(ti)}(0,r.useEffect)(()=>{mt()},[mt]),(0,r.useEffect)(()=>{be.current&&!Ar&&Promise.all([e.e(8909),e.e(6656)]).then(e.bind(e,71448)).then(mr=>{try{ht=mr,Ke.current.instance=ht.editor.create(be.current,{value:He,language:yt(nt),theme:Ie,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0},Wt);const tn=Ke.current.instance;let ti=[...q.BH._menuItems].find(Si=>Si[0]._debugName=="EditorContext")[1],jn=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],Zi=(Si,Ei)=>{var mi,Xi;let qn=Si._first;do Ei.includes((Xi=(mi=qn.element)==null?void 0:mi.command)==null?void 0:Xi.id)&&Si._remove(qn);while(qn=qn.next)};if(Yt(tn,ht),setTimeout(()=>{mt(),Ke.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{Cr(Dt||"educoder.txt",tn.getValue())}})},500),Ke.current.subscription=tn.onDidChangeModelContent(Si=>{kr.current?clearTimeout(At.current):(mt(),Ct(tn.getValue(),Si)),At.current=setTimeout(()=>{kr.current=!1},500)}),window.Monaco||Y(ht,yt(nt)),Nt&&(Zi(ti,jn),be.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",$t),window.removeEventListener("paste",$t),window.addEventListener("keydown",$t),window.addEventListener("paste",$t)),window.Monaco=ht,qe&&tn.onDidBlurEditorWidget(()=>{qe(tn.getValue())}),We&&tn.onDidFocusEditorText(()=>{We(tn.getValue())}),Nt)try{tn.onDidPaste(Si=>{const Ei=tn.getSelection(),mi=Ke.current.pastePos||{},Xi=new ht.Range(mi.startLineNumber||Ei.endLineNumber,mi.startColumn||Ei.endColumn,mi.endLineNumber||Ei.endLineNumber,mi.endColumn||Ei.endColumn);tn.executeEdits("",[{range:Si.range,text:""}])})}catch(Si){}let xi=_r();return Oe&&typeof Oe=="string"&&new te(Oe,tn,ht),Br(!0),()=>{const Si=Ke.current.instance;Si.dispose();const Ei=Si.getModel();Ei&&Ei.dispose(),Ke.current.subscription&&Ke.current.subscription.dispose(),xi.unobserve(be.current)}}catch(tn){}})},[]),(0,r.useEffect)(()=>{if(Ke.current.instance&&Ar)return document.addEventListener("keydown",Lt,!1),()=>{document.removeEventListener("keydown",Lt)}},[kt,Ar]),(0,r.useEffect)(()=>{let mr=Ke.current.instance;if(mr&&Ar){let tn=yt(nt);ht.editor.setModelLanguage(mr.getModel(),tn)}},[nt,Ar]),(0,r.useEffect)(()=>{Ke.current.instance&&Ar&&ht.editor.setTheme(Ie)},[Ie,Ar]),(0,r.useEffect)(()=>{let mr=Ke.current.instance;vt.current=Vt,mr&&Ar&&(mr.updateOptions(Ot({},Vt)),setTimeout(()=>{mr.getModel().updateOptions(Ot({},Vt))},200))},[JSON.stringify(Vt),Ar]),(0,r.useEffect)(()=>{let mr=Ke.current.instance;mr&&Ar&&mr.layout()},[Me,Ne,Ar]);const[gr,ot]=(0,r.useState)(Xe(Me)),[Mr,yn]=(0,r.useState)(Xe(Ne)),Zn=qt(Ot({},ct),{width:gr,height:Mr,position:"relative"});return r.createElement("div",{className:"my-monaco-editor",ref:be,style:Zn},Gt&&r.createElement(se.CopyToClipboard,{text:He,onCopy:()=>J.ZP.success("\u590D\u5236\u6210\u529F")},r.createElement(le.Z,{title:"\u590D\u5236\u4EE3\u7801"},r.createElement("div",{style:{position:"absolute",top:0,right:10,cursor:"pointer",zIndex:10,color:"#165DFF"}},r.createElement("i",{className:"iconfont icon-fuzhi8",style:{fontSize:14}})," \u590D\u5236\u4EE3\u7801"))))};function je({width:ge="100%",height:Se="100%",original:Me,modified:Ne,language:He,options:nt={}}){const ct=(0,r.useRef)(),[Vt,Wt]=(0,r.useState)(null);function Ie(Zt){let Nt;return ct.current&&(Nt=new i.Z(Ct=>{for(let Yt of Ct)(Yt.target.offsetHeight>0||Yt.target.offsetWidth>0)&&Zt.layout()}),Nt.observe(ct.current)),Nt}(0,r.useEffect)(()=>(ct.current&&Promise.all([e.e(8909),e.e(9404)]).then(e.bind(e,2550)).then(Zt=>{ht=Zt;const Nt=ht.editor.createDiffEditor(ct.current,qt(Ot({enableSplitViewResizing:!1,scrollBeyondLastLine:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1,horizontal:"hidden",lineNumbers:"off",wordWrap:"off",ignoreTrimWhitespace:!1,"semanticHighlighting.enabled":!0,followsCaret:!0,ignoreCharChanges:!0,minimap:{enabled:!1},readOnly:!0},nt),{wordWrap:!0}));Wt(Nt);let Ct=Ie(Nt);return()=>{Nt.dispose();const Yt=Nt.getModel();Yt&&Yt.dispose(),Ct.unobserve(ct.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,r.useEffect)(()=>{Vt&&Vt.setModel({original:ht.editor.createModel(Me,He),modified:ht.editor.createModel(Ne,He)})},[Me,Ne,He,Vt]);const qe=Xe(ge),Gt=Xe(Se),kt={width:qe,height:Gt};return r.createElement("div",{className:"my-diff-editor",ref:ct,style:kt})}},32026:function(d,g,e){"use strict";e.d(g,{k:function(){return b}});var r=e(1103),i=e(8591),l=e(96999),c=Object.defineProperty,f=Object.defineProperties,s=Object.getOwnPropertyDescriptors,h=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,x=(R,L,T)=>L in R?c(R,L,{enumerable:!0,configurable:!0,writable:!0,value:T}):R[L]=T,p=(R,L)=>{for(var T in L||(L={}))u.call(L,T)&&x(R,T,L[T]);if(h)for(var T of h(L))a.call(L,T)&&x(R,T,L[T]);return R},y=(R,L)=>f(R,s(L)),_=(R,L)=>{var T={};for(var D in R)u.call(R,D)&&L.indexOf(D)<0&&(T[D]=R[D]);if(R!=null&&h)for(var D of h(R))L.indexOf(D)<0&&a.call(R,D)&&(T[D]=R[D]);return T};const b=["\u8BA4\u8BC1\u4E13\u4E1A","\u8BA4\u8BC1\u5C4A\u522B"],S={namespace:"engineeringEvaluteList",state:{actionTabs:{key:"",params:{}},headerData:{dataSource:{[b[0]]:{width:235,placeholder:`\u8BF7\u9009\u62E9${b[0]}`,loading:"engineeringEvaluteList/getMajorList",dataList:[]},[b[1]]:{width:138,placeholder:`\u8BF7\u9009\u62E9${b[1]}`,loading:"engineeringEvaluteList/getYearList",dataList:[]}},active:{}},tabListData:{total:0,pageNo:1,pageSize:20,dataSource:[]}},effects:{*setActionTabs({payload:R},{call:L,put:T}){yield T({type:"save",payload:{actionTabs:p({},R)}})},*getMajorList({payload:R},{call:L,put:T,select:D}){const{userInfo:M}=yield D(N=>N.user);if(M!=null&&M.school_id){const N=yield L(r.BA,M.school_id);if(N&&N.data){const j=l.U.getItem(M==null?void 0:M.login);yield T({type:"setMajorOrYearDataSource",payload:{key:b[0],value:N.data.map(Q=>({label:Q.name,value:Q.ec_major_school_id})),active:N.data.length>0?j[0]||N.data[0].ec_major_school_id:void 0}})}}},*getYearList({payload:R},{call:L,put:T,select:D}){const M=yield L(r.Nx,R.id),{userInfo:N}=yield D(j=>j.user);if(M&&M.data){const j=l.U.getItem(N==null?void 0:N.login);yield T({type:"setMajorOrYearDataSource",payload:{key:b[1],value:M.data.map(Q=>({label:Q.year,value:Q.ec_year_id})),active:M.data.length>0?R.firstEnter?j[1]:M.data[0].ec_year_id:void 0}})}},*getCourseResults({payload:R={}},{call:L,put:T,select:D}){const{calc:M,page:N,per_page:j}=R,{headerData:Q,tabListData:X}=yield D(ie=>ie.engineeringEvaluteList),{userInfo:Y}=yield D(ie=>ie.user);let oe=Q.active[b[1]];if(oe){let ie={id:oe,page:N||1,per_page:j||X.pageSize};M&&(ie=y(p({},ie),{page:X.pageNo}));const ue=yield L(r._y,ie),K=[Q.active[b[0]],Q.active[b[1]]];l.U.setItem(Y==null?void 0:Y.login,K),ue&&ue.ec_courses&&(yield T({type:"setCourseResults",payload:y(p({},X),{pageNo:ie.page,total:ue.count,pageSize:ie.per_page||X.pageSize,dataSource:ue.ec_courses.map((V,G)=>y(p({},V),{key:ie.page>1?(ie.page-1)*ie.per_page+G+1:G+1}))})}))}else yield T({type:"setCourseResults",payload:y(p({},X),{pageNo:1,total:0,dataSource:[]})})},*exportCourse({payload:R},{call:L,select:T}){const{headerData:D}=yield T(M=>M.engineeringEvaluteList);D.active[b[1]]&&(yield L(r.F,D.active[b[1]]))},*compute({payload:R},{call:L,put:T}){const D=R,{all:M}=D,N=_(D,["all"]),j=yield L(M?r.At:r.PX,N);j&&j.status===0?(i.ZP.success("\u8BA1\u7B97\u5B8C\u6210"),yield T({type:"getCourseResults",payload:{calc:!0}})):i.ZP.error(j.message)}},reducers:{save(R,L){return p(p({},R),L.payload)},setMajorOrYearDataSource(R,{payload:L}){let T=R.headerData.active;return L.active&&(T=y(p({},T),{[L.key]:L.active})),y(p({},R),{headerData:y(p({},R.headerData),{dataSource:y(p({},R.headerData.dataSource),{[L.key]:y(p({},R.headerData.dataSource[L.key]),{dataList:L.value})}),active:T})})},setMajorOrYearActive(R,{payload:L}){return y(p({},R),{headerData:y(p({},R.headerData),{active:y(p({},R.headerData.active),{[L.key]:L.value})})})},setCourseResults(R,{payload:L}){return y(p({},R),{tabListData:p(p({},R.tabListData),L)})}},subscriptions:{setup({dispatch:R,history:L}){return L.listen(({pathname:T})=>{T==="/"&&R({type:"query"})})}}};g.Z=S},55305:function(d,g,e){"use strict";e.d(g,{L:function(){return h},r:function(){return a}});var r=Object.defineProperty,i=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,f=(x,p,y)=>p in x?r(x,p,{enumerable:!0,configurable:!0,writable:!0,value:y}):x[p]=y,s=(x,p)=>{for(var y in p||(p={}))l.call(p,y)&&f(x,y,p[y]);if(i)for(var y of i(p))c.call(p,y)&&f(x,y,p[y]);return x};const h=x=>x==null?void 0:x.map(p=>{const y=(p.sub_disciplines||[]).map(_=>({value:_.id,label:_.name}));return{value:p.id,label:p.name,children:y}}),u={1:"\u4E00",2:"\u4E8C",3:"\u4E09",4:"\u56DB",5:"\u4E94",6:"\u516D",7:"\u4E03",8:"\u516B"},a=x=>{if(!x)return;const{all_questions_count:p,all_score:y,single_questions:_,multiple_questions:b,judgement_questions:S,program_questions:R,completion_questions:L,subjective_questions:T,practical_questions:D,combination_questions:M}=x||{},j=[s({type:"SINGLE",name:"\u5355\u9009\u9898"},_),s({type:"MULTIPLE",name:"\u591A\u9009\u9898"},b),s({type:"COMPLETION",name:"\u586B\u7A7A\u9898"},L),s({type:"JUDGMENT",name:"\u5224\u65AD\u9898"},S),s({type:"SUBJECTIVE",name:"\u7B80\u7B54\u9898"},T),s({type:"PROGRAM",name:"\u7F16\u7A0B\u9898"},R),s({type:"PRACTICAL",name:"\u5B9E\u8BAD\u9898"},D),s({type:"COMBINATION",name:"\u7EC4\u5408\u9898"},M)].filter(Q=>Q.questions_count>0).map((Q,X)=>s(s({},Q),{number:u[X+1]}));return{all_questions_count:p,all_score:y,questionList:j}}},96999:function(d,g,e){"use strict";e.d(g,{U:function(){return c},t:function(){return l}});var r=e(43418),i=e(48790);const l=(f,s="")=>{r.default.confirm({centered:!0,width:520,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:s,onOk:f})},c={setItem:(f,s)=>{var h;const u=f+"-engineering"+((h=(0,i.eY)())==null?void 0:h.school_id),a=JSON.stringify(s);localStorage.setItem(u,a)},getItem:f=>{var s;const h=f+"-engineering"+((s=(0,i.eY)())==null?void 0:s.school_id),u=localStorage.getItem(h);return u!==null&&u!=="[object Object]"?JSON.parse(u):[]},clear:f=>{var s;const h=f+"-engineering"+((s=(0,i.eY)())==null?void 0:s.school_id);localStorage.removeItem(h)}}},98750:function(d,g,e){"use strict";e.d(g,{$f:function(){return p},Cq:function(){return b},GY:function(){return s},I8:function(){return R},Ow:function(){return y},P:function(){return x},Ql:function(){return h},RA:function(){return D},Zm:function(){return u},bz:function(){return f},eF:function(){return S},gQ:function(){return L},ht:function(){return _},kN:function(){return M},n1:function(){return l},nI:function(){return N},o9:function(){return c},sG:function(){return a},wi:function(){return T}});var r=e(38986),i=(j,Q,X)=>new Promise((Y,oe)=>{var ie=V=>{try{K(X.next(V))}catch(G){oe(G)}},ue=V=>{try{K(X.throw(V))}catch(G){oe(G)}},K=V=>V.done?Y(V.value):Promise.resolve(V.value).then(ie,ue);K((X=X.apply(j,Q)).next())});function l(j){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${j.login}/avatar.json`,{method:"put",body:j})})}function c(j){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${j.login}.json`,{method:"get"})})}function f(j){return i(this,null,function*(){return(0,r.ZP)("/api/add_school_applies.json",{method:"post",body:j})})}function s(j){return i(this,null,function*(){return(0,r.ZP)("/api/schools/limit_list.json",{method:"get",params:j})})}function h(j){return i(this,null,function*(){return(0,r.ZP)(`/api/schools/${j.id}/departments/for_option.json`,{method:"get",params:j})})}function u(j){return i(this,null,function*(){return(0,r.ZP)("/api/add_department_applies.json",{method:"post",body:j})})}function a(j){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${j.id}.json`,{method:"put",body:j})})}function x(j){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${j.login}/authentication_apply.json`,{method:"delete"})})}function p(j){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${j.login}/professional_auth_apply.json`,{method:"delete"})})}function y(j){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${j.id}/professional_auth_apply.json`,{method:"post",body:j})})}function _(j){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${j.id}/authentication_apply.json`,{method:"post",body:j})})}function b(j){return i(this,null,function*(){return(0,r.ZP)("/api/accounts/get_verification_code.json",{method:"get",params:j})})}function S(j){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${j.login}/phone_bind.json`,{method:"post",body:j})})}function R(j){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${j.login}/email_bind.json`,{method:"post",body:j})})}function L(j){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${j.login}/password.json`,{method:"put",body:j})})}function T(j){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${j.basicInfoId}/open_users/${j.id}.json`,{method:"delete"})})}function D(j){return i(this,null,function*(){return(0,r.ZP)(`/api/users/${j.login}/cancel_authentication.json`,{method:"post",body:j})})}function M(j){return i(this,null,function*(){return(0,r.ZP)(`/api/users/${j.login}/cancel_professional_certification.json`,{method:"post",body:j})})}function N(j,Q){return i(this,null,function*(){return(0,r.ZP)(`/api/users/${j.login}/videos/${j.id}/create_subject_video.json`,{method:"post",body:Q})})}},97402:function(d,g,e){"use strict";e.d(g,{An:function(){return y},TO:function(){return a},my:function(){return p},nZ:function(){return x}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,s=(_,b,S)=>b in _?i(_,b,{enumerable:!0,configurable:!0,writable:!0,value:S}):_[b]=S,h=(_,b)=>{for(var S in b||(b={}))c.call(b,S)&&s(_,S,b[S]);if(l)for(var S of l(b))f.call(b,S)&&s(_,S,b[S]);return _},u=(_,b,S)=>new Promise((R,L)=>{var T=N=>{try{M(S.next(N))}catch(j){L(j)}},D=N=>{try{M(S.throw(N))}catch(j){L(j)}},M=N=>N.done?R(N.value):Promise.resolve(N.value).then(T,D);M((S=S.apply(_,b)).next())});function a(_){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${_.coursesId}/inform_up.json`,{method:"post",body:h({},_)})})}function x(_){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${_.coursesId}/inform_down.json`,{method:"post",body:h({},_)})})}function p(_){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${_.coursesId}/update_informs.json`,{method:"post",body:h({},_)})})}function y(_){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${_.coursesId}/new_informs.json`,{method:"post",body:h({},_)})})}},44203:function(d,g,e){"use strict";e.d(g,{$n:function(){return S},H:function(){return b},Nm:function(){return y},Ot:function(){return _},SV:function(){return a},fc:function(){return L},mn:function(){return R},tO:function(){return p},zI:function(){return x}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,s=(T,D,M)=>D in T?i(T,D,{enumerable:!0,configurable:!0,writable:!0,value:M}):T[D]=M,h=(T,D)=>{for(var M in D||(D={}))c.call(D,M)&&s(T,M,D[M]);if(l)for(var M of l(D))f.call(D,M)&&s(T,M,D[M]);return T},u=(T,D,M)=>new Promise((N,j)=>{var Q=oe=>{try{Y(M.next(oe))}catch(ie){j(ie)}},X=oe=>{try{Y(M.throw(oe))}catch(ie){j(ie)}},Y=oe=>oe.done?N(oe.value):Promise.resolve(oe.value).then(Q,X);Y((M=M.apply(T,D)).next())});function a(T){return u(this,null,function*(){return(0,r.ZP)("/api/files/public_with_course_and_project",{method:"get",params:h({},T)})})}function x(T){return u(this,null,function*(){return(0,r.ZP)("/api/files/mine_with_course_and_project.json",{method:"get",params:h({},T)})})}function p(T){return u(this,null,function*(){return(0,r.ZP)("/api/files/import.json",{method:"post",body:h({},T)})})}function y(T){return u(this,null,function*(){return(0,r.ZP)(`/api/files/${T.id}.json`,{method:"get",params:h({},T)})})}function _(T){return u(this,null,function*(){const{id:D}=T;return delete T.id,(0,r.ZP)(`/api/files/${D}.json`,{method:"put",body:h({},T)})})}function b(T){return u(this,null,function*(){return(0,r.ZP)(`/api/files/${T.id}/update_visits.json`,{method:"post"})})}function S(T){return u(this,null,function*(){return(0,r.ZP)(`/api/files/${T==null?void 0:T.id}/watch_list.json`,{method:"get",params:h({},T)})})}function R(T){return u(this,null,function*(){return(0,r.ZP)("/api/files/get_batches_publish_info.json",{method:"get",params:h({},T)})})}function L(T){return u(this,null,function*(){return(0,r.ZP)(`/api/files/${T==null?void 0:T.id}/add_file_quantity.json`,{method:"post",body:h({},T)})})}},32967:function(d,g,e){"use strict";e.d(g,{CJ:function(){return y},Mf:function(){return L},NA:function(){return S},PC:function(){return _},PP:function(){return b},YQ:function(){return R},cc:function(){return p},dI:function(){return x},yq:function(){return a}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,s=(T,D,M)=>D in T?i(T,D,{enumerable:!0,configurable:!0,writable:!0,value:M}):T[D]=M,h=(T,D)=>{for(var M in D||(D={}))c.call(D,M)&&s(T,M,D[M]);if(l)for(var M of l(D))f.call(D,M)&&s(T,M,D[M]);return T},u=(T,D,M)=>new Promise((N,j)=>{var Q=oe=>{try{Y(M.next(oe))}catch(ie){j(ie)}},X=oe=>{try{Y(M.throw(oe))}catch(ie){j(ie)}},Y=oe=>oe.done?N(oe.value):Promise.resolve(oe.value).then(Q,X);Y((M=M.apply(T,D)).next())});function a(T){return u(this,null,function*(){return(0,r.ZP)("/api/courses/board_list.json",{method:"get",params:h({},T)})})}function x(T){return u(this,null,function*(){return(0,r.ZP)(`/api/messages/${T.boardId}.json`,{method:"get",params:h({},T)})})}function p(T){return u(this,null,function*(){return(0,r.ZP)(`/api/messages/${T.id}/sticky_top.json`,{method:"put",body:{course_id:T.coursesId}})})}function y(T){return u(this,null,function*(){return(0,r.ZP)(`/api/messages/${T.id}/sticky_top.json`,{method:"put",body:{course_id:T.coursesId}})})}function _(T){return u(this,null,function*(){return(0,r.ZP)(`/api/messages/${T.boardId}/reply_list.json`,{method:"get",params:h({},T)})})}function b(T){return u(this,null,function*(){return(0,r.ZP)(`/api/messages/${T.boardId}/reply.json`,{method:"post",body:h({},T)})})}function S(T){return u(this,null,function*(){return(0,r.ZP)("/api/praise_tread/like.json",{method:"post",body:h({},T)})})}function R(T){return u(this,null,function*(){return(0,r.ZP)("/api/praise_tread/unlike.json",{method:"delete",body:h({},T)})})}function L(T){return u(this,null,function*(){return(0,r.ZP)("/api/commons/delete.json",{method:"delete",body:h({},T)})})}},82264:function(d,g,e){"use strict";e.d(g,{$T:function(){return gr},A:function(){return Nt},Ab:function(){return xi},Al:function(){return J},BQ:function(){return ht},BR:function(){return q},Bn:function(){return Me},Cq:function(){return $t},DJ:function(){return $e},Dd:function(){return _},Ds:function(){return je},EO:function(){return Ct},Ed:function(){return Ht},F9:function(){return nt},FU:function(){return Vt},Fg:function(){return b},GV:function(){return Jt},Gk:function(){return K},Gm:function(){return Ut},Gz:function(){return S},Hl:function(){return R},Hn:function(){return X},ID:function(){return sn},IU:function(){return Ce},J2:function(){return qt},K$:function(){return ge},KP:function(){return bt},KT:function(){return Re},L$:function(){return Gt},LH:function(){return D},Lk:function(){return Yi},Ls:function(){return se},MA:function(){return Zn},Mc:function(){return qn},N7:function(){return te},Nd:function(){return ue},Nl:function(){return Dt},Ns:function(){return cn},O3:function(){return Ze},Pj:function(){return Pt},QX:function(){return pe},QZ:function(){return Pe},R2:function(){return G},Rk:function(){return Cr},S9:function(){return kt},U8:function(){return Lt},UD:function(){return Ar},U_:function(){return oe},Uy:function(){return _r},V8:function(){return Q},Vw:function(){return F},W0:function(){return zt},W7:function(){return Je},WK:function(){return mr},Wr:function(){return Zi},YR:function(){return We},Z0:function(){return vt},ZL:function(){return St},ZT:function(){return Si},ZX:function(){return hn},Z_:function(){return M},_0:function(){return N},_9:function(){return st},_B:function(){return mi},aP:function(){return Tt},aQ:function(){return yt},aZ:function(){return Ie},al:function(){return Zt},bm:function(){return qr},bz:function(){return Ne},c_:function(){return gt},ds:function(){return Kr},fN:function(){return tn},fr:function(){return Yt},g4:function(){return er},gq:function(){return L},hf:function(){return z},i:function(){return Rt},i6:function(){return Mr},i7:function(){return Ur},iE:function(){return a},ih:function(){return Fn},kW:function(){return Ot},km:function(){return or},nP:function(){return p},nQ:function(){return He},nX:function(){return kr},oM:function(){return Se},oR:function(){return Xi},o_:function(){return Oe},pf:function(){return At},pr:function(){return Ei},pv:function(){return ot},qB:function(){return le},r2:function(){return j},rS:function(){return T},s:function(){return ti},sb:function(){return qe},sm:function(){return y},t1:function(){return Xe},tB:function(){return jn},tR:function(){return ct},td:function(){return dt},uh:function(){return Wt},up:function(){return mt},v2:function(){return x},vV:function(){return be},w9:function(){return ie},wR:function(){return yn},yS:function(){return fe},yV:function(){return V},yd:function(){return Fe},zg:function(){return _e}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,s=(wt,ut,Jn)=>ut in wt?i(wt,ut,{enumerable:!0,configurable:!0,writable:!0,value:Jn}):wt[ut]=Jn,h=(wt,ut)=>{for(var Jn in ut||(ut={}))c.call(ut,Jn)&&s(wt,Jn,ut[Jn]);if(l)for(var Jn of l(ut))f.call(ut,Jn)&&s(wt,Jn,ut[Jn]);return wt},u=(wt,ut,Jn)=>new Promise((Ai,ei)=>{var Gi=En=>{try{si(Jn.next(En))}catch(tr){ei(tr)}},vi=En=>{try{si(Jn.throw(En))}catch(tr){ei(tr)}},si=En=>En.done?Ai(En.value):Promise.resolve(En.value).then(Gi,vi);si((Jn=Jn.apply(wt,ut)).next())});const a=wt=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${wt==null?void 0:wt.course_id}/course_videos/configs.json`,{method:"put",body:wt})}),x=wt=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${wt==null?void 0:wt.course_id}/course_videos/list_for_config.json`,{method:"Get",params:wt})}),p=wt=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${wt==null?void 0:wt.course_id}/homework_commons/max_late_time.json`,{method:"Get",params:wt})}),y=wt=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${wt==null?void 0:wt.course_id}/homework_commons/batch_late_setting`,{method:"post",body:wt})}),_=wt=>u(void 0,null,function*(){return(0,r.ZP)("/api/course_statistics/course_use_infos.json",{method:"Get",params:wt})}),b=wt=>u(void 0,null,function*(){return(0,r.ZP)("/api/course_statistics/rank_list.json",{method:"Get",params:wt})}),S=wt=>u(void 0,null,function*(){return(0,r.ZP)("/api/course_statistics/statistics_body.json",{method:"Get",params:wt})}),R=wt=>u(void 0,null,function*(){return(0,r.ZP)("/api/course_statistics/statistics_header.json",{method:"Get",params:wt})});function L(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.course_id}/set_assistant_permissions.json`,{method:"post",body:h({},wt.permissions)})})}function T(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.course_id}/assistant_permissions.json`,{method:"Get",params:h({},wt)})})}function D(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.id}/ai_status_query.json`,{method:"Get",params:wt})})}function M(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.coursesId}/update_course_portrait_data.json`,{method:"post",body:h({},wt)})})}function N(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.id}/get_user_portrait_config.json`,{method:"Get",params:wt})})}function j(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.coursesId}/update_user_portrait_config.json?id=${wt.coursesId}`,{method:"put",body:h({},wt)})})}function Q(wt){return u(this,null,function*(){return(0,r.ZP)("/api/courses.json",{method:"Get",params:h({},wt)})})}function X(wt){return u(this,null,function*(){return(0,r.ZP)("/api/intelligent_recommendations/according_course_recommend_shixuns.json",{method:"Get",params:h({},wt)})})}function Y(wt){return u(this,null,function*(){return Fetch("/api/disciplines.json",{method:"Get",params:h({},wt)})})}function oe(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.id}/top_banner.json`,{method:"get",params:h({},wt)})})}function ie(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.id||wt.coursesId}/left_banner.json`,{method:"get",params:h({},wt)})})}function ue(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.id}/homework_commons.json`,{method:"get",params:h({},wt)})})}function K(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.id}/homework_commons/list.json`,{method:"get",params:h({},wt)})})}function V(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.id}/graduation_topics.json`,{method:"get",params:h({},wt)})})}function G(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.id}/graduation_tasks.json`,{method:"get",params:h({},wt)})})}function te(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/v2/courses/${wt.id}/exercises.json`,{method:"get",params:h({},wt)})})}function q(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.id}/polls.json`,{method:"get",params:h({},wt)})})}function J(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.id}/homework_commons.json`,{method:"get",params:h({},wt)})})}function le(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.id}/course_groups.json`,{method:"get",params:h({},wt)})})}function z(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.id}/all_course_groups.json`,{method:"get",params:h({},wt)})})}function F(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.id}/attendances.json`,{method:"get",params:h({},wt)})})}function se(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/weapps/courses/${wt.coursesId}/attendances.json`,{method:"get",params:h({},wt)})})}function _e(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/attendances/${wt.id}/edit.json`,{method:"get",params:h({},wt)})})}function Pe(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.id}/informs.json`,{method:"get",params:h({},wt)})})}function Re(wt){return u(this,null,function*(){return(0,r.ZP)("/api/files.json",{method:"get",params:h({},wt)})})}function Ze(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.id}/course_videos.json`,{method:"get",params:h({},wt)})})}function $e(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.id}/live_links.json`,{method:"get",params:h({},wt)})})}function Ht(wt){return u(this,null,function*(){return(0,r.ZP)("/api/courses/mine.json",{method:"get",params:h({},wt)})})}function bt(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/boards/${wt.categoryId}/messages.json`,{method:"get",params:h({},wt)})})}function Ot(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.id}/course_groups.json`,{method:"get",params:h({},wt)})})}function qt(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.id}/students.json`,{method:"get",params:h({},wt)})})}function er(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.coursesId}/statistics.json`,{method:"get",params:h({},wt)})})}function Jt(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.coursesId}/work_score.json`,{method:"get",params:h({},wt)})})}function Xe(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.coursesId}/act_score.json`,{method:"get",params:h({},wt)})})}function Pt(wt){return u(this,null,function*(){return(0,r.ZP)("/api/shixun_lists.json",{method:"get",params:h({},wt)})})}function Ut(wt){return u(this,null,function*(){return(0,r.ZP)("/api/item_banks.json",{method:"get",params:h({},wt)})})}function st(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt==null?void 0:wt.course_id}/homework_commons/impersonal_list.json`,{method:"get",params:h({},wt)})})}function yt(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.coursesId}/homework_commons/create_shixun_homework.json`,{method:"post",body:h({},wt)})})}function ht(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt==null?void 0:wt.course_id}/homework_commons/create_collaborators.json`,{method:"post",body:h({},wt)})})}function Je(wt){return u(this,null,function*(){return(0,r.ZP)("/api/subject_lists.json",{method:"get",params:h({},wt)})})}function je(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.coursesId}/homework_commons/create_subject_homework.json`,{method:"post",body:h({},wt)})})}function ge(wt){return u(this,null,function*(){return(0,r.ZP)("/api/schools/school_list.json",{method:"get",params:wt})})}function Se(wt){return u(this,null,function*(){return(0,r.ZP)("/api/courses/search_course_list.json",{method:"post",body:wt})})}function Me(wt){return u(this,null,function*(){return(0,r.ZP)("/api/courses.json",{method:"post",body:wt})})}function Ne(wt){return u(this,null,function*(){return(0,r.ZP)("/api/add_school_applies.json",{method:"post",body:wt})})}function He(wt){return u(this,null,function*(){return(0,r.ZP)("/api/users/member_search.json",{method:"get",params:wt})})}function nt(wt){return u(this,null,function*(){return(0,r.ZP)("/api/student_groups.json",{method:"get",params:h({page:1,limit:1e3},wt)})})}function ct(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.identifier}/add_student_groups.json`,{method:"post",body:wt})})}function Vt(wt){return u(this,null,function*(){return(0,r.ZP)("/api/courses/search_all.json",{method:"get",params:wt})})}function Wt(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.coursesId}/add_teacher.json`,{method:"post",body:wt})})}function Ie(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.coursesId}/add_students_by_search.json`,{method:"post",body:wt})})}function qe(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.coursesId}/set_public_or_private.json`,{method:"post",body:wt})})}function Gt(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.coursesId}/set_invite_code_halt.json`,{method:"post",body:wt})})}function kt(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.coursesId}/duplicate_course.json`,{method:"post",body:wt})})}function Zt(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.coursesId}/update_end_date.json`,{method:"put",body:wt})})}function Nt(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.coursesId}.json`,{method:"delete",body:wt})})}function Ct(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.coursesId}/settings.json`,{method:"get",params:h({},wt)})})}function Yt(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.coursesId}.json`,{method:"put",body:wt})})}function We(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.coursesId}/export_couser_info.json`,{method:"get",params:{export:!0}})})}function fe(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.coursesId}/export_member_act_score_async.json`,{method:"get",params:h({export:!0},wt)})})}function pe(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.coursesId}/export_total_homework_commons_score.json`,{method:"get",params:h({export:!0},wt)})})}function Dt(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.coursesId}/export_total_exercises_and_other_score.json`,{method:"get",params:h({export:!0},wt)})})}function Ce(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.coursesId}/export_star_user.json`,{method:"get",params:h({export:!0},wt)})})}function dt(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.coursesId}/export_mooc_records.json`,{method:"get",params:h({export:!0},wt)})})}function zt(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.coursesId}/export_total_course_score.json`,{method:"get",params:h({export:!0},wt)})})}function Tt(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${wt.categoryId}/export_scores.json`,{method:"get",params:h({export:!0},wt)})})}function Oe(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${wt.categoryId}/export_shixun_report.json`,{method:"get",params:h({export:!0},wt)})})}function St(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${wt.categoryId}/export_exercise_users.json`,{method:"get",params:h({export:!0},wt)})})}function be(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${wt.categoryId}/export_exercise_word.json`,{method:"get",params:h({export:!0},wt)})})}function Ke(wt){return u(this,null,function*(){return Fetch(`/api/homework_commons/${wt.categoryId}/works_list.zip`,{method:"get",params:h({export:!0},wt)})})}function vt(wt){return u(this,null,function*(){return(0,r.ZP)(`/api//course_second_categories/${wt.id}.json`,{method:"delete",params:{export:!0}})})}function Rt(wt){return u(this,null,function*(){return(0,r.ZP)(`/api//boards/${wt.id}.json`,{method:"delete",params:{export:!0}})})}function Fe(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/course_modules/${wt.id}/sticky_module.json`,{method:"get"})})}function kr(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/course_modules/${wt.id}/hidden_module.json`,{method:"get"})})}function At(wt){return u(this,null,function*(){return(0,r.ZP)("/api/courses/new.json",{method:"get",params:wt})})}function Kr(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/weapps/attendances/${wt.id}.json`,{method:"get",params:wt})})}function qr(wt){return u(this,null,function*(){return(0,r.ZP)("/api/weapps/course_member_attendances.json",{method:"get",params:wt})})}function Ar(wt){return u(this,null,function*(){return(0,r.ZP)("/api/weapps/course_member_attendances/update_status.json",{method:"post",body:wt})})}function Br(wt){return u(this,null,function*(){return Fetch(`/api/polls/${wt.categoryId}/commit_result.xlsx`,{method:"get",params:h({export:!0},wt)})})}function _r(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${wt.categoryId}/export_scores.json`,{method:"get",params:h({export:!0},wt)})})}function Ur(wt){return(0,r.ZP)(`/api/polls/${wt.categoryId}/start_answer.json`,{method:"get",params:h({},wt)})}function sn(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${wt.questionId}/poll_votes.json`,{method:"post",body:wt})})}function cn(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${wt.categoryId}/commit_poll.json`,{method:"post",body:wt})})}function or(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.courseId}/tasks_list.json`,{method:"get",params:wt})})}function Lt(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.courseId}/update_task_position.json`,{method:"post",body:wt})})}function mt(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.coursesId}/calculate_all_shixun_scores.json`,{method:"get",params:wt})})}function gt(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.coursesId}/all_course_groups.json`,{method:"get",params:wt})})}function $t(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.coursesId}/polls/all_course_groups.json`,{method:"get",params:wt})})}function Cr(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.coursesId}/students.json`,{method:"get",params:wt})})}function gr(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/course_groups/${wt.categoryId}/rename_group.json`,{method:"POST",body:wt})})}function ot(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/course_groups/${wt.categoryId}.json`,{method:"delete",body:wt})})}function Mr(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.coursesId}/join_course_group.json`,{method:"POST",body:wt})})}function yn(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.coursesId}/transfer_to_course_group.json`,{method:"post",body:wt})})}function Zn(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.coursesId}/delete_from_course.json`,{method:"post",body:wt})})}function mr(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.coursesId}/join_course_group.json`,{method:"post",body:wt})})}function tn(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.coursesId}/exit_course.json`,{method:"post"})})}function hn(wt){return u(this,null,function*(){return(0,r.ZP)("/api/weapps/course_member_attendances.json",{method:"post",body:h({},wt)})})}function Fn(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.coursesId}/mooc_users/${wt.user_id}/edit.json`,{method:"get",params:wt})})}function ti(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.coursesId}/mooc_users.json`,{method:"post",body:wt})})}function jn(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.coursesId}/mooc_users/${wt.user_id}.json`,{method:"put",body:wt})})}function Zi(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/course_second_categories/${wt.id}/move_category.json`,{method:"post",body:wt})})}function xi(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/boards/${wt.id}/move_category.json`,{method:"post",body:wt})})}function Si(wt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt.id}/courseware.json`,{method:"get",params:wt})})}function Ei(wt,ut){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${wt}/mark_wrong_topic.json`,{method:"get",params:ut})})}function mi(wt,ut){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${wt}/cancel_wrong_topic.json`,{method:"get",params:ut})})}function Xi(wt,ut){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${wt}/allow_end_group.json`,{method:"get",params:ut})})}function qn(wt,ut){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${wt}/homework_commons/end_with_homework_list_position.json`,{method:"post",body:ut})})}function Yi(wt,ut){return u(this,null,function*(){return(0,r.ZP)(`/api/tasks/${wt}/get_content_for_commit_id.json`,{method:"get",params:ut})})}},73801:function(d,g,e){"use strict";e.d(g,{$M:function(){return er},$P:function(){return Vt},Ax:function(){return x},Dh:function(){return R},FU:function(){return Y},GQ:function(){return q},IN:function(){return je},JM:function(){return Ne},Ju:function(){return qt},Mn:function(){return Je},Ni:function(){return se},Pg:function(){return L},Pt:function(){return S},Qp:function(){return G},R9:function(){return oe},Ux:function(){return te},Vy:function(){return Ze},XJ:function(){return F},XR:function(){return bt},Ze:function(){return N},aq:function(){return M},bQ:function(){return _},bu:function(){return p},cC:function(){return a},jS:function(){return ue},lm:function(){return ge},ml:function(){return le},o3:function(){return Xe},pA:function(){return Ut},pS:function(){return Me},pU:function(){return z},ps:function(){return X},q0:function(){return yt},qN:function(){return ht},qS:function(){return b},qj:function(){return Ht},qt:function(){return nt},rV:function(){return T},rZ:function(){return He},rk:function(){return Pe},rm:function(){return V},sK:function(){return K},sL:function(){return st},su:function(){return Se},tC:function(){return Re},tO:function(){return $e},u9:function(){return J},uZ:function(){return _e},vV:function(){return Q},xx:function(){return Wt},y8:function(){return Ot},yS:function(){return j},zF:function(){return y},zc:function(){return ie},zj:function(){return D},zz:function(){return ct}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,s=(Ie,qe,Gt)=>qe in Ie?i(Ie,qe,{enumerable:!0,configurable:!0,writable:!0,value:Gt}):Ie[qe]=Gt,h=(Ie,qe)=>{for(var Gt in qe||(qe={}))c.call(qe,Gt)&&s(Ie,Gt,qe[Gt]);if(l)for(var Gt of l(qe))f.call(qe,Gt)&&s(Ie,Gt,qe[Gt]);return Ie},u=(Ie,qe,Gt)=>new Promise((kt,Zt)=>{var Nt=We=>{try{Yt(Gt.next(We))}catch(fe){Zt(fe)}},Ct=We=>{try{Yt(Gt.throw(We))}catch(fe){Zt(fe)}},Yt=We=>We.done?kt(We.value):Promise.resolve(We.value).then(Nt,Ct);Yt((Gt=Gt.apply(Ie,qe)).next())});const a=Ie=>(0,r.ZP)(`/api/competitions/${Ie.identifier}/create_guide.json`,{method:"post",body:Ie}),x=Ie=>(0,r.ZP)(`/api/competitions/${Ie.identifier}/guides.json`,{method:"get",params:Ie}),p=Ie=>(0,r.ZP)(`/api/competitions/${Ie.identifier}/competition_teams/${Ie.competition_team_id}/edit_info.json`,{method:"put",body:Ie});function y(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ie.identifier}/update_result.json`,{method:"post",body:Ie})})}function _(Ie){return u(this,null,function*(){return(0,r.ZP)("/api/competitions.json",{method:"Get",params:h({},Ie)})})}function b(Ie){return u(this,null,function*(){return(0,r.ZP)("/api/courses/apply_to_join_course.json",{method:"post",body:Ie})})}function S(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ie.identifier}/competition_teams.json`,{method:"post"})})}function R(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ie.identifier}/competition_staff.json`,{method:"get"})})}function L(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ie.identifier}/common_header.json`,{method:"get"})})}function T(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/${Ie.url}`,{method:"get",params:h({},Ie)})})}function D(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ie.identifier}/update_md_content.json`,{method:"post",body:Ie})})}function M(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ie.identifier}/competition_teams.json`,{method:"get",params:Ie})})}function N(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ie.identifier}/competition_teams/${Ie.Teannameid}/edit.json`,{method:"get",params:Ie})})}function j(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ie.identifier}/competition_teams/${Ie.Teannameid}.json`,{method:"put",body:Ie})})}function Q(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ie.identifier}/competition_teams/${Ie.id}/leave.json`,{method:"post",body:Ie})})}function X(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ie.identifier}/competition_teams/${Ie.id}.json`,{method:"delete"})})}function Y(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ie.identifier}/competition_teams.json`,{method:"post",body:Ie})})}function oe(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ie.id}/add_managers.json`,{method:"post",body:Ie})})}function ie(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ie.identifier}/competition_teams/join.json`,{method:"post",body:Ie})})}function ue(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ie.identifier}/teachers.json`,{method:"get",params:Ie})})}function K(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ie.identifier}/students.json`,{method:"get",params:Ie})})}function V(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ie.identifier}/competition_teams/${Ie.teamid}/crud_team_members.json`,{method:"post",body:Ie})})}function G(Ie){return u(this,null,function*(){return(0,r.ZP)("/api/users/competition_reward.json",{method:"post",body:Ie})})}function te(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ie.identifier}/chart_rules.json`,{method:"get"})})}function q(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ie.identifier}/charts.json`,{method:"get",params:Ie})})}function J(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ie.identifier}/results.json`,{method:"get",params:Ie})})}function le(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ie.identifier}/md_tab_rules.json`,{method:"get",params:Ie})})}function z(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ie.identifier}/prize.json`,{method:"get",params:Ie})})}function F(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${Ie.id}.json`,{method:"get",params:Ie})})}function se(Ie){return u(this,null,function*(){return(0,r.ZP)("/api/accounts/get_verification_code.json",{method:"get",params:Ie})})}function _e(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${Ie.userid}/phone_bind.json`,{method:"post",body:Ie})})}function Pe(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${Ie.userid}/email_bind.json`,{method:"post",body:Ie})})}function Re(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${Ie.userid}/professional_auth_apply.json`,{method:"delete"})})}function Ze(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${Ie.userid}/authentication_apply.json`,{method:"delete"})})}function $e(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ie.identifier}/prize_leader_account.json`,{method:"put",body:Ie})})}function Ht(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ie.identifier}/competition_teams/${Ie.teamid}/shixun_detail.json`,{method:"get"})})}function bt(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ie.identifier}/competition_teams/${Ie.teamid}/course_detail.json`,{method:"get"})})}function Ot(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/attachments/${Ie.id}.json`,{method:"delete"})})}function qt(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ie.id}/get_certificate_info.json`,{method:"get",params:Ie})})}function er(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ie.id}/basic_setting.json`,{method:"post",body:Ie})})}function Jt(){return u(this,null,function*(){return Fetch("/api/competitions/download_template",{method:"get",responseType:"arraybuffer"})})}function Xe(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ie}/common_header.json`,{method:"get"})})}function Pt(Ie){return u(this,null,function*(){return Fetch("/api/competitions.json",{method:"post",body:Ie})})}function Ut(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ie==null?void 0:Ie.id}/search_managers.json`,{method:"get",params:Ie})})}function st(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ie}/get_managers.json`,{method:"get"})})}function yt(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ie==null?void 0:Ie.id}/add_managers.json`,{method:"post",body:Ie})})}function ht(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ie==null?void 0:Ie.id}/delete_managers.json`,{method:"delete",body:Ie})})}function Je(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ie}/get_picture.json`,{method:"get"})})}function je(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ie==null?void 0:Ie.id}/identifier_exist.json`,{method:"post",body:Ie})})}function ge(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ie}/get_shixun_settings.json`,{method:"get"})})}function Se(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ie==null?void 0:Ie.id}/shixun_add.json`,{method:"post",body:Ie})})}function Me(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ie==null?void 0:Ie.id}/shixun_delete.json`,{method:"delete",body:Ie})})}function Ne(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ie==null?void 0:Ie.id}/shixun_select.json`,{method:"post",body:Ie})})}function He(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ie}/info_finish.json`,{method:"get"})})}function nt(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ie==null?void 0:Ie.id}/competition_review.json`,{method:"post",body:h({},Ie)})})}function ct(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ie.identifier}/competition_teams.json`,{method:"get",params:Ie})})}function Vt(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ie.identifier}/all_team_members.json`,{method:"get",params:Ie})})}function Wt(Ie){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ie.identifier}/competition_commit_records/member_works.json`,{method:"get",params:Ie})})}},1103:function(d,g,e){"use strict";e.d(g,{F:function(){return b},OE:function(){return D},ff:function(){return S},p1:function(){return R},_y:function(){return _},mK:function(){return Q},gq:function(){return Y},eM:function(){return j},BA:function(){return ue},bA:function(){return V},Nx:function(){return K},Qx:function(){return M},At:function(){return L},PX:function(){return T},Xl:function(){return N},y9:function(){return X},No:function(){return oe},ay:function(){return G}});var r=e(38986),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(te,q,J)=>q in te?i(te,q,{enumerable:!0,configurable:!0,writable:!0,value:J}):te[q]=J,a=(te,q)=>{for(var J in q||(q={}))s.call(q,J)&&u(te,J,q[J]);if(f)for(var J of f(q))h.call(q,J)&&u(te,J,q[J]);return te},x=(te,q)=>l(te,c(q)),p=(te,q)=>{var J={};for(var le in te)s.call(te,le)&&q.indexOf(le)<0&&(J[le]=te[le]);if(te!=null&&f)for(var le of f(te))q.indexOf(le)<0&&h.call(te,le)&&(J[le]=te[le]);return J},y=(te,q,J)=>new Promise((le,z)=>{var F=Pe=>{try{_e(J.next(Pe))}catch(Re){z(Re)}},se=Pe=>{try{_e(J.throw(Pe))}catch(Re){z(Re)}},_e=Pe=>Pe.done?le(Pe.value):Promise.resolve(Pe.value).then(F,se);_e((J=J.apply(te,q)).next())});const _=te=>y(void 0,null,function*(){var q=te,{id:J}=q,le=p(q,["id"]);return(0,r.ZP)(`/api/ec_years/${J}/course_results.json`,{method:"get",params:le})}),b=te=>{let q=document.createElement("iframe");q.src=`/api/ec_years/${te}/course_results.xlsx`,q.style.display="none",document.body.appendChild(q)},S=({ec_year_id:te})=>(0,r.ZP)(`/api/ec_years/${te}/course_results/get_class.json`,{method:"get"}),R=({ec_year_id:te,id:q,class_name:J=null})=>(0,r.ZP)(`/api/ec_years/${te}/course_results/${q}.json`,{method:"get",params:{class_name:J}}),L=({ec_year_id:te})=>(0,r.ZP)("/api/ec_courses/1/evaluations/compute_all_courses_data",{method:"post",body:{ec_year_id:te}}),T=({ec_course_id:te})=>(0,r.ZP)(`/api/ec_courses/${te}/evaluations/evaluation_data`,{method:"POST"}),D=te=>{let q=document.createElement("iframe");q.src=`/api/ec_years/${te}/ec_graduation_results.xlsx`,q.style.display="none",document.body.appendChild(q)},M=({ec_year_id:te})=>(0,r.ZP)(`/api/ec_years/${te}/ec_graduation_results/compute_all`,{method:"post"}),N=({ec_year_id:te,id:q})=>(0,r.ZP)(`/api/ec_years/${te}/ec_graduation_results/compute_single?id=${q}`,{method:"POST"}),j=te=>(0,r.ZP)(`/api/ec_years/${te}/ec_graduation_results.json`,{method:"get"}),Q=te=>(0,r.ZP)(`/api/ec_years/${te}/ec_graduation_results/get_formulas.json`,{method:"get"}),X=({ec_year_id:te,formula_one:q,formula_two:J,formula_three:le})=>(0,r.ZP)(`/api/ec_years/${te}/ec_graduation_results/set_formulas.json`,{method:"PUT",body:{formula_one_id:q,formula_two_id:J,formula_three_id:le}}),Y=({ec_year_id:te,id:q})=>(0,r.ZP)(`/api/ec_years/${te}/ec_graduation_results/${q}.json`,{method:"get"}),oe=te=>{var q=te,{ec_year_id:J,type:le,goal_value:z}=q,F=p(q,["ec_year_id","type","goal_value"]);let se=`?type=${le}`,_e={method:"PUT"};return le==="all"&&(se+=`&goal_value=${z}`),le==="each"&&(_e=x(a({},_e),{body:F})),(0,r.ZP)(`/api/ec_years/${J}/ec_graduation_results/set_goal_value${se}`,_e)};var ie=(te,q,J)=>new Promise((le,z)=>{var F=Pe=>{try{_e(J.next(Pe))}catch(Re){z(Re)}},se=Pe=>{try{_e(J.throw(Pe))}catch(Re){z(Re)}},_e=Pe=>Pe.done?le(Pe.value):Promise.resolve(Pe.value).then(F,se);_e((J=J.apply(te,q)).next())});const ue=te=>ie(void 0,null,function*(){return(0,r.ZP)(`/api/schools/${te}/ec_majors/get_major_list.json`,{method:"get"})}),K=te=>ie(void 0,null,function*(){return(0,r.ZP)(`/api/ec_major_schools/${te}/ec_years/get_year_list.json`,{method:"get"})}),V=({ec_year_id:te,school_id:q})=>(0,r.ZP)(`/api/ec_years/${te}/top_pages.json`,{method:"get",params:{school_id:q}}),G=({id:te,name:q})=>(0,r.ZP)(`/api/ec_years/1/top_pages/${te}?name=${q}`,{method:"PUT"})},81722:function(d,g,e){"use strict";e.d(g,{$Q:function(){return D},$l:function(){return gr},BJ:function(){return ht},CD:function(){return qe},Cd:function(){return nt},Cl:function(){return Fe},Di:function(){return Jt},Fl:function(){return Ut},G$:function(){return le},GK:function(){return Pt},Ip:function(){return ge},J:function(){return z},KE:function(){return st},L8:function(){return Yt},LP:function(){return Se},MK:function(){return Xe},Mb:function(){return Ar},N0:function(){return X},N3:function(){return $e},OO:function(){return L},P8:function(){return cn},PJ:function(){return se},PT:function(){return _r},Qc:function(){return oe},RK:function(){return J},Ty:function(){return Ke},UH:function(){return dt},UK:function(){return Ht},Uj:function(){return Wt},Ul:function(){return He},VL:function(){return Zt},Vj:function(){return fe},W4:function(){return Vt},WL:function(){return pe},Wj:function(){return q},X4:function(){return je},Xn:function(){return Kr},Xo:function(){return ue},YY:function(){return er},Ym:function(){return j},Yu:function(){return or},ZD:function(){return sn},Zg:function(){return kr},_B:function(){return Ie},_F:function(){return Br},_U:function(){return V},_u:function(){return _e},aU:function(){return Q},ab:function(){return Rt},cC:function(){return be},cV:function(){return G},ck:function(){return Ur},dp:function(){return Y},eA:function(){return $t},fG:function(){return S},gA:function(){return te},gG:function(){return qr},gJ:function(){return Lt},hk:function(){return y},hv:function(){return _},iB:function(){return b},iU:function(){return R},iw:function(){return St},kp:function(){return Nt},lL:function(){return T},lf:function(){return Ze},n$:function(){return Re},n7:function(){return K},nF:function(){return We},o3:function(){return mt},oS:function(){return Me},oX:function(){return kt},oy:function(){return vt},p7:function(){return N},pL:function(){return Gt},pu:function(){return Je},q6:function(){return Ct},qf:function(){return qt},qz:function(){return Ne},s:function(){return Tt},sA:function(){return Dt},sS:function(){return gt},tX:function(){return zt},uR:function(){return bt},ux:function(){return yt},wy:function(){return Ot},xA:function(){return Oe},yE:function(){return ie},yu:function(){return Ce},zP:function(){return M},zR:function(){return Cr}});var r=e(38986),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(ot,Mr,yn)=>Mr in ot?i(ot,Mr,{enumerable:!0,configurable:!0,writable:!0,value:yn}):ot[Mr]=yn,a=(ot,Mr)=>{for(var yn in Mr||(Mr={}))s.call(Mr,yn)&&u(ot,yn,Mr[yn]);if(f)for(var yn of f(Mr))h.call(Mr,yn)&&u(ot,yn,Mr[yn]);return ot},x=(ot,Mr)=>l(ot,c(Mr)),p=(ot,Mr,yn)=>new Promise((Zn,mr)=>{var tn=ti=>{try{Fn(yn.next(ti))}catch(jn){mr(jn)}},hn=ti=>{try{Fn(yn.throw(ti))}catch(jn){mr(jn)}},Fn=ti=>ti.done?Zn(ti.value):Promise.resolve(ti.value).then(tn,hn);Fn((yn=yn.apply(ot,Mr)).next())});const y=ot=>(0,r.ZP)(`/api/exercises/${ot==null?void 0:ot.exercise_id}/statistics/list_student_score_by_question_type.json`,{method:"get",params:ot}),_=ot=>(0,r.ZP)(`/api/exercises/${ot==null?void 0:ot.exercise_id}/statistics/list_student_score_by_question.json`,{method:"get",params:ot}),b=ot=>(0,r.ZP)(`/api/exercises/${ot.exercise_id}/statistics/export_class_compare.xlsl`,{method:"get",params:ot}),S=ot=>(0,r.ZP)(`/api/exercises/${ot.exercise_id}/statistics/class_question_compare.json`,{method:"get",params:ot}),R=ot=>(0,r.ZP)(`/api/exercises/${ot==null?void 0:ot.exercise_id}/statistics/class_score_distribution.json`,{method:"get",params:ot}),L=ot=>(0,r.ZP)(`/api/exercises/${ot==null?void 0:ot.exercise_id}/statistics/list_student_score.json`,{method:"get",params:ot}),T=ot=>(0,r.ZP)(`/api/exercises/${ot==null?void 0:ot.exercise_id}/statistics/set_score_ranges.json`,{method:"put",body:ot}),D=ot=>(0,r.ZP)(`/api/exercises/${ot==null?void 0:ot.exercise_id}/statistics/score_ranges.json`,{method:"get",params:ot}),M=ot=>(0,r.ZP)(`/api/exercises/${ot.id}/sava_exam_summary.json`,{method:"post",body:ot}),N=ot=>(0,r.ZP)("/api/intelligent_reviews/exam_summary.json",{method:"post",body:ot}),j=ot=>(0,r.ZP)(`/api/exercises/${ot.id}/generate_exam_summary.json`,{method:"post",body:ot}),Q=ot=>(0,r.ZP)(`/api/exercises/${ot.id}/exam_summary_settings.json`,{method:"post",body:ot}),X=ot=>p(void 0,null,function*(){return(0,r.ZP)(`/api/exercises/${ot==null?void 0:ot.exercise_id}/review_exercise_user.json`,{method:"post",body:ot})}),Y=ot=>(0,r.ZP)(`/api/exercises/${ot==null?void 0:ot.id}/code_check.json`,{method:"get",params:ot}),oe=ot=>(0,r.ZP)(`/api/exercises/${ot.id}/reset_pwd.json`,{method:"post",body:ot}),ie=ot=>(0,r.ZP)(`/api/exercises/${ot.id}/encrypt_or_decrypt.json`,{method:"post",body:ot}),ue=ot=>p(void 0,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.id}/delayed_time_or_force.json`,{method:"post",body:ot})}),K=ot=>p(void 0,null,function*(){return(0,r.ZP)(`/api/exercises/${ot==null?void 0:ot.id}/exercise_time.json`,{method:"Get",params:ot})}),V=ot=>(0,r.ZP)(`/api/exercises/${ot==null?void 0:ot.id}/exercise_question_result.json`,{method:"get",params:ot}),G=ot=>(0,r.ZP)(`/api/exercises/${ot.id}/get_question_type_alias.json`,{method:"get",params:ot});function te(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${ot==null?void 0:ot.id}/teacher_update.json`,{method:"post",body:a({},ot)})})}function q(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${ot==null?void 0:ot.id}/adjust_comment.json`,{method:"post",body:a({},ot)})})}function J(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.id}/edit_question_type_alias.json`,{method:"POST",body:ot})})}function le(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/exercise_lists.json`,{method:"get",params:a({},ot)})})}function z(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/exercise_identity_photos.json`,{method:"get",params:a({},ot)})})}function F(ot){return p(this,null,function*(){return Fetch(`/api/exercises/${ot.categoryId}/video_push_url.json`,{method:"get",params:a({},ot)})})}function se(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/query_identity_photo_state.json`,{method:"get",params:a({},ot)})})}function _e(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/exercise_result.json`,{method:"get",params:a({},ot)})})}function Pe(ot){return p(this,null,function*(){return Fetch(`/api/exercises/${ot.categoryId}/exercise_score_area_setting.json`,{method:"post",body:a({},ot)})})}function Re(ot){return p(this,null,function*(){return(0,r.ZP)("/api/question_banks/bank_list.json",{method:"get",params:a({},ot)})})}function Ze(ot){return p(this,null,function*(){return(0,r.ZP)("/api/question_banks/save_banks.json",{method:"POST",body:a({},ot)})})}function $e(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${ot.coursesId}/exercises/publish_modal.json`,{method:"get",params:a({},ot)})})}function Ht(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/common_header.json`,{method:"get",params:a({},ot)})})}function bt(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${ot.coursesId}/exercises.json`,{method:"post",body:a({},ot)})})}function Ot(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.exerciseId}.json`,{method:"put",body:a({},ot)})})}function qt(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.categoryId}.json`,{method:"get",params:a({},ot)})})}function er(ot){return p(this,null,function*(){return(0,r.ZP)("/api/tag_disciplines.json",{method:"get",params:a({},ot)})})}function Jt(ot){return p(this,null,function*(){const{id:Mr}=ot;return delete ot.id,(0,r.ZP)(`/api/exercise_questions/${Mr}.json`,{method:"put",body:a({},ot)})})}function Xe(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/exercise_questions.json`,{method:"post",body:a({},ot)})})}function Pt(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${ot.id}/up_down.json`,{method:"post",body:a({},ot)})})}function Ut(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${ot.id}.json`,{method:"delete"})})}function st(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${ot.coursesId}/exercises/end_modal.json`,{method:"get",params:a({},ot)})})}function yt(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/publish_groups.json`,{method:"get",params:a({},ot)})})}function ht(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.exerciseId}/user_exercise_detail.json`,{method:"get",params:a({},ot)})})}function Je(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.exerciseId}/consult_exercise.json`,{method:"post",body:a({},ot)})})}function je(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.exerciseId}/teacher_appraise.json`,{method:"get",params:a({},ot)})})}function ge(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${ot.id}/adjust_score.json`,{method:"post",body:a({},ot)})})}function Se(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${ot.id}/batch_adjust_score.json`,{method:"post",body:a({},ot)})})}function Me(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.id}/adjust_score.json`,{method:"post",body:a({},ot)})})}function Ne(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.id}/delayed_time.json`,{method:"post",body:a({},ot)})})}function He(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/exercise_setting.json`,{method:"get",params:a({},ot)})})}function nt(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/v2/exercises/${ot.categoryId}/exercise_setting.json`,{method:"get",params:a({},ot)})})}function ct(ot){return p(this,null,function*(){return Fetch(`/api/exercises/${ot.categoryId}/commit_setting.json`,{method:"post",body:a({},ot)})})}function Vt(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.exerciseId}/review_exercises_by_students.json`,{method:"post",body:a({},ot)})})}function Wt(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/exercise_lists.xlsx`,{method:"get",params:x(a({},ot),{export:!0})})})}function Ie(ot){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/user_exercise_detail.json`,{method:"get",params:x(a({},ot),{login:null})})}function qe(ot){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/start.json`,{method:"get",params:a({},ot)})}function Gt(ot){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/start_unlock.json`,{method:"post",body:a({},ot)})}function kt(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${ot.questionId}/exercise_answers.json`,{method:"post",body:ot})})}function Zt(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/commit_exercise.json`,{method:"post",body:ot})})}function Nt(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/simulate_commit_exercise.json`,{method:"post",body:ot})})}function Ct(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/redo_exercise.json`,{method:"post",body:ot})})}function Yt(ot){return(0,r.ZP)(`/api/${ot.url}`,{method:"get",params:a({},ot)})}function We(ot){return(0,r.ZP)(`/api/problems/${ot.id}/start.json`,{method:"get",params:a({},ot)})}function fe(ot){return(0,r.ZP)(`/api/exercises/${ot.id}/begin_commit.json`,{method:"get",params:a({},ot)})}function pe(ot){return(0,r.ZP)(`/api/exercises/${ot.id}/simulate_begin_commit.json`,{method:"get",params:a({},ot)})}function Dt(ot){return(0,r.ZP)("/api/examination_intelligent_settings/optional_items.json",{method:"post",body:a({},ot)})}function Ce(ot){return console.log("params:",ot),(0,r.ZP)(`/api/exercises/${ot.categoryId}/edit.json`,{method:"get",params:a({},ot)})}function dt(ot){return(0,r.ZP)(`/api/exercises/${ot.id}/get_objective_scores.json`,{method:"get",params:a({},ot)})}function zt(ot){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/redo_modal.json`,{method:"get",params:a({},ot)})}function Tt(ot){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/student_redo_lists.json`,{method:"get",params:a({},ot)})}function Oe(ot){return(0,r.ZP)("/api/exercises/get_user_exercises.json",{method:"get",params:ot})}function St(ot){return(0,r.ZP)(`/api/exercises/${ot.id}/exercise_header.json`,{method:"get",params:a({},ot)})}function be(ot){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/allow_close_camera.json`,{method:"post",body:a({},ot)})}function Ke(ot){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/get_exercise_user_info.json`,{method:"get",params:a({},ot)})}function vt(ot){return(0,r.ZP)(`/api/exercises/${ot.id}/record_screen`,{method:"post",params:a({},ot)})}function Rt(ot){return(0,r.ZP)(`/api/exercises/${ot.id}/unbind_ip.json`,{method:"post",body:a({},ot)})}function Fe(ot){return(0,r.ZP)(`/api/exercises/${ot.id}/check_ip.json`,{method:"get",params:a({},ot)})}function kr(ot){return(0,r.ZP)(`/api/exercises/${ot==null?void 0:ot.id}/check_user_exercise.json`,{method:"get",params:a({},ot)})}function At(ot){return Fetch(`/api/exercises/${ot.id}/make_up_students.json`,{method:"get",params:a({},ot)})}function Kr(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${ot.coursesId}/exercises/code_review_detail.json`,{method:"get",params:a({},ot)})})}function qr(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${ot.question_id}/adjust_score.json`,{method:"post",body:a({},ot)})})}function Ar(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${ot.categoryId}/simulate_exercise.json`,{method:"post",body:a({},ot)})})}function Br(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/simulate_start_answer.json`,{method:"get",params:a({},ot)})})}function _r(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/exercise_time.json`,{method:"get",params:a({},ot)})})}function Ur(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/commit_screen_at.json`,{method:"post",body:a({},ot)})})}function sn(ot,Mr){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot}/unlock_user`,{method:"post",body:Mr})})}function cn(ot,Mr){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot}/save_screen_record.json`,{method:"post",body:Mr})})}function or(ot,Mr){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot}/screen_record_list.json`,{method:"get",params:Mr})})}function Lt(ot){return p(this,null,function*(){return(0,r.ZP)("/api/attachments/set_ecs_attachment.json",{method:"get",params:a({},ot)})})}function mt(ot){return p(this,null,function*(){return(0,r.ZP)("/api/exercises/need_redo.json",{method:"get",params:ot})})}function gt(ot,Mr){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot}/mark.json`,{method:"post",body:Mr})})}function $t(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/myshixuns/${ot}/exit_delete_pod.json`,{method:"post",body:ot})})}function Cr(ot){return p(this,null,function*(){return(0,r.ZP)("/api/users/change_exercise_score.json",{method:"put",body:ot})})}function gr(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${ot==null?void 0:ot.id}/send_to_item_bank.json`,{method:"post",body:a({},ot)})})}},94670:function(d,g,e){"use strict";e.d(g,{B0:function(){return p},Si:function(){return L},Sr:function(){return D},YP:function(){return T},b4:function(){return R},bc:function(){return a},dX:function(){return S},eh:function(){return M},iI:function(){return _},kd:function(){return x},qR:function(){return b},sW:function(){return y},ts:function(){return j},vL:function(){return N},z5:function(){return Q}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,s=(X,Y,oe)=>Y in X?i(X,Y,{enumerable:!0,configurable:!0,writable:!0,value:oe}):X[Y]=oe,h=(X,Y)=>{for(var oe in Y||(Y={}))c.call(Y,oe)&&s(X,oe,Y[oe]);if(l)for(var oe of l(Y))f.call(Y,oe)&&s(X,oe,Y[oe]);return X},u=(X,Y,oe)=>new Promise((ie,ue)=>{var K=te=>{try{G(oe.next(te))}catch(q){ue(q)}},V=te=>{try{G(oe.throw(te))}catch(q){ue(q)}},G=te=>te.done?ie(te.value):Promise.resolve(te.value).then(K,V);G((oe=oe.apply(X,Y)).next())});function a(X){return u(this,null,function*(){return(0,r.ZP)("/api/memos.json",{method:"get",params:X})})}function x(X){return u(this,null,function*(){return(0,r.ZP)("/api/discusses/forum_discusses.json",{method:"get",params:X})})}function p(X){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${X.id}/sticky_or_cancel.json`,{method:"post",body:X})})}function y(X){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${X.id}.json`,{method:"delete",body:X})})}function _(X){return u(this,null,function*(){return(0,r.ZP)("/api/memos/new.json",{method:"get",params:X})})}function b(X){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${X.id}/edit.json`,{method:"get",params:X})})}function S(X){return u(this,null,function*(){return(0,r.ZP)("/api/memos.json",{method:"post",body:h({},X)})})}function R(X){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${X.id}.json`,{method:"put",body:h({},X)})})}function L(X){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${X.id}.json`,{method:"get",params:X})})}function T(X){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${X.user_id}/watch.json`,{method:"post",body:X})})}function D(X){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${X.user_id}/watch.json`,{method:"delete",body:h({},X)})})}function M(X){return u(this,null,function*(){return(0,r.ZP)(`/api/discusses/${X.id}/reward_code.json`,{method:"post",body:X})})}function N(X){return u(this,null,function*(){return(0,r.ZP)(`/api/discusses/${X.id}/plus.json`,{method:"post",body:X})})}function j(X){return u(this,null,function*(){return(0,r.ZP)("/api/memos/reply.json",{method:"post",body:X})})}function Q(X){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${X.id}/more_reply.json`,{method:"get",params:X})})}},22072:function(d,g,e){"use strict";e.d(g,{D2:function(){return a},n0:function(){return x},tk:function(){return p}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,s=(y,_,b)=>_ in y?i(y,_,{enumerable:!0,configurable:!0,writable:!0,value:b}):y[_]=b,h=(y,_)=>{for(var b in _||(_={}))c.call(_,b)&&s(y,b,_[b]);if(l)for(var b of l(_))f.call(_,b)&&s(y,b,_[b]);return y},u=(y,_,b)=>new Promise((S,R)=>{var L=M=>{try{D(b.next(M))}catch(N){R(N)}},T=M=>{try{D(b.throw(M))}catch(N){R(N)}},D=M=>M.done?S(M.value):Promise.resolve(M.value).then(L,T);D((b=b.apply(y,_)).next())});function a(y){return u(this,null,function*(){return(0,r.ZP)("/api/setting.json",{method:"Get",params:h({},y)})})}function x(){return u(this,null,function*(){return(0,r.ZP)("/api/users/system_update.json",{method:"Get"})})}function p(y){return u(this,null,function*(){return(0,r.ZP)("/api/search_records",{method:"post",body:y})})}},24059:function(d,g,e){"use strict";e.d(g,{B6:function(){return p},Gr:function(){return j},Mf:function(){return D},NA:function(){return L},PC:function(){return S},PP:function(){return R},QA:function(){return x},RP:function(){return Y},Sv:function(){return X},YQ:function(){return T},_n:function(){return oe},hL:function(){return N},je:function(){return b},mM:function(){return _},wA:function(){return Q},x_:function(){return y},y0:function(){return M},y3:function(){return a}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,s=(ie,ue,K)=>ue in ie?i(ie,ue,{enumerable:!0,configurable:!0,writable:!0,value:K}):ie[ue]=K,h=(ie,ue)=>{for(var K in ue||(ue={}))c.call(ue,K)&&s(ie,K,ue[K]);if(l)for(var K of l(ue))f.call(ue,K)&&s(ie,K,ue[K]);return ie},u=(ie,ue,K)=>new Promise((V,G)=>{var te=le=>{try{J(K.next(le))}catch(z){G(z)}},q=le=>{try{J(K.throw(le))}catch(z){G(z)}},J=le=>le.done?V(le.value):Promise.resolve(le.value).then(te,q);J((K=K.apply(ie,ue)).next())});function a(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/graduation_tasks/${ie.categoryId}.json`,{method:"get",params:h({},ie)})})}function x(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/graduation_tasks/${ie.categoryId}/tasks_list.json`,{method:"get",params:h({},ie)})})}function p(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ie.coursesId}/graduation_topics/${ie.categoryId}/show_detail.json`,{method:"get",params:h({},ie)})})}function y(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ie.coursesId}/graduation_topics/${ie.categoryId}.json`,{method:"get",params:h({},ie)})})}function _(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ie.coursesId}/graduation_topics/${ie.categoryId}/refuse_student_topic.json`,{method:"post",body:h({},ie)})})}function b(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ie.coursesId}/graduation_topics/${ie.categoryId}/accept_student_topic.json`,{method:"post",body:h({},ie)})})}function S(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ie.categoryId}/show_comment.json`,{method:"get",params:h({},ie)})})}function R(ie){return u(this,null,function*(){return(0,r.ZP)("/api/users/reply_message.json",{method:"post",body:h({},ie)})})}function L(ie){return u(this,null,function*(){return(0,r.ZP)("/api/praise_tread/like.json",{method:"post",body:h({},ie)})})}function T(ie){return u(this,null,function*(){return(0,r.ZP)("/api/praise_tread/unlike.json",{method:"delete",body:h({},ie)})})}function D(ie){return u(this,null,function*(){return(0,r.ZP)("/api/commons/delete.json",{method:"delete",body:h({},ie)})})}function M(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ie.coursesId}/graduation_topics/new.json`,{method:"get",params:h({},ie)})})}function N(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ie.coursesId}/graduation_topics/${ie.categoryId}/edit.json`,{method:"get",params:h({},ie)})})}function j(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ie.coursesId}/graduation_topics`,{method:"post",body:h({},ie)})})}function Q(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ie.coursesId}/graduation_topics/${ie.categoryId}`,{method:"put",body:h({},ie)})})}function X(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ie.coursesId}/graduation_tasks`,{method:"post",body:h({},ie)})})}function Y(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/graduation_tasks/${ie.categoryId}.json`,{method:"put",body:h({},ie)})})}function oe(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/graduation_tasks/${ie.categoryId}/edit.json`,{method:"get",params:h({},ie)})})}},12309:function(d,g,e){"use strict";e.d(g,{AA:function(){return Q},Db:function(){return x},Dd:function(){return b},F7:function(){return K},Fi:function(){return le},H3:function(){return _},HF:function(){return R},HH:function(){return y},Ib:function(){return te},J3:function(){return s},NT:function(){return l},NX:function(){return T},Ot:function(){return L},Ou:function(){return V},Ps:function(){return c},Rk:function(){return ue},Tz:function(){return a},V1:function(){return q},Wz:function(){return f},Xh:function(){return p},Xw:function(){return ie},YS:function(){return Y},Zd:function(){return J},bS:function(){return D},ck:function(){return S},eh:function(){return j},il:function(){return h},j7:function(){return u},jW:function(){return X},km:function(){return oe},l5:function(){return N},rU:function(){return z},xF:function(){return M},zC:function(){return G},zT:function(){return F}});var r=e(38986),i=(se,_e,Pe)=>new Promise((Re,Ze)=>{var $e=Ot=>{try{bt(Pe.next(Ot))}catch(qt){Ze(qt)}},Ht=Ot=>{try{bt(Pe.throw(Ot))}catch(qt){Ze(qt)}},bt=Ot=>Ot.done?Re(Ot.value):Promise.resolve(Ot.value).then($e,Ht);bt((Pe=Pe.apply(se,_e)).next())});function l(se){return(0,r.ZP)("/api/schools/search.json",{method:"get",params:se})}function c(se){return(0,r.ZP)(`/api/schools/${se.id}/departments/for_option.json`,{method:"get",params:se})}function f(se){return(0,r.ZP)("/api/graduations.json",{method:"POST",body:se})}function s(se){return(0,r.ZP)("/api/graduations.json",{method:"get",params:se})}function h(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.identifier}/graduation_stages/${se.stageid}/authorized_redelivery.json`,{method:"POST",body:se})})}function u(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.identifier}/graduation_stages/${se.stageid}/submit.json`,{method:"POST",body:se})})}function a(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.id}/student_tasks/export_status.json`,{method:"get",params:se})})}function x(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.id}/student_tasks/export_all_attachments.json`,{method:"get",params:se})})}function p(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.identifier}/graduation_stages/${se.id}.json`,{method:"get",params:se})})}function y(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.id}/student_tasks/set_final_score.json`,{method:"POST",body:se})})}function _(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.id}/student_tasks/final_score.json`,{method:"get",params:se})})}function b(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.id}/set_novice_guide.json`,{method:"POST",body:se})})}function S(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.id}/graduation_notices/${se.doid}/set_do.json`,{method:"POST",body:se})})}function R(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.id}/graduation_teachers.json`,{method:"POST",body:se})})}function L(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.identifier}/graduation_students/${se.id}/update_major.json`,{method:"PUT",body:se})})}function T(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.id}/graduation_students.json`,{method:"POST",body:se})})}function D(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.id}/graduation_teachers/search.json`,{method:"get",params:se})})}function M(se){return i(this,null,function*(){return(0,r.ZP)("/api/schools/search.json",{method:"get",params:se})})}function N(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.id}/graduation_students/search.json`,{method:"get",params:se})})}function j(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.id}/graduation_students.json`,{method:"get",params:se})})}function Q(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.id}/graduation_teachers.json`,{method:"get",params:se})})}function X(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.graduation_id}/graduation_tasks.json`,{method:"POST",body:se})})}function Y(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.graduation_id}/graduation_tasks/${se.id}.json`,{method:"PUT",body:se})})}function oe(se){return i(this,null,function*(){var _e;return(0,r.ZP)(`/api/graduations/${se.id}/graduation_tasks/${(_e=se.ids)==null?void 0:_e[0]}`,{method:"DELETE",body:{ids:se.ids}})})}function ie(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.id}/graduation_tasks.json`,{method:"get",params:se})})}function ue(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.id}/graduation_notices.json`,{method:"get",params:se})})}function K(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.id}.json`,{method:"get"})})}function V(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se==null?void 0:se.id}/common_header.json`,{method:"get"})})}function G(se,_e){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se}/preview.json`,{method:"get"})})}function te(se,_e){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se}/graduation_teachers/not_pass.json`,{method:"post",body:_e})})}function q(se,_e){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se}/graduation_teachers/pass.json`,{method:"post",body:_e})})}function J(se,_e){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se}/graduation_students/not_pass.json`,{method:"post",body:_e})})}function le(se,_e){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se}/graduation_students/pass.json`,{method:"post",body:_e})})}function z(se,_e){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se}/graduation_students/batch_delete`,{method:"delete",body:_e})})}function F(se,_e){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se}/graduation_teachers/batch_delete`,{method:"delete",body:_e})})}},82220:function(d,g,e){"use strict";e.d(g,{LA:function(){return a},Rm:function(){return c},S_:function(){return x},Tt:function(){return s},cR:function(){return h},eX:function(){return l},h$:function(){return f},vm:function(){return u}});var r=e(38986),i=(p,y,_)=>new Promise((b,S)=>{var R=D=>{try{T(_.next(D))}catch(M){S(M)}},L=D=>{try{T(_.throw(D))}catch(M){S(M)}},T=D=>D.done?b(D.value):Promise.resolve(D.value).then(R,L);T((_=_.apply(p,y)).next())});const l=p=>i(void 0,null,function*(){return(0,r.ZP)("/api/home/env_detail.json",{method:"Get",params:p})}),c=p=>i(void 0,null,function*(){return(0,r.ZP)("/api/home/env_list.json",{method:"Get",params:p})}),f=p=>i(void 0,null,function*(){return(0,r.ZP)("/api/home/online_list.json",{method:"Get",params:p})});function s(){return i(this,null,function*(){return(0,r.ZP)("/api/home/index.json",{method:"Get"})})}function h(p){return i(this,null,function*(){return(0,r.ZP)("/api/courses/apply_to_join_course.json",{method:"post",body:p})})}function u(p){return i(this,null,function*(){return(0,r.ZP)("/api/project_applies.json",{method:"post",body:p})})}function a(p){return i(this,null,function*(){return(0,r.ZP)("/api/users/home_notice.json",{method:"Get"})})}function x(p){return i(this,null,function*(){return(0,r.ZP)("/api/users/view_notice.json",{method:"post",body:p})})}},50958:function(d,g,e){"use strict";e.d(g,{AD:function(){return a},Ig:function(){return x},Ko:function(){return _},QJ:function(){return b},Ub:function(){return S},V8:function(){return p},dl:function(){return R},w0:function(){return y}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,s=(L,T,D)=>T in L?i(L,T,{enumerable:!0,configurable:!0,writable:!0,value:D}):L[T]=D,h=(L,T)=>{for(var D in T||(T={}))c.call(T,D)&&s(L,D,T[D]);if(l)for(var D of l(T))f.call(T,D)&&s(L,D,T[D]);return L},u=(L,T,D)=>new Promise((M,N)=>{var j=Y=>{try{X(D.next(Y))}catch(oe){N(oe)}},Q=Y=>{try{X(D.throw(Y))}catch(oe){N(oe)}},X=Y=>Y.done?M(Y.value):Promise.resolve(Y.value).then(j,Q);X((D=D.apply(L,T)).next())});function a(L){return u(this,null,function*(){return(0,r.ZP)("/api/users/tidings.json",{method:"get",params:h({},L)})})}function x(L){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${L.userId}/unread_message_info.json`,{method:"get",params:h({},L)})})}function p(L){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${L.userId}/private_messages.json`,{method:"get",params:h({},L)})})}function y(L){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${L.userId}/private_messages.json`,{method:"post",body:h({},L)})})}function _(L){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${L.id}/recent_contacts.json`,{method:"get",params:h({},L)})})}function b(L){return u(this,null,function*(){return(0,r.ZP)("/api/users_for_private_messages.json",{method:"get",params:h({},L)})})}function S(L){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${L.userId}/private_message_details.json`,{method:"get",params:h({},L)})})}function R(L){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${L.userId}/private_messages/${L.id}.json`,{method:"delete"})})}},49379:function(d,g,e){"use strict";e.d(g,{A2:function(){return b},CI:function(){return p},Ep:function(){return _},Ex:function(){return M},R7:function(){return a},WW:function(){return N},_V:function(){return D},ms:function(){return L},s0:function(){return S},vf:function(){return y},xn:function(){return x},yy:function(){return T}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,s=(j,Q,X)=>Q in j?i(j,Q,{enumerable:!0,configurable:!0,writable:!0,value:X}):j[Q]=X,h=(j,Q)=>{for(var X in Q||(Q={}))c.call(Q,X)&&s(j,X,Q[X]);if(l)for(var X of l(Q))f.call(Q,X)&&s(j,X,Q[X]);return j},u=(j,Q,X)=>new Promise((Y,oe)=>{var ie=V=>{try{K(X.next(V))}catch(G){oe(G)}},ue=V=>{try{K(X.throw(V))}catch(G){oe(G)}},K=V=>V.done?Y(V.value):Promise.resolve(V.value).then(ie,ue);K((X=X.apply(j,Q)).next())});function a(j){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${j.coursesId}/online_learning.json`,{method:"get"})})}function x(j){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${j.id}.json`,{method:"put",body:j})})}function p(j){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${j.coursesId}/course_stages.json`,{method:"post",body:j})})}function y(j){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${j.id}/add_shixun_to_stage.json`,{method:"post",body:j})})}function _(j){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${j.id}/select_shixun_to_stage.json`,{method:"post",body:j})})}function b(j){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${j.id}/add_video_to_stage.json`,{method:"post",body:j})})}function S(j){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${j.id}/add_attachment_to_stage.json`,{method:"post",body:j})})}function R(j){return u(this,null,function*(){return Fetch("/api/paths/add_shixun_to_stage.json",{method:"post",body:j})})}function L(j){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${j.id}/up_position.json`,{method:"post"})})}function T(j){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${j.id}/down_position.json`,{method:"post"})})}function D(j){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${j.id}.json`,{method:"delete"})})}function M(j){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${j.stage_id}/items/move_position.json`,{method:"post",body:h({},j)})})}function N(j){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${j.stage_id}/items/${j.id}`,{method:"delete"})})}},93629:function(d,g,e){"use strict";e.d(g,{DF:function(){return b},Di:function(){return q},Dm:function(){return ue},Dq:function(){return Pe},Gd:function(){return _},Hb:function(){return Re},Hm:function(){return Y},ID:function(){return u},JP:function(){return _e},NC:function(){return Q},Pl:function(){return S},Qc:function(){return c},Qp:function(){return K},RK:function(){return x},YP:function(){return X},a2:function(){return s},ar:function(){return y},cV:function(){return a},d1:function(){return p},dp:function(){return l},fn:function(){return R},iT:function(){return M},jK:function(){return ie},kF:function(){return Ze},kp:function(){return D},lc:function(){return T},oF:function(){return le},q$:function(){return h},qN:function(){return oe},tS:function(){return L},ts:function(){return N},un:function(){return G},w0:function(){return te},wX:function(){return V},yE:function(){return f}});var r=e(38986),i=($e,Ht,bt)=>new Promise((Ot,qt)=>{var er=Pt=>{try{Xe(bt.next(Pt))}catch(Ut){qt(Ut)}},Jt=Pt=>{try{Xe(bt.throw(Pt))}catch(Ut){qt(Ut)}},Xe=Pt=>Pt.done?Ot(Pt.value):Promise.resolve(Pt.value).then(er,Jt);Xe((bt=bt.apply($e,Ht)).next())});const l=$e=>(0,r.ZP)(`/api/examination_banks/${$e==null?void 0:$e.id}/code_check.json`,{method:"get",params:$e}),c=$e=>(0,r.ZP)(`/api/examination_banks/${$e.id}/reset_pwd.json`,{method:"post",body:$e}),f=$e=>(0,r.ZP)(`/api/examination_banks/${$e.id}/encrypt_or_decrypt.json`,{method:"post",body:$e}),s=$e=>(0,r.ZP)("/api/examination_banks/exist_course.json",{method:"post",body:$e}),h=$e=>(0,r.ZP)("/api/examination_banks/check_examination_banks.json",{method:"post",body:$e}),u=$e=>(0,r.ZP)(`/api/examination_banks/${$e.id}/copy.json`,{method:"post",body:$e}),a=$e=>(0,r.ZP)(`/api/examination_banks/${$e.id}/get_question_type_alias.json`,{method:"get",params:$e});function x($e){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${$e.id}/edit_question_type_alias.json`,{method:"POST",body:$e})})}function p($e){return i(this,null,function*(){return(0,r.ZP)("/api/disciplines.json",{method:"get",params:$e})})}function y($e){return i(this,null,function*(){return(0,r.ZP)("/api/disciplines/by_examination_banks.json",{method:"get",params:$e})})}function _($e){return i(this,null,function*(){return(0,r.ZP)("/api/examination_banks.json",{method:"get",params:$e})})}function b($e){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${$e.id}/set_public.json`,{method:"post"})})}function S($e){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${$e.id}/set_private.json`,{method:"post"})})}function R($e){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${$e.id}.json`,{method:"delete"})})}function L($e){return i(this,null,function*(){return(0,r.ZP)("/api/question_banks/my_courses.json",{method:"get",params:$e})})}const T=$e=>(0,r.ZP)("/api/examination_banks/batch_send_to_course.json",{method:"post",body:$e});function D($e){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${$e.id}/send_to_course.json`,{method:"post",body:$e})})}function M($e){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${$e.id}.json`,{method:"get",params:$e})})}function N($e){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${$e.id}/examination_banks_item_banks/${$e.itemId}/set_score`,{method:"post",body:$e})})}function j($e){return i(this,null,function*(){return Fetch(`/api/examination_banks/${$e.id}/examination_banks_item_banks/${$e.itemId}/set_shixun_score.json`,{method:"post",body:$e})})}function Q($e){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${$e.id}/examination_banks_item_banks/${$e.itemId}.json`,{method:"delete"})})}function X($e){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${$e.id}/examination_banks_item_banks/batch_set_score.json`,{method:"post",body:$e})})}function Y($e){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${$e.id}/examination_banks_item_banks/destroy_by_item_type.json`,{method:"delete",body:$e})})}function oe($e){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${$e.id}/examination_banks_item_banks/${$e.itemId}/adjust_position.json`,{method:"post",body:$e})})}function ie($e){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${$e.id}.json`,{method:"put",body:$e})})}function ue($e){return i(this,null,function*(){return(0,r.ZP)("/api/teach_group_shares.json",{method:"get",params:$e})})}function K($e){return i(this,null,function*(){return(0,r.ZP)("/api/examination_banks/set_batch_public.json",{method:"post",body:$e})})}function V($e){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${$e==null?void 0:$e.id}/set_public.json`,{method:"post",body:$e})})}function G($e){return i(this,null,function*(){return(0,r.ZP)("/api/examination_banks/create_exam.json",{method:"post",body:$e})})}function te($e){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${$e.id}/update_exam.json`,{method:"put",body:$e})})}function q($e){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${$e.id}/edit_exam.json`,{method:"get"})})}function J($e,Ht){return i(this,null,function*(){return Fetch(`/api/examination_banks/${$e}/examination_banks_item_banks.json`,{method:"post",body:Ht})})}function le($e){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${$e.id}/examination_banks_item_banks/create_item_bank.json`,{method:"post",body:$e})})}function z($e,Ht){return i(this,null,function*(){return Fetch(`/api/examination_banks/${$e}/sort_question_type.json`,{method:"post",body:Ht})})}function F($e){return i(this,null,function*(){return Fetch(`/api/examination_banks/${$e.exam_id}/examination_banks_item_banks/${$e.question_id}.json`,{method:"delete"})})}function se($e,Ht){return i(this,null,function*(){return Fetch(`/api/examination_banks/${$e}/batch_set_score.json`,{method:"post",body:Ht})})}function _e($e){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${$e}/simulate_exercise.json`,{method:"post"})})}function Pe($e){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${$e}/exercise_header.json`,{method:"get"})})}function Re($e,Ht,bt){return i(this,null,function*(){const Ot=new FormData;return Ot.append("file",Ht),Ot.append("sub_discipline_id",bt),(0,r.ZP)(`/api/examination_banks/${$e}/import_item_banks.json`,{method:"post",body:Ot},!0)})}function Ze($e){return i(this,null,function*(){return(0,r.ZP)("/api/users/change_exam_score.json",{method:"put",body:$e})})}},36714:function(d,g,e){"use strict";e.d(g,{$D:function(){return K},A2:function(){return ge},A7:function(){return zt},AQ:function(){return j},Ax:function(){return Ie},Bn:function(){return St},CI:function(){return He},DQ:function(){return pe},DU:function(){return Ut},EP:function(){return ue},Ep:function(){return je},Er:function(){return se},Ex:function(){return kt},FD:function(){return Dt},F_:function(){return Pt},Fg:function(){return x},GY:function(){return Yt},Go:function(){return le},Gz:function(){return p},Hl:function(){return y},JS:function(){return bt},KM:function(){return te},M2:function(){return Me},MO:function(){return _e},Mt:function(){return Ne},Mu:function(){return qe},NV:function(){return Oe},Q:function(){return Pe},Sp:function(){return N},VO:function(){return Ce},WD:function(){return Ct},WO:function(){return F},WW:function(){return Zt},_C:function(){return Tt},_V:function(){return Wt},bw:function(){return ie},bz:function(){return fe},c3:function(){return Ht},eJ:function(){return J},ef:function(){return Xe},fh:function(){return R},fj:function(){return z},hS:function(){return _},jT:function(){return dt},ke:function(){return Nt},lk:function(){return M},mQ:function(){return D},ms:function(){return ct},mx:function(){return Ze},nq:function(){return a},ol:function(){return We},p:function(){return X},p4:function(){return Re},pU:function(){return T},rS:function(){return Ot},rs:function(){return q},s0:function(){return Se},sm:function(){return $e},tS:function(){return b},tu:function(){return L},ue:function(){return Q},vf:function(){return ht},w4:function(){return Y},xG:function(){return Je},xn:function(){return yt},yN:function(){return oe},yy:function(){return Vt}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,s=(be,Ke,vt)=>Ke in be?i(be,Ke,{enumerable:!0,configurable:!0,writable:!0,value:vt}):be[Ke]=vt,h=(be,Ke)=>{for(var vt in Ke||(Ke={}))c.call(Ke,vt)&&s(be,vt,Ke[vt]);if(l)for(var vt of l(Ke))f.call(Ke,vt)&&s(be,vt,Ke[vt]);return be},u=(be,Ke,vt)=>new Promise((Rt,Fe)=>{var kr=qr=>{try{Kr(vt.next(qr))}catch(Ar){Fe(Ar)}},At=qr=>{try{Kr(vt.throw(qr))}catch(Ar){Fe(Ar)}},Kr=qr=>qr.done?Rt(qr.value):Promise.resolve(qr.value).then(kr,At);Kr((vt=vt.apply(be,Ke)).next())});const a=be=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/subject_use_infos.json",{method:"Get",params:be})}),x=be=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/rank_list.json",{method:"Get",params:be})}),p=be=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/statistics_body.json",{method:"Get",params:be})}),y=be=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/statistics_header.json",{method:"Get",params:be})}),_=be=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/online_count.json",{method:"Get",params:be})});function b(be){return u(this,null,function*(){return(0,r.ZP)("/api/paths.json",{method:"Get",params:h({},be)})})}function S(be){return u(this,null,function*(){return Fetch("/api/intelligent_recommendations/subject_lists.json",{method:"Get",params:h({},be)})})}function R(be){return u(this,null,function*(){return(0,r.ZP)("/api/disciplines.json",{method:"Get",params:h({},be)})})}function L(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}.json`,{method:"PUT",body:be})})}function T(be){return u(this,null,function*(){return(0,r.ZP)("/api/paths.json",{method:"post",body:be})})}function D(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/edit.json`,{method:"get"})})}function M(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}.json`,{method:"get",params:h({identifier:be.id},be)})})}function N(be){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${be.id}.json`,{method:"get",params:h({identifier:be.id},be)})})}function j(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/right_banner.json`,{method:"get",params:be})})}function Q(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/spoc_courses.json`,{method:"get",params:be})})}const X=be=>u(void 0,null,function*(){return(0,r.ZP)("/api/v2/stages.json",{method:"Get",params:be})}),Y=be=>u(void 0,null,function*(){return(0,r.ZP)(`/api/v2/stage_shixuns/${be.id}/children.json`,{method:"Get",params:be})});function oe(be){return u(this,null,function*(){return(0,r.ZP)("/api/stages.json",{method:"get",params:be})})}function ie(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/update_team_title.json`,{method:"post",body:be})})}function ue(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/delete_member.json`,{method:"Delete",body:be})})}function K(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/spoc_courses/${be==null?void 0:be.courseid}.json`,{method:"Delete"})})}function V(be){return u(this,null,function*(){return Fetch(`/api/paths/${be.id}/up_member_position.json`,{method:"post",body:be})})}function G(be){return u(this,null,function*(){return Fetch(`/api/paths/${be.id}/down_member_position.json`,{method:"post",body:be})})}function te(be){return u(this,null,function*(){return(0,r.ZP)("/api/collections.json",{method:"post",body:be})})}function q(be){return u(this,null,function*(){return(0,r.ZP)("/api/collections/cancel.json",{method:"Delete",body:be})})}function J(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}.json`,{method:"Delete",body:be})})}function le(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/publish.json`,{method:"post",body:be})})}function z(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/cancel_publish.json`,{method:"post",body:be})})}function F(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/apply_public.json`,{method:"post",body:be})})}function se(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/cancel_public.json`,{method:"post",body:be})})}function _e(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/choose_course.json`,{method:"get",params:be})})}function Pe(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/send_to_course.json`,{method:"post",body:be})})}function Re(be){return u(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${be.id}/send_to_course.json`,{method:"post",body:be})})}function Ze(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/add_subject_members.json`,{method:"post",body:be})})}function $e(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/spoc_courses.json`,{method:"post",body:be})})}function Ht(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/appointment.json`,{method:"post",body:be})})}function bt(be){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${be.id}/join_excellent_course.json`,{method:"post",body:be})})}function Ot(be){return u(this,null,function*(){return(0,r.ZP)("/api/watch_attachment_histories.json",{method:"post",body:be})})}function qt(be){return u(this,null,function*(){return Fetch(`/api/paths/${be.id}/statistics_info.json`,{method:"get",params:be})})}function er(be){return u(this,null,function*(){return Fetch(`/api/paths/${be.id}/shixun_analyze.json`,{method:"get",params:be})})}function Jt(be){return u(this,null,function*(){return Fetch(`/api/paths/${be.id}/learning_analyze.json`,{method:"get",params:be})})}function Xe(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/learning_statistics.json`,{method:"get",params:be})})}function Pt(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/shixun_statistics.json`,{method:"get",params:be})})}function Ut(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/study_analyze/${be.type}.json`,{method:"get",params:be})})}function st(be){return u(this,null,function*(){return Fetch("/api/paths/append_to_stage.json",{method:"post",body:be})})}function yt(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be.id}.json`,{method:"put",body:be})})}function ht(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be.id}/add_shixun_to_stage.json`,{method:"post",body:be})})}const Je=be=>u(void 0,null,function*(){return(0,r.ZP)(`/api/stages/${be==null?void 0:be.stage_id}/select_challenge_to_stage.json`,{method:"post",body:be})});function je(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be.id}/select_shixun_to_stage.json`,{method:"post",body:be})})}function ge(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be.id}/add_video_to_stage.json`,{method:"post",body:be})})}function Se(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be.id}/add_attachment_to_stage.json`,{method:"post",body:be})})}function Me(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stage_shixuns/${be.id}.json`,{method:"put",body:be})})}function Ne(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be.id}/add_blank_to_stage.json`,{method:"post",body:be})})}function He(be){return u(this,null,function*(){return(0,r.ZP)("/api/stages.json",{method:"post",body:be})})}function nt(be){return u(this,null,function*(){return Fetch("/api/paths/add_shixun_to_stage.json",{method:"post",body:be})})}function ct(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be.id}/up_position.json`,{method:"get"})})}function Vt(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be.id}/down_position.json`,{method:"get"})})}function Wt(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be.id}.json`,{method:"delete"})})}function Ie(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.pathId}/discusses.json`,{method:"get",params:h({},be)})})}function qe(be){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${be.coursesId}/excellent_discusses.json`,{method:"get",params:h({},be)})})}function Gt(be){return u(this,null,function*(){return Fetch("/api/discusses.json",{method:"post",body:h({},be)})})}function kt(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be.stage_id}/items/move_position`,{method:"post",body:h({},be)})})}function Zt(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be.stage_id}/items/${be.id}`,{method:"delete"})})}function Nt(be){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${be.id}/excellent_discuss`,{method:"post",body:h({},be)})})}function Ct(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/post_discuss`,{method:"post",body:h({},be)})})}function Yt(be){return u(this,null,function*(){return(0,r.ZP)("/api/schools/for_option.json",{method:"get",params:be})})}function We(be){return u(this,null,function*(){return(0,r.ZP)("/api/schools/province_data.json",{method:"get",params:be})})}function fe(be){return u(this,null,function*(){return(0,r.ZP)("/api/add_school_applies.json",{method:"post",body:be})})}function pe(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be==null?void 0:be.id}/add_homework_to_stage.json`,{method:"post",body:be})})}function Dt(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stage_shixuns/${be==null?void 0:be.id}/edit.json`,{method:"get",params:be})})}function Ce(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stage_shixuns/${be==null?void 0:be.id}.json`,{method:"put",body:be})})}function dt(be){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${be==null?void 0:be.user_id}/subjects/subject_homework.json`,{method:"get",params:be})})}function zt(be){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${be==null?void 0:be.user_id}/courses/course_homework.json`,{method:"get",params:be})})}function Tt(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be==null?void 0:be.id}/batch_add_homework_to_stage.json`,{method:"post",body:be})})}function Oe(be){return u(this,null,function*(){return(0,r.ZP)("/api/paths/get_homework_detail.json",{method:"get",params:be})})}function St(be){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${be==null?void 0:be.user_login}/subjects/cancel.json`,{method:"get",params:be})})}},7299:function(d,g,e){"use strict";e.d(g,{Fd:function(){return te},Hi:function(){return y},IU:function(){return Q},KE:function(){return b},Kc:function(){return J},MK:function(){return X},Q9:function(){return D},Qg:function(){return j},Qn:function(){return R},UK:function(){return p},W:function(){return z},Ye:function(){return N},_c:function(){return a},hO:function(){return ue},iV:function(){return le},jy:function(){return Y},kp:function(){return ie},lf:function(){return T},m7:function(){return _},n$:function(){return L},rJ:function(){return M},s3:function(){return x},ux:function(){return S},vf:function(){return G},wh:function(){return oe},wo:function(){return q},x$:function(){return V}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,s=(F,se,_e)=>se in F?i(F,se,{enumerable:!0,configurable:!0,writable:!0,value:_e}):F[se]=_e,h=(F,se)=>{for(var _e in se||(se={}))c.call(se,_e)&&s(F,_e,se[_e]);if(l)for(var _e of l(se))f.call(se,_e)&&s(F,_e,se[_e]);return F},u=(F,se,_e)=>new Promise((Pe,Re)=>{var Ze=bt=>{try{Ht(_e.next(bt))}catch(Ot){Re(Ot)}},$e=bt=>{try{Ht(_e.throw(bt))}catch(Ot){Re(Ot)}},Ht=bt=>bt.done?Pe(bt.value):Promise.resolve(bt.value).then(Ze,$e);Ht((_e=_e.apply(F,se)).next())});const a=F=>u(void 0,null,function*(){return(0,r.ZP)(`/api/poll_questions/${F==null?void 0:F.id}/commit_word_cloud.json`,{method:"Get",params:F})});function x(F){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${F.categoryId}/poll_lists.json`,{method:"get",params:h({},F)})})}function p(F){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${F.categoryId}/common_header.json`,{method:"get"})})}function y(F){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${F.categoryId}/poll_setting.json`,{method:"get"})})}function _(F){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${F.categoryId}/commit_setting.json`,{method:"post",body:h({},F)})})}function b(F){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${F.coursesId}/polls/end_poll_modal.json`,{method:"get",params:h({},F)})})}function S(F){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${F.categoryId}/publish_groups.json`,{method:"get",params:h({},F)})})}function R(F){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${F.categoryId}/commit_result.json`,{method:"get",params:h({},F)})})}function L(F){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/bank_list.json",{method:"get",params:h({},F)})})}function T(F){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/save_banks.json",{method:"POST",body:h({},F)})})}function D(F){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${F.coursesId}/polls/publish_modal.json`,{method:"get",params:h({},F)})})}function M(F){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${F.coursesId}/polls.json`,{method:"POST",body:h({},F)})})}function N(F){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${F.categoryId}/edit.json`,{method:"get"})})}function j(F){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${F.pollsId}.json`,{method:"put",body:h({},F)})})}function Q(F){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${F.pollsId}.json`,{method:"put",body:h({},F)})})}function X(F){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${F.pollsId}/poll_questions.json`,{method:"post",body:h({},F)})})}function Y(F){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${F.pollsId}.json`,{method:"delete",body:h({},F)})})}function oe(F){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${F.pollsId}/up_down.json`,{method:"post",body:h({},F)})})}function ie(F){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_banks/${F.topicId}.json`,{method:"get"})})}function ue(F){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_banks/${F.topicId}.json`,{method:"put",body:h({},F)})})}function K(F){return u(this,null,function*(){return Fetch(`/api/exercise_banks/${F.topicId}.json`,{method:"put",body:h({},F)})})}function V(F){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_bank_questions/${F.pollsId}.json`,{method:"delete",body:h({},F)})})}function G(F){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${F.pollsId}/up_down.json`,{method:"post",body:h({},F)})})}function te(F){return u(this,null,function*(){return(0,r.ZP)("/api/poll_bank_questions.json",{method:"post",body:h({},F)})})}function q(F){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_bank_questions/${F.pollsId}.json`,{method:"put",body:h({},F)})})}function J(F){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_bank_questions/${F.id}.json`,{method:"put",body:h({},F)})})}function le(F){return u(this,null,function*(){return(0,r.ZP)("/api/exercise_bank_questions.json",{method:"post",body:h({},F)})})}function z(F){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_bank_questions/${F.exerciseId}/up_down.json`,{method:"post",body:h({},F)})})}},46722:function(d,g,e){"use strict";e.d(g,{$c:function(){return nt},A1:function(){return Ne},Bd:function(){return D},Bo:function(){return K},Cc:function(){return te},Cn:function(){return le},DF:function(){return L},Dm:function(){return Xe},FG:function(){return ue},GW:function(){return Pt},HF:function(){return X},Hm:function(){return F},IJ:function(){return Me},L5:function(){return Jt},LS:function(){return st},MZ:function(){return ge},Mr:function(){return ie},NZ:function(){return Ht},Of:function(){return S},Pl:function(){return R},Qj:function(){return _},Qp:function(){return ht},RT:function(){return Ie},Rp:function(){return yt},U6:function(){return Y},Vl:function(){return q},Wk:function(){return oe},YP:function(){return z},Ys:function(){return N},al:function(){return M},bF:function(){return ct},d1:function(){return y},dt:function(){return Vt},et:function(){return _e},ex:function(){return b},fY:function(){return Pe},fn:function(){return T},hI:function(){return bt},hg:function(){return je},iT:function(){return V},lS:function(){return $e},nD:function(){return Ut},qN:function(){return se},rV:function(){return j},s:function(){return Ze},sD:function(){return Se},sS:function(){return er},ts:function(){return G},vi:function(){return He},wX:function(){return Je},x5:function(){return Q},zh:function(){return Re}});var r=e(38986),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(qe,Gt,kt)=>Gt in qe?i(qe,Gt,{enumerable:!0,configurable:!0,writable:!0,value:kt}):qe[Gt]=kt,a=(qe,Gt)=>{for(var kt in Gt||(Gt={}))s.call(Gt,kt)&&u(qe,kt,Gt[kt]);if(f)for(var kt of f(Gt))h.call(Gt,kt)&&u(qe,kt,Gt[kt]);return qe},x=(qe,Gt)=>l(qe,c(Gt)),p=(qe,Gt,kt)=>new Promise((Zt,Nt)=>{var Ct=fe=>{try{We(kt.next(fe))}catch(pe){Nt(pe)}},Yt=fe=>{try{We(kt.throw(fe))}catch(pe){Nt(pe)}},We=fe=>fe.done?Zt(fe.value):Promise.resolve(fe.value).then(Ct,Yt);We((kt=kt.apply(qe,Gt)).next())});function y(qe){return p(this,null,function*(){return(0,r.ZP)("/api/disciplines.json",{method:"get",params:x(a({},qe),{clazz:"ItemBanksGroup"})})})}function _(qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/basket_list.json",{method:"get",params:qe})})}function b(qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks_groups/for_problemset.json",{method:"post",body:qe})})}function S(qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/list.json",{method:"post",body:qe})})}function R(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${qe.id}/set_private.json`,{method:"post"})})}function L(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${qe.id}/set_public.json`,{method:"post"})})}function T(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${qe.id}.json`,{method:"delete"})})}function D(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/problems/${qe.id}/start.json`,{method:"get"})})}function M(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${qe.id}.json`,{method:"delete",body:a({},qe)})})}function N(qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets.json",{method:"post",body:qe})})}function j(qe){return p(this,null,function*(){return(0,r.ZP)("/api/examination_banks/cancel_items.json",{method:"post",body:qe})})}function Q(qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/delete_item_type.json",{method:"delete",body:{item_type:qe.type}})})}function X(qe){return p(this,null,function*(){return(0,r.ZP)("/api/examination_banks/cancel_items.json",{method:"post",body:qe})})}function Y(qe){return p(this,null,function*(){return(0,r.ZP)("/api/tag_disciplines.json",{method:"post",body:qe})})}function oe(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${qe.id}.json`,{method:"put",body:qe})})}function ie(qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks.json",{method:"post",body:qe})})}function ue(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${qe.id}/edit.json`,{method:"get"})})}function K(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/problems/${qe.id}/edit.json`,{method:"get"})})}function V(qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets.json",{method:"get",params:qe})})}function G(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${qe.id}/set_score.json`,{method:"post",body:qe})})}function te(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${qe.id}/set_challenge_score.json`,{method:"post",body:qe})})}function q(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${qe.id}/combination_set_score.json`,{method:"post",body:qe})})}function J(qe){return p(this,null,function*(){return Fetch(`/api/examination_banks//${qe.exerid}/examination_banks_item_banks/${qe.id}/combination_set_score.json`,{method:"post",body:qe})})}function le(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${qe.id}.json`,{method:"delete"})})}function z(qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/batch_set_score.json",{method:"post",body:qe})})}function F(qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/delete_item_type.json",{method:"delete",body:qe})})}function se(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${qe.id}/adjust_position.json`,{method:"post",body:qe})})}function _e(qe){return p(this,null,function*(){return(0,r.ZP)("/api/examination_banks.json",{method:"post",body:qe})})}function Pe(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${qe.id}/revoke_item.json`,{method:"delete",body:qe})})}function Re(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${qe.exam_id}/examination_banks_item_banks.json`,{method:"post",body:qe})})}function Ze(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${qe.id}/join_to_collection.json`,{method:"post",params:qe})})}function $e(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${qe.id}/cancel_collection.json`,{method:"post",params:qe})})}function Ht(qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks_groups.json",{method:"get",params:qe})})}function bt(qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks_groups/mine.json",{method:"get",params:qe})})}function Ot(qe){return p(this,null,function*(){return Fetch(`/api/item_banks/${qe.id}/join_to_group.json`,{method:"post",body:qe})})}function qt(qe){return p(this,null,function*(){return Fetch(`/api/item_banks_groups/${qe.id}.json`,{method:"put",body:qe})})}function er(qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks_groups.json",{method:"post",body:qe})})}function Jt(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${qe.id}/feedback.json`,{method:"post",body:qe})})}function Xe(qe){return p(this,null,function*(){return(0,r.ZP)("/api/teach_group_shares.json",{method:"get",params:qe})})}function Pt(qe){return p(this,null,function*(){return(0,r.ZP)("/api/teach_group_shares.json",{method:"post",body:qe})})}function Ut(qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/batch_delete.json",{method:"post",body:qe})})}function st(qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/batch_to_group.json",{method:"post",body:qe})})}function yt(qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/add_to_mine.json",{method:"post",body:qe})})}function ht(qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/set_batch_public.json",{method:"post",body:qe})})}function Je(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${qe==null?void 0:qe.id}/set_public.json`,{method:"post",body:qe})})}function je(qe){return p(this,null,function*(){return(0,r.ZP)("/api/teach_group_shares/show_groups.json",{method:"get",params:qe})})}function ge(qe){return(0,r.ZP)(`/api/problems/${qe.identifier}/publish.json`,{method:"post",body:qe})}function Se(qe){return(0,r.ZP)(`/api/problems/${qe.identifier}/cancel_publish.json`,{method:"post",body:qe})}function Me(qe){return(0,r.ZP)("/api/item_banks/cancel_public.json",{method:"post",body:{ids:[...qe.id]}})}function Ne(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks_groups/${qe.id}/up_position.json`,{method:"get",params:qe})})}function He(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks_groups/${qe.id}/down_position.json`,{method:"get",params:qe})})}function nt(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${qe.id}/edit_hack.json`,{method:"get",params:qe})})}function ct(qe){return p(this,null,function*(){return(0,r.ZP)("/api/problems/batch_publish_condition.json",{method:"post",body:qe})})}function Vt(qe){return p(this,null,function*(){return(0,r.ZP)("/api/problems/batch_publish.json",{method:"post",body:qe})})}function Wt(qe){return p(this,null,function*(){return Fetch("/api/item_banks/get_groups.json",{method:"get",params:qe})})}function Ie(){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/delete_all_items.json",{method:"delete"})})}},506:function(d,g,e){"use strict";e.d(g,{E1:function(){return f},Go:function(){return l},H5:function(){return c}});var r=e(38986),i=(s,h,u)=>new Promise((a,x)=>{var p=b=>{try{_(u.next(b))}catch(S){x(S)}},y=b=>{try{_(u.throw(b))}catch(S){x(S)}},_=b=>b.done?a(b.value):Promise.resolve(b.value).then(p,y);_((u=u.apply(s,h)).next())});function l(s){return i(this,null,function*(){return(0,r.ZP)("/api/restfuls.json",{method:"get",params:s})})}function c(s){return i(this,null,function*(){return(0,r.ZP)(`/api/restfuls/${s.id}.json`,{method:"get",params:s})})}function f(s){return i(this,null,function*(){return(0,r.ZP)(`/api/restfuls/${s.id}.json`,{method:"delete",params:s})})}},1247:function(d,g,e){"use strict";e.d(g,{Am:function(){return _},Ar:function(){return Xe},BD:function(){return He},Be:function(){return Je},Dx:function(){return q},Fr:function(){return pe},G$:function(){return R},GS:function(){return Y},Gw:function(){return S},H:function(){return er},H1:function(){return Jt},Hj:function(){return ct},JA:function(){return Wt},JG:function(){return te},KE:function(){return z},Lz:function(){return Me},Mf:function(){return qt},NA:function(){return bt},PC:function(){return $e},PP:function(){return Ht},PW:function(){return st},Q3:function(){return J},QC:function(){return Ie},Qt:function(){return Ne},Qz:function(){return D},R$:function(){return We},RP:function(){return ue},Ti:function(){return Tt},Uc:function(){return Zt},Ul:function(){return V},VB:function(){return dt},Vs:function(){return Nt},Wr:function(){return L},Xn:function(){return K},YQ:function(){return Ot},Yn:function(){return b},Z8:function(){return Q},ak:function(){return Ut},cN:function(){return N},co:function(){return je},cz:function(){return Re},fK:function(){return X},gG:function(){return Ze},gZ:function(){return kt},h$:function(){return j},ku:function(){return Se},lf:function(){return se},m7:function(){return G},mQ:function(){return M},mz:function(){return ht},n$:function(){return F},oK:function(){return y},oN:function(){return zt},pH:function(){return nt},pb:function(){return Ce},qP:function(){return qe},ql:function(){return Gt},rN:function(){return ge},sw:function(){return _e},t1:function(){return Pe},to:function(){return ie},ub:function(){return Vt},ux:function(){return le},wS:function(){return Dt},wT:function(){return T},yT:function(){return Pt},yy:function(){return Ct},z2:function(){return yt}});var r=e(38986),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(Oe,St,be)=>St in Oe?i(Oe,St,{enumerable:!0,configurable:!0,writable:!0,value:be}):Oe[St]=be,a=(Oe,St)=>{for(var be in St||(St={}))s.call(St,be)&&u(Oe,be,St[be]);if(f)for(var be of f(St))h.call(St,be)&&u(Oe,be,St[be]);return Oe},x=(Oe,St)=>l(Oe,c(St)),p=(Oe,St,be)=>new Promise((Ke,vt)=>{var Rt=At=>{try{kr(be.next(At))}catch(Kr){vt(Kr)}},Fe=At=>{try{kr(be.throw(At))}catch(Kr){vt(Kr)}},kr=At=>At.done?Ke(At.value):Promise.resolve(At.value).then(Rt,Fe);kr((be=be.apply(Oe,St)).next())});const y=Oe=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.id}/update_journals.json`,{method:"post",body:Oe})}),_=Oe=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe==null?void 0:Oe.homeworkId}/change_score.json`,{method:"post",body:Oe})}),b=Oe=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe==null?void 0:Oe.homeworkId}/history_comment`,{method:"Get",params:Oe})}),S=Oe=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe==null?void 0:Oe.homeworkId}/feedback_know`,{method:"Get",params:Oe})}),R=Oe=>p(void 0,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe==null?void 0:Oe.userId}/student_work_feedbacks.json`,{method:"POST",body:Oe})}),L=Oe=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe==null?void 0:Oe.userId}/feedback_list.json`,{method:"Get",params:Oe})}),T=Oe=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe==null?void 0:Oe.userId}/histories.json`,{method:"Get",params:Oe})}),D=Oe=>p(void 0,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe==null?void 0:Oe.homeworkId}/feedback_list`,{method:"Get",params:Oe})}),M=Oe=>p(void 0,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe==null?void 0:Oe.homeworkId}/anonymous_exception_list.json`,{method:"Get",params:Oe})}),N=Oe=>p(void 0,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe==null?void 0:Oe.homeworkId}/appeal_list`,{method:"Get",params:Oe})});function j(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/works_list.json`,{method:"post",body:a({},Oe)})})}function Q(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/shixun_homeworks/${Oe.categoryId}/student_works.json`,{method:"get",params:a({},Oe)})})}function X(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/shixun_homeworks/${Oe.categoryId}/header_info.json`,{method:"get",params:a({},Oe)})})}function Y(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe}/query_game_url.json`,{method:"get"})})}function oe(Oe){return p(this,null,function*(){return Fetch(`/api/student_works/${Oe}/get_newest_shixun_work_comments.json`,{method:"get"})})}function ie(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}.json`,{method:"get"})})}function ue(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/code_review_results.json`,{method:"get",params:a({},Oe)})})}function K(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/code_review_detail.json`,{method:"get",params:a({},Oe)})})}function V(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/settings.json`,{method:"get",params:a({},Oe)})})}function G(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/update_settings.json`,{method:"post",body:a({},Oe)})})}function te(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/group_list.json`,{method:"get",params:a({},Oe)})})}function q(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/works_list.xlsx`,{method:"get",params:a({},Oe)})})}function J(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.coursesId}/reference_answer.json`,{method:"get",params:a({},Oe)})})}function le(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/publish_groups.json`,{method:"get",params:a({},Oe)})})}function z(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/end_groups.json`,{method:"get",params:a({},Oe)})})}function F(Oe){return p(this,null,function*(){return(0,r.ZP)("/api/question_banks/bank_list.json",{method:"get",params:a({},Oe)})})}function se(Oe){return p(this,null,function*(){return(0,r.ZP)("/api/question_banks/save_banks.json",{method:"post",body:a({},Oe)})})}function _e(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.homeworkId}/shixun_work_report.json`,{method:"get",params:Oe})})}function Pe(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.homeworkId}/shixun_work_report_echart_data.json`,{method:"get",params:Oe})})}function Re(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Oe.coursesId}/homework_commons/user_hack_detail.json`,{method:"get",params:x(a({},Oe),{id:Oe.categoryId})})})}function Ze(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.categoryId}/adjust_review_score.json`,{method:"post",body:a({},Oe)})})}function $e(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/show_comment.json`,{method:"get",params:a({},Oe)})})}function Ht(Oe){return p(this,null,function*(){return(0,r.ZP)("/api/users/reply_message.json",{method:"post",body:a({},Oe)})})}function bt(Oe){return p(this,null,function*(){return(0,r.ZP)("/api/praise_tread/like.json",{method:"post",body:a({},Oe)})})}function Ot(Oe){return p(this,null,function*(){return(0,r.ZP)("/api/praise_tread/unlike.json",{method:"delete",body:a({},Oe)})})}function qt(Oe){return p(this,null,function*(){return(0,r.ZP)("/api/commons/delete.json",{method:"delete",body:a({},Oe)})})}function er(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/update_explanation.json`,{method:"post",body:a({},Oe)})})}function Jt(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Oe.coursesId}/homework_commons.json`,{method:"post",body:a({},Oe)})})}function Xe(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}.json`,{method:"put",body:a({},Oe)})})}function Pt(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_banks/${Oe.id}.json`,{method:"put",body:a({},Oe)})})}function Ut(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.commonHomeworkId}/student_works/new.json`,{method:"get",params:a({},Oe)})})}function st(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.homeworkId}/edit.json`,{method:"get",params:a({},Oe)})})}function yt(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.homeworkId}.json`,{method:"put",body:a({},Oe)})})}function ht(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.homeworkId}/revise_attachment.json`,{method:"post",body:a({},Oe)})})}function Je(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.commonHomeworkId}/student_works.json`,{method:"post",body:a({},Oe)})})}function je(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.homeworkId}/student_works/relate_project.json`,{method:"post",body:a({},Oe)})})}function ge(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.homeworkId}/student_works/cancel_relate_project.json`,{method:"get"})})}function Se(Oe){return p(this,null,function*(){return(0,r.ZP)("/api/users/projects/search.json",{method:"get",params:a({},Oe)})})}function Me(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.commonHomeworkId}/student_works/search_member_list.json`,{method:"get",params:a({},Oe)})})}function Ne(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Oe.coursesId}/homework_commons/new.json`,{method:"get",params:a({},Oe)})})}function He(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/edit.json`,{method:"get",params:a({},Oe)})})}function nt(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_banks/${Oe.id}.json`,{method:"get",params:a({},Oe)})})}function ct(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.userId}.json`,{method:"get",params:a({},Oe)})})}function Vt(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.userId}/supply_attachments.json`,{method:"get",params:a({},Oe)})})}function Wt(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.userId}/comment_list.json`,{method:"get",params:a({},Oe)})})}function Ie(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.userId}/destroy_score.json`,{method:"delete",body:a({},Oe)})})}function qe(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.userId}/add_score_reply.json`,{method:"post",body:a({},Oe)})})}function Gt(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/all_student_works.json`,{method:"get",params:a({},Oe)})})}function kt(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.homeworkId}/destroy_work_comment.json`,{method:"delete",body:a({},Oe)})})}function Zt(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/score_status.json`,{method:"get",params:a({},Oe)})})}function Nt(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/update_score.json`,{method:"get",params:a({},Oe)})})}function Ct(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.userId}/add_score.json`,{method:"post",body:a({},Oe)})})}function Yt(Oe){return p(this,null,function*(){return Fetch(`/api/student_works/${Oe.userId}/cancel_appeal.json`,{method:"post",body:a({},Oe)})})}function We(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.userId}/appeal_anonymous_score.json`,{method:"post",body:a({},Oe)})})}function fe(Oe){return p(this,null,function*(){return Fetch(`/api/student_works/${Oe.userId}/deal_appeal_score.json`,{method:"post",body:a({},Oe)})})}function pe(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/myshixuns/${Oe.id}/reset_my_game.json`,{method:"get",params:a({},Oe)})})}function Dt(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.homeworkId}/commit_des.json`,{method:"get",params:a({},Oe)})})}function Ce(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.homeworkId}/update_des.json`,{method:"post",body:a({},Oe)})})}function dt(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Oe.coursesId}/homework_commons/file_repeat_list.json`,{method:"get",params:a({},Oe)})})}function zt(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Oe.coursesId}/homework_commons/file_repeat_result.json`,{method:"get",params:a({},Oe)})})}function Tt(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Oe.course_id}/homework_commons/file_repeat_detail.json`,{method:"get",params:a({},Oe)})})}},75736:function(d,g,e){"use strict";e.d(g,{$Q:function(){return Br},AE:function(){return Nt},AQ:function(){return M},Ag:function(){return St},Ar:function(){return le},At:function(){return Lt},BK:function(){return Q},Bj:function(){return Ut},DC:function(){return Xe},Dz:function(){return mt},E4:function(){return Jt},EH:function(){return se},Ee:function(){return yn},Er:function(){return q},FB:function(){return j},Fg:function(){return S},GI:function(){return Re},Gr:function(){return ht},Gu:function(){return Pe},Gz:function(){return b},HS:function(){return wt},Hl:function(){return y},IT:function(){return Tt},I_:function(){return T},Ir:function(){return X},Je:function(){return Fe},K:function(){return $t},K0:function(){return Mr},KM:function(){return K},K_:function(){return Ur},LK:function(){return kr},LP:function(){return Ze},Ne:function(){return te},OV:function(){return Ht},OW:function(){return F},Op:function(){return Ar},P2:function(){return Ot},Po:function(){return D},Ps:function(){return Je},Q:function(){return G},Q1:function(){return Cr},QA:function(){return Ei},Ql:function(){return ge},Rs:function(){return Ie},SG:function(){return Yi},Tn:function(){return Yt},Tr:function(){return mi},U0:function(){return He},U9:function(){return je},UQ:function(){return Ce},Ui:function(){return _r},Vx:function(){return ot},WO:function(){return J},WT:function(){return Xi},Wi:function(){return st},Wl:function(){return be},X$:function(){return qt},Yn:function(){return fe},Z2:function(){return Pt},ZO:function(){return yt},Zt:function(){return gt},_7:function(){return V},_9:function(){return pe},aH:function(){return Se},al:function(){return Vt},b8:function(){return z},bq:function(){return We},dK:function(){return Y},e:function(){return R},eX:function(){return _e},eb:function(){return qe},fL:function(){return Rt},h4:function(){return gr},hS:function(){return _},he:function(){return L},hn:function(){return ie},ii:function(){return Wt},im:function(){return Dt},j8:function(){return $e},jq:function(){return qr},kF:function(){return Kr},km:function(){return ct},l3:function(){return bt},m7:function(){return Ne},mI:function(){return Si},n5:function(){return N},nu:function(){return At},p0:function(){return zt},q0:function(){return Zt},q9:function(){return or},qA:function(){return cn},rO:function(){return kt},rs:function(){return ue},sr:function(){return dt},t2:function(){return Oe},tX:function(){return Zn},uo:function(){return nt},v3:function(){return vt},w:function(){return Ke},xK:function(){return Ct},xg:function(){return Gt},xk:function(){return er},yE:function(){return Me},yx:function(){return xi},zD:function(){return oe},zH:function(){return sn}});var r=e(38986),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(ut,Jn,Ai)=>Jn in ut?i(ut,Jn,{enumerable:!0,configurable:!0,writable:!0,value:Ai}):ut[Jn]=Ai,a=(ut,Jn)=>{for(var Ai in Jn||(Jn={}))s.call(Jn,Ai)&&u(ut,Ai,Jn[Ai]);if(f)for(var Ai of f(Jn))h.call(Jn,Ai)&&u(ut,Ai,Jn[Ai]);return ut},x=(ut,Jn)=>l(ut,c(Jn)),p=(ut,Jn,Ai)=>new Promise((ei,Gi)=>{var vi=tr=>{try{En(Ai.next(tr))}catch(_t){Gi(_t)}},si=tr=>{try{En(Ai.throw(tr))}catch(_t){Gi(_t)}},En=tr=>tr.done?ei(tr.value):Promise.resolve(tr.value).then(vi,si);En((Ai=Ai.apply(ut,Jn)).next())});const y=ut=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/statistics_header.json",{method:"Get",params:ut})}),_=ut=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/online_count.json",{method:"Get",params:ut})}),b=ut=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/statistics_body.json",{method:"Get",params:ut})}),S=ut=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/rank_list.json",{method:"Get",params:ut})}),R=ut=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/shixun_use_infos.json",{method:"Get",params:ut})});function L(ut){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns.json",{method:"Get",params:a({},ut)})})}function T(ut){return p(this,null,function*(){return(0,r.ZP)("/api/disciplines.json",{method:"Get",params:a({source:"shixun"},ut||{})})})}function D(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}.json`,{method:"Get",params:ut})})}function M(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/show_right.json`,{method:"Get"})})}function N(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges.json`,{method:"Get"})})}function j(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/save_copy_for_exercise.json`,{method:"post",body:{save_type:ut.save_type}})})}function Q(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/jupyter_exec.json${ut.reset?`?reset=${ut.reset}`:""}`,{method:"Get",params:ut})})}function X(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/shixun_exec.json${ut.reset?`?reset=${ut.reset}`:""}`,{method:"Get",params:ut})})}function Y(ut){return p(this,null,function*(){return(0,r.ZP)(ut.url,{method:"Get"})})}function oe(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.shixun_identifier}/challenges/${ut.challenge_id}/index_up.json`,{method:"Get"})})}function ie(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.shixun_identifier}/challenges/${ut.challenge_id}/index_down.json`,{method:"Get"})})}function ue(ut){return p(this,null,function*(){return(0,r.ZP)("/api/collections/cancel.json",{method:"Delete",body:{container_id:ut.container_id,container_type:ut.container_type}})})}function K(ut){return p(this,null,function*(){return(0,r.ZP)("/api/collections.json",{method:"Post",body:{container_id:ut.container_id,container_type:ut.container_type}})})}function V(ut){return p(this,null,function*(){const{id:Jn}=ut||{};return(0,r.ZP)(`/api/shixuns/${Jn}/search_user_courses.json`,{method:"Get",params:ut})})}function G(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut==null?void 0:ut.id}/send_to_course.json`,{method:"Post",body:a({},ut)})})}function te(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/cancel_publish.json`,{method:"Get"})})}function q(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/cancel_apply_public.json`,{method:"Get"})})}function J(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/apply_public.json`,{method:"post",body:a({},ut)})})}function le(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/publish.json`,{method:"Get"})})}function z(ut){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/jupyter_new.json",{method:"Get"})})}function F(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/attachments/${ut.id}.json`,{method:"delete"})})}function se(ut){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/apply_shixun_mirror.json",{method:"post",body:ut})})}function _e(ut){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns.json",{method:"post",body:ut})})}function Pe(ut){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/jupyter_lab_new.json",{method:"get",params:ut})})}function Re(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/review_newest_record.json`,{method:"Get"})})}function Ze(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/review_shixun.json`,{method:"post",body:ut})})}function $e(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/collaborators.json`,{method:"Get",params:ut})})}function Ht(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/shixun_members_added.json`,{method:"post",body:ut})})}function bt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.identifier}/add_members_group.json`,{method:"post",body:ut})})}function Ot(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/change_manager.json`,{method:"Get",params:ut})})}function qt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/change_manager.json`,{method:"post",body:ut})})}function er(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/collaborators_delete.json`,{method:"delete",body:{user_id:ut.userId}})})}function Jt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/ranking_list.json`,{method:"Get"})})}function Xe(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/settings.json`,{method:"Get"})})}function Pt(ut){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/get_mirror_script.json",{method:"Get",params:{mirror_id:ut.mirror_id}})})}function Ut(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/get_script_contents.json`,{method:"Get",params:ut})})}function st(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/get_custom_script.json`,{method:"Get",params:ut})})}function yt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/update_for_jupyter.json`,{method:"put",body:ut})})}function ht(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/shixun_quotes.json`,{method:"Get"})})}function Je(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}.json`,{method:"delete"})})}function je(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/close.json`,{method:"post",body:ut})})}function ge(ut){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/departments.json",{method:"Get",params:ut})})}function Se(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/update_permission_setting.json`,{method:"post",body:ut})})}function Me(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/update_learn_setting.json`,{method:"post",body:ut})})}function Ne(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/update_setting`,{method:"post",body:ut})})}function He(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/get_data_sets.json`,{method:"Get",params:ut})})}function nt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/destroy_data_sets.json`,{method:"Delete",body:{id:ut.deleteId}})})}function ct(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/new.json`,{method:"get"})})}function Vt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.identifier}/challenges.json`,{method:"post",body:a({},ut)})})}function Wt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengeId}/edit.json`,{method:"get",params:{tab:ut.tab}})})}function Ie(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengesId}.json`,{method:"put",body:a({},ut)})})}function qe(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengesId}/choose_questions.json`,{method:"get"})})}function Gt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/move_position.json`,{method:"post",body:a({},ut)})})}function kt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengesId}.json`,{method:"delete",body:a({},ut)})})}function Zt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengesId}/edit.json`,{method:"get",params:a({},ut)})})}function Nt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengeId}/answer.json`,{method:"get",params:a({},ut)})})}function Ct(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengeId}/crud_answer.json`,{method:"post",body:a({},ut)})})}function Yt(ut){return p(this,null,function*(){if(ut.type===1)return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengesId}/create_choose_question.json`,{method:"post",body:a({},ut)});if(ut.type===2)return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengesId}/create_blank_question.json`,{method:"post",body:a({},ut)});if(ut.type===3)return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengesId}/create_judge_question.json`,{method:"post",body:a({},ut)})})}function We(ut){return p(this,null,function*(){if(ut.type===1)return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengesId}/update_choose_question.json`,{method:"post",body:x(a({},ut),{choose_id:ut.questionId})});if(ut.type===2)return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengesId}/update_blank_question.json`,{method:"put",body:x(a({},ut),{choose_id:ut.questionId})});if(ut.type===3)return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengesId}/update_judge_question.json`,{method:"put",body:x(a({},ut),{choose_id:ut.questionId})})})}function fe(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengesId}/destroy_challenge_choose.json`,{method:"Delete",body:{choose_id:ut.questionId}})})}function pe(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengesId}/choose_question_up_position.json`,{method:"post",body:{challenge_choose_id:ut.questionId}})})}function Dt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengesId}/choose_question_down_position.json`,{method:"post",body:{challenge_choose_id:ut.questionId}})})}function Ce(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengesId}/edit_choose_question.json`,{method:"get",params:x(a({},ut),{choose_id:ut.questionId})})})}function dt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/delete_git_file.json`,{method:"Delete",body:ut})})}function zt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${ut.id}/delete_git_file.json`,{method:"Delete",body:ut})})}function Tt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/mv_file.json`,{method:"post",body:ut})})}function Oe(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${ut.id}/mv_file.json`,{method:"post",body:ut})})}function St(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/repository.json`,{method:"post",body:ut})})}function be(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${ut.id}/repository.json`,{method:"post",body:ut})})}function Ke(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/secret_repository.json`,{method:"post",body:ut})})}function vt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/add_file.json`,{method:"post",body:ut})})}function Rt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${ut.id}/add_file.json`,{method:"post",body:ut})})}function Fe(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/commits.json`,{method:"post",body:ut})})}function kr(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/file_content.json`,{method:"post",body:ut})})}function At(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${ut.id}/file_content.json`,{method:"post",body:ut})})}function Kr(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/update_file.json`,{method:"post",body:ut})})}function qr(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${ut.id}/update_file.json`,{method:"post",body:ut})})}function Ar(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/upload_git_folder.json`,{method:"post",body:{path:ut.path,secret_repository:ut.secret_repository}})})}function Br(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/${ut.url}`,{method:"Get"})})}function _r(ut){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/get_info_with_tpm.json",{method:"Get",params:ut})})}function Ur(ut){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/timeinfo_with_tpm.json",{method:"Get",params:ut})})}function sn(ut){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/reset_with_tpm.json",{method:"Get",params:ut})})}function cn(ut){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/save_with_tpm.json",{method:"Get",params:ut})})}function or(ut){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/active_with_tpm.json",{method:"Get",params:ut})})}function Lt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/fork_list.json`,{method:"Get",params:ut})})}function mt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.identifier}/change_editable.json`,{method:"put",body:a({},ut)})})}function gt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/set_secret_dir.json`,{method:"post",body:a({},ut)})})}function $t(ut){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/new.json",{method:"Get",params:ut})})}function Cr(ut){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/environment_info",{method:"Get",params:ut})})}function gr(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/init_repository.json`,{method:"post",body:a({},ut)})})}function ot(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${ut.id}/init_repository.json`,{method:"post",body:a({},ut)})})}function Mr(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/update_secret_repository.json`,{method:"post",body:a({},ut)})})}function yn(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/exist_exercise.json`,{method:"get",params:a({},ut)})})}function Zn(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/mirror_applies/${ut.id}.json`,{method:"get",params:a({},ut)})})}function mr(ut){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${ut.id}/publish.json`,{method:"post",body:a({},ut)})})}function tn(ut){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${ut.id}/open_vnc.json`,{method:"post",params:a({},ut)})})}function hn(ut){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${ut.id}/open_webssh.json`,{method:"post",params:a({},ut)})})}function Fn(ut){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${ut.id}/save_image.json`,{method:"post",body:a({},ut)})})}function ti(ut){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${ut.id}/delete_image.json`,{method:"post",body:a({},ut)})})}function jn(ut){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${ut.id}/extend_vnc.json`,{method:"post",body:a({},ut)})})}function Zi(ut){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${ut.id}/reset_vnc_link.json`,{method:"post",body:a({},ut)})})}function xi(ut){return p(this,null,function*(){return(0,r.ZP)("/api/paths/get_task_pass.json",{method:"get",params:a({},ut)})})}function Si(ut){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/get_info_with_jupyter_lab.json",{method:"get",params:a({},ut)})})}function Ei(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/update_jupyter_lab_setting.json`,{method:"post",body:a({},ut)})})}function mi(ut){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/check_shixun_copy.json",{method:"post",body:ut})})}function Xi(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/progress_homeworks/${ut}`,{method:"get",params:{is_initiative_study:1}})})}function qn(ut){return p(this,null,function*(){return Fetch(`/api/shixuns/${ut.id}/update_shixun_study_num.json`,{method:"post",body:a({},ut)})})}function Yi(ut){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/preview.json",{method:"get",params:ut})})}function wt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut}/recommend_config.json`,{method:"get"})})}},49234:function(d,g,e){"use strict";e.d(g,{Bg:function(){return p},FO:function(){return M},eJ:function(){return b},eZ:function(){return S},fd:function(){return X},gp:function(){return a},iU:function(){return j},l3:function(){return L},mw:function(){return T},oZ:function(){return _},rM:function(){return D},r_:function(){return Q},s:function(){return x},ur:function(){return N},xV:function(){return y},yb:function(){return R}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,s=(Y,oe,ie)=>oe in Y?i(Y,oe,{enumerable:!0,configurable:!0,writable:!0,value:ie}):Y[oe]=ie,h=(Y,oe)=>{for(var ie in oe||(oe={}))c.call(oe,ie)&&s(Y,ie,oe[ie]);if(l)for(var ie of l(oe))f.call(oe,ie)&&s(Y,ie,oe[ie]);return Y},u=(Y,oe,ie)=>new Promise((ue,K)=>{var V=q=>{try{te(ie.next(q))}catch(J){K(J)}},G=q=>{try{te(ie.throw(q))}catch(J){K(J)}},te=q=>q.done?ue(q.value):Promise.resolve(q.value).then(V,G);te((ie=ie.apply(Y,oe)).next())});function a(Y){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Y.coursesId}/teachers.json`,{method:"get",params:h({},Y)})})}function x(Y){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Y.coursesId}/apply_teachers.json`,{method:"get",params:h({},Y)})})}function p(Y){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Y.coursesId}/graduation_group_list.json`,{method:"get",params:h({},Y)})})}function y(Y){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Y.coursesId}/all_course_groups.json`,{method:"get",params:h({},Y)})})}function _(Y){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Y.coursesId}/set_course_group.json`,{method:"post",body:h({},Y)})})}function b(Y){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Y.coursesId}/join_graduation_group.json`,{method:"post",body:h({},Y)})})}function S(Y){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Y.coursesId}/create_graduation_group.json`,{method:"post",body:h({},Y)})})}function R(Y){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Y.coursesId}/delete_course_teacher.json`,{method:"post",body:h({},Y)})})}function L(Y){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Y.coursesId}/delete_from_course.json`,{method:"post",body:h({},Y)})})}function T(Y){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Y.coursesId}/change_member_role.json`,{method:"post",body:h({},Y)})})}function D(Y){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Y.coursesId}/change_course_admin.json`,{method:"post",body:h({},Y)})})}function M(Y){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Y.coursesId}/teacher_application_review.json`,{method:"post",body:h({},Y)})})}function N(Y){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Y.coursesId}/students.json`,{method:"get",params:h({},Y)})})}function j(Y,oe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Y}/apply_students.json`,{method:"get",params:oe})})}function Q(Y,oe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Y}/join_student_checkout.json`,{method:"get",params:oe})})}function X(Y,oe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Y}/student_application_review.json`,{method:"post",body:oe})})}},86245:function(d,g,e){"use strict";e.d(g,{B$:function(){return y},Cx:function(){return V},DA:function(){return D},DH:function(){return p},Ef:function(){return q},Es:function(){return b},Ex:function(){return qt},FM:function(){return ie},Fn:function(){return J},Gq:function(){return Jt},Ho:function(){return N},IU:function(){return _e},JJ:function(){return le},Ol:function(){return $e},Qx:function(){return oe},Tv:function(){return z},V8:function(){return x},WS:function(){return G},WY:function(){return Y},ai:function(){return K},bG:function(){return R},bJ:function(){return a},c0:function(){return er},dE:function(){return se},dt:function(){return F},gI:function(){return te},lO:function(){return ue},mW:function(){return X},n0:function(){return T},nV:function(){return Ze},o1:function(){return Ht},qE:function(){return _},qN:function(){return M},rV:function(){return j},sh:function(){return Re},vR:function(){return S},w3:function(){return Q},x4:function(){return L},z2:function(){return bt}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,s=(Xe,Pt,Ut)=>Pt in Xe?i(Xe,Pt,{enumerable:!0,configurable:!0,writable:!0,value:Ut}):Xe[Pt]=Ut,h=(Xe,Pt)=>{for(var Ut in Pt||(Pt={}))c.call(Pt,Ut)&&s(Xe,Ut,Pt[Ut]);if(l)for(var Ut of l(Pt))f.call(Pt,Ut)&&s(Xe,Ut,Pt[Ut]);return Xe},u=(Xe,Pt,Ut)=>new Promise((st,yt)=>{var ht=ge=>{try{je(Ut.next(ge))}catch(Se){yt(Se)}},Je=ge=>{try{je(Ut.throw(ge))}catch(Se){yt(Se)}},je=ge=>ge.done?st(ge.value):Promise.resolve(ge.value).then(ht,Je);je((Ut=Ut.apply(Xe,Pt)).next())});const a=Xe=>u(void 0,null,function*(){return(0,r.ZP)(`/api/common_comments/${Xe.id}/move.json`,{method:"post",body:Xe})}),x=Xe=>u(void 0,null,function*(){return(0,r.ZP)(`/api/common_comments/${Xe.id}.json`,{method:"delete",body:Xe})}),p=Xe=>u(void 0,null,function*(){return(0,r.ZP)(`/api/common_comments/${Xe.id}.json`,{method:"put",body:Xe})}),y=Xe=>u(void 0,null,function*(){return(0,r.ZP)("/api/common_comments.json",{method:"post",body:Xe})}),_=Xe=>u(void 0,null,function*(){return(0,r.ZP)("/api/common_comments.json",{method:"Get",params:Xe})});function b(Xe){return u(this,null,function*(){return(0,r.ZP)("/api/accounts/login.json",{method:"post",body:h({},Xe)})})}function S(Xe){return u(this,null,function*(){return(0,r.ZP)("/api/accounts/logout.json",{method:"get"})})}function R(Xe){return u(this,null,function*(){return(0,r.ZP)("/api/users/get_user_info.json",{method:"get",params:h({},Xe)})})}function L(Xe){return u(this,null,function*(){return(0,r.ZP)("/api/users/get_notice.json",{method:"get",params:h({},Xe)})})}function T(){return u(this,null,function*(){return(0,r.ZP)("/api/users/system_update.json",{method:"get"})})}function D(Xe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Xe.username}/homepage_info.json`,{method:"get"})})}function M(Xe){return u(this,null,function*(){return(0,r.ZP)("/api/users/attendance.json",{method:"post"})})}function N(Xe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Xe.username}/courses.json`,{method:"get",params:Xe})})}function j(Xe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Xe.username}/shixuns.json`,{method:"get",params:Xe})})}function Q(Xe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Xe.username}/subjects.json`,{method:"get",params:Xe})})}function X(Xe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Xe.username}/projects.json`,{method:"get",params:Xe})})}function Y(Xe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Xe.username}/videos.json`,{method:"get",params:Xe})})}function oe(Xe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Xe.username}/videos/review.json`,{method:"get",params:Xe})})}function ie(Xe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Xe.username}/videos/${Xe.id}.json`,{method:"delete"})})}function ue(Xe){return u(this,null,function*(){return(0,r.ZP)("/api/watch_video_histories.json",{method:"post",body:Xe})})}function K(Xe){return u(this,null,function*(){return(0,r.ZP)("/api/users/question_banks.json",{method:"get",params:Xe})})}function V(Xe){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/multi_public.json",{method:"post",body:Xe})})}function G(Xe){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/multi_delete.json",{method:"delete",body:Xe})})}function te(Xe){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/my_courses.json",{method:"get",params:Xe})})}function q(Xe){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/send_to_course.json",{method:"post",body:Xe})})}function J(Xe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Xe.username}/videos/${Xe.object_id}/create_course_video.json`,{method:"post",body:Xe})})}function le(Xe){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_banks/${Xe.topicId}.json`,{method:"get",params:Xe})})}function z(Xe){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/multi_delete.json",{method:"delete",body:h({},Xe)})})}function F(Xe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Xe.username}/videos/batch_publish.json`,{method:"post",body:Xe})})}function se(Xe){return u(this,null,function*(){return(0,r.ZP)(`/api/myshixuns/${Xe.identifier}/cancel.json`,{method:"delete",body:h({},Xe)})})}function _e(Xe){return u(this,null,function*(){return(0,r.ZP)("/api/users/get_engineer_url.json",{method:"get",params:h({},Xe)})})}function Pe(Xe){return u(this,null,function*(){return Fetch("/api/intelligent_recommendations/user_choice_learn_path.json",{method:"post",body:h({},Xe)})})}function Re(){return u(this,null,function*(){return(0,r.ZP)("/api/intelligent_recommendations/persona.json",{method:"get"})})}function Ze(){return u(this,null,function*(){return(0,r.ZP)("/api/intelligent_recommendations/user_learn_path.json",{method:"get"})})}function $e(Xe){return(0,r.ZP)("/api/accounts/valid_email_and_phone.json",{method:"get",params:Xe})}function Ht(Xe){return(0,r.ZP)("/api/accounts/get_verification_code.json",{method:"get",params:Xe})}function bt(Xe){return(0,r.ZP)("/api/accounts/register.json",{method:"post",body:h({},Xe)})}function Ot(Xe){return Fetch("/api/weapps/register.json",{method:"post",body:h({},Xe)})}function qt(Xe){return(0,r.ZP)(`/api/users/accounts/${Xe.login}/password.json`,{method:"put",body:h({},Xe)})}function er(Xe){return(0,r.ZP)("/api/accounts/reset_password.json",{method:"post",body:h({},Xe)})}function Jt(Xe){return(0,r.ZP)("/api/accounts/login_for_phone.json",{method:"get",params:h({},Xe)})}},69618:function(d,g,e){"use strict";e.d(g,{BQ:function(){return a},DH:function(){return N},Db:function(){return ue},Ju:function(){return ie},Mz:function(){return X},O2:function(){return _},TJ:function(){return R},Vg:function(){return y},ZY:function(){return x},Zx:function(){return Q},cU:function(){return p},fn:function(){return oe},jK:function(){return L},yN:function(){return Y}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,s=(K,V,G)=>V in K?i(K,V,{enumerable:!0,configurable:!0,writable:!0,value:G}):K[V]=G,h=(K,V)=>{for(var G in V||(V={}))c.call(V,G)&&s(K,G,V[G]);if(l)for(var G of l(V))f.call(V,G)&&s(K,G,V[G]);return K},u=(K,V,G)=>new Promise((te,q)=>{var J=F=>{try{z(G.next(F))}catch(se){q(se)}},le=F=>{try{z(G.throw(F))}catch(se){q(se)}},z=F=>F.done?te(F.value):Promise.resolve(F.value).then(J,le);z((G=G.apply(K,V)).next())});function a(K){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${K.coursesId}/watch_video_histories.json`,{method:"Get",params:h({},K)})})}function x(K){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${K.coursesId}/watch_statics.json`,{method:"Get",params:h({},K)})})}function p(K){return u(this,null,function*(){return(0,r.ZP)(`/api/course_videos/${K.videoId}/watch_histories.json`,{method:"Get",params:h({},K)})})}function y(K){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${K.coursesId}/own_watch_histories.json`,{method:"Get",params:h({},K)})})}function _(K){return u(this,null,function*(){return(0,r.ZP)(`/api/video_items/${K.id}.json`,{method:"Get",params:h({},K)})})}function b(K){return u(this,null,function*(){return Fetch("/api/video_items.json",{method:"post",body:K})})}function S(K){return u(this,null,function*(){return Fetch(`/api/video_items/${K.id}/edit.json`,{method:"Get",params:h({},K)})})}function R(K){return u(this,null,function*(){return(0,r.ZP)(`/api/stage_shixuns/${K.id}/edit.json`,{method:"Get",params:h({},K)})})}function L(K){return u(this,null,function*(){return(0,r.ZP)(`/api/video_items/${K.id}/star.json`,{method:"post",body:K})})}function T(K){return u(this,null,function*(){return Fetch(`/api/video_items/${K.id}.json`,{method:"put",body:K})})}function D(K){return u(this,null,function*(){return Fetch(`/api/video_items/${K.id}/send_to_course.json`,{method:"post",body:K})})}function M(K){return u(this,null,function*(){return Fetch("/api/users/my_courses.json",{method:"Get",params:h({},K)})})}function N(K){return u(this,null,function*(){return(0,r.ZP)(`/api/video_items/${K.id}/view_video.json`,{method:"post",body:K})})}function j(K){return u(this,null,function*(){return Fetch(`/api/video_items/${K.id}/add_school.json`,{method:"post",body:K})})}function Q(K){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${K.course_id}/video_people_statics.json`,{method:"get",params:K})})}function X(K){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${K.course_id}/video_duration_statics.json`,{method:"get",params:K})})}function Y(K){return u(this,null,function*(){return(0,r.ZP)("/api/stages.json",{method:"get",params:K})})}function oe(K){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${K==null?void 0:K.id}/course_videos_tree.json`,{method:"get",params:K})})}function ie(K){return u(this,null,function*(){return(0,r.ZP)("/api/study_action_analyses.json",{method:"post",body:K})})}function ue(K){return u(this,null,function*(){return(0,r.ZP)("/api/study_action_analyses/detail.json",{method:"post",body:K})})}},466:function(d,g,e){"use strict";e.d(g,{A:function(){return X},CH:function(){return c},EA:function(){return h},FU:function(){return x},G_:function(){return _},LY:function(){return M},Ll:function(){return s},MM:function(){return L},Ps:function(){return N},Sl:function(){return S},To:function(){return p},Vf:function(){return y},XQ:function(){return f},b:function(){return a},bq:function(){return Q},cZ:function(){return u},rV:function(){return D},sT:function(){return b},tS:function(){return j},xt:function(){return T},y2:function(){return l}});var r=e(38986),i=(Y,oe,ie)=>new Promise((ue,K)=>{var V=q=>{try{te(ie.next(q))}catch(J){K(J)}},G=q=>{try{te(ie.throw(q))}catch(J){K(J)}},te=q=>q.done?ue(q.value):Promise.resolve(q.value).then(V,G);te((ie=ie.apply(Y,oe)).next())});const l=Y=>i(void 0,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${Y.virtual_spacesId}/base_statistic_data.json`,{method:"Get",params:Y})});function c(Y){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${Y.virtual_spacesId}/discussions/${Y.id}.json`,{method:"put",body:Y})})}function f(Y){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${Y.virtual_spacesId}/discussions/${Y.id}.json`,{method:"get",params:Y})})}function s(Y){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${Y.virtual_spacesId}/discussions.json`,{method:"post",body:Y})})}function h(Y){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${Y.virtual_spacesId}/discussions.json`,{method:"get",params:Y})})}function u(Y){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${Y.virtual_spacesId}/good_lessons/${Y.id}/add_resources.json`,{method:"post",body:Y})})}function a(Y){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${Y.virtual_spacesId}/good_lessons/${Y.id}/lesson_resources_list.json`,{method:"get",params:Y})})}function x(Y){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${Y.virtual_spacesId}/good_lessons/${Y.id}.json`,{method:"get",params:Y})})}function p(Y){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${Y.virtual_spacesId}/good_lessons/${Y.id}.json`,{method:"put",body:Y})})}function y(Y){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${Y.virtual_spacesId}/good_lessons.json`,{method:"post",body:Y})})}function _(Y){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${Y.virtual_spacesId}/good_lessons.json`,{method:"get",params:Y})})}function b(Y){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${Y==null?void 0:Y.id}.json`,{method:"get"})})}function S(Y){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${Y==null?void 0:Y.id}/modules.json`,{method:"get"})})}function R(Y){return i(this,null,function*(){return Fetch(`/api/virtual_classrooms/${Y.id}/videos/batch_publish.json`,{method:"post",body:Y})})}function L(Y){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${Y.virtual_spacesId}/members.json`,{method:"post",body:Y})})}function T(Y){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${Y.virtual_spacesId}/members/${Y.id}/change_creator.json`,{method:"post",body:Y})})}function D(Y,oe){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${Y}/shixuns.json`,{method:"get",params:oe})})}function M(Y,oe){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${Y}/shixuns`,{method:"post",body:oe})})}function N(Y){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${Y.virtual_classroom_id}/shixuns/${Y.shixun_id}.json`,{method:"delete"})})}function j(Y,oe){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${Y}/subjects.json`,{method:"get",params:oe})})}function Q(Y,oe){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${Y}/subjects.json`,{method:"post",body:oe})})}function X(Y){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${Y.virtual_classroom_id}/subjects/${Y.subject_id}.json`,{method:"delete"})})}},48790:function(d,g,e){"use strict";e.d(g,{$O:function(){return V},EO:function(){return nt},G5:function(){return Q},GD:function(){return i},GJ:function(){return x},Gg:function(){return p},I2:function(){return f},IR:function(){return Y},JA:function(){return He},JL:function(){return T},Jd:function(){return K},Ny:function(){return R},RV:function(){return ie},Rb:function(){return j},Rm:function(){return X},V9:function(){return F},Yh:function(){return J},aN:function(){return b},aQ:function(){return u},ag:function(){return Ne},bg:function(){return Vt},d8:function(){return N},dE:function(){return oe},eB:function(){return ue},eY:function(){return Wt},fn:function(){return Me},h:function(){return Nt},j5:function(){return _},m$:function(){return Ie},oF:function(){return y},qz:function(){return h},t_:function(){return S},tu:function(){return Gt},y8:function(){return ct}});var r=e(25690),i=(Ct=>(Ct[Ct.SuperAdmin=1]="SuperAdmin",Ct[Ct.Operation=2]="Operation",Ct[Ct.CertifiedTeacher=5]="CertifiedTeacher",Ct[Ct.TrainingProduction=8]="TrainingProduction",Ct[Ct.UncertifiedTeacher=12]="UncertifiedTeacher",Ct[Ct.Student=15]="Student",Ct))(i||{}),l=(Ct=>(Ct[Ct.SuperAdmin=1]="SuperAdmin",Ct[Ct.Operation=2]="Operation",Ct[Ct.Admin=5]="Admin",Ct[Ct.Teacher=8]="Teacher",Ct[Ct.Assistant=12]="Assistant",Ct[Ct.Student=15]="Student",Ct))(l||{}),c=(Ct=>(Ct[Ct.SuperAdmin=0]="SuperAdmin",Ct[Ct.Teacher=1]="Teacher",Ct[Ct.Student=2]="Student",Ct))(c||{});const f=Ct=>{const{user:Yt}=(0,r.getDvaApp)()._store.getState(),{userInfo:We}=Yt;return Ct.some(fe=>fe==(We==null?void 0:We.role))},s=Ct=>{const{user:Yt}=(0,r.getDvaApp)()._store.getState(),{userInfo:We}=Yt;return We!=null&&We.own?!0:Ct.some(fe=>{var pe;return fe==((pe=We==null?void 0:We.course)==null?void 0:pe.course_role)})},h=()=>{const{user:Ct}=(0,r.getDvaApp)()._store.getState(),{userInfo:Yt}=Ct;return Yt.main_site},u=()=>{var Ct;const{user:Yt}=(0,r.getDvaApp)()._store.getState(),{userInfo:We}=Yt;return(Ct=We==null?void 0:We.course)==null?void 0:Ct.course_is_end},a=()=>{const{user:Ct}=getDvaApp()._store.getState(),{userInfo:Yt}=Ct;return Yt.authentication},x=()=>s([1,2,5,8,12]),p=()=>s([1,8,5,12,2]),y=()=>s([1,8,5]),_=()=>s([1]),b=()=>s([1,2,5]),S=()=>s([1,2]),R=()=>f([1,2]),L=()=>f([1]),T=()=>f([1,2,5]),D=()=>s([1,5]),M=()=>s([5,8]),N=()=>s([5]),j=()=>s([1,5,2]),Q=()=>s([1,2,5,8]),X=()=>s([12]),Y=()=>s([8]),oe=()=>s([15]),ie=()=>s([1,2,5,8,12,15]),ue=()=>s([1,2,5,8,12]),K=()=>{var Ct;const{user:Yt}=(0,r.getDvaApp)()._store.getState(),{userInfo:We}=Yt;return((Ct=We==null?void 0:We.course)==null?void 0:Ct.course_role)===null},V=()=>{var Ct;const{user:Yt,globalSetting:We}=(0,r.getDvaApp)()._store.getState(),{userInfo:fe}=Yt,pe=((Ct=We==null?void 0:We.setting)==null?void 0:Ct.big_model_users)||[];return pe==null?void 0:pe.includes(fe==null?void 0:fe.login)},G=(Ct=!0,Yt=!1)=>f([1,2,5,8,12,15]),te=(Ct=!0,Yt=!1)=>Yt||!Yt&&f([1]),q=(Ct=!0,Yt=!1)=>Yt||!Yt&&f([1,2]),J=()=>f([15]),le=(Ct=!0,Yt=!1)=>Ct?f([1,2,5,8,12,15]):Yt||!Yt&&f([1,2]),z=(Ct=!0,Yt=!1)=>Ct?f([1,2,5,8,12,15]):Yt||!Yt&&f([1,2]),F=(Ct=!0,Yt=!1)=>{const{user:We}=(0,r.getDvaApp)()._store.getState(),{userInfo:fe}=We;return fe!=null&&fe.is_shixun_marker?!0:f([1,2,5,8])},se=(Ct=!0,Yt=!1)=>Ct?f([1]):Yt||!Yt&&f([1]),_e=(Ct=!0,Yt=!1)=>Ct?f([1,2]):Yt||!Yt&&f([1,2]),Pe=(Ct=!0,Yt=!1)=>Ct?f([1,2,5,8,12,15]):Yt||!Yt&&f([1,2]),Re=(Ct=!0,Yt=!1)=>Ct?f([1,2,5,8,12]):Yt||!Yt&&f([1,2]),Ze=(Ct=!0,Yt=!1)=>Ct?f([1,2,5]):Yt||!Yt&&f([1,2]),$e=(Ct=!0,Yt=!1)=>Ct?f([1]):!1,Ht=(Ct=!0,Yt=!1)=>f([1,2,5,8,12,15]),bt=(Ct=!0,Yt=!1)=>Ct?f([1]):Yt||!Yt&&f([1]),Ot=(Ct=!0,Yt=!1)=>Ct?f([1,2]):Yt||!Yt&&f([1,2]),qt=(Ct=!0,Yt=!1)=>Ct?f([1,2,5,8,12,15]):Yt||!Yt&&f([1,2]),er=(Ct=!0,Yt=!1)=>Ct?!1:Yt||!Yt&&f([1,2]),Jt=(Ct=!0,Yt=!1)=>Ct?Yt||!Yt&&f([1,2]):!1,Xe=(Ct=!0,Yt=!1)=>Ct?f([1,2,5,8,12]):!1,Pt=(Ct=!0,Yt=!1)=>Ct?!Yt&&f([1,2,5,8,12]):!1,Ut=(Ct=!0,Yt=!1)=>Ct?f([1,2,5]):Yt||!Yt&&f([1,2]),st=(Ct=!0,Yt=!1)=>f([1,2,5,8,12]),yt=(Ct=!0,Yt=!1)=>Ct?f([1]):Yt||!Yt&&f([1]),ht=(Ct=!0,Yt=!1)=>Ct?f([1,2]):Yt||!Yt&&f([1,2]),Je=(Ct=!0,Yt=!1)=>Ct?f([1,2,5,8,12]):Yt||!Yt&&f([1,2]),je=(Ct=!0,Yt=!1)=>Ct?Yt||!Yt&&f([1,2]):!1,ge=(Ct=!0,Yt=!1)=>Ct?f([1,2,5,8,12]):Yt||!Yt&&f([1,2]),Se=(Ct=!0,Yt=!1)=>s([8]),Me=()=>f([1]),Ne=()=>f([1,2]),He=()=>f([15]),nt=()=>f([1,2,5]),ct=()=>f([1,2,5,12]),Vt=()=>{var Ct;const{user:Yt}=(0,r.getDvaApp)()._store.getState();return!!((Ct=Yt.userInfo)!=null&&Ct.login)},Wt=()=>{const{user:Ct}=(0,r.getDvaApp)()._store.getState();return Ct.userInfo},Ie=()=>{var Ct,Yt;const{user:We}=(0,r.getDvaApp)()._store.getState();return!!((Yt=(Ct=We.userInfo)==null?void 0:Ct.path)!=null&&Yt.own)},qe=Ct=>{const{graduations:Yt}=(0,r.getDvaApp)()._store.getState(),{details:We}=Yt;return Ct.some(fe=>fe===(We==null?void 0:We.user_identity))},Gt=()=>qe([0,1]),kt=()=>qe([0]),Zt=()=>qe([1]),Nt=()=>qe([2])},32162:function(d,g,e){"use strict";e.d(g,{a2:function(){return c},fw:function(){return r},gW:function(){return l},k:function(){return f},k4:function(){return i}});const r=[{id:0,name:"\u5355\u9009\u9898",nameType:"SINGLE"},{id:1,name:"\u591A\u9009\u9898",nameType:"MULTIPLE"},{id:2,name:"\u5224\u65AD\u9898",nameType:"JUDGMENT"},{id:3,name:"\u586B\u7A7A\u9898",nameType:"COMPLETION"},{id:4,name:"\u7B80\u7B54\u9898",nameType:"SUBJECTIVE"},{id:5,name:"\u5B9E\u8BAD\u9898",nameType:"PRACTICAL"},{id:6,name:"\u7F16\u7A0B\u9898",nameType:"PROGRAM"},{id:7,name:"\u7EC4\u5408\u9898",nameType:"COMBINATION"},{id:8,name:"\u7A0B\u5E8F\u586B\u7A7A\u9898",nameType:"BPROGRAM"}],i=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];var l=(s=>(s.PROBLEM="problem",s.PAPER="paper",s.OTHER="other",s))(l||{}),c=(s=>(s.SINGLE="single",s.MULTIPLEFLOW="multiple_flow",s.MULTIPLEFIXED="multiple_fixed",s.OTHER="other",s))(c||{}),f=(s=>(s[s.BISHI=1]="BISHI",s[s.JISHI=2]="JISHI",s[s.KOUSHI=3]="KOUSHI",s[s.OTHER=4]="OTHER",s))(f||{})},77935:function(d,g,e){"use strict";e.d(g,{F:function(){return r}});const r={load:"text/html",123:"application/vndlotus-1-2-3","3ds":"image/x-3ds","3g2":"video/3gpp","3ga":"video/3gpp","3gp":"video/3gpp","3gpp":"video/3gpp",602:"application/x-t602",669:"audio/x-mod","7z":"application/x-7z-compressed",a:"application/x-archive",aac:"audio/mp4",abw:"application/x-abiword",abwcrashed:"application/x-abiword",abwgz:"application/x-abiword",ac3:"audio/ac3",ace:"application/x-ace",adb:"text/x-adasrc",ads:"text/x-adasrc",afm:"application/x-font-afm",ag:"image/x-applix-graphics",ai:"application/illustrator",aif:"audio/x-aiff",aifc:"audio/x-aiff",aiff:"audio/x-aiff",al:"application/x-perl",alz:"application/x-alz",amr:"audio/amr",ani:"application/x-navi-animation","anim[1-9j]":"video/x-anim",anx:"application/annodex",ape:"audio/x-ape",arj:"application/x-arj",arw:"image/x-sony-arw",as:"application/x-applix-spreadsheet",asc:"text/plain",asf:"video/x-ms-asf",asp:"application/x-asp",ass:"text/x-ssa",asx:"audio/x-ms-asx",atom:"application/atom+xml",au:"audio/basic",avi:"video/x-msvideo",aw:"application/x-applix-word",awb:"audio/amr-wb",awk:"application/x-awk",axa:"audio/annodex",axv:"video/annodex",bak:"application/x-trash",bcpio:"application/x-bcpio",bdf:"application/x-font-bdf",bib:"text/x-bibtex",bin:"application/octet-stream",blend:"application/x-blender",blender:"application/x-blender",bmp:"image/bmp",bz:"application/x-bzip",bz2:"application/x-bzip",c:"text/x-csrc","c++":"text/x-c++src",cab:"application/vndms-cab-compressed",cb7:"application/x-cb7",cbr:"application/x-cbr",cbt:"application/x-cbt",cbz:"application/x-cbz",cc:"text/x-c++src",cdf:"application/x-netcdf",cdr:"application/vndcorel-draw",cer:"application/x-x509-ca-cert",cert:"application/x-x509-ca-cert",cgm:"image/cgm",chm:"application/x-chm",chrt:"application/x-kchart",class:"application/x-java",cls:"text/x-tex",cmake:"text/x-cmake",cpio:"application/x-cpio",cpiogz:"application/x-cpio-compressed",cpp:"text/x-c++src",cr2:"image/x-canon-cr2",crt:"application/x-x509-ca-cert",crw:"image/x-canon-crw",cs:"text/x-csharp",csh:"application/x-csh",css:"text/css",cssl:"text/css",csv:"text/csv",cue:"application/x-cue",cur:"image/x-win-bitmap",cxx:"text/x-c++src",d:"text/x-dsrc",dar:"application/x-dar",dbf:"application/x-dbf",dc:"application/x-dc-rom",dcl:"text/x-dcl",dcm:"application/dicom",dcr:"image/x-kodak-dcr",dds:"image/x-dds",deb:"application/x-deb",der:"application/x-x509-ca-cert",desktop:"application/x-desktop",dia:"application/x-dia-diagram",diff:"text/x-patch",divx:"video/x-msvideo",djv:"image/vnddjvu",djvu:"image/vnddjvu",dng:"image/x-adobe-dng",doc:"application/msword",docbook:"application/docbook+xml",docm:"application/vndopenxmlformats-officedocumentwordprocessingmldocument",docx:"application/vndopenxmlformats-officedocumentwordprocessingmldocument",dot:"text/vndgraphviz",dsl:"text/x-dsl",dtd:"application/xml-dtd",dtx:"text/x-tex",dv:"video/dv",dvi:"application/x-dvi",dvibz2:"application/x-bzdvi",dvigz:"application/x-gzdvi",dwg:"image/vnddwg",dxf:"image/vnddxf",e:"text/x-eiffel",egon:"application/x-egon",eif:"text/x-eiffel",el:"text/x-emacs-lisp",emf:"image/x-emf",emp:"application/vndemusic-emusic_package",ent:"application/xml-external-parsed-entity",eps:"image/x-eps",epsbz2:"image/x-bzeps",epsgz:"image/x-gzeps",epsf:"image/x-eps",epsfbz2:"image/x-bzeps",epsfgz:"image/x-gzeps",epsi:"image/x-eps",epsibz2:"image/x-bzeps",epsigz:"image/x-gzeps",epub:"application/epub+zip",erl:"text/x-erlang",es:"application/ecmascript",etheme:"application/x-e-theme",etx:"text/x-setext",exe:"application/x-ms-dos-executable",exr:"image/x-exr",ez:"application/andrew-inset",f:"text/x-fortran",f90:"text/x-fortran",f95:"text/x-fortran",fb2:"application/x-fictionbook+xml",fig:"image/x-xfig",fits:"image/fits",fl:"application/x-fluid",flac:"audio/x-flac",flc:"video/x-flic",fli:"video/x-flic",flv:"video/x-flv",flw:"application/x-kivio",fo:"text/x-xslfo",for:"text/x-fortran",g3:"image/fax-g3",gb:"application/x-gameboy-rom",gba:"application/x-gba-rom",gcrd:"text/directory",ged:"application/x-gedcom",gedcom:"application/x-gedcom",gen:"application/x-genesis-rom",gf:"application/x-tex-gf",gg:"application/x-sms-rom",gif:"image/gif",glade:"application/x-glade",gmo:"application/x-gettext-translation",gnc:"application/x-gnucash",gnd:"application/gnunet-directory",gnucash:"application/x-gnucash",gnumeric:"application/x-gnumeric",gnuplot:"application/x-gnuplot",gp:"application/x-gnuplot",gpg:"application/pgp-encrypted",gplt:"application/x-gnuplot",gra:"application/x-graphite",gsf:"application/x-font-type1",gsm:"audio/x-gsm",gtar:"application/x-tar",gv:"text/vndgraphviz",gvp:"text/x-google-video-pointer",gz:"application/x-gzip",h:"text/x-chdr","h++":"text/x-c++hdr",hdf:"application/x-hdf",hh:"text/x-c++hdr",hp:"text/x-c++hdr",hpgl:"application/vndhp-hpgl",hpp:"text/x-c++hdr",hs:"text/x-haskell",htm:"text/html",html:"text/html",hwp:"application/x-hwp",hwt:"application/x-hwt",hxx:"text/x-c++hdr",ica:"application/x-ica",icb:"image/x-tga",icns:"image/x-icns",ico:"image/vndmicrosofticon",ics:"text/calendar",idl:"text/x-idl",ief:"image/ief",iff:"image/x-iff",ilbm:"image/x-ilbm",ime:"text/x-imelody",imy:"text/x-imelody",ins:"text/x-tex",iptables:"text/x-iptables",iso:"application/x-cd-image",iso9660:"application/x-cd-image",it:"audio/x-it",j2k:"image/jp2",jad:"text/vndsunj2meapp-descriptor",jar:"application/x-java-archive",java:"text/x-java",jng:"image/x-jng",jnlp:"application/x-java-jnlp-file",jp2:"image/jp2",jpc:"image/jp2",jpe:"image/jpeg",jpeg:"image/jpeg",jpf:"image/jp2",jpg:"image/jpeg",jpr:"application/x-jbuilder-project",jpx:"image/jp2",js:"application/javascript",json:"application/json",jsonp:"application/jsonp",k25:"image/x-kodak-k25",kar:"audio/midi",karbon:"application/x-karbon",kdc:"image/x-kodak-kdc",kdelnk:"application/x-desktop",kexi:"application/x-kexiproject-sqlite3",kexic:"application/x-kexi-connectiondata",kexis:"application/x-kexiproject-shortcut",kfo:"application/x-kformula",kil:"application/x-killustrator",kino:"application/smil",kml:"application/vndgoogle-earthkml+xml",kmz:"application/vndgoogle-earthkmz",kon:"application/x-kontour",kpm:"application/x-kpovmodeler",kpr:"application/x-kpresenter",kpt:"application/x-kpresenter",kra:"application/x-krita",ksp:"application/x-kspread",kud:"application/x-kugar",kwd:"application/x-kword",kwt:"application/x-kword",la:"application/x-shared-library-la",latex:"text/x-tex",ldif:"text/x-ldif",lha:"application/x-lha",lhs:"text/x-literate-haskell",lhz:"application/x-lhz",log:"text/x-log",ltx:"text/x-tex",lua:"text/x-lua",lwo:"image/x-lwo",lwob:"image/x-lwo",lws:"image/x-lws",ly:"text/x-lilypond",lyx:"application/x-lyx",lz:"application/x-lzip",lzh:"application/x-lha",lzma:"application/x-lzma",lzo:"application/x-lzop",m:"text/x-matlab",m15:"audio/x-mod",m2t:"video/mpeg",m3u:"audio/x-mpegurl",m3u8:"audio/x-mpegurl",m4:"application/x-m4",m4a:"audio/mp4",m4b:"audio/x-m4b",m4v:"video/mp4",mab:"application/x-markaby",man:"application/x-troff-man",mbox:"application/mbox",md:"application/x-genesis-rom",mdb:"application/vndms-access",mdi:"image/vndms-modi",me:"text/x-troff-me",med:"audio/x-mod",metalink:"application/metalink+xml",mgp:"application/x-magicpoint",mid:"audio/midi",midi:"audio/midi",mif:"application/x-mif",minipsf:"audio/x-minipsf",mka:"audio/x-matroska",mkv:"video/x-matroska",ml:"text/x-ocaml",mli:"text/x-ocaml",mm:"text/x-troff-mm",mmf:"application/x-smaf",mml:"text/mathml",mng:"video/x-mng",mo:"application/x-gettext-translation",mo3:"audio/x-mo3",moc:"text/x-moc",mod:"audio/x-mod",mof:"text/x-mof",moov:"video/quicktime",mov:"video/quicktime",movie:"video/x-sgi-movie","mp+":"audio/x-musepack",mp2:"video/mpeg",mp3:"audio/mpeg",mp4:"video/mp4",mpc:"audio/x-musepack",mpe:"video/mpeg",mpeg:"video/mpeg",mpg:"video/mpeg",mpga:"audio/mpeg",mpp:"audio/x-musepack",mrl:"text/x-mrml",mrml:"text/x-mrml",mrw:"image/x-minolta-mrw",ms:"text/x-troff-ms",msi:"application/x-msi",msod:"image/x-msod",msx:"application/x-msx-rom",mtm:"audio/x-mod",mup:"text/x-mup",mxf:"application/mxf",n64:"application/x-n64-rom",nb:"application/mathematica",nc:"application/x-netcdf",nds:"application/x-nintendo-ds-rom",nef:"image/x-nikon-nef",nes:"application/x-nes-rom",nfo:"text/x-nfo",not:"text/x-mup",nsc:"application/x-netshow-channel",nsv:"video/x-nsv",o:"application/x-object",obj:"application/x-tgif",ocl:"text/x-ocl",oda:"application/oda",odb:"application/vndoasisopendocumentdatabase",odc:"application/vndoasisopendocumentchart",odf:"application/vndoasisopendocumentformula",odg:"application/vndoasisopendocumentgraphics",odi:"application/vndoasisopendocumentimage",odm:"application/vndoasisopendocumenttext-master",odp:"application/vndoasisopendocumentpresentation",ods:"application/vndoasisopendocumentspreadsheet",odt:"application/vndoasisopendocumenttext",oga:"audio/ogg",ogg:"video/x-theora+ogg",ogm:"video/x-ogm+ogg",ogv:"video/ogg",ogx:"application/ogg",old:"application/x-trash",oleo:"application/x-oleo",opml:"text/x-opml+xml",ora:"image/openraster",orf:"image/x-olympus-orf",otc:"application/vndoasisopendocumentchart-template",otf:"application/x-font-otf",otg:"application/vndoasisopendocumentgraphics-template",oth:"application/vndoasisopendocumenttext-web",otp:"application/vndoasisopendocumentpresentation-template",ots:"application/vndoasisopendocumentspreadsheet-template",ott:"application/vndoasisopendocumenttext-template",owl:"application/rdf+xml",oxt:"application/vndopenofficeorgextension",p:"text/x-pascal",p10:"application/pkcs10",p12:"application/x-pkcs12",p7b:"application/x-pkcs7-certificates",p7s:"application/pkcs7-signature",pack:"application/x-java-pack200",pak:"application/x-pak",par2:"application/x-par2",pas:"text/x-pascal",patch:"text/x-patch",pbm:"image/x-portable-bitmap",pcd:"image/x-photo-cd",pcf:"application/x-cisco-vpn-settings",pcfgz:"application/x-font-pcf",pcfz:"application/x-font-pcf",pcl:"application/vndhp-pcl",pcx:"image/x-pcx",pdb:"chemical/x-pdb",pdc:"application/x-aportisdoc",pdf:"application/pdf",pdfbz2:"application/x-bzpdf",pdfgz:"application/x-gzpdf",pef:"image/x-pentax-pef",pem:"application/x-x509-ca-cert",perl:"application/x-perl",pfa:"application/x-font-type1",pfb:"application/x-font-type1",pfx:"application/x-pkcs12",pgm:"image/x-portable-graymap",pgn:"application/x-chess-pgn",pgp:"application/pgp-encrypted",php:"application/x-php",php3:"application/x-php",php4:"application/x-php",pict:"image/x-pict",pict1:"image/x-pict",pict2:"image/x-pict",pickle:"application/python-pickle",pk:"application/x-tex-pk",pkipath:"application/pkix-pkipath",pkr:"application/pgp-keys",pl:"application/x-perl",pla:"audio/x-iriver-pla",pln:"application/x-planperfect",pls:"audio/x-scpls",pm:"application/x-perl",png:"image/png",pnm:"image/x-portable-anymap",pntg:"image/x-macpaint",po:"text/x-gettext-translation",por:"application/x-spss-por",pot:"text/x-gettext-translation-template",ppm:"image/x-portable-pixmap",pps:"application/vndms-powerpoint",ppt:"application/vndms-powerpoint",pptm:"application/vndopenxmlformats-officedocumentpresentationmlpresentation",pptx:"application/vndopenxmlformats-officedocumentpresentationmlpresentation",ppz:"application/vndms-powerpoint",prc:"application/x-palm-database",ps:"application/postscript",psbz2:"application/x-bzpostscript",psgz:"application/x-gzpostscript",psd:"image/vndadobephotoshop",psf:"audio/x-psf",psfgz:"application/x-gz-font-linux-psf",psflib:"audio/x-psflib",psid:"audio/prssid",psw:"application/x-pocket-word",pw:"application/x-pw",py:"text/x-python",pyc:"application/x-python-bytecode",pyo:"application/x-python-bytecode",qif:"image/x-quicktime",qt:"video/quicktime",qtif:"image/x-quicktime",qtl:"application/x-quicktime-media-link",qtvr:"video/quicktime",ra:"audio/vndrn-realaudio",raf:"image/x-fuji-raf",ram:"application/ram",rar:"application/x-rar",ras:"image/x-cmu-raster",raw:"image/x-panasonic-raw",rax:"audio/vndrn-realaudio",rb:"application/x-ruby",rdf:"application/rdf+xml",rdfs:"application/rdf+xml",reg:"text/x-ms-regedit",rej:"application/x-reject",rgb:"image/x-rgb",rle:"image/rle",rm:"application/vndrn-realmedia",rmj:"application/vndrn-realmedia",rmm:"application/vndrn-realmedia",rms:"application/vndrn-realmedia",rmvb:"application/vndrn-realmedia",rmx:"application/vndrn-realmedia",roff:"text/troff",rp:"image/vndrn-realpix",rpm:"application/x-rpm",rss:"application/rss+xml",rt:"text/vndrn-realtext",rtf:"application/rtf",rtx:"text/richtext",rv:"video/vndrn-realvideo",rvx:"video/vndrn-realvideo",s3m:"audio/x-s3m",sam:"application/x-amipro",sami:"application/x-sami",sav:"application/x-spss-sav",scm:"text/x-scheme",sda:"application/vndstardivisiondraw",sdc:"application/vndstardivisioncalc",sdd:"application/vndstardivisionimpress",sdp:"application/sdp",sds:"application/vndstardivisionchart",sdw:"application/vndstardivisionwriter",sgf:"application/x-go-sgf",sgi:"image/x-sgi",sgl:"application/vndstardivisionwriter",sgm:"text/sgml",sgml:"text/sgml",sh:"application/x-shellscript",shar:"application/x-shar",shn:"application/x-shorten",siag:"application/x-siag",sid:"audio/prssid",sik:"application/x-trash",sis:"application/vndsymbianinstall",sisx:"x-epoc/x-sisx-app",sit:"application/x-stuffit",siv:"application/sieve",sk:"image/x-skencil",sk1:"image/x-skencil",skr:"application/pgp-keys",slk:"text/spreadsheet",smaf:"application/x-smaf",smc:"application/x-snes-rom",smd:"application/vndstardivisionmail",smf:"application/vndstardivisionmath",smi:"application/x-sami",smil:"application/smil",sml:"application/smil",sms:"application/x-sms-rom",snd:"audio/basic",so:"application/x-sharedlib",spc:"application/x-pkcs7-certificates",spd:"application/x-font-speedo",spec:"text/x-rpm-spec",spl:"application/x-shockwave-flash",spx:"audio/x-speex",sql:"text/x-sql",sr2:"image/x-sony-sr2",src:"application/x-wais-source",srf:"image/x-sony-srf",srt:"application/x-subrip",ssa:"text/x-ssa",stc:"application/vndsunxmlcalctemplate",std:"application/vndsunxmldrawtemplate",sti:"application/vndsunxmlimpresstemplate",stm:"audio/x-stm",stw:"application/vndsunxmlwritertemplate",sty:"text/x-tex",sub:"text/x-subviewer",sun:"image/x-sun-raster",sv4cpio:"application/x-sv4cpio",sv4crc:"application/x-sv4crc",svg:"image/svg+xml",svgz:"image/svg+xml-compressed",swf:"application/x-shockwave-flash",sxc:"application/vndsunxmlcalc",sxd:"application/vndsunxmldraw",sxg:"application/vndsunxmlwriterglobal",sxi:"application/vndsunxmlimpress",sxm:"application/vndsunxmlmath",sxw:"application/vndsunxmlwriter",sylk:"text/spreadsheet",t:"text/troff",t2t:"text/x-txt2tags",tar:"application/x-tar",tarbz:"application/x-bzip-compressed-tar",tarbz2:"application/x-bzip-compressed-tar",targz:"application/x-compressed-tar",tarlzma:"application/x-lzma-compressed-tar",tarlzo:"application/x-tzo",tarxz:"application/x-xz-compressed-tar",tarz:"application/x-tarz",tbz:"application/x-bzip-compressed-tar",tbz2:"application/x-bzip-compressed-tar",tcl:"text/x-tcl",tex:"text/x-tex",texi:"text/x-texinfo",texinfo:"text/x-texinfo",tga:"image/x-tga",tgz:"application/x-compressed-tar",theme:"application/x-theme",themepack:"application/x-windows-themepack",tif:"image/tiff",tiff:"image/tiff",tk:"text/x-tcl",tlz:"application/x-lzma-compressed-tar",tnef:"application/vndms-tnef",tnf:"application/vndms-tnef",toc:"application/x-cdrdao-toc",torrent:"application/x-bittorrent",tpic:"image/x-tga",tr:"text/troff",ts:"application/x-linguist",tsv:"text/tab-separated-values",tta:"audio/x-tta",ttc:"application/x-font-ttf",ttf:"application/x-font-ttf",ttx:"application/x-font-ttx",txt:"text/plain",txz:"application/x-xz-compressed-tar",tzo:"application/x-tzo",ufraw:"application/x-ufraw",ui:"application/x-designer",uil:"text/x-uil",ult:"audio/x-mod",uni:"audio/x-mod",uri:"text/x-uri",url:"text/x-uri",ustar:"application/x-ustar",vala:"text/x-vala",vapi:"text/x-vala",vcf:"text/directory",vcs:"text/calendar",vct:"text/directory",vda:"image/x-tga",vhd:"text/x-vhdl",vhdl:"text/x-vhdl",viv:"video/vivo",vivo:"video/vivo",vlc:"audio/x-mpegurl",vob:"video/mpeg",voc:"audio/x-voc",vor:"application/vndstardivisionwriter",vst:"image/x-tga",wav:"audio/x-wav",wax:"audio/x-ms-asx",wb1:"application/x-quattropro",wb2:"application/x-quattropro",wb3:"application/x-quattropro",wbmp:"image/vndwapwbmp",wcm:"application/vndms-works",wdb:"application/vndms-works",webm:"video/webm",wk1:"application/vndlotus-1-2-3",wk3:"application/vndlotus-1-2-3",wk4:"application/vndlotus-1-2-3",wks:"application/vndms-works",wma:"audio/x-ms-wma",wmf:"image/x-wmf",wml:"text/vndwapwml",wmls:"text/vndwapwmlscript",wmv:"video/x-ms-wmv",wmx:"audio/x-ms-asx",wp:"application/vndwordperfect",wp4:"application/vndwordperfect",wp5:"application/vndwordperfect",wp6:"application/vndwordperfect",wpd:"application/vndwordperfect",wpg:"application/x-wpg",wpl:"application/vndms-wpl",wpp:"application/vndwordperfect",wps:"application/vndms-works",wri:"application/x-mswrite",wrl:"model/vrml",wv:"audio/x-wavpack",wvc:"audio/x-wavpack-correction",wvp:"audio/x-wavpack",wvx:"audio/x-ms-asx",x3f:"image/x-sigma-x3f",xac:"application/x-gnucash",xbel:"application/x-xbel",xbl:"application/xml",xbm:"image/x-xbitmap",xcf:"image/x-xcf",xcfbz2:"image/x-compressed-xcf",xcfgz:"image/x-compressed-xcf",xhtml:"application/xhtml+xml",xi:"audio/x-xi",xla:"application/vndms-excel",xlc:"application/vndms-excel",xld:"application/vndms-excel",xlf:"application/x-xliff",xliff:"application/x-xliff",xll:"application/vndms-excel",xlm:"application/vndms-excel",xls:"application/vndms-excel",xlsm:"application/vndopenxmlformats-officedocumentspreadsheetmlsheet",xlsx:"application/vndopenxmlformats-officedocumentspreadsheetmlsheet",xlt:"application/vndms-excel",xlw:"application/vndms-excel",xm:"audio/x-xm",xmf:"audio/x-xmf",xmi:"text/x-xmi",xml:"application/xml",xpm:"image/x-xpixmap",xps:"application/vndms-xpsdocument",xsl:"application/xml",xslfo:"text/x-xslfo",xslt:"application/xml",xspf:"application/xspf+xml",xul:"application/vndmozillaxul+xml",xwd:"image/x-xwindowdump",xyz:"chemical/x-pdb",xz:"application/x-xz",w2p:"application/w2p",z:"application/x-compress",zabw:"application/x-abiword",zip:"application/zip"}},346:function(d,g,e){"use strict";e.d(g,{Z:function(){return c}});const r={PROXY_SERVER:"http://172.16.100.111",API_SERVER:"",REPORT_SERVER:"http://192.168.1.57:3001",IMG_SERVER:"http://172.16.100.111",FORGE:"https://code.educoder.net/",SSH_SERVER:"wss://webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",TERMINAL_URL:"testsvc1.vnc.educoder.net",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")};var i=null,c={local:{API_SERVER:"http://localhost:3000",IMG_SERVER:"https://testali-cdn.educoder.net/",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"https://test-oldweb.educoder.net/",SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")},dev:r,newReactTest:{API_SERVER:(()=>{let f;switch(location.host){case"test4.educoder.net":f="https://test4-data.educoder.net";break;case"test3.educoder.net":f="https://test3-data.educoder.net";break;case"test2.educoder.net":f="https://test2-data.educoder.net";break;default:f="https://test-data.educoder.net";break}return f})(),SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",IMG_SERVER:(()=>{let f="https://new-testali-cdn.educoder.net";const s=location.host;return s==="test3.educoder.net"&&(f="https://test3-data.educoder.net"),s==="test4.educoder.net"&&(f="https://test4-data.educoder.net"),f})(),OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"https://test-oldweb.educoder.net/",QQLoginCB:encodeURIComponent("https://test-data.educoder.net"),TERMINAL_URL:"testsvc1.vnc.educoder.net"},preNewBuild:{API_SERVER:(()=>{let f="https://pre-data.educoder.net";return location.host==="pre2.educoder.net"&&(f="https://pre-data2.educoder.net"),f})(),IMG_SERVER:"https://preali-cdn.educoder.net",SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",REPORT_SERVER:"http://192.168.1.57:3001",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",FORGE:"https://forge.educoder.net/",QQLoginCB:encodeURIComponent("https://pre.educoder.net")},newBuild:{API_SERVER:(()=>{let f="https://data.educoder.net";return document.domain==="kepukehuan.educoder.net"?f="https://kepukehuan-data.educoder.net":(document.domain==="www.tokcoder.com"||document.domain==="tokcoder.com")&&(f="https://data.tokcoder.com"),f})(),SSH_SERVER:"wss://webssh.educoder.net",REPORT_SERVER:"http://192.168.1.57:3001",SSH_Slice:"https://fu.educoder.net",IMG_SERVER:"https://ali-cdn.educoder.net",OFFICE_SERVER:"https://officeserver.educoder.net",ONLYOFFICE:"https://office.educoder.net",OFFICE_IP:"https://officedata.educoder.net",FORGE:"https://code.educoder.net/",QQLoginCB:encodeURIComponent("https://www.educoder.net"),TERMINAL_URL:".jupyter.educoder.net"},newTest:{API_SERVER:"https://test-data.educoder.net",IMG_SERVER:"https://test-data.educoder.net",REPORT_SERVER:"http://192.168.1.57:3001",SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",FORGE:"http://test-oldweb.educoder.net/",QQLoginCB:encodeURIComponent("https://test-data.educoder.net")},test:{API_SERVER:"",IMG_SERVER:"",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"http://test-oldweb.educoder.net/",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",SSH_SERVER:"wss://pre-webssh.educoder.net",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")},preBuild:{API_SERVER:"",IMG_SERVER:"https://preali-cdn.educoder.net",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"https://forge.educoder.net/",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",SSH_SERVER:"wss://pre-webssh.educoder.net",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")},newWeb:{API_SERVER:"https://test-newweb.educoder.net",IMG_SERVER:"https://test-newweb.educoder.net/",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"http://test-oldweb.educoder.net/",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",SSH_SERVER:"wss://pre-webssh.educoder.net",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")},build:{API_SERVER:"",IMG_SERVER:"",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"https://forge.educoder.net/",SSH_SERVER:"wss://webssh.educoder.net",SSH_Slice:"https://fu.educoder.net",OFFICE_SERVER:"https://officeserver.educoder.net",ONLYOFFICE:"",OFFICE_IP:"https://officedata.educoder.net",QQLoginCB:encodeURIComponent("https://www.educoder.net"),TERMINAL_URL:".jupyter.educoder.net"}}[window.ENV||"dev"]},38986:function(d,g,e){"use strict";e.d(g,{IV:function(){return z},U2:function(){return te},ZP:function(){return ue},d4:function(){return q},gz:function(){return le},rz:function(){return ie},v_:function(){return J}});var r=e(346),i=e(28909),l=e(43418),c=e(8591),f=e(85582),s=e.n(f),h=e(59301),u=e(25690),a=e(51257),x=e(89392),p=e.n(x),y=Object.defineProperty,_=Object.defineProperties,b=Object.getOwnPropertyDescriptors,S=Object.getOwnPropertySymbols,R=Object.prototype.hasOwnProperty,L=Object.prototype.propertyIsEnumerable,T=(F,se,_e)=>se in F?y(F,se,{enumerable:!0,configurable:!0,writable:!0,value:_e}):F[se]=_e,D=(F,se)=>{for(var _e in se||(se={}))R.call(se,_e)&&T(F,_e,se[_e]);if(S)for(var _e of S(se))L.call(se,_e)&&T(F,_e,se[_e]);return F},M=(F,se)=>_(F,b(se)),N=(F,se,_e)=>new Promise((Pe,Re)=>{var Ze=bt=>{try{Ht(_e.next(bt))}catch(Ot){Re(Ot)}},$e=bt=>{try{Ht(_e.throw(bt))}catch(Ot){Re(Ot)}},Ht=bt=>bt.done?Pe(bt.value):Promise.resolve(bt.value).then(Ze,$e);Ht((_e=_e.apply(F,se)).next())});let j;const Q={200:"\u670D\u52A1\u5668\u6210\u529F\u8FD4\u56DE\u8BF7\u6C42\u7684\u6570\u636E\u3002",201:"\u65B0\u5EFA\u6216\u4FEE\u6539\u6570\u636E\u6210\u529F\u3002",202:"\u4E00\u4E2A\u8BF7\u6C42\u5DF2\u7ECF\u8FDB\u5165\u540E\u53F0\u6392\u961F\uFF08\u5F02\u6B65\u4EFB\u52A1\uFF09\u3002",204:"\u5220\u9664\u6570\u636E\u6210\u529F\u3002",400:"\u53D1\u51FA\u7684\u8BF7\u6C42\u6709\u9519\u8BEF\uFF0C\u670D\u52A1\u5668\u6CA1\u6709\u8FDB\u884C\u65B0\u5EFA\u6216\u4FEE\u6539\u6570\u636E\u7684\u64CD\u4F5C\u3002",401:"\u7528\u6237\u6CA1\u6709\u6743\u9650\uFF08\u4EE4\u724C\u3001\u7528\u6237\u540D\u3001\u5BC6\u7801\u9519\u8BEF\uFF09\u3002",403:"\u7528\u6237\u5F97\u5230\u6388\u6743\uFF0C\u4F46\u662F\u8BBF\u95EE\u662F\u88AB\u7981\u6B62\u7684\u3002",404:"\u53D1\u51FA\u7684\u8BF7\u6C42\u9488\u5BF9\u7684\u662F\u4E0D\u5B58\u5728\u7684\u8BB0\u5F55\uFF0C\u670D\u52A1\u5668\u6CA1\u6709\u8FDB\u884C\u64CD\u4F5C\u3002",406:"\u8BF7\u6C42\u7684\u683C\u5F0F\u4E0D\u53EF\u5F97\u3002",410:"\u8BF7\u6C42\u7684\u8D44\u6E90\u88AB\u6C38\u4E45\u5220\u9664\uFF0C\u4E14\u4E0D\u4F1A\u518D\u5F97\u5230\u7684\u3002",422:"\u5F53\u521B\u5EFA\u4E00\u4E2A\u5BF9\u8C61\u65F6\uFF0C\u53D1\u751F\u4E00\u4E2A\u9A8C\u8BC1\u9519\u8BEF\u3002",500:"\u670D\u52A1\u5668\u53D1\u751F\u9519\u8BEF\uFF0C\u8BF7\u68C0\u67E5\u670D\u52A1\u5668\u3002",502:"\u7F51\u5173\u9519\u8BEF\u3002",503:"\u670D\u52A1\u4E0D\u53EF\u7528\uFF0C\u670D\u52A1\u5668\u6682\u65F6\u8FC7\u8F7D\u6216\u7EF4\u62A4\u3002",504:"\u7F51\u5173\u8D85\u65F6\u3002"},X=(F,se)=>N(void 0,null,function*(){if(F.status>=200&&F.status<300)return F;const _e=Q[F.status]||F.statusText;let Pe;var Re=F.json();yield Re.then(($e,Ht)=>{setTimeout(()=>{let bt=(0,u.getDvaApp)()},400),Pe=$e.message,window.showNetworkErrorTip($e.message||`\u8BF7\u6C42\u9519\u8BEF ${F.status}: ${F.message}`),i.Z.error({style:{wordBreak:"break-all"},message:$e.message||`\u8BF7\u6C42\u9519\u8BEF ${F.status}: ${F.message}`,description:$e.message?"":_e})});const Ze=new Error(_e);throw Ze.name=F.status,Ze.response=F,{data:F,code:F.status,message:Pe||_e}}),Y=(F,se)=>{const _e=F.headers.get("Content-Type");return _e&&_e.match(/application\/json/i)&&F.clone().text().then(()=>{}),F};function oe(F){try{return decodeURIComponent(F),decodeURIComponent(encodeURIComponent(F))===F}catch(se){return!1}}const ie=F=>{F=F||{};let se="";for(let _e in F)typeof F[_e]=="object"?Array.isArray(F[_e])&&F[_e].forEach((Pe,Re)=>{se+="&"+_e+"[]="+Pe}):F[_e]!==void 0&&(se+="&"+_e+"="+(oe(F[_e])?F[_e]:encodeURIComponent(F[_e])));return se.substr(1)};function ue(F,se,_e,Pe){se.method||(se.method="get"),se.method=se.method.toUpperCase(),se.mode="cors";const Re=D({},se),{user:Ze}=(0,u.getDvaApp)()._store.getState(),{userInfo:$e}=Ze,Ht=F+(Re.body?JSON.stringify(Re.body):""),bt=s().sha256().update(Ht).digest("hex"),Ot={credentials:"include",withCredentials:!0},qt={};$e!=null&&$e.login&&(qt.zzud=$e==null?void 0:$e.login,$e!=null&&$e.school_id&&(qt.zzsud=$e==null?void 0:$e.school_id),Re.params=D(D({},Re.params||{}),qt));let er=D(D({},Ot),(0,x.cloneDeep)(Re));(er.method==="POST"||er.method==="PUT"||er.method==="PATCH"||er.method==="DELETE")&&(_e?(er.headers=M(D({_method:se.method.toUpperCase()},er.headers),{"Pc-Authorization":(0,a.ej)("_educoder_session"),"X-Original-Protocol":location.protocol,"X-Original-Host":location.host}),er.body=Re.body):(er.headers=D({Accept:"application/json",_method:se.method.toUpperCase(),"Content-Type":"application/json; charset=utf-8","Pc-Authorization":(0,a.ej)("_educoder_session"),"X-Original-Protocol":location.protocol,"X-Original-Host":location.host},er.headers),er.body=JSON.stringify(Re.body))),er.method=="GET"?(er.headers=M(D({Accept:"application/json","Content-Type":"application/json; charset=utf-8",_method:se.method.toUpperCase()},er.headers),{"Pc-Authorization":(0,a.ej)("_educoder_session"),"X-Original-Protocol":location.protocol,"X-Original-Host":location.host}),Re.params&&ie(Re.params)&&(F+="?"+ie(Re.params))):qt.zzud&&(F+="?"+ie(D({},qt)));const Jt=Re.expirys&&60;let Xe;(yt=>{yt.json="application/json;charset=UTF-8",yt.form="application/x-www-form-urlencoded; charset=UTF-8"})(Xe||(Xe={}));let Pt;(yt=>{yt.get="GET",yt.post="POST"})(Pt||(Pt={}));const Ut=yt=>N(this,null,function*(){const ht=yield yt.arrayBuffer();let Je;const je=new Blob([ht]);try{Je=yt.headers.get("Content-Disposition").split(";")[1].replace("filename=","").replace(/[\s+,\',\",\,\,\“,\”,\<,\>,\《,\》]/g,"")}catch(Ne){Je="userfiles.zip"}const ge=document.createElement("a"),Se=window.URL.createObjectURL(je),Me=Je;return ge.href=Se,ge.download=Me,ge.click(),window.URL.revokeObjectURL(Se),ht});let st=r.Z.API_SERVER;return(window.ENV==="dev"||F.startsWith("http"))&&(st=""),er.method=="GET"&&er.params&&Object.keys(er.params).map(yt=>{if(er.params[yt]&&!Array.isArray(er.params[yt]))try{er.params[yt]=encodeURIComponent(decodeURIComponent(er.params[yt]))}catch(ht){er.params[yt]=encodeURIComponent(er.params[yt])}}),(0,a.Ec)(er,F),Pe&&(st=""),er.headers._method=er.method,er.headers["X-HTTP-Method-Override"]=er.method,er.method!=="GET"&&(er.method="POST"),fetch(st+F,er).then(yt=>X(yt,D({url:r.Z.API_SERVER+F},er))).then(yt=>Y(yt,bt)).then(yt=>N(this,null,function*(){var ht,Je,je,ge;try{const Me=yt.headers.get("cs");Me&&(0,a.d8)("_educoder_session",Me,1)}catch(Me){}if(yt.status===204)return yt.text();let Se;if(yt.headers.get("content-type").indexOf("application/json")>-1){Se=yield yt.json();try{const Me=/\(\s+\/api\/attachments\/(\d+)|\(\/api\/attachments\/(\d+)\//g,Ne=/\"\/api\/attachments\/(\d+)\//g,He=/\(\s+\/files\/uploads\/(\d+)|\"\/files\/uploads\/(\d+)\//g,nt=/\/api\/attachments\/(\d+)/g,ct=/\/attachments\/download\/(\d+)/g;let Vt=JSON.stringify(Se).replace(nt,(Wt,Ie,qe,Gt)=>{const kt=Ie||qe||Gt;return"/api/attachments/"+(0,a.Jn)(kt)}).replace(ct,(Wt,Ie,qe)=>{const Gt=Ie||qe;return"/attachments/download/"+(0,a.Jn)(Gt)}).replace(Me,(Wt,Ie,qe,Gt)=>{const kt=Ie||qe||Gt;return"(/api/attachments/"+(0,a.Jn)(kt)}).replace(Ne,(Wt,Ie,qe)=>{const Gt=Ie||qe;return'"/api/attachments/'+(0,a.Jn)(Gt)}).replace(He,(Wt,Ie,qe)=>{const Gt=Ie||qe;return"(/files/uploads/"+(0,a.Jn)(Gt)}).replace(/\r\n/g,`
`);Se=JSON.parse(Vt)}catch(Me){}}else er.headers["Content-Type"]==="application/xml"?Se=yield yt.text():(ht=Re.body)!=null&&ht.autoDownload||(Je=Re.params)!=null&&Je.autoDownload?Se=yield Ut(yt):Se=yield yt.arrayBuffer();try{Se.status===401&&(!((je=er.params)!=null&&je.hidePopLogin)||!((ge=er.body)!=null&&ge.hidePopLogin))&&(0,u.getDvaApp)()._store.dispatch({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}}),Se.status===402&&(localStorage.getItem("addinfo")==="2"?(0,u.getDvaApp)()._store.dispatch({type:"shixunHomeworks/setActionTabs",payload:{key:"\u586B\u5145\u4FE1\u606F\u5F39\u7A97"}}):(j=j||l.default.confirm({visible:!1,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88"}),j.update({centered:!0,visible:!0,title:"\u63D0\u793A",content:"\u60A8\u9700\u8981\u53BB\u5B8C\u5584\u60A8\u7684\u4E2A\u4EBA\u8D44\u6599\uFF0C\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD",okText:"\u7ACB\u5373\u5B8C\u5584",cancelText:"\u7A0D\u540E\u5B8C\u5584",onOk:()=>{u.history.push("/account/profile/edit")}})))}catch(Me){console.log("fetcherr",Me)}return G(Se,F),Se})).catch(yt=>{try{const ht=yt.code;if(yt instanceof TypeError&&window.showNetworkErrorTip(`${F}<span class="ml10">${yt.message}</span>`),ht){if(ht===401){(0,u.getDvaApp)()._store.dispatch({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}});return}G(yt,F)}else F.includes("/file/filePatchMerge")?(0,u.getDvaApp)()._store.dispatch({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5206\u7247\u4E13\u7528504",params:er.body}}):yt.message!=="403"&&window.showNetworkErrorTip(`${F}<span class="ml10">${yt.message}</span>`);return yt}catch(ht){}})}let K=!1,V=!1;const G=(F,se)=>{var _e,Pe,Re;if(F.status==-6&&!V){V=!0,(0,a.d8)("_educoder_session","logout",1),(0,a.m5)(),setTimeout(()=>V=!1,500),l.default.info({title:"\u7CFB\u7EDF\u901A\u77E5",content:F.message,okText:"\u77E5\u9053\u4E86",maskStyle:{background:"#000"},onOk:()=>{window.location.reload()}});return}if(F.status==-7){V=!0,setTimeout(()=>V=!1,500);let $e="";(_e=F==null?void 0:F.data)!=null&&_e.exercise_list&&((Re=(Pe=F==null?void 0:F.data)==null?void 0:Pe.exercise_list)==null||Re.map(Ht=>{$e+=`<a target="_blank" href="/classrooms/${Ht.identifier}/exercise">\u300A${Ht.exercise_name}\u300B</a>`})),l.default.info({title:"\u63D0\u793A",content:h.createElement("div",{id:"fetchStatus7",className:"fetchStatus7"},""),maskClosable:!1,closeIcon:!1,width:550,maskStyle:{background:"#000"},okText:"\u8FD4\u56DE\u9996\u9875",onOk:()=>{window.location.href="/"}}),setTimeout(()=>{document.getElementById("fetchStatus7").innerHTML=`<div>\u60A8\u5F53\u524D\u6709\u6B63\u5728\u8FDB\u884C\u7684\u8003\u8BD5 ${$e} \uFF0C\u8BF7\u5728\u8003\u8BD5\u7ED3\u675F\u540E\u8BBF\u95EE\u8BE5\u9875\u9762</div>`},500);return}if((F.status==-1||F.status==-2||F.status==-102||F.status>400)&&F.status!=403&&!V){V=!0,setTimeout(()=>V=!1,500),c.ZP.warning({content:F.message,key:"message-key"});return}const Ze={403:"/403",404:"/404",500:"/500"};if(Ze[F.status]&&!K){const{user:$e}=(0,u.getDvaApp)()._store.getState(),{userInfo:Ht}=$e;throw window.location.pathname.indexOf("/users")>-1&&document.domain==="kepukehuan.educoder.net"&&(K=!0),setTimeout(()=>K=!1,500),sessionStorage.setItem("errorStatus",JSON.stringify(F)),Object.values(Ze).includes(window.location.pathname)?console.log("\u5F53\u524D\u8DEF\u5F84\u5B58\u5728\u4E8E mapping \u4E2D, \u4E0D\u518D\u6267\u884C\u8DF3\u8F6C"):location.replace(Ze[F.status]),new Error("403")}};function te(F,se){return ue(`/api/${F}`,{method:"Get",params:se||{}})}function q(F,se){return ue(`/${F}`,{method:"Get",params:se})}function J(F,se){return ue(`/api/${F}`,{method:"Post",body:D({},se)})}function le(F,se){return ue(`/api/${F}`,{method:"Put",body:D({},se)})}function z(F,se){return ue(`/api/${F}`,{method:"delete",body:D({},se||{})})}},11851:function(d,g,e){"use strict";e.d(g,{Bn:function(){return l},hw:function(){return i},mi:function(){return r}});const r="WTJJelpXRXdaakk0Tm1SbE56UTFPRFl5TXpnNVltWmtZVE0zTVdSalltST0=",i="WVdaak1UVmhOVEF3TkRRd05qZGlZemRsTVdZeFptSTROek5rT0daak1UYz0=",l="T1RkaE1XWTRaalJoTUdaaE9HUmxaR016T0RGa05XTTNPRFkwTkdJeVpUQT0="},81428:function(d,g,e){"use strict";e.d(g,{AL:function(){return N},Iy:function(){return p},Qv:function(){return b},ez:function(){return M},jb:function(){return y}});var r=e(32834),i=e.n(r),l=e(11690),c=e.n(l);let f=1;function s(oe,ie){const ue=oe.match(/^(\s+)(?:```)/);if(ue===null)return ie;const K=ue[1];return ie.split(`
`).map(V=>{const G=V.match(/^\s+/);if(G===null)return V;const[te]=G;return te.length>=K.length?V.slice(K.length):V}).join(`
`)}let h=[],u=["<ul>"];const a=new(i()).Renderer,x=/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/;function p(){h.length=0,u=["<ul>"]}const y={overflow:"hidden",WebkitBoxOrient:"vertical",display:"-webkit-box",WebkitLineClamp:2};function _(oe,ie,ue,K){if(ie>=oe.length||oe[ie].level<=ue)return ie;var V=oe[ie];K.push("<li><a href='#"+f+V.anchor+"'>"+V.text+"</a>"),ie++;var G=[];return ie=_(oe,ie,V.level,G),G.length>0&&(K.push("<ul>"),G.forEach(function(te){K.push(te)}),K.push("</ul>")),K.push("</li>"),ie=_(oe,ie,ue,K),ie}function b(){return _(h,0,0,u),u.push("</ul>"),u.join("")}const S={heading(oe){const ie=x.exec(oe);if(f+=1,ie)return{type:"heading",raw:ie[0],depth:ie[1].length,text:ie[2]}},fences(oe){const ie=this.rules.block.fences.exec(oe);if(ie){const ue=ie[0];let K=s(ue,ie[3]||"");const V=ie[2]?ie[2].trim():ie[2];if(["latex","katex","math"].indexOf(V)>=0){const G=T(),te=K;K=G,D[G]={type:"block",expression:te}}return{type:"code",raw:ue,lang:V,text:K}}}},R=/(?:\${2})([^\n`]+?)(?:\${2})/gi;let L=0;const T=()=>`__special_katext_id_${L++}__`;let D={};function M(){return D}function N(){L=0,D={}}function j(oe){return oe=oe.replace(R,(ie,ue)=>{const K=T();return D[K]={type:"inline",expression:ue},K}),oe}const Q=a.listitem;a.listitem=function(oe){return Q(j(oe))};const X=a.paragraph;a.paragraph=function(oe){return X(j(oe))};const Y=a.tablecell;a.tablecell=function(oe,ie){return Y(j(oe),ie)},a.code=function(oe,ie,ue){const K=(ie||"").match(/\S*/)[0];return K?["latex","katex","math"].indexOf(K)>=0?`<p class='editormd-tex'>${oe}</p>`:`<pre class="prettyprint linenums"><code class="language-${ie}">${ue?oe:(0,l.escape)(oe,!0)}</code></pre>
`:'<pre class="prettyprint linenums"><code>'+(ue?oe:(0,l.escape)(oe,!0))+"</code></pre>"},a.heading=function(oe,ie,ue){let K=this.options.headerPrefix+ue.toLowerCase().replace(/[^\w\\u4e00-\\u9fa5]]+/g,"-");return h.push({anchor:K,level:ie,text:oe}),"<h"+ie+' id="'+f+K+'">'+oe+"</h"+ie+">"},i().setOptions({silent:!0,gfm:!0,pedantic:!1}),i().use({tokenizer:S,renderer:a}),g.ZP=i()},51257:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{AS:function(){return vtrsKey},BO:function(){return NewAntdDisabledDate},Br:function(){return getBlob},DH:function(){return timego},Dk:function(){return setDocumentTitle},Dw:function(){return onPreviewImage},EJ:function(){return HighLightedContent},EM:function(){return toChineseNumber},EN:function(){return preciseCalculation},Ec:function(){return setHeader},FH:function(){return downLoadFile},G5:function(){return sendAppStatus},G7:function(){return handleValidatorNickName},HJ:function(){return handleValidatorName},I9:function(){return RomanNumber},IS:function(){return isWechatBrowser},Il:function(){return setThreeComponent},JL:function(){return formatHomeWorkStatusToName},Jn:function(){return getImageUrl},L4:function(){return PollsStatus},L9:function(){return trackEvent},LR:function(){return download},Ll:function(){return checkIsClientExam},M:function(){return setmiyah},M2:function(){return randomArray},NY:function(){return setUrlQuery},Nd:function(){return downLoadLink},Oo:function(){return getCategoryName},Or:function(){return toWechatLogin},PF:function(){return formatRandomPaperDatas},Pq:function(){return cutName},Q8:function(){return disabledDate},QB:function(){return timeContrast},QE:function(){return releaseRuleDataAdjust},QH:function(){return downLoadFileIframe},Qq:function(){return JudgeSort},RD:function(){return bytesToSize},RG:function(){return copyTextFuc},Sp:function(){return rangeNumber},Tv:function(){return ImgSrcConvert},U6:function(){return HalfPastOne},UQ:function(){return HomeWorkDetailStatus},Uw:function(){return CommonWorkStatus},VV:function(){return StatusClassroomsTags},Vf:function(){return domScrollToTop},W:function(){return isUnOrNull},WX:function(){return isLocalApp},Y:function(){return HomeWorkCommonDetailStatus},YA:function(){return getHiddenName},ZJ:function(){return toDataUrl},_g:function(){return getMessagesUrl},_m:function(){return isKepuKehuan},ad:function(){return formatRandomPaperData},b9:function(){return isPc},cX:function(){return localSort},d0:function(){return disabledTime},d8:function(){return setCookie},db:function(){return getFileContentAndUrl},eF:function(){return bindPhone},eR:function(){return validateLength},ej:function(){return getCookie},en:function(){return parseUrl},fX:function(){return buildTree},hi:function(){return getExamRestrictionInfo},hv:function(){return NewAntdDisabledTime},i7:function(){return isChrome},j1:function(){return StatusGraduationProjectTags},jh:function(){return educationList},jt:function(){return showInstallWebRtcDoc},ju:function(){return ExerciseStatus},jz:function(){return replaceParamVal},k3:function(){return scrollToTop},kk:function(){return pointerEvents},lC:function(){return HomeWorkListStatus},lF:function(){return toWNumber},li:function(){return toTimeFormat},m5:function(){return clearAllCookies},nr:function(){return startExercise},oP:function(){return getJsonFromUrl},oV:function(){return ZimuSort},og:function(){return formatRate},oi:function(){return checkLocalOrPublicIp},pE:function(){return addJumping},pp:function(){return findEndWhitespace},qZ:function(){return arrTrans},qd:function(){return DayHalfPastOne},rK:function(){return HomeWorkShixunListStatus},rU:function(){return showTotal},rz:function(){return moveArray},s2:function(){return isMobileDevice},tP:function(){return cutFileName},tw:function(){return getTwoDecimalPlaces},uD:function(){return dealUploadChange},vA:function(){return HomeWorkShixunDetailStatus},vB:function(){return exerciseTips},vQ:function(){return copyToClipboard},xg:function(){return openNewWindow},y3:function(){return getBase64},yC:function(){return compareVersion}});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(59301),_utils_authority__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(48790),antd__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(8591),antd__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(43418),antd__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(95237),antd__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(43604),_components_Exercise_ip__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(6383),_service_exercise__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(81722),_contentType__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(77935),umi__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(25690),md5__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(93735),md5__WEBPACK_IMPORTED_MODULE_6___default=__webpack_require__.n(md5__WEBPACK_IMPORTED_MODULE_6__),_env__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(346),_components_mediator__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(49535),_components_RenderHtml__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(91842),_utils_fetch__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(38986),crypto_js__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(28209),crypto_js__WEBPACK_IMPORTED_MODULE_11___default=__webpack_require__.n(crypto_js__WEBPACK_IMPORTED_MODULE_11__),_key__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__(11851),moment__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(61186),moment__WEBPACK_IMPORTED_MODULE_12___default=__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_12__),dayjs_plugin_customParseFormat__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(33656),dayjs_plugin_customParseFormat__WEBPACK_IMPORTED_MODULE_13___default=__webpack_require__.n(dayjs_plugin_customParseFormat__WEBPACK_IMPORTED_MODULE_13__),uuid__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__(1012),__defProp=Object.defineProperty,__defProps=Object.defineProperties,__getOwnPropDescs=Object.getOwnPropertyDescriptors,__getOwnPropSymbols=Object.getOwnPropertySymbols,__hasOwnProp=Object.prototype.hasOwnProperty,__propIsEnum=Object.prototype.propertyIsEnumerable,__defNormalProp=(d,g,e)=>g in d?__defProp(d,g,{enumerable:!0,configurable:!0,writable:!0,value:e}):d[g]=e,__spreadValues=(d,g)=>{for(var e in g||(g={}))__hasOwnProp.call(g,e)&&__defNormalProp(d,e,g[e]);if(__getOwnPropSymbols)for(var e of __getOwnPropSymbols(g))__propIsEnum.call(g,e)&&__defNormalProp(d,e,g[e]);return d},__spreadProps=(d,g)=>__defProps(d,__getOwnPropDescs(g)),__async=(d,g,e)=>new Promise((r,i)=>{var l=s=>{try{f(e.next(s))}catch(h){i(h)}},c=s=>{try{f(e.throw(s))}catch(h){i(h)}},f=s=>s.done?r(s.value):Promise.resolve(s.value).then(l,c);f((e=e.apply(d,g)).next())}),_a,_b;moment__WEBPACK_IMPORTED_MODULE_12___default().extend(dayjs_plugin_customParseFormat__WEBPACK_IMPORTED_MODULE_13___default());const HighLightedContent=(d,g=[],e="#2EC25B")=>(typeof g=="string"&&(g=[g]),d.replace(new RegExp(`(${g.join("|")})`,"gi"),`<span style="color:${e}">$1</span>`)),parseParams=d=>{d=d||{};let g="";for(let e in d)typeof d[e]=="object"?Array.isArray(d[e])&&d[e].forEach((r,i)=>{g+="&"+e+"[]="+r}):d[e]!==void 0&&(g+="&"+e+"="+d[e]);return g.substr(1)},getKey=d=>window.atob(window.atob(d));function bytesToSize(d){var g=["Bytes","KB","MB","GB","TB"];if(d==0)return"0 Byte";var e=parseInt(""+Math.floor(Math.log(d)/Math.log(1024)),10);return(d/Math.pow(1024,e)).toFixed(1)+" "+g[e]}const getTwoDecimalPlaces=d=>Math.round(Math.round(d*1e5)/1e3*100)/100,NewAntdDisabledDate=(d,g=null)=>{const e=d<moment__WEBPACK_IMPORTED_MODULE_12___default()(g==null?void 0:g.startTime).startOf("day"),r=d>moment__WEBPACK_IMPORTED_MODULE_12___default()(g==null?void 0:g.endTime).endOf("day"),i=d<moment__WEBPACK_IMPORTED_MODULE_12___default()(g==null?void 0:g.compared).startOf("day");return g!=null&&g.endTime?g!=null&&g.compared?moment__WEBPACK_IMPORTED_MODULE_12___default()()<=moment__WEBPACK_IMPORTED_MODULE_12___default()(g==null?void 0:g.compared)?i||r:e||r:d&&e||r:g!=null&&g.compared&&moment__WEBPACK_IMPORTED_MODULE_12___default()()<=moment__WEBPACK_IMPORTED_MODULE_12___default()(g==null?void 0:g.compared)?i:e},NewAntdDisabledTime=(d,g=null)=>{const e=parseInt(moment__WEBPACK_IMPORTED_MODULE_12___default()(d).format("HH")),r=parseInt(moment__WEBPACK_IMPORTED_MODULE_12___default()(d).format("mm")),i=parseInt(moment__WEBPACK_IMPORTED_MODULE_12___default()().format("HH")),l=parseInt(moment__WEBPACK_IMPORTED_MODULE_12___default()().format("mm")),c=parseInt(moment__WEBPACK_IMPORTED_MODULE_12___default()().format("ss"));function f(s,h){const u=[];for(let a=s;a<h;a++)u.push(a);return u}if(!d)return{disabledHours:()=>f(0,i),disabledMinutes:()=>f(0,l)};if(g!=null&&g.compared){const s=parseInt(moment__WEBPACK_IMPORTED_MODULE_12___default()(g==null?void 0:g.compared).format("HH")),h=parseInt(moment__WEBPACK_IMPORTED_MODULE_12___default()(g==null?void 0:g.compared).format("mm")),u=parseInt(moment__WEBPACK_IMPORTED_MODULE_12___default()(g==null?void 0:g.compared).format("ss"));return moment__WEBPACK_IMPORTED_MODULE_12___default()(d).isSame(moment__WEBPACK_IMPORTED_MODULE_12___default()(g==null?void 0:g.compared),"day")?{disabledHours:()=>f(0,s),disabledMinutes:()=>e<=s?f(0,h):[]}:void 0}if(moment__WEBPACK_IMPORTED_MODULE_12___default()(d).isSame(moment__WEBPACK_IMPORTED_MODULE_12___default()(),"day"))return{disabledHours:()=>f(0,i),disabledMinutes:()=>moment__WEBPACK_IMPORTED_MODULE_12___default()(d).isSame(moment__WEBPACK_IMPORTED_MODULE_12___default()(),"hour")&&e<=i?f(0,l):[]}},disabledDate=(d,g,e,r)=>{r=typeof r=="string"?moment__WEBPACK_IMPORTED_MODULE_12___default()(r):r;const i=r?d<(r==null?void 0:r.startOf("day")):d<moment__WEBPACK_IMPORTED_MODULE_12___default()().startOf("day"),l=d>moment__WEBPACK_IMPORTED_MODULE_12___default()(g).endOf("day"),c=d<moment__WEBPACK_IMPORTED_MODULE_12___default()(e).startOf("day");return g?e?moment__WEBPACK_IMPORTED_MODULE_12___default()()<=moment__WEBPACK_IMPORTED_MODULE_12___default()(e)?c||l:i||l:d&&i||l:e&&moment__WEBPACK_IMPORTED_MODULE_12___default()()<=moment__WEBPACK_IMPORTED_MODULE_12___default()(e)?c:i},disabledTime=(d,g)=>{const e=parseInt(moment__WEBPACK_IMPORTED_MODULE_12___default()(d).format("HH")),r=parseInt(moment__WEBPACK_IMPORTED_MODULE_12___default()().format("HH")),i=parseInt(moment__WEBPACK_IMPORTED_MODULE_12___default()().format("mm"));function l(c,f){const s=[];for(let h=c;h<f;h++)s.push(h);return s}if(!d)return{disabledHours:()=>l(0,r),disabledMinutes:()=>l(0,i)};if(g){const c=parseInt(moment__WEBPACK_IMPORTED_MODULE_12___default()(g).format("HH")),f=parseInt(moment__WEBPACK_IMPORTED_MODULE_12___default()(g).format("mm"));return moment__WEBPACK_IMPORTED_MODULE_12___default()(d).isSame(moment__WEBPACK_IMPORTED_MODULE_12___default()(g),"day")?{disabledHours:()=>l(0,c),disabledMinutes:()=>e<=c?l(0,f):[]}:void 0}if(moment__WEBPACK_IMPORTED_MODULE_12___default()(d).isSame(moment__WEBPACK_IMPORTED_MODULE_12___default()(),"day"))return{disabledHours:()=>l(0,r),disabledMinutes:()=>moment__WEBPACK_IMPORTED_MODULE_12___default()(d).isSame(moment__WEBPACK_IMPORTED_MODULE_12___default()(),"hour")&&e<=r?l(0,i):[]}},preciseCalculation=(d,g,e)=>{typeof d=="string"&&(d=Number(d)),typeof g=="string"&&(g=Number(g));const r=(d.toString().split(".")[1]||"").length,i=(g.toString().split(".")[1]||"").length,l=Math.max(r,i),c=Math.pow(10,l);return(()=>{switch(e){case"+":return(Math.round(d*c)+Math.round(g*c))/c;case"-":return(Math.round(d*c)-Math.round(g*c))/c;case"*":return Math.round(d*c)*Math.round(g*c)/(c*c);case"/":return Math.round(d*c)/Math.round(g*c);default:throw new Error("\u4E0D\u652F\u6301\u7684\u8FD0\u7B97\u7B26\u53F7")}})()},toWNumber=d=>d/1e4>1?react__WEBPACK_IMPORTED_MODULE_0__.createElement(react__WEBPACK_IMPORTED_MODULE_0__.Fragment,null,Math.round(d/1e4*100)/100,react__WEBPACK_IMPORTED_MODULE_0__.createElement("i",{className:"font12"},"w")):d,toChineseNumber=d=>{const g=d.toString().replace(/(?=(\d{4})+$)/g,",").split(",").filter(Boolean),e=["\u96F6","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D","\u4E03","\u516B","\u4E5D"],r=["","\u5341","\u767E","\u5343"],i=["","\u4E07","\u4EBF"],l=f=>{let s="";for(let h=0;h<f.length;h++){const u=+f[h],a=e[u],x=r[f.length-1-h];u===0?s[s.length-1]!==e[0]&&(s+=a):s+=a+x}return s[s.length-1]===e[0]&&(s=s.slice(0,-1)),s};let c="";for(let f=0;f<g.length;f++){const s=g[f],h=l(s),u=h?i[g.length-1-f]:"";c+=h+u}return c=c.replace(/^一十$/,"\u5341"),c=c.replace(/^一(?=十[一二三四五六七八九])/,""),c},moveArray=(d,g,e)=>{const r=d.splice(g,1)[0];return d.splice(e,0,r),d},ZimuSort=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],JudgeSort=["\u6B63\u786E","\u9519\u8BEF"],RomanNumber=["I","II","III","IV","V","VI","VII","VIII","IX","X","XI","XII","XIII","XIV","XV","XVI","XVII","XVIII","XIX","XX"],findEndWhitespace=d=>{if(!d)return"";const g=d.replace(/(?:\r\n|\n)/g,`\x1B[41m\x1B[37m\u21B5\x1B[0m\r
`).replace(/ +$/g,"\x1B[41m \x1B[0m");return console.debug("str:",g,JSON.stringify(d)),g},StatusTags=d=>{const g={\u5DF2\u622A\u6B62:{class:"tag-style bg-pink ml10"},\u63D0\u4EA4\u4E2D:{class:"tag-style bg-blue ml10"},\u8FDB\u884C\u4E2D:{class:"tag-style bg-blue ml10"},\u672A\u53D1\u5E03:{class:"tag-style bgB8B8B8 ml10"},\u8865\u4EA4\u4E2D:{class:"tag-style bg-blue ml10"},\u96C6\u4E2D\u9605\u5377:{class:"tag-style bg-light-orangess ml10soft"}};return d.data&&d.data.map(function(e,r){return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{key:r,className:g[e]&&g[e].class},e)})},formatHomeWorkStatusToName=d=>({[-1]:"\u91CD\u505A\u4E2D",0:"\u672A\u5F00\u542F",1:"\u672A\u901A\u5173",2:"\u6309\u65F6\u901A\u5173"})[d]||"\u8FDF\u4EA4\u901A\u5173",HomeWorkListStatus=d=>{var g,e;const r={[-1]:{name:"\u91CD\u505A\u4E2D",class:"c-orange"},0:{name:"\u672A\u5F00\u542F",class:"c-black"},1:{name:"\u672A\u901A\u5173",class:"c-red"},2:{name:"\u6309\u65F6\u901A\u5173",class:"c-green"},3:{name:"\u8865\u4EA4\u901A\u5173",class:"c-orange"},4:{name:"\u622A\u6B62\u901A\u5173",class:"c-red"}};return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:(g=r==null?void 0:r[d.status])==null?void 0:g.class},(e=r==null?void 0:r[d.status])==null?void 0:e.name)},HomeWorkShixunListStatus=d=>{var g,e;const r={[-1]:{name:"\u91CD\u505A\u4E2D",class:"c-orange"},0:{name:"\u672A\u5F00\u542F",class:"c-black"},1:{name:"\u672A\u901A\u5173",class:"c-red"},2:{name:"\u6309\u65F6\u901A\u5173",class:"c-green"},3:{name:"\u8865\u4EA4\u901A\u5173",class:"c-orange"},4:{name:"\u622A\u6B62\u540E\u901A\u5173",class:"c-red"}};return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:(g=r==null?void 0:r[d.status])==null?void 0:g.class},(e=r==null?void 0:r[d.status])==null?void 0:e.name)},HomeWorkDetailStatus=d=>{var g,e;const r={[-1]:{name:"\u91CD\u505A\u4E2D",class:"c-orange",color:"#999999"},0:{name:"\u672A\u5F00\u542F",class:"c-black",color:"#999999"},1:{name:"\u672A\u901A\u5173",class:"c-red",color:"#d4443d"},2:{name:"\u6309\u65F6\u901A\u5173",class:"c-green",color:"#57be40"},3:{name:"\u8865\u4EA4\u901A\u5173",class:"c-orange",color:"#f09143"},4:{name:"\u622A\u6B62\u901A\u5173",class:"c-red",color:"#d4443d"}};return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{style:{marginLeft:"10px",color:"#fff",background:(g=r==null?void 0:r[d.status])==null?void 0:g.color,borderRadius:"20px",width:"65px",height:"18px",justifyContent:"center",display:"inline-flex",lineHeight:"18px"}},(e=r==null?void 0:r[d.status])==null?void 0:e.name)},HomeWorkShixunDetailStatus=d=>{var g,e;const r={[-1]:{name:"\u91CD\u505A\u4E2D",class:"c-orange",color:"#999999"},0:{name:"\u672A\u5F00\u542F",class:"c-black",color:"#999999"},1:{name:"\u672A\u901A\u5173",class:"c-red",color:"#d4443d"},2:{name:"\u6309\u65F6\u901A\u5173",class:"c-green",color:"#57be40"},3:{name:"\u8865\u4EA4\u901A\u5173",class:"c-orange",color:"#f09143"},4:{name:"\u622A\u6B62\u540E\u901A\u5173",class:"c-red",color:"#d4443d"},5:{name:"\u622A\u6B62\u540E\u8BC4\u6D4B",class:"c-red",color:"#d4443d"}};return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{style:{marginLeft:"10px",color:"#fff",background:(g=r==null?void 0:r[d.status])==null?void 0:g.color,borderRadius:"20px",padding:"0 8px",height:"18px",justifyContent:"center",display:"inline-flex",lineHeight:"18px"}},(e=r==null?void 0:r[d.status])==null?void 0:e.name)},HomeWorkCommonDetailStatus=d=>{var g,e;const r={[-1]:{name:"\u91CD\u505A\u4E2D",class:"c-black",color:"#999999"},0:{name:"\u672A\u63D0\u4EA4",class:"c-black",color:"#999999"},1:{name:"\u6309\u65F6\u63D0\u4EA4",class:"c-green",color:"#57be40"},2:{name:"\u5EF6\u65F6\u63D0\u4EA4",class:"c-red",color:"#d4443d"}};return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{style:{marginLeft:"10px",color:"#fff",background:(g=r==null?void 0:r[d.status])==null?void 0:g.color,borderRadius:"20px",padding:"0 8px",height:"18px",justifyContent:"center",display:"inline-flex",lineHeight:"18px"}},(e=r==null?void 0:r[d.status])==null?void 0:e.name)},StatusGraduationProjectTags=d=>{const{status:g}=d,e={0:{class:"tag-style bg-blue ml10",name:"\u5F85\u9009\u4E2D"},1:{class:"tag-style bg-blue ml10",name:"\u5F85\u786E\u8BA4"},2:{class:"tag-style bg-pink ml10",name:"\u5DF2\u786E\u8BA4"}};try{return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:e[g].class},e[g].name)}catch(r){console.log("utils.StatusGraduationProjectTags",d.status)}},ExerciseStatus={1:"\u672A\u53D1\u5E03",2:"\u8003\u8BD5\u4E2D",3:"\u5DF2\u622A\u6B62",4:"\u5DF2\u7ED3\u675F",5:"\u96C6\u4E2D\u9605\u5377",99:"\u6A21\u62DF\u8003\u8BD5\u4E2D"},PollsStatus={1:"\u672A\u53D1\u5E03",2:"\u63D0\u4EA4\u4E2D",3:"\u5DF2\u622A\u6B62",4:"\u5DF2\u7ED3\u675F",5:"\u672A\u5F00\u59CB"},StatusClassroomsTags=d=>{let g={\u6A21\u62DF\u8003\u8BD5\u4E2D:{class:"tag-style bg-light-pink ml10"},\u5DF2\u5F00\u542F\u9632\u4F5C\u5F0A:{class:"tag-style-fzb ml10 iconfont icon-fangzuobi"},\u516C\u5F00:{class:"tag-style bg-blue ml10"},\u5DF2\u5F00\u542F\u8865\u4EA4:{class:"tag-style bg-green ml10soft"},\u672A\u5F00\u542F\u8865\u4EA4:{class:"tag-style bg-pink ml10soft"},\u672A\u53D1\u5E03:{class:"tag-style bgB8B8B8 ml10soft"},\u672A\u5F00\u59CB:{class:"tag-style bg-c5d6ff ml10soft"},\u533F\u540D\u4F5C\u54C1:{class:"tag-style bg-cyan ml10"},\u5DF2\u9009\u62E9:{class:"tag-style bg-grey-ede ml10"},\u5DF2\u7ED3\u675F:{class:"tag-style bg-grey-ede ml10soft"},\u63D0\u4EA4\u4E2D:{class:"tag-style bg-blue ml10soft"},\u8FDB\u884C\u4E2D:{class:"tag-style bg-blue ml10soft"},\u533F\u8BC4\u4E2D:{class:"tag-style bg-blue ml10"},\u7533\u8BC9\u4E2D:{class:"tag-style bg-blue ml10"},\u8003\u8BD5\u4E2D:{class:"tag-style bg-light-blue ml10"},\u8865\u4EA4\u4E2D:{class:"tag-style bg-blue ml10soft"},\u8BC4\u9605\u4E2D:{class:"tag-style bg-blue ml10"},\u5F85\u9009\u4E2D:{class:"tag-style bg-blue ml10"},\u4EA4\u53C9\u8BC4\u9605\u4E2D:{class:"tag-style bg-light-orange ml10"},\u5DF2\u5F00\u542F\u4EA4\u53C9\u8BC4\u9605:{class:"tag-style bg-lightblue-purple ml10"},\u5F85\u786E\u8BA4:{class:"tag-style bg-lightblue-purple ml10"},\u5F85\u5904\u7406:{class:"tag-style bg-lightblue-purple ml10"},\u79C1\u6709:{class:"tag-style bg-lightblue-purple ml10"},\u672A\u63D0\u4EA4:{class:"tag-style bg-lightblue-purple ml10"},\u5DF2\u786E\u8BA4:{class:"tag-style bg-light-pink ml10"},\u5DF2\u53D1\u5E03:{class:"tag-style bg-light-blue ml10"},\u5DF2\u622A\u6B62:{class:"tag-style bg-light-pink ml10soft"},\u5F00\u53D1\u8BFE\u7A0B:{class:"tag-style bg-orange ml10"},\u5DF2\u5F00\u64AD:{class:"tag-style-border border-green c-green ml10"},\u672A\u5F00\u64AD:{class:"tag-style-border border-light-black ml10"},\u6309\u65F6\u901A\u5173:{class:"tag-style-border border-light-black ml10"},\u8FDF\u4EA4\u901A\u5173:{class:"tag-style-border border-light-black ml10"},\u672A\u901A\u5173:{class:"tag-style-border border-light-black ml10"},\u672A\u5F00\u542F:{class:"tag-style-border border-light-black ml10"},\u5BFC\u5165:{class:"export ml10"},\u96C6\u4E2D\u9605\u5377:{class:"tag-style bg-light-orangess ml10soft"}};const e={\u672A\u53D1\u5E03:{class:"tag-style bg-C6CED6 ml10soft"},\u672A\u5F00\u59CB:{class:"tag-style bg-C1E2FF ml10soft"},\u8FDB\u884C\u4E2D:{class:"tag-style bg-0152d9 ml10soft"},\u5DF2\u622A\u6B62:{class:"tag-style bg-E53333 ml10soft"},\u63D0\u4EA4\u4E2D:{class:"tag-style bg-0152d9 ml10soft"},\u8865\u4EA4\u4E2D:{class:"tag-style bg-44D7B6 ml10soft"}};d.temporary&&(g=__spreadValues(__spreadValues({},g),e));const r=[];d.is_random&&r.push(react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"tag-style bg-blue ml10"},"\u968F\u673A"));try{d.status&&d.status.map((i,l)=>{r.push(react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{style:(d==null?void 0:d.style)||[],key:l,className:g[i]&&g[i].class},i))})}catch(i){console.log("utils.status.tag:",i,d.status)}return r},exerciseTips=(d,g)=>{if(d===5||g)return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{style:{backgroundColor:"#f59a23"},className:"tag-style ml5"},"\u96C6\u4E2D\u9605\u5377");if(d===1)return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{style:{backgroundColor:"#B8B8B8"},className:"tag-style ml5"},"\u672A\u5F00\u59CB");if(d===2)return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{style:{backgroundColor:"#007AFF"},className:"tag-style ml5"},"\u8003\u8BD5\u4E2D");if(d===3||d===4)return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{style:{backgroundColor:"#FC2D6B"},className:"tag-style ml5"},"\u5DF2\u622A\u6B62");if(d===-1)return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"export ml5"},"\u5BFC\u5165")},WorkStatus=d=>{var g,e;const r={[-1]:{name:"\u91CD\u505A\u4E2D",class:"c-orange"},0:{name:"\u672A\u63D0\u4EA4",class:"c-black"},1:{name:"\u672A\u901A\u5173",class:"c-red"},2:{name:"\u6309\u65F6\u901A\u5173",class:"c-green"},3:{name:"\u8FDF\u4EA4\u901A\u5173",class:"c-orange"}};return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:(g=r[d.status])==null?void 0:g.class},(e=r[d.status])==null?void 0:e.name)},CommonWorkStatus=d=>{var g,e;const r={0:{name:"\u672A\u63D0\u4EA4",class:"c-black"},1:{name:"\u6309\u65F6\u63D0\u4EA4",class:"c-green"},2:{name:"\u5EF6\u65F6\u63D0\u4EA4",class:"c-red"},3:{name:"\u90E8\u5206\u63D0\u4EA4",class:"c-green"},4:{name:`\u6309\u65F6\u63D0\u4EA4${d!=null&&d.lineBreak?`
`:""}\uFF08\u6559\u5E08\u63D0\u4EA4\uFF09`,class:"c-green"},5:{name:`\u672A\u63D0\u4EA4${d!=null&&d.lineBreak?`
`:""}\uFF08\u6559\u5E08\u63D0\u4EA4\uFF09`,class:"c-black"},6:{name:"\u6309\u65F6\u63D0\u4EA4\uFF08\u7EBF\u4E0B\uFF09",class:"c-green"}};return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:(g=r[d.status])==null?void 0:g.class},(e=r[d.status])==null?void 0:e.name)},timego=d=>{d=new Date(d).getTime();let g=1e3*60,e=g*60,r=e*24,i="",c=new Date().getTime()-d;if(c<0)return console.log("\u65F6\u95F4\u4E0D\u5BF9\u52B2,\u670D\u52A1\u5668\u521B\u5EFA\u65F6\u95F4\u4E0E\u5F53\u524D\u65F6\u95F4\u4E0D\u540C\u6B65"),i="\u521A\u521A";let f=parseInt(c/r,10),s=parseInt(c/e,10),h=parseInt(c/g,10);return f>30?i=""+timeformat(d,"yyyy-MM-dd"):f>1?i=""+f+"\u5929\u524D":f==1?i="\u6628\u5929":s>=1?i=""+s+"\u5C0F\u65F6\u524D":h>=5?i=""+h+"\u5206\u949F\u524D":i="\u521A\u521A",i};function replaceParamVal(paramName,replaceWith){var oUrl=window.location.href.toString(),re=eval("/("+paramName+"=)([^&]*)/gi"),nUrl=oUrl.replace(re,paramName+"="+replaceWith);window.history.replaceState(null,"",nUrl)}const timeformat=(d,g)=>{typeof d=="string"&&(d.indexOf("T")>=0&&(d=d.replace("T"," ")),d=new Date(Date.parse(d.replace(/-/g,"/")))),d=new Date(d);let e={"M+":d.getMonth()+1,"d+":d.getDate(),"h+":d.getHours(),"m+":d.getMinutes(),"s+":d.getSeconds(),"q+":Math.floor((d.getMonth()+3)/3),S:d.getMilliseconds()},r=[["\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"],["\u5468\u65E5","\u5468\u4E00","\u5468\u4E8C","\u5468\u4E09","\u5468\u56DB","\u5468\u4E94","\u5468\u516D"],["\u661F\u671F\u65E5","\u661F\u671F\u4E00","\u661F\u671F\u4E8C","\u661F\u671F\u4E09","\u661F\u671F\u56DB","\u661F\u671F\u4E94","\u661F\u671F\u516D"]];/(y+)/.test(g)&&(g=g.replace(RegExp.$1,(d.getFullYear()+"").substr(4-RegExp.$1.length))),/(w+)/.test(g)&&(g=g.replace(RegExp.$1,r[RegExp.$1.length-1][d.getDay()]));for(let i in e)new RegExp("("+i+")").test(g)&&(g=g.replace(RegExp.$1,RegExp.$1.length==1?e[i]:("00"+e[i]).substr((""+e[i]).length)));return g},toTimeFormat=d=>{if(!d||d<0)return"0\u79D2";console.log("time:",d);let g=60,e=g*60,r=e*24,i=d/r,l=d/e,c=d/g,f=d%60;return i>=1?parseInt(i.toString())+"\u5929"+Math.floor(l%24)+"\u65F6"+Math.floor(c%60)+"\u5206"+Math.floor(d%60)+"\u79D2":l>1?parseInt(l.toString())+"\u65F6"+Math.floor(c%60)+"\u5206"+Math.floor(d%60)+"\u79D2":c>=1?parseInt(c.toString())+"\u5206"+Math.floor(d%60)+"\u79D2":Math.ceil(d)+"\u79D2"},validateLength=(d="",g=100)=>{let e=0;if(d){e=d.length;for(let r=0;r<e;r++){let i=d.charCodeAt(r);i>=55296&&i<=56319&&(e--,r++)}}return e<=g};function buildTree(d,g){const e={};let r=null;return d.forEach(i=>{e[i.properties.uuid]=__spreadProps(__spreadValues({},i),{children:[]})}),g.forEach(i=>{const l=e[i.startNodeUuid],c=e[i.endNodeUuid];l&&c&&l.children.push(c)}),d.forEach(i=>{!g.some(c=>c.endNodeUuid===i.properties.uuid)&&(r=e[i.properties.uuid])}),r}const handleValidatorNickName=(d,g,e)=>{if(g){let r=/[`~!@#$%^&*()\-+=<>?:"{}|,.\/;'\\[\]~@#¥%……&*()——\-+={}|《》?:“”【】、;‘’,。、]/im;const l=/[\uD83C|\uD83D|\uD83E][\uDC00-\uDFFF][\u200D|\uFE0F]|[\uD83C|\uD83D|\uD83E][\uDC00-\uDFFF]|[0-9|*|#]\uFE0F\u20E3|[0-9|#]\u20E3|[\u203C-\u3299]\uFE0F\u200D|[\u203C-\u3299]\uFE0F|[\u2122-\u2B55]|\u303D|[\A9|\AE]\u3030|\uA9|\uAE|\u3030/gi.test(g),c=r.test(g);(l===!0||c===!0||g.length<2||g.length>=21)&&e("2-20\u4F4D\u4E2D\u82F1\u6587\u3001\u6570\u5B57\u53CA\u4E0B\u5212\u7EBF")}e()},handleValidatorName=(d,g,e)=>{if(g){let r=/[`~!@#$%^&()_\-+=<>?:"{}|,.\/;'\\[\]~@#¥%……&()——\-+={}|《》?:“”【】、;‘’,。、]/im;const l=/[\uD83C|\uD83D|\uD83E][\uDC00-\uDFFF][\u200D|\uFE0F]|[\uD83C|\uD83D|\uD83E][\uDC00-\uDFFF]|[0-9|*|#]\uFE0F\u20E3|[0-9|#]\u20E3|[\u203C-\u3299]\uFE0F\u200D|[\u203C-\u3299]\uFE0F|[\u2122-\u2B55]|\u303D|[\A9|\AE]\u3030|\uA9|\uAE|\u3030/gi.test(g),c=r.test(g);(l===!0||c===!0||g.length<2||g.length>=21)&&e("2-20\u4F4D\u4E2D\u82F1\u6587\u3001\u6570\u5B57")}e()},getHiddenName=d=>{if(!d)return"";let g=d.length-1,e="";for(var r=0;r<g;r++)e+="*";return d.substr(0,1)+e},getBase64=(d,g)=>{const e=new FileReader;e.addEventListener("load",()=>g(e.result)),e.readAsDataURL(d)},getFileContentAndUrl=d=>new Promise((g,e)=>{var r=new FileReader;r.onload=function(){try{const i=window.URL.createObjectURL(d);g({text:this.result,link:i})}catch(i){antd__WEBPACK_IMPORTED_MODULE_14__.ZP.warning("\u5F53\u524D\u6587\u4EF6\u65E0\u6CD5\u8BFB\u53D6\u5185\u5BB9"),e("\u5F53\u524D\u6587\u4EF6\u65E0\u6CD5\u8BFB\u53D6\u5185\u5BB9")}},r.readAsText(d)});function setmiyah(d){return md5__WEBPACK_IMPORTED_MODULE_6___default()("79e33abd4b6588941ab7622aed1e67e8"+d)}const getCookie=d=>{var g,e=RegExp("(^| )"+d+"=([^;]+)(;|$)");return(g=document.cookie.match(e))?decodeURIComponent(g[2]):null};function setCookie(d,g,e){var r=new Date;r.setTime(r.getTime()+e*24*60*60*1e3);var i="expires="+r.toUTCString();document.cookie=d+"="+g+"; "+i+`;domain=${document.domain.indexOf("educoder.net")>-1?".educoder.net":document.domain};path=/;SameSite=None;secure`}const delCookie=d=>{document.cookie=d+"=; expires=Thu, 01 Jan 1970 00:00:01 GMT;path=/;"},clearAllCookies=()=>{for(var d=document.cookie.split(";"),g=0;g<d.length;g++){var e=d[g],r=e.indexOf("="),i=r>-1?e.substr(0,r):e;document.cookie=i+"=;expires=Thu, 01 Jan 1970 00:00:00 GMT"}};function downLoadLink(d,g){let e=document.createElement("a");document.body.appendChild(e),e.href=g,d&&(e.title=d,e.download=d);let r=document.createEvent("MouseEvents");r.initEvent("click",!1,!1),e.dispatchEvent(r),document.body.removeChild(e)}function getFirstLevelDomain(){var d=window.location.hostname,g=d.split(".").reverse();return g.length>2?[g[1],g[0]].join("."):d}function getBlob(d){return new Promise(g=>{const e=new window.XMLHttpRequest;(d.indexOf(getFirstLevelDomain())>-1||location.hostname==="localhost"&&d.indexOf("/api/")>-1)&&(e.withCredentials=!0),e.open("GET",d,!0),e.responseType="blob",e.onload=()=>{e.status===200&&g(e.response)},e.send()})}function saveAs(d,g){if(window.navigator.msSaveOrOpenBlob)window.navigator.msSaveBlob(d,g);else{const e=document.createElement("a"),r=document.querySelector("body");e.href=window.URL.createObjectURL(d),e.download=g,e.style.display="none",r.appendChild(e),e.click(),r.removeChild(e),window.URL.revokeObjectURL(e.href)}}function download(d,g){getBlob(d).then(e=>{saveAs(e,g)})}function downLoadFileIframe(d,g){return new Promise((e,r)=>{var i=g,l=document.createElement("iframe"),c;document.body.appendChild(l),l.src=i,l.style.display="none",l.addEventListener("load",function(){setTimeout(()=>{document.body.removeChild(l)},1e3)},!0),c=setInterval(()=>{getCookie("fileDownload")&&(delCookie("fileDownload"),clearInterval(c),document.body.removeChild(l),e())},1e3)})}function downLoadFile(d,g){downLoadLink(d,g)}const setUrlQuery=d=>{let{url:g,query:e}=d;if(!g)return"";if(e){let r=[];for(const i in e)e.hasOwnProperty(i)&&!isUnOrNull(e[i])&&(typeof e[i]=="object"?e[i].map(l=>{r.push(`${i}[]=${l}`)}):r.push(`${i}=${e[i]}`));g.indexOf("?")!==-1?g=`${g}&${r.join("&")}`:g=`${g}?${r.join("&")}`,console.log("url1111",g)}return g};function isPc(){let d=navigator.userAgent,g=["Android","iPhone","SymbianOS","Windows Phone","iPad","iPod"],e=!0;for(var r=0;r<g.length;r++)if(d.indexOf(g[r])>0){e=!1;break}return e}function isChrome(){let d=navigator.userAgent;return["Chrome"].some(e=>d.indexOf(e)>-1)}function isFirefox(){let d=navigator.userAgent;return["Firefox"].some(e=>d.indexOf(e)>-1)}function isChromeOrFirefox(){let d=navigator.userAgent;return["Chrome","Firefox"].some(e=>d.indexOf(e)>-1)}const formatMoney=(d="")=>{var g;return(g=d==null?void 0:d.toString())==null?void 0:g.replace(/\B(?=(\d{3})+(?!\d))/g,",")},openNewWindow=d=>{let g=document.createElement("a");g.target="_blank",document.body.appendChild(g),g.href=d;let e=document.createEvent("MouseEvents");e.initEvent("click",!1,!1),g.dispatchEvent(e),document.body.removeChild(g)},openNewWindows=d=>{let g=document.createElement("a");document.body.appendChild(g),g.href=d;let e=document.createEvent("MouseEvents");e.initEvent("click",!1,!1),g.dispatchEvent(e),document.body.removeChild(g)},formatTextMiddleIntercept=(d="")=>d.length<=6?d:`${d.substring(0,3)}...${d.substring(d.length-3,d.length)}`,HalfPastOne=()=>{let d=new Date().getHours(),g=new Date().getMinutes();return g>=30?(d++,g="00"):g="30",d+":"+g},DayHalfPastOne=(d="-")=>{let g=new Date().getHours(),e=new Date().getMinutes();return e>=30?(g++,e="00"):e="30",new Date().toLocaleDateString().replace(/\//g,d)+" "+g+":"+e};var Type=(d=>(d.Number="Number",d.String="String",d.Boolean="Boolean",d.Object="Object",d.Array="Array",d.Function="Function",d))(Type||{});const type=d=>{const g=Object.prototype.toString.call(d);return g.substring(8,g.length-1)},isEmpty=d=>type(d)==="Array"?d.length===0:type(d)==="Object"?Object.keys(d).length===0:!d,rangeNumber=(d,g)=>{const e=[];for(let r=d;r<g;r++)e.push(r);return e},middleEllipsis=(d,g=12)=>{let e=g/2-2,r=g/2+3;return d.length>g?d.substr(0,e)+"..."+d.substr(r,g):d},formatRate=d=>d>4.5?5:d>4&&d<=4.5?4.5:d>3.5&&d<=4?4:d>3&&d<=3.5?3.5:d>2.5&&d<=3?3:d>2&&d<=2.5?2.5:d>1.5&&d<=2?2:d>1&&d<=1.5?1.5:d>.5&&d<=1?1:d>0&&d<=.5?.5:0,isUnOrNull=d=>d==null;function getUrlToken(d,g){const e=new RegExp(`(^|&)${d}=([^&]*)(&|$)`,"i"),r=g.substr(1).match(e);return r!=null?decodeURIComponent(r[2]):null}const getMessagesUrl=d=>{var g;if(d.link_url)return window.open(d.link_url);switch(d==null?void 0:d.container_type){case"TeacherChangeUserInfo":return window.open("/account/profile");case"TeacherResetUserPassword":return window.open("/account/secure");case"ApplyUserAuthentication":return window.open("/account/certification")}switch(d.container_type){case"ApplyUserAuthentication":if(d.tiding_type==="Apply"){if(d.auth_type===1)return window.open("/admins/identity_authentications");if(d.auth_type===2)return window.open("/admins/professional_authentications")}return d.tiding_type==="System"?window.open("/account/certification"):d.tiding_type==="Code"?window.open("/account/profile"):void 0;case"CancelUserAuthentication":return window.open("/account/certification");case"CancelUserProCertification":return window.open("/account/certification");case"ApplyAddMajor":return window.open("/account/profile");case"Major":return window.open("/account/profile");case"ApplyAddDepartment":return d.tiding_type==="Apply"?window.open("/admins/department_applies"):d.tiding_type==="System"?window.open("/account/profile"):void 0;case"ApplyAddSchools":return d.tiding_type==="Apply"?window.open("/admins/unit_applies"):d.tiding_type==="System"?window.open("/account/profile"):void 0;case"ApplyAction":switch(d.parent_container_type){case"ApplyShixun":if(d.tiding_type==="Apply")return window.open("/admins/shixun_authorizations");if(d.tiding_type==="System")return window.open(`/shixuns/${d.identifier}/challenges`);case"ApplySubject":if(d.tiding_type==="Apply")return window.open("/admins/subject_authorizations");if(d.tiding_type==="System")return window.open(`/paths/${d.parent_container_id}`);case"TrialAuthorization":if(d.tiding_type==="Apply")return window.open("/managements/trial_authorization");if(d.tiding_type==="System")return window.open("/account/profile")}return;case"JoinCourse":return window.open(`/classrooms/${d.belong_container_id}/teachers`);case"StudentJoinCourse":if(d.tiding_type==="Apply")return window.open(`/classrooms/${d.belong_container_id}/teachers`);if(d.tiding_type==="System")return window.open(`/classrooms/${d.belong_container_id}/students`);case"DealCourse":return window.open(`/classrooms/${d.belong_container_id}/shixun_homework/`);case"TeacherJoinCourse":return window.open(`/classrooms/${d.belong_container_id}/shixun_homework/`);case"Course":return d.tiding_type==="Delete"?void 0:window.open(`/classrooms/${d.belong_container_id}/shixun_homework/`);case"ArchiveCourse":return window.open(`/classrooms/${d.belong_container_id}/shixun_homework/`);case"Shixun":return window.open(`/shixuns/${d.identifier}/challenges`);case"Subject":return window.open(`/paths/${d.container_id}`);case"JournalsForMessage":switch(d.parent_container_type){case"Principal":return"";case"HomeworkCommon":return d.homework_type==="normal"?window.open(`/classrooms/${d.belong_container_id}/common_homework/${d.parent_container_id}/question`):d.homework_type==="group"?window.open(`/classrooms/${d.belong_container_id}/group_homework/${d.parent_container_id}/question`):d.homework_type==="practice"?window.open(`/classrooms/${d.belong_container_id}/shixun_homework/${d.parent_container_id}/detail?tabs=1`):"";case"GraduationTopic":return window.open(`/classrooms/${d.belong_container_id}/graduation_topics/${d.parent_container_id}/detail`);case"StudentWorksScore":return window.open(d.link_url)}case"Memo":return window.open(`/forums/${d.parent_container_id}`);case"Message":return window.open("/forums/");case"Watcher":return window.open(`/users/${d.trigger_user.login}/classrooms`);case"PraiseTread":return"";case"Grade":return"";case"JoinProject":return window.open(_env__WEBPACK_IMPORTED_MODULE_7__.Z.FORGE+d.project_url);case"ReporterJoinProject":return window.open(_env__WEBPACK_IMPORTED_MODULE_7__.Z.FORGE+d.project_url);case"DealProject":return window.open(_env__WEBPACK_IMPORTED_MODULE_7__.Z.FORGE+d.project_url);case"ManagerJoinProject":return window.open(_env__WEBPACK_IMPORTED_MODULE_7__.Z.FORGE+d.project_url);case"Poll":switch(d.parent_container_type){case"CommitPoll":return window.open(` /classrooms/${d.belong_container_id}/poll/${d.container_id}/detail`);default:return window.open(` /classrooms/${d.belong_container_id}/poll/${d.container_id}/detail`)}case"Exercise":switch(d.parent_container_type){case"CommitExercise":return window.open(` /classrooms/${d.belong_container_id}/exercise/${d.container_id}/detail?tab=0`);case"ExerciseScore":return window.open(` /classrooms/${d.belong_container_id}/exercise/${d.container_id}/detail?tab=0`);default:return window.open(`/classrooms/${d.belong_container_id}/exercise/${d.container_id}/detail?tab=0`)}case"StudentGraduationTopic":return window.open(`/classrooms/${d.belong_container_id}/graduation_topics/${d.parent_container_id}/detail`);case"DealStudentTopicSelect":return window.open(`/classrooms/${d.belong_container_id}/graduation_topics/${d.parent_container_id}/detail`);case"GraduationTask":return window.open(`/classrooms/${d.belong_container_id}/graduation_tasks/${d.container_id}`);case"GraduationWork":return window.open(`/classrooms/${d.belong_container_id}/graduation_tasks/${d.container_id}`);case"GraduationWorkScore":return window.open(`/classrooms/${d.belong_container_id}/graduation_tasks/${d.parent_container_id}`);case"HomeworkCommon":switch(d.parent_container_type){case"AnonymousCommentFail":if(d.homework_type==="normal")return window.open(`/classrooms/${d.belong_container_id}/common_homework/${d.parent_container_id}/detail`);if(d.homework_type==="group")return window.open(`/classrooms/${d.belong_container_id}/group_homework/${d.parent_container_id}/detail`);if(d.homework_type==="practice")return window.open(`/classrooms/${d.belong_container_id}/shixun_homework/${d.parent_container_id}/detail?tabs=0`);case"HomeworkPublish":if(d.homework_type==="normal")return window.open(`/classrooms/${d.belong_container_id}/common_homework/${d.parent_container_id}/detail`);if(d.homework_type==="group")return window.open(`/classrooms/${d.belong_container_id}/group_homework/${d.parent_container_id}/detail`);if(d.homework_type==="practice")return window.open(`/classrooms/${d.belong_container_id}/shixun_homework/${d.parent_container_id}/detail?tabs=0`);case"AnonymousAppeal":if(d.homework_type==="normal")return window.open(`/classrooms/${d.belong_container_id}/common_homework/${d.parent_container_id}/detail`);if(d.homework_type==="group")return window.open(`/classrooms/${d.belong_container_id}/group_homework/${d.parent_container_id}/detail`);if(d.homework_type==="practice")return window.open(`/classrooms/${d.belong_container_id}/shixun_homework/${d.parent_container_id}/detail?tabs=0`);default:if(d.homework_type==="normal")return window.open(`/classrooms/${d.belong_container_id}/common_homework/${d.parent_container_id}/detail`);if(d.homework_type==="group")return window.open(`/classrooms/${d.belong_container_id}/group_homework/${d.parent_container_id}/detail`);if(d.homework_type==="practice")return window.open(`/classrooms/${d.belong_container_id}/shixun_homework/${d.parent_container_id}/detail?tabs=0`)}case"StudentWork":if(d.homework_type==="normal")return window.open(`/classrooms/${d.belong_container_id}/common_homework/${d.parent_container_id}/review/${d.container_id}`);if(d.homework_type==="group")return window.open(`/classrooms/${d.belong_container_id}/group_homework/${d.parent_container_id}/review/${d.container_id}`);if(d.homework_type==="practice")return window.open(`/classrooms/${d.belong_container_id}/shixun_homework/${d.parent_container_id}/detail`);case"StudentWorksScore":return window.open(`/classrooms/${d.belong_container_id}/common_homework/${d.trigger_user.id}/review/${d.parent_container_id}`);case"StudentWorksScoresAppeal":return window.open(`/classrooms/${d.belong_container_id}/common_homework/${d.trigger_user.id}/review/${d.parent_container_id}`);case"ChallengeWorkScore":return"";case"SendMessage":return window.open(`${_env__WEBPACK_IMPORTED_MODULE_7__.Z.API_SERVER}/admins/mirror_repositories`);case"Journal":return window.open(`/issues/${d.parent_container_id}`);case"Issue":return window.open(`/issues/${d.container_id}`);case"PullRequest":return window.open(_env__WEBPACK_IMPORTED_MODULE_7__.Z.FORGE+d.project_url);case"Department":return window.open("/account/profile");case"Library":if(d.tiding_type==="Apply")return window.open("/admins/library_applies");if(d.tiding_type==="System")return window.open(`/moop_cases/${d.container_id}`);case"ProjectPackage":return d.tiding_type==="Destroyed"||d.tiding_type==="Destroyed_end"?void 0:d.tiding_type==="Apply"?window.open("/admins/project_package_applies"):window.open(`/crowdsourcing/${d.container_id}`);case"Discuss":return d.parent_container_type==="Hack"&&d.extra?window.open(`/myproblems/${d.extra}/comment`):d.extra==="ai_reply"&&d.task_identifier?window.open(`/tasks/${d.task_identifier}?extra=extra`):window.open(`/shixuns/${d.identifier}/shixun_discuss`);case"Video":return d.tiding_type==="Apply"?window.open("/admins/video_applies"):d.tiding_type==="System"?window.open(`/users/${(g=(0,_utils_authority__WEBPACK_IMPORTED_MODULE_1__.eY)())==null?void 0:g.login}/videos`):"";case"PublicCourseStart":return window.open(`/classrooms/${d.container_id}/informs`);case"SubjectStartCourse":return window.open(`/paths/${d.container_id}`);case"ResubmitStudentWork":if(d.homework_type==="normal")return window.open(`/classrooms/${d.belong_container_id}/common_homework/${d.parent_container_id}/${d.container_id}/appraise`);if(d.homework_type==="group")return window.open(`/classrooms/${d.belong_container_id}/group_homework/${d.parent_container_id}/${d.container_id}/appraise`);case"AdjustScore":if(d.homework_type==="normal")return window.open(`/classrooms/${d.belong_container_id}/common_homework/${d.parent_container_id}`);if(d.homework_type==="group")return window.open(`/classrooms/${d.belong_container_id}/group_homework/${d.parent_container_id}`);case"LiveLink":return window.open(`/classrooms/${d.belong_container_id}/course_videos?open=live`);case"Hack":if(d.extra&&d.parent_container_type!=="HackDelete")return window.open(`/problems/${d.extra}/edit`);default:return}},checkLocalOrPublicIp=(d,g)=>__async(void 0,null,function*(){let e="",r;return new Promise((i,l)=>__async(void 0,null,function*(){if(d.ip_limit!=="no"||d.ip_bind_type)try{e=yield(0,_components_Exercise_ip__WEBPACK_IMPORTED_MODULE_2__.y)({ip_limit:d==null?void 0:d.ip_limit,ip_bind:d==null?void 0:d.ip_bind_type}),console.log(e,44)}catch(f){l(void 0)}const c=yield(0,_service_exercise__WEBPACK_IMPORTED_MODULE_3__.Cl)({id:d.exerciseId,ip:e});if(c.status===0)i(c);else if(c.status===-5){(0,umi__WEBPACK_IMPORTED_MODULE_5__.getDvaApp)()._store.dispatch({type:"exercise/setActionTabs",payload:{key:"student-unlock",exerciseParams:{errorMessage:c==null?void 0:c.message,exercise_user_id:d==null?void 0:d.exercise_user_id,id:d.exerciseId,unlockClose:d.unlockClose}}});return}else i(c);if(d.errmsgHide||g)return!0;if(c.status===-1)return r=antd__WEBPACK_IMPORTED_MODULE_15__.default.info({title:react__WEBPACK_IMPORTED_MODULE_0__.createElement(antd__WEBPACK_IMPORTED_MODULE_16__.Z,null,react__WEBPACK_IMPORTED_MODULE_0__.createElement(antd__WEBPACK_IMPORTED_MODULE_17__.Z,{flex:"1"},"\u63D0\u793A"),react__WEBPACK_IMPORTED_MODULE_0__.createElement(antd__WEBPACK_IMPORTED_MODULE_17__.Z,null,react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"iconfont icon-yiguanbi1 current c-grey-c",onClick:()=>r.destroy()}))),icon:null,className:"custom-modal-divider",content:react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{className:"font16 p20"},"\u60A8\u7684IP\u4E0D\u5728\u8003\u8BD5\u5141\u8BB8\u7684\u8303\u56F4\u5185\uFF01"),okText:"\u6211\u77E5\u9053\u4E86"}),!1;if(c.status===-2)return r=antd__WEBPACK_IMPORTED_MODULE_15__.default.info({title:react__WEBPACK_IMPORTED_MODULE_0__.createElement(antd__WEBPACK_IMPORTED_MODULE_16__.Z,null,react__WEBPACK_IMPORTED_MODULE_0__.createElement(antd__WEBPACK_IMPORTED_MODULE_17__.Z,{flex:"1"},"\u63D0\u793A"),react__WEBPACK_IMPORTED_MODULE_0__.createElement(antd__WEBPACK_IMPORTED_MODULE_17__.Z,null,react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"iconfont icon-yiguanbi1 current c-grey-c",onClick:()=>r.destroy()}))),icon:null,className:"custom-modal-divider",content:react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{className:"font16 p20"},"\u60A8\u5DF2\u7ED1\u5B9A\u5F53\u524D\u8003\u8BD5IP\u5730\u5740\uFF1A",react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"c-red"},c.ip),"\u8BF7\u4F7F\u7528\u8BE5IP\u5730\u5740\u8FDB\u5165\u8003\u8BD5\u3002"),okText:"\u6211\u77E5\u9053\u4E86"}),!1}))}),checkDisabledExam=d=>new Promise((g,e)=>__async(void 0,null,function*(){const r=yield(0,_service_exercise__WEBPACK_IMPORTED_MODULE_3__.Zg)({id:d==null?void 0:d.exerciseId,coursesId:d==null?void 0:d.coursesId});if((r==null?void 0:r.status)===0){g("");return}setTimeout(()=>{window.location.reload()},2e3),e("")})),isKepuKehuan=()=>location.pathname.indexOf("/classrooms/4RW9CYHY")>-1||location.pathname.indexOf("/classrooms/qb4ft587")>-1||location.pathname.indexOf("/classrooms/c5q9bsp2")>-1,startExercise=d=>__async(void 0,null,function*(){var g,e,r;sessionStorage.removeItem("studentunlock");let i;if((location.pathname.indexOf("/classrooms/4RW9CYHY")>-1||location.pathname.indexOf("/classrooms/qb4ft587")>-1||location.pathname.indexOf("/classrooms/c5q9bsp2")>-1)&&!isPc()){antd__WEBPACK_IMPORTED_MODULE_15__.default.info({content:"\u8BF7\u4F7F\u7528\u7535\u8111\u53C2\u52A0\u8003\u8BD5\uFF01"});return}if(copyTextFuc(" ",!0),yield checkDisabledExam(d),d.ip_limit!=="no"||d.ip_bind){const l=yield checkLocalOrPublicIp(d,!0);if((l==null?void 0:l.status)!==0)return;if(!isChrome()){antd__WEBPACK_IMPORTED_MODULE_15__.default.info({icon:null,okText:"\u786E\u5B9A",width:500,content:react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{className:"font16"},"\u672C\u6B21\u8003\u8BD5\u5DF2\u5F00\u542F\u9632\u4F5C\u5F0A\u8BBE\u7F6E\uFF0C\u4EC5\u652F\u6301",react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"c-red"},"\u8C37\u6B4C"),"\u3002",react__WEBPACK_IMPORTED_MODULE_0__.createElement("br",null),"\u8BF7\u4F7F\u7528",react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"c-red"},"\u8C37\u6B4C"),"\u6D4F\u89C8\u5668\u5F00\u59CB\u8003\u8BD5\u3002")});return}}if(d.forbid_screen){const l=new WebSocket("ws://localhost:8082");yield new Promise(c=>setTimeout(()=>c(),200)),sendAppStatus(l,d)}if(d.open_camera||d.screen_open||d.ip_limit!=="no"||d.identity_verify){if(!isChromeOrFirefox())return antd__WEBPACK_IMPORTED_MODULE_15__.default.info({icon:null,okText:"\u786E\u5B9A",width:500,content:react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{className:"font16"},"\u672C\u6B21\u8003\u8BD5\u5DF2\u5F00\u542F\u9632\u4F5C\u5F0A\u8BBE\u7F6E\uFF0C\u4EC5\u652F\u6301",react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"c-red"},"\u8C37\u6B4C"),"\u3001",react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"c-red"},"\u706B\u72D0"),"\u6D4F\u89C8\u5668\u3002",react__WEBPACK_IMPORTED_MODULE_0__.createElement("br",null),"\u8BF7\u4F7F\u7528",react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"c-red"},"\u8C37\u6B4C"),"\u3001",react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"c-red"},"\u706B\u72D0"),"\u6D4F\u89C8\u5668\u5F00\u59CB\u8003\u8BD5\u3002")}),!1;d.open_phone_video_recording?window.location.href=`/classrooms/${d.coursesId}/exercise/${d.exerciseId}/users/${(g=(0,_utils_authority__WEBPACK_IMPORTED_MODULE_1__.eY)())==null?void 0:g.login}/check`:d.identity_verify&&d.current_status===2?window.location.href=`/classrooms/${d.coursesId}/exercise/${d.exerciseId}/users/${(e=(0,_utils_authority__WEBPACK_IMPORTED_MODULE_1__.eY)())==null?void 0:e.login}/check`:window.location.href=`/classrooms/${d.coursesId}/exercise/${d.exerciseId}/users/${(r=(0,_utils_authority__WEBPACK_IMPORTED_MODULE_1__.eY)())==null?void 0:r.login}`}else d.identity_verify&&d.current_status===2?window.location.href=`/classrooms/${d.coursesId}/exercise/${d.exerciseId}/users/${d.login}/check`:window.location.href=`/classrooms/${d.coursesId}/exercise/${d.exerciseId}/users/${d.login}`});var httpBuildQuery=function(d,g,e,r){if(console.log("param:",d),g=g||null,e=e||"&",r=r||null,!d)return"";var i=function(s){for(var h=new Array,u=0;u<s.length;u++)s[u]&&h.push(s[u]);return h},l=function(s){return encodeURIComponent(s).replace(/[!'()*]/g,escape)},c=function(s){return!isNaN(parseFloat(s))&&isFinite(s)},f=Object.keys(d).map(function(s){var h,u=s;if(typeof d[s]=="object"&&d[s]!==null)h=httpBuildQuery(d[s],null);else{g&&(u=c(u)?g+Number(u):u);var a=d[s];a=a===!0?"1":a,a=a===!1?"0":a,a=a===0?"0":a,a=a||"",h=u+"="+a}return h});return i(f).join(e).replace(/[!'()*]/g,escape)};const parseParamsStr=(d,g)=>{const e={},r=Object.assign(!0,d,{}),i=[];return Object.keys(r).sort().forEach(function(l){if(r[l]=r[l]===!0?"true":r[l],r[l]=r[l]===!1?"false":r[l],g==="GET"){if(r[l]!==null){if(typeof r[l]=="object"&&(!Array.isArray(r[l])||Array.isArray(r[l])&&!r[l].length))return;const c=r[l]===null||r[l]==="null"?"":r[l];i.push(`${l}=${typeof c=="string"||typeof c=="number"?decodeURIComponent(c):JSON.stringify(c)}`)}}else{const c=r[l]===null||r[l]==="null"?"":r[l];i.push(`${l}=${typeof c=="string"||typeof c=="number"?c:JSON.stringify(c)}`),r[l],e[l]=r[l]}}),i.join("&").trim()},educationList=[{name:"\u672C\u79D1",id:6},{name:"\u5927\u4E13",id:5},{name:"\u4E2D\u4E13",id:4},{name:"\u9AD8\u4E2D",id:3},{name:"\u521D\u4E2D",id:2},{name:"\u5C0F\u5B66",id:1},{name:"\u5176\u4ED6",id:9},{name:"\u7855\u58EB",id:7},{name:"\u535A\u58EB",id:8},{name:"\u9AD8\u4E2D",id:3},{name:"\u521D\u4E2D",id:2},{name:"\u5C0F\u5B66",id:1},{name:"\u5176\u4ED6",id:9},{name:"\u7855\u58EB",id:7},{name:"\u535A\u58EB",id:8}];function getTopLevelDomain(){let d=window.location.hostname;if(/^\d+\.\d+\.\d+\.\d+$/.test(d)||d==="localhost")return d;let g=d.split(".");return g.length>2&&/^[a-z]{2}$/.test(g[g.length-2])?g.slice(-3).join("."):g.slice(-2).join(".")}const setHeader=(d,g)=>{var e;try{const r=Date.now(),i=(0,uuid__WEBPACK_IMPORTED_MODULE_18__.Z)();let l="method="+((e=d.method)==null?void 0:e.toLocaleUpperCase())+"&ak="+getKey(_key__WEBPACK_IMPORTED_MODULE_19__.mi)+"&sk="+getKey(_key__WEBPACK_IMPORTED_MODULE_19__.hw)+"&time="+r;return d.headers["X-EDU-Type"]="pc",d.headers["X-EDU-Timestamp"]=r,d.headers["X-EDU-Signature"]=md5__WEBPACK_IMPORTED_MODULE_6___default()(window.btoa(l)),d.headers["Pc-Authorization"]=getCookie("_educoder_session"),d.headers["X-Request-Id"]=i,d}catch(r){console.log("error:",r,d,g)}},setThreeComponent=()=>{(function(d){XMLHttpRequest.prototype.open=function(g,e,r=!0){const i=setHeader({method:g,headers:{}});d.call(this,g,e,r);try{e.indexOf(getTopLevelDomain())>-1&&(this.setRequestHeader("X-EDU-Type","pc"),this.setRequestHeader("X-EDU-Timestamps",i.headers["X-EDU-Timestamp"]),this.setRequestHeader("X-EDU-Signatures",i.headers["X-EDU-Signature"]),this.setRequestHeader("Pc-Authorization",getCookie("_educoder_session")))}catch(l){}}})(XMLHttpRequest.prototype.open),function(d){window.fetch=function(g,e){var r;return e=e||{},(r=e.headers)!=null&&r["X-EDU-Timestamp"]||setHeader(e),d.apply(this,arguments).then(function(i){return i})}}(window.fetch)},parseUrl=d=>{const g=/(\w+)=([^\#&]*)/gi,e={};return d.replace(g,function(r,i,l){e[i]=decodeURI(l)}),e},messageInfo=(d,g)=>{const r={1:"\u5F53\u524D\u5B9E\u8DF5\u9879\u76EE\u6682\u672A\u53D1\u5E03\uFF0C\u8BF7\u8054\u7CFB\u672C\u8BFE\u5802\u6559\u5E08\u3002",2:"\u5F53\u524D\u5B9E\u8DF5\u9879\u76EE\u4E0D\u5B58\u5728\uFF0C\u8BF7\u8054\u7CFB\u672C\u8BFE\u5802\u6559\u5E08\u3002",3:"\u5F53\u524D\u5B9E\u8DF5\u9879\u76EE\u9762\u5411\u6307\u5B9A\u5355\u4F4D\u5F00\u653E\uFF0C\u8BF7\u8054\u7CFB\u672C\u8BFE\u5802\u6559\u5E08\u3002",4:`\u5F53\u524D\u5B9E\u8DF5\u9879\u76EE\u5C06\u4E8E${g}\u53D1\u5E03\uFF0C\u8BF7\u7B49\u5F85\u3002`}[d];antd__WEBPACK_IMPORTED_MODULE_14__.ZP.warning(r)},base64ToBlob=(d,g)=>{var e;const r=window.atob(d),i=r.length,l=new Uint8Array(i);for(let c=0;c<i;++c)l[c]=r.charCodeAt(c);return new Blob([l],{type:_contentType__WEBPACK_IMPORTED_MODULE_4__.F[(e=g.split("."))==null?void 0:e[1]]||"application/octet-stream"})},downloadFile=(d,g,e)=>{const r=base64ToBlob(g,e);if(window.navigator.msSaveOrOpenBlob)navigator.msSaveBlob(r,d);else{const i=document.createElement("a");i.href=window.URL.createObjectURL(r),i.download=d,document.body.appendChild(i);const l=document.createEvent("MouseEvents");l.initEvent("click",!1,!1),i.dispatchEvent(l),document.body.removeChild(i)}},trackEvent=d=>{var g;if(d.length)try{window._czc.push(["_trackEvent",...d]),window==null||window.gtag("event",d[1],{event_category:d[0],event_label:d[2]||"",value:d[3]||"",user_id:((g=(0,_utils_authority__WEBPACK_IMPORTED_MODULE_1__.eY)())==null?void 0:g.login)||""})}catch(e){console.log("trackEvent:err:",e)}},trackEventCustom=d=>{if(d.length)try{window._czc.push(["_setCustomVar",...d])}catch(g){console.log("trackEvent:err:",g)}},onPreviewImage=d=>{const g=(i,l)=>{if(i.localName===l)return i;for(let c=0,f=i;f=f.parentNode;c++){if(f.localName===l)return f;if(f==document.documentElement)return!1}},e=d.target,r=g(e,"a");if(!(r!=null&&r.href)&&e.tagName.toUpperCase()==="IMG"){let i=e.src||e.getAttribute("src");i&&i.indexOf("/images/avatars/User")===-1&&(d.stopPropagation(),d.preventDefault(),_components_mediator__WEBPACK_IMPORTED_MODULE_8__.Z.publish("preview-image",i))}},getCategoryName=(d,g)=>{var e,r,i,l;if(d&&d!=""){let c=(e=d==null?void 0:d.filter(f=>f.type===location.pathname.split("/")[3]))==null?void 0:e[0];return g?(l=(i=(r=c==null?void 0:c.second_category)==null?void 0:r.filter(f=>f.category_id==g))==null?void 0:i[0])==null?void 0:l.category_name:c==null?void 0:c.name}return null},bindPhone=d=>{const g=antd__WEBPACK_IMPORTED_MODULE_15__.default.confirm({title:"\u5B8C\u5584\u624B\u673A\u53F7\u7801",content:"\u6309\u7167\u6709\u5173\u653F\u7B56\u89C4\u5B9A\uFF0C\u7279\u6B8A\u5B9E\u9A8C\u9700\u8981\u5148\u7ED1\u5B9A\u624B\u673A\u53F7\u624D\u80FD\u4F7F\u7528\uFF0C\u8BF7\u5148\u7ED1\u5B9A\u624B\u673A\u53F7\u7801",okText:"\u7ACB\u5373\u7ED1\u5B9A",cancelText:"\u53D6\u6D88",centered:!0,onOk:()=>{location.href="/account/secure"},onCancel:()=>{g.destroy(),d!=null&&d.onCancel&&d.onCancel()}})},copyTextFuc=(d="",g=!1)=>{const e=document.createElement("textarea");e.value=d,document.body.appendChild(e),e.select(),document.execCommand("Copy"),g||antd__WEBPACK_IMPORTED_MODULE_14__.ZP.success("\u590D\u5236\u6210\u529F"),document.body.removeChild(e)},getJsonFromUrl=d=>{if(d||(d=window.location.search),!d)return{};let g=d.substring(1),e={};return g.split("&").forEach(function(r){let i=r.split("=");e[i[0]]=decodeURIComponent(i[1])}),e},arrTrans=(d,g)=>{if(!g)return null;const e=[];return g.forEach((r,i)=>{const l=Math.floor(i/d);e[l]||(e[l]=[]),e[l].push(r)}),e},setDocumentTitle=d=>{checkIsClientExam()?document.title="\u5934\u6B4C\u8003\u8BD5\u7CFB\u7EDF":d!==""&&d&&(document.title=d||(document.domain.indexOf(".educoder.net")>-1?"\u5934\u6B4C\u5B9E\u8DF5\u6559\u5B66\u5E73\u53F0":""))},checkIsClientExam=()=>{var d;return(d=window==null?void 0:window.localStorage)==null?void 0:d.isClientExam},localSort={setItem:(d,g,e)=>{const r=d,i=localStorage.getItem(r),l=i!==null&&i!=="[object Object]"?JSON.parse(i):{};l[e]=g,localStorage.setItem(r,JSON.stringify(l))},getItem:(d,g)=>{const e=d,r=localStorage.getItem(e);return(r!==null&&r!=="[object Object]"?JSON.parse(r):{})[g]}},ImgSrcConvert=d=>d!=null&&d.startsWith("http")?d:_env__WEBPACK_IMPORTED_MODULE_7__.Z.IMG_SERVER+d,compareVersion=d=>{const g=getVersion(),e=d.split("."),r=g.split("."),i=Math.max(e.length,r.length);for(;e.length<i;)e.push("0");for(;r.length<i;)r.push("0");for(let l=0;l<i;l++){const c=parseInt(e[l]),f=parseInt(r[l]);if(c>f)return 1;if(c<f)return-1}return 0},getImageUrl=(d,g)=>{d=`${d}${g?","+g:""}`;const e=crypto_js__WEBPACK_IMPORTED_MODULE_11___default().enc.Utf8.parse(window.atob(window.atob(_key__WEBPACK_IMPORTED_MODULE_19__.Bn)).substring(0,16)),r=crypto_js__WEBPACK_IMPORTED_MODULE_11___default().AES.encrypt(d||"",e,{iv:e,mode:crypto_js__WEBPACK_IMPORTED_MODULE_11___default().mode.CBC});return window.btoa(r.toString())},getVersion=()=>{const g=navigator.userAgent.toLowerCase().match(/version\/[\d.]+/gi);return g&&g[0].replace(/version\//,"")},isLocalApp=()=>navigator.userAgent.indexOf("ExerciseApp")>-1;function randomArray(d,g){let e=d.length,r,i;g=g||1;let l=function(){var c=Math.sin(g++)*1e3;return c-Math.floor(c)};for(;e!==0;)i=Math.floor(l()*e),e-=1,r=d[e],d[e]=d[i],d[i]=r;return d}function pointerEvents(d){const g=document.getElementsByTagName("iframe");for(let r=0;r<g.length;r++)g[r].style["pointer-events"]=d;const e=document.getElementsByTagName("canvas");for(let r=0;r<e.length;r++)e[r].style["pointer-events"]=d}const toDataUrl=d=>new Promise((g,e)=>{var r=new XMLHttpRequest;r.withCredentials=!0,r.onload=function(){var i=new FileReader;i.onloadend=function(){g(i.result)},i.readAsDataURL(r.response)},r.open("GET",d),r.responseType="blob",r.send()}),vtrsKey=(_b=(_a=location==null?void 0:location.pathname)==null?void 0:_a.split("/"))==null?void 0:_b[1];function scrollToTop(){window.scrollTo({left:0,top:0,behavior:"smooth"})}function domScrollToTop(d){var g;(g=document.querySelector(d))==null||g.scrollTo({left:0,top:0,behavior:"smooth"})}function dealUploadChange(d){var g,e,r,i,l;const c=(g=d.fileList)==null?void 0:g.map(f=>{var s,h;return __spreadProps(__spreadValues({},f),{status:typeof(f==null?void 0:f.response)=="string"||((s=f==null?void 0:f.response)==null?void 0:s.status)===-1?"error":f.status,response:typeof(f==null?void 0:f.response)=="string"?f==null?void 0:f.response:f!=null&&f.response&&(f==null?void 0:f.response.status)===-1?(h=f==null?void 0:f.response)==null?void 0:h.message:f==null?void 0:f.response})});return((r=(e=d.file)==null?void 0:e.response)==null?void 0:r.status)===-1&&(antd__WEBPACK_IMPORTED_MODULE_14__.ZP.destroy(),antd__WEBPACK_IMPORTED_MODULE_14__.ZP.warning((l=(i=d.file)==null?void 0:i.response)==null?void 0:l.message)),c}function cutFileName(d="",g){if(!d)return"";const e=d.lastIndexOf(".");let r=[d,""];if(e!==-1&&e!==d.length-1){const i=d.substring(0,e),l=d.substring(e+1);r=[i,l]}return r[0].length>g?r[0].slice(0,g)+"..."+r[1]:d}function cutName(d="",g,e="--"){return d?(d==null?void 0:d.length)>=g?(d==null?void 0:d.slice(0,g))+"...":d:e}function timeContrast(d){return d?moment__WEBPACK_IMPORTED_MODULE_12___default()().isBefore(moment__WEBPACK_IMPORTED_MODULE_12___default()(d)):!0}function showTotal(d){return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"font14 c-grey-333"},"\u5171",react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"c-light-primary"},"\xA0",d,"\xA0"),"\u6761\u6570\u636E")}const formatRandomPaperData=d=>{const g={1:"\u4E00",2:"\u4E8C",3:"\u4E09",4:"\u56DB",5:"\u4E94",6:"\u516D",7:"\u4E03"};if(!d)return;const{exam:e,single_questions:r,multiple_questions:i,judgement_questions:l,program_questions:c,completion_questions:f,subjective_questions:s,practical_questions:h,combination_questions:u,bprogram_questions:a}=d||{},x=[__spreadValues({type:"SINGLE",name:"\u5355\u9009\u9898"},r),__spreadValues({type:"MULTIPLE",name:"\u591A\u9009\u9898"},i),__spreadValues({type:"COMPLETION",name:"\u586B\u7A7A\u9898"},f),__spreadValues({type:"JUDGMENT",name:"\u5224\u65AD\u9898"},l),__spreadValues({type:"SUBJECTIVE",name:"\u7B80\u7B54\u9898"},s),__spreadValues({type:"PROGRAM",name:"\u7F16\u7A0B\u9898"},c),__spreadValues({type:"BPROGRAM",name:"\u7A0B\u5E8F\u586B\u7A7A\u9898"},a),__spreadValues({type:"PRACTICAL",name:"\u5B9E\u8BAD\u9898"},h),__spreadValues({type:"COMBINATION",name:"\u7EC4\u5408\u9898"},u)],p=[];let y=0,_=0;const b=x.filter(S=>S.questions_count>0).map((S,R)=>{var L;return(L=S.questions)==null||L.forEach(T=>{p.push(T.id),y=y+T.score,_=_+1}),__spreadValues(__spreadValues({},S),{number:g[R+1]})});return{all_questions_count:_,all_score:y,questionList:b,ids:p,exam:e}},formatRandomPaperDatas=d=>{var g;const e={1:"\u4E00",2:"\u4E8C",3:"\u4E09",4:"\u56DB",5:"\u4E94",6:"\u516D",7:"\u4E03"};if(!d)return;const{exam:r,single_questions:i,multiple_questions:l,judgement_questions:c,program_questions:f,completion_questions:s,subjective_questions:h,practical_questions:u,combination_questions:a,bprogram_questions:x}=d||{},p=[__spreadValues({type:"SINGLE",name:"\u5355\u9009\u9898"},i),__spreadValues({type:"MULTIPLE",name:"\u591A\u9009\u9898"},l),__spreadValues({type:"COMPLETION",name:"\u586B\u7A7A\u9898"},s),__spreadValues({type:"JUDGMENT",name:"\u5224\u65AD\u9898"},c),__spreadValues({type:"SUBJECTIVE",name:"\u7B80\u7B54\u9898"},h),__spreadValues({type:"PROGRAM",name:"\u7F16\u7A0B\u9898"},f),__spreadValues({type:"BPROGRAM",name:"\u7A0B\u5E8F\u586B\u7A7A\u9898"},x),__spreadValues({type:"PRACTICAL",name:"\u5B9E\u8BAD\u9898"},u),__spreadValues({type:"COMBINATION",name:"\u7EC4\u5408\u9898"},a)];let y=[];(g=r==null?void 0:r.question_type_position)==null||g.map((L,T)=>{p==null||p.map((D,M)=>{L.type===D.type&&y.push(D)})});const _=[];let b=0,S=0;const R=y.filter(L=>L.questions_count>0).map((L,T)=>{var D;return(D=L.questions)==null||D.forEach(M=>{_.push(M.id),b=b+M.score,S=S+1}),__spreadValues(__spreadValues({},L),{number:e[T+1]})});return{all_questions_count:S,all_score:b,questionList:R,ids:_,exam:r}},isWechatBrowser=()=>navigator.userAgent.toLowerCase().match(/MicroMessenger/i)=="micromessenger",toWechatLogin=()=>{isWechatBrowser()?window.location.href="https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx0955caba88bc37eb&redirect_uri=https%3A%2F%2Fwww.educoder.net%2fotherloginstart&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect":window.location.href="/wxlogin.html"},isMobileDevice=()=>typeof window.orientation!="undefined"||navigator.userAgent.indexOf("Mobi")!==-1,sendAppStatus=(d,g)=>{var e;try{g?(d.send(JSON.stringify({type:"toggleLockExit",data:!0})),g!=null&&g.forbid_screen&&d.send(JSON.stringify({type:"open-disabled-switchscreen"})),g!=null&&g.use_white_list&&d.send(JSON.stringify({type:"open-only-allow-runapp",data:g==null?void 0:g.white_list})),g!=null&&g.net_limit&&d.send(JSON.stringify({type:"network-close",data:(e=g==null?void 0:g.net_limit_list)==null?void 0:e.split(`
`)}))):(d.send(JSON.stringify({type:"toggleLockExit",data:!1})),d.send(JSON.stringify({type:"close-disabled-switchscreen"})),d.send(JSON.stringify({type:"close-only-allow-runapp"})),d.send(JSON.stringify({type:"network-open"})))}catch(r){}},addJumping=()=>{const d=document.querySelector('a[title="\u589E\u52A0\u586B\u7A7A"]'),g=d==null?void 0:d.querySelector("span");g&&(g.classList.remove("jumping-icon"),g.offsetWidth,g.classList.add("jumping-icon"),setTimeout(()=>{var e;(e=g==null?void 0:g.classList)==null||e.remove("jumping-icon")},2e3))},showClassroomsmodal=d=>d!=null&&d.forbid_student_visit?(antd__WEBPACK_IMPORTED_MODULE_15__.default.warning({title:"\u63D0\u793A",icon:null,centered:!0,okText:"\u6211\u77E5\u9053\u4E86",content:react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",null,react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{style:{fontWeight:600}},d==null?void 0:d.username,"\u8001\u5E08 "),"\u5DF2\u5173\u95ED\u8BE5\u8BFE\u5802\uFF0C\u5B66\u751F\u7528\u6237\u6682\u65F6\u65E0\u6CD5\u8BBF\u95EE ")}),!0):!1,getExamRestrictionInfo=d=>{const g=[];return d.is_locked&&g.push("\u8003\u8BD5\u89E3\u9501\u7801"),d.login_restrict&&g.push("\u8003\u8BD5\u767B\u5F55\u9650\u5236"),d.screen_open&&g.push("\u5207\u5C4F\u540E\u5F3A\u5236\u4EA4\u5377"),d.ip_bind&&g.push("IP\u5730\u5740\u7ED1\u5B9A"),(d.ip_limit==="pub"||d.ip_limit==="inner")&&g.push("\u9650\u5236\u8003\u8BD5\u8BBF\u95EEIP"),d.open_camera&&g.push("\u8003\u8BD5\u4E2D\u542F\u7528\u62CD\u7167\u529F\u80FD\u8FDB\u884C\u76D1\u8003\u548C\u884C\u4E3A\u5206\u6790"),d.identity_verify&&g.push("\u8003\u8BD5\u524D\u4EBA\u8138\u8EAB\u4EFD\u6838\u9A8C"),d.open_phone_video_recording&&g.push("\u8003\u8BD5\u4E2D\u5F00\u542F\u624B\u673A\u89C6\u9891\u5F55\u5236"),g.length>0?g.join("\u3001"):""},releaseRuleDataAdjust=d=>{const g=d.reduce((r,i)=>{const l=`${i.publish_time}_${i.end_time}_${i.is_admin}`;return r[l]?(r[l].group_name.push(i.group_name),r[l].group_id.push(i.group_id)):r[l]={publish_time:i.publish_time,end_time:i.end_time,is_admin:i.is_admin,group_name:[i.group_name],group_id:[i.group_id]},r},{});return Object.values(g).map(r=>__spreadProps(__spreadValues({},r),{group_name:r.group_name.flat(),group_id:r.group_id.flat()}))},showInstallWebRtcDoc=()=>new Promise((d,g)=>__async(void 0,null,function*(){const e=yield(0,_utils_fetch__WEBPACK_IMPORTED_MODULE_10__.ZP)("/api/documents/webrtc_content",{method:"get"});antd__WEBPACK_IMPORTED_MODULE_15__.default.info({title:"WebRTC\u63D2\u4EF6\u5B89\u88C5\u6559\u7A0B",width:"1000px",centered:!0,content:react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{style:{maxHeight:"70vh",overflow:"auto"}},react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components_RenderHtml__WEBPACK_IMPORTED_MODULE_9__.Z,{value:(e==null?void 0:e.data)||""}))}),d(e==null?void 0:e.data)}));function copyToClipboard(d){return navigator.clipboard?navigator.clipboard.writeText(d).then(()=>(console.log("Text copied to clipboard successfully!"),!0)).catch(g=>{throw console.error("Failed to copy text: ",g),g}):new Promise((g,e)=>{const r=document.createElement("textarea");r.value=d,document.body.appendChild(r),r.select();try{const i=document.execCommand("copy");document.body.removeChild(r),i?(console.log("Text copied to clipboard successfully!"),g(!0)):(console.error("Failed to copy text using execCommand."),e(!1))}catch(i){document.body.removeChild(r),console.error("Failed to copy text: ",i),e(i)}})}const isArrayBuffer=d=>Object.prototype.toString.call(d)==="[object ArrayBuffer]",parseArrayBufferAsText=(d,g="utf-8")=>isArrayBuffer(d)?new TextDecoder(g).decode(d):d},4787:function(d,g,e){"use strict";e.d(g,{t:function(){return r}});const r=l=>{var c=/^(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])$/;return c.test(l)},i=l=>{var c=/^(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.$/;return c.test(l)}},91231:function(d,g,e){"use strict";e.d(g,{Il:function(){return f},Ov:function(){return s},T$:function(){return u}});var r=e(38127),i=e(59301),l=e(35338),c=["element"],f=i.createContext({});function s(){return i.useContext(f)}function h(){var y=(0,l.TH)(),_=s(),b=_.clientRoutes,S=(0,l.fp)(b,y.pathname);return S||[]}function u(){var y,_=h().slice(-1),b=((y=_[0])===null||y===void 0?void 0:y.route)||{},S=b.element,R=(0,r.Z)(b,c);return R}function a(){var y=h(),_=s(),b=_.serverLoaderData,S=_.basename,R=React.useState(function(){var M={},N=!1;return y.forEach(function(j){var Q=b[j.route.id];Q&&(Object.assign(M,Q),N=!0)}),N?M:void 0}),L=_slicedToArray(R,2),T=L[0],D=L[1];return React.useEffect(function(){window.__UMI_LOADER_DATA__||Promise.all(y.filter(function(M){return M.route.hasServerLoader}).map(function(M){return new Promise(function(N){fetchServerLoader({id:M.route.id,basename:S,cb:N})})})).then(function(M){if(M.length){var N={};M.forEach(function(j){Object.assign(N,j)}),D(N)}})},[]),{data:T}}function x(){var y=useRouteData(),_=s();return{data:_.clientLoaderData[y.route.id]}}function p(){var y=a(),_=x();return{data:_objectSpread(_objectSpread({},y.data),_.data)}}},91392:function(d){var g={en_GB:"en-gb",en_US:"en",zh_CN:"zh-cn",zh_TW:"zh-tw"},e=function(i){var l=g[i];return l||i.split("_")[0]};d.exports=function(r,i,l){var c=i.prototype.locale;i.prototype.locale=function(f){return typeof f=="string"&&(f=e(f)),c.call(this,f)}}},92806:function(d,g,e){"use strict";var r=e(41799),i=e(59301),l=e(3113),c=e(67797);function f(h){return!!(h&&h.then)}const s=h=>{const{type:u,children:a,prefixCls:x,buttonProps:p,close:y,autoFocus:_,emitEvent:b,isSilent:S,quitOnNullishReturnValue:R,actionFn:L}=h,T=i.useRef(!1),D=i.useRef(null),[M,N]=(0,r.Z)(!1),j=function(){y==null||y.apply(void 0,arguments)};i.useEffect(()=>{let Y=null;return _&&(Y=setTimeout(()=>{var oe;(oe=D.current)===null||oe===void 0||oe.focus()})),()=>{Y&&clearTimeout(Y)}},[]);const Q=Y=>{f(Y)&&(N(!0),Y.then(function(){N(!1,!0),j.apply(void 0,arguments),T.current=!1},oe=>{if(N(!1,!0),T.current=!1,!(S!=null&&S()))return Promise.reject(oe)}))},X=Y=>{if(T.current)return;if(T.current=!0,!L){j();return}let oe;if(b){if(oe=L(Y),R&&!f(oe)){T.current=!1,j(Y);return}}else if(L.length)oe=L(y),T.current=!1;else if(oe=L(),!oe){j();return}Q(oe)};return i.createElement(l.ZP,Object.assign({},(0,c.n)(u),{onClick:X,loading:M,prefixCls:x},p,{ref:D}),a)};g.Z=s},53487:function(d,g,e){"use strict";e.d(g,{Z:function(){return s},i:function(){return f}});var r=e(18929),i=e(59301),l=e(92736),c=e(36355);function f(h){return function(a){return i.createElement(l.ZP,{theme:{token:{motion:!1,zIndexPopupBase:0}}},i.createElement(h,Object.assign({},a)))}}function s(h,u,a,x){function p(y){const{prefixCls:_,style:b}=y,S=i.useRef(null),[R,L]=i.useState(0),[T,D]=i.useState(0),[M,N]=(0,r.Z)(!1,{value:y.open}),{getPrefixCls:j}=i.useContext(c.E_),Q=j(u||"select",_);i.useEffect(()=>{if(N(!0),typeof ResizeObserver!="undefined"){const Y=new ResizeObserver(ie=>{const ue=ie[0].target;L(ue.offsetHeight+8),D(ue.offsetWidth)}),oe=setInterval(()=>{var ie;const ue=a?`.${a(Q)}`:`.${Q}-dropdown`,K=(ie=S.current)===null||ie===void 0?void 0:ie.querySelector(ue);K&&(clearInterval(oe),Y.observe(K))},10);return()=>{clearInterval(oe),Y.disconnect()}}},[]);let X=Object.assign(Object.assign({},y),{style:Object.assign(Object.assign({},b),{margin:0}),open:M,visible:M,getPopupContainer:()=>S.current});return x&&(X=x(X)),i.createElement("div",{ref:S,style:{paddingBottom:R,position:"relative",minWidth:T}},i.createElement(h,Object.assign({},X)))}return f(p)}},36785:function(d,g,e){"use strict";e.d(g,{o2:function(){return f},yT:function(){return s}});var r=e(92393),i=e(33166);const l=i.i.map(h=>`${h}-inverse`),c=["success","processing","error","default","warning"];function f(h){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0)?[].concat((0,r.Z)(l),(0,r.Z)(i.i)).includes(h):i.i.includes(h)}function s(h){return c.includes(h)}},47729:function(d,g,e){"use strict";e.d(g,{Z:function(){return c}});var r=e(99267),i=e(59301);function l(f,s,h){return typeof f=="boolean"?f:s===void 0?!!h:s!==!1&&s!==null}function c(f,s,h){let u=arguments.length>3&&arguments[3]!==void 0?arguments[3]:i.createElement(r.Z,null),a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;if(!l(f,s,a))return[!1,null];const p=typeof s=="boolean"||s===void 0||s===null?u:s;return[!0,h?h(p):p]}},62892:function(d,g,e){"use strict";e.d(g,{m:function(){return h}});const r=()=>({height:0,opacity:0}),i=u=>{const{scrollHeight:a}=u;return{height:a,opacity:1}},l=u=>({height:u?u.offsetHeight:0}),c=(u,a)=>(a==null?void 0:a.deadline)===!0||a.propertyName==="height",f=function(){return{motionName:`${arguments.length>0&&arguments[0]!==void 0?arguments[0]:"ant"}-motion-collapse`,onAppearStart:r,onEnterStart:r,onAppearActive:i,onEnterActive:i,onLeaveStart:l,onLeaveActive:r,onAppearEnd:c,onEnterEnd:c,onLeaveEnd:c,motionDeadline:500}},s=null,h=(u,a,x)=>x!==void 0?x:`${u}-${a}`;g.Z=f},79676:function(d,g,e){"use strict";e.d(g,{Z:function(){return s}});var r=e(19447);function i(h,u,a,x){if(x===!1)return{adjustX:!1,adjustY:!1};const p=x&&typeof x=="object"?x:{},y={};switch(h){case"top":case"bottom":y.shiftX=u.dropdownArrowOffset*2+a;break;case"left":case"right":y.shiftY=u.dropdownArrowOffsetVertical*2+a;break}const _=Object.assign(Object.assign({},y),p);return _.shiftX||(_.adjustX=!0),_.shiftY||(_.adjustY=!0),_}const l={left:{points:["cr","cl"]},right:{points:["cl","cr"]},top:{points:["bc","tc"]},bottom:{points:["tc","bc"]},topLeft:{points:["bl","tl"]},leftTop:{points:["tr","tl"]},topRight:{points:["br","tr"]},rightTop:{points:["tl","tr"]},bottomRight:{points:["tr","br"]},rightBottom:{points:["bl","br"]},bottomLeft:{points:["tl","bl"]},leftBottom:{points:["br","bl"]}},c={topLeft:{points:["bl","tc"]},leftTop:{points:["tr","cl"]},topRight:{points:["br","tc"]},rightTop:{points:["tl","cr"]},bottomRight:{points:["tr","bc"]},rightBottom:{points:["bl","cr"]},bottomLeft:{points:["tl","bc"]},leftBottom:{points:["br","cl"]}},f=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);function s(h){const{arrowWidth:u,autoAdjustOverflow:a,arrowPointAtCenter:x,offset:p,borderRadius:y,visibleFirst:_}=h,b=u/2,S={};return Object.keys(l).forEach(R=>{const L=x&&c[R]||l[R],T=Object.assign(Object.assign({},L),{offset:[0,0]});switch(S[R]=T,f.has(R)&&(T.autoArrow=!1),R){case"top":case"topLeft":case"topRight":T.offset[1]=-b-p;break;case"bottom":case"bottomLeft":case"bottomRight":T.offset[1]=b+p;break;case"left":case"leftTop":case"leftBottom":T.offset[0]=-b-p;break;case"right":case"rightTop":case"rightBottom":T.offset[0]=b+p;break}const D=(0,r.fS)({contentRadius:y,limitVerticalRadius:!0});if(x)switch(R){case"topLeft":case"bottomLeft":T.offset[0]=-D.dropdownArrowOffset-b;break;case"topRight":case"bottomRight":T.offset[0]=D.dropdownArrowOffset+b;break;case"leftTop":case"rightTop":T.offset[1]=-D.dropdownArrowOffset-b;break;case"leftBottom":case"rightBottom":T.offset[1]=D.dropdownArrowOffset+b;break}T.overflow=i(R,D,u,a),_&&(T.htmlRegion="visibleFirst")}),S}},92343:function(d,g,e){"use strict";var r;e.d(g,{M2:function(){return c},Tm:function(){return s},l$:function(){return l},wm:function(){return f}});var i=e(59301);const{isValidElement:l}=r||(r=e.t(i,2));function c(h){return h&&l(h)&&h.type===i.Fragment}function f(h,u,a){return l(h)?i.cloneElement(h,typeof a=="function"?a(h.props||{}):a):u}function s(h,u){return f(h,h,u)}},69507:function(d,g,e){"use strict";e.d(g,{ZP:function(){return s},c4:function(){return l},m9:function(){return h}});var r=e(59301),i=e(88088);const l=["xxl","xl","lg","md","sm","xs"],c=u=>({xs:`(max-width: ${u.screenXSMax}px)`,sm:`(min-width: ${u.screenSM}px)`,md:`(min-width: ${u.screenMD}px)`,lg:`(min-width: ${u.screenLG}px)`,xl:`(min-width: ${u.screenXL}px)`,xxl:`(min-width: ${u.screenXXL}px)`}),f=u=>{const a=u,x=[].concat(l).reverse();return x.forEach((p,y)=>{const _=p.toUpperCase(),b=`screen${_}Min`,S=`screen${_}`;if(!(a[b]<=a[S]))throw new Error(`${b}<=${S} fails : !(${a[b]}<=${a[S]})`);if(y<x.length-1){const R=`screen${_}Max`;if(!(a[S]<=a[R]))throw new Error(`${S}<=${R} fails : !(${a[S]}<=${a[R]})`);const T=`screen${x[y+1].toUpperCase()}Min`;if(!(a[R]<=a[T]))throw new Error(`${R}<=${T} fails : !(${a[R]}<=${a[T]})`)}}),u};function s(){const[,u]=(0,i.Z)(),a=c(f(u));return r.useMemo(()=>{const x=new Map;let p=-1,y={};return{matchHandlers:{},dispatch(_){return y=_,x.forEach(b=>b(y)),x.size>=1},subscribe(_){return x.size||this.register(),p+=1,x.set(p,_),_(y),p},unsubscribe(_){x.delete(_),x.size||this.unregister()},unregister(){Object.keys(a).forEach(_=>{const b=a[_],S=this.matchHandlers[b];S==null||S.mql.removeListener(S==null?void 0:S.listener)}),x.clear()},register(){Object.keys(a).forEach(_=>{const b=a[_],S=L=>{let{matches:T}=L;this.dispatch(Object.assign(Object.assign({},y),{[_]:T}))},R=window.matchMedia(b);R.addListener(S),this.matchHandlers[b]={mql:R,listener:S},S(R)})},responsiveMap:a}},[u])}const h=(u,a)=>{if(a&&typeof a=="object")for(let x=0;x<l.length;x++){const p=l[x];if(u[p]&&a[p]!==void 0)return a[p]}}},14088:function(d,g,e){"use strict";e.d(g,{Z:function(){return oe}});var r=e(92310),i=e.n(r),l=e(8654),c=e(29194),f=e(59301),s=e(36355),h=e(92343),u=e(83116);const a=ie=>{const{componentCls:ue,colorPrimary:K}=ie;return{[ue]:{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:`var(--wave-color, ${K})`,boxShadow:"0 0 0 0 currentcolor",opacity:.2,"&.wave-motion-appear":{transition:[`box-shadow 0.4s ${ie.motionEaseOutCirc}`,`opacity 2s ${ie.motionEaseOutCirc}`].join(","),"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0},"&.wave-quick":{transition:[`box-shadow 0.3s ${ie.motionEaseInOut}`,`opacity 0.35s ${ie.motionEaseInOut}`].join(",")}}}}};var x=(0,u.Z)("Wave",ie=>[a(ie)]),p=e(70425),y=e(16089),_=e(77900),b=e(1585);function S(ie){const ue=(ie||"").match(/rgba?\((\d*), (\d*), (\d*)(, [\d.]*)?\)/);return ue&&ue[1]&&ue[2]&&ue[3]?!(ue[1]===ue[2]&&ue[2]===ue[3]):!0}function R(ie){return ie&&ie!=="#fff"&&ie!=="#ffffff"&&ie!=="rgb(255, 255, 255)"&&ie!=="rgba(255, 255, 255, 1)"&&S(ie)&&!/rgba\((?:\d*, ){3}0\)/.test(ie)&&ie!=="transparent"}function L(ie){const{borderTopColor:ue,borderColor:K,backgroundColor:V}=getComputedStyle(ie);return R(ue)?ue:R(K)?K:R(V)?V:null}var T=e(4572);function D(ie){return Number.isNaN(ie)?0:ie}const M=ie=>{const{className:ue,target:K,component:V}=ie,G=f.useRef(null),[te,q]=f.useState(null),[J,le]=f.useState([]),[z,F]=f.useState(0),[se,_e]=f.useState(0),[Pe,Re]=f.useState(0),[Ze,$e]=f.useState(0),[Ht,bt]=f.useState(!1),Ot={left:z,top:se,width:Pe,height:Ze,borderRadius:J.map(Jt=>`${Jt}px`).join(" ")};te&&(Ot["--wave-color"]=te);function qt(){const Jt=getComputedStyle(K);q(L(K));const Xe=Jt.position==="static",{borderLeftWidth:Pt,borderTopWidth:Ut}=Jt;F(Xe?K.offsetLeft:D(-parseFloat(Pt))),_e(Xe?K.offsetTop:D(-parseFloat(Ut))),Re(K.offsetWidth),$e(K.offsetHeight);const{borderTopLeftRadius:st,borderTopRightRadius:yt,borderBottomLeftRadius:ht,borderBottomRightRadius:Je}=Jt;le([st,yt,Je,ht].map(je=>D(parseFloat(je))))}if(f.useEffect(()=>{if(K){const Jt=(0,y.Z)(()=>{qt(),bt(!0)});let Xe;return typeof ResizeObserver!="undefined"&&(Xe=new ResizeObserver(qt),Xe.observe(K)),()=>{y.Z.cancel(Jt),Xe==null||Xe.disconnect()}}},[]),!Ht)return null;const er=(V==="Checkbox"||V==="Radio")&&(K==null?void 0:K.classList.contains(T.A));return f.createElement(_.default,{visible:!0,motionAppear:!0,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(Jt,Xe)=>{var Pt;if(Xe.deadline||Xe.propertyName==="opacity"){const Ut=(Pt=G.current)===null||Pt===void 0?void 0:Pt.parentElement;(0,b.v)(Ut).then(()=>{Ut==null||Ut.remove()})}return!1}},Jt=>{let{className:Xe}=Jt;return f.createElement("div",{ref:G,className:i()(ue,{"wave-quick":er},Xe),style:Ot})})};var j=(ie,ue)=>{var K;const{component:V}=ue;if(V==="Checkbox"&&!(!((K=ie.querySelector("input"))===null||K===void 0)&&K.checked))return;const G=document.createElement("div");G.style.position="absolute",G.style.left="0px",G.style.top="0px",ie==null||ie.insertBefore(G,ie==null?void 0:ie.firstChild),(0,b.s)(f.createElement(M,Object.assign({},ue,{target:ie})),G)},Q=e(88088);function X(ie,ue,K){const{wave:V}=f.useContext(s.E_),[,G,te]=(0,Q.Z)(),q=(0,p.useEvent)(z=>{const F=ie.current;if(V!=null&&V.disabled||!F)return;const se=F.querySelector(`.${T.A}`)||F,{showEffect:_e}=V||{};(_e||j)(se,{className:ue,token:G,component:K,event:z,hashId:te})}),J=f.useRef();return z=>{y.Z.cancel(J.current),J.current=(0,y.Z)(()=>{q(z)})}}var oe=ie=>{const{children:ue,disabled:K,component:V}=ie,{getPrefixCls:G}=(0,f.useContext)(s.E_),te=(0,f.useRef)(null),q=G("wave"),[,J]=x(q),le=X(te,i()(q,J),V);if(f.useEffect(()=>{const F=te.current;if(!F||F.nodeType!==1||K)return;const se=_e=>{!(0,c.Z)(_e.target)||!F.getAttribute||F.getAttribute("disabled")||F.disabled||F.className.includes("disabled")||F.className.includes("-leave")||le(_e)};return F.addEventListener("click",se,!0),()=>{F.removeEventListener("click",se,!0)}},[K]),!f.isValidElement(ue))return ue!=null?ue:null;const z=(0,l.Yr)(ue)?(0,l.sQ)(ue.ref,te):te;return(0,h.Tm)(ue,{ref:z})}},4572:function(d,g,e){"use strict";e.d(g,{A:function(){return r}});const r="ant-wave-target"},67797:function(d,g,e){"use strict";e.d(g,{n:function(){return kt},Z:function(){return Yt}});var r=e(59301),i=e(92310),l=e.n(i),c=e(2738),f=e(8654),s=e(14088),h=e(36355),u=e(1684),a=e(19716),x=e(33234),p=e(88088),y=function(We,fe){var pe={};for(var Dt in We)Object.prototype.hasOwnProperty.call(We,Dt)&&fe.indexOf(Dt)<0&&(pe[Dt]=We[Dt]);if(We!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ce=0,Dt=Object.getOwnPropertySymbols(We);Ce<Dt.length;Ce++)fe.indexOf(Dt[Ce])<0&&Object.prototype.propertyIsEnumerable.call(We,Dt[Ce])&&(pe[Dt[Ce]]=We[Dt[Ce]]);return pe};const _=r.createContext(void 0);var S=We=>{const{getPrefixCls:fe,direction:pe}=r.useContext(h.E_),{prefixCls:Dt,size:Ce,className:dt}=We,zt=y(We,["prefixCls","size","className"]),Tt=fe("btn-group",Dt),[,,Oe]=(0,p.Z)();let St="";switch(Ce){case"large":St="lg";break;case"small":St="sm";break;case"middle":case void 0:break;default:}const be=l()(Tt,{[`${Tt}-${St}`]:St,[`${Tt}-rtl`]:pe==="rtl"},dt,Oe);return r.createElement(_.Provider,{value:Ce},r.createElement("div",Object.assign({},zt,{className:be})))},R=e(92343);const L=/^[\u4e00-\u9fa5]{2}$/,T=L.test.bind(L);function D(We){return typeof We=="string"}function M(We){return We==="text"||We==="link"}function N(We,fe){if(We==null)return;const pe=fe?" ":"";return typeof We!="string"&&typeof We!="number"&&D(We.type)&&T(We.props.children)?(0,R.Tm)(We,{children:We.props.children.split("").join(pe)}):D(We)?T(We)?r.createElement("span",null,We.split("").join(pe)):r.createElement("span",null,We):(0,R.M2)(We)?r.createElement("span",null,We):We}function j(We,fe){let pe=!1;const Dt=[];return r.Children.forEach(We,Ce=>{const dt=typeof Ce,zt=dt==="string"||dt==="number";if(pe&&zt){const Tt=Dt.length-1,Oe=Dt[Tt];Dt[Tt]=`${Oe}${Ce}`}else Dt.push(Ce);pe=zt}),r.Children.map(Dt,Ce=>N(Ce,fe))}const Q=null,X=null,Y=null;var ie=(0,r.forwardRef)((We,fe)=>{const{className:pe,style:Dt,children:Ce,prefixCls:dt}=We,zt=l()(`${dt}-icon`,pe);return r.createElement("span",{ref:fe,className:zt,style:Dt},Ce)}),ue=e(58617),K=e(77900);const V=(0,r.forwardRef)((We,fe)=>{let{prefixCls:pe,className:Dt,style:Ce,iconClassName:dt}=We;const zt=l()(`${pe}-loading-icon`,Dt);return r.createElement(ie,{prefixCls:pe,className:zt,style:Ce,ref:fe},r.createElement(ue.Z,{className:dt}))}),G=()=>({width:0,opacity:0,transform:"scale(0)"}),te=We=>({width:We.scrollWidth,opacity:1,transform:"scale(1)"});var J=We=>{const{prefixCls:fe,loading:pe,existIcon:Dt,className:Ce,style:dt}=We,zt=!!pe;return Dt?r.createElement(V,{prefixCls:fe,className:Ce,style:dt}):r.createElement(K.default,{visible:zt,motionName:`${fe}-loading-icon-motion`,removeOnLeave:!0,onAppearStart:G,onAppearActive:te,onEnterStart:G,onEnterActive:te,onLeaveStart:te,onLeaveActive:G},(Tt,Oe)=>{let{className:St,style:be}=Tt;return r.createElement(V,{prefixCls:fe,className:Ce,style:Object.assign(Object.assign({},dt),be),ref:Oe,iconClassName:St})})},le=e(17313),z=e(37613),F=e(83116);const se=(We,fe)=>({[`> span, > ${We}`]:{"&:not(:last-child)":{[`&, & > ${We}`]:{"&:not(:disabled)":{borderInlineEndColor:fe}}},"&:not(:first-child)":{[`&, & > ${We}`]:{"&:not(:disabled)":{borderInlineStartColor:fe}}}}});var Pe=We=>{const{componentCls:fe,fontSize:pe,lineWidth:Dt,groupBorderColor:Ce,colorErrorHover:dt}=We;return{[`${fe}-group`]:[{position:"relative",display:"inline-flex",[`> span, > ${fe}`]:{"&:not(:last-child)":{[`&, & > ${fe}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:-Dt,[`&, & > ${fe}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[fe]:{position:"relative",zIndex:1,"&:hover,\n &:focus,\n &:active":{zIndex:2},"&[disabled]":{zIndex:0}},[`${fe}-icon-only`]:{fontSize:pe}},se(`${fe}-primary`,Ce),se(`${fe}-danger`,dt)]}};const Re=We=>{const{componentCls:fe,iconCls:pe,fontWeight:Dt}=We;return{[fe]:{outline:"none",position:"relative",display:"inline-block",fontWeight:Dt,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",backgroundColor:"transparent",border:`${We.lineWidth}px ${We.lineType} transparent`,cursor:"pointer",transition:`all ${We.motionDurationMid} ${We.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",lineHeight:We.lineHeight,color:We.colorText,"&:disabled > *":{pointerEvents:"none"},"> span":{display:"inline-block"},[`${fe}-icon`]:{lineHeight:0},[`> ${pe} + span, > span + ${pe}`]:{marginInlineStart:We.marginXS},[`&:not(${fe}-icon-only) > ${fe}-icon`]:{[`&${fe}-loading-icon, &:not(:last-child)`]:{marginInlineEnd:We.marginXS}},"> a":{color:"currentColor"},"&:not(:disabled)":Object.assign({},(0,le.Qy)(We)),[`&-icon-only${fe}-compact-item`]:{flex:"none"},[`&-compact-item${fe}-primary`]:{[`&:not([disabled]) + ${fe}-compact-item${fe}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:-We.lineWidth,insetInlineStart:-We.lineWidth,display:"inline-block",width:We.lineWidth,height:`calc(100% + ${We.lineWidth*2}px)`,backgroundColor:We.colorPrimaryHover,content:'""'}}},"&-compact-vertical-item":{[`&${fe}-primary`]:{[`&:not([disabled]) + ${fe}-compact-vertical-item${fe}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:-We.lineWidth,insetInlineStart:-We.lineWidth,display:"inline-block",width:`calc(100% + ${We.lineWidth*2}px)`,height:We.lineWidth,backgroundColor:We.colorPrimaryHover,content:'""'}}}}}}},Ze=(We,fe,pe)=>({[`&:not(:disabled):not(${We}-disabled)`]:{"&:hover":fe,"&:active":pe}}),$e=We=>({minWidth:We.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),Ht=We=>({borderRadius:We.controlHeight,paddingInlineStart:We.controlHeight/2,paddingInlineEnd:We.controlHeight/2}),bt=We=>({cursor:"not-allowed",borderColor:We.borderColorDisabled,color:We.colorTextDisabled,backgroundColor:We.colorBgContainerDisabled,boxShadow:"none"}),Ot=(We,fe,pe,Dt,Ce,dt,zt,Tt)=>({[`&${We}-background-ghost`]:Object.assign(Object.assign({color:pe||void 0,backgroundColor:fe,borderColor:Dt||void 0,boxShadow:"none"},Ze(We,Object.assign({backgroundColor:fe},zt),Object.assign({backgroundColor:fe},Tt))),{"&:disabled":{cursor:"not-allowed",color:Ce||void 0,borderColor:dt||void 0}})}),qt=We=>({[`&:disabled, &${We.componentCls}-disabled`]:Object.assign({},bt(We))}),er=We=>Object.assign({},qt(We)),Jt=We=>({[`&:disabled, &${We.componentCls}-disabled`]:{cursor:"not-allowed",color:We.colorTextDisabled}}),Xe=We=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},er(We)),{backgroundColor:We.defaultBg,borderColor:We.defaultBorderColor,color:We.defaultColor,boxShadow:We.defaultShadow}),Ze(We.componentCls,{color:We.colorPrimaryHover,borderColor:We.colorPrimaryHover},{color:We.colorPrimaryActive,borderColor:We.colorPrimaryActive})),Ot(We.componentCls,We.ghostBg,We.defaultGhostColor,We.defaultGhostBorderColor,We.colorTextDisabled,We.colorBorder)),{[`&${We.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({color:We.colorError,borderColor:We.colorError},Ze(We.componentCls,{color:We.colorErrorHover,borderColor:We.colorErrorBorderHover},{color:We.colorErrorActive,borderColor:We.colorErrorActive})),Ot(We.componentCls,We.ghostBg,We.colorError,We.colorError,We.colorTextDisabled,We.colorBorder)),qt(We))}),Pt=We=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},er(We)),{color:We.primaryColor,backgroundColor:We.colorPrimary,boxShadow:We.primaryShadow}),Ze(We.componentCls,{color:We.colorTextLightSolid,backgroundColor:We.colorPrimaryHover},{color:We.colorTextLightSolid,backgroundColor:We.colorPrimaryActive})),Ot(We.componentCls,We.ghostBg,We.colorPrimary,We.colorPrimary,We.colorTextDisabled,We.colorBorder,{color:We.colorPrimaryHover,borderColor:We.colorPrimaryHover},{color:We.colorPrimaryActive,borderColor:We.colorPrimaryActive})),{[`&${We.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({backgroundColor:We.colorError,boxShadow:We.dangerShadow,color:We.dangerColor},Ze(We.componentCls,{backgroundColor:We.colorErrorHover},{backgroundColor:We.colorErrorActive})),Ot(We.componentCls,We.ghostBg,We.colorError,We.colorError,We.colorTextDisabled,We.colorBorder,{color:We.colorErrorHover,borderColor:We.colorErrorHover},{color:We.colorErrorActive,borderColor:We.colorErrorActive})),qt(We))}),Ut=We=>Object.assign(Object.assign({},Xe(We)),{borderStyle:"dashed"}),st=We=>Object.assign(Object.assign(Object.assign({color:We.colorLink},Ze(We.componentCls,{color:We.colorLinkHover,backgroundColor:We.linkHoverBg},{color:We.colorLinkActive})),Jt(We)),{[`&${We.componentCls}-dangerous`]:Object.assign(Object.assign({color:We.colorError},Ze(We.componentCls,{color:We.colorErrorHover},{color:We.colorErrorActive})),Jt(We))}),yt=We=>Object.assign(Object.assign(Object.assign({},Ze(We.componentCls,{color:We.colorText,backgroundColor:We.textHoverBg},{color:We.colorText,backgroundColor:We.colorBgTextActive})),Jt(We)),{[`&${We.componentCls}-dangerous`]:Object.assign(Object.assign({color:We.colorError},Jt(We)),Ze(We.componentCls,{color:We.colorErrorHover,backgroundColor:We.colorErrorBg},{color:We.colorErrorHover,backgroundColor:We.colorErrorBg}))}),ht=We=>{const{componentCls:fe}=We;return{[`${fe}-default`]:Xe(We),[`${fe}-primary`]:Pt(We),[`${fe}-dashed`]:Ut(We),[`${fe}-link`]:st(We),[`${fe}-text`]:yt(We),[`${fe}-ghost`]:Ot(We.componentCls,We.ghostBg,We.colorBgContainer,We.colorBgContainer,We.colorTextDisabled,We.colorBorder)}},Je=function(We){let fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const{componentCls:pe,controlHeight:Dt,fontSize:Ce,lineHeight:dt,lineWidth:zt,borderRadius:Tt,buttonPaddingHorizontal:Oe,iconCls:St}=We,be=Math.max(0,(Dt-Ce*dt)/2-zt),Ke=`${pe}-icon-only`;return[{[`${pe}${fe}`]:{fontSize:Ce,height:Dt,padding:`${be}px ${Oe}px`,borderRadius:Tt,[`&${Ke}`]:{width:Dt,paddingInlineStart:0,paddingInlineEnd:0,[`&${pe}-round`]:{width:"auto"},[St]:{fontSize:We.buttonIconOnlyFontSize}},[`&${pe}-loading`]:{opacity:We.opacityLoading,cursor:"default"},[`${pe}-loading-icon`]:{transition:`width ${We.motionDurationSlow} ${We.motionEaseInOut}, opacity ${We.motionDurationSlow} ${We.motionEaseInOut}`}}},{[`${pe}${pe}-circle${fe}`]:$e(We)},{[`${pe}${pe}-round${fe}`]:Ht(We)}]},je=We=>Je((0,z.TS)(We,{fontSize:We.contentFontSize})),ge=We=>{const fe=(0,z.TS)(We,{controlHeight:We.controlHeightSM,fontSize:We.contentFontSizeSM,padding:We.paddingXS,buttonPaddingHorizontal:We.paddingInlineSM,borderRadius:We.borderRadiusSM,buttonIconOnlyFontSize:We.onlyIconSizeSM});return Je(fe,`${We.componentCls}-sm`)},Se=We=>{const fe=(0,z.TS)(We,{controlHeight:We.controlHeightLG,fontSize:We.contentFontSizeLG,buttonPaddingHorizontal:We.paddingInlineLG,borderRadius:We.borderRadiusLG,buttonIconOnlyFontSize:We.onlyIconSizeLG});return Je(fe,`${We.componentCls}-lg`)},Me=We=>{const{componentCls:fe}=We;return{[fe]:{[`&${fe}-block`]:{width:"100%"}}}},Ne=We=>{const{paddingInline:fe,onlyIconSize:pe}=We;return(0,z.TS)(We,{buttonPaddingHorizontal:fe,buttonIconOnlyFontSize:pe})},He=We=>({fontWeight:400,defaultShadow:`0 ${We.controlOutlineWidth}px 0 ${We.controlTmpOutline}`,primaryShadow:`0 ${We.controlOutlineWidth}px 0 ${We.controlOutline}`,dangerShadow:`0 ${We.controlOutlineWidth}px 0 ${We.colorErrorOutline}`,primaryColor:We.colorTextLightSolid,dangerColor:We.colorTextLightSolid,borderColorDisabled:We.colorBorder,defaultGhostColor:We.colorBgContainer,ghostBg:"transparent",defaultGhostBorderColor:We.colorBgContainer,paddingInline:We.paddingContentHorizontal-We.lineWidth,paddingInlineLG:We.paddingContentHorizontal-We.lineWidth,paddingInlineSM:8-We.lineWidth,onlyIconSize:We.fontSizeLG,onlyIconSizeSM:We.fontSizeLG-2,onlyIconSizeLG:We.fontSizeLG+2,groupBorderColor:We.colorPrimaryHover,linkHoverBg:"transparent",textHoverBg:We.colorBgTextHover,defaultColor:We.colorText,defaultBg:We.colorBgContainer,defaultBorderColor:We.colorBorder,defaultBorderColorDisabled:We.colorBorder,contentFontSize:We.fontSize,contentFontSizeSM:We.fontSize,contentFontSizeLG:We.fontSizeLG});var nt=(0,F.Z)("Button",We=>{const fe=Ne(We);return[Re(fe),ge(fe),je(fe),Se(fe),Me(fe),ht(fe),Pe(fe)]},He),ct=e(74207);function Vt(We,fe){return{[`&-item:not(${fe}-last-item)`]:{marginBottom:-We.lineWidth},"&-item":{"&:hover,&:focus,&:active":{zIndex:2},"&[disabled]":{zIndex:0}}}}function Wt(We,fe){return{[`&-item:not(${fe}-first-item):not(${fe}-last-item)`]:{borderRadius:0},[`&-item${fe}-first-item:not(${fe}-last-item)`]:{[`&, &${We}-sm, &${We}-lg`]:{borderEndEndRadius:0,borderEndStartRadius:0}},[`&-item${fe}-last-item:not(${fe}-first-item)`]:{[`&, &${We}-sm, &${We}-lg`]:{borderStartStartRadius:0,borderStartEndRadius:0}}}}function Ie(We){const fe=`${We.componentCls}-compact-vertical`;return{[fe]:Object.assign(Object.assign({},Vt(We,fe)),Wt(We.componentCls,fe))}}var qe=(0,F.b)(["Button","compact"],We=>{const fe=Ne(We);return[(0,ct.c)(fe),Ie(fe)]},He),Gt=function(We,fe){var pe={};for(var Dt in We)Object.prototype.hasOwnProperty.call(We,Dt)&&fe.indexOf(Dt)<0&&(pe[Dt]=We[Dt]);if(We!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ce=0,Dt=Object.getOwnPropertySymbols(We);Ce<Dt.length;Ce++)fe.indexOf(Dt[Ce])<0&&Object.prototype.propertyIsEnumerable.call(We,Dt[Ce])&&(pe[Dt[Ce]]=We[Dt[Ce]]);return pe};function kt(We){return We==="danger"?{danger:!0}:{type:We}}function Zt(We){if(typeof We=="object"&&We){const fe=We==null?void 0:We.delay;return{loading:!1,delay:!Number.isNaN(fe)&&typeof fe=="number"?fe:0}}return{loading:!!We,delay:0}}const Nt=(We,fe)=>{var pe,Dt;const{loading:Ce=!1,prefixCls:dt,type:zt="default",danger:Tt,shape:Oe="default",size:St,styles:be,disabled:Ke,className:vt,rootClassName:Rt,children:Fe,icon:kr,ghost:At=!1,block:Kr=!1,htmlType:qr="button",classNames:Ar,style:Br={}}=We,_r=Gt(We,["loading","prefixCls","type","danger","shape","size","styles","disabled","className","rootClassName","children","icon","ghost","block","htmlType","classNames","style"]),{getPrefixCls:Ur,autoInsertSpaceInButton:sn,direction:cn,button:or}=(0,r.useContext)(h.E_),Lt=Ur("btn",dt),[mt,gt]=nt(Lt),$t=(0,r.useContext)(u.Z),Cr=Ke!=null?Ke:$t,gr=(0,r.useContext)(_),ot=(0,r.useMemo)(()=>Zt(Ce),[Ce]),[Mr,yn]=(0,r.useState)(ot.loading),[Zn,mr]=(0,r.useState)(!1),tn=(0,r.createRef)(),hn=(0,f.sQ)(fe,tn),Fn=r.Children.count(Fe)===1&&!kr&&!M(zt);(0,r.useEffect)(()=>{let vi=null;ot.delay>0?vi=setTimeout(()=>{vi=null,yn(!0)},ot.delay):yn(ot.loading);function si(){vi&&(clearTimeout(vi),vi=null)}return si},[ot]),(0,r.useEffect)(()=>{if(!hn||!hn.current||sn===!1)return;const vi=hn.current.textContent;Fn&&T(vi)?Zn||mr(!0):Zn&&mr(!1)},[hn]);const ti=vi=>{const{onClick:si}=We;if(Mr||Cr){vi.preventDefault();return}si==null||si(vi)},jn=sn!==!1,{compactSize:Zi,compactItemClassnames:xi}=(0,x.ri)(Lt,cn),Si={large:"lg",small:"sm",middle:void 0},Ei=(0,a.Z)(vi=>{var si,En;return(En=(si=St!=null?St:Zi)!==null&&si!==void 0?si:gr)!==null&&En!==void 0?En:vi}),mi=Ei&&Si[Ei]||"",Xi=Mr?"loading":kr,qn=(0,c.Z)(_r,["navigate"]),Yi=l()(Lt,gt,{[`${Lt}-${Oe}`]:Oe!=="default"&&Oe,[`${Lt}-${zt}`]:zt,[`${Lt}-${mi}`]:mi,[`${Lt}-icon-only`]:!Fe&&Fe!==0&&!!Xi,[`${Lt}-background-ghost`]:At&&!M(zt),[`${Lt}-loading`]:Mr,[`${Lt}-two-chinese-chars`]:Zn&&jn&&!Mr,[`${Lt}-block`]:Kr,[`${Lt}-dangerous`]:!!Tt,[`${Lt}-rtl`]:cn==="rtl"},xi,vt,Rt,or==null?void 0:or.className),wt=Object.assign(Object.assign({},or==null?void 0:or.style),Br),ut=l()(Ar==null?void 0:Ar.icon,(pe=or==null?void 0:or.classNames)===null||pe===void 0?void 0:pe.icon),Jn=Object.assign(Object.assign({},(be==null?void 0:be.icon)||{}),((Dt=or==null?void 0:or.styles)===null||Dt===void 0?void 0:Dt.icon)||{}),Ai=kr&&!Mr?r.createElement(ie,{prefixCls:Lt,className:ut,style:Jn},kr):r.createElement(J,{existIcon:!!kr,prefixCls:Lt,loading:!!Mr}),ei=Fe||Fe===0?j(Fe,Fn&&jn):null;if(qn.href!==void 0)return mt(r.createElement("a",Object.assign({},qn,{className:l()(Yi,{[`${Lt}-disabled`]:Cr}),style:wt,onClick:ti,ref:hn}),Ai,ei));let Gi=r.createElement("button",Object.assign({},_r,{type:qr,className:Yi,style:wt,onClick:ti,disabled:Cr,ref:hn}),Ai,ei,xi&&r.createElement(qe,{key:"compact",prefixCls:Lt}));return M(zt)||(Gi=r.createElement(s.Z,{component:"Button",disabled:!!Mr},Gi)),mt(Gi)},Ct=(0,r.forwardRef)(Nt);Ct.Group=S,Ct.__ANT_BUTTON=!0;var Yt=Ct},3113:function(d,g,e){"use strict";var r=e(67797);g.ZP=r.Z},43604:function(d,g,e){"use strict";var r=e(37028);g.Z=r.Z},1684:function(d,g,e){"use strict";e.d(g,{n:function(){return l}});var r=e(59301);const i=r.createContext(!1),l=c=>{let{children:f,disabled:s}=c;const h=r.useContext(i);return r.createElement(i.Provider,{value:s!=null?s:h},f)};g.Z=i},52946:function(d,g,e){"use strict";e.d(g,{q:function(){return l}});var r=e(59301);const i=r.createContext(void 0),l=c=>{let{children:f,size:s}=c;const h=r.useContext(i);return r.createElement(i.Provider,{value:s||h},f)};g.Z=i},36355:function(d,g,e){"use strict";e.d(g,{E_:function(){return c},oR:function(){return i}});var r=e(59301);const i="anticon",l=(s,h)=>h||(s?`ant-${s}`:"ant"),c=r.createContext({getPrefixCls:l,iconPrefixCls:i}),{Consumer:f}=c},19716:function(d,g,e){"use strict";var r=e(59301),i=e(52946);const l=c=>{const f=r.useContext(i.Z);return r.useMemo(()=>c?typeof c=="string"?c!=null?c:f:c instanceof Function?c(f):f:f,[c,f])};g.Z=l},92736:function(d,g,e){"use strict";e.d(g,{ZP:function(){return Jt},w6:function(){return Ot}});var r=e(93083),i=e(18418),l=e(80547),c=e(24434),f=e(59301),s=e(28726),h=e(98044),u=e(41887);const a="internalMark";var p=Xe=>{const{locale:Pt={},children:Ut,_ANT_MARK__:st}=Xe;f.useEffect(()=>(0,h.f)(Pt&&Pt.Modal),[Pt]);const yt=f.useMemo(()=>Object.assign(Object.assign({},Pt),{exist:!0}),[Pt]);return f.createElement(u.Z.Provider,{value:yt},Ut)},y=e(31724),_=e(45246),b=e(34117),S=e(36355),R=e(93398),L=e(64993),T=e(47273),D=e(810);const M=`-ant-${Date.now()}-${Math.random()}`;function N(Xe,Pt){const Ut={},st=(Je,je)=>{let ge=Je.clone();return ge=(je==null?void 0:je(ge))||ge,ge.toRgbString()},yt=(Je,je)=>{const ge=new L.C(Je),Se=(0,R.generate)(ge.toRgbString());Ut[`${je}-color`]=st(ge),Ut[`${je}-color-disabled`]=Se[1],Ut[`${je}-color-hover`]=Se[4],Ut[`${je}-color-active`]=Se[6],Ut[`${je}-color-outline`]=ge.clone().setAlpha(.2).toRgbString(),Ut[`${je}-color-deprecated-bg`]=Se[0],Ut[`${je}-color-deprecated-border`]=Se[2]};if(Pt.primaryColor){yt(Pt.primaryColor,"primary");const Je=new L.C(Pt.primaryColor),je=(0,R.generate)(Je.toRgbString());je.forEach((Se,Me)=>{Ut[`primary-${Me+1}`]=Se}),Ut["primary-color-deprecated-l-35"]=st(Je,Se=>Se.lighten(35)),Ut["primary-color-deprecated-l-20"]=st(Je,Se=>Se.lighten(20)),Ut["primary-color-deprecated-t-20"]=st(Je,Se=>Se.tint(20)),Ut["primary-color-deprecated-t-50"]=st(Je,Se=>Se.tint(50)),Ut["primary-color-deprecated-f-12"]=st(Je,Se=>Se.setAlpha(Se.getAlpha()*.12));const ge=new L.C(je[0]);Ut["primary-color-active-deprecated-f-30"]=st(ge,Se=>Se.setAlpha(Se.getAlpha()*.3)),Ut["primary-color-active-deprecated-d-02"]=st(ge,Se=>Se.darken(2))}return Pt.successColor&&yt(Pt.successColor,"success"),Pt.warningColor&&yt(Pt.warningColor,"warning"),Pt.errorColor&&yt(Pt.errorColor,"error"),Pt.infoColor&&yt(Pt.infoColor,"info"),`
:root {
${Object.keys(Ut).map(Je=>`--${Xe}-${Je}: ${Ut[Je]};`).join(`
`)}
}
`.trim()}function j(Xe,Pt){const Ut=N(Xe,Pt);(0,T.Z)()&&(0,D.hq)(Ut,`${M}-dynamic-theme`)}var Q=e(1684),X=e(52946);function Y(){const Xe=(0,f.useContext)(Q.Z),Pt=(0,f.useContext)(X.Z);return{componentDisabled:Xe,componentSize:Pt}}var oe=Y,ie=e(13697);function ue(Xe,Pt){const Ut=Xe||{},st=Ut.inherit===!1||!Pt?_.u_:Pt;return(0,l.Z)(()=>{if(!Xe)return Pt;const yt=Object.assign({},st.components);return Object.keys(Xe.components||{}).forEach(ht=>{yt[ht]=Object.assign(Object.assign({},yt[ht]),Xe.components[ht])}),Object.assign(Object.assign(Object.assign({},st),Ut),{token:Object.assign(Object.assign({},st.token),Ut.token),components:yt})},[Ut,st],(yt,ht)=>yt.some((Je,je)=>{const ge=ht[je];return!(0,ie.Z)(Je,ge,!0)}))}var K=e(77900),V=e(88088);function G(Xe){const{children:Pt}=Xe,[,Ut]=(0,V.Z)(),{motion:st}=Ut,yt=f.useRef(!1);return yt.current=yt.current||st===!1,yt.current?f.createElement(K.Provider,{motion:st},Pt):Pt}var te=e(73040),q=function(Xe,Pt){var Ut={};for(var st in Xe)Object.prototype.hasOwnProperty.call(Xe,st)&&Pt.indexOf(st)<0&&(Ut[st]=Xe[st]);if(Xe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var yt=0,st=Object.getOwnPropertySymbols(Xe);yt<st.length;yt++)Pt.indexOf(st[yt])<0&&Object.prototype.propertyIsEnumerable.call(Xe,st[yt])&&(Ut[st[yt]]=Xe[st[yt]]);return Ut};let J=!1;const le=null,z=null,F=["getTargetContainer","getPopupContainer","renderEmpty","pageHeader","input","pagination","form","select","button"],se="ant";let _e,Pe,Re;function Ze(){return _e||se}function $e(){return Pe||S.oR}function Ht(Xe){return Object.keys(Xe).some(Pt=>Pt.endsWith("Color"))}const bt=Xe=>{let{prefixCls:Pt,iconPrefixCls:Ut,theme:st}=Xe;Pt!==void 0&&(_e=Pt),Ut!==void 0&&(Pe=Ut),st&&(Ht(st)?j(Ze(),st):Re=st)},Ot=()=>({getPrefixCls:(Xe,Pt)=>Pt||(Xe?`${Ze()}-${Xe}`:Ze()),getIconPrefixCls:$e,getRootPrefixCls:()=>_e||Ze(),getTheme:()=>Re}),qt=Xe=>{const{children:Pt,csp:Ut,autoInsertSpaceInButton:st,alert:yt,anchor:ht,form:Je,locale:je,componentSize:ge,direction:Se,space:Me,virtual:Ne,dropdownMatchSelectWidth:He,popupMatchSelectWidth:nt,popupOverflow:ct,legacyLocale:Vt,parentContext:Wt,iconPrefixCls:Ie,theme:qe,componentDisabled:Gt,segmented:kt,statistic:Zt,spin:Nt,calendar:Ct,carousel:Yt,cascader:We,collapse:fe,typography:pe,checkbox:Dt,descriptions:Ce,divider:dt,drawer:zt,skeleton:Tt,steps:Oe,image:St,layout:be,list:Ke,mentions:vt,modal:Rt,progress:Fe,result:kr,slider:At,breadcrumb:Kr,menu:qr,pagination:Ar,input:Br,empty:_r,badge:Ur,radio:sn,rate:cn,switch:or,transfer:Lt,avatar:mt,message:gt,tag:$t,table:Cr,card:gr,tabs:ot,timeline:Mr,timePicker:yn,upload:Zn,notification:mr,tree:tn,colorPicker:hn,datePicker:Fn,wave:ti}=Xe,jn=f.useCallback((ei,Gi)=>{const{prefixCls:vi}=Xe;if(Gi)return Gi;const si=vi||Wt.getPrefixCls("");return ei?`${si}-${ei}`:si},[Wt.getPrefixCls,Xe.prefixCls]),Zi=Ie||Wt.iconPrefixCls||S.oR,xi=Zi!==Wt.iconPrefixCls,Si=Ut||Wt.csp,Ei=(0,te.Z)(Zi,Si),mi=ue(qe,Wt.theme),Xi={csp:Si,autoInsertSpaceInButton:st,alert:yt,anchor:ht,locale:je||Vt,direction:Se,space:Me,virtual:Ne,popupMatchSelectWidth:nt!=null?nt:He,popupOverflow:ct,getPrefixCls:jn,iconPrefixCls:Zi,theme:mi,segmented:kt,statistic:Zt,spin:Nt,calendar:Ct,carousel:Yt,cascader:We,collapse:fe,typography:pe,checkbox:Dt,descriptions:Ce,divider:dt,drawer:zt,skeleton:Tt,steps:Oe,image:St,input:Br,layout:be,list:Ke,mentions:vt,modal:Rt,progress:Fe,result:kr,slider:At,breadcrumb:Kr,menu:qr,pagination:Ar,empty:_r,badge:Ur,radio:sn,rate:cn,switch:or,transfer:Lt,avatar:mt,message:gt,tag:$t,table:Cr,card:gr,tabs:ot,timeline:Mr,timePicker:yn,upload:Zn,notification:mr,tree:tn,colorPicker:hn,datePicker:Fn,wave:ti},qn=Object.assign({},Wt);Object.keys(Xi).forEach(ei=>{Xi[ei]!==void 0&&(qn[ei]=Xi[ei])}),F.forEach(ei=>{const Gi=Xe[ei];Gi&&(qn[ei]=Gi)});const Yi=(0,l.Z)(()=>qn,qn,(ei,Gi)=>{const vi=Object.keys(ei),si=Object.keys(Gi);return vi.length!==si.length||vi.some(En=>ei[En]!==Gi[En])}),wt=f.useMemo(()=>({prefixCls:Zi,csp:Si}),[Zi,Si]);let ut=xi?Ei(Pt):Pt;const Jn=f.useMemo(()=>{var ei,Gi,vi,si;return(0,c.T)(((ei=y.Z.Form)===null||ei===void 0?void 0:ei.defaultValidateMessages)||{},((vi=(Gi=Yi.locale)===null||Gi===void 0?void 0:Gi.Form)===null||vi===void 0?void 0:vi.defaultValidateMessages)||{},((si=Yi.form)===null||si===void 0?void 0:si.validateMessages)||{},(Je==null?void 0:Je.validateMessages)||{})},[Yi,Je==null?void 0:Je.validateMessages]);Object.keys(Jn).length>0&&(ut=f.createElement(s.Z.Provider,{value:Jn},Pt)),je&&(ut=f.createElement(p,{locale:je,_ANT_MARK__:a},ut)),(Zi||Si)&&(ut=f.createElement(i.Z.Provider,{value:wt},ut)),ge&&(ut=f.createElement(X.q,{size:ge},ut)),ut=f.createElement(G,null,ut);const Ai=f.useMemo(()=>{const ei=mi||{},{algorithm:Gi,token:vi,components:si}=ei,En=q(ei,["algorithm","token","components"]),tr=Gi&&(!Array.isArray(Gi)||Gi.length>0)?(0,r.createTheme)(Gi):_.uH,_t={};return Object.entries(si||{}).forEach(rt=>{let[It,pt]=rt;const lr=Object.assign({},pt);"algorithm"in lr&&(lr.algorithm===!0?lr.theme=tr:(Array.isArray(lr.algorithm)||typeof lr.algorithm=="function")&&(lr.theme=(0,r.createTheme)(lr.algorithm)),delete lr.algorithm),_t[It]=lr}),Object.assign(Object.assign({},En),{theme:tr,token:Object.assign(Object.assign({},b.Z),vi),components:_t})},[mi]);return qe&&(ut=f.createElement(_.Mj.Provider,{value:Ai},ut)),Gt!==void 0&&(ut=f.createElement(Q.n,{disabled:Gt},ut)),f.createElement(S.E_.Provider,{value:Yi},ut)},er=Xe=>{const Pt=f.useContext(S.E_),Ut=f.useContext(u.Z);return f.createElement(qt,Object.assign({parentContext:Pt,legacyLocale:Ut},Xe))};er.ConfigContext=S.E_,er.SizeContext=X.Z,er.config=bt,er.useConfig=oe,Object.defineProperty(er,"SizeContext",{get:()=>X.Z});var Jt=er},48183:function(d,g,e){"use strict";e.d(g,{Z:function(){return f}});var r={locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"OK",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"},i=r,l=e(67532),f={lang:Object.assign({placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"]},i),timePickerLocale:Object.assign({},l.Z)}},32441:function(d,g,e){"use strict";e.d(g,{RV:function(){return s},Rk:function(){return h},Ux:function(){return a},aM:function(){return u},q3:function(){return c},qI:function(){return f}});var r=e(59301),i=e(95013),l=e(2738);const c=r.createContext({labelAlign:"right",vertical:!1,itemRef:()=>{}}),f=r.createContext(null),s=x=>{const p=(0,l.Z)(x,["prefixCls"]);return r.createElement(i.FormProvider,Object.assign({},p))},h=r.createContext({prefixCls:""}),u=r.createContext({}),a=x=>{let{children:p,status:y,override:_}=x;const b=(0,r.useContext)(u),S=(0,r.useMemo)(()=>{const R=Object.assign({},b);return _&&delete R.isFormItemInput,y&&(delete R.status,delete R.hasFeedback,delete R.feedbackIcon),R},[y,_,b]);return r.createElement(u.Provider,{value:S},p)}},28726:function(d,g,e){"use strict";var r=e(59301);g.Z=(0,r.createContext)(void 0)},6700:function(d,g,e){"use strict";var r=e(59301);const i=(0,r.createContext)({});g.Z=i},37028:function(d,g,e){"use strict";var r=e(59301),i=e(92310),l=e.n(i),c=e(36355),f=e(6700),s=e(98242),h=function(p,y){var _={};for(var b in p)Object.prototype.hasOwnProperty.call(p,b)&&y.indexOf(b)<0&&(_[b]=p[b]);if(p!=null&&typeof Object.getOwnPropertySymbols=="function")for(var S=0,b=Object.getOwnPropertySymbols(p);S<b.length;S++)y.indexOf(b[S])<0&&Object.prototype.propertyIsEnumerable.call(p,b[S])&&(_[b[S]]=p[b[S]]);return _};function u(p){return typeof p=="number"?`${p} ${p} auto`:/^\d+(\.\d+)?(px|em|rem|%)$/.test(p)?`0 0 ${p}`:p}const a=["xs","sm","md","lg","xl","xxl"],x=r.forwardRef((p,y)=>{const{getPrefixCls:_,direction:b}=r.useContext(c.E_),{gutter:S,wrap:R}=r.useContext(f.Z),{prefixCls:L,span:T,order:D,offset:M,push:N,pull:j,className:Q,children:X,flex:Y,style:oe}=p,ie=h(p,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),ue=_("col",L),[K,V]=(0,s.c)(ue);let G={};a.forEach(J=>{let le={};const z=p[J];typeof z=="number"?le.span=z:typeof z=="object"&&(le=z||{}),delete ie[J],G=Object.assign(Object.assign({},G),{[`${ue}-${J}-${le.span}`]:le.span!==void 0,[`${ue}-${J}-order-${le.order}`]:le.order||le.order===0,[`${ue}-${J}-offset-${le.offset}`]:le.offset||le.offset===0,[`${ue}-${J}-push-${le.push}`]:le.push||le.push===0,[`${ue}-${J}-pull-${le.pull}`]:le.pull||le.pull===0,[`${ue}-${J}-flex-${le.flex}`]:le.flex||le.flex==="auto",[`${ue}-rtl`]:b==="rtl"})});const te=l()(ue,{[`${ue}-${T}`]:T!==void 0,[`${ue}-order-${D}`]:D,[`${ue}-offset-${M}`]:M,[`${ue}-push-${N}`]:N,[`${ue}-pull-${j}`]:j},Q,G,V),q={};if(S&&S[0]>0){const J=S[0]/2;q.paddingLeft=J,q.paddingRight=J}return Y&&(q.flex=u(Y),R===!1&&!q.minWidth&&(q.minWidth=0)),K(r.createElement("div",Object.assign({},ie,{style:Object.assign(Object.assign({},q),oe),className:te,ref:y}),X))});g.Z=x},27382:function(d,g,e){"use strict";var r=e(59301),i=e(92310),l=e.n(i),c=e(69507),f=e(36355),s=e(6700),h=e(98242),u=function(_,b){var S={};for(var R in _)Object.prototype.hasOwnProperty.call(_,R)&&b.indexOf(R)<0&&(S[R]=_[R]);if(_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var L=0,R=Object.getOwnPropertySymbols(_);L<R.length;L++)b.indexOf(R[L])<0&&Object.prototype.propertyIsEnumerable.call(_,R[L])&&(S[R[L]]=_[R[L]]);return S};const a=null,x=null;function p(_,b){const[S,R]=r.useState(typeof _=="string"?_:""),L=()=>{if(typeof _=="string"&&R(_),typeof _=="object")for(let T=0;T<c.c4.length;T++){const D=c.c4[T];if(!b[D])continue;const M=_[D];if(M!==void 0){R(M);return}}};return r.useEffect(()=>{L()},[JSON.stringify(_),b]),S}const y=r.forwardRef((_,b)=>{const{prefixCls:S,justify:R,align:L,className:T,style:D,children:M,gutter:N=0,wrap:j}=_,Q=u(_,["prefixCls","justify","align","className","style","children","gutter","wrap"]),{getPrefixCls:X,direction:Y}=r.useContext(f.E_),[oe,ie]=r.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),[ue,K]=r.useState({xs:!1,sm:!1,md:!1,lg:!1,xl:!1,xxl:!1}),V=p(L,ue),G=p(R,ue),te=r.useRef(N),q=(0,c.ZP)();r.useEffect(()=>{const bt=q.subscribe(Ot=>{K(Ot);const qt=te.current||0;(!Array.isArray(qt)&&typeof qt=="object"||Array.isArray(qt)&&(typeof qt[0]=="object"||typeof qt[1]=="object"))&&ie(Ot)});return()=>q.unsubscribe(bt)},[]);const J=()=>{const bt=[void 0,void 0];return(Array.isArray(N)?N:[N,void 0]).forEach((qt,er)=>{if(typeof qt=="object")for(let Jt=0;Jt<c.c4.length;Jt++){const Xe=c.c4[Jt];if(oe[Xe]&&qt[Xe]!==void 0){bt[er]=qt[Xe];break}}else bt[er]=qt}),bt},le=X("row",S),[z,F]=(0,h.V)(le),se=J(),_e=l()(le,{[`${le}-no-wrap`]:j===!1,[`${le}-${G}`]:G,[`${le}-${V}`]:V,[`${le}-rtl`]:Y==="rtl"},T,F),Pe={},Re=se[0]!=null&&se[0]>0?se[0]/-2:void 0;Re&&(Pe.marginLeft=Re,Pe.marginRight=Re),[,Pe.rowGap]=se;const[Ze,$e]=se,Ht=r.useMemo(()=>({gutter:[Ze,$e],wrap:j}),[Ze,$e,j]);return z(r.createElement(s.Z.Provider,{value:Ht},r.createElement("div",Object.assign({},Q,{className:_e,style:Object.assign(Object.assign({},Pe),D),ref:b}),M)))});g.Z=y},98242:function(d,g,e){"use strict";e.d(g,{V:function(){return u},c:function(){return a}});var r=e(83116),i=e(37613);const l=x=>{const{componentCls:p}=x;return{[p]:{display:"flex",flexFlow:"row wrap",minWidth:0,"&::before, &::after":{display:"flex"},"&-no-wrap":{flexWrap:"nowrap"},"&-start":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"flex-end"},"&-space-between":{justifyContent:"space-between"},"&-space-around":{justifyContent:"space-around"},"&-space-evenly":{justifyContent:"space-evenly"},"&-top":{alignItems:"flex-start"},"&-middle":{alignItems:"center"},"&-bottom":{alignItems:"flex-end"}}}},c=x=>{const{componentCls:p}=x;return{[p]:{position:"relative",maxWidth:"100%",minHeight:1}}},f=(x,p)=>{const{componentCls:y,gridColumns:_}=x,b={};for(let S=_;S>=0;S--)S===0?(b[`${y}${p}-${S}`]={display:"none"},b[`${y}-push-${S}`]={insetInlineStart:"auto"},b[`${y}-pull-${S}`]={insetInlineEnd:"auto"},b[`${y}${p}-push-${S}`]={insetInlineStart:"auto"},b[`${y}${p}-pull-${S}`]={insetInlineEnd:"auto"},b[`${y}${p}-offset-${S}`]={marginInlineStart:0},b[`${y}${p}-order-${S}`]={order:0}):(b[`${y}${p}-${S}`]=[{"--ant-display":"block",display:"block"},{display:"var(--ant-display)",flex:`0 0 ${S/_*100}%`,maxWidth:`${S/_*100}%`}],b[`${y}${p}-push-${S}`]={insetInlineStart:`${S/_*100}%`},b[`${y}${p}-pull-${S}`]={insetInlineEnd:`${S/_*100}%`},b[`${y}${p}-offset-${S}`]={marginInlineStart:`${S/_*100}%`},b[`${y}${p}-order-${S}`]={order:S});return b},s=(x,p)=>f(x,p),h=(x,p,y)=>({[`@media (min-width: ${p}px)`]:Object.assign({},s(x,y))}),u=(0,r.Z)("Grid",x=>[l(x)]),a=(0,r.Z)("Grid",x=>{const p=(0,i.TS)(x,{gridColumns:24}),y={"-sm":p.screenSMMin,"-md":p.screenMDMin,"-lg":p.screenLGMin,"-xl":p.screenXLMin,"-xxl":p.screenXXLMin};return[c(p),s(p,""),s(p,"-xs"),Object.keys(y).map(_=>h(p,y[_],_)).reduce((_,b)=>Object.assign(Object.assign({},_),b),{})]})},41887:function(d,g,e){"use strict";var r=e(59301);const i=(0,r.createContext)(void 0);g.Z=i},31724:function(d,g,e){"use strict";e.d(g,{Z:function(){return h}});var r=e(22075),i=e(48183),l=i.Z,c=e(67532);const f="${label} is not a valid ${type}";var h={locale:"en",Pagination:r.Z,DatePicker:i.Z,TimePicker:c.Z,Calendar:l,global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Tour:{Next:"Next",Previous:"Previous",Finish:"Finish"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand"},PageHeader:{back:"Back"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:f,method:f,array:f,object:f,number:f,date:f,boolean:f,integer:f,float:f,regexp:f,email:f,url:f,hex:f},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview"},QRCode:{expired:"QR code expired",refresh:"Refresh"},ColorPicker:{presetEmpty:"Empty"}}},9763:function(d,g,e){"use strict";var r=e(59301),i=e(41887),l=e(31724);const c=(f,s)=>{const h=r.useContext(i.Z),u=r.useMemo(()=>{var x;const p=s||l.Z[f],y=(x=h==null?void 0:h[f])!==null&&x!==void 0?x:{};return Object.assign(Object.assign({},typeof p=="function"?p():p),y||{})},[f,s,h]),a=r.useMemo(()=>{const x=h==null?void 0:h.locale;return h!=null&&h.exist&&!x?l.Z.locale:x},[h]);return[u,a]};g.Z=c},81863:function(d,g,e){"use strict";e.d(g,{Z:function(){return p}});var r=e(91735),i={locale:"zh_CN",today:"\u4ECA\u5929",now:"\u6B64\u523B",backToToday:"\u8FD4\u56DE\u4ECA\u5929",ok:"\u786E\u5B9A",timeSelect:"\u9009\u62E9\u65F6\u95F4",dateSelect:"\u9009\u62E9\u65E5\u671F",weekSelect:"\u9009\u62E9\u5468",clear:"\u6E05\u9664",month:"\u6708",year:"\u5E74",previousMonth:"\u4E0A\u4E2A\u6708 (\u7FFB\u9875\u4E0A\u952E)",nextMonth:"\u4E0B\u4E2A\u6708 (\u7FFB\u9875\u4E0B\u952E)",monthSelect:"\u9009\u62E9\u6708\u4EFD",yearSelect:"\u9009\u62E9\u5E74\u4EFD",decadeSelect:"\u9009\u62E9\u5E74\u4EE3",yearFormat:"YYYY\u5E74",dayFormat:"D\u65E5",dateFormat:"YYYY\u5E74M\u6708D\u65E5",dateTimeFormat:"YYYY\u5E74M\u6708D\u65E5 HH\u65F6mm\u5206ss\u79D2",previousYear:"\u4E0A\u4E00\u5E74 (Control\u952E\u52A0\u5DE6\u65B9\u5411\u952E)",nextYear:"\u4E0B\u4E00\u5E74 (Control\u952E\u52A0\u53F3\u65B9\u5411\u952E)",previousDecade:"\u4E0A\u4E00\u5E74\u4EE3",nextDecade:"\u4E0B\u4E00\u5E74\u4EE3",previousCentury:"\u4E0A\u4E00\u4E16\u7EAA",nextCentury:"\u4E0B\u4E00\u4E16\u7EAA"},l=i,f={placeholder:"\u8BF7\u9009\u62E9\u65F6\u95F4",rangePlaceholder:["\u5F00\u59CB\u65F6\u95F4","\u7ED3\u675F\u65F6\u95F4"]};const s={lang:Object.assign({placeholder:"\u8BF7\u9009\u62E9\u65E5\u671F",yearPlaceholder:"\u8BF7\u9009\u62E9\u5E74\u4EFD",quarterPlaceholder:"\u8BF7\u9009\u62E9\u5B63\u5EA6",monthPlaceholder:"\u8BF7\u9009\u62E9\u6708\u4EFD",weekPlaceholder:"\u8BF7\u9009\u62E9\u5468",rangePlaceholder:["\u5F00\u59CB\u65E5\u671F","\u7ED3\u675F\u65E5\u671F"],rangeYearPlaceholder:["\u5F00\u59CB\u5E74\u4EFD","\u7ED3\u675F\u5E74\u4EFD"],rangeMonthPlaceholder:["\u5F00\u59CB\u6708\u4EFD","\u7ED3\u675F\u6708\u4EFD"],rangeQuarterPlaceholder:["\u5F00\u59CB\u5B63\u5EA6","\u7ED3\u675F\u5B63\u5EA6"],rangeWeekPlaceholder:["\u5F00\u59CB\u5468","\u7ED3\u675F\u5468"]},l),timePickerLocale:Object.assign({},f)};s.lang.ok="\u786E\u5B9A";var h=s,u=h;const a="${label}\u4E0D\u662F\u4E00\u4E2A\u6709\u6548\u7684${type}";var p={locale:"zh-cn",Pagination:r.Z,DatePicker:h,TimePicker:f,Calendar:u,global:{placeholder:"\u8BF7\u9009\u62E9"},Table:{filterTitle:"\u7B5B\u9009",filterConfirm:"\u786E\u5B9A",filterReset:"\u91CD\u7F6E",filterEmptyText:"\u65E0\u7B5B\u9009\u9879",filterCheckall:"\u5168\u9009",filterSearchPlaceholder:"\u5728\u7B5B\u9009\u9879\u4E2D\u641C\u7D22",selectAll:"\u5168\u9009\u5F53\u9875",selectInvert:"\u53CD\u9009\u5F53\u9875",selectNone:"\u6E05\u7A7A\u6240\u6709",selectionAll:"\u5168\u9009\u6240\u6709",sortTitle:"\u6392\u5E8F",expand:"\u5C55\u5F00\u884C",collapse:"\u5173\u95ED\u884C",triggerDesc:"\u70B9\u51FB\u964D\u5E8F",triggerAsc:"\u70B9\u51FB\u5347\u5E8F",cancelSort:"\u53D6\u6D88\u6392\u5E8F"},Modal:{okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",justOkText:"\u77E5\u9053\u4E86"},Tour:{Next:"\u4E0B\u4E00\u6B65",Previous:"\u4E0A\u4E00\u6B65",Finish:"\u7ED3\u675F\u5BFC\u89C8"},Popconfirm:{cancelText:"\u53D6\u6D88",okText:"\u786E\u5B9A"},Transfer:{titles:["",""],searchPlaceholder:"\u8BF7\u8F93\u5165\u641C\u7D22\u5185\u5BB9",itemUnit:"\u9879",itemsUnit:"\u9879",remove:"\u5220\u9664",selectCurrent:"\u5168\u9009\u5F53\u9875",removeCurrent:"\u5220\u9664\u5F53\u9875",selectAll:"\u5168\u9009\u6240\u6709",removeAll:"\u5220\u9664\u5168\u90E8",selectInvert:"\u53CD\u9009\u5F53\u9875"},Upload:{uploading:"\u6587\u4EF6\u4E0A\u4F20\u4E2D",removeFile:"\u5220\u9664\u6587\u4EF6",uploadError:"\u4E0A\u4F20\u9519\u8BEF",previewFile:"\u9884\u89C8\u6587\u4EF6",downloadFile:"\u4E0B\u8F7D\u6587\u4EF6"},Empty:{description:"\u6682\u65E0\u6570\u636E"},Icon:{icon:"\u56FE\u6807"},Text:{edit:"\u7F16\u8F91",copy:"\u590D\u5236",copied:"\u590D\u5236\u6210\u529F",expand:"\u5C55\u5F00"},PageHeader:{back:"\u8FD4\u56DE"},Form:{optional:"\uFF08\u53EF\u9009\uFF09",defaultValidateMessages:{default:"\u5B57\u6BB5\u9A8C\u8BC1\u9519\u8BEF${label}",required:"\u8BF7\u8F93\u5165${label}",enum:"${label}\u5FC5\u987B\u662F\u5176\u4E2D\u4E00\u4E2A[${enum}]",whitespace:"${label}\u4E0D\u80FD\u4E3A\u7A7A\u5B57\u7B26",date:{format:"${label}\u65E5\u671F\u683C\u5F0F\u65E0\u6548",parse:"${label}\u4E0D\u80FD\u8F6C\u6362\u4E3A\u65E5\u671F",invalid:"${label}\u662F\u4E00\u4E2A\u65E0\u6548\u65E5\u671F"},types:{string:a,method:a,array:a,object:a,number:a,date:a,boolean:a,integer:a,float:a,regexp:a,email:a,url:a,hex:a},string:{len:"${label}\u987B\u4E3A${len}\u4E2A\u5B57\u7B26",min:"${label}\u6700\u5C11${min}\u4E2A\u5B57\u7B26",max:"${label}\u6700\u591A${max}\u4E2A\u5B57\u7B26",range:"${label}\u987B\u5728${min}-${max}\u5B57\u7B26\u4E4B\u95F4"},number:{len:"${label}\u5FC5\u987B\u7B49\u4E8E${len}",min:"${label}\u6700\u5C0F\u503C\u4E3A${min}",max:"${label}\u6700\u5927\u503C\u4E3A${max}",range:"${label}\u987B\u5728${min}-${max}\u4E4B\u95F4"},array:{len:"\u987B\u4E3A${len}\u4E2A${label}",min:"\u6700\u5C11${min}\u4E2A${label}",max:"\u6700\u591A${max}\u4E2A${label}",range:"${label}\u6570\u91CF\u987B\u5728${min}-${max}\u4E4B\u95F4"},pattern:{mismatch:"${label}\u4E0E\u6A21\u5F0F\u4E0D\u5339\u914D${pattern}"}}},Image:{preview:"\u9884\u89C8"},QRCode:{expired:"\u4E8C\u7EF4\u7801\u8FC7\u671F",refresh:"\u70B9\u51FB\u5237\u65B0"},ColorPicker:{presetEmpty:"\u6682\u65E0"}}},8591:function(d,g,e){"use strict";e.d(g,{ZP:function(){return yt}});var r=e(92393),i=e(59301),l=e(1585),c=e(92736),f=e(29679),s=e(19248),h=e(96512),u=e(78987),a=e(58617),x=e(92310),p=e.n(x),y=e(581),_=e(36355),b=e(93083),S=e(17313),R=e(83116),L=e(37613);const T=ht=>{const{componentCls:Je,iconCls:je,boxShadow:ge,colorText:Se,colorSuccess:Me,colorError:Ne,colorWarning:He,colorInfo:nt,fontSizeLG:ct,motionEaseInOutCirc:Vt,motionDurationSlow:Wt,marginXS:Ie,paddingXS:qe,borderRadiusLG:Gt,zIndexPopup:kt,contentPadding:Zt,contentBg:Nt}=ht,Ct=`${Je}-notice`,Yt=new b.Keyframes("MessageMoveIn",{"0%":{padding:0,transform:"translateY(-100%)",opacity:0},"100%":{padding:qe,transform:"translateY(0)",opacity:1}}),We=new b.Keyframes("MessageMoveOut",{"0%":{maxHeight:ht.height,padding:qe,opacity:1},"100%":{maxHeight:0,padding:0,opacity:0}}),fe={padding:qe,textAlign:"center",[`${Je}-custom-content > ${je}`]:{verticalAlign:"text-bottom",marginInlineEnd:Ie,fontSize:ct},[`${Ct}-content`]:{display:"inline-block",padding:Zt,background:Nt,borderRadius:Gt,boxShadow:ge,pointerEvents:"all"},[`${Je}-success > ${je}`]:{color:Me},[`${Je}-error > ${je}`]:{color:Ne},[`${Je}-warning > ${je}`]:{color:He},[`${Je}-info > ${je},
${Je}-loading > ${je}`]:{color:nt}};return[{[Je]:Object.assign(Object.assign({},(0,S.Wf)(ht)),{color:Se,position:"fixed",top:Ie,width:"100%",pointerEvents:"none",zIndex:kt,[`${Je}-move-up`]:{animationFillMode:"forwards"},[`
${Je}-move-up-appear,
${Je}-move-up-enter
`]:{animationName:Yt,animationDuration:Wt,animationPlayState:"paused",animationTimingFunction:Vt},[`
${Je}-move-up-appear${Je}-move-up-appear-active,
${Je}-move-up-enter${Je}-move-up-enter-active
`]:{animationPlayState:"running"},[`${Je}-move-up-leave`]:{animationName:We,animationDuration:Wt,animationPlayState:"paused",animationTimingFunction:Vt},[`${Je}-move-up-leave${Je}-move-up-leave-active`]:{animationPlayState:"running"},"&-rtl":{direction:"rtl",span:{direction:"rtl"}}})},{[Je]:{[Ct]:Object.assign({},fe)}},{[`${Je}-notice-pure-panel`]:Object.assign(Object.assign({},fe),{padding:0,textAlign:"start"})}]};var D=(0,R.Z)("Message",ht=>{const Je=(0,L.TS)(ht,{height:150});return[T(Je)]},ht=>({zIndexPopup:ht.zIndexPopupBase+10,contentBg:ht.colorBgElevated,contentPadding:`${(ht.controlHeightLG-ht.fontSize*ht.lineHeight)/2}px ${ht.paddingSM}px`})),M=function(ht,Je){var je={};for(var ge in ht)Object.prototype.hasOwnProperty.call(ht,ge)&&Je.indexOf(ge)<0&&(je[ge]=ht[ge]);if(ht!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Se=0,ge=Object.getOwnPropertySymbols(ht);Se<ge.length;Se++)Je.indexOf(ge[Se])<0&&Object.prototype.propertyIsEnumerable.call(ht,ge[Se])&&(je[ge[Se]]=ht[ge[Se]]);return je};const N={info:i.createElement(u.Z,null),success:i.createElement(f.Z,null),error:i.createElement(s.Z,null),warning:i.createElement(h.Z,null),loading:i.createElement(a.Z,null)},j=ht=>{let{prefixCls:Je,type:je,icon:ge,children:Se}=ht;return i.createElement("div",{className:p()(`${Je}-custom-content`,`${Je}-${je}`)},ge||N[je],i.createElement("span",null,Se))};var X=ht=>{const{prefixCls:Je,className:je,type:ge,icon:Se,content:Me}=ht,Ne=M(ht,["prefixCls","className","type","icon","content"]),{getPrefixCls:He}=i.useContext(_.E_),nt=Je||He("message"),[,ct]=D(nt);return i.createElement(y.qX,Object.assign({},Ne,{prefixCls:nt,className:p()(je,ct,`${nt}-notice-pure-panel`),eventKey:"pure",duration:null,content:i.createElement(j,{prefixCls:nt,type:ge,icon:Se},Me)}))},Y=e(99267);function oe(ht,Je){return{motionName:Je!=null?Je:`${ht}-move-up`}}function ie(ht){let Je;const je=new Promise(Se=>{Je=ht(()=>{Se(!0)})}),ge=()=>{Je==null||Je()};return ge.then=(Se,Me)=>je.then(Se,Me),ge.promise=je,ge}var ue=function(ht,Je){var je={};for(var ge in ht)Object.prototype.hasOwnProperty.call(ht,ge)&&Je.indexOf(ge)<0&&(je[ge]=ht[ge]);if(ht!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Se=0,ge=Object.getOwnPropertySymbols(ht);Se<ge.length;Se++)Je.indexOf(ge[Se])<0&&Object.prototype.propertyIsEnumerable.call(ht,ge[Se])&&(je[ge[Se]]=ht[ge[Se]]);return je};const K=8,V=3,G=ht=>{let{children:Je,prefixCls:je}=ht;const[,ge]=D(je);return i.createElement(y.JB,{classNames:{list:ge,notice:ge}},Je)},te=(ht,Je)=>{let{prefixCls:je,key:ge}=Je;return i.createElement(G,{prefixCls:je,key:ge},ht)},q=i.forwardRef((ht,Je)=>{const{top:je,prefixCls:ge,getContainer:Se,maxCount:Me,duration:Ne=V,rtl:He,transitionName:nt,onAllRemoved:ct}=ht,{getPrefixCls:Vt,getPopupContainer:Wt,message:Ie}=i.useContext(_.E_),qe=ge||Vt("message"),Gt=()=>({left:"50%",transform:"translateX(-50%)",top:je!=null?je:K}),kt=()=>p()({[`${qe}-rtl`]:He}),Zt=()=>oe(qe,nt),Nt=i.createElement("span",{className:`${qe}-close-x`},i.createElement(Y.Z,{className:`${qe}-close-icon`})),[Ct,Yt]=(0,y.lm)({prefixCls:qe,style:Gt,className:kt,motion:Zt,closable:!1,closeIcon:Nt,duration:Ne,getContainer:()=>(Se==null?void 0:Se())||(Wt==null?void 0:Wt())||document.body,maxCount:Me,onAllRemoved:ct,renderNotifications:te});return i.useImperativeHandle(Je,()=>Object.assign(Object.assign({},Ct),{prefixCls:qe,message:Ie})),Yt});let J=0;function le(ht){const Je=i.useRef(null);return[i.useMemo(()=>{const ge=nt=>{var ct;(ct=Je.current)===null||ct===void 0||ct.close(nt)},Se=nt=>{if(!Je.current){const pe=()=>{};return pe.then=()=>{},pe}const{open:ct,prefixCls:Vt,message:Wt}=Je.current,Ie=`${Vt}-notice`,{content:qe,icon:Gt,type:kt,key:Zt,className:Nt,style:Ct,onClose:Yt}=nt,We=ue(nt,["content","icon","type","key","className","style","onClose"]);let fe=Zt;return fe==null&&(J+=1,fe=`antd-message-${J}`),ie(pe=>(ct(Object.assign(Object.assign({},We),{key:fe,content:i.createElement(j,{prefixCls:Vt,type:kt,icon:Gt},qe),placement:"top",className:p()(kt&&`${Ie}-${kt}`,Nt,Wt==null?void 0:Wt.className),style:Object.assign(Object.assign({},Wt==null?void 0:Wt.style),Ct),onClose:()=>{Yt==null||Yt(),pe()}})),()=>{ge(fe)}))},Ne={open:Se,destroy:nt=>{var ct;nt!==void 0?ge(nt):(ct=Je.current)===null||ct===void 0||ct.destroy()}};return["info","success","warning","error","loading"].forEach(nt=>{const ct=(Vt,Wt,Ie)=>{let qe;Vt&&typeof Vt=="object"&&"content"in Vt?qe=Vt:qe={content:Vt};let Gt,kt;typeof Wt=="function"?kt=Wt:(Gt=Wt,kt=Ie);const Zt=Object.assign(Object.assign({onClose:kt,duration:Gt},qe),{type:nt});return Se(Zt)};Ne[nt]=ct}),Ne},[]),i.createElement(q,Object.assign({key:"message-holder"},ht,{ref:Je}))]}function z(ht){return le(ht)}let F=null,se=ht=>ht(),_e=[],Pe={};function Re(){const{prefixCls:ht,getContainer:Je,duration:je,rtl:ge,maxCount:Se,top:Me}=Pe,Ne=ht!=null?ht:(0,c.w6)().getPrefixCls("message"),He=(Je==null?void 0:Je())||document.body;return{prefixCls:Ne,getContainer:()=>He,duration:je,rtl:ge,maxCount:Se,top:Me}}const Ze=i.forwardRef((ht,Je)=>{const[je,ge]=i.useState(Re),[Se,Me]=le(je),Ne=(0,c.w6)(),He=Ne.getRootPrefixCls(),nt=Ne.getIconPrefixCls(),ct=Ne.getTheme(),Vt=()=>{ge(Re)};return i.useEffect(Vt,[]),i.useImperativeHandle(Je,()=>{const Wt=Object.assign({},Se);return Object.keys(Wt).forEach(Ie=>{Wt[Ie]=function(){return Vt(),Se[Ie].apply(Se,arguments)}}),{instance:Wt,sync:Vt}}),i.createElement(c.ZP,{prefixCls:He,iconPrefixCls:nt,theme:ct},Me)});function $e(){if(!F){const ht=document.createDocumentFragment(),Je={fragment:ht};F=Je,se(()=>{(0,l.s)(i.createElement(Ze,{ref:je=>{const{instance:ge,sync:Se}=je||{};Promise.resolve().then(()=>{!Je.instance&&ge&&(Je.instance=ge,Je.sync=Se,$e())})}}),ht)});return}F.instance&&(_e.forEach(ht=>{const{type:Je,skipped:je}=ht;if(!je)switch(Je){case"open":{se(()=>{const ge=F.instance.open(Object.assign(Object.assign({},Pe),ht.config));ge==null||ge.then(ht.resolve),ht.setCloseFn(ge)});break}case"destroy":se(()=>{F==null||F.instance.destroy(ht.key)});break;default:se(()=>{var ge;const Se=(ge=F.instance)[Je].apply(ge,(0,r.Z)(ht.args));Se==null||Se.then(ht.resolve),ht.setCloseFn(Se)})}}),_e=[])}function Ht(ht){Pe=Object.assign(Object.assign({},Pe),ht),se(()=>{var Je;(Je=F==null?void 0:F.sync)===null||Je===void 0||Je.call(F)})}function bt(ht){const Je=ie(je=>{let ge;const Se={type:"open",config:ht,resolve:je,setCloseFn:Me=>{ge=Me}};return _e.push(Se),()=>{ge?se(()=>{ge()}):Se.skipped=!0}});return $e(),Je}function Ot(ht,Je){const je=ie(ge=>{let Se;const Me={type:ht,args:Je,resolve:ge,setCloseFn:Ne=>{Se=Ne}};return _e.push(Me),()=>{Se?se(()=>{Se()}):Me.skipped=!0}});return $e(),je}function qt(ht){_e.push({type:"destroy",key:ht}),$e()}const er=["success","info","warning","error","loading"],Xe={open:bt,destroy:qt,config:Ht,useMessage:z,_InternalPanelDoNotUseOrYouWillBeFired:X};er.forEach(ht=>{Xe[ht]=function(){for(var Je=arguments.length,je=new Array(Je),ge=0;ge<Je;ge++)je[ge]=arguments[ge];return Ot(ht,je)}});const Pt=()=>{};let Ut=null,st=null;var yt=Xe},43418:function(d,g,e){"use strict";e.d(g,{default:function(){return dt}});var r=e(92393),i=e(1585),l=e(59301),c=e(92736),f=e(29679),s=e(19248),h=e(96512),u=e(78987),a=e(92310),x=e.n(a),p=e(62892),y=e(9763),_=e(92806);const b=l.createContext({}),{Provider:S}=b;var L=()=>{const{autoFocusButton:zt,cancelButtonProps:Tt,cancelTextLocale:Oe,isSilent:St,mergedOkCancel:be,rootPrefixCls:Ke,close:vt,onCancel:Rt,onConfirm:Fe}=(0,l.useContext)(b);return be?l.createElement(_.Z,{isSilent:St,actionFn:Rt,close:function(){vt==null||vt.apply(void 0,arguments),Fe==null||Fe(!1)},autoFocus:zt==="cancel",buttonProps:Tt,prefixCls:`${Ke}-btn`},Oe):null},D=()=>{const{autoFocusButton:zt,close:Tt,isSilent:Oe,okButtonProps:St,rootPrefixCls:be,okTextLocale:Ke,okType:vt,onConfirm:Rt,onOk:Fe}=(0,l.useContext)(b);return l.createElement(_.Z,{isSilent:Oe,type:vt||"primary",actionFn:Fe,close:function(){Tt==null||Tt.apply(void 0,arguments),Rt==null||Rt(!0)},autoFocus:zt==="ok",buttonProps:St,prefixCls:`${be}-btn`},Ke)},M=e(99267),N=e(86923),j=e(47729),Q=e(47273);const X=()=>(0,Q.Z)()&&window.document.documentElement;var Y=e(36355),oe=e(32441),ie=e(33234),ue=e(11575),K=e(1684),V=e(3113),te=()=>{const{cancelButtonProps:zt,cancelTextLocale:Tt,onCancel:Oe}=(0,l.useContext)(b);return l.createElement(V.ZP,Object.assign({onClick:Oe},zt),Tt)},q=e(67797),le=()=>{const{confirmLoading:zt,okButtonProps:Tt,okType:Oe,okTextLocale:St,onOk:be}=(0,l.useContext)(b);return l.createElement(V.ZP,Object.assign({},(0,q.n)(Oe),{loading:zt,onClick:be},Tt),St)},z=e(98044);function F(zt,Tt){return l.createElement("span",{className:`${zt}-close-x`},Tt||l.createElement(M.Z,{className:`${zt}-close-icon`}))}const se=zt=>{const{okText:Tt,okType:Oe="primary",cancelText:St,confirmLoading:be,onOk:Ke,onCancel:vt,okButtonProps:Rt,cancelButtonProps:Fe,footer:kr}=zt,[At]=(0,y.Z)("Modal",(0,z.A)()),Kr=Tt||(At==null?void 0:At.okText),qr=St||(At==null?void 0:At.cancelText),Ar={confirmLoading:be,okButtonProps:Rt,cancelButtonProps:Fe,okTextLocale:Kr,cancelTextLocale:qr,okType:Oe,onOk:Ke,onCancel:vt},Br=l.useMemo(()=>Ar,(0,r.Z)(Object.values(Ar)));let _r;return typeof kr=="function"||typeof kr=="undefined"?(_r=l.createElement(S,{value:Br},l.createElement(te,null),l.createElement(le,null)),typeof kr=="function"&&(_r=kr(_r,{OkBtn:le,CancelBtn:te}))):_r=kr,l.createElement(K.n,{disabled:!1},_r)};var _e=e(73819),Pe=function(zt,Tt){var Oe={};for(var St in zt)Object.prototype.hasOwnProperty.call(zt,St)&&Tt.indexOf(St)<0&&(Oe[St]=zt[St]);if(zt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var be=0,St=Object.getOwnPropertySymbols(zt);be<St.length;be++)Tt.indexOf(St[be])<0&&Object.prototype.propertyIsEnumerable.call(zt,St[be])&&(Oe[St[be]]=zt[St[be]]);return Oe};let Re;const Ze=zt=>{Re={x:zt.pageX,y:zt.pageY},setTimeout(()=>{Re=null},100)};X()&&document.documentElement.addEventListener("click",Ze,!0);var Ht=zt=>{var Tt;const{getPopupContainer:Oe,getPrefixCls:St,direction:be,modal:Ke}=l.useContext(Y.E_),vt=hn=>{const{onCancel:Fn}=zt;Fn==null||Fn(hn)},Rt=hn=>{const{onOk:Fn}=zt;Fn==null||Fn(hn)},{prefixCls:Fe,className:kr,rootClassName:At,open:Kr,wrapClassName:qr,centered:Ar,getContainer:Br,closeIcon:_r,closable:Ur,focusTriggerAfterClose:sn=!0,style:cn,visible:or,width:Lt=520,footer:mt}=zt,gt=Pe(zt,["prefixCls","className","rootClassName","open","wrapClassName","centered","getContainer","closeIcon","closable","focusTriggerAfterClose","style","visible","width","footer"]),$t=St("modal",Fe),Cr=St(),[gr,ot]=(0,_e.ZP)($t),Mr=x()(qr,{[`${$t}-centered`]:!!Ar,[`${$t}-wrap-rtl`]:be==="rtl"}),yn=mt!==null&&l.createElement(se,Object.assign({},zt,{onOk:Rt,onCancel:vt})),[Zn,mr]=(0,j.Z)(Ur,_r,hn=>F($t,hn),l.createElement(M.Z,{className:`${$t}-close-icon`}),!0),tn=(0,ue.H)(`.${$t}-content`);return gr(l.createElement(ie.BR,null,l.createElement(oe.Ux,{status:!0,override:!0},l.createElement(N.Z,Object.assign({width:Lt},gt,{getContainer:Br===void 0?Oe:Br,prefixCls:$t,rootClassName:x()(ot,At),wrapClassName:Mr,footer:yn,visible:Kr!=null?Kr:or,mousePosition:(Tt=gt.mousePosition)!==null&&Tt!==void 0?Tt:Re,onClose:vt,closable:Zn,closeIcon:mr,focusTriggerAfterClose:sn,transitionName:(0,p.m)(Cr,"zoom",zt.transitionName),maskTransitionName:(0,p.m)(Cr,"fade",zt.maskTransitionName),className:x()(ot,kr,Ke==null?void 0:Ke.className),style:Object.assign(Object.assign({},Ke==null?void 0:Ke.style),cn),panelRef:tn})))))},bt=e(17313),Ot=e(83116);const qt=zt=>{const{componentCls:Tt,titleFontSize:Oe,titleLineHeight:St,modalConfirmIconSize:be,fontSize:Ke,lineHeight:vt}=zt,Rt=`${Tt}-confirm`,Fe=Math.round(Oe*St),kr=Math.round(Ke*vt);return{[Rt]:{"&-rtl":{direction:"rtl"},[`${zt.antCls}-modal-header`]:{display:"none"},[`${Rt}-body-wrapper`]:Object.assign({},(0,bt.dF)()),[`${Rt}-body`]:{display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${zt.iconCls}`]:{flex:"none",fontSize:be,marginInlineEnd:zt.marginSM,marginTop:(kr-be)/2},[`&-has-title > ${zt.iconCls}`]:{marginTop:(Fe-be)/2}},[`${Rt}-paragraph`]:{display:"flex",flexDirection:"column",flex:"auto",rowGap:zt.marginXS},[`${Rt}-title`]:{color:zt.colorTextHeading,fontWeight:zt.fontWeightStrong,fontSize:Oe,lineHeight:St},[`${Rt}-content`]:{color:zt.colorText,fontSize:Ke,lineHeight:vt},[`${Rt}-btns`]:{textAlign:"end",marginTop:zt.marginSM,[`${zt.antCls}-btn + ${zt.antCls}-btn`]:{marginBottom:0,marginInlineStart:zt.marginXS}}},[`${Rt}-error ${Rt}-body > ${zt.iconCls}`]:{color:zt.colorError},[`${Rt}-warning ${Rt}-body > ${zt.iconCls},
${Rt}-confirm ${Rt}-body > ${zt.iconCls}`]:{color:zt.colorWarning},[`${Rt}-info ${Rt}-body > ${zt.iconCls}`]:{color:zt.colorInfo},[`${Rt}-success ${Rt}-body > ${zt.iconCls}`]:{color:zt.colorSuccess}}};var er=(0,Ot.b)(["Modal","confirm"],zt=>{const Tt=(0,_e.B4)(zt);return[qt(Tt)]},_e.eh,{order:-1e3}),Jt=function(zt,Tt){var Oe={};for(var St in zt)Object.prototype.hasOwnProperty.call(zt,St)&&Tt.indexOf(St)<0&&(Oe[St]=zt[St]);if(zt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var be=0,St=Object.getOwnPropertySymbols(zt);be<St.length;be++)Tt.indexOf(St[be])<0&&Object.prototype.propertyIsEnumerable.call(zt,St[be])&&(Oe[St[be]]=zt[St[be]]);return Oe};function Xe(zt){const{prefixCls:Tt,icon:Oe,okText:St,cancelText:be,confirmPrefixCls:Ke,type:vt,okCancel:Rt,footer:Fe,locale:kr}=zt,At=Jt(zt,["prefixCls","icon","okText","cancelText","confirmPrefixCls","type","okCancel","footer","locale"]);let Kr=Oe;if(!Oe&&Oe!==null)switch(vt){case"info":Kr=l.createElement(u.Z,null);break;case"success":Kr=l.createElement(f.Z,null);break;case"error":Kr=l.createElement(s.Z,null);break;default:Kr=l.createElement(h.Z,null)}const qr=Rt!=null?Rt:vt==="confirm",Ar=zt.autoFocusButton===null?!1:zt.autoFocusButton||"ok",[Br]=(0,y.Z)("Modal"),_r=kr||Br,Ur=St||(qr?_r==null?void 0:_r.okText:_r==null?void 0:_r.justOkText),sn=be||(_r==null?void 0:_r.cancelText),cn=Object.assign({autoFocusButton:Ar,cancelTextLocale:sn,okTextLocale:Ur,mergedOkCancel:qr},At),or=l.useMemo(()=>cn,(0,r.Z)(Object.values(cn))),Lt=l.createElement(l.Fragment,null,l.createElement(L,null),l.createElement(D,null)),mt=zt.title!==void 0&&zt.title!==null,gt=`${Ke}-body`;return l.createElement("div",{className:`${Ke}-body-wrapper`},l.createElement("div",{className:x()(gt,{[`${gt}-has-title`]:mt})},Kr,l.createElement("div",{className:`${Ke}-paragraph`},mt&&l.createElement("span",{className:`${Ke}-title`},zt.title),l.createElement("div",{className:`${Ke}-content`},zt.content))),Fe===void 0||typeof Fe=="function"?l.createElement(S,{value:or},l.createElement("div",{className:`${Ke}-btns`},typeof Fe=="function"?Fe(Lt,{OkBtn:D,CancelBtn:L}):Lt)):Fe,l.createElement(er,{prefixCls:Tt}))}var Ut=zt=>{const{close:Tt,zIndex:Oe,afterClose:St,visible:be,open:Ke,keyboard:vt,centered:Rt,getContainer:Fe,maskStyle:kr,direction:At,prefixCls:Kr,wrapClassName:qr,rootPrefixCls:Ar,iconPrefixCls:Br,theme:_r,bodyStyle:Ur,closable:sn=!1,closeIcon:cn,modalRender:or,focusTriggerAfterClose:Lt,onConfirm:mt}=zt,gt=`${Kr}-confirm`,$t=zt.width||416,Cr=zt.style||{},gr=zt.mask===void 0?!0:zt.mask,ot=zt.maskClosable===void 0?!1:zt.maskClosable,Mr=x()(gt,`${gt}-${zt.type}`,{[`${gt}-rtl`]:At==="rtl"},zt.className);return l.createElement(c.ZP,{prefixCls:Ar,iconPrefixCls:Br,direction:At,theme:_r},l.createElement(Ht,{prefixCls:Kr,className:Mr,wrapClassName:x()({[`${gt}-centered`]:!!zt.centered},qr),onCancel:()=>{Tt==null||Tt({triggerCancel:!0}),mt==null||mt(!1)},open:Ke,title:"",footer:null,transitionName:(0,p.m)(Ar||"","zoom",zt.transitionName),maskTransitionName:(0,p.m)(Ar||"","fade",zt.maskTransitionName),mask:gr,maskClosable:ot,maskStyle:kr,style:Cr,bodyStyle:Ur,width:$t,zIndex:Oe,afterClose:St,keyboard:vt,centered:Rt,getContainer:Fe,closable:sn,closeIcon:cn,modalRender:or,focusTriggerAfterClose:Lt},l.createElement(Xe,Object.assign({},zt,{confirmPrefixCls:gt}))))},yt=[],ht=function(zt,Tt){var Oe={};for(var St in zt)Object.prototype.hasOwnProperty.call(zt,St)&&Tt.indexOf(St)<0&&(Oe[St]=zt[St]);if(zt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var be=0,St=Object.getOwnPropertySymbols(zt);be<St.length;be++)Tt.indexOf(St[be])<0&&Object.prototype.propertyIsEnumerable.call(zt,St[be])&&(Oe[St[be]]=zt[St[be]]);return Oe};let Je="";function je(){return Je}function ge(zt){const Tt=document.createDocumentFragment();let Oe=Object.assign(Object.assign({},zt),{close:vt,open:!0}),St;function be(){for(var Fe=arguments.length,kr=new Array(Fe),At=0;At<Fe;At++)kr[At]=arguments[At];const Kr=kr.some(qr=>qr&&qr.triggerCancel);zt.onCancel&&Kr&&zt.onCancel.apply(zt,[()=>{}].concat((0,r.Z)(kr.slice(1))));for(let qr=0;qr<yt.length;qr++)if(yt[qr]===vt){yt.splice(qr,1);break}(0,i.v)(Tt)}function Ke(Fe){var{okText:kr,cancelText:At,prefixCls:Kr,getContainer:qr}=Fe,Ar=ht(Fe,["okText","cancelText","prefixCls","getContainer"]);clearTimeout(St),St=setTimeout(()=>{const Br=(0,z.A)(),{getPrefixCls:_r,getIconPrefixCls:Ur,getTheme:sn}=(0,c.w6)(),cn=_r(void 0,je()),or=Kr||`${cn}-modal`,Lt=Ur(),mt=sn();let gt=qr;gt===!1&&(gt=void 0),(0,i.s)(l.createElement(Ut,Object.assign({},Ar,{getContainer:gt,prefixCls:or,rootPrefixCls:cn,iconPrefixCls:Lt,okText:kr,locale:Br,theme:mt,cancelText:At||Br.cancelText})),Tt)})}function vt(){for(var Fe=arguments.length,kr=new Array(Fe),At=0;At<Fe;At++)kr[At]=arguments[At];Oe=Object.assign(Object.assign({},Oe),{open:!1,afterClose:()=>{typeof zt.afterClose=="function"&&zt.afterClose(),be.apply(this,kr)}}),Oe.visible&&delete Oe.visible,Ke(Oe)}function Rt(Fe){typeof Fe=="function"?Oe=Fe(Oe):Oe=Object.assign(Object.assign({},Oe),Fe),Ke(Oe)}return Ke(Oe),yt.push(vt),{destroy:vt,update:Rt}}function Se(zt){return Object.assign(Object.assign({},zt),{type:"warning"})}function Me(zt){return Object.assign(Object.assign({},zt),{type:"info"})}function Ne(zt){return Object.assign(Object.assign({},zt),{type:"success"})}function He(zt){return Object.assign(Object.assign({},zt),{type:"error"})}function nt(zt){return Object.assign(Object.assign({},zt),{type:"confirm"})}function ct(zt){let{rootPrefixCls:Tt}=zt;Je=Tt}var Vt=e(53487),Wt=function(zt,Tt){var Oe={};for(var St in zt)Object.prototype.hasOwnProperty.call(zt,St)&&Tt.indexOf(St)<0&&(Oe[St]=zt[St]);if(zt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var be=0,St=Object.getOwnPropertySymbols(zt);be<St.length;be++)Tt.indexOf(St[be])<0&&Object.prototype.propertyIsEnumerable.call(zt,St[be])&&(Oe[St[be]]=zt[St[be]]);return Oe};const Ie=zt=>{const{prefixCls:Tt,className:Oe,closeIcon:St,closable:be,type:Ke,title:vt,children:Rt}=zt,Fe=Wt(zt,["prefixCls","className","closeIcon","closable","type","title","children"]),{getPrefixCls:kr}=l.useContext(Y.E_),At=kr(),Kr=Tt||kr("modal"),[,qr]=(0,_e.ZP)(Kr),Ar=`${Kr}-confirm`;let Br={};return Ke?Br={closable:be!=null?be:!1,title:"",footer:"",children:l.createElement(Xe,Object.assign({},zt,{prefixCls:Kr,confirmPrefixCls:Ar,rootPrefixCls:At,content:Rt}))}:Br={closable:be!=null?be:!0,title:vt,footer:zt.footer===void 0?l.createElement(se,Object.assign({},zt)):zt.footer,children:Rt},l.createElement(N.s,Object.assign({prefixCls:Kr,className:x()(qr,`${Kr}-pure-panel`,Ke&&Ar,Ke&&`${Ar}-${Ke}`,Oe)},Fe,{closeIcon:F(Kr,St),closable:be},Br))};var qe=(0,Vt.i)(Ie);function Gt(){const[zt,Tt]=l.useState([]),Oe=l.useCallback(St=>(Tt(be=>[].concat((0,r.Z)(be),[St])),()=>{Tt(be=>be.filter(Ke=>Ke!==St))}),[]);return[zt,Oe]}var kt=e(31724),Zt=function(zt,Tt){var Oe={};for(var St in zt)Object.prototype.hasOwnProperty.call(zt,St)&&Tt.indexOf(St)<0&&(Oe[St]=zt[St]);if(zt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var be=0,St=Object.getOwnPropertySymbols(zt);be<St.length;be++)Tt.indexOf(St[be])<0&&Object.prototype.propertyIsEnumerable.call(zt,St[be])&&(Oe[St[be]]=zt[St[be]]);return Oe};const Nt=(zt,Tt)=>{var Oe,{afterClose:St,config:be}=zt,Ke=Zt(zt,["afterClose","config"]);const[vt,Rt]=l.useState(!0),[Fe,kr]=l.useState(be),{direction:At,getPrefixCls:Kr}=l.useContext(Y.E_),qr=Kr("modal"),Ar=Kr(),Br=()=>{var cn;St(),(cn=Fe.afterClose)===null||cn===void 0||cn.call(Fe)},_r=function(){Rt(!1);for(var cn=arguments.length,or=new Array(cn),Lt=0;Lt<cn;Lt++)or[Lt]=arguments[Lt];const mt=or.some(gt=>gt&&gt.triggerCancel);Fe.onCancel&&mt&&Fe.onCancel.apply(Fe,[()=>{}].concat((0,r.Z)(or.slice(1))))};l.useImperativeHandle(Tt,()=>({destroy:_r,update:cn=>{kr(or=>Object.assign(Object.assign({},or),cn))}}));const Ur=(Oe=Fe.okCancel)!==null&&Oe!==void 0?Oe:Fe.type==="confirm",[sn]=(0,y.Z)("Modal",kt.Z.Modal);return l.createElement(Ut,Object.assign({prefixCls:qr,rootPrefixCls:Ar},Fe,{close:_r,open:vt,afterClose:Br,okText:Fe.okText||(Ur?sn==null?void 0:sn.okText:sn==null?void 0:sn.justOkText),direction:Fe.direction||At,cancelText:Fe.cancelText||(sn==null?void 0:sn.cancelText)},Ke))};var Ct=l.forwardRef(Nt);let Yt=0;const We=l.memo(l.forwardRef((zt,Tt)=>{const[Oe,St]=Gt();return l.useImperativeHandle(Tt,()=>({patchElement:St}),[]),l.createElement(l.Fragment,null,Oe)}));function fe(){const zt=l.useRef(null),[Tt,Oe]=l.useState([]);l.useEffect(()=>{Tt.length&&((0,r.Z)(Tt).forEach(vt=>{vt()}),Oe([]))},[Tt]);const St=l.useCallback(Ke=>function(Rt){var Fe;Yt+=1;const kr=l.createRef();let At;const Kr=new Promise(Ur=>{At=Ur});let qr=!1,Ar;const Br=l.createElement(Ct,{key:`modal-${Yt}`,config:Ke(Rt),ref:kr,afterClose:()=>{Ar==null||Ar()},isSilent:()=>qr,onConfirm:Ur=>{At(Ur)}});return Ar=(Fe=zt.current)===null||Fe===void 0?void 0:Fe.patchElement(Br),Ar&&yt.push(Ar),{destroy:()=>{function Ur(){var sn;(sn=kr.current)===null||sn===void 0||sn.destroy()}kr.current?Ur():Oe(sn=>[].concat((0,r.Z)(sn),[Ur]))},update:Ur=>{function sn(){var cn;(cn=kr.current)===null||cn===void 0||cn.update(Ur)}kr.current?sn():Oe(cn=>[].concat((0,r.Z)(cn),[sn]))},then:Ur=>(qr=!0,Kr.then(Ur))}},[]);return[l.useMemo(()=>({info:St(Me),success:St(Ne),error:St(He),warning:St(Se),confirm:St(nt)}),[]),l.createElement(We,{key:"modal-holder",ref:zt})]}var pe=fe;function Dt(zt){return ge(Se(zt))}const Ce=Ht;Ce.useModal=pe,Ce.info=function(Tt){return ge(Me(Tt))},Ce.success=function(Tt){return ge(Ne(Tt))},Ce.error=function(Tt){return ge(He(Tt))},Ce.warning=Dt,Ce.warn=Dt,Ce.confirm=function(Tt){return ge(nt(Tt))},Ce.destroyAll=function(){for(;yt.length;){const Tt=yt.pop();Tt&&Tt()}},Ce.config=ct,Ce._InternalPanelDoNotUseOrYouWillBeFired=qe;var dt=Ce},98044:function(d,g,e){"use strict";e.d(g,{A:function(){return s},f:function(){return f}});var r=e(31724);let i=Object.assign({},r.Z.Modal),l=[];const c=()=>l.reduce((h,u)=>Object.assign(Object.assign({},h),u),r.Z.Modal);function f(h){if(h){const u=Object.assign({},h);return l.push(u),i=c(),()=>{l=l.filter(a=>a!==u),i=c()}}i=Object.assign({},r.Z.Modal)}function s(){return i}},73819:function(d,g,e){"use strict";e.d(g,{B4:function(){return p},QA:function(){return h},eh:function(){return y}});var r=e(17313),i=e(1950),l=e(29878),c=e(37613),f=e(83116);function s(_){return{position:_,inset:0}}const h=_=>{const{componentCls:b,antCls:S}=_;return[{[`${b}-root`]:{[`${b}${S}-zoom-enter, ${b}${S}-zoom-appear`]:{transform:"none",opacity:0,animationDuration:_.motionDurationSlow,userSelect:"none"},[`${b}${S}-zoom-leave ${b}-content`]:{pointerEvents:"none"},[`${b}-mask`]:Object.assign(Object.assign({},s("fixed")),{zIndex:_.zIndexPopupBase,height:"100%",backgroundColor:_.colorBgMask,pointerEvents:"none",[`${b}-hidden`]:{display:"none"}}),[`${b}-wrap`]:Object.assign(Object.assign({},s("fixed")),{zIndex:_.zIndexPopupBase,overflow:"auto",outline:0,WebkitOverflowScrolling:"touch",[`&:has(${b}${S}-zoom-enter), &:has(${b}${S}-zoom-appear)`]:{pointerEvents:"none"}})}},{[`${b}-root`]:(0,i.J$)(_)}]},u=_=>{const{componentCls:b}=_;return[{[`${b}-root`]:{[`${b}-wrap-rtl`]:{direction:"rtl"},[`${b}-centered`]:{textAlign:"center","&::before":{display:"inline-block",width:0,height:"100%",verticalAlign:"middle",content:'""'},[b]:{top:0,display:"inline-block",paddingBottom:0,textAlign:"start",verticalAlign:"middle"}},[`@media (max-width: ${_.screenSMMax})`]:{[b]:{maxWidth:"calc(100vw - 16px)",margin:`${_.marginXS} auto`},[`${b}-centered`]:{[b]:{flex:1}}}}},{[b]:Object.assign(Object.assign({},(0,r.Wf)(_)),{pointerEvents:"none",position:"relative",top:100,width:"auto",maxWidth:`calc(100vw - ${_.margin*2}px)`,margin:"0 auto",paddingBottom:_.paddingLG,[`${b}-title`]:{margin:0,color:_.titleColor,fontWeight:_.fontWeightStrong,fontSize:_.titleFontSize,lineHeight:_.titleLineHeight,wordWrap:"break-word"},[`${b}-content`]:{position:"relative",backgroundColor:_.contentBg,backgroundClip:"padding-box",border:0,borderRadius:_.borderRadiusLG,boxShadow:_.boxShadow,pointerEvents:"auto",padding:`${_.paddingMD}px ${_.paddingContentHorizontalLG}px`},[`${b}-close`]:Object.assign({position:"absolute",top:(_.modalHeaderHeight-_.modalCloseBtnSize)/2,insetInlineEnd:(_.modalHeaderHeight-_.modalCloseBtnSize)/2,zIndex:_.zIndexPopupBase+10,padding:0,color:_.modalCloseIconColor,fontWeight:_.fontWeightStrong,lineHeight:1,textDecoration:"none",background:"transparent",borderRadius:_.borderRadiusSM,width:_.modalCloseBtnSize,height:_.modalCloseBtnSize,border:0,outline:0,cursor:"pointer",transition:`color ${_.motionDurationMid}, background-color ${_.motionDurationMid}`,"&-x":{display:"flex",fontSize:_.fontSizeLG,fontStyle:"normal",lineHeight:`${_.modalCloseBtnSize}px`,justifyContent:"center",textTransform:"none",textRendering:"auto"},"&:hover":{color:_.modalIconHoverColor,backgroundColor:_.wireframe?"transparent":_.colorFillContent,textDecoration:"none"},"&:active":{backgroundColor:_.wireframe?"transparent":_.colorFillContentHover}},(0,r.Qy)(_)),[`${b}-header`]:{color:_.colorText,background:_.headerBg,borderRadius:`${_.borderRadiusLG}px ${_.borderRadiusLG}px 0 0`,marginBottom:_.marginXS},[`${b}-body`]:{fontSize:_.fontSize,lineHeight:_.lineHeight,wordWrap:"break-word"},[`${b}-footer`]:{textAlign:"end",background:_.footerBg,marginTop:_.marginSM,[`${_.antCls}-btn + ${_.antCls}-btn:not(${_.antCls}-dropdown-trigger)`]:{marginBottom:0,marginInlineStart:_.marginXS}},[`${b}-open`]:{overflow:"hidden"}})},{[`${b}-pure-panel`]:{top:"auto",padding:0,display:"flex",flexDirection:"column",[`${b}-content,
${b}-body,
${b}-confirm-body-wrapper`]:{display:"flex",flexDirection:"column",flex:"auto"},[`${b}-confirm-body`]:{marginBottom:"auto"}}}]},a=_=>{const{componentCls:b,antCls:S}=_,R=`${b}-confirm`;return{[b]:{[`${b}-content`]:{padding:0},[`${b}-header`]:{padding:_.modalHeaderPadding,borderBottom:`${_.modalHeaderBorderWidth}px ${_.modalHeaderBorderStyle} ${_.modalHeaderBorderColorSplit}`,marginBottom:0},[`${b}-body`]:{padding:_.modalBodyPadding},[`${b}-footer`]:{padding:`${_.modalFooterPaddingVertical}px ${_.modalFooterPaddingHorizontal}px`,borderTop:`${_.modalFooterBorderWidth}px ${_.modalFooterBorderStyle} ${_.modalFooterBorderColorSplit}`,borderRadius:`0 0 ${_.borderRadiusLG}px ${_.borderRadiusLG}px`,marginTop:0}},[R]:{[`${S}-modal-body`]:{padding:`${_.padding*2}px ${_.padding*2}px ${_.paddingLG}px`},[`${R}-body`]:{[`> ${_.iconCls}`]:{marginInlineEnd:_.margin,[`+ ${R}-title + ${R}-content`]:{marginInlineStart:_.modalConfirmIconSize+_.margin}}},[`${R}-btns`]:{marginTop:_.marginLG}}}},x=_=>{const{componentCls:b}=_;return{[`${b}-root`]:{[`${b}-wrap-rtl`]:{direction:"rtl",[`${b}-confirm-body`]:{direction:"rtl"}}}}},p=_=>{const b=_.padding,S=_.fontSizeHeading5,R=_.lineHeightHeading5;return(0,c.TS)(_,{modalBodyPadding:_.paddingLG,modalHeaderPadding:`${b}px ${_.paddingLG}px`,modalHeaderBorderWidth:_.lineWidth,modalHeaderBorderStyle:_.lineType,modalHeaderBorderColorSplit:_.colorSplit,modalHeaderHeight:R*S+b*2,modalFooterBorderColorSplit:_.colorSplit,modalFooterBorderStyle:_.lineType,modalFooterPaddingVertical:_.paddingXS,modalFooterPaddingHorizontal:_.padding,modalFooterBorderWidth:_.lineWidth,modalIconHoverColor:_.colorIconHover,modalCloseIconColor:_.colorIcon,modalCloseBtnSize:_.fontSize*_.lineHeight,modalConfirmIconSize:_.fontSize*_.lineHeight})},y=_=>({footerBg:"transparent",headerBg:_.colorBgElevated,titleLineHeight:_.lineHeightHeading5,titleFontSize:_.fontSizeHeading5,contentBg:_.colorBgElevated,titleColor:_.colorTextHeading});g.ZP=(0,f.Z)("Modal",_=>{const b=p(_);return[u(b),x(b),h(b),_.wireframe&&a(b),(0,l._y)(b,"zoom")]},y)},28909:function(d,g,e){"use strict";e.d(g,{Z:function(){return ht}});var r=e(59301),i=e(1585),l=e(92736),c=e(29679),f=e(19248),s=e(99267),h=e(96512),u=e(78987),a=e(58617),x=e(92310),p=e.n(x),y=e(581),_=e(36355),b=e(93083),S=e(17313),R=e(83116),L=e(37613),D=Je=>{const{componentCls:je,width:ge,notificationMarginEdge:Se}=Je,Me=new b.Keyframes("antNotificationTopFadeIn",{"0%":{marginTop:"-100%",opacity:0},"100%":{marginTop:0,opacity:1}}),Ne=new b.Keyframes("antNotificationBottomFadeIn",{"0%":{marginBottom:"-100%",opacity:0},"100%":{marginBottom:0,opacity:1}}),He=new b.Keyframes("antNotificationLeftFadeIn",{"0%":{right:{_skip_check_:!0,value:ge},opacity:0},"100%":{right:{_skip_check_:!0,value:0},opacity:1}});return{[`&${je}-top, &${je}-bottom`]:{marginInline:0},[`&${je}-top`]:{[`${je}-fade-enter${je}-fade-enter-active, ${je}-fade-appear${je}-fade-appear-active`]:{animationName:Me}},[`&${je}-bottom`]:{[`${je}-fade-enter${je}-fade-enter-active, ${je}-fade-appear${je}-fade-appear-active`]:{animationName:Ne}},[`&${je}-topLeft, &${je}-bottomLeft`]:{marginInlineEnd:0,marginInlineStart:Se,[`${je}-fade-enter${je}-fade-enter-active, ${je}-fade-appear${je}-fade-appear-active`]:{animationName:He}}}};const M=Je=>{const{iconCls:je,componentCls:ge,boxShadow:Se,fontSizeLG:Me,notificationMarginBottom:Ne,borderRadiusLG:He,colorSuccess:nt,colorInfo:ct,colorWarning:Vt,colorError:Wt,colorTextHeading:Ie,notificationBg:qe,notificationPadding:Gt,notificationMarginEdge:kt,motionDurationMid:Zt,motionEaseInOut:Nt,fontSize:Ct,lineHeight:Yt,width:We,notificationIconSize:fe,colorText:pe}=Je,Dt=`${ge}-notice`,Ce=new b.Keyframes("antNotificationFadeIn",{"0%":{left:{_skip_check_:!0,value:We},opacity:0},"100%":{left:{_skip_check_:!0,value:0},opacity:1}}),dt=new b.Keyframes("antNotificationFadeOut",{"0%":{maxHeight:Je.animationMaxHeight,marginBottom:Ne,opacity:1},"100%":{maxHeight:0,marginBottom:0,paddingTop:0,paddingBottom:0,opacity:0}}),zt={position:"relative",width:We,maxWidth:`calc(100vw - ${kt*2}px)`,marginBottom:Ne,marginInlineStart:"auto",padding:Gt,overflow:"hidden",lineHeight:Yt,wordWrap:"break-word",background:qe,borderRadius:He,boxShadow:Se,[`${ge}-close-icon`]:{fontSize:Ct,cursor:"pointer"},[`${Dt}-message`]:{marginBottom:Je.marginXS,color:Ie,fontSize:Me,lineHeight:Je.lineHeightLG},[`${Dt}-description`]:{fontSize:Ct,color:pe},[`&${Dt}-closable ${Dt}-message`]:{paddingInlineEnd:Je.paddingLG},[`${Dt}-with-icon ${Dt}-message`]:{marginBottom:Je.marginXS,marginInlineStart:Je.marginSM+fe,fontSize:Me},[`${Dt}-with-icon ${Dt}-description`]:{marginInlineStart:Je.marginSM+fe,fontSize:Ct},[`${Dt}-icon`]:{position:"absolute",fontSize:fe,lineHeight:0,[`&-success${je}`]:{color:nt},[`&-info${je}`]:{color:ct},[`&-warning${je}`]:{color:Vt},[`&-error${je}`]:{color:Wt}},[`${Dt}-close`]:{position:"absolute",top:Je.notificationPaddingVertical,insetInlineEnd:Je.notificationPaddingHorizontal,color:Je.colorIcon,outline:"none",width:Je.notificationCloseButtonSize,height:Je.notificationCloseButtonSize,borderRadius:Je.borderRadiusSM,transition:`background-color ${Je.motionDurationMid}, color ${Je.motionDurationMid}`,display:"flex",alignItems:"center",justifyContent:"center","&:hover":{color:Je.colorIconHover,backgroundColor:Je.wireframe?"transparent":Je.colorFillContent}},[`${Dt}-btn`]:{float:"right",marginTop:Je.marginSM}};return[{[ge]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,S.Wf)(Je)),{position:"fixed",zIndex:Je.zIndexPopup,marginInlineEnd:kt,[`${ge}-hook-holder`]:{position:"relative"},[`&${ge}-top, &${ge}-bottom`]:{[Dt]:{marginInline:"auto auto"}},[`&${ge}-topLeft, &${ge}-bottomLeft`]:{[Dt]:{marginInlineEnd:"auto",marginInlineStart:0}},[`${ge}-fade-enter, ${ge}-fade-appear`]:{animationDuration:Je.motionDurationMid,animationTimingFunction:Nt,animationFillMode:"both",opacity:0,animationPlayState:"paused"},[`${ge}-fade-leave`]:{animationTimingFunction:Nt,animationFillMode:"both",animationDuration:Zt,animationPlayState:"paused"},[`${ge}-fade-enter${ge}-fade-enter-active, ${ge}-fade-appear${ge}-fade-appear-active`]:{animationName:Ce,animationPlayState:"running"},[`${ge}-fade-leave${ge}-fade-leave-active`]:{animationName:dt,animationPlayState:"running"}}),D(Je)),{"&-rtl":{direction:"rtl",[`${Dt}-btn`]:{float:"left"}}})},{[ge]:{[Dt]:Object.assign({},zt)}},{[`${Dt}-pure-panel`]:Object.assign(Object.assign({},zt),{margin:0})}]};var N=(0,R.Z)("Notification",Je=>{const je=Je.paddingMD,ge=Je.paddingLG,Se=(0,L.TS)(Je,{notificationBg:Je.colorBgElevated,notificationPaddingVertical:je,notificationPaddingHorizontal:ge,notificationIconSize:Je.fontSizeLG*Je.lineHeightLG,notificationCloseButtonSize:Je.controlHeightLG*.55,notificationMarginBottom:Je.margin,notificationPadding:`${Je.paddingMD}px ${Je.paddingContentHorizontalLG}px`,notificationMarginEdge:Je.marginLG,animationMaxHeight:150});return[M(Se)]},Je=>({zIndexPopup:Je.zIndexPopupBase+50,width:384})),j=function(Je,je){var ge={};for(var Se in Je)Object.prototype.hasOwnProperty.call(Je,Se)&&je.indexOf(Se)<0&&(ge[Se]=Je[Se]);if(Je!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Me=0,Se=Object.getOwnPropertySymbols(Je);Me<Se.length;Me++)je.indexOf(Se[Me])<0&&Object.prototype.propertyIsEnumerable.call(Je,Se[Me])&&(ge[Se[Me]]=Je[Se[Me]]);return ge};const Q={info:r.createElement(u.Z,null),success:r.createElement(c.Z,null),error:r.createElement(f.Z,null),warning:r.createElement(h.Z,null),loading:r.createElement(a.Z,null)};function X(Je,je){return je===null||je===!1?null:je||r.createElement("span",{className:`${Je}-close-x`},r.createElement(s.Z,{className:`${Je}-close-icon`}))}const Y={success:c.Z,info:u.Z,error:f.Z,warning:h.Z},oe=Je=>{const{prefixCls:je,icon:ge,type:Se,message:Me,description:Ne,btn:He,role:nt="alert"}=Je;let ct=null;return ge?ct=r.createElement("span",{className:`${je}-icon`},ge):Se&&(ct=r.createElement(Y[Se]||null,{className:p()(`${je}-icon`,`${je}-icon-${Se}`)})),r.createElement("div",{className:p()({[`${je}-with-icon`]:ct}),role:nt},ct,r.createElement("div",{className:`${je}-message`},Me),r.createElement("div",{className:`${je}-description`},Ne),He&&r.createElement("div",{className:`${je}-btn`},He))};var ue=Je=>{const{prefixCls:je,className:ge,icon:Se,type:Me,message:Ne,description:He,btn:nt,closable:ct=!0,closeIcon:Vt}=Je,Wt=j(Je,["prefixCls","className","icon","type","message","description","btn","closable","closeIcon"]),{getPrefixCls:Ie}=r.useContext(_.E_),qe=je||Ie("notification"),Gt=`${qe}-notice`,[,kt]=N(qe);return r.createElement(y.qX,Object.assign({},Wt,{prefixCls:qe,className:p()(ge,kt,`${Gt}-pure-panel`),eventKey:"pure",duration:null,closable:ct,closeIcon:X(qe,Vt),content:r.createElement(oe,{prefixCls:Gt,icon:Se,type:Me,message:Ne,description:He,btn:nt})}))};function K(Je,je,ge){let Se;switch(Je){case"top":Se={left:"50%",transform:"translateX(-50%)",right:"auto",top:je,bottom:"auto"};break;case"topLeft":Se={left:0,top:je,bottom:"auto"};break;case"topRight":Se={right:0,top:je,bottom:"auto"};break;case"bottom":Se={left:"50%",transform:"translateX(-50%)",right:"auto",top:"auto",bottom:ge};break;case"bottomLeft":Se={left:0,top:"auto",bottom:ge};break;default:Se={right:0,top:"auto",bottom:ge};break}return Se}function V(Je){return{motionName:`${Je}-fade`}}var G=function(Je,je){var ge={};for(var Se in Je)Object.prototype.hasOwnProperty.call(Je,Se)&&je.indexOf(Se)<0&&(ge[Se]=Je[Se]);if(Je!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Me=0,Se=Object.getOwnPropertySymbols(Je);Me<Se.length;Me++)je.indexOf(Se[Me])<0&&Object.prototype.propertyIsEnumerable.call(Je,Se[Me])&&(ge[Se[Me]]=Je[Se[Me]]);return ge};const te=24,q=4.5,J="topRight",le=Je=>{let{children:je,prefixCls:ge}=Je;const[,Se]=N(ge);return r.createElement(y.JB,{classNames:{list:Se,notice:Se}},je)},z=(Je,je)=>{let{prefixCls:ge,key:Se}=je;return r.createElement(le,{prefixCls:ge,key:Se},Je)},F=r.forwardRef((Je,je)=>{const{top:ge,bottom:Se,prefixCls:Me,getContainer:Ne,maxCount:He,rtl:nt,onAllRemoved:ct}=Je,{getPrefixCls:Vt,getPopupContainer:Wt,notification:Ie}=r.useContext(_.E_),qe=Me||Vt("notification"),Gt=Yt=>K(Yt,ge!=null?ge:te,Se!=null?Se:te),kt=()=>p()({[`${qe}-rtl`]:nt}),Zt=()=>V(qe),[Nt,Ct]=(0,y.lm)({prefixCls:qe,style:Gt,className:kt,motion:Zt,closable:!0,closeIcon:X(qe),duration:q,getContainer:()=>(Ne==null?void 0:Ne())||(Wt==null?void 0:Wt())||document.body,maxCount:He,onAllRemoved:ct,renderNotifications:z});return r.useImperativeHandle(je,()=>Object.assign(Object.assign({},Nt),{prefixCls:qe,notification:Ie})),Ct});function se(Je){const je=r.useRef(null);return[r.useMemo(()=>{const Se=nt=>{var ct;if(!je.current)return;const{open:Vt,prefixCls:Wt,notification:Ie}=je.current,qe=`${Wt}-notice`,{message:Gt,description:kt,icon:Zt,type:Nt,btn:Ct,className:Yt,style:We,role:fe="alert",closeIcon:pe}=nt,Dt=G(nt,["message","description","icon","type","btn","className","style","role","closeIcon"]),Ce=X(qe,pe);return Vt(Object.assign(Object.assign({placement:(ct=Je==null?void 0:Je.placement)!==null&&ct!==void 0?ct:J},Dt),{content:r.createElement(oe,{prefixCls:qe,icon:Zt,type:Nt,message:Gt,description:kt,btn:Ct,role:fe}),className:p()(Nt&&`${qe}-${Nt}`,Yt,Ie==null?void 0:Ie.className),style:Object.assign(Object.assign({},Ie==null?void 0:Ie.style),We),closeIcon:Ce,closable:!!Ce}))},Ne={open:Se,destroy:nt=>{var ct,Vt;nt!==void 0?(ct=je.current)===null||ct===void 0||ct.close(nt):(Vt=je.current)===null||Vt===void 0||Vt.destroy()}};return["success","info","warning","error"].forEach(nt=>{Ne[nt]=ct=>Se(Object.assign(Object.assign({},ct),{type:nt}))}),Ne},[]),r.createElement(F,Object.assign({key:"notification-holder"},Je,{ref:je}))]}function _e(Je){return se(Je)}let Pe=null,Re=Je=>Je(),Ze=[],$e={};function Ht(){const{prefixCls:Je,getContainer:je,rtl:ge,maxCount:Se,top:Me,bottom:Ne}=$e,He=Je!=null?Je:(0,l.w6)().getPrefixCls("notification"),nt=(je==null?void 0:je())||document.body;return{prefixCls:He,getContainer:()=>nt,rtl:ge,maxCount:Se,top:Me,bottom:Ne}}const bt=r.forwardRef((Je,je)=>{const[ge,Se]=r.useState(Ht),[Me,Ne]=se(ge),He=(0,l.w6)(),nt=He.getRootPrefixCls(),ct=He.getIconPrefixCls(),Vt=He.getTheme(),Wt=()=>{Se(Ht)};return r.useEffect(Wt,[]),r.useImperativeHandle(je,()=>{const Ie=Object.assign({},Me);return Object.keys(Ie).forEach(qe=>{Ie[qe]=function(){return Wt(),Me[qe].apply(Me,arguments)}}),{instance:Ie,sync:Wt}}),r.createElement(l.ZP,{prefixCls:nt,iconPrefixCls:ct,theme:Vt},Ne)});function Ot(){if(!Pe){const Je=document.createDocumentFragment(),je={fragment:Je};Pe=je,Re(()=>{(0,i.s)(r.createElement(bt,{ref:ge=>{const{instance:Se,sync:Me}=ge||{};Promise.resolve().then(()=>{!je.instance&&Se&&(je.instance=Se,je.sync=Me,Ot())})}}),Je)});return}Pe.instance&&(Ze.forEach(Je=>{switch(Je.type){case"open":{Re(()=>{Pe.instance.open(Object.assign(Object.assign({},$e),Je.config))});break}case"destroy":Re(()=>{Pe==null||Pe.instance.destroy(Je.key)});break}}),Ze=[])}function qt(Je){$e=Object.assign(Object.assign({},$e),Je),Re(()=>{var je;(je=Pe==null?void 0:Pe.sync)===null||je===void 0||je.call(Pe)})}function er(Je){Ze.push({type:"open",config:Je}),Ot()}function Jt(Je){Ze.push({type:"destroy",key:Je}),Ot()}const Xe=["success","info","warning","error"],Ut={open:er,destroy:Jt,config:qt,useNotification:_e,_InternalPanelDoNotUseOrYouWillBeFired:ue};Xe.forEach(Je=>{Ut[Je]=je=>er(Object.assign(Object.assign({},je),{type:Je}))});const st=()=>{};let yt=null;var ht=Ut},95237:function(d,g,e){"use strict";var r=e(27382);g.Z=r.Z},33234:function(d,g,e){"use strict";e.d(g,{BR:function(){return p},ri:function(){return x}});var r=e(92310),i=e.n(r),l=e(11592),c=e(59301),f=e(36355),s=e(19716),h=e(2856),u=function(b,S){var R={};for(var L in b)Object.prototype.hasOwnProperty.call(b,L)&&S.indexOf(L)<0&&(R[L]=b[L]);if(b!=null&&typeof Object.getOwnPropertySymbols=="function")for(var T=0,L=Object.getOwnPropertySymbols(b);T<L.length;T++)S.indexOf(L[T])<0&&Object.prototype.propertyIsEnumerable.call(b,L[T])&&(R[L[T]]=b[L[T]]);return R};const a=c.createContext(null),x=(b,S)=>{const R=c.useContext(a),L=c.useMemo(()=>{if(!R)return"";const{compactDirection:T,isFirstItem:D,isLastItem:M}=R,N=T==="vertical"?"-vertical-":"-";return i()(`${b}-compact${N}item`,{[`${b}-compact${N}first-item`]:D,[`${b}-compact${N}last-item`]:M,[`${b}-compact${N}item-rtl`]:S==="rtl"})},[b,S,R]);return{compactSize:R==null?void 0:R.compactSize,compactDirection:R==null?void 0:R.compactDirection,compactItemClassnames:L}},p=b=>{let{children:S}=b;return c.createElement(a.Provider,{value:null},S)},y=b=>{var{children:S}=b,R=u(b,["children"]);return c.createElement(a.Provider,{value:R},S)},_=b=>{const{getPrefixCls:S,direction:R}=c.useContext(f.E_),{size:L,direction:T,block:D,prefixCls:M,className:N,rootClassName:j,children:Q}=b,X=u(b,["size","direction","block","prefixCls","className","rootClassName","children"]),Y=(0,s.Z)(q=>L!=null?L:q),oe=S("space-compact",M),[ie,ue]=(0,h.Z)(oe),K=i()(oe,ue,{[`${oe}-rtl`]:R==="rtl",[`${oe}-block`]:D,[`${oe}-vertical`]:T==="vertical"},N,j),V=c.useContext(a),G=(0,l.Z)(Q),te=c.useMemo(()=>G.map((q,J)=>{const le=q&&q.key||`${oe}-item-${J}`;return c.createElement(y,{key:le,compactSize:Y,compactDirection:T,isFirstItem:J===0&&(!V||(V==null?void 0:V.isFirstItem)),isLastItem:J===G.length-1&&(!V||(V==null?void 0:V.isLastItem))},q)}),[L,G,V]);return G.length===0?null:ie(c.createElement("div",Object.assign({className:K},X),te))};g.ZP=_},2856:function(d,g,e){"use strict";e.d(g,{Z:function(){return h}});var r=e(83116),i=e(37613),c=u=>{const{componentCls:a}=u;return{[a]:{"&-block":{display:"flex",width:"100%"},"&-vertical":{flexDirection:"column"}}}};const f=u=>{const{componentCls:a}=u;return{[a]:{display:"inline-flex","&-rtl":{direction:"rtl"},"&-vertical":{flexDirection:"column"},"&-align":{flexDirection:"column","&-center":{alignItems:"center"},"&-start":{alignItems:"flex-start"},"&-end":{alignItems:"flex-end"},"&-baseline":{alignItems:"baseline"}},[`${a}-item:empty`]:{display:"none"}}}},s=u=>{const{componentCls:a}=u;return{[a]:{"&-gap-row-small":{rowGap:u.spaceGapSmallSize},"&-gap-row-middle":{rowGap:u.spaceGapMiddleSize},"&-gap-row-large":{rowGap:u.spaceGapLargeSize},"&-gap-col-small":{columnGap:u.spaceGapSmallSize},"&-gap-col-middle":{columnGap:u.spaceGapMiddleSize},"&-gap-col-large":{columnGap:u.spaceGapLargeSize}}}};var h=(0,r.Z)("Space",u=>{const a=(0,i.TS)(u,{spaceGapSmallSize:u.paddingXS,spaceGapMiddleSize:u.padding,spaceGapLargeSize:u.paddingLG});return[f(a),s(a),c(a)]},()=>({}),{resetStyle:!1})},71418:function(d,g,e){"use strict";e.d(g,{Z:function(){return Q}});var r=e(92310),i=e.n(r),l=e(2738),c=e(59301),f=e(53280),s=e(92343),h=e(36355),u=e(93083),a=e(17313),x=e(83116),p=e(37613);const y=new u.Keyframes("antSpinMove",{to:{opacity:1}}),_=new u.Keyframes("antRotate",{to:{transform:"rotate(405deg)"}}),b=X=>({[`${X.componentCls}`]:Object.assign(Object.assign({},(0,a.Wf)(X)),{position:"absolute",display:"none",color:X.colorPrimary,fontSize:0,textAlign:"center",verticalAlign:"middle",opacity:0,transition:`transform ${X.motionDurationSlow} ${X.motionEaseInOutCirc}`,"&-spinning":{position:"static",display:"inline-block",opacity:1},"&-nested-loading":{position:"relative",[`> div > ${X.componentCls}`]:{position:"absolute",top:0,insetInlineStart:0,zIndex:4,display:"block",width:"100%",height:"100%",maxHeight:X.contentHeight,[`${X.componentCls}-dot`]:{position:"absolute",top:"50%",insetInlineStart:"50%",margin:-X.dotSize/2},[`${X.componentCls}-text`]:{position:"absolute",top:"50%",width:"100%",paddingTop:(X.dotSize-X.fontSize)/2+2,textShadow:`0 1px 2px ${X.colorBgContainer}`,fontSize:X.fontSize},[`&${X.componentCls}-show-text ${X.componentCls}-dot`]:{marginTop:-(X.dotSize/2)-10},"&-sm":{[`${X.componentCls}-dot`]:{margin:-X.dotSizeSM/2},[`${X.componentCls}-text`]:{paddingTop:(X.dotSizeSM-X.fontSize)/2+2},[`&${X.componentCls}-show-text ${X.componentCls}-dot`]:{marginTop:-(X.dotSizeSM/2)-10}},"&-lg":{[`${X.componentCls}-dot`]:{margin:-(X.dotSizeLG/2)},[`${X.componentCls}-text`]:{paddingTop:(X.dotSizeLG-X.fontSize)/2+2},[`&${X.componentCls}-show-text ${X.componentCls}-dot`]:{marginTop:-(X.dotSizeLG/2)-10}}},[`${X.componentCls}-container`]:{position:"relative",transition:`opacity ${X.motionDurationSlow}`,"&::after":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:10,width:"100%",height:"100%",background:X.colorBgContainer,opacity:0,transition:`all ${X.motionDurationSlow}`,content:'""',pointerEvents:"none"}},[`${X.componentCls}-blur`]:{clear:"both",opacity:.5,userSelect:"none",pointerEvents:"none","&::after":{opacity:.4,pointerEvents:"auto"}}},"&-tip":{color:X.spinDotDefault},[`${X.componentCls}-dot`]:{position:"relative",display:"inline-block",fontSize:X.dotSize,width:"1em",height:"1em","&-item":{position:"absolute",display:"block",width:(X.dotSize-X.marginXXS/2)/2,height:(X.dotSize-X.marginXXS/2)/2,backgroundColor:X.colorPrimary,borderRadius:"100%",transform:"scale(0.75)",transformOrigin:"50% 50%",opacity:.3,animationName:y,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear",animationDirection:"alternate","&:nth-child(1)":{top:0,insetInlineStart:0},"&:nth-child(2)":{top:0,insetInlineEnd:0,animationDelay:"0.4s"},"&:nth-child(3)":{insetInlineEnd:0,bottom:0,animationDelay:"0.8s"},"&:nth-child(4)":{bottom:0,insetInlineStart:0,animationDelay:"1.2s"}},"&-spin":{transform:"rotate(45deg)",animationName:_,animationDuration:"1.2s",animationIterationCount:"infinite",animationTimingFunction:"linear"}},[`&-sm ${X.componentCls}-dot`]:{fontSize:X.dotSizeSM,i:{width:(X.dotSizeSM-X.marginXXS/2)/2,height:(X.dotSizeSM-X.marginXXS/2)/2}},[`&-lg ${X.componentCls}-dot`]:{fontSize:X.dotSizeLG,i:{width:(X.dotSizeLG-X.marginXXS)/2,height:(X.dotSizeLG-X.marginXXS)/2}},[`&${X.componentCls}-show-text ${X.componentCls}-text`]:{display:"block"}})});var S=(0,x.Z)("Spin",X=>{const Y=(0,p.TS)(X,{spinDotDefault:X.colorTextDescription});return[b(Y)]},X=>({contentHeight:400,dotSize:X.controlHeightLG/2,dotSizeSM:X.controlHeightLG*.35,dotSizeLG:X.controlHeight})),R=function(X,Y){var oe={};for(var ie in X)Object.prototype.hasOwnProperty.call(X,ie)&&Y.indexOf(ie)<0&&(oe[ie]=X[ie]);if(X!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ue=0,ie=Object.getOwnPropertySymbols(X);ue<ie.length;ue++)Y.indexOf(ie[ue])<0&&Object.prototype.propertyIsEnumerable.call(X,ie[ue])&&(oe[ie[ue]]=X[ie[ue]]);return oe};const L=null;let T=null;function D(X,Y){const{indicator:oe}=Y,ie=`${X}-dot`;return oe===null?null:(0,s.l$)(oe)?(0,s.Tm)(oe,{className:i()(oe.props.className,ie)}):(0,s.l$)(T)?(0,s.Tm)(T,{className:i()(T.props.className,ie)}):c.createElement("span",{className:i()(ie,`${X}-dot-spin`)},c.createElement("i",{className:`${X}-dot-item`,key:1}),c.createElement("i",{className:`${X}-dot-item`,key:2}),c.createElement("i",{className:`${X}-dot-item`,key:3}),c.createElement("i",{className:`${X}-dot-item`,key:4}))}function M(X,Y){return!!X&&!!Y&&!isNaN(Number(Y))}const N=X=>{const{spinPrefixCls:Y,spinning:oe=!0,delay:ie=0,className:ue,rootClassName:K,size:V="default",tip:G,wrapperClassName:te,style:q,children:J,hashId:le}=X,z=R(X,["spinPrefixCls","spinning","delay","className","rootClassName","size","tip","wrapperClassName","style","children","hashId"]),[F,se]=c.useState(()=>oe&&!M(oe,ie));c.useEffect(()=>{if(oe){const qt=(0,f.D)(ie,()=>{se(!0)});return qt(),()=>{var er;(er=qt==null?void 0:qt.cancel)===null||er===void 0||er.call(qt)}}se(!1)},[ie,oe]);const _e=c.useMemo(()=>typeof J!="undefined",[J]),{direction:Pe,spin:Re}=c.useContext(h.E_),Ze=i()(Y,Re==null?void 0:Re.className,{[`${Y}-sm`]:V==="small",[`${Y}-lg`]:V==="large",[`${Y}-spinning`]:F,[`${Y}-show-text`]:!!G,[`${Y}-rtl`]:Pe==="rtl"},ue,K,le),$e=i()(`${Y}-container`,{[`${Y}-blur`]:F}),Ht=(0,l.Z)(z,["indicator","prefixCls"]),bt=Object.assign(Object.assign({},Re==null?void 0:Re.style),q),Ot=c.createElement("div",Object.assign({},Ht,{style:bt,className:Ze,"aria-live":"polite","aria-busy":F}),D(Y,X),G&&_e?c.createElement("div",{className:`${Y}-text`},G):null);return _e?c.createElement("div",Object.assign({},Ht,{className:i()(`${Y}-nested-loading`,te,le)}),F&&c.createElement("div",{key:"loading"},Ot),c.createElement("div",{className:$e,key:"container"},J)):Ot},j=X=>{const{prefixCls:Y}=X,{getPrefixCls:oe}=c.useContext(h.E_),ie=oe("spin",Y),[ue,K]=S(ie),V=Object.assign(Object.assign({},X),{spinPrefixCls:ie,hashId:K});return ue(c.createElement(N,Object.assign({},V)))};j.setDefaultIndicator=X=>{T=X};var Q=j},74207:function(d,g,e){"use strict";e.d(g,{c:function(){return l}});function r(c,f,s){const{focusElCls:h,focus:u,borderElCls:a}=s,x=a?"> *":"",p=["hover",u?"focus":null,"active"].filter(Boolean).map(y=>`&:${y} ${x}`).join(",");return{[`&-item:not(${f}-last-item)`]:{marginInlineEnd:-c.lineWidth},"&-item":Object.assign(Object.assign({[p]:{zIndex:2}},h?{[`&${h}`]:{zIndex:2}}:{}),{[`&[disabled] ${x}`]:{zIndex:0}})}}function i(c,f,s){const{borderElCls:h}=s,u=h?`> ${h}`:"";return{[`&-item:not(${f}-first-item):not(${f}-last-item) ${u}`]:{borderRadius:0},[`&-item:not(${f}-last-item)${f}-first-item`]:{[`& ${u}, &${c}-sm ${u}, &${c}-lg ${u}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&-item:not(${f}-first-item)${f}-last-item`]:{[`& ${u}, &${c}-sm ${u}, &${c}-lg ${u}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}function l(c){let f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{focus:!0};const{componentCls:s}=c,h=`${s}-compact`;return{[h]:Object.assign(Object.assign({},r(c,h,f)),i(s,h,f))}}},17313:function(d,g,e){"use strict";e.d(g,{Lx:function(){return f},Qy:function(){return u},Ro:function(){return l},Wf:function(){return i},dF:function(){return c},du:function(){return s},oN:function(){return h},vS:function(){return r}});const r={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},i=a=>({boxSizing:"border-box",margin:0,padding:0,color:a.colorText,fontSize:a.fontSize,lineHeight:a.lineHeight,listStyle:"none",fontFamily:a.fontFamily}),l=()=>({display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}}),c=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),f=a=>({a:{color:a.colorLink,textDecoration:a.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${a.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:a.colorLinkHover},"&:active":{color:a.colorLinkActive},"&:active,\n &:hover":{textDecoration:a.linkHoverDecoration,outline:0},"&:focus":{textDecoration:a.linkFocusDecoration,outline:0},"&[disabled]":{color:a.colorTextDisabled,cursor:"not-allowed"}}}),s=(a,x)=>{const{fontFamily:p,fontSize:y}=a,_=`[class^="${x}"], [class*=" ${x}"]`;return{[_]:{fontFamily:p,fontSize:y,boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"},[_]:{boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}}}}},h=a=>({outline:`${a.lineWidthFocus}px solid ${a.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),u=a=>({"&:focus-visible":Object.assign({},h(a))})},1950:function(d,g,e){"use strict";e.d(g,{J$:function(){return f}});var r=e(93083),i=e(95406);const l=new r.Keyframes("antFadeIn",{"0%":{opacity:0},"100%":{opacity:1}}),c=new r.Keyframes("antFadeOut",{"0%":{opacity:1},"100%":{opacity:0}}),f=function(s){let h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const{antCls:u}=s,a=`${u}-fade`,x=h?"&":"";return[(0,i.R)(a,l,c,s.motionDurationMid,h),{[`
${x}${a}-enter,
${x}${a}-appear
`]:{opacity:0,animationTimingFunction:"linear"},[`${x}${a}-leave`]:{animationTimingFunction:"linear"}}]}},95406:function(d,g,e){"use strict";e.d(g,{R:function(){return l}});const r=c=>({animationDuration:c,animationFillMode:"both"}),i=c=>({animationDuration:c,animationFillMode:"both"}),l=function(c,f,s,h){const a=(arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1)?"&":"";return{[`
${a}${c}-enter,
${a}${c}-appear
`]:Object.assign(Object.assign({},r(h)),{animationPlayState:"paused"}),[`${a}${c}-leave`]:Object.assign(Object.assign({},i(h)),{animationPlayState:"paused"}),[`
${a}${c}-enter${c}-enter-active,
${a}${c}-appear${c}-appear-active
`]:{animationName:f,animationPlayState:"running"},[`${a}${c}-leave${c}-leave-active`]:{animationName:s,animationPlayState:"running",pointerEvents:"none"}}}},29878:function(d,g,e){"use strict";e.d(g,{_y:function(){return R},kr:function(){return l}});var r=e(93083),i=e(95406);const l=new r.Keyframes("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),c=new r.Keyframes("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),f=new r.Keyframes("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),s=new r.Keyframes("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),h=new r.Keyframes("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),u=new r.Keyframes("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),a=new r.Keyframes("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),x=new r.Keyframes("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}}),p=new r.Keyframes("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),y=new r.Keyframes("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}}),_=new r.Keyframes("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),b=new r.Keyframes("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}}),S={zoom:{inKeyframes:l,outKeyframes:c},"zoom-big":{inKeyframes:f,outKeyframes:s},"zoom-big-fast":{inKeyframes:f,outKeyframes:s},"zoom-left":{inKeyframes:a,outKeyframes:x},"zoom-right":{inKeyframes:p,outKeyframes:y},"zoom-up":{inKeyframes:h,outKeyframes:u},"zoom-down":{inKeyframes:_,outKeyframes:b}},R=(L,T)=>{const{antCls:D}=L,M=`${D}-${T}`,{inKeyframes:N,outKeyframes:j}=S[T];return[(0,i.R)(M,N,j,T==="zoom-big-fast"?L.motionDurationFast:L.motionDurationMid),{[`
${M}-enter,
${M}-appear
`]:{transform:"scale(0)",opacity:0,animationTimingFunction:L.motionEaseOutCirc,"&-prepare":{transform:"none"}},[`${M}-leave`]:{animationTimingFunction:L.motionEaseInOutCirc}}]}},19447:function(d,g,e){"use strict";e.d(g,{ZP:function(){return f},fS:function(){return l},qN:function(){return i}});var r=e(47585);const i=8;function l(s){const h=i,{contentRadius:u,limitVerticalRadius:a}=s,x=u>12?u+2:12;return{dropdownArrowOffset:x,dropdownArrowOffsetVertical:a?h:x}}function c(s,h){return s?h:{}}function f(s,h){const{componentCls:u,sizePopupArrow:a,borderRadiusXS:x,borderRadiusOuter:p,boxShadowPopoverArrow:y}=s,{colorBg:_,contentRadius:b=s.borderRadiusLG,limitVerticalRadius:S,arrowDistance:R=0,arrowPlacement:L={left:!0,right:!0,top:!0,bottom:!0}}=h,{dropdownArrowOffsetVertical:T,dropdownArrowOffset:D}=l({contentRadius:b,limitVerticalRadius:S});return{[u]:Object.assign(Object.assign(Object.assign(Object.assign({[`${u}-arrow`]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},(0,r.r)(a,x,p,_,y)),{"&:before":{background:_}})]},c(!!L.top,{[[`&-placement-top ${u}-arrow`,`&-placement-topLeft ${u}-arrow`,`&-placement-topRight ${u}-arrow`].join(",")]:{bottom:R,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top ${u}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},[`&-placement-topLeft ${u}-arrow`]:{left:{_skip_check_:!0,value:D}},[`&-placement-topRight ${u}-arrow`]:{right:{_skip_check_:!0,value:D}}})),c(!!L.bottom,{[[`&-placement-bottom ${u}-arrow`,`&-placement-bottomLeft ${u}-arrow`,`&-placement-bottomRight ${u}-arrow`].join(",")]:{top:R,transform:"translateY(-100%)"},[`&-placement-bottom ${u}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},[`&-placement-bottomLeft ${u}-arrow`]:{left:{_skip_check_:!0,value:D}},[`&-placement-bottomRight ${u}-arrow`]:{right:{_skip_check_:!0,value:D}}})),c(!!L.left,{[[`&-placement-left ${u}-arrow`,`&-placement-leftTop ${u}-arrow`,`&-placement-leftBottom ${u}-arrow`].join(",")]:{right:{_skip_check_:!0,value:R},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left ${u}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop ${u}-arrow`]:{top:T},[`&-placement-leftBottom ${u}-arrow`]:{bottom:T}})),c(!!L.right,{[[`&-placement-right ${u}-arrow`,`&-placement-rightTop ${u}-arrow`,`&-placement-rightBottom ${u}-arrow`].join(",")]:{left:{_skip_check_:!0,value:R},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right ${u}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop ${u}-arrow`]:{top:T},[`&-placement-rightBottom ${u}-arrow`]:{bottom:T}}))}}},47585:function(d,g,e){"use strict";e.d(g,{r:function(){return r}});const r=(i,l,c,f,s)=>{const h=i/2,u=0,a=h,x=c*1/Math.sqrt(2),p=h-c*(1-1/Math.sqrt(2)),y=h-l*(1/Math.sqrt(2)),_=c*(Math.sqrt(2)-1)+l*(1/Math.sqrt(2)),b=2*h-y,S=_,R=2*h-x,L=p,T=2*h-u,D=a,M=h*Math.sqrt(2)+c*(Math.sqrt(2)-2),N=c*(Math.sqrt(2)-1);return{pointerEvents:"none",width:i,height:i,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:i,height:i/2,background:f,clipPath:{_multi_value_:!0,value:[`polygon(${N}px 100%, 50% ${N}px, ${2*h-N}px 100%, ${N}px 100%)`,`path('M ${u} ${a} A ${c} ${c} 0 0 0 ${x} ${p} L ${y} ${_} A ${l} ${l} 0 0 1 ${b} ${S} L ${R} ${L} A ${c} ${c} 0 0 0 ${T} ${D} Z')`]},content:'""'},"&::after":{content:'""',position:"absolute",width:M,height:M,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${l}px 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:s,zIndex:0,background:"transparent"}}}},45246:function(d,g,e){"use strict";e.d(g,{Mj:function(){return Q},u_:function(){return j},uH:function(){return N}});var r=e(93083),i=e(59301),l=e(93398),f=X=>{const{controlHeight:Y}=X;return{controlHeightSM:Y*.75,controlHeightXS:Y*.5,controlHeightLG:Y*1.25}};function s(X){const{sizeUnit:Y,sizeStep:oe}=X;return{sizeXXL:Y*(oe+8),sizeXL:Y*(oe+4),sizeLG:Y*(oe+2),sizeMD:Y*(oe+1),sizeMS:Y*oe,size:Y*oe,sizeSM:Y*(oe-1),sizeXS:Y*(oe-2),sizeXXS:Y*(oe-3)}}var h=e(34117),u=e(64993);function a(X,Y){let{generateColorPalettes:oe,generateNeutralColorPalettes:ie}=Y;const{colorSuccess:ue,colorWarning:K,colorError:V,colorInfo:G,colorPrimary:te,colorBgBase:q,colorTextBase:J}=X,le=oe(te),z=oe(ue),F=oe(K),se=oe(V),_e=oe(G),Pe=ie(q,J),Re=X.colorLink||X.colorInfo,Ze=oe(Re);return Object.assign(Object.assign({},Pe),{colorPrimaryBg:le[1],colorPrimaryBgHover:le[2],colorPrimaryBorder:le[3],colorPrimaryBorderHover:le[4],colorPrimaryHover:le[5],colorPrimary:le[6],colorPrimaryActive:le[7],colorPrimaryTextHover:le[8],colorPrimaryText:le[9],colorPrimaryTextActive:le[10],colorSuccessBg:z[1],colorSuccessBgHover:z[2],colorSuccessBorder:z[3],colorSuccessBorderHover:z[4],colorSuccessHover:z[4],colorSuccess:z[6],colorSuccessActive:z[7],colorSuccessTextHover:z[8],colorSuccessText:z[9],colorSuccessTextActive:z[10],colorErrorBg:se[1],colorErrorBgHover:se[2],colorErrorBorder:se[3],colorErrorBorderHover:se[4],colorErrorHover:se[5],colorError:se[6],colorErrorActive:se[7],colorErrorTextHover:se[8],colorErrorText:se[9],colorErrorTextActive:se[10],colorWarningBg:F[1],colorWarningBgHover:F[2],colorWarningBorder:F[3],colorWarningBorderHover:F[4],colorWarningHover:F[4],colorWarning:F[6],colorWarningActive:F[7],colorWarningTextHover:F[8],colorWarningText:F[9],colorWarningTextActive:F[10],colorInfoBg:_e[1],colorInfoBgHover:_e[2],colorInfoBorder:_e[3],colorInfoBorderHover:_e[4],colorInfoHover:_e[4],colorInfo:_e[6],colorInfoActive:_e[7],colorInfoTextHover:_e[8],colorInfoText:_e[9],colorInfoTextActive:_e[10],colorLinkHover:Ze[4],colorLink:Ze[6],colorLinkActive:Ze[7],colorBgMask:new u.C("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}var p=X=>{let Y=X,oe=X,ie=X,ue=X;return X<6&&X>=5?Y=X+1:X<16&&X>=6?Y=X+2:X>=16&&(Y=16),X<7&&X>=5?oe=4:X<8&&X>=7?oe=5:X<14&&X>=8?oe=6:X<16&&X>=14?oe=7:X>=16&&(oe=8),X<6&&X>=2?ie=1:X>=6&&(ie=2),X>4&&X<8?ue=4:X>=8&&(ue=6),{borderRadius:X>16?16:X,borderRadiusXS:ie,borderRadiusSM:oe,borderRadiusLG:Y,borderRadiusOuter:ue}};function y(X){const{motionUnit:Y,motionBase:oe,borderRadius:ie,lineWidth:ue}=X;return Object.assign({motionDurationFast:`${(oe+Y).toFixed(1)}s`,motionDurationMid:`${(oe+Y*2).toFixed(1)}s`,motionDurationSlow:`${(oe+Y*3).toFixed(1)}s`,lineWidthBold:ue+1},p(ie))}const _=(X,Y)=>new u.C(X).setAlpha(Y).toRgbString(),b=(X,Y)=>new u.C(X).darken(Y).toHexString(),S=X=>{const Y=(0,l.generate)(X);return{1:Y[0],2:Y[1],3:Y[2],4:Y[3],5:Y[4],6:Y[5],7:Y[6],8:Y[4],9:Y[5],10:Y[6]}},R=(X,Y)=>{const oe=X||"#fff",ie=Y||"#000";return{colorBgBase:oe,colorTextBase:ie,colorText:_(ie,.88),colorTextSecondary:_(ie,.65),colorTextTertiary:_(ie,.45),colorTextQuaternary:_(ie,.25),colorFill:_(ie,.15),colorFillSecondary:_(ie,.06),colorFillTertiary:_(ie,.04),colorFillQuaternary:_(ie,.02),colorBgLayout:b(oe,4),colorBgContainer:b(oe,0),colorBgElevated:b(oe,0),colorBgSpotlight:_(ie,.85),colorBorder:b(oe,15),colorBorderSecondary:b(oe,6)}};function L(X){const Y=new Array(10).fill(null).map((oe,ie)=>{const ue=ie-1,K=X*Math.pow(2.71828,ue/5),V=ie>1?Math.floor(K):Math.ceil(K);return Math.floor(V/2)*2});return Y[1]=X,Y.map(oe=>{const ie=oe+8;return{size:oe,lineHeight:ie/oe}})}var D=X=>{const Y=L(X),oe=Y.map(ue=>ue.size),ie=Y.map(ue=>ue.lineHeight);return{fontSizeSM:oe[0],fontSize:oe[1],fontSizeLG:oe[2],fontSizeXL:oe[3],fontSizeHeading1:oe[6],fontSizeHeading2:oe[5],fontSizeHeading3:oe[4],fontSizeHeading4:oe[3],fontSizeHeading5:oe[2],lineHeight:ie[1],lineHeightLG:ie[2],lineHeightSM:ie[0],lineHeightHeading1:ie[6],lineHeightHeading2:ie[5],lineHeightHeading3:ie[4],lineHeightHeading4:ie[3],lineHeightHeading5:ie[2]}};function M(X){const Y=Object.keys(h.M).map(oe=>{const ie=(0,l.generate)(X[oe]);return new Array(10).fill(1).reduce((ue,K,V)=>(ue[`${oe}-${V+1}`]=ie[V],ue[`${oe}${V+1}`]=ie[V],ue),{})}).reduce((oe,ie)=>(oe=Object.assign(Object.assign({},oe),ie),oe),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},X),Y),a(X,{generateColorPalettes:S,generateNeutralColorPalettes:R})),D(X.fontSize)),s(X)),f(X)),y(X))}const N=(0,r.createTheme)(M),j={token:h.Z,hashed:!0},Q=i.createContext(j)},33166:function(d,g,e){"use strict";e.d(g,{i:function(){return r}});const r=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"]},34117:function(d,g,e){"use strict";e.d(g,{M:function(){return r}});const r={blue:"#1677ff",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#eb2f96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},i=Object.assign(Object.assign({},r),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
'Noto Color Emoji'`,fontFamilyCode:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:!1,motion:!0});g.Z=i},88088:function(d,g,e){"use strict";e.d(g,{Z:function(){return S}});var r=e(93083),i=e(59301),l="5.9.0",c=l,f=e(45246),s=e(34117),h=e(64993);function u(R){return R>=0&&R<=255}function a(R,L){const{r:T,g:D,b:M,a:N}=new h.C(R).toRgb();if(N<1)return R;const{r:j,g:Q,b:X}=new h.C(L).toRgb();for(let Y=.01;Y<=1;Y+=.01){const oe=Math.round((T-j*(1-Y))/Y),ie=Math.round((D-Q*(1-Y))/Y),ue=Math.round((M-X*(1-Y))/Y);if(u(oe)&&u(ie)&&u(ue))return new h.C({r:oe,g:ie,b:ue,a:Math.round(Y*100)/100}).toRgbString()}return new h.C({r:T,g:D,b:M,a:1}).toRgbString()}var x=a,p=function(R,L){var T={};for(var D in R)Object.prototype.hasOwnProperty.call(R,D)&&L.indexOf(D)<0&&(T[D]=R[D]);if(R!=null&&typeof Object.getOwnPropertySymbols=="function")for(var M=0,D=Object.getOwnPropertySymbols(R);M<D.length;M++)L.indexOf(D[M])<0&&Object.prototype.propertyIsEnumerable.call(R,D[M])&&(T[D[M]]=R[D[M]]);return T};function y(R){const{override:L}=R,T=p(R,["override"]),D=Object.assign({},L);Object.keys(s.Z).forEach(ue=>{delete D[ue]});const M=Object.assign(Object.assign({},T),D),N=480,j=576,Q=768,X=992,Y=1200,oe=1600;if(M.motion===!1){const ue="0s";M.motionDurationFast=ue,M.motionDurationMid=ue,M.motionDurationSlow=ue}return Object.assign(Object.assign(Object.assign({},M),{colorFillContent:M.colorFillSecondary,colorFillContentHover:M.colorFill,colorFillAlter:M.colorFillQuaternary,colorBgContainerDisabled:M.colorFillTertiary,colorBorderBg:M.colorBgContainer,colorSplit:x(M.colorBorderSecondary,M.colorBgContainer),colorTextPlaceholder:M.colorTextQuaternary,colorTextDisabled:M.colorTextQuaternary,colorTextHeading:M.colorText,colorTextLabel:M.colorTextSecondary,colorTextDescription:M.colorTextTertiary,colorTextLightSolid:M.colorWhite,colorHighlight:M.colorError,colorBgTextHover:M.colorFillSecondary,colorBgTextActive:M.colorFill,colorIcon:M.colorTextTertiary,colorIconHover:M.colorText,colorErrorOutline:x(M.colorErrorBg,M.colorBgContainer),colorWarningOutline:x(M.colorWarningBg,M.colorBgContainer),fontSizeIcon:M.fontSizeSM,lineWidthFocus:M.lineWidth*4,lineWidth:M.lineWidth,controlOutlineWidth:M.lineWidth*2,controlInteractiveSize:M.controlHeight/2,controlItemBgHover:M.colorFillTertiary,controlItemBgActive:M.colorPrimaryBg,controlItemBgActiveHover:M.colorPrimaryBgHover,controlItemBgActiveDisabled:M.colorFill,controlTmpOutline:M.colorFillQuaternary,controlOutline:x(M.colorPrimaryBg,M.colorBgContainer),lineType:M.lineType,borderRadius:M.borderRadius,borderRadiusXS:M.borderRadiusXS,borderRadiusSM:M.borderRadiusSM,borderRadiusLG:M.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:M.sizeXXS,paddingXS:M.sizeXS,paddingSM:M.sizeSM,padding:M.size,paddingMD:M.sizeMD,paddingLG:M.sizeLG,paddingXL:M.sizeXL,paddingContentHorizontalLG:M.sizeLG,paddingContentVerticalLG:M.sizeMS,paddingContentHorizontal:M.sizeMS,paddingContentVertical:M.sizeSM,paddingContentHorizontalSM:M.size,paddingContentVerticalSM:M.sizeXS,marginXXS:M.sizeXXS,marginXS:M.sizeXS,marginSM:M.sizeSM,margin:M.size,marginMD:M.sizeMD,marginLG:M.sizeLG,marginXL:M.sizeXL,marginXXL:M.sizeXXL,boxShadow:`
0 6px 16px 0 rgba(0, 0, 0, 0.08),
0 3px 6px -4px rgba(0, 0, 0, 0.12),
0 9px 28px 8px rgba(0, 0, 0, 0.05)
`,boxShadowSecondary:`
0 6px 16px 0 rgba(0, 0, 0, 0.08),
0 3px 6px -4px rgba(0, 0, 0, 0.12),
0 9px 28px 8px rgba(0, 0, 0, 0.05)
`,boxShadowTertiary:`
0 1px 2px 0 rgba(0, 0, 0, 0.03),
0 1px 6px -1px rgba(0, 0, 0, 0.02),
0 2px 4px 0 rgba(0, 0, 0, 0.02)
`,screenXS:N,screenXSMin:N,screenXSMax:j-1,screenSM:j,screenSMMin:j,screenSMMax:Q-1,screenMD:Q,screenMDMin:Q,screenMDMax:X-1,screenLG:X,screenLGMin:X,screenLGMax:Y-1,screenXL:Y,screenXLMin:Y,screenXLMax:oe-1,screenXXL:oe,screenXXLMin:oe,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:`
0 1px 2px -2px ${new h.C("rgba(0, 0, 0, 0.16)").toRgbString()},
0 3px 6px 0 ${new h.C("rgba(0, 0, 0, 0.12)").toRgbString()},
0 5px 12px 4px ${new h.C("rgba(0, 0, 0, 0.09)").toRgbString()}
`,boxShadowDrawerRight:`
-6px 0 16px 0 rgba(0, 0, 0, 0.08),
-3px 0 6px -4px rgba(0, 0, 0, 0.12),
-9px 0 28px 8px rgba(0, 0, 0, 0.05)
`,boxShadowDrawerLeft:`
6px 0 16px 0 rgba(0, 0, 0, 0.08),
3px 0 6px -4px rgba(0, 0, 0, 0.12),
9px 0 28px 8px rgba(0, 0, 0, 0.05)
`,boxShadowDrawerUp:`
0 6px 16px 0 rgba(0, 0, 0, 0.08),
0 3px 6px -4px rgba(0, 0, 0, 0.12),
0 9px 28px 8px rgba(0, 0, 0, 0.05)
`,boxShadowDrawerDown:`
0 -6px 16px 0 rgba(0, 0, 0, 0.08),
0 -3px 6px -4px rgba(0, 0, 0, 0.12),
0 -9px 28px 8px rgba(0, 0, 0, 0.05)
`,boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)"}),D)}var _=function(R,L){var T={};for(var D in R)Object.prototype.hasOwnProperty.call(R,D)&&L.indexOf(D)<0&&(T[D]=R[D]);if(R!=null&&typeof Object.getOwnPropertySymbols=="function")for(var M=0,D=Object.getOwnPropertySymbols(R);M<D.length;M++)L.indexOf(D[M])<0&&Object.prototype.propertyIsEnumerable.call(R,D[M])&&(T[D[M]]=R[D[M]]);return T};const b=(R,L,T)=>{const D=T.getDerivativeToken(R),{override:M}=L,N=_(L,["override"]);let j=Object.assign(Object.assign({},D),{override:M});return j=y(j),N&&Object.entries(N).forEach(Q=>{let[X,Y]=Q;const{theme:oe}=Y,ie=_(Y,["theme"]);let ue=ie;oe&&(ue=b(Object.assign(Object.assign({},j),ie),{override:ie},oe)),j[X]=ue}),j};function S(){const{token:R,hashed:L,theme:T,components:D}=i.useContext(f.Mj),M=`${c}-${L||""}`,N=T||f.uH,[j,Q]=(0,r.useCacheToken)(N,[s.Z,R],{salt:M,override:Object.assign({override:R},D),getComputedToken:b,formatToken:y});return[N,j,L?Q:""]}},83116:function(d,g,e){"use strict";e.d(g,{Z:function(){return a},b:function(){return x}});var r=e(59301),i=e(93083),l=e(70425),c=e(36355),f=e(17313),s=e(88088),h=e(37613),u=e(73040);function a(p,y,_){let b=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const S=Array.isArray(p)?p:[p,p],[R]=S,L=S.join("-");return T=>{const[D,M,N]=(0,s.Z)(),{getPrefixCls:j,iconPrefixCls:Q,csp:X}=(0,r.useContext)(c.E_),Y=j(),oe={theme:D,token:M,hashId:N,nonce:()=>X==null?void 0:X.nonce,clientOnly:b.clientOnly,order:b.order||-999};return(0,i.useStyleRegister)(Object.assign(Object.assign({},oe),{clientOnly:!1,path:["Shared",Y]}),()=>[{"&":(0,f.Lx)(M)}]),(0,u.Z)(Q),[(0,i.useStyleRegister)(Object.assign(Object.assign({},oe),{path:[L,T,Q]}),()=>{const{token:ie,flush:ue}=(0,h.ZP)(M),K=Object.assign({},M[R]);if(b.deprecatedTokens){const{deprecatedTokens:le}=b;le.forEach(z=>{let[F,se]=z;var _e;(K!=null&&K[F]||K!=null&&K[se])&&((_e=K[se])!==null&&_e!==void 0||(K[se]=K==null?void 0:K[F]))})}const V=typeof _=="function"?_((0,h.TS)(ie,K!=null?K:{})):_,G=Object.assign(Object.assign({},V),K),te=`.${T}`,q=(0,h.TS)(ie,{componentCls:te,prefixCls:T,iconCls:`.${Q}`,antCls:`.${Y}`},G),J=y(q,{hashId:N,prefixCls:T,rootPrefixCls:Y,iconPrefixCls:Q,overrideComponentToken:K});return ue(R,G),[b.resetStyle===!1?null:(0,f.du)(M,T),J]}),N]}}const x=(p,y,_,b)=>{const S=a(p,y,_,Object.assign({resetStyle:!1,order:-998},b));return L=>{let{prefixCls:T}=L;return S(T),null}}},45157:function(d,g,e){"use strict";e.d(g,{Z:function(){return i}});var r=e(33166);function i(l,c){return r.i.reduce((f,s)=>{const h=l[`${s}1`],u=l[`${s}3`],a=l[`${s}6`],x=l[`${s}7`];return Object.assign(Object.assign({},f),c(s,{lightColor:h,lightBorderColor:u,darkColor:a,textColor:x}))},{})}},37613:function(d,g,e){"use strict";e.d(g,{TS:function(){return l},ZP:function(){return h}});const r=typeof CSSINJS_STATISTIC!="undefined";let i=!0;function l(){for(var u=arguments.length,a=new Array(u),x=0;x<u;x++)a[x]=arguments[x];if(!r)return Object.assign.apply(Object,[{}].concat(a));i=!1;const p={};return a.forEach(y=>{Object.keys(y).forEach(b=>{Object.defineProperty(p,b,{configurable:!0,enumerable:!0,get:()=>y[b]})})}),i=!0,p}const c={},f={};function s(){}function h(u){let a,x=u,p=s;return r&&(a=new Set,x=new Proxy(u,{get(y,_){return i&&a.add(_),y[_]}}),p=(y,_)=>{var b;c[y]={global:Array.from(a),component:Object.assign(Object.assign({},(b=c[y])===null||b===void 0?void 0:b.component),_)}}),{token:x,keys:a,flush:p}}},73040:function(d,g,e){"use strict";var r=e(93083),i=e(17313),l=e(88088);const c=(f,s)=>{const[h,u]=(0,l.Z)();return(0,r.useStyleRegister)({theme:h,token:u,hashId:"",path:["ant-design-icons",f],nonce:()=>s==null?void 0:s.nonce},()=>[{[`.${f}`]:Object.assign(Object.assign({},(0,i.Ro)()),{[`.${f} .${f}-icon`]:{display:"block"}})}])};g.Z=c},67532:function(d,g){"use strict";const e={placeholder:"Select time",rangePlaceholder:["Start time","End time"]};g.Z=e},6848:function(d,g,e){"use strict";e.d(g,{Z:function(){return ue}});var r=e(59301),i=e(92310),l=e.n(i),c=e(55477),f=e(18929),s=e(62892),h=e(79676),u=e(92343),a=e(36355),x=e(33234),p=e(88088),y=e(17313),_=e(29878),b=e(19447),S=e(45157),R=e(37613),L=e(83116);const T=K=>{const{componentCls:V,tooltipMaxWidth:G,tooltipColor:te,tooltipBg:q,tooltipBorderRadius:J,zIndexPopup:le,controlHeight:z,boxShadowSecondary:F,paddingSM:se,paddingXS:_e,tooltipRadiusOuter:Pe}=K;return[{[V]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,y.Wf)(K)),{position:"absolute",zIndex:le,display:"block",width:"max-content",maxWidth:G,visibility:"visible",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","&-hidden":{display:"none"},"--antd-arrow-background-color":q,[`${V}-inner`]:{minWidth:z,minHeight:z,padding:`${se/2}px ${_e}px`,color:te,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:q,borderRadius:J,boxShadow:F,boxSizing:"border-box"},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${V}-inner`]:{borderRadius:Math.min(J,b.qN)}},[`${V}-content`]:{position:"relative"}}),(0,S.Z)(K,(Re,Ze)=>{let{darkColor:$e}=Ze;return{[`&${V}-${Re}`]:{[`${V}-inner`]:{backgroundColor:$e},[`${V}-arrow`]:{"--antd-arrow-background-color":$e}}}})),{"&-rtl":{direction:"rtl"}})},(0,b.ZP)((0,R.TS)(K,{borderRadiusOuter:Pe}),{colorBg:"var(--antd-arrow-background-color)",contentRadius:J,limitVerticalRadius:!0}),{[`${V}-pure`]:{position:"relative",maxWidth:"none",margin:K.sizePopupArrow}}]};var D=(K,V)=>(0,L.Z)("Tooltip",te=>{if(V===!1)return[];const{borderRadius:q,colorTextLightSolid:J,colorBgDefault:le,borderRadiusOuter:z}=te,F=(0,R.TS)(te,{tooltipMaxWidth:250,tooltipColor:J,tooltipBorderRadius:q,tooltipBg:le,tooltipRadiusOuter:z>4?4:z});return[T(F),(0,_._y)(te,"zoom-big-fast")]},te=>{let{zIndexPopupBase:q,colorBgSpotlight:J}=te;return{zIndexPopup:q+70,colorBgDefault:J}},{resetStyle:!1})(K),M=e(36785);function N(K,V){const G=(0,M.o2)(V),te=l()({[`${K}-${V}`]:V&&G}),q={},J={};return V&&!G&&(q.background=V,J["--antd-arrow-background-color"]=V),{className:te,overlayStyle:q,arrowStyle:J}}var Q=K=>{const{prefixCls:V,className:G,placement:te="top",title:q,color:J,overlayInnerStyle:le}=K,{getPrefixCls:z}=r.useContext(a.E_),F=z("tooltip",V),[se,_e]=D(F,!0),Pe=N(F,J),Re=Pe.arrowStyle,Ze=Object.assign(Object.assign({},le),Pe.overlayStyle),$e=l()(_e,F,`${F}-pure`,`${F}-placement-${te}`,G,Pe.className);return se(r.createElement("div",{className:$e,style:Re},r.createElement("div",{className:`${F}-arrow`}),r.createElement(c.G,Object.assign({},K,{className:_e,prefixCls:F,overlayInnerStyle:Ze}),q)))},X=function(K,V){var G={};for(var te in K)Object.prototype.hasOwnProperty.call(K,te)&&V.indexOf(te)<0&&(G[te]=K[te]);if(K!=null&&typeof Object.getOwnPropertySymbols=="function")for(var q=0,te=Object.getOwnPropertySymbols(K);q<te.length;q++)V.indexOf(te[q])<0&&Object.prototype.propertyIsEnumerable.call(K,te[q])&&(G[te[q]]=K[te[q]]);return G};const Y=(K,V)=>{const G={},te=Object.assign({},K);return V.forEach(q=>{K&&q in K&&(G[q]=K[q],delete te[q])}),{picked:G,omitted:te}};function oe(K,V){const G=K.type;if((G.__ANT_BUTTON===!0||K.type==="button")&&K.props.disabled||G.__ANT_SWITCH===!0&&(K.props.disabled||K.props.loading)||G.__ANT_RADIO===!0&&K.props.disabled){const{picked:te,omitted:q}=Y(K.props.style,["position","left","right","top","bottom","float","display","zIndex"]),J=Object.assign(Object.assign({display:"inline-block"},te),{cursor:"not-allowed",width:K.props.block?"100%":void 0}),le=Object.assign(Object.assign({},q),{pointerEvents:"none"}),z=(0,u.Tm)(K,{style:le,className:null});return r.createElement("span",{style:J,className:l()(K.props.className,`${V}-disabled-compatible-wrapper`)},z)}return K}const ie=r.forwardRef((K,V)=>{var G,te;const{prefixCls:q,openClassName:J,getTooltipContainer:le,overlayClassName:z,color:F,overlayInnerStyle:se,children:_e,afterOpenChange:Pe,afterVisibleChange:Re,destroyTooltipOnHide:Ze,arrow:$e=!0,title:Ht,overlay:bt,builtinPlacements:Ot,arrowPointAtCenter:qt=!1,autoAdjustOverflow:er=!0}=K,Jt=!!$e,[,Xe]=(0,p.Z)(),{getPopupContainer:Pt,getPrefixCls:Ut,direction:st}=r.useContext(a.E_),yt=r.useRef(null),ht=()=>{var Oe;(Oe=yt.current)===null||Oe===void 0||Oe.forceAlign()};r.useImperativeHandle(V,()=>({forceAlign:ht,forcePopupAlign:()=>{ht()}}));const[Je,je]=(0,f.Z)(!1,{value:(G=K.open)!==null&&G!==void 0?G:K.visible,defaultValue:(te=K.defaultOpen)!==null&&te!==void 0?te:K.defaultVisible}),ge=!Ht&&!bt&&Ht!==0,Se=Oe=>{var St,be;je(ge?!1:Oe),ge||((St=K.onOpenChange)===null||St===void 0||St.call(K,Oe),(be=K.onVisibleChange)===null||be===void 0||be.call(K,Oe))},Me=r.useMemo(()=>{var Oe,St;let be=qt;return typeof $e=="object"&&(be=(St=(Oe=$e.pointAtCenter)!==null&&Oe!==void 0?Oe:$e.arrowPointAtCenter)!==null&&St!==void 0?St:qt),Ot||(0,h.Z)({arrowPointAtCenter:be,autoAdjustOverflow:er,arrowWidth:Jt?Xe.sizePopupArrow:0,borderRadius:Xe.borderRadius,offset:Xe.marginXXS,visibleFirst:!0})},[qt,$e,Ot,Xe]),Ne=r.useMemo(()=>Ht===0?Ht:bt||Ht||"",[bt,Ht]),He=r.createElement(x.BR,null,typeof Ne=="function"?Ne():Ne),{getPopupContainer:nt,placement:ct="top",mouseEnterDelay:Vt=.1,mouseLeaveDelay:Wt=.1,overlayStyle:Ie,rootClassName:qe}=K,Gt=X(K,["getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName"]),kt=Ut("tooltip",q),Zt=Ut(),Nt=K["data-popover-inject"];let Ct=Je;!("open"in K)&&!("visible"in K)&&ge&&(Ct=!1);const Yt=oe((0,u.l$)(_e)&&!(0,u.M2)(_e)?_e:r.createElement("span",null,_e),kt),We=Yt.props,fe=!We.className||typeof We.className=="string"?l()(We.className,J||`${kt}-open`):We.className,[pe,Dt]=D(kt,!Nt),Ce=N(kt,F),dt=Ce.arrowStyle,zt=Object.assign(Object.assign({},se),Ce.overlayStyle),Tt=l()(z,{[`${kt}-rtl`]:st==="rtl"},Ce.className,qe,Dt);return pe(r.createElement(c.Z,Object.assign({},Gt,{showArrow:Jt,placement:ct,mouseEnterDelay:Vt,mouseLeaveDelay:Wt,prefixCls:kt,overlayClassName:Tt,overlayStyle:Object.assign(Object.assign({},dt),Ie),getTooltipContainer:nt||le||Pt,ref:yt,builtinPlacements:Me,overlay:He,visible:Ct,onVisibleChange:Se,afterVisibleChange:Pe!=null?Pe:Re,overlayInnerStyle:zt,arrowContent:r.createElement("span",{className:`${kt}-arrow-content`}),motion:{motionName:(0,s.m)(Zt,"zoom-big-fast",K.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!Ze}),Ct?(0,u.Tm)(Yt,{className:fe}):Yt))});ie._InternalPanelDoNotUseOrYouWillBeFired=Q;var ue=ie},11575:function(d,g,e){"use strict";e.d(g,{H:function(){return f}});var r=e(70425),i=e(59301);function l(){}const c=i.createContext({add:l,remove:l});function f(h){const u=i.useContext(c),a=i.useRef();return(0,r.useEvent)(p=>{if(p){const y=h?p.querySelector(h):p;u.add(y),a.current=y}else u.remove(a.current)})}var s=null},67751:function(d){var g={utf8:{stringToBytes:function(e){return g.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(g.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var r=[],i=0;i<e.length;i++)r.push(e.charCodeAt(i)&255);return r},bytesToString:function(e){for(var r=[],i=0;i<e.length;i++)r.push(String.fromCharCode(e[i]));return r.join("")}}};d.exports=g},64018:function(){var d,g,e,r=!1,i,l;window.PR_SHOULD_USE_CONTINUATION=!0;var c,f;(function(){var s=window,h=["break,continue,do,else,for,if,return,while"],u=[h,"auto,case,char,const,default,double,enum,extern,float,goto,inline,int,long,register,restrict,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"],a=[u,"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],x=[a,"alignas,alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,delegate,dynamic_cast,explicit,export,friend,generic,late_check,mutable,namespace,noexcept,noreturn,nullptr,property,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"],p=[a,"abstract,assert,boolean,byte,extends,finally,final,implements,import,instanceof,interface,null,native,package,strictfp,super,synchronized,throws,transient"],y=[a,"abstract,add,alias,as,ascending,async,await,base,bool,by,byte,checked,decimal,delegate,descending,dynamic,event,finally,fixed,foreach,from,get,global,group,implicit,in,interface,internal,into,is,join,let,lock,null,object,out,override,orderby,params,partial,readonly,ref,remove,sbyte,sealed,select,set,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,value,var,virtual,where,yield"],_="all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,throw,true,try,unless,until,when,while,yes",b=[a,"abstract,async,await,constructor,debugger,enum,eval,export,function,get,implements,instanceof,interface,let,null,set,undefined,var,with,yield,Infinity,NaN"],S="caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END",R=[h,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"],L=[h,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"],T=[h,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],D=[x,y,p,b,S,R,L,T],M=/^(DIR|FILE|array|vector|(de|priority_)?queue|(forward_)?list|stack|(const_)?(reverse_)?iterator|(unordered_)?(multi)?(set|map)|bitset|u?(int|float)\d*)\b/,N="str",j="kwd",Q="com",X="typ",Y="lit",oe="pun",ie="pln",ue="tag",K="dec",V="src",G="atn",te="atv",q="nocode",J="(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[+\\-]=|->|\\/=?|::?|<<?=?|>>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*";function le(st){for(var yt=0,ht=!1,Je=!1,je=0,ge=st.length;je<ge;++je){var Se=st[je];if(Se.ignoreCase)Je=!0;else if(/[a-z]/i.test(Se.source.replace(/\\u[0-9a-f]{4}|\\x[0-9a-f]{2}|\\[^ux]/gi,""))){ht=!0,Je=!1;break}}var Me={b:8,t:9,n:10,v:11,f:12,r:13};function Ne(Wt){var Ie=Wt.charCodeAt(0);if(Ie!==92)return Ie;var qe=Wt.charAt(1);return Ie=Me[qe],Ie||("0"<=qe&&qe<="7"?parseInt(Wt.substring(1),8):qe==="u"||qe==="x"?parseInt(Wt.substring(2),16):Wt.charCodeAt(1))}function He(Wt){if(Wt<32)return(Wt<16?"\\x0":"\\x")+Wt.toString(16);var Ie=String.fromCharCode(Wt);return Ie==="\\"||Ie==="-"||Ie==="]"||Ie==="^"?"\\"+Ie:Ie}function nt(Wt){var Ie=Wt.substring(1,Wt.length-1).match(new RegExp("\\\\u[0-9A-Fa-f]{4}|\\\\x[0-9A-Fa-f]{2}|\\\\[0-3][0-7]{0,2}|\\\\[0-7]{1,2}|\\\\[\\s\\S]|-|[^-\\\\]","g")),qe=[],Gt=Ie[0]==="^",kt=["["];Gt&&kt.push("^");for(var Zt=Gt?1:0,Nt=Ie.length;Zt<Nt;++Zt){var Ct=Ie[Zt];if(/\\[bdsw]/i.test(Ct))kt.push(Ct);else{var Yt=Ne(Ct),We;Zt+2<Nt&&Ie[Zt+1]==="-"?(We=Ne(Ie[Zt+2]),Zt+=2):We=Yt,qe.push([Yt,We]),We<65||Yt>122||(We<65||Yt>90||qe.push([Math.max(65,Yt)|32,Math.min(We,90)|32]),We<97||Yt>122||qe.push([Math.max(97,Yt)&-33,Math.min(We,122)&-33]))}}qe.sort(function(Ce,dt){return Ce[0]-dt[0]||dt[1]-Ce[1]});for(var fe=[],pe=[],Zt=0;Zt<qe.length;++Zt){var Dt=qe[Zt];Dt[0]<=pe[1]+1?pe[1]=Math.max(pe[1],Dt[1]):fe.push(pe=Dt)}for(var Zt=0;Zt<fe.length;++Zt){var Dt=fe[Zt];kt.push(He(Dt[0])),Dt[1]>Dt[0]&&(Dt[1]+1>Dt[0]&&kt.push("-"),kt.push(He(Dt[1])))}return kt.push("]"),kt.join("")}function ct(Wt){for(var Ie=Wt.source.match(new RegExp("(?:\\[(?:[^\\x5C\\x5D]|\\\\[\\s\\S])*\\]|\\\\u[A-Fa-f0-9]{4}|\\\\x[A-Fa-f0-9]{2}|\\\\[0-9]+|\\\\[^ux0-9]|\\(\\?[:!=]|[\\(\\)\\^]|[^\\x5B\\x5C\\(\\)\\^]+)","g")),qe=Ie.length,Gt=[],kt=0,Zt=0;kt<qe;++kt){var Nt=Ie[kt];if(Nt==="(")++Zt;else if(Nt.charAt(0)==="\\"){var Ct=+Nt.substring(1);Ct&&(Ct<=Zt?Gt[Ct]=-1:Ie[kt]=He(Ct))}}for(var kt=1;kt<Gt.length;++kt)Gt[kt]===-1&&(Gt[kt]=++yt);for(var kt=0,Zt=0;kt<qe;++kt){var Nt=Ie[kt];if(Nt==="(")++Zt,Gt[Zt]||(Ie[kt]="(?:");else if(Nt.charAt(0)==="\\"){var Ct=+Nt.substring(1);Ct&&Ct<=Zt&&(Ie[kt]="\\"+Gt[Ct])}}for(var kt=0;kt<qe;++kt)Ie[kt]==="^"&&Ie[kt+1]!=="^"&&(Ie[kt]="");if(Wt.ignoreCase&&ht)for(var kt=0;kt<qe;++kt){var Nt=Ie[kt],Yt=Nt.charAt(0);Nt.length>=2&&Yt==="["?Ie[kt]=nt(Nt):Yt!=="\\"&&(Ie[kt]=Nt.replace(/[a-zA-Z]/g,function(pe){var Dt=pe.charCodeAt(0);return"["+String.fromCharCode(Dt&-33,Dt|32)+"]"}))}return Ie.join("")}for(var Vt=[],je=0,ge=st.length;je<ge;++je){var Se=st[je];if(Se.global||Se.multiline)throw new Error(""+Se);Vt.push("(?:"+ct(Se)+")")}return new RegExp(Vt.join("|"),Je?"gi":"g")}function z(st,yt){var ht=/(?:^|\s)nocode(?:\s|$)/,Je=[],je=0,ge=[],Se=0;function Me(Ne){var He=Ne.nodeType;if(He==1){if(ht.test(Ne.className))return;for(var nt=Ne.firstChild;nt;nt=nt.nextSibling)Me(nt);var ct=Ne.nodeName.toLowerCase();(ct==="br"||ct==="li")&&(Je[Se]=`
`,ge[Se<<1]=je++,ge[Se++<<1|1]=Ne)}else if(He==3||He==4){var Vt=Ne.nodeValue;Vt.length&&(yt?Vt=Vt.replace(/\r\n?/g,`
`):Vt=Vt.replace(/[ \t\r\n]+/g," "),Je[Se]=Vt,ge[Se<<1]=je,je+=Vt.length,ge[Se++<<1|1]=Ne)}}return Me(st),{sourceCode:Je.join("").replace(/\n$/,""),spans:ge}}function F(st,yt,ht,Je,je){if(ht){var ge={sourceNode:st,pre:1,langExtension:null,numberLines:null,sourceCode:ht,spans:null,basePos:yt,decorations:null};Je(ge),je.push.apply(je,ge.decorations)}}var se=/\S/;function _e(st){for(var yt=void 0,ht=st.firstChild;ht;ht=ht.nextSibling){var Je=ht.nodeType;yt=Je===1?yt?st:ht:Je===3&&se.test(ht.nodeValue)?st:yt}return yt===st?void 0:yt}function Pe(st,yt){var ht={},Je;(function(){for(var Se=st.concat(yt),Me=[],Ne={},He=0,nt=Se.length;He<nt;++He){var ct=Se[He],Vt=ct[3];if(Vt)for(var Wt=Vt.length;--Wt>=0;)ht[Vt.charAt(Wt)]=ct;var Ie=ct[1],qe=""+Ie;Ne.hasOwnProperty(qe)||(Me.push(Ie),Ne[qe]=null)}Me.push(/[\0-\uffff]/),Je=le(Me)})();var je=yt.length,ge=function(Se){for(var Me=Se.sourceCode,Ne=Se.basePos,He=Se.sourceNode,nt=[Ne,ie],ct=0,Vt=Me.match(Je)||[],Wt={},Ie=0,qe=Vt.length;Ie<qe;++Ie){var Gt=Vt[Ie],kt=Wt[Gt],Zt=void 0,Nt;if(typeof kt=="string")Nt=!1;else{var Ct=ht[Gt.charAt(0)];if(Ct)Zt=Gt.match(Ct[1]),kt=Ct[0];else{for(var Yt=0;Yt<je;++Yt)if(Ct=yt[Yt],Zt=Gt.match(Ct[1]),Zt){kt=Ct[0];break}Zt||(kt=ie)}Nt=kt.length>=5&&kt.substring(0,5)==="lang-",Nt&&!(Zt&&typeof Zt[1]=="string")&&(Nt=!1,kt=V),Nt||(Wt[Gt]=kt)}var We=ct;if(ct+=Gt.length,!Nt)nt.push(Ne+We,kt);else{var fe=Zt[1],pe=Gt.indexOf(fe),Dt=pe+fe.length;Zt[2]&&(Dt=Gt.length-Zt[2].length,pe=Dt-fe.length);var Ce=kt.substring(5);F(He,Ne+We,Gt.substring(0,pe),ge,nt),F(He,Ne+We+pe,fe,qt(Ce,fe),nt),F(He,Ne+We+Dt,Gt.substring(Dt),ge,nt)}}Se.decorations=nt};return ge}function Re(st){var yt=[],ht=[];st.tripleQuotedStrings?yt.push([N,/^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/,null,`'"`]):st.multiLineStrings?yt.push([N,/^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/,null,"'\"`"]):yt.push([N,/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/,null,`"'`]),st.verbatimStrings&&ht.push([N,/^@\"(?:[^\"]|\"\")*(?:\"|$)/,null]);var Je=st.hashComments;Je&&(st.cStyleComments?(Je>1?yt.push([Q,/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,null,"#"]):yt.push([Q,/^#(?:(?:define|e(?:l|nd)if|else|error|ifn?def|include|line|pragma|undef|warning)\b|[^\r\n]*)/,null,"#"]),ht.push([N,/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h(?:h|pp|\+\+)?|[a-z]\w*)>/,null])):yt.push([Q,/^#[^\r\n]*/,null,"#"])),st.cStyleComments&&(ht.push([Q,/^\/\/[^\r\n]*/,null]),ht.push([Q,/^\/\*[\s\S]*?(?:\*\/|$)/,null]));var je=st.regexLiterals;if(je){var ge=je>1?"":`
\r`,Se=ge?".":"[\\S\\s]",Me="/(?=[^/*"+ge+"])(?:[^/\\x5B\\x5C"+ge+"]|\\x5C"+Se+"|\\x5B(?:[^\\x5C\\x5D"+ge+"]|\\x5C"+Se+")*(?:\\x5D|$))+/";ht.push(["lang-regex",RegExp("^"+J+"("+Me+")")])}var Ne=st.types;Ne&&ht.push([X,Ne]);var He=(""+st.keywords).replace(/^ | $/g,"");He.length&&ht.push([j,new RegExp("^(?:"+He.replace(/[\s,]+/g,"|")+")\\b"),null]),yt.push([ie,/^\s+/,null,` \r
\xA0`]);var nt="^.[^\\s\\w.$@'\"`/\\\\]*";return st.regexLiterals&&(nt+="(?!s*/)"),ht.push([Y,/^@[a-z_$][a-z_$@0-9]*/i,null],[X,/^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/,null],[ie,/^[a-z_$][a-z_$@0-9]*/i,null],[Y,new RegExp("^(?:0x[a-f0-9]+|(?:\\d(?:_\\d+)*\\d*(?:\\.\\d*)?|\\.\\d\\+)(?:e[+\\-]?\\d+)?)[a-z]*","i"),null,"0123456789"],[ie,/^\\[\s\S]?/,null],[oe,new RegExp(nt),null]),Pe(yt,ht)}var Ze=Re({keywords:D,hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0});function $e(st,yt,ht){for(var Je=/(?:^|\s)nocode(?:\s|$)/,je=/\r\n?|\n/,ge=st.ownerDocument,Se=ge.createElement("li");st.firstChild;)Se.appendChild(st.firstChild);var Me=[Se];function Ne(Ie){var qe=Ie.nodeType;if(qe==1&&!Je.test(Ie.className))if(Ie.nodeName==="br")He(Ie),Ie.parentNode&&Ie.parentNode.removeChild(Ie);else for(var Gt=Ie.firstChild;Gt;Gt=Gt.nextSibling)Ne(Gt);else if((qe==3||qe==4)&&ht){var kt=Ie.nodeValue,Zt=kt.match(je);if(Zt){var Nt=kt.substring(0,Zt.index);Ie.nodeValue=Nt;var Ct=kt.substring(Zt.index+Zt[0].length);if(Ct){var Yt=Ie.parentNode;Yt.insertBefore(ge.createTextNode(Ct),Ie.nextSibling)}He(Ie),Nt||Ie.parentNode.removeChild(Ie)}}}function He(Ie){for(;!Ie.nextSibling;)if(Ie=Ie.parentNode,!Ie)return;function qe(Zt,Nt){var Ct=Nt?Zt.cloneNode(!1):Zt,Yt=Zt.parentNode;if(Yt){var We=qe(Yt,1),fe=Zt.nextSibling;We.appendChild(Ct);for(var pe=fe;pe;pe=fe)fe=pe.nextSibling,We.appendChild(pe)}return Ct}for(var Gt=qe(Ie.nextSibling,0),kt;(kt=Gt.parentNode)&&kt.nodeType===1;)Gt=kt;Me.push(Gt)}for(var nt=0;nt<Me.length;++nt)Ne(Me[nt]);yt===(yt|0)&&Me[0].setAttribute("value",yt);var ct=ge.createElement("ol");ct.className="linenums";for(var Vt=Math.max(0,yt-1|0)||0,nt=0,Wt=Me.length;nt<Wt;++nt)Se=Me[nt],Se.className="L"+(nt+Vt)%10,Se.firstChild||Se.appendChild(ge.createTextNode("\xA0")),ct.appendChild(Se);st.appendChild(ct)}function Ht(st){var yt=/\bMSIE\s(\d+)/.exec(navigator.userAgent);yt=yt&&+yt[1]<=8;var ht=/\n/g,Je=st.sourceCode,je=Je.length,ge=0,Se=st.spans,Me=Se.length,Ne=0,He=st.decorations,nt=He.length,ct=0;He[nt]=je;var Vt,Wt;for(Wt=Vt=0;Wt<nt;)He[Wt]!==He[Wt+2]?(He[Vt++]=He[Wt++],He[Vt++]=He[Wt++]):Wt+=2;for(nt=Vt,Wt=Vt=0;Wt<nt;){for(var Ie=He[Wt],qe=He[Wt+1],Gt=Wt+2;Gt+2<=nt&&He[Gt+1]===qe;)Gt+=2;He[Vt++]=Ie,He[Vt++]=qe,Wt=Gt}nt=He.length=Vt;var kt=st.sourceNode,Zt="";kt&&(Zt=kt.style.display,kt.style.display="none");try{for(var Nt=null;Ne<Me;){var Ct=Se[Ne],Yt=Se[Ne+2]||je,We=He[ct+2]||je,Gt=Math.min(Yt,We),fe=Se[Ne+1],pe;if(fe.nodeType!==1&&(pe=Je.substring(ge,Gt))){yt&&(pe=pe.replace(ht,"\r")),fe.nodeValue=pe;var Dt=fe.ownerDocument,Ce=Dt.createElement("span");Ce.className=He[ct+1];var dt=fe.parentNode;dt.replaceChild(Ce,fe),Ce.appendChild(fe),ge<Yt&&(Se[Ne+1]=fe=Dt.createTextNode(Je.substring(Gt,Yt)),dt.insertBefore(fe,Ce.nextSibling))}ge=Gt,ge>=Yt&&(Ne+=2),ge>=We&&(ct+=2)}}finally{kt&&(kt.style.display=Zt)}}var bt={};function Ot(st,yt){for(var ht=yt.length;--ht>=0;){var Je=yt[ht];bt.hasOwnProperty(Je)?s.console&&console.warn("cannot override language handler %s",Je):bt[Je]=st}}function qt(st,yt){return st&&bt.hasOwnProperty(st)||(st=/^\s*</.test(yt)?"default-markup":"default-code"),bt[st]}Ot(Ze,["default-code"]),Ot(Pe([],[[ie,/^[^<?]+/],[K,/^<!\w[^>]*(?:>|$)/],[Q,/^<\!--[\s\S]*?(?:-\->|$)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],[oe,/^(?:<[%?]|[%?]>)/],["lang-",/^<xmp\b[^>]*>([\s\S]+?)<\/xmp\b[^>]*>/i],["lang-js",/^<script\b[^>]*>([\s\S]*?)(<\/script\b[^>]*>)/i],["lang-css",/^<style\b[^>]*>([\s\S]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]),["default-markup","htm","html","mxml","xhtml","xml","xsl"]),Ot(Pe([[ie,/^[\s]+/,null,` \r
`],[te,/^(?:\"[^\"]*\"?|\'[^\']*\'?)/,null,`"'`]],[[ue,/^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i],[G,/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^>\'\"\s]*(?:[^>\'\"\s\/]|\/(?=\s)))/],[oe,/^[=<>\/]+/],["lang-js",/^on\w+\s*=\s*\"([^\"]+)\"/i],["lang-js",/^on\w+\s*=\s*\'([^\']+)\'/i],["lang-js",/^on\w+\s*=\s*([^\"\'>\s]+)/i],["lang-css",/^style\s*=\s*\"([^\"]+)\"/i],["lang-css",/^style\s*=\s*\'([^\']+)\'/i],["lang-css",/^style\s*=\s*([^\"\'>\s]+)/i]]),["in.tag"]),Ot(Pe([],[[te,/^[\s\S]+/]]),["uq.val"]),Ot(Re({keywords:x,hashComments:!0,cStyleComments:!0,types:M}),["c","cc","cpp","cxx","cyc","m"]),Ot(Re({keywords:"null,true,false"}),["json"]),Ot(Re({keywords:y,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:M}),["cs"]),Ot(Re({keywords:p,cStyleComments:!0}),["java"]),Ot(Re({keywords:T,hashComments:!0,multiLineStrings:!0}),["bash","bsh","csh","sh"]),Ot(Re({keywords:R,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py","python"]),Ot(Re({keywords:S,hashComments:!0,multiLineStrings:!0,regexLiterals:2}),["perl","pl","pm"]),Ot(Re({keywords:L,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb","ruby"]),Ot(Re({keywords:b,cStyleComments:!0,regexLiterals:!0}),["javascript","js","ts","typescript"]),Ot(Re({keywords:_,hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]),Ot(Pe([],[[N,/^[\s\S]+/]]),["regex"]);function er(st){var yt=st.langExtension;try{var ht=z(st.sourceNode,st.pre),Je=ht.sourceCode;st.sourceCode=Je,st.spans=ht.spans,st.basePos=0,qt(yt,Je)(st),Ht(st)}catch(je){s.console&&console.log(je&&je.stack||je)}}function Jt(st,yt,ht){var Je=ht||!1,je=yt||null,ge=document.createElement("div");ge.innerHTML="<pre>"+st+"</pre>",ge=ge.firstChild,Je&&$e(ge,Je,!0);var Se={langExtension:je,numberLines:Je,sourceNode:ge,pre:1,sourceCode:null,basePos:null,spans:null,decorations:null};return er(Se),ge.innerHTML}function Xe(st,yt){var ht=yt||document.body,Je=ht.ownerDocument||document;function je(Ct){return ht.getElementsByTagName(Ct)}for(var ge=[je("pre"),je("code"),je("xmp")],Se=[],Me=0;Me<ge.length;++Me)for(var Ne=0,He=ge[Me].length;Ne<He;++Ne)Se.push(ge[Me][Ne]);ge=null;var nt=Date;nt.now||(nt={now:function(){return+new Date}});var ct=0,Vt=/\blang(?:uage)?-([\w.]+)(?!\S)/,Wt=/\bprettyprint\b/,Ie=/\bprettyprinted\b/,qe=/pre|xmp/i,Gt=/^code$/i,kt=/^(?:pre|code|xmp)$/i,Zt={};function Nt(){for(var Ct=s.PR_SHOULD_USE_CONTINUATION?nt.now()+250:1/0;ct<Se.length&&nt.now()<Ct;ct++){for(var Yt=Se[ct],We=Zt,fe=Yt;fe=fe.previousSibling;){var pe=fe.nodeType,Dt=(pe===7||pe===8)&&fe.nodeValue;if(Dt?!/^\??prettify\b/.test(Dt):pe!==3||/\S/.test(fe.nodeValue))break;if(Dt){We={},Dt.replace(/\b(\w+)=([\w:.%+-]+)/g,function(At,Kr,qr){We[Kr]=qr});break}}var Ce=Yt.className;if((We!==Zt||Wt.test(Ce))&&!Ie.test(Ce)){for(var dt=!1,zt=Yt.parentNode;zt;zt=zt.parentNode){var Tt=zt.tagName;if(kt.test(Tt)&&zt.className&&Wt.test(zt.className)){dt=!0;break}}if(!dt){Yt.className+=" prettyprinted";var Oe=We.lang;if(!Oe){Oe=Ce.match(Vt);var St;!Oe&&(St=_e(Yt))&&Gt.test(St.tagName)&&(Oe=St.className.match(Vt)),Oe&&(Oe=Oe[1])}var be;if(qe.test(Yt.tagName))be=1;else{var Ke=Yt.currentStyle,vt=Je.defaultView,Rt=Ke?Ke.whiteSpace:vt&&vt.getComputedStyle?vt.getComputedStyle(Yt,null).getPropertyValue("white-space"):0;be=Rt&&Rt.substring(0,3)==="pre"}var Fe=We.linenums;(Fe=Fe==="true"||+Fe)||(Fe=Ce.match(/\blinenums\b(?::(\d+))?/),Fe=Fe?Fe[1]&&Fe[1].length?+Fe[1]:!0:!1),Fe&&$e(Yt,Fe,be);var kr={langExtension:Oe,sourceNode:Yt,numberLines:Fe,pre:be,sourceCode:null,basePos:null,spans:null,decorations:null};er(kr)}}}ct<Se.length?s.setTimeout(Nt,250):typeof st=="function"&&st()}Nt()}var Pt=s.PR={createSimpleLexer:Pe,registerLangHandler:Ot,sourceDecorator:Re,PR_ATTRIB_NAME:G,PR_ATTRIB_VALUE:te,PR_COMMENT:Q,PR_DECLARATION:K,PR_KEYWORD:j,PR_LITERAL:Y,PR_NOCODE:q,PR_PLAIN:ie,PR_PUNCTUATION:oe,PR_SOURCE:V,PR_STRING:N,PR_TAG:ue,PR_TYPE:X,prettyPrintOne:r?s.prettyPrintOne=Jt:c=Jt,prettyPrint:f=r?s.prettyPrint=Xe:f=Xe},Ut=s.define;typeof Ut=="function"&&Ut.amd&&Ut("google-code-prettify",[],function(){return Pt})})()},25769:function(d,g,e){"use strict";var r=e(98040),i={"text/plain":"Text","text/html":"Url",default:"Text"},l="Copy to clipboard: #{key}, Enter";function c(s){var h=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return s.replace(/#{\s*key\s*}/g,h)}function f(s,h){var u,a,x,p,y,_,b=!1;h||(h={}),u=h.debug||!1;try{x=r(),p=document.createRange(),y=document.getSelection(),_=document.createElement("span"),_.textContent=s,_.ariaHidden="true",_.style.all="unset",_.style.position="fixed",_.style.top=0,_.style.clip="rect(0, 0, 0, 0)",_.style.whiteSpace="pre",_.style.webkitUserSelect="text",_.style.MozUserSelect="text",_.style.msUserSelect="text",_.style.userSelect="text",_.addEventListener("copy",function(R){if(R.stopPropagation(),h.format)if(R.preventDefault(),typeof R.clipboardData=="undefined"){u&&console.warn("unable to use e.clipboardData"),u&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var L=i[h.format]||i.default;window.clipboardData.setData(L,s)}else R.clipboardData.clearData(),R.clipboardData.setData(h.format,s);h.onCopy&&(R.preventDefault(),h.onCopy(R.clipboardData))}),document.body.appendChild(_),p.selectNodeContents(_),y.addRange(p);var S=document.execCommand("copy");if(!S)throw new Error("copy command was unsuccessful");b=!0}catch(R){u&&console.error("unable to copy using execCommand: ",R),u&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(h.format||"text",s),h.onCopy&&h.onCopy(window.clipboardData),b=!0}catch(L){u&&console.error("unable to copy using clipboardData: ",L),u&&console.error("falling back to prompt"),a=c("message"in h?h.message:l),window.prompt(a,s)}}finally{y&&(typeof y.removeRange=="function"?y.removeRange(p):y.removeAllRanges()),_&&document.body.removeChild(_),x()}return b}d.exports=f},75041:function(d){(function(){var g="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",e={rotl:function(r,i){return r<<i|r>>>32-i},rotr:function(r,i){return r<<32-i|r>>>i},endian:function(r){if(r.constructor==Number)return e.rotl(r,8)&16711935|e.rotl(r,24)&4278255360;for(var i=0;i<r.length;i++)r[i]=e.endian(r[i]);return r},randomBytes:function(r){for(var i=[];r>0;r--)i.push(Math.floor(Math.random()*256));return i},bytesToWords:function(r){for(var i=[],l=0,c=0;l<r.length;l++,c+=8)i[c>>>5]|=r[l]<<24-c%32;return i},wordsToBytes:function(r){for(var i=[],l=0;l<r.length*32;l+=8)i.push(r[l>>>5]>>>24-l%32&255);return i},bytesToHex:function(r){for(var i=[],l=0;l<r.length;l++)i.push((r[l]>>>4).toString(16)),i.push((r[l]&15).toString(16));return i.join("")},hexToBytes:function(r){for(var i=[],l=0;l<r.length;l+=2)i.push(parseInt(r.substr(l,2),16));return i},bytesToBase64:function(r){for(var i=[],l=0;l<r.length;l+=3)for(var c=r[l]<<16|r[l+1]<<8|r[l+2],f=0;f<4;f++)l*8+f*6<=r.length*8?i.push(g.charAt(c>>>6*(3-f)&63)):i.push("=");return i.join("")},base64ToBytes:function(r){r=r.replace(/[^A-Z0-9+\/]/ig,"");for(var i=[],l=0,c=0;l<r.length;c=++l%4)c!=0&&i.push((g.indexOf(r.charAt(l-1))&Math.pow(2,-2*c+8)-1)<<c*2|g.indexOf(r.charAt(l))>>>6-c*2);return i}};d.exports=e})()},84452:function(d,g,e){(function(r,i,l){d.exports=g=i(e(52952),e(35909),e(34905),e(28492),e(93617))})(this,function(r){return function(){var i=r,l=i.lib,c=l.BlockCipher,f=i.algo,s=[],h=[],u=[],a=[],x=[],p=[],y=[],_=[],b=[],S=[];(function(){for(var T=[],D=0;D<256;D++)D<128?T[D]=D<<1:T[D]=D<<1^283;for(var M=0,N=0,D=0;D<256;D++){var j=N^N<<1^N<<2^N<<3^N<<4;j=j>>>8^j&255^99,s[M]=j,h[j]=M;var Q=T[M],X=T[Q],Y=T[X],oe=T[j]*257^j*16843008;u[M]=oe<<24|oe>>>8,a[M]=oe<<16|oe>>>16,x[M]=oe<<8|oe>>>24,p[M]=oe;var oe=Y*16843009^X*65537^Q*257^M*16843008;y[j]=oe<<24|oe>>>8,_[j]=oe<<16|oe>>>16,b[j]=oe<<8|oe>>>24,S[j]=oe,M?(M=Q^T[T[T[Y^Q]]],N^=T[T[N]]):M=N=1}})();var R=[0,1,2,4,8,16,32,64,128,27,54],L=f.AES=c.extend({_doReset:function(){var T;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var D=this._keyPriorReset=this._key,M=D.words,N=D.sigBytes/4,j=this._nRounds=N+6,Q=(j+1)*4,X=this._keySchedule=[],Y=0;Y<Q;Y++)Y<N?X[Y]=M[Y]:(T=X[Y-1],Y%N?N>6&&Y%N==4&&(T=s[T>>>24]<<24|s[T>>>16&255]<<16|s[T>>>8&255]<<8|s[T&255]):(T=T<<8|T>>>24,T=s[T>>>24]<<24|s[T>>>16&255]<<16|s[T>>>8&255]<<8|s[T&255],T^=R[Y/N|0]<<24),X[Y]=X[Y-N]^T);for(var oe=this._invKeySchedule=[],ie=0;ie<Q;ie++){var Y=Q-ie;if(ie%4)var T=X[Y];else var T=X[Y-4];ie<4||Y<=4?oe[ie]=T:oe[ie]=y[s[T>>>24]]^_[s[T>>>16&255]]^b[s[T>>>8&255]]^S[s[T&255]]}}},encryptBlock:function(T,D){this._doCryptBlock(T,D,this._keySchedule,u,a,x,p,s)},decryptBlock:function(T,D){var M=T[D+1];T[D+1]=T[D+3],T[D+3]=M,this._doCryptBlock(T,D,this._invKeySchedule,y,_,b,S,h);var M=T[D+1];T[D+1]=T[D+3],T[D+3]=M},_doCryptBlock:function(T,D,M,N,j,Q,X,Y){for(var oe=this._nRounds,ie=T[D]^M[0],ue=T[D+1]^M[1],K=T[D+2]^M[2],V=T[D+3]^M[3],G=4,te=1;te<oe;te++){var q=N[ie>>>24]^j[ue>>>16&255]^Q[K>>>8&255]^X[V&255]^M[G++],J=N[ue>>>24]^j[K>>>16&255]^Q[V>>>8&255]^X[ie&255]^M[G++],le=N[K>>>24]^j[V>>>16&255]^Q[ie>>>8&255]^X[ue&255]^M[G++],z=N[V>>>24]^j[ie>>>16&255]^Q[ue>>>8&255]^X[K&255]^M[G++];ie=q,ue=J,K=le,V=z}var q=(Y[ie>>>24]<<24|Y[ue>>>16&255]<<16|Y[K>>>8&255]<<8|Y[V&255])^M[G++],J=(Y[ue>>>24]<<24|Y[K>>>16&255]<<16|Y[V>>>8&255]<<8|Y[ie&255])^M[G++],le=(Y[K>>>24]<<24|Y[V>>>16&255]<<16|Y[ie>>>8&255]<<8|Y[ue&255])^M[G++],z=(Y[V>>>24]<<24|Y[ie>>>16&255]<<16|Y[ue>>>8&255]<<8|Y[K&255])^M[G++];T[D]=q,T[D+1]=J,T[D+2]=le,T[D+3]=z},keySize:256/32});i.AES=c._createHelper(L)}(),r.AES})},93617:function(d,g,e){(function(r,i,l){d.exports=g=i(e(52952),e(28492))})(this,function(r){r.lib.Cipher||function(i){var l=r,c=l.lib,f=c.Base,s=c.WordArray,h=c.BufferedBlockAlgorithm,u=l.enc,a=u.Utf8,x=u.Base64,p=l.algo,y=p.EvpKDF,_=c.Cipher=h.extend({cfg:f.extend(),createEncryptor:function(ue,K){return this.create(this._ENC_XFORM_MODE,ue,K)},createDecryptor:function(ue,K){return this.create(this._DEC_XFORM_MODE,ue,K)},init:function(ue,K,V){this.cfg=this.cfg.extend(V),this._xformMode=ue,this._key=K,this.reset()},reset:function(){h.reset.call(this),this._doReset()},process:function(ue){return this._append(ue),this._process()},finalize:function(ue){ue&&this._append(ue);var K=this._doFinalize();return K},keySize:128/32,ivSize:128/32,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function ue(K){return typeof K=="string"?ie:X}return function(K){return{encrypt:function(V,G,te){return ue(G).encrypt(K,V,G,te)},decrypt:function(V,G,te){return ue(G).decrypt(K,V,G,te)}}}}()}),b=c.StreamCipher=_.extend({_doFinalize:function(){var ue=this._process(!0);return ue},blockSize:1}),S=l.mode={},R=c.BlockCipherMode=f.extend({createEncryptor:function(ue,K){return this.Encryptor.create(ue,K)},createDecryptor:function(ue,K){return this.Decryptor.create(ue,K)},init:function(ue,K){this._cipher=ue,this._iv=K}}),L=S.CBC=function(){var ue=R.extend();ue.Encryptor=ue.extend({processBlock:function(V,G){var te=this._cipher,q=te.blockSize;K.call(this,V,G,q),te.encryptBlock(V,G),this._prevBlock=V.slice(G,G+q)}}),ue.Decryptor=ue.extend({processBlock:function(V,G){var te=this._cipher,q=te.blockSize,J=V.slice(G,G+q);te.decryptBlock(V,G),K.call(this,V,G,q),this._prevBlock=J}});function K(V,G,te){var q,J=this._iv;J?(q=J,this._iv=i):q=this._prevBlock;for(var le=0;le<te;le++)V[G+le]^=q[le]}return ue}(),T=l.pad={},D=T.Pkcs7={pad:function(ue,K){for(var V=K*4,G=V-ue.sigBytes%V,te=G<<24|G<<16|G<<8|G,q=[],J=0;J<G;J+=4)q.push(te);var le=s.create(q,G);ue.concat(le)},unpad:function(ue){var K=ue.words[ue.sigBytes-1>>>2]&255;ue.sigBytes-=K}},M=c.BlockCipher=_.extend({cfg:_.cfg.extend({mode:L,padding:D}),reset:function(){var ue;_.reset.call(this);var K=this.cfg,V=K.iv,G=K.mode;this._xformMode==this._ENC_XFORM_MODE?ue=G.createEncryptor:(ue=G.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==ue?this._mode.init(this,V&&V.words):(this._mode=ue.call(G,this,V&&V.words),this._mode.__creator=ue)},_doProcessBlock:function(ue,K){this._mode.processBlock(ue,K)},_doFinalize:function(){var ue,K=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(K.pad(this._data,this.blockSize),ue=this._process(!0)):(ue=this._process(!0),K.unpad(ue)),ue},blockSize:128/32}),N=c.CipherParams=f.extend({init:function(ue){this.mixIn(ue)},toString:function(ue){return(ue||this.formatter).stringify(this)}}),j=l.format={},Q=j.OpenSSL={stringify:function(ue){var K,V=ue.ciphertext,G=ue.salt;return G?K=s.create([1398893684,1701076831]).concat(G).concat(V):K=V,K.toString(x)},parse:function(ue){var K,V=x.parse(ue),G=V.words;return G[0]==1398893684&&G[1]==1701076831&&(K=s.create(G.slice(2,4)),G.splice(0,4),V.sigBytes-=16),N.create({ciphertext:V,salt:K})}},X=c.SerializableCipher=f.extend({cfg:f.extend({format:Q}),encrypt:function(ue,K,V,G){G=this.cfg.extend(G);var te=ue.createEncryptor(V,G),q=te.finalize(K),J=te.cfg;return N.create({ciphertext:q,key:V,iv:J.iv,algorithm:ue,mode:J.mode,padding:J.padding,blockSize:ue.blockSize,formatter:G.format})},decrypt:function(ue,K,V,G){G=this.cfg.extend(G),K=this._parse(K,G.format);var te=ue.createDecryptor(V,G).finalize(K.ciphertext);return te},_parse:function(ue,K){return typeof ue=="string"?K.parse(ue,this):ue}}),Y=l.kdf={},oe=Y.OpenSSL={execute:function(ue,K,V,G){G||(G=s.random(64/8));var te=y.create({keySize:K+V}).compute(ue,G),q=s.create(te.words.slice(K),V*4);return te.sigBytes=K*4,N.create({key:te,iv:q,salt:G})}},ie=c.PasswordBasedCipher=X.extend({cfg:X.cfg.extend({kdf:oe}),encrypt:function(ue,K,V,G){G=this.cfg.extend(G);var te=G.kdf.execute(V,ue.keySize,ue.ivSize);G.iv=te.iv;var q=X.encrypt.call(this,ue,K,te.key,G);return q.mixIn(te),q},decrypt:function(ue,K,V,G){G=this.cfg.extend(G),K=this._parse(K,G.format);var te=G.kdf.execute(V,ue.keySize,ue.ivSize,K.salt);G.iv=te.iv;var q=X.decrypt.call(this,ue,K,te.key,G);return q}})}()})},52952:function(d,g,e){(function(r,i){d.exports=g=i()})(this,function(){var r=r||function(i,l){var c;if(typeof window!="undefined"&&window.crypto&&(c=window.crypto),typeof self!="undefined"&&self.crypto&&(c=self.crypto),typeof globalThis!="undefined"&&globalThis.crypto&&(c=globalThis.crypto),!c&&typeof window!="undefined"&&window.msCrypto&&(c=window.msCrypto),!c&&typeof e.g!="undefined"&&e.g.crypto&&(c=e.g.crypto),!c)try{c=e(3828)}catch(T){}var f=function(){if(c){if(typeof c.getRandomValues=="function")try{return c.getRandomValues(new Uint32Array(1))[0]}catch(T){}if(typeof c.randomBytes=="function")try{return c.randomBytes(4).readInt32LE()}catch(T){}}throw new Error("Native crypto module could not be used to get secure random number.")},s=Object.create||function(){function T(){}return function(D){var M;return T.prototype=D,M=new T,T.prototype=null,M}}(),h={},u=h.lib={},a=u.Base=function(){return{extend:function(T){var D=s(this);return T&&D.mixIn(T),(!D.hasOwnProperty("init")||this.init===D.init)&&(D.init=function(){D.$super.init.apply(this,arguments)}),D.init.prototype=D,D.$super=this,D},create:function(){var T=this.extend();return T.init.apply(T,arguments),T},init:function(){},mixIn:function(T){for(var D in T)T.hasOwnProperty(D)&&(this[D]=T[D]);T.hasOwnProperty("toString")&&(this.toString=T.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),x=u.WordArray=a.extend({init:function(T,D){T=this.words=T||[],D!=l?this.sigBytes=D:this.sigBytes=T.length*4},toString:function(T){return(T||y).stringify(this)},concat:function(T){var D=this.words,M=T.words,N=this.sigBytes,j=T.sigBytes;if(this.clamp(),N%4)for(var Q=0;Q<j;Q++){var X=M[Q>>>2]>>>24-Q%4*8&255;D[N+Q>>>2]|=X<<24-(N+Q)%4*8}else for(var Y=0;Y<j;Y+=4)D[N+Y>>>2]=M[Y>>>2];return this.sigBytes+=j,this},clamp:function(){var T=this.words,D=this.sigBytes;T[D>>>2]&=4294967295<<32-D%4*8,T.length=i.ceil(D/4)},clone:function(){var T=a.clone.call(this);return T.words=this.words.slice(0),T},random:function(T){for(var D=[],M=0;M<T;M+=4)D.push(f());return new x.init(D,T)}}),p=h.enc={},y=p.Hex={stringify:function(T){for(var D=T.words,M=T.sigBytes,N=[],j=0;j<M;j++){var Q=D[j>>>2]>>>24-j%4*8&255;N.push((Q>>>4).toString(16)),N.push((Q&15).toString(16))}return N.join("")},parse:function(T){for(var D=T.length,M=[],N=0;N<D;N+=2)M[N>>>3]|=parseInt(T.substr(N,2),16)<<24-N%8*4;return new x.init(M,D/2)}},_=p.Latin1={stringify:function(T){for(var D=T.words,M=T.sigBytes,N=[],j=0;j<M;j++){var Q=D[j>>>2]>>>24-j%4*8&255;N.push(String.fromCharCode(Q))}return N.join("")},parse:function(T){for(var D=T.length,M=[],N=0;N<D;N++)M[N>>>2]|=(T.charCodeAt(N)&255)<<24-N%4*8;return new x.init(M,D)}},b=p.Utf8={stringify:function(T){try{return decodeURIComponent(escape(_.stringify(T)))}catch(D){throw new Error("Malformed UTF-8 data")}},parse:function(T){return _.parse(unescape(encodeURIComponent(T)))}},S=u.BufferedBlockAlgorithm=a.extend({reset:function(){this._data=new x.init,this._nDataBytes=0},_append:function(T){typeof T=="string"&&(T=b.parse(T)),this._data.concat(T),this._nDataBytes+=T.sigBytes},_process:function(T){var D,M=this._data,N=M.words,j=M.sigBytes,Q=this.blockSize,X=Q*4,Y=j/X;T?Y=i.ceil(Y):Y=i.max((Y|0)-this._minBufferSize,0);var oe=Y*Q,ie=i.min(oe*4,j);if(oe){for(var ue=0;ue<oe;ue+=Q)this._doProcessBlock(N,ue);D=N.splice(0,oe),M.sigBytes-=ie}return new x.init(D,ie)},clone:function(){var T=a.clone.call(this);return T._data=this._data.clone(),T},_minBufferSize:0}),R=u.Hasher=S.extend({cfg:a.extend(),init:function(T){this.cfg=this.cfg.extend(T),this.reset()},reset:function(){S.reset.call(this),this._doReset()},update:function(T){return this._append(T),this._process(),this},finalize:function(T){T&&this._append(T);var D=this._doFinalize();return D},blockSize:512/32,_createHelper:function(T){return function(D,M){return new T.init(M).finalize(D)}},_createHmacHelper:function(T){return function(D,M){return new L.HMAC.init(T,M).finalize(D)}}}),L=h.algo={};return h}(Math);return r})},35909:function(d,g,e){(function(r,i){d.exports=g=i(e(52952))})(this,function(r){return function(){var i=r,l=i.lib,c=l.WordArray,f=i.enc,s=f.Base64={stringify:function(u){var a=u.words,x=u.sigBytes,p=this._map;u.clamp();for(var y=[],_=0;_<x;_+=3)for(var b=a[_>>>2]>>>24-_%4*8&255,S=a[_+1>>>2]>>>24-(_+1)%4*8&255,R=a[_+2>>>2]>>>24-(_+2)%4*8&255,L=b<<16|S<<8|R,T=0;T<4&&_+T*.75<x;T++)y.push(p.charAt(L>>>6*(3-T)&63));var D=p.charAt(64);if(D)for(;y.length%4;)y.push(D);return y.join("")},parse:function(u){var a=u.length,x=this._map,p=this._reverseMap;if(!p){p=this._reverseMap=[];for(var y=0;y<x.length;y++)p[x.charCodeAt(y)]=y}var _=x.charAt(64);if(_){var b=u.indexOf(_);b!==-1&&(a=b)}return h(u,a,p)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function h(u,a,x){for(var p=[],y=0,_=0;_<a;_++)if(_%4){var b=x[u.charCodeAt(_-1)]<<_%4*2,S=x[u.charCodeAt(_)]>>>6-_%4*2,R=b|S;p[y>>>2]|=R<<24-y%4*8,y++}return c.create(p,y)}}(),r.enc.Base64})},52695:function(d,g,e){(function(r,i){d.exports=g=i(e(52952))})(this,function(r){return function(){var i=r,l=i.lib,c=l.WordArray,f=i.enc,s=f.Base64url={stringify:function(u,a=!0){var x=u.words,p=u.sigBytes,y=a?this._safe_map:this._map;u.clamp();for(var _=[],b=0;b<p;b+=3)for(var S=x[b>>>2]>>>24-b%4*8&255,R=x[b+1>>>2]>>>24-(b+1)%4*8&255,L=x[b+2>>>2]>>>24-(b+2)%4*8&255,T=S<<16|R<<8|L,D=0;D<4&&b+D*.75<p;D++)_.push(y.charAt(T>>>6*(3-D)&63));var M=y.charAt(64);if(M)for(;_.length%4;)_.push(M);return _.join("")},parse:function(u,a=!0){var x=u.length,p=a?this._safe_map:this._map,y=this._reverseMap;if(!y){y=this._reverseMap=[];for(var _=0;_<p.length;_++)y[p.charCodeAt(_)]=_}var b=p.charAt(64);if(b){var S=u.indexOf(b);S!==-1&&(x=S)}return h(u,x,y)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"};function h(u,a,x){for(var p=[],y=0,_=0;_<a;_++)if(_%4){var b=x[u.charCodeAt(_-1)]<<_%4*2,S=x[u.charCodeAt(_)]>>>6-_%4*2,R=b|S;p[y>>>2]|=R<<24-y%4*8,y++}return c.create(p,y)}}(),r.enc.Base64url})},73323:function(d,g,e){(function(r,i){d.exports=g=i(e(52952))})(this,function(r){return function(){var i=r,l=i.lib,c=l.WordArray,f=i.enc,s=f.Utf16=f.Utf16BE={stringify:function(u){for(var a=u.words,x=u.sigBytes,p=[],y=0;y<x;y+=2){var _=a[y>>>2]>>>16-y%4*8&65535;p.push(String.fromCharCode(_))}return p.join("")},parse:function(u){for(var a=u.length,x=[],p=0;p<a;p++)x[p>>>1]|=u.charCodeAt(p)<<16-p%2*16;return c.create(x,a*2)}};f.Utf16LE={stringify:function(u){for(var a=u.words,x=u.sigBytes,p=[],y=0;y<x;y+=2){var _=h(a[y>>>2]>>>16-y%4*8&65535);p.push(String.fromCharCode(_))}return p.join("")},parse:function(u){for(var a=u.length,x=[],p=0;p<a;p++)x[p>>>1]|=h(u.charCodeAt(p)<<16-p%2*16);return c.create(x,a*2)}};function h(u){return u<<8&4278255360|u>>>8&16711935}}(),r.enc.Utf16})},28492:function(d,g,e){(function(r,i,l){d.exports=g=i(e(52952),e(49479),e(83760))})(this,function(r){return function(){var i=r,l=i.lib,c=l.Base,f=l.WordArray,s=i.algo,h=s.MD5,u=s.EvpKDF=c.extend({cfg:c.extend({keySize:128/32,hasher:h,iterations:1}),init:function(a){this.cfg=this.cfg.extend(a)},compute:function(a,x){for(var p,y=this.cfg,_=y.hasher.create(),b=f.create(),S=b.words,R=y.keySize,L=y.iterations;S.length<R;){p&&_.update(p),p=_.update(a).finalize(x),_.reset();for(var T=1;T<L;T++)p=_.finalize(p),_.reset();b.concat(p)}return b.sigBytes=R*4,b}});i.EvpKDF=function(a,x,p){return u.create(p).compute(a,x)}}(),r.EvpKDF})},24408:function(d,g,e){(function(r,i,l){d.exports=g=i(e(52952),e(93617))})(this,function(r){return function(i){var l=r,c=l.lib,f=c.CipherParams,s=l.enc,h=s.Hex,u=l.format,a=u.Hex={stringify:function(x){return x.ciphertext.toString(h)},parse:function(x){var p=h.parse(x);return f.create({ciphertext:p})}}}(),r.format.Hex})},83760:function(d,g,e){(function(r,i){d.exports=g=i(e(52952))})(this,function(r){(function(){var i=r,l=i.lib,c=l.Base,f=i.enc,s=f.Utf8,h=i.algo,u=h.HMAC=c.extend({init:function(a,x){a=this._hasher=new a.init,typeof x=="string"&&(x=s.parse(x));var p=a.blockSize,y=p*4;x.sigBytes>y&&(x=a.finalize(x)),x.clamp();for(var _=this._oKey=x.clone(),b=this._iKey=x.clone(),S=_.words,R=b.words,L=0;L<p;L++)S[L]^=1549556828,R[L]^=909522486;_.sigBytes=b.sigBytes=y,this.reset()},reset:function(){var a=this._hasher;a.reset(),a.update(this._iKey)},update:function(a){return this._hasher.update(a),this},finalize:function(a){var x=this._hasher,p=x.finalize(a);x.reset();var y=x.finalize(this._oKey.clone().concat(p));return y}})})()})},28209:function(d,g,e){(function(r,i,l){d.exports=g=i(e(52952),e(41988),e(79183),e(73323),e(35909),e(52695),e(34905),e(49479),e(2481),e(93653),e(12133),e(82307),e(79421),e(25824),e(83760),e(37248),e(28492),e(93617),e(2882),e(98277),e(69972),e(30509),e(79182),e(74990),e(2593),e(10829),e(10265),e(18846),e(24408),e(84452),e(61945),e(22528),e(21865),e(35308))})(this,function(r){return r})},79183:function(d,g,e){(function(r,i){d.exports=g=i(e(52952))})(this,function(r){return function(){if(typeof ArrayBuffer=="function"){var i=r,l=i.lib,c=l.WordArray,f=c.init,s=c.init=function(h){if(h instanceof ArrayBuffer&&(h=new Uint8Array(h)),(h instanceof Int8Array||typeof Uint8ClampedArray!="undefined"&&h instanceof Uint8ClampedArray||h instanceof Int16Array||h instanceof Uint16Array||h instanceof Int32Array||h instanceof Uint32Array||h instanceof Float32Array||h instanceof Float64Array)&&(h=new Uint8Array(h.buffer,h.byteOffset,h.byteLength)),h instanceof Uint8Array){for(var u=h.byteLength,a=[],x=0;x<u;x++)a[x>>>2]|=h[x]<<24-x%4*8;f.call(this,a,u)}else f.apply(this,arguments)};s.prototype=c}}(),r.lib.WordArray})},34905:function(d,g,e){(function(r,i){d.exports=g=i(e(52952))})(this,function(r){return function(i){var l=r,c=l.lib,f=c.WordArray,s=c.Hasher,h=l.algo,u=[];(function(){for(var b=0;b<64;b++)u[b]=i.abs(i.sin(b+1))*4294967296|0})();var a=h.MD5=s.extend({_doReset:function(){this._hash=new f.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(b,S){for(var R=0;R<16;R++){var L=S+R,T=b[L];b[L]=(T<<8|T>>>24)&16711935|(T<<24|T>>>8)&4278255360}var D=this._hash.words,M=b[S+0],N=b[S+1],j=b[S+2],Q=b[S+3],X=b[S+4],Y=b[S+5],oe=b[S+6],ie=b[S+7],ue=b[S+8],K=b[S+9],V=b[S+10],G=b[S+11],te=b[S+12],q=b[S+13],J=b[S+14],le=b[S+15],z=D[0],F=D[1],se=D[2],_e=D[3];z=x(z,F,se,_e,M,7,u[0]),_e=x(_e,z,F,se,N,12,u[1]),se=x(se,_e,z,F,j,17,u[2]),F=x(F,se,_e,z,Q,22,u[3]),z=x(z,F,se,_e,X,7,u[4]),_e=x(_e,z,F,se,Y,12,u[5]),se=x(se,_e,z,F,oe,17,u[6]),F=x(F,se,_e,z,ie,22,u[7]),z=x(z,F,se,_e,ue,7,u[8]),_e=x(_e,z,F,se,K,12,u[9]),se=x(se,_e,z,F,V,17,u[10]),F=x(F,se,_e,z,G,22,u[11]),z=x(z,F,se,_e,te,7,u[12]),_e=x(_e,z,F,se,q,12,u[13]),se=x(se,_e,z,F,J,17,u[14]),F=x(F,se,_e,z,le,22,u[15]),z=p(z,F,se,_e,N,5,u[16]),_e=p(_e,z,F,se,oe,9,u[17]),se=p(se,_e,z,F,G,14,u[18]),F=p(F,se,_e,z,M,20,u[19]),z=p(z,F,se,_e,Y,5,u[20]),_e=p(_e,z,F,se,V,9,u[21]),se=p(se,_e,z,F,le,14,u[22]),F=p(F,se,_e,z,X,20,u[23]),z=p(z,F,se,_e,K,5,u[24]),_e=p(_e,z,F,se,J,9,u[25]),se=p(se,_e,z,F,Q,14,u[26]),F=p(F,se,_e,z,ue,20,u[27]),z=p(z,F,se,_e,q,5,u[28]),_e=p(_e,z,F,se,j,9,u[29]),se=p(se,_e,z,F,ie,14,u[30]),F=p(F,se,_e,z,te,20,u[31]),z=y(z,F,se,_e,Y,4,u[32]),_e=y(_e,z,F,se,ue,11,u[33]),se=y(se,_e,z,F,G,16,u[34]),F=y(F,se,_e,z,J,23,u[35]),z=y(z,F,se,_e,N,4,u[36]),_e=y(_e,z,F,se,X,11,u[37]),se=y(se,_e,z,F,ie,16,u[38]),F=y(F,se,_e,z,V,23,u[39]),z=y(z,F,se,_e,q,4,u[40]),_e=y(_e,z,F,se,M,11,u[41]),se=y(se,_e,z,F,Q,16,u[42]),F=y(F,se,_e,z,oe,23,u[43]),z=y(z,F,se,_e,K,4,u[44]),_e=y(_e,z,F,se,te,11,u[45]),se=y(se,_e,z,F,le,16,u[46]),F=y(F,se,_e,z,j,23,u[47]),z=_(z,F,se,_e,M,6,u[48]),_e=_(_e,z,F,se,ie,10,u[49]),se=_(se,_e,z,F,J,15,u[50]),F=_(F,se,_e,z,Y,21,u[51]),z=_(z,F,se,_e,te,6,u[52]),_e=_(_e,z,F,se,Q,10,u[53]),se=_(se,_e,z,F,V,15,u[54]),F=_(F,se,_e,z,N,21,u[55]),z=_(z,F,se,_e,ue,6,u[56]),_e=_(_e,z,F,se,le,10,u[57]),se=_(se,_e,z,F,oe,15,u[58]),F=_(F,se,_e,z,q,21,u[59]),z=_(z,F,se,_e,X,6,u[60]),_e=_(_e,z,F,se,G,10,u[61]),se=_(se,_e,z,F,j,15,u[62]),F=_(F,se,_e,z,K,21,u[63]),D[0]=D[0]+z|0,D[1]=D[1]+F|0,D[2]=D[2]+se|0,D[3]=D[3]+_e|0},_doFinalize:function(){var b=this._data,S=b.words,R=this._nDataBytes*8,L=b.sigBytes*8;S[L>>>5]|=128<<24-L%32;var T=i.floor(R/4294967296),D=R;S[(L+64>>>9<<4)+15]=(T<<8|T>>>24)&16711935|(T<<24|T>>>8)&4278255360,S[(L+64>>>9<<4)+14]=(D<<8|D>>>24)&16711935|(D<<24|D>>>8)&4278255360,b.sigBytes=(S.length+1)*4,this._process();for(var M=this._hash,N=M.words,j=0;j<4;j++){var Q=N[j];N[j]=(Q<<8|Q>>>24)&16711935|(Q<<24|Q>>>8)&4278255360}return M},clone:function(){var b=s.clone.call(this);return b._hash=this._hash.clone(),b}});function x(b,S,R,L,T,D,M){var N=b+(S&R|~S&L)+T+M;return(N<<D|N>>>32-D)+S}function p(b,S,R,L,T,D,M){var N=b+(S&L|R&~L)+T+M;return(N<<D|N>>>32-D)+S}function y(b,S,R,L,T,D,M){var N=b+(S^R^L)+T+M;return(N<<D|N>>>32-D)+S}function _(b,S,R,L,T,D,M){var N=b+(R^(S|~L))+T+M;return(N<<D|N>>>32-D)+S}l.MD5=s._createHelper(a),l.HmacMD5=s._createHmacHelper(a)}(Math),r.MD5})},2882:function(d,g,e){(function(r,i,l){d.exports=g=i(e(52952),e(93617))})(this,function(r){return r.mode.CFB=function(){var i=r.lib.BlockCipherMode.extend();i.Encryptor=i.extend({processBlock:function(c,f){var s=this._cipher,h=s.blockSize;l.call(this,c,f,h,s),this._prevBlock=c.slice(f,f+h)}}),i.Decryptor=i.extend({processBlock:function(c,f){var s=this._cipher,h=s.blockSize,u=c.slice(f,f+h);l.call(this,c,f,h,s),this._prevBlock=u}});function l(c,f,s,h){var u,a=this._iv;a?(u=a.slice(0),this._iv=void 0):u=this._prevBlock,h.encryptBlock(u,0);for(var x=0;x<s;x++)c[f+x]^=u[x]}return i}(),r.mode.CFB})},69972:function(d,g,e){(function(r,i,l){d.exports=g=i(e(52952),e(93617))})(this,function(r){return r.mode.CTRGladman=function(){var i=r.lib.BlockCipherMode.extend();function l(s){if((s>>24&255)===255){var h=s>>16&255,u=s>>8&255,a=s&255;h===255?(h=0,u===255?(u=0,a===255?a=0:++a):++u):++h,s=0,s+=h<<16,s+=u<<8,s+=a}else s+=16777216;return s}function c(s){return(s[0]=l(s[0]))===0&&(s[1]=l(s[1])),s}var f=i.Encryptor=i.extend({processBlock:function(s,h){var u=this._cipher,a=u.blockSize,x=this._iv,p=this._counter;x&&(p=this._counter=x.slice(0),this._iv=void 0),c(p);var y=p.slice(0);u.encryptBlock(y,0);for(var _=0;_<a;_++)s[h+_]^=y[_]}});return i.Decryptor=f,i}(),r.mode.CTRGladman})},98277:function(d,g,e){(function(r,i,l){d.exports=g=i(e(52952),e(93617))})(this,function(r){return r.mode.CTR=function(){var i=r.lib.BlockCipherMode.extend(),l=i.Encryptor=i.extend({processBlock:function(c,f){var s=this._cipher,h=s.blockSize,u=this._iv,a=this._counter;u&&(a=this._counter=u.slice(0),this._iv=void 0);var x=a.slice(0);s.encryptBlock(x,0),a[h-1]=a[h-1]+1|0;for(var p=0;p<h;p++)c[f+p]^=x[p]}});return i.Decryptor=l,i}(),r.mode.CTR})},79182:function(d,g,e){(function(r,i,l){d.exports=g=i(e(52952),e(93617))})(this,function(r){return r.mode.ECB=function(){var i=r.lib.BlockCipherMode.extend();return i.Encryptor=i.extend({processBlock:function(l,c){this._cipher.encryptBlock(l,c)}}),i.Decryptor=i.extend({processBlock:function(l,c){this._cipher.decryptBlock(l,c)}}),i}(),r.mode.ECB})},30509:function(d,g,e){(function(r,i,l){d.exports=g=i(e(52952),e(93617))})(this,function(r){return r.mode.OFB=function(){var i=r.lib.BlockCipherMode.extend(),l=i.Encryptor=i.extend({processBlock:function(c,f){var s=this._cipher,h=s.blockSize,u=this._iv,a=this._keystream;u&&(a=this._keystream=u.slice(0),this._iv=void 0),s.encryptBlock(a,0);for(var x=0;x<h;x++)c[f+x]^=a[x]}});return i.Decryptor=l,i}(),r.mode.OFB})},74990:function(d,g,e){(function(r,i,l){d.exports=g=i(e(52952),e(93617))})(this,function(r){return r.pad.AnsiX923={pad:function(i,l){var c=i.sigBytes,f=l*4,s=f-c%f,h=c+s-1;i.clamp(),i.words[h>>>2]|=s<<24-h%4*8,i.sigBytes+=s},unpad:function(i){var l=i.words[i.sigBytes-1>>>2]&255;i.sigBytes-=l}},r.pad.Ansix923})},2593:function(d,g,e){(function(r,i,l){d.exports=g=i(e(52952),e(93617))})(this,function(r){return r.pad.Iso10126={pad:function(i,l){var c=l*4,f=c-i.sigBytes%c;i.concat(r.lib.WordArray.random(f-1)).concat(r.lib.WordArray.create([f<<24],1))},unpad:function(i){var l=i.words[i.sigBytes-1>>>2]&255;i.sigBytes-=l}},r.pad.Iso10126})},10829:function(d,g,e){(function(r,i,l){d.exports=g=i(e(52952),e(93617))})(this,function(r){return r.pad.Iso97971={pad:function(i,l){i.concat(r.lib.WordArray.create([2147483648],1)),r.pad.ZeroPadding.pad(i,l)},unpad:function(i){r.pad.ZeroPadding.unpad(i),i.sigBytes--}},r.pad.Iso97971})},18846:function(d,g,e){(function(r,i,l){d.exports=g=i(e(52952),e(93617))})(this,function(r){return r.pad.NoPadding={pad:function(){},unpad:function(){}},r.pad.NoPadding})},10265:function(d,g,e){(function(r,i,l){d.exports=g=i(e(52952),e(93617))})(this,function(r){return r.pad.ZeroPadding={pad:function(i,l){var c=l*4;i.clamp(),i.sigBytes+=c-(i.sigBytes%c||c)},unpad:function(i){for(var l=i.words,c=i.sigBytes-1,c=i.sigBytes-1;c>=0;c--)if(l[c>>>2]>>>24-c%4*8&255){i.sigBytes=c+1;break}}},r.pad.ZeroPadding})},37248:function(d,g,e){(function(r,i,l){d.exports=g=i(e(52952),e(49479),e(83760))})(this,function(r){return function(){var i=r,l=i.lib,c=l.Base,f=l.WordArray,s=i.algo,h=s.SHA1,u=s.HMAC,a=s.PBKDF2=c.extend({cfg:c.extend({keySize:128/32,hasher:h,iterations:1}),init:function(x){this.cfg=this.cfg.extend(x)},compute:function(x,p){for(var y=this.cfg,_=u.create(y.hasher,x),b=f.create(),S=f.create([1]),R=b.words,L=S.words,T=y.keySize,D=y.iterations;R.length<T;){var M=_.update(p).finalize(S);_.reset();for(var N=M.words,j=N.length,Q=M,X=1;X<D;X++){Q=_.finalize(Q),_.reset();for(var Y=Q.words,oe=0;oe<j;oe++)N[oe]^=Y[oe]}b.concat(M),L[0]++}return b.sigBytes=T*4,b}});i.PBKDF2=function(x,p,y){return a.create(y).compute(x,p)}}(),r.PBKDF2})},35308:function(d,g,e){(function(r,i,l){d.exports=g=i(e(52952),e(35909),e(34905),e(28492),e(93617))})(this,function(r){return function(){var i=r,l=i.lib,c=l.StreamCipher,f=i.algo,s=[],h=[],u=[],a=f.RabbitLegacy=c.extend({_doReset:function(){var p=this._key.words,y=this.cfg.iv,_=this._X=[p[0],p[3]<<16|p[2]>>>16,p[1],p[0]<<16|p[3]>>>16,p[2],p[1]<<16|p[0]>>>16,p[3],p[2]<<16|p[1]>>>16],b=this._C=[p[2]<<16|p[2]>>>16,p[0]&4294901760|p[1]&65535,p[3]<<16|p[3]>>>16,p[1]&4294901760|p[2]&65535,p[0]<<16|p[0]>>>16,p[2]&4294901760|p[3]&65535,p[1]<<16|p[1]>>>16,p[3]&4294901760|p[0]&65535];this._b=0;for(var S=0;S<4;S++)x.call(this);for(var S=0;S<8;S++)b[S]^=_[S+4&7];if(y){var R=y.words,L=R[0],T=R[1],D=(L<<8|L>>>24)&16711935|(L<<24|L>>>8)&4278255360,M=(T<<8|T>>>24)&16711935|(T<<24|T>>>8)&4278255360,N=D>>>16|M&4294901760,j=M<<16|D&65535;b[0]^=D,b[1]^=N,b[2]^=M,b[3]^=j,b[4]^=D,b[5]^=N,b[6]^=M,b[7]^=j;for(var S=0;S<4;S++)x.call(this)}},_doProcessBlock:function(p,y){var _=this._X;x.call(this),s[0]=_[0]^_[5]>>>16^_[3]<<16,s[1]=_[2]^_[7]>>>16^_[5]<<16,s[2]=_[4]^_[1]>>>16^_[7]<<16,s[3]=_[6]^_[3]>>>16^_[1]<<16;for(var b=0;b<4;b++)s[b]=(s[b]<<8|s[b]>>>24)&16711935|(s[b]<<24|s[b]>>>8)&4278255360,p[y+b]^=s[b]},blockSize:128/32,ivSize:64/32});function x(){for(var p=this._X,y=this._C,_=0;_<8;_++)h[_]=y[_];y[0]=y[0]+1295307597+this._b|0,y[1]=y[1]+3545052371+(y[0]>>>0<h[0]>>>0?1:0)|0,y[2]=y[2]+886263092+(y[1]>>>0<h[1]>>>0?1:0)|0,y[3]=y[3]+1295307597+(y[2]>>>0<h[2]>>>0?1:0)|0,y[4]=y[4]+3545052371+(y[3]>>>0<h[3]>>>0?1:0)|0,y[5]=y[5]+886263092+(y[4]>>>0<h[4]>>>0?1:0)|0,y[6]=y[6]+1295307597+(y[5]>>>0<h[5]>>>0?1:0)|0,y[7]=y[7]+3545052371+(y[6]>>>0<h[6]>>>0?1:0)|0,this._b=y[7]>>>0<h[7]>>>0?1:0;for(var _=0;_<8;_++){var b=p[_]+y[_],S=b&65535,R=b>>>16,L=((S*S>>>17)+S*R>>>15)+R*R,T=((b&4294901760)*b|0)+((b&65535)*b|0);u[_]=L^T}p[0]=u[0]+(u[7]<<16|u[7]>>>16)+(u[6]<<16|u[6]>>>16)|0,p[1]=u[1]+(u[0]<<8|u[0]>>>24)+u[7]|0,p[2]=u[2]+(u[1]<<16|u[1]>>>16)+(u[0]<<16|u[0]>>>16)|0,p[3]=u[3]+(u[2]<<8|u[2]>>>24)+u[1]|0,p[4]=u[4]+(u[3]<<16|u[3]>>>16)+(u[2]<<16|u[2]>>>16)|0,p[5]=u[5]+(u[4]<<8|u[4]>>>24)+u[3]|0,p[6]=u[6]+(u[5]<<16|u[5]>>>16)+(u[4]<<16|u[4]>>>16)|0,p[7]=u[7]+(u[6]<<8|u[6]>>>24)+u[5]|0}i.RabbitLegacy=c._createHelper(a)}(),r.RabbitLegacy})},21865:function(d,g,e){(function(r,i,l){d.exports=g=i(e(52952),e(35909),e(34905),e(28492),e(93617))})(this,function(r){return function(){var i=r,l=i.lib,c=l.StreamCipher,f=i.algo,s=[],h=[],u=[],a=f.Rabbit=c.extend({_doReset:function(){for(var p=this._key.words,y=this.cfg.iv,_=0;_<4;_++)p[_]=(p[_]<<8|p[_]>>>24)&16711935|(p[_]<<24|p[_]>>>8)&4278255360;var b=this._X=[p[0],p[3]<<16|p[2]>>>16,p[1],p[0]<<16|p[3]>>>16,p[2],p[1]<<16|p[0]>>>16,p[3],p[2]<<16|p[1]>>>16],S=this._C=[p[2]<<16|p[2]>>>16,p[0]&4294901760|p[1]&65535,p[3]<<16|p[3]>>>16,p[1]&4294901760|p[2]&65535,p[0]<<16|p[0]>>>16,p[2]&4294901760|p[3]&65535,p[1]<<16|p[1]>>>16,p[3]&4294901760|p[0]&65535];this._b=0;for(var _=0;_<4;_++)x.call(this);for(var _=0;_<8;_++)S[_]^=b[_+4&7];if(y){var R=y.words,L=R[0],T=R[1],D=(L<<8|L>>>24)&16711935|(L<<24|L>>>8)&4278255360,M=(T<<8|T>>>24)&16711935|(T<<24|T>>>8)&4278255360,N=D>>>16|M&4294901760,j=M<<16|D&65535;S[0]^=D,S[1]^=N,S[2]^=M,S[3]^=j,S[4]^=D,S[5]^=N,S[6]^=M,S[7]^=j;for(var _=0;_<4;_++)x.call(this)}},_doProcessBlock:function(p,y){var _=this._X;x.call(this),s[0]=_[0]^_[5]>>>16^_[3]<<16,s[1]=_[2]^_[7]>>>16^_[5]<<16,s[2]=_[4]^_[1]>>>16^_[7]<<16,s[3]=_[6]^_[3]>>>16^_[1]<<16;for(var b=0;b<4;b++)s[b]=(s[b]<<8|s[b]>>>24)&16711935|(s[b]<<24|s[b]>>>8)&4278255360,p[y+b]^=s[b]},blockSize:128/32,ivSize:64/32});function x(){for(var p=this._X,y=this._C,_=0;_<8;_++)h[_]=y[_];y[0]=y[0]+1295307597+this._b|0,y[1]=y[1]+3545052371+(y[0]>>>0<h[0]>>>0?1:0)|0,y[2]=y[2]+886263092+(y[1]>>>0<h[1]>>>0?1:0)|0,y[3]=y[3]+1295307597+(y[2]>>>0<h[2]>>>0?1:0)|0,y[4]=y[4]+3545052371+(y[3]>>>0<h[3]>>>0?1:0)|0,y[5]=y[5]+886263092+(y[4]>>>0<h[4]>>>0?1:0)|0,y[6]=y[6]+1295307597+(y[5]>>>0<h[5]>>>0?1:0)|0,y[7]=y[7]+3545052371+(y[6]>>>0<h[6]>>>0?1:0)|0,this._b=y[7]>>>0<h[7]>>>0?1:0;for(var _=0;_<8;_++){var b=p[_]+y[_],S=b&65535,R=b>>>16,L=((S*S>>>17)+S*R>>>15)+R*R,T=((b&4294901760)*b|0)+((b&65535)*b|0);u[_]=L^T}p[0]=u[0]+(u[7]<<16|u[7]>>>16)+(u[6]<<16|u[6]>>>16)|0,p[1]=u[1]+(u[0]<<8|u[0]>>>24)+u[7]|0,p[2]=u[2]+(u[1]<<16|u[1]>>>16)+(u[0]<<16|u[0]>>>16)|0,p[3]=u[3]+(u[2]<<8|u[2]>>>24)+u[1]|0,p[4]=u[4]+(u[3]<<16|u[3]>>>16)+(u[2]<<16|u[2]>>>16)|0,p[5]=u[5]+(u[4]<<8|u[4]>>>24)+u[3]|0,p[6]=u[6]+(u[5]<<16|u[5]>>>16)+(u[4]<<16|u[4]>>>16)|0,p[7]=u[7]+(u[6]<<8|u[6]>>>24)+u[5]|0}i.Rabbit=c._createHelper(a)}(),r.Rabbit})},22528:function(d,g,e){(function(r,i,l){d.exports=g=i(e(52952),e(35909),e(34905),e(28492),e(93617))})(this,function(r){return function(){var i=r,l=i.lib,c=l.StreamCipher,f=i.algo,s=f.RC4=c.extend({_doReset:function(){for(var a=this._key,x=a.words,p=a.sigBytes,y=this._S=[],_=0;_<256;_++)y[_]=_;for(var _=0,b=0;_<256;_++){var S=_%p,R=x[S>>>2]>>>24-S%4*8&255;b=(b+y[_]+R)%256;var L=y[_];y[_]=y[b],y[b]=L}this._i=this._j=0},_doProcessBlock:function(a,x){a[x]^=h.call(this)},keySize:256/32,ivSize:0});function h(){for(var a=this._S,x=this._i,p=this._j,y=0,_=0;_<4;_++){x=(x+1)%256,p=(p+a[x])%256;var b=a[x];a[x]=a[p],a[p]=b,y|=a[(a[x]+a[p])%256]<<24-_*8}return this._i=x,this._j=p,y}i.RC4=c._createHelper(s);var u=f.RC4Drop=s.extend({cfg:s.cfg.extend({drop:192}),_doReset:function(){s._doReset.call(this);for(var a=this.cfg.drop;a>0;a--)h.call(this)}});i.RC4Drop=c._createHelper(u)}(),r.RC4})},25824:function(d,g,e){(function(r,i){d.exports=g=i(e(52952))})(this,function(r){return function(i){var l=r,c=l.lib,f=c.WordArray,s=c.Hasher,h=l.algo,u=f.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),a=f.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),x=f.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),p=f.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),y=f.create([0,1518500249,1859775393,2400959708,2840853838]),_=f.create([1352829926,1548603684,1836072691,2053994217,0]),b=h.RIPEMD160=s.extend({_doReset:function(){this._hash=f.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(N,j){for(var Q=0;Q<16;Q++){var X=j+Q,Y=N[X];N[X]=(Y<<8|Y>>>24)&16711935|(Y<<24|Y>>>8)&4278255360}var oe=this._hash.words,ie=y.words,ue=_.words,K=u.words,V=a.words,G=x.words,te=p.words,q,J,le,z,F,se,_e,Pe,Re,Ze;se=q=oe[0],_e=J=oe[1],Pe=le=oe[2],Re=z=oe[3],Ze=F=oe[4];for(var $e,Q=0;Q<80;Q+=1)$e=q+N[j+K[Q]]|0,Q<16?$e+=S(J,le,z)+ie[0]:Q<32?$e+=R(J,le,z)+ie[1]:Q<48?$e+=L(J,le,z)+ie[2]:Q<64?$e+=T(J,le,z)+ie[3]:$e+=D(J,le,z)+ie[4],$e=$e|0,$e=M($e,G[Q]),$e=$e+F|0,q=F,F=z,z=M(le,10),le=J,J=$e,$e=se+N[j+V[Q]]|0,Q<16?$e+=D(_e,Pe,Re)+ue[0]:Q<32?$e+=T(_e,Pe,Re)+ue[1]:Q<48?$e+=L(_e,Pe,Re)+ue[2]:Q<64?$e+=R(_e,Pe,Re)+ue[3]:$e+=S(_e,Pe,Re)+ue[4],$e=$e|0,$e=M($e,te[Q]),$e=$e+Ze|0,se=Ze,Ze=Re,Re=M(Pe,10),Pe=_e,_e=$e;$e=oe[1]+le+Re|0,oe[1]=oe[2]+z+Ze|0,oe[2]=oe[3]+F+se|0,oe[3]=oe[4]+q+_e|0,oe[4]=oe[0]+J+Pe|0,oe[0]=$e},_doFinalize:function(){var N=this._data,j=N.words,Q=this._nDataBytes*8,X=N.sigBytes*8;j[X>>>5]|=128<<24-X%32,j[(X+64>>>9<<4)+14]=(Q<<8|Q>>>24)&16711935|(Q<<24|Q>>>8)&4278255360,N.sigBytes=(j.length+1)*4,this._process();for(var Y=this._hash,oe=Y.words,ie=0;ie<5;ie++){var ue=oe[ie];oe[ie]=(ue<<8|ue>>>24)&16711935|(ue<<24|ue>>>8)&4278255360}return Y},clone:function(){var N=s.clone.call(this);return N._hash=this._hash.clone(),N}});function S(N,j,Q){return N^j^Q}function R(N,j,Q){return N&j|~N&Q}function L(N,j,Q){return(N|~j)^Q}function T(N,j,Q){return N&Q|j&~Q}function D(N,j,Q){return N^(j|~Q)}function M(N,j){return N<<j|N>>>32-j}l.RIPEMD160=s._createHelper(b),l.HmacRIPEMD160=s._createHmacHelper(b)}(Math),r.RIPEMD160})},49479:function(d,g,e){(function(r,i){d.exports=g=i(e(52952))})(this,function(r){return function(){var i=r,l=i.lib,c=l.WordArray,f=l.Hasher,s=i.algo,h=[],u=s.SHA1=f.extend({_doReset:function(){this._hash=new c.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(a,x){for(var p=this._hash.words,y=p[0],_=p[1],b=p[2],S=p[3],R=p[4],L=0;L<80;L++){if(L<16)h[L]=a[x+L]|0;else{var T=h[L-3]^h[L-8]^h[L-14]^h[L-16];h[L]=T<<1|T>>>31}var D=(y<<5|y>>>27)+R+h[L];L<20?D+=(_&b|~_&S)+1518500249:L<40?D+=(_^b^S)+1859775393:L<60?D+=(_&b|_&S|b&S)-1894007588:D+=(_^b^S)-899497514,R=S,S=b,b=_<<30|_>>>2,_=y,y=D}p[0]=p[0]+y|0,p[1]=p[1]+_|0,p[2]=p[2]+b|0,p[3]=p[3]+S|0,p[4]=p[4]+R|0},_doFinalize:function(){var a=this._data,x=a.words,p=this._nDataBytes*8,y=a.sigBytes*8;return x[y>>>5]|=128<<24-y%32,x[(y+64>>>9<<4)+14]=Math.floor(p/4294967296),x[(y+64>>>9<<4)+15]=p,a.sigBytes=x.length*4,this._process(),this._hash},clone:function(){var a=f.clone.call(this);return a._hash=this._hash.clone(),a}});i.SHA1=f._createHelper(u),i.HmacSHA1=f._createHmacHelper(u)}(),r.SHA1})},93653:function(d,g,e){(function(r,i,l){d.exports=g=i(e(52952),e(2481))})(this,function(r){return function(){var i=r,l=i.lib,c=l.WordArray,f=i.algo,s=f.SHA256,h=f.SHA224=s.extend({_doReset:function(){this._hash=new c.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var u=s._doFinalize.call(this);return u.sigBytes-=4,u}});i.SHA224=s._createHelper(h),i.HmacSHA224=s._createHmacHelper(h)}(),r.SHA224})},2481:function(d,g,e){(function(r,i){d.exports=g=i(e(52952))})(this,function(r){return function(i){var l=r,c=l.lib,f=c.WordArray,s=c.Hasher,h=l.algo,u=[],a=[];(function(){function y(R){for(var L=i.sqrt(R),T=2;T<=L;T++)if(!(R%T))return!1;return!0}function _(R){return(R-(R|0))*4294967296|0}for(var b=2,S=0;S<64;)y(b)&&(S<8&&(u[S]=_(i.pow(b,.5))),a[S]=_(i.pow(b,.3333333333333333)),S++),b++})();var x=[],p=h.SHA256=s.extend({_doReset:function(){this._hash=new f.init(u.slice(0))},_doProcessBlock:function(y,_){for(var b=this._hash.words,S=b[0],R=b[1],L=b[2],T=b[3],D=b[4],M=b[5],N=b[6],j=b[7],Q=0;Q<64;Q++){if(Q<16)x[Q]=y[_+Q]|0;else{var X=x[Q-15],Y=(X<<25|X>>>7)^(X<<14|X>>>18)^X>>>3,oe=x[Q-2],ie=(oe<<15|oe>>>17)^(oe<<13|oe>>>19)^oe>>>10;x[Q]=Y+x[Q-7]+ie+x[Q-16]}var ue=D&M^~D&N,K=S&R^S&L^R&L,V=(S<<30|S>>>2)^(S<<19|S>>>13)^(S<<10|S>>>22),G=(D<<26|D>>>6)^(D<<21|D>>>11)^(D<<7|D>>>25),te=j+G+ue+a[Q]+x[Q],q=V+K;j=N,N=M,M=D,D=T+te|0,T=L,L=R,R=S,S=te+q|0}b[0]=b[0]+S|0,b[1]=b[1]+R|0,b[2]=b[2]+L|0,b[3]=b[3]+T|0,b[4]=b[4]+D|0,b[5]=b[5]+M|0,b[6]=b[6]+N|0,b[7]=b[7]+j|0},_doFinalize:function(){var y=this._data,_=y.words,b=this._nDataBytes*8,S=y.sigBytes*8;return _[S>>>5]|=128<<24-S%32,_[(S+64>>>9<<4)+14]=i.floor(b/4294967296),_[(S+64>>>9<<4)+15]=b,y.sigBytes=_.length*4,this._process(),this._hash},clone:function(){var y=s.clone.call(this);return y._hash=this._hash.clone(),y}});l.SHA256=s._createHelper(p),l.HmacSHA256=s._createHmacHelper(p)}(Math),r.SHA256})},79421:function(d,g,e){(function(r,i,l){d.exports=g=i(e(52952),e(41988))})(this,function(r){return function(i){var l=r,c=l.lib,f=c.WordArray,s=c.Hasher,h=l.x64,u=h.Word,a=l.algo,x=[],p=[],y=[];(function(){for(var S=1,R=0,L=0;L<24;L++){x[S+5*R]=(L+1)*(L+2)/2%64;var T=R%5,D=(2*S+3*R)%5;S=T,R=D}for(var S=0;S<5;S++)for(var R=0;R<5;R++)p[S+5*R]=R+(2*S+3*R)%5*5;for(var M=1,N=0;N<24;N++){for(var j=0,Q=0,X=0;X<7;X++){if(M&1){var Y=(1<<X)-1;Y<32?Q^=1<<Y:j^=1<<Y-32}M&128?M=M<<1^113:M<<=1}y[N]=u.create(j,Q)}})();var _=[];(function(){for(var S=0;S<25;S++)_[S]=u.create()})();var b=a.SHA3=s.extend({cfg:s.cfg.extend({outputLength:512}),_doReset:function(){for(var S=this._state=[],R=0;R<25;R++)S[R]=new u.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(S,R){for(var L=this._state,T=this.blockSize/2,D=0;D<T;D++){var M=S[R+2*D],N=S[R+2*D+1];M=(M<<8|M>>>24)&16711935|(M<<24|M>>>8)&4278255360,N=(N<<8|N>>>24)&16711935|(N<<24|N>>>8)&4278255360;var j=L[D];j.high^=N,j.low^=M}for(var Q=0;Q<24;Q++){for(var X=0;X<5;X++){for(var Y=0,oe=0,ie=0;ie<5;ie++){var j=L[X+5*ie];Y^=j.high,oe^=j.low}var ue=_[X];ue.high=Y,ue.low=oe}for(var X=0;X<5;X++)for(var K=_[(X+4)%5],V=_[(X+1)%5],G=V.high,te=V.low,Y=K.high^(G<<1|te>>>31),oe=K.low^(te<<1|G>>>31),ie=0;ie<5;ie++){var j=L[X+5*ie];j.high^=Y,j.low^=oe}for(var q=1;q<25;q++){var Y,oe,j=L[q],J=j.high,le=j.low,z=x[q];z<32?(Y=J<<z|le>>>32-z,oe=le<<z|J>>>32-z):(Y=le<<z-32|J>>>64-z,oe=J<<z-32|le>>>64-z);var F=_[p[q]];F.high=Y,F.low=oe}var se=_[0],_e=L[0];se.high=_e.high,se.low=_e.low;for(var X=0;X<5;X++)for(var ie=0;ie<5;ie++){var q=X+5*ie,j=L[q],Pe=_[q],Re=_[(X+1)%5+5*ie],Ze=_[(X+2)%5+5*ie];j.high=Pe.high^~Re.high&Ze.high,j.low=Pe.low^~Re.low&Ze.low}var j=L[0],$e=y[Q];j.high^=$e.high,j.low^=$e.low}},_doFinalize:function(){var S=this._data,R=S.words,L=this._nDataBytes*8,T=S.sigBytes*8,D=this.blockSize*32;R[T>>>5]|=1<<24-T%32,R[(i.ceil((T+1)/D)*D>>>5)-1]|=128,S.sigBytes=R.length*4,this._process();for(var M=this._state,N=this.cfg.outputLength/8,j=N/8,Q=[],X=0;X<j;X++){var Y=M[X],oe=Y.high,ie=Y.low;oe=(oe<<8|oe>>>24)&16711935|(oe<<24|oe>>>8)&4278255360,ie=(ie<<8|ie>>>24)&16711935|(ie<<24|ie>>>8)&4278255360,Q.push(ie),Q.push(oe)}return new f.init(Q,N)},clone:function(){for(var S=s.clone.call(this),R=S._state=this._state.slice(0),L=0;L<25;L++)R[L]=R[L].clone();return S}});l.SHA3=s._createHelper(b),l.HmacSHA3=s._createHmacHelper(b)}(Math),r.SHA3})},82307:function(d,g,e){(function(r,i,l){d.exports=g=i(e(52952),e(41988),e(12133))})(this,function(r){return function(){var i=r,l=i.x64,c=l.Word,f=l.WordArray,s=i.algo,h=s.SHA512,u=s.SHA384=h.extend({_doReset:function(){this._hash=new f.init([new c.init(3418070365,3238371032),new c.init(1654270250,914150663),new c.init(2438529370,812702999),new c.init(355462360,4144912697),new c.init(1731405415,4290775857),new c.init(2394180231,1750603025),new c.init(3675008525,1694076839),new c.init(1203062813,3204075428)])},_doFinalize:function(){var a=h._doFinalize.call(this);return a.sigBytes-=16,a}});i.SHA384=h._createHelper(u),i.HmacSHA384=h._createHmacHelper(u)}(),r.SHA384})},12133:function(d,g,e){(function(r,i,l){d.exports=g=i(e(52952),e(41988))})(this,function(r){return function(){var i=r,l=i.lib,c=l.Hasher,f=i.x64,s=f.Word,h=f.WordArray,u=i.algo;function a(){return s.create.apply(s,arguments)}var x=[a(1116352408,3609767458),a(1899447441,602891725),a(3049323471,3964484399),a(3921009573,2173295548),a(961987163,4081628472),a(1508970993,3053834265),a(2453635748,2937671579),a(2870763221,3664609560),a(3624381080,2734883394),a(310598401,1164996542),a(607225278,1323610764),a(1426881987,3590304994),a(1925078388,4068182383),a(2162078206,991336113),a(2614888103,633803317),a(3248222580,3479774868),a(3835390401,2666613458),a(4022224774,944711139),a(264347078,2341262773),a(604807628,2007800933),a(770255983,1495990901),a(1249150122,1856431235),a(1555081692,3175218132),a(1996064986,2198950837),a(2554220882,3999719339),a(2821834349,766784016),a(2952996808,2566594879),a(3210313671,3203337956),a(3336571891,1034457026),a(3584528711,2466948901),a(113926993,3758326383),a(338241895,168717936),a(666307205,1188179964),a(773529912,1546045734),a(1294757372,1522805485),a(1396182291,2643833823),a(1695183700,2343527390),a(1986661051,1014477480),a(2177026350,1206759142),a(2456956037,344077627),a(2730485921,1290863460),a(2820302411,3158454273),a(3259730800,3505952657),a(3345764771,106217008),a(3516065817,3606008344),a(3600352804,1432725776),a(4094571909,1467031594),a(275423344,851169720),a(430227734,3100823752),a(506948616,1363258195),a(659060556,3750685593),a(883997877,3785050280),a(958139571,3318307427),a(1322822218,3812723403),a(1537002063,2003034995),a(1747873779,3602036899),a(1955562222,1575990012),a(2024104815,1125592928),a(2227730452,2716904306),a(2361852424,442776044),a(2428436474,593698344),a(2756734187,3733110249),a(3204031479,2999351573),a(3329325298,3815920427),a(3391569614,3928383900),a(3515267271,566280711),a(3940187606,3454069534),a(4118630271,4000239992),a(116418474,1914138554),a(174292421,2731055270),a(289380356,3203993006),a(460393269,320620315),a(685471733,587496836),a(852142971,1086792851),a(1017036298,365543100),a(1126000580,2618297676),a(1288033470,3409855158),a(1501505948,4234509866),a(1607167915,987167468),a(1816402316,1246189591)],p=[];(function(){for(var _=0;_<80;_++)p[_]=a()})();var y=u.SHA512=c.extend({_doReset:function(){this._hash=new h.init([new s.init(1779033703,4089235720),new s.init(3144134277,2227873595),new s.init(1013904242,4271175723),new s.init(2773480762,1595750129),new s.init(1359893119,2917565137),new s.init(2600822924,725511199),new s.init(528734635,4215389547),new s.init(1541459225,327033209)])},_doProcessBlock:function(_,b){for(var S=this._hash.words,R=S[0],L=S[1],T=S[2],D=S[3],M=S[4],N=S[5],j=S[6],Q=S[7],X=R.high,Y=R.low,oe=L.high,ie=L.low,ue=T.high,K=T.low,V=D.high,G=D.low,te=M.high,q=M.low,J=N.high,le=N.low,z=j.high,F=j.low,se=Q.high,_e=Q.low,Pe=X,Re=Y,Ze=oe,$e=ie,Ht=ue,bt=K,Ot=V,qt=G,er=te,Jt=q,Xe=J,Pt=le,Ut=z,st=F,yt=se,ht=_e,Je=0;Je<80;Je++){var je,ge,Se=p[Je];if(Je<16)ge=Se.high=_[b+Je*2]|0,je=Se.low=_[b+Je*2+1]|0;else{var Me=p[Je-15],Ne=Me.high,He=Me.low,nt=(Ne>>>1|He<<31)^(Ne>>>8|He<<24)^Ne>>>7,ct=(He>>>1|Ne<<31)^(He>>>8|Ne<<24)^(He>>>7|Ne<<25),Vt=p[Je-2],Wt=Vt.high,Ie=Vt.low,qe=(Wt>>>19|Ie<<13)^(Wt<<3|Ie>>>29)^Wt>>>6,Gt=(Ie>>>19|Wt<<13)^(Ie<<3|Wt>>>29)^(Ie>>>6|Wt<<26),kt=p[Je-7],Zt=kt.high,Nt=kt.low,Ct=p[Je-16],Yt=Ct.high,We=Ct.low;je=ct+Nt,ge=nt+Zt+(je>>>0<ct>>>0?1:0),je=je+Gt,ge=ge+qe+(je>>>0<Gt>>>0?1:0),je=je+We,ge=ge+Yt+(je>>>0<We>>>0?1:0),Se.high=ge,Se.low=je}var fe=er&Xe^~er&Ut,pe=Jt&Pt^~Jt&st,Dt=Pe&Ze^Pe&Ht^Ze&Ht,Ce=Re&$e^Re&bt^$e&bt,dt=(Pe>>>28|Re<<4)^(Pe<<30|Re>>>2)^(Pe<<25|Re>>>7),zt=(Re>>>28|Pe<<4)^(Re<<30|Pe>>>2)^(Re<<25|Pe>>>7),Tt=(er>>>14|Jt<<18)^(er>>>18|Jt<<14)^(er<<23|Jt>>>9),Oe=(Jt>>>14|er<<18)^(Jt>>>18|er<<14)^(Jt<<23|er>>>9),St=x[Je],be=St.high,Ke=St.low,vt=ht+Oe,Rt=yt+Tt+(vt>>>0<ht>>>0?1:0),vt=vt+pe,Rt=Rt+fe+(vt>>>0<pe>>>0?1:0),vt=vt+Ke,Rt=Rt+be+(vt>>>0<Ke>>>0?1:0),vt=vt+je,Rt=Rt+ge+(vt>>>0<je>>>0?1:0),Fe=zt+Ce,kr=dt+Dt+(Fe>>>0<zt>>>0?1:0);yt=Ut,ht=st,Ut=Xe,st=Pt,Xe=er,Pt=Jt,Jt=qt+vt|0,er=Ot+Rt+(Jt>>>0<qt>>>0?1:0)|0,Ot=Ht,qt=bt,Ht=Ze,bt=$e,Ze=Pe,$e=Re,Re=vt+Fe|0,Pe=Rt+kr+(Re>>>0<vt>>>0?1:0)|0}Y=R.low=Y+Re,R.high=X+Pe+(Y>>>0<Re>>>0?1:0),ie=L.low=ie+$e,L.high=oe+Ze+(ie>>>0<$e>>>0?1:0),K=T.low=K+bt,T.high=ue+Ht+(K>>>0<bt>>>0?1:0),G=D.low=G+qt,D.high=V+Ot+(G>>>0<qt>>>0?1:0),q=M.low=q+Jt,M.high=te+er+(q>>>0<Jt>>>0?1:0),le=N.low=le+Pt,N.high=J+Xe+(le>>>0<Pt>>>0?1:0),F=j.low=F+st,j.high=z+Ut+(F>>>0<st>>>0?1:0),_e=Q.low=_e+ht,Q.high=se+yt+(_e>>>0<ht>>>0?1:0)},_doFinalize:function(){var _=this._data,b=_.words,S=this._nDataBytes*8,R=_.sigBytes*8;b[R>>>5]|=128<<24-R%32,b[(R+128>>>10<<5)+30]=Math.floor(S/4294967296),b[(R+128>>>10<<5)+31]=S,_.sigBytes=b.length*4,this._process();var L=this._hash.toX32();return L},clone:function(){var _=c.clone.call(this);return _._hash=this._hash.clone(),_},blockSize:1024/32});i.SHA512=c._createHelper(y),i.HmacSHA512=c._createHmacHelper(y)}(),r.SHA512})},61945:function(d,g,e){(function(r,i,l){d.exports=g=i(e(52952),e(35909),e(34905),e(28492),e(93617))})(this,function(r){return function(){var i=r,l=i.lib,c=l.WordArray,f=l.BlockCipher,s=i.algo,h=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],u=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],a=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],x=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],p=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],y=s.DES=f.extend({_doReset:function(){for(var R=this._key,L=R.words,T=[],D=0;D<56;D++){var M=h[D]-1;T[D]=L[M>>>5]>>>31-M%32&1}for(var N=this._subKeys=[],j=0;j<16;j++){for(var Q=N[j]=[],X=a[j],D=0;D<24;D++)Q[D/6|0]|=T[(u[D]-1+X)%28]<<31-D%6,Q[4+(D/6|0)]|=T[28+(u[D+24]-1+X)%28]<<31-D%6;Q[0]=Q[0]<<1|Q[0]>>>31;for(var D=1;D<7;D++)Q[D]=Q[D]>>>(D-1)*4+3;Q[7]=Q[7]<<5|Q[7]>>>27}for(var Y=this._invSubKeys=[],D=0;D<16;D++)Y[D]=N[15-D]},encryptBlock:function(R,L){this._doCryptBlock(R,L,this._subKeys)},decryptBlock:function(R,L){this._doCryptBlock(R,L,this._invSubKeys)},_doCryptBlock:function(R,L,T){this._lBlock=R[L],this._rBlock=R[L+1],_.call(this,4,252645135),_.call(this,16,65535),b.call(this,2,858993459),b.call(this,8,16711935),_.call(this,1,1431655765);for(var D=0;D<16;D++){for(var M=T[D],N=this._lBlock,j=this._rBlock,Q=0,X=0;X<8;X++)Q|=x[X][((j^M[X])&p[X])>>>0];this._lBlock=j,this._rBlock=N^Q}var Y=this._lBlock;this._lBlock=this._rBlock,this._rBlock=Y,_.call(this,1,1431655765),b.call(this,8,16711935),b.call(this,2,858993459),_.call(this,16,65535),_.call(this,4,252645135),R[L]=this._lBlock,R[L+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function _(R,L){var T=(this._lBlock>>>R^this._rBlock)&L;this._rBlock^=T,this._lBlock^=T<<R}function b(R,L){var T=(this._rBlock>>>R^this._lBlock)&L;this._lBlock^=T,this._rBlock^=T<<R}i.DES=f._createHelper(y);var S=s.TripleDES=f.extend({_doReset:function(){var R=this._key,L=R.words;if(L.length!==2&&L.length!==4&&L.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var T=L.slice(0,2),D=L.length<4?L.slice(0,2):L.slice(2,4),M=L.length<6?L.slice(0,2):L.slice(4,6);this._des1=y.createEncryptor(c.create(T)),this._des2=y.createEncryptor(c.create(D)),this._des3=y.createEncryptor(c.create(M))},encryptBlock:function(R,L){this._des1.encryptBlock(R,L),this._des2.decryptBlock(R,L),this._des3.encryptBlock(R,L)},decryptBlock:function(R,L){this._des3.decryptBlock(R,L),this._des2.encryptBlock(R,L),this._des1.decryptBlock(R,L)},keySize:192/32,ivSize:64/32,blockSize:64/32});i.TripleDES=f._createHelper(S)}(),r.TripleDES})},41988:function(d,g,e){(function(r,i){d.exports=g=i(e(52952))})(this,function(r){return function(i){var l=r,c=l.lib,f=c.Base,s=c.WordArray,h=l.x64={},u=h.Word=f.extend({init:function(x,p){this.high=x,this.low=p}}),a=h.WordArray=f.extend({init:function(x,p){x=this.words=x||[],p!=i?this.sigBytes=p:this.sigBytes=x.length*8},toX32:function(){for(var x=this.words,p=x.length,y=[],_=0;_<p;_++){var b=x[_];y.push(b.high),y.push(b.low)}return s.create(y,this.sigBytes)},clone:function(){for(var x=f.clone.call(this),p=x.words=this.words.slice(0),y=p.length,_=0;_<y;_++)p[_]=p[_].clone();return x}})}(),r})},35413:function(d,g,e){"use strict";var r=e(57046),i=e(69574),l=e(63474),c=e(47095),f=e(99363),s=d.exports=function(h,u){var a,x,p,y,_;return arguments.length<2||typeof h!="string"?(y=u,u=h,h=null):y=arguments[2],r(h)?(a=f.call(h,"c"),x=f.call(h,"e"),p=f.call(h,"w")):(a=p=!0,x=!1),_={value:u,configurable:a,enumerable:x,writable:p},y?l(c(y),_):_};s.gs=function(h,u,a){var x,p,y,_;return typeof h!="string"?(y=a,a=u,u=h,h=null):y=arguments[3],r(u)?i(u)?r(a)?i(a)||(y=a,a=void 0):a=void 0:(y=u,u=a=void 0):u=void 0,r(h)?(x=f.call(h,"c"),p=f.call(h,"e")):(x=!0,p=!1),_={get:u,set:a,configurable:x,enumerable:p},y?l(c(y),_):_}},61186:function(d){(function(g,e){d.exports=e()})(this,function(){"use strict";var g=1e3,e=6e4,r=36e5,i="millisecond",l="second",c="minute",f="hour",s="day",h="week",u="month",a="quarter",x="year",p="date",y="Invalid Date",_=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,b=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,S={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(ie){var ue=["th","st","nd","rd"],K=ie%100;return"["+ie+(ue[(K-20)%10]||ue[K]||ue[0])+"]"}},R=function(ie,ue,K){var V=String(ie);return!V||V.length>=ue?ie:""+Array(ue+1-V.length).join(K)+ie},L={s:R,z:function(ie){var ue=-ie.utcOffset(),K=Math.abs(ue),V=Math.floor(K/60),G=K%60;return(ue<=0?"+":"-")+R(V,2,"0")+":"+R(G,2,"0")},m:function ie(ue,K){if(ue.date()<K.date())return-ie(K,ue);var V=12*(K.year()-ue.year())+(K.month()-ue.month()),G=ue.clone().add(V,u),te=K-G<0,q=ue.clone().add(V+(te?-1:1),u);return+(-(V+(K-G)/(te?G-q:q-G))||0)},a:function(ie){return ie<0?Math.ceil(ie)||0:Math.floor(ie)},p:function(ie){return{M:u,y:x,w:h,d:s,D:p,h:f,m:c,s:l,ms:i,Q:a}[ie]||String(ie||"").toLowerCase().replace(/s$/,"")},u:function(ie){return ie===void 0}},T="en",D={};D[T]=S;var M="$isDayjsObject",N=function(ie){return ie instanceof Y||!(!ie||!ie[M])},j=function ie(ue,K,V){var G;if(!ue)return T;if(typeof ue=="string"){var te=ue.toLowerCase();D[te]&&(G=te),K&&(D[te]=K,G=te);var q=ue.split("-");if(!G&&q.length>1)return ie(q[0])}else{var J=ue.name;D[J]=ue,G=J}return!V&&G&&(T=G),G||!V&&T},Q=function(ie,ue){if(N(ie))return ie.clone();var K=typeof ue=="object"?ue:{};return K.date=ie,K.args=arguments,new Y(K)},X=L;X.l=j,X.i=N,X.w=function(ie,ue){return Q(ie,{locale:ue.$L,utc:ue.$u,x:ue.$x,$offset:ue.$offset})};var Y=function(){function ie(K){this.$L=j(K.locale,null,!0),this.parse(K),this.$x=this.$x||K.x||{},this[M]=!0}var ue=ie.prototype;return ue.parse=function(K){this.$d=function(V){var G=V.date,te=V.utc;if(G===null)return new Date(NaN);if(X.u(G))return new Date;if(G instanceof Date)return new Date(G);if(typeof G=="string"&&!/Z$/i.test(G)){var q=G.match(_);if(q){var J=q[2]-1||0,le=(q[7]||"0").substring(0,3);return te?new Date(Date.UTC(q[1],J,q[3]||1,q[4]||0,q[5]||0,q[6]||0,le)):new Date(q[1],J,q[3]||1,q[4]||0,q[5]||0,q[6]||0,le)}}return new Date(G)}(K),this.init()},ue.init=function(){var K=this.$d;this.$y=K.getFullYear(),this.$M=K.getMonth(),this.$D=K.getDate(),this.$W=K.getDay(),this.$H=K.getHours(),this.$m=K.getMinutes(),this.$s=K.getSeconds(),this.$ms=K.getMilliseconds()},ue.$utils=function(){return X},ue.isValid=function(){return this.$d.toString()!==y},ue.isSame=function(K,V){var G=Q(K);return this.startOf(V)<=G&&G<=this.endOf(V)},ue.isAfter=function(K,V){return Q(K)<this.startOf(V)},ue.isBefore=function(K,V){return this.endOf(V)<Q(K)},ue.$g=function(K,V,G){return X.u(K)?this[V]:this.set(G,K)},ue.unix=function(){return Math.floor(this.valueOf()/1e3)},ue.valueOf=function(){return this.$d.getTime()},ue.startOf=function(K,V){var G=this,te=!!X.u(V)||V,q=X.p(K),J=function(Ze,$e){var Ht=X.w(G.$u?Date.UTC(G.$y,$e,Ze):new Date(G.$y,$e,Ze),G);return te?Ht:Ht.endOf(s)},le=function(Ze,$e){return X.w(G.toDate()[Ze].apply(G.toDate("s"),(te?[0,0,0,0]:[23,59,59,999]).slice($e)),G)},z=this.$W,F=this.$M,se=this.$D,_e="set"+(this.$u?"UTC":"");switch(q){case x:return te?J(1,0):J(31,11);case u:return te?J(1,F):J(0,F+1);case h:var Pe=this.$locale().weekStart||0,Re=(z<Pe?z+7:z)-Pe;return J(te?se-Re:se+(6-Re),F);case s:case p:return le(_e+"Hours",0);case f:return le(_e+"Minutes",1);case c:return le(_e+"Seconds",2);case l:return le(_e+"Milliseconds",3);default:return this.clone()}},ue.endOf=function(K){return this.startOf(K,!1)},ue.$set=function(K,V){var G,te=X.p(K),q="set"+(this.$u?"UTC":""),J=(G={},G[s]=q+"Date",G[p]=q+"Date",G[u]=q+"Month",G[x]=q+"FullYear",G[f]=q+"Hours",G[c]=q+"Minutes",G[l]=q+"Seconds",G[i]=q+"Milliseconds",G)[te],le=te===s?this.$D+(V-this.$W):V;if(te===u||te===x){var z=this.clone().set(p,1);z.$d[J](le),z.init(),this.$d=z.set(p,Math.min(this.$D,z.daysInMonth())).$d}else J&&this.$d[J](le);return this.init(),this},ue.set=function(K,V){return this.clone().$set(K,V)},ue.get=function(K){return this[X.p(K)]()},ue.add=function(K,V){var G,te=this;K=Number(K);var q=X.p(V),J=function(F){var se=Q(te);return X.w(se.date(se.date()+Math.round(F*K)),te)};if(q===u)return this.set(u,this.$M+K);if(q===x)return this.set(x,this.$y+K);if(q===s)return J(1);if(q===h)return J(7);var le=(G={},G[c]=e,G[f]=r,G[l]=g,G)[q]||1,z=this.$d.getTime()+K*le;return X.w(z,this)},ue.subtract=function(K,V){return this.add(-1*K,V)},ue.format=function(K){var V=this,G=this.$locale();if(!this.isValid())return G.invalidDate||y;var te=K||"YYYY-MM-DDTHH:mm:ssZ",q=X.z(this),J=this.$H,le=this.$m,z=this.$M,F=G.weekdays,se=G.months,_e=G.meridiem,Pe=function($e,Ht,bt,Ot){return $e&&($e[Ht]||$e(V,te))||bt[Ht].slice(0,Ot)},Re=function($e){return X.s(J%12||12,$e,"0")},Ze=_e||function($e,Ht,bt){var Ot=$e<12?"AM":"PM";return bt?Ot.toLowerCase():Ot};return te.replace(b,function($e,Ht){return Ht||function(bt){switch(bt){case"YY":return String(V.$y).slice(-2);case"YYYY":return X.s(V.$y,4,"0");case"M":return z+1;case"MM":return X.s(z+1,2,"0");case"MMM":return Pe(G.monthsShort,z,se,3);case"MMMM":return Pe(se,z);case"D":return V.$D;case"DD":return X.s(V.$D,2,"0");case"d":return String(V.$W);case"dd":return Pe(G.weekdaysMin,V.$W,F,2);case"ddd":return Pe(G.weekdaysShort,V.$W,F,3);case"dddd":return F[V.$W];case"H":return String(J);case"HH":return X.s(J,2,"0");case"h":return Re(1);case"hh":return Re(2);case"a":return Ze(J,le,!0);case"A":return Ze(J,le,!1);case"m":return String(le);case"mm":return X.s(le,2,"0");case"s":return String(V.$s);case"ss":return X.s(V.$s,2,"0");case"SSS":return X.s(V.$ms,3,"0");case"Z":return q}return null}($e)||q.replace(":","")})},ue.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},ue.diff=function(K,V,G){var te,q=this,J=X.p(V),le=Q(K),z=(le.utcOffset()-this.utcOffset())*e,F=this-le,se=function(){return X.m(q,le)};switch(J){case x:te=se()/12;break;case u:te=se();break;case a:te=se()/3;break;case h:te=(F-z)/6048e5;break;case s:te=(F-z)/864e5;break;case f:te=F/r;break;case c:te=F/e;break;case l:te=F/g;break;default:te=F}return G?te:X.a(te)},ue.daysInMonth=function(){return this.endOf(u).$D},ue.$locale=function(){return D[this.$L]},ue.locale=function(K,V){if(!K)return this.$L;var G=this.clone(),te=j(K,V,!0);return te&&(G.$L=te),G},ue.clone=function(){return X.w(this.$d,this)},ue.toDate=function(){return new Date(this.valueOf())},ue.toJSON=function(){return this.isValid()?this.toISOString():null},ue.toISOString=function(){return this.$d.toISOString()},ue.toString=function(){return this.$d.toUTCString()},ie}(),oe=Y.prototype;return Q.prototype=oe,[["$ms",i],["$s",l],["$m",c],["$H",f],["$W",s],["$M",u],["$y",x],["$D",p]].forEach(function(ie){oe[ie[1]]=function(ue){return this.$g(ue,ie[0],ie[1])}}),Q.extend=function(ie,ue){return ie.$i||(ie(ue,Y,Q),ie.$i=!0),Q},Q.locale=j,Q.isDayjs=N,Q.unix=function(ie){return Q(1e3*ie)},Q.en=D[T],Q.Ls=D,Q.p={},Q})},65517:function(d,g,e){(function(r,i){d.exports=i(e(61186))})(this,function(r){"use strict";function i(f){return f&&typeof f=="object"&&"default"in f?f:{default:f}}var l=i(r),c={name:"zh-cn",weekdays:"\u661F\u671F\u65E5_\u661F\u671F\u4E00_\u661F\u671F\u4E8C_\u661F\u671F\u4E09_\u661F\u671F\u56DB_\u661F\u671F\u4E94_\u661F\u671F\u516D".split("_"),weekdaysShort:"\u5468\u65E5_\u5468\u4E00_\u5468\u4E8C_\u5468\u4E09_\u5468\u56DB_\u5468\u4E94_\u5468\u516D".split("_"),weekdaysMin:"\u65E5_\u4E00_\u4E8C_\u4E09_\u56DB_\u4E94_\u516D".split("_"),months:"\u4E00\u6708_\u4E8C\u6708_\u4E09\u6708_\u56DB\u6708_\u4E94\u6708_\u516D\u6708_\u4E03\u6708_\u516B\u6708_\u4E5D\u6708_\u5341\u6708_\u5341\u4E00\u6708_\u5341\u4E8C\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),ordinal:function(f,s){return s==="W"?f+"\u5468":f+"\u65E5"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5E74M\u6708D\u65E5",LLL:"YYYY\u5E74M\u6708D\u65E5Ah\u70B9mm\u5206",LLLL:"YYYY\u5E74M\u6708D\u65E5ddddAh\u70B9mm\u5206",l:"YYYY/M/D",ll:"YYYY\u5E74M\u6708D\u65E5",lll:"YYYY\u5E74M\u6708D\u65E5 HH:mm",llll:"YYYY\u5E74M\u6708D\u65E5dddd HH:mm"},relativeTime:{future:"%s\u5185",past:"%s\u524D",s:"\u51E0\u79D2",m:"1 \u5206\u949F",mm:"%d \u5206\u949F",h:"1 \u5C0F\u65F6",hh:"%d \u5C0F\u65F6",d:"1 \u5929",dd:"%d \u5929",M:"1 \u4E2A\u6708",MM:"%d \u4E2A\u6708",y:"1 \u5E74",yy:"%d \u5E74"},meridiem:function(f,s){var h=100*f+s;return h<600?"\u51CC\u6668":h<900?"\u65E9\u4E0A":h<1100?"\u4E0A\u5348":h<1300?"\u4E2D\u5348":h<1800?"\u4E0B\u5348":"\u665A\u4E0A"}};return l.default.locale(c,null,!0),c})},10238:function(d){(function(g,e){d.exports=e()})(this,function(){"use strict";return function(g,e){var r=e.prototype,i=r.format;r.format=function(l){var c=this,f=this.$locale();if(!this.isValid())return i.bind(this)(l);var s=this.$utils(),h=(l||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(u){switch(u){case"Q":return Math.ceil((c.$M+1)/3);case"Do":return f.ordinal(c.$D);case"gggg":return c.weekYear();case"GGGG":return c.isoWeekYear();case"wo":return f.ordinal(c.week(),"W");case"w":case"ww":return s.s(c.week(),u==="w"?1:2,"0");case"W":case"WW":return s.s(c.isoWeek(),u==="W"?1:2,"0");case"k":case"kk":return s.s(String(c.$H===0?24:c.$H),u==="k"?1:2,"0");case"X":return Math.floor(c.$d.getTime()/1e3);case"x":return c.$d.getTime();case"z":return"["+c.offsetName()+"]";case"zzz":return"["+c.offsetName("long")+"]";default:return u}});return i.bind(this)(h)}}})},33656:function(d){(function(g,e){d.exports=e()})(this,function(){"use strict";var g={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},e=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,r=/\d/,i=/\d\d/,l=/\d\d?/,c=/\d*[^-_:/,()\s\d]+/,f={},s=function(_){return(_=+_)+(_>68?1900:2e3)},h=function(_){return function(b){this[_]=+b}},u=[/[+-]\d\d:?(\d\d)?|Z/,function(_){(this.zone||(this.zone={})).offset=function(b){if(!b||b==="Z")return 0;var S=b.match(/([+-]|\d\d)/g),R=60*S[1]+(+S[2]||0);return R===0?0:S[0]==="+"?-R:R}(_)}],a=function(_){var b=f[_];return b&&(b.indexOf?b:b.s.concat(b.f))},x=function(_,b){var S,R=f.meridiem;if(R){for(var L=1;L<=24;L+=1)if(_.indexOf(R(L,0,b))>-1){S=L>12;break}}else S=_===(b?"pm":"PM");return S},p={A:[c,function(_){this.afternoon=x(_,!1)}],a:[c,function(_){this.afternoon=x(_,!0)}],Q:[r,function(_){this.month=3*(_-1)+1}],S:[r,function(_){this.milliseconds=100*+_}],SS:[i,function(_){this.milliseconds=10*+_}],SSS:[/\d{3}/,function(_){this.milliseconds=+_}],s:[l,h("seconds")],ss:[l,h("seconds")],m:[l,h("minutes")],mm:[l,h("minutes")],H:[l,h("hours")],h:[l,h("hours")],HH:[l,h("hours")],hh:[l,h("hours")],D:[l,h("day")],DD:[i,h("day")],Do:[c,function(_){var b=f.ordinal,S=_.match(/\d+/);if(this.day=S[0],b)for(var R=1;R<=31;R+=1)b(R).replace(/\[|\]/g,"")===_&&(this.day=R)}],w:[l,h("week")],ww:[i,h("week")],M:[l,h("month")],MM:[i,h("month")],MMM:[c,function(_){var b=a("months"),S=(a("monthsShort")||b.map(function(R){return R.slice(0,3)})).indexOf(_)+1;if(S<1)throw new Error;this.month=S%12||S}],MMMM:[c,function(_){var b=a("months").indexOf(_)+1;if(b<1)throw new Error;this.month=b%12||b}],Y:[/[+-]?\d+/,h("year")],YY:[i,function(_){this.year=s(_)}],YYYY:[/\d{4}/,h("year")],Z:u,ZZ:u};function y(_){var b,S;b=_,S=f&&f.formats;for(var R=(_=b.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(Q,X,Y){var oe=Y&&Y.toUpperCase();return X||S[Y]||g[Y]||S[oe].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(ie,ue,K){return ue||K.slice(1)})})).match(e),L=R.length,T=0;T<L;T+=1){var D=R[T],M=p[D],N=M&&M[0],j=M&&M[1];R[T]=j?{regex:N,parser:j}:D.replace(/^\[|\]$/g,"")}return function(Q){for(var X={},Y=0,oe=0;Y<L;Y+=1){var ie=R[Y];if(typeof ie=="string")oe+=ie.length;else{var ue=ie.regex,K=ie.parser,V=Q.slice(oe),G=ue.exec(V)[0];K.call(X,G),Q=Q.replace(G,"")}}return function(te){var q=te.afternoon;if(q!==void 0){var J=te.hours;q?J<12&&(te.hours+=12):J===12&&(te.hours=0),delete te.afternoon}}(X),X}}return function(_,b,S){S.p.customParseFormat=!0,_&&_.parseTwoDigitYear&&(s=_.parseTwoDigitYear);var R=b.prototype,L=R.parse;R.parse=function(T){var D=T.date,M=T.utc,N=T.args;this.$u=M;var j=N[1];if(typeof j=="string"){var Q=N[2]===!0,X=N[3]===!0,Y=Q||X,oe=N[2];X&&(oe=N[2]),f=this.$locale(),!Q&&oe&&(f=S.Ls[oe]),this.$d=function(V,G,te,q){try{if(["x","X"].indexOf(G)>-1)return new Date((G==="X"?1e3:1)*V);var J=y(G)(V),le=J.year,z=J.month,F=J.day,se=J.hours,_e=J.minutes,Pe=J.seconds,Re=J.milliseconds,Ze=J.zone,$e=J.week,Ht=new Date,bt=F||(le||z?1:Ht.getDate()),Ot=le||Ht.getFullYear(),qt=0;le&&!z||(qt=z>0?z-1:Ht.getMonth());var er,Jt=se||0,Xe=_e||0,Pt=Pe||0,Ut=Re||0;return Ze?new Date(Date.UTC(Ot,qt,bt,Jt,Xe,Pt,Ut+60*Ze.offset*1e3)):te?new Date(Date.UTC(Ot,qt,bt,Jt,Xe,Pt,Ut)):(er=new Date(Ot,qt,bt,Jt,Xe,Pt,Ut),$e&&(er=q(er).week($e).toDate()),er)}catch(st){return new Date("")}}(D,j,M,S),this.init(),oe&&oe!==!0&&(this.$L=this.locale(oe).$L),Y&&D!=this.format(j)&&(this.$d=new Date("")),f={}}else if(j instanceof Array)for(var ie=j.length,ue=1;ue<=ie;ue+=1){N[1]=j[ue-1];var K=S.apply(this,N);if(K.isValid()){this.$d=K.$d,this.$L=K.$L,this.init();break}ue===ie&&(this.$d=new Date(""))}else L.call(this,T)}}})},47477:function(d){(function(g,e){d.exports=e()})(this,function(){"use strict";var g,e,r=1e3,i=6e4,l=36e5,c=864e5,f=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,s=31536e6,h=2628e6,u=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,a={years:s,months:h,days:c,hours:l,minutes:i,seconds:r,milliseconds:1,weeks:6048e5},x=function(D){return D instanceof L},p=function(D,M,N){return new L(D,N,M.$l)},y=function(D){return e.p(D)+"s"},_=function(D){return D<0},b=function(D){return _(D)?Math.ceil(D):Math.floor(D)},S=function(D){return Math.abs(D)},R=function(D,M){return D?_(D)?{negative:!0,format:""+S(D)+M}:{negative:!1,format:""+D+M}:{negative:!1,format:""}},L=function(){function D(N,j,Q){var X=this;if(this.$d={},this.$l=Q,N===void 0&&(this.$ms=0,this.parseFromMilliseconds()),j)return p(N*a[y(j)],this);if(typeof N=="number")return this.$ms=N,this.parseFromMilliseconds(),this;if(typeof N=="object")return Object.keys(N).forEach(function(ie){X.$d[y(ie)]=N[ie]}),this.calMilliseconds(),this;if(typeof N=="string"){var Y=N.match(u);if(Y){var oe=Y.slice(2).map(function(ie){return ie!=null?Number(ie):0});return this.$d.years=oe[0],this.$d.months=oe[1],this.$d.weeks=oe[2],this.$d.days=oe[3],this.$d.hours=oe[4],this.$d.minutes=oe[5],this.$d.seconds=oe[6],this.calMilliseconds(),this}}return this}var M=D.prototype;return M.calMilliseconds=function(){var N=this;this.$ms=Object.keys(this.$d).reduce(function(j,Q){return j+(N.$d[Q]||0)*a[Q]},0)},M.parseFromMilliseconds=function(){var N=this.$ms;this.$d.years=b(N/s),N%=s,this.$d.months=b(N/h),N%=h,this.$d.days=b(N/c),N%=c,this.$d.hours=b(N/l),N%=l,this.$d.minutes=b(N/i),N%=i,this.$d.seconds=b(N/r),N%=r,this.$d.milliseconds=N},M.toISOString=function(){var N=R(this.$d.years,"Y"),j=R(this.$d.months,"M"),Q=+this.$d.days||0;this.$d.weeks&&(Q+=7*this.$d.weeks);var X=R(Q,"D"),Y=R(this.$d.hours,"H"),oe=R(this.$d.minutes,"M"),ie=this.$d.seconds||0;this.$d.milliseconds&&(ie+=this.$d.milliseconds/1e3,ie=Math.round(1e3*ie)/1e3);var ue=R(ie,"S"),K=N.negative||j.negative||X.negative||Y.negative||oe.negative||ue.negative,V=Y.format||oe.format||ue.format?"T":"",G=(K?"-":"")+"P"+N.format+j.format+X.format+V+Y.format+oe.format+ue.format;return G==="P"||G==="-P"?"P0D":G},M.toJSON=function(){return this.toISOString()},M.format=function(N){var j=N||"YYYY-MM-DDTHH:mm:ss",Q={Y:this.$d.years,YY:e.s(this.$d.years,2,"0"),YYYY:e.s(this.$d.years,4,"0"),M:this.$d.months,MM:e.s(this.$d.months,2,"0"),D:this.$d.days,DD:e.s(this.$d.days,2,"0"),H:this.$d.hours,HH:e.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:e.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:e.s(this.$d.seconds,2,"0"),SSS:e.s(this.$d.milliseconds,3,"0")};return j.replace(f,function(X,Y){return Y||String(Q[X])})},M.as=function(N){return this.$ms/a[y(N)]},M.get=function(N){var j=this.$ms,Q=y(N);return Q==="milliseconds"?j%=1e3:j=Q==="weeks"?b(j/a[Q]):this.$d[Q],j||0},M.add=function(N,j,Q){var X;return X=j?N*a[y(j)]:x(N)?N.$ms:p(N,this).$ms,p(this.$ms+X*(Q?-1:1),this)},M.subtract=function(N,j){return this.add(N,j,!0)},M.locale=function(N){var j=this.clone();return j.$l=N,j},M.clone=function(){return p(this.$ms,this)},M.humanize=function(N){return g().add(this.$ms,"ms").locale(this.$l).fromNow(!N)},M.valueOf=function(){return this.asMilliseconds()},M.milliseconds=function(){return this.get("milliseconds")},M.asMilliseconds=function(){return this.as("milliseconds")},M.seconds=function(){return this.get("seconds")},M.asSeconds=function(){return this.as("seconds")},M.minutes=function(){return this.get("minutes")},M.asMinutes=function(){return this.as("minutes")},M.hours=function(){return this.get("hours")},M.asHours=function(){return this.as("hours")},M.days=function(){return this.get("days")},M.asDays=function(){return this.as("days")},M.weeks=function(){return this.get("weeks")},M.asWeeks=function(){return this.as("weeks")},M.months=function(){return this.get("months")},M.asMonths=function(){return this.as("months")},M.years=function(){return this.get("years")},M.asYears=function(){return this.as("years")},D}(),T=function(D,M,N){return D.add(M.years()*N,"y").add(M.months()*N,"M").add(M.days()*N,"d").add(M.hours()*N,"h").add(M.minutes()*N,"m").add(M.seconds()*N,"s").add(M.milliseconds()*N,"ms")};return function(D,M,N){g=N,e=N().$utils(),N.duration=function(X,Y){var oe=N.locale();return p(X,{$l:oe},Y)},N.isDuration=x;var j=M.prototype.add,Q=M.prototype.subtract;M.prototype.add=function(X,Y){return x(X)?T(this,X,1):j.bind(this)(X,Y)},M.prototype.subtract=function(X,Y){return x(X)?T(this,X,-1):Q.bind(this)(X,Y)}}})},58862:function(d){(function(g,e){d.exports=e()})(this,function(){"use strict";return function(g,e,r){r.isMoment=function(i){return r.isDayjs(i)}}})},19277:function(d){(function(g,e){d.exports=e()})(this,function(){"use strict";return function(g,e){e.prototype.isSameOrAfter=function(r,i){return this.isSame(r,i)||this.isAfter(r,i)}}})},34749:function(d){(function(g,e){d.exports=e()})(this,function(){"use strict";return function(g,e){e.prototype.isSameOrBefore=function(r,i){return this.isSame(r,i)||this.isBefore(r,i)}}})},58319:function(d){(function(g,e){d.exports=e()})(this,function(){"use strict";return function(g,e,r){var i=e.prototype,l=function(u){return u&&(u.indexOf?u:u.s)},c=function(u,a,x,p,y){var _=u.name?u:u.$locale(),b=l(_[a]),S=l(_[x]),R=b||S.map(function(T){return T.slice(0,p)});if(!y)return R;var L=_.weekStart;return R.map(function(T,D){return R[(D+(L||0))%7]})},f=function(){return r.Ls[r.locale()]},s=function(u,a){return u.formats[a]||function(x){return x.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(p,y,_){return y||_.slice(1)})}(u.formats[a.toUpperCase()])},h=function(){var u=this;return{months:function(a){return a?a.format("MMMM"):c(u,"months")},monthsShort:function(a){return a?a.format("MMM"):c(u,"monthsShort","months",3)},firstDayOfWeek:function(){return u.$locale().weekStart||0},weekdays:function(a){return a?a.format("dddd"):c(u,"weekdays")},weekdaysMin:function(a){return a?a.format("dd"):c(u,"weekdaysMin","weekdays",2)},weekdaysShort:function(a){return a?a.format("ddd"):c(u,"weekdaysShort","weekdays",3)},longDateFormat:function(a){return s(u.$locale(),a)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};i.localeData=function(){return h.bind(this)()},r.localeData=function(){var u=f();return{firstDayOfWeek:function(){return u.weekStart||0},weekdays:function(){return r.weekdays()},weekdaysShort:function(){return r.weekdaysShort()},weekdaysMin:function(){return r.weekdaysMin()},months:function(){return r.months()},monthsShort:function(){return r.monthsShort()},longDateFormat:function(a){return s(u,a)},meridiem:u.meridiem,ordinal:u.ordinal}},r.months=function(){return c(f(),"months")},r.monthsShort=function(){return c(f(),"monthsShort","months",3)},r.weekdays=function(u){return c(f(),"weekdays",null,null,u)},r.weekdaysShort=function(u){return c(f(),"weekdaysShort","weekdays",3,u)},r.weekdaysMin=function(u){return c(f(),"weekdaysMin","weekdays",2,u)}}})},62053:function(d){(function(g,e){d.exports=e()})(this,function(){"use strict";var g={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};return function(e,r,i){var l=r.prototype,c=l.format;i.en.formats=g,l.format=function(f){f===void 0&&(f="YYYY-MM-DDTHH:mm:ssZ");var s=this.$locale().formats,h=function(u,a){return u.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(x,p,y){var _=y&&y.toUpperCase();return p||a[y]||g[y]||a[_].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(b,S,R){return S||R.slice(1)})})}(f,s===void 0?{}:s);return c.call(this,h)}}})},59717:function(d){(function(g,e){d.exports=e()})(this,function(){"use strict";return function(g,e,r){g=g||{};var i=e.prototype,l={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function c(s,h,u,a){return i.fromToBase(s,h,u,a)}r.en.relativeTime=l,i.fromToBase=function(s,h,u,a,x){for(var p,y,_,b=u.$locale().relativeTime||l,S=g.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],R=S.length,L=0;L<R;L+=1){var T=S[L];T.d&&(p=a?r(s).diff(u,T.d,!0):u.diff(s,T.d,!0));var D=(g.rounding||Math.round)(Math.abs(p));if(_=p>0,D<=T.r||!T.r){D<=1&&L>0&&(T=S[L-1]);var M=b[T.l];x&&(D=x(""+D)),y=typeof M=="string"?M.replace("%d",D):M(D,h,T.l,_);break}}if(h)return y;var N=_?b.future:b.past;return typeof N=="function"?N(y):N.replace("%s",y)},i.to=function(s,h){return c(s,h,this,!0)},i.from=function(s,h){return c(s,h,this)};var f=function(s){return s.$u?r.utc():r()};i.toNow=function(s){return this.to(f(this),s)},i.fromNow=function(s){return this.from(f(this),s)}}})},23250:function(d){(function(g,e){d.exports=e()})(this,function(){"use strict";var g="week",e="year";return function(r,i,l){var c=i.prototype;c.week=function(f){if(f===void 0&&(f=null),f!==null)return this.add(7*(f-this.week()),"day");var s=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var h=l(this).startOf(e).add(1,e).date(s),u=l(this).endOf(g);if(h.isBefore(u))return 1}var a=l(this).startOf(e).date(s).startOf(g).subtract(1,"millisecond"),x=this.diff(a,g,!0);return x<0?l(this).startOf("week").week():Math.ceil(x)},c.weeks=function(f){return f===void 0&&(f=null),this.week(f)}}})},74959:function(d){(function(g,e){d.exports=e()})(this,function(){"use strict";return function(g,e){e.prototype.weekYear=function(){var r=this.month(),i=this.week(),l=this.year();return i===1&&r===11?l+1:r===0&&i>=52?l-1:l}}})},90111:function(d){(function(g,e){d.exports=e()})(this,function(){"use strict";return function(g,e){e.prototype.weekday=function(r){var i=this.$locale().weekStart||0,l=this.$W,c=(l<i?l+7:l)-i;return this.$utils().u(r)?c:this.subtract(c,"day").add(r,"day")}}})},89880:function(d){"use strict";function g(s,h,u){return h in s?Object.defineProperty(s,h,{value:u,enumerable:!0,configurable:!0,writable:!0}):s[h]=u,s}function e(s,h){var u=Object.keys(s);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(s);h&&(a=a.filter(function(x){return Object.getOwnPropertyDescriptor(s,x).enumerable})),u.push.apply(u,a)}return u}function r(s){for(var h=1;h<arguments.length;h++){var u=arguments[h]!=null?arguments[h]:{};h%2?e(Object(u),!0).forEach(function(a){g(s,a,u[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(u)):e(Object(u)).forEach(function(a){Object.defineProperty(s,a,Object.getOwnPropertyDescriptor(u,a))})}return s}var i="@@DVA_LOADING/SHOW",l="@@DVA_LOADING/HIDE",c="loading";function f(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},h=s.namespace||c,u=s.only,a=u===void 0?[]:u,x=s.except,p=x===void 0?[]:x;if(a.length>0&&p.length>0)throw Error("It is ambiguous to configurate `only` and `except` items at the same time.");var y={global:!1,models:{},effects:{}},_=g({},h,function(){var S=arguments.length>0&&arguments[0]!==void 0?arguments[0]:y,R=arguments.length>1?arguments[1]:void 0,L=R.type,T=R.payload,D=T||{},M=D.namespace,N=D.actionType,j;switch(L){case i:j=r(r({},S),{},{global:!0,models:r(r({},S.models),{},g({},M,!0)),effects:r(r({},S.effects),{},g({},N,!0))});break;case l:{var Q=r(r({},S.effects),{},g({},N,!1)),X=r(r({},S.models),{},g({},M,Object.keys(Q).some(function(oe){var ie=oe.split("/")[0];return ie!==M?!1:Q[oe]}))),Y=Object.keys(X).some(function(oe){return X[oe]});j=r(r({},S),{},{global:Y,models:X,effects:Q});break}default:j=S;break}return j});function b(S,R,L,T){var D=R.put,M=L.namespace;return a.length===0&&p.length===0||a.length>0&&a.indexOf(T)!==-1||p.length>0&&p.indexOf(T)===-1?regeneratorRuntime.mark(function N(){var j=arguments;return regeneratorRuntime.wrap(function(X){for(;;)switch(X.prev=X.next){case 0:return X.next=2,D({type:i,payload:{namespace:M,actionType:T}});case 2:return X.next=4,S.apply(void 0,j);case 4:return X.next=6,D({type:l,payload:{namespace:M,actionType:T}});case 6:case"end":return X.stop()}},N)}):S}return{extraReducers:_,onEffect:b}}d.exports=f},68192:function(d){"use strict";d.exports=function(){}},63474:function(d,g,e){"use strict";d.exports=e(71111)()?Object.assign:e(47597)},71111:function(d){"use strict";d.exports=function(){var g=Object.assign,e;return typeof g!="function"?!1:(e={foo:"raz"},g(e,{bar:"dwa"},{trzy:"trzy"}),e.foo+e.bar+e.trzy==="razdwatrzy")}},47597:function(d,g,e){"use strict";var r=e(90721),i=e(58883),l=Math.max;d.exports=function(c,f){var s,h,u=l(arguments.length,2),a;for(c=Object(i(c)),a=function(x){try{c[x]=f[x]}catch(p){s||(s=p)}},h=1;h<u;++h)f=arguments[h],r(f).forEach(a);if(s!==void 0)throw s;return c}},67390:function(d,g,e){"use strict";var r=e(68192)();d.exports=function(i){return i!==r&&i!==null}},90721:function(d,g,e){"use strict";d.exports=e(69075)()?Object.keys:e(34810)},69075:function(d){"use strict";d.exports=function(){try{return Object.keys("primitive"),!0}catch(g){return!1}}},34810:function(d,g,e){"use strict";var r=e(67390),i=Object.keys;d.exports=function(l){return i(r(l)?Object(l):l)}},47095:function(d,g,e){"use strict";var r=e(67390),i=Array.prototype.forEach,l=Object.create,c=function(f,s){var h;for(h in f)s[h]=f[h]};d.exports=function(f){var s=l(null);return i.call(arguments,function(h){r(h)&&c(Object(h),s)}),s}},15895:function(d){"use strict";d.exports=function(g){if(typeof g!="function")throw new TypeError(g+" is not a function");return g}},58883:function(d,g,e){"use strict";var r=e(67390);d.exports=function(i){if(!r(i))throw new TypeError("Cannot use null or undefined");return i}},99363:function(d,g,e){"use strict";d.exports=e(65136)()?String.prototype.contains:e(12444)},65136:function(d){"use strict";var g="razdwatrzy";d.exports=function(){return typeof g.contains!="function"?!1:g.contains("dwa")===!0&&g.contains("foo")===!1}},12444:function(d){"use strict";var g=String.prototype.indexOf;d.exports=function(e){return g.call(this,e,arguments[1])>-1}},3424:function(d,g,e){"use strict";var r=e(35413),i=e(15895),l=Function.prototype.apply,c=Function.prototype.call,f=Object.create,s=Object.defineProperty,h=Object.defineProperties,u=Object.prototype.hasOwnProperty,a={configurable:!0,enumerable:!1,writable:!0},x,p,y,_,b,S,R;x=function(L,T){var D;return i(T),u.call(this,"__ee__")?D=this.__ee__:(D=a.value=f(null),s(this,"__ee__",a),a.value=null),D[L]?typeof D[L]=="object"?D[L].push(T):D[L]=[D[L],T]:D[L]=T,this},p=function(L,T){var D,M;return i(T),M=this,x.call(this,L,D=function(){y.call(M,L,D),l.call(T,this,arguments)}),D.__eeOnceListener__=T,this},y=function(L,T){var D,M,N,j;if(i(T),!u.call(this,"__ee__"))return this;if(D=this.__ee__,!D[L])return this;if(M=D[L],typeof M=="object")for(j=0;N=M[j];++j)(N===T||N.__eeOnceListener__===T)&&(M.length===2?D[L]=M[j?0:1]:M.splice(j,1));else(M===T||M.__eeOnceListener__===T)&&delete D[L];return this},_=function(L){var T,D,M,N,j;if(u.call(this,"__ee__")&&(N=this.__ee__[L],!!N))if(typeof N=="object"){for(D=arguments.length,j=new Array(D-1),T=1;T<D;++T)j[T-1]=arguments[T];for(N=N.slice(),T=0;M=N[T];++T)l.call(M,this,j)}else switch(arguments.length){case 1:c.call(N,this);break;case 2:c.call(N,this,arguments[1]);break;case 3:c.call(N,this,arguments[1],arguments[2]);break;default:for(D=arguments.length,j=new Array(D-1),T=1;T<D;++T)j[T-1]=arguments[T];l.call(N,this,j)}},b={on:x,once:p,off:y,emit:_},S={on:r(x),once:r(p),off:r(y),emit:r(_)},R=h({},S),d.exports=g=function(L){return L==null?f(R):h(Object(L),S)},g.methods=b},89381:function(d){d.exports=function(e,r){if(r=typeof r=="number"?r:1/0,!r)return Array.isArray(e)?e.map(function(l){return l}):e;return i(e,1);function i(l,c){return l.reduce(function(f,s){return Array.isArray(s)&&c<r?f.concat(i(s,c+1)):f.concat(s)},[])}}},60288:function(d,g,e){var r;typeof window!="undefined"?r=window:typeof e.g!="undefined"?r=e.g:typeof self!="undefined"?r=self:r={},d.exports=r},85582:function(d,g,e){var r=g;r.utils=e(8631),r.common=e(28766),r.sha=e(26672),r.ripemd=e(20427),r.hmac=e(57969),r.sha1=r.sha.sha1,r.sha256=r.sha.sha256,r.sha224=r.sha.sha224,r.sha384=r.sha.sha384,r.sha512=r.sha.sha512,r.ripemd160=r.ripemd.ripemd160},28766:function(d,g,e){"use strict";var r=e(8631),i=e(61339);function l(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}g.BlockHash=l,l.prototype.update=function(f,s){if(f=r.toArray(f,s),this.pending?this.pending=this.pending.concat(f):this.pending=f,this.pendingTotal+=f.length,this.pending.length>=this._delta8){f=this.pending;var h=f.length%this._delta8;this.pending=f.slice(f.length-h,f.length),this.pending.length===0&&(this.pending=null),f=r.join32(f,0,f.length-h,this.endian);for(var u=0;u<f.length;u+=this._delta32)this._update(f,u,u+this._delta32)}return this},l.prototype.digest=function(f){return this.update(this._pad()),i(this.pending===null),this._digest(f)},l.prototype._pad=function(){var f=this.pendingTotal,s=this._delta8,h=s-(f+this.padLength)%s,u=new Array(h+this.padLength);u[0]=128;for(var a=1;a<h;a++)u[a]=0;if(f<<=3,this.endian==="big"){for(var x=8;x<this.padLength;x++)u[a++]=0;u[a++]=0,u[a++]=0,u[a++]=0,u[a++]=0,u[a++]=f>>>24&255,u[a++]=f>>>16&255,u[a++]=f>>>8&255,u[a++]=f&255}else for(u[a++]=f&255,u[a++]=f>>>8&255,u[a++]=f>>>16&255,u[a++]=f>>>24&255,u[a++]=0,u[a++]=0,u[a++]=0,u[a++]=0,x=8;x<this.padLength;x++)u[a++]=0;return u}},57969:function(d,g,e){"use strict";var r=e(8631),i=e(61339);function l(c,f,s){if(!(this instanceof l))return new l(c,f,s);this.Hash=c,this.blockSize=c.blockSize/8,this.outSize=c.outSize/8,this.inner=null,this.outer=null,this._init(r.toArray(f,s))}d.exports=l,l.prototype._init=function(f){f.length>this.blockSize&&(f=new this.Hash().update(f).digest()),i(f.length<=this.blockSize);for(var s=f.length;s<this.blockSize;s++)f.push(0);for(s=0;s<f.length;s++)f[s]^=54;for(this.inner=new this.Hash().update(f),s=0;s<f.length;s++)f[s]^=106;this.outer=new this.Hash().update(f)},l.prototype.update=function(f,s){return this.inner.update(f,s),this},l.prototype.digest=function(f){return this.outer.update(this.inner.digest()),this.outer.digest(f)}},20427:function(d,g,e){"use strict";var r=e(8631),i=e(28766),l=r.rotl32,c=r.sum32,f=r.sum32_3,s=r.sum32_4,h=i.BlockHash;function u(){if(!(this instanceof u))return new u;h.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}r.inherits(u,h),g.ripemd160=u,u.blockSize=512,u.outSize=160,u.hmacStrength=192,u.padLength=64,u.prototype._update=function(L,T){for(var D=this.h[0],M=this.h[1],N=this.h[2],j=this.h[3],Q=this.h[4],X=D,Y=M,oe=N,ie=j,ue=Q,K=0;K<80;K++){var V=c(l(s(D,a(K,M,N,j),L[y[K]+T],x(K)),b[K]),Q);D=Q,Q=j,j=l(N,10),N=M,M=V,V=c(l(s(X,a(79-K,Y,oe,ie),L[_[K]+T],p(K)),S[K]),ue),X=ue,ue=ie,ie=l(oe,10),oe=Y,Y=V}V=f(this.h[1],N,ie),this.h[1]=f(this.h[2],j,ue),this.h[2]=f(this.h[3],Q,X),this.h[3]=f(this.h[4],D,Y),this.h[4]=f(this.h[0],M,oe),this.h[0]=V},u.prototype._digest=function(L){return L==="hex"?r.toHex32(this.h,"little"):r.split32(this.h,"little")};function a(R,L,T,D){return R<=15?L^T^D:R<=31?L&T|~L&D:R<=47?(L|~T)^D:R<=63?L&D|T&~D:L^(T|~D)}function x(R){return R<=15?0:R<=31?1518500249:R<=47?1859775393:R<=63?2400959708:2840853838}function p(R){return R<=15?1352829926:R<=31?1548603684:R<=47?1836072691:R<=63?2053994217:0}var y=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],_=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],b=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],S=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]},26672:function(d,g,e){"use strict";g.sha1=e(16114),g.sha224=e(44853),g.sha256=e(6586),g.sha384=e(66474),g.sha512=e(50663)},16114:function(d,g,e){"use strict";var r=e(8631),i=e(28766),l=e(81692),c=r.rotl32,f=r.sum32,s=r.sum32_5,h=l.ft_1,u=i.BlockHash,a=[1518500249,1859775393,2400959708,3395469782];function x(){if(!(this instanceof x))return new x;u.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}r.inherits(x,u),d.exports=x,x.blockSize=512,x.outSize=160,x.hmacStrength=80,x.padLength=64,x.prototype._update=function(y,_){for(var b=this.W,S=0;S<16;S++)b[S]=y[_+S];for(;S<b.length;S++)b[S]=c(b[S-3]^b[S-8]^b[S-14]^b[S-16],1);var R=this.h[0],L=this.h[1],T=this.h[2],D=this.h[3],M=this.h[4];for(S=0;S<b.length;S++){var N=~~(S/20),j=s(c(R,5),h(N,L,T,D),M,b[S],a[N]);M=D,D=T,T=c(L,30),L=R,R=j}this.h[0]=f(this.h[0],R),this.h[1]=f(this.h[1],L),this.h[2]=f(this.h[2],T),this.h[3]=f(this.h[3],D),this.h[4]=f(this.h[4],M)},x.prototype._digest=function(y){return y==="hex"?r.toHex32(this.h,"big"):r.split32(this.h,"big")}},44853:function(d,g,e){"use strict";var r=e(8631),i=e(6586);function l(){if(!(this instanceof l))return new l;i.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}r.inherits(l,i),d.exports=l,l.blockSize=512,l.outSize=224,l.hmacStrength=192,l.padLength=64,l.prototype._digest=function(f){return f==="hex"?r.toHex32(this.h.slice(0,7),"big"):r.split32(this.h.slice(0,7),"big")}},6586:function(d,g,e){"use strict";var r=e(8631),i=e(28766),l=e(81692),c=e(61339),f=r.sum32,s=r.sum32_4,h=r.sum32_5,u=l.ch32,a=l.maj32,x=l.s0_256,p=l.s1_256,y=l.g0_256,_=l.g1_256,b=i.BlockHash,S=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function R(){if(!(this instanceof R))return new R;b.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=S,this.W=new Array(64)}r.inherits(R,b),d.exports=R,R.blockSize=512,R.outSize=256,R.hmacStrength=192,R.padLength=64,R.prototype._update=function(T,D){for(var M=this.W,N=0;N<16;N++)M[N]=T[D+N];for(;N<M.length;N++)M[N]=s(_(M[N-2]),M[N-7],y(M[N-15]),M[N-16]);var j=this.h[0],Q=this.h[1],X=this.h[2],Y=this.h[3],oe=this.h[4],ie=this.h[5],ue=this.h[6],K=this.h[7];for(c(this.k.length===M.length),N=0;N<M.length;N++){var V=h(K,p(oe),u(oe,ie,ue),this.k[N],M[N]),G=f(x(j),a(j,Q,X));K=ue,ue=ie,ie=oe,oe=f(Y,V),Y=X,X=Q,Q=j,j=f(V,G)}this.h[0]=f(this.h[0],j),this.h[1]=f(this.h[1],Q),this.h[2]=f(this.h[2],X),this.h[3]=f(this.h[3],Y),this.h[4]=f(this.h[4],oe),this.h[5]=f(this.h[5],ie),this.h[6]=f(this.h[6],ue),this.h[7]=f(this.h[7],K)},R.prototype._digest=function(T){return T==="hex"?r.toHex32(this.h,"big"):r.split32(this.h,"big")}},66474:function(d,g,e){"use strict";var r=e(8631),i=e(50663);function l(){if(!(this instanceof l))return new l;i.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}r.inherits(l,i),d.exports=l,l.blockSize=1024,l.outSize=384,l.hmacStrength=192,l.padLength=128,l.prototype._digest=function(f){return f==="hex"?r.toHex32(this.h.slice(0,12),"big"):r.split32(this.h.slice(0,12),"big")}},50663:function(d,g,e){"use strict";var r=e(8631),i=e(28766),l=e(61339),c=r.rotr64_hi,f=r.rotr64_lo,s=r.shr64_hi,h=r.shr64_lo,u=r.sum64,a=r.sum64_hi,x=r.sum64_lo,p=r.sum64_4_hi,y=r.sum64_4_lo,_=r.sum64_5_hi,b=r.sum64_5_lo,S=i.BlockHash,R=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function L(){if(!(this instanceof L))return new L;S.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=R,this.W=new Array(160)}r.inherits(L,S),d.exports=L,L.blockSize=1024,L.outSize=512,L.hmacStrength=192,L.padLength=128,L.prototype._prepareBlock=function(G,te){for(var q=this.W,J=0;J<32;J++)q[J]=G[te+J];for(;J<q.length;J+=2){var le=ue(q[J-4],q[J-3]),z=K(q[J-4],q[J-3]),F=q[J-14],se=q[J-13],_e=oe(q[J-30],q[J-29]),Pe=ie(q[J-30],q[J-29]),Re=q[J-32],Ze=q[J-31];q[J]=p(le,z,F,se,_e,Pe,Re,Ze),q[J+1]=y(le,z,F,se,_e,Pe,Re,Ze)}},L.prototype._update=function(G,te){this._prepareBlock(G,te);var q=this.W,J=this.h[0],le=this.h[1],z=this.h[2],F=this.h[3],se=this.h[4],_e=this.h[5],Pe=this.h[6],Re=this.h[7],Ze=this.h[8],$e=this.h[9],Ht=this.h[10],bt=this.h[11],Ot=this.h[12],qt=this.h[13],er=this.h[14],Jt=this.h[15];l(this.k.length===q.length);for(var Xe=0;Xe<q.length;Xe+=2){var Pt=er,Ut=Jt,st=X(Ze,$e),yt=Y(Ze,$e),ht=T(Ze,$e,Ht,bt,Ot,qt),Je=D(Ze,$e,Ht,bt,Ot,qt),je=this.k[Xe],ge=this.k[Xe+1],Se=q[Xe],Me=q[Xe+1],Ne=_(Pt,Ut,st,yt,ht,Je,je,ge,Se,Me),He=b(Pt,Ut,st,yt,ht,Je,je,ge,Se,Me);Pt=j(J,le),Ut=Q(J,le),st=M(J,le,z,F,se,_e),yt=N(J,le,z,F,se,_e);var nt=a(Pt,Ut,st,yt),ct=x(Pt,Ut,st,yt);er=Ot,Jt=qt,Ot=Ht,qt=bt,Ht=Ze,bt=$e,Ze=a(Pe,Re,Ne,He),$e=x(Re,Re,Ne,He),Pe=se,Re=_e,se=z,_e=F,z=J,F=le,J=a(Ne,He,nt,ct),le=x(Ne,He,nt,ct)}u(this.h,0,J,le),u(this.h,2,z,F),u(this.h,4,se,_e),u(this.h,6,Pe,Re),u(this.h,8,Ze,$e),u(this.h,10,Ht,bt),u(this.h,12,Ot,qt),u(this.h,14,er,Jt)},L.prototype._digest=function(G){return G==="hex"?r.toHex32(this.h,"big"):r.split32(this.h,"big")};function T(V,G,te,q,J){var le=V&te^~V&J;return le<0&&(le+=4294967296),le}function D(V,G,te,q,J,le){var z=G&q^~G&le;return z<0&&(z+=4294967296),z}function M(V,G,te,q,J){var le=V&te^V&J^te&J;return le<0&&(le+=4294967296),le}function N(V,G,te,q,J,le){var z=G&q^G&le^q&le;return z<0&&(z+=4294967296),z}function j(V,G){var te=c(V,G,28),q=c(G,V,2),J=c(G,V,7),le=te^q^J;return le<0&&(le+=4294967296),le}function Q(V,G){var te=f(V,G,28),q=f(G,V,2),J=f(G,V,7),le=te^q^J;return le<0&&(le+=4294967296),le}function X(V,G){var te=c(V,G,14),q=c(V,G,18),J=c(G,V,9),le=te^q^J;return le<0&&(le+=4294967296),le}function Y(V,G){var te=f(V,G,14),q=f(V,G,18),J=f(G,V,9),le=te^q^J;return le<0&&(le+=4294967296),le}function oe(V,G){var te=c(V,G,1),q=c(V,G,8),J=s(V,G,7),le=te^q^J;return le<0&&(le+=4294967296),le}function ie(V,G){var te=f(V,G,1),q=f(V,G,8),J=h(V,G,7),le=te^q^J;return le<0&&(le+=4294967296),le}function ue(V,G){var te=c(V,G,19),q=c(G,V,29),J=s(V,G,6),le=te^q^J;return le<0&&(le+=4294967296),le}function K(V,G){var te=f(V,G,19),q=f(G,V,29),J=h(V,G,6),le=te^q^J;return le<0&&(le+=4294967296),le}},81692:function(d,g,e){"use strict";var r=e(8631),i=r.rotr32;function l(p,y,_,b){if(p===0)return c(y,_,b);if(p===1||p===3)return s(y,_,b);if(p===2)return f(y,_,b)}g.ft_1=l;function c(p,y,_){return p&y^~p&_}g.ch32=c;function f(p,y,_){return p&y^p&_^y&_}g.maj32=f;function s(p,y,_){return p^y^_}g.p32=s;function h(p){return i(p,2)^i(p,13)^i(p,22)}g.s0_256=h;function u(p){return i(p,6)^i(p,11)^i(p,25)}g.s1_256=u;function a(p){return i(p,7)^i(p,18)^p>>>3}g.g0_256=a;function x(p){return i(p,17)^i(p,19)^p>>>10}g.g1_256=x},8631:function(d,g,e){"use strict";var r=e(61339),i=e(4603);g.inherits=i;function l(K,V){return(K.charCodeAt(V)&64512)!==55296||V<0||V+1>=K.length?!1:(K.charCodeAt(V+1)&64512)===56320}function c(K,V){if(Array.isArray(K))return K.slice();if(!K)return[];var G=[];if(typeof K=="string")if(V){if(V==="hex")for(K=K.replace(/[^a-z0-9]+/ig,""),K.length%2!==0&&(K="0"+K),q=0;q<K.length;q+=2)G.push(parseInt(K[q]+K[q+1],16))}else for(var te=0,q=0;q<K.length;q++){var J=K.charCodeAt(q);J<128?G[te++]=J:J<2048?(G[te++]=J>>6|192,G[te++]=J&63|128):l(K,q)?(J=65536+((J&1023)<<10)+(K.charCodeAt(++q)&1023),G[te++]=J>>18|240,G[te++]=J>>12&63|128,G[te++]=J>>6&63|128,G[te++]=J&63|128):(G[te++]=J>>12|224,G[te++]=J>>6&63|128,G[te++]=J&63|128)}else for(q=0;q<K.length;q++)G[q]=K[q]|0;return G}g.toArray=c;function f(K){for(var V="",G=0;G<K.length;G++)V+=u(K[G].toString(16));return V}g.toHex=f;function s(K){var V=K>>>24|K>>>8&65280|K<<8&16711680|(K&255)<<24;return V>>>0}g.htonl=s;function h(K,V){for(var G="",te=0;te<K.length;te++){var q=K[te];V==="little"&&(q=s(q)),G+=a(q.toString(16))}return G}g.toHex32=h;function u(K){return K.length===1?"0"+K:K}g.zero2=u;function a(K){return K.length===7?"0"+K:K.length===6?"00"+K:K.length===5?"000"+K:K.length===4?"0000"+K:K.length===3?"00000"+K:K.length===2?"000000"+K:K.length===1?"0000000"+K:K}g.zero8=a;function x(K,V,G,te){var q=G-V;r(q%4===0);for(var J=new Array(q/4),le=0,z=V;le<J.length;le++,z+=4){var F;te==="big"?F=K[z]<<24|K[z+1]<<16|K[z+2]<<8|K[z+3]:F=K[z+3]<<24|K[z+2]<<16|K[z+1]<<8|K[z],J[le]=F>>>0}return J}g.join32=x;function p(K,V){for(var G=new Array(K.length*4),te=0,q=0;te<K.length;te++,q+=4){var J=K[te];V==="big"?(G[q]=J>>>24,G[q+1]=J>>>16&255,G[q+2]=J>>>8&255,G[q+3]=J&255):(G[q+3]=J>>>24,G[q+2]=J>>>16&255,G[q+1]=J>>>8&255,G[q]=J&255)}return G}g.split32=p;function y(K,V){return K>>>V|K<<32-V}g.rotr32=y;function _(K,V){return K<<V|K>>>32-V}g.rotl32=_;function b(K,V){return K+V>>>0}g.sum32=b;function S(K,V,G){return K+V+G>>>0}g.sum32_3=S;function R(K,V,G,te){return K+V+G+te>>>0}g.sum32_4=R;function L(K,V,G,te,q){return K+V+G+te+q>>>0}g.sum32_5=L;function T(K,V,G,te){var q=K[V],J=K[V+1],le=te+J>>>0,z=(le<te?1:0)+G+q;K[V]=z>>>0,K[V+1]=le}g.sum64=T;function D(K,V,G,te){var q=V+te>>>0,J=(q<V?1:0)+K+G;return J>>>0}g.sum64_hi=D;function M(K,V,G,te){var q=V+te;return q>>>0}g.sum64_lo=M;function N(K,V,G,te,q,J,le,z){var F=0,se=V;se=se+te>>>0,F+=se<V?1:0,se=se+J>>>0,F+=se<J?1:0,se=se+z>>>0,F+=se<z?1:0;var _e=K+G+q+le+F;return _e>>>0}g.sum64_4_hi=N;function j(K,V,G,te,q,J,le,z){var F=V+te+J+z;return F>>>0}g.sum64_4_lo=j;function Q(K,V,G,te,q,J,le,z,F,se){var _e=0,Pe=V;Pe=Pe+te>>>0,_e+=Pe<V?1:0,Pe=Pe+J>>>0,_e+=Pe<J?1:0,Pe=Pe+z>>>0,_e+=Pe<z?1:0,Pe=Pe+se>>>0,_e+=Pe<se?1:0;var Re=K+G+q+le+F+_e;return Re>>>0}g.sum64_5_hi=Q;function X(K,V,G,te,q,J,le,z,F,se){var _e=V+te+J+z+se;return _e>>>0}g.sum64_5_lo=X;function Y(K,V,G){var te=V<<32-G|K>>>G;return te>>>0}g.rotr64_hi=Y;function oe(K,V,G){var te=K<<32-G|V>>>G;return te>>>0}g.rotr64_lo=oe;function ie(K,V,G){return K>>>G}g.shr64_hi=ie;function ue(K,V,G){var te=K<<32-G|V>>>G;return te>>>0}g.shr64_lo=ue},19340:function(d,g,e){"use strict";e.d(g,{Ep:function(){return S},PP:function(){return x},aU:function(){return i},cP:function(){return R},lX:function(){return u},q_:function(){return a}});var r=e(5016),i;(function(L){L.Pop="POP",L.Push="PUSH",L.Replace="REPLACE"})(i||(i={}));var l=function(L){return L};function c(L,T){if(!L){typeof console!="undefined"&&console.warn(T);try{throw new Error(T)}catch(D){}}}var f="beforeunload",s="hashchange",h="popstate";function u(L){L===void 0&&(L={});var T=L,D=T.window,M=D===void 0?document.defaultView:D,N=M.history;function j(){var Pe=M.location,Re=Pe.pathname,Ze=Pe.search,$e=Pe.hash,Ht=N.state||{};return[Ht.idx,l({pathname:Re,search:Ze,hash:$e,state:Ht.usr||null,key:Ht.key||"default"})]}var Q=null;function X(){if(Q)V.call(Q),Q=null;else{var Pe=i.Pop,Re=j(),Ze=Re[0],$e=Re[1];if(V.length){if(Ze!=null){var Ht=ie-Ze;Ht&&(Q={action:Pe,location:$e,retry:function(){se(Ht*-1)}},se(Ht))}}else le(Pe)}}M.addEventListener(h,X);var Y=i.Pop,oe=j(),ie=oe[0],ue=oe[1],K=_(),V=_();ie==null&&(ie=0,N.replaceState((0,r.Z)({},N.state,{idx:ie}),""));function G(Pe){return typeof Pe=="string"?Pe:S(Pe)}function te(Pe,Re){return Re===void 0&&(Re=null),l((0,r.Z)({pathname:ue.pathname,hash:"",search:""},typeof Pe=="string"?R(Pe):Pe,{state:Re,key:b()}))}function q(Pe,Re){return[{usr:Pe.state,key:Pe.key,idx:Re},G(Pe)]}function J(Pe,Re,Ze){return!V.length||(V.call({action:Pe,location:Re,retry:Ze}),!1)}function le(Pe){Y=Pe;var Re=j();ie=Re[0],ue=Re[1],K.call({action:Y,location:ue})}function z(Pe,Re){var Ze=i.Push,$e=te(Pe,Re);function Ht(){z(Pe,Re)}if(J(Ze,$e,Ht)){var bt=q($e,ie+1),Ot=bt[0],qt=bt[1];try{N.pushState(Ot,"",qt)}catch(er){M.location.assign(qt)}le(Ze)}}function F(Pe,Re){var Ze=i.Replace,$e=te(Pe,Re);function Ht(){F(Pe,Re)}if(J(Ze,$e,Ht)){var bt=q($e,ie),Ot=bt[0],qt=bt[1];N.replaceState(Ot,"",qt),le(Ze)}}function se(Pe){N.go(Pe)}var _e={get action(){return Y},get location(){return ue},createHref:G,push:z,replace:F,go:se,back:function(){se(-1)},forward:function(){se(1)},listen:function(Re){return K.push(Re)},block:function(Re){var Ze=V.push(Re);return V.length===1&&M.addEventListener(f,y),function(){Ze(),V.length||M.removeEventListener(f,y)}}};return _e}function a(L){L===void 0&&(L={});var T=L,D=T.window,M=D===void 0?document.defaultView:D,N=M.history;function j(){var Re=R(M.location.hash.substr(1)),Ze=Re.pathname,$e=Ze===void 0?"/":Ze,Ht=Re.search,bt=Ht===void 0?"":Ht,Ot=Re.hash,qt=Ot===void 0?"":Ot,er=N.state||{};return[er.idx,l({pathname:$e,search:bt,hash:qt,state:er.usr||null,key:er.key||"default"})]}var Q=null;function X(){if(Q)V.call(Q),Q=null;else{var Re=i.Pop,Ze=j(),$e=Ze[0],Ht=Ze[1];if(V.length){if($e!=null){var bt=ie-$e;bt&&(Q={action:Re,location:Ht,retry:function(){_e(bt*-1)}},_e(bt))}}else z(Re)}}M.addEventListener(h,X),M.addEventListener(s,function(){var Re=j(),Ze=Re[1];S(Ze)!==S(ue)&&X()});var Y=i.Pop,oe=j(),ie=oe[0],ue=oe[1],K=_(),V=_();ie==null&&(ie=0,N.replaceState((0,r.Z)({},N.state,{idx:ie}),""));function G(){var Re=document.querySelector("base"),Ze="";if(Re&&Re.getAttribute("href")){var $e=M.location.href,Ht=$e.indexOf("#");Ze=Ht===-1?$e:$e.slice(0,Ht)}return Ze}function te(Re){return G()+"#"+(typeof Re=="string"?Re:S(Re))}function q(Re,Ze){return Ze===void 0&&(Ze=null),l((0,r.Z)({pathname:ue.pathname,hash:"",search:""},typeof Re=="string"?R(Re):Re,{state:Ze,key:b()}))}function J(Re,Ze){return[{usr:Re.state,key:Re.key,idx:Ze},te(Re)]}function le(Re,Ze,$e){return!V.length||(V.call({action:Re,location:Ze,retry:$e}),!1)}function z(Re){Y=Re;var Ze=j();ie=Ze[0],ue=Ze[1],K.call({action:Y,location:ue})}function F(Re,Ze){var $e=i.Push,Ht=q(Re,Ze);function bt(){F(Re,Ze)}if(le($e,Ht,bt)){var Ot=J(Ht,ie+1),qt=Ot[0],er=Ot[1];try{N.pushState(qt,"",er)}catch(Jt){M.location.assign(er)}z($e)}}function se(Re,Ze){var $e=i.Replace,Ht=q(Re,Ze);function bt(){se(Re,Ze)}if(le($e,Ht,bt)){var Ot=J(Ht,ie),qt=Ot[0],er=Ot[1];N.replaceState(qt,"",er),z($e)}}function _e(Re){N.go(Re)}var Pe={get action(){return Y},get location(){return ue},createHref:te,push:F,replace:se,go:_e,back:function(){_e(-1)},forward:function(){_e(1)},listen:function(Ze){return K.push(Ze)},block:function(Ze){var $e=V.push(Ze);return V.length===1&&M.addEventListener(f,y),function(){$e(),V.length||M.removeEventListener(f,y)}}};return Pe}function x(L){L===void 0&&(L={});var T=L,D=T.initialEntries,M=D===void 0?["/"]:D,N=T.initialIndex,j=M.map(function(z){var F=l((0,r.Z)({pathname:"/",search:"",hash:"",state:null,key:b()},typeof z=="string"?R(z):z));return F}),Q=p(N==null?j.length-1:N,0,j.length-1),X=i.Pop,Y=j[Q],oe=_(),ie=_();function ue(z){return typeof z=="string"?z:S(z)}function K(z,F){return F===void 0&&(F=null),l((0,r.Z)({pathname:Y.pathname,search:"",hash:""},typeof z=="string"?R(z):z,{state:F,key:b()}))}function V(z,F,se){return!ie.length||(ie.call({action:z,location:F,retry:se}),!1)}function G(z,F){X=z,Y=F,oe.call({action:X,location:Y})}function te(z,F){var se=i.Push,_e=K(z,F);function Pe(){te(z,F)}V(se,_e,Pe)&&(Q+=1,j.splice(Q,j.length,_e),G(se,_e))}function q(z,F){var se=i.Replace,_e=K(z,F);function Pe(){q(z,F)}V(se,_e,Pe)&&(j[Q]=_e,G(se,_e))}function J(z){var F=p(Q+z,0,j.length-1),se=i.Pop,_e=j[F];function Pe(){J(z)}V(se,_e,Pe)&&(Q=F,G(se,_e))}var le={get index(){return Q},get action(){return X},get location(){return Y},createHref:ue,push:te,replace:q,go:J,back:function(){J(-1)},forward:function(){J(1)},listen:function(F){return oe.push(F)},block:function(F){return ie.push(F)}};return le}function p(L,T,D){return Math.min(Math.max(L,T),D)}function y(L){L.preventDefault(),L.returnValue=""}function _(){var L=[];return{get length(){return L.length},push:function(D){return L.push(D),function(){L=L.filter(function(M){return M!==D})}},call:function(D){L.forEach(function(M){return M&&M(D)})}}}function b(){return Math.random().toString(36).substr(2,8)}function S(L){var T=L.pathname,D=T===void 0?"/":T,M=L.search,N=M===void 0?"":M,j=L.hash,Q=j===void 0?"":j;return N&&N!=="?"&&(D+=N.charAt(0)==="?"?N:"?"+N),Q&&Q!=="#"&&(D+=Q.charAt(0)==="#"?Q:"#"+Q),D}function R(L){var T={};if(L){var D=L.indexOf("#");D>=0&&(T.hash=L.substr(D),L=L.substr(0,D));var M=L.indexOf("?");M>=0&&(T.search=L.substr(M),L=L.substr(0,M)),L&&(T.pathname=L)}return T}},94266:function(d,g,e){"use strict";var r=e(99234),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},l={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},c={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},f={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};s[r.ForwardRef]=c,s[r.Memo]=f;function h(S){return r.isMemo(S)?f:s[S.$$typeof]||i}var u=Object.defineProperty,a=Object.getOwnPropertyNames,x=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,y=Object.getPrototypeOf,_=Object.prototype;function b(S,R,L){if(typeof R!="string"){if(_){var T=y(R);T&&T!==_&&b(S,T,L)}var D=a(R);x&&(D=D.concat(x(R)));for(var M=h(S),N=h(R),j=0;j<D.length;++j){var Q=D[j];if(!l[Q]&&!(L&&L[Q])&&!(N&&N[Q])&&!(M&&M[Q])){var X=p(R,Q);try{u(S,Q,X)}catch(Y){}}}}return S}d.exports=b},4603:function(d){typeof Object.create=="function"?d.exports=function(e,r){r&&(e.super_=r,e.prototype=Object.create(r.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:d.exports=function(e,r){if(r){e.super_=r;var i=function(){};i.prototype=r.prototype,e.prototype=new i,e.prototype.constructor=e}}},44520:function(d){"use strict";var g=function(e,r,i,l,c,f,s,h){if(!e){var u;if(r===void 0)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var a=[i,l,c,f,s,h],x=0;u=new Error(r.replace(/%s/g,function(){return a[x++]})),u.name="Invariant Violation"}throw u.framesToPop=1,u}};d.exports=g},78034:function(d){d.exports=function(r){return r!=null&&(g(r)||e(r)||!!r._isBuffer)};function g(r){return!!r.constructor&&typeof r.constructor.isBuffer=="function"&&r.constructor.isBuffer(r)}function e(r){return typeof r.readFloatLE=="function"&&typeof r.slice=="function"&&g(r.slice(0,0))}},78639:function(d,g,e){"use strict";var r=e(77497);function i(l){return r(l)===!0&&Object.prototype.toString.call(l)==="[object Object]"}d.exports=function(c){var f,s;return!(i(c)===!1||(f=c.constructor,typeof f!="function")||(s=f.prototype,i(s)===!1)||s.hasOwnProperty("isPrototypeOf")===!1)}},77497:function(d){"use strict";d.exports=function(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}},53184:function(d,g,e){"use strict";var r,i;function l(c,f,s){var h=function(u,a){return c.js_beautify(u,a)};return h.js=c.js_beautify,h.css=f.css_beautify,h.html=s.html_beautify,h.js_beautify=c.js_beautify,h.css_beautify=f.css_beautify,h.html_beautify=s.html_beautify,h}r=[e(58553),e(87804),e(40998)],i=function(c,f,s){return l(c,f,s)}.apply(g,r),i!==void 0&&(d.exports=i)},87804:function(d,g){var e,r;(function(){var i;(function(){"use strict";var c=[,,function(u){function a(y){this.__parent=y,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}a.prototype.clone_empty=function(){var y=new a(this.__parent);return y.set_indent(this.__indent_count,this.__alignment_count),y},a.prototype.item=function(y){return y<0?this.__items[this.__items.length+y]:this.__items[y]},a.prototype.has_match=function(y){for(var _=this.__items.length-1;_>=0;_--)if(this.__items[_].match(y))return!0;return!1},a.prototype.set_indent=function(y,_){this.is_empty()&&(this.__indent_count=y||0,this.__alignment_count=_||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},a.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},a.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},a.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var y=this.__parent.current_line;return y.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),y.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),y.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,y.__items[0]===" "&&(y.__items.splice(0,1),y.__character_count-=1),!0}return!1},a.prototype.is_empty=function(){return this.__items.length===0},a.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},a.prototype.push=function(y){this.__items.push(y);var _=y.lastIndexOf(`
`);_!==-1?this.__character_count=y.length-_:this.__character_count+=y.length},a.prototype.pop=function(){var y=null;return this.is_empty()||(y=this.__items.pop(),this.__character_count-=y.length),y},a.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},a.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},a.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},a.prototype.toString=function(){var y="";return this.is_empty()?this.__parent.indent_empty_lines&&(y=this.__parent.get_indent_string(this.__indent_count)):(y=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),y+=this.__items.join("")),y};function x(y,_){this.__cache=[""],this.__indent_size=y.indent_size,this.__indent_string=y.indent_char,y.indent_with_tabs||(this.__indent_string=new Array(y.indent_size+1).join(y.indent_char)),_=_||"",y.indent_level>0&&(_=new Array(y.indent_level+1).join(this.__indent_string)),this.__base_string=_,this.__base_string_length=_.length}x.prototype.get_indent_size=function(y,_){var b=this.__base_string_length;return _=_||0,y<0&&(b=0),b+=y*this.__indent_size,b+=_,b},x.prototype.get_indent_string=function(y,_){var b=this.__base_string;return _=_||0,y<0&&(y=0,b=""),_+=y*this.__indent_size,this.__ensure_cache(_),b+=this.__cache[_],b},x.prototype.__ensure_cache=function(y){for(;y>=this.__cache.length;)this.__add_column()},x.prototype.__add_column=function(){var y=this.__cache.length,_=0,b="";this.__indent_size&&y>=this.__indent_size&&(_=Math.floor(y/this.__indent_size),y-=_*this.__indent_size,b=new Array(_+1).join(this.__indent_string)),y&&(b+=new Array(y+1).join(" ")),this.__cache.push(b)};function p(y,_){this.__indent_cache=new x(y,_),this.raw=!1,this._end_with_newline=y.end_with_newline,this.indent_size=y.indent_size,this.wrap_line_length=y.wrap_line_length,this.indent_empty_lines=y.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new a(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}p.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},p.prototype.get_line_number=function(){return this.__lines.length},p.prototype.get_indent_string=function(y,_){return this.__indent_cache.get_indent_string(y,_)},p.prototype.get_indent_size=function(y,_){return this.__indent_cache.get_indent_size(y,_)},p.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},p.prototype.add_new_line=function(y){return this.is_empty()||!y&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},p.prototype.get_code=function(y){this.trim(!0);var _=this.current_line.pop();_&&(_[_.length-1]===`
`&&(_=_.replace(/\n+$/g,"")),this.current_line.push(_)),this._end_with_newline&&this.__add_outputline();var b=this.__lines.join(`
`);return y!==`
`&&(b=b.replace(/[\n]/g,y)),b},p.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},p.prototype.set_indent=function(y,_){return y=y||0,_=_||0,this.next_line.set_indent(y,_),this.__lines.length>1?(this.current_line.set_indent(y,_),!0):(this.current_line.set_indent(),!1)},p.prototype.add_raw_token=function(y){for(var _=0;_<y.newlines;_++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(y.whitespace_before),this.current_line.push(y.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},p.prototype.add_token=function(y){this.__add_space_before_token(),this.current_line.push(y),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},p.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},p.prototype.remove_indent=function(y){for(var _=this.__lines.length;y<_;)this.__lines[y]._remove_indent(),y++;this.current_line._remove_wrap_indent()},p.prototype.trim=function(y){for(y=y===void 0?!1:y,this.current_line.trim();y&&this.__lines.length>1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},p.prototype.just_added_newline=function(){return this.current_line.is_empty()},p.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},p.prototype.ensure_empty_line_above=function(y,_){for(var b=this.__lines.length-2;b>=0;){var S=this.__lines[b];if(S.is_empty())break;if(S.item(0).indexOf(y)!==0&&S.item(-1)!==_){this.__lines.splice(b+1,0,new a(this)),this.previous_line=this.__lines[this.__lines.length-2];break}b--}},u.exports.Output=p},,,,function(u){function a(y,_){this.raw_options=x(y,_),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs",this.indent_char===" "),this.indent_with_tabs&&(this.indent_char=" ",this.indent_size===1&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","angular","django","erb","handlebars","php","smarty"],["auto"])}a.prototype._get_array=function(y,_){var b=this.raw_options[y],S=_||[];return typeof b=="object"?b!==null&&typeof b.concat=="function"&&(S=b.concat()):typeof b=="string"&&(S=b.split(/[^a-zA-Z0-9_\/\-]+/)),S},a.prototype._get_boolean=function(y,_){var b=this.raw_options[y],S=b===void 0?!!_:!!b;return S},a.prototype._get_characters=function(y,_){var b=this.raw_options[y],S=_||"";return typeof b=="string"&&(S=b.replace(/\\r/,"\r").replace(/\\n/,`
`).replace(/\\t/," ")),S},a.prototype._get_number=function(y,_){var b=this.raw_options[y];_=parseInt(_,10),isNaN(_)&&(_=0);var S=parseInt(b,10);return isNaN(S)&&(S=_),S},a.prototype._get_selection=function(y,_,b){var S=this._get_selection_list(y,_,b);if(S.length!==1)throw new Error("Invalid Option Value: The option '"+y+`' can only be one of the following values:
`+_+`
You passed in: '`+this.raw_options[y]+"'");return S[0]},a.prototype._get_selection_list=function(y,_,b){if(!_||_.length===0)throw new Error("Selection list cannot be empty.");if(b=b||[_[0]],!this._is_valid_selection(b,_))throw new Error("Invalid Default Value!");var S=this._get_array(y,b);if(!this._is_valid_selection(S,_))throw new Error("Invalid Option Value: The option '"+y+`' can contain only the following values:
`+_+`
You passed in: '`+this.raw_options[y]+"'");return S},a.prototype._is_valid_selection=function(y,_){return y.length&&_.length&&!y.some(function(b){return _.indexOf(b)===-1})};function x(y,_){var b={};y=p(y);var S;for(S in y)S!==_&&(b[S]=y[S]);if(_&&y[_])for(S in y[_])b[S]=y[_][S];return b}function p(y){var _={},b;for(b in y){var S=b.replace(/-/g,"_");_[S]=y[b]}return _}u.exports.Options=a,u.exports.normalizeOpts=p,u.exports.mergeOpts=x},,function(u){var a=RegExp.prototype.hasOwnProperty("sticky");function x(p){this.__input=p||"",this.__input_length=this.__input.length,this.__position=0}x.prototype.restart=function(){this.__position=0},x.prototype.back=function(){this.__position>0&&(this.__position-=1)},x.prototype.hasNext=function(){return this.__position<this.__input_length},x.prototype.next=function(){var p=null;return this.hasNext()&&(p=this.__input.charAt(this.__position),this.__position+=1),p},x.prototype.peek=function(p){var y=null;return p=p||0,p+=this.__position,p>=0&&p<this.__input_length&&(y=this.__input.charAt(p)),y},x.prototype.__match=function(p,y){p.lastIndex=y;var _=p.exec(this.__input);return _&&!(a&&p.sticky)&&_.index!==y&&(_=null),_},x.prototype.test=function(p,y){return y=y||0,y+=this.__position,y>=0&&y<this.__input_length?!!this.__match(p,y):!1},x.prototype.testChar=function(p,y){var _=this.peek(y);return p.lastIndex=0,_!==null&&p.test(_)},x.prototype.match=function(p){var y=this.__match(p,this.__position);return y?this.__position+=y[0].length:y=null,y},x.prototype.read=function(p,y,_){var b="",S;return p&&(S=this.match(p),S&&(b+=S[0])),y&&(S||!p)&&(b+=this.readUntil(y,_)),b},x.prototype.readUntil=function(p,y){var _="",b=this.__position;p.lastIndex=this.__position;var S=p.exec(this.__input);return S?(b=S.index,y&&(b+=S[0].length)):b=this.__input_length,_=this.__input.substring(this.__position,b),this.__position=b,_},x.prototype.readUntilAfter=function(p){return this.readUntil(p,!0)},x.prototype.get_regexp=function(p,y){var _=null,b="g";return y&&a&&(b="y"),typeof p=="string"&&p!==""?_=new RegExp(p,b):p&&(_=new RegExp(p.source,b)),_},x.prototype.get_literal_regexp=function(p){return RegExp(p.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},x.prototype.peekUntilAfter=function(p){var y=this.__position,_=this.readUntilAfter(p);return this.__position=y,_},x.prototype.lookBack=function(p){var y=this.__position-1;return y>=p.length&&this.__input.substring(y-p.length,y).toLowerCase()===p},u.exports.InputScanner=x},,,,,function(u){function a(x,p){x=typeof x=="string"?x:x.source,p=typeof p=="string"?p:p.source,this.__directives_block_pattern=new RegExp(x+/ beautify( \w+[:]\w+)+ /.source+p,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(x+/\sbeautify\signore:end\s/.source+p,"g")}a.prototype.get_directives=function(x){if(!x.match(this.__directives_block_pattern))return null;var p={};this.__directive_pattern.lastIndex=0;for(var y=this.__directive_pattern.exec(x);y;)p[y[1]]=y[2],y=this.__directive_pattern.exec(x);return p},a.prototype.readIgnored=function(x){return x.readUntilAfter(this.__directives_end_ignore_pattern)},u.exports.Directives=a},,function(u,a,x){var p=x(16).Beautifier,y=x(17).Options;function _(b,S){var R=new p(b,S);return R.beautify()}u.exports=_,u.exports.defaultOptions=function(){return new y}},function(u,a,x){var p=x(17).Options,y=x(2).Output,_=x(8).InputScanner,b=x(13).Directives,S=new b(/\/\*/,/\*\//),R=/\r\n|[\r\n]/,L=/\r\n|[\r\n]/g,T=/\s/,D=/(?:\s|\n)+/g,M=/\/\*(?:[\s\S]*?)((?:\*\/)|$)/g,N=/\/\/(?:[^\n\r\u2028\u2029]*)/g;function j(Q,X){this._source_text=Q||"",this._options=new p(X),this._ch=null,this._input=null,this.NESTED_AT_RULE={page:!0,"font-face":!0,keyframes:!0,media:!0,supports:!0,document:!0},this.CONDITIONAL_GROUP_RULE={media:!0,supports:!0,document:!0},this.NON_SEMICOLON_NEWLINE_PROPERTY=["grid-template-areas","grid-template"]}j.prototype.eatString=function(Q){var X="";for(this._ch=this._input.next();this._ch;){if(X+=this._ch,this._ch==="\\")X+=this._input.next();else if(Q.indexOf(this._ch)!==-1||this._ch===`
`)break;this._ch=this._input.next()}return X},j.prototype.eatWhitespace=function(Q){for(var X=T.test(this._input.peek()),Y=0;T.test(this._input.peek());)this._ch=this._input.next(),Q&&this._ch===`
`&&(Y===0||Y<this._options.max_preserve_newlines)&&(Y++,this._output.add_new_line(!0));return X},j.prototype.foundNestedPseudoClass=function(){for(var Q=0,X=1,Y=this._input.peek(X);Y;){if(Y==="{")return!0;if(Y==="(")Q+=1;else if(Y===")"){if(Q===0)return!1;Q-=1}else if(Y===";"||Y==="}")return!1;X++,Y=this._input.peek(X)}return!1},j.prototype.print_string=function(Q){this._output.set_indent(this._indentLevel),this._output.non_breaking_space=!0,this._output.add_token(Q)},j.prototype.preserveSingleSpace=function(Q){Q&&(this._output.space_before_token=!0)},j.prototype.indent=function(){this._indentLevel++},j.prototype.outdent=function(){this._indentLevel>0&&this._indentLevel--},j.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var Q=this._source_text,X=this._options.eol;X==="auto"&&(X=`
`,Q&&R.test(Q||"")&&(X=Q.match(R)[0])),Q=Q.replace(L,`
`);var Y=Q.match(/^[\t ]*/)[0];this._output=new y(this._options,Y),this._input=new _(Q),this._indentLevel=0,this._nestedLevel=0,this._ch=null;for(var oe=0,ie=!1,ue=!1,K=!1,V=!1,G=!1,te=this._ch,q=!1,J,le,z;J=this._input.read(D),le=J!=="",z=te,this._ch=this._input.next(),this._ch==="\\"&&this._input.hasNext()&&(this._ch+=this._input.next()),te=this._ch,this._ch;)if(this._ch==="/"&&this._input.peek()==="*"){this._output.add_new_line(),this._input.back();var F=this._input.read(M),se=S.get_directives(F);se&&se.ignore==="start"&&(F+=S.readIgnored(this._input)),this.print_string(F),this.eatWhitespace(!0),this._output.add_new_line()}else if(this._ch==="/"&&this._input.peek()==="/")this._output.space_before_token=!0,this._input.back(),this.print_string(this._input.read(N)),this.eatWhitespace(!0);else if(this._ch==="$"){this.preserveSingleSpace(le),this.print_string(this._ch);var _e=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);_e.match(/[ :]$/)&&(_e=this.eatString(": ").replace(/\s+$/,""),this.print_string(_e),this._output.space_before_token=!0),oe===0&&_e.indexOf(":")!==-1&&(ue=!0,this.indent())}else if(this._ch==="@")if(this.preserveSingleSpace(le),this._input.peek()==="{")this.print_string(this._ch+this.eatString("}"));else{this.print_string(this._ch);var Pe=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);Pe.match(/[ :]$/)&&(Pe=this.eatString(": ").replace(/\s+$/,""),this.print_string(Pe),this._output.space_before_token=!0),oe===0&&Pe.indexOf(":")!==-1?(ue=!0,this.indent()):Pe in this.NESTED_AT_RULE?(this._nestedLevel+=1,Pe in this.CONDITIONAL_GROUP_RULE&&(K=!0)):oe===0&&!ue&&(V=!0)}else if(this._ch==="#"&&this._input.peek()==="{")this.preserveSingleSpace(le),this.print_string(this._ch+this.eatString("}"));else if(this._ch==="{")ue&&(ue=!1,this.outdent()),V=!1,K?(K=!1,ie=this._indentLevel>=this._nestedLevel):ie=this._indentLevel>=this._nestedLevel-1,this._options.newline_between_rules&&ie&&this._output.previous_line&&this._output.previous_line.item(-1)!=="{"&&this._output.ensure_empty_line_above("/",","),this._output.space_before_token=!0,this._options.brace_style==="expand"?(this._output.add_new_line(),this.print_string(this._ch),this.indent(),this._output.set_indent(this._indentLevel)):(z==="("?this._output.space_before_token=!1:z!==","&&this.indent(),this.print_string(this._ch)),this.eatWhitespace(!0),this._output.add_new_line();else if(this._ch==="}")this.outdent(),this._output.add_new_line(),z==="{"&&this._output.trim(!0),ue&&(this.outdent(),ue=!1),this.print_string(this._ch),ie=!1,this._nestedLevel&&this._nestedLevel--,this.eatWhitespace(!0),this._output.add_new_line(),this._options.newline_between_rules&&!this._output.just_added_blankline()&&this._input.peek()!=="}"&&this._output.add_new_line(!0),this._input.peek()===")"&&(this._output.trim(!0),this._options.brace_style==="expand"&&this._output.add_new_line(!0));else if(this._ch===":"){for(var Re=0;Re<this.NON_SEMICOLON_NEWLINE_PROPERTY.length;Re++)if(this._input.lookBack(this.NON_SEMICOLON_NEWLINE_PROPERTY[Re])){q=!0;break}(ie||K)&&!(this._input.lookBack("&")||this.foundNestedPseudoClass())&&!this._input.lookBack("(")&&!V&&oe===0?(this.print_string(":"),ue||(ue=!0,this._output.space_before_token=!0,this.eatWhitespace(!0),this.indent())):(this._input.lookBack(" ")&&(this._output.space_before_token=!0),this._input.peek()===":"?(this._ch=this._input.next(),this.print_string("::")):this.print_string(":"))}else if(this._ch==='"'||this._ch==="'"){var Ze=z==='"'||z==="'";this.preserveSingleSpace(Ze||le),this.print_string(this._ch+this.eatString(this._ch)),this.eatWhitespace(!0)}else if(this._ch===";")q=!1,oe===0?(ue&&(this.outdent(),ue=!1),V=!1,this.print_string(this._ch),this.eatWhitespace(!0),this._input.peek()!=="/"&&this._output.add_new_line()):(this.print_string(this._ch),this.eatWhitespace(!0),this._output.space_before_token=!0);else if(this._ch==="(")if(this._input.lookBack("url"))this.print_string(this._ch),this.eatWhitespace(),oe++,this.indent(),this._ch=this._input.next(),this._ch===")"||this._ch==='"'||this._ch==="'"?this._input.back():this._ch&&(this.print_string(this._ch+this.eatString(")")),oe&&(oe--,this.outdent()));else{var $e=!1;this._input.lookBack("with")&&($e=!0),this.preserveSingleSpace(le||$e),this.print_string(this._ch),ue&&z==="$"&&this._options.selector_separator_newline?(this._output.add_new_line(),G=!0):(this.eatWhitespace(),oe++,this.indent())}else if(this._ch===")")oe&&(oe--,this.outdent()),G&&this._input.peek()===";"&&this._options.selector_separator_newline&&(G=!1,this.outdent(),this._output.add_new_line()),this.print_string(this._ch);else if(this._ch===",")this.print_string(this._ch),this.eatWhitespace(!0),this._options.selector_separator_newline&&(!ue||G)&&oe===0&&!V?this._output.add_new_line():this._output.space_before_token=!0;else if((this._ch===">"||this._ch==="+"||this._ch==="~")&&!ue&&oe===0)this._options.space_around_combinator?(this._output.space_before_token=!0,this.print_string(this._ch),this._output.space_before_token=!0):(this.print_string(this._ch),this.eatWhitespace(),this._ch&&T.test(this._ch)&&(this._ch=""));else if(this._ch==="]")this.print_string(this._ch);else if(this._ch==="[")this.preserveSingleSpace(le),this.print_string(this._ch);else if(this._ch==="=")this.eatWhitespace(),this.print_string("="),T.test(this._ch)&&(this._ch="");else if(this._ch==="!"&&!this._input.lookBack("\\"))this._output.space_before_token=!0,this.print_string(this._ch);else{var Ht=z==='"'||z==="'";this.preserveSingleSpace(Ht||le),this.print_string(this._ch),!this._output.just_added_newline()&&this._input.peek()===`
`&&q&&this._output.add_new_line()}var bt=this._output.get_code(X);return bt},u.exports.Beautifier=j},function(u,a,x){var p=x(6).Options;function y(_){p.call(this,_,"css"),this.selector_separator_newline=this._get_boolean("selector_separator_newline",!0),this.newline_between_rules=this._get_boolean("newline_between_rules",!0);var b=this._get_boolean("space_around_selector_separator");this.space_around_combinator=this._get_boolean("space_around_combinator")||b;var S=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_style="collapse";for(var R=0;R<S.length;R++)S[R]!=="expand"?this.brace_style="collapse":this.brace_style=S[R]}y.prototype=new p,u.exports.Options=y}],f={};function s(u){var a=f[u];if(a!==void 0)return a.exports;var x=f[u]={exports:{}};return c[u](x,x.exports,s),x.exports}var h=s(15);i=h})();var l=i;e=[],r=function(){return{css_beautify:l}}.apply(g,e),r!==void 0&&(d.exports=r)})()},40998:function(d,g,e){var r,i;(function(){var l;(function(){"use strict";var h=[,,function(p){function y(S){this.__parent=S,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}y.prototype.clone_empty=function(){var S=new y(this.__parent);return S.set_indent(this.__indent_count,this.__alignment_count),S},y.prototype.item=function(S){return S<0?this.__items[this.__items.length+S]:this.__items[S]},y.prototype.has_match=function(S){for(var R=this.__items.length-1;R>=0;R--)if(this.__items[R].match(S))return!0;return!1},y.prototype.set_indent=function(S,R){this.is_empty()&&(this.__indent_count=S||0,this.__alignment_count=R||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},y.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},y.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},y.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var S=this.__parent.current_line;return S.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),S.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),S.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,S.__items[0]===" "&&(S.__items.splice(0,1),S.__character_count-=1),!0}return!1},y.prototype.is_empty=function(){return this.__items.length===0},y.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},y.prototype.push=function(S){this.__items.push(S);var R=S.lastIndexOf(`
`);R!==-1?this.__character_count=S.length-R:this.__character_count+=S.length},y.prototype.pop=function(){var S=null;return this.is_empty()||(S=this.__items.pop(),this.__character_count-=S.length),S},y.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},y.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},y.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},y.prototype.toString=function(){var S="";return this.is_empty()?this.__parent.indent_empty_lines&&(S=this.__parent.get_indent_string(this.__indent_count)):(S=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),S+=this.__items.join("")),S};function _(S,R){this.__cache=[""],this.__indent_size=S.indent_size,this.__indent_string=S.indent_char,S.indent_with_tabs||(this.__indent_string=new Array(S.indent_size+1).join(S.indent_char)),R=R||"",S.indent_level>0&&(R=new Array(S.indent_level+1).join(this.__indent_string)),this.__base_string=R,this.__base_string_length=R.length}_.prototype.get_indent_size=function(S,R){var L=this.__base_string_length;return R=R||0,S<0&&(L=0),L+=S*this.__indent_size,L+=R,L},_.prototype.get_indent_string=function(S,R){var L=this.__base_string;return R=R||0,S<0&&(S=0,L=""),R+=S*this.__indent_size,this.__ensure_cache(R),L+=this.__cache[R],L},_.prototype.__ensure_cache=function(S){for(;S>=this.__cache.length;)this.__add_column()},_.prototype.__add_column=function(){var S=this.__cache.length,R=0,L="";this.__indent_size&&S>=this.__indent_size&&(R=Math.floor(S/this.__indent_size),S-=R*this.__indent_size,L=new Array(R+1).join(this.__indent_string)),S&&(L+=new Array(S+1).join(" ")),this.__cache.push(L)};function b(S,R){this.__indent_cache=new _(S,R),this.raw=!1,this._end_with_newline=S.end_with_newline,this.indent_size=S.indent_size,this.wrap_line_length=S.wrap_line_length,this.indent_empty_lines=S.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new y(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}b.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},b.prototype.get_line_number=function(){return this.__lines.length},b.prototype.get_indent_string=function(S,R){return this.__indent_cache.get_indent_string(S,R)},b.prototype.get_indent_size=function(S,R){return this.__indent_cache.get_indent_size(S,R)},b.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},b.prototype.add_new_line=function(S){return this.is_empty()||!S&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},b.prototype.get_code=function(S){this.trim(!0);var R=this.current_line.pop();R&&(R[R.length-1]===`
`&&(R=R.replace(/\n+$/g,"")),this.current_line.push(R)),this._end_with_newline&&this.__add_outputline();var L=this.__lines.join(`
`);return S!==`
`&&(L=L.replace(/[\n]/g,S)),L},b.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},b.prototype.set_indent=function(S,R){return S=S||0,R=R||0,this.next_line.set_indent(S,R),this.__lines.length>1?(this.current_line.set_indent(S,R),!0):(this.current_line.set_indent(),!1)},b.prototype.add_raw_token=function(S){for(var R=0;R<S.newlines;R++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(S.whitespace_before),this.current_line.push(S.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},b.prototype.add_token=function(S){this.__add_space_before_token(),this.current_line.push(S),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},b.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},b.prototype.remove_indent=function(S){for(var R=this.__lines.length;S<R;)this.__lines[S]._remove_indent(),S++;this.current_line._remove_wrap_indent()},b.prototype.trim=function(S){for(S=S===void 0?!1:S,this.current_line.trim();S&&this.__lines.length>1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},b.prototype.just_added_newline=function(){return this.current_line.is_empty()},b.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},b.prototype.ensure_empty_line_above=function(S,R){for(var L=this.__lines.length-2;L>=0;){var T=this.__lines[L];if(T.is_empty())break;if(T.item(0).indexOf(S)!==0&&T.item(-1)!==R){this.__lines.splice(L+1,0,new y(this)),this.previous_line=this.__lines[this.__lines.length-2];break}L--}},p.exports.Output=b},function(p){function y(_,b,S,R){this.type=_,this.text=b,this.comments_before=null,this.newlines=S||0,this.whitespace_before=R||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}p.exports.Token=y},,,function(p){function y(S,R){this.raw_options=_(S,R),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs",this.indent_char===" "),this.indent_with_tabs&&(this.indent_char=" ",this.indent_size===1&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","angular","django","erb","handlebars","php","smarty"],["auto"])}y.prototype._get_array=function(S,R){var L=this.raw_options[S],T=R||[];return typeof L=="object"?L!==null&&typeof L.concat=="function"&&(T=L.concat()):typeof L=="string"&&(T=L.split(/[^a-zA-Z0-9_\/\-]+/)),T},y.prototype._get_boolean=function(S,R){var L=this.raw_options[S],T=L===void 0?!!R:!!L;return T},y.prototype._get_characters=function(S,R){var L=this.raw_options[S],T=R||"";return typeof L=="string"&&(T=L.replace(/\\r/,"\r").replace(/\\n/,`
`).replace(/\\t/," ")),T},y.prototype._get_number=function(S,R){var L=this.raw_options[S];R=parseInt(R,10),isNaN(R)&&(R=0);var T=parseInt(L,10);return isNaN(T)&&(T=R),T},y.prototype._get_selection=function(S,R,L){var T=this._get_selection_list(S,R,L);if(T.length!==1)throw new Error("Invalid Option Value: The option '"+S+`' can only be one of the following values:
`+R+`
You passed in: '`+this.raw_options[S]+"'");return T[0]},y.prototype._get_selection_list=function(S,R,L){if(!R||R.length===0)throw new Error("Selection list cannot be empty.");if(L=L||[R[0]],!this._is_valid_selection(L,R))throw new Error("Invalid Default Value!");var T=this._get_array(S,L);if(!this._is_valid_selection(T,R))throw new Error("Invalid Option Value: The option '"+S+`' can contain only the following values:
`+R+`
You passed in: '`+this.raw_options[S]+"'");return T},y.prototype._is_valid_selection=function(S,R){return S.length&&R.length&&!S.some(function(L){return R.indexOf(L)===-1})};function _(S,R){var L={};S=b(S);var T;for(T in S)T!==R&&(L[T]=S[T]);if(R&&S[R])for(T in S[R])L[T]=S[R][T];return L}function b(S){var R={},L;for(L in S){var T=L.replace(/-/g,"_");R[T]=S[L]}return R}p.exports.Options=y,p.exports.normalizeOpts=b,p.exports.mergeOpts=_},,function(p){var y=RegExp.prototype.hasOwnProperty("sticky");function _(b){this.__input=b||"",this.__input_length=this.__input.length,this.__position=0}_.prototype.restart=function(){this.__position=0},_.prototype.back=function(){this.__position>0&&(this.__position-=1)},_.prototype.hasNext=function(){return this.__position<this.__input_length},_.prototype.next=function(){var b=null;return this.hasNext()&&(b=this.__input.charAt(this.__position),this.__position+=1),b},_.prototype.peek=function(b){var S=null;return b=b||0,b+=this.__position,b>=0&&b<this.__input_length&&(S=this.__input.charAt(b)),S},_.prototype.__match=function(b,S){b.lastIndex=S;var R=b.exec(this.__input);return R&&!(y&&b.sticky)&&R.index!==S&&(R=null),R},_.prototype.test=function(b,S){return S=S||0,S+=this.__position,S>=0&&S<this.__input_length?!!this.__match(b,S):!1},_.prototype.testChar=function(b,S){var R=this.peek(S);return b.lastIndex=0,R!==null&&b.test(R)},_.prototype.match=function(b){var S=this.__match(b,this.__position);return S?this.__position+=S[0].length:S=null,S},_.prototype.read=function(b,S,R){var L="",T;return b&&(T=this.match(b),T&&(L+=T[0])),S&&(T||!b)&&(L+=this.readUntil(S,R)),L},_.prototype.readUntil=function(b,S){var R="",L=this.__position;b.lastIndex=this.__position;var T=b.exec(this.__input);return T?(L=T.index,S&&(L+=T[0].length)):L=this.__input_length,R=this.__input.substring(this.__position,L),this.__position=L,R},_.prototype.readUntilAfter=function(b){return this.readUntil(b,!0)},_.prototype.get_regexp=function(b,S){var R=null,L="g";return S&&y&&(L="y"),typeof b=="string"&&b!==""?R=new RegExp(b,L):b&&(R=new RegExp(b.source,L)),R},_.prototype.get_literal_regexp=function(b){return RegExp(b.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},_.prototype.peekUntilAfter=function(b){var S=this.__position,R=this.readUntilAfter(b);return this.__position=S,R},_.prototype.lookBack=function(b){var S=this.__position-1;return S>=b.length&&this.__input.substring(S-b.length,S).toLowerCase()===b},p.exports.InputScanner=_},function(p,y,_){var b=_(8).InputScanner,S=_(3).Token,R=_(10).TokenStream,L=_(11).WhitespacePattern,T={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},D=function(M,N){this._input=new b(M),this._options=N||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new L(this._input)};D.prototype.tokenize=function(){this._input.restart(),this.__tokens=new R,this._reset();for(var M,N=new S(T.START,""),j=null,Q=[],X=new R;N.type!==T.EOF;){for(M=this._get_next_token(N,j);this._is_comment(M);)X.add(M),M=this._get_next_token(N,j);X.isEmpty()||(M.comments_before=X,X=new R),M.parent=j,this._is_opening(M)?(Q.push(j),j=M):j&&this._is_closing(M,j)&&(M.opened=j,j.closed=M,j=Q.pop(),M.parent=j),M.previous=N,N.next=M,this.__tokens.add(M),N=M}return this.__tokens},D.prototype._is_first_token=function(){return this.__tokens.isEmpty()},D.prototype._reset=function(){},D.prototype._get_next_token=function(M,N){this._readWhitespace();var j=this._input.read(/.+/g);return j?this._create_token(T.RAW,j):this._create_token(T.EOF,"")},D.prototype._is_comment=function(M){return!1},D.prototype._is_opening=function(M){return!1},D.prototype._is_closing=function(M,N){return!1},D.prototype._create_token=function(M,N){var j=new S(M,N,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return j},D.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},p.exports.Tokenizer=D,p.exports.TOKEN=T},function(p){function y(_){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=_}y.prototype.restart=function(){this.__position=0},y.prototype.isEmpty=function(){return this.__tokens_length===0},y.prototype.hasNext=function(){return this.__position<this.__tokens_length},y.prototype.next=function(){var _=null;return this.hasNext()&&(_=this.__tokens[this.__position],this.__position+=1),_},y.prototype.peek=function(_){var b=null;return _=_||0,_+=this.__position,_>=0&&_<this.__tokens_length&&(b=this.__tokens[_]),b},y.prototype.add=function(_){this.__parent_token&&(_.parent=this.__parent_token),this.__tokens.push(_),this.__tokens_length+=1},p.exports.TokenStream=y},function(p,y,_){var b=_(12).Pattern;function S(R,L){b.call(this,R,L),L?this._line_regexp=this._input.get_regexp(L._line_regexp):this.__set_whitespace_patterns("",""),this.newline_count=0,this.whitespace_before_token=""}S.prototype=new b,S.prototype.__set_whitespace_patterns=function(R,L){R+="\\t ",L+="\\n\\r",this._match_pattern=this._input.get_regexp("["+R+L+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+L+"]")},S.prototype.read=function(){this.newline_count=0,this.whitespace_before_token="";var R=this._input.read(this._match_pattern);if(R===" ")this.whitespace_before_token=" ";else if(R){var L=this.__split(this._newline_regexp,R);this.newline_count=L.length-1,this.whitespace_before_token=L[this.newline_count]}return R},S.prototype.matching=function(R,L){var T=this._create();return T.__set_whitespace_patterns(R,L),T._update(),T},S.prototype._create=function(){return new S(this._input,this)},S.prototype.__split=function(R,L){R.lastIndex=0;for(var T=0,D=[],M=R.exec(L);M;)D.push(L.substring(T,M.index)),T=M.index+M[0].length,M=R.exec(L);return T<L.length?D.push(L.substring(T,L.length)):D.push(""),D},p.exports.WhitespacePattern=S},function(p){function y(_,b){this._input=_,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,b&&(this._starting_pattern=this._input.get_regexp(b._starting_pattern,!0),this._match_pattern=this._input.get_regexp(b._match_pattern,!0),this._until_pattern=this._input.get_regexp(b._until_pattern),this._until_after=b._until_after)}y.prototype.read=function(){var _=this._input.read(this._starting_pattern);return(!this._starting_pattern||_)&&(_+=this._input.read(this._match_pattern,this._until_pattern,this._until_after)),_},y.prototype.read_match=function(){return this._input.match(this._match_pattern)},y.prototype.until_after=function(_){var b=this._create();return b._until_after=!0,b._until_pattern=this._input.get_regexp(_),b._update(),b},y.prototype.until=function(_){var b=this._create();return b._until_after=!1,b._until_pattern=this._input.get_regexp(_),b._update(),b},y.prototype.starting_with=function(_){var b=this._create();return b._starting_pattern=this._input.get_regexp(_,!0),b._update(),b},y.prototype.matching=function(_){var b=this._create();return b._match_pattern=this._input.get_regexp(_,!0),b._update(),b},y.prototype._create=function(){return new y(this._input,this)},y.prototype._update=function(){},p.exports.Pattern=y},function(p){function y(_,b){_=typeof _=="string"?_:_.source,b=typeof b=="string"?b:b.source,this.__directives_block_pattern=new RegExp(_+/ beautify( \w+[:]\w+)+ /.source+b,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(_+/\sbeautify\signore:end\s/.source+b,"g")}y.prototype.get_directives=function(_){if(!_.match(this.__directives_block_pattern))return null;var b={};this.__directive_pattern.lastIndex=0;for(var S=this.__directive_pattern.exec(_);S;)b[S[1]]=S[2],S=this.__directive_pattern.exec(_);return b},y.prototype.readIgnored=function(_){return _.readUntilAfter(this.__directives_end_ignore_pattern)},p.exports.Directives=y},function(p,y,_){var b=_(12).Pattern,S={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1,angular:!1};function R(L,T){b.call(this,L,T),this.__template_pattern=null,this._disabled=Object.assign({},S),this._excluded=Object.assign({},S),T&&(this.__template_pattern=this._input.get_regexp(T.__template_pattern),this._excluded=Object.assign(this._excluded,T._excluded),this._disabled=Object.assign(this._disabled,T._disabled));var D=new b(L);this.__patterns={handlebars_comment:D.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:D.starting_with(/{{{/).until_after(/}}}/),handlebars:D.starting_with(/{{/).until_after(/}}/),php:D.starting_with(/<\?(?:[= ]|php)/).until_after(/\?>/),erb:D.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:D.starting_with(/{%/).until_after(/%}/),django_value:D.starting_with(/{{/).until_after(/}}/),django_comment:D.starting_with(/{#/).until_after(/#}/),smarty:D.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:D.starting_with(/{\*/).until_after(/\*}/),smarty_literal:D.starting_with(/{literal}/).until_after(/{\/literal}/)}}R.prototype=new b,R.prototype._create=function(){return new R(this._input,this)},R.prototype._update=function(){this.__set_templated_pattern()},R.prototype.disable=function(L){var T=this._create();return T._disabled[L]=!0,T._update(),T},R.prototype.read_options=function(L){var T=this._create();for(var D in S)T._disabled[D]=L.templating.indexOf(D)===-1;return T._update(),T},R.prototype.exclude=function(L){var T=this._create();return T._excluded[L]=!0,T._update(),T},R.prototype.read=function(){var L="";this._match_pattern?L=this._input.read(this._starting_pattern):L=this._input.read(this._starting_pattern,this.__template_pattern);for(var T=this._read_template();T;)this._match_pattern?T+=this._input.read(this._match_pattern):T+=this._input.readUntil(this.__template_pattern),L+=T,T=this._read_template();return this._until_after&&(L+=this._input.readUntilAfter(this._until_pattern)),L},R.prototype.__set_templated_pattern=function(){var L=[];this._disabled.php||L.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||L.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.angular||L.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||L.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(L.push(this.__patterns.django._starting_pattern.source),L.push(this.__patterns.django_value._starting_pattern.source),L.push(this.__patterns.django_comment._starting_pattern.source)),this._disabled.smarty||L.push(this.__patterns.smarty._starting_pattern.source),this._until_pattern&&L.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+L.join("|")+")")},R.prototype._read_template=function(){var L="",T=this._input.peek();if(T==="<"){var D=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&D==="?"&&(L=L||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&D==="%"&&(L=L||this.__patterns.erb.read())}else T==="{"&&(!this._disabled.handlebars&&!this._excluded.handlebars&&(L=L||this.__patterns.handlebars_comment.read(),L=L||this.__patterns.handlebars_unescaped.read(),L=L||this.__patterns.handlebars.read()),this._disabled.django||(!this._excluded.django&&!this._excluded.handlebars&&(L=L||this.__patterns.django_value.read()),this._excluded.django||(L=L||this.__patterns.django_comment.read(),L=L||this.__patterns.django.read())),this._disabled.smarty||this._disabled.django&&this._disabled.handlebars&&(L=L||this.__patterns.smarty_comment.read(),L=L||this.__patterns.smarty_literal.read(),L=L||this.__patterns.smarty.read()));return L},p.exports.TemplatablePattern=R},,,,function(p,y,_){var b=_(19).Beautifier,S=_(20).Options;function R(L,T,D,M){var N=new b(L,T,D,M);return N.beautify()}p.exports=R,p.exports.defaultOptions=function(){return new S}},function(p,y,_){var b=_(20).Options,S=_(2).Output,R=_(21).Tokenizer,L=_(21).TOKEN,T=/\r\n|[\r\n]/,D=/\r\n|[\r\n]/g,M=function(V,G){this.indent_level=0,this.alignment_size=0,this.max_preserve_newlines=V.max_preserve_newlines,this.preserve_newlines=V.preserve_newlines,this._output=new S(V,G)};M.prototype.current_line_has_match=function(V){return this._output.current_line.has_match(V)},M.prototype.set_space_before_token=function(V,G){this._output.space_before_token=V,this._output.non_breaking_space=G},M.prototype.set_wrap_point=function(){this._output.set_indent(this.indent_level,this.alignment_size),this._output.set_wrap_point()},M.prototype.add_raw_token=function(V){this._output.add_raw_token(V)},M.prototype.print_preserved_newlines=function(V){var G=0;V.type!==L.TEXT&&V.previous.type!==L.TEXT&&(G=V.newlines?1:0),this.preserve_newlines&&(G=V.newlines<this.max_preserve_newlines+1?V.newlines:this.max_preserve_newlines+1);for(var te=0;te<G;te++)this.print_newline(te>0);return G!==0},M.prototype.traverse_whitespace=function(V){return V.whitespace_before||V.newlines?(this.print_preserved_newlines(V)||(this._output.space_before_token=!0),!0):!1},M.prototype.previous_token_wrapped=function(){return this._output.previous_token_wrapped},M.prototype.print_newline=function(V){this._output.add_new_line(V)},M.prototype.print_token=function(V){V.text&&(this._output.set_indent(this.indent_level,this.alignment_size),this._output.add_token(V.text))},M.prototype.indent=function(){this.indent_level++},M.prototype.deindent=function(){this.indent_level>0&&(this.indent_level--,this._output.set_indent(this.indent_level,this.alignment_size))},M.prototype.get_full_indent=function(V){return V=this.indent_level+(V||0),V<1?"":this._output.get_indent_string(V)};var N=function(V){for(var G=null,te=V.next;te.type!==L.EOF&&V.closed!==te;){if(te.type===L.ATTRIBUTE&&te.text==="type"){te.next&&te.next.type===L.EQUALS&&te.next.next&&te.next.next.type===L.VALUE&&(G=te.next.next.text);break}te=te.next}return G},j=function(V,G){var te=null,q=null;return G.closed?(V==="script"?te="text/javascript":V==="style"&&(te="text/css"),te=N(G)||te,te.search("text/css")>-1?q="css":te.search(/module|((text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect))/)>-1?q="javascript":te.search(/(text|application|dojo)\/(x-)?(html)/)>-1?q="html":te.search(/test\/null/)>-1&&(q="null"),q):null};function Q(V,G){return G.indexOf(V)!==-1}function X(V,G,te){this.parent=V||null,this.tag=G?G.tag_name:"",this.indent_level=te||0,this.parser_token=G||null}function Y(V){this._printer=V,this._current_frame=null}Y.prototype.get_parser_token=function(){return this._current_frame?this._current_frame.parser_token:null},Y.prototype.record_tag=function(V){var G=new X(this._current_frame,V,this._printer.indent_level);this._current_frame=G},Y.prototype._try_pop_frame=function(V){var G=null;return V&&(G=V.parser_token,this._printer.indent_level=V.indent_level,this._current_frame=V.parent),G},Y.prototype._get_frame=function(V,G){for(var te=this._current_frame;te&&V.indexOf(te.tag)===-1;){if(G&&G.indexOf(te.tag)!==-1){te=null;break}te=te.parent}return te},Y.prototype.try_pop=function(V,G){var te=this._get_frame([V],G);return this._try_pop_frame(te)},Y.prototype.indent_to_tag=function(V){var G=this._get_frame(V);G&&(this._printer.indent_level=G.indent_level)};function oe(V,G,te,q){this._source_text=V||"",G=G||{},this._js_beautify=te,this._css_beautify=q,this._tag_stack=null;var J=new b(G,"html");this._options=J,this._is_wrap_attributes_force=this._options.wrap_attributes.substr(0,5)==="force",this._is_wrap_attributes_force_expand_multiline=this._options.wrap_attributes==="force-expand-multiline",this._is_wrap_attributes_force_aligned=this._options.wrap_attributes==="force-aligned",this._is_wrap_attributes_aligned_multiple=this._options.wrap_attributes==="aligned-multiple",this._is_wrap_attributes_preserve=this._options.wrap_attributes.substr(0,8)==="preserve",this._is_wrap_attributes_preserve_aligned=this._options.wrap_attributes==="preserve-aligned"}oe.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var V=this._source_text,G=this._options.eol;this._options.eol==="auto"&&(G=`
`,V&&T.test(V)&&(G=V.match(T)[0])),V=V.replace(D,`
`);var te=V.match(/^[\t ]*/)[0],q={text:"",type:""},J=new ie(this._options),le=new M(this._options,te),z=new R(V,this._options).tokenize();this._tag_stack=new Y(le);for(var F=null,se=z.next();se.type!==L.EOF;)se.type===L.TAG_OPEN||se.type===L.COMMENT?(F=this._handle_tag_open(le,se,J,q,z),J=F):se.type===L.ATTRIBUTE||se.type===L.EQUALS||se.type===L.VALUE||se.type===L.TEXT&&!J.tag_complete?F=this._handle_inside_tag(le,se,J,q):se.type===L.TAG_CLOSE?F=this._handle_tag_close(le,se,J):se.type===L.TEXT?F=this._handle_text(le,se,J):se.type===L.CONTROL_FLOW_OPEN?F=this._handle_control_flow_open(le,se):se.type===L.CONTROL_FLOW_CLOSE?F=this._handle_control_flow_close(le,se):le.add_raw_token(se),q=F,se=z.next();var _e=le._output.get_code(G);return _e},oe.prototype._handle_control_flow_open=function(V,G){var te={text:G.text,type:G.type};return V.set_space_before_token(G.newlines||G.whitespace_before!=="",!0),G.newlines?V.print_preserved_newlines(G):V.set_space_before_token(G.newlines||G.whitespace_before!=="",!0),V.print_token(G),V.indent(),te},oe.prototype._handle_control_flow_close=function(V,G){var te={text:G.text,type:G.type};return V.deindent(),G.newlines?V.print_preserved_newlines(G):V.set_space_before_token(G.newlines||G.whitespace_before!=="",!0),V.print_token(G),te},oe.prototype._handle_tag_close=function(V,G,te){var q={text:G.text,type:G.type};return V.alignment_size=0,te.tag_complete=!0,V.set_space_before_token(G.newlines||G.whitespace_before!=="",!0),te.is_unformatted?V.add_raw_token(G):(te.tag_start_char==="<"&&(V.set_space_before_token(G.text[0]==="/",!0),this._is_wrap_attributes_force_expand_multiline&&te.has_wrapped_attrs&&V.print_newline(!1)),V.print_token(G)),te.indent_content&&!(te.is_unformatted||te.is_content_unformatted)&&(V.indent(),te.indent_content=!1),!te.is_inline_element&&!(te.is_unformatted||te.is_content_unformatted)&&V.set_wrap_point(),q},oe.prototype._handle_inside_tag=function(V,G,te,q){var J=te.has_wrapped_attrs,le={text:G.text,type:G.type};return V.set_space_before_token(G.newlines||G.whitespace_before!=="",!0),te.is_unformatted?V.add_raw_token(G):te.tag_start_char==="{"&&G.type===L.TEXT?V.print_preserved_newlines(G)?(G.newlines=0,V.add_raw_token(G)):V.print_token(G):(G.type===L.ATTRIBUTE?V.set_space_before_token(!0):(G.type===L.EQUALS||G.type===L.VALUE&&G.previous.type===L.EQUALS)&&V.set_space_before_token(!1),G.type===L.ATTRIBUTE&&te.tag_start_char==="<"&&((this._is_wrap_attributes_preserve||this._is_wrap_attributes_preserve_aligned)&&(V.traverse_whitespace(G),J=J||G.newlines!==0),this._is_wrap_attributes_force&&te.attr_count>=this._options.wrap_attributes_min_attrs&&(q.type!==L.TAG_OPEN||this._is_wrap_attributes_force_expand_multiline)&&(V.print_newline(!1),J=!0)),V.print_token(G),J=J||V.previous_token_wrapped(),te.has_wrapped_attrs=J),le},oe.prototype._handle_text=function(V,G,te){var q={text:G.text,type:"TK_CONTENT"};return te.custom_beautifier_name?this._print_custom_beatifier_text(V,G,te):te.is_unformatted||te.is_content_unformatted?V.add_raw_token(G):(V.traverse_whitespace(G),V.print_token(G)),q},oe.prototype._print_custom_beatifier_text=function(V,G,te){var q=this;if(G.text!==""){var J=G.text,le,z=1,F="",se="";te.custom_beautifier_name==="javascript"&&typeof this._js_beautify=="function"?le=this._js_beautify:te.custom_beautifier_name==="css"&&typeof this._css_beautify=="function"?le=this._css_beautify:te.custom_beautifier_name==="html"&&(le=function(Ht,bt){var Ot=new oe(Ht,bt,q._js_beautify,q._css_beautify);return Ot.beautify()}),this._options.indent_scripts==="keep"?z=0:this._options.indent_scripts==="separate"&&(z=-V.indent_level);var _e=V.get_full_indent(z);if(J=J.replace(/\n[ \t]*$/,""),te.custom_beautifier_name!=="html"&&J[0]==="<"&&J.match(/^(<!--|<!\[CDATA\[)/)){var Pe=/^(<!--[^\n]*|<!\[CDATA\[)(\n?)([ \t\n]*)([\s\S]*)(-->|]]>)$/.exec(J);if(!Pe){V.add_raw_token(G);return}F=_e+Pe[1]+`
`,J=Pe[4],Pe[5]&&(se=_e+Pe[5]),J=J.replace(/\n[ \t]*$/,""),(Pe[2]||Pe[3].indexOf(`
`)!==-1)&&(Pe=Pe[3].match(/[ \t]+$/),Pe&&(G.whitespace_before=Pe[0]))}if(J)if(le){var Re=function(){this.eol=`
`};Re.prototype=this._options.raw_options;var Ze=new Re;J=le(_e+J,Ze)}else{var $e=G.whitespace_before;$e&&(J=J.replace(new RegExp(`
(`+$e+")?","g"),`
`)),J=_e+J.replace(/\n/g,`
`+_e)}F&&(J?J=F+J+`
`+se:J=F+se),V.print_newline(!1),J&&(G.text=J,G.whitespace_before="",G.newlines=0,V.add_raw_token(G),V.print_newline(!0))}},oe.prototype._handle_tag_open=function(V,G,te,q,J){var le=this._get_tag_open_token(G);if((te.is_unformatted||te.is_content_unformatted)&&!te.is_empty_element&&G.type===L.TAG_OPEN&&!le.is_start_tag?(V.add_raw_token(G),le.start_tag_token=this._tag_stack.try_pop(le.tag_name)):(V.traverse_whitespace(G),this._set_tag_position(V,G,le,te,q),le.is_inline_element||V.set_wrap_point(),V.print_token(G)),le.is_start_tag&&this._is_wrap_attributes_force){var z=0,F;do F=J.peek(z),F.type===L.ATTRIBUTE&&(le.attr_count+=1),z+=1;while(F.type!==L.EOF&&F.type!==L.TAG_CLOSE)}return(this._is_wrap_attributes_force_aligned||this._is_wrap_attributes_aligned_multiple||this._is_wrap_attributes_preserve_aligned)&&(le.alignment_size=G.text.length+1),!le.tag_complete&&!le.is_unformatted&&(V.alignment_size=le.alignment_size),le};var ie=function(V,G,te){if(this.parent=G||null,this.text="",this.type="TK_TAG_OPEN",this.tag_name="",this.is_inline_element=!1,this.is_unformatted=!1,this.is_content_unformatted=!1,this.is_empty_element=!1,this.is_start_tag=!1,this.is_end_tag=!1,this.indent_content=!1,this.multiline_content=!1,this.custom_beautifier_name=null,this.start_tag_token=null,this.attr_count=0,this.has_wrapped_attrs=!1,this.alignment_size=0,this.tag_complete=!1,this.tag_start_char="",this.tag_check="",!te)this.tag_complete=!0;else{var q;this.tag_start_char=te.text[0],this.text=te.text,this.tag_start_char==="<"?(q=te.text.match(/^<([^\s>]*)/),this.tag_check=q?q[1]:""):(q=te.text.match(/^{{~?(?:[\^]|#\*?)?([^\s}]+)/),this.tag_check=q?q[1]:"",(te.text.startsWith("{{#>")||te.text.startsWith("{{~#>"))&&this.tag_check[0]===">"&&(this.tag_check===">"&&te.next!==null?this.tag_check=te.next.text.split(" ")[0]:this.tag_check=te.text.split(">")[1])),this.tag_check=this.tag_check.toLowerCase(),te.type===L.COMMENT&&(this.tag_complete=!0),this.is_start_tag=this.tag_check.charAt(0)!=="/",this.tag_name=this.is_start_tag?this.tag_check:this.tag_check.substr(1),this.is_end_tag=!this.is_start_tag||te.closed&&te.closed.text==="/>";var J=2;this.tag_start_char==="{"&&this.text.length>=3&&this.text.charAt(2)==="~"&&(J=3),this.is_end_tag=this.is_end_tag||this.tag_start_char==="{"&&(!V.indent_handlebars||this.text.length<3||/[^#\^]/.test(this.text.charAt(J)))}};oe.prototype._get_tag_open_token=function(V){var G=new ie(this._options,this._tag_stack.get_parser_token(),V);return G.alignment_size=this._options.wrap_attributes_indent_size,G.is_end_tag=G.is_end_tag||Q(G.tag_check,this._options.void_elements),G.is_empty_element=G.tag_complete||G.is_start_tag&&G.is_end_tag,G.is_unformatted=!G.tag_complete&&Q(G.tag_check,this._options.unformatted),G.is_content_unformatted=!G.is_empty_element&&Q(G.tag_check,this._options.content_unformatted),G.is_inline_element=Q(G.tag_name,this._options.inline)||this._options.inline_custom_elements&&G.tag_name.includes("-")||G.tag_start_char==="{",G},oe.prototype._set_tag_position=function(V,G,te,q,J){if(te.is_empty_element||(te.is_end_tag?te.start_tag_token=this._tag_stack.try_pop(te.tag_name):(this._do_optional_end_element(te)&&(te.is_inline_element||V.print_newline(!1)),this._tag_stack.record_tag(te),(te.tag_name==="script"||te.tag_name==="style")&&!(te.is_unformatted||te.is_content_unformatted)&&(te.custom_beautifier_name=j(te.tag_check,G)))),Q(te.tag_check,this._options.extra_liners)&&(V.print_newline(!1),V._output.just_added_blankline()||V.print_newline(!0)),te.is_empty_element){if(te.tag_start_char==="{"&&te.tag_check==="else"){this._tag_stack.indent_to_tag(["if","unless","each"]),te.indent_content=!0;var le=V.current_line_has_match(/{{#if/);le||V.print_newline(!1)}te.tag_name==="!--"&&J.type===L.TAG_CLOSE&&q.is_end_tag&&te.text.indexOf(`
`)===-1||(te.is_inline_element||te.is_unformatted||V.print_newline(!1),this._calcluate_parent_multiline(V,te))}else if(te.is_end_tag){var z=!1;z=te.start_tag_token&&te.start_tag_token.multiline_content,z=z||!te.is_inline_element&&!(q.is_inline_element||q.is_unformatted)&&!(J.type===L.TAG_CLOSE&&te.start_tag_token===q)&&J.type!=="TK_CONTENT",(te.is_content_unformatted||te.is_unformatted)&&(z=!1),z&&V.print_newline(!1)}else te.indent_content=!te.custom_beautifier_name,te.tag_start_char==="<"&&(te.tag_name==="html"?te.indent_content=this._options.indent_inner_html:te.tag_name==="head"?te.indent_content=this._options.indent_head_inner_html:te.tag_name==="body"&&(te.indent_content=this._options.indent_body_inner_html)),!(te.is_inline_element||te.is_unformatted)&&(J.type!=="TK_CONTENT"||te.is_content_unformatted)&&V.print_newline(!1),this._calcluate_parent_multiline(V,te)},oe.prototype._calcluate_parent_multiline=function(V,G){G.parent&&V._output.just_added_newline()&&!((G.is_inline_element||G.is_unformatted)&&G.parent.is_inline_element)&&(G.parent.multiline_content=!0)};var ue=["address","article","aside","blockquote","details","div","dl","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","main","menu","nav","ol","p","pre","section","table","ul"],K=["a","audio","del","ins","map","noscript","video"];oe.prototype._do_optional_end_element=function(V){var G=null;if(!(V.is_empty_element||!V.is_start_tag||!V.parent)){if(V.tag_name==="body")G=G||this._tag_stack.try_pop("head");else if(V.tag_name==="li")G=G||this._tag_stack.try_pop("li",["ol","ul","menu"]);else if(V.tag_name==="dd"||V.tag_name==="dt")G=G||this._tag_stack.try_pop("dt",["dl"]),G=G||this._tag_stack.try_pop("dd",["dl"]);else if(V.parent.tag_name==="p"&&ue.indexOf(V.tag_name)!==-1){var te=V.parent.parent;(!te||K.indexOf(te.tag_name)===-1)&&(G=G||this._tag_stack.try_pop("p"))}else V.tag_name==="rp"||V.tag_name==="rt"?(G=G||this._tag_stack.try_pop("rt",["ruby","rtc"]),G=G||this._tag_stack.try_pop("rp",["ruby","rtc"])):V.tag_name==="optgroup"?G=G||this._tag_stack.try_pop("optgroup",["select"]):V.tag_name==="option"?G=G||this._tag_stack.try_pop("option",["select","datalist","optgroup"]):V.tag_name==="colgroup"?G=G||this._tag_stack.try_pop("caption",["table"]):V.tag_name==="thead"?(G=G||this._tag_stack.try_pop("caption",["table"]),G=G||this._tag_stack.try_pop("colgroup",["table"])):V.tag_name==="tbody"||V.tag_name==="tfoot"?(G=G||this._tag_stack.try_pop("caption",["table"]),G=G||this._tag_stack.try_pop("colgroup",["table"]),G=G||this._tag_stack.try_pop("thead",["table"]),G=G||this._tag_stack.try_pop("tbody",["table"])):V.tag_name==="tr"?(G=G||this._tag_stack.try_pop("caption",["table"]),G=G||this._tag_stack.try_pop("colgroup",["table"]),G=G||this._tag_stack.try_pop("tr",["table","thead","tbody","tfoot"])):(V.tag_name==="th"||V.tag_name==="td")&&(G=G||this._tag_stack.try_pop("td",["table","thead","tbody","tfoot","tr"]),G=G||this._tag_stack.try_pop("th",["table","thead","tbody","tfoot","tr"]));return V.parent=this._tag_stack.get_parser_token(),G}},p.exports.Beautifier=oe},function(p,y,_){var b=_(6).Options;function S(R){b.call(this,R,"html"),this.templating.length===1&&this.templating[0]==="auto"&&(this.templating=["django","erb","handlebars","php"]),this.indent_inner_html=this._get_boolean("indent_inner_html"),this.indent_body_inner_html=this._get_boolean("indent_body_inner_html",!0),this.indent_head_inner_html=this._get_boolean("indent_head_inner_html",!0),this.indent_handlebars=this._get_boolean("indent_handlebars",!0),this.wrap_attributes=this._get_selection("wrap_attributes",["auto","force","force-aligned","force-expand-multiline","aligned-multiple","preserve","preserve-aligned"]),this.wrap_attributes_min_attrs=this._get_number("wrap_attributes_min_attrs",2),this.wrap_attributes_indent_size=this._get_number("wrap_attributes_indent_size",this.indent_size),this.extra_liners=this._get_array("extra_liners",["head","body","/html"]),this.inline=this._get_array("inline",["a","abbr","area","audio","b","bdi","bdo","br","button","canvas","cite","code","data","datalist","del","dfn","em","embed","i","iframe","img","input","ins","kbd","keygen","label","map","mark","math","meter","noscript","object","output","progress","q","ruby","s","samp","select","small","span","strong","sub","sup","svg","template","textarea","time","u","var","video","wbr","text","acronym","big","strike","tt"]),this.inline_custom_elements=this._get_boolean("inline_custom_elements",!0),this.void_elements=this._get_array("void_elements",["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr","!doctype","?xml","basefont","isindex"]),this.unformatted=this._get_array("unformatted",[]),this.content_unformatted=this._get_array("content_unformatted",["pre","textarea"]),this.unformatted_content_delimiter=this._get_characters("unformatted_content_delimiter"),this.indent_scripts=this._get_selection("indent_scripts",["normal","keep","separate"])}S.prototype=new b,p.exports.Options=S},function(p,y,_){var b=_(9).Tokenizer,S=_(9).TOKEN,R=_(13).Directives,L=_(14).TemplatablePattern,T=_(12).Pattern,D={TAG_OPEN:"TK_TAG_OPEN",TAG_CLOSE:"TK_TAG_CLOSE",CONTROL_FLOW_OPEN:"TK_CONTROL_FLOW_OPEN",CONTROL_FLOW_CLOSE:"TK_CONTROL_FLOW_CLOSE",ATTRIBUTE:"TK_ATTRIBUTE",EQUALS:"TK_EQUALS",VALUE:"TK_VALUE",COMMENT:"TK_COMMENT",TEXT:"TK_TEXT",UNKNOWN:"TK_UNKNOWN",START:S.START,RAW:S.RAW,EOF:S.EOF},M=new R(/<\!--/,/-->/),N=function(j,Q){b.call(this,j,Q),this._current_tag_name="";var X=new L(this._input).read_options(this._options),Y=new T(this._input);if(this.__patterns={word:X.until(/[\n\r\t <]/),word_control_flow_close_excluded:X.until(/[\n\r\t <}]/),single_quote:X.until_after(/'/),double_quote:X.until_after(/"/),attribute:X.until(/[\n\r\t =>]|\/>/),element_name:X.until(/[\n\r\t >\/]/),angular_control_flow_start:Y.matching(/\@[a-zA-Z]+[^({]*[({]/),handlebars_comment:Y.starting_with(/{{!--/).until_after(/--}}/),handlebars:Y.starting_with(/{{/).until_after(/}}/),handlebars_open:Y.until(/[\n\r\t }]/),handlebars_raw_close:Y.until(/}}/),comment:Y.starting_with(/<!--/).until_after(/-->/),cdata:Y.starting_with(/<!\[CDATA\[/).until_after(/]]>/),conditional_comment:Y.starting_with(/<!\[/).until_after(/]>/),processing:Y.starting_with(/<\?/).until_after(/\?>/)},this._options.indent_handlebars&&(this.__patterns.word=this.__patterns.word.exclude("handlebars"),this.__patterns.word_control_flow_close_excluded=this.__patterns.word_control_flow_close_excluded.exclude("handlebars")),this._unformatted_content_delimiter=null,this._options.unformatted_content_delimiter){var oe=this._input.get_literal_regexp(this._options.unformatted_content_delimiter);this.__patterns.unformatted_content_delimiter=Y.matching(oe).until_after(oe)}};N.prototype=new b,N.prototype._is_comment=function(j){return!1},N.prototype._is_opening=function(j){return j.type===D.TAG_OPEN||j.type===D.CONTROL_FLOW_OPEN},N.prototype._is_closing=function(j,Q){return j.type===D.TAG_CLOSE&&Q&&((j.text===">"||j.text==="/>")&&Q.text[0]==="<"||j.text==="}}"&&Q.text[0]==="{"&&Q.text[1]==="{")||j.type===D.CONTROL_FLOW_CLOSE&&j.text==="}"&&Q.text.endsWith("{")},N.prototype._reset=function(){this._current_tag_name=""},N.prototype._get_next_token=function(j,Q){var X=null;this._readWhitespace();var Y=this._input.peek();return Y===null?this._create_token(D.EOF,""):(X=X||this._read_open_handlebars(Y,Q),X=X||this._read_attribute(Y,j,Q),X=X||this._read_close(Y,Q),X=X||this._read_script_and_style(Y,j),X=X||this._read_control_flows(Y,Q),X=X||this._read_raw_content(Y,j,Q),X=X||this._read_content_word(Y,Q),X=X||this._read_comment_or_cdata(Y),X=X||this._read_processing(Y),X=X||this._read_open(Y,Q),X=X||this._create_token(D.UNKNOWN,this._input.next()),X)},N.prototype._read_comment_or_cdata=function(j){var Q=null,X=null,Y=null;if(j==="<"){var oe=this._input.peek(1);oe==="!"&&(X=this.__patterns.comment.read(),X?(Y=M.get_directives(X),Y&&Y.ignore==="start"&&(X+=M.readIgnored(this._input))):X=this.__patterns.cdata.read()),X&&(Q=this._create_token(D.COMMENT,X),Q.directives=Y)}return Q},N.prototype._read_processing=function(j){var Q=null,X=null,Y=null;if(j==="<"){var oe=this._input.peek(1);(oe==="!"||oe==="?")&&(X=this.__patterns.conditional_comment.read(),X=X||this.__patterns.processing.read()),X&&(Q=this._create_token(D.COMMENT,X),Q.directives=Y)}return Q},N.prototype._read_open=function(j,Q){var X=null,Y=null;return(!Q||Q.type===D.CONTROL_FLOW_OPEN)&&j==="<"&&(X=this._input.next(),this._input.peek()==="/"&&(X+=this._input.next()),X+=this.__patterns.element_name.read(),Y=this._create_token(D.TAG_OPEN,X)),Y},N.prototype._read_open_handlebars=function(j,Q){var X=null,Y=null;return(!Q||Q.type===D.CONTROL_FLOW_OPEN)&&(this._options.templating.includes("angular")||this._options.indent_handlebars)&&j==="{"&&this._input.peek(1)==="{"&&(this._options.indent_handlebars&&this._input.peek(2)==="!"?(X=this.__patterns.handlebars_comment.read(),X=X||this.__patterns.handlebars.read(),Y=this._create_token(D.COMMENT,X)):(X=this.__patterns.handlebars_open.read(),Y=this._create_token(D.TAG_OPEN,X))),Y},N.prototype._read_control_flows=function(j,Q){var X="",Y=null;if(!this._options.templating.includes("angular"))return Y;if(j==="@"){if(X=this.__patterns.angular_control_flow_start.read(),X==="")return Y;for(var oe=X.endsWith("(")?1:0,ie=0;!(X.endsWith("{")&&oe===ie);){var ue=this._input.next();if(ue===null)break;ue==="("?oe++:ue===")"&&ie++,X+=ue}Y=this._create_token(D.CONTROL_FLOW_OPEN,X)}else j==="}"&&Q&&Q.type===D.CONTROL_FLOW_OPEN&&(X=this._input.next(),Y=this._create_token(D.CONTROL_FLOW_CLOSE,X));return Y},N.prototype._read_close=function(j,Q){var X=null,Y=null;return Q&&Q.type===D.TAG_OPEN&&(Q.text[0]==="<"&&(j===">"||j==="/"&&this._input.peek(1)===">")?(X=this._input.next(),j==="/"&&(X+=this._input.next()),Y=this._create_token(D.TAG_CLOSE,X)):Q.text[0]==="{"&&j==="}"&&this._input.peek(1)==="}"&&(this._input.next(),this._input.next(),Y=this._create_token(D.TAG_CLOSE,"}}"))),Y},N.prototype._read_attribute=function(j,Q,X){var Y=null,oe="";if(X&&X.text[0]==="<")if(j==="=")Y=this._create_token(D.EQUALS,this._input.next());else if(j==='"'||j==="'"){var ie=this._input.next();j==='"'?ie+=this.__patterns.double_quote.read():ie+=this.__patterns.single_quote.read(),Y=this._create_token(D.VALUE,ie)}else oe=this.__patterns.attribute.read(),oe&&(Q.type===D.EQUALS?Y=this._create_token(D.VALUE,oe):Y=this._create_token(D.ATTRIBUTE,oe));return Y},N.prototype._is_content_unformatted=function(j){return this._options.void_elements.indexOf(j)===-1&&(this._options.content_unformatted.indexOf(j)!==-1||this._options.unformatted.indexOf(j)!==-1)},N.prototype._read_raw_content=function(j,Q,X){var Y="";if(X&&X.text[0]==="{")Y=this.__patterns.handlebars_raw_close.read();else if(Q.type===D.TAG_CLOSE&&Q.opened.text[0]==="<"&&Q.text[0]!=="/"){var oe=Q.opened.text.substr(1).toLowerCase();this._is_content_unformatted(oe)&&(Y=this._input.readUntil(new RegExp("</"+oe+"[\\n\\r\\t ]*?>","ig")))}return Y?this._create_token(D.TEXT,Y):null},N.prototype._read_script_and_style=function(j,Q){if(Q.type===D.TAG_CLOSE&&Q.opened.text[0]==="<"&&Q.text[0]!=="/"){var X=Q.opened.text.substr(1).toLowerCase();if(X==="script"||X==="style"){var Y=this._read_comment_or_cdata(j);if(Y)return Y.type=D.TEXT,Y;var oe=this._input.readUntil(new RegExp("</"+X+"[\\n\\r\\t ]*?>","ig"));if(oe)return this._create_token(D.TEXT,oe)}}return null},N.prototype._read_content_word=function(j,Q){var X="";return this._options.unformatted_content_delimiter&&j===this._options.unformatted_content_delimiter[0]&&(X=this.__patterns.unformatted_content_delimiter.read()),X||(X=Q&&Q.type===D.CONTROL_FLOW_OPEN?this.__patterns.word_control_flow_close_excluded.read():this.__patterns.word.read()),X?this._create_token(D.TEXT,X):null},p.exports.Tokenizer=N,p.exports.TOKEN=D}],u={};function a(p){var y=u[p];if(y!==void 0)return y.exports;var _=u[p]={exports:{}};return h[p](_,_.exports,a),_.exports}var x=a(18);l=x})();var c=l;if(1)r=[e,e(58553),e(87804)],i=function(h){var u=e(58553),a=e(87804);return{html_beautify:function(x,p){return c(x,p,u.js_beautify,a.css_beautify)}}}.apply(g,r),i!==void 0&&(d.exports=i);else var f,s})()},58553:function(d,g){var e,r;(function(){var i;(function(){"use strict";var c=[function(u,a,x){var p=x(1).Beautifier,y=x(5).Options;function _(b,S){var R=new p(b,S);return R.beautify()}u.exports=_,u.exports.defaultOptions=function(){return new y}},function(u,a,x){var p=x(2).Output,y=x(3).Token,_=x(4),b=x(5).Options,S=x(7).Tokenizer,R=x(7).line_starters,L=x(7).positionable_operators,T=x(7).TOKEN;function D(F,se){return se.indexOf(F)!==-1}function M(F){return F.replace(/^\s+/g,"")}function N(F){for(var se={},_e=0;_e<F.length;_e++)se[F[_e].replace(/-/g,"_")]=F[_e];return se}function j(F,se){return F&&F.type===T.RESERVED&&F.text===se}function Q(F,se){return F&&F.type===T.RESERVED&&D(F.text,se)}var X=["case","return","do","if","throw","else","await","break","continue","async"],Y=["before-newline","after-newline","preserve-newline"],oe=N(Y),ie=[oe.before_newline,oe.preserve_newline],ue={BlockStatement:"BlockStatement",Statement:"Statement",ObjectLiteral:"ObjectLiteral",ArrayLiteral:"ArrayLiteral",ForInitializer:"ForInitializer",Conditional:"Conditional",Expression:"Expression"};function K(F,se){se.multiline_frame||se.mode===ue.ForInitializer||se.mode===ue.Conditional||F.remove_indent(se.start_line_index)}function V(F){F=F.replace(_.allLineBreaks,`
`);for(var se=[],_e=F.indexOf(`
`);_e!==-1;)se.push(F.substring(0,_e)),F=F.substring(_e+1),_e=F.indexOf(`
`);return F.length&&se.push(F),se}function G(F){return F===ue.ArrayLiteral}function te(F){return D(F,[ue.Expression,ue.ForInitializer,ue.Conditional])}function q(F,se){for(var _e=0;_e<F.length;_e++){var Pe=F[_e].trim();if(Pe.charAt(0)!==se)return!1}return!0}function J(F,se){for(var _e=0,Pe=F.length,Re;_e<Pe;_e++)if(Re=F[_e],Re&&Re.indexOf(se)!==0)return!1;return!0}function le(F,se){se=se||{},this._source_text=F||"",this._output=null,this._tokens=null,this._last_last_text=null,this._flags=null,this._previous_flags=null,this._flag_store=null,this._options=new b(se)}le.prototype.create_flags=function(F,se){var _e=0;F&&(_e=F.indentation_level,!this._output.just_added_newline()&&F.line_indent_level>_e&&(_e=F.line_indent_level));var Pe={mode:se,parent:F,last_token:F?F.last_token:new y(T.START_BLOCK,""),last_word:F?F.last_word:"",declaration_statement:!1,declaration_assignment:!1,multiline_frame:!1,inline_frame:!1,if_block:!1,else_block:!1,class_start_block:!1,do_block:!1,do_while:!1,import_block:!1,in_case_statement:!1,in_case:!1,case_body:!1,case_block:!1,indentation_level:_e,alignment:0,line_indent_level:F?F.line_indent_level:_e,start_line_index:this._output.get_line_number(),ternary_depth:0};return Pe},le.prototype._reset=function(F){var se=F.match(/^[\t ]*/)[0];this._last_last_text="",this._output=new p(this._options,se),this._output.raw=this._options.test_output_raw,this._flag_store=[],this.set_mode(ue.BlockStatement);var _e=new S(F,this._options);return this._tokens=_e.tokenize(),F},le.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var F,se=this._reset(this._source_text),_e=this._options.eol;this._options.eol==="auto"&&(_e=`
`,se&&_.lineBreak.test(se||"")&&(_e=se.match(_.lineBreak)[0]));for(var Pe=this._tokens.next();Pe;)this.handle_token(Pe),this._last_last_text=this._flags.last_token.text,this._flags.last_token=Pe,Pe=this._tokens.next();return F=this._output.get_code(_e),F},le.prototype.handle_token=function(F,se){F.type===T.START_EXPR?this.handle_start_expr(F):F.type===T.END_EXPR?this.handle_end_expr(F):F.type===T.START_BLOCK?this.handle_start_block(F):F.type===T.END_BLOCK?this.handle_end_block(F):F.type===T.WORD?this.handle_word(F):F.type===T.RESERVED?this.handle_word(F):F.type===T.SEMICOLON?this.handle_semicolon(F):F.type===T.STRING?this.handle_string(F):F.type===T.EQUALS?this.handle_equals(F):F.type===T.OPERATOR?this.handle_operator(F):F.type===T.COMMA?this.handle_comma(F):F.type===T.BLOCK_COMMENT?this.handle_block_comment(F,se):F.type===T.COMMENT?this.handle_comment(F,se):F.type===T.DOT?this.handle_dot(F):F.type===T.EOF?this.handle_eof(F):F.type===T.UNKNOWN?this.handle_unknown(F,se):this.handle_unknown(F,se)},le.prototype.handle_whitespace_and_comments=function(F,se){var _e=F.newlines,Pe=this._options.keep_array_indentation&&G(this._flags.mode);if(F.comments_before)for(var Re=F.comments_before.next();Re;)this.handle_whitespace_and_comments(Re,se),this.handle_token(Re,se),Re=F.comments_before.next();if(Pe)for(var Ze=0;Ze<_e;Ze+=1)this.print_newline(Ze>0,se);else if(this._options.max_preserve_newlines&&_e>this._options.max_preserve_newlines&&(_e=this._options.max_preserve_newlines),this._options.preserve_newlines&&_e>1){this.print_newline(!1,se);for(var $e=1;$e<_e;$e+=1)this.print_newline(!0,se)}};var z=["async","break","continue","return","throw","yield"];le.prototype.allow_wrap_or_preserved_newline=function(F,se){if(se=se===void 0?!1:se,!this._output.just_added_newline()){var _e=this._options.preserve_newlines&&F.newlines||se,Pe=D(this._flags.last_token.text,L)||D(F.text,L);if(Pe){var Re=D(this._flags.last_token.text,L)&&D(this._options.operator_position,ie)||D(F.text,L);_e=_e&&Re}if(_e)this.print_newline(!1,!0);else if(this._options.wrap_line_length){if(Q(this._flags.last_token,z))return;this._output.set_wrap_point()}}},le.prototype.print_newline=function(F,se){if(!se&&this._flags.last_token.text!==";"&&this._flags.last_token.text!==","&&this._flags.last_token.text!=="="&&(this._flags.last_token.type!==T.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++"))for(var _e=this._tokens.peek();this._flags.mode===ue.Statement&&!(this._flags.if_block&&j(_e,"else"))&&!this._flags.do_block;)this.restore_mode();this._output.add_new_line(F)&&(this._flags.multiline_frame=!0)},le.prototype.print_token_line_indentation=function(F){this._output.just_added_newline()&&(this._options.keep_array_indentation&&F.newlines&&(F.text==="["||G(this._flags.mode))?(this._output.current_line.set_indent(-1),this._output.current_line.push(F.whitespace_before),this._output.space_before_token=!1):this._output.set_indent(this._flags.indentation_level,this._flags.alignment)&&(this._flags.line_indent_level=this._flags.indentation_level))},le.prototype.print_token=function(F){if(this._output.raw){this._output.add_raw_token(F);return}if(this._options.comma_first&&F.previous&&F.previous.type===T.COMMA&&this._output.just_added_newline()&&this._output.previous_line.last()===","){var se=this._output.previous_line.pop();this._output.previous_line.is_empty()&&(this._output.previous_line.push(se),this._output.trim(!0),this._output.current_line.pop(),this._output.trim()),this.print_token_line_indentation(F),this._output.add_token(","),this._output.space_before_token=!0}this.print_token_line_indentation(F),this._output.non_breaking_space=!0,this._output.add_token(F.text),this._output.previous_token_wrapped&&(this._flags.multiline_frame=!0)},le.prototype.indent=function(){this._flags.indentation_level+=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},le.prototype.deindent=function(){this._flags.indentation_level>0&&(!this._flags.parent||this._flags.indentation_level>this._flags.parent.indentation_level)&&(this._flags.indentation_level-=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},le.prototype.set_mode=function(F){this._flags?(this._flag_store.push(this._flags),this._previous_flags=this._flags):this._previous_flags=this.create_flags(null,F),this._flags=this.create_flags(this._previous_flags,F),this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},le.prototype.restore_mode=function(){this._flag_store.length>0&&(this._previous_flags=this._flags,this._flags=this._flag_store.pop(),this._previous_flags.mode===ue.Statement&&K(this._output,this._previous_flags),this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},le.prototype.start_of_object_property=function(){return this._flags.parent.mode===ue.ObjectLiteral&&this._flags.mode===ue.Statement&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||Q(this._flags.last_token,["get","set"]))},le.prototype.start_of_statement=function(F){var se=!1;return se=se||Q(this._flags.last_token,["var","let","const"])&&F.type===T.WORD,se=se||j(this._flags.last_token,"do"),se=se||!(this._flags.parent.mode===ue.ObjectLiteral&&this._flags.mode===ue.Statement)&&Q(this._flags.last_token,z)&&!F.newlines,se=se||j(this._flags.last_token,"else")&&!(j(F,"if")&&!F.comments_before),se=se||this._flags.last_token.type===T.END_EXPR&&(this._previous_flags.mode===ue.ForInitializer||this._previous_flags.mode===ue.Conditional),se=se||this._flags.last_token.type===T.WORD&&this._flags.mode===ue.BlockStatement&&!this._flags.in_case&&!(F.text==="--"||F.text==="++")&&this._last_last_text!=="function"&&F.type!==T.WORD&&F.type!==T.RESERVED,se=se||this._flags.mode===ue.ObjectLiteral&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||Q(this._flags.last_token,["get","set"])),se?(this.set_mode(ue.Statement),this.indent(),this.handle_whitespace_and_comments(F,!0),this.start_of_object_property()||this.allow_wrap_or_preserved_newline(F,Q(F,["do","for","if","while"])),!0):!1},le.prototype.handle_start_expr=function(F){this.start_of_statement(F)||this.handle_whitespace_and_comments(F);var se=ue.Expression;if(F.text==="["){if(this._flags.last_token.type===T.WORD||this._flags.last_token.text===")"){Q(this._flags.last_token,R)&&(this._output.space_before_token=!0),this.print_token(F),this.set_mode(se),this.indent(),this._options.space_in_paren&&(this._output.space_before_token=!0);return}se=ue.ArrayLiteral,G(this._flags.mode)&&(this._flags.last_token.text==="["||this._flags.last_token.text===","&&(this._last_last_text==="]"||this._last_last_text==="}"))&&(this._options.keep_array_indentation||this.print_newline()),D(this._flags.last_token.type,[T.START_EXPR,T.END_EXPR,T.WORD,T.OPERATOR,T.DOT])||(this._output.space_before_token=!0)}else{if(this._flags.last_token.type===T.RESERVED)this._flags.last_token.text==="for"?(this._output.space_before_token=this._options.space_before_conditional,se=ue.ForInitializer):D(this._flags.last_token.text,["if","while","switch"])?(this._output.space_before_token=this._options.space_before_conditional,se=ue.Conditional):D(this._flags.last_word,["await","async"])?this._output.space_before_token=!0:this._flags.last_token.text==="import"&&F.whitespace_before===""?this._output.space_before_token=!1:(D(this._flags.last_token.text,R)||this._flags.last_token.text==="catch")&&(this._output.space_before_token=!0);else if(this._flags.last_token.type===T.EQUALS||this._flags.last_token.type===T.OPERATOR)this.start_of_object_property()||this.allow_wrap_or_preserved_newline(F);else if(this._flags.last_token.type===T.WORD){this._output.space_before_token=!1;var _e=this._tokens.peek(-3);if(this._options.space_after_named_function&&_e){var Pe=this._tokens.peek(-4);Q(_e,["async","function"])||_e.text==="*"&&Q(Pe,["async","function"])?this._output.space_before_token=!0:this._flags.mode===ue.ObjectLiteral?(_e.text==="{"||_e.text===","||_e.text==="*"&&(Pe.text==="{"||Pe.text===","))&&(this._output.space_before_token=!0):this._flags.parent&&this._flags.parent.class_start_block&&(this._output.space_before_token=!0)}}else this.allow_wrap_or_preserved_newline(F);(this._flags.last_token.type===T.RESERVED&&(this._flags.last_word==="function"||this._flags.last_word==="typeof")||this._flags.last_token.text==="*"&&(D(this._last_last_text,["function","yield"])||this._flags.mode===ue.ObjectLiteral&&D(this._last_last_text,["{",","])))&&(this._output.space_before_token=this._options.space_after_anon_function)}this._flags.last_token.text===";"||this._flags.last_token.type===T.START_BLOCK?this.print_newline():(this._flags.last_token.type===T.END_EXPR||this._flags.last_token.type===T.START_EXPR||this._flags.last_token.type===T.END_BLOCK||this._flags.last_token.text==="."||this._flags.last_token.type===T.COMMA)&&this.allow_wrap_or_preserved_newline(F,F.newlines),this.print_token(F),this.set_mode(se),this._options.space_in_paren&&(this._output.space_before_token=!0),this.indent()},le.prototype.handle_end_expr=function(F){for(;this._flags.mode===ue.Statement;)this.restore_mode();this.handle_whitespace_and_comments(F),this._flags.multiline_frame&&this.allow_wrap_or_preserved_newline(F,F.text==="]"&&G(this._flags.mode)&&!this._options.keep_array_indentation),this._options.space_in_paren&&(this._flags.last_token.type===T.START_EXPR&&!this._options.space_in_empty_paren?(this._output.trim(),this._output.space_before_token=!1):this._output.space_before_token=!0),this.deindent(),this.print_token(F),this.restore_mode(),K(this._output,this._previous_flags),this._flags.do_while&&this._previous_flags.mode===ue.Conditional&&(this._previous_flags.mode=ue.Expression,this._flags.do_block=!1,this._flags.do_while=!1)},le.prototype.handle_start_block=function(F){this.handle_whitespace_and_comments(F);var se=this._tokens.peek(),_e=this._tokens.peek(1);this._flags.last_word==="switch"&&this._flags.last_token.type===T.END_EXPR?(this.set_mode(ue.BlockStatement),this._flags.in_case_statement=!0):this._flags.case_body?this.set_mode(ue.BlockStatement):_e&&(D(_e.text,[":",","])&&D(se.type,[T.STRING,T.WORD,T.RESERVED])||D(se.text,["get","set","..."])&&D(_e.type,[T.WORD,T.RESERVED]))?D(this._last_last_text,["class","interface"])&&!D(_e.text,[":",","])?this.set_mode(ue.BlockStatement):this.set_mode(ue.ObjectLiteral):this._flags.last_token.type===T.OPERATOR&&this._flags.last_token.text==="=>"?this.set_mode(ue.BlockStatement):D(this._flags.last_token.type,[T.EQUALS,T.START_EXPR,T.COMMA,T.OPERATOR])||Q(this._flags.last_token,["return","throw","import","default"])?this.set_mode(ue.ObjectLiteral):this.set_mode(ue.BlockStatement),this._flags.last_token&&Q(this._flags.last_token.previous,["class","extends"])&&(this._flags.class_start_block=!0);var Pe=!se.comments_before&&se.text==="}",Re=Pe&&this._flags.last_word==="function"&&this._flags.last_token.type===T.END_EXPR;if(this._options.brace_preserve_inline){var Ze=0,$e=null;this._flags.inline_frame=!0;do if(Ze+=1,$e=this._tokens.peek(Ze-1),$e.newlines){this._flags.inline_frame=!1;break}while($e.type!==T.EOF&&!($e.type===T.END_BLOCK&&$e.opened===F))}(this._options.brace_style==="expand"||this._options.brace_style==="none"&&F.newlines)&&!this._flags.inline_frame?this._flags.last_token.type!==T.OPERATOR&&(Re||this._flags.last_token.type===T.EQUALS||Q(this._flags.last_token,X)&&this._flags.last_token.text!=="else")?this._output.space_before_token=!0:this.print_newline(!1,!0):(G(this._previous_flags.mode)&&(this._flags.last_token.type===T.START_EXPR||this._flags.last_token.type===T.COMMA)&&((this._flags.last_token.type===T.COMMA||this._options.space_in_paren)&&(this._output.space_before_token=!0),(this._flags.last_token.type===T.COMMA||this._flags.last_token.type===T.START_EXPR&&this._flags.inline_frame)&&(this.allow_wrap_or_preserved_newline(F),this._previous_flags.multiline_frame=this._previous_flags.multiline_frame||this._flags.multiline_frame,this._flags.multiline_frame=!1)),this._flags.last_token.type!==T.OPERATOR&&this._flags.last_token.type!==T.START_EXPR&&(D(this._flags.last_token.type,[T.START_BLOCK,T.SEMICOLON])&&!this._flags.inline_frame?this.print_newline():this._output.space_before_token=!0)),this.print_token(F),this.indent(),!Pe&&!(this._options.brace_preserve_inline&&this._flags.inline_frame)&&this.print_newline()},le.prototype.handle_end_block=function(F){for(this.handle_whitespace_and_comments(F);this._flags.mode===ue.Statement;)this.restore_mode();var se=this._flags.last_token.type===T.START_BLOCK;this._flags.inline_frame&&!se?this._output.space_before_token=!0:this._options.brace_style==="expand"?se||this.print_newline():se||(G(this._flags.mode)&&this._options.keep_array_indentation?(this._options.keep_array_indentation=!1,this.print_newline(),this._options.keep_array_indentation=!0):this.print_newline()),this.restore_mode(),this.print_token(F)},le.prototype.handle_word=function(F){if(F.type===T.RESERVED){if(D(F.text,["set","get"])&&this._flags.mode!==ue.ObjectLiteral)F.type=T.WORD;else if(F.text==="import"&&D(this._tokens.peek().text,["(","."]))F.type=T.WORD;else if(D(F.text,["as","from"])&&!this._flags.import_block)F.type=T.WORD;else if(this._flags.mode===ue.ObjectLiteral){var se=this._tokens.peek();se.text===":"&&(F.type=T.WORD)}}if(this.start_of_statement(F)?Q(this._flags.last_token,["var","let","const"])&&F.type===T.WORD&&(this._flags.declaration_statement=!0):F.newlines&&!te(this._flags.mode)&&(this._flags.last_token.type!==T.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++")&&this._flags.last_token.type!==T.EQUALS&&(this._options.preserve_newlines||!Q(this._flags.last_token,["var","let","const","set","get"]))?(this.handle_whitespace_and_comments(F),this.print_newline()):this.handle_whitespace_and_comments(F),this._flags.do_block&&!this._flags.do_while)if(j(F,"while")){this._output.space_before_token=!0,this.print_token(F),this._output.space_before_token=!0,this._flags.do_while=!0;return}else this.print_newline(),this._flags.do_block=!1;if(this._flags.if_block)if(!this._flags.else_block&&j(F,"else"))this._flags.else_block=!0;else{for(;this._flags.mode===ue.Statement;)this.restore_mode();this._flags.if_block=!1,this._flags.else_block=!1}if(this._flags.in_case_statement&&Q(F,["case","default"])){this.print_newline(),!this._flags.case_block&&(this._flags.case_body||this._options.jslint_happy)&&this.deindent(),this._flags.case_body=!1,this.print_token(F),this._flags.in_case=!0;return}if((this._flags.last_token.type===T.COMMA||this._flags.last_token.type===T.START_EXPR||this._flags.last_token.type===T.EQUALS||this._flags.last_token.type===T.OPERATOR)&&!this.start_of_object_property()&&!(D(this._flags.last_token.text,["+","-"])&&this._last_last_text===":"&&this._flags.parent.mode===ue.ObjectLiteral)&&this.allow_wrap_or_preserved_newline(F),j(F,"function")){(D(this._flags.last_token.text,["}",";"])||this._output.just_added_newline()&&!(D(this._flags.last_token.text,["(","[","{",":","=",","])||this._flags.last_token.type===T.OPERATOR))&&!this._output.just_added_blankline()&&!F.comments_before&&(this.print_newline(),this.print_newline(!0)),this._flags.last_token.type===T.RESERVED||this._flags.last_token.type===T.WORD?Q(this._flags.last_token,["get","set","new","export"])||Q(this._flags.last_token,z)?this._output.space_before_token=!0:j(this._flags.last_token,"default")&&this._last_last_text==="export"?this._output.space_before_token=!0:this._flags.last_token.text==="declare"?this._output.space_before_token=!0:this.print_newline():this._flags.last_token.type===T.OPERATOR||this._flags.last_token.text==="="?this._output.space_before_token=!0:!this._flags.multiline_frame&&(te(this._flags.mode)||G(this._flags.mode))||this.print_newline(),this.print_token(F),this._flags.last_word=F.text;return}var _e="NONE";if(this._flags.last_token.type===T.END_BLOCK?this._previous_flags.inline_frame?_e="SPACE":Q(F,["else","catch","finally","from"])?this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&F.newlines?_e="NEWLINE":(_e="SPACE",this._output.space_before_token=!0):_e="NEWLINE":this._flags.last_token.type===T.SEMICOLON&&this._flags.mode===ue.BlockStatement?_e="NEWLINE":this._flags.last_token.type===T.SEMICOLON&&te(this._flags.mode)?_e="SPACE":this._flags.last_token.type===T.STRING?_e="NEWLINE":this._flags.last_token.type===T.RESERVED||this._flags.last_token.type===T.WORD||this._flags.last_token.text==="*"&&(D(this._last_last_text,["function","yield"])||this._flags.mode===ue.ObjectLiteral&&D(this._last_last_text,["{",","]))?_e="SPACE":this._flags.last_token.type===T.START_BLOCK?this._flags.inline_frame?_e="SPACE":_e="NEWLINE":this._flags.last_token.type===T.END_EXPR&&(this._output.space_before_token=!0,_e="NEWLINE"),Q(F,R)&&this._flags.last_token.text!==")"&&(this._flags.inline_frame||this._flags.last_token.text==="else"||this._flags.last_token.text==="export"?_e="SPACE":_e="NEWLINE"),Q(F,["else","catch","finally"]))if((!(this._flags.last_token.type===T.END_BLOCK&&this._previous_flags.mode===ue.BlockStatement)||this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&F.newlines)&&!this._flags.inline_frame)this.print_newline();else{this._output.trim(!0);var Pe=this._output.current_line;Pe.last()!=="}"&&this.print_newline(),this._output.space_before_token=!0}else _e==="NEWLINE"?Q(this._flags.last_token,X)?this._output.space_before_token=!0:this._flags.last_token.text==="declare"&&Q(F,["var","let","const"])?this._output.space_before_token=!0:this._flags.last_token.type!==T.END_EXPR?(this._flags.last_token.type!==T.START_EXPR||!Q(F,["var","let","const"]))&&this._flags.last_token.text!==":"&&(j(F,"if")&&j(F.previous,"else")?this._output.space_before_token=!0:this.print_newline()):Q(F,R)&&this._flags.last_token.text!==")"&&this.print_newline():this._flags.multiline_frame&&G(this._flags.mode)&&this._flags.last_token.text===","&&this._last_last_text==="}"?this.print_newline():_e==="SPACE"&&(this._output.space_before_token=!0);F.previous&&(F.previous.type===T.WORD||F.previous.type===T.RESERVED)&&(this._output.space_before_token=!0),this.print_token(F),this._flags.last_word=F.text,F.type===T.RESERVED&&(F.text==="do"?this._flags.do_block=!0:F.text==="if"?this._flags.if_block=!0:F.text==="import"?this._flags.import_block=!0:this._flags.import_block&&j(F,"from")&&(this._flags.import_block=!1))},le.prototype.handle_semicolon=function(F){this.start_of_statement(F)?this._output.space_before_token=!1:this.handle_whitespace_and_comments(F);for(var se=this._tokens.peek();this._flags.mode===ue.Statement&&!(this._flags.if_block&&j(se,"else"))&&!this._flags.do_block;)this.restore_mode();this._flags.import_block&&(this._flags.import_block=!1),this.print_token(F)},le.prototype.handle_string=function(F){F.text.startsWith("`")&&F.newlines===0&&F.whitespace_before===""&&(F.previous.text===")"||this._flags.last_token.type===T.WORD)||(this.start_of_statement(F)?this._output.space_before_token=!0:(this.handle_whitespace_and_comments(F),this._flags.last_token.type===T.RESERVED||this._flags.last_token.type===T.WORD||this._flags.inline_frame?this._output.space_before_token=!0:this._flags.last_token.type===T.COMMA||this._flags.last_token.type===T.START_EXPR||this._flags.last_token.type===T.EQUALS||this._flags.last_token.type===T.OPERATOR?this.start_of_object_property()||this.allow_wrap_or_preserved_newline(F):F.text.startsWith("`")&&this._flags.last_token.type===T.END_EXPR&&(F.previous.text==="]"||F.previous.text===")")&&F.newlines===0?this._output.space_before_token=!0:this.print_newline())),this.print_token(F)},le.prototype.handle_equals=function(F){this.start_of_statement(F)||this.handle_whitespace_and_comments(F),this._flags.declaration_statement&&(this._flags.declaration_assignment=!0),this._output.space_before_token=!0,this.print_token(F),this._output.space_before_token=!0},le.prototype.handle_comma=function(F){this.handle_whitespace_and_comments(F,!0),this.print_token(F),this._output.space_before_token=!0,this._flags.declaration_statement?(te(this._flags.parent.mode)&&(this._flags.declaration_assignment=!1),this._flags.declaration_assignment?(this._flags.declaration_assignment=!1,this.print_newline(!1,!0)):this._options.comma_first&&this.allow_wrap_or_preserved_newline(F)):this._flags.mode===ue.ObjectLiteral||this._flags.mode===ue.Statement&&this._flags.parent.mode===ue.ObjectLiteral?(this._flags.mode===ue.Statement&&this.restore_mode(),this._flags.inline_frame||this.print_newline()):this._options.comma_first&&this.allow_wrap_or_preserved_newline(F)},le.prototype.handle_operator=function(F){var se=F.text==="*"&&(Q(this._flags.last_token,["function","yield"])||D(this._flags.last_token.type,[T.START_BLOCK,T.COMMA,T.END_BLOCK,T.SEMICOLON])),_e=D(F.text,["-","+"])&&(D(this._flags.last_token.type,[T.START_BLOCK,T.START_EXPR,T.EQUALS,T.OPERATOR])||D(this._flags.last_token.text,R)||this._flags.last_token.text===",");if(!this.start_of_statement(F)){var Pe=!se;this.handle_whitespace_and_comments(F,Pe)}if(F.text==="*"&&this._flags.last_token.type===T.DOT){this.print_token(F);return}if(F.text==="::"){this.print_token(F);return}if(D(F.text,["-","+"])&&this.start_of_object_property()){this.print_token(F);return}if(this._flags.last_token.type===T.OPERATOR&&D(this._options.operator_position,ie)&&this.allow_wrap_or_preserved_newline(F),F.text===":"&&this._flags.in_case){this.print_token(F),this._flags.in_case=!1,this._flags.case_body=!0,this._tokens.peek().type!==T.START_BLOCK?(this.indent(),this.print_newline(),this._flags.case_block=!1):(this._flags.case_block=!0,this._output.space_before_token=!0);return}var Re=!0,Ze=!0,$e=!1;if(F.text===":"?this._flags.ternary_depth===0?Re=!1:(this._flags.ternary_depth-=1,$e=!0):F.text==="?"&&(this._flags.ternary_depth+=1),!_e&&!se&&this._options.preserve_newlines&&D(F.text,L)){var Ht=F.text===":",bt=Ht&&$e,Ot=Ht&&!$e;switch(this._options.operator_position){case oe.before_newline:this._output.space_before_token=!Ot,this.print_token(F),(!Ht||bt)&&this.allow_wrap_or_preserved_newline(F),this._output.space_before_token=!0;return;case oe.after_newline:this._output.space_before_token=!0,!Ht||bt?this._tokens.peek().newlines?this.print_newline(!1,!0):this.allow_wrap_or_preserved_newline(F):this._output.space_before_token=!1,this.print_token(F),this._output.space_before_token=!0;return;case oe.preserve_newline:Ot||this.allow_wrap_or_preserved_newline(F),Re=!(this._output.just_added_newline()||Ot),this._output.space_before_token=Re,this.print_token(F),this._output.space_before_token=!0;return}}if(se){this.allow_wrap_or_preserved_newline(F),Re=!1;var qt=this._tokens.peek();Ze=qt&&D(qt.type,[T.WORD,T.RESERVED])}else if(F.text==="...")this.allow_wrap_or_preserved_newline(F),Re=this._flags.last_token.type===T.START_BLOCK,Ze=!1;else if(D(F.text,["--","++","!","~"])||_e){if((this._flags.last_token.type===T.COMMA||this._flags.last_token.type===T.START_EXPR)&&this.allow_wrap_or_preserved_newline(F),Re=!1,Ze=!1,F.newlines&&(F.text==="--"||F.text==="++"||F.text==="~")){var er=Q(this._flags.last_token,X)&&F.newlines;er&&(this._previous_flags.if_block||this._previous_flags.else_block)&&this.restore_mode(),this.print_newline(er,!0)}this._flags.last_token.text===";"&&te(this._flags.mode)&&(Re=!0),this._flags.last_token.type===T.RESERVED?Re=!0:this._flags.last_token.type===T.END_EXPR?Re=!(this._flags.last_token.text==="]"&&(F.text==="--"||F.text==="++")):this._flags.last_token.type===T.OPERATOR&&(Re=D(F.text,["--","-","++","+"])&&D(this._flags.last_token.text,["--","-","++","+"]),D(F.text,["+","-"])&&D(this._flags.last_token.text,["--","++"])&&(Ze=!0)),(this._flags.mode===ue.BlockStatement&&!this._flags.inline_frame||this._flags.mode===ue.Statement)&&(this._flags.last_token.text==="{"||this._flags.last_token.text===";")&&this.print_newline()}this._output.space_before_token=this._output.space_before_token||Re,this.print_token(F),this._output.space_before_token=Ze},le.prototype.handle_block_comment=function(F,se){if(this._output.raw){this._output.add_raw_token(F),F.directives&&F.directives.preserve==="end"&&(this._output.raw=this._options.test_output_raw);return}if(F.directives){this.print_newline(!1,se),this.print_token(F),F.directives.preserve==="start"&&(this._output.raw=!0),this.print_newline(!1,!0);return}if(!_.newline.test(F.text)&&!F.newlines){this._output.space_before_token=!0,this.print_token(F),this._output.space_before_token=!0;return}else this.print_block_commment(F,se)},le.prototype.print_block_commment=function(F,se){var _e=V(F.text),Pe,Re=!1,Ze=!1,$e=F.whitespace_before,Ht=$e.length;if(this.print_newline(!1,se),this.print_token_line_indentation(F),this._output.add_token(_e[0]),this.print_newline(!1,se),_e.length>1){for(_e=_e.slice(1),Re=q(_e,"*"),Ze=J(_e,$e),Re&&(this._flags.alignment=1),Pe=0;Pe<_e.length;Pe++)Re?(this.print_token_line_indentation(F),this._output.add_token(M(_e[Pe]))):Ze&&_e[Pe]?(this.print_token_line_indentation(F),this._output.add_token(_e[Pe].substring(Ht))):(this._output.current_line.set_indent(-1),this._output.add_token(_e[Pe])),this.print_newline(!1,se);this._flags.alignment=0}},le.prototype.handle_comment=function(F,se){F.newlines?this.print_newline(!1,se):this._output.trim(!0),this._output.space_before_token=!0,this.print_token(F),this.print_newline(!1,se)},le.prototype.handle_dot=function(F){this.start_of_statement(F)||this.handle_whitespace_and_comments(F,!0),this._flags.last_token.text.match("^[0-9]+$")&&(this._output.space_before_token=!0),Q(this._flags.last_token,X)?this._output.space_before_token=!1:this.allow_wrap_or_preserved_newline(F,this._flags.last_token.text===")"&&this._options.break_chained_methods),this._options.unindent_chained_methods&&this._output.just_added_newline()&&this.deindent(),this.print_token(F)},le.prototype.handle_unknown=function(F,se){this.print_token(F),F.text[F.text.length-1]===`
`&&this.print_newline(!1,se)},le.prototype.handle_eof=function(F){for(;this._flags.mode===ue.Statement;)this.restore_mode();this.handle_whitespace_and_comments(F)},u.exports.Beautifier=le},function(u){function a(y){this.__parent=y,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}a.prototype.clone_empty=function(){var y=new a(this.__parent);return y.set_indent(this.__indent_count,this.__alignment_count),y},a.prototype.item=function(y){return y<0?this.__items[this.__items.length+y]:this.__items[y]},a.prototype.has_match=function(y){for(var _=this.__items.length-1;_>=0;_--)if(this.__items[_].match(y))return!0;return!1},a.prototype.set_indent=function(y,_){this.is_empty()&&(this.__indent_count=y||0,this.__alignment_count=_||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},a.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},a.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},a.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var y=this.__parent.current_line;return y.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),y.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),y.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,y.__items[0]===" "&&(y.__items.splice(0,1),y.__character_count-=1),!0}return!1},a.prototype.is_empty=function(){return this.__items.length===0},a.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},a.prototype.push=function(y){this.__items.push(y);var _=y.lastIndexOf(`
`);_!==-1?this.__character_count=y.length-_:this.__character_count+=y.length},a.prototype.pop=function(){var y=null;return this.is_empty()||(y=this.__items.pop(),this.__character_count-=y.length),y},a.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},a.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},a.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},a.prototype.toString=function(){var y="";return this.is_empty()?this.__parent.indent_empty_lines&&(y=this.__parent.get_indent_string(this.__indent_count)):(y=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),y+=this.__items.join("")),y};function x(y,_){this.__cache=[""],this.__indent_size=y.indent_size,this.__indent_string=y.indent_char,y.indent_with_tabs||(this.__indent_string=new Array(y.indent_size+1).join(y.indent_char)),_=_||"",y.indent_level>0&&(_=new Array(y.indent_level+1).join(this.__indent_string)),this.__base_string=_,this.__base_string_length=_.length}x.prototype.get_indent_size=function(y,_){var b=this.__base_string_length;return _=_||0,y<0&&(b=0),b+=y*this.__indent_size,b+=_,b},x.prototype.get_indent_string=function(y,_){var b=this.__base_string;return _=_||0,y<0&&(y=0,b=""),_+=y*this.__indent_size,this.__ensure_cache(_),b+=this.__cache[_],b},x.prototype.__ensure_cache=function(y){for(;y>=this.__cache.length;)this.__add_column()},x.prototype.__add_column=function(){var y=this.__cache.length,_=0,b="";this.__indent_size&&y>=this.__indent_size&&(_=Math.floor(y/this.__indent_size),y-=_*this.__indent_size,b=new Array(_+1).join(this.__indent_string)),y&&(b+=new Array(y+1).join(" ")),this.__cache.push(b)};function p(y,_){this.__indent_cache=new x(y,_),this.raw=!1,this._end_with_newline=y.end_with_newline,this.indent_size=y.indent_size,this.wrap_line_length=y.wrap_line_length,this.indent_empty_lines=y.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new a(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}p.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},p.prototype.get_line_number=function(){return this.__lines.length},p.prototype.get_indent_string=function(y,_){return this.__indent_cache.get_indent_string(y,_)},p.prototype.get_indent_size=function(y,_){return this.__indent_cache.get_indent_size(y,_)},p.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},p.prototype.add_new_line=function(y){return this.is_empty()||!y&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},p.prototype.get_code=function(y){this.trim(!0);var _=this.current_line.pop();_&&(_[_.length-1]===`
`&&(_=_.replace(/\n+$/g,"")),this.current_line.push(_)),this._end_with_newline&&this.__add_outputline();var b=this.__lines.join(`
`);return y!==`
`&&(b=b.replace(/[\n]/g,y)),b},p.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},p.prototype.set_indent=function(y,_){return y=y||0,_=_||0,this.next_line.set_indent(y,_),this.__lines.length>1?(this.current_line.set_indent(y,_),!0):(this.current_line.set_indent(),!1)},p.prototype.add_raw_token=function(y){for(var _=0;_<y.newlines;_++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(y.whitespace_before),this.current_line.push(y.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},p.prototype.add_token=function(y){this.__add_space_before_token(),this.current_line.push(y),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},p.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},p.prototype.remove_indent=function(y){for(var _=this.__lines.length;y<_;)this.__lines[y]._remove_indent(),y++;this.current_line._remove_wrap_indent()},p.prototype.trim=function(y){for(y=y===void 0?!1:y,this.current_line.trim();y&&this.__lines.length>1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},p.prototype.just_added_newline=function(){return this.current_line.is_empty()},p.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},p.prototype.ensure_empty_line_above=function(y,_){for(var b=this.__lines.length-2;b>=0;){var S=this.__lines[b];if(S.is_empty())break;if(S.item(0).indexOf(y)!==0&&S.item(-1)!==_){this.__lines.splice(b+1,0,new a(this)),this.previous_line=this.__lines[this.__lines.length-2];break}b--}},u.exports.Output=p},function(u){function a(x,p,y,_){this.type=x,this.text=p,this.comments_before=null,this.newlines=y||0,this.whitespace_before=_||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}u.exports.Token=a},function(u,a){var x="\\x23\\x24\\x40\\x41-\\x5a\\x5f\\x61-\\x7a",p="\\x24\\x30-\\x39\\x41-\\x5a\\x5f\\x61-\\x7a",y="\\xaa\\xb5\\xba\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\u02c1\\u02c6-\\u02d1\\u02e0-\\u02e4\\u02ec\\u02ee\\u0370-\\u0374\\u0376\\u0377\\u037a-\\u037d\\u0386\\u0388-\\u038a\\u038c\\u038e-\\u03a1\\u03a3-\\u03f5\\u03f7-\\u0481\\u048a-\\u0527\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05d0-\\u05ea\\u05f0-\\u05f2\\u0620-\\u064a\\u066e\\u066f\\u0671-\\u06d3\\u06d5\\u06e5\\u06e6\\u06ee\\u06ef\\u06fa-\\u06fc\\u06ff\\u0710\\u0712-\\u072f\\u074d-\\u07a5\\u07b1\\u07ca-\\u07ea\\u07f4\\u07f5\\u07fa\\u0800-\\u0815\\u081a\\u0824\\u0828\\u0840-\\u0858\\u08a0\\u08a2-\\u08ac\\u0904-\\u0939\\u093d\\u0950\\u0958-\\u0961\\u0971-\\u0977\\u0979-\\u097f\\u0985-\\u098c\\u098f\\u0990\\u0993-\\u09a8\\u09aa-\\u09b0\\u09b2\\u09b6-\\u09b9\\u09bd\\u09ce\\u09dc\\u09dd\\u09df-\\u09e1\\u09f0\\u09f1\\u0a05-\\u0a0a\\u0a0f\\u0a10\\u0a13-\\u0a28\\u0a2a-\\u0a30\\u0a32\\u0a33\\u0a35\\u0a36\\u0a38\\u0a39\\u0a59-\\u0a5c\\u0a5e\\u0a72-\\u0a74\\u0a85-\\u0a8d\\u0a8f-\\u0a91\\u0a93-\\u0aa8\\u0aaa-\\u0ab0\\u0ab2\\u0ab3\\u0ab5-\\u0ab9\\u0abd\\u0ad0\\u0ae0\\u0ae1\\u0b05-\\u0b0c\\u0b0f\\u0b10\\u0b13-\\u0b28\\u0b2a-\\u0b30\\u0b32\\u0b33\\u0b35-\\u0b39\\u0b3d\\u0b5c\\u0b5d\\u0b5f-\\u0b61\\u0b71\\u0b83\\u0b85-\\u0b8a\\u0b8e-\\u0b90\\u0b92-\\u0b95\\u0b99\\u0b9a\\u0b9c\\u0b9e\\u0b9f\\u0ba3\\u0ba4\\u0ba8-\\u0baa\\u0bae-\\u0bb9\\u0bd0\\u0c05-\\u0c0c\\u0c0e-\\u0c10\\u0c12-\\u0c28\\u0c2a-\\u0c33\\u0c35-\\u0c39\\u0c3d\\u0c58\\u0c59\\u0c60\\u0c61\\u0c85-\\u0c8c\\u0c8e-\\u0c90\\u0c92-\\u0ca8\\u0caa-\\u0cb3\\u0cb5-\\u0cb9\\u0cbd\\u0cde\\u0ce0\\u0ce1\\u0cf1\\u0cf2\\u0d05-\\u0d0c\\u0d0e-\\u0d10\\u0d12-\\u0d3a\\u0d3d\\u0d4e\\u0d60\\u0d61\\u0d7a-\\u0d7f\\u0d85-\\u0d96\\u0d9a-\\u0db1\\u0db3-\\u0dbb\\u0dbd\\u0dc0-\\u0dc6\\u0e01-\\u0e30\\u0e32\\u0e33\\u0e40-\\u0e46\\u0e81\\u0e82\\u0e84\\u0e87\\u0e88\\u0e8a\\u0e8d\\u0e94-\\u0e97\\u0e99-\\u0e9f\\u0ea1-\\u0ea3\\u0ea5\\u0ea7\\u0eaa\\u0eab\\u0ead-\\u0eb0\\u0eb2\\u0eb3\\u0ebd\\u0ec0-\\u0ec4\\u0ec6\\u0edc-\\u0edf\\u0f00\\u0f40-\\u0f47\\u0f49-\\u0f6c\\u0f88-\\u0f8c\\u1000-\\u102a\\u103f\\u1050-\\u1055\\u105a-\\u105d\\u1061\\u1065\\u1066\\u106e-\\u1070\\u1075-\\u1081\\u108e\\u10a0-\\u10c5\\u10c7\\u10cd\\u10d0-\\u10fa\\u10fc-\\u1248\\u124a-\\u124d\\u1250-\\u1256\\u1258\\u125a-\\u125d\\u1260-\\u1288\\u128a-\\u128d\\u1290-\\u12b0\\u12b2-\\u12b5\\u12b8-\\u12be\\u12c0\\u12c2-\\u12c5\\u12c8-\\u12d6\\u12d8-\\u1310\\u1312-\\u1315\\u1318-\\u135a\\u1380-\\u138f\\u13a0-\\u13f4\\u1401-\\u166c\\u166f-\\u167f\\u1681-\\u169a\\u16a0-\\u16ea\\u16ee-\\u16f0\\u1700-\\u170c\\u170e-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176c\\u176e-\\u1770\\u1780-\\u17b3\\u17d7\\u17dc\\u1820-\\u1877\\u1880-\\u18a8\\u18aa\\u18b0-\\u18f5\\u1900-\\u191c\\u1950-\\u196d\\u1970-\\u1974\\u1980-\\u19ab\\u19c1-\\u19c7\\u1a00-\\u1a16\\u1a20-\\u1a54\\u1aa7\\u1b05-\\u1b33\\u1b45-\\u1b4b\\u1b83-\\u1ba0\\u1bae\\u1baf\\u1bba-\\u1be5\\u1c00-\\u1c23\\u1c4d-\\u1c4f\\u1c5a-\\u1c7d\\u1ce9-\\u1cec\\u1cee-\\u1cf1\\u1cf5\\u1cf6\\u1d00-\\u1dbf\\u1e00-\\u1f15\\u1f18-\\u1f1d\\u1f20-\\u1f45\\u1f48-\\u1f4d\\u1f50-\\u1f57\\u1f59\\u1f5b\\u1f5d\\u1f5f-\\u1f7d\\u1f80-\\u1fb4\\u1fb6-\\u1fbc\\u1fbe\\u1fc2-\\u1fc4\\u1fc6-\\u1fcc\\u1fd0-\\u1fd3\\u1fd6-\\u1fdb\\u1fe0-\\u1fec\\u1ff2-\\u1ff4\\u1ff6-\\u1ffc\\u2071\\u207f\\u2090-\\u209c\\u2102\\u2107\\u210a-\\u2113\\u2115\\u2119-\\u211d\\u2124\\u2126\\u2128\\u212a-\\u212d\\u212f-\\u2139\\u213c-\\u213f\\u2145-\\u2149\\u214e\\u2160-\\u2188\\u2c00-\\u2c2e\\u2c30-\\u2c5e\\u2c60-\\u2ce4\\u2ceb-\\u2cee\\u2cf2\\u2cf3\\u2d00-\\u2d25\\u2d27\\u2d2d\\u2d30-\\u2d67\\u2d6f\\u2d80-\\u2d96\\u2da0-\\u2da6\\u2da8-\\u2dae\\u2db0-\\u2db6\\u2db8-\\u2dbe\\u2dc0-\\u2dc6\\u2dc8-\\u2dce\\u2dd0-\\u2dd6\\u2dd8-\\u2dde\\u2e2f\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303c\\u3041-\\u3096\\u309d-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312d\\u3131-\\u318e\\u31a0-\\u31ba\\u31f0-\\u31ff\\u3400-\\u4db5\\u4e00-\\u9fcc\\ua000-\\ua48c\\ua4d0-\\ua4fd\\ua500-\\ua60c\\ua610-\\ua61f\\ua62a\\ua62b\\ua640-\\ua66e\\ua67f-\\ua697\\ua6a0-\\ua6ef\\ua717-\\ua71f\\ua722-\\ua788\\ua78b-\\ua78e\\ua790-\\ua793\\ua7a0-\\ua7aa\\ua7f8-\\ua801\\ua803-\\ua805\\ua807-\\ua80a\\ua80c-\\ua822\\ua840-\\ua873\\ua882-\\ua8b3\\ua8f2-\\ua8f7\\ua8fb\\ua90a-\\ua925\\ua930-\\ua946\\ua960-\\ua97c\\ua984-\\ua9b2\\ua9cf\\uaa00-\\uaa28\\uaa40-\\uaa42\\uaa44-\\uaa4b\\uaa60-\\uaa76\\uaa7a\\uaa80-\\uaaaf\\uaab1\\uaab5\\uaab6\\uaab9-\\uaabd\\uaac0\\uaac2\\uaadb-\\uaadd\\uaae0-\\uaaea\\uaaf2-\\uaaf4\\uab01-\\uab06\\uab09-\\uab0e\\uab11-\\uab16\\uab20-\\uab26\\uab28-\\uab2e\\uabc0-\\uabe2\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufb00-\\ufb06\\ufb13-\\ufb17\\ufb1d\\ufb1f-\\ufb28\\ufb2a-\\ufb36\\ufb38-\\ufb3c\\ufb3e\\ufb40\\ufb41\\ufb43\\ufb44\\ufb46-\\ufbb1\\ufbd3-\\ufd3d\\ufd50-\\ufd8f\\ufd92-\\ufdc7\\ufdf0-\\ufdfb\\ufe70-\\ufe74\\ufe76-\\ufefc\\uff21-\\uff3a\\uff41-\\uff5a\\uff66-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc",_="\\u0300-\\u036f\\u0483-\\u0487\\u0591-\\u05bd\\u05bf\\u05c1\\u05c2\\u05c4\\u05c5\\u05c7\\u0610-\\u061a\\u0620-\\u0649\\u0672-\\u06d3\\u06e7-\\u06e8\\u06fb-\\u06fc\\u0730-\\u074a\\u0800-\\u0814\\u081b-\\u0823\\u0825-\\u0827\\u0829-\\u082d\\u0840-\\u0857\\u08e4-\\u08fe\\u0900-\\u0903\\u093a-\\u093c\\u093e-\\u094f\\u0951-\\u0957\\u0962-\\u0963\\u0966-\\u096f\\u0981-\\u0983\\u09bc\\u09be-\\u09c4\\u09c7\\u09c8\\u09d7\\u09df-\\u09e0\\u0a01-\\u0a03\\u0a3c\\u0a3e-\\u0a42\\u0a47\\u0a48\\u0a4b-\\u0a4d\\u0a51\\u0a66-\\u0a71\\u0a75\\u0a81-\\u0a83\\u0abc\\u0abe-\\u0ac5\\u0ac7-\\u0ac9\\u0acb-\\u0acd\\u0ae2-\\u0ae3\\u0ae6-\\u0aef\\u0b01-\\u0b03\\u0b3c\\u0b3e-\\u0b44\\u0b47\\u0b48\\u0b4b-\\u0b4d\\u0b56\\u0b57\\u0b5f-\\u0b60\\u0b66-\\u0b6f\\u0b82\\u0bbe-\\u0bc2\\u0bc6-\\u0bc8\\u0bca-\\u0bcd\\u0bd7\\u0be6-\\u0bef\\u0c01-\\u0c03\\u0c46-\\u0c48\\u0c4a-\\u0c4d\\u0c55\\u0c56\\u0c62-\\u0c63\\u0c66-\\u0c6f\\u0c82\\u0c83\\u0cbc\\u0cbe-\\u0cc4\\u0cc6-\\u0cc8\\u0cca-\\u0ccd\\u0cd5\\u0cd6\\u0ce2-\\u0ce3\\u0ce6-\\u0cef\\u0d02\\u0d03\\u0d46-\\u0d48\\u0d57\\u0d62-\\u0d63\\u0d66-\\u0d6f\\u0d82\\u0d83\\u0dca\\u0dcf-\\u0dd4\\u0dd6\\u0dd8-\\u0ddf\\u0df2\\u0df3\\u0e34-\\u0e3a\\u0e40-\\u0e45\\u0e50-\\u0e59\\u0eb4-\\u0eb9\\u0ec8-\\u0ecd\\u0ed0-\\u0ed9\\u0f18\\u0f19\\u0f20-\\u0f29\\u0f35\\u0f37\\u0f39\\u0f41-\\u0f47\\u0f71-\\u0f84\\u0f86-\\u0f87\\u0f8d-\\u0f97\\u0f99-\\u0fbc\\u0fc6\\u1000-\\u1029\\u1040-\\u1049\\u1067-\\u106d\\u1071-\\u1074\\u1082-\\u108d\\u108f-\\u109d\\u135d-\\u135f\\u170e-\\u1710\\u1720-\\u1730\\u1740-\\u1750\\u1772\\u1773\\u1780-\\u17b2\\u17dd\\u17e0-\\u17e9\\u180b-\\u180d\\u1810-\\u1819\\u1920-\\u192b\\u1930-\\u193b\\u1951-\\u196d\\u19b0-\\u19c0\\u19c8-\\u19c9\\u19d0-\\u19d9\\u1a00-\\u1a15\\u1a20-\\u1a53\\u1a60-\\u1a7c\\u1a7f-\\u1a89\\u1a90-\\u1a99\\u1b46-\\u1b4b\\u1b50-\\u1b59\\u1b6b-\\u1b73\\u1bb0-\\u1bb9\\u1be6-\\u1bf3\\u1c00-\\u1c22\\u1c40-\\u1c49\\u1c5b-\\u1c7d\\u1cd0-\\u1cd2\\u1d00-\\u1dbe\\u1e01-\\u1f15\\u200c\\u200d\\u203f\\u2040\\u2054\\u20d0-\\u20dc\\u20e1\\u20e5-\\u20f0\\u2d81-\\u2d96\\u2de0-\\u2dff\\u3021-\\u3028\\u3099\\u309a\\ua640-\\ua66d\\ua674-\\ua67d\\ua69f\\ua6f0-\\ua6f1\\ua7f8-\\ua800\\ua806\\ua80b\\ua823-\\ua827\\ua880-\\ua881\\ua8b4-\\ua8c4\\ua8d0-\\ua8d9\\ua8f3-\\ua8f7\\ua900-\\ua909\\ua926-\\ua92d\\ua930-\\ua945\\ua980-\\ua983\\ua9b3-\\ua9c0\\uaa00-\\uaa27\\uaa40-\\uaa41\\uaa4c-\\uaa4d\\uaa50-\\uaa59\\uaa7b\\uaae0-\\uaae9\\uaaf2-\\uaaf3\\uabc0-\\uabe1\\uabec\\uabed\\uabf0-\\uabf9\\ufb20-\\ufb28\\ufe00-\\ufe0f\\ufe20-\\ufe26\\ufe33\\ufe34\\ufe4d-\\ufe4f\\uff10-\\uff19\\uff3f",b="\\\\u[0-9a-fA-F]{4}|\\\\u\\{[0-9a-fA-F]+\\}",S="(?:"+b+"|["+x+y+"])",R="(?:"+b+"|["+p+y+_+"])*";a.identifier=new RegExp(S+R,"g"),a.identifierStart=new RegExp(S),a.identifierMatch=new RegExp("(?:"+b+"|["+p+y+_+"])+");var L=/[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/;a.newline=/[\n\r\u2028\u2029]/,a.lineBreak=new RegExp(`\r
|`+a.newline.source),a.allLineBreaks=new RegExp(a.lineBreak.source,"g")},function(u,a,x){var p=x(6).Options,y=["before-newline","after-newline","preserve-newline"];function _(b){p.call(this,b,"js");var S=this.raw_options.brace_style||null;S==="expand-strict"?this.raw_options.brace_style="expand":S==="collapse-preserve-inline"?this.raw_options.brace_style="collapse,preserve-inline":this.raw_options.braces_on_own_line!==void 0&&(this.raw_options.brace_style=this.raw_options.braces_on_own_line?"expand":"collapse");var R=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_preserve_inline=!1,this.brace_style="collapse";for(var L=0;L<R.length;L++)R[L]==="preserve-inline"?this.brace_preserve_inline=!0:this.brace_style=R[L];this.unindent_chained_methods=this._get_boolean("unindent_chained_methods"),this.break_chained_methods=this._get_boolean("break_chained_methods"),this.space_in_paren=this._get_boolean("space_in_paren"),this.space_in_empty_paren=this._get_boolean("space_in_empty_paren"),this.jslint_happy=this._get_boolean("jslint_happy"),this.space_after_anon_function=this._get_boolean("space_after_anon_function"),this.space_after_named_function=this._get_boolean("space_after_named_function"),this.keep_array_indentation=this._get_boolean("keep_array_indentation"),this.space_before_conditional=this._get_boolean("space_before_conditional",!0),this.unescape_strings=this._get_boolean("unescape_strings"),this.e4x=this._get_boolean("e4x"),this.comma_first=this._get_boolean("comma_first"),this.operator_position=this._get_selection("operator_position",y),this.test_output_raw=this._get_boolean("test_output_raw"),this.jslint_happy&&(this.space_after_anon_function=!0)}_.prototype=new p,u.exports.Options=_},function(u){function a(y,_){this.raw_options=x(y,_),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs",this.indent_char===" "),this.indent_with_tabs&&(this.indent_char=" ",this.indent_size===1&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","angular","django","erb","handlebars","php","smarty"],["auto"])}a.prototype._get_array=function(y,_){var b=this.raw_options[y],S=_||[];return typeof b=="object"?b!==null&&typeof b.concat=="function"&&(S=b.concat()):typeof b=="string"&&(S=b.split(/[^a-zA-Z0-9_\/\-]+/)),S},a.prototype._get_boolean=function(y,_){var b=this.raw_options[y],S=b===void 0?!!_:!!b;return S},a.prototype._get_characters=function(y,_){var b=this.raw_options[y],S=_||"";return typeof b=="string"&&(S=b.replace(/\\r/,"\r").replace(/\\n/,`
`).replace(/\\t/," ")),S},a.prototype._get_number=function(y,_){var b=this.raw_options[y];_=parseInt(_,10),isNaN(_)&&(_=0);var S=parseInt(b,10);return isNaN(S)&&(S=_),S},a.prototype._get_selection=function(y,_,b){var S=this._get_selection_list(y,_,b);if(S.length!==1)throw new Error("Invalid Option Value: The option '"+y+`' can only be one of the following values:
`+_+`
You passed in: '`+this.raw_options[y]+"'");return S[0]},a.prototype._get_selection_list=function(y,_,b){if(!_||_.length===0)throw new Error("Selection list cannot be empty.");if(b=b||[_[0]],!this._is_valid_selection(b,_))throw new Error("Invalid Default Value!");var S=this._get_array(y,b);if(!this._is_valid_selection(S,_))throw new Error("Invalid Option Value: The option '"+y+`' can contain only the following values:
`+_+`
You passed in: '`+this.raw_options[y]+"'");return S},a.prototype._is_valid_selection=function(y,_){return y.length&&_.length&&!y.some(function(b){return _.indexOf(b)===-1})};function x(y,_){var b={};y=p(y);var S;for(S in y)S!==_&&(b[S]=y[S]);if(_&&y[_])for(S in y[_])b[S]=y[_][S];return b}function p(y){var _={},b;for(b in y){var S=b.replace(/-/g,"_");_[S]=y[b]}return _}u.exports.Options=a,u.exports.normalizeOpts=p,u.exports.mergeOpts=x},function(u,a,x){var p=x(8).InputScanner,y=x(9).Tokenizer,_=x(9).TOKEN,b=x(13).Directives,S=x(4),R=x(12).Pattern,L=x(14).TemplatablePattern;function T(q,J){return J.indexOf(q)!==-1}var D={START_EXPR:"TK_START_EXPR",END_EXPR:"TK_END_EXPR",START_BLOCK:"TK_START_BLOCK",END_BLOCK:"TK_END_BLOCK",WORD:"TK_WORD",RESERVED:"TK_RESERVED",SEMICOLON:"TK_SEMICOLON",STRING:"TK_STRING",EQUALS:"TK_EQUALS",OPERATOR:"TK_OPERATOR",COMMA:"TK_COMMA",BLOCK_COMMENT:"TK_BLOCK_COMMENT",COMMENT:"TK_COMMENT",DOT:"TK_DOT",UNKNOWN:"TK_UNKNOWN",START:_.START,RAW:_.RAW,EOF:_.EOF},M=new b(/\/\*/,/\*\//),N=/0[xX][0123456789abcdefABCDEF_]*n?|0[oO][01234567_]*n?|0[bB][01_]*n?|\d[\d_]*n|(?:\.\d[\d_]*|\d[\d_]*\.?[\d_]*)(?:[eE][+-]?[\d_]+)?/,j=/[0-9]/,Q=/[^\d\.]/,X=">>> === !== &&= ??= ||= << && >= ** != == <= >> || ?? |> < / - + > : & % ? ^ | *".split(" "),Y=">>>= ... >>= <<= === >>> !== **= &&= ??= ||= => ^= :: /= << <= == && -= >= >> != -- += ** || ?? ++ %= &= *= |= |> = ! ? > < : / ^ - + * & % ~ |";Y=Y.replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&"),Y="\\?\\.(?!\\d) "+Y,Y=Y.replace(/ /g,"|");var oe=new RegExp(Y),ie="continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export".split(","),ue=ie.concat(["do","in","of","else","get","set","new","catch","finally","typeof","yield","async","await","from","as","class","extends"]),K=new RegExp("^(?:"+ue.join("|")+")$"),V,G=function(q,J){y.call(this,q,J),this._patterns.whitespace=this._patterns.whitespace.matching(/\u00A0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff/.source,/\u2028\u2029/.source);var le=new R(this._input),z=new L(this._input).read_options(this._options);this.__patterns={template:z,identifier:z.starting_with(S.identifier).matching(S.identifierMatch),number:le.matching(N),punct:le.matching(oe),comment:le.starting_with(/\/\//).until(/[\n\r\u2028\u2029]/),block_comment:le.starting_with(/\/\*/).until_after(/\*\//),html_comment_start:le.matching(/<!--/),html_comment_end:le.matching(/-->/),include:le.starting_with(/#include/).until_after(S.lineBreak),shebang:le.starting_with(/#!/).until_after(S.lineBreak),xml:le.matching(/[\s\S]*?<(\/?)([-a-zA-Z:0-9_.]+|{[^}]+?}|!\[CDATA\[[^\]]*?\]\]|)(\s*{[^}]+?}|\s+[-a-zA-Z:0-9_.]+|\s+[-a-zA-Z:0-9_.]+\s*=\s*('[^']*'|"[^"]*"|{([^{}]|{[^}]+?})+?}))*\s*(\/?)\s*>/),single_quote:z.until(/['\\\n\r\u2028\u2029]/),double_quote:z.until(/["\\\n\r\u2028\u2029]/),template_text:z.until(/[`\\$]/),template_expression:z.until(/[`}\\]/)}};G.prototype=new y,G.prototype._is_comment=function(q){return q.type===D.COMMENT||q.type===D.BLOCK_COMMENT||q.type===D.UNKNOWN},G.prototype._is_opening=function(q){return q.type===D.START_BLOCK||q.type===D.START_EXPR},G.prototype._is_closing=function(q,J){return(q.type===D.END_BLOCK||q.type===D.END_EXPR)&&J&&(q.text==="]"&&J.text==="["||q.text===")"&&J.text==="("||q.text==="}"&&J.text==="{")},G.prototype._reset=function(){V=!1},G.prototype._get_next_token=function(q,J){var le=null;this._readWhitespace();var z=this._input.peek();return z===null?this._create_token(D.EOF,""):(le=le||this._read_non_javascript(z),le=le||this._read_string(z),le=le||this._read_pair(z,this._input.peek(1)),le=le||this._read_word(q),le=le||this._read_singles(z),le=le||this._read_comment(z),le=le||this._read_regexp(z,q),le=le||this._read_xml(z,q),le=le||this._read_punctuation(),le=le||this._create_token(D.UNKNOWN,this._input.next()),le)},G.prototype._read_word=function(q){var J;if(J=this.__patterns.identifier.read(),J!=="")return J=J.replace(S.allLineBreaks,`
`),!(q.type===D.DOT||q.type===D.RESERVED&&(q.text==="set"||q.text==="get"))&&K.test(J)?(J==="in"||J==="of")&&(q.type===D.WORD||q.type===D.STRING)?this._create_token(D.OPERATOR,J):this._create_token(D.RESERVED,J):this._create_token(D.WORD,J);if(J=this.__patterns.number.read(),J!=="")return this._create_token(D.WORD,J)},G.prototype._read_singles=function(q){var J=null;return q==="("||q==="["?J=this._create_token(D.START_EXPR,q):q===")"||q==="]"?J=this._create_token(D.END_EXPR,q):q==="{"?J=this._create_token(D.START_BLOCK,q):q==="}"?J=this._create_token(D.END_BLOCK,q):q===";"?J=this._create_token(D.SEMICOLON,q):q==="."&&Q.test(this._input.peek(1))?J=this._create_token(D.DOT,q):q===","&&(J=this._create_token(D.COMMA,q)),J&&this._input.next(),J},G.prototype._read_pair=function(q,J){var le=null;return q==="#"&&J==="{"&&(le=this._create_token(D.START_BLOCK,q+J)),le&&(this._input.next(),this._input.next()),le},G.prototype._read_punctuation=function(){var q=this.__patterns.punct.read();if(q!=="")return q==="="?this._create_token(D.EQUALS,q):q==="?."?this._create_token(D.DOT,q):this._create_token(D.OPERATOR,q)},G.prototype._read_non_javascript=function(q){var J="";if(q==="#"){if(this._is_first_token()&&(J=this.__patterns.shebang.read(),J))return this._create_token(D.UNKNOWN,J.trim()+`
`);if(J=this.__patterns.include.read(),J)return this._create_token(D.UNKNOWN,J.trim()+`
`);q=this._input.next();var le="#";if(this._input.hasNext()&&this._input.testChar(j)){do q=this._input.next(),le+=q;while(this._input.hasNext()&&q!=="#"&&q!=="=");return q==="#"||(this._input.peek()==="["&&this._input.peek(1)==="]"?(le+="[]",this._input.next(),this._input.next()):this._input.peek()==="{"&&this._input.peek(1)==="}"&&(le+="{}",this._input.next(),this._input.next())),this._create_token(D.WORD,le)}this._input.back()}else if(q==="<"&&this._is_first_token()){if(J=this.__patterns.html_comment_start.read(),J){for(;this._input.hasNext()&&!this._input.testChar(S.newline);)J+=this._input.next();return V=!0,this._create_token(D.COMMENT,J)}}else if(V&&q==="-"&&(J=this.__patterns.html_comment_end.read(),J))return V=!1,this._create_token(D.COMMENT,J);return null},G.prototype._read_comment=function(q){var J=null;if(q==="/"){var le="";if(this._input.peek(1)==="*"){le=this.__patterns.block_comment.read();var z=M.get_directives(le);z&&z.ignore==="start"&&(le+=M.readIgnored(this._input)),le=le.replace(S.allLineBreaks,`
`),J=this._create_token(D.BLOCK_COMMENT,le),J.directives=z}else this._input.peek(1)==="/"&&(le=this.__patterns.comment.read(),J=this._create_token(D.COMMENT,le))}return J},G.prototype._read_string=function(q){if(q==="`"||q==="'"||q==='"'){var J=this._input.next();return this.has_char_escapes=!1,q==="`"?J+=this._read_string_recursive("`",!0,"${"):J+=this._read_string_recursive(q),this.has_char_escapes&&this._options.unescape_strings&&(J=te(J)),this._input.peek()===q&&(J+=this._input.next()),J=J.replace(S.allLineBreaks,`
`),this._create_token(D.STRING,J)}return null},G.prototype._allow_regexp_or_xml=function(q){return q.type===D.RESERVED&&T(q.text,["return","case","throw","else","do","typeof","yield"])||q.type===D.END_EXPR&&q.text===")"&&q.opened.previous.type===D.RESERVED&&T(q.opened.previous.text,["if","while","for"])||T(q.type,[D.COMMENT,D.START_EXPR,D.START_BLOCK,D.START,D.END_BLOCK,D.OPERATOR,D.EQUALS,D.EOF,D.SEMICOLON,D.COMMA])},G.prototype._read_regexp=function(q,J){if(q==="/"&&this._allow_regexp_or_xml(J)){for(var le=this._input.next(),z=!1,F=!1;this._input.hasNext()&&(z||F||this._input.peek()!==q)&&!this._input.testChar(S.newline);)le+=this._input.peek(),z?z=!1:(z=this._input.peek()==="\\",this._input.peek()==="["?F=!0:this._input.peek()==="]"&&(F=!1)),this._input.next();return this._input.peek()===q&&(le+=this._input.next(),le+=this._input.read(S.identifier)),this._create_token(D.STRING,le)}return null},G.prototype._read_xml=function(q,J){if(this._options.e4x&&q==="<"&&this._allow_regexp_or_xml(J)){var le="",z=this.__patterns.xml.read_match();if(z){for(var F=z[2].replace(/^{\s+/,"{").replace(/\s+}$/,"}"),se=F.indexOf("{")===0,_e=0;z;){var Pe=!!z[1],Re=z[2],Ze=!!z[z.length-1]||Re.slice(0,8)==="![CDATA[";if(!Ze&&(Re===F||se&&Re.replace(/^{\s+/,"{").replace(/\s+}$/,"}"))&&(Pe?--_e:++_e),le+=z[0],_e<=0)break;z=this.__patterns.xml.read_match()}return z||(le+=this._input.match(/[\s\S]*/g)[0]),le=le.replace(S.allLineBreaks,`
`),this._create_token(D.STRING,le)}}return null};function te(q){for(var J="",le=0,z=new p(q),F=null;z.hasNext();)if(F=z.match(/([\s]|[^\\]|\\\\)+/g),F&&(J+=F[0]),z.peek()==="\\"){if(z.next(),z.peek()==="x")F=z.match(/x([0-9A-Fa-f]{2})/g);else if(z.peek()==="u")F=z.match(/u([0-9A-Fa-f]{4})/g),F||(F=z.match(/u\{([0-9A-Fa-f]+)\}/g));else{J+="\\",z.hasNext()&&(J+=z.next());continue}if(!F||(le=parseInt(F[1],16),le>126&&le<=255&&F[0].indexOf("x")===0))return q;le>=0&&le<32||le>1114111?J+="\\"+F[0]:le===34||le===39||le===92?J+="\\"+String.fromCharCode(le):J+=String.fromCharCode(le)}return J}G.prototype._read_string_recursive=function(q,J,le){var z,F;q==="'"?F=this.__patterns.single_quote:q==='"'?F=this.__patterns.double_quote:q==="`"?F=this.__patterns.template_text:q==="}"&&(F=this.__patterns.template_expression);for(var se=F.read(),_e="";this._input.hasNext();){if(_e=this._input.next(),_e===q||!J&&S.newline.test(_e)){this._input.back();break}else _e==="\\"&&this._input.hasNext()?(z=this._input.peek(),z==="x"||z==="u"?this.has_char_escapes=!0:z==="\r"&&this._input.peek(1)===`
`&&this._input.next(),_e+=this._input.next()):le&&(le==="${"&&_e==="$"&&this._input.peek()==="{"&&(_e+=this._input.next()),le===_e&&(q==="`"?_e+=this._read_string_recursive("}",J,"`"):_e+=this._read_string_recursive("`",J,"${"),this._input.hasNext()&&(_e+=this._input.next())));_e+=F.read(),se+=_e}return se},u.exports.Tokenizer=G,u.exports.TOKEN=D,u.exports.positionable_operators=X.slice(),u.exports.line_starters=ie.slice()},function(u){var a=RegExp.prototype.hasOwnProperty("sticky");function x(p){this.__input=p||"",this.__input_length=this.__input.length,this.__position=0}x.prototype.restart=function(){this.__position=0},x.prototype.back=function(){this.__position>0&&(this.__position-=1)},x.prototype.hasNext=function(){return this.__position<this.__input_length},x.prototype.next=function(){var p=null;return this.hasNext()&&(p=this.__input.charAt(this.__position),this.__position+=1),p},x.prototype.peek=function(p){var y=null;return p=p||0,p+=this.__position,p>=0&&p<this.__input_length&&(y=this.__input.charAt(p)),y},x.prototype.__match=function(p,y){p.lastIndex=y;var _=p.exec(this.__input);return _&&!(a&&p.sticky)&&_.index!==y&&(_=null),_},x.prototype.test=function(p,y){return y=y||0,y+=this.__position,y>=0&&y<this.__input_length?!!this.__match(p,y):!1},x.prototype.testChar=function(p,y){var _=this.peek(y);return p.lastIndex=0,_!==null&&p.test(_)},x.prototype.match=function(p){var y=this.__match(p,this.__position);return y?this.__position+=y[0].length:y=null,y},x.prototype.read=function(p,y,_){var b="",S;return p&&(S=this.match(p),S&&(b+=S[0])),y&&(S||!p)&&(b+=this.readUntil(y,_)),b},x.prototype.readUntil=function(p,y){var _="",b=this.__position;p.lastIndex=this.__position;var S=p.exec(this.__input);return S?(b=S.index,y&&(b+=S[0].length)):b=this.__input_length,_=this.__input.substring(this.__position,b),this.__position=b,_},x.prototype.readUntilAfter=function(p){return this.readUntil(p,!0)},x.prototype.get_regexp=function(p,y){var _=null,b="g";return y&&a&&(b="y"),typeof p=="string"&&p!==""?_=new RegExp(p,b):p&&(_=new RegExp(p.source,b)),_},x.prototype.get_literal_regexp=function(p){return RegExp(p.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},x.prototype.peekUntilAfter=function(p){var y=this.__position,_=this.readUntilAfter(p);return this.__position=y,_},x.prototype.lookBack=function(p){var y=this.__position-1;return y>=p.length&&this.__input.substring(y-p.length,y).toLowerCase()===p},u.exports.InputScanner=x},function(u,a,x){var p=x(8).InputScanner,y=x(3).Token,_=x(10).TokenStream,b=x(11).WhitespacePattern,S={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},R=function(L,T){this._input=new p(L),this._options=T||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new b(this._input)};R.prototype.tokenize=function(){this._input.restart(),this.__tokens=new _,this._reset();for(var L,T=new y(S.START,""),D=null,M=[],N=new _;T.type!==S.EOF;){for(L=this._get_next_token(T,D);this._is_comment(L);)N.add(L),L=this._get_next_token(T,D);N.isEmpty()||(L.comments_before=N,N=new _),L.parent=D,this._is_opening(L)?(M.push(D),D=L):D&&this._is_closing(L,D)&&(L.opened=D,D.closed=L,D=M.pop(),L.parent=D),L.previous=T,T.next=L,this.__tokens.add(L),T=L}return this.__tokens},R.prototype._is_first_token=function(){return this.__tokens.isEmpty()},R.prototype._reset=function(){},R.prototype._get_next_token=function(L,T){this._readWhitespace();var D=this._input.read(/.+/g);return D?this._create_token(S.RAW,D):this._create_token(S.EOF,"")},R.prototype._is_comment=function(L){return!1},R.prototype._is_opening=function(L){return!1},R.prototype._is_closing=function(L,T){return!1},R.prototype._create_token=function(L,T){var D=new y(L,T,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return D},R.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},u.exports.Tokenizer=R,u.exports.TOKEN=S},function(u){function a(x){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=x}a.prototype.restart=function(){this.__position=0},a.prototype.isEmpty=function(){return this.__tokens_length===0},a.prototype.hasNext=function(){return this.__position<this.__tokens_length},a.prototype.next=function(){var x=null;return this.hasNext()&&(x=this.__tokens[this.__position],this.__position+=1),x},a.prototype.peek=function(x){var p=null;return x=x||0,x+=this.__position,x>=0&&x<this.__tokens_length&&(p=this.__tokens[x]),p},a.prototype.add=function(x){this.__parent_token&&(x.parent=this.__parent_token),this.__tokens.push(x),this.__tokens_length+=1},u.exports.TokenStream=a},function(u,a,x){var p=x(12).Pattern;function y(_,b){p.call(this,_,b),b?this._line_regexp=this._input.get_regexp(b._line_regexp):this.__set_whitespace_patterns("",""),this.newline_count=0,this.whitespace_before_token=""}y.prototype=new p,y.prototype.__set_whitespace_patterns=function(_,b){_+="\\t ",b+="\\n\\r",this._match_pattern=this._input.get_regexp("["+_+b+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+b+"]")},y.prototype.read=function(){this.newline_count=0,this.whitespace_before_token="";var _=this._input.read(this._match_pattern);if(_===" ")this.whitespace_before_token=" ";else if(_){var b=this.__split(this._newline_regexp,_);this.newline_count=b.length-1,this.whitespace_before_token=b[this.newline_count]}return _},y.prototype.matching=function(_,b){var S=this._create();return S.__set_whitespace_patterns(_,b),S._update(),S},y.prototype._create=function(){return new y(this._input,this)},y.prototype.__split=function(_,b){_.lastIndex=0;for(var S=0,R=[],L=_.exec(b);L;)R.push(b.substring(S,L.index)),S=L.index+L[0].length,L=_.exec(b);return S<b.length?R.push(b.substring(S,b.length)):R.push(""),R},u.exports.WhitespacePattern=y},function(u){function a(x,p){this._input=x,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,p&&(this._starting_pattern=this._input.get_regexp(p._starting_pattern,!0),this._match_pattern=this._input.get_regexp(p._match_pattern,!0),this._until_pattern=this._input.get_regexp(p._until_pattern),this._until_after=p._until_after)}a.prototype.read=function(){var x=this._input.read(this._starting_pattern);return(!this._starting_pattern||x)&&(x+=this._input.read(this._match_pattern,this._until_pattern,this._until_after)),x},a.prototype.read_match=function(){return this._input.match(this._match_pattern)},a.prototype.until_after=function(x){var p=this._create();return p._until_after=!0,p._until_pattern=this._input.get_regexp(x),p._update(),p},a.prototype.until=function(x){var p=this._create();return p._until_after=!1,p._until_pattern=this._input.get_regexp(x),p._update(),p},a.prototype.starting_with=function(x){var p=this._create();return p._starting_pattern=this._input.get_regexp(x,!0),p._update(),p},a.prototype.matching=function(x){var p=this._create();return p._match_pattern=this._input.get_regexp(x,!0),p._update(),p},a.prototype._create=function(){return new a(this._input,this)},a.prototype._update=function(){},u.exports.Pattern=a},function(u){function a(x,p){x=typeof x=="string"?x:x.source,p=typeof p=="string"?p:p.source,this.__directives_block_pattern=new RegExp(x+/ beautify( \w+[:]\w+)+ /.source+p,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(x+/\sbeautify\signore:end\s/.source+p,"g")}a.prototype.get_directives=function(x){if(!x.match(this.__directives_block_pattern))return null;var p={};this.__directive_pattern.lastIndex=0;for(var y=this.__directive_pattern.exec(x);y;)p[y[1]]=y[2],y=this.__directive_pattern.exec(x);return p},a.prototype.readIgnored=function(x){return x.readUntilAfter(this.__directives_end_ignore_pattern)},u.exports.Directives=a},function(u,a,x){var p=x(12).Pattern,y={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1,angular:!1};function _(b,S){p.call(this,b,S),this.__template_pattern=null,this._disabled=Object.assign({},y),this._excluded=Object.assign({},y),S&&(this.__template_pattern=this._input.get_regexp(S.__template_pattern),this._excluded=Object.assign(this._excluded,S._excluded),this._disabled=Object.assign(this._disabled,S._disabled));var R=new p(b);this.__patterns={handlebars_comment:R.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:R.starting_with(/{{{/).until_after(/}}}/),handlebars:R.starting_with(/{{/).until_after(/}}/),php:R.starting_with(/<\?(?:[= ]|php)/).until_after(/\?>/),erb:R.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:R.starting_with(/{%/).until_after(/%}/),django_value:R.starting_with(/{{/).until_after(/}}/),django_comment:R.starting_with(/{#/).until_after(/#}/),smarty:R.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:R.starting_with(/{\*/).until_after(/\*}/),smarty_literal:R.starting_with(/{literal}/).until_after(/{\/literal}/)}}_.prototype=new p,_.prototype._create=function(){return new _(this._input,this)},_.prototype._update=function(){this.__set_templated_pattern()},_.prototype.disable=function(b){var S=this._create();return S._disabled[b]=!0,S._update(),S},_.prototype.read_options=function(b){var S=this._create();for(var R in y)S._disabled[R]=b.templating.indexOf(R)===-1;return S._update(),S},_.prototype.exclude=function(b){var S=this._create();return S._excluded[b]=!0,S._update(),S},_.prototype.read=function(){var b="";this._match_pattern?b=this._input.read(this._starting_pattern):b=this._input.read(this._starting_pattern,this.__template_pattern);for(var S=this._read_template();S;)this._match_pattern?S+=this._input.read(this._match_pattern):S+=this._input.readUntil(this.__template_pattern),b+=S,S=this._read_template();return this._until_after&&(b+=this._input.readUntilAfter(this._until_pattern)),b},_.prototype.__set_templated_pattern=function(){var b=[];this._disabled.php||b.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||b.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.angular||b.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||b.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(b.push(this.__patterns.django._starting_pattern.source),b.push(this.__patterns.django_value._starting_pattern.source),b.push(this.__patterns.django_comment._starting_pattern.source)),this._disabled.smarty||b.push(this.__patterns.smarty._starting_pattern.source),this._until_pattern&&b.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+b.join("|")+")")},_.prototype._read_template=function(){var b="",S=this._input.peek();if(S==="<"){var R=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&R==="?"&&(b=b||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&R==="%"&&(b=b||this.__patterns.erb.read())}else S==="{"&&(!this._disabled.handlebars&&!this._excluded.handlebars&&(b=b||this.__patterns.handlebars_comment.read(),b=b||this.__patterns.handlebars_unescaped.read(),b=b||this.__patterns.handlebars.read()),this._disabled.django||(!this._excluded.django&&!this._excluded.handlebars&&(b=b||this.__patterns.django_value.read()),this._excluded.django||(b=b||this.__patterns.django_comment.read(),b=b||this.__patterns.django.read())),this._disabled.smarty||this._disabled.django&&this._disabled.handlebars&&(b=b||this.__patterns.smarty_comment.read(),b=b||this.__patterns.smarty_literal.read(),b=b||this.__patterns.smarty.read()));return b},u.exports.TemplatablePattern=_}],f={};function s(u){var a=f[u];if(a!==void 0)return a.exports;var x=f[u]={exports:{}};return c[u](x,x.exports,s),x.exports}var h=s(0);i=h})();var l=i;e=[],r=function(){return{js_beautify:l}}.apply(g,e),r!==void 0&&(d.exports=r)})()},15342:function(d){(function(e,r){d.exports=r()})(typeof self!="undefined"?self:this,function(){return function(g){var e={};function r(i){if(e[i])return e[i].exports;var l=e[i]={i,l:!1,exports:{}};return g[i].call(l.exports,l,l.exports,r),l.l=!0,l.exports}return r.m=g,r.c=e,r.d=function(i,l,c){r.o(i,l)||Object.defineProperty(i,l,{enumerable:!0,get:c})},r.r=function(i){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})},r.t=function(i,l){if(l&1&&(i=r(i)),l&8||l&4&&typeof i=="object"&&i&&i.__esModule)return i;var c=Object.create(null);if(r.r(c),Object.defineProperty(c,"default",{enumerable:!0,value:i}),l&2&&typeof i!="string")for(var f in i)r.d(c,f,function(s){return i[s]}.bind(null,f));return c},r.n=function(i){var l=i&&i.__esModule?function(){return i.default}:function(){return i};return r.d(l,"a",l),l},r.o=function(i,l){return Object.prototype.hasOwnProperty.call(i,l)},r.p="",r(r.s=1)}([function(g,e,r){},function(g,e,r){"use strict";r.r(e);var i=r(0),l=function(){function Ve(W,ee,ne){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=W,this.start=ee,this.end=ne}return Ve.range=function(ee,ne){return ne?!ee||!ee.loc||!ne.loc||ee.loc.lexer!==ne.loc.lexer?null:new Ve(ee.loc.lexer,ee.loc.start,ne.loc.end):ee&&ee.loc},Ve}(),c=function(){function Ve(ee,ne){this.text=void 0,this.loc=void 0,this.text=ee,this.loc=ne}var W=Ve.prototype;return W.range=function(ne,he){return new Ve(he,l.range(this,ne))},Ve}(),f=function Ve(W,ee){this.position=void 0;var ne="KaTeX parse error: "+W,he,Ae=ee&&ee.loc;if(Ae&&Ae.start<=Ae.end){var Ge=Ae.lexer.input;he=Ae.start;var xt=Ae.end;he===Ge.length?ne+=" at end of input: ":ne+=" at position "+(he+1)+": ";var Ft=Ge.slice(he,xt).replace(/[^]/g,"$&\u0332"),nr;he>15?nr="\u2026"+Ge.slice(he-15,he):nr=Ge.slice(0,he);var Tr;xt+15<Ge.length?Tr=Ge.slice(xt,xt+15)+"\u2026":Tr=Ge.slice(xt),ne+=nr+Ft+Tr}var Wr=new Error(ne);return Wr.name="ParseError",Wr.__proto__=Ve.prototype,Wr.position=he,Wr};f.prototype.__proto__=Error.prototype;var s=f,h=function(W,ee){return W.indexOf(ee)!==-1},u=function(W,ee){return W===void 0?ee:W},a=/([A-Z])/g,x=function(W){return W.replace(a,"-$1").toLowerCase()},p={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},y=/[&><"']/g;function _(Ve){return String(Ve).replace(y,function(W){return p[W]})}var b=function Ve(W){return W.type==="ordgroup"||W.type==="color"?W.body.length===1?Ve(W.body[0]):W:W.type==="font"?Ve(W.body):W},S=function(W){var ee=b(W);return ee.type==="mathord"||ee.type==="textord"||ee.type==="atom"},R=function(W){if(!W)throw new Error("Expected non-null, but got "+String(W));return W},L=function(W){var ee=/^\s*([^\\/#]*?)(?::|&#0*58|&#x0*3a)/i.exec(W);return ee!=null?ee[1]:"_relative"},T={contains:h,deflt:u,escape:_,hyphenate:x,getBaseElem:b,isCharacterBox:S,protocolFromUrl:L},D=function(){function Ve(ee){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,ee=ee||{},this.displayMode=T.deflt(ee.displayMode,!1),this.output=T.deflt(ee.output,"htmlAndMathml"),this.leqno=T.deflt(ee.leqno,!1),this.fleqn=T.deflt(ee.fleqn,!1),this.throwOnError=T.deflt(ee.throwOnError,!0),this.errorColor=T.deflt(ee.errorColor,"#cc0000"),this.macros=ee.macros||{},this.minRuleThickness=Math.max(0,T.deflt(ee.minRuleThickness,0)),this.colorIsTextColor=T.deflt(ee.colorIsTextColor,!1),this.strict=T.deflt(ee.strict,"warn"),this.trust=T.deflt(ee.trust,!1),this.maxSize=Math.max(0,T.deflt(ee.maxSize,1/0)),this.maxExpand=Math.max(0,T.deflt(ee.maxExpand,1e3))}var W=Ve.prototype;return W.reportNonstrict=function(ne,he,Ae){var Ge=this.strict;if(typeof Ge=="function"&&(Ge=Ge(ne,he,Ae)),!(!Ge||Ge==="ignore")){if(Ge===!0||Ge==="error")throw new s("LaTeX-incompatible input and strict mode is set to 'error': "+(he+" ["+ne+"]"),Ae);Ge==="warn"?typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(he+" ["+ne+"]")):typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+Ge+"': "+he+" ["+ne+"]"))}},W.useStrictBehavior=function(ne,he,Ae){var Ge=this.strict;if(typeof Ge=="function")try{Ge=Ge(ne,he,Ae)}catch(xt){Ge="error"}return!Ge||Ge==="ignore"?!1:Ge===!0||Ge==="error"?!0:Ge==="warn"?(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(he+" ["+ne+"]")),!1):(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+Ge+"': "+he+" ["+ne+"]")),!1)},W.isTrusted=function(ne){ne.url&&!ne.protocol&&(ne.protocol=T.protocolFromUrl(ne.url));var he=typeof this.trust=="function"?this.trust(ne):this.trust;return!!he},Ve}(),M=function(){function Ve(ee,ne,he){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=ee,this.size=ne,this.cramped=he}var W=Ve.prototype;return W.sup=function(){return K[V[this.id]]},W.sub=function(){return K[G[this.id]]},W.fracNum=function(){return K[te[this.id]]},W.fracDen=function(){return K[q[this.id]]},W.cramp=function(){return K[J[this.id]]},W.text=function(){return K[le[this.id]]},W.isTight=function(){return this.size>=2},Ve}(),N=0,j=1,Q=2,X=3,Y=4,oe=5,ie=6,ue=7,K=[new M(N,0,!1),new M(j,0,!0),new M(Q,1,!1),new M(X,1,!0),new M(Y,2,!1),new M(oe,2,!0),new M(ie,3,!1),new M(ue,3,!0)],V=[Y,oe,Y,oe,ie,ue,ie,ue],G=[oe,oe,oe,oe,ue,ue,ue,ue],te=[Q,X,Y,oe,ie,ue,ie,ue],q=[X,X,oe,oe,ue,ue,ue,ue],J=[j,j,X,X,oe,oe,ue,ue],le=[N,j,Q,X,Q,X,Q,X],z={DISPLAY:K[N],TEXT:K[Q],SCRIPT:K[Y],SCRIPTSCRIPT:K[ie]},F=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function se(Ve){for(var W=0;W<F.length;W++)for(var ee=F[W],ne=0;ne<ee.blocks.length;ne++){var he=ee.blocks[ne];if(Ve>=he[0]&&Ve<=he[1])return ee.name}return null}var _e=[];F.forEach(function(Ve){return Ve.blocks.forEach(function(W){return _e.push.apply(_e,W)})});function Pe(Ve){for(var W=0;W<_e.length;W+=2)if(Ve>=_e[W]&&Ve<=_e[W+1])return!0;return!1}var Re=80,Ze=function(W,ee){return"M95,"+(622+W+ee)+`
c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14
c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54
c44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10
s173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429
c69,-144,104.5,-217.7,106.5,-221
l`+W/2.075+" -"+W+`
c5.3,-9.3,12,-14,20,-14
H400000v`+(40+W)+`H845.2724
s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7
c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z
M`+(834+W)+" "+ee+"h400000v"+(40+W)+"h-400000z"},$e=function(W,ee){return"M263,"+(601+W+ee)+`c0.7,0,18,39.7,52,119
c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120
c340,-704.7,510.7,-1060.3,512,-1067
l`+W/2.084+" -"+W+`
c4.7,-7.3,11,-11,19,-11
H40000v`+(40+W)+`H1012.3
s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232
c-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1
s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26
c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z
M`+(1001+W)+" "+ee+"h400000v"+(40+W)+"h-400000z"},Ht=function(W,ee){return"M983 "+(10+W+ee)+`
l`+W/3.13+" -"+W+`
c4,-6.7,10,-10,18,-10 H400000v`+(40+W)+`
H1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7
s-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744
c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30
c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722
c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5
c53.7,-170.3,84.5,-266.8,92.5,-289.5z
M`+(1001+W)+" "+ee+"h400000v"+(40+W)+"h-400000z"},bt=function(W,ee){return"M424,"+(2398+W+ee)+`
c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514
c0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20
s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121
s209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081
l`+W/4.223+" -"+W+`c4,-6.7,10,-10,18,-10 H400000
v`+(40+W)+`H1014.6
s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185
c-2,6,-10,9,-24,9
c-8,0,-12,-0.7,-12,-2z M`+(1001+W)+" "+ee+`
h400000v`+(40+W)+"h-400000z"},Ot=function(W,ee){return"M473,"+(2713+W+ee)+`
c339.3,-1799.3,509.3,-2700,510,-2702 l`+W/5.298+" -"+W+`
c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+W)+`H1017.7
s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9
c-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200
c0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26
s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,
606zM`+(1001+W)+" "+ee+"h400000v"+(40+W)+"H1017.7z"},qt=function(W,ee,ne){var he=ne-54-ee-W;return"M702 "+(W+ee)+"H400000"+(40+W)+`
H742v`+he+`l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1
h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170
c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667
219 661 l218 661zM702 `+ee+"H400000v"+(40+W)+"H742z"},er=function(W,ee,ne){ee=1e3*ee;var he="";switch(W){case"sqrtMain":he=Ze(ee,Re);break;case"sqrtSize1":he=$e(ee,Re);break;case"sqrtSize2":he=Ht(ee,Re);break;case"sqrtSize3":he=bt(ee,Re);break;case"sqrtSize4":he=Ot(ee,Re);break;case"sqrtTall":he=qt(ee,Re,ne)}return he},Jt={doubleleftarrow:`M262 157
l10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3
0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28
14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5
c2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5
157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87
-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7
-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z
m8 0v40h399730v-40zm0 194v40h399730v-40z`,doublerightarrow:`M399738 392l
-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5
14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88
-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68
-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18
-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782
c-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3
-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z`,leftarrow:`M400000 241H110l3-3c68.7-52.7 113.7-120
135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8
-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247
c-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208
490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3
1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202
l-3-3h399890zM100 241v40h399900v-40z`,leftbrace:`M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117
-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7
5-6 9-10 13-.7 1-7.3 1-20 1H6z`,leftbraceunder:`M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13
35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688
0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7
-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z`,leftgroup:`M400000 80
H435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0
435 0h399565z`,leftgroupunder:`M400000 262
H435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219
435 219h399565z`,leftharpoon:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3
-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5
-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7
-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z`,leftharpoonplus:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5
20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3
-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7
-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z
m0 0v40h400000v-40z`,leftharpoondown:`M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333
5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5
1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667
-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z`,leftharpoondownplus:`M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12
10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7
-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0
v40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z`,lefthook:`M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5
-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3
-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21
71.5 23h399859zM103 281v-40h399897v40z`,leftlinesegment:`M40 281 V428 H0 V94 H40 V241 H400000 v40z
M40 281 V428 H0 V94 H40 V241 H400000 v40z`,leftmapsto:`M40 281 V448H0V74H40V241H400000v40z
M40 281 V448H0V74H40V241H400000v40z`,leftToFrom:`M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23
-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8
c28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3
68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z`,longequal:`M0 50 h400000 v40H0z m0 194h40000v40H0z
M0 50 h400000 v40H0z m0 194h40000v40H0z`,midbrace:`M200428 334
c-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14
-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7
311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11
12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z`,midbraceunder:`M199572 214
c100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14
53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3
11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0
-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z`,oiintSize1:`M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6
-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z
m368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8
60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z`,oiintSize2:`M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8
-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z
m502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2
c0 110 84 276 504 276s502.4-166 502.4-276z`,oiiintSize1:`M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6
-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z
m525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0
85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z`,oiiintSize2:`M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8
-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z
m770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1
c0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z`,rightarrow:`M0 241v40h399891c-47.3 35.3-84 78-110 128
-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20
11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7
39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85
-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
151.7 139 205zm0 0v40h399900v-40z`,rightbrace:`M400000 542l
-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5
s-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1
c124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z`,rightbraceunder:`M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3
28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237
-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z`,rightgroup:`M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0
3-1 3-3v-38c-76-158-257-219-435-219H0z`,rightgroupunder:`M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18
0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z`,rightharpoon:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3
-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2
-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58
69.2 92 94.5zm0 0v40h399900v-40z`,rightharpoonplus:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11
-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7
2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z
m0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z`,rightharpoondown:`M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8
8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5
-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95
-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z`,rightharpoondownplus:`M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8
15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3
8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3
-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z
m0-194v40h400000v-40zm0 0v40h400000v-40z`,righthook:`M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3
15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0
-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21
66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z`,rightlinesegment:`M399960 241 V94 h40 V428 h-40 V281 H0 v-40z
M399960 241 V94 h40 V428 h-40 V281 H0 v-40z`,rightToFrom:`M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23
1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32
-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142
-167z M100 147v40h399900v-40zM0 341v40h399900v-40z`,twoheadleftarrow:`M0 167c68 40
115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69
-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3
-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19
-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101
10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z`,twoheadrightarrow:`M400000 167
c-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3
41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42
18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333
-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70
101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z`,tilde1:`M200 55.538c-77 0-168 73.953-177 73.953-3 0-7
-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0
114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0
4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128
-68.267.847-113-73.952-191-73.952z`,tilde2:`M344 55.266c-142 0-300.638 81.316-311.5 86.418
-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9
31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114
c1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751
181.476 676 181.476c-149 0-189-126.21-332-126.21z`,tilde3:`M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457
-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0
411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697
16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696
-338 0-409-156.573-744-156.573z`,tilde4:`M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345
-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409
177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9
14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409
-175.236-744-175.236z`,vec:`M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5
3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11
10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63
-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1
-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59
H213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359
c-16-25.333-24-45-24-59z`,widehat1:`M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22
c-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z`,widehat2:`M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10
-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat3:`M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10
-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat4:`M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10
-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widecheck1:`M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,
-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z`,widecheck2:`M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck3:`M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck4:`M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,baraboveleftarrow:`M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202
c4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5
c-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130
s-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47
121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6
s2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11
c0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z
M100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z`,rightarrowabovebar:`M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32
-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0
13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39
-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5
-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z`,baraboveshortleftharpoon:`M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17
c2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21
c-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40
c-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z
M0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z`,rightharpoonaboveshortbar:`M0,241 l0,40c399126,0,399993,0,399993,0
c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
M0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z`,shortbaraboveleftharpoon:`M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,
1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,
-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z
M93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z`,shortrightharpoonabovebar:`M53,241l0,40c398570,0,399437,0,399437,0
c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},Xe=function(){function Ve(ee){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=ee,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}var W=Ve.prototype;return W.hasClass=function(ne){return T.contains(this.classes,ne)},W.toNode=function(){for(var ne=document.createDocumentFragment(),he=0;he<this.children.length;he++)ne.appendChild(this.children[he].toNode());return ne},W.toMarkup=function(){for(var ne="",he=0;he<this.children.length;he++)ne+=this.children[he].toMarkup();return ne},W.toText=function(){var ne=function(Ae){return Ae.toText()};return this.children.map(ne).join("")},Ve}(),Pt=function(W){return W.filter(function(ee){return ee}).join(" ")},Ut=function(W,ee,ne){if(this.classes=W||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=ne||{},ee){ee.style.isTight()&&this.classes.push("mtight");var he=ee.getColor();he&&(this.style.color=he)}},st=function(W){var ee=document.createElement(W);ee.className=Pt(this.classes);for(var ne in this.style)this.style.hasOwnProperty(ne)&&(ee.style[ne]=this.style[ne]);for(var he in this.attributes)this.attributes.hasOwnProperty(he)&&ee.setAttribute(he,this.attributes[he]);for(var Ae=0;Ae<this.children.length;Ae++)ee.appendChild(this.children[Ae].toNode());return ee},yt=function(W){var ee="<"+W;this.classes.length&&(ee+=' class="'+T.escape(Pt(this.classes))+'"');var ne="";for(var he in this.style)this.style.hasOwnProperty(he)&&(ne+=T.hyphenate(he)+":"+this.style[he]+";");ne&&(ee+=' style="'+T.escape(ne)+'"');for(var Ae in this.attributes)this.attributes.hasOwnProperty(Ae)&&(ee+=" "+Ae+'="'+T.escape(this.attributes[Ae])+'"');ee+=">";for(var Ge=0;Ge<this.children.length;Ge++)ee+=this.children[Ge].toMarkup();return ee+="</"+W+">",ee},ht=function(){function Ve(ee,ne,he,Ae){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,Ut.call(this,ee,he,Ae),this.children=ne||[]}var W=Ve.prototype;return W.setAttribute=function(ne,he){this.attributes[ne]=he},W.hasClass=function(ne){return T.contains(this.classes,ne)},W.toNode=function(){return st.call(this,"span")},W.toMarkup=function(){return yt.call(this,"span")},Ve}(),Je=function(){function Ve(ee,ne,he,Ae){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,Ut.call(this,ne,Ae),this.children=he||[],this.setAttribute("href",ee)}var W=Ve.prototype;return W.setAttribute=function(ne,he){this.attributes[ne]=he},W.hasClass=function(ne){return T.contains(this.classes,ne)},W.toNode=function(){return st.call(this,"a")},W.toMarkup=function(){return yt.call(this,"a")},Ve}(),je=function(){function Ve(ee,ne,he){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=ne,this.src=ee,this.classes=["mord"],this.style=he}var W=Ve.prototype;return W.hasClass=function(ne){return T.contains(this.classes,ne)},W.toNode=function(){var ne=document.createElement("img");ne.src=this.src,ne.alt=this.alt,ne.className="mord";for(var he in this.style)this.style.hasOwnProperty(he)&&(ne.style[he]=this.style[he]);return ne},W.toMarkup=function(){var ne="<img src='"+this.src+" 'alt='"+this.alt+"' ",he="";for(var Ae in this.style)this.style.hasOwnProperty(Ae)&&(he+=T.hyphenate(Ae)+":"+this.style[Ae]+";");return he&&(ne+=' style="'+T.escape(he)+'"'),ne+="'/>",ne},Ve}(),ge={\u00EE:"\u0131\u0302",\u00EF:"\u0131\u0308",\u00ED:"\u0131\u0301",\u00EC:"\u0131\u0300"},Se=function(){function Ve(ee,ne,he,Ae,Ge,xt,Ft,nr){this.text=void 0,this.height=void 0,this.depth=void 0,this.italic=void 0,this.skew=void 0,this.width=void 0,this.maxFontSize=void 0,this.classes=void 0,this.style=void 0,this.text=ee,this.height=ne||0,this.depth=he||0,this.italic=Ae||0,this.skew=Ge||0,this.width=xt||0,this.classes=Ft||[],this.style=nr||{},this.maxFontSize=0;var Tr=se(this.text.charCodeAt(0));Tr&&this.classes.push(Tr+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=ge[this.text])}var W=Ve.prototype;return W.hasClass=function(ne){return T.contains(this.classes,ne)},W.toNode=function(){var ne=document.createTextNode(this.text),he=null;this.italic>0&&(he=document.createElement("span"),he.style.marginRight=this.italic+"em"),this.classes.length>0&&(he=he||document.createElement("span"),he.className=Pt(this.classes));for(var Ae in this.style)this.style.hasOwnProperty(Ae)&&(he=he||document.createElement("span"),he.style[Ae]=this.style[Ae]);return he?(he.appendChild(ne),he):ne},W.toMarkup=function(){var ne=!1,he="<span";this.classes.length&&(ne=!0,he+=' class="',he+=T.escape(Pt(this.classes)),he+='"');var Ae="";this.italic>0&&(Ae+="margin-right:"+this.italic+"em;");for(var Ge in this.style)this.style.hasOwnProperty(Ge)&&(Ae+=T.hyphenate(Ge)+":"+this.style[Ge]+";");Ae&&(ne=!0,he+=' style="'+T.escape(Ae)+'"');var xt=T.escape(this.text);return ne?(he+=">",he+=xt,he+="</span>",he):xt},Ve}(),Me=function(){function Ve(ee,ne){this.children=void 0,this.attributes=void 0,this.children=ee||[],this.attributes=ne||{}}var W=Ve.prototype;return W.toNode=function(){var ne="http://www.w3.org/2000/svg",he=document.createElementNS(ne,"svg");for(var Ae in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Ae)&&he.setAttribute(Ae,this.attributes[Ae]);for(var Ge=0;Ge<this.children.length;Ge++)he.appendChild(this.children[Ge].toNode());return he},W.toMarkup=function(){var ne="<svg";for(var he in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,he)&&(ne+=" "+he+"='"+this.attributes[he]+"'");ne+=">";for(var Ae=0;Ae<this.children.length;Ae++)ne+=this.children[Ae].toMarkup();return ne+="</svg>",ne},Ve}(),Ne=function(){function Ve(ee,ne){this.pathName=void 0,this.alternate=void 0,this.pathName=ee,this.alternate=ne}var W=Ve.prototype;return W.toNode=function(){var ne="http://www.w3.org/2000/svg",he=document.createElementNS(ne,"path");return this.alternate?he.setAttribute("d",this.alternate):he.setAttribute("d",Jt[this.pathName]),he},W.toMarkup=function(){return this.alternate?"<path d='"+this.alternate+"'/>":"<path d='"+Jt[this.pathName]+"'/>"},Ve}(),He=function(){function Ve(ee){this.attributes=void 0,this.attributes=ee||{}}var W=Ve.prototype;return W.toNode=function(){var ne="http://www.w3.org/2000/svg",he=document.createElementNS(ne,"line");for(var Ae in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Ae)&&he.setAttribute(Ae,this.attributes[Ae]);return he},W.toMarkup=function(){var ne="<line";for(var he in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,he)&&(ne+=" "+he+"='"+this.attributes[he]+"'");return ne+="/>",ne},Ve}();function nt(Ve){if(Ve instanceof Se)return Ve;throw new Error("Expected symbolNode but got "+String(Ve)+".")}function ct(Ve){if(Ve instanceof ht)return Ve;throw new Error("Expected span<HtmlDomNode> but got "+String(Ve)+".")}var Vt={"AMS-Regular":{65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473]},"Fraktur-Regular":{33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],163:[0,.69444,0,0,.86853],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],163:[0,.69444,0,0,.76909],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],305:[0,.43056,0,.02778,.32246],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],567:[.19444,.43056,0,.08334,.38403],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.12,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,1],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.67,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.9,0,0,.278],8943:[-.19,.31,0,0,1.172],8945:[-.1,.82,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.744,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.744,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333]},"Math-Italic":{65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059]},"Math-Regular":{65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059]},"SansSerif-Bold":{33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212]},"Size1-Regular":{40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}},Wt={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},Ie={\u00C5:"A",\u00C7:"C",\u00D0:"D",\u00DE:"o",\u00E5:"a",\u00E7:"c",\u00F0:"d",\u00FE:"o",\u0410:"A",\u0411:"B",\u0412:"B",\u0413:"F",\u0414:"A",\u0415:"E",\u0416:"K",\u0417:"3",\u0418:"N",\u0419:"N",\u041A:"K",\u041B:"N",\u041C:"M",\u041D:"H",\u041E:"O",\u041F:"N",\u0420:"P",\u0421:"C",\u0422:"T",\u0423:"y",\u0424:"O",\u0425:"X",\u0426:"U",\u0427:"h",\u0428:"W",\u0429:"W",\u042A:"B",\u042B:"X",\u042C:"B",\u042D:"3",\u042E:"X",\u042F:"R",\u0430:"a",\u0431:"b",\u0432:"a",\u0433:"r",\u0434:"y",\u0435:"e",\u0436:"m",\u0437:"e",\u0438:"n",\u0439:"n",\u043A:"n",\u043B:"n",\u043C:"m",\u043D:"n",\u043E:"o",\u043F:"n",\u0440:"p",\u0441:"c",\u0442:"o",\u0443:"y",\u0444:"b",\u0445:"x",\u0446:"n",\u0447:"n",\u0448:"w",\u0449:"w",\u044A:"a",\u044B:"m",\u044C:"a",\u044D:"e",\u044E:"m",\u044F:"r"};function qe(Ve,W){Vt[Ve]=W}function Gt(Ve,W,ee){if(!Vt[W])throw new Error("Font metrics not found for font: "+W+".");var ne=Ve.charCodeAt(0),he=Vt[W][ne];if(!he&&Ve[0]in Ie&&(ne=Ie[Ve[0]].charCodeAt(0),he=Vt[W][ne]),!he&&ee==="text"&&Pe(ne)&&(he=Vt[W][77]),he)return{depth:he[0],height:he[1],italic:he[2],skew:he[3],width:he[4]}}var kt={};function Zt(Ve){var W;if(Ve>=5?W=0:Ve>=3?W=1:W=2,!kt[W]){var ee=kt[W]={cssEmPerMu:Wt.quad[W]/18};for(var ne in Wt)Wt.hasOwnProperty(ne)&&(ee[ne]=Wt[ne][W])}return kt[W]}var Nt={bin:1,close:1,inner:1,open:1,punct:1,rel:1},Ct={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},Yt={math:{},text:{}},We=Yt;function fe(Ve,W,ee,ne,he,Ae){Yt[Ve][he]={font:W,group:ee,replace:ne},Ae&&ne&&(Yt[Ve][ne]=Yt[Ve][he])}var pe="math",Dt="text",Ce="main",dt="ams",zt="accent-token",Tt="bin",Oe="close",St="inner",be="mathord",Ke="op-token",vt="open",Rt="punct",Fe="rel",kr="spacing",At="textord";fe(pe,Ce,Fe,"\u2261","\\equiv",!0),fe(pe,Ce,Fe,"\u227A","\\prec",!0),fe(pe,Ce,Fe,"\u227B","\\succ",!0),fe(pe,Ce,Fe,"\u223C","\\sim",!0),fe(pe,Ce,Fe,"\u22A5","\\perp"),fe(pe,Ce,Fe,"\u2AAF","\\preceq",!0),fe(pe,Ce,Fe,"\u2AB0","\\succeq",!0),fe(pe,Ce,Fe,"\u2243","\\simeq",!0),fe(pe,Ce,Fe,"\u2223","\\mid",!0),fe(pe,Ce,Fe,"\u226A","\\ll",!0),fe(pe,Ce,Fe,"\u226B","\\gg",!0),fe(pe,Ce,Fe,"\u224D","\\asymp",!0),fe(pe,Ce,Fe,"\u2225","\\parallel"),fe(pe,Ce,Fe,"\u22C8","\\bowtie",!0),fe(pe,Ce,Fe,"\u2323","\\smile",!0),fe(pe,Ce,Fe,"\u2291","\\sqsubseteq",!0),fe(pe,Ce,Fe,"\u2292","\\sqsupseteq",!0),fe(pe,Ce,Fe,"\u2250","\\doteq",!0),fe(pe,Ce,Fe,"\u2322","\\frown",!0),fe(pe,Ce,Fe,"\u220B","\\ni",!0),fe(pe,Ce,Fe,"\u221D","\\propto",!0),fe(pe,Ce,Fe,"\u22A2","\\vdash",!0),fe(pe,Ce,Fe,"\u22A3","\\dashv",!0),fe(pe,Ce,Fe,"\u220B","\\owns"),fe(pe,Ce,Rt,".","\\ldotp"),fe(pe,Ce,Rt,"\u22C5","\\cdotp"),fe(pe,Ce,At,"#","\\#"),fe(Dt,Ce,At,"#","\\#"),fe(pe,Ce,At,"&","\\&"),fe(Dt,Ce,At,"&","\\&"),fe(pe,Ce,At,"\u2135","\\aleph",!0),fe(pe,Ce,At,"\u2200","\\forall",!0),fe(pe,Ce,At,"\u210F","\\hbar",!0),fe(pe,Ce,At,"\u2203","\\exists",!0),fe(pe,Ce,At,"\u2207","\\nabla",!0),fe(pe,Ce,At,"\u266D","\\flat",!0),fe(pe,Ce,At,"\u2113","\\ell",!0),fe(pe,Ce,At,"\u266E","\\natural",!0),fe(pe,Ce,At,"\u2663","\\clubsuit",!0),fe(pe,Ce,At,"\u2118","\\wp",!0),fe(pe,Ce,At,"\u266F","\\sharp",!0),fe(pe,Ce,At,"\u2662","\\diamondsuit",!0),fe(pe,Ce,At,"\u211C","\\Re",!0),fe(pe,Ce,At,"\u2661","\\heartsuit",!0),fe(pe,Ce,At,"\u2111","\\Im",!0),fe(pe,Ce,At,"\u2660","\\spadesuit",!0),fe(Dt,Ce,At,"\xA7","\\S",!0),fe(Dt,Ce,At,"\xB6","\\P",!0),fe(pe,Ce,At,"\u2020","\\dag"),fe(Dt,Ce,At,"\u2020","\\dag"),fe(Dt,Ce,At,"\u2020","\\textdagger"),fe(pe,Ce,At,"\u2021","\\ddag"),fe(Dt,Ce,At,"\u2021","\\ddag"),fe(Dt,Ce,At,"\u2021","\\textdaggerdbl"),fe(pe,Ce,Oe,"\u23B1","\\rmoustache",!0),fe(pe,Ce,vt,"\u23B0","\\lmoustache",!0),fe(pe,Ce,Oe,"\u27EF","\\rgroup",!0),fe(pe,Ce,vt,"\u27EE","\\lgroup",!0),fe(pe,Ce,Tt,"\u2213","\\mp",!0),fe(pe,Ce,Tt,"\u2296","\\ominus",!0),fe(pe,Ce,Tt,"\u228E","\\uplus",!0),fe(pe,Ce,Tt,"\u2293","\\sqcap",!0),fe(pe,Ce,Tt,"\u2217","\\ast"),fe(pe,Ce,Tt,"\u2294","\\sqcup",!0),fe(pe,Ce,Tt,"\u25EF","\\bigcirc"),fe(pe,Ce,Tt,"\u2219","\\bullet"),fe(pe,Ce,Tt,"\u2021","\\ddagger"),fe(pe,Ce,Tt,"\u2240","\\wr",!0),fe(pe,Ce,Tt,"\u2A3F","\\amalg"),fe(pe,Ce,Tt,"&","\\And"),fe(pe,Ce,Fe,"\u27F5","\\longleftarrow",!0),fe(pe,Ce,Fe,"\u21D0","\\Leftarrow",!0),fe(pe,Ce,Fe,"\u27F8","\\Longleftarrow",!0),fe(pe,Ce,Fe,"\u27F6","\\longrightarrow",!0),fe(pe,Ce,Fe,"\u21D2","\\Rightarrow",!0),fe(pe,Ce,Fe,"\u27F9","\\Longrightarrow",!0),fe(pe,Ce,Fe,"\u2194","\\leftrightarrow",!0),fe(pe,Ce,Fe,"\u27F7","\\longleftrightarrow",!0),fe(pe,Ce,Fe,"\u21D4","\\Leftrightarrow",!0),fe(pe,Ce,Fe,"\u27FA","\\Longleftrightarrow",!0),fe(pe,Ce,Fe,"\u21A6","\\mapsto",!0),fe(pe,Ce,Fe,"\u27FC","\\longmapsto",!0),fe(pe,Ce,Fe,"\u2197","\\nearrow",!0),fe(pe,Ce,Fe,"\u21A9","\\hookleftarrow",!0),fe(pe,Ce,Fe,"\u21AA","\\hookrightarrow",!0),fe(pe,Ce,Fe,"\u2198","\\searrow",!0),fe(pe,Ce,Fe,"\u21BC","\\leftharpoonup",!0),fe(pe,Ce,Fe,"\u21C0","\\rightharpoonup",!0),fe(pe,Ce,Fe,"\u2199","\\swarrow",!0),fe(pe,Ce,Fe,"\u21BD","\\leftharpoondown",!0),fe(pe,Ce,Fe,"\u21C1","\\rightharpoondown",!0),fe(pe,Ce,Fe,"\u2196","\\nwarrow",!0),fe(pe,Ce,Fe,"\u21CC","\\rightleftharpoons",!0),fe(pe,dt,Fe,"\u226E","\\nless",!0),fe(pe,dt,Fe,"\uE010","\\@nleqslant"),fe(pe,dt,Fe,"\uE011","\\@nleqq"),fe(pe,dt,Fe,"\u2A87","\\lneq",!0),fe(pe,dt,Fe,"\u2268","\\lneqq",!0),fe(pe,dt,Fe,"\uE00C","\\@lvertneqq"),fe(pe,dt,Fe,"\u22E6","\\lnsim",!0),fe(pe,dt,Fe,"\u2A89","\\lnapprox",!0),fe(pe,dt,Fe,"\u2280","\\nprec",!0),fe(pe,dt,Fe,"\u22E0","\\npreceq",!0),fe(pe,dt,Fe,"\u22E8","\\precnsim",!0),fe(pe,dt,Fe,"\u2AB9","\\precnapprox",!0),fe(pe,dt,Fe,"\u2241","\\nsim",!0),fe(pe,dt,Fe,"\uE006","\\@nshortmid"),fe(pe,dt,Fe,"\u2224","\\nmid",!0),fe(pe,dt,Fe,"\u22AC","\\nvdash",!0),fe(pe,dt,Fe,"\u22AD","\\nvDash",!0),fe(pe,dt,Fe,"\u22EA","\\ntriangleleft"),fe(pe,dt,Fe,"\u22EC","\\ntrianglelefteq",!0),fe(pe,dt,Fe,"\u228A","\\subsetneq",!0),fe(pe,dt,Fe,"\uE01A","\\@varsubsetneq"),fe(pe,dt,Fe,"\u2ACB","\\subsetneqq",!0),fe(pe,dt,Fe,"\uE017","\\@varsubsetneqq"),fe(pe,dt,Fe,"\u226F","\\ngtr",!0),fe(pe,dt,Fe,"\uE00F","\\@ngeqslant"),fe(pe,dt,Fe,"\uE00E","\\@ngeqq"),fe(pe,dt,Fe,"\u2A88","\\gneq",!0),fe(pe,dt,Fe,"\u2269","\\gneqq",!0),fe(pe,dt,Fe,"\uE00D","\\@gvertneqq"),fe(pe,dt,Fe,"\u22E7","\\gnsim",!0),fe(pe,dt,Fe,"\u2A8A","\\gnapprox",!0),fe(pe,dt,Fe,"\u2281","\\nsucc",!0),fe(pe,dt,Fe,"\u22E1","\\nsucceq",!0),fe(pe,dt,Fe,"\u22E9","\\succnsim",!0),fe(pe,dt,Fe,"\u2ABA","\\succnapprox",!0),fe(pe,dt,Fe,"\u2246","\\ncong",!0),fe(pe,dt,Fe,"\uE007","\\@nshortparallel"),fe(pe,dt,Fe,"\u2226","\\nparallel",!0),fe(pe,dt,Fe,"\u22AF","\\nVDash",!0),fe(pe,dt,Fe,"\u22EB","\\ntriangleright"),fe(pe,dt,Fe,"\u22ED","\\ntrianglerighteq",!0),fe(pe,dt,Fe,"\uE018","\\@nsupseteqq"),fe(pe,dt,Fe,"\u228B","\\supsetneq",!0),fe(pe,dt,Fe,"\uE01B","\\@varsupsetneq"),fe(pe,dt,Fe,"\u2ACC","\\supsetneqq",!0),fe(pe,dt,Fe,"\uE019","\\@varsupsetneqq"),fe(pe,dt,Fe,"\u22AE","\\nVdash",!0),fe(pe,dt,Fe,"\u2AB5","\\precneqq",!0),fe(pe,dt,Fe,"\u2AB6","\\succneqq",!0),fe(pe,dt,Fe,"\uE016","\\@nsubseteqq"),fe(pe,dt,Tt,"\u22B4","\\unlhd"),fe(pe,dt,Tt,"\u22B5","\\unrhd"),fe(pe,dt,Fe,"\u219A","\\nleftarrow",!0),fe(pe,dt,Fe,"\u219B","\\nrightarrow",!0),fe(pe,dt,Fe,"\u21CD","\\nLeftarrow",!0),fe(pe,dt,Fe,"\u21CF","\\nRightarrow",!0),fe(pe,dt,Fe,"\u21AE","\\nleftrightarrow",!0),fe(pe,dt,Fe,"\u21CE","\\nLeftrightarrow",!0),fe(pe,dt,Fe,"\u25B3","\\vartriangle"),fe(pe,dt,At,"\u210F","\\hslash"),fe(pe,dt,At,"\u25BD","\\triangledown"),fe(pe,dt,At,"\u25CA","\\lozenge"),fe(pe,dt,At,"\u24C8","\\circledS"),fe(pe,dt,At,"\xAE","\\circledR"),fe(Dt,dt,At,"\xAE","\\circledR"),fe(pe,dt,At,"\u2221","\\measuredangle",!0),fe(pe,dt,At,"\u2204","\\nexists"),fe(pe,dt,At,"\u2127","\\mho"),fe(pe,dt,At,"\u2132","\\Finv",!0),fe(pe,dt,At,"\u2141","\\Game",!0),fe(pe,dt,At,"\u2035","\\backprime"),fe(pe,dt,At,"\u25B2","\\blacktriangle"),fe(pe,dt,At,"\u25BC","\\blacktriangledown"),fe(pe,dt,At,"\u25A0","\\blacksquare"),fe(pe,dt,At,"\u29EB","\\blacklozenge"),fe(pe,dt,At,"\u2605","\\bigstar"),fe(pe,dt,At,"\u2222","\\sphericalangle",!0),fe(pe,dt,At,"\u2201","\\complement",!0),fe(pe,dt,At,"\xF0","\\eth",!0),fe(pe,dt,At,"\u2571","\\diagup"),fe(pe,dt,At,"\u2572","\\diagdown"),fe(pe,dt,At,"\u25A1","\\square"),fe(pe,dt,At,"\u25A1","\\Box"),fe(pe,dt,At,"\u25CA","\\Diamond"),fe(pe,dt,At,"\xA5","\\yen",!0),fe(Dt,dt,At,"\xA5","\\yen",!0),fe(pe,dt,At,"\u2713","\\checkmark",!0),fe(Dt,dt,At,"\u2713","\\checkmark"),fe(pe,dt,At,"\u2136","\\beth",!0),fe(pe,dt,At,"\u2138","\\daleth",!0),fe(pe,dt,At,"\u2137","\\gimel",!0),fe(pe,dt,At,"\u03DD","\\digamma",!0),fe(pe,dt,At,"\u03F0","\\varkappa"),fe(pe,dt,vt,"\u250C","\\ulcorner",!0),fe(pe,dt,Oe,"\u2510","\\urcorner",!0),fe(pe,dt,vt,"\u2514","\\llcorner",!0),fe(pe,dt,Oe,"\u2518","\\lrcorner",!0),fe(pe,dt,Fe,"\u2266","\\leqq",!0),fe(pe,dt,Fe,"\u2A7D","\\leqslant",!0),fe(pe,dt,Fe,"\u2A95","\\eqslantless",!0),fe(pe,dt,Fe,"\u2272","\\lesssim",!0),fe(pe,dt,Fe,"\u2A85","\\lessapprox",!0),fe(pe,dt,Fe,"\u224A","\\approxeq",!0),fe(pe,dt,Tt,"\u22D6","\\lessdot"),fe(pe,dt,Fe,"\u22D8","\\lll",!0),fe(pe,dt,Fe,"\u2276","\\lessgtr",!0),fe(pe,dt,Fe,"\u22DA","\\lesseqgtr",!0),fe(pe,dt,Fe,"\u2A8B","\\lesseqqgtr",!0),fe(pe,dt,Fe,"\u2251","\\doteqdot"),fe(pe,dt,Fe,"\u2253","\\risingdotseq",!0),fe(pe,dt,Fe,"\u2252","\\fallingdotseq",!0),fe(pe,dt,Fe,"\u223D","\\backsim",!0),fe(pe,dt,Fe,"\u22CD","\\backsimeq",!0),fe(pe,dt,Fe,"\u2AC5","\\subseteqq",!0),fe(pe,dt,Fe,"\u22D0","\\Subset",!0),fe(pe,dt,Fe,"\u228F","\\sqsubset",!0),fe(pe,dt,Fe,"\u227C","\\preccurlyeq",!0),fe(pe,dt,Fe,"\u22DE","\\curlyeqprec",!0),fe(pe,dt,Fe,"\u227E","\\precsim",!0),fe(pe,dt,Fe,"\u2AB7","\\precapprox",!0),fe(pe,dt,Fe,"\u22B2","\\vartriangleleft"),fe(pe,dt,Fe,"\u22B4","\\trianglelefteq"),fe(pe,dt,Fe,"\u22A8","\\vDash",!0),fe(pe,dt,Fe,"\u22AA","\\Vvdash",!0),fe(pe,dt,Fe,"\u2323","\\smallsmile"),fe(pe,dt,Fe,"\u2322","\\smallfrown"),fe(pe,dt,Fe,"\u224F","\\bumpeq",!0),fe(pe,dt,Fe,"\u224E","\\Bumpeq",!0),fe(pe,dt,Fe,"\u2267","\\geqq",!0),fe(pe,dt,Fe,"\u2A7E","\\geqslant",!0),fe(pe,dt,Fe,"\u2A96","\\eqslantgtr",!0),fe(pe,dt,Fe,"\u2273","\\gtrsim",!0),fe(pe,dt,Fe,"\u2A86","\\gtrapprox",!0),fe(pe,dt,Tt,"\u22D7","\\gtrdot"),fe(pe,dt,Fe,"\u22D9","\\ggg",!0),fe(pe,dt,Fe,"\u2277","\\gtrless",!0),fe(pe,dt,Fe,"\u22DB","\\gtreqless",!0),fe(pe,dt,Fe,"\u2A8C","\\gtreqqless",!0),fe(pe,dt,Fe,"\u2256","\\eqcirc",!0),fe(pe,dt,Fe,"\u2257","\\circeq",!0),fe(pe,dt,Fe,"\u225C","\\triangleq",!0),fe(pe,dt,Fe,"\u223C","\\thicksim"),fe(pe,dt,Fe,"\u2248","\\thickapprox"),fe(pe,dt,Fe,"\u2AC6","\\supseteqq",!0),fe(pe,dt,Fe,"\u22D1","\\Supset",!0),fe(pe,dt,Fe,"\u2290","\\sqsupset",!0),fe(pe,dt,Fe,"\u227D","\\succcurlyeq",!0),fe(pe,dt,Fe,"\u22DF","\\curlyeqsucc",!0),fe(pe,dt,Fe,"\u227F","\\succsim",!0),fe(pe,dt,Fe,"\u2AB8","\\succapprox",!0),fe(pe,dt,Fe,"\u22B3","\\vartriangleright"),fe(pe,dt,Fe,"\u22B5","\\trianglerighteq"),fe(pe,dt,Fe,"\u22A9","\\Vdash",!0),fe(pe,dt,Fe,"\u2223","\\shortmid"),fe(pe,dt,Fe,"\u2225","\\shortparallel"),fe(pe,dt,Fe,"\u226C","\\between",!0),fe(pe,dt,Fe,"\u22D4","\\pitchfork",!0),fe(pe,dt,Fe,"\u221D","\\varpropto"),fe(pe,dt,Fe,"\u25C0","\\blacktriangleleft"),fe(pe,dt,Fe,"\u2234","\\therefore",!0),fe(pe,dt,Fe,"\u220D","\\backepsilon"),fe(pe,dt,Fe,"\u25B6","\\blacktriangleright"),fe(pe,dt,Fe,"\u2235","\\because",!0),fe(pe,dt,Fe,"\u22D8","\\llless"),fe(pe,dt,Fe,"\u22D9","\\gggtr"),fe(pe,dt,Tt,"\u22B2","\\lhd"),fe(pe,dt,Tt,"\u22B3","\\rhd"),fe(pe,dt,Fe,"\u2242","\\eqsim",!0),fe(pe,Ce,Fe,"\u22C8","\\Join"),fe(pe,dt,Fe,"\u2251","\\Doteq",!0),fe(pe,dt,Tt,"\u2214","\\dotplus",!0),fe(pe,dt,Tt,"\u2216","\\smallsetminus"),fe(pe,dt,Tt,"\u22D2","\\Cap",!0),fe(pe,dt,Tt,"\u22D3","\\Cup",!0),fe(pe,dt,Tt,"\u2A5E","\\doublebarwedge",!0),fe(pe,dt,Tt,"\u229F","\\boxminus",!0),fe(pe,dt,Tt,"\u229E","\\boxplus",!0),fe(pe,dt,Tt,"\u22C7","\\divideontimes",!0),fe(pe,dt,Tt,"\u22C9","\\ltimes",!0),fe(pe,dt,Tt,"\u22CA","\\rtimes",!0),fe(pe,dt,Tt,"\u22CB","\\leftthreetimes",!0),fe(pe,dt,Tt,"\u22CC","\\rightthreetimes",!0),fe(pe,dt,Tt,"\u22CF","\\curlywedge",!0),fe(pe,dt,Tt,"\u22CE","\\curlyvee",!0),fe(pe,dt,Tt,"\u229D","\\circleddash",!0),fe(pe,dt,Tt,"\u229B","\\circledast",!0),fe(pe,dt,Tt,"\u22C5","\\centerdot"),fe(pe,dt,Tt,"\u22BA","\\intercal",!0),fe(pe,dt,Tt,"\u22D2","\\doublecap"),fe(pe,dt,Tt,"\u22D3","\\doublecup"),fe(pe,dt,Tt,"\u22A0","\\boxtimes",!0),fe(pe,dt,Fe,"\u21E2","\\dashrightarrow",!0),fe(pe,dt,Fe,"\u21E0","\\dashleftarrow",!0),fe(pe,dt,Fe,"\u21C7","\\leftleftarrows",!0),fe(pe,dt,Fe,"\u21C6","\\leftrightarrows",!0),fe(pe,dt,Fe,"\u21DA","\\Lleftarrow",!0),fe(pe,dt,Fe,"\u219E","\\twoheadleftarrow",!0),fe(pe,dt,Fe,"\u21A2","\\leftarrowtail",!0),fe(pe,dt,Fe,"\u21AB","\\looparrowleft",!0),fe(pe,dt,Fe,"\u21CB","\\leftrightharpoons",!0),fe(pe,dt,Fe,"\u21B6","\\curvearrowleft",!0),fe(pe,dt,Fe,"\u21BA","\\circlearrowleft",!0),fe(pe,dt,Fe,"\u21B0","\\Lsh",!0),fe(pe,dt,Fe,"\u21C8","\\upuparrows",!0),fe(pe,dt,Fe,"\u21BF","\\upharpoonleft",!0),fe(pe,dt,Fe,"\u21C3","\\downharpoonleft",!0),fe(pe,dt,Fe,"\u22B8","\\multimap",!0),fe(pe,dt,Fe,"\u21AD","\\leftrightsquigarrow",!0),fe(pe,dt,Fe,"\u21C9","\\rightrightarrows",!0),fe(pe,dt,Fe,"\u21C4","\\rightleftarrows",!0),fe(pe,dt,Fe,"\u21A0","\\twoheadrightarrow",!0),fe(pe,dt,Fe,"\u21A3","\\rightarrowtail",!0),fe(pe,dt,Fe,"\u21AC","\\looparrowright",!0),fe(pe,dt,Fe,"\u21B7","\\curvearrowright",!0),fe(pe,dt,Fe,"\u21BB","\\circlearrowright",!0),fe(pe,dt,Fe,"\u21B1","\\Rsh",!0),fe(pe,dt,Fe,"\u21CA","\\downdownarrows",!0),fe(pe,dt,Fe,"\u21BE","\\upharpoonright",!0),fe(pe,dt,Fe,"\u21C2","\\downharpoonright",!0),fe(pe,dt,Fe,"\u21DD","\\rightsquigarrow",!0),fe(pe,dt,Fe,"\u21DD","\\leadsto"),fe(pe,dt,Fe,"\u21DB","\\Rrightarrow",!0),fe(pe,dt,Fe,"\u21BE","\\restriction"),fe(pe,Ce,At,"\u2018","`"),fe(pe,Ce,At,"$","\\$"),fe(Dt,Ce,At,"$","\\$"),fe(Dt,Ce,At,"$","\\textdollar"),fe(pe,Ce,At,"%","\\%"),fe(Dt,Ce,At,"%","\\%"),fe(pe,Ce,At,"_","\\_"),fe(Dt,Ce,At,"_","\\_"),fe(Dt,Ce,At,"_","\\textunderscore"),fe(pe,Ce,At,"\u2220","\\angle",!0),fe(pe,Ce,At,"\u221E","\\infty",!0),fe(pe,Ce,At,"\u2032","\\prime"),fe(pe,Ce,At,"\u25B3","\\triangle"),fe(pe,Ce,At,"\u0393","\\Gamma",!0),fe(pe,Ce,At,"\u0394","\\Delta",!0),fe(pe,Ce,At,"\u0398","\\Theta",!0),fe(pe,Ce,At,"\u039B","\\Lambda",!0),fe(pe,Ce,At,"\u039E","\\Xi",!0),fe(pe,Ce,At,"\u03A0","\\Pi",!0),fe(pe,Ce,At,"\u03A3","\\Sigma",!0),fe(pe,Ce,At,"\u03A5","\\Upsilon",!0),fe(pe,Ce,At,"\u03A6","\\Phi",!0),fe(pe,Ce,At,"\u03A8","\\Psi",!0),fe(pe,Ce,At,"\u03A9","\\Omega",!0),fe(pe,Ce,At,"A","\u0391"),fe(pe,Ce,At,"B","\u0392"),fe(pe,Ce,At,"E","\u0395"),fe(pe,Ce,At,"Z","\u0396"),fe(pe,Ce,At,"H","\u0397"),fe(pe,Ce,At,"I","\u0399"),fe(pe,Ce,At,"K","\u039A"),fe(pe,Ce,At,"M","\u039C"),fe(pe,Ce,At,"N","\u039D"),fe(pe,Ce,At,"O","\u039F"),fe(pe,Ce,At,"P","\u03A1"),fe(pe,Ce,At,"T","\u03A4"),fe(pe,Ce,At,"X","\u03A7"),fe(pe,Ce,At,"\xAC","\\neg",!0),fe(pe,Ce,At,"\xAC","\\lnot"),fe(pe,Ce,At,"\u22A4","\\top"),fe(pe,Ce,At,"\u22A5","\\bot"),fe(pe,Ce,At,"\u2205","\\emptyset"),fe(pe,dt,At,"\u2205","\\varnothing"),fe(pe,Ce,be,"\u03B1","\\alpha",!0),fe(pe,Ce,be,"\u03B2","\\beta",!0),fe(pe,Ce,be,"\u03B3","\\gamma",!0),fe(pe,Ce,be,"\u03B4","\\delta",!0),fe(pe,Ce,be,"\u03F5","\\epsilon",!0),fe(pe,Ce,be,"\u03B6","\\zeta",!0),fe(pe,Ce,be,"\u03B7","\\eta",!0),fe(pe,Ce,be,"\u03B8","\\theta",!0),fe(pe,Ce,be,"\u03B9","\\iota",!0),fe(pe,Ce,be,"\u03BA","\\kappa",!0),fe(pe,Ce,be,"\u03BB","\\lambda",!0),fe(pe,Ce,be,"\u03BC","\\mu",!0),fe(pe,Ce,be,"\u03BD","\\nu",!0),fe(pe,Ce,be,"\u03BE","\\xi",!0),fe(pe,Ce,be,"\u03BF","\\omicron",!0),fe(pe,Ce,be,"\u03C0","\\pi",!0),fe(pe,Ce,be,"\u03C1","\\rho",!0),fe(pe,Ce,be,"\u03C3","\\sigma",!0),fe(pe,Ce,be,"\u03C4","\\tau",!0),fe(pe,Ce,be,"\u03C5","\\upsilon",!0),fe(pe,Ce,be,"\u03D5","\\phi",!0),fe(pe,Ce,be,"\u03C7","\\chi",!0),fe(pe,Ce,be,"\u03C8","\\psi",!0),fe(pe,Ce,be,"\u03C9","\\omega",!0),fe(pe,Ce,be,"\u03B5","\\varepsilon",!0),fe(pe,Ce,be,"\u03D1","\\vartheta",!0),fe(pe,Ce,be,"\u03D6","\\varpi",!0),fe(pe,Ce,be,"\u03F1","\\varrho",!0),fe(pe,Ce,be,"\u03C2","\\varsigma",!0),fe(pe,Ce,be,"\u03C6","\\varphi",!0),fe(pe,Ce,Tt,"\u2217","*"),fe(pe,Ce,Tt,"+","+"),fe(pe,Ce,Tt,"\u2212","-"),fe(pe,Ce,Tt,"\u22C5","\\cdot",!0),fe(pe,Ce,Tt,"\u2218","\\circ"),fe(pe,Ce,Tt,"\xF7","\\div",!0),fe(pe,Ce,Tt,"\xB1","\\pm",!0),fe(pe,Ce,Tt,"\xD7","\\times",!0),fe(pe,Ce,Tt,"\u2229","\\cap",!0),fe(pe,Ce,Tt,"\u222A","\\cup",!0),fe(pe,Ce,Tt,"\u2216","\\setminus"),fe(pe,Ce,Tt,"\u2227","\\land"),fe(pe,Ce,Tt,"\u2228","\\lor"),fe(pe,Ce,Tt,"\u2227","\\wedge",!0),fe(pe,Ce,Tt,"\u2228","\\vee",!0),fe(pe,Ce,At,"\u221A","\\surd"),fe(pe,Ce,vt,"(","("),fe(pe,Ce,vt,"[","["),fe(pe,Ce,vt,"\u27E8","\\langle",!0),fe(pe,Ce,vt,"\u2223","\\lvert"),fe(pe,Ce,vt,"\u2225","\\lVert"),fe(pe,Ce,Oe,")",")"),fe(pe,Ce,Oe,"]","]"),fe(pe,Ce,Oe,"?","?"),fe(pe,Ce,Oe,"!","!"),fe(pe,Ce,Oe,"\u27E9","\\rangle",!0),fe(pe,Ce,Oe,"\u2223","\\rvert"),fe(pe,Ce,Oe,"\u2225","\\rVert"),fe(pe,Ce,Fe,"=","="),fe(pe,Ce,Fe,"<","<"),fe(pe,Ce,Fe,">",">"),fe(pe,Ce,Fe,":",":"),fe(pe,Ce,Fe,"\u2248","\\approx",!0),fe(pe,Ce,Fe,"\u2245","\\cong",!0),fe(pe,Ce,Fe,"\u2265","\\ge"),fe(pe,Ce,Fe,"\u2265","\\geq",!0),fe(pe,Ce,Fe,"\u2190","\\gets"),fe(pe,Ce,Fe,">","\\gt"),fe(pe,Ce,Fe,"\u2208","\\in",!0),fe(pe,Ce,Fe,"\uE020","\\@not"),fe(pe,Ce,Fe,"\u2282","\\subset",!0),fe(pe,Ce,Fe,"\u2283","\\supset",!0),fe(pe,Ce,Fe,"\u2286","\\subseteq",!0),fe(pe,Ce,Fe,"\u2287","\\supseteq",!0),fe(pe,dt,Fe,"\u2288","\\nsubseteq",!0),fe(pe,dt,Fe,"\u2289","\\nsupseteq",!0),fe(pe,Ce,Fe,"\u22A8","\\models"),fe(pe,Ce,Fe,"\u2190","\\leftarrow",!0),fe(pe,Ce,Fe,"\u2264","\\le"),fe(pe,Ce,Fe,"\u2264","\\leq",!0),fe(pe,Ce,Fe,"<","\\lt"),fe(pe,Ce,Fe,"\u2192","\\rightarrow",!0),fe(pe,Ce,Fe,"\u2192","\\to"),fe(pe,dt,Fe,"\u2271","\\ngeq",!0),fe(pe,dt,Fe,"\u2270","\\nleq",!0),fe(pe,Ce,kr,"\xA0","\\ "),fe(pe,Ce,kr,"\xA0","~"),fe(pe,Ce,kr,"\xA0","\\space"),fe(pe,Ce,kr,"\xA0","\\nobreakspace"),fe(Dt,Ce,kr,"\xA0","\\ "),fe(Dt,Ce,kr,"\xA0","~"),fe(Dt,Ce,kr,"\xA0","\\space"),fe(Dt,Ce,kr,"\xA0","\\nobreakspace"),fe(pe,Ce,kr,null,"\\nobreak"),fe(pe,Ce,kr,null,"\\allowbreak"),fe(pe,Ce,Rt,",",","),fe(pe,Ce,Rt,";",";"),fe(pe,dt,Tt,"\u22BC","\\barwedge",!0),fe(pe,dt,Tt,"\u22BB","\\veebar",!0),fe(pe,Ce,Tt,"\u2299","\\odot",!0),fe(pe,Ce,Tt,"\u2295","\\oplus",!0),fe(pe,Ce,Tt,"\u2297","\\otimes",!0),fe(pe,Ce,At,"\u2202","\\partial",!0),fe(pe,Ce,Tt,"\u2298","\\oslash",!0),fe(pe,dt,Tt,"\u229A","\\circledcirc",!0),fe(pe,dt,Tt,"\u22A1","\\boxdot",!0),fe(pe,Ce,Tt,"\u25B3","\\bigtriangleup"),fe(pe,Ce,Tt,"\u25BD","\\bigtriangledown"),fe(pe,Ce,Tt,"\u2020","\\dagger"),fe(pe,Ce,Tt,"\u22C4","\\diamond"),fe(pe,Ce,Tt,"\u22C6","\\star"),fe(pe,Ce,Tt,"\u25C3","\\triangleleft"),fe(pe,Ce,Tt,"\u25B9","\\triangleright"),fe(pe,Ce,vt,"{","\\{"),fe(Dt,Ce,At,"{","\\{"),fe(Dt,Ce,At,"{","\\textbraceleft"),fe(pe,Ce,Oe,"}","\\}"),fe(Dt,Ce,At,"}","\\}"),fe(Dt,Ce,At,"}","\\textbraceright"),fe(pe,Ce,vt,"{","\\lbrace"),fe(pe,Ce,Oe,"}","\\rbrace"),fe(pe,Ce,vt,"[","\\lbrack"),fe(Dt,Ce,At,"[","\\lbrack"),fe(pe,Ce,Oe,"]","\\rbrack"),fe(Dt,Ce,At,"]","\\rbrack"),fe(pe,Ce,vt,"(","\\lparen"),fe(pe,Ce,Oe,")","\\rparen"),fe(Dt,Ce,At,"<","\\textless"),fe(Dt,Ce,At,">","\\textgreater"),fe(pe,Ce,vt,"\u230A","\\lfloor",!0),fe(pe,Ce,Oe,"\u230B","\\rfloor",!0),fe(pe,Ce,vt,"\u2308","\\lceil",!0),fe(pe,Ce,Oe,"\u2309","\\rceil",!0),fe(pe,Ce,At,"\\","\\backslash"),fe(pe,Ce,At,"\u2223","|"),fe(pe,Ce,At,"\u2223","\\vert"),fe(Dt,Ce,At,"|","\\textbar"),fe(pe,Ce,At,"\u2225","\\|"),fe(pe,Ce,At,"\u2225","\\Vert"),fe(Dt,Ce,At,"\u2225","\\textbardbl"),fe(Dt,Ce,At,"~","\\textasciitilde"),fe(Dt,Ce,At,"\\","\\textbackslash"),fe(Dt,Ce,At,"^","\\textasciicircum"),fe(pe,Ce,Fe,"\u2191","\\uparrow",!0),fe(pe,Ce,Fe,"\u21D1","\\Uparrow",!0),fe(pe,Ce,Fe,"\u2193","\\downarrow",!0),fe(pe,Ce,Fe,"\u21D3","\\Downarrow",!0),fe(pe,Ce,Fe,"\u2195","\\updownarrow",!0),fe(pe,Ce,Fe,"\u21D5","\\Updownarrow",!0),fe(pe,Ce,Ke,"\u2210","\\coprod"),fe(pe,Ce,Ke,"\u22C1","\\bigvee"),fe(pe,Ce,Ke,"\u22C0","\\bigwedge"),fe(pe,Ce,Ke,"\u2A04","\\biguplus"),fe(pe,Ce,Ke,"\u22C2","\\bigcap"),fe(pe,Ce,Ke,"\u22C3","\\bigcup"),fe(pe,Ce,Ke,"\u222B","\\int"),fe(pe,Ce,Ke,"\u222B","\\intop"),fe(pe,Ce,Ke,"\u222C","\\iint"),fe(pe,Ce,Ke,"\u222D","\\iiint"),fe(pe,Ce,Ke,"\u220F","\\prod"),fe(pe,Ce,Ke,"\u2211","\\sum"),fe(pe,Ce,Ke,"\u2A02","\\bigotimes"),fe(pe,Ce,Ke,"\u2A01","\\bigoplus"),fe(pe,Ce,Ke,"\u2A00","\\bigodot"),fe(pe,Ce,Ke,"\u222E","\\oint"),fe(pe,Ce,Ke,"\u222F","\\oiint"),fe(pe,Ce,Ke,"\u2230","\\oiiint"),fe(pe,Ce,Ke,"\u2A06","\\bigsqcup"),fe(pe,Ce,Ke,"\u222B","\\smallint"),fe(Dt,Ce,St,"\u2026","\\textellipsis"),fe(pe,Ce,St,"\u2026","\\mathellipsis"),fe(Dt,Ce,St,"\u2026","\\ldots",!0),fe(pe,Ce,St,"\u2026","\\ldots",!0),fe(pe,Ce,St,"\u22EF","\\@cdots",!0),fe(pe,Ce,St,"\u22F1","\\ddots",!0),fe(pe,Ce,At,"\u22EE","\\varvdots"),fe(pe,Ce,zt,"\u02CA","\\acute"),fe(pe,Ce,zt,"\u02CB","\\grave"),fe(pe,Ce,zt,"\xA8","\\ddot"),fe(pe,Ce,zt,"~","\\tilde"),fe(pe,Ce,zt,"\u02C9","\\bar"),fe(pe,Ce,zt,"\u02D8","\\breve"),fe(pe,Ce,zt,"\u02C7","\\check"),fe(pe,Ce,zt,"^","\\hat"),fe(pe,Ce,zt,"\u20D7","\\vec"),fe(pe,Ce,zt,"\u02D9","\\dot"),fe(pe,Ce,zt,"\u02DA","\\mathring"),fe(pe,Ce,be,"\u0131","\\imath",!0),fe(pe,Ce,be,"\u0237","\\jmath",!0),fe(Dt,Ce,At,"\u0131","\\i",!0),fe(Dt,Ce,At,"\u0237","\\j",!0),fe(Dt,Ce,At,"\xDF","\\ss",!0),fe(Dt,Ce,At,"\xE6","\\ae",!0),fe(Dt,Ce,At,"\xE6","\\ae",!0),fe(Dt,Ce,At,"\u0153","\\oe",!0),fe(Dt,Ce,At,"\xF8","\\o",!0),fe(Dt,Ce,At,"\xC6","\\AE",!0),fe(Dt,Ce,At,"\u0152","\\OE",!0),fe(Dt,Ce,At,"\xD8","\\O",!0),fe(Dt,Ce,zt,"\u02CA","\\'"),fe(Dt,Ce,zt,"\u02CB","\\`"),fe(Dt,Ce,zt,"\u02C6","\\^"),fe(Dt,Ce,zt,"\u02DC","\\~"),fe(Dt,Ce,zt,"\u02C9","\\="),fe(Dt,Ce,zt,"\u02D8","\\u"),fe(Dt,Ce,zt,"\u02D9","\\."),fe(Dt,Ce,zt,"\u02DA","\\r"),fe(Dt,Ce,zt,"\u02C7","\\v"),fe(Dt,Ce,zt,"\xA8",'\\"'),fe(Dt,Ce,zt,"\u02DD","\\H"),fe(Dt,Ce,zt,"\u25EF","\\textcircled");var Kr={"--":!0,"---":!0,"``":!0,"''":!0};fe(Dt,Ce,At,"\u2013","--"),fe(Dt,Ce,At,"\u2013","\\textendash"),fe(Dt,Ce,At,"\u2014","---"),fe(Dt,Ce,At,"\u2014","\\textemdash"),fe(Dt,Ce,At,"\u2018","`"),fe(Dt,Ce,At,"\u2018","\\textquoteleft"),fe(Dt,Ce,At,"\u2019","'"),fe(Dt,Ce,At,"\u2019","\\textquoteright"),fe(Dt,Ce,At,"\u201C","``"),fe(Dt,Ce,At,"\u201C","\\textquotedblleft"),fe(Dt,Ce,At,"\u201D","''"),fe(Dt,Ce,At,"\u201D","\\textquotedblright"),fe(pe,Ce,At,"\xB0","\\degree",!0),fe(Dt,Ce,At,"\xB0","\\degree"),fe(Dt,Ce,At,"\xB0","\\textdegree",!0),fe(pe,Ce,be,"\xA3","\\pounds"),fe(pe,Ce,be,"\xA3","\\mathsterling",!0),fe(Dt,Ce,be,"\xA3","\\pounds"),fe(Dt,Ce,be,"\xA3","\\textsterling",!0),fe(pe,dt,At,"\u2720","\\maltese"),fe(Dt,dt,At,"\u2720","\\maltese"),fe(Dt,Ce,kr,"\xA0","\\ "),fe(Dt,Ce,kr,"\xA0"," "),fe(Dt,Ce,kr,"\xA0","~");for(var qr='0123456789/@."',Ar=0;Ar<qr.length;Ar++){var Br=qr.charAt(Ar);fe(pe,Ce,At,Br,Br)}for(var _r='0123456789!@*()-=+[]<>|";:?/.,',Ur=0;Ur<_r.length;Ur++){var sn=_r.charAt(Ur);fe(Dt,Ce,At,sn,sn)}for(var cn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",or=0;or<cn.length;or++){var Lt=cn.charAt(or);fe(pe,Ce,be,Lt,Lt),fe(Dt,Ce,At,Lt,Lt)}fe(pe,dt,At,"C","\u2102"),fe(Dt,dt,At,"C","\u2102"),fe(pe,dt,At,"H","\u210D"),fe(Dt,dt,At,"H","\u210D"),fe(pe,dt,At,"N","\u2115"),fe(Dt,dt,At,"N","\u2115"),fe(pe,dt,At,"P","\u2119"),fe(Dt,dt,At,"P","\u2119"),fe(pe,dt,At,"Q","\u211A"),fe(Dt,dt,At,"Q","\u211A"),fe(pe,dt,At,"R","\u211D"),fe(Dt,dt,At,"R","\u211D"),fe(pe,dt,At,"Z","\u2124"),fe(Dt,dt,At,"Z","\u2124"),fe(pe,Ce,be,"h","\u210E"),fe(Dt,Ce,be,"h","\u210E");for(var mt="",gt=0;gt<cn.length;gt++){var $t=cn.charAt(gt);mt=String.fromCharCode(55349,56320+gt),fe(pe,Ce,be,$t,mt),fe(Dt,Ce,At,$t,mt),mt=String.fromCharCode(55349,56372+gt),fe(pe,Ce,be,$t,mt),fe(Dt,Ce,At,$t,mt),mt=String.fromCharCode(55349,56424+gt),fe(pe,Ce,be,$t,mt),fe(Dt,Ce,At,$t,mt),mt=String.fromCharCode(55349,56580+gt),fe(pe,Ce,be,$t,mt),fe(Dt,Ce,At,$t,mt),mt=String.fromCharCode(55349,56736+gt),fe(pe,Ce,be,$t,mt),fe(Dt,Ce,At,$t,mt),mt=String.fromCharCode(55349,56788+gt),fe(pe,Ce,be,$t,mt),fe(Dt,Ce,At,$t,mt),mt=String.fromCharCode(55349,56840+gt),fe(pe,Ce,be,$t,mt),fe(Dt,Ce,At,$t,mt),mt=String.fromCharCode(55349,56944+gt),fe(pe,Ce,be,$t,mt),fe(Dt,Ce,At,$t,mt),gt<26&&(mt=String.fromCharCode(55349,56632+gt),fe(pe,Ce,be,$t,mt),fe(Dt,Ce,At,$t,mt),mt=String.fromCharCode(55349,56476+gt),fe(pe,Ce,be,$t,mt),fe(Dt,Ce,At,$t,mt))}mt="\u{1D55C}",fe(pe,Ce,be,"k",mt),fe(Dt,Ce,At,"k",mt);for(var Cr=0;Cr<10;Cr++){var gr=Cr.toString();mt=String.fromCharCode(55349,57294+Cr),fe(pe,Ce,be,gr,mt),fe(Dt,Ce,At,gr,mt),mt=String.fromCharCode(55349,57314+Cr),fe(pe,Ce,be,gr,mt),fe(Dt,Ce,At,gr,mt),mt=String.fromCharCode(55349,57324+Cr),fe(pe,Ce,be,gr,mt),fe(Dt,Ce,At,gr,mt),mt=String.fromCharCode(55349,57334+Cr),fe(pe,Ce,be,gr,mt),fe(Dt,Ce,At,gr,mt)}for(var ot="\xC7\xD0\xDE\xE7\xFE",Mr=0;Mr<ot.length;Mr++){var yn=ot.charAt(Mr);fe(pe,Ce,be,yn,yn),fe(Dt,Ce,At,yn,yn)}fe(Dt,Ce,At,"\xF0","\xF0"),fe(Dt,Ce,At,"\u2013","\u2013"),fe(Dt,Ce,At,"\u2014","\u2014"),fe(Dt,Ce,At,"\u2018","\u2018"),fe(Dt,Ce,At,"\u2019","\u2019"),fe(Dt,Ce,At,"\u201C","\u201C"),fe(Dt,Ce,At,"\u201D","\u201D");var Zn=[["mathbf","textbf","Main-Bold"],["mathbf","textbf","Main-Bold"],["mathdefault","textit","Math-Italic"],["mathdefault","textit","Math-Italic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["mathscr","textscr","Script-Regular"],["","",""],["","",""],["","",""],["mathfrak","textfrak","Fraktur-Regular"],["mathfrak","textfrak","Fraktur-Regular"],["mathbb","textbb","AMS-Regular"],["mathbb","textbb","AMS-Regular"],["","",""],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathitsf","textitsf","SansSerif-Italic"],["mathitsf","textitsf","SansSerif-Italic"],["","",""],["","",""],["mathtt","texttt","Typewriter-Regular"],["mathtt","texttt","Typewriter-Regular"]],mr=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],tn=function(W,ee){var ne=W.charCodeAt(0),he=W.charCodeAt(1),Ae=(ne-55296)*1024+(he-56320)+65536,Ge=ee==="math"?0:1;if(119808<=Ae&&Ae<120484){var xt=Math.floor((Ae-119808)/26);return[Zn[xt][2],Zn[xt][Ge]]}else if(120782<=Ae&&Ae<=120831){var Ft=Math.floor((Ae-120782)/10);return[mr[Ft][2],mr[Ft][Ge]]}else{if(Ae===120485||Ae===120486)return[Zn[0][2],Zn[0][Ge]];if(120486<Ae&&Ae<120782)return["",""];throw new s("Unsupported character: "+W)}},hn=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],Fn=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],ti=function(W,ee){return ee.size<2?W:hn[W-1][ee.size-1]},jn=function(){function Ve(ee){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=ee.style,this.color=ee.color,this.size=ee.size||Ve.BASESIZE,this.textSize=ee.textSize||this.size,this.phantom=!!ee.phantom,this.font=ee.font||"",this.fontFamily=ee.fontFamily||"",this.fontWeight=ee.fontWeight||"",this.fontShape=ee.fontShape||"",this.sizeMultiplier=Fn[this.size-1],this.maxSize=ee.maxSize,this.minRuleThickness=ee.minRuleThickness,this._fontMetrics=void 0}var W=Ve.prototype;return W.extend=function(ne){var he={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var Ae in ne)ne.hasOwnProperty(Ae)&&(he[Ae]=ne[Ae]);return new Ve(he)},W.havingStyle=function(ne){return this.style===ne?this:this.extend({style:ne,size:ti(this.textSize,ne)})},W.havingCrampedStyle=function(){return this.havingStyle(this.style.cramp())},W.havingSize=function(ne){return this.size===ne&&this.textSize===ne?this:this.extend({style:this.style.text(),size:ne,textSize:ne,sizeMultiplier:Fn[ne-1]})},W.havingBaseStyle=function(ne){ne=ne||this.style.text();var he=ti(Ve.BASESIZE,ne);return this.size===he&&this.textSize===Ve.BASESIZE&&this.style===ne?this:this.extend({style:ne,size:he})},W.havingBaseSizing=function(){var ne;switch(this.style.id){case 4:case 5:ne=3;break;case 6:case 7:ne=1;break;default:ne=6}return this.extend({style:this.style.text(),size:ne})},W.withColor=function(ne){return this.extend({color:ne})},W.withPhantom=function(){return this.extend({phantom:!0})},W.withFont=function(ne){return this.extend({font:ne})},W.withTextFontFamily=function(ne){return this.extend({fontFamily:ne,font:""})},W.withTextFontWeight=function(ne){return this.extend({fontWeight:ne,font:""})},W.withTextFontShape=function(ne){return this.extend({fontShape:ne,font:""})},W.sizingClasses=function(ne){return ne.size!==this.size?["sizing","reset-size"+ne.size,"size"+this.size]:[]},W.baseSizingClasses=function(){return this.size!==Ve.BASESIZE?["sizing","reset-size"+this.size,"size"+Ve.BASESIZE]:[]},W.fontMetrics=function(){return this._fontMetrics||(this._fontMetrics=Zt(this.size)),this._fontMetrics},W.getColor=function(){return this.phantom?"transparent":this.color},Ve}();jn.BASESIZE=6;var Zi=jn,xi={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},Si={ex:!0,em:!0,mu:!0},Ei=function(W){return typeof W!="string"&&(W=W.unit),W in xi||W in Si||W==="ex"},mi=function(W,ee){var ne;if(W.unit in xi)ne=xi[W.unit]/ee.fontMetrics().ptPerEm/ee.sizeMultiplier;else if(W.unit==="mu")ne=ee.fontMetrics().cssEmPerMu;else{var he;if(ee.style.isTight()?he=ee.havingStyle(ee.style.text()):he=ee,W.unit==="ex")ne=he.fontMetrics().xHeight;else if(W.unit==="em")ne=he.fontMetrics().quad;else throw new s("Invalid unit: '"+W.unit+"'");he!==ee&&(ne*=he.sizeMultiplier/ee.sizeMultiplier)}return Math.min(W.number*ne,ee.maxSize)},Xi=["\\imath","\u0131","\\jmath","\u0237","\\pounds","\\mathsterling","\\textsterling","\xA3"],qn=function(W,ee,ne){return We[ne][W]&&We[ne][W].replace&&(W=We[ne][W].replace),{value:W,metrics:Gt(W,ee,ne)}},Yi=function(W,ee,ne,he,Ae){var Ge=qn(W,ee,ne),xt=Ge.metrics;W=Ge.value;var Ft;if(xt){var nr=xt.italic;(ne==="text"||he&&he.font==="mathit")&&(nr=0),Ft=new Se(W,xt.height,xt.depth,nr,xt.skew,xt.width,Ae)}else typeof console!="undefined"&&console.warn("No character metrics "+("for '"+W+"' in style '"+ee+"' and mode '"+ne+"'")),Ft=new Se(W,0,0,0,0,0,Ae);if(he){Ft.maxFontSize=he.sizeMultiplier,he.style.isTight()&&Ft.classes.push("mtight");var Tr=he.getColor();Tr&&(Ft.style.color=Tr)}return Ft},wt=function(W,ee,ne,he){return he===void 0&&(he=[]),ne.font==="boldsymbol"&&qn(W,"Main-Bold",ee).metrics?Yi(W,"Main-Bold",ee,ne,he.concat(["mathbf"])):W==="\\"||We[ee][W].font==="main"?Yi(W,"Main-Regular",ee,ne,he):Yi(W,"AMS-Regular",ee,ne,he.concat(["amsrm"]))},ut=function(W,ee,ne,he){return/[0-9]/.test(W.charAt(0))||T.contains(Xi,W)?{fontName:"Main-Italic",fontClass:"mathit"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},Jn=function(W,ee,ne,he){return T.contains(Xi,W)?{fontName:"Main-Italic",fontClass:"mathit"}:/[0-9]/.test(W.charAt(0))?{fontName:"Caligraphic-Regular",fontClass:"mathcal"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},Ai=function(W,ee,ne,he){return qn(W,"Math-BoldItalic",ee).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},ei=function(W,ee,ne){var he=W.mode,Ae=W.text,Ge=["mord"],xt=he==="math"||he==="text"&&ee.font,Ft=xt?ee.font:ee.fontFamily;if(Ae.charCodeAt(0)===55349){var nr=tn(Ae,he),Tr=nr[0],Wr=nr[1];return Yi(Ae,Tr,he,ee,Ge.concat(Wr))}else if(Ft){var an,wn;if(Ft==="boldsymbol"||Ft==="mathnormal"){var Nn=Ft==="boldsymbol"?Ai(Ae,he,ee,Ge):Jn(Ae,he,ee,Ge);an=Nn.fontName,wn=[Nn.fontClass]}else T.contains(Xi,Ae)?(an="Main-Italic",wn=["mathit"]):xt?(an=ze[Ft].fontName,wn=[Ft]):(an=Hr(Ft,ee.fontWeight,ee.fontShape),wn=[Ft,ee.fontWeight,ee.fontShape]);if(qn(Ae,an,he).metrics)return Yi(Ae,an,he,ee,Ge.concat(wn));if(Kr.hasOwnProperty(Ae)&&an.substr(0,10)==="Typewriter"){for(var Wn=[],pi=0;pi<Ae.length;pi++)Wn.push(Yi(Ae[pi],an,he,ee,Ge.concat(wn)));return It(Wn)}}if(ne==="mathord"){var Sr=ut(Ae,he,ee,Ge);return Yi(Ae,Sr.fontName,he,ee,Ge.concat([Sr.fontClass]))}else if(ne==="textord"){var aa=We[he][Ae]&&We[he][Ae].font;if(aa==="ams"){var sa=Hr("amsrm",ee.fontWeight,ee.fontShape);return Yi(Ae,sa,he,ee,Ge.concat("amsrm",ee.fontWeight,ee.fontShape))}else if(aa==="main"||!aa){var is=Hr("textrm",ee.fontWeight,ee.fontShape);return Yi(Ae,is,he,ee,Ge.concat(ee.fontWeight,ee.fontShape))}else{var Za=Hr(aa,ee.fontWeight,ee.fontShape);return Yi(Ae,Za,he,ee,Ge.concat(Za,ee.fontWeight,ee.fontShape))}}else throw new Error("unexpected type: "+ne+" in makeOrd")},Gi=function(W,ee){if(Pt(W.classes)!==Pt(ee.classes)||W.skew!==ee.skew||W.maxFontSize!==ee.maxFontSize)return!1;for(var ne in W.style)if(W.style.hasOwnProperty(ne)&&W.style[ne]!==ee.style[ne])return!1;for(var he in ee.style)if(ee.style.hasOwnProperty(he)&&W.style[he]!==ee.style[he])return!1;return!0},vi=function(W){for(var ee=0;ee<W.length-1;ee++){var ne=W[ee],he=W[ee+1];ne instanceof Se&&he instanceof Se&&Gi(ne,he)&&(ne.text+=he.text,ne.height=Math.max(ne.height,he.height),ne.depth=Math.max(ne.depth,he.depth),ne.italic=he.italic,W.splice(ee+1,1),ee--)}return W},si=function(W){for(var ee=0,ne=0,he=0,Ae=0;Ae<W.children.length;Ae++){var Ge=W.children[Ae];Ge.height>ee&&(ee=Ge.height),Ge.depth>ne&&(ne=Ge.depth),Ge.maxFontSize>he&&(he=Ge.maxFontSize)}W.height=ee,W.depth=ne,W.maxFontSize=he},En=function(W,ee,ne,he){var Ae=new ht(W,ee,ne,he);return si(Ae),Ae},tr=function(W,ee,ne,he){return new ht(W,ee,ne,he)},_t=function(W,ee,ne){var he=En([W],[],ee);return he.height=Math.max(ne||ee.fontMetrics().defaultRuleThickness,ee.minRuleThickness),he.style.borderBottomWidth=he.height+"em",he.maxFontSize=1,he},rt=function(W,ee,ne,he){var Ae=new Je(W,ee,ne,he);return si(Ae),Ae},It=function(W){var ee=new Xe(W);return si(ee),ee},pt=function(W,ee){return W instanceof Xe?En([],[W],ee):W},lr=function(W){if(W.positionType==="individualShift"){for(var ee=W.children,ne=[ee[0]],he=-ee[0].shift-ee[0].elem.depth,Ae=he,Ge=1;Ge<ee.length;Ge++){var xt=-ee[Ge].shift-Ae-ee[Ge].elem.depth,Ft=xt-(ee[Ge-1].elem.height+ee[Ge-1].elem.depth);Ae=Ae+xt,ne.push({type:"kern",size:Ft}),ne.push(ee[Ge])}return{children:ne,depth:he}}var nr;if(W.positionType==="top"){for(var Tr=W.positionData,Wr=0;Wr<W.children.length;Wr++){var an=W.children[Wr];Tr-=an.type==="kern"?an.size:an.elem.height+an.elem.depth}nr=Tr}else if(W.positionType==="bottom")nr=-W.positionData;else{var wn=W.children[0];if(wn.type!=="elem")throw new Error('First child must have type "elem".');if(W.positionType==="shift")nr=-wn.elem.depth-W.positionData;else if(W.positionType==="firstBaseline")nr=-wn.elem.depth;else throw new Error("Invalid positionType "+W.positionType+".")}return{children:W.children,depth:nr}},fr=function(W,ee){for(var ne=lr(W),he=ne.children,Ae=ne.depth,Ge=0,xt=0;xt<he.length;xt++){var Ft=he[xt];if(Ft.type==="elem"){var nr=Ft.elem;Ge=Math.max(Ge,nr.maxFontSize,nr.height)}}Ge+=2;var Tr=En(["pstrut"],[]);Tr.style.height=Ge+"em";for(var Wr=[],an=Ae,wn=Ae,Nn=Ae,Wn=0;Wn<he.length;Wn++){var pi=he[Wn];if(pi.type==="kern")Nn+=pi.size;else{var Sr=pi.elem,aa=pi.wrapperClasses||[],sa=pi.wrapperStyle||{},is=En(aa,[Tr,Sr],void 0,sa);is.style.top=-Ge-Nn-Sr.depth+"em",pi.marginLeft&&(is.style.marginLeft=pi.marginLeft),pi.marginRight&&(is.style.marginRight=pi.marginRight),Wr.push(is),Nn+=Sr.height+Sr.depth}an=Math.min(an,Nn),wn=Math.max(wn,Nn)}var Za=En(["vlist"],Wr);Za.style.height=wn+"em";var ws;if(an<0){var as=En([],[]),Aa=En(["vlist"],[as]);Aa.style.height=-an+"em";var Fs=En(["vlist-s"],[new Se("\u200B")]);ws=[En(["vlist-r"],[Za,Fs]),En(["vlist-r"],[Aa])]}else ws=[En(["vlist-r"],[Za])];var Rs=En(["vlist-t"],ws);return ws.length===2&&Rs.classes.push("vlist-t2"),Rs.height=wn,Rs.depth=-an,Rs},Ir=function(W,ee){var ne=En(["mspace"],[],ee),he=mi(W,ee);return ne.style.marginRight=he+"em",ne},Hr=function(W,ee,ne){var he="";switch(W){case"amsrm":he="AMS";break;case"textrm":he="Main";break;case"textsf":he="SansSerif";break;case"texttt":he="Typewriter";break;default:he=W}var Ae;return ee==="textbf"&&ne==="textit"?Ae="BoldItalic":ee==="textbf"?Ae="Bold":ee==="textit"?Ae="Italic":Ae="Regular",he+"-"+Ae},ze={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},et={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},Ee=function(W,ee){var ne=et[W],he=ne[0],Ae=ne[1],Ge=ne[2],xt=new Ne(he),Ft=new Me([xt],{width:Ae+"em",height:Ge+"em",style:"width:"+Ae+"em",viewBox:"0 0 "+1e3*Ae+" "+1e3*Ge,preserveAspectRatio:"xMinYMin"}),nr=tr(["overlay"],[Ft],ee);return nr.height=Ge,nr.style.height=Ge+"em",nr.style.width=Ae+"em",nr},it={fontMap:ze,makeSymbol:Yi,mathsym:wt,makeSpan:En,makeSvgSpan:tr,makeLineSpan:_t,makeAnchor:rt,makeFragment:It,wrapFragment:pt,makeVList:fr,makeOrd:ei,makeGlue:Ir,staticSvg:Ee,svgData:et,tryCombineChars:vi};function ir(Ve,W){var ee=Dr(Ve,W);if(!ee)throw new Error("Expected node of type "+W+", but got "+(Ve?"node of type "+Ve.type:String(Ve)));return ee}function Dr(Ve,W){return Ve&&Ve.type===W?Ve:null}function Er(Ve,W){var ee=Or(Ve,W);if(!ee)throw new Error('Expected node of type "atom" and family "'+W+'", but got '+(Ve?Ve.type==="atom"?"atom of family "+Ve.family:"node of type "+Ve.type:String(Ve)));return ee}function Or(Ve,W){return Ve&&Ve.type==="atom"&&Ve.family===W?Ve:null}function $r(Ve){var W=bn(Ve);if(!W)throw new Error("Expected node of symbol group type, but got "+(Ve?"node of type "+Ve.type:String(Ve)));return W}function bn(Ve){return Ve&&(Ve.type==="atom"||Ct.hasOwnProperty(Ve.type))?Ve:null}var Pr={number:3,unit:"mu"},un={number:4,unit:"mu"},rn={number:5,unit:"mu"},ln={mord:{mop:Pr,mbin:un,mrel:rn,minner:Pr},mop:{mord:Pr,mop:Pr,mrel:rn,minner:Pr},mbin:{mord:un,mop:un,mopen:un,minner:un},mrel:{mord:rn,mop:rn,mopen:rn,minner:rn},mopen:{},mclose:{mop:Pr,mbin:un,mrel:rn,minner:Pr},mpunct:{mord:Pr,mop:Pr,mrel:rn,mopen:Pr,mclose:Pr,mpunct:Pr,minner:Pr},minner:{mord:Pr,mop:Pr,mbin:un,mrel:rn,mopen:Pr,mpunct:Pr,minner:Pr}},An={mord:{mop:Pr},mop:{mord:Pr,mop:Pr},mbin:{},mrel:{},mopen:{},mclose:{mop:Pr},mpunct:{},minner:{mop:Pr}},pa={},Pi={},gi={};function pn(Ve){for(var W=Ve.type,ee=Ve.names,ne=Ve.props,he=Ve.handler,Ae=Ve.htmlBuilder,Ge=Ve.mathmlBuilder,xt={type:W,numArgs:ne.numArgs,argTypes:ne.argTypes,greediness:ne.greediness===void 0?1:ne.greediness,allowedInText:!!ne.allowedInText,allowedInMath:ne.allowedInMath===void 0?!0:ne.allowedInMath,numOptionalArgs:ne.numOptionalArgs||0,infix:!!ne.infix,handler:he},Ft=0;Ft<ee.length;++Ft)pa[ee[Ft]]=xt;W&&(Ae&&(Pi[W]=Ae),Ge&&(gi[W]=Ge))}function ui(Ve){var W=Ve.type,ee=Ve.htmlBuilder,ne=Ve.mathmlBuilder;pn({type:W,names:[],props:{numArgs:0},handler:function(){throw new Error("Should never be called.")},htmlBuilder:ee,mathmlBuilder:ne})}var Ni=function(W){var ee=Dr(W,"ordgroup");return ee?ee.body:[W]},la=it.makeSpan,xs=["leftmost","mbin","mopen","mrel","mop","mpunct"],Pa=["rightmost","mrel","mclose","mpunct"],Na={display:z.DISPLAY,text:z.TEXT,script:z.SCRIPT,scriptscript:z.SCRIPTSCRIPT},Is={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},$a=function(W,ee,ne,he){he===void 0&&(he=[null,null]);for(var Ae=[],Ge=0;Ge<W.length;Ge++){var xt=$i(W[Ge],ee);if(xt instanceof Xe){var Ft=xt.children;Ae.push.apply(Ae,Ft)}else Ae.push(xt)}if(!ne)return Ae;var nr=ee;if(W.length===1){var Tr=Dr(W[0],"sizing")||Dr(W[0],"styling");Tr&&(Tr.type==="sizing"?nr=ee.havingSize(Tr.size):Tr.type==="styling"&&(nr=ee.havingStyle(Na[Tr.style])))}var Wr=la([he[0]||"leftmost"],[],ee),an=la([he[1]||"rightmost"],[],ee);return hs(Ae,function(wn,Nn){var Wn=Nn.classes[0],pi=wn.classes[0];Wn==="mbin"&&T.contains(Pa,pi)?Nn.classes[0]="mord":pi==="mbin"&&T.contains(xs,Wn)&&(wn.classes[0]="mord")},{node:Wr},an),hs(Ae,function(wn,Nn){var Wn=Ga(Nn),pi=Ga(wn),Sr=Wn&&pi?wn.hasClass("mtight")?An[Wn][pi]:ln[Wn][pi]:null;if(Sr)return it.makeGlue(Sr,nr)},{node:Wr},an),Ae},hs=function Ve(W,ee,ne,he){he&&W.push(he);for(var Ae=0;Ae<W.length;Ae++){var Ge=W[Ae],xt=oa(Ge);if(xt){Ve(xt.children,ee,ne);continue}if(Ge.classes[0]!=="mspace"){var Ft=ee(Ge,ne.node);Ft&&(ne.insertAfter?ne.insertAfter(Ft):(W.unshift(Ft),Ae++)),ne.node=Ge,ne.insertAfter=function(nr){return function(Tr){W.splice(nr+1,0,Tr),Ae++}}(Ae)}}he&&W.pop()},oa=function(W){return W instanceof Xe||W instanceof Je?W:null},yi=function Ve(W,ee){var ne=oa(W);if(ne){var he=ne.children;if(he.length){if(ee==="right")return Ve(he[he.length-1],"right");if(ee==="left")return Ve(he[0],"left")}}return W},Ga=function(W,ee){return W?(ee&&(W=yi(W,ee)),Is[W.classes[0]]||null):null},Ds=function(W,ee){var ne=["nulldelimiter"].concat(W.baseSizingClasses());return la(ee.concat(ne))},$i=function(W,ee,ne){if(!W)return la();if(Pi[W.type]){var he=Pi[W.type](W,ee);if(ne&&ee.size!==ne.size){he=la(ee.sizingClasses(ne),[he],ee);var Ae=ee.sizeMultiplier/ne.sizeMultiplier;he.height*=Ae,he.depth*=Ae}return he}else throw new s("Got group of unknown type: '"+W.type+"'")};function ps(Ve,W){var ee=la(["base"],Ve,W),ne=la(["strut"]);return ne.style.height=ee.height+ee.depth+"em",ne.style.verticalAlign=-ee.depth+"em",ee.children.unshift(ne),ee}function Co(Ve,W){var ee=null;Ve.length===1&&Ve[0].type==="tag"&&(ee=Ve[0].tag,Ve=Ve[0].body);for(var ne=$a(Ve,W,!0),he=[],Ae=[],Ge=0;Ge<ne.length;Ge++)if(Ae.push(ne[Ge]),ne[Ge].hasClass("mbin")||ne[Ge].hasClass("mrel")||ne[Ge].hasClass("allowbreak")){for(var xt=!1;Ge<ne.length-1&&ne[Ge+1].hasClass("mspace")&&!ne[Ge+1].hasClass("newline");)Ge++,Ae.push(ne[Ge]),ne[Ge].hasClass("nobreak")&&(xt=!0);xt||(he.push(ps(Ae,W)),Ae=[])}else ne[Ge].hasClass("newline")&&(Ae.pop(),Ae.length>0&&(he.push(ps(Ae,W)),Ae=[]),he.push(ne[Ge]));Ae.length>0&&he.push(ps(Ae,W));var Ft;ee&&(Ft=ps($a(ee,W,!0)),Ft.classes=["tag"],he.push(Ft));var nr=la(["katex-html"],he);if(nr.setAttribute("aria-hidden","true"),Ft){var Tr=Ft.children[0];Tr.style.height=nr.height+nr.depth+"em",Tr.style.verticalAlign=-nr.depth+"em"}return nr}function La(Ve){return new Xe(Ve)}var _s=function(){function Ve(ee,ne){this.type=void 0,this.attributes=void 0,this.children=void 0,this.type=ee,this.attributes={},this.children=ne||[]}var W=Ve.prototype;return W.setAttribute=function(ne,he){this.attributes[ne]=he},W.getAttribute=function(ne){return this.attributes[ne]},W.toNode=function(){var ne=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var he in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,he)&&ne.setAttribute(he,this.attributes[he]);for(var Ae=0;Ae<this.children.length;Ae++)ne.appendChild(this.children[Ae].toNode());return ne},W.toMarkup=function(){var ne="<"+this.type;for(var he in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,he)&&(ne+=" "+he+'="',ne+=T.escape(this.attributes[he]),ne+='"');ne+=">";for(var Ae=0;Ae<this.children.length;Ae++)ne+=this.children[Ae].toMarkup();return ne+="</"+this.type+">",ne},W.toText=function(){return this.children.map(function(ne){return ne.toText()}).join("")},Ve}(),ji=function(){function Ve(ee){this.text=void 0,this.text=ee}var W=Ve.prototype;return W.toNode=function(){return document.createTextNode(this.text)},W.toMarkup=function(){return T.escape(this.toText())},W.toText=function(){return this.text},Ve}(),Gs=function(){function Ve(ee){this.width=void 0,this.character=void 0,this.width=ee,ee>=.05555&&ee<=.05556?this.character="\u200A":ee>=.1666&&ee<=.1667?this.character="\u2009":ee>=.2222&&ee<=.2223?this.character="\u2005":ee>=.2777&&ee<=.2778?this.character="\u2005\u200A":ee>=-.05556&&ee<=-.05555?this.character="\u200A\u2063":ee>=-.1667&&ee<=-.1666?this.character="\u2009\u2063":ee>=-.2223&&ee<=-.2222?this.character="\u205F\u2063":ee>=-.2778&&ee<=-.2777?this.character="\u2005\u2063":this.character=null}var W=Ve.prototype;return W.toNode=function(){if(this.character)return document.createTextNode(this.character);var ne=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return ne.setAttribute("width",this.width+"em"),ne},W.toMarkup=function(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+this.width+'em"/>'},W.toText=function(){return this.character?this.character:" "},Ve}(),Rn={MathNode:_s,TextNode:ji,SpaceNode:Gs,newDocumentFragment:La},ja=function(W,ee,ne){return We[ee][W]&&We[ee][W].replace&&W.charCodeAt(0)!==55349&&!(Kr.hasOwnProperty(W)&&ne&&(ne.fontFamily&&ne.fontFamily.substr(4,2)==="tt"||ne.font&&ne.font.substr(4,2)==="tt"))&&(W=We[ee][W].replace),new Rn.TextNode(W)},ns=function(W){return W.length===1?W[0]:new Rn.MathNode("mrow",W)},ls=function(W,ee){if(ee.fontFamily==="texttt")return"monospace";if(ee.fontFamily==="textsf")return ee.fontShape==="textit"&&ee.fontWeight==="textbf"?"sans-serif-bold-italic":ee.fontShape==="textit"?"sans-serif-italic":ee.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(ee.fontShape==="textit"&&ee.fontWeight==="textbf")return"bold-italic";if(ee.fontShape==="textit")return"italic";if(ee.fontWeight==="textbf")return"bold";var ne=ee.font;if(!ne||ne==="mathnormal")return null;var he=W.mode;if(ne==="mathit")return"italic";if(ne==="boldsymbol")return"bold-italic";if(ne==="mathbf")return"bold";if(ne==="mathbb")return"double-struck";if(ne==="mathfrak")return"fraktur";if(ne==="mathscr"||ne==="mathcal")return"script";if(ne==="mathsf")return"sans-serif";if(ne==="mathtt")return"monospace";var Ae=W.text;if(T.contains(["\\imath","\\jmath"],Ae))return null;We[he][Ae]&&We[he][Ae].replace&&(Ae=We[he][Ae].replace);var Ge=it.fontMap[ne].fontName;return Gt(Ae,Ge,he)?it.fontMap[ne].variant:null},Vi=function(W,ee,ne){if(W.length===1){var he=Da(W[0],ee);return ne&&he instanceof _s&&he.type==="mo"&&(he.setAttribute("lspace","0em"),he.setAttribute("rspace","0em")),[he]}for(var Ae=[],Ge,xt=0;xt<W.length;xt++){var Ft=Da(W[xt],ee);if(Ft instanceof _s&&Ge instanceof _s){if(Ft.type==="mtext"&&Ge.type==="mtext"&&Ft.getAttribute("mathvariant")===Ge.getAttribute("mathvariant")){var nr;(nr=Ge.children).push.apply(nr,Ft.children);continue}else if(Ft.type==="mn"&&Ge.type==="mn"){var Tr;(Tr=Ge.children).push.apply(Tr,Ft.children);continue}else if(Ft.type==="mi"&&Ft.children.length===1&&Ge.type==="mn"){var Wr=Ft.children[0];if(Wr instanceof ji&&Wr.text==="."){var an;(an=Ge.children).push.apply(an,Ft.children);continue}}else if(Ge.type==="mi"&&Ge.children.length===1){var wn=Ge.children[0];if(wn instanceof ji&&wn.text==="\u0338"&&(Ft.type==="mo"||Ft.type==="mi"||Ft.type==="mn")){var Nn=Ft.children[0];Nn instanceof ji&&Nn.text.length>0&&(Nn.text=Nn.text.slice(0,1)+"\u0338"+Nn.text.slice(1),Ae.pop())}}}Ae.push(Ft),Ge=Ft}return Ae},Ia=function(W,ee,ne){return ns(Vi(W,ee,ne))},Da=function(W,ee){if(!W)return new Rn.MathNode("mrow");if(gi[W.type]){var ne=gi[W.type](W,ee);return ne}else throw new s("Got group of unknown type: '"+W.type+"'")};function ms(Ve,W,ee,ne){var he=Vi(Ve,ee),Ae;he.length===1&&he[0]instanceof _s&&T.contains(["mrow","mtable"],he[0].type)?Ae=he[0]:Ae=new Rn.MathNode("mrow",he);var Ge=new Rn.MathNode("annotation",[new Rn.TextNode(W)]);Ge.setAttribute("encoding","application/x-tex");var xt=new Rn.MathNode("semantics",[Ae,Ge]),Ft=new Rn.MathNode("math",[xt]);Ft.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML");var nr=ne?"katex":"katex-mathml";return it.makeSpan([nr],[Ft])}var Bs=function(W){return new Zi({style:W.displayMode?z.DISPLAY:z.TEXT,maxSize:W.maxSize,minRuleThickness:W.minRuleThickness})},_o=function(W,ee){if(ee.displayMode){var ne=["katex-display"];ee.leqno&&ne.push("leqno"),ee.fleqn&&ne.push("fleqn"),W=it.makeSpan(ne,[W])}return W},To=function(W,ee,ne){var he=Bs(ne),Ae;if(ne.output==="mathml")return ms(W,ee,he,!0);if(ne.output==="html"){var Ge=Co(W,he);Ae=it.makeSpan(["katex"],[Ge])}else{var xt=ms(W,ee,he,!1),Ft=Co(W,he);Ae=it.makeSpan(["katex"],[xt,Ft])}return _o(Ae,ne)},Vo=function(W,ee,ne){var he=Bs(ne),Ae=Co(W,he),Ge=it.makeSpan(["katex"],[Ae]);return _o(Ge,ne)},uo=To,ca={widehat:"^",widecheck:"\u02C7",widetilde:"~",utilde:"~",overleftarrow:"\u2190",underleftarrow:"\u2190",xleftarrow:"\u2190",overrightarrow:"\u2192",underrightarrow:"\u2192",xrightarrow:"\u2192",underbrace:"\u23DF",overbrace:"\u23DE",overgroup:"\u23E0",undergroup:"\u23E1",overleftrightarrow:"\u2194",underleftrightarrow:"\u2194",xleftrightarrow:"\u2194",Overrightarrow:"\u21D2",xRightarrow:"\u21D2",overleftharpoon:"\u21BC",xleftharpoonup:"\u21BC",overrightharpoon:"\u21C0",xrightharpoonup:"\u21C0",xLeftarrow:"\u21D0",xLeftrightarrow:"\u21D4",xhookleftarrow:"\u21A9",xhookrightarrow:"\u21AA",xmapsto:"\u21A6",xrightharpoondown:"\u21C1",xleftharpoondown:"\u21BD",xrightleftharpoons:"\u21CC",xleftrightharpoons:"\u21CB",xtwoheadleftarrow:"\u219E",xtwoheadrightarrow:"\u21A0",xlongequal:"=",xtofrom:"\u21C4",xrightleftarrows:"\u21C4",xrightequilibrium:"\u21CC",xleftequilibrium:"\u21CB"},cs=function(W){var ee=new Rn.MathNode("mo",[new Rn.TextNode(ca[W.substr(1)])]);return ee.setAttribute("stretchy","true"),ee},mo={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},vo=function(W){return W.type==="ordgroup"?W.body.length:1},go=function(W,ee){function ne(){var Ft=4e5,nr=W.label.substr(1);if(T.contains(["widehat","widecheck","widetilde","utilde"],nr)){var Tr=W,Wr=vo(Tr.base),an,wn,Nn;if(Wr>5)nr==="widehat"||nr==="widecheck"?(an=420,Ft=2364,Nn=.42,wn=nr+"4"):(an=312,Ft=2340,Nn=.34,wn="tilde4");else{var Wn=[1,1,2,2,3,3][Wr];nr==="widehat"||nr==="widecheck"?(Ft=[0,1062,2364,2364,2364][Wn],an=[0,239,300,360,420][Wn],Nn=[0,.24,.3,.3,.36,.42][Wn],wn=nr+Wn):(Ft=[0,600,1033,2339,2340][Wn],an=[0,260,286,306,312][Wn],Nn=[0,.26,.286,.3,.306,.34][Wn],wn="tilde"+Wn)}var pi=new Ne(wn),Sr=new Me([pi],{width:"100%",height:Nn+"em",viewBox:"0 0 "+Ft+" "+an,preserveAspectRatio:"none"});return{span:it.makeSvgSpan([],[Sr],ee),minWidth:0,height:Nn}}else{var aa=[],sa=mo[nr],is=sa[0],Za=sa[1],ws=sa[2],as=ws/1e3,Aa=is.length,Fs,Rs;if(Aa===1){var fi=sa[3];Fs=["hide-tail"],Rs=[fi]}else if(Aa===2)Fs=["halfarrow-left","halfarrow-right"],Rs=["xMinYMin","xMaxYMin"];else if(Aa===3)Fs=["brace-left","brace-center","brace-right"],Rs=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
`+Aa+" children.");for(var Qs=0;Qs<Aa;Qs++){var po=new Ne(is[Qs]),Oo=new Me([po],{width:"400em",height:as+"em",viewBox:"0 0 "+Ft+" "+ws,preserveAspectRatio:Rs[Qs]+" slice"}),za=it.makeSvgSpan([Fs[Qs]],[Oo],ee);if(Aa===1)return{span:za,minWidth:Za,height:as};za.style.height=as+"em",aa.push(za)}return{span:it.makeSpan(["stretchy"],aa,ee),minWidth:Za,height:as}}}var he=ne(),Ae=he.span,Ge=he.minWidth,xt=he.height;return Ae.height=xt,Ae.style.height=xt+"em",Ge>0&&(Ae.style.minWidth=Ge+"em"),Ae},hi=function(W,ee,ne,he){var Ae,Ge=W.height+W.depth+2*ne;if(/fbox|color/.test(ee)){if(Ae=it.makeSpan(["stretchy",ee],[],he),ee==="fbox"){var xt=he.color&&he.getColor();xt&&(Ae.style.borderColor=xt)}}else{var Ft=[];/^[bx]cancel$/.test(ee)&&Ft.push(new He({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(ee)&&Ft.push(new He({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var nr=new Me(Ft,{width:"100%",height:Ge+"em"});Ae=it.makeSvgSpan([],[nr],he)}return Ae.height=Ge,Ae.style.height=Ge+"em",Ae},oi={encloseSpan:hi,mathMLnode:cs,svgSpan:go},Fa=function(W,ee){var ne,he,Ae=Dr(W,"supsub"),Ge;Ae?(he=ir(Ae.base,"accent"),ne=he.base,Ae.base=ne,Ge=ct($i(Ae,ee)),Ae.base=he):(he=ir(W,"accent"),ne=he.base);var xt=$i(ne,ee.havingCrampedStyle()),Ft=he.isShifty&&T.isCharacterBox(ne),nr=0;if(Ft){var Tr=T.getBaseElem(ne),Wr=$i(Tr,ee.havingCrampedStyle());nr=nt(Wr).skew}var an=Math.min(xt.height,ee.fontMetrics().xHeight),wn;if(he.isStretchy)wn=oi.svgSpan(he,ee),wn=it.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:xt},{type:"elem",elem:wn,wrapperClasses:["svg-align"],wrapperStyle:nr>0?{width:"calc(100% - "+2*nr+"em)",marginLeft:2*nr+"em"}:void 0}]},ee);else{var Nn,Wn;he.label==="\\vec"?(Nn=it.staticSvg("vec",ee),Wn=it.svgData.vec[1]):(Nn=it.makeOrd({mode:he.mode,text:he.label},ee,"textord"),Nn=nt(Nn),Nn.italic=0,Wn=Nn.width),wn=it.makeSpan(["accent-body"],[Nn]);var pi=he.label==="\\textcircled";pi&&(wn.classes.push("accent-full"),an=xt.height);var Sr=nr;pi||(Sr-=Wn/2),wn.style.left=Sr+"em",he.label==="\\textcircled"&&(wn.style.top=".2em"),wn=it.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:xt},{type:"kern",size:-an},{type:"elem",elem:wn}]},ee)}var aa=it.makeSpan(["mord","accent"],[wn],ee);return Ge?(Ge.children[0]=aa,Ge.height=Math.max(aa.height,Ge.height),Ge.classes[0]="mord",Ge):aa},Va=function(W,ee){var ne=W.isStretchy?oi.mathMLnode(W.label):new Rn.MathNode("mo",[ja(W.label,W.mode)]),he=new Rn.MathNode("mover",[Da(W.base,ee),ne]);return he.setAttribute("accent","true"),he},Xa=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(function(Ve){return"\\"+Ve}).join("|"));pn({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:function(W,ee){var ne=ee[0],he=!Xa.test(W.funcName),Ae=!he||W.funcName==="\\widehat"||W.funcName==="\\widetilde"||W.funcName==="\\widecheck";return{type:"accent",mode:W.parser.mode,label:W.funcName,isStretchy:he,isShifty:Ae,base:ne}},htmlBuilder:Fa,mathmlBuilder:Va}),pn({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!1},handler:function(W,ee){var ne=ee[0];return{type:"accent",mode:W.parser.mode,label:W.funcName,isStretchy:!1,isShifty:!0,base:ne}},htmlBuilder:Fa,mathmlBuilder:Va}),pn({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:function(W,ee){var ne=W.parser,he=W.funcName,Ae=ee[0];return{type:"accentUnder",mode:ne.mode,label:he,base:Ae}},htmlBuilder:function(W,ee){var ne=$i(W.base,ee),he=oi.svgSpan(W,ee),Ae=W.label==="\\utilde"?.12:0,Ge=it.makeVList({positionType:"bottom",positionData:he.height+Ae,children:[{type:"elem",elem:he,wrapperClasses:["svg-align"]},{type:"kern",size:Ae},{type:"elem",elem:ne}]},ee);return it.makeSpan(["mord","accentunder"],[Ge],ee)},mathmlBuilder:function(W,ee){var ne=oi.mathMLnode(W.label),he=new Rn.MathNode("munder",[Da(W.base,ee),ne]);return he.setAttribute("accentunder","true"),he}});var lo=function(W){var ee=new Rn.MathNode("mpadded",W?[W]:[]);return ee.setAttribute("width","+0.6em"),ee.setAttribute("lspace","0.3em"),ee};pn({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium"],props:{numArgs:1,numOptionalArgs:1},handler:function(W,ee,ne){var he=W.parser,Ae=W.funcName;return{type:"xArrow",mode:he.mode,label:Ae,body:ee[0],below:ne[0]}},htmlBuilder:function(W,ee){var ne=ee.style,he=ee.havingStyle(ne.sup()),Ae=it.wrapFragment($i(W.body,he,ee),ee);Ae.classes.push("x-arrow-pad");var Ge;W.below&&(he=ee.havingStyle(ne.sub()),Ge=it.wrapFragment($i(W.below,he,ee),ee),Ge.classes.push("x-arrow-pad"));var xt=oi.svgSpan(W,ee),Ft=-ee.fontMetrics().axisHeight+.5*xt.height,nr=-ee.fontMetrics().axisHeight-.5*xt.height-.111;(Ae.depth>.25||W.label==="\\xleftequilibrium")&&(nr-=Ae.depth);var Tr;if(Ge){var Wr=-ee.fontMetrics().axisHeight+Ge.height+.5*xt.height+.111;Tr=it.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Ae,shift:nr},{type:"elem",elem:xt,shift:Ft},{type:"elem",elem:Ge,shift:Wr}]},ee)}else Tr=it.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Ae,shift:nr},{type:"elem",elem:xt,shift:Ft}]},ee);return Tr.children[0].children[0].children[1].classes.push("svg-align"),it.makeSpan(["mrel","x-arrow"],[Tr],ee)},mathmlBuilder:function(W,ee){var ne=oi.mathMLnode(W.label),he;if(W.body){var Ae=lo(Da(W.body,ee));if(W.below){var Ge=lo(Da(W.below,ee));he=new Rn.MathNode("munderover",[ne,Ge,Ae])}else he=new Rn.MathNode("mover",[ne,Ae])}else if(W.below){var xt=lo(Da(W.below,ee));he=new Rn.MathNode("munder",[ne,xt])}else he=lo(),he=new Rn.MathNode("mover",[ne,he]);return he}}),pn({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler:function(W,ee){for(var ne=W.parser,he=ir(ee[0],"ordgroup"),Ae=he.body,Ge="",xt=0;xt<Ae.length;xt++){var Ft=ir(Ae[xt],"textord");Ge+=Ft.text}var nr=parseInt(Ge);if(isNaN(nr))throw new s("\\@char has non-numeric argument "+Ge);return{type:"textord",mode:ne.mode,text:String.fromCharCode(nr)}}});var co=function(W,ee){var ne=$a(W.body,ee.withColor(W.color),!1);return it.makeFragment(ne)},Po=function(W,ee){var ne=Vi(W.body,ee.withColor(W.color)),he=new Rn.MathNode("mstyle",ne);return he.setAttribute("mathcolor",W.color),he};pn({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","original"]},handler:function(W,ee){var ne=W.parser,he=ir(ee[0],"color-token").color,Ae=ee[1];return{type:"color",mode:ne.mode,color:he,body:Ni(Ae)}},htmlBuilder:co,mathmlBuilder:Po}),pn({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,greediness:3,argTypes:["color"]},handler:function(W,ee){var ne=W.parser,he=W.breakOnTokenText,Ae=ir(ee[0],"color-token").color;ne.gullet.macros.set("\\current@color",Ae);var Ge=ne.parseExpression(!0,he);return{type:"color",mode:ne.mode,color:Ae,body:Ge}},htmlBuilder:co,mathmlBuilder:Po}),pn({type:"cr",names:["\\cr","\\newline"],props:{numArgs:0,numOptionalArgs:1,argTypes:["size"],allowedInText:!0},handler:function(W,ee,ne){var he=W.parser,Ae=W.funcName,Ge=ne[0],xt=Ae==="\\cr",Ft=!1;return xt||(he.settings.displayMode&&he.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode")?Ft=!1:Ft=!0),{type:"cr",mode:he.mode,newLine:Ft,newRow:xt,size:Ge&&ir(Ge,"size").value}},htmlBuilder:function(W,ee){if(W.newRow)throw new s("\\cr valid only within a tabular/array environment");var ne=it.makeSpan(["mspace"],[],ee);return W.newLine&&(ne.classes.push("newline"),W.size&&(ne.style.marginTop=mi(W.size,ee)+"em")),ne},mathmlBuilder:function(W,ee){var ne=new Rn.MathNode("mspace");return W.newLine&&(ne.setAttribute("linebreak","newline"),W.size&&ne.setAttribute("height",mi(W.size,ee)+"em")),ne}});var Qa=function(W,ee,ne){var he=We.math[W]&&We.math[W].replace,Ae=Gt(he||W,ee,ne);if(!Ae)throw new Error("Unsupported symbol "+W+" and font size "+ee+".");return Ae},Lo=function(W,ee,ne,he){var Ae=ne.havingBaseStyle(ee),Ge=it.makeSpan(he.concat(Ae.sizingClasses(ne)),[W],ne),xt=Ae.sizeMultiplier/ne.sizeMultiplier;return Ge.height*=xt,Ge.depth*=xt,Ge.maxFontSize=Ae.sizeMultiplier,Ge},yo=function(W,ee,ne){var he=ee.havingBaseStyle(ne),Ae=(1-ee.sizeMultiplier/he.sizeMultiplier)*ee.fontMetrics().axisHeight;W.classes.push("delimcenter"),W.style.top=Ae+"em",W.height-=Ae,W.depth+=Ae},Ko=function(W,ee,ne,he,Ae,Ge){var xt=it.makeSymbol(W,"Main-Regular",Ae,he),Ft=Lo(xt,ee,he,Ge);return ne&&yo(Ft,he,ee),Ft},Tu=function(W,ee,ne,he){return it.makeSymbol(W,"Size"+ee+"-Regular",ne,he)},_u=function(W,ee,ne,he,Ae,Ge){var xt=Tu(W,ee,Ae,he),Ft=Lo(it.makeSpan(["delimsizing","size"+ee],[xt],he),z.TEXT,he,Ge);return ne&&yo(Ft,he,z.TEXT),Ft},fo=function(W,ee,ne){var he;ee==="Size1-Regular"?he="delim-size1":he="delim-size4";var Ae=it.makeSpan(["delimsizinginner",he],[it.makeSpan([],[it.makeSymbol(W,ee,ne)])]);return{type:"elem",elem:Ae}},fs={type:"kern",size:-.005},zu=function(W,ee,ne,he,Ae,Ge){var xt,Ft,nr,Tr;xt=nr=Tr=W,Ft=null;var Wr="Size1-Regular";W==="\\uparrow"?nr=Tr="\u23D0":W==="\\Uparrow"?nr=Tr="\u2016":W==="\\downarrow"?xt=nr="\u23D0":W==="\\Downarrow"?xt=nr="\u2016":W==="\\updownarrow"?(xt="\\uparrow",nr="\u23D0",Tr="\\downarrow"):W==="\\Updownarrow"?(xt="\\Uparrow",nr="\u2016",Tr="\\Downarrow"):W==="["||W==="\\lbrack"?(xt="\u23A1",nr="\u23A2",Tr="\u23A3",Wr="Size4-Regular"):W==="]"||W==="\\rbrack"?(xt="\u23A4",nr="\u23A5",Tr="\u23A6",Wr="Size4-Regular"):W==="\\lfloor"||W==="\u230A"?(nr=xt="\u23A2",Tr="\u23A3",Wr="Size4-Regular"):W==="\\lceil"||W==="\u2308"?(xt="\u23A1",nr=Tr="\u23A2",Wr="Size4-Regular"):W==="\\rfloor"||W==="\u230B"?(nr=xt="\u23A5",Tr="\u23A6",Wr="Size4-Regular"):W==="\\rceil"||W==="\u2309"?(xt="\u23A4",nr=Tr="\u23A5",Wr="Size4-Regular"):W==="("||W==="\\lparen"?(xt="\u239B",nr="\u239C",Tr="\u239D",Wr="Size4-Regular"):W===")"||W==="\\rparen"?(xt="\u239E",nr="\u239F",Tr="\u23A0",Wr="Size4-Regular"):W==="\\{"||W==="\\lbrace"?(xt="\u23A7",Ft="\u23A8",Tr="\u23A9",nr="\u23AA",Wr="Size4-Regular"):W==="\\}"||W==="\\rbrace"?(xt="\u23AB",Ft="\u23AC",Tr="\u23AD",nr="\u23AA",Wr="Size4-Regular"):W==="\\lgroup"||W==="\u27EE"?(xt="\u23A7",Tr="\u23A9",nr="\u23AA",Wr="Size4-Regular"):W==="\\rgroup"||W==="\u27EF"?(xt="\u23AB",Tr="\u23AD",nr="\u23AA",Wr="Size4-Regular"):W==="\\lmoustache"||W==="\u23B0"?(xt="\u23A7",Tr="\u23AD",nr="\u23AA",Wr="Size4-Regular"):(W==="\\rmoustache"||W==="\u23B1")&&(xt="\u23AB",Tr="\u23A9",nr="\u23AA",Wr="Size4-Regular");var an=Qa(xt,Wr,Ae),wn=an.height+an.depth,Nn=Qa(nr,Wr,Ae),Wn=Nn.height+Nn.depth,pi=Qa(Tr,Wr,Ae),Sr=pi.height+pi.depth,aa=0,sa=1;if(Ft!==null){var is=Qa(Ft,Wr,Ae);aa=is.height+is.depth,sa=2}var Za=wn+Sr+aa,ws=Math.max(0,Math.ceil((ee-Za)/(sa*Wn))),as=Za+ws*sa*Wn,Aa=he.fontMetrics().axisHeight;ne&&(Aa*=he.sizeMultiplier);var Fs=as/2-Aa,Rs=(ws+1)*.005-Wn,fi=[];if(fi.push(fo(Tr,Wr,Ae)),Ft===null)for(var Qs=0;Qs<ws;Qs++)fi.push(fs),fi.push(fo(nr,Wr,Ae));else{for(var po=0;po<ws;po++)fi.push(fs),fi.push(fo(nr,Wr,Ae));fi.push({type:"kern",size:Rs}),fi.push(fo(nr,Wr,Ae)),fi.push(fs),fi.push(fo(Ft,Wr,Ae));for(var Oo=0;Oo<ws;Oo++)fi.push(fs),fi.push(fo(nr,Wr,Ae))}fi.push({type:"kern",size:Rs}),fi.push(fo(nr,Wr,Ae)),fi.push(fs),fi.push(fo(xt,Wr,Ae));var za=he.havingBaseStyle(z.TEXT),Eo=it.makeVList({positionType:"bottom",positionData:Fs,children:fi},za);return Lo(it.makeSpan(["delimsizing","mult"],[Eo],za),z.TEXT,he,Ge)},Mo=80,Io=.08,Us=function(W,ee,ne,he,Ae){var Ge=er(W,he,ne),xt=new Ne(W,Ge),Ft=new Me([xt],{width:"400em",height:ee+"em",viewBox:"0 0 400000 "+ne,preserveAspectRatio:"xMinYMin slice"});return it.makeSvgSpan(["hide-tail"],[Ft],Ae)},ou=function(W,ee){var ne=ee.havingBaseSizing(),he=vr("\\surd",W*ne.sizeMultiplier,cr,ne),Ae=ne.sizeMultiplier,Ge=Math.max(0,ee.minRuleThickness-ee.fontMetrics().sqrtRuleThickness),xt,Ft=0,nr=0,Tr=0,Wr;return he.type==="small"?(Tr=1e3+1e3*Ge+Mo,W<1?Ae=1:W<1.4&&(Ae=.7),Ft=(1+Ge+Io)/Ae,nr=(1+Ge)/Ae,xt=Us("sqrtMain",Ft,Tr,Ge,ee),xt.style.minWidth="0.853em",Wr=.833/Ae):he.type==="large"?(Tr=(1e3+Mo)*bo[he.size],nr=(bo[he.size]+Ge)/Ae,Ft=(bo[he.size]+Ge+Io)/Ae,xt=Us("sqrtSize"+he.size,Ft,Tr,Ge,ee),xt.style.minWidth="1.02em",Wr=1/Ae):(Ft=W+Ge+Io,nr=W+Ge,Tr=Math.floor(1e3*W+Ge)+Mo,xt=Us("sqrtTall",Ft,Tr,Ge,ee),xt.style.minWidth="0.742em",Wr=1.056),xt.height=nr,xt.style.height=Ft+"em",{span:xt,advanceWidth:Wr,ruleWidth:(ee.fontMetrics().sqrtRuleThickness+Ge)*Ae}},jo=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","\\surd"],Do=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1"],Ls=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],bo=[0,1.2,1.8,2.4,3],mu=function(W,ee,ne,he,Ae){if(W==="<"||W==="\\lt"||W==="\u27E8"?W="\\langle":(W===">"||W==="\\gt"||W==="\u27E9")&&(W="\\rangle"),T.contains(jo,W)||T.contains(Ls,W))return _u(W,ee,!1,ne,he,Ae);if(T.contains(Do,W))return zu(W,bo[ee],!1,ne,he,Ae);throw new s("Illegal delimiter: '"+W+"'")},Fo=[{type:"small",style:z.SCRIPTSCRIPT},{type:"small",style:z.SCRIPT},{type:"small",style:z.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],Qt=[{type:"small",style:z.SCRIPTSCRIPT},{type:"small",style:z.SCRIPT},{type:"small",style:z.TEXT},{type:"stack"}],cr=[{type:"small",style:z.SCRIPTSCRIPT},{type:"small",style:z.SCRIPT},{type:"small",style:z.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],sr=function(W){if(W.type==="small")return"Main-Regular";if(W.type==="large")return"Size"+W.size+"-Regular";if(W.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+W.type+"' here.")},vr=function(W,ee,ne,he){for(var Ae=Math.min(2,3-he.style.size),Ge=Ae;Ge<ne.length&&ne[Ge].type!=="stack";Ge++){var xt=Qa(W,sr(ne[Ge]),"math"),Ft=xt.height+xt.depth;if(ne[Ge].type==="small"){var nr=he.havingBaseStyle(ne[Ge].style);Ft*=nr.sizeMultiplier}if(Ft>ee)return ne[Ge]}return ne[ne.length-1]},wr=function(W,ee,ne,he,Ae,Ge){W==="<"||W==="\\lt"||W==="\u27E8"?W="\\langle":(W===">"||W==="\\gt"||W==="\u27E9")&&(W="\\rangle");var xt;T.contains(Ls,W)?xt=Fo:T.contains(jo,W)?xt=cr:xt=Qt;var Ft=vr(W,ee,xt,he);return Ft.type==="small"?Ko(W,Ft.style,ne,he,Ae,Ge):Ft.type==="large"?_u(W,Ft.size,ne,he,Ae,Ge):zu(W,ee,ne,he,Ae,Ge)},xn=function(W,ee,ne,he,Ae,Ge){var xt=he.fontMetrics().axisHeight*he.sizeMultiplier,Ft=901,nr=5/he.fontMetrics().ptPerEm,Tr=Math.max(ee-xt,ne+xt),Wr=Math.max(Tr/500*Ft,2*Tr-nr);return wr(W,Wr,!0,he,Ae,Ge)},Sn={sqrtImage:ou,sizedDelim:mu,customSizedDelim:wr,leftRightDelim:xn},Un={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},Ln=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","<",">","\\langle","\u27E8","\\rangle","\u27E9","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function Gn(Ve,W){var ee=bn(Ve);if(ee&&T.contains(Ln,ee.text))return ee;throw new s("Invalid delimiter: '"+(ee?ee.text:JSON.stringify(Ve))+"' after '"+W.funcName+"'",Ve)}pn({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1},handler:function(W,ee){var ne=Gn(ee[0],W);return{type:"delimsizing",mode:W.parser.mode,size:Un[W.funcName].size,mclass:Un[W.funcName].mclass,delim:ne.text}},htmlBuilder:function(W,ee){return W.delim==="."?it.makeSpan([W.mclass]):Sn.sizedDelim(W.delim,W.size,ee,W.mode,[W.mclass])},mathmlBuilder:function(W){var ee=[];W.delim!=="."&&ee.push(ja(W.delim,W.mode));var ne=new Rn.MathNode("mo",ee);return W.mclass==="mopen"||W.mclass==="mclose"?ne.setAttribute("fence","true"):ne.setAttribute("fence","false"),ne}});function ur(Ve){if(!Ve.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}pn({type:"leftright-right",names:["\\right"],props:{numArgs:1},handler:function(W,ee){var ne=W.parser.gullet.macros.get("\\current@color");if(ne&&typeof ne!="string")throw new s("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:W.parser.mode,delim:Gn(ee[0],W).text,color:ne}}}),pn({type:"leftright",names:["\\left"],props:{numArgs:1},handler:function(W,ee){var ne=Gn(ee[0],W),he=W.parser;++he.leftrightDepth;var Ae=he.parseExpression(!1);--he.leftrightDepth,he.expect("\\right",!1);var Ge=ir(he.parseFunction(),"leftright-right");return{type:"leftright",mode:he.mode,body:Ae,left:ne.text,right:Ge.delim,rightColor:Ge.color}},htmlBuilder:function(W,ee){ur(W);for(var ne=$a(W.body,ee,!0,["mopen","mclose"]),he=0,Ae=0,Ge=!1,xt=0;xt<ne.length;xt++)ne[xt].isMiddle?Ge=!0:(he=Math.max(ne[xt].height,he),Ae=Math.max(ne[xt].depth,Ae));he*=ee.sizeMultiplier,Ae*=ee.sizeMultiplier;var Ft;if(W.left==="."?Ft=Ds(ee,["mopen"]):Ft=Sn.leftRightDelim(W.left,he,Ae,ee,W.mode,["mopen"]),ne.unshift(Ft),Ge)for(var nr=1;nr<ne.length;nr++){var Tr=ne[nr],Wr=Tr.isMiddle;Wr&&(ne[nr]=Sn.leftRightDelim(Wr.delim,he,Ae,Wr.options,W.mode,[]))}var an;if(W.right===".")an=Ds(ee,["mclose"]);else{var wn=W.rightColor?ee.withColor(W.rightColor):ee;an=Sn.leftRightDelim(W.right,he,Ae,wn,W.mode,["mclose"])}return ne.push(an),it.makeSpan(["minner"],ne,ee)},mathmlBuilder:function(W,ee){ur(W);var ne=Vi(W.body,ee);if(W.left!=="."){var he=new Rn.MathNode("mo",[ja(W.left,W.mode)]);he.setAttribute("fence","true"),ne.unshift(he)}if(W.right!=="."){var Ae=new Rn.MathNode("mo",[ja(W.right,W.mode)]);Ae.setAttribute("fence","true"),W.rightColor&&Ae.setAttribute("mathcolor",W.rightColor),ne.push(Ae)}return ns(ne)}}),pn({type:"middle",names:["\\middle"],props:{numArgs:1},handler:function(W,ee){var ne=Gn(ee[0],W);if(!W.parser.leftrightDepth)throw new s("\\middle without preceding \\left",ne);return{type:"middle",mode:W.parser.mode,delim:ne.text}},htmlBuilder:function(W,ee){var ne;if(W.delim===".")ne=Ds(ee,[]);else{ne=Sn.sizedDelim(W.delim,1,ee,W.mode,[]);var he={delim:W.delim,options:ee};ne.isMiddle=he}return ne},mathmlBuilder:function(W,ee){var ne=W.delim==="\\vert"||W.delim==="|"?ja("|","text"):ja(W.delim,W.mode),he=new Rn.MathNode("mo",[ne]);return he.setAttribute("fence","true"),he.setAttribute("lspace","0.05em"),he.setAttribute("rspace","0.05em"),he}});var Fr=function(W,ee){var ne=it.wrapFragment($i(W.body,ee),ee),he=W.label.substr(1),Ae=ee.sizeMultiplier,Ge,xt=0,Ft=T.isCharacterBox(W.body);if(he==="sout")Ge=it.makeSpan(["stretchy","sout"]),Ge.height=ee.fontMetrics().defaultRuleThickness/Ae,xt=-.5*ee.fontMetrics().xHeight;else{/cancel/.test(he)?Ft||ne.classes.push("cancel-pad"):ne.classes.push("boxpad");var nr=0,Tr=0;/box/.test(he)?(Tr=Math.max(ee.fontMetrics().fboxrule,ee.minRuleThickness),nr=ee.fontMetrics().fboxsep+(he==="colorbox"?0:Tr)):nr=Ft?.2:0,Ge=oi.encloseSpan(ne,he,nr,ee),/fbox|boxed|fcolorbox/.test(he)&&(Ge.style.borderStyle="solid",Ge.style.borderWidth=Tr+"em"),xt=ne.depth+nr,W.backgroundColor&&(Ge.style.backgroundColor=W.backgroundColor,W.borderColor&&(Ge.style.borderColor=W.borderColor))}var Wr;return W.backgroundColor?Wr=it.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Ge,shift:xt},{type:"elem",elem:ne,shift:0}]},ee):Wr=it.makeVList({positionType:"individualShift",children:[{type:"elem",elem:ne,shift:0},{type:"elem",elem:Ge,shift:xt,wrapperClasses:/cancel/.test(he)?["svg-align"]:[]}]},ee),/cancel/.test(he)&&(Wr.height=ne.height,Wr.depth=ne.depth),/cancel/.test(he)&&!Ft?it.makeSpan(["mord","cancel-lap"],[Wr],ee):it.makeSpan(["mord"],[Wr],ee)},xr=function(W,ee){var ne=0,he=new Rn.MathNode(W.label.indexOf("colorbox")>-1?"mpadded":"menclose",[Da(W.body,ee)]);switch(W.label){case"\\cancel":he.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":he.setAttribute("notation","downdiagonalstrike");break;case"\\sout":he.setAttribute("notation","horizontalstrike");break;case"\\fbox":he.setAttribute("notation","box");break;case"\\fcolorbox":case"\\colorbox":if(ne=ee.fontMetrics().fboxsep*ee.fontMetrics().ptPerEm,he.setAttribute("width","+"+2*ne+"pt"),he.setAttribute("height","+"+2*ne+"pt"),he.setAttribute("lspace",ne+"pt"),he.setAttribute("voffset",ne+"pt"),W.label==="\\fcolorbox"){var Ae=Math.max(ee.fontMetrics().fboxrule,ee.minRuleThickness);he.setAttribute("style","border: "+Ae+"em solid "+String(W.borderColor))}break;case"\\xcancel":he.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return W.backgroundColor&&he.setAttribute("mathbackground",W.backgroundColor),he};pn({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","text"]},handler:function(W,ee,ne){var he=W.parser,Ae=W.funcName,Ge=ir(ee[0],"color-token").color,xt=ee[1];return{type:"enclose",mode:he.mode,label:Ae,backgroundColor:Ge,body:xt}},htmlBuilder:Fr,mathmlBuilder:xr}),pn({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,greediness:3,argTypes:["color","color","text"]},handler:function(W,ee,ne){var he=W.parser,Ae=W.funcName,Ge=ir(ee[0],"color-token").color,xt=ir(ee[1],"color-token").color,Ft=ee[2];return{type:"enclose",mode:he.mode,label:Ae,backgroundColor:xt,borderColor:Ge,body:Ft}},htmlBuilder:Fr,mathmlBuilder:xr}),pn({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler:function(W,ee){var ne=W.parser;return{type:"enclose",mode:ne.mode,label:"\\fbox",body:ee[0]}}}),pn({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout"],props:{numArgs:1},handler:function(W,ee,ne){var he=W.parser,Ae=W.funcName,Ge=ee[0];return{type:"enclose",mode:he.mode,label:Ae,body:Ge}},htmlBuilder:Fr,mathmlBuilder:xr});var mn={};function Hn(Ve){for(var W=Ve.type,ee=Ve.names,ne=Ve.props,he=Ve.handler,Ae=Ve.htmlBuilder,Ge=Ve.mathmlBuilder,xt={type:W,numArgs:ne.numArgs||0,greediness:1,allowedInText:!1,numOptionalArgs:0,handler:he},Ft=0;Ft<ee.length;++Ft)mn[ee[Ft]]=xt;Ae&&(Pi[W]=Ae),Ge&&(gi[W]=Ge)}function ft(Ve){var W=[];Ve.consumeSpaces();for(var ee=Ve.fetch().text;ee==="\\hline"||ee==="\\hdashline";)Ve.consume(),W.push(ee==="\\hdashline"),Ve.consumeSpaces(),ee=Ve.fetch().text;return W}function Pn(Ve,W,ee){var ne=W.hskipBeforeAndAfter,he=W.addJot,Ae=W.cols,Ge=W.arraystretch,xt=W.colSeparationType;if(Ve.gullet.beginGroup(),Ve.gullet.macros.set("\\\\","\\cr"),!Ge){var Ft=Ve.gullet.expandMacroAsText("\\arraystretch");if(Ft==null)Ge=1;else if(Ge=parseFloat(Ft),!Ge||Ge<0)throw new s("Invalid \\arraystretch: "+Ft)}Ve.gullet.beginGroup();var nr=[],Tr=[nr],Wr=[],an=[];for(an.push(ft(Ve));;){var wn=Ve.parseExpression(!1,"\\cr");Ve.gullet.endGroup(),Ve.gullet.beginGroup(),wn={type:"ordgroup",mode:Ve.mode,body:wn},ee&&(wn={type:"styling",mode:Ve.mode,style:ee,body:[wn]}),nr.push(wn);var Nn=Ve.fetch().text;if(Nn==="&")Ve.consume();else if(Nn==="\\end"){nr.length===1&&wn.type==="styling"&&wn.body[0].body.length===0&&Tr.pop(),an.length<Tr.length+1&&an.push([]);break}else if(Nn==="\\cr"){var Wn=ir(Ve.parseFunction(),"cr");Wr.push(Wn.size),an.push(ft(Ve)),nr=[],Tr.push(nr)}else throw new s("Expected & or \\\\ or \\cr or \\end",Ve.nextToken)}return Ve.gullet.endGroup(),Ve.gullet.endGroup(),{type:"array",mode:Ve.mode,addJot:he,arraystretch:Ge,body:Tr,cols:Ae,rowGaps:Wr,hskipBeforeAndAfter:ne,hLinesBeforeRow:an,colSeparationType:xt}}function Vn(Ve){return Ve.substr(0,1)==="d"?"display":"text"}var li=function(W,ee){var ne,he,Ae=W.body.length,Ge=W.hLinesBeforeRow,xt=0,Ft=new Array(Ae),nr=[],Tr=Math.max(ee.fontMetrics().arrayRuleWidth,ee.minRuleThickness),Wr=1/ee.fontMetrics().ptPerEm,an=5*Wr;if(W.colSeparationType&&W.colSeparationType==="small"){var wn=ee.havingStyle(z.SCRIPT).sizeMultiplier;an=.2778*(wn/ee.sizeMultiplier)}var Nn=12*Wr,Wn=3*Wr,pi=W.arraystretch*Nn,Sr=.7*pi,aa=.3*pi,sa=0;function is(Uo){for(var Du=0;Du<Uo.length;++Du)Du>0&&(sa+=.25),nr.push({pos:sa,isDashed:Uo[Du]})}for(is(Ge[0]),ne=0;ne<W.body.length;++ne){var Za=W.body[ne],ws=Sr,as=aa;xt<Za.length&&(xt=Za.length);var Aa=new Array(Za.length);for(he=0;he<Za.length;++he){var Fs=$i(Za[he],ee);as<Fs.depth&&(as=Fs.depth),ws<Fs.height&&(ws=Fs.height),Aa[he]=Fs}var Rs=W.rowGaps[ne],fi=0;Rs&&(fi=mi(Rs,ee),fi>0&&(fi+=aa,as<fi&&(as=fi),fi=0)),W.addJot&&(as+=Wn),Aa.height=ws,Aa.depth=as,sa+=ws,Aa.pos=sa,sa+=as+fi,Ft[ne]=Aa,is(Ge[ne+1])}var Qs=sa/2+ee.fontMetrics().axisHeight,po=W.cols||[],Oo=[],za,Eo;for(he=0,Eo=0;he<xt||Eo<po.length;++he,++Eo){for(var zs=po[Eo]||{},Al=!0;zs.type==="separator";){if(Al||(za=it.makeSpan(["arraycolsep"],[]),za.style.width=ee.fontMetrics().doubleRuleSep+"em",Oo.push(za)),zs.separator==="|"||zs.separator===":"){var Ju=zs.separator==="|"?"solid":"dashed",el=it.makeSpan(["vertical-separator"],[],ee);el.style.height=sa+"em",el.style.borderRightWidth=Tr+"em",el.style.borderRightStyle=Ju,el.style.margin="0 -"+Tr/2+"em",el.style.verticalAlign=-(sa-Qs)+"em",Oo.push(el)}else throw new s("Invalid separator type: "+zs.separator);Eo++,zs=po[Eo]||{},Al=!1}if(!(he>=xt)){var gu=void 0;(he>0||W.hskipBeforeAndAfter)&&(gu=T.deflt(zs.pregap,an),gu!==0&&(za=it.makeSpan(["arraycolsep"],[]),za.style.width=gu+"em",Oo.push(za)));var ss=[];for(ne=0;ne<Ae;++ne){var uu=Ft[ne],yu=uu[he];if(yu){var wo=uu.pos-Qs;yu.depth=uu.depth,yu.height=uu.height,ss.push({type:"elem",elem:yu,shift:wo})}}ss=it.makeVList({positionType:"individualShift",children:ss},ee),ss=it.makeSpan(["col-align-"+(zs.align||"c")],[ss]),Oo.push(ss),(he<xt-1||W.hskipBeforeAndAfter)&&(gu=T.deflt(zs.postgap,an),gu!==0&&(za=it.makeSpan(["arraycolsep"],[]),za.style.width=gu+"em",Oo.push(za)))}}if(Ft=it.makeSpan(["mtable"],Oo),nr.length>0){for(var tl=it.makeLineSpan("hline",ee,Tr),Iu=it.makeLineSpan("hdashline",ee,Tr),Yo=[{type:"elem",elem:Ft,shift:0}];nr.length>0;){var zl=nr.pop(),Zs=zl.pos-Qs;zl.isDashed?Yo.push({type:"elem",elem:Iu,shift:Zs}):Yo.push({type:"elem",elem:tl,shift:Zs})}Ft=it.makeVList({positionType:"individualShift",children:Yo},ee)}return it.makeSpan(["mord"],[Ft],ee)},Qi={c:"center ",l:"left ",r:"right "},Nr=function(W,ee){var ne=new Rn.MathNode("mtable",W.body.map(function(sa){return new Rn.MathNode("mtr",sa.map(function(is){return new Rn.MathNode("mtd",[Da(is,ee)])}))})),he=W.arraystretch===.5?.1:.16+W.arraystretch-1+(W.addJot?.09:0);ne.setAttribute("rowspacing",he+"em");var Ae="",Ge="";if(W.cols){var xt=W.cols,Ft="",nr=!1,Tr=0,Wr=xt.length;xt[0].type==="separator"&&(Ae+="top ",Tr=1),xt[xt.length-1].type==="separator"&&(Ae+="bottom ",Wr-=1);for(var an=Tr;an<Wr;an++)xt[an].type==="align"?(Ge+=Qi[xt[an].align],nr&&(Ft+="none "),nr=!0):xt[an].type==="separator"&&nr&&(Ft+=xt[an].separator==="|"?"solid ":"dashed ",nr=!1);ne.setAttribute("columnalign",Ge.trim()),/[sd]/.test(Ft)&&ne.setAttribute("columnlines",Ft.trim())}if(W.colSeparationType==="align"){for(var wn=W.cols||[],Nn="",Wn=1;Wn<wn.length;Wn++)Nn+=Wn%2?"0em ":"1em ";ne.setAttribute("columnspacing",Nn.trim())}else W.colSeparationType==="alignat"?ne.setAttribute("columnspacing","0em"):W.colSeparationType==="small"?ne.setAttribute("columnspacing","0.2778em"):ne.setAttribute("columnspacing","1em");var pi="",Sr=W.hLinesBeforeRow;Ae+=Sr[0].length>0?"left ":"",Ae+=Sr[Sr.length-1].length>0?"right ":"";for(var aa=1;aa<Sr.length-1;aa++)pi+=Sr[aa].length===0?"none ":Sr[aa][0]?"dashed ":"solid ";return/[sd]/.test(pi)&&ne.setAttribute("rowlines",pi.trim()),Ae!==""&&(ne=new Rn.MathNode("menclose",[ne]),ne.setAttribute("notation",Ae.trim())),W.arraystretch&&W.arraystretch<1&&(ne=new Rn.MathNode("mstyle",[ne]),ne.setAttribute("scriptlevel","1")),ne},Li=function(W,ee){var ne=[],he=Pn(W.parser,{cols:ne,addJot:!0},"display"),Ae,Ge=0,xt={type:"ordgroup",mode:W.mode,body:[]},Ft=Dr(ee[0],"ordgroup");if(Ft){for(var nr="",Tr=0;Tr<Ft.body.length;Tr++){var Wr=ir(Ft.body[Tr],"textord");nr+=Wr.text}Ae=Number(nr),Ge=Ae*2}var an=!Ge;he.body.forEach(function(pi){for(var Sr=1;Sr<pi.length;Sr+=2){var aa=ir(pi[Sr],"styling"),sa=ir(aa.body[0],"ordgroup");sa.body.unshift(xt)}if(an)Ge<pi.length&&(Ge=pi.length);else{var is=pi.length/2;if(Ae<is)throw new s("Too many math in a row: "+("expected "+Ae+", but got "+is),pi[0])}});for(var wn=0;wn<Ge;++wn){var Nn="r",Wn=0;wn%2===1?Nn="l":wn>0&&an&&(Wn=1),ne[wn]={type:"align",align:Nn,pregap:Wn,postgap:0}}return he.colSeparationType=an?"align":"alignat",he};Hn({type:"array",names:["array","darray"],props:{numArgs:1},handler:function(W,ee){var ne=bn(ee[0]),he=ne?[ee[0]]:ir(ee[0],"ordgroup").body,Ae=he.map(function(xt){var Ft=$r(xt),nr=Ft.text;if("lcr".indexOf(nr)!==-1)return{type:"align",align:nr};if(nr==="|")return{type:"separator",separator:"|"};if(nr===":")return{type:"separator",separator:":"};throw new s("Unknown column alignment: "+nr,xt)}),Ge={cols:Ae,hskipBeforeAndAfter:!0};return Pn(W.parser,Ge,Vn(W.envName))},htmlBuilder:li,mathmlBuilder:Nr}),Hn({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix"],props:{numArgs:0},handler:function(W){var ee={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[W.envName],ne={hskipBeforeAndAfter:!1},he=Pn(W.parser,ne,Vn(W.envName));return ee?{type:"leftright",mode:W.mode,body:[he],left:ee[0],right:ee[1],rightColor:void 0}:he},htmlBuilder:li,mathmlBuilder:Nr}),Hn({type:"array",names:["smallmatrix"],props:{numArgs:0},handler:function(W){var ee={arraystretch:.5},ne=Pn(W.parser,ee,"script");return ne.colSeparationType="small",ne},htmlBuilder:li,mathmlBuilder:Nr}),Hn({type:"array",names:["subarray"],props:{numArgs:1},handler:function(W,ee){var ne=bn(ee[0]),he=ne?[ee[0]]:ir(ee[0],"ordgroup").body,Ae=he.map(function(xt){var Ft=$r(xt),nr=Ft.text;if("lc".indexOf(nr)!==-1)return{type:"align",align:nr};throw new s("Unknown column alignment: "+nr,xt)});if(Ae.length>1)throw new s("{subarray} can contain only one column");var Ge={cols:Ae,hskipBeforeAndAfter:!1,arraystretch:.5};if(Ge=Pn(W.parser,Ge,"script"),Ge.body[0].length>1)throw new s("{subarray} can contain only one column");return Ge},htmlBuilder:li,mathmlBuilder:Nr}),Hn({type:"array",names:["cases","dcases"],props:{numArgs:0},handler:function(W){var ee={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},ne=Pn(W.parser,ee,Vn(W.envName));return{type:"leftright",mode:W.mode,body:[ne],left:"\\{",right:".",rightColor:void 0}},htmlBuilder:li,mathmlBuilder:Nr}),Hn({type:"array",names:["aligned"],props:{numArgs:0},handler:Li,htmlBuilder:li,mathmlBuilder:Nr}),Hn({type:"array",names:["gathered"],props:{numArgs:0},handler:function(W){var ee={cols:[{type:"align",align:"c"}],addJot:!0};return Pn(W.parser,ee,"display")},htmlBuilder:li,mathmlBuilder:Nr}),Hn({type:"array",names:["alignedat"],props:{numArgs:1},handler:Li,htmlBuilder:li,mathmlBuilder:Nr}),pn({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler:function(W,ee){throw new s(W.funcName+" valid only within array environment")}});var ba=mn,zr=ba;pn({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler:function(W,ee){var ne=W.parser,he=W.funcName,Ae=ee[0];if(Ae.type!=="ordgroup")throw new s("Invalid environment name",Ae);for(var Ge="",xt=0;xt<Ae.body.length;++xt)Ge+=ir(Ae.body[xt],"textord").text;if(he==="\\begin"){if(!zr.hasOwnProperty(Ge))throw new s("No such environment: "+Ge,Ae);var Ft=zr[Ge],nr=ne.parseArguments("\\begin{"+Ge+"}",Ft),Tr=nr.args,Wr=nr.optArgs,an={mode:ne.mode,envName:Ge,parser:ne},wn=Ft.handler(an,Tr,Wr);ne.expect("\\end",!1);var Nn=ne.nextToken,Wn=ir(ne.parseFunction(),"environment");if(Wn.name!==Ge)throw new s("Mismatch: \\begin{"+Ge+"} matched by \\end{"+Wn.name+"}",Nn);return wn}return{type:"environment",mode:ne.mode,name:Ge,nameGroup:Ae}}});var na=it.makeSpan;function Ss(Ve,W){var ee=$a(Ve.body,W,!0);return na([Ve.mclass],ee,W)}function ci(Ve,W){var ee,ne=Vi(Ve.body,W);return Ve.mclass==="minner"?Rn.newDocumentFragment(ne):(Ve.mclass==="mord"?Ve.isCharacterBox?(ee=ne[0],ee.type="mi"):ee=new Rn.MathNode("mi",ne):(Ve.isCharacterBox?(ee=ne[0],ee.type="mo"):ee=new Rn.MathNode("mo",ne),Ve.mclass==="mbin"?(ee.attributes.lspace="0.22em",ee.attributes.rspace="0.22em"):Ve.mclass==="mpunct"?(ee.attributes.lspace="0em",ee.attributes.rspace="0.17em"):(Ve.mclass==="mopen"||Ve.mclass==="mclose")&&(ee.attributes.lspace="0em",ee.attributes.rspace="0em")),ee)}pn({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1},handler:function(W,ee){var ne=W.parser,he=W.funcName,Ae=ee[0];return{type:"mclass",mode:ne.mode,mclass:"m"+he.substr(5),body:Ni(Ae),isCharacterBox:T.isCharacterBox(Ae)}},htmlBuilder:Ss,mathmlBuilder:ci});var Vs=function(W){var ee=W.type==="ordgroup"&&W.body.length?W.body[0]:W;return ee.type==="atom"&&(ee.family==="bin"||ee.family==="rel")?"m"+ee.family:"mord"};pn({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler:function(W,ee){var ne=W.parser;return{type:"mclass",mode:ne.mode,mclass:Vs(ee[0]),body:[ee[1]],isCharacterBox:T.isCharacterBox(ee[1])}}}),pn({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler:function(W,ee){var ne=W.parser,he=W.funcName,Ae=ee[1],Ge=ee[0],xt;he!=="\\stackrel"?xt=Vs(Ae):xt="mrel";var Ft={type:"op",mode:Ae.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:he!=="\\stackrel",body:Ni(Ae)},nr={type:"supsub",mode:Ge.mode,base:Ft,sup:he==="\\underset"?null:Ge,sub:he==="\\underset"?Ge:null};return{type:"mclass",mode:ne.mode,mclass:xt,body:[nr],isCharacterBox:T.isCharacterBox(nr)}},htmlBuilder:Ss,mathmlBuilder:ci});var xo=function(W,ee){var ne=W.font,he=ee.withFont(ne);return $i(W.body,he)},Os=function(W,ee){var ne=W.font,he=ee.withFont(ne);return Da(W.body,he)},xa={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};pn({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,greediness:2},handler:function(W,ee){var ne=W.parser,he=W.funcName,Ae=ee[0],Ge=he;return Ge in xa&&(Ge=xa[Ge]),{type:"font",mode:ne.mode,font:Ge.slice(1),body:Ae}},htmlBuilder:xo,mathmlBuilder:Os}),pn({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1,greediness:2},handler:function(W,ee){var ne=W.parser,he=ee[0],Ae=T.isCharacterBox(he);return{type:"mclass",mode:ne.mode,mclass:Vs(he),body:[{type:"font",mode:ne.mode,font:"boldsymbol",body:he}],isCharacterBox:Ae}}}),pn({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it"],props:{numArgs:0,allowedInText:!0},handler:function(W,ee){var ne=W.parser,he=W.funcName,Ae=W.breakOnTokenText,Ge=ne.mode,xt=ne.parseExpression(!0,Ae),Ft="math"+he.slice(1);return{type:"font",mode:Ge,font:Ft,body:{type:"ordgroup",mode:ne.mode,body:xt}}},htmlBuilder:xo,mathmlBuilder:Os});var ds=function(W,ee){var ne=ee;return W==="display"?ne=ne.id>=z.SCRIPT.id?ne.text():z.DISPLAY:W==="text"&&ne.size===z.DISPLAY.size?ne=z.TEXT:W==="script"?ne=z.SCRIPT:W==="scriptscript"&&(ne=z.SCRIPTSCRIPT),ne},ks=function(W,ee){var ne=ds(W.size,ee.style),he=ne.fracNum(),Ae=ne.fracDen(),Ge;Ge=ee.havingStyle(he);var xt=$i(W.numer,Ge,ee);if(W.continued){var Ft=8.5/ee.fontMetrics().ptPerEm,nr=3.5/ee.fontMetrics().ptPerEm;xt.height=xt.height<Ft?Ft:xt.height,xt.depth=xt.depth<nr?nr:xt.depth}Ge=ee.havingStyle(Ae);var Tr=$i(W.denom,Ge,ee),Wr,an,wn;W.hasBarLine?(W.barSize?(an=mi(W.barSize,ee),Wr=it.makeLineSpan("frac-line",ee,an)):Wr=it.makeLineSpan("frac-line",ee),an=Wr.height,wn=Wr.height):(Wr=null,an=0,wn=ee.fontMetrics().defaultRuleThickness);var Nn,Wn,pi;ne.size===z.DISPLAY.size||W.size==="display"?(Nn=ee.fontMetrics().num1,an>0?Wn=3*wn:Wn=7*wn,pi=ee.fontMetrics().denom1):(an>0?(Nn=ee.fontMetrics().num2,Wn=wn):(Nn=ee.fontMetrics().num3,Wn=3*wn),pi=ee.fontMetrics().denom2);var Sr;if(Wr){var sa=ee.fontMetrics().axisHeight;Nn-xt.depth-(sa+.5*an)<Wn&&(Nn+=Wn-(Nn-xt.depth-(sa+.5*an))),sa-.5*an-(Tr.height-pi)<Wn&&(pi+=Wn-(sa-.5*an-(Tr.height-pi)));var is=-(sa-.5*an);Sr=it.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Tr,shift:pi},{type:"elem",elem:Wr,shift:is},{type:"elem",elem:xt,shift:-Nn}]},ee)}else{var aa=Nn-xt.depth-(Tr.height-pi);aa<Wn&&(Nn+=.5*(Wn-aa),pi+=.5*(Wn-aa)),Sr=it.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Tr,shift:pi},{type:"elem",elem:xt,shift:-Nn}]},ee)}Ge=ee.havingStyle(ne),Sr.height*=Ge.sizeMultiplier/ee.sizeMultiplier,Sr.depth*=Ge.sizeMultiplier/ee.sizeMultiplier;var Za;ne.size===z.DISPLAY.size?Za=ee.fontMetrics().delim1:Za=ee.fontMetrics().delim2;var ws,as;return W.leftDelim==null?ws=Ds(ee,["mopen"]):ws=Sn.customSizedDelim(W.leftDelim,Za,!0,ee.havingStyle(ne),W.mode,["mopen"]),W.continued?as=it.makeSpan([]):W.rightDelim==null?as=Ds(ee,["mclose"]):as=Sn.customSizedDelim(W.rightDelim,Za,!0,ee.havingStyle(ne),W.mode,["mclose"]),it.makeSpan(["mord"].concat(Ge.sizingClasses(ee)),[ws,it.makeSpan(["mfrac"],[Sr]),as],ee)},In=function(W,ee){var ne=new Rn.MathNode("mfrac",[Da(W.numer,ee),Da(W.denom,ee)]);if(!W.hasBarLine)ne.setAttribute("linethickness","0px");else if(W.barSize){var he=mi(W.barSize,ee);ne.setAttribute("linethickness",he+"em")}var Ae=ds(W.size,ee.style);if(Ae.size!==ee.style.size){ne=new Rn.MathNode("mstyle",[ne]);var Ge=Ae.size===z.DISPLAY.size?"true":"false";ne.setAttribute("displaystyle",Ge),ne.setAttribute("scriptlevel","0")}if(W.leftDelim!=null||W.rightDelim!=null){var xt=[];if(W.leftDelim!=null){var Ft=new Rn.MathNode("mo",[new Rn.TextNode(W.leftDelim.replace("\\",""))]);Ft.setAttribute("fence","true"),xt.push(Ft)}if(xt.push(ne),W.rightDelim!=null){var nr=new Rn.MathNode("mo",[new Rn.TextNode(W.rightDelim.replace("\\",""))]);nr.setAttribute("fence","true"),xt.push(nr)}return ns(xt)}return ne};pn({type:"genfrac",names:["\\cfrac","\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,greediness:2},handler:function(W,ee){var ne=W.parser,he=W.funcName,Ae=ee[0],Ge=ee[1],xt,Ft=null,nr=null,Tr="auto";switch(he){case"\\cfrac":case"\\dfrac":case"\\frac":case"\\tfrac":xt=!0;break;case"\\\\atopfrac":xt=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":xt=!1,Ft="(",nr=")";break;case"\\\\bracefrac":xt=!1,Ft="\\{",nr="\\}";break;case"\\\\brackfrac":xt=!1,Ft="[",nr="]";break;default:throw new Error("Unrecognized genfrac command")}switch(he){case"\\cfrac":case"\\dfrac":case"\\dbinom":Tr="display";break;case"\\tfrac":case"\\tbinom":Tr="text";break}return{type:"genfrac",mode:ne.mode,continued:he==="\\cfrac",numer:Ae,denom:Ge,hasBarLine:xt,leftDelim:Ft,rightDelim:nr,size:Tr,barSize:null}},htmlBuilder:ks,mathmlBuilder:In}),pn({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler:function(W){var ee=W.parser,ne=W.funcName,he=W.token,Ae;switch(ne){case"\\over":Ae="\\frac";break;case"\\choose":Ae="\\binom";break;case"\\atop":Ae="\\\\atopfrac";break;case"\\brace":Ae="\\\\bracefrac";break;case"\\brack":Ae="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:ee.mode,replaceWith:Ae,token:he}}});var gs=["display","text","script","scriptscript"],Ns=function(W){var ee=null;return W.length>0&&(ee=W,ee=ee==="."?null:ee),ee};pn({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,greediness:6,argTypes:["math","math","size","text","math","math"]},handler:function(W,ee){var ne=W.parser,he=ee[4],Ae=ee[5],Ge=Dr(ee[0],"atom");Ge&&(Ge=Er(ee[0],"open"));var xt=Ge?Ns(Ge.text):null,Ft=Dr(ee[1],"atom");Ft&&(Ft=Er(ee[1],"close"));var nr=Ft?Ns(Ft.text):null,Tr=ir(ee[2],"size"),Wr,an=null;Tr.isBlank?Wr=!0:(an=Tr.value,Wr=an.number>0);var wn="auto",Nn=Dr(ee[3],"ordgroup");if(Nn){if(Nn.body.length>0){var Wn=ir(Nn.body[0],"textord");wn=gs[Number(Wn.text)]}}else Nn=ir(ee[3],"textord"),wn=gs[Number(Nn.text)];return{type:"genfrac",mode:ne.mode,numer:he,denom:Ae,continued:!1,hasBarLine:Wr,barSize:an,leftDelim:xt,rightDelim:nr,size:wn}},htmlBuilder:ks,mathmlBuilder:In}),pn({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler:function(W,ee){var ne=W.parser,he=W.funcName,Ae=W.token;return{type:"infix",mode:ne.mode,replaceWith:"\\\\abovefrac",size:ir(ee[0],"size").value,token:Ae}}}),pn({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:function(W,ee){var ne=W.parser,he=W.funcName,Ae=ee[0],Ge=R(ir(ee[1],"infix").size),xt=ee[2],Ft=Ge.number>0;return{type:"genfrac",mode:ne.mode,numer:Ae,denom:xt,continued:!1,hasBarLine:Ft,barSize:Ge,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:ks,mathmlBuilder:In});var Ye=function(W,ee){var ne=ee.style,he,Ae,Ge=Dr(W,"supsub");Ge?(he=Ge.sup?$i(Ge.sup,ee.havingStyle(ne.sup()),ee):$i(Ge.sub,ee.havingStyle(ne.sub()),ee),Ae=ir(Ge.base,"horizBrace")):Ae=ir(W,"horizBrace");var xt=$i(Ae.base,ee.havingBaseStyle(z.DISPLAY)),Ft=oi.svgSpan(Ae,ee),nr;if(Ae.isOver?(nr=it.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:xt},{type:"kern",size:.1},{type:"elem",elem:Ft}]},ee),nr.children[0].children[0].children[1].classes.push("svg-align")):(nr=it.makeVList({positionType:"bottom",positionData:xt.depth+.1+Ft.height,children:[{type:"elem",elem:Ft},{type:"kern",size:.1},{type:"elem",elem:xt}]},ee),nr.children[0].children[0].children[0].classes.push("svg-align")),he){var Tr=it.makeSpan(["mord",Ae.isOver?"mover":"munder"],[nr],ee);Ae.isOver?nr=it.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Tr},{type:"kern",size:.2},{type:"elem",elem:he}]},ee):nr=it.makeVList({positionType:"bottom",positionData:Tr.depth+.2+he.height+he.depth,children:[{type:"elem",elem:he},{type:"kern",size:.2},{type:"elem",elem:Tr}]},ee)}return it.makeSpan(["mord",Ae.isOver?"mover":"munder"],[nr],ee)},Qe=function(W,ee){var ne=oi.mathMLnode(W.label);return new Rn.MathNode(W.isOver?"mover":"munder",[Da(W.base,ee),ne])};pn({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler:function(W,ee){var ne=W.parser,he=W.funcName;return{type:"horizBrace",mode:ne.mode,label:he,isOver:/^\\over/.test(he),base:ee[0]}},htmlBuilder:Ye,mathmlBuilder:Qe}),pn({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:function(W,ee){var ne=W.parser,he=ee[1],Ae=ir(ee[0],"url").url;return ne.settings.isTrusted({command:"\\href",url:Ae})?{type:"href",mode:ne.mode,href:Ae,body:Ni(he)}:ne.formatUnsupportedCmd("\\href")},htmlBuilder:function(W,ee){var ne=$a(W.body,ee,!1);return it.makeAnchor(W.href,[],ne,ee)},mathmlBuilder:function(W,ee){var ne=Ia(W.body,ee);return ne instanceof _s||(ne=new _s("mrow",[ne])),ne.setAttribute("href",W.href),ne}}),pn({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:function(W,ee){var ne=W.parser,he=ir(ee[0],"url").url;if(!ne.settings.isTrusted({command:"\\url",url:he}))return ne.formatUnsupportedCmd("\\url");for(var Ae=[],Ge=0;Ge<he.length;Ge++){var xt=he[Ge];xt==="~"&&(xt="\\textasciitilde"),Ae.push({type:"textord",mode:"text",text:xt})}var Ft={type:"text",mode:ne.mode,font:"\\texttt",body:Ae};return{type:"href",mode:ne.mode,href:he,body:Ni(Ft)}}}),pn({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:function(W,ee){var ne=W.parser;return{type:"htmlmathml",mode:ne.mode,html:Ni(ee[0]),mathml:Ni(ee[1])}},htmlBuilder:function(W,ee){var ne=$a(W.html,ee,!1);return it.makeFragment(ne)},mathmlBuilder:function(W,ee){return Ia(W.mathml,ee)}});var Mt=function(W){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(W))return{number:+W,unit:"bp"};var ee=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(W);if(!ee)throw new s("Invalid size: '"+W+"' in \\includegraphics");var ne={number:+(ee[1]+ee[2]),unit:ee[3]};if(!Ei(ne))throw new s("Invalid unit: '"+ne.unit+"' in \\includegraphics.");return ne};pn({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:function(W,ee,ne){var he=W.parser,Ae={number:0,unit:"em"},Ge={number:.9,unit:"em"},xt={number:0,unit:"em"},Ft="";if(ne[0])for(var nr=ir(ne[0],"raw").string,Tr=nr.split(","),Wr=0;Wr<Tr.length;Wr++){var an=Tr[Wr].split("=");if(an.length===2){var wn=an[1].trim();switch(an[0].trim()){case"alt":Ft=wn;break;case"width":Ae=Mt(wn);break;case"height":Ge=Mt(wn);break;case"totalheight":xt=Mt(wn);break;default:throw new s("Invalid key: '"+an[0]+"' in \\includegraphics.")}}}var Nn=ir(ee[0],"url").url;return Ft===""&&(Ft=Nn,Ft=Ft.replace(/^.*[\\/]/,""),Ft=Ft.substring(0,Ft.lastIndexOf("."))),he.settings.isTrusted({command:"\\includegraphics",url:Nn})?{type:"includegraphics",mode:he.mode,alt:Ft,width:Ae,height:Ge,totalheight:xt,src:Nn}:he.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:function(W,ee){var ne=mi(W.height,ee),he=0;W.totalheight.number>0&&(he=mi(W.totalheight,ee)-ne,he=Number(he.toFixed(2)));var Ae=0;W.width.number>0&&(Ae=mi(W.width,ee));var Ge={height:ne+he+"em"};Ae>0&&(Ge.width=Ae+"em"),he>0&&(Ge.verticalAlign=-he+"em");var xt=new je(W.src,W.alt,Ge);return xt.height=ne,xt.depth=he,xt},mathmlBuilder:function(W,ee){var ne=new Rn.MathNode("mglyph",[]);ne.setAttribute("alt",W.alt);var he=mi(W.height,ee),Ae=0;if(W.totalheight.number>0&&(Ae=mi(W.totalheight,ee)-he,Ae=Ae.toFixed(2),ne.setAttribute("valign","-"+Ae+"em")),ne.setAttribute("height",he+Ae+"em"),W.width.number>0){var Ge=mi(W.width,ee);ne.setAttribute("width",Ge+"em")}return ne.setAttribute("src",W.src),ne}}),pn({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],allowedInText:!0},handler:function(W,ee){var ne=W.parser,he=W.funcName,Ae=ir(ee[0],"size");if(ne.settings.strict){var Ge=he[1]==="m",xt=Ae.value.unit==="mu";Ge?(xt||ne.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+he+" supports only mu units, "+("not "+Ae.value.unit+" units")),ne.mode!=="math"&&ne.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+he+" works only in math mode")):xt&&ne.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+he+" doesn't support mu units")}return{type:"kern",mode:ne.mode,dimension:Ae.value}},htmlBuilder:function(W,ee){return it.makeGlue(W.dimension,ee)},mathmlBuilder:function(W,ee){var ne=mi(W.dimension,ee);return new Rn.SpaceNode(ne)}}),pn({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:function(W,ee){var ne=W.parser,he=W.funcName,Ae=ee[0];return{type:"lap",mode:ne.mode,alignment:he.slice(5),body:Ae}},htmlBuilder:function(W,ee){var ne;W.alignment==="clap"?(ne=it.makeSpan([],[$i(W.body,ee)]),ne=it.makeSpan(["inner"],[ne],ee)):ne=it.makeSpan(["inner"],[$i(W.body,ee)]);var he=it.makeSpan(["fix"],[]),Ae=it.makeSpan([W.alignment],[ne,he],ee),Ge=it.makeSpan(["strut"]);return Ge.style.height=Ae.height+Ae.depth+"em",Ge.style.verticalAlign=-Ae.depth+"em",Ae.children.unshift(Ge),Ae=it.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Ae}]},ee),it.makeSpan(["mord"],[Ae],ee)},mathmlBuilder:function(W,ee){var ne=new Rn.MathNode("mpadded",[Da(W.body,ee)]);if(W.alignment!=="rlap"){var he=W.alignment==="llap"?"-1":"-0.5";ne.setAttribute("lspace",he+"width")}return ne.setAttribute("width","0px"),ne}}),pn({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(W,ee){var ne=W.funcName,he=W.parser,Ae=he.mode;he.switchMode("math");var Ge=ne==="\\("?"\\)":"$",xt=he.parseExpression(!1,Ge);return he.expect(Ge),he.switchMode(Ae),{type:"styling",mode:he.mode,style:"text",body:xt}}}),pn({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(W,ee){throw new s("Mismatched "+W.funcName)}});var Kt=function(W,ee){switch(ee.style.size){case z.DISPLAY.size:return W.display;case z.TEXT.size:return W.text;case z.SCRIPT.size:return W.script;case z.SCRIPTSCRIPT.size:return W.scriptscript;default:return W.text}};pn({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4},handler:function(W,ee){var ne=W.parser;return{type:"mathchoice",mode:ne.mode,display:Ni(ee[0]),text:Ni(ee[1]),script:Ni(ee[2]),scriptscript:Ni(ee[3])}},htmlBuilder:function(W,ee){var ne=Kt(W,ee),he=$a(ne,ee,!1);return it.makeFragment(he)},mathmlBuilder:function(W,ee){var ne=Kt(W,ee);return Ia(ne,ee)}});var hr=function(W,ee,ne,he,Ae,Ge,xt){W=it.makeSpan([],[W]);var Ft,nr;if(ee){var Tr=$i(ee,he.havingStyle(Ae.sup()),he);nr={elem:Tr,kern:Math.max(he.fontMetrics().bigOpSpacing1,he.fontMetrics().bigOpSpacing3-Tr.depth)}}if(ne){var Wr=$i(ne,he.havingStyle(Ae.sub()),he);Ft={elem:Wr,kern:Math.max(he.fontMetrics().bigOpSpacing2,he.fontMetrics().bigOpSpacing4-Wr.height)}}var an;if(nr&&Ft){var wn=he.fontMetrics().bigOpSpacing5+Ft.elem.height+Ft.elem.depth+Ft.kern+W.depth+xt;an=it.makeVList({positionType:"bottom",positionData:wn,children:[{type:"kern",size:he.fontMetrics().bigOpSpacing5},{type:"elem",elem:Ft.elem,marginLeft:-Ge+"em"},{type:"kern",size:Ft.kern},{type:"elem",elem:W},{type:"kern",size:nr.kern},{type:"elem",elem:nr.elem,marginLeft:Ge+"em"},{type:"kern",size:he.fontMetrics().bigOpSpacing5}]},he)}else if(Ft){var Nn=W.height-xt;an=it.makeVList({positionType:"top",positionData:Nn,children:[{type:"kern",size:he.fontMetrics().bigOpSpacing5},{type:"elem",elem:Ft.elem,marginLeft:-Ge+"em"},{type:"kern",size:Ft.kern},{type:"elem",elem:W}]},he)}else if(nr){var Wn=W.depth+xt;an=it.makeVList({positionType:"bottom",positionData:Wn,children:[{type:"elem",elem:W},{type:"kern",size:nr.kern},{type:"elem",elem:nr.elem,marginLeft:Ge+"em"},{type:"kern",size:he.fontMetrics().bigOpSpacing5}]},he)}else return W;return it.makeSpan(["mop","op-limits"],[an],he)},Rr=["\\smallint"],jr=function(W,ee){var ne,he,Ae=!1,Ge,xt=Dr(W,"supsub");xt?(ne=xt.sup,he=xt.sub,Ge=ir(xt.base,"op"),Ae=!0):Ge=ir(W,"op");var Ft=ee.style,nr=!1;Ft.size===z.DISPLAY.size&&Ge.symbol&&!T.contains(Rr,Ge.name)&&(nr=!0);var Tr;if(Ge.symbol){var Wr=nr?"Size2-Regular":"Size1-Regular",an="";if((Ge.name==="\\oiint"||Ge.name==="\\oiiint")&&(an=Ge.name.substr(1),Ge.name=an==="oiint"?"\\iint":"\\iiint"),Tr=it.makeSymbol(Ge.name,Wr,"math",ee,["mop","op-symbol",nr?"large-op":"small-op"]),an.length>0){var wn=Tr.italic,Nn=it.staticSvg(an+"Size"+(nr?"2":"1"),ee);Tr=it.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Tr,shift:0},{type:"elem",elem:Nn,shift:nr?.08:0}]},ee),Ge.name="\\"+an,Tr.classes.unshift("mop"),Tr.italic=wn}}else if(Ge.body){var Wn=$a(Ge.body,ee,!0);Wn.length===1&&Wn[0]instanceof Se?(Tr=Wn[0],Tr.classes[0]="mop"):Tr=it.makeSpan(["mop"],it.tryCombineChars(Wn),ee)}else{for(var pi=[],Sr=1;Sr<Ge.name.length;Sr++)pi.push(it.mathsym(Ge.name[Sr],Ge.mode,ee));Tr=it.makeSpan(["mop"],pi,ee)}var aa=0,sa=0;return(Tr instanceof Se||Ge.name==="\\oiint"||Ge.name==="\\oiiint")&&!Ge.suppressBaseShift&&(aa=(Tr.height-Tr.depth)/2-ee.fontMetrics().axisHeight,sa=Tr.italic),Ae?hr(Tr,ne,he,ee,Ft,sa,aa):(aa&&(Tr.style.position="relative",Tr.style.top=aa+"em"),Tr)},vn=function(W,ee){var ne;if(W.symbol)ne=new _s("mo",[ja(W.name,W.mode)]),T.contains(Rr,W.name)&&ne.setAttribute("largeop","false");else if(W.body)ne=new _s("mo",Vi(W.body,ee));else{ne=new _s("mi",[new ji(W.name.slice(1))]);var he=new _s("mo",[ja("\u2061","text")]);W.parentIsSupSub?ne=new _s("mo",[ne,he]):ne=La([ne,he])}return ne},nn={"\u220F":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22C0":"\\bigwedge","\u22C1":"\\bigvee","\u22C2":"\\bigcap","\u22C3":"\\bigcup","\u2A00":"\\bigodot","\u2A01":"\\bigoplus","\u2A02":"\\bigotimes","\u2A04":"\\biguplus","\u2A06":"\\bigsqcup"};pn({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","\u220F","\u2210","\u2211","\u22C0","\u22C1","\u22C2","\u22C3","\u2A00","\u2A01","\u2A02","\u2A04","\u2A06"],props:{numArgs:0},handler:function(W,ee){var ne=W.parser,he=W.funcName,Ae=he;return Ae.length===1&&(Ae=nn[Ae]),{type:"op",mode:ne.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:Ae}},htmlBuilder:jr,mathmlBuilder:vn}),pn({type:"op",names:["\\mathop"],props:{numArgs:1},handler:function(W,ee){var ne=W.parser,he=ee[0];return{type:"op",mode:ne.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:Ni(he)}},htmlBuilder:jr,mathmlBuilder:vn});var gn={"\u222B":"\\int","\u222C":"\\iint","\u222D":"\\iiint","\u222E":"\\oint","\u222F":"\\oiint","\u2230":"\\oiiint"};pn({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler:function(W){var ee=W.parser,ne=W.funcName;return{type:"op",mode:ee.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:ne}},htmlBuilder:jr,mathmlBuilder:vn}),pn({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler:function(W){var ee=W.parser,ne=W.funcName;return{type:"op",mode:ee.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:ne}},htmlBuilder:jr,mathmlBuilder:vn}),pn({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","\u222B","\u222C","\u222D","\u222E","\u222F","\u2230"],props:{numArgs:0},handler:function(W){var ee=W.parser,ne=W.funcName,he=ne;return he.length===1&&(he=gn[he]),{type:"op",mode:ee.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:he}},htmlBuilder:jr,mathmlBuilder:vn});var Qn=function(W,ee){var ne,he,Ae=!1,Ge,xt=Dr(W,"supsub");xt?(ne=xt.sup,he=xt.sub,Ge=ir(xt.base,"operatorname"),Ae=!0):Ge=ir(W,"operatorname");var Ft;if(Ge.body.length>0){for(var nr=Ge.body.map(function(wn){var Nn=wn.text;return typeof Nn=="string"?{type:"textord",mode:wn.mode,text:Nn}:wn}),Tr=$a(nr,ee.withFont("mathrm"),!0),Wr=0;Wr<Tr.length;Wr++){var an=Tr[Wr];an instanceof Se&&(an.text=an.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}Ft=it.makeSpan(["mop"],Tr,ee)}else Ft=it.makeSpan(["mop"],[],ee);return Ae?hr(Ft,ne,he,ee,ee.style,0,0):Ft},ni=function(W,ee){for(var ne=Vi(W.body,ee.withFont("mathrm")),he=!0,Ae=0;Ae<ne.length;Ae++){var Ge=ne[Ae];if(!(Ge instanceof Rn.SpaceNode))if(Ge instanceof Rn.MathNode)switch(Ge.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{var xt=Ge.children[0];Ge.children.length===1&&xt instanceof Rn.TextNode?xt.text=xt.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):he=!1;break}default:he=!1}else he=!1}if(he){var Ft=ne.map(function(Wr){return Wr.toText()}).join("");ne=[new Rn.TextNode(Ft)]}var nr=new Rn.MathNode("mi",ne);nr.setAttribute("mathvariant","normal");var Tr=new Rn.MathNode("mo",[ja("\u2061","text")]);return W.parentIsSupSub?new Rn.MathNode("mo",[nr,Tr]):Rn.newDocumentFragment([nr,Tr])};pn({type:"operatorname",names:["\\operatorname","\\operatorname*"],props:{numArgs:1},handler:function(W,ee){var ne=W.parser,he=W.funcName,Ae=ee[0];return{type:"operatorname",mode:ne.mode,body:Ni(Ae),alwaysHandleSupSub:he==="\\operatorname*",limits:!1,parentIsSupSub:!1}},htmlBuilder:Qn,mathmlBuilder:ni}),ui({type:"ordgroup",htmlBuilder:function(W,ee){return W.semisimple?it.makeFragment($a(W.body,ee,!1)):it.makeSpan(["mord"],$a(W.body,ee,!0),ee)},mathmlBuilder:function(W,ee){return Ia(W.body,ee,!0)}}),pn({type:"overline",names:["\\overline"],props:{numArgs:1},handler:function(W,ee){var ne=W.parser,he=ee[0];return{type:"overline",mode:ne.mode,body:he}},htmlBuilder:function(W,ee){var ne=$i(W.body,ee.havingCrampedStyle()),he=it.makeLineSpan("overline-line",ee),Ae=ee.fontMetrics().defaultRuleThickness,Ge=it.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:ne},{type:"kern",size:3*Ae},{type:"elem",elem:he},{type:"kern",size:Ae}]},ee);return it.makeSpan(["mord","overline"],[Ge],ee)},mathmlBuilder:function(W,ee){var ne=new Rn.MathNode("mo",[new Rn.TextNode("\u203E")]);ne.setAttribute("stretchy","true");var he=new Rn.MathNode("mover",[Da(W.body,ee),ne]);return he.setAttribute("accent","true"),he}}),pn({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:function(W,ee){var ne=W.parser,he=ee[0];return{type:"phantom",mode:ne.mode,body:Ni(he)}},htmlBuilder:function(W,ee){var ne=$a(W.body,ee.withPhantom(),!1);return it.makeFragment(ne)},mathmlBuilder:function(W,ee){var ne=Vi(W.body,ee);return new Rn.MathNode("mphantom",ne)}}),pn({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:function(W,ee){var ne=W.parser,he=ee[0];return{type:"hphantom",mode:ne.mode,body:he}},htmlBuilder:function(W,ee){var ne=it.makeSpan([],[$i(W.body,ee.withPhantom())]);if(ne.height=0,ne.depth=0,ne.children)for(var he=0;he<ne.children.length;he++)ne.children[he].height=0,ne.children[he].depth=0;return ne=it.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:ne}]},ee),it.makeSpan(["mord"],[ne],ee)},mathmlBuilder:function(W,ee){var ne=Vi(Ni(W.body),ee),he=new Rn.MathNode("mphantom",ne),Ae=new Rn.MathNode("mpadded",[he]);return Ae.setAttribute("height","0px"),Ae.setAttribute("depth","0px"),Ae}}),pn({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:function(W,ee){var ne=W.parser,he=ee[0];return{type:"vphantom",mode:ne.mode,body:he}},htmlBuilder:function(W,ee){var ne=it.makeSpan(["inner"],[$i(W.body,ee.withPhantom())]),he=it.makeSpan(["fix"],[]);return it.makeSpan(["mord","rlap"],[ne,he],ee)},mathmlBuilder:function(W,ee){var ne=Vi(Ni(W.body),ee),he=new Rn.MathNode("mphantom",ne),Ae=new Rn.MathNode("mpadded",[he]);return Ae.setAttribute("width","0px"),Ae}}),pn({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler:function(W,ee){var ne=W.parser,he=ir(ee[0],"size").value,Ae=ee[1];return{type:"raisebox",mode:ne.mode,dy:he,body:Ae}},htmlBuilder:function(W,ee){var ne=$i(W.body,ee),he=mi(W.dy,ee);return it.makeVList({positionType:"shift",positionData:-he,children:[{type:"elem",elem:ne}]},ee)},mathmlBuilder:function(W,ee){var ne=new Rn.MathNode("mpadded",[Da(W.body,ee)]),he=W.dy.number+W.dy.unit;return ne.setAttribute("voffset",he),ne}}),pn({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler:function(W,ee,ne){var he=W.parser,Ae=ne[0],Ge=ir(ee[0],"size"),xt=ir(ee[1],"size");return{type:"rule",mode:he.mode,shift:Ae&&ir(Ae,"size").value,width:Ge.value,height:xt.value}},htmlBuilder:function(W,ee){var ne=it.makeSpan(["mord","rule"],[],ee),he=mi(W.width,ee),Ae=mi(W.height,ee),Ge=W.shift?mi(W.shift,ee):0;return ne.style.borderRightWidth=he+"em",ne.style.borderTopWidth=Ae+"em",ne.style.bottom=Ge+"em",ne.width=he,ne.height=Ae+Ge,ne.depth=-Ge,ne.maxFontSize=Ae*1.125*ee.sizeMultiplier,ne},mathmlBuilder:function(W,ee){var ne=mi(W.width,ee),he=mi(W.height,ee),Ae=W.shift?mi(W.shift,ee):0,Ge=ee.color&&ee.getColor()||"black",xt=new Rn.MathNode("mspace");xt.setAttribute("mathbackground",Ge),xt.setAttribute("width",ne+"em"),xt.setAttribute("height",he+"em");var Ft=new Rn.MathNode("mpadded",[xt]);return Ae>=0?Ft.setAttribute("height","+"+Ae+"em"):(Ft.setAttribute("height",Ae+"em"),Ft.setAttribute("depth","+"+-Ae+"em")),Ft.setAttribute("voffset",Ae+"em"),Ft}});function _i(Ve,W,ee){for(var ne=$a(Ve,W,!1),he=W.sizeMultiplier/ee.sizeMultiplier,Ae=0;Ae<ne.length;Ae++){var Ge=ne[Ae].classes.indexOf("sizing");Ge<0?Array.prototype.push.apply(ne[Ae].classes,W.sizingClasses(ee)):ne[Ae].classes[Ge+1]==="reset-size"+W.size&&(ne[Ae].classes[Ge+1]="reset-size"+ee.size),ne[Ae].height*=he,ne[Ae].depth*=he}return it.makeFragment(ne)}var Ii=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],Hi=function(W,ee){var ne=ee.havingSize(W.size);return _i(W.body,ne,ee)};pn({type:"sizing",names:Ii,props:{numArgs:0,allowedInText:!0},handler:function(W,ee){var ne=W.breakOnTokenText,he=W.funcName,Ae=W.parser,Ge=Ae.parseExpression(!1,ne);return{type:"sizing",mode:Ae.mode,size:Ii.indexOf(he)+1,body:Ge}},htmlBuilder:Hi,mathmlBuilder:function(W,ee){var ne=ee.havingSize(W.size),he=Vi(W.body,ne),Ae=new Rn.MathNode("mstyle",he);return Ae.setAttribute("mathsize",ne.sizeMultiplier+"em"),Ae}}),pn({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:function(W,ee,ne){var he=W.parser,Ae=!1,Ge=!1,xt=ne[0]&&ir(ne[0],"ordgroup");if(xt)for(var Ft="",nr=0;nr<xt.body.length;++nr){var Tr=xt.body[nr];if(Ft=Tr.text,Ft==="t")Ae=!0;else if(Ft==="b")Ge=!0;else{Ae=!1,Ge=!1;break}}else Ae=!0,Ge=!0;var Wr=ee[0];return{type:"smash",mode:he.mode,body:Wr,smashHeight:Ae,smashDepth:Ge}},htmlBuilder:function(W,ee){var ne=it.makeSpan([],[$i(W.body,ee)]);if(!W.smashHeight&&!W.smashDepth)return ne;if(W.smashHeight&&(ne.height=0,ne.children))for(var he=0;he<ne.children.length;he++)ne.children[he].height=0;if(W.smashDepth&&(ne.depth=0,ne.children))for(var Ae=0;Ae<ne.children.length;Ae++)ne.children[Ae].depth=0;var Ge=it.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:ne}]},ee);return it.makeSpan(["mord"],[Ge],ee)},mathmlBuilder:function(W,ee){var ne=new Rn.MathNode("mpadded",[Da(W.body,ee)]);return W.smashHeight&&ne.setAttribute("height","0px"),W.smashDepth&&ne.setAttribute("depth","0px"),ne}}),pn({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler:function(W,ee,ne){var he=W.parser,Ae=ne[0],Ge=ee[0];return{type:"sqrt",mode:he.mode,body:Ge,index:Ae}},htmlBuilder:function(W,ee){var ne=$i(W.body,ee.havingCrampedStyle());ne.height===0&&(ne.height=ee.fontMetrics().xHeight),ne=it.wrapFragment(ne,ee);var he=ee.fontMetrics(),Ae=he.defaultRuleThickness,Ge=Ae;ee.style.id<z.TEXT.id&&(Ge=ee.fontMetrics().xHeight);var xt=Ae+Ge/4,Ft=ne.height+ne.depth+xt+Ae,nr=Sn.sqrtImage(Ft,ee),Tr=nr.span,Wr=nr.ruleWidth,an=nr.advanceWidth,wn=Tr.height-Wr;wn>ne.height+ne.depth+xt&&(xt=(xt+wn-ne.height-ne.depth)/2);var Nn=Tr.height-ne.height-xt-Wr;ne.style.paddingLeft=an+"em";var Wn=it.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:ne,wrapperClasses:["svg-align"]},{type:"kern",size:-(ne.height+Nn)},{type:"elem",elem:Tr},{type:"kern",size:Wr}]},ee);if(W.index){var pi=ee.havingStyle(z.SCRIPTSCRIPT),Sr=$i(W.index,pi,ee),aa=.6*(Wn.height-Wn.depth),sa=it.makeVList({positionType:"shift",positionData:-aa,children:[{type:"elem",elem:Sr}]},ee),is=it.makeSpan(["root"],[sa]);return it.makeSpan(["mord","sqrt"],[is,Wn],ee)}else return it.makeSpan(["mord","sqrt"],[Wn],ee)},mathmlBuilder:function(W,ee){var ne=W.body,he=W.index;return he?new Rn.MathNode("mroot",[Da(ne,ee),Da(he,ee)]):new Rn.MathNode("msqrt",[Da(ne,ee)])}});var Mi={display:z.DISPLAY,text:z.TEXT,script:z.SCRIPT,scriptscript:z.SCRIPTSCRIPT};pn({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0},handler:function(W,ee){var ne=W.breakOnTokenText,he=W.funcName,Ae=W.parser,Ge=Ae.parseExpression(!0,ne),xt=he.slice(1,he.length-5);return{type:"styling",mode:Ae.mode,style:xt,body:Ge}},htmlBuilder:function(W,ee){var ne=Mi[W.style],he=ee.havingStyle(ne).withFont("");return _i(W.body,he,ee)},mathmlBuilder:function(W,ee){var ne=Mi[W.style],he=ee.havingStyle(ne),Ae=Vi(W.body,he),Ge=new Rn.MathNode("mstyle",Ae),xt={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},Ft=xt[W.style];return Ge.setAttribute("scriptlevel",Ft[0]),Ge.setAttribute("displaystyle",Ft[1]),Ge}});var wi=function(W,ee){var ne=W.base;if(ne)if(ne.type==="op"){var he=ne.limits&&(ee.style.size===z.DISPLAY.size||ne.alwaysHandleSupSub);return he?jr:null}else if(ne.type==="operatorname"){var Ae=ne.alwaysHandleSupSub&&(ee.style.size===z.DISPLAY.size||ne.limits);return Ae?Qn:null}else{if(ne.type==="accent")return T.isCharacterBox(ne.base)?Fa:null;if(ne.type==="horizBrace"){var Ge=!W.sub;return Ge===ne.isOver?Ye:null}else return null}else return null};ui({type:"supsub",htmlBuilder:function(W,ee){var ne=wi(W,ee);if(ne)return ne(W,ee);var he=W.base,Ae=W.sup,Ge=W.sub,xt=$i(he,ee),Ft,nr,Tr=ee.fontMetrics(),Wr=0,an=0,wn=he&&T.isCharacterBox(he);if(Ae){var Nn=ee.havingStyle(ee.style.sup());Ft=$i(Ae,Nn,ee),wn||(Wr=xt.height-Nn.fontMetrics().supDrop*Nn.sizeMultiplier/ee.sizeMultiplier)}if(Ge){var Wn=ee.havingStyle(ee.style.sub());nr=$i(Ge,Wn,ee),wn||(an=xt.depth+Wn.fontMetrics().subDrop*Wn.sizeMultiplier/ee.sizeMultiplier)}var pi;ee.style===z.DISPLAY?pi=Tr.sup1:ee.style.cramped?pi=Tr.sup3:pi=Tr.sup2;var Sr=ee.sizeMultiplier,aa=.5/Tr.ptPerEm/Sr+"em",sa=null;if(nr){var is=W.base&&W.base.type==="op"&&W.base.name&&(W.base.name==="\\oiint"||W.base.name==="\\oiiint");(xt instanceof Se||is)&&(sa=-xt.italic+"em")}var Za;if(Ft&&nr){Wr=Math.max(Wr,pi,Ft.depth+.25*Tr.xHeight),an=Math.max(an,Tr.sub2);var ws=Tr.defaultRuleThickness,as=4*ws;if(Wr-Ft.depth-(nr.height-an)<as){an=as-(Wr-Ft.depth)+nr.height;var Aa=.8*Tr.xHeight-(Wr-Ft.depth);Aa>0&&(Wr+=Aa,an-=Aa)}var Fs=[{type:"elem",elem:nr,shift:an,marginRight:aa,marginLeft:sa},{type:"elem",elem:Ft,shift:-Wr,marginRight:aa}];Za=it.makeVList({positionType:"individualShift",children:Fs},ee)}else if(nr){an=Math.max(an,Tr.sub1,nr.height-.8*Tr.xHeight);var Rs=[{type:"elem",elem:nr,marginLeft:sa,marginRight:aa}];Za=it.makeVList({positionType:"shift",positionData:an,children:Rs},ee)}else if(Ft)Wr=Math.max(Wr,pi,Ft.depth+.25*Tr.xHeight),Za=it.makeVList({positionType:"shift",positionData:-Wr,children:[{type:"elem",elem:Ft,marginRight:aa}]},ee);else throw new Error("supsub must have either sup or sub.");var fi=Ga(xt,"right")||"mord";return it.makeSpan([fi],[xt,it.makeSpan(["msupsub"],[Za])],ee)},mathmlBuilder:function(W,ee){var ne=!1,he,Ae,Ge=Dr(W.base,"horizBrace");Ge&&(Ae=!!W.sup,Ae===Ge.isOver&&(ne=!0,he=Ge.isOver)),W.base&&(W.base.type==="op"||W.base.type==="operatorname")&&(W.base.parentIsSupSub=!0);var xt=[Da(W.base,ee)];W.sub&&xt.push(Da(W.sub,ee)),W.sup&&xt.push(Da(W.sup,ee));var Ft;if(ne)Ft=he?"mover":"munder";else if(W.sub)if(W.sup){var Wr=W.base;Wr&&Wr.type==="op"&&Wr.limits&&ee.style===z.DISPLAY||Wr&&Wr.type==="operatorname"&&Wr.alwaysHandleSupSub&&(ee.style===z.DISPLAY||Wr.limits)?Ft="munderover":Ft="msubsup"}else{var Tr=W.base;Tr&&Tr.type==="op"&&Tr.limits&&(ee.style===z.DISPLAY||Tr.alwaysHandleSupSub)||Tr&&Tr.type==="operatorname"&&Tr.alwaysHandleSupSub&&(Tr.limits||ee.style===z.DISPLAY)?Ft="munder":Ft="msub"}else{var nr=W.base;nr&&nr.type==="op"&&nr.limits&&(ee.style===z.DISPLAY||nr.alwaysHandleSupSub)||nr&&nr.type==="operatorname"&&nr.alwaysHandleSupSub&&(nr.limits||ee.style===z.DISPLAY)?Ft="mover":Ft="msup"}var an=new Rn.MathNode(Ft,xt);return an}}),ui({type:"atom",htmlBuilder:function(W,ee){return it.mathsym(W.text,W.mode,ee,["m"+W.family])},mathmlBuilder:function(W,ee){var ne=new Rn.MathNode("mo",[ja(W.text,W.mode)]);if(W.family==="bin"){var he=ls(W,ee);he==="bold-italic"&&ne.setAttribute("mathvariant",he)}else W.family==="punct"?ne.setAttribute("separator","true"):(W.family==="open"||W.family==="close")&&ne.setAttribute("stretchy","false");return ne}});var ma={mi:"italic",mn:"normal",mtext:"normal"};ui({type:"mathord",htmlBuilder:function(W,ee){return it.makeOrd(W,ee,"mathord")},mathmlBuilder:function(W,ee){var ne=new Rn.MathNode("mi",[ja(W.text,W.mode,ee)]),he=ls(W,ee)||"italic";return he!==ma[ne.type]&&ne.setAttribute("mathvariant",he),ne}}),ui({type:"textord",htmlBuilder:function(W,ee){return it.makeOrd(W,ee,"textord")},mathmlBuilder:function(W,ee){var ne=ja(W.text,W.mode,ee),he=ls(W,ee)||"normal",Ae;return W.mode==="text"?Ae=new Rn.MathNode("mtext",[ne]):/[0-9]/.test(W.text)?Ae=new Rn.MathNode("mn",[ne]):W.text==="\\prime"?Ae=new Rn.MathNode("mo",[ne]):Ae=new Rn.MathNode("mi",[ne]),he!==ma[Ae.type]&&Ae.setAttribute("mathvariant",he),Ae}});var Ci={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},bi={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};ui({type:"spacing",htmlBuilder:function(W,ee){if(bi.hasOwnProperty(W.text)){var ne=bi[W.text].className||"";if(W.mode==="text"){var he=it.makeOrd(W,ee,"textord");return he.classes.push(ne),he}else return it.makeSpan(["mspace",ne],[it.mathsym(W.text,W.mode,ee)],ee)}else{if(Ci.hasOwnProperty(W.text))return it.makeSpan(["mspace",Ci[W.text]],[],ee);throw new s('Unknown type of space "'+W.text+'"')}},mathmlBuilder:function(W,ee){var ne;if(bi.hasOwnProperty(W.text))ne=new Rn.MathNode("mtext",[new Rn.TextNode("\xA0")]);else{if(Ci.hasOwnProperty(W.text))return new Rn.MathNode("mspace");throw new s('Unknown type of space "'+W.text+'"')}return ne}});var fa=function(){var W=new Rn.MathNode("mtd",[]);return W.setAttribute("width","50%"),W};ui({type:"tag",mathmlBuilder:function(W,ee){var ne=new Rn.MathNode("mtable",[new Rn.MathNode("mtr",[fa(),new Rn.MathNode("mtd",[Ia(W.body,ee)]),fa(),new Rn.MathNode("mtd",[Ia(W.tag,ee)])])]);return ne.setAttribute("width","100%"),ne}});var Ks={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},Es={"\\textbf":"textbf","\\textmd":"textmd"},Wi={"\\textit":"textit","\\textup":"textup"},ka=function(W,ee){var ne=W.font;return ne?Ks[ne]?ee.withTextFontFamily(Ks[ne]):Es[ne]?ee.withTextFontWeight(Es[ne]):ee.withTextFontShape(Wi[ne]):ee};pn({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],greediness:2,allowedInText:!0},handler:function(W,ee){var ne=W.parser,he=W.funcName,Ae=ee[0];return{type:"text",mode:ne.mode,body:Ni(Ae),font:he}},htmlBuilder:function(W,ee){var ne=ka(W,ee),he=$a(W.body,ne,!0);return it.makeSpan(["mord","text"],it.tryCombineChars(he),ne)},mathmlBuilder:function(W,ee){var ne=ka(W,ee);return Ia(W.body,ne)}}),pn({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler:function(W,ee){var ne=W.parser;return{type:"underline",mode:ne.mode,body:ee[0]}},htmlBuilder:function(W,ee){var ne=$i(W.body,ee),he=it.makeLineSpan("underline-line",ee),Ae=ee.fontMetrics().defaultRuleThickness,Ge=it.makeVList({positionType:"top",positionData:ne.height,children:[{type:"kern",size:Ae},{type:"elem",elem:he},{type:"kern",size:3*Ae},{type:"elem",elem:ne}]},ee);return it.makeSpan(["mord","underline"],[Ge],ee)},mathmlBuilder:function(W,ee){var ne=new Rn.MathNode("mo",[new Rn.TextNode("\u203E")]);ne.setAttribute("stretchy","true");var he=new Rn.MathNode("munder",[Da(W.body,ee),ne]);return he.setAttribute("accentunder","true"),he}}),pn({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler:function(W,ee,ne){throw new s("\\verb ended by end of line instead of matching delimiter")},htmlBuilder:function(W,ee){for(var ne=ea(W),he=[],Ae=ee.havingStyle(ee.style.text()),Ge=0;Ge<ne.length;Ge++){var xt=ne[Ge];xt==="~"&&(xt="\\textasciitilde"),he.push(it.makeSymbol(xt,"Typewriter-Regular",W.mode,Ae,["mord","texttt"]))}return it.makeSpan(["mord","text"].concat(Ae.sizingClasses(ee)),it.tryCombineChars(he),Ae)},mathmlBuilder:function(W,ee){var ne=new Rn.TextNode(ea(W)),he=new Rn.MathNode("mtext",[ne]);return he.setAttribute("mathvariant","monospace"),he}});var ea=function(W){return W.body.replace(/ /g,W.star?"\u2423":"\xA0")},ki=pa,va=ki,Ba=`[ \r
]`,Ka="\\\\[a-zA-Z@]+",eo="\\\\[^\uD800-\uDFFF]",qa=""+Ka+Ba+"*",so=new RegExp("^("+Ka+")"+Ba+"*$"),Ya="[\u0300-\u036F]",Ys=new RegExp(Ya+"+$"),Ms="("+Ba+"+)|([!-\\[\\]-\u2027\u202A-\uD7FF\uF900-\uFFFF]"+(Ya+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(Ya+"*")+"|\\\\verb\\*([^]).*?\\3|\\\\verb([^*a-zA-Z]).*?\\4|\\\\operatorname\\*"+("|"+qa)+("|"+eo+")"),da=function(){function Ve(ee,ne){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=ee,this.settings=ne,this.tokenRegex=new RegExp(Ms,"g"),this.catcodes={"%":14}}var W=Ve.prototype;return W.setCatcode=function(ne,he){this.catcodes[ne]=he},W.lex=function(){var ne=this.input,he=this.tokenRegex.lastIndex;if(he===ne.length)return new c("EOF",new l(this,he,he));var Ae=this.tokenRegex.exec(ne);if(Ae===null||Ae.index!==he)throw new s("Unexpected character: '"+ne[he]+"'",new c(ne[he],new l(this,he,he+1)));var Ge=Ae[2]||" ";if(this.catcodes[Ge]===14){var xt=ne.indexOf(`
`,this.tokenRegex.lastIndex);return xt===-1?(this.tokenRegex.lastIndex=ne.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=xt+1,this.lex()}var Ft=Ge.match(so);return Ft&&(Ge=Ft[1]),new c(Ge,new l(this,he,this.tokenRegex.lastIndex))},Ve}(),Ua=function(){function Ve(ee,ne){ee===void 0&&(ee={}),ne===void 0&&(ne={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=ne,this.builtins=ee,this.undefStack=[]}var W=Ve.prototype;return W.beginGroup=function(){this.undefStack.push({})},W.endGroup=function(){if(this.undefStack.length===0)throw new s("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var ne=this.undefStack.pop();for(var he in ne)ne.hasOwnProperty(he)&&(ne[he]===void 0?delete this.current[he]:this.current[he]=ne[he])},W.has=function(ne){return this.current.hasOwnProperty(ne)||this.builtins.hasOwnProperty(ne)},W.get=function(ne){return this.current.hasOwnProperty(ne)?this.current[ne]:this.builtins[ne]},W.set=function(ne,he,Ae){if(Ae===void 0&&(Ae=!1),Ae){for(var Ge=0;Ge<this.undefStack.length;Ge++)delete this.undefStack[Ge][ne];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][ne]=he)}else{var xt=this.undefStack[this.undefStack.length-1];xt&&!xt.hasOwnProperty(ne)&&(xt[ne]=this.current[ne])}this.current[ne]=he},Ve}(),As={},ga=As;function ye(Ve,W){As[Ve]=W}ye("\\@firstoftwo",function(Ve){var W=Ve.consumeArgs(2);return{tokens:W[0],numArgs:0}}),ye("\\@secondoftwo",function(Ve){var W=Ve.consumeArgs(2);return{tokens:W[1],numArgs:0}}),ye("\\@ifnextchar",function(Ve){var W=Ve.consumeArgs(3),ee=Ve.future();return W[0].length===1&&W[0][0].text===ee.text?{tokens:W[1],numArgs:0}:{tokens:W[2],numArgs:0}}),ye("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),ye("\\TextOrMath",function(Ve){var W=Ve.consumeArgs(2);return Ve.mode==="text"?{tokens:W[0],numArgs:0}:{tokens:W[1],numArgs:0}});var we={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};ye("\\char",function(Ve){var W=Ve.popToken(),ee,ne="";if(W.text==="'")ee=8,W=Ve.popToken();else if(W.text==='"')ee=16,W=Ve.popToken();else if(W.text==="`")if(W=Ve.popToken(),W.text[0]==="\\")ne=W.text.charCodeAt(1);else{if(W.text==="EOF")throw new s("\\char` missing argument");ne=W.text.charCodeAt(0)}else ee=10;if(ee){if(ne=we[W.text],ne==null||ne>=ee)throw new s("Invalid base-"+ee+" digit "+W.text);for(var he;(he=we[Ve.future().text])!=null&&he<ee;)ne*=ee,ne+=he,Ve.popToken()}return"\\@char{"+ne+"}"});var yr=function(W,ee){var ne=W.consumeArgs(1)[0];if(ne.length!==1)throw new s("\\gdef's first argument must be a macro name");var he=ne[0].text,Ae=0;for(ne=W.consumeArgs(1)[0];ne.length===1&&ne[0].text==="#";){if(ne=W.consumeArgs(1)[0],ne.length!==1)throw new s('Invalid argument number length "'+ne.length+'"');if(!/^[1-9]$/.test(ne[0].text))throw new s('Invalid argument number "'+ne[0].text+'"');if(Ae++,parseInt(ne[0].text)!==Ae)throw new s('Argument number "'+ne[0].text+'" out of order');ne=W.consumeArgs(1)[0]}return W.macros.set(he,{tokens:ne,numArgs:Ae},ee),""};ye("\\gdef",function(Ve){return yr(Ve,!0)}),ye("\\def",function(Ve){return yr(Ve,!1)}),ye("\\global",function(Ve){var W=Ve.consumeArgs(1)[0];if(W.length!==1)throw new s("Invalid command after \\global");var ee=W[0].text;if(ee==="\\def")return yr(Ve,!0);throw new s("Invalid command '"+ee+"' after \\global")});var Jr=function(W,ee,ne){var he=W.consumeArgs(1)[0];if(he.length!==1)throw new s("\\newcommand's first argument must be a macro name");var Ae=he[0].text,Ge=W.isDefined(Ae);if(Ge&&!ee)throw new s("\\newcommand{"+Ae+"} attempting to redefine "+(Ae+"; use \\renewcommand"));if(!Ge&&!ne)throw new s("\\renewcommand{"+Ae+"} when command "+Ae+" does not yet exist; use \\newcommand");var xt=0;if(he=W.consumeArgs(1)[0],he.length===1&&he[0].text==="["){for(var Ft="",nr=W.expandNextToken();nr.text!=="]"&&nr.text!=="EOF";)Ft+=nr.text,nr=W.expandNextToken();if(!Ft.match(/^\s*[0-9]+\s*$/))throw new s("Invalid number of arguments: "+Ft);xt=parseInt(Ft),he=W.consumeArgs(1)[0]}return W.macros.set(Ae,{tokens:he,numArgs:xt}),""};ye("\\newcommand",function(Ve){return Jr(Ve,!1,!0)}),ye("\\renewcommand",function(Ve){return Jr(Ve,!0,!1)}),ye("\\providecommand",function(Ve){return Jr(Ve,!0,!0)}),ye("\\bgroup","{"),ye("\\egroup","}"),ye("\\lq","`"),ye("\\rq","'"),ye("\\aa","\\r a"),ye("\\AA","\\r A"),ye("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`\xA9}"),ye("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),ye("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xAE}"),ye("\u212C","\\mathscr{B}"),ye("\u2130","\\mathscr{E}"),ye("\u2131","\\mathscr{F}"),ye("\u210B","\\mathscr{H}"),ye("\u2110","\\mathscr{I}"),ye("\u2112","\\mathscr{L}"),ye("\u2133","\\mathscr{M}"),ye("\u211B","\\mathscr{R}"),ye("\u212D","\\mathfrak{C}"),ye("\u210C","\\mathfrak{H}"),ye("\u2128","\\mathfrak{Z}"),ye("\\Bbbk","\\Bbb{k}"),ye("\xB7","\\cdotp"),ye("\\llap","\\mathllap{\\textrm{#1}}"),ye("\\rlap","\\mathrlap{\\textrm{#1}}"),ye("\\clap","\\mathclap{\\textrm{#1}}"),ye("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),ye("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`\u2260}}"),ye("\\ne","\\neq"),ye("\u2260","\\neq"),ye("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`\u2209}}"),ye("\u2209","\\notin"),ye("\u2258","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`\u2258}}"),ye("\u2259","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`\u2258}}"),ye("\u225A","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`\u225A}}"),ye("\u225B","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`\u225B}}"),ye("\u225D","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`\u225D}}"),ye("\u225E","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`\u225E}}"),ye("\u225F","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`\u225F}}"),ye("\u27C2","\\perp"),ye("\u203C","\\mathclose{!\\mkern-0.8mu!}"),ye("\u220C","\\notni"),ye("\u231C","\\ulcorner"),ye("\u231D","\\urcorner"),ye("\u231E","\\llcorner"),ye("\u231F","\\lrcorner"),ye("\xA9","\\copyright"),ye("\xAE","\\textregistered"),ye("\uFE0F","\\textregistered"),ye("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}"),ye("\u22EE","\\vdots"),ye("\\varGamma","\\mathit{\\Gamma}"),ye("\\varDelta","\\mathit{\\Delta}"),ye("\\varTheta","\\mathit{\\Theta}"),ye("\\varLambda","\\mathit{\\Lambda}"),ye("\\varXi","\\mathit{\\Xi}"),ye("\\varPi","\\mathit{\\Pi}"),ye("\\varSigma","\\mathit{\\Sigma}"),ye("\\varUpsilon","\\mathit{\\Upsilon}"),ye("\\varPhi","\\mathit{\\Phi}"),ye("\\varPsi","\\mathit{\\Psi}"),ye("\\varOmega","\\mathit{\\Omega}"),ye("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),ye("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu"),ye("\\boxed","\\fbox{$\\displaystyle{#1}$}"),ye("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),ye("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),ye("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");var br={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};ye("\\dots",function(Ve){var W="\\dotso",ee=Ve.expandAfterFuture().text;return ee in br?W=br[ee]:(ee.substr(0,4)==="\\not"||ee in We.math&&T.contains(["bin","rel"],We.math[ee].group))&&(W="\\dotsb"),W});var Qr={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};ye("\\dotso",function(Ve){var W=Ve.future().text;return W in Qr?"\\ldots\\,":"\\ldots"}),ye("\\dotsc",function(Ve){var W=Ve.future().text;return W in Qr&&W!==","?"\\ldots\\,":"\\ldots"}),ye("\\cdots",function(Ve){var W=Ve.future().text;return W in Qr?"\\@cdots\\,":"\\@cdots"}),ye("\\dotsb","\\cdots"),ye("\\dotsm","\\cdots"),ye("\\dotsi","\\!\\cdots"),ye("\\dotsx","\\ldots\\,"),ye("\\DOTSI","\\relax"),ye("\\DOTSB","\\relax"),ye("\\DOTSX","\\relax"),ye("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),ye("\\,","\\tmspace+{3mu}{.1667em}"),ye("\\thinspace","\\,"),ye("\\>","\\mskip{4mu}"),ye("\\:","\\tmspace+{4mu}{.2222em}"),ye("\\medspace","\\:"),ye("\\;","\\tmspace+{5mu}{.2777em}"),ye("\\thickspace","\\;"),ye("\\!","\\tmspace-{3mu}{.1667em}"),ye("\\negthinspace","\\!"),ye("\\negmedspace","\\tmspace-{4mu}{.2222em}"),ye("\\negthickspace","\\tmspace-{5mu}{.277em}"),ye("\\enspace","\\kern.5em "),ye("\\enskip","\\hskip.5em\\relax"),ye("\\quad","\\hskip1em\\relax"),ye("\\qquad","\\hskip2em\\relax"),ye("\\tag","\\@ifstar\\tag@literal\\tag@paren"),ye("\\tag@paren","\\tag@literal{({#1})}"),ye("\\tag@literal",function(Ve){if(Ve.macros.get("\\df@tag"))throw new s("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),ye("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),ye("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),ye("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),ye("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),ye("\\pmb","\\html@mathml{\\@binrel{#1}{\\mathrlap{#1}\\kern0.5px#1}}{\\mathbf{#1}}"),ye("\\\\","\\newline"),ye("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var Cn=Vt["Main-Regular"][84][1]-.7*Vt["Main-Regular"][65][1]+"em";ye("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+Cn+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}"),ye("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+Cn+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}"),ye("\\hspace","\\@ifstar\\@hspacer\\@hspace"),ye("\\@hspace","\\hskip #1\\relax"),ye("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),ye("\\ordinarycolon",":"),ye("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),ye("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),ye("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),ye("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),ye("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),ye("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),ye("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),ye("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),ye("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),ye("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),ye("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),ye("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),ye("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),ye("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),ye("\u2237","\\dblcolon"),ye("\u2239","\\eqcolon"),ye("\u2254","\\coloneqq"),ye("\u2255","\\eqqcolon"),ye("\u2A74","\\Coloneqq"),ye("\\ratio","\\vcentcolon"),ye("\\coloncolon","\\dblcolon"),ye("\\colonequals","\\coloneqq"),ye("\\coloncolonequals","\\Coloneqq"),ye("\\equalscolon","\\eqqcolon"),ye("\\equalscoloncolon","\\Eqqcolon"),ye("\\colonminus","\\coloneq"),ye("\\coloncolonminus","\\Coloneq"),ye("\\minuscolon","\\eqcolon"),ye("\\minuscoloncolon","\\Eqcolon"),ye("\\coloncolonapprox","\\Colonapprox"),ye("\\coloncolonsim","\\Colonsim"),ye("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),ye("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),ye("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),ye("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),ye("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220C}}"),ye("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),ye("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),ye("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}"),ye("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}"),ye("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}"),ye("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}"),ye("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}"),ye("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}"),ye("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}"),ye("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}"),ye("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}"),ye("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}"),ye("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228A}"),ye("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2ACB}"),ye("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228B}"),ye("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2ACC}"),ye("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27E6}}"),ye("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27E7}}"),ye("\u27E6","\\llbracket"),ye("\u27E7","\\rrbracket"),ye("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}"),ye("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}"),ye("\u2983","\\lBrace"),ye("\u2984","\\rBrace"),ye("\\darr","\\downarrow"),ye("\\dArr","\\Downarrow"),ye("\\Darr","\\Downarrow"),ye("\\lang","\\langle"),ye("\\rang","\\rangle"),ye("\\uarr","\\uparrow"),ye("\\uArr","\\Uparrow"),ye("\\Uarr","\\Uparrow"),ye("\\N","\\mathbb{N}"),ye("\\R","\\mathbb{R}"),ye("\\Z","\\mathbb{Z}"),ye("\\alef","\\aleph"),ye("\\alefsym","\\aleph"),ye("\\Alpha","\\mathrm{A}"),ye("\\Beta","\\mathrm{B}"),ye("\\bull","\\bullet"),ye("\\Chi","\\mathrm{X}"),ye("\\clubs","\\clubsuit"),ye("\\cnums","\\mathbb{C}"),ye("\\Complex","\\mathbb{C}"),ye("\\Dagger","\\ddagger"),ye("\\diamonds","\\diamondsuit"),ye("\\empty","\\emptyset"),ye("\\Epsilon","\\mathrm{E}"),ye("\\Eta","\\mathrm{H}"),ye("\\exist","\\exists"),ye("\\harr","\\leftrightarrow"),ye("\\hArr","\\Leftrightarrow"),ye("\\Harr","\\Leftrightarrow"),ye("\\hearts","\\heartsuit"),ye("\\image","\\Im"),ye("\\infin","\\infty"),ye("\\Iota","\\mathrm{I}"),ye("\\isin","\\in"),ye("\\Kappa","\\mathrm{K}"),ye("\\larr","\\leftarrow"),ye("\\lArr","\\Leftarrow"),ye("\\Larr","\\Leftarrow"),ye("\\lrarr","\\leftrightarrow"),ye("\\lrArr","\\Leftrightarrow"),ye("\\Lrarr","\\Leftrightarrow"),ye("\\Mu","\\mathrm{M}"),ye("\\natnums","\\mathbb{N}"),ye("\\Nu","\\mathrm{N}"),ye("\\Omicron","\\mathrm{O}"),ye("\\plusmn","\\pm"),ye("\\rarr","\\rightarrow"),ye("\\rArr","\\Rightarrow"),ye("\\Rarr","\\Rightarrow"),ye("\\real","\\Re"),ye("\\reals","\\mathbb{R}"),ye("\\Reals","\\mathbb{R}"),ye("\\Rho","\\mathrm{P}"),ye("\\sdot","\\cdot"),ye("\\sect","\\S"),ye("\\spades","\\spadesuit"),ye("\\sub","\\subset"),ye("\\sube","\\subseteq"),ye("\\supe","\\supseteq"),ye("\\Tau","\\mathrm{T}"),ye("\\thetasym","\\vartheta"),ye("\\weierp","\\wp"),ye("\\Zeta","\\mathrm{Z}"),ye("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),ye("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),ye("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),ye("\\blue","\\textcolor{##6495ed}{#1}"),ye("\\orange","\\textcolor{##ffa500}{#1}"),ye("\\pink","\\textcolor{##ff00af}{#1}"),ye("\\red","\\textcolor{##df0030}{#1}"),ye("\\green","\\textcolor{##28ae7b}{#1}"),ye("\\gray","\\textcolor{gray}{#1}"),ye("\\purple","\\textcolor{##9d38bd}{#1}"),ye("\\blueA","\\textcolor{##ccfaff}{#1}"),ye("\\blueB","\\textcolor{##80f6ff}{#1}"),ye("\\blueC","\\textcolor{##63d9ea}{#1}"),ye("\\blueD","\\textcolor{##11accd}{#1}"),ye("\\blueE","\\textcolor{##0c7f99}{#1}"),ye("\\tealA","\\textcolor{##94fff5}{#1}"),ye("\\tealB","\\textcolor{##26edd5}{#1}"),ye("\\tealC","\\textcolor{##01d1c1}{#1}"),ye("\\tealD","\\textcolor{##01a995}{#1}"),ye("\\tealE","\\textcolor{##208170}{#1}"),ye("\\greenA","\\textcolor{##b6ffb0}{#1}"),ye("\\greenB","\\textcolor{##8af281}{#1}"),ye("\\greenC","\\textcolor{##74cf70}{#1}"),ye("\\greenD","\\textcolor{##1fab54}{#1}"),ye("\\greenE","\\textcolor{##0d923f}{#1}"),ye("\\goldA","\\textcolor{##ffd0a9}{#1}"),ye("\\goldB","\\textcolor{##ffbb71}{#1}"),ye("\\goldC","\\textcolor{##ff9c39}{#1}"),ye("\\goldD","\\textcolor{##e07d10}{#1}"),ye("\\goldE","\\textcolor{##a75a05}{#1}"),ye("\\redA","\\textcolor{##fca9a9}{#1}"),ye("\\redB","\\textcolor{##ff8482}{#1}"),ye("\\redC","\\textcolor{##f9685d}{#1}"),ye("\\redD","\\textcolor{##e84d39}{#1}"),ye("\\redE","\\textcolor{##bc2612}{#1}"),ye("\\maroonA","\\textcolor{##ffbde0}{#1}"),ye("\\maroonB","\\textcolor{##ff92c6}{#1}"),ye("\\maroonC","\\textcolor{##ed5fa6}{#1}"),ye("\\maroonD","\\textcolor{##ca337c}{#1}"),ye("\\maroonE","\\textcolor{##9e034e}{#1}"),ye("\\purpleA","\\textcolor{##ddd7ff}{#1}"),ye("\\purpleB","\\textcolor{##c6b9fc}{#1}"),ye("\\purpleC","\\textcolor{##aa87ff}{#1}"),ye("\\purpleD","\\textcolor{##7854ab}{#1}"),ye("\\purpleE","\\textcolor{##543b78}{#1}"),ye("\\mintA","\\textcolor{##f5f9e8}{#1}"),ye("\\mintB","\\textcolor{##edf2df}{#1}"),ye("\\mintC","\\textcolor{##e0e5cc}{#1}"),ye("\\grayA","\\textcolor{##f6f7f7}{#1}"),ye("\\grayB","\\textcolor{##f0f1f2}{#1}"),ye("\\grayC","\\textcolor{##e3e5e6}{#1}"),ye("\\grayD","\\textcolor{##d6d8da}{#1}"),ye("\\grayE","\\textcolor{##babec2}{#1}"),ye("\\grayF","\\textcolor{##888d93}{#1}"),ye("\\grayG","\\textcolor{##626569}{#1}"),ye("\\grayH","\\textcolor{##3b3e40}{#1}"),ye("\\grayI","\\textcolor{##21242c}{#1}"),ye("\\kaBlue","\\textcolor{##314453}{#1}"),ye("\\kaGreen","\\textcolor{##71B307}{#1}");var ri={"\\relax":!0,"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},Fi=function(){function Ve(ee,ne,he){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=ne,this.expansionCount=0,this.feed(ee),this.macros=new Ua(ga,ne.macros),this.mode=he,this.stack=[]}var W=Ve.prototype;return W.feed=function(ne){this.lexer=new da(ne,this.settings)},W.switchMode=function(ne){this.mode=ne},W.beginGroup=function(){this.macros.beginGroup()},W.endGroup=function(){this.macros.endGroup()},W.future=function(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]},W.popToken=function(){return this.future(),this.stack.pop()},W.pushToken=function(ne){this.stack.push(ne)},W.pushTokens=function(ne){var he;(he=this.stack).push.apply(he,ne)},W.consumeSpaces=function(){for(;;){var ne=this.future();if(ne.text===" ")this.stack.pop();else break}},W.consumeArgs=function(ne){for(var he=[],Ae=0;Ae<ne;++Ae){this.consumeSpaces();var Ge=this.popToken();if(Ge.text==="{"){for(var xt=[],Ft=1;Ft!==0;){var nr=this.popToken();if(xt.push(nr),nr.text==="{")++Ft;else if(nr.text==="}")--Ft;else if(nr.text==="EOF")throw new s("End of input in macro argument",Ge)}xt.pop(),xt.reverse(),he[Ae]=xt}else{if(Ge.text==="EOF")throw new s("End of input expecting macro argument");he[Ae]=[Ge]}}return he},W.expandOnce=function(){var ne=this.popToken(),he=ne.text,Ae=this._getExpansion(he);if(Ae==null)return this.pushToken(ne),ne;if(this.expansionCount++,this.expansionCount>this.settings.maxExpand)throw new s("Too many expansions: infinite loop or need to increase maxExpand setting");var Ge=Ae.tokens;if(Ae.numArgs){var xt=this.consumeArgs(Ae.numArgs);Ge=Ge.slice();for(var Ft=Ge.length-1;Ft>=0;--Ft){var nr=Ge[Ft];if(nr.text==="#"){if(Ft===0)throw new s("Incomplete placeholder at end of macro body",nr);if(nr=Ge[--Ft],nr.text==="#")Ge.splice(Ft+1,1);else if(/^[1-9]$/.test(nr.text)){var Tr;(Tr=Ge).splice.apply(Tr,[Ft,2].concat(xt[+nr.text-1]))}else throw new s("Not a valid argument number",nr)}}}return this.pushTokens(Ge),Ge},W.expandAfterFuture=function(){return this.expandOnce(),this.future()},W.expandNextToken=function(){for(;;){var ne=this.expandOnce();if(ne instanceof c)if(ne.text==="\\relax")this.stack.pop();else return this.stack.pop()}throw new Error},W.expandMacro=function(ne){if(this.macros.get(ne)){var he=[],Ae=this.stack.length;for(this.pushToken(new c(ne));this.stack.length>Ae;){var Ge=this.expandOnce();Ge instanceof c&&he.push(this.stack.pop())}return he}},W.expandMacroAsText=function(ne){var he=this.expandMacro(ne);return he&&he.map(function(Ae){return Ae.text}).join("")},W._getExpansion=function(ne){var he=this.macros.get(ne);if(he==null)return he;var Ae=typeof he=="function"?he(this):he;if(typeof Ae=="string"){var Ge=0;if(Ae.indexOf("#")!==-1)for(var xt=Ae.replace(/##/g,"");xt.indexOf("#"+(Ge+1))!==-1;)++Ge;for(var Ft=new da(Ae,this.settings),nr=[],Tr=Ft.lex();Tr.text!=="EOF";)nr.push(Tr),Tr=Ft.lex();nr.reverse();var Wr={tokens:nr,numArgs:Ge};return Wr}return Ae},W.isDefined=function(ne){return this.macros.has(ne)||va.hasOwnProperty(ne)||We.math.hasOwnProperty(ne)||We.text.hasOwnProperty(ne)||ri.hasOwnProperty(ne)},Ve}(),Mn={"\u0301":{text:"\\'",math:"\\acute"},"\u0300":{text:"\\`",math:"\\grave"},"\u0308":{text:'\\"',math:"\\ddot"},"\u0303":{text:"\\~",math:"\\tilde"},"\u0304":{text:"\\=",math:"\\bar"},"\u0306":{text:"\\u",math:"\\breve"},"\u030C":{text:"\\v",math:"\\check"},"\u0302":{text:"\\^",math:"\\hat"},"\u0307":{text:"\\.",math:"\\dot"},"\u030A":{text:"\\r",math:"\\mathring"},"\u030B":{text:"\\H"}},Dn={\u00E1:"a\u0301",\u00E0:"a\u0300",\u00E4:"a\u0308",\u01DF:"a\u0308\u0304",\u00E3:"a\u0303",\u0101:"a\u0304",\u0103:"a\u0306",\u1EAF:"a\u0306\u0301",\u1EB1:"a\u0306\u0300",\u1EB5:"a\u0306\u0303",\u01CE:"a\u030C",\u00E2:"a\u0302",\u1EA5:"a\u0302\u0301",\u1EA7:"a\u0302\u0300",\u1EAB:"a\u0302\u0303",\u0227:"a\u0307",\u01E1:"a\u0307\u0304",\u00E5:"a\u030A",\u01FB:"a\u030A\u0301",\u1E03:"b\u0307",\u0107:"c\u0301",\u010D:"c\u030C",\u0109:"c\u0302",\u010B:"c\u0307",\u010F:"d\u030C",\u1E0B:"d\u0307",\u00E9:"e\u0301",\u00E8:"e\u0300",\u00EB:"e\u0308",\u1EBD:"e\u0303",\u0113:"e\u0304",\u1E17:"e\u0304\u0301",\u1E15:"e\u0304\u0300",\u0115:"e\u0306",\u011B:"e\u030C",\u00EA:"e\u0302",\u1EBF:"e\u0302\u0301",\u1EC1:"e\u0302\u0300",\u1EC5:"e\u0302\u0303",\u0117:"e\u0307",\u1E1F:"f\u0307",\u01F5:"g\u0301",\u1E21:"g\u0304",\u011F:"g\u0306",\u01E7:"g\u030C",\u011D:"g\u0302",\u0121:"g\u0307",\u1E27:"h\u0308",\u021F:"h\u030C",\u0125:"h\u0302",\u1E23:"h\u0307",\u00ED:"i\u0301",\u00EC:"i\u0300",\u00EF:"i\u0308",\u1E2F:"i\u0308\u0301",\u0129:"i\u0303",\u012B:"i\u0304",\u012D:"i\u0306",\u01D0:"i\u030C",\u00EE:"i\u0302",\u01F0:"j\u030C",\u0135:"j\u0302",\u1E31:"k\u0301",\u01E9:"k\u030C",\u013A:"l\u0301",\u013E:"l\u030C",\u1E3F:"m\u0301",\u1E41:"m\u0307",\u0144:"n\u0301",\u01F9:"n\u0300",\u00F1:"n\u0303",\u0148:"n\u030C",\u1E45:"n\u0307",\u00F3:"o\u0301",\u00F2:"o\u0300",\u00F6:"o\u0308",\u022B:"o\u0308\u0304",\u00F5:"o\u0303",\u1E4D:"o\u0303\u0301",\u1E4F:"o\u0303\u0308",\u022D:"o\u0303\u0304",\u014D:"o\u0304",\u1E53:"o\u0304\u0301",\u1E51:"o\u0304\u0300",\u014F:"o\u0306",\u01D2:"o\u030C",\u00F4:"o\u0302",\u1ED1:"o\u0302\u0301",\u1ED3:"o\u0302\u0300",\u1ED7:"o\u0302\u0303",\u022F:"o\u0307",\u0231:"o\u0307\u0304",\u0151:"o\u030B",\u1E55:"p\u0301",\u1E57:"p\u0307",\u0155:"r\u0301",\u0159:"r\u030C",\u1E59:"r\u0307",\u015B:"s\u0301",\u1E65:"s\u0301\u0307",\u0161:"s\u030C",\u1E67:"s\u030C\u0307",\u015D:"s\u0302",\u1E61:"s\u0307",\u1E97:"t\u0308",\u0165:"t\u030C",\u1E6B:"t\u0307",\u00FA:"u\u0301",\u00F9:"u\u0300",\u00FC:"u\u0308",\u01D8:"u\u0308\u0301",\u01DC:"u\u0308\u0300",\u01D6:"u\u0308\u0304",\u01DA:"u\u0308\u030C",\u0169:"u\u0303",\u1E79:"u\u0303\u0301",\u016B:"u\u0304",\u1E7B:"u\u0304\u0308",\u016D:"u\u0306",\u01D4:"u\u030C",\u00FB:"u\u0302",\u016F:"u\u030A",\u0171:"u\u030B",\u1E7D:"v\u0303",\u1E83:"w\u0301",\u1E81:"w\u0300",\u1E85:"w\u0308",\u0175:"w\u0302",\u1E87:"w\u0307",\u1E98:"w\u030A",\u1E8D:"x\u0308",\u1E8B:"x\u0307",\u00FD:"y\u0301",\u1EF3:"y\u0300",\u00FF:"y\u0308",\u1EF9:"y\u0303",\u0233:"y\u0304",\u0177:"y\u0302",\u1E8F:"y\u0307",\u1E99:"y\u030A",\u017A:"z\u0301",\u017E:"z\u030C",\u1E91:"z\u0302",\u017C:"z\u0307",\u00C1:"A\u0301",\u00C0:"A\u0300",\u00C4:"A\u0308",\u01DE:"A\u0308\u0304",\u00C3:"A\u0303",\u0100:"A\u0304",\u0102:"A\u0306",\u1EAE:"A\u0306\u0301",\u1EB0:"A\u0306\u0300",\u1EB4:"A\u0306\u0303",\u01CD:"A\u030C",\u00C2:"A\u0302",\u1EA4:"A\u0302\u0301",\u1EA6:"A\u0302\u0300",\u1EAA:"A\u0302\u0303",\u0226:"A\u0307",\u01E0:"A\u0307\u0304",\u00C5:"A\u030A",\u01FA:"A\u030A\u0301",\u1E02:"B\u0307",\u0106:"C\u0301",\u010C:"C\u030C",\u0108:"C\u0302",\u010A:"C\u0307",\u010E:"D\u030C",\u1E0A:"D\u0307",\u00C9:"E\u0301",\u00C8:"E\u0300",\u00CB:"E\u0308",\u1EBC:"E\u0303",\u0112:"E\u0304",\u1E16:"E\u0304\u0301",\u1E14:"E\u0304\u0300",\u0114:"E\u0306",\u011A:"E\u030C",\u00CA:"E\u0302",\u1EBE:"E\u0302\u0301",\u1EC0:"E\u0302\u0300",\u1EC4:"E\u0302\u0303",\u0116:"E\u0307",\u1E1E:"F\u0307",\u01F4:"G\u0301",\u1E20:"G\u0304",\u011E:"G\u0306",\u01E6:"G\u030C",\u011C:"G\u0302",\u0120:"G\u0307",\u1E26:"H\u0308",\u021E:"H\u030C",\u0124:"H\u0302",\u1E22:"H\u0307",\u00CD:"I\u0301",\u00CC:"I\u0300",\u00CF:"I\u0308",\u1E2E:"I\u0308\u0301",\u0128:"I\u0303",\u012A:"I\u0304",\u012C:"I\u0306",\u01CF:"I\u030C",\u00CE:"I\u0302",\u0130:"I\u0307",\u0134:"J\u0302",\u1E30:"K\u0301",\u01E8:"K\u030C",\u0139:"L\u0301",\u013D:"L\u030C",\u1E3E:"M\u0301",\u1E40:"M\u0307",\u0143:"N\u0301",\u01F8:"N\u0300",\u00D1:"N\u0303",\u0147:"N\u030C",\u1E44:"N\u0307",\u00D3:"O\u0301",\u00D2:"O\u0300",\u00D6:"O\u0308",\u022A:"O\u0308\u0304",\u00D5:"O\u0303",\u1E4C:"O\u0303\u0301",\u1E4E:"O\u0303\u0308",\u022C:"O\u0303\u0304",\u014C:"O\u0304",\u1E52:"O\u0304\u0301",\u1E50:"O\u0304\u0300",\u014E:"O\u0306",\u01D1:"O\u030C",\u00D4:"O\u0302",\u1ED0:"O\u0302\u0301",\u1ED2:"O\u0302\u0300",\u1ED6:"O\u0302\u0303",\u022E:"O\u0307",\u0230:"O\u0307\u0304",\u0150:"O\u030B",\u1E54:"P\u0301",\u1E56:"P\u0307",\u0154:"R\u0301",\u0158:"R\u030C",\u1E58:"R\u0307",\u015A:"S\u0301",\u1E64:"S\u0301\u0307",\u0160:"S\u030C",\u1E66:"S\u030C\u0307",\u015C:"S\u0302",\u1E60:"S\u0307",\u0164:"T\u030C",\u1E6A:"T\u0307",\u00DA:"U\u0301",\u00D9:"U\u0300",\u00DC:"U\u0308",\u01D7:"U\u0308\u0301",\u01DB:"U\u0308\u0300",\u01D5:"U\u0308\u0304",\u01D9:"U\u0308\u030C",\u0168:"U\u0303",\u1E78:"U\u0303\u0301",\u016A:"U\u0304",\u1E7A:"U\u0304\u0308",\u016C:"U\u0306",\u01D3:"U\u030C",\u00DB:"U\u0302",\u016E:"U\u030A",\u0170:"U\u030B",\u1E7C:"V\u0303",\u1E82:"W\u0301",\u1E80:"W\u0300",\u1E84:"W\u0308",\u0174:"W\u0302",\u1E86:"W\u0307",\u1E8C:"X\u0308",\u1E8A:"X\u0307",\u00DD:"Y\u0301",\u1EF2:"Y\u0300",\u0178:"Y\u0308",\u1EF8:"Y\u0303",\u0232:"Y\u0304",\u0176:"Y\u0302",\u1E8E:"Y\u0307",\u0179:"Z\u0301",\u017D:"Z\u030C",\u1E90:"Z\u0302",\u017B:"Z\u0307",\u03AC:"\u03B1\u0301",\u1F70:"\u03B1\u0300",\u1FB1:"\u03B1\u0304",\u1FB0:"\u03B1\u0306",\u03AD:"\u03B5\u0301",\u1F72:"\u03B5\u0300",\u03AE:"\u03B7\u0301",\u1F74:"\u03B7\u0300",\u03AF:"\u03B9\u0301",\u1F76:"\u03B9\u0300",\u03CA:"\u03B9\u0308",\u0390:"\u03B9\u0308\u0301",\u1FD2:"\u03B9\u0308\u0300",\u1FD1:"\u03B9\u0304",\u1FD0:"\u03B9\u0306",\u03CC:"\u03BF\u0301",\u1F78:"\u03BF\u0300",\u03CD:"\u03C5\u0301",\u1F7A:"\u03C5\u0300",\u03CB:"\u03C5\u0308",\u03B0:"\u03C5\u0308\u0301",\u1FE2:"\u03C5\u0308\u0300",\u1FE1:"\u03C5\u0304",\u1FE0:"\u03C5\u0306",\u03CE:"\u03C9\u0301",\u1F7C:"\u03C9\u0300",\u038E:"\u03A5\u0301",\u1FEA:"\u03A5\u0300",\u03AB:"\u03A5\u0308",\u1FE9:"\u03A5\u0304",\u1FE8:"\u03A5\u0306",\u038F:"\u03A9\u0301",\u1FFA:"\u03A9\u0300"},Bn=function(){function Ve(ee,ne){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new Fi(ee,ne,this.mode),this.settings=ne,this.leftrightDepth=0}var W=Ve.prototype;return W.expect=function(ne,he){if(he===void 0&&(he=!0),this.fetch().text!==ne)throw new s("Expected '"+ne+"', got '"+this.fetch().text+"'",this.fetch());he&&this.consume()},W.consume=function(){this.nextToken=null},W.fetch=function(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken},W.switchMode=function(ne){this.mode=ne,this.gullet.switchMode(ne)},W.parse=function(){this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");var ne=this.parseExpression(!1);return this.expect("EOF"),this.gullet.endGroup(),ne},W.parseExpression=function(ne,he){for(var Ae=[];;){this.mode==="math"&&this.consumeSpaces();var Ge=this.fetch();if(Ve.endOfExpression.indexOf(Ge.text)!==-1||he&&Ge.text===he||ne&&va[Ge.text]&&va[Ge.text].infix)break;var xt=this.parseAtom(he);if(!xt)break;Ae.push(xt)}return this.mode==="text"&&this.formLigatures(Ae),this.handleInfixNodes(Ae)},W.handleInfixNodes=function(ne){for(var he=-1,Ae,Ge=0;Ge<ne.length;Ge++){var xt=Dr(ne[Ge],"infix");if(xt){if(he!==-1)throw new s("only one infix operator per group",xt.token);he=Ge,Ae=xt.replaceWith}}if(he!==-1&&Ae){var Ft,nr,Tr=ne.slice(0,he),Wr=ne.slice(he+1);Tr.length===1&&Tr[0].type==="ordgroup"?Ft=Tr[0]:Ft={type:"ordgroup",mode:this.mode,body:Tr},Wr.length===1&&Wr[0].type==="ordgroup"?nr=Wr[0]:nr={type:"ordgroup",mode:this.mode,body:Wr};var an;return Ae==="\\\\abovefrac"?an=this.callFunction(Ae,[Ft,ne[he],nr],[]):an=this.callFunction(Ae,[Ft,nr],[]),[an]}else return ne},W.handleSupSubscript=function(ne){var he=this.fetch(),Ae=he.text;this.consume();var Ge=this.parseGroup(ne,!1,Ve.SUPSUB_GREEDINESS,void 0,void 0,!0);if(!Ge)throw new s("Expected group after '"+Ae+"'",he);return Ge},W.formatUnsupportedCmd=function(ne){for(var he=[],Ae=0;Ae<ne.length;Ae++)he.push({type:"textord",mode:"text",text:ne[Ae]});var Ge={type:"text",mode:this.mode,body:he},xt={type:"color",mode:this.mode,color:this.settings.errorColor,body:[Ge]};return xt},W.parseAtom=function(ne){var he=this.parseGroup("atom",!1,null,ne);if(this.mode==="text")return he;for(var Ae,Ge;;){this.consumeSpaces();var xt=this.fetch();if(xt.text==="\\limits"||xt.text==="\\nolimits"){var Ft=Dr(he,"op");if(Ft){var nr=xt.text==="\\limits";Ft.limits=nr,Ft.alwaysHandleSupSub=!0}else if(Ft=Dr(he,"operatorname"),Ft&&Ft.alwaysHandleSupSub){var Tr=xt.text==="\\limits";Ft.limits=Tr}else throw new s("Limit controls must follow a math operator",xt);this.consume()}else if(xt.text==="^"){if(Ae)throw new s("Double superscript",xt);Ae=this.handleSupSubscript("superscript")}else if(xt.text==="_"){if(Ge)throw new s("Double subscript",xt);Ge=this.handleSupSubscript("subscript")}else if(xt.text==="'"){if(Ae)throw new s("Double superscript",xt);var Wr={type:"textord",mode:this.mode,text:"\\prime"},an=[Wr];for(this.consume();this.fetch().text==="'";)an.push(Wr),this.consume();this.fetch().text==="^"&&an.push(this.handleSupSubscript("superscript")),Ae={type:"ordgroup",mode:this.mode,body:an}}else break}return Ae||Ge?{type:"supsub",mode:this.mode,base:he,sup:Ae,sub:Ge}:he},W.parseFunction=function(ne,he,Ae){var Ge=this.fetch(),xt=Ge.text,Ft=va[xt];if(!Ft)return null;if(this.consume(),Ae!=null&&Ft.greediness<=Ae)throw new s("Got function '"+xt+"' with no arguments"+(he?" as "+he:""),Ge);if(this.mode==="text"&&!Ft.allowedInText)throw new s("Can't use function '"+xt+"' in text mode",Ge);if(this.mode==="math"&&Ft.allowedInMath===!1)throw new s("Can't use function '"+xt+"' in math mode",Ge);var nr=this.parseArguments(xt,Ft),Tr=nr.args,Wr=nr.optArgs;return this.callFunction(xt,Tr,Wr,Ge,ne)},W.callFunction=function(ne,he,Ae,Ge,xt){var Ft={funcName:ne,parser:this,token:Ge,breakOnTokenText:xt},nr=va[ne];if(nr&&nr.handler)return nr.handler(Ft,he,Ae);throw new s("No function handler for "+ne)},W.parseArguments=function(ne,he){var Ae=he.numArgs+he.numOptionalArgs;if(Ae===0)return{args:[],optArgs:[]};for(var Ge=he.greediness,xt=[],Ft=[],nr=0;nr<Ae;nr++){var Tr=he.argTypes&&he.argTypes[nr],Wr=nr<he.numOptionalArgs,an=nr>0&&!Wr||nr===0&&!Wr&&this.mode==="math",wn=this.parseGroupOfType("argument to '"+ne+"'",Tr,Wr,Ge,an);if(!wn){if(Wr){Ft.push(null);continue}throw new s("Expected group after '"+ne+"'",this.fetch())}(Wr?Ft:xt).push(wn)}return{args:xt,optArgs:Ft}},W.parseGroupOfType=function(ne,he,Ae,Ge,xt){switch(he){case"color":return xt&&this.consumeSpaces(),this.parseColorGroup(Ae);case"size":return xt&&this.consumeSpaces(),this.parseSizeGroup(Ae);case"url":return this.parseUrlGroup(Ae,xt);case"math":case"text":return this.parseGroup(ne,Ae,Ge,void 0,he,xt);case"hbox":{var Ft=this.parseGroup(ne,Ae,Ge,void 0,"text",xt);if(!Ft)return Ft;var nr={type:"styling",mode:Ft.mode,body:[Ft],style:"text"};return nr}case"raw":{if(xt&&this.consumeSpaces(),Ae&&this.fetch().text==="{")return null;var Tr=this.parseStringGroup("raw",Ae,!0);if(Tr)return{type:"raw",mode:"text",string:Tr.text};throw new s("Expected raw group",this.fetch())}case"original":case null:case void 0:return this.parseGroup(ne,Ae,Ge,void 0,void 0,xt);default:throw new s("Unknown group type as "+ne,this.fetch())}},W.consumeSpaces=function(){for(;this.fetch().text===" ";)this.consume()},W.parseStringGroup=function(ne,he,Ae){var Ge=he?"[":"{",xt=he?"]":"}",Ft=this.fetch();if(Ft.text!==Ge){if(he)return null;if(Ae&&Ft.text!=="EOF"&&/[^{}[\]]/.test(Ft.text))return this.consume(),Ft}var nr=this.mode;this.mode="text",this.expect(Ge);for(var Tr="",Wr=this.fetch(),an=0,wn=Wr,Nn;(Nn=this.fetch()).text!==xt||Ae&&an>0;){switch(Nn.text){case"EOF":throw new s("Unexpected end of input in "+ne,Wr.range(wn,Tr));case Ge:an++;break;case xt:an--;break}wn=Nn,Tr+=wn.text,this.consume()}return this.expect(xt),this.mode=nr,Wr.range(wn,Tr)},W.parseRegexGroup=function(ne,he){var Ae=this.mode;this.mode="text";for(var Ge=this.fetch(),xt=Ge,Ft="",nr;(nr=this.fetch()).text!=="EOF"&&ne.test(Ft+nr.text);)xt=nr,Ft+=xt.text,this.consume();if(Ft==="")throw new s("Invalid "+he+": '"+Ge.text+"'",Ge);return this.mode=Ae,Ge.range(xt,Ft)},W.parseColorGroup=function(ne){var he=this.parseStringGroup("color",ne);if(!he)return null;var Ae=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(he.text);if(!Ae)throw new s("Invalid color: '"+he.text+"'",he);var Ge=Ae[0];return/^[0-9a-f]{6}$/i.test(Ge)&&(Ge="#"+Ge),{type:"color-token",mode:this.mode,color:Ge}},W.parseSizeGroup=function(ne){var he,Ae=!1;if(!ne&&this.fetch().text!=="{"?he=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):he=this.parseStringGroup("size",ne),!he)return null;!ne&&he.text.length===0&&(he.text="0pt",Ae=!0);var Ge=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(he.text);if(!Ge)throw new s("Invalid size: '"+he.text+"'",he);var xt={number:+(Ge[1]+Ge[2]),unit:Ge[3]};if(!Ei(xt))throw new s("Invalid unit: '"+xt.unit+"'",he);return{type:"size",mode:this.mode,value:xt,isBlank:Ae}},W.parseUrlGroup=function(ne,he){this.gullet.lexer.setCatcode("%",13);var Ae=this.parseStringGroup("url",ne,!0);if(this.gullet.lexer.setCatcode("%",14),!Ae)return null;var Ge=Ae.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:Ge}},W.parseGroup=function(ne,he,Ae,Ge,xt,Ft){var nr=this.mode;xt&&this.switchMode(xt),Ft&&this.consumeSpaces();var Tr=this.fetch(),Wr=Tr.text,an;if(he?Wr==="[":Wr==="{"||Wr==="\\begingroup"){this.consume();var wn=Ve.endOfGroup[Wr];this.gullet.beginGroup();var Nn=this.parseExpression(!1,wn),Wn=this.fetch();this.expect(wn),this.gullet.endGroup(),an={type:"ordgroup",mode:this.mode,loc:l.range(Tr,Wn),body:Nn,semisimple:Wr==="\\begingroup"||void 0}}else if(he)an=null;else if(an=this.parseFunction(Ge,ne,Ae)||this.parseSymbol(),an==null&&Wr[0]==="\\"&&!ri.hasOwnProperty(Wr)){if(this.settings.throwOnError)throw new s("Undefined control sequence: "+Wr,Tr);an=this.formatUnsupportedCmd(Wr),this.consume()}return xt&&this.switchMode(nr),an},W.formLigatures=function(ne){for(var he=ne.length-1,Ae=0;Ae<he;++Ae){var Ge=ne[Ae],xt=Ge.text;xt==="-"&&ne[Ae+1].text==="-"&&(Ae+1<he&&ne[Ae+2].text==="-"?(ne.splice(Ae,3,{type:"textord",mode:"text",loc:l.range(Ge,ne[Ae+2]),text:"---"}),he-=2):(ne.splice(Ae,2,{type:"textord",mode:"text",loc:l.range(Ge,ne[Ae+1]),text:"--"}),he-=1)),(xt==="'"||xt==="`")&&ne[Ae+1].text===xt&&(ne.splice(Ae,2,{type:"textord",mode:"text",loc:l.range(Ge,ne[Ae+1]),text:xt+xt}),he-=1)}},W.parseSymbol=function(){var ne=this.fetch(),he=ne.text;if(/^\\verb[^a-zA-Z]/.test(he)){this.consume();var Ae=he.slice(5),Ge=Ae.charAt(0)==="*";if(Ge&&(Ae=Ae.slice(1)),Ae.length<2||Ae.charAt(0)!==Ae.slice(-1))throw new s(`\\verb assertion failed --
please report what input caused this bug`);return Ae=Ae.slice(1,-1),{type:"verb",mode:"text",body:Ae,star:Ge}}Dn.hasOwnProperty(he[0])&&!We[this.mode][he[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+he[0]+'" used in math mode',ne),he=Dn[he[0]]+he.substr(1));var xt=Ys.exec(he);xt&&(he=he.substring(0,xt.index),he==="i"?he="\u0131":he==="j"&&(he="\u0237"));var Ft;if(We[this.mode][he]){this.settings.strict&&this.mode==="math"&&ot.indexOf(he)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+he[0]+'" used in math mode',ne);var nr=We[this.mode][he].group,Tr=l.range(ne),Wr;if(Nt.hasOwnProperty(nr)){var an=nr;Wr={type:"atom",mode:this.mode,family:an,loc:Tr,text:he}}else Wr={type:nr,mode:this.mode,loc:Tr,text:he};Ft=Wr}else if(he.charCodeAt(0)>=128)this.settings.strict&&(Pe(he.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+he[0]+'" used in math mode',ne):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+he[0]+'"'+(" ("+he.charCodeAt(0)+")"),ne)),Ft={type:"textord",mode:"text",loc:l.range(ne),text:he};else return null;if(this.consume(),xt)for(var wn=0;wn<xt[0].length;wn++){var Nn=xt[0][wn];if(!Mn[Nn])throw new s("Unknown accent ' "+Nn+"'",ne);var Wn=Mn[Nn][this.mode];if(!Wn)throw new s("Accent "+Nn+" unsupported in "+this.mode+" mode",ne);Ft={type:"accent",mode:this.mode,loc:l.range(ne),label:Wn,isStretchy:!1,isShifty:!0,base:Ft}}return Ft},Ve}();Bn.endOfExpression=["}","\\endgroup","\\end","\\right","&"],Bn.endOfGroup={"[":"]","{":"}","\\begingroup":"\\endgroup"},Bn.SUPSUB_GREEDINESS=1;var ia=function(W,ee){if(!(typeof W=="string"||W instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var ne=new Bn(W,ee);delete ne.gullet.macros.current["\\df@tag"];var he=ne.parse();if(ne.gullet.macros.get("\\df@tag")){if(!ee.displayMode)throw new s("\\tag works only in display equations");ne.gullet.feed("\\df@tag"),he=[{type:"tag",mode:"text",body:he,tag:ne.parse()}]}return he},Ui=ia,ho=function(W,ee,ne){ee.textContent="";var he=qu(W,ne).toNode();ee.appendChild(he)};typeof document!="undefined"&&document.compatMode!=="CSS1Compat"&&(typeof console!="undefined"&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),ho=function(){throw new s("KaTeX doesn't work in quirks mode.")});var Xs=function(W,ee){var ne=qu(W,ee).toMarkup();return ne},eu=function(W,ee){var ne=new D(ee);return Ui(W,ne)},hl=function(W,ee,ne){if(ne.throwOnError||!(W instanceof s))throw W;var he=it.makeSpan(["katex-error"],[new Se(ee)]);return he.setAttribute("title",W.toString()),he.setAttribute("style","color:"+ne.errorColor),he},qu=function(W,ee){var ne=new D(ee);try{var he=Ui(W,ne);return To(he,W,ne)}catch(Ae){return hl(Ae,W,ne)}},vu=function(W,ee){var ne=new D(ee);try{var he=Ui(W,ne);return Vo(he,W,ne)}catch(Ae){return hl(Ae,W,ne)}},Uc={version:"0.11.1",render:ho,renderToString:Xs,ParseError:s,__parse:eu,__renderToDomTree:qu,__renderToHTMLTree:vu,__setFontMetrics:qe,__defineSymbol:fe,__defineMacro:ye,__domTree:{Span:ht,Anchor:Je,SymbolNode:Se,SvgNode:Me,PathNode:Ne,LineNode:He}},Pu=e.default=Uc}]).default})},76414:function(d,g,e){var r=e(64696),i=e(16824),l=e(23476),c=e(63122),f=e(37279);function s(h){var u=-1,a=h==null?0:h.length;for(this.clear();++u<a;){var x=h[u];this.set(x[0],x[1])}}s.prototype.clear=r,s.prototype.delete=i,s.prototype.get=l,s.prototype.has=c,s.prototype.set=f,d.exports=s},99746:function(d,g,e){var r=e(34251),i=e(24968),l=e(28290),c=e(88068),f=e(54238);function s(h){var u=-1,a=h==null?0:h.length;for(this.clear();++u<a;){var x=h[u];this.set(x[0],x[1])}}s.prototype.clear=r,s.prototype.delete=i,s.prototype.get=l,s.prototype.has=c,s.prototype.set=f,d.exports=s},40164:function(d,g,e){var r=e(73893),i=e(33152),l=r(i,"Map");d.exports=l},52166:function(d,g,e){var r=e(35365),i=e(63765),l=e(12608),c=e(10203),f=e(11298);function s(h){var u=-1,a=h==null?0:h.length;for(this.clear();++u<a;){var x=h[u];this.set(x[0],x[1])}}s.prototype.clear=r,s.prototype.delete=i,s.prototype.get=l,s.prototype.has=c,s.prototype.set=f,d.exports=s},91866:function(d,g,e){var r=e(99746),i=e(31119),l=e(64399),c=e(81897),f=e(90558),s=e(64841);function h(u){var a=this.__data__=new r(u);this.size=a.size}h.prototype.clear=i,h.prototype.delete=l,h.prototype.get=c,h.prototype.has=f,h.prototype.set=s,d.exports=h},91869:function(d,g,e){var r=e(33152),i=r.Symbol;d.exports=i},77945:function(d,g,e){var r=e(33152),i=r.Uint8Array;d.exports=i},79628:function(d){function g(e,r,i){switch(i.length){case 0:return e.call(r);case 1:return e.call(r,i[0]);case 2:return e.call(r,i[0],i[1]);case 3:return e.call(r,i[0],i[1],i[2])}return e.apply(r,i)}d.exports=g},63333:function(d,g,e){var r=e(67943),i=e(13053),l=e(80744),c=e(57835),f=e(70213),s=e(18397),h=Object.prototype,u=h.hasOwnProperty;function a(x,p){var y=l(x),_=!y&&i(x),b=!y&&!_&&c(x),S=!y&&!_&&!b&&s(x),R=y||_||b||S,L=R?r(x.length,String):[],T=L.length;for(var D in x)(p||u.call(x,D))&&!(R&&(D=="length"||b&&(D=="offset"||D=="parent")||S&&(D=="buffer"||D=="byteLength"||D=="byteOffset")||f(D,T)))&&L.push(D);return L}d.exports=a},89135:function(d,g,e){var r=e(42813),i=e(43607);function l(c,f,s){(s!==void 0&&!i(c[f],s)||s===void 0&&!(f in c))&&r(c,f,s)}d.exports=l},60348:function(d,g,e){var r=e(42813),i=e(43607),l=Object.prototype,c=l.hasOwnProperty;function f(s,h,u){var a=s[h];(!(c.call(s,h)&&i(a,u))||u===void 0&&!(h in s))&&r(s,h,u)}d.exports=f},67971:function(d,g,e){var r=e(43607);function i(l,c){for(var f=l.length;f--;)if(r(l[f][0],c))return f;return-1}d.exports=i},42813:function(d,g,e){var r=e(35234);function i(l,c,f){c=="__proto__"&&r?r(l,c,{configurable:!0,enumerable:!0,value:f,writable:!0}):l[c]=f}d.exports=i},35024:function(d,g,e){var r=e(20816),i=Object.create,l=function(){function c(){}return function(f){if(!r(f))return{};if(i)return i(f);c.prototype=f;var s=new c;return c.prototype=void 0,s}}();d.exports=l},14018:function(d,g,e){var r=e(78010),i=r();d.exports=i},86756:function(d,g,e){var r=e(91869),i=e(72533),l=e(74702),c="[object Null]",f="[object Undefined]",s=r?r.toStringTag:void 0;function h(u){return u==null?u===void 0?f:c:s&&s in Object(u)?i(u):l(u)}d.exports=h},61506:function(d,g,e){var r=e(86756),i=e(93913),l="[object Arguments]";function c(f){return i(f)&&r(f)==l}d.exports=c},6367:function(d,g,e){var r=e(9363),i=e(89379),l=e(20816),c=e(63256),f=/[\\^$.*+?()[\]{}|]/g,s=/^\[object .+?Constructor\]$/,h=Function.prototype,u=Object.prototype,a=h.toString,x=u.hasOwnProperty,p=RegExp("^"+a.call(x).replace(f,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function y(_){if(!l(_)||i(_))return!1;var b=r(_)?p:s;return b.test(c(_))}d.exports=y},10766:function(d,g,e){var r=e(86756),i=e(11156),l=e(93913),c="[object Arguments]",f="[object Array]",s="[object Boolean]",h="[object Date]",u="[object Error]",a="[object Function]",x="[object Map]",p="[object Number]",y="[object Object]",_="[object RegExp]",b="[object Set]",S="[object String]",R="[object WeakMap]",L="[object ArrayBuffer]",T="[object DataView]",D="[object Float32Array]",M="[object Float64Array]",N="[object Int8Array]",j="[object Int16Array]",Q="[object Int32Array]",X="[object Uint8Array]",Y="[object Uint8ClampedArray]",oe="[object Uint16Array]",ie="[object Uint32Array]",ue={};ue[D]=ue[M]=ue[N]=ue[j]=ue[Q]=ue[X]=ue[Y]=ue[oe]=ue[ie]=!0,ue[c]=ue[f]=ue[L]=ue[s]=ue[T]=ue[h]=ue[u]=ue[a]=ue[x]=ue[p]=ue[y]=ue[_]=ue[b]=ue[S]=ue[R]=!1;function K(V){return l(V)&&i(V.length)&&!!ue[r(V)]}d.exports=K},33988:function(d,g,e){var r=e(20816),i=e(7975),l=e(97817),c=Object.prototype,f=c.hasOwnProperty;function s(h){if(!r(h))return l(h);var u=i(h),a=[];for(var x in h)x=="constructor"&&(u||!f.call(h,x))||a.push(x);return a}d.exports=s},50097:function(d,g,e){var r=e(91866),i=e(89135),l=e(14018),c=e(23585),f=e(20816),s=e(56730),h=e(47052);function u(a,x,p,y,_){a!==x&&l(x,function(b,S){if(_||(_=new r),f(b))c(a,x,S,p,u,y,_);else{var R=y?y(h(a,S),b,S+"",a,x,_):void 0;R===void 0&&(R=b),i(a,S,R)}},s)}d.exports=u},23585:function(d,g,e){var r=e(89135),i=e(32315),l=e(78358),c=e(47760),f=e(4084),s=e(13053),h=e(80744),u=e(41590),a=e(57835),x=e(9363),p=e(20816),y=e(19308),_=e(18397),b=e(47052),S=e(20480);function R(L,T,D,M,N,j,Q){var X=b(L,D),Y=b(T,D),oe=Q.get(Y);if(oe){r(L,D,oe);return}var ie=j?j(X,Y,D+"",L,T,Q):void 0,ue=ie===void 0;if(ue){var K=h(Y),V=!K&&a(Y),G=!K&&!V&&_(Y);ie=Y,K||V||G?h(X)?ie=X:u(X)?ie=c(X):V?(ue=!1,ie=i(Y,!0)):G?(ue=!1,ie=l(Y,!0)):ie=[]:y(Y)||s(Y)?(ie=X,s(X)?ie=S(X):(!p(X)||x(X))&&(ie=f(Y))):ue=!1}ue&&(Q.set(Y,ie),N(ie,Y,M,j,Q),Q.delete(Y)),r(L,D,ie)}d.exports=R},92918:function(d,g,e){var r=e(46962),i=e(19652),l=e(71152);function c(f,s){return l(i(f,s,r),f+"")}d.exports=c},63989:function(d,g,e){var r=e(13503),i=e(35234),l=e(46962),c=i?function(f,s){return i(f,"toString",{configurable:!0,enumerable:!1,value:r(s),writable:!0})}:l;d.exports=c},67943:function(d){function g(e,r){for(var i=-1,l=Array(e);++i<e;)l[i]=r(i);return l}d.exports=g},38342:function(d){function g(e){return function(r){return e(r)}}d.exports=g},20188:function(d,g,e){var r=e(77945);function i(l){var c=new l.constructor(l.byteLength);return new r(c).set(new r(l)),c}d.exports=i},32315:function(d,g,e){d=e.nmd(d);var r=e(33152),i=g&&!g.nodeType&&g,l=i&&!0&&d&&!d.nodeType&&d,c=l&&l.exports===i,f=c?r.Buffer:void 0,s=f?f.allocUnsafe:void 0;function h(u,a){if(a)return u.slice();var x=u.length,p=s?s(x):new u.constructor(x);return u.copy(p),p}d.exports=h},78358:function(d,g,e){var r=e(20188);function i(l,c){var f=c?r(l.buffer):l.buffer;return new l.constructor(f,l.byteOffset,l.length)}d.exports=i},47760:function(d){function g(e,r){var i=-1,l=e.length;for(r||(r=Array(l));++i<l;)r[i]=e[i];return r}d.exports=g},95378:function(d,g,e){var r=e(60348),i=e(42813);function l(c,f,s,h){var u=!s;s||(s={});for(var a=-1,x=f.length;++a<x;){var p=f[a],y=h?h(s[p],c[p],p,s,c):void 0;y===void 0&&(y=c[p]),u?i(s,p,y):r(s,p,y)}return s}d.exports=l},64218:function(d,g,e){var r=e(33152),i=r["__core-js_shared__"];d.exports=i},63323:function(d,g,e){var r=e(92918),i=e(8138);function l(c){return r(function(f,s){var h=-1,u=s.length,a=u>1?s[u-1]:void 0,x=u>2?s[2]:void 0;for(a=c.length>3&&typeof a=="function"?(u--,a):void 0,x&&i(s[0],s[1],x)&&(a=u<3?void 0:a,u=1),f=Object(f);++h<u;){var p=s[h];p&&c(f,p,h,a)}return f})}d.exports=l},78010:function(d){function g(e){return function(r,i,l){for(var c=-1,f=Object(r),s=l(r),h=s.length;h--;){var u=s[e?h:++c];if(i(f[u],u,f)===!1)break}return r}}d.exports=g},35234:function(d,g,e){var r=e(73893),i=function(){try{var l=r(Object,"defineProperty");return l({},"",{}),l}catch(c){}}();d.exports=i},37675:function(d,g,e){var r=typeof e.g=="object"&&e.g&&e.g.Object===Object&&e.g;d.exports=r},89819:function(d,g,e){var r=e(94358);function i(l,c){var f=l.__data__;return r(c)?f[typeof c=="string"?"string":"hash"]:f.map}d.exports=i},73893:function(d,g,e){var r=e(6367),i=e(49966);function l(c,f){var s=i(c,f);return r(s)?s:void 0}d.exports=l},49217:function(d,g,e){var r=e(31030),i=r(Object.getPrototypeOf,Object);d.exports=i},72533:function(d,g,e){var r=e(91869),i=Object.prototype,l=i.hasOwnProperty,c=i.toString,f=r?r.toStringTag:void 0;function s(h){var u=l.call(h,f),a=h[f];try{h[f]=void 0;var x=!0}catch(y){}var p=c.call(h);return x&&(u?h[f]=a:delete h[f]),p}d.exports=s},49966:function(d){function g(e,r){return e==null?void 0:e[r]}d.exports=g},64696:function(d,g,e){var r=e(65294);function i(){this.__data__=r?r(null):{},this.size=0}d.exports=i},16824:function(d){function g(e){var r=this.has(e)&&delete this.__data__[e];return this.size-=r?1:0,r}d.exports=g},23476:function(d,g,e){var r=e(65294),i="__lodash_hash_undefined__",l=Object.prototype,c=l.hasOwnProperty;function f(s){var h=this.__data__;if(r){var u=h[s];return u===i?void 0:u}return c.call(h,s)?h[s]:void 0}d.exports=f},63122:function(d,g,e){var r=e(65294),i=Object.prototype,l=i.hasOwnProperty;function c(f){var s=this.__data__;return r?s[f]!==void 0:l.call(s,f)}d.exports=c},37279:function(d,g,e){var r=e(65294),i="__lodash_hash_undefined__";function l(c,f){var s=this.__data__;return this.size+=this.has(c)?0:1,s[c]=r&&f===void 0?i:f,this}d.exports=l},4084:function(d,g,e){var r=e(35024),i=e(49217),l=e(7975);function c(f){return typeof f.constructor=="function"&&!l(f)?r(i(f)):{}}d.exports=c},70213:function(d){var g=9007199254740991,e=/^(?:0|[1-9]\d*)$/;function r(i,l){var c=typeof i;return l=l==null?g:l,!!l&&(c=="number"||c!="symbol"&&e.test(i))&&i>-1&&i%1==0&&i<l}d.exports=r},8138:function(d,g,e){var r=e(43607),i=e(24665),l=e(70213),c=e(20816);function f(s,h,u){if(!c(u))return!1;var a=typeof h;return(a=="number"?i(u)&&l(h,u.length):a=="string"&&h in u)?r(u[h],s):!1}d.exports=f},94358:function(d){function g(e){var r=typeof e;return r=="string"||r=="number"||r=="symbol"||r=="boolean"?e!=="__proto__":e===null}d.exports=g},89379:function(d,g,e){var r=e(64218),i=function(){var c=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return c?"Symbol(src)_1."+c:""}();function l(c){return!!i&&i in c}d.exports=l},7975:function(d){var g=Object.prototype;function e(r){var i=r&&r.constructor,l=typeof i=="function"&&i.prototype||g;return r===l}d.exports=e},34251:function(d){function g(){this.__data__=[],this.size=0}d.exports=g},24968:function(d,g,e){var r=e(67971),i=Array.prototype,l=i.splice;function c(f){var s=this.__data__,h=r(s,f);if(h<0)return!1;var u=s.length-1;return h==u?s.pop():l.call(s,h,1),--this.size,!0}d.exports=c},28290:function(d,g,e){var r=e(67971);function i(l){var c=this.__data__,f=r(c,l);return f<0?void 0:c[f][1]}d.exports=i},88068:function(d,g,e){var r=e(67971);function i(l){return r(this.__data__,l)>-1}d.exports=i},54238:function(d,g,e){var r=e(67971);function i(l,c){var f=this.__data__,s=r(f,l);return s<0?(++this.size,f.push([l,c])):f[s][1]=c,this}d.exports=i},35365:function(d,g,e){var r=e(76414),i=e(99746),l=e(40164);function c(){this.size=0,this.__data__={hash:new r,map:new(l||i),string:new r}}d.exports=c},63765:function(d,g,e){var r=e(89819);function i(l){var c=r(this,l).delete(l);return this.size-=c?1:0,c}d.exports=i},12608:function(d,g,e){var r=e(89819);function i(l){return r(this,l).get(l)}d.exports=i},10203:function(d,g,e){var r=e(89819);function i(l){return r(this,l).has(l)}d.exports=i},11298:function(d,g,e){var r=e(89819);function i(l,c){var f=r(this,l),s=f.size;return f.set(l,c),this.size+=f.size==s?0:1,this}d.exports=i},65294:function(d,g,e){var r=e(73893),i=r(Object,"create");d.exports=i},97817:function(d){function g(e){var r=[];if(e!=null)for(var i in Object(e))r.push(i);return r}d.exports=g},52495:function(d,g,e){d=e.nmd(d);var r=e(37675),i=g&&!g.nodeType&&g,l=i&&!0&&d&&!d.nodeType&&d,c=l&&l.exports===i,f=c&&r.process,s=function(){try{var h=l&&l.require&&l.require("util").types;return h||f&&f.binding&&f.binding("util")}catch(u){}}();d.exports=s},74702:function(d){var g=Object.prototype,e=g.toString;function r(i){return e.call(i)}d.exports=r},31030:function(d){function g(e,r){return function(i){return e(r(i))}}d.exports=g},19652:function(d,g,e){var r=e(79628),i=Math.max;function l(c,f,s){return f=i(f===void 0?c.length-1:f,0),function(){for(var h=arguments,u=-1,a=i(h.length-f,0),x=Array(a);++u<a;)x[u]=h[f+u];u=-1;for(var p=Array(f+1);++u<f;)p[u]=h[u];return p[f]=s(x),r(c,this,p)}}d.exports=l},33152:function(d,g,e){var r=e(37675),i=typeof self=="object"&&self&&self.Object===Object&&self,l=r||i||Function("return this")();d.exports=l},47052:function(d){function g(e,r){if(!(r==="constructor"&&typeof e[r]=="function")&&r!="__proto__")return e[r]}d.exports=g},71152:function(d,g,e){var r=e(63989),i=e(12345),l=i(r);d.exports=l},12345:function(d){var g=800,e=16,r=Date.now;function i(l){var c=0,f=0;return function(){var s=r(),h=e-(s-f);if(f=s,h>0){if(++c>=g)return arguments[0]}else c=0;return l.apply(void 0,arguments)}}d.exports=i},31119:function(d,g,e){var r=e(99746);function i(){this.__data__=new r,this.size=0}d.exports=i},64399:function(d){function g(e){var r=this.__data__,i=r.delete(e);return this.size=r.size,i}d.exports=g},81897:function(d){function g(e){return this.__data__.get(e)}d.exports=g},90558:function(d){function g(e){return this.__data__.has(e)}d.exports=g},64841:function(d,g,e){var r=e(99746),i=e(40164),l=e(52166),c=200;function f(s,h){var u=this.__data__;if(u instanceof r){var a=u.__data__;if(!i||a.length<c-1)return a.push([s,h]),this.size=++u.size,this;u=this.__data__=new l(a)}return u.set(s,h),this.size=u.size,this}d.exports=f},63256:function(d){var g=Function.prototype,e=g.toString;function r(i){if(i!=null){try{return e.call(i)}catch(l){}try{return i+""}catch(l){}}return""}d.exports=r},13503:function(d){function g(e){return function(){return e}}d.exports=g},43607:function(d){function g(e,r){return e===r||e!==e&&r!==r}d.exports=g},46962:function(d){function g(e){return e}d.exports=g},13053:function(d,g,e){var r=e(61506),i=e(93913),l=Object.prototype,c=l.hasOwnProperty,f=l.propertyIsEnumerable,s=r(function(){return arguments}())?r:function(h){return i(h)&&c.call(h,"callee")&&!f.call(h,"callee")};d.exports=s},80744:function(d){var g=Array.isArray;d.exports=g},24665:function(d,g,e){var r=e(9363),i=e(11156);function l(c){return c!=null&&i(c.length)&&!r(c)}d.exports=l},41590:function(d,g,e){var r=e(24665),i=e(93913);function l(c){return i(c)&&r(c)}d.exports=l},57835:function(d,g,e){d=e.nmd(d);var r=e(33152),i=e(55950),l=g&&!g.nodeType&&g,c=l&&!0&&d&&!d.nodeType&&d,f=c&&c.exports===l,s=f?r.Buffer:void 0,h=s?s.isBuffer:void 0,u=h||i;d.exports=u},9363:function(d,g,e){var r=e(86756),i=e(20816),l="[object AsyncFunction]",c="[object Function]",f="[object GeneratorFunction]",s="[object Proxy]";function h(u){if(!i(u))return!1;var a=r(u);return a==c||a==f||a==l||a==s}d.exports=h},11156:function(d){var g=9007199254740991;function e(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=g}d.exports=e},20816:function(d){function g(e){var r=typeof e;return e!=null&&(r=="object"||r=="function")}d.exports=g},93913:function(d){function g(e){return e!=null&&typeof e=="object"}d.exports=g},19308:function(d,g,e){var r=e(86756),i=e(49217),l=e(93913),c="[object Object]",f=Function.prototype,s=Object.prototype,h=f.toString,u=s.hasOwnProperty,a=h.call(Object);function x(p){if(!l(p)||r(p)!=c)return!1;var y=i(p);if(y===null)return!0;var _=u.call(y,"constructor")&&y.constructor;return typeof _=="function"&&_ instanceof _&&h.call(_)==a}d.exports=x},18397:function(d,g,e){var r=e(10766),i=e(38342),l=e(52495),c=l&&l.isTypedArray,f=c?i(c):r;d.exports=f},56730:function(d,g,e){var r=e(63333),i=e(33988),l=e(24665);function c(f){return l(f)?r(f,!0):i(f)}d.exports=c},89392:function(d,g,e){d=e.nmd(d);var r;(function(){var i,l="4.17.21",c=200,f="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",s="Expected a function",h="Invalid `variable` option passed into `_.template`",u="__lodash_hash_undefined__",a=500,x="__lodash_placeholder__",p=1,y=2,_=4,b=1,S=2,R=1,L=2,T=4,D=8,M=16,N=32,j=64,Q=128,X=256,Y=512,oe=30,ie="...",ue=800,K=16,V=1,G=2,te=3,q=1/0,J=9007199254740991,le=17976931348623157e292,z=NaN,F=4294967295,se=F-1,_e=F>>>1,Pe=[["ary",Q],["bind",R],["bindKey",L],["curry",D],["curryRight",M],["flip",Y],["partial",N],["partialRight",j],["rearg",X]],Re="[object Arguments]",Ze="[object Array]",$e="[object AsyncFunction]",Ht="[object Boolean]",bt="[object Date]",Ot="[object DOMException]",qt="[object Error]",er="[object Function]",Jt="[object GeneratorFunction]",Xe="[object Map]",Pt="[object Number]",Ut="[object Null]",st="[object Object]",yt="[object Promise]",ht="[object Proxy]",Je="[object RegExp]",je="[object Set]",ge="[object String]",Se="[object Symbol]",Me="[object Undefined]",Ne="[object WeakMap]",He="[object WeakSet]",nt="[object ArrayBuffer]",ct="[object DataView]",Vt="[object Float32Array]",Wt="[object Float64Array]",Ie="[object Int8Array]",qe="[object Int16Array]",Gt="[object Int32Array]",kt="[object Uint8Array]",Zt="[object Uint8ClampedArray]",Nt="[object Uint16Array]",Ct="[object Uint32Array]",Yt=/\b__p \+= '';/g,We=/\b(__p \+=) '' \+/g,fe=/(__e\(.*?\)|\b__t\)) \+\n'';/g,pe=/&(?:amp|lt|gt|quot|#39);/g,Dt=/[&<>"']/g,Ce=RegExp(pe.source),dt=RegExp(Dt.source),zt=/<%-([\s\S]+?)%>/g,Tt=/<%([\s\S]+?)%>/g,Oe=/<%=([\s\S]+?)%>/g,St=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,be=/^\w*$/,Ke=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,vt=/[\\^$.*+?()[\]{}|]/g,Rt=RegExp(vt.source),Fe=/^\s+/,kr=/\s/,At=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Kr=/\{\n\/\* \[wrapped with (.+)\] \*/,qr=/,? & /,Ar=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Br=/[()=,{}\[\]\/\s]/,_r=/\\(\\)?/g,Ur=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,sn=/\w*$/,cn=/^[-+]0x[0-9a-f]+$/i,or=/^0b[01]+$/i,Lt=/^\[object .+?Constructor\]$/,mt=/^0o[0-7]+$/i,gt=/^(?:0|[1-9]\d*)$/,$t=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Cr=/($^)/,gr=/['\n\r\u2028\u2029\\]/g,ot="\\ud800-\\udfff",Mr="\\u0300-\\u036f",yn="\\ufe20-\\ufe2f",Zn="\\u20d0-\\u20ff",mr=Mr+yn+Zn,tn="\\u2700-\\u27bf",hn="a-z\\xdf-\\xf6\\xf8-\\xff",Fn="\\xac\\xb1\\xd7\\xf7",ti="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",jn="\\u2000-\\u206f",Zi=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",xi="A-Z\\xc0-\\xd6\\xd8-\\xde",Si="\\ufe0e\\ufe0f",Ei=Fn+ti+jn+Zi,mi="['\u2019]",Xi="["+ot+"]",qn="["+Ei+"]",Yi="["+mr+"]",wt="\\d+",ut="["+tn+"]",Jn="["+hn+"]",Ai="[^"+ot+Ei+wt+tn+hn+xi+"]",ei="\\ud83c[\\udffb-\\udfff]",Gi="(?:"+Yi+"|"+ei+")",vi="[^"+ot+"]",si="(?:\\ud83c[\\udde6-\\uddff]){2}",En="[\\ud800-\\udbff][\\udc00-\\udfff]",tr="["+xi+"]",_t="\\u200d",rt="(?:"+Jn+"|"+Ai+")",It="(?:"+tr+"|"+Ai+")",pt="(?:"+mi+"(?:d|ll|m|re|s|t|ve))?",lr="(?:"+mi+"(?:D|LL|M|RE|S|T|VE))?",fr=Gi+"?",Ir="["+Si+"]?",Hr="(?:"+_t+"(?:"+[vi,si,En].join("|")+")"+Ir+fr+")*",ze="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",et="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Ee=Ir+fr+Hr,it="(?:"+[ut,si,En].join("|")+")"+Ee,ir="(?:"+[vi+Yi+"?",Yi,si,En,Xi].join("|")+")",Dr=RegExp(mi,"g"),Er=RegExp(Yi,"g"),Or=RegExp(ei+"(?="+ei+")|"+ir+Ee,"g"),$r=RegExp([tr+"?"+Jn+"+"+pt+"(?="+[qn,tr,"$"].join("|")+")",It+"+"+lr+"(?="+[qn,tr+rt,"$"].join("|")+")",tr+"?"+rt+"+"+pt,tr+"+"+lr,et,ze,wt,it].join("|"),"g"),bn=RegExp("["+_t+ot+mr+Si+"]"),Pr=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,un=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],rn=-1,ln={};ln[Vt]=ln[Wt]=ln[Ie]=ln[qe]=ln[Gt]=ln[kt]=ln[Zt]=ln[Nt]=ln[Ct]=!0,ln[Re]=ln[Ze]=ln[nt]=ln[Ht]=ln[ct]=ln[bt]=ln[qt]=ln[er]=ln[Xe]=ln[Pt]=ln[st]=ln[Je]=ln[je]=ln[ge]=ln[Ne]=!1;var An={};An[Re]=An[Ze]=An[nt]=An[ct]=An[Ht]=An[bt]=An[Vt]=An[Wt]=An[Ie]=An[qe]=An[Gt]=An[Xe]=An[Pt]=An[st]=An[Je]=An[je]=An[ge]=An[Se]=An[kt]=An[Zt]=An[Nt]=An[Ct]=!0,An[qt]=An[er]=An[Ne]=!1;var pa={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},Pi={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},gi={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},pn={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ui=parseFloat,Ni=parseInt,la=typeof e.g=="object"&&e.g&&e.g.Object===Object&&e.g,xs=typeof self=="object"&&self&&self.Object===Object&&self,Pa=la||xs||Function("return this")(),Na=g&&!g.nodeType&&g,Is=Na&&!0&&d&&!d.nodeType&&d,$a=Is&&Is.exports===Na,hs=$a&&la.process,oa=function(){try{var ur=Is&&Is.require&&Is.require("util").types;return ur||hs&&hs.binding&&hs.binding("util")}catch(Fr){}}(),yi=oa&&oa.isArrayBuffer,Ga=oa&&oa.isDate,Ds=oa&&oa.isMap,$i=oa&&oa.isRegExp,ps=oa&&oa.isSet,Co=oa&&oa.isTypedArray;function La(ur,Fr,xr){switch(xr.length){case 0:return ur.call(Fr);case 1:return ur.call(Fr,xr[0]);case 2:return ur.call(Fr,xr[0],xr[1]);case 3:return ur.call(Fr,xr[0],xr[1],xr[2])}return ur.apply(Fr,xr)}function _s(ur,Fr,xr,mn){for(var Hn=-1,ft=ur==null?0:ur.length;++Hn<ft;){var Pn=ur[Hn];Fr(mn,Pn,xr(Pn),ur)}return mn}function ji(ur,Fr){for(var xr=-1,mn=ur==null?0:ur.length;++xr<mn&&Fr(ur[xr],xr,ur)!==!1;);return ur}function Gs(ur,Fr){for(var xr=ur==null?0:ur.length;xr--&&Fr(ur[xr],xr,ur)!==!1;);return ur}function Rn(ur,Fr){for(var xr=-1,mn=ur==null?0:ur.length;++xr<mn;)if(!Fr(ur[xr],xr,ur))return!1;return!0}function ja(ur,Fr){for(var xr=-1,mn=ur==null?0:ur.length,Hn=0,ft=[];++xr<mn;){var Pn=ur[xr];Fr(Pn,xr,ur)&&(ft[Hn++]=Pn)}return ft}function ns(ur,Fr){var xr=ur==null?0:ur.length;return!!xr&&cs(ur,Fr,0)>-1}function ls(ur,Fr,xr){for(var mn=-1,Hn=ur==null?0:ur.length;++mn<Hn;)if(xr(Fr,ur[mn]))return!0;return!1}function Vi(ur,Fr){for(var xr=-1,mn=ur==null?0:ur.length,Hn=Array(mn);++xr<mn;)Hn[xr]=Fr(ur[xr],xr,ur);return Hn}function Ia(ur,Fr){for(var xr=-1,mn=Fr.length,Hn=ur.length;++xr<mn;)ur[Hn+xr]=Fr[xr];return ur}function Da(ur,Fr,xr,mn){var Hn=-1,ft=ur==null?0:ur.length;for(mn&&ft&&(xr=ur[++Hn]);++Hn<ft;)xr=Fr(xr,ur[Hn],Hn,ur);return xr}function ms(ur,Fr,xr,mn){var Hn=ur==null?0:ur.length;for(mn&&Hn&&(xr=ur[--Hn]);Hn--;)xr=Fr(xr,ur[Hn],Hn,ur);return xr}function Bs(ur,Fr){for(var xr=-1,mn=ur==null?0:ur.length;++xr<mn;)if(Fr(ur[xr],xr,ur))return!0;return!1}var _o=hi("length");function To(ur){return ur.split("")}function Vo(ur){return ur.match(Ar)||[]}function uo(ur,Fr,xr){var mn;return xr(ur,function(Hn,ft,Pn){if(Fr(Hn,ft,Pn))return mn=ft,!1}),mn}function ca(ur,Fr,xr,mn){for(var Hn=ur.length,ft=xr+(mn?1:-1);mn?ft--:++ft<Hn;)if(Fr(ur[ft],ft,ur))return ft;return-1}function cs(ur,Fr,xr){return Fr===Fr?Fo(ur,Fr,xr):ca(ur,vo,xr)}function mo(ur,Fr,xr,mn){for(var Hn=xr-1,ft=ur.length;++Hn<ft;)if(mn(ur[Hn],Fr))return Hn;return-1}function vo(ur){return ur!==ur}function go(ur,Fr){var xr=ur==null?0:ur.length;return xr?Xa(ur,Fr)/xr:z}function hi(ur){return function(Fr){return Fr==null?i:Fr[ur]}}function oi(ur){return function(Fr){return ur==null?i:ur[Fr]}}function Fa(ur,Fr,xr,mn,Hn){return Hn(ur,function(ft,Pn,Vn){xr=mn?(mn=!1,ft):Fr(xr,ft,Pn,Vn)}),xr}function Va(ur,Fr){var xr=ur.length;for(ur.sort(Fr);xr--;)ur[xr]=ur[xr].value;return ur}function Xa(ur,Fr){for(var xr,mn=-1,Hn=ur.length;++mn<Hn;){var ft=Fr(ur[mn]);ft!==i&&(xr=xr===i?ft:xr+ft)}return xr}function lo(ur,Fr){for(var xr=-1,mn=Array(ur);++xr<ur;)mn[xr]=Fr(xr);return mn}function co(ur,Fr){return Vi(Fr,function(xr){return[xr,ur[xr]]})}function Po(ur){return ur&&ur.slice(0,vr(ur)+1).replace(Fe,"")}function Qa(ur){return function(Fr){return ur(Fr)}}function Lo(ur,Fr){return Vi(Fr,function(xr){return ur[xr]})}function yo(ur,Fr){return ur.has(Fr)}function Ko(ur,Fr){for(var xr=-1,mn=ur.length;++xr<mn&&cs(Fr,ur[xr],0)>-1;);return xr}function Tu(ur,Fr){for(var xr=ur.length;xr--&&cs(Fr,ur[xr],0)>-1;);return xr}function _u(ur,Fr){for(var xr=ur.length,mn=0;xr--;)ur[xr]===Fr&&++mn;return mn}var fo=oi(pa),fs=oi(Pi);function zu(ur){return"\\"+pn[ur]}function Mo(ur,Fr){return ur==null?i:ur[Fr]}function Io(ur){return bn.test(ur)}function Us(ur){return Pr.test(ur)}function ou(ur){for(var Fr,xr=[];!(Fr=ur.next()).done;)xr.push(Fr.value);return xr}function jo(ur){var Fr=-1,xr=Array(ur.size);return ur.forEach(function(mn,Hn){xr[++Fr]=[Hn,mn]}),xr}function Do(ur,Fr){return function(xr){return ur(Fr(xr))}}function Ls(ur,Fr){for(var xr=-1,mn=ur.length,Hn=0,ft=[];++xr<mn;){var Pn=ur[xr];(Pn===Fr||Pn===x)&&(ur[xr]=x,ft[Hn++]=xr)}return ft}function bo(ur){var Fr=-1,xr=Array(ur.size);return ur.forEach(function(mn){xr[++Fr]=mn}),xr}function mu(ur){var Fr=-1,xr=Array(ur.size);return ur.forEach(function(mn){xr[++Fr]=[mn,mn]}),xr}function Fo(ur,Fr,xr){for(var mn=xr-1,Hn=ur.length;++mn<Hn;)if(ur[mn]===Fr)return mn;return-1}function Qt(ur,Fr,xr){for(var mn=xr+1;mn--;)if(ur[mn]===Fr)return mn;return mn}function cr(ur){return Io(ur)?xn(ur):_o(ur)}function sr(ur){return Io(ur)?Sn(ur):To(ur)}function vr(ur){for(var Fr=ur.length;Fr--&&kr.test(ur.charAt(Fr)););return Fr}var wr=oi(gi);function xn(ur){for(var Fr=Or.lastIndex=0;Or.test(ur);)++Fr;return Fr}function Sn(ur){return ur.match(Or)||[]}function Un(ur){return ur.match($r)||[]}var Ln=function ur(Fr){Fr=Fr==null?Pa:Gn.defaults(Pa.Object(),Fr,Gn.pick(Pa,un));var xr=Fr.Array,mn=Fr.Date,Hn=Fr.Error,ft=Fr.Function,Pn=Fr.Math,Vn=Fr.Object,li=Fr.RegExp,Qi=Fr.String,Nr=Fr.TypeError,Li=xr.prototype,ba=ft.prototype,zr=Vn.prototype,na=Fr["__core-js_shared__"],Ss=ba.toString,ci=zr.hasOwnProperty,Vs=0,xo=function(){var w=/[^.]+$/.exec(na&&na.keys&&na.keys.IE_PROTO||"");return w?"Symbol(src)_1."+w:""}(),Os=zr.toString,xa=Ss.call(Vn),ds=Pa._,ks=li("^"+Ss.call(ci).replace(vt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),In=$a?Fr.Buffer:i,gs=Fr.Symbol,Ns=Fr.Uint8Array,Ye=In?In.allocUnsafe:i,Qe=Do(Vn.getPrototypeOf,Vn),Mt=Vn.create,Kt=zr.propertyIsEnumerable,hr=Li.splice,Rr=gs?gs.isConcatSpreadable:i,jr=gs?gs.iterator:i,vn=gs?gs.toStringTag:i,nn=function(){try{var w=Oa(Vn,"defineProperty");return w({},"",{}),w}catch(B){}}(),gn=Fr.clearTimeout!==Pa.clearTimeout&&Fr.clearTimeout,Qn=mn&&mn.now!==Pa.Date.now&&mn.now,ni=Fr.setTimeout!==Pa.setTimeout&&Fr.setTimeout,_i=Pn.ceil,Ii=Pn.floor,Hi=Vn.getOwnPropertySymbols,Mi=In?In.isBuffer:i,wi=Fr.isFinite,ma=Li.join,Ci=Do(Vn.keys,Vn),bi=Pn.max,fa=Pn.min,Ks=mn.now,Es=Fr.parseInt,Wi=Pn.random,ka=Li.reverse,ea=Oa(Fr,"DataView"),ki=Oa(Fr,"Map"),va=Oa(Fr,"Promise"),Ba=Oa(Fr,"Set"),Ka=Oa(Fr,"WeakMap"),eo=Oa(Vn,"create"),qa=Ka&&new Ka,so={},Ya=ua(ea),Ys=ua(ki),Ms=ua(va),da=ua(Ba),Ua=ua(Ka),As=gs?gs.prototype:i,ga=As?As.valueOf:i,ye=As?As.toString:i;function we(w){if(Jo(w)&&!Wa(w)&&!(w instanceof Qr)){if(w instanceof br)return w;if(ci.call(w,"__wrapped__"))return vs(w)}return new br(w)}var yr=function(){function w(){}return function(B){if(!Go(B))return{};if(Mt)return Mt(B);w.prototype=B;var de=new w;return w.prototype=i,de}}();function Jr(){}function br(w,B){this.__wrapped__=w,this.__actions__=[],this.__chain__=!!B,this.__index__=0,this.__values__=i}we.templateSettings={escape:zt,evaluate:Tt,interpolate:Oe,variable:"",imports:{_:we}},we.prototype=Jr.prototype,we.prototype.constructor=we,br.prototype=yr(Jr.prototype),br.prototype.constructor=br;function Qr(w){this.__wrapped__=w,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=F,this.__views__=[]}function Cn(){var w=new Qr(this.__wrapped__);return w.__actions__=$o(this.__actions__),w.__dir__=this.__dir__,w.__filtered__=this.__filtered__,w.__iteratees__=$o(this.__iteratees__),w.__takeCount__=this.__takeCount__,w.__views__=$o(this.__views__),w}function ri(){if(this.__filtered__){var w=new Qr(this);w.__dir__=-1,w.__filtered__=!0}else w=this.clone(),w.__dir__*=-1;return w}function Fi(){var w=this.__wrapped__.value(),B=this.__dir__,de=Wa(w),Be=B<0,Et=de?w.length:0,Xt=kc(0,Et,this.__views__),pr=Xt.start,Lr=Xt.end,Yr=Lr-pr,On=Be?Lr:pr-1,kn=this.__iteratees__,zn=kn.length,Ti=0,ra=fa(Yr,this.__takeCount__);if(!de||!Be&&Et==Yr&&ra==Yr)return Wc(w,this.__actions__);var Ca=[];e:for(;Yr--&&Ti<ra;){On+=B;for(var us=-1,Ta=w[On];++us<zn;){var bs=kn[us],Ps=bs.iteratee,ac=bs.type,Sl=Ps(Ta);if(ac==G)Ta=Sl;else if(!Sl){if(ac==V)continue e;break e}}Ca[Ti++]=Ta}return Ca}Qr.prototype=yr(Jr.prototype),Qr.prototype.constructor=Qr;function Mn(w){var B=-1,de=w==null?0:w.length;for(this.clear();++B<de;){var Be=w[B];this.set(Be[0],Be[1])}}function Dn(){this.__data__=eo?eo(null):{},this.size=0}function Bn(w){var B=this.has(w)&&delete this.__data__[w];return this.size-=B?1:0,B}function ia(w){var B=this.__data__;if(eo){var de=B[w];return de===u?i:de}return ci.call(B,w)?B[w]:i}function Ui(w){var B=this.__data__;return eo?B[w]!==i:ci.call(B,w)}function ho(w,B){var de=this.__data__;return this.size+=this.has(w)?0:1,de[w]=eo&&B===i?u:B,this}Mn.prototype.clear=Dn,Mn.prototype.delete=Bn,Mn.prototype.get=ia,Mn.prototype.has=Ui,Mn.prototype.set=ho;function Xs(w){var B=-1,de=w==null?0:w.length;for(this.clear();++B<de;){var Be=w[B];this.set(Be[0],Be[1])}}function eu(){this.__data__=[],this.size=0}function hl(w){var B=this.__data__,de=is(B,w);if(de<0)return!1;var Be=B.length-1;return de==Be?B.pop():hr.call(B,de,1),--this.size,!0}function qu(w){var B=this.__data__,de=is(B,w);return de<0?i:B[de][1]}function vu(w){return is(this.__data__,w)>-1}function Uc(w,B){var de=this.__data__,Be=is(de,w);return Be<0?(++this.size,de.push([w,B])):de[Be][1]=B,this}Xs.prototype.clear=eu,Xs.prototype.delete=hl,Xs.prototype.get=qu,Xs.prototype.has=vu,Xs.prototype.set=Uc;function Pu(w){var B=-1,de=w==null?0:w.length;for(this.clear();++B<de;){var Be=w[B];this.set(Be[0],Be[1])}}function Ve(){this.size=0,this.__data__={hash:new Mn,map:new(ki||Xs),string:new Mn}}function W(w){var B=Di(this,w).delete(w);return this.size-=B?1:0,B}function ee(w){return Di(this,w).get(w)}function ne(w){return Di(this,w).has(w)}function he(w,B){var de=Di(this,w),Be=de.size;return de.set(w,B),this.size+=de.size==Be?0:1,this}Pu.prototype.clear=Ve,Pu.prototype.delete=W,Pu.prototype.get=ee,Pu.prototype.has=ne,Pu.prototype.set=he;function Ae(w){var B=-1,de=w==null?0:w.length;for(this.__data__=new Pu;++B<de;)this.add(w[B])}function Ge(w){return this.__data__.set(w,u),this}function xt(w){return this.__data__.has(w)}Ae.prototype.add=Ae.prototype.push=Ge,Ae.prototype.has=xt;function Ft(w){var B=this.__data__=new Xs(w);this.size=B.size}function nr(){this.__data__=new Xs,this.size=0}function Tr(w){var B=this.__data__,de=B.delete(w);return this.size=B.size,de}function Wr(w){return this.__data__.get(w)}function an(w){return this.__data__.has(w)}function wn(w,B){var de=this.__data__;if(de instanceof Xs){var Be=de.__data__;if(!ki||Be.length<c-1)return Be.push([w,B]),this.size=++de.size,this;de=this.__data__=new Pu(Be)}return de.set(w,B),this.size=de.size,this}Ft.prototype.clear=nr,Ft.prototype.delete=Tr,Ft.prototype.get=Wr,Ft.prototype.has=an,Ft.prototype.set=wn;function Nn(w,B){var de=Wa(w),Be=!de&&Lf(w),Et=!de&&!Be&&If(w),Xt=!de&&!Be&&!Et&&zf(w),pr=de||Be||Et||Xt,Lr=pr?lo(w.length,Qi):[],Yr=Lr.length;for(var On in w)(B||ci.call(w,On))&&!(pr&&(On=="length"||Et&&(On=="offset"||On=="parent")||Xt&&(On=="buffer"||On=="byteLength"||On=="byteOffset")||Ro(On,Yr)))&&Lr.push(On);return Lr}function Wn(w){var B=w.length;return B?w[xu(0,B-1)]:i}function pi(w,B){return Bi($o(w),Rs(B,0,w.length))}function Sr(w){return Bi($o(w))}function aa(w,B,de){(de!==i&&!$c(w[B],de)||de===i&&!(B in w))&&Aa(w,B,de)}function sa(w,B,de){var Be=w[B];(!(ci.call(w,B)&&$c(Be,de))||de===i&&!(B in w))&&Aa(w,B,de)}function is(w,B){for(var de=w.length;de--;)if($c(w[de][0],B))return de;return-1}function Za(w,B,de,Be){return Eo(w,function(Et,Xt,pr){B(Be,Et,de(Et),pr)}),Be}function ws(w,B){return w&&fu(B,Uu(B),w)}function as(w,B){return w&&fu(B,jl(B),w)}function Aa(w,B,de){B=="__proto__"&&nn?nn(w,B,{configurable:!0,enumerable:!0,value:de,writable:!0}):w[B]=de}function Fs(w,B){for(var de=-1,Be=B.length,Et=xr(Be),Xt=w==null;++de<Be;)Et[de]=Xt?i:sd(w,B[de]);return Et}function Rs(w,B,de){return w===w&&(de!==i&&(w=w<=de?w:de),B!==i&&(w=w>=B?w:B)),w}function fi(w,B,de,Be,Et,Xt){var pr,Lr=B&p,Yr=B&y,On=B&_;if(de&&(pr=Et?de(w,Be,Et,Xt):de(w)),pr!==i)return pr;if(!Go(w))return w;var kn=Wa(w);if(kn){if(pr=bc(w),!Lr)return $o(w,pr)}else{var zn=ys(w),Ti=zn==er||zn==Jt;if(If(w))return ff(w,Lr);if(zn==st||zn==Re||Ti&&!Et){if(pr=Yr||Ti?{}:Nu(w),!Lr)return Yr?Lu(w,as(pr,w)):Yl(w,ws(pr,w))}else{if(!An[zn])return Et?w:{};pr=Oi(w,zn,Lr)}}Xt||(Xt=new Ft);var ra=Xt.get(w);if(ra)return ra;Xt.set(w,pr),gd(w)?w.forEach(function(Ta){pr.add(fi(Ta,B,de,Ta,w,Xt))}):md(w)&&w.forEach(function(Ta,bs){pr.set(bs,fi(Ta,B,de,bs,w,Xt))});var Ca=On?Yr?me:k:Yr?jl:Uu,us=kn?i:Ca(w);return ji(us||w,function(Ta,bs){us&&(bs=Ta,Ta=w[bs]),sa(pr,bs,fi(Ta,B,de,bs,w,Xt))}),pr}function Qs(w){var B=Uu(w);return function(de){return po(de,w,B)}}function po(w,B,de){var Be=de.length;if(w==null)return!Be;for(w=Vn(w);Be--;){var Et=de[Be],Xt=B[Et],pr=w[Et];if(pr===i&&!(Et in w)||!Xt(pr))return!1}return!0}function Oo(w,B,de){if(typeof w!="function")throw new Nr(s);return nc(function(){w.apply(i,de)},B)}function za(w,B,de,Be){var Et=-1,Xt=ns,pr=!0,Lr=w.length,Yr=[],On=B.length;if(!Lr)return Yr;de&&(B=Vi(B,Qa(de))),Be?(Xt=ls,pr=!1):B.length>=c&&(Xt=yo,pr=!1,B=new Ae(B));e:for(;++Et<Lr;){var kn=w[Et],zn=de==null?kn:de(kn);if(kn=Be||kn!==0?kn:0,pr&&zn===zn){for(var Ti=On;Ti--;)if(B[Ti]===zn)continue e;Yr.push(kn)}else Xt(B,zn,Be)||Yr.push(kn)}return Yr}var Eo=Su(wo),zs=Su(tl,!0);function Al(w,B){var de=!0;return Eo(w,function(Be,Et,Xt){return de=!!B(Be,Et,Xt),de}),de}function Ju(w,B,de){for(var Be=-1,Et=w.length;++Be<Et;){var Xt=w[Be],pr=B(Xt);if(pr!=null&&(Lr===i?pr===pr&&!ic(pr):de(pr,Lr)))var Lr=pr,Yr=Xt}return Yr}function el(w,B,de,Be){var Et=w.length;for(de=rs(de),de<0&&(de=-de>Et?0:Et+de),Be=Be===i||Be>Et?Et:rs(Be),Be<0&&(Be+=Et),Be=de>Be?0:bd(Be);de<Be;)w[de++]=B;return w}function gu(w,B){var de=[];return Eo(w,function(Be,Et,Xt){B(Be,Et,Xt)&&de.push(Be)}),de}function ss(w,B,de,Be,Et){var Xt=-1,pr=w.length;for(de||(de=Rl),Et||(Et=[]);++Xt<pr;){var Lr=w[Xt];B>0&&de(Lr)?B>1?ss(Lr,B-1,de,Be,Et):Ia(Et,Lr):Be||(Et[Et.length]=Lr)}return Et}var uu=vc(),yu=vc(!0);function wo(w,B){return w&&uu(w,B,Uu)}function tl(w,B){return w&&yu(w,B,Uu)}function Iu(w,B){return ja(B,function(de){return bf(w[de])})}function Yo(w,B){B=ku(B,w);for(var de=0,Be=B.length;w!=null&&de<Be;)w=w[zi(B[de++])];return de&&de==Be?w:i}function zl(w,B,de){var Be=B(w);return Wa(w)?Be:Ia(Be,de(w))}function Zs(w){return w==null?w===i?Me:Ut:vn&&vn in Vn(w)?Ao(w):qc(w)}function Uo(w,B){return w>B}function Du(w,B){return w!=null&&ci.call(w,B)}function Zl(w,B){return w!=null&&B in Vn(w)}function lu(w,B,de){return w>=fa(B,de)&&w<bi(B,de)}function oc(w,B,de){for(var Be=de?ls:ns,Et=w[0].length,Xt=w.length,pr=Xt,Lr=xr(Xt),Yr=1/0,On=[];pr--;){var kn=w[pr];pr&&B&&(kn=Vi(kn,Qa(B))),Yr=fa(kn.length,Yr),Lr[pr]=!de&&(B||Et>=120&&kn.length>=120)?new Ae(pr&&kn):i}kn=w[0];var zn=-1,Ti=Lr[0];e:for(;++zn<Et&&On.length<Yr;){var ra=kn[zn],Ca=B?B(ra):ra;if(ra=de||ra!==0?ra:0,!(Ti?yo(Ti,Ca):Be(On,Ca,de))){for(pr=Xt;--pr;){var us=Lr[pr];if(!(us?yo(us,Ca):Be(w[pr],Ca,de)))continue e}Ti&&Ti.push(Ca),On.push(ra)}}return On}function Zu(w,B,de,Be){return wo(w,function(Et,Xt,pr){B(Be,de(Et),Xt,pr)}),Be}function ai(w,B,de){B=ku(B,w),w=$u(w,B);var Be=w==null?w:w[zi(Wo(B))];return Be==null?i:La(Be,w,de)}function Sc(w){return Jo(w)&&Zs(w)==Re}function to(w){return Jo(w)&&Zs(w)==nt}function uc(w){return Jo(w)&&Zs(w)==bt}function tu(w,B,de,Be,Et){return w===B?!0:w==null||B==null||!Jo(w)&&!Jo(B)?w!==w&&B!==B:rl(w,B,de,Be,tu,Et)}function rl(w,B,de,Be,Et,Xt){var pr=Wa(w),Lr=Wa(B),Yr=pr?Ze:ys(w),On=Lr?Ze:ys(B);Yr=Yr==Re?st:Yr,On=On==Re?st:On;var kn=Yr==st,zn=On==st,Ti=Yr==On;if(Ti&&If(w)){if(!If(B))return!1;pr=!0,kn=!1}if(Ti&&!kn)return Xt||(Xt=new Ft),pr||zf(w)?yc(w,B,de,Be,Et,Xt):Oc(w,B,Yr,de,Be,Et,Xt);if(!(de&b)){var ra=kn&&ci.call(w,"__wrapped__"),Ca=zn&&ci.call(B,"__wrapped__");if(ra||Ca){var us=ra?w.value():w,Ta=Ca?B.value():B;return Xt||(Xt=new Ft),Et(us,Ta,de,Be,Xt)}}return Ti?(Xt||(Xt=new Ft),I(w,B,de,Be,Et,Xt)):!1}function Hu(w){return Jo(w)&&ys(w)==Xe}function lc(w,B,de,Be){var Et=de.length,Xt=Et,pr=!Be;if(w==null)return!Xt;for(w=Vn(w);Et--;){var Lr=de[Et];if(pr&&Lr[2]?Lr[1]!==w[Lr[0]]:!(Lr[0]in w))return!1}for(;++Et<Xt;){Lr=de[Et];var Yr=Lr[0],On=w[Yr],kn=Lr[1];if(pr&&Lr[2]){if(On===i&&!(Yr in w))return!1}else{var zn=new Ft;if(Be)var Ti=Be(On,kn,Yr,w,B,zn);if(!(Ti===i?tu(kn,On,b|S,Be,zn):Ti))return!1}}return!0}function Ac(w){if(!Go(w)||bl(w))return!1;var B=bf(w)?ks:Lt;return B.test(ua(w))}function qs(w){return Jo(w)&&Zs(w)==Je}function cc(w){return Jo(w)&&ys(w)==je}function uf(w){return Jo(w)&&Qf(w.length)&&!!ln[Zs(w)]}function Bo(w){return typeof w=="function"?w:w==null?Ul:typeof w=="object"?Wa(w)?Hs(w[0],w[1]):Wl(w):Od(w)}function Cl(w){if(!ol(w))return Ci(w);var B=[];for(var de in Vn(w))ci.call(w,de)&&de!="constructor"&&B.push(de);return B}function Cc(w){if(!Go(w))return Ll(w);var B=ol(w),de=[];for(var Be in w)Be=="constructor"&&(B||!ci.call(w,Be))||de.push(Be);return de}function Hl(w,B){return w<B}function bu(w,B){var de=-1,Be=$l(w)?xr(w.length):[];return Eo(w,function(Et,Xt,pr){Be[++de]=B(Et,Xt,pr)}),Be}function Wl(w){var B=Ha(w);return B.length==1&&B[0][2]?Rc(B[0][0],B[0][1]):function(de){return de===w||lc(de,w,B)}}function Hs(w,B){return Ja(w)&&Xc(B)?Rc(zi(w),B):function(de){var Be=sd(de,w);return Be===i&&Be===B?od(de,w):tu(B,Be,b|S)}}function ro(w,B,de,Be,Et){w!==B&&uu(B,function(Xt,pr){if(Et||(Et=new Ft),Go(Xt))No(w,B,pr,de,ro,Be,Et);else{var Lr=Be?Be(rc(w,pr),Xt,pr+"",w,B,Et):i;Lr===i&&(Lr=Xt),aa(w,pr,Lr)}},jl)}function No(w,B,de,Be,Et,Xt,pr){var Lr=rc(w,de),Yr=rc(B,de),On=pr.get(Yr);if(On){aa(w,de,On);return}var kn=Xt?Xt(Lr,Yr,de+"",w,B,pr):i,zn=kn===i;if(zn){var Ti=Wa(Yr),ra=!Ti&&If(Yr),Ca=!Ti&&!ra&&zf(Yr);kn=Yr,Ti||ra||Ca?Wa(Lr)?kn=Lr:au(Lr)?kn=$o(Lr):ra?(zn=!1,kn=ff(Yr,!0)):Ca?(zn=!1,kn=Il(Yr,!0)):kn=[]:Vf(Yr)||Lf(Yr)?(kn=Lr,Lf(Lr)?kn=xd(Lr):(!Go(Lr)||bf(Lr))&&(kn=Nu(Yr))):zn=!1}zn&&(pr.set(Yr,kn),Et(kn,Yr,Be,Xt,pr),pr.delete(Yr)),aa(w,de,kn)}function Wu(w,B){var de=w.length;if(de)return B+=B<0?de:0,Ro(B,de)?w[B]:i}function Tl(w,B,de){B.length?B=Vi(B,function(Xt){return Wa(Xt)?function(pr){return Yo(pr,Xt.length===1?Xt[0]:Xt)}:Xt}):B=[Ul];var Be=-1;B=Vi(B,Qa(dn()));var Et=bu(w,function(Xt,pr,Lr){var Yr=Vi(B,function(On){return On(Xt)});return{criteria:Yr,index:++Be,value:Xt}});return Va(Et,function(Xt,pr){return wu(Xt,pr,de)})}function ru(w,B){return Tc(w,B,function(de,Be){return od(w,Be)})}function Tc(w,B,de){for(var Be=-1,Et=B.length,Xt={};++Be<Et;){var pr=B[Be],Lr=Yo(w,pr);de(Lr,pr)&&Ou(Xt,ku(pr,w),Lr)}return Xt}function cu(w){return function(B){return Yo(B,w)}}function Xo(w,B,de,Be){var Et=Be?mo:cs,Xt=-1,pr=B.length,Lr=w;for(w===B&&(B=$o(B)),de&&(Lr=Vi(w,Qa(de)));++Xt<pr;)for(var Yr=0,On=B[Xt],kn=de?de(On):On;(Yr=Et(Lr,kn,Yr,Be))>-1;)Lr!==w&&hr.call(Lr,Yr,1),hr.call(w,Yr,1);return w}function pl(w,B){for(var de=w?B.length:0,Be=de-1;de--;){var Et=B[de];if(de==Be||Et!==Xt){var Xt=Et;Ro(Et)?hr.call(w,Et,1):Pl(w,Et)}}return w}function xu(w,B){return w+Ii(Wi()*(B-w+1))}function fc(w,B,de,Be){for(var Et=-1,Xt=bi(_i((B-w)/(de||1)),0),pr=xr(Xt);Xt--;)pr[Be?Xt:++Et]=w,w+=de;return pr}function _l(w,B){var de="";if(!w||B<1||B>J)return de;do B%2&&(de+=w),B=Ii(B/2),B&&(w+=w);while(B);return de}function Ra(w,B){return Ml(hu(w,B,Ul),w+"")}function lf(w){return Wn(Zf(w))}function zc(w,B){var de=Zf(w);return Bi(de,Rs(B,0,de.length))}function Ou(w,B,de,Be){if(!Go(w))return w;B=ku(B,w);for(var Et=-1,Xt=B.length,pr=Xt-1,Lr=w;Lr!=null&&++Et<Xt;){var Yr=zi(B[Et]),On=de;if(Yr==="__proto__"||Yr==="constructor"||Yr==="prototype")return w;if(Et!=pr){var kn=Lr[Yr];On=Be?Be(kn,Yr,Lr):i,On===i&&(On=Go(kn)?kn:Ro(B[Et+1])?[]:{})}sa(Lr,Yr,On),Lr=Lr[Yr]}return w}var Pc=qa?function(w,B){return qa.set(w,B),w}:Ul,cf=nn?function(w,B){return nn(w,"toString",{configurable:!0,enumerable:!1,value:ld(B),writable:!0})}:Ul;function dc(w){return Bi(Zf(w))}function nu(w,B,de){var Be=-1,Et=w.length;B<0&&(B=-B>Et?0:Et+B),de=de>Et?Et:de,de<0&&(de+=Et),Et=B>de?0:de-B>>>0,B>>>=0;for(var Xt=xr(Et);++Be<Et;)Xt[Be]=w[Be+B];return Xt}function Zc(w,B){var de;return Eo(w,function(Be,Et,Xt){return de=B(Be,Et,Xt),!de}),!!de}function hc(w,B,de){var Be=0,Et=w==null?Be:w.length;if(typeof B=="number"&&B===B&&Et<=_e){for(;Be<Et;){var Xt=Be+Et>>>1,pr=w[Xt];pr!==null&&!ic(pr)&&(de?pr<=B:pr<B)?Be=Xt+1:Et=Xt}return Et}return Gl(w,B,Ul,de)}function Gl(w,B,de,Be){var Et=0,Xt=w==null?0:w.length;if(Xt===0)return 0;B=de(B);for(var pr=B!==B,Lr=B===null,Yr=ic(B),On=B===i;Et<Xt;){var kn=Ii((Et+Xt)/2),zn=de(w[kn]),Ti=zn!==i,ra=zn===null,Ca=zn===zn,us=ic(zn);if(pr)var Ta=Be||Ca;else On?Ta=Ca&&(Be||Ti):Lr?Ta=Ca&&Ti&&(Be||!ra):Yr?Ta=Ca&&Ti&&!ra&&(Be||!us):ra||us?Ta=!1:Ta=Be?zn<=B:zn<B;Ta?Et=kn+1:Xt=kn}return fa(Xt,se)}function Hc(w,B){for(var de=-1,Be=w.length,Et=0,Xt=[];++de<Be;){var pr=w[de],Lr=B?B(pr):pr;if(!de||!$c(Lr,Yr)){var Yr=Lr;Xt[Et++]=pr===0?0:pr}}return Xt}function pc(w){return typeof w=="number"?w:ic(w)?z:+w}function zo(w){if(typeof w=="string")return w;if(Wa(w))return Vi(w,zo)+"";if(ic(w))return ye?ye.call(w):"";var B=w+"";return B=="0"&&1/w==-q?"-0":B}function Gu(w,B,de){var Be=-1,Et=ns,Xt=w.length,pr=!0,Lr=[],Yr=Lr;if(de)pr=!1,Et=ls;else if(Xt>=c){var On=B?null:Yc(w);if(On)return bo(On);pr=!1,Et=yo,Yr=new Ae}else Yr=B?[]:Lr;e:for(;++Be<Xt;){var kn=w[Be],zn=B?B(kn):kn;if(kn=de||kn!==0?kn:0,pr&&zn===zn){for(var Ti=Yr.length;Ti--;)if(Yr[Ti]===zn)continue e;B&&Yr.push(zn),Lr.push(kn)}else Et(Yr,zn,de)||(Yr!==Lr&&Yr.push(zn),Lr.push(kn))}return Lr}function Pl(w,B){return B=ku(B,w),w=$u(w,B),w==null||delete w[zi(Wo(B))]}function Eu(w,B,de,Be){return Ou(w,B,de(Yo(w,B)),Be)}function _c(w,B,de,Be){for(var Et=w.length,Xt=Be?Et:-1;(Be?Xt--:++Xt<Et)&&B(w[Xt],Xt,w););return de?nu(w,Be?0:Xt,Be?Xt+1:Et):nu(w,Be?Xt+1:0,Be?Et:Xt)}function Wc(w,B){var de=w;return de instanceof Qr&&(de=de.value()),Da(B,function(Be,Et){return Et.func.apply(Et.thisArg,Ia([Be],Et.args))},de)}function Vl(w,B,de){var Be=w.length;if(Be<2)return Be?Gu(w[0]):[];for(var Et=-1,Xt=xr(Be);++Et<Be;)for(var pr=w[Et],Lr=-1;++Lr<Be;)Lr!=Et&&(Xt[Et]=za(Xt[Et]||pr,w[Lr],B,de));return Gu(ss(Xt,1),B,de)}function no(w,B,de){for(var Be=-1,Et=w.length,Xt=B.length,pr={};++Be<Et;){var Lr=Be<Xt?B[Be]:i;de(pr,w[Be],Lr)}return pr}function Gc(w){return au(w)?w:[]}function Ic(w){return typeof w=="function"?w:Ul}function ku(w,B){return Wa(w)?w:Ja(w,B)?[w]:Ea(Js(w))}var Ru=Ra;function $s(w,B,de){var Be=w.length;return de=de===i?Be:de,!B&&de>=Be?w:nu(w,B,de)}var ml=gn||function(w){return Pa.clearTimeout(w)};function ff(w,B){if(B)return w.slice();var de=w.length,Be=Ye?Ye(de):new w.constructor(de);return w.copy(Be),Be}function mc(w){var B=new w.constructor(w.byteLength);return new Ns(B).set(new Ns(w)),B}function Vc(w,B){var de=B?mc(w.buffer):w.buffer;return new w.constructor(de,w.byteOffset,w.byteLength)}function vl(w){var B=new w.constructor(w.source,sn.exec(w));return B.lastIndex=w.lastIndex,B}function ko(w){return ga?Vn(ga.call(w)):{}}function Il(w,B){var de=B?mc(w.buffer):w.buffer;return new w.constructor(de,w.byteOffset,w.length)}function Ue(w,B){if(w!==B){var de=w!==i,Be=w===null,Et=w===w,Xt=ic(w),pr=B!==i,Lr=B===null,Yr=B===B,On=ic(B);if(!Lr&&!On&&!Xt&&w>B||Xt&&pr&&Yr&&!Lr&&!On||Be&&pr&&Yr||!de&&Yr||!Et)return 1;if(!Be&&!Xt&&!On&&w<B||On&&de&&Et&&!Be&&!Xt||Lr&&de&&Et||!pr&&Et||!Yr)return-1}return 0}function wu(w,B,de){for(var Be=-1,Et=w.criteria,Xt=B.criteria,pr=Et.length,Lr=de.length;++Be<pr;){var Yr=Ue(Et[Be],Xt[Be]);if(Yr){if(Be>=Lr)return Yr;var On=de[Be];return Yr*(On=="desc"?-1:1)}}return w.index-B.index}function Qo(w,B,de,Be){for(var Et=-1,Xt=w.length,pr=de.length,Lr=-1,Yr=B.length,On=bi(Xt-pr,0),kn=xr(Yr+On),zn=!Be;++Lr<Yr;)kn[Lr]=B[Lr];for(;++Et<pr;)(zn||Et<Xt)&&(kn[de[Et]]=w[Et]);for(;On--;)kn[Lr++]=w[Et++];return kn}function Kl(w,B,de,Be){for(var Et=-1,Xt=w.length,pr=-1,Lr=de.length,Yr=-1,On=B.length,kn=bi(Xt-Lr,0),zn=xr(kn+On),Ti=!Be;++Et<kn;)zn[Et]=w[Et];for(var ra=Et;++Yr<On;)zn[ra+Yr]=B[Yr];for(;++pr<Lr;)(Ti||Et<Xt)&&(zn[ra+de[pr]]=w[Et++]);return zn}function $o(w,B){var de=-1,Be=w.length;for(B||(B=xr(Be));++de<Be;)B[de]=w[de];return B}function fu(w,B,de,Be){var Et=!de;de||(de={});for(var Xt=-1,pr=B.length;++Xt<pr;){var Lr=B[Xt],Yr=Be?Be(de[Lr],w[Lr],Lr,de,w):i;Yr===i&&(Yr=w[Lr]),Et?Aa(de,Lr,Yr):sa(de,Lr,Yr)}return de}function Yl(w,B){return fu(w,Ma(w),B)}function Lu(w,B){return fu(w,io(w),B)}function So(w,B){return function(de,Be){var Et=Wa(de)?_s:Za,Xt=B?B():{};return Et(de,w,dn(Be,2),Xt)}}function nl(w){return Ra(function(B,de){var Be=-1,Et=de.length,Xt=Et>1?de[Et-1]:i,pr=Et>2?de[2]:i;for(Xt=w.length>3&&typeof Xt=="function"?(Et--,Xt):i,pr&&Ws(de[0],de[1],pr)&&(Xt=Et<3?i:Xt,Et=1),B=Vn(B);++Be<Et;){var Lr=de[Be];Lr&&w(B,Lr,Be,Xt)}return B})}function Su(w,B){return function(de,Be){if(de==null)return de;if(!$l(de))return w(de,Be);for(var Et=de.length,Xt=B?Et:-1,pr=Vn(de);(B?Xt--:++Xt<Et)&&Be(pr[Xt],Xt,pr)!==!1;);return de}}function vc(w){return function(B,de,Be){for(var Et=-1,Xt=Vn(B),pr=Be(B),Lr=pr.length;Lr--;){var Yr=pr[w?Lr:++Et];if(de(Xt[Yr],Yr,Xt)===!1)break}return B}}function Mu(w,B,de){var Be=B&R,Et=Au(w);function Xt(){var pr=this&&this!==Pa&&this instanceof Xt?Et:w;return pr.apply(Be?de:this,arguments)}return Xt}function Zo(w){return function(B){B=Js(B);var de=Io(B)?sr(B):i,Be=de?de[0]:B.charAt(0),Et=de?$s(de,1).join(""):B.slice(1);return Be[w]()+Et}}function il(w){return function(B){return Da(Id(Pd(B).replace(Dr,"")),w,"")}}function Au(w){return function(){var B=arguments;switch(B.length){case 0:return new w;case 1:return new w(B[0]);case 2:return new w(B[0],B[1]);case 3:return new w(B[0],B[1],B[2]);case 4:return new w(B[0],B[1],B[2],B[3]);case 5:return new w(B[0],B[1],B[2],B[3],B[4]);case 6:return new w(B[0],B[1],B[2],B[3],B[4],B[5]);case 7:return new w(B[0],B[1],B[2],B[3],B[4],B[5],B[6])}var de=yr(w.prototype),Be=w.apply(de,B);return Go(Be)?Be:de}}function Dc(w,B,de){var Be=Au(w);function Et(){for(var Xt=arguments.length,pr=xr(Xt),Lr=Xt,Yr=$n(Et);Lr--;)pr[Lr]=arguments[Lr];var On=Xt<3&&pr[0]!==Yr&&pr[Xt-1]!==Yr?[]:Ls(pr,Yr);if(Xt-=On.length,Xt<de)return ql(w,B,du,Et.placeholder,i,pr,On,i,i,de-Xt);var kn=this&&this!==Pa&&this instanceof Et?Be:w;return La(kn,this,pr)}return Et}function Kc(w){return function(B,de,Be){var Et=Vn(B);if(!$l(B)){var Xt=dn(de,3);B=Uu(B),de=function(Lr){return Xt(Et[Lr],Lr,Et)}}var pr=w(B,de,Be);return pr>-1?Et[Xt?B[pr]:pr]:i}}function oo(w){return O(function(B){var de=B.length,Be=de,Et=br.prototype.thru;for(w&&B.reverse();Be--;){var Xt=B[Be];if(typeof Xt!="function")throw new Nr(s);if(Et&&!pr&&en(Xt)=="wrapper")var pr=new br([],!0)}for(Be=pr?Be:de;++Be<de;){Xt=B[Be];var Lr=en(Xt),Yr=Lr=="wrapper"?ke(Xt):i;Yr&&sl(Yr[0])&&Yr[1]==(Q|D|N|X)&&!Yr[4].length&&Yr[9]==1?pr=pr[en(Yr[0])].apply(pr,Yr[3]):pr=Xt.length==1&&sl(Xt)?pr[Lr]():pr.thru(Xt)}return function(){var On=arguments,kn=On[0];if(pr&&On.length==1&&Wa(kn))return pr.plant(kn).value();for(var zn=0,Ti=de?B[zn].apply(this,On):kn;++zn<de;)Ti=B[zn].call(this,Ti);return Ti}})}function du(w,B,de,Be,Et,Xt,pr,Lr,Yr,On){var kn=B&Q,zn=B&R,Ti=B&L,ra=B&(D|M),Ca=B&Y,us=Ti?i:Au(w);function Ta(){for(var bs=arguments.length,Ps=xr(bs),ac=bs;ac--;)Ps[ac]=arguments[ac];if(ra)var Sl=$n(Ta),sc=_u(Ps,Sl);if(Be&&(Ps=Qo(Ps,Be,Et,ra)),Xt&&(Ps=Kl(Ps,Xt,pr,ra)),bs-=sc,ra&&bs<On){var su=Ls(Ps,Sl);return ql(w,B,du,Ta.placeholder,de,Ps,su,Lr,Yr,On-bs)}var jc=zn?de:this,Ef=Ti?jc[w]:w;return bs=Ps.length,Lr?Ps=El(Ps,Lr):Ca&&bs>1&&Ps.reverse(),kn&&Yr<bs&&(Ps.length=Yr),this&&this!==Pa&&this instanceof Ta&&(Ef=us||Au(Ef)),Ef.apply(jc,Ps)}return Ta}function Dl(w,B){return function(de,Be){return Zu(de,w,B(Be),{})}}function Xl(w,B){return function(de,Be){var Et;if(de===i&&Be===i)return B;if(de!==i&&(Et=de),Be!==i){if(Et===i)return Be;typeof de=="string"||typeof Be=="string"?(de=zo(de),Be=zo(Be)):(de=pc(de),Be=pc(Be)),Et=w(de,Be)}return Et}}function Ql(w){return O(function(B){return B=Vi(B,Qa(dn())),Ra(function(de){var Be=this;return w(B,function(Et){return La(Et,Be,de)})})})}function gl(w,B){B=B===i?" ":zo(B);var de=B.length;if(de<2)return de?_l(B,w):B;var Be=_l(B,_i(w/cr(B)));return Io(B)?$s(sr(Be),0,w).join(""):Be.slice(0,w)}function Ol(w,B,de,Be){var Et=B&R,Xt=Au(w);function pr(){for(var Lr=-1,Yr=arguments.length,On=-1,kn=Be.length,zn=xr(kn+Yr),Ti=this&&this!==Pa&&this instanceof pr?Xt:w;++On<kn;)zn[On]=Be[On];for(;Yr--;)zn[On++]=arguments[++Lr];return La(Ti,Et?de:this,zn)}return pr}function df(w){return function(B,de,Be){return Be&&typeof Be!="number"&&Ws(B,de,Be)&&(de=Be=i),B=xf(B),de===i?(de=B,B=0):de=xf(de),Be=Be===i?B<de?1:-1:xf(Be),fc(B,de,Be,w)}}function kl(w){return function(B,de){return typeof B=="string"&&typeof de=="string"||(B=wc(B),de=wc(de)),w(B,de)}}function ql(w,B,de,Be,Et,Xt,pr,Lr,Yr,On){var kn=B&D,zn=kn?pr:i,Ti=kn?i:pr,ra=kn?Xt:i,Ca=kn?i:Xt;B|=kn?N:j,B&=~(kn?j:N),B&T||(B&=~(R|L));var us=[w,B,Et,ra,zn,Ca,Ti,Lr,Yr,On],Ta=de.apply(i,us);return sl(w)&&Cu(Ta,us),Ta.placeholder=Be,Tn(Ta,w,B)}function yl(w){var B=Pn[w];return function(de,Be){if(de=wc(de),Be=Be==null?0:fa(rs(Be),292),Be&&wi(de)){var Et=(Js(de)+"e").split("e"),Xt=B(Et[0]+"e"+(+Et[1]+Be));return Et=(Js(Xt)+"e").split("e"),+(Et[0]+"e"+(+Et[1]-Be))}return B(de)}}var Yc=Ba&&1/bo(new Ba([,-0]))[1]==q?function(w){return new Ba(w)}:dd;function Fu(w){return function(B){var de=ys(B);return de==Xe?jo(B):de==je?mu(B):co(B,w(B))}}function Bu(w,B,de,Be,Et,Xt,pr,Lr){var Yr=B&L;if(!Yr&&typeof w!="function")throw new Nr(s);var On=Be?Be.length:0;if(On||(B&=~(N|j),Be=Et=i),pr=pr===i?pr:bi(rs(pr),0),Lr=Lr===i?Lr:rs(Lr),On-=Et?Et.length:0,B&j){var kn=Be,zn=Et;Be=Et=i}var Ti=Yr?i:ke(w),ra=[w,B,de,Be,Et,kn,zn,Xt,pr,Lr];if(Ti&&Qc(ra,Ti),w=ra[0],B=ra[1],de=ra[2],Be=ra[3],Et=ra[4],Lr=ra[9]=ra[9]===i?Yr?0:w.length:bi(ra[9]-On,0),!Lr&&B&(D|M)&&(B&=~(D|M)),!B||B==R)var Ca=Mu(w,B,de);else B==D||B==M?Ca=Dc(w,B,Lr):(B==N||B==(R|N))&&!Et.length?Ca=Ol(w,B,de,Be):Ca=du.apply(i,ra);var us=Ti?Pc:Cu;return Tn(us(Ca,ra),w,B)}function iu(w,B,de,Be){return w===i||$c(w,zr[de])&&!ci.call(Be,de)?B:w}function qo(w,B,de,Be,Et,Xt){return Go(w)&&Go(B)&&(Xt.set(B,w),ro(w,B,i,qo,Xt),Xt.delete(B)),w}function gc(w){return Vf(w)?i:w}function yc(w,B,de,Be,Et,Xt){var pr=de&b,Lr=w.length,Yr=B.length;if(Lr!=Yr&&!(pr&&Yr>Lr))return!1;var On=Xt.get(w),kn=Xt.get(B);if(On&&kn)return On==B&&kn==w;var zn=-1,Ti=!0,ra=de&S?new Ae:i;for(Xt.set(w,B),Xt.set(B,w);++zn<Lr;){var Ca=w[zn],us=B[zn];if(Be)var Ta=pr?Be(us,Ca,zn,B,w,Xt):Be(Ca,us,zn,w,B,Xt);if(Ta!==i){if(Ta)continue;Ti=!1;break}if(ra){if(!Bs(B,function(bs,Ps){if(!yo(ra,Ps)&&(Ca===bs||Et(Ca,bs,de,Be,Xt)))return ra.push(Ps)})){Ti=!1;break}}else if(!(Ca===us||Et(Ca,us,de,Be,Xt))){Ti=!1;break}}return Xt.delete(w),Xt.delete(B),Ti}function Oc(w,B,de,Be,Et,Xt,pr){switch(de){case ct:if(w.byteLength!=B.byteLength||w.byteOffset!=B.byteOffset)return!1;w=w.buffer,B=B.buffer;case nt:return!(w.byteLength!=B.byteLength||!Xt(new Ns(w),new Ns(B)));case Ht:case bt:case Pt:return $c(+w,+B);case qt:return w.name==B.name&&w.message==B.message;case Je:case ge:return w==B+"";case Xe:var Lr=jo;case je:var Yr=Be&b;if(Lr||(Lr=bo),w.size!=B.size&&!Yr)return!1;var On=pr.get(w);if(On)return On==B;Be|=S,pr.set(w,B);var kn=yc(Lr(w),Lr(B),Be,Et,Xt,pr);return pr.delete(w),kn;case Se:if(ga)return ga.call(w)==ga.call(B)}return!1}function I(w,B,de,Be,Et,Xt){var pr=de&b,Lr=k(w),Yr=Lr.length,On=k(B),kn=On.length;if(Yr!=kn&&!pr)return!1;for(var zn=Yr;zn--;){var Ti=Lr[zn];if(!(pr?Ti in B:ci.call(B,Ti)))return!1}var ra=Xt.get(w),Ca=Xt.get(B);if(ra&&Ca)return ra==B&&Ca==w;var us=!0;Xt.set(w,B),Xt.set(B,w);for(var Ta=pr;++zn<Yr;){Ti=Lr[zn];var bs=w[Ti],Ps=B[Ti];if(Be)var ac=pr?Be(Ps,bs,Ti,B,w,Xt):Be(bs,Ps,Ti,w,B,Xt);if(!(ac===i?bs===Ps||Et(bs,Ps,de,Be,Xt):ac)){us=!1;break}Ta||(Ta=Ti=="constructor")}if(us&&!Ta){var Sl=w.constructor,sc=B.constructor;Sl!=sc&&"constructor"in w&&"constructor"in B&&!(typeof Sl=="function"&&Sl instanceof Sl&&typeof sc=="function"&&sc instanceof sc)&&(us=!1)}return Xt.delete(w),Xt.delete(B),us}function O(w){return Ml(hu(w,i,hf),w+"")}function k(w){return zl(w,Uu,Ma)}function me(w){return zl(w,jl,io)}var ke=qa?function(w){return qa.get(w)}:dd;function en(w){for(var B=w.name+"",de=so[B],Be=ci.call(so,B)?de.length:0;Be--;){var Et=de[Be],Xt=Et.func;if(Xt==null||Xt==w)return Et.name}return B}function $n(w){var B=ci.call(we,"placeholder")?we:w;return B.placeholder}function dn(){var w=we.iteratee||cd;return w=w===cd?Bo:w,arguments.length?w(arguments[0],arguments[1]):w}function Di(w,B){var de=w.__data__;return al(B)?de[typeof B=="string"?"string":"hash"]:de.map}function Ha(w){for(var B=Uu(w),de=B.length;de--;){var Be=B[de],Et=w[Be];B[de]=[Be,Et,Xc(Et)]}return B}function Oa(w,B){var de=Mo(w,B);return Ac(de)?de:i}function Ao(w){var B=ci.call(w,vn),de=w[vn];try{w[vn]=i;var Be=!0}catch(Xt){}var Et=Os.call(w);return Be&&(B?w[vn]=de:delete w[vn]),Et}var Ma=Hi?function(w){return w==null?[]:(w=Vn(w),ja(Hi(w),function(B){return Kt.call(w,B)}))}:hd,io=Hi?function(w){for(var B=[];w;)Ia(B,Ma(w)),w=Qe(w);return B}:hd,ys=Zs;(ea&&ys(new ea(new ArrayBuffer(1)))!=ct||ki&&ys(new ki)!=Xe||va&&ys(va.resolve())!=yt||Ba&&ys(new Ba)!=je||Ka&&ys(new Ka)!=Ne)&&(ys=function(w){var B=Zs(w),de=B==st?w.constructor:i,Be=de?ua(de):"";if(Be)switch(Be){case Ya:return ct;case Ys:return Xe;case Ms:return yt;case da:return je;case Ua:return Ne}return B});function kc(w,B,de){for(var Be=-1,Et=de.length;++Be<Et;){var Xt=de[Be],pr=Xt.size;switch(Xt.type){case"drop":w+=pr;break;case"dropRight":B-=pr;break;case"take":B=fa(B,w+pr);break;case"takeRight":w=bi(w,B-pr);break}}return{start:w,end:B}}function Jl(w){var B=w.match(Kr);return B?B[1].split(qr):[]}function ec(w,B,de){B=ku(B,w);for(var Be=-1,Et=B.length,Xt=!1;++Be<Et;){var pr=zi(B[Be]);if(!(Xt=w!=null&&de(w,pr)))break;w=w[pr]}return Xt||++Be!=Et?Xt:(Et=w==null?0:w.length,!!Et&&Qf(Et)&&Ro(pr,Et)&&(Wa(w)||Lf(w)))}function bc(w){var B=w.length,de=new w.constructor(B);return B&&typeof w[0]=="string"&&ci.call(w,"index")&&(de.index=w.index,de.input=w.input),de}function Nu(w){return typeof w.constructor=="function"&&!ol(w)?yr(Qe(w)):{}}function Oi(w,B,de){var Be=w.constructor;switch(B){case nt:return mc(w);case Ht:case bt:return new Be(+w);case ct:return Vc(w,de);case Vt:case Wt:case Ie:case qe:case Gt:case kt:case Zt:case Nt:case Ct:return Il(w,de);case Xe:return new Be;case Pt:case ge:return new Be(w);case Je:return vl(w);case je:return new Be;case Se:return ko(w)}}function tc(w,B){var de=B.length;if(!de)return w;var Be=de-1;return B[Be]=(de>1?"& ":"")+B[Be],B=B.join(de>2?", ":" "),w.replace(At,`{
/* [wrapped with `+B+`] */
`)}function Rl(w){return Wa(w)||Lf(w)||!!(Rr&&w&&w[Rr])}function Ro(w,B){var de=typeof w;return B=B==null?J:B,!!B&&(de=="number"||de!="symbol"&&gt.test(w))&&w>-1&&w%1==0&&w<B}function Ws(w,B,de){if(!Go(de))return!1;var Be=typeof B;return(Be=="number"?$l(de)&&Ro(B,de.length):Be=="string"&&B in de)?$c(de[B],w):!1}function Ja(w,B){if(Wa(w))return!1;var de=typeof w;return de=="number"||de=="symbol"||de=="boolean"||w==null||ic(w)?!0:be.test(w)||!St.test(w)||B!=null&&w in Vn(B)}function al(w){var B=typeof w;return B=="string"||B=="number"||B=="symbol"||B=="boolean"?w!=="__proto__":w===null}function sl(w){var B=en(w),de=we[B];if(typeof de!="function"||!(B in Qr.prototype))return!1;if(w===de)return!0;var Be=ke(de);return!!Be&&w===Be[0]}function bl(w){return!!xo&&xo in w}var xl=na?bf:pd;function ol(w){var B=w&&w.constructor,de=typeof B=="function"&&B.prototype||zr;return w===de}function Xc(w){return w===w&&!Go(w)}function Rc(w,B){return function(de){return de==null?!1:de[w]===B&&(B!==i||w in Vn(de))}}function Vu(w){var B=kf(w,function(Be){return de.size===a&&de.clear(),Be}),de=B.cache;return B}function Qc(w,B){var de=w[1],Be=B[1],Et=de|Be,Xt=Et<(R|L|Q),pr=Be==Q&&de==D||Be==Q&&de==X&&w[7].length<=B[8]||Be==(Q|X)&&B[7].length<=B[8]&&de==D;if(!(Xt||pr))return w;Be&R&&(w[2]=B[2],Et|=de&R?0:T);var Lr=B[3];if(Lr){var Yr=w[3];w[3]=Yr?Qo(Yr,Lr,B[4]):Lr,w[4]=Yr?Ls(w[3],x):B[4]}return Lr=B[5],Lr&&(Yr=w[5],w[5]=Yr?Kl(Yr,Lr,B[6]):Lr,w[6]=Yr?Ls(w[5],x):B[6]),Lr=B[7],Lr&&(w[7]=Lr),Be&Q&&(w[8]=w[8]==null?B[8]:fa(w[8],B[8])),w[9]==null&&(w[9]=B[9]),w[0]=B[0],w[1]=Et,w}function Ll(w){var B=[];if(w!=null)for(var de in Vn(w))B.push(de);return B}function qc(w){return Os.call(w)}function hu(w,B,de){return B=bi(B===i?w.length-1:B,0),function(){for(var Be=arguments,Et=-1,Xt=bi(Be.length-B,0),pr=xr(Xt);++Et<Xt;)pr[Et]=Be[B+Et];Et=-1;for(var Lr=xr(B+1);++Et<B;)Lr[Et]=Be[Et];return Lr[B]=de(pr),La(w,this,Lr)}}function $u(w,B){return B.length<2?w:Yo(w,nu(B,0,-1))}function El(w,B){for(var de=w.length,Be=fa(B.length,de),Et=$o(w);Be--;){var Xt=B[Be];w[Be]=Ro(Xt,de)?Et[Xt]:i}return w}function rc(w,B){if(!(B==="constructor"&&typeof w[B]=="function")&&B!="__proto__")return w[B]}var Cu=Kn(Pc),nc=ni||function(w,B){return Pa.setTimeout(w,B)},Ml=Kn(cf);function Tn(w,B,de){var Be=B+"";return Ml(w,tc(Be,ha(Jl(Be),de)))}function Kn(w){var B=0,de=0;return function(){var Be=Ks(),Et=K-(Be-de);if(de=Be,Et>0){if(++B>=ue)return arguments[0]}else B=0;return w.apply(i,arguments)}}function Bi(w,B){var de=-1,Be=w.length,Et=Be-1;for(B=B===i?Be:B;++de<B;){var Xt=xu(de,Et),pr=w[Xt];w[Xt]=w[de],w[de]=pr}return w.length=B,w}var Ea=Vu(function(w){var B=[];return w.charCodeAt(0)===46&&B.push(""),w.replace(Ke,function(de,Be,Et,Xt){B.push(Et?Xt.replace(_r,"$1"):Be||de)}),B});function zi(w){if(typeof w=="string"||ic(w))return w;var B=w+"";return B=="0"&&1/w==-q?"-0":B}function ua(w){if(w!=null){try{return Ss.call(w)}catch(B){}try{return w+""}catch(B){}}return""}function ha(w,B){return ji(Pe,function(de){var Be="_."+de[0];B&de[1]&&!ns(w,Be)&&w.push(Be)}),w.sort()}function vs(w){if(w instanceof Qr)return w.clone();var B=new br(w.__wrapped__,w.__chain__);return B.__actions__=$o(w.__actions__),B.__index__=w.__index__,B.__values__=w.__values__,B}function Ki(w,B,de){(de?Ws(w,B,de):B===i)?B=1:B=bi(rs(B),0);var Be=w==null?0:w.length;if(!Be||B<1)return[];for(var Et=0,Xt=0,pr=xr(_i(Be/B));Et<Be;)pr[Xt++]=nu(w,Et,Et+=B);return pr}function es(w){for(var B=-1,de=w==null?0:w.length,Be=0,Et=[];++B<de;){var Xt=w[B];Xt&&(Et[Be++]=Xt)}return Et}function Ku(){var w=arguments.length;if(!w)return[];for(var B=xr(w-1),de=arguments[0],Be=w;Be--;)B[Be-1]=arguments[Be];return Ia(Wa(de)?$o(de):[de],ss(B,1))}var ju=Ra(function(w,B){return au(w)?za(w,ss(B,1,au,!0)):[]}),Yu=Ra(function(w,B){var de=Wo(B);return au(de)&&(de=i),au(w)?za(w,ss(B,1,au,!0),dn(de,2)):[]}),ul=Ra(function(w,B){var de=Wo(B);return au(de)&&(de=i),au(w)?za(w,ss(B,1,au,!0),i,de):[]});function ll(w,B,de){var Be=w==null?0:w.length;return Be?(B=de||B===i?1:rs(B),nu(w,B<0?0:B,Be)):[]}function Df(w,B,de){var Be=w==null?0:w.length;return Be?(B=de||B===i?1:rs(B),B=Be-B,nu(w,0,B<0?0:B)):[]}function wf(w,B){return w&&w.length?_c(w,dn(B,3),!0,!0):[]}function Fl(w,B){return w&&w.length?_c(w,dn(B,3),!0):[]}function Sf(w,B,de,Be){var Et=w==null?0:w.length;return Et?(de&&typeof de!="number"&&Ws(w,B,de)&&(de=0,Be=Et),el(w,B,de,Be)):[]}function xc(w,B,de){var Be=w==null?0:w.length;if(!Be)return-1;var Et=de==null?0:rs(de);return Et<0&&(Et=bi(Be+Et,0)),ca(w,dn(B,3),Et)}function Jc(w,B,de){var Be=w==null?0:w.length;if(!Be)return-1;var Et=Be-1;return de!==i&&(Et=rs(de),Et=de<0?bi(Be+Et,0):fa(Et,Be-1)),ca(w,dn(B,3),Et,!0)}function hf(w){var B=w==null?0:w.length;return B?ss(w,1):[]}function cl(w){var B=w==null?0:w.length;return B?ss(w,q):[]}function Of(w,B){var de=w==null?0:w.length;return de?(B=B===i?1:rs(B),ss(w,B)):[]}function Xu(w){for(var B=-1,de=w==null?0:w.length,Be={};++B<de;){var Et=w[B];Be[Et[0]]=Et[1]}return Be}function Lc(w){return w&&w.length?w[0]:i}function ef(w,B,de){var Be=w==null?0:w.length;if(!Be)return-1;var Et=de==null?0:rs(de);return Et<0&&(Et=bi(Be+Et,0)),cs(w,B,Et)}function Ho(w){var B=w==null?0:w.length;return B?nu(w,0,-1):[]}var tf=Ra(function(w){var B=Vi(w,Gc);return B.length&&B[0]===w[0]?oc(B):[]}),pf=Ra(function(w){var B=Wo(w),de=Vi(w,Gc);return B===Wo(de)?B=i:de.pop(),de.length&&de[0]===w[0]?oc(de,dn(B,2)):[]}),fl=Ra(function(w){var B=Wo(w),de=Vi(w,Gc);return B=typeof B=="function"?B:i,B&&de.pop(),de.length&&de[0]===w[0]?oc(de,i,B):[]});function Bl(w,B){return w==null?"":ma.call(w,B)}function Wo(w){var B=w==null?0:w.length;return B?w[B-1]:i}function Ec(w,B,de){var Be=w==null?0:w.length;if(!Be)return-1;var Et=Be;return de!==i&&(Et=rs(de),Et=Et<0?bi(Be+Et,0):fa(Et,Be-1)),B===B?Qt(w,B,Et):ca(w,vo,Et,!0)}function _f(w,B){return w&&w.length?Wu(w,rs(B)):i}var Mc=Ra(Fc);function Fc(w,B){return w&&w.length&&B&&B.length?Xo(w,B):w}function mf(w,B,de){return w&&w.length&&B&&B.length?Xo(w,B,dn(de,2)):w}function Bc(w,B,de){return w&&w.length&&B&&B.length?Xo(w,B,i,de):w}var Af=O(function(w,B){var de=w==null?0:w.length,Be=Fs(w,B);return pl(w,Vi(B,function(Et){return Ro(Et,de)?+Et:Et}).sort(Ue)),Be});function Mf(w,B){var de=[];if(!(w&&w.length))return de;var Be=-1,Et=[],Xt=w.length;for(B=dn(B,3);++Be<Xt;){var pr=w[Be];B(pr,Be,w)&&(de.push(pr),Et.push(Be))}return pl(w,Et),de}function Nc(w){return w==null?w:ka.call(w)}function Ff(w,B,de){var Be=w==null?0:w.length;return Be?(de&&typeof de!="number"&&Ws(w,B,de)?(B=0,de=Be):(B=B==null?0:rs(B),de=de===i?Be:rs(de)),nu(w,B,de)):[]}function rf(w,B){return hc(w,B)}function vf(w,B,de){return Gl(w,B,dn(de,2))}function Hf(w,B){var de=w==null?0:w.length;if(de){var Be=hc(w,B);if(Be<de&&$c(w[Be],B))return Be}return-1}function Cf(w,B){return hc(w,B,!0)}function Bf(w,B,de){return Gl(w,B,dn(de,2),!0)}function Nf(w,B){var de=w==null?0:w.length;if(de){var Be=hc(w,B,!0)-1;if($c(w[Be],B))return Be}return-1}function nf(w){return w&&w.length?Hc(w):[]}function $f(w,B){return w&&w.length?Hc(w,dn(B,2)):[]}function Tf(w){var B=w==null?0:w.length;return B?nu(w,1,B):[]}function v(w,B,de){return w&&w.length?(B=de||B===i?1:rs(B),nu(w,0,B<0?0:B)):[]}function A(w,B,de){var Be=w==null?0:w.length;return Be?(B=de||B===i?1:rs(B),B=Be-B,nu(w,B<0?0:B,Be)):[]}function Z(w,B){return w&&w.length?_c(w,dn(B,3),!1,!0):[]}function ve(w,B){return w&&w.length?_c(w,dn(B,3)):[]}var Le=Ra(function(w){return Gu(ss(w,1,au,!0))}),lt=Ra(function(w){var B=Wo(w);return au(B)&&(B=i),Gu(ss(w,1,au,!0),dn(B,2))}),jt=Ra(function(w){var B=Wo(w);return B=typeof B=="function"?B:i,Gu(ss(w,1,au,!0),i,B)});function rr(w){return w&&w.length?Gu(w):[]}function P(w,B){return w&&w.length?Gu(w,dn(B,2)):[]}function t(w,B){return B=typeof B=="function"?B:i,w&&w.length?Gu(w,i,B):[]}function n(w){if(!(w&&w.length))return[];var B=0;return w=ja(w,function(de){if(au(de))return B=bi(de.length,B),!0}),lo(B,function(de){return Vi(w,hi(de))})}function o(w,B){if(!(w&&w.length))return[];var de=n(w);return B==null?de:Vi(de,function(Be){return La(B,i,Be)})}var m=Ra(function(w,B){return au(w)?za(w,B):[]}),E=Ra(function(w){return Vl(ja(w,au))}),C=Ra(function(w){var B=Wo(w);return au(B)&&(B=i),Vl(ja(w,au),dn(B,2))}),U=Ra(function(w){var B=Wo(w);return B=typeof B=="function"?B:i,Vl(ja(w,au),i,B)}),H=Ra(n);function $(w,B){return no(w||[],B||[],sa)}function ae(w,B){return no(w||[],B||[],Ou)}var ce=Ra(function(w){var B=w.length,de=B>1?w[B-1]:i;return de=typeof de=="function"?(w.pop(),de):i,o(w,de)});function xe(w){var B=we(w);return B.__chain__=!0,B}function Te(w,B){return B(w),w}function De(w,B){return B(w)}var tt=O(function(w){var B=w.length,de=B?w[0]:0,Be=this.__wrapped__,Et=function(Xt){return Fs(Xt,w)};return B>1||this.__actions__.length||!(Be instanceof Qr)||!Ro(de)?this.thru(Et):(Be=Be.slice(de,+de+(B?1:0)),Be.__actions__.push({func:De,args:[Et],thisArg:i}),new br(Be,this.__chain__).thru(function(Xt){return B&&!Xt.length&&Xt.push(i),Xt}))});function at(){return xe(this)}function Bt(){return new br(this.value(),this.__chain__)}function dr(){this.__values__===i&&(this.__values__=yd(this.value()));var w=this.__index__>=this.__values__.length,B=w?i:this.__values__[this.__index__++];return{done:w,value:B}}function ar(){return this}function Zr(w){for(var B,de=this;de instanceof Jr;){var Be=vs(de);Be.__index__=0,Be.__values__=i,B?Et.__wrapped__=Be:B=Be;var Et=Be;de=de.__wrapped__}return Et.__wrapped__=w,B}function Gr(){var w=this.__wrapped__;if(w instanceof Qr){var B=w;return this.__actions__.length&&(B=new Qr(this)),B=B.reverse(),B.__actions__.push({func:De,args:[Nc],thisArg:i}),new br(B,this.__chain__)}return this.thru(Nc)}function fn(){return Wc(this.__wrapped__,this.__actions__)}var Vr=So(function(w,B,de){ci.call(w,de)?++w[de]:Aa(w,de,1)});function on(w,B,de){var Be=Wa(w)?Rn:Al;return de&&Ws(w,B,de)&&(B=i),Be(w,dn(B,3))}function _n(w,B){var de=Wa(w)?ja:gu;return de(w,dn(B,3))}var Xr=Kc(xc),Yn=Kc(Jc);function di(w,B){return ss(wa(w,B),1)}function os(w,B){return ss(wa(w,B),q)}function ya(w,B,de){return de=de===i?1:rs(de),ss(wa(w,B),de)}function Ji(w,B){var de=Wa(w)?ji:Eo;return de(w,dn(B,3))}function Ri(w,B){var de=Wa(w)?Gs:zs;return de(w,dn(B,3))}var ta=So(function(w,B,de){ci.call(w,de)?w[de].push(B):Aa(w,de,[B])});function qi(w,B,de,Be){w=$l(w)?w:Zf(w),de=de&&!Be?rs(de):0;var Et=w.length;return de<0&&(de=bi(Et+de,0)),qf(w)?de<=Et&&w.indexOf(B,de)>-1:!!Et&&cs(w,B,de)>-1}var Xn=Ra(function(w,B,de){var Be=-1,Et=typeof B=="function",Xt=$l(w)?xr(w.length):[];return Eo(w,function(pr){Xt[++Be]=Et?La(B,pr,de):ai(pr,B,de)}),Xt}),ii=So(function(w,B,de){Aa(w,de,B)});function wa(w,B){var de=Wa(w)?Vi:bu;return de(w,dn(B,3))}function Sa(w,B,de,Be){return w==null?[]:(Wa(B)||(B=B==null?[]:[B]),de=Be?i:de,Wa(de)||(de=de==null?[]:[de]),Tl(w,B,de))}var ts=So(function(w,B,de){w[de?0:1].push(B)},function(){return[[],[]]});function Cs(w,B,de){var Be=Wa(w)?Da:Fa,Et=arguments.length<3;return Be(w,dn(B,4),de,Et,Eo)}function js(w,B,de){var Be=Wa(w)?ms:Fa,Et=arguments.length<3;return Be(w,dn(B,4),de,Et,zs)}function ao(w,B){var de=Wa(w)?ja:gu;return de(w,of(dn(B,3)))}function Qu(w){var B=Wa(w)?Wn:lf;return B(w)}function dl(w,B,de){(de?Ws(w,B,de):B===i)?B=1:B=rs(B);var Be=Wa(w)?pi:zc;return Be(w,B)}function af(w){var B=Wa(w)?Sr:dc;return B(w)}function Kf(w){if(w==null)return 0;if($l(w))return qf(w)?cr(w):w.length;var B=ys(w);return B==Xe||B==je?w.size:Cl(w).length}function ed(w,B,de){var Be=Wa(w)?Bs:Zc;return de&&Ws(w,B,de)&&(B=i),Be(w,dn(B,3))}var td=Ra(function(w,B){if(w==null)return[];var de=B.length;return de>1&&Ws(w,B[0],B[1])?B=[]:de>2&&Ws(B[0],B[1],B[2])&&(B=[B[0]]),Tl(w,ss(B,1),[])}),Pf=Qn||function(){return Pa.Date.now()};function Wf(w,B){if(typeof B!="function")throw new Nr(s);return w=rs(w),function(){if(--w<1)return B.apply(this,arguments)}}function rd(w,B,de){return B=de?i:B,B=w&&B==null?w.length:B,Bu(w,Q,i,i,i,i,B)}function Ts(w,B){var de;if(typeof B!="function")throw new Nr(s);return w=rs(w),function(){return--w>0&&(de=B.apply(this,arguments)),w<=1&&(B=i),de}}var pu=Ra(function(w,B,de){var Be=R;if(de.length){var Et=Ls(de,$n(pu));Be|=N}return Bu(w,Be,B,de,Et)}),wl=Ra(function(w,B,de){var Be=R|L;if(de.length){var Et=Ls(de,$n(wl));Be|=N}return Bu(B,Be,w,de,Et)});function sf(w,B,de){B=de?i:B;var Be=Bu(w,D,i,i,i,i,i,B);return Be.placeholder=sf.placeholder,Be}function Nl(w,B,de){B=de?i:B;var Be=Bu(w,M,i,i,i,i,i,B);return Be.placeholder=Nl.placeholder,Be}function gf(w,B,de){var Be,Et,Xt,pr,Lr,Yr,On=0,kn=!1,zn=!1,Ti=!0;if(typeof w!="function")throw new Nr(s);B=wc(B)||0,Go(de)&&(kn=!!de.leading,zn="maxWait"in de,Xt=zn?bi(wc(de.maxWait)||0,B):Xt,Ti="trailing"in de?!!de.trailing:Ti);function ra(su){var jc=Be,Ef=Et;return Be=Et=i,On=su,pr=w.apply(Ef,jc),pr}function Ca(su){return On=su,Lr=nc(bs,B),kn?ra(su):pr}function us(su){var jc=su-Yr,Ef=su-On,kd=B-jc;return zn?fa(kd,Xt-Ef):kd}function Ta(su){var jc=su-Yr,Ef=su-On;return Yr===i||jc>=B||jc<0||zn&&Ef>=Xt}function bs(){var su=Pf();if(Ta(su))return Ps(su);Lr=nc(bs,us(su))}function Ps(su){return Lr=i,Ti&&Be?ra(su):(Be=Et=i,pr)}function ac(){Lr!==i&&ml(Lr),On=0,Be=Yr=Et=Lr=i}function Sl(){return Lr===i?pr:Ps(Pf())}function sc(){var su=Pf(),jc=Ta(su);if(Be=arguments,Et=this,Yr=su,jc){if(Lr===i)return Ca(Yr);if(zn)return ml(Lr),Lr=nc(bs,B),ra(Yr)}return Lr===i&&(Lr=nc(bs,B)),pr}return sc.cancel=ac,sc.flush=Sl,sc}var yf=Ra(function(w,B){return Oo(w,1,B)}),Yf=Ra(function(w,B,de){return Oo(w,wc(B)||0,de)});function jf(w){return Bu(w,Y)}function kf(w,B){if(typeof w!="function"||B!=null&&typeof B!="function")throw new Nr(s);var de=function(){var Be=arguments,Et=B?B.apply(this,Be):Be[0],Xt=de.cache;if(Xt.has(Et))return Xt.get(Et);var pr=w.apply(this,Be);return de.cache=Xt.set(Et,pr)||Xt,pr};return de.cache=new(kf.Cache||Pu),de}kf.Cache=Pu;function of(w){if(typeof w!="function")throw new Nr(s);return function(){var B=arguments;switch(B.length){case 0:return!w.call(this);case 1:return!w.call(this,B[0]);case 2:return!w.call(this,B[0],B[1]);case 3:return!w.call(this,B[0],B[1],B[2])}return!w.apply(this,B)}}function Xf(w){return Ts(2,w)}var nd=Ru(function(w,B){B=B.length==1&&Wa(B[0])?Vi(B[0],Qa(dn())):Vi(ss(B,1),Qa(dn()));var de=B.length;return Ra(function(Be){for(var Et=-1,Xt=fa(Be.length,de);++Et<Xt;)Be[Et]=B[Et].call(this,Be[Et]);return La(w,this,Be)})}),Uf=Ra(function(w,B){var de=Ls(B,$n(Uf));return Bu(w,N,i,B,de)}),Gf=Ra(function(w,B){var de=Ls(B,$n(Gf));return Bu(w,j,i,B,de)}),Rf=O(function(w,B){return Bu(w,X,i,i,i,B)});function Md(w,B){if(typeof w!="function")throw new Nr(s);return B=B===i?B:rs(B),Ra(w,B)}function Fd(w,B){if(typeof w!="function")throw new Nr(s);return B=B==null?0:bi(rs(B),0),Ra(function(de){var Be=de[B],Et=$s(de,0,B);return Be&&Ia(Et,Be),La(w,this,Et)})}function Bd(w,B,de){var Be=!0,Et=!0;if(typeof w!="function")throw new Nr(s);return Go(de)&&(Be="leading"in de?!!de.leading:Be,Et="trailing"in de?!!de.trailing:Et),gf(w,B,{leading:Be,maxWait:B,trailing:Et})}function Nd(w){return rd(w,1)}function $d(w,B){return Uf(Ic(B),w)}function jd(){if(!arguments.length)return[];var w=arguments[0];return Wa(w)?w:[w]}function Ud(w){return fi(w,_)}function zd(w,B){return B=typeof B=="function"?B:i,fi(w,_,B)}function Zd(w){return fi(w,p|_)}function Hd(w,B){return B=typeof B=="function"?B:i,fi(w,p|_,B)}function Wd(w,B){return B==null||po(w,B,Uu(B))}function $c(w,B){return w===B||w!==w&&B!==B}var Gd=kl(Uo),Vd=kl(function(w,B){return w>=B}),Lf=Sc(function(){return arguments}())?Sc:function(w){return Jo(w)&&ci.call(w,"callee")&&!Kt.call(w,"callee")},Wa=xr.isArray,Kd=yi?Qa(yi):to;function $l(w){return w!=null&&Qf(w.length)&&!bf(w)}function au(w){return Jo(w)&&$l(w)}function Yd(w){return w===!0||w===!1||Jo(w)&&Zs(w)==Ht}var If=Mi||pd,Xd=Ga?Qa(Ga):uc;function Qd(w){return Jo(w)&&w.nodeType===1&&!Vf(w)}function qd(w){if(w==null)return!0;if($l(w)&&(Wa(w)||typeof w=="string"||typeof w.splice=="function"||If(w)||zf(w)||Lf(w)))return!w.length;var B=ys(w);if(B==Xe||B==je)return!w.size;if(ol(w))return!Cl(w).length;for(var de in w)if(ci.call(w,de))return!1;return!0}function Jd(w,B){return tu(w,B)}function e0(w,B,de){de=typeof de=="function"?de:i;var Be=de?de(w,B):i;return Be===i?tu(w,B,i,de):!!Be}function id(w){if(!Jo(w))return!1;var B=Zs(w);return B==qt||B==Ot||typeof w.message=="string"&&typeof w.name=="string"&&!Vf(w)}function t0(w){return typeof w=="number"&&wi(w)}function bf(w){if(!Go(w))return!1;var B=Zs(w);return B==er||B==Jt||B==$e||B==ht}function _d(w){return typeof w=="number"&&w==rs(w)}function Qf(w){return typeof w=="number"&&w>-1&&w%1==0&&w<=J}function Go(w){var B=typeof w;return w!=null&&(B=="object"||B=="function")}function Jo(w){return w!=null&&typeof w=="object"}var md=Ds?Qa(Ds):Hu;function r0(w,B){return w===B||lc(w,B,Ha(B))}function n0(w,B,de){return de=typeof de=="function"?de:i,lc(w,B,Ha(B),de)}function i0(w){return vd(w)&&w!=+w}function a0(w){if(xl(w))throw new Hn(f);return Ac(w)}function s0(w){return w===null}function o0(w){return w==null}function vd(w){return typeof w=="number"||Jo(w)&&Zs(w)==Pt}function Vf(w){if(!Jo(w)||Zs(w)!=st)return!1;var B=Qe(w);if(B===null)return!0;var de=ci.call(B,"constructor")&&B.constructor;return typeof de=="function"&&de instanceof de&&Ss.call(de)==xa}var ad=$i?Qa($i):qs;function u0(w){return _d(w)&&w>=-J&&w<=J}var gd=ps?Qa(ps):cc;function qf(w){return typeof w=="string"||!Wa(w)&&Jo(w)&&Zs(w)==ge}function ic(w){return typeof w=="symbol"||Jo(w)&&Zs(w)==Se}var zf=Co?Qa(Co):uf;function l0(w){return w===i}function c0(w){return Jo(w)&&ys(w)==Ne}function f0(w){return Jo(w)&&Zs(w)==He}var d0=kl(Hl),h0=kl(function(w,B){return w<=B});function yd(w){if(!w)return[];if($l(w))return qf(w)?sr(w):$o(w);if(jr&&w[jr])return ou(w[jr]());var B=ys(w),de=B==Xe?jo:B==je?bo:Zf;return de(w)}function xf(w){if(!w)return w===0?w:0;if(w=wc(w),w===q||w===-q){var B=w<0?-1:1;return B*le}return w===w?w:0}function rs(w){var B=xf(w),de=B%1;return B===B?de?B-de:B:0}function bd(w){return w?Rs(rs(w),0,F):0}function wc(w){if(typeof w=="number")return w;if(ic(w))return z;if(Go(w)){var B=typeof w.valueOf=="function"?w.valueOf():w;w=Go(B)?B+"":B}if(typeof w!="string")return w===0?w:+w;w=Po(w);var de=or.test(w);return de||mt.test(w)?Ni(w.slice(2),de?2:8):cn.test(w)?z:+w}function xd(w){return fu(w,jl(w))}function p0(w){return w?Rs(rs(w),-J,J):w===0?w:0}function Js(w){return w==null?"":zo(w)}var _0=nl(function(w,B){if(ol(B)||$l(B)){fu(B,Uu(B),w);return}for(var de in B)ci.call(B,de)&&sa(w,de,B[de])}),Ed=nl(function(w,B){fu(B,jl(B),w)}),Jf=nl(function(w,B,de,Be){fu(B,jl(B),w,Be)}),m0=nl(function(w,B,de,Be){fu(B,Uu(B),w,Be)}),v0=O(Fs);function g0(w,B){var de=yr(w);return B==null?de:ws(de,B)}var y0=Ra(function(w,B){w=Vn(w);var de=-1,Be=B.length,Et=Be>2?B[2]:i;for(Et&&Ws(B[0],B[1],Et)&&(Be=1);++de<Be;)for(var Xt=B[de],pr=jl(Xt),Lr=-1,Yr=pr.length;++Lr<Yr;){var On=pr[Lr],kn=w[On];(kn===i||$c(kn,zr[On])&&!ci.call(w,On))&&(w[On]=Xt[On])}return w}),b0=Ra(function(w){return w.push(i,qo),La(wd,i,w)});function x0(w,B){return uo(w,dn(B,3),wo)}function E0(w,B){return uo(w,dn(B,3),tl)}function w0(w,B){return w==null?w:uu(w,dn(B,3),jl)}function S0(w,B){return w==null?w:yu(w,dn(B,3),jl)}function A0(w,B){return w&&wo(w,dn(B,3))}function C0(w,B){return w&&tl(w,dn(B,3))}function T0(w){return w==null?[]:Iu(w,Uu(w))}function P0(w){return w==null?[]:Iu(w,jl(w))}function sd(w,B,de){var Be=w==null?i:Yo(w,B);return Be===i?de:Be}function I0(w,B){return w!=null&&ec(w,B,Du)}function od(w,B){return w!=null&&ec(w,B,Zl)}var D0=Dl(function(w,B,de){B!=null&&typeof B.toString!="function"&&(B=Os.call(B)),w[B]=de},ld(Ul)),O0=Dl(function(w,B,de){B!=null&&typeof B.toString!="function"&&(B=Os.call(B)),ci.call(w,B)?w[B].push(de):w[B]=[de]},dn),k0=Ra(ai);function Uu(w){return $l(w)?Nn(w):Cl(w)}function jl(w){return $l(w)?Nn(w,!0):Cc(w)}function R0(w,B){var de={};return B=dn(B,3),wo(w,function(Be,Et,Xt){Aa(de,B(Be,Et,Xt),Be)}),de}function L0(w,B){var de={};return B=dn(B,3),wo(w,function(Be,Et,Xt){Aa(de,Et,B(Be,Et,Xt))}),de}var M0=nl(function(w,B,de){ro(w,B,de)}),wd=nl(function(w,B,de,Be){ro(w,B,de,Be)}),F0=O(function(w,B){var de={};if(w==null)return de;var Be=!1;B=Vi(B,function(Xt){return Xt=ku(Xt,w),Be||(Be=Xt.length>1),Xt}),fu(w,me(w),de),Be&&(de=fi(de,p|y|_,gc));for(var Et=B.length;Et--;)Pl(de,B[Et]);return de});function B0(w,B){return Sd(w,of(dn(B)))}var N0=O(function(w,B){return w==null?{}:ru(w,B)});function Sd(w,B){if(w==null)return{};var de=Vi(me(w),function(Be){return[Be]});return B=dn(B),Tc(w,de,function(Be,Et){return B(Be,Et[0])})}function $0(w,B,de){B=ku(B,w);var Be=-1,Et=B.length;for(Et||(Et=1,w=i);++Be<Et;){var Xt=w==null?i:w[zi(B[Be])];Xt===i&&(Be=Et,Xt=de),w=bf(Xt)?Xt.call(w):Xt}return w}function j0(w,B,de){return w==null?w:Ou(w,B,de)}function U0(w,B,de,Be){return Be=typeof Be=="function"?Be:i,w==null?w:Ou(w,B,de,Be)}var Ad=Fu(Uu),Cd=Fu(jl);function z0(w,B,de){var Be=Wa(w),Et=Be||If(w)||zf(w);if(B=dn(B,4),de==null){var Xt=w&&w.constructor;Et?de=Be?new Xt:[]:Go(w)?de=bf(Xt)?yr(Qe(w)):{}:de={}}return(Et?ji:wo)(w,function(pr,Lr,Yr){return B(de,pr,Lr,Yr)}),de}function Z0(w,B){return w==null?!0:Pl(w,B)}function H0(w,B,de){return w==null?w:Eu(w,B,Ic(de))}function W0(w,B,de,Be){return Be=typeof Be=="function"?Be:i,w==null?w:Eu(w,B,Ic(de),Be)}function Zf(w){return w==null?[]:Lo(w,Uu(w))}function G0(w){return w==null?[]:Lo(w,jl(w))}function V0(w,B,de){return de===i&&(de=B,B=i),de!==i&&(de=wc(de),de=de===de?de:0),B!==i&&(B=wc(B),B=B===B?B:0),Rs(wc(w),B,de)}function K0(w,B,de){return B=xf(B),de===i?(de=B,B=0):de=xf(de),w=wc(w),lu(w,B,de)}function Y0(w,B,de){if(de&&typeof de!="boolean"&&Ws(w,B,de)&&(B=de=i),de===i&&(typeof B=="boolean"?(de=B,B=i):typeof w=="boolean"&&(de=w,w=i)),w===i&&B===i?(w=0,B=1):(w=xf(w),B===i?(B=w,w=0):B=xf(B)),w>B){var Be=w;w=B,B=Be}if(de||w%1||B%1){var Et=Wi();return fa(w+Et*(B-w+ui("1e-"+((Et+"").length-1))),B)}return xu(w,B)}var X0=il(function(w,B,de){return B=B.toLowerCase(),w+(de?Td(B):B)});function Td(w){return ud(Js(w).toLowerCase())}function Pd(w){return w=Js(w),w&&w.replace($t,fo).replace(Er,"")}function Q0(w,B,de){w=Js(w),B=zo(B);var Be=w.length;de=de===i?Be:Rs(rs(de),0,Be);var Et=de;return de-=B.length,de>=0&&w.slice(de,Et)==B}function q0(w){return w=Js(w),w&&dt.test(w)?w.replace(Dt,fs):w}function J0(w){return w=Js(w),w&&Rt.test(w)?w.replace(vt,"\\$&"):w}var eh=il(function(w,B,de){return w+(de?"-":"")+B.toLowerCase()}),th=il(function(w,B,de){return w+(de?" ":"")+B.toLowerCase()}),rh=Zo("toLowerCase");function nh(w,B,de){w=Js(w),B=rs(B);var Be=B?cr(w):0;if(!B||Be>=B)return w;var Et=(B-Be)/2;return gl(Ii(Et),de)+w+gl(_i(Et),de)}function ih(w,B,de){w=Js(w),B=rs(B);var Be=B?cr(w):0;return B&&Be<B?w+gl(B-Be,de):w}function ah(w,B,de){w=Js(w),B=rs(B);var Be=B?cr(w):0;return B&&Be<B?gl(B-Be,de)+w:w}function sh(w,B,de){return de||B==null?B=0:B&&(B=+B),Es(Js(w).replace(Fe,""),B||0)}function oh(w,B,de){return(de?Ws(w,B,de):B===i)?B=1:B=rs(B),_l(Js(w),B)}function uh(){var w=arguments,B=Js(w[0]);return w.length<3?B:B.replace(w[1],w[2])}var lh=il(function(w,B,de){return w+(de?"_":"")+B.toLowerCase()});function ch(w,B,de){return de&&typeof de!="number"&&Ws(w,B,de)&&(B=de=i),de=de===i?F:de>>>0,de?(w=Js(w),w&&(typeof B=="string"||B!=null&&!ad(B))&&(B=zo(B),!B&&Io(w))?$s(sr(w),0,de):w.split(B,de)):[]}var fh=il(function(w,B,de){return w+(de?" ":"")+ud(B)});function dh(w,B,de){return w=Js(w),de=de==null?0:Rs(rs(de),0,w.length),B=zo(B),w.slice(de,de+B.length)==B}function hh(w,B,de){var Be=we.templateSettings;de&&Ws(w,B,de)&&(B=i),w=Js(w),B=Jf({},B,Be,iu);var Et=Jf({},B.imports,Be.imports,iu),Xt=Uu(Et),pr=Lo(Et,Xt),Lr,Yr,On=0,kn=B.interpolate||Cr,zn="__p += '",Ti=li((B.escape||Cr).source+"|"+kn.source+"|"+(kn===Oe?Ur:Cr).source+"|"+(B.evaluate||Cr).source+"|$","g"),ra="//# sourceURL="+(ci.call(B,"sourceURL")?(B.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++rn+"]")+`
`;w.replace(Ti,function(Ta,bs,Ps,ac,Sl,sc){return Ps||(Ps=ac),zn+=w.slice(On,sc).replace(gr,zu),bs&&(Lr=!0,zn+=`' +
__e(`+bs+`) +
'`),Sl&&(Yr=!0,zn+=`';
`+Sl+`;
__p += '`),Ps&&(zn+=`' +
((__t = (`+Ps+`)) == null ? '' : __t) +
'`),On=sc+Ta.length,Ta}),zn+=`';
`;var Ca=ci.call(B,"variable")&&B.variable;if(!Ca)zn=`with (obj) {
`+zn+`
}
`;else if(Br.test(Ca))throw new Hn(h);zn=(Yr?zn.replace(Yt,""):zn).replace(We,"$1").replace(fe,"$1;"),zn="function("+(Ca||"obj")+`) {
`+(Ca?"":`obj || (obj = {});
`)+"var __t, __p = ''"+(Lr?", __e = _.escape":"")+(Yr?`, __j = Array.prototype.join;
function print() { __p += __j.call(arguments, '') }
`:`;
`)+zn+`return __p
}`;var us=Dd(function(){return ft(Xt,ra+"return "+zn).apply(i,pr)});if(us.source=zn,id(us))throw us;return us}function ph(w){return Js(w).toLowerCase()}function _h(w){return Js(w).toUpperCase()}function mh(w,B,de){if(w=Js(w),w&&(de||B===i))return Po(w);if(!w||!(B=zo(B)))return w;var Be=sr(w),Et=sr(B),Xt=Ko(Be,Et),pr=Tu(Be,Et)+1;return $s(Be,Xt,pr).join("")}function vh(w,B,de){if(w=Js(w),w&&(de||B===i))return w.slice(0,vr(w)+1);if(!w||!(B=zo(B)))return w;var Be=sr(w),Et=Tu(Be,sr(B))+1;return $s(Be,0,Et).join("")}function gh(w,B,de){if(w=Js(w),w&&(de||B===i))return w.replace(Fe,"");if(!w||!(B=zo(B)))return w;var Be=sr(w),Et=Ko(Be,sr(B));return $s(Be,Et).join("")}function yh(w,B){var de=oe,Be=ie;if(Go(B)){var Et="separator"in B?B.separator:Et;de="length"in B?rs(B.length):de,Be="omission"in B?zo(B.omission):Be}w=Js(w);var Xt=w.length;if(Io(w)){var pr=sr(w);Xt=pr.length}if(de>=Xt)return w;var Lr=de-cr(Be);if(Lr<1)return Be;var Yr=pr?$s(pr,0,Lr).join(""):w.slice(0,Lr);if(Et===i)return Yr+Be;if(pr&&(Lr+=Yr.length-Lr),ad(Et)){if(w.slice(Lr).search(Et)){var On,kn=Yr;for(Et.global||(Et=li(Et.source,Js(sn.exec(Et))+"g")),Et.lastIndex=0;On=Et.exec(kn);)var zn=On.index;Yr=Yr.slice(0,zn===i?Lr:zn)}}else if(w.indexOf(zo(Et),Lr)!=Lr){var Ti=Yr.lastIndexOf(Et);Ti>-1&&(Yr=Yr.slice(0,Ti))}return Yr+Be}function bh(w){return w=Js(w),w&&Ce.test(w)?w.replace(pe,wr):w}var xh=il(function(w,B,de){return w+(de?" ":"")+B.toUpperCase()}),ud=Zo("toUpperCase");function Id(w,B,de){return w=Js(w),B=de?i:B,B===i?Us(w)?Un(w):Vo(w):w.match(B)||[]}var Dd=Ra(function(w,B){try{return La(w,i,B)}catch(de){return id(de)?de:new Hn(de)}}),Eh=O(function(w,B){return ji(B,function(de){de=zi(de),Aa(w,de,pu(w[de],w))}),w});function wh(w){var B=w==null?0:w.length,de=dn();return w=B?Vi(w,function(Be){if(typeof Be[1]!="function")throw new Nr(s);return[de(Be[0]),Be[1]]}):[],Ra(function(Be){for(var Et=-1;++Et<B;){var Xt=w[Et];if(La(Xt[0],this,Be))return La(Xt[1],this,Be)}})}function Sh(w){return Qs(fi(w,p))}function ld(w){return function(){return w}}function Ah(w,B){return w==null||w!==w?B:w}var Ch=oo(),Th=oo(!0);function Ul(w){return w}function cd(w){return Bo(typeof w=="function"?w:fi(w,p))}function Ph(w){return Wl(fi(w,p))}function Ih(w,B){return Hs(w,fi(B,p))}var Dh=Ra(function(w,B){return function(de){return ai(de,w,B)}}),Oh=Ra(function(w,B){return function(de){return ai(w,de,B)}});function fd(w,B,de){var Be=Uu(B),Et=Iu(B,Be);de==null&&!(Go(B)&&(Et.length||!Be.length))&&(de=B,B=w,w=this,Et=Iu(B,Uu(B)));var Xt=!(Go(de)&&"chain"in de)||!!de.chain,pr=bf(w);return ji(Et,function(Lr){var Yr=B[Lr];w[Lr]=Yr,pr&&(w.prototype[Lr]=function(){var On=this.__chain__;if(Xt||On){var kn=w(this.__wrapped__),zn=kn.__actions__=$o(this.__actions__);return zn.push({func:Yr,args:arguments,thisArg:w}),kn.__chain__=On,kn}return Yr.apply(w,Ia([this.value()],arguments))})}),w}function kh(){return Pa._===this&&(Pa._=ds),this}function dd(){}function Rh(w){return w=rs(w),Ra(function(B){return Wu(B,w)})}var Lh=Ql(Vi),Mh=Ql(Rn),Fh=Ql(Bs);function Od(w){return Ja(w)?hi(zi(w)):cu(w)}function Bh(w){return function(B){return w==null?i:Yo(w,B)}}var Nh=df(),$h=df(!0);function hd(){return[]}function pd(){return!1}function jh(){return{}}function Uh(){return""}function zh(){return!0}function Zh(w,B){if(w=rs(w),w<1||w>J)return[];var de=F,Be=fa(w,F);B=dn(B),w-=F;for(var Et=lo(Be,B);++de<w;)B(de);return Et}function Hh(w){return Wa(w)?Vi(w,zi):ic(w)?[w]:$o(Ea(Js(w)))}function Wh(w){var B=++Vs;return Js(w)+B}var Gh=Xl(function(w,B){return w+B},0),Vh=yl("ceil"),Kh=Xl(function(w,B){return w/B},1),Yh=yl("floor");function Xh(w){return w&&w.length?Ju(w,Ul,Uo):i}function Qh(w,B){return w&&w.length?Ju(w,dn(B,2),Uo):i}function qh(w){return go(w,Ul)}function Jh(w,B){return go(w,dn(B,2))}function ep(w){return w&&w.length?Ju(w,Ul,Hl):i}function tp(w,B){return w&&w.length?Ju(w,dn(B,2),Hl):i}var rp=Xl(function(w,B){return w*B},1),np=yl("round"),ip=Xl(function(w,B){return w-B},0);function ap(w){return w&&w.length?Xa(w,Ul):0}function sp(w,B){return w&&w.length?Xa(w,dn(B,2)):0}return we.after=Wf,we.ary=rd,we.assign=_0,we.assignIn=Ed,we.assignInWith=Jf,we.assignWith=m0,we.at=v0,we.before=Ts,we.bind=pu,we.bindAll=Eh,we.bindKey=wl,we.castArray=jd,we.chain=xe,we.chunk=Ki,we.compact=es,we.concat=Ku,we.cond=wh,we.conforms=Sh,we.constant=ld,we.countBy=Vr,we.create=g0,we.curry=sf,we.curryRight=Nl,we.debounce=gf,we.defaults=y0,we.defaultsDeep=b0,we.defer=yf,we.delay=Yf,we.difference=ju,we.differenceBy=Yu,we.differenceWith=ul,we.drop=ll,we.dropRight=Df,we.dropRightWhile=wf,we.dropWhile=Fl,we.fill=Sf,we.filter=_n,we.flatMap=di,we.flatMapDeep=os,we.flatMapDepth=ya,we.flatten=hf,we.flattenDeep=cl,we.flattenDepth=Of,we.flip=jf,we.flow=Ch,we.flowRight=Th,we.fromPairs=Xu,we.functions=T0,we.functionsIn=P0,we.groupBy=ta,we.initial=Ho,we.intersection=tf,we.intersectionBy=pf,we.intersectionWith=fl,we.invert=D0,we.invertBy=O0,we.invokeMap=Xn,we.iteratee=cd,we.keyBy=ii,we.keys=Uu,we.keysIn=jl,we.map=wa,we.mapKeys=R0,we.mapValues=L0,we.matches=Ph,we.matchesProperty=Ih,we.memoize=kf,we.merge=M0,we.mergeWith=wd,we.method=Dh,we.methodOf=Oh,we.mixin=fd,we.negate=of,we.nthArg=Rh,we.omit=F0,we.omitBy=B0,we.once=Xf,we.orderBy=Sa,we.over=Lh,we.overArgs=nd,we.overEvery=Mh,we.overSome=Fh,we.partial=Uf,we.partialRight=Gf,we.partition=ts,we.pick=N0,we.pickBy=Sd,we.property=Od,we.propertyOf=Bh,we.pull=Mc,we.pullAll=Fc,we.pullAllBy=mf,we.pullAllWith=Bc,we.pullAt=Af,we.range=Nh,we.rangeRight=$h,we.rearg=Rf,we.reject=ao,we.remove=Mf,we.rest=Md,we.reverse=Nc,we.sampleSize=dl,we.set=j0,we.setWith=U0,we.shuffle=af,we.slice=Ff,we.sortBy=td,we.sortedUniq=nf,we.sortedUniqBy=$f,we.split=ch,we.spread=Fd,we.tail=Tf,we.take=v,we.takeRight=A,we.takeRightWhile=Z,we.takeWhile=ve,we.tap=Te,we.throttle=Bd,we.thru=De,we.toArray=yd,we.toPairs=Ad,we.toPairsIn=Cd,we.toPath=Hh,we.toPlainObject=xd,we.transform=z0,we.unary=Nd,we.union=Le,we.unionBy=lt,we.unionWith=jt,we.uniq=rr,we.uniqBy=P,we.uniqWith=t,we.unset=Z0,we.unzip=n,we.unzipWith=o,we.update=H0,we.updateWith=W0,we.values=Zf,we.valuesIn=G0,we.without=m,we.words=Id,we.wrap=$d,we.xor=E,we.xorBy=C,we.xorWith=U,we.zip=H,we.zipObject=$,we.zipObjectDeep=ae,we.zipWith=ce,we.entries=Ad,we.entriesIn=Cd,we.extend=Ed,we.extendWith=Jf,fd(we,we),we.add=Gh,we.attempt=Dd,we.camelCase=X0,we.capitalize=Td,we.ceil=Vh,we.clamp=V0,we.clone=Ud,we.cloneDeep=Zd,we.cloneDeepWith=Hd,we.cloneWith=zd,we.conformsTo=Wd,we.deburr=Pd,we.defaultTo=Ah,we.divide=Kh,we.endsWith=Q0,we.eq=$c,we.escape=q0,we.escapeRegExp=J0,we.every=on,we.find=Xr,we.findIndex=xc,we.findKey=x0,we.findLast=Yn,we.findLastIndex=Jc,we.findLastKey=E0,we.floor=Yh,we.forEach=Ji,we.forEachRight=Ri,we.forIn=w0,we.forInRight=S0,we.forOwn=A0,we.forOwnRight=C0,we.get=sd,we.gt=Gd,we.gte=Vd,we.has=I0,we.hasIn=od,we.head=Lc,we.identity=Ul,we.includes=qi,we.indexOf=ef,we.inRange=K0,we.invoke=k0,we.isArguments=Lf,we.isArray=Wa,we.isArrayBuffer=Kd,we.isArrayLike=$l,we.isArrayLikeObject=au,we.isBoolean=Yd,we.isBuffer=If,we.isDate=Xd,we.isElement=Qd,we.isEmpty=qd,we.isEqual=Jd,we.isEqualWith=e0,we.isError=id,we.isFinite=t0,we.isFunction=bf,we.isInteger=_d,we.isLength=Qf,we.isMap=md,we.isMatch=r0,we.isMatchWith=n0,we.isNaN=i0,we.isNative=a0,we.isNil=o0,we.isNull=s0,we.isNumber=vd,we.isObject=Go,we.isObjectLike=Jo,we.isPlainObject=Vf,we.isRegExp=ad,we.isSafeInteger=u0,we.isSet=gd,we.isString=qf,we.isSymbol=ic,we.isTypedArray=zf,we.isUndefined=l0,we.isWeakMap=c0,we.isWeakSet=f0,we.join=Bl,we.kebabCase=eh,we.last=Wo,we.lastIndexOf=Ec,we.lowerCase=th,we.lowerFirst=rh,we.lt=d0,we.lte=h0,we.max=Xh,we.maxBy=Qh,we.mean=qh,we.meanBy=Jh,we.min=ep,we.minBy=tp,we.stubArray=hd,we.stubFalse=pd,we.stubObject=jh,we.stubString=Uh,we.stubTrue=zh,we.multiply=rp,we.nth=_f,we.noConflict=kh,we.noop=dd,we.now=Pf,we.pad=nh,we.padEnd=ih,we.padStart=ah,we.parseInt=sh,we.random=Y0,we.reduce=Cs,we.reduceRight=js,we.repeat=oh,we.replace=uh,we.result=$0,we.round=np,we.runInContext=ur,we.sample=Qu,we.size=Kf,we.snakeCase=lh,we.some=ed,we.sortedIndex=rf,we.sortedIndexBy=vf,we.sortedIndexOf=Hf,we.sortedLastIndex=Cf,we.sortedLastIndexBy=Bf,we.sortedLastIndexOf=Nf,we.startCase=fh,we.startsWith=dh,we.subtract=ip,we.sum=ap,we.sumBy=sp,we.template=hh,we.times=Zh,we.toFinite=xf,we.toInteger=rs,we.toLength=bd,we.toLower=ph,we.toNumber=wc,we.toSafeInteger=p0,we.toString=Js,we.toUpper=_h,we.trim=mh,we.trimEnd=vh,we.trimStart=gh,we.truncate=yh,we.unescape=bh,we.uniqueId=Wh,we.upperCase=xh,we.upperFirst=ud,we.each=Ji,we.eachRight=Ri,we.first=Lc,fd(we,function(){var w={};return wo(we,function(B,de){ci.call(we.prototype,de)||(w[de]=B)}),w}(),{chain:!1}),we.VERSION=l,ji(["bind","bindKey","curry","curryRight","partial","partialRight"],function(w){we[w].placeholder=we}),ji(["drop","take"],function(w,B){Qr.prototype[w]=function(de){de=de===i?1:bi(rs(de),0);var Be=this.__filtered__&&!B?new Qr(this):this.clone();return Be.__filtered__?Be.__takeCount__=fa(de,Be.__takeCount__):Be.__views__.push({size:fa(de,F),type:w+(Be.__dir__<0?"Right":"")}),Be},Qr.prototype[w+"Right"]=function(de){return this.reverse()[w](de).reverse()}}),ji(["filter","map","takeWhile"],function(w,B){var de=B+1,Be=de==V||de==te;Qr.prototype[w]=function(Et){var Xt=this.clone();return Xt.__iteratees__.push({iteratee:dn(Et,3),type:de}),Xt.__filtered__=Xt.__filtered__||Be,Xt}}),ji(["head","last"],function(w,B){var de="take"+(B?"Right":"");Qr.prototype[w]=function(){return this[de](1).value()[0]}}),ji(["initial","tail"],function(w,B){var de="drop"+(B?"":"Right");Qr.prototype[w]=function(){return this.__filtered__?new Qr(this):this[de](1)}}),Qr.prototype.compact=function(){return this.filter(Ul)},Qr.prototype.find=function(w){return this.filter(w).head()},Qr.prototype.findLast=function(w){return this.reverse().find(w)},Qr.prototype.invokeMap=Ra(function(w,B){return typeof w=="function"?new Qr(this):this.map(function(de){return ai(de,w,B)})}),Qr.prototype.reject=function(w){return this.filter(of(dn(w)))},Qr.prototype.slice=function(w,B){w=rs(w);var de=this;return de.__filtered__&&(w>0||B<0)?new Qr(de):(w<0?de=de.takeRight(-w):w&&(de=de.drop(w)),B!==i&&(B=rs(B),de=B<0?de.dropRight(-B):de.take(B-w)),de)},Qr.prototype.takeRightWhile=function(w){return this.reverse().takeWhile(w).reverse()},Qr.prototype.toArray=function(){return this.take(F)},wo(Qr.prototype,function(w,B){var de=/^(?:filter|find|map|reject)|While$/.test(B),Be=/^(?:head|last)$/.test(B),Et=we[Be?"take"+(B=="last"?"Right":""):B],Xt=Be||/^find/.test(B);Et&&(we.prototype[B]=function(){var pr=this.__wrapped__,Lr=Be?[1]:arguments,Yr=pr instanceof Qr,On=Lr[0],kn=Yr||Wa(pr),zn=function(bs){var Ps=Et.apply(we,Ia([bs],Lr));return Be&&Ti?Ps[0]:Ps};kn&&de&&typeof On=="function"&&On.length!=1&&(Yr=kn=!1);var Ti=this.__chain__,ra=!!this.__actions__.length,Ca=Xt&&!Ti,us=Yr&&!ra;if(!Xt&&kn){pr=us?pr:new Qr(this);var Ta=w.apply(pr,Lr);return Ta.__actions__.push({func:De,args:[zn],thisArg:i}),new br(Ta,Ti)}return Ca&&us?w.apply(this,Lr):(Ta=this.thru(zn),Ca?Be?Ta.value()[0]:Ta.value():Ta)})}),ji(["pop","push","shift","sort","splice","unshift"],function(w){var B=Li[w],de=/^(?:push|sort|unshift)$/.test(w)?"tap":"thru",Be=/^(?:pop|shift)$/.test(w);we.prototype[w]=function(){var Et=arguments;if(Be&&!this.__chain__){var Xt=this.value();return B.apply(Wa(Xt)?Xt:[],Et)}return this[de](function(pr){return B.apply(Wa(pr)?pr:[],Et)})}}),wo(Qr.prototype,function(w,B){var de=we[B];if(de){var Be=de.name+"";ci.call(so,Be)||(so[Be]=[]),so[Be].push({name:B,func:de})}}),so[du(i,L).name]=[{name:"wrapper",func:i}],Qr.prototype.clone=Cn,Qr.prototype.reverse=ri,Qr.prototype.value=Fi,we.prototype.at=tt,we.prototype.chain=at,we.prototype.commit=Bt,we.prototype.next=dr,we.prototype.plant=Zr,we.prototype.reverse=Gr,we.prototype.toJSON=we.prototype.valueOf=we.prototype.value=fn,we.prototype.first=we.prototype.head,jr&&(we.prototype[jr]=ar),we},Gn=Ln();Pa._=Gn,r=function(){return Gn}.call(g,e,g,d),r!==i&&(d.exports=r)}).call(this)},28440:function(d,g,e){var r=e(50097),i=e(63323),l=i(function(c,f,s){r(c,f,s)});d.exports=l},55950:function(d){function g(){return!1}d.exports=g},20480:function(d,g,e){var r=e(95378),i=e(56730);function l(c){return r(c,i(c))}d.exports=l},32834:function(d){(function(g,e){d.exports=e()})(this,function(){"use strict";function g(Tt,Oe){for(var St=0;St<Oe.length;St++){var be=Oe[St];be.enumerable=be.enumerable||!1,be.configurable=!0,"value"in be&&(be.writable=!0),Object.defineProperty(Tt,be.key,be)}}function e(Tt,Oe,St){return Oe&&g(Tt.prototype,Oe),St&&g(Tt,St),Tt}function r(Tt,Oe){if(Tt){if(typeof Tt=="string")return i(Tt,Oe);var St=Object.prototype.toString.call(Tt).slice(8,-1);if(St==="Object"&&Tt.constructor&&(St=Tt.constructor.name),St==="Map"||St==="Set")return Array.from(Tt);if(St==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(St))return i(Tt,Oe)}}function i(Tt,Oe){(Oe==null||Oe>Tt.length)&&(Oe=Tt.length);for(var St=0,be=new Array(Oe);St<Oe;St++)be[St]=Tt[St];return be}function l(Tt,Oe){var St=typeof Symbol!="undefined"&&Tt[Symbol.iterator]||Tt["@@iterator"];if(St)return(St=St.call(Tt)).next.bind(St);if(Array.isArray(Tt)||(St=r(Tt))||Oe&&Tt&&typeof Tt.length=="number"){St&&(Tt=St);var be=0;return function(){return be>=Tt.length?{done:!0}:{done:!1,value:Tt[be++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var c={exports:{}};function f(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}function s(Tt){c.exports.defaults=Tt}c.exports={defaults:f(),getDefaults:f,changeDefaults:s};var h=/[&<>"']/,u=/[&<>"']/g,a=/[<>"']|&(?!#?\w+;)/,x=/[<>"']|&(?!#?\w+;)/g,p={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},y=function(Oe){return p[Oe]};function _(Tt,Oe){if(Oe){if(h.test(Tt))return Tt.replace(u,y)}else if(a.test(Tt))return Tt.replace(x,y);return Tt}var b=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function S(Tt){return Tt.replace(b,function(Oe,St){return St=St.toLowerCase(),St==="colon"?":":St.charAt(0)==="#"?St.charAt(1)==="x"?String.fromCharCode(parseInt(St.substring(2),16)):String.fromCharCode(+St.substring(1)):""})}var R=/(^|[^\[])\^/g;function L(Tt,Oe){Tt=Tt.source||Tt,Oe=Oe||"";var St={replace:function(Ke,vt){return vt=vt.source||vt,vt=vt.replace(R,"$1"),Tt=Tt.replace(Ke,vt),St},getRegex:function(){return new RegExp(Tt,Oe)}};return St}var T=/[^\w:]/g,D=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function M(Tt,Oe,St){if(Tt){var be;try{be=decodeURIComponent(S(St)).replace(T,"").toLowerCase()}catch(Ke){return null}if(be.indexOf("javascript:")===0||be.indexOf("vbscript:")===0||be.indexOf("data:")===0)return null}Oe&&!D.test(St)&&(St=Y(Oe,St));try{St=encodeURI(St).replace(/%25/g,"%")}catch(Ke){return null}return St}var N={},j=/^[^:]+:\/*[^/]*$/,Q=/^([^:]+:)[\s\S]*$/,X=/^([^:]+:\/*[^/]*)[\s\S]*$/;function Y(Tt,Oe){N[" "+Tt]||(j.test(Tt)?N[" "+Tt]=Tt+"/":N[" "+Tt]=K(Tt,"/",!0)),Tt=N[" "+Tt];var St=Tt.indexOf(":")===-1;return Oe.substring(0,2)==="//"?St?Oe:Tt.replace(Q,"$1")+Oe:Oe.charAt(0)==="/"?St?Oe:Tt.replace(X,"$1")+Oe:Tt+Oe}var oe={exec:function(){}};function ie(Tt){for(var Oe=1,St,be;Oe<arguments.length;Oe++){St=arguments[Oe];for(be in St)Object.prototype.hasOwnProperty.call(St,be)&&(Tt[be]=St[be])}return Tt}function ue(Tt,Oe){var St=Tt.replace(/\|/g,function(vt,Rt,Fe){for(var kr=!1,At=Rt;--At>=0&&Fe[At]==="\\";)kr=!kr;return kr?"|":" |"}),be=St.split(/ \|/),Ke=0;if(be.length>Oe)be.splice(Oe);else for(;be.length<Oe;)be.push("");for(;Ke<be.length;Ke++)be[Ke]=be[Ke].trim().replace(/\\\|/g,"|");return be}function K(Tt,Oe,St){var be=Tt.length;if(be===0)return"";for(var Ke=0;Ke<be;){var vt=Tt.charAt(be-Ke-1);if(vt===Oe&&!St)Ke++;else if(vt!==Oe&&St)Ke++;else break}return Tt.substr(0,be-Ke)}function V(Tt,Oe){if(Tt.indexOf(Oe[1])===-1)return-1;for(var St=Tt.length,be=0,Ke=0;Ke<St;Ke++)if(Tt[Ke]==="\\")Ke++;else if(Tt[Ke]===Oe[0])be++;else if(Tt[Ke]===Oe[1]&&(be--,be<0))return Ke;return-1}function G(Tt){Tt&&Tt.sanitize&&!Tt.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}function te(Tt,Oe){if(Oe<1)return"";for(var St="";Oe>1;)Oe&1&&(St+=Tt),Oe>>=1,Tt+=Tt;return St+Tt}var q={escape:_,unescape:S,edit:L,cleanUrl:M,resolveUrl:Y,noopTest:oe,merge:ie,splitCells:ue,rtrim:K,findClosingBracket:V,checkSanitizeDeprecation:G,repeatString:te},J=c.exports.defaults,le=q.rtrim,z=q.splitCells,F=q.escape,se=q.findClosingBracket;function _e(Tt,Oe,St){var be=Oe.href,Ke=Oe.title?F(Oe.title):null,vt=Tt[1].replace(/\\([\[\]])/g,"$1");return Tt[0].charAt(0)!=="!"?{type:"link",raw:St,href:be,title:Ke,text:vt}:{type:"image",raw:St,href:be,title:Ke,text:F(vt)}}function Pe(Tt,Oe){var St=Tt.match(/^(\s+)(?:```)/);if(St===null)return Oe;var be=St[1];return Oe.split(`
`).map(function(Ke){var vt=Ke.match(/^\s+/);if(vt===null)return Ke;var Rt=vt[0];return Rt.length>=be.length?Ke.slice(be.length):Ke}).join(`
`)}var Re=function(){function Tt(St){this.options=St||J}var Oe=Tt.prototype;return Oe.space=function(be){var Ke=this.rules.block.newline.exec(be);if(Ke)return Ke[0].length>1?{type:"space",raw:Ke[0]}:{raw:`
`}},Oe.code=function(be){var Ke=this.rules.block.code.exec(be);if(Ke){var vt=Ke[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:Ke[0],codeBlockStyle:"indented",text:this.options.pedantic?vt:le(vt,`
`)}}},Oe.fences=function(be){var Ke=this.rules.block.fences.exec(be);if(Ke){var vt=Ke[0],Rt=Pe(vt,Ke[3]||"");return{type:"code",raw:vt,lang:Ke[2]?Ke[2].trim():Ke[2],text:Rt}}},Oe.heading=function(be){var Ke=this.rules.block.heading.exec(be);if(Ke){var vt=Ke[2].trim();if(/#$/.test(vt)){var Rt=le(vt,"#");(this.options.pedantic||!Rt||/ $/.test(Rt))&&(vt=Rt.trim())}return{type:"heading",raw:Ke[0],depth:Ke[1].length,text:vt}}},Oe.nptable=function(be){var Ke=this.rules.block.nptable.exec(be);if(Ke){var vt={type:"table",header:z(Ke[1].replace(/^ *| *\| *$/g,"")),align:Ke[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:Ke[3]?Ke[3].replace(/\n$/,"").split(`
`):[],raw:Ke[0]};if(vt.header.length===vt.align.length){var Rt=vt.align.length,Fe;for(Fe=0;Fe<Rt;Fe++)/^ *-+: *$/.test(vt.align[Fe])?vt.align[Fe]="right":/^ *:-+: *$/.test(vt.align[Fe])?vt.align[Fe]="center":/^ *:-+ *$/.test(vt.align[Fe])?vt.align[Fe]="left":vt.align[Fe]=null;for(Rt=vt.cells.length,Fe=0;Fe<Rt;Fe++)vt.cells[Fe]=z(vt.cells[Fe],vt.header.length);return vt}}},Oe.hr=function(be){var Ke=this.rules.block.hr.exec(be);if(Ke)return{type:"hr",raw:Ke[0]}},Oe.blockquote=function(be){var Ke=this.rules.block.blockquote.exec(be);if(Ke){var vt=Ke[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:Ke[0],text:vt}}},Oe.list=function(be){var Ke=this.rules.block.list.exec(be);if(Ke){var vt=Ke[0],Rt=Ke[2],Fe=Rt.length>1,kr={type:"list",raw:vt,ordered:Fe,start:Fe?+Rt.slice(0,-1):"",loose:!1,items:[]},At=Ke[0].match(this.rules.block.item),Kr=!1,qr,Ar,Br,_r,Ur,sn,cn,or,Lt,mt=At.length;Br=this.rules.block.listItemStart.exec(At[0]);for(var gt=0;gt<mt;gt++){if(qr=At[gt],vt=qr,this.options.pedantic||(Lt=qr.match(new RegExp("\\n\\s*\\n {0,"+(Br[0].length-1)+"}\\S")),Lt&&(Ur=qr.length-Lt.index+At.slice(gt+1).join(`
`).length,kr.raw=kr.raw.substring(0,kr.raw.length-Ur),qr=qr.substring(0,Lt.index),vt=qr,mt=gt+1)),gt!==mt-1){if(_r=this.rules.block.listItemStart.exec(At[gt+1]),this.options.pedantic?_r[1].length>Br[1].length:_r[1].length>=Br[0].length||_r[1].length>3){At.splice(gt,2,At[gt]+(!this.options.pedantic&&_r[1].length<Br[0].length&&!At[gt].match(/\n$/)?"":`
`)+At[gt+1]),gt--,mt--;continue}else(!this.options.pedantic||this.options.smartLists?_r[2][_r[2].length-1]!==Rt[Rt.length-1]:Fe===(_r[2].length===1))&&(Ur=At.slice(gt+1).join(`
`).length,kr.raw=kr.raw.substring(0,kr.raw.length-Ur),gt=mt-1);Br=_r}Ar=qr.length,qr=qr.replace(/^ *([*+-]|\d+[.)]) ?/,""),~qr.indexOf(`
`)&&(Ar-=qr.length,qr=this.options.pedantic?qr.replace(/^ {1,4}/gm,""):qr.replace(new RegExp("^ {1,"+Ar+"}","gm"),"")),qr=le(qr,`
`),gt!==mt-1&&(vt=vt+`
`),sn=Kr||/\n\n(?!\s*$)/.test(vt),gt!==mt-1&&(Kr=vt.slice(-2)===`
`,sn||(sn=Kr)),sn&&(kr.loose=!0),this.options.gfm&&(cn=/^\[[ xX]\] /.test(qr),or=void 0,cn&&(or=qr[1]!==" ",qr=qr.replace(/^\[[ xX]\] +/,""))),kr.items.push({type:"list_item",raw:vt,task:cn,checked:or,loose:sn,text:qr})}return kr}},Oe.html=function(be){var Ke=this.rules.block.html.exec(be);if(Ke)return{type:this.options.sanitize?"paragraph":"html",raw:Ke[0],pre:!this.options.sanitizer&&(Ke[1]==="pre"||Ke[1]==="script"||Ke[1]==="style"),text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(Ke[0]):F(Ke[0]):Ke[0]}},Oe.def=function(be){var Ke=this.rules.block.def.exec(be);if(Ke){Ke[3]&&(Ke[3]=Ke[3].substring(1,Ke[3].length-1));var vt=Ke[1].toLowerCase().replace(/\s+/g," ");return{type:"def",tag:vt,raw:Ke[0],href:Ke[2],title:Ke[3]}}},Oe.table=function(be){var Ke=this.rules.block.table.exec(be);if(Ke){var vt={type:"table",header:z(Ke[1].replace(/^ *| *\| *$/g,"")),align:Ke[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:Ke[3]?Ke[3].replace(/\n$/,"").split(`
`):[]};if(vt.header.length===vt.align.length){vt.raw=Ke[0];var Rt=vt.align.length,Fe;for(Fe=0;Fe<Rt;Fe++)/^ *-+: *$/.test(vt.align[Fe])?vt.align[Fe]="right":/^ *:-+: *$/.test(vt.align[Fe])?vt.align[Fe]="center":/^ *:-+ *$/.test(vt.align[Fe])?vt.align[Fe]="left":vt.align[Fe]=null;for(Rt=vt.cells.length,Fe=0;Fe<Rt;Fe++)vt.cells[Fe]=z(vt.cells[Fe].replace(/^ *\| *| *\| *$/g,""),vt.header.length);return vt}}},Oe.lheading=function(be){var Ke=this.rules.block.lheading.exec(be);if(Ke)return{type:"heading",raw:Ke[0],depth:Ke[2].charAt(0)==="="?1:2,text:Ke[1]}},Oe.paragraph=function(be){var Ke=this.rules.block.paragraph.exec(be);if(Ke)return{type:"paragraph",raw:Ke[0],text:Ke[1].charAt(Ke[1].length-1)===`
`?Ke[1].slice(0,-1):Ke[1]}},Oe.text=function(be){var Ke=this.rules.block.text.exec(be);if(Ke)return{type:"text",raw:Ke[0],text:Ke[0]}},Oe.escape=function(be){var Ke=this.rules.inline.escape.exec(be);if(Ke)return{type:"escape",raw:Ke[0],text:F(Ke[1])}},Oe.tag=function(be,Ke,vt){var Rt=this.rules.inline.tag.exec(be);if(Rt)return!Ke&&/^<a /i.test(Rt[0])?Ke=!0:Ke&&/^<\/a>/i.test(Rt[0])&&(Ke=!1),!vt&&/^<(pre|code|kbd|script)(\s|>)/i.test(Rt[0])?vt=!0:vt&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(Rt[0])&&(vt=!1),{type:this.options.sanitize?"text":"html",raw:Rt[0],inLink:Ke,inRawBlock:vt,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(Rt[0]):F(Rt[0]):Rt[0]}},Oe.link=function(be){var Ke=this.rules.inline.link.exec(be);if(Ke){var vt=Ke[2].trim();if(!this.options.pedantic&&/^</.test(vt)){if(!/>$/.test(vt))return;var Rt=le(vt.slice(0,-1),"\\");if((vt.length-Rt.length)%2===0)return}else{var Fe=se(Ke[2],"()");if(Fe>-1){var kr=Ke[0].indexOf("!")===0?5:4,At=kr+Ke[1].length+Fe;Ke[2]=Ke[2].substring(0,Fe),Ke[0]=Ke[0].substring(0,At).trim(),Ke[3]=""}}var Kr=Ke[2],qr="";if(this.options.pedantic){var Ar=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(Kr);Ar&&(Kr=Ar[1],qr=Ar[3])}else qr=Ke[3]?Ke[3].slice(1,-1):"";return Kr=Kr.trim(),/^</.test(Kr)&&(this.options.pedantic&&!/>$/.test(vt)?Kr=Kr.slice(1):Kr=Kr.slice(1,-1)),_e(Ke,{href:Kr&&Kr.replace(this.rules.inline._escapes,"$1"),title:qr&&qr.replace(this.rules.inline._escapes,"$1")},Ke[0])}},Oe.reflink=function(be,Ke){var vt;if((vt=this.rules.inline.reflink.exec(be))||(vt=this.rules.inline.nolink.exec(be))){var Rt=(vt[2]||vt[1]).replace(/\s+/g," ");if(Rt=Ke[Rt.toLowerCase()],!Rt||!Rt.href){var Fe=vt[0].charAt(0);return{type:"text",raw:Fe,text:Fe}}return _e(vt,Rt,vt[0])}},Oe.emStrong=function(be,Ke,vt){vt===void 0&&(vt="");var Rt=this.rules.inline.emStrong.lDelim.exec(be);if(Rt&&!(Rt[3]&&vt.match(/(?:[0-9A-Za-z\xAA\xB2\xB3\xB5\xB9\xBA\xBC-\xBE\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u0660-\u0669\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07C0-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08C7\u0904-\u0939\u093D\u0950\u0958-\u0961\u0966-\u096F\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09E6-\u09F1\u09F4-\u09F9\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A66-\u0A6F\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AE6-\u0AEF\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B66-\u0B6F\u0B71-\u0B77\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0BE6-\u0BF2\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C66-\u0C6F\u0C78-\u0C7E\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CE6-\u0CEF\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D58-\u0D61\u0D66-\u0D78\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DE6-\u0DEF\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F20-\u0F33\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F-\u1049\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u1090-\u1099\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1369-\u137C\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A16\u1A20-\u1A54\u1A80-\u1A89\u1A90-\u1A99\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B50-\u1B59\u1B83-\u1BA0\u1BAE-\u1BE5\u1C00-\u1C23\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2070\u2071\u2074-\u2079\u207F-\u2089\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2150-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2CFD\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u3192-\u3195\u31A0-\u31BF\u31F0-\u31FF\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\u3400-\u4DBF\u4E00-\u9FFC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7BF\uA7C2-\uA7CA\uA7F5-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA830-\uA835\uA840-\uA873\uA882-\uA8B3\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA900-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF-\uA9D9\uA9E0-\uA9E4\uA9E6-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD07-\uDD33\uDD40-\uDD78\uDD8A\uDD8B\uDE80-\uDE9C\uDEA0-\uDED0\uDEE1-\uDEFB\uDF00-\uDF23\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC58-\uDC76\uDC79-\uDC9E\uDCA7-\uDCAF\uDCE0-\uDCF2\uDCF4\uDCF5\uDCFB-\uDD1B\uDD20-\uDD39\uDD80-\uDDB7\uDDBC-\uDDCF\uDDD2-\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE40-\uDE48\uDE60-\uDE7E\uDE80-\uDE9F\uDEC0-\uDEC7\uDEC9-\uDEE4\uDEEB-\uDEEF\uDF00-\uDF35\uDF40-\uDF55\uDF58-\uDF72\uDF78-\uDF91\uDFA9-\uDFAF]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDCFA-\uDD23\uDD30-\uDD39\uDE60-\uDE7E\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF27\uDF30-\uDF45\uDF51-\uDF54\uDFB0-\uDFCB\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC52-\uDC6F\uDC83-\uDCAF\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD03-\uDD26\uDD36-\uDD3F\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDD0-\uDDDA\uDDDC\uDDE1-\uDDF4\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDEF0-\uDEF9\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC50-\uDC59\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE50-\uDE59\uDE80-\uDEAA\uDEB8\uDEC0-\uDEC9\uDF00-\uDF1A\uDF30-\uDF3B]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCF2\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDD50-\uDD59\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC50-\uDC6C\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD50-\uDD59\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDDA0-\uDDA9\uDEE0-\uDEF2\uDFB0\uDFC0-\uDFD4]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF50-\uDF59\uDF5B-\uDF61\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE96\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82C[\uDC00-\uDD1E\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD834[\uDEE0-\uDEF3\uDF60-\uDF78]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD40-\uDD49\uDD4E\uDEC0-\uDEEB\uDEF0-\uDEF9]|\uD83A[\uDC00-\uDCC4\uDCC7-\uDCCF\uDD00-\uDD43\uDD4B\uDD50-\uDD59]|\uD83B[\uDC71-\uDCAB\uDCAD-\uDCAF\uDCB1-\uDCB4\uDD01-\uDD2D\uDD2F-\uDD3D\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD83C[\uDD00-\uDD0C]|\uD83E[\uDFF0-\uDFF9]|\uD869[\uDC00-\uDEDD\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])/))){var Fe=Rt[1]||Rt[2]||"";if(!Fe||Fe&&(vt===""||this.rules.inline.punctuation.exec(vt))){var kr=Rt[0].length-1,At,Kr,qr=kr,Ar=0,Br=Rt[0][0]==="*"?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(Br.lastIndex=0,Ke=Ke.slice(-1*be.length+kr);(Rt=Br.exec(Ke))!=null;)if(At=Rt[1]||Rt[2]||Rt[3]||Rt[4]||Rt[5]||Rt[6],!!At){if(Kr=At.length,Rt[3]||Rt[4]){qr+=Kr;continue}else if((Rt[5]||Rt[6])&&kr%3&&!((kr+Kr)%3)){Ar+=Kr;continue}if(qr-=Kr,!(qr>0))return Kr=Math.min(Kr,Kr+qr+Ar),Math.min(kr,Kr)%2?{type:"em",raw:be.slice(0,kr+Rt.index+Kr+1),text:be.slice(1,kr+Rt.index+Kr)}:{type:"strong",raw:be.slice(0,kr+Rt.index+Kr+1),text:be.slice(2,kr+Rt.index+Kr-1)}}}}},Oe.codespan=function(be){var Ke=this.rules.inline.code.exec(be);if(Ke){var vt=Ke[2].replace(/\n/g," "),Rt=/[^ ]/.test(vt),Fe=/^ /.test(vt)&&/ $/.test(vt);return Rt&&Fe&&(vt=vt.substring(1,vt.length-1)),vt=F(vt,!0),{type:"codespan",raw:Ke[0],text:vt}}},Oe.br=function(be){var Ke=this.rules.inline.br.exec(be);if(Ke)return{type:"br",raw:Ke[0]}},Oe.del=function(be){var Ke=this.rules.inline.del.exec(be);if(Ke)return{type:"del",raw:Ke[0],text:Ke[2]}},Oe.autolink=function(be,Ke){var vt=this.rules.inline.autolink.exec(be);if(vt){var Rt,Fe;return vt[2]==="@"?(Rt=F(this.options.mangle?Ke(vt[1]):vt[1]),Fe="mailto:"+Rt):(Rt=F(vt[1]),Fe=Rt),{type:"link",raw:vt[0],text:Rt,href:Fe,tokens:[{type:"text",raw:Rt,text:Rt}]}}},Oe.url=function(be,Ke){var vt;if(vt=this.rules.inline.url.exec(be)){var Rt,Fe;if(vt[2]==="@")Rt=F(this.options.mangle?Ke(vt[0]):vt[0]),Fe="mailto:"+Rt;else{var kr;do kr=vt[0],vt[0]=this.rules.inline._backpedal.exec(vt[0])[0];while(kr!==vt[0]);Rt=F(vt[0]),vt[1]==="www."?Fe="http://"+Rt:Fe=Rt}return{type:"link",raw:vt[0],text:Rt,href:Fe,tokens:[{type:"text",raw:Rt,text:Rt}]}}},Oe.inlineText=function(be,Ke,vt){var Rt=this.rules.inline.text.exec(be);if(Rt){var Fe;return Ke?Fe=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(Rt[0]):F(Rt[0]):Rt[0]:Fe=F(this.options.smartypants?vt(Rt[0]):Rt[0]),{type:"text",raw:Rt[0],text:Fe}}},Tt}(),Ze=q.noopTest,$e=q.edit,Ht=q.merge,bt={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?! {0,3}bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|</(?!script|pre|style)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *\n? *<?([^\s>]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,nptable:Ze,table:Ze,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html| +\n)[^\n]+)*)/,text:/^[^\n]+/};bt._label=/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,bt._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,bt.def=$e(bt.def).replace("label",bt._label).replace("title",bt._title).getRegex(),bt.bullet=/(?:[*+-]|\d{1,9}[.)])/,bt.item=/^( *)(bull) ?[^\n]*(?:\n(?! *bull ?)[^\n]*)*/,bt.item=$e(bt.item,"gm").replace(/bull/g,bt.bullet).getRegex(),bt.listItemStart=$e(/^( *)(bull) */).replace("bull",bt.bullet).getRegex(),bt.list=$e(bt.list).replace(/bull/g,bt.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+bt.def.source+")").getRegex(),bt._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",bt._comment=/<!--(?!-?>)[\s\S]*?(?:-->|$)/,bt.html=$e(bt.html,"i").replace("comment",bt._comment).replace("tag",bt._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),bt.paragraph=$e(bt._paragraph).replace("hr",bt.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",bt._tag).getRegex(),bt.blockquote=$e(bt.blockquote).replace("paragraph",bt.paragraph).getRegex(),bt.normal=Ht({},bt),bt.gfm=Ht({},bt.normal,{nptable:"^ *([^|\\n ].*\\|.*)\\n {0,3}([-:]+ *\\|[-| :]*)(?:\\n((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)",table:"^ *\\|(.+)\\n {0,3}\\|?( *[-:]+[-| :]*)(?:\\n *((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),bt.gfm.nptable=$e(bt.gfm.nptable).replace("hr",bt.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",bt._tag).getRegex(),bt.gfm.table=$e(bt.gfm.table).replace("hr",bt.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",bt._tag).getRegex(),bt.pedantic=Ht({},bt.normal,{html:$e(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",bt._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:Ze,paragraph:$e(bt.normal._paragraph).replace("hr",bt.hr).replace("heading",` *#{1,6} *[^
]`).replace("lheading",bt.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var Ot={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:Ze,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,rDelimAst:/\_\_[^_*]*?\*[^_*]*?\_\_|[punct_](\*+)(?=[\s]|$)|[^punct*_\s](\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|[^punct*_\s](\*+)(?=[^punct*_\s])/,rDelimUnd:/\*\*[^_*]*?\_[^_*]*?\*\*|[punct*](\_+)(?=[\s]|$)|[^punct*_\s](\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:Ze,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,punctuation:/^([\spunctuation])/};Ot._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~",Ot.punctuation=$e(Ot.punctuation).replace(/punctuation/g,Ot._punctuation).getRegex(),Ot.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,Ot.escapedEmSt=/\\\*|\\_/g,Ot._comment=$e(bt._comment).replace("(?:-->|$)","-->").getRegex(),Ot.emStrong.lDelim=$e(Ot.emStrong.lDelim).replace(/punct/g,Ot._punctuation).getRegex(),Ot.emStrong.rDelimAst=$e(Ot.emStrong.rDelimAst,"g").replace(/punct/g,Ot._punctuation).getRegex(),Ot.emStrong.rDelimUnd=$e(Ot.emStrong.rDelimUnd,"g").replace(/punct/g,Ot._punctuation).getRegex(),Ot._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,Ot._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,Ot._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,Ot.autolink=$e(Ot.autolink).replace("scheme",Ot._scheme).replace("email",Ot._email).getRegex(),Ot._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,Ot.tag=$e(Ot.tag).replace("comment",Ot._comment).replace("attribute",Ot._attribute).getRegex(),Ot._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,Ot._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,Ot._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,Ot.link=$e(Ot.link).replace("label",Ot._label).replace("href",Ot._href).replace("title",Ot._title).getRegex(),Ot.reflink=$e(Ot.reflink).replace("label",Ot._label).getRegex(),Ot.reflinkSearch=$e(Ot.reflinkSearch,"g").replace("reflink",Ot.reflink).replace("nolink",Ot.nolink).getRegex(),Ot.normal=Ht({},Ot),Ot.pedantic=Ht({},Ot.normal,{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:$e(/^!?\[(label)\]\((.*?)\)/).replace("label",Ot._label).getRegex(),reflink:$e(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Ot._label).getRegex()}),Ot.gfm=Ht({},Ot.normal,{escape:$e(Ot.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/}),Ot.gfm.url=$e(Ot.gfm.url,"i").replace("email",Ot.gfm._extended_email).getRegex(),Ot.breaks=Ht({},Ot.gfm,{br:$e(Ot.br).replace("{2,}","*").getRegex(),text:$e(Ot.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});var qt={block:bt,inline:Ot},er=Re,Jt=c.exports.defaults,Xe=qt.block,Pt=qt.inline,Ut=q.repeatString;function st(Tt){return Tt.replace(/---/g,"\u2014").replace(/--/g,"\u2013").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1\u2018").replace(/'/g,"\u2019").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1\u201C").replace(/"/g,"\u201D").replace(/\.{3}/g,"\u2026")}function yt(Tt){var Oe="",St,be,Ke=Tt.length;for(St=0;St<Ke;St++)be=Tt.charCodeAt(St),Math.random()>.5&&(be="x"+be.toString(16)),Oe+="&#"+be+";";return Oe}var ht=function(){function Tt(St){this.tokens=[],this.tokens.links=Object.create(null),this.options=St||Jt,this.options.tokenizer=this.options.tokenizer||new er,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options;var be={block:Xe.normal,inline:Pt.normal};this.options.pedantic?(be.block=Xe.pedantic,be.inline=Pt.pedantic):this.options.gfm&&(be.block=Xe.gfm,this.options.breaks?be.inline=Pt.breaks:be.inline=Pt.gfm),this.tokenizer.rules=be}Tt.lex=function(be,Ke){var vt=new Tt(Ke);return vt.lex(be)},Tt.lexInline=function(be,Ke){var vt=new Tt(Ke);return vt.inlineTokens(be)};var Oe=Tt.prototype;return Oe.lex=function(be){return be=be.replace(/\r\n|\r/g,`
`).replace(/\t/g," "),this.blockTokens(be,this.tokens,!0),this.inline(this.tokens),this.tokens},Oe.blockTokens=function(be,Ke,vt){Ke===void 0&&(Ke=[]),vt===void 0&&(vt=!0),this.options.pedantic&&(be=be.replace(/^ +$/gm,""));for(var Rt,Fe,kr,At;be;){if(Rt=this.tokenizer.space(be)){be=be.substring(Rt.raw.length),Rt.type&&Ke.push(Rt);continue}if(Rt=this.tokenizer.code(be)){be=be.substring(Rt.raw.length),At=Ke[Ke.length-1],At&&At.type==="paragraph"?(At.raw+=`
`+Rt.raw,At.text+=`
`+Rt.text):Ke.push(Rt);continue}if(Rt=this.tokenizer.fences(be)){be=be.substring(Rt.raw.length),Ke.push(Rt);continue}if(Rt=this.tokenizer.heading(be)){be=be.substring(Rt.raw.length),Ke.push(Rt);continue}if(Rt=this.tokenizer.nptable(be)){be=be.substring(Rt.raw.length),Ke.push(Rt);continue}if(Rt=this.tokenizer.hr(be)){be=be.substring(Rt.raw.length),Ke.push(Rt);continue}if(Rt=this.tokenizer.blockquote(be)){be=be.substring(Rt.raw.length),Rt.tokens=this.blockTokens(Rt.text,[],vt),Ke.push(Rt);continue}if(Rt=this.tokenizer.list(be)){for(be=be.substring(Rt.raw.length),kr=Rt.items.length,Fe=0;Fe<kr;Fe++)Rt.items[Fe].tokens=this.blockTokens(Rt.items[Fe].text,[],!1);Ke.push(Rt);continue}if(Rt=this.tokenizer.html(be)){be=be.substring(Rt.raw.length),Ke.push(Rt);continue}if(vt&&(Rt=this.tokenizer.def(be))){be=be.substring(Rt.raw.length),this.tokens.links[Rt.tag]||(this.tokens.links[Rt.tag]={href:Rt.href,title:Rt.title});continue}if(Rt=this.tokenizer.table(be)){be=be.substring(Rt.raw.length),Ke.push(Rt);continue}if(Rt=this.tokenizer.lheading(be)){be=be.substring(Rt.raw.length),Ke.push(Rt);continue}if(vt&&(Rt=this.tokenizer.paragraph(be))){be=be.substring(Rt.raw.length),Ke.push(Rt);continue}if(Rt=this.tokenizer.text(be)){be=be.substring(Rt.raw.length),At=Ke[Ke.length-1],At&&At.type==="text"?(At.raw+=`
`+Rt.raw,At.text+=`
`+Rt.text):Ke.push(Rt);continue}if(be){var Kr="Infinite loop on byte: "+be.charCodeAt(0);if(this.options.silent){console.error(Kr);break}else throw new Error(Kr)}}return Ke},Oe.inline=function(be){var Ke,vt,Rt,Fe,kr,At,Kr=be.length;for(Ke=0;Ke<Kr;Ke++)switch(At=be[Ke],At.type){case"paragraph":case"text":case"heading":{At.tokens=[],this.inlineTokens(At.text,At.tokens);break}case"table":{for(At.tokens={header:[],cells:[]},Fe=At.header.length,vt=0;vt<Fe;vt++)At.tokens.header[vt]=[],this.inlineTokens(At.header[vt],At.tokens.header[vt]);for(Fe=At.cells.length,vt=0;vt<Fe;vt++)for(kr=At.cells[vt],At.tokens.cells[vt]=[],Rt=0;Rt<kr.length;Rt++)At.tokens.cells[vt][Rt]=[],this.inlineTokens(kr[Rt],At.tokens.cells[vt][Rt]);break}case"blockquote":{this.inline(At.tokens);break}case"list":{for(Fe=At.items.length,vt=0;vt<Fe;vt++)this.inline(At.items[vt].tokens);break}}return be},Oe.inlineTokens=function(be,Ke,vt,Rt){Ke===void 0&&(Ke=[]),vt===void 0&&(vt=!1),Rt===void 0&&(Rt=!1);var Fe,kr,At=be,Kr,qr,Ar;if(this.tokens.links){var Br=Object.keys(this.tokens.links);if(Br.length>0)for(;(Kr=this.tokenizer.rules.inline.reflinkSearch.exec(At))!=null;)Br.includes(Kr[0].slice(Kr[0].lastIndexOf("[")+1,-1))&&(At=At.slice(0,Kr.index)+"["+Ut("a",Kr[0].length-2)+"]"+At.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(Kr=this.tokenizer.rules.inline.blockSkip.exec(At))!=null;)At=At.slice(0,Kr.index)+"["+Ut("a",Kr[0].length-2)+"]"+At.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(Kr=this.tokenizer.rules.inline.escapedEmSt.exec(At))!=null;)At=At.slice(0,Kr.index)+"++"+At.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex);for(;be;){if(qr||(Ar=""),qr=!1,Fe=this.tokenizer.escape(be)){be=be.substring(Fe.raw.length),Ke.push(Fe);continue}if(Fe=this.tokenizer.tag(be,vt,Rt)){be=be.substring(Fe.raw.length),vt=Fe.inLink,Rt=Fe.inRawBlock;var _r=Ke[Ke.length-1];_r&&Fe.type==="text"&&_r.type==="text"?(_r.raw+=Fe.raw,_r.text+=Fe.text):Ke.push(Fe);continue}if(Fe=this.tokenizer.link(be)){be=be.substring(Fe.raw.length),Fe.type==="link"&&(Fe.tokens=this.inlineTokens(Fe.text,[],!0,Rt)),Ke.push(Fe);continue}if(Fe=this.tokenizer.reflink(be,this.tokens.links)){be=be.substring(Fe.raw.length);var Ur=Ke[Ke.length-1];Fe.type==="link"?(Fe.tokens=this.inlineTokens(Fe.text,[],!0,Rt),Ke.push(Fe)):Ur&&Fe.type==="text"&&Ur.type==="text"?(Ur.raw+=Fe.raw,Ur.text+=Fe.text):Ke.push(Fe);continue}if(Fe=this.tokenizer.emStrong(be,At,Ar)){be=be.substring(Fe.raw.length),Fe.tokens=this.inlineTokens(Fe.text,[],vt,Rt),Ke.push(Fe);continue}if(Fe=this.tokenizer.codespan(be)){be=be.substring(Fe.raw.length),Ke.push(Fe);continue}if(Fe=this.tokenizer.br(be)){be=be.substring(Fe.raw.length),Ke.push(Fe);continue}if(Fe=this.tokenizer.del(be)){be=be.substring(Fe.raw.length),Fe.tokens=this.inlineTokens(Fe.text,[],vt,Rt),Ke.push(Fe);continue}if(Fe=this.tokenizer.autolink(be,yt)){be=be.substring(Fe.raw.length),Ke.push(Fe);continue}if(!vt&&(Fe=this.tokenizer.url(be,yt))){be=be.substring(Fe.raw.length),Ke.push(Fe);continue}if(Fe=this.tokenizer.inlineText(be,Rt,st)){be=be.substring(Fe.raw.length),Fe.raw.slice(-1)!=="_"&&(Ar=Fe.raw.slice(-1)),qr=!0,kr=Ke[Ke.length-1],kr&&kr.type==="text"?(kr.raw+=Fe.raw,kr.text+=Fe.text):Ke.push(Fe);continue}if(be){var sn="Infinite loop on byte: "+be.charCodeAt(0);if(this.options.silent){console.error(sn);break}else throw new Error(sn)}}return Ke},e(Tt,null,[{key:"rules",get:function(){return{block:Xe,inline:Pt}}}]),Tt}(),Je=c.exports.defaults,je=q.cleanUrl,ge=q.escape,Se=function(){function Tt(St){this.options=St||Je}var Oe=Tt.prototype;return Oe.code=function(be,Ke,vt){var Rt=(Ke||"").match(/\S*/)[0];if(this.options.highlight){var Fe=this.options.highlight(be,Rt);Fe!=null&&Fe!==be&&(vt=!0,be=Fe)}return be=be.replace(/\n$/,"")+`
`,Rt?'<pre><code class="'+this.options.langPrefix+ge(Rt,!0)+'">'+(vt?be:ge(be,!0))+`</code></pre>
`:"<pre><code>"+(vt?be:ge(be,!0))+`</code></pre>
`},Oe.blockquote=function(be){return`<blockquote>
`+be+`</blockquote>
`},Oe.html=function(be){return be},Oe.heading=function(be,Ke,vt,Rt){return this.options.headerIds?"<h"+Ke+' id="'+this.options.headerPrefix+Rt.slug(vt)+'">'+be+"</h"+Ke+`>
`:"<h"+Ke+">"+be+"</h"+Ke+`>
`},Oe.hr=function(){return this.options.xhtml?`<hr/>
`:`<hr>
`},Oe.list=function(be,Ke,vt){var Rt=Ke?"ol":"ul",Fe=Ke&&vt!==1?' start="'+vt+'"':"";return"<"+Rt+Fe+`>
`+be+"</"+Rt+`>
`},Oe.listitem=function(be){return"<li>"+be+`</li>
`},Oe.checkbox=function(be){return"<input "+(be?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "},Oe.paragraph=function(be){return"<p>"+be+`</p>
`},Oe.table=function(be,Ke){return Ke&&(Ke="<tbody>"+Ke+"</tbody>"),`<table>
<thead>
`+be+`</thead>
`+Ke+`</table>
`},Oe.tablerow=function(be){return`<tr>
`+be+`</tr>
`},Oe.tablecell=function(be,Ke){var vt=Ke.header?"th":"td",Rt=Ke.align?"<"+vt+' align="'+Ke.align+'">':"<"+vt+">";return Rt+be+"</"+vt+`>
`},Oe.strong=function(be){return"<strong>"+be+"</strong>"},Oe.em=function(be){return"<em>"+be+"</em>"},Oe.codespan=function(be){return"<code>"+be+"</code>"},Oe.br=function(){return this.options.xhtml?"<br/>":"<br>"},Oe.del=function(be){return"<del>"+be+"</del>"},Oe.link=function(be,Ke,vt){if(be=je(this.options.sanitize,this.options.baseUrl,be),be===null)return vt;var Rt='<a href="'+ge(be)+'"';return Ke&&(Rt+=' title="'+Ke+'"'),Rt+=">"+vt+"</a>",Rt},Oe.image=function(be,Ke,vt){if(be=je(this.options.sanitize,this.options.baseUrl,be),be===null)return vt;var Rt='<img src="'+be+'" alt="'+vt+'"';return Ke&&(Rt+=' title="'+Ke+'"'),Rt+=this.options.xhtml?"/>":">",Rt},Oe.text=function(be){return be},Tt}(),Me=function(){function Tt(){}var Oe=Tt.prototype;return Oe.strong=function(be){return be},Oe.em=function(be){return be},Oe.codespan=function(be){return be},Oe.del=function(be){return be},Oe.html=function(be){return be},Oe.text=function(be){return be},Oe.link=function(be,Ke,vt){return""+vt},Oe.image=function(be,Ke,vt){return""+vt},Oe.br=function(){return""},Tt}(),Ne=function(){function Tt(){this.seen={}}var Oe=Tt.prototype;return Oe.serialize=function(be){return be.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")},Oe.getNextSafeSlug=function(be,Ke){var vt=be,Rt=0;if(this.seen.hasOwnProperty(vt)){Rt=this.seen[be];do Rt++,vt=be+"-"+Rt;while(this.seen.hasOwnProperty(vt))}return Ke||(this.seen[be]=Rt,this.seen[vt]=0),vt},Oe.slug=function(be,Ke){Ke===void 0&&(Ke={});var vt=this.serialize(be);return this.getNextSafeSlug(vt,Ke.dryrun)},Tt}(),He=Se,nt=Me,ct=Ne,Vt=c.exports.defaults,Wt=q.unescape,Ie=function(){function Tt(St){this.options=St||Vt,this.options.renderer=this.options.renderer||new He,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new nt,this.slugger=new ct}Tt.parse=function(be,Ke){var vt=new Tt(Ke);return vt.parse(be)},Tt.parseInline=function(be,Ke){var vt=new Tt(Ke);return vt.parseInline(be)};var Oe=Tt.prototype;return Oe.parse=function(be,Ke){Ke===void 0&&(Ke=!0);var vt="",Rt,Fe,kr,At,Kr,qr,Ar,Br,_r,Ur,sn,cn,or,Lt,mt,gt,$t,Cr,gr=be.length;for(Rt=0;Rt<gr;Rt++)switch(Ur=be[Rt],Ur.type){case"space":continue;case"hr":{vt+=this.renderer.hr();continue}case"heading":{vt+=this.renderer.heading(this.parseInline(Ur.tokens),Ur.depth,Wt(this.parseInline(Ur.tokens,this.textRenderer)),this.slugger);continue}case"code":{vt+=this.renderer.code(Ur.text,Ur.lang,Ur.escaped);continue}case"table":{for(Br="",Ar="",At=Ur.header.length,Fe=0;Fe<At;Fe++)Ar+=this.renderer.tablecell(this.parseInline(Ur.tokens.header[Fe]),{header:!0,align:Ur.align[Fe]});for(Br+=this.renderer.tablerow(Ar),_r="",At=Ur.cells.length,Fe=0;Fe<At;Fe++){for(qr=Ur.tokens.cells[Fe],Ar="",Kr=qr.length,kr=0;kr<Kr;kr++)Ar+=this.renderer.tablecell(this.parseInline(qr[kr]),{header:!1,align:Ur.align[kr]});_r+=this.renderer.tablerow(Ar)}vt+=this.renderer.table(Br,_r);continue}case"blockquote":{_r=this.parse(Ur.tokens),vt+=this.renderer.blockquote(_r);continue}case"list":{for(sn=Ur.ordered,cn=Ur.start,or=Ur.loose,At=Ur.items.length,_r="",Fe=0;Fe<At;Fe++)mt=Ur.items[Fe],gt=mt.checked,$t=mt.task,Lt="",mt.task&&(Cr=this.renderer.checkbox(gt),or?mt.tokens.length>0&&mt.tokens[0].type==="text"?(mt.tokens[0].text=Cr+" "+mt.tokens[0].text,mt.tokens[0].tokens&&mt.tokens[0].tokens.length>0&&mt.tokens[0].tokens[0].type==="text"&&(mt.tokens[0].tokens[0].text=Cr+" "+mt.tokens[0].tokens[0].text)):mt.tokens.unshift({type:"text",text:Cr}):Lt+=Cr),Lt+=this.parse(mt.tokens,or),_r+=this.renderer.listitem(Lt,$t,gt);vt+=this.renderer.list(_r,sn,cn);continue}case"html":{vt+=this.renderer.html(Ur.text);continue}case"paragraph":{vt+=this.renderer.paragraph(this.parseInline(Ur.tokens));continue}case"text":{for(_r=Ur.tokens?this.parseInline(Ur.tokens):Ur.text;Rt+1<gr&&be[Rt+1].type==="text";)Ur=be[++Rt],_r+=`
`+(Ur.tokens?this.parseInline(Ur.tokens):Ur.text);vt+=Ke?this.renderer.paragraph(_r):_r;continue}default:{var ot='Token with "'+Ur.type+'" type was not found.';if(this.options.silent){console.error(ot);return}else throw new Error(ot)}}return vt},Oe.parseInline=function(be,Ke){Ke=Ke||this.renderer;var vt="",Rt,Fe,kr=be.length;for(Rt=0;Rt<kr;Rt++)switch(Fe=be[Rt],Fe.type){case"escape":{vt+=Ke.text(Fe.text);break}case"html":{vt+=Ke.html(Fe.text);break}case"link":{vt+=Ke.link(Fe.href,Fe.title,this.parseInline(Fe.tokens,Ke));break}case"image":{vt+=Ke.image(Fe.href,Fe.title,Fe.text);break}case"strong":{vt+=Ke.strong(this.parseInline(Fe.tokens,Ke));break}case"em":{vt+=Ke.em(this.parseInline(Fe.tokens,Ke));break}case"codespan":{vt+=Ke.codespan(Fe.text);break}case"br":{vt+=Ke.br();break}case"del":{vt+=Ke.del(this.parseInline(Fe.tokens,Ke));break}case"text":{vt+=Ke.text(Fe.text);break}default:{var At='Token with "'+Fe.type+'" type was not found.';if(this.options.silent){console.error(At);return}else throw new Error(At)}}return vt},Tt}(),qe=ht,Gt=Ie,kt=Re,Zt=Se,Nt=Me,Ct=Ne,Yt=q.merge,We=q.checkSanitizeDeprecation,fe=q.escape,pe=c.exports.getDefaults,Dt=c.exports.changeDefaults,Ce=c.exports.defaults;function dt(Tt,Oe,St){if(typeof Tt=="undefined"||Tt===null)throw new Error("marked(): input parameter is undefined or null");if(typeof Tt!="string")throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(Tt)+", string expected");if(typeof Oe=="function"&&(St=Oe,Oe=null),Oe=Yt({},dt.defaults,Oe||{}),We(Oe),St){var be=Oe.highlight,Ke;try{Ke=qe.lex(Tt,Oe)}catch(kr){return St(kr)}var vt=function(At){var Kr;if(!At)try{Oe.walkTokens&&dt.walkTokens(Ke,Oe.walkTokens),Kr=Gt.parse(Ke,Oe)}catch(qr){At=qr}return Oe.highlight=be,At?St(At):St(null,Kr)};if(!be||be.length<3||(delete Oe.highlight,!Ke.length))return vt();var Rt=0;dt.walkTokens(Ke,function(kr){kr.type==="code"&&(Rt++,setTimeout(function(){be(kr.text,kr.lang,function(At,Kr){if(At)return vt(At);Kr!=null&&Kr!==kr.text&&(kr.text=Kr,kr.escaped=!0),Rt--,Rt===0&&vt()})},0))}),Rt===0&&vt();return}try{var Fe=qe.lex(Tt,Oe);return Oe.walkTokens&&dt.walkTokens(Fe,Oe.walkTokens),Gt.parse(Fe,Oe)}catch(kr){if(kr.message+=`
Please report this to https://github.com/markedjs/marked.`,Oe.silent)return"<p>An error occurred:</p><pre>"+fe(kr.message+"",!0)+"</pre>";throw kr}}dt.options=dt.setOptions=function(Tt){return Yt(dt.defaults,Tt),Dt(dt.defaults),dt},dt.getDefaults=pe,dt.defaults=Ce,dt.use=function(Tt){var Oe=Yt({},Tt);if(Tt.renderer&&function(){var be=dt.defaults.renderer||new Zt,Ke=function(Fe){var kr=be[Fe];be[Fe]=function(){for(var At=arguments.length,Kr=new Array(At),qr=0;qr<At;qr++)Kr[qr]=arguments[qr];var Ar=Tt.renderer[Fe].apply(be,Kr);return Ar===!1&&(Ar=kr.apply(be,Kr)),Ar}};for(var vt in Tt.renderer)Ke(vt);Oe.renderer=be}(),Tt.tokenizer&&function(){var be=dt.defaults.tokenizer||new kt,Ke=function(Fe){var kr=be[Fe];be[Fe]=function(){for(var At=arguments.length,Kr=new Array(At),qr=0;qr<At;qr++)Kr[qr]=arguments[qr];var Ar=Tt.tokenizer[Fe].apply(be,Kr);return Ar===!1&&(Ar=kr.apply(be,Kr)),Ar}};for(var vt in Tt.tokenizer)Ke(vt);Oe.tokenizer=be}(),Tt.walkTokens){var St=dt.defaults.walkTokens;Oe.walkTokens=function(be){Tt.walkTokens(be),St&&St(be)}}dt.setOptions(Oe)},dt.walkTokens=function(Tt,Oe){for(var St=l(Tt),be;!(be=St()).done;){var Ke=be.value;switch(Oe(Ke),Ke.type){case"table":{for(var vt=l(Ke.tokens.header),Rt;!(Rt=vt()).done;){var Fe=Rt.value;dt.walkTokens(Fe,Oe)}for(var kr=l(Ke.tokens.cells),At;!(At=kr()).done;)for(var Kr=At.value,qr=l(Kr),Ar;!(Ar=qr()).done;){var Br=Ar.value;dt.walkTokens(Br,Oe)}break}case"list":{dt.walkTokens(Ke.items,Oe);break}default:Ke.tokens&&dt.walkTokens(Ke.tokens,Oe)}}},dt.parseInline=function(Tt,Oe){if(typeof Tt=="undefined"||Tt===null)throw new Error("marked.parseInline(): input parameter is undefined or null");if(typeof Tt!="string")throw new Error("marked.parseInline(): input parameter is of type "+Object.prototype.toString.call(Tt)+", string expected");Oe=Yt({},dt.defaults,Oe||{}),We(Oe);try{var St=qe.lexInline(Tt,Oe);return Oe.walkTokens&&dt.walkTokens(St,Oe.walkTokens),Gt.parseInline(St,Oe)}catch(be){if(be.message+=`
Please report this to https://github.com/markedjs/marked.`,Oe.silent)return"<p>An error occurred:</p><pre>"+fe(be.message+"",!0)+"</pre>";throw be}},dt.Parser=Gt,dt.parser=Gt.parse,dt.Renderer=Zt,dt.TextRenderer=Nt,dt.Lexer=qe,dt.lexer=qe.lex,dt.Tokenizer=kt,dt.Slugger=Ct,dt.parse=dt;var zt=dt;return zt})},11690:function(d){const g=/[&<>"']/,e=/[&<>"']/g,r=/[<>"']|&(?!#?\w+;)/,i=/[<>"']|&(?!#?\w+;)/g,l={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},c=Y=>l[Y];function f(Y,oe){if(oe){if(g.test(Y))return Y.replace(e,c)}else if(r.test(Y))return Y.replace(i,c);return Y}const s=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function h(Y){return Y.replace(s,(oe,ie)=>(ie=ie.toLowerCase(),ie==="colon"?":":ie.charAt(0)==="#"?ie.charAt(1)==="x"?String.fromCharCode(parseInt(ie.substring(2),16)):String.fromCharCode(+ie.substring(1)):""))}const u=/(^|[^\[])\^/g;function a(Y,oe){Y=Y.source||Y,oe=oe||"";const ie={replace:(ue,K)=>(K=K.source||K,K=K.replace(u,"$1"),Y=Y.replace(ue,K),ie),getRegex:()=>new RegExp(Y,oe)};return ie}const x=/[^\w:]/g,p=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function y(Y,oe,ie){if(Y){let ue;try{ue=decodeURIComponent(h(ie)).replace(x,"").toLowerCase()}catch(K){return null}if(ue.indexOf("javascript:")===0||ue.indexOf("vbscript:")===0||ue.indexOf("data:")===0)return null}oe&&!p.test(ie)&&(ie=L(oe,ie));try{ie=encodeURI(ie).replace(/%25/g,"%")}catch(ue){return null}return ie}const _={},b=/^[^:]+:\/*[^/]*$/,S=/^([^:]+:)[\s\S]*$/,R=/^([^:]+:\/*[^/]*)[\s\S]*$/;function L(Y,oe){_[" "+Y]||(b.test(Y)?_[" "+Y]=Y+"/":_[" "+Y]=N(Y,"/",!0)),Y=_[" "+Y];const ie=Y.indexOf(":")===-1;return oe.substring(0,2)==="//"?ie?oe:Y.replace(S,"$1")+oe:oe.charAt(0)==="/"?ie?oe:Y.replace(R,"$1")+oe:Y+oe}const T={exec:function(){}};function D(Y){let oe=1,ie,ue;for(;oe<arguments.length;oe++){ie=arguments[oe];for(ue in ie)Object.prototype.hasOwnProperty.call(ie,ue)&&(Y[ue]=ie[ue])}return Y}function M(Y,oe){const ie=Y.replace(/\|/g,(V,G,te)=>{let q=!1,J=G;for(;--J>=0&&te[J]==="\\";)q=!q;return q?"|":" |"}),ue=ie.split(/ \|/);let K=0;if(ue.length>oe)ue.splice(oe);else for(;ue.length<oe;)ue.push("");for(;K<ue.length;K++)ue[K]=ue[K].trim().replace(/\\\|/g,"|");return ue}function N(Y,oe,ie){const ue=Y.length;if(ue===0)return"";let K=0;for(;K<ue;){const V=Y.charAt(ue-K-1);if(V===oe&&!ie)K++;else if(V!==oe&&ie)K++;else break}return Y.substr(0,ue-K)}function j(Y,oe){if(Y.indexOf(oe[1])===-1)return-1;const ie=Y.length;let ue=0,K=0;for(;K<ie;K++)if(Y[K]==="\\")K++;else if(Y[K]===oe[0])ue++;else if(Y[K]===oe[1]&&(ue--,ue<0))return K;return-1}function Q(Y){Y&&Y.sanitize&&!Y.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}function X(Y,oe){if(oe<1)return"";let ie="";for(;oe>1;)oe&1&&(ie+=Y),oe>>=1,Y+=Y;return ie+Y}d.exports={escape:f,unescape:h,edit:a,cleanUrl:y,resolveUrl:L,noopTest:T,merge:D,splitCells:M,rtrim:N,findClosingBracket:j,checkSanitizeDeprecation:Q,repeatString:X}},93735:function(d,g,e){(function(){var r=e(75041),i=e(67751).utf8,l=e(78034),c=e(67751).bin,f=function(s,h){s.constructor==String?h&&h.encoding==="binary"?s=c.stringToBytes(s):s=i.stringToBytes(s):l(s)?s=Array.prototype.slice.call(s,0):!Array.isArray(s)&&s.constructor!==Uint8Array&&(s=s.toString());for(var u=r.bytesToWords(s),a=s.length*8,x=1732584193,p=-271733879,y=-1732584194,_=271733878,b=0;b<u.length;b++)u[b]=(u[b]<<8|u[b]>>>24)&16711935|(u[b]<<24|u[b]>>>8)&4278255360;u[a>>>5]|=128<<a%32,u[(a+64>>>9<<4)+14]=a;for(var S=f._ff,R=f._gg,L=f._hh,T=f._ii,b=0;b<u.length;b+=16){var D=x,M=p,N=y,j=_;x=S(x,p,y,_,u[b+0],7,-680876936),_=S(_,x,p,y,u[b+1],12,-389564586),y=S(y,_,x,p,u[b+2],17,606105819),p=S(p,y,_,x,u[b+3],22,-1044525330),x=S(x,p,y,_,u[b+4],7,-176418897),_=S(_,x,p,y,u[b+5],12,1200080426),y=S(y,_,x,p,u[b+6],17,-1473231341),p=S(p,y,_,x,u[b+7],22,-45705983),x=S(x,p,y,_,u[b+8],7,1770035416),_=S(_,x,p,y,u[b+9],12,-1958414417),y=S(y,_,x,p,u[b+10],17,-42063),p=S(p,y,_,x,u[b+11],22,-1990404162),x=S(x,p,y,_,u[b+12],7,1804603682),_=S(_,x,p,y,u[b+13],12,-40341101),y=S(y,_,x,p,u[b+14],17,-1502002290),p=S(p,y,_,x,u[b+15],22,1236535329),x=R(x,p,y,_,u[b+1],5,-165796510),_=R(_,x,p,y,u[b+6],9,-1069501632),y=R(y,_,x,p,u[b+11],14,643717713),p=R(p,y,_,x,u[b+0],20,-373897302),x=R(x,p,y,_,u[b+5],5,-701558691),_=R(_,x,p,y,u[b+10],9,38016083),y=R(y,_,x,p,u[b+15],14,-660478335),p=R(p,y,_,x,u[b+4],20,-405537848),x=R(x,p,y,_,u[b+9],5,568446438),_=R(_,x,p,y,u[b+14],9,-1019803690),y=R(y,_,x,p,u[b+3],14,-187363961),p=R(p,y,_,x,u[b+8],20,1163531501),x=R(x,p,y,_,u[b+13],5,-1444681467),_=R(_,x,p,y,u[b+2],9,-51403784),y=R(y,_,x,p,u[b+7],14,1735328473),p=R(p,y,_,x,u[b+12],20,-1926607734),x=L(x,p,y,_,u[b+5],4,-378558),_=L(_,x,p,y,u[b+8],11,-2022574463),y=L(y,_,x,p,u[b+11],16,1839030562),p=L(p,y,_,x,u[b+14],23,-35309556),x=L(x,p,y,_,u[b+1],4,-1530992060),_=L(_,x,p,y,u[b+4],11,1272893353),y=L(y,_,x,p,u[b+7],16,-155497632),p=L(p,y,_,x,u[b+10],23,-1094730640),x=L(x,p,y,_,u[b+13],4,681279174),_=L(_,x,p,y,u[b+0],11,-358537222),y=L(y,_,x,p,u[b+3],16,-722521979),p=L(p,y,_,x,u[b+6],23,76029189),x=L(x,p,y,_,u[b+9],4,-640364487),_=L(_,x,p,y,u[b+12],11,-421815835),y=L(y,_,x,p,u[b+15],16,530742520),p=L(p,y,_,x,u[b+2],23,-995338651),x=T(x,p,y,_,u[b+0],6,-198630844),_=T(_,x,p,y,u[b+7],10,1126891415),y=T(y,_,x,p,u[b+14],15,-1416354905),p=T(p,y,_,x,u[b+5],21,-57434055),x=T(x,p,y,_,u[b+12],6,1700485571),_=T(_,x,p,y,u[b+3],10,-1894986606),y=T(y,_,x,p,u[b+10],15,-1051523),p=T(p,y,_,x,u[b+1],21,-2054922799),x=T(x,p,y,_,u[b+8],6,1873313359),_=T(_,x,p,y,u[b+15],10,-30611744),y=T(y,_,x,p,u[b+6],15,-1560198380),p=T(p,y,_,x,u[b+13],21,1309151649),x=T(x,p,y,_,u[b+4],6,-145523070),_=T(_,x,p,y,u[b+11],10,-1120210379),y=T(y,_,x,p,u[b+2],15,718787259),p=T(p,y,_,x,u[b+9],21,-343485551),x=x+D>>>0,p=p+M>>>0,y=y+N>>>0,_=_+j>>>0}return r.endian([x,p,y,_])};f._ff=function(s,h,u,a,x,p,y){var _=s+(h&u|~h&a)+(x>>>0)+y;return(_<<p|_>>>32-p)+h},f._gg=function(s,h,u,a,x,p,y){var _=s+(h&a|u&~a)+(x>>>0)+y;return(_<<p|_>>>32-p)+h},f._hh=function(s,h,u,a,x,p,y){var _=s+(h^u^a)+(x>>>0)+y;return(_<<p|_>>>32-p)+h},f._ii=function(s,h,u,a,x,p,y){var _=s+(u^(h|~a))+(x>>>0)+y;return(_<<p|_>>>32-p)+h},f._blocksize=16,f._digestsize=16,d.exports=function(s,h){if(s==null)throw new Error("Illegal argument "+s);var u=r.wordsToBytes(f(s,h));return h&&h.asBytes?u:h&&h.asString?c.bytesToString(u):r.bytesToHex(u)}})()},61339:function(d){d.exports=g;function g(e,r){if(!e)throw new Error(r||"Assertion failed")}g.equal=function(r,i,l){if(r!=i)throw new Error(l||"Assertion failed: "+r+" != "+i)}},75918:function(d,g,e){"use strict";e.d(g,{Wi:function(){return s},Z0:function(){return h},aU:function(){return f},eZ:function(){return a},wY:function(){return u}});var r=e(4348),i=e(69323),l=e(13268),c=function(x,p,y,_){function b(S){return S instanceof y?S:new y(function(R){R(S)})}return new(y||(y=Promise))(function(S,R){function L(M){try{D(_.next(M))}catch(N){R(N)}}function T(M){try{D(_.throw(M))}catch(N){R(N)}}function D(M){M.done?S(M.value):b(M.value).then(L,T)}D((_=_.apply(x,p||[])).next())})};class f extends i.JT{constructor(p,y="",_="",b=!0,S){super(),this._onDidChange=this._register(new r.Q5),this.onDidChange=this._onDidChange.event,this._enabled=!0,this._id=p,this._label=y,this._cssClass=_,this._enabled=b,this._actionCallback=S}get id(){return this._id}get label(){return this._label}set label(p){this._setLabel(p)}_setLabel(p){this._label!==p&&(this._label=p,this._onDidChange.fire({label:p}))}get tooltip(){return this._tooltip||""}set tooltip(p){this._setTooltip(p)}_setTooltip(p){this._tooltip!==p&&(this._tooltip=p,this._onDidChange.fire({tooltip:p}))}get class(){return this._cssClass}set class(p){this._setClass(p)}_setClass(p){this._cssClass!==p&&(this._cssClass=p,this._onDidChange.fire({class:p}))}get enabled(){return this._enabled}set enabled(p){this._setEnabled(p)}_setEnabled(p){this._enabled!==p&&(this._enabled=p,this._onDidChange.fire({enabled:p}))}get checked(){return this._checked}set checked(p){this._setChecked(p)}_setChecked(p){this._checked!==p&&(this._checked=p,this._onDidChange.fire({checked:p}))}run(p,y){return c(this,void 0,void 0,function*(){this._actionCallback&&(yield this._actionCallback(p))})}}class s extends i.JT{constructor(){super(...arguments),this._onBeforeRun=this._register(new r.Q5),this.onBeforeRun=this._onBeforeRun.event,this._onDidRun=this._register(new r.Q5),this.onDidRun=this._onDidRun.event}run(p,y){return c(this,void 0,void 0,function*(){if(!p.enabled)return;this._onBeforeRun.fire({action:p});let _;try{yield this.runAction(p,y)}catch(b){_=b}this._onDidRun.fire({action:p,error:_})})}runAction(p,y){return c(this,void 0,void 0,function*(){yield p.run(y)})}}class h extends f{constructor(p){super(h.ID,p,p?"separator text":"separator"),this.checked=!1,this.enabled=!1}}h.ID="vs.actions.separator";class u{constructor(p,y,_,b){this.tooltip="",this.enabled=!0,this.checked=!1,this.id=p,this.label=y,this.class=b,this._actions=_}get actions(){return this._actions}dispose(){}run(){return c(this,void 0,void 0,function*(){})}}class a extends f{constructor(){super(a.ID,l.N("submenu.empty","(empty)"),void 0,!1)}}a.ID="vs.actions.empty"},76068:function(d,g,e){"use strict";e.d(g,{ok:function(){return r}});function r(i,l){if(!i)throw new Error(l?`Assertion failed (${l})`:"Assertion Failed")}},52615:function(d,g,e){"use strict";e.d(g,{CM:function(){return f},JL:function(){return s},dT:function(){return u},fK:function(){return c},lA:function(){return h}});var r=e(4348);class i{constructor(){this._icons=new Map,this._onDidRegister=new r.Q5}add(x){const p=this._icons.get(x.id);p?x.description?p.description=x.description:console.error(`Duplicate registration of codicon ${x.id}`):(this._icons.set(x.id,x),this._onDidRegister.fire(x))}get(x){return this._icons.get(x)}get all(){return this._icons.values()}get onDidRegister(){return this._onDidRegister.event}}const l=new i,c=l;function f(a,x){return new h(a,x)}function s(a){return a?a.replace(/\$\((.*?)\)/g,(x,p)=>` ${p} `).trim():""}class h{constructor(x,p,y){this.id=x,this.definition=p,this.description=y,l.add(this)}get classNames(){return"codicon codicon-"+this.id}get classNamesArray(){return["codicon","codicon-"+this.id]}get cssSelector(){return".codicon.codicon-"+this.id}}var u;(function(a){a.iconNameSegment="[A-Za-z0-9]+",a.iconNameExpression="[A-Za-z0-9\\-]+",a.iconModifierExpression="~[A-Za-z]+";const x=new RegExp(`^(${a.iconNameExpression})(${a.iconModifierExpression})?$`);function p(b){if(b instanceof h)return["codicon","codicon-"+b.id];const S=x.exec(b.id);if(!S)return p(h.error);let[,R,L]=S;const T=["codicon","codicon-"+R];return L&&T.push("codicon-modifier-"+L.substr(1)),T}a.asClassNameArray=p;function y(b){return p(b).join(" ")}a.asClassName=y;function _(b){return"."+p(b).join(".")}a.asCSSSelector=_})(u||(u={})),function(a){a.add=new a("add",{fontCharacter:"\\ea60"}),a.plus=new a("plus",a.add.definition),a.gistNew=new a("gist-new",a.add.definition),a.repoCreate=new a("repo-create",a.add.definition),a.lightbulb=new a("lightbulb",{fontCharacter:"\\ea61"}),a.lightBulb=new a("light-bulb",{fontCharacter:"\\ea61"}),a.repo=new a("repo",{fontCharacter:"\\ea62"}),a.repoDelete=new a("repo-delete",{fontCharacter:"\\ea62"}),a.gistFork=new a("gist-fork",{fontCharacter:"\\ea63"}),a.repoForked=new a("repo-forked",{fontCharacter:"\\ea63"}),a.gitPullRequest=new a("git-pull-request",{fontCharacter:"\\ea64"}),a.gitPullRequestAbandoned=new a("git-pull-request-abandoned",{fontCharacter:"\\ea64"}),a.recordKeys=new a("record-keys",{fontCharacter:"\\ea65"}),a.keyboard=new a("keyboard",{fontCharacter:"\\ea65"}),a.tag=new a("tag",{fontCharacter:"\\ea66"}),a.tagAdd=new a("tag-add",{fontCharacter:"\\ea66"}),a.tagRemove=new a("tag-remove",{fontCharacter:"\\ea66"}),a.person=new a("person",{fontCharacter:"\\ea67"}),a.personFollow=new a("person-follow",{fontCharacter:"\\ea67"}),a.personOutline=new a("person-outline",{fontCharacter:"\\ea67"}),a.personFilled=new a("person-filled",{fontCharacter:"\\ea67"}),a.gitBranch=new a("git-branch",{fontCharacter:"\\ea68"}),a.gitBranchCreate=new a("git-branch-create",{fontCharacter:"\\ea68"}),a.gitBranchDelete=new a("git-branch-delete",{fontCharacter:"\\ea68"}),a.sourceControl=new a("source-control",{fontCharacter:"\\ea68"}),a.mirror=new a("mirror",{fontCharacter:"\\ea69"}),a.mirrorPublic=new a("mirror-public",{fontCharacter:"\\ea69"}),a.star=new a("star",{fontCharacter:"\\ea6a"}),a.starAdd=new a("star-add",{fontCharacter:"\\ea6a"}),a.starDelete=new a("star-delete",{fontCharacter:"\\ea6a"}),a.starEmpty=new a("star-empty",{fontCharacter:"\\ea6a"}),a.comment=new a("comment",{fontCharacter:"\\ea6b"}),a.commentAdd=new a("comment-add",{fontCharacter:"\\ea6b"}),a.alert=new a("alert",{fontCharacter:"\\ea6c"}),a.warning=new a("warning",{fontCharacter:"\\ea6c"}),a.search=new a("search",{fontCharacter:"\\ea6d"}),a.searchSave=new a("search-save",{fontCharacter:"\\ea6d"}),a.logOut=new a("log-out",{fontCharacter:"\\ea6e"}),a.signOut=new a("sign-out",{fontCharacter:"\\ea6e"}),a.logIn=new a("log-in",{fontCharacter:"\\ea6f"}),a.signIn=new a("sign-in",{fontCharacter:"\\ea6f"}),a.eye=new a("eye",{fontCharacter:"\\ea70"}),a.eyeUnwatch=new a("eye-unwatch",{fontCharacter:"\\ea70"}),a.eyeWatch=new a("eye-watch",{fontCharacter:"\\ea70"}),a.circleFilled=new a("circle-filled",{fontCharacter:"\\ea71"}),a.primitiveDot=new a("primitive-dot",{fontCharacter:"\\ea71"}),a.closeDirty=new a("close-dirty",{fontCharacter:"\\ea71"}),a.debugBreakpoint=new a("debug-breakpoint",{fontCharacter:"\\ea71"}),a.debugBreakpointDisabled=new a("debug-breakpoint-disabled",{fontCharacter:"\\ea71"}),a.debugHint=new a("debug-hint",{fontCharacter:"\\ea71"}),a.primitiveSquare=new a("primitive-square",{fontCharacter:"\\ea72"}),a.edit=new a("edit",{fontCharacter:"\\ea73"}),a.pencil=new a("pencil",{fontCharacter:"\\ea73"}),a.info=new a("info",{fontCharacter:"\\ea74"}),a.issueOpened=new a("issue-opened",{fontCharacter:"\\ea74"}),a.gistPrivate=new a("gist-private",{fontCharacter:"\\ea75"}),a.gitForkPrivate=new a("git-fork-private",{fontCharacter:"\\ea75"}),a.lock=new a("lock",{fontCharacter:"\\ea75"}),a.mirrorPrivate=new a("mirror-private",{fontCharacter:"\\ea75"}),a.close=new a("close",{fontCharacter:"\\ea76"}),a.removeClose=new a("remove-close",{fontCharacter:"\\ea76"}),a.x=new a("x",{fontCharacter:"\\ea76"}),a.repoSync=new a("repo-sync",{fontCharacter:"\\ea77"}),a.sync=new a("sync",{fontCharacter:"\\ea77"}),a.clone=new a("clone",{fontCharacter:"\\ea78"}),a.desktopDownload=new a("desktop-download",{fontCharacter:"\\ea78"}),a.beaker=new a("beaker",{fontCharacter:"\\ea79"}),a.microscope=new a("microscope",{fontCharacter:"\\ea79"}),a.vm=new a("vm",{fontCharacter:"\\ea7a"}),a.deviceDesktop=new a("device-desktop",{fontCharacter:"\\ea7a"}),a.file=new a("file",{fontCharacter:"\\ea7b"}),a.fileText=new a("file-text",{fontCharacter:"\\ea7b"}),a.more=new a("more",{fontCharacter:"\\ea7c"}),a.ellipsis=new a("ellipsis",{fontCharacter:"\\ea7c"}),a.kebabHorizontal=new a("kebab-horizontal",{fontCharacter:"\\ea7c"}),a.mailReply=new a("mail-reply",{fontCharacter:"\\ea7d"}),a.reply=new a("reply",{fontCharacter:"\\ea7d"}),a.organization=new a("organization",{fontCharacter:"\\ea7e"}),a.organizationFilled=new a("organization-filled",{fontCharacter:"\\ea7e"}),a.organizationOutline=new a("organization-outline",{fontCharacter:"\\ea7e"}),a.newFile=new a("new-file",{fontCharacter:"\\ea7f"}),a.fileAdd=new a("file-add",{fontCharacter:"\\ea7f"}),a.newFolder=new a("new-folder",{fontCharacter:"\\ea80"}),a.fileDirectoryCreate=new a("file-directory-create",{fontCharacter:"\\ea80"}),a.trash=new a("trash",{fontCharacter:"\\ea81"}),a.trashcan=new a("trashcan",{fontCharacter:"\\ea81"}),a.history=new a("history",{fontCharacter:"\\ea82"}),a.clock=new a("clock",{fontCharacter:"\\ea82"}),a.folder=new a("folder",{fontCharacter:"\\ea83"}),a.fileDirectory=new a("file-directory",{fontCharacter:"\\ea83"}),a.symbolFolder=new a("symbol-folder",{fontCharacter:"\\ea83"}),a.logoGithub=new a("logo-github",{fontCharacter:"\\ea84"}),a.markGithub=new a("mark-github",{fontCharacter:"\\ea84"}),a.github=new a("github",{fontCharacter:"\\ea84"}),a.terminal=new a("terminal",{fontCharacter:"\\ea85"}),a.console=new a("console",{fontCharacter:"\\ea85"}),a.repl=new a("repl",{fontCharacter:"\\ea85"}),a.zap=new a("zap",{fontCharacter:"\\ea86"}),a.symbolEvent=new a("symbol-event",{fontCharacter:"\\ea86"}),a.error=new a("error",{fontCharacter:"\\ea87"}),a.stop=new a("stop",{fontCharacter:"\\ea87"}),a.variable=new a("variable",{fontCharacter:"\\ea88"}),a.symbolVariable=new a("symbol-variable",{fontCharacter:"\\ea88"}),a.array=new a("array",{fontCharacter:"\\ea8a"}),a.symbolArray=new a("symbol-array",{fontCharacter:"\\ea8a"}),a.symbolModule=new a("symbol-module",{fontCharacter:"\\ea8b"}),a.symbolPackage=new a("symbol-package",{fontCharacter:"\\ea8b"}),a.symbolNamespace=new a("symbol-namespace",{fontCharacter:"\\ea8b"}),a.symbolObject=new a("symbol-object",{fontCharacter:"\\ea8b"}),a.symbolMethod=new a("symbol-method",{fontCharacter:"\\ea8c"}),a.symbolFunction=new a("symbol-function",{fontCharacter:"\\ea8c"}),a.symbolConstructor=new a("symbol-constructor",{fontCharacter:"\\ea8c"}),a.symbolBoolean=new a("symbol-boolean",{fontCharacter:"\\ea8f"}),a.symbolNull=new a("symbol-null",{fontCharacter:"\\ea8f"}),a.symbolNumeric=new a("symbol-numeric",{fontCharacter:"\\ea90"}),a.symbolNumber=new a("symbol-number",{fontCharacter:"\\ea90"}),a.symbolStructure=new a("symbol-structure",{fontCharacter:"\\ea91"}),a.symbolStruct=new a("symbol-struct",{fontCharacter:"\\ea91"}),a.symbolParameter=new a("symbol-parameter",{fontCharacter:"\\ea92"}),a.symbolTypeParameter=new a("symbol-type-parameter",{fontCharacter:"\\ea92"}),a.symbolKey=new a("symbol-key",{fontCharacter:"\\ea93"}),a.symbolText=new a("symbol-text",{fontCharacter:"\\ea93"}),a.symbolReference=new a("symbol-reference",{fontCharacter:"\\ea94"}),a.goToFile=new a("go-to-file",{fontCharacter:"\\ea94"}),a.symbolEnum=new a("symbol-enum",{fontCharacter:"\\ea95"}),a.symbolValue=new a("symbol-value",{fontCharacter:"\\ea95"}),a.symbolRuler=new a("symbol-ruler",{fontCharacter:"\\ea96"}),a.symbolUnit=new a("symbol-unit",{fontCharacter:"\\ea96"}),a.activateBreakpoints=new a("activate-breakpoints",{fontCharacter:"\\ea97"}),a.archive=new a("archive",{fontCharacter:"\\ea98"}),a.arrowBoth=new a("arrow-both",{fontCharacter:"\\ea99"}),a.arrowDown=new a("arrow-down",{fontCharacter:"\\ea9a"}),a.arrowLeft=new a("arrow-left",{fontCharacter:"\\ea9b"}),a.arrowRight=new a("arrow-right",{fontCharacter:"\\ea9c"}),a.arrowSmallDown=new a("arrow-small-down",{fontCharacter:"\\ea9d"}),a.arrowSmallLeft=new a("arrow-small-left",{fontCharacter:"\\ea9e"}),a.arrowSmallRight=new a("arrow-small-right",{fontCharacter:"\\ea9f"}),a.arrowSmallUp=new a("arrow-small-up",{fontCharacter:"\\eaa0"}),a.arrowUp=new a("arrow-up",{fontCharacter:"\\eaa1"}),a.bell=new a("bell",{fontCharacter:"\\eaa2"}),a.bold=new a("bold",{fontCharacter:"\\eaa3"}),a.book=new a("book",{fontCharacter:"\\eaa4"}),a.bookmark=new a("bookmark",{fontCharacter:"\\eaa5"}),a.debugBreakpointConditionalUnverified=new a("debug-breakpoint-conditional-unverified",{fontCharacter:"\\eaa6"}),a.debugBreakpointConditional=new a("debug-breakpoint-conditional",{fontCharacter:"\\eaa7"}),a.debugBreakpointConditionalDisabled=new a("debug-breakpoint-conditional-disabled",{fontCharacter:"\\eaa7"}),a.debugBreakpointDataUnverified=new a("debug-breakpoint-data-unverified",{fontCharacter:"\\eaa8"}),a.debugBreakpointData=new a("debug-breakpoint-data",{fontCharacter:"\\eaa9"}),a.debugBreakpointDataDisabled=new a("debug-breakpoint-data-disabled",{fontCharacter:"\\eaa9"}),a.debugBreakpointLogUnverified=new a("debug-breakpoint-log-unverified",{fontCharacter:"\\eaaa"}),a.debugBreakpointLog=new a("debug-breakpoint-log",{fontCharacter:"\\eaab"}),a.debugBreakpointLogDisabled=new a("debug-breakpoint-log-disabled",{fontCharacter:"\\eaab"}),a.briefcase=new a("briefcase",{fontCharacter:"\\eaac"}),a.broadcast=new a("broadcast",{fontCharacter:"\\eaad"}),a.browser=new a("browser",{fontCharacter:"\\eaae"}),a.bug=new a("bug",{fontCharacter:"\\eaaf"}),a.calendar=new a("calendar",{fontCharacter:"\\eab0"}),a.caseSensitive=new a("case-sensitive",{fontCharacter:"\\eab1"}),a.check=new a("check",{fontCharacter:"\\eab2"}),a.checklist=new a("checklist",{fontCharacter:"\\eab3"}),a.chevronDown=new a("chevron-down",{fontCharacter:"\\eab4"}),a.dropDownButton=new a("drop-down-button",a.chevronDown.definition),a.chevronLeft=new a("chevron-left",{fontCharacter:"\\eab5"}),a.chevronRight=new a("chevron-right",{fontCharacter:"\\eab6"}),a.chevronUp=new a("chevron-up",{fontCharacter:"\\eab7"}),a.chromeClose=new a("chrome-close",{fontCharacter:"\\eab8"}),a.chromeMaximize=new a("chrome-maximize",{fontCharacter:"\\eab9"}),a.chromeMinimize=new a("chrome-minimize",{fontCharacter:"\\eaba"}),a.chromeRestore=new a("chrome-restore",{fontCharacter:"\\eabb"}),a.circleOutline=new a("circle-outline",{fontCharacter:"\\eabc"}),a.debugBreakpointUnverified=new a("debug-breakpoint-unverified",{fontCharacter:"\\eabc"}),a.circleSlash=new a("circle-slash",{fontCharacter:"\\eabd"}),a.circuitBoard=new a("circuit-board",{fontCharacter:"\\eabe"}),a.clearAll=new a("clear-all",{fontCharacter:"\\eabf"}),a.clippy=new a("clippy",{fontCharacter:"\\eac0"}),a.closeAll=new a("close-all",{fontCharacter:"\\eac1"}),a.cloudDownload=new a("cloud-download",{fontCharacter:"\\eac2"}),a.cloudUpload=new a("cloud-upload",{fontCharacter:"\\eac3"}),a.code=new a("code",{fontCharacter:"\\eac4"}),a.collapseAll=new a("collapse-all",{fontCharacter:"\\eac5"}),a.colorMode=new a("color-mode",{fontCharacter:"\\eac6"}),a.commentDiscussion=new a("comment-discussion",{fontCharacter:"\\eac7"}),a.compareChanges=new a("compare-changes",{fontCharacter:"\\eafd"}),a.creditCard=new a("credit-card",{fontCharacter:"\\eac9"}),a.dash=new a("dash",{fontCharacter:"\\eacc"}),a.dashboard=new a("dashboard",{fontCharacter:"\\eacd"}),a.database=new a("database",{fontCharacter:"\\eace"}),a.debugContinue=new a("debug-continue",{fontCharacter:"\\eacf"}),a.debugDisconnect=new a("debug-disconnect",{fontCharacter:"\\ead0"}),a.debugPause=new a("debug-pause",{fontCharacter:"\\ead1"}),a.debugRestart=new a("debug-restart",{fontCharacter:"\\ead2"}),a.debugStart=new a("debug-start",{fontCharacter:"\\ead3"}),a.debugStepInto=new a("debug-step-into",{fontCharacter:"\\ead4"}),a.debugStepOut=new a("debug-step-out",{fontCharacter:"\\ead5"}),a.debugStepOver=new a("debug-step-over",{fontCharacter:"\\ead6"}),a.debugStop=new a("debug-stop",{fontCharacter:"\\ead7"}),a.debug=new a("debug",{fontCharacter:"\\ead8"}),a.deviceCameraVideo=new a("device-camera-video",{fontCharacter:"\\ead9"}),a.deviceCamera=new a("device-camera",{fontCharacter:"\\eada"}),a.deviceMobile=new a("device-mobile",{fontCharacter:"\\eadb"}),a.diffAdded=new a("diff-added",{fontCharacter:"\\eadc"}),a.diffIgnored=new a("diff-ignored",{fontCharacter:"\\eadd"}),a.diffModified=new a("diff-modified",{fontCharacter:"\\eade"}),a.diffRemoved=new a("diff-removed",{fontCharacter:"\\eadf"}),a.diffRenamed=new a("diff-renamed",{fontCharacter:"\\eae0"}),a.diff=new a("diff",{fontCharacter:"\\eae1"}),a.discard=new a("discard",{fontCharacter:"\\eae2"}),a.editorLayout=new a("editor-layout",{fontCharacter:"\\eae3"}),a.emptyWindow=new a("empty-window",{fontCharacter:"\\eae4"}),a.exclude=new a("exclude",{fontCharacter:"\\eae5"}),a.extensions=new a("extensions",{fontCharacter:"\\eae6"}),a.eyeClosed=new a("eye-closed",{fontCharacter:"\\eae7"}),a.fileBinary=new a("file-binary",{fontCharacter:"\\eae8"}),a.fileCode=new a("file-code",{fontCharacter:"\\eae9"}),a.fileMedia=new a("file-media",{fontCharacter:"\\eaea"}),a.filePdf=new a("file-pdf",{fontCharacter:"\\eaeb"}),a.fileSubmodule=new a("file-submodule",{fontCharacter:"\\eaec"}),a.fileSymlinkDirectory=new a("file-symlink-directory",{fontCharacter:"\\eaed"}),a.fileSymlinkFile=new a("file-symlink-file",{fontCharacter:"\\eaee"}),a.fileZip=new a("file-zip",{fontCharacter:"\\eaef"}),a.files=new a("files",{fontCharacter:"\\eaf0"}),a.filter=new a("filter",{fontCharacter:"\\eaf1"}),a.flame=new a("flame",{fontCharacter:"\\eaf2"}),a.foldDown=new a("fold-down",{fontCharacter:"\\eaf3"}),a.foldUp=new a("fold-up",{fontCharacter:"\\eaf4"}),a.fold=new a("fold",{fontCharacter:"\\eaf5"}),a.folderActive=new a("folder-active",{fontCharacter:"\\eaf6"}),a.folderOpened=new a("folder-opened",{fontCharacter:"\\eaf7"}),a.gear=new a("gear",{fontCharacter:"\\eaf8"}),a.gift=new a("gift",{fontCharacter:"\\eaf9"}),a.gistSecret=new a("gist-secret",{fontCharacter:"\\eafa"}),a.gist=new a("gist",{fontCharacter:"\\eafb"}),a.gitCommit=new a("git-commit",{fontCharacter:"\\eafc"}),a.gitCompare=new a("git-compare",{fontCharacter:"\\eafd"}),a.gitMerge=new a("git-merge",{fontCharacter:"\\eafe"}),a.githubAction=new a("github-action",{fontCharacter:"\\eaff"}),a.githubAlt=new a("github-alt",{fontCharacter:"\\eb00"}),a.globe=new a("globe",{fontCharacter:"\\eb01"}),a.grabber=new a("grabber",{fontCharacter:"\\eb02"}),a.graph=new a("graph",{fontCharacter:"\\eb03"}),a.gripper=new a("gripper",{fontCharacter:"\\eb04"}),a.heart=new a("heart",{fontCharacter:"\\eb05"}),a.home=new a("home",{fontCharacter:"\\eb06"}),a.horizontalRule=new a("horizontal-rule",{fontCharacter:"\\eb07"}),a.hubot=new a("hubot",{fontCharacter:"\\eb08"}),a.inbox=new a("inbox",{fontCharacter:"\\eb09"}),a.issueClosed=new a("issue-closed",{fontCharacter:"\\eba4"}),a.issueReopened=new a("issue-reopened",{fontCharacter:"\\eb0b"}),a.issues=new a("issues",{fontCharacter:"\\eb0c"}),a.italic=new a("italic",{fontCharacter:"\\eb0d"}),a.jersey=new a("jersey",{fontCharacter:"\\eb0e"}),a.json=new a("json",{fontCharacter:"\\eb0f"}),a.kebabVertical=new a("kebab-vertical",{fontCharacter:"\\eb10"}),a.key=new a("key",{fontCharacter:"\\eb11"}),a.law=new a("law",{fontCharacter:"\\eb12"}),a.lightbulbAutofix=new a("lightbulb-autofix",{fontCharacter:"\\eb13"}),a.linkExternal=new a("link-external",{fontCharacter:"\\eb14"}),a.link=new a("link",{fontCharacter:"\\eb15"}),a.listOrdered=new a("list-ordered",{fontCharacter:"\\eb16"}),a.listUnordered=new a("list-unordered",{fontCharacter:"\\eb17"}),a.liveShare=new a("live-share",{fontCharacter:"\\eb18"}),a.loading=new a("loading",{fontCharacter:"\\eb19"}),a.location=new a("location",{fontCharacter:"\\eb1a"}),a.mailRead=new a("mail-read",{fontCharacter:"\\eb1b"}),a.mail=new a("mail",{fontCharacter:"\\eb1c"}),a.markdown=new a("markdown",{fontCharacter:"\\eb1d"}),a.megaphone=new a("megaphone",{fontCharacter:"\\eb1e"}),a.mention=new a("mention",{fontCharacter:"\\eb1f"}),a.milestone=new a("milestone",{fontCharacter:"\\eb20"}),a.mortarBoard=new a("mortar-board",{fontCharacter:"\\eb21"}),a.move=new a("move",{fontCharacter:"\\eb22"}),a.multipleWindows=new a("multiple-windows",{fontCharacter:"\\eb23"}),a.mute=new a("mute",{fontCharacter:"\\eb24"}),a.noNewline=new a("no-newline",{fontCharacter:"\\eb25"}),a.note=new a("note",{fontCharacter:"\\eb26"}),a.octoface=new a("octoface",{fontCharacter:"\\eb27"}),a.openPreview=new a("open-preview",{fontCharacter:"\\eb28"}),a.package_=new a("package",{fontCharacter:"\\eb29"}),a.paintcan=new a("paintcan",{fontCharacter:"\\eb2a"}),a.pin=new a("pin",{fontCharacter:"\\eb2b"}),a.play=new a("play",{fontCharacter:"\\eb2c"}),a.run=new a("run",{fontCharacter:"\\eb2c"}),a.plug=new a("plug",{fontCharacter:"\\eb2d"}),a.preserveCase=new a("preserve-case",{fontCharacter:"\\eb2e"}),a.preview=new a("preview",{fontCharacter:"\\eb2f"}),a.project=new a("project",{fontCharacter:"\\eb30"}),a.pulse=new a("pulse",{fontCharacter:"\\eb31"}),a.question=new a("question",{fontCharacter:"\\eb32"}),a.quote=new a("quote",{fontCharacter:"\\eb33"}),a.radioTower=new a("radio-tower",{fontCharacter:"\\eb34"}),a.reactions=new a("reactions",{fontCharacter:"\\eb35"}),a.references=new a("references",{fontCharacter:"\\eb36"}),a.refresh=new a("refresh",{fontCharacter:"\\eb37"}),a.regex=new a("regex",{fontCharacter:"\\eb38"}),a.remoteExplorer=new a("remote-explorer",{fontCharacter:"\\eb39"}),a.remote=new a("remote",{fontCharacter:"\\eb3a"}),a.remove=new a("remove",{fontCharacter:"\\eb3b"}),a.replaceAll=new a("replace-all",{fontCharacter:"\\eb3c"}),a.replace=new a("replace",{fontCharacter:"\\eb3d"}),a.repoClone=new a("repo-clone",{fontCharacter:"\\eb3e"}),a.repoForcePush=new a("repo-force-push",{fontCharacter:"\\eb3f"}),a.repoPull=new a("repo-pull",{fontCharacter:"\\eb40"}),a.repoPush=new a("repo-push",{fontCharacter:"\\eb41"}),a.report=new a("report",{fontCharacter:"\\eb42"}),a.requestChanges=new a("request-changes",{fontCharacter:"\\eb43"}),a.rocket=new a("rocket",{fontCharacter:"\\eb44"}),a.rootFolderOpened=new a("root-folder-opened",{fontCharacter:"\\eb45"}),a.rootFolder=new a("root-folder",{fontCharacter:"\\eb46"}),a.rss=new a("rss",{fontCharacter:"\\eb47"}),a.ruby=new a("ruby",{fontCharacter:"\\eb48"}),a.saveAll=new a("save-all",{fontCharacter:"\\eb49"}),a.saveAs=new a("save-as",{fontCharacter:"\\eb4a"}),a.save=new a("save",{fontCharacter:"\\eb4b"}),a.screenFull=new a("screen-full",{fontCharacter:"\\eb4c"}),a.screenNormal=new a("screen-normal",{fontCharacter:"\\eb4d"}),a.searchStop=new a("search-stop",{fontCharacter:"\\eb4e"}),a.server=new a("server",{fontCharacter:"\\eb50"}),a.settingsGear=new a("settings-gear",{fontCharacter:"\\eb51"}),a.settings=new a("settings",{fontCharacter:"\\eb52"}),a.shield=new a("shield",{fontCharacter:"\\eb53"}),a.smiley=new a("smiley",{fontCharacter:"\\eb54"}),a.sortPrecedence=new a("sort-precedence",{fontCharacter:"\\eb55"}),a.splitHorizontal=new a("split-horizontal",{fontCharacter:"\\eb56"}),a.splitVertical=new a("split-vertical",{fontCharacter:"\\eb57"}),a.squirrel=new a("squirrel",{fontCharacter:"\\eb58"}),a.starFull=new a("star-full",{fontCharacter:"\\eb59"}),a.starHalf=new a("star-half",{fontCharacter:"\\eb5a"}),a.symbolClass=new a("symbol-class",{fontCharacter:"\\eb5b"}),a.symbolColor=new a("symbol-color",{fontCharacter:"\\eb5c"}),a.symbolConstant=new a("symbol-constant",{fontCharacter:"\\eb5d"}),a.symbolEnumMember=new a("symbol-enum-member",{fontCharacter:"\\eb5e"}),a.symbolField=new a("symbol-field",{fontCharacter:"\\eb5f"}),a.symbolFile=new a("symbol-file",{fontCharacter:"\\eb60"}),a.symbolInterface=new a("symbol-interface",{fontCharacter:"\\eb61"}),a.symbolKeyword=new a("symbol-keyword",{fontCharacter:"\\eb62"}),a.symbolMisc=new a("symbol-misc",{fontCharacter:"\\eb63"}),a.symbolOperator=new a("symbol-operator",{fontCharacter:"\\eb64"}),a.symbolProperty=new a("symbol-property",{fontCharacter:"\\eb65"}),a.wrench=new a("wrench",{fontCharacter:"\\eb65"}),a.wrenchSubaction=new a("wrench-subaction",{fontCharacter:"\\eb65"}),a.symbolSnippet=new a("symbol-snippet",{fontCharacter:"\\eb66"}),a.tasklist=new a("tasklist",{fontCharacter:"\\eb67"}),a.telescope=new a("telescope",{fontCharacter:"\\eb68"}),a.textSize=new a("text-size",{fontCharacter:"\\eb69"}),a.threeBars=new a("three-bars",{fontCharacter:"\\eb6a"}),a.thumbsdown=new a("thumbsdown",{fontCharacter:"\\eb6b"}),a.thumbsup=new a("thumbsup",{fontCharacter:"\\eb6c"}),a.tools=new a("tools",{fontCharacter:"\\eb6d"}),a.triangleDown=new a("triangle-down",{fontCharacter:"\\eb6e"}),a.triangleLeft=new a("triangle-left",{fontCharacter:"\\eb6f"}),a.triangleRight=new a("triangle-right",{fontCharacter:"\\eb70"}),a.triangleUp=new a("triangle-up",{fontCharacter:"\\eb71"}),a.twitter=new a("twitter",{fontCharacter:"\\eb72"}),a.unfold=new a("unfold",{fontCharacter:"\\eb73"}),a.unlock=new a("unlock",{fontCharacter:"\\eb74"}),a.unmute=new a("unmute",{fontCharacter:"\\eb75"}),a.unverified=new a("unverified",{fontCharacter:"\\eb76"}),a.verified=new a("verified",{fontCharacter:"\\eb77"}),a.versions=new a("versions",{fontCharacter:"\\eb78"}),a.vmActive=new a("vm-active",{fontCharacter:"\\eb79"}),a.vmOutline=new a("vm-outline",{fontCharacter:"\\eb7a"}),a.vmRunning=new a("vm-running",{fontCharacter:"\\eb7b"}),a.watch=new a("watch",{fontCharacter:"\\eb7c"}),a.whitespace=new a("whitespace",{fontCharacter:"\\eb7d"}),a.wholeWord=new a("whole-word",{fontCharacter:"\\eb7e"}),a.window=new a("window",{fontCharacter:"\\eb7f"}),a.wordWrap=new a("word-wrap",{fontCharacter:"\\eb80"}),a.zoomIn=new a("zoom-in",{fontCharacter:"\\eb81"}),a.zoomOut=new a("zoom-out",{fontCharacter:"\\eb82"}),a.listFilter=new a("list-filter",{fontCharacter:"\\eb83"}),a.listFlat=new a("list-flat",{fontCharacter:"\\eb84"}),a.listSelection=new a("list-selection",{fontCharacter:"\\eb85"}),a.selection=new a("selection",{fontCharacter:"\\eb85"}),a.listTree=new a("list-tree",{fontCharacter:"\\eb86"}),a.debugBreakpointFunctionUnverified=new a("debug-breakpoint-function-unverified",{fontCharacter:"\\eb87"}),a.debugBreakpointFunction=new a("debug-breakpoint-function",{fontCharacter:"\\eb88"}),a.debugBreakpointFunctionDisabled=new a("debug-breakpoint-function-disabled",{fontCharacter:"\\eb88"}),a.debugStackframeActive=new a("debug-stackframe-active",{fontCharacter:"\\eb89"}),a.debugStackframeDot=new a("debug-stackframe-dot",{fontCharacter:"\\eb8a"}),a.debugStackframe=new a("debug-stackframe",{fontCharacter:"\\eb8b"}),a.debugStackframeFocused=new a("debug-stackframe-focused",{fontCharacter:"\\eb8b"}),a.debugBreakpointUnsupported=new a("debug-breakpoint-unsupported",{fontCharacter:"\\eb8c"}),a.symbolString=new a("symbol-string",{fontCharacter:"\\eb8d"}),a.debugReverseContinue=new a("debug-reverse-continue",{fontCharacter:"\\eb8e"}),a.debugStepBack=new a("debug-step-back",{fontCharacter:"\\eb8f"}),a.debugRestartFrame=new a("debug-restart-frame",{fontCharacter:"\\eb90"}),a.callIncoming=new a("call-incoming",{fontCharacter:"\\eb92"}),a.callOutgoing=new a("call-outgoing",{fontCharacter:"\\eb93"}),a.menu=new a("menu",{fontCharacter:"\\eb94"}),a.expandAll=new a("expand-all",{fontCharacter:"\\eb95"}),a.feedback=new a("feedback",{fontCharacter:"\\eb96"}),a.groupByRefType=new a("group-by-ref-type",{fontCharacter:"\\eb97"}),a.ungroupByRefType=new a("ungroup-by-ref-type",{fontCharacter:"\\eb98"}),a.account=new a("account",{fontCharacter:"\\eb99"}),a.bellDot=new a("bell-dot",{fontCharacter:"\\eb9a"}),a.debugConsole=new a("debug-console",{fontCharacter:"\\eb9b"}),a.library=new a("library",{fontCharacter:"\\eb9c"}),a.output=new a("output",{fontCharacter:"\\eb9d"}),a.runAll=new a("run-all",{fontCharacter:"\\eb9e"}),a.syncIgnored=new a("sync-ignored",{fontCharacter:"\\eb9f"}),a.pinned=new a("pinned",{fontCharacter:"\\eba0"}),a.githubInverted=new a("github-inverted",{fontCharacter:"\\eba1"}),a.debugAlt=new a("debug-alt",{fontCharacter:"\\eb91"}),a.serverProcess=new a("server-process",{fontCharacter:"\\eba2"}),a.serverEnvironment=new a("server-environment",{fontCharacter:"\\eba3"}),a.pass=new a("pass",{fontCharacter:"\\eba4"}),a.stopCircle=new a("stop-circle",{fontCharacter:"\\eba5"}),a.playCircle=new a("play-circle",{fontCharacter:"\\eba6"}),a.record=new a("record",{fontCharacter:"\\eba7"}),a.debugAltSmall=new a("debug-alt-small",{fontCharacter:"\\eba8"}),a.vmConnect=new a("vm-connect",{fontCharacter:"\\eba9"}),a.cloud=new a("cloud",{fontCharacter:"\\ebaa"}),a.merge=new a("merge",{fontCharacter:"\\ebab"}),a.exportIcon=new a("export",{fontCharacter:"\\ebac"}),a.graphLeft=new a("graph-left",{fontCharacter:"\\ebad"}),a.magnet=new a("magnet",{fontCharacter:"\\ebae"}),a.notebook=new a("notebook",{fontCharacter:"\\ebaf"}),a.redo=new a("redo",{fontCharacter:"\\ebb0"}),a.checkAll=new a("check-all",{fontCharacter:"\\ebb1"}),a.pinnedDirty=new a("pinned-dirty",{fontCharacter:"\\ebb2"}),a.passFilled=new a("pass-filled",{fontCharacter:"\\ebb3"}),a.circleLargeFilled=new a("circle-large-filled",{fontCharacter:"\\ebb4"}),a.circleLargeOutline=new a("circle-large-outline",{fontCharacter:"\\ebb5"}),a.combine=new a("combine",{fontCharacter:"\\ebb6"}),a.gather=new a("gather",{fontCharacter:"\\ebb6"}),a.table=new a("table",{fontCharacter:"\\ebb7"}),a.variableGroup=new a("variable-group",{fontCharacter:"\\ebb8"}),a.typeHierarchy=new a("type-hierarchy",{fontCharacter:"\\ebb9"}),a.typeHierarchySub=new a("type-hierarchy-sub",{fontCharacter:"\\ebba"}),a.typeHierarchySuper=new a("type-hierarchy-super",{fontCharacter:"\\ebbb"}),a.gitPullRequestCreate=new a("git-pull-request-create",{fontCharacter:"\\ebbc"}),a.runAbove=new a("run-above",{fontCharacter:"\\ebbd"}),a.runBelow=new a("run-below",{fontCharacter:"\\ebbe"}),a.notebookTemplate=new a("notebook-template",{fontCharacter:"\\ebbf"}),a.debugRerun=new a("debug-rerun",{fontCharacter:"\\ebc0"}),a.workspaceTrusted=new a("workspace-trusted",{fontCharacter:"\\ebc1"}),a.workspaceUntrusted=new a("workspace-untrusted",{fontCharacter:"\\ebc2"}),a.workspaceUnspecified=new a("workspace-unspecified",{fontCharacter:"\\ebc3"}),a.terminalCmd=new a("terminal-cmd",{fontCharacter:"\\ebc4"}),a.terminalDebian=new a("terminal-debian",{fontCharacter:"\\ebc5"}),a.terminalLinux=new a("terminal-linux",{fontCharacter:"\\ebc6"}),a.terminalPowershell=new a("terminal-powershell",{fontCharacter:"\\ebc7"}),a.terminalTmux=new a("terminal-tmux",{fontCharacter:"\\ebc8"}),a.terminalUbuntu=new a("terminal-ubuntu",{fontCharacter:"\\ebc9"}),a.terminalBash=new a("terminal-bash",{fontCharacter:"\\ebca"}),a.arrowSwap=new a("arrow-swap",{fontCharacter:"\\ebcb"}),a.copy=new a("copy",{fontCharacter:"\\ebcc"}),a.personAdd=new a("person-add",{fontCharacter:"\\ebcd"}),a.filterFilled=new a("filter-filled",{fontCharacter:"\\ebce"}),a.wand=new a("wand",{fontCharacter:"\\ebcf"}),a.debugLineByLine=new a("debug-line-by-line",{fontCharacter:"\\ebd0"}),a.inspect=new a("inspect",{fontCharacter:"\\ebd1"}),a.layers=new a("layers",{fontCharacter:"\\ebd2"}),a.layersDot=new a("layers-dot",{fontCharacter:"\\ebd3"}),a.layersActive=new a("layers-active",{fontCharacter:"\\ebd4"}),a.compass=new a("compass",{fontCharacter:"\\ebd5"}),a.compassDot=new a("compass-dot",{fontCharacter:"\\ebd6"}),a.compassActive=new a("compass-active",{fontCharacter:"\\ebd7"}),a.azure=new a("azure",{fontCharacter:"\\ebd8"}),a.issueDraft=new a("issue-draft",{fontCharacter:"\\ebd9"}),a.gitPullRequestClosed=new a("git-pull-request-closed",{fontCharacter:"\\ebda"}),a.gitPullRequestDraft=new a("git-pull-request-draft",{fontCharacter:"\\ebdb"}),a.debugAll=new a("debug-all",{fontCharacter:"\\ebdc"}),a.debugCoverage=new a("debug-coverage",{fontCharacter:"\\ebdd"}),a.runErrors=new a("run-errors",{fontCharacter:"\\ebde"}),a.folderLibrary=new a("folder-library",{fontCharacter:"\\ebdf"}),a.debugContinueSmall=new a("debug-continue-small",{fontCharacter:"\\ebe0"}),a.beakerStop=new a("beaker-stop",{fontCharacter:"\\ebe1"}),a.graphLine=new a("graph-line",{fontCharacter:"\\ebe2"}),a.graphScatter=new a("graph-scatter",{fontCharacter:"\\ebe3"}),a.pieChart=new a("pie-chart",{fontCharacter:"\\ebe4"}),a.bracket=new a("bracket",a.json.definition),a.bracketDot=new a("bracket-dot",{fontCharacter:"\\ebe5"}),a.bracketError=new a("bracket-error",{fontCharacter:"\\ebe6"}),a.lockSmall=new a("lock-small",{fontCharacter:"\\ebe7"}),a.azureDevops=new a("azure-devops",{fontCharacter:"\\ebe8"}),a.verifiedFilled=new a("verified-filled",{fontCharacter:"\\ebe9"})}(h||(h={}))},79881:function(d,g,e){"use strict";e.d(g,{B8:function(){return p},Cp:function(){return c},F0:function(){return u},L6:function(){return x},VV:function(){return h},b1:function(){return a},dL:function(){return l},ri:function(){return f}});class r{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(_){setTimeout(()=>{throw _.stack?new Error(_.message+`
`+_.stack):_},0)}}emit(_){this.listeners.forEach(b=>{b(_)})}onUnexpectedError(_){this.unexpectedErrorHandler(_),this.emit(_)}onUnexpectedExternalError(_){this.unexpectedErrorHandler(_)}}const i=new r;function l(y){h(y)||i.onUnexpectedError(y)}function c(y){h(y)||i.onUnexpectedExternalError(y)}function f(y){if(y instanceof Error){let{name:_,message:b}=y;const S=y.stacktrace||y.stack;return{$isError:!0,name:_,message:b,stack:S}}return y}const s="Canceled";function h(y){return y instanceof Error&&y.name===s&&y.message===s}function u(){const y=new Error(s);return y.name=y.message,y}function a(y){return y?new Error(`Illegal argument: ${y}`):new Error("Illegal argument")}function x(y){return y?new Error(`Illegal state: ${y}`):new Error("Illegal state")}class p extends Error{constructor(_){super("NotSupported"),_&&(this.message=_)}}},4348:function(d,g,e){"use strict";e.d(g,{D0:function(){return p},E7:function(){return y},K3:function(){return x},Q5:function(){return a},ZD:function(){return _},ju:function(){return f}});var r=e(79881),i=e(69323),l=e(34502),c=e(95830),f;(function(b){b.None=()=>i.JT.None;function S(te){return(q,J=null,le)=>{let z=!1,F;return F=te(se=>{if(!z)return F?F.dispose():z=!0,q.call(J,se)},null,le),z&&F.dispose(),F}}b.once=S;function R(te,q){return j((J,le=null,z)=>te(F=>J.call(le,q(F)),null,z))}b.map=R;function L(te,q){return j((J,le=null,z)=>te(F=>{q(F),J.call(le,F)},null,z))}b.forEach=L;function T(te,q){return j((J,le=null,z)=>te(F=>q(F)&&J.call(le,F),null,z))}b.filter=T;function D(te){return te}b.signal=D;function M(...te){return(q,J=null,le)=>(0,i.F8)(...te.map(z=>z(F=>q.call(J,F),null,le)))}b.any=M;function N(te,q,J){let le=J;return R(te,z=>(le=q(le,z),le))}b.reduce=N;function j(te){let q;const J=new a({onFirstListenerAdd(){q=te(J.fire,J)},onLastListenerRemove(){q.dispose()}});return J.event}function Q(te,q,J=100,le=!1,z){let F,se,_e,Pe=0;const Re=new a({leakWarningThreshold:z,onFirstListenerAdd(){F=te(Ze=>{Pe++,se=q(se,Ze),le&&!_e&&(Re.fire(se),se=void 0),clearTimeout(_e),_e=setTimeout(()=>{const $e=se;se=void 0,_e=void 0,(!le||Pe>1)&&Re.fire($e),Pe=0},J)})},onLastListenerRemove(){F.dispose()}});return Re.event}b.debounce=Q;function X(te,q=(J,le)=>J===le){let J=!0,le;return T(te,z=>{const F=J||!q(z,le);return J=!1,le=z,F})}b.latch=X;function Y(te,q){return[b.filter(te,q),b.filter(te,J=>!q(J))]}b.split=Y;function oe(te,q=!1,J=[]){let le=J.slice(),z=te(_e=>{le?le.push(_e):se.fire(_e)});const F=()=>{le&&le.forEach(_e=>se.fire(_e)),le=null},se=new a({onFirstListenerAdd(){z||(z=te(_e=>se.fire(_e)))},onFirstListenerDidAdd(){le&&(q?setTimeout(F):F())},onLastListenerRemove(){z&&z.dispose(),z=null}});return se.event}b.buffer=oe;class ie{constructor(q){this.event=q}map(q){return new ie(R(this.event,q))}forEach(q){return new ie(L(this.event,q))}filter(q){return new ie(T(this.event,q))}reduce(q,J){return new ie(N(this.event,q,J))}latch(){return new ie(X(this.event))}debounce(q,J=100,le=!1,z){return new ie(Q(this.event,q,J,le,z))}on(q,J,le){return this.event(q,J,le)}once(q,J,le){return S(this.event)(q,J,le)}}function ue(te){return new ie(te)}b.chain=ue;function K(te,q,J=le=>le){const le=(..._e)=>se.fire(J(..._e)),z=()=>te.on(q,le),F=()=>te.removeListener(q,le),se=new a({onFirstListenerAdd:z,onLastListenerRemove:F});return se.event}b.fromNodeEventEmitter=K;function V(te,q,J=le=>le){const le=(..._e)=>se.fire(J(..._e)),z=()=>te.addEventListener(q,le),F=()=>te.removeEventListener(q,le),se=new a({onFirstListenerAdd:z,onLastListenerRemove:F});return se.event}b.fromDOMEventEmitter=V;function G(te){return new Promise(q=>S(te)(q))}b.toPromise=G})(f||(f={}));class s{constructor(S){this._listenerCount=0,this._invocationCount=0,this._elapsedOverall=0,this._name=`${S}_${s._idPool++}`}start(S){this._stopWatch=new c.G(!0),this._listenerCount=S}stop(){if(this._stopWatch){const S=this._stopWatch.elapsed();this._elapsedOverall+=S,this._invocationCount+=1,console.info(`did FIRE ${this._name}: elapsed_ms: ${S.toFixed(5)}, listener: ${this._listenerCount} (elapsed_overall: ${this._elapsedOverall.toFixed(2)}, invocations: ${this._invocationCount})`),this._stopWatch=void 0}}}s._idPool=0;let h=-1;class u{constructor(S,R=Math.random().toString(18).slice(2,5)){this.customThreshold=S,this.name=R,this._warnCountdown=0}dispose(){this._stacks&&this._stacks.clear()}check(S){let R=h;if(typeof this.customThreshold=="number"&&(R=this.customThreshold),R<=0||S<R)return;this._stacks||(this._stacks=new Map);const L=new Error().stack.split(`
`).slice(3).join(`
`),T=this._stacks.get(L)||0;if(this._stacks.set(L,T+1),this._warnCountdown-=1,this._warnCountdown<=0){this._warnCountdown=R*.5;let D,M=0;for(const[N,j]of this._stacks)(!D||M<j)&&(D=N,M=j);console.warn(`[${this.name}] potential listener LEAK detected, having ${S} listeners already. MOST frequent listener (${M}):`),console.warn(D)}return()=>{const D=this._stacks.get(L)||0;this._stacks.set(L,D-1)}}}class a{constructor(S){var R;this._disposed=!1,this._options=S,this._leakageMon=h>0?new u(this._options&&this._options.leakWarningThreshold):void 0,this._perfMon=!((R=this._options)===null||R===void 0)&&R._profName?new s(this._options._profName):void 0}get event(){return this._event||(this._event=(S,R,L)=>{var T;this._listeners||(this._listeners=new l.S);const D=this._listeners.isEmpty();D&&this._options&&this._options.onFirstListenerAdd&&this._options.onFirstListenerAdd(this);const M=this._listeners.push(R?[S,R]:S);D&&this._options&&this._options.onFirstListenerDidAdd&&this._options.onFirstListenerDidAdd(this),this._options&&this._options.onListenerDidAdd&&this._options.onListenerDidAdd(this,S,R);const N=(T=this._leakageMon)===null||T===void 0?void 0:T.check(this._listeners.size),j=(0,i.OF)(()=>{N&&N(),this._disposed||(M(),this._options&&this._options.onLastListenerRemove&&(this._listeners&&!this._listeners.isEmpty()||this._options.onLastListenerRemove(this)))});return L instanceof i.SL?L.add(j):Array.isArray(L)&&L.push(j),j}),this._event}fire(S){var R,L;if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new l.S);for(let T of this._listeners)this._deliveryQueue.push([T,S]);for((R=this._perfMon)===null||R===void 0||R.start(this._deliveryQueue.size);this._deliveryQueue.size>0;){const[T,D]=this._deliveryQueue.shift();try{typeof T=="function"?T.call(void 0,D):T[0].call(T[1],D)}catch(M){(0,r.dL)(M)}}(L=this._perfMon)===null||L===void 0||L.stop()}}dispose(){var S,R,L,T,D;this._disposed||(this._disposed=!0,(S=this._listeners)===null||S===void 0||S.clear(),(R=this._deliveryQueue)===null||R===void 0||R.clear(),(T=(L=this._options)===null||L===void 0?void 0:L.onLastListenerRemove)===null||T===void 0||T.call(L),(D=this._leakageMon)===null||D===void 0||D.dispose())}}class x extends a{constructor(S){super(S),this._isPaused=0,this._eventQueue=new l.S,this._mergeFn=S==null?void 0:S.merge}pause(){this._isPaused++}resume(){if(this._isPaused!==0&&--this._isPaused===0)if(this._mergeFn){const S=Array.from(this._eventQueue);this._eventQueue.clear(),super.fire(this._mergeFn(S))}else for(;!this._isPaused&&this._eventQueue.size!==0;)super.fire(this._eventQueue.shift())}fire(S){this._listeners&&(this._isPaused!==0?this._eventQueue.push(S):super.fire(S))}}class p extends x{constructor(S){var R;super(S),this._delay=(R=S.delay)!==null&&R!==void 0?R:100}fire(S){this._handle||(this.pause(),this._handle=setTimeout(()=>{this._handle=void 0,this.resume()},this._delay)),super.fire(S)}}class y{constructor(){this.buffers=[]}wrapEvent(S){return(R,L,T)=>S(D=>{const M=this.buffers[this.buffers.length-1];M?M.push(()=>R.call(L,D)):R.call(L,D)},void 0,T)}bufferEvents(S){const R=[];this.buffers.push(R);const L=S();return this.buffers.pop(),R.forEach(T=>T()),L}}class _{constructor(){this.listening=!1,this.inputEvent=f.None,this.inputEventListener=i.JT.None,this.emitter=new a({onFirstListenerDidAdd:()=>{this.listening=!0,this.inputEventListener=this.inputEvent(this.emitter.fire,this.emitter)},onLastListenerRemove:()=>{this.listening=!1,this.inputEventListener.dispose()}}),this.event=this.emitter.event}set input(S){this.inputEvent=S,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=S(this.emitter.fire,this.emitter))}dispose(){this.inputEventListener.dispose(),this.emitter.dispose()}}},17845:function(d,g,e){"use strict";e.d(g,{I:function(){return r}});function r(i){const l=this;let c=!1,f;return function(){return c||(c=!0,f=i.apply(l,arguments)),f}}},88226:function(d,g,e){"use strict";e.d(g,{$:function(){return r}});var r;(function(i){function l(M){return M&&typeof M=="object"&&typeof M[Symbol.iterator]=="function"}i.is=l;const c=Object.freeze([]);function f(){return c}i.empty=f;function*s(M){yield M}i.single=s;function h(M){return M||c}i.from=h;function u(M){return!M||M[Symbol.iterator]().next().done===!0}i.isEmpty=u;function a(M){return M[Symbol.iterator]().next().value}i.first=a;function x(M,N){for(const j of M)if(N(j))return!0;return!1}i.some=x;function p(M,N){for(const j of M)if(N(j))return j}i.find=p;function*y(M,N){for(const j of M)N(j)&&(yield j)}i.filter=y;function*_(M,N){let j=0;for(const Q of M)yield N(Q,j++)}i.map=_;function*b(...M){for(const N of M)for(const j of N)yield j}i.concat=b;function*S(M){for(const N of M)for(const j of N)yield j}i.concatNested=S;function R(M,N,j){let Q=j;for(const X of M)Q=N(Q,X);return Q}i.reduce=R;function*L(M,N,j=M.length){for(N<0&&(N+=M.length),j<0?j+=M.length:j>M.length&&(j=M.length);N<j;N++)yield M[N]}i.slice=L;function T(M,N=Number.POSITIVE_INFINITY){const j=[];if(N===0)return[j,M];const Q=M[Symbol.iterator]();for(let X=0;X<N;X++){const Y=Q.next();if(Y.done)return[j,i.empty()];j.push(Y.value)}return[j,{[Symbol.iterator](){return Q}}]}i.consume=T;function D(M,N,j=(Q,X)=>Q===X){const Q=M[Symbol.iterator](),X=N[Symbol.iterator]();for(;;){const Y=Q.next(),oe=X.next();if(Y.done!==oe.done)return!1;if(Y.done)return!0;if(!j(Y.value,oe.value))return!1}}i.equals=D})(r||(r={}))},69323:function(d,g,e){"use strict";e.d(g,{B9:function(){return _},F8:function(){return b},JT:function(){return L},Jz:function(){return D},OF:function(){return S},SL:function(){return R},Wf:function(){return y},XK:function(){return T},dk:function(){return x}});var r=e(17845),i=e(88226);const l=!1;let c=null;function f(M){c=M}if(l){const M="__is_disposable_tracked__";f(new class{trackDisposable(N){const j=new Error("Potentially leaked disposable").stack;setTimeout(()=>{N[M]||console.log(j)},3e3)}setParent(N,j){if(N&&N!==L.None)try{N[M]=!0}catch(Q){}}markAsDisposed(N){if(N&&N!==L.None)try{N[M]=!0}catch(j){}}markAsSingleton(N){}})}function s(M){return c==null||c.trackDisposable(M),M}function h(M){c==null||c.markAsDisposed(M)}function u(M,N){c==null||c.setParent(M,N)}function a(M,N){if(c)for(const j of M)c.setParent(j,N)}function x(M){return c==null||c.markAsSingleton(M),M}class p extends Error{constructor(N){super(`Encountered errors while disposing of store. Errors: [${N.join(", ")}]`),this.errors=N}}function y(M){return typeof M.dispose=="function"&&M.dispose.length===0}function _(M){if(i.$.is(M)){let N=[];for(const j of M)if(j)try{j.dispose()}catch(Q){N.push(Q)}if(N.length===1)throw N[0];if(N.length>1)throw new p(N);return Array.isArray(M)?[]:M}else if(M)return M.dispose(),M}function b(...M){const N=S(()=>_(M));return a(M,N),N}function S(M){const N=s({dispose:(0,r.I)(()=>{h(N),M()})});return N}class R{constructor(){this._toDispose=new Set,this._isDisposed=!1,s(this)}dispose(){this._isDisposed||(h(this),this._isDisposed=!0,this.clear())}clear(){try{_(this._toDispose.values())}finally{this._toDispose.clear()}}add(N){if(!N)return N;if(N===this)throw new Error("Cannot register a disposable on itself!");return u(N,this),this._isDisposed?R.DISABLE_DISPOSED_WARNING||console.warn(new Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(N),N}}R.DISABLE_DISPOSED_WARNING=!1;class L{constructor(){this._store=new R,s(this),u(this._store,this)}dispose(){h(this),this._store.dispose()}_register(N){if(N===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(N)}}L.None=Object.freeze({dispose(){}});class T{constructor(){this._isDisposed=!1,s(this)}get value(){return this._isDisposed?void 0:this._value}set value(N){var j;this._isDisposed||N===this._value||((j=this._value)===null||j===void 0||j.dispose(),N&&u(N,this),this._value=N)}clear(){this.value=void 0}dispose(){var N;this._isDisposed=!0,h(this),(N=this._value)===null||N===void 0||N.dispose(),this._value=void 0}clearAndLeak(){const N=this._value;return this._value=void 0,N&&u(N,null),N}}class D{constructor(N){this.object=N}dispose(){}}},34502:function(d,g,e){"use strict";e.d(g,{S:function(){return i}});class r{constructor(c){this.element=c,this.next=r.Undefined,this.prev=r.Undefined}}r.Undefined=new r(void 0);class i{constructor(){this._first=r.Undefined,this._last=r.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===r.Undefined}clear(){let c=this._first;for(;c!==r.Undefined;){const f=c.next;c.prev=r.Undefined,c.next=r.Undefined,c=f}this._first=r.Undefined,this._last=r.Undefined,this._size=0}unshift(c){return this._insert(c,!1)}push(c){return this._insert(c,!0)}_insert(c,f){const s=new r(c);if(this._first===r.Undefined)this._first=s,this._last=s;else if(f){const u=this._last;this._last=s,s.prev=u,u.next=s}else{const u=this._first;this._first=s,s.next=u,u.prev=s}this._size+=1;let h=!1;return()=>{h||(h=!0,this._remove(s))}}shift(){if(this._first!==r.Undefined){const c=this._first.element;return this._remove(this._first),c}}pop(){if(this._last!==r.Undefined){const c=this._last.element;return this._remove(this._last),c}}_remove(c){if(c.prev!==r.Undefined&&c.next!==r.Undefined){const f=c.prev;f.next=c.next,c.next.prev=f}else c.prev===r.Undefined&&c.next===r.Undefined?(this._first=r.Undefined,this._last=r.Undefined):c.next===r.Undefined?(this._last=this._last.prev,this._last.next=r.Undefined):c.prev===r.Undefined&&(this._first=this._first.next,this._first.prev=r.Undefined);this._size-=1}*[Symbol.iterator](){let c=this._first;for(;c!==r.Undefined;)yield c.element,c=c.next}}},23345:function(d,g,e){"use strict";e.d(g,{$L:function(){return Q},ED:function(){return D},IJ:function(){return N},OS:function(){return ie},WE:function(){return Y},dz:function(){return M},gn:function(){return X},li:function(){return S},r:function(){return V},tY:function(){return j},xS:function(){return oe}});var r=e(97671),i;const l="en";let c=!1,f=!1,s=!1,h=!1,u=!1,a=!1,x=!1,p,y=null,_=null,b;const S=typeof self=="object"?self:typeof e.g=="object"?e.g:{};let R;typeof S.vscode!="undefined"&&typeof S.vscode.process!="undefined"?R=S.vscode.process:typeof r!="undefined"&&(R=r);const L=typeof((i=R==null?void 0:R.versions)===null||i===void 0?void 0:i.electron)=="string"&&R.type==="renderer";if(typeof navigator=="object"&&!L)b=navigator.userAgent,c=b.indexOf("Windows")>=0,f=b.indexOf("Macintosh")>=0,x=(b.indexOf("Macintosh")>=0||b.indexOf("iPad")>=0||b.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,s=b.indexOf("Linux")>=0,a=!0,p=navigator.language,y=p;else if(typeof R=="object"){c=R.platform==="win32",f=R.platform==="darwin",s=R.platform==="linux",h=s&&!!R.env.SNAP&&!!R.env.SNAP_REVISION,p=l,y=l;const G=R.env.VSCODE_NLS_CONFIG;if(G)try{const te=JSON.parse(G),q=te.availableLanguages["*"];p=te.locale,y=q||l,_=te._translationsConfigFile}catch(te){}u=!0}else console.error("Unable to resolve platform.");let T=0;f?T=1:c?T=3:s&&(T=2);const D=c,M=f,N=s,j=u,Q=a,X=x,Y=b,oe=function(){if(S.setImmediate)return S.setImmediate.bind(S);if(typeof S.postMessage=="function"&&!S.importScripts){let q=[];S.addEventListener("message",le=>{if(le.data&&le.data.vscodeSetImmediateId)for(let z=0,F=q.length;z<F;z++){const se=q[z];if(se.id===le.data.vscodeSetImmediateId){q.splice(z,1),se.callback();return}}});let J=0;return le=>{const z=++J;q.push({id:z,callback:le}),S.postMessage({vscodeSetImmediateId:z},"*")}}if(typeof(R==null?void 0:R.nextTick)=="function")return R.nextTick.bind(R);const te=Promise.resolve();return q=>te.then(q)}(),ie=f||x?2:c?1:3;let ue=!0,K=!1;function V(){if(!K){K=!0;const G=new Uint8Array(2);G[0]=1,G[1]=2,ue=new Uint16Array(G.buffer)[0]===513}return ue}},95830:function(d,g,e){"use strict";e.d(g,{G:function(){return l}});var r=e(23345);const i=r.li.performance&&typeof r.li.performance.now=="function";class l{constructor(f){this._highResolution=i&&f,this._startTime=this._now(),this._stopTime=-1}static create(f=!0){return new l(f)}stop(){this._stopTime=this._now()}elapsed(){return this._stopTime!==-1?this._stopTime-this._startTime:this._now()-this._startTime}_now(){return this._highResolution?r.li.performance.now():Date.now()}}},82983:function(d,g,e){"use strict";e.d(g,{$i:function(){return Pe},C8:function(){return bt},GF:function(){return p},HO:function(){return J},IO:function(){return y},K7:function(){return Ht},Kw:function(){return er},LC:function(){return S},Mh:function(){return oe},P1:function(){return ie},PJ:function(){return Jt},Qe:function(){return Re},R1:function(){return x},RP:function(){return se},S6:function(){return Xe},TT:function(){return D},Ut:function(){return z},V8:function(){return R},WU:function(){return l},YK:function(){return K},YU:function(){return c},ZG:function(){return ue},ZH:function(){return G},ab:function(){return Ze},c1:function(){return Ot},df:function(){return Q},ec:function(){return f},fi:function(){return Pt},fy:function(){return s},j3:function(){return h},j_:function(){return N},m5:function(){return r},mK:function(){return j},mr:function(){return _},oH:function(){return yt},oL:function(){return u},ok:function(){return Y},ow:function(){return L},qq:function(){return X},qu:function(){return T},rL:function(){return V},uS:function(){return qt},un:function(){return a},uq:function(){return b},vH:function(){return q},xe:function(){return $e},zY:function(){return M}});function r(ge){return!ge||typeof ge!="string"?!0:ge.trim().length===0}const i=/{(\d+)}/g;function l(ge,...Se){return Se.length===0?ge:ge.replace(i,function(Me,Ne){const He=parseInt(Ne,10);return isNaN(He)||He<0||He>=Se.length?Me:Se[He]})}function c(ge){return ge.replace(/[<>&]/g,function(Se){switch(Se){case"<":return"&lt;";case">":return"&gt;";case"&":return"&amp;";default:return Se}})}function f(ge){return ge.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function s(ge,Se=" "){const Me=h(ge,Se);return u(Me,Se)}function h(ge,Se){if(!ge||!Se)return ge;const Me=Se.length;if(Me===0||ge.length===0)return ge;let Ne=0;for(;ge.indexOf(Se,Ne)===Ne;)Ne=Ne+Me;return ge.substring(Ne)}function u(ge,Se){if(!ge||!Se)return ge;const Me=Se.length,Ne=ge.length;if(Me===0||Ne===0)return ge;let He=Ne,nt=-1;for(;nt=ge.lastIndexOf(Se,He-1),!(nt===-1||nt+Me!==He);){if(nt===0)return"";He=nt}return ge.substring(0,He)}function a(ge){return ge.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}function x(ge){return ge.replace(/\*/g,"")}function p(ge,Se,Me={}){if(!ge)throw new Error("Cannot create regex from empty string");Se||(ge=f(ge)),Me.wholeWord&&(/\B/.test(ge.charAt(0))||(ge="\\b"+ge),/\B/.test(ge.charAt(ge.length-1))||(ge=ge+"\\b"));let Ne="";return Me.global&&(Ne+="g"),Me.matchCase||(Ne+="i"),Me.multiline&&(Ne+="m"),Me.unicode&&(Ne+="u"),new RegExp(ge,Ne)}function y(ge){return ge.source==="^"||ge.source==="^$"||ge.source==="$"||ge.source==="^\\s*$"?!1:!!(ge.exec("")&&ge.lastIndex===0)}function _(ge){return(ge.global?"g":"")+(ge.ignoreCase?"i":"")+(ge.multiline?"m":"")+(ge.unicode?"u":"")}function b(ge){return ge.split(/\r\n|\r|\n/)}function S(ge){for(let Se=0,Me=ge.length;Se<Me;Se++){const Ne=ge.charCodeAt(Se);if(Ne!==32&&Ne!==9)return Se}return-1}function R(ge,Se=0,Me=ge.length){for(let Ne=Se;Ne<Me;Ne++){const He=ge.charCodeAt(Ne);if(He!==32&&He!==9)return ge.substring(Se,Ne)}return ge.substring(Se,Me)}function L(ge,Se=ge.length-1){for(let Me=Se;Me>=0;Me--){const Ne=ge.charCodeAt(Me);if(Ne!==32&&Ne!==9)return Me}return-1}function T(ge,Se){return ge<Se?-1:ge>Se?1:0}function D(ge,Se,Me=0,Ne=ge.length,He=0,nt=Se.length){for(;Me<Ne&&He<nt;Me++,He++){let Wt=ge.charCodeAt(Me),Ie=Se.charCodeAt(He);if(Wt<Ie)return-1;if(Wt>Ie)return 1}const ct=Ne-Me,Vt=nt-He;return ct<Vt?-1:ct>Vt?1:0}function M(ge,Se){return N(ge,Se,0,ge.length,0,Se.length)}function N(ge,Se,Me=0,Ne=ge.length,He=0,nt=Se.length){for(;Me<Ne&&He<nt;Me++,He++){let Wt=ge.charCodeAt(Me),Ie=Se.charCodeAt(He);if(Wt===Ie)continue;if(Wt>=128||Ie>=128)return D(ge.toLowerCase(),Se.toLowerCase(),Me,Ne,He,nt);j(Wt)&&(Wt-=32),j(Ie)&&(Ie-=32);const qe=Wt-Ie;if(qe!==0)return qe}const ct=Ne-Me,Vt=nt-He;return ct<Vt?-1:ct>Vt?1:0}function j(ge){return ge>=97&&ge<=122}function Q(ge){return ge>=65&&ge<=90}function X(ge,Se){return ge.length===Se.length&&N(ge,Se)===0}function Y(ge,Se){const Me=Se.length;return Se.length>ge.length?!1:N(ge,Se,0,Me)===0}function oe(ge,Se){let Me,Ne=Math.min(ge.length,Se.length);for(Me=0;Me<Ne;Me++)if(ge.charCodeAt(Me)!==Se.charCodeAt(Me))return Me;return Ne}function ie(ge,Se){let Me,Ne=Math.min(ge.length,Se.length);const He=ge.length-1,nt=Se.length-1;for(Me=0;Me<Ne;Me++)if(ge.charCodeAt(He-Me)!==Se.charCodeAt(nt-Me))return Me;return Ne}function ue(ge){return 55296<=ge&&ge<=56319}function K(ge){return 56320<=ge&&ge<=57343}function V(ge,Se){return(ge-55296<<10)+(Se-56320)+65536}function G(ge,Se,Me){const Ne=ge.charCodeAt(Me);if(ue(Ne)&&Me+1<Se){const He=ge.charCodeAt(Me+1);if(K(He))return V(Ne,He)}return Ne}function te(ge,Se){const Me=ge.charCodeAt(Se-1);if(K(Me)&&Se>1){const Ne=ge.charCodeAt(Se-2);if(ue(Ne))return V(Ne,Me)}return Me}function q(ge,Se){const Me=Ut.getInstance(),Ne=Se,He=ge.length,nt=G(ge,He,Se);Se+=nt>=65536?2:1;let ct=Me.getGraphemeBreakType(nt);for(;Se<He;){const Vt=G(ge,He,Se),Wt=Me.getGraphemeBreakType(Vt);if(Pt(ct,Wt))break;Se+=Vt>=65536?2:1,ct=Wt}return Se-Ne}function J(ge,Se){const Me=Ut.getInstance(),Ne=Se,He=te(ge,Se);Se-=He>=65536?2:1;let nt=Me.getGraphemeBreakType(He);for(;Se>0;){const ct=te(ge,Se),Vt=Me.getGraphemeBreakType(ct);if(Pt(Vt,nt))break;Se-=ct>=65536?2:1,nt=Vt}return Ne-Se}const le=/(?:[\u05BE\u05C0\u05C3\u05C6\u05D0-\u05F4\u0608\u060B\u060D\u061B-\u064A\u066D-\u066F\u0671-\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u0710\u0712-\u072F\u074D-\u07A5\u07B1-\u07EA\u07F4\u07F5\u07FA-\u0815\u081A\u0824\u0828\u0830-\u0858\u085E-\u08BD\u200F\uFB1D\uFB1F-\uFB28\uFB2A-\uFD3D\uFD50-\uFDFC\uFE70-\uFEFC]|\uD802[\uDC00-\uDD1B\uDD20-\uDE00\uDE10-\uDE33\uDE40-\uDEE4\uDEEB-\uDF35\uDF40-\uDFFF]|\uD803[\uDC00-\uDCFF]|\uD83A[\uDC00-\uDCCF\uDD00-\uDD43\uDD50-\uDFFF]|\uD83B[\uDC00-\uDEBB])/;function z(ge){return le.test(ge)}const F=/(?:[\u231A\u231B\u23F0\u23F3\u2600-\u27BF\u2B50\u2B55]|\uD83C[\uDDE6-\uDDFF\uDF00-\uDFFF]|\uD83D[\uDC00-\uDE4F\uDE80-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD00-\uDDFF\uDE70-\uDED6])/;function se(ge){return F.test(ge)}const _e=/^[\t\n\r\x20-\x7E]*$/;function Pe(ge){return _e.test(ge)}const Re=/[\u2028\u2029]/;function Ze(ge){return Re.test(ge)}function $e(ge){for(let Se=0,Me=ge.length;Se<Me;Se++)if(Ht(ge.charCodeAt(Se)))return!0;return!1}function Ht(ge){return ge=+ge,ge>=11904&&ge<=55215||ge>=63744&&ge<=64255||ge>=65281&&ge<=65374}function bt(ge){return ge>=127462&&ge<=127487||ge===8986||ge===8987||ge===9200||ge===9203||ge>=9728&&ge<=10175||ge===11088||ge===11093||ge>=127744&&ge<=128591||ge>=128640&&ge<=128764||ge>=128992&&ge<=129003||ge>=129280&&ge<=129535||ge>=129648&&ge<=129750}const Ot="\uFEFF";function qt(ge){return!!(ge&&ge.length>0&&ge.charCodeAt(0)===65279)}function er(ge,Se=!1){return ge?(Se&&(ge=ge.replace(/\\./g,"")),ge.toLowerCase()!==ge):!1}function Jt(ge){return ge=ge%52,ge<26?String.fromCharCode(97+ge):String.fromCharCode(65+ge-26)}function Xe(ge){return Ut.getInstance().getGraphemeBreakType(ge)}function Pt(ge,Se){return ge===0?Se!==5&&Se!==7:ge===2&&Se===3?!1:ge===4||ge===2||ge===3||Se===4||Se===2||Se===3?!0:!(ge===8&&(Se===8||Se===9||Se===11||Se===12)||(ge===11||ge===9)&&(Se===9||Se===10)||(ge===12||ge===10)&&Se===10||Se===5||Se===13||Se===7||ge===1||ge===13&&Se===14||ge===6&&Se===6)}class Ut{constructor(){this._data=st()}static getInstance(){return Ut._INSTANCE||(Ut._INSTANCE=new Ut),Ut._INSTANCE}getGraphemeBreakType(Se){if(Se<32)return Se===10?3:Se===13?2:4;if(Se<127)return 0;const Me=this._data,Ne=Me.length/3;let He=1;for(;He<=Ne;)if(Se<Me[3*He])He=2*He;else if(Se>Me[3*He+1])He=2*He+1;else return Me[3*He+2];return 0}}Ut._INSTANCE=null;function st(){return JSON.parse("[0,0,0,51592,51592,11,44424,44424,11,72251,72254,5,7150,7150,7,48008,48008,11,55176,55176,11,128420,128420,14,3276,3277,5,9979,9980,14,46216,46216,11,49800,49800,11,53384,53384,11,70726,70726,5,122915,122916,5,129320,129327,14,2558,2558,5,5906,5908,5,9762,9763,14,43360,43388,8,45320,45320,11,47112,47112,11,48904,48904,11,50696,50696,11,52488,52488,11,54280,54280,11,70082,70083,1,71350,71350,7,73111,73111,5,127892,127893,14,128726,128727,14,129473,129474,14,2027,2035,5,2901,2902,5,3784,3789,5,6754,6754,5,8418,8420,5,9877,9877,14,11088,11088,14,44008,44008,5,44872,44872,11,45768,45768,11,46664,46664,11,47560,47560,11,48456,48456,11,49352,49352,11,50248,50248,11,51144,51144,11,52040,52040,11,52936,52936,11,53832,53832,11,54728,54728,11,69811,69814,5,70459,70460,5,71096,71099,7,71998,71998,5,72874,72880,5,119149,119149,7,127374,127374,14,128335,128335,14,128482,128482,14,128765,128767,14,129399,129400,14,129680,129685,14,1476,1477,5,2377,2380,7,2759,2760,5,3137,3140,7,3458,3459,7,4153,4154,5,6432,6434,5,6978,6978,5,7675,7679,5,9723,9726,14,9823,9823,14,9919,9923,14,10035,10036,14,42736,42737,5,43596,43596,5,44200,44200,11,44648,44648,11,45096,45096,11,45544,45544,11,45992,45992,11,46440,46440,11,46888,46888,11,47336,47336,11,47784,47784,11,48232,48232,11,48680,48680,11,49128,49128,11,49576,49576,11,50024,50024,11,50472,50472,11,50920,50920,11,51368,51368,11,51816,51816,11,52264,52264,11,52712,52712,11,53160,53160,11,53608,53608,11,54056,54056,11,54504,54504,11,54952,54952,11,68108,68111,5,69933,69940,5,70197,70197,7,70498,70499,7,70845,70845,5,71229,71229,5,71727,71735,5,72154,72155,5,72344,72345,5,73023,73029,5,94095,94098,5,121403,121452,5,126981,127182,14,127538,127546,14,127990,127990,14,128391,128391,14,128445,128449,14,128500,128505,14,128752,128752,14,129160,129167,14,129356,129356,14,129432,129442,14,129648,129651,14,129751,131069,14,173,173,4,1757,1757,1,2274,2274,1,2494,2494,5,2641,2641,5,2876,2876,5,3014,3016,7,3262,3262,7,3393,3396,5,3570,3571,7,3968,3972,5,4228,4228,7,6086,6086,5,6679,6680,5,6912,6915,5,7080,7081,5,7380,7392,5,8252,8252,14,9096,9096,14,9748,9749,14,9784,9786,14,9833,9850,14,9890,9894,14,9938,9938,14,9999,9999,14,10085,10087,14,12349,12349,14,43136,43137,7,43454,43456,7,43755,43755,7,44088,44088,11,44312,44312,11,44536,44536,11,44760,44760,11,44984,44984,11,45208,45208,11,45432,45432,11,45656,45656,11,45880,45880,11,46104,46104,11,46328,46328,11,46552,46552,11,46776,46776,11,47000,47000,11,47224,47224,11,47448,47448,11,47672,47672,11,47896,47896,11,48120,48120,11,48344,48344,11,48568,48568,11,48792,48792,11,49016,49016,11,49240,49240,11,49464,49464,11,49688,49688,11,49912,49912,11,50136,50136,11,50360,50360,11,50584,50584,11,50808,50808,11,51032,51032,11,51256,51256,11,51480,51480,11,51704,51704,11,51928,51928,11,52152,52152,11,52376,52376,11,52600,52600,11,52824,52824,11,53048,53048,11,53272,53272,11,53496,53496,11,53720,53720,11,53944,53944,11,54168,54168,11,54392,54392,11,54616,54616,11,54840,54840,11,55064,55064,11,65438,65439,5,69633,69633,5,69837,69837,1,70018,70018,7,70188,70190,7,70368,70370,7,70465,70468,7,70712,70719,5,70835,70840,5,70850,70851,5,71132,71133,5,71340,71340,7,71458,71461,5,71985,71989,7,72002,72002,7,72193,72202,5,72281,72283,5,72766,72766,7,72885,72886,5,73104,73105,5,92912,92916,5,113824,113827,4,119173,119179,5,121505,121519,5,125136,125142,5,127279,127279,14,127489,127490,14,127570,127743,14,127900,127901,14,128254,128254,14,128369,128370,14,128400,128400,14,128425,128432,14,128468,128475,14,128489,128494,14,128715,128720,14,128745,128745,14,128759,128760,14,129004,129023,14,129296,129304,14,129340,129342,14,129388,129392,14,129404,129407,14,129454,129455,14,129485,129487,14,129659,129663,14,129719,129727,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2363,2363,7,2402,2403,5,2507,2508,7,2622,2624,7,2691,2691,7,2786,2787,5,2881,2884,5,3006,3006,5,3072,3072,5,3170,3171,5,3267,3268,7,3330,3331,7,3406,3406,1,3538,3540,5,3655,3662,5,3897,3897,5,4038,4038,5,4184,4185,5,4352,4447,8,6068,6069,5,6155,6157,5,6448,6449,7,6742,6742,5,6783,6783,5,6966,6970,5,7042,7042,7,7143,7143,7,7212,7219,5,7412,7412,5,8206,8207,4,8294,8303,4,8596,8601,14,9410,9410,14,9742,9742,14,9757,9757,14,9770,9770,14,9794,9794,14,9828,9828,14,9855,9855,14,9882,9882,14,9900,9903,14,9929,9933,14,9963,9967,14,9987,9988,14,10006,10006,14,10062,10062,14,10175,10175,14,11744,11775,5,42607,42607,5,43043,43044,7,43263,43263,5,43444,43445,7,43569,43570,5,43698,43700,5,43766,43766,5,44032,44032,11,44144,44144,11,44256,44256,11,44368,44368,11,44480,44480,11,44592,44592,11,44704,44704,11,44816,44816,11,44928,44928,11,45040,45040,11,45152,45152,11,45264,45264,11,45376,45376,11,45488,45488,11,45600,45600,11,45712,45712,11,45824,45824,11,45936,45936,11,46048,46048,11,46160,46160,11,46272,46272,11,46384,46384,11,46496,46496,11,46608,46608,11,46720,46720,11,46832,46832,11,46944,46944,11,47056,47056,11,47168,47168,11,47280,47280,11,47392,47392,11,47504,47504,11,47616,47616,11,47728,47728,11,47840,47840,11,47952,47952,11,48064,48064,11,48176,48176,11,48288,48288,11,48400,48400,11,48512,48512,11,48624,48624,11,48736,48736,11,48848,48848,11,48960,48960,11,49072,49072,11,49184,49184,11,49296,49296,11,49408,49408,11,49520,49520,11,49632,49632,11,49744,49744,11,49856,49856,11,49968,49968,11,50080,50080,11,50192,50192,11,50304,50304,11,50416,50416,11,50528,50528,11,50640,50640,11,50752,50752,11,50864,50864,11,50976,50976,11,51088,51088,11,51200,51200,11,51312,51312,11,51424,51424,11,51536,51536,11,51648,51648,11,51760,51760,11,51872,51872,11,51984,51984,11,52096,52096,11,52208,52208,11,52320,52320,11,52432,52432,11,52544,52544,11,52656,52656,11,52768,52768,11,52880,52880,11,52992,52992,11,53104,53104,11,53216,53216,11,53328,53328,11,53440,53440,11,53552,53552,11,53664,53664,11,53776,53776,11,53888,53888,11,54000,54000,11,54112,54112,11,54224,54224,11,54336,54336,11,54448,54448,11,54560,54560,11,54672,54672,11,54784,54784,11,54896,54896,11,55008,55008,11,55120,55120,11,64286,64286,5,66272,66272,5,68900,68903,5,69762,69762,7,69817,69818,5,69927,69931,5,70003,70003,5,70070,70078,5,70094,70094,7,70194,70195,7,70206,70206,5,70400,70401,5,70463,70463,7,70475,70477,7,70512,70516,5,70722,70724,5,70832,70832,5,70842,70842,5,70847,70848,5,71088,71089,7,71102,71102,7,71219,71226,5,71231,71232,5,71342,71343,7,71453,71455,5,71463,71467,5,71737,71738,5,71995,71996,5,72000,72000,7,72145,72147,7,72160,72160,5,72249,72249,7,72273,72278,5,72330,72342,5,72752,72758,5,72850,72871,5,72882,72883,5,73018,73018,5,73031,73031,5,73109,73109,5,73461,73462,7,94031,94031,5,94192,94193,7,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,126976,126979,14,127184,127231,14,127344,127345,14,127405,127461,14,127514,127514,14,127561,127567,14,127778,127779,14,127896,127896,14,127985,127986,14,127995,127999,5,128326,128328,14,128360,128366,14,128378,128378,14,128394,128397,14,128405,128406,14,128422,128423,14,128435,128443,14,128453,128464,14,128479,128480,14,128484,128487,14,128496,128498,14,128640,128709,14,128723,128724,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129096,129103,14,129292,129292,14,129311,129311,14,129329,129330,14,129344,129349,14,129360,129374,14,129394,129394,14,129402,129402,14,129413,129425,14,129445,129450,14,129466,129471,14,129483,129483,14,129511,129535,14,129653,129655,14,129667,129670,14,129705,129711,14,129731,129743,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2307,2307,7,2366,2368,7,2382,2383,7,2434,2435,7,2497,2500,5,2519,2519,5,2563,2563,7,2631,2632,5,2677,2677,5,2750,2752,7,2763,2764,7,2817,2817,5,2879,2879,5,2891,2892,7,2914,2915,5,3008,3008,5,3021,3021,5,3076,3076,5,3146,3149,5,3202,3203,7,3264,3265,7,3271,3272,7,3298,3299,5,3390,3390,5,3402,3404,7,3426,3427,5,3535,3535,5,3544,3550,7,3635,3635,7,3763,3763,7,3893,3893,5,3953,3966,5,3981,3991,5,4145,4145,7,4157,4158,5,4209,4212,5,4237,4237,5,4520,4607,10,5970,5971,5,6071,6077,5,6089,6099,5,6277,6278,5,6439,6440,5,6451,6456,7,6683,6683,5,6744,6750,5,6765,6770,7,6846,6846,5,6964,6964,5,6972,6972,5,7019,7027,5,7074,7077,5,7083,7085,5,7146,7148,7,7154,7155,7,7222,7223,5,7394,7400,5,7416,7417,5,8204,8204,5,8233,8233,4,8288,8292,4,8413,8416,5,8482,8482,14,8986,8987,14,9193,9203,14,9654,9654,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9775,14,9792,9792,14,9800,9811,14,9825,9826,14,9831,9831,14,9852,9853,14,9872,9873,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9936,9936,14,9941,9960,14,9974,9974,14,9982,9985,14,9992,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10145,10145,14,11013,11015,14,11503,11505,5,12334,12335,5,12951,12951,14,42612,42621,5,43014,43014,5,43047,43047,7,43204,43205,5,43335,43345,5,43395,43395,7,43450,43451,7,43561,43566,5,43573,43574,5,43644,43644,5,43710,43711,5,43758,43759,7,44005,44005,5,44012,44012,7,44060,44060,11,44116,44116,11,44172,44172,11,44228,44228,11,44284,44284,11,44340,44340,11,44396,44396,11,44452,44452,11,44508,44508,11,44564,44564,11,44620,44620,11,44676,44676,11,44732,44732,11,44788,44788,11,44844,44844,11,44900,44900,11,44956,44956,11,45012,45012,11,45068,45068,11,45124,45124,11,45180,45180,11,45236,45236,11,45292,45292,11,45348,45348,11,45404,45404,11,45460,45460,11,45516,45516,11,45572,45572,11,45628,45628,11,45684,45684,11,45740,45740,11,45796,45796,11,45852,45852,11,45908,45908,11,45964,45964,11,46020,46020,11,46076,46076,11,46132,46132,11,46188,46188,11,46244,46244,11,46300,46300,11,46356,46356,11,46412,46412,11,46468,46468,11,46524,46524,11,46580,46580,11,46636,46636,11,46692,46692,11,46748,46748,11,46804,46804,11,46860,46860,11,46916,46916,11,46972,46972,11,47028,47028,11,47084,47084,11,47140,47140,11,47196,47196,11,47252,47252,11,47308,47308,11,47364,47364,11,47420,47420,11,47476,47476,11,47532,47532,11,47588,47588,11,47644,47644,11,47700,47700,11,47756,47756,11,47812,47812,11,47868,47868,11,47924,47924,11,47980,47980,11,48036,48036,11,48092,48092,11,48148,48148,11,48204,48204,11,48260,48260,11,48316,48316,11,48372,48372,11,48428,48428,11,48484,48484,11,48540,48540,11,48596,48596,11,48652,48652,11,48708,48708,11,48764,48764,11,48820,48820,11,48876,48876,11,48932,48932,11,48988,48988,11,49044,49044,11,49100,49100,11,49156,49156,11,49212,49212,11,49268,49268,11,49324,49324,11,49380,49380,11,49436,49436,11,49492,49492,11,49548,49548,11,49604,49604,11,49660,49660,11,49716,49716,11,49772,49772,11,49828,49828,11,49884,49884,11,49940,49940,11,49996,49996,11,50052,50052,11,50108,50108,11,50164,50164,11,50220,50220,11,50276,50276,11,50332,50332,11,50388,50388,11,50444,50444,11,50500,50500,11,50556,50556,11,50612,50612,11,50668,50668,11,50724,50724,11,50780,50780,11,50836,50836,11,50892,50892,11,50948,50948,11,51004,51004,11,51060,51060,11,51116,51116,11,51172,51172,11,51228,51228,11,51284,51284,11,51340,51340,11,51396,51396,11,51452,51452,11,51508,51508,11,51564,51564,11,51620,51620,11,51676,51676,11,51732,51732,11,51788,51788,11,51844,51844,11,51900,51900,11,51956,51956,11,52012,52012,11,52068,52068,11,52124,52124,11,52180,52180,11,52236,52236,11,52292,52292,11,52348,52348,11,52404,52404,11,52460,52460,11,52516,52516,11,52572,52572,11,52628,52628,11,52684,52684,11,52740,52740,11,52796,52796,11,52852,52852,11,52908,52908,11,52964,52964,11,53020,53020,11,53076,53076,11,53132,53132,11,53188,53188,11,53244,53244,11,53300,53300,11,53356,53356,11,53412,53412,11,53468,53468,11,53524,53524,11,53580,53580,11,53636,53636,11,53692,53692,11,53748,53748,11,53804,53804,11,53860,53860,11,53916,53916,11,53972,53972,11,54028,54028,11,54084,54084,11,54140,54140,11,54196,54196,11,54252,54252,11,54308,54308,11,54364,54364,11,54420,54420,11,54476,54476,11,54532,54532,11,54588,54588,11,54644,54644,11,54700,54700,11,54756,54756,11,54812,54812,11,54868,54868,11,54924,54924,11,54980,54980,11,55036,55036,11,55092,55092,11,55148,55148,11,55216,55238,9,65056,65071,5,65529,65531,4,68097,68099,5,68159,68159,5,69446,69456,5,69688,69702,5,69808,69810,7,69815,69816,7,69821,69821,1,69888,69890,5,69932,69932,7,69957,69958,7,70016,70017,5,70067,70069,7,70079,70080,7,70089,70092,5,70095,70095,5,70191,70193,5,70196,70196,5,70198,70199,5,70367,70367,5,70371,70378,5,70402,70403,7,70462,70462,5,70464,70464,5,70471,70472,7,70487,70487,5,70502,70508,5,70709,70711,7,70720,70721,7,70725,70725,7,70750,70750,5,70833,70834,7,70841,70841,7,70843,70844,7,70846,70846,7,70849,70849,7,71087,71087,5,71090,71093,5,71100,71101,5,71103,71104,5,71216,71218,7,71227,71228,7,71230,71230,7,71339,71339,5,71341,71341,5,71344,71349,5,71351,71351,5,71456,71457,7,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123628,123631,5,125252,125258,5,126980,126980,14,127183,127183,14,127245,127247,14,127340,127343,14,127358,127359,14,127377,127386,14,127462,127487,6,127491,127503,14,127535,127535,14,127548,127551,14,127568,127569,14,127744,127777,14,127780,127891,14,127894,127895,14,127897,127899,14,127902,127984,14,127987,127989,14,127991,127994,14,128000,128253,14,128255,128317,14,128329,128334,14,128336,128359,14,128367,128368,14,128371,128377,14,128379,128390,14,128392,128393,14,128398,128399,14,128401,128404,14,128407,128419,14,128421,128421,14,128424,128424,14,128433,128434,14,128444,128444,14,128450,128452,14,128465,128467,14,128476,128478,14,128481,128481,14,128483,128483,14,128488,128488,14,128495,128495,14,128499,128499,14,128506,128591,14,128710,128714,14,128721,128722,14,128725,128725,14,128728,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129664,129666,14,129671,129679,14,129686,129704,14,129712,129718,14,129728,129730,14,129744,129750,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2259,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3134,3136,5,3142,3144,5,3157,3158,5,3201,3201,5,3260,3260,5,3263,3263,5,3266,3266,5,3270,3270,5,3274,3275,7,3285,3286,5,3328,3329,5,3387,3388,5,3391,3392,7,3398,3400,7,3405,3405,5,3415,3415,5,3457,3457,5,3530,3530,5,3536,3537,7,3542,3542,5,3551,3551,5,3633,3633,5,3636,3642,5,3761,3761,5,3764,3772,5,3864,3865,5,3895,3895,5,3902,3903,7,3967,3967,7,3974,3975,5,3993,4028,5,4141,4144,5,4146,4151,5,4155,4156,7,4182,4183,7,4190,4192,5,4226,4226,5,4229,4230,5,4253,4253,5,4448,4519,9,4957,4959,5,5938,5940,5,6002,6003,5,6070,6070,7,6078,6085,7,6087,6088,7,6109,6109,5,6158,6158,4,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6848,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7673,5,8203,8203,4,8205,8205,13,8232,8232,4,8234,8238,4,8265,8265,14,8293,8293,4,8400,8412,5,8417,8417,5,8421,8432,5,8505,8505,14,8617,8618,14,9000,9000,14,9167,9167,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9776,9783,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9935,14,9937,9937,14,9939,9940,14,9961,9962,14,9968,9973,14,9975,9978,14,9981,9981,14,9986,9986,14,9989,9989,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10084,14,10133,10135,14,10160,10160,14,10548,10549,14,11035,11036,14,11093,11093,14,11647,11647,5,12330,12333,5,12336,12336,14,12441,12442,5,12953,12953,14,42608,42610,5,42654,42655,5,43010,43010,5,43019,43019,5,43045,43046,5,43052,43052,5,43188,43203,7,43232,43249,5,43302,43309,5,43346,43347,7,43392,43394,5,43443,43443,5,43446,43449,5,43452,43453,5,43493,43493,5,43567,43568,7,43571,43572,7,43587,43587,5,43597,43597,7,43696,43696,5,43703,43704,5,43713,43713,5,43756,43757,5,43765,43765,7,44003,44004,7,44006,44007,7,44009,44010,7,44013,44013,5,44033,44059,12,44061,44087,12,44089,44115,12,44117,44143,12,44145,44171,12,44173,44199,12,44201,44227,12,44229,44255,12,44257,44283,12,44285,44311,12,44313,44339,12,44341,44367,12,44369,44395,12,44397,44423,12,44425,44451,12,44453,44479,12,44481,44507,12,44509,44535,12,44537,44563,12,44565,44591,12,44593,44619,12,44621,44647,12,44649,44675,12,44677,44703,12,44705,44731,12,44733,44759,12,44761,44787,12,44789,44815,12,44817,44843,12,44845,44871,12,44873,44899,12,44901,44927,12,44929,44955,12,44957,44983,12,44985,45011,12,45013,45039,12,45041,45067,12,45069,45095,12,45097,45123,12,45125,45151,12,45153,45179,12,45181,45207,12,45209,45235,12,45237,45263,12,45265,45291,12,45293,45319,12,45321,45347,12,45349,45375,12,45377,45403,12,45405,45431,12,45433,45459,12,45461,45487,12,45489,45515,12,45517,45543,12,45545,45571,12,45573,45599,12,45601,45627,12,45629,45655,12,45657,45683,12,45685,45711,12,45713,45739,12,45741,45767,12,45769,45795,12,45797,45823,12,45825,45851,12,45853,45879,12,45881,45907,12,45909,45935,12,45937,45963,12,45965,45991,12,45993,46019,12,46021,46047,12,46049,46075,12,46077,46103,12,46105,46131,12,46133,46159,12,46161,46187,12,46189,46215,12,46217,46243,12,46245,46271,12,46273,46299,12,46301,46327,12,46329,46355,12,46357,46383,12,46385,46411,12,46413,46439,12,46441,46467,12,46469,46495,12,46497,46523,12,46525,46551,12,46553,46579,12,46581,46607,12,46609,46635,12,46637,46663,12,46665,46691,12,46693,46719,12,46721,46747,12,46749,46775,12,46777,46803,12,46805,46831,12,46833,46859,12,46861,46887,12,46889,46915,12,46917,46943,12,46945,46971,12,46973,46999,12,47001,47027,12,47029,47055,12,47057,47083,12,47085,47111,12,47113,47139,12,47141,47167,12,47169,47195,12,47197,47223,12,47225,47251,12,47253,47279,12,47281,47307,12,47309,47335,12,47337,47363,12,47365,47391,12,47393,47419,12,47421,47447,12,47449,47475,12,47477,47503,12,47505,47531,12,47533,47559,12,47561,47587,12,47589,47615,12,47617,47643,12,47645,47671,12,47673,47699,12,47701,47727,12,47729,47755,12,47757,47783,12,47785,47811,12,47813,47839,12,47841,47867,12,47869,47895,12,47897,47923,12,47925,47951,12,47953,47979,12,47981,48007,12,48009,48035,12,48037,48063,12,48065,48091,12,48093,48119,12,48121,48147,12,48149,48175,12,48177,48203,12,48205,48231,12,48233,48259,12,48261,48287,12,48289,48315,12,48317,48343,12,48345,48371,12,48373,48399,12,48401,48427,12,48429,48455,12,48457,48483,12,48485,48511,12,48513,48539,12,48541,48567,12,48569,48595,12,48597,48623,12,48625,48651,12,48653,48679,12,48681,48707,12,48709,48735,12,48737,48763,12,48765,48791,12,48793,48819,12,48821,48847,12,48849,48875,12,48877,48903,12,48905,48931,12,48933,48959,12,48961,48987,12,48989,49015,12,49017,49043,12,49045,49071,12,49073,49099,12,49101,49127,12,49129,49155,12,49157,49183,12,49185,49211,12,49213,49239,12,49241,49267,12,49269,49295,12,49297,49323,12,49325,49351,12,49353,49379,12,49381,49407,12,49409,49435,12,49437,49463,12,49465,49491,12,49493,49519,12,49521,49547,12,49549,49575,12,49577,49603,12,49605,49631,12,49633,49659,12,49661,49687,12,49689,49715,12,49717,49743,12,49745,49771,12,49773,49799,12,49801,49827,12,49829,49855,12,49857,49883,12,49885,49911,12,49913,49939,12,49941,49967,12,49969,49995,12,49997,50023,12,50025,50051,12,50053,50079,12,50081,50107,12,50109,50135,12,50137,50163,12,50165,50191,12,50193,50219,12,50221,50247,12,50249,50275,12,50277,50303,12,50305,50331,12,50333,50359,12,50361,50387,12,50389,50415,12,50417,50443,12,50445,50471,12,50473,50499,12,50501,50527,12,50529,50555,12,50557,50583,12,50585,50611,12,50613,50639,12,50641,50667,12,50669,50695,12,50697,50723,12,50725,50751,12,50753,50779,12,50781,50807,12,50809,50835,12,50837,50863,12,50865,50891,12,50893,50919,12,50921,50947,12,50949,50975,12,50977,51003,12,51005,51031,12,51033,51059,12,51061,51087,12,51089,51115,12,51117,51143,12,51145,51171,12,51173,51199,12,51201,51227,12,51229,51255,12,51257,51283,12,51285,51311,12,51313,51339,12,51341,51367,12,51369,51395,12,51397,51423,12,51425,51451,12,51453,51479,12,51481,51507,12,51509,51535,12,51537,51563,12,51565,51591,12,51593,51619,12,51621,51647,12,51649,51675,12,51677,51703,12,51705,51731,12,51733,51759,12,51761,51787,12,51789,51815,12,51817,51843,12,51845,51871,12,51873,51899,12,51901,51927,12,51929,51955,12,51957,51983,12,51985,52011,12,52013,52039,12,52041,52067,12,52069,52095,12,52097,52123,12,52125,52151,12,52153,52179,12,52181,52207,12,52209,52235,12,52237,52263,12,52265,52291,12,52293,52319,12,52321,52347,12,52349,52375,12,52377,52403,12,52405,52431,12,52433,52459,12,52461,52487,12,52489,52515,12,52517,52543,12,52545,52571,12,52573,52599,12,52601,52627,12,52629,52655,12,52657,52683,12,52685,52711,12,52713,52739,12,52741,52767,12,52769,52795,12,52797,52823,12,52825,52851,12,52853,52879,12,52881,52907,12,52909,52935,12,52937,52963,12,52965,52991,12,52993,53019,12,53021,53047,12,53049,53075,12,53077,53103,12,53105,53131,12,53133,53159,12,53161,53187,12,53189,53215,12,53217,53243,12,53245,53271,12,53273,53299,12,53301,53327,12,53329,53355,12,53357,53383,12,53385,53411,12,53413,53439,12,53441,53467,12,53469,53495,12,53497,53523,12,53525,53551,12,53553,53579,12,53581,53607,12,53609,53635,12,53637,53663,12,53665,53691,12,53693,53719,12,53721,53747,12,53749,53775,12,53777,53803,12,53805,53831,12,53833,53859,12,53861,53887,12,53889,53915,12,53917,53943,12,53945,53971,12,53973,53999,12,54001,54027,12,54029,54055,12,54057,54083,12,54085,54111,12,54113,54139,12,54141,54167,12,54169,54195,12,54197,54223,12,54225,54251,12,54253,54279,12,54281,54307,12,54309,54335,12,54337,54363,12,54365,54391,12,54393,54419,12,54421,54447,12,54449,54475,12,54477,54503,12,54505,54531,12,54533,54559,12,54561,54587,12,54589,54615,12,54617,54643,12,54645,54671,12,54673,54699,12,54701,54727,12,54729,54755,12,54757,54783,12,54785,54811,12,54813,54839,12,54841,54867,12,54869,54895,12,54897,54923,12,54925,54951,12,54953,54979,12,54981,55007,12,55009,55035,12,55037,55063,12,55065,55091,12,55093,55119,12,55121,55147,12,55149,55175,12,55177,55203,12,55243,55291,10,65024,65039,5,65279,65279,4,65520,65528,4,66045,66045,5,66422,66426,5,68101,68102,5,68152,68154,5,68325,68326,5,69291,69292,5,69632,69632,7,69634,69634,7,69759,69761,5]")}function yt(ge,Se){if(ge===0)return 0;const Me=ht(ge,Se);if(Me!==void 0)return Me;const Ne=te(Se,ge);return ge-=Je(Ne),ge}function ht(ge,Se){let Me=te(Se,ge);for(ge-=Je(Me);je(Me)||Me===65039||Me===8419;){if(ge===0)return;Me=te(Se,ge),ge-=Je(Me)}if(bt(Me)){if(ge>=0){const Ne=te(Se,ge);Ne===8205&&(ge-=Je(Ne))}return ge}}function Je(ge){return ge>=65536?2:1}function je(ge){return 127995<=ge&&ge<=127999}},72999:function(d,g,e){"use strict";e.d(g,{$E:function(){return S},$K:function(){return h},D8:function(){return y},HD:function(){return i},IU:function(){return R},Jp:function(){return u},Kn:function(){return l},cW:function(){return x},f6:function(){return L},hj:function(){return c},jn:function(){return f},kJ:function(){return r},mf:function(){return p},o8:function(){return s},p_:function(){return a},vE:function(){return T}});function r(D){return Array.isArray(D)}function i(D){return typeof D=="string"}function l(D){return typeof D=="object"&&D!==null&&!Array.isArray(D)&&!(D instanceof RegExp)&&!(D instanceof Date)}function c(D){return typeof D=="number"&&!isNaN(D)}function f(D){return D===!0||D===!1}function s(D){return typeof D=="undefined"}function h(D){return!u(D)}function u(D){return s(D)||D===null}function a(D,M){if(!D)throw new Error(M?`Unexpected type, expected '${M}'`:"Unexpected type")}function x(D){if(u(D))throw new Error("Assertion Failed: argument is undefined or null");return D}function p(D){return typeof D=="function"}function y(D,M){const N=Math.min(D.length,M.length);for(let j=0;j<N;j++)_(D[j],M[j])}function _(D,M){if(i(M)){if(typeof D!==M)throw new Error(`argument does not match constraint: typeof ${M}`)}else if(p(M)){try{if(D instanceof M)return}catch(N){}if(!u(D)&&D.constructor===M||M.length===1&&M.call(void 0,D)===!0)return;throw new Error("argument does not match one of these constraints: arg instanceof constraint, arg.constructor === constraint, nor constraint(arg) === true")}}function b(D){let M=[],N=Object.getPrototypeOf(D);for(;Object.prototype!==N;)M=M.concat(Object.getOwnPropertyNames(N)),N=Object.getPrototypeOf(N);return M}function S(D){const M=[];for(const N of b(D))typeof D[N]=="function"&&M.push(N);return M}function R(D,M){const N=Q=>function(){const X=Array.prototype.slice.call(arguments,0);return M(Q,X)};let j={};for(const Q of D)j[Q]=N(Q);return j}function L(D){return D===null?void 0:D}function T(D,M="Unreachable"){throw new Error(M)}},13268:function(d,g,e){"use strict";e.d(g,{N:function(){return i}});function r(l,c){let f;return c.length===0?f=l:f=l.replace(/\{(\d+)\}/g,function(s,h){const u=h[0];return typeof c[u]!="undefined"?c[u]:s}),f}function i(l,c,...f){return r(c,f)}},96236:function(d,g,e){"use strict";e.d(g,{BH:function(){return R},NZ:function(){return L},U8:function(){return T},co:function(){return S},eH:function(){return b},vr:function(){return _}});var r=e(75918),i=e(52615),l=e(4348),c=e(88226),f=e(69323),s=e(34502),h=e(35884),u=e(90689),a=e(16925),x=e(49055),p=function(D,M,N,j){var Q=arguments.length,X=Q<3?M:j===null?j=Object.getOwnPropertyDescriptor(M,N):j,Y;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")X=Reflect.decorate(D,M,N,j);else for(var oe=D.length-1;oe>=0;oe--)(Y=D[oe])&&(X=(Q<3?Y(X):Q>3?Y(M,N,X):Y(M,N))||X);return Q>3&&X&&Object.defineProperty(M,N,X),X},y=function(D,M){return function(N,j){M(N,j,D)}};function _(D){return D.command!==void 0}class b{constructor(M){this.id=b._idPool++,this._debugName=M}}b._idPool=0,b.CommandPalette=new b("CommandPalette"),b.EditorContext=new b("EditorContext"),b.SimpleEditorContext=new b("SimpleEditorContext"),b.EditorContextCopy=new b("EditorContextCopy"),b.EditorContextPeek=new b("EditorContextPeek"),b.MenubarEditMenu=new b("MenubarEditMenu"),b.MenubarCopy=new b("MenubarCopy"),b.MenubarGoMenu=new b("MenubarGoMenu"),b.MenubarSelectionMenu=new b("MenubarSelectionMenu"),b.InlineCompletionsActions=new b("InlineCompletionsActions");const S=(0,a.yh)("menuService"),R=new class{constructor(){this._commands=new Map,this._menuItems=new Map,this._onDidChangeMenu=new l.Q5,this.onDidChangeMenu=this._onDidChangeMenu.event,this._commandPaletteChangeEvent={has:D=>D===b.CommandPalette}}addCommand(D){return this.addCommands(c.$.single(D))}addCommands(D){for(const M of D)this._commands.set(M.id,M);return this._onDidChangeMenu.fire(this._commandPaletteChangeEvent),(0,f.OF)(()=>{let M=!1;for(const N of D)M=this._commands.delete(N.id)||M;M&&this._onDidChangeMenu.fire(this._commandPaletteChangeEvent)})}getCommand(D){return this._commands.get(D)}getCommands(){const D=new Map;return this._commands.forEach((M,N)=>D.set(N,M)),D}appendMenuItem(D,M){return this.appendMenuItems(c.$.single({id:D,item:M}))}appendMenuItems(D){const M=new Set,N=new s.S;for(const{id:j,item:Q}of D){let X=this._menuItems.get(j);X||(X=new s.S,this._menuItems.set(j,X)),N.push(X.push(Q)),M.add(j)}return this._onDidChangeMenu.fire(M),(0,f.OF)(()=>{if(N.size>0){for(let j of N)j();this._onDidChangeMenu.fire(M),N.clear()}})}getMenuItems(D){let M;return this._menuItems.has(D)?M=[...this._menuItems.get(D)]:M=[],D===b.CommandPalette&&this._appendImplicitItems(M),M}_appendImplicitItems(D){const M=new Set;for(const N of D)_(N)&&(M.add(N.command.id),N.alt&&M.add(N.alt.id));this._commands.forEach((N,j)=>{M.has(j)||D.push({command:N})})}};class L extends r.wY{constructor(M,N,j,Q){super(`submenuitem.${M.submenu.id}`,typeof M.title=="string"?M.title:M.title.value,[],"submenu"),this.item=M,this._menuService=N,this._contextKeyService=j,this._options=Q}get actions(){const M=[],N=this._menuService.createMenu(this.item.submenu,this._contextKeyService),j=N.getActions(this._options);N.dispose();for(const[,Q]of j)Q.length>0&&(M.push(...Q),M.push(new r.Z0));return M.length&&M.pop(),M}}let T=class Ld{constructor(M,N,j,Q,X){var Y,oe;if(this._commandService=X,this.id=M.id,this.label=j!=null&&j.renderShortTitle&&M.shortTitle?typeof M.shortTitle=="string"?M.shortTitle:M.shortTitle.value:typeof M.title=="string"?M.title:M.title.value,this.tooltip=(oe=typeof M.tooltip=="string"?M.tooltip:(Y=M.tooltip)===null||Y===void 0?void 0:Y.value)!==null&&oe!==void 0?oe:"",this.enabled=!M.precondition||Q.contextMatchesRules(M.precondition),this.checked=void 0,M.toggled){const ie=M.toggled.condition?M.toggled:{condition:M.toggled};this.checked=Q.contextMatchesRules(ie.condition),this.checked&&ie.tooltip&&(this.tooltip=typeof ie.tooltip=="string"?ie.tooltip:ie.tooltip.value),ie.title&&(this.label=typeof ie.title=="string"?ie.title:ie.title.value)}this.item=M,this.alt=N?new Ld(N,void 0,j,Q,X):void 0,this._options=j,x.kS.isThemeIcon(M.icon)&&(this.class=i.dT.asClassName(M.icon))}dispose(){}run(...M){var N,j;let Q=[];return!((N=this._options)===null||N===void 0)&&N.arg&&(Q=[...Q,this._options.arg]),!((j=this._options)===null||j===void 0)&&j.shouldForwardArgs&&(Q=[...Q,...M]),this._commandService.executeCommand(this.id,...Q)}};T=p([y(3,u.i6),y(4,h.H)],T)},35884:function(d,g,e){"use strict";e.d(g,{H:function(){return h},P:function(){return u}});var r=e(4348),i=e(88226),l=e(69323),c=e(34502),f=e(72999),s=e(16925);const h=(0,s.yh)("commandService"),u=new class{constructor(){this._commands=new Map,this._onDidRegisterCommand=new r.Q5,this.onDidRegisterCommand=this._onDidRegisterCommand.event}registerCommand(a,x){if(!a)throw new Error("invalid command");if(typeof a=="string"){if(!x)throw new Error("invalid command");return this.registerCommand({id:a,handler:x})}if(a.description){const S=[];for(let L of a.description.args)S.push(L.constraint);const R=a.handler;a.handler=function(L,...T){return(0,f.D8)(T,S),R(L,...T)}}const{id:p}=a;let y=this._commands.get(p);y||(y=new c.S,this._commands.set(p,y));let _=y.unshift(a),b=(0,l.OF)(()=>{_();const S=this._commands.get(p);S!=null&&S.isEmpty()&&this._commands.delete(p)});return this._onDidRegisterCommand.fire(p),b}registerCommandAlias(a,x){return u.registerCommand(a,(p,...y)=>p.get(h).executeCommand(x,...y))}getCommand(a){const x=this._commands.get(a);if(!(!x||x.isEmpty()))return i.$.first(x)}getCommands(){const a=new Map;for(const x of this._commands.keys()){const p=this.getCommand(x);p&&a.set(x,p)}return a}};u.registerCommand("noop",()=>{})},90689:function(d,g,e){"use strict";e.d(g,{Ao:function(){return h},Eq:function(){return V},Fb:function(){return u},K8:function(){return q},i6:function(){return K},uy:function(){return ue}});var r=e(23345),i=e(82983),l=e(16925);let c=r.WE||"";const f=new Map;f.set("false",!1),f.set("true",!0),f.set("isMac",r.dz),f.set("isLinux",r.IJ),f.set("isWindows",r.ED),f.set("isWeb",r.$L),f.set("isMacNative",r.dz&&!r.$L),f.set("isEdge",c.indexOf("Edg/")>=0),f.set("isFirefox",c.indexOf("Firefox")>=0),f.set("isChrome",c.indexOf("Chrome")>=0),f.set("isSafari",c.indexOf("Safari")>=0);const s=Object.prototype.hasOwnProperty;class h{static has(z){return y.create(z)}static equals(z,F){return _.create(z,F)}static regex(z,F){return Q.create(z,F)}static not(z){return L.create(z)}static and(...z){return oe.create(z,null)}static or(...z){return ie.create(z,null,!0)}static deserialize(z,F=!1){if(z)return this._deserializeOrExpression(z,F)}static _deserializeOrExpression(z,F){let se=z.split("||");return ie.create(se.map(_e=>this._deserializeAndExpression(_e,F)),null,!0)}static _deserializeAndExpression(z,F){let se=z.split("&&");return oe.create(se.map(_e=>this._deserializeOne(_e,F)),null)}static _deserializeOne(z,F){if(z=z.trim(),z.indexOf("!=")>=0){let se=z.split("!=");return R.create(se[0].trim(),this._deserializeValue(se[1],F))}if(z.indexOf("==")>=0){let se=z.split("==");return _.create(se[0].trim(),this._deserializeValue(se[1],F))}if(z.indexOf("=~")>=0){let se=z.split("=~");return Q.create(se[0].trim(),this._deserializeRegexValue(se[1],F))}if(z.indexOf(" in ")>=0){let se=z.split(" in ");return b.create(se[0].trim(),se[1].trim())}if(/^[^<=>]+>=[^<=>]+$/.test(z)){const se=z.split(">=");return M.create(se[0].trim(),se[1].trim())}if(/^[^<=>]+>[^<=>]+$/.test(z)){const se=z.split(">");return D.create(se[0].trim(),se[1].trim())}if(/^[^<=>]+<=[^<=>]+$/.test(z)){const se=z.split("<=");return j.create(se[0].trim(),se[1].trim())}if(/^[^<=>]+<[^<=>]+$/.test(z)){const se=z.split("<");return N.create(se[0].trim(),se[1].trim())}return/^\!\s*/.test(z)?L.create(z.substr(1).trim()):y.create(z)}static _deserializeValue(z,F){if(z=z.trim(),z==="true")return!0;if(z==="false")return!1;let se=/^'([^']*)'$/.exec(z);return se?se[1].trim():z}static _deserializeRegexValue(z,F){if((0,i.m5)(z)){if(F)throw new Error("missing regexp-value for =~-expression");return console.warn("missing regexp-value for =~-expression"),null}let se=z.indexOf("/"),_e=z.lastIndexOf("/");if(se===_e||se<0){if(F)throw new Error(`bad regexp-value '${z}', missing /-enclosure`);return console.warn(`bad regexp-value '${z}', missing /-enclosure`),null}let Pe=z.slice(se+1,_e),Re=z[_e+1]==="i"?"i":"";try{return new RegExp(Pe,Re)}catch(Ze){if(F)throw new Error(`bad regexp-value '${z}', parse error: ${Ze}`);return console.warn(`bad regexp-value '${z}', parse error: ${Ze}`),null}}}function u(le,z){const F=le?le.substituteConstants():void 0,se=z?z.substituteConstants():void 0;return!F&&!se?!0:!F||!se?!1:F.equals(se)}function a(le,z){return le.cmp(z)}class x{constructor(){this.type=0}cmp(z){return this.type-z.type}equals(z){return z.type===this.type}substituteConstants(){return this}evaluate(z){return!1}serialize(){return"false"}keys(){return[]}negate(){return p.INSTANCE}}x.INSTANCE=new x;class p{constructor(){this.type=1}cmp(z){return this.type-z.type}equals(z){return z.type===this.type}substituteConstants(){return this}evaluate(z){return!0}serialize(){return"true"}keys(){return[]}negate(){return x.INSTANCE}}p.INSTANCE=new p;class y{constructor(z,F){this.key=z,this.negated=F,this.type=2}static create(z,F=null){const se=f.get(z);return typeof se=="boolean"?se?p.INSTANCE:x.INSTANCE:new y(z,F)}cmp(z){return z.type!==this.type?this.type-z.type:G(this.key,z.key)}equals(z){return z.type===this.type?this.key===z.key:!1}substituteConstants(){const z=f.get(this.key);return typeof z=="boolean"?z?p.INSTANCE:x.INSTANCE:this}evaluate(z){return!!z.getValue(this.key)}serialize(){return this.key}keys(){return[this.key]}negate(){return this.negated||(this.negated=L.create(this.key,this)),this.negated}}class _{constructor(z,F,se){this.key=z,this.value=F,this.negated=se,this.type=4}static create(z,F,se=null){if(typeof F=="boolean")return F?y.create(z,se):L.create(z,se);const _e=f.get(z);return typeof _e=="boolean"?F===(_e?"true":"false")?p.INSTANCE:x.INSTANCE:new _(z,F,se)}cmp(z){return z.type!==this.type?this.type-z.type:te(this.key,this.value,z.key,z.value)}equals(z){return z.type===this.type?this.key===z.key&&this.value===z.value:!1}substituteConstants(){const z=f.get(this.key);if(typeof z=="boolean"){const F=z?"true":"false";return this.value===F?p.INSTANCE:x.INSTANCE}return this}evaluate(z){return z.getValue(this.key)==this.value}serialize(){return`${this.key} == '${this.value}'`}keys(){return[this.key]}negate(){return this.negated||(this.negated=R.create(this.key,this.value,this)),this.negated}}class b{constructor(z,F){this.key=z,this.valueKey=F,this.type=10,this.negated=null}static create(z,F){return new b(z,F)}cmp(z){return z.type!==this.type?this.type-z.type:te(this.key,this.valueKey,z.key,z.valueKey)}equals(z){return z.type===this.type?this.key===z.key&&this.valueKey===z.valueKey:!1}substituteConstants(){return this}evaluate(z){const F=z.getValue(this.valueKey),se=z.getValue(this.key);return Array.isArray(F)?F.indexOf(se)>=0:typeof se=="string"&&typeof F=="object"&&F!==null?s.call(F,se):!1}serialize(){return`${this.key} in '${this.valueKey}'`}keys(){return[this.key,this.valueKey]}negate(){return this.negated||(this.negated=S.create(this)),this.negated}}class S{constructor(z){this._actual=z,this.type=11}static create(z){return new S(z)}cmp(z){return z.type!==this.type?this.type-z.type:this._actual.cmp(z._actual)}equals(z){return z.type===this.type?this._actual.equals(z._actual):!1}substituteConstants(){return this}evaluate(z){return!this._actual.evaluate(z)}serialize(){throw new Error("Method not implemented.")}keys(){return this._actual.keys()}negate(){return this._actual}}class R{constructor(z,F,se){this.key=z,this.value=F,this.negated=se,this.type=5}static create(z,F,se=null){if(typeof F=="boolean")return F?L.create(z,se):y.create(z,se);const _e=f.get(z);return typeof _e=="boolean"?F===(_e?"true":"false")?x.INSTANCE:p.INSTANCE:new R(z,F,se)}cmp(z){return z.type!==this.type?this.type-z.type:te(this.key,this.value,z.key,z.value)}equals(z){return z.type===this.type?this.key===z.key&&this.value===z.value:!1}substituteConstants(){const z=f.get(this.key);if(typeof z=="boolean"){const F=z?"true":"false";return this.value===F?x.INSTANCE:p.INSTANCE}return this}evaluate(z){return z.getValue(this.key)!=this.value}serialize(){return`${this.key} != '${this.value}'`}keys(){return[this.key]}negate(){return this.negated||(this.negated=_.create(this.key,this.value,this)),this.negated}}class L{constructor(z,F){this.key=z,this.negated=F,this.type=3}static create(z,F=null){const se=f.get(z);return typeof se=="boolean"?se?x.INSTANCE:p.INSTANCE:new L(z,F)}cmp(z){return z.type!==this.type?this.type-z.type:G(this.key,z.key)}equals(z){return z.type===this.type?this.key===z.key:!1}substituteConstants(){const z=f.get(this.key);return typeof z=="boolean"?z?x.INSTANCE:p.INSTANCE:this}evaluate(z){return!z.getValue(this.key)}serialize(){return`!${this.key}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=y.create(this.key,this)),this.negated}}function T(le,z){if(typeof le=="string"){const F=parseFloat(le);isNaN(F)||(le=F)}return typeof le=="string"||typeof le=="number"?z(le):x.INSTANCE}class D{constructor(z,F,se){this.key=z,this.value=F,this.negated=se,this.type=12}static create(z,F,se=null){return T(F,_e=>new D(z,_e,se))}cmp(z){return z.type!==this.type?this.type-z.type:te(this.key,this.value,z.key,z.value)}equals(z){return z.type===this.type?this.key===z.key&&this.value===z.value:!1}substituteConstants(){return this}evaluate(z){return typeof this.value=="string"?!1:parseFloat(z.getValue(this.key))>this.value}serialize(){return`${this.key} > ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=j.create(this.key,this.value,this)),this.negated}}class M{constructor(z,F,se){this.key=z,this.value=F,this.negated=se,this.type=13}static create(z,F,se=null){return T(F,_e=>new M(z,_e,se))}cmp(z){return z.type!==this.type?this.type-z.type:te(this.key,this.value,z.key,z.value)}equals(z){return z.type===this.type?this.key===z.key&&this.value===z.value:!1}substituteConstants(){return this}evaluate(z){return typeof this.value=="string"?!1:parseFloat(z.getValue(this.key))>=this.value}serialize(){return`${this.key} >= ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=N.create(this.key,this.value,this)),this.negated}}class N{constructor(z,F,se){this.key=z,this.value=F,this.negated=se,this.type=14}static create(z,F,se=null){return T(F,_e=>new N(z,_e,se))}cmp(z){return z.type!==this.type?this.type-z.type:te(this.key,this.value,z.key,z.value)}equals(z){return z.type===this.type?this.key===z.key&&this.value===z.value:!1}substituteConstants(){return this}evaluate(z){return typeof this.value=="string"?!1:parseFloat(z.getValue(this.key))<this.value}serialize(){return`${this.key} < ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=M.create(this.key,this.value,this)),this.negated}}class j{constructor(z,F,se){this.key=z,this.value=F,this.negated=se,this.type=15}static create(z,F,se=null){return T(F,_e=>new j(z,_e,se))}cmp(z){return z.type!==this.type?this.type-z.type:te(this.key,this.value,z.key,z.value)}equals(z){return z.type===this.type?this.key===z.key&&this.value===z.value:!1}substituteConstants(){return this}evaluate(z){return typeof this.value=="string"?!1:parseFloat(z.getValue(this.key))<=this.value}serialize(){return`${this.key} <= ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=D.create(this.key,this.value,this)),this.negated}}class Q{constructor(z,F){this.key=z,this.regexp=F,this.type=7,this.negated=null}static create(z,F){return new Q(z,F)}cmp(z){if(z.type!==this.type)return this.type-z.type;if(this.key<z.key)return-1;if(this.key>z.key)return 1;const F=this.regexp?this.regexp.source:"",se=z.regexp?z.regexp.source:"";return F<se?-1:F>se?1:0}equals(z){if(z.type===this.type){const F=this.regexp?this.regexp.source:"",se=z.regexp?z.regexp.source:"";return this.key===z.key&&F===se}return!1}substituteConstants(){return this}evaluate(z){let F=z.getValue(this.key);return this.regexp?this.regexp.test(F):!1}serialize(){const z=this.regexp?`/${this.regexp.source}/${this.regexp.ignoreCase?"i":""}`:"/invalid/";return`${this.key} =~ ${z}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=X.create(this)),this.negated}}class X{constructor(z){this._actual=z,this.type=8}static create(z){return new X(z)}cmp(z){return z.type!==this.type?this.type-z.type:this._actual.cmp(z._actual)}equals(z){return z.type===this.type?this._actual.equals(z._actual):!1}substituteConstants(){return this}evaluate(z){return!this._actual.evaluate(z)}serialize(){throw new Error("Method not implemented.")}keys(){return this._actual.keys()}negate(){return this._actual}}function Y(le){let z=null;for(let F=0,se=le.length;F<se;F++){const _e=le[F].substituteConstants();if(le[F]!==_e&&z===null){z=[];for(let Pe=0;Pe<F;Pe++)z[Pe]=le[Pe]}z!==null&&(z[F]=_e)}return z===null?le:z}class oe{constructor(z,F){this.expr=z,this.negated=F,this.type=6}static create(z,F){return oe._normalizeArr(z,F)}cmp(z){if(z.type!==this.type)return this.type-z.type;if(this.expr.length<z.expr.length)return-1;if(this.expr.length>z.expr.length)return 1;for(let F=0,se=this.expr.length;F<se;F++){const _e=a(this.expr[F],z.expr[F]);if(_e!==0)return _e}return 0}equals(z){if(z.type===this.type){if(this.expr.length!==z.expr.length)return!1;for(let F=0,se=this.expr.length;F<se;F++)if(!this.expr[F].equals(z.expr[F]))return!1;return!0}return!1}substituteConstants(){const z=Y(this.expr);return z===this.expr?this:oe.create(z,this.negated)}evaluate(z){for(let F=0,se=this.expr.length;F<se;F++)if(!this.expr[F].evaluate(z))return!1;return!0}static _normalizeArr(z,F){const se=[];let _e=!1;for(const Pe of z)if(Pe){if(Pe.type===1){_e=!0;continue}if(Pe.type===0)return x.INSTANCE;if(Pe.type===6){se.push(...Pe.expr);continue}se.push(Pe)}if(se.length===0&&_e)return p.INSTANCE;if(se.length!==0){if(se.length===1)return se[0];se.sort(a);for(let Pe=1;Pe<se.length;Pe++)se[Pe-1].equals(se[Pe])&&(se.splice(Pe,1),Pe--);if(se.length===1)return se[0];for(;se.length>1;){const Pe=se[se.length-1];if(Pe.type!==9)break;se.pop();const Re=se.pop(),Ze=se.length===0,$e=ie.create(Pe.expr.map(Ht=>oe.create([Ht,Re],null)),null,Ze);$e&&(se.push($e),se.sort(a))}return se.length===1?se[0]:new oe(se,F)}}serialize(){return this.expr.map(z=>z.serialize()).join(" && ")}keys(){const z=[];for(let F of this.expr)z.push(...F.keys());return z}negate(){if(!this.negated){const z=[];for(let F of this.expr)z.push(F.negate());this.negated=ie.create(z,this,!0)}return this.negated}}class ie{constructor(z,F){this.expr=z,this.negated=F,this.type=9}static create(z,F,se){return ie._normalizeArr(z,F,se)}cmp(z){if(z.type!==this.type)return this.type-z.type;if(this.expr.length<z.expr.length)return-1;if(this.expr.length>z.expr.length)return 1;for(let F=0,se=this.expr.length;F<se;F++){const _e=a(this.expr[F],z.expr[F]);if(_e!==0)return _e}return 0}equals(z){if(z.type===this.type){if(this.expr.length!==z.expr.length)return!1;for(let F=0,se=this.expr.length;F<se;F++)if(!this.expr[F].equals(z.expr[F]))return!1;return!0}return!1}substituteConstants(){const z=Y(this.expr);return z===this.expr?this:ie.create(z,this.negated,!1)}evaluate(z){for(let F=0,se=this.expr.length;F<se;F++)if(this.expr[F].evaluate(z))return!0;return!1}static _normalizeArr(z,F,se){let _e=[],Pe=!1;if(z){for(let Re=0,Ze=z.length;Re<Ze;Re++){const $e=z[Re];if($e){if($e.type===0){Pe=!0;continue}if($e.type===1)return p.INSTANCE;if($e.type===9){_e=_e.concat($e.expr);continue}_e.push($e)}}if(_e.length===0&&Pe)return x.INSTANCE;_e.sort(a)}if(_e.length!==0){if(_e.length===1)return _e[0];for(let Re=1;Re<_e.length;Re++)_e[Re-1].equals(_e[Re])&&(_e.splice(Re,1),Re--);if(_e.length===1)return _e[0];if(se){for(let Re=0;Re<_e.length;Re++)for(let Ze=Re+1;Ze<_e.length;Ze++)q(_e[Re],_e[Ze])&&(_e.splice(Ze,1),Ze--);if(_e.length===1)return _e[0]}return new ie(_e,F)}}serialize(){return this.expr.map(z=>z.serialize()).join(" || ")}keys(){const z=[];for(let F of this.expr)z.push(...F.keys());return z}negate(){if(!this.negated){let z=[];for(let F of this.expr)z.push(F.negate());for(;z.length>1;){const F=z.shift(),se=z.shift(),_e=[];for(const Re of J(F))for(const Ze of J(se))_e.push(oe.create([Re,Ze],null));const Pe=z.length===0;z.unshift(ie.create(_e,null,Pe))}this.negated=z[0]}return this.negated}}class ue extends y{constructor(z,F,se){super(z,null),this._defaultValue=F,typeof se=="object"?ue._info.push(Object.assign(Object.assign({},se),{key:z})):se!==!0&&ue._info.push({key:z,description:se,type:F!=null?typeof F:void 0})}static all(){return ue._info.values()}bindTo(z){return z.createKey(this.key,this._defaultValue)}getValue(z){return z.getContextKeyValue(this.key)}toNegated(){return this.negate()}isEqualTo(z){return _.create(this.key,z)}}ue._info=[];const K=(0,l.yh)("contextKeyService"),V="setContext";function G(le,z){return le<z?-1:le>z?1:0}function te(le,z,F,se){return le<F?-1:le>F?1:z<se?-1:z>se?1:0}function q(le,z){if(z.type===6&&le.type!==9&&le.type!==6){for(const _e of z.expr)if(le.equals(_e))return!0}const F=le.negate(),se=J(F).concat(J(z));se.sort(a);for(let _e=0;_e<se.length;_e++){const Re=se[_e].negate();for(let Ze=_e+1;Ze<se.length;Ze++){const $e=se[Ze];if(Re.equals($e))return!0}}return!1}function J(le){return le.type===9?le.expr:[le]}},16925:function(d,g,e){"use strict";e.d(g,{I8:function(){return r},TG:function(){return i},jt:function(){return f},yh:function(){return c}});var r;(function(s){s.serviceIds=new Map,s.DI_TARGET="$di$target",s.DI_DEPENDENCIES="$di$dependencies";function h(u){return u[s.DI_DEPENDENCIES]||[]}s.getServiceDependencies=h})(r||(r={}));const i=c("instantiationService");function l(s,h,u,a){h[r.DI_TARGET]===h?h[r.DI_DEPENDENCIES].push({id:s,index:u,optional:a}):(h[r.DI_DEPENDENCIES]=[{id:s,index:u,optional:a}],h[r.DI_TARGET]=h)}function c(s){if(r.serviceIds.has(s))return r.serviceIds.get(s);const h=function(u,a,x){if(arguments.length!==3)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");l(h,u,x,!1)};return h.toString=()=>s,r.serviceIds.set(s,h),h}function f(s){return function(h,u,a){if(arguments.length!==3)throw new Error("@optional-decorator can only be used to decorate a parameter");l(s,h,a,!0)}}},44650:function(d,g,e){"use strict";e.d(g,{B:function(){return c}});var r=e(76068),i=e(72999);class l{constructor(){this.data=new Map}add(s,h){r.ok(i.HD(s)),r.ok(i.Kn(h)),r.ok(!this.data.has(s),"There is already an extension with this id"),this.data.set(s,h)}as(s){return this.data.get(s)||null}}const c=new l},66213:function(d,g,e){"use strict";e.d(g,{e:function(){return r}});var r;(function(i){i.DARK="dark",i.LIGHT="light",i.HIGH_CONTRAST="hc"})(r||(r={}))},49055:function(d,g,e){"use strict";e.d(g,{EN:function(){return a},IP:function(){return y},Ic:function(){return S},XE:function(){return h},bB:function(){return R},kS:function(){return x},m6:function(){return p}});var r=e(52615),i=e(4348),l=e(69323),c=e(16925),f=e(44650),s=e(66213);const h=(0,c.yh)("themeService");var u;(function(L){function T(D){return D&&typeof D=="object"&&typeof D.id=="string"}L.isThemeColor=T})(u||(u={}));function a(L){return{id:L}}var x;(function(L){function T(X){return X&&typeof X=="object"&&typeof X.id=="string"&&(typeof X.color=="undefined"||u.isThemeColor(X.color))}L.isThemeIcon=T;const D=new RegExp(`^\\$\\((${r.dT.iconNameExpression}(?:${r.dT.iconModifierExpression})?)\\)$`);function M(X){const Y=D.exec(X);if(!Y)return;let[,oe]=Y;return{id:oe}}L.fromString=M;function N(X,Y){let oe=X.id;const ie=oe.lastIndexOf("~");return ie!==-1&&(oe=oe.substring(0,ie)),Y&&(oe=`${oe}~${Y}`),{id:oe}}L.modify=N;function j(X,Y){var oe,ie;return X.id===Y.id&&((oe=X.color)===null||oe===void 0?void 0:oe.id)===((ie=Y.color)===null||ie===void 0?void 0:ie.id)}L.isEqual=j;function Q(X,Y){return{id:X.id,color:Y?a(Y):void 0}}L.asThemeIcon=Q,L.asClassNameArray=r.dT.asClassNameArray,L.asClassName=r.dT.asClassName,L.asCSSSelector=r.dT.asCSSSelector})(x||(x={}));function p(L){switch(L){case s.e.DARK:return"vs-dark";case s.e.HIGH_CONTRAST:return"hc-black";default:return"vs"}}const y={ThemingContribution:"base.contributions.theming"};class _{constructor(){this.themingParticipants=[],this.themingParticipants=[],this.onThemingParticipantAddedEmitter=new i.Q5}onColorThemeChange(T){return this.themingParticipants.push(T),this.onThemingParticipantAddedEmitter.fire(T),(0,l.OF)(()=>{const D=this.themingParticipants.indexOf(T);this.themingParticipants.splice(D,1)})}getThemingParticipants(){return this.themingParticipants}}let b=new _;f.B.add(y.ThemingContribution,b);function S(L){return b.onColorThemeChange(L)}class R extends l.JT{constructor(T){super(),this.themeService=T,this.theme=T.getColorTheme(),this._register(this.themeService.onDidColorThemeChange(D=>this.onThemeChange(D)))}onThemeChange(T){this.theme=T,this.updateStyles()}updateStyles(){}}},84126:function(d){"use strict";var g=Object.getOwnPropertySymbols,e=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function i(c){if(c==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(c)}function l(){try{if(!Object.assign)return!1;var c=new String("abc");if(c[5]="de",Object.getOwnPropertyNames(c)[0]==="5")return!1;for(var f={},s=0;s<10;s++)f["_"+String.fromCharCode(s)]=s;var h=Object.getOwnPropertyNames(f).map(function(a){return f[a]});if(h.join("")!=="0123456789")return!1;var u={};return"abcdefghijklmnopqrst".split("").forEach(function(a){u[a]=a}),Object.keys(Object.assign({},u)).join("")==="abcdefghijklmnopqrst"}catch(a){return!1}}d.exports=l()?Object.assign:function(c,f){for(var s,h=i(c),u,a=1;a<arguments.length;a++){s=Object(arguments[a]);for(var x in s)e.call(s,x)&&(h[x]=s[x]);if(g){u=g(s);for(var p=0;p<u.length;p++)r.call(s,u[p])&&(h[u[p]]=s[u[p]])}}return h}},97671:function(d){var g=d.exports={},e,r;function i(){throw new Error("setTimeout has not been defined")}function l(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?e=setTimeout:e=i}catch(b){e=i}try{typeof clearTimeout=="function"?r=clearTimeout:r=l}catch(b){r=l}})();function c(b){if(e===setTimeout)return setTimeout(b,0);if((e===i||!e)&&setTimeout)return e=setTimeout,setTimeout(b,0);try{return e(b,0)}catch(S){try{return e.call(null,b,0)}catch(R){return e.call(this,b,0)}}}function f(b){if(r===clearTimeout)return clearTimeout(b);if((r===l||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(b);try{return r(b)}catch(S){try{return r.call(null,b)}catch(R){return r.call(this,b)}}}var s=[],h=!1,u,a=-1;function x(){!h||!u||(h=!1,u.length?s=u.concat(s):a=-1,s.length&&p())}function p(){if(!h){var b=c(x);h=!0;for(var S=s.length;S;){for(u=s,s=[];++a<S;)u&&u[a].run();a=-1,S=s.length}u=null,h=!1,f(b)}}g.nextTick=function(b){var S=new Array(arguments.length-1);if(arguments.length>1)for(var R=1;R<arguments.length;R++)S[R-1]=arguments[R];s.push(new y(b,S)),s.length===1&&!h&&c(p)};function y(b,S){this.fun=b,this.array=S}y.prototype.run=function(){this.fun.apply(null,this.array)},g.title="browser",g.browser=!0,g.env={},g.argv=[],g.version="",g.versions={};function _(){}g.on=_,g.addListener=_,g.once=_,g.off=_,g.removeListener=_,g.removeAllListeners=_,g.emit=_,g.prependListener=_,g.prependOnceListener=_,g.listeners=function(b){return[]},g.binding=function(b){throw new Error("process.binding is not supported")},g.cwd=function(){return"/"},g.chdir=function(b){throw new Error("process.chdir is not supported")},g.umask=function(){return 0}},79442:function(d,g,e){"use strict";var r=e(97825);function i(){}function l(){}l.resetWarningCache=i,d.exports=function(){function c(h,u,a,x,p,y){if(y!==r){var _=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw _.name="Invariant Violation",_}}c.isRequired=c;function f(){return c}var s={array:c,bigint:c,bool:c,func:c,number:c,object:c,string:c,symbol:c,any:c,arrayOf:f,element:c,elementType:c,instanceOf:f,node:c,objectOf:f,oneOf:f,oneOfType:f,shape:f,exact:f,checkPropTypes:l,resetWarningCache:i};return s.PropTypes=s,s}},12708:function(d,g,e){if(0)var r,i;else d.exports=e(79442)()},97825:function(d){"use strict";var g="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";d.exports=g},86923:function(d,g,e){"use strict";e.d(g,{s:function(){return N},Z:function(){return ue}});var r=e(5016),i=e(52456),l=e(43403),c=e(59301),f=c.createContext({}),s=e(20049),h=e(92310),u=e.n(h),a=e(48519),x=e(80402),p=e(10228),y=e(26112);function _(K,V,G){var te=V;return!te&&G&&(te="".concat(K,"-").concat(G)),te}function b(K,V){var G=K["page".concat(V?"Y":"X","Offset")],te="scroll".concat(V?"Top":"Left");if(typeof G!="number"){var q=K.document;G=q.documentElement[te],typeof G!="number"&&(G=q.body[te])}return G}function S(K){var V=K.getBoundingClientRect(),G={left:V.left,top:V.top},te=K.ownerDocument,q=te.defaultView||te.parentWindow;return G.left+=b(q),G.top+=b(q,!0),G}var R=e(77900),L=e(8654),T=c.memo(function(K){var V=K.children;return V},function(K,V){var G=V.shouldUpdate;return!G}),D={width:0,height:0,overflow:"hidden",outline:"none"},M=c.forwardRef(function(K,V){var G=K.prefixCls,te=K.className,q=K.style,J=K.title,le=K.ariaId,z=K.footer,F=K.closable,se=K.closeIcon,_e=K.onClose,Pe=K.children,Re=K.bodyStyle,Ze=K.bodyProps,$e=K.modalRender,Ht=K.onMouseDown,bt=K.onMouseUp,Ot=K.holderRef,qt=K.visible,er=K.forceRender,Jt=K.width,Xe=K.height,Pt=c.useContext(f),Ut=Pt.panel,st=(0,L.x1)(Ot,Ut),yt=(0,c.useRef)(),ht=(0,c.useRef)();c.useImperativeHandle(V,function(){return{focus:function(){var He;(He=yt.current)===null||He===void 0||He.focus()},changeActive:function(He){var nt=document,ct=nt.activeElement;He&&ct===ht.current?yt.current.focus():!He&&ct===yt.current&&ht.current.focus()}}});var Je={};Jt!==void 0&&(Je.width=Jt),Xe!==void 0&&(Je.height=Xe);var je;z&&(je=c.createElement("div",{className:"".concat(G,"-footer")},z));var ge;J&&(ge=c.createElement("div",{className:"".concat(G,"-header")},c.createElement("div",{className:"".concat(G,"-title"),id:le},J)));var Se;F&&(Se=c.createElement("button",{type:"button",onClick:_e,"aria-label":"Close",className:"".concat(G,"-close")},se||c.createElement("span",{className:"".concat(G,"-close-x")})));var Me=c.createElement("div",{className:"".concat(G,"-content")},Se,ge,c.createElement("div",(0,r.Z)({className:"".concat(G,"-body"),style:Re},Ze),Pe),je);return c.createElement("div",{key:"dialog-element",role:"dialog","aria-labelledby":J?le:null,"aria-modal":"true",ref:st,style:(0,s.Z)((0,s.Z)({},q),Je),className:u()(G,te),onMouseDown:Ht,onMouseUp:bt},c.createElement("div",{tabIndex:0,ref:yt,style:D,"aria-hidden":"true"}),c.createElement(T,{shouldUpdate:qt||er},$e?$e(Me):Me),c.createElement("div",{tabIndex:0,ref:ht,style:D,"aria-hidden":"true"}))}),N=M,j=c.forwardRef(function(K,V){var G=K.prefixCls,te=K.title,q=K.style,J=K.className,le=K.visible,z=K.forceRender,F=K.destroyOnClose,se=K.motionName,_e=K.ariaId,Pe=K.onVisibleChanged,Re=K.mousePosition,Ze=(0,c.useRef)(),$e=c.useState(),Ht=(0,i.Z)($e,2),bt=Ht[0],Ot=Ht[1],qt={};bt&&(qt.transformOrigin=bt);function er(){var Jt=S(Ze.current);Ot(Re?"".concat(Re.x-Jt.left,"px ").concat(Re.y-Jt.top,"px"):"")}return c.createElement(R.default,{visible:le,onVisibleChanged:Pe,onAppearPrepare:er,onEnterPrepare:er,forceRender:z,motionName:se,removeOnLeave:F,ref:Ze},function(Jt,Xe){var Pt=Jt.className,Ut=Jt.style;return c.createElement(N,(0,r.Z)({},K,{ref:V,title:te,ariaId:_e,prefixCls:G,holderRef:Xe,style:(0,s.Z)((0,s.Z)((0,s.Z)({},Ut),q),qt),className:u()(J,Pt)}))})});j.displayName="Content";var Q=j;function X(K){var V=K.prefixCls,G=K.style,te=K.visible,q=K.maskProps,J=K.motionName;return c.createElement(R.default,{key:"mask",visible:te,motionName:J,leavedClassName:"".concat(V,"-mask-hidden")},function(le,z){var F=le.className,se=le.style;return c.createElement("div",(0,r.Z)({ref:z,style:(0,s.Z)((0,s.Z)({},se),G),className:u()("".concat(V,"-mask"),F)},q))})}function Y(K){var V=K.prefixCls,G=V===void 0?"rc-dialog":V,te=K.zIndex,q=K.visible,J=q===void 0?!1:q,le=K.keyboard,z=le===void 0?!0:le,F=K.focusTriggerAfterClose,se=F===void 0?!0:F,_e=K.wrapStyle,Pe=K.wrapClassName,Re=K.wrapProps,Ze=K.onClose,$e=K.afterOpenChange,Ht=K.afterClose,bt=K.transitionName,Ot=K.animation,qt=K.closable,er=qt===void 0?!0:qt,Jt=K.mask,Xe=Jt===void 0?!0:Jt,Pt=K.maskTransitionName,Ut=K.maskAnimation,st=K.maskClosable,yt=st===void 0?!0:st,ht=K.maskStyle,Je=K.maskProps,je=K.rootClassName,ge=(0,c.useRef)(),Se=(0,c.useRef)(),Me=(0,c.useRef)(),Ne=c.useState(J),He=(0,i.Z)(Ne,2),nt=He[0],ct=He[1],Vt=(0,x.Z)();function Wt(){(0,a.Z)(Se.current,document.activeElement)||(ge.current=document.activeElement)}function Ie(){if(!(0,a.Z)(Se.current,document.activeElement)){var fe;(fe=Me.current)===null||fe===void 0||fe.focus()}}function qe(fe){if(fe)Ie();else{if(ct(!1),Xe&&ge.current&&se){try{ge.current.focus({preventScroll:!0})}catch(pe){}ge.current=null}nt&&(Ht==null||Ht())}$e==null||$e(fe)}function Gt(fe){Ze==null||Ze(fe)}var kt=(0,c.useRef)(!1),Zt=(0,c.useRef)(),Nt=function(){clearTimeout(Zt.current),kt.current=!0},Ct=function(){Zt.current=setTimeout(function(){kt.current=!1})},Yt=null;yt&&(Yt=function(pe){kt.current?kt.current=!1:Se.current===pe.target&&Gt(pe)});function We(fe){if(z&&fe.keyCode===p.Z.ESC){fe.stopPropagation(),Gt(fe);return}J&&fe.keyCode===p.Z.TAB&&Me.current.changeActive(!fe.shiftKey)}return(0,c.useEffect)(function(){J&&(ct(!0),Wt())},[J]),(0,c.useEffect)(function(){return function(){clearTimeout(Zt.current)}},[]),c.createElement("div",(0,r.Z)({className:u()("".concat(G,"-root"),je)},(0,y.Z)(K,{data:!0})),c.createElement(X,{prefixCls:G,visible:Xe&&J,motionName:_(G,Pt,Ut),style:(0,s.Z)({zIndex:te},ht),maskProps:Je}),c.createElement("div",(0,r.Z)({tabIndex:-1,onKeyDown:We,className:u()("".concat(G,"-wrap"),Pe),ref:Se,onClick:Yt,style:(0,s.Z)((0,s.Z)({zIndex:te},_e),{},{display:nt?null:"none"})},Re),c.createElement(Q,(0,r.Z)({},K,{onMouseDown:Nt,onMouseUp:Ct,ref:Me,closable:er,ariaId:Vt,prefixCls:G,visible:J&&nt,onClose:Gt,onVisibleChanged:qe,motionName:_(G,bt,Ot)}))))}var oe=function(V){var G=V.visible,te=V.getContainer,q=V.forceRender,J=V.destroyOnClose,le=J===void 0?!1:J,z=V.afterClose,F=V.panelRef,se=c.useState(G),_e=(0,i.Z)(se,2),Pe=_e[0],Re=_e[1],Ze=c.useMemo(function(){return{panel:F}},[F]);return c.useEffect(function(){G&&Re(!0)},[G]),!q&&le&&!Pe?null:c.createElement(f.Provider,{value:Ze},c.createElement(l.Z,{open:G||q||Pe,autoDestroy:!1,getContainer:te,autoLock:G||Pe},c.createElement(Y,(0,r.Z)({},V,{destroyOnClose:le,afterClose:function(){z==null||z(),Re(!1)}}))))};oe.displayName="Dialog";var ie=oe,ue=ie},95013:function(d,g,e){"use strict";e.r(g),e.d(g,{Field:function(){return Mr},FieldContext:function(){return M},FormProvider:function(){return Xi},List:function(){return Zn},ListContext:function(){return j},default:function(){return En},useForm:function(){return Ei},useWatch:function(){return Gi}});var r=e(59301),i=e(5016),l=e(5883),c=e(85444),f=e(21566),s=e(20049),h=e(92393),u=e(6487),a=e(56789),x=e(41281),p=e(7942),y=e(76773),_=e(18082),b=e(11592),S=e(13697),R=e(48736),L="RC_FORM_INTERNAL_HOOKS",T=function(){(0,R.ZP)(!1,"Can not find FormContext. Please make sure you wrap Field under Form.")},D=r.createContext({getFieldValue:T,getFieldsValue:T,getFieldError:T,getFieldWarning:T,getFieldsError:T,isFieldsTouched:T,isFieldTouched:T,isFieldValidating:T,isFieldsValidating:T,resetFields:T,setFields:T,setFieldValue:T,setFieldsValue:T,validateFields:T,submit:T,getInternalHooks:function(){return T(),{dispatch:T,initEntityValue:T,registerField:T,useSubscribe:T,setInitialValues:T,destroyForm:T,setCallbacks:T,registerWatch:T,getFields:T,setValidateMessages:T,setPreserve:T,getInitialValue:T}}}),M=D,N=r.createContext(null),j=N;function Q(tr){return tr==null?[]:Array.isArray(tr)?tr:[tr]}function X(tr){return tr&&!!tr._init}var Y=e(97671);function oe(){return oe=Object.assign?Object.assign.bind():function(tr){for(var _t=1;_t<arguments.length;_t++){var rt=arguments[_t];for(var It in rt)Object.prototype.hasOwnProperty.call(rt,It)&&(tr[It]=rt[It])}return tr},oe.apply(this,arguments)}function ie(tr,_t){tr.prototype=Object.create(_t.prototype),tr.prototype.constructor=tr,K(tr,_t)}function ue(tr){return ue=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(rt){return rt.__proto__||Object.getPrototypeOf(rt)},ue(tr)}function K(tr,_t){return K=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(It,pt){return It.__proto__=pt,It},K(tr,_t)}function V(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(tr){return!1}}function G(tr,_t,rt){return V()?G=Reflect.construct.bind():G=function(pt,lr,fr){var Ir=[null];Ir.push.apply(Ir,lr);var Hr=Function.bind.apply(pt,Ir),ze=new Hr;return fr&&K(ze,fr.prototype),ze},G.apply(null,arguments)}function te(tr){return Function.toString.call(tr).indexOf("[native code]")!==-1}function q(tr){var _t=typeof Map=="function"?new Map:void 0;return q=function(It){if(It===null||!te(It))return It;if(typeof It!="function")throw new TypeError("Super expression must either be null or a function");if(typeof _t!="undefined"){if(_t.has(It))return _t.get(It);_t.set(It,pt)}function pt(){return G(It,arguments,ue(this).constructor)}return pt.prototype=Object.create(It.prototype,{constructor:{value:pt,enumerable:!1,writable:!0,configurable:!0}}),K(pt,It)},q(tr)}var J=/%[sdj%]/g,le=function(){};function z(tr){if(!tr||!tr.length)return null;var _t={};return tr.forEach(function(rt){var It=rt.field;_t[It]=_t[It]||[],_t[It].push(rt)}),_t}function F(tr){for(var _t=arguments.length,rt=new Array(_t>1?_t-1:0),It=1;It<_t;It++)rt[It-1]=arguments[It];var pt=0,lr=rt.length;if(typeof tr=="function")return tr.apply(null,rt);if(typeof tr=="string"){var fr=tr.replace(J,function(Ir){if(Ir==="%%")return"%";if(pt>=lr)return Ir;switch(Ir){case"%s":return String(rt[pt++]);case"%d":return Number(rt[pt++]);case"%j":try{return JSON.stringify(rt[pt++])}catch(Hr){return"[Circular]"}break;default:return Ir}});return fr}return tr}function se(tr){return tr==="string"||tr==="url"||tr==="hex"||tr==="email"||tr==="date"||tr==="pattern"}function _e(tr,_t){return!!(tr==null||_t==="array"&&Array.isArray(tr)&&!tr.length||se(_t)&&typeof tr=="string"&&!tr)}function Pe(tr,_t,rt){var It=[],pt=0,lr=tr.length;function fr(Ir){It.push.apply(It,Ir||[]),pt++,pt===lr&&rt(It)}tr.forEach(function(Ir){_t(Ir,fr)})}function Re(tr,_t,rt){var It=0,pt=tr.length;function lr(fr){if(fr&&fr.length){rt(fr);return}var Ir=It;It=It+1,Ir<pt?_t(tr[Ir],lr):rt([])}lr([])}function Ze(tr){var _t=[];return Object.keys(tr).forEach(function(rt){_t.push.apply(_t,tr[rt]||[])}),_t}var $e=function(tr){ie(_t,tr);function _t(rt,It){var pt;return pt=tr.call(this,"Async Validation Error")||this,pt.errors=rt,pt.fields=It,pt}return _t}(q(Error));function Ht(tr,_t,rt,It,pt){if(_t.first){var lr=new Promise(function(it,ir){var Dr=function($r){return It($r),$r.length?ir(new $e($r,z($r))):it(pt)},Er=Ze(tr);Re(Er,rt,Dr)});return lr.catch(function(it){return it}),lr}var fr=_t.firstFields===!0?Object.keys(tr):_t.firstFields||[],Ir=Object.keys(tr),Hr=Ir.length,ze=0,et=[],Ee=new Promise(function(it,ir){var Dr=function(Or){if(et.push.apply(et,Or),ze++,ze===Hr)return It(et),et.length?ir(new $e(et,z(et))):it(pt)};Ir.length||(It(et),it(pt)),Ir.forEach(function(Er){var Or=tr[Er];fr.indexOf(Er)!==-1?Re(Or,rt,Dr):Pe(Or,rt,Dr)})});return Ee.catch(function(it){return it}),Ee}function bt(tr){return!!(tr&&tr.message!==void 0)}function Ot(tr,_t){for(var rt=tr,It=0;It<_t.length;It++){if(rt==null)return rt;rt=rt[_t[It]]}return rt}function qt(tr,_t){return function(rt){var It;return tr.fullFields?It=Ot(_t,tr.fullFields):It=_t[rt.field||tr.fullField],bt(rt)?(rt.field=rt.field||tr.fullField,rt.fieldValue=It,rt):{message:typeof rt=="function"?rt():rt,fieldValue:It,field:rt.field||tr.fullField}}}function er(tr,_t){if(_t){for(var rt in _t)if(_t.hasOwnProperty(rt)){var It=_t[rt];typeof It=="object"&&typeof tr[rt]=="object"?tr[rt]=oe({},tr[rt],It):tr[rt]=It}}return tr}var Jt=function(_t,rt,It,pt,lr,fr){_t.required&&(!It.hasOwnProperty(_t.field)||_e(rt,fr||_t.type))&&pt.push(F(lr.messages.required,_t.fullField))},Xe=function(_t,rt,It,pt,lr){(/^\s+$/.test(rt)||rt==="")&&pt.push(F(lr.messages.whitespace,_t.fullField))},Pt,Ut=function(){if(Pt)return Pt;var tr="[a-fA-F\\d:]",_t=function(un){return un&&un.includeBoundaries?"(?:(?<=\\s|^)(?="+tr+")|(?<="+tr+")(?=\\s|$))":""},rt="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}",It="[a-fA-F\\d]{1,4}",pt=(`
(?:
(?:`+It+":){7}(?:"+It+`|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8
(?:`+It+":){6}(?:"+rt+"|:"+It+`|:)| // 1:2:3:4:5:6:: 1:2:3:4:5:6::8 1:2:3:4:5:6::8 1:2:3:4:5:6::1.2.3.4
(?:`+It+":){5}(?::"+rt+"|(?::"+It+`){1,2}|:)| // 1:2:3:4:5:: 1:2:3:4:5::7:8 1:2:3:4:5::8 1:2:3:4:5::7:1.2.3.4
(?:`+It+":){4}(?:(?::"+It+"){0,1}:"+rt+"|(?::"+It+`){1,3}|:)| // 1:2:3:4:: 1:2:3:4::6:7:8 1:2:3:4::8 1:2:3:4::6:7:1.2.3.4
(?:`+It+":){3}(?:(?::"+It+"){0,2}:"+rt+"|(?::"+It+`){1,4}|:)| // 1:2:3:: 1:2:3::5:6:7:8 1:2:3::8 1:2:3::5:6:7:1.2.3.4
(?:`+It+":){2}(?:(?::"+It+"){0,3}:"+rt+"|(?::"+It+`){1,5}|:)| // 1:2:: 1:2::4:5:6:7:8 1:2::8 1:2::4:5:6:7:1.2.3.4
(?:`+It+":){1}(?:(?::"+It+"){0,4}:"+rt+"|(?::"+It+`){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4
(?::(?:(?::`+It+"){0,5}:"+rt+"|(?::"+It+`){1,7}|:)) // ::2:3:4:5:6:7:8 ::2:3:4:5:6:7:8 ::8 ::1.2.3.4
)(?:%[0-9a-zA-Z]{1,})? // %eth0 %1
`).replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),lr=new RegExp("(?:^"+rt+"$)|(?:^"+pt+"$)"),fr=new RegExp("^"+rt+"$"),Ir=new RegExp("^"+pt+"$"),Hr=function(un){return un&&un.exact?lr:new RegExp("(?:"+_t(un)+rt+_t(un)+")|(?:"+_t(un)+pt+_t(un)+")","g")};Hr.v4=function(Pr){return Pr&&Pr.exact?fr:new RegExp(""+_t(Pr)+rt+_t(Pr),"g")},Hr.v6=function(Pr){return Pr&&Pr.exact?Ir:new RegExp(""+_t(Pr)+pt+_t(Pr),"g")};var ze="(?:(?:[a-z]+:)?//)",et="(?:\\S+(?::\\S*)?@)?",Ee=Hr.v4().source,it=Hr.v6().source,ir="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",Dr="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",Er="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",Or="(?::\\d{2,5})?",$r='(?:[/?#][^\\s"]*)?',bn="(?:"+ze+"|www\\.)"+et+"(?:localhost|"+Ee+"|"+it+"|"+ir+Dr+Er+")"+Or+$r;return Pt=new RegExp("(?:^"+bn+"$)","i"),Pt},st={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},yt={integer:function(_t){return yt.number(_t)&&parseInt(_t,10)===_t},float:function(_t){return yt.number(_t)&&!yt.integer(_t)},array:function(_t){return Array.isArray(_t)},regexp:function(_t){if(_t instanceof RegExp)return!0;try{return!!new RegExp(_t)}catch(rt){return!1}},date:function(_t){return typeof _t.getTime=="function"&&typeof _t.getMonth=="function"&&typeof _t.getYear=="function"&&!isNaN(_t.getTime())},number:function(_t){return isNaN(_t)?!1:typeof _t=="number"},object:function(_t){return typeof _t=="object"&&!yt.array(_t)},method:function(_t){return typeof _t=="function"},email:function(_t){return typeof _t=="string"&&_t.length<=320&&!!_t.match(st.email)},url:function(_t){return typeof _t=="string"&&_t.length<=2048&&!!_t.match(Ut())},hex:function(_t){return typeof _t=="string"&&!!_t.match(st.hex)}},ht=function(_t,rt,It,pt,lr){if(_t.required&&rt===void 0){Jt(_t,rt,It,pt,lr);return}var fr=["integer","float","array","regexp","object","method","email","number","date","url","hex"],Ir=_t.type;fr.indexOf(Ir)>-1?yt[Ir](rt)||pt.push(F(lr.messages.types[Ir],_t.fullField,_t.type)):Ir&&typeof rt!==_t.type&&pt.push(F(lr.messages.types[Ir],_t.fullField,_t.type))},Je=function(_t,rt,It,pt,lr){var fr=typeof _t.len=="number",Ir=typeof _t.min=="number",Hr=typeof _t.max=="number",ze=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,et=rt,Ee=null,it=typeof rt=="number",ir=typeof rt=="string",Dr=Array.isArray(rt);if(it?Ee="number":ir?Ee="string":Dr&&(Ee="array"),!Ee)return!1;Dr&&(et=rt.length),ir&&(et=rt.replace(ze,"_").length),fr?et!==_t.len&&pt.push(F(lr.messages[Ee].len,_t.fullField,_t.len)):Ir&&!Hr&&et<_t.min?pt.push(F(lr.messages[Ee].min,_t.fullField,_t.min)):Hr&&!Ir&&et>_t.max?pt.push(F(lr.messages[Ee].max,_t.fullField,_t.max)):Ir&&Hr&&(et<_t.min||et>_t.max)&&pt.push(F(lr.messages[Ee].range,_t.fullField,_t.min,_t.max))},je="enum",ge=function(_t,rt,It,pt,lr){_t[je]=Array.isArray(_t[je])?_t[je]:[],_t[je].indexOf(rt)===-1&&pt.push(F(lr.messages[je],_t.fullField,_t[je].join(", ")))},Se=function(_t,rt,It,pt,lr){if(_t.pattern){if(_t.pattern instanceof RegExp)_t.pattern.lastIndex=0,_t.pattern.test(rt)||pt.push(F(lr.messages.pattern.mismatch,_t.fullField,rt,_t.pattern));else if(typeof _t.pattern=="string"){var fr=new RegExp(_t.pattern);fr.test(rt)||pt.push(F(lr.messages.pattern.mismatch,_t.fullField,rt,_t.pattern))}}},Me={required:Jt,whitespace:Xe,type:ht,range:Je,enum:ge,pattern:Se},Ne=function(_t,rt,It,pt,lr){var fr=[],Ir=_t.required||!_t.required&&pt.hasOwnProperty(_t.field);if(Ir){if(_e(rt,"string")&&!_t.required)return It();Me.required(_t,rt,pt,fr,lr,"string"),_e(rt,"string")||(Me.type(_t,rt,pt,fr,lr),Me.range(_t,rt,pt,fr,lr),Me.pattern(_t,rt,pt,fr,lr),_t.whitespace===!0&&Me.whitespace(_t,rt,pt,fr,lr))}It(fr)},He=function(_t,rt,It,pt,lr){var fr=[],Ir=_t.required||!_t.required&&pt.hasOwnProperty(_t.field);if(Ir){if(_e(rt)&&!_t.required)return It();Me.required(_t,rt,pt,fr,lr),rt!==void 0&&Me.type(_t,rt,pt,fr,lr)}It(fr)},nt=function(_t,rt,It,pt,lr){var fr=[],Ir=_t.required||!_t.required&&pt.hasOwnProperty(_t.field);if(Ir){if(rt===""&&(rt=void 0),_e(rt)&&!_t.required)return It();Me.required(_t,rt,pt,fr,lr),rt!==void 0&&(Me.type(_t,rt,pt,fr,lr),Me.range(_t,rt,pt,fr,lr))}It(fr)},ct=function(_t,rt,It,pt,lr){var fr=[],Ir=_t.required||!_t.required&&pt.hasOwnProperty(_t.field);if(Ir){if(_e(rt)&&!_t.required)return It();Me.required(_t,rt,pt,fr,lr),rt!==void 0&&Me.type(_t,rt,pt,fr,lr)}It(fr)},Vt=function(_t,rt,It,pt,lr){var fr=[],Ir=_t.required||!_t.required&&pt.hasOwnProperty(_t.field);if(Ir){if(_e(rt)&&!_t.required)return It();Me.required(_t,rt,pt,fr,lr),_e(rt)||Me.type(_t,rt,pt,fr,lr)}It(fr)},Wt=function(_t,rt,It,pt,lr){var fr=[],Ir=_t.required||!_t.required&&pt.hasOwnProperty(_t.field);if(Ir){if(_e(rt)&&!_t.required)return It();Me.required(_t,rt,pt,fr,lr),rt!==void 0&&(Me.type(_t,rt,pt,fr,lr),Me.range(_t,rt,pt,fr,lr))}It(fr)},Ie=function(_t,rt,It,pt,lr){var fr=[],Ir=_t.required||!_t.required&&pt.hasOwnProperty(_t.field);if(Ir){if(_e(rt)&&!_t.required)return It();Me.required(_t,rt,pt,fr,lr),rt!==void 0&&(Me.type(_t,rt,pt,fr,lr),Me.range(_t,rt,pt,fr,lr))}It(fr)},qe=function(_t,rt,It,pt,lr){var fr=[],Ir=_t.required||!_t.required&&pt.hasOwnProperty(_t.field);if(Ir){if(rt==null&&!_t.required)return It();Me.required(_t,rt,pt,fr,lr,"array"),rt!=null&&(Me.type(_t,rt,pt,fr,lr),Me.range(_t,rt,pt,fr,lr))}It(fr)},Gt=function(_t,rt,It,pt,lr){var fr=[],Ir=_t.required||!_t.required&&pt.hasOwnProperty(_t.field);if(Ir){if(_e(rt)&&!_t.required)return It();Me.required(_t,rt,pt,fr,lr),rt!==void 0&&Me.type(_t,rt,pt,fr,lr)}It(fr)},kt="enum",Zt=function(_t,rt,It,pt,lr){var fr=[],Ir=_t.required||!_t.required&&pt.hasOwnProperty(_t.field);if(Ir){if(_e(rt)&&!_t.required)return It();Me.required(_t,rt,pt,fr,lr),rt!==void 0&&Me[kt](_t,rt,pt,fr,lr)}It(fr)},Nt=function(_t,rt,It,pt,lr){var fr=[],Ir=_t.required||!_t.required&&pt.hasOwnProperty(_t.field);if(Ir){if(_e(rt,"string")&&!_t.required)return It();Me.required(_t,rt,pt,fr,lr),_e(rt,"string")||Me.pattern(_t,rt,pt,fr,lr)}It(fr)},Ct=function(_t,rt,It,pt,lr){var fr=[],Ir=_t.required||!_t.required&&pt.hasOwnProperty(_t.field);if(Ir){if(_e(rt,"date")&&!_t.required)return It();if(Me.required(_t,rt,pt,fr,lr),!_e(rt,"date")){var Hr;rt instanceof Date?Hr=rt:Hr=new Date(rt),Me.type(_t,Hr,pt,fr,lr),Hr&&Me.range(_t,Hr.getTime(),pt,fr,lr)}}It(fr)},Yt=function(_t,rt,It,pt,lr){var fr=[],Ir=Array.isArray(rt)?"array":typeof rt;Me.required(_t,rt,pt,fr,lr,Ir),It(fr)},We=function(_t,rt,It,pt,lr){var fr=_t.type,Ir=[],Hr=_t.required||!_t.required&&pt.hasOwnProperty(_t.field);if(Hr){if(_e(rt,fr)&&!_t.required)return It();Me.required(_t,rt,pt,Ir,lr,fr),_e(rt,fr)||Me.type(_t,rt,pt,Ir,lr)}It(Ir)},fe=function(_t,rt,It,pt,lr){var fr=[],Ir=_t.required||!_t.required&&pt.hasOwnProperty(_t.field);if(Ir){if(_e(rt)&&!_t.required)return It();Me.required(_t,rt,pt,fr,lr)}It(fr)},pe={string:Ne,method:He,number:nt,boolean:ct,regexp:Vt,integer:Wt,float:Ie,array:qe,object:Gt,enum:Zt,pattern:Nt,date:Ct,url:We,hex:We,email:We,required:Yt,any:fe};function Dt(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var _t=JSON.parse(JSON.stringify(this));return _t.clone=this.clone,_t}}}var Ce=Dt(),dt=function(){function tr(rt){this.rules=null,this._messages=Ce,this.define(rt)}var _t=tr.prototype;return _t.define=function(It){var pt=this;if(!It)throw new Error("Cannot configure a schema with no rules");if(typeof It!="object"||Array.isArray(It))throw new Error("Rules must be an object");this.rules={},Object.keys(It).forEach(function(lr){var fr=It[lr];pt.rules[lr]=Array.isArray(fr)?fr:[fr]})},_t.messages=function(It){return It&&(this._messages=er(Dt(),It)),this._messages},_t.validate=function(It,pt,lr){var fr=this;pt===void 0&&(pt={}),lr===void 0&&(lr=function(){});var Ir=It,Hr=pt,ze=lr;if(typeof Hr=="function"&&(ze=Hr,Hr={}),!this.rules||Object.keys(this.rules).length===0)return ze&&ze(null,Ir),Promise.resolve(Ir);function et(Er){var Or=[],$r={};function bn(un){if(Array.isArray(un)){var rn;Or=(rn=Or).concat.apply(rn,un)}else Or.push(un)}for(var Pr=0;Pr<Er.length;Pr++)bn(Er[Pr]);Or.length?($r=z(Or),ze(Or,$r)):ze(null,Ir)}if(Hr.messages){var Ee=this.messages();Ee===Ce&&(Ee=Dt()),er(Ee,Hr.messages),Hr.messages=Ee}else Hr.messages=this.messages();var it={},ir=Hr.keys||Object.keys(this.rules);ir.forEach(function(Er){var Or=fr.rules[Er],$r=Ir[Er];Or.forEach(function(bn){var Pr=bn;typeof Pr.transform=="function"&&(Ir===It&&(Ir=oe({},Ir)),$r=Ir[Er]=Pr.transform($r)),typeof Pr=="function"?Pr={validator:Pr}:Pr=oe({},Pr),Pr.validator=fr.getValidationMethod(Pr),Pr.validator&&(Pr.field=Er,Pr.fullField=Pr.fullField||Er,Pr.type=fr.getType(Pr),it[Er]=it[Er]||[],it[Er].push({rule:Pr,value:$r,source:Ir,field:Er}))})});var Dr={};return Ht(it,Hr,function(Er,Or){var $r=Er.rule,bn=($r.type==="object"||$r.type==="array")&&(typeof $r.fields=="object"||typeof $r.defaultField=="object");bn=bn&&($r.required||!$r.required&&Er.value),$r.field=Er.field;function Pr(ln,An){return oe({},An,{fullField:$r.fullField+"."+ln,fullFields:$r.fullFields?[].concat($r.fullFields,[ln]):[ln]})}function un(ln){ln===void 0&&(ln=[]);var An=Array.isArray(ln)?ln:[ln];!Hr.suppressWarning&&An.length&&tr.warning("async-validator:",An),An.length&&$r.message!==void 0&&(An=[].concat($r.message));var pa=An.map(qt($r,Ir));if(Hr.first&&pa.length)return Dr[$r.field]=1,Or(pa);if(!bn)Or(pa);else{if($r.required&&!Er.value)return $r.message!==void 0?pa=[].concat($r.message).map(qt($r,Ir)):Hr.error&&(pa=[Hr.error($r,F(Hr.messages.required,$r.field))]),Or(pa);var Pi={};$r.defaultField&&Object.keys(Er.value).map(function(ui){Pi[ui]=$r.defaultField}),Pi=oe({},Pi,Er.rule.fields);var gi={};Object.keys(Pi).forEach(function(ui){var Ni=Pi[ui],la=Array.isArray(Ni)?Ni:[Ni];gi[ui]=la.map(Pr.bind(null,ui))});var pn=new tr(gi);pn.messages(Hr.messages),Er.rule.options&&(Er.rule.options.messages=Hr.messages,Er.rule.options.error=Hr.error),pn.validate(Er.value,Er.rule.options||Hr,function(ui){var Ni=[];pa&&pa.length&&Ni.push.apply(Ni,pa),ui&&ui.length&&Ni.push.apply(Ni,ui),Or(Ni.length?Ni:null)})}}var rn;if($r.asyncValidator)rn=$r.asyncValidator($r,Er.value,un,Er.source,Hr);else if($r.validator){try{rn=$r.validator($r,Er.value,un,Er.source,Hr)}catch(ln){console.error==null||console.error(ln),Hr.suppressValidatorError||setTimeout(function(){throw ln},0),un(ln.message)}rn===!0?un():rn===!1?un(typeof $r.message=="function"?$r.message($r.fullField||$r.field):$r.message||($r.fullField||$r.field)+" fails"):rn instanceof Array?un(rn):rn instanceof Error&&un(rn.message)}rn&&rn.then&&rn.then(function(){return un()},function(ln){return un(ln)})},function(Er){et(Er)},Ir)},_t.getType=function(It){if(It.type===void 0&&It.pattern instanceof RegExp&&(It.type="pattern"),typeof It.validator!="function"&&It.type&&!pe.hasOwnProperty(It.type))throw new Error(F("Unknown rule type %s",It.type));return It.type||"string"},_t.getValidationMethod=function(It){if(typeof It.validator=="function")return It.validator;var pt=Object.keys(It),lr=pt.indexOf("message");return lr!==-1&&pt.splice(lr,1),pt.length===1&&pt[0]==="required"?pe.required:pe[this.getType(It)]||void 0},tr}();dt.register=function(_t,rt){if(typeof rt!="function")throw new Error("Cannot register a validator by type, validator is not a function");pe[_t]=rt},dt.warning=le,dt.messages=Ce,dt.validators=pe;var zt="'${name}' is not a valid ${type}",Tt={default:"Validation error on field '${name}'",required:"'${name}' is required",enum:"'${name}' must be one of [${enum}]",whitespace:"'${name}' cannot be empty",date:{format:"'${name}' is invalid for format date",parse:"'${name}' could not be parsed as date",invalid:"'${name}' is invalid date"},types:{string:zt,method:zt,array:zt,object:zt,number:zt,date:zt,boolean:zt,integer:zt,float:zt,regexp:zt,email:zt,url:zt,hex:zt},string:{len:"'${name}' must be exactly ${len} characters",min:"'${name}' must be at least ${min} characters",max:"'${name}' cannot be longer than ${max} characters",range:"'${name}' must be between ${min} and ${max} characters"},number:{len:"'${name}' must equal ${len}",min:"'${name}' cannot be less than ${min}",max:"'${name}' cannot be greater than ${max}",range:"'${name}' must be between ${min} and ${max}"},array:{len:"'${name}' must be exactly ${len} in length",min:"'${name}' cannot be less than ${min} in length",max:"'${name}' cannot be greater than ${max} in length",range:"'${name}' must be between ${min} and ${max} in length"},pattern:{mismatch:"'${name}' does not match pattern ${pattern}"}},Oe=e(24434),St=dt;function be(tr,_t){return tr.replace(/\$\{\w+\}/g,function(rt){var It=rt.slice(2,-1);return _t[It]})}var Ke="CODE_LOGIC_ERROR";function vt(tr,_t,rt,It,pt){return Rt.apply(this,arguments)}function Rt(){return Rt=(0,f.Z)((0,c.Z)().mark(function tr(_t,rt,It,pt,lr){var fr,Ir,Hr,ze,et,Ee,it,ir,Dr;return(0,c.Z)().wrap(function(Or){for(;;)switch(Or.prev=Or.next){case 0:return fr=(0,s.Z)({},It),delete fr.ruleIndex,St.warning=function(){},fr.validator&&(Ir=fr.validator,fr.validator=function(){try{return Ir.apply(void 0,arguments)}catch($r){return console.error($r),Promise.reject(Ke)}}),Hr=null,fr&&fr.type==="array"&&fr.defaultField&&(Hr=fr.defaultField,delete fr.defaultField),ze=new St((0,_.Z)({},_t,[fr])),et=(0,Oe.T)(Tt,pt.validateMessages),ze.messages(et),Ee=[],Or.prev=10,Or.next=13,Promise.resolve(ze.validate((0,_.Z)({},_t,rt),(0,s.Z)({},pt)));case 13:Or.next=18;break;case 15:Or.prev=15,Or.t0=Or.catch(10),Or.t0.errors&&(Ee=Or.t0.errors.map(function($r,bn){var Pr=$r.message,un=Pr===Ke?et.default:Pr;return r.isValidElement(un)?r.cloneElement(un,{key:"error_".concat(bn)}):un}));case 18:if(!(!Ee.length&&Hr)){Or.next=23;break}return Or.next=21,Promise.all(rt.map(function($r,bn){return vt("".concat(_t,".").concat(bn),$r,Hr,pt,lr)}));case 21:return it=Or.sent,Or.abrupt("return",it.reduce(function($r,bn){return[].concat((0,h.Z)($r),(0,h.Z)(bn))},[]));case 23:return ir=(0,s.Z)((0,s.Z)({},It),{},{name:_t,enum:(It.enum||[]).join(", ")},lr),Dr=Ee.map(function($r){return typeof $r=="string"?be($r,ir):$r}),Or.abrupt("return",Dr);case 26:case"end":return Or.stop()}},tr,null,[[10,15]])})),Rt.apply(this,arguments)}function Fe(tr,_t,rt,It,pt,lr){var fr=tr.join("."),Ir=rt.map(function(et,Ee){var it=et.validator,ir=(0,s.Z)((0,s.Z)({},et),{},{ruleIndex:Ee});return it&&(ir.validator=function(Dr,Er,Or){var $r=!1,bn=function(){for(var rn=arguments.length,ln=new Array(rn),An=0;An<rn;An++)ln[An]=arguments[An];Promise.resolve().then(function(){(0,R.ZP)(!$r,"Your validator function has already return a promise. `callback` will be ignored."),$r||Or.apply(void 0,ln)})},Pr=it(Dr,Er,bn);$r=Pr&&typeof Pr.then=="function"&&typeof Pr.catch=="function",(0,R.ZP)($r,"`callback` is deprecated. Please return a promise instead."),$r&&Pr.then(function(){Or()}).catch(function(un){Or(un||" ")})}),ir}).sort(function(et,Ee){var it=et.warningOnly,ir=et.ruleIndex,Dr=Ee.warningOnly,Er=Ee.ruleIndex;return!!it==!!Dr?ir-Er:it?1:-1}),Hr;if(pt===!0)Hr=new Promise(function(){var et=(0,f.Z)((0,c.Z)().mark(function Ee(it,ir){var Dr,Er,Or;return(0,c.Z)().wrap(function(bn){for(;;)switch(bn.prev=bn.next){case 0:Dr=0;case 1:if(!(Dr<Ir.length)){bn.next=12;break}return Er=Ir[Dr],bn.next=5,vt(fr,_t,Er,It,lr);case 5:if(Or=bn.sent,!Or.length){bn.next=9;break}return ir([{errors:Or,rule:Er}]),bn.abrupt("return");case 9:Dr+=1,bn.next=1;break;case 12:it([]);case 13:case"end":return bn.stop()}},Ee)}));return function(Ee,it){return et.apply(this,arguments)}}());else{var ze=Ir.map(function(et){return vt(fr,_t,et,It,lr).then(function(Ee){return{errors:Ee,rule:et}})});Hr=(pt?Kr(ze):kr(ze)).then(function(et){return Promise.reject(et)})}return Hr.catch(function(et){return et}),Hr}function kr(tr){return At.apply(this,arguments)}function At(){return At=(0,f.Z)((0,c.Z)().mark(function tr(_t){return(0,c.Z)().wrap(function(It){for(;;)switch(It.prev=It.next){case 0:return It.abrupt("return",Promise.all(_t).then(function(pt){var lr,fr=(lr=[]).concat.apply(lr,(0,h.Z)(pt));return fr}));case 1:case"end":return It.stop()}},tr)})),At.apply(this,arguments)}function Kr(tr){return qr.apply(this,arguments)}function qr(){return qr=(0,f.Z)((0,c.Z)().mark(function tr(_t){var rt;return(0,c.Z)().wrap(function(pt){for(;;)switch(pt.prev=pt.next){case 0:return rt=0,pt.abrupt("return",new Promise(function(lr){_t.forEach(function(fr){fr.then(function(Ir){Ir.errors.length&&lr([Ir]),rt+=1,rt===_t.length&&lr([])})})}));case 2:case"end":return pt.stop()}},tr)})),qr.apply(this,arguments)}var Ar=e(10928),Br=e(97938);function _r(tr){return Q(tr)}function Ur(tr,_t){var rt={};return _t.forEach(function(It){var pt=(0,Br.Z)(tr,It);rt=(0,Oe.Z)(rt,It,pt)}),rt}function sn(tr,_t){var rt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return tr&&tr.some(function(It){return cn(_t,It,rt)})}function cn(tr,_t){var rt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return!tr||!_t||!rt&&tr.length!==_t.length?!1:_t.every(function(It,pt){return tr[pt]===It})}function or(tr,_t){if(tr===_t)return!0;if(!tr&&_t||tr&&!_t||!tr||!_t||(0,Ar.Z)(tr)!=="object"||(0,Ar.Z)(_t)!=="object")return!1;var rt=Object.keys(tr),It=Object.keys(_t),pt=new Set([].concat(rt,It));return(0,h.Z)(pt).every(function(lr){var fr=tr[lr],Ir=_t[lr];return typeof fr=="function"&&typeof Ir=="function"?!0:fr===Ir})}function Lt(tr){var _t=arguments.length<=1?void 0:arguments[1];return _t&&_t.target&&(0,Ar.Z)(_t.target)==="object"&&tr in _t.target?_t.target[tr]:_t}function mt(tr,_t,rt){var It=tr.length;if(_t<0||_t>=It||rt<0||rt>=It)return tr;var pt=tr[_t],lr=_t-rt;return lr>0?[].concat((0,h.Z)(tr.slice(0,rt)),[pt],(0,h.Z)(tr.slice(rt,_t)),(0,h.Z)(tr.slice(_t+1,It))):lr<0?[].concat((0,h.Z)(tr.slice(0,_t)),(0,h.Z)(tr.slice(_t+1,rt+1)),[pt],(0,h.Z)(tr.slice(rt+1,It))):tr}var gt=["name"],$t=[];function Cr(tr,_t,rt,It,pt,lr){return typeof tr=="function"?tr(_t,rt,"source"in lr?{source:lr.source}:{}):It!==pt}var gr=function(tr){(0,p.Z)(rt,tr);var _t=(0,y.Z)(rt);function rt(It){var pt;if((0,u.Z)(this,rt),pt=_t.call(this,It),(0,_.Z)((0,x.Z)(pt),"state",{resetCount:0}),(0,_.Z)((0,x.Z)(pt),"cancelRegisterFunc",null),(0,_.Z)((0,x.Z)(pt),"mounted",!1),(0,_.Z)((0,x.Z)(pt),"touched",!1),(0,_.Z)((0,x.Z)(pt),"dirty",!1),(0,_.Z)((0,x.Z)(pt),"validatePromise",void 0),(0,_.Z)((0,x.Z)(pt),"prevValidating",void 0),(0,_.Z)((0,x.Z)(pt),"errors",$t),(0,_.Z)((0,x.Z)(pt),"warnings",$t),(0,_.Z)((0,x.Z)(pt),"cancelRegister",function(){var Hr=pt.props,ze=Hr.preserve,et=Hr.isListField,Ee=Hr.name;pt.cancelRegisterFunc&&pt.cancelRegisterFunc(et,ze,_r(Ee)),pt.cancelRegisterFunc=null}),(0,_.Z)((0,x.Z)(pt),"getNamePath",function(){var Hr=pt.props,ze=Hr.name,et=Hr.fieldContext,Ee=et.prefixName,it=Ee===void 0?[]:Ee;return ze!==void 0?[].concat((0,h.Z)(it),(0,h.Z)(ze)):[]}),(0,_.Z)((0,x.Z)(pt),"getRules",function(){var Hr=pt.props,ze=Hr.rules,et=ze===void 0?[]:ze,Ee=Hr.fieldContext;return et.map(function(it){return typeof it=="function"?it(Ee):it})}),(0,_.Z)((0,x.Z)(pt),"refresh",function(){pt.mounted&&pt.setState(function(Hr){var ze=Hr.resetCount;return{resetCount:ze+1}})}),(0,_.Z)((0,x.Z)(pt),"metaCache",null),(0,_.Z)((0,x.Z)(pt),"triggerMetaEvent",function(Hr){var ze=pt.props.onMetaChange;if(ze){var et=(0,s.Z)((0,s.Z)({},pt.getMeta()),{},{destroy:Hr});(0,S.Z)(pt.metaCache,et)||ze(et),pt.metaCache=et}else pt.metaCache=null}),(0,_.Z)((0,x.Z)(pt),"onStoreChange",function(Hr,ze,et){var Ee=pt.props,it=Ee.shouldUpdate,ir=Ee.dependencies,Dr=ir===void 0?[]:ir,Er=Ee.onReset,Or=et.store,$r=pt.getNamePath(),bn=pt.getValue(Hr),Pr=pt.getValue(Or),un=ze&&sn(ze,$r);switch(et.type==="valueUpdate"&&et.source==="external"&&bn!==Pr&&(pt.touched=!0,pt.dirty=!0,pt.validatePromise=null,pt.errors=$t,pt.warnings=$t,pt.triggerMetaEvent()),et.type){case"reset":if(!ze||un){pt.touched=!1,pt.dirty=!1,pt.validatePromise=void 0,pt.errors=$t,pt.warnings=$t,pt.triggerMetaEvent(),Er==null||Er(),pt.refresh();return}break;case"remove":{if(it){pt.reRender();return}break}case"setField":{var rn=et.data;if(un){"touched"in rn&&(pt.touched=rn.touched),"validating"in rn&&!("originRCField"in rn)&&(pt.validatePromise=rn.validating?Promise.resolve([]):null),"errors"in rn&&(pt.errors=rn.errors||$t),"warnings"in rn&&(pt.warnings=rn.warnings||$t),pt.dirty=!0,pt.triggerMetaEvent(),pt.reRender();return}else if("value"in rn&&sn(ze,$r,!0)){pt.reRender();return}if(it&&!$r.length&&Cr(it,Hr,Or,bn,Pr,et)){pt.reRender();return}break}case"dependenciesUpdate":{var ln=Dr.map(_r);if(ln.some(function(An){return sn(et.relatedFields,An)})){pt.reRender();return}break}default:if(un||(!Dr.length||$r.length||it)&&Cr(it,Hr,Or,bn,Pr,et)){pt.reRender();return}break}it===!0&&pt.reRender()}),(0,_.Z)((0,x.Z)(pt),"validateRules",function(Hr){var ze=pt.getNamePath(),et=pt.getValue(),Ee=Hr||{},it=Ee.triggerName,ir=Ee.validateOnly,Dr=ir===void 0?!1:ir,Er=Promise.resolve().then((0,f.Z)((0,c.Z)().mark(function Or(){var $r,bn,Pr,un,rn,ln,An;return(0,c.Z)().wrap(function(Pi){for(;;)switch(Pi.prev=Pi.next){case 0:if(pt.mounted){Pi.next=2;break}return Pi.abrupt("return",[]);case 2:if($r=pt.props,bn=$r.validateFirst,Pr=bn===void 0?!1:bn,un=$r.messageVariables,rn=$r.validateDebounce,ln=pt.getRules(),it&&(ln=ln.filter(function(gi){return gi}).filter(function(gi){var pn=gi.validateTrigger;if(!pn)return!0;var ui=Q(pn);return ui.includes(it)})),!(rn&&it)){Pi.next=10;break}return Pi.next=8,new Promise(function(gi){setTimeout(gi,rn)});case 8:if(pt.validatePromise===Er){Pi.next=10;break}return Pi.abrupt("return",[]);case 10:return An=Fe(ze,et,ln,Hr,Pr,un),An.catch(function(gi){return gi}).then(function(){var gi=arguments.length>0&&arguments[0]!==void 0?arguments[0]:$t;if(pt.validatePromise===Er){var pn;pt.validatePromise=null;var ui=[],Ni=[];(pn=gi.forEach)===null||pn===void 0||pn.call(gi,function(la){var xs=la.rule.warningOnly,Pa=la.errors,Na=Pa===void 0?$t:Pa;xs?Ni.push.apply(Ni,(0,h.Z)(Na)):ui.push.apply(ui,(0,h.Z)(Na))}),pt.errors=ui,pt.warnings=Ni,pt.triggerMetaEvent(),pt.reRender()}}),Pi.abrupt("return",An);case 13:case"end":return Pi.stop()}},Or)})));return Dr||(pt.validatePromise=Er,pt.dirty=!0,pt.errors=$t,pt.warnings=$t,pt.triggerMetaEvent(),pt.reRender()),Er}),(0,_.Z)((0,x.Z)(pt),"isFieldValidating",function(){return!!pt.validatePromise}),(0,_.Z)((0,x.Z)(pt),"isFieldTouched",function(){return pt.touched}),(0,_.Z)((0,x.Z)(pt),"isFieldDirty",function(){if(pt.dirty||pt.props.initialValue!==void 0)return!0;var Hr=pt.props.fieldContext,ze=Hr.getInternalHooks(L),et=ze.getInitialValue;return et(pt.getNamePath())!==void 0}),(0,_.Z)((0,x.Z)(pt),"getErrors",function(){return pt.errors}),(0,_.Z)((0,x.Z)(pt),"getWarnings",function(){return pt.warnings}),(0,_.Z)((0,x.Z)(pt),"isListField",function(){return pt.props.isListField}),(0,_.Z)((0,x.Z)(pt),"isList",function(){return pt.props.isList}),(0,_.Z)((0,x.Z)(pt),"isPreserve",function(){return pt.props.preserve}),(0,_.Z)((0,x.Z)(pt),"getMeta",function(){pt.prevValidating=pt.isFieldValidating();var Hr={touched:pt.isFieldTouched(),validating:pt.prevValidating,errors:pt.errors,warnings:pt.warnings,name:pt.getNamePath(),validated:pt.validatePromise===null};return Hr}),(0,_.Z)((0,x.Z)(pt),"getOnlyChild",function(Hr){if(typeof Hr=="function"){var ze=pt.getMeta();return(0,s.Z)((0,s.Z)({},pt.getOnlyChild(Hr(pt.getControlled(),ze,pt.props.fieldContext))),{},{isFunction:!0})}var et=(0,b.Z)(Hr);return et.length!==1||!r.isValidElement(et[0])?{child:et,isFunction:!1}:{child:et[0],isFunction:!1}}),(0,_.Z)((0,x.Z)(pt),"getValue",function(Hr){var ze=pt.props.fieldContext.getFieldsValue,et=pt.getNamePath();return(0,Br.Z)(Hr||ze(!0),et)}),(0,_.Z)((0,x.Z)(pt),"getControlled",function(){var Hr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},ze=pt.props,et=ze.trigger,Ee=ze.validateTrigger,it=ze.getValueFromEvent,ir=ze.normalize,Dr=ze.valuePropName,Er=ze.getValueProps,Or=ze.fieldContext,$r=Ee!==void 0?Ee:Or.validateTrigger,bn=pt.getNamePath(),Pr=Or.getInternalHooks,un=Or.getFieldsValue,rn=Pr(L),ln=rn.dispatch,An=pt.getValue(),pa=Er||function(ui){return(0,_.Z)({},Dr,ui)},Pi=Hr[et],gi=(0,s.Z)((0,s.Z)({},Hr),pa(An));gi[et]=function(){pt.touched=!0,pt.dirty=!0,pt.triggerMetaEvent();for(var ui,Ni=arguments.length,la=new Array(Ni),xs=0;xs<Ni;xs++)la[xs]=arguments[xs];it?ui=it.apply(void 0,la):ui=Lt.apply(void 0,[Dr].concat(la)),ir&&(ui=ir(ui,An,un(!0))),ln({type:"updateValue",namePath:bn,value:ui}),Pi&&Pi.apply(void 0,la)};var pn=Q($r||[]);return pn.forEach(function(ui){var Ni=gi[ui];gi[ui]=function(){Ni&&Ni.apply(void 0,arguments);var la=pt.props.rules;la&&la.length&&ln({type:"validateField",namePath:bn,triggerName:ui})}}),gi}),It.fieldContext){var lr=It.fieldContext.getInternalHooks,fr=lr(L),Ir=fr.initEntityValue;Ir((0,x.Z)(pt))}return pt}return(0,a.Z)(rt,[{key:"componentDidMount",value:function(){var pt=this.props,lr=pt.shouldUpdate,fr=pt.fieldContext;if(this.mounted=!0,fr){var Ir=fr.getInternalHooks,Hr=Ir(L),ze=Hr.registerField;this.cancelRegisterFunc=ze(this)}lr===!0&&this.reRender()}},{key:"componentWillUnmount",value:function(){this.cancelRegister(),this.triggerMetaEvent(!0),this.mounted=!1}},{key:"reRender",value:function(){this.mounted&&this.forceUpdate()}},{key:"render",value:function(){var pt=this.state.resetCount,lr=this.props.children,fr=this.getOnlyChild(lr),Ir=fr.child,Hr=fr.isFunction,ze;return Hr?ze=Ir:r.isValidElement(Ir)?ze=r.cloneElement(Ir,this.getControlled(Ir.props)):((0,R.ZP)(!Ir,"`children` of Field is not validate ReactElement."),ze=Ir),r.createElement(r.Fragment,{key:pt},ze)}}]),rt}(r.Component);(0,_.Z)(gr,"contextType",M),(0,_.Z)(gr,"defaultProps",{trigger:"onChange",valuePropName:"value"});function ot(tr){var _t=tr.name,rt=(0,l.Z)(tr,gt),It=r.useContext(M),pt=r.useContext(j),lr=_t!==void 0?_r(_t):void 0,fr="keep";return rt.isListField||(fr="_".concat((lr||[]).join("_"))),r.createElement(gr,(0,i.Z)({key:fr,name:lr,isListField:!!pt},rt,{fieldContext:It}))}var Mr=ot;function yn(tr){var _t=tr.name,rt=tr.initialValue,It=tr.children,pt=tr.rules,lr=tr.validateTrigger,fr=tr.isListField,Ir=r.useContext(M),Hr=r.useContext(j),ze=r.useRef({keys:[],id:0}),et=ze.current,Ee=r.useMemo(function(){var Er=_r(Ir.prefixName)||[];return[].concat((0,h.Z)(Er),(0,h.Z)(_r(_t)))},[Ir.prefixName,_t]),it=r.useMemo(function(){return(0,s.Z)((0,s.Z)({},Ir),{},{prefixName:Ee})},[Ir,Ee]),ir=r.useMemo(function(){return{getKey:function(Or){var $r=Ee.length,bn=Or[$r];return[et.keys[bn],Or.slice($r+1)]}}},[Ee]);if(typeof It!="function")return(0,R.ZP)(!1,"Form.List only accepts function as children."),null;var Dr=function(Or,$r,bn){var Pr=bn.source;return Pr==="internal"?!1:Or!==$r};return r.createElement(j.Provider,{value:ir},r.createElement(M.Provider,{value:it},r.createElement(Mr,{name:[],shouldUpdate:Dr,rules:pt,validateTrigger:lr,initialValue:rt,isList:!0,isListField:fr!=null?fr:!!Hr},function(Er,Or){var $r=Er.value,bn=$r===void 0?[]:$r,Pr=Er.onChange,un=Ir.getFieldValue,rn=function(){var Pi=un(Ee||[]);return Pi||[]},ln={add:function(Pi,gi){var pn=rn();gi>=0&&gi<=pn.length?(et.keys=[].concat((0,h.Z)(et.keys.slice(0,gi)),[et.id],(0,h.Z)(et.keys.slice(gi))),Pr([].concat((0,h.Z)(pn.slice(0,gi)),[Pi],(0,h.Z)(pn.slice(gi))))):(et.keys=[].concat((0,h.Z)(et.keys),[et.id]),Pr([].concat((0,h.Z)(pn),[Pi]))),et.id+=1},remove:function(Pi){var gi=rn(),pn=new Set(Array.isArray(Pi)?Pi:[Pi]);pn.size<=0||(et.keys=et.keys.filter(function(ui,Ni){return!pn.has(Ni)}),Pr(gi.filter(function(ui,Ni){return!pn.has(Ni)})))},move:function(Pi,gi){if(Pi!==gi){var pn=rn();Pi<0||Pi>=pn.length||gi<0||gi>=pn.length||(et.keys=mt(et.keys,Pi,gi),Pr(mt(pn,Pi,gi)))}}},An=bn||[];return Array.isArray(An)||(An=[]),It(An.map(function(pa,Pi){var gi=et.keys[Pi];return gi===void 0&&(et.keys[Pi]=et.id,gi=et.keys[Pi],et.id+=1),{name:Pi,key:gi,isListField:!0}}),ln,Or)})))}var Zn=yn,mr=e(52456);function tn(tr){var _t=!1,rt=tr.length,It=[];return tr.length?new Promise(function(pt,lr){tr.forEach(function(fr,Ir){fr.catch(function(Hr){return _t=!0,Hr}).then(function(Hr){rt-=1,It[Ir]=Hr,!(rt>0)&&(_t&&lr(It),pt(It))})})}):Promise.resolve([])}var hn="__@field_split__";function Fn(tr){return tr.map(function(_t){return"".concat((0,Ar.Z)(_t),":").concat(_t)}).join(hn)}var ti=function(){function tr(){(0,u.Z)(this,tr),(0,_.Z)(this,"kvs",new Map)}return(0,a.Z)(tr,[{key:"set",value:function(rt,It){this.kvs.set(Fn(rt),It)}},{key:"get",value:function(rt){return this.kvs.get(Fn(rt))}},{key:"update",value:function(rt,It){var pt=this.get(rt),lr=It(pt);lr?this.set(rt,lr):this.delete(rt)}},{key:"delete",value:function(rt){this.kvs.delete(Fn(rt))}},{key:"map",value:function(rt){return(0,h.Z)(this.kvs.entries()).map(function(It){var pt=(0,mr.Z)(It,2),lr=pt[0],fr=pt[1],Ir=lr.split(hn);return rt({key:Ir.map(function(Hr){var ze=Hr.match(/^([^:]*):(.*)$/),et=(0,mr.Z)(ze,3),Ee=et[1],it=et[2];return Ee==="number"?Number(it):it}),value:fr})})}},{key:"toJSON",value:function(){var rt={};return this.map(function(It){var pt=It.key,lr=It.value;return rt[pt.join(".")]=lr,null}),rt}}]),tr}(),jn=ti,Zi=["name"],xi=(0,a.Z)(function tr(_t){var rt=this;(0,u.Z)(this,tr),(0,_.Z)(this,"formHooked",!1),(0,_.Z)(this,"forceRootUpdate",void 0),(0,_.Z)(this,"subscribable",!0),(0,_.Z)(this,"store",{}),(0,_.Z)(this,"fieldEntities",[]),(0,_.Z)(this,"initialValues",{}),(0,_.Z)(this,"callbacks",{}),(0,_.Z)(this,"validateMessages",null),(0,_.Z)(this,"preserve",null),(0,_.Z)(this,"lastValidatePromise",null),(0,_.Z)(this,"getForm",function(){return{getFieldValue:rt.getFieldValue,getFieldsValue:rt.getFieldsValue,getFieldError:rt.getFieldError,getFieldWarning:rt.getFieldWarning,getFieldsError:rt.getFieldsError,isFieldsTouched:rt.isFieldsTouched,isFieldTouched:rt.isFieldTouched,isFieldValidating:rt.isFieldValidating,isFieldsValidating:rt.isFieldsValidating,resetFields:rt.resetFields,setFields:rt.setFields,setFieldValue:rt.setFieldValue,setFieldsValue:rt.setFieldsValue,validateFields:rt.validateFields,submit:rt.submit,_init:!0,getInternalHooks:rt.getInternalHooks}}),(0,_.Z)(this,"getInternalHooks",function(It){return It===L?(rt.formHooked=!0,{dispatch:rt.dispatch,initEntityValue:rt.initEntityValue,registerField:rt.registerField,useSubscribe:rt.useSubscribe,setInitialValues:rt.setInitialValues,destroyForm:rt.destroyForm,setCallbacks:rt.setCallbacks,setValidateMessages:rt.setValidateMessages,getFields:rt.getFields,setPreserve:rt.setPreserve,getInitialValue:rt.getInitialValue,registerWatch:rt.registerWatch}):((0,R.ZP)(!1,"`getInternalHooks` is internal usage. Should not call directly."),null)}),(0,_.Z)(this,"useSubscribe",function(It){rt.subscribable=It}),(0,_.Z)(this,"prevWithoutPreserves",null),(0,_.Z)(this,"setInitialValues",function(It,pt){if(rt.initialValues=It||{},pt){var lr,fr=(0,Oe.T)(It,rt.store);(lr=rt.prevWithoutPreserves)===null||lr===void 0||lr.map(function(Ir){var Hr=Ir.key;fr=(0,Oe.Z)(fr,Hr,(0,Br.Z)(It,Hr))}),rt.prevWithoutPreserves=null,rt.updateStore(fr)}}),(0,_.Z)(this,"destroyForm",function(){var It=new jn;rt.getFieldEntities(!0).forEach(function(pt){rt.isMergedPreserve(pt.isPreserve())||It.set(pt.getNamePath(),!0)}),rt.prevWithoutPreserves=It}),(0,_.Z)(this,"getInitialValue",function(It){var pt=(0,Br.Z)(rt.initialValues,It);return It.length?(0,Oe.T)(pt):pt}),(0,_.Z)(this,"setCallbacks",function(It){rt.callbacks=It}),(0,_.Z)(this,"setValidateMessages",function(It){rt.validateMessages=It}),(0,_.Z)(this,"setPreserve",function(It){rt.preserve=It}),(0,_.Z)(this,"watchList",[]),(0,_.Z)(this,"registerWatch",function(It){return rt.watchList.push(It),function(){rt.watchList=rt.watchList.filter(function(pt){return pt!==It})}}),(0,_.Z)(this,"notifyWatch",function(){var It=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];if(rt.watchList.length){var pt=rt.getFieldsValue(),lr=rt.getFieldsValue(!0);rt.watchList.forEach(function(fr){fr(pt,lr,It)})}}),(0,_.Z)(this,"timeoutId",null),(0,_.Z)(this,"warningUnhooked",function(){}),(0,_.Z)(this,"updateStore",function(It){rt.store=It}),(0,_.Z)(this,"getFieldEntities",function(){var It=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return It?rt.fieldEntities.filter(function(pt){return pt.getNamePath().length}):rt.fieldEntities}),(0,_.Z)(this,"getFieldsMap",function(){var It=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,pt=new jn;return rt.getFieldEntities(It).forEach(function(lr){var fr=lr.getNamePath();pt.set(fr,lr)}),pt}),(0,_.Z)(this,"getFieldEntitiesForNamePathList",function(It){if(!It)return rt.getFieldEntities(!0);var pt=rt.getFieldsMap(!0);return It.map(function(lr){var fr=_r(lr);return pt.get(fr)||{INVALIDATE_NAME_PATH:_r(lr)}})}),(0,_.Z)(this,"getFieldsValue",function(It,pt){rt.warningUnhooked();var lr,fr,Ir;if(It===!0||Array.isArray(It)?(lr=It,fr=pt):It&&(0,Ar.Z)(It)==="object"&&(Ir=It.strict,fr=It.filter),lr===!0&&!fr)return rt.store;var Hr=rt.getFieldEntitiesForNamePathList(Array.isArray(lr)?lr:null),ze=[];return Hr.forEach(function(et){var Ee,it,ir="INVALIDATE_NAME_PATH"in et?et.INVALIDATE_NAME_PATH:et.getNamePath();if(Ir){var Dr,Er;if((Dr=(Er=et).isList)!==null&&Dr!==void 0&&Dr.call(Er))return}else if(!lr&&(Ee=(it=et).isListField)!==null&&Ee!==void 0&&Ee.call(it))return;if(!fr)ze.push(ir);else{var Or="getMeta"in et?et.getMeta():null;fr(Or)&&ze.push(ir)}}),Ur(rt.store,ze.map(_r))}),(0,_.Z)(this,"getFieldValue",function(It){rt.warningUnhooked();var pt=_r(It);return(0,Br.Z)(rt.store,pt)}),(0,_.Z)(this,"getFieldsError",function(It){rt.warningUnhooked();var pt=rt.getFieldEntitiesForNamePathList(It);return pt.map(function(lr,fr){return lr&&!("INVALIDATE_NAME_PATH"in lr)?{name:lr.getNamePath(),errors:lr.getErrors(),warnings:lr.getWarnings()}:{name:_r(It[fr]),errors:[],warnings:[]}})}),(0,_.Z)(this,"getFieldError",function(It){rt.warningUnhooked();var pt=_r(It),lr=rt.getFieldsError([pt])[0];return lr.errors}),(0,_.Z)(this,"getFieldWarning",function(It){rt.warningUnhooked();var pt=_r(It),lr=rt.getFieldsError([pt])[0];return lr.warnings}),(0,_.Z)(this,"isFieldsTouched",function(){rt.warningUnhooked();for(var It=arguments.length,pt=new Array(It),lr=0;lr<It;lr++)pt[lr]=arguments[lr];var fr=pt[0],Ir=pt[1],Hr,ze=!1;pt.length===0?Hr=null:pt.length===1?Array.isArray(fr)?(Hr=fr.map(_r),ze=!1):(Hr=null,ze=fr):(Hr=fr.map(_r),ze=Ir);var et=rt.getFieldEntities(!0),Ee=function(Or){return Or.isFieldTouched()};if(!Hr)return ze?et.every(Ee):et.some(Ee);var it=new jn;Hr.forEach(function(Er){it.set(Er,[])}),et.forEach(function(Er){var Or=Er.getNamePath();Hr.forEach(function($r){$r.every(function(bn,Pr){return Or[Pr]===bn})&&it.update($r,function(bn){return[].concat((0,h.Z)(bn),[Er])})})});var ir=function(Or){return Or.some(Ee)},Dr=it.map(function(Er){var Or=Er.value;return Or});return ze?Dr.every(ir):Dr.some(ir)}),(0,_.Z)(this,"isFieldTouched",function(It){return rt.warningUnhooked(),rt.isFieldsTouched([It])}),(0,_.Z)(this,"isFieldsValidating",function(It){rt.warningUnhooked();var pt=rt.getFieldEntities();if(!It)return pt.some(function(fr){return fr.isFieldValidating()});var lr=It.map(_r);return pt.some(function(fr){var Ir=fr.getNamePath();return sn(lr,Ir)&&fr.isFieldValidating()})}),(0,_.Z)(this,"isFieldValidating",function(It){return rt.warningUnhooked(),rt.isFieldsValidating([It])}),(0,_.Z)(this,"resetWithFieldInitialValue",function(){var It=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},pt=new jn,lr=rt.getFieldEntities(!0);lr.forEach(function(Hr){var ze=Hr.props.initialValue,et=Hr.getNamePath();if(ze!==void 0){var Ee=pt.get(et)||new Set;Ee.add({entity:Hr,value:ze}),pt.set(et,Ee)}});var fr=function(ze){ze.forEach(function(et){var Ee=et.props.initialValue;if(Ee!==void 0){var it=et.getNamePath(),ir=rt.getInitialValue(it);if(ir!==void 0)(0,R.ZP)(!1,"Form already set 'initialValues' with path '".concat(it.join("."),"'. Field can not overwrite it."));else{var Dr=pt.get(it);if(Dr&&Dr.size>1)(0,R.ZP)(!1,"Multiple Field with path '".concat(it.join("."),"' set 'initialValue'. Can not decide which one to pick."));else if(Dr){var Er=rt.getFieldValue(it);(!It.skipExist||Er===void 0)&&rt.updateStore((0,Oe.Z)(rt.store,it,(0,h.Z)(Dr)[0].value))}}}})},Ir;It.entities?Ir=It.entities:It.namePathList?(Ir=[],It.namePathList.forEach(function(Hr){var ze=pt.get(Hr);if(ze){var et;(et=Ir).push.apply(et,(0,h.Z)((0,h.Z)(ze).map(function(Ee){return Ee.entity})))}})):Ir=lr,fr(Ir)}),(0,_.Z)(this,"resetFields",function(It){rt.warningUnhooked();var pt=rt.store;if(!It){rt.updateStore((0,Oe.T)(rt.initialValues)),rt.resetWithFieldInitialValue(),rt.notifyObservers(pt,null,{type:"reset"}),rt.notifyWatch();return}var lr=It.map(_r);lr.forEach(function(fr){var Ir=rt.getInitialValue(fr);rt.updateStore((0,Oe.Z)(rt.store,fr,Ir))}),rt.resetWithFieldInitialValue({namePathList:lr}),rt.notifyObservers(pt,lr,{type:"reset"}),rt.notifyWatch(lr)}),(0,_.Z)(this,"setFields",function(It){rt.warningUnhooked();var pt=rt.store,lr=[];It.forEach(function(fr){var Ir=fr.name,Hr=(0,l.Z)(fr,Zi),ze=_r(Ir);lr.push(ze),"value"in Hr&&rt.updateStore((0,Oe.Z)(rt.store,ze,Hr.value)),rt.notifyObservers(pt,[ze],{type:"setField",data:fr})}),rt.notifyWatch(lr)}),(0,_.Z)(this,"getFields",function(){var It=rt.getFieldEntities(!0),pt=It.map(function(lr){var fr=lr.getNamePath(),Ir=lr.getMeta(),Hr=(0,s.Z)((0,s.Z)({},Ir),{},{name:fr,value:rt.getFieldValue(fr)});return Object.defineProperty(Hr,"originRCField",{value:!0}),Hr});return pt}),(0,_.Z)(this,"initEntityValue",function(It){var pt=It.props.initialValue;if(pt!==void 0){var lr=It.getNamePath(),fr=(0,Br.Z)(rt.store,lr);fr===void 0&&rt.updateStore((0,Oe.Z)(rt.store,lr,pt))}}),(0,_.Z)(this,"isMergedPreserve",function(It){var pt=It!==void 0?It:rt.preserve;return pt!=null?pt:!0}),(0,_.Z)(this,"registerField",function(It){rt.fieldEntities.push(It);var pt=It.getNamePath();if(rt.notifyWatch([pt]),It.props.initialValue!==void 0){var lr=rt.store;rt.resetWithFieldInitialValue({entities:[It],skipExist:!0}),rt.notifyObservers(lr,[It.getNamePath()],{type:"valueUpdate",source:"internal"})}return function(fr,Ir){var Hr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];if(rt.fieldEntities=rt.fieldEntities.filter(function(Ee){return Ee!==It}),!rt.isMergedPreserve(Ir)&&(!fr||Hr.length>1)){var ze=fr?void 0:rt.getInitialValue(pt);if(pt.length&&rt.getFieldValue(pt)!==ze&&rt.fieldEntities.every(function(Ee){return!cn(Ee.getNamePath(),pt)})){var et=rt.store;rt.updateStore((0,Oe.Z)(et,pt,ze,!0)),rt.notifyObservers(et,[pt],{type:"remove"}),rt.triggerDependenciesUpdate(et,pt)}}rt.notifyWatch([pt])}}),(0,_.Z)(this,"dispatch",function(It){switch(It.type){case"updateValue":{var pt=It.namePath,lr=It.value;rt.updateValue(pt,lr);break}case"validateField":{var fr=It.namePath,Ir=It.triggerName;rt.validateFields([fr],{triggerName:Ir});break}default:}}),(0,_.Z)(this,"notifyObservers",function(It,pt,lr){if(rt.subscribable){var fr=(0,s.Z)((0,s.Z)({},lr),{},{store:rt.getFieldsValue(!0)});rt.getFieldEntities().forEach(function(Ir){var Hr=Ir.onStoreChange;Hr(It,pt,fr)})}else rt.forceRootUpdate()}),(0,_.Z)(this,"triggerDependenciesUpdate",function(It,pt){var lr=rt.getDependencyChildrenFields(pt);return lr.length&&rt.validateFields(lr),rt.notifyObservers(It,lr,{type:"dependenciesUpdate",relatedFields:[pt].concat((0,h.Z)(lr))}),lr}),(0,_.Z)(this,"updateValue",function(It,pt){var lr=_r(It),fr=rt.store;rt.updateStore((0,Oe.Z)(rt.store,lr,pt)),rt.notifyObservers(fr,[lr],{type:"valueUpdate",source:"internal"}),rt.notifyWatch([lr]);var Ir=rt.triggerDependenciesUpdate(fr,lr),Hr=rt.callbacks.onValuesChange;if(Hr){var ze=Ur(rt.store,[lr]);Hr(ze,rt.getFieldsValue())}rt.triggerOnFieldsChange([lr].concat((0,h.Z)(Ir)))}),(0,_.Z)(this,"setFieldsValue",function(It){rt.warningUnhooked();var pt=rt.store;if(It){var lr=(0,Oe.T)(rt.store,It);rt.updateStore(lr)}rt.notifyObservers(pt,null,{type:"valueUpdate",source:"external"}),rt.notifyWatch()}),(0,_.Z)(this,"setFieldValue",function(It,pt){rt.setFields([{name:It,value:pt}])}),(0,_.Z)(this,"getDependencyChildrenFields",function(It){var pt=new Set,lr=[],fr=new jn;rt.getFieldEntities().forEach(function(Hr){var ze=Hr.props.dependencies;(ze||[]).forEach(function(et){var Ee=_r(et);fr.update(Ee,function(){var it=arguments.length>0&&arguments[0]!==void 0?arguments[0]:new Set;return it.add(Hr),it})})});var Ir=function Hr(ze){var et=fr.get(ze)||new Set;et.forEach(function(Ee){if(!pt.has(Ee)){pt.add(Ee);var it=Ee.getNamePath();Ee.isFieldDirty()&&it.length&&(lr.push(it),Hr(it))}})};return Ir(It),lr}),(0,_.Z)(this,"triggerOnFieldsChange",function(It,pt){var lr=rt.callbacks.onFieldsChange;if(lr){var fr=rt.getFields();if(pt){var Ir=new jn;pt.forEach(function(ze){var et=ze.name,Ee=ze.errors;Ir.set(et,Ee)}),fr.forEach(function(ze){ze.errors=Ir.get(ze.name)||ze.errors})}var Hr=fr.filter(function(ze){var et=ze.name;return sn(It,et)});Hr.length&&lr(Hr,fr)}}),(0,_.Z)(this,"validateFields",function(It,pt){var lr;rt.warningUnhooked();var fr,Ir;Array.isArray(It)||typeof It=="string"||typeof pt=="string"?(fr=It,Ir=pt):Ir=It;var Hr=!!fr,ze=Hr?fr.map(_r):[],et=[],Ee=String(Date.now()),it=new Set,ir=(lr=Ir)===null||lr===void 0?void 0:lr.recursive;rt.getFieldEntities(!0).forEach(function($r){if(Hr||ze.push($r.getNamePath()),!(!$r.props.rules||!$r.props.rules.length)){var bn=$r.getNamePath();if(it.add(bn.join(Ee)),!Hr||sn(ze,bn,ir)){var Pr=$r.validateRules((0,s.Z)({validateMessages:(0,s.Z)((0,s.Z)({},Tt),rt.validateMessages)},Ir));et.push(Pr.then(function(){return{name:bn,errors:[],warnings:[]}}).catch(function(un){var rn,ln=[],An=[];return(rn=un.forEach)===null||rn===void 0||rn.call(un,function(pa){var Pi=pa.rule.warningOnly,gi=pa.errors;Pi?An.push.apply(An,(0,h.Z)(gi)):ln.push.apply(ln,(0,h.Z)(gi))}),ln.length?Promise.reject({name:bn,errors:ln,warnings:An}):{name:bn,errors:ln,warnings:An}}))}}});var Dr=tn(et);rt.lastValidatePromise=Dr,Dr.catch(function($r){return $r}).then(function($r){var bn=$r.map(function(Pr){var un=Pr.name;return un});rt.notifyObservers(rt.store,bn,{type:"validateFinish"}),rt.triggerOnFieldsChange(bn,$r)});var Er=Dr.then(function(){return rt.lastValidatePromise===Dr?Promise.resolve(rt.getFieldsValue(ze)):Promise.reject([])}).catch(function($r){var bn=$r.filter(function(Pr){return Pr&&Pr.errors.length});return Promise.reject({values:rt.getFieldsValue(ze),errorFields:bn,outOfDate:rt.lastValidatePromise!==Dr})});Er.catch(function($r){return $r});var Or=ze.filter(function($r){return it.has($r.join(Ee))});return rt.triggerOnFieldsChange(Or),Er}),(0,_.Z)(this,"submit",function(){rt.warningUnhooked(),rt.validateFields().then(function(It){var pt=rt.callbacks.onFinish;if(pt)try{pt(It)}catch(lr){console.error(lr)}}).catch(function(It){var pt=rt.callbacks.onFinishFailed;pt&&pt(It)})}),this.forceRootUpdate=_t});function Si(tr){var _t=r.useRef(),rt=r.useState({}),It=(0,mr.Z)(rt,2),pt=It[1];if(!_t.current)if(tr)_t.current=tr;else{var lr=function(){pt({})},fr=new xi(lr);_t.current=fr.getForm()}return[_t.current]}var Ei=Si,mi=r.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),Xi=function(_t){var rt=_t.validateMessages,It=_t.onFormChange,pt=_t.onFormFinish,lr=_t.children,fr=r.useContext(mi),Ir=r.useRef({});return r.createElement(mi.Provider,{value:(0,s.Z)((0,s.Z)({},fr),{},{validateMessages:(0,s.Z)((0,s.Z)({},fr.validateMessages),rt),triggerFormChange:function(ze,et){It&&It(ze,{changedFields:et,forms:Ir.current}),fr.triggerFormChange(ze,et)},triggerFormFinish:function(ze,et){pt&&pt(ze,{values:et,forms:Ir.current}),fr.triggerFormFinish(ze,et)},registerForm:function(ze,et){ze&&(Ir.current=(0,s.Z)((0,s.Z)({},Ir.current),{},(0,_.Z)({},ze,et))),fr.registerForm(ze,et)},unregisterForm:function(ze){var et=(0,s.Z)({},Ir.current);delete et[ze],Ir.current=et,fr.unregisterForm(ze)}})},lr)},qn=mi,Yi=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed"],wt=function(_t,rt){var It=_t.name,pt=_t.initialValues,lr=_t.fields,fr=_t.form,Ir=_t.preserve,Hr=_t.children,ze=_t.component,et=ze===void 0?"form":ze,Ee=_t.validateMessages,it=_t.validateTrigger,ir=it===void 0?"onChange":it,Dr=_t.onValuesChange,Er=_t.onFieldsChange,Or=_t.onFinish,$r=_t.onFinishFailed,bn=(0,l.Z)(_t,Yi),Pr=r.useContext(qn),un=Ei(fr),rn=(0,mr.Z)(un,1),ln=rn[0],An=ln.getInternalHooks(L),pa=An.useSubscribe,Pi=An.setInitialValues,gi=An.setCallbacks,pn=An.setValidateMessages,ui=An.setPreserve,Ni=An.destroyForm;r.useImperativeHandle(rt,function(){return ln}),r.useEffect(function(){return Pr.registerForm(It,ln),function(){Pr.unregisterForm(It)}},[Pr,ln,It]),pn((0,s.Z)((0,s.Z)({},Pr.validateMessages),Ee)),gi({onValuesChange:Dr,onFieldsChange:function(yi){if(Pr.triggerFormChange(It,yi),Er){for(var Ga=arguments.length,Ds=new Array(Ga>1?Ga-1:0),$i=1;$i<Ga;$i++)Ds[$i-1]=arguments[$i];Er.apply(void 0,[yi].concat(Ds))}},onFinish:function(yi){Pr.triggerFormFinish(It,yi),Or&&Or(yi)},onFinishFailed:$r}),ui(Ir);var la=r.useRef(null);Pi(pt,!la.current),la.current||(la.current=!0),r.useEffect(function(){return Ni},[]);var xs,Pa=typeof Hr=="function";if(Pa){var Na=ln.getFieldsValue(!0);xs=Hr(Na,ln)}else xs=Hr;pa(!Pa);var Is=r.useRef();r.useEffect(function(){or(Is.current||[],lr||[])||ln.setFields(lr||[]),Is.current=lr},[lr,ln]);var $a=r.useMemo(function(){return(0,s.Z)((0,s.Z)({},ln),{},{validateTrigger:ir})},[ln,ir]),hs=r.createElement(j.Provider,{value:null},r.createElement(M.Provider,{value:$a},xs));return et===!1?hs:r.createElement(et,(0,i.Z)({},bn,{onSubmit:function(yi){yi.preventDefault(),yi.stopPropagation(),ln.submit()},onReset:function(yi){var Ga;yi.preventDefault(),ln.resetFields(),(Ga=bn.onReset)===null||Ga===void 0||Ga.call(bn,yi)}}),hs)},ut=wt;function Jn(tr){try{return JSON.stringify(tr)}catch(_t){return Math.random()}}var Ai=function(){};function ei(){for(var tr=arguments.length,_t=new Array(tr),rt=0;rt<tr;rt++)_t[rt]=arguments[rt];var It=_t[0],pt=It===void 0?[]:It,lr=_t[1],fr=lr===void 0?{}:lr,Ir=X(fr)?{form:fr}:fr,Hr=Ir.form,ze=(0,r.useState)(),et=(0,mr.Z)(ze,2),Ee=et[0],it=et[1],ir=(0,r.useMemo)(function(){return Jn(Ee)},[Ee]),Dr=(0,r.useRef)(ir);Dr.current=ir;var Er=(0,r.useContext)(M),Or=Hr||Er,$r=Or&&Or._init,bn=_r(pt),Pr=(0,r.useRef)(bn);return Pr.current=bn,Ai(bn),(0,r.useEffect)(function(){if($r){var un=Or.getFieldsValue,rn=Or.getInternalHooks,ln=rn(L),An=ln.registerWatch,pa=An(function(gi,pn){var ui=(0,Br.Z)(Ir.preserve?pn:gi,Pr.current),Ni=Jn(ui);Dr.current!==Ni&&(Dr.current=Ni,it(ui))}),Pi=(0,Br.Z)(Ir.preserve?un(!0):un(),Pr.current);return Ee!==Pi&&it(Pi),pa}},[$r]),Ee}var Gi=ei,vi=r.forwardRef(ut),si=vi;si.FormProvider=Xi,si.Field=Mr,si.List=Zn,si.useForm=Ei,si.useWatch=Gi;var En=si},77900:function(d,g,e){"use strict";e.r(g),e.d(g,{CSSMotionList:function(){return We},Provider:function(){return _},default:function(){return fe}});var r=e(18082),i=e(20049),l=e(52456),c=e(10928),f=e(92310),s=e.n(f),h=e(76846),u=e(8654),a=e(59301),x=e(5883),p=["children"],y=a.createContext({});function _(pe){var Dt=pe.children,Ce=(0,x.Z)(pe,p);return a.createElement(y.Provider,{value:Ce},Dt)}var b=e(6487),S=e(56789),R=e(7942),L=e(76773),T=function(pe){(0,R.Z)(Ce,pe);var Dt=(0,L.Z)(Ce);function Ce(){return(0,b.Z)(this,Ce),Dt.apply(this,arguments)}return(0,S.Z)(Ce,[{key:"render",value:function(){return this.props.children}}]),Ce}(a.Component),D=T,M=e(70425),N=e(41799),j=e(6089);function Q(pe){var Dt=a.useReducer(function(St){return St+1},0),Ce=(0,l.Z)(Dt,2),dt=Ce[1],zt=a.useRef(pe),Tt=(0,j.Z)(function(){return zt.current}),Oe=(0,j.Z)(function(St){zt.current=typeof St=="function"?St(zt.current):St,dt()});return[Tt,Oe]}var X="none",Y="appear",oe="enter",ie="leave",ue="none",K="prepare",V="start",G="active",te="end",q="prepared",J=e(47273);function le(pe,Dt){var Ce={};return Ce[pe.toLowerCase()]=Dt.toLowerCase(),Ce["Webkit".concat(pe)]="webkit".concat(Dt),Ce["Moz".concat(pe)]="moz".concat(Dt),Ce["ms".concat(pe)]="MS".concat(Dt),Ce["O".concat(pe)]="o".concat(Dt.toLowerCase()),Ce}function z(pe,Dt){var Ce={animationend:le("Animation","AnimationEnd"),transitionend:le("Transition","TransitionEnd")};return pe&&("AnimationEvent"in Dt||delete Ce.animationend.animation,"TransitionEvent"in Dt||delete Ce.transitionend.transition),Ce}var F=z((0,J.Z)(),typeof window!="undefined"?window:{}),se={};if((0,J.Z)()){var _e=document.createElement("div");se=_e.style}var Pe={};function Re(pe){if(Pe[pe])return Pe[pe];var Dt=F[pe];if(Dt)for(var Ce=Object.keys(Dt),dt=Ce.length,zt=0;zt<dt;zt+=1){var Tt=Ce[zt];if(Object.prototype.hasOwnProperty.call(Dt,Tt)&&Tt in se)return Pe[pe]=Dt[Tt],Pe[pe]}return""}var Ze=Re("animationend"),$e=Re("transitionend"),Ht=!!(Ze&&$e),bt=Ze||"animationend",Ot=$e||"transitionend";function qt(pe,Dt){if(!pe)return null;if((0,c.Z)(pe)==="object"){var Ce=Dt.replace(/-\w/g,function(dt){return dt[1].toUpperCase()});return pe[Ce]}return"".concat(pe,"-").concat(Dt)}var er=function(pe){var Dt=(0,a.useRef)();function Ce(zt){zt&&(zt.removeEventListener(Ot,pe),zt.removeEventListener(bt,pe))}function dt(zt){Dt.current&&Dt.current!==zt&&Ce(Dt.current),zt&&zt!==Dt.current&&(zt.addEventListener(Ot,pe),zt.addEventListener(bt,pe),Dt.current=zt)}return a.useEffect(function(){return function(){Ce(Dt.current)}},[]),[dt,Ce]},Jt=(0,J.Z)()?a.useLayoutEffect:a.useEffect,Xe=Jt,Pt=e(16089),Ut=function(){var pe=a.useRef(null);function Dt(){Pt.Z.cancel(pe.current)}function Ce(dt){var zt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;Dt();var Tt=(0,Pt.Z)(function(){zt<=1?dt({isCanceled:function(){return Tt!==pe.current}}):Ce(dt,zt-1)});pe.current=Tt}return a.useEffect(function(){return function(){Dt()}},[]),[Ce,Dt]},st=[K,V,G,te],yt=[K,q],ht=!1,Je=!0;function je(pe){return pe===G||pe===te}var ge=function(pe,Dt,Ce){var dt=(0,N.Z)(ue),zt=(0,l.Z)(dt,2),Tt=zt[0],Oe=zt[1],St=Ut(),be=(0,l.Z)(St,2),Ke=be[0],vt=be[1];function Rt(){Oe(K,!0)}var Fe=Dt?yt:st;return Xe(function(){if(Tt!==ue&&Tt!==te){var kr=Fe.indexOf(Tt),At=Fe[kr+1],Kr=Ce(Tt);Kr===ht?Oe(At,!0):At&&Ke(function(qr){function Ar(){qr.isCanceled()||Oe(At,!0)}Kr===!0?Ar():Promise.resolve(Kr).then(Ar)})}},[pe,Tt]),a.useEffect(function(){return function(){vt()}},[]),[Rt,Tt]};function Se(pe,Dt,Ce,dt){var zt=dt.motionEnter,Tt=zt===void 0?!0:zt,Oe=dt.motionAppear,St=Oe===void 0?!0:Oe,be=dt.motionLeave,Ke=be===void 0?!0:be,vt=dt.motionDeadline,Rt=dt.motionLeaveImmediately,Fe=dt.onAppearPrepare,kr=dt.onEnterPrepare,At=dt.onLeavePrepare,Kr=dt.onAppearStart,qr=dt.onEnterStart,Ar=dt.onLeaveStart,Br=dt.onAppearActive,_r=dt.onEnterActive,Ur=dt.onLeaveActive,sn=dt.onAppearEnd,cn=dt.onEnterEnd,or=dt.onLeaveEnd,Lt=dt.onVisibleChanged,mt=(0,N.Z)(),gt=(0,l.Z)(mt,2),$t=gt[0],Cr=gt[1],gr=Q(X),ot=(0,l.Z)(gr,2),Mr=ot[0],yn=ot[1],Zn=(0,N.Z)(null),mr=(0,l.Z)(Zn,2),tn=mr[0],hn=mr[1],Fn=Mr(),ti=(0,a.useRef)(!1),jn=(0,a.useRef)(null);function Zi(){return Ce()}var xi=(0,a.useRef)(!1);function Si(){yn(X),hn(null,!0)}var Ei=(0,M.useEvent)(function(tr){var _t=Mr();if(_t!==X){var rt=Zi();if(!(tr&&!tr.deadline&&tr.target!==rt)){var It=xi.current,pt;_t===Y&&It?pt=sn==null?void 0:sn(rt,tr):_t===oe&&It?pt=cn==null?void 0:cn(rt,tr):_t===ie&&It&&(pt=or==null?void 0:or(rt,tr)),It&&pt!==!1&&Si()}}}),mi=er(Ei),Xi=(0,l.Z)(mi,1),qn=Xi[0],Yi=function(_t){switch(_t){case Y:return(0,r.Z)((0,r.Z)((0,r.Z)({},K,Fe),V,Kr),G,Br);case oe:return(0,r.Z)((0,r.Z)((0,r.Z)({},K,kr),V,qr),G,_r);case ie:return(0,r.Z)((0,r.Z)((0,r.Z)({},K,At),V,Ar),G,Ur);default:return{}}},wt=a.useMemo(function(){return Yi(Fn)},[Fn]),ut=ge(Fn,!pe,function(tr){if(tr===K){var _t=wt[K];return _t?_t(Zi()):ht}if(ei in wt){var rt;hn(((rt=wt[ei])===null||rt===void 0?void 0:rt.call(wt,Zi(),null))||null)}return ei===G&&Fn!==X&&(qn(Zi()),vt>0&&(clearTimeout(jn.current),jn.current=setTimeout(function(){Ei({deadline:!0})},vt))),ei===q&&Si(),Je}),Jn=(0,l.Z)(ut,2),Ai=Jn[0],ei=Jn[1],Gi=je(ei);xi.current=Gi;var vi=(0,a.useRef)(null);Xe(function(){if(!(ti.current&&vi.current===Dt)){Cr(Dt);var tr=ti.current;ti.current=!0;var _t;!tr&&Dt&&St&&(_t=Y),tr&&Dt&&Tt&&(_t=oe),(tr&&!Dt&&Ke||!tr&&Rt&&!Dt&&Ke)&&(_t=ie);var rt=Yi(_t);_t&&(pe||rt[K])?(yn(_t),Ai()):yn(X),vi.current=Dt}},[Dt]),(0,a.useEffect)(function(){(Fn===Y&&!St||Fn===oe&&!Tt||Fn===ie&&!Ke)&&yn(X)},[St,Tt,Ke]),(0,a.useEffect)(function(){return function(){ti.current=!1,clearTimeout(jn.current)}},[]);var si=a.useRef(!1);(0,a.useEffect)(function(){$t&&(si.current=!0),$t!==void 0&&Fn===X&&((si.current||$t)&&(Lt==null||Lt($t)),si.current=!0)},[$t,Fn]);var En=tn;return wt[K]&&ei===V&&(En=(0,i.Z)({transition:"none"},En)),[Fn,ei,En,$t!=null?$t:Dt]}function Me(pe){var Dt=pe;(0,c.Z)(pe)==="object"&&(Dt=pe.transitionSupport);function Ce(zt,Tt){return!!(zt.motionName&&Dt&&Tt!==!1)}var dt=a.forwardRef(function(zt,Tt){var Oe=zt.visible,St=Oe===void 0?!0:Oe,be=zt.removeOnLeave,Ke=be===void 0?!0:be,vt=zt.forceRender,Rt=zt.children,Fe=zt.motionName,kr=zt.leavedClassName,At=zt.eventProps,Kr=a.useContext(y),qr=Kr.motion,Ar=Ce(zt,qr),Br=(0,a.useRef)(),_r=(0,a.useRef)();function Ur(){try{return Br.current instanceof HTMLElement?Br.current:(0,h.ZP)(_r.current)}catch(mr){return null}}var sn=Se(Ar,St,Ur,zt),cn=(0,l.Z)(sn,4),or=cn[0],Lt=cn[1],mt=cn[2],gt=cn[3],$t=a.useRef(gt);gt&&($t.current=!0);var Cr=a.useCallback(function(mr){Br.current=mr,(0,u.mH)(Tt,mr)},[Tt]),gr,ot=(0,i.Z)((0,i.Z)({},At),{},{visible:St});if(!Rt)gr=null;else if(or===X)gt?gr=Rt((0,i.Z)({},ot),Cr):!Ke&&$t.current&&kr?gr=Rt((0,i.Z)((0,i.Z)({},ot),{},{className:kr}),Cr):vt||!Ke&&!kr?gr=Rt((0,i.Z)((0,i.Z)({},ot),{},{style:{display:"none"}}),Cr):gr=null;else{var Mr;Lt===K?Mr="prepare":je(Lt)?Mr="active":Lt===V&&(Mr="start");var yn=qt(Fe,"".concat(or,"-").concat(Mr));gr=Rt((0,i.Z)((0,i.Z)({},ot),{},{className:s()(qt(Fe,or),(0,r.Z)((0,r.Z)({},yn,yn&&Mr),Fe,typeof Fe=="string")),style:mt}),Cr)}if(a.isValidElement(gr)&&(0,u.Yr)(gr)){var Zn=(0,u.C4)(gr);Zn||(gr=a.cloneElement(gr,{ref:Cr}))}return a.createElement(D,{ref:_r},gr)});return dt.displayName="CSSMotion",dt}var Ne=Me(Ht),He=e(5016),nt=e(41281),ct="add",Vt="keep",Wt="remove",Ie="removed";function qe(pe){var Dt;return pe&&(0,c.Z)(pe)==="object"&&"key"in pe?Dt=pe:Dt={key:pe},(0,i.Z)((0,i.Z)({},Dt),{},{key:String(Dt.key)})}function Gt(){var pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return pe.map(qe)}function kt(){var pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Dt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Ce=[],dt=0,zt=Dt.length,Tt=Gt(pe),Oe=Gt(Dt);Tt.forEach(function(Ke){for(var vt=!1,Rt=dt;Rt<zt;Rt+=1){var Fe=Oe[Rt];if(Fe.key===Ke.key){dt<Rt&&(Ce=Ce.concat(Oe.slice(dt,Rt).map(function(kr){return(0,i.Z)((0,i.Z)({},kr),{},{status:ct})})),dt=Rt),Ce.push((0,i.Z)((0,i.Z)({},Fe),{},{status:Vt})),dt+=1,vt=!0;break}}vt||Ce.push((0,i.Z)((0,i.Z)({},Ke),{},{status:Wt}))}),dt<zt&&(Ce=Ce.concat(Oe.slice(dt).map(function(Ke){return(0,i.Z)((0,i.Z)({},Ke),{},{status:ct})})));var St={};Ce.forEach(function(Ke){var vt=Ke.key;St[vt]=(St[vt]||0)+1});var be=Object.keys(St).filter(function(Ke){return St[Ke]>1});return be.forEach(function(Ke){Ce=Ce.filter(function(vt){var Rt=vt.key,Fe=vt.status;return Rt!==Ke||Fe!==Wt}),Ce.forEach(function(vt){vt.key===Ke&&(vt.status=Vt)})}),Ce}var Zt=["component","children","onVisibleChanged","onAllRemoved"],Nt=["status"],Ct=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function Yt(pe){var Dt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Ne,Ce=function(dt){(0,R.Z)(Tt,dt);var zt=(0,L.Z)(Tt);function Tt(){var Oe;(0,b.Z)(this,Tt);for(var St=arguments.length,be=new Array(St),Ke=0;Ke<St;Ke++)be[Ke]=arguments[Ke];return Oe=zt.call.apply(zt,[this].concat(be)),(0,r.Z)((0,nt.Z)(Oe),"state",{keyEntities:[]}),(0,r.Z)((0,nt.Z)(Oe),"removeKey",function(vt){Oe.setState(function(Rt){var Fe=Rt.keyEntities.map(function(kr){return kr.key!==vt?kr:(0,i.Z)((0,i.Z)({},kr),{},{status:Ie})});return{keyEntities:Fe}},function(){var Rt=Oe.state.keyEntities,Fe=Rt.filter(function(kr){var At=kr.status;return At!==Ie}).length;Fe===0&&Oe.props.onAllRemoved&&Oe.props.onAllRemoved()})}),Oe}return(0,S.Z)(Tt,[{key:"render",value:function(){var St=this,be=this.state.keyEntities,Ke=this.props,vt=Ke.component,Rt=Ke.children,Fe=Ke.onVisibleChanged,kr=Ke.onAllRemoved,At=(0,x.Z)(Ke,Zt),Kr=vt||a.Fragment,qr={};return Ct.forEach(function(Ar){qr[Ar]=At[Ar],delete At[Ar]}),delete At.keys,a.createElement(Kr,At,be.map(function(Ar,Br){var _r=Ar.status,Ur=(0,x.Z)(Ar,Nt),sn=_r===ct||_r===Vt;return a.createElement(Dt,(0,He.Z)({},qr,{key:Ur.key,visible:sn,eventProps:Ur,onVisibleChanged:function(or){Fe==null||Fe(or,{key:Ur.key}),or||St.removeKey(Ur.key)}}),function(cn,or){return Rt((0,i.Z)((0,i.Z)({},cn),{},{index:Br}),or)})}))}}],[{key:"getDerivedStateFromProps",value:function(St,be){var Ke=St.keys,vt=be.keyEntities,Rt=Gt(Ke),Fe=kt(vt,Rt);return{keyEntities:Fe.filter(function(kr){var At=vt.find(function(Kr){var qr=Kr.key;return kr.key===qr});return!(At&&At.status===Ie&&kr.status===Wt)})}}}]),Tt}(a.Component);return(0,r.Z)(Ce,"defaultProps",{component:"div"}),Ce}var We=Yt(Ht),fe=Ne},581:function(d,g,e){"use strict";e.d(g,{qX:function(){return b},JB:function(){return L},lm:function(){return oe}});var r=e(92393),i=e(52456),l=e(5883),c=e(59301),f=e(20049),s=e(4676),h=e(5016),u=e(92310),a=e.n(u),x=e(77900),p=e(18082),y=e(10228),_=c.forwardRef(function(ie,ue){var K=ie.prefixCls,V=ie.style,G=ie.className,te=ie.duration,q=te===void 0?4.5:te,J=ie.eventKey,le=ie.content,z=ie.closable,F=ie.closeIcon,se=F===void 0?"x":F,_e=ie.props,Pe=ie.onClick,Re=ie.onNoticeClose,Ze=ie.times,$e=c.useState(!1),Ht=(0,i.Z)($e,2),bt=Ht[0],Ot=Ht[1],qt=function(){Re(J)},er=function(Pt){(Pt.key==="Enter"||Pt.code==="Enter"||Pt.keyCode===y.Z.ENTER)&&qt()};c.useEffect(function(){if(!bt&&q>0){var Xe=setTimeout(function(){qt()},q*1e3);return function(){clearTimeout(Xe)}}},[q,bt,Ze]);var Jt="".concat(K,"-notice");return c.createElement("div",(0,h.Z)({},_e,{ref:ue,className:a()(Jt,G,(0,p.Z)({},"".concat(Jt,"-closable"),z)),style:V,onMouseEnter:function(){Ot(!0)},onMouseLeave:function(){Ot(!1)},onClick:Pe}),c.createElement("div",{className:"".concat(Jt,"-content")},le),z&&c.createElement("a",{tabIndex:0,className:"".concat(Jt,"-close"),onKeyDown:er,onClick:function(Pt){Pt.preventDefault(),Pt.stopPropagation(),qt()}},se))}),b=_,S=c.createContext({}),R=function(ue){var K=ue.children,V=ue.classNames;return c.createElement(S.Provider,{value:{classNames:V}},K)},L=R,T=function(ue){var K=ue.configList,V=ue.placement,G=ue.prefixCls,te=ue.className,q=ue.style,J=ue.motion,le=ue.onAllNoticeRemoved,z=ue.onNoticeClose,F=(0,c.useContext)(S),se=F.classNames,_e=K.map(function(Re){return{config:Re,key:Re.key}}),Pe=typeof J=="function"?J(V):J;return c.createElement(x.CSSMotionList,(0,h.Z)({key:V,className:a()(G,"".concat(G,"-").concat(V),se==null?void 0:se.list,te),style:q,keys:_e,motionAppear:!0},Pe,{onAllRemoved:function(){le(V)}}),function(Re,Ze){var $e=Re.config,Ht=Re.className,bt=Re.style,Ot=$e,qt=Ot.key,er=Ot.times,Jt=$e,Xe=Jt.className,Pt=Jt.style;return c.createElement(b,(0,h.Z)({},$e,{ref:Ze,prefixCls:G,className:a()(Ht,Xe,se==null?void 0:se.notice),style:(0,f.Z)((0,f.Z)({},bt),Pt),times:er,key:qt,eventKey:qt,onNoticeClose:z}))})},D=T,M=c.forwardRef(function(ie,ue){var K=ie.prefixCls,V=K===void 0?"rc-notification":K,G=ie.container,te=ie.motion,q=ie.maxCount,J=ie.className,le=ie.style,z=ie.onAllRemoved,F=ie.renderNotifications,se=c.useState([]),_e=(0,i.Z)(se,2),Pe=_e[0],Re=_e[1],Ze=function(Pt){var Ut,st=Pe.find(function(yt){return yt.key===Pt});st==null||(Ut=st.onClose)===null||Ut===void 0||Ut.call(st),Re(function(yt){return yt.filter(function(ht){return ht.key!==Pt})})};c.useImperativeHandle(ue,function(){return{open:function(Pt){Re(function(Ut){var st=(0,r.Z)(Ut),yt=st.findIndex(function(je){return je.key===Pt.key}),ht=(0,f.Z)({},Pt);if(yt>=0){var Je;ht.times=(((Je=Ut[yt])===null||Je===void 0?void 0:Je.times)||0)+1,st[yt]=ht}else ht.times=0,st.push(ht);return q>0&&st.length>q&&(st=st.slice(-q)),st})},close:function(Pt){Ze(Pt)},destroy:function(){Re([])}}});var $e=c.useState({}),Ht=(0,i.Z)($e,2),bt=Ht[0],Ot=Ht[1];c.useEffect(function(){var Xe={};Pe.forEach(function(Pt){var Ut=Pt.placement,st=Ut===void 0?"topRight":Ut;st&&(Xe[st]=Xe[st]||[],Xe[st].push(Pt))}),Object.keys(bt).forEach(function(Pt){Xe[Pt]=Xe[Pt]||[]}),Ot(Xe)},[Pe]);var qt=function(Pt){Ot(function(Ut){var st=(0,f.Z)({},Ut),yt=st[Pt]||[];return yt.length||delete st[Pt],st})},er=c.useRef(!1);if(c.useEffect(function(){Object.keys(bt).length>0?er.current=!0:er.current&&(z==null||z(),er.current=!1)},[bt]),!G)return null;var Jt=Object.keys(bt);return(0,s.createPortal)(c.createElement(c.Fragment,null,Jt.map(function(Xe){var Pt=bt[Xe],Ut=c.createElement(D,{key:Xe,configList:Pt,placement:Xe,prefixCls:V,className:J==null?void 0:J(Xe),style:le==null?void 0:le(Xe),motion:te,onNoticeClose:Ze,onAllNoticeRemoved:qt});return F?F(Ut,{prefixCls:V,key:Xe}):Ut})),G)}),N=M,j=["getContainer","motion","prefixCls","maxCount","className","style","onAllRemoved","renderNotifications"],Q=function(){return document.body},X=0;function Y(){for(var ie={},ue=arguments.length,K=new Array(ue),V=0;V<ue;V++)K[V]=arguments[V];return K.forEach(function(G){G&&Object.keys(G).forEach(function(te){var q=G[te];q!==void 0&&(ie[te]=q)})}),ie}function oe(){var ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},ue=ie.getContainer,K=ue===void 0?Q:ue,V=ie.motion,G=ie.prefixCls,te=ie.maxCount,q=ie.className,J=ie.style,le=ie.onAllRemoved,z=ie.renderNotifications,F=(0,l.Z)(ie,j),se=c.useState(),_e=(0,i.Z)(se,2),Pe=_e[0],Re=_e[1],Ze=c.useRef(),$e=c.createElement(N,{container:Pe,ref:Ze,prefixCls:G,motion:V,maxCount:te,className:q,style:J,onAllRemoved:le,renderNotifications:z}),Ht=c.useState([]),bt=(0,i.Z)(Ht,2),Ot=bt[0],qt=bt[1],er=c.useMemo(function(){return{open:function(Xe){var Pt=Y(F,Xe);(Pt.key===null||Pt.key===void 0)&&(Pt.key="rc-notification-".concat(X),X+=1),qt(function(Ut){return[].concat((0,r.Z)(Ut),[{type:"open",config:Pt}])})},close:function(Xe){qt(function(Pt){return[].concat((0,r.Z)(Pt),[{type:"close",key:Xe}])})},destroy:function(){qt(function(Xe){return[].concat((0,r.Z)(Xe),[{type:"destroy"}])})}}},[]);return c.useEffect(function(){Re(K())}),c.useEffect(function(){Ze.current&&Ot.length&&(Ot.forEach(function(Jt){switch(Jt.type){case"open":Ze.current.open(Jt.config);break;case"close":Ze.current.close(Jt.key);break;case"destroy":Ze.current.destroy();break}}),qt(function(Jt){return Jt.filter(function(Xe){return!Ot.includes(Xe)})}))},[Ot]),[er,$e]}},22075:function(d,g){"use strict";g.Z={items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"Page",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages",page_size:"Page Size"}},91735:function(d,g){"use strict";g.Z={items_per_page:"\u6761/\u9875",jump_to:"\u8DF3\u81F3",jump_to_confirm:"\u786E\u5B9A",page:"\u9875",prev_page:"\u4E0A\u4E00\u9875",next_page:"\u4E0B\u4E00\u9875",prev_5:"\u5411\u524D 5 \u9875",next_5:"\u5411\u540E 5 \u9875",prev_3:"\u5411\u524D 3 \u9875",next_3:"\u5411\u540E 3 \u9875",page_size:"\u9875\u7801"}},29301:function(d,g,e){"use strict";e.d(g,{Z:function(){return V}});var r=e(5016),i=e(59301),l=e(11592),c=e(48736),f=e(20049),s=e(10928),h=e(76846),u=e(8654),a=i.createContext(null);function x(G){var te=G.children,q=G.onBatchResize,J=i.useRef(0),le=i.useRef([]),z=i.useContext(a),F=i.useCallback(function(se,_e,Pe){J.current+=1;var Re=J.current;le.current.push({size:se,element:_e,data:Pe}),Promise.resolve().then(function(){Re===J.current&&(q==null||q(le.current),le.current=[])}),z==null||z(se,_e,Pe)},[q,z]);return i.createElement(a.Provider,{value:F},te)}var p=e(76374),y=new Map;function _(G){G.forEach(function(te){var q,J=te.target;(q=y.get(J))===null||q===void 0||q.forEach(function(le){return le(J)})})}var b=new p.Z(_),S=null,R=null;function L(G,te){y.has(G)||(y.set(G,new Set),b.observe(G)),y.get(G).add(te)}function T(G,te){y.has(G)&&(y.get(G).delete(te),y.get(G).size||(b.unobserve(G),y.delete(G)))}var D=e(6487),M=e(56789),N=e(7942),j=e(76773),Q=function(G){(0,N.Z)(q,G);var te=(0,j.Z)(q);function q(){return(0,D.Z)(this,q),te.apply(this,arguments)}return(0,M.Z)(q,[{key:"render",value:function(){return this.props.children}}]),q}(i.Component);function X(G,te){var q=G.children,J=G.disabled,le=i.useRef(null),z=i.useRef(null),F=i.useContext(a),se=typeof q=="function",_e=se?q(le):q,Pe=i.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),Re=!se&&i.isValidElement(_e)&&(0,u.Yr)(_e),Ze=Re?(0,u.C4)(_e):null,$e=(0,u.x1)(Ze,le),Ht=function(){var er;return(0,h.ZP)(le.current)||(le.current&&(0,s.Z)(le.current)==="object"?(0,h.ZP)((er=le.current)===null||er===void 0?void 0:er.nativeElement):null)||(0,h.ZP)(z.current)};i.useImperativeHandle(te,function(){return Ht()});var bt=i.useRef(G);bt.current=G;var Ot=i.useCallback(function(qt){var er=bt.current,Jt=er.onResize,Xe=er.data,Pt=qt.getBoundingClientRect(),Ut=Pt.width,st=Pt.height,yt=qt.offsetWidth,ht=qt.offsetHeight,Je=Math.floor(Ut),je=Math.floor(st);if(Pe.current.width!==Je||Pe.current.height!==je||Pe.current.offsetWidth!==yt||Pe.current.offsetHeight!==ht){var ge={width:Je,height:je,offsetWidth:yt,offsetHeight:ht};Pe.current=ge;var Se=yt===Math.round(Ut)?Ut:yt,Me=ht===Math.round(st)?st:ht,Ne=(0,f.Z)((0,f.Z)({},ge),{},{offsetWidth:Se,offsetHeight:Me});F==null||F(Ne,qt,Xe),Jt&&Promise.resolve().then(function(){Jt(Ne,qt)})}},[]);return i.useEffect(function(){var qt=Ht();return qt&&!J&&L(qt,Ot),function(){return T(qt,Ot)}},[le.current,J]),i.createElement(Q,{ref:z},Re?i.cloneElement(_e,{ref:$e}):_e)}var Y=i.forwardRef(X),oe=Y,ie="rc-observer-key";function ue(G,te){var q=G.children,J=typeof q=="function"?[q]:(0,l.Z)(q);return J.map(function(le,z){var F=(le==null?void 0:le.key)||"".concat(ie,"-").concat(z);return i.createElement(oe,(0,r.Z)({},G,{key:F,ref:z===0?te:void 0}),le)})}var K=i.forwardRef(ue);K.Collection=x;var V=K},55477:function(d,g,e){"use strict";e.d(g,{G:function(){return _},Z:function(){return L}});var r=e(5016),i=e(20049),l=e(5883),c=e(35593),f=e(59301),s={shiftX:64,adjustY:1},h={adjustX:1,shiftY:!0},u=[0,0],a={left:{points:["cr","cl"],overflow:h,offset:[-4,0],targetOffset:u},right:{points:["cl","cr"],overflow:h,offset:[4,0],targetOffset:u},top:{points:["bc","tc"],overflow:s,offset:[0,-4],targetOffset:u},bottom:{points:["tc","bc"],overflow:s,offset:[0,4],targetOffset:u},topLeft:{points:["bl","tl"],overflow:s,offset:[0,-4],targetOffset:u},leftTop:{points:["tr","tl"],overflow:h,offset:[-4,0],targetOffset:u},topRight:{points:["br","tr"],overflow:s,offset:[0,-4],targetOffset:u},rightTop:{points:["tl","tr"],overflow:h,offset:[4,0],targetOffset:u},bottomRight:{points:["tr","br"],overflow:s,offset:[0,4],targetOffset:u},rightBottom:{points:["bl","br"],overflow:h,offset:[4,0],targetOffset:u},bottomLeft:{points:["tl","bl"],overflow:s,offset:[0,4],targetOffset:u},leftBottom:{points:["br","bl"],overflow:h,offset:[-4,0],targetOffset:u}},x=null,p=e(92310),y=e.n(p);function _(T){var D=T.children,M=T.prefixCls,N=T.id,j=T.overlayInnerStyle,Q=T.className,X=T.style;return f.createElement("div",{className:y()("".concat(M,"-content"),Q),style:X},f.createElement("div",{className:"".concat(M,"-inner"),id:N,role:"tooltip",style:j},typeof D=="function"?D():D))}var b=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow"],S=function(D,M){var N=D.overlayClassName,j=D.trigger,Q=j===void 0?["hover"]:j,X=D.mouseEnterDelay,Y=X===void 0?0:X,oe=D.mouseLeaveDelay,ie=oe===void 0?.1:oe,ue=D.overlayStyle,K=D.prefixCls,V=K===void 0?"rc-tooltip":K,G=D.children,te=D.onVisibleChange,q=D.afterVisibleChange,J=D.transitionName,le=D.animation,z=D.motion,F=D.placement,se=F===void 0?"right":F,_e=D.align,Pe=_e===void 0?{}:_e,Re=D.destroyTooltipOnHide,Ze=Re===void 0?!1:Re,$e=D.defaultVisible,Ht=D.getTooltipContainer,bt=D.overlayInnerStyle,Ot=D.arrowContent,qt=D.overlay,er=D.id,Jt=D.showArrow,Xe=Jt===void 0?!0:Jt,Pt=(0,l.Z)(D,b),Ut=(0,f.useRef)(null);(0,f.useImperativeHandle)(M,function(){return Ut.current});var st=(0,i.Z)({},Pt);"visible"in D&&(st.popupVisible=D.visible);var yt=function(){return f.createElement(_,{key:"content",prefixCls:V,id:er,overlayInnerStyle:bt},qt)};return f.createElement(c.Z,(0,r.Z)({popupClassName:N,prefixCls:V,popup:yt,action:Q,builtinPlacements:a,popupPlacement:se,ref:Ut,popupAlign:Pe,getPopupContainer:Ht,onPopupVisibleChange:te,afterPopupVisibleChange:q,popupTransitionName:J,popupAnimation:le,popupMotion:z,defaultPopupVisible:$e,autoDestroy:Ze,mouseLeaveDelay:ie,popupStyle:ue,mouseEnterDelay:Y,arrow:Xe},st),G)},R=(0,f.forwardRef)(S),L=R},11592:function(d,g,e){"use strict";e.d(g,{Z:function(){return l}});var r=e(34678),i=e(59301);function l(c){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=[];return i.Children.forEach(c,function(h){h==null&&!f.keepEmpty||(Array.isArray(h)?s=s.concat(l(h)):(0,r.Z)(h)&&h.props?s=s.concat(l(h.props.children,f)):s.push(h))}),s}},47273:function(d,g,e){"use strict";e.d(g,{Z:function(){return r}});function r(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}},48519:function(d,g,e){"use strict";e.d(g,{Z:function(){return r}});function r(i,l){if(!i)return!1;if(i.contains)return i.contains(l);for(var c=l;c;){if(c===i)return!0;c=c.parentNode}return!1}},810:function(d,g,e){"use strict";e.d(g,{hq:function(){return L},jL:function(){return b}});var r=e(20049),i=e(47273),l=e(48519),c="data-rc-order",f="data-rc-priority",s="rc-util-key",h=new Map;function u(){var T=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},D=T.mark;return D?D.startsWith("data-")?D:"data-".concat(D):s}function a(T){if(T.attachTo)return T.attachTo;var D=document.querySelector("head");return D||document.body}function x(T){return T==="queue"?"prependQueue":T?"prepend":"append"}function p(T){return Array.from((h.get(T)||T).children).filter(function(D){return D.tagName==="STYLE"})}function y(T){var D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!(0,i.Z)())return null;var M=D.csp,N=D.prepend,j=D.priority,Q=j===void 0?0:j,X=x(N),Y=X==="prependQueue",oe=document.createElement("style");oe.setAttribute(c,X),Y&&Q&&oe.setAttribute(f,"".concat(Q)),M!=null&&M.nonce&&(oe.nonce=M==null?void 0:M.nonce),oe.innerHTML=T;var ie=a(D),ue=ie.firstChild;if(N){if(Y){var K=(D.styles||p(ie)).filter(function(V){if(!["prepend","prependQueue"].includes(V.getAttribute(c)))return!1;var G=Number(V.getAttribute(f)||0);return Q>=G});if(K.length)return ie.insertBefore(oe,K[K.length-1].nextSibling),oe}ie.insertBefore(oe,ue)}else ie.appendChild(oe);return oe}function _(T){var D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},M=a(D);return(D.styles||p(M)).find(function(N){return N.getAttribute(u(D))===T})}function b(T){var D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},M=_(T,D);if(M){var N=a(D);N.removeChild(M)}}function S(T,D){var M=h.get(T);if(!M||!(0,l.Z)(document,M)){var N=y("",D),j=N.parentNode;h.set(T,j),T.removeChild(N)}}function R(){h.clear()}function L(T,D){var M=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},N=a(M),j=p(N),Q=(0,r.Z)((0,r.Z)({},M),{},{styles:j});S(N,Q);var X=_(D,Q);if(X){var Y,oe;if((Y=Q.csp)!==null&&Y!==void 0&&Y.nonce&&X.nonce!==((oe=Q.csp)===null||oe===void 0?void 0:oe.nonce)){var ie;X.nonce=(ie=Q.csp)===null||ie===void 0?void 0:ie.nonce}return X.innerHTML!==T&&(X.innerHTML=T),X}var ue=y(T,Q);return ue.setAttribute(u(Q),D),ue}},76846:function(d,g,e){"use strict";e.d(g,{Sh:function(){return c},ZP:function(){return s}});var r=e(10928),i=e(59301),l=e(4676);function c(h){return h instanceof HTMLElement||h instanceof SVGElement}function f(h){return h&&(0,r.Z)(h)==="object"&&c(h.nativeElement)?h.nativeElement:c(h)?h:null}function s(h){var u=f(h);if(u)return u;if(h instanceof i.Component){var a;return(a=l.findDOMNode)===null||a===void 0?void 0:a.call(l,h)}return null}},29194:function(d,g){"use strict";g.Z=function(e){if(!e)return!1;if(e instanceof Element){if(e.offsetParent)return!0;if(e.getBBox){var r=e.getBBox(),i=r.width,l=r.height;if(i||l)return!0}if(e.getBoundingClientRect){var c=e.getBoundingClientRect(),f=c.width,s=c.height;if(f||s)return!0}}return!1}},96452:function(d,g,e){"use strict";e.d(g,{A:function(){return l}});function r(c){var f;return c==null||(f=c.getRootNode)===null||f===void 0?void 0:f.call(c)}function i(c){return r(c)instanceof ShadowRoot}function l(c){return i(c)?r(c):null}},10228:function(d,g){"use strict";var e={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(i){var l=i.keyCode;if(i.altKey&&!i.ctrlKey||i.metaKey||l>=e.F1&&l<=e.F12)return!1;switch(l){case e.ALT:case e.CAPS_LOCK:case e.CONTEXT_MENU:case e.CTRL:case e.DOWN:case e.END:case e.ESC:case e.HOME:case e.INSERT:case e.LEFT:case e.MAC_FF_META:case e.META:case e.NUMLOCK:case e.NUM_CENTER:case e.PAGE_DOWN:case e.PAGE_UP:case e.PAUSE:case e.PRINT_SCREEN:case e.RIGHT:case e.SHIFT:case e.UP:case e.WIN_KEY:case e.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(i){if(i>=e.ZERO&&i<=e.NINE||i>=e.NUM_ZERO&&i<=e.NUM_MULTIPLY||i>=e.A&&i<=e.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&i===0)return!0;switch(i){case e.SPACE:case e.QUESTION_MARK:case e.NUM_PLUS:case e.NUM_MINUS:case e.NUM_PERIOD:case e.NUM_DIVISION:case e.SEMICOLON:case e.DASH:case e.EQUALS:case e.COMMA:case e.PERIOD:case e.SLASH:case e.APOSTROPHE:case e.SINGLE_QUOTE:case e.OPEN_SQUARE_BRACKET:case e.BACKSLASH:case e.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};g.Z=e},34678:function(d,g,e){"use strict";e.d(g,{Z:function(){return f}});var r=e(10928),i=Symbol.for("react.element"),l=Symbol.for("react.transitional.element"),c=Symbol.for("react.fragment");function f(s){return s&&(0,r.Z)(s)==="object"&&(s.$$typeof===i||s.$$typeof===l)&&s.type===c}},1585:function(d,g,e){"use strict";var r;e.d(g,{s:function(){return T},v:function(){return Q}});var i=e(85444),l=e(21566),c=e(10928),f=e(20049),s=e(4676),h=(0,f.Z)({},r||(r=e.t(s,2))),u=h.version,a=h.render,x=h.unmountComponentAtNode,p;try{var y=Number((u||"").split(".")[0]);y>=18&&(p=h.createRoot)}catch(Y){}function _(Y){var oe=h.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;oe&&(0,c.Z)(oe)==="object"&&(oe.usingClientEntryPoint=Y)}var b="__rc_react_root__";function S(Y,oe){_(!0);var ie=oe[b]||p(oe);_(!1),ie.render(Y),oe[b]=ie}function R(Y,oe){a==null||a(Y,oe)}function L(Y,oe){}function T(Y,oe){if(p){S(Y,oe);return}R(Y,oe)}function D(Y){return M.apply(this,arguments)}function M(){return M=(0,l.Z)((0,i.Z)().mark(function Y(oe){return(0,i.Z)().wrap(function(ue){for(;;)switch(ue.prev=ue.next){case 0:return ue.abrupt("return",Promise.resolve().then(function(){var K;(K=oe[b])===null||K===void 0||K.unmount(),delete oe[b]}));case 1:case"end":return ue.stop()}},Y)})),M.apply(this,arguments)}function N(Y){x(Y)}function j(Y){}function Q(Y){return X.apply(this,arguments)}function X(){return X=(0,l.Z)((0,i.Z)().mark(function Y(oe){return(0,i.Z)().wrap(function(ue){for(;;)switch(ue.prev=ue.next){case 0:if(p===void 0){ue.next=2;break}return ue.abrupt("return",D(oe));case 2:N(oe);case 3:case"end":return ue.stop()}},Y)})),X.apply(this,arguments)}},75152:function(d,g,e){"use strict";e.d(g,{Z:function(){return c},o:function(){return f}});var r=e(810),i;function l(s){var h="rc-scrollbar-measure-".concat(Math.random().toString(36).substring(7)),u=document.createElement("div");u.id=h;var a=u.style;a.position="absolute",a.left="0",a.top="0",a.width="100px",a.height="100px",a.overflow="scroll";var x,p;if(s){var y=getComputedStyle(s);a.scrollbarColor=y.scrollbarColor,a.scrollbarWidth=y.scrollbarWidth;var _=getComputedStyle(s,"::-webkit-scrollbar"),b=parseInt(_.width,10),S=parseInt(_.height,10);try{var R=b?"width: ".concat(_.width,";"):"",L=S?"height: ".concat(_.height,";"):"";(0,r.hq)(`
#`.concat(h,`::-webkit-scrollbar {
`).concat(R,`
`).concat(L,`
}`),h)}catch(M){console.error(M),x=b,p=S}}document.body.appendChild(u);var T=s&&x&&!isNaN(x)?x:u.offsetWidth-u.clientWidth,D=s&&p&&!isNaN(p)?p:u.offsetHeight-u.clientHeight;return document.body.removeChild(u),(0,r.jL)(h),{width:T,height:D}}function c(s){return typeof document=="undefined"?0:((s||i===void 0)&&(i=l()),i.width)}function f(s){return typeof document=="undefined"||!s||!(s instanceof Element)?{width:0,height:0}:l(s)}},6089:function(d,g,e){"use strict";e.d(g,{Z:function(){return i}});var r=e(59301);function i(l){var c=r.useRef();c.current=l;var f=r.useCallback(function(){for(var s,h=arguments.length,u=new Array(h),a=0;a<h;a++)u[a]=arguments[a];return(s=c.current)===null||s===void 0?void 0:s.call.apply(s,[c].concat(u))},[]);return f}},80402:function(d,g,e){"use strict";var r,i=e(52456),l=e(20049),c=e(59301);function f(){var a=(0,l.Z)({},r||(r=e.t(c,2)));return a.useId}var s=0;function h(){}var u=f();g.Z=u?function(x){var p=u();return x||p}:function(x){var p=c.useState("ssr-id"),y=(0,i.Z)(p,2),_=y[0],b=y[1];return c.useEffect(function(){var S=s;s+=1,b("rc_unique_".concat(S))},[]),x||_}},34280:function(d,g,e){"use strict";e.d(g,{o:function(){return f}});var r=e(59301),i=e(47273),l=(0,i.Z)()?r.useLayoutEffect:r.useEffect,c=function(h,u){var a=r.useRef(!0);l(function(){return h(a.current)},u),l(function(){return a.current=!1,function(){a.current=!0}},[])},f=function(h,u){c(function(a){if(!a)return h()},u)};g.Z=c},80547:function(d,g,e){"use strict";e.d(g,{Z:function(){return i}});var r=e(59301);function i(l,c,f){var s=r.useRef({});return(!("value"in s.current)||f(s.current.condition,c))&&(s.current.value=l(),s.current.condition=c),s.current.value}},18929:function(d,g,e){"use strict";e.d(g,{Z:function(){return s}});var r=e(52456),i=e(6089),l=e(34280),c=e(41799);function f(h){return h!==void 0}function s(h,u){var a=u||{},x=a.defaultValue,p=a.value,y=a.onChange,_=a.postState,b=(0,c.Z)(function(){return f(p)?p:f(x)?typeof x=="function"?x():x:typeof h=="function"?h():h}),S=(0,r.Z)(b,2),R=S[0],L=S[1],T=p!==void 0?p:R,D=_?_(T):T,M=(0,i.Z)(y),N=(0,c.Z)([T]),j=(0,r.Z)(N,2),Q=j[0],X=j[1];(0,l.o)(function(){var oe=Q[0];R!==oe&&M(R,oe)},[Q]),(0,l.o)(function(){f(p)||L(p)},[p]);var Y=(0,i.Z)(function(oe,ie){L(oe,ie),X([T],ie)});return[D,Y]}},41799:function(d,g,e){"use strict";e.d(g,{Z:function(){return l}});var r=e(52456),i=e(59301);function l(c){var f=i.useRef(!1),s=i.useState(c),h=(0,r.Z)(s,2),u=h[0],a=h[1];i.useEffect(function(){return f.current=!1,function(){f.current=!0}},[]);function x(p,y){y&&f.current||a(p)}return[u,x]}},70425:function(d,g,e){"use strict";e.r(g),e.d(g,{get:function(){return c.Z},set:function(){return f.Z},supportNodeRef:function(){return l.t4},supportRef:function(){return l.Yr},useComposeRef:function(){return l.x1},useEvent:function(){return r.Z},useMergedState:function(){return i.Z},warning:function(){return s.ZP}});var r=e(6089),i=e(18929),l=e(8654),c=e(97938),f=e(24434),s=e(48736)},13697:function(d,g,e){"use strict";var r=e(10928),i=e(48736);function l(c,f){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,h=new Set;function u(a,x){var p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,y=h.has(a);if((0,i.ZP)(!y,"Warning: There may be circular references"),y)return!1;if(a===x)return!0;if(s&&p>1)return!1;h.add(a);var _=p+1;if(Array.isArray(a)){if(!Array.isArray(x)||a.length!==x.length)return!1;for(var b=0;b<a.length;b++)if(!u(a[b],x[b],_))return!1;return!0}if(a&&x&&(0,r.Z)(a)==="object"&&(0,r.Z)(x)==="object"){var S=Object.keys(a);return S.length!==Object.keys(x).length?!1:S.every(function(R){return u(a[R],x[R],_)})}return!1}return u(c,f)}g.Z=l},49658:function(d,g){"use strict";g.Z=function(){if(typeof navigator=="undefined"||typeof window=="undefined")return!1;var e=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(e==null?void 0:e.substr(0,4))}},2738:function(d,g,e){"use strict";e.d(g,{Z:function(){return r}});function r(i,l){var c=Object.assign({},i);return Array.isArray(l)&&l.forEach(function(f){delete c[f]}),c}},26112:function(d,g,e){"use strict";e.d(g,{Z:function(){return u}});var r=e(20049),i=`accept acceptCharset accessKey action allowFullScreen allowTransparency
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
charSet checked classID className colSpan cols content contentEditable contextMenu
controls coords crossOrigin data dateTime default defer dir disabled download draggable
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
mediaGroup method min minLength multiple muted name noValidate nonce open
optimum pattern placeholder poster preload radioGroup readOnly rel required
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
summary tabIndex target title type useMap value width wmode wrap`,l=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,c="".concat(i," ").concat(l).split(/[\s\n]+/),f="aria-",s="data-";function h(a,x){return a.indexOf(x)===0}function u(a){var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,p;x===!1?p={aria:!0,data:!0,attr:!0}:x===!0?p={aria:!0}:p=(0,r.Z)({},x);var y={};return Object.keys(a).forEach(function(_){(p.aria&&(_==="role"||h(_,f))||p.data&&h(_,s)||p.attr&&c.includes(_))&&(y[_]=a[_])}),y}},16089:function(d,g){"use strict";var e=function(h){return+setTimeout(h,16)},r=function(h){return clearTimeout(h)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(e=function(h){return window.requestAnimationFrame(h)},r=function(h){return window.cancelAnimationFrame(h)});var i=0,l=new Map;function c(s){l.delete(s)}var f=function(h){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;i+=1;var a=i;function x(p){if(p===0)c(a),h();else{var y=e(function(){x(p-1)});l.set(a,y)}}return x(u),a};f.cancel=function(s){var h=l.get(s);return c(s),r(h)},g.Z=f},8654:function(d,g,e){"use strict";e.d(g,{C4:function(){return _},Yr:function(){return x},mH:function(){return h},sQ:function(){return u},t4:function(){return y},x1:function(){return a}});var r=e(10928),i=e(59301),l=e(23265),c=e(80547),f=e(34678),s=Number(i.version.split(".")[0]),h=function(S,R){typeof S=="function"?S(R):(0,r.Z)(S)==="object"&&S&&"current"in S&&(S.current=R)},u=function(){for(var S=arguments.length,R=new Array(S),L=0;L<S;L++)R[L]=arguments[L];var T=R.filter(Boolean);return T.length<=1?T[0]:function(D){R.forEach(function(M){h(M,D)})}},a=function(){for(var S=arguments.length,R=new Array(S),L=0;L<S;L++)R[L]=arguments[L];return(0,c.Z)(function(){return u.apply(void 0,R)},R,function(T,D){return T.length!==D.length||T.every(function(M,N){return M!==D[N]})})},x=function(S){var R,L;if(!S)return!1;if(p(S)&&s>=19)return!0;var T=(0,l.isMemo)(S)?S.type.type:S.type;return!(typeof T=="function"&&!((R=T.prototype)!==null&&R!==void 0&&R.render)&&T.$$typeof!==l.ForwardRef||typeof S=="function"&&!((L=S.prototype)!==null&&L!==void 0&&L.render)&&S.$$typeof!==l.ForwardRef)};function p(b){return(0,i.isValidElement)(b)&&!(0,f.Z)(b)}var y=function(S){return p(S)&&x(S)},_=function(S){if(S&&p(S)){var R=S;return R.props.propertyIsEnumerable("ref")?R.props.ref:R.ref}return null}},97938:function(d,g,e){"use strict";e.d(g,{Z:function(){return r}});function r(i,l){for(var c=i,f=0;f<l.length;f+=1){if(c==null)return;c=c[l[f]]}return c}},24434:function(d,g,e){"use strict";e.d(g,{T:function(){return p},Z:function(){return h}});var r=e(10928),i=e(20049),l=e(92393),c=e(74604),f=e(97938);function s(y,_,b,S){if(!_.length)return b;var R=(0,c.Z)(_),L=R[0],T=R.slice(1),D;return!y&&typeof L=="number"?D=[]:Array.isArray(y)?D=(0,l.Z)(y):D=(0,i.Z)({},y),S&&b===void 0&&T.length===1?delete D[L][T[0]]:D[L]=s(D[L],T,b,S),D}function h(y,_,b){var S=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return _.length&&S&&b===void 0&&!(0,f.Z)(y,_.slice(0,-1))?y:s(y,_,b,S)}function u(y){return(0,r.Z)(y)==="object"&&y!==null&&Object.getPrototypeOf(y)===Object.prototype}function a(y){return Array.isArray(y)?[]:{}}var x=typeof Reflect=="undefined"?Object.keys:Reflect.ownKeys;function p(){for(var y=arguments.length,_=new Array(y),b=0;b<y;b++)_[b]=arguments[b];var S=a(_[0]);return _.forEach(function(R){function L(T,D){var M=new Set(D),N=(0,f.Z)(R,T),j=Array.isArray(N);if(j||u(N)){if(!M.has(N)){M.add(N);var Q=(0,f.Z)(S,T);j?S=h(S,T,[]):(!Q||(0,r.Z)(Q)!=="object")&&(S=h(S,T,a(N))),x(N).forEach(function(X){L([].concat((0,l.Z)(T),[X]),M)})}}else S=h(S,T,N)}L([])}),S}},48736:function(d,g,e){"use strict";e.d(g,{ET:function(){return a},Kp:function(){return c}});var r={},i=[],l=function(p){i.push(p)};function c(x,p){if(0)var y}function f(x,p){if(0)var y}function s(){r={}}function h(x,p,y){!p&&!r[y]&&(x(!1,y),r[y]=!0)}function u(x,p){h(c,x,p)}function a(x,p){h(f,x,p)}u.preMessage=l,u.resetWarned=s,u.noteOnce=a,g.ZP=u},83145:function(d,g,e){"use strict";Object.defineProperty(g,"__esModule",{value:!0}),g.CopyToClipboard=void 0;var r=l(e(59301)),i=l(e(25769));function l(D){return D&&D.__esModule?D:{default:D}}function c(D){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?c=function(N){return typeof N}:c=function(N){return N&&typeof Symbol=="function"&&N.constructor===Symbol&&N!==Symbol.prototype?"symbol":typeof N},c(D)}function f(D,M){var N=Object.keys(D);if(Object.getOwnPropertySymbols){var j=Object.getOwnPropertySymbols(D);M&&(j=j.filter(function(Q){return Object.getOwnPropertyDescriptor(D,Q).enumerable})),N.push.apply(N,j)}return N}function s(D){for(var M=1;M<arguments.length;M++){var N=arguments[M]!=null?arguments[M]:{};M%2?f(N,!0).forEach(function(j){L(D,j,N[j])}):Object.getOwnPropertyDescriptors?Object.defineProperties(D,Object.getOwnPropertyDescriptors(N)):f(N).forEach(function(j){Object.defineProperty(D,j,Object.getOwnPropertyDescriptor(N,j))})}return D}function h(D,M){if(D==null)return{};var N=u(D,M),j,Q;if(Object.getOwnPropertySymbols){var X=Object.getOwnPropertySymbols(D);for(Q=0;Q<X.length;Q++)j=X[Q],!(M.indexOf(j)>=0)&&Object.prototype.propertyIsEnumerable.call(D,j)&&(N[j]=D[j])}return N}function u(D,M){if(D==null)return{};var N={},j=Object.keys(D),Q,X;for(X=0;X<j.length;X++)Q=j[X],!(M.indexOf(Q)>=0)&&(N[Q]=D[Q]);return N}function a(D,M){if(!(D instanceof M))throw new TypeError("Cannot call a class as a function")}function x(D,M){for(var N=0;N<M.length;N++){var j=M[N];j.enumerable=j.enumerable||!1,j.configurable=!0,"value"in j&&(j.writable=!0),Object.defineProperty(D,j.key,j)}}function p(D,M,N){return M&&x(D.prototype,M),N&&x(D,N),D}function y(D,M){return M&&(c(M)==="object"||typeof M=="function")?M:b(D)}function _(D){return _=Object.setPrototypeOf?Object.getPrototypeOf:function(N){return N.__proto__||Object.getPrototypeOf(N)},_(D)}function b(D){if(D===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return D}function S(D,M){if(typeof M!="function"&&M!==null)throw new TypeError("Super expression must either be null or a function");D.prototype=Object.create(M&&M.prototype,{constructor:{value:D,writable:!0,configurable:!0}}),M&&R(D,M)}function R(D,M){return R=Object.setPrototypeOf||function(j,Q){return j.__proto__=Q,j},R(D,M)}function L(D,M,N){return M in D?Object.defineProperty(D,M,{value:N,enumerable:!0,configurable:!0,writable:!0}):D[M]=N,D}var T=function(D){S(M,D);function M(){var N,j;a(this,M);for(var Q=arguments.length,X=new Array(Q),Y=0;Y<Q;Y++)X[Y]=arguments[Y];return j=y(this,(N=_(M)).call.apply(N,[this].concat(X))),L(b(j),"onClick",function(oe){var ie=j.props,ue=ie.text,K=ie.onCopy,V=ie.children,G=ie.options,te=r.default.Children.only(V),q=(0,i.default)(ue,G);K&&K(ue,q),te&&te.props&&typeof te.props.onClick=="function"&&te.props.onClick(oe)}),j}return p(M,[{key:"render",value:function(){var j=this.props,Q=j.text,X=j.onCopy,Y=j.options,oe=j.children,ie=h(j,["text","onCopy","options","children"]),ue=r.default.Children.only(oe);return r.default.cloneElement(ue,s({},ie,{onClick:this.onClick}))}}]),M}(r.default.PureComponent);g.CopyToClipboard=T,L(T,"defaultProps",{onCopy:void 0,options:void 0})},56102:function(d,g,e){"use strict";var r=e(83145),i=r.CopyToClipboard;i.CopyToClipboard=i,d.exports=i},23675:function(d,g,e){"use strict";var r=e(59301),i=e(84126),l=e(43014);function c(v){for(var A="https://reactjs.org/docs/error-decoder.html?invariant="+v,Z=1;Z<arguments.length;Z++)A+="&args[]="+encodeURIComponent(arguments[Z]);return"Minified React error #"+v+"; visit "+A+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!r)throw Error(c(227));var f=new Set,s={};function h(v,A){u(v,A),u(v+"Capture",A)}function u(v,A){for(s[v]=A,v=0;v<A.length;v++)f.add(A[v])}var a=!(typeof window=="undefined"||typeof window.document=="undefined"||typeof window.document.createElement=="undefined"),x=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,p=Object.prototype.hasOwnProperty,y={},_={};function b(v){return p.call(_,v)?!0:p.call(y,v)?!1:x.test(v)?_[v]=!0:(y[v]=!0,!1)}function S(v,A,Z,ve){if(Z!==null&&Z.type===0)return!1;switch(typeof A){case"function":case"symbol":return!0;case"boolean":return ve?!1:Z!==null?!Z.acceptsBooleans:(v=v.toLowerCase().slice(0,5),v!=="data-"&&v!=="aria-");default:return!1}}function R(v,A,Z,ve){if(A===null||typeof A=="undefined"||S(v,A,Z,ve))return!0;if(ve)return!1;if(Z!==null)switch(Z.type){case 3:return!A;case 4:return A===!1;case 5:return isNaN(A);case 6:return isNaN(A)||1>A}return!1}function L(v,A,Z,ve,Le,lt,jt){this.acceptsBooleans=A===2||A===3||A===4,this.attributeName=ve,this.attributeNamespace=Le,this.mustUseProperty=Z,this.propertyName=v,this.type=A,this.sanitizeURL=lt,this.removeEmptyString=jt}var T={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(v){T[v]=new L(v,0,!1,v,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(v){var A=v[0];T[A]=new L(A,1,!1,v[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(v){T[v]=new L(v,2,!1,v.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(v){T[v]=new L(v,2,!1,v,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(v){T[v]=new L(v,3,!1,v.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(v){T[v]=new L(v,3,!0,v,null,!1,!1)}),["capture","download"].forEach(function(v){T[v]=new L(v,4,!1,v,null,!1,!1)}),["cols","rows","size","span"].forEach(function(v){T[v]=new L(v,6,!1,v,null,!1,!1)}),["rowSpan","start"].forEach(function(v){T[v]=new L(v,5,!1,v.toLowerCase(),null,!1,!1)});var D=/[\-:]([a-z])/g;function M(v){return v[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(v){var A=v.replace(D,M);T[A]=new L(A,1,!1,v,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(v){var A=v.replace(D,M);T[A]=new L(A,1,!1,v,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(v){var A=v.replace(D,M);T[A]=new L(A,1,!1,v,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(v){T[v]=new L(v,1,!1,v.toLowerCase(),null,!1,!1)}),T.xlinkHref=new L("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(v){T[v]=new L(v,1,!1,v.toLowerCase(),null,!0,!0)});function N(v,A,Z,ve){var Le=T.hasOwnProperty(A)?T[A]:null,lt=Le!==null?Le.type===0:ve?!1:!(!(2<A.length)||A[0]!=="o"&&A[0]!=="O"||A[1]!=="n"&&A[1]!=="N");lt||(R(A,Z,Le,ve)&&(Z=null),ve||Le===null?b(A)&&(Z===null?v.removeAttribute(A):v.setAttribute(A,""+Z)):Le.mustUseProperty?v[Le.propertyName]=Z===null?Le.type===3?!1:"":Z:(A=Le.attributeName,ve=Le.attributeNamespace,Z===null?v.removeAttribute(A):(Le=Le.type,Z=Le===3||Le===4&&Z===!0?"":""+Z,ve?v.setAttributeNS(ve,A,Z):v.setAttribute(A,Z))))}var j=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Q=60103,X=60106,Y=60107,oe=60108,ie=60114,ue=60109,K=60110,V=60112,G=60113,te=60120,q=60115,J=60116,le=60121,z=60128,F=60129,se=60130,_e=60131;if(typeof Symbol=="function"&&Symbol.for){var Pe=Symbol.for;Q=Pe("react.element"),X=Pe("react.portal"),Y=Pe("react.fragment"),oe=Pe("react.strict_mode"),ie=Pe("react.profiler"),ue=Pe("react.provider"),K=Pe("react.context"),V=Pe("react.forward_ref"),G=Pe("react.suspense"),te=Pe("react.suspense_list"),q=Pe("react.memo"),J=Pe("react.lazy"),le=Pe("react.block"),Pe("react.scope"),z=Pe("react.opaque.id"),F=Pe("react.debug_trace_mode"),se=Pe("react.offscreen"),_e=Pe("react.legacy_hidden")}var Re=typeof Symbol=="function"&&Symbol.iterator;function Ze(v){return v===null||typeof v!="object"?null:(v=Re&&v[Re]||v["@@iterator"],typeof v=="function"?v:null)}var $e;function Ht(v){if($e===void 0)try{throw Error()}catch(Z){var A=Z.stack.trim().match(/\n( *(at )?)/);$e=A&&A[1]||""}return`
`+$e+v}var bt=!1;function Ot(v,A){if(!v||bt)return"";bt=!0;var Z=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(A)if(A=function(){throw Error()},Object.defineProperty(A.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(A,[])}catch(P){var ve=P}Reflect.construct(v,[],A)}else{try{A.call()}catch(P){ve=P}v.call(A.prototype)}else{try{throw Error()}catch(P){ve=P}v()}}catch(P){if(P&&ve&&typeof P.stack=="string"){for(var Le=P.stack.split(`
`),lt=ve.stack.split(`
`),jt=Le.length-1,rr=lt.length-1;1<=jt&&0<=rr&&Le[jt]!==lt[rr];)rr--;for(;1<=jt&&0<=rr;jt--,rr--)if(Le[jt]!==lt[rr]){if(jt!==1||rr!==1)do if(jt--,rr--,0>rr||Le[jt]!==lt[rr])return`
`+Le[jt].replace(" at new "," at ");while(1<=jt&&0<=rr);break}}}finally{bt=!1,Error.prepareStackTrace=Z}return(v=v?v.displayName||v.name:"")?Ht(v):""}function qt(v){switch(v.tag){case 5:return Ht(v.type);case 16:return Ht("Lazy");case 13:return Ht("Suspense");case 19:return Ht("SuspenseList");case 0:case 2:case 15:return v=Ot(v.type,!1),v;case 11:return v=Ot(v.type.render,!1),v;case 22:return v=Ot(v.type._render,!1),v;case 1:return v=Ot(v.type,!0),v;default:return""}}function er(v){if(v==null)return null;if(typeof v=="function")return v.displayName||v.name||null;if(typeof v=="string")return v;switch(v){case Y:return"Fragment";case X:return"Portal";case ie:return"Profiler";case oe:return"StrictMode";case G:return"Suspense";case te:return"SuspenseList"}if(typeof v=="object")switch(v.$$typeof){case K:return(v.displayName||"Context")+".Consumer";case ue:return(v._context.displayName||"Context")+".Provider";case V:var A=v.render;return A=A.displayName||A.name||"",v.displayName||(A!==""?"ForwardRef("+A+")":"ForwardRef");case q:return er(v.type);case le:return er(v._render);case J:A=v._payload,v=v._init;try{return er(v(A))}catch(Z){}}return null}function Jt(v){switch(typeof v){case"boolean":case"number":case"object":case"string":case"undefined":return v;default:return""}}function Xe(v){var A=v.type;return(v=v.nodeName)&&v.toLowerCase()==="input"&&(A==="checkbox"||A==="radio")}function Pt(v){var A=Xe(v)?"checked":"value",Z=Object.getOwnPropertyDescriptor(v.constructor.prototype,A),ve=""+v[A];if(!v.hasOwnProperty(A)&&typeof Z!="undefined"&&typeof Z.get=="function"&&typeof Z.set=="function"){var Le=Z.get,lt=Z.set;return Object.defineProperty(v,A,{configurable:!0,get:function(){return Le.call(this)},set:function(jt){ve=""+jt,lt.call(this,jt)}}),Object.defineProperty(v,A,{enumerable:Z.enumerable}),{getValue:function(){return ve},setValue:function(jt){ve=""+jt},stopTracking:function(){v._valueTracker=null,delete v[A]}}}}function Ut(v){v._valueTracker||(v._valueTracker=Pt(v))}function st(v){if(!v)return!1;var A=v._valueTracker;if(!A)return!0;var Z=A.getValue(),ve="";return v&&(ve=Xe(v)?v.checked?"true":"false":v.value),v=ve,v!==Z?(A.setValue(v),!0):!1}function yt(v){if(v=v||(typeof document!="undefined"?document:void 0),typeof v=="undefined")return null;try{return v.activeElement||v.body}catch(A){return v.body}}function ht(v,A){var Z=A.checked;return i({},A,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:Z!=null?Z:v._wrapperState.initialChecked})}function Je(v,A){var Z=A.defaultValue==null?"":A.defaultValue,ve=A.checked!=null?A.checked:A.defaultChecked;Z=Jt(A.value!=null?A.value:Z),v._wrapperState={initialChecked:ve,initialValue:Z,controlled:A.type==="checkbox"||A.type==="radio"?A.checked!=null:A.value!=null}}function je(v,A){A=A.checked,A!=null&&N(v,"checked",A,!1)}function ge(v,A){je(v,A);var Z=Jt(A.value),ve=A.type;if(Z!=null)ve==="number"?(Z===0&&v.value===""||v.value!=Z)&&(v.value=""+Z):v.value!==""+Z&&(v.value=""+Z);else if(ve==="submit"||ve==="reset"){v.removeAttribute("value");return}A.hasOwnProperty("value")?Me(v,A.type,Z):A.hasOwnProperty("defaultValue")&&Me(v,A.type,Jt(A.defaultValue)),A.checked==null&&A.defaultChecked!=null&&(v.defaultChecked=!!A.defaultChecked)}function Se(v,A,Z){if(A.hasOwnProperty("value")||A.hasOwnProperty("defaultValue")){var ve=A.type;if(!(ve!=="submit"&&ve!=="reset"||A.value!==void 0&&A.value!==null))return;A=""+v._wrapperState.initialValue,Z||A===v.value||(v.value=A),v.defaultValue=A}Z=v.name,Z!==""&&(v.name=""),v.defaultChecked=!!v._wrapperState.initialChecked,Z!==""&&(v.name=Z)}function Me(v,A,Z){(A!=="number"||yt(v.ownerDocument)!==v)&&(Z==null?v.defaultValue=""+v._wrapperState.initialValue:v.defaultValue!==""+Z&&(v.defaultValue=""+Z))}function Ne(v){var A="";return r.Children.forEach(v,function(Z){Z!=null&&(A+=Z)}),A}function He(v,A){return v=i({children:void 0},A),(A=Ne(A.children))&&(v.children=A),v}function nt(v,A,Z,ve){if(v=v.options,A){A={};for(var Le=0;Le<Z.length;Le++)A["$"+Z[Le]]=!0;for(Z=0;Z<v.length;Z++)Le=A.hasOwnProperty("$"+v[Z].value),v[Z].selected!==Le&&(v[Z].selected=Le),Le&&ve&&(v[Z].defaultSelected=!0)}else{for(Z=""+Jt(Z),A=null,Le=0;Le<v.length;Le++){if(v[Le].value===Z){v[Le].selected=!0,ve&&(v[Le].defaultSelected=!0);return}A!==null||v[Le].disabled||(A=v[Le])}A!==null&&(A.selected=!0)}}function ct(v,A){if(A.dangerouslySetInnerHTML!=null)throw Error(c(91));return i({},A,{value:void 0,defaultValue:void 0,children:""+v._wrapperState.initialValue})}function Vt(v,A){var Z=A.value;if(Z==null){if(Z=A.children,A=A.defaultValue,Z!=null){if(A!=null)throw Error(c(92));if(Array.isArray(Z)){if(!(1>=Z.length))throw Error(c(93));Z=Z[0]}A=Z}A==null&&(A=""),Z=A}v._wrapperState={initialValue:Jt(Z)}}function Wt(v,A){var Z=Jt(A.value),ve=Jt(A.defaultValue);Z!=null&&(Z=""+Z,Z!==v.value&&(v.value=Z),A.defaultValue==null&&v.defaultValue!==Z&&(v.defaultValue=Z)),ve!=null&&(v.defaultValue=""+ve)}function Ie(v){var A=v.textContent;A===v._wrapperState.initialValue&&A!==""&&A!==null&&(v.value=A)}var qe={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function Gt(v){switch(v){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function kt(v,A){return v==null||v==="http://www.w3.org/1999/xhtml"?Gt(A):v==="http://www.w3.org/2000/svg"&&A==="foreignObject"?"http://www.w3.org/1999/xhtml":v}var Zt,Nt=function(v){return typeof MSApp!="undefined"&&MSApp.execUnsafeLocalFunction?function(A,Z,ve,Le){MSApp.execUnsafeLocalFunction(function(){return v(A,Z,ve,Le)})}:v}(function(v,A){if(v.namespaceURI!==qe.svg||"innerHTML"in v)v.innerHTML=A;else{for(Zt=Zt||document.createElement("div"),Zt.innerHTML="<svg>"+A.valueOf().toString()+"</svg>",A=Zt.firstChild;v.firstChild;)v.removeChild(v.firstChild);for(;A.firstChild;)v.appendChild(A.firstChild)}});function Ct(v,A){if(A){var Z=v.firstChild;if(Z&&Z===v.lastChild&&Z.nodeType===3){Z.nodeValue=A;return}}v.textContent=A}var Yt={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},We=["Webkit","ms","Moz","O"];Object.keys(Yt).forEach(function(v){We.forEach(function(A){A=A+v.charAt(0).toUpperCase()+v.substring(1),Yt[A]=Yt[v]})});function fe(v,A,Z){return A==null||typeof A=="boolean"||A===""?"":Z||typeof A!="number"||A===0||Yt.hasOwnProperty(v)&&Yt[v]?(""+A).trim():A+"px"}function pe(v,A){v=v.style;for(var Z in A)if(A.hasOwnProperty(Z)){var ve=Z.indexOf("--")===0,Le=fe(Z,A[Z],ve);Z==="float"&&(Z="cssFloat"),ve?v.setProperty(Z,Le):v[Z]=Le}}var Dt=i({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Ce(v,A){if(A){if(Dt[v]&&(A.children!=null||A.dangerouslySetInnerHTML!=null))throw Error(c(137,v));if(A.dangerouslySetInnerHTML!=null){if(A.children!=null)throw Error(c(60));if(!(typeof A.dangerouslySetInnerHTML=="object"&&"__html"in A.dangerouslySetInnerHTML))throw Error(c(61))}if(A.style!=null&&typeof A.style!="object")throw Error(c(62))}}function dt(v,A){if(v.indexOf("-")===-1)return typeof A.is=="string";switch(v){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function zt(v){return v=v.target||v.srcElement||window,v.correspondingUseElement&&(v=v.correspondingUseElement),v.nodeType===3?v.parentNode:v}var Tt=null,Oe=null,St=null;function be(v){if(v=Ka(v)){if(typeof Tt!="function")throw Error(c(280));var A=v.stateNode;A&&(A=qa(A),Tt(v.stateNode,v.type,A))}}function Ke(v){Oe?St?St.push(v):St=[v]:Oe=v}function vt(){if(Oe){var v=Oe,A=St;if(St=Oe=null,be(v),A)for(v=0;v<A.length;v++)be(A[v])}}function Rt(v,A){return v(A)}function Fe(v,A,Z,ve,Le){return v(A,Z,ve,Le)}function kr(){}var At=Rt,Kr=!1,qr=!1;function Ar(){(Oe!==null||St!==null)&&(kr(),vt())}function Br(v,A,Z){if(qr)return v(A,Z);qr=!0;try{return At(v,A,Z)}finally{qr=!1,Ar()}}function _r(v,A){var Z=v.stateNode;if(Z===null)return null;var ve=qa(Z);if(ve===null)return null;Z=ve[A];e:switch(A){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(ve=!ve.disabled)||(v=v.type,ve=!(v==="button"||v==="input"||v==="select"||v==="textarea")),v=!ve;break e;default:v=!1}if(v)return null;if(Z&&typeof Z!="function")throw Error(c(231,A,typeof Z));return Z}var Ur=!1;if(a)try{var sn={};Object.defineProperty(sn,"passive",{get:function(){Ur=!0}}),window.addEventListener("test",sn,sn),window.removeEventListener("test",sn,sn)}catch(v){Ur=!1}function cn(v,A,Z,ve,Le,lt,jt,rr,P){var t=Array.prototype.slice.call(arguments,3);try{A.apply(Z,t)}catch(n){this.onError(n)}}var or=!1,Lt=null,mt=!1,gt=null,$t={onError:function(v){or=!0,Lt=v}};function Cr(v,A,Z,ve,Le,lt,jt,rr,P){or=!1,Lt=null,cn.apply($t,arguments)}function gr(v,A,Z,ve,Le,lt,jt,rr,P){if(Cr.apply(this,arguments),or){if(or){var t=Lt;or=!1,Lt=null}else throw Error(c(198));mt||(mt=!0,gt=t)}}function ot(v){var A=v,Z=v;if(v.alternate)for(;A.return;)A=A.return;else{v=A;do A=v,A.flags&1026&&(Z=A.return),v=A.return;while(v)}return A.tag===3?Z:null}function Mr(v){if(v.tag===13){var A=v.memoizedState;if(A===null&&(v=v.alternate,v!==null&&(A=v.memoizedState)),A!==null)return A.dehydrated}return null}function yn(v){if(ot(v)!==v)throw Error(c(188))}function Zn(v){var A=v.alternate;if(!A){if(A=ot(v),A===null)throw Error(c(188));return A!==v?null:v}for(var Z=v,ve=A;;){var Le=Z.return;if(Le===null)break;var lt=Le.alternate;if(lt===null){if(ve=Le.return,ve!==null){Z=ve;continue}break}if(Le.child===lt.child){for(lt=Le.child;lt;){if(lt===Z)return yn(Le),v;if(lt===ve)return yn(Le),A;lt=lt.sibling}throw Error(c(188))}if(Z.return!==ve.return)Z=Le,ve=lt;else{for(var jt=!1,rr=Le.child;rr;){if(rr===Z){jt=!0,Z=Le,ve=lt;break}if(rr===ve){jt=!0,ve=Le,Z=lt;break}rr=rr.sibling}if(!jt){for(rr=lt.child;rr;){if(rr===Z){jt=!0,Z=lt,ve=Le;break}if(rr===ve){jt=!0,ve=lt,Z=Le;break}rr=rr.sibling}if(!jt)throw Error(c(189))}}if(Z.alternate!==ve)throw Error(c(190))}if(Z.tag!==3)throw Error(c(188));return Z.stateNode.current===Z?v:A}function mr(v){if(v=Zn(v),!v)return null;for(var A=v;;){if(A.tag===5||A.tag===6)return A;if(A.child)A.child.return=A,A=A.child;else{if(A===v)break;for(;!A.sibling;){if(!A.return||A.return===v)return null;A=A.return}A.sibling.return=A.return,A=A.sibling}}return null}function tn(v,A){for(var Z=v.alternate;A!==null;){if(A===v||A===Z)return!0;A=A.return}return!1}var hn,Fn,ti,jn,Zi=!1,xi=[],Si=null,Ei=null,mi=null,Xi=new Map,qn=new Map,Yi=[],wt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function ut(v,A,Z,ve,Le){return{blockedOn:v,domEventName:A,eventSystemFlags:Z|16,nativeEvent:Le,targetContainers:[ve]}}function Jn(v,A){switch(v){case"focusin":case"focusout":Si=null;break;case"dragenter":case"dragleave":Ei=null;break;case"mouseover":case"mouseout":mi=null;break;case"pointerover":case"pointerout":Xi.delete(A.pointerId);break;case"gotpointercapture":case"lostpointercapture":qn.delete(A.pointerId)}}function Ai(v,A,Z,ve,Le,lt){return v===null||v.nativeEvent!==lt?(v=ut(A,Z,ve,Le,lt),A!==null&&(A=Ka(A),A!==null&&Fn(A)),v):(v.eventSystemFlags|=ve,A=v.targetContainers,Le!==null&&A.indexOf(Le)===-1&&A.push(Le),v)}function ei(v,A,Z,ve,Le){switch(A){case"focusin":return Si=Ai(Si,v,A,Z,ve,Le),!0;case"dragenter":return Ei=Ai(Ei,v,A,Z,ve,Le),!0;case"mouseover":return mi=Ai(mi,v,A,Z,ve,Le),!0;case"pointerover":var lt=Le.pointerId;return Xi.set(lt,Ai(Xi.get(lt)||null,v,A,Z,ve,Le)),!0;case"gotpointercapture":return lt=Le.pointerId,qn.set(lt,Ai(qn.get(lt)||null,v,A,Z,ve,Le)),!0}return!1}function Gi(v){var A=Ba(v.target);if(A!==null){var Z=ot(A);if(Z!==null){if(A=Z.tag,A===13){if(A=Mr(Z),A!==null){v.blockedOn=A,jn(v.lanePriority,function(){l.unstable_runWithPriority(v.priority,function(){ti(Z)})});return}}else if(A===3&&Z.stateNode.hydrate){v.blockedOn=Z.tag===3?Z.stateNode.containerInfo:null;return}}}v.blockedOn=null}function vi(v){if(v.blockedOn!==null)return!1;for(var A=v.targetContainers;0<A.length;){var Z=hs(v.domEventName,v.eventSystemFlags,A[0],v.nativeEvent);if(Z!==null)return A=Ka(Z),A!==null&&Fn(A),v.blockedOn=Z,!1;A.shift()}return!0}function si(v,A,Z){vi(v)&&Z.delete(A)}function En(){for(Zi=!1;0<xi.length;){var v=xi[0];if(v.blockedOn!==null){v=Ka(v.blockedOn),v!==null&&hn(v);break}for(var A=v.targetContainers;0<A.length;){var Z=hs(v.domEventName,v.eventSystemFlags,A[0],v.nativeEvent);if(Z!==null){v.blockedOn=Z;break}A.shift()}v.blockedOn===null&&xi.shift()}Si!==null&&vi(Si)&&(Si=null),Ei!==null&&vi(Ei)&&(Ei=null),mi!==null&&vi(mi)&&(mi=null),Xi.forEach(si),qn.forEach(si)}function tr(v,A){v.blockedOn===A&&(v.blockedOn=null,Zi||(Zi=!0,l.unstable_scheduleCallback(l.unstable_NormalPriority,En)))}function _t(v){function A(Le){return tr(Le,v)}if(0<xi.length){tr(xi[0],v);for(var Z=1;Z<xi.length;Z++){var ve=xi[Z];ve.blockedOn===v&&(ve.blockedOn=null)}}for(Si!==null&&tr(Si,v),Ei!==null&&tr(Ei,v),mi!==null&&tr(mi,v),Xi.forEach(A),qn.forEach(A),Z=0;Z<Yi.length;Z++)ve=Yi[Z],ve.blockedOn===v&&(ve.blockedOn=null);for(;0<Yi.length&&(Z=Yi[0],Z.blockedOn===null);)Gi(Z),Z.blockedOn===null&&Yi.shift()}function rt(v,A){var Z={};return Z[v.toLowerCase()]=A.toLowerCase(),Z["Webkit"+v]="webkit"+A,Z["Moz"+v]="moz"+A,Z}var It={animationend:rt("Animation","AnimationEnd"),animationiteration:rt("Animation","AnimationIteration"),animationstart:rt("Animation","AnimationStart"),transitionend:rt("Transition","TransitionEnd")},pt={},lr={};a&&(lr=document.createElement("div").style,"AnimationEvent"in window||(delete It.animationend.animation,delete It.animationiteration.animation,delete It.animationstart.animation),"TransitionEvent"in window||delete It.transitionend.transition);function fr(v){if(pt[v])return pt[v];if(!It[v])return v;var A=It[v],Z;for(Z in A)if(A.hasOwnProperty(Z)&&Z in lr)return pt[v]=A[Z];return v}var Ir=fr("animationend"),Hr=fr("animationiteration"),ze=fr("animationstart"),et=fr("transitionend"),Ee=new Map,it=new Map,ir=["abort","abort",Ir,"animationEnd",Hr,"animationIteration",ze,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",et,"transitionEnd","waiting","waiting"];function Dr(v,A){for(var Z=0;Z<v.length;Z+=2){var ve=v[Z],Le=v[Z+1];Le="on"+(Le[0].toUpperCase()+Le.slice(1)),it.set(ve,A),Ee.set(ve,Le),h(Le,[ve])}}var Er=l.unstable_now;Er();var Or=8;function $r(v){if(1&v)return Or=15,1;if(2&v)return Or=14,2;if(4&v)return Or=13,4;var A=24&v;return A!==0?(Or=12,A):v&32?(Or=11,32):(A=192&v,A!==0?(Or=10,A):v&256?(Or=9,256):(A=3584&v,A!==0?(Or=8,A):v&4096?(Or=7,4096):(A=4186112&v,A!==0?(Or=6,A):(A=62914560&v,A!==0?(Or=5,A):v&67108864?(Or=4,67108864):v&134217728?(Or=3,134217728):(A=805306368&v,A!==0?(Or=2,A):1073741824&v?(Or=1,1073741824):(Or=8,v))))))}function bn(v){switch(v){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}function Pr(v){switch(v){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(c(358,v))}}function un(v,A){var Z=v.pendingLanes;if(Z===0)return Or=0;var ve=0,Le=0,lt=v.expiredLanes,jt=v.suspendedLanes,rr=v.pingedLanes;if(lt!==0)ve=lt,Le=Or=15;else if(lt=Z&134217727,lt!==0){var P=lt&~jt;P!==0?(ve=$r(P),Le=Or):(rr&=lt,rr!==0&&(ve=$r(rr),Le=Or))}else lt=Z&~jt,lt!==0?(ve=$r(lt),Le=Or):rr!==0&&(ve=$r(rr),Le=Or);if(ve===0)return 0;if(ve=31-gi(ve),ve=Z&((0>ve?0:1<<ve)<<1)-1,A!==0&&A!==ve&&!(A&jt)){if($r(A),Le<=Or)return A;Or=Le}if(A=v.entangledLanes,A!==0)for(v=v.entanglements,A&=ve;0<A;)Z=31-gi(A),Le=1<<Z,ve|=v[Z],A&=~Le;return ve}function rn(v){return v=v.pendingLanes&-1073741825,v!==0?v:v&1073741824?1073741824:0}function ln(v,A){switch(v){case 15:return 1;case 14:return 2;case 12:return v=An(24&~A),v===0?ln(10,A):v;case 10:return v=An(192&~A),v===0?ln(8,A):v;case 8:return v=An(3584&~A),v===0&&(v=An(4186112&~A),v===0&&(v=512)),v;case 2:return A=An(805306368&~A),A===0&&(A=268435456),A}throw Error(c(358,v))}function An(v){return v&-v}function pa(v){for(var A=[],Z=0;31>Z;Z++)A.push(v);return A}function Pi(v,A,Z){v.pendingLanes|=A;var ve=A-1;v.suspendedLanes&=ve,v.pingedLanes&=ve,v=v.eventTimes,A=31-gi(A),v[A]=Z}var gi=Math.clz32?Math.clz32:Ni,pn=Math.log,ui=Math.LN2;function Ni(v){return v===0?32:31-(pn(v)/ui|0)|0}var la=l.unstable_UserBlockingPriority,xs=l.unstable_runWithPriority,Pa=!0;function Na(v,A,Z,ve){Kr||kr();var Le=$a,lt=Kr;Kr=!0;try{Fe(Le,v,A,Z,ve)}finally{(Kr=lt)||Ar()}}function Is(v,A,Z,ve){xs(la,$a.bind(null,v,A,Z,ve))}function $a(v,A,Z,ve){if(Pa){var Le;if((Le=(A&4)===0)&&0<xi.length&&-1<wt.indexOf(v))v=ut(null,v,A,Z,ve),xi.push(v);else{var lt=hs(v,A,Z,ve);if(lt===null)Le&&Jn(v,ve);else{if(Le){if(-1<wt.indexOf(v)){v=ut(lt,v,A,Z,ve),xi.push(v);return}if(ei(lt,v,A,Z,ve))return;Jn(v,ve)}jr(v,A,ve,null,Z)}}}}function hs(v,A,Z,ve){var Le=zt(ve);if(Le=Ba(Le),Le!==null){var lt=ot(Le);if(lt===null)Le=null;else{var jt=lt.tag;if(jt===13){if(Le=Mr(lt),Le!==null)return Le;Le=null}else if(jt===3){if(lt.stateNode.hydrate)return lt.tag===3?lt.stateNode.containerInfo:null;Le=null}else lt!==Le&&(Le=null)}}return jr(v,A,ve,Le,Z),null}var oa=null,yi=null,Ga=null;function Ds(){if(Ga)return Ga;var v,A=yi,Z=A.length,ve,Le="value"in oa?oa.value:oa.textContent,lt=Le.length;for(v=0;v<Z&&A[v]===Le[v];v++);var jt=Z-v;for(ve=1;ve<=jt&&A[Z-ve]===Le[lt-ve];ve++);return Ga=Le.slice(v,1<ve?1-ve:void 0)}function $i(v){var A=v.keyCode;return"charCode"in v?(v=v.charCode,v===0&&A===13&&(v=13)):v=A,v===10&&(v=13),32<=v||v===13?v:0}function ps(){return!0}function Co(){return!1}function La(v){function A(Z,ve,Le,lt,jt){this._reactName=Z,this._targetInst=Le,this.type=ve,this.nativeEvent=lt,this.target=jt,this.currentTarget=null;for(var rr in v)v.hasOwnProperty(rr)&&(Z=v[rr],this[rr]=Z?Z(lt):lt[rr]);return this.isDefaultPrevented=(lt.defaultPrevented!=null?lt.defaultPrevented:lt.returnValue===!1)?ps:Co,this.isPropagationStopped=Co,this}return i(A.prototype,{preventDefault:function(){this.defaultPrevented=!0;var Z=this.nativeEvent;Z&&(Z.preventDefault?Z.preventDefault():typeof Z.returnValue!="unknown"&&(Z.returnValue=!1),this.isDefaultPrevented=ps)},stopPropagation:function(){var Z=this.nativeEvent;Z&&(Z.stopPropagation?Z.stopPropagation():typeof Z.cancelBubble!="unknown"&&(Z.cancelBubble=!0),this.isPropagationStopped=ps)},persist:function(){},isPersistent:ps}),A}var _s={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(v){return v.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ji=La(_s),Gs=i({},_s,{view:0,detail:0}),Rn=La(Gs),ja,ns,ls,Vi=i({},Gs,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Fa,button:0,buttons:0,relatedTarget:function(v){return v.relatedTarget===void 0?v.fromElement===v.srcElement?v.toElement:v.fromElement:v.relatedTarget},movementX:function(v){return"movementX"in v?v.movementX:(v!==ls&&(ls&&v.type==="mousemove"?(ja=v.screenX-ls.screenX,ns=v.screenY-ls.screenY):ns=ja=0,ls=v),ja)},movementY:function(v){return"movementY"in v?v.movementY:ns}}),Ia=La(Vi),Da=i({},Vi,{dataTransfer:0}),ms=La(Da),Bs=i({},Gs,{relatedTarget:0}),_o=La(Bs),To=i({},_s,{animationName:0,elapsedTime:0,pseudoElement:0}),Vo=La(To),uo=i({},_s,{clipboardData:function(v){return"clipboardData"in v?v.clipboardData:window.clipboardData}}),ca=La(uo),cs=i({},_s,{data:0}),mo=La(cs),vo={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},go={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},hi={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function oi(v){var A=this.nativeEvent;return A.getModifierState?A.getModifierState(v):(v=hi[v])?!!A[v]:!1}function Fa(){return oi}var Va=i({},Gs,{key:function(v){if(v.key){var A=vo[v.key]||v.key;if(A!=="Unidentified")return A}return v.type==="keypress"?(v=$i(v),v===13?"Enter":String.fromCharCode(v)):v.type==="keydown"||v.type==="keyup"?go[v.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Fa,charCode:function(v){return v.type==="keypress"?$i(v):0},keyCode:function(v){return v.type==="keydown"||v.type==="keyup"?v.keyCode:0},which:function(v){return v.type==="keypress"?$i(v):v.type==="keydown"||v.type==="keyup"?v.keyCode:0}}),Xa=La(Va),lo=i({},Vi,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),co=La(lo),Po=i({},Gs,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Fa}),Qa=La(Po),Lo=i({},_s,{propertyName:0,elapsedTime:0,pseudoElement:0}),yo=La(Lo),Ko=i({},Vi,{deltaX:function(v){return"deltaX"in v?v.deltaX:"wheelDeltaX"in v?-v.wheelDeltaX:0},deltaY:function(v){return"deltaY"in v?v.deltaY:"wheelDeltaY"in v?-v.wheelDeltaY:"wheelDelta"in v?-v.wheelDelta:0},deltaZ:0,deltaMode:0}),Tu=La(Ko),_u=[9,13,27,32],fo=a&&"CompositionEvent"in window,fs=null;a&&"documentMode"in document&&(fs=document.documentMode);var zu=a&&"TextEvent"in window&&!fs,Mo=a&&(!fo||fs&&8<fs&&11>=fs),Io=" ",Us=!1;function ou(v,A){switch(v){case"keyup":return _u.indexOf(A.keyCode)!==-1;case"keydown":return A.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function jo(v){return v=v.detail,typeof v=="object"&&"data"in v?v.data:null}var Do=!1;function Ls(v,A){switch(v){case"compositionend":return jo(A);case"keypress":return A.which!==32?null:(Us=!0,Io);case"textInput":return v=A.data,v===Io&&Us?null:v;default:return null}}function bo(v,A){if(Do)return v==="compositionend"||!fo&&ou(v,A)?(v=Ds(),Ga=yi=oa=null,Do=!1,v):null;switch(v){case"paste":return null;case"keypress":if(!(A.ctrlKey||A.altKey||A.metaKey)||A.ctrlKey&&A.altKey){if(A.char&&1<A.char.length)return A.char;if(A.which)return String.fromCharCode(A.which)}return null;case"compositionend":return Mo&&A.locale!=="ko"?null:A.data;default:return null}}var mu={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Fo(v){var A=v&&v.nodeName&&v.nodeName.toLowerCase();return A==="input"?!!mu[v.type]:A==="textarea"}function Qt(v,A,Z,ve){Ke(ve),A=nn(A,"onChange"),0<A.length&&(Z=new ji("onChange","change",null,Z,ve),v.push({event:Z,listeners:A}))}var cr=null,sr=null;function vr(v){Ye(v,0)}function wr(v){var A=eo(v);if(st(A))return v}function xn(v,A){if(v==="change")return A}var Sn=!1;if(a){var Un;if(a){var Ln="oninput"in document;if(!Ln){var Gn=document.createElement("div");Gn.setAttribute("oninput","return;"),Ln=typeof Gn.oninput=="function"}Un=Ln}else Un=!1;Sn=Un&&(!document.documentMode||9<document.documentMode)}function ur(){cr&&(cr.detachEvent("onpropertychange",Fr),sr=cr=null)}function Fr(v){if(v.propertyName==="value"&&wr(sr)){var A=[];if(Qt(A,sr,v,zt(v)),v=vr,Kr)v(A);else{Kr=!0;try{Rt(v,A)}finally{Kr=!1,Ar()}}}}function xr(v,A,Z){v==="focusin"?(ur(),cr=A,sr=Z,cr.attachEvent("onpropertychange",Fr)):v==="focusout"&&ur()}function mn(v){if(v==="selectionchange"||v==="keyup"||v==="keydown")return wr(sr)}function Hn(v,A){if(v==="click")return wr(A)}function ft(v,A){if(v==="input"||v==="change")return wr(A)}function Pn(v,A){return v===A&&(v!==0||1/v===1/A)||v!==v&&A!==A}var Vn=typeof Object.is=="function"?Object.is:Pn,li=Object.prototype.hasOwnProperty;function Qi(v,A){if(Vn(v,A))return!0;if(typeof v!="object"||v===null||typeof A!="object"||A===null)return!1;var Z=Object.keys(v),ve=Object.keys(A);if(Z.length!==ve.length)return!1;for(ve=0;ve<Z.length;ve++)if(!li.call(A,Z[ve])||!Vn(v[Z[ve]],A[Z[ve]]))return!1;return!0}function Nr(v){for(;v&&v.firstChild;)v=v.firstChild;return v}function Li(v,A){var Z=Nr(v);v=0;for(var ve;Z;){if(Z.nodeType===3){if(ve=v+Z.textContent.length,v<=A&&ve>=A)return{node:Z,offset:A-v};v=ve}e:{for(;Z;){if(Z.nextSibling){Z=Z.nextSibling;break e}Z=Z.parentNode}Z=void 0}Z=Nr(Z)}}function ba(v,A){return v&&A?v===A?!0:v&&v.nodeType===3?!1:A&&A.nodeType===3?ba(v,A.parentNode):"contains"in v?v.contains(A):v.compareDocumentPosition?!!(v.compareDocumentPosition(A)&16):!1:!1}function zr(){for(var v=window,A=yt();A instanceof v.HTMLIFrameElement;){try{var Z=typeof A.contentWindow.location.href=="string"}catch(ve){Z=!1}if(Z)v=A.contentWindow;else break;A=yt(v.document)}return A}function na(v){var A=v&&v.nodeName&&v.nodeName.toLowerCase();return A&&(A==="input"&&(v.type==="text"||v.type==="search"||v.type==="tel"||v.type==="url"||v.type==="password")||A==="textarea"||v.contentEditable==="true")}var Ss=a&&"documentMode"in document&&11>=document.documentMode,ci=null,Vs=null,xo=null,Os=!1;function xa(v,A,Z){var ve=Z.window===Z?Z.document:Z.nodeType===9?Z:Z.ownerDocument;Os||ci==null||ci!==yt(ve)||(ve=ci,"selectionStart"in ve&&na(ve)?ve={start:ve.selectionStart,end:ve.selectionEnd}:(ve=(ve.ownerDocument&&ve.ownerDocument.defaultView||window).getSelection(),ve={anchorNode:ve.anchorNode,anchorOffset:ve.anchorOffset,focusNode:ve.focusNode,focusOffset:ve.focusOffset}),xo&&Qi(xo,ve)||(xo=ve,ve=nn(Vs,"onSelect"),0<ve.length&&(A=new ji("onSelect","select",null,A,Z),v.push({event:A,listeners:ve}),A.target=ci)))}Dr("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),Dr("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),Dr(ir,2);for(var ds="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),ks=0;ks<ds.length;ks++)it.set(ds[ks],0);u("onMouseEnter",["mouseout","mouseover"]),u("onMouseLeave",["mouseout","mouseover"]),u("onPointerEnter",["pointerout","pointerover"]),u("onPointerLeave",["pointerout","pointerover"]),h("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),h("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),h("onBeforeInput",["compositionend","keypress","textInput","paste"]),h("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),h("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),h("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var In="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),gs=new Set("cancel close invalid load scroll toggle".split(" ").concat(In));function Ns(v,A,Z){var ve=v.type||"unknown-event";v.currentTarget=Z,gr(ve,A,void 0,v),v.currentTarget=null}function Ye(v,A){A=(A&4)!==0;for(var Z=0;Z<v.length;Z++){var ve=v[Z],Le=ve.event;ve=ve.listeners;e:{var lt=void 0;if(A)for(var jt=ve.length-1;0<=jt;jt--){var rr=ve[jt],P=rr.instance,t=rr.currentTarget;if(rr=rr.listener,P!==lt&&Le.isPropagationStopped())break e;Ns(Le,rr,t),lt=P}else for(jt=0;jt<ve.length;jt++){if(rr=ve[jt],P=rr.instance,t=rr.currentTarget,rr=rr.listener,P!==lt&&Le.isPropagationStopped())break e;Ns(Le,rr,t),lt=P}}}if(mt)throw v=gt,mt=!1,gt=null,v}function Qe(v,A){var Z=so(A),ve=v+"__bubble";Z.has(ve)||(Rr(A,v,2,!1),Z.add(ve))}var Mt="_reactListening"+Math.random().toString(36).slice(2);function Kt(v){v[Mt]||(v[Mt]=!0,f.forEach(function(A){gs.has(A)||hr(A,!1,v,null),hr(A,!0,v,null)}))}function hr(v,A,Z,ve){var Le=4<arguments.length&&arguments[4]!==void 0?arguments[4]:0,lt=Z;if(v==="selectionchange"&&Z.nodeType!==9&&(lt=Z.ownerDocument),ve!==null&&!A&&gs.has(v)){if(v!=="scroll")return;Le|=2,lt=ve}var jt=so(lt),rr=v+"__"+(A?"capture":"bubble");jt.has(rr)||(A&&(Le|=4),Rr(lt,v,Le,A),jt.add(rr))}function Rr(v,A,Z,ve){var Le=it.get(A);switch(Le===void 0?2:Le){case 0:Le=Na;break;case 1:Le=Is;break;default:Le=$a}Z=Le.bind(null,A,Z,v),Le=void 0,!Ur||A!=="touchstart"&&A!=="touchmove"&&A!=="wheel"||(Le=!0),ve?Le!==void 0?v.addEventListener(A,Z,{capture:!0,passive:Le}):v.addEventListener(A,Z,!0):Le!==void 0?v.addEventListener(A,Z,{passive:Le}):v.addEventListener(A,Z,!1)}function jr(v,A,Z,ve,Le){var lt=ve;if(!(A&1)&&!(A&2)&&ve!==null)e:for(;;){if(ve===null)return;var jt=ve.tag;if(jt===3||jt===4){var rr=ve.stateNode.containerInfo;if(rr===Le||rr.nodeType===8&&rr.parentNode===Le)break;if(jt===4)for(jt=ve.return;jt!==null;){var P=jt.tag;if((P===3||P===4)&&(P=jt.stateNode.containerInfo,P===Le||P.nodeType===8&&P.parentNode===Le))return;jt=jt.return}for(;rr!==null;){if(jt=Ba(rr),jt===null)return;if(P=jt.tag,P===5||P===6){ve=lt=jt;continue e}rr=rr.parentNode}}ve=ve.return}Br(function(){var t=lt,n=zt(Z),o=[];e:{var m=Ee.get(v);if(m!==void 0){var E=ji,C=v;switch(v){case"keypress":if($i(Z)===0)break e;case"keydown":case"keyup":E=Xa;break;case"focusin":C="focus",E=_o;break;case"focusout":C="blur",E=_o;break;case"beforeblur":case"afterblur":E=_o;break;case"click":if(Z.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":E=Ia;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":E=ms;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":E=Qa;break;case Ir:case Hr:case ze:E=Vo;break;case et:E=yo;break;case"scroll":E=Rn;break;case"wheel":E=Tu;break;case"copy":case"cut":case"paste":E=ca;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":E=co}var U=(A&4)!==0,H=!U&&v==="scroll",$=U?m!==null?m+"Capture":null:m;U=[];for(var ae=t,ce;ae!==null;){ce=ae;var xe=ce.stateNode;if(ce.tag===5&&xe!==null&&(ce=xe,$!==null&&(xe=_r(ae,$),xe!=null&&U.push(vn(ae,xe,ce)))),H)break;ae=ae.return}0<U.length&&(m=new E(m,C,null,Z,n),o.push({event:m,listeners:U}))}}if(!(A&7)){e:{if(m=v==="mouseover"||v==="pointerover",E=v==="mouseout"||v==="pointerout",m&&!(A&16)&&(C=Z.relatedTarget||Z.fromElement)&&(Ba(C)||C[ki]))break e;if((E||m)&&(m=n.window===n?n:(m=n.ownerDocument)?m.defaultView||m.parentWindow:window,E?(C=Z.relatedTarget||Z.toElement,E=t,C=C?Ba(C):null,C!==null&&(H=ot(C),C!==H||C.tag!==5&&C.tag!==6)&&(C=null)):(E=null,C=t),E!==C)){if(U=Ia,xe="onMouseLeave",$="onMouseEnter",ae="mouse",(v==="pointerout"||v==="pointerover")&&(U=co,xe="onPointerLeave",$="onPointerEnter",ae="pointer"),H=E==null?m:eo(E),ce=C==null?m:eo(C),m=new U(xe,ae+"leave",E,Z,n),m.target=H,m.relatedTarget=ce,xe=null,Ba(n)===t&&(U=new U($,ae+"enter",C,Z,n),U.target=ce,U.relatedTarget=H,xe=U),H=xe,E&&C)t:{for(U=E,$=C,ae=0,ce=U;ce;ce=gn(ce))ae++;for(ce=0,xe=$;xe;xe=gn(xe))ce++;for(;0<ae-ce;)U=gn(U),ae--;for(;0<ce-ae;)$=gn($),ce--;for(;ae--;){if(U===$||$!==null&&U===$.alternate)break t;U=gn(U),$=gn($)}U=null}else U=null;E!==null&&Qn(o,m,E,U,!1),C!==null&&H!==null&&Qn(o,H,C,U,!0)}}e:{if(m=t?eo(t):window,E=m.nodeName&&m.nodeName.toLowerCase(),E==="select"||E==="input"&&m.type==="file")var Te=xn;else if(Fo(m))if(Sn)Te=ft;else{Te=mn;var De=xr}else(E=m.nodeName)&&E.toLowerCase()==="input"&&(m.type==="checkbox"||m.type==="radio")&&(Te=Hn);if(Te&&(Te=Te(v,t))){Qt(o,Te,Z,n);break e}De&&De(v,m,t),v==="focusout"&&(De=m._wrapperState)&&De.controlled&&m.type==="number"&&Me(m,"number",m.value)}switch(De=t?eo(t):window,v){case"focusin":(Fo(De)||De.contentEditable==="true")&&(ci=De,Vs=t,xo=null);break;case"focusout":xo=Vs=ci=null;break;case"mousedown":Os=!0;break;case"contextmenu":case"mouseup":case"dragend":Os=!1,xa(o,Z,n);break;case"selectionchange":if(Ss)break;case"keydown":case"keyup":xa(o,Z,n)}var tt;if(fo)e:{switch(v){case"compositionstart":var at="onCompositionStart";break e;case"compositionend":at="onCompositionEnd";break e;case"compositionupdate":at="onCompositionUpdate";break e}at=void 0}else Do?ou(v,Z)&&(at="onCompositionEnd"):v==="keydown"&&Z.keyCode===229&&(at="onCompositionStart");at&&(Mo&&Z.locale!=="ko"&&(Do||at!=="onCompositionStart"?at==="onCompositionEnd"&&Do&&(tt=Ds()):(oa=n,yi="value"in oa?oa.value:oa.textContent,Do=!0)),De=nn(t,at),0<De.length&&(at=new mo(at,v,null,Z,n),o.push({event:at,listeners:De}),tt?at.data=tt:(tt=jo(Z),tt!==null&&(at.data=tt)))),(tt=zu?Ls(v,Z):bo(v,Z))&&(t=nn(t,"onBeforeInput"),0<t.length&&(n=new mo("onBeforeInput","beforeinput",null,Z,n),o.push({event:n,listeners:t}),n.data=tt))}Ye(o,A)})}function vn(v,A,Z){return{instance:v,listener:A,currentTarget:Z}}function nn(v,A){for(var Z=A+"Capture",ve=[];v!==null;){var Le=v,lt=Le.stateNode;Le.tag===5&&lt!==null&&(Le=lt,lt=_r(v,Z),lt!=null&&ve.unshift(vn(v,lt,Le)),lt=_r(v,A),lt!=null&&ve.push(vn(v,lt,Le))),v=v.return}return ve}function gn(v){if(v===null)return null;do v=v.return;while(v&&v.tag!==5);return v||null}function Qn(v,A,Z,ve,Le){for(var lt=A._reactName,jt=[];Z!==null&&Z!==ve;){var rr=Z,P=rr.alternate,t=rr.stateNode;if(P!==null&&P===ve)break;rr.tag===5&&t!==null&&(rr=t,Le?(P=_r(Z,lt),P!=null&&jt.unshift(vn(Z,P,rr))):Le||(P=_r(Z,lt),P!=null&&jt.push(vn(Z,P,rr)))),Z=Z.return}jt.length!==0&&v.push({event:A,listeners:jt})}function ni(){}var _i=null,Ii=null;function Hi(v,A){switch(v){case"button":case"input":case"select":case"textarea":return!!A.autoFocus}return!1}function Mi(v,A){return v==="textarea"||v==="option"||v==="noscript"||typeof A.children=="string"||typeof A.children=="number"||typeof A.dangerouslySetInnerHTML=="object"&&A.dangerouslySetInnerHTML!==null&&A.dangerouslySetInnerHTML.__html!=null}var wi=typeof setTimeout=="function"?setTimeout:void 0,ma=typeof clearTimeout=="function"?clearTimeout:void 0;function Ci(v){v.nodeType===1?v.textContent="":v.nodeType===9&&(v=v.body,v!=null&&(v.textContent=""))}function bi(v){for(;v!=null;v=v.nextSibling){var A=v.nodeType;if(A===1||A===3)break}return v}function fa(v){v=v.previousSibling;for(var A=0;v;){if(v.nodeType===8){var Z=v.data;if(Z==="$"||Z==="$!"||Z==="$?"){if(A===0)return v;A--}else Z==="/$"&&A++}v=v.previousSibling}return null}var Ks=0;function Es(v){return{$$typeof:z,toString:v,valueOf:v}}var Wi=Math.random().toString(36).slice(2),ka="__reactFiber$"+Wi,ea="__reactProps$"+Wi,ki="__reactContainer$"+Wi,va="__reactEvents$"+Wi;function Ba(v){var A=v[ka];if(A)return A;for(var Z=v.parentNode;Z;){if(A=Z[ki]||Z[ka]){if(Z=A.alternate,A.child!==null||Z!==null&&Z.child!==null)for(v=fa(v);v!==null;){if(Z=v[ka])return Z;v=fa(v)}return A}v=Z,Z=v.parentNode}return null}function Ka(v){return v=v[ka]||v[ki],!v||v.tag!==5&&v.tag!==6&&v.tag!==13&&v.tag!==3?null:v}function eo(v){if(v.tag===5||v.tag===6)return v.stateNode;throw Error(c(33))}function qa(v){return v[ea]||null}function so(v){var A=v[va];return A===void 0&&(A=v[va]=new Set),A}var Ya=[],Ys=-1;function Ms(v){return{current:v}}function da(v){0>Ys||(v.current=Ya[Ys],Ya[Ys]=null,Ys--)}function Ua(v,A){Ys++,Ya[Ys]=v.current,v.current=A}var As={},ga=Ms(As),ye=Ms(!1),we=As;function yr(v,A){var Z=v.type.contextTypes;if(!Z)return As;var ve=v.stateNode;if(ve&&ve.__reactInternalMemoizedUnmaskedChildContext===A)return ve.__reactInternalMemoizedMaskedChildContext;var Le={},lt;for(lt in Z)Le[lt]=A[lt];return ve&&(v=v.stateNode,v.__reactInternalMemoizedUnmaskedChildContext=A,v.__reactInternalMemoizedMaskedChildContext=Le),Le}function Jr(v){return v=v.childContextTypes,v!=null}function br(){da(ye),da(ga)}function Qr(v,A,Z){if(ga.current!==As)throw Error(c(168));Ua(ga,A),Ua(ye,Z)}function Cn(v,A,Z){var ve=v.stateNode;if(v=A.childContextTypes,typeof ve.getChildContext!="function")return Z;ve=ve.getChildContext();for(var Le in ve)if(!(Le in v))throw Error(c(108,er(A)||"Unknown",Le));return i({},Z,ve)}function ri(v){return v=(v=v.stateNode)&&v.__reactInternalMemoizedMergedChildContext||As,we=ga.current,Ua(ga,v),Ua(ye,ye.current),!0}function Fi(v,A,Z){var ve=v.stateNode;if(!ve)throw Error(c(169));Z?(v=Cn(v,A,we),ve.__reactInternalMemoizedMergedChildContext=v,da(ye),da(ga),Ua(ga,v)):da(ye),Ua(ye,Z)}var Mn=null,Dn=null,Bn=l.unstable_runWithPriority,ia=l.unstable_scheduleCallback,Ui=l.unstable_cancelCallback,ho=l.unstable_shouldYield,Xs=l.unstable_requestPaint,eu=l.unstable_now,hl=l.unstable_getCurrentPriorityLevel,qu=l.unstable_ImmediatePriority,vu=l.unstable_UserBlockingPriority,Uc=l.unstable_NormalPriority,Pu=l.unstable_LowPriority,Ve=l.unstable_IdlePriority,W={},ee=Xs!==void 0?Xs:function(){},ne=null,he=null,Ae=!1,Ge=eu(),xt=1e4>Ge?eu:function(){return eu()-Ge};function Ft(){switch(hl()){case qu:return 99;case vu:return 98;case Uc:return 97;case Pu:return 96;case Ve:return 95;default:throw Error(c(332))}}function nr(v){switch(v){case 99:return qu;case 98:return vu;case 97:return Uc;case 96:return Pu;case 95:return Ve;default:throw Error(c(332))}}function Tr(v,A){return v=nr(v),Bn(v,A)}function Wr(v,A,Z){return v=nr(v),ia(v,A,Z)}function an(){if(he!==null){var v=he;he=null,Ui(v)}wn()}function wn(){if(!Ae&&ne!==null){Ae=!0;var v=0;try{var A=ne;Tr(99,function(){for(;v<A.length;v++){var Z=A[v];do Z=Z(!0);while(Z!==null)}}),ne=null}catch(Z){throw ne!==null&&(ne=ne.slice(v+1)),ia(qu,an),Z}finally{Ae=!1}}}var Nn=j.ReactCurrentBatchConfig;function Wn(v,A){if(v&&v.defaultProps){A=i({},A),v=v.defaultProps;for(var Z in v)A[Z]===void 0&&(A[Z]=v[Z]);return A}return A}var pi=Ms(null),Sr=null,aa=null,sa=null;function is(){sa=aa=Sr=null}function Za(v){var A=pi.current;da(pi),v.type._context._currentValue=A}function ws(v,A){for(;v!==null;){var Z=v.alternate;if((v.childLanes&A)===A){if(Z===null||(Z.childLanes&A)===A)break;Z.childLanes|=A}else v.childLanes|=A,Z!==null&&(Z.childLanes|=A);v=v.return}}function as(v,A){Sr=v,sa=aa=null,v=v.dependencies,v!==null&&v.firstContext!==null&&(v.lanes&A&&(Ru=!0),v.firstContext=null)}function Aa(v,A){if(sa!==v&&A!==!1&&A!==0)if((typeof A!="number"||A===1073741823)&&(sa=v,A=1073741823),A={context:v,observedBits:A,next:null},aa===null){if(Sr===null)throw Error(c(308));aa=A,Sr.dependencies={lanes:0,firstContext:A,responders:null}}else aa=aa.next=A;return v._currentValue}var Fs=!1;function Rs(v){v.updateQueue={baseState:v.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function fi(v,A){v=v.updateQueue,A.updateQueue===v&&(A.updateQueue={baseState:v.baseState,firstBaseUpdate:v.firstBaseUpdate,lastBaseUpdate:v.lastBaseUpdate,shared:v.shared,effects:v.effects})}function Qs(v,A){return{eventTime:v,lane:A,tag:0,payload:null,callback:null,next:null}}function po(v,A){if(v=v.updateQueue,v!==null){v=v.shared;var Z=v.pending;Z===null?A.next=A:(A.next=Z.next,Z.next=A),v.pending=A}}function Oo(v,A){var Z=v.updateQueue,ve=v.alternate;if(ve!==null&&(ve=ve.updateQueue,Z===ve)){var Le=null,lt=null;if(Z=Z.firstBaseUpdate,Z!==null){do{var jt={eventTime:Z.eventTime,lane:Z.lane,tag:Z.tag,payload:Z.payload,callback:Z.callback,next:null};lt===null?Le=lt=jt:lt=lt.next=jt,Z=Z.next}while(Z!==null);lt===null?Le=lt=A:lt=lt.next=A}else Le=lt=A;Z={baseState:ve.baseState,firstBaseUpdate:Le,lastBaseUpdate:lt,shared:ve.shared,effects:ve.effects},v.updateQueue=Z;return}v=Z.lastBaseUpdate,v===null?Z.firstBaseUpdate=A:v.next=A,Z.lastBaseUpdate=A}function za(v,A,Z,ve){var Le=v.updateQueue;Fs=!1;var lt=Le.firstBaseUpdate,jt=Le.lastBaseUpdate,rr=Le.shared.pending;if(rr!==null){Le.shared.pending=null;var P=rr,t=P.next;P.next=null,jt===null?lt=t:jt.next=t,jt=P;var n=v.alternate;if(n!==null){n=n.updateQueue;var o=n.lastBaseUpdate;o!==jt&&(o===null?n.firstBaseUpdate=t:o.next=t,n.lastBaseUpdate=P)}}if(lt!==null){o=Le.baseState,jt=0,n=t=P=null;do{rr=lt.lane;var m=lt.eventTime;if((ve&rr)===rr){n!==null&&(n=n.next={eventTime:m,lane:0,tag:lt.tag,payload:lt.payload,callback:lt.callback,next:null});e:{var E=v,C=lt;switch(rr=A,m=Z,C.tag){case 1:if(E=C.payload,typeof E=="function"){o=E.call(m,o,rr);break e}o=E;break e;case 3:E.flags=E.flags&-4097|64;case 0:if(E=C.payload,rr=typeof E=="function"?E.call(m,o,rr):E,rr==null)break e;o=i({},o,rr);break e;case 2:Fs=!0}}lt.callback!==null&&(v.flags|=32,rr=Le.effects,rr===null?Le.effects=[lt]:rr.push(lt))}else m={eventTime:m,lane:rr,tag:lt.tag,payload:lt.payload,callback:lt.callback,next:null},n===null?(t=n=m,P=o):n=n.next=m,jt|=rr;if(lt=lt.next,lt===null){if(rr=Le.shared.pending,rr===null)break;lt=rr.next,rr.next=null,Le.lastBaseUpdate=rr,Le.shared.pending=null}}while(!0);n===null&&(P=o),Le.baseState=P,Le.firstBaseUpdate=t,Le.lastBaseUpdate=n,io|=jt,v.lanes=jt,v.memoizedState=o}}function Eo(v,A,Z){if(v=A.effects,A.effects=null,v!==null)for(A=0;A<v.length;A++){var ve=v[A],Le=ve.callback;if(Le!==null){if(ve.callback=null,ve=Z,typeof Le!="function")throw Error(c(191,Le));Le.call(ve)}}}var zs=new r.Component().refs;function Al(v,A,Z,ve){A=v.memoizedState,Z=Z(ve,A),Z=Z==null?A:i({},A,Z),v.memoizedState=Z,v.lanes===0&&(v.updateQueue.baseState=Z)}var Ju={isMounted:function(v){return(v=v._reactInternals)?ot(v)===v:!1},enqueueSetState:function(v,A,Z){v=v._reactInternals;var ve=hu(),Le=$u(v),lt=Qs(ve,Le);lt.payload=A,Z!=null&&(lt.callback=Z),po(v,lt),El(v,Le,ve)},enqueueReplaceState:function(v,A,Z){v=v._reactInternals;var ve=hu(),Le=$u(v),lt=Qs(ve,Le);lt.tag=1,lt.payload=A,Z!=null&&(lt.callback=Z),po(v,lt),El(v,Le,ve)},enqueueForceUpdate:function(v,A){v=v._reactInternals;var Z=hu(),ve=$u(v),Le=Qs(Z,ve);Le.tag=2,A!=null&&(Le.callback=A),po(v,Le),El(v,ve,Z)}};function el(v,A,Z,ve,Le,lt,jt){return v=v.stateNode,typeof v.shouldComponentUpdate=="function"?v.shouldComponentUpdate(ve,lt,jt):A.prototype&&A.prototype.isPureReactComponent?!Qi(Z,ve)||!Qi(Le,lt):!0}function gu(v,A,Z){var ve=!1,Le=As,lt=A.contextType;return typeof lt=="object"&&lt!==null?lt=Aa(lt):(Le=Jr(A)?we:ga.current,ve=A.contextTypes,lt=(ve=ve!=null)?yr(v,Le):As),A=new A(Z,lt),v.memoizedState=A.state!==null&&A.state!==void 0?A.state:null,A.updater=Ju,v.stateNode=A,A._reactInternals=v,ve&&(v=v.stateNode,v.__reactInternalMemoizedUnmaskedChildContext=Le,v.__reactInternalMemoizedMaskedChildContext=lt),A}function ss(v,A,Z,ve){v=A.state,typeof A.componentWillReceiveProps=="function"&&A.componentWillReceiveProps(Z,ve),typeof A.UNSAFE_componentWillReceiveProps=="function"&&A.UNSAFE_componentWillReceiveProps(Z,ve),A.state!==v&&Ju.enqueueReplaceState(A,A.state,null)}function uu(v,A,Z,ve){var Le=v.stateNode;Le.props=Z,Le.state=v.memoizedState,Le.refs=zs,Rs(v);var lt=A.contextType;typeof lt=="object"&&lt!==null?Le.context=Aa(lt):(lt=Jr(A)?we:ga.current,Le.context=yr(v,lt)),za(v,Z,Le,ve),Le.state=v.memoizedState,lt=A.getDerivedStateFromProps,typeof lt=="function"&&(Al(v,A,lt,Z),Le.state=v.memoizedState),typeof A.getDerivedStateFromProps=="function"||typeof Le.getSnapshotBeforeUpdate=="function"||typeof Le.UNSAFE_componentWillMount!="function"&&typeof Le.componentWillMount!="function"||(A=Le.state,typeof Le.componentWillMount=="function"&&Le.componentWillMount(),typeof Le.UNSAFE_componentWillMount=="function"&&Le.UNSAFE_componentWillMount(),A!==Le.state&&Ju.enqueueReplaceState(Le,Le.state,null),za(v,Z,Le,ve),Le.state=v.memoizedState),typeof Le.componentDidMount=="function"&&(v.flags|=4)}var yu=Array.isArray;function wo(v,A,Z){if(v=Z.ref,v!==null&&typeof v!="function"&&typeof v!="object"){if(Z._owner){if(Z=Z._owner,Z){if(Z.tag!==1)throw Error(c(309));var ve=Z.stateNode}if(!ve)throw Error(c(147,v));var Le=""+v;return A!==null&&A.ref!==null&&typeof A.ref=="function"&&A.ref._stringRef===Le?A.ref:(A=function(lt){var jt=ve.refs;jt===zs&&(jt=ve.refs={}),lt===null?delete jt[Le]:jt[Le]=lt},A._stringRef=Le,A)}if(typeof v!="string")throw Error(c(284));if(!Z._owner)throw Error(c(290,v))}return v}function tl(v,A){if(v.type!=="textarea")throw Error(c(31,Object.prototype.toString.call(A)==="[object Object]"?"object with keys {"+Object.keys(A).join(", ")+"}":A))}function Iu(v){function A(H,$){if(v){var ae=H.lastEffect;ae!==null?(ae.nextEffect=$,H.lastEffect=$):H.firstEffect=H.lastEffect=$,$.nextEffect=null,$.flags=8}}function Z(H,$){if(!v)return null;for(;$!==null;)A(H,$),$=$.sibling;return null}function ve(H,$){for(H=new Map;$!==null;)$.key!==null?H.set($.key,$):H.set($.index,$),$=$.sibling;return H}function Le(H,$){return H=fl(H,$),H.index=0,H.sibling=null,H}function lt(H,$,ae){return H.index=ae,v?(ae=H.alternate,ae!==null?(ae=ae.index,ae<$?(H.flags=2,$):ae):(H.flags=2,$)):$}function jt(H){return v&&H.alternate===null&&(H.flags=2),H}function rr(H,$,ae,ce){return $===null||$.tag!==6?($=_f(ae,H.mode,ce),$.return=H,$):($=Le($,ae),$.return=H,$)}function P(H,$,ae,ce){return $!==null&&$.elementType===ae.type?(ce=Le($,ae.props),ce.ref=wo(H,$,ae),ce.return=H,ce):(ce=Bl(ae.type,ae.key,ae.props,null,H.mode,ce),ce.ref=wo(H,$,ae),ce.return=H,ce)}function t(H,$,ae,ce){return $===null||$.tag!==4||$.stateNode.containerInfo!==ae.containerInfo||$.stateNode.implementation!==ae.implementation?($=Mc(ae,H.mode,ce),$.return=H,$):($=Le($,ae.children||[]),$.return=H,$)}function n(H,$,ae,ce,xe){return $===null||$.tag!==7?($=Wo(ae,H.mode,ce,xe),$.return=H,$):($=Le($,ae),$.return=H,$)}function o(H,$,ae){if(typeof $=="string"||typeof $=="number")return $=_f(""+$,H.mode,ae),$.return=H,$;if(typeof $=="object"&&$!==null){switch($.$$typeof){case Q:return ae=Bl($.type,$.key,$.props,null,H.mode,ae),ae.ref=wo(H,null,$),ae.return=H,ae;case X:return $=Mc($,H.mode,ae),$.return=H,$}if(yu($)||Ze($))return $=Wo($,H.mode,ae,null),$.return=H,$;tl(H,$)}return null}function m(H,$,ae,ce){var xe=$!==null?$.key:null;if(typeof ae=="string"||typeof ae=="number")return xe!==null?null:rr(H,$,""+ae,ce);if(typeof ae=="object"&&ae!==null){switch(ae.$$typeof){case Q:return ae.key===xe?ae.type===Y?n(H,$,ae.props.children,ce,xe):P(H,$,ae,ce):null;case X:return ae.key===xe?t(H,$,ae,ce):null}if(yu(ae)||Ze(ae))return xe!==null?null:n(H,$,ae,ce,null);tl(H,ae)}return null}function E(H,$,ae,ce,xe){if(typeof ce=="string"||typeof ce=="number")return H=H.get(ae)||null,rr($,H,""+ce,xe);if(typeof ce=="object"&&ce!==null){switch(ce.$$typeof){case Q:return H=H.get(ce.key===null?ae:ce.key)||null,ce.type===Y?n($,H,ce.props.children,xe,ce.key):P($,H,ce,xe);case X:return H=H.get(ce.key===null?ae:ce.key)||null,t($,H,ce,xe)}if(yu(ce)||Ze(ce))return H=H.get(ae)||null,n($,H,ce,xe,null);tl($,ce)}return null}function C(H,$,ae,ce){for(var xe=null,Te=null,De=$,tt=$=0,at=null;De!==null&&tt<ae.length;tt++){De.index>tt?(at=De,De=null):at=De.sibling;var Bt=m(H,De,ae[tt],ce);if(Bt===null){De===null&&(De=at);break}v&&De&&Bt.alternate===null&&A(H,De),$=lt(Bt,$,tt),Te===null?xe=Bt:Te.sibling=Bt,Te=Bt,De=at}if(tt===ae.length)return Z(H,De),xe;if(De===null){for(;tt<ae.length;tt++)De=o(H,ae[tt],ce),De!==null&&($=lt(De,$,tt),Te===null?xe=De:Te.sibling=De,Te=De);return xe}for(De=ve(H,De);tt<ae.length;tt++)at=E(De,H,tt,ae[tt],ce),at!==null&&(v&&at.alternate!==null&&De.delete(at.key===null?tt:at.key),$=lt(at,$,tt),Te===null?xe=at:Te.sibling=at,Te=at);return v&&De.forEach(function(dr){return A(H,dr)}),xe}function U(H,$,ae,ce){var xe=Ze(ae);if(typeof xe!="function")throw Error(c(150));if(ae=xe.call(ae),ae==null)throw Error(c(151));for(var Te=xe=null,De=$,tt=$=0,at=null,Bt=ae.next();De!==null&&!Bt.done;tt++,Bt=ae.next()){De.index>tt?(at=De,De=null):at=De.sibling;var dr=m(H,De,Bt.value,ce);if(dr===null){De===null&&(De=at);break}v&&De&&dr.alternate===null&&A(H,De),$=lt(dr,$,tt),Te===null?xe=dr:Te.sibling=dr,Te=dr,De=at}if(Bt.done)return Z(H,De),xe;if(De===null){for(;!Bt.done;tt++,Bt=ae.next())Bt=o(H,Bt.value,ce),Bt!==null&&($=lt(Bt,$,tt),Te===null?xe=Bt:Te.sibling=Bt,Te=Bt);return xe}for(De=ve(H,De);!Bt.done;tt++,Bt=ae.next())Bt=E(De,H,tt,Bt.value,ce),Bt!==null&&(v&&Bt.alternate!==null&&De.delete(Bt.key===null?tt:Bt.key),$=lt(Bt,$,tt),Te===null?xe=Bt:Te.sibling=Bt,Te=Bt);return v&&De.forEach(function(ar){return A(H,ar)}),xe}return function(H,$,ae,ce){var xe=typeof ae=="object"&&ae!==null&&ae.type===Y&&ae.key===null;xe&&(ae=ae.props.children);var Te=typeof ae=="object"&&ae!==null;if(Te)switch(ae.$$typeof){case Q:e:{for(Te=ae.key,xe=$;xe!==null;){if(xe.key===Te){switch(xe.tag){case 7:if(ae.type===Y){Z(H,xe.sibling),$=Le(xe,ae.props.children),$.return=H,H=$;break e}break;default:if(xe.elementType===ae.type){Z(H,xe.sibling),$=Le(xe,ae.props),$.ref=wo(H,xe,ae),$.return=H,H=$;break e}}Z(H,xe);break}else A(H,xe);xe=xe.sibling}ae.type===Y?($=Wo(ae.props.children,H.mode,ce,ae.key),$.return=H,H=$):(ce=Bl(ae.type,ae.key,ae.props,null,H.mode,ce),ce.ref=wo(H,$,ae),ce.return=H,H=ce)}return jt(H);case X:e:{for(xe=ae.key;$!==null;){if($.key===xe)if($.tag===4&&$.stateNode.containerInfo===ae.containerInfo&&$.stateNode.implementation===ae.implementation){Z(H,$.sibling),$=Le($,ae.children||[]),$.return=H,H=$;break e}else{Z(H,$);break}else A(H,$);$=$.sibling}$=Mc(ae,H.mode,ce),$.return=H,H=$}return jt(H)}if(typeof ae=="string"||typeof ae=="number")return ae=""+ae,$!==null&&$.tag===6?(Z(H,$.sibling),$=Le($,ae),$.return=H,H=$):(Z(H,$),$=_f(ae,H.mode,ce),$.return=H,H=$),jt(H);if(yu(ae))return C(H,$,ae,ce);if(Ze(ae))return U(H,$,ae,ce);if(Te&&tl(H,ae),typeof ae=="undefined"&&!xe)switch(H.tag){case 1:case 22:case 0:case 11:case 15:throw Error(c(152,er(H.type)||"Component"))}return Z(H,$)}}var Yo=Iu(!0),zl=Iu(!1),Zs={},Uo=Ms(Zs),Du=Ms(Zs),Zl=Ms(Zs);function lu(v){if(v===Zs)throw Error(c(174));return v}function oc(v,A){switch(Ua(Zl,A),Ua(Du,v),Ua(Uo,Zs),v=A.nodeType,v){case 9:case 11:A=(A=A.documentElement)?A.namespaceURI:kt(null,"");break;default:v=v===8?A.parentNode:A,A=v.namespaceURI||null,v=v.tagName,A=kt(A,v)}da(Uo),Ua(Uo,A)}function Zu(){da(Uo),da(Du),da(Zl)}function ai(v){lu(Zl.current);var A=lu(Uo.current),Z=kt(A,v.type);A!==Z&&(Ua(Du,v),Ua(Uo,Z))}function Sc(v){Du.current===v&&(da(Uo),da(Du))}var to=Ms(0);function uc(v){for(var A=v;A!==null;){if(A.tag===13){var Z=A.memoizedState;if(Z!==null&&(Z=Z.dehydrated,Z===null||Z.data==="$?"||Z.data==="$!"))return A}else if(A.tag===19&&A.memoizedProps.revealOrder!==void 0){if(A.flags&64)return A}else if(A.child!==null){A.child.return=A,A=A.child;continue}if(A===v)break;for(;A.sibling===null;){if(A.return===null||A.return===v)return null;A=A.return}A.sibling.return=A.return,A=A.sibling}return null}var tu=null,rl=null,Hu=!1;function lc(v,A){var Z=Ho(5,null,null,0);Z.elementType="DELETED",Z.type="DELETED",Z.stateNode=A,Z.return=v,Z.flags=8,v.lastEffect!==null?(v.lastEffect.nextEffect=Z,v.lastEffect=Z):v.firstEffect=v.lastEffect=Z}function Ac(v,A){switch(v.tag){case 5:var Z=v.type;return A=A.nodeType!==1||Z.toLowerCase()!==A.nodeName.toLowerCase()?null:A,A!==null?(v.stateNode=A,!0):!1;case 6:return A=v.pendingProps===""||A.nodeType!==3?null:A,A!==null?(v.stateNode=A,!0):!1;case 13:return!1;default:return!1}}function qs(v){if(Hu){var A=rl;if(A){var Z=A;if(!Ac(v,A)){if(A=bi(Z.nextSibling),!A||!Ac(v,A)){v.flags=v.flags&-1025|2,Hu=!1,tu=v;return}lc(tu,Z)}tu=v,rl=bi(A.firstChild)}else v.flags=v.flags&-1025|2,Hu=!1,tu=v}}function cc(v){for(v=v.return;v!==null&&v.tag!==5&&v.tag!==3&&v.tag!==13;)v=v.return;tu=v}function uf(v){if(v!==tu)return!1;if(!Hu)return cc(v),Hu=!0,!1;var A=v.type;if(v.tag!==5||A!=="head"&&A!=="body"&&!Mi(A,v.memoizedProps))for(A=rl;A;)lc(v,A),A=bi(A.nextSibling);if(cc(v),v.tag===13){if(v=v.memoizedState,v=v!==null?v.dehydrated:null,!v)throw Error(c(317));e:{for(v=v.nextSibling,A=0;v;){if(v.nodeType===8){var Z=v.data;if(Z==="/$"){if(A===0){rl=bi(v.nextSibling);break e}A--}else Z!=="$"&&Z!=="$!"&&Z!=="$?"||A++}v=v.nextSibling}rl=null}}else rl=tu?bi(v.stateNode.nextSibling):null;return!0}function Bo(){rl=tu=null,Hu=!1}var Cl=[];function Cc(){for(var v=0;v<Cl.length;v++)Cl[v]._workInProgressVersionPrimary=null;Cl.length=0}var Hl=j.ReactCurrentDispatcher,bu=j.ReactCurrentBatchConfig,Wl=0,Hs=null,ro=null,No=null,Wu=!1,Tl=!1;function ru(){throw Error(c(321))}function Tc(v,A){if(A===null)return!1;for(var Z=0;Z<A.length&&Z<v.length;Z++)if(!Vn(v[Z],A[Z]))return!1;return!0}function cu(v,A,Z,ve,Le,lt){if(Wl=lt,Hs=A,A.memoizedState=null,A.updateQueue=null,A.lanes=0,Hl.current=v===null||v.memoizedState===null?no:Gc,v=Z(ve,Le),Tl){lt=0;do{if(Tl=!1,!(25>lt))throw Error(c(301));lt+=1,No=ro=null,A.updateQueue=null,Hl.current=Ic,v=Z(ve,Le)}while(Tl)}if(Hl.current=Vl,A=ro!==null&&ro.next!==null,Wl=0,No=ro=Hs=null,Wu=!1,A)throw Error(c(300));return v}function Xo(){var v={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return No===null?Hs.memoizedState=No=v:No=No.next=v,No}function pl(){if(ro===null){var v=Hs.alternate;v=v!==null?v.memoizedState:null}else v=ro.next;var A=No===null?Hs.memoizedState:No.next;if(A!==null)No=A,ro=v;else{if(v===null)throw Error(c(310));ro=v,v={memoizedState:ro.memoizedState,baseState:ro.baseState,baseQueue:ro.baseQueue,queue:ro.queue,next:null},No===null?Hs.memoizedState=No=v:No=No.next=v}return No}function xu(v,A){return typeof A=="function"?A(v):A}function fc(v){var A=pl(),Z=A.queue;if(Z===null)throw Error(c(311));Z.lastRenderedReducer=v;var ve=ro,Le=ve.baseQueue,lt=Z.pending;if(lt!==null){if(Le!==null){var jt=Le.next;Le.next=lt.next,lt.next=jt}ve.baseQueue=Le=lt,Z.pending=null}if(Le!==null){Le=Le.next,ve=ve.baseState;var rr=jt=lt=null,P=Le;do{var t=P.lane;if((Wl&t)===t)rr!==null&&(rr=rr.next={lane:0,action:P.action,eagerReducer:P.eagerReducer,eagerState:P.eagerState,next:null}),ve=P.eagerReducer===v?P.eagerState:v(ve,P.action);else{var n={lane:t,action:P.action,eagerReducer:P.eagerReducer,eagerState:P.eagerState,next:null};rr===null?(jt=rr=n,lt=ve):rr=rr.next=n,Hs.lanes|=t,io|=t}P=P.next}while(P!==null&&P!==Le);rr===null?lt=ve:rr.next=jt,Vn(ve,A.memoizedState)||(Ru=!0),A.memoizedState=ve,A.baseState=lt,A.baseQueue=rr,Z.lastRenderedState=ve}return[A.memoizedState,Z.dispatch]}function _l(v){var A=pl(),Z=A.queue;if(Z===null)throw Error(c(311));Z.lastRenderedReducer=v;var ve=Z.dispatch,Le=Z.pending,lt=A.memoizedState;if(Le!==null){Z.pending=null;var jt=Le=Le.next;do lt=v(lt,jt.action),jt=jt.next;while(jt!==Le);Vn(lt,A.memoizedState)||(Ru=!0),A.memoizedState=lt,A.baseQueue===null&&(A.baseState=lt),Z.lastRenderedState=lt}return[lt,ve]}function Ra(v,A,Z){var ve=A._getVersion;ve=ve(A._source);var Le=A._workInProgressVersionPrimary;if(Le!==null?v=Le===ve:(v=v.mutableReadLanes,(v=(Wl&v)===v)&&(A._workInProgressVersionPrimary=ve,Cl.push(A))),v)return Z(A._source);throw Cl.push(A),Error(c(350))}function lf(v,A,Z,ve){var Le=en;if(Le===null)throw Error(c(349));var lt=A._getVersion,jt=lt(A._source),rr=Hl.current,P=rr.useState(function(){return Ra(Le,A,Z)}),t=P[1],n=P[0];P=No;var o=v.memoizedState,m=o.refs,E=m.getSnapshot,C=o.source;o=o.subscribe;var U=Hs;return v.memoizedState={refs:m,source:A,subscribe:ve},rr.useEffect(function(){m.getSnapshot=Z,m.setSnapshot=t;var H=lt(A._source);if(!Vn(jt,H)){H=Z(A._source),Vn(n,H)||(t(H),H=$u(U),Le.mutableReadLanes|=H&Le.pendingLanes),H=Le.mutableReadLanes,Le.entangledLanes|=H;for(var $=Le.entanglements,ae=H;0<ae;){var ce=31-gi(ae),xe=1<<ce;$[ce]|=H,ae&=~xe}}},[Z,A,ve]),rr.useEffect(function(){return ve(A._source,function(){var H=m.getSnapshot,$=m.setSnapshot;try{$(H(A._source));var ae=$u(U);Le.mutableReadLanes|=ae&Le.pendingLanes}catch(ce){$(function(){throw ce})}})},[A,ve]),Vn(E,Z)&&Vn(C,A)&&Vn(o,ve)||(v={pending:null,dispatch:null,lastRenderedReducer:xu,lastRenderedState:n},v.dispatch=t=Wc.bind(null,Hs,v),P.queue=v,P.baseQueue=null,n=Ra(Le,A,Z),P.memoizedState=P.baseState=n),n}function zc(v,A,Z){var ve=pl();return lf(ve,v,A,Z)}function Ou(v){var A=Xo();return typeof v=="function"&&(v=v()),A.memoizedState=A.baseState=v,v=A.queue={pending:null,dispatch:null,lastRenderedReducer:xu,lastRenderedState:v},v=v.dispatch=Wc.bind(null,Hs,v),[A.memoizedState,v]}function Pc(v,A,Z,ve){return v={tag:v,create:A,destroy:Z,deps:ve,next:null},A=Hs.updateQueue,A===null?(A={lastEffect:null},Hs.updateQueue=A,A.lastEffect=v.next=v):(Z=A.lastEffect,Z===null?A.lastEffect=v.next=v:(ve=Z.next,Z.next=v,v.next=ve,A.lastEffect=v)),v}function cf(v){var A=Xo();return v={current:v},A.memoizedState=v}function dc(){return pl().memoizedState}function nu(v,A,Z,ve){var Le=Xo();Hs.flags|=v,Le.memoizedState=Pc(1|A,Z,void 0,ve===void 0?null:ve)}function Zc(v,A,Z,ve){var Le=pl();ve=ve===void 0?null:ve;var lt=void 0;if(ro!==null){var jt=ro.memoizedState;if(lt=jt.destroy,ve!==null&&Tc(ve,jt.deps)){Pc(A,Z,lt,ve);return}}Hs.flags|=v,Le.memoizedState=Pc(1|A,Z,lt,ve)}function hc(v,A){return nu(516,4,v,A)}function Gl(v,A){return Zc(516,4,v,A)}function Hc(v,A){return Zc(4,2,v,A)}function pc(v,A){if(typeof A=="function")return v=v(),A(v),function(){A(null)};if(A!=null)return v=v(),A.current=v,function(){A.current=null}}function zo(v,A,Z){return Z=Z!=null?Z.concat([v]):null,Zc(4,2,pc.bind(null,A,v),Z)}function Gu(){}function Pl(v,A){var Z=pl();A=A===void 0?null:A;var ve=Z.memoizedState;return ve!==null&&A!==null&&Tc(A,ve[1])?ve[0]:(Z.memoizedState=[v,A],v)}function Eu(v,A){var Z=pl();A=A===void 0?null:A;var ve=Z.memoizedState;return ve!==null&&A!==null&&Tc(A,ve[1])?ve[0]:(v=v(),Z.memoizedState=[v,A],v)}function _c(v,A){var Z=Ft();Tr(98>Z?98:Z,function(){v(!0)}),Tr(97<Z?97:Z,function(){var ve=bu.transition;bu.transition=1;try{v(!1),A()}finally{bu.transition=ve}})}function Wc(v,A,Z){var ve=hu(),Le=$u(v),lt={lane:Le,action:Z,eagerReducer:null,eagerState:null,next:null},jt=A.pending;if(jt===null?lt.next=lt:(lt.next=jt.next,jt.next=lt),A.pending=lt,jt=v.alternate,v===Hs||jt!==null&&jt===Hs)Tl=Wu=!0;else{if(v.lanes===0&&(jt===null||jt.lanes===0)&&(jt=A.lastRenderedReducer,jt!==null))try{var rr=A.lastRenderedState,P=jt(rr,Z);if(lt.eagerReducer=jt,lt.eagerState=P,Vn(P,rr))return}catch(t){}finally{}El(v,Le,ve)}}var Vl={readContext:Aa,useCallback:ru,useContext:ru,useEffect:ru,useImperativeHandle:ru,useLayoutEffect:ru,useMemo:ru,useReducer:ru,useRef:ru,useState:ru,useDebugValue:ru,useDeferredValue:ru,useTransition:ru,useMutableSource:ru,useOpaqueIdentifier:ru,unstable_isNewReconciler:!1},no={readContext:Aa,useCallback:function(v,A){return Xo().memoizedState=[v,A===void 0?null:A],v},useContext:Aa,useEffect:hc,useImperativeHandle:function(v,A,Z){return Z=Z!=null?Z.concat([v]):null,nu(4,2,pc.bind(null,A,v),Z)},useLayoutEffect:function(v,A){return nu(4,2,v,A)},useMemo:function(v,A){var Z=Xo();return A=A===void 0?null:A,v=v(),Z.memoizedState=[v,A],v},useReducer:function(v,A,Z){var ve=Xo();return A=Z!==void 0?Z(A):A,ve.memoizedState=ve.baseState=A,v=ve.queue={pending:null,dispatch:null,lastRenderedReducer:v,lastRenderedState:A},v=v.dispatch=Wc.bind(null,Hs,v),[ve.memoizedState,v]},useRef:cf,useState:Ou,useDebugValue:Gu,useDeferredValue:function(v){var A=Ou(v),Z=A[0],ve=A[1];return hc(function(){var Le=bu.transition;bu.transition=1;try{ve(v)}finally{bu.transition=Le}},[v]),Z},useTransition:function(){var v=Ou(!1),A=v[0];return v=_c.bind(null,v[1]),cf(v),[v,A]},useMutableSource:function(v,A,Z){var ve=Xo();return ve.memoizedState={refs:{getSnapshot:A,setSnapshot:null},source:v,subscribe:Z},lf(ve,v,A,Z)},useOpaqueIdentifier:function(){if(Hu){var v=!1,A=Es(function(){throw v||(v=!0,Z("r:"+(Ks++).toString(36))),Error(c(355))}),Z=Ou(A)[1];return!(Hs.mode&2)&&(Hs.flags|=516,Pc(5,function(){Z("r:"+(Ks++).toString(36))},void 0,null)),A}return A="r:"+(Ks++).toString(36),Ou(A),A},unstable_isNewReconciler:!1},Gc={readContext:Aa,useCallback:Pl,useContext:Aa,useEffect:Gl,useImperativeHandle:zo,useLayoutEffect:Hc,useMemo:Eu,useReducer:fc,useRef:dc,useState:function(){return fc(xu)},useDebugValue:Gu,useDeferredValue:function(v){var A=fc(xu),Z=A[0],ve=A[1];return Gl(function(){var Le=bu.transition;bu.transition=1;try{ve(v)}finally{bu.transition=Le}},[v]),Z},useTransition:function(){var v=fc(xu)[0];return[dc().current,v]},useMutableSource:zc,useOpaqueIdentifier:function(){return fc(xu)[0]},unstable_isNewReconciler:!1},Ic={readContext:Aa,useCallback:Pl,useContext:Aa,useEffect:Gl,useImperativeHandle:zo,useLayoutEffect:Hc,useMemo:Eu,useReducer:_l,useRef:dc,useState:function(){return _l(xu)},useDebugValue:Gu,useDeferredValue:function(v){var A=_l(xu),Z=A[0],ve=A[1];return Gl(function(){var Le=bu.transition;bu.transition=1;try{ve(v)}finally{bu.transition=Le}},[v]),Z},useTransition:function(){var v=_l(xu)[0];return[dc().current,v]},useMutableSource:zc,useOpaqueIdentifier:function(){return _l(xu)[0]},unstable_isNewReconciler:!1},ku=j.ReactCurrentOwner,Ru=!1;function $s(v,A,Z,ve){A.child=v===null?zl(A,null,Z,ve):Yo(A,v.child,Z,ve)}function ml(v,A,Z,ve,Le){Z=Z.render;var lt=A.ref;return as(A,Le),ve=cu(v,A,Z,ve,lt,Le),v!==null&&!Ru?(A.updateQueue=v.updateQueue,A.flags&=-517,v.lanes&=~Le,Su(v,A,Le)):(A.flags|=1,$s(v,A,ve,Le),A.child)}function ff(v,A,Z,ve,Le,lt){if(v===null){var jt=Z.type;return typeof jt=="function"&&!tf(jt)&&jt.defaultProps===void 0&&Z.compare===null&&Z.defaultProps===void 0?(A.tag=15,A.type=jt,mc(v,A,jt,ve,Le,lt)):(v=Bl(Z.type,null,ve,A,A.mode,lt),v.ref=A.ref,v.return=A,A.child=v)}return jt=v.child,!(Le&lt)&&(Le=jt.memoizedProps,Z=Z.compare,Z=Z!==null?Z:Qi,Z(Le,ve)&&v.ref===A.ref)?Su(v,A,lt):(A.flags|=1,v=fl(jt,ve),v.ref=A.ref,v.return=A,A.child=v)}function mc(v,A,Z,ve,Le,lt){if(v!==null&&Qi(v.memoizedProps,ve)&&v.ref===A.ref)if(Ru=!1,(lt&Le)!==0)v.flags&16384&&(Ru=!0);else return A.lanes=v.lanes,Su(v,A,lt);return ko(v,A,Z,ve,lt)}function Vc(v,A,Z){var ve=A.pendingProps,Le=ve.children,lt=v!==null?v.memoizedState:null;if(ve.mode==="hidden"||ve.mode==="unstable-defer-without-hiding")if(!(A.mode&4))A.memoizedState={baseLanes:0},zi(A,Z);else if(Z&1073741824)A.memoizedState={baseLanes:0},zi(A,lt!==null?lt.baseLanes:Z);else return v=lt!==null?lt.baseLanes|Z:Z,A.lanes=A.childLanes=1073741824,A.memoizedState={baseLanes:v},zi(A,v),null;else lt!==null?(ve=lt.baseLanes|Z,A.memoizedState=null):ve=Z,zi(A,ve);return $s(v,A,Le,Z),A.child}function vl(v,A){var Z=A.ref;(v===null&&Z!==null||v!==null&&v.ref!==Z)&&(A.flags|=128)}function ko(v,A,Z,ve,Le){var lt=Jr(Z)?we:ga.current;return lt=yr(A,lt),as(A,Le),Z=cu(v,A,Z,ve,lt,Le),v!==null&&!Ru?(A.updateQueue=v.updateQueue,A.flags&=-517,v.lanes&=~Le,Su(v,A,Le)):(A.flags|=1,$s(v,A,Z,Le),A.child)}function Il(v,A,Z,ve,Le){if(Jr(Z)){var lt=!0;ri(A)}else lt=!1;if(as(A,Le),A.stateNode===null)v!==null&&(v.alternate=null,A.alternate=null,A.flags|=2),gu(A,Z,ve),uu(A,Z,ve,Le),ve=!0;else if(v===null){var jt=A.stateNode,rr=A.memoizedProps;jt.props=rr;var P=jt.context,t=Z.contextType;typeof t=="object"&&t!==null?t=Aa(t):(t=Jr(Z)?we:ga.current,t=yr(A,t));var n=Z.getDerivedStateFromProps,o=typeof n=="function"||typeof jt.getSnapshotBeforeUpdate=="function";o||typeof jt.UNSAFE_componentWillReceiveProps!="function"&&typeof jt.componentWillReceiveProps!="function"||(rr!==ve||P!==t)&&ss(A,jt,ve,t),Fs=!1;var m=A.memoizedState;jt.state=m,za(A,ve,jt,Le),P=A.memoizedState,rr!==ve||m!==P||ye.current||Fs?(typeof n=="function"&&(Al(A,Z,n,ve),P=A.memoizedState),(rr=Fs||el(A,Z,rr,ve,m,P,t))?(o||typeof jt.UNSAFE_componentWillMount!="function"&&typeof jt.componentWillMount!="function"||(typeof jt.componentWillMount=="function"&&jt.componentWillMount(),typeof jt.UNSAFE_componentWillMount=="function"&&jt.UNSAFE_componentWillMount()),typeof jt.componentDidMount=="function"&&(A.flags|=4)):(typeof jt.componentDidMount=="function"&&(A.flags|=4),A.memoizedProps=ve,A.memoizedState=P),jt.props=ve,jt.state=P,jt.context=t,ve=rr):(typeof jt.componentDidMount=="function"&&(A.flags|=4),ve=!1)}else{jt=A.stateNode,fi(v,A),rr=A.memoizedProps,t=A.type===A.elementType?rr:Wn(A.type,rr),jt.props=t,o=A.pendingProps,m=jt.context,P=Z.contextType,typeof P=="object"&&P!==null?P=Aa(P):(P=Jr(Z)?we:ga.current,P=yr(A,P));var E=Z.getDerivedStateFromProps;(n=typeof E=="function"||typeof jt.getSnapshotBeforeUpdate=="function")||typeof jt.UNSAFE_componentWillReceiveProps!="function"&&typeof jt.componentWillReceiveProps!="function"||(rr!==o||m!==P)&&ss(A,jt,ve,P),Fs=!1,m=A.memoizedState,jt.state=m,za(A,ve,jt,Le);var C=A.memoizedState;rr!==o||m!==C||ye.current||Fs?(typeof E=="function"&&(Al(A,Z,E,ve),C=A.memoizedState),(t=Fs||el(A,Z,t,ve,m,C,P))?(n||typeof jt.UNSAFE_componentWillUpdate!="function"&&typeof jt.componentWillUpdate!="function"||(typeof jt.componentWillUpdate=="function"&&jt.componentWillUpdate(ve,C,P),typeof jt.UNSAFE_componentWillUpdate=="function"&&jt.UNSAFE_componentWillUpdate(ve,C,P)),typeof jt.componentDidUpdate=="function"&&(A.flags|=4),typeof jt.getSnapshotBeforeUpdate=="function"&&(A.flags|=256)):(typeof jt.componentDidUpdate!="function"||rr===v.memoizedProps&&m===v.memoizedState||(A.flags|=4),typeof jt.getSnapshotBeforeUpdate!="function"||rr===v.memoizedProps&&m===v.memoizedState||(A.flags|=256),A.memoizedProps=ve,A.memoizedState=C),jt.props=ve,jt.state=C,jt.context=P,ve=t):(typeof jt.componentDidUpdate!="function"||rr===v.memoizedProps&&m===v.memoizedState||(A.flags|=4),typeof jt.getSnapshotBeforeUpdate!="function"||rr===v.memoizedProps&&m===v.memoizedState||(A.flags|=256),ve=!1)}return Ue(v,A,Z,ve,lt,Le)}function Ue(v,A,Z,ve,Le,lt){vl(v,A);var jt=(A.flags&64)!==0;if(!ve&&!jt)return Le&&Fi(A,Z,!1),Su(v,A,lt);ve=A.stateNode,ku.current=A;var rr=jt&&typeof Z.getDerivedStateFromError!="function"?null:ve.render();return A.flags|=1,v!==null&&jt?(A.child=Yo(A,v.child,null,lt),A.child=Yo(A,null,rr,lt)):$s(v,A,rr,lt),A.memoizedState=ve.state,Le&&Fi(A,Z,!0),A.child}function wu(v){var A=v.stateNode;A.pendingContext?Qr(v,A.pendingContext,A.pendingContext!==A.context):A.context&&Qr(v,A.context,!1),oc(v,A.containerInfo)}var Qo={dehydrated:null,retryLane:0};function Kl(v,A,Z){var ve=A.pendingProps,Le=to.current,lt=!1,jt;return(jt=(A.flags&64)!==0)||(jt=v!==null&&v.memoizedState===null?!1:(Le&2)!==0),jt?(lt=!0,A.flags&=-65):v!==null&&v.memoizedState===null||ve.fallback===void 0||ve.unstable_avoidThisFallback===!0||(Le|=1),Ua(to,Le&1),v===null?(ve.fallback!==void 0&&qs(A),v=ve.children,Le=ve.fallback,lt?(v=$o(A,v,Le,Z),A.child.memoizedState={baseLanes:Z},A.memoizedState=Qo,v):typeof ve.unstable_expectedLoadTime=="number"?(v=$o(A,v,Le,Z),A.child.memoizedState={baseLanes:Z},A.memoizedState=Qo,A.lanes=33554432,v):(Z=Ec({mode:"visible",children:v},A.mode,Z,null),Z.return=A,A.child=Z)):v.memoizedState!==null?lt?(ve=Yl(v,A,ve.children,ve.fallback,Z),lt=A.child,Le=v.child.memoizedState,lt.memoizedState=Le===null?{baseLanes:Z}:{baseLanes:Le.baseLanes|Z},lt.childLanes=v.childLanes&~Z,A.memoizedState=Qo,ve):(Z=fu(v,A,ve.children,Z),A.memoizedState=null,Z):lt?(ve=Yl(v,A,ve.children,ve.fallback,Z),lt=A.child,Le=v.child.memoizedState,lt.memoizedState=Le===null?{baseLanes:Z}:{baseLanes:Le.baseLanes|Z},lt.childLanes=v.childLanes&~Z,A.memoizedState=Qo,ve):(Z=fu(v,A,ve.children,Z),A.memoizedState=null,Z)}function $o(v,A,Z,ve){var Le=v.mode,lt=v.child;return A={mode:"hidden",children:A},!(Le&2)&&lt!==null?(lt.childLanes=0,lt.pendingProps=A):lt=Ec(A,Le,0,null),Z=Wo(Z,Le,ve,null),lt.return=v,Z.return=v,lt.sibling=Z,v.child=lt,Z}function fu(v,A,Z,ve){var Le=v.child;return v=Le.sibling,Z=fl(Le,{mode:"visible",children:Z}),!(A.mode&2)&&(Z.lanes=ve),Z.return=A,Z.sibling=null,v!==null&&(v.nextEffect=null,v.flags=8,A.firstEffect=A.lastEffect=v),A.child=Z}function Yl(v,A,Z,ve,Le){var lt=A.mode,jt=v.child;v=jt.sibling;var rr={mode:"hidden",children:Z};return!(lt&2)&&A.child!==jt?(Z=A.child,Z.childLanes=0,Z.pendingProps=rr,jt=Z.lastEffect,jt!==null?(A.firstEffect=Z.firstEffect,A.lastEffect=jt,jt.nextEffect=null):A.firstEffect=A.lastEffect=null):Z=fl(jt,rr),v!==null?ve=fl(v,ve):(ve=Wo(ve,lt,Le,null),ve.flags|=2),ve.return=A,Z.return=A,Z.sibling=ve,A.child=Z,ve}function Lu(v,A){v.lanes|=A;var Z=v.alternate;Z!==null&&(Z.lanes|=A),ws(v.return,A)}function So(v,A,Z,ve,Le,lt){var jt=v.memoizedState;jt===null?v.memoizedState={isBackwards:A,rendering:null,renderingStartTime:0,last:ve,tail:Z,tailMode:Le,lastEffect:lt}:(jt.isBackwards=A,jt.rendering=null,jt.renderingStartTime=0,jt.last=ve,jt.tail=Z,jt.tailMode=Le,jt.lastEffect=lt)}function nl(v,A,Z){var ve=A.pendingProps,Le=ve.revealOrder,lt=ve.tail;if($s(v,A,ve.children,Z),ve=to.current,ve&2)ve=ve&1|2,A.flags|=64;else{if(v!==null&&v.flags&64)e:for(v=A.child;v!==null;){if(v.tag===13)v.memoizedState!==null&&Lu(v,Z);else if(v.tag===19)Lu(v,Z);else if(v.child!==null){v.child.return=v,v=v.child;continue}if(v===A)break e;for(;v.sibling===null;){if(v.return===null||v.return===A)break e;v=v.return}v.sibling.return=v.return,v=v.sibling}ve&=1}if(Ua(to,ve),!(A.mode&2))A.memoizedState=null;else switch(Le){case"forwards":for(Z=A.child,Le=null;Z!==null;)v=Z.alternate,v!==null&&uc(v)===null&&(Le=Z),Z=Z.sibling;Z=Le,Z===null?(Le=A.child,A.child=null):(Le=Z.sibling,Z.sibling=null),So(A,!1,Le,Z,lt,A.lastEffect);break;case"backwards":for(Z=null,Le=A.child,A.child=null;Le!==null;){if(v=Le.alternate,v!==null&&uc(v)===null){A.child=Le;break}v=Le.sibling,Le.sibling=Z,Z=Le,Le=v}So(A,!0,Z,null,lt,A.lastEffect);break;case"together":So(A,!1,null,null,void 0,A.lastEffect);break;default:A.memoizedState=null}return A.child}function Su(v,A,Z){if(v!==null&&(A.dependencies=v.dependencies),io|=A.lanes,Z&A.childLanes){if(v!==null&&A.child!==v.child)throw Error(c(153));if(A.child!==null){for(v=A.child,Z=fl(v,v.pendingProps),A.child=Z,Z.return=A;v.sibling!==null;)v=v.sibling,Z=Z.sibling=fl(v,v.pendingProps),Z.return=A;Z.sibling=null}return A.child}return null}var vc,Mu,Zo,il;vc=function(v,A){for(var Z=A.child;Z!==null;){if(Z.tag===5||Z.tag===6)v.appendChild(Z.stateNode);else if(Z.tag!==4&&Z.child!==null){Z.child.return=Z,Z=Z.child;continue}if(Z===A)break;for(;Z.sibling===null;){if(Z.return===null||Z.return===A)return;Z=Z.return}Z.sibling.return=Z.return,Z=Z.sibling}},Mu=function(){},Zo=function(v,A,Z,ve){var Le=v.memoizedProps;if(Le!==ve){v=A.stateNode,lu(Uo.current);var lt=null;switch(Z){case"input":Le=ht(v,Le),ve=ht(v,ve),lt=[];break;case"option":Le=He(v,Le),ve=He(v,ve),lt=[];break;case"select":Le=i({},Le,{value:void 0}),ve=i({},ve,{value:void 0}),lt=[];break;case"textarea":Le=ct(v,Le),ve=ct(v,ve),lt=[];break;default:typeof Le.onClick!="function"&&typeof ve.onClick=="function"&&(v.onclick=ni)}Ce(Z,ve);var jt;Z=null;for(t in Le)if(!ve.hasOwnProperty(t)&&Le.hasOwnProperty(t)&&Le[t]!=null)if(t==="style"){var rr=Le[t];for(jt in rr)rr.hasOwnProperty(jt)&&(Z||(Z={}),Z[jt]="")}else t!=="dangerouslySetInnerHTML"&&t!=="children"&&t!=="suppressContentEditableWarning"&&t!=="suppressHydrationWarning"&&t!=="autoFocus"&&(s.hasOwnProperty(t)?lt||(lt=[]):(lt=lt||[]).push(t,null));for(t in ve){var P=ve[t];if(rr=Le!=null?Le[t]:void 0,ve.hasOwnProperty(t)&&P!==rr&&(P!=null||rr!=null))if(t==="style")if(rr){for(jt in rr)!rr.hasOwnProperty(jt)||P&&P.hasOwnProperty(jt)||(Z||(Z={}),Z[jt]="");for(jt in P)P.hasOwnProperty(jt)&&rr[jt]!==P[jt]&&(Z||(Z={}),Z[jt]=P[jt])}else Z||(lt||(lt=[]),lt.push(t,Z)),Z=P;else t==="dangerouslySetInnerHTML"?(P=P?P.__html:void 0,rr=rr?rr.__html:void 0,P!=null&&rr!==P&&(lt=lt||[]).push(t,P)):t==="children"?typeof P!="string"&&typeof P!="number"||(lt=lt||[]).push(t,""+P):t!=="suppressContentEditableWarning"&&t!=="suppressHydrationWarning"&&(s.hasOwnProperty(t)?(P!=null&&t==="onScroll"&&Qe("scroll",v),lt||rr===P||(lt=[])):typeof P=="object"&&P!==null&&P.$$typeof===z?P.toString():(lt=lt||[]).push(t,P))}Z&&(lt=lt||[]).push("style",Z);var t=lt;(A.updateQueue=t)&&(A.flags|=4)}},il=function(v,A,Z,ve){Z!==ve&&(A.flags|=4)};function Au(v,A){if(!Hu)switch(v.tailMode){case"hidden":A=v.tail;for(var Z=null;A!==null;)A.alternate!==null&&(Z=A),A=A.sibling;Z===null?v.tail=null:Z.sibling=null;break;case"collapsed":Z=v.tail;for(var ve=null;Z!==null;)Z.alternate!==null&&(ve=Z),Z=Z.sibling;ve===null?A||v.tail===null?v.tail=null:v.tail.sibling=null:ve.sibling=null}}function Dc(v,A,Z){var ve=A.pendingProps;switch(A.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return Jr(A.type)&&br(),null;case 3:return Zu(),da(ye),da(ga),Cc(),ve=A.stateNode,ve.pendingContext&&(ve.context=ve.pendingContext,ve.pendingContext=null),(v===null||v.child===null)&&(uf(A)?A.flags|=4:ve.hydrate||(A.flags|=256)),Mu(A),null;case 5:Sc(A);var Le=lu(Zl.current);if(Z=A.type,v!==null&&A.stateNode!=null)Zo(v,A,Z,ve,Le),v.ref!==A.ref&&(A.flags|=128);else{if(!ve){if(A.stateNode===null)throw Error(c(166));return null}if(v=lu(Uo.current),uf(A)){ve=A.stateNode,Z=A.type;var lt=A.memoizedProps;switch(ve[ka]=A,ve[ea]=lt,Z){case"dialog":Qe("cancel",ve),Qe("close",ve);break;case"iframe":case"object":case"embed":Qe("load",ve);break;case"video":case"audio":for(v=0;v<In.length;v++)Qe(In[v],ve);break;case"source":Qe("error",ve);break;case"img":case"image":case"link":Qe("error",ve),Qe("load",ve);break;case"details":Qe("toggle",ve);break;case"input":Je(ve,lt),Qe("invalid",ve);break;case"select":ve._wrapperState={wasMultiple:!!lt.multiple},Qe("invalid",ve);break;case"textarea":Vt(ve,lt),Qe("invalid",ve)}Ce(Z,lt),v=null;for(var jt in lt)lt.hasOwnProperty(jt)&&(Le=lt[jt],jt==="children"?typeof Le=="string"?ve.textContent!==Le&&(v=["children",Le]):typeof Le=="number"&&ve.textContent!==""+Le&&(v=["children",""+Le]):s.hasOwnProperty(jt)&&Le!=null&&jt==="onScroll"&&Qe("scroll",ve));switch(Z){case"input":Ut(ve),Se(ve,lt,!0);break;case"textarea":Ut(ve),Ie(ve);break;case"select":case"option":break;default:typeof lt.onClick=="function"&&(ve.onclick=ni)}ve=v,A.updateQueue=ve,ve!==null&&(A.flags|=4)}else{switch(jt=Le.nodeType===9?Le:Le.ownerDocument,v===qe.html&&(v=Gt(Z)),v===qe.html?Z==="script"?(v=jt.createElement("div"),v.innerHTML="<script><\/script>",v=v.removeChild(v.firstChild)):typeof ve.is=="string"?v=jt.createElement(Z,{is:ve.is}):(v=jt.createElement(Z),Z==="select"&&(jt=v,ve.multiple?jt.multiple=!0:ve.size&&(jt.size=ve.size))):v=jt.createElementNS(v,Z),v[ka]=A,v[ea]=ve,vc(v,A,!1,!1),A.stateNode=v,jt=dt(Z,ve),Z){case"dialog":Qe("cancel",v),Qe("close",v),Le=ve;break;case"iframe":case"object":case"embed":Qe("load",v),Le=ve;break;case"video":case"audio":for(Le=0;Le<In.length;Le++)Qe(In[Le],v);Le=ve;break;case"source":Qe("error",v),Le=ve;break;case"img":case"image":case"link":Qe("error",v),Qe("load",v),Le=ve;break;case"details":Qe("toggle",v),Le=ve;break;case"input":Je(v,ve),Le=ht(v,ve),Qe("invalid",v);break;case"option":Le=He(v,ve);break;case"select":v._wrapperState={wasMultiple:!!ve.multiple},Le=i({},ve,{value:void 0}),Qe("invalid",v);break;case"textarea":Vt(v,ve),Le=ct(v,ve),Qe("invalid",v);break;default:Le=ve}Ce(Z,Le);var rr=Le;for(lt in rr)if(rr.hasOwnProperty(lt)){var P=rr[lt];lt==="style"?pe(v,P):lt==="dangerouslySetInnerHTML"?(P=P?P.__html:void 0,P!=null&&Nt(v,P)):lt==="children"?typeof P=="string"?(Z!=="textarea"||P!=="")&&Ct(v,P):typeof P=="number"&&Ct(v,""+P):lt!=="suppressContentEditableWarning"&&lt!=="suppressHydrationWarning"&&lt!=="autoFocus"&&(s.hasOwnProperty(lt)?P!=null&&lt==="onScroll"&&Qe("scroll",v):P!=null&&N(v,lt,P,jt))}switch(Z){case"input":Ut(v),Se(v,ve,!1);break;case"textarea":Ut(v),Ie(v);break;case"option":ve.value!=null&&v.setAttribute("value",""+Jt(ve.value));break;case"select":v.multiple=!!ve.multiple,lt=ve.value,lt!=null?nt(v,!!ve.multiple,lt,!1):ve.defaultValue!=null&&nt(v,!!ve.multiple,ve.defaultValue,!0);break;default:typeof Le.onClick=="function"&&(v.onclick=ni)}Hi(Z,ve)&&(A.flags|=4)}A.ref!==null&&(A.flags|=128)}return null;case 6:if(v&&A.stateNode!=null)il(v,A,v.memoizedProps,ve);else{if(typeof ve!="string"&&A.stateNode===null)throw Error(c(166));Z=lu(Zl.current),lu(Uo.current),uf(A)?(ve=A.stateNode,Z=A.memoizedProps,ve[ka]=A,ve.nodeValue!==Z&&(A.flags|=4)):(ve=(Z.nodeType===9?Z:Z.ownerDocument).createTextNode(ve),ve[ka]=A,A.stateNode=ve)}return null;case 13:return da(to),ve=A.memoizedState,A.flags&64?(A.lanes=Z,A):(ve=ve!==null,Z=!1,v===null?A.memoizedProps.fallback!==void 0&&uf(A):Z=v.memoizedState!==null,ve&&!Z&&A.mode&2&&(v===null&&A.memoizedProps.unstable_avoidThisFallback!==!0||to.current&1?Oa===0&&(Oa=3):((Oa===0||Oa===3)&&(Oa=4),en===null||!(io&134217727)&&!(ys&134217727)||Ml(en,dn))),(ve||Z)&&(A.flags|=4),null);case 4:return Zu(),Mu(A),v===null&&Kt(A.stateNode.containerInfo),null;case 10:return Za(A),null;case 17:return Jr(A.type)&&br(),null;case 19:if(da(to),ve=A.memoizedState,ve===null)return null;if(lt=(A.flags&64)!==0,jt=ve.rendering,jt===null)if(lt)Au(ve,!1);else{if(Oa!==0||v!==null&&v.flags&64)for(v=A.child;v!==null;){if(jt=uc(v),jt!==null){for(A.flags|=64,Au(ve,!1),lt=jt.updateQueue,lt!==null&&(A.updateQueue=lt,A.flags|=4),ve.lastEffect===null&&(A.firstEffect=null),A.lastEffect=ve.lastEffect,ve=Z,Z=A.child;Z!==null;)lt=Z,v=ve,lt.flags&=2,lt.nextEffect=null,lt.firstEffect=null,lt.lastEffect=null,jt=lt.alternate,jt===null?(lt.childLanes=0,lt.lanes=v,lt.child=null,lt.memoizedProps=null,lt.memoizedState=null,lt.updateQueue=null,lt.dependencies=null,lt.stateNode=null):(lt.childLanes=jt.childLanes,lt.lanes=jt.lanes,lt.child=jt.child,lt.memoizedProps=jt.memoizedProps,lt.memoizedState=jt.memoizedState,lt.updateQueue=jt.updateQueue,lt.type=jt.type,v=jt.dependencies,lt.dependencies=v===null?null:{lanes:v.lanes,firstContext:v.firstContext}),Z=Z.sibling;return Ua(to,to.current&1|2),A.child}v=v.sibling}ve.tail!==null&&xt()>bc&&(A.flags|=64,lt=!0,Au(ve,!1),A.lanes=33554432)}else{if(!lt)if(v=uc(jt),v!==null){if(A.flags|=64,lt=!0,Z=v.updateQueue,Z!==null&&(A.updateQueue=Z,A.flags|=4),Au(ve,!0),ve.tail===null&&ve.tailMode==="hidden"&&!jt.alternate&&!Hu)return A=A.lastEffect=ve.lastEffect,A!==null&&(A.nextEffect=null),null}else 2*xt()-ve.renderingStartTime>bc&&Z!==1073741824&&(A.flags|=64,lt=!0,Au(ve,!1),A.lanes=33554432);ve.isBackwards?(jt.sibling=A.child,A.child=jt):(Z=ve.last,Z!==null?Z.sibling=jt:A.child=jt,ve.last=jt)}return ve.tail!==null?(Z=ve.tail,ve.rendering=Z,ve.tail=Z.sibling,ve.lastEffect=A.lastEffect,ve.renderingStartTime=xt(),Z.sibling=null,A=to.current,Ua(to,lt?A&1|2:A&1),Z):null;case 23:case 24:return ua(),v!==null&&v.memoizedState!==null!=(A.memoizedState!==null)&&ve.mode!=="unstable-defer-without-hiding"&&(A.flags|=4),null}throw Error(c(156,A.tag))}function Kc(v){switch(v.tag){case 1:Jr(v.type)&&br();var A=v.flags;return A&4096?(v.flags=A&-4097|64,v):null;case 3:if(Zu(),da(ye),da(ga),Cc(),A=v.flags,A&64)throw Error(c(285));return v.flags=A&-4097|64,v;case 5:return Sc(v),null;case 13:return da(to),A=v.flags,A&4096?(v.flags=A&-4097|64,v):null;case 19:return da(to),null;case 4:return Zu(),null;case 10:return Za(v),null;case 23:case 24:return ua(),null;default:return null}}function oo(v,A){try{var Z="",ve=A;do Z+=qt(ve),ve=ve.return;while(ve);var Le=Z}catch(lt){Le=`
Error generating stack: `+lt.message+`
`+lt.stack}return{value:v,source:A,stack:Le}}function du(v,A){try{console.error(A.value)}catch(Z){setTimeout(function(){throw Z})}}var Dl=typeof WeakMap=="function"?WeakMap:Map;function Xl(v,A,Z){Z=Qs(-1,Z),Z.tag=3,Z.payload={element:null};var ve=A.value;return Z.callback=function(){tc||(tc=!0,Rl=ve),du(v,A)},Z}function Ql(v,A,Z){Z=Qs(-1,Z),Z.tag=3;var ve=v.type.getDerivedStateFromError;if(typeof ve=="function"){var Le=A.value;Z.payload=function(){return du(v,A),ve(Le)}}var lt=v.stateNode;return lt!==null&&typeof lt.componentDidCatch=="function"&&(Z.callback=function(){typeof ve!="function"&&(Ro===null?Ro=new Set([this]):Ro.add(this),du(v,A));var jt=A.stack;this.componentDidCatch(A.value,{componentStack:jt!==null?jt:""})}),Z}var gl=typeof WeakSet=="function"?WeakSet:Set;function Ol(v){var A=v.ref;if(A!==null)if(typeof A=="function")try{A(null)}catch(Z){cl(v,Z)}else A.current=null}function df(v,A){switch(A.tag){case 0:case 11:case 15:case 22:return;case 1:if(A.flags&256&&v!==null){var Z=v.memoizedProps,ve=v.memoizedState;v=A.stateNode,A=v.getSnapshotBeforeUpdate(A.elementType===A.type?Z:Wn(A.type,Z),ve),v.__reactInternalSnapshotBeforeUpdate=A}return;case 3:A.flags&256&&Ci(A.stateNode.containerInfo);return;case 5:case 6:case 4:case 17:return}throw Error(c(163))}function kl(v,A,Z){switch(Z.tag){case 0:case 11:case 15:case 22:if(A=Z.updateQueue,A=A!==null?A.lastEffect:null,A!==null){v=A=A.next;do{if((v.tag&3)===3){var ve=v.create;v.destroy=ve()}v=v.next}while(v!==A)}if(A=Z.updateQueue,A=A!==null?A.lastEffect:null,A!==null){v=A=A.next;do{var Le=v;ve=Le.next,Le=Le.tag,Le&4&&Le&1&&(xc(Z,v),Sf(Z,v)),v=ve}while(v!==A)}return;case 1:v=Z.stateNode,Z.flags&4&&(A===null?v.componentDidMount():(ve=Z.elementType===Z.type?A.memoizedProps:Wn(Z.type,A.memoizedProps),v.componentDidUpdate(ve,A.memoizedState,v.__reactInternalSnapshotBeforeUpdate))),A=Z.updateQueue,A!==null&&Eo(Z,A,v);return;case 3:if(A=Z.updateQueue,A!==null){if(v=null,Z.child!==null)switch(Z.child.tag){case 5:v=Z.child.stateNode;break;case 1:v=Z.child.stateNode}Eo(Z,A,v)}return;case 5:v=Z.stateNode,A===null&&Z.flags&4&&Hi(Z.type,Z.memoizedProps)&&v.focus();return;case 6:return;case 4:return;case 12:return;case 13:Z.memoizedState===null&&(Z=Z.alternate,Z!==null&&(Z=Z.memoizedState,Z!==null&&(Z=Z.dehydrated,Z!==null&&_t(Z))));return;case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(c(163))}function ql(v,A){for(var Z=v;;){if(Z.tag===5){var ve=Z.stateNode;if(A)ve=ve.style,typeof ve.setProperty=="function"?ve.setProperty("display","none","important"):ve.display="none";else{ve=Z.stateNode;var Le=Z.memoizedProps.style;Le=Le!=null&&Le.hasOwnProperty("display")?Le.display:null,ve.style.display=fe("display",Le)}}else if(Z.tag===6)Z.stateNode.nodeValue=A?"":Z.memoizedProps;else if((Z.tag!==23&&Z.tag!==24||Z.memoizedState===null||Z===v)&&Z.child!==null){Z.child.return=Z,Z=Z.child;continue}if(Z===v)break;for(;Z.sibling===null;){if(Z.return===null||Z.return===v)return;Z=Z.return}Z.sibling.return=Z.return,Z=Z.sibling}}function yl(v,A){if(Dn&&typeof Dn.onCommitFiberUnmount=="function")try{Dn.onCommitFiberUnmount(Mn,A)}catch(lt){}switch(A.tag){case 0:case 11:case 14:case 15:case 22:if(v=A.updateQueue,v!==null&&(v=v.lastEffect,v!==null)){var Z=v=v.next;do{var ve=Z,Le=ve.destroy;if(ve=ve.tag,Le!==void 0)if(ve&4)xc(A,Z);else{ve=A;try{Le()}catch(lt){cl(ve,lt)}}Z=Z.next}while(Z!==v)}break;case 1:if(Ol(A),v=A.stateNode,typeof v.componentWillUnmount=="function")try{v.props=A.memoizedProps,v.state=A.memoizedState,v.componentWillUnmount()}catch(lt){cl(A,lt)}break;case 5:Ol(A);break;case 4:gc(v,A)}}function Yc(v){v.alternate=null,v.child=null,v.dependencies=null,v.firstEffect=null,v.lastEffect=null,v.memoizedProps=null,v.memoizedState=null,v.pendingProps=null,v.return=null,v.updateQueue=null}function Fu(v){return v.tag===5||v.tag===3||v.tag===4}function Bu(v){e:{for(var A=v.return;A!==null;){if(Fu(A))break e;A=A.return}throw Error(c(160))}var Z=A;switch(A=Z.stateNode,Z.tag){case 5:var ve=!1;break;case 3:A=A.containerInfo,ve=!0;break;case 4:A=A.containerInfo,ve=!0;break;default:throw Error(c(161))}Z.flags&16&&(Ct(A,""),Z.flags&=-17);e:t:for(Z=v;;){for(;Z.sibling===null;){if(Z.return===null||Fu(Z.return)){Z=null;break e}Z=Z.return}for(Z.sibling.return=Z.return,Z=Z.sibling;Z.tag!==5&&Z.tag!==6&&Z.tag!==18;){if(Z.flags&2||Z.child===null||Z.tag===4)continue t;Z.child.return=Z,Z=Z.child}if(!(Z.flags&2)){Z=Z.stateNode;break e}}ve?iu(v,Z,A):qo(v,Z,A)}function iu(v,A,Z){var ve=v.tag,Le=ve===5||ve===6;if(Le)v=Le?v.stateNode:v.stateNode.instance,A?Z.nodeType===8?Z.parentNode.insertBefore(v,A):Z.insertBefore(v,A):(Z.nodeType===8?(A=Z.parentNode,A.insertBefore(v,Z)):(A=Z,A.appendChild(v)),Z=Z._reactRootContainer,Z!=null||A.onclick!==null||(A.onclick=ni));else if(ve!==4&&(v=v.child,v!==null))for(iu(v,A,Z),v=v.sibling;v!==null;)iu(v,A,Z),v=v.sibling}function qo(v,A,Z){var ve=v.tag,Le=ve===5||ve===6;if(Le)v=Le?v.stateNode:v.stateNode.instance,A?Z.insertBefore(v,A):Z.appendChild(v);else if(ve!==4&&(v=v.child,v!==null))for(qo(v,A,Z),v=v.sibling;v!==null;)qo(v,A,Z),v=v.sibling}function gc(v,A){for(var Z=A,ve=!1,Le,lt;;){if(!ve){ve=Z.return;e:for(;;){if(ve===null)throw Error(c(160));switch(Le=ve.stateNode,ve.tag){case 5:lt=!1;break e;case 3:Le=Le.containerInfo,lt=!0;break e;case 4:Le=Le.containerInfo,lt=!0;break e}ve=ve.return}ve=!0}if(Z.tag===5||Z.tag===6){e:for(var jt=v,rr=Z,P=rr;;)if(yl(jt,P),P.child!==null&&P.tag!==4)P.child.return=P,P=P.child;else{if(P===rr)break e;for(;P.sibling===null;){if(P.return===null||P.return===rr)break e;P=P.return}P.sibling.return=P.return,P=P.sibling}lt?(jt=Le,rr=Z.stateNode,jt.nodeType===8?jt.parentNode.removeChild(rr):jt.removeChild(rr)):Le.removeChild(Z.stateNode)}else if(Z.tag===4){if(Z.child!==null){Le=Z.stateNode.containerInfo,lt=!0,Z.child.return=Z,Z=Z.child;continue}}else if(yl(v,Z),Z.child!==null){Z.child.return=Z,Z=Z.child;continue}if(Z===A)break;for(;Z.sibling===null;){if(Z.return===null||Z.return===A)return;Z=Z.return,Z.tag===4&&(ve=!1)}Z.sibling.return=Z.return,Z=Z.sibling}}function yc(v,A){switch(A.tag){case 0:case 11:case 14:case 15:case 22:var Z=A.updateQueue;if(Z=Z!==null?Z.lastEffect:null,Z!==null){var ve=Z=Z.next;do(ve.tag&3)===3&&(v=ve.destroy,ve.destroy=void 0,v!==void 0&&v()),ve=ve.next;while(ve!==Z)}return;case 1:return;case 5:if(Z=A.stateNode,Z!=null){ve=A.memoizedProps;var Le=v!==null?v.memoizedProps:ve;v=A.type;var lt=A.updateQueue;if(A.updateQueue=null,lt!==null){for(Z[ea]=ve,v==="input"&&ve.type==="radio"&&ve.name!=null&&je(Z,ve),dt(v,Le),A=dt(v,ve),Le=0;Le<lt.length;Le+=2){var jt=lt[Le],rr=lt[Le+1];jt==="style"?pe(Z,rr):jt==="dangerouslySetInnerHTML"?Nt(Z,rr):jt==="children"?Ct(Z,rr):N(Z,jt,rr,A)}switch(v){case"input":ge(Z,ve);break;case"textarea":Wt(Z,ve);break;case"select":v=Z._wrapperState.wasMultiple,Z._wrapperState.wasMultiple=!!ve.multiple,lt=ve.value,lt!=null?nt(Z,!!ve.multiple,lt,!1):v!==!!ve.multiple&&(ve.defaultValue!=null?nt(Z,!!ve.multiple,ve.defaultValue,!0):nt(Z,!!ve.multiple,ve.multiple?[]:"",!1))}}}return;case 6:if(A.stateNode===null)throw Error(c(162));A.stateNode.nodeValue=A.memoizedProps;return;case 3:Z=A.stateNode,Z.hydrate&&(Z.hydrate=!1,_t(Z.containerInfo));return;case 12:return;case 13:A.memoizedState!==null&&(ec=xt(),ql(A.child,!0)),Oc(A);return;case 19:Oc(A);return;case 17:return;case 23:case 24:ql(A,A.memoizedState!==null);return}throw Error(c(163))}function Oc(v){var A=v.updateQueue;if(A!==null){v.updateQueue=null;var Z=v.stateNode;Z===null&&(Z=v.stateNode=new gl),A.forEach(function(ve){var Le=Xu.bind(null,v,ve);Z.has(ve)||(Z.add(ve),ve.then(Le,Le))})}}function I(v,A){return v!==null&&(v=v.memoizedState,v===null||v.dehydrated!==null)?(A=A.memoizedState,A!==null&&A.dehydrated===null):!1}var O=Math.ceil,k=j.ReactCurrentDispatcher,me=j.ReactCurrentOwner,ke=0,en=null,$n=null,dn=0,Di=0,Ha=Ms(0),Oa=0,Ao=null,Ma=0,io=0,ys=0,kc=0,Jl=null,ec=0,bc=1/0;function Nu(){bc=xt()+500}var Oi=null,tc=!1,Rl=null,Ro=null,Ws=!1,Ja=null,al=90,sl=[],bl=[],xl=null,ol=0,Xc=null,Rc=-1,Vu=0,Qc=0,Ll=null,qc=!1;function hu(){return ke&48?xt():Rc!==-1?Rc:Rc=xt()}function $u(v){if(v=v.mode,!(v&2))return 1;if(!(v&4))return Ft()===99?1:2;if(Vu===0&&(Vu=Ma),Nn.transition!==0){Qc!==0&&(Qc=Jl!==null?Jl.pendingLanes:0),v=Vu;var A=4186112&~Qc;return A&=-A,A===0&&(v=4186112&~v,A=v&-v,A===0&&(A=8192)),A}return v=Ft(),ke&4&&v===98?v=ln(12,Vu):(v=bn(v),v=ln(v,Vu)),v}function El(v,A,Z){if(50<ol)throw ol=0,Xc=null,Error(c(185));if(v=rc(v,A),v===null)return null;Pi(v,A,Z),v===en&&(ys|=A,Oa===4&&Ml(v,dn));var ve=Ft();A===1?ke&8&&!(ke&48)?Tn(v):(Cu(v,Z),ke===0&&(Nu(),an())):(!(ke&4)||ve!==98&&ve!==99||(xl===null?xl=new Set([v]):xl.add(v)),Cu(v,Z)),Jl=v}function rc(v,A){v.lanes|=A;var Z=v.alternate;for(Z!==null&&(Z.lanes|=A),Z=v,v=v.return;v!==null;)v.childLanes|=A,Z=v.alternate,Z!==null&&(Z.childLanes|=A),Z=v,v=v.return;return Z.tag===3?Z.stateNode:null}function Cu(v,A){for(var Z=v.callbackNode,ve=v.suspendedLanes,Le=v.pingedLanes,lt=v.expirationTimes,jt=v.pendingLanes;0<jt;){var rr=31-gi(jt),P=1<<rr,t=lt[rr];if(t===-1){if(!(P&ve)||P&Le){t=A,$r(P);var n=Or;lt[rr]=10<=n?t+250:6<=n?t+5e3:-1}}else t<=A&&(v.expiredLanes|=P);jt&=~P}if(ve=un(v,v===en?dn:0),A=Or,ve===0)Z!==null&&(Z!==W&&Ui(Z),v.callbackNode=null,v.callbackPriority=0);else{if(Z!==null){if(v.callbackPriority===A)return;Z!==W&&Ui(Z)}A===15?(Z=Tn.bind(null,v),ne===null?(ne=[Z],he=ia(qu,wn)):ne.push(Z),Z=W):A===14?Z=Wr(99,Tn.bind(null,v)):(Z=Pr(A),Z=Wr(Z,nc.bind(null,v))),v.callbackPriority=A,v.callbackNode=Z}}function nc(v){if(Rc=-1,Qc=Vu=0,ke&48)throw Error(c(327));var A=v.callbackNode;if(Fl()&&v.callbackNode!==A)return null;var Z=un(v,v===en?dn:0);if(Z===0)return null;var ve=Z,Le=ke;ke|=16;var lt=Ki();(en!==v||dn!==ve)&&(Nu(),ha(v,ve));do try{ju();break}catch(rr){vs(v,rr)}while(!0);if(is(),k.current=lt,ke=Le,$n!==null?ve=0:(en=null,dn=0,ve=Oa),Ma&ys)ha(v,0);else if(ve!==0){if(ve===2&&(ke|=64,v.hydrate&&(v.hydrate=!1,Ci(v.containerInfo)),Z=rn(v),Z!==0&&(ve=es(v,Z))),ve===1)throw A=Ao,ha(v,0),Ml(v,Z),Cu(v,xt()),A;switch(v.finishedWork=v.current.alternate,v.finishedLanes=Z,ve){case 0:case 1:throw Error(c(345));case 2:ll(v);break;case 3:if(Ml(v,Z),(Z&62914560)===Z&&(ve=ec+500-xt(),10<ve)){if(un(v,0)!==0)break;if(Le=v.suspendedLanes,(Le&Z)!==Z){hu(),v.pingedLanes|=v.suspendedLanes&Le;break}v.timeoutHandle=wi(ll.bind(null,v),ve);break}ll(v);break;case 4:if(Ml(v,Z),(Z&4186112)===Z)break;for(ve=v.eventTimes,Le=-1;0<Z;){var jt=31-gi(Z);lt=1<<jt,jt=ve[jt],jt>Le&&(Le=jt),Z&=~lt}if(Z=Le,Z=xt()-Z,Z=(120>Z?120:480>Z?480:1080>Z?1080:1920>Z?1920:3e3>Z?3e3:4320>Z?4320:1960*O(Z/1960))-Z,10<Z){v.timeoutHandle=wi(ll.bind(null,v),Z);break}ll(v);break;case 5:ll(v);break;default:throw Error(c(329))}}return Cu(v,xt()),v.callbackNode===A?nc.bind(null,v):null}function Ml(v,A){for(A&=~kc,A&=~ys,v.suspendedLanes|=A,v.pingedLanes&=~A,v=v.expirationTimes;0<A;){var Z=31-gi(A),ve=1<<Z;v[Z]=-1,A&=~ve}}function Tn(v){if(ke&48)throw Error(c(327));if(Fl(),v===en&&v.expiredLanes&dn){var A=dn,Z=es(v,A);Ma&ys&&(A=un(v,A),Z=es(v,A))}else A=un(v,0),Z=es(v,A);if(v.tag!==0&&Z===2&&(ke|=64,v.hydrate&&(v.hydrate=!1,Ci(v.containerInfo)),A=rn(v),A!==0&&(Z=es(v,A))),Z===1)throw Z=Ao,ha(v,0),Ml(v,A),Cu(v,xt()),Z;return v.finishedWork=v.current.alternate,v.finishedLanes=A,ll(v),Cu(v,xt()),null}function Kn(){if(xl!==null){var v=xl;xl=null,v.forEach(function(A){A.expiredLanes|=24&A.pendingLanes,Cu(A,xt())})}an()}function Bi(v,A){var Z=ke;ke|=1;try{return v(A)}finally{ke=Z,ke===0&&(Nu(),an())}}function Ea(v,A){var Z=ke;ke&=-2,ke|=8;try{return v(A)}finally{ke=Z,ke===0&&(Nu(),an())}}function zi(v,A){Ua(Ha,Di),Di|=A,Ma|=A}function ua(){Di=Ha.current,da(Ha)}function ha(v,A){v.finishedWork=null,v.finishedLanes=0;var Z=v.timeoutHandle;if(Z!==-1&&(v.timeoutHandle=-1,ma(Z)),$n!==null)for(Z=$n.return;Z!==null;){var ve=Z;switch(ve.tag){case 1:ve=ve.type.childContextTypes,ve!=null&&br();break;case 3:Zu(),da(ye),da(ga),Cc();break;case 5:Sc(ve);break;case 4:Zu();break;case 13:da(to);break;case 19:da(to);break;case 10:Za(ve);break;case 23:case 24:ua()}Z=Z.return}en=v,$n=fl(v.current,null),dn=Di=Ma=A,Oa=0,Ao=null,kc=ys=io=0}function vs(v,A){do{var Z=$n;try{if(is(),Hl.current=Vl,Wu){for(var ve=Hs.memoizedState;ve!==null;){var Le=ve.queue;Le!==null&&(Le.pending=null),ve=ve.next}Wu=!1}if(Wl=0,No=ro=Hs=null,Tl=!1,me.current=null,Z===null||Z.return===null){Oa=1,Ao=A,$n=null;break}e:{var lt=v,jt=Z.return,rr=Z,P=A;if(A=dn,rr.flags|=2048,rr.firstEffect=rr.lastEffect=null,P!==null&&typeof P=="object"&&typeof P.then=="function"){var t=P;if(!(rr.mode&2)){var n=rr.alternate;n?(rr.updateQueue=n.updateQueue,rr.memoizedState=n.memoizedState,rr.lanes=n.lanes):(rr.updateQueue=null,rr.memoizedState=null)}var o=(to.current&1)!==0,m=jt;do{var E;if(E=m.tag===13){var C=m.memoizedState;if(C!==null)E=C.dehydrated!==null;else{var U=m.memoizedProps;E=U.fallback===void 0?!1:U.unstable_avoidThisFallback!==!0?!0:!o}}if(E){var H=m.updateQueue;if(H===null){var $=new Set;$.add(t),m.updateQueue=$}else H.add(t);if(!(m.mode&2)){if(m.flags|=64,rr.flags|=16384,rr.flags&=-2981,rr.tag===1)if(rr.alternate===null)rr.tag=17;else{var ae=Qs(-1,1);ae.tag=2,po(rr,ae)}rr.lanes|=1;break e}P=void 0,rr=A;var ce=lt.pingCache;if(ce===null?(ce=lt.pingCache=new Dl,P=new Set,ce.set(t,P)):(P=ce.get(t),P===void 0&&(P=new Set,ce.set(t,P))),!P.has(rr)){P.add(rr);var xe=Of.bind(null,lt,t,rr);t.then(xe,xe)}m.flags|=4096,m.lanes=A;break e}m=m.return}while(m!==null);P=Error((er(rr.type)||"A React component")+` suspended while rendering, but no fallback UI was specified.
Add a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.`)}Oa!==5&&(Oa=2),P=oo(P,rr),m=jt;do{switch(m.tag){case 3:lt=P,m.flags|=4096,A&=-A,m.lanes|=A;var Te=Xl(m,lt,A);Oo(m,Te);break e;case 1:lt=P;var De=m.type,tt=m.stateNode;if(!(m.flags&64)&&(typeof De.getDerivedStateFromError=="function"||tt!==null&&typeof tt.componentDidCatch=="function"&&(Ro===null||!Ro.has(tt)))){m.flags|=4096,A&=-A,m.lanes|=A;var at=Ql(m,lt,A);Oo(m,at);break e}}m=m.return}while(m!==null)}ul(Z)}catch(Bt){A=Bt,$n===Z&&Z!==null&&($n=Z=Z.return);continue}break}while(!0)}function Ki(){var v=k.current;return k.current=Vl,v===null?Vl:v}function es(v,A){var Z=ke;ke|=16;var ve=Ki();en===v&&dn===A||ha(v,A);do try{Ku();break}catch(Le){vs(v,Le)}while(!0);if(is(),ke=Z,k.current=ve,$n!==null)throw Error(c(261));return en=null,dn=0,Oa}function Ku(){for(;$n!==null;)Yu($n)}function ju(){for(;$n!==null&&!ho();)Yu($n)}function Yu(v){var A=Lc(v.alternate,v,Di);v.memoizedProps=v.pendingProps,A===null?ul(v):$n=A,me.current=null}function ul(v){var A=v;do{var Z=A.alternate;if(v=A.return,A.flags&2048){if(Z=Kc(A),Z!==null){Z.flags&=2047,$n=Z;return}v!==null&&(v.firstEffect=v.lastEffect=null,v.flags|=2048)}else{if(Z=Dc(Z,A,Di),Z!==null){$n=Z;return}if(Z=A,Z.tag!==24&&Z.tag!==23||Z.memoizedState===null||Di&1073741824||!(Z.mode&4)){for(var ve=0,Le=Z.child;Le!==null;)ve|=Le.lanes|Le.childLanes,Le=Le.sibling;Z.childLanes=ve}v!==null&&!(v.flags&2048)&&(v.firstEffect===null&&(v.firstEffect=A.firstEffect),A.lastEffect!==null&&(v.lastEffect!==null&&(v.lastEffect.nextEffect=A.firstEffect),v.lastEffect=A.lastEffect),1<A.flags&&(v.lastEffect!==null?v.lastEffect.nextEffect=A:v.firstEffect=A,v.lastEffect=A))}if(A=A.sibling,A!==null){$n=A;return}$n=A=v}while(A!==null);Oa===0&&(Oa=5)}function ll(v){var A=Ft();return Tr(99,Df.bind(null,v,A)),null}function Df(v,A){do Fl();while(Ja!==null);if(ke&48)throw Error(c(327));var Z=v.finishedWork;if(Z===null)return null;if(v.finishedWork=null,v.finishedLanes=0,Z===v.current)throw Error(c(177));v.callbackNode=null;var ve=Z.lanes|Z.childLanes,Le=ve,lt=v.pendingLanes&~Le;v.pendingLanes=Le,v.suspendedLanes=0,v.pingedLanes=0,v.expiredLanes&=Le,v.mutableReadLanes&=Le,v.entangledLanes&=Le,Le=v.entanglements;for(var jt=v.eventTimes,rr=v.expirationTimes;0<lt;){var P=31-gi(lt),t=1<<P;Le[P]=0,jt[P]=-1,rr[P]=-1,lt&=~t}if(xl!==null&&!(ve&24)&&xl.has(v)&&xl.delete(v),v===en&&($n=en=null,dn=0),1<Z.flags?Z.lastEffect!==null?(Z.lastEffect.nextEffect=Z,ve=Z.firstEffect):ve=Z:ve=Z.firstEffect,ve!==null){if(Le=ke,ke|=32,me.current=null,_i=Pa,jt=zr(),na(jt)){if("selectionStart"in jt)rr={start:jt.selectionStart,end:jt.selectionEnd};else e:if(rr=(rr=jt.ownerDocument)&&rr.defaultView||window,(t=rr.getSelection&&rr.getSelection())&&t.rangeCount!==0){rr=t.anchorNode,lt=t.anchorOffset,P=t.focusNode,t=t.focusOffset;try{rr.nodeType,P.nodeType}catch(Bt){rr=null;break e}var n=0,o=-1,m=-1,E=0,C=0,U=jt,H=null;t:for(;;){for(var $;U!==rr||lt!==0&&U.nodeType!==3||(o=n+lt),U!==P||t!==0&&U.nodeType!==3||(m=n+t),U.nodeType===3&&(n+=U.nodeValue.length),($=U.firstChild)!==null;)H=U,U=$;for(;;){if(U===jt)break t;if(H===rr&&++E===lt&&(o=n),H===P&&++C===t&&(m=n),($=U.nextSibling)!==null)break;U=H,H=U.parentNode}U=$}rr=o===-1||m===-1?null:{start:o,end:m}}else rr=null;rr=rr||{start:0,end:0}}else rr=null;Ii={focusedElem:jt,selectionRange:rr},Pa=!1,Ll=null,qc=!1,Oi=ve;do try{wf()}catch(Bt){if(Oi===null)throw Error(c(330));cl(Oi,Bt),Oi=Oi.nextEffect}while(Oi!==null);Ll=null,Oi=ve;do try{for(jt=v;Oi!==null;){var ae=Oi.flags;if(ae&16&&Ct(Oi.stateNode,""),ae&128){var ce=Oi.alternate;if(ce!==null){var xe=ce.ref;xe!==null&&(typeof xe=="function"?xe(null):xe.current=null)}}switch(ae&1038){case 2:Bu(Oi),Oi.flags&=-3;break;case 6:Bu(Oi),Oi.flags&=-3,yc(Oi.alternate,Oi);break;case 1024:Oi.flags&=-1025;break;case 1028:Oi.flags&=-1025,yc(Oi.alternate,Oi);break;case 4:yc(Oi.alternate,Oi);break;case 8:rr=Oi,gc(jt,rr);var Te=rr.alternate;Yc(rr),Te!==null&&Yc(Te)}Oi=Oi.nextEffect}}catch(Bt){if(Oi===null)throw Error(c(330));cl(Oi,Bt),Oi=Oi.nextEffect}while(Oi!==null);if(xe=Ii,ce=zr(),ae=xe.focusedElem,jt=xe.selectionRange,ce!==ae&&ae&&ae.ownerDocument&&ba(ae.ownerDocument.documentElement,ae)){for(jt!==null&&na(ae)&&(ce=jt.start,xe=jt.end,xe===void 0&&(xe=ce),"selectionStart"in ae?(ae.selectionStart=ce,ae.selectionEnd=Math.min(xe,ae.value.length)):(xe=(ce=ae.ownerDocument||document)&&ce.defaultView||window,xe.getSelection&&(xe=xe.getSelection(),rr=ae.textContent.length,Te=Math.min(jt.start,rr),jt=jt.end===void 0?Te:Math.min(jt.end,rr),!xe.extend&&Te>jt&&(rr=jt,jt=Te,Te=rr),rr=Li(ae,Te),lt=Li(ae,jt),rr&&lt&&(xe.rangeCount!==1||xe.anchorNode!==rr.node||xe.anchorOffset!==rr.offset||xe.focusNode!==lt.node||xe.focusOffset!==lt.offset)&&(ce=ce.createRange(),ce.setStart(rr.node,rr.offset),xe.removeAllRanges(),Te>jt?(xe.addRange(ce),xe.extend(lt.node,lt.offset)):(ce.setEnd(lt.node,lt.offset),xe.addRange(ce)))))),ce=[],xe=ae;xe=xe.parentNode;)xe.nodeType===1&&ce.push({element:xe,left:xe.scrollLeft,top:xe.scrollTop});for(typeof ae.focus=="function"&&ae.focus(),ae=0;ae<ce.length;ae++)xe=ce[ae],xe.element.scrollLeft=xe.left,xe.element.scrollTop=xe.top}Pa=!!_i,Ii=_i=null,v.current=Z,Oi=ve;do try{for(ae=v;Oi!==null;){var De=Oi.flags;if(De&36&&kl(ae,Oi.alternate,Oi),De&128){ce=void 0;var tt=Oi.ref;if(tt!==null){var at=Oi.stateNode;switch(Oi.tag){case 5:ce=at;break;default:ce=at}typeof tt=="function"?tt(ce):tt.current=ce}}Oi=Oi.nextEffect}}catch(Bt){if(Oi===null)throw Error(c(330));cl(Oi,Bt),Oi=Oi.nextEffect}while(Oi!==null);Oi=null,ee(),ke=Le}else v.current=Z;if(Ws)Ws=!1,Ja=v,al=A;else for(Oi=ve;Oi!==null;)A=Oi.nextEffect,Oi.nextEffect=null,Oi.flags&8&&(De=Oi,De.sibling=null,De.stateNode=null),Oi=A;if(ve=v.pendingLanes,ve===0&&(Ro=null),ve===1?v===Xc?ol++:(ol=0,Xc=v):ol=0,Z=Z.stateNode,Dn&&typeof Dn.onCommitFiberRoot=="function")try{Dn.onCommitFiberRoot(Mn,Z,void 0,(Z.current.flags&64)===64)}catch(Bt){}if(Cu(v,xt()),tc)throw tc=!1,v=Rl,Rl=null,v;return ke&8||an(),null}function wf(){for(;Oi!==null;){var v=Oi.alternate;qc||Ll===null||(Oi.flags&8?tn(Oi,Ll)&&(qc=!0):Oi.tag===13&&I(v,Oi)&&tn(Oi,Ll)&&(qc=!0));var A=Oi.flags;A&256&&df(v,Oi),!(A&512)||Ws||(Ws=!0,Wr(97,function(){return Fl(),null})),Oi=Oi.nextEffect}}function Fl(){if(al!==90){var v=97<al?97:al;return al=90,Tr(v,Jc)}return!1}function Sf(v,A){sl.push(A,v),Ws||(Ws=!0,Wr(97,function(){return Fl(),null}))}function xc(v,A){bl.push(A,v),Ws||(Ws=!0,Wr(97,function(){return Fl(),null}))}function Jc(){if(Ja===null)return!1;var v=Ja;if(Ja=null,ke&48)throw Error(c(331));var A=ke;ke|=32;var Z=bl;bl=[];for(var ve=0;ve<Z.length;ve+=2){var Le=Z[ve],lt=Z[ve+1],jt=Le.destroy;if(Le.destroy=void 0,typeof jt=="function")try{jt()}catch(P){if(lt===null)throw Error(c(330));cl(lt,P)}}for(Z=sl,sl=[],ve=0;ve<Z.length;ve+=2){Le=Z[ve],lt=Z[ve+1];try{var rr=Le.create;Le.destroy=rr()}catch(P){if(lt===null)throw Error(c(330));cl(lt,P)}}for(rr=v.current.firstEffect;rr!==null;)v=rr.nextEffect,rr.nextEffect=null,rr.flags&8&&(rr.sibling=null,rr.stateNode=null),rr=v;return ke=A,an(),!0}function hf(v,A,Z){A=oo(Z,A),A=Xl(v,A,1),po(v,A),A=hu(),v=rc(v,1),v!==null&&(Pi(v,1,A),Cu(v,A))}function cl(v,A){if(v.tag===3)hf(v,v,A);else for(var Z=v.return;Z!==null;){if(Z.tag===3){hf(Z,v,A);break}else if(Z.tag===1){var ve=Z.stateNode;if(typeof Z.type.getDerivedStateFromError=="function"||typeof ve.componentDidCatch=="function"&&(Ro===null||!Ro.has(ve))){v=oo(A,v);var Le=Ql(Z,v,1);if(po(Z,Le),Le=hu(),Z=rc(Z,1),Z!==null)Pi(Z,1,Le),Cu(Z,Le);else if(typeof ve.componentDidCatch=="function"&&(Ro===null||!Ro.has(ve)))try{ve.componentDidCatch(A,v)}catch(lt){}break}}Z=Z.return}}function Of(v,A,Z){var ve=v.pingCache;ve!==null&&ve.delete(A),A=hu(),v.pingedLanes|=v.suspendedLanes&Z,en===v&&(dn&Z)===Z&&(Oa===4||Oa===3&&(dn&62914560)===dn&&500>xt()-ec?ha(v,0):kc|=Z),Cu(v,A)}function Xu(v,A){var Z=v.stateNode;Z!==null&&Z.delete(A),A=0,A===0&&(A=v.mode,A&2?A&4?(Vu===0&&(Vu=Ma),A=An(62914560&~Vu),A===0&&(A=4194304)):A=Ft()===99?1:2:A=1),Z=hu(),v=rc(v,A),v!==null&&(Pi(v,A,Z),Cu(v,Z))}var Lc;Lc=function(v,A,Z){var ve=A.lanes;if(v!==null)if(v.memoizedProps!==A.pendingProps||ye.current)Ru=!0;else if(Z&ve)Ru=!!(v.flags&16384);else{switch(Ru=!1,A.tag){case 3:wu(A),Bo();break;case 5:ai(A);break;case 1:Jr(A.type)&&ri(A);break;case 4:oc(A,A.stateNode.containerInfo);break;case 10:ve=A.memoizedProps.value;var Le=A.type._context;Ua(pi,Le._currentValue),Le._currentValue=ve;break;case 13:if(A.memoizedState!==null)return Z&A.child.childLanes?Kl(v,A,Z):(Ua(to,to.current&1),A=Su(v,A,Z),A!==null?A.sibling:null);Ua(to,to.current&1);break;case 19:if(ve=(Z&A.childLanes)!==0,v.flags&64){if(ve)return nl(v,A,Z);A.flags|=64}if(Le=A.memoizedState,Le!==null&&(Le.rendering=null,Le.tail=null,Le.lastEffect=null),Ua(to,to.current),ve)break;return null;case 23:case 24:return A.lanes=0,Vc(v,A,Z)}return Su(v,A,Z)}else Ru=!1;switch(A.lanes=0,A.tag){case 2:if(ve=A.type,v!==null&&(v.alternate=null,A.alternate=null,A.flags|=2),v=A.pendingProps,Le=yr(A,ga.current),as(A,Z),Le=cu(null,A,ve,v,Le,Z),A.flags|=1,typeof Le=="object"&&Le!==null&&typeof Le.render=="function"&&Le.$$typeof===void 0){if(A.tag=1,A.memoizedState=null,A.updateQueue=null,Jr(ve)){var lt=!0;ri(A)}else lt=!1;A.memoizedState=Le.state!==null&&Le.state!==void 0?Le.state:null,Rs(A);var jt=ve.getDerivedStateFromProps;typeof jt=="function"&&Al(A,ve,jt,v),Le.updater=Ju,A.stateNode=Le,Le._reactInternals=A,uu(A,ve,v,Z),A=Ue(null,A,ve,!0,lt,Z)}else A.tag=0,$s(null,A,Le,Z),A=A.child;return A;case 16:Le=A.elementType;e:{switch(v!==null&&(v.alternate=null,A.alternate=null,A.flags|=2),v=A.pendingProps,lt=Le._init,Le=lt(Le._payload),A.type=Le,lt=A.tag=pf(Le),v=Wn(Le,v),lt){case 0:A=ko(null,A,Le,v,Z);break e;case 1:A=Il(null,A,Le,v,Z);break e;case 11:A=ml(null,A,Le,v,Z);break e;case 14:A=ff(null,A,Le,Wn(Le.type,v),ve,Z);break e}throw Error(c(306,Le,""))}return A;case 0:return ve=A.type,Le=A.pendingProps,Le=A.elementType===ve?Le:Wn(ve,Le),ko(v,A,ve,Le,Z);case 1:return ve=A.type,Le=A.pendingProps,Le=A.elementType===ve?Le:Wn(ve,Le),Il(v,A,ve,Le,Z);case 3:if(wu(A),ve=A.updateQueue,v===null||ve===null)throw Error(c(282));if(ve=A.pendingProps,Le=A.memoizedState,Le=Le!==null?Le.element:null,fi(v,A),za(A,ve,null,Z),ve=A.memoizedState.element,ve===Le)Bo(),A=Su(v,A,Z);else{if(Le=A.stateNode,(lt=Le.hydrate)&&(rl=bi(A.stateNode.containerInfo.firstChild),tu=A,lt=Hu=!0),lt){if(v=Le.mutableSourceEagerHydrationData,v!=null)for(Le=0;Le<v.length;Le+=2)lt=v[Le],lt._workInProgressVersionPrimary=v[Le+1],Cl.push(lt);for(Z=zl(A,null,ve,Z),A.child=Z;Z;)Z.flags=Z.flags&-3|1024,Z=Z.sibling}else $s(v,A,ve,Z),Bo();A=A.child}return A;case 5:return ai(A),v===null&&qs(A),ve=A.type,Le=A.pendingProps,lt=v!==null?v.memoizedProps:null,jt=Le.children,Mi(ve,Le)?jt=null:lt!==null&&Mi(ve,lt)&&(A.flags|=16),vl(v,A),$s(v,A,jt,Z),A.child;case 6:return v===null&&qs(A),null;case 13:return Kl(v,A,Z);case 4:return oc(A,A.stateNode.containerInfo),ve=A.pendingProps,v===null?A.child=Yo(A,null,ve,Z):$s(v,A,ve,Z),A.child;case 11:return ve=A.type,Le=A.pendingProps,Le=A.elementType===ve?Le:Wn(ve,Le),ml(v,A,ve,Le,Z);case 7:return $s(v,A,A.pendingProps,Z),A.child;case 8:return $s(v,A,A.pendingProps.children,Z),A.child;case 12:return $s(v,A,A.pendingProps.children,Z),A.child;case 10:e:{ve=A.type._context,Le=A.pendingProps,jt=A.memoizedProps,lt=Le.value;var rr=A.type._context;if(Ua(pi,rr._currentValue),rr._currentValue=lt,jt!==null)if(rr=jt.value,lt=Vn(rr,lt)?0:(typeof ve._calculateChangedBits=="function"?ve._calculateChangedBits(rr,lt):1073741823)|0,lt===0){if(jt.children===Le.children&&!ye.current){A=Su(v,A,Z);break e}}else for(rr=A.child,rr!==null&&(rr.return=A);rr!==null;){var P=rr.dependencies;if(P!==null){jt=rr.child;for(var t=P.firstContext;t!==null;){if(t.context===ve&&t.observedBits&lt){rr.tag===1&&(t=Qs(-1,Z&-Z),t.tag=2,po(rr,t)),rr.lanes|=Z,t=rr.alternate,t!==null&&(t.lanes|=Z),ws(rr.return,Z),P.lanes|=Z;break}t=t.next}}else jt=rr.tag===10&&rr.type===A.type?null:rr.child;if(jt!==null)jt.return=rr;else for(jt=rr;jt!==null;){if(jt===A){jt=null;break}if(rr=jt.sibling,rr!==null){rr.return=jt.return,jt=rr;break}jt=jt.return}rr=jt}$s(v,A,Le.children,Z),A=A.child}return A;case 9:return Le=A.type,lt=A.pendingProps,ve=lt.children,as(A,Z),Le=Aa(Le,lt.unstable_observedBits),ve=ve(Le),A.flags|=1,$s(v,A,ve,Z),A.child;case 14:return Le=A.type,lt=Wn(Le,A.pendingProps),lt=Wn(Le.type,lt),ff(v,A,Le,lt,ve,Z);case 15:return mc(v,A,A.type,A.pendingProps,ve,Z);case 17:return ve=A.type,Le=A.pendingProps,Le=A.elementType===ve?Le:Wn(ve,Le),v!==null&&(v.alternate=null,A.alternate=null,A.flags|=2),A.tag=1,Jr(ve)?(v=!0,ri(A)):v=!1,as(A,Z),gu(A,ve,Le),uu(A,ve,Le,Z),Ue(null,A,ve,!0,v,Z);case 19:return nl(v,A,Z);case 23:return Vc(v,A,Z);case 24:return Vc(v,A,Z)}throw Error(c(156,A.tag))};function ef(v,A,Z,ve){this.tag=v,this.key=Z,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=A,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=ve,this.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function Ho(v,A,Z,ve){return new ef(v,A,Z,ve)}function tf(v){return v=v.prototype,!(!v||!v.isReactComponent)}function pf(v){if(typeof v=="function")return tf(v)?1:0;if(v!=null){if(v=v.$$typeof,v===V)return 11;if(v===q)return 14}return 2}function fl(v,A){var Z=v.alternate;return Z===null?(Z=Ho(v.tag,A,v.key,v.mode),Z.elementType=v.elementType,Z.type=v.type,Z.stateNode=v.stateNode,Z.alternate=v,v.alternate=Z):(Z.pendingProps=A,Z.type=v.type,Z.flags=0,Z.nextEffect=null,Z.firstEffect=null,Z.lastEffect=null),Z.childLanes=v.childLanes,Z.lanes=v.lanes,Z.child=v.child,Z.memoizedProps=v.memoizedProps,Z.memoizedState=v.memoizedState,Z.updateQueue=v.updateQueue,A=v.dependencies,Z.dependencies=A===null?null:{lanes:A.lanes,firstContext:A.firstContext},Z.sibling=v.sibling,Z.index=v.index,Z.ref=v.ref,Z}function Bl(v,A,Z,ve,Le,lt){var jt=2;if(ve=v,typeof v=="function")tf(v)&&(jt=1);else if(typeof v=="string")jt=5;else e:switch(v){case Y:return Wo(Z.children,Le,lt,A);case F:jt=8,Le|=16;break;case oe:jt=8,Le|=1;break;case ie:return v=Ho(12,Z,A,Le|8),v.elementType=ie,v.type=ie,v.lanes=lt,v;case G:return v=Ho(13,Z,A,Le),v.type=G,v.elementType=G,v.lanes=lt,v;case te:return v=Ho(19,Z,A,Le),v.elementType=te,v.lanes=lt,v;case se:return Ec(Z,Le,lt,A);case _e:return v=Ho(24,Z,A,Le),v.elementType=_e,v.lanes=lt,v;default:if(typeof v=="object"&&v!==null)switch(v.$$typeof){case ue:jt=10;break e;case K:jt=9;break e;case V:jt=11;break e;case q:jt=14;break e;case J:jt=16,ve=null;break e;case le:jt=22;break e}throw Error(c(130,v==null?v:typeof v,""))}return A=Ho(jt,Z,A,Le),A.elementType=v,A.type=ve,A.lanes=lt,A}function Wo(v,A,Z,ve){return v=Ho(7,v,ve,A),v.lanes=Z,v}function Ec(v,A,Z,ve){return v=Ho(23,v,ve,A),v.elementType=se,v.lanes=Z,v}function _f(v,A,Z){return v=Ho(6,v,null,A),v.lanes=Z,v}function Mc(v,A,Z){return A=Ho(4,v.children!==null?v.children:[],v.key,A),A.lanes=Z,A.stateNode={containerInfo:v.containerInfo,pendingChildren:null,implementation:v.implementation},A}function Fc(v,A,Z){this.tag=A,this.containerInfo=v,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=Z,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=pa(0),this.expirationTimes=pa(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=pa(0),this.mutableSourceEagerHydrationData=null}function mf(v,A,Z){var ve=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:X,key:ve==null?null:""+ve,children:v,containerInfo:A,implementation:Z}}function Bc(v,A,Z,ve){var Le=A.current,lt=hu(),jt=$u(Le);e:if(Z){Z=Z._reactInternals;t:{if(ot(Z)!==Z||Z.tag!==1)throw Error(c(170));var rr=Z;do{switch(rr.tag){case 3:rr=rr.stateNode.context;break t;case 1:if(Jr(rr.type)){rr=rr.stateNode.__reactInternalMemoizedMergedChildContext;break t}}rr=rr.return}while(rr!==null);throw Error(c(171))}if(Z.tag===1){var P=Z.type;if(Jr(P)){Z=Cn(Z,P,rr);break e}}Z=rr}else Z=As;return A.context===null?A.context=Z:A.pendingContext=Z,A=Qs(lt,jt),A.payload={element:v},ve=ve===void 0?null:ve,ve!==null&&(A.callback=ve),po(Le,A),El(Le,jt,lt),jt}function Af(v){if(v=v.current,!v.child)return null;switch(v.child.tag){case 5:return v.child.stateNode;default:return v.child.stateNode}}function Mf(v,A){if(v=v.memoizedState,v!==null&&v.dehydrated!==null){var Z=v.retryLane;v.retryLane=Z!==0&&Z<A?Z:A}}function Nc(v,A){Mf(v,A),(v=v.alternate)&&Mf(v,A)}function Ff(){return null}function rf(v,A,Z){var ve=Z!=null&&Z.hydrationOptions!=null&&Z.hydrationOptions.mutableSources||null;if(Z=new Fc(v,A,Z!=null&&Z.hydrate===!0),A=Ho(3,null,null,A===2?7:A===1?3:0),Z.current=A,A.stateNode=Z,Rs(A),v[ki]=Z.current,Kt(v.nodeType===8?v.parentNode:v),ve)for(v=0;v<ve.length;v++){A=ve[v];var Le=A._getVersion;Le=Le(A._source),Z.mutableSourceEagerHydrationData==null?Z.mutableSourceEagerHydrationData=[A,Le]:Z.mutableSourceEagerHydrationData.push(A,Le)}this._internalRoot=Z}rf.prototype.render=function(v){Bc(v,this._internalRoot,null,null)},rf.prototype.unmount=function(){var v=this._internalRoot,A=v.containerInfo;Bc(null,v,null,function(){A[ki]=null})};function vf(v){return!(!v||v.nodeType!==1&&v.nodeType!==9&&v.nodeType!==11&&(v.nodeType!==8||v.nodeValue!==" react-mount-point-unstable "))}function Hf(v,A){if(A||(A=v?v.nodeType===9?v.documentElement:v.firstChild:null,A=!(!A||A.nodeType!==1||!A.hasAttribute("data-reactroot"))),!A)for(var Z;Z=v.lastChild;)v.removeChild(Z);return new rf(v,0,A?{hydrate:!0}:void 0)}function Cf(v,A,Z,ve,Le){var lt=Z._reactRootContainer;if(lt){var jt=lt._internalRoot;if(typeof Le=="function"){var rr=Le;Le=function(){var t=Af(jt);rr.call(t)}}Bc(A,jt,v,Le)}else{if(lt=Z._reactRootContainer=Hf(Z,ve),jt=lt._internalRoot,typeof Le=="function"){var P=Le;Le=function(){var t=Af(jt);P.call(t)}}Ea(function(){Bc(A,jt,v,Le)})}return Af(jt)}hn=function(v){if(v.tag===13){var A=hu();El(v,4,A),Nc(v,4)}},Fn=function(v){if(v.tag===13){var A=hu();El(v,67108864,A),Nc(v,67108864)}},ti=function(v){if(v.tag===13){var A=hu(),Z=$u(v);El(v,Z,A),Nc(v,Z)}},jn=function(v,A){return A()},Tt=function(v,A,Z){switch(A){case"input":if(ge(v,Z),A=Z.name,Z.type==="radio"&&A!=null){for(Z=v;Z.parentNode;)Z=Z.parentNode;for(Z=Z.querySelectorAll("input[name="+JSON.stringify(""+A)+'][type="radio"]'),A=0;A<Z.length;A++){var ve=Z[A];if(ve!==v&&ve.form===v.form){var Le=qa(ve);if(!Le)throw Error(c(90));st(ve),ge(ve,Le)}}}break;case"textarea":Wt(v,Z);break;case"select":A=Z.value,A!=null&&nt(v,!!Z.multiple,A,!1)}},Rt=Bi,Fe=function(v,A,Z,ve,Le){var lt=ke;ke|=4;try{return Tr(98,v.bind(null,A,Z,ve,Le))}finally{ke=lt,ke===0&&(Nu(),an())}},kr=function(){!(ke&49)&&(Kn(),Fl())},At=function(v,A){var Z=ke;ke|=2;try{return v(A)}finally{ke=Z,ke===0&&(Nu(),an())}};function Bf(v,A){var Z=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!vf(A))throw Error(c(200));return mf(v,A,null,Z)}var Nf={Events:[Ka,eo,qa,Ke,vt,Fl,{current:!1}]},nf={findFiberByHostInstance:Ba,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},$f={bundleType:nf.bundleType,version:nf.version,rendererPackageName:nf.rendererPackageName,rendererConfig:nf.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:j.ReactCurrentDispatcher,findHostInstanceByFiber:function(v){return v=mr(v),v===null?null:v.stateNode},findFiberByHostInstance:nf.findFiberByHostInstance||Ff,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"){var Tf=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Tf.isDisabled&&Tf.supportsFiber)try{Mn=Tf.inject($f),Dn=Tf}catch(v){}}g.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Nf,g.createPortal=Bf,g.findDOMNode=function(v){if(v==null)return null;if(v.nodeType===1)return v;var A=v._reactInternals;if(A===void 0)throw typeof v.render=="function"?Error(c(188)):Error(c(268,Object.keys(v)));return v=mr(A),v=v===null?null:v.stateNode,v},g.flushSync=function(v,A){var Z=ke;if(Z&48)return v(A);ke|=1;try{if(v)return Tr(99,v.bind(null,A))}finally{ke=Z,an()}},g.hydrate=function(v,A,Z){if(!vf(A))throw Error(c(200));return Cf(null,v,A,!0,Z)},g.render=function(v,A,Z){if(!vf(A))throw Error(c(200));return Cf(null,v,A,!1,Z)},g.unmountComponentAtNode=function(v){if(!vf(v))throw Error(c(40));return v._reactRootContainer?(Ea(function(){Cf(null,null,v,!1,function(){v._reactRootContainer=null,v[ki]=null})}),!0):!1},g.unstable_batchedUpdates=Bi,g.unstable_createPortal=function(v,A){return Bf(v,A,2<arguments.length&&arguments[2]!==void 0?arguments[2]:null)},g.unstable_renderSubtreeIntoContainer=function(v,A,Z,ve){if(!vf(Z))throw Error(c(200));if(v==null||v._reactInternals===void 0)throw Error(c(38));return Cf(v,A,Z,!1,ve)},g.version="17.0.2"},4676:function(d,g,e){"use strict";function r(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__=="undefined"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(r)}catch(i){console.error(i)}}r(),d.exports=e(23675)},12373:function(d){var g=typeof Element!="undefined",e=typeof Map=="function",r=typeof Set=="function",i=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function l(c,f){if(c===f)return!0;if(c&&f&&typeof c=="object"&&typeof f=="object"){if(c.constructor!==f.constructor)return!1;var s,h,u;if(Array.isArray(c)){if(s=c.length,s!=f.length)return!1;for(h=s;h--!==0;)if(!l(c[h],f[h]))return!1;return!0}var a;if(e&&c instanceof Map&&f instanceof Map){if(c.size!==f.size)return!1;for(a=c.entries();!(h=a.next()).done;)if(!f.has(h.value[0]))return!1;for(a=c.entries();!(h=a.next()).done;)if(!l(h.value[1],f.get(h.value[0])))return!1;return!0}if(r&&c instanceof Set&&f instanceof Set){if(c.size!==f.size)return!1;for(a=c.entries();!(h=a.next()).done;)if(!f.has(h.value[0]))return!1;return!0}if(i&&ArrayBuffer.isView(c)&&ArrayBuffer.isView(f)){if(s=c.length,s!=f.length)return!1;for(h=s;h--!==0;)if(c[h]!==f[h])return!1;return!0}if(c.constructor===RegExp)return c.source===f.source&&c.flags===f.flags;if(c.valueOf!==Object.prototype.valueOf&&typeof c.valueOf=="function"&&typeof f.valueOf=="function")return c.valueOf()===f.valueOf();if(c.toString!==Object.prototype.toString&&typeof c.toString=="function"&&typeof f.toString=="function")return c.toString()===f.toString();if(u=Object.keys(c),s=u.length,s!==Object.keys(f).length)return!1;for(h=s;h--!==0;)if(!Object.prototype.hasOwnProperty.call(f,u[h]))return!1;if(g&&c instanceof Element)return!1;for(h=s;h--!==0;)if(!((u[h]==="_owner"||u[h]==="__v"||u[h]==="__o")&&c.$$typeof)&&!l(c[u[h]],f[u[h]]))return!1;return!0}return c!==c&&f!==f}d.exports=function(f,s){try{return l(f,s)}catch(h){if((h.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw h}}},30508:function(d,g){"use strict";var e=typeof Symbol=="function"&&Symbol.for,r=e?Symbol.for("react.element"):60103,i=e?Symbol.for("react.portal"):60106,l=e?Symbol.for("react.fragment"):60107,c=e?Symbol.for("react.strict_mode"):60108,f=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,h=e?Symbol.for("react.context"):60110,u=e?Symbol.for("react.async_mode"):60111,a=e?Symbol.for("react.concurrent_mode"):60111,x=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,y=e?Symbol.for("react.suspense_list"):60120,_=e?Symbol.for("react.memo"):60115,b=e?Symbol.for("react.lazy"):60116,S=e?Symbol.for("react.block"):60121,R=e?Symbol.for("react.fundamental"):60117,L=e?Symbol.for("react.responder"):60118,T=e?Symbol.for("react.scope"):60119;function D(N){if(typeof N=="object"&&N!==null){var j=N.$$typeof;switch(j){case r:switch(N=N.type,N){case u:case a:case l:case f:case c:case p:return N;default:switch(N=N&&N.$$typeof,N){case h:case x:case b:case _:case s:return N;default:return j}}case i:return j}}}function M(N){return D(N)===a}g.AsyncMode=u,g.ConcurrentMode=a,g.ContextConsumer=h,g.ContextProvider=s,g.Element=r,g.ForwardRef=x,g.Fragment=l,g.Lazy=b,g.Memo=_,g.Portal=i,g.Profiler=f,g.StrictMode=c,g.Suspense=p,g.isAsyncMode=function(N){return M(N)||D(N)===u},g.isConcurrentMode=M,g.isContextConsumer=function(N){return D(N)===h},g.isContextProvider=function(N){return D(N)===s},g.isElement=function(N){return typeof N=="object"&&N!==null&&N.$$typeof===r},g.isForwardRef=function(N){return D(N)===x},g.isFragment=function(N){return D(N)===l},g.isLazy=function(N){return D(N)===b},g.isMemo=function(N){return D(N)===_},g.isPortal=function(N){return D(N)===i},g.isProfiler=function(N){return D(N)===f},g.isStrictMode=function(N){return D(N)===c},g.isSuspense=function(N){return D(N)===p},g.isValidElementType=function(N){return typeof N=="string"||typeof N=="function"||N===l||N===a||N===f||N===c||N===p||N===y||typeof N=="object"&&N!==null&&(N.$$typeof===b||N.$$typeof===_||N.$$typeof===s||N.$$typeof===h||N.$$typeof===x||N.$$typeof===R||N.$$typeof===L||N.$$typeof===T||N.$$typeof===S)},g.typeOf=D},99234:function(d,g,e){"use strict";d.exports=e(30508)},88172:function(d,g){"use strict";var e=Symbol.for("react.element"),r=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),l=Symbol.for("react.strict_mode"),c=Symbol.for("react.profiler"),f=Symbol.for("react.provider"),s=Symbol.for("react.context"),h=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),a=Symbol.for("react.suspense"),x=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),_=Symbol.for("react.offscreen"),b;b=Symbol.for("react.module.reference");function S(R){if(typeof R=="object"&&R!==null){var L=R.$$typeof;switch(L){case e:switch(R=R.type,R){case i:case c:case l:case a:case x:return R;default:switch(R=R&&R.$$typeof,R){case h:case s:case u:case y:case p:case f:return R;default:return L}}case r:return L}}}g.ContextConsumer=s,g.ContextProvider=f,g.Element=e,g.ForwardRef=u,g.Fragment=i,g.Lazy=y,g.Memo=p,g.Portal=r,g.Profiler=c,g.StrictMode=l,g.Suspense=a,g.SuspenseList=x,g.isAsyncMode=function(){return!1},g.isConcurrentMode=function(){return!1},g.isContextConsumer=function(R){return S(R)===s},g.isContextProvider=function(R){return S(R)===f},g.isElement=function(R){return typeof R=="object"&&R!==null&&R.$$typeof===e},g.isForwardRef=function(R){return S(R)===u},g.isFragment=function(R){return S(R)===i},g.isLazy=function(R){return S(R)===y},g.isMemo=function(R){return S(R)===p},g.isPortal=function(R){return S(R)===r},g.isProfiler=function(R){return S(R)===c},g.isStrictMode=function(R){return S(R)===l},g.isSuspense=function(R){return S(R)===a},g.isSuspenseList=function(R){return S(R)===x},g.isValidElementType=function(R){return typeof R=="string"||typeof R=="function"||R===i||R===c||R===l||R===a||R===x||R===_||typeof R=="object"&&R!==null&&(R.$$typeof===y||R.$$typeof===p||R.$$typeof===f||R.$$typeof===s||R.$$typeof===u||R.$$typeof===b||R.getModuleId!==void 0)},g.typeOf=S},23265:function(d,g,e){"use strict";d.exports=e(88172)},32451:function(d,g,e){"use strict";e.d(g,{lr:function(){return R},rU:function(){return _}});var r=e(59301),i=e(35338),l=e(19340);function c(){return c=Object.assign||function(T){for(var D=1;D<arguments.length;D++){var M=arguments[D];for(var N in M)Object.prototype.hasOwnProperty.call(M,N)&&(T[N]=M[N])}return T},c.apply(this,arguments)}function f(T,D){if(T==null)return{};var M={},N=Object.keys(T),j,Q;for(Q=0;Q<N.length;Q++)j=N[Q],!(D.indexOf(j)>=0)&&(M[j]=T[j]);return M}const s=["onClick","reloadDocument","replace","state","target","to"],h=null;function u(T,D){if(!T){typeof console!="undefined"&&console.warn(D);try{throw new Error(D)}catch(M){}}}function a(T){let{basename:D,children:M,window:N}=T,j=useRef();j.current==null&&(j.current=createBrowserHistory({window:N}));let Q=j.current,[X,Y]=useState({action:Q.action,location:Q.location});return useLayoutEffect(()=>Q.listen(Y),[Q]),createElement(Router,{basename:D,children:M,location:X.location,navigationType:X.action,navigator:Q})}function x(T){let{basename:D,children:M,window:N}=T,j=useRef();j.current==null&&(j.current=createHashHistory({window:N}));let Q=j.current,[X,Y]=useState({action:Q.action,location:Q.location});return useLayoutEffect(()=>Q.listen(Y),[Q]),createElement(Router,{basename:D,children:M,location:X.location,navigationType:X.action,navigator:Q})}function p(T){let{basename:D,children:M,history:N}=T;const[j,Q]=useState({action:N.action,location:N.location});return useLayoutEffect(()=>N.listen(Q),[N]),createElement(Router,{basename:D,children:M,location:j.location,navigationType:j.action,navigator:N})}function y(T){return!!(T.metaKey||T.altKey||T.ctrlKey||T.shiftKey)}const _=(0,r.forwardRef)(function(D,M){let{onClick:N,reloadDocument:j,replace:Q=!1,state:X,target:Y,to:oe}=D,ie=f(D,s),ue=(0,i.oQ)(oe),K=S(oe,{replace:Q,state:X,target:Y});function V(G){N&&N(G),!G.defaultPrevented&&!j&&K(G)}return(0,r.createElement)("a",c({},ie,{href:ue,onClick:V,ref:M,target:Y}))}),b=null;function S(T,D){let{target:M,replace:N,state:j}=D===void 0?{}:D,Q=(0,i.s0)(),X=(0,i.TH)(),Y=(0,i.WU)(T);return(0,r.useCallback)(oe=>{if(oe.button===0&&(!M||M==="_self")&&!y(oe)){oe.preventDefault();let ie=!!N||(0,l.Ep)(X)===(0,l.Ep)(Y);Q(T,{replace:ie,state:j})}},[X,Q,Y,N,j,M,T])}function R(T){let D=(0,r.useRef)(L(T)),M=(0,i.TH)(),N=(0,r.useMemo)(()=>{let X=L(M.search);for(let Y of D.current.keys())X.has(Y)||D.current.getAll(Y).forEach(oe=>{X.append(Y,oe)});return X},[M.search]),j=(0,i.s0)(),Q=(0,r.useCallback)((X,Y)=>{j("?"+L(X),Y)},[j]);return[N,Q]}function L(T){return T===void 0&&(T=""),new URLSearchParams(typeof T=="string"||Array.isArray(T)||T instanceof URLSearchParams?T:Object.keys(T).reduce((D,M)=>{let N=T[M];return D.concat(Array.isArray(N)?N.map(j=>[M,j]):[[M,N]])},[]))}},35338:function(d,g,e){"use strict";e.d(g,{F0:function(){return st},Fg:function(){return Xe},Gn:function(){return x},TH:function(){return se},UO:function(){return bt},V$:function(){return qt},WU:function(){return Ot},bx:function(){return $e},fp:function(){return p},j3:function(){return Pt},oQ:function(){return z},s0:function(){return Re}});var r=e(19340),i=e(59301);const l=(0,i.createContext)(null),c=(0,i.createContext)(null),f=(0,i.createContext)({outlet:null,matches:[]});function s(je,ge){if(!je)throw new Error(ge)}function h(je,ge){if(!je){typeof console!="undefined"&&console.warn(ge);try{throw new Error(ge)}catch(Se){}}}const u={};function a(je,ge,Se){!ge&&!u[je]&&(u[je]=!0)}function x(je,ge){return ge===void 0&&(ge={}),je.replace(/:(\w+)/g,(Se,Me)=>(ge[Me]==null&&s(!1),ge[Me])).replace(/\/*\*$/,Se=>ge["*"]==null?"":ge["*"].replace(/^\/*/,"/"))}function p(je,ge,Se){Se===void 0&&(Se="/");let Me=typeof ge=="string"?(0,r.cP)(ge):ge,Ne=G(Me.pathname||"/",Se);if(Ne==null)return null;let He=y(je);_(He);let nt=null;for(let ct=0;nt==null&&ct<He.length;++ct)nt=Q(He[ct],Ne);return nt}function y(je,ge,Se,Me){return ge===void 0&&(ge=[]),Se===void 0&&(Se=[]),Me===void 0&&(Me=""),je.forEach((Ne,He)=>{let nt={relativePath:Ne.path||"",caseSensitive:Ne.caseSensitive===!0,childrenIndex:He,route:Ne};nt.relativePath.startsWith("/")&&(nt.relativePath.startsWith(Me)||s(!1),nt.relativePath=nt.relativePath.slice(Me.length));let ct=te([Me,nt.relativePath]),Vt=Se.concat(nt);Ne.children&&Ne.children.length>0&&(Ne.index===!0&&s(!1),y(Ne.children,ge,Vt,ct)),!(Ne.path==null&&!Ne.index)&&ge.push({path:ct,score:N(ct,Ne.index),routesMeta:Vt})}),ge}function _(je){je.sort((ge,Se)=>ge.score!==Se.score?Se.score-ge.score:j(ge.routesMeta.map(Me=>Me.childrenIndex),Se.routesMeta.map(Me=>Me.childrenIndex)))}const b=/^:\w+$/,S=3,R=2,L=1,T=10,D=-2,M=je=>je==="*";function N(je,ge){let Se=je.split("/"),Me=Se.length;return Se.some(M)&&(Me+=D),ge&&(Me+=R),Se.filter(Ne=>!M(Ne)).reduce((Ne,He)=>Ne+(b.test(He)?S:He===""?L:T),Me)}function j(je,ge){return je.length===ge.length&&je.slice(0,-1).every((Me,Ne)=>Me===ge[Ne])?je[je.length-1]-ge[ge.length-1]:0}function Q(je,ge){let{routesMeta:Se}=je,Me={},Ne="/",He=[];for(let nt=0;nt<Se.length;++nt){let ct=Se[nt],Vt=nt===Se.length-1,Wt=Ne==="/"?ge:ge.slice(Ne.length)||"/",Ie=X({path:ct.relativePath,caseSensitive:ct.caseSensitive,end:Vt},Wt);if(!Ie)return null;Object.assign(Me,Ie.params);let qe=ct.route;He.push({params:Me,pathname:te([Ne,Ie.pathname]),pathnameBase:q(te([Ne,Ie.pathnameBase])),route:qe}),Ie.pathnameBase!=="/"&&(Ne=te([Ne,Ie.pathnameBase]))}return He}function X(je,ge){typeof je=="string"&&(je={path:je,caseSensitive:!1,end:!0});let[Se,Me]=Y(je.path,je.caseSensitive,je.end),Ne=ge.match(Se);if(!Ne)return null;let He=Ne[0],nt=He.replace(/(.)\/+$/,"$1"),ct=Ne.slice(1);return{params:Me.reduce((Wt,Ie,qe)=>{if(Ie==="*"){let Gt=ct[qe]||"";nt=He.slice(0,He.length-Gt.length).replace(/(.)\/+$/,"$1")}return Wt[Ie]=oe(ct[qe]||"",Ie),Wt},{}),pathname:He,pathnameBase:nt,pattern:je}}function Y(je,ge,Se){ge===void 0&&(ge=!1),Se===void 0&&(Se=!0);let Me=[],Ne="^"+je.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/:(\w+)/g,(nt,ct)=>(Me.push(ct),"([^\\/]+)"));return je.endsWith("*")?(Me.push("*"),Ne+=je==="*"||je==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):Ne+=Se?"\\/*$":"(?:(?=[.~-]|%[0-9A-F]{2})|\\b|\\/|$)",[new RegExp(Ne,ge?void 0:"i"),Me]}function oe(je,ge){try{return decodeURIComponent(je)}catch(Se){return je}}function ie(je,ge){ge===void 0&&(ge="/");let{pathname:Se,search:Me="",hash:Ne=""}=typeof je=="string"?(0,r.cP)(je):je;return{pathname:Se?Se.startsWith("/")?Se:ue(Se,ge):ge,search:J(Me),hash:le(Ne)}}function ue(je,ge){let Se=ge.replace(/\/+$/,"").split("/");return je.split("/").forEach(Ne=>{Ne===".."?Se.length>1&&Se.pop():Ne!=="."&&Se.push(Ne)}),Se.length>1?Se.join("/"):"/"}function K(je,ge,Se){let Me=typeof je=="string"?(0,r.cP)(je):je,Ne=je===""||Me.pathname===""?"/":Me.pathname,He;if(Ne==null)He=Se;else{let ct=ge.length-1;if(Ne.startsWith("..")){let Vt=Ne.split("/");for(;Vt[0]==="..";)Vt.shift(),ct-=1;Me.pathname=Vt.join("/")}He=ct>=0?ge[ct]:"/"}let nt=ie(Me,He);return Ne&&Ne!=="/"&&Ne.endsWith("/")&&!nt.pathname.endsWith("/")&&(nt.pathname+="/"),nt}function V(je){return je===""||je.pathname===""?"/":typeof je=="string"?(0,r.cP)(je).pathname:je.pathname}function G(je,ge){if(ge==="/")return je;if(!je.toLowerCase().startsWith(ge.toLowerCase()))return null;let Se=je.charAt(ge.length);return Se&&Se!=="/"?null:je.slice(ge.length)||"/"}const te=je=>je.join("/").replace(/\/\/+/g,"/"),q=je=>je.replace(/\/+$/,"").replace(/^\/*/,"/"),J=je=>!je||je==="?"?"":je.startsWith("?")?je:"?"+je,le=je=>!je||je==="#"?"":je.startsWith("#")?je:"#"+je;function z(je){F()||s(!1);let{basename:ge,navigator:Se}=(0,i.useContext)(l),{hash:Me,pathname:Ne,search:He}=Ot(je),nt=Ne;if(ge!=="/"){let ct=V(je),Vt=ct!=null&&ct.endsWith("/");nt=Ne==="/"?ge+(Vt?"/":""):te([ge,Ne])}return Se.createHref({pathname:nt,search:He,hash:Me})}function F(){return(0,i.useContext)(c)!=null}function se(){return F()||s(!1),(0,i.useContext)(c).location}function _e(){return useContext(c).navigationType}function Pe(je){F()||s(!1);let{pathname:ge}=se();return useMemo(()=>X(je,ge),[ge,je])}function Re(){F()||s(!1);let{basename:je,navigator:ge}=(0,i.useContext)(l),{matches:Se}=(0,i.useContext)(f),{pathname:Me}=se(),Ne=JSON.stringify(Se.map(ct=>ct.pathnameBase)),He=(0,i.useRef)(!1);return(0,i.useEffect)(()=>{He.current=!0}),(0,i.useCallback)(function(ct,Vt){if(Vt===void 0&&(Vt={}),!He.current)return;if(typeof ct=="number"){ge.go(ct);return}let Wt=K(ct,JSON.parse(Ne),Me);je!=="/"&&(Wt.pathname=te([je,Wt.pathname])),(Vt.replace?ge.replace:ge.push)(Wt,Vt.state)},[je,ge,Ne,Me])}const Ze=(0,i.createContext)(null);function $e(){return(0,i.useContext)(Ze)}function Ht(je){let ge=(0,i.useContext)(f).outlet;return ge&&(0,i.createElement)(Ze.Provider,{value:je},ge)}function bt(){let{matches:je}=(0,i.useContext)(f),ge=je[je.length-1];return ge?ge.params:{}}function Ot(je){let{matches:ge}=(0,i.useContext)(f),{pathname:Se}=se(),Me=JSON.stringify(ge.map(Ne=>Ne.pathnameBase));return(0,i.useMemo)(()=>K(je,JSON.parse(Me),Se),[je,Me,Se])}function qt(je,ge){F()||s(!1);let{matches:Se}=(0,i.useContext)(f),Me=Se[Se.length-1],Ne=Me?Me.params:{},He=Me?Me.pathname:"/",nt=Me?Me.pathnameBase:"/",ct=Me&&Me.route,Vt=se(),Wt;if(ge){var Ie;let Zt=typeof ge=="string"?(0,r.cP)(ge):ge;nt==="/"||(Ie=Zt.pathname)!=null&&Ie.startsWith(nt)||s(!1),Wt=Zt}else Wt=Vt;let qe=Wt.pathname||"/",Gt=nt==="/"?qe:qe.slice(nt.length)||"/",kt=p(je,{pathname:Gt});return er(kt&&kt.map(Zt=>Object.assign({},Zt,{params:Object.assign({},Ne,Zt.params),pathname:te([nt,Zt.pathname]),pathnameBase:Zt.pathnameBase==="/"?nt:te([nt,Zt.pathnameBase])})),Se)}function er(je,ge){return ge===void 0&&(ge=[]),je==null?null:je.reduceRight((Se,Me,Ne)=>(0,i.createElement)(f.Provider,{children:Me.route.element!==void 0?Me.route.element:Se,value:{outlet:Se,matches:ge.concat(je.slice(0,Ne+1))}}),null)}function Jt(je){let{basename:ge,children:Se,initialEntries:Me,initialIndex:Ne}=je,He=useRef();He.current==null&&(He.current=createMemoryHistory({initialEntries:Me,initialIndex:Ne}));let nt=He.current,[ct,Vt]=useState({action:nt.action,location:nt.location});return useLayoutEffect(()=>nt.listen(Vt),[nt]),createElement(st,{basename:ge,children:Se,location:ct.location,navigationType:ct.action,navigator:nt})}function Xe(je){let{to:ge,replace:Se,state:Me}=je;F()||s(!1);let Ne=Re();return(0,i.useEffect)(()=>{Ne(ge,{replace:Se,state:Me})}),null}function Pt(je){return Ht(je.context)}function Ut(je){s(!1)}function st(je){let{basename:ge="/",children:Se=null,location:Me,navigationType:Ne=r.aU.Pop,navigator:He,static:nt=!1}=je;F()&&s(!1);let ct=q(ge),Vt=(0,i.useMemo)(()=>({basename:ct,navigator:He,static:nt}),[ct,He,nt]);typeof Me=="string"&&(Me=(0,r.cP)(Me));let{pathname:Wt="/",search:Ie="",hash:qe="",state:Gt=null,key:kt="default"}=Me,Zt=(0,i.useMemo)(()=>{let Nt=G(Wt,ct);return Nt==null?null:{pathname:Nt,search:Ie,hash:qe,state:Gt,key:kt}},[ct,Wt,Ie,qe,Gt,kt]);return Zt==null?null:(0,i.createElement)(l.Provider,{value:Vt},(0,i.createElement)(c.Provider,{children:Se,value:{location:Zt,navigationType:Ne}}))}function yt(je){let{children:ge,location:Se}=je;return qt(ht(ge),Se)}function ht(je){let ge=[];return Children.forEach(je,Se=>{if(!isValidElement(Se))return;if(Se.type===Fragment){ge.push.apply(ge,ht(Se.props.children));return}Se.type!==Ut&&s(!1);let Me={caseSensitive:Se.props.caseSensitive,element:Se.props.element,index:Se.props.index,path:Se.props.path};Se.props.children&&(Me.children=ht(Se.props.children)),ge.push(Me)}),ge}function Je(je){return er(je)}},76100:function(d,g,e){"use strict";var r=e(84126),i=60103,l=60106;g.Fragment=60107,g.StrictMode=60108,g.Profiler=60114;var c=60109,f=60110,s=60112;g.Suspense=60113;var h=60115,u=60116;if(typeof Symbol=="function"&&Symbol.for){var a=Symbol.for;i=a("react.element"),l=a("react.portal"),g.Fragment=a("react.fragment"),g.StrictMode=a("react.strict_mode"),g.Profiler=a("react.profiler"),c=a("react.provider"),f=a("react.context"),s=a("react.forward_ref"),g.Suspense=a("react.suspense"),h=a("react.memo"),u=a("react.lazy")}var x=typeof Symbol=="function"&&Symbol.iterator;function p(J){return J===null||typeof J!="object"?null:(J=x&&J[x]||J["@@iterator"],typeof J=="function"?J:null)}function y(J){for(var le="https://reactjs.org/docs/error-decoder.html?invariant="+J,z=1;z<arguments.length;z++)le+="&args[]="+encodeURIComponent(arguments[z]);return"Minified React error #"+J+"; visit "+le+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var _={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b={};function S(J,le,z){this.props=J,this.context=le,this.refs=b,this.updater=z||_}S.prototype.isReactComponent={},S.prototype.setState=function(J,le){if(typeof J!="object"&&typeof J!="function"&&J!=null)throw Error(y(85));this.updater.enqueueSetState(this,J,le,"setState")},S.prototype.forceUpdate=function(J){this.updater.enqueueForceUpdate(this,J,"forceUpdate")};function R(){}R.prototype=S.prototype;function L(J,le,z){this.props=J,this.context=le,this.refs=b,this.updater=z||_}var T=L.prototype=new R;T.constructor=L,r(T,S.prototype),T.isPureReactComponent=!0;var D={current:null},M=Object.prototype.hasOwnProperty,N={key:!0,ref:!0,__self:!0,__source:!0};function j(J,le,z){var F,se={},_e=null,Pe=null;if(le!=null)for(F in le.ref!==void 0&&(Pe=le.ref),le.key!==void 0&&(_e=""+le.key),le)M.call(le,F)&&!N.hasOwnProperty(F)&&(se[F]=le[F]);var Re=arguments.length-2;if(Re===1)se.children=z;else if(1<Re){for(var Ze=Array(Re),$e=0;$e<Re;$e++)Ze[$e]=arguments[$e+2];se.children=Ze}if(J&&J.defaultProps)for(F in Re=J.defaultProps,Re)se[F]===void 0&&(se[F]=Re[F]);return{$$typeof:i,type:J,key:_e,ref:Pe,props:se,_owner:D.current}}function Q(J,le){return{$$typeof:i,type:J.type,key:le,ref:J.ref,props:J.props,_owner:J._owner}}function X(J){return typeof J=="object"&&J!==null&&J.$$typeof===i}function Y(J){var le={"=":"=0",":":"=2"};return"$"+J.replace(/[=:]/g,function(z){return le[z]})}var oe=/\/+/g;function ie(J,le){return typeof J=="object"&&J!==null&&J.key!=null?Y(""+J.key):le.toString(36)}function ue(J,le,z,F,se){var _e=typeof J;(_e==="undefined"||_e==="boolean")&&(J=null);var Pe=!1;if(J===null)Pe=!0;else switch(_e){case"string":case"number":Pe=!0;break;case"object":switch(J.$$typeof){case i:case l:Pe=!0}}if(Pe)return Pe=J,se=se(Pe),J=F===""?"."+ie(Pe,0):F,Array.isArray(se)?(z="",J!=null&&(z=J.replace(oe,"$&/")+"/"),ue(se,le,z,"",function($e){return $e})):se!=null&&(X(se)&&(se=Q(se,z+(!se.key||Pe&&Pe.key===se.key?"":(""+se.key).replace(oe,"$&/")+"/")+J)),le.push(se)),1;if(Pe=0,F=F===""?".":F+":",Array.isArray(J))for(var Re=0;Re<J.length;Re++){_e=J[Re];var Ze=F+ie(_e,Re);Pe+=ue(_e,le,z,Ze,se)}else if(Ze=p(J),typeof Ze=="function")for(J=Ze.call(J),Re=0;!(_e=J.next()).done;)_e=_e.value,Ze=F+ie(_e,Re++),Pe+=ue(_e,le,z,Ze,se);else if(_e==="object")throw le=""+J,Error(y(31,le==="[object Object]"?"object with keys {"+Object.keys(J).join(", ")+"}":le));return Pe}function K(J,le,z){if(J==null)return J;var F=[],se=0;return ue(J,F,"","",function(_e){return le.call(z,_e,se++)}),F}function V(J){if(J._status===-1){var le=J._result;le=le(),J._status=0,J._result=le,le.then(function(z){J._status===0&&(z=z.default,J._status=1,J._result=z)},function(z){J._status===0&&(J._status=2,J._result=z)})}if(J._status===1)return J._result;throw J._result}var G={current:null};function te(){var J=G.current;if(J===null)throw Error(y(321));return J}var q={ReactCurrentDispatcher:G,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:D,IsSomeRendererActing:{current:!1},assign:r};g.Children={map:K,forEach:function(J,le,z){K(J,function(){le.apply(this,arguments)},z)},count:function(J){var le=0;return K(J,function(){le++}),le},toArray:function(J){return K(J,function(le){return le})||[]},only:function(J){if(!X(J))throw Error(y(143));return J}},g.Component=S,g.PureComponent=L,g.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=q,g.cloneElement=function(J,le,z){if(J==null)throw Error(y(267,J));var F=r({},J.props),se=J.key,_e=J.ref,Pe=J._owner;if(le!=null){if(le.ref!==void 0&&(_e=le.ref,Pe=D.current),le.key!==void 0&&(se=""+le.key),J.type&&J.type.defaultProps)var Re=J.type.defaultProps;for(Ze in le)M.call(le,Ze)&&!N.hasOwnProperty(Ze)&&(F[Ze]=le[Ze]===void 0&&Re!==void 0?Re[Ze]:le[Ze])}var Ze=arguments.length-2;if(Ze===1)F.children=z;else if(1<Ze){Re=Array(Ze);for(var $e=0;$e<Ze;$e++)Re[$e]=arguments[$e+2];F.children=Re}return{$$typeof:i,type:J.type,key:se,ref:_e,props:F,_owner:Pe}},g.createContext=function(J,le){return le===void 0&&(le=null),J={$$typeof:f,_calculateChangedBits:le,_currentValue:J,_currentValue2:J,_threadCount:0,Provider:null,Consumer:null},J.Provider={$$typeof:c,_context:J},J.Consumer=J},g.createElement=j,g.createFactory=function(J){var le=j.bind(null,J);return le.type=J,le},g.createRef=function(){return{current:null}},g.forwardRef=function(J){return{$$typeof:s,render:J}},g.isValidElement=X,g.lazy=function(J){return{$$typeof:u,_payload:{_status:-1,_result:J},_init:V}},g.memo=function(J,le){return{$$typeof:h,type:J,compare:le===void 0?null:le}},g.useCallback=function(J,le){return te().useCallback(J,le)},g.useContext=function(J,le){return te().useContext(J,le)},g.useDebugValue=function(){},g.useEffect=function(J,le){return te().useEffect(J,le)},g.useImperativeHandle=function(J,le,z){return te().useImperativeHandle(J,le,z)},g.useLayoutEffect=function(J,le){return te().useLayoutEffect(J,le)},g.useMemo=function(J,le){return te().useMemo(J,le)},g.useReducer=function(J,le,z){return te().useReducer(J,le,z)},g.useRef=function(J){return te().useRef(J)},g.useState=function(J){return te().useState(J)},g.version="17.0.2"},59301:function(d,g,e){"use strict";d.exports=e(76100)},59781:function(d,g,e){"use strict";e.d(g,{DE:function(){return D},MT:function(){return y},UY:function(){return L},md:function(){return N},qC:function(){return M}});var r=e(20049);function i(j){return"Minified Redux error #"+j+"; visit https://redux.js.org/Errors?code="+j+" for the full message or use the non-minified dev environment for full errors. "}var l=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),c=function(){return Math.random().toString(36).substring(7).split("").join(".")},f={INIT:"@@redux/INIT"+c(),REPLACE:"@@redux/REPLACE"+c(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+c()}};function s(j){if(typeof j!="object"||j===null)return!1;for(var Q=j;Object.getPrototypeOf(Q)!==null;)Q=Object.getPrototypeOf(Q);return Object.getPrototypeOf(j)===Q}function h(j){if(j===void 0)return"undefined";if(j===null)return"null";var Q=typeof j;switch(Q){case"boolean":case"string":case"number":case"symbol":case"function":return Q}if(Array.isArray(j))return"array";if(x(j))return"date";if(a(j))return"error";var X=u(j);switch(X){case"Symbol":case"Promise":case"WeakMap":case"WeakSet":case"Map":case"Set":return X}return Q.slice(8,-1).toLowerCase().replace(/\s/g,"")}function u(j){return typeof j.constructor=="function"?j.constructor.name:null}function a(j){return j instanceof Error||typeof j.message=="string"&&j.constructor&&typeof j.constructor.stackTraceLimit=="number"}function x(j){return j instanceof Date?!0:typeof j.toDateString=="function"&&typeof j.getDate=="function"&&typeof j.setDate=="function"}function p(j){var Q=typeof j;return Q}function y(j,Q,X){var Y;if(typeof Q=="function"&&typeof X=="function"||typeof X=="function"&&typeof arguments[3]=="function")throw new Error(i(0));if(typeof Q=="function"&&typeof X=="undefined"&&(X=Q,Q=void 0),typeof X!="undefined"){if(typeof X!="function")throw new Error(i(1));return X(y)(j,Q)}if(typeof j!="function")throw new Error(i(2));var oe=j,ie=Q,ue=[],K=ue,V=!1;function G(){K===ue&&(K=ue.slice())}function te(){if(V)throw new Error(i(3));return ie}function q(F){if(typeof F!="function")throw new Error(i(4));if(V)throw new Error(i(5));var se=!0;return G(),K.push(F),function(){if(se){if(V)throw new Error(i(6));se=!1,G();var Pe=K.indexOf(F);K.splice(Pe,1),ue=null}}}function J(F){if(!s(F))throw new Error(i(7));if(typeof F.type=="undefined")throw new Error(i(8));if(V)throw new Error(i(9));try{V=!0,ie=oe(ie,F)}finally{V=!1}for(var se=ue=K,_e=0;_e<se.length;_e++){var Pe=se[_e];Pe()}return F}function le(F){if(typeof F!="function")throw new Error(i(10));oe=F,J({type:f.REPLACE})}function z(){var F,se=q;return F={subscribe:function(Pe){if(typeof Pe!="object"||Pe===null)throw new Error(i(11));function Re(){Pe.next&&Pe.next(te())}Re();var Ze=se(Re);return{unsubscribe:Ze}}},F[l]=function(){return this},F}return J({type:f.INIT}),Y={dispatch:J,subscribe:q,getState:te,replaceReducer:le},Y[l]=z,Y}var _=null;function b(j){typeof console!="undefined"&&typeof console.error=="function"&&console.error(j);try{throw new Error(j)}catch(Q){}}function S(j,Q,X,Y){var oe=Object.keys(Q),ie=X&&X.type===f.INIT?"preloadedState argument passed to createStore":"previous state received by the reducer";if(oe.length===0)return"Store does not have a valid reducer. Make sure the argument passed to combineReducers is an object whose values are reducers.";if(!s(j))return"The "+ie+' has unexpected type of "'+p(j)+'". Expected argument to be an object with the following '+('keys: "'+oe.join('", "')+'"');var ue=Object.keys(j).filter(function(K){return!Q.hasOwnProperty(K)&&!Y[K]});if(ue.forEach(function(K){Y[K]=!0}),!(X&&X.type===f.REPLACE)&&ue.length>0)return"Unexpected "+(ue.length>1?"keys":"key")+" "+('"'+ue.join('", "')+'" found in '+ie+". ")+"Expected to find one of the known reducer keys instead: "+('"'+oe.join('", "')+'". Unexpected keys will be ignored.')}function R(j){Object.keys(j).forEach(function(Q){var X=j[Q],Y=X(void 0,{type:f.INIT});if(typeof Y=="undefined")throw new Error(i(12));if(typeof X(void 0,{type:f.PROBE_UNKNOWN_ACTION()})=="undefined")throw new Error(i(13))})}function L(j){for(var Q=Object.keys(j),X={},Y=0;Y<Q.length;Y++){var oe=Q[Y];typeof j[oe]=="function"&&(X[oe]=j[oe])}var ie=Object.keys(X),ue,K;try{R(X)}catch(V){K=V}return function(G,te){if(G===void 0&&(G={}),K)throw K;if(0)var q;for(var J=!1,le={},z=0;z<ie.length;z++){var F=ie[z],se=X[F],_e=G[F],Pe=se(_e,te);if(typeof Pe=="undefined"){var Re=te&&te.type;throw new Error(i(14))}le[F]=Pe,J=J||Pe!==_e}return J=J||ie.length!==Object.keys(G).length,J?le:G}}function T(j,Q){return function(){return Q(j.apply(this,arguments))}}function D(j,Q){if(typeof j=="function")return T(j,Q);if(typeof j!="object"||j===null)throw new Error(i(16));var X={};for(var Y in j){var oe=j[Y];typeof oe=="function"&&(X[Y]=T(oe,Q))}return X}function M(){for(var j=arguments.length,Q=new Array(j),X=0;X<j;X++)Q[X]=arguments[X];return Q.length===0?function(Y){return Y}:Q.length===1?Q[0]:Q.reduce(function(Y,oe){return function(){return Y(oe.apply(void 0,arguments))}})}function N(){for(var j=arguments.length,Q=new Array(j),X=0;X<j;X++)Q[X]=arguments[X];return function(Y){return function(){var oe=Y.apply(void 0,arguments),ie=function(){throw new Error(i(15))},ue={getState:oe.getState,dispatch:function(){return ie.apply(void 0,arguments)}},K=Q.map(function(V){return V(ue)});return ie=M.apply(void 0,K)(oe.dispatch),(0,r.Z)((0,r.Z)({},oe),{},{dispatch:ie})}}}},58246:function(d){var g=function(e){"use strict";var r=Object.prototype,i=r.hasOwnProperty,l=Object.defineProperty||function(q,J,le){q[J]=le.value},c,f=typeof Symbol=="function"?Symbol:{},s=f.iterator||"@@iterator",h=f.asyncIterator||"@@asyncIterator",u=f.toStringTag||"@@toStringTag";function a(q,J,le){return Object.defineProperty(q,J,{value:le,enumerable:!0,configurable:!0,writable:!0}),q[J]}try{a({},"")}catch(q){a=function(J,le,z){return J[le]=z}}function x(q,J,le,z){var F=J&&J.prototype instanceof L?J:L,se=Object.create(F.prototype),_e=new V(z||[]);return l(se,"_invoke",{value:oe(q,le,_e)}),se}e.wrap=x;function p(q,J,le){try{return{type:"normal",arg:q.call(J,le)}}catch(z){return{type:"throw",arg:z}}}var y="suspendedStart",_="suspendedYield",b="executing",S="completed",R={};function L(){}function T(){}function D(){}var M={};a(M,s,function(){return this});var N=Object.getPrototypeOf,j=N&&N(N(G([])));j&&j!==r&&i.call(j,s)&&(M=j);var Q=D.prototype=L.prototype=Object.create(M);T.prototype=D,l(Q,"constructor",{value:D,configurable:!0}),l(D,"constructor",{value:T,configurable:!0}),T.displayName=a(D,u,"GeneratorFunction");function X(q){["next","throw","return"].forEach(function(J){a(q,J,function(le){return this._invoke(J,le)})})}e.isGeneratorFunction=function(q){var J=typeof q=="function"&&q.constructor;return J?J===T||(J.displayName||J.name)==="GeneratorFunction":!1},e.mark=function(q){return Object.setPrototypeOf?Object.setPrototypeOf(q,D):(q.__proto__=D,a(q,u,"GeneratorFunction")),q.prototype=Object.create(Q),q},e.awrap=function(q){return{__await:q}};function Y(q,J){function le(se,_e,Pe,Re){var Ze=p(q[se],q,_e);if(Ze.type==="throw")Re(Ze.arg);else{var $e=Ze.arg,Ht=$e.value;return Ht&&typeof Ht=="object"&&i.call(Ht,"__await")?J.resolve(Ht.__await).then(function(bt){le("next",bt,Pe,Re)},function(bt){le("throw",bt,Pe,Re)}):J.resolve(Ht).then(function(bt){$e.value=bt,Pe($e)},function(bt){return le("throw",bt,Pe,Re)})}}var z;function F(se,_e){function Pe(){return new J(function(Re,Ze){le(se,_e,Re,Ze)})}return z=z?z.then(Pe,Pe):Pe()}l(this,"_invoke",{value:F})}X(Y.prototype),a(Y.prototype,h,function(){return this}),e.AsyncIterator=Y,e.async=function(q,J,le,z,F){F===void 0&&(F=Promise);var se=new Y(x(q,J,le,z),F);return e.isGeneratorFunction(J)?se:se.next().then(function(_e){return _e.done?_e.value:se.next()})};function oe(q,J,le){var z=y;return function(se,_e){if(z===b)throw new Error("Generator is already running");if(z===S){if(se==="throw")throw _e;return te()}for(le.method=se,le.arg=_e;;){var Pe=le.delegate;if(Pe){var Re=ie(Pe,le);if(Re){if(Re===R)continue;return Re}}if(le.method==="next")le.sent=le._sent=le.arg;else if(le.method==="throw"){if(z===y)throw z=S,le.arg;le.dispatchException(le.arg)}else le.method==="return"&&le.abrupt("return",le.arg);z=b;var Ze=p(q,J,le);if(Ze.type==="normal"){if(z=le.done?S:_,Ze.arg===R)continue;return{value:Ze.arg,done:le.done}}else Ze.type==="throw"&&(z=S,le.method="throw",le.arg=Ze.arg)}}}function ie(q,J){var le=J.method,z=q.iterator[le];if(z===c)return J.delegate=null,le==="throw"&&q.iterator.return&&(J.method="return",J.arg=c,ie(q,J),J.method==="throw")||le!=="return"&&(J.method="throw",J.arg=new TypeError("The iterator does not provide a '"+le+"' method")),R;var F=p(z,q.iterator,J.arg);if(F.type==="throw")return J.method="throw",J.arg=F.arg,J.delegate=null,R;var se=F.arg;if(!se)return J.method="throw",J.arg=new TypeError("iterator result is not an object"),J.delegate=null,R;if(se.done)J[q.resultName]=se.value,J.next=q.nextLoc,J.method!=="return"&&(J.method="next",J.arg=c);else return se;return J.delegate=null,R}X(Q),a(Q,u,"Generator"),a(Q,s,function(){return this}),a(Q,"toString",function(){return"[object Generator]"});function ue(q){var J={tryLoc:q[0]};1 in q&&(J.catchLoc=q[1]),2 in q&&(J.finallyLoc=q[2],J.afterLoc=q[3]),this.tryEntries.push(J)}function K(q){var J=q.completion||{};J.type="normal",delete J.arg,q.completion=J}function V(q){this.tryEntries=[{tryLoc:"root"}],q.forEach(ue,this),this.reset(!0)}e.keys=function(q){var J=Object(q),le=[];for(var z in J)le.push(z);return le.reverse(),function F(){for(;le.length;){var se=le.pop();if(se in J)return F.value=se,F.done=!1,F}return F.done=!0,F}};function G(q){if(q){var J=q[s];if(J)return J.call(q);if(typeof q.next=="function")return q;if(!isNaN(q.length)){var le=-1,z=function F(){for(;++le<q.length;)if(i.call(q,le))return F.value=q[le],F.done=!1,F;return F.value=c,F.done=!0,F};return z.next=z}}return{next:te}}e.values=G;function te(){return{value:c,done:!0}}return V.prototype={constructor:V,reset:function(q){if(this.prev=0,this.next=0,this.sent=this._sent=c,this.done=!1,this.delegate=null,this.method="next",this.arg=c,this.tryEntries.forEach(K),!q)for(var J in this)J.charAt(0)==="t"&&i.call(this,J)&&!isNaN(+J.slice(1))&&(this[J]=c)},stop:function(){this.done=!0;var q=this.tryEntries[0],J=q.completion;if(J.type==="throw")throw J.arg;return this.rval},dispatchException:function(q){if(this.done)throw q;var J=this;function le(Re,Ze){return se.type="throw",se.arg=q,J.next=Re,Ze&&(J.method="next",J.arg=c),!!Ze}for(var z=this.tryEntries.length-1;z>=0;--z){var F=this.tryEntries[z],se=F.completion;if(F.tryLoc==="root")return le("end");if(F.tryLoc<=this.prev){var _e=i.call(F,"catchLoc"),Pe=i.call(F,"finallyLoc");if(_e&&Pe){if(this.prev<F.catchLoc)return le(F.catchLoc,!0);if(this.prev<F.finallyLoc)return le(F.finallyLoc)}else if(_e){if(this.prev<F.catchLoc)return le(F.catchLoc,!0)}else if(Pe){if(this.prev<F.finallyLoc)return le(F.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function(q,J){for(var le=this.tryEntries.length-1;le>=0;--le){var z=this.tryEntries[le];if(z.tryLoc<=this.prev&&i.call(z,"finallyLoc")&&this.prev<z.finallyLoc){var F=z;break}}F&&(q==="break"||q==="continue")&&F.tryLoc<=J&&J<=F.finallyLoc&&(F=null);var se=F?F.completion:{};return se.type=q,se.arg=J,F?(this.method="next",this.next=F.finallyLoc,R):this.complete(se)},complete:function(q,J){if(q.type==="throw")throw q.arg;return q.type==="break"||q.type==="continue"?this.next=q.arg:q.type==="return"?(this.rval=this.arg=q.arg,this.method="return",this.next="end"):q.type==="normal"&&J&&(this.next=J),R},finish:function(q){for(var J=this.tryEntries.length-1;J>=0;--J){var le=this.tryEntries[J];if(le.finallyLoc===q)return this.complete(le.completion,le.afterLoc),K(le),R}},catch:function(q){for(var J=this.tryEntries.length-1;J>=0;--J){var le=this.tryEntries[J];if(le.tryLoc===q){var z=le.completion;if(z.type==="throw"){var F=z.arg;K(le)}return F}}throw new Error("illegal catch attempt")},delegateYield:function(q,J,le){return this.delegate={iterator:G(q),resultName:J,nextLoc:le},this.method==="next"&&(this.arg=c),R}},e}(d.exports);try{regeneratorRuntime=g}catch(e){typeof globalThis=="object"?globalThis.regeneratorRuntime=g:Function("r","regeneratorRuntime = r")(g)}},76374:function(d,g,e){"use strict";var r=function(){if(typeof Map!="undefined")return Map;function V(G,te){var q=-1;return G.some(function(J,le){return J[0]===te?(q=le,!0):!1}),q}return function(){function G(){this.__entries__=[]}return Object.defineProperty(G.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),G.prototype.get=function(te){var q=V(this.__entries__,te),J=this.__entries__[q];return J&&J[1]},G.prototype.set=function(te,q){var J=V(this.__entries__,te);~J?this.__entries__[J][1]=q:this.__entries__.push([te,q])},G.prototype.delete=function(te){var q=this.__entries__,J=V(q,te);~J&&q.splice(J,1)},G.prototype.has=function(te){return!!~V(this.__entries__,te)},G.prototype.clear=function(){this.__entries__.splice(0)},G.prototype.forEach=function(te,q){q===void 0&&(q=null);for(var J=0,le=this.__entries__;J<le.length;J++){var z=le[J];te.call(q,z[1],z[0])}},G}()}(),i=typeof window!="undefined"&&typeof document!="undefined"&&window.document===document,l=function(){return typeof e.g!="undefined"&&e.g.Math===Math?e.g:typeof self!="undefined"&&self.Math===Math?self:typeof window!="undefined"&&window.Math===Math?window:Function("return this")()}(),c=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(l):function(V){return setTimeout(function(){return V(Date.now())},1e3/60)}}(),f=2;function s(V,G){var te=!1,q=!1,J=0;function le(){te&&(te=!1,V()),q&&F()}function z(){c(le)}function F(){var se=Date.now();if(te){if(se-J<f)return;q=!0}else te=!0,q=!1,setTimeout(z,G);J=se}return F}var h=20,u=["top","right","bottom","left","width","height","size","weight"],a=typeof MutationObserver!="undefined",x=function(){function V(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=s(this.refresh.bind(this),h)}return V.prototype.addObserver=function(G){~this.observers_.indexOf(G)||this.observers_.push(G),this.connected_||this.connect_()},V.prototype.removeObserver=function(G){var te=this.observers_,q=te.indexOf(G);~q&&te.splice(q,1),!te.length&&this.connected_&&this.disconnect_()},V.prototype.refresh=function(){var G=this.updateObservers_();G&&this.refresh()},V.prototype.updateObservers_=function(){var G=this.observers_.filter(function(te){return te.gatherActive(),te.hasActive()});return G.forEach(function(te){return te.broadcastActive()}),G.length>0},V.prototype.connect_=function(){!i||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),a?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},V.prototype.disconnect_=function(){!i||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},V.prototype.onTransitionEnd_=function(G){var te=G.propertyName,q=te===void 0?"":te,J=u.some(function(le){return!!~q.indexOf(le)});J&&this.refresh()},V.getInstance=function(){return this.instance_||(this.instance_=new V),this.instance_},V.instance_=null,V}(),p=function(V,G){for(var te=0,q=Object.keys(G);te<q.length;te++){var J=q[te];Object.defineProperty(V,J,{value:G[J],enumerable:!1,writable:!1,configurable:!0})}return V},y=function(V){var G=V&&V.ownerDocument&&V.ownerDocument.defaultView;return G||l},_=Q(0,0,0,0);function b(V){return parseFloat(V)||0}function S(V){for(var G=[],te=1;te<arguments.length;te++)G[te-1]=arguments[te];return G.reduce(function(q,J){var le=V["border-"+J+"-width"];return q+b(le)},0)}function R(V){for(var G=["top","right","bottom","left"],te={},q=0,J=G;q<J.length;q++){var le=J[q],z=V["padding-"+le];te[le]=b(z)}return te}function L(V){var G=V.getBBox();return Q(0,0,G.width,G.height)}function T(V){var G=V.clientWidth,te=V.clientHeight;if(!G&&!te)return _;var q=y(V).getComputedStyle(V),J=R(q),le=J.left+J.right,z=J.top+J.bottom,F=b(q.width),se=b(q.height);if(q.boxSizing==="border-box"&&(Math.round(F+le)!==G&&(F-=S(q,"left","right")+le),Math.round(se+z)!==te&&(se-=S(q,"top","bottom")+z)),!M(V)){var _e=Math.round(F+le)-G,Pe=Math.round(se+z)-te;Math.abs(_e)!==1&&(F-=_e),Math.abs(Pe)!==1&&(se-=Pe)}return Q(J.left,J.top,F,se)}var D=function(){return typeof SVGGraphicsElement!="undefined"?function(V){return V instanceof y(V).SVGGraphicsElement}:function(V){return V instanceof y(V).SVGElement&&typeof V.getBBox=="function"}}();function M(V){return V===y(V).document.documentElement}function N(V){return i?D(V)?L(V):T(V):_}function j(V){var G=V.x,te=V.y,q=V.width,J=V.height,le=typeof DOMRectReadOnly!="undefined"?DOMRectReadOnly:Object,z=Object.create(le.prototype);return p(z,{x:G,y:te,width:q,height:J,top:te,right:G+q,bottom:J+te,left:G}),z}function Q(V,G,te,q){return{x:V,y:G,width:te,height:q}}var X=function(){function V(G){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=Q(0,0,0,0),this.target=G}return V.prototype.isActive=function(){var G=N(this.target);return this.contentRect_=G,G.width!==this.broadcastWidth||G.height!==this.broadcastHeight},V.prototype.broadcastRect=function(){var G=this.contentRect_;return this.broadcastWidth=G.width,this.broadcastHeight=G.height,G},V}(),Y=function(){function V(G,te){var q=j(te);p(this,{target:G,contentRect:q})}return V}(),oe=function(){function V(G,te,q){if(this.activeObservations_=[],this.observations_=new r,typeof G!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=G,this.controller_=te,this.callbackCtx_=q}return V.prototype.observe=function(G){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element=="undefined"||!(Element instanceof Object))){if(!(G instanceof y(G).Element))throw new TypeError('parameter 1 is not of type "Element".');var te=this.observations_;te.has(G)||(te.set(G,new X(G)),this.controller_.addObserver(this),this.controller_.refresh())}},V.prototype.unobserve=function(G){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element=="undefined"||!(Element instanceof Object))){if(!(G instanceof y(G).Element))throw new TypeError('parameter 1 is not of type "Element".');var te=this.observations_;te.has(G)&&(te.delete(G),te.size||this.controller_.removeObserver(this))}},V.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},V.prototype.gatherActive=function(){var G=this;this.clearActive(),this.observations_.forEach(function(te){te.isActive()&&G.activeObservations_.push(te)})},V.prototype.broadcastActive=function(){if(this.hasActive()){var G=this.callbackCtx_,te=this.activeObservations_.map(function(q){return new Y(q.target,q.broadcastRect())});this.callback_.call(G,te,G),this.clearActive()}},V.prototype.clearActive=function(){this.activeObservations_.splice(0)},V.prototype.hasActive=function(){return this.activeObservations_.length>0},V}(),ie=typeof WeakMap!="undefined"?new WeakMap:new r,ue=function(){function V(G){if(!(this instanceof V))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var te=x.getInstance(),q=new oe(G,te,this);ie.set(this,q)}return V}();["observe","unobserve","disconnect"].forEach(function(V){ue.prototype[V]=function(){var G;return(G=ie.get(this))[V].apply(G,arguments)}});var K=function(){return typeof l.ResizeObserver!="undefined"?l.ResizeObserver:ue}();g.Z=K},74284:function(d,g){"use strict";var e,r,i,l;if(typeof performance=="object"&&typeof performance.now=="function"){var c=performance;g.unstable_now=function(){return c.now()}}else{var f=Date,s=f.now();g.unstable_now=function(){return f.now()-s}}if(typeof window=="undefined"||typeof MessageChannel!="function"){var h=null,u=null,a=function(){if(h!==null)try{var z=g.unstable_now();h(!0,z),h=null}catch(F){throw setTimeout(a,0),F}};e=function(z){h!==null?setTimeout(e,0,z):(h=z,setTimeout(a,0))},r=function(z,F){u=setTimeout(z,F)},i=function(){clearTimeout(u)},g.unstable_shouldYield=function(){return!1},l=g.unstable_forceFrameRate=function(){}}else{var x=window.setTimeout,p=window.clearTimeout;if(typeof console!="undefined"){var y=window.cancelAnimationFrame;typeof window.requestAnimationFrame!="function"&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),typeof y!="function"&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var _=!1,b=null,S=-1,R=5,L=0;g.unstable_shouldYield=function(){return g.unstable_now()>=L},l=function(){},g.unstable_forceFrameRate=function(z){0>z||125<z?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):R=0<z?Math.floor(1e3/z):5};var T=new MessageChannel,D=T.port2;T.port1.onmessage=function(){if(b!==null){var z=g.unstable_now();L=z+R;try{b(!0,z)?D.postMessage(null):(_=!1,b=null)}catch(F){throw D.postMessage(null),F}}else _=!1},e=function(z){b=z,_||(_=!0,D.postMessage(null))},r=function(z,F){S=x(function(){z(g.unstable_now())},F)},i=function(){p(S),S=-1}}function M(z,F){var se=z.length;z.push(F);e:for(;;){var _e=se-1>>>1,Pe=z[_e];if(Pe!==void 0&&0<Q(Pe,F))z[_e]=F,z[se]=Pe,se=_e;else break e}}function N(z){return z=z[0],z===void 0?null:z}function j(z){var F=z[0];if(F!==void 0){var se=z.pop();if(se!==F){z[0]=se;e:for(var _e=0,Pe=z.length;_e<Pe;){var Re=2*(_e+1)-1,Ze=z[Re],$e=Re+1,Ht=z[$e];if(Ze!==void 0&&0>Q(Ze,se))Ht!==void 0&&0>Q(Ht,Ze)?(z[_e]=Ht,z[$e]=se,_e=$e):(z[_e]=Ze,z[Re]=se,_e=Re);else if(Ht!==void 0&&0>Q(Ht,se))z[_e]=Ht,z[$e]=se,_e=$e;else break e}}return F}return null}function Q(z,F){var se=z.sortIndex-F.sortIndex;return se!==0?se:z.id-F.id}var X=[],Y=[],oe=1,ie=null,ue=3,K=!1,V=!1,G=!1;function te(z){for(var F=N(Y);F!==null;){if(F.callback===null)j(Y);else if(F.startTime<=z)j(Y),F.sortIndex=F.expirationTime,M(X,F);else break;F=N(Y)}}function q(z){if(G=!1,te(z),!V)if(N(X)!==null)V=!0,e(J);else{var F=N(Y);F!==null&&r(q,F.startTime-z)}}function J(z,F){V=!1,G&&(G=!1,i()),K=!0;var se=ue;try{for(te(F),ie=N(X);ie!==null&&(!(ie.expirationTime>F)||z&&!g.unstable_shouldYield());){var _e=ie.callback;if(typeof _e=="function"){ie.callback=null,ue=ie.priorityLevel;var Pe=_e(ie.expirationTime<=F);F=g.unstable_now(),typeof Pe=="function"?ie.callback=Pe:ie===N(X)&&j(X),te(F)}else j(X);ie=N(X)}if(ie!==null)var Re=!0;else{var Ze=N(Y);Ze!==null&&r(q,Ze.startTime-F),Re=!1}return Re}finally{ie=null,ue=se,K=!1}}var le=l;g.unstable_IdlePriority=5,g.unstable_ImmediatePriority=1,g.unstable_LowPriority=4,g.unstable_NormalPriority=3,g.unstable_Profiling=null,g.unstable_UserBlockingPriority=2,g.unstable_cancelCallback=function(z){z.callback=null},g.unstable_continueExecution=function(){V||K||(V=!0,e(J))},g.unstable_getCurrentPriorityLevel=function(){return ue},g.unstable_getFirstCallbackNode=function(){return N(X)},g.unstable_next=function(z){switch(ue){case 1:case 2:case 3:var F=3;break;default:F=ue}var se=ue;ue=F;try{return z()}finally{ue=se}},g.unstable_pauseExecution=function(){},g.unstable_requestPaint=le,g.unstable_runWithPriority=function(z,F){switch(z){case 1:case 2:case 3:case 4:case 5:break;default:z=3}var se=ue;ue=z;try{return F()}finally{ue=se}},g.unstable_scheduleCallback=function(z,F,se){var _e=g.unstable_now();switch(typeof se=="object"&&se!==null?(se=se.delay,se=typeof se=="number"&&0<se?_e+se:_e):se=_e,z){case 1:var Pe=-1;break;case 2:Pe=250;break;case 5:Pe=1073741823;break;case 4:Pe=1e4;break;default:Pe=5e3}return Pe=se+Pe,z={id:oe++,callback:F,priorityLevel:z,startTime:se,expirationTime:Pe,sortIndex:-1},se>_e?(z.sortIndex=se,M(Y,z),N(X)===null&&z===N(Y)&&(G?i():G=!0,r(q,se-_e))):(z.sortIndex=Pe,M(X,z),V||K||(V=!0,e(J))),z},g.unstable_wrapCallback=function(z){var F=ue;return function(){var se=ue;ue=F;try{return z.apply(this,arguments)}finally{ue=se}}}},43014:function(d,g,e){"use strict";d.exports=e(74284)},18947:function(d){"use strict";function g(e,r){if(e===r)return!0;if(!e||!r)return!1;var i=Object.keys(e),l=Object.keys(r),c=i.length;if(l.length!==c)return!1;for(var f=0;f<c;f++){var s=i[f];if(e[s]!==r[s]||!Object.prototype.hasOwnProperty.call(r,s))return!1}return!0}d.exports=g},19747:function(d){d.exports=function(e,r,i,l){var c=i?i.call(l,e,r):void 0;if(c!==void 0)return!!c;if(e===r)return!0;if(typeof e!="object"||!e||typeof r!="object"||!r)return!1;var f=Object.keys(e),s=Object.keys(r);if(f.length!==s.length)return!1;for(var h=Object.prototype.hasOwnProperty.bind(r),u=0;u<f.length;u++){var a=f[u];if(!h(a))return!1;var x=e[a],p=r[a];if(c=i?i.call(l,x,p,a):void 0,c===!1||c===void 0&&x!==p)return!1}return!0}},98040:function(d){d.exports=function(){var g=document.getSelection();if(!g.rangeCount)return function(){};for(var e=document.activeElement,r=[],i=0;i<g.rangeCount;i++)r.push(g.getRangeAt(i));switch(e.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":e.blur();break;default:e=null;break}return g.removeAllRanges(),function(){g.type==="Caret"&&g.removeAllRanges(),g.rangeCount||r.forEach(function(l){g.addRange(l)}),e&&e.focus()}}},797:function(d,g,e){"use strict";var r=e(54723);d.exports=function(i){if(typeof i!="function"||!hasOwnProperty.call(i,"length"))return!1;try{if(typeof i.length!="number"||typeof i.call!="function"||typeof i.apply!="function")return!1}catch(l){return!1}return!r(i)}},95562:function(d,g,e){"use strict";var r=e(57046),i={object:!0,function:!0,undefined:!0};d.exports=function(l){return r(l)?hasOwnProperty.call(i,typeof l):!1}},69574:function(d,g,e){"use strict";var r=e(797),i=/^\s*class[\s{/}]/,l=Function.prototype.toString;d.exports=function(c){return!(!r(c)||i.test(l.call(c)))}},54723:function(d,g,e){"use strict";var r=e(95562);d.exports=function(i){if(!r(i))return!1;try{return i.constructor?i.constructor.prototype===i:!1}catch(l){return!1}}},57046:function(d){"use strict";var g=void 0;d.exports=function(e){return e!==g&&e!==null}},36736:function(d,g,e){"use strict";var r=e(59301);function i(y,_){return y===_&&(y!==0||1/y===1/_)||y!==y&&_!==_}var l=typeof Object.is=="function"?Object.is:i,c=r.useState,f=r.useEffect,s=r.useLayoutEffect,h=r.useDebugValue;function u(y,_){var b=_(),S=c({inst:{value:b,getSnapshot:_}}),R=S[0].inst,L=S[1];return s(function(){R.value=b,R.getSnapshot=_,a(R)&&L({inst:R})},[y,b,_]),f(function(){return a(R)&&L({inst:R}),y(function(){a(R)&&L({inst:R})})},[y]),h(b),b}function a(y){var _=y.getSnapshot;y=y.value;try{var b=_();return!l(y,b)}catch(S){return!0}}function x(y,_){return _()}var p=typeof window=="undefined"||typeof window.document=="undefined"||typeof window.document.createElement=="undefined"?x:u;g.useSyncExternalStore=r.useSyncExternalStore!==void 0?r.useSyncExternalStore:p},1719:function(d,g,e){"use strict";var r=e(59301),i=e(37573);function l(x,p){return x===p&&(x!==0||1/x===1/p)||x!==x&&p!==p}var c=typeof Object.is=="function"?Object.is:l,f=i.useSyncExternalStore,s=r.useRef,h=r.useEffect,u=r.useMemo,a=r.useDebugValue;g.useSyncExternalStoreWithSelector=function(x,p,y,_,b){var S=s(null);if(S.current===null){var R={hasValue:!1,value:null};S.current=R}else R=S.current;S=u(function(){function T(Q){if(!D){if(D=!0,M=Q,Q=_(Q),b!==void 0&&R.hasValue){var X=R.value;if(b(X,Q))return N=X}return N=Q}if(X=N,c(M,Q))return X;var Y=_(Q);return b!==void 0&&b(X,Y)?(M=Q,X):(M=Q,N=Y)}var D=!1,M,N,j=y===void 0?null:y;return[function(){return T(p())},j===null?void 0:function(){return T(j())}]},[p,y,_,b]);var L=f(x,S[0],S[1]);return h(function(){R.hasValue=!0,R.value=L},[L]),a(L),L}},37573:function(d,g,e){"use strict";d.exports=e(36736)},45097:function(d,g,e){"use strict";d.exports=e(1719)},1012:function(d,g,e){"use strict";e.d(g,{Z:function(){return y}});var r=typeof crypto!="undefined"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto!="undefined"&&typeof msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto),i=new Uint8Array(16);function l(){if(!r)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return r(i)}var c=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function f(_){return typeof _=="string"&&c.test(_)}for(var s=f,h=[],u=0;u<256;++u)h.push((u+256).toString(16).substr(1));function a(_){var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,S=(h[_[b+0]]+h[_[b+1]]+h[_[b+2]]+h[_[b+3]]+"-"+h[_[b+4]]+h[_[b+5]]+"-"+h[_[b+6]]+h[_[b+7]]+"-"+h[_[b+8]]+h[_[b+9]]+"-"+h[_[b+10]]+h[_[b+11]]+h[_[b+12]]+h[_[b+13]]+h[_[b+14]]+h[_[b+15]]).toLowerCase();if(!s(S))throw TypeError("Stringified UUID is invalid");return S}var x=a;function p(_,b,S){_=_||{};var R=_.random||(_.rng||l)();if(R[6]=R[6]&15|64,R[8]=R[8]&63|128,b){S=S||0;for(var L=0;L<16;++L)b[S+L]=R[L];return b}return x(R)}var y=p},56754:function(d){"use strict";var g=function(){};d.exports=g},85239:function(d){"use strict";var g=!1,e=function(){};if(g){var r=function(l,c){var f=arguments.length;c=new Array(f>1?f-1:0);for(var s=1;s<f;s++)c[s-1]=arguments[s];var h=0,u="Warning: "+l.replace(/%s/g,function(){return c[h++]});typeof console!="undefined"&&console.error(u);try{throw new Error(u)}catch(a){}};e=function(i,l,c){var f=arguments.length;c=new Array(f>2?f-2:0);for(var s=2;s<f;s++)c[s-2]=arguments[s];if(l===void 0)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");i||r.apply(null,[l].concat(c))}}d.exports=e},4977:function(d){"use strict";d.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMwAAACaCAYAAADl9acYAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXQd4U1Ubfs/NaJtO9kzLahFQEJkiUBBFUFFkCCjiAAVFERT5FREQQQXBBcpysWRP2RtkKRsEOphNodCZdDfjnv85CU2TZt2bhABNDw9PmtzvrO+c957xLQIP0pkz1yrQIEmwwcDzHhTj91klEo7jpcG5zetWUJdmRjmPvTM9GI9JgSGvadOoLE9KJJ5kPp2YXLtZdO1kT8ooz2vigCNelvPYezPEG7z0CDAn4pJqPvJA5A3vdcl/S3LEy3Iee29OeIOX5YDx3nh4VFI5YDxin6DM5YARxKb7g6gcMHd+nMoBc+d57LKGhCQ1ZURBCoVL2nKCO8sBZWW50x1TOWDuLP8FlV4OGEFs8glROWB8wmbPKikHjGf882bucsB4k5t3qKxywNwhxrpRbJkGTOx0ehlA3d9e5VEtzA3ulGe55zmg1QOfrCVo34BgQGvr5rLDRl4RRZG+5NjBESBc4FHw1LlrCAuPsCo0JjKi7J5hYqfTXADBq4byCJLf82Nf3kA3OfD9LgKdgeCzZ4CUTJ1VKQFyKQgpmeMSjiKvQC+oplspN/wOMDcBVFv0Bo+KwYJ4VE50H3Jg7j6CWzkEX74A3MrSgTfeKZpSaBCHcAVn/JunBHlFPDR5BkG9LMjPt7mZLOtbskQADea9wqOW9coqiGHlRPcHBxYcJriQQvB9P+v2cqCwWFxgoOJk6JeTNX4HmJMAHv6xP4/6VXw/+OxNx/bM/pIohdUE9VW/VxwjOHiJYO5A6xolpGSpYW3jIW4w/A8wM+h+UHSY2pvHgzV9NXymeor0wPc7Cf7XzWJ/4Nsm+Ly2LzZx+OwZ3yuVbzhNsPEMwcI3rM8wMikHiURi5gNbbQoKrc84zpjkj2eYzQC6f96DomUd305ctrp8tp5gSk/f1utzlFhUOHYthy9f8D1gdpwnWHiEYOVQ6zNM6QM/AY+CImHnF9YtfwTMCgB9P+5G0SHa9xP3bk2gT9cBU3r6Hjp95nBYNcz3gDlwkRhX843vlfS59PmFHfjFzgC/2pJ1nEEnEIpIAG+834Wia2Ox7PJ8wt0twLz7J8Gsl3zf316zCVYPsz5oe85F1yUcu0YwcQPBjlElZyjL8wsrQeyBn+XxK8DETqefgyACFCPe6kjxfDPfT6C7BpilBLMG+L6/A34h+P1VikCZ60nuTYpzN4AxqznjCqPOMZ1RSp9f2OVLYZH1lbOrNvjVlswIGEAKYOyrj1K82NL3E+huAWbEMnbFSn1+Qzd4AcE3fajPZV6X04D3lnHGM4xOawKFJwLLYiD5H2AoCkHwJQMLA42v090CzJjVBBN7UCh8rN3AgDrqCYq6lX3L6RQ1MGQRhwWvA7UrALbnFzCJjOhG+d2WjFCkUYKZPZpSDIv1PWDGrycY34NCahI0+yxN/Ivg3c4UlUN8VqWxok/XEfRrSdG0tm/rzcoHBv7KYc5AILqqLWDcOb/45RmGEFyhFL8/0Yga33y+Tl9uJhjxOEVIoG9rnrqVKSJSRFb0fb3tG1A81sC39TLRSu85HL57Eaii0Bm3oqEKqZXSJaUURUxTU0Tyuy0ZAc5SYCUbxE+6+x4w3+0kGNiWooqP3/Qz9xB0bUTRsLqI2eEFUlbvA9WBJxv5ltdMit9jFocpLwB1InQIkBEQTmLUHStOBoMBOr24K2+/AwwPHOKArS2iKCY9VzKIg34jyMgTv6f1wpwqL8JLHKgUTLHwjZIxZTKg0V2Bzg2tLzvYBYA75xe/25J1mkEnGAzYyXE40KQmMK23uLeLN8b1j0ME7epTxFTzRmnCy/jzXyCqIny+NVryDzFeKfd+xLcrDOMMO8MMfgx45iFrOZA7AstiTvvVoZ91usM3tClHcLpeZWDmAN8DZtlRgkY1KJr5+BC87hQQLAeebCwcZN6gXH6MgG2P+rfyDmD+WLoV8xZugkIRiNh2TTHghcfRoF4tFBZpkXgpGQ81rmdu9puLOLzwMPBYPR1Cgzw/v7CC/WpLxjrc/jtaT2LApRrhwC+DfA+Y9aeI0dKzbT3vTCChk3r7eaBABzzfTGgO79CtPUmM9b7U2jv9bf3kOyjSlihLcoSg93MdkZ2Th227j2Hoq8/inTeeNzZ+xFIOsTHAsw/pAeL5+cUvAdPuG1pVRnArQgEsGex7wGw7RxAgBTo19M4EEjqtD1wEkrPYm15oDu/QbfkPSM0hHsu8du0/gSnfLkFGVrbThjFLynULJ6FOZHUw2RNbyd/qUJLFHZV+ywr9aksWO4Ou0BK8KueRz/bVq++CUuD+RGbhB3R/0LeAOZEEnFIRvPGYb+vdGw+cvU7w3uOe1dv+mfeRk5svCMUfvz8AA3o9jgkbCJQVgPe7lGTz5MDvj4f+VXs/JH1ip1PmAkHy17u8z42bjl4lxjf9C809m0CCZo4FUVwKsDPOJLz0ZTp6Fdh6jtnWe1bvuCm/4q/tRwQ1/b03e2LIwGfw1RaCkADg425AOvPkYCHZd0cG43dbsk4zaDFgWHiHcG85wjBQoEhnMhAzf5r/Jihkf9/+fjXDtDXqGA108+Eqcy0DYAfwMU95NnEFzVgLovibwK8HCab19qze61s24Pf5K7A5KwB5vHM1CblMij9m/Q87rtc1jsek54CMPIBayGD0BgP0ImUw/gwYFiqjllhHGAcvAkuPcijU8cgv0KGgSGv8LNJqweu1MOh14A3ss+S78W+Dzuo3RsPoTy0YgIjQALFz0C36tBzg570EE3p4NnHFVn5TA0zaSPDzy57Vu2bIS6jF67BDHYBHgnVI0kow+6ZjLyZNm9RD+35jkZINfNO7ZIVhEn+e16NQ6157/OqWjJ1h9n1IXoydTi8AeGD+KzxqinCEsfkswfBJC2HQacXOG7v0B+e9CGXVUK+U5aoQdm5iE3eqh296R/XoDEBu0e3/hcz3FzF+Z292trI91Zgav7N2tKrDrrfFTdgTI4dAl61BipZDDXYINRCMvBrusNvBikAMHT8LTM3/pwElK4xMAuQV6uBuKK4yA5hEVfY8SvmmHCETGyjDtzqbQLHf0KMgaCnWEcaW/whGT1mAHHZP6oW09bueaFy3khdKcl0EO+y+v4xgphs2MWxbs+K46bLCDIoi6+9iVLKY4PbTp8UB5t8h/UB53qimz1aJA9lyLExz7H1vyMCnUa15L/x9EfhtkIk/nh74y9ShPz5JnUGA26qFZIdcTofWqR5xxd5Uip1O9wDoJNYRxs4LBB9PXYxUdaHrGSqAYuWUp9GmSQ0BlN4h8cTq8qVfOGgKStpBeAoJb4DEYPrPsU89b/5e/LvEYPubLCIQX06NEtWpfwa/yA4h0FEgqVCK71OCUeTARdLLfbpg9PAXsfGsBBtOA0uHmKpyV0PZsqFl5lo5QaXWgRqNw4pTHiEYGa2M+KX0yMROpxsA9BDrCGNvAsG4GcuQdMt45eJx+nXsk3iyNbOY9k161wOry8/GqZCr1t4GBA/O3T0Nm7gSDl/89IBRHiU0nRk3CgU3knEmT4pZN51rrjI5TN2oGmCOMP44BKx7B8jINemP8ZRCK2Y5LNXAMrMlS0hSpwKw9TRGME+XHf5ekybEfPCInU7/BDBArCOMw5cIPvt+JRJUGqHj7JRu2rsd0P+JGBuanELTTVpwwO3/cnjFxNcTwMz95hquxud5pd+skIEfR6NJA+F2y6o1S3Fj4xpj/X9lBmK7OsDuChMUKMf+v36AXC4Fc4QxYwew/X0gM8/k5VKvN0BvcF9gfc8CJuGWuh4twgoQnJSBzK+nDP+3eLTsBahJSNL8DdD29kaUAFsDSU4vpVJp3FTETqdzAbwl1hHGySSCCTPX41RimlcmzthBrTCsV1Obss5cJ2hWXQupTIoiHUW+1nRYZkcn5kRbTzlIOQq5hBmimfRu2RwoeU4gl5rAFiI3Odpmb/NRK0zXu+zgKzZtWZWK/VvTxWZzSP/EK5HoEivcxsFQWIBzk8caVxmWmMT+g6thNlfMg/p1xYfv9DXSMEcYEzYAu247wnBXQ9myE/fslixRpf6FUgw2N5bgDChmk6Lw33MMqkqlg8JeVKmn8hRjHI0QIdgbiJynGWhiZ9AZoPhgaEeK50Q4wmDCvwmzt+HwGe8EcH67V1N8MshWV4UBpnlNLQID3Lcn5nkKrZ6iUEex4azEqC08di0BW1XDgsTP+2NHsrH6F+/0m9Xetns1PN9b3IWHPi8XyetXIOPoEeg1WbhYKMGK9CCoiiSoWq0SnuvWzqhLVuyoz+wI411mmi3epZI9Lt2zgElIUht9INtpdDJPMUsSGf59NCFFxc8TknI6AoZ9LqbCmj+V4X33zMAEAOMHtaXoJ0KLVpUJjJuzD3v+vSh+xtnJ0ffxaMwY0dHuCtO8pg6BAcK3LI4axCTai/4hRsBM3kww5DGK6o5vYx32S52pw9QxbEi8k6o2DMeoj2q5VVhqNnB29JsI0TP5M6Dj5Gg7dwmkpVZOsyOMtyg4joDyBhRq3d+Osbru3S2ZSp0LCmf+9ZM5CUY3qBWx3LREUy5RpbkKQOl0FAimvrksPAME08Q6wmD74DGz/8H2A/+5NdClM8U2r4VFE7rZBcwjtXQIkHsOGLbSLP7XBJhvdxD0fJiinhs+pVk5n41IBM/UFryQSHggvpxRooovpsgdFwjoD8MQri3ZIso/XYzm9a2FwDfUAFPxX/AaRYSCeCR/KW7fvQuYJE0RQF3vSQh2UQn3bsOaYXEJSZrPADrJBfP5BceCVx+4LO0r1hGG3gC8//Np/LXrmJjxdUhbv1YE9vzU22eAmbOPBRmieNCNFzvP8/jhaxVSL3vn4M9zBJN/bgSZgJsyplZ0KQ24oSZgq8vmE4V4+9hrkNIS8O5uPhbNOz+CprWpWRhd7Ahj9svMYM871rT38pbM/q2XvelHoeU4bpxBgt+Jjr8MAqfi80NXZEW/H1UEuOMIY/zCRPyxZr9XABMSJMP5pbelahYlsjNMi1p6402Pp8lyhWEhIBpVp2hdV1yp6nwgPAhYvzQF/+zOEpfZCfXgz6LRIMrxKsq0B5YcKsL6UxRFvBygelBdLjhZGMCx/RfTKWMCUGZzbAClvJEmtiGH97oEGLdhzBHGjL4UDyvLOmBUmn9AaamAay7GimAXgdErzG1RlX36k9el+PlgsPFtK9YRxtwtNzBl7havTZoLywYhuJRbSCNgauvBlAg9TQYDjyVHOeOWbOVxoEoo0Mn2JttpNZvOcmhfn0KTXoTr8TlITSnCrRSt8TMvV7gj79KVPDskCo+1tb/rZkLScavzcTlTARBrZUu+MB1coHNHZ8rQXEzvH4T+8yWY9DzQrj6QptFDzzRlPUj37JbM5pZMeCfZK5CNgsPt3PlbEny3LwSlHWEIqWLzcTWGfbFaCKkgml0zeyNaaa3QdqcAs+msSa2k+4OCmmYm2nyWQ98W9idabo4eqSla3EopMn6m3mRgKkJ6KlM6dV5Plz418ES3CjZE7Ar9w2X5UGXbv3bmC1NBAiqBEOf34zFhKlzLq40PuxK0i8qFutBzRdd7FjDx1zSDCKELxA2tmZoyyztqqc9tUdDlDAm+2hUCdxxhHIwrwOAJy5EvIkSCsz78Nq4rnmhpfU/BANOytgEydwQmpSpjQro/b68we+JNArzej4jjKouz0q+luDwGAzWCxnI1Kr0qPfpEZTzXv6pVwUzf6+MVBTiX6vi+hxoKQfUF4AJswWZZGF+UCUN2IsYMaINnbcVd4jp0m/qePcNcvJlTldcaUm5vVN3qnKNM1zUcJm4LhTuOMP65qMWYGWtxJcU76jGT3nwUrz1j7ZnCCBilAbLS96RucIFJtv88ZpLD/HMZSEgFXmkrrqANp2yjEYsroYRar6f44I3zxh9qNwnH8FHWNxBLj2ix6F85SKltmGV9lBrAF6RConCuh8fotCn7MSC2Fob3ELkPddDBexYwrL2JSZqtFPQpdwfHUT7mf+zjTWFwxxHG8St6zPhtCw6cZXcSnqdhLzTF2FethZcMMK2UBki9DBgmbz18mYAJbMUk5shiYBsxORzT5ucZ8PHbcUaC4OpBGDe55AbiShqP9/40gHLOt058UZbxXMPJnQuUKK+DLi8DEs0R/PJBLIIVwjULHPXgnt2SsQbHq7JeIJSYFIi8mNgeeeT6cFRQAItFOsL4L5li0do9WLrLriK06FZ2e7QO5v3PwugcgDcBo9MbsPT2CnMxFcYwdiNFuMhlKjcs/J23AMMEoONHJhj5JA2T44tvS2TTo5cX4kKqY5X9YuYacq9CEhzlMngmr8uGQasFLUpDPcUV/DCiKwrcNBwrrvueBsyKFVTSvG32aQraRPRMdJKBWaa+vSrcqNAo1hEGsyD8Y/1R/LzmjFea1EBZAbtn9rIqywiYSB5Siecey3U6A5YeN23JmCCPORIcK8IWhV0ps1Wpj8hzjyPmsDPN5P+ZNCWInMOXPz9g/PtgohZfbpEZ3SE5TxSGXBUkIa61vPnCDLCzFEuGrOMY1q02Xunq2VS6p7dkrKOJ17N7UAPP1PG9moatCoOBJ9go0hEGe+P+vC4e3yw84JX2VAoLxMmFL9sApnUkD4kXAKPV6bHsuNQIGDb5p28nmCwixmZSJnA5jeCZh1x3NzfpKi7M/xlFGRmo0qoNqnfohPAG1mcH1dUCfDP+sqkwjuCreY2Mf478swiJGa6V3Az518EFVgHhXMu0DYUZ4G8Dhuqy0Sg0EfM+8myHf88DhjEzIUmzAaA9XA+ZcIqR60KRp+XgjiOM3Sdu4s0vtyAkSIrgQCmCg6QIYZ+BMuPf7Dfzs9vP2bPi34ICZTh2szJ6NM41HuyrV7f2G8tWmNZRPCSc5yuMJWCYGcjHawm+7Sv8DPPfdSBfS9C5oWveHhg+GFqNyfRBEhgIeWgY2kz7AZysRDh5KT4fP0y5vZ0lwBdzGoO9FwbOK4S6KMDpCkP1eaD6fCNghCSDNhe8zmTsVznrMD59XIGa7Wx194SUVUxzT2/JihuZmJJThWoNZ0HgNY/EH28MRUY+B7GOMFibcrJzkJuXB3Z1zXHc7U9ivNlh0mX2aXpm/7ekLA57E6R44zHm5slWAs0A0ybKpDDoaWLhHJafMK0wLIm1ujx0iYD56WgrQO3ryuplSN6xzajkqM83+RCr1aUrol95A5zUJIT971QO5n2bZPybXYRNntsYvx4guLJrL1qkbsD2moOQHP6wlUskRkt5PfiCm5AEC/exa9DmgNcVoVL2KQy59RsqhAQg6tPvwAU5U1F0zvH7AjCsC4mqnE6UGpitvsfSJ0IIHb8lmNzIlkCsIwxPJzDLf10NrDtJMNyBjzDvAkaH5SdkbgOGOf5oVAN4sKawnl+YOwspf+81EzPIh9VvgCbvfoDAKlVx9JAai+ZcNz4PVBBE9W+M07uPo9/laeBgknSeC22ObbVeQ06QCRzselivuQhZBNveCX+JGAoyEZEThyE3fkIYNa00yh69UPdF6y2wsJ6ZqO6LLZl5pUlW9wHFMkrh6mTokgdf7QzG5UwpxDrCcFmwAAImPPztIMHorva3RkbA1GEhGoRPDkfVMj/EVoARaabM2vliCxj9QQtJ1GDAtU3rcGPXDmjVWWDfWWJbtHp9BiCwRScU6KQICJRg4VEp4g8ex4tXvrFSpGT0JxXNsKraIEgVFaHLuQ5ZSE1wAeLsEioRFZ5PnAVlTok5hiQwCG1+mAupwr1V5r4CDGNkgkrzEij93Znqi5CB/XafAhduySDWEYaQsl3RFGiB6Tsce4NkgGlbx+WtqatqjM9ZlOAVJ0tWmPeWEvzYX3gYcOY9cuKzsLE1EVK5oagQJ7/4DDlXS67gZTVqI6dlXxwNaIXrJ06j75UZkFhoHbNyK7Zqh2E3usHAlCupDgFhtSAJEmdsxsqJqZSHevmJaHPoC6vm1nvpNdTu7t6R+L4DjAk06t7M+tKuDb+QkQTw00EFTl2XQawjDIHFOyVj6h+frSeY4uC2it1MRVXgIeUIpBLTWcjdxMJArDgpN2/JPlpF8PlzwoPDjl9v0vZ1N2k1apz+ehJyVaZzS3HimUMKIoWUWrusqtDqUTR46308/bUKekghU1QBkbq+PbPXPkNuEog8DAOS5+ABzVEzSWj9GDSf+JVbXbovAcNs+oODFYSjsp8oqCm2gcj06z9BOHJNbjTZ7RDt/oQQWa2ZXEw0ZWY1yYzYGdCYuj5L7AJNwgBlvHRgj3mjnfvtx0YlS/Zcp9dj6wU5nmpiysccdLMYm5UECr3HruHwQ3/P+KPLzcWZ6VOQfdG5xWbVzl0R9fJgEI7DjO0Eu85rQSTuH1lbV45HbmYSzl1OR+2im4g0ZEJpyETdAC26zpnv1tDdt4AptulPNJ1rplMKUY6uFh8PxL5LARDrCMMtLtvJJAYw3qqTlcOCw7JYLUoBwWHZWWvBIYJxz3jeAiZxv7R0AZJ3bIetdT1B7T4voebTPc0VMbe2G08Wur26sII+6JyD5x4JQU6+FkfOp+DA2es4fO4GsvO1qFk5BE3qVEaTupWNn9G1K0AmILT1fQ8YxhhKqfTi9ewBoPQjSiFAxAasOh2AbfGBRr0qMY4wPJ86phLuFmBm7ibo2oSioYAL+uPXgKvpBIMe9VavgctnE5C7fyuyz58Bc2oRVKMWaj7XBxVbWGuELjxMsOxIAYjUtaqMo9Z90CkHz7WwXkoNPMXZy2k4ePYGDvx3HVdSTHIjBqCVn7verJQJwBQzjKnzJyRlPcZJuJ6UxwsAHEoP/joXgA3nAiHWEYa3ps7dAgyTeTwSRdHcuecDYzdXHCN4oBrwaH3v9Fqr55GWmY2ICNe3XWtOEvyy17MVZmRsLnq2dH4bdv5qBt6Ytg3d29TDOAFvhjIFmNLDGp+c1UxCycs8xTu3jcrMJDvi5VhxOghiHWF4Z+rcvRXGGBy2EvCYABB8sZHggycpqoa6f+lgya/MXC20RUUIDXV9gGJueb/d5tkZ5r0OOejd2nldm/+5gkkLDuOzQe3QrY1r2+0yDZjiwbp4PUNJeelKSqlZSX3/ZRkWHVNArCMMbwFm/AaC8c9Qt65rPWkDCw7Lggw9YVLhcprWnCCoH5qKGmHUaC4tl8sgl0kgl7FPqWhdt6upuQiWc1AoXN96MSd849ez62/31YPeeSwHL7Z1DpixvxzA7hNJWP9lL1RmjgtcJL8ADOOBSkWDCqiGaQoYlYn+TZJh/hEF3HGE4YqpQp7/sC0PrzRPhYxPg9yQjmCkoTA/HUV5aZDq0wBZBQQ0my6kKFE028/BGODpOYHBYfPy8qDT6aDT6Y2flolpUxeDhznscAWkfxKzEFNDAbncteIk8xIzYinxSBj1VrtcvPSo4y0Zs0Z96qPVqFpBgcXjnhXEx/saMCZfZNmTQCjTmZCAEC0oUglPU3iOnDEYtCcb16nCrDaN6ZxKU1HK0xOEIOrMDSlmHnDPEYZLzhoKAW0aivLSQXRpCKRp4HTpKMxNAy1KN36XE+cRAHjKIb/pckhk7h967bXz70STao47wWHZ9bZebwJOMYDY38Zrb4vEtKwZeAKMq5IJSDKZFOuPpqFr8yqCNBjYDd3AXwwgnPu+2Qa3zccrjzleNY7G3cR7P+7G8+2jMWaAMH8r9zVg4pKynudA1jmawExnjKf8fwRkAwF+j46MuJSoyupEKdkdnyoh0/e65wjDUX1c3MdA3hUEEO+YL6fU+BwRNUQa07tAM7v5OpNM8LoXg8PqDXrotHrojUDSQafXgXmrKZ3i0uV4vKkwiT2TJ/WcqYWBBLp8PzkieK1NIV5r71iO8/2qE1i2O8542GeHfiHpvgbMRVX2RzzlpwnpKCGEOa76i5dynxCeTriaTvpP2RnqliMMhwC9MBaBBaeFNEcQTU7FvpDWeU0QrVCiCynA7jjHip9Cy3FFxxz/mVYi0//sPD2u5wWgXUOBSmkAXvtVj7R819s3R215ta0Orz/m2FVVnwkbkJyWa7xOZtfKQtJ9DZiEpKzXAfKbkI6W0JAiQrDyZjZ5adyWUM4dRxiO6qOqRVCkLRPXHCfUt2gjhLXw7jmGBYdl18Uf+Tg47K4LBCz0uZh6P1oJnL/p/qH/5dYGvNnBfv5rN7PRb9JGVAoLwoavrC1enQ3gfQ2YC1ey6kil3CV2lhE7S7MKuMIxf4UGuuMIw1FdhszjCLk6XmxTHNLrqRT5TVdAJnNfPaR04cbgsPsIJjzrmbqL2E4evgxsPy+uXubM7+Vfmbss9661X2lDMdhuABRgyc4LmLnmJGKbKfHlW8KNyu5rwLBBS0zSbKBuWGOyWCoj1rrnCMPRZNEX5SLk3ACmVih2PjmkV9WYiso1RHrec1I7i1HJ5Ct3Kjiso6rPXgeY9P6bPsKB2uSRWKSlZbjNy3FjhuOTD5kIzja9891OnEhMxVs9muHVbsL5e98DJu5ydkNOxh934enfhmPsUDl0ZRgCZUS0IwyHWzJmqPPfcATorrk9yKUzZld5DTKlKUCQNxLr98jlJhV/X6ZrmcBXmwnmDBReb2R0CxQWmiOaiG5uj+5dsOyPH23yMd2ybmNWg6nJfDv8cbRpLDzO6H0PGMaN2zYyi8Q6/Ru+Ogw6A8FfIh1hOBs5evE7KLJ3ih5cRxluSR5FWLNxXiuPFeRJ6D53G5KWC3y4gmDhG8IAw7Ssa9Vlpsrup8jaNXHh+A6bAnYcu4bPfjto/H3z1D4IZ5JcgalMAIb1NVGlHkwpmQ1QwRf3H6wPRU6Re44wHPHXcGMTQm7+LJD9rsnU+soIaO2ux1z75Yu163fdStcUuYXA6wsIVg4VBpjMLDUeaOrgAOK6OjNFcvwhVCiluzbh90PYdvQqqlcMxuovSjSkhRRbZgDDOnsxOaczpYaFlEKQp4Sxm0KQlidxyxGGI+Zqs+IRfuUDIbwXTJMWsxghIc79CAsu7C6Ndg0lAAAdVklEQVStMEws88Jsgg3DhQEmSXUdLdt55hLJuIKs/g2x7UvcdrJtWPcxq40q/h2bKfGViAM/K69MAYZ16NKlzHCDlHwBwr0FUKdr7efbQpCs8a4jjMKCfITHDQRH3d97l578qmqTUblWczGYcErLzjDT+/hej63HLA5r32YOCl135dyFeHTuahtsynVOa4qvPv8II4aVyLJOXUzFsG9NW+bXuz+EISK9lJc5wBSz69KNzEheLxlFQVnEIrvmUlN3B+NiuncdYWi1OsjjP0KQznvxIDVVh0Bem1kreCcZg8N2pwhzX4juVkN6zebwx+u8oHr/OXoCPXrZBpsSW/GAvj3wy6yvzdl+WnsKi3aYnKFPHtIBnZu79qBpWWeZBUxxJ69coYE6ae4zlOqfIyBPM59uxc++36/AuZvedYTBJNz6+OkIL3AVn1b40N8K6oawRu8Jz+CCcvImgiEdKKoLF7p7pe4B8zl8148XVO+uPQcwYNAwj+tt0iga/+4t0Z4a8MUms9HY0vE9ECnUHc7tlpR5wFhyfA+l0lqq7L4A/QlAhTmHgnA8We51Rxh5FxejcvZSjwe7uIAk/cOo0nqK18qbsYPghebUGO7Dl+n1Pzh89iwvqN71G7fhzbc/9Lh5LALCzr+PQVMkR2w0Na4u566m49J1tVElRqyDEb8CTDH3LyblPMhTw67fjwZVPXTV+44wspP2oVq6IBU3QRPiprYWwtvOE0QrhGj2PoKO0dSoR+fL9O5SDm/H8oLq/XP5Gowc7R2tic9/XIlNyU2wY5RH1gJGVvklYFjHL6k0Ty85EbhxV6KceNsRRuatS6h1fYTX5mK+IQR5TZcbDb+8kVhw2MY1KFrV8UZpwsv4ZC3BCw8LC0o7/7fF+HRCydnDWS1FOSmQh1S363aX5XtlxGTEBfbCxveAIMFCB/s1+i1gGDsGL9Cvvpgm6eVtRxgZGZmomTQYHNUKn01OKHlIcEG5AfWE+eB2WefKY0DVMCDWO0G5XNZXTMDOTu3qUzxuinDhNH0/cx6+nGYrpS+diflxLkhPgFRRGfIQ+wzq9OxA5DUei5VDgYruObw0V+vXgOn8LR3L85jibUcY6iw1KiV9CLnhpqt5Ieg5DxkOV16PRyKFyTBcFbrxDPNZJj44rKtyXT1nvsYaVqeC4k1OmfoDfpjl2ncYb9CiMOOS0edyUOVoEGM4cuvUuGkrBHdbgIVvALWs4++6arLNc78GTOx0yq6efvS2I4zs7ByEJY1HkNYUactZ4kkg9FwE9JIKMEgijH8bjN/Z36bftCQcudLaeKC6q9KEPd8dB2Tliw8OK6x0x1Q/7SWoGkrRt4XrksZN/Brzfl3skpB59S9IN13hy0KrQxZkK+ANCQ1Do7ePYO5AoIF1DFqX5Zcm8G/AfENfB8Fv3naEkZubi6CkbxCou2yc9CZARJgBwcCRVlgZV3KC0aSmAhwnQYBcYowHI5FIwIN9MjPfkt/shcUQPdq3Mxy5DLDwfQNFBod1t77ifMyxuVxCBdX7wZgJWLzUdXh3Zh7NtmSgPCQBIQgIt+8/qtmw3fj5zep4yDoGregu+TVgOk2nTNl8pbcdYeTnFyA9U2MMDhQYIIFcwoGTSGCgnHHLECTnIJVIMG2H1BjywtcCRBYc9shlgrdEBocVPbtKZVjyDwGLLyqk3mHvjsGa9ZtdV0k4FGZdBa/NM/JbUcX+wSy692z8PDoWAjwpOa3TvwEzjXajHLa0b0DxSXfvnA9cj3AJxfe7TG5bq4aKyeU5bWIqsOkswcguvu3zyuPE6IBDSL2DBr+Hrdv3uOxshVqNkZqwH7q8NCNtYKUG4CS2V2G1OozE7ClvoZOHFx3+DZjptD0F/m4RRTHpOd9OHja4c/cRdHuQGh3r+TKxScuMuXz9kmDRmM/dgKB6+wwYgv0HjrhkS6+Bb2PlbzNQpDbZILEtGdualU4VH3gaX0/92ii89HZSVpY7NQllzvOLfYG7W7d7Nqe3a/NGA1hR7WfQZhKKU0yAN62396wkhTKFyUPa1qVo6KXDvNB62YH/2x0EXzzv/cnjrA07zhPsT4SgepkeGdMnc5V++nE6Phz/PTITmEIlhSykOmQK24M/W3mmzV2Lpxp7f5z9BjCPT6P1DRwuetMRhqsBtnzOnFHEVAMeVvp24hbpmata4lHcFzH9LKZl8TJXn4Cgep98+kWcPmtSknSWVi/7BZNmrsc/G2eC1xVAqqgEeYjtVRjhpPji1wN49qE7x+uYyAi7C4E3XvA+XWFU6Vo1ABsP2MzJwvDlMnjTEYarAbZ8zrYoVUKBR+vduUF01J67YUR2OhmYs49g9suu+9uhy/OIT2DyFedpz/bVWLXtFL77/F3o8zMhCQxHQJh9nZ/RU5diYJc7p95QZgCTnKHLppTaHK3Zm3bwYhkqKIDFg72/VLsabLZFYbYhnRu6nkCuyhL7/G4AJuEWwKT9QsyUWz3WDdeSkl1268zR3ThwLgtDBzyFIo0KnDwYgRH2VfYrP/jCzKTdX3pPZ8ll60wE990Kk5yhi6OU2kSaZx5OBy2UIkDqPUcYAnloJDtwkSC7AHj6Dm4THK4wIoPDiumXI1pVJjBqBcGqYa5fEA+16IxbqaabL2cp+dJJ3MqRoGXL1si7cRKcNAiBFe2vIopqDZemn133kqsyvf38fgTMJkops4WxSUOWSFGoI9joRUcYQhl+SgUkZZK7EtBp3DpgsjhzdqHdckiXlQcMWcReTq4Bw+z5mV2/sxQcrMCVuH+NoQof7DwESf/+aTz4B1WyH8tDHl7zhDpxlwA9A4+7alXAfQcYVYb2V1C8YY8N7y6XQl1AsGoojyD3vZK6zWHm9siDmK9u13u3Mgrtb71GbZCbm+e0mbVq1cDJIyavMK99OAvrfp0IfVEOFJWj7earUKUG9mxZ45WuOzqv2Cv8vgNMcqZuCuXpWHudGb1GipvZxKuOMLwyIn5eSGSDR8AiQDtLDzZ+ALu3rTKSzPrzAMa//xK0OSlQVLHZfd8uhuDQ/p1QKDyPiFCmAaNK17KD3g/2mP/ZXxJcyeAw/xUeNT3UZPXzOe7V7tes2wx6vcFpme3btcaa5SbX2gfP56Dnk62NipiKqo7tB1at+BMPPdjE47a6kr1YVnD/rTAZ+r6U8ivscWnyVgnibnL4sT+P+l6yN/F4NMoLQLXIh2zizpRmy9PduuCP+ab3YE4h8OCjzyMzfrvDMwyjm/rVZPR8vofHHC7TgLmRpetoMFC7Ximm75TgVDJn1G96srHrw6jHnC4vQBAHqipd+zvu/2JP/Dhjsrm8zv0n4sSWHx3KYRjh0DcH44NRnt8sl2nApGTROnqD7oq9kZq1T4IjV0Q7/xc06OVE7nPg6DS2bXL+AqvW4hVEdvnEXEna2bW4uGY4pEGO99ZPPv4YZs3y3DNpmQYM42hyujaBAjbXJxvOcFhxggHGI+UD92dGeU67HDg6/SGAd36GqfHoMNTuULJaFGZexem5T4CTOL7ufCCmAf7dv0EQ11MyrWN6WmYq84C5lqEdyVF8J4hTlkQc+URZUSbMG4PowsVlSEhSO3zlBtm5+alR0UOPD+KaZ5fa0aQryM+3oi/d/ocfaYOCQudxQCeOHYUPRrxpLocZk8U0i8Wt1HSHLQ+Qy3Hj0jFjzE1Xya8Bw4IuJWfoFgJ42RWjip8TQlbVqijtbwz3dw8kfwJM23YdkaXWOOX6tMljMWzIQCuawW9/hJVrNznNt37Fr+jc8VGXI+rXgCnmjipT353w/Es80IIALDAIM56QMFBQSpmkLAUEJzmeX1qrSuBfLrnqQwJ/AkyXJ7sh+bo5ALZdLs+cPgmvDuxj9ezPFesxbETJucZexrfeeAnTv3QdQqTMAyY5TdeZEspcjdjXjfDm5Ka4REDerF1F5tos0Ev1+hNger7QGxfiLzrl3PyfpqJfb+sr4vSMTDR4qCOYy15HSVmrJs4ddx3Dp8wDRpWhvQQKYfGjvTGJCS4rK8nvPDhvt9WfADPwlUE4etx5ROpFv/6A55950mYkn+zxMv45etLpCB/esw5NGjm3Vy77gEnX+lyQIua2xFOM+hNghg8fjp17Djhl2aolc9C1i21A1x9//h3jJn3jNO+EsaPwocWFgT3isg+Y8hXGatzv51uyTz75GGvWb3E66Teu+h0dLYIlFRNfuapCs7bOgzG1a9MCW9ezKI+OU5kHTPkZxnrw72fAfP3VFPy+yK42k7mTOzf+idYt7cfB7PBkH6cmzsz/29ULhxAe5thlT5kHjOV0SUzKfp6CLwkMAnIjJjLcyo3bRZV6Kk8xxpyPIjsmqiQgYkKS5jpAzfauBFzP6Miw9Z5urdzN709bsjmzZ+K7mb84ZdWBnavR9MFGdmm+/XE+Jn7pXOy2cP536NnD8UrkX4BRaSZQSieauUnIphhl+LNWoFJpFlFKSy7yCYmLUYabRyBBpdkISp8pzkMImRitDP/c3QnvaT5/AsyyJQswYcq3Tll29O+NaBht/45HyLZs0Et9MOvbSQ7r8DfArKOUPm/BjSkxkRFWl++JKvUuSvF4CSCwO1oZ0aX4e0KSmmn2fWoBmPXRynAf2ymW9MCfALNt8zqMGD3BKWDOHt2BKKVj36+du/XD8VNnHZZRu2YNnD+xqxwwjAOJKvU1SlHiDYGgT4wywspZb8I19QUQlBhPULokJqqCecVJUKl7g8JkocS0zQiSopURUZ6uFO7m9yfA/HtoL14Z8r5TViWe2Y9qVR2HUftp7kJ84iLGjLNVqsysMKcTk2s3i67t0KXIheTsSlJK0yilJRqVFPVjoiIuW59z1Ew5q8T9EsE3McoI85km4Zq6HgjMvn4IIVRPSJVGtcMy3J30nuTzJ8AkXjiJZ3uXRD+2xzdV/BGEhzsO1JlyMxWNHnncqRDzmymfYuhg+9pS3gKMq/kqZE54pBp85sy1CjRIEmww2BfnKoKC23NEsrzk/IKc/PycRjzTzrudQoLCAi3BwH6mlH6eV5Bjjo3HEUIUitALoDBfpfDU0C+/IM+5gEAIB9ygCVGEXXeUrawpX2bcvIx2jzuPHJ167SQCA5yHZevR9w3s+9uxy9mnn+qMZQtYyFPb5Awwaek3BcUBkEg4jhQY8po2jcpyY8gtprAnuV3kTVCpPwKFOcgkIdgbrYzobJntokrTgKfUKjY4B/RvEBlRAjTT1m4Ppehk0fIxMcoI51KxO9Q3f1phaFEmHmhuNWQ2XNWknHMYpq+YePGytXhnpPkYalNGSEgwkuIOQyq11V721grjjeng0QrjqgGJKs0SSqmF/ynyfUxk+CjLfAlJWR0BYmWFKZVyHevVDPvbmk7zHUBHFv9GCPkzWhkuWOPZVVvFPPcnwFQI5lE1qrlD9jA1/bSkUy7Zl52TiwYPdkBhUZFD2u0blqBta9u6/AcwSZrzFNR8PcxR8mqDqHCm2m9O8Uma/gTUKjY4R0h0A2W4lcbfxWuaQTyhC8yAAbkQHRne2OVI3QECfwIME7pWr9sC+QUFdjkZFhqK5MR/BHH5taEfOtUa+GT0u/hk9Ds2ZfkFYG7coIo8gyabUpiDHUqItGl9ZYjV/WJikmYUBbW66A+RhgfXrEmsLJsuqXIfMlD9mZIVBoZgSXhYaTpBI+chkb8BpknLJ6BKvmGXa1WrVMbFs/sFcXT7rv3o8/Iwh7SO1GT8AjCJydmPUp4/ZMGdwmhleCghRG+11VKpp4HiI4vfNDGRETbG4JRSaaJKk8Ni9ZhBw3HtomuHHRY0Wl4kEgsYL1bt9aJcWVyyCnv1HYBz5+x78K9Zswb27NwqqF16gwGxnZ9Eerr9y01mffnv4QNQKIIElceIfKl0y+q7Y2eY+CTNOwS05NqDkKMxyvDWpTmRqNIsppRanEXIhRgHW60ElYb5I21VXAYFGd4wMtxzTwqCh8dE6G+AGfzW2zhwwPLdV8KwunXqYOtm4VpKX0+bjt//cKxs+cu8n9Gh/WOCR6TMACZRlT2PUr7E0Jtw82KUYUNLcyL+mno3ISi5hiFkV4wy/Al7HEtQZc8F5d8q2ZZx86OVYebvgrnsIaG/Aeaj/43Fhr/smxs3bBiDDWtXCubohbg49OzVzyH9kMGv46MPzXc7LsstO4BJ0hyloC3Nkxt4JzoyYnZpDiRcU8eBwOxTlFK6uGFUhVfscSoxSf02BcwrCgE5Fh0Zbl5xXHLXSwRiAXM/ayuztn88/mv8PM/qrsbMyRbNH8KeLVYSAJdcZnKd/87H26Vr3uxB7NtmrR1d5s8w7LxxUZWdQ0Etzhvk0eja4TaSq4Qko4cFs5iYI9y0Bsqw/9kFTLKmLeWp+cxCQAobKMNszkUuR8xDAn8DzLTv5mDy1B/tcq1d25bYus4+mByxedacBRg7cardxxzH4VrcYSt1/zIPmMuqzKZ6ylnatRpCpPlhNWvWtLr5unmTBmdrNbmWnCOUjIqOCv/eHjdv3LihyNUrspmzjOLnUsI3q6esaL498xALgrL7G2B+W7gcI8fYVw5/PPYxrFvO3DcIT2npGWj4cGfo9Vb3P+YCmMSfSf6LU5kHTPy17FcJ4f8o2Y6R89GR4Taepy+pNNEGShOsAYN+0VERDi2WEpM05yioWf5CKfdaw6gws3xG+LC5T+lvgNmwaQcGDravgNm9a2csX2hfpcUZh/u/+i42b9ttl2T40Ffx1eclm4wyD5jEJM131FoqvyRaGW7tuMqo7pIVSynZa8k1Cr5jw8iKVlJ+y+elb9UIyPfRpbQH3IeCsJz+BphDR46jW0+7x0qj4RczABObNm7ZhZdef89uNmaMxozS/GaFSVSp91KKWAtufBQTGTG9NHcuXtf05w3WUn4CNIiOjHAYhTQhST0agFmHjBDsi1ZGlOiYiR05N+j9DTDxiZfRqoOVzZ+Za/369MD8WfbPI85Yq9Pp0fDhTmDumEondo5hZssRtzWgy/QKw1T5L6o0WZbq+pTiiYZRETYWQolJ2R9Q8DMsGRakDFcoCbGvhwEg/pq6CyEwO7MigKaBMrwCU/l3Y+67lcXfAMNC9tVp1M4ur159uQ9mznBsLemMwWMnTMOsueaduxXp0j9m4ZluJpvCMg2YxCR1fQqY9cDYRA4MC6usDCc2r5KEJDVbKdiKUZzUMZERFZwxWaXSVCwE0i1tbFytSm6hwkkmR4Cxp9rPirnfr5WZM75KymYwGGw99Qr1XmmPnefjEtG2k6UxbgmV5TmmbAMmWd2H8jBLsgjBtWhlhN1wuglJmiWAlTbz+Rg7lwOlmZ2oUl+lFGaLS8Khb3TtCLNFprcBUro8fwMM6z/zYpmaZutc/L23X8eUCZaaTeK437l7Pxw/aWu+3Oyhxvh7h2lIyzZgktRTKGCOY0kI1kUrI+xaICUkqZl715LzB8WumKgIu1J+y2FIVKnXUgqzTT8BvoyOjHBsbCFuDF1SiwWMywLvIoEQXTLWvB49+yAhwcpsydjqYUOHYNT79g/vQrq1bPkqTPj8CxtSdo759/DfCA1lLrcdp/te0p+g0myCRWhx5jGmYVQFu5f4CSpNHCg1S/kJIYuileGDXDE6/lrWBOY5xkxHyOYYZbjZq4yr/J4+90fAvPbGWzh8xFaNf8S772D4OzYaT4JZnJubi/Ydu9gNqTF39kx0irX1qGlZuM8Bc+PGZa86k8jVVzwGwOwRQQLD4CCpxq5LkFxDxXOgCC5mAOEwO5jLdHnlUqAP72KA5FcLxqWHSDPNajiCR8tNwlx9xav2sjo6w9ymTeCobjTR3bpjQlaDvLbddjnrptAV5oPRH2PTZlsPmLVrVv1q7+bf57rJSmO2Zu36TM3LLzArmAVWqo+qD/dD96c6Y1T3CiASx/F1JNpku9t9T9rjLO8d01a+Uw0uL/fucCCoSqPvCYGN9JJS8n5B2nn7ejMCmxpUpUl7TsL9HRHdBVWbD0CYspXRNZA+Lz394IQq91SI4HLACBxUfydTVGs8FpROseUDHZafGufRCtNxOh1nyM+YKFVUMqs86fLSaW7y0U1n5j/teahlLw5eOWC8yMyyXJSiWqMhoLBRGiOUvpaXFueRalLsdPongAGMfwUZl6G4sARtcw4e/XrXNhv7qbvN43sCMGcSUyy1Asw8aRpdw+gcw9FzMcwrLktMnnLaEg4oqjV8DpSzsRSjPAYUpF9Y5gmvOs2gbXke069tm8A9l7enaYNQWXCAhKMNK4ZFdl6yxqHfO0/qdDfvPQEYdxtfns93HIj9xpBm0BVUpgYteH0ReL0W1FAEWXDl/w5+VvEhIS1JSbli98VYnLdGjbr7furWZVGYXDawYlAAgmTSMY8vXn1XXGk56k+ZBYw3ViV7TLvXVipXk1DIRHZGwyYxex47nf4LwJ6xXuK+0cR5CDERjdjzWs8IXsvdvJRTGDDt7HXt9QLtmIJbF34QUcQdJS2zgLmjXPPHwmu2UCj0+SxYr1XiCN8l91a8fT19kXwqBv9Xg975fuHZaw9reZN6YLWqlfYe2rGoRO4motxiwIvI4pS0HDDe4qSflDPrqS5aA6UyAtAR23dz3u52gyffH3vj9HYWrcE0Nyl0lCOjC255dnXtrXaWA8ZbnPSTcna/3PsyBa0LILPLkjWVvN3tyk2emp+fljTEVC5N43j0zU2Ps/KM6u06xZRXDhgx3Cqnxe6Xe12gYKFJSF6XJaudK3qJ5xdRVG3ETNvZJcI5nqPPFt6ME629IL5a4TnKNGAopfLkbIRIDAgBj2BQnUJPiUIqQRD7JNSgAIgCBIGUkkCOIIAHH0gIFwBKAkH5QEogJwRyUCKn4OWEcDJCIQeBnFLIACoFAfOgLQX7TnH7O5UCHAdQCQjhQKkEIKbvAGf8m4DAFAqEEGIcCnLbbMH4m3FDAtDbtj70dtADCmb7w/6B8gB4gBiMfxNiAGW/se8sogLRg0IPYvyvA2D6DqIn7DuFlhJoKeV1BJwWhGophZZQaEG4QhBaSClfxIEr/HbR1mZrli2unp/8X6tcHW92bhJdv/6cLRvW/AIiyweHPIMEubXDkEsI0QqfhibK4KqNXqEA86hxOF9X1B1Zl5mDlHsq3dOASU2lIQYZKuv0usrgSCUJIRUBvgLlSQVKEMGBhPOgEaB8OEDCKBBGYAyJEUKBEAI2ocuTOxw4dfoMzp0/j/j4RJw5+x/i4uJZGBKbotq0boWFf9jGwKSAjgDMwUkuBXIIkA3QbBBOw4GoeVANoVATjmYBXJaB0syWrR79SSaX33rhuef7zpr2P/u+ad3pjBfz3BXAUEq5lCzUNhj0dQmhUQBRArQWBalBCGoAtBqlqAZAuM9QLzKlvCjgzaHDceCgydslc+Eqk8nNoSiYIRn7r9PpUCEiAn/vMxvAepN1BYTgFkBuUYoUApoCEBYcWEUpuSaRSK/UqIBkQghbZX2W7jhgKKWylCx9WwOPdoTQhylIE0IRbemzzGe9La+oTHGA+aWjBIkE9Byl5JSEw6EaFaRHCCFs+3lH0h0FTHK6bjIFhoNtm8pTOQd8wgGiJsBPtSvLrAIPe6vqOw8YguGg5YDx1oCVl+OCA4SoCb1PAcO6Zt6SAe0IpQ9TigcBRANwHhSxfGaUc8A1B1g4s0RC8B8l5JQE9/mWzFF/iw/9hOjrGkCiYKDmQz9AaxKCqpSSagAtP/S7njRllIIUEELZgT+VgqZwIDeMh34JUUlAr1FaRg/9noxm8bUy1esq6+1cK5vORiS8/FrZEy7fmbzOrpUBqgGImhCoCUqulaU8zSBSWbpEh/SqVYmVz+0700rxpd7RM4z45ng3hz3BJSREoadQSDkSZKBQgPIKUAeCS8IHMiElE16aBZeAnICTWQouCYHUJMQ0Ci9vCy6JlIJKOJOAkqNMcGkrwCTMFJdYCCwtBZilBZbsO5NWwiQPoaUFlsQouGQSS8oTkzCzRHAJGIWVtLTgEryOAtpiwSUTWjJhJqi14JKnKCKEFoKgEITLlxDk63laICXIh4Hme0Nw6d3RvzOl/R8AdGoXzom1qQAAAABJRU5ErkJggg=="},3828:function(){},77496:function(d,g,e){var r=e(81508).default;function i(){"use strict";d.exports=i=function(){return c},d.exports.__esModule=!0,d.exports.default=d.exports;var l,c={},f=Object.prototype,s=f.hasOwnProperty,h=typeof Symbol=="function"?Symbol:{},u=h.iterator||"@@iterator",a=h.asyncIterator||"@@asyncIterator",x=h.toStringTag||"@@toStringTag";function p(K,V,G,te){return Object.defineProperty(K,V,{value:G,enumerable:!te,configurable:!te,writable:!te})}try{p({},"")}catch(K){p=function(G,te,q){return G[te]=q}}function y(K,V,G,te){var q=V&&V.prototype instanceof S?V:S,J=Object.create(q.prototype);return p(J,"_invoke",function(le,z,F){var se=1;return function(_e,Pe){if(se===3)throw Error("Generator is already running");if(se===4){if(_e==="throw")throw Pe;return{value:l,done:!0}}for(F.method=_e,F.arg=Pe;;){var Re=F.delegate;if(Re){var Ze=X(Re,F);if(Ze){if(Ze===b)continue;return Ze}}if(F.method==="next")F.sent=F._sent=F.arg;else if(F.method==="throw"){if(se===1)throw se=4,F.arg;F.dispatchException(F.arg)}else F.method==="return"&&F.abrupt("return",F.arg);se=3;var $e=_(le,z,F);if($e.type==="normal"){if(se=F.done?4:2,$e.arg===b)continue;return{value:$e.arg,done:F.done}}$e.type==="throw"&&(se=4,F.method="throw",F.arg=$e.arg)}}}(K,G,new ie(te||[])),!0),J}function _(K,V,G){try{return{type:"normal",arg:K.call(V,G)}}catch(te){return{type:"throw",arg:te}}}c.wrap=y;var b={};function S(){}function R(){}function L(){}var T={};p(T,u,function(){return this});var D=Object.getPrototypeOf,M=D&&D(D(ue([])));M&&M!==f&&s.call(M,u)&&(T=M);var N=L.prototype=S.prototype=Object.create(T);function j(K){["next","throw","return"].forEach(function(V){p(K,V,function(G){return this._invoke(V,G)})})}function Q(K,V){function G(q,J,le,z){var F=_(K[q],K,J);if(F.type!=="throw"){var se=F.arg,_e=se.value;return _e&&r(_e)=="object"&&s.call(_e,"__await")?V.resolve(_e.__await).then(function(Pe){G("next",Pe,le,z)},function(Pe){G("throw",Pe,le,z)}):V.resolve(_e).then(function(Pe){se.value=Pe,le(se)},function(Pe){return G("throw",Pe,le,z)})}z(F.arg)}var te;p(this,"_invoke",function(q,J){function le(){return new V(function(z,F){G(q,J,z,F)})}return te=te?te.then(le,le):le()},!0)}function X(K,V){var G=V.method,te=K.i[G];if(te===l)return V.delegate=null,G==="throw"&&K.i.return&&(V.method="return",V.arg=l,X(K,V),V.method==="throw")||G!=="return"&&(V.method="throw",V.arg=new TypeError("The iterator does not provide a '"+G+"' method")),b;var q=_(te,K.i,V.arg);if(q.type==="throw")return V.method="throw",V.arg=q.arg,V.delegate=null,b;var J=q.arg;return J?J.done?(V[K.r]=J.value,V.next=K.n,V.method!=="return"&&(V.method="next",V.arg=l),V.delegate=null,b):J:(V.method="throw",V.arg=new TypeError("iterator result is not an object"),V.delegate=null,b)}function Y(K){this.tryEntries.push(K)}function oe(K){var V=K[4]||{};V.type="normal",V.arg=l,K[4]=V}function ie(K){this.tryEntries=[[-1]],K.forEach(Y,this),this.reset(!0)}function ue(K){if(K!=null){var V=K[u];if(V)return V.call(K);if(typeof K.next=="function")return K;if(!isNaN(K.length)){var G=-1,te=function q(){for(;++G<K.length;)if(s.call(K,G))return q.value=K[G],q.done=!1,q;return q.value=l,q.done=!0,q};return te.next=te}}throw new TypeError(r(K)+" is not iterable")}return R.prototype=L,p(N,"constructor",L),p(L,"constructor",R),R.displayName=p(L,x,"GeneratorFunction"),c.isGeneratorFunction=function(K){var V=typeof K=="function"&&K.constructor;return!!V&&(V===R||(V.displayName||V.name)==="GeneratorFunction")},c.mark=function(K){return Object.setPrototypeOf?Object.setPrototypeOf(K,L):(K.__proto__=L,p(K,x,"GeneratorFunction")),K.prototype=Object.create(N),K},c.awrap=function(K){return{__await:K}},j(Q.prototype),p(Q.prototype,a,function(){return this}),c.AsyncIterator=Q,c.async=function(K,V,G,te,q){q===void 0&&(q=Promise);var J=new Q(y(K,V,G,te),q);return c.isGeneratorFunction(V)?J:J.next().then(function(le){return le.done?le.value:J.next()})},j(N),p(N,x,"Generator"),p(N,u,function(){return this}),p(N,"toString",function(){return"[object Generator]"}),c.keys=function(K){var V=Object(K),G=[];for(var te in V)G.unshift(te);return function q(){for(;G.length;)if((te=G.pop())in V)return q.value=te,q.done=!1,q;return q.done=!0,q}},c.values=ue,ie.prototype={constructor:ie,reset:function(V){if(this.prev=this.next=0,this.sent=this._sent=l,this.done=!1,this.delegate=null,this.method="next",this.arg=l,this.tryEntries.forEach(oe),!V)for(var G in this)G.charAt(0)==="t"&&s.call(this,G)&&!isNaN(+G.slice(1))&&(this[G]=l)},stop:function(){this.done=!0;var V=this.tryEntries[0][4];if(V.type==="throw")throw V.arg;return this.rval},dispatchException:function(V){if(this.done)throw V;var G=this;function te(_e){le.type="throw",le.arg=V,G.next=_e}for(var q=G.tryEntries.length-1;q>=0;--q){var J=this.tryEntries[q],le=J[4],z=this.prev,F=J[1],se=J[2];if(J[0]===-1)return te("end"),!1;if(!F&&!se)throw Error("try statement without catch or finally");if(J[0]!=null&&J[0]<=z){if(z<F)return this.method="next",this.arg=l,te(F),!0;if(z<se)return te(se),!1}}},abrupt:function(V,G){for(var te=this.tryEntries.length-1;te>=0;--te){var q=this.tryEntries[te];if(q[0]>-1&&q[0]<=this.prev&&this.prev<q[2]){var J=q;break}}J&&(V==="break"||V==="continue")&&J[0]<=G&&G<=J[2]&&(J=null);var le=J?J[4]:{};return le.type=V,le.arg=G,J?(this.method="next",this.next=J[2],b):this.complete(le)},complete:function(V,G){if(V.type==="throw")throw V.arg;return V.type==="break"||V.type==="continue"?this.next=V.arg:V.type==="return"?(this.rval=this.arg=V.arg,this.method="return",this.next="end"):V.type==="normal"&&G&&(this.next=G),b},finish:function(V){for(var G=this.tryEntries.length-1;G>=0;--G){var te=this.tryEntries[G];if(te[2]===V)return this.complete(te[4],te[3]),oe(te),b}},catch:function(V){for(var G=this.tryEntries.length-1;G>=0;--G){var te=this.tryEntries[G];if(te[0]===V){var q=te[4];if(q.type==="throw"){var J=q.arg;oe(te)}return J}}throw Error("illegal catch attempt")},delegateYield:function(V,G,te){return this.delegate={i:ue(V),r:G,n:te},this.method==="next"&&(this.arg=l),b}},c}d.exports=i,d.exports.__esModule=!0,d.exports.default=d.exports},81508:function(d){function g(e){"@babel/helpers - typeof";return d.exports=g=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},d.exports.__esModule=!0,d.exports.default=d.exports,g(e)}d.exports=g,d.exports.__esModule=!0,d.exports.default=d.exports},13960:function(d,g,e){var r=e(77496)();d.exports=r;try{regeneratorRuntime=r}catch(i){typeof globalThis=="object"?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},92310:function(d,g){var e,r;(function(){"use strict";var i={}.hasOwnProperty;function l(){for(var s="",h=0;h<arguments.length;h++){var u=arguments[h];u&&(s=f(s,c(u)))}return s}function c(s){if(typeof s=="string"||typeof s=="number")return s;if(typeof s!="object")return"";if(Array.isArray(s))return l.apply(null,s);if(s.toString!==Object.prototype.toString&&!s.toString.toString().includes("[native code]"))return s.toString();var h="";for(var u in s)i.call(s,u)&&s[u]&&(h=f(h,u));return h}function f(s,h){return h?s?s+" "+h:s+h:s}d.exports?(l.default=l,d.exports=l):(e=[],r=function(){return l}.apply(g,e),r!==void 0&&(d.exports=r))})()},63335:function(d,g,e){"use strict";var r=e(55327),i=e(40593),l=TypeError;d.exports=function(c){if(r(c))return c;throw new l(i(c)+" is not a function")}},6086:function(d,g,e){"use strict";var r=e(39812),i=e(40593),l=TypeError;d.exports=function(c){if(r(c))return c;throw new l(i(c)+" is not a constructor")}},42683:function(d,g,e){"use strict";var r=e(2786).has;d.exports=function(i){return r(i),i}},557:function(d,g,e){"use strict";var r=e(55327),i=String,l=TypeError;d.exports=function(c){if(typeof c=="object"||r(c))return c;throw new l("Can't set "+i(c)+" as a prototype")}},17442:function(d,g,e){"use strict";var r=e(19691).has;d.exports=function(i){return r(i),i}},79606:function(d){"use strict";var g=TypeError;d.exports=function(e){if(typeof e=="string")return e;throw new g("Argument is not a string")}},63619:function(d,g,e){"use strict";var r=e(42530).has;d.exports=function(i){return r(i),i}},18888:function(d,g,e){"use strict";var r=e(91385).has;d.exports=function(i){return r(i),i}},5978:function(d,g,e){"use strict";var r=e(89945),i=e(94237),l=e(80666),c=e(80449),f=e(63335),s=e(4112),h=e(53776),u=e(59893),a=u("asyncDispose"),x=u("dispose"),p=i([].push),y=function(b,S){if(S==="async-dispose"){var R=h(b,a);return R!==void 0?R:(R=h(b,x),function(){r(R,this)})}return h(b,x)},_=function(b,S,R){return arguments.length<3&&!s(b)&&(R=f(y(c(b),S))),R===void 0?function(){}:l(R,b)};d.exports=function(b,S,R,L){var T;if(arguments.length<4){if(s(S)&&R==="sync-dispose")return;T=_(S,R)}else T=_(void 0,R,L);p(b.stack,T)}},81181:function(d,g,e){"use strict";var r=e(59893),i=e(20132),l=e(37691).f,c=r("unscopables"),f=Array.prototype;f[c]===void 0&&l(f,c,{configurable:!0,value:i(null)}),d.exports=function(s){f[c][s]=!0}},52216:function(d,g,e){"use strict";var r=e(13764).charAt;d.exports=function(i,l,c){return l+(c?r(i,l).length:1)}},56472:function(d,g,e){"use strict";var r=e(16332),i=TypeError;d.exports=function(l,c){if(r(c,l))return l;throw new i("Incorrect invocation")}},1674:function(d,g,e){"use strict";var r=e(31946),i=String,l=TypeError;d.exports=function(c){if(c===void 0||r(c))return c;throw new l(i(c)+" is not an object or undefined")}},80449:function(d,g,e){"use strict";var r=e(31946),i=String,l=TypeError;d.exports=function(c){if(r(c))return c;throw new l(i(c)+" is not an object")}},27270:function(d,g,e){"use strict";var r=e(97607),i=TypeError;d.exports=function(l){if(r(l)==="Uint8Array")return l;throw new i("Argument is not an Uint8Array")}},3737:function(d){"use strict";d.exports=typeof ArrayBuffer!="undefined"&&typeof DataView!="undefined"},78244:function(d,g,e){"use strict";var r=e(37758),i=e(29076),l=TypeError;d.exports=r(ArrayBuffer.prototype,"byteLength","get")||function(c){if(i(c)!=="ArrayBuffer")throw new l("ArrayBuffer expected");return c.byteLength}},93683:function(d,g,e){"use strict";var r=e(94237),i=e(78244),l=r(ArrayBuffer.prototype.slice);d.exports=function(c){if(i(c)!==0)return!1;try{return l(c,0,0),!1}catch(f){return!0}}},51424:function(d,g,e){"use strict";var r=e(3338);d.exports=r(function(){if(typeof ArrayBuffer=="function"){var i=new ArrayBuffer(8);Object.isExtensible(i)&&Object.defineProperty(i,"a",{value:8})}})},39760:function(d,g,e){"use strict";var r=e(92916),i=e(94237),l=e(37758),c=e(24225),f=e(93683),s=e(78244),h=e(39311),u=e(80426),a=r.structuredClone,x=r.ArrayBuffer,p=r.DataView,y=r.TypeError,_=Math.min,b=x.prototype,S=p.prototype,R=i(b.slice),L=l(b,"resizable","get"),T=l(b,"maxByteLength","get"),D=i(S.getInt8),M=i(S.setInt8);d.exports=(u||h)&&function(N,j,Q){var X=s(N),Y=j===void 0?X:c(j),oe=!L||!L(N),ie;if(f(N))throw new y("ArrayBuffer is detached");if(u&&(N=a(N,{transfer:[N]}),X===Y&&(Q||oe)))return N;if(X>=Y&&(!Q||oe))ie=R(N,0,Y);else{var ue=Q&&!oe&&T?{maxByteLength:T(N)}:void 0;ie=new x(Y,ue);for(var K=new p(N),V=new p(ie),G=_(Y,X),te=0;te<G;te++)M(V,te,D(K,te))}return u||h(N),ie}},58261:function(d,g,e){"use strict";var r=e(3737),i=e(35454),l=e(92916),c=e(55327),f=e(31946),s=e(32621),h=e(97607),u=e(40593),a=e(68151),x=e(2291),p=e(64110),y=e(16332),_=e(53456),b=e(58218),S=e(59893),R=e(6145),L=e(94844),T=L.enforce,D=L.get,M=l.Int8Array,N=M&&M.prototype,j=l.Uint8ClampedArray,Q=j&&j.prototype,X=M&&_(M),Y=N&&_(N),oe=Object.prototype,ie=l.TypeError,ue=S("toStringTag"),K=R("TYPED_ARRAY_TAG"),V="TypedArrayConstructor",G=r&&!!b&&h(l.opera)!=="Opera",te=!1,q,J,le,z={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},F={BigInt64Array:8,BigUint64Array:8},se=function(Ot){if(!f(Ot))return!1;var qt=h(Ot);return qt==="DataView"||s(z,qt)||s(F,qt)},_e=function(bt){var Ot=_(bt);if(f(Ot)){var qt=D(Ot);return qt&&s(qt,V)?qt[V]:_e(Ot)}},Pe=function(bt){if(!f(bt))return!1;var Ot=h(bt);return s(z,Ot)||s(F,Ot)},Re=function(bt){if(Pe(bt))return bt;throw new ie("Target is not a typed array")},Ze=function(bt){if(c(bt)&&(!b||y(X,bt)))return bt;throw new ie(u(bt)+" is not a typed array constructor")},$e=function(bt,Ot,qt,er){if(i){if(qt)for(var Jt in z){var Xe=l[Jt];if(Xe&&s(Xe.prototype,bt))try{delete Xe.prototype[bt]}catch(Pt){try{Xe.prototype[bt]=Ot}catch(Ut){}}}(!Y[bt]||qt)&&x(Y,bt,qt?Ot:G&&N[bt]||Ot,er)}},Ht=function(bt,Ot,qt){var er,Jt;if(i){if(b){if(qt){for(er in z)if(Jt=l[er],Jt&&s(Jt,bt))try{delete Jt[bt]}catch(Xe){}}if(!X[bt]||qt)try{return x(X,bt,qt?Ot:G&&X[bt]||Ot)}catch(Xe){}else return}for(er in z)Jt=l[er],Jt&&(!Jt[bt]||qt)&&x(Jt,bt,Ot)}};for(q in z)J=l[q],le=J&&J.prototype,le?T(le)[V]=J:G=!1;for(q in F)J=l[q],le=J&&J.prototype,le&&(T(le)[V]=J);if((!G||!c(X)||X===Function.prototype)&&(X=function(){throw new ie("Incorrect invocation")},G))for(q in z)l[q]&&b(l[q],X);if((!G||!Y||Y===oe)&&(Y=X.prototype,G))for(q in z)l[q]&&b(l[q].prototype,Y);if(G&&_(Q)!==Y&&b(Q,Y),i&&!s(Y,ue)){te=!0,p(Y,ue,{configurable:!0,get:function(){return f(this)?this[K]:void 0}});for(q in z)l[q]&&a(l[q],K,q)}d.exports={NATIVE_ARRAY_BUFFER_VIEWS:G,TYPED_ARRAY_TAG:te&&K,aTypedArray:Re,aTypedArrayConstructor:Ze,exportTypedArrayMethod:$e,exportTypedArrayStaticMethod:Ht,getTypedArrayConstructor:_e,isView:se,isTypedArray:Pe,TypedArray:X,TypedArrayPrototype:Y}},91669:function(d,g,e){"use strict";var r=e(92916),i=e(94237),l=e(35454),c=e(3737),f=e(8090),s=e(68151),h=e(64110),u=e(66477),a=e(3338),x=e(56472),p=e(56902),y=e(61578),_=e(24225),b=e(14894),S=e(61618),R=e(53456),L=e(58218),T=e(80689).f,D=e(75202),M=e(71698),N=e(94573),j=e(94844),Q=f.PROPER,X=f.CONFIGURABLE,Y="ArrayBuffer",oe="DataView",ie="prototype",ue="Wrong length",K="Wrong index",V=j.getterFor(Y),G=j.getterFor(oe),te=j.set,q=r[Y],J=q,le=J&&J[ie],z=r[oe],F=z&&z[ie],se=Object.prototype,_e=r.Array,Pe=r.RangeError,Re=i(D),Ze=i([].reverse),$e=S.pack,Ht=S.unpack,bt=function(Me){return[Me&255]},Ot=function(Me){return[Me&255,Me>>8&255]},qt=function(Me){return[Me&255,Me>>8&255,Me>>16&255,Me>>24&255]},er=function(Me){return Me[3]<<24|Me[2]<<16|Me[1]<<8|Me[0]},Jt=function(Me){return $e(b(Me),23,4)},Xe=function(Me){return $e(Me,52,8)},Pt=function(Me,Ne,He){h(Me[ie],Ne,{configurable:!0,get:function(){return He(this)[Ne]}})},Ut=function(Me,Ne,He,nt){var ct=G(Me),Vt=_(He),Wt=!!nt;if(Vt+Ne>ct.byteLength)throw new Pe(K);var Ie=ct.bytes,qe=Vt+ct.byteOffset,Gt=M(Ie,qe,qe+Ne);return Wt?Gt:Ze(Gt)},st=function(Me,Ne,He,nt,ct,Vt){var Wt=G(Me),Ie=_(He),qe=nt(+ct),Gt=!!Vt;if(Ie+Ne>Wt.byteLength)throw new Pe(K);for(var kt=Wt.bytes,Zt=Ie+Wt.byteOffset,Nt=0;Nt<Ne;Nt++)kt[Zt+Nt]=qe[Gt?Nt:Ne-Nt-1]};if(!c)J=function(Ne){x(this,le);var He=_(Ne);te(this,{type:Y,bytes:Re(_e(He),0),byteLength:He}),l||(this.byteLength=He,this.detached=!1)},le=J[ie],z=function(Ne,He,nt){x(this,F),x(Ne,le);var ct=V(Ne),Vt=ct.byteLength,Wt=p(He);if(Wt<0||Wt>Vt)throw new Pe("Wrong offset");if(nt=nt===void 0?Vt-Wt:y(nt),Wt+nt>Vt)throw new Pe(ue);te(this,{type:oe,buffer:Ne,byteLength:nt,byteOffset:Wt,bytes:ct.bytes}),l||(this.buffer=Ne,this.byteLength=nt,this.byteOffset=Wt)},F=z[ie],l&&(Pt(J,"byteLength",V),Pt(z,"buffer",G),Pt(z,"byteLength",G),Pt(z,"byteOffset",G)),u(F,{getInt8:function(Ne){return Ut(this,1,Ne)[0]<<24>>24},getUint8:function(Ne){return Ut(this,1,Ne)[0]},getInt16:function(Ne){var He=Ut(this,2,Ne,arguments.length>1?arguments[1]:!1);return(He[1]<<8|He[0])<<16>>16},getUint16:function(Ne){var He=Ut(this,2,Ne,arguments.length>1?arguments[1]:!1);return He[1]<<8|He[0]},getInt32:function(Ne){return er(Ut(this,4,Ne,arguments.length>1?arguments[1]:!1))},getUint32:function(Ne){return er(Ut(this,4,Ne,arguments.length>1?arguments[1]:!1))>>>0},getFloat32:function(Ne){return Ht(Ut(this,4,Ne,arguments.length>1?arguments[1]:!1),23)},getFloat64:function(Ne){return Ht(Ut(this,8,Ne,arguments.length>1?arguments[1]:!1),52)},setInt8:function(Ne,He){st(this,1,Ne,bt,He)},setUint8:function(Ne,He){st(this,1,Ne,bt,He)},setInt16:function(Ne,He){st(this,2,Ne,Ot,He,arguments.length>2?arguments[2]:!1)},setUint16:function(Ne,He){st(this,2,Ne,Ot,He,arguments.length>2?arguments[2]:!1)},setInt32:function(Ne,He){st(this,4,Ne,qt,He,arguments.length>2?arguments[2]:!1)},setUint32:function(Ne,He){st(this,4,Ne,qt,He,arguments.length>2?arguments[2]:!1)},setFloat32:function(Ne,He){st(this,4,Ne,Jt,He,arguments.length>2?arguments[2]:!1)},setFloat64:function(Ne,He){st(this,8,Ne,Xe,He,arguments.length>2?arguments[2]:!1)}});else{var yt=Q&&q.name!==Y;if(!a(function(){q(1)})||!a(function(){new q(-1)})||a(function(){return new q,new q(1.5),new q(NaN),q.length!==1||yt&&!X})){J=function(Ne){return x(this,le),new q(_(Ne))},J[ie]=le;for(var ht=T(q),Je=0,je;ht.length>Je;)(je=ht[Je++])in J||s(J,je,q[je]);le.constructor=J}else yt&&X&&s(q,"name",Y);L&&R(F)!==se&&L(F,se);var ge=new z(new J(2)),Se=i(F.setInt8);ge.setInt8(0,2147483648),ge.setInt8(1,2147483649),(ge.getInt8(0)||!ge.getInt8(1))&&u(F,{setInt8:function(Ne,He){Se(this,Ne,He<<24>>24)},setUint8:function(Ne,He){Se(this,Ne,He<<24>>24)}},{unsafe:!0})}N(J,Y),N(z,oe),d.exports={ArrayBuffer:J,DataView:z}},92670:function(d,g,e){"use strict";var r=e(94029),i=e(51981),l=e(82762),c=e(84233),f=Math.min;d.exports=[].copyWithin||function(h,u){var a=r(this),x=l(a),p=i(h,x),y=i(u,x),_=arguments.length>2?arguments[2]:void 0,b=f((_===void 0?x:i(_,x))-y,x-p),S=1;for(y<p&&p<y+b&&(S=-1,y+=b-1,p+=b-1);b-- >0;)y in a?a[p]=a[y]:c(a,p),p+=S,y+=S;return a}},75202:function(d,g,e){"use strict";var r=e(94029),i=e(51981),l=e(82762);d.exports=function(f){for(var s=r(this),h=l(s),u=arguments.length,a=i(u>1?arguments[1]:void 0,h),x=u>2?arguments[2]:void 0,p=x===void 0?h:i(x,h);p>a;)s[a++]=f;return s}},59594:function(d,g,e){"use strict";var r=e(90560).forEach,i=e(45601),l=i("forEach");d.exports=l?[].forEach:function(f){return r(this,f,arguments.length>1?arguments[1]:void 0)}},32278:function(d,g,e){"use strict";var r=e(80666),i=e(94237),l=e(94029),c=e(39812),f=e(69034),s=e(85428),h=e(10731),u=e(26006),a=e(53776),x=e(65911),p=e(55174),y=e(59893),_=e(57975),b=e(55266).toArray,S=y("asyncIterator"),R=i(p("Array","values")),L=i(R([]).next),T=function(){return new D(this)},D=function(M){this.iterator=R(M)};D.prototype.next=function(){return L(this.iterator)},d.exports=function(N){var j=this,Q=arguments.length,X=Q>1?arguments[1]:void 0,Y=Q>2?arguments[2]:void 0;return new(x("Promise"))(function(oe){var ie=l(N);X!==void 0&&(X=r(X,Y));var ue=a(ie,S),K=ue?void 0:u(ie)||T,V=c(j)?new j:[],G=ue?f(ie,ue):new _(h(s(ie,K)));oe(b(G,X,V))})}},69478:function(d,g,e){"use strict";var r=e(82762);d.exports=function(i,l,c){for(var f=0,s=arguments.length>2?c:r(l),h=new i(s);s>f;)h[f]=l[f++];return h}},60255:function(d,g,e){"use strict";var r=e(80666),i=e(89945),l=e(94029),c=e(46319),f=e(345),s=e(39812),h=e(82762),u=e(69392),a=e(85428),x=e(26006),p=Array;d.exports=function(_){var b=l(_),S=s(this),R=arguments.length,L=R>1?arguments[1]:void 0,T=L!==void 0;T&&(L=r(L,R>2?arguments[2]:void 0));var D=x(b),M=0,N,j,Q,X,Y,oe;if(D&&!(this===p&&f(D)))for(X=a(b,D),Y=X.next,j=S?new this:[];!(Q=i(Y,X)).done;M++)oe=T?c(X,L,[Q.value,M],!0):Q.value,u(j,M,oe);else for(N=h(b),j=S?new this(N):p(N);N>M;M++)oe=T?L(b[M],M):b[M],u(j,M,oe);return j.length=M,j}},33940:function(d,g,e){"use strict";var r=e(80666),i=e(94237),l=e(1835),c=e(94029),f=e(82762),s=e(2786),h=s.Map,u=s.get,a=s.has,x=s.set,p=i([].push);d.exports=function(_){for(var b=c(this),S=l(b),R=r(_,arguments.length>1?arguments[1]:void 0),L=new h,T=f(S),D=0,M,N;T>D;D++)N=S[D],M=R(N,D,b),a(L,M)?p(u(L,M),N):x(L,M,[N]);return L}},36444:function(d,g,e){"use strict";var r=e(80666),i=e(94237),l=e(1835),c=e(94029),f=e(17818),s=e(82762),h=e(20132),u=e(69478),a=Array,x=i([].push);d.exports=function(p,y,_,b){for(var S=c(p),R=l(S),L=r(y,_),T=h(null),D=s(R),M=0,N,j,Q;D>M;M++)Q=R[M],j=f(L(Q,M,S)),j in T?x(T[j],Q):T[j]=[Q];if(b&&(N=b(S),N!==a))for(j in T)T[j]=u(N,T[j]);return T}},22999:function(d,g,e){"use strict";var r=e(80524),i=e(51981),l=e(82762),c=function(f){return function(s,h,u){var a=r(s),x=l(a),p=i(u,x),y;if(f&&h!==h){for(;x>p;)if(y=a[p++],y!==y)return!0}else for(;x>p;p++)if((f||p in a)&&a[p]===h)return f||p||0;return!f&&-1}};d.exports={includes:c(!0),indexOf:c(!1)}},53279:function(d,g,e){"use strict";var r=e(80666),i=e(1835),l=e(94029),c=e(82762),f=function(s){var h=s===1;return function(u,a,x){for(var p=l(u),y=i(p),_=c(y),b=r(a,x),S,R;_-- >0;)if(S=y[_],R=b(S,_,p),R)switch(s){case 0:return S;case 1:return _}return h?-1:void 0}};d.exports={findLast:f(0),findLastIndex:f(1)}},90560:function(d,g,e){"use strict";var r=e(80666),i=e(94237),l=e(1835),c=e(94029),f=e(82762),s=e(81427),h=i([].push),u=function(a){var x=a===1,p=a===2,y=a===3,_=a===4,b=a===6,S=a===7,R=a===5||b;return function(L,T,D,M){for(var N=c(L),j=l(N),Q=f(j),X=r(T,D),Y=0,oe=M||s,ie=x?oe(L,Q):p||S?oe(L,0):void 0,ue,K;Q>Y;Y++)if((R||Y in j)&&(ue=j[Y],K=X(ue,Y,N),a))if(x)ie[Y]=K;else if(K)switch(a){case 3:return!0;case 5:return ue;case 6:return Y;case 2:h(ie,ue)}else switch(a){case 4:return!1;case 7:h(ie,ue)}return b?-1:y||_?_:ie}};d.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterReject:u(7)}},55009:function(d,g,e){"use strict";var r=e(13743),i=e(80524),l=e(56902),c=e(82762),f=e(45601),s=Math.min,h=[].lastIndexOf,u=!!h&&1/[1].lastIndexOf(1,-0)<0,a=f("lastIndexOf"),x=u||!a;d.exports=x?function(y){if(u)return r(h,this,arguments)||0;var _=i(this),b=c(_),S=b-1;for(arguments.length>1&&(S=s(S,l(arguments[1]))),S<0&&(S=b+S);S>=0;S--)if(S in _&&_[S]===y)return S||0;return-1}:h},17480:function(d,g,e){"use strict";var r=e(3338),i=e(59893),l=e(46573),c=i("species");d.exports=function(f){return l>=51||!r(function(){var s=[],h=s.constructor={};return h[c]=function(){return{foo:1}},s[f](Boolean).foo!==1})}},45601:function(d,g,e){"use strict";var r=e(3338);d.exports=function(i,l){var c=[][i];return!!c&&r(function(){c.call(null,l||function(){return 1},1)})}},16370:function(d,g,e){"use strict";var r=e(63335),i=e(94029),l=e(1835),c=e(82762),f=TypeError,s=function(h){return function(u,a,x,p){var y=i(u),_=l(y),b=c(y);r(a);var S=h?b-1:0,R=h?-1:1;if(x<2)for(;;){if(S in _){p=_[S],S+=R;break}if(S+=R,h?S<0:b<=S)throw new f("Reduce of empty array with no initial value")}for(;h?S>=0:b>S;S+=R)S in _&&(p=a(p,_[S],S,y));return p}};d.exports={left:s(!1),right:s(!0)}},39428:function(d,g,e){"use strict";var r=e(35454),i=e(18589),l=TypeError,c=Object.getOwnPropertyDescriptor,f=r&&!function(){if(this!==void 0)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(s){return s instanceof TypeError}}();d.exports=f?function(s,h){if(i(s)&&!c(s,"length").writable)throw new l("Cannot set read only .length");return s.length=h}:function(s,h){return s.length=h}},71698:function(d,g,e){"use strict";var r=e(51981),i=e(82762),l=e(69392),c=Array,f=Math.max;d.exports=function(s,h,u){for(var a=i(s),x=r(h,a),p=r(u===void 0?a:u,a),y=c(f(p-x,0)),_=0;x<p;x++,_++)l(y,_,s[x]);return y.length=_,y}},30867:function(d,g,e){"use strict";var r=e(94237);d.exports=r([].slice)},63668:function(d,g,e){"use strict";var r=e(71698),i=Math.floor,l=function(s,h){var u=s.length,a=i(u/2);return u<8?c(s,h):f(s,l(r(s,0,a),h),l(r(s,a),h),h)},c=function(s,h){for(var u=s.length,a=1,x,p;a<u;){for(p=a,x=s[a];p&&h(s[p-1],x)>0;)s[p]=s[--p];p!==a++&&(s[p]=x)}return s},f=function(s,h,u,a){for(var x=h.length,p=u.length,y=0,_=0;y<x||_<p;)s[y+_]=y<x&&_<p?a(h[y],u[_])<=0?h[y++]:u[_++]:y<x?h[y++]:u[_++];return s};d.exports=l},34487:function(d,g,e){"use strict";var r=e(18589),i=e(39812),l=e(31946),c=e(59893),f=c("species"),s=Array;d.exports=function(h){var u;return r(h)&&(u=h.constructor,i(u)&&(u===s||r(u.prototype))?u=void 0:l(u)&&(u=u[f],u===null&&(u=void 0))),u===void 0?s:u}},81427:function(d,g,e){"use strict";var r=e(34487);d.exports=function(i,l){return new(r(i))(l===0?0:l)}},85903:function(d,g,e){"use strict";var r=e(82762);d.exports=function(i,l){for(var c=r(i),f=new l(c),s=0;s<c;s++)f[s]=i[c-s-1];return f}},65621:function(d,g,e){"use strict";var r=e(94237),i=e(63335),l=e(4112),c=e(82762),f=e(94029),s=e(2786),h=e(95037),u=s.Map,a=s.has,x=s.set,p=r([].push);d.exports=function(_){var b=f(this),S=c(b),R=[],L=new u,T=l(_)?function(j){return j}:i(_),D,M,N;for(D=0;D<S;D++)M=b[D],N=T(M),a(L,N)||x(L,N,M);return h(L,function(j){p(R,j)}),R}},82041:function(d,g,e){"use strict";var r=e(82762),i=e(56902),l=RangeError;d.exports=function(c,f,s,h){var u=r(c),a=i(s),x=a<0?u+a:a;if(x>=u||x<0)throw new l("Incorrect index");for(var p=new f(u),y=0;y<u;y++)p[y]=y===x?h:c[y];return p}},57975:function(d,g,e){"use strict";var r=e(89945),i=e(80449),l=e(20132),c=e(53776),f=e(66477),s=e(94844),h=e(65911),u=e(14052),a=e(25587),x=h("Promise"),p="AsyncFromSyncIterator",y=s.set,_=s.getterFor(p),b=function(R,L,T){var D=R.done;x.resolve(R.value).then(function(M){L(a(M,D))},T)},S=function(L){L.type=p,y(this,L)};S.prototype=f(l(u),{next:function(){var L=_(this);return new x(function(T,D){var M=i(r(L.next,L.iterator));b(M,T,D)})},return:function(){var R=_(this).iterator;return new x(function(L,T){var D=c(R,"return");if(D===void 0)return L(a(void 0,!0));var M=i(r(D,R));b(M,L,T)})}}),d.exports=S},28255:function(d,g,e){"use strict";var r=e(89945),i=e(65911),l=e(53776);d.exports=function(c,f,s,h){try{var u=l(c,"return");if(u)return i("Promise").resolve(r(u,c)).then(function(){f(s)},function(a){h(a)})}catch(a){return h(a)}f(s)}},31342:function(d,g,e){"use strict";var r=e(89945),i=e(80734),l=e(80449),c=e(20132),f=e(68151),s=e(66477),h=e(59893),u=e(94844),a=e(65911),x=e(53776),p=e(14052),y=e(25587),_=e(67996),b=a("Promise"),S=h("toStringTag"),R="AsyncIteratorHelper",L="WrapForValidAsyncIterator",T=u.set,D=function(j){var Q=!j,X=u.getterFor(j?L:R),Y=function(oe){var ie=i(function(){return X(oe)}),ue=ie.error,K=ie.value;return ue||Q&&K.done?{exit:!0,value:ue?b.reject(K):b.resolve(y(void 0,!0))}:{exit:!1,value:K}};return s(c(p),{next:function(){var ie=Y(this),ue=ie.value;if(ie.exit)return ue;var K=i(function(){return l(ue.nextHandler(b))}),V=K.error,G=K.value;return V&&(ue.done=!0),V?b.reject(G):b.resolve(G)},return:function(){var oe=Y(this),ie=oe.value;if(oe.exit)return ie;ie.done=!0;var ue=ie.iterator,K,V,G=i(function(){if(ie.inner)try{_(ie.inner.iterator,"normal")}catch(te){return _(ue,"throw",te)}return x(ue,"return")});return K=V=G.value,G.error?b.reject(V):K===void 0?b.resolve(y(void 0,!0)):(G=i(function(){return r(K,ue)}),V=G.value,G.error?b.reject(V):j?b.resolve(V):b.resolve(V).then(function(te){return l(te),y(void 0,!0)}))}})},M=D(!0),N=D(!1);f(N,S,"Async Iterator Helper"),d.exports=function(j,Q){var X=function(oe,ie){ie?(ie.iterator=oe.iterator,ie.next=oe.next):ie=oe,ie.type=Q?L:R,ie.nextHandler=j,ie.counter=0,ie.done=!1,T(this,ie)};return X.prototype=Q?M:N,X}},34535:function(d,g,e){"use strict";var r=e(89945),i=e(41586),l=function(c,f){return[f,c]};d.exports=function(){return r(i,this,l)}},55266:function(d,g,e){"use strict";var r=e(89945),i=e(63335),l=e(80449),c=e(31946),f=e(66434),s=e(65911),h=e(10731),u=e(28255),a=function(x){var p=x===0,y=x===1,_=x===2,b=x===3;return function(S,R,L){l(S);var T=R!==void 0;(T||!p)&&i(R);var D=h(S),M=s("Promise"),N=D.iterator,j=D.next,Q=0;return new M(function(X,Y){var oe=function(ue){u(N,Y,ue,Y)},ie=function(){try{if(T)try{f(Q)}catch(ue){oe(ue)}M.resolve(l(r(j,N))).then(function(ue){try{if(l(ue).done)p?(L.length=Q,X(L)):X(b?!1:_||void 0);else{var K=ue.value;try{if(T){var V=R(K,Q),G=function(te){if(y)ie();else if(_)te?ie():u(N,X,!1,Y);else if(p)try{L[Q++]=te,ie()}catch(q){oe(q)}else te?u(N,X,b||K,Y):ie()};c(V)?M.resolve(V).then(G,oe):G(V)}else L[Q++]=K,ie()}catch(te){oe(te)}}}catch(te){Y(te)}},Y)}catch(ue){Y(ue)}};ie()})}};d.exports={toArray:a(0),forEach:a(1),every:a(2),some:a(3),find:a(4)}},41586:function(d,g,e){"use strict";var r=e(89945),i=e(63335),l=e(80449),c=e(31946),f=e(10731),s=e(31342),h=e(25587),u=e(28255),a=s(function(x){var p=this,y=p.iterator,_=p.mapper;return new x(function(b,S){var R=function(T){p.done=!0,S(T)},L=function(T){u(y,R,T,R)};x.resolve(l(r(p.next,y))).then(function(T){try{if(l(T).done)p.done=!0,b(h(void 0,!0));else{var D=T.value;try{var M=_(D,p.counter++),N=function(j){b(h(j,!1))};c(M)?x.resolve(M).then(N,L):N(M)}catch(j){L(j)}}}catch(j){R(j)}},R)})});d.exports=function(p){return l(this),i(p),new a(f(this),{mapper:p})}},14052:function(d,g,e){"use strict";var r=e(92916),i=e(77398),l=e(55327),c=e(20132),f=e(53456),s=e(2291),h=e(59893),u=e(16697),a="USE_FUNCTION_CONSTRUCTOR",x=h("asyncIterator"),p=r.AsyncIterator,y=i.AsyncIteratorPrototype,_,b;if(y)_=y;else if(l(p))_=p.prototype;else if(i[a]||r[a])try{b=f(f(f(Function("return async function*(){}()")()))),f(b)===Object.prototype&&(_=b)}catch(S){}_?u&&(_=c(_)):_={},l(_[x])||s(_,x,function(){return this}),d.exports=_},80025:function(d,g,e){"use strict";var r=e(89945),i=e(31342);d.exports=i(function(){return r(this.next,this.iterator)},!0)},66244:function(d){"use strict";var g="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",e=g+"+/",r=g+"-_",i=function(l){for(var c={},f=0;f<64;f++)c[l.charAt(f)]=f;return c};d.exports={i2c:e,c2i:i(e),i2cUrl:r,c2iUrl:i(r)}},46319:function(d,g,e){"use strict";var r=e(80449),i=e(67996);d.exports=function(l,c,f,s){try{return s?c(r(f)[0],f[1]):c(f)}catch(h){i(l,"throw",h)}}},35221:function(d,g,e){"use strict";var r=e(59893),i=r("iterator"),l=!1;try{var c=0,f={next:function(){return{done:!!c++}},return:function(){l=!0}};f[i]=function(){return this},Array.from(f,function(){throw 2})}catch(s){}d.exports=function(s,h){try{if(!h&&!l)return!1}catch(x){return!1}var u=!1;try{var a={};a[i]=function(){return{next:function(){return{done:u=!0}}}},s(a)}catch(x){}return u}},29076:function(d,g,e){"use strict";var r=e(94237),i=r({}.toString),l=r("".slice);d.exports=function(c){return l(i(c),8,-1)}},97607:function(d,g,e){"use strict";var r=e(68527),i=e(55327),l=e(29076),c=e(59893),f=c("toStringTag"),s=Object,h=l(function(){return arguments}())==="Arguments",u=function(a,x){try{return a[x]}catch(p){}};d.exports=r?l:function(a){var x,p,y;return a===void 0?"Undefined":a===null?"Null":typeof(p=u(x=s(a),f))=="string"?p:h?l(x):(y=l(x))==="Object"&&i(x.callee)?"Arguments":y}},72846:function(d,g,e){"use strict";var r=e(80666),i=e(89945),l=e(63335),c=e(6086),f=e(4112),s=e(62003),h=[].push;d.exports=function(a){var x=arguments.length,p=x>1?arguments[1]:void 0,y,_,b,S;return c(this),y=p!==void 0,y&&l(p),f(a)?new this:(_=[],y?(b=0,S=r(p,x>2?arguments[2]:void 0),s(a,function(R){i(h,_,S(R,b++))})):s(a,h,{that:_}),new this(_))}},48800:function(d,g,e){"use strict";var r=e(30867);d.exports=function(){return new this(r(arguments))}},40942:function(d,g,e){"use strict";var r=e(20132),i=e(64110),l=e(66477),c=e(80666),f=e(56472),s=e(4112),h=e(62003),u=e(24019),a=e(25587),x=e(51996),p=e(35454),y=e(2074).fastKey,_=e(94844),b=_.set,S=_.getterFor;d.exports={getConstructor:function(R,L,T,D){var M=R(function(Y,oe){f(Y,N),b(Y,{type:L,index:r(null),first:void 0,last:void 0,size:0}),p||(Y.size=0),s(oe)||h(oe,Y[D],{that:Y,AS_ENTRIES:T})}),N=M.prototype,j=S(L),Q=function(Y,oe,ie){var ue=j(Y),K=X(Y,oe),V,G;return K?K.value=ie:(ue.last=K={index:G=y(oe,!0),key:oe,value:ie,previous:V=ue.last,next:void 0,removed:!1},ue.first||(ue.first=K),V&&(V.next=K),p?ue.size++:Y.size++,G!=="F"&&(ue.index[G]=K)),Y},X=function(Y,oe){var ie=j(Y),ue=y(oe),K;if(ue!=="F")return ie.index[ue];for(K=ie.first;K;K=K.next)if(K.key===oe)return K};return l(N,{clear:function(){for(var oe=this,ie=j(oe),ue=ie.index,K=ie.first;K;)K.removed=!0,K.previous&&(K.previous=K.previous.next=void 0),delete ue[K.index],K=K.next;ie.first=ie.last=void 0,p?ie.size=0:oe.size=0},delete:function(Y){var oe=this,ie=j(oe),ue=X(oe,Y);if(ue){var K=ue.next,V=ue.previous;delete ie.index[ue.index],ue.removed=!0,V&&(V.next=K),K&&(K.previous=V),ie.first===ue&&(ie.first=K),ie.last===ue&&(ie.last=V),p?ie.size--:oe.size--}return!!ue},forEach:function(oe){for(var ie=j(this),ue=c(oe,arguments.length>1?arguments[1]:void 0),K;K=K?K.next:ie.first;)for(ue(K.value,K.key,this);K&&K.removed;)K=K.previous},has:function(oe){return!!X(this,oe)}}),l(N,T?{get:function(oe){var ie=X(this,oe);return ie&&ie.value},set:function(oe,ie){return Q(this,oe===0?0:oe,ie)}}:{add:function(oe){return Q(this,oe=oe===0?0:oe,oe)}}),p&&i(N,"size",{configurable:!0,get:function(){return j(this).size}}),M},setStrong:function(R,L,T){var D=L+" Iterator",M=S(L),N=S(D);u(R,L,function(j,Q){b(this,{type:D,target:j,state:M(j),kind:Q,last:void 0})},function(){for(var j=N(this),Q=j.kind,X=j.last;X&&X.removed;)X=X.previous;return!j.target||!(j.last=X=X?X.next:j.state.first)?(j.target=void 0,a(void 0,!0)):a(Q==="keys"?X.key:Q==="values"?X.value:[X.key,X.value],!1)},T?"entries":"values",!T,!0),x(L)}}},39656:function(d,g,e){"use strict";var r=e(94237),i=e(66477),l=e(2074).getWeakData,c=e(56472),f=e(80449),s=e(4112),h=e(31946),u=e(62003),a=e(90560),x=e(32621),p=e(94844),y=p.set,_=p.getterFor,b=a.find,S=a.findIndex,R=r([].splice),L=0,T=function(N){return N.frozen||(N.frozen=new D)},D=function(){this.entries=[]},M=function(N,j){return b(N.entries,function(Q){return Q[0]===j})};D.prototype={get:function(N){var j=M(this,N);if(j)return j[1]},has:function(N){return!!M(this,N)},set:function(N,j){var Q=M(this,N);Q?Q[1]=j:this.entries.push([N,j])},delete:function(N){var j=S(this.entries,function(Q){return Q[0]===N});return~j&&R(this.entries,j,1),!!~j}},d.exports={getConstructor:function(N,j,Q,X){var Y=N(function(K,V){c(K,oe),y(K,{type:j,id:L++,frozen:void 0}),s(V)||u(V,K[X],{that:K,AS_ENTRIES:Q})}),oe=Y.prototype,ie=_(j),ue=function(K,V,G){var te=ie(K),q=l(f(V),!0);return q===!0?T(te).set(V,G):q[te.id]=G,K};return i(oe,{delete:function(K){var V=ie(this);if(!h(K))return!1;var G=l(K);return G===!0?T(V).delete(K):G&&x(G,V.id)&&delete G[V.id]},has:function(V){var G=ie(this);if(!h(V))return!1;var te=l(V);return te===!0?T(G).has(V):te&&x(te,G.id)}}),i(oe,Q?{get:function(V){var G=ie(this);if(h(V)){var te=l(V);return te===!0?T(G).get(V):te?te[G.id]:void 0}},set:function(V,G){return ue(this,V,G)}}:{add:function(V){return ue(this,V,!0)}}),Y}}},48059:function(d,g,e){"use strict";var r=e(94488),i=e(92916),l=e(94237),c=e(20865),f=e(2291),s=e(2074),h=e(62003),u=e(56472),a=e(55327),x=e(4112),p=e(31946),y=e(3338),_=e(35221),b=e(94573),S=e(25576);d.exports=function(R,L,T){var D=R.indexOf("Map")!==-1,M=R.indexOf("Weak")!==-1,N=D?"set":"add",j=i[R],Q=j&&j.prototype,X=j,Y={},oe=function(q){var J=l(Q[q]);f(Q,q,q==="add"?function(z){return J(this,z===0?0:z),this}:q==="delete"?function(le){return M&&!p(le)?!1:J(this,le===0?0:le)}:q==="get"?function(z){return M&&!p(z)?void 0:J(this,z===0?0:z)}:q==="has"?function(z){return M&&!p(z)?!1:J(this,z===0?0:z)}:function(z,F){return J(this,z===0?0:z,F),this})},ie=c(R,!a(j)||!(M||Q.forEach&&!y(function(){new j().entries().next()})));if(ie)X=T.getConstructor(L,R,D,N),s.enable();else if(c(R,!0)){var ue=new X,K=ue[N](M?{}:-0,1)!==ue,V=y(function(){ue.has(1)}),G=_(function(q){new j(q)}),te=!M&&y(function(){for(var q=new j,J=5;J--;)q[N](J,J);return!q.has(-0)});G||(X=L(function(q,J){u(q,Q);var le=S(new j,q,X);return x(J)||h(J,le[N],{that:le,AS_ENTRIES:D}),le}),X.prototype=Q,Q.constructor=X),(V||te)&&(oe("delete"),oe("has"),D&&oe("get")),(te||K)&&oe(N),M&&Q.clear&&delete Q.clear}return Y[R]=X,r({global:!0,constructor:!0,forced:X!==j},Y),b(X,R),M||T.setStrong(X,R,D),X}},32754:function(d,g,e){"use strict";e(34941),e(55410);var r=e(65911),i=e(20132),l=e(31946),c=Object,f=TypeError,s=r("Map"),h=r("WeakMap"),u=function(){this.object=null,this.symbol=null,this.primitives=null,this.objectsByIndex=i(null)};u.prototype.get=function(x,p){return this[x]||(this[x]=p())},u.prototype.next=function(x,p,y){var _=y?this.objectsByIndex[x]||(this.objectsByIndex[x]=new h):this.primitives||(this.primitives=new s),b=_.get(p);return b||_.set(p,b=new u),b};var a=new u;d.exports=function(){var x=a,p=arguments.length,y,_;for(y=0;y<p;y++)l(_=arguments[y])&&(x=x.next(y,_,!0));if(this===c&&x===a)throw new f("Composite keys must contain a non-primitive component");for(y=0;y<p;y++)l(_=arguments[y])||(x=x.next(y,_,!1));return x}},24538:function(d,g,e){"use strict";var r=e(32621),i=e(48662),l=e(71256),c=e(37691);d.exports=function(f,s,h){for(var u=i(s),a=c.f,x=l.f,p=0;p<u.length;p++){var y=u[p];!r(f,y)&&!(h&&r(h,y))&&a(f,y,x(s,y))}}},86266:function(d,g,e){"use strict";var r=e(59893),i=r("match");d.exports=function(l){var c=/./;try{"/./"[l](c)}catch(f){try{return c[i]=!1,"/./"[l](c)}catch(s){}}return!1}},4870:function(d,g,e){"use strict";var r=e(3338);d.exports=!r(function(){function i(){}return i.prototype.constructor=null,Object.getPrototypeOf(new i)!==i.prototype})},95994:function(d,g,e){"use strict";var r=e(94237),i=e(95955),l=e(69905),c=/"/g,f=r("".replace);d.exports=function(s,h,u,a){var x=l(i(s)),p="<"+h;return u!==""&&(p+=" "+u+'="'+f(l(a),c,"&quot;")+'"'),p+">"+x+"</"+h+">"}},25587:function(d){"use strict";d.exports=function(g,e){return{value:g,done:e}}},68151:function(d,g,e){"use strict";var r=e(35454),i=e(37691),l=e(35012);d.exports=r?function(c,f,s){return i.f(c,f,l(1,s))}:function(c,f,s){return c[f]=s,c}},35012:function(d){"use strict";d.exports=function(g,e){return{enumerable:!(g&1),configurable:!(g&2),writable:!(g&4),value:e}}},69392:function(d,g,e){"use strict";var r=e(17818),i=e(37691),l=e(35012);d.exports=function(c,f,s){var h=r(f);h in c?i.f(c,h,l(0,s)):c[h]=s}},32494:function(d,g,e){"use strict";var r=e(94237),i=e(3338),l=e(85571).start,c=RangeError,f=isFinite,s=Math.abs,h=Date.prototype,u=h.toISOString,a=r(h.getTime),x=r(h.getUTCDate),p=r(h.getUTCFullYear),y=r(h.getUTCHours),_=r(h.getUTCMilliseconds),b=r(h.getUTCMinutes),S=r(h.getUTCMonth),R=r(h.getUTCSeconds);d.exports=i(function(){return u.call(new Date(-50000000000001))!=="0385-07-25T07:06:39.999Z"})||!i(function(){u.call(new Date(NaN))})?function(){if(!f(a(this)))throw new c("Invalid time value");var T=this,D=p(T),M=_(T),N=D<0?"-":D>9999?"+":"";return N+l(s(D),N?6:4,0)+"-"+l(S(T)+1,2,0)+"-"+l(x(T),2,0)+"T"+l(y(T),2,0)+":"+l(b(T),2,0)+":"+l(R(T),2,0)+"."+l(M,3,0)+"Z"}:u},77119:function(d,g,e){"use strict";var r=e(80449),i=e(44759),l=TypeError;d.exports=function(c){if(r(this),c==="string"||c==="default")c="string";else if(c!=="number")throw new l("Incorrect hint");return i(this,c)}},64110:function(d,g,e){"use strict";var r=e(86528),i=e(37691);d.exports=function(l,c,f){return f.get&&r(f.get,c,{getter:!0}),f.set&&r(f.set,c,{setter:!0}),i.f(l,c,f)}},2291:function(d,g,e){"use strict";var r=e(55327),i=e(37691),l=e(86528),c=e(29539);d.exports=function(f,s,h,u){u||(u={});var a=u.enumerable,x=u.name!==void 0?u.name:s;if(r(h)&&l(h,x,u),u.global)a?f[s]=h:c(s,h);else{try{u.unsafe?f[s]&&(a=!0):delete f[s]}catch(p){}a?f[s]=h:i.f(f,s,{value:h,enumerable:!1,configurable:!u.nonConfigurable,writable:!u.nonWritable})}return f}},66477:function(d,g,e){"use strict";var r=e(2291);d.exports=function(i,l,c){for(var f in l)r(i,f,l[f],c);return i}},29539:function(d,g,e){"use strict";var r=e(92916),i=Object.defineProperty;d.exports=function(l,c){try{i(r,l,{value:c,configurable:!0,writable:!0})}catch(f){r[l]=c}return c}},84233:function(d,g,e){"use strict";var r=e(40593),i=TypeError;d.exports=function(l,c){if(!delete l[c])throw new i("Cannot delete property "+r(c)+" of "+r(l))}},35454:function(d,g,e){"use strict";var r=e(3338);d.exports=!r(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7})},39311:function(d,g,e){"use strict";var r=e(92916),i=e(11270),l=e(80426),c=r.structuredClone,f=r.ArrayBuffer,s=r.MessageChannel,h=!1,u,a,x,p;if(l)h=function(y){c(y,{transfer:[y]})};else if(f)try{s||(u=i("worker_threads"),u&&(s=u.MessageChannel)),s&&(a=new s,x=new f(2),p=function(y){a.port1.postMessage(null,[y])},x.byteLength===2&&(p(x),x.byteLength===0&&(h=p)))}catch(y){}d.exports=h},81766:function(d){"use strict";var g=typeof document=="object"&&document.all,e=typeof g=="undefined"&&g!==void 0;d.exports={all:g,IS_HTMLDDA:e}},86060:function(d,g,e){"use strict";var r=e(92916),i=e(31946),l=r.document,c=i(l)&&i(l.createElement);d.exports=function(f){return c?l.createElement(f):{}}},66434:function(d){"use strict";var g=TypeError,e=9007199254740991;d.exports=function(r){if(r>e)throw g("Maximum allowed index exceeded");return r}},52109:function(d){"use strict";d.exports={IndexSizeError:{s:"INDEX_SIZE_ERR",c:1,m:1},DOMStringSizeError:{s:"DOMSTRING_SIZE_ERR",c:2,m:0},HierarchyRequestError:{s:"HIERARCHY_REQUEST_ERR",c:3,m:1},WrongDocumentError:{s:"WRONG_DOCUMENT_ERR",c:4,m:1},InvalidCharacterError:{s:"INVALID_CHARACTER_ERR",c:5,m:1},NoDataAllowedError:{s:"NO_DATA_ALLOWED_ERR",c:6,m:0},NoModificationAllowedError:{s:"NO_MODIFICATION_ALLOWED_ERR",c:7,m:1},NotFoundError:{s:"NOT_FOUND_ERR",c:8,m:1},NotSupportedError:{s:"NOT_SUPPORTED_ERR",c:9,m:1},InUseAttributeError:{s:"INUSE_ATTRIBUTE_ERR",c:10,m:1},InvalidStateError:{s:"INVALID_STATE_ERR",c:11,m:1},SyntaxError:{s:"SYNTAX_ERR",c:12,m:1},InvalidModificationError:{s:"INVALID_MODIFICATION_ERR",c:13,m:1},NamespaceError:{s:"NAMESPACE_ERR",c:14,m:1},InvalidAccessError:{s:"INVALID_ACCESS_ERR",c:15,m:1},ValidationError:{s:"VALIDATION_ERR",c:16,m:0},TypeMismatchError:{s:"TYPE_MISMATCH_ERR",c:17,m:1},SecurityError:{s:"SECURITY_ERR",c:18,m:1},NetworkError:{s:"NETWORK_ERR",c:19,m:1},AbortError:{s:"ABORT_ERR",c:20,m:1},URLMismatchError:{s:"URL_MISMATCH_ERR",c:21,m:1},QuotaExceededError:{s:"QUOTA_EXCEEDED_ERR",c:22,m:1},TimeoutError:{s:"TIMEOUT_ERR",c:23,m:1},InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}}},66749:function(d){"use strict";d.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}},9518:function(d,g,e){"use strict";var r=e(86060),i=r("span").classList,l=i&&i.constructor&&i.constructor.prototype;d.exports=l===Object.prototype?void 0:l},78177:function(d,g,e){"use strict";var r=e(66011),i=r.match(/firefox\/(\d+)/i);d.exports=!!i&&+i[1]},66994:function(d,g,e){"use strict";var r=e(91821),i=e(90946);d.exports=!r&&!i&&typeof window=="object"&&typeof document=="object"},90843:function(d){"use strict";d.exports=typeof Bun=="function"&&Bun&&typeof Bun.version=="string"},91821:function(d){"use strict";d.exports=typeof Deno=="object"&&Deno&&typeof Deno.version=="object"},17687:function(d,g,e){"use strict";var r=e(66011);d.exports=/MSIE|Trident/.test(r)},1908:function(d,g,e){"use strict";var r=e(66011);d.exports=/ipad|iphone|ipod/i.test(r)&&typeof Pebble!="undefined"},70695:function(d,g,e){"use strict";var r=e(66011);d.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},90946:function(d,g,e){"use strict";var r=e(92916),i=e(29076);d.exports=i(r.process)==="process"},44914:function(d,g,e){"use strict";var r=e(66011);d.exports=/web0s(?!.*chrome)/i.test(r)},66011:function(d){"use strict";d.exports=typeof navigator!="undefined"&&String(navigator.userAgent)||""},46573:function(d,g,e){"use strict";var r=e(92916),i=e(66011),l=r.process,c=r.Deno,f=l&&l.versions||c&&c.version,s=f&&f.v8,h,u;s&&(h=s.split("."),u=h[0]>0&&h[0]<4?1:+(h[0]+h[1])),!u&&i&&(h=i.match(/Edge\/(\d+)/),(!h||h[1]>=74)&&(h=i.match(/Chrome\/(\d+)/),h&&(u=+h[1]))),d.exports=u},19684:function(d,g,e){"use strict";var r=e(66011),i=r.match(/AppleWebKit\/(\d+)\./);d.exports=!!i&&+i[1]},46678:function(d){"use strict";d.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},80739:function(d,g,e){"use strict";var r=e(94237),i=Error,l=r("".replace),c=function(h){return String(new i(h).stack)}("zxcasd"),f=/\n\s*at [^:]*:[^\n]*/,s=f.test(c);d.exports=function(h,u){if(s&&typeof h=="string"&&!i.prepareStackTrace)for(;u--;)h=l(h,f,"");return h}},61888:function(d,g,e){"use strict";var r=e(68151),i=e(80739),l=e(25406),c=Error.captureStackTrace;d.exports=function(f,s,h,u){l&&(c?c(f,s):r(f,"stack",i(h,u)))}},25406:function(d,g,e){"use strict";var r=e(3338),i=e(35012);d.exports=!r(function(){var l=new Error("a");return"stack"in l?(Object.defineProperty(l,"stack",i(1,7)),l.stack!==7):!0})},13367:function(d,g,e){"use strict";var r=e(35454),i=e(3338),l=e(80449),c=e(7825),f=Error.prototype.toString,s=i(function(){if(r){var h=Object.create(Object.defineProperty({},"name",{get:function(){return this===h}}));if(f.call(h)!=="true")return!0}return f.call({message:1,name:2})!=="2: 1"||f.call({})!=="Error"});d.exports=s?function(){var u=l(this),a=c(u.name,"Error"),x=c(u.message);return a?x?a+": "+x:a:x}:f},94488:function(d,g,e){"use strict";var r=e(92916),i=e(71256).f,l=e(68151),c=e(2291),f=e(29539),s=e(24538),h=e(20865);d.exports=function(u,a){var x=u.target,p=u.global,y=u.stat,_,b,S,R,L,T;if(p?b=r:y?b=r[x]||f(x,{}):b=(r[x]||{}).prototype,b)for(S in a){if(L=a[S],u.dontCallGetSet?(T=i(b,S),R=T&&T.value):R=b[S],_=h(p?S:x+(y?".":"#")+S,u.forced),!_&&R!==void 0){if(typeof L==typeof R)continue;s(L,R)}(u.sham||R&&R.sham)&&l(L,"sham",!0),c(b,S,L,u)}}},3338:function(d){"use strict";d.exports=function(g){try{return!!g()}catch(e){return!0}}},8662:function(d,g,e){"use strict";e(44001);var r=e(34114),i=e(2291),l=e(88736),c=e(3338),f=e(59893),s=e(68151),h=f("species"),u=RegExp.prototype;d.exports=function(a,x,p,y){var _=f(a),b=!c(function(){var T={};return T[_]=function(){return 7},""[a](T)!==7}),S=b&&!c(function(){var T=!1,D=/a/;return a==="split"&&(D={},D.constructor={},D.constructor[h]=function(){return D},D.flags="",D[_]=/./[_]),D.exec=function(){return T=!0,null},D[_](""),!T});if(!b||!S||p){var R=r(/./[_]),L=x(_,""[a],function(T,D,M,N,j){var Q=r(T),X=D.exec;return X===l||X===u.exec?b&&!j?{done:!0,value:R(D,M,N)}:{done:!0,value:Q(M,D,N)}:{done:!1}});i(String.prototype,a,L[0]),i(u,_,L[1])}y&&s(u[_],"sham",!0)}},3372:function(d,g,e){"use strict";var r=e(18589),i=e(82762),l=e(66434),c=e(80666),f=function(s,h,u,a,x,p,y,_){for(var b=x,S=0,R=y?c(y,_):!1,L,T;S<a;)S in u&&(L=R?R(u[S],S,h):u[S],p>0&&r(L)?(T=i(L),b=f(s,h,L,T,b,p-1)-1):(l(b+1),s[b]=L),b++),S++;return b};d.exports=f},13247:function(d,g,e){"use strict";var r=e(3338);d.exports=!r(function(){return Object.isExtensible(Object.preventExtensions({}))})},13743:function(d,g,e){"use strict";var r=e(40486),i=Function.prototype,l=i.apply,c=i.call;d.exports=typeof Reflect=="object"&&Reflect.apply||(r?c.bind(l):function(){return c.apply(l,arguments)})},80666:function(d,g,e){"use strict";var r=e(34114),i=e(63335),l=e(40486),c=r(r.bind);d.exports=function(f,s){return i(f),s===void 0?f:l?c(f,s):function(){return f.apply(s,arguments)}}},40486:function(d,g,e){"use strict";var r=e(3338);d.exports=!r(function(){var i=function(){}.bind();return typeof i!="function"||i.hasOwnProperty("prototype")})},4645:function(d,g,e){"use strict";var r=e(94237),i=e(63335),l=e(31946),c=e(32621),f=e(30867),s=e(40486),h=Function,u=r([].concat),a=r([].join),x={},p=function(y,_,b){if(!c(x,_)){for(var S=[],R=0;R<_;R++)S[R]="a["+R+"]";x[_]=h("C,a","return new C("+a(S,",")+")")}return x[_](y,b)};d.exports=s?h.bind:function(_){var b=i(this),S=b.prototype,R=f(arguments,1),L=function(){var D=u(R,f(arguments));return this instanceof L?p(b,D.length,D):b.apply(_,D)};return l(S)&&(L.prototype=S),L}},89945:function(d,g,e){"use strict";var r=e(40486),i=Function.prototype.call;d.exports=r?i.bind(i):function(){return i.apply(i,arguments)}},47739:function(d,g,e){"use strict";var r=e(94237),i=e(63335);d.exports=function(){return r(i(this))}},8090:function(d,g,e){"use strict";var r=e(35454),i=e(32621),l=Function.prototype,c=r&&Object.getOwnPropertyDescriptor,f=i(l,"name"),s=f&&function(){}.name==="something",h=f&&(!r||r&&c(l,"name").configurable);d.exports={EXISTS:f,PROPER:s,CONFIGURABLE:h}},37758:function(d,g,e){"use strict";var r=e(94237),i=e(63335);d.exports=function(l,c,f){try{return r(i(Object.getOwnPropertyDescriptor(l,c)[f]))}catch(s){}}},34114:function(d,g,e){"use strict";var r=e(29076),i=e(94237);d.exports=function(l){if(r(l)==="Function")return i(l)}},94237:function(d,g,e){"use strict";var r=e(40486),i=Function.prototype,l=i.call,c=r&&i.bind.bind(l,l);d.exports=r?c:function(f){return function(){return l.apply(f,arguments)}}},81750:function(d){"use strict";var g=TypeError;d.exports=function(e){var r=e&&e.alphabet;if(r===void 0||r==="base64"||r==="base64url")return r||"base64";throw new g("Incorrect `alphabet` option")}},38116:function(d,g,e){"use strict";var r=e(89945),i=e(55327),l=e(80449),c=e(10731),f=e(26006),s=e(53776),h=e(59893),u=e(57975),a=h("asyncIterator");d.exports=function(x){var p=l(x),y=!0,_=s(p,a),b;return i(_)||(_=f(p),y=!1),_!==void 0?b=r(_,p):(b=p,y=!0),l(b),c(y?b:new u(c(b)))}},69034:function(d,g,e){"use strict";var r=e(89945),i=e(57975),l=e(80449),c=e(85428),f=e(10731),s=e(53776),h=e(59893),u=h("asyncIterator");d.exports=function(a,x){var p=arguments.length<2?s(a,u):x;return p?l(r(p,a)):new i(f(c(a)))}},55174:function(d,g,e){"use strict";var r=e(92916);d.exports=function(i,l){var c=r[i],f=c&&c.prototype;return f&&f[l]}},65911:function(d,g,e){"use strict";var r=e(92916),i=e(55327),l=function(c){return i(c)?c:void 0};d.exports=function(c,f){return arguments.length<2?l(r[c]):r[c]&&r[c][f]}},10731:function(d){"use strict";d.exports=function(g){return{iterator:g,next:g.next,done:!1}}},7157:function(d,g,e){"use strict";var r=e(89945),i=e(80449),l=e(10731),c=e(26006);d.exports=function(f,s){(!s||typeof f!="string")&&i(f);var h=c(f);return l(i(h!==void 0?r(h,f):f))}},26006:function(d,g,e){"use strict";var r=e(97607),i=e(53776),l=e(4112),c=e(48074),f=e(59893),s=f("iterator");d.exports=function(h){if(!l(h))return i(h,s)||i(h,"@@iterator")||c[r(h)]}},85428:function(d,g,e){"use strict";var r=e(89945),i=e(63335),l=e(80449),c=e(40593),f=e(26006),s=TypeError;d.exports=function(h,u){var a=arguments.length<2?f(h):u;if(i(a))return l(r(a,h));throw new s(c(h)+" is not iterable")}},65451:function(d,g,e){"use strict";var r=e(94237),i=e(18589),l=e(55327),c=e(29076),f=e(69905),s=r([].push);d.exports=function(h){if(l(h))return h;if(i(h)){for(var u=h.length,a=[],x=0;x<u;x++){var p=h[x];typeof p=="string"?s(a,p):(typeof p=="number"||c(p)==="Number"||c(p)==="String")&&s(a,f(p))}var y=a.length,_=!0;return function(b,S){if(_)return _=!1,S;if(i(this))return S;for(var R=0;R<y;R++)if(a[R]===b)return S}}}},53776:function(d,g,e){"use strict";var r=e(63335),i=e(4112);d.exports=function(l,c){var f=l[c];return i(f)?void 0:r(f)}},88203:function(d,g,e){"use strict";var r=e(63335),i=e(80449),l=e(89945),c=e(56902),f=e(10731),s="Invalid size",h=RangeError,u=TypeError,a=Math.max,x=function(p,y,_,b){this.set=p,this.size=y,this.has=_,this.keys=b};x.prototype={getIterator:function(){return f(i(l(this.keys,this.set)))},includes:function(p){return l(this.has,this.set,p)}},d.exports=function(p){i(p);var y=+p.size;if(y!==y)throw new u(s);var _=c(y);if(_<0)throw new h(s);return new x(p,a(_,0),r(p.has),r(p.keys))}},23011:function(d,g,e){"use strict";var r=e(94237),i=e(94029),l=Math.floor,c=r("".charAt),f=r("".replace),s=r("".slice),h=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,u=/\$([$&'`]|\d{1,2})/g;d.exports=function(a,x,p,y,_,b){var S=p+a.length,R=y.length,L=u;return _!==void 0&&(_=i(_),L=h),f(b,L,function(T,D){var M;switch(c(D,0)){case"$":return"$";case"&":return a;case"`":return s(x,0,p);case"'":return s(x,S);case"<":M=_[s(D,1,-1)];break;default:var N=+D;if(N===0)return T;if(N>R){var j=l(N/10);return j===0?T:j<=R?y[j-1]===void 0?c(D,1):y[j-1]+c(D,1):T}M=y[N-1]}return M===void 0?"":M})}},92916:function(d,g,e){"use strict";var r=function(i){return i&&i.Math===Math&&i};d.exports=r(typeof globalThis=="object"&&globalThis)||r(typeof window=="object"&&window)||r(typeof self=="object"&&self)||r(typeof e.g=="object"&&e.g)||r(typeof this=="object"&&this)||function(){return this}()||Function("return this")()},32621:function(d,g,e){"use strict";var r=e(94237),i=e(94029),l=r({}.hasOwnProperty);d.exports=Object.hasOwn||function(f,s){return l(i(f),s)}},54406:function(d){"use strict";d.exports={}},61810:function(d){"use strict";d.exports=function(g,e){try{arguments.length===1?console.error(g):console.error(g,e)}catch(r){}}},75171:function(d,g,e){"use strict";var r=e(65911);d.exports=r("document","documentElement")},46796:function(d,g,e){"use strict";var r=e(35454),i=e(3338),l=e(86060);d.exports=!r&&!i(function(){return Object.defineProperty(l("div"),"a",{get:function(){return 7}}).a!==7})},61618:function(d){"use strict";var g=Array,e=Math.abs,r=Math.pow,i=Math.floor,l=Math.log,c=Math.LN2,f=function(h,u,a){var x=g(a),p=a*8-u-1,y=(1<<p)-1,_=y>>1,b=u===23?r(2,-24)-r(2,-77):0,S=h<0||h===0&&1/h<0?1:0,R=0,L,T,D;for(h=e(h),h!==h||h===1/0?(T=h!==h?1:0,L=y):(L=i(l(h)/c),D=r(2,-L),h*D<1&&(L--,D*=2),L+_>=1?h+=b/D:h+=b*r(2,1-_),h*D>=2&&(L++,D/=2),L+_>=y?(T=0,L=y):L+_>=1?(T=(h*D-1)*r(2,u),L+=_):(T=h*r(2,_-1)*r(2,u),L=0));u>=8;)x[R++]=T&255,T/=256,u-=8;for(L=L<<u|T,p+=u;p>0;)x[R++]=L&255,L/=256,p-=8;return x[--R]|=S*128,x},s=function(h,u){var a=h.length,x=a*8-u-1,p=(1<<x)-1,y=p>>1,_=x-7,b=a-1,S=h[b--],R=S&127,L;for(S>>=7;_>0;)R=R*256+h[b--],_-=8;for(L=R&(1<<-_)-1,R>>=-_,_+=u;_>0;)L=L*256+h[b--],_-=8;if(R===0)R=1-y;else{if(R===p)return L?NaN:S?-1/0:1/0;L+=r(2,u),R-=y}return(S?-1:1)*L*r(2,R-u)};d.exports={pack:f,unpack:s}},1835:function(d,g,e){"use strict";var r=e(94237),i=e(3338),l=e(29076),c=Object,f=r("".split);d.exports=i(function(){return!c("z").propertyIsEnumerable(0)})?function(s){return l(s)==="String"?f(s,""):c(s)}:c},25576:function(d,g,e){"use strict";var r=e(55327),i=e(31946),l=e(58218);d.exports=function(c,f,s){var h,u;return l&&r(h=f.constructor)&&h!==s&&i(u=h.prototype)&&u!==s.prototype&&l(c,u),c}},15212:function(d,g,e){"use strict";var r=e(94237),i=e(55327),l=e(77398),c=r(Function.toString);i(l.inspectSource)||(l.inspectSource=function(f){return c(f)}),d.exports=l.inspectSource},73068:function(d,g,e){"use strict";var r=e(31946),i=e(68151);d.exports=function(l,c){r(c)&&"cause"in c&&i(l,"cause",c.cause)}},2074:function(d,g,e){"use strict";var r=e(94488),i=e(94237),l=e(54406),c=e(31946),f=e(32621),s=e(37691).f,h=e(80689),u=e(53393),a=e(12477),x=e(6145),p=e(13247),y=!1,_=x("meta"),b=0,S=function(N){s(N,_,{value:{objectID:"O"+b++,weakData:{}}})},R=function(N,j){if(!c(N))return typeof N=="symbol"?N:(typeof N=="string"?"S":"P")+N;if(!f(N,_)){if(!a(N))return"F";if(!j)return"E";S(N)}return N[_].objectID},L=function(N,j){if(!f(N,_)){if(!a(N))return!0;if(!j)return!1;S(N)}return N[_].weakData},T=function(N){return p&&y&&a(N)&&!f(N,_)&&S(N),N},D=function(){M.enable=function(){},y=!0;var N=h.f,j=i([].splice),Q={};Q[_]=1,N(Q).length&&(h.f=function(X){for(var Y=N(X),oe=0,ie=Y.length;oe<ie;oe++)if(Y[oe]===_){j(Y,oe,1);break}return Y},r({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:u.f}))},M=d.exports={enable:D,fastKey:R,getWeakData:L,onFreeze:T};l[_]=!0},94844:function(d,g,e){"use strict";var r=e(40115),i=e(92916),l=e(31946),c=e(68151),f=e(32621),s=e(77398),h=e(11898),u=e(54406),a="Object already initialized",x=i.TypeError,p=i.WeakMap,y,_,b,S=function(D){return b(D)?_(D):y(D,{})},R=function(D){return function(M){var N;if(!l(M)||(N=_(M)).type!==D)throw new x("Incompatible receiver, "+D+" required");return N}};if(r||s.state){var L=s.state||(s.state=new p);L.get=L.get,L.has=L.has,L.set=L.set,y=function(D,M){if(L.has(D))throw new x(a);return M.facade=D,L.set(D,M),M},_=function(D){return L.get(D)||{}},b=function(D){return L.has(D)}}else{var T=h("state");u[T]=!0,y=function(D,M){if(f(D,T))throw new x(a);return M.facade=D,c(D,T,M),M},_=function(D){return f(D,T)?D[T]:{}},b=function(D){return f(D,T)}}d.exports={set:y,get:_,has:b,enforce:S,getterFor:R}},345:function(d,g,e){"use strict";var r=e(59893),i=e(48074),l=r("iterator"),c=Array.prototype;d.exports=function(f){return f!==void 0&&(i.Array===f||c[l]===f)}},18589:function(d,g,e){"use strict";var r=e(29076);d.exports=Array.isArray||function(l){return r(l)==="Array"}},75406:function(d,g,e){"use strict";var r=e(97607);d.exports=function(i){var l=r(i);return l==="BigInt64Array"||l==="BigUint64Array"}},55327:function(d,g,e){"use strict";var r=e(81766),i=r.all;d.exports=r.IS_HTMLDDA?function(l){return typeof l=="function"||l===i}:function(l){return typeof l=="function"}},39812:function(d,g,e){"use strict";var r=e(94237),i=e(3338),l=e(55327),c=e(97607),f=e(65911),s=e(15212),h=function(){},u=[],a=f("Reflect","construct"),x=/^\s*(?:class|function)\b/,p=r(x.exec),y=!x.test(h),_=function(R){if(!l(R))return!1;try{return a(h,u,R),!0}catch(L){return!1}},b=function(R){if(!l(R))return!1;switch(c(R)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return y||!!p(x,s(R))}catch(L){return!0}};b.sham=!0,d.exports=!a||i(function(){var S;return _(_.call)||!_(Object)||!_(function(){S=!0})||S})?b:_},60516:function(d,g,e){"use strict";var r=e(32621);d.exports=function(i){return i!==void 0&&(r(i,"value")||r(i,"writable"))}},20865:function(d,g,e){"use strict";var r=e(3338),i=e(55327),l=/#|\.prototype\./,c=function(a,x){var p=s[f(a)];return p===u?!0:p===h?!1:i(x)?r(x):!!x},f=c.normalize=function(a){return String(a).replace(l,".").toLowerCase()},s=c.data={},h=c.NATIVE="N",u=c.POLYFILL="P";d.exports=c},62896:function(d,g,e){"use strict";var r=e(31946),i=Math.floor;d.exports=Number.isInteger||function(c){return!r(c)&&isFinite(c)&&i(c)===c}},30360:function(d,g,e){"use strict";var r=e(97607),i=e(32621),l=e(4112),c=e(59893),f=e(48074),s=c("iterator"),h=Object;d.exports=function(u){if(l(u))return!1;var a=h(u);return a[s]!==void 0||"@@iterator"in a||i(f,r(a))}},4112:function(d){"use strict";d.exports=function(g){return g==null}},31946:function(d,g,e){"use strict";var r=e(55327),i=e(81766),l=i.all;d.exports=i.IS_HTMLDDA?function(c){return typeof c=="object"?c!==null:r(c)||c===l}:function(c){return typeof c=="object"?c!==null:r(c)}},16697:function(d){"use strict";d.exports=!1},83502:function(d,g,e){"use strict";var r=e(31946),i=e(94844).get;d.exports=function(c){if(!r(c))return!1;var f=i(c);return!!f&&f.type==="RawJSON"}},44639:function(d,g,e){"use strict";var r=e(31946),i=e(29076),l=e(59893),c=l("match");d.exports=function(f){var s;return r(f)&&((s=f[c])!==void 0?!!s:i(f)==="RegExp")}},18446:function(d,g,e){"use strict";var r=e(65911),i=e(55327),l=e(16332),c=e(14417),f=Object;d.exports=c?function(s){return typeof s=="symbol"}:function(s){var h=r("Symbol");return i(h)&&l(h.prototype,f(s))}},43545:function(d,g,e){"use strict";var r=e(89945);d.exports=function(i,l,c){for(var f=c?i:i.iterator,s=i.next,h,u;!(h=r(s,f)).done;)if(u=l(h.value),u!==void 0)return u}},62003:function(d,g,e){"use strict";var r=e(80666),i=e(89945),l=e(80449),c=e(40593),f=e(345),s=e(82762),h=e(16332),u=e(85428),a=e(26006),x=e(67996),p=TypeError,y=function(b,S){this.stopped=b,this.result=S},_=y.prototype;d.exports=function(b,S,R){var L=R&&R.that,T=!!(R&&R.AS_ENTRIES),D=!!(R&&R.IS_RECORD),M=!!(R&&R.IS_ITERATOR),N=!!(R&&R.INTERRUPTED),j=r(S,L),Q,X,Y,oe,ie,ue,K,V=function(te){return Q&&x(Q,"normal",te),new y(!0,te)},G=function(te){return T?(l(te),N?j(te[0],te[1],V):j(te[0],te[1])):N?j(te,V):j(te)};if(D)Q=b.iterator;else if(M)Q=b;else{if(X=a(b),!X)throw new p(c(b)+" is not iterable");if(f(X)){for(Y=0,oe=s(b);oe>Y;Y++)if(ie=G(b[Y]),ie&&h(_,ie))return ie;return new y(!1)}Q=u(b,X)}for(ue=D?b.next:Q.next;!(K=i(ue,Q)).done;){try{ie=G(K.value)}catch(te){x(Q,"throw",te)}if(typeof ie=="object"&&ie&&h(_,ie))return ie}return new y(!1)}},67996:function(d,g,e){"use strict";var r=e(89945),i=e(80449),l=e(53776);d.exports=function(c,f,s){var h,u;i(c);try{if(h=l(c,"return"),!h){if(f==="throw")throw s;return s}h=r(h,c)}catch(a){u=!0,h=a}if(f==="throw")throw s;if(u)throw h;return i(h),s}},83126:function(d,g,e){"use strict";var r=e(46571).IteratorPrototype,i=e(20132),l=e(35012),c=e(94573),f=e(48074),s=function(){return this};d.exports=function(h,u,a,x){var p=u+" Iterator";return h.prototype=i(r,{next:l(+!x,a)}),c(h,p,!1,!0),f[p]=s,h}},20547:function(d,g,e){"use strict";var r=e(89945),i=e(20132),l=e(68151),c=e(66477),f=e(59893),s=e(94844),h=e(53776),u=e(46571).IteratorPrototype,a=e(25587),x=e(67996),p=f("toStringTag"),y="IteratorHelper",_="WrapForValidIterator",b=s.set,S=function(T){var D=s.getterFor(T?_:y);return c(i(u),{next:function(){var N=D(this);if(T)return N.nextHandler();try{var j=N.done?void 0:N.nextHandler();return a(j,N.done)}catch(Q){throw N.done=!0,Q}},return:function(){var M=D(this),N=M.iterator;if(M.done=!0,T){var j=h(N,"return");return j?r(j,N):a(void 0,!0)}if(M.inner)try{x(M.inner.iterator,"normal")}catch(Q){return x(N,"throw",Q)}return x(N,"normal"),a(void 0,!0)}})},R=S(!0),L=S(!1);l(L,p,"Iterator Helper"),d.exports=function(T,D){var M=function(j,Q){Q?(Q.iterator=j.iterator,Q.next=j.next):Q=j,Q.type=D?_:y,Q.nextHandler=T,Q.counter=0,Q.done=!1,b(this,Q)};return M.prototype=D?R:L,M}},24019:function(d,g,e){"use strict";var r=e(94488),i=e(89945),l=e(16697),c=e(8090),f=e(55327),s=e(83126),h=e(53456),u=e(58218),a=e(94573),x=e(68151),p=e(2291),y=e(59893),_=e(48074),b=e(46571),S=c.PROPER,R=c.CONFIGURABLE,L=b.IteratorPrototype,T=b.BUGGY_SAFARI_ITERATORS,D=y("iterator"),M="keys",N="values",j="entries",Q=function(){return this};d.exports=function(X,Y,oe,ie,ue,K,V){s(oe,Y,ie);var G=function(Re){if(Re===ue&&z)return z;if(!T&&Re&&Re in J)return J[Re];switch(Re){case M:return function(){return new oe(this,Re)};case N:return function(){return new oe(this,Re)};case j:return function(){return new oe(this,Re)}}return function(){return new oe(this)}},te=Y+" Iterator",q=!1,J=X.prototype,le=J[D]||J["@@iterator"]||ue&&J[ue],z=!T&&le||G(ue),F=Y==="Array"&&J.entries||le,se,_e,Pe;if(F&&(se=h(F.call(new X)),se!==Object.prototype&&se.next&&(!l&&h(se)!==L&&(u?u(se,L):f(se[D])||p(se,D,Q)),a(se,te,!0,!0),l&&(_[te]=Q))),S&&ue===N&&le&&le.name!==N&&(!l&&R?x(J,"name",N):(q=!0,z=function(){return i(le,this)})),ue)if(_e={values:G(N),keys:K?z:G(M),entries:G(j)},V)for(Pe in _e)(T||q||!(Pe in J))&&p(J,Pe,_e[Pe]);else r({target:Y,proto:!0,forced:T||q},_e);return(!l||V)&&J[D]!==z&&p(J,D,z,{name:ue}),_[Y]=z,_e}},24771:function(d,g,e){"use strict";var r=e(89945),i=e(2155),l=function(c,f){return[f,c]};d.exports=function(){return r(i,this,l)}},2155:function(d,g,e){"use strict";var r=e(89945),i=e(63335),l=e(80449),c=e(10731),f=e(20547),s=e(46319),h=f(function(){var u=this.iterator,a=l(r(this.next,u)),x=this.done=!!a.done;if(!x)return s(u,this.mapper,[a.value,this.counter++],!0)});d.exports=function(a){return l(this),i(a),new h(c(this),{mapper:a})}},46571:function(d,g,e){"use strict";var r=e(3338),i=e(55327),l=e(31946),c=e(20132),f=e(53456),s=e(2291),h=e(59893),u=e(16697),a=h("iterator"),x=!1,p,y,_;[].keys&&(_=[].keys(),"next"in _?(y=f(f(_)),y!==Object.prototype&&(p=y)):x=!0);var b=!l(p)||r(function(){var S={};return p[a].call(S)!==S});b?p={}:u&&(p=c(p)),i(p[a])||s(p,a,function(){return this}),d.exports={IteratorPrototype:p,BUGGY_SAFARI_ITERATORS:x}},48074:function(d){"use strict";d.exports={}},82762:function(d,g,e){"use strict";var r=e(61578);d.exports=function(i){return r(i.length)}},86528:function(d,g,e){"use strict";var r=e(94237),i=e(3338),l=e(55327),c=e(32621),f=e(35454),s=e(8090).CONFIGURABLE,h=e(15212),u=e(94844),a=u.enforce,x=u.get,p=String,y=Object.defineProperty,_=r("".slice),b=r("".replace),S=r([].join),R=f&&!i(function(){return y(function(){},"length",{value:8}).length!==8}),L=String(String).split("String"),T=d.exports=function(D,M,N){_(p(M),0,7)==="Symbol("&&(M="["+b(p(M),/^Symbol\(([^)]*)\)/,"$1")+"]"),N&&N.getter&&(M="get "+M),N&&N.setter&&(M="set "+M),(!c(D,"name")||s&&D.name!==M)&&(f?y(D,"name",{value:M,configurable:!0}):D.name=M),R&&N&&c(N,"arity")&&D.length!==N.arity&&y(D,"length",{value:N.arity});try{N&&c(N,"constructor")&&N.constructor?f&&y(D,"prototype",{writable:!1}):D.prototype&&(D.prototype=void 0)}catch(Q){}var j=a(D);return c(j,"source")||(j.source=S(L,typeof M=="string"?M:"")),D};Function.prototype.toString=T(function(){return l(this)&&x(this).source||h(this)},"toString")},2786:function(d,g,e){"use strict";var r=e(94237),i=Map.prototype;d.exports={Map,set:r(i.set),get:r(i.get),has:r(i.has),remove:r(i.delete),proto:i}},95037:function(d,g,e){"use strict";var r=e(94237),i=e(43545),l=e(2786),c=l.Map,f=l.proto,s=r(f.forEach),h=r(f.entries),u=h(new c).next;d.exports=function(a,x,p){return p?i({iterator:h(a),next:u},function(y){return x(y[1],y[0])}):s(a,x)}},14615:function(d,g,e){"use strict";var r=e(89945),i=e(63335),l=e(55327),c=e(80449),f=TypeError;d.exports=function(h,u){var a=c(this),x=i(a.get),p=i(a.has),y=i(a.set),_=arguments.length>2?arguments[2]:void 0,b;if(!l(u)&&!l(_))throw new f("At least one callback required");return r(p,a,h)?(b=r(x,a,h),l(u)&&(b=u(b),r(y,a,h,b))):l(_)&&(b=_(),r(y,a,h,b)),b}},10014:function(d){"use strict";var g=Math.expm1,e=Math.exp;d.exports=!g||g(10)>22025.465794806718||g(10)<22025.465794806718||g(-2e-17)!==-2e-17?function(i){var l=+i;return l===0?l:l>-1e-6&&l<1e-6?l+l*l/2:e(l)-1}:g},35175:function(d,g,e){"use strict";var r=e(77056),i=.0009765625,l=65504,c=6103515625e-14;d.exports=Math.f16round||function(s){return r(s,i,l,c)}},77056:function(d,g,e){"use strict";var r=e(37666),i=Math.abs,l=2220446049250313e-31,c=1/l,f=function(s){return s+c-c};d.exports=function(s,h,u,a){var x=+s,p=i(x),y=r(x);if(p<a)return y*f(p/a/h)*a*h;var _=(1+h/l)*p,b=_-(_-p);return b>u||b!==b?y*(1/0):y*b}},14894:function(d,g,e){"use strict";var r=e(77056),i=11920928955078125e-23,l=34028234663852886e22,c=11754943508222875e-54;d.exports=Math.fround||function(s){return r(s,i,l,c)}},53309:function(d){"use strict";var g=Math.log,e=Math.LOG10E;d.exports=Math.log10||function(i){return g(i)*e}},25726:function(d){"use strict";var g=Math.log;d.exports=Math.log1p||function(r){var i=+r;return i>-1e-8&&i<1e-8?i-i*i/2:g(1+i)}},24619:function(d){"use strict";d.exports=Math.scale||function(e,r,i,l,c){var f=+e,s=+r,h=+i,u=+l,a=+c;return f!==f||s!==s||h!==h||u!==u||a!==a?NaN:f===1/0||f===-1/0?f:(f-s)*(a-u)/(h-s)+u}},37666:function(d){"use strict";d.exports=Math.sign||function(e){var r=+e;return r===0||r!==r?r:r<0?-1:1}},3312:function(d){"use strict";var g=Math.ceil,e=Math.floor;d.exports=Math.trunc||function(i){var l=+i;return(l>0?e:g)(l)}},72933:function(d,g,e){"use strict";var r=e(92916),i=e(80666),l=e(71256).f,c=e(28887).set,f=e(66790),s=e(70695),h=e(1908),u=e(44914),a=e(90946),x=r.MutationObserver||r.WebKitMutationObserver,p=r.document,y=r.process,_=r.Promise,b=l(r,"queueMicrotask"),S=b&&b.value,R,L,T,D,M;if(!S){var N=new f,j=function(){var Q,X;for(a&&(Q=y.domain)&&Q.exit();X=N.get();)try{X()}catch(Y){throw N.head&&R(),Y}Q&&Q.enter()};!s&&!a&&!u&&x&&p?(L=!0,T=p.createTextNode(""),new x(j).observe(T,{characterData:!0}),R=function(){T.data=L=!L}):!h&&_&&_.resolve?(D=_.resolve(void 0),D.constructor=_,M=i(D.then,D),R=function(){M(j)}):a?R=function(){y.nextTick(j)}:(c=i(c,r),R=function(){c(j)}),S=function(Q){N.head||R(),N.add(Q)}}d.exports=S},82778:function(d,g,e){"use strict";var r=e(3338);d.exports=!r(function(){var i="9007199254740993",l=JSON.rawJSON(i);return!JSON.isRawJSON(l)||JSON.stringify(l)!==i})},73446:function(d,g,e){"use strict";var r=e(63335),i=TypeError,l=function(c){var f,s;this.promise=new c(function(h,u){if(f!==void 0||s!==void 0)throw new i("Bad Promise constructor");f=h,s=u}),this.resolve=r(f),this.reject=r(s)};d.exports.f=function(c){return new l(c)}},7825:function(d,g,e){"use strict";var r=e(69905);d.exports=function(i,l){return i===void 0?arguments.length<2?"":l:r(i)}},2279:function(d){"use strict";var g=RangeError;d.exports=function(e){if(e===e)return e;throw new g("NaN is not allowed")}},41696:function(d,g,e){"use strict";var r=e(44639),i=TypeError;d.exports=function(l){if(r(l))throw new i("The method doesn't accept regular expressions");return l}},1222:function(d,g,e){"use strict";var r=e(92916),i=r.isFinite;d.exports=Number.isFinite||function(c){return typeof c=="number"&&i(c)}},31280:function(d,g,e){"use strict";var r=e(92916),i=e(3338),l=e(94237),c=e(69905),f=e(52971).trim,s=e(19268),h=l("".charAt),u=r.parseFloat,a=r.Symbol,x=a&&a.iterator,p=1/u(s+"-0")!==-1/0||x&&!i(function(){u(Object(x))});d.exports=p?function(_){var b=f(c(_)),S=u(b);return S===0&&h(b,0)==="-"?-0:S}:u},52446:function(d,g,e){"use strict";var r=e(92916),i=e(3338),l=e(94237),c=e(69905),f=e(52971).trim,s=e(19268),h=r.parseInt,u=r.Symbol,a=u&&u.iterator,x=/^[+-]?0x/i,p=l(x.exec),y=h(s+"08")!==8||h(s+"0x16")!==22||a&&!i(function(){h(Object(a))});d.exports=y?function(b,S){var R=f(c(b));return h(R,S>>>0||(p(x,R)?16:10))}:h},17243:function(d,g,e){"use strict";var r=e(94844),i=e(83126),l=e(25587),c=e(4112),f=e(31946),s=e(64110),h=e(35454),u="Incorrect Iterator.range arguments",a="NumericRangeIterator",x=r.set,p=r.getterFor(a),y=RangeError,_=TypeError,b=i(function(L,T,D,M,N,j){if(typeof L!=M||T!==1/0&&T!==-1/0&&typeof T!=M)throw new _(u);if(L===1/0||L===-1/0)throw new y(u);var Q=T>L,X=!1,Y;if(D===void 0)Y=void 0;else if(f(D))Y=D.step,X=!!D.inclusive;else if(typeof D==M)Y=D;else throw new _(u);if(c(Y)&&(Y=Q?j:-j),typeof Y!=M)throw new _(u);if(Y===1/0||Y===-1/0||Y===N&&L!==T)throw new y(u);var oe=L!==L||T!==T||Y!==Y||T>L!=Y>N;x(this,{type:a,start:L,end:T,step:Y,inclusive:X,hitsEnd:oe,currentCount:N,zero:N}),h||(this.start=L,this.end=T,this.step=Y,this.inclusive=X)},a,function(){var L=p(this);if(L.hitsEnd)return l(void 0,!0);var T=L.start,D=L.end,M=L.step,N=T+M*L.currentCount++;N===D&&(L.hitsEnd=!0);var j=L.inclusive,Q;return D>T?Q=j?N>D:N>=D:Q=j?D>N:D>=N,Q?(L.hitsEnd=!0,l(void 0,!0)):l(N,!1)}),S=function(R){s(b.prototype,R,{get:function(){return p(this)[R]},set:function(){},configurable:!0,enumerable:!1})};h&&(S("start"),S("end"),S("inclusive"),S("step")),d.exports=b},80530:function(d,g,e){"use strict";var r=e(35454),i=e(94237),l=e(89945),c=e(3338),f=e(7733),s=e(92635),h=e(27597),u=e(94029),a=e(1835),x=Object.assign,p=Object.defineProperty,y=i([].concat);d.exports=!x||c(function(){if(r&&x({b:1},x(p({},"a",{enumerable:!0,get:function(){p(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var _={},b={},S=Symbol("assign detection"),R="abcdefghijklmnopqrst";return _[S]=7,R.split("").forEach(function(L){b[L]=L}),x({},_)[S]!==7||f(x({},b)).join("")!==R})?function(b,S){for(var R=u(b),L=arguments.length,T=1,D=s.f,M=h.f;L>T;)for(var N=a(arguments[T++]),j=D?y(f(N),D(N)):f(N),Q=j.length,X=0,Y;Q>X;)Y=j[X++],(!r||l(M,N,Y))&&(R[Y]=N[Y]);return R}:x},20132:function(d,g,e){"use strict";var r=e(80449),i=e(55666),l=e(46678),c=e(54406),f=e(75171),s=e(86060),h=e(11898),u=">",a="<",x="prototype",p="script",y=h("IE_PROTO"),_=function(){},b=function(D){return a+p+u+D+a+"/"+p+u},S=function(D){D.write(b("")),D.close();var M=D.parentWindow.Object;return D=null,M},R=function(){var D=s("iframe"),M="java"+p+":",N;return D.style.display="none",f.appendChild(D),D.src=String(M),N=D.contentWindow.document,N.open(),N.write(b("document.F=Object")),N.close(),N.F},L,T=function(){try{L=new ActiveXObject("htmlfile")}catch(M){}T=typeof document!="undefined"?document.domain&&L?S(L):R():S(L);for(var D=l.length;D--;)delete T[x][l[D]];return T()};c[y]=!0,d.exports=Object.create||function(M,N){var j;return M!==null?(_[x]=r(M),j=new _,_[x]=null,j[y]=M):j=T(),N===void 0?j:i.f(j,N)}},55666:function(d,g,e){"use strict";var r=e(35454),i=e(93199),l=e(37691),c=e(80449),f=e(80524),s=e(7733);g.f=r&&!i?Object.defineProperties:function(u,a){c(u);for(var x=f(a),p=s(a),y=p.length,_=0,b;y>_;)l.f(u,b=p[_++],x[b]);return u}},37691:function(d,g,e){"use strict";var r=e(35454),i=e(46796),l=e(93199),c=e(80449),f=e(17818),s=TypeError,h=Object.defineProperty,u=Object.getOwnPropertyDescriptor,a="enumerable",x="configurable",p="writable";g.f=r?l?function(_,b,S){if(c(_),b=f(b),c(S),typeof _=="function"&&b==="prototype"&&"value"in S&&p in S&&!S[p]){var R=u(_,b);R&&R[p]&&(_[b]=S.value,S={configurable:x in S?S[x]:R[x],enumerable:a in S?S[a]:R[a],writable:!1})}return h(_,b,S)}:h:function(_,b,S){if(c(_),b=f(b),c(S),i)try{return h(_,b,S)}catch(R){}if("get"in S||"set"in S)throw new s("Accessors not supported");return"value"in S&&(_[b]=S.value),_}},71256:function(d,g,e){"use strict";var r=e(35454),i=e(89945),l=e(27597),c=e(35012),f=e(80524),s=e(17818),h=e(32621),u=e(46796),a=Object.getOwnPropertyDescriptor;g.f=r?a:function(p,y){if(p=f(p),y=s(y),u)try{return a(p,y)}catch(_){}if(h(p,y))return c(!i(l.f,p,y),p[y])}},53393:function(d,g,e){"use strict";var r=e(29076),i=e(80524),l=e(80689).f,c=e(71698),f=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(h){try{return l(h)}catch(u){return c(f)}};d.exports.f=function(u){return f&&r(u)==="Window"?s(u):l(i(u))}},80689:function(d,g,e){"use strict";var r=e(97486),i=e(46678),l=i.concat("length","prototype");g.f=Object.getOwnPropertyNames||function(f){return r(f,l)}},92635:function(d,g){"use strict";g.f=Object.getOwnPropertySymbols},53456:function(d,g,e){"use strict";var r=e(32621),i=e(55327),l=e(94029),c=e(11898),f=e(4870),s=c("IE_PROTO"),h=Object,u=h.prototype;d.exports=f?h.getPrototypeOf:function(a){var x=l(a);if(r(x,s))return x[s];var p=x.constructor;return i(p)&&x instanceof p?p.prototype:x instanceof h?u:null}},12477:function(d,g,e){"use strict";var r=e(3338),i=e(31946),l=e(29076),c=e(51424),f=Object.isExtensible,s=r(function(){f(1)});d.exports=s||c?function(u){return!i(u)||c&&l(u)==="ArrayBuffer"?!1:f?f(u):!0}:f},16332:function(d,g,e){"use strict";var r=e(94237);d.exports=r({}.isPrototypeOf)},20574:function(d,g,e){"use strict";var r=e(94844),i=e(83126),l=e(25587),c=e(32621),f=e(7733),s=e(94029),h="Object Iterator",u=r.set,a=r.getterFor(h);d.exports=i(function(p,y){var _=s(p);u(this,{type:h,mode:y,object:_,keys:f(_),index:0})},"Object",function(){for(var p=a(this),y=p.keys;;){if(y===null||p.index>=y.length)return p.object=p.keys=null,l(void 0,!0);var _=y[p.index++],b=p.object;if(c(b,_)){switch(p.mode){case"keys":return l(_,!1);case"values":return l(b[_],!1)}return l([_,b[_]],!1)}}})},97486:function(d,g,e){"use strict";var r=e(94237),i=e(32621),l=e(80524),c=e(22999).indexOf,f=e(54406),s=r([].push);d.exports=function(h,u){var a=l(h),x=0,p=[],y;for(y in a)!i(f,y)&&i(a,y)&&s(p,y);for(;u.length>x;)i(a,y=u[x++])&&(~c(p,y)||s(p,y));return p}},7733:function(d,g,e){"use strict";var r=e(97486),i=e(46678);d.exports=Object.keys||function(c){return r(c,i)}},27597:function(d,g){"use strict";var e={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,i=r&&!e.call({1:2},1);g.f=i?function(c){var f=r(this,c);return!!f&&f.enumerable}:e},25837:function(d,g,e){"use strict";var r=e(16697),i=e(92916),l=e(3338),c=e(19684);d.exports=r||!l(function(){if(!(c&&c<535)){var f=Math.random();__defineSetter__.call(null,f,function(){}),delete i[f]}})},58218:function(d,g,e){"use strict";var r=e(37758),i=e(80449),l=e(557);d.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var c=!1,f={},s;try{s=r(Object.prototype,"__proto__","set"),s(f,[]),c=f instanceof Array}catch(h){}return function(u,a){return i(u),l(a),c?s(u,a):u.__proto__=a,u}}():void 0)},88698:function(d,g,e){"use strict";var r=e(35454),i=e(3338),l=e(94237),c=e(53456),f=e(7733),s=e(80524),h=e(27597).f,u=l(h),a=l([].push),x=r&&i(function(){var y=Object.create(null);return y[2]=2,!u(y,2)}),p=function(y){return function(_){for(var b=s(_),S=f(b),R=x&&c(b)===null,L=S.length,T=0,D=[],M;L>T;)M=S[T++],(!r||(R?M in b:u(b,M)))&&a(D,y?[M,b[M]]:b[M]);return D}};d.exports={entries:p(!0),values:p(!1)}},28488:function(d,g,e){"use strict";var r=e(68527),i=e(97607);d.exports=r?{}.toString:function(){return"[object "+i(this)+"]"}},44759:function(d,g,e){"use strict";var r=e(89945),i=e(55327),l=e(31946),c=TypeError;d.exports=function(f,s){var h,u;if(s==="string"&&i(h=f.toString)&&!l(u=r(h,f))||i(h=f.valueOf)&&!l(u=r(h,f))||s!=="string"&&i(h=f.toString)&&!l(u=r(h,f)))return u;throw new c("Can't convert object to primitive value")}},48662:function(d,g,e){"use strict";var r=e(65911),i=e(94237),l=e(80689),c=e(92635),f=e(80449),s=i([].concat);d.exports=r("Reflect","ownKeys")||function(u){var a=l.f(f(u)),x=c.f;return x?s(a,x(u)):a}},70913:function(d,g,e){"use strict";var r=e(94237),i=e(32621),l=SyntaxError,c=parseInt,f=String.fromCharCode,s=r("".charAt),h=r("".slice),u=r(/./.exec),a={'\\"':'"',"\\\\":"\\","\\/":"/","\\b":"\b","\\f":"\f","\\n":`
`,"\\r":"\r","\\t":" "},x=/^[\da-f]{4}$/i,p=/^[\u0000-\u001F]$/;d.exports=function(y,_){for(var b=!0,S="";_<y.length;){var R=s(y,_);if(R==="\\"){var L=h(y,_,_+2);if(i(a,L))S+=a[L],_+=2;else if(L==="\\u"){_+=2;var T=h(y,_,_+4);if(!u(x,T))throw new l("Bad Unicode escape at: "+_);S+=f(c(T,16)),_+=4}else throw new l('Unknown escape sequence: "'+L+'"')}else if(R==='"'){b=!1,_++;break}else{if(u(p,R))throw new l("Bad control character in string literal at: "+_);S+=R,_++}}if(b)throw new l("Unterminated string at: "+_);return{value:S,end:_}}},9699:function(d,g,e){"use strict";var r=e(92916);d.exports=r},80734:function(d){"use strict";d.exports=function(g){try{return{error:!1,value:g()}}catch(e){return{error:!0,value:e}}}},82830:function(d,g,e){"use strict";var r=e(92916),i=e(2451),l=e(55327),c=e(20865),f=e(15212),s=e(59893),h=e(66994),u=e(91821),a=e(16697),x=e(46573),p=i&&i.prototype,y=s("species"),_=!1,b=l(r.PromiseRejectionEvent),S=c("Promise",function(){var R=f(i),L=R!==String(i);if(!L&&x===66||a&&!(p.catch&&p.finally))return!0;if(!x||x<51||!/native code/.test(R)){var T=new i(function(N){N(1)}),D=function(N){N(function(){},function(){})},M=T.constructor={};if(M[y]=D,_=T.then(function(){})instanceof D,!_)return!0}return!L&&(h||u)&&!b});d.exports={CONSTRUCTOR:S,REJECTION_EVENT:b,SUBCLASSING:_}},2451:function(d,g,e){"use strict";var r=e(92916);d.exports=r.Promise},15597:function(d,g,e){"use strict";var r=e(80449),i=e(31946),l=e(73446);d.exports=function(c,f){if(r(c),i(f)&&f.constructor===c)return f;var s=l.f(c),h=s.resolve;return h(f),s.promise}},22093:function(d,g,e){"use strict";var r=e(2451),i=e(35221),l=e(82830).CONSTRUCTOR;d.exports=l||!i(function(c){r.all(c).then(void 0,function(){})})},44166:function(d,g,e){"use strict";var r=e(37691).f;d.exports=function(i,l,c){c in i||r(i,c,{configurable:!0,get:function(){return l[c]},set:function(f){l[c]=f}})}},66790:function(d){"use strict";var g=function(){this.head=null,this.tail=null};g.prototype={add:function(e){var r={item:e,next:null},i=this.tail;i?i.next=r:this.head=r,this.tail=r},get:function(){var e=this.head;if(e){var r=this.head=e.next;return r===null&&(this.tail=null),e.item}}},d.exports=g},82584:function(d,g,e){"use strict";e(34941),e(55410);var r=e(65911),i=e(94237),l=e(77898),c=r("Map"),f=r("WeakMap"),s=i([].push),h=l("metadata"),u=h.store||(h.store=new f),a=function(S,R,L){var T=u.get(S);if(!T){if(!L)return;u.set(S,T=new c)}var D=T.get(R);if(!D){if(!L)return;T.set(R,D=new c)}return D},x=function(S,R,L){var T=a(R,L,!1);return T===void 0?!1:T.has(S)},p=function(S,R,L){var T=a(R,L,!1);return T===void 0?void 0:T.get(S)},y=function(S,R,L,T){a(L,T,!0).set(S,R)},_=function(S,R){var L=a(S,R,!1),T=[];return L&&L.forEach(function(D,M){s(T,M)}),T},b=function(S){return S===void 0||typeof S=="symbol"?S:String(S)};d.exports={store:u,getMap:a,has:x,get:p,set:y,keys:_,toKey:b}},94338:function(d,g,e){"use strict";var r=e(89945),i=e(80449),l=e(55327),c=e(29076),f=e(88736),s=TypeError;d.exports=function(h,u){var a=h.exec;if(l(a)){var x=r(a,h,u);return x!==null&&i(x),x}if(c(h)==="RegExp")return r(f,h,u);throw new s("RegExp#exec called on incompatible receiver")}},88736:function(d,g,e){"use strict";var r=e(89945),i=e(94237),l=e(69905),c=e(82163),f=e(19286),s=e(77898),h=e(20132),u=e(94844).get,a=e(6041),x=e(51224),p=s("native-string-replace",String.prototype.replace),y=RegExp.prototype.exec,_=y,b=i("".charAt),S=i("".indexOf),R=i("".replace),L=i("".slice),T=function(){var j=/a/,Q=/b*/g;return r(y,j,"a"),r(y,Q,"a"),j.lastIndex!==0||Q.lastIndex!==0}(),D=f.BROKEN_CARET,M=/()??/.exec("")[1]!==void 0,N=T||M||D||a||x;N&&(_=function(Q){var X=this,Y=u(X),oe=l(Q),ie=Y.raw,ue,K,V,G,te,q,J;if(ie)return ie.lastIndex=X.lastIndex,ue=r(_,ie,oe),X.lastIndex=ie.lastIndex,ue;var le=Y.groups,z=D&&X.sticky,F=r(c,X),se=X.source,_e=0,Pe=oe;if(z&&(F=R(F,"y",""),S(F,"g")===-1&&(F+="g"),Pe=L(oe,X.lastIndex),X.lastIndex>0&&(!X.multiline||X.multiline&&b(oe,X.lastIndex-1)!==`
`)&&(se="(?: "+se+")",Pe=" "+Pe,_e++),K=new RegExp("^(?:"+se+")",F)),M&&(K=new RegExp("^"+se+"$(?!\\s)",F)),T&&(V=X.lastIndex),G=r(y,z?K:X,Pe),z?G?(G.input=L(G.input,_e),G[0]=L(G[0],_e),G.index=X.lastIndex,X.lastIndex+=G[0].length):X.lastIndex=0:T&&G&&(X.lastIndex=X.global?G.index+G[0].length:V),M&&G&&G.length>1&&r(p,G[0],K,function(){for(te=1;te<arguments.length-2;te++)arguments[te]===void 0&&(G[te]=void 0)}),G&&le)for(G.groups=q=h(null),te=0;te<le.length;te++)J=le[te],q[J[0]]=G[J[1]];return G}),d.exports=_},82163:function(d,g,e){"use strict";var r=e(80449);d.exports=function(){var i=r(this),l="";return i.hasIndices&&(l+="d"),i.global&&(l+="g"),i.ignoreCase&&(l+="i"),i.multiline&&(l+="m"),i.dotAll&&(l+="s"),i.unicode&&(l+="u"),i.unicodeSets&&(l+="v"),i.sticky&&(l+="y"),l}},81644:function(d,g,e){"use strict";var r=e(89945),i=e(32621),l=e(16332),c=e(82163),f=RegExp.prototype;d.exports=function(s){var h=s.flags;return h===void 0&&!("flags"in f)&&!i(s,"flags")&&l(f,s)?r(c,s):h}},19286:function(d,g,e){"use strict";var r=e(3338),i=e(92916),l=i.RegExp,c=r(function(){var h=l("a","y");return h.lastIndex=2,h.exec("abcd")!==null}),f=c||r(function(){return!l("a","y").sticky}),s=c||r(function(){var h=l("^r","gy");return h.lastIndex=2,h.exec("str")!==null});d.exports={BROKEN_CARET:s,MISSED_STICKY:f,UNSUPPORTED_Y:c}},6041:function(d,g,e){"use strict";var r=e(3338),i=e(92916),l=i.RegExp;d.exports=r(function(){var c=l(".","s");return!(c.dotAll&&c.test(`
`)&&c.flags==="s")})},51224:function(d,g,e){"use strict";var r=e(3338),i=e(92916),l=i.RegExp;d.exports=r(function(){var c=l("(?<a>b)","g");return c.exec("b").groups.a!=="b"||"b".replace(c,"$<a>c")!=="bc"})},95955:function(d,g,e){"use strict";var r=e(4112),i=TypeError;d.exports=function(l){if(r(l))throw new i("Can't call method on "+l);return l}},88134:function(d){"use strict";d.exports=function(g,e){return g===e||g!==g&&e!==e}},5370:function(d){"use strict";d.exports=Object.is||function(e,r){return e===r?e!==0||1/e===1/r:e!==e&&r!==r}},93222:function(d,g,e){"use strict";var r=e(92916),i=e(13743),l=e(55327),c=e(90843),f=e(66011),s=e(30867),h=e(57106),u=r.Function,a=/MSIE .\./.test(f)||c&&function(){var x=r.Bun.version.split(".");return x.length<3||x[0]==="0"&&(x[1]<3||x[1]==="3"&&x[2]==="0")}();d.exports=function(x,p){var y=p?2:1;return a?function(_,b){var S=h(arguments.length,1)>y,R=l(_)?_:u(_),L=S?s(arguments,y):[],T=S?function(){i(R,this,L)}:R;return p?x(T,b):x(T)}:x}},61838:function(d,g,e){"use strict";var r=e(19691),i=e(57002),l=r.Set,c=r.add;d.exports=function(f){var s=new l;return i(f,function(h){c(s,h)}),s}},10038:function(d,g,e){"use strict";var r=e(17442),i=e(19691),l=e(61838),c=e(108),f=e(88203),s=e(57002),h=e(43545),u=i.has,a=i.remove;d.exports=function(p){var y=r(this),_=f(p),b=l(y);return c(y)<=_.size?s(y,function(S){_.includes(S)&&a(b,S)}):h(_.getIterator(),function(S){u(y,S)&&a(b,S)}),b}},19691:function(d,g,e){"use strict";var r=e(94237),i=Set.prototype;d.exports={Set,add:r(i.add),has:r(i.has),remove:r(i.delete),proto:i}},16049:function(d,g,e){"use strict";var r=e(17442),i=e(19691),l=e(108),c=e(88203),f=e(57002),s=e(43545),h=i.Set,u=i.add,a=i.has;d.exports=function(p){var y=r(this),_=c(p),b=new h;return l(y)>_.size?s(_.getIterator(),function(S){a(y,S)&&u(b,S)}):f(y,function(S){_.includes(S)&&u(b,S)}),b}},17616:function(d,g,e){"use strict";var r=e(17442),i=e(19691).has,l=e(108),c=e(88203),f=e(57002),s=e(43545),h=e(67996);d.exports=function(a){var x=r(this),p=c(a);if(l(x)<=p.size)return f(x,function(_){if(p.includes(_))return!1},!0)!==!1;var y=p.getIterator();return s(y,function(_){if(i(x,_))return h(y,"normal",!1)})!==!1}},84833:function(d,g,e){"use strict";var r=e(17442),i=e(108),l=e(57002),c=e(88203);d.exports=function(s){var h=r(this),u=c(s);return i(h)>u.size?!1:l(h,function(a){if(!u.includes(a))return!1},!0)!==!1}},51135:function(d,g,e){"use strict";var r=e(17442),i=e(19691).has,l=e(108),c=e(88203),f=e(43545),s=e(67996);d.exports=function(u){var a=r(this),x=c(u);if(l(a)<x.size)return!1;var p=x.getIterator();return f(p,function(y){if(!i(a,y))return s(p,"normal",!1)})!==!1}},57002:function(d,g,e){"use strict";var r=e(94237),i=e(43545),l=e(19691),c=l.Set,f=l.proto,s=r(f.forEach),h=r(f.keys),u=h(new c).next;d.exports=function(a,x,p){return p?i({iterator:h(a),next:u},x):s(a,x)}},22627:function(d,g,e){"use strict";var r=e(65911),i=function(l){return{size:l,has:function(){return!1},keys:function(){return{next:function(){return{done:!0}}}}}};d.exports=function(l){var c=r("Set");try{new c()[l](i(0));try{return new c()[l](i(-1)),!1}catch(f){return!0}}catch(f){return!1}}},108:function(d,g,e){"use strict";var r=e(37758),i=e(19691);d.exports=r(i.proto,"size","get")||function(l){return l.size}},51996:function(d,g,e){"use strict";var r=e(65911),i=e(64110),l=e(59893),c=e(35454),f=l("species");d.exports=function(s){var h=r(s);c&&h&&!h[f]&&i(h,f,{configurable:!0,get:function(){return this}})}},36312:function(d,g,e){"use strict";var r=e(17442),i=e(19691),l=e(61838),c=e(88203),f=e(43545),s=i.add,h=i.has,u=i.remove;d.exports=function(x){var p=r(this),y=c(x).getIterator(),_=l(p);return f(y,function(b){h(p,b)?u(_,b):s(_,b)}),_}},94573:function(d,g,e){"use strict";var r=e(37691).f,i=e(32621),l=e(59893),c=l("toStringTag");d.exports=function(f,s,h){f&&!h&&(f=f.prototype),f&&!i(f,c)&&r(f,c,{configurable:!0,value:s})}},24667:function(d,g,e){"use strict";var r=e(17442),i=e(19691).add,l=e(61838),c=e(88203),f=e(43545);d.exports=function(h){var u=r(this),a=c(h).getIterator(),x=l(u);return f(a,function(p){i(x,p)}),x}},11898:function(d,g,e){"use strict";var r=e(77898),i=e(6145),l=r("keys");d.exports=function(c){return l[c]||(l[c]=i(c))}},77398:function(d,g,e){"use strict";var r=e(92916),i=e(29539),l="__core-js_shared__",c=r[l]||i(l,{});d.exports=c},77898:function(d,g,e){"use strict";var r=e(16697),i=e(77398);(d.exports=function(l,c){return i[l]||(i[l]=c!==void 0?c:{})})("versions",[]).push({version:"3.34.0",mode:r?"pure":"global",copyright:"\xA9 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.34.0/LICENSE",source:"https://github.com/zloirock/core-js"})},60473:function(d,g,e){"use strict";var r=e(80449),i=e(6086),l=e(4112),c=e(59893),f=c("species");d.exports=function(s,h){var u=r(s).constructor,a;return u===void 0||l(a=r(u)[f])?h:i(a)}},67410:function(d,g,e){"use strict";var r=e(94237),i=e(80524),l=e(69905),c=e(82762),f=TypeError,s=r([].push),h=r([].join);d.exports=function(a){var x=i(a),p=c(x);if(!p)return"";for(var y=arguments.length,_=[],b=0;;){var S=x[b++];if(S===void 0)throw new f("Incorrect template");if(s(_,l(S)),b===p)return h(_,"");b<y&&s(_,l(arguments[b]))}}},17691:function(d,g,e){"use strict";var r=e(3338);d.exports=function(i){return r(function(){var l=""[i]('"');return l!==l.toLowerCase()||l.split('"').length>3})}},13764:function(d,g,e){"use strict";var r=e(94237),i=e(56902),l=e(69905),c=e(95955),f=r("".charAt),s=r("".charCodeAt),h=r("".slice),u=function(a){return function(x,p){var y=l(c(x)),_=i(p),b=y.length,S,R;return _<0||_>=b?a?"":void 0:(S=s(y,_),S<55296||S>56319||_+1===b||(R=s(y,_+1))<56320||R>57343?a?f(y,_):S:a?h(y,_,_+2):(S-55296<<10)+(R-56320)+65536)}};d.exports={codeAt:u(!1),charAt:u(!0)}},98352:function(d,g,e){"use strict";var r=e(66011);d.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(r)},85571:function(d,g,e){"use strict";var r=e(94237),i=e(61578),l=e(69905),c=e(71049),f=e(95955),s=r(c),h=r("".slice),u=Math.ceil,a=function(x){return function(p,y,_){var b=l(f(p)),S=i(y),R=b.length,L=_===void 0?" ":l(_),T,D;return S<=R||L===""?b:(T=S-R,D=s(L,u(T/L.length)),D.length>T&&(D=h(D,0,T)),x?b+D:D+b)}};d.exports={start:a(!1),end:a(!0)}},79204:function(d,g,e){"use strict";var r=e(65911),i=e(94237),l=String.fromCharCode,c=r("String","fromCodePoint"),f=i("".charAt),s=i("".charCodeAt),h=i("".indexOf),u=i("".slice),a=48,x=57,p=97,y=102,_=65,b=70,S=function(T,D){var M=s(T,D);return M>=a&&M<=x},R=function(T,D,M){if(M>=T.length)return-1;for(var N=0;D<M;D++){var j=L(s(T,D));if(j===-1)return-1;N=N*16+j}return N},L=function(T){return T>=a&&T<=x?T-a:T>=p&&T<=y?T-p+10:T>=_&&T<=b?T-_+10:-1};d.exports=function(T){for(var D="",M=0,N=0,j;(N=h(T,"\\",N))>-1;){if(D+=u(T,M,N),++N===T.length)return;var Q=f(T,N++);switch(Q){case"b":D+="\b";break;case"t":D+=" ";break;case"n":D+=`
`;break;case"v":D+="\v";break;case"f":D+="\f";break;case"r":D+="\r";break;case"\r":N<T.length&&f(T,N)===`
`&&++N;case`
`:case"\u2028":case"\u2029":break;case"0":if(S(T,N))return;D+="\0";break;case"x":if(j=R(T,N,N+2),j===-1)return;N+=2,D+=l(j);break;case"u":if(N<T.length&&f(T,N)==="{"){var X=h(T,"}",++N);if(X===-1)return;j=R(T,N,X),N=X+1}else j=R(T,N,N+4),N+=4;if(j===-1||j>1114111)return;D+=c(j);break;default:if(S(Q,0))return;D+=Q}M=N}return D+u(T,M)}},93245:function(d,g,e){"use strict";var r=e(94237),i=2147483647,l=36,c=1,f=26,s=38,h=700,u=72,a=128,x="-",p=/[^\0-\u007E]/,y=/[.\u3002\uFF0E\uFF61]/g,_="Overflow: input needs wider integers to process",b=l-c,S=RangeError,R=r(y.exec),L=Math.floor,T=String.fromCharCode,D=r("".charCodeAt),M=r([].join),N=r([].push),j=r("".replace),Q=r("".split),X=r("".toLowerCase),Y=function(K){for(var V=[],G=0,te=K.length;G<te;){var q=D(K,G++);if(q>=55296&&q<=56319&&G<te){var J=D(K,G++);(J&64512)===56320?N(V,((q&1023)<<10)+(J&1023)+65536):(N(V,q),G--)}else N(V,q)}return V},oe=function(K){return K+22+75*(K<26)},ie=function(K,V,G){var te=0;for(K=G?L(K/h):K>>1,K+=L(K/V);K>b*f>>1;)K=L(K/b),te+=l;return L(te+(b+1)*K/(K+s))},ue=function(K){var V=[];K=Y(K);var G=K.length,te=a,q=0,J=u,le,z;for(le=0;le<K.length;le++)z=K[le],z<128&&N(V,T(z));var F=V.length,se=F;for(F&&N(V,x);se<G;){var _e=i;for(le=0;le<K.length;le++)z=K[le],z>=te&&z<_e&&(_e=z);var Pe=se+1;if(_e-te>L((i-q)/Pe))throw new S(_);for(q+=(_e-te)*Pe,te=_e,le=0;le<K.length;le++){if(z=K[le],z<te&&++q>i)throw new S(_);if(z===te){for(var Re=q,Ze=l;;){var $e=Ze<=J?c:Ze>=J+f?f:Ze-J;if(Re<$e)break;var Ht=Re-$e,bt=l-$e;N(V,T(oe($e+Ht%bt))),Re=L(Ht/bt),Ze+=l}N(V,T(oe(Re))),J=ie(q,Pe,se===F),q=0,se++}}q++,te++}return M(V,"")};d.exports=function(K){var V=[],G=Q(j(X(K),y,"."),"."),te,q;for(te=0;te<G.length;te++)q=G[te],N(V,R(p,q)?"xn--"+ue(q):q);return M(V,".")}},71049:function(d,g,e){"use strict";var r=e(56902),i=e(69905),l=e(95955),c=RangeError;d.exports=function(s){var h=i(l(this)),u="",a=r(s);if(a<0||a===1/0)throw new c("Wrong number of repetitions");for(;a>0;(a>>>=1)&&(h+=h))a&1&&(u+=h);return u}},9591:function(d,g,e){"use strict";var r=e(52971).end,i=e(18105);d.exports=i("trimEnd")?function(){return r(this)}:"".trimEnd},18105:function(d,g,e){"use strict";var r=e(8090).PROPER,i=e(3338),l=e(19268),c="\u200B\x85\u180E";d.exports=function(f){return i(function(){return!!l[f]()||c[f]()!==c||r&&l[f].name!==f})}},27374:function(d,g,e){"use strict";var r=e(52971).start,i=e(18105);d.exports=i("trimStart")?function(){return r(this)}:"".trimStart},52971:function(d,g,e){"use strict";var r=e(94237),i=e(95955),l=e(69905),c=e(19268),f=r("".replace),s=RegExp("^["+c+"]+"),h=RegExp("(^|[^"+c+"])["+c+"]+$"),u=function(a){return function(x){var p=l(i(x));return a&1&&(p=f(p,s,"")),a&2&&(p=f(p,h,"$1")),p}};d.exports={start:u(1),end:u(2),trim:u(3)}},80426:function(d,g,e){"use strict";var r=e(92916),i=e(3338),l=e(46573),c=e(66994),f=e(91821),s=e(90946),h=r.structuredClone;d.exports=!!h&&!i(function(){if(f&&l>92||s&&l>94||c&&l>97)return!1;var u=new ArrayBuffer(8),a=h(u,{transfer:[u]});return u.byteLength!==0||a.byteLength!==8})},42820:function(d,g,e){"use strict";var r=e(46573),i=e(3338),l=e(92916),c=l.String;d.exports=!!Object.getOwnPropertySymbols&&!i(function(){var f=Symbol("symbol detection");return!c(f)||!(Object(f)instanceof Symbol)||!Symbol.sham&&r&&r<41})},14311:function(d,g,e){"use strict";var r=e(89945),i=e(65911),l=e(59893),c=e(2291);d.exports=function(){var f=i("Symbol"),s=f&&f.prototype,h=s&&s.valueOf,u=l("toPrimitive");s&&!s[u]&&c(s,u,function(a){return r(h,this)},{arity:1})}},69077:function(d,g,e){"use strict";var r=e(65911),i=e(94237),l=r("Symbol"),c=l.keyFor,f=i(l.prototype.valueOf);d.exports=l.isRegisteredSymbol||function(h){try{return c(f(h))!==void 0}catch(u){return!1}}},40443:function(d,g,e){"use strict";for(var r=e(77898),i=e(65911),l=e(94237),c=e(18446),f=e(59893),s=i("Symbol"),h=s.isWellKnownSymbol,u=i("Object","getOwnPropertyNames"),a=l(s.prototype.valueOf),x=r("wks"),p=0,y=u(s),_=y.length;p<_;p++)try{var b=y[p];c(s[b])&&f(b)}catch(S){}d.exports=function(R){if(h&&h(R))return!0;try{for(var L=a(R),T=0,D=u(x),M=D.length;T<M;T++)if(x[D[T]]==L)return!0}catch(N){}return!1}},60798:function(d,g,e){"use strict";var r=e(42820);d.exports=r&&!!Symbol.for&&!!Symbol.keyFor},28887:function(d,g,e){"use strict";var r=e(92916),i=e(13743),l=e(80666),c=e(55327),f=e(32621),s=e(3338),h=e(75171),u=e(30867),a=e(86060),x=e(57106),p=e(70695),y=e(90946),_=r.setImmediate,b=r.clearImmediate,S=r.process,R=r.Dispatch,L=r.Function,T=r.MessageChannel,D=r.String,M=0,N={},j="onreadystatechange",Q,X,Y,oe;s(function(){Q=r.location});var ie=function(G){if(f(N,G)){var te=N[G];delete N[G],te()}},ue=function(G){return function(){ie(G)}},K=function(G){ie(G.data)},V=function(G){r.postMessage(D(G),Q.protocol+"//"+Q.host)};(!_||!b)&&(_=function(te){x(arguments.length,1);var q=c(te)?te:L(te),J=u(arguments,1);return N[++M]=function(){i(q,void 0,J)},X(M),M},b=function(te){delete N[te]},y?X=function(G){S.nextTick(ue(G))}:R&&R.now?X=function(G){R.now(ue(G))}:T&&!p?(Y=new T,oe=Y.port2,Y.port1.onmessage=K,X=l(oe.postMessage,oe)):r.addEventListener&&c(r.postMessage)&&!r.importScripts&&Q&&Q.protocol!=="file:"&&!s(V)?(X=V,r.addEventListener("message",K,!1)):j in a("script")?X=function(G){h.appendChild(a("script"))[j]=function(){h.removeChild(this),ie(G)}}:X=function(G){setTimeout(ue(G),0)}),d.exports={set:_,clear:b}},49228:function(d,g,e){"use strict";var r=e(94237);d.exports=r(1 .valueOf)},51981:function(d,g,e){"use strict";var r=e(56902),i=Math.max,l=Math.min;d.exports=function(c,f){var s=r(c);return s<0?i(s+f,0):l(s,f)}},93303:function(d,g,e){"use strict";var r=e(97954),i=TypeError;d.exports=function(l){var c=r(l,"number");if(typeof c=="number")throw new i("Can't convert number to bigint");return BigInt(c)}},24225:function(d,g,e){"use strict";var r=e(56902),i=e(61578),l=RangeError;d.exports=function(c){if(c===void 0)return 0;var f=r(c),s=i(f);if(f!==s)throw new l("Wrong length or index");return s}},80524:function(d,g,e){"use strict";var r=e(1835),i=e(95955);d.exports=function(l){return r(i(l))}},56902:function(d,g,e){"use strict";var r=e(3312);d.exports=function(i){var l=+i;return l!==l||l===0?0:r(l)}},61578:function(d,g,e){"use strict";var r=e(56902),i=Math.min;d.exports=function(l){return l>0?i(r(l),9007199254740991):0}},94029:function(d,g,e){"use strict";var r=e(95955),i=Object;d.exports=function(l){return i(r(l))}},64135:function(d,g,e){"use strict";var r=e(51358),i=RangeError;d.exports=function(l,c){var f=r(l);if(f%c)throw new i("Wrong offset");return f}},51358:function(d,g,e){"use strict";var r=e(56902),i=RangeError;d.exports=function(l){var c=r(l);if(c<0)throw new i("The argument can't be less than 0");return c}},97954:function(d,g,e){"use strict";var r=e(89945),i=e(31946),l=e(18446),c=e(53776),f=e(44759),s=e(59893),h=TypeError,u=s("toPrimitive");d.exports=function(a,x){if(!i(a)||l(a))return a;var p=c(a,u),y;if(p){if(x===void 0&&(x="default"),y=r(p,a,x),!i(y)||l(y))return y;throw new h("Can't convert object to primitive value")}return x===void 0&&(x="number"),f(a,x)}},17818:function(d,g,e){"use strict";var r=e(97954),i=e(18446);d.exports=function(l){var c=r(l,"string");return i(c)?c:c+""}},77999:function(d,g,e){"use strict";var r=e(65911),i=e(55327),l=e(30360),c=e(31946),f=r("Set"),s=function(h){return c(h)&&typeof h.size=="number"&&i(h.has)&&i(h.keys)};d.exports=function(h){return s(h)?h:l(h)?new f(h):h}},68527:function(d,g,e){"use strict";var r=e(59893),i=r("toStringTag"),l={};l[i]="z",d.exports=String(l)==="[object z]"},69905:function(d,g,e){"use strict";var r=e(97607),i=String;d.exports=function(l){if(r(l)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return i(l)}},86350:function(d){"use strict";var g=Math.round;d.exports=function(e){var r=g(e);return r<0?0:r>255?255:r&255}},11270:function(d,g,e){"use strict";var r=e(90946);d.exports=function(i){try{if(r)return Function('return require("'+i+'")')()}catch(l){}}},40593:function(d){"use strict";var g=String;d.exports=function(e){try{return g(e)}catch(r){return"Object"}}},69733:function(d,g,e){"use strict";var r=e(94488),i=e(92916),l=e(89945),c=e(35454),f=e(59627),s=e(58261),h=e(91669),u=e(56472),a=e(35012),x=e(68151),p=e(62896),y=e(61578),_=e(24225),b=e(64135),S=e(86350),R=e(17818),L=e(32621),T=e(97607),D=e(31946),M=e(18446),N=e(20132),j=e(16332),Q=e(58218),X=e(80689).f,Y=e(50706),oe=e(90560).forEach,ie=e(51996),ue=e(64110),K=e(37691),V=e(71256),G=e(94844),te=e(25576),q=G.get,J=G.set,le=G.enforce,z=K.f,F=V.f,se=i.RangeError,_e=h.ArrayBuffer,Pe=_e.prototype,Re=h.DataView,Ze=s.NATIVE_ARRAY_BUFFER_VIEWS,$e=s.TYPED_ARRAY_TAG,Ht=s.TypedArray,bt=s.TypedArrayPrototype,Ot=s.aTypedArrayConstructor,qt=s.isTypedArray,er="BYTES_PER_ELEMENT",Jt="Wrong length",Xe=function(Je,je){Ot(Je);for(var ge=0,Se=je.length,Me=new Je(Se);Se>ge;)Me[ge]=je[ge++];return Me},Pt=function(Je,je){ue(Je,je,{configurable:!0,get:function(){return q(this)[je]}})},Ut=function(Je){var je;return j(Pe,Je)||(je=T(Je))==="ArrayBuffer"||je==="SharedArrayBuffer"},st=function(Je,je){return qt(Je)&&!M(je)&&je in Je&&p(+je)&&je>=0},yt=function(je,ge){return ge=R(ge),st(je,ge)?a(2,je[ge]):F(je,ge)},ht=function(je,ge,Se){return ge=R(ge),st(je,ge)&&D(Se)&&L(Se,"value")&&!L(Se,"get")&&!L(Se,"set")&&!Se.configurable&&(!L(Se,"writable")||Se.writable)&&(!L(Se,"enumerable")||Se.enumerable)?(je[ge]=Se.value,je):z(je,ge,Se)};c?(Ze||(V.f=yt,K.f=ht,Pt(bt,"buffer"),Pt(bt,"byteOffset"),Pt(bt,"byteLength"),Pt(bt,"length")),r({target:"Object",stat:!0,forced:!Ze},{getOwnPropertyDescriptor:yt,defineProperty:ht}),d.exports=function(Je,je,ge){var Se=Je.match(/\d+/)[0]/8,Me=Je+(ge?"Clamped":"")+"Array",Ne="get"+Je,He="set"+Je,nt=i[Me],ct=nt,Vt=ct&&ct.prototype,Wt={},Ie=function(Zt,Nt){var Ct=q(Zt);return Ct.view[Ne](Nt*Se+Ct.byteOffset,!0)},qe=function(Zt,Nt,Ct){var Yt=q(Zt);Yt.view[He](Nt*Se+Yt.byteOffset,ge?S(Ct):Ct,!0)},Gt=function(Zt,Nt){z(Zt,Nt,{get:function(){return Ie(this,Nt)},set:function(Ct){return qe(this,Nt,Ct)},enumerable:!0})};Ze?f&&(ct=je(function(Zt,Nt,Ct,Yt){return u(Zt,Vt),te(function(){return D(Nt)?Ut(Nt)?Yt!==void 0?new nt(Nt,b(Ct,Se),Yt):Ct!==void 0?new nt(Nt,b(Ct,Se)):new nt(Nt):qt(Nt)?Xe(ct,Nt):l(Y,ct,Nt):new nt(_(Nt))}(),Zt,ct)}),Q&&Q(ct,Ht),oe(X(nt),function(Zt){Zt in ct||x(ct,Zt,nt[Zt])}),ct.prototype=Vt):(ct=je(function(Zt,Nt,Ct,Yt){u(Zt,Vt);var We=0,fe=0,pe,Dt,Ce;if(!D(Nt))Ce=_(Nt),Dt=Ce*Se,pe=new _e(Dt);else if(Ut(Nt)){pe=Nt,fe=b(Ct,Se);var dt=Nt.byteLength;if(Yt===void 0){if(dt%Se)throw new se(Jt);if(Dt=dt-fe,Dt<0)throw new se(Jt)}else if(Dt=y(Yt)*Se,Dt+fe>dt)throw new se(Jt);Ce=Dt/Se}else return qt(Nt)?Xe(ct,Nt):l(Y,ct,Nt);for(J(Zt,{buffer:pe,byteOffset:fe,byteLength:Dt,length:Ce,view:new Re(pe)});We<Ce;)Gt(Zt,We++)}),Q&&Q(ct,Ht),Vt=ct.prototype=N(bt)),Vt.constructor!==ct&&x(Vt,"constructor",ct),le(Vt).TypedArrayConstructor=ct,$e&&x(Vt,$e,Me);var kt=ct!==nt;Wt[Me]=ct,r({global:!0,constructor:!0,forced:kt,sham:!Ze},Wt),er in ct||x(ct,er,Se),er in Vt||x(Vt,er,Se),ie(Me)}):d.exports=function(){}},59627:function(d,g,e){"use strict";var r=e(92916),i=e(3338),l=e(35221),c=e(58261).NATIVE_ARRAY_BUFFER_VIEWS,f=r.ArrayBuffer,s=r.Int8Array;d.exports=!c||!i(function(){s(1)})||!i(function(){new s(-1)})||!l(function(h){new s,new s(null),new s(1.5),new s(h)},!0)||i(function(){return new s(new f(2),1,void 0).length!==1})},27607:function(d,g,e){"use strict";var r=e(69478),i=e(31384);d.exports=function(l,c){return r(i(l),c)}},50706:function(d,g,e){"use strict";var r=e(80666),i=e(89945),l=e(6086),c=e(94029),f=e(82762),s=e(85428),h=e(26006),u=e(345),a=e(75406),x=e(58261).aTypedArrayConstructor,p=e(93303);d.exports=function(_){var b=l(this),S=c(_),R=arguments.length,L=R>1?arguments[1]:void 0,T=L!==void 0,D=h(S),M,N,j,Q,X,Y,oe,ie;if(D&&!u(D))for(oe=s(S,D),ie=oe.next,S=[];!(Y=i(ie,oe)).done;)S.push(Y.value);for(T&&R>2&&(L=r(L,arguments[2])),N=f(S),j=new(x(b))(N),Q=a(j),M=0;N>M;M++)X=T?L(S[M],M):S[M],j[M]=Q?p(X):+X;return j}},31384:function(d,g,e){"use strict";var r=e(58261),i=e(60473),l=r.aTypedArrayConstructor,c=r.getTypedArrayConstructor;d.exports=function(f){return l(i(f,c(f)))}},6145:function(d,g,e){"use strict";var r=e(94237),i=0,l=Math.random(),c=r(1 .toString);d.exports=function(f){return"Symbol("+(f===void 0?"":f)+")_"+c(++i+l,36)}},3299:function(d,g,e){"use strict";var r=e(3338),i=e(59893),l=e(35454),c=e(16697),f=i("iterator");d.exports=!r(function(){var s=new URL("b?a=1&b=2&c=3","http://a"),h=s.searchParams,u=new URLSearchParams("a=1&a=2&b=3"),a="";return s.pathname="c%20d",h.forEach(function(x,p){h.delete("b"),a+=p+x}),u.delete("a",2),u.delete("b",void 0),c&&(!s.toJSON||!u.has("a",1)||u.has("a",2)||!u.has("a",void 0)||u.has("b"))||!h.size&&(c||!l)||!h.sort||s.href!=="http://a/c%20d?a=1&c=3"||h.get("c")!=="3"||String(new URLSearchParams("?a=1"))!=="a=1"||!h[f]||new URL("https://a@b").username!=="a"||new URLSearchParams(new URLSearchParams("a=b")).get("a")!=="b"||new URL("http://\u0442\u0435\u0441\u0442").host!=="xn--e1aybc"||new URL("http://a#\u0431").hash!=="#%D0%B1"||a!=="a1c3"||new URL("http://x",void 0).host!=="x"})},14417:function(d,g,e){"use strict";var r=e(42820);d.exports=r&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},93199:function(d,g,e){"use strict";var r=e(35454),i=e(3338);d.exports=r&&i(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})},57106:function(d){"use strict";var g=TypeError;d.exports=function(e,r){if(e<r)throw new g("Not enough arguments");return e}},40115:function(d,g,e){"use strict";var r=e(92916),i=e(55327),l=r.WeakMap;d.exports=i(l)&&/native code/.test(String(l))},42530:function(d,g,e){"use strict";var r=e(94237),i=WeakMap.prototype;d.exports={WeakMap,set:r(i.set),get:r(i.get),has:r(i.has),remove:r(i.delete)}},91385:function(d,g,e){"use strict";var r=e(94237),i=WeakSet.prototype;d.exports={WeakSet,add:r(i.add),has:r(i.has),remove:r(i.delete)}},94674:function(d,g,e){"use strict";var r=e(9699),i=e(32621),l=e(38282),c=e(37691).f;d.exports=function(f){var s=r.Symbol||(r.Symbol={});i(s,f)||c(s,f,{value:l.f(f)})}},38282:function(d,g,e){"use strict";var r=e(59893);g.f=r},59893:function(d,g,e){"use strict";var r=e(92916),i=e(77898),l=e(32621),c=e(6145),f=e(42820),s=e(14417),h=r.Symbol,u=i("wks"),a=s?h.for||h:h&&h.withoutSetter||c;d.exports=function(x){return l(u,x)||(u[x]=f&&l(h,x)?h[x]:a("Symbol."+x)),u[x]}},19268:function(d){"use strict";d.exports=`
\v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`},78540:function(d,g,e){"use strict";var r=e(65911),i=e(32621),l=e(68151),c=e(16332),f=e(58218),s=e(24538),h=e(44166),u=e(25576),a=e(7825),x=e(73068),p=e(61888),y=e(35454),_=e(16697);d.exports=function(b,S,R,L){var T="stackTraceLimit",D=L?2:1,M=b.split("."),N=M[M.length-1],j=r.apply(null,M);if(j){var Q=j.prototype;if(!_&&i(Q,"cause")&&delete Q.cause,!R)return j;var X=r("Error"),Y=S(function(oe,ie){var ue=a(L?ie:oe,void 0),K=L?new j(oe):new j;return ue!==void 0&&l(K,"message",ue),p(K,Y,K.stack,2),this&&c(Q,this)&&u(K,this,Y),arguments.length>D&&x(K,arguments[D]),K});if(Y.prototype=Q,N!=="Error"?f?f(Y,X):s(Y,X,{name:!0}):y&&T in j&&(h(Y,j,T),h(Y,j,"prepareStackTrace")),s(Y,j),!_)try{Q.name!==N&&l(Q,"name",N),Q.constructor=Y}catch(oe){}return Y}}},93074:function(d,g,e){"use strict";var r=e(94488),i=e(65911),l=e(13743),c=e(3338),f=e(78540),s="AggregateError",h=i(s),u=!c(function(){return h([1]).errors[0]!==1})&&c(function(){return h([1],s,{cause:7}).cause!==7});r({global:!0,constructor:!0,arity:2,forced:u},{AggregateError:f(s,function(a){return function(p,y){return l(a,this,arguments)}},u,!0)})},6555:function(d,g,e){"use strict";var r=e(94488),i=e(16332),l=e(53456),c=e(58218),f=e(24538),s=e(20132),h=e(68151),u=e(35012),a=e(73068),x=e(61888),p=e(62003),y=e(7825),_=e(59893),b=_("toStringTag"),S=Error,R=[].push,L=function(M,N){var j=i(T,this),Q;c?Q=c(new S,j?l(this):T):(Q=j?this:s(T),h(Q,b,"Error")),N!==void 0&&h(Q,"message",y(N)),x(Q,L,Q.stack,1),arguments.length>2&&a(Q,arguments[2]);var X=[];return p(M,R,{that:X}),h(Q,"errors",X),Q};c?c(L,S):f(L,S,{name:!0});var T=L.prototype=s(S.prototype,{constructor:u(1,L),message:u(1,""),name:u(1,"AggregateError")});r({global:!0,constructor:!0,arity:2},{AggregateError:L})},86357:function(d,g,e){"use strict";e(6555)},89170:function(d,g,e){"use strict";var r=e(94488),i=e(92916),l=e(91669),c=e(51996),f="ArrayBuffer",s=l[f],h=i[f];r({global:!0,constructor:!0,forced:h!==s},{ArrayBuffer:s}),c(f)},71012:function(d,g,e){"use strict";var r=e(94488),i=e(58261),l=i.NATIVE_ARRAY_BUFFER_VIEWS;r({target:"ArrayBuffer",stat:!0,forced:!l},{isView:i.isView})},84203:function(d,g,e){"use strict";var r=e(94488),i=e(34114),l=e(3338),c=e(91669),f=e(80449),s=e(51981),h=e(61578),u=e(60473),a=c.ArrayBuffer,x=c.DataView,p=x.prototype,y=i(a.prototype.slice),_=i(p.getUint8),b=i(p.setUint8),S=l(function(){return!new a(2).slice(1,void 0).byteLength});r({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:S},{slice:function(L,T){if(y&&T===void 0)return y(f(this),L);for(var D=f(this).byteLength,M=s(L,D),N=s(T===void 0?D:T,D),j=new(u(this,a))(h(N-M)),Q=new x(this),X=new x(j),Y=0;M<N;)b(X,Y++,_(Q,M++));return j}})},96331:function(d,g,e){"use strict";var r=e(94488),i=e(94029),l=e(82762),c=e(56902),f=e(81181);r({target:"Array",proto:!0},{at:function(h){var u=i(this),a=l(u),x=c(h),p=x>=0?x:a+x;return p<0||p>=a?void 0:u[p]}}),f("at")},2924:function(d,g,e){"use strict";var r=e(94488),i=e(3338),l=e(18589),c=e(31946),f=e(94029),s=e(82762),h=e(66434),u=e(69392),a=e(81427),x=e(17480),p=e(59893),y=e(46573),_=p("isConcatSpreadable"),b=y>=51||!i(function(){var L=[];return L[_]=!1,L.concat()[0]!==L}),S=function(L){if(!c(L))return!1;var T=L[_];return T!==void 0?!!T:l(L)},R=!b||!x("concat");r({target:"Array",proto:!0,arity:1,forced:R},{concat:function(T){var D=f(this),M=a(D,0),N=0,j,Q,X,Y,oe;for(j=-1,X=arguments.length;j<X;j++)if(oe=j===-1?D:arguments[j],S(oe))for(Y=s(oe),h(N+Y),Q=0;Q<Y;Q++,N++)Q in oe&&u(M,N,oe[Q]);else h(N+1),u(M,N++,oe);return M.length=N,M}})},26425:function(d,g,e){"use strict";var r=e(94488),i=e(92670),l=e(81181);r({target:"Array",proto:!0},{copyWithin:i}),l("copyWithin")},32125:function(d,g,e){"use strict";var r=e(94488),i=e(90560).every,l=e(45601),c=l("every");r({target:"Array",proto:!0,forced:!c},{every:function(s){return i(this,s,arguments.length>1?arguments[1]:void 0)}})},16137:function(d,g,e){"use strict";var r=e(94488),i=e(75202),l=e(81181);r({target:"Array",proto:!0},{fill:i}),l("fill")},48435:function(d,g,e){"use strict";var r=e(94488),i=e(90560).filter,l=e(17480),c=l("filter");r({target:"Array",proto:!0,forced:!c},{filter:function(s){return i(this,s,arguments.length>1?arguments[1]:void 0)}})},70365:function(d,g,e){"use strict";var r=e(94488),i=e(90560).findIndex,l=e(81181),c="findIndex",f=!0;c in[]&&Array(1)[c](function(){f=!1}),r({target:"Array",proto:!0,forced:f},{findIndex:function(h){return i(this,h,arguments.length>1?arguments[1]:void 0)}}),l(c)},17482:function(d,g,e){"use strict";var r=e(94488),i=e(53279).findLastIndex,l=e(81181);r({target:"Array",proto:!0},{findLastIndex:function(f){return i(this,f,arguments.length>1?arguments[1]:void 0)}}),l("findLastIndex")},33717:function(d,g,e){"use strict";var r=e(94488),i=e(53279).findLast,l=e(81181);r({target:"Array",proto:!0},{findLast:function(f){return i(this,f,arguments.length>1?arguments[1]:void 0)}}),l("findLast")},11553:function(d,g,e){"use strict";var r=e(94488),i=e(90560).find,l=e(81181),c="find",f=!0;c in[]&&Array(1)[c](function(){f=!1}),r({target:"Array",proto:!0,forced:f},{find:function(h){return i(this,h,arguments.length>1?arguments[1]:void 0)}}),l(c)},65033:function(d,g,e){"use strict";var r=e(94488),i=e(3372),l=e(63335),c=e(94029),f=e(82762),s=e(81427);r({target:"Array",proto:!0},{flatMap:function(u){var a=c(this),x=f(a),p;return l(u),p=s(a,0),p.length=i(p,a,a,x,0,1,u,arguments.length>1?arguments[1]:void 0),p}})},23708:function(d,g,e){"use strict";var r=e(94488),i=e(3372),l=e(94029),c=e(82762),f=e(56902),s=e(81427);r({target:"Array",proto:!0},{flat:function(){var u=arguments.length?arguments[0]:void 0,a=l(this),x=c(a),p=s(a,0);return p.length=i(p,a,a,x,0,u===void 0?1:f(u)),p}})},52732:function(d,g,e){"use strict";var r=e(94488),i=e(59594);r({target:"Array",proto:!0,forced:[].forEach!==i},{forEach:i})},99382:function(d,g,e){"use strict";var r=e(94488),i=e(60255),l=e(35221),c=!l(function(f){Array.from(f)});r({target:"Array",stat:!0,forced:c},{from:i})},88437:function(d,g,e){"use strict";var r=e(94488),i=e(22999).includes,l=e(3338),c=e(81181),f=l(function(){return!Array(1).includes()});r({target:"Array",proto:!0,forced:f},{includes:function(h){return i(this,h,arguments.length>1?arguments[1]:void 0)}}),c("includes")},68440:function(d,g,e){"use strict";var r=e(94488),i=e(34114),l=e(22999).indexOf,c=e(45601),f=i([].indexOf),s=!!f&&1/f([1],1,-0)<0,h=s||!c("indexOf");r({target:"Array",proto:!0,forced:h},{indexOf:function(a){var x=arguments.length>1?arguments[1]:void 0;return s?f(this,a,x)||0:l(this,a,x)}})},13412:function(d,g,e){"use strict";var r=e(94488),i=e(18589);r({target:"Array",stat:!0},{isArray:i})},11005:function(d,g,e){"use strict";var r=e(80524),i=e(81181),l=e(48074),c=e(94844),f=e(37691).f,s=e(24019),h=e(25587),u=e(16697),a=e(35454),x="Array Iterator",p=c.set,y=c.getterFor(x);d.exports=s(Array,"Array",function(b,S){p(this,{type:x,target:r(b),index:0,kind:S})},function(){var b=y(this),S=b.target,R=b.index++;if(!S||R>=S.length)return b.target=void 0,h(void 0,!0);switch(b.kind){case"keys":return h(R,!1);case"values":return h(S[R],!1)}return h([R,S[R]],!1)},"values");var _=l.Arguments=l.Array;if(i("keys"),i("values"),i("entries"),!u&&a&&_.name!=="values")try{f(_,"name",{value:"values"})}catch(b){}},70348:function(d,g,e){"use strict";var r=e(94488),i=e(94237),l=e(1835),c=e(80524),f=e(45601),s=i([].join),h=l!==Object,u=h||!f("join",",");r({target:"Array",proto:!0,forced:u},{join:function(x){return s(c(this),x===void 0?",":x)}})},19801:function(d,g,e){"use strict";var r=e(94488),i=e(55009);r({target:"Array",proto:!0,forced:i!==[].lastIndexOf},{lastIndexOf:i})},91550:function(d,g,e){"use strict";var r=e(94488),i=e(90560).map,l=e(17480),c=l("map");r({target:"Array",proto:!0,forced:!c},{map:function(s){return i(this,s,arguments.length>1?arguments[1]:void 0)}})},85223:function(d,g,e){"use strict";var r=e(94488),i=e(3338),l=e(39812),c=e(69392),f=Array,s=i(function(){function h(){}return!(f.of.call(h)instanceof h)});r({target:"Array",stat:!0,forced:s},{of:function(){for(var u=0,a=arguments.length,x=new(l(this)?this:f)(a);a>u;)c(x,u,arguments[u++]);return x.length=a,x}})},7154:function(d,g,e){"use strict";var r=e(94488),i=e(94029),l=e(82762),c=e(39428),f=e(66434),s=e(3338),h=s(function(){return[].push.call({length:4294967296},1)!==4294967297}),u=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(x){return x instanceof TypeError}},a=h||!u();r({target:"Array",proto:!0,arity:1,forced:a},{push:function(p){var y=i(this),_=l(y),b=arguments.length;f(_+b);for(var S=0;S<b;S++)y[_]=arguments[S],_++;return c(y,_),_}})},96009:function(d,g,e){"use strict";var r=e(94488),i=e(16370).right,l=e(45601),c=e(46573),f=e(90946),s=!f&&c>79&&c<83,h=s||!l("reduceRight");r({target:"Array",proto:!0,forced:h},{reduceRight:function(a){return i(this,a,arguments.length,arguments.length>1?arguments[1]:void 0)}})},67788:function(d,g,e){"use strict";var r=e(94488),i=e(16370).left,l=e(45601),c=e(46573),f=e(90946),s=!f&&c>79&&c<83,h=s||!l("reduce");r({target:"Array",proto:!0,forced:h},{reduce:function(a){var x=arguments.length;return i(this,a,x,x>1?arguments[1]:void 0)}})},9402:function(d,g,e){"use strict";var r=e(94488),i=e(94237),l=e(18589),c=i([].reverse),f=[1,2];r({target:"Array",proto:!0,forced:String(f)===String(f.reverse())},{reverse:function(){return l(this)&&(this.length=this.length),c(this)}})},62489:function(d,g,e){"use strict";var r=e(94488),i=e(18589),l=e(39812),c=e(31946),f=e(51981),s=e(82762),h=e(80524),u=e(69392),a=e(59893),x=e(17480),p=e(30867),y=x("slice"),_=a("species"),b=Array,S=Math.max;r({target:"Array",proto:!0,forced:!y},{slice:function(L,T){var D=h(this),M=s(D),N=f(L,M),j=f(T===void 0?M:T,M),Q,X,Y;if(i(D)&&(Q=D.constructor,l(Q)&&(Q===b||i(Q.prototype))?Q=void 0:c(Q)&&(Q=Q[_],Q===null&&(Q=void 0)),Q===b||Q===void 0))return p(D,N,j);for(X=new(Q===void 0?b:Q)(S(j-N,0)),Y=0;N<j;N++,Y++)N in D&&u(X,Y,D[N]);return X.length=Y,X}})},80881:function(d,g,e){"use strict";var r=e(94488),i=e(90560).some,l=e(45601),c=l("some");r({target:"Array",proto:!0,forced:!c},{some:function(s){return i(this,s,arguments.length>1?arguments[1]:void 0)}})},62837:function(d,g,e){"use strict";var r=e(94488),i=e(94237),l=e(63335),c=e(94029),f=e(82762),s=e(84233),h=e(69905),u=e(3338),a=e(63668),x=e(45601),p=e(78177),y=e(17687),_=e(46573),b=e(19684),S=[],R=i(S.sort),L=i(S.push),T=u(function(){S.sort(void 0)}),D=u(function(){S.sort(null)}),M=x("sort"),N=!u(function(){if(_)return _<70;if(!(p&&p>3)){if(y)return!0;if(b)return b<603;var X="",Y,oe,ie,ue;for(Y=65;Y<76;Y++){switch(oe=String.fromCharCode(Y),Y){case 66:case 69:case 70:case 72:ie=3;break;case 68:case 71:ie=4;break;default:ie=2}for(ue=0;ue<47;ue++)S.push({k:oe+ue,v:ie})}for(S.sort(function(K,V){return V.v-K.v}),ue=0;ue<S.length;ue++)oe=S[ue].k.charAt(0),X.charAt(X.length-1)!==oe&&(X+=oe);return X!=="DGBEFHACIJK"}}),j=T||!D||!M||!N,Q=function(X){return function(Y,oe){return oe===void 0?-1:Y===void 0?1:X!==void 0?+X(Y,oe)||0:h(Y)>h(oe)?1:-1}};r({target:"Array",proto:!0,forced:j},{sort:function(Y){Y!==void 0&&l(Y);var oe=c(this);if(N)return Y===void 0?R(oe):R(oe,Y);var ie=[],ue=f(oe),K,V;for(V=0;V<ue;V++)V in oe&&L(ie,oe[V]);for(a(ie,Q(Y)),K=f(ie),V=0;V<K;)oe[V]=ie[V++];for(;V<ue;)s(oe,V++);return oe}})},4705:function(d,g,e){"use strict";var r=e(51996);r("Array")},13941:function(d,g,e){"use strict";var r=e(94488),i=e(94029),l=e(51981),c=e(56902),f=e(82762),s=e(39428),h=e(66434),u=e(81427),a=e(69392),x=e(84233),p=e(17480),y=p("splice"),_=Math.max,b=Math.min;r({target:"Array",proto:!0,forced:!y},{splice:function(R,L){var T=i(this),D=f(T),M=l(R,D),N=arguments.length,j,Q,X,Y,oe,ie;for(N===0?j=Q=0:N===1?(j=0,Q=D-M):(j=N-2,Q=b(_(c(L),0),D-M)),h(D+j-Q),X=u(T,Q),Y=0;Y<Q;Y++)oe=M+Y,oe in T&&a(X,Y,T[oe]);if(X.length=Q,j<Q){for(Y=M;Y<D-Q;Y++)oe=Y+Q,ie=Y+j,oe in T?T[ie]=T[oe]:x(T,ie);for(Y=D;Y>D-Q+j;Y--)x(T,Y-1)}else if(j>Q)for(Y=D-Q;Y>M;Y--)oe=Y+Q-1,ie=Y+j-1,oe in T?T[ie]=T[oe]:x(T,ie);for(Y=0;Y<j;Y++)T[Y+M]=arguments[Y+2];return s(T,D-Q+j),X}})},1148:function(d,g,e){"use strict";var r=e(94488),i=e(85903),l=e(80524),c=e(81181),f=Array;r({target:"Array",proto:!0},{toReversed:function(){return i(l(this),f)}}),c("toReversed")},82445:function(d,g,e){"use strict";var r=e(94488),i=e(94237),l=e(63335),c=e(80524),f=e(69478),s=e(55174),h=e(81181),u=Array,a=i(s("Array","sort"));r({target:"Array",proto:!0},{toSorted:function(p){p!==void 0&&l(p);var y=c(this),_=f(u,y);return a(_,p)}}),h("toSorted")},27267:function(d,g,e){"use strict";var r=e(94488),i=e(81181),l=e(66434),c=e(82762),f=e(51981),s=e(80524),h=e(56902),u=Array,a=Math.max,x=Math.min;r({target:"Array",proto:!0},{toSpliced:function(y,_){var b=s(this),S=c(b),R=f(y,S),L=arguments.length,T=0,D,M,N,j;for(L===0?D=M=0:L===1?(D=0,M=S-R):(D=L-2,M=x(a(h(_),0),S-R)),N=l(S+D-M),j=u(N);T<R;T++)j[T]=b[T];for(;T<R+D;T++)j[T]=arguments[T-R+2];for(;T<N;T++)j[T]=b[T+M-D];return j}}),i("toSpliced")},90308:function(d,g,e){"use strict";var r=e(81181);r("flatMap")},96353:function(d,g,e){"use strict";var r=e(81181);r("flat")},84818:function(d,g,e){"use strict";var r=e(94488),i=e(94029),l=e(82762),c=e(39428),f=e(84233),s=e(66434),h=[].unshift(0)!==1,u=function(){try{Object.defineProperty([],"length",{writable:!1}).unshift()}catch(x){return x instanceof TypeError}},a=h||!u();r({target:"Array",proto:!0,arity:1,forced:a},{unshift:function(p){var y=i(this),_=l(y),b=arguments.length;if(b){s(_+b);for(var S=_;S--;){var R=S+b;S in y?y[R]=y[S]:f(y,R)}for(var L=0;L<b;L++)y[L]=arguments[L]}return c(y,_+b)}})},80585:function(d,g,e){"use strict";var r=e(94488),i=e(82041),l=e(80524),c=Array;r({target:"Array",proto:!0},{with:function(f,s){return i(l(this),c,f,s)}})},40194:function(d,g,e){"use strict";var r=e(94488),i=e(91669),l=e(3737);r({global:!0,constructor:!0,forced:!l},{DataView:i.DataView})},22112:function(d,g,e){"use strict";e(40194)},81440:function(d,g,e){"use strict";var r=e(94488),i=e(94237),l=e(3338),c=l(function(){return new Date(16e11).getYear()!==120}),f=i(Date.prototype.getFullYear);r({target:"Date",proto:!0,forced:c},{getYear:function(){return f(this)-1900}})},25430:function(d,g,e){"use strict";var r=e(94488),i=e(94237),l=Date,c=i(l.prototype.getTime);r({target:"Date",stat:!0},{now:function(){return c(new l)}})},70105:function(d,g,e){"use strict";var r=e(94488),i=e(94237),l=e(56902),c=Date.prototype,f=i(c.getTime),s=i(c.setFullYear);r({target:"Date",proto:!0},{setYear:function(u){f(this);var a=l(u),x=a>=0&&a<=99?a+1900:a;return s(this,x)}})},71390:function(d,g,e){"use strict";var r=e(94488);r({target:"Date",proto:!0},{toGMTString:Date.prototype.toUTCString})},96844:function(d,g,e){"use strict";var r=e(94488),i=e(32494);r({target:"Date",proto:!0,forced:Date.prototype.toISOString!==i},{toISOString:i})},83578:function(d,g,e){"use strict";var r=e(94488),i=e(3338),l=e(94029),c=e(97954),f=i(function(){return new Date(NaN).toJSON()!==null||Date.prototype.toJSON.call({toISOString:function(){return 1}})!==1});r({target:"Date",proto:!0,arity:1,forced:f},{toJSON:function(h){var u=l(this),a=c(u,"number");return typeof a=="number"&&!isFinite(a)?null:u.toISOString()}})},69762:function(d,g,e){"use strict";var r=e(32621),i=e(2291),l=e(77119),c=e(59893),f=c("toPrimitive"),s=Date.prototype;r(s,f)||i(s,f,l)},76880:function(d,g,e){"use strict";var r=e(94237),i=e(2291),l=Date.prototype,c="Invalid Date",f="toString",s=r(l[f]),h=r(l.getTime);String(new Date(NaN))!==c&&i(l,f,function(){var a=h(this);return a===a?s(this):c})},31808:function(d,g,e){"use strict";var r=e(94488),i=e(92916),l=e(13743),c=e(78540),f="WebAssembly",s=i[f],h=new Error("e",{cause:7}).cause!==7,u=function(x,p){var y={};y[x]=c(x,p,h),r({global:!0,constructor:!0,arity:1,forced:h},y)},a=function(x,p){if(s&&s[x]){var y={};y[x]=c(f+"."+x,p,h),r({target:f,stat:!0,constructor:!0,arity:1,forced:h},y)}};u("Error",function(x){return function(y){return l(x,this,arguments)}}),u("EvalError",function(x){return function(y){return l(x,this,arguments)}}),u("RangeError",function(x){return function(y){return l(x,this,arguments)}}),u("ReferenceError",function(x){return function(y){return l(x,this,arguments)}}),u("SyntaxError",function(x){return function(y){return l(x,this,arguments)}}),u("TypeError",function(x){return function(y){return l(x,this,arguments)}}),u("URIError",function(x){return function(y){return l(x,this,arguments)}}),a("CompileError",function(x){return function(y){return l(x,this,arguments)}}),a("LinkError",function(x){return function(y){return l(x,this,arguments)}}),a("RuntimeError",function(x){return function(y){return l(x,this,arguments)}})},99953:function(d,g,e){"use strict";var r=e(2291),i=e(13367),l=Error.prototype;l.toString!==i&&r(l,"toString",i)},65009:function(d,g,e){"use strict";var r=e(94488),i=e(94237),l=e(69905),c=i("".charAt),f=i("".charCodeAt),s=i(/./.exec),h=i(1 .toString),u=i("".toUpperCase),a=/[\w*+\-./@]/,x=function(p,y){for(var _=h(p,16);_.length<y;)_="0"+_;return _};r({global:!0},{escape:function(y){for(var _=l(y),b="",S=_.length,R=0,L,T;R<S;)L=c(_,R++),s(a,L)?b+=L:(T=f(L,0),T<256?b+="%"+x(T,2):b+="%u"+u(x(T,4)));return b}})},28796:function(d,g,e){"use strict";var r=e(94488),i=e(4645);r({target:"Function",proto:!0,forced:Function.bind!==i},{bind:i})},56450:function(d,g,e){"use strict";var r=e(55327),i=e(31946),l=e(37691),c=e(53456),f=e(59893),s=e(86528),h=f("hasInstance"),u=Function.prototype;h in u||l.f(u,h,{value:s(function(a){if(!r(this)||!i(a))return!1;var x=this.prototype;if(!i(x))return a instanceof this;for(;a=c(a);)if(x===a)return!0;return!1},h)})},78342:function(d,g,e){"use strict";var r=e(35454),i=e(8090).EXISTS,l=e(94237),c=e(64110),f=Function.prototype,s=l(f.toString),h=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,u=l(h.exec),a="name";r&&!i&&c(f,a,{configurable:!0,get:function(){try{return u(h,s(this))[1]}catch(x){return""}}})},13161:function(d,g,e){"use strict";var r=e(94488),i=e(92916);r({global:!0,forced:i.globalThis!==i},{globalThis:i})},54226:function(d,g,e){"use strict";var r=e(94488),i=e(65911),l=e(13743),c=e(89945),f=e(94237),s=e(3338),h=e(55327),u=e(18446),a=e(30867),x=e(65451),p=e(42820),y=String,_=i("JSON","stringify"),b=f(/./.exec),S=f("".charAt),R=f("".charCodeAt),L=f("".replace),T=f(1 .toString),D=/[\uD800-\uDFFF]/g,M=/^[\uD800-\uDBFF]$/,N=/^[\uDC00-\uDFFF]$/,j=!p||s(function(){var oe=i("Symbol")("stringify detection");return _([oe])!=="[null]"||_({a:oe})!=="{}"||_(Object(oe))!=="{}"}),Q=s(function(){return _("\uDF06\uD834")!=='"\\udf06\\ud834"'||_("\uDEAD")!=='"\\udead"'}),X=function(oe,ie){var ue=a(arguments),K=x(ie);if(!(!h(K)&&(oe===void 0||u(oe))))return ue[1]=function(V,G){if(h(K)&&(G=c(K,this,y(V),G)),!u(G))return G},l(_,null,ue)},Y=function(oe,ie,ue){var K=S(ue,ie-1),V=S(ue,ie+1);return b(M,oe)&&!b(N,V)||b(N,oe)&&!b(M,K)?"\\u"+T(R(oe,0),16):oe};_&&r({target:"JSON",stat:!0,arity:3,forced:j||Q},{stringify:function(ie,ue,K){var V=a(arguments),G=l(j?X:_,null,V);return Q&&typeof G=="string"?L(G,D,Y):G}})},70201:function(d,g,e){"use strict";var r=e(92916),i=e(94573);i(r.JSON,"JSON",!0)},44781:function(d,g,e){"use strict";var r=e(48059),i=e(40942);r("Map",function(l){return function(){return l(this,arguments.length?arguments[0]:void 0)}},i)},85671:function(d,g,e){"use strict";var r=e(94488),i=e(94237),l=e(63335),c=e(95955),f=e(62003),s=e(2786),h=e(16697),u=s.Map,a=s.has,x=s.get,p=s.set,y=i([].push);r({target:"Map",stat:!0,forced:h},{groupBy:function(b,S){c(b),l(S);var R=new u,L=0;return f(b,function(T){var D=S(T,L++);a(R,D)?y(x(R,D),T):p(R,D,[T])}),R}})},34941:function(d,g,e){"use strict";e(44781)},35152:function(d,g,e){"use strict";var r=e(94488),i=e(25726),l=Math.acosh,c=Math.log,f=Math.sqrt,s=Math.LN2,h=!l||Math.floor(l(Number.MAX_VALUE))!==710||l(1/0)!==1/0;r({target:"Math",stat:!0,forced:h},{acosh:function(a){var x=+a;return x<1?NaN:x>9490626562425156e-8?c(x)+s:i(x-1+f(x-1)*f(x+1))}})},85660:function(d,g,e){"use strict";var r=e(94488),i=Math.asinh,l=Math.log,c=Math.sqrt;function f(h){var u=+h;return!isFinite(u)||u===0?u:u<0?-f(-u):l(u+c(u*u+1))}var s=!(i&&1/i(0)>0);r({target:"Math",stat:!0,forced:s},{asinh:f})},80031:function(d,g,e){"use strict";var r=e(94488),i=Math.atanh,l=Math.log,c=!(i&&1/i(-0)<0);r({target:"Math",stat:!0,forced:c},{atanh:function(s){var h=+s;return h===0?h:l((1+h)/(1-h))/2}})},34434:function(d,g,e){"use strict";var r=e(94488),i=e(37666),l=Math.abs,c=Math.pow;r({target:"Math",stat:!0},{cbrt:function(s){var h=+s;return i(h)*c(l(h),.3333333333333333)}})},83579:function(d,g,e){"use strict";var r=e(94488),i=Math.floor,l=Math.log,c=Math.LOG2E;r({target:"Math",stat:!0},{clz32:function(s){var h=s>>>0;return h?31-i(l(h+.5)*c):32}})},74307:function(d,g,e){"use strict";var r=e(94488),i=e(10014),l=Math.cosh,c=Math.abs,f=Math.E,s=!l||l(710)===1/0;r({target:"Math",stat:!0,forced:s},{cosh:function(u){var a=i(c(u)-1)+1;return(a+1/(a*f*f))*(f/2)}})},97423:function(d,g,e){"use strict";var r=e(94488),i=e(10014);r({target:"Math",stat:!0,forced:i!==Math.expm1},{expm1:i})},93321:function(d,g,e){"use strict";var r=e(94488),i=e(14894);r({target:"Math",stat:!0},{fround:i})},82277:function(d,g,e){"use strict";var r=e(94488),i=Math.hypot,l=Math.abs,c=Math.sqrt,f=!!i&&i(1/0,NaN)!==1/0;r({target:"Math",stat:!0,arity:2,forced:f},{hypot:function(h,u){for(var a=0,x=0,p=arguments.length,y=0,_,b;x<p;)_=l(arguments[x++]),y<_?(b=y/_,a=a*b*b+1,y=_):_>0?(b=_/y,a+=b*b):a+=_;return y===1/0?1/0:y*c(a)}})},61425:function(d,g,e){"use strict";var r=e(94488),i=e(3338),l=Math.imul,c=i(function(){return l(4294967295,5)!==-5||l.length!==2});r({target:"Math",stat:!0,forced:c},{imul:function(s,h){var u=65535,a=+s,x=+h,p=u&a,y=u&x;return 0|p*y+((u&a>>>16)*y+p*(u&x>>>16)<<16>>>0)}})},61873:function(d,g,e){"use strict";var r=e(94488),i=e(53309);r({target:"Math",stat:!0},{log10:i})},9307:function(d,g,e){"use strict";var r=e(94488),i=e(25726);r({target:"Math",stat:!0},{log1p:i})},8821:function(d,g,e){"use strict";var r=e(94488),i=Math.log,l=Math.LN2;r({target:"Math",stat:!0},{log2:function(f){return i(f)/l}})},64385:function(d,g,e){"use strict";var r=e(94488),i=e(37666);r({target:"Math",stat:!0},{sign:i})},64099:function(d,g,e){"use strict";var r=e(94488),i=e(3338),l=e(10014),c=Math.abs,f=Math.exp,s=Math.E,h=i(function(){return Math.sinh(-2e-17)!==-2e-17});r({target:"Math",stat:!0,forced:h},{sinh:function(a){var x=+a;return c(x)<1?(l(x)-l(-x))/2:(f(x-1)-f(-x-1))*(s/2)}})},62455:function(d,g,e){"use strict";var r=e(94488),i=e(10014),l=Math.exp;r({target:"Math",stat:!0},{tanh:function(f){var s=+f,h=i(s),u=i(-s);return h===1/0?1:u===1/0?-1:(h-u)/(l(s)+l(-s))}})},79965:function(d,g,e){"use strict";var r=e(94573);r(Math,"Math",!0)},59118:function(d,g,e){"use strict";var r=e(94488),i=e(3312);r({target:"Math",stat:!0},{trunc:i})},275:function(d,g,e){"use strict";var r=e(94488),i=e(16697),l=e(35454),c=e(92916),f=e(9699),s=e(94237),h=e(20865),u=e(32621),a=e(25576),x=e(16332),p=e(18446),y=e(97954),_=e(3338),b=e(80689).f,S=e(71256).f,R=e(37691).f,L=e(49228),T=e(52971).trim,D="Number",M=c[D],N=f[D],j=M.prototype,Q=c.TypeError,X=s("".slice),Y=s("".charCodeAt),oe=function(te){var q=y(te,"number");return typeof q=="bigint"?q:ie(q)},ie=function(te){var q=y(te,"number"),J,le,z,F,se,_e,Pe,Re;if(p(q))throw new Q("Cannot convert a Symbol value to a number");if(typeof q=="string"&&q.length>2){if(q=T(q),J=Y(q,0),J===43||J===45){if(le=Y(q,2),le===88||le===120)return NaN}else if(J===48){switch(Y(q,1)){case 66:case 98:z=2,F=49;break;case 79:case 111:z=8,F=55;break;default:return+q}for(se=X(q,2),_e=se.length,Pe=0;Pe<_e;Pe++)if(Re=Y(se,Pe),Re<48||Re>F)return NaN;return parseInt(se,z)}}return+q},ue=h(D,!M(" 0o1")||!M("0b1")||M("+0x1")),K=function(te){return x(j,te)&&_(function(){L(te)})},V=function(q){var J=arguments.length<1?0:M(oe(q));return K(this)?a(Object(J),this,V):J};V.prototype=j,ue&&!i&&(j.constructor=V),r({global:!0,constructor:!0,wrap:!0,forced:ue},{Number:V});var G=function(te,q){for(var J=l?b(q):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),le=0,z;J.length>le;le++)u(q,z=J[le])&&!u(te,z)&&R(te,z,S(q,z))};i&&N&&G(f[D],N),(ue||i)&&G(f[D],M)},31919:function(d,g,e){"use strict";var r=e(94488);r({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{EPSILON:Math.pow(2,-52)})},51284:function(d,g,e){"use strict";var r=e(94488),i=e(1222);r({target:"Number",stat:!0},{isFinite:i})},10177:function(d,g,e){"use strict";var r=e(94488),i=e(62896);r({target:"Number",stat:!0},{isInteger:i})},85690:function(d,g,e){"use strict";var r=e(94488);r({target:"Number",stat:!0},{isNaN:function(l){return l!==l}})},92114:function(d,g,e){"use strict";var r=e(94488),i=e(62896),l=Math.abs;r({target:"Number",stat:!0},{isSafeInteger:function(f){return i(f)&&l(f)<=9007199254740991}})},1017:function(d,g,e){"use strict";var r=e(94488);r({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MAX_SAFE_INTEGER:9007199254740991})},14480:function(d,g,e){"use strict";var r=e(94488);r({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MIN_SAFE_INTEGER:-9007199254740991})},40516:function(d,g,e){"use strict";var r=e(94488),i=e(31280);r({target:"Number",stat:!0,forced:Number.parseFloat!==i},{parseFloat:i})},76345:function(d,g,e){"use strict";var r=e(94488),i=e(52446);r({target:"Number",stat:!0,forced:Number.parseInt!==i},{parseInt:i})},7282:function(d,g,e){"use strict";var r=e(94488),i=e(94237),l=e(56902),c=e(49228),f=e(71049),s=e(53309),h=e(3338),u=RangeError,a=String,x=isFinite,p=Math.abs,y=Math.floor,_=Math.pow,b=Math.round,S=i(1 .toExponential),R=i(f),L=i("".slice),T=S(-69e-12,4)==="-6.9000e-11"&&S(1.255,2)==="1.25e+0"&&S(12345,3)==="1.235e+4"&&S(25,0)==="3e+1",D=function(){return h(function(){S(1,1/0)})&&h(function(){S(1,-1/0)})},M=function(){return!h(function(){S(1/0,1/0),S(NaN,1/0)})},N=!T||!D()||!M();r({target:"Number",proto:!0,forced:N},{toExponential:function(Q){var X=c(this);if(Q===void 0)return S(X);var Y=l(Q);if(!x(X))return String(X);if(Y<0||Y>20)throw new u("Incorrect fraction digits");if(T)return S(X,Y);var oe="",ie="",ue=0,K="",V="";if(X<0&&(oe="-",X=-X),X===0)ue=0,ie=R("0",Y+1);else{var G=s(X);ue=y(G);var te=0,q=_(10,ue-Y);te=b(X/q),2*X>=(2*te+1)*q&&(te+=1),te>=_(10,Y+1)&&(te/=10,ue+=1),ie=a(te)}return Y!==0&&(ie=L(ie,0,1)+"."+L(ie,1)),ue===0?(K="+",V="0"):(K=ue>0?"+":"-",V=a(p(ue))),ie+="e"+K+V,oe+ie}})},58055:function(d,g,e){"use strict";var r=e(94488),i=e(94237),l=e(56902),c=e(49228),f=e(71049),s=e(3338),h=RangeError,u=String,a=Math.floor,x=i(f),p=i("".slice),y=i(1 .toFixed),_=function(D,M,N){return M===0?N:M%2===1?_(D,M-1,N*D):_(D*D,M/2,N)},b=function(D){for(var M=0,N=D;N>=4096;)M+=12,N/=4096;for(;N>=2;)M+=1,N/=2;return M},S=function(D,M,N){for(var j=-1,Q=N;++j<6;)Q+=M*D[j],D[j]=Q%1e7,Q=a(Q/1e7)},R=function(D,M){for(var N=6,j=0;--N>=0;)j+=D[N],D[N]=a(j/M),j=j%M*1e7},L=function(D){for(var M=6,N="";--M>=0;)if(N!==""||M===0||D[M]!==0){var j=u(D[M]);N=N===""?j:N+x("0",7-j.length)+j}return N},T=s(function(){return y(8e-5,3)!=="0.000"||y(.9,0)!=="1"||y(1.255,2)!=="1.25"||y(0xde0b6b3a7640080,0)!=="1000000000000000128"})||!s(function(){y({})});r({target:"Number",proto:!0,forced:T},{toFixed:function(M){var N=c(this),j=l(M),Q=[0,0,0,0,0,0],X="",Y="0",oe,ie,ue,K;if(j<0||j>20)throw new h("Incorrect fraction digits");if(N!==N)return"NaN";if(N<=-1e21||N>=1e21)return u(N);if(N<0&&(X="-",N=-N),N>1e-21)if(oe=b(N*_(2,69,1))-69,ie=oe<0?N*_(2,-oe,1):N/_(2,oe,1),ie*=4503599627370496,oe=52-oe,oe>0){for(S(Q,0,ie),ue=j;ue>=7;)S(Q,1e7,0),ue-=7;for(S(Q,_(10,ue,1),0),ue=oe-1;ue>=23;)R(Q,8388608),ue-=23;R(Q,1<<ue),S(Q,1,1),R(Q,2),Y=L(Q)}else S(Q,0,ie),S(Q,1<<-oe,0),Y=L(Q)+x("0",j);return j>0?(K=Y.length,Y=X+(K<=j?"0."+x("0",j-K)+Y:p(Y,0,K-j)+"."+p(Y,K-j))):Y=X+Y,Y}})},93547:function(d,g,e){"use strict";var r=e(94488),i=e(94237),l=e(3338),c=e(49228),f=i(1 .toPrecision),s=l(function(){return f(1,void 0)!=="1"})||!l(function(){f({})});r({target:"Number",proto:!0,forced:s},{toPrecision:function(u){return u===void 0?f(c(this)):f(c(this),u)}})},31237:function(d,g,e){"use strict";var r=e(94488),i=e(80530);r({target:"Object",stat:!0,arity:2,forced:Object.assign!==i},{assign:i})},17954:function(d,g,e){"use strict";var r=e(94488),i=e(35454),l=e(20132);r({target:"Object",stat:!0,sham:!i},{create:l})},58580:function(d,g,e){"use strict";var r=e(94488),i=e(35454),l=e(25837),c=e(63335),f=e(94029),s=e(37691);i&&r({target:"Object",proto:!0,forced:l},{__defineGetter__:function(u,a){s.f(f(this),u,{get:c(a),enumerable:!0,configurable:!0})}})},47146:function(d,g,e){"use strict";var r=e(94488),i=e(35454),l=e(55666).f;r({target:"Object",stat:!0,forced:Object.defineProperties!==l,sham:!i},{defineProperties:l})},40416:function(d,g,e){"use strict";var r=e(94488),i=e(35454),l=e(37691).f;r({target:"Object",stat:!0,forced:Object.defineProperty!==l,sham:!i},{defineProperty:l})},7615:function(d,g,e){"use strict";var r=e(94488),i=e(35454),l=e(25837),c=e(63335),f=e(94029),s=e(37691);i&&r({target:"Object",proto:!0,forced:l},{__defineSetter__:function(u,a){s.f(f(this),u,{set:c(a),enumerable:!0,configurable:!0})}})},72820:function(d,g,e){"use strict";var r=e(94488),i=e(88698).entries;r({target:"Object",stat:!0},{entries:function(c){return i(c)}})},86070:function(d,g,e){"use strict";var r=e(94488),i=e(13247),l=e(3338),c=e(31946),f=e(2074).onFreeze,s=Object.freeze,h=l(function(){s(1)});r({target:"Object",stat:!0,forced:h,sham:!i},{freeze:function(a){return s&&c(a)?s(f(a)):a}})},23569:function(d,g,e){"use strict";var r=e(94488),i=e(62003),l=e(69392);r({target:"Object",stat:!0},{fromEntries:function(f){var s={};return i(f,function(h,u){l(s,h,u)},{AS_ENTRIES:!0}),s}})},55639:function(d,g,e){"use strict";var r=e(94488),i=e(3338),l=e(80524),c=e(71256).f,f=e(35454),s=!f||i(function(){c(1)});r({target:"Object",stat:!0,forced:s,sham:!f},{getOwnPropertyDescriptor:function(u,a){return c(l(u),a)}})},63046:function(d,g,e){"use strict";var r=e(94488),i=e(35454),l=e(48662),c=e(80524),f=e(71256),s=e(69392);r({target:"Object",stat:!0,sham:!i},{getOwnPropertyDescriptors:function(u){for(var a=c(u),x=f.f,p=l(a),y={},_=0,b,S;p.length>_;)S=x(a,b=p[_++]),S!==void 0&&s(y,b,S);return y}})},464:function(d,g,e){"use strict";var r=e(94488),i=e(3338),l=e(53393).f,c=i(function(){return!Object.getOwnPropertyNames(1)});r({target:"Object",stat:!0,forced:c},{getOwnPropertyNames:l})},67936:function(d,g,e){"use strict";var r=e(94488),i=e(42820),l=e(3338),c=e(92635),f=e(94029),s=!i||l(function(){c.f(1)});r({target:"Object",stat:!0,forced:s},{getOwnPropertySymbols:function(u){var a=c.f;return a?a(f(u)):[]}})},51082:function(d,g,e){"use strict";var r=e(94488),i=e(3338),l=e(94029),c=e(53456),f=e(4870),s=i(function(){c(1)});r({target:"Object",stat:!0,forced:s,sham:!f},{getPrototypeOf:function(u){return c(l(u))}})},83850:function(d,g,e){"use strict";var r=e(94488),i=e(65911),l=e(94237),c=e(63335),f=e(95955),s=e(17818),h=e(62003),u=i("Object","create"),a=l([].push);r({target:"Object",stat:!0},{groupBy:function(p,y){f(p),c(y);var _=u(null),b=0;return h(p,function(S){var R=s(y(S,b++));R in _?a(_[R],S):_[R]=[S]}),_}})},41990:function(d,g,e){"use strict";var r=e(94488),i=e(32621);r({target:"Object",stat:!0},{hasOwn:i})},55888:function(d,g,e){"use strict";var r=e(94488),i=e(12477);r({target:"Object",stat:!0,forced:Object.isExtensible!==i},{isExtensible:i})},53827:function(d,g,e){"use strict";var r=e(94488),i=e(3338),l=e(31946),c=e(29076),f=e(51424),s=Object.isFrozen,h=f||i(function(){s(1)});r({target:"Object",stat:!0,forced:h},{isFrozen:function(a){return!l(a)||f&&c(a)==="ArrayBuffer"?!0:s?s(a):!1}})},78143:function(d,g,e){"use strict";var r=e(94488),i=e(3338),l=e(31946),c=e(29076),f=e(51424),s=Object.isSealed,h=f||i(function(){s(1)});r({target:"Object",stat:!0,forced:h},{isSealed:function(a){return!l(a)||f&&c(a)==="ArrayBuffer"?!0:s?s(a):!1}})},15787:function(d,g,e){"use strict";var r=e(94488),i=e(5370);r({target:"Object",stat:!0},{is:i})},66419:function(d,g,e){"use strict";var r=e(94488),i=e(94029),l=e(7733),c=e(3338),f=c(function(){l(1)});r({target:"Object",stat:!0,forced:f},{keys:function(h){return l(i(h))}})},75765:function(d,g,e){"use strict";var r=e(94488),i=e(35454),l=e(25837),c=e(94029),f=e(17818),s=e(53456),h=e(71256).f;i&&r({target:"Object",proto:!0,forced:l},{__lookupGetter__:function(a){var x=c(this),p=f(a),y;do if(y=h(x,p))return y.get;while(x=s(x))}})},14645:function(d,g,e){"use strict";var r=e(94488),i=e(35454),l=e(25837),c=e(94029),f=e(17818),s=e(53456),h=e(71256).f;i&&r({target:"Object",proto:!0,forced:l},{__lookupSetter__:function(a){var x=c(this),p=f(a),y;do if(y=h(x,p))return y.set;while(x=s(x))}})},71122:function(d,g,e){"use strict";var r=e(94488),i=e(31946),l=e(2074).onFreeze,c=e(13247),f=e(3338),s=Object.preventExtensions,h=f(function(){s(1)});r({target:"Object",stat:!0,forced:h,sham:!c},{preventExtensions:function(a){return s&&i(a)?s(l(a)):a}})},42084:function(d,g,e){"use strict";var r=e(35454),i=e(64110),l=e(31946),c=e(94029),f=e(95955),s=Object.getPrototypeOf,h=Object.setPrototypeOf,u=Object.prototype,a="__proto__";if(r&&s&&h&&!(a in u))try{i(u,a,{configurable:!0,get:function(){return s(c(this))},set:function(p){var y=f(this);!l(p)&&p!==null||!l(y)||h(y,p)}})}catch(x){}},25070:function(d,g,e){"use strict";var r=e(94488),i=e(31946),l=e(2074).onFreeze,c=e(13247),f=e(3338),s=Object.seal,h=f(function(){s(1)});r({target:"Object",stat:!0,forced:h,sham:!c},{seal:function(a){return s&&i(a)?s(l(a)):a}})},77140:function(d,g,e){"use strict";var r=e(94488),i=e(58218);r({target:"Object",stat:!0},{setPrototypeOf:i})},15954:function(d,g,e){"use strict";var r=e(68527),i=e(2291),l=e(28488);r||i(Object.prototype,"toString",l,{unsafe:!0})},4266:function(d,g,e){"use strict";var r=e(94488),i=e(88698).values;r({target:"Object",stat:!0},{values:function(c){return i(c)}})},49988:function(d,g,e){"use strict";var r=e(94488),i=e(31280);r({global:!0,forced:parseFloat!==i},{parseFloat:i})},38823:function(d,g,e){"use strict";var r=e(94488),i=e(52446);r({global:!0,forced:parseInt!==i},{parseInt:i})},4045:function(d,g,e){"use strict";var r=e(94488),i=e(89945),l=e(63335),c=e(73446),f=e(80734),s=e(62003),h=e(22093);r({target:"Promise",stat:!0,forced:h},{allSettled:function(a){var x=this,p=c.f(x),y=p.resolve,_=p.reject,b=f(function(){var S=l(x.resolve),R=[],L=0,T=1;s(a,function(D){var M=L++,N=!1;T++,i(S,x,D).then(function(j){N||(N=!0,R[M]={status:"fulfilled",value:j},--T||y(R))},function(j){N||(N=!0,R[M]={status:"rejected",reason:j},--T||y(R))})}),--T||y(R)});return b.error&&_(b.value),p.promise}})},12785:function(d,g,e){"use strict";var r=e(94488),i=e(89945),l=e(63335),c=e(73446),f=e(80734),s=e(62003),h=e(22093);r({target:"Promise",stat:!0,forced:h},{all:function(a){var x=this,p=c.f(x),y=p.resolve,_=p.reject,b=f(function(){var S=l(x.resolve),R=[],L=0,T=1;s(a,function(D){var M=L++,N=!1;T++,i(S,x,D).then(function(j){N||(N=!0,R[M]=j,--T||y(R))},_)}),--T||y(R)});return b.error&&_(b.value),p.promise}})},50747:function(d,g,e){"use strict";var r=e(94488),i=e(89945),l=e(63335),c=e(65911),f=e(73446),s=e(80734),h=e(62003),u=e(22093),a="No one promise resolved";r({target:"Promise",stat:!0,forced:u},{any:function(p){var y=this,_=c("AggregateError"),b=f.f(y),S=b.resolve,R=b.reject,L=s(function(){var T=l(y.resolve),D=[],M=0,N=1,j=!1;h(p,function(Q){var X=M++,Y=!1;N++,i(T,y,Q).then(function(oe){Y||j||(j=!0,S(oe))},function(oe){Y||j||(Y=!0,D[X]=oe,--N||R(new _(D,a)))})}),--N||R(new _(D,a))});return L.error&&R(L.value),b.promise}})},41902:function(d,g,e){"use strict";var r=e(94488),i=e(16697),l=e(82830).CONSTRUCTOR,c=e(2451),f=e(65911),s=e(55327),h=e(2291),u=c&&c.prototype;if(r({target:"Promise",proto:!0,forced:l,real:!0},{catch:function(x){return this.then(void 0,x)}}),!i&&s(c)){var a=f("Promise").prototype.catch;u.catch!==a&&h(u,"catch",a,{unsafe:!0})}},90366:function(d,g,e){"use strict";var r=e(94488),i=e(16697),l=e(90946),c=e(92916),f=e(89945),s=e(2291),h=e(58218),u=e(94573),a=e(51996),x=e(63335),p=e(55327),y=e(31946),_=e(56472),b=e(60473),S=e(28887).set,R=e(72933),L=e(61810),T=e(80734),D=e(66790),M=e(94844),N=e(2451),j=e(82830),Q=e(73446),X="Promise",Y=j.CONSTRUCTOR,oe=j.REJECTION_EVENT,ie=j.SUBCLASSING,ue=M.getterFor(X),K=M.set,V=N&&N.prototype,G=N,te=V,q=c.TypeError,J=c.document,le=c.process,z=Q.f,F=z,se=!!(J&&J.createEvent&&c.dispatchEvent),_e="unhandledrejection",Pe="rejectionhandled",Re=0,Ze=1,$e=2,Ht=1,bt=2,Ot,qt,er,Jt,Xe=function(Me){var Ne;return y(Me)&&p(Ne=Me.then)?Ne:!1},Pt=function(Me,Ne){var He=Ne.value,nt=Ne.state===Ze,ct=nt?Me.ok:Me.fail,Vt=Me.resolve,Wt=Me.reject,Ie=Me.domain,qe,Gt,kt;try{ct?(nt||(Ne.rejection===bt&&Je(Ne),Ne.rejection=Ht),ct===!0?qe=He:(Ie&&Ie.enter(),qe=ct(He),Ie&&(Ie.exit(),kt=!0)),qe===Me.promise?Wt(new q("Promise-chain cycle")):(Gt=Xe(qe))?f(Gt,qe,Vt,Wt):Vt(qe)):Wt(He)}catch(Zt){Ie&&!kt&&Ie.exit(),Wt(Zt)}},Ut=function(Me,Ne){Me.notified||(Me.notified=!0,R(function(){for(var He=Me.reactions,nt;nt=He.get();)Pt(nt,Me);Me.notified=!1,Ne&&!Me.rejection&&yt(Me)}))},st=function(Me,Ne,He){var nt,ct;se?(nt=J.createEvent("Event"),nt.promise=Ne,nt.reason=He,nt.initEvent(Me,!1,!0),c.dispatchEvent(nt)):nt={promise:Ne,reason:He},!oe&&(ct=c["on"+Me])?ct(nt):Me===_e&&L("Unhandled promise rejection",He)},yt=function(Me){f(S,c,function(){var Ne=Me.facade,He=Me.value,nt=ht(Me),ct;if(nt&&(ct=T(function(){l?le.emit("unhandledRejection",He,Ne):st(_e,Ne,He)}),Me.rejection=l||ht(Me)?bt:Ht,ct.error))throw ct.value})},ht=function(Me){return Me.rejection!==Ht&&!Me.parent},Je=function(Me){f(S,c,function(){var Ne=Me.facade;l?le.emit("rejectionHandled",Ne):st(Pe,Ne,Me.value)})},je=function(Me,Ne,He){return function(nt){Me(Ne,nt,He)}},ge=function(Me,Ne,He){Me.done||(Me.done=!0,He&&(Me=He),Me.value=Ne,Me.state=$e,Ut(Me,!0))},Se=function(Me,Ne,He){if(!Me.done){Me.done=!0,He&&(Me=He);try{if(Me.facade===Ne)throw new q("Promise can't be resolved itself");var nt=Xe(Ne);nt?R(function(){var ct={done:!1};try{f(nt,Ne,je(Se,ct,Me),je(ge,ct,Me))}catch(Vt){ge(ct,Vt,Me)}}):(Me.value=Ne,Me.state=Ze,Ut(Me,!1))}catch(ct){ge({done:!1},ct,Me)}}};if(Y&&(G=function(Ne){_(this,te),x(Ne),f(Ot,this);var He=ue(this);try{Ne(je(Se,He),je(ge,He))}catch(nt){ge(He,nt)}},te=G.prototype,Ot=function(Ne){K(this,{type:X,done:!1,notified:!1,parent:!1,reactions:new D,rejection:!1,state:Re,value:void 0})},Ot.prototype=s(te,"then",function(Ne,He){var nt=ue(this),ct=z(b(this,G));return nt.parent=!0,ct.ok=p(Ne)?Ne:!0,ct.fail=p(He)&&He,ct.domain=l?le.domain:void 0,nt.state===Re?nt.reactions.add(ct):R(function(){Pt(ct,nt)}),ct.promise}),qt=function(){var Me=new Ot,Ne=ue(Me);this.promise=Me,this.resolve=je(Se,Ne),this.reject=je(ge,Ne)},Q.f=z=function(Me){return Me===G||Me===er?new qt(Me):F(Me)},!i&&p(N)&&V!==Object.prototype)){Jt=V.then,ie||s(V,"then",function(Ne,He){var nt=this;return new G(function(ct,Vt){f(Jt,nt,ct,Vt)}).then(Ne,He)},{unsafe:!0});try{delete V.constructor}catch(Me){}h&&h(V,te)}r({global:!0,constructor:!0,wrap:!0,forced:Y},{Promise:G}),u(G,X,!1,!0),a(X)},43595:function(d,g,e){"use strict";var r=e(94488),i=e(16697),l=e(2451),c=e(3338),f=e(65911),s=e(55327),h=e(60473),u=e(15597),a=e(2291),x=l&&l.prototype,p=!!l&&c(function(){x.finally.call({then:function(){}},function(){})});if(r({target:"Promise",proto:!0,real:!0,forced:p},{finally:function(_){var b=h(this,f("Promise")),S=s(_);return this.then(S?function(R){return u(b,_()).then(function(){return R})}:_,S?function(R){return u(b,_()).then(function(){throw R})}:_)}}),!i&&s(l)){var y=f("Promise").prototype.finally;x.finally!==y&&a(x,"finally",y,{unsafe:!0})}},24627:function(d,g,e){"use strict";e(90366),e(12785),e(41902),e(20733),e(95693),e(81930)},20733:function(d,g,e){"use strict";var r=e(94488),i=e(89945),l=e(63335),c=e(73446),f=e(80734),s=e(62003),h=e(22093);r({target:"Promise",stat:!0,forced:h},{race:function(a){var x=this,p=c.f(x),y=p.reject,_=f(function(){var b=l(x.resolve);s(a,function(S){i(b,x,S).then(p.resolve,y)})});return _.error&&y(_.value),p.promise}})},95693:function(d,g,e){"use strict";var r=e(94488),i=e(89945),l=e(73446),c=e(82830).CONSTRUCTOR;r({target:"Promise",stat:!0,forced:c},{reject:function(s){var h=l.f(this);return i(h.reject,void 0,s),h.promise}})},81930:function(d,g,e){"use strict";var r=e(94488),i=e(65911),l=e(16697),c=e(2451),f=e(82830).CONSTRUCTOR,s=e(15597),h=i("Promise"),u=l&&!f;r({target:"Promise",stat:!0,forced:l||f},{resolve:function(x){return s(u&&this===h?c:this,x)}})},92324:function(d,g,e){"use strict";var r=e(94488),i=e(73446);r({target:"Promise",stat:!0},{withResolvers:function(){var c=i.f(this);return{promise:c.promise,resolve:c.resolve,reject:c.reject}}})},23551:function(d,g,e){"use strict";var r=e(94488),i=e(13743),l=e(63335),c=e(80449),f=e(3338),s=!f(function(){Reflect.apply(function(){})});r({target:"Reflect",stat:!0,forced:s},{apply:function(u,a,x){return i(l(u),a,c(x))}})},74521:function(d,g,e){"use strict";var r=e(94488),i=e(65911),l=e(13743),c=e(4645),f=e(6086),s=e(80449),h=e(31946),u=e(20132),a=e(3338),x=i("Reflect","construct"),p=Object.prototype,y=[].push,_=a(function(){function R(){}return!(x(function(){},[],R)instanceof R)}),b=!a(function(){x(function(){})}),S=_||b;r({target:"Reflect",stat:!0,forced:S,sham:S},{construct:function(L,T){f(L),s(T);var D=arguments.length<3?L:f(arguments[2]);if(b&&!_)return x(L,T,D);if(L===D){switch(T.length){case 0:return new L;case 1:return new L(T[0]);case 2:return new L(T[0],T[1]);case 3:return new L(T[0],T[1],T[2]);case 4:return new L(T[0],T[1],T[2],T[3])}var M=[null];return l(y,M,T),new(l(c,L,M))}var N=D.prototype,j=u(h(N)?N:p),Q=l(L,j,T);return h(Q)?Q:j}})},57891:function(d,g,e){"use strict";var r=e(94488),i=e(35454),l=e(80449),c=e(17818),f=e(37691),s=e(3338),h=s(function(){Reflect.defineProperty(f.f({},1,{value:1}),1,{value:2})});r({target:"Reflect",stat:!0,forced:h,sham:!i},{defineProperty:function(a,x,p){l(a);var y=c(x);l(p);try{return f.f(a,y,p),!0}catch(_){return!1}}})},84138:function(d,g,e){"use strict";var r=e(94488),i=e(80449),l=e(71256).f;r({target:"Reflect",stat:!0},{deleteProperty:function(f,s){var h=l(i(f),s);return h&&!h.configurable?!1:delete f[s]}})},37135:function(d,g,e){"use strict";var r=e(94488),i=e(35454),l=e(80449),c=e(71256);r({target:"Reflect",stat:!0,sham:!i},{getOwnPropertyDescriptor:function(s,h){return c.f(l(s),h)}})},6474:function(d,g,e){"use strict";var r=e(94488),i=e(80449),l=e(53456),c=e(4870);r({target:"Reflect",stat:!0,sham:!c},{getPrototypeOf:function(s){return l(i(s))}})},51832:function(d,g,e){"use strict";var r=e(94488),i=e(89945),l=e(31946),c=e(80449),f=e(60516),s=e(71256),h=e(53456);function u(a,x){var p=arguments.length<3?a:arguments[2],y,_;if(c(a)===p)return a[x];if(y=s.f(a,x),y)return f(y)?y.value:y.get===void 0?void 0:i(y.get,p);if(l(_=h(a)))return u(_,x,p)}r({target:"Reflect",stat:!0},{get:u})},40135:function(d,g,e){"use strict";var r=e(94488);r({target:"Reflect",stat:!0},{has:function(l,c){return c in l}})},7982:function(d,g,e){"use strict";var r=e(94488),i=e(80449),l=e(12477);r({target:"Reflect",stat:!0},{isExtensible:function(f){return i(f),l(f)}})},14893:function(d,g,e){"use strict";var r=e(94488),i=e(48662);r({target:"Reflect",stat:!0},{ownKeys:i})},49233:function(d,g,e){"use strict";var r=e(94488),i=e(65911),l=e(80449),c=e(13247);r({target:"Reflect",stat:!0,sham:!c},{preventExtensions:function(s){l(s);try{var h=i("Object","preventExtensions");return h&&h(s),!0}catch(u){return!1}}})},42844:function(d,g,e){"use strict";var r=e(94488),i=e(80449),l=e(557),c=e(58218);c&&r({target:"Reflect",stat:!0},{setPrototypeOf:function(s,h){i(s),l(h);try{return c(s,h),!0}catch(u){return!1}}})},92130:function(d,g,e){"use strict";var r=e(94488),i=e(89945),l=e(80449),c=e(31946),f=e(60516),s=e(3338),h=e(37691),u=e(71256),a=e(53456),x=e(35012);function p(_,b,S){var R=arguments.length<4?_:arguments[3],L=u.f(l(_),b),T,D,M;if(!L){if(c(D=a(_)))return p(D,b,S,R);L=x(0)}if(f(L)){if(L.writable===!1||!c(R))return!1;if(T=u.f(R,b)){if(T.get||T.set||T.writable===!1)return!1;T.value=S,h.f(R,b,T)}else h.f(R,b,x(0,S))}else{if(M=L.set,M===void 0)return!1;i(M,R,S)}return!0}var y=s(function(){var _=function(){},b=h.f(new _,"a",{configurable:!0});return Reflect.set(_.prototype,"a",1,b)!==!1});r({target:"Reflect",stat:!0,forced:y},{set:p})},6536:function(d,g,e){"use strict";var r=e(94488),i=e(92916),l=e(94573);r({global:!0},{Reflect:{}}),l(i.Reflect,"Reflect",!0)},27228:function(d,g,e){"use strict";var r=e(35454),i=e(92916),l=e(94237),c=e(20865),f=e(25576),s=e(68151),h=e(20132),u=e(80689).f,a=e(16332),x=e(44639),p=e(69905),y=e(81644),_=e(19286),b=e(44166),S=e(2291),R=e(3338),L=e(32621),T=e(94844).enforce,D=e(51996),M=e(59893),N=e(6041),j=e(51224),Q=M("match"),X=i.RegExp,Y=X.prototype,oe=i.SyntaxError,ie=l(Y.exec),ue=l("".charAt),K=l("".replace),V=l("".indexOf),G=l("".slice),te=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,q=/a/g,J=/a/g,le=new X(q)!==q,z=_.MISSED_STICKY,F=_.UNSUPPORTED_Y,se=r&&(!le||z||N||j||R(function(){return J[Q]=!1,X(q)!==q||X(J)===J||String(X(q,"i"))!=="/a/i"})),_e=function(Ht){for(var bt=Ht.length,Ot=0,qt="",er=!1,Jt;Ot<=bt;Ot++){if(Jt=ue(Ht,Ot),Jt==="\\"){qt+=Jt+ue(Ht,++Ot);continue}!er&&Jt==="."?qt+="[\\s\\S]":(Jt==="["?er=!0:Jt==="]"&&(er=!1),qt+=Jt)}return qt},Pe=function(Ht){for(var bt=Ht.length,Ot=0,qt="",er=[],Jt=h(null),Xe=!1,Pt=!1,Ut=0,st="",yt;Ot<=bt;Ot++){if(yt=ue(Ht,Ot),yt==="\\")yt+=ue(Ht,++Ot);else if(yt==="]")Xe=!1;else if(!Xe)switch(!0){case yt==="[":Xe=!0;break;case yt==="(":ie(te,G(Ht,Ot+1))&&(Ot+=2,Pt=!0),qt+=yt,Ut++;continue;case(yt===">"&&Pt):if(st===""||L(Jt,st))throw new oe("Invalid capture group name");Jt[st]=!0,er[er.length]=[st,Ut],Pt=!1,st="";continue}Pt?st+=yt:qt+=yt}return[qt,er]};if(c("RegExp",se)){for(var Re=function(bt,Ot){var qt=a(Y,this),er=x(bt),Jt=Ot===void 0,Xe=[],Pt=bt,Ut,st,yt,ht,Je,je;if(!qt&&er&&Jt&&bt.constructor===Re)return bt;if((er||a(Y,bt))&&(bt=bt.source,Jt&&(Ot=y(Pt))),bt=bt===void 0?"":p(bt),Ot=Ot===void 0?"":p(Ot),Pt=bt,N&&"dotAll"in q&&(st=!!Ot&&V(Ot,"s")>-1,st&&(Ot=K(Ot,/s/g,""))),Ut=Ot,z&&"sticky"in q&&(yt=!!Ot&&V(Ot,"y")>-1,yt&&F&&(Ot=K(Ot,/y/g,""))),j&&(ht=Pe(bt),bt=ht[0],Xe=ht[1]),Je=f(X(bt,Ot),qt?this:Y,Re),(st||yt||Xe.length)&&(je=T(Je),st&&(je.dotAll=!0,je.raw=Re(_e(bt),Ut)),yt&&(je.sticky=!0),Xe.length&&(je.groups=Xe)),bt!==Pt)try{s(Je,"source",Pt===""?"(?:)":Pt)}catch(ge){}return Je},Ze=u(X),$e=0;Ze.length>$e;)b(Re,X,Ze[$e++]);Y.constructor=Re,Re.prototype=Y,S(i,"RegExp",Re,{constructor:!0})}D("RegExp")},62921:function(d,g,e){"use strict";var r=e(35454),i=e(6041),l=e(29076),c=e(64110),f=e(94844).get,s=RegExp.prototype,h=TypeError;r&&i&&c(s,"dotAll",{configurable:!0,get:function(){if(this!==s){if(l(this)==="RegExp")return!!f(this).dotAll;throw new h("Incompatible receiver, RegExp required")}}})},44001:function(d,g,e){"use strict";var r=e(94488),i=e(88736);r({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},92262:function(d,g,e){"use strict";var r=e(92916),i=e(35454),l=e(64110),c=e(82163),f=e(3338),s=r.RegExp,h=s.prototype,u=i&&f(function(){var a=!0;try{s(".","d")}catch(L){a=!1}var x={},p="",y=a?"dgimsy":"gimsy",_=function(L,T){Object.defineProperty(x,L,{get:function(){return p+=T,!0}})},b={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};a&&(b.hasIndices="d");for(var S in b)_(S,b[S]);var R=Object.getOwnPropertyDescriptor(h,"flags").get.call(x);return R!==y||p!==y});u&&l(h,"flags",{configurable:!0,get:c})},54744:function(d,g,e){"use strict";var r=e(35454),i=e(19286).MISSED_STICKY,l=e(29076),c=e(64110),f=e(94844).get,s=RegExp.prototype,h=TypeError;r&&i&&c(s,"sticky",{configurable:!0,get:function(){if(this!==s){if(l(this)==="RegExp")return!!f(this).sticky;throw new h("Incompatible receiver, RegExp required")}}})},38214:function(d,g,e){"use strict";e(44001);var r=e(94488),i=e(89945),l=e(55327),c=e(80449),f=e(69905),s=function(){var u=!1,a=/[ac]/;return a.exec=function(){return u=!0,/./.exec.apply(this,arguments)},a.test("abc")===!0&&u}(),h=/./.test;r({target:"RegExp",proto:!0,forced:!s},{test:function(u){var a=c(this),x=f(u),p=a.exec;if(!l(p))return i(h,a,x);var y=i(p,a,x);return y===null?!1:(c(y),!0)}})},12756:function(d,g,e){"use strict";var r=e(8090).PROPER,i=e(2291),l=e(80449),c=e(69905),f=e(3338),s=e(81644),h="toString",u=RegExp.prototype,a=u[h],x=f(function(){return a.call({source:"a",flags:"b"})!=="/a/b"}),p=r&&a.name!==h;(x||p)&&i(RegExp.prototype,h,function(){var _=l(this),b=c(_.source),S=c(s(_));return"/"+b+"/"+S},{unsafe:!0})},69772:function(d,g,e){"use strict";var r=e(48059),i=e(40942);r("Set",function(l){return function(){return l(this,arguments.length?arguments[0]:void 0)}},i)},93379:function(d,g,e){"use strict";e(69772)},34932:function(d,g,e){"use strict";var r=e(94488),i=e(95994),l=e(17691);r({target:"String",proto:!0,forced:l("anchor")},{anchor:function(f){return i(this,"a","name",f)}})},62007:function(d,g,e){"use strict";var r=e(94488),i=e(94237),l=e(95955),c=e(56902),f=e(69905),s=e(3338),h=i("".charAt),u=s(function(){return"\u{20BB7}".at(-2)!=="\uD842"});r({target:"String",proto:!0,forced:u},{at:function(x){var p=f(l(this)),y=p.length,_=c(x),b=_>=0?_:y+_;return b<0||b>=y?void 0:h(p,b)}})},81046:function(d,g,e){"use strict";var r=e(94488),i=e(95994),l=e(17691);r({target:"String",proto:!0,forced:l("big")},{big:function(){return i(this,"big","","")}})},85744:function(d,g,e){"use strict";var r=e(94488),i=e(95994),l=e(17691);r({target:"String",proto:!0,forced:l("blink")},{blink:function(){return i(this,"blink","","")}})},13494:function(d,g,e){"use strict";var r=e(94488),i=e(95994),l=e(17691);r({target:"String",proto:!0,forced:l("bold")},{bold:function(){return i(this,"b","","")}})},90572:function(d,g,e){"use strict";var r=e(94488),i=e(13764).codeAt;r({target:"String",proto:!0},{codePointAt:function(c){return i(this,c)}})},37343:function(d,g,e){"use strict";var r=e(94488),i=e(34114),l=e(71256).f,c=e(61578),f=e(69905),s=e(41696),h=e(95955),u=e(86266),a=e(16697),x=i("".endsWith),p=i("".slice),y=Math.min,_=u("endsWith"),b=!a&&!_&&!!function(){var S=l(String.prototype,"endsWith");return S&&!S.writable}();r({target:"String",proto:!0,forced:!b&&!_},{endsWith:function(R){var L=f(h(this));s(R);var T=arguments.length>1?arguments[1]:void 0,D=L.length,M=T===void 0?D:y(c(T),D),N=f(R);return x?x(L,N,M):p(L,M-N.length,M)===N}})},56338:function(d,g,e){"use strict";var r=e(94488),i=e(95994),l=e(17691);r({target:"String",proto:!0,forced:l("fixed")},{fixed:function(){return i(this,"tt","","")}})},66755:function(d,g,e){"use strict";var r=e(94488),i=e(95994),l=e(17691);r({target:"String",proto:!0,forced:l("fontcolor")},{fontcolor:function(f){return i(this,"font","color",f)}})},68709:function(d,g,e){"use strict";var r=e(94488),i=e(95994),l=e(17691);r({target:"String",proto:!0,forced:l("fontsize")},{fontsize:function(f){return i(this,"font","size",f)}})},45945:function(d,g,e){"use strict";var r=e(94488),i=e(94237),l=e(51981),c=RangeError,f=String.fromCharCode,s=String.fromCodePoint,h=i([].join),u=!!s&&s.length!==1;r({target:"String",stat:!0,arity:1,forced:u},{fromCodePoint:function(x){for(var p=[],y=arguments.length,_=0,b;y>_;){if(b=+arguments[_++],l(b,1114111)!==b)throw new c(b+" is not a valid code point");p[_]=b<65536?f(b):f(((b-=65536)>>10)+55296,b%1024+56320)}return h(p,"")}})},75551:function(d,g,e){"use strict";var r=e(94488),i=e(94237),l=e(41696),c=e(95955),f=e(69905),s=e(86266),h=i("".indexOf);r({target:"String",proto:!0,forced:!s("includes")},{includes:function(a){return!!~h(f(c(this)),f(l(a)),arguments.length>1?arguments[1]:void 0)}})},32493:function(d,g,e){"use strict";var r=e(94488),i=e(94237),l=e(95955),c=e(69905),f=i("".charCodeAt);r({target:"String",proto:!0},{isWellFormed:function(){for(var h=c(l(this)),u=h.length,a=0;a<u;a++){var x=f(h,a);if((x&63488)===55296&&(x>=56320||++a>=u||(f(h,a)&64512)!==56320))return!1}return!0}})},4939:function(d,g,e){"use strict";var r=e(94488),i=e(95994),l=e(17691);r({target:"String",proto:!0,forced:l("italics")},{italics:function(){return i(this,"i","","")}})},20852:function(d,g,e){"use strict";var r=e(13764).charAt,i=e(69905),l=e(94844),c=e(24019),f=e(25587),s="String Iterator",h=l.set,u=l.getterFor(s);c(String,"String",function(a){h(this,{type:s,string:i(a),index:0})},function(){var x=u(this),p=x.string,y=x.index,_;return y>=p.length?f(void 0,!0):(_=r(p,y),x.index+=_.length,f(_,!1))})},81927:function(d,g,e){"use strict";var r=e(94488),i=e(95994),l=e(17691);r({target:"String",proto:!0,forced:l("link")},{link:function(f){return i(this,"a","href",f)}})},18827:function(d,g,e){"use strict";var r=e(94488),i=e(89945),l=e(34114),c=e(83126),f=e(25587),s=e(95955),h=e(61578),u=e(69905),a=e(80449),x=e(4112),p=e(29076),y=e(44639),_=e(81644),b=e(53776),S=e(2291),R=e(3338),L=e(59893),T=e(60473),D=e(52216),M=e(94338),N=e(94844),j=e(16697),Q=L("matchAll"),X="RegExp String",Y=X+" Iterator",oe=N.set,ie=N.getterFor(Y),ue=RegExp.prototype,K=TypeError,V=l("".indexOf),G=l("".matchAll),te=!!G&&!R(function(){G("a",/./)}),q=c(function(z,F,se,_e){oe(this,{type:Y,regexp:z,string:F,global:se,unicode:_e,done:!1})},X,function(){var z=ie(this);if(z.done)return f(void 0,!0);var F=z.regexp,se=z.string,_e=M(F,se);return _e===null?(z.done=!0,f(void 0,!0)):z.global?(u(_e[0])===""&&(F.lastIndex=D(se,h(F.lastIndex),z.unicode)),f(_e,!1)):(z.done=!0,f(_e,!1))}),J=function(le){var z=a(this),F=u(le),se=T(z,RegExp),_e=u(_(z)),Pe,Re,Ze;return Pe=new se(se===RegExp?z.source:z,_e),Re=!!~V(_e,"g"),Ze=!!~V(_e,"u"),Pe.lastIndex=h(z.lastIndex),new q(Pe,F,Re,Ze)};r({target:"String",proto:!0,forced:te},{matchAll:function(z){var F=s(this),se,_e,Pe,Re;if(x(z)){if(te)return G(F,z)}else{if(y(z)&&(se=u(s(_(z))),!~V(se,"g")))throw new K("`.matchAll` does not allow non-global regexes");if(te)return G(F,z);if(Pe=b(z,Q),Pe===void 0&&j&&p(z)==="RegExp"&&(Pe=J),Pe)return i(Pe,z,F)}return _e=u(F),Re=new RegExp(z,"g"),j?i(J,Re,_e):Re[Q](_e)}}),j||Q in ue||S(ue,Q,J)},46302:function(d,g,e){"use strict";var r=e(89945),i=e(8662),l=e(80449),c=e(4112),f=e(61578),s=e(69905),h=e(95955),u=e(53776),a=e(52216),x=e(94338);i("match",function(p,y,_){return[function(S){var R=h(this),L=c(S)?void 0:u(S,p);return L?r(L,S,R):new RegExp(S)[p](s(R))},function(b){var S=l(this),R=s(b),L=_(y,S,R);if(L.done)return L.value;if(!S.global)return x(S,R);var T=S.unicode;S.lastIndex=0;for(var D=[],M=0,N;(N=x(S,R))!==null;){var j=s(N[0]);D[M]=j,j===""&&(S.lastIndex=a(R,f(S.lastIndex),T)),M++}return M===0?null:D}]})},76718:function(d,g,e){"use strict";var r=e(94488),i=e(85571).end,l=e(98352);r({target:"String",proto:!0,forced:l},{padEnd:function(f){return i(this,f,arguments.length>1?arguments[1]:void 0)}})},79172:function(d,g,e){"use strict";var r=e(94488),i=e(85571).start,l=e(98352);r({target:"String",proto:!0,forced:l},{padStart:function(f){return i(this,f,arguments.length>1?arguments[1]:void 0)}})},32192:function(d,g,e){"use strict";var r=e(94488),i=e(94237),l=e(80524),c=e(94029),f=e(69905),s=e(82762),h=i([].push),u=i([].join);r({target:"String",stat:!0},{raw:function(x){var p=l(c(x).raw),y=s(p);if(!y)return"";for(var _=arguments.length,b=[],S=0;;){if(h(b,f(p[S++])),S===y)return u(b,"");S<_&&h(b,f(arguments[S]))}}})},42828:function(d,g,e){"use strict";var r=e(94488),i=e(71049);r({target:"String",proto:!0},{repeat:i})},55629:function(d,g,e){"use strict";var r=e(94488),i=e(89945),l=e(94237),c=e(95955),f=e(55327),s=e(4112),h=e(44639),u=e(69905),a=e(53776),x=e(81644),p=e(23011),y=e(59893),_=e(16697),b=y("replace"),S=TypeError,R=l("".indexOf),L=l("".replace),T=l("".slice),D=Math.max,M=function(N,j,Q){return Q>N.length?-1:j===""?Q:R(N,j,Q)};r({target:"String",proto:!0},{replaceAll:function(j,Q){var X=c(this),Y,oe,ie,ue,K,V,G,te,q,J=0,le=0,z="";if(!s(j)){if(Y=h(j),Y&&(oe=u(c(x(j))),!~R(oe,"g")))throw new S("`.replaceAll` does not allow non-global regexes");if(ie=a(j,b),ie)return i(ie,j,X,Q);if(_&&Y)return L(u(X),j,Q)}for(ue=u(X),K=u(j),V=f(Q),V||(Q=u(Q)),G=K.length,te=D(1,G),J=M(ue,K,0);J!==-1;)q=V?u(Q(K,J,ue)):p(K,ue,J,[],void 0,Q),z+=T(ue,le,J)+q,le=J+G,J=M(ue,K,J+te);return le<ue.length&&(z+=T(ue,le)),z}})},5658:function(d,g,e){"use strict";var r=e(13743),i=e(89945),l=e(94237),c=e(8662),f=e(3338),s=e(80449),h=e(55327),u=e(4112),a=e(56902),x=e(61578),p=e(69905),y=e(95955),_=e(52216),b=e(53776),S=e(23011),R=e(94338),L=e(59893),T=L("replace"),D=Math.max,M=Math.min,N=l([].concat),j=l([].push),Q=l("".indexOf),X=l("".slice),Y=function(K){return K===void 0?K:String(K)},oe=function(){return"a".replace(/./,"$0")==="$0"}(),ie=function(){return/./[T]?/./[T]("a","$0")==="":!1}(),ue=!f(function(){var K=/./;return K.exec=function(){var V=[];return V.groups={a:"7"},V},"".replace(K,"$<a>")!=="7"});c("replace",function(K,V,G){var te=ie?"$":"$0";return[function(J,le){var z=y(this),F=u(J)?void 0:b(J,T);return F?i(F,J,z,le):i(V,p(z),J,le)},function(q,J){var le=s(this),z=p(q);if(typeof J=="string"&&Q(J,te)===-1&&Q(J,"$<")===-1){var F=G(V,le,z,J);if(F.done)return F.value}var se=h(J);se||(J=p(J));var _e=le.global,Pe;_e&&(Pe=le.unicode,le.lastIndex=0);for(var Re=[],Ze;Ze=R(le,z),!(Ze===null||(j(Re,Ze),!_e));){var $e=p(Ze[0]);$e===""&&(le.lastIndex=_(z,x(le.lastIndex),Pe))}for(var Ht="",bt=0,Ot=0;Ot<Re.length;Ot++){Ze=Re[Ot];for(var qt=p(Ze[0]),er=D(M(a(Ze.index),z.length),0),Jt=[],Xe,Pt=1;Pt<Ze.length;Pt++)j(Jt,Y(Ze[Pt]));var Ut=Ze.groups;if(se){var st=N([qt],Jt,er,z);Ut!==void 0&&j(st,Ut),Xe=p(r(J,void 0,st))}else Xe=S(qt,z,er,Jt,Ut,J);er>=bt&&(Ht+=X(z,bt,er)+Xe,bt=er+qt.length)}return Ht+X(z,bt)}]},!ue||!oe||ie)},62925:function(d,g,e){"use strict";var r=e(89945),i=e(8662),l=e(80449),c=e(4112),f=e(95955),s=e(5370),h=e(69905),u=e(53776),a=e(94338);i("search",function(x,p,y){return[function(b){var S=f(this),R=c(b)?void 0:u(b,x);return R?r(R,b,S):new RegExp(b)[x](h(S))},function(_){var b=l(this),S=h(_),R=y(p,b,S);if(R.done)return R.value;var L=b.lastIndex;s(L,0)||(b.lastIndex=0);var T=a(b,S);return s(b.lastIndex,L)||(b.lastIndex=L),T===null?-1:T.index}]})},60462:function(d,g,e){"use strict";var r=e(94488),i=e(95994),l=e(17691);r({target:"String",proto:!0,forced:l("small")},{small:function(){return i(this,"small","","")}})},9595:function(d,g,e){"use strict";var r=e(13743),i=e(89945),l=e(94237),c=e(8662),f=e(80449),s=e(4112),h=e(44639),u=e(95955),a=e(60473),x=e(52216),p=e(61578),y=e(69905),_=e(53776),b=e(71698),S=e(94338),R=e(88736),L=e(19286),T=e(3338),D=L.UNSUPPORTED_Y,M=4294967295,N=Math.min,j=[].push,Q=l(/./.exec),X=l(j),Y=l("".slice),oe=!T(function(){var ie=/(?:)/,ue=ie.exec;ie.exec=function(){return ue.apply(this,arguments)};var K="ab".split(ie);return K.length!==2||K[0]!=="a"||K[1]!=="b"});c("split",function(ie,ue,K){var V;return"abbc".split(/(b)*/)[1]==="c"||"test".split(/(?:)/,-1).length!==4||"ab".split(/(?:ab)*/).length!==2||".".split(/(.?)(.?)/).length!==4||".".split(/()()/).length>1||"".split(/.?/).length?V=function(G,te){var q=y(u(this)),J=te===void 0?M:te>>>0;if(J===0)return[];if(G===void 0)return[q];if(!h(G))return i(ue,q,G,J);for(var le=[],z=(G.ignoreCase?"i":"")+(G.multiline?"m":"")+(G.unicode?"u":"")+(G.sticky?"y":""),F=0,se=new RegExp(G.source,z+"g"),_e,Pe,Re;(_e=i(R,se,q))&&(Pe=se.lastIndex,!(Pe>F&&(X(le,Y(q,F,_e.index)),_e.length>1&&_e.index<q.length&&r(j,le,b(_e,1)),Re=_e[0].length,F=Pe,le.length>=J)));)se.lastIndex===_e.index&&se.lastIndex++;return F===q.length?(Re||!Q(se,""))&&X(le,""):X(le,Y(q,F)),le.length>J?b(le,0,J):le}:"0".split(void 0,0).length?V=function(G,te){return G===void 0&&te===0?[]:i(ue,this,G,te)}:V=ue,[function(te,q){var J=u(this),le=s(te)?void 0:_(te,ie);return le?i(le,te,J,q):i(V,y(J),te,q)},function(G,te){var q=f(this),J=y(G),le=K(V,q,J,te,V!==ue);if(le.done)return le.value;var z=a(q,RegExp),F=q.unicode,se=(q.ignoreCase?"i":"")+(q.multiline?"m":"")+(q.unicode?"u":"")+(D?"g":"y"),_e=new z(D?"^(?:"+q.source+")":q,se),Pe=te===void 0?M:te>>>0;if(Pe===0)return[];if(J.length===0)return S(_e,J)===null?[J]:[];for(var Re=0,Ze=0,$e=[];Ze<J.length;){_e.lastIndex=D?0:Ze;var Ht=S(_e,D?Y(J,Ze):J),bt;if(Ht===null||(bt=N(p(_e.lastIndex+(D?Ze:0)),J.length))===Re)Ze=x(J,Ze,F);else{if(X($e,Y(J,Re,Ze)),$e.length===Pe)return $e;for(var Ot=1;Ot<=Ht.length-1;Ot++)if(X($e,Ht[Ot]),$e.length===Pe)return $e;Ze=Re=bt}}return X($e,Y(J,Re)),$e}]},!oe,D)},58127:function(d,g,e){"use strict";var r=e(94488),i=e(34114),l=e(71256).f,c=e(61578),f=e(69905),s=e(41696),h=e(95955),u=e(86266),a=e(16697),x=i("".startsWith),p=i("".slice),y=Math.min,_=u("startsWith"),b=!a&&!_&&!!function(){var S=l(String.prototype,"startsWith");return S&&!S.writable}();r({target:"String",proto:!0,forced:!b&&!_},{startsWith:function(R){var L=f(h(this));s(R);var T=c(y(arguments.length>1?arguments[1]:void 0,L.length)),D=f(R);return x?x(L,D,T):p(L,T,T+D.length)===D}})},72571:function(d,g,e){"use strict";var r=e(94488),i=e(95994),l=e(17691);r({target:"String",proto:!0,forced:l("strike")},{strike:function(){return i(this,"strike","","")}})},71200:function(d,g,e){"use strict";var r=e(94488),i=e(95994),l=e(17691);r({target:"String",proto:!0,forced:l("sub")},{sub:function(){return i(this,"sub","","")}})},70917:function(d,g,e){"use strict";var r=e(94488),i=e(94237),l=e(95955),c=e(56902),f=e(69905),s=i("".slice),h=Math.max,u=Math.min,a=!"".substr||"ab".substr(-1)!=="b";r({target:"String",proto:!0,forced:a},{substr:function(p,y){var _=f(l(this)),b=_.length,S=c(p),R,L;return S===1/0&&(S=0),S<0&&(S=h(b+S,0)),R=y===void 0?b:c(y),R<=0||R===1/0?"":(L=u(S+R,b),S>=L?"":s(_,S,L))}})},85767:function(d,g,e){"use strict";var r=e(94488),i=e(95994),l=e(17691);r({target:"String",proto:!0,forced:l("sup")},{sup:function(){return i(this,"sup","","")}})},53427:function(d,g,e){"use strict";var r=e(94488),i=e(89945),l=e(94237),c=e(95955),f=e(69905),s=e(3338),h=Array,u=l("".charAt),a=l("".charCodeAt),x=l([].join),p="".toWellFormed,y="\uFFFD",_=p&&s(function(){return i(p,1)!=="1"});r({target:"String",proto:!0,forced:_},{toWellFormed:function(){var S=f(c(this));if(_)return i(p,S);for(var R=S.length,L=h(R),T=0;T<R;T++){var D=a(S,T);(D&63488)!==55296?L[T]=u(S,T):D>=56320||T+1>=R||(a(S,T+1)&64512)!==56320?L[T]=y:(L[T]=u(S,T),L[++T]=u(S,T))}return x(L,"")}})},49257:function(d,g,e){"use strict";e(20189);var r=e(94488),i=e(9591);r({target:"String",proto:!0,name:"trimEnd",forced:"".trimEnd!==i},{trimEnd:i})},93980:function(d,g,e){"use strict";var r=e(94488),i=e(27374);r({target:"String",proto:!0,name:"trimStart",forced:"".trimLeft!==i},{trimLeft:i})},20189:function(d,g,e){"use strict";var r=e(94488),i=e(9591);r({target:"String",proto:!0,name:"trimEnd",forced:"".trimRight!==i},{trimRight:i})},72910:function(d,g,e){"use strict";e(93980);var r=e(94488),i=e(27374);r({target:"String",proto:!0,name:"trimStart",forced:"".trimStart!==i},{trimStart:i})},70878:function(d,g,e){"use strict";var r=e(94488),i=e(52971).trim,l=e(18105);r({target:"String",proto:!0,forced:l("trim")},{trim:function(){return i(this)}})},64003:function(d,g,e){"use strict";var r=e(94674);r("asyncIterator")},39161:function(d,g,e){"use strict";var r=e(94488),i=e(92916),l=e(89945),c=e(94237),f=e(16697),s=e(35454),h=e(42820),u=e(3338),a=e(32621),x=e(16332),p=e(80449),y=e(80524),_=e(17818),b=e(69905),S=e(35012),R=e(20132),L=e(7733),T=e(80689),D=e(53393),M=e(92635),N=e(71256),j=e(37691),Q=e(55666),X=e(27597),Y=e(2291),oe=e(64110),ie=e(77898),ue=e(11898),K=e(54406),V=e(6145),G=e(59893),te=e(38282),q=e(94674),J=e(14311),le=e(94573),z=e(94844),F=e(90560).forEach,se=ue("hidden"),_e="Symbol",Pe="prototype",Re=z.set,Ze=z.getterFor(_e),$e=Object[Pe],Ht=i.Symbol,bt=Ht&&Ht[Pe],Ot=i.RangeError,qt=i.TypeError,er=i.QObject,Jt=N.f,Xe=j.f,Pt=D.f,Ut=X.f,st=c([].push),yt=ie("symbols"),ht=ie("op-symbols"),Je=ie("wks"),je=!er||!er[Pe]||!er[Pe].findChild,ge=function(qe,Gt,kt){var Zt=Jt($e,Gt);Zt&&delete $e[Gt],Xe(qe,Gt,kt),Zt&&qe!==$e&&Xe($e,Gt,Zt)},Se=s&&u(function(){return R(Xe({},"a",{get:function(){return Xe(this,"a",{value:7}).a}})).a!==7})?ge:Xe,Me=function(qe,Gt){var kt=yt[qe]=R(bt);return Re(kt,{type:_e,tag:qe,description:Gt}),s||(kt.description=Gt),kt},Ne=function(Gt,kt,Zt){Gt===$e&&Ne(ht,kt,Zt),p(Gt);var Nt=_(kt);return p(Zt),a(yt,Nt)?(Zt.enumerable?(a(Gt,se)&&Gt[se][Nt]&&(Gt[se][Nt]=!1),Zt=R(Zt,{enumerable:S(0,!1)})):(a(Gt,se)||Xe(Gt,se,S(1,{})),Gt[se][Nt]=!0),Se(Gt,Nt,Zt)):Xe(Gt,Nt,Zt)},He=function(Gt,kt){p(Gt);var Zt=y(kt),Nt=L(Zt).concat(Ie(Zt));return F(Nt,function(Ct){(!s||l(ct,Zt,Ct))&&Ne(Gt,Ct,Zt[Ct])}),Gt},nt=function(Gt,kt){return kt===void 0?R(Gt):He(R(Gt),kt)},ct=function(Gt){var kt=_(Gt),Zt=l(Ut,this,kt);return this===$e&&a(yt,kt)&&!a(ht,kt)?!1:Zt||!a(this,kt)||!a(yt,kt)||a(this,se)&&this[se][kt]?Zt:!0},Vt=function(Gt,kt){var Zt=y(Gt),Nt=_(kt);if(!(Zt===$e&&a(yt,Nt)&&!a(ht,Nt))){var Ct=Jt(Zt,Nt);return Ct&&a(yt,Nt)&&!(a(Zt,se)&&Zt[se][Nt])&&(Ct.enumerable=!0),Ct}},Wt=function(Gt){var kt=Pt(y(Gt)),Zt=[];return F(kt,function(Nt){!a(yt,Nt)&&!a(K,Nt)&&st(Zt,Nt)}),Zt},Ie=function(qe){var Gt=qe===$e,kt=Pt(Gt?ht:y(qe)),Zt=[];return F(kt,function(Nt){a(yt,Nt)&&(!Gt||a($e,Nt))&&st(Zt,yt[Nt])}),Zt};h||(Ht=function(){if(x(bt,this))throw new qt("Symbol is not a constructor");var Gt=!arguments.length||arguments[0]===void 0?void 0:b(arguments[0]),kt=V(Gt),Zt=function(Nt){var Ct=this===void 0?i:this;Ct===$e&&l(Zt,ht,Nt),a(Ct,se)&&a(Ct[se],kt)&&(Ct[se][kt]=!1);var Yt=S(1,Nt);try{Se(Ct,kt,Yt)}catch(We){if(!(We instanceof Ot))throw We;ge(Ct,kt,Yt)}};return s&&je&&Se($e,kt,{configurable:!0,set:Zt}),Me(kt,Gt)},bt=Ht[Pe],Y(bt,"toString",function(){return Ze(this).tag}),Y(Ht,"withoutSetter",function(qe){return Me(V(qe),qe)}),X.f=ct,j.f=Ne,Q.f=He,N.f=Vt,T.f=D.f=Wt,M.f=Ie,te.f=function(qe){return Me(G(qe),qe)},s&&(oe(bt,"description",{configurable:!0,get:function(){return Ze(this).description}}),f||Y($e,"propertyIsEnumerable",ct,{unsafe:!0}))),r({global:!0,constructor:!0,wrap:!0,forced:!h,sham:!h},{Symbol:Ht}),F(L(Je),function(qe){q(qe)}),r({target:_e,stat:!0,forced:!h},{useSetter:function(){je=!0},useSimple:function(){je=!1}}),r({target:"Object",stat:!0,forced:!h,sham:!s},{create:nt,defineProperty:Ne,defineProperties:He,getOwnPropertyDescriptor:Vt}),r({target:"Object",stat:!0,forced:!h},{getOwnPropertyNames:Wt}),J(),le(Ht,_e),K[se]=!0},44852:function(d,g,e){"use strict";var r=e(94488),i=e(35454),l=e(92916),c=e(94237),f=e(32621),s=e(55327),h=e(16332),u=e(69905),a=e(64110),x=e(24538),p=l.Symbol,y=p&&p.prototype;if(i&&s(p)&&(!("description"in y)||p().description!==void 0)){var _={},b=function(){var j=arguments.length<1||arguments[0]===void 0?void 0:u(arguments[0]),Q=h(y,this)?new p(j):j===void 0?p():p(j);return j===""&&(_[Q]=!0),Q};x(b,p),b.prototype=y,y.constructor=b;var S=String(p("description detection"))==="Symbol(description detection)",R=c(y.valueOf),L=c(y.toString),T=/^Symbol\((.*)\)[^)]+$/,D=c("".replace),M=c("".slice);a(y,"description",{configurable:!0,get:function(){var j=R(this);if(f(_,j))return"";var Q=L(j),X=S?M(Q,7,-1):D(Q,T,"$1");return X===""?void 0:X}}),r({global:!0,constructor:!0,forced:!0},{Symbol:b})}},54524:function(d,g,e){"use strict";var r=e(94488),i=e(65911),l=e(32621),c=e(69905),f=e(77898),s=e(60798),h=f("string-to-symbol-registry"),u=f("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!s},{for:function(a){var x=c(a);if(l(h,x))return h[x];var p=i("Symbol")(x);return h[x]=p,u[p]=x,p}})},17898:function(d,g,e){"use strict";var r=e(94674);r("hasInstance")},40902:function(d,g,e){"use strict";var r=e(94674);r("isConcatSpreadable")},2259:function(d,g,e){"use strict";var r=e(94674);r("iterator")},68557:function(d,g,e){"use strict";e(39161),e(54524),e(32340),e(54226),e(67936)},32340:function(d,g,e){"use strict";var r=e(94488),i=e(32621),l=e(18446),c=e(40593),f=e(77898),s=e(60798),h=f("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!s},{keyFor:function(a){if(!l(a))throw new TypeError(c(a)+" is not a symbol");if(i(h,a))return h[a]}})},69811:function(d,g,e){"use strict";var r=e(94674);r("matchAll")},14589:function(d,g,e){"use strict";var r=e(94674);r("match")},18114:function(d,g,e){"use strict";var r=e(94674);r("replace")},23844:function(d,g,e){"use strict";var r=e(94674);r("search")},39581:function(d,g,e){"use strict";var r=e(94674);r("species")},40632:function(d,g,e){"use strict";var r=e(94674);r("split")},22690:function(d,g,e){"use strict";var r=e(94674),i=e(14311);r("toPrimitive"),i()},7786:function(d,g,e){"use strict";var r=e(65911),i=e(94674),l=e(94573);i("toStringTag"),l(r("Symbol"),"Symbol")},99062:function(d,g,e){"use strict";var r=e(94674);r("unscopables")},35246:function(d,g,e){"use strict";var r=e(58261),i=e(82762),l=e(56902),c=r.aTypedArray,f=r.exportTypedArrayMethod;f("at",function(h){var u=c(this),a=i(u),x=l(h),p=x>=0?x:a+x;return p<0||p>=a?void 0:u[p]})},83470:function(d,g,e){"use strict";var r=e(94237),i=e(58261),l=e(92670),c=r(l),f=i.aTypedArray,s=i.exportTypedArrayMethod;s("copyWithin",function(u,a){return c(f(this),u,a,arguments.length>2?arguments[2]:void 0)})},79641:function(d,g,e){"use strict";var r=e(58261),i=e(90560).every,l=r.aTypedArray,c=r.exportTypedArrayMethod;c("every",function(s){return i(l(this),s,arguments.length>1?arguments[1]:void 0)})},72397:function(d,g,e){"use strict";var r=e(58261),i=e(75202),l=e(93303),c=e(97607),f=e(89945),s=e(94237),h=e(3338),u=r.aTypedArray,a=r.exportTypedArrayMethod,x=s("".slice),p=h(function(){var y=0;return new Int8Array(2).fill({valueOf:function(){return y++}}),y!==1});a("fill",function(_){var b=arguments.length;u(this);var S=x(c(this),0,3)==="Big"?l(_):+_;return f(i,this,S,b>1?arguments[1]:void 0,b>2?arguments[2]:void 0)},p)},24860:function(d,g,e){"use strict";var r=e(58261),i=e(90560).filter,l=e(27607),c=r.aTypedArray,f=r.exportTypedArrayMethod;f("filter",function(h){var u=i(c(this),h,arguments.length>1?arguments[1]:void 0);return l(this,u)})},56233:function(d,g,e){"use strict";var r=e(58261),i=e(90560).findIndex,l=r.aTypedArray,c=r.exportTypedArrayMethod;c("findIndex",function(s){return i(l(this),s,arguments.length>1?arguments[1]:void 0)})},64344:function(d,g,e){"use strict";var r=e(58261),i=e(53279).findLastIndex,l=r.aTypedArray,c=r.exportTypedArrayMethod;c("findLastIndex",function(s){return i(l(this),s,arguments.length>1?arguments[1]:void 0)})},59419:function(d,g,e){"use strict";var r=e(58261),i=e(53279).findLast,l=r.aTypedArray,c=r.exportTypedArrayMethod;c("findLast",function(s){return i(l(this),s,arguments.length>1?arguments[1]:void 0)})},19320:function(d,g,e){"use strict";var r=e(58261),i=e(90560).find,l=r.aTypedArray,c=r.exportTypedArrayMethod;c("find",function(s){return i(l(this),s,arguments.length>1?arguments[1]:void 0)})},84432:function(d,g,e){"use strict";var r=e(69733);r("Float32",function(i){return function(c,f,s){return i(this,c,f,s)}})},59022:function(d,g,e){"use strict";var r=e(69733);r("Float64",function(i){return function(c,f,s){return i(this,c,f,s)}})},5316:function(d,g,e){"use strict";var r=e(58261),i=e(90560).forEach,l=r.aTypedArray,c=r.exportTypedArrayMethod;c("forEach",function(s){i(l(this),s,arguments.length>1?arguments[1]:void 0)})},93744:function(d,g,e){"use strict";var r=e(59627),i=e(58261).exportTypedArrayStaticMethod,l=e(50706);i("from",l,r)},19299:function(d,g,e){"use strict";var r=e(58261),i=e(22999).includes,l=r.aTypedArray,c=r.exportTypedArrayMethod;c("includes",function(s){return i(l(this),s,arguments.length>1?arguments[1]:void 0)})},15286:function(d,g,e){"use strict";var r=e(58261),i=e(22999).indexOf,l=r.aTypedArray,c=r.exportTypedArrayMethod;c("indexOf",function(s){return i(l(this),s,arguments.length>1?arguments[1]:void 0)})},51054:function(d,g,e){"use strict";var r=e(69733);r("Int16",function(i){return function(c,f,s){return i(this,c,f,s)}})},60330:function(d,g,e){"use strict";var r=e(69733);r("Int32",function(i){return function(c,f,s){return i(this,c,f,s)}})},19363:function(d,g,e){"use strict";var r=e(69733);r("Int8",function(i){return function(c,f,s){return i(this,c,f,s)}})},91927:function(d,g,e){"use strict";var r=e(92916),i=e(3338),l=e(94237),c=e(58261),f=e(11005),s=e(59893),h=s("iterator"),u=r.Uint8Array,a=l(f.values),x=l(f.keys),p=l(f.entries),y=c.aTypedArray,_=c.exportTypedArrayMethod,b=u&&u.prototype,S=!i(function(){b[h].call([1])}),R=!!b&&b.values&&b[h]===b.values&&b.values.name==="values",L=function(){return a(y(this))};_("entries",function(){return p(y(this))},S),_("keys",function(){return x(y(this))},S),_("values",L,S||!R,{name:"values"}),_(h,L,S||!R,{name:"values"})},27730:function(d,g,e){"use strict";var r=e(58261),i=e(94237),l=r.aTypedArray,c=r.exportTypedArrayMethod,f=i([].join);c("join",function(h){return f(l(this),h)})},58707:function(d,g,e){"use strict";var r=e(58261),i=e(13743),l=e(55009),c=r.aTypedArray,f=r.exportTypedArrayMethod;f("lastIndexOf",function(h){var u=arguments.length;return i(l,c(this),u>1?[h,arguments[1]]:[h])})},41356:function(d,g,e){"use strict";var r=e(58261),i=e(90560).map,l=e(31384),c=r.aTypedArray,f=r.exportTypedArrayMethod;f("map",function(h){return i(c(this),h,arguments.length>1?arguments[1]:void 0,function(u,a){return new(l(u))(a)})})},51606:function(d,g,e){"use strict";var r=e(58261),i=e(59627),l=r.aTypedArrayConstructor,c=r.exportTypedArrayStaticMethod;c("of",function(){for(var s=0,h=arguments.length,u=new(l(this))(h);h>s;)u[s]=arguments[s++];return u},i)},38458:function(d,g,e){"use strict";var r=e(58261),i=e(16370).right,l=r.aTypedArray,c=r.exportTypedArrayMethod;c("reduceRight",function(s){var h=arguments.length;return i(l(this),s,h,h>1?arguments[1]:void 0)})},8966:function(d,g,e){"use strict";var r=e(58261),i=e(16370).left,l=r.aTypedArray,c=r.exportTypedArrayMethod;c("reduce",function(s){var h=arguments.length;return i(l(this),s,h,h>1?arguments[1]:void 0)})},71957:function(d,g,e){"use strict";var r=e(58261),i=r.aTypedArray,l=r.exportTypedArrayMethod,c=Math.floor;l("reverse",function(){for(var s=this,h=i(s).length,u=c(h/2),a=0,x;a<u;)x=s[a],s[a++]=s[--h],s[h]=x;return s})},89466:function(d,g,e){"use strict";var r=e(92916),i=e(89945),l=e(58261),c=e(82762),f=e(64135),s=e(94029),h=e(3338),u=r.RangeError,a=r.Int8Array,x=a&&a.prototype,p=x&&x.set,y=l.aTypedArray,_=l.exportTypedArrayMethod,b=!h(function(){var R=new Uint8ClampedArray(2);return i(p,R,{length:1,0:3},1),R[1]!==3}),S=b&&l.NATIVE_ARRAY_BUFFER_VIEWS&&h(function(){var R=new a(2);return R.set(1),R.set("2",1),R[0]!==0||R[1]!==2});_("set",function(L){y(this);var T=f(arguments.length>1?arguments[1]:void 0,1),D=s(L);if(b)return i(p,this,D,T);var M=this.length,N=c(D),j=0;if(N+T>M)throw new u("Wrong length");for(;j<N;)this[T+j]=D[j++]},!b||S)},69653:function(d,g,e){"use strict";var r=e(58261),i=e(31384),l=e(3338),c=e(30867),f=r.aTypedArray,s=r.exportTypedArrayMethod,h=l(function(){new Int8Array(1).slice()});s("slice",function(a,x){for(var p=c(f(this),a,x),y=i(this),_=0,b=p.length,S=new y(b);b>_;)S[_]=p[_++];return S},h)},96519:function(d,g,e){"use strict";var r=e(58261),i=e(90560).some,l=r.aTypedArray,c=r.exportTypedArrayMethod;c("some",function(s){return i(l(this),s,arguments.length>1?arguments[1]:void 0)})},95576:function(d,g,e){"use strict";var r=e(92916),i=e(34114),l=e(3338),c=e(63335),f=e(63668),s=e(58261),h=e(78177),u=e(17687),a=e(46573),x=e(19684),p=s.aTypedArray,y=s.exportTypedArrayMethod,_=r.Uint16Array,b=_&&i(_.prototype.sort),S=!!b&&!(l(function(){b(new _(2),null)})&&l(function(){b(new _(2),{})})),R=!!b&&!l(function(){if(a)return a<74;if(h)return h<67;if(u)return!0;if(x)return x<602;var T=new _(516),D=Array(516),M,N;for(M=0;M<516;M++)N=M%4,T[M]=515-M,D[M]=M-2*N+3;for(b(T,function(j,Q){return(j/4|0)-(Q/4|0)}),M=0;M<516;M++)if(T[M]!==D[M])return!0}),L=function(T){return function(D,M){return T!==void 0?+T(D,M)||0:M!==M?-1:D!==D?1:D===0&&M===0?1/D>0&&1/M<0?1:-1:D>M}};y("sort",function(D){return D!==void 0&&c(D),R?b(this,D):f(p(this),L(D))},!R||S)},63079:function(d,g,e){"use strict";var r=e(58261),i=e(61578),l=e(51981),c=e(31384),f=r.aTypedArray,s=r.exportTypedArrayMethod;s("subarray",function(u,a){var x=f(this),p=x.length,y=l(u,p),_=c(x);return new _(x.buffer,x.byteOffset+y*x.BYTES_PER_ELEMENT,i((a===void 0?p:l(a,p))-y))})},8995:function(d,g,e){"use strict";var r=e(92916),i=e(13743),l=e(58261),c=e(3338),f=e(30867),s=r.Int8Array,h=l.aTypedArray,u=l.exportTypedArrayMethod,a=[].toLocaleString,x=!!s&&c(function(){a.call(new s(1))}),p=c(function(){return[1,2].toLocaleString()!==new s([1,2]).toLocaleString()})||!c(function(){s.prototype.toLocaleString.call([1,2])});u("toLocaleString",function(){return i(a,x?f(h(this)):h(this),f(arguments))},p)},23080:function(d,g,e){"use strict";var r=e(85903),i=e(58261),l=i.aTypedArray,c=i.exportTypedArrayMethod,f=i.getTypedArrayConstructor;c("toReversed",function(){return r(l(this),f(this))})},74701:function(d,g,e){"use strict";var r=e(58261),i=e(94237),l=e(63335),c=e(69478),f=r.aTypedArray,s=r.getTypedArrayConstructor,h=r.exportTypedArrayMethod,u=i(r.TypedArrayPrototype.sort);h("toSorted",function(x){x!==void 0&&l(x);var p=f(this),y=c(s(p),p);return u(y,x)})},91809:function(d,g,e){"use strict";var r=e(58261).exportTypedArrayMethod,i=e(3338),l=e(92916),c=e(94237),f=l.Uint8Array,s=f&&f.prototype||{},h=[].toString,u=c([].join);i(function(){h.call({})})&&(h=function(){return u(this)});var a=s.toString!==h;r("toString",h,a)},64336:function(d,g,e){"use strict";var r=e(69733);r("Uint16",function(i){return function(c,f,s){return i(this,c,f,s)}})},63914:function(d,g,e){"use strict";var r=e(69733);r("Uint32",function(i){return function(c,f,s){return i(this,c,f,s)}})},55234:function(d,g,e){"use strict";var r=e(69733);r("Uint8",function(i){return function(c,f,s){return i(this,c,f,s)}})},88104:function(d,g,e){"use strict";var r=e(69733);r("Uint8",function(i){return function(c,f,s){return i(this,c,f,s)}},!0)},77517:function(d,g,e){"use strict";var r=e(82041),i=e(58261),l=e(75406),c=e(56902),f=e(93303),s=i.aTypedArray,h=i.getTypedArrayConstructor,u=i.exportTypedArrayMethod,a=!!function(){try{new Int8Array(1).with(2,{valueOf:function(){throw 8}})}catch(x){return x===8}}();u("with",function(x,p){var y=s(this),_=c(x),b=l(y)?f(p):+p;return r(y,h(y),_,b)},!a)},30149:function(d,g,e){"use strict";var r=e(94488),i=e(94237),l=e(69905),c=String.fromCharCode,f=i("".charAt),s=i(/./.exec),h=i("".slice),u=/^[\da-f]{2}$/i,a=/^[\da-f]{4}$/i;r({global:!0},{unescape:function(p){for(var y=l(p),_="",b=y.length,S=0,R,L;S<b;){if(R=f(y,S++),R==="%"){if(f(y,S)==="u"){if(L=h(y,S+1,S+5),s(a,L)){_+=c(parseInt(L,16)),S+=5;continue}}else if(L=h(y,S,S+2),s(u,L)){_+=c(parseInt(L,16)),S+=2;continue}}_+=R}return _}})},58453:function(d,g,e){"use strict";var r=e(13247),i=e(92916),l=e(94237),c=e(66477),f=e(2074),s=e(48059),h=e(39656),u=e(31946),a=e(94844).enforce,x=e(3338),p=e(40115),y=Object,_=Array.isArray,b=y.isExtensible,S=y.isFrozen,R=y.isSealed,L=y.freeze,T=y.seal,D={},M={},N=!i.ActiveXObject&&"ActiveXObject"in i,j,Q=function(G){return function(){return G(this,arguments.length?arguments[0]:void 0)}},X=s("WeakMap",Q,h),Y=X.prototype,oe=l(Y.set),ie=function(){return r&&x(function(){var G=L([]);return oe(new X,G,1),!S(G)})};if(p)if(N){j=h.getConstructor(Q,"WeakMap",!0),f.enable();var ue=l(Y.delete),K=l(Y.has),V=l(Y.get);c(Y,{delete:function(G){if(u(G)&&!b(G)){var te=a(this);return te.frozen||(te.frozen=new j),ue(this,G)||te.frozen.delete(G)}return ue(this,G)},has:function(te){if(u(te)&&!b(te)){var q=a(this);return q.frozen||(q.frozen=new j),K(this,te)||q.frozen.has(te)}return K(this,te)},get:function(te){if(u(te)&&!b(te)){var q=a(this);return q.frozen||(q.frozen=new j),K(this,te)?V(this,te):q.frozen.get(te)}return V(this,te)},set:function(te,q){if(u(te)&&!b(te)){var J=a(this);J.frozen||(J.frozen=new j),K(this,te)?oe(this,te,q):J.frozen.set(te,q)}else oe(this,te,q);return this}})}else ie()&&c(Y,{set:function(te,q){var J;return _(te)&&(S(te)?J=D:R(te)&&(J=M)),oe(this,te,q),J===D&&L(te),J===M&&T(te),this}})},55410:function(d,g,e){"use strict";e(58453)},65092:function(d,g,e){"use strict";var r=e(48059),i=e(39656);r("WeakSet",function(l){return function(){return l(this,arguments.length?arguments[0]:void 0)}},i)},46161:function(d,g,e){"use strict";e(65092)},88900:function(d,g,e){"use strict";var r=e(35454),i=e(64110),l=e(93683),c=ArrayBuffer.prototype;r&&!("detached"in c)&&i(c,"detached",{configurable:!0,get:function(){return l(this)}})},81138:function(d,g,e){"use strict";var r=e(94488),i=e(39760);i&&r({target:"ArrayBuffer",proto:!0},{transferToFixedLength:function(){return i(this,arguments.length?arguments[0]:void 0,!1)}})},54815:function(d,g,e){"use strict";var r=e(94488),i=e(39760);i&&r({target:"ArrayBuffer",proto:!0},{transfer:function(){return i(this,arguments.length?arguments[0]:void 0,!0)}})},2722:function(d,g,e){"use strict";var r=e(94488),i=e(90560).filterReject,l=e(81181);r({target:"Array",proto:!0,forced:!0},{filterOut:function(f){return i(this,f,arguments.length>1?arguments[1]:void 0)}}),l("filterOut")},55885:function(d,g,e){"use strict";var r=e(94488),i=e(90560).filterReject,l=e(81181);r({target:"Array",proto:!0,forced:!0},{filterReject:function(f){return i(this,f,arguments.length>1?arguments[1]:void 0)}}),l("filterReject")},91130:function(d,g,e){"use strict";var r=e(94488),i=e(32278);r({target:"Array",stat:!0},{fromAsync:i})},64963:function(d,g,e){"use strict";var r=e(94488),i=e(45601),l=e(81181),c=e(33940),f=e(16697);r({target:"Array",proto:!0,name:"groupToMap",forced:f||!i("groupByToMap")},{groupByToMap:c}),l("groupByToMap")},8604:function(d,g,e){"use strict";var r=e(94488),i=e(36444),l=e(45601),c=e(81181);r({target:"Array",proto:!0,forced:!l("groupBy")},{groupBy:function(s){var h=arguments.length>1?arguments[1]:void 0;return i(this,s,h)}}),c("groupBy")},25178:function(d,g,e){"use strict";var r=e(94488),i=e(81181),l=e(33940),c=e(16697);r({target:"Array",proto:!0,forced:c},{groupToMap:l}),i("groupToMap")},39034:function(d,g,e){"use strict";var r=e(94488),i=e(36444),l=e(81181);r({target:"Array",proto:!0},{group:function(f){var s=arguments.length>1?arguments[1]:void 0;return i(this,f,s)}}),l("group")},1905:function(d,g,e){"use strict";var r=e(94488),i=e(18589),l=Object.isFrozen,c=function(f,s){if(!l||!i(f)||!l(f))return!1;for(var h=0,u=f.length,a;h<u;)if(a=f[h++],!(typeof a=="string"||s&&a===void 0))return!1;return u!==0};r({target:"Array",stat:!0,sham:!0,forced:!0},{isTemplateObject:function(s){if(!c(s,!0))return!1;var h=s.raw;return h.length===s.length&&c(h,!1)}})},94306:function(d,g,e){"use strict";var r=e(35454),i=e(81181),l=e(94029),c=e(82762),f=e(64110);r&&(f(Array.prototype,"lastIndex",{configurable:!0,get:function(){var h=l(this),u=c(h);return u===0?0:u-1}}),i("lastIndex"))},11762:function(d,g,e){"use strict";var r=e(35454),i=e(81181),l=e(94029),c=e(82762),f=e(64110);r&&(f(Array.prototype,"lastItem",{configurable:!0,get:function(){var h=l(this),u=c(h);return u===0?void 0:h[u-1]},set:function(h){var u=l(this),a=c(u);return u[a===0?0:a-1]=h}}),i("lastItem"))},93164:function(d,g,e){"use strict";var r=e(94488),i=e(81181),l=e(65621);r({target:"Array",proto:!0,forced:!0},{uniqueBy:l}),i("uniqueBy")},37252:function(d,g,e){"use strict";var r=e(94488),i=e(35454),l=e(65911),c=e(63335),f=e(56472),s=e(2291),h=e(66477),u=e(64110),a=e(59893),x=e(94844),p=e(5978),y=l("Promise"),_=l("SuppressedError"),b=ReferenceError,S=a("asyncDispose"),R=a("toStringTag"),L="AsyncDisposableStack",T=x.set,D=x.getterFor(L),M="async-dispose",N="disposed",j="pending",Q=function(oe){var ie=D(oe);if(ie.state===N)throw new b(L+" already disposed");return ie},X=function(){T(f(this,Y),{type:L,state:j,stack:[]}),i||(this.disposed=!1)},Y=X.prototype;h(Y,{disposeAsync:function(){var ie=this;return new y(function(ue,K){var V=D(ie);if(V.state===N)return ue(void 0);V.state=N,i||(ie.disposed=!0);var G=V.stack,te=G.length,q=!1,J,le=function(F){q?J=new _(F,J):(q=!0,J=F),z()},z=function(){if(te){var F=G[--te];G[te]=null;try{y.resolve(F()).then(z,le)}catch(se){le(se)}}else V.stack=null,q?K(J):ue(void 0)};z()})},use:function(ie){return p(Q(this),ie,M),ie},adopt:function(ie,ue){var K=Q(this);return c(ue),p(K,void 0,M,function(){return ue(ie)}),ie},defer:function(ie){var ue=Q(this);c(ie),p(ue,void 0,M,ie)},move:function(){var ie=Q(this),ue=new X;return D(ue).stack=ie.stack,ie.stack=[],ie.state=N,i||(this.disposed=!0),ue}}),i&&u(Y,"disposed",{configurable:!0,get:function(){return D(this).state===N}}),s(Y,S,Y.disposeAsync,{name:"disposeAsync"}),s(Y,R,L,{nonWritable:!0}),r({global:!0,constructor:!0},{AsyncDisposableStack:X})},48966:function(d,g,e){"use strict";var r=e(94488),i=e(34535);r({target:"AsyncIterator",name:"indexed",proto:!0,real:!0,forced:!0},{asIndexedPairs:i})},13015:function(d,g,e){"use strict";var r=e(89945),i=e(2291),l=e(65911),c=e(53776),f=e(32621),s=e(59893),h=e(14052),u=s("asyncDispose"),a=l("Promise");f(h,u)||i(h,u,function(){var x=this;return new a(function(p,y){var _=c(x,"return");_?a.resolve(r(_,x)).then(function(){p(void 0)},y):p(void 0)})})},81673:function(d,g,e){"use strict";var r=e(94488),i=e(56472),l=e(53456),c=e(68151),f=e(32621),s=e(59893),h=e(14052),u=e(16697),a=s("toStringTag"),x=TypeError,p=function(){if(i(this,h),l(this)===h)throw new x("Abstract class AsyncIterator not directly constructable")};p.prototype=h,f(h,a)||c(h,a,"AsyncIterator"),(u||!f(h,"constructor")||h.constructor===Object)&&c(h,"constructor",p),r({global:!0,constructor:!0,forced:u},{AsyncIterator:p})},78527:function(d,g,e){"use strict";var r=e(94488),i=e(89945),l=e(80449),c=e(10731),f=e(2279),s=e(51358),h=e(31342),u=e(25587),a=e(16697),x=h(function(p){var y=this;return new p(function(_,b){var S=function(L){y.done=!0,b(L)},R=function(){try{p.resolve(l(i(y.next,y.iterator))).then(function(L){try{l(L).done?(y.done=!0,_(u(void 0,!0))):y.remaining?(y.remaining--,R()):_(u(L.value,!1))}catch(T){S(T)}},S)}catch(L){S(L)}};R()})});r({target:"AsyncIterator",proto:!0,real:!0,forced:a},{drop:function(y){l(this);var _=s(f(+y));return new x(c(this),{remaining:_})}})},20511:function(d,g,e){"use strict";var r=e(94488),i=e(55266).every;r({target:"AsyncIterator",proto:!0,real:!0},{every:function(c){return i(this,c)}})},78366:function(d,g,e){"use strict";var r=e(94488),i=e(89945),l=e(63335),c=e(80449),f=e(31946),s=e(10731),h=e(31342),u=e(25587),a=e(28255),x=e(16697),p=h(function(y){var _=this,b=_.iterator,S=_.predicate;return new y(function(R,L){var T=function(N){_.done=!0,L(N)},D=function(N){a(b,T,N,T)},M=function(){try{y.resolve(c(i(_.next,b))).then(function(N){try{if(c(N).done)_.done=!0,R(u(void 0,!0));else{var j=N.value;try{var Q=S(j,_.counter++),X=function(Y){Y?R(u(j,!1)):M()};f(Q)?y.resolve(Q).then(X,D):X(Q)}catch(Y){D(Y)}}}catch(Y){T(Y)}},T)}catch(N){T(N)}};M()})});r({target:"AsyncIterator",proto:!0,real:!0,forced:x},{filter:function(_){return c(this),l(_),new p(s(this),{predicate:_})}})},27427:function(d,g,e){"use strict";var r=e(94488),i=e(55266).find;r({target:"AsyncIterator",proto:!0,real:!0},{find:function(c){return i(this,c)}})},43890:function(d,g,e){"use strict";var r=e(94488),i=e(89945),l=e(63335),c=e(80449),f=e(31946),s=e(10731),h=e(31342),u=e(25587),a=e(38116),x=e(28255),p=e(16697),y=h(function(_){var b=this,S=b.iterator,R=b.mapper;return new _(function(L,T){var D=function(Q){b.done=!0,T(Q)},M=function(Q){x(S,D,Q,D)},N=function(){try{_.resolve(c(i(b.next,S))).then(function(Q){try{if(c(Q).done)b.done=!0,L(u(void 0,!0));else{var X=Q.value;try{var Y=R(X,b.counter++),oe=function(ie){try{b.inner=a(ie),j()}catch(ue){M(ue)}};f(Y)?_.resolve(Y).then(oe,M):oe(Y)}catch(ie){M(ie)}}}catch(ie){D(ie)}},D)}catch(Q){D(Q)}},j=function(){var Q=b.inner;if(Q)try{_.resolve(c(i(Q.next,Q.iterator))).then(function(X){try{c(X).done?(b.inner=null,N()):L(u(X.value,!1))}catch(Y){M(Y)}},M)}catch(X){M(X)}else N()};j()})});r({target:"AsyncIterator",proto:!0,real:!0,forced:p},{flatMap:function(b){return c(this),l(b),new y(s(this),{mapper:b,inner:null})}})},55844:function(d,g,e){"use strict";var r=e(94488),i=e(55266).forEach;r({target:"AsyncIterator",proto:!0,real:!0},{forEach:function(c){return i(this,c)}})},71361:function(d,g,e){"use strict";var r=e(94488),i=e(94029),l=e(16332),c=e(38116),f=e(14052),s=e(80025),h=e(16697);r({target:"AsyncIterator",stat:!0,forced:h},{from:function(a){var x=c(typeof a=="string"?i(a):a);return l(f,x.iterator)?x.iterator:new s(x)}})},44550:function(d,g,e){"use strict";var r=e(94488),i=e(34535);r({target:"AsyncIterator",proto:!0,real:!0,forced:!0},{indexed:i})},413:function(d,g,e){"use strict";var r=e(94488),i=e(41586),l=e(16697);r({target:"AsyncIterator",proto:!0,real:!0,forced:l},{map:i})},77464:function(d,g,e){"use strict";var r=e(94488),i=e(89945),l=e(63335),c=e(80449),f=e(31946),s=e(65911),h=e(10731),u=e(28255),a=s("Promise"),x=TypeError;r({target:"AsyncIterator",proto:!0,real:!0},{reduce:function(y){c(this),l(y);var _=h(this),b=_.iterator,S=_.next,R=arguments.length<2,L=R?void 0:arguments[1],T=0;return new a(function(D,M){var N=function(Q){u(b,M,Q,M)},j=function(){try{a.resolve(c(i(S,b))).then(function(Q){try{if(c(Q).done)R?M(new x("Reduce of empty iterator with no initial value")):D(L);else{var X=Q.value;if(R)R=!1,L=X,j();else try{var Y=y(L,X,T),oe=function(ie){L=ie,j()};f(Y)?a.resolve(Y).then(oe,N):oe(Y)}catch(ie){N(ie)}}T++}catch(ie){M(ie)}},M)}catch(Q){M(Q)}};j()})}})},77703:function(d,g,e){"use strict";var r=e(94488),i=e(55266).some;r({target:"AsyncIterator",proto:!0,real:!0},{some:function(c){return i(this,c)}})},93854:function(d,g,e){"use strict";var r=e(94488),i=e(89945),l=e(80449),c=e(10731),f=e(2279),s=e(51358),h=e(31342),u=e(25587),a=e(16697),x=h(function(p){var y=this,_=y.iterator,b;if(!y.remaining--){var S=u(void 0,!0);return y.done=!0,b=_.return,b!==void 0?p.resolve(i(b,_,void 0)).then(function(){return S}):S}return p.resolve(i(y.next,_)).then(function(R){return l(R).done?(y.done=!0,u(void 0,!0)):u(R.value,!1)}).then(null,function(R){throw y.done=!0,R})});r({target:"AsyncIterator",proto:!0,real:!0,forced:a},{take:function(y){l(this);var _=s(f(+y));return new x(c(this),{remaining:_})}})},962:function(d,g,e){"use strict";var r=e(94488),i=e(55266).toArray;r({target:"AsyncIterator",proto:!0,real:!0},{toArray:function(){return i(this,void 0,[])}})},44169:function(d,g,e){"use strict";var r=e(94488),i=e(17243);typeof BigInt=="function"&&r({target:"BigInt",stat:!0,forced:!0},{range:function(c,f,s){return new i(c,f,s,"bigint",BigInt(0),BigInt(1))}})},56272:function(d,g,e){"use strict";var r=e(94488),i=e(13743),l=e(32754),c=e(65911),f=e(20132),s=Object,h=function(){var u=c("Object","freeze");return u?u(f(null)):f(null)};r({global:!0,forced:!0},{compositeKey:function(){return i(l,s,arguments).get("object",h)}})},43466:function(d,g,e){"use strict";var r=e(94488),i=e(32754),l=e(65911),c=e(13743);r({global:!0,forced:!0},{compositeSymbol:function(){return arguments.length===1&&typeof arguments[0]=="string"?l("Symbol").for(arguments[0]):c(i,null,arguments).get("symbol",l("Symbol"))}})},48156:function(d,g,e){"use strict";var r=e(94488),i=e(94237),l=e(61618).unpack,c=i(DataView.prototype.getUint16);r({target:"DataView",proto:!0},{getFloat16:function(s){var h=c(this,s,arguments.length>1?arguments[1]:!1);return l([h&255,h>>8&255],10)}})},93236:function(d,g,e){"use strict";var r=e(94488),i=e(94237),l=i(DataView.prototype.getUint8);r({target:"DataView",proto:!0,forced:!0},{getUint8Clamped:function(f){return l(this,f)}})},42212:function(d,g,e){"use strict";var r=e(94488),i=e(94237),l=e(97607),c=e(24225),f=e(61618).pack,s=e(35175),h=TypeError,u=i(DataView.prototype.setUint16);r({target:"DataView",proto:!0},{setFloat16:function(x,p){if(l(this)!=="DataView")throw new h("Incorrect receiver");var y=c(x),_=f(s(p),10,2);return u(this,y,_[1]<<8|_[0],arguments.length>2?arguments[2]:!1)}})},63923:function(d,g,e){"use strict";var r=e(94488),i=e(94237),l=e(97607),c=e(24225),f=e(86350),s=TypeError,h=i(DataView.prototype.setUint8);r({target:"DataView",proto:!0,forced:!0},{setUint8Clamped:function(a,x){if(l(this)!=="DataView")throw new s("Incorrect receiver");var p=c(a);return h(this,p,f(x))}})},2278:function(d,g,e){"use strict";var r=e(94488),i=e(35454),l=e(65911),c=e(63335),f=e(56472),s=e(2291),h=e(66477),u=e(64110),a=e(59893),x=e(94844),p=e(5978),y=l("SuppressedError"),_=ReferenceError,b=a("dispose"),S=a("toStringTag"),R="DisposableStack",L=x.set,T=x.getterFor(R),D="sync-dispose",M="disposed",N="pending",j=function(Y){var oe=T(Y);if(oe.state===M)throw new _(R+" already disposed");return oe},Q=function(){L(f(this,X),{type:R,state:N,stack:[]}),i||(this.disposed=!1)},X=Q.prototype;h(X,{dispose:function(){var oe=T(this);if(oe.state!==M){oe.state=M,i||(this.disposed=!0);for(var ie=oe.stack,ue=ie.length,K=!1,V;ue;){var G=ie[--ue];ie[ue]=null;try{G()}catch(te){K?V=new y(te,V):(K=!0,V=te)}}if(oe.stack=null,K)throw V}},use:function(oe){return p(j(this),oe,D),oe},adopt:function(oe,ie){var ue=j(this);return c(ie),p(ue,void 0,D,function(){ie(oe)}),oe},defer:function(oe){var ie=j(this);c(oe),p(ie,void 0,D,oe)},move:function(){var oe=j(this),ie=new Q;return T(ie).stack=oe.stack,oe.stack=[],oe.state=M,i||(this.disposed=!0),ie}}),i&&u(X,"disposed",{configurable:!0,get:function(){return T(this).state===M}}),s(X,b,X.dispose,{name:"dispose"}),s(X,S,R,{nonWritable:!0}),r({global:!0,constructor:!0},{DisposableStack:Q})},36955:function(d,g,e){"use strict";var r=e(94488),i=e(47739);r({target:"Function",proto:!0,forced:!0},{demethodize:i})},77326:function(d,g,e){"use strict";var r=e(94488),i=e(94237),l=e(55327),c=e(15212),f=e(32621),s=e(35454),h=Object.getOwnPropertyDescriptor,u=/^\s*class\b/,a=i(u.exec),x=function(p){try{if(!s||!a(u,c(p)))return!1}catch(_){}var y=h(p,"prototype");return!!y&&f(y,"writable")&&!y.writable};r({target:"Function",stat:!0,sham:!0,forced:!0},{isCallable:function(y){return l(y)&&!x(y)}})},53571:function(d,g,e){"use strict";var r=e(94488),i=e(39812);r({target:"Function",stat:!0,forced:!0},{isConstructor:i})},28670:function(d,g,e){"use strict";var r=e(59893),i=e(37691).f,l=r("metadata"),c=Function.prototype;c[l]===void 0&&i(c,l,{value:null})},31050:function(d,g,e){"use strict";var r=e(94488),i=e(47739);r({target:"Function",proto:!0,forced:!0,name:"demethodize"},{unThis:i})},96364:function(d,g,e){"use strict";var r=e(94488),i=e(24771);r({target:"Iterator",name:"indexed",proto:!0,real:!0,forced:!0},{asIndexedPairs:i})},25321:function(d,g,e){"use strict";var r=e(94488),i=e(92916),l=e(56472),c=e(80449),f=e(55327),s=e(53456),h=e(64110),u=e(69392),a=e(3338),x=e(32621),p=e(59893),y=e(46571).IteratorPrototype,_=e(35454),b=e(16697),S="constructor",R="Iterator",L=p("toStringTag"),T=TypeError,D=i[R],M=b||!f(D)||D.prototype!==y||!a(function(){D({})}),N=function(){if(l(this,y),s(this)===y)throw new T("Abstract class Iterator not directly constructable")},j=function(Q,X){_?h(y,Q,{configurable:!0,get:function(){return X},set:function(Y){if(c(this),this===y)throw new T("You can't redefine this property");x(this,Q)?this[Q]=Y:u(this,Q,Y)}}):y[Q]=X};x(y,L)||j(L,R),(M||!x(y,S)||y[S]===Object)&&j(S,N),N.prototype=y,r({global:!0,constructor:!0,forced:M},{Iterator:N})},46304:function(d,g,e){"use strict";var r=e(89945),i=e(2291),l=e(53776),c=e(32621),f=e(59893),s=e(46571).IteratorPrototype,h=f("dispose");c(s,h)||i(s,h,function(){var u=l(this,"return");u&&r(u,this)})},55163:function(d,g,e){"use strict";var r=e(94488),i=e(89945),l=e(80449),c=e(10731),f=e(2279),s=e(51358),h=e(20547),u=e(16697),a=h(function(){for(var x=this.iterator,p=this.next,y,_;this.remaining;)if(this.remaining--,y=l(i(p,x)),_=this.done=!!y.done,_)return;if(y=l(i(p,x)),_=this.done=!!y.done,!_)return y.value});r({target:"Iterator",proto:!0,real:!0,forced:u},{drop:function(p){l(this);var y=s(f(+p));return new a(c(this),{remaining:y})}})},78722:function(d,g,e){"use strict";var r=e(94488),i=e(62003),l=e(63335),c=e(80449),f=e(10731);r({target:"Iterator",proto:!0,real:!0},{every:function(h){c(this),l(h);var u=f(this),a=0;return!i(u,function(x,p){if(!h(x,a++))return p()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},35977:function(d,g,e){"use strict";var r=e(94488),i=e(89945),l=e(63335),c=e(80449),f=e(10731),s=e(20547),h=e(46319),u=e(16697),a=s(function(){for(var x=this.iterator,p=this.predicate,y=this.next,_,b,S;;){if(_=c(i(y,x)),b=this.done=!!_.done,b)return;if(S=_.value,h(x,p,[S,this.counter++],!0))return S}});r({target:"Iterator",proto:!0,real:!0,forced:u},{filter:function(p){return c(this),l(p),new a(f(this),{predicate:p})}})},81848:function(d,g,e){"use strict";var r=e(94488),i=e(62003),l=e(63335),c=e(80449),f=e(10731);r({target:"Iterator",proto:!0,real:!0},{find:function(h){c(this),l(h);var u=f(this),a=0;return i(u,function(x,p){if(h(x,a++))return p(x)},{IS_RECORD:!0,INTERRUPTED:!0}).result}})},52867:function(d,g,e){"use strict";var r=e(94488),i=e(89945),l=e(63335),c=e(80449),f=e(10731),s=e(7157),h=e(20547),u=e(67996),a=e(16697),x=h(function(){for(var p=this.iterator,y=this.mapper,_,b;;){if(b=this.inner)try{if(_=c(i(b.next,b.iterator)),!_.done)return _.value;this.inner=null}catch(S){u(p,"throw",S)}if(_=c(i(this.next,p)),this.done=!!_.done)return;try{this.inner=s(y(_.value,this.counter++),!1)}catch(S){u(p,"throw",S)}}});r({target:"Iterator",proto:!0,real:!0,forced:a},{flatMap:function(y){return c(this),l(y),new x(f(this),{mapper:y,inner:null})}})},72211:function(d,g,e){"use strict";var r=e(94488),i=e(62003),l=e(63335),c=e(80449),f=e(10731);r({target:"Iterator",proto:!0,real:!0},{forEach:function(h){c(this),l(h);var u=f(this),a=0;i(u,function(x){h(x,a++)},{IS_RECORD:!0})}})},84862:function(d,g,e){"use strict";var r=e(94488),i=e(89945),l=e(94029),c=e(16332),f=e(46571).IteratorPrototype,s=e(20547),h=e(7157),u=e(16697),a=s(function(){return i(this.next,this.iterator)},!0);r({target:"Iterator",stat:!0,forced:u},{from:function(p){var y=h(typeof p=="string"?l(p):p,!0);return c(f,y.iterator)?y.iterator:new a(y)}})},92381:function(d,g,e){"use strict";var r=e(94488),i=e(24771);r({target:"Iterator",proto:!0,real:!0,forced:!0},{indexed:i})},19517:function(d,g,e){"use strict";var r=e(94488),i=e(2155),l=e(16697);r({target:"Iterator",proto:!0,real:!0,forced:l},{map:i})},69667:function(d,g,e){"use strict";var r=e(94488),i=e(17243),l=TypeError;r({target:"Iterator",stat:!0,forced:!0},{range:function(f,s,h){if(typeof f=="number")return new i(f,s,h,"number",0,1);if(typeof f=="bigint")return new i(f,s,h,"bigint",BigInt(0),BigInt(1));throw new l("Incorrect Iterator.range arguments")}})},80820:function(d,g,e){"use strict";var r=e(94488),i=e(62003),l=e(63335),c=e(80449),f=e(10731),s=TypeError;r({target:"Iterator",proto:!0,real:!0},{reduce:function(u){c(this),l(u);var a=f(this),x=arguments.length<2,p=x?void 0:arguments[1],y=0;if(i(a,function(_){x?(x=!1,p=_):p=u(p,_,y),y++},{IS_RECORD:!0}),x)throw new s("Reduce of empty iterator with no initial value");return p}})},87873:function(d,g,e){"use strict";var r=e(94488),i=e(62003),l=e(63335),c=e(80449),f=e(10731);r({target:"Iterator",proto:!0,real:!0},{some:function(h){c(this),l(h);var u=f(this),a=0;return i(u,function(x,p){if(h(x,a++))return p()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},54609:function(d,g,e){"use strict";var r=e(94488),i=e(89945),l=e(80449),c=e(10731),f=e(2279),s=e(51358),h=e(20547),u=e(67996),a=e(16697),x=h(function(){var p=this.iterator;if(!this.remaining--)return this.done=!0,u(p,"normal",void 0);var y=l(i(this.next,p)),_=this.done=!!y.done;if(!_)return y.value});r({target:"Iterator",proto:!0,real:!0,forced:a},{take:function(y){l(this);var _=s(f(+y));return new x(c(this),{remaining:_})}})},28566:function(d,g,e){"use strict";var r=e(94488),i=e(80449),l=e(62003),c=e(10731),f=[].push;r({target:"Iterator",proto:!0,real:!0},{toArray:function(){var h=[];return l(c(i(this)),f,{that:h,IS_RECORD:!0}),h}})},51697:function(d,g,e){"use strict";var r=e(94488),i=e(80449),l=e(57975),c=e(80025),f=e(10731),s=e(16697);r({target:"Iterator",proto:!0,real:!0,forced:s},{toAsync:function(){return new c(f(new l(f(i(this)))))}})},61872:function(d,g,e){"use strict";var r=e(94488),i=e(82778),l=e(83502);r({target:"JSON",stat:!0,forced:!i},{isRawJSON:l})},76077:function(d,g,e){"use strict";var r=e(94488),i=e(35454),l=e(92916),c=e(65911),f=e(94237),s=e(89945),h=e(55327),u=e(31946),a=e(18589),x=e(32621),p=e(69905),y=e(82762),_=e(69392),b=e(3338),S=e(70913),R=e(42820),L=l.JSON,T=l.Number,D=l.SyntaxError,M=L&&L.parse,N=c("Object","keys"),j=Object.getOwnPropertyDescriptor,Q=f("".charAt),X=f("".slice),Y=f(/./.exec),oe=f([].push),ie=/^\d$/,ue=/^[1-9]$/,K=/^(?:-|\d)$/,V=/^[\t\n\r ]$/,G=0,te=1,q=function(Pe,Re){Pe=p(Pe);var Ze=new F(Pe,0,""),$e=Ze.parse(),Ht=$e.value,bt=Ze.skip(V,$e.end);if(bt<Pe.length)throw new D('Unexpected extra character: "'+Q(Pe,bt)+'" after the parsed data at: '+bt);return h(Re)?J({"":Ht},"",Re,$e):Ht},J=function(Pe,Re,Ze,$e){var Ht=Pe[Re],bt=$e&&Ht===$e.value,Ot=bt&&typeof $e.source=="string"?{source:$e.source}:{},qt,er,Jt,Xe,Pt;if(u(Ht)){var Ut=a(Ht),st=bt?$e.nodes:Ut?[]:{};if(Ut)for(qt=st.length,Jt=y(Ht),Xe=0;Xe<Jt;Xe++)le(Ht,Xe,J(Ht,""+Xe,Ze,Xe<qt?st[Xe]:void 0));else for(er=N(Ht),Jt=y(er),Xe=0;Xe<Jt;Xe++)Pt=er[Xe],le(Ht,Pt,J(Ht,Pt,Ze,x(st,Pt)?st[Pt]:void 0))}return s(Ze,Pe,Re,Ht,Ot)},le=function(Pe,Re,Ze){if(i){var $e=j(Pe,Re);if($e&&!$e.configurable)return}Ze===void 0?delete Pe[Re]:_(Pe,Re,Ze)},z=function(Pe,Re,Ze,$e){this.value=Pe,this.end=Re,this.source=Ze,this.nodes=$e},F=function(Pe,Re){this.source=Pe,this.index=Re};F.prototype={fork:function(Pe){return new F(this.source,Pe)},parse:function(){var Pe=this.source,Re=this.skip(V,this.index),Ze=this.fork(Re),$e=Q(Pe,Re);if(Y(K,$e))return Ze.number();switch($e){case"{":return Ze.object();case"[":return Ze.array();case'"':return Ze.string();case"t":return Ze.keyword(!0);case"f":return Ze.keyword(!1);case"n":return Ze.keyword(null)}throw new D('Unexpected character: "'+$e+'" at: '+Re)},node:function(Pe,Re,Ze,$e,Ht){return new z(Re,$e,Pe?null:X(this.source,Ze,$e),Ht)},object:function(){for(var Pe=this.source,Re=this.index+1,Ze=!1,$e={},Ht={};Re<Pe.length;){if(Re=this.until(['"',"}"],Re),Q(Pe,Re)==="}"&&!Ze){Re++;break}var bt=this.fork(Re).string(),Ot=bt.value;Re=bt.end,Re=this.until([":"],Re)+1,Re=this.skip(V,Re),bt=this.fork(Re).parse(),_(Ht,Ot,bt),_($e,Ot,bt.value),Re=this.until([",","}"],bt.end);var qt=Q(Pe,Re);if(qt===",")Ze=!0,Re++;else if(qt==="}"){Re++;break}}return this.node(te,$e,this.index,Re,Ht)},array:function(){for(var Pe=this.source,Re=this.index+1,Ze=!1,$e=[],Ht=[];Re<Pe.length;){if(Re=this.skip(V,Re),Q(Pe,Re)==="]"&&!Ze){Re++;break}var bt=this.fork(Re).parse();if(oe(Ht,bt),oe($e,bt.value),Re=this.until([",","]"],bt.end),Q(Pe,Re)===",")Ze=!0,Re++;else if(Q(Pe,Re)==="]"){Re++;break}}return this.node(te,$e,this.index,Re,Ht)},string:function(){var Pe=this.index,Re=S(this.source,this.index+1);return this.node(G,Re.value,Pe,Re.end)},number:function(){var Pe=this.source,Re=this.index,Ze=Re;if(Q(Pe,Ze)==="-"&&Ze++,Q(Pe,Ze)==="0")Ze++;else if(Y(ue,Q(Pe,Ze)))Ze=this.skip(ie,++Ze);else throw new D("Failed to parse number at: "+Ze);if(Q(Pe,Ze)==="."&&(Ze=this.skip(ie,++Ze)),Q(Pe,Ze)==="e"||Q(Pe,Ze)==="E"){Ze++,(Q(Pe,Ze)==="+"||Q(Pe,Ze)==="-")&&Ze++;var $e=Ze;if(Ze=this.skip(ie,Ze),$e===Ze)throw new D("Failed to parse number's exponent value at: "+Ze)}return this.node(G,T(X(Pe,Re,Ze)),Re,Ze)},keyword:function(Pe){var Re=""+Pe,Ze=this.index,$e=Ze+Re.length;if(X(this.source,Ze,$e)!==Re)throw new D("Failed to parse value at: "+Ze);return this.node(G,Pe,Ze,$e)},skip:function(Pe,Re){for(var Ze=this.source;Re<Ze.length&&Y(Pe,Q(Ze,Re));Re++);return Re},until:function(Pe,Re){Re=this.skip(V,Re);for(var Ze=Q(this.source,Re),$e=0;$e<Pe.length;$e++)if(Pe[$e]===Ze)return Re;throw new D('Unexpected character: "'+Ze+'" at: '+Re)}};var se=b(function(){var Pe="9007199254740993",Re;return M(Pe,function(Ze,$e,Ht){Re=Ht.source}),Re!==Pe}),_e=R&&!b(function(){return 1/M("-0 ")!==-1/0});r({target:"JSON",stat:!0,forced:se},{parse:function(Re,Ze){return _e&&!h(Ze)?M(Re):q(Re,Ze)}})},9196:function(d,g,e){"use strict";var r=e(94488),i=e(13247),l=e(82778),c=e(65911),f=e(89945),s=e(94237),h=e(55327),u=e(83502),a=e(69905),x=e(69392),p=e(70913),y=e(65451),_=e(6145),b=e(94844).set,S=String,R=SyntaxError,L=c("JSON","parse"),T=c("JSON","stringify"),D=c("Object","create"),M=c("Object","freeze"),N=s("".charAt),j=s("".slice),Q=s(/./.exec),X=s([].push),Y=_(),oe=Y.length,ie="Unacceptable as raw JSON",ue=/^[\t\n\r ]$/;r({target:"JSON",stat:!0,forced:!l},{rawJSON:function(V){var G=a(V);if(G===""||Q(ue,N(G,0))||Q(ue,N(G,G.length-1)))throw new R(ie);var te=L(G);if(typeof te=="object"&&te!==null)throw new R(ie);var q=D(null);return b(q,{type:"RawJSON"}),x(q,"rawJSON",G),i?M(q):q}}),T&&r({target:"JSON",stat:!0,arity:3,forced:!l},{stringify:function(V,G,te){var q=y(G),J=[],le=T(V,function(Ze,$e){var Ht=h(q)?f(q,this,S(Ze),$e):$e;return u(Ht)?Y+(X(J,Ht.rawJSON)-1):Ht},te);if(typeof le!="string")return le;for(var z="",F=le.length,se=0;se<F;se++){var _e=N(le,se);if(_e==='"'){var Pe=p(le,++se).end-1,Re=j(le,se,Pe);z+=j(Re,0,oe)===Y?J[j(Re,oe)]:'"'+Re+'"',se=Pe}else z+=_e}return z}})},5369:function(d,g,e){"use strict";var r=e(94488),i=e(42683),l=e(2786).remove;r({target:"Map",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var f=i(this),s=!0,h,u=0,a=arguments.length;u<a;u++)h=l(f,arguments[u]),s=s&&h;return!!s}})},26259:function(d,g,e){"use strict";var r=e(94488),i=e(42683),l=e(2786),c=l.get,f=l.has,s=l.set;r({target:"Map",proto:!0,real:!0,forced:!0},{emplace:function(u,a){var x=i(this),p,y;return f(x,u)?(p=c(x,u),"update"in a&&(p=a.update(p,u,x),s(x,u,p)),p):(y=a.insert(u,x),s(x,u,y),y)}})},47736:function(d,g,e){"use strict";var r=e(94488),i=e(80666),l=e(42683),c=e(95037);r({target:"Map",proto:!0,real:!0,forced:!0},{every:function(s){var h=l(this),u=i(s,arguments.length>1?arguments[1]:void 0);return c(h,function(a,x){if(!u(a,x,h))return!1},!0)!==!1}})},28220:function(d,g,e){"use strict";var r=e(94488),i=e(80666),l=e(42683),c=e(2786),f=e(95037),s=c.Map,h=c.set;r({target:"Map",proto:!0,real:!0,forced:!0},{filter:function(a){var x=l(this),p=i(a,arguments.length>1?arguments[1]:void 0),y=new s;return f(x,function(_,b){p(_,b,x)&&h(y,b,_)}),y}})},49350:function(d,g,e){"use strict";var r=e(94488),i=e(80666),l=e(42683),c=e(95037);r({target:"Map",proto:!0,real:!0,forced:!0},{findKey:function(s){var h=l(this),u=i(s,arguments.length>1?arguments[1]:void 0),a=c(h,function(x,p){if(u(x,p,h))return{key:p}},!0);return a&&a.key}})},62060:function(d,g,e){"use strict";var r=e(94488),i=e(80666),l=e(42683),c=e(95037);r({target:"Map",proto:!0,real:!0,forced:!0},{find:function(s){var h=l(this),u=i(s,arguments.length>1?arguments[1]:void 0),a=c(h,function(x,p){if(u(x,p,h))return{value:x}},!0);return a&&a.value}})},20126:function(d,g,e){"use strict";var r=e(94488),i=e(72846);r({target:"Map",stat:!0,forced:!0},{from:i})},18090:function(d,g,e){"use strict";var r=e(94488),i=e(88134),l=e(42683),c=e(95037);r({target:"Map",proto:!0,real:!0,forced:!0},{includes:function(s){return c(l(this),function(h){if(i(h,s))return!0},!0)===!0}})},14309:function(d,g,e){"use strict";var r=e(94488),i=e(89945),l=e(62003),c=e(55327),f=e(63335),s=e(2786).Map;r({target:"Map",stat:!0,forced:!0},{keyBy:function(u,a){var x=c(this)?this:s,p=new x;f(a);var y=f(p.set);return l(u,function(_){i(y,p,a(_),_)}),p}})},17822:function(d,g,e){"use strict";var r=e(94488),i=e(42683),l=e(95037);r({target:"Map",proto:!0,real:!0,forced:!0},{keyOf:function(f){var s=l(i(this),function(h,u){if(h===f)return{key:u}},!0);return s&&s.key}})},83543:function(d,g,e){"use strict";var r=e(94488),i=e(80666),l=e(42683),c=e(2786),f=e(95037),s=c.Map,h=c.set;r({target:"Map",proto:!0,real:!0,forced:!0},{mapKeys:function(a){var x=l(this),p=i(a,arguments.length>1?arguments[1]:void 0),y=new s;return f(x,function(_,b){h(y,p(_,b,x),_)}),y}})},13853:function(d,g,e){"use strict";var r=e(94488),i=e(80666),l=e(42683),c=e(2786),f=e(95037),s=c.Map,h=c.set;r({target:"Map",proto:!0,real:!0,forced:!0},{mapValues:function(a){var x=l(this),p=i(a,arguments.length>1?arguments[1]:void 0),y=new s;return f(x,function(_,b){h(y,b,p(_,b,x))}),y}})},25188:function(d,g,e){"use strict";var r=e(94488),i=e(42683),l=e(62003),c=e(2786).set;r({target:"Map",proto:!0,real:!0,arity:1,forced:!0},{merge:function(s){for(var h=i(this),u=arguments.length,a=0;a<u;)l(arguments[a++],function(x,p){c(h,x,p)},{AS_ENTRIES:!0});return h}})},10215:function(d,g,e){"use strict";var r=e(94488),i=e(48800);r({target:"Map",stat:!0,forced:!0},{of:i})},3432:function(d,g,e){"use strict";var r=e(94488),i=e(63335),l=e(42683),c=e(95037),f=TypeError;r({target:"Map",proto:!0,real:!0,forced:!0},{reduce:function(h){var u=l(this),a=arguments.length<2,x=a?void 0:arguments[1];if(i(h),c(u,function(p,y){a?(a=!1,x=p):x=h(x,p,y,u)}),a)throw new f("Reduce of empty map with no initial value");return x}})},90486:function(d,g,e){"use strict";var r=e(94488),i=e(80666),l=e(42683),c=e(95037);r({target:"Map",proto:!0,real:!0,forced:!0},{some:function(s){var h=l(this),u=i(s,arguments.length>1?arguments[1]:void 0);return c(h,function(a,x){if(u(a,x,h))return!0},!0)===!0}})},8774:function(d,g,e){"use strict";var r=e(94488),i=e(14615);r({target:"Map",proto:!0,real:!0,name:"upsert",forced:!0},{updateOrInsert:i})},6736:function(d,g,e){"use strict";var r=e(94488),i=e(63335),l=e(42683),c=e(2786),f=TypeError,s=c.get,h=c.has,u=c.set;r({target:"Map",proto:!0,real:!0,forced:!0},{update:function(x,p){var y=l(this),_=arguments.length;i(p);var b=h(y,x);if(!b&&_<3)throw new f("Updating absent value");var S=b?s(y,x):i(_>2?arguments[2]:void 0)(x,y);return u(y,x,p(S,x,y)),y}})},94065:function(d,g,e){"use strict";var r=e(94488),i=e(14615);r({target:"Map",proto:!0,real:!0,forced:!0},{upsert:i})},93036:function(d,g,e){"use strict";var r=e(94488),i=Math.min,l=Math.max;r({target:"Math",stat:!0,forced:!0},{clamp:function(f,s,h){return i(h,l(s,f))}})},75708:function(d,g,e){"use strict";var r=e(94488);r({target:"Math",stat:!0,nonConfigurable:!0,nonWritable:!0},{DEG_PER_RAD:Math.PI/180})},84624:function(d,g,e){"use strict";var r=e(94488),i=180/Math.PI;r({target:"Math",stat:!0,forced:!0},{degrees:function(c){return c*i}})},43710:function(d,g,e){"use strict";var r=e(94488),i=e(35175);r({target:"Math",stat:!0},{f16round:i})},66233:function(d,g,e){"use strict";var r=e(94488),i=e(24619),l=e(14894);r({target:"Math",stat:!0,forced:!0},{fscale:function(f,s,h,u,a){return l(i(f,s,h,u,a))}})},92762:function(d,g,e){"use strict";var r=e(94488);r({target:"Math",stat:!0,forced:!0},{iaddh:function(l,c,f,s){var h=l>>>0,u=c>>>0,a=f>>>0;return u+(s>>>0)+((h&a|(h|a)&~(h+a>>>0))>>>31)|0}})},24467:function(d,g,e){"use strict";var r=e(94488);r({target:"Math",stat:!0,forced:!0},{imulh:function(l,c){var f=65535,s=+l,h=+c,u=s&f,a=h&f,x=s>>16,p=h>>16,y=(x*a>>>0)+(u*a>>>16);return x*p+(y>>16)+((u*p>>>0)+(y&f)>>16)}})},68465:function(d,g,e){"use strict";var r=e(94488);r({target:"Math",stat:!0,forced:!0},{isubh:function(l,c,f,s){var h=l>>>0,u=c>>>0,a=f>>>0;return u-(s>>>0)-((~h&a|~(h^a)&h-a>>>0)>>>31)|0}})},77004:function(d,g,e){"use strict";var r=e(94488);r({target:"Math",stat:!0,nonConfigurable:!0,nonWritable:!0},{RAD_PER_DEG:180/Math.PI})},83925:function(d,g,e){"use strict";var r=e(94488),i=Math.PI/180;r({target:"Math",stat:!0,forced:!0},{radians:function(c){return c*i}})},51117:function(d,g,e){"use strict";var r=e(94488),i=e(24619);r({target:"Math",stat:!0,forced:!0},{scale:i})},87236:function(d,g,e){"use strict";var r=e(94488),i=e(80449),l=e(1222),c=e(83126),f=e(25587),s=e(94844),h="Seeded Random",u=h+" Generator",a='Math.seededPRNG() argument should have a "seed" field with a finite value.',x=s.set,p=s.getterFor(u),y=TypeError,_=c(function(S){x(this,{type:u,seed:S%2147483647})},h,function(){var S=p(this),R=S.seed=(S.seed*1103515245+12345)%2147483647;return f((R&1073741823)/1073741823,!1)});r({target:"Math",stat:!0,forced:!0},{seededPRNG:function(S){var R=i(S).seed;if(!l(R))throw new y(a);return new _(R)}})},83733:function(d,g,e){"use strict";var r=e(94488);r({target:"Math",stat:!0,forced:!0},{signbit:function(l){var c=+l;return c===c&&c===0?1/c===-1/0:c<0}})},92044:function(d,g,e){"use strict";var r=e(94488);r({target:"Math",stat:!0,forced:!0},{umulh:function(l,c){var f=65535,s=+l,h=+c,u=s&f,a=h&f,x=s>>>16,p=h>>>16,y=(x*a>>>0)+(u*a>>>16);return x*p+(y>>>16)+((u*p>>>0)+(y&f)>>>16)}})},29190:function(d,g,e){"use strict";var r=e(94488),i=e(94237),l=e(56902),c="Invalid number representation",f="Invalid radix",s=RangeError,h=SyntaxError,u=TypeError,a=parseInt,x=Math.pow,p=/^[\d.a-z]+$/,y=i("".charAt),_=i(p.exec),b=i(1 .toString),S=i("".slice),R=i("".split);r({target:"Number",stat:!0,forced:!0},{fromString:function(T,D){var M=1;if(typeof T!="string")throw new u(c);if(!T.length)throw new h(c);if(y(T,0)==="-"&&(M=-1,T=S(T,1),!T.length))throw new h(c);var N=D===void 0?10:l(D);if(N<2||N>36)throw new s(f);if(!_(p,T))throw new h(c);var j=R(T,"."),Q=a(j[0],N);if(j.length>1&&(Q+=a(j[1],N)/x(N,j[1].length)),N===10&&b(Q,N)!==T)throw new h(c);return M*Q}})},10775:function(d,g,e){"use strict";var r=e(94488),i=e(17243);r({target:"Number",stat:!0,forced:!0},{range:function(c,f,s){return new i(c,f,s,"number",0,1)}})},19593:function(d,g,e){"use strict";var r=e(94488),i=e(20574);r({target:"Object",stat:!0,forced:!0},{iterateEntries:function(c){return new i(c,"entries")}})},26502:function(d,g,e){"use strict";var r=e(94488),i=e(20574);r({target:"Object",stat:!0,forced:!0},{iterateKeys:function(c){return new i(c,"keys")}})},10174:function(d,g,e){"use strict";var r=e(94488),i=e(20574);r({target:"Object",stat:!0,forced:!0},{iterateValues:function(c){return new i(c,"values")}})},76867:function(d,g,e){"use strict";var r=e(94488),i=e(89945),l=e(35454),c=e(51996),f=e(63335),s=e(80449),h=e(56472),u=e(55327),a=e(4112),x=e(31946),p=e(53776),y=e(2291),_=e(66477),b=e(64110),S=e(61810),R=e(59893),L=e(94844),T=R("observable"),D="Observable",M="Subscription",N="SubscriptionObserver",j=L.getterFor,Q=L.set,X=j(D),Y=j(M),oe=j(N),ie=function(te){this.observer=s(te),this.cleanup=void 0,this.subscriptionObserver=void 0};ie.prototype={type:M,clean:function(){var te=this.cleanup;if(te){this.cleanup=void 0;try{te()}catch(q){S(q)}}},close:function(){if(!l){var te=this.facade,q=this.subscriptionObserver;te.closed=!0,q&&(q.closed=!0)}this.observer=void 0},isClosed:function(){return this.observer===void 0}};var ue=function(te,q){var J=Q(this,new ie(te)),le;l||(this.closed=!1);try{(le=p(te,"start"))&&i(le,te,this)}catch(_e){S(_e)}if(!J.isClosed()){var z=J.subscriptionObserver=new K(J);try{var F=q(z),se=F;a(F)||(J.cleanup=u(F.unsubscribe)?function(){se.unsubscribe()}:f(F))}catch(_e){z.error(_e);return}J.isClosed()&&J.clean()}};ue.prototype=_({},{unsubscribe:function(){var q=Y(this);q.isClosed()||(q.close(),q.clean())}}),l&&b(ue.prototype,"closed",{configurable:!0,get:function(){return Y(this).isClosed()}});var K=function(te){Q(this,{type:N,subscriptionState:te}),l||(this.closed=!1)};K.prototype=_({},{next:function(q){var J=oe(this).subscriptionState;if(!J.isClosed()){var le=J.observer;try{var z=p(le,"next");z&&i(z,le,q)}catch(F){S(F)}}},error:function(q){var J=oe(this).subscriptionState;if(!J.isClosed()){var le=J.observer;J.close();try{var z=p(le,"error");z?i(z,le,q):S(q)}catch(F){S(F)}J.clean()}},complete:function(){var q=oe(this).subscriptionState;if(!q.isClosed()){var J=q.observer;q.close();try{var le=p(J,"complete");le&&i(le,J)}catch(z){S(z)}q.clean()}}}),l&&b(K.prototype,"closed",{configurable:!0,get:function(){return oe(this).subscriptionState.isClosed()}});var V=function(q){h(this,G),Q(this,{type:D,subscriber:f(q)})},G=V.prototype;_(G,{subscribe:function(q){var J=arguments.length;return new ue(u(q)?{next:q,error:J>1?arguments[1]:void 0,complete:J>2?arguments[2]:void 0}:x(q)?q:{},X(this).subscriber)}}),y(G,T,function(){return this}),r({global:!0,constructor:!0,forced:!0},{Observable:V}),c(D)},14548:function(d,g,e){"use strict";var r=e(94488),i=e(65911),l=e(89945),c=e(80449),f=e(39812),s=e(85428),h=e(53776),u=e(62003),a=e(59893),x=a("observable");r({target:"Observable",stat:!0,forced:!0},{from:function(y){var _=f(this)?this:i("Observable"),b=h(c(y),x);if(b){var S=c(l(b,y));return S.constructor===_?S:new _(function(L){return S.subscribe(L)})}var R=s(y);return new _(function(L){u(R,function(T,D){if(L.next(T),L.closed)return D()},{IS_ITERATOR:!0,INTERRUPTED:!0}),L.complete()})}})},96378:function(d,g,e){"use strict";e(76867),e(14548),e(6053)},6053:function(d,g,e){"use strict";var r=e(94488),i=e(65911),l=e(39812),c=i("Array");r({target:"Observable",stat:!0,forced:!0},{of:function(){for(var s=l(this)?this:i("Observable"),h=arguments.length,u=c(h),a=0;a<h;)u[a]=arguments[a++];return new s(function(x){for(var p=0;p<h;p++)if(x.next(u[p]),x.closed)return;x.complete()})}})},58216:function(d,g,e){"use strict";var r=e(94488),i=e(73446),l=e(80734);r({target:"Promise",stat:!0,forced:!0},{try:function(c){var f=i.f(this),s=l(c);return(s.error?f.reject:f.resolve)(s.value),f.promise}})},41401:function(d,g,e){"use strict";var r=e(94488),i=e(82584),l=e(80449),c=i.toKey,f=i.set;r({target:"Reflect",stat:!0},{defineMetadata:function(h,u,a){var x=arguments.length<4?void 0:c(arguments[3]);f(h,u,l(a),x)}})},79908:function(d,g,e){"use strict";var r=e(94488),i=e(82584),l=e(80449),c=i.toKey,f=i.getMap,s=i.store;r({target:"Reflect",stat:!0},{deleteMetadata:function(u,a){var x=arguments.length<3?void 0:c(arguments[2]),p=f(l(a),x,!1);if(p===void 0||!p.delete(u))return!1;if(p.size)return!0;var y=s.get(a);return y.delete(x),!!y.size||s.delete(a)}})},79890:function(d,g,e){"use strict";var r=e(94488),i=e(94237),l=e(82584),c=e(80449),f=e(53456),s=e(65621),h=i(s),u=i([].concat),a=l.keys,x=l.toKey,p=function(y,_){var b=a(y,_),S=f(y);if(S===null)return b;var R=p(S,_);return R.length?b.length?h(u(b,R)):R:b};r({target:"Reflect",stat:!0},{getMetadataKeys:function(_){var b=arguments.length<2?void 0:x(arguments[1]);return p(c(_),b)}})},82531:function(d,g,e){"use strict";var r=e(94488),i=e(82584),l=e(80449),c=e(53456),f=i.has,s=i.get,h=i.toKey,u=function(a,x,p){var y=f(a,x,p);if(y)return s(a,x,p);var _=c(x);return _!==null?u(a,_,p):void 0};r({target:"Reflect",stat:!0},{getMetadata:function(x,p){var y=arguments.length<3?void 0:h(arguments[2]);return u(x,l(p),y)}})},38944:function(d,g,e){"use strict";var r=e(94488),i=e(82584),l=e(80449),c=i.keys,f=i.toKey;r({target:"Reflect",stat:!0},{getOwnMetadataKeys:function(h){var u=arguments.length<2?void 0:f(arguments[1]);return c(l(h),u)}})},88472:function(d,g,e){"use strict";var r=e(94488),i=e(82584),l=e(80449),c=i.get,f=i.toKey;r({target:"Reflect",stat:!0},{getOwnMetadata:function(h,u){var a=arguments.length<3?void 0:f(arguments[2]);return c(h,l(u),a)}})},78423:function(d,g,e){"use strict";var r=e(94488),i=e(82584),l=e(80449),c=e(53456),f=i.has,s=i.toKey,h=function(u,a,x){var p=f(u,a,x);if(p)return!0;var y=c(a);return y!==null?h(u,y,x):!1};r({target:"Reflect",stat:!0},{hasMetadata:function(a,x){var p=arguments.length<3?void 0:s(arguments[2]);return h(a,l(x),p)}})},65713:function(d,g,e){"use strict";var r=e(94488),i=e(82584),l=e(80449),c=i.has,f=i.toKey;r({target:"Reflect",stat:!0},{hasOwnMetadata:function(h,u){var a=arguments.length<3?void 0:f(arguments[2]);return c(h,l(u),a)}})},22968:function(d,g,e){"use strict";var r=e(94488),i=e(82584),l=e(80449),c=i.toKey,f=i.set;r({target:"Reflect",stat:!0},{metadata:function(h,u){return function(x,p){f(h,u,l(x),c(p))}}})},17564:function(d,g,e){"use strict";var r=e(94488),i=e(94237),l=e(69905),c=e(19268),f=i("".charCodeAt),s=i("".replace),h=RegExp("[!\"#$%&'()*+,\\-./:;<=>?@[\\\\\\]^`{|}~"+c+"]","g");r({target:"RegExp",stat:!0,forced:!0},{escape:function(a){var x=l(a),p=f(x,0);return(p>47&&p<58?"\\x3":"")+s(x,h,"\\$&")}})},1220:function(d,g,e){"use strict";var r=e(94488),i=e(17442),l=e(19691).add;r({target:"Set",proto:!0,real:!0,forced:!0},{addAll:function(){for(var f=i(this),s=0,h=arguments.length;s<h;s++)l(f,arguments[s]);return f}})},44886:function(d,g,e){"use strict";var r=e(94488),i=e(17442),l=e(19691).remove;r({target:"Set",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var f=i(this),s=!0,h,u=0,a=arguments.length;u<a;u++)h=l(f,arguments[u]),s=s&&h;return!!s}})},35295:function(d,g,e){"use strict";var r=e(94488),i=e(89945),l=e(77999),c=e(10038);r({target:"Set",proto:!0,real:!0,forced:!0},{difference:function(s){return i(c,this,l(s))}})},57019:function(d,g,e){"use strict";var r=e(94488),i=e(10038),l=e(22627);r({target:"Set",proto:!0,real:!0,forced:!l("difference")},{difference:i})},80286:function(d,g,e){"use strict";var r=e(94488),i=e(80666),l=e(17442),c=e(57002);r({target:"Set",proto:!0,real:!0,forced:!0},{every:function(s){var h=l(this),u=i(s,arguments.length>1?arguments[1]:void 0);return c(h,function(a){if(!u(a,a,h))return!1},!0)!==!1}})},38487:function(d,g,e){"use strict";var r=e(94488),i=e(80666),l=e(17442),c=e(19691),f=e(57002),s=c.Set,h=c.add;r({target:"Set",proto:!0,real:!0,forced:!0},{filter:function(a){var x=l(this),p=i(a,arguments.length>1?arguments[1]:void 0),y=new s;return f(x,function(_){p(_,_,x)&&h(y,_)}),y}})},29916:function(d,g,e){"use strict";var r=e(94488),i=e(80666),l=e(17442),c=e(57002);r({target:"Set",proto:!0,real:!0,forced:!0},{find:function(s){var h=l(this),u=i(s,arguments.length>1?arguments[1]:void 0),a=c(h,function(x){if(u(x,x,h))return{value:x}},!0);return a&&a.value}})},25541:function(d,g,e){"use strict";var r=e(94488),i=e(72846);r({target:"Set",stat:!0,forced:!0},{from:i})},34926:function(d,g,e){"use strict";var r=e(94488),i=e(89945),l=e(77999),c=e(16049);r({target:"Set",proto:!0,real:!0,forced:!0},{intersection:function(s){return i(c,this,l(s))}})},45612:function(d,g,e){"use strict";var r=e(94488),i=e(3338),l=e(16049),c=e(22627),f=!c("intersection")||i(function(){return Array.from(new Set([1,2,3]).intersection(new Set([3,2])))!=="3,2"});r({target:"Set",proto:!0,real:!0,forced:f},{intersection:l})},68255:function(d,g,e){"use strict";var r=e(94488),i=e(89945),l=e(77999),c=e(17616);r({target:"Set",proto:!0,real:!0,forced:!0},{isDisjointFrom:function(s){return i(c,this,l(s))}})},98080:function(d,g,e){"use strict";var r=e(94488),i=e(17616),l=e(22627);r({target:"Set",proto:!0,real:!0,forced:!l("isDisjointFrom")},{isDisjointFrom:i})},16450:function(d,g,e){"use strict";var r=e(94488),i=e(89945),l=e(77999),c=e(84833);r({target:"Set",proto:!0,real:!0,forced:!0},{isSubsetOf:function(s){return i(c,this,l(s))}})},96351:function(d,g,e){"use strict";var r=e(94488),i=e(84833),l=e(22627);r({target:"Set",proto:!0,real:!0,forced:!l("isSubsetOf")},{isSubsetOf:i})},86921:function(d,g,e){"use strict";var r=e(94488),i=e(89945),l=e(77999),c=e(51135);r({target:"Set",proto:!0,real:!0,forced:!0},{isSupersetOf:function(s){return i(c,this,l(s))}})},60244:function(d,g,e){"use strict";var r=e(94488),i=e(51135),l=e(22627);r({target:"Set",proto:!0,real:!0,forced:!l("isSupersetOf")},{isSupersetOf:i})},82928:function(d,g,e){"use strict";var r=e(94488),i=e(94237),l=e(17442),c=e(57002),f=e(69905),s=i([].join),h=i([].push);r({target:"Set",proto:!0,real:!0,forced:!0},{join:function(a){var x=l(this),p=a===void 0?",":f(a),y=[];return c(x,function(_){h(y,_)}),s(y,p)}})},42947:function(d,g,e){"use strict";var r=e(94488),i=e(80666),l=e(17442),c=e(19691),f=e(57002),s=c.Set,h=c.add;r({target:"Set",proto:!0,real:!0,forced:!0},{map:function(a){var x=l(this),p=i(a,arguments.length>1?arguments[1]:void 0),y=new s;return f(x,function(_){h(y,p(_,_,x))}),y}})},71568:function(d,g,e){"use strict";var r=e(94488),i=e(48800);r({target:"Set",stat:!0,forced:!0},{of:i})},94194:function(d,g,e){"use strict";var r=e(94488),i=e(63335),l=e(17442),c=e(57002),f=TypeError;r({target:"Set",proto:!0,real:!0,forced:!0},{reduce:function(h){var u=l(this),a=arguments.length<2,x=a?void 0:arguments[1];if(i(h),c(u,function(p){a?(a=!1,x=p):x=h(x,p,p,u)}),a)throw new f("Reduce of empty set with no initial value");return x}})},30556:function(d,g,e){"use strict";var r=e(94488),i=e(80666),l=e(17442),c=e(57002);r({target:"Set",proto:!0,real:!0,forced:!0},{some:function(s){var h=l(this),u=i(s,arguments.length>1?arguments[1]:void 0);return c(h,function(a){if(u(a,a,h))return!0},!0)===!0}})},93102:function(d,g,e){"use strict";var r=e(94488),i=e(89945),l=e(77999),c=e(36312);r({target:"Set",proto:!0,real:!0,forced:!0},{symmetricDifference:function(s){return i(c,this,l(s))}})},32100:function(d,g,e){"use strict";var r=e(94488),i=e(36312),l=e(22627);r({target:"Set",proto:!0,real:!0,forced:!l("symmetricDifference")},{symmetricDifference:i})},82074:function(d,g,e){"use strict";var r=e(94488),i=e(89945),l=e(77999),c=e(24667);r({target:"Set",proto:!0,real:!0,forced:!0},{union:function(s){return i(c,this,l(s))}})},1821:function(d,g,e){"use strict";var r=e(94488),i=e(24667),l=e(22627);r({target:"Set",proto:!0,real:!0,forced:!l("union")},{union:i})},13578:function(d,g,e){"use strict";var r=e(94488),i=e(13764).charAt,l=e(95955),c=e(56902),f=e(69905);r({target:"String",proto:!0,forced:!0},{at:function(h){var u=f(l(this)),a=u.length,x=c(h),p=x>=0?x:a+x;return p<0||p>=a?void 0:i(u,p)}})},62882:function(d,g,e){"use strict";var r=e(94488),i=e(83126),l=e(25587),c=e(95955),f=e(69905),s=e(94844),h=e(13764),u=h.codeAt,a=h.charAt,x="String Iterator",p=s.set,y=s.getterFor(x),_=i(function(S){p(this,{type:x,string:S,index:0})},"String",function(){var S=y(this),R=S.string,L=S.index,T;return L>=R.length?l(void 0,!0):(T=a(R,L),S.index+=T.length,l({codePoint:u(T,0),position:L},!1))});r({target:"String",proto:!0,forced:!0},{codePoints:function(){return new _(f(c(this)))}})},59348:function(d,g,e){"use strict";var r=e(94488),i=e(67410);r({target:"String",stat:!0,forced:!0},{cooked:i})},37457:function(d,g,e){"use strict";var r=e(13247),i=e(94488),l=e(86528),c=e(94237),f=e(13743),s=e(80449),h=e(94029),u=e(55327),a=e(82762),x=e(37691).f,p=e(71698),y=e(42530),_=e(67410),b=e(79204),S=e(19268),R=new y.WeakMap,L=y.get,T=y.has,D=y.set,M=Array,N=TypeError,j=Object.freeze||Object,Q=Object.isFrozen,X=Math.min,Y=c("".charAt),oe=c("".slice),ie=c("".split),ue=c(/./.exec),K=/([\n\u2028\u2029]|\r\n?)/g,V=RegExp("^["+S+"]*"),G=RegExp("[^"+S+"]"),te="Invalid tag",q="Invalid opening line",J="Invalid closing line",le=function(Re){var Ze=Re.raw;if(r&&!Q(Ze))throw new N("Raw template should be frozen");if(T(R,Ze))return L(R,Ze);var $e=z(Ze),Ht=se($e);return x(Ht,"raw",{value:j($e)}),j(Ht),D(R,Ze,Ht),Ht},z=function(Re){var Ze=h(Re),$e=a(Ze),Ht=M($e),bt=M($e),Ot=0,qt,er,Jt,Xe;if(!$e)throw new N(te);for(;Ot<$e;Ot++){var Pt=Ze[Ot];if(typeof Pt=="string")Ht[Ot]=ie(Pt,K);else throw new N(te)}for(Ot=0;Ot<$e;Ot++){var Ut=Ot+1===$e;if(qt=Ht[Ot],Ot===0){if(qt.length===1||qt[0].length>0)throw new N(q);qt[1]=""}if(Ut){if(qt.length===1||ue(G,qt[qt.length-1]))throw new N(J);qt[qt.length-2]="",qt[qt.length-1]=""}for(var st=2;st<qt.length;st+=2){var yt=qt[st],ht=st+1===qt.length&&!Ut,Je=ue(V,yt)[0];if(!ht&&Je.length===yt.length){qt[st]="";continue}er=F(Je,er)}}var je=er?er.length:0;for(Ot=0;Ot<$e;Ot++){for(qt=Ht[Ot],Jt=qt[0],Xe=1;Xe<qt.length;Xe+=2)Jt+=qt[Xe]+oe(qt[Xe+1],je);bt[Ot]=Jt}return bt},F=function(Re,Ze){if(Ze===void 0||Re===Ze)return Re;for(var $e=0,Ht=X(Re.length,Ze.length);$e<Ht&&Y(Re,$e)===Y(Ze,$e);$e++);return oe(Re,0,$e)},se=function(Re){for(var Ze=0,$e=Re.length,Ht=M($e);Ze<$e;Ze++)Ht[Ze]=b(Re[Ze]);return Ht},_e=function(Re){return l(function(Ze){var $e=p(arguments);return $e[0]=le(s(Ze)),f(Re,this,$e)},"")},Pe=_e(_);i({target:"String",stat:!0,forced:!0},{dedent:function(Ze){return s(Ze),u(Ze)?_e(Ze):f(Pe,this,arguments)}})},14800:function(d,g,e){"use strict";var r=e(94488),i=e(16332),l=e(53456),c=e(58218),f=e(24538),s=e(20132),h=e(68151),u=e(35012),a=e(61888),x=e(7825),p=e(59893),y=p("toStringTag"),_=Error,b=function(L,T,D){var M=i(S,this),N;return c?N=c(new _,M?l(this):S):(N=M?this:s(S),h(N,y,"Error")),D!==void 0&&h(N,"message",x(D)),a(N,b,N.stack,1),h(N,"error",L),h(N,"suppressed",T),N};c?c(b,_):f(b,_,{name:!0});var S=b.prototype=s(_.prototype,{constructor:u(1,b),message:u(1,""),name:u(1,"SuppressedError")});r({global:!0,constructor:!0,arity:3},{SuppressedError:b})},70654:function(d,g,e){"use strict";var r=e(92916),i=e(94674),l=e(37691).f,c=e(71256).f,f=r.Symbol;if(i("asyncDispose"),f){var s=c(f,"asyncDispose");s.enumerable&&s.configurable&&s.writable&&l(f,"asyncDispose",{value:s.value,enumerable:!1,configurable:!1,writable:!1})}},90252:function(d,g,e){"use strict";var r=e(92916),i=e(94674),l=e(37691).f,c=e(71256).f,f=r.Symbol;if(i("dispose"),f){var s=c(f,"dispose");s.enumerable&&s.configurable&&s.writable&&l(f,"dispose",{value:s.value,enumerable:!1,configurable:!1,writable:!1})}},29482:function(d,g,e){"use strict";var r=e(94488),i=e(69077);r({target:"Symbol",stat:!0},{isRegisteredSymbol:i})},51630:function(d,g,e){"use strict";var r=e(94488),i=e(69077);r({target:"Symbol",stat:!0,name:"isRegisteredSymbol"},{isRegistered:i})},61933:function(d,g,e){"use strict";var r=e(94488),i=e(40443);r({target:"Symbol",stat:!0,forced:!0},{isWellKnownSymbol:i})},619:function(d,g,e){"use strict";var r=e(94488),i=e(40443);r({target:"Symbol",stat:!0,name:"isWellKnownSymbol",forced:!0},{isWellKnown:i})},99675:function(d,g,e){"use strict";var r=e(94674);r("matcher")},53637:function(d,g,e){"use strict";var r=e(94674);r("metadataKey")},52548:function(d,g,e){"use strict";var r=e(94674);r("metadata")},57482:function(d,g,e){"use strict";var r=e(94674);r("observable")},59725:function(d,g,e){"use strict";var r=e(94674);r("patternMatch")},17610:function(d,g,e){"use strict";var r=e(94674);r("replaceAll")},11507:function(d,g,e){"use strict";var r=e(58261),i=e(90560).filterReject,l=e(27607),c=r.aTypedArray,f=r.exportTypedArrayMethod;f("filterOut",function(h){var u=i(c(this),h,arguments.length>1?arguments[1]:void 0);return l(this,u)},!0)},16315:function(d,g,e){"use strict";var r=e(58261),i=e(90560).filterReject,l=e(27607),c=r.aTypedArray,f=r.exportTypedArrayMethod;f("filterReject",function(h){var u=i(c(this),h,arguments.length>1?arguments[1]:void 0);return l(this,u)},!0)},56966:function(d,g,e){"use strict";var r=e(65911),i=e(6086),l=e(32278),c=e(58261),f=e(69478),s=c.aTypedArrayConstructor,h=c.exportTypedArrayStaticMethod;h("fromAsync",function(a){var x=this,p=arguments.length,y=p>1?arguments[1]:void 0,_=p>2?arguments[2]:void 0;return new(r("Promise"))(function(b){i(x),b(l(a,y,_))}).then(function(b){return f(s(x),b)})},!0)},60239:function(d,g,e){"use strict";var r=e(58261),i=e(36444),l=e(31384),c=r.aTypedArray,f=r.exportTypedArrayMethod;f("groupBy",function(h){var u=arguments.length>1?arguments[1]:void 0;return i(c(this),h,u,l)},!0)},49381:function(d,g,e){"use strict";var r=e(58261),i=e(82762),l=e(75406),c=e(51981),f=e(93303),s=e(56902),h=e(3338),u=r.aTypedArray,a=r.getTypedArrayConstructor,x=r.exportTypedArrayMethod,p=Math.max,y=Math.min,_=!h(function(){var b=new Int8Array([1]),S=b.toSpliced(1,0,{valueOf:function(){return b[0]=2,3}});return S[0]!==2||S[1]!==3});x("toSpliced",function(S,R){var L=u(this),T=a(L),D=i(L),M=c(S,D),N=arguments.length,j=0,Q,X,Y,oe,ie,ue,K;if(N===0)Q=X=0;else if(N===1)Q=0,X=D-M;else if(X=y(p(s(R),0),D-M),Q=N-2,Q){oe=new T(Q),Y=l(oe);for(var V=2;V<N;V++)ie=arguments[V],oe[V-2]=Y?f(ie):+ie}for(ue=D+Q-X,K=new T(ue);j<M;j++)K[j]=L[j];for(;j<M+Q;j++)K[j]=oe[j-M];for(;j<ue;j++)K[j]=L[j+X-Q];return K},!_)},17230:function(d,g,e){"use strict";var r=e(94237),i=e(58261),l=e(69478),c=e(65621),f=i.aTypedArray,s=i.getTypedArrayConstructor,h=i.exportTypedArrayMethod,u=r(c);h("uniqueBy",function(x){return f(this),l(s(this),u(this,x))},!0)},62720:function(d,g,e){"use strict";var r=e(94488),i=e(92916),l=e(94237),c=e(1674),f=e(79606),s=e(32621),h=e(69478),u=e(66244),a=e(81750),x=u.c2i,p=u.c2iUrl,y=i.Uint8Array,_=i.SyntaxError,b=l("".charAt),S=l("".replace),R=l("".slice),L=l([].push),T=/[\t\n\f\r ]/g,D="Extra bits";y&&r({target:"Uint8Array",stat:!0,forced:!0},{fromBase64:function(N){f(N);var j=arguments.length>1?c(arguments[1]):void 0,Q=a(j)==="base64"?x:p,X=j?!!j.strict:!1,Y=X?N:S(N,T,"");if(Y.length%4===0)R(Y,-2)==="=="?Y=R(Y,0,-2):R(Y,-1)==="="&&(Y=R(Y,0,-1));else if(X)throw new _("Input is not correctly padded");var oe=Y.length%4;switch(oe){case 1:throw new _("Bad input length");case 2:Y+="AA";break;case 3:Y+="A"}for(var ie=[],ue=0,K=Y.length,V=function(q){var J=b(Y,ue+q);if(!s(Q,J))throw new _('Bad char in input: "'+J+'"');return Q[J]<<18-6*q};ue<K;ue+=4){var G=V(0)+V(1)+V(2)+V(3);L(ie,G>>16&255,G>>8&255,G&255)}var te=ie.length;if(oe===2){if(X&&ie[te-2]!==0)throw new _(D);te-=2}else if(oe===3){if(X&&ie[te-1]!==0)throw new _(D);te--}return h(y,ie,te)}})},57151:function(d,g,e){"use strict";var r=e(94488),i=e(92916),l=e(94237),c=e(79606),f=i.Uint8Array,s=i.SyntaxError,h=i.parseInt,u=/[^\da-f]/i,a=l(u.exec),x=l("".slice);f&&r({target:"Uint8Array",stat:!0,forced:!0},{fromHex:function(y){c(y);var _=y.length;if(_%2)throw new s("String should have an even number of characters");if(a(u,y))throw new s("String should only contain hex characters");for(var b=new f(_/2),S=0;S<_;S+=2)b[S/2]=h(x(y,S,S+2),16);return b}})},48732:function(d,g,e){"use strict";var r=e(94488),i=e(92916),l=e(94237),c=e(1674),f=e(27270),s=e(66244),h=e(81750),u=s.i2c,a=s.i2cUrl,x=i.Uint8Array,p=l("".charAt);x&&r({target:"Uint8Array",proto:!0,forced:!0},{toBase64:function(){for(var _=f(this),b=arguments.length?c(arguments[0]):void 0,S=h(b)==="base64"?u:a,R="",L=0,T=_.length,D,M=function(N){return p(S,D>>6*N&63)};L+2<T;L+=3)D=(_[L]<<16)+(_[L+1]<<8)+_[L+2],R+=M(3)+M(2)+M(1)+M(0);return L+2===T?(D=(_[L]<<16)+(_[L+1]<<8),R+=M(3)+M(2)+M(1)+"="):L+1===T&&(D=_[L]<<16,R+=M(3)+M(2)+"=="),R}})},18481:function(d,g,e){"use strict";var r=e(94488),i=e(92916),l=e(94237),c=e(27270),f=i.Uint8Array,s=l(1 .toString);f&&r({target:"Uint8Array",proto:!0,forced:!0},{toHex:function(){c(this);for(var u="",a=0,x=this.length;a<x;a++){var p=s(this[a],16);u+=p.length===1?"0"+p:p}return u}})},55055:function(d,g,e){"use strict";var r=e(94488),i=e(63619),l=e(42530).remove;r({target:"WeakMap",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var f=i(this),s=!0,h,u=0,a=arguments.length;u<a;u++)h=l(f,arguments[u]),s=s&&h;return!!s}})},90965:function(d,g,e){"use strict";var r=e(94488),i=e(63619),l=e(42530),c=l.get,f=l.has,s=l.set;r({target:"WeakMap",proto:!0,real:!0,forced:!0},{emplace:function(u,a){var x=i(this),p,y;return f(x,u)?(p=c(x,u),"update"in a&&(p=a.update(p,u,x),s(x,u,p)),p):(y=a.insert(u,x),s(x,u,y),y)}})},7195:function(d,g,e){"use strict";var r=e(94488),i=e(72846);r({target:"WeakMap",stat:!0,forced:!0},{from:i})},89179:function(d,g,e){"use strict";var r=e(94488),i=e(48800);r({target:"WeakMap",stat:!0,forced:!0},{of:i})},67725:function(d,g,e){"use strict";var r=e(94488),i=e(14615);r({target:"WeakMap",proto:!0,real:!0,forced:!0},{upsert:i})},59884:function(d,g,e){"use strict";var r=e(94488),i=e(18888),l=e(91385).add;r({target:"WeakSet",proto:!0,real:!0,forced:!0},{addAll:function(){for(var f=i(this),s=0,h=arguments.length;s<h;s++)l(f,arguments[s]);return f}})},89202:function(d,g,e){"use strict";var r=e(94488),i=e(18888),l=e(91385).remove;r({target:"WeakSet",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var f=i(this),s=!0,h,u=0,a=arguments.length;u<a;u++)h=l(f,arguments[u]),s=s&&h;return!!s}})},97815:function(d,g,e){"use strict";var r=e(94488),i=e(72846);r({target:"WeakSet",stat:!0,forced:!0},{from:i})},11593:function(d,g,e){"use strict";var r=e(94488),i=e(48800);r({target:"WeakSet",stat:!0,forced:!0},{of:i})},7597:function(d,g,e){"use strict";var r=e(94488),i=e(92916),l=e(65911),c=e(94237),f=e(89945),s=e(3338),h=e(69905),u=e(57106),a=e(66244).c2i,x=/[^\d+/a-z]/i,p=/[\t\n\f\r ]+/g,y=/[=]{1,2}$/,_=l("atob"),b=String.fromCharCode,S=c("".charAt),R=c("".replace),L=c(x.exec),T=!!_&&!s(function(){return _("aGk=")!=="hi"}),D=T&&s(function(){return _(" ")!==""}),M=T&&!s(function(){_("a")}),N=T&&!s(function(){_()}),j=T&&_.length!==1,Q=!T||D||M||N||j;r({global:!0,bind:!0,enumerable:!0,forced:Q},{atob:function(Y){if(u(arguments.length,1),T&&!D&&!M)return f(_,i,Y);var oe=R(h(Y),p,""),ie="",ue=0,K=0,V,G,te;if(oe.length%4===0&&(oe=R(oe,y,"")),V=oe.length,V%4===1||L(x,oe))throw new(l("DOMException"))("The string is not correctly encoded","InvalidCharacterError");for(;ue<V;)G=S(oe,ue++),te=K%4?te*64+a[G]:a[G],K++%4&&(ie+=b(255&te>>(-2*K&6)));return ie}})},55182:function(d,g,e){"use strict";var r=e(94488),i=e(92916),l=e(65911),c=e(94237),f=e(89945),s=e(3338),h=e(69905),u=e(57106),a=e(66244).i2c,x=l("btoa"),p=c("".charAt),y=c("".charCodeAt),_=!!x&&!s(function(){return x("hi")!=="aGk="}),b=_&&!s(function(){x()}),S=_&&s(function(){return x(null)!=="bnVsbA=="}),R=_&&x.length!==1;r({global:!0,bind:!0,enumerable:!0,forced:!_||b||S||R},{btoa:function(T){if(u(arguments.length,1),_)return f(x,i,h(T));for(var D=h(T),M="",N=0,j=a,Q,X;p(D,N)||(j="=",N%1);){if(X=y(D,N+=.75),X>255)throw new(l("DOMException"))("The string contains characters outside of the Latin1 range","InvalidCharacterError");Q=Q<<8|X,M+=p(j,63&Q>>8-N%1*8)}return M}})},91472:function(d,g,e){"use strict";var r=e(94488),i=e(92916),l=e(28887).clear;r({global:!0,bind:!0,enumerable:!0,forced:i.clearImmediate!==l},{clearImmediate:l})},34366:function(d,g,e){"use strict";var r=e(92916),i=e(66749),l=e(9518),c=e(59594),f=e(68151),s=function(u){if(u&&u.forEach!==c)try{f(u,"forEach",c)}catch(a){u.forEach=c}};for(var h in i)i[h]&&s(r[h]&&r[h].prototype);s(l)},85425:function(d,g,e){"use strict";var r=e(92916),i=e(66749),l=e(9518),c=e(11005),f=e(68151),s=e(94573),h=e(59893),u=h("iterator"),a=c.values,x=function(y,_){if(y){if(y[u]!==a)try{f(y,u,a)}catch(S){y[u]=a}if(s(y,_,!0),i[_]){for(var b in c)if(y[b]!==c[b])try{f(y,b,c[b])}catch(S){y[b]=c[b]}}}};for(var p in i)x(r[p]&&r[p].prototype,p);x(l,"DOMTokenList")},64522:function(d,g,e){"use strict";var r=e(94488),i=e(11270),l=e(65911),c=e(3338),f=e(20132),s=e(35012),h=e(37691).f,u=e(2291),a=e(64110),x=e(32621),p=e(56472),y=e(80449),_=e(13367),b=e(7825),S=e(52109),R=e(80739),L=e(94844),T=e(35454),D=e(16697),M="DOMException",N="DATA_CLONE_ERR",j=l("Error"),Q=l(M)||function(){try{var bt=l("MessageChannel")||i("worker_threads").MessageChannel;new bt().port1.postMessage(new WeakMap)}catch(Ot){if(Ot.name===N&&Ot.code===25)return Ot.constructor}}(),X=Q&&Q.prototype,Y=j.prototype,oe=L.set,ie=L.getterFor(M),ue="stack"in new j(M),K=function(bt){return x(S,bt)&&S[bt].m?S[bt].c:0},V=function(){p(this,G);var Ot=arguments.length,qt=b(Ot<1?void 0:arguments[0]),er=b(Ot<2?void 0:arguments[1],"Error"),Jt=K(er);if(oe(this,{type:M,name:er,message:qt,code:Jt}),T||(this.name=er,this.message=qt,this.code=Jt),ue){var Xe=new j(qt);Xe.name=M,h(this,"stack",s(1,R(Xe.stack,1)))}},G=V.prototype=f(Y),te=function(bt){return{enumerable:!0,configurable:!0,get:bt}},q=function(bt){return te(function(){return ie(this)[bt]})};T&&(a(G,"code",q("code")),a(G,"message",q("message")),a(G,"name",q("name"))),h(G,"constructor",s(1,V));var J=c(function(){return!(new Q instanceof j)}),le=J||c(function(){return Y.toString!==_||String(new Q(1,2))!=="2: 1"}),z=J||c(function(){return new Q(1,"DataCloneError").code!==25}),F=J||Q[N]!==25||X[N]!==25,se=D?le||z||F:J;r({global:!0,constructor:!0,forced:se},{DOMException:se?V:Q});var _e=l(M),Pe=_e.prototype;le&&(D||Q===_e)&&u(Pe,"toString",_),z&&T&&Q===_e&&a(Pe,"code",te(function(){return K(y(this).name)}));for(var Re in S)if(x(S,Re)){var Ze=S[Re],$e=Ze.s,Ht=s(6,Ze.c);x(_e,$e)||h(_e,$e,Ht),x(Pe,$e)||h(Pe,$e,Ht)}},41599:function(d,g,e){"use strict";var r=e(94488),i=e(92916),l=e(65911),c=e(35012),f=e(37691).f,s=e(32621),h=e(56472),u=e(25576),a=e(7825),x=e(52109),p=e(80739),y=e(35454),_=e(16697),b="DOMException",S=l("Error"),R=l(b),L=function(){h(this,T);var V=arguments.length,G=a(V<1?void 0:arguments[0]),te=a(V<2?void 0:arguments[1],"Error"),q=new R(G,te),J=new S(G);return J.name=b,f(q,"stack",c(1,p(J.stack,1))),u(q,this,L),q},T=L.prototype=R.prototype,D="stack"in new S(b),M="stack"in new R(1,2),N=R&&y&&Object.getOwnPropertyDescriptor(i,b),j=!!N&&!(N.writable&&N.configurable),Q=D&&!j&&!M;r({global:!0,constructor:!0,forced:_||Q},{DOMException:Q?L:R});var X=l(b),Y=X.prototype;if(Y.constructor!==X){_||f(Y,"constructor",c(1,X));for(var oe in x)if(s(x,oe)){var ie=x[oe],ue=ie.s;s(X,ue)||f(X,ue,c(6,ie.c))}}},86465:function(d,g,e){"use strict";var r=e(65911),i=e(94573),l="DOMException";i(r(l),l)},78437:function(d,g,e){"use strict";e(91472),e(91700)},73624:function(d,g,e){"use strict";var r=e(94488),i=e(92916),l=e(72933),c=e(63335),f=e(57106),s=e(90946),h=i.process;r({global:!0,enumerable:!0,dontCallGetSet:!0},{queueMicrotask:function(a){f(arguments.length,1),c(a);var x=s&&h.domain;l(x?x.bind(a):a)}})},62059:function(d,g,e){"use strict";var r=e(94488),i=e(92916),l=e(64110),c=e(35454),f=TypeError,s=Object.defineProperty,h=i.self!==i;try{if(c){var u=Object.getOwnPropertyDescriptor(i,"self");(h||!u||!u.get||!u.enumerable)&&l(i,"self",{get:function(){return i},set:function(x){if(this!==i)throw new f("Illegal invocation");s(i,"self",{value:x,writable:!0,configurable:!0,enumerable:!0})},configurable:!0,enumerable:!0})}else r({global:!0,simple:!0,forced:h},{self:i})}catch(a){}},91700:function(d,g,e){"use strict";var r=e(94488),i=e(92916),l=e(28887).set,c=e(93222),f=i.setImmediate?c(l,!1):l;r({global:!0,bind:!0,enumerable:!0,forced:i.setImmediate!==f},{setImmediate:f})},88469:function(d,g,e){"use strict";var r=e(94488),i=e(92916),l=e(93222),c=l(i.setInterval,!0);r({global:!0,bind:!0,forced:i.setInterval!==c},{setInterval:c})},91572:function(d,g,e){"use strict";var r=e(94488),i=e(92916),l=e(93222),c=l(i.setTimeout,!0);r({global:!0,bind:!0,forced:i.setTimeout!==c},{setTimeout:c})},10305:function(d,g,e){"use strict";var r=e(16697),i=e(94488),l=e(92916),c=e(65911),f=e(94237),s=e(3338),h=e(6145),u=e(55327),a=e(39812),x=e(4112),p=e(31946),y=e(18446),_=e(62003),b=e(80449),S=e(97607),R=e(32621),L=e(69392),T=e(68151),D=e(82762),M=e(57106),N=e(81644),j=e(2786),Q=e(19691),X=e(57002),Y=e(39311),oe=e(25406),ie=e(80426),ue=l.Object,K=l.Array,V=l.Date,G=l.Error,te=l.TypeError,q=l.PerformanceMark,J=c("DOMException"),le=j.Map,z=j.has,F=j.get,se=j.set,_e=Q.Set,Pe=Q.add,Re=Q.has,Ze=c("Object","keys"),$e=f([].push),Ht=f((!0).valueOf),bt=f(1 .valueOf),Ot=f("".valueOf),qt=f(V.prototype.getTime),er=h("structuredClone"),Jt="DataCloneError",Xe="Transferring",Pt=function(Ie){return!s(function(){var qe=new l.Set([7]),Gt=Ie(qe),kt=Ie(ue(7));return Gt===qe||!Gt.has(7)||!p(kt)||+kt!=7})&&Ie},Ut=function(Ie,qe){return!s(function(){var Gt=new qe,kt=Ie({a:Gt,b:Gt});return!(kt&&kt.a===kt.b&&kt.a instanceof qe&&kt.a.stack===Gt.stack)})},st=function(Ie){return!s(function(){var qe=Ie(new l.AggregateError([1],er,{cause:3}));return qe.name!=="AggregateError"||qe.errors[0]!==1||qe.message!==er||qe.cause!==3})},yt=l.structuredClone,ht=r||!Ut(yt,G)||!Ut(yt,J)||!st(yt),Je=!yt&&Pt(function(Ie){return new q(er,{detail:Ie}).detail}),je=Pt(yt)||Je,ge=function(Ie){throw new J("Uncloneable type: "+Ie,Jt)},Se=function(Ie,qe){throw new J((qe||"Cloning")+" of "+Ie+" cannot be properly polyfilled in this engine",Jt)},Me=function(Ie,qe){return je||Se(qe),je(Ie)},Ne=function(){var Ie;try{Ie=new l.DataTransfer}catch(qe){try{Ie=new l.ClipboardEvent("").clipboardData}catch(Gt){}}return Ie&&Ie.items&&Ie.files?Ie:null},He=function(Ie,qe,Gt){if(z(qe,Ie))return F(qe,Ie);var kt=Gt||S(Ie),Zt,Nt,Ct,Yt,We,fe;if(kt==="SharedArrayBuffer")je?Zt=je(Ie):Zt=Ie;else{var pe=l.DataView;!pe&&!u(Ie.slice)&&Se("ArrayBuffer");try{if(u(Ie.slice)&&!Ie.resizable)Zt=Ie.slice(0);else for(Nt=Ie.byteLength,Ct=("maxByteLength"in Ie)?{maxByteLength:Ie.maxByteLength}:void 0,Zt=new ArrayBuffer(Nt,Ct),Yt=new pe(Ie),We=new pe(Zt),fe=0;fe<Nt;fe++)We.setUint8(fe,Yt.getUint8(fe))}catch(Dt){throw new J("ArrayBuffer is detached",Jt)}}return se(qe,Ie,Zt),Zt},nt=function(Ie,qe,Gt,kt,Zt){var Nt=l[qe];return p(Nt)||Se(qe),new Nt(He(Ie.buffer,Zt),Gt,kt)},ct=function(Ie,qe){if(y(Ie)&&ge("Symbol"),!p(Ie))return Ie;if(qe){if(z(qe,Ie))return F(qe,Ie)}else qe=new le;var Gt=S(Ie),kt,Zt,Nt,Ct,Yt,We,fe,pe;switch(Gt){case"Array":Nt=K(D(Ie));break;case"Object":Nt={};break;case"Map":Nt=new le;break;case"Set":Nt=new _e;break;case"RegExp":Nt=new RegExp(Ie.source,N(Ie));break;case"Error":switch(Zt=Ie.name,Zt){case"AggregateError":Nt=new(c(Zt))([]);break;case"EvalError":case"RangeError":case"ReferenceError":case"SuppressedError":case"SyntaxError":case"TypeError":case"URIError":Nt=new(c(Zt));break;case"CompileError":case"LinkError":case"RuntimeError":Nt=new(c("WebAssembly",Zt));break;default:Nt=new G}break;case"DOMException":Nt=new J(Ie.message,Ie.name);break;case"ArrayBuffer":case"SharedArrayBuffer":Nt=He(Ie,qe,Gt);break;case"DataView":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float16Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":We=Gt==="DataView"?Ie.byteLength:Ie.length,Nt=nt(Ie,Gt,Ie.byteOffset,We,qe);break;case"DOMQuad":try{Nt=new DOMQuad(ct(Ie.p1,qe),ct(Ie.p2,qe),ct(Ie.p3,qe),ct(Ie.p4,qe))}catch(Dt){Nt=Me(Ie,Gt)}break;case"File":if(je)try{Nt=je(Ie),S(Nt)!==Gt&&(Nt=void 0)}catch(Dt){}if(!Nt)try{Nt=new File([Ie],Ie.name,Ie)}catch(Dt){}Nt||Se(Gt);break;case"FileList":if(Ct=Ne(),Ct){for(Yt=0,We=D(Ie);Yt<We;Yt++)Ct.items.add(ct(Ie[Yt],qe));Nt=Ct.files}else Nt=Me(Ie,Gt);break;case"ImageData":try{Nt=new ImageData(ct(Ie.data,qe),Ie.width,Ie.height,{colorSpace:Ie.colorSpace})}catch(Dt){Nt=Me(Ie,Gt)}break;default:if(je)Nt=je(Ie);else switch(Gt){case"BigInt":Nt=ue(Ie.valueOf());break;case"Boolean":Nt=ue(Ht(Ie));break;case"Number":Nt=ue(bt(Ie));break;case"String":Nt=ue(Ot(Ie));break;case"Date":Nt=new V(qt(Ie));break;case"Blob":try{Nt=Ie.slice(0,Ie.size,Ie.type)}catch(Dt){Se(Gt)}break;case"DOMPoint":case"DOMPointReadOnly":kt=l[Gt];try{Nt=kt.fromPoint?kt.fromPoint(Ie):new kt(Ie.x,Ie.y,Ie.z,Ie.w)}catch(Dt){Se(Gt)}break;case"DOMRect":case"DOMRectReadOnly":kt=l[Gt];try{Nt=kt.fromRect?kt.fromRect(Ie):new kt(Ie.x,Ie.y,Ie.width,Ie.height)}catch(Dt){Se(Gt)}break;case"DOMMatrix":case"DOMMatrixReadOnly":kt=l[Gt];try{Nt=kt.fromMatrix?kt.fromMatrix(Ie):new kt(Ie)}catch(Dt){Se(Gt)}break;case"AudioData":case"VideoFrame":u(Ie.clone)||Se(Gt);try{Nt=Ie.clone()}catch(Dt){ge(Gt)}break;case"CropTarget":case"CryptoKey":case"FileSystemDirectoryHandle":case"FileSystemFileHandle":case"FileSystemHandle":case"GPUCompilationInfo":case"GPUCompilationMessage":case"ImageBitmap":case"RTCCertificate":case"WebAssembly.Module":Se(Gt);default:ge(Gt)}}switch(se(qe,Ie,Nt),Gt){case"Array":case"Object":for(fe=Ze(Ie),Yt=0,We=D(fe);Yt<We;Yt++)pe=fe[Yt],L(Nt,pe,ct(Ie[pe],qe));break;case"Map":Ie.forEach(function(Dt,Ce){se(Nt,ct(Ce,qe),ct(Dt,qe))});break;case"Set":Ie.forEach(function(Dt){Pe(Nt,ct(Dt,qe))});break;case"Error":T(Nt,"message",ct(Ie.message,qe)),R(Ie,"cause")&&T(Nt,"cause",ct(Ie.cause,qe)),Zt==="AggregateError"?Nt.errors=ct(Ie.errors,qe):Zt==="SuppressedError"&&(Nt.error=ct(Ie.error,qe),Nt.suppressed=ct(Ie.suppressed,qe));case"DOMException":oe&&T(Nt,"stack",ct(Ie.stack,qe))}return Nt},Vt=function(Ie,qe){if(!p(Ie))throw new te("Transfer option cannot be converted to a sequence");var Gt=[];_(Ie,function(Ce){$e(Gt,b(Ce))});for(var kt=0,Zt=D(Gt),Nt=new _e,Ct,Yt,We,fe,pe,Dt;kt<Zt;){if(Ct=Gt[kt++],Yt=S(Ct),Yt==="ArrayBuffer"?Re(Nt,Ct):z(qe,Ct))throw new J("Duplicate transferable",Jt);if(Yt==="ArrayBuffer"){Pe(Nt,Ct);continue}if(ie)fe=yt(Ct,{transfer:[Ct]});else switch(Yt){case"ImageBitmap":We=l.OffscreenCanvas,a(We)||Se(Yt,Xe);try{pe=new We(Ct.width,Ct.height),Dt=pe.getContext("bitmaprenderer"),Dt.transferFromImageBitmap(Ct),fe=pe.transferToImageBitmap()}catch(Ce){}break;case"AudioData":case"VideoFrame":(!u(Ct.clone)||!u(Ct.close))&&Se(Yt,Xe);try{fe=Ct.clone(),Ct.close()}catch(Ce){}break;case"MediaSourceHandle":case"MessagePort":case"OffscreenCanvas":case"ReadableStream":case"TransformStream":case"WritableStream":Se(Yt,Xe)}if(fe===void 0)throw new J("This object cannot be transferred: "+Yt,Jt);se(qe,Ct,fe)}return Nt},Wt=function(Ie){X(Ie,function(qe){ie?je(qe,{transfer:[qe]}):u(qe.transfer)?qe.transfer():Y?Y(qe):Se("ArrayBuffer",Xe)})};i({global:!0,enumerable:!0,sham:!ie,forced:ht},{structuredClone:function(qe){var Gt=M(arguments.length,1)>1&&!x(arguments[1])?b(arguments[1]):void 0,kt=Gt?Gt.transfer:void 0,Zt,Nt;kt!==void 0&&(Zt=new le,Nt=Vt(kt,Zt));var Ct=ct(qe,Zt);return Nt&&Wt(Nt),Ct}})},41208:function(d,g,e){"use strict";e(88469),e(91572)},91340:function(d,g,e){"use strict";e(11005);var r=e(94488),i=e(92916),l=e(89945),c=e(94237),f=e(35454),s=e(3299),h=e(2291),u=e(64110),a=e(66477),x=e(94573),p=e(83126),y=e(94844),_=e(56472),b=e(55327),S=e(32621),R=e(80666),L=e(97607),T=e(80449),D=e(31946),M=e(69905),N=e(20132),j=e(35012),Q=e(85428),X=e(26006),Y=e(25587),oe=e(57106),ie=e(59893),ue=e(63668),K=ie("iterator"),V="URLSearchParams",G=V+"Iterator",te=y.set,q=y.getterFor(V),J=y.getterFor(G),le=Object.getOwnPropertyDescriptor,z=function(Zt){if(!f)return i[Zt];var Nt=le(i,Zt);return Nt&&Nt.value},F=z("fetch"),se=z("Request"),_e=z("Headers"),Pe=se&&se.prototype,Re=_e&&_e.prototype,Ze=i.RegExp,$e=i.TypeError,Ht=i.decodeURIComponent,bt=i.encodeURIComponent,Ot=c("".charAt),qt=c([].join),er=c([].push),Jt=c("".replace),Xe=c([].shift),Pt=c([].splice),Ut=c("".split),st=c("".slice),yt=/\+/g,ht=Array(4),Je=function(Zt){return ht[Zt-1]||(ht[Zt-1]=Ze("((?:%[\\da-f]{2}){"+Zt+"})","gi"))},je=function(Zt){try{return Ht(Zt)}catch(Nt){return Zt}},ge=function(Zt){var Nt=Jt(Zt,yt," "),Ct=4;try{return Ht(Nt)}catch(Yt){for(;Ct;)Nt=Jt(Nt,Je(Ct--),je);return Nt}},Se=/[!'()~]|%20/g,Me={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},Ne=function(Zt){return Me[Zt]},He=function(Zt){return Jt(bt(Zt),Se,Ne)},nt=p(function(Nt,Ct){te(this,{type:G,target:q(Nt).entries,index:0,kind:Ct})},V,function(){var Nt=J(this),Ct=Nt.target,Yt=Nt.index++;if(!Ct||Yt>=Ct.length)return Nt.target=void 0,Y(void 0,!0);var We=Ct[Yt];switch(Nt.kind){case"keys":return Y(We.key,!1);case"values":return Y(We.value,!1)}return Y([We.key,We.value],!1)},!0),ct=function(Zt){this.entries=[],this.url=null,Zt!==void 0&&(D(Zt)?this.parseObject(Zt):this.parseQuery(typeof Zt=="string"?Ot(Zt,0)==="?"?st(Zt,1):Zt:M(Zt)))};ct.prototype={type:V,bindURL:function(Zt){this.url=Zt,this.update()},parseObject:function(Zt){var Nt=this.entries,Ct=X(Zt),Yt,We,fe,pe,Dt,Ce,dt;if(Ct)for(Yt=Q(Zt,Ct),We=Yt.next;!(fe=l(We,Yt)).done;){if(pe=Q(T(fe.value)),Dt=pe.next,(Ce=l(Dt,pe)).done||(dt=l(Dt,pe)).done||!l(Dt,pe).done)throw new $e("Expected sequence with length 2");er(Nt,{key:M(Ce.value),value:M(dt.value)})}else for(var zt in Zt)S(Zt,zt)&&er(Nt,{key:zt,value:M(Zt[zt])})},parseQuery:function(Zt){if(Zt)for(var Nt=this.entries,Ct=Ut(Zt,"&"),Yt=0,We,fe;Yt<Ct.length;)We=Ct[Yt++],We.length&&(fe=Ut(We,"="),er(Nt,{key:ge(Xe(fe)),value:ge(qt(fe,"="))}))},serialize:function(){for(var Zt=this.entries,Nt=[],Ct=0,Yt;Ct<Zt.length;)Yt=Zt[Ct++],er(Nt,He(Yt.key)+"="+He(Yt.value));return qt(Nt,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var Vt=function(){_(this,Wt);var Nt=arguments.length>0?arguments[0]:void 0,Ct=te(this,new ct(Nt));f||(this.size=Ct.entries.length)},Wt=Vt.prototype;if(a(Wt,{append:function(Nt,Ct){var Yt=q(this);oe(arguments.length,2),er(Yt.entries,{key:M(Nt),value:M(Ct)}),f||this.length++,Yt.updateURL()},delete:function(Zt){for(var Nt=q(this),Ct=oe(arguments.length,1),Yt=Nt.entries,We=M(Zt),fe=Ct<2?void 0:arguments[1],pe=fe===void 0?fe:M(fe),Dt=0;Dt<Yt.length;){var Ce=Yt[Dt];if(Ce.key===We&&(pe===void 0||Ce.value===pe)){if(Pt(Yt,Dt,1),pe!==void 0)break}else Dt++}f||(this.size=Yt.length),Nt.updateURL()},get:function(Nt){var Ct=q(this).entries;oe(arguments.length,1);for(var Yt=M(Nt),We=0;We<Ct.length;We++)if(Ct[We].key===Yt)return Ct[We].value;return null},getAll:function(Nt){var Ct=q(this).entries;oe(arguments.length,1);for(var Yt=M(Nt),We=[],fe=0;fe<Ct.length;fe++)Ct[fe].key===Yt&&er(We,Ct[fe].value);return We},has:function(Nt){for(var Ct=q(this).entries,Yt=oe(arguments.length,1),We=M(Nt),fe=Yt<2?void 0:arguments[1],pe=fe===void 0?fe:M(fe),Dt=0;Dt<Ct.length;){var Ce=Ct[Dt++];if(Ce.key===We&&(pe===void 0||Ce.value===pe))return!0}return!1},set:function(Nt,Ct){var Yt=q(this);oe(arguments.length,1);for(var We=Yt.entries,fe=!1,pe=M(Nt),Dt=M(Ct),Ce=0,dt;Ce<We.length;Ce++)dt=We[Ce],dt.key===pe&&(fe?Pt(We,Ce--,1):(fe=!0,dt.value=Dt));fe||er(We,{key:pe,value:Dt}),f||(this.size=We.length),Yt.updateURL()},sort:function(){var Nt=q(this);ue(Nt.entries,function(Ct,Yt){return Ct.key>Yt.key?1:-1}),Nt.updateURL()},forEach:function(Nt){for(var Ct=q(this).entries,Yt=R(Nt,arguments.length>1?arguments[1]:void 0),We=0,fe;We<Ct.length;)fe=Ct[We++],Yt(fe.value,fe.key,this)},keys:function(){return new nt(this,"keys")},values:function(){return new nt(this,"values")},entries:function(){return new nt(this,"entries")}},{enumerable:!0}),h(Wt,K,Wt.entries,{name:"entries"}),h(Wt,"toString",function(){return q(this).serialize()},{enumerable:!0}),f&&u(Wt,"size",{get:function(){return q(this).entries.length},configurable:!0,enumerable:!0}),x(Vt,V),r({global:!0,constructor:!0,forced:!s},{URLSearchParams:Vt}),!s&&b(_e)){var Ie=c(Re.has),qe=c(Re.set),Gt=function(Zt){if(D(Zt)){var Nt=Zt.body,Ct;if(L(Nt)===V)return Ct=Zt.headers?new _e(Zt.headers):new _e,Ie(Ct,"content-type")||qe(Ct,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),N(Zt,{body:j(0,M(Nt)),headers:j(0,Ct)})}return Zt};if(b(F)&&r({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(Nt){return F(Nt,arguments.length>1?Gt(arguments[1]):{})}}),b(se)){var kt=function(Nt){return _(this,Pe),new se(Nt,arguments.length>1?Gt(arguments[1]):{})};Pe.constructor=kt,kt.prototype=Pe,r({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:kt})}}d.exports={URLSearchParams:Vt,getState:q}},4890:function(d,g,e){"use strict";var r=e(2291),i=e(94237),l=e(69905),c=e(57106),f=URLSearchParams,s=f.prototype,h=i(s.append),u=i(s.delete),a=i(s.forEach),x=i([].push),p=new f("a=1&a=2&b=3");p.delete("a",1),p.delete("b",void 0),p+""!="a=2"&&r(s,"delete",function(y){var _=arguments.length,b=_<2?void 0:arguments[1];if(_&&b===void 0)return u(this,y);var S=[];a(this,function(Q,X){x(S,{key:X,value:Q})}),c(_,1);for(var R=l(y),L=l(b),T=0,D=0,M=!1,N=S.length,j;T<N;)j=S[T++],M||j.key===R?(M=!0,u(this,j.key)):D++;for(;D<N;)j=S[D++],j.key===R&&j.value===L||h(this,j.key,j.value)},{enumerable:!0,unsafe:!0})},5340:function(d,g,e){"use strict";var r=e(2291),i=e(94237),l=e(69905),c=e(57106),f=URLSearchParams,s=f.prototype,h=i(s.getAll),u=i(s.has),a=new f("a=1");(a.has("a",2)||!a.has("a",void 0))&&r(s,"has",function(p){var y=arguments.length,_=y<2?void 0:arguments[1];if(y&&_===void 0)return u(this,p);var b=h(this,p);c(y,1);for(var S=l(_),R=0;R<b.length;)if(b[R++]===S)return!0;return!1},{enumerable:!0,unsafe:!0})},7893:function(d,g,e){"use strict";e(91340)},61650:function(d,g,e){"use strict";var r=e(35454),i=e(94237),l=e(64110),c=URLSearchParams.prototype,f=i(c.forEach);r&&!("size"in c)&&l(c,"size",{get:function(){var h=0;return f(this,function(){h++}),h},configurable:!0,enumerable:!0})},40061:function(d,g,e){"use strict";var r=e(94488),i=e(65911),l=e(3338),c=e(57106),f=e(69905),s=e(3299),h=i("URL"),u=s&&l(function(){h.canParse()});r({target:"URL",stat:!0,forced:!u},{canParse:function(x){var p=c(arguments.length,1),y=f(x),_=p<2||arguments[1]===void 0?void 0:f(arguments[1]);try{return!!new h(y,_)}catch(b){return!1}}})},13588:function(d,g,e){"use strict";e(20852);var r=e(94488),i=e(35454),l=e(3299),c=e(92916),f=e(80666),s=e(94237),h=e(2291),u=e(64110),a=e(56472),x=e(32621),p=e(80530),y=e(60255),_=e(71698),b=e(13764).codeAt,S=e(93245),R=e(69905),L=e(94573),T=e(57106),D=e(91340),M=e(94844),N=M.set,j=M.getterFor("URL"),Q=D.URLSearchParams,X=D.getState,Y=c.URL,oe=c.TypeError,ie=c.parseInt,ue=Math.floor,K=Math.pow,V=s("".charAt),G=s(/./.exec),te=s([].join),q=s(1 .toString),J=s([].pop),le=s([].push),z=s("".replace),F=s([].shift),se=s("".split),_e=s("".slice),Pe=s("".toLowerCase),Re=s([].unshift),Ze="Invalid authority",$e="Invalid scheme",Ht="Invalid host",bt="Invalid port",Ot=/[a-z]/i,qt=/[\d+-.a-z]/i,er=/\d/,Jt=/^0x/i,Xe=/^[0-7]+$/,Pt=/^\d+$/,Ut=/^[\da-f]+$/i,st=/[\0\t\n\r #%/:<>?@[\\\]^|]/,yt=/[\0\t\n\r #/:<>?@[\\\]^|]/,ht=/^[\u0000-\u0020]+/,Je=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,je=/[\t\n\r]/g,ge,Se=function(or){var Lt=se(or,"."),mt,gt,$t,Cr,gr,ot,Mr;if(Lt.length&&Lt[Lt.length-1]===""&&Lt.length--,mt=Lt.length,mt>4)return or;for(gt=[],$t=0;$t<mt;$t++){if(Cr=Lt[$t],Cr==="")return or;if(gr=10,Cr.length>1&&V(Cr,0)==="0"&&(gr=G(Jt,Cr)?16:8,Cr=_e(Cr,gr===8?1:2)),Cr==="")ot=0;else{if(!G(gr===10?Pt:gr===8?Xe:Ut,Cr))return or;ot=ie(Cr,gr)}le(gt,ot)}for($t=0;$t<mt;$t++)if(ot=gt[$t],$t===mt-1){if(ot>=K(256,5-mt))return null}else if(ot>255)return null;for(Mr=J(gt),$t=0;$t<gt.length;$t++)Mr+=gt[$t]*K(256,3-$t);return Mr},Me=function(or){var Lt=[0,0,0,0,0,0,0,0],mt=0,gt=null,$t=0,Cr,gr,ot,Mr,yn,Zn,mr,tn=function(){return V(or,$t)};if(tn()===":"){if(V(or,1)!==":")return;$t+=2,mt++,gt=mt}for(;tn();){if(mt===8)return;if(tn()===":"){if(gt!==null)return;$t++,mt++,gt=mt;continue}for(Cr=gr=0;gr<4&&G(Ut,tn());)Cr=Cr*16+ie(tn(),16),$t++,gr++;if(tn()==="."){if(gr===0||($t-=gr,mt>6))return;for(ot=0;tn();){if(Mr=null,ot>0)if(tn()==="."&&ot<4)$t++;else return;if(!G(er,tn()))return;for(;G(er,tn());){if(yn=ie(tn(),10),Mr===null)Mr=yn;else{if(Mr===0)return;Mr=Mr*10+yn}if(Mr>255)return;$t++}Lt[mt]=Lt[mt]*256+Mr,ot++,(ot===2||ot===4)&&mt++}if(ot!==4)return;break}else if(tn()===":"){if($t++,!tn())return}else if(tn())return;Lt[mt++]=Cr}if(gt!==null)for(Zn=mt-gt,mt=7;mt!==0&&Zn>0;)mr=Lt[mt],Lt[mt--]=Lt[gt+Zn-1],Lt[gt+--Zn]=mr;else if(mt!==8)return;return Lt},Ne=function(or){for(var Lt=null,mt=1,gt=null,$t=0,Cr=0;Cr<8;Cr++)or[Cr]!==0?($t>mt&&(Lt=gt,mt=$t),gt=null,$t=0):(gt===null&&(gt=Cr),++$t);return $t>mt&&(Lt=gt,mt=$t),Lt},He=function(or){var Lt,mt,gt,$t;if(typeof or=="number"){for(Lt=[],mt=0;mt<4;mt++)Re(Lt,or%256),or=ue(or/256);return te(Lt,".")}else if(typeof or=="object"){for(Lt="",gt=Ne(or),mt=0;mt<8;mt++)$t&&or[mt]===0||($t&&($t=!1),gt===mt?(Lt+=mt?":":"::",$t=!0):(Lt+=q(or[mt],16),mt<7&&(Lt+=":")));return"["+Lt+"]"}return or},nt={},ct=p({},nt,{" ":1,'"':1,"<":1,">":1,"`":1}),Vt=p({},ct,{"#":1,"?":1,"{":1,"}":1}),Wt=p({},Vt,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Ie=function(or,Lt){var mt=b(or,0);return mt>32&&mt<127&&!x(Lt,or)?or:encodeURIComponent(or)},qe={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Gt=function(or,Lt){var mt;return or.length===2&&G(Ot,V(or,0))&&((mt=V(or,1))===":"||!Lt&&mt==="|")},kt=function(or){var Lt;return or.length>1&&Gt(_e(or,0,2))&&(or.length===2||(Lt=V(or,2))==="/"||Lt==="\\"||Lt==="?"||Lt==="#")},Zt=function(or){return or==="."||Pe(or)==="%2e"},Nt=function(or){return or=Pe(or),or===".."||or==="%2e."||or===".%2e"||or==="%2e%2e"},Ct={},Yt={},We={},fe={},pe={},Dt={},Ce={},dt={},zt={},Tt={},Oe={},St={},be={},Ke={},vt={},Rt={},Fe={},kr={},At={},Kr={},qr={},Ar=function(or,Lt,mt){var gt=R(or),$t,Cr,gr;if(Lt){if(Cr=this.parse(gt),Cr)throw new oe(Cr);this.searchParams=null}else{if(mt!==void 0&&($t=new Ar(mt,!0)),Cr=this.parse(gt,null,$t),Cr)throw new oe(Cr);gr=X(new Q),gr.bindURL(this),this.searchParams=gr}};Ar.prototype={type:"URL",parse:function(or,Lt,mt){var gt=this,$t=Lt||Ct,Cr=0,gr="",ot=!1,Mr=!1,yn=!1,Zn,mr,tn,hn;for(or=R(or),Lt||(gt.scheme="",gt.username="",gt.password="",gt.host=null,gt.port=null,gt.path=[],gt.query=null,gt.fragment=null,gt.cannotBeABaseURL=!1,or=z(or,ht,""),or=z(or,Je,"$1")),or=z(or,je,""),Zn=y(or);Cr<=Zn.length;){switch(mr=Zn[Cr],$t){case Ct:if(mr&&G(Ot,mr))gr+=Pe(mr),$t=Yt;else{if(Lt)return $e;$t=We;continue}break;case Yt:if(mr&&(G(qt,mr)||mr==="+"||mr==="-"||mr==="."))gr+=Pe(mr);else if(mr===":"){if(Lt&&(gt.isSpecial()!==x(qe,gr)||gr==="file"&&(gt.includesCredentials()||gt.port!==null)||gt.scheme==="file"&&!gt.host))return;if(gt.scheme=gr,Lt){gt.isSpecial()&&qe[gt.scheme]===gt.port&&(gt.port=null);return}gr="",gt.scheme==="file"?$t=Ke:gt.isSpecial()&&mt&&mt.scheme===gt.scheme?$t=fe:gt.isSpecial()?$t=dt:Zn[Cr+1]==="/"?($t=pe,Cr++):(gt.cannotBeABaseURL=!0,le(gt.path,""),$t=At)}else{if(Lt)return $e;gr="",$t=We,Cr=0;continue}break;case We:if(!mt||mt.cannotBeABaseURL&&mr!=="#")return $e;if(mt.cannotBeABaseURL&&mr==="#"){gt.scheme=mt.scheme,gt.path=_(mt.path),gt.query=mt.query,gt.fragment="",gt.cannotBeABaseURL=!0,$t=qr;break}$t=mt.scheme==="file"?Ke:Dt;continue;case fe:if(mr==="/"&&Zn[Cr+1]==="/")$t=zt,Cr++;else{$t=Dt;continue}break;case pe:if(mr==="/"){$t=Tt;break}else{$t=kr;continue}case Dt:if(gt.scheme=mt.scheme,mr===ge)gt.username=mt.username,gt.password=mt.password,gt.host=mt.host,gt.port=mt.port,gt.path=_(mt.path),gt.query=mt.query;else if(mr==="/"||mr==="\\"&&gt.isSpecial())$t=Ce;else if(mr==="?")gt.username=mt.username,gt.password=mt.password,gt.host=mt.host,gt.port=mt.port,gt.path=_(mt.path),gt.query="",$t=Kr;else if(mr==="#")gt.username=mt.username,gt.password=mt.password,gt.host=mt.host,gt.port=mt.port,gt.path=_(mt.path),gt.query=mt.query,gt.fragment="",$t=qr;else{gt.username=mt.username,gt.password=mt.password,gt.host=mt.host,gt.port=mt.port,gt.path=_(mt.path),gt.path.length--,$t=kr;continue}break;case Ce:if(gt.isSpecial()&&(mr==="/"||mr==="\\"))$t=zt;else if(mr==="/")$t=Tt;else{gt.username=mt.username,gt.password=mt.password,gt.host=mt.host,gt.port=mt.port,$t=kr;continue}break;case dt:if($t=zt,mr!=="/"||V(gr,Cr+1)!=="/")continue;Cr++;break;case zt:if(mr!=="/"&&mr!=="\\"){$t=Tt;continue}break;case Tt:if(mr==="@"){ot&&(gr="%40"+gr),ot=!0,tn=y(gr);for(var Fn=0;Fn<tn.length;Fn++){var ti=tn[Fn];if(ti===":"&&!yn){yn=!0;continue}var jn=Ie(ti,Wt);yn?gt.password+=jn:gt.username+=jn}gr=""}else if(mr===ge||mr==="/"||mr==="?"||mr==="#"||mr==="\\"&&gt.isSpecial()){if(ot&&gr==="")return Ze;Cr-=y(gr).length+1,gr="",$t=Oe}else gr+=mr;break;case Oe:case St:if(Lt&&gt.scheme==="file"){$t=Rt;continue}else if(mr===":"&&!Mr){if(gr==="")return Ht;if(hn=gt.parseHost(gr),hn)return hn;if(gr="",$t=be,Lt===St)return}else if(mr===ge||mr==="/"||mr==="?"||mr==="#"||mr==="\\"&&gt.isSpecial()){if(gt.isSpecial()&&gr==="")return Ht;if(Lt&&gr===""&&(gt.includesCredentials()||gt.port!==null))return;if(hn=gt.parseHost(gr),hn)return hn;if(gr="",$t=Fe,Lt)return;continue}else mr==="["?Mr=!0:mr==="]"&&(Mr=!1),gr+=mr;break;case be:if(G(er,mr))gr+=mr;else if(mr===ge||mr==="/"||mr==="?"||mr==="#"||mr==="\\"&&gt.isSpecial()||Lt){if(gr!==""){var Zi=ie(gr,10);if(Zi>65535)return bt;gt.port=gt.isSpecial()&&Zi===qe[gt.scheme]?null:Zi,gr=""}if(Lt)return;$t=Fe;continue}else return bt;break;case Ke:if(gt.scheme="file",mr==="/"||mr==="\\")$t=vt;else if(mt&&mt.scheme==="file")switch(mr){case ge:gt.host=mt.host,gt.path=_(mt.path),gt.query=mt.query;break;case"?":gt.host=mt.host,gt.path=_(mt.path),gt.query="",$t=Kr;break;case"#":gt.host=mt.host,gt.path=_(mt.path),gt.query=mt.query,gt.fragment="",$t=qr;break;default:kt(te(_(Zn,Cr),""))||(gt.host=mt.host,gt.path=_(mt.path),gt.shortenPath()),$t=kr;continue}else{$t=kr;continue}break;case vt:if(mr==="/"||mr==="\\"){$t=Rt;break}mt&&mt.scheme==="file"&&!kt(te(_(Zn,Cr),""))&&(Gt(mt.path[0],!0)?le(gt.path,mt.path[0]):gt.host=mt.host),$t=kr;continue;case Rt:if(mr===ge||mr==="/"||mr==="\\"||mr==="?"||mr==="#"){if(!Lt&&Gt(gr))$t=kr;else if(gr===""){if(gt.host="",Lt)return;$t=Fe}else{if(hn=gt.parseHost(gr),hn)return hn;if(gt.host==="localhost"&&(gt.host=""),Lt)return;gr="",$t=Fe}continue}else gr+=mr;break;case Fe:if(gt.isSpecial()){if($t=kr,mr!=="/"&&mr!=="\\")continue}else if(!Lt&&mr==="?")gt.query="",$t=Kr;else if(!Lt&&mr==="#")gt.fragment="",$t=qr;else if(mr!==ge&&($t=kr,mr!=="/"))continue;break;case kr:if(mr===ge||mr==="/"||mr==="\\"&&gt.isSpecial()||!Lt&&(mr==="?"||mr==="#")){if(Nt(gr)?(gt.shortenPath(),mr!=="/"&&!(mr==="\\"&&gt.isSpecial())&&le(gt.path,"")):Zt(gr)?mr!=="/"&&!(mr==="\\"&&gt.isSpecial())&&le(gt.path,""):(gt.scheme==="file"&&!gt.path.length&&Gt(gr)&&(gt.host&&(gt.host=""),gr=V(gr,0)+":"),le(gt.path,gr)),gr="",gt.scheme==="file"&&(mr===ge||mr==="?"||mr==="#"))for(;gt.path.length>1&&gt.path[0]==="";)F(gt.path);mr==="?"?(gt.query="",$t=Kr):mr==="#"&&(gt.fragment="",$t=qr)}else gr+=Ie(mr,Vt);break;case At:mr==="?"?(gt.query="",$t=Kr):mr==="#"?(gt.fragment="",$t=qr):mr!==ge&&(gt.path[0]+=Ie(mr,nt));break;case Kr:!Lt&&mr==="#"?(gt.fragment="",$t=qr):mr!==ge&&(mr==="'"&&gt.isSpecial()?gt.query+="%27":mr==="#"?gt.query+="%23":gt.query+=Ie(mr,nt));break;case qr:mr!==ge&&(gt.fragment+=Ie(mr,ct));break}Cr++}},parseHost:function(or){var Lt,mt,gt;if(V(or,0)==="["){if(V(or,or.length-1)!=="]"||(Lt=Me(_e(or,1,-1)),!Lt))return Ht;this.host=Lt}else if(this.isSpecial()){if(or=S(or),G(st,or)||(Lt=Se(or),Lt===null))return Ht;this.host=Lt}else{if(G(yt,or))return Ht;for(Lt="",mt=y(or),gt=0;gt<mt.length;gt++)Lt+=Ie(mt[gt],nt);this.host=Lt}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||this.scheme==="file"},includesCredentials:function(){return this.username!==""||this.password!==""},isSpecial:function(){return x(qe,this.scheme)},shortenPath:function(){var or=this.path,Lt=or.length;Lt&&(this.scheme!=="file"||Lt!==1||!Gt(or[0],!0))&&or.length--},serialize:function(){var or=this,Lt=or.scheme,mt=or.username,gt=or.password,$t=or.host,Cr=or.port,gr=or.path,ot=or.query,Mr=or.fragment,yn=Lt+":";return $t!==null?(yn+="//",or.includesCredentials()&&(yn+=mt+(gt?":"+gt:"")+"@"),yn+=He($t),Cr!==null&&(yn+=":"+Cr)):Lt==="file"&&(yn+="//"),yn+=or.cannotBeABaseURL?gr[0]:gr.length?"/"+te(gr,"/"):"",ot!==null&&(yn+="?"+ot),Mr!==null&&(yn+="#"+Mr),yn},setHref:function(or){var Lt=this.parse(or);if(Lt)throw new oe(Lt);this.searchParams.update()},getOrigin:function(){var or=this.scheme,Lt=this.port;if(or==="blob")try{return new Br(or.path[0]).origin}catch(mt){return"null"}return or==="file"||!this.isSpecial()?"null":or+"://"+He(this.host)+(Lt!==null?":"+Lt:"")},getProtocol:function(){return this.scheme+":"},setProtocol:function(or){this.parse(R(or)+":",Ct)},getUsername:function(){return this.username},setUsername:function(or){var Lt=y(R(or));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var mt=0;mt<Lt.length;mt++)this.username+=Ie(Lt[mt],Wt)}},getPassword:function(){return this.password},setPassword:function(or){var Lt=y(R(or));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var mt=0;mt<Lt.length;mt++)this.password+=Ie(Lt[mt],Wt)}},getHost:function(){var or=this.host,Lt=this.port;return or===null?"":Lt===null?He(or):He(or)+":"+Lt},setHost:function(or){this.cannotBeABaseURL||this.parse(or,Oe)},getHostname:function(){var or=this.host;return or===null?"":He(or)},setHostname:function(or){this.cannotBeABaseURL||this.parse(or,St)},getPort:function(){var or=this.port;return or===null?"":R(or)},setPort:function(or){this.cannotHaveUsernamePasswordPort()||(or=R(or),or===""?this.port=null:this.parse(or,be))},getPathname:function(){var or=this.path;return this.cannotBeABaseURL?or[0]:or.length?"/"+te(or,"/"):""},setPathname:function(or){this.cannotBeABaseURL||(this.path=[],this.parse(or,Fe))},getSearch:function(){var or=this.query;return or?"?"+or:""},setSearch:function(or){or=R(or),or===""?this.query=null:(V(or,0)==="?"&&(or=_e(or,1)),this.query="",this.parse(or,Kr)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var or=this.fragment;return or?"#"+or:""},setHash:function(or){if(or=R(or),or===""){this.fragment=null;return}V(or,0)==="#"&&(or=_e(or,1)),this.fragment="",this.parse(or,qr)},update:function(){this.query=this.searchParams.serialize()||null}};var Br=function(Lt){var mt=a(this,_r),gt=T(arguments.length,1)>1?arguments[1]:void 0,$t=N(mt,new Ar(Lt,!1,gt));i||(mt.href=$t.serialize(),mt.origin=$t.getOrigin(),mt.protocol=$t.getProtocol(),mt.username=$t.getUsername(),mt.password=$t.getPassword(),mt.host=$t.getHost(),mt.hostname=$t.getHostname(),mt.port=$t.getPort(),mt.pathname=$t.getPathname(),mt.search=$t.getSearch(),mt.searchParams=$t.getSearchParams(),mt.hash=$t.getHash())},_r=Br.prototype,Ur=function(or,Lt){return{get:function(){return j(this)[or]()},set:Lt&&function(mt){return j(this)[Lt](mt)},configurable:!0,enumerable:!0}};if(i&&(u(_r,"href",Ur("serialize","setHref")),u(_r,"origin",Ur("getOrigin")),u(_r,"protocol",Ur("getProtocol","setProtocol")),u(_r,"username",Ur("getUsername","setUsername")),u(_r,"password",Ur("getPassword","setPassword")),u(_r,"host",Ur("getHost","setHost")),u(_r,"hostname",Ur("getHostname","setHostname")),u(_r,"port",Ur("getPort","setPort")),u(_r,"pathname",Ur("getPathname","setPathname")),u(_r,"search",Ur("getSearch","setSearch")),u(_r,"searchParams",Ur("getSearchParams")),u(_r,"hash",Ur("getHash","setHash"))),h(_r,"toJSON",function(){return j(this).serialize()},{enumerable:!0}),h(_r,"toString",function(){return j(this).serialize()},{enumerable:!0}),Y){var sn=Y.createObjectURL,cn=Y.revokeObjectURL;sn&&h(Br,"createObjectURL",f(sn,Y)),cn&&h(Br,"revokeObjectURL",f(cn,Y))}L(Br,"URL"),r({global:!0,constructor:!0,forced:!l,sham:!i},{URL:Br})},25204:function(d,g,e){"use strict";e(13588)},47803:function(d,g,e){"use strict";var r=e(94488),i=e(89945);r({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return i(URL.prototype.toString,this)}})},73825:function(d,g,e){"use strict";e.d(g,{Z:function(){return r}});function r(i){if(Array.isArray(i))return i}},65873:function(d,g,e){"use strict";e.d(g,{Z:function(){return i}});var r=e(89878);function i(l,c,f){return c=(0,r.Z)(c),c in l?Object.defineProperty(l,c,{value:f,enumerable:!0,configurable:!0,writable:!0}):l[c]=f,l}},38329:function(d,g,e){"use strict";e.d(g,{Z:function(){return r}});function r(){return r=Object.assign?Object.assign.bind():function(i){for(var l=1;l<arguments.length;l++){var c=arguments[l];for(var f in c)Object.prototype.hasOwnProperty.call(c,f)&&(i[f]=c[f])}return i},r.apply(this,arguments)}},66160:function(d,g,e){"use strict";e.d(g,{Z:function(){return r}});function r(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}},63579:function(d,g,e){"use strict";e.d(g,{Z:function(){return l}});var r=e(65873);function i(c,f){var s=Object.keys(c);if(Object.getOwnPropertySymbols){var h=Object.getOwnPropertySymbols(c);f&&(h=h.filter(function(u){return Object.getOwnPropertyDescriptor(c,u).enumerable})),s.push.apply(s,h)}return s}function l(c){for(var f=1;f<arguments.length;f++){var s=arguments[f]!=null?arguments[f]:{};f%2?i(Object(s),!0).forEach(function(h){(0,r.Z)(c,h,s[h])}):Object.getOwnPropertyDescriptors?Object.defineProperties(c,Object.getOwnPropertyDescriptors(s)):i(Object(s)).forEach(function(h){Object.defineProperty(c,h,Object.getOwnPropertyDescriptor(s,h))})}return c}},38127:function(d,g,e){"use strict";e.d(g,{Z:function(){return i}});function r(l,c){if(l==null)return{};var f={},s=Object.keys(l),h,u;for(u=0;u<s.length;u++)h=s[u],!(c.indexOf(h)>=0)&&(f[h]=l[h]);return f}function i(l,c){if(l==null)return{};var f=r(l,c),s,h;if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(l);for(h=0;h<u.length;h++)s=u[h],!(c.indexOf(s)>=0)&&Object.prototype.propertyIsEnumerable.call(l,s)&&(f[s]=l[s])}return f}},87296:function(d,g,e){"use strict";e.d(g,{Z:function(){return f}});var r=e(73825);function i(s,h){var u=s==null?null:typeof Symbol!="undefined"&&s[Symbol.iterator]||s["@@iterator"];if(u!=null){var a,x,p,y,_=[],b=!0,S=!1;try{if(p=(u=u.call(s)).next,h===0){if(Object(u)!==u)return;b=!1}else for(;!(b=(a=p.call(u)).done)&&(_.push(a.value),_.length!==h);b=!0);}catch(R){S=!0,x=R}finally{try{if(!b&&u.return!=null&&(y=u.return(),Object(y)!==y))return}finally{if(S)throw x}}return _}}var l=e(99227),c=e(66160);function f(s,h){return(0,r.Z)(s)||i(s,h)||(0,l.Z)(s,h)||(0,c.Z)()}},89878:function(d,g,e){"use strict";e.d(g,{Z:function(){return l}});var r=e(8616);function i(c,f){if((0,r.Z)(c)!="object"||!c)return c;var s=c[Symbol.toPrimitive];if(s!==void 0){var h=s.call(c,f||"default");if((0,r.Z)(h)!="object")return h;throw new TypeError("@@toPrimitive must return a primitive value.")}return(f==="string"?String:Number)(c)}function l(c){var f=i(c,"string");return(0,r.Z)(f)=="symbol"?f:String(f)}},8616:function(d,g,e){"use strict";e.d(g,{Z:function(){return r}});function r(i){"@babel/helpers - typeof";return r=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(l){return typeof l}:function(l){return l&&typeof Symbol=="function"&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":typeof l},r(i)}},99227:function(d,g,e){"use strict";e.d(g,{Z:function(){return i}});function r(l,c){(c==null||c>l.length)&&(c=l.length);for(var f=0,s=new Array(c);f<c;f++)s[f]=l[f];return s}function i(l,c){if(l){if(typeof l=="string")return r(l,c);var f=Object.prototype.toString.call(l).slice(8,-1);if(f==="Object"&&l.constructor&&(f=l.constructor.name),f==="Map"||f==="Set")return Array.from(l);if(f==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(f))return r(l,c)}}},62478:function(d,g,e){"use strict";e.d(g,{Z:function(){return r}});function r(i,l){(l==null||l>i.length)&&(l=i.length);for(var c=0,f=Array(l);c<l;c++)f[c]=i[c];return f}},97238:function(d,g,e){"use strict";e.d(g,{Z:function(){return r}});function r(i){if(Array.isArray(i))return i}},41281:function(d,g,e){"use strict";e.d(g,{Z:function(){return r}});function r(i){if(i===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return i}},21566:function(d,g,e){"use strict";e.d(g,{Z:function(){return i}});function r(l,c,f,s,h,u,a){try{var x=l[u](a),p=x.value}catch(y){return void f(y)}x.done?c(p):Promise.resolve(p).then(s,h)}function i(l){return function(){var c=this,f=arguments;return new Promise(function(s,h){var u=l.apply(c,f);function a(p){r(u,s,h,a,x,"next",p)}function x(p){r(u,s,h,a,x,"throw",p)}a(void 0)})}}},6487:function(d,g,e){"use strict";e.d(g,{Z:function(){return r}});function r(i,l){if(!(i instanceof l))throw new TypeError("Cannot call a class as a function")}},56789:function(d,g,e){"use strict";e.d(g,{Z:function(){return l}});var r=e(80156);function i(c,f){for(var s=0;s<f.length;s++){var h=f[s];h.enumerable=h.enumerable||!1,h.configurable=!0,"value"in h&&(h.writable=!0),Object.defineProperty(c,(0,r.Z)(h.key),h)}}function l(c,f,s){return f&&i(c.prototype,f),s&&i(c,s),Object.defineProperty(c,"prototype",{writable:!1}),c}},76773:function(d,g,e){"use strict";e.d(g,{Z:function(){return c}});var r=e(7828),i=e(65260),l=e(96233);function c(f){var s=(0,i.Z)();return function(){var h,u=(0,r.Z)(f);if(s){var a=(0,r.Z)(this).constructor;h=Reflect.construct(u,arguments,a)}else h=u.apply(this,arguments);return(0,l.Z)(this,h)}}},18082:function(d,g,e){"use strict";e.d(g,{Z:function(){return i}});var r=e(80156);function i(l,c,f){return(c=(0,r.Z)(c))in l?Object.defineProperty(l,c,{value:f,enumerable:!0,configurable:!0,writable:!0}):l[c]=f,l}},5016:function(d,g,e){"use strict";e.d(g,{Z:function(){return r}});function r(){return r=Object.assign?Object.assign.bind():function(i){for(var l=1;l<arguments.length;l++){var c=arguments[l];for(var f in c)({}).hasOwnProperty.call(c,f)&&(i[f]=c[f])}return i},r.apply(null,arguments)}},7828:function(d,g,e){"use strict";e.d(g,{Z:function(){return r}});function r(i){return r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(l){return l.__proto__||Object.getPrototypeOf(l)},r(i)}},7942:function(d,g,e){"use strict";e.d(g,{Z:function(){return i}});var r=e(18870);function i(l,c){if(typeof c!="function"&&c!==null)throw new TypeError("Super expression must either be null or a function");l.prototype=Object.create(c&&c.prototype,{constructor:{value:l,writable:!0,configurable:!0}}),Object.defineProperty(l,"prototype",{writable:!1}),c&&(0,r.Z)(l,c)}},65260:function(d,g,e){"use strict";e.d(g,{Z:function(){return r}});function r(){try{var i=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(l){}return(r=function(){return!!i})()}},1743:function(d,g,e){"use strict";e.d(g,{Z:function(){return r}});function r(i){if(typeof Symbol!="undefined"&&i[Symbol.iterator]!=null||i["@@iterator"]!=null)return Array.from(i)}},37795:function(d,g,e){"use strict";e.d(g,{Z:function(){return r}});function r(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}},76267:function(d,g,e){"use strict";e.d(g,{Z:function(){return i}});var r=e(18082);function i(l){for(var c=1;c<arguments.length;c++){var f=arguments[c]!=null?Object(arguments[c]):{},s=Object.keys(f);typeof Object.getOwnPropertySymbols=="function"&&s.push.apply(s,Object.getOwnPropertySymbols(f).filter(function(h){return Object.getOwnPropertyDescriptor(f,h).enumerable})),s.forEach(function(h){(0,r.Z)(l,h,f[h])})}return l}},20049:function(d,g,e){"use strict";e.d(g,{Z:function(){return l}});var r=e(18082);function i(c,f){var s=Object.keys(c);if(Object.getOwnPropertySymbols){var h=Object.getOwnPropertySymbols(c);f&&(h=h.filter(function(u){return Object.getOwnPropertyDescriptor(c,u).enumerable})),s.push.apply(s,h)}return s}function l(c){for(var f=1;f<arguments.length;f++){var s=arguments[f]!=null?arguments[f]:{};f%2?i(Object(s),!0).forEach(function(h){(0,r.Z)(c,h,s[h])}):Object.getOwnPropertyDescriptors?Object.defineProperties(c,Object.getOwnPropertyDescriptors(s)):i(Object(s)).forEach(function(h){Object.defineProperty(c,h,Object.getOwnPropertyDescriptor(s,h))})}return c}},5883:function(d,g,e){"use strict";e.d(g,{Z:function(){return i}});var r=e(37417);function i(l,c){if(l==null)return{};var f,s,h=(0,r.Z)(l,c);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(l);for(s=0;s<u.length;s++)f=u[s],c.indexOf(f)===-1&&{}.propertyIsEnumerable.call(l,f)&&(h[f]=l[f])}return h}},37417:function(d,g,e){"use strict";e.d(g,{Z:function(){return r}});function r(i,l){if(i==null)return{};var c={};for(var f in i)if({}.hasOwnProperty.call(i,f)){if(l.indexOf(f)!==-1)continue;c[f]=i[f]}return c}},96233:function(d,g,e){"use strict";e.d(g,{Z:function(){return l}});var r=e(10928),i=e(41281);function l(c,f){if(f&&((0,r.Z)(f)=="object"||typeof f=="function"))return f;if(f!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return(0,i.Z)(c)}},85444:function(d,g,e){"use strict";e.d(g,{Z:function(){return i}});var r=e(10928);function i(){"use strict";i=function(){return c};var l,c={},f=Object.prototype,s=f.hasOwnProperty,h=typeof Symbol=="function"?Symbol:{},u=h.iterator||"@@iterator",a=h.asyncIterator||"@@asyncIterator",x=h.toStringTag||"@@toStringTag";function p(K,V,G,te){return Object.defineProperty(K,V,{value:G,enumerable:!te,configurable:!te,writable:!te})}try{p({},"")}catch(K){p=function(G,te,q){return G[te]=q}}function y(K,V,G,te){var q=V&&V.prototype instanceof S?V:S,J=Object.create(q.prototype);return p(J,"_invoke",function(le,z,F){var se=1;return function(_e,Pe){if(se===3)throw Error("Generator is already running");if(se===4){if(_e==="throw")throw Pe;return{value:l,done:!0}}for(F.method=_e,F.arg=Pe;;){var Re=F.delegate;if(Re){var Ze=X(Re,F);if(Ze){if(Ze===b)continue;return Ze}}if(F.method==="next")F.sent=F._sent=F.arg;else if(F.method==="throw"){if(se===1)throw se=4,F.arg;F.dispatchException(F.arg)}else F.method==="return"&&F.abrupt("return",F.arg);se=3;var $e=_(le,z,F);if($e.type==="normal"){if(se=F.done?4:2,$e.arg===b)continue;return{value:$e.arg,done:F.done}}$e.type==="throw"&&(se=4,F.method="throw",F.arg=$e.arg)}}}(K,G,new ie(te||[])),!0),J}function _(K,V,G){try{return{type:"normal",arg:K.call(V,G)}}catch(te){return{type:"throw",arg:te}}}c.wrap=y;var b={};function S(){}function R(){}function L(){}var T={};p(T,u,function(){return this});var D=Object.getPrototypeOf,M=D&&D(D(ue([])));M&&M!==f&&s.call(M,u)&&(T=M);var N=L.prototype=S.prototype=Object.create(T);function j(K){["next","throw","return"].forEach(function(V){p(K,V,function(G){return this._invoke(V,G)})})}function Q(K,V){function G(q,J,le,z){var F=_(K[q],K,J);if(F.type!=="throw"){var se=F.arg,_e=se.value;return _e&&(0,r.Z)(_e)=="object"&&s.call(_e,"__await")?V.resolve(_e.__await).then(function(Pe){G("next",Pe,le,z)},function(Pe){G("throw",Pe,le,z)}):V.resolve(_e).then(function(Pe){se.value=Pe,le(se)},function(Pe){return G("throw",Pe,le,z)})}z(F.arg)}var te;p(this,"_invoke",function(q,J){function le(){return new V(function(z,F){G(q,J,z,F)})}return te=te?te.then(le,le):le()},!0)}function X(K,V){var G=V.method,te=K.i[G];if(te===l)return V.delegate=null,G==="throw"&&K.i.return&&(V.method="return",V.arg=l,X(K,V),V.method==="throw")||G!=="return"&&(V.method="throw",V.arg=new TypeError("The iterator does not provide a '"+G+"' method")),b;var q=_(te,K.i,V.arg);if(q.type==="throw")return V.method="throw",V.arg=q.arg,V.delegate=null,b;var J=q.arg;return J?J.done?(V[K.r]=J.value,V.next=K.n,V.method!=="return"&&(V.method="next",V.arg=l),V.delegate=null,b):J:(V.method="throw",V.arg=new TypeError("iterator result is not an object"),V.delegate=null,b)}function Y(K){this.tryEntries.push(K)}function oe(K){var V=K[4]||{};V.type="normal",V.arg=l,K[4]=V}function ie(K){this.tryEntries=[[-1]],K.forEach(Y,this),this.reset(!0)}function ue(K){if(K!=null){var V=K[u];if(V)return V.call(K);if(typeof K.next=="function")return K;if(!isNaN(K.length)){var G=-1,te=function q(){for(;++G<K.length;)if(s.call(K,G))return q.value=K[G],q.done=!1,q;return q.value=l,q.done=!0,q};return te.next=te}}throw new TypeError((0,r.Z)(K)+" is not iterable")}return R.prototype=L,p(N,"constructor",L),p(L,"constructor",R),R.displayName=p(L,x,"GeneratorFunction"),c.isGeneratorFunction=function(K){var V=typeof K=="function"&&K.constructor;return!!V&&(V===R||(V.displayName||V.name)==="GeneratorFunction")},c.mark=function(K){return Object.setPrototypeOf?Object.setPrototypeOf(K,L):(K.__proto__=L,p(K,x,"GeneratorFunction")),K.prototype=Object.create(N),K},c.awrap=function(K){return{__await:K}},j(Q.prototype),p(Q.prototype,a,function(){return this}),c.AsyncIterator=Q,c.async=function(K,V,G,te,q){q===void 0&&(q=Promise);var J=new Q(y(K,V,G,te),q);return c.isGeneratorFunction(V)?J:J.next().then(function(le){return le.done?le.value:J.next()})},j(N),p(N,x,"Generator"),p(N,u,function(){return this}),p(N,"toString",function(){return"[object Generator]"}),c.keys=function(K){var V=Object(K),G=[];for(var te in V)G.unshift(te);return function q(){for(;G.length;)if((te=G.pop())in V)return q.value=te,q.done=!1,q;return q.done=!0,q}},c.values=ue,ie.prototype={constructor:ie,reset:function(V){if(this.prev=this.next=0,this.sent=this._sent=l,this.done=!1,this.delegate=null,this.method="next",this.arg=l,this.tryEntries.forEach(oe),!V)for(var G in this)G.charAt(0)==="t"&&s.call(this,G)&&!isNaN(+G.slice(1))&&(this[G]=l)},stop:function(){this.done=!0;var V=this.tryEntries[0][4];if(V.type==="throw")throw V.arg;return this.rval},dispatchException:function(V){if(this.done)throw V;var G=this;function te(_e){le.type="throw",le.arg=V,G.next=_e}for(var q=G.tryEntries.length-1;q>=0;--q){var J=this.tryEntries[q],le=J[4],z=this.prev,F=J[1],se=J[2];if(J[0]===-1)return te("end"),!1;if(!F&&!se)throw Error("try statement without catch or finally");if(J[0]!=null&&J[0]<=z){if(z<F)return this.method="next",this.arg=l,te(F),!0;if(z<se)return te(se),!1}}},abrupt:function(V,G){for(var te=this.tryEntries.length-1;te>=0;--te){var q=this.tryEntries[te];if(q[0]>-1&&q[0]<=this.prev&&this.prev<q[2]){var J=q;break}}J&&(V==="break"||V==="continue")&&J[0]<=G&&G<=J[2]&&(J=null);var le=J?J[4]:{};return le.type=V,le.arg=G,J?(this.method="next",this.next=J[2],b):this.complete(le)},complete:function(V,G){if(V.type==="throw")throw V.arg;return V.type==="break"||V.type==="continue"?this.next=V.arg:V.type==="return"?(this.rval=this.arg=V.arg,this.method="return",this.next="end"):V.type==="normal"&&G&&(this.next=G),b},finish:function(V){for(var G=this.tryEntries.length-1;G>=0;--G){var te=this.tryEntries[G];if(te[2]===V)return this.complete(te[4],te[3]),oe(te),b}},catch:function(V){for(var G=this.tryEntries.length-1;G>=0;--G){var te=this.tryEntries[G];if(te[0]===V){var q=te[4];if(q.type==="throw"){var J=q.arg;oe(te)}return J}}throw Error("illegal catch attempt")},delegateYield:function(V,G,te){return this.delegate={i:ue(V),r:G,n:te},this.method==="next"&&(this.arg=l),b}},c}},18870:function(d,g,e){"use strict";e.d(g,{Z:function(){return r}});function r(i,l){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,f){return c.__proto__=f,c},r(i,l)}},52456:function(d,g,e){"use strict";e.d(g,{Z:function(){return f}});var r=e(97238);function i(s,h){var u=s==null?null:typeof Symbol!="undefined"&&s[Symbol.iterator]||s["@@iterator"];if(u!=null){var a,x,p,y,_=[],b=!0,S=!1;try{if(p=(u=u.call(s)).next,h===0){if(Object(u)!==u)return;b=!1}else for(;!(b=(a=p.call(u)).done)&&(_.push(a.value),_.length!==h);b=!0);}catch(R){S=!0,x=R}finally{try{if(!b&&u.return!=null&&(y=u.return(),Object(y)!==y))return}finally{if(S)throw x}}return _}}var l=e(70901),c=e(37795);function f(s,h){return(0,r.Z)(s)||i(s,h)||(0,l.Z)(s,h)||(0,c.Z)()}},74604:function(d,g,e){"use strict";e.d(g,{Z:function(){return f}});var r=e(97238),i=e(1743),l=e(70901),c=e(37795);function f(s){return(0,r.Z)(s)||(0,i.Z)(s)||(0,l.Z)(s)||(0,c.Z)()}},92393:function(d,g,e){"use strict";e.d(g,{Z:function(){return s}});var r=e(62478);function i(h){if(Array.isArray(h))return(0,r.Z)(h)}var l=e(1743),c=e(70901);function f(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function s(h){return i(h)||(0,l.Z)(h)||(0,c.Z)(h)||f()}},80156:function(d,g,e){"use strict";e.d(g,{Z:function(){return l}});var r=e(10928);function i(c,f){if((0,r.Z)(c)!="object"||!c)return c;var s=c[Symbol.toPrimitive];if(s!==void 0){var h=s.call(c,f||"default");if((0,r.Z)(h)!="object")return h;throw new TypeError("@@toPrimitive must return a primitive value.")}return(f==="string"?String:Number)(c)}function l(c){var f=i(c,"string");return(0,r.Z)(f)=="symbol"?f:f+""}},10928:function(d,g,e){"use strict";e.d(g,{Z:function(){return r}});function r(i){"@babel/helpers - typeof";return r=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(l){return typeof l}:function(l){return l&&typeof Symbol=="function"&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":typeof l},r(i)}},70901:function(d,g,e){"use strict";e.d(g,{Z:function(){return i}});var r=e(62478);function i(l,c){if(l){if(typeof l=="string")return(0,r.Z)(l,c);var f={}.toString.call(l).slice(8,-1);return f==="Object"&&l.constructor&&(f=l.constructor.name),f==="Map"||f==="Set"?Array.from(l):f==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(f)?(0,r.Z)(l,c):void 0}}},79710:function(d,g,e){"use strict";e.d(g,{ZP:function(){return rr}});const r=Number.isFinite||function(P){return typeof P=="number"&&isFinite(P)},i=Number.isSafeInteger||function(P){return typeof P=="number"&&Math.abs(P)<=l},l=Number.MAX_SAFE_INTEGER||9007199254740991;let c=function(P){return P.NETWORK_ERROR="networkError",P.MEDIA_ERROR="mediaError",P.KEY_SYSTEM_ERROR="keySystemError",P.MUX_ERROR="muxError",P.OTHER_ERROR="otherError",P}({}),f=function(P){return P.KEY_SYSTEM_NO_KEYS="keySystemNoKeys",P.KEY_SYSTEM_NO_ACCESS="keySystemNoAccess",P.KEY_SYSTEM_NO_SESSION="keySystemNoSession",P.KEY_SYSTEM_NO_CONFIGURED_LICENSE="keySystemNoConfiguredLicense",P.KEY_SYSTEM_LICENSE_REQUEST_FAILED="keySystemLicenseRequestFailed",P.KEY_SYSTEM_SERVER_CERTIFICATE_REQUEST_FAILED="keySystemServerCertificateRequestFailed",P.KEY_SYSTEM_SERVER_CERTIFICATE_UPDATE_FAILED="keySystemServerCertificateUpdateFailed",P.KEY_SYSTEM_SESSION_UPDATE_FAILED="keySystemSessionUpdateFailed",P.KEY_SYSTEM_STATUS_OUTPUT_RESTRICTED="keySystemStatusOutputRestricted",P.KEY_SYSTEM_STATUS_INTERNAL_ERROR="keySystemStatusInternalError",P.KEY_SYSTEM_DESTROY_MEDIA_KEYS_ERROR="keySystemDestroyMediaKeysError",P.KEY_SYSTEM_DESTROY_CLOSE_SESSION_ERROR="keySystemDestroyCloseSessionError",P.KEY_SYSTEM_DESTROY_REMOVE_SESSION_ERROR="keySystemDestroyRemoveSessionError",P.MANIFEST_LOAD_ERROR="manifestLoadError",P.MANIFEST_LOAD_TIMEOUT="manifestLoadTimeOut",P.MANIFEST_PARSING_ERROR="manifestParsingError",P.MANIFEST_INCOMPATIBLE_CODECS_ERROR="manifestIncompatibleCodecsError",P.LEVEL_EMPTY_ERROR="levelEmptyError",P.LEVEL_LOAD_ERROR="levelLoadError",P.LEVEL_LOAD_TIMEOUT="levelLoadTimeOut",P.LEVEL_PARSING_ERROR="levelParsingError",P.LEVEL_SWITCH_ERROR="levelSwitchError",P.AUDIO_TRACK_LOAD_ERROR="audioTrackLoadError",P.AUDIO_TRACK_LOAD_TIMEOUT="audioTrackLoadTimeOut",P.SUBTITLE_LOAD_ERROR="subtitleTrackLoadError",P.SUBTITLE_TRACK_LOAD_TIMEOUT="subtitleTrackLoadTimeOut",P.FRAG_LOAD_ERROR="fragLoadError",P.FRAG_LOAD_TIMEOUT="fragLoadTimeOut",P.FRAG_DECRYPT_ERROR="fragDecryptError",P.FRAG_PARSING_ERROR="fragParsingError",P.FRAG_GAP="fragGap",P.REMUX_ALLOC_ERROR="remuxAllocError",P.KEY_LOAD_ERROR="keyLoadError",P.KEY_LOAD_TIMEOUT="keyLoadTimeOut",P.BUFFER_ADD_CODEC_ERROR="bufferAddCodecError",P.BUFFER_INCOMPATIBLE_CODECS_ERROR="bufferIncompatibleCodecsError",P.BUFFER_APPEND_ERROR="bufferAppendError",P.BUFFER_APPENDING_ERROR="bufferAppendingError",P.BUFFER_STALLED_ERROR="bufferStalledError",P.BUFFER_FULL_ERROR="bufferFullError",P.BUFFER_SEEK_OVER_HOLE="bufferSeekOverHole",P.BUFFER_NUDGE_ON_STALL="bufferNudgeOnStall",P.ASSET_LIST_LOAD_ERROR="assetListLoadError",P.ASSET_LIST_LOAD_TIMEOUT="assetListLoadTimeout",P.ASSET_LIST_PARSING_ERROR="assetListParsingError",P.INTERSTITIAL_ASSET_ITEM_ERROR="interstitialAssetItemError",P.INTERNAL_EXCEPTION="internalException",P.INTERNAL_ABORTED="aborted",P.ATTACH_MEDIA_ERROR="attachMediaError",P.UNKNOWN="unknown",P}({}),s=function(P){return P.MEDIA_ATTACHING="hlsMediaAttaching",P.MEDIA_ATTACHED="hlsMediaAttached",P.MEDIA_DETACHING="hlsMediaDetaching",P.MEDIA_DETACHED="hlsMediaDetached",P.MEDIA_ENDED="hlsMediaEnded",P.STALL_RESOLVED="hlsStallResolved",P.BUFFER_RESET="hlsBufferReset",P.BUFFER_CODECS="hlsBufferCodecs",P.BUFFER_CREATED="hlsBufferCreated",P.BUFFER_APPENDING="hlsBufferAppending",P.BUFFER_APPENDED="hlsBufferAppended",P.BUFFER_EOS="hlsBufferEos",P.BUFFERED_TO_END="hlsBufferedToEnd",P.BUFFER_FLUSHING="hlsBufferFlushing",P.BUFFER_FLUSHED="hlsBufferFlushed",P.MANIFEST_LOADING="hlsManifestLoading",P.MANIFEST_LOADED="hlsManifestLoaded",P.MANIFEST_PARSED="hlsManifestParsed",P.LEVEL_SWITCHING="hlsLevelSwitching",P.LEVEL_SWITCHED="hlsLevelSwitched",P.LEVEL_LOADING="hlsLevelLoading",P.LEVEL_LOADED="hlsLevelLoaded",P.LEVEL_UPDATED="hlsLevelUpdated",P.LEVEL_PTS_UPDATED="hlsLevelPtsUpdated",P.LEVELS_UPDATED="hlsLevelsUpdated",P.AUDIO_TRACKS_UPDATED="hlsAudioTracksUpdated",P.AUDIO_TRACK_SWITCHING="hlsAudioTrackSwitching",P.AUDIO_TRACK_SWITCHED="hlsAudioTrackSwitched",P.AUDIO_TRACK_LOADING="hlsAudioTrackLoading",P.AUDIO_TRACK_LOADED="hlsAudioTrackLoaded",P.AUDIO_TRACK_UPDATED="hlsAudioTrackUpdated",P.SUBTITLE_TRACKS_UPDATED="hlsSubtitleTracksUpdated",P.SUBTITLE_TRACKS_CLEARED="hlsSubtitleTracksCleared",P.SUBTITLE_TRACK_SWITCH="hlsSubtitleTrackSwitch",P.SUBTITLE_TRACK_LOADING="hlsSubtitleTrackLoading",P.SUBTITLE_TRACK_LOADED="hlsSubtitleTrackLoaded",P.SUBTITLE_TRACK_UPDATED="hlsSubtitleTrackUpdated",P.SUBTITLE_FRAG_PROCESSED="hlsSubtitleFragProcessed",P.CUES_PARSED="hlsCuesParsed",P.NON_NATIVE_TEXT_TRACKS_FOUND="hlsNonNativeTextTracksFound",P.INIT_PTS_FOUND="hlsInitPtsFound",P.FRAG_LOADING="hlsFragLoading",P.FRAG_LOAD_EMERGENCY_ABORTED="hlsFragLoadEmergencyAborted",P.FRAG_LOADED="hlsFragLoaded",P.FRAG_DECRYPTED="hlsFragDecrypted",P.FRAG_PARSING_INIT_SEGMENT="hlsFragParsingInitSegment",P.FRAG_PARSING_USERDATA="hlsFragParsingUserdata",P.FRAG_PARSING_METADATA="hlsFragParsingMetadata",P.FRAG_PARSED="hlsFragParsed",P.FRAG_BUFFERED="hlsFragBuffered",P.FRAG_CHANGED="hlsFragChanged",P.FPS_DROP="hlsFpsDrop",P.FPS_DROP_LEVEL_CAPPING="hlsFpsDropLevelCapping",P.MAX_AUTO_LEVEL_UPDATED="hlsMaxAutoLevelUpdated",P.ERROR="hlsError",P.DESTROYING="hlsDestroying",P.KEY_LOADING="hlsKeyLoading",P.KEY_LOADED="hlsKeyLoaded",P.LIVE_BACK_BUFFER_REACHED="hlsLiveBackBufferReached",P.BACK_BUFFER_REACHED="hlsBackBufferReached",P.STEERING_MANIFEST_LOADED="hlsSteeringManifestLoaded",P.ASSET_LIST_LOADING="hlsAssetListLoading",P.ASSET_LIST_LOADED="hlsAssetListLoaded",P.INTERSTITIALS_UPDATED="hlsInterstitialsUpdated",P.INTERSTITIALS_BUFFERED_TO_BOUNDARY="hlsInterstitialsBufferedToBoundary",P.INTERSTITIAL_ASSET_PLAYER_CREATED="hlsInterstitialAssetPlayerCreated",P.INTERSTITIAL_STARTED="hlsInterstitialStarted",P.INTERSTITIAL_ASSET_STARTED="hlsInterstitialAssetStarted",P.INTERSTITIAL_ASSET_ENDED="hlsInterstitialAssetEnded",P.INTERSTITIAL_ASSET_ERROR="hlsInterstitialAssetError",P.INTERSTITIAL_ENDED="hlsInterstitialEnded",P.INTERSTITIALS_PRIMARY_RESUMED="hlsInterstitialsPrimaryResumed",P.PLAYOUT_LIMIT_REACHED="hlsPlayoutLimitReached",P.EVENT_CUE_ENTER="hlsEventCueEnter",P}({});var h={MANIFEST:"manifest",LEVEL:"level",AUDIO_TRACK:"audioTrack",SUBTITLE_TRACK:"subtitleTrack"},u={MAIN:"main",AUDIO:"audio",SUBTITLE:"subtitle"};class a{constructor(t,n=0,o=0){this.halfLife=void 0,this.alpha_=void 0,this.estimate_=void 0,this.totalWeight_=void 0,this.halfLife=t,this.alpha_=t?Math.exp(Math.log(.5)/t):0,this.estimate_=n,this.totalWeight_=o}sample(t,n){const o=Math.pow(this.alpha_,t);this.estimate_=n*(1-o)+o*this.estimate_,this.totalWeight_+=t}getTotalWeight(){return this.totalWeight_}getEstimate(){if(this.alpha_){const t=1-Math.pow(this.alpha_,this.totalWeight_);if(t)return this.estimate_/t}return this.estimate_}}class x{constructor(t,n,o,m=100){this.defaultEstimate_=void 0,this.minWeight_=void 0,this.minDelayMs_=void 0,this.slow_=void 0,this.fast_=void 0,this.defaultTTFB_=void 0,this.ttfb_=void 0,this.defaultEstimate_=o,this.minWeight_=.001,this.minDelayMs_=50,this.slow_=new a(t),this.fast_=new a(n),this.defaultTTFB_=m,this.ttfb_=new a(t)}update(t,n){const{slow_:o,fast_:m,ttfb_:E}=this;o.halfLife!==t&&(this.slow_=new a(t,o.getEstimate(),o.getTotalWeight())),m.halfLife!==n&&(this.fast_=new a(n,m.getEstimate(),m.getTotalWeight())),E.halfLife!==t&&(this.ttfb_=new a(t,E.getEstimate(),E.getTotalWeight()))}sample(t,n){t=Math.max(t,this.minDelayMs_);const o=8*n,m=t/1e3,E=o/m;this.fast_.sample(m,E),this.slow_.sample(m,E)}sampleTTFB(t){const n=t/1e3,o=Math.sqrt(2)*Math.exp(-Math.pow(n,2)/2);this.ttfb_.sample(o,Math.max(t,5))}canEstimate(){return this.fast_.getTotalWeight()>=this.minWeight_}getEstimate(){return this.canEstimate()?Math.min(this.fast_.getEstimate(),this.slow_.getEstimate()):this.defaultEstimate_}getEstimateTTFB(){return this.ttfb_.getTotalWeight()>=this.minWeight_?this.ttfb_.getEstimate():this.defaultTTFB_}get defaultEstimate(){return this.defaultEstimate_}destroy(){}}function p(P,t,n){return(t=R(t))in P?Object.defineProperty(P,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):P[t]=n,P}function y(){return y=Object.assign?Object.assign.bind():function(P){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(P[o]=n[o])}return P},y.apply(null,arguments)}function _(P,t){var n=Object.keys(P);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(P);t&&(o=o.filter(function(m){return Object.getOwnPropertyDescriptor(P,m).enumerable})),n.push.apply(n,o)}return n}function b(P){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?_(Object(n),!0).forEach(function(o){p(P,o,n[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(P,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach(function(o){Object.defineProperty(P,o,Object.getOwnPropertyDescriptor(n,o))})}return P}function S(P,t){if(typeof P!="object"||!P)return P;var n=P[Symbol.toPrimitive];if(n!==void 0){var o=n.call(P,t);if(typeof o!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(P)}function R(P){var t=S(P,"string");return typeof t=="symbol"?t:t+""}class L{constructor(t,n){this.trace=void 0,this.debug=void 0,this.log=void 0,this.warn=void 0,this.info=void 0,this.error=void 0;const o=`[${t}]:`;this.trace=T,this.debug=n.debug.bind(null,o),this.log=n.log.bind(null,o),this.warn=n.warn.bind(null,o),this.info=n.info.bind(null,o),this.error=n.error.bind(null,o)}}const T=function(){},D={trace:T,debug:T,log:T,warn:T,info:T,error:T};function M(){return y({},D)}function N(P,t){const n=self.console[P];return n?n.bind(self.console,`${t?"["+t+"] ":""}[${P}] >`):T}function j(P,t,n){return t[P]?t[P].bind(t):N(P,n)}const Q=M();function X(P,t,n){const o=M();if(typeof console=="object"&&P===!0||typeof P=="object"){const m=["debug","log","info","warn","error"];m.forEach(E=>{o[E]=j(E,P,n)});try{o.log(`Debug logs enabled for "${t}" in hls.js version 1.6.2`)}catch(E){return M()}m.forEach(E=>{Q[E]=j(E,P)})}else y(Q,o);return o}const Y=Q;function oe(P=!0){return typeof self=="undefined"?void 0:(P||!self.MediaSource)&&self.ManagedMediaSource||self.MediaSource||self.WebKitMediaSource}function ie(P){return typeof self!="undefined"&&P===self.ManagedMediaSource}function ue(P,t){const n=Object.keys(P),o=Object.keys(t),m=n.length,E=o.length;return!m||!E||m===E&&!n.some(C=>o.indexOf(C)===-1)}function K(P,t=!1){if(typeof TextDecoder!="undefined"){const $=new TextDecoder("utf-8").decode(P);if(t){const ae=$.indexOf("\0");return ae!==-1?$.substring(0,ae):$}return $.replace(/\0/g,"")}const n=P.length;let o,m,E,C="",U=0;for(;U<n;){if(o=P[U++],o===0&&t)return C;if(o===0||o===3)continue;switch(o>>4){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:C+=String.fromCharCode(o);break;case 12:case 13:m=P[U++],C+=String.fromCharCode((o&31)<<6|m&63);break;case 14:m=P[U++],E=P[U++],C+=String.fromCharCode((o&15)<<12|(m&63)<<6|(E&63)<<0);break}}return C}const V={hexDump:function(P){let t="";for(let n=0;n<P.length;n++){let o=P[n].toString(16);o.length<2&&(o="0"+o),t+=o}return t}};function G(P){return P&&P.__esModule&&Object.prototype.hasOwnProperty.call(P,"default")?P.default:P}var te={exports:{}},q;function J(){return q||(q=1,function(P,t){(function(n){var o=/^(?=((?:[a-zA-Z0-9+\-.]+:)?))\1(?=((?:\/\/[^\/?#]*)?))\2(?=((?:(?:[^?#\/]*\/)*[^;?#\/]*)?))\3((?:;[^?#]*)?)(\?[^#]*)?(#[^]*)?$/,m=/^(?=([^\/?#]*))\1([^]*)$/,E=/(?:\/|^)\.(?=\/)/g,C=/(?:\/|^)\.\.\/(?!\.\.\/)[^\/]*(?=\/)/g,U={buildAbsoluteURL:function(H,$,ae){if(ae=ae||{},H=H.trim(),$=$.trim(),!$){if(!ae.alwaysNormalize)return H;var ce=U.parseURL(H);if(!ce)throw new Error("Error trying to parse base URL.");return ce.path=U.normalizePath(ce.path),U.buildURLFromParts(ce)}var xe=U.parseURL($);if(!xe)throw new Error("Error trying to parse relative URL.");if(xe.scheme)return ae.alwaysNormalize?(xe.path=U.normalizePath(xe.path),U.buildURLFromParts(xe)):$;var Te=U.parseURL(H);if(!Te)throw new Error("Error trying to parse base URL.");if(!Te.netLoc&&Te.path&&Te.path[0]!=="/"){var De=m.exec(Te.path);Te.netLoc=De[1],Te.path=De[2]}Te.netLoc&&!Te.path&&(Te.path="/");var tt={scheme:Te.scheme,netLoc:xe.netLoc,path:null,params:xe.params,query:xe.query,fragment:xe.fragment};if(!xe.netLoc&&(tt.netLoc=Te.netLoc,xe.path[0]!=="/"))if(!xe.path)tt.path=Te.path,xe.params||(tt.params=Te.params,xe.query||(tt.query=Te.query));else{var at=Te.path,Bt=at.substring(0,at.lastIndexOf("/")+1)+xe.path;tt.path=U.normalizePath(Bt)}return tt.path===null&&(tt.path=ae.alwaysNormalize?U.normalizePath(xe.path):xe.path),U.buildURLFromParts(tt)},parseURL:function(H){var $=o.exec(H);return $?{scheme:$[1]||"",netLoc:$[2]||"",path:$[3]||"",params:$[4]||"",query:$[5]||"",fragment:$[6]||""}:null},normalizePath:function(H){for(H=H.split("").reverse().join("").replace(E,"");H.length!==(H=H.replace(C,"")).length;);return H.split("").reverse().join("")},buildURLFromParts:function(H){return H.scheme+H.netLoc+H.path+H.params+H.query+H.fragment}};P.exports=U})()}(te)),te.exports}var le=J();class z{constructor(){this.aborted=!1,this.loaded=0,this.retry=0,this.total=0,this.chunkCount=0,this.bwEstimate=0,this.loading={start:0,first:0,end:0},this.parsing={start:0,end:0},this.buffering={start:0,first:0,end:0}}}var F={AUDIO:"audio",VIDEO:"video",AUDIOVIDEO:"audiovideo"};class se{constructor(t){this._byteRange=null,this._url=null,this._stats=null,this._streams=null,this.base=void 0,this.relurl=void 0,typeof t=="string"&&(t={url:t}),this.base=t,$e(this,"stats")}setByteRange(t,n){const o=t.split("@",2);let m;o.length===1?m=(n==null?void 0:n.byteRangeEndOffset)||0:m=parseInt(o[1]),this._byteRange=[m,parseInt(o[0])+m]}get baseurl(){return this.base.url}get byteRange(){return this._byteRange===null?[]:this._byteRange}get byteRangeStartOffset(){return this.byteRange[0]}get byteRangeEndOffset(){return this.byteRange[1]}get elementaryStreams(){return this._streams===null&&(this._streams={[F.AUDIO]:null,[F.VIDEO]:null,[F.AUDIOVIDEO]:null}),this._streams}set elementaryStreams(t){this._streams=t}get hasStats(){return this._stats!==null}get hasStreams(){return this._streams!==null}get stats(){return this._stats===null&&(this._stats=new z),this._stats}set stats(t){this._stats=t}get url(){return!this._url&&this.baseurl&&this.relurl&&(this._url=le.buildAbsoluteURL(this.baseurl,this.relurl,{alwaysNormalize:!0})),this._url||""}set url(t){this._url=t}clearElementaryStreamInfo(){const{elementaryStreams:t}=this;t[F.AUDIO]=null,t[F.VIDEO]=null,t[F.AUDIOVIDEO]=null}}function _e(P){return P.sn!=="initSegment"}class Pe extends se{constructor(t,n){super(n),this._decryptdata=null,this._programDateTime=null,this._ref=null,this._bitrate=void 0,this.rawProgramDateTime=null,this.tagList=[],this.duration=0,this.sn=0,this.levelkeys=void 0,this.type=void 0,this.loader=null,this.keyLoader=null,this.level=-1,this.cc=0,this.startPTS=void 0,this.endPTS=void 0,this.startDTS=void 0,this.endDTS=void 0,this.start=0,this.playlistOffset=0,this.deltaPTS=void 0,this.maxStartPTS=void 0,this.minEndPTS=void 0,this.data=void 0,this.bitrateTest=!1,this.title=null,this.initSegment=null,this.endList=void 0,this.gap=void 0,this.urlId=0,this.type=t}get byteLength(){if(this.hasStats){const t=this.stats.total;if(t)return t}if(this.byteRange){const t=this.byteRange[0],n=this.byteRange[1];if(r(t)&&r(n))return n-t}return null}get bitrate(){return this.byteLength?this.byteLength*8/this.duration:this._bitrate?this._bitrate:null}set bitrate(t){this._bitrate=t}get decryptdata(){const{levelkeys:t}=this;if(!t&&!this._decryptdata)return null;if(!this._decryptdata&&this.levelkeys&&!this.levelkeys.NONE){const n=this.levelkeys.identity;if(n)this._decryptdata=n.getDecryptData(this.sn);else{const o=Object.keys(this.levelkeys);if(o.length===1)return this._decryptdata=this.levelkeys[o[0]].getDecryptData(this.sn)}}return this._decryptdata}get end(){return this.start+this.duration}get endProgramDateTime(){if(this.programDateTime===null)return null;const t=r(this.duration)?this.duration:0;return this.programDateTime+t*1e3}get encrypted(){var t;if((t=this._decryptdata)!=null&&t.encrypted)return!0;if(this.levelkeys){const n=Object.keys(this.levelkeys),o=n.length;if(o>1||o===1&&this.levelkeys[n[0]].encrypted)return!0}return!1}get programDateTime(){return this._programDateTime===null&&this.rawProgramDateTime&&(this.programDateTime=Date.parse(this.rawProgramDateTime)),this._programDateTime}set programDateTime(t){if(!r(t)){this._programDateTime=this.rawProgramDateTime=null;return}this._programDateTime=t}get ref(){return _e(this)?(this._ref||(this._ref={base:this.base,start:this.start,duration:this.duration,sn:this.sn,programDateTime:this.programDateTime}),this._ref):null}addStart(t){this.setStart(this.start+t)}setStart(t){this.start=t,this._ref&&(this._ref.start=t)}setDuration(t){this.duration=t,this._ref&&(this._ref.duration=t)}setKeyFormat(t){if(this.levelkeys){const n=this.levelkeys[t];n&&!this._decryptdata&&(this._decryptdata=n.getDecryptData(this.sn))}}abortRequests(){var t,n;(t=this.loader)==null||t.abort(),(n=this.keyLoader)==null||n.abort()}setElementaryStreamInfo(t,n,o,m,E,C=!1){const{elementaryStreams:U}=this,H=U[t];if(!H){U[t]={startPTS:n,endPTS:o,startDTS:m,endDTS:E,partial:C};return}H.startPTS=Math.min(H.startPTS,n),H.endPTS=Math.max(H.endPTS,o),H.startDTS=Math.min(H.startDTS,m),H.endDTS=Math.max(H.endDTS,E)}}class Re extends se{constructor(t,n,o,m,E){super(o),this.fragOffset=0,this.duration=0,this.gap=!1,this.independent=!1,this.relurl=void 0,this.fragment=void 0,this.index=void 0,this.duration=t.decimalFloatingPoint("DURATION"),this.gap=t.bool("GAP"),this.independent=t.bool("INDEPENDENT"),this.relurl=t.enumeratedString("URI"),this.fragment=n,this.index=m;const C=t.enumeratedString("BYTERANGE");C&&this.setByteRange(C,E),E&&(this.fragOffset=E.fragOffset+E.duration)}get start(){return this.fragment.start+this.fragOffset}get end(){return this.start+this.duration}get loaded(){const{elementaryStreams:t}=this;return!!(t.audio||t.video||t.audiovideo)}}function Ze(P,t){const n=Object.getPrototypeOf(P);if(n){const o=Object.getOwnPropertyDescriptor(n,t);return o||Ze(n,t)}}function $e(P,t){const n=Ze(P,t);n&&(n.enumerable=!0,Object.defineProperty(P,t,n))}const Ht=Math.pow(2,32)-1,bt=[].push,Ot={video:1,audio:2,id3:3,text:4};function qt(P){return String.fromCharCode.apply(null,P)}function er(P,t){const n=P[t]<<8|P[t+1];return n<0?65536+n:n}function Jt(P,t){const n=Pt(P,t);return n<0?4294967296+n:n}function Xe(P,t){let n=Jt(P,t);return n*=Math.pow(2,32),n+=Jt(P,t+4),n}function Pt(P,t){return P[t]<<24|P[t+1]<<16|P[t+2]<<8|P[t+3]}function Ut(P,t,n){P[t]=n>>24,P[t+1]=n>>16&255,P[t+2]=n>>8&255,P[t+3]=n&255}function st(P){const t=P.byteLength;for(let n=0;n<t;){const o=Jt(P,n);if(o>8&&P[n+4]===109&&P[n+5]===111&&P[n+6]===111&&P[n+7]===102)return!0;n=o>1?n+o:t}return!1}function yt(P,t){const n=[];if(!t.length)return n;const o=P.byteLength;for(let m=0;m<o;){const E=Jt(P,m),C=qt(P.subarray(m+4,m+8)),U=E>1?m+E:o;if(C===t[0])if(t.length===1)n.push(P.subarray(m+8,U));else{const H=yt(P.subarray(m+8,U),t.slice(1));H.length&&bt.apply(n,H)}m=U}return n}function ht(P){const t=[],n=P[0];let o=8;const m=Jt(P,o);o+=4;let E=0,C=0;n===0?(E=Jt(P,o),C=Jt(P,o+4),o+=8):(E=Xe(P,o),C=Xe(P,o+8),o+=16),o+=2;let U=P.length+C;const H=er(P,o);o+=2;for(let $=0;$<H;$++){let ae=o;const ce=Jt(P,ae);ae+=4;const xe=ce&2147483647;if((ce&2147483648)>>>31===1)return Y.warn("SIDX has hierarchical references (not supported)"),null;const De=Jt(P,ae);ae+=4,t.push({referenceSize:xe,subsegmentDuration:De,info:{duration:De/m,start:U,end:U+xe-1}}),U+=xe,ae+=4,o=ae}return{earliestPresentationTime:E,timescale:m,version:n,referencesCount:H,references:t}}function Je(P){const t=[],n=yt(P,["moov","trak"]);for(let m=0;m<n.length;m++){const E=n[m],C=yt(E,["tkhd"])[0];if(C){let U=C[0];const H=Jt(C,U===0?12:20),$=yt(E,["mdia","mdhd"])[0];if($){U=$[0];const ae=Jt($,U===0?12:20),ce=yt(E,["mdia","hdlr"])[0];if(ce){const xe=qt(ce.subarray(8,12)),Te={soun:F.AUDIO,vide:F.VIDEO}[xe],De=yt(E,["mdia","minf","stbl","stsd"])[0],tt=je(De);Te?(t[H]={timescale:ae,type:Te,stsd:tt},t[Te]=b({timescale:ae,id:H},tt)):t[H]={timescale:ae,type:xe,stsd:tt}}}}}return yt(P,["moov","mvex","trex"]).forEach(m=>{const E=Jt(m,4),C=t[E];C&&(C.default={duration:Jt(m,12),flags:Jt(m,20)})}),t}function je(P){const t=P.subarray(8),n=t.subarray(86),o=qt(t.subarray(4,8));let m=o,E;const C=o==="enca"||o==="encv";if(C){const $=yt(t,[o])[0].subarray(o==="enca"?28:78);yt($,["sinf"]).forEach(ce=>{const xe=yt(ce,["schm"])[0];if(xe){const Te=qt(xe.subarray(4,8));if(Te==="cbcs"||Te==="cenc"){const De=yt(ce,["frma"])[0];De&&(m=qt(De))}}})}const U=m;switch(m){case"avc1":case"avc2":case"avc3":case"avc4":{const H=yt(n,["avcC"])[0];H&&H.length>3&&(m+="."+Me(H[1])+Me(H[2])+Me(H[3]),E=ge(U==="avc1"?"dva1":"dvav",n));break}case"mp4a":{const H=yt(t,[o])[0],$=yt(H.subarray(28),["esds"])[0];if($&&$.length>7){let ae=4;if($[ae++]!==3)break;ae=Se($,ae),ae+=2;const ce=$[ae++];if(ce&128&&(ae+=2),ce&64&&(ae+=$[ae++]),$[ae++]!==4)break;ae=Se($,ae);const xe=$[ae++];if(xe===64)m+="."+Me(xe);else break;if(ae+=12,$[ae++]!==5)break;ae=Se($,ae);const Te=$[ae++];let De=(Te&248)>>3;De===31&&(De+=1+((Te&7)<<3)+(($[ae]&224)>>5)),m+="."+De}break}case"hvc1":case"hev1":{const H=yt(n,["hvcC"])[0];if(H&&H.length>12){const $=H[1],ae=["","A","B","C"][$>>6],ce=$&31,xe=Jt(H,2),Te=($&32)>>5?"H":"L",De=H[12],tt=H.subarray(6,12);m+="."+ae+ce,m+="."+xe.toString(16).toUpperCase(),m+="."+Te+De;let at="";for(let Bt=tt.length;Bt--;){const dr=tt[Bt];(dr||at)&&(at="."+dr.toString(16).toUpperCase()+at)}m+=at}E=ge(U=="hev1"?"dvhe":"dvh1",n);break}case"dvh1":case"dvhe":case"dvav":case"dva1":case"dav1":{m=ge(m,n)||m;break}case"vp09":{const H=yt(n,["vpcC"])[0];if(H&&H.length>6){const $=H[4],ae=H[5],ce=H[6]>>4&15;m+="."+Ne($)+"."+Ne(ae)+"."+Ne(ce)}break}case"av01":{const H=yt(n,["av1C"])[0];if(H&&H.length>2){const $=H[1]>>>5,ae=H[1]&31,ce=H[2]>>>7?"H":"M",xe=(H[2]&64)>>6,Te=(H[2]&32)>>5,De=$===2&&xe?Te?12:10:xe?10:8,tt=(H[2]&16)>>4,at=(H[2]&8)>>3,Bt=(H[2]&4)>>2,dr=H[2]&3;m+="."+$+"."+Ne(ae)+ce+"."+Ne(De)+"."+tt+"."+at+Bt+dr+"."+Ne(1)+"."+Ne(1)+"."+Ne(1)+"."+0,E=ge("dav1",n)}break}}return{codec:m,encrypted:C,supplemental:E}}function ge(P,t){const n=yt(t,["dvvC"]),o=n.length?n[0]:yt(t,["dvcC"])[0];if(o){const m=o[2]>>1&127,E=o[2]<<5&32|o[3]>>3&31;return P+"."+Ne(m)+"."+Ne(E)}}function Se(P,t){const n=t+5;for(;P[t++]&128&&t<n;);return t}function Me(P){return("0"+P.toString(16).toUpperCase()).slice(-2)}function Ne(P){return(P<10?"0":"")+P}function He(P,t){if(!P||!t)return P;const n=t.keyId;return n&&t.isCommonEncryption&&yt(P,["moov","trak"]).forEach(m=>{const C=yt(m,["mdia","minf","stbl","stsd"])[0].subarray(8);let U=yt(C,["enca"]);const H=U.length>0;H||(U=yt(C,["encv"])),U.forEach($=>{const ae=H?$.subarray(28):$.subarray(78);yt(ae,["sinf"]).forEach(xe=>{const Te=nt(xe);if(Te){const De=Te.subarray(8,24);De.some(tt=>tt!==0)||(Y.log(`[eme] Patching keyId in 'enc${H?"a":"v"}>sinf>>tenc' box: ${V.hexDump(De)} -> ${V.hexDump(n)}`),Te.set(n,8))}})})}),P}function nt(P){const t=yt(P,["schm"])[0];if(t){const n=qt(t.subarray(4,8));if(n==="cbcs"||n==="cenc")return yt(P,["schi","tenc"])[0]}return null}function ct(P,t){return yt(t,["moof","traf"]).reduce((n,o)=>{const m=yt(o,["tfdt"])[0],E=m[0],C=yt(o,["tfhd"]).reduce((U,H)=>{const $=Jt(H,4),ae=P[$];if(ae){let ce=Jt(m,4);if(E===1){if(ce===Ht)return Y.warn("[mp4-demuxer]: Ignoring assumed invalid signed 64-bit track fragment decode time"),U;ce*=Ht+1,ce+=Jt(m,8)}const xe=ae.timescale||9e4,Te=ce/xe;if(r(Te)&&(U===null||Te<U))return Te}return U},null);return C!==null&&r(C)&&(n===null||C<n)?C:n},null)}function Vt(P,t){let n=0,o=0,m=0;const E=yt(P,["moof","traf"]);for(let C=0;C<E.length;C++){const U=E[C],H=yt(U,["tfhd"])[0],$=Jt(H,4),ae=t[$];if(!ae)continue;const ce=ae.default,xe=Jt(H,0)|(ce==null?void 0:ce.flags);let Te=ce==null?void 0:ce.duration;xe&8&&(xe&2?Te=Jt(H,12):Te=Jt(H,8));const De=ae.timescale||9e4,tt=yt(U,["trun"]);for(let at=0;at<tt.length;at++){if(n=Wt(tt[at]),!n&&Te){const Bt=Jt(tt[at],4);n=Te*Bt}ae.type===F.VIDEO?o+=n/De:ae.type===F.AUDIO&&(m+=n/De)}}if(o===0&&m===0){let C=1/0,U=0,H=0;const $=yt(P,["sidx"]);for(let ae=0;ae<$.length;ae++){const ce=ht($[ae]);if(ce!=null&&ce.references){C=Math.min(C,ce.earliestPresentationTime/ce.timescale);const xe=ce.references.reduce((Te,De)=>Te+De.info.duration||0,0);U=Math.max(U,xe+ce.earliestPresentationTime/ce.timescale),H=U-C}}if(H&&r(H))return H}return o||m}function Wt(P){const t=Jt(P,0);let n=8;t&1&&(n+=4),t&4&&(n+=4);let o=0;const m=Jt(P,4);for(let E=0;E<m;E++){if(t&256){const C=Jt(P,n);o+=C,n+=4}t&512&&(n+=4),t&1024&&(n+=4),t&2048&&(n+=4)}return o}function Ie(P,t,n){yt(t,["moof","traf"]).forEach(o=>{yt(o,["tfhd"]).forEach(m=>{const E=Jt(m,4),C=P[E];if(!C)return;const U=C.timescale||9e4;yt(o,["tfdt"]).forEach(H=>{const $=H[0],ae=n*U;if(ae){let ce=Jt(H,4);if($===0)ce-=ae,ce=Math.max(ce,0),Ut(H,4,ce);else{ce*=Math.pow(2,32),ce+=Jt(H,8),ce-=ae,ce=Math.max(ce,0);const xe=Math.floor(ce/(Ht+1)),Te=Math.floor(ce%(Ht+1));Ut(H,4,xe),Ut(H,8,Te)}}})})})}function qe(P){const t={valid:null,remainder:null},n=yt(P,["moof"]);if(n.length<2)return t.remainder=P,t;const o=n[n.length-1];return t.valid=P.slice(0,o.byteOffset-8),t.remainder=P.slice(o.byteOffset-8),t}function Gt(P,t){const n=new Uint8Array(P.length+t.length);return n.set(P),n.set(t,P.length),n}function kt(P,t){const n=[],o=t.samples,m=t.timescale,E=t.id;let C=!1;return yt(o,["moof"]).map(H=>{const $=H.byteOffset-8;yt(H,["traf"]).map(ce=>{const xe=yt(ce,["tfdt"]).map(Te=>{const De=Te[0];let tt=Jt(Te,4);return De===1&&(tt*=Math.pow(2,32),tt+=Jt(Te,8)),tt/m})[0];return xe!==void 0&&(P=xe),yt(ce,["tfhd"]).map(Te=>{const De=Jt(Te,4),tt=Jt(Te,0)&16777215,at=(tt&1)!==0,Bt=(tt&2)!==0,dr=(tt&8)!==0;let ar=0;const Zr=(tt&16)!==0;let Gr=0;const fn=(tt&32)!==0;let Vr=8;De===E&&(at&&(Vr+=8),Bt&&(Vr+=4),dr&&(ar=Jt(Te,Vr),Vr+=4),Zr&&(Gr=Jt(Te,Vr),Vr+=4),fn&&(Vr+=4),t.type==="video"&&(C=Zt(t.codec)),yt(ce,["trun"]).map(on=>{const _n=on[0],Xr=Jt(on,0)&16777215,Yn=(Xr&1)!==0;let di=0;const os=(Xr&4)!==0,ya=(Xr&256)!==0;let Ji=0;const Ri=(Xr&512)!==0;let ta=0;const qi=(Xr&1024)!==0,Xn=(Xr&2048)!==0;let ii=0;const wa=Jt(on,4);let Sa=8;Yn&&(di=Jt(on,Sa),Sa+=4),os&&(Sa+=4);let ts=di+$;for(let Cs=0;Cs<wa;Cs++){if(ya?(Ji=Jt(on,Sa),Sa+=4):Ji=ar,Ri?(ta=Jt(on,Sa),Sa+=4):ta=Gr,qi&&(Sa+=4),Xn&&(_n===0?ii=Jt(on,Sa):ii=Pt(on,Sa),Sa+=4),t.type===F.VIDEO){let js=0;for(;js<ta;){const ao=Jt(o,ts);if(ts+=4,Nt(C,o[ts])){const Qu=o.subarray(ts,ts+ao);Ct(Qu,C?2:1,P+ii/m,n)}ts+=ao,js+=ao+4}}P+=Ji/m}}))})})}),n}function Zt(P){if(!P)return!1;const t=P.substring(0,4);return t==="hvc1"||t==="hev1"||t==="dvh1"||t==="dvhe"}function Nt(P,t){if(P){const n=t>>1&63;return n===39||n===40}else return(t&31)===6}function Ct(P,t,n,o){const m=Yt(P);let E=0;E+=t;let C=0,U=0,H=0;for(;E<m.length;){C=0;do{if(E>=m.length)break;H=m[E++],C+=H}while(H===255);U=0;do{if(E>=m.length)break;H=m[E++],U+=H}while(H===255);const $=m.length-E;let ae=E;if(U<$)E+=U;else if(U>$){Y.error(`Malformed SEI payload. ${U} is too small, only ${$} bytes left to parse.`);break}if(C===4){if(m[ae++]===181){const xe=er(m,ae);if(ae+=2,xe===49){const Te=Jt(m,ae);if(ae+=4,Te===1195456820){const De=m[ae++];if(De===3){const tt=m[ae++],at=31&tt,Bt=64&tt,dr=Bt?2+at*3:0,ar=new Uint8Array(dr);if(Bt){ar[0]=tt;for(let Zr=1;Zr<dr;Zr++)ar[Zr]=m[ae++]}o.push({type:De,payloadType:C,pts:n,bytes:ar})}}}}}else if(C===5&&U>16){const ce=[];for(let De=0;De<16;De++){const tt=m[ae++].toString(16);ce.push(tt.length==1?"0"+tt:tt),(De===3||De===5||De===7||De===9)&&ce.push("-")}const xe=U-16,Te=new Uint8Array(xe);for(let De=0;De<xe;De++)Te[De]=m[ae++];o.push({payloadType:C,pts:n,uuid:ce.join(""),userData:K(Te),userDataBytes:Te})}}}function Yt(P){const t=P.byteLength,n=[];let o=1;for(;o<t-2;)P[o]===0&&P[o+1]===0&&P[o+2]===3?(n.push(o+2),o+=2):o++;if(n.length===0)return P;const m=t-n.length,E=new Uint8Array(m);let C=0;for(o=0;o<m;C++,o++)C===n[0]&&(C++,n.shift()),E[o]=P[C];return E}function We(P){const t=P[0];let n="",o="",m=0,E=0,C=0,U=0,H=0,$=0;if(t===0){for(;qt(P.subarray($,$+1))!=="\0";)n+=qt(P.subarray($,$+1)),$+=1;for(n+=qt(P.subarray($,$+1)),$+=1;qt(P.subarray($,$+1))!=="\0";)o+=qt(P.subarray($,$+1)),$+=1;o+=qt(P.subarray($,$+1)),$+=1,m=Jt(P,12),E=Jt(P,16),U=Jt(P,20),H=Jt(P,24),$=28}else if(t===1){$+=4,m=Jt(P,$),$+=4;const ce=Jt(P,$);$+=4;const xe=Jt(P,$);for($+=4,C=4294967296*ce+xe,i(C)||(C=Number.MAX_SAFE_INTEGER,Y.warn("Presentation time exceeds safe integer limit and wrapped to max safe integer in parsing emsg box")),U=Jt(P,$),$+=4,H=Jt(P,$),$+=4;qt(P.subarray($,$+1))!=="\0";)n+=qt(P.subarray($,$+1)),$+=1;for(n+=qt(P.subarray($,$+1)),$+=1;qt(P.subarray($,$+1))!=="\0";)o+=qt(P.subarray($,$+1)),$+=1;o+=qt(P.subarray($,$+1)),$+=1}const ae=P.subarray($,P.byteLength);return{schemeIdUri:n,value:o,timeScale:m,presentationTime:C,presentationTimeDelta:E,eventDuration:U,id:H,payload:ae}}function fe(P,...t){const n=t.length;let o=8,m=n;for(;m--;)o+=t[m].byteLength;const E=new Uint8Array(o);for(E[0]=o>>24&255,E[1]=o>>16&255,E[2]=o>>8&255,E[3]=o&255,E.set(P,4),m=0,o=8;m<n;m++)E.set(t[m],o),o+=t[m].byteLength;return E}function pe(P,t,n){if(P.byteLength!==16)throw new RangeError("Invalid system id");let o,m;o=0,m=new Uint8Array;let E;o>0?(E=new Uint8Array(4),t.length>0&&new DataView(E.buffer).setUint32(0,t.length,!1)):E=new Uint8Array;const C=new Uint8Array(4);return n&&n.byteLength>0&&new DataView(C.buffer).setUint32(0,n.byteLength,!1),fe([112,115,115,104],new Uint8Array([o,0,0,0]),P,E,m,C,n||new Uint8Array)}function Dt(P){const t=[];if(P instanceof ArrayBuffer){const n=P.byteLength;let o=0;for(;o+32<n;){const m=new DataView(P,o),E=Ce(m);t.push(E),o+=E.size}}return t}function Ce(P){const t=P.getUint32(0),n=P.byteOffset,o=P.byteLength;if(o<t)return{offset:n,size:o};if(P.getUint32(4)!==1886614376)return{offset:n,size:t};const E=P.getUint32(8)>>>24;if(E!==0&&E!==1)return{offset:n,size:t};const C=P.buffer,U=V.hexDump(new Uint8Array(C,n+12,16)),H=P.getUint32(28);let $=null,ae=null;if(E===0){if(t-32<H||H<22)return{offset:n,size:t};ae=new Uint8Array(C,n+32,H)}else if(E===1){if(!H||o<n+32+H*16+16)return{offset:n,size:t};$=[];for(let ce=0;ce<H;ce++)$.push(new Uint8Array(C,n+32+ce*16,16))}return{version:E,systemId:U,kids:$,data:ae,offset:n,size:t}}const dt=()=>/\(Windows.+Firefox\//i.test(navigator.userAgent),zt={audio:{a3ds:1,"ac-3":.95,"ac-4":1,alac:.9,alaw:1,dra1:1,"dts+":1,"dts-":1,dtsc:1,dtse:1,dtsh:1,"ec-3":.9,enca:1,fLaC:.9,flac:.9,FLAC:.9,g719:1,g726:1,m4ae:1,mha1:1,mha2:1,mhm1:1,mhm2:1,mlpa:1,mp4a:1,"raw ":1,Opus:1,opus:1,samr:1,sawb:1,sawp:1,sevc:1,sqcp:1,ssmv:1,twos:1,ulaw:1},video:{avc1:1,avc2:1,avc3:1,avc4:1,avcp:1,av01:.8,dav1:.8,drac:1,dva1:1,dvav:1,dvh1:.7,dvhe:.7,encv:1,hev1:.75,hvc1:.75,mjp2:1,mp4v:1,mvc1:1,mvc2:1,mvc3:1,mvc4:1,resv:1,rv60:1,s263:1,svc1:1,svc2:1,"vc-1":1,vp08:1,vp09:.9},text:{stpp:1,wvtt:1}};function Tt(P,t){const n=zt[t];return!!n&&!!n[P.slice(0,4)]}function Oe(P,t,n=!0){return!P.split(",").some(o=>!St(o,t,n))}function St(P,t,n=!0){var o;const m=oe(n);return(o=m==null?void 0:m.isTypeSupported(be(P,t)))!=null?o:!1}function be(P,t){return`${t}/mp4;codecs=${P}`}function Ke(P){if(P){const t=P.substring(0,4);return zt.video[t]}return 2}function vt(P){const t=dt();return P.split(",").reduce((n,o)=>{const E=t&&Zt(o)?9:zt.video[o];return E?(E*2+n)/(n?3:2):(zt.audio[o]+n)/(n?2:1)},0)}const Rt={};function Fe(P,t=!0){if(Rt[P])return Rt[P];const n={flac:["flac","fLaC","FLAC"],opus:["opus","Opus"],"mp4a.40.34":["mp3"]}[P];for(let m=0;m<n.length;m++){var o;if(St(n[m],"audio",t))return Rt[P]=n[m],n[m];if(n[m]==="mp3"&&(o=oe(t))!=null&&o.isTypeSupported("audio/mpeg"))return""}return P}const kr=/flac|opus|mp4a\.40\.34/i;function At(P,t=!0){return P.replace(kr,n=>Fe(n.toLowerCase(),t))}function Kr(P,t){const n=[];if(P){const o=P.split(",");for(let m=0;m<o.length;m++)Tt(o[m],"video")||n.push(o[m])}return t&&n.push(t),n.join(",")}function qr(P,t){if(P&&(P.length>4||["ac-3","ec-3","alac","fLaC","Opus"].indexOf(P)!==-1))return P;if(t){const n=t.split(",");if(n.length>1){if(P){for(let o=n.length;o--;)if(n[o].substring(0,4)===P.substring(0,4))return n[o]}return n[0]}}return t||P}function Ar(P){const t=P.split(",");for(let n=0;n<t.length;n++){const o=t[n].split(".");if(o.length>2){let m=o.shift()+".";m+=parseInt(o.shift()).toString(16),m+=("000"+parseInt(o.shift()).toString(16)).slice(-4),t[n]=m}}return t.join(",")}function Br(P){if(P.startsWith("av01.")){const t=P.split("."),n=["0","111","01","01","01","0"];for(let o=t.length;o>4&&o<10;o++)t[o]=n[o-4];return t.join(".")}return P}function _r(P){const t=oe(P)||{isTypeSupported:()=>!1};return{mpeg:t.isTypeSupported("audio/mpeg"),mp3:t.isTypeSupported('audio/mp4; codecs="mp3"'),ac3:t.isTypeSupported('audio/mp4; codecs="ac-3"')}}function Ur(P){return P.replace(/^.+codecs=["']?([^"']+).*$/,"$1")}const sn={supported:!0,configurations:[],decodingInfoResults:[{supported:!0,powerEfficient:!0,smooth:!0}]};function cn(P,t){return{supported:!1,configurations:t,decodingInfoResults:[{supported:!1,smooth:!1,powerEfficient:!1}],error:P}}const or={};function Lt(P,t,n,o,m,E){const C=P.audioCodec?P.audioGroups:null,U=E==null?void 0:E.audioCodec,H=E==null?void 0:E.channels,$=H?parseInt(H):U?1/0:2;let ae=null;if(C!=null&&C.length)try{C.length===1&&C[0]?ae=t.groups[C[0]].channels:ae=C.reduce((ce,xe)=>{if(xe){const Te=t.groups[xe];if(!Te)throw new Error(`Audio track group ${xe} not found`);Object.keys(Te.channels).forEach(De=>{ce[De]=(ce[De]||0)+Te.channels[De]})}return ce},{2:0})}catch(ce){return!0}return P.videoCodec!==void 0&&(P.width>1920&&P.height>1088||P.height>1920&&P.width>1088||P.frameRate>Math.max(o,30)||P.videoRange!=="SDR"&&P.videoRange!==n||P.bitrate>Math.max(m,8e6))||!!ae&&r($)&&Object.keys(ae).some(ce=>parseInt(ce)>$)}function mt(P,t,n){const o=P.videoCodec,m=P.audioCodec;if(!o&&!m||!n)return Promise.resolve(sn);const E=[];if(o){const C={width:P.width,height:P.height,bitrate:Math.ceil(Math.max(P.bitrate*.9,P.averageBitrate)),framerate:P.frameRate||30},U=P.videoRange;U!=="SDR"&&(C.transferFunction=U.toLowerCase());const H=o.split(","),$=navigator.userAgent;if(H.some(ae=>Zt(ae))&&dt())return Promise.resolve(cn(new Error(`Overriding Windows Firefox HEVC MediaCapabilities result based on user-agent sting: (${$})`),E));E.push.apply(E,H.map(ae=>({type:"media-source",video:b(b({},C),{},{contentType:be(Br(ae),"video")})})))}return m&&P.audioGroups&&P.audioGroups.forEach(C=>{var U;C&&((U=t.groups[C])==null||U.tracks.forEach(H=>{if(H.groupId===C){const $=H.channels||"",ae=parseFloat($);r(ae)&&ae>2&&E.push.apply(E,m.split(",").map(ce=>({type:"media-source",audio:{contentType:be(ce,"audio"),channels:""+ae}})))}}))}),Promise.all(E.map(C=>{const U=gt(C);return or[U]||(or[U]=n.decodingInfo(C))})).then(C=>({supported:!C.some(U=>!U.supported),configurations:E,decodingInfoResults:C})).catch(C=>({supported:!1,configurations:E,decodingInfoResults:[],error:C}))}function gt(P){const{audio:t,video:n}=P,o=n||t;if(o){const m=Ur(o.contentType);if(n)return`r${n.height}x${n.width}f${Math.ceil(n.framerate)}${n.transferFunction||"sd"}_${m}_${Math.ceil(n.bitrate/1e5)}`;if(t)return`c${t.channels}${t.spatialRendering?"s":"n"}_${m}`}return""}const $t=["NONE","TYPE-0","TYPE-1",null];function Cr(P){return $t.indexOf(P)>-1}const gr=["SDR","PQ","HLG"];function ot(P){return!!P&&gr.indexOf(P)>-1}var Mr={No:"",Yes:"YES",v2:"v2"};function yn(P){const{canSkipUntil:t,canSkipDateRanges:n,age:o}=P,m=o<t/2;return t&&m?n?Mr.v2:Mr.Yes:Mr.No}class Zn{constructor(t,n,o){this.msn=void 0,this.part=void 0,this.skip=void 0,this.msn=t,this.part=n,this.skip=o}addDirectives(t){const n=new self.URL(t);return this.msn!==void 0&&n.searchParams.set("_HLS_msn",this.msn.toString()),this.part!==void 0&&n.searchParams.set("_HLS_part",this.part.toString()),this.skip&&n.searchParams.set("_HLS_skip",this.skip),n.href}}class mr{constructor(t){if(this._attrs=void 0,this.audioCodec=void 0,this.bitrate=void 0,this.codecSet=void 0,this.url=void 0,this.frameRate=void 0,this.height=void 0,this.id=void 0,this.name=void 0,this.supplemental=void 0,this.videoCodec=void 0,this.width=void 0,this.details=void 0,this.fragmentError=0,this.loadError=0,this.loaded=void 0,this.realBitrate=0,this.supportedPromise=void 0,this.supportedResult=void 0,this._avgBitrate=0,this._audioGroups=void 0,this._subtitleGroups=void 0,this._urlId=0,this.url=[t.url],this._attrs=[t.attrs],this.bitrate=t.bitrate,t.details&&(this.details=t.details),this.id=t.id||0,this.name=t.name,this.width=t.width||0,this.height=t.height||0,this.frameRate=t.attrs.optionalFloat("FRAME-RATE",0),this._avgBitrate=t.attrs.decimalInteger("AVERAGE-BANDWIDTH"),this.audioCodec=t.audioCodec,this.videoCodec=t.videoCodec,this.codecSet=[t.videoCodec,t.audioCodec].filter(o=>!!o).map(o=>o.substring(0,4)).join(","),"supplemental"in t){var n;this.supplemental=t.supplemental;const o=(n=t.supplemental)==null?void 0:n.videoCodec;o&&o!==t.videoCodec&&(this.codecSet+=`,${o.substring(0,4)}`)}this.addGroupId("audio",t.attrs.AUDIO),this.addGroupId("text",t.attrs.SUBTITLES)}get maxBitrate(){return Math.max(this.realBitrate,this.bitrate)}get averageBitrate(){return this._avgBitrate||this.realBitrate||this.bitrate}get attrs(){return this._attrs[0]}get codecs(){return this.attrs.CODECS||""}get pathwayId(){return this.attrs["PATHWAY-ID"]||"."}get videoRange(){return this.attrs["VIDEO-RANGE"]||"SDR"}get score(){return this.attrs.optionalFloat("SCORE",0)}get uri(){return this.url[0]||""}hasAudioGroup(t){return tn(this._audioGroups,t)}hasSubtitleGroup(t){return tn(this._subtitleGroups,t)}get audioGroups(){return this._audioGroups}get subtitleGroups(){return this._subtitleGroups}addGroupId(t,n){if(n){if(t==="audio"){let o=this._audioGroups;o||(o=this._audioGroups=[]),o.indexOf(n)===-1&&o.push(n)}else if(t==="text"){let o=this._subtitleGroups;o||(o=this._subtitleGroups=[]),o.indexOf(n)===-1&&o.push(n)}}}get urlId(){return 0}set urlId(t){}get audioGroupIds(){return this.audioGroups?[this.audioGroupId]:void 0}get textGroupIds(){return this.subtitleGroups?[this.textGroupId]:void 0}get audioGroupId(){var t;return(t=this.audioGroups)==null?void 0:t[0]}get textGroupId(){var t;return(t=this.subtitleGroups)==null?void 0:t[0]}addFallback(){}}function tn(P,t){return!t||!P?!1:P.indexOf(t)!==-1}function hn(){if(typeof matchMedia=="function"){const P=matchMedia("(dynamic-range: high)"),t=matchMedia("bad query");if(P.media!==t.media)return P.matches===!0}return!1}function Fn(P,t){let n=!1,o=[];if(P&&(n=P!=="SDR",o=[P]),t){o=t.allowedVideoRanges||gr.slice(0);const m=o.join("")!=="SDR"&&!t.videoCodec;n=t.preferHDR!==void 0?t.preferHDR:m&&hn(),n||(o=["SDR"])}return{preferHDR:n,allowedVideoRanges:o}}const ti=P=>{const t=new WeakSet;return(n,o)=>{if(P&&(o=P(n,o)),typeof o=="object"&&o!==null){if(t.has(o))return;t.add(o)}return o}},jn=(P,t)=>JSON.stringify(P,ti(t));function Zi(P,t,n,o,m){const E=Object.keys(P),C=o==null?void 0:o.channels,U=o==null?void 0:o.audioCodec,H=m==null?void 0:m.videoCodec,$=C&&parseInt(C)===2;let ae=!1,ce=!1,xe=1/0,Te=1/0,De=1/0,tt=1/0,at=0,Bt=[];const{preferHDR:dr,allowedVideoRanges:ar}=Fn(t,m);for(let on=E.length;on--;){const _n=P[E[on]];ae||(ae=_n.channels[2]>0),xe=Math.min(xe,_n.minHeight),Te=Math.min(Te,_n.minFramerate),De=Math.min(De,_n.minBitrate),ar.filter(Yn=>_n.videoRanges[Yn]>0).length>0&&(ce=!0)}xe=r(xe)?xe:0,Te=r(Te)?Te:0;const Zr=Math.max(1080,xe),Gr=Math.max(30,Te);De=r(De)?De:n,n=Math.max(De,n),ce||(t=void 0);const fn=E.length>1;return{codecSet:E.reduce((on,_n)=>{const Xr=P[_n];if(_n===on)return on;if(Bt=ce?ar.filter(Yn=>Xr.videoRanges[Yn]>0):[],fn){if(Xr.minBitrate>n)return xi(_n,`min bitrate of ${Xr.minBitrate} > current estimate of ${n}`),on;if(!Xr.hasDefaultAudio)return xi(_n,"no renditions with default or auto-select sound found"),on;if(U&&_n.indexOf(U.substring(0,4))%5!==0)return xi(_n,`audio codec preference "${U}" not found`),on;if(C&&!$){if(!Xr.channels[C])return xi(_n,`no renditions with ${C} channel sound found (channels options: ${Object.keys(Xr.channels)})`),on}else if((!U||$)&&ae&&Xr.channels[2]===0)return xi(_n,"no renditions with stereo sound found"),on;if(Xr.minHeight>Zr)return xi(_n,`min resolution of ${Xr.minHeight} > maximum of ${Zr}`),on;if(Xr.minFramerate>Gr)return xi(_n,`min framerate of ${Xr.minFramerate} > maximum of ${Gr}`),on;if(!Bt.some(Yn=>Xr.videoRanges[Yn]>0))return xi(_n,`no variants with VIDEO-RANGE of ${jn(Bt)} found`),on;if(H&&_n.indexOf(H.substring(0,4))%5!==0)return xi(_n,`video codec preference "${H}" not found`),on;if(Xr.maxScore<at)return xi(_n,`max score of ${Xr.maxScore} < selected max of ${at}`),on}return on&&(vt(_n)>=vt(on)||Xr.fragmentError>P[on].fragmentError)?on:(tt=Xr.minIndex,at=Xr.maxScore,_n)},void 0),videoRanges:Bt,preferHDR:dr,minFramerate:Te,minBitrate:De,minIndex:tt}}function xi(P,t){Y.log(`[abr] start candidates with "${P}" ignored because ${t}`)}function Si(P){return P.reduce((t,n)=>{let o=t.groups[n.groupId];o||(o=t.groups[n.groupId]={tracks:[],channels:{2:0},hasDefault:!1,hasAutoSelect:!1}),o.tracks.push(n);const m=n.channels||"2";return o.channels[m]=(o.channels[m]||0)+1,o.hasDefault=o.hasDefault||n.default,o.hasAutoSelect=o.hasAutoSelect||n.autoselect,o.hasDefault&&(t.hasDefaultAudio=!0),o.hasAutoSelect&&(t.hasAutoSelectAudio=!0),t},{hasDefaultAudio:!1,hasAutoSelectAudio:!1,groups:{}})}function Ei(P,t,n,o){return P.slice(n,o+1).reduce((m,E,C)=>{if(!E.codecSet)return m;const U=E.audioGroups;let H=m[E.codecSet];H||(m[E.codecSet]=H={minBitrate:1/0,minHeight:1/0,minFramerate:1/0,minIndex:C,maxScore:0,videoRanges:{SDR:0},channels:{2:0},hasDefaultAudio:!U,fragmentError:0}),H.minBitrate=Math.min(H.minBitrate,E.bitrate);const $=Math.min(E.height,E.width);return H.minHeight=Math.min(H.minHeight,$),H.minFramerate=Math.min(H.minFramerate,E.frameRate),H.minIndex=Math.min(H.minIndex,C),H.maxScore=Math.max(H.maxScore,E.score),H.fragmentError+=E.fragmentError,H.videoRanges[E.videoRange]=(H.videoRanges[E.videoRange]||0)+1,U&&U.forEach(ae=>{if(!ae)return;const ce=t.groups[ae];ce&&(H.hasDefaultAudio=H.hasDefaultAudio||t.hasDefaultAudio?ce.hasDefault:ce.hasAutoSelect||!t.hasDefaultAudio&&!t.hasAutoSelectAudio,Object.keys(ce.channels).forEach(xe=>{H.channels[xe]=(H.channels[xe]||0)+ce.channels[xe]}))}),m},{})}function mi(P){if(!P)return P;const{lang:t,assocLang:n,characteristics:o,channels:m,audioCodec:E}=P;return{lang:t,assocLang:n,characteristics:o,channels:m,audioCodec:E}}function Xi(P,t,n){if("attrs"in P){const o=t.indexOf(P);if(o!==-1)return o}for(let o=0;o<t.length;o++){const m=t[o];if(qn(P,m,n))return o}return-1}function qn(P,t,n){const{groupId:o,name:m,lang:E,assocLang:C,default:U}=P,H=P.forced;return(o===void 0||t.groupId===o)&&(m===void 0||t.name===m)&&(E===void 0||Yi(E,t.lang))&&(E===void 0||t.assocLang===C)&&(U===void 0||t.default===U)&&(H===void 0||t.forced===H)&&(!("characteristics"in P)||wt(P.characteristics||"",t.characteristics))&&(n===void 0||n(P,t))}function Yi(P,t="--"){return P.length===t.length?P===t:P.startsWith(t)||t.startsWith(P)}function wt(P,t=""){const n=P.split(","),o=t.split(",");return n.length===o.length&&!n.some(m=>o.indexOf(m)===-1)}function ut(P,t){const{audioCodec:n,channels:o}=P;return(n===void 0||(t.audioCodec||"").substring(0,4)===n.substring(0,4))&&(o===void 0||o===(t.channels||"2"))}function Jn(P,t,n,o,m){const E=t[o],U=t.reduce((xe,Te,De)=>{const tt=Te.uri;return(xe[tt]||(xe[tt]=[])).push(De),xe},{})[E.uri];U.length>1&&(o=Math.max.apply(Math,U));const H=E.videoRange,$=E.frameRate,ae=E.codecSet.substring(0,4),ce=Ai(t,o,xe=>{if(xe.videoRange!==H||xe.frameRate!==$||xe.codecSet.substring(0,4)!==ae)return!1;const Te=xe.audioGroups,De=n.filter(tt=>!Te||Te.indexOf(tt.groupId)!==-1);return Xi(P,De,m)>-1});return ce>-1?ce:Ai(t,o,xe=>{const Te=xe.audioGroups,De=n.filter(tt=>!Te||Te.indexOf(tt.groupId)!==-1);return Xi(P,De,m)>-1})}function Ai(P,t,n){for(let o=t;o>-1;o--)if(n(P[o]))return o;for(let o=t+1;o<P.length;o++)if(n(P[o]))return o;return-1}function ei(P,t){var n;return!!P&&P!==((n=t.loadLevelObj)==null?void 0:n.uri)}class Gi extends L{constructor(t){super("abr",t.logger),this.hls=void 0,this.lastLevelLoadSec=0,this.lastLoadedFragLevel=-1,this.firstSelection=-1,this._nextAutoLevel=-1,this.nextAutoLevelKey="",this.audioTracksByGroup=null,this.codecTiers=null,this.timer=-1,this.fragCurrent=null,this.partCurrent=null,this.bitrateTestDelay=0,this.rebufferNotice=-1,this.bwEstimator=void 0,this._abandonRulesCheck=n=>{var o;const{fragCurrent:m,partCurrent:E,hls:C}=this,{autoLevelEnabled:U,media:H}=C;if(!m||!H)return;const $=performance.now(),ae=E?E.stats:m.stats,ce=E?E.duration:m.duration,xe=$-ae.loading.start,Te=C.minAutoLevel,De=m.level,tt=this._nextAutoLevel;if(ae.aborted||ae.loaded&&ae.loaded===ae.total||De<=Te){this.clearTimer(),this._nextAutoLevel=-1;return}if(!U)return;const at=tt>-1&&tt!==De,Bt=!!n||at;if(!Bt&&(H.paused||!H.playbackRate||!H.readyState))return;const dr=C.mainForwardBufferInfo;if(!Bt&&dr===null)return;const ar=this.bwEstimator.getEstimateTTFB(),Zr=Math.abs(H.playbackRate);if(xe<=Math.max(ar,1e3*(ce/(Zr*2))))return;const Gr=dr?dr.len/Zr:0,fn=ae.loading.first?ae.loading.first-ae.loading.start:-1,Vr=ae.loaded&&fn>-1,on=this.getBwEstimate(),_n=C.levels,Xr=_n[De],Yn=Math.max(ae.loaded,Math.round(ce*(m.bitrate||Xr.averageBitrate)/8));let di=Vr?xe-fn:xe;di<1&&Vr&&(di=Math.min(xe,ae.loaded*8/on));const os=Vr?ae.loaded*1e3/di:0,ya=ar/1e3,Ji=os?(Yn-ae.loaded)/os:Yn*8/on+ya;if(Ji<=Gr)return;const Ri=os?os*8:on,ta=((o=(n==null?void 0:n.details)||this.hls.latestLevelDetails)==null?void 0:o.live)===!0,qi=this.hls.config.abrBandWidthUpFactor;let Xn=Number.POSITIVE_INFINITY,ii;for(ii=De-1;ii>Te;ii--){const Cs=_n[ii].maxBitrate,js=!_n[ii].details||ta;if(Xn=this.getTimeToLoadFrag(ya,Ri,ce*Cs,js),Xn<Math.min(Gr,ce+ya))break}if(Xn>=Ji||Xn>ce*10)return;Vr?this.bwEstimator.sample(xe-Math.min(ar,fn),ae.loaded):this.bwEstimator.sampleTTFB(xe);const wa=_n[ii].maxBitrate;this.getBwEstimate()*qi>wa&&this.resetEstimator(wa);const Sa=this.findBestLevel(wa,Te,ii,0,Gr,1,1);Sa>-1&&(ii=Sa),this.warn(`Fragment ${m.sn}${E?" part "+E.index:""} of level ${De} is loading too slowly;
Fragment duration: ${m.duration.toFixed(3)}
Time to underbuffer: ${Gr.toFixed(3)} s
Estimated load time for current fragment: ${Ji.toFixed(3)} s
Estimated load time for down switch fragment: ${Xn.toFixed(3)} s
TTFB estimate: ${fn|0} ms
Current BW estimate: ${r(on)?on|0:"Unknown"} bps
New BW estimate: ${this.getBwEstimate()|0} bps
Switching to level ${ii} @ ${wa|0} bps`),C.nextLoadLevel=C.nextAutoLevel=ii,this.clearTimer();const ts=()=>{if(this.clearTimer(),this.fragCurrent===m&&this.hls.loadLevel===ii&&ii>0){const Cs=this.getStarvationDelay();if(this.warn(`Aborting inflight request ${ii>0?"and switching down":""}
Fragment duration: ${m.duration.toFixed(3)} s
Time to underbuffer: ${Cs.toFixed(3)} s`),m.abortRequests(),this.fragCurrent=this.partCurrent=null,ii>Te){let js=this.findBestLevel(this.hls.levels[Te].bitrate,Te,ii,0,Cs,1,1);js===-1&&(js=Te),this.hls.nextLoadLevel=this.hls.nextAutoLevel=js,this.resetEstimator(this.hls.levels[js].bitrate)}}};at||Ji>Xn*2?ts():this.timer=self.setInterval(ts,Xn*1e3),C.trigger(s.FRAG_LOAD_EMERGENCY_ABORTED,{frag:m,part:E,stats:ae})},this.hls=t,this.bwEstimator=this.initEstimator(),this.registerListeners()}resetEstimator(t){t&&(this.log(`setting initial bwe to ${t}`),this.hls.config.abrEwmaDefaultEstimate=t),this.firstSelection=-1,this.bwEstimator=this.initEstimator()}initEstimator(){const t=this.hls.config;return new x(t.abrEwmaSlowVoD,t.abrEwmaFastVoD,t.abrEwmaDefaultEstimate)}registerListeners(){const{hls:t}=this;t.on(s.MANIFEST_LOADING,this.onManifestLoading,this),t.on(s.FRAG_LOADING,this.onFragLoading,this),t.on(s.FRAG_LOADED,this.onFragLoaded,this),t.on(s.FRAG_BUFFERED,this.onFragBuffered,this),t.on(s.LEVEL_SWITCHING,this.onLevelSwitching,this),t.on(s.LEVEL_LOADED,this.onLevelLoaded,this),t.on(s.LEVELS_UPDATED,this.onLevelsUpdated,this),t.on(s.MAX_AUTO_LEVEL_UPDATED,this.onMaxAutoLevelUpdated,this),t.on(s.ERROR,this.onError,this)}unregisterListeners(){const{hls:t}=this;t&&(t.off(s.MANIFEST_LOADING,this.onManifestLoading,this),t.off(s.FRAG_LOADING,this.onFragLoading,this),t.off(s.FRAG_LOADED,this.onFragLoaded,this),t.off(s.FRAG_BUFFERED,this.onFragBuffered,this),t.off(s.LEVEL_SWITCHING,this.onLevelSwitching,this),t.off(s.LEVEL_LOADED,this.onLevelLoaded,this),t.off(s.LEVELS_UPDATED,this.onLevelsUpdated,this),t.off(s.MAX_AUTO_LEVEL_UPDATED,this.onMaxAutoLevelUpdated,this),t.off(s.ERROR,this.onError,this))}destroy(){this.unregisterListeners(),this.clearTimer(),this.hls=this._abandonRulesCheck=null,this.fragCurrent=this.partCurrent=null}onManifestLoading(t,n){this.lastLoadedFragLevel=-1,this.firstSelection=-1,this.lastLevelLoadSec=0,this.fragCurrent=this.partCurrent=null,this.onLevelsUpdated(),this.clearTimer()}onLevelsUpdated(){this.lastLoadedFragLevel>-1&&this.fragCurrent&&(this.lastLoadedFragLevel=this.fragCurrent.level),this._nextAutoLevel=-1,this.onMaxAutoLevelUpdated(),this.codecTiers=null,this.audioTracksByGroup=null}onMaxAutoLevelUpdated(){this.firstSelection=-1,this.nextAutoLevelKey=""}onFragLoading(t,n){const o=n.frag;if(!this.ignoreFragment(o)){if(!o.bitrateTest){var m;this.fragCurrent=o,this.partCurrent=(m=n.part)!=null?m:null}this.clearTimer(),this.timer=self.setInterval(this._abandonRulesCheck,100)}}onLevelSwitching(t,n){this.clearTimer()}onError(t,n){if(!n.fatal)switch(n.details){case f.BUFFER_ADD_CODEC_ERROR:case f.BUFFER_APPEND_ERROR:this.lastLoadedFragLevel=-1,this.firstSelection=-1;break;case f.FRAG_LOAD_TIMEOUT:{const o=n.frag,{fragCurrent:m,partCurrent:E}=this;if(o&&m&&o.sn===m.sn&&o.level===m.level){const C=performance.now(),U=E?E.stats:o.stats,H=C-U.loading.start,$=U.loading.first?U.loading.first-U.loading.start:-1;if(U.loaded&&$>-1){const ce=this.bwEstimator.getEstimateTTFB();this.bwEstimator.sample(H-Math.min(ce,$),U.loaded)}else this.bwEstimator.sampleTTFB(H)}break}}}getTimeToLoadFrag(t,n,o,m){const E=t+o/n,C=m?t+this.lastLevelLoadSec:0;return E+C}onLevelLoaded(t,n){const o=this.hls.config,{loading:m}=n.stats,E=m.end-m.first;r(E)&&(this.lastLevelLoadSec=E/1e3),n.details.live?this.bwEstimator.update(o.abrEwmaSlowLive,o.abrEwmaFastLive):this.bwEstimator.update(o.abrEwmaSlowVoD,o.abrEwmaFastVoD),this.timer>-1&&this._abandonRulesCheck(n.levelInfo)}onFragLoaded(t,{frag:n,part:o}){const m=o?o.stats:n.stats;if(n.type===u.MAIN&&this.bwEstimator.sampleTTFB(m.loading.first-m.loading.start),!this.ignoreFragment(n)){if(this.clearTimer(),n.level===this._nextAutoLevel&&(this._nextAutoLevel=-1),this.firstSelection=-1,this.hls.config.abrMaxWithRealBitrate){const E=o?o.duration:n.duration,C=this.hls.levels[n.level],U=(C.loaded?C.loaded.bytes:0)+m.loaded,H=(C.loaded?C.loaded.duration:0)+E;C.loaded={bytes:U,duration:H},C.realBitrate=Math.round(8*U/H)}if(n.bitrateTest){const E={stats:m,frag:n,part:o,id:n.type};this.onFragBuffered(s.FRAG_BUFFERED,E),n.bitrateTest=!1}else this.lastLoadedFragLevel=n.level}}onFragBuffered(t,n){const{frag:o,part:m}=n,E=m!=null&&m.stats.loaded?m.stats:o.stats;if(E.aborted||this.ignoreFragment(o))return;const C=E.parsing.end-E.loading.start-Math.min(E.loading.first-E.loading.start,this.bwEstimator.getEstimateTTFB());this.bwEstimator.sample(C,E.loaded),E.bwEstimate=this.getBwEstimate(),o.bitrateTest?this.bitrateTestDelay=C/1e3:this.bitrateTestDelay=0}ignoreFragment(t){return t.type!==u.MAIN||t.sn==="initSegment"}clearTimer(){this.timer>-1&&(self.clearInterval(this.timer),this.timer=-1)}get firstAutoLevel(){const{maxAutoLevel:t,minAutoLevel:n}=this.hls,o=this.getBwEstimate(),m=this.hls.config.maxStarvationDelay,E=this.findBestLevel(o,n,t,0,m,1,1);if(E>-1)return E;const C=this.hls.firstLevel,U=Math.min(Math.max(C,n),t);return this.warn(`Could not find best starting auto level. Defaulting to first in playlist ${C} clamped to ${U}`),U}get forcedAutoLevel(){return this.nextAutoLevelKey?-1:this._nextAutoLevel}get nextAutoLevel(){const t=this.forcedAutoLevel,o=this.bwEstimator.canEstimate(),m=this.lastLoadedFragLevel>-1;if(t!==-1&&(!o||!m||this.nextAutoLevelKey===this.getAutoLevelKey()))return t;const E=o&&m?this.getNextABRAutoLevel():this.firstAutoLevel;if(t!==-1){const C=this.hls.levels;if(C.length>Math.max(t,E)&&C[t].loadError<=C[E].loadError)return t}return this._nextAutoLevel=E,this.nextAutoLevelKey=this.getAutoLevelKey(),E}getAutoLevelKey(){return`${this.getBwEstimate()}_${this.getStarvationDelay().toFixed(2)}`}getNextABRAutoLevel(){const{fragCurrent:t,partCurrent:n,hls:o}=this;if(o.levels.length<=1)return o.loadLevel;const{maxAutoLevel:m,config:E,minAutoLevel:C}=o,U=n?n.duration:t?t.duration:0,H=this.getBwEstimate(),$=this.getStarvationDelay();let ae=E.abrBandWidthFactor,ce=E.abrBandWidthUpFactor;if($){const at=this.findBestLevel(H,C,m,$,0,ae,ce);if(at>=0)return this.rebufferNotice=-1,at}let xe=U?Math.min(U,E.maxStarvationDelay):E.maxStarvationDelay;if(!$){const at=this.bitrateTestDelay;at&&(xe=(U?Math.min(U,E.maxLoadingDelay):E.maxLoadingDelay)-at,this.info(`bitrate test took ${Math.round(1e3*at)}ms, set first fragment max fetchDuration to ${Math.round(1e3*xe)} ms`),ae=ce=1)}const Te=this.findBestLevel(H,C,m,$,xe,ae,ce);if(this.rebufferNotice!==Te&&(this.rebufferNotice=Te,this.info(`${$?"rebuffering expected":"buffer is empty"}, optimal quality level ${Te}`)),Te>-1)return Te;const De=o.levels[C],tt=o.loadLevelObj;return tt&&(De==null?void 0:De.bitrate)<tt.bitrate?C:o.loadLevel}getStarvationDelay(){const t=this.hls,n=t.media;if(!n)return 1/0;const o=n&&n.playbackRate!==0?Math.abs(n.playbackRate):1,m=t.mainForwardBufferInfo;return(m?m.len:0)/o}getBwEstimate(){return this.bwEstimator.canEstimate()?this.bwEstimator.getEstimate():this.hls.config.abrEwmaDefaultEstimate}findBestLevel(t,n,o,m,E,C,U){var H;const $=m+E,ae=this.lastLoadedFragLevel,ce=ae===-1?this.hls.firstLevel:ae,{fragCurrent:xe,partCurrent:Te}=this,{levels:De,allAudioTracks:tt,loadLevel:at,config:Bt}=this.hls;if(De.length===1)return 0;const dr=De[ce],ar=!!((H=this.hls.latestLevelDetails)!=null&&H.live),Zr=at===-1||ae===-1;let Gr,fn="SDR",Vr=(dr==null?void 0:dr.frameRate)||0;const{audioPreference:on,videoPreference:_n}=Bt,Xr=this.audioTracksByGroup||(this.audioTracksByGroup=Si(tt));let Yn=-1;if(Zr){if(this.firstSelection!==-1)return this.firstSelection;const Ri=this.codecTiers||(this.codecTiers=Ei(De,Xr,n,o)),ta=Zi(Ri,fn,t,on,_n),{codecSet:qi,videoRanges:Xn,minFramerate:ii,minBitrate:wa,minIndex:Sa,preferHDR:ts}=ta;Yn=Sa,Gr=qi,fn=ts?Xn[Xn.length-1]:Xn[0],Vr=ii,t=Math.max(t,wa),this.log(`picked start tier ${jn(ta)}`)}else Gr=dr==null?void 0:dr.codecSet,fn=dr==null?void 0:dr.videoRange;const di=Te?Te.duration:xe?xe.duration:0,os=this.bwEstimator.getEstimateTTFB()/1e3,ya=[];for(let Ri=o;Ri>=n;Ri--){var Ji;const ta=De[Ri],qi=Ri>ce;if(!ta)continue;if(Bt.useMediaCapabilities&&!ta.supportedResult&&!ta.supportedPromise){const js=navigator.mediaCapabilities;typeof(js==null?void 0:js.decodingInfo)=="function"&&(Lt(ta,Xr,fn,Vr,t,on)||Zt(ta.videoCodec))?(ta.supportedPromise=mt(ta,Xr,js),ta.supportedPromise.then(ao=>{if(!this.hls)return;ta.supportedResult=ao;const Qu=this.hls.levels,dl=Qu.indexOf(ta);ao.error?this.warn(`MediaCapabilities decodingInfo error: "${ao.error}" for level ${dl} ${jn(ao)}`):ao.supported||(this.warn(`Unsupported MediaCapabilities decodingInfo result for level ${dl} ${jn(ao)}`),dl>-1&&Qu.length>1&&(this.log(`Removing unsupported level ${dl}`),this.hls.removeLevel(dl),this.hls.loadLevel===-1&&(this.hls.nextLoadLevel=0)))})):ta.supportedResult=sn}if((Gr&&ta.codecSet!==Gr||fn&&ta.videoRange!==fn||qi&&Vr>ta.frameRate||!qi&&Vr>0&&Vr<ta.frameRate||ta.supportedResult&&!((Ji=ta.supportedResult.decodingInfoResults)!=null&&Ji[0].smooth))&&(!Zr||Ri!==Yn)){ya.push(Ri);continue}const Xn=ta.details,ii=(Te?Xn==null?void 0:Xn.partTarget:Xn==null?void 0:Xn.averagetargetduration)||di;let wa;qi?wa=U*t:wa=C*t;const Sa=di&&m>=di*2&&E===0?ta.averageBitrate:ta.maxBitrate,ts=this.getTimeToLoadFrag(os,wa,Sa*ii,Xn===void 0);if(wa>=Sa&&(Ri===ae||ta.loadError===0&&ta.fragmentError===0)&&(ts<=os||!r(ts)||ar&&!this.bitrateTestDelay||ts<$)){const js=this.forcedAutoLevel;return Ri!==at&&(js===-1||js!==at)&&(ya.length&&this.trace(`Skipped level(s) ${ya.join(",")} of ${o} max with CODECS and VIDEO-RANGE:"${De[ya[0]].codecs}" ${De[ya[0]].videoRange}; not compatible with "${Gr}" ${fn}`),this.info(`switch candidate:${ce}->${Ri} adjustedbw(${Math.round(wa)})-bitrate=${Math.round(wa-Sa)} ttfb:${os.toFixed(1)} avgDuration:${ii.toFixed(1)} maxFetchDuration:${$.toFixed(1)} fetchDuration:${ts.toFixed(1)} firstSelection:${Zr} codecSet:${ta.codecSet} videoRange:${ta.videoRange} hls.loadLevel:${at}`)),Zr&&(this.firstSelection=Ri),Ri}}return-1}set nextAutoLevel(t){const n=this.deriveNextAutoLevel(t);this._nextAutoLevel!==n&&(this.nextAutoLevelKey="",this._nextAutoLevel=n)}deriveNextAutoLevel(t){const{maxAutoLevel:n,minAutoLevel:o}=this.hls;return Math.min(Math.max(t,o),n)}}const vi={search:function(P,t){let n=0,o=P.length-1,m=null,E=null;for(;n<=o;){m=(n+o)/2|0,E=P[m];const C=t(E);if(C>0)n=m+1;else if(C<0)o=m-1;else return E}return null}};function si(P,t,n){if(t===null||!Array.isArray(P)||!P.length||!r(t))return null;const o=P[0].programDateTime;if(t<(o||0))return null;const m=P[P.length-1].endProgramDateTime;if(t>=(m||0))return null;n=n||0;for(let E=0;E<P.length;++E){const C=P[E];if(rt(t,n,C))return C}return null}function En(P,t,n=0,o=0,m=.005){let E=null;if(P){E=t[1+P.sn-t[0].sn]||null;const U=P.endDTS-n;U>0&&U<15e-7&&(n+=15e-7),E&&P.level!==E.level&&E.end<=P.end&&(E=t[2+P.sn-t[0].sn]||null)}else n===0&&t[0].start===0&&(E=t[0]);if(E&&((!P||P.level===E.level)&&_t(n,o,E)===0||tr(E,P,Math.min(m,o))))return E;const C=vi.search(t,_t.bind(null,n,o));return C&&(C!==P||!E)?C:E}function tr(P,t,n){if(t&&t.start===0&&t.level<P.level&&(t.endPTS||0)>0){const o=t.tagList.reduce((m,E)=>(E[0]==="INF"&&(m+=parseFloat(E[1])),m),n);return P.start<=o}return!1}function _t(P=0,t=0,n){if(n.start<=P&&n.start+n.duration>P)return 0;const o=Math.min(t,n.duration+(n.deltaPTS?n.deltaPTS:0));return n.start+n.duration-o<=P?1:n.start-o>P&&n.start?-1:0}function rt(P,t,n){const o=Math.min(t,n.duration+(n.deltaPTS?n.deltaPTS:0))*1e3;return(n.endProgramDateTime||0)-o>P}function It(P,t){return vi.search(P,n=>n.cc<t?1:n.cc>t?-1:0)}function pt(P,t,n){if(P&&P.startCC<=t&&P.endCC>=t){const o=n.start,m=n.end;let E=P.fragments;if(!n.relurl){const{fragmentHint:C}=P;C&&(E=E.concat(C))}return vi.search(E,C=>C.cc<t||C.end<=o?1:C.cc>t||C.start>=m?-1:0)}return null}function lr(P){switch(P.details){case f.FRAG_LOAD_TIMEOUT:case f.KEY_LOAD_TIMEOUT:case f.LEVEL_LOAD_TIMEOUT:case f.MANIFEST_LOAD_TIMEOUT:return!0}return!1}function fr(P,t){const n=lr(t);return P.default[`${n?"timeout":"error"}Retry`]}function Ir(P,t){const n=P.backoff==="linear"?1:Math.pow(2,t);return Math.min(n*P.retryDelayMs,P.maxRetryDelayMs)}function Hr(P){return b(b({},P),{errorRetry:null,timeoutRetry:null})}function ze(P,t,n,o){if(!P)return!1;const m=o==null?void 0:o.code,E=t<P.maxNumRetry&&(et(m)||!!n);return P.shouldRetry?P.shouldRetry(P,t,n,o,E):E}function et(P){return P===0&&navigator.onLine===!1||!!P&&(P<400||P>499)}var Ee={DoNothing:0,SendEndCallback:1,SendAlternateToPenaltyBox:2,RemoveAlternatePermanently:3,InsertDiscontinuity:4,RetryRequest:5},it={None:0,MoveAllAlternatesMatchingHost:1,MoveAllAlternatesMatchingHDCP:2,SwitchToSDR:4};class ir extends L{constructor(t){super("error-controller",t.logger),this.hls=void 0,this.playlistError=0,this.penalizedRenditions={},this.hls=t,this.registerListeners()}registerListeners(){const t=this.hls;t.on(s.ERROR,this.onError,this),t.on(s.MANIFEST_LOADING,this.onManifestLoading,this),t.on(s.LEVEL_UPDATED,this.onLevelUpdated,this)}unregisterListeners(){const t=this.hls;t&&(t.off(s.ERROR,this.onError,this),t.off(s.ERROR,this.onErrorOut,this),t.off(s.MANIFEST_LOADING,this.onManifestLoading,this),t.off(s.LEVEL_UPDATED,this.onLevelUpdated,this))}destroy(){this.unregisterListeners(),this.hls=null,this.penalizedRenditions={}}startLoad(t){}stopLoad(){this.playlistError=0}getVariantLevelIndex(t){return(t==null?void 0:t.type)===u.MAIN?t.level:this.hls.loadLevel}onManifestLoading(){this.playlistError=0,this.penalizedRenditions={}}onLevelUpdated(){this.playlistError=0}onError(t,n){var o;if(n.fatal)return;const m=this.hls,E=n.context;switch(n.details){case f.FRAG_LOAD_ERROR:case f.FRAG_LOAD_TIMEOUT:case f.KEY_LOAD_ERROR:case f.KEY_LOAD_TIMEOUT:n.errorAction=this.getFragRetryOrSwitchAction(n);return;case f.FRAG_PARSING_ERROR:if((o=n.frag)!=null&&o.gap){n.errorAction=Dr();return}case f.FRAG_GAP:case f.FRAG_DECRYPT_ERROR:{n.errorAction=this.getFragRetryOrSwitchAction(n),n.errorAction.action=Ee.SendAlternateToPenaltyBox;return}case f.LEVEL_EMPTY_ERROR:case f.LEVEL_PARSING_ERROR:{var C,U;const $=n.parent===u.MAIN?n.level:m.loadLevel;n.details===f.LEVEL_EMPTY_ERROR&&((C=n.context)!=null&&(U=C.levelDetails)!=null&&U.live)?n.errorAction=this.getPlaylistRetryOrSwitchAction(n,$):(n.levelRetry=!1,n.errorAction=this.getLevelSwitchAction(n,$))}return;case f.LEVEL_LOAD_ERROR:case f.LEVEL_LOAD_TIMEOUT:typeof(E==null?void 0:E.level)=="number"&&(n.errorAction=this.getPlaylistRetryOrSwitchAction(n,E.level));return;case f.AUDIO_TRACK_LOAD_ERROR:case f.AUDIO_TRACK_LOAD_TIMEOUT:case f.SUBTITLE_LOAD_ERROR:case f.SUBTITLE_TRACK_LOAD_TIMEOUT:if(E){const $=m.loadLevelObj;if($&&(E.type===h.AUDIO_TRACK&&$.hasAudioGroup(E.groupId)||E.type===h.SUBTITLE_TRACK&&$.hasSubtitleGroup(E.groupId))){n.errorAction=this.getPlaylistRetryOrSwitchAction(n,m.loadLevel),n.errorAction.action=Ee.SendAlternateToPenaltyBox,n.errorAction.flags=it.MoveAllAlternatesMatchingHost;return}}return;case f.KEY_SYSTEM_STATUS_OUTPUT_RESTRICTED:{const $=m.loadLevelObj,ae=$==null?void 0:$.attrs["HDCP-LEVEL"];ae?n.errorAction={action:Ee.SendAlternateToPenaltyBox,flags:it.MoveAllAlternatesMatchingHDCP,hdcpLevel:ae}:this.keySystemError(n)}return;case f.BUFFER_ADD_CODEC_ERROR:case f.REMUX_ALLOC_ERROR:case f.BUFFER_APPEND_ERROR:if(!n.errorAction){var H;n.errorAction=this.getLevelSwitchAction(n,(H=n.level)!=null?H:m.loadLevel)}return;case f.INTERNAL_EXCEPTION:case f.BUFFER_APPENDING_ERROR:case f.BUFFER_FULL_ERROR:case f.LEVEL_SWITCH_ERROR:case f.BUFFER_STALLED_ERROR:case f.BUFFER_SEEK_OVER_HOLE:case f.BUFFER_NUDGE_ON_STALL:n.errorAction=Dr();return}n.type===c.KEY_SYSTEM_ERROR&&this.keySystemError(n)}keySystemError(t){const n=this.getVariantLevelIndex(t.frag);t.levelRetry=!1,t.errorAction=this.getLevelSwitchAction(t,n)}getPlaylistRetryOrSwitchAction(t,n){const o=this.hls,m=fr(o.config.playlistLoadPolicy,t),E=this.playlistError++;if(ze(m,E,lr(t),t.response))return{action:Ee.RetryRequest,flags:it.None,retryConfig:m,retryCount:E};const U=this.getLevelSwitchAction(t,n);return m&&(U.retryConfig=m,U.retryCount=E),U}getFragRetryOrSwitchAction(t){const n=this.hls,o=this.getVariantLevelIndex(t.frag),m=n.levels[o],{fragLoadPolicy:E,keyLoadPolicy:C}=n.config,U=fr(t.details.startsWith("key")?C:E,t),H=n.levels.reduce((ae,ce)=>ae+ce.fragmentError,0);if(m&&(t.details!==f.FRAG_GAP&&m.fragmentError++,ze(U,H,lr(t),t.response)))return{action:Ee.RetryRequest,flags:it.None,retryConfig:U,retryCount:H};const $=this.getLevelSwitchAction(t,o);return U&&($.retryConfig=U,$.retryCount=H),$}getLevelSwitchAction(t,n){const o=this.hls;n==null&&(n=o.loadLevel);const m=this.hls.levels[n];if(m){var E,C;const $=t.details;m.loadError++,$===f.BUFFER_APPEND_ERROR&&m.fragmentError++;let ae=-1;const{levels:ce,loadLevel:xe,minAutoLevel:Te,maxAutoLevel:De}=o;o.autoLevelEnabled||(o.loadLevel=-1);const tt=(E=t.frag)==null?void 0:E.type,Bt=(tt===u.AUDIO&&$===f.FRAG_PARSING_ERROR||t.sourceBufferName==="audio"&&($===f.BUFFER_ADD_CODEC_ERROR||$===f.BUFFER_APPEND_ERROR))&&ce.some(({audioCodec:fn})=>m.audioCodec!==fn),ar=t.sourceBufferName==="video"&&($===f.BUFFER_ADD_CODEC_ERROR||$===f.BUFFER_APPEND_ERROR)&&ce.some(({codecSet:fn,audioCodec:Vr})=>m.codecSet!==fn&&m.audioCodec===Vr),{type:Zr,groupId:Gr}=(C=t.context)!=null?C:{};for(let fn=ce.length;fn--;){const Vr=(fn+xe)%ce.length;if(Vr!==xe&&Vr>=Te&&Vr<=De&&ce[Vr].loadError===0){var U,H;const on=ce[Vr];if($===f.FRAG_GAP&&tt===u.MAIN&&t.frag){const _n=ce[Vr].details;if(_n){const Xr=En(t.frag,_n.fragments,t.frag.start);if(Xr!=null&&Xr.gap)continue}}else{if(Zr===h.AUDIO_TRACK&&on.hasAudioGroup(Gr)||Zr===h.SUBTITLE_TRACK&&on.hasSubtitleGroup(Gr))continue;if(tt===u.AUDIO&&(U=m.audioGroups)!=null&&U.some(_n=>on.hasAudioGroup(_n))||tt===u.SUBTITLE&&(H=m.subtitleGroups)!=null&&H.some(_n=>on.hasSubtitleGroup(_n))||Bt&&m.audioCodec===on.audioCodec||!Bt&&m.audioCodec!==on.audioCodec||ar&&m.codecSet===on.codecSet)continue}ae=Vr;break}}if(ae>-1&&o.loadLevel!==ae)return t.levelRetry=!0,this.playlistError=0,{action:Ee.SendAlternateToPenaltyBox,flags:it.None,nextAutoLevel:ae}}return{action:Ee.SendAlternateToPenaltyBox,flags:it.MoveAllAlternatesMatchingHost}}onErrorOut(t,n){var o;switch((o=n.errorAction)==null?void 0:o.action){case Ee.DoNothing:break;case Ee.SendAlternateToPenaltyBox:this.sendAlternateToPenaltyBox(n),!n.errorAction.resolved&&n.details!==f.FRAG_GAP?n.fatal=!0:/MediaSource readyState: ended/.test(n.error.message)&&(this.warn(`MediaSource ended after "${n.sourceBufferName}" sourceBuffer append error. Attempting to recover from media error.`),this.hls.recoverMediaError());break;case Ee.RetryRequest:break}if(n.fatal){this.hls.stopLoad();return}}sendAlternateToPenaltyBox(t){const n=this.hls,o=t.errorAction;if(!o)return;const{flags:m,hdcpLevel:E,nextAutoLevel:C}=o;switch(m){case it.None:this.switchLevel(t,C);break;case it.MoveAllAlternatesMatchingHDCP:E&&(n.maxHdcpLevel=$t[$t.indexOf(E)-1],o.resolved=!0),this.warn(`Restricting playback to HDCP-LEVEL of "${n.maxHdcpLevel}" or lower`);break}o.resolved||this.switchLevel(t,C)}switchLevel(t,n){if(n!==void 0&&t.errorAction&&(this.warn(`switching to level ${n} after ${t.details}`),this.hls.nextAutoLevel=n,t.errorAction.resolved=!0,this.hls.nextLoadLevel=this.hls.nextAutoLevel,t.details===f.BUFFER_ADD_CODEC_ERROR&&t.mimeType&&t.sourceBufferName!=="audiovideo")){const o=Ur(t.mimeType),m=this.hls.levels;for(let E=m.length;E--;)m[E][`${t.sourceBufferName}Codec`]===o&&this.hls.removeLevel(E)}}}function Dr(P){const t={action:Ee.DoNothing,flags:it.None};return P&&(t.resolved=!0),t}var Er={NOT_LOADED:"NOT_LOADED",APPENDING:"APPENDING",PARTIAL:"PARTIAL",OK:"OK"};class Or{constructor(t){this.activePartLists=Object.create(null),this.endListFragments=Object.create(null),this.fragments=Object.create(null),this.timeRanges=Object.create(null),this.bufferPadding=.2,this.hls=void 0,this.hasGaps=!1,this.hls=t,this._registerListeners()}_registerListeners(){const{hls:t}=this;t.on(s.MANIFEST_LOADING,this.onManifestLoading,this),t.on(s.BUFFER_APPENDED,this.onBufferAppended,this),t.on(s.FRAG_BUFFERED,this.onFragBuffered,this),t.on(s.FRAG_LOADED,this.onFragLoaded,this)}_unregisterListeners(){const{hls:t}=this;t.off(s.MANIFEST_LOADING,this.onManifestLoading,this),t.off(s.BUFFER_APPENDED,this.onBufferAppended,this),t.off(s.FRAG_BUFFERED,this.onFragBuffered,this),t.off(s.FRAG_LOADED,this.onFragLoaded,this)}destroy(){this._unregisterListeners(),this.fragments=this.activePartLists=this.endListFragments=this.timeRanges=null}getAppendedFrag(t,n){const o=this.activePartLists[n];if(o)for(let m=o.length;m--;){const E=o[m];if(!E)break;const C=E.end;if(E.start<=t&&C!==null&&t<=C)return E}return this.getBufferedFrag(t,n)}getBufferedFrag(t,n){return this.getFragAtPos(t,n,!0)}getFragAtPos(t,n,o){const{fragments:m}=this,E=Object.keys(m);for(let C=E.length;C--;){const U=m[E[C]];if((U==null?void 0:U.body.type)===n&&(!o||U.buffered)){const H=U.body;if(H.start<=t&&t<=H.end)return H}}return null}detectEvictedFragments(t,n,o,m,E){this.timeRanges&&(this.timeRanges[t]=n);const C=(m==null?void 0:m.fragment.sn)||-1;Object.keys(this.fragments).forEach(U=>{const H=this.fragments[U];if(!H||C>=H.body.sn)return;if(!H.buffered&&(!H.loaded||E)){H.body.type===o&&this.removeFragment(H.body);return}const $=H.range[t];if($){if($.time.length===0){this.removeFragment(H.body);return}$.time.some(ae=>{const ce=!this.isTimeBuffered(ae.startPTS,ae.endPTS,n);return ce&&this.removeFragment(H.body),ce})}})}detectPartialFragments(t){const n=this.timeRanges;if(!n||t.frag.sn==="initSegment")return;const o=t.frag,m=bn(o),E=this.fragments[m];if(!E||E.buffered&&o.gap)return;const C=!o.relurl;Object.keys(n).forEach(U=>{const H=o.elementaryStreams[U];if(!H)return;const $=n[U],ae=C||H.partial===!0;E.range[U]=this.getBufferedTimes(o,t.part,ae,$)}),E.loaded=null,Object.keys(E.range).length?(E.buffered=!0,(E.body.endList=o.endList||E.body.endList)&&(this.endListFragments[E.body.type]=E),$r(E)||this.removeParts(o.sn-1,o.type)):this.removeFragment(E.body)}removeParts(t,n){const o=this.activePartLists[n];o&&(this.activePartLists[n]=Pr(o,m=>m.fragment.sn>=t))}fragBuffered(t,n){const o=bn(t);let m=this.fragments[o];!m&&n&&(m=this.fragments[o]={body:t,appendedPTS:null,loaded:null,buffered:!1,range:Object.create(null)},t.gap&&(this.hasGaps=!0)),m&&(m.loaded=null,m.buffered=!0)}getBufferedTimes(t,n,o,m){const E={time:[],partial:o},C=t.start,U=t.end,H=t.minEndPTS||U,$=t.maxStartPTS||C;for(let ae=0;ae<m.length;ae++){const ce=m.start(ae)-this.bufferPadding,xe=m.end(ae)+this.bufferPadding;if($>=ce&&H<=xe){E.time.push({startPTS:Math.max(C,m.start(ae)),endPTS:Math.min(U,m.end(ae))});break}else if(C<xe&&U>ce){const Te=Math.max(C,m.start(ae)),De=Math.min(U,m.end(ae));De>Te&&(E.partial=!0,E.time.push({startPTS:Te,endPTS:De}))}else if(U<=ce)break}return E}getPartialFragment(t){let n=null,o,m,E,C=0;const{bufferPadding:U,fragments:H}=this;return Object.keys(H).forEach($=>{const ae=H[$];ae&&$r(ae)&&(m=ae.body.start-U,E=ae.body.end+U,t>=m&&t<=E&&(o=Math.min(t-m,E-t),C<=o&&(n=ae.body,C=o)))}),n}isEndListAppended(t){const n=this.endListFragments[t];return n!==void 0&&(n.buffered||$r(n))}getState(t){const n=bn(t),o=this.fragments[n];return o?o.buffered?$r(o)?Er.PARTIAL:Er.OK:Er.APPENDING:Er.NOT_LOADED}isTimeBuffered(t,n,o){let m,E;for(let C=0;C<o.length;C++){if(m=o.start(C)-this.bufferPadding,E=o.end(C)+this.bufferPadding,t>=m&&n<=E)return!0;if(n<=m)return!1}return!1}onManifestLoading(){this.removeAllFragments()}onFragLoaded(t,n){if(n.frag.sn==="initSegment"||n.frag.bitrateTest)return;const o=n.frag,m=n.part?null:n,E=bn(o);this.fragments[E]={body:o,appendedPTS:null,loaded:m,buffered:!1,range:Object.create(null)}}onBufferAppended(t,n){const{frag:o,part:m,timeRanges:E,type:C}=n;if(o.sn==="initSegment")return;const U=o.type;if(m){let $=this.activePartLists[U];$||(this.activePartLists[U]=$=[]),$.push(m)}this.timeRanges=E;const H=E[C];this.detectEvictedFragments(C,H,U,m)}onFragBuffered(t,n){this.detectPartialFragments(n)}hasFragment(t){const n=bn(t);return!!this.fragments[n]}hasFragments(t){const{fragments:n}=this,o=Object.keys(n);if(!t)return o.length>0;for(let m=o.length;m--;){const E=n[o[m]];if((E==null?void 0:E.body.type)===t)return!0}return!1}hasParts(t){var n;return!!((n=this.activePartLists[t])!=null&&n.length)}removeFragmentsInRange(t,n,o,m,E){m&&!this.hasGaps||Object.keys(this.fragments).forEach(C=>{const U=this.fragments[C];if(!U)return;const H=U.body;H.type!==o||m&&!H.gap||H.start<n&&H.end>t&&(U.buffered||E)&&this.removeFragment(H)})}removeFragment(t){const n=bn(t);t.clearElementaryStreamInfo();const o=this.activePartLists[t.type];if(o){const m=t.sn;this.activePartLists[t.type]=Pr(o,E=>E.fragment.sn!==m)}delete this.fragments[n],t.endList&&delete this.endListFragments[t.type]}removeAllFragments(){var t,n;this.fragments=Object.create(null),this.endListFragments=Object.create(null),this.activePartLists=Object.create(null),this.hasGaps=!1;const o=(t=this.hls)==null||(n=t.latestLevelDetails)==null?void 0:n.partList;o&&o.forEach(m=>m.clearElementaryStreamInfo())}}function $r(P){var t,n,o;return P.buffered&&(P.body.gap||((t=P.range.video)==null?void 0:t.partial)||((n=P.range.audio)==null?void 0:n.partial)||((o=P.range.audiovideo)==null?void 0:o.partial))}function bn(P){return`${P.type}_${P.level}_${P.sn}`}function Pr(P,t){return P.filter(n=>{const o=t(n);return o||n.clearElementaryStreamInfo(),o})}var un={cbc:0,ctr:1};class rn{constructor(t,n,o){this.subtle=void 0,this.aesIV=void 0,this.aesMode=void 0,this.subtle=t,this.aesIV=n,this.aesMode=o}decrypt(t,n){switch(this.aesMode){case un.cbc:return this.subtle.decrypt({name:"AES-CBC",iv:this.aesIV},n,t);case un.ctr:return this.subtle.decrypt({name:"AES-CTR",counter:this.aesIV,length:64},n,t);default:throw new Error(`[AESCrypto] invalid aes mode ${this.aesMode}`)}}}function ln(P){const t=P.byteLength,n=t&&new DataView(P.buffer).getUint8(t-1);return n?P.slice(0,t-n):P}class An{constructor(){this.rcon=[0,1,2,4,8,16,32,64,128,27,54],this.subMix=[new Uint32Array(256),new Uint32Array(256),new Uint32Array(256),new Uint32Array(256)],this.invSubMix=[new Uint32Array(256),new Uint32Array(256),new Uint32Array(256),new Uint32Array(256)],this.sBox=new Uint32Array(256),this.invSBox=new Uint32Array(256),this.key=new Uint32Array(0),this.ksRows=0,this.keySize=0,this.keySchedule=void 0,this.invKeySchedule=void 0,this.initTable()}uint8ArrayToUint32Array_(t){const n=new DataView(t),o=new Uint32Array(4);for(let m=0;m<4;m++)o[m]=n.getUint32(m*4);return o}initTable(){const t=this.sBox,n=this.invSBox,o=this.subMix,m=o[0],E=o[1],C=o[2],U=o[3],H=this.invSubMix,$=H[0],ae=H[1],ce=H[2],xe=H[3],Te=new Uint32Array(256);let De=0,tt=0,at=0;for(at=0;at<256;at++)at<128?Te[at]=at<<1:Te[at]=at<<1^283;for(at=0;at<256;at++){let Bt=tt^tt<<1^tt<<2^tt<<3^tt<<4;Bt=Bt>>>8^Bt&255^99,t[De]=Bt,n[Bt]=De;const dr=Te[De],ar=Te[dr],Zr=Te[ar];let Gr=Te[Bt]*257^Bt*16843008;m[De]=Gr<<24|Gr>>>8,E[De]=Gr<<16|Gr>>>16,C[De]=Gr<<8|Gr>>>24,U[De]=Gr,Gr=Zr*16843009^ar*65537^dr*257^De*16843008,$[Bt]=Gr<<24|Gr>>>8,ae[Bt]=Gr<<16|Gr>>>16,ce[Bt]=Gr<<8|Gr>>>24,xe[Bt]=Gr,De?(De=dr^Te[Te[Te[Zr^dr]]],tt^=Te[Te[tt]]):De=tt=1}}expandKey(t){const n=this.uint8ArrayToUint32Array_(t);let o=!0,m=0;for(;m<n.length&&o;)o=n[m]===this.key[m],m++;if(o)return;this.key=n;const E=this.keySize=n.length;if(E!==4&&E!==6&&E!==8)throw new Error("Invalid aes key size="+E);const C=this.ksRows=(E+6+1)*4;let U,H;const $=this.keySchedule=new Uint32Array(C),ae=this.invKeySchedule=new Uint32Array(C),ce=this.sBox,xe=this.rcon,Te=this.invSubMix,De=Te[0],tt=Te[1],at=Te[2],Bt=Te[3];let dr,ar;for(U=0;U<C;U++){if(U<E){dr=$[U]=n[U];continue}ar=dr,U%E===0?(ar=ar<<8|ar>>>24,ar=ce[ar>>>24]<<24|ce[ar>>>16&255]<<16|ce[ar>>>8&255]<<8|ce[ar&255],ar^=xe[U/E|0]<<24):E>6&&U%E===4&&(ar=ce[ar>>>24]<<24|ce[ar>>>16&255]<<16|ce[ar>>>8&255]<<8|ce[ar&255]),$[U]=dr=($[U-E]^ar)>>>0}for(H=0;H<C;H++)U=C-H,H&3?ar=$[U]:ar=$[U-4],H<4||U<=4?ae[H]=ar:ae[H]=De[ce[ar>>>24]]^tt[ce[ar>>>16&255]]^at[ce[ar>>>8&255]]^Bt[ce[ar&255]],ae[H]=ae[H]>>>0}networkToHostOrderSwap(t){return t<<24|(t&65280)<<8|(t&16711680)>>8|t>>>24}decrypt(t,n,o){const m=this.keySize+6,E=this.invKeySchedule,C=this.invSBox,U=this.invSubMix,H=U[0],$=U[1],ae=U[2],ce=U[3],xe=this.uint8ArrayToUint32Array_(o);let Te=xe[0],De=xe[1],tt=xe[2],at=xe[3];const Bt=new Int32Array(t),dr=new Int32Array(Bt.length);let ar,Zr,Gr,fn,Vr,on,_n,Xr,Yn,di,os,ya,Ji,Ri;const ta=this.networkToHostOrderSwap;for(;n<Bt.length;){for(Yn=ta(Bt[n]),di=ta(Bt[n+1]),os=ta(Bt[n+2]),ya=ta(Bt[n+3]),Vr=Yn^E[0],on=ya^E[1],_n=os^E[2],Xr=di^E[3],Ji=4,Ri=1;Ri<m;Ri++)ar=H[Vr>>>24]^$[on>>16&255]^ae[_n>>8&255]^ce[Xr&255]^E[Ji],Zr=H[on>>>24]^$[_n>>16&255]^ae[Xr>>8&255]^ce[Vr&255]^E[Ji+1],Gr=H[_n>>>24]^$[Xr>>16&255]^ae[Vr>>8&255]^ce[on&255]^E[Ji+2],fn=H[Xr>>>24]^$[Vr>>16&255]^ae[on>>8&255]^ce[_n&255]^E[Ji+3],Vr=ar,on=Zr,_n=Gr,Xr=fn,Ji=Ji+4;ar=C[Vr>>>24]<<24^C[on>>16&255]<<16^C[_n>>8&255]<<8^C[Xr&255]^E[Ji],Zr=C[on>>>24]<<24^C[_n>>16&255]<<16^C[Xr>>8&255]<<8^C[Vr&255]^E[Ji+1],Gr=C[_n>>>24]<<24^C[Xr>>16&255]<<16^C[Vr>>8&255]<<8^C[on&255]^E[Ji+2],fn=C[Xr>>>24]<<24^C[Vr>>16&255]<<16^C[on>>8&255]<<8^C[_n&255]^E[Ji+3],dr[n]=ta(ar^Te),dr[n+1]=ta(fn^De),dr[n+2]=ta(Gr^tt),dr[n+3]=ta(Zr^at),Te=Yn,De=di,tt=os,at=ya,n=n+4}return dr.buffer}}class pa{constructor(t,n,o){this.subtle=void 0,this.key=void 0,this.aesMode=void 0,this.subtle=t,this.key=n,this.aesMode=o}expandKey(){const t=Pi(this.aesMode);return this.subtle.importKey("raw",this.key,{name:t},!1,["encrypt","decrypt"])}}function Pi(P){switch(P){case un.cbc:return"AES-CBC";case un.ctr:return"AES-CTR";default:throw new Error(`[FastAESKey] invalid aes mode ${P}`)}}const gi=16;class pn{constructor(t,{removePKCS7Padding:n=!0}={}){if(this.logEnabled=!0,this.removePKCS7Padding=void 0,this.subtle=null,this.softwareDecrypter=null,this.key=null,this.fastAesKey=null,this.remainderData=null,this.currentIV=null,this.currentResult=null,this.useSoftware=void 0,this.enableSoftwareAES=void 0,this.enableSoftwareAES=t.enableSoftwareAES,this.removePKCS7Padding=n,n)try{const o=self.crypto;o&&(this.subtle=o.subtle||o.webkitSubtle)}catch(o){}this.useSoftware=!this.subtle}destroy(){this.subtle=null,this.softwareDecrypter=null,this.key=null,this.fastAesKey=null,this.remainderData=null,this.currentIV=null,this.currentResult=null}isSync(){return this.useSoftware}flush(){const{currentResult:t,remainderData:n}=this;if(!t||n)return this.reset(),null;const o=new Uint8Array(t);return this.reset(),this.removePKCS7Padding?ln(o):o}reset(){this.currentResult=null,this.currentIV=null,this.remainderData=null,this.softwareDecrypter&&(this.softwareDecrypter=null)}decrypt(t,n,o,m){return this.useSoftware?new Promise((E,C)=>{const U=ArrayBuffer.isView(t)?t:new Uint8Array(t);this.softwareDecrypt(U,n,o,m);const H=this.flush();H?E(H.buffer):C(new Error("[softwareDecrypt] Failed to decrypt data"))}):this.webCryptoDecrypt(new Uint8Array(t),n,o,m)}softwareDecrypt(t,n,o,m){const{currentIV:E,currentResult:C,remainderData:U}=this;if(m!==un.cbc||n.byteLength!==16)return Y.warn("SoftwareDecrypt: can only handle AES-128-CBC"),null;this.logOnce("JS AES decrypt"),U&&(t=Gt(U,t),this.remainderData=null);const H=this.getValidChunk(t);if(!H.length)return null;E&&(o=E);let $=this.softwareDecrypter;$||($=this.softwareDecrypter=new An),$.expandKey(n);const ae=C;return this.currentResult=$.decrypt(H.buffer,0,o),this.currentIV=H.slice(-16).buffer,ae||null}webCryptoDecrypt(t,n,o,m){if(this.key!==n||!this.fastAesKey){if(!this.subtle)return Promise.resolve(this.onWebCryptoError(t,n,o,m));this.key=n,this.fastAesKey=new pa(this.subtle,n,m)}return this.fastAesKey.expandKey().then(E=>this.subtle?(this.logOnce("WebCrypto AES decrypt"),new rn(this.subtle,new Uint8Array(o),m).decrypt(t.buffer,E)):Promise.reject(new Error("web crypto not initialized"))).catch(E=>(Y.warn(`[decrypter]: WebCrypto Error, disable WebCrypto API, ${E.name}: ${E.message}`),this.onWebCryptoError(t,n,o,m)))}onWebCryptoError(t,n,o,m){const E=this.enableSoftwareAES;if(E){this.useSoftware=!0,this.logEnabled=!0,this.softwareDecrypt(t,n,o,m);const C=this.flush();if(C)return C.buffer}throw new Error("WebCrypto"+(E?" and softwareDecrypt":"")+": failed to decrypt data")}getValidChunk(t){let n=t;const o=t.length-t.length%gi;return o!==t.length&&(n=t.slice(0,o),this.remainderData=t.slice(o)),n}logOnce(t){this.logEnabled&&(Y.log(`[decrypter]: ${t}`),this.logEnabled=!1)}}const ui=Math.pow(2,17);class Ni{constructor(t){this.config=void 0,this.loader=null,this.partLoadTimeout=-1,this.config=t}destroy(){this.loader&&(this.loader.destroy(),this.loader=null)}abort(){this.loader&&this.loader.abort()}load(t,n){const o=t.url;if(!o)return Promise.reject(new Na({type:c.NETWORK_ERROR,details:f.FRAG_LOAD_ERROR,fatal:!1,frag:t,error:new Error(`Fragment does not have a ${o?"part list":"url"}`),networkDetails:null}));this.abort();const m=this.config,E=m.fLoader,C=m.loader;return new Promise((U,H)=>{if(this.loader&&this.loader.destroy(),t.gap)if(t.tagList.some(De=>De[0]==="GAP")){H(xs(t));return}else t.gap=!1;const $=this.loader=E?new E(m):new C(m),ae=la(t);t.loader=$;const ce=Hr(m.fragLoadPolicy.default),xe={loadPolicy:ce,timeout:ce.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0,highWaterMark:t.sn==="initSegment"?1/0:ui};t.stats=$.stats;const Te={onSuccess:(De,tt,at,Bt)=>{this.resetLoader(t,$);let dr=De.data;at.resetIV&&t.decryptdata&&(t.decryptdata.iv=new Uint8Array(dr.slice(0,16)),dr=dr.slice(16)),U({frag:t,part:null,payload:dr,networkDetails:Bt})},onError:(De,tt,at,Bt)=>{this.resetLoader(t,$),H(new Na({type:c.NETWORK_ERROR,details:f.FRAG_LOAD_ERROR,fatal:!1,frag:t,response:b({url:o,data:void 0},De),error:new Error(`HTTP Error ${De.code} ${De.text}`),networkDetails:at,stats:Bt}))},onAbort:(De,tt,at)=>{this.resetLoader(t,$),H(new Na({type:c.NETWORK_ERROR,details:f.INTERNAL_ABORTED,fatal:!1,frag:t,error:new Error("Aborted"),networkDetails:at,stats:De}))},onTimeout:(De,tt,at)=>{this.resetLoader(t,$),H(new Na({type:c.NETWORK_ERROR,details:f.FRAG_LOAD_TIMEOUT,fatal:!1,frag:t,error:new Error(`Timeout after ${xe.timeout}ms`),networkDetails:at,stats:De}))}};n&&(Te.onProgress=(De,tt,at,Bt)=>n({frag:t,part:null,payload:at,networkDetails:Bt})),$.load(ae,xe,Te)})}loadPart(t,n,o){this.abort();const m=this.config,E=m.fLoader,C=m.loader;return new Promise((U,H)=>{if(this.loader&&this.loader.destroy(),t.gap||n.gap){H(xs(t,n));return}const $=this.loader=E?new E(m):new C(m),ae=la(t,n);t.loader=$;const ce=Hr(m.fragLoadPolicy.default),xe={loadPolicy:ce,timeout:ce.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0,highWaterMark:ui};n.stats=$.stats,$.load(ae,xe,{onSuccess:(Te,De,tt,at)=>{this.resetLoader(t,$),this.updateStatsFromPart(t,n);const Bt={frag:t,part:n,payload:Te.data,networkDetails:at};o(Bt),U(Bt)},onError:(Te,De,tt,at)=>{this.resetLoader(t,$),H(new Na({type:c.NETWORK_ERROR,details:f.FRAG_LOAD_ERROR,fatal:!1,frag:t,part:n,response:b({url:ae.url,data:void 0},Te),error:new Error(`HTTP Error ${Te.code} ${Te.text}`),networkDetails:tt,stats:at}))},onAbort:(Te,De,tt)=>{t.stats.aborted=n.stats.aborted,this.resetLoader(t,$),H(new Na({type:c.NETWORK_ERROR,details:f.INTERNAL_ABORTED,fatal:!1,frag:t,part:n,error:new Error("Aborted"),networkDetails:tt,stats:Te}))},onTimeout:(Te,De,tt)=>{this.resetLoader(t,$),H(new Na({type:c.NETWORK_ERROR,details:f.FRAG_LOAD_TIMEOUT,fatal:!1,frag:t,part:n,error:new Error(`Timeout after ${xe.timeout}ms`),networkDetails:tt,stats:Te}))}})})}updateStatsFromPart(t,n){const o=t.stats,m=n.stats,E=m.total;if(o.loaded+=m.loaded,E){const H=Math.round(t.duration/n.duration),$=Math.min(Math.round(o.loaded/E),H),ce=(H-$)*Math.round(o.loaded/$);o.total=o.loaded+ce}else o.total=Math.max(o.loaded,o.total);const C=o.loading,U=m.loading;C.start?C.first+=U.first-U.start:(C.start=U.start,C.first=U.first),C.end=U.end}resetLoader(t,n){t.loader=null,this.loader===n&&(self.clearTimeout(this.partLoadTimeout),this.loader=null),n.destroy()}}function la(P,t=null){const n=t||P,o={frag:P,part:t,responseType:"arraybuffer",url:n.url,headers:{},rangeStart:0,rangeEnd:0},m=n.byteRangeStartOffset,E=n.byteRangeEndOffset;if(r(m)&&r(E)){var C;let U=m,H=E;if(P.sn==="initSegment"&&Pa((C=P.decryptdata)==null?void 0:C.method)){const $=E-m;$%16&&(H=E+(16-$%16)),m!==0&&(o.resetIV=!0,U=m-16)}o.rangeStart=U,o.rangeEnd=H}return o}function xs(P,t){const n=new Error(`GAP ${P.gap?"tag":"attribute"} found`),o={type:c.MEDIA_ERROR,details:f.FRAG_GAP,fatal:!1,frag:P,error:n,networkDetails:null};return t&&(o.part=t),(t||P).stats.aborted=!0,new Na(o)}function Pa(P){return P==="AES-128"||P==="AES-256"}class Na extends Error{constructor(t){super(t.error.message),this.data=void 0,this.data=t}}class Is extends L{constructor(t,n){super(t,n),this._boundTick=void 0,this._tickTimer=null,this._tickInterval=null,this._tickCallCount=0,this._boundTick=this.tick.bind(this)}destroy(){this.onHandlerDestroying(),this.onHandlerDestroyed()}onHandlerDestroying(){this.clearNextTick(),this.clearInterval()}onHandlerDestroyed(){}hasInterval(){return!!this._tickInterval}hasNextTick(){return!!this._tickTimer}setInterval(t){return this._tickInterval?!1:(this._tickCallCount=0,this._tickInterval=self.setInterval(this._boundTick,t),!0)}clearInterval(){return this._tickInterval?(self.clearInterval(this._tickInterval),this._tickInterval=null,!0):!1}clearNextTick(){return this._tickTimer?(self.clearTimeout(this._tickTimer),this._tickTimer=null,!0):!1}tick(){this._tickCallCount++,this._tickCallCount===1&&(this.doTick(),this._tickCallCount>1&&this.tickImmediate(),this._tickCallCount=0)}tickImmediate(){this.clearNextTick(),this._tickTimer=self.setTimeout(this._boundTick,0)}doTick(){}}class $a{constructor(t,n,o,m=0,E=-1,C=!1){this.level=void 0,this.sn=void 0,this.part=void 0,this.id=void 0,this.size=void 0,this.partial=void 0,this.transmuxing=hs(),this.buffering={audio:hs(),video:hs(),audiovideo:hs()},this.level=t,this.sn=n,this.id=o,this.size=m,this.part=E,this.partial=C}}function hs(){return{start:0,executeStart:0,executeEnd:0,end:0}}const oa={length:0,start:()=>0,end:()=>0};class yi{static isBuffered(t,n){if(t){const o=yi.getBuffered(t);for(let m=o.length;m--;)if(n>=o.start(m)&&n<=o.end(m))return!0}return!1}static bufferedRanges(t){if(t){const n=yi.getBuffered(t);return yi.timeRangesToArray(n)}return[]}static timeRangesToArray(t){const n=[];for(let o=0;o<t.length;o++)n.push({start:t.start(o),end:t.end(o)});return n}static bufferInfo(t,n,o){if(t){const m=yi.bufferedRanges(t);if(m.length)return yi.bufferedInfo(m,n,o)}return{len:0,start:n,end:n,bufferedIndex:-1}}static bufferedInfo(t,n,o){n=Math.max(0,n),t.length>1&&t.sort((ae,ce)=>ae.start-ce.start||ce.end-ae.end);let m=-1,E=[];if(o)for(let ae=0;ae<t.length;ae++){n>=t[ae].start&&n<=t[ae].end&&(m=ae);const ce=E.length;if(ce){const xe=E[ce-1].end;t[ae].start-xe<o?t[ae].end>xe&&(E[ce-1].end=t[ae].end):E.push(t[ae])}else E.push(t[ae])}else E=t;let C=0,U,H=n,$=n;for(let ae=0;ae<E.length;ae++){const ce=E[ae].start,xe=E[ae].end;if(m===-1&&n>=ce&&n<=xe&&(m=ae),n+o>=ce&&n<xe)H=ce,$=xe,C=$-n;else if(n+o<ce){U=ce;break}}return{len:C,start:H||0,end:$||0,nextStart:U,buffered:t,bufferedIndex:m}}static getBuffered(t){try{return t.buffered||oa}catch(n){return Y.log("failed to get media.buffered",n),oa}}}const Ga=/\{\$([a-zA-Z0-9-_]+)\}/g;function Ds(P){return Ga.test(P)}function $i(P,t){if(P.variableList!==null||P.hasVariableRefs){const n=P.variableList;return t.replace(Ga,o=>{const m=o.substring(2,o.length-1),E=n==null?void 0:n[m];return E===void 0?(P.playlistParsingError||(P.playlistParsingError=new Error(`Missing preceding EXT-X-DEFINE tag for Variable Reference: "${m}"`)),o):E})}return t}function ps(P,t,n){let o=P.variableList;o||(P.variableList=o={});let m,E;if("QUERYPARAM"in t){m=t.QUERYPARAM;try{const C=new self.URL(n).searchParams;if(C.has(m))E=C.get(m);else throw new Error(`"${m}" does not match any query parameter in URI: "${n}"`)}catch(C){P.playlistParsingError||(P.playlistParsingError=new Error(`EXT-X-DEFINE QUERYPARAM: ${C.message}`))}}else m=t.NAME,E=t.VALUE;m in o?P.playlistParsingError||(P.playlistParsingError=new Error(`EXT-X-DEFINE duplicate Variable Name declarations: "${m}"`)):o[m]=E||""}function Co(P,t,n){const o=t.IMPORT;if(n&&o in n){let m=P.variableList;m||(P.variableList=m={}),m[o]=n[o]}else P.playlistParsingError||(P.playlistParsingError=new Error(`EXT-X-DEFINE IMPORT attribute not found in Multivariant Playlist: "${o}"`))}const La=/^(\d+)x(\d+)$/,_s=/(.+?)=(".*?"|.*?)(?:,|$)/g;class ji{constructor(t,n){typeof t=="string"&&(t=ji.parseAttrList(t,n)),y(this,t)}get clientAttrs(){return Object.keys(this).filter(t=>t.substring(0,2)==="X-")}decimalInteger(t){const n=parseInt(this[t],10);return n>Number.MAX_SAFE_INTEGER?1/0:n}hexadecimalInteger(t){if(this[t]){let n=(this[t]||"0x").slice(2);n=(n.length&1?"0":"")+n;const o=new Uint8Array(n.length/2);for(let m=0;m<n.length/2;m++)o[m]=parseInt(n.slice(m*2,m*2+2),16);return o}return null}hexadecimalIntegerAsNumber(t){const n=parseInt(this[t],16);return n>Number.MAX_SAFE_INTEGER?1/0:n}decimalFloatingPoint(t){return parseFloat(this[t])}optionalFloat(t,n){const o=this[t];return o?parseFloat(o):n}enumeratedString(t){return this[t]}enumeratedStringList(t,n){const o=this[t];return(o?o.split(/[ ,]+/):[]).reduce((m,E)=>(m[E.toLowerCase()]=!0,m),n)}bool(t){return this[t]==="YES"}decimalResolution(t){const n=La.exec(this[t]);if(n!==null)return{width:parseInt(n[1],10),height:parseInt(n[2],10)}}static parseAttrList(t,n){let o;const m={},E='"';for(_s.lastIndex=0;(o=_s.exec(t))!==null;){const C=o[1].trim();let U=o[2];const H=U.indexOf(E)===0&&U.lastIndexOf(E)===U.length-1;let $=!1;if(H)U=U.slice(1,-1);else switch(C){case"IV":case"SCTE35-CMD":case"SCTE35-IN":case"SCTE35-OUT":$=!0}if(n&&(H||$))U=$i(n,U);else if(!$&&!H)switch(C){case"CLOSED-CAPTIONS":if(U==="NONE")break;case"ALLOWED-CPC":case"CLASS":case"ASSOC-LANGUAGE":case"AUDIO":case"BYTERANGE":case"CHANNELS":case"CHARACTERISTICS":case"CODECS":case"DATA-ID":case"END-DATE":case"GROUP-ID":case"ID":case"IMPORT":case"INSTREAM-ID":case"KEYFORMAT":case"KEYFORMATVERSIONS":case"LANGUAGE":case"NAME":case"PATHWAY-ID":case"QUERYPARAM":case"RECENTLY-REMOVED-DATERANGES":case"SERVER-URI":case"STABLE-RENDITION-ID":case"STABLE-VARIANT-ID":case"START-DATE":case"SUBTITLES":case"SUPPLEMENTAL-CODECS":case"URI":case"VALUE":case"VIDEO":case"X-ASSET-LIST":case"X-ASSET-URI":Y.warn(`${t}: attribute ${C} is missing quotes`)}m[C]=U}return m}}const Gs="com.apple.hls.interstitial";function Rn(P){return P!=="ID"&&P!=="CLASS"&&P!=="CUE"&&P!=="START-DATE"&&P!=="DURATION"&&P!=="END-DATE"&&P!=="END-ON-NEXT"}function ja(P){return P==="SCTE35-OUT"||P==="SCTE35-IN"||P==="SCTE35-CMD"}class ns{constructor(t,n,o=0){var m;if(this.attr=void 0,this.tagAnchor=void 0,this.tagOrder=void 0,this._startDate=void 0,this._endDate=void 0,this._dateAtEnd=void 0,this._cue=void 0,this._badValueForSameId=void 0,this.tagAnchor=(n==null?void 0:n.tagAnchor)||null,this.tagOrder=(m=n==null?void 0:n.tagOrder)!=null?m:o,n){const E=n.attr;for(const C in E)if(Object.prototype.hasOwnProperty.call(t,C)&&t[C]!==E[C]){Y.warn(`DATERANGE tag attribute: "${C}" does not match for tags with ID: "${t.ID}"`),this._badValueForSameId=C;break}t=y(new ji({}),E,t)}if(this.attr=t,n?(this._startDate=n._startDate,this._cue=n._cue,this._endDate=n._endDate,this._dateAtEnd=n._dateAtEnd):this._startDate=new Date(t["START-DATE"]),"END-DATE"in this.attr){const E=(n==null?void 0:n.endDate)||new Date(this.attr["END-DATE"]);r(E.getTime())&&(this._endDate=E)}}get id(){return this.attr.ID}get class(){return this.attr.CLASS}get cue(){const t=this._cue;return t===void 0?this._cue=this.attr.enumeratedStringList(this.attr.CUE?"CUE":"X-CUE",{pre:!1,post:!1,once:!1}):t}get startTime(){const{tagAnchor:t}=this;return t===null||t.programDateTime===null?(Y.warn(`Expected tagAnchor Fragment with PDT set for DateRange "${this.id}": ${t}`),NaN):t.start+(this.startDate.getTime()-t.programDateTime)/1e3}get startDate(){return this._startDate}get endDate(){const t=this._endDate||this._dateAtEnd;if(t)return t;const n=this.duration;return n!==null?this._dateAtEnd=new Date(this._startDate.getTime()+n*1e3):null}get duration(){if("DURATION"in this.attr){const t=this.attr.decimalFloatingPoint("DURATION");if(r(t))return t}else if(this._endDate)return(this._endDate.getTime()-this._startDate.getTime())/1e3;return null}get plannedDuration(){return"PLANNED-DURATION"in this.attr?this.attr.decimalFloatingPoint("PLANNED-DURATION"):null}get endOnNext(){return this.attr.bool("END-ON-NEXT")}get isInterstitial(){return this.class===Gs}get isValid(){return!!this.id&&!this._badValueForSameId&&r(this.startDate.getTime())&&(this.duration===null||this.duration>=0)&&(!this.endOnNext||!!this.class)&&(!this.attr.CUE||!this.cue.pre&&!this.cue.post||this.cue.pre!==this.cue.post)&&(!this.isInterstitial||"X-ASSET-URI"in this.attr||"X-ASSET-LIST"in this.attr)}}const ls=10;class Vi{constructor(t){this.PTSKnown=!1,this.alignedSliding=!1,this.averagetargetduration=void 0,this.endCC=0,this.endSN=0,this.fragments=void 0,this.fragmentHint=void 0,this.partList=null,this.dateRanges=void 0,this.dateRangeTagCount=0,this.live=!0,this.requestScheduled=-1,this.ageHeader=0,this.advancedDateTime=void 0,this.updated=!0,this.advanced=!0,this.misses=0,this.startCC=0,this.startSN=0,this.startTimeOffset=null,this.targetduration=0,this.totalduration=0,this.type=null,this.url=void 0,this.m3u8="",this.version=null,this.canBlockReload=!1,this.canSkipUntil=0,this.canSkipDateRanges=!1,this.skippedSegments=0,this.recentlyRemovedDateranges=void 0,this.partHoldBack=0,this.holdBack=0,this.partTarget=0,this.preloadHint=void 0,this.renditionReports=void 0,this.tuneInGoal=0,this.deltaUpdateFailed=void 0,this.driftStartTime=0,this.driftEndTime=0,this.driftStart=0,this.driftEnd=0,this.encryptedFragments=void 0,this.playlistParsingError=null,this.variableList=null,this.hasVariableRefs=!1,this.appliedTimelineOffset=void 0,this.fragments=[],this.encryptedFragments=[],this.dateRanges={},this.url=t}reloaded(t){if(!t){this.advanced=!0,this.updated=!0;return}const n=this.lastPartSn-t.lastPartSn,o=this.lastPartIndex-t.lastPartIndex;this.updated=this.endSN!==t.endSN||!!o||!!n||!this.live,this.advanced=this.endSN>t.endSN||n>0||n===0&&o>0,this.updated||this.advanced?this.misses=Math.floor(t.misses*.6):this.misses=t.misses+1}get hasProgramDateTime(){return this.fragments.length?r(this.fragments[this.fragments.length-1].programDateTime):!1}get levelTargetDuration(){return this.averagetargetduration||this.targetduration||ls}get drift(){const t=this.driftEndTime-this.driftStartTime;return t>0?(this.driftEnd-this.driftStart)*1e3/t:1}get edge(){return this.partEnd||this.fragmentEnd}get partEnd(){var t;return(t=this.partList)!=null&&t.length?this.partList[this.partList.length-1].end:this.fragmentEnd}get fragmentEnd(){var t;return(t=this.fragments)!=null&&t.length?this.fragments[this.fragments.length-1].end:0}get fragmentStart(){var t;return(t=this.fragments)!=null&&t.length?this.fragments[0].start:0}get age(){return this.advancedDateTime?Math.max(Date.now()-this.advancedDateTime,0)/1e3:0}get lastPartIndex(){var t;return(t=this.partList)!=null&&t.length?this.partList[this.partList.length-1].index:-1}get maxPartIndex(){const t=this.partList;if(t){const n=this.lastPartIndex;if(n!==-1){for(let o=t.length;o--;)if(t[o].index>n)return t[o].index;return n}}return 0}get lastPartSn(){var t;return(t=this.partList)!=null&&t.length?this.partList[this.partList.length-1].fragment.sn:this.endSN}get expired(){if(this.live&&this.age&&this.misses<3){const t=this.partEnd-this.fragmentStart;return this.age>Math.max(t,this.totalduration)+this.levelTargetDuration}return!1}}function Ia(P){return P==="AES-128"||P==="AES-256"||P==="AES-256-CTR"}function Da(P){switch(P){case"AES-128":case"AES-256":return un.cbc;case"AES-256-CTR":return un.ctr;default:throw new Error(`invalid full segment method ${P}`)}}function ms(P){return Uint8Array.from(atob(P),t=>t.charCodeAt(0))}function Bs(P){return Uint8Array.from(unescape(encodeURIComponent(P)),t=>t.charCodeAt(0))}function _o(P){const t=Bs(P).subarray(0,16),n=new Uint8Array(16);return n.set(t,16-t.length),n}function To(P){const t=function(o,m,E){const C=o[m];o[m]=o[E],o[E]=C};t(P,0,3),t(P,1,2),t(P,4,5),t(P,6,7)}function Vo(P){const t=P.split(":");let n=null;if(t[0]==="data"&&t.length===2){const o=t[1].split(";"),m=o[o.length-1].split(",");if(m.length===2){const E=m[0]==="base64",C=m[1];E?(o.splice(-1,1),n=ms(C)):n=_o(C)}}return n}const uo=typeof self!="undefined"?self:void 0;var ca={CLEARKEY:"org.w3.clearkey",FAIRPLAY:"com.apple.fps",PLAYREADY:"com.microsoft.playready",WIDEVINE:"com.widevine.alpha"},cs={CLEARKEY:"org.w3.clearkey",FAIRPLAY:"com.apple.streamingkeydelivery",PLAYREADY:"com.microsoft.playready",WIDEVINE:"urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed"};function mo(P){switch(P){case cs.FAIRPLAY:return ca.FAIRPLAY;case cs.PLAYREADY:return ca.PLAYREADY;case cs.WIDEVINE:return ca.WIDEVINE;case cs.CLEARKEY:return ca.CLEARKEY}}var vo={CENC:"1077efecc0b24d02ace33c1e52e2fb4b",CLEARKEY:"e2719d58a985b3c9781ab030af78d30e",PLAYREADY:"9a04f07998404286ab92e65be0885f95",WIDEVINE:"edef8ba979d64acea3c827dcd51d21ed"};function go(P){if(P===vo.WIDEVINE)return ca.WIDEVINE;if(P===vo.PLAYREADY)return ca.PLAYREADY;if(P===vo.CENC||P===vo.CLEARKEY)return ca.CLEARKEY}function hi(P){switch(P){case ca.FAIRPLAY:return cs.FAIRPLAY;case ca.PLAYREADY:return cs.PLAYREADY;case ca.WIDEVINE:return cs.WIDEVINE;case ca.CLEARKEY:return cs.CLEARKEY}}function oi(P){const{drmSystems:t,widevineLicenseUrl:n}=P,o=t?[ca.FAIRPLAY,ca.WIDEVINE,ca.PLAYREADY,ca.CLEARKEY].filter(m=>!!t[m]):[];return!o[ca.WIDEVINE]&&n&&o.push(ca.WIDEVINE),o}const Fa=function(P){return uo!=null&&(P=uo.navigator)!=null&&P.requestMediaKeySystemAccess?self.navigator.requestMediaKeySystemAccess.bind(self.navigator):null}();function Va(P,t,n,o){let m;switch(P){case ca.FAIRPLAY:m=["cenc","sinf"];break;case ca.WIDEVINE:case ca.PLAYREADY:m=["cenc"];break;case ca.CLEARKEY:m=["cenc","keyids"];break;default:throw new Error(`Unknown key-system: ${P}`)}return Xa(m,t,n,o)}function Xa(P,t,n,o){return[{initDataTypes:P,persistentState:o.persistentState||"optional",distinctiveIdentifier:o.distinctiveIdentifier||"optional",sessionTypes:o.sessionTypes||[o.sessionType||"temporary"],audioCapabilities:t.map(E=>({contentType:`audio/mp4; codecs=${E}`,robustness:o.audioRobustness||"",encryptionScheme:o.audioEncryptionScheme||null})),videoCapabilities:n.map(E=>({contentType:`video/mp4; codecs=${E}`,robustness:o.videoRobustness||"",encryptionScheme:o.videoEncryptionScheme||null}))}]}function lo(P){var t;return P.sessionType==="persistent-license"||!!((t=P.sessionTypes)!=null&&t.some(n=>n==="persistent-license"))}function co(P){const t=new Uint16Array(P.buffer,P.byteOffset,P.byteLength/2),n=String.fromCharCode.apply(null,Array.from(t)),o=n.substring(n.indexOf("<"),n.length),C=new DOMParser().parseFromString(o,"text/xml").getElementsByTagName("KID")[0];if(C){const U=C.childNodes[0]?C.childNodes[0].nodeValue:C.getAttribute("VALUE");if(U){const H=ms(U).subarray(0,16);return To(H),H}}return null}let Po={};class Qa{static clearKeyUriToKeyIdMap(){Po={}}constructor(t,n,o,m=[1],E=null){this.uri=void 0,this.method=void 0,this.keyFormat=void 0,this.keyFormatVersions=void 0,this.encrypted=void 0,this.isCommonEncryption=void 0,this.iv=null,this.key=null,this.keyId=null,this.pssh=null,this.method=t,this.uri=n,this.keyFormat=o,this.keyFormatVersions=m,this.iv=E,this.encrypted=t?t!=="NONE":!1,this.isCommonEncryption=this.encrypted&&!Ia(t)}isSupported(){if(this.method){if(Ia(this.method)||this.method==="NONE")return!0;if(this.keyFormat==="identity")return this.method==="SAMPLE-AES";switch(this.keyFormat){case cs.FAIRPLAY:case cs.WIDEVINE:case cs.PLAYREADY:case cs.CLEARKEY:return["ISO-23001-7","SAMPLE-AES","SAMPLE-AES-CENC","SAMPLE-AES-CTR"].indexOf(this.method)!==-1}}return!1}getDecryptData(t){if(!this.encrypted||!this.uri)return null;if(Ia(this.method)&&this.uri&&!this.iv){typeof t!="number"&&(Y.warn(`missing IV for initialization segment with method="${this.method}" - compliance issue`),t=0);const o=Lo(t);return new Qa(this.method,this.uri,"identity",this.keyFormatVersions,o)}const n=Vo(this.uri);if(n)switch(this.keyFormat){case cs.WIDEVINE:this.pssh=n,n.length>=22&&(this.keyId=n.subarray(n.length-22,n.length-6));break;case cs.PLAYREADY:{const o=new Uint8Array([154,4,240,121,152,64,66,134,171,146,230,91,224,136,95,149]);this.pssh=pe(o,null,n),this.keyId=co(n);break}default:{let o=n.subarray(0,16);if(o.length!==16){const m=new Uint8Array(16);m.set(o,16-o.length),o=m}this.keyId=o;break}}if(!this.keyId||this.keyId.byteLength!==16){let o=Po[this.uri];if(!o){const m=Object.keys(Po).length%Number.MAX_SAFE_INTEGER;o=new Uint8Array(16),new DataView(o.buffer,12,4).setUint32(0,m),Po[this.uri]=o}this.keyId=o}return this}}function Lo(P){const t=new Uint8Array(16);for(let n=12;n<16;n++)t[n]=P>>8*(15-n)&255;return t}const yo=/#EXT-X-STREAM-INF:([^\r\n]*)(?:[\r\n](?:#[^\r\n]*)?)*([^\r\n]+)|#EXT-X-(SESSION-DATA|SESSION-KEY|DEFINE|CONTENT-STEERING|START):([^\r\n]*)[\r\n]+/g,Ko=/#EXT-X-MEDIA:(.*)/g,Tu=/^#EXT(?:INF|-X-TARGETDURATION):/m,_u=new RegExp([/#EXTINF:\s*(\d*(?:\.\d+)?)(?:,(.*)\s+)?/.source,/(?!#) *(\S[^\r\n]*)/.source,/#.*/.source].join("|"),"g"),fo=new RegExp([/#EXT-X-(PROGRAM-DATE-TIME|BYTERANGE|DATERANGE|DEFINE|KEY|MAP|PART|PART-INF|PLAYLIST-TYPE|PRELOAD-HINT|RENDITION-REPORT|SERVER-CONTROL|SKIP|START):(.+)/.source,/#EXT-X-(BITRATE|DISCONTINUITY-SEQUENCE|MEDIA-SEQUENCE|TARGETDURATION|VERSION): *(\d+)/.source,/#EXT-X-(DISCONTINUITY|ENDLIST|GAP|INDEPENDENT-SEGMENTS)/.source,/(#)([^:]*):(.*)/.source,/(#)(.*)(?:.*)\r?\n?/.source].join("|"));class fs{static findGroup(t,n){for(let o=0;o<t.length;o++){const m=t[o];if(m.id===n)return m}}static resolve(t,n){return le.buildAbsoluteURL(n,t,{alwaysNormalize:!0})}static isMediaPlaylist(t){return Tu.test(t)}static parseMasterPlaylist(t,n){const o=Ds(t),m={contentSteering:null,levels:[],playlistParsingError:null,sessionData:null,sessionKeys:null,startTimeOffset:null,variableList:null,hasVariableRefs:o},E=[];yo.lastIndex=0;let C;for(;(C=yo.exec(t))!=null;)if(C[1]){var U;const $=new ji(C[1],m),ae=$i(m,C[2]),ce={attrs:$,bitrate:$.decimalInteger("BANDWIDTH")||$.decimalInteger("AVERAGE-BANDWIDTH"),name:$.NAME,url:fs.resolve(ae,n)},xe=$.decimalResolution("RESOLUTION");xe&&(ce.width=xe.width,ce.height=xe.height),ou($.CODECS,ce);const Te=$["SUPPLEMENTAL-CODECS"];Te&&(ce.supplemental={},ou(Te,ce.supplemental)),(U=ce.unknownCodecs)!=null&&U.length||E.push(ce),m.levels.push(ce)}else if(C[3]){const $=C[3],ae=C[4];switch($){case"SESSION-DATA":{const ce=new ji(ae,m),xe=ce["DATA-ID"];xe&&(m.sessionData===null&&(m.sessionData={}),m.sessionData[xe]=ce);break}case"SESSION-KEY":{const ce=Io(ae,n,m);ce.encrypted&&ce.isSupported()?(m.sessionKeys===null&&(m.sessionKeys=[]),m.sessionKeys.push(ce)):Y.warn(`[Keys] Ignoring invalid EXT-X-SESSION-KEY tag: "${ae}"`);break}case"DEFINE":{{const ce=new ji(ae,m);ps(m,ce,n)}break}case"CONTENT-STEERING":{const ce=new ji(ae,m);m.contentSteering={uri:fs.resolve(ce["SERVER-URI"],n),pathwayId:ce["PATHWAY-ID"]||"."};break}case"START":{m.startTimeOffset=Us(ae);break}}}const H=E.length>0&&E.length<m.levels.length;return m.levels=H?E:m.levels,m.levels.length===0&&(m.playlistParsingError=new Error("no levels found in manifest")),m}static parseMasterPlaylistMedia(t,n,o){let m;const E={},C=o.levels,U={AUDIO:C.map($=>({id:$.attrs.AUDIO,audioCodec:$.audioCodec})),SUBTITLES:C.map($=>({id:$.attrs.SUBTITLES,textCodec:$.textCodec})),"CLOSED-CAPTIONS":[]};let H=0;for(Ko.lastIndex=0;(m=Ko.exec(t))!==null;){const $=new ji(m[1],o),ae=$.TYPE;if(ae){const ce=U[ae],xe=E[ae]||[];E[ae]=xe;const Te=$.LANGUAGE,De=$["ASSOC-LANGUAGE"],tt=$.CHANNELS,at=$.CHARACTERISTICS,Bt=$["INSTREAM-ID"],dr={attrs:$,bitrate:0,id:H++,groupId:$["GROUP-ID"]||"",name:$.NAME||Te||"",type:ae,default:$.bool("DEFAULT"),autoselect:$.bool("AUTOSELECT"),forced:$.bool("FORCED"),lang:Te,url:$.URI?fs.resolve($.URI,n):""};if(De&&(dr.assocLang=De),tt&&(dr.channels=tt),at&&(dr.characteristics=at),Bt&&(dr.instreamId=Bt),ce!=null&&ce.length){const ar=fs.findGroup(ce,dr.groupId)||ce[0];jo(dr,ar,"audioCodec"),jo(dr,ar,"textCodec")}xe.push(dr)}}return E}static parseLevelPlaylist(t,n,o,m,E,C){var U;const H={url:n},$=new Vi(n),ae=$.fragments,ce=[];let xe=null,Te=0,De=0,tt=0,at=0,Bt=0,dr=null,ar=new Pe(m,H),Zr,Gr,fn,Vr=-1,on=!1,_n=null,Xr;if(_u.lastIndex=0,$.m3u8=t,$.hasVariableRefs=Ds(t),((U=_u.exec(t))==null?void 0:U[0])!=="#EXTM3U")return $.playlistParsingError=new Error("Missing format identifier #EXTM3U"),$;for(;(Zr=_u.exec(t))!==null;){on&&(on=!1,ar=new Pe(m,H),ar.playlistOffset=tt,ar.start=tt,ar.sn=Te,ar.cc=at,Bt&&(ar.bitrate=Bt),ar.level=o,xe&&(ar.initSegment=xe,xe.rawProgramDateTime&&(ar.rawProgramDateTime=xe.rawProgramDateTime,xe.rawProgramDateTime=null),_n&&(ar.setByteRange(_n),_n=null)));const ya=Zr[1];if(ya){ar.duration=parseFloat(ya);const Ji=(" "+Zr[2]).slice(1);ar.title=Ji||null,ar.tagList.push(Ji?["INF",ya,Ji]:["INF",ya])}else if(Zr[3]){if(r(ar.duration)){ar.playlistOffset=tt,ar.start=tt,fn&&mu(ar,fn,$),ar.sn=Te,ar.level=o,ar.cc=at,ae.push(ar);const Ji=(" "+Zr[3]).slice(1);ar.relurl=$i($,Ji),Ls(ar,dr,ce),dr=ar,tt+=ar.duration,Te++,De=0,on=!0}}else{if(Zr=Zr[0].match(fo),!Zr){Y.warn("No matches on slow regex match for level playlist!");continue}for(Gr=1;Gr<Zr.length&&Zr[Gr]===void 0;Gr++);const Ji=(" "+Zr[Gr]).slice(1),Ri=(" "+Zr[Gr+1]).slice(1),ta=Zr[Gr+2]?(" "+Zr[Gr+2]).slice(1):null;switch(Ji){case"BYTERANGE":dr?ar.setByteRange(Ri,dr):ar.setByteRange(Ri);break;case"PROGRAM-DATE-TIME":ar.rawProgramDateTime=Ri,ar.tagList.push(["PROGRAM-DATE-TIME",Ri]),Vr===-1&&(Vr=ae.length);break;case"PLAYLIST-TYPE":$.type&&Fo($,Ji,Zr),$.type=Ri.toUpperCase();break;case"MEDIA-SEQUENCE":$.startSN!==0?Fo($,Ji,Zr):ae.length>0&&Qt($,Ji,Zr),Te=$.startSN=parseInt(Ri);break;case"SKIP":{$.skippedSegments&&Fo($,Ji,Zr);const qi=new ji(Ri,$),Xn=qi.decimalInteger("SKIPPED-SEGMENTS");if(r(Xn)){$.skippedSegments+=Xn;for(let wa=Xn;wa--;)ae.push(null);Te+=Xn}const ii=qi.enumeratedString("RECENTLY-REMOVED-DATERANGES");ii&&($.recentlyRemovedDateranges=($.recentlyRemovedDateranges||[]).concat(ii.split(" ")));break}case"TARGETDURATION":$.targetduration!==0&&Fo($,Ji,Zr),$.targetduration=Math.max(parseInt(Ri),1);break;case"VERSION":$.version!==null&&Fo($,Ji,Zr),$.version=parseInt(Ri);break;case"INDEPENDENT-SEGMENTS":break;case"ENDLIST":$.live||Fo($,Ji,Zr),$.live=!1;break;case"#":(Ri||ta)&&ar.tagList.push(ta?[Ri,ta]:[Ri]);break;case"DISCONTINUITY":at++,ar.tagList.push(["DIS"]);break;case"GAP":ar.gap=!0,ar.tagList.push([Ji]);break;case"BITRATE":ar.tagList.push([Ji,Ri]),Bt=parseInt(Ri)*1e3,r(Bt)?ar.bitrate=Bt:Bt=0;break;case"DATERANGE":{const qi=new ji(Ri,$),Xn=new ns(qi,$.dateRanges[qi.ID],$.dateRangeTagCount);$.dateRangeTagCount++,Xn.isValid||$.skippedSegments?$.dateRanges[Xn.id]=Xn:Y.warn(`Ignoring invalid DATERANGE tag: "${Ri}"`),ar.tagList.push(["EXT-X-DATERANGE",Ri]);break}case"DEFINE":{{const qi=new ji(Ri,$);"IMPORT"in qi?Co($,qi,C):ps($,qi,n)}break}case"DISCONTINUITY-SEQUENCE":$.startCC!==0?Fo($,Ji,Zr):ae.length>0&&Qt($,Ji,Zr),$.startCC=at=parseInt(Ri);break;case"KEY":{const qi=Io(Ri,n,$);if(qi.isSupported()){if(qi.method==="NONE"){fn=void 0;break}fn||(fn={}),fn[qi.keyFormat]&&(fn=y({},fn)),fn[qi.keyFormat]=qi}else Y.warn(`[Keys] Ignoring invalid EXT-X-KEY tag: "${Ri}"`);break}case"START":$.startTimeOffset=Us(Ri);break;case"MAP":{const qi=new ji(Ri,$);if(ar.duration){const Xn=new Pe(m,H);bo(Xn,qi,o,fn),xe=Xn,ar.initSegment=xe,xe.rawProgramDateTime&&!ar.rawProgramDateTime&&(ar.rawProgramDateTime=xe.rawProgramDateTime)}else{const Xn=ar.byteRangeEndOffset;if(Xn){const ii=ar.byteRangeStartOffset;_n=`${Xn-ii}@${ii}`}else _n=null;bo(ar,qi,o,fn),xe=ar,on=!0}xe.cc=at;break}case"SERVER-CONTROL":{Xr&&Fo($,Ji,Zr),Xr=new ji(Ri),$.canBlockReload=Xr.bool("CAN-BLOCK-RELOAD"),$.canSkipUntil=Xr.optionalFloat("CAN-SKIP-UNTIL",0),$.canSkipDateRanges=$.canSkipUntil>0&&Xr.bool("CAN-SKIP-DATERANGES"),$.partHoldBack=Xr.optionalFloat("PART-HOLD-BACK",0),$.holdBack=Xr.optionalFloat("HOLD-BACK",0);break}case"PART-INF":{$.partTarget&&Fo($,Ji,Zr);const qi=new ji(Ri);$.partTarget=qi.decimalFloatingPoint("PART-TARGET");break}case"PART":{let qi=$.partList;qi||(qi=$.partList=[]);const Xn=De>0?qi[qi.length-1]:void 0,ii=De++,wa=new ji(Ri,$),Sa=new Re(wa,ar,H,ii,Xn);qi.push(Sa),ar.duration+=Sa.duration;break}case"PRELOAD-HINT":{const qi=new ji(Ri,$);$.preloadHint=qi;break}case"RENDITION-REPORT":{const qi=new ji(Ri,$);$.renditionReports=$.renditionReports||[],$.renditionReports.push(qi);break}default:Y.warn(`line parsed but not handled: ${Zr}`);break}}}dr&&!dr.relurl?(ae.pop(),tt-=dr.duration,$.partList&&($.fragmentHint=dr)):$.partList&&(Ls(ar,dr,ce),ar.cc=at,$.fragmentHint=ar,fn&&mu(ar,fn,$)),$.targetduration||($.playlistParsingError=new Error("#EXT-X-TARGETDURATION is required"));const Yn=ae.length,di=ae[0],os=ae[Yn-1];if(tt+=$.skippedSegments*$.targetduration,tt>0&&Yn&&os){$.averagetargetduration=tt/Yn;const ya=os.sn;$.endSN=ya!=="initSegment"?ya:0,$.live||(os.endList=!0),di&&$.startCC===void 0&&($.startCC=di.cc),Vr>0&&(Do(ae,Vr),di&&ce.unshift(di))}else $.endSN=0,$.startCC=0;return $.fragmentHint&&(tt+=$.fragmentHint.duration),$.totalduration=tt,ce.length&&$.dateRangeTagCount&&di&&zu(ce,$),$.endCC=at,$}}function zu(P,t){const n=P.length,o=P[n-1],m=t.live?1/0:t.totalduration,E=Object.keys(t.dateRanges);for(let C=E.length;C--;){const U=t.dateRanges[E[C]],H=U.startDate.getTime();U.tagAnchor=o.ref;for(let $=n;$--;){const ae=Mo(t,H,P,$,m);if(ae!==-1){U.tagAnchor=t.fragments[ae].ref;break}}}}function Mo(P,t,n,o,m){const E=n[o];if(E){const U=E.programDateTime;if(t>=U||o===0){var C;const H=(((C=n[o+1])==null?void 0:C.start)||m)-E.start;if(t<=U+H*1e3){const $=n[o].sn-P.startSN,ae=P.fragments;if(ae.length>n.length){const xe=(n[o+1]||ae[ae.length-1]).sn-P.startSN;for(let Te=xe;Te>$;Te--){const De=ae[Te].programDateTime;if(t>=De&&t<De+ae[Te].duration*1e3)return Te}}return $}}}return-1}function Io(P,t,n){var o,m;const E=new ji(P,n),C=(o=E.METHOD)!=null?o:"",U=E.URI,H=E.hexadecimalInteger("IV"),$=E.KEYFORMATVERSIONS,ae=(m=E.KEYFORMAT)!=null?m:"identity";U&&E.IV&&!H&&Y.error(`Invalid IV: ${E.IV}`);const ce=U?fs.resolve(U,t):"",xe=($||"1").split("/").map(Number).filter(Number.isFinite);return new Qa(C,ce,ae,xe,H)}function Us(P){const n=new ji(P).decimalFloatingPoint("TIME-OFFSET");return r(n)?n:null}function ou(P,t){let n=(P||"").split(/[ ,]+/).filter(o=>o);["video","audio","text"].forEach(o=>{const m=n.filter(E=>Tt(E,o));m.length&&(t[`${o}Codec`]=m.map(E=>E.split("/")[0]).join(","),n=n.filter(E=>m.indexOf(E)===-1))}),t.unknownCodecs=n}function jo(P,t,n){const o=t[n];o&&(P[n]=o)}function Do(P,t){let n=P[t];for(let o=t;o--;){const m=P[o];if(!m)return;m.programDateTime=n.programDateTime-m.duration*1e3,n=m}}function Ls(P,t,n){P.rawProgramDateTime?n.push(P):t!=null&&t.programDateTime&&(P.programDateTime=t.endProgramDateTime)}function bo(P,t,n,o){P.relurl=t.URI,t.BYTERANGE&&P.setByteRange(t.BYTERANGE),P.level=n,P.sn="initSegment",o&&(P.levelkeys=o),P.initSegment=null}function mu(P,t,n){P.levelkeys=t;const{encryptedFragments:o}=n;(!o.length||o[o.length-1].levelkeys!==t)&&Object.keys(t).some(m=>t[m].isCommonEncryption)&&o.push(P)}function Fo(P,t,n){P.playlistParsingError=new Error(`#EXT-X-${t} must not appear more than once (${n[0]})`)}function Qt(P,t,n){P.playlistParsingError=new Error(`#EXT-X-${t} must appear before the first Media Segment (${n[0]})`)}function cr(P,t){const n=t.startPTS;if(r(n)){let o=0,m;t.sn>P.sn?(o=n-P.start,m=P):(o=P.start-n,m=t),m.duration!==o&&m.setDuration(o)}else t.sn>P.sn?P.cc===t.cc&&P.minEndPTS?t.setStart(P.start+(P.minEndPTS-P.start)):t.setStart(P.start+P.duration):t.setStart(Math.max(P.start-t.duration,0))}function sr(P,t,n,o,m,E){o-n<=0&&(Y.warn("Fragment should have a positive duration",t),o=n+t.duration,E=m+t.duration);let U=n,H=o;const $=t.startPTS,ae=t.endPTS;if(r($)){const at=Math.abs($-n);r(t.deltaPTS)?t.deltaPTS=Math.max(at,t.deltaPTS):t.deltaPTS=at,U=Math.max(n,$),n=Math.min(n,$),m=Math.min(m,t.startDTS),H=Math.min(o,ae),o=Math.max(o,ae),E=Math.max(E,t.endDTS)}const ce=n-t.start;t.start!==0&&t.setStart(n),t.setDuration(o-t.start),t.startPTS=n,t.maxStartPTS=U,t.startDTS=m,t.endPTS=o,t.minEndPTS=H,t.endDTS=E;const xe=t.sn;if(!P||xe<P.startSN||xe>P.endSN)return 0;let Te;const De=xe-P.startSN,tt=P.fragments;for(tt[De]=t,Te=De;Te>0;Te--)cr(tt[Te],tt[Te-1]);for(Te=De;Te<tt.length-1;Te++)cr(tt[Te],tt[Te+1]);return P.fragmentHint&&cr(tt[tt.length-1],P.fragmentHint),P.PTSKnown=P.alignedSliding=!0,ce}function vr(P,t){if(P===t)return;let n=null;const o=P.fragments;for(let H=o.length-1;H>=0;H--){const $=o[H].initSegment;if($){n=$;break}}P.fragmentHint&&delete P.fragmentHint.endPTS;let m;Sn(P,t,(H,$,ae,ce)=>{if(!t.startCC&&$.cc!==H.cc){var xe,Te;const De=H.cc-$.cc;for(let tt=ae;tt<ce.length;tt++)ce[tt].cc+=De;t.startCC=(xe=(Te=Fr(P,t.startSN-1))==null?void 0:Te.cc)!=null?xe:ce[0].cc,t.endCC=ce[ce.length-1].cc}r(H.startPTS)&&r(H.endPTS)&&($.setStart($.startPTS=H.startPTS),$.startDTS=H.startDTS,$.maxStartPTS=H.maxStartPTS,$.endPTS=H.endPTS,$.endDTS=H.endDTS,$.minEndPTS=H.minEndPTS,$.setDuration(H.endPTS-H.startPTS),$.duration&&(m=$),t.PTSKnown=t.alignedSliding=!0),H.hasStreams&&($.elementaryStreams=H.elementaryStreams),$.loader=H.loader,H.hasStats&&($.stats=H.stats),H.initSegment&&($.initSegment=H.initSegment,n=H.initSegment)});const E=t.fragments,C=t.fragmentHint?E.concat(t.fragmentHint):E;if(n&&C.forEach(H=>{var $;H&&(!H.initSegment||H.initSegment.relurl===(($=n)==null?void 0:$.relurl))&&(H.initSegment=n)}),t.skippedSegments)if(t.deltaUpdateFailed=E.some(H=>!H),t.deltaUpdateFailed){Y.warn("[level-helper] Previous playlist missing segments skipped in delta playlist");for(let H=t.skippedSegments;H--;)E.shift();t.startSN=E[0].sn}else{t.endCC=E[E.length-1].cc,t.canSkipDateRanges&&(t.dateRanges=wr(P.dateRanges,t));const H=P.fragments.filter($=>$.rawProgramDateTime);if(P.hasProgramDateTime&&!t.hasProgramDateTime)for(let $=1;$<C.length;$++)C[$].programDateTime===null&&Ls(C[$],C[$-1],H);zu(H,t)}xn(P.partList,t.partList,(H,$)=>{$.elementaryStreams=H.elementaryStreams,$.stats=H.stats}),m?sr(t,m,m.startPTS,m.endPTS,m.startDTS,m.endDTS):Ln(P,t),E.length&&(t.totalduration=t.edge-E[0].start),t.driftStartTime=P.driftStartTime,t.driftStart=P.driftStart;const U=t.advancedDateTime;if(t.advanced&&U){const H=t.edge;t.driftStart||(t.driftStartTime=U,t.driftStart=H),t.driftEndTime=U,t.driftEnd=H}else t.driftEndTime=P.driftEndTime,t.driftEnd=P.driftEnd,t.advancedDateTime=P.advancedDateTime;t.requestScheduled===-1&&(t.requestScheduled=P.requestScheduled)}function wr(P,t){const{dateRanges:n,recentlyRemovedDateranges:o}=t,m=y({},P);o&&o.forEach(U=>{delete m[U]});const C=Object.keys(m).length;return C&&Object.keys(n).forEach(U=>{const H=m[U],$=new ns(n[U].attr,H);$.isValid?(m[U]=$,H||($.tagOrder+=C)):Y.warn(`Ignoring invalid Playlist Delta Update DATERANGE tag: "${jn(n[U].attr)}"`)}),m}function xn(P,t,n){if(P&&t){let o=0;for(let m=0,E=P.length;m<=E;m++){const C=P[m],U=t[m+o];C&&U&&C.index===U.index&&C.fragment.sn===U.fragment.sn?n(C,U):o--}}}function Sn(P,t,n){const o=t.skippedSegments,m=Math.max(P.startSN,t.startSN)-t.startSN,E=(P.fragmentHint?1:0)+(o?t.endSN:Math.min(P.endSN,t.endSN))-t.startSN,C=t.startSN-P.startSN,U=t.fragmentHint?t.fragments.concat(t.fragmentHint):t.fragments,H=P.fragmentHint?P.fragments.concat(P.fragmentHint):P.fragments;for(let $=m;$<=E;$++){const ae=H[C+$];let ce=U[$];if(o&&!ce&&ae&&(ce=t.fragments[$]=ae),ae&&ce){if(n(ae,ce,$,U),ae.url&&ae.url!==ce.url){t.playlistParsingError=Un(`media sequence mismatch ${ce.sn}:`,P,t,ae,ce);return}else if(ae.cc!==ce.cc){t.playlistParsingError=Un(`discontinuity sequence mismatch (${ae.cc}!=${ce.cc})`,P,t,ae,ce);return}}}}function Un(P,t,n,o,m){return new Error(`${P} ${m.url}
Playlist starting @${t.startSN}
${t.m3u8}
Playlist starting @${n.startSN}
${n.m3u8}`)}function Ln(P,t,n=!0){const o=t.startSN+t.skippedSegments-P.startSN,m=P.fragments,E=o>=0;let C=0;if(E&&o<m.length)C=m[o].start;else if(E&&t.startSN===P.endSN+1)C=P.fragmentEnd;else if(E&&n)C=P.fragmentStart+o*t.levelTargetDuration;else if(!t.skippedSegments&&t.fragmentStart===0)C=P.fragmentStart;else return;Gn(t,C)}function Gn(P,t){if(t){const n=P.fragments;for(let o=P.skippedSegments;o<n.length;o++)n[o].addStart(t);P.fragmentHint&&P.fragmentHint.addStart(t)}}function ur(P,t=1/0){let n=1e3*P.targetduration;if(P.updated){const o=P.fragments;if(o.length&&n*4>t){const E=o[o.length-1].duration*1e3;E<n&&(n=E)}}else n/=2;return Math.round(n)}function Fr(P,t,n){if(!P)return null;let o=P.fragments[t-P.startSN];return o||(o=P.fragmentHint,o&&o.sn===t)?o:t<P.startSN&&n&&n.sn===t?n:null}function xr(P,t,n){return P?mn(P.partList,t,n):null}function mn(P,t,n){if(P)for(let o=P.length;o--;){const m=P[o];if(m.index===n&&m.fragment.sn===t)return m}return null}function Hn(P){P.forEach((t,n)=>{var o;(o=t.details)==null||o.fragments.forEach(m=>{m.level=n,m.initSegment&&(m.initSegment.level=n)})})}function ft(P,t){for(let o=0,m=P.length;o<m;o++){var n;if(((n=P[o])==null?void 0:n.cc)===t)return P[o]}return null}function Pn(P,t){return!!(P&&t.startCC<P.endCC&&t.endCC>P.startCC)}function Vn(P,t){if(P){const n=P.start+t;P.start=P.startPTS=n,P.endPTS=n+P.duration}}function li(P,t){const n=t.fragments;for(let o=0,m=n.length;o<m;o++)Vn(n[o],P);t.fragmentHint&&Vn(t.fragmentHint,P),t.alignedSliding=!0}function Qi(P,t){P&&(Nr(t,P),!t.alignedSliding&&P&&Li(t,P),!t.alignedSliding&&P&&!t.skippedSegments&&Ln(P,t,!1))}function Nr(P,t){if(!Pn(t,P))return;const n=Math.min(t.endCC,P.endCC),o=ft(t.fragments,n),m=ft(P.fragments,n);if(!o||!m)return;Y.log(`Aligning playlist at start of dicontinuity sequence ${n}`);const E=o.start-m.start;li(E,P)}function Li(P,t){if(!P.hasProgramDateTime||!t.hasProgramDateTime)return;const n=P.fragments,o=t.fragments;if(!n.length||!o.length)return;let m,E;const C=Math.min(t.endCC,P.endCC);t.startCC<C&&P.startCC<C&&(m=ft(o,C),E=ft(n,C)),(!m||!E)&&(m=o[Math.floor(o.length/2)],E=ft(n,m.cc)||n[Math.floor(n.length/2)]);const U=m.programDateTime,H=E.programDateTime;if(!U||!H)return;const $=(H-U)/1e3-(E.start-m.start);li($,P)}const ba={toString:function(P){let t="";const n=P.length;for(let o=0;o<n;o++)t+=`[${P.start(o).toFixed(3)}-${P.end(o).toFixed(3)}]`;return t}},zr={STOPPED:"STOPPED",IDLE:"IDLE",KEY_LOADING:"KEY_LOADING",FRAG_LOADING:"FRAG_LOADING",FRAG_LOADING_WAITING_RETRY:"FRAG_LOADING_WAITING_RETRY",WAITING_TRACK:"WAITING_TRACK",PARSING:"PARSING",PARSED:"PARSED",ENDED:"ENDED",ERROR:"ERROR",WAITING_INIT_PTS:"WAITING_INIT_PTS",WAITING_LEVEL:"WAITING_LEVEL"};class na extends Is{constructor(t,n,o,m,E){super(m,t.logger),this.hls=void 0,this.fragPrevious=null,this.fragCurrent=null,this.fragmentTracker=void 0,this.transmuxer=null,this._state=zr.STOPPED,this.playlistType=void 0,this.media=null,this.mediaBuffer=null,this.config=void 0,this.bitrateTest=!1,this.lastCurrentTime=0,this.nextLoadPosition=0,this.startPosition=0,this.startTimeOffset=null,this.retryDate=0,this.levels=null,this.fragmentLoader=void 0,this.keyLoader=void 0,this.levelLastLoaded=null,this.startFragRequested=!1,this.decrypter=void 0,this.initPTS=[],this.buffering=!0,this.loadingParts=!1,this.loopSn=void 0,this.onMediaSeeking=()=>{const{config:C,fragCurrent:U,media:H,mediaBuffer:$,state:ae}=this,ce=H?H.currentTime:0,xe=yi.bufferInfo($||H,ce,C.maxBufferHole);if(this.log(`media seeking to ${r(ce)?ce.toFixed(3):ce}, state: ${ae}`),this.state===zr.ENDED)this.resetLoadingState();else if(U){const Te=C.maxFragLookUpTolerance,De=U.start-Te,tt=U.start+U.duration+Te;if(!xe.len||tt<xe.start||De>xe.end){const at=ce>tt;(ce<De||at)&&(at&&U.loader&&(this.log("seeking outside of buffer while fragment load in progress, cancel fragment load"),U.abortRequests(),this.resetLoadingState()),this.fragPrevious=null)}}if(H){this.fragmentTracker.removeFragmentsInRange(ce,1/0,this.playlistType,!0);const Te=this.lastCurrentTime;if(ce>Te&&(this.lastCurrentTime=ce),!this.loadingParts){const De=Math.max(xe.end,ce),tt=this.shouldLoadParts(this.getLevelDetails(),De);tt&&(this.log(`LL-Part loading ON after seeking to ${ce.toFixed(2)} with buffer @${De.toFixed(2)}`),this.loadingParts=tt)}}!this.hls.hasEnoughToStart&&!xe.len&&(this.log(`setting startPosition to ${ce} because of seek before start`),this.nextLoadPosition=this.startPosition=ce),this.tickImmediate()},this.onMediaEnded=()=>{this.log("setting startPosition to 0 because media ended"),this.startPosition=this.lastCurrentTime=0},this.playlistType=E,this.hls=t,this.fragmentLoader=new Ni(t.config),this.keyLoader=o,this.fragmentTracker=n,this.config=t.config,this.decrypter=new pn(t.config)}registerListeners(){const{hls:t}=this;t.on(s.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(s.MANIFEST_LOADING,this.onManifestLoading,this),t.on(s.MANIFEST_LOADED,this.onManifestLoaded,this),t.on(s.ERROR,this.onError,this)}unregisterListeners(){const{hls:t}=this;t.off(s.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(s.MANIFEST_LOADING,this.onManifestLoading,this),t.off(s.MANIFEST_LOADED,this.onManifestLoaded,this),t.off(s.ERROR,this.onError,this)}doTick(){this.onTickEnd()}onTickEnd(){}startLoad(t){}stopLoad(){if(this.state===zr.STOPPED)return;this.fragmentLoader.abort(),this.keyLoader.abort(this.playlistType);const t=this.fragCurrent;t!=null&&t.loader&&(t.abortRequests(),this.fragmentTracker.removeFragment(t)),this.resetTransmuxer(),this.fragCurrent=null,this.fragPrevious=null,this.clearInterval(),this.clearNextTick(),this.state=zr.STOPPED}get startPositionValue(){const{nextLoadPosition:t,startPosition:n}=this;return n===-1&&t?t:n}get bufferingEnabled(){return this.buffering}pauseBuffering(){this.buffering=!1}resumeBuffering(){this.buffering=!0}get inFlightFrag(){return{frag:this.fragCurrent,state:this.state}}_streamEnded(t,n){if(n.live||!this.media)return!1;const o=t.end||0,m=this.config.timelineOffset||0;if(o<=m)return!1;const E=t.nextStart;if(E&&E>m&&E<n.edge||this.media.currentTime<t.start)return!1;const U=n.partList;if(U!=null&&U.length){const $=U[U.length-1];return yi.isBuffered(this.media,$.start+$.duration/2)}const H=n.fragments[n.fragments.length-1].type;return this.fragmentTracker.isEndListAppended(H)}getLevelDetails(){if(this.levels&&this.levelLastLoaded!==null){var t;return(t=this.levelLastLoaded)==null?void 0:t.details}}get timelineOffset(){const t=this.config.timelineOffset;if(t){var n;return((n=this.getLevelDetails())==null?void 0:n.appliedTimelineOffset)||t}return 0}onMediaAttached(t,n){const o=this.media=this.mediaBuffer=n.media;o.removeEventListener("seeking",this.onMediaSeeking),o.removeEventListener("ended",this.onMediaEnded),o.addEventListener("seeking",this.onMediaSeeking),o.addEventListener("ended",this.onMediaEnded);const m=this.config;this.levels&&m.autoStartLoad&&this.state===zr.STOPPED&&this.startLoad(m.startPosition)}onMediaDetaching(t,n){const o=!!n.transferMedia,m=this.media;if(m!==null){if(m.ended&&(this.log("MSE detaching and video ended, reset startPosition"),this.startPosition=this.lastCurrentTime=0),m.removeEventListener("seeking",this.onMediaSeeking),m.removeEventListener("ended",this.onMediaEnded),this.keyLoader&&!o&&this.keyLoader.detach(),this.media=this.mediaBuffer=null,this.loopSn=void 0,o){this.resetLoadingState(),this.resetTransmuxer();return}this.loadingParts=!1,this.fragmentTracker.removeAllFragments(),this.stopLoad()}}onManifestLoading(){this.initPTS=[],this.levels=this.levelLastLoaded=this.fragCurrent=null,this.lastCurrentTime=this.startPosition=0,this.startFragRequested=!1}onError(t,n){}onManifestLoaded(t,n){this.startTimeOffset=n.startTimeOffset}onHandlerDestroying(){this.stopLoad(),this.transmuxer&&(this.transmuxer.destroy(),this.transmuxer=null),super.onHandlerDestroying(),this.hls=this.onMediaSeeking=this.onMediaEnded=null}onHandlerDestroyed(){this.state=zr.STOPPED,this.fragmentLoader&&this.fragmentLoader.destroy(),this.keyLoader&&this.keyLoader.destroy(),this.decrypter&&this.decrypter.destroy(),this.hls=this.log=this.warn=this.decrypter=this.keyLoader=this.fragmentLoader=this.fragmentTracker=null,super.onHandlerDestroyed()}loadFragment(t,n,o){this.startFragRequested=!0,this._loadFragForPlayback(t,n,o)}_loadFragForPlayback(t,n,o){const m=E=>{const C=E.frag;if(this.fragContextChanged(C)){this.warn(`${C.type} sn: ${C.sn}${E.part?" part: "+E.part.index:""} of ${this.fragInfo(C,!1,E.part)}) was dropped during download.`),this.fragmentTracker.removeFragment(C);return}C.stats.chunkCount++,this._handleFragmentLoadProgress(E)};this._doFragLoad(t,n,o,m).then(E=>{if(!E)return;const C=this.state,U=E.frag;if(this.fragContextChanged(U)){(C===zr.FRAG_LOADING||!this.fragCurrent&&C===zr.PARSING)&&(this.fragmentTracker.removeFragment(U),this.state=zr.IDLE);return}"payload"in E&&(this.log(`Loaded ${U.type} sn: ${U.sn} of ${this.playlistLabel()} ${U.level}`),this.hls.trigger(s.FRAG_LOADED,E)),this._handleFragmentLoadComplete(E)}).catch(E=>{this.state===zr.STOPPED||this.state===zr.ERROR||(this.warn(`Frag error: ${(E==null?void 0:E.message)||E}`),this.resetFragmentLoading(t))})}clearTrackerIfNeeded(t){var n;const{fragmentTracker:o}=this;if(o.getState(t)===Er.APPENDING){const E=t.type,C=this.getFwdBufferInfo(this.mediaBuffer,E),U=Math.max(t.duration,C?C.len:this.config.maxBufferLength),H=this.backtrackFragment;((H?t.sn-H.sn:0)===1||this.reduceMaxBufferLength(U,t.duration))&&o.removeFragment(t)}else((n=this.mediaBuffer)==null?void 0:n.buffered.length)===0?o.removeAllFragments():o.hasParts(t.type)&&(o.detectPartialFragments({frag:t,part:null,stats:t.stats,id:t.type}),o.getState(t)===Er.PARTIAL&&o.removeFragment(t))}checkLiveUpdate(t){if(t.updated&&!t.live){const n=t.fragments[t.fragments.length-1];this.fragmentTracker.detectPartialFragments({frag:n,part:null,stats:n.stats,id:n.type})}t.fragments[0]||(t.deltaUpdateFailed=!0)}waitForLive(t){const n=t.details;return(n==null?void 0:n.live)&&n.type!=="EVENT"&&(this.levelLastLoaded!==t||n.expired)}flushMainBuffer(t,n,o=null){if(!(t-n))return;const m={startOffset:t,endOffset:n,type:o};this.hls.trigger(s.BUFFER_FLUSHING,m)}_loadInitSegment(t,n){this._doFragLoad(t,n).then(o=>{const m=o==null?void 0:o.frag;if(!m||this.fragContextChanged(m)||!this.levels)throw new Error("init load aborted");return o}).then(o=>{const{hls:m}=this,{frag:E,payload:C}=o,U=E.decryptdata;if(C&&C.byteLength>0&&U!=null&&U.key&&U.iv&&Ia(U.method)){const H=self.performance.now();return this.decrypter.decrypt(new Uint8Array(C),U.key.buffer,U.iv.buffer,Da(U.method)).catch($=>{throw m.trigger(s.ERROR,{type:c.MEDIA_ERROR,details:f.FRAG_DECRYPT_ERROR,fatal:!1,error:$,reason:$.message,frag:E}),$}).then($=>{const ae=self.performance.now();return m.trigger(s.FRAG_DECRYPTED,{frag:E,payload:$,stats:{tstart:H,tdecrypt:ae}}),o.payload=$,this.completeInitSegmentLoad(o)})}return this.completeInitSegmentLoad(o)}).catch(o=>{this.state===zr.STOPPED||this.state===zr.ERROR||(this.warn(o),this.resetFragmentLoading(t))})}completeInitSegmentLoad(t){const{levels:n}=this;if(!n)throw new Error("init load aborted, missing levels");const o=t.frag.stats;this.state!==zr.STOPPED&&(this.state=zr.IDLE),t.frag.data=new Uint8Array(t.payload),o.parsing.start=o.buffering.start=self.performance.now(),o.parsing.end=o.buffering.end=self.performance.now(),this.tick()}fragContextChanged(t){const{fragCurrent:n}=this;return!t||!n||t.sn!==n.sn||t.level!==n.level}fragBufferedComplete(t,n){const o=this.mediaBuffer?this.mediaBuffer:this.media;if(this.log(`Buffered ${t.type} sn: ${t.sn}${n?" part: "+n.index:""} of ${this.fragInfo(t,!1,n)} > buffer:${o?ba.toString(yi.getBuffered(o)):"(detached)"})`),_e(t)){var m;if(t.type!==u.SUBTITLE){const C=t.elementaryStreams;if(!Object.keys(C).some(U=>!!C[U])){this.state=zr.IDLE;return}}const E=(m=this.levels)==null?void 0:m[t.level];E!=null&&E.fragmentError&&(this.log(`Resetting level fragment error count of ${E.fragmentError} on frag buffered`),E.fragmentError=0)}this.state=zr.IDLE}_handleFragmentLoadComplete(t){const{transmuxer:n}=this;if(!n)return;const{frag:o,part:m,partsLoaded:E}=t,C=!E||E.length===0||E.some(H=>!H),U=new $a(o.level,o.sn,o.stats.chunkCount+1,0,m?m.index:-1,!C);n.flush(U)}_handleFragmentLoadProgress(t){}_doFragLoad(t,n,o=null,m){var E;this.fragCurrent=t;const C=n==null?void 0:n.details;if(!this.levels||!C)throw new Error(`frag load aborted, missing level${C?"":" detail"}s`);let U=null;t.encrypted&&!((E=t.decryptdata)!=null&&E.key)?(this.log(`Loading key for ${t.sn} of [${C.startSN}-${C.endSN}], ${this.playlistLabel()} ${t.level}`),this.state=zr.KEY_LOADING,this.fragCurrent=t,U=this.keyLoader.load(t).then(ce=>{if(!this.fragContextChanged(ce.frag))return this.hls.trigger(s.KEY_LOADED,ce),this.state===zr.KEY_LOADING&&(this.state=zr.IDLE),ce}),this.hls.trigger(s.KEY_LOADING,{frag:t}),this.fragCurrent===null&&(U=Promise.reject(new Error("frag load aborted, context changed in KEY_LOADING")))):!t.encrypted&&C.encryptedFragments.length&&this.keyLoader.loadClear(t,C.encryptedFragments);const H=this.fragPrevious;if(_e(t)&&(!H||t.sn!==H.sn)){const ce=this.shouldLoadParts(n.details,t.end);ce!==this.loadingParts&&(this.log(`LL-Part loading ${ce?"ON":"OFF"} loading sn ${H==null?void 0:H.sn}->${t.sn}`),this.loadingParts=ce)}if(o=Math.max(t.start,o||0),this.loadingParts&&_e(t)){const ce=C.partList;if(ce&&m){o>t.end&&C.fragmentHint&&(t=C.fragmentHint);const xe=this.getNextPart(ce,t,o);if(xe>-1){const Te=ce[xe];t=this.fragCurrent=Te.fragment,this.log(`Loading ${t.type} sn: ${t.sn} part: ${Te.index} (${xe}/${ce.length-1}) of ${this.fragInfo(t,!1,Te)}) cc: ${t.cc} [${C.startSN}-${C.endSN}], target: ${parseFloat(o.toFixed(3))}`),this.nextLoadPosition=Te.start+Te.duration,this.state=zr.FRAG_LOADING;let De;return U?De=U.then(tt=>!tt||this.fragContextChanged(tt.frag)?null:this.doFragPartsLoad(t,Te,n,m)).catch(tt=>this.handleFragLoadError(tt)):De=this.doFragPartsLoad(t,Te,n,m).catch(tt=>this.handleFragLoadError(tt)),this.hls.trigger(s.FRAG_LOADING,{frag:t,part:Te,targetBufferTime:o}),this.fragCurrent===null?Promise.reject(new Error("frag load aborted, context changed in FRAG_LOADING parts")):De}else if(!t.url||this.loadedEndOfParts(ce,o))return Promise.resolve(null)}}if(_e(t)&&this.loadingParts)this.log(`LL-Part loading OFF after next part miss @${o.toFixed(2)}`),this.loadingParts=!1;else if(!t.url)return Promise.resolve(null);this.log(`Loading ${t.type} sn: ${t.sn} of ${this.fragInfo(t,!1)}) cc: ${t.cc} ${C?"["+C.startSN+"-"+C.endSN+"]":""}, target: ${parseFloat(o.toFixed(3))}`),r(t.sn)&&!this.bitrateTest&&(this.nextLoadPosition=t.start+t.duration),this.state=zr.FRAG_LOADING;const $=this.config.progressive;let ae;return $&&U?ae=U.then(ce=>!ce||this.fragContextChanged(ce==null?void 0:ce.frag)?null:this.fragmentLoader.load(t,m)).catch(ce=>this.handleFragLoadError(ce)):ae=Promise.all([this.fragmentLoader.load(t,$?m:void 0),U]).then(([ce])=>(!$&&ce&&m&&m(ce),ce)).catch(ce=>this.handleFragLoadError(ce)),this.hls.trigger(s.FRAG_LOADING,{frag:t,targetBufferTime:o}),this.fragCurrent===null?Promise.reject(new Error("frag load aborted, context changed in FRAG_LOADING")):ae}doFragPartsLoad(t,n,o,m){return new Promise((E,C)=>{var U;const H=[],$=(U=o.details)==null?void 0:U.partList,ae=ce=>{this.fragmentLoader.loadPart(t,ce,m).then(xe=>{H[ce.index]=xe;const Te=xe.part;this.hls.trigger(s.FRAG_LOADED,xe);const De=xr(o.details,t.sn,ce.index+1)||mn($,t.sn,ce.index+1);if(De)ae(De);else return E({frag:t,part:Te,partsLoaded:H})}).catch(C)};ae(n)})}handleFragLoadError(t){if("data"in t){const n=t.data;t.data&&n.details===f.INTERNAL_ABORTED?this.handleFragLoadAborted(n.frag,n.part):this.hls.trigger(s.ERROR,n)}else this.hls.trigger(s.ERROR,{type:c.OTHER_ERROR,details:f.INTERNAL_EXCEPTION,err:t,error:t,fatal:!0});return null}_handleTransmuxerFlush(t){const n=this.getCurrentContext(t);if(!n||this.state!==zr.PARSING){!this.fragCurrent&&this.state!==zr.STOPPED&&this.state!==zr.ERROR&&(this.state=zr.IDLE);return}const{frag:o,part:m,level:E}=n,C=self.performance.now();o.stats.parsing.end=C,m&&(m.stats.parsing.end=C);const U=this.getLevelDetails(),$=U&&o.sn>U.endSN||this.shouldLoadParts(U,o.end);$!==this.loadingParts&&(this.log(`LL-Part loading ${$?"ON":"OFF"} after parsing segment ending @${o.end.toFixed(2)}`),this.loadingParts=$),this.updateLevelTiming(o,m,E,t.partial)}shouldLoadParts(t,n){if(this.config.lowLatencyMode){if(!t)return this.loadingParts;if(t!=null&&t.partList){var o;const E=t.partList[0],C=E.end+(((o=t.fragmentHint)==null?void 0:o.duration)||0);if(n>=C){var m;if((this.hls.hasEnoughToStart?((m=this.media)==null?void 0:m.currentTime)||this.lastCurrentTime:this.getLoadPosition())>E.start-E.fragment.duration)return!0}}}return!1}getCurrentContext(t){const{levels:n,fragCurrent:o}=this,{level:m,sn:E,part:C}=t;if(!(n!=null&&n[m]))return this.warn(`Levels object was unset while buffering fragment ${E} of ${this.playlistLabel()} ${m}. The current chunk will not be buffered.`),null;const U=n[m],H=U.details,$=C>-1?xr(H,E,C):null,ae=$?$.fragment:Fr(H,E,o);return ae?(o&&o!==ae&&(ae.stats=o.stats),{frag:ae,part:$,level:U}):null}bufferFragmentData(t,n,o,m,E){var C;if(!t||this.state!==zr.PARSING)return;const{data1:U,data2:H}=t;let $=U;if(U&&H&&($=Gt(U,H)),!((C=$)!=null&&C.length))return;const ae={type:t.type,frag:n,part:o,chunkMeta:m,parent:n.type,data:$};if(this.hls.trigger(s.BUFFER_APPENDING,ae),t.dropped&&t.independent&&!o){if(E)return;this.flushBufferGap(n)}}flushBufferGap(t){const n=this.media;if(!n)return;if(!yi.isBuffered(n,n.currentTime)){this.flushMainBuffer(0,t.start);return}const o=n.currentTime,m=yi.bufferInfo(n,o,0),E=t.duration,C=Math.min(this.config.maxFragLookUpTolerance*2,E*.25),U=Math.max(Math.min(t.start-C,m.end-C),o+C);t.start-U>C&&this.flushMainBuffer(U,t.start)}getFwdBufferInfo(t,n){var o;const m=this.getLoadPosition();if(!r(m))return null;const C=this.lastCurrentTime>m||(o=this.media)!=null&&o.paused?0:this.config.maxBufferHole;return this.getFwdBufferInfoAtPos(t,m,n,C)}getFwdBufferInfoAtPos(t,n,o,m){const E=yi.bufferInfo(t,n,m);if(E.len===0&&E.nextStart!==void 0){const C=this.fragmentTracker.getBufferedFrag(n,o);if(C&&(E.nextStart<=C.end||C.gap)){const U=Math.max(Math.min(E.nextStart,C.end)-n,m);return yi.bufferInfo(t,n,U)}}return E}getMaxBufferLength(t){const{config:n}=this;let o;return t?o=Math.max(8*n.maxBufferSize/t,n.maxBufferLength):o=n.maxBufferLength,Math.min(o,n.maxMaxBufferLength)}reduceMaxBufferLength(t,n){const o=this.config,m=Math.max(Math.min(t-n,o.maxBufferLength),n),E=Math.max(t-n*3,o.maxMaxBufferLength/2,m);return E>=m?(o.maxMaxBufferLength=E,this.warn(`Reduce max buffer length to ${E}s`),!0):!1}getAppendedFrag(t,n=u.MAIN){var o;const m=(o=this.fragmentTracker)==null?void 0:o.getAppendedFrag(t,n);return m&&"fragment"in m?m.fragment:m}getNextFragment(t,n){const o=n.fragments,m=o.length;if(!m)return null;const{config:E}=this,C=o[0].start,U=E.lowLatencyMode&&!!n.partList;let H=null;if(n.live){const ce=E.initialLiveManifestSize;if(m<ce)return this.warn(`Not enough fragments to start playback (have: ${m}, need: ${ce})`),null;if(!n.PTSKnown&&!this.startFragRequested&&this.startPosition===-1||t<C){var $;U&&!this.loadingParts&&(this.log("LL-Part loading ON for initial live fragment"),this.loadingParts=!0),H=this.getInitialLiveFragment(n,o);const xe=this.hls.startPosition,Te=this.hls.liveSyncPosition,De=H?(xe!==-1&&xe>=C?xe:Te)||H.start:t;this.log(`Setting startPosition to ${De} to match start frag at live edge. mainStart: ${xe} liveSyncPosition: ${Te} frag.start: ${($=H)==null?void 0:$.start}`),this.startPosition=this.nextLoadPosition=De}}else t<=C&&(H=o[0]);if(!H){const ce=this.loadingParts?n.partEnd:n.fragmentEnd;H=this.getFragmentAtPosition(t,ce,n)}let ae=this.filterReplacedPrimary(H,n);if(!ae&&H){const ce=H.sn-n.startSN;ae=this.filterReplacedPrimary(o[ce+1]||null,n)}return this.mapToInitFragWhenRequired(ae)}isLoopLoading(t,n){const o=this.fragmentTracker.getState(t);return(o===Er.OK||o===Er.PARTIAL&&!!t.gap)&&this.nextLoadPosition>n}getNextFragmentLoopLoading(t,n,o,m,E){let C=null;if(t.gap&&(C=this.getNextFragment(this.nextLoadPosition,n),C&&!C.gap&&o.nextStart)){const U=this.getFwdBufferInfoAtPos(this.mediaBuffer?this.mediaBuffer:this.media,o.nextStart,m,0);if(U!==null&&o.len+U.len>=E){const H=C.sn;return this.loopSn!==H&&(this.log(`buffer full after gaps in "${m}" playlist starting at sn: ${H}`),this.loopSn=H),null}}return this.loopSn=void 0,C}get primaryPrefetch(){if(Ss(this.hls.config)){var t,n;if((t=this.hls.interstitialsManager)==null||(n=t.playingItem)==null?void 0:n.event)return!0}return!1}filterReplacedPrimary(t,n){if(!t)return t;if(Ss(this.hls.config)&&t.type!==u.SUBTITLE){const o=this.hls.interstitialsManager,m=o==null?void 0:o.bufferingItem;if(m){const C=m.event;if(C){if(C.appendInPlace||Math.abs(t.start-m.start)>1||m.start===0)return null}else if(t.end<=m.start&&(n==null?void 0:n.live)===!1||t.start>m.end&&m.nextEvent&&(m.nextEvent.appendInPlace||t.start-m.end>1))return null}const E=o==null?void 0:o.playerQueue;if(E)for(let C=E.length;C--;){const U=E[C].interstitial;if(U.appendInPlace&&t.start>=U.startTime&&t.end<=U.resumeTime)return null}}return t}mapToInitFragWhenRequired(t){return t!=null&&t.initSegment&&!(t!=null&&t.initSegment.data)&&!this.bitrateTest?t.initSegment:t}getNextPart(t,n,o){let m=-1,E=!1,C=!0;for(let U=0,H=t.length;U<H;U++){const $=t[U];if(C=C&&!$.independent,m>-1&&o<$.start)break;const ae=$.loaded;ae?m=-1:(E||$.independent||C)&&$.fragment===n&&(m=U),E=ae}return m}loadedEndOfParts(t,n){const o=t[t.length-1];return o&&n>o.start&&o.loaded}getInitialLiveFragment(t,n){const o=this.fragPrevious;let m=null;if(o){if(t.hasProgramDateTime&&(this.log(`Live playlist, switching playlist, load frag with same PDT: ${o.programDateTime}`),m=si(n,o.endProgramDateTime,this.config.maxFragLookUpTolerance)),!m){const E=o.sn+1;if(E>=t.startSN&&E<=t.endSN){const C=n[E-t.startSN];o.cc===C.cc&&(m=C,this.log(`Live playlist, switching playlist, load frag with next SN: ${m.sn}`))}m||(m=It(n,o.cc),m&&this.log(`Live playlist, switching playlist, load frag with same CC: ${m.sn}`))}}else{const E=this.hls.liveSyncPosition;E!==null&&(m=this.getFragmentAtPosition(E,this.bitrateTest?t.fragmentEnd:t.edge,t))}return m}getFragmentAtPosition(t,n,o){const{config:m}=this;let{fragPrevious:E}=this,{fragments:C,endSN:U}=o;const{fragmentHint:H}=o,{maxFragLookUpTolerance:$}=m,ae=o.partList,ce=!!(this.loadingParts&&ae!=null&&ae.length&&H);ce&&H&&!this.bitrateTest&&ae[ae.length-1].fragment.sn===H.sn&&(C=C.concat(H),U=H.sn);let xe;if(t<n){var Te;const tt=t<this.lastCurrentTime||t>n-$||(Te=this.media)!=null&&Te.paused||!this.startFragRequested?0:$;xe=En(E,C,t,tt)}else xe=C[C.length-1];if(xe){const De=xe.sn-o.startSN,tt=this.fragmentTracker.getState(xe);if((tt===Er.OK||tt===Er.PARTIAL&&xe.gap)&&(E=xe),E&&xe.sn===E.sn&&(!ce||ae[0].fragment.sn>xe.sn||!o.live&&!ce)&&E&&xe.level===E.level){const Bt=C[De+1];xe.sn<U&&this.fragmentTracker.getState(Bt)!==Er.OK?xe=Bt:xe=null}}return xe}alignPlaylists(t,n,o){const m=t.fragments.length;if(!m)return this.warn("No fragments in live playlist"),0;const E=t.fragmentStart,C=!n,U=t.alignedSliding&&r(E);if(C||!U&&!E){Qi(o,t);const H=t.fragmentStart;return this.log(`Live playlist sliding: ${H.toFixed(2)} start-sn: ${n?n.startSN:"na"}->${t.startSN} fragments: ${m}`),H}return E}waitForCdnTuneIn(t){return t.live&&t.canBlockReload&&t.partTarget&&t.tuneInGoal>Math.max(t.partHoldBack,t.partTarget*3)}setStartPosition(t,n){let o=this.startPosition;o<n&&(o=-1);const m=this.timelineOffset;if(o===-1){const E=this.startTimeOffset!==null,C=E?this.startTimeOffset:t.startTimeOffset;C!==null&&r(C)?(o=n+C,C<0&&(o+=t.edge),o=Math.min(Math.max(n,o),n+t.totalduration),this.log(`Setting startPosition to ${o} for start time offset ${C} found in ${E?"multivariant":"media"} playlist`),this.startPosition=o):t.live?(o=this.hls.liveSyncPosition||n,this.log(`Setting startPosition to -1 to start at live edge ${o}`),this.startPosition=-1):(this.log("setting startPosition to 0 by default"),this.startPosition=o=0),this.lastCurrentTime=o+m}this.nextLoadPosition=o+m}getLoadPosition(){var t;const{media:n}=this;let o=0;return(t=this.hls)!=null&&t.hasEnoughToStart&&n?o=n.currentTime:this.nextLoadPosition>=0&&(o=this.nextLoadPosition),o}handleFragLoadAborted(t,n){this.transmuxer&&t.type===this.playlistType&&_e(t)&&t.stats.aborted&&(this.warn(`Fragment ${t.sn}${n?" part "+n.index:""} of ${this.playlistLabel()} ${t.level} was aborted`),this.resetFragmentLoading(t))}resetFragmentLoading(t){(!this.fragCurrent||!this.fragContextChanged(t)&&this.state!==zr.FRAG_LOADING_WAITING_RETRY)&&(this.state=zr.IDLE)}onFragmentOrKeyLoadError(t,n){if(n.chunkMeta&&!n.frag){const De=this.getCurrentContext(n.chunkMeta);De&&(n.frag=De.frag)}const o=n.frag;if(!o||o.type!==t||!this.levels)return;if(this.fragContextChanged(o)){var m;this.warn(`Frag load error must match current frag to retry ${o.url} > ${(m=this.fragCurrent)==null?void 0:m.url}`);return}const E=n.details===f.FRAG_GAP;E&&this.fragmentTracker.fragBuffered(o,!0);const C=n.errorAction,{action:U,flags:H,retryCount:$=0,retryConfig:ae}=C||{},ce=!!C&&!!ae,xe=ce&&U===Ee.RetryRequest,Te=ce&&!C.resolved&&H===it.MoveAllAlternatesMatchingHost;if(!xe&&Te&&_e(o)&&!o.endList)this.resetFragmentErrors(t),this.treatAsGap(o),C.resolved=!0;else if((xe||Te)&&$<ae.maxNumRetry){this.resetStartWhenNotLoaded(this.levelLastLoaded);const De=Ir(ae,$);this.warn(`Fragment ${o.sn} of ${t} ${o.level} errored with ${n.details}, retrying loading ${$+1}/${ae.maxNumRetry} in ${De}ms`),C.resolved=!0,this.retryDate=self.performance.now()+De,this.state=zr.FRAG_LOADING_WAITING_RETRY}else if(ae&&C)if(this.resetFragmentErrors(t),$<ae.maxNumRetry)!E&&U!==Ee.RemoveAlternatePermanently&&(C.resolved=!0);else{this.warn(`${n.details} reached or exceeded max retry (${$})`);return}else U===Ee.SendAlternateToPenaltyBox?this.state=zr.WAITING_LEVEL:this.state=zr.ERROR;this.tickImmediate()}reduceLengthAndFlushBuffer(t){if(this.state===zr.PARSING||this.state===zr.PARSED){const n=t.frag,o=t.parent,m=this.getFwdBufferInfo(this.mediaBuffer,o),E=m&&m.len>.5;E&&this.reduceMaxBufferLength(m.len,(n==null?void 0:n.duration)||10);const C=!E;return C&&this.warn(`Buffer full error while media.currentTime is not buffered, flush ${o} buffer`),n&&(this.fragmentTracker.removeFragment(n),this.nextLoadPosition=n.start),this.resetLoadingState(),C}return!1}resetFragmentErrors(t){t===u.AUDIO&&(this.fragCurrent=null),this.hls.hasEnoughToStart||(this.startFragRequested=!1),this.state!==zr.STOPPED&&(this.state=zr.IDLE)}afterBufferFlushed(t,n,o){if(!t)return;const m=yi.getBuffered(t);this.fragmentTracker.detectEvictedFragments(n,m,o),this.state===zr.ENDED&&this.resetLoadingState()}resetLoadingState(){this.log("Reset loading state"),this.fragCurrent=null,this.fragPrevious=null,this.state!==zr.STOPPED&&(this.state=zr.IDLE)}resetStartWhenNotLoaded(t){if(!this.hls.hasEnoughToStart){this.startFragRequested=!1;const n=t?t.details:null;n!=null&&n.live?(this.log("resetting startPosition for live start"),this.startPosition=-1,this.setStartPosition(n,n.fragmentStart),this.resetLoadingState()):this.nextLoadPosition=this.startPosition}}resetWhenMissingContext(t){this.warn(`The loading context changed while buffering fragment ${t.sn} of ${this.playlistLabel()} ${t.level}. This chunk will not be buffered.`),this.removeUnbufferedFrags(),this.resetStartWhenNotLoaded(this.levelLastLoaded),this.resetLoadingState()}removeUnbufferedFrags(t=0){this.fragmentTracker.removeFragmentsInRange(t,1/0,this.playlistType,!1,!0)}updateLevelTiming(t,n,o,m){const E=o.details;if(!E){this.warn("level.details undefined");return}if(!Object.keys(t.elementaryStreams).reduce((H,$)=>{const ae=t.elementaryStreams[$];if(ae){const ce=ae.endPTS-ae.startPTS;if(ce<=0)return this.warn(`Could not parse fragment ${t.sn} ${$} duration reliably (${ce})`),H||!1;const xe=m?0:sr(E,t,ae.startPTS,ae.endPTS,ae.startDTS,ae.endDTS);return this.hls.trigger(s.LEVEL_PTS_UPDATED,{details:E,level:o,drift:xe,type:$,frag:t,start:ae.startPTS,end:ae.endPTS}),!0}return H},!1)){var U;if(o.fragmentError===0&&this.treatAsGap(t,o),((U=this.transmuxer)==null?void 0:U.error)===null){const H=new Error(`Found no media in fragment ${t.sn} of ${this.playlistLabel()} ${t.level} resetting transmuxer to fallback to playlist timing`);if(this.warn(H.message),this.hls.trigger(s.ERROR,{type:c.MEDIA_ERROR,details:f.FRAG_PARSING_ERROR,fatal:!1,error:H,frag:t,reason:`Found no media in msn ${t.sn} of ${this.playlistLabel()} "${o.url}"`}),!this.hls)return;this.resetTransmuxer()}}this.state=zr.PARSED,this.log(`Parsed ${t.type} sn: ${t.sn}${n?" part: "+n.index:""} of ${this.fragInfo(t,!1,n)})`),this.hls.trigger(s.FRAG_PARSED,{frag:t,part:n})}playlistLabel(){return this.playlistType===u.MAIN?"level":"track"}fragInfo(t,n=!0,o){var m,E;return`${this.playlistLabel()} ${t.level} (${o?"part":"frag"}:[${((m=n&&!o?t.startPTS:(o||t).start)!=null?m:NaN).toFixed(3)}-${((E=n&&!o?t.endPTS:(o||t).end)!=null?E:NaN).toFixed(3)}]${o&&t.type==="main"?"INDEPENDENT="+(o.independent?"YES":"NO"):""}`}treatAsGap(t,n){n&&n.fragmentError++,t.gap=!0,this.fragmentTracker.removeFragment(t),this.fragmentTracker.fragBuffered(t,!0)}resetTransmuxer(){var t;(t=this.transmuxer)==null||t.reset()}recoverWorkerError(t){t.event==="demuxerWorker"&&(this.fragmentTracker.removeAllFragments(),this.transmuxer&&(this.transmuxer.destroy(),this.transmuxer=null),this.resetStartWhenNotLoaded(this.levelLastLoaded),this.resetLoadingState())}set state(t){const n=this._state;n!==t&&(this._state=t,this.log(`${n}->${t}`))}get state(){return this._state}}function Ss(P){return!!P.interstitialsController&&P.enableInterstitialPlayback!==!1}class ci{constructor(){this.chunks=[],this.dataLength=0}push(t){this.chunks.push(t),this.dataLength+=t.length}flush(){const{chunks:t,dataLength:n}=this;let o;if(t.length)t.length===1?o=t[0]:o=Vs(t,n);else return new Uint8Array(0);return this.reset(),o}reset(){this.chunks.length=0,this.dataLength=0}}function Vs(P,t){const n=new Uint8Array(t);let o=0;for(let m=0;m<P.length;m++){const E=P[m];n.set(E,o),o+=E.length}return n}var xo={exports:{}},Os;function xa(){return Os||(Os=1,function(P){var t=Object.prototype.hasOwnProperty,n="~";function o(){}Object.create&&(o.prototype=Object.create(null),new o().__proto__||(n=!1));function m(H,$,ae){this.fn=H,this.context=$,this.once=ae||!1}function E(H,$,ae,ce,xe){if(typeof ae!="function")throw new TypeError("The listener must be a function");var Te=new m(ae,ce||H,xe),De=n?n+$:$;return H._events[De]?H._events[De].fn?H._events[De]=[H._events[De],Te]:H._events[De].push(Te):(H._events[De]=Te,H._eventsCount++),H}function C(H,$){--H._eventsCount===0?H._events=new o:delete H._events[$]}function U(){this._events=new o,this._eventsCount=0}U.prototype.eventNames=function(){var $=[],ae,ce;if(this._eventsCount===0)return $;for(ce in ae=this._events)t.call(ae,ce)&&$.push(n?ce.slice(1):ce);return Object.getOwnPropertySymbols?$.concat(Object.getOwnPropertySymbols(ae)):$},U.prototype.listeners=function($){var ae=n?n+$:$,ce=this._events[ae];if(!ce)return[];if(ce.fn)return[ce.fn];for(var xe=0,Te=ce.length,De=new Array(Te);xe<Te;xe++)De[xe]=ce[xe].fn;return De},U.prototype.listenerCount=function($){var ae=n?n+$:$,ce=this._events[ae];return ce?ce.fn?1:ce.length:0},U.prototype.emit=function($,ae,ce,xe,Te,De){var tt=n?n+$:$;if(!this._events[tt])return!1;var at=this._events[tt],Bt=arguments.length,dr,ar;if(at.fn){switch(at.once&&this.removeListener($,at.fn,void 0,!0),Bt){case 1:return at.fn.call(at.context),!0;case 2:return at.fn.call(at.context,ae),!0;case 3:return at.fn.call(at.context,ae,ce),!0;case 4:return at.fn.call(at.context,ae,ce,xe),!0;case 5:return at.fn.call(at.context,ae,ce,xe,Te),!0;case 6:return at.fn.call(at.context,ae,ce,xe,Te,De),!0}for(ar=1,dr=new Array(Bt-1);ar<Bt;ar++)dr[ar-1]=arguments[ar];at.fn.apply(at.context,dr)}else{var Zr=at.length,Gr;for(ar=0;ar<Zr;ar++)switch(at[ar].once&&this.removeListener($,at[ar].fn,void 0,!0),Bt){case 1:at[ar].fn.call(at[ar].context);break;case 2:at[ar].fn.call(at[ar].context,ae);break;case 3:at[ar].fn.call(at[ar].context,ae,ce);break;case 4:at[ar].fn.call(at[ar].context,ae,ce,xe);break;default:if(!dr)for(Gr=1,dr=new Array(Bt-1);Gr<Bt;Gr++)dr[Gr-1]=arguments[Gr];at[ar].fn.apply(at[ar].context,dr)}}return!0},U.prototype.on=function($,ae,ce){return E(this,$,ae,ce,!1)},U.prototype.once=function($,ae,ce){return E(this,$,ae,ce,!0)},U.prototype.removeListener=function($,ae,ce,xe){var Te=n?n+$:$;if(!this._events[Te])return this;if(!ae)return C(this,Te),this;var De=this._events[Te];if(De.fn)De.fn===ae&&(!xe||De.once)&&(!ce||De.context===ce)&&C(this,Te);else{for(var tt=0,at=[],Bt=De.length;tt<Bt;tt++)(De[tt].fn!==ae||xe&&!De[tt].once||ce&&De[tt].context!==ce)&&at.push(De[tt]);at.length?this._events[Te]=at.length===1?at[0]:at:C(this,Te)}return this},U.prototype.removeAllListeners=function($){var ae;return $?(ae=n?n+$:$,this._events[ae]&&C(this,ae)):(this._events=new o,this._eventsCount=0),this},U.prototype.off=U.prototype.removeListener,U.prototype.addListener=U.prototype.on,U.prefixed=n,U.EventEmitter=U,P.exports=U}(xo)),xo.exports}var ds=xa(),ks=G(ds);const In="1.6.2",gs={};function Ns(){return typeof __HLS_WORKER_BUNDLE__=="function"}function Ye(){const P=gs[In];if(P)return P.clientCount++,P;const t=new self.Blob([`var exports={};var module={exports:exports};function define(f){f()};define.amd=true;(${__HLS_WORKER_BUNDLE__.toString()})(true);`],{type:"text/javascript"}),n=self.URL.createObjectURL(t),m={worker:new self.Worker(n),objectURL:n,clientCount:1};return gs[In]=m,m}function Qe(P){const t=gs[P];if(t)return t.clientCount++,t;const n=new self.URL(P,self.location.href).href,m={worker:new self.Worker(n),scriptURL:n,clientCount:1};return gs[P]=m,m}function Mt(P){const t=gs[P||In];if(t&&t.clientCount--===1){const{worker:o,objectURL:m}=t;delete gs[P||In],m&&self.URL.revokeObjectURL(m),o.terminate()}}function Kt(P,t){return t+10<=P.length&&P[t]===51&&P[t+1]===68&&P[t+2]===73&&P[t+3]<255&&P[t+4]<255&&P[t+6]<128&&P[t+7]<128&&P[t+8]<128&&P[t+9]<128}function hr(P,t){return t+10<=P.length&&P[t]===73&&P[t+1]===68&&P[t+2]===51&&P[t+3]<255&&P[t+4]<255&&P[t+6]<128&&P[t+7]<128&&P[t+8]<128&&P[t+9]<128}function Rr(P,t){let n=0;return n=(P[t]&127)<<21,n|=(P[t+1]&127)<<14,n|=(P[t+2]&127)<<7,n|=P[t+3]&127,n}function jr(P,t){const n=t;let o=0;for(;hr(P,t);){o+=10;const m=Rr(P,t+6);o+=m,Kt(P,t+10)&&(o+=10),t+=o}if(o>0)return P.subarray(n,n+o)}function vn(P,t,n,o){const m=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350],E=t[n+2],C=E>>2&15;if(C>12){const Te=new Error(`invalid ADTS sampling index:${C}`);P.emit(s.ERROR,s.ERROR,{type:c.MEDIA_ERROR,details:f.FRAG_PARSING_ERROR,fatal:!0,error:Te,reason:Te.message});return}const U=(E>>6&3)+1,H=t[n+3]>>6&3|(E&1)<<2,$="mp4a.40."+U,ae=m[C];let ce=C;(U===5||U===29)&&(ce-=3);const xe=[U<<3|(ce&14)>>1,(ce&1)<<7|H<<3];return Y.log(`manifest codec:${o}, parsed codec:${$}, channels:${H}, rate:${ae} (ADTS object type:${U} sampling index:${C})`),{config:xe,samplerate:ae,channelCount:H,codec:$,parsedCodec:$,manifestCodec:o}}function nn(P,t){return P[t]===255&&(P[t+1]&246)===240}function gn(P,t){return P[t+1]&1?7:9}function Qn(P,t){return(P[t+3]&3)<<11|P[t+4]<<3|(P[t+5]&224)>>>5}function ni(P,t){return t+5<P.length}function _i(P,t){return t+1<P.length&&nn(P,t)}function Ii(P,t){return ni(P,t)&&nn(P,t)&&Qn(P,t)<=P.length-t}function Hi(P,t){if(_i(P,t)){const n=gn(P,t);if(t+n>=P.length)return!1;const o=Qn(P,t);if(o<=n)return!1;const m=t+o;return m===P.length||_i(P,m)}return!1}function Mi(P,t,n,o,m){if(!P.samplerate){const E=vn(t,n,o,m);if(!E)return;y(P,E)}}function wi(P){return 9216e4/P}function ma(P,t){const n=gn(P,t);if(t+n<=P.length){const o=Qn(P,t)-n;if(o>0)return{headerLength:n,frameLength:o}}}function Ci(P,t,n,o,m){const E=wi(P.samplerate),C=o+m*E,U=ma(t,n);let H;if(U){const{frameLength:ce,headerLength:xe}=U,Te=xe+ce,De=Math.max(0,n+Te-t.length);De?(H=new Uint8Array(Te-xe),H.set(t.subarray(n+xe,t.length),0)):H=t.subarray(n+xe,n+Te);const tt={unit:H,pts:C};return De||P.samples.push(tt),{sample:tt,length:Te,missing:De}}const $=t.length-n;return H=new Uint8Array($),H.set(t.subarray(n,t.length),0),{sample:{unit:H,pts:C},length:$,missing:-1}}function bi(P,t){return hr(P,t)&&Rr(P,t+6)+10<=P.length-t}function fa(P){if(P.size<2)return;const t=K(P.data,!0),n=new Uint8Array(P.data.subarray(t.length+1));return{key:P.type,info:t,data:n.buffer}}function Ks(P){if(P.size<2)return;if(P.type==="TXXX"){let n=1;const o=K(P.data.subarray(n),!0);n+=o.length+1;const m=K(P.data.subarray(n));return{key:P.type,info:o,data:m}}const t=K(P.data.subarray(1));return{key:P.type,info:"",data:t}}function Es(P){if(P.type==="WXXX"){if(P.size<2)return;let n=1;const o=K(P.data.subarray(n),!0);n+=o.length+1;const m=K(P.data.subarray(n));return{key:P.type,info:o,data:m}}const t=K(P.data);return{key:P.type,info:"",data:t}}function Wi(P){return btoa(String.fromCharCode(...P))}function ka(P,t){if(P<0)return-ka(-P,t);const n=Math.pow(10,t);if(Math.abs(P*n%1-.5)<Number.EPSILON){const m=Math.floor(P*n);return(m%2===0?m:m+1)/n}else return Math.round(P*n)/n}function ea(P,t){const n=new URL(P),o=new URL(t);if(n.origin!==o.origin)return P;const m=n.pathname.split("/").slice(1),E=o.pathname.split("/").slice(1,-1);for(;m[0]===E[0];)m.shift(),E.shift();for(;E.length;)E.shift(),m.unshift("..");return m.join("/")}function ki(){try{return crypto.randomUUID()}catch(P){try{const t=URL.createObjectURL(new Blob),n=t.toString();return URL.revokeObjectURL(t),n.slice(n.lastIndexOf("/")+1)}catch(t){let n=new Date().getTime();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,m=>{const E=(n+Math.random()*16)%16|0;return n=Math.floor(n/16),(m=="x"?E:E&3|8).toString(16)})}}}function va(P){return P instanceof ArrayBuffer?P:P.byteOffset==0&&P.byteLength==P.buffer.byteLength?P.buffer:new Uint8Array(P).buffer}function Ba(P,t=0,n=1/0){return Ka(P,t,n,Uint8Array)}function Ka(P,t,n,o){const m=eo(P);let E=1;"BYTES_PER_ELEMENT"in o&&(E=o.BYTES_PER_ELEMENT);const C=qa(P)?P.byteOffset:0,U=(C+P.byteLength)/E,H=(C+t)/E,$=Math.floor(Math.max(0,Math.min(H,U))),ae=Math.floor(Math.min($+Math.max(n,0),U));return new o(m,$,ae-$)}function eo(P){return P instanceof ArrayBuffer?P:P.buffer}function qa(P){return P&&P.buffer instanceof ArrayBuffer&&P.byteLength!==void 0&&P.byteOffset!==void 0}function so(P){const t={key:P.type,description:"",data:"",mimeType:null,pictureType:null},n=3;if(P.size<2)return;if(P.data[0]!==n){console.log("Ignore frame with unrecognized character encoding");return}const o=P.data.subarray(1).indexOf(0);if(o===-1)return;const m=K(Ba(P.data,1,o)),E=P.data[2+o],C=P.data.subarray(3+o).indexOf(0);if(C===-1)return;const U=K(Ba(P.data,3+o,C));let H;return m==="-->"?H=K(Ba(P.data,4+o+C)):H=va(P.data.subarray(4+o+C)),t.mimeType=m,t.pictureType=E,t.description=U,t.data=H,t}function Ya(P){return P.type==="PRIV"?fa(P):P.type[0]==="W"?Es(P):P.type==="APIC"?so(P):Ks(P)}function Ys(P){const t=String.fromCharCode(P[0],P[1],P[2],P[3]),n=Rr(P,4),o=10;return{type:t,size:n,data:P.subarray(o,o+n)}}const Ms=10,da=10;function Ua(P){let t=0;const n=[];for(;hr(P,t);){const o=Rr(P,t+6);P[t+5]>>6&1&&(t+=Ms),t+=Ms;const m=t+o;for(;t+da<m;){const E=Ys(P.subarray(t)),C=Ya(E);C&&n.push(C),t+=E.size+Ms}Kt(P,t)&&(t+=Ms)}return n}function As(P){return P&&P.key==="PRIV"&&P.info==="com.apple.streaming.transportStreamTimestamp"}function ga(P){if(P.data.byteLength===8){const t=new Uint8Array(P.data),n=t[3]&1;let o=(t[4]<<23)+(t[5]<<15)+(t[6]<<7)+t[7];return o/=45,n&&(o+=4772185884e-2),Math.round(o)}}function ye(P){const t=Ua(P);for(let n=0;n<t.length;n++){const o=t[n];if(As(o))return ga(o)}}let we=function(P){return P.audioId3="org.id3",P.dateRange="com.apple.quicktime.HLS",P.emsg="https://aomedia.org/emsg/ID3",P.misbklv="urn:misb:KLV:bin:1910.1",P}({});function yr(P="",t=9e4){return{type:P,id:-1,pid:-1,inputTimeScale:t,sequenceNumber:-1,samples:[],dropped:0}}class Jr{constructor(){this._audioTrack=void 0,this._id3Track=void 0,this.frameIndex=0,this.cachedData=null,this.basePTS=null,this.initPTS=null,this.lastPTS=null}resetInitSegment(t,n,o,m){this._id3Track={type:"id3",id:3,pid:-1,inputTimeScale:9e4,sequenceNumber:0,samples:[],dropped:0}}resetTimeStamp(t){this.initPTS=t,this.resetContiguity()}resetContiguity(){this.basePTS=null,this.lastPTS=null,this.frameIndex=0}canParse(t,n){return!1}appendFrame(t,n,o){}demux(t,n){this.cachedData&&(t=Gt(this.cachedData,t),this.cachedData=null);let o=jr(t,0),m=o?o.length:0,E;const C=this._audioTrack,U=this._id3Track,H=o?ye(o):void 0,$=t.length;for((this.basePTS===null||this.frameIndex===0&&r(H))&&(this.basePTS=br(H,n,this.initPTS),this.lastPTS=this.basePTS),this.lastPTS===null&&(this.lastPTS=this.basePTS),o&&o.length>0&&U.samples.push({pts:this.lastPTS,dts:this.lastPTS,data:o,type:we.audioId3,duration:Number.POSITIVE_INFINITY});m<$;){if(this.canParse(t,m)){const ae=this.appendFrame(C,t,m);ae?(this.frameIndex++,this.lastPTS=ae.sample.pts,m+=ae.length,E=m):m=$}else bi(t,m)?(o=jr(t,m),U.samples.push({pts:this.lastPTS,dts:this.lastPTS,data:o,type:we.audioId3,duration:Number.POSITIVE_INFINITY}),m+=o.length,E=m):m++;if(m===$&&E!==$){const ae=t.slice(E);this.cachedData?this.cachedData=Gt(this.cachedData,ae):this.cachedData=ae}}return{audioTrack:C,videoTrack:yr(),id3Track:U,textTrack:yr()}}demuxSampleAes(t,n,o){return Promise.reject(new Error(`[${this}] This demuxer does not support Sample-AES decryption`))}flush(t){const n=this.cachedData;return n&&(this.cachedData=null,this.demux(n,0)),{audioTrack:this._audioTrack,videoTrack:yr(),id3Track:this._id3Track,textTrack:yr()}}destroy(){this.cachedData=null,this._audioTrack=this._id3Track=void 0}}const br=(P,t,n)=>{if(r(P))return P*90;const o=n?n.baseTime*9e4/n.timescale:0;return t*9e4+o};let Qr=null;const Cn=[32,64,96,128,160,192,224,256,288,320,352,384,416,448,32,48,56,64,80,96,112,128,160,192,224,256,320,384,32,40,48,56,64,80,96,112,128,160,192,224,256,320,32,48,56,64,80,96,112,128,144,160,176,192,224,256,8,16,24,32,40,48,56,64,80,96,112,128,144,160],ri=[44100,48e3,32e3,22050,24e3,16e3,11025,12e3,8e3],Fi=[[0,72,144,12],[0,0,0,0],[0,72,144,12],[0,144,144,12]],Mn=[0,1,1,4];function Dn(P,t,n,o,m){if(n+24>t.length)return;const E=Bn(t,n);if(E&&n+E.frameLength<=t.length){const C=E.samplesPerFrame*9e4/E.sampleRate,U=o+m*C,H={unit:t.subarray(n,n+E.frameLength),pts:U,dts:U};return P.config=[],P.channelCount=E.channelCount,P.samplerate=E.sampleRate,P.samples.push(H),{sample:H,length:E.frameLength,missing:0}}}function Bn(P,t){const n=P[t+1]>>3&3,o=P[t+1]>>1&3,m=P[t+2]>>4&15,E=P[t+2]>>2&3;if(n!==1&&m!==0&&m!==15&&E!==3){const C=P[t+2]>>1&1,U=P[t+3]>>6,H=n===3?3-o:o===3?3:4,$=Cn[H*14+m-1]*1e3,ce=ri[(n===3?0:n===2?1:2)*3+E],xe=U===3?1:2,Te=Fi[n][o],De=Mn[o],tt=Te*8*De,at=Math.floor(Te*$/ce+C)*De;if(Qr===null){const ar=(navigator.userAgent||"").match(/Chrome\/(\d+)/i);Qr=ar?parseInt(ar[1]):0}return!!Qr&&Qr<=87&&o===2&&$>=224e3&&U===0&&(P[t+3]=P[t+3]|128),{sampleRate:ce,channelCount:xe,frameLength:at,samplesPerFrame:tt}}}function ia(P,t){return P[t]===255&&(P[t+1]&224)===224&&(P[t+1]&6)!==0}function Ui(P,t){return t+1<P.length&&ia(P,t)}function ho(P,t){return ia(P,t)&&4<=P.length-t}function Xs(P,t){if(t+1<P.length&&ia(P,t)){const o=Bn(P,t);let m=4;o!=null&&o.frameLength&&(m=o.frameLength);const E=t+m;return E===P.length||Ui(P,E)}return!1}class eu extends Jr{constructor(t,n){super(),this.observer=void 0,this.config=void 0,this.observer=t,this.config=n}resetInitSegment(t,n,o,m){super.resetInitSegment(t,n,o,m),this._audioTrack={container:"audio/adts",type:"audio",id:2,pid:-1,sequenceNumber:0,segmentCodec:"aac",samples:[],manifestCodec:n,duration:m,inputTimeScale:9e4,dropped:0}}static probe(t,n){if(!t)return!1;const o=jr(t,0);let m=(o==null?void 0:o.length)||0;if(Xs(t,m))return!1;for(let E=t.length;m<E;m++)if(Hi(t,m))return n.log("ADTS sync word found !"),!0;return!1}canParse(t,n){return Ii(t,n)}appendFrame(t,n,o){Mi(t,this.observer,n,o,t.manifestCodec);const m=Ci(t,n,o,this.basePTS,this.frameIndex);if(m&&m.missing===0)return m}}const hl=(P,t)=>{let n=0,o=5;t+=o;const m=new Uint32Array(1),E=new Uint32Array(1),C=new Uint8Array(1);for(;o>0;){C[0]=P[t];const U=Math.min(o,8),H=8-U;E[0]=4278190080>>>24+H<<H,m[0]=(C[0]&E[0])>>H,n=n?n<<U|m[0]:m[0],t+=1,o-=U}return n};class qu extends Jr{constructor(t){super(),this.observer=void 0,this.observer=t}resetInitSegment(t,n,o,m){super.resetInitSegment(t,n,o,m),this._audioTrack={container:"audio/ac-3",type:"audio",id:2,pid:-1,sequenceNumber:0,segmentCodec:"ac3",samples:[],manifestCodec:n,duration:m,inputTimeScale:9e4,dropped:0}}canParse(t,n){return n+64<t.length}appendFrame(t,n,o){const m=vu(t,n,o,this.basePTS,this.frameIndex);if(m!==-1)return{sample:t.samples[t.samples.length-1],length:m,missing:0}}static probe(t){if(!t)return!1;const n=jr(t,0);if(!n)return!1;const o=n.length;return t[o]===11&&t[o+1]===119&&ye(n)!==void 0&&hl(t,o)<16}}function vu(P,t,n,o,m){if(n+8>t.length||t[n]!==11||t[n+1]!==119)return-1;const E=t[n+4]>>6;if(E>=3)return-1;const U=[48e3,44100,32e3][E],H=t[n+4]&63,ae=[64,69,96,64,70,96,80,87,120,80,88,120,96,104,144,96,105,144,112,121,168,112,122,168,128,139,192,128,140,192,160,174,240,160,175,240,192,208,288,192,209,288,224,243,336,224,244,336,256,278,384,256,279,384,320,348,480,320,349,480,384,417,576,384,418,576,448,487,672,448,488,672,512,557,768,512,558,768,640,696,960,640,697,960,768,835,1152,768,836,1152,896,975,1344,896,976,1344,1024,1114,1536,1024,1115,1536,1152,1253,1728,1152,1254,1728,1280,1393,1920,1280,1394,1920][H*3+E]*2;if(n+ae>t.length)return-1;const ce=t[n+6]>>5;let xe=0;ce===2?xe+=2:(ce&1&&ce!==1&&(xe+=2),ce&4&&(xe+=2));const Te=(t[n+6]<<8|t[n+7])>>12-xe&1,tt=[2,1,2,3,3,4,4,5][ce]+Te,at=t[n+5]>>3,Bt=t[n+5]&7,dr=new Uint8Array([E<<6|at<<1|Bt>>2,(Bt&3)<<6|ce<<3|Te<<2|H>>4,H<<4&224]),ar=1536/U*9e4,Zr=o+m*ar,Gr=t.subarray(n,n+ae);return P.config=dr,P.channelCount=tt,P.samplerate=U,P.samples.push({unit:Gr,pts:Zr}),ae}class Uc extends Jr{resetInitSegment(t,n,o,m){super.resetInitSegment(t,n,o,m),this._audioTrack={container:"audio/mpeg",type:"audio",id:2,pid:-1,sequenceNumber:0,segmentCodec:"mp3",samples:[],manifestCodec:n,duration:m,inputTimeScale:9e4,dropped:0}}static probe(t){if(!t)return!1;const n=jr(t,0);let o=(n==null?void 0:n.length)||0;if(n&&t[o]===11&&t[o+1]===119&&ye(n)!==void 0&&hl(t,o)<=16)return!1;for(let m=t.length;o<m;o++)if(Xs(t,o))return Y.log("MPEG Audio sync word found !"),!0;return!1}canParse(t,n){return ho(t,n)}appendFrame(t,n,o){if(this.basePTS!==null)return Dn(t,n,o,this.basePTS,this.frameIndex)}}const Pu=/\/emsg[-/]ID3/i;class Ve{constructor(t,n){this.remainderData=null,this.timeOffset=0,this.config=void 0,this.videoTrack=void 0,this.audioTrack=void 0,this.id3Track=void 0,this.txtTrack=void 0,this.config=n}resetTimeStamp(){}resetInitSegment(t,n,o,m){const E=this.videoTrack=yr("video",1),C=this.audioTrack=yr("audio",1),U=this.txtTrack=yr("text",1);if(this.id3Track=yr("id3",1),this.timeOffset=0,!(t!=null&&t.byteLength))return;const H=Je(t);if(H.video){const{id:$,timescale:ae,codec:ce,supplemental:xe}=H.video;E.id=$,E.timescale=U.timescale=ae,E.codec=ce,E.supplemental=xe}if(H.audio){const{id:$,timescale:ae,codec:ce}=H.audio;C.id=$,C.timescale=ae,C.codec=ce}U.id=Ot.text,E.sampleDuration=0,E.duration=C.duration=m}resetContiguity(){this.remainderData=null}static probe(t){return st(t)}demux(t,n){this.timeOffset=n;let o=t;const m=this.videoTrack,E=this.txtTrack;if(this.config.progressive){this.remainderData&&(o=Gt(this.remainderData,t));const U=qe(o);this.remainderData=U.remainder,m.samples=U.valid||new Uint8Array}else m.samples=o;const C=this.extractID3Track(m,n);return E.samples=kt(n,m),{videoTrack:m,audioTrack:this.audioTrack,id3Track:C,textTrack:this.txtTrack}}flush(){const t=this.timeOffset,n=this.videoTrack,o=this.txtTrack;n.samples=this.remainderData||new Uint8Array,this.remainderData=null;const m=this.extractID3Track(n,this.timeOffset);return o.samples=kt(t,n),{videoTrack:n,audioTrack:yr(),id3Track:m,textTrack:yr()}}extractID3Track(t,n){const o=this.id3Track;if(t.samples.length){const m=yt(t.samples,["emsg"]);m&&m.forEach(E=>{const C=We(E);if(Pu.test(C.schemeIdUri)){const U=W(C,n);let H=C.eventDuration===4294967295?Number.POSITIVE_INFINITY:C.eventDuration/C.timeScale;H<=.001&&(H=Number.POSITIVE_INFINITY);const $=C.payload;o.samples.push({data:$,len:$.byteLength,dts:U,pts:U,type:we.emsg,duration:H})}else if(this.config.enableEmsgKLVMetadata&&C.schemeIdUri.startsWith("urn:misb:KLV:bin:1910.1")){const U=W(C,n);o.samples.push({data:C.payload,len:C.payload.byteLength,dts:U,pts:U,type:we.misbklv,duration:Number.POSITIVE_INFINITY})}})}return o}demuxSampleAes(t,n,o){return Promise.reject(new Error("The MP4 demuxer does not support SAMPLE-AES decryption"))}destroy(){this.config=null,this.remainderData=null,this.videoTrack=this.audioTrack=this.id3Track=this.txtTrack=void 0}}function W(P,t){return r(P.presentationTime)?P.presentationTime/P.timeScale:t+P.presentationTimeDelta/P.timeScale}class ee{constructor(t,n,o){this.keyData=void 0,this.decrypter=void 0,this.keyData=o,this.decrypter=new pn(n,{removePKCS7Padding:!1})}decryptBuffer(t){return this.decrypter.decrypt(t,this.keyData.key.buffer,this.keyData.iv.buffer,un.cbc)}decryptAacSample(t,n,o){const m=t[n].unit;if(m.length<=16)return;const E=m.subarray(16,m.length-m.length%16),C=E.buffer.slice(E.byteOffset,E.byteOffset+E.length);this.decryptBuffer(C).then(U=>{const H=new Uint8Array(U);m.set(H,16),this.decrypter.isSync()||this.decryptAacSamples(t,n+1,o)})}decryptAacSamples(t,n,o){for(;;n++){if(n>=t.length){o();return}if(!(t[n].unit.length<32)&&(this.decryptAacSample(t,n,o),!this.decrypter.isSync()))return}}getAvcEncryptedData(t){const n=Math.floor((t.length-48)/160)*16+16,o=new Int8Array(n);let m=0;for(let E=32;E<t.length-16;E+=160,m+=16)o.set(t.subarray(E,E+16),m);return o}getAvcDecryptedUnit(t,n){const o=new Uint8Array(n);let m=0;for(let E=32;E<t.length-16;E+=160,m+=16)t.set(o.subarray(m,m+16),E);return t}decryptAvcSample(t,n,o,m,E){const C=Yt(E.data),U=this.getAvcEncryptedData(C);this.decryptBuffer(U.buffer).then(H=>{E.data=this.getAvcDecryptedUnit(C,H),this.decrypter.isSync()||this.decryptAvcSamples(t,n,o+1,m)})}decryptAvcSamples(t,n,o,m){if(t instanceof Uint8Array)throw new Error("Cannot decrypt samples of type Uint8Array");for(;;n++,o=0){if(n>=t.length){m();return}const E=t[n].units;for(;!(o>=E.length);o++){const C=E[o];if(!(C.data.length<=48||C.type!==1&&C.type!==5)&&(this.decryptAvcSample(t,n,o,m,C),!this.decrypter.isSync()))return}}}}class ne{constructor(){this.VideoSample=null}createVideoSample(t,n,o){return{key:t,frame:!1,pts:n,dts:o,units:[],length:0}}getLastNalUnit(t){var n;let o=this.VideoSample,m;if((!o||o.units.length===0)&&(o=t[t.length-1]),(n=o)!=null&&n.units){const E=o.units;m=E[E.length-1]}return m}pushAccessUnit(t,n){if(t.units.length&&t.frame){if(t.pts===void 0){const o=n.samples,m=o.length;if(m){const E=o[m-1];t.pts=E.pts,t.dts=E.dts}else{n.dropped++;return}}n.samples.push(t)}}parseNALu(t,n,o){const m=n.byteLength;let E=t.naluState||0;const C=E,U=[];let H=0,$,ae,ce,xe=-1,Te=0;for(E===-1&&(xe=0,Te=this.getNALuType(n,0),E=0,H=1);H<m;){if($=n[H++],!E){E=$?0:1;continue}if(E===1){E=$?0:2;continue}if(!$)E=3;else if($===1){if(ae=H-E-1,xe>=0){const De={data:n.subarray(xe,ae),type:Te};U.push(De)}else{const De=this.getLastNalUnit(t.samples);De&&(C&&H<=4-C&&De.state&&(De.data=De.data.subarray(0,De.data.byteLength-C)),ae>0&&(De.data=Gt(De.data,n.subarray(0,ae)),De.state=0))}H<m?(ce=this.getNALuType(n,H),xe=H,Te=ce,E=0):E=-1}else E=0}if(xe>=0&&E>=0){const De={data:n.subarray(xe,m),type:Te,state:E};U.push(De)}if(U.length===0){const De=this.getLastNalUnit(t.samples);De&&(De.data=Gt(De.data,n))}return t.naluState=E,U}}class he{constructor(t){this.data=void 0,this.bytesAvailable=void 0,this.word=void 0,this.bitsAvailable=void 0,this.data=t,this.bytesAvailable=t.byteLength,this.word=0,this.bitsAvailable=0}loadWord(){const t=this.data,n=this.bytesAvailable,o=t.byteLength-n,m=new Uint8Array(4),E=Math.min(4,n);if(E===0)throw new Error("no bytes available");m.set(t.subarray(o,o+E)),this.word=new DataView(m.buffer).getUint32(0),this.bitsAvailable=E*8,this.bytesAvailable-=E}skipBits(t){let n;t=Math.min(t,this.bytesAvailable*8+this.bitsAvailable),this.bitsAvailable>t?(this.word<<=t,this.bitsAvailable-=t):(t-=this.bitsAvailable,n=t>>3,t-=n<<3,this.bytesAvailable-=n,this.loadWord(),this.word<<=t,this.bitsAvailable-=t)}readBits(t){let n=Math.min(this.bitsAvailable,t);const o=this.word>>>32-n;if(t>32&&Y.error("Cannot read more than 32 bits at a time"),this.bitsAvailable-=n,this.bitsAvailable>0)this.word<<=n;else if(this.bytesAvailable>0)this.loadWord();else throw new Error("no bits available");return n=t-n,n>0&&this.bitsAvailable?o<<n|this.readBits(n):o}skipLZ(){let t;for(t=0;t<this.bitsAvailable;++t)if(this.word&2147483648>>>t)return this.word<<=t,this.bitsAvailable-=t,t;return this.loadWord(),t+this.skipLZ()}skipUEG(){this.skipBits(1+this.skipLZ())}skipEG(){this.skipBits(1+this.skipLZ())}readUEG(){const t=this.skipLZ();return this.readBits(t+1)-1}readEG(){const t=this.readUEG();return 1&t?1+t>>>1:-1*(t>>>1)}readBoolean(){return this.readBits(1)===1}readUByte(){return this.readBits(8)}readUShort(){return this.readBits(16)}readUInt(){return this.readBits(32)}}class Ae extends ne{parsePES(t,n,o,m){const E=this.parseNALu(t,o.data,m);let C=this.VideoSample,U,H=!1;o.data=null,C&&E.length&&!t.audFound&&(this.pushAccessUnit(C,t),C=this.VideoSample=this.createVideoSample(!1,o.pts,o.dts)),E.forEach($=>{var ae,ce;switch($.type){case 1:{let tt=!1;U=!0;const at=$.data;if(H&&at.length>4){const Bt=this.readSliceType(at);(Bt===2||Bt===4||Bt===7||Bt===9)&&(tt=!0)}if(tt){var xe;(xe=C)!=null&&xe.frame&&!C.key&&(this.pushAccessUnit(C,t),C=this.VideoSample=null)}C||(C=this.VideoSample=this.createVideoSample(!0,o.pts,o.dts)),C.frame=!0,C.key=tt;break}case 5:U=!0,(ae=C)!=null&&ae.frame&&!C.key&&(this.pushAccessUnit(C,t),C=this.VideoSample=null),C||(C=this.VideoSample=this.createVideoSample(!0,o.pts,o.dts)),C.key=!0,C.frame=!0;break;case 6:{U=!0,Ct($.data,1,o.pts,n.samples);break}case 7:{var Te,De;U=!0,H=!0;const tt=$.data,at=this.readSPS(tt);if(!t.sps||t.width!==at.width||t.height!==at.height||((Te=t.pixelRatio)==null?void 0:Te[0])!==at.pixelRatio[0]||((De=t.pixelRatio)==null?void 0:De[1])!==at.pixelRatio[1]){t.width=at.width,t.height=at.height,t.pixelRatio=at.pixelRatio,t.sps=[tt];const Bt=tt.subarray(1,4);let dr="avc1.";for(let ar=0;ar<3;ar++){let Zr=Bt[ar].toString(16);Zr.length<2&&(Zr="0"+Zr),dr+=Zr}t.codec=dr}break}case 8:U=!0,t.pps=[$.data];break;case 9:U=!0,t.audFound=!0,(ce=C)!=null&&ce.frame&&(this.pushAccessUnit(C,t),C=null),C||(C=this.VideoSample=this.createVideoSample(!1,o.pts,o.dts));break;case 12:U=!0;break;default:U=!1;break}C&&U&&C.units.push($)}),m&&C&&(this.pushAccessUnit(C,t),this.VideoSample=null)}getNALuType(t,n){return t[n]&31}readSliceType(t){const n=new he(t);return n.readUByte(),n.readUEG(),n.readUEG()}skipScalingList(t,n){let o=8,m=8,E;for(let C=0;C<t;C++)m!==0&&(E=n.readEG(),m=(o+E+256)%256),o=m===0?o:m}readSPS(t){const n=new he(t);let o=0,m=0,E=0,C=0,U,H,$;const ae=n.readUByte.bind(n),ce=n.readBits.bind(n),xe=n.readUEG.bind(n),Te=n.readBoolean.bind(n),De=n.skipBits.bind(n),tt=n.skipEG.bind(n),at=n.skipUEG.bind(n),Bt=this.skipScalingList.bind(this);ae();const dr=ae();if(ce(5),De(3),ae(),at(),dr===100||dr===110||dr===122||dr===244||dr===44||dr===83||dr===86||dr===118||dr===128){const on=xe();if(on===3&&De(1),at(),at(),De(1),Te())for(H=on!==3?8:12,$=0;$<H;$++)Te()&&($<6?Bt(16,n):Bt(64,n))}at();const ar=xe();if(ar===0)xe();else if(ar===1)for(De(1),tt(),tt(),U=xe(),$=0;$<U;$++)tt();at(),De(1);const Zr=xe(),Gr=xe(),fn=ce(1);fn===0&&De(1),De(1),Te()&&(o=xe(),m=xe(),E=xe(),C=xe());let Vr=[1,1];if(Te()&&Te())switch(ae()){case 1:Vr=[1,1];break;case 2:Vr=[12,11];break;case 3:Vr=[10,11];break;case 4:Vr=[16,11];break;case 5:Vr=[40,33];break;case 6:Vr=[24,11];break;case 7:Vr=[20,11];break;case 8:Vr=[32,11];break;case 9:Vr=[80,33];break;case 10:Vr=[18,11];break;case 11:Vr=[15,11];break;case 12:Vr=[64,33];break;case 13:Vr=[160,99];break;case 14:Vr=[4,3];break;case 15:Vr=[3,2];break;case 16:Vr=[2,1];break;case 255:{Vr=[ae()<<8|ae(),ae()<<8|ae()];break}}return{width:Math.ceil((Zr+1)*16-o*2-m*2),height:(2-fn)*(Gr+1)*16-(fn?2:4)*(E+C),pixelRatio:Vr}}}class Ge extends ne{constructor(...t){super(...t),this.initVPS=null}parsePES(t,n,o,m){const E=this.parseNALu(t,o.data,m);let C=this.VideoSample,U,H=!1;o.data=null,C&&E.length&&!t.audFound&&(this.pushAccessUnit(C,t),C=this.VideoSample=this.createVideoSample(!1,o.pts,o.dts)),E.forEach($=>{var ae,ce;switch($.type){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:C||(C=this.VideoSample=this.createVideoSample(!1,o.pts,o.dts)),C.frame=!0,U=!0;break;case 16:case 17:case 18:case 21:if(U=!0,H){var xe;(xe=C)!=null&&xe.frame&&!C.key&&(this.pushAccessUnit(C,t),C=this.VideoSample=null)}C||(C=this.VideoSample=this.createVideoSample(!0,o.pts,o.dts)),C.key=!0,C.frame=!0;break;case 19:case 20:U=!0,(ae=C)!=null&&ae.frame&&!C.key&&(this.pushAccessUnit(C,t),C=this.VideoSample=null),C||(C=this.VideoSample=this.createVideoSample(!0,o.pts,o.dts)),C.key=!0,C.frame=!0;break;case 39:U=!0,Ct($.data,2,o.pts,n.samples);break;case 32:U=!0,t.vps||(typeof t.params!="object"&&(t.params={}),t.params=y(t.params,this.readVPS($.data)),this.initVPS=$.data),t.vps=[$.data];break;case 33:if(U=!0,H=!0,t.vps!==void 0&&t.vps[0]!==this.initVPS&&t.sps!==void 0&&!this.matchSPS(t.sps[0],$.data)&&(this.initVPS=t.vps[0],t.sps=t.pps=void 0),!t.sps){const Te=this.readSPS($.data);t.width=Te.width,t.height=Te.height,t.pixelRatio=Te.pixelRatio,t.codec=Te.codecString,t.sps=[],typeof t.params!="object"&&(t.params={});for(const De in Te.params)t.params[De]=Te.params[De]}this.pushParameterSet(t.sps,$.data,t.vps),C||(C=this.VideoSample=this.createVideoSample(!0,o.pts,o.dts)),C.key=!0;break;case 34:if(U=!0,typeof t.params=="object"){if(!t.pps){t.pps=[];const Te=this.readPPS($.data);for(const De in Te)t.params[De]=Te[De]}this.pushParameterSet(t.pps,$.data,t.vps)}break;case 35:U=!0,t.audFound=!0,(ce=C)!=null&&ce.frame&&(this.pushAccessUnit(C,t),C=null),C||(C=this.VideoSample=this.createVideoSample(!1,o.pts,o.dts));break;default:U=!1;break}C&&U&&C.units.push($)}),m&&C&&(this.pushAccessUnit(C,t),this.VideoSample=null)}pushParameterSet(t,n,o){(o&&o[0]===this.initVPS||!o&&!t.length)&&t.push(n)}getNALuType(t,n){return(t[n]&126)>>>1}ebsp2rbsp(t){const n=new Uint8Array(t.byteLength);let o=0;for(let m=0;m<t.byteLength;m++)m>=2&&t[m]===3&&t[m-1]===0&&t[m-2]===0||(n[o]=t[m],o++);return new Uint8Array(n.buffer,0,o)}pushAccessUnit(t,n){super.pushAccessUnit(t,n),this.initVPS&&(this.initVPS=null)}readVPS(t){const n=new he(t);n.readUByte(),n.readUByte(),n.readBits(4),n.skipBits(2),n.readBits(6);const o=n.readBits(3),m=n.readBoolean();return{numTemporalLayers:o+1,temporalIdNested:m}}readSPS(t){const n=new he(this.ebsp2rbsp(t));n.readUByte(),n.readUByte(),n.readBits(4);const o=n.readBits(3);n.readBoolean();const m=n.readBits(2),E=n.readBoolean(),C=n.readBits(5),U=n.readUByte(),H=n.readUByte(),$=n.readUByte(),ae=n.readUByte(),ce=n.readUByte(),xe=n.readUByte(),Te=n.readUByte(),De=n.readUByte(),tt=n.readUByte(),at=n.readUByte(),Bt=n.readUByte(),dr=[],ar=[];for(let Ts=0;Ts<o;Ts++)dr.push(n.readBoolean()),ar.push(n.readBoolean());if(o>0)for(let Ts=o;Ts<8;Ts++)n.readBits(2);for(let Ts=0;Ts<o;Ts++)dr[Ts]&&(n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte()),ar[Ts]&&n.readUByte();n.readUEG();const Zr=n.readUEG();Zr==3&&n.skipBits(1);const Gr=n.readUEG(),fn=n.readUEG(),Vr=n.readBoolean();let on=0,_n=0,Xr=0,Yn=0;Vr&&(on+=n.readUEG(),_n+=n.readUEG(),Xr+=n.readUEG(),Yn+=n.readUEG());const di=n.readUEG(),os=n.readUEG(),ya=n.readUEG(),Ji=n.readBoolean();for(let Ts=Ji?0:o;Ts<=o;Ts++)n.skipUEG(),n.skipUEG(),n.skipUEG();if(n.skipUEG(),n.skipUEG(),n.skipUEG(),n.skipUEG(),n.skipUEG(),n.skipUEG(),n.readBoolean()&&n.readBoolean())for(let pu=0;pu<4;pu++)for(let wl=0;wl<(pu===3?2:6);wl++)if(!n.readBoolean())n.readUEG();else{const Nl=Math.min(64,1<<4+(pu<<1));pu>1&&n.readEG();for(let gf=0;gf<Nl;gf++)n.readEG()}n.readBoolean(),n.readBoolean(),n.readBoolean()&&(n.readUByte(),n.skipUEG(),n.skipUEG(),n.readBoolean());const qi=n.readUEG();let Xn=0;for(let Ts=0;Ts<qi;Ts++){let pu=!1;if(Ts!==0&&(pu=n.readBoolean()),pu){Ts===qi&&n.readUEG(),n.readBoolean(),n.readUEG();let wl=0;for(let sf=0;sf<=Xn;sf++){const Nl=n.readBoolean();let gf=!1;Nl||(gf=n.readBoolean()),(Nl||gf)&&wl++}Xn=wl}else{const wl=n.readUEG(),sf=n.readUEG();Xn=wl+sf;for(let Nl=0;Nl<wl;Nl++)n.readUEG(),n.readBoolean();for(let Nl=0;Nl<sf;Nl++)n.readUEG(),n.readBoolean()}}if(n.readBoolean()){const Ts=n.readUEG();for(let pu=0;pu<Ts;pu++){for(let wl=0;wl<ya+4;wl++)n.readBits(1);n.readBits(1)}}let wa=0,Sa=1,ts=1,Cs=!0,js=1,ao=0;n.readBoolean(),n.readBoolean();let Qu=!1;if(n.readBoolean()){if(n.readBoolean()){const yf=n.readUByte(),Yf=[1,12,10,16,40,24,20,32,80,18,15,64,160,4,3,2],jf=[1,11,11,11,33,11,11,11,33,11,11,33,99,3,2,1];yf>0&&yf<16?(Sa=Yf[yf-1],ts=jf[yf-1]):yf===255&&(Sa=n.readBits(16),ts=n.readBits(16))}if(n.readBoolean()&&n.readBoolean(),n.readBoolean()&&(n.readBits(3),n.readBoolean(),n.readBoolean()&&(n.readUByte(),n.readUByte(),n.readUByte())),n.readBoolean()&&(n.readUEG(),n.readUEG()),n.readBoolean(),n.readBoolean(),n.readBoolean(),Qu=n.readBoolean(),Qu&&(on+=n.readUEG(),_n+=n.readUEG(),Xr+=n.readUEG(),Yn+=n.readUEG()),n.readBoolean()&&(js=n.readBits(32),ao=n.readBits(32),n.readBoolean()&&n.readUEG(),n.readBoolean())){const jf=n.readBoolean(),kf=n.readBoolean();let of=!1;(jf||kf)&&(of=n.readBoolean(),of&&(n.readUByte(),n.readBits(5),n.readBoolean(),n.readBits(5)),n.readBits(4),n.readBits(4),of&&n.readBits(4),n.readBits(5),n.readBits(5),n.readBits(5));for(let Xf=0;Xf<=o;Xf++){Cs=n.readBoolean();const nd=Cs||n.readBoolean();let Uf=!1;nd?n.readEG():Uf=n.readBoolean();const Gf=Uf?1:n.readUEG()+1;if(jf)for(let Rf=0;Rf<Gf;Rf++)n.readUEG(),n.readUEG(),of&&(n.readUEG(),n.readUEG()),n.skipBits(1);if(kf)for(let Rf=0;Rf<Gf;Rf++)n.readUEG(),n.readUEG(),of&&(n.readUEG(),n.readUEG()),n.skipBits(1)}}n.readBoolean()&&(n.readBoolean(),n.readBoolean(),n.readBoolean(),wa=n.readUEG())}let af=Gr,Kf=fn;if(Vr||Qu){let Ts=1,pu=1;Zr===1?Ts=pu=2:Zr==2&&(Ts=2),af=Gr-Ts*_n-Ts*on,Kf=fn-pu*Yn-pu*Xr}const ed=m?["A","B","C"][m]:"",td=U<<24|H<<16|$<<8|ae;let Pf=0;for(let Ts=0;Ts<32;Ts++)Pf=(Pf|(td>>Ts&1)<<31-Ts)>>>0;let Wf=Pf.toString(16);return C===1&&Wf==="2"&&(Wf="6"),{codecString:`hvc1.${ed}${C}.${Wf}.${E?"H":"L"}${Bt}.B0`,params:{general_tier_flag:E,general_profile_idc:C,general_profile_space:m,general_profile_compatibility_flags:[U,H,$,ae],general_constraint_indicator_flags:[ce,xe,Te,De,tt,at],general_level_idc:Bt,bit_depth:di+8,bit_depth_luma_minus8:di,bit_depth_chroma_minus8:os,min_spatial_segmentation_idc:wa,chroma_format_idc:Zr,frame_rate:{fixed:Cs,fps:ao/js}},width:af,height:Kf,pixelRatio:[Sa,ts]}}readPPS(t){const n=new he(this.ebsp2rbsp(t));n.readUByte(),n.readUByte(),n.skipUEG(),n.skipUEG(),n.skipBits(2),n.skipBits(3),n.skipBits(2),n.skipUEG(),n.skipUEG(),n.skipEG(),n.skipBits(2),n.readBoolean()&&n.skipUEG(),n.skipEG(),n.skipEG(),n.skipBits(4);const m=n.readBoolean(),E=n.readBoolean();let C=1;return E&&m?C=0:E?C=3:m&&(C=2),{parallelismType:C}}matchSPS(t,n){return String.fromCharCode.apply(null,t).substr(3)===String.fromCharCode.apply(null,n).substr(3)}}const xt=188;class Ft{constructor(t,n,o,m){this.logger=void 0,this.observer=void 0,this.config=void 0,this.typeSupported=void 0,this.sampleAes=null,this.pmtParsed=!1,this.audioCodec=void 0,this.videoCodec=void 0,this._pmtId=-1,this._videoTrack=void 0,this._audioTrack=void 0,this._id3Track=void 0,this._txtTrack=void 0,this.aacOverFlow=null,this.remainderData=null,this.videoParser=void 0,this.observer=t,this.config=n,this.typeSupported=o,this.logger=m,this.videoParser=null}static probe(t,n){const o=Ft.syncOffset(t);return o>0&&n.warn(`MPEG2-TS detected but first sync word found @ offset ${o}`),o!==-1}static syncOffset(t){const n=t.length;let o=Math.min(xt*5,n-xt)+1,m=0;for(;m<o;){let E=!1,C=-1,U=0;for(let H=m;H<n;H+=xt)if(t[H]===71&&(n-H===xt||t[H+xt]===71)){if(U++,C===-1&&(C=H,C!==0&&(o=Math.min(C+xt*99,t.length-xt)+1)),E||(E=nr(t,H)===0),E&&U>1&&(C===0&&U>2||H+xt>o))return C}else{if(U)return-1;break}m++}return-1}static createTrack(t,n){return{container:t==="video"||t==="audio"?"video/mp2t":void 0,type:t,id:Ot[t],pid:-1,inputTimeScale:9e4,sequenceNumber:0,samples:[],dropped:0,duration:t==="audio"?n:void 0}}resetInitSegment(t,n,o,m){this.pmtParsed=!1,this._pmtId=-1,this._videoTrack=Ft.createTrack("video"),this._videoTrack.duration=m,this._audioTrack=Ft.createTrack("audio",m),this._id3Track=Ft.createTrack("id3"),this._txtTrack=Ft.createTrack("text"),this._audioTrack.segmentCodec="aac",this.aacOverFlow=null,this.remainderData=null,this.audioCodec=n,this.videoCodec=o}resetTimeStamp(){}resetContiguity(){const{_audioTrack:t,_videoTrack:n,_id3Track:o}=this;t&&(t.pesData=null),n&&(n.pesData=null),o&&(o.pesData=null),this.aacOverFlow=null,this.remainderData=null}demux(t,n,o=!1,m=!1){o||(this.sampleAes=null);let E;const C=this._videoTrack,U=this._audioTrack,H=this._id3Track,$=this._txtTrack;let ae=C.pid,ce=C.pesData,xe=U.pid,Te=H.pid,De=U.pesData,tt=H.pesData,at=null,Bt=this.pmtParsed,dr=this._pmtId,ar=t.length;if(this.remainderData&&(t=Gt(this.remainderData,t),ar=t.length,this.remainderData=null),ar<xt&&!m)return this.remainderData=t,{audioTrack:U,videoTrack:C,id3Track:H,textTrack:$};const Zr=Math.max(0,Ft.syncOffset(t));ar-=(ar-Zr)%xt,ar<t.byteLength&&!m&&(this.remainderData=new Uint8Array(t.buffer,ar,t.buffer.byteLength-ar));let Gr=0;for(let Vr=Zr;Vr<ar;Vr+=xt)if(t[Vr]===71){const on=!!(t[Vr+1]&64),_n=nr(t,Vr),Xr=(t[Vr+3]&48)>>4;let Yn;if(Xr>1){if(Yn=Vr+5+t[Vr+4],Yn===Vr+xt)continue}else Yn=Vr+4;switch(_n){case ae:if(on){if(ce&&(E=Nn(ce,this.logger))){if(this.videoParser===null)switch(C.segmentCodec){case"avc":this.videoParser=new Ae;break;case"hevc":this.videoParser=new Ge;break}this.videoParser!==null&&this.videoParser.parsePES(C,$,E,!1)}ce={data:[],size:0}}ce&&(ce.data.push(t.subarray(Yn,Vr+xt)),ce.size+=Vr+xt-Yn);break;case xe:if(on){if(De&&(E=Nn(De,this.logger)))switch(U.segmentCodec){case"aac":this.parseAACPES(U,E);break;case"mp3":this.parseMPEGPES(U,E);break;case"ac3":this.parseAC3PES(U,E);break}De={data:[],size:0}}De&&(De.data.push(t.subarray(Yn,Vr+xt)),De.size+=Vr+xt-Yn);break;case Te:on&&(tt&&(E=Nn(tt,this.logger))&&this.parseID3PES(H,E),tt={data:[],size:0}),tt&&(tt.data.push(t.subarray(Yn,Vr+xt)),tt.size+=Vr+xt-Yn);break;case 0:on&&(Yn+=t[Yn]+1),dr=this._pmtId=Tr(t,Yn);break;case dr:{on&&(Yn+=t[Yn]+1);const di=Wr(t,Yn,this.typeSupported,o,this.observer,this.logger);ae=di.videoPid,ae>0&&(C.pid=ae,C.segmentCodec=di.segmentVideoCodec),xe=di.audioPid,xe>0&&(U.pid=xe,U.segmentCodec=di.segmentAudioCodec),Te=di.id3Pid,Te>0&&(H.pid=Te),at!==null&&!Bt&&(this.logger.warn(`MPEG-TS PMT found at ${Vr} after unknown PID '${at}'. Backtracking to sync byte @${Zr} to parse all TS packets.`),at=null,Vr=Zr-188),Bt=this.pmtParsed=!0;break}case 17:case 8191:break;default:at=_n;break}}else Gr++;Gr>0&&an(this.observer,new Error(`Found ${Gr} TS packet/s that do not start with 0x47`),void 0,this.logger),C.pesData=ce,U.pesData=De,H.pesData=tt;const fn={audioTrack:U,videoTrack:C,id3Track:H,textTrack:$};return m&&this.extractRemainingSamples(fn),fn}flush(){const{remainderData:t}=this;this.remainderData=null;let n;return t?n=this.demux(t,-1,!1,!0):n={videoTrack:this._videoTrack,audioTrack:this._audioTrack,id3Track:this._id3Track,textTrack:this._txtTrack},this.extractRemainingSamples(n),this.sampleAes?this.decrypt(n,this.sampleAes):n}extractRemainingSamples(t){const{audioTrack:n,videoTrack:o,id3Track:m,textTrack:E}=t,C=o.pesData,U=n.pesData,H=m.pesData;let $;if(C&&($=Nn(C,this.logger))){if(this.videoParser===null)switch(o.segmentCodec){case"avc":this.videoParser=new Ae;break;case"hevc":this.videoParser=new Ge;break}this.videoParser!==null&&(this.videoParser.parsePES(o,E,$,!0),o.pesData=null)}else o.pesData=C;if(U&&($=Nn(U,this.logger))){switch(n.segmentCodec){case"aac":this.parseAACPES(n,$);break;case"mp3":this.parseMPEGPES(n,$);break;case"ac3":this.parseAC3PES(n,$);break}n.pesData=null}else U!=null&&U.size&&this.logger.log("last AAC PES packet truncated,might overlap between fragments"),n.pesData=U;H&&($=Nn(H,this.logger))?(this.parseID3PES(m,$),m.pesData=null):m.pesData=H}demuxSampleAes(t,n,o){const m=this.demux(t,o,!0,!this.config.progressive),E=this.sampleAes=new ee(this.observer,this.config,n);return this.decrypt(m,E)}decrypt(t,n){return new Promise(o=>{const{audioTrack:m,videoTrack:E}=t;m.samples&&m.segmentCodec==="aac"?n.decryptAacSamples(m.samples,0,()=>{E.samples?n.decryptAvcSamples(E.samples,0,0,()=>{o(t)}):o(t)}):E.samples&&n.decryptAvcSamples(E.samples,0,0,()=>{o(t)})})}destroy(){this.observer&&this.observer.removeAllListeners(),this.config=this.logger=this.observer=null,this.aacOverFlow=this.videoParser=this.remainderData=this.sampleAes=null,this._videoTrack=this._audioTrack=this._id3Track=this._txtTrack=void 0}parseAACPES(t,n){let o=0;const m=this.aacOverFlow;let E=n.data;if(m){this.aacOverFlow=null;const ce=m.missing,xe=m.sample.unit.byteLength;if(ce===-1)E=Gt(m.sample.unit,E);else{const Te=xe-ce;m.sample.unit.set(E.subarray(0,ce),Te),t.samples.push(m.sample),o=m.missing}}let C,U;for(C=o,U=E.length;C<U-1&&!_i(E,C);C++);if(C!==o){let ce;const xe=C<U-1;if(xe?ce=`AAC PES did not start with ADTS header,offset:${C}`:ce="No ADTS header found in AAC PES",an(this.observer,new Error(ce),xe,this.logger),!xe)return}Mi(t,this.observer,E,C,this.audioCodec);let H;if(n.pts!==void 0)H=n.pts;else if(m){const ce=wi(t.samplerate);H=m.sample.pts+ce}else{this.logger.warn("[tsdemuxer]: AAC PES unknown PTS");return}let $=0,ae;for(;C<U;)if(ae=Ci(t,E,C,H,$),C+=ae.length,ae.missing){this.aacOverFlow=ae;break}else for($++;C<U-1&&!_i(E,C);C++);}parseMPEGPES(t,n){const o=n.data,m=o.length;let E=0,C=0;const U=n.pts;if(U===void 0){this.logger.warn("[tsdemuxer]: MPEG PES unknown PTS");return}for(;C<m;)if(Ui(o,C)){const H=Dn(t,o,C,U,E);if(H)C+=H.length,E++;else break}else C++}parseAC3PES(t,n){{const o=n.data,m=n.pts;if(m===void 0){this.logger.warn("[tsdemuxer]: AC3 PES unknown PTS");return}const E=o.length;let C=0,U=0,H;for(;U<E&&(H=vu(t,o,U,m,C++))>0;)U+=H}}parseID3PES(t,n){if(n.pts===void 0){this.logger.warn("[tsdemuxer]: ID3 PES unknown PTS");return}const o=y({},n,{type:this._videoTrack?we.emsg:we.audioId3,duration:Number.POSITIVE_INFINITY});t.samples.push(o)}}function nr(P,t){return((P[t+1]&31)<<8)+P[t+2]}function Tr(P,t){return(P[t+10]&31)<<8|P[t+11]}function Wr(P,t,n,o,m,E){const C={audioPid:-1,videoPid:-1,id3Pid:-1,segmentVideoCodec:"avc",segmentAudioCodec:"aac"},U=(P[t+1]&15)<<8|P[t+2],H=t+3+U-4,$=(P[t+10]&15)<<8|P[t+11];for(t+=12+$;t<H;){const ae=nr(P,t),ce=(P[t+3]&15)<<8|P[t+4];switch(P[t]){case 207:if(!o){wn("ADTS AAC",E);break}case 15:C.audioPid===-1&&(C.audioPid=ae);break;case 21:C.id3Pid===-1&&(C.id3Pid=ae);break;case 219:if(!o){wn("H.264",E);break}case 27:C.videoPid===-1&&(C.videoPid=ae);break;case 3:case 4:!n.mpeg&&!n.mp3?E.log("MPEG audio found, not supported in this browser"):C.audioPid===-1&&(C.audioPid=ae,C.segmentAudioCodec="mp3");break;case 193:if(!o){wn("AC-3",E);break}case 129:n.ac3?C.audioPid===-1&&(C.audioPid=ae,C.segmentAudioCodec="ac3"):E.log("AC-3 audio found, not supported in this browser");break;case 6:if(C.audioPid===-1&&ce>0){let xe=t+5,Te=ce;for(;Te>2;){switch(P[xe]){case 106:n.ac3!==!0?E.log("AC-3 audio found, not supported in this browser for now"):(C.audioPid=ae,C.segmentAudioCodec="ac3");break}const tt=P[xe+1]+2;xe+=tt,Te-=tt}}break;case 194:case 135:return an(m,new Error("Unsupported EC-3 in M2TS found"),void 0,E),C;case 36:C.videoPid===-1&&(C.videoPid=ae,C.segmentVideoCodec="hevc",E.log("HEVC in M2TS found"));break}t+=ce+5}return C}function an(P,t,n,o){o.warn(`parsing error: ${t.message}`),P.emit(s.ERROR,s.ERROR,{type:c.MEDIA_ERROR,details:f.FRAG_PARSING_ERROR,fatal:!1,levelRetry:n,error:t,reason:t.message})}function wn(P,t){t.log(`${P} with AES-128-CBC encryption found in unencrypted stream`)}function Nn(P,t){let n=0,o,m,E,C,U;const H=P.data;if(!P||P.size===0)return null;for(;H[0].length<19&&H.length>1;)H[0]=Gt(H[0],H[1]),H.splice(1,1);if(o=H[0],(o[0]<<16)+(o[1]<<8)+o[2]===1){if(m=(o[4]<<8)+o[5],m&&m>P.size-6)return null;const ae=o[7];ae&192&&(C=(o[9]&14)*536870912+(o[10]&255)*4194304+(o[11]&254)*16384+(o[12]&255)*128+(o[13]&254)/2,ae&64?(U=(o[14]&14)*536870912+(o[15]&255)*4194304+(o[16]&254)*16384+(o[17]&255)*128+(o[18]&254)/2,C-U>54e5&&(t.warn(`${Math.round((C-U)/9e4)}s delta between PTS and DTS, align them`),C=U)):U=C),E=o[8];let ce=E+9;if(P.size<=ce)return null;P.size-=ce;const xe=new Uint8Array(P.size);for(let Te=0,De=H.length;Te<De;Te++){o=H[Te];let tt=o.byteLength;if(ce)if(ce>tt){ce-=tt;continue}else o=o.subarray(ce),tt-=ce,ce=0;xe.set(o,n),n+=tt}return m&&(m-=E+3),{data:xe,pts:C,dts:U,len:m}}return null}class Wn{static getSilentFrame(t,n){switch(t){case"mp4a.40.2":if(n===1)return new Uint8Array([0,200,0,128,35,128]);if(n===2)return new Uint8Array([33,0,73,144,2,25,0,35,128]);if(n===3)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,142]);if(n===4)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,128,44,128,8,2,56]);if(n===5)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,56]);if(n===6)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,0,178,0,32,8,224]);break;default:if(n===1)return new Uint8Array([1,64,34,128,163,78,230,128,186,8,0,0,0,28,6,241,193,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(n===2)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(n===3)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);break}}}const pi=Math.pow(2,32)-1;class Sr{static init(){Sr.types={avc1:[],avcC:[],hvc1:[],hvcC:[],btrt:[],dinf:[],dref:[],esds:[],ftyp:[],hdlr:[],mdat:[],mdhd:[],mdia:[],mfhd:[],minf:[],moof:[],moov:[],mp4a:[],".mp3":[],dac3:[],"ac-3":[],mvex:[],mvhd:[],pasp:[],sdtp:[],stbl:[],stco:[],stsc:[],stsd:[],stsz:[],stts:[],tfdt:[],tfhd:[],traf:[],trak:[],trun:[],trex:[],tkhd:[],vmhd:[],smhd:[]};let t;for(t in Sr.types)Sr.types.hasOwnProperty(t)&&(Sr.types[t]=[t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2),t.charCodeAt(3)]);const n=new Uint8Array([0,0,0,0,0,0,0,0,118,105,100,101,0,0,0,0,0,0,0,0,0,0,0,0,86,105,100,101,111,72,97,110,100,108,101,114,0]),o=new Uint8Array([0,0,0,0,0,0,0,0,115,111,117,110,0,0,0,0,0,0,0,0,0,0,0,0,83,111,117,110,100,72,97,110,100,108,101,114,0]);Sr.HDLR_TYPES={video:n,audio:o};const m=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),E=new Uint8Array([0,0,0,0,0,0,0,0]);Sr.STTS=Sr.STSC=Sr.STCO=E,Sr.STSZ=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),Sr.VMHD=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0]),Sr.SMHD=new Uint8Array([0,0,0,0,0,0,0,0]),Sr.STSD=new Uint8Array([0,0,0,0,0,0,0,1]);const C=new Uint8Array([105,115,111,109]),U=new Uint8Array([97,118,99,49]),H=new Uint8Array([0,0,0,1]);Sr.FTYP=Sr.box(Sr.types.ftyp,C,H,C,U),Sr.DINF=Sr.box(Sr.types.dinf,Sr.box(Sr.types.dref,m))}static box(t,...n){let o=8,m=n.length;const E=m;for(;m--;)o+=n[m].byteLength;const C=new Uint8Array(o);for(C[0]=o>>24&255,C[1]=o>>16&255,C[2]=o>>8&255,C[3]=o&255,C.set(t,4),m=0,o=8;m<E;m++)C.set(n[m],o),o+=n[m].byteLength;return C}static hdlr(t){return Sr.box(Sr.types.hdlr,Sr.HDLR_TYPES[t])}static mdat(t){return Sr.box(Sr.types.mdat,t)}static mdhd(t,n){n*=t;const o=Math.floor(n/(pi+1)),m=Math.floor(n%(pi+1));return Sr.box(Sr.types.mdhd,new Uint8Array([1,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,3,t>>24&255,t>>16&255,t>>8&255,t&255,o>>24,o>>16&255,o>>8&255,o&255,m>>24,m>>16&255,m>>8&255,m&255,85,196,0,0]))}static mdia(t){return Sr.box(Sr.types.mdia,Sr.mdhd(t.timescale||0,t.duration||0),Sr.hdlr(t.type),Sr.minf(t))}static mfhd(t){return Sr.box(Sr.types.mfhd,new Uint8Array([0,0,0,0,t>>24,t>>16&255,t>>8&255,t&255]))}static minf(t){return t.type==="audio"?Sr.box(Sr.types.minf,Sr.box(Sr.types.smhd,Sr.SMHD),Sr.DINF,Sr.stbl(t)):Sr.box(Sr.types.minf,Sr.box(Sr.types.vmhd,Sr.VMHD),Sr.DINF,Sr.stbl(t))}static moof(t,n,o){return Sr.box(Sr.types.moof,Sr.mfhd(t),Sr.traf(o,n))}static moov(t){let n=t.length;const o=[];for(;n--;)o[n]=Sr.trak(t[n]);return Sr.box.apply(null,[Sr.types.moov,Sr.mvhd(t[0].timescale||0,t[0].duration||0)].concat(o).concat(Sr.mvex(t)))}static mvex(t){let n=t.length;const o=[];for(;n--;)o[n]=Sr.trex(t[n]);return Sr.box.apply(null,[Sr.types.mvex,...o])}static mvhd(t,n){n*=t;const o=Math.floor(n/(pi+1)),m=Math.floor(n%(pi+1)),E=new Uint8Array([1,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,3,t>>24&255,t>>16&255,t>>8&255,t&255,o>>24,o>>16&255,o>>8&255,o&255,m>>24,m>>16&255,m>>8&255,m&255,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255]);return Sr.box(Sr.types.mvhd,E)}static sdtp(t){const n=t.samples||[],o=new Uint8Array(4+n.length);let m,E;for(m=0;m<n.length;m++)E=n[m].flags,o[m+4]=E.dependsOn<<4|E.isDependedOn<<2|E.hasRedundancy;return Sr.box(Sr.types.sdtp,o)}static stbl(t){return Sr.box(Sr.types.stbl,Sr.stsd(t),Sr.box(Sr.types.stts,Sr.STTS),Sr.box(Sr.types.stsc,Sr.STSC),Sr.box(Sr.types.stsz,Sr.STSZ),Sr.box(Sr.types.stco,Sr.STCO))}static avc1(t){let n=[],o=[],m,E,C;for(m=0;m<t.sps.length;m++)E=t.sps[m],C=E.byteLength,n.push(C>>>8&255),n.push(C&255),n=n.concat(Array.prototype.slice.call(E));for(m=0;m<t.pps.length;m++)E=t.pps[m],C=E.byteLength,o.push(C>>>8&255),o.push(C&255),o=o.concat(Array.prototype.slice.call(E));const U=Sr.box(Sr.types.avcC,new Uint8Array([1,n[3],n[4],n[5],255,224|t.sps.length].concat(n).concat([t.pps.length]).concat(o))),H=t.width,$=t.height,ae=t.pixelRatio[0],ce=t.pixelRatio[1];return Sr.box(Sr.types.avc1,new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,H>>8&255,H&255,$>>8&255,$&255,0,72,0,0,0,72,0,0,0,0,0,0,0,1,18,100,97,105,108,121,109,111,116,105,111,110,47,104,108,115,46,106,115,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,17,17]),U,Sr.box(Sr.types.btrt,new Uint8Array([0,28,156,128,0,45,198,192,0,45,198,192])),Sr.box(Sr.types.pasp,new Uint8Array([ae>>24,ae>>16&255,ae>>8&255,ae&255,ce>>24,ce>>16&255,ce>>8&255,ce&255])))}static esds(t){const n=t.config;return new Uint8Array([0,0,0,0,3,25,0,1,0,4,17,64,21,0,0,0,0,0,0,0,0,0,0,0,5,2,...n,6,1,2])}static audioStsd(t){const n=t.samplerate||0;return new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,t.channelCount||0,0,16,0,0,0,0,n>>8&255,n&255,0,0])}static mp4a(t){return Sr.box(Sr.types.mp4a,Sr.audioStsd(t),Sr.box(Sr.types.esds,Sr.esds(t)))}static mp3(t){return Sr.box(Sr.types[".mp3"],Sr.audioStsd(t))}static ac3(t){return Sr.box(Sr.types["ac-3"],Sr.audioStsd(t),Sr.box(Sr.types.dac3,t.config))}static stsd(t){const{segmentCodec:n}=t;if(t.type==="audio"){if(n==="aac")return Sr.box(Sr.types.stsd,Sr.STSD,Sr.mp4a(t));if(n==="ac3"&&t.config)return Sr.box(Sr.types.stsd,Sr.STSD,Sr.ac3(t));if(n==="mp3"&&t.codec==="mp3")return Sr.box(Sr.types.stsd,Sr.STSD,Sr.mp3(t))}else if(t.pps&&t.sps){if(n==="avc")return Sr.box(Sr.types.stsd,Sr.STSD,Sr.avc1(t));if(n==="hevc"&&t.vps)return Sr.box(Sr.types.stsd,Sr.STSD,Sr.hvc1(t))}else throw new Error("video track missing pps or sps");throw new Error(`unsupported ${t.type} segment codec (${n}/${t.codec})`)}static tkhd(t){const n=t.id,o=(t.duration||0)*(t.timescale||0),m=t.width||0,E=t.height||0,C=Math.floor(o/(pi+1)),U=Math.floor(o%(pi+1));return Sr.box(Sr.types.tkhd,new Uint8Array([1,0,0,7,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,3,n>>24&255,n>>16&255,n>>8&255,n&255,0,0,0,0,C>>24,C>>16&255,C>>8&255,C&255,U>>24,U>>16&255,U>>8&255,U&255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,m>>8&255,m&255,0,0,E>>8&255,E&255,0,0]))}static traf(t,n){const o=Sr.sdtp(t),m=t.id,E=Math.floor(n/(pi+1)),C=Math.floor(n%(pi+1));return Sr.box(Sr.types.traf,Sr.box(Sr.types.tfhd,new Uint8Array([0,0,0,0,m>>24,m>>16&255,m>>8&255,m&255])),Sr.box(Sr.types.tfdt,new Uint8Array([1,0,0,0,E>>24,E>>16&255,E>>8&255,E&255,C>>24,C>>16&255,C>>8&255,C&255])),Sr.trun(t,o.length+16+20+8+16+8+8),o)}static trak(t){return t.duration=t.duration||4294967295,Sr.box(Sr.types.trak,Sr.tkhd(t),Sr.mdia(t))}static trex(t){const n=t.id;return Sr.box(Sr.types.trex,new Uint8Array([0,0,0,0,n>>24,n>>16&255,n>>8&255,n&255,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]))}static trun(t,n){const o=t.samples||[],m=o.length,E=12+16*m,C=new Uint8Array(E);let U,H,$,ae,ce,xe;for(n+=8+E,C.set([t.type==="video"?1:0,0,15,1,m>>>24&255,m>>>16&255,m>>>8&255,m&255,n>>>24&255,n>>>16&255,n>>>8&255,n&255],0),U=0;U<m;U++)H=o[U],$=H.duration,ae=H.size,ce=H.flags,xe=H.cts,C.set([$>>>24&255,$>>>16&255,$>>>8&255,$&255,ae>>>24&255,ae>>>16&255,ae>>>8&255,ae&255,ce.isLeading<<2|ce.dependsOn,ce.isDependedOn<<6|ce.hasRedundancy<<4|ce.paddingValue<<1|ce.isNonSync,ce.degradPrio&61440,ce.degradPrio&15,xe>>>24&255,xe>>>16&255,xe>>>8&255,xe&255],12+16*U);return Sr.box(Sr.types.trun,C)}static initSegment(t){Sr.types||Sr.init();const n=Sr.moov(t);return Gt(Sr.FTYP,n)}static hvc1(t){const n=t.params,o=[t.vps,t.sps,t.pps],m=4,E=new Uint8Array([1,n.general_profile_space<<6|(n.general_tier_flag?32:0)|n.general_profile_idc,n.general_profile_compatibility_flags[0],n.general_profile_compatibility_flags[1],n.general_profile_compatibility_flags[2],n.general_profile_compatibility_flags[3],n.general_constraint_indicator_flags[0],n.general_constraint_indicator_flags[1],n.general_constraint_indicator_flags[2],n.general_constraint_indicator_flags[3],n.general_constraint_indicator_flags[4],n.general_constraint_indicator_flags[5],n.general_level_idc,240|n.min_spatial_segmentation_idc>>8,255&n.min_spatial_segmentation_idc,252|n.parallelismType,252|n.chroma_format_idc,248|n.bit_depth_luma_minus8,248|n.bit_depth_chroma_minus8,0,parseInt(n.frame_rate.fps),m-1|n.temporal_id_nested<<2|n.num_temporal_layers<<3|(n.frame_rate.fixed?64:0),o.length]);let C=E.length;for(let De=0;De<o.length;De+=1){C+=3;for(let tt=0;tt<o[De].length;tt+=1)C+=2+o[De][tt].length}const U=new Uint8Array(C);U.set(E,0),C=E.length;const H=o.length-1;for(let De=0;De<o.length;De+=1){U.set(new Uint8Array([32+De|(De===H?128:0),0,o[De].length]),C),C+=3;for(let tt=0;tt<o[De].length;tt+=1)U.set(new Uint8Array([o[De][tt].length>>8,o[De][tt].length&255]),C),C+=2,U.set(o[De][tt],C),C+=o[De][tt].length}const $=Sr.box(Sr.types.hvcC,U),ae=t.width,ce=t.height,xe=t.pixelRatio[0],Te=t.pixelRatio[1];return Sr.box(Sr.types.hvc1,new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,ae>>8&255,ae&255,ce>>8&255,ce&255,0,72,0,0,0,72,0,0,0,0,0,0,0,1,18,100,97,105,108,121,109,111,116,105,111,110,47,104,108,115,46,106,115,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,17,17]),$,Sr.box(Sr.types.btrt,new Uint8Array([0,28,156,128,0,45,198,192,0,45,198,192])),Sr.box(Sr.types.pasp,new Uint8Array([xe>>24,xe>>16&255,xe>>8&255,xe&255,Te>>24,Te>>16&255,Te>>8&255,Te&255])))}}Sr.types=void 0,Sr.HDLR_TYPES=void 0,Sr.STTS=void 0,Sr.STSC=void 0,Sr.STCO=void 0,Sr.STSZ=void 0,Sr.VMHD=void 0,Sr.SMHD=void 0,Sr.STSD=void 0,Sr.FTYP=void 0,Sr.DINF=void 0;const aa=9e4;function sa(P,t,n=1,o=!1){const m=P*t*n;return o?Math.round(m):m}function is(P,t,n=1,o=!1){return sa(P,t,1/n,o)}function Za(P,t=!1){return sa(P,1e3,1/aa,t)}function ws(P,t=1){return sa(P,aa,1/t)}const as=10*1e3,Aa=1024,Fs=1152,Rs=1536;let fi=null,Qs=null;function po(P,t,n,o){return{duration:t,size:n,cts:o,flags:{isLeading:0,isDependedOn:0,hasRedundancy:0,degradPrio:0,dependsOn:P?2:1,isNonSync:P?0:1}}}class Oo{constructor(t,n,o,m){if(this.logger=void 0,this.observer=void 0,this.config=void 0,this.typeSupported=void 0,this.ISGenerated=!1,this._initPTS=null,this._initDTS=null,this.nextAvcDts=null,this.nextAudioPts=null,this.videoSampleDuration=null,this.isAudioContiguous=!1,this.isVideoContiguous=!1,this.videoTrackConfig=void 0,this.observer=t,this.config=n,this.typeSupported=o,this.logger=m,this.ISGenerated=!1,fi===null){const C=(navigator.userAgent||"").match(/Chrome\/(\d+)/i);fi=C?parseInt(C[1]):0}if(Qs===null){const E=navigator.userAgent.match(/Safari\/(\d+)/i);Qs=E?parseInt(E[1]):0}}destroy(){this.config=this.videoTrackConfig=this._initPTS=this._initDTS=null}resetTimeStamp(t){this.logger.log("[mp4-remuxer]: initPTS & initDTS reset"),this._initPTS=this._initDTS=t}resetNextTimestamp(){this.logger.log("[mp4-remuxer]: reset next timestamp"),this.isVideoContiguous=!1,this.isAudioContiguous=!1}resetInitSegment(){this.logger.log("[mp4-remuxer]: ISGenerated flag reset"),this.ISGenerated=!1,this.videoTrackConfig=void 0}getVideoStartPts(t){let n=!1;const o=t[0].pts,m=t.reduce((E,C)=>{let U=C.pts,H=U-E;return H<-4294967296&&(n=!0,U=za(U,o),H=U-E),H>0?E:U},o);return n&&this.logger.debug("PTS rollover detected"),m}remux(t,n,o,m,E,C,U,H){let $,ae,ce,xe,Te,De,tt=E,at=E;const Bt=t.pid>-1,dr=n.pid>-1,ar=n.samples.length,Zr=t.samples.length>0,Gr=U&&ar>0||ar>1;if((!Bt||Zr)&&(!dr||Gr)||this.ISGenerated||U){if(this.ISGenerated){var Vr,on,_n,Xr;const ya=this.videoTrackConfig;(ya&&(n.width!==ya.width||n.height!==ya.height||((Vr=n.pixelRatio)==null?void 0:Vr[0])!==((on=ya.pixelRatio)==null?void 0:on[0])||((_n=n.pixelRatio)==null?void 0:_n[1])!==((Xr=ya.pixelRatio)==null?void 0:Xr[1]))||!ya&&Gr||this.nextAudioPts===null&&Zr)&&this.resetInitSegment()}this.ISGenerated||(ce=this.generateIS(t,n,E,C));const Yn=this.isVideoContiguous;let di=-1,os;if(Gr&&(di=Eo(n.samples),!Yn&&this.config.forceKeyFrameOnDiscontinuity))if(De=!0,di>0){this.logger.warn(`[mp4-remuxer]: Dropped ${di} out of ${ar} video samples due to a missing keyframe`);const ya=this.getVideoStartPts(n.samples);n.samples=n.samples.slice(di),n.dropped+=di,at+=(n.samples[0].pts-ya)/n.inputTimeScale,os=at}else di===-1&&(this.logger.warn(`[mp4-remuxer]: No keyframe found out of ${ar} video samples`),De=!1);if(this.ISGenerated){if(Zr&&Gr){const ya=this.getVideoStartPts(n.samples),Ri=(za(t.samples[0].pts,ya)-ya)/n.inputTimeScale;tt+=Math.max(0,Ri),at+=Math.max(0,-Ri)}if(Zr){if(t.samplerate||(this.logger.warn("[mp4-remuxer]: regenerate InitSegment as audio detected"),ce=this.generateIS(t,n,E,C)),ae=this.remuxAudio(t,tt,this.isAudioContiguous,C,dr||Gr||H===u.AUDIO?at:void 0),Gr){const ya=ae?ae.endPTS-ae.startPTS:0;n.inputTimeScale||(this.logger.warn("[mp4-remuxer]: regenerate InitSegment as video detected"),ce=this.generateIS(t,n,E,C)),$=this.remuxVideo(n,at,Yn,ya)}}else Gr&&($=this.remuxVideo(n,at,Yn,0));$&&($.firstKeyFrame=di,$.independent=di!==-1,$.firstKeyFramePTS=os)}}return this.ISGenerated&&this._initPTS&&this._initDTS&&(o.samples.length&&(Te=zs(o,E,this._initPTS,this._initDTS)),m.samples.length&&(xe=Al(m,E,this._initPTS))),{audio:ae,video:$,initSegment:ce,independent:De,text:xe,id3:Te}}generateIS(t,n,o,m){const E=t.samples,C=n.samples,U=this.typeSupported,H={},$=this._initPTS;let ae=!$||m,ce="audio/mp4",xe,Te,De;if(ae&&(xe=Te=1/0),t.config&&E.length){switch(t.timescale=t.samplerate,t.segmentCodec){case"mp3":U.mpeg?(ce="audio/mpeg",t.codec=""):U.mp3&&(t.codec="mp3");break;case"ac3":t.codec="ac-3";break}H.audio={id:"audio",container:ce,codec:t.codec,initSegment:t.segmentCodec==="mp3"&&U.mpeg?new Uint8Array(0):Sr.initSegment([t]),metadata:{channelCount:t.channelCount}},ae&&(De=t.inputTimeScale,!$||De!==$.timescale?xe=Te=E[0].pts-Math.round(De*o):ae=!1)}if(n.sps&&n.pps&&C.length){if(n.timescale=n.inputTimeScale,H.video={id:"main",container:"video/mp4",codec:n.codec,initSegment:Sr.initSegment([n]),metadata:{width:n.width,height:n.height}},ae)if(De=n.inputTimeScale,!$||De!==$.timescale){const tt=this.getVideoStartPts(C),at=Math.round(De*o);Te=Math.min(Te,za(C[0].dts,tt)-at),xe=Math.min(xe,tt-at)}else ae=!1;this.videoTrackConfig={width:n.width,height:n.height,pixelRatio:n.pixelRatio}}if(Object.keys(H).length)return this.ISGenerated=!0,ae?(this._initPTS={baseTime:xe,timescale:De},this._initDTS={baseTime:Te,timescale:De}):xe=De=void 0,{tracks:H,initPTS:xe,timescale:De}}remuxVideo(t,n,o,m){const E=t.inputTimeScale,C=t.samples,U=[],H=C.length,$=this._initPTS;let ae=this.nextAvcDts,ce=8,xe=this.videoSampleDuration,Te,De,tt=Number.POSITIVE_INFINITY,at=Number.NEGATIVE_INFINITY,Bt=!1;if(!o||ae===null){const Xn=n*E,ii=C[0].pts-za(C[0].dts,C[0].pts);fi&&ae!==null&&Math.abs(Xn-ii-ae)<15e3?o=!0:ae=Xn-ii}const dr=$.baseTime*E/$.timescale;for(let Xn=0;Xn<H;Xn++){const ii=C[Xn];ii.pts=za(ii.pts-dr,ae),ii.dts=za(ii.dts-dr,ae),ii.dts<C[Xn>0?Xn-1:Xn].dts&&(Bt=!0)}Bt&&C.sort(function(Xn,ii){const wa=Xn.dts-ii.dts,Sa=Xn.pts-ii.pts;return wa||Sa}),Te=C[0].dts,De=C[C.length-1].dts;const ar=De-Te,Zr=ar?Math.round(ar/(H-1)):xe||t.inputTimeScale/30;if(o){const Xn=Te-ae,ii=Xn>Zr,wa=Xn<-1;if((ii||wa)&&(ii?this.logger.warn(`${(t.segmentCodec||"").toUpperCase()}: ${Za(Xn,!0)} ms (${Xn}dts) hole between fragments detected at ${n.toFixed(3)}`):this.logger.warn(`${(t.segmentCodec||"").toUpperCase()}: ${Za(-Xn,!0)} ms (${Xn}dts) overlapping between fragments detected at ${n.toFixed(3)}`),!wa||ae>=C[0].pts||fi)){Te=ae;const Sa=C[0].pts-Xn;if(ii)C[0].dts=Te,C[0].pts=Sa;else{let ts=!0;for(let Cs=0;Cs<C.length&&!(C[Cs].dts>Sa&&ts);Cs++){const js=C[Cs].pts;if(C[Cs].dts-=Xn,C[Cs].pts-=Xn,Cs<C.length-1){const ao=C[Cs+1].pts,Qu=C[Cs].pts,dl=ao<=Qu,af=ao<=js;ts=dl==af}}}this.logger.log(`Video: Initial PTS/DTS adjusted: ${Za(Sa,!0)}/${Za(Te,!0)}, delta: ${Za(Xn,!0)} ms`)}}Te=Math.max(0,Te);let Gr=0,fn=0,Vr=Te;for(let Xn=0;Xn<H;Xn++){const ii=C[Xn],wa=ii.units,Sa=wa.length;let ts=0;for(let Cs=0;Cs<Sa;Cs++)ts+=wa[Cs].data.length;fn+=ts,Gr+=Sa,ii.length=ts,ii.dts<Vr?(ii.dts=Vr,Vr+=Zr/4|0||1):Vr=ii.dts,tt=Math.min(ii.pts,tt),at=Math.max(ii.pts,at)}De=C[H-1].dts;const on=fn+4*Gr+8;let _n;try{_n=new Uint8Array(on)}catch(Xn){this.observer.emit(s.ERROR,s.ERROR,{type:c.MUX_ERROR,details:f.REMUX_ALLOC_ERROR,fatal:!1,error:Xn,bytes:on,reason:`fail allocating video mdat ${on}`});return}const Xr=new DataView(_n.buffer);Xr.setUint32(0,on),_n.set(Sr.types.mdat,4);let Yn=!1,di=Number.POSITIVE_INFINITY,os=Number.POSITIVE_INFINITY,ya=Number.NEGATIVE_INFINITY,Ji=Number.NEGATIVE_INFINITY;for(let Xn=0;Xn<H;Xn++){const ii=C[Xn],wa=ii.units;let Sa=0;for(let js=0,ao=wa.length;js<ao;js++){const Qu=wa[js],dl=Qu.data,af=Qu.data.byteLength;Xr.setUint32(ce,af),ce+=4,_n.set(dl,ce),ce+=af,Sa+=4+af}let ts;if(Xn<H-1)xe=C[Xn+1].dts-ii.dts,ts=C[Xn+1].pts-ii.pts;else{const js=this.config,ao=Xn>0?ii.dts-C[Xn-1].dts:Zr;if(ts=Xn>0?ii.pts-C[Xn-1].pts:Zr,js.stretchShortVideoTrack&&this.nextAudioPts!==null){const Qu=Math.floor(js.maxBufferHole*E),dl=(m?tt+m*E:this.nextAudioPts)-ii.pts;dl>Qu?(xe=dl-ao,xe<0?xe=ao:Yn=!0,this.logger.log(`[mp4-remuxer]: It is approximately ${dl/90} ms to the next segment; using duration ${xe/90} ms for the last video frame.`)):xe=ao}else xe=ao}const Cs=Math.round(ii.pts-ii.dts);di=Math.min(di,xe),ya=Math.max(ya,xe),os=Math.min(os,ts),Ji=Math.max(Ji,ts),U.push(po(ii.key,xe,Sa,Cs))}if(U.length){if(fi){if(fi<70){const Xn=U[0].flags;Xn.dependsOn=2,Xn.isNonSync=0}}else if(Qs&&Ji-os<ya-di&&Zr/ya<.025&&U[0].cts===0){this.logger.warn("Found irregular gaps in sample duration. Using PTS instead of DTS to determine MP4 sample duration.");let Xn=Te;for(let ii=0,wa=U.length;ii<wa;ii++){const Sa=Xn+U[ii].duration,ts=Xn+U[ii].cts;if(ii<wa-1){const Cs=Sa+U[ii+1].cts;U[ii].duration=Cs-ts}else U[ii].duration=ii?U[ii-1].duration:Zr;U[ii].cts=0,Xn=Sa}}}xe=Yn||!xe?Zr:xe,this.nextAvcDts=ae=De+xe,this.videoSampleDuration=xe,this.isVideoContiguous=!0;const qi={data1:Sr.moof(t.sequenceNumber++,Te,y(t,{samples:U})),data2:_n,startPTS:tt/E,endPTS:(at+xe)/E,startDTS:Te/E,endDTS:ae/E,type:"video",hasAudio:!1,hasVideo:!0,nb:U.length,dropped:t.dropped};return t.samples=[],t.dropped=0,qi}getSamplesPerFrame(t){switch(t.segmentCodec){case"mp3":return Fs;case"ac3":return Rs;default:return Aa}}remuxAudio(t,n,o,m,E){const C=t.inputTimeScale,U=t.samplerate?t.samplerate:C,H=C/U,$=this.getSamplesPerFrame(t),ae=$*H,ce=this._initPTS,xe=t.segmentCodec==="mp3"&&this.typeSupported.mpeg,Te=[],De=E!==void 0;let tt=t.samples,at=xe?0:8,Bt=this.nextAudioPts||-1;const dr=n*C,ar=ce.baseTime*C/ce.timescale;if(this.isAudioContiguous=o=o||tt.length&&Bt>0&&(m&&Math.abs(dr-Bt)<9e3||Math.abs(za(tt[0].pts-ar,dr)-Bt)<20*ae),tt.forEach(function(Ri){Ri.pts=za(Ri.pts-ar,dr)}),!o||Bt<0){if(tt=tt.filter(Ri=>Ri.pts>=0),!tt.length)return;E===0?Bt=0:m&&!De?Bt=Math.max(0,dr):Bt=tt[0].pts}if(t.segmentCodec==="aac"){const Ri=this.config.maxAudioFramesDrift;for(let ta=0,qi=Bt;ta<tt.length;ta++){const Xn=tt[ta],ii=Xn.pts,wa=ii-qi,Sa=Math.abs(1e3*wa/C);if(wa<=-Ri*ae&&De)ta===0&&(this.logger.warn(`Audio frame @ ${(ii/C).toFixed(3)}s overlaps nextAudioPts by ${Math.round(1e3*wa/C)} ms.`),this.nextAudioPts=Bt=qi=ii);else if(wa>=Ri*ae&&Sa<as&&De){let ts=Math.round(wa/ae);qi=ii-ts*ae,qi<0&&(ts--,qi+=ae),ta===0&&(this.nextAudioPts=Bt=qi),this.logger.warn(`[mp4-remuxer]: Injecting ${ts} audio frame @ ${(qi/C).toFixed(3)}s due to ${Math.round(1e3*wa/C)} ms gap.`);for(let Cs=0;Cs<ts;Cs++){const js=Math.max(qi,0);let ao=Wn.getSilentFrame(t.parsedCodec||t.manifestCodec||t.codec,t.channelCount);ao||(this.logger.log("[mp4-remuxer]: Unable to get silent frame for given audio codec; duplicating last frame instead."),ao=Xn.unit.subarray()),tt.splice(ta,0,{unit:ao,pts:js}),qi+=ae,ta++}}Xn.pts=qi,qi+=ae}}let Zr=null,Gr=null,fn,Vr=0,on=tt.length;for(;on--;)Vr+=tt[on].unit.byteLength;for(let Ri=0,ta=tt.length;Ri<ta;Ri++){const qi=tt[Ri],Xn=qi.unit;let ii=qi.pts;if(Gr!==null){const Sa=Te[Ri-1];Sa.duration=Math.round((ii-Gr)/H)}else if(o&&t.segmentCodec==="aac"&&(ii=Bt),Zr=ii,Vr>0){Vr+=at;try{fn=new Uint8Array(Vr)}catch(Sa){this.observer.emit(s.ERROR,s.ERROR,{type:c.MUX_ERROR,details:f.REMUX_ALLOC_ERROR,fatal:!1,error:Sa,bytes:Vr,reason:`fail allocating audio mdat ${Vr}`});return}xe||(new DataView(fn.buffer).setUint32(0,Vr),fn.set(Sr.types.mdat,4))}else return;fn.set(Xn,at);const wa=Xn.byteLength;at+=wa,Te.push(po(!0,$,wa,0)),Gr=ii}const _n=Te.length;if(!_n)return;const Xr=Te[Te.length-1];this.nextAudioPts=Bt=Gr+H*Xr.duration;const Yn=xe?new Uint8Array(0):Sr.moof(t.sequenceNumber++,Zr/H,y({},t,{samples:Te}));t.samples=[];const di=Zr/C,os=Bt/C,Ji={data1:Yn,data2:fn,startPTS:di,endPTS:os,startDTS:di,endDTS:os,type:"audio",hasAudio:!0,hasVideo:!1,nb:_n};return this.isAudioContiguous=!0,Ji}}function za(P,t){let n;if(t===null)return P;for(t<P?n=-8589934592:n=8589934592;Math.abs(P-t)>4294967296;)P+=n;return P}function Eo(P){for(let t=0;t<P.length;t++)if(P[t].key)return t;return-1}function zs(P,t,n,o){const m=P.samples.length;if(!m)return;const E=P.inputTimeScale;for(let U=0;U<m;U++){const H=P.samples[U];H.pts=za(H.pts-n.baseTime*E/n.timescale,t*E)/E,H.dts=za(H.dts-o.baseTime*E/o.timescale,t*E)/E}const C=P.samples;return P.samples=[],{samples:C}}function Al(P,t,n){const o=P.samples.length;if(!o)return;const m=P.inputTimeScale;for(let C=0;C<o;C++){const U=P.samples[C];U.pts=za(U.pts-n.baseTime*m/n.timescale,t*m)/m}P.samples.sort((C,U)=>C.pts-U.pts);const E=P.samples;return P.samples=[],{samples:E}}class Ju{constructor(t,n,o,m){this.logger=void 0,this.emitInitSegment=!1,this.audioCodec=void 0,this.videoCodec=void 0,this.initData=void 0,this.initPTS=null,this.initTracks=void 0,this.lastEndTime=null,this.logger=m}destroy(){}resetTimeStamp(t){this.initPTS=t,this.lastEndTime=null}resetNextTimestamp(){this.lastEndTime=null}resetInitSegment(t,n,o,m){this.audioCodec=n,this.videoCodec=o,this.generateInitSegment(He(t,m)),this.emitInitSegment=!0}generateInitSegment(t){let{audioCodec:n,videoCodec:o}=this;if(!(t!=null&&t.byteLength)){this.initTracks=void 0,this.initData=void 0;return}const m=this.initData=Je(t);m.audio&&(n=gu(m.audio,F.AUDIO)),m.video&&(o=gu(m.video,F.VIDEO));const E={};m.audio&&m.video?E.audiovideo={container:"video/mp4",codec:n+","+o,supplemental:m.video.supplemental,initSegment:t,id:"main"}:m.audio?E.audio={container:"audio/mp4",codec:n,initSegment:t,id:"audio"}:m.video?E.video={container:"video/mp4",codec:o,supplemental:m.video.supplemental,initSegment:t,id:"main"}:this.logger.warn("[passthrough-remuxer.ts]: initSegment does not contain moov or trak boxes."),this.initTracks=E}remux(t,n,o,m,E,C){var U,H;let{initPTS:$,lastEndTime:ae}=this;const ce={audio:void 0,video:void 0,text:m,id3:o,initSegment:void 0};r(ae)||(ae=this.lastEndTime=E||0);const xe=n.samples;if(!(xe!=null&&xe.length))return ce;const Te={initPTS:void 0,timescale:1};let De=this.initData;if((U=De)!=null&&U.length||(this.generateInitSegment(xe),De=this.initData),!((H=De)!=null&&H.length))return this.logger.warn("[passthrough-remuxer.ts]: Failed to generate initSegment."),ce;this.emitInitSegment&&(Te.tracks=this.initTracks,this.emitInitSegment=!1);const tt=Vt(xe,De),at=ct(De,xe),Bt=at===null?E:at;(C||!$)&&(el($,Bt,E,tt)||Te.timescale!==$.timescale)&&(Te.initPTS=Bt-E,$&&$.timescale===1&&this.logger.warn(`Adjusting initPTS @${E} from ${$.baseTime/$.timescale} to ${Te.initPTS}`),this.initPTS=$={baseTime:Te.initPTS,timescale:1});const dr=t?Bt-$.baseTime/$.timescale:ae,ar=dr+tt;Ie(De,xe,$.baseTime/$.timescale),tt>0?this.lastEndTime=ar:(this.logger.warn("Duration parsed from mp4 should be greater than zero"),this.resetNextTimestamp());const Zr=!!De.audio,Gr=!!De.video;let fn="";Zr&&(fn+="audio"),Gr&&(fn+="video");const Vr={data1:xe,startPTS:dr,startDTS:dr,endPTS:ar,endDTS:ar,type:fn,hasAudio:Zr,hasVideo:Gr,nb:1,dropped:0};return ce.audio=Vr.type==="audio"?Vr:void 0,ce.video=Vr.type!=="audio"?Vr:void 0,ce.initSegment=Te,ce.id3=zs(o,E,$,$),m.samples.length&&(ce.text=Al(m,E,$)),ce}}function el(P,t,n,o){if(P===null)return!0;const m=Math.max(o,1),E=t-P.baseTime/P.timescale;return Math.abs(E-n)>m}function gu(P,t){const n=P==null?void 0:P.codec;return n&&n.length>4?n:t===F.AUDIO?n==="ec-3"||n==="ac-3"||n==="alac"?n:n==="fLaC"||n==="Opus"?At(n,!1):(Y.warn(`Unhandled audio codec "${n}" in mp4 MAP`),n||"mp4a"):(Y.warn(`Unhandled video codec "${n}" in mp4 MAP`),n||"avc1")}let ss;try{ss=self.performance.now.bind(self.performance)}catch(P){ss=Date.now}const uu=[{demux:Ve,remux:Ju},{demux:Ft,remux:Oo},{demux:eu,remux:Oo},{demux:Uc,remux:Oo}];uu.splice(2,0,{demux:qu,remux:Oo});class yu{constructor(t,n,o,m,E,C){this.asyncResult=!1,this.logger=void 0,this.observer=void 0,this.typeSupported=void 0,this.config=void 0,this.id=void 0,this.demuxer=void 0,this.remuxer=void 0,this.decrypter=void 0,this.probe=void 0,this.decryptionPromise=null,this.transmuxConfig=void 0,this.currentTransmuxState=void 0,this.observer=t,this.typeSupported=n,this.config=o,this.id=E,this.logger=C}configure(t){this.transmuxConfig=t,this.decrypter&&this.decrypter.reset()}push(t,n,o,m){const E=o.transmuxing;E.executeStart=ss();let C=new Uint8Array(t);const{currentTransmuxState:U,transmuxConfig:H}=this;m&&(this.currentTransmuxState=m);const{contiguous:$,discontinuity:ae,trackSwitch:ce,accurateTimeOffset:xe,timeOffset:Te,initSegmentChange:De}=m||U,{audioCodec:tt,videoCodec:at,defaultInitPts:Bt,duration:dr,initSegmentData:ar}=H,Zr=wo(C,n);if(Zr&&Ia(Zr.method)){const on=this.getDecrypter(),_n=Da(Zr.method);if(on.isSync()){let Xr=on.softwareDecrypt(C,Zr.key.buffer,Zr.iv.buffer,_n);if(o.part>-1){const di=on.flush();Xr=di&&di.buffer}if(!Xr)return E.executeEnd=ss(),tl(o);C=new Uint8Array(Xr)}else return this.asyncResult=!0,this.decryptionPromise=on.webCryptoDecrypt(C,Zr.key.buffer,Zr.iv.buffer,_n).then(Xr=>{const Yn=this.push(Xr,null,o);return this.decryptionPromise=null,Yn}),this.decryptionPromise}const Gr=this.needsProbing(ae,ce);if(Gr){const on=this.configureTransmuxer(C);if(on)return this.logger.warn(`[transmuxer] ${on.message}`),this.observer.emit(s.ERROR,s.ERROR,{type:c.MEDIA_ERROR,details:f.FRAG_PARSING_ERROR,fatal:!1,error:on,reason:on.message}),E.executeEnd=ss(),tl(o)}(ae||ce||De||Gr)&&this.resetInitSegment(ar,tt,at,dr,n),(ae||De||Gr)&&this.resetInitialTimestamp(Bt),$||this.resetContiguity();const fn=this.transmux(C,Zr,Te,xe,o);this.asyncResult=Iu(fn);const Vr=this.currentTransmuxState;return Vr.contiguous=!0,Vr.discontinuity=!1,Vr.trackSwitch=!1,E.executeEnd=ss(),fn}flush(t){const n=t.transmuxing;n.executeStart=ss();const{decrypter:o,currentTransmuxState:m,decryptionPromise:E}=this;if(E)return this.asyncResult=!0,E.then(()=>this.flush(t));const C=[],{timeOffset:U}=m;if(o){const ce=o.flush();ce&&C.push(this.push(ce.buffer,null,t))}const{demuxer:H,remuxer:$}=this;if(!H||!$){n.executeEnd=ss();const ce=[tl(t)];return this.asyncResult?Promise.resolve(ce):ce}const ae=H.flush(U);return Iu(ae)?(this.asyncResult=!0,ae.then(ce=>(this.flushRemux(C,ce,t),C))):(this.flushRemux(C,ae,t),this.asyncResult?Promise.resolve(C):C)}flushRemux(t,n,o){const{audioTrack:m,videoTrack:E,id3Track:C,textTrack:U}=n,{accurateTimeOffset:H,timeOffset:$}=this.currentTransmuxState;this.logger.log(`[transmuxer.ts]: Flushed ${this.id} sn: ${o.sn}${o.part>-1?" part: "+o.part:""} of ${this.id===u.MAIN?"level":"track"} ${o.level}`);const ae=this.remuxer.remux(m,E,C,U,$,H,!0,this.id);t.push({remuxResult:ae,chunkMeta:o}),o.transmuxing.executeEnd=ss()}resetInitialTimestamp(t){const{demuxer:n,remuxer:o}=this;!n||!o||(n.resetTimeStamp(t),o.resetTimeStamp(t))}resetContiguity(){const{demuxer:t,remuxer:n}=this;!t||!n||(t.resetContiguity(),n.resetNextTimestamp())}resetInitSegment(t,n,o,m,E){const{demuxer:C,remuxer:U}=this;!C||!U||(C.resetInitSegment(t,n,o,m),U.resetInitSegment(t,n,o,E))}destroy(){this.demuxer&&(this.demuxer.destroy(),this.demuxer=void 0),this.remuxer&&(this.remuxer.destroy(),this.remuxer=void 0)}transmux(t,n,o,m,E){let C;return n&&n.method==="SAMPLE-AES"?C=this.transmuxSampleAes(t,n,o,m,E):C=this.transmuxUnencrypted(t,o,m,E),C}transmuxUnencrypted(t,n,o,m){const{audioTrack:E,videoTrack:C,id3Track:U,textTrack:H}=this.demuxer.demux(t,n,!1,!this.config.progressive);return{remuxResult:this.remuxer.remux(E,C,U,H,n,o,!1,this.id),chunkMeta:m}}transmuxSampleAes(t,n,o,m,E){return this.demuxer.demuxSampleAes(t,n,o).then(C=>({remuxResult:this.remuxer.remux(C.audioTrack,C.videoTrack,C.id3Track,C.textTrack,o,m,!1,this.id),chunkMeta:E}))}configureTransmuxer(t){const{config:n,observer:o,typeSupported:m}=this;let E;for(let ce=0,xe=uu.length;ce<xe;ce++){var C;if((C=uu[ce].demux)!=null&&C.probe(t,this.logger)){E=uu[ce];break}}if(!E)return new Error("Failed to find demuxer by probing fragment data");const U=this.demuxer,H=this.remuxer,$=E.remux,ae=E.demux;(!H||!(H instanceof $))&&(this.remuxer=new $(o,n,m,this.logger)),(!U||!(U instanceof ae))&&(this.demuxer=new ae(o,n,m,this.logger),this.probe=ae.probe)}needsProbing(t,n){return!this.demuxer||!this.remuxer||t||n}getDecrypter(){let t=this.decrypter;return t||(t=this.decrypter=new pn(this.config)),t}}function wo(P,t){let n=null;return P.byteLength>0&&(t==null?void 0:t.key)!=null&&t.iv!==null&&t.method!=null&&(n=t),n}const tl=P=>({remuxResult:{},chunkMeta:P});function Iu(P){return"then"in P&&P.then instanceof Function}class Yo{constructor(t,n,o,m,E){this.audioCodec=void 0,this.videoCodec=void 0,this.initSegmentData=void 0,this.duration=void 0,this.defaultInitPts=void 0,this.audioCodec=t,this.videoCodec=n,this.initSegmentData=o,this.duration=m,this.defaultInitPts=E||null}}class zl{constructor(t,n,o,m,E,C){this.discontinuity=void 0,this.contiguous=void 0,this.accurateTimeOffset=void 0,this.trackSwitch=void 0,this.timeOffset=void 0,this.initSegmentChange=void 0,this.discontinuity=t,this.contiguous=n,this.accurateTimeOffset=o,this.trackSwitch=m,this.timeOffset=E,this.initSegmentChange=C}}let Zs=0;class Uo{constructor(t,n,o,m){this.error=null,this.hls=void 0,this.id=void 0,this.instanceNo=Zs++,this.observer=void 0,this.frag=null,this.part=null,this.useWorker=void 0,this.workerContext=null,this.transmuxer=null,this.onTransmuxComplete=void 0,this.onFlush=void 0,this.onWorkerMessage=H=>{const $=H.data,ae=this.hls;if(!(!ae||!($!=null&&$.event)||$.instanceNo!==this.instanceNo))switch($.event){case"init":{var ce;const xe=(ce=this.workerContext)==null?void 0:ce.objectURL;xe&&self.URL.revokeObjectURL(xe);break}case"transmuxComplete":{this.handleTransmuxComplete($.data);break}case"flush":{this.onFlush($.data);break}case"workerLog":{ae.logger[$.data.logType]&&ae.logger[$.data.logType]($.data.message);break}default:{$.data=$.data||{},$.data.frag=this.frag,$.data.part=this.part,$.data.id=this.id,ae.trigger($.event,$.data);break}}},this.onWorkerError=H=>{if(!this.hls)return;const $=new Error(`${H.message} (${H.filename}:${H.lineno})`);this.hls.config.enableWorker=!1,this.hls.logger.warn(`Error in "${this.id}" Web Worker, fallback to inline`),this.hls.trigger(s.ERROR,{type:c.OTHER_ERROR,details:f.INTERNAL_EXCEPTION,fatal:!1,event:"demuxerWorker",error:$})};const E=t.config;this.hls=t,this.id=n,this.useWorker=!!E.enableWorker,this.onTransmuxComplete=o,this.onFlush=m;const C=(H,$)=>{$=$||{},$.frag=this.frag||void 0,H===s.ERROR&&($=$,$.parent=this.id,$.part=this.part,this.error=$.error),this.hls.trigger(H,$)};this.observer=new ks,this.observer.on(s.FRAG_DECRYPTED,C),this.observer.on(s.ERROR,C);const U=_r(E.preferManagedMediaSource);if(this.useWorker&&typeof Worker!="undefined"){const H=this.hls.logger;if(E.workerPath||Ns()){try{E.workerPath?(H.log(`loading Web Worker ${E.workerPath} for "${n}"`),this.workerContext=Qe(E.workerPath)):(H.log(`injecting Web Worker for "${n}"`),this.workerContext=Ye());const{worker:ae}=this.workerContext;ae.addEventListener("message",this.onWorkerMessage),ae.addEventListener("error",this.onWorkerError),ae.postMessage({instanceNo:this.instanceNo,cmd:"init",typeSupported:U,id:n,config:jn(E)})}catch(ae){H.warn(`Error setting up "${n}" Web Worker, fallback to inline`,ae),this.terminateWorker(),this.error=null,this.transmuxer=new yu(this.observer,U,E,"",n,t.logger)}return}}this.transmuxer=new yu(this.observer,U,E,"",n,t.logger)}reset(){if(this.frag=null,this.part=null,this.workerContext){const t=this.instanceNo;this.instanceNo=Zs++;const n=this.hls.config,o=_r(n.preferManagedMediaSource);this.workerContext.worker.postMessage({instanceNo:this.instanceNo,cmd:"reset",resetNo:t,typeSupported:o,id:this.id,config:jn(n)})}}terminateWorker(){if(this.workerContext){const{worker:t}=this.workerContext;this.workerContext=null,t.removeEventListener("message",this.onWorkerMessage),t.removeEventListener("error",this.onWorkerError),Mt(this.hls.config.workerPath)}}destroy(){if(this.workerContext)this.terminateWorker(),this.onWorkerMessage=this.onWorkerError=null;else{const n=this.transmuxer;n&&(n.destroy(),this.transmuxer=null)}const t=this.observer;t&&t.removeAllListeners(),this.frag=null,this.part=null,this.observer=null,this.hls=null}push(t,n,o,m,E,C,U,H,$,ae){var ce,xe;$.transmuxing.start=self.performance.now();const{instanceNo:Te,transmuxer:De}=this,tt=C?C.start:E.start,at=E.decryptdata,Bt=this.frag,dr=!(Bt&&E.cc===Bt.cc),ar=!(Bt&&$.level===Bt.level),Zr=Bt?$.sn-Bt.sn:-1,Gr=this.part?$.part-this.part.index:-1,fn=Zr===0&&$.id>1&&$.id===(Bt==null?void 0:Bt.stats.chunkCount),Vr=!ar&&(Zr===1||Zr===0&&(Gr===1||fn&&Gr<=0)),on=self.performance.now();(ar||Zr||E.stats.parsing.start===0)&&(E.stats.parsing.start=on),C&&(Gr||!Vr)&&(C.stats.parsing.start=on);const _n=!(Bt&&((ce=E.initSegment)==null?void 0:ce.url)===((xe=Bt.initSegment)==null?void 0:xe.url)),Xr=new zl(dr,Vr,H,ar,tt,_n);if(!Vr||dr||_n){this.hls.logger.log(`[transmuxer-interface]: Starting new transmux session for ${E.type} sn: ${$.sn}${$.part>-1?" part: "+$.part:""} ${this.id===u.MAIN?"level":"track"}: ${$.level} id: ${$.id}
discontinuity: ${dr}
trackSwitch: ${ar}
contiguous: ${Vr}
accurateTimeOffset: ${H}
timeOffset: ${tt}
initSegmentChange: ${_n}`);const Yn=new Yo(o,m,n,U,ae);this.configureTransmuxer(Yn)}if(this.frag=E,this.part=C,this.workerContext)this.workerContext.worker.postMessage({instanceNo:Te,cmd:"demux",data:t,decryptdata:at,chunkMeta:$,state:Xr},t instanceof ArrayBuffer?[t]:[]);else if(De){const Yn=De.push(t,at,$,Xr);Iu(Yn)?Yn.then(di=>{this.handleTransmuxComplete(di)}).catch(di=>{this.transmuxerError(di,$,"transmuxer-interface push error")}):this.handleTransmuxComplete(Yn)}}flush(t){t.transmuxing.start=self.performance.now();const{instanceNo:n,transmuxer:o}=this;if(this.workerContext)this.workerContext.worker.postMessage({instanceNo:n,cmd:"flush",chunkMeta:t});else if(o){const m=o.flush(t);Iu(m)?m.then(E=>{this.handleFlushResult(E,t)}).catch(E=>{this.transmuxerError(E,t,"transmuxer-interface flush error")}):this.handleFlushResult(m,t)}}transmuxerError(t,n,o){this.hls&&(this.error=t,this.hls.trigger(s.ERROR,{type:c.MEDIA_ERROR,details:f.FRAG_PARSING_ERROR,chunkMeta:n,frag:this.frag||void 0,part:this.part||void 0,fatal:!1,error:t,err:t,reason:o}))}handleFlushResult(t,n){t.forEach(o=>{this.handleTransmuxComplete(o)}),this.onFlush(n)}configureTransmuxer(t){const{instanceNo:n,transmuxer:o}=this;this.workerContext?this.workerContext.worker.postMessage({instanceNo:n,cmd:"configure",config:t}):o&&o.configure(t)}handleTransmuxComplete(t){t.chunkMeta.transmuxing.end=self.performance.now(),this.onTransmuxComplete(t)}}const Du=100;class Zl extends na{constructor(t,n,o){super(t,n,o,"audio-stream-controller",u.AUDIO),this.mainAnchor=null,this.mainFragLoading=null,this.audioOnly=!1,this.bufferedTrack=null,this.switchingTrack=null,this.trackId=-1,this.waitingData=null,this.mainDetails=null,this.flushing=!1,this.bufferFlushed=!1,this.cachedTrackLoadedData=null,this.registerListeners()}onHandlerDestroying(){this.unregisterListeners(),super.onHandlerDestroying(),this.resetItem()}resetItem(){this.mainDetails=this.mainAnchor=this.mainFragLoading=this.bufferedTrack=this.switchingTrack=this.waitingData=this.cachedTrackLoadedData=null}registerListeners(){super.registerListeners();const{hls:t}=this;t.on(s.LEVEL_LOADED,this.onLevelLoaded,this),t.on(s.AUDIO_TRACKS_UPDATED,this.onAudioTracksUpdated,this),t.on(s.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),t.on(s.AUDIO_TRACK_LOADED,this.onAudioTrackLoaded,this),t.on(s.BUFFER_RESET,this.onBufferReset,this),t.on(s.BUFFER_CREATED,this.onBufferCreated,this),t.on(s.BUFFER_FLUSHING,this.onBufferFlushing,this),t.on(s.BUFFER_FLUSHED,this.onBufferFlushed,this),t.on(s.INIT_PTS_FOUND,this.onInitPtsFound,this),t.on(s.FRAG_LOADING,this.onFragLoading,this),t.on(s.FRAG_BUFFERED,this.onFragBuffered,this)}unregisterListeners(){const{hls:t}=this;t&&(super.unregisterListeners(),t.off(s.LEVEL_LOADED,this.onLevelLoaded,this),t.off(s.AUDIO_TRACKS_UPDATED,this.onAudioTracksUpdated,this),t.off(s.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),t.off(s.AUDIO_TRACK_LOADED,this.onAudioTrackLoaded,this),t.off(s.BUFFER_RESET,this.onBufferReset,this),t.off(s.BUFFER_CREATED,this.onBufferCreated,this),t.off(s.BUFFER_FLUSHING,this.onBufferFlushing,this),t.off(s.BUFFER_FLUSHED,this.onBufferFlushed,this),t.off(s.INIT_PTS_FOUND,this.onInitPtsFound,this),t.off(s.FRAG_LOADING,this.onFragLoading,this),t.off(s.FRAG_BUFFERED,this.onFragBuffered,this))}onInitPtsFound(t,{frag:n,id:o,initPTS:m,timescale:E}){if(o===u.MAIN){const C=n.cc,U=this.fragCurrent;if(this.initPTS[C]={baseTime:m,timescale:E},this.log(`InitPTS for cc: ${C} found from main: ${m}/${E}`),this.mainAnchor=n,this.state===zr.WAITING_INIT_PTS){const H=this.waitingData;(!H&&!this.loadingParts||H&&H.frag.cc!==C)&&(this.nextLoadPosition=this.findSyncFrag(n).start),this.tick()}else!this.hls.hasEnoughToStart&&U&&U.cc!==C?(this.startFragRequested=!1,this.nextLoadPosition=this.findSyncFrag(n).start,U.abortRequests(),this.resetLoadingState()):this.state===zr.IDLE&&this.tick()}}findSyncFrag(t){const n=this.getLevelDetails(),o=t.cc;return pt(n,o,t)||n&&It(n.fragments,o)||t}startLoad(t,n){if(!this.levels){this.startPosition=t,this.state=zr.STOPPED;return}const o=this.lastCurrentTime;this.stopLoad(),this.setInterval(Du),o>0&&t===-1?(this.log(`Override startPosition with lastCurrentTime @${o.toFixed(3)}`),t=o,this.state=zr.IDLE):this.state=zr.WAITING_TRACK,this.nextLoadPosition=this.lastCurrentTime=t+this.timelineOffset,this.startPosition=n?-1:t,this.tick()}doTick(){switch(this.state){case zr.IDLE:this.doTickIdle();break;case zr.WAITING_TRACK:{const{levels:n,trackId:o}=this,m=n==null?void 0:n[o],E=m==null?void 0:m.details;if(E&&!this.waitForLive(m)){if(this.waitForCdnTuneIn(E))break;this.state=zr.WAITING_INIT_PTS}break}case zr.FRAG_LOADING_WAITING_RETRY:{var t;const n=performance.now(),o=this.retryDate;if(!o||n>=o||(t=this.media)!=null&&t.seeking){const{levels:m,trackId:E}=this;this.log("RetryDate reached, switch back to IDLE state"),this.resetStartWhenNotLoaded((m==null?void 0:m[E])||null),this.state=zr.IDLE}break}case zr.WAITING_INIT_PTS:{const n=this.waitingData;if(n){const{frag:o,part:m,cache:E,complete:C}=n,U=this.mainAnchor;if(this.initPTS[o.cc]!==void 0){this.waitingData=null,this.state=zr.FRAG_LOADING;const H=E.flush().buffer,$={frag:o,part:m,payload:H,networkDetails:null};this._handleFragmentLoadProgress($),C&&super._handleFragmentLoadComplete($)}else U&&U.cc!==n.frag.cc&&(this.log(`Waiting fragment cc (${o.cc}) cancelled because video is at cc ${U.cc}`),this.nextLoadPosition=this.findSyncFrag(U).start,this.clearWaitingFragment())}else this.state=zr.IDLE}}this.onTickEnd()}clearWaitingFragment(){const t=this.waitingData;t&&(this.hls.hasEnoughToStart||(this.startFragRequested=!1),this.fragmentTracker.removeFragment(t.frag),this.waitingData=null,this.state!==zr.STOPPED&&(this.state=zr.IDLE))}resetLoadingState(){this.clearWaitingFragment(),super.resetLoadingState()}onTickEnd(){const{media:t}=this;t!=null&&t.readyState&&(this.lastCurrentTime=t.currentTime)}doTickIdle(){var t;const{hls:n,levels:o,media:m,trackId:E}=this,C=n.config;if(!this.buffering||!m&&!this.primaryPrefetch&&(this.startFragRequested||!C.startFragPrefetch)||!(o!=null&&o[E]))return;const U=o[E],H=U.details;if(!H||this.waitForLive(U)||this.waitForCdnTuneIn(H)){this.state=zr.WAITING_TRACK,this.startFragRequested=!1;return}const $=this.mediaBuffer?this.mediaBuffer:this.media;this.bufferFlushed&&$&&(this.bufferFlushed=!1,this.afterBufferFlushed($,F.AUDIO,u.AUDIO));const ae=this.getFwdBufferInfo($,u.AUDIO);if(ae===null)return;if(!this.switchingTrack&&this._streamEnded(ae,H)){n.trigger(s.BUFFER_EOS,{type:"audio"}),this.state=zr.ENDED;return}const ce=ae.len,xe=n.maxBufferLength,Te=H.fragments,De=Te[0].start,tt=this.getLoadPosition(),at=this.flushing?tt:ae.end;if(this.switchingTrack&&m){const ar=tt;H.PTSKnown&&ar<De&&(ae.end>De||ae.nextStart)&&(this.log("Alt audio track ahead of main track, seek to start of alt audio track"),m.currentTime=De+.05)}if(ce>=xe&&!this.switchingTrack&&at<Te[Te.length-1].start)return;let Bt=this.getNextFragment(at,H);if(Bt&&this.isLoopLoading(Bt,at)&&(Bt=this.getNextFragmentLoopLoading(Bt,H,ae,u.MAIN,xe)),!Bt){this.bufferFlushed=!0;return}let dr=((t=this.mainFragLoading)==null?void 0:t.frag)||null;if(!this.audioOnly&&this.startFragRequested&&dr&&_e(Bt)&&!Bt.endList&&(!H.live||!this.loadingParts&&at<this.hls.liveSyncPosition)&&(this.fragmentTracker.getState(dr)===Er.OK&&(this.mainFragLoading=dr=null),dr&&_e(dr))){if(Bt.start>dr.end){const Zr=this.fragmentTracker.getFragAtPos(at,u.MAIN);Zr&&Zr.end>dr.end&&(dr=Zr,this.mainFragLoading={frag:Zr,targetBufferTime:null})}if(Bt.start>dr.end)return}this.loadFragment(Bt,U,at)}onMediaDetaching(t,n){this.bufferFlushed=this.flushing=!1,super.onMediaDetaching(t,n)}onAudioTracksUpdated(t,{audioTracks:n}){this.resetTransmuxer(),this.levels=n.map(o=>new mr(o))}onAudioTrackSwitching(t,n){const o=!!n.url;this.trackId=n.id;const{fragCurrent:m}=this;m&&(m.abortRequests(),this.removeUnbufferedFrags(m.start)),this.resetLoadingState(),o?(this.switchingTrack=n,this.flushAudioIfNeeded(n),this.state!==zr.STOPPED&&(this.setInterval(Du),this.state=zr.IDLE,this.tick())):(this.resetTransmuxer(),this.switchingTrack=null,this.bufferedTrack=n,this.clearInterval())}onManifestLoading(){super.onManifestLoading(),this.bufferFlushed=this.flushing=this.audioOnly=!1,this.resetItem(),this.trackId=-1}onLevelLoaded(t,n){this.mainDetails=n.details;const o=this.cachedTrackLoadedData;o&&(this.cachedTrackLoadedData=null,this.onAudioTrackLoaded(s.AUDIO_TRACK_LOADED,o))}onAudioTrackLoaded(t,n){var o;const{levels:m}=this,{details:E,id:C,groupId:U,track:H}=n;if(!m){this.warn(`Audio tracks reset while loading track ${C} "${H.name}" of "${U}"`);return}const $=this.mainDetails;if(!$||E.endCC>$.endCC||$.expired){this.cachedTrackLoadedData=n,this.state!==zr.STOPPED&&(this.state=zr.WAITING_TRACK);return}this.cachedTrackLoadedData=null,this.log(`Audio track ${C} "${H.name}" of "${U}" loaded [${E.startSN},${E.endSN}]${E.lastPartSn?`[part-${E.lastPartSn}-${E.lastPartIndex}]`:""},duration:${E.totalduration}`);const ae=m[C];let ce=0;if(E.live||(o=ae.details)!=null&&o.live){if(this.checkLiveUpdate(E),E.deltaUpdateFailed)return;if(ae.details){var xe;ce=this.alignPlaylists(E,ae.details,(xe=this.levelLastLoaded)==null?void 0:xe.details)}E.alignedSliding||(Nr(E,$),E.alignedSliding||Li(E,$),ce=E.fragmentStart)}ae.details=E,this.levelLastLoaded=ae,this.startFragRequested||this.setStartPosition($,ce),this.hls.trigger(s.AUDIO_TRACK_UPDATED,{details:E,id:C,groupId:n.groupId}),this.state===zr.WAITING_TRACK&&!this.waitForCdnTuneIn(E)&&(this.state=zr.IDLE),this.tick()}_handleFragmentLoadProgress(t){var n;const o=t.frag,{part:m,payload:E}=t,{config:C,trackId:U,levels:H}=this;if(!H){this.warn(`Audio tracks were reset while fragment load was in progress. Fragment ${o.sn} of level ${o.level} will not be buffered`);return}const $=H[U];if(!$){this.warn("Audio track is undefined on fragment load progress");return}const ae=$.details;if(!ae){this.warn("Audio track details undefined on fragment load progress"),this.removeUnbufferedFrags(o.start);return}const ce=C.defaultAudioCodec||$.audioCodec||"mp4a.40.2";let xe=this.transmuxer;xe||(xe=this.transmuxer=new Uo(this.hls,u.AUDIO,this._handleTransmuxComplete.bind(this),this._handleTransmuxerFlush.bind(this)));const Te=this.initPTS[o.cc],De=(n=o.initSegment)==null?void 0:n.data;if(Te!==void 0){const at=m?m.index:-1,Bt=at!==-1,dr=new $a(o.level,o.sn,o.stats.chunkCount,E.byteLength,at,Bt);xe.push(E,De,ce,"",o,m,ae.totalduration,!1,dr,Te)}else{this.log(`Unknown video PTS for cc ${o.cc}, waiting for video PTS before demuxing audio frag ${o.sn} of [${ae.startSN} ,${ae.endSN}],track ${U}`);const{cache:tt}=this.waitingData=this.waitingData||{frag:o,part:m,cache:new ci,complete:!1};tt.push(new Uint8Array(E)),this.state!==zr.STOPPED&&(this.state=zr.WAITING_INIT_PTS)}}_handleFragmentLoadComplete(t){if(this.waitingData){this.waitingData.complete=!0;return}super._handleFragmentLoadComplete(t)}onBufferReset(){this.mediaBuffer=null}onBufferCreated(t,n){this.bufferFlushed=this.flushing=!1;const o=n.tracks.audio;o&&(this.mediaBuffer=o.buffer||null)}onFragLoading(t,n){!this.audioOnly&&n.frag.type===u.MAIN&&_e(n.frag)&&(this.mainFragLoading=n,this.state===zr.IDLE&&this.tick())}onFragBuffered(t,n){const{frag:o,part:m}=n;if(o.type!==u.AUDIO){!this.audioOnly&&o.type===u.MAIN&&!o.elementaryStreams.video&&!o.elementaryStreams.audiovideo&&(this.audioOnly=!0,this.mainFragLoading=null);return}if(this.fragContextChanged(o)){this.warn(`Fragment ${o.sn}${m?" p: "+m.index:""} of level ${o.level} finished buffering, but was aborted. state: ${this.state}, audioSwitch: ${this.switchingTrack?this.switchingTrack.name:"false"}`);return}if(_e(o)){this.fragPrevious=o;const E=this.switchingTrack;E&&(this.bufferedTrack=E,this.switchingTrack=null,this.hls.trigger(s.AUDIO_TRACK_SWITCHED,b({},E)))}this.fragBufferedComplete(o,m),this.media&&this.tick()}onError(t,n){var o;if(n.fatal){this.state=zr.ERROR;return}switch(n.details){case f.FRAG_GAP:case f.FRAG_PARSING_ERROR:case f.FRAG_DECRYPT_ERROR:case f.FRAG_LOAD_ERROR:case f.FRAG_LOAD_TIMEOUT:case f.KEY_LOAD_ERROR:case f.KEY_LOAD_TIMEOUT:this.onFragmentOrKeyLoadError(u.AUDIO,n);break;case f.AUDIO_TRACK_LOAD_ERROR:case f.AUDIO_TRACK_LOAD_TIMEOUT:case f.LEVEL_PARSING_ERROR:!n.levelRetry&&this.state===zr.WAITING_TRACK&&((o=n.context)==null?void 0:o.type)===h.AUDIO_TRACK&&(this.state=zr.IDLE);break;case f.BUFFER_ADD_CODEC_ERROR:case f.BUFFER_APPEND_ERROR:if(n.parent!=="audio")return;this.resetLoadingState();break;case f.BUFFER_FULL_ERROR:if(n.parent!=="audio")return;this.reduceLengthAndFlushBuffer(n)&&(this.bufferedTrack=null,super.flushMainBuffer(0,Number.POSITIVE_INFINITY,"audio"));break;case f.INTERNAL_EXCEPTION:this.recoverWorkerError(n);break}}onBufferFlushing(t,{type:n}){n!==F.VIDEO&&(this.flushing=!0)}onBufferFlushed(t,{type:n}){if(n!==F.VIDEO){this.flushing=!1,this.bufferFlushed=!0,this.state===zr.ENDED&&(this.state=zr.IDLE);const o=this.mediaBuffer||this.media;o&&(this.afterBufferFlushed(o,n,u.AUDIO),this.tick())}}_handleTransmuxComplete(t){var n;const o="audio",{hls:m}=this,{remuxResult:E,chunkMeta:C}=t,U=this.getCurrentContext(C);if(!U){this.resetWhenMissingContext(C);return}const{frag:H,part:$,level:ae}=U,{details:ce}=ae,{audio:xe,text:Te,id3:De,initSegment:tt}=E;if(this.fragContextChanged(H)||!ce){this.fragmentTracker.removeFragment(H);return}if(this.state=zr.PARSING,this.switchingTrack&&xe&&this.completeAudioSwitch(this.switchingTrack),tt!=null&&tt.tracks){const at=H.initSegment||H;this._bufferInitSegment(ae,tt.tracks,at,C),m.trigger(s.FRAG_PARSING_INIT_SEGMENT,{frag:at,id:o,tracks:tt.tracks})}if(xe){const{startPTS:at,endPTS:Bt,startDTS:dr,endDTS:ar}=xe;$&&($.elementaryStreams[F.AUDIO]={startPTS:at,endPTS:Bt,startDTS:dr,endDTS:ar}),H.setElementaryStreamInfo(F.AUDIO,at,Bt,dr,ar),this.bufferFragmentData(xe,H,$,C)}if(De!=null&&(n=De.samples)!=null&&n.length){const at=y({id:o,frag:H,details:ce},De);m.trigger(s.FRAG_PARSING_METADATA,at)}if(Te){const at=y({id:o,frag:H,details:ce},Te);m.trigger(s.FRAG_PARSING_USERDATA,at)}}_bufferInitSegment(t,n,o,m){if(this.state!==zr.PARSING||(n.video&&delete n.video,n.audiovideo&&delete n.audiovideo,!n.audio))return;const E=n.audio;E.id=u.AUDIO;const C=t.audioCodec;this.log(`Init audio buffer, container:${E.container}, codecs[level/parsed]=[${C}/${E.codec}]`),C&&C.split(",").length===1&&(E.levelCodec=C),this.hls.trigger(s.BUFFER_CODECS,n);const U=E.initSegment;if(U!=null&&U.byteLength){const H={type:"audio",frag:o,part:null,chunkMeta:m,parent:o.type,data:U};this.hls.trigger(s.BUFFER_APPENDING,H)}this.tickImmediate()}loadFragment(t,n,o){const m=this.fragmentTracker.getState(t);if(this.switchingTrack||m===Er.NOT_LOADED||m===Er.PARTIAL){var E;if(!_e(t))this._loadInitSegment(t,n);else if((E=n.details)!=null&&E.live&&!this.initPTS[t.cc]){this.log(`Waiting for video PTS in continuity counter ${t.cc} of live stream before loading audio fragment ${t.sn} of level ${this.trackId}`),this.state=zr.WAITING_INIT_PTS;const C=this.mainDetails;C&&C.fragmentStart!==n.details.fragmentStart&&Li(n.details,C)}else super.loadFragment(t,n,o)}else this.clearTrackerIfNeeded(t)}flushAudioIfNeeded(t){if(this.media&&this.bufferedTrack){const{name:n,lang:o,assocLang:m,characteristics:E,audioCodec:C,channels:U}=this.bufferedTrack;qn({name:n,lang:o,assocLang:m,characteristics:E,audioCodec:C,channels:U},t,ut)||(ei(t.url,this.hls)?(this.log("Switching audio track : flushing all audio"),super.flushMainBuffer(0,Number.POSITIVE_INFINITY,"audio"),this.bufferedTrack=null):this.bufferedTrack=t)}}completeAudioSwitch(t){const{hls:n}=this;this.flushAudioIfNeeded(t),this.bufferedTrack=t,this.switchingTrack=null,n.trigger(s.AUDIO_TRACK_SWITCHED,b({},t))}}class lu extends L{constructor(t,n){super(n,t.logger),this.hls=void 0,this.canLoad=!1,this.timer=-1,this.hls=t}destroy(){this.clearTimer(),this.hls=this.log=this.warn=null}clearTimer(){this.timer!==-1&&(self.clearTimeout(this.timer),this.timer=-1)}startLoad(){this.canLoad=!0,this.loadPlaylist()}stopLoad(){this.canLoad=!1,this.clearTimer()}switchParams(t,n,o){const m=n==null?void 0:n.renditionReports;if(m){let E=-1;for(let C=0;C<m.length;C++){const U=m[C];let H;try{H=new self.URL(U.URI,n.url).href}catch($){this.warn(`Could not construct new URL for Rendition Report: ${$}`),H=U.URI||""}if(H===t){E=C;break}else H===t.substring(0,H.length)&&(E=C)}if(E!==-1){const C=m[E],U=parseInt(C["LAST-MSN"])||(n==null?void 0:n.lastPartSn);let H=parseInt(C["LAST-PART"])||(n==null?void 0:n.lastPartIndex);if(this.hls.config.lowLatencyMode){const ae=Math.min(n.age-n.partTarget,n.targetduration);H>=0&&ae>n.partTarget&&(H+=1)}const $=o&&yn(o);return new Zn(U,H>=0?H:void 0,$)}}}loadPlaylist(t){this.clearTimer()}loadingPlaylist(t,n){this.clearTimer()}shouldLoadPlaylist(t){return this.canLoad&&!!t&&!!t.url&&(!t.details||t.details.live)}getUrlWithDirectives(t,n){if(n)try{return n.addDirectives(t)}catch(o){this.warn(`Could not construct new URL with HLS Delivery Directives: ${o}`)}return t}playlistLoaded(t,n,o){const{details:m,stats:E}=n,C=self.performance.now(),U=E.loading.first?Math.max(0,C-E.loading.first):0;m.advancedDateTime=Date.now()-U;const H=this.hls.config.timelineOffset;if(H!==m.appliedTimelineOffset){const ae=Math.max(H||0,0);m.appliedTimelineOffset=ae,m.fragments.forEach(ce=>{ce.start=ce.playlistOffset+ae})}if(m.live||o!=null&&o.live){const ae="levelInfo"in n?n.levelInfo:n.track;if(m.reloaded(o),o&&m.fragments.length>0){vr(o,m);const dr=m.playlistParsingError;if(dr){this.warn(dr);const ar=this.hls;if(!ar.config.ignorePlaylistParsingErrors){var $;const{networkDetails:Zr}=n;ar.trigger(s.ERROR,{type:c.NETWORK_ERROR,details:f.LEVEL_PARSING_ERROR,fatal:!1,url:m.url,error:dr,reason:dr.message,level:n.level||void 0,parent:($=m.fragments[0])==null?void 0:$.type,networkDetails:Zr,stats:E});return}m.playlistParsingError=null}}m.requestScheduled===-1&&(m.requestScheduled=E.loading.start);const ce=this.hls.mainForwardBufferInfo,xe=ce?ce.end-ce.len:0,Te=(m.edge-xe)*1e3,De=ur(m,Te);if(m.requestScheduled+De<C?m.requestScheduled=C:m.requestScheduled+=De,this.log(`live playlist ${t} ${m.advanced?"REFRESHED "+m.lastPartSn+"-"+m.lastPartIndex:m.updated?"UPDATED":"MISSED"}`),!this.canLoad||!m.live)return;let tt,at,Bt;if(m.canBlockReload&&m.endSN&&m.advanced){const dr=this.hls.config.lowLatencyMode,ar=m.lastPartSn,Zr=m.endSN,Gr=m.lastPartIndex,fn=Gr!==-1,Vr=ar===Zr;fn?Vr?(at=Zr+1,Bt=dr?0:Gr):(at=ar,Bt=dr?Gr+1:m.maxPartIndex):at=Zr+1;const on=m.age,_n=on+m.ageHeader;let Xr=Math.min(_n-m.partTarget,m.targetduration*1.5);if(Xr>0){if(_n>m.targetduration*3)this.log(`Playlist last advanced ${on.toFixed(2)}s ago. Omitting segment and part directives.`),at=void 0,Bt=void 0;else if(o!=null&&o.tuneInGoal&&_n-m.partTarget>o.tuneInGoal)this.warn(`CDN Tune-in goal increased from: ${o.tuneInGoal} to: ${Xr} with playlist age: ${m.age}`),Xr=0;else{const Yn=Math.floor(Xr/m.targetduration);if(at+=Yn,Bt!==void 0){const di=Math.round(Xr%m.targetduration/m.partTarget);Bt+=di}this.log(`CDN Tune-in age: ${m.ageHeader}s last advanced ${on.toFixed(2)}s goal: ${Xr} skip sn ${Yn} to part ${Bt}`)}m.tuneInGoal=Xr}if(tt=this.getDeliveryDirectives(m,n.deliveryDirectives,at,Bt),dr||!Vr){m.requestScheduled=C,this.loadingPlaylist(ae,tt);return}}else(m.canBlockReload||m.canSkipUntil)&&(tt=this.getDeliveryDirectives(m,n.deliveryDirectives,at,Bt));tt&&at!==void 0&&m.canBlockReload&&(m.requestScheduled=E.loading.first+Math.max(De-U*2,De/2)),this.scheduleLoading(ae,tt,m)}else this.clearTimer()}scheduleLoading(t,n,o){const m=o||t.details;if(!m){this.loadingPlaylist(t,n);return}const E=self.performance.now(),C=m.requestScheduled;if(E>=C){this.loadingPlaylist(t,n);return}const U=C-E;this.log(`reload live playlist ${t.name||t.bitrate+"bps"} in ${Math.round(U)} ms`),this.clearTimer(),this.timer=self.setTimeout(()=>this.loadingPlaylist(t,n),U)}getDeliveryDirectives(t,n,o,m){let E=yn(t);return n!=null&&n.skip&&t.deltaUpdateFailed&&(o=n.msn,m=n.part,E=Mr.No),new Zn(o,m,E)}checkRetry(t){const n=t.details,o=lr(t),m=t.errorAction,{action:E,retryCount:C=0,retryConfig:U}=m||{},H=!!m&&!!U&&(E===Ee.RetryRequest||!m.resolved&&E===Ee.SendAlternateToPenaltyBox);if(H){var $;if(C>=U.maxNumRetry)return!1;if(o&&($=t.context)!=null&&$.deliveryDirectives)this.warn(`Retrying playlist loading ${C+1}/${U.maxNumRetry} after "${n}" without delivery-directives`),this.loadPlaylist();else{const ae=Ir(U,C);this.clearTimer(),this.timer=self.setTimeout(()=>this.loadPlaylist(),ae),this.warn(`Retrying playlist loading ${C+1}/${U.maxNumRetry} after "${n}" in ${ae}ms`)}t.levelRetry=!0,m.resolved=!0}return H}}function oc(P,t){if(P.length!==t.length)return!1;for(let n=0;n<P.length;n++)if(!Zu(P[n].attrs,t[n].attrs))return!1;return!0}function Zu(P,t,n){const o=P["STABLE-RENDITION-ID"];return o&&!n?o===t["STABLE-RENDITION-ID"]:!(n||["LANGUAGE","NAME","CHARACTERISTICS","AUTOSELECT","DEFAULT","FORCED","ASSOC-LANGUAGE"]).some(m=>P[m]!==t[m])}function ai(P,t){return t.label.toLowerCase()===P.name.toLowerCase()&&(!t.language||t.language.toLowerCase()===(P.lang||"").toLowerCase())}class Sc extends lu{constructor(t){super(t,"audio-track-controller"),this.tracks=[],this.groupIds=null,this.tracksInGroup=[],this.trackId=-1,this.currentTrack=null,this.selectDefaultTrack=!0,this.registerListeners()}registerListeners(){const{hls:t}=this;t.on(s.MANIFEST_LOADING,this.onManifestLoading,this),t.on(s.MANIFEST_PARSED,this.onManifestParsed,this),t.on(s.LEVEL_LOADING,this.onLevelLoading,this),t.on(s.LEVEL_SWITCHING,this.onLevelSwitching,this),t.on(s.AUDIO_TRACK_LOADED,this.onAudioTrackLoaded,this),t.on(s.ERROR,this.onError,this)}unregisterListeners(){const{hls:t}=this;t.off(s.MANIFEST_LOADING,this.onManifestLoading,this),t.off(s.MANIFEST_PARSED,this.onManifestParsed,this),t.off(s.LEVEL_LOADING,this.onLevelLoading,this),t.off(s.LEVEL_SWITCHING,this.onLevelSwitching,this),t.off(s.AUDIO_TRACK_LOADED,this.onAudioTrackLoaded,this),t.off(s.ERROR,this.onError,this)}destroy(){this.unregisterListeners(),this.tracks.length=0,this.tracksInGroup.length=0,this.currentTrack=null,super.destroy()}onManifestLoading(){this.tracks=[],this.tracksInGroup=[],this.groupIds=null,this.currentTrack=null,this.trackId=-1,this.selectDefaultTrack=!0}onManifestParsed(t,n){this.tracks=n.audioTracks||[]}onAudioTrackLoaded(t,n){const{id:o,groupId:m,details:E}=n,C=this.tracksInGroup[o];if(!C||C.groupId!==m){this.warn(`Audio track with id:${o} and group:${m} not found in active group ${C==null?void 0:C.groupId}`);return}const U=C.details;C.details=n.details,this.log(`Audio track ${o} "${C.name}" lang:${C.lang} group:${m} loaded [${E.startSN}-${E.endSN}]`),o===this.trackId&&this.playlistLoaded(o,n,U)}onLevelLoading(t,n){this.switchLevel(n.level)}onLevelSwitching(t,n){this.switchLevel(n.level)}switchLevel(t){const n=this.hls.levels[t];if(!n)return;const o=n.audioGroups||null,m=this.groupIds;let E=this.currentTrack;if(!o||(m==null?void 0:m.length)!==(o==null?void 0:o.length)||o!=null&&o.some(U=>(m==null?void 0:m.indexOf(U))===-1)){this.groupIds=o,this.trackId=-1,this.currentTrack=null;const U=this.tracks.filter(xe=>!o||o.indexOf(xe.groupId)!==-1);if(U.length)this.selectDefaultTrack&&!U.some(xe=>xe.default)&&(this.selectDefaultTrack=!1),U.forEach((xe,Te)=>{xe.id=Te});else if(!E&&!this.tracksInGroup.length)return;this.tracksInGroup=U;const H=this.hls.config.audioPreference;if(!E&&H){const xe=Xi(H,U,ut);if(xe>-1)E=U[xe];else{const Te=Xi(H,this.tracks);E=this.tracks[Te]}}let $=this.findTrackId(E);$===-1&&E&&($=this.findTrackId(null));const ae={audioTracks:U};this.log(`Updating audio tracks, ${U.length} track(s) found in group(s): ${o==null?void 0:o.join(",")}`),this.hls.trigger(s.AUDIO_TRACKS_UPDATED,ae);const ce=this.trackId;if($!==-1&&ce===-1)this.setAudioTrack($);else if(U.length&&ce===-1){var C;const xe=new Error(`No audio track selected for current audio group-ID(s): ${(C=this.groupIds)==null?void 0:C.join(",")} track count: ${U.length}`);this.warn(xe.message),this.hls.trigger(s.ERROR,{type:c.MEDIA_ERROR,details:f.AUDIO_TRACK_LOAD_ERROR,fatal:!0,error:xe})}}}onError(t,n){n.fatal||!n.context||n.context.type===h.AUDIO_TRACK&&n.context.id===this.trackId&&(!this.groupIds||this.groupIds.indexOf(n.context.groupId)!==-1)&&this.checkRetry(n)}get allAudioTracks(){return this.tracks}get audioTracks(){return this.tracksInGroup}get audioTrack(){return this.trackId}set audioTrack(t){this.selectDefaultTrack=!1,this.setAudioTrack(t)}setAudioOption(t){const n=this.hls;if(n.config.audioPreference=t,t){const o=this.allAudioTracks;if(this.selectDefaultTrack=!1,o.length){const m=this.currentTrack;if(m&&qn(t,m,ut))return m;const E=Xi(t,this.tracksInGroup,ut);if(E>-1){const C=this.tracksInGroup[E];return this.setAudioTrack(E),C}else if(m){let C=n.loadLevel;C===-1&&(C=n.firstAutoLevel);const U=Jn(t,n.levels,o,C,ut);if(U===-1)return null;n.nextLoadLevel=U}if(t.channels||t.audioCodec){const C=Xi(t,o);if(C>-1)return o[C]}}}return null}setAudioTrack(t){const n=this.tracksInGroup;if(t<0||t>=n.length){this.warn(`Invalid audio track id: ${t}`);return}this.selectDefaultTrack=!1;const o=this.currentTrack,m=n[t],E=m.details&&!m.details.live;if(t===this.trackId&&m===o&&E||(this.log(`Switching to audio-track ${t} "${m.name}" lang:${m.lang} group:${m.groupId} channels:${m.channels}`),this.trackId=t,this.currentTrack=m,this.hls.trigger(s.AUDIO_TRACK_SWITCHING,b({},m)),E))return;const C=this.switchParams(m.url,o==null?void 0:o.details,m.details);this.loadPlaylist(C)}findTrackId(t){const n=this.tracksInGroup;for(let o=0;o<n.length;o++){const m=n[o];if(!(this.selectDefaultTrack&&!m.default)&&(!t||qn(t,m,ut)))return o}if(t){const{name:o,lang:m,assocLang:E,characteristics:C,audioCodec:U,channels:H}=t;for(let $=0;$<n.length;$++){const ae=n[$];if(qn({name:o,lang:m,assocLang:E,characteristics:C,audioCodec:U,channels:H},ae,ut))return $}for(let $=0;$<n.length;$++){const ae=n[$];if(Zu(t.attrs,ae.attrs,["LANGUAGE","ASSOC-LANGUAGE","CHARACTERISTICS"]))return $}for(let $=0;$<n.length;$++){const ae=n[$];if(Zu(t.attrs,ae.attrs,["LANGUAGE"]))return $}}return-1}loadPlaylist(t){super.loadPlaylist();const n=this.currentTrack;this.shouldLoadPlaylist(n)&&ei(n.url,this.hls)&&this.scheduleLoading(n,t)}loadingPlaylist(t,n){super.loadingPlaylist(t,n);const o=t.id,m=t.groupId,E=this.getUrlWithDirectives(t.url,n),C=t.details,U=C==null?void 0:C.age;this.log(`Loading audio-track ${o} "${t.name}" lang:${t.lang} group:${m}${(n==null?void 0:n.msn)!==void 0?" at sn "+n.msn+" part "+n.part:""}${U&&C.live?" age "+U.toFixed(1)+(C.type?" "+C.type||0:""):""} ${E}`),this.hls.trigger(s.AUDIO_TRACK_LOADING,{url:E,id:o,groupId:m,deliveryDirectives:n||null,track:t})}}class to{constructor(t){this.tracks=void 0,this.queues={video:[],audio:[],audiovideo:[]},this.tracks=t}destroy(){this.tracks=this.queues=null}append(t,n,o){if(this.queues===null||this.tracks===null)return;const m=this.queues[n];m.push(t),m.length===1&&!o&&this.executeNext(n)}appendBlocker(t){return new Promise(n=>{const o={label:"async-blocker",execute:n,onStart:()=>{},onComplete:()=>{},onError:()=>{}};this.append(o,t)})}prependBlocker(t){return new Promise(n=>{if(this.queues){const o={label:"async-blocker-prepend",execute:n,onStart:()=>{},onComplete:()=>{},onError:()=>{}};this.queues[t].unshift(o)}})}removeBlockers(){this.queues!==null&&[this.queues.video,this.queues.audio,this.queues.audiovideo].forEach(t=>{var n;const o=(n=t[0])==null?void 0:n.label;(o==="async-blocker"||o==="async-blocker-prepend")&&(t[0].execute(),t.splice(0,1))})}unblockAudio(t){if(this.queues===null)return;this.queues.audio[0]===t&&this.shiftAndExecuteNext("audio")}executeNext(t){if(this.queues===null||this.tracks===null)return;const n=this.queues[t];if(n.length){const m=n[0];try{m.execute()}catch(E){var o;if(m.onError(E),this.queues===null||this.tracks===null)return;const C=(o=this.tracks[t])==null?void 0:o.buffer;C!=null&&C.updating||this.shiftAndExecuteNext(t)}}}shiftAndExecuteNext(t){this.queues!==null&&(this.queues[t].shift(),this.executeNext(t))}current(t){var n;return((n=this.queues)==null?void 0:n[t][0])||null}toString(){const{queues:t,tracks:n}=this;return t===null||n===null?"<destroyed>":`
${this.list("video")}
${this.list("audio")}
${this.list("audiovideo")}}`}list(t){var n,o;return(n=this.queues)!=null&&n[t]||(o=this.tracks)!=null&&o[t]?`${t}: (${this.listSbInfo(t)}) ${this.listOps(t)}`:""}listSbInfo(t){var n;const o=(n=this.tracks)==null?void 0:n[t],m=o==null?void 0:o.buffer;return m?`SourceBuffer${m.updating?" updating":""}${o.ended?" ended":""}${o.ending?" ending":""}`:"none"}listOps(t){var n;return((n=this.queues)==null?void 0:n[t].map(o=>o.label).join(", "))||""}}const uc=/(avc[1234]|hvc1|hev1|dvh[1e]|vp09|av01)(?:\.[^.,]+)+/,tu="HlsJsTrackRemovedError";class rl extends Error{constructor(t){super(t),this.name=tu}}class Hu extends L{constructor(t,n){super("buffer-controller",t.logger),this.hls=void 0,this.fragmentTracker=void 0,this.details=null,this._objectUrl=null,this.operationQueue=null,this.bufferCodecEventsTotal=0,this.media=null,this.mediaSource=null,this.lastMpegAudioChunk=null,this.blockedAudioAppend=null,this.lastVideoAppendEnd=0,this.appendSource=void 0,this.transferData=void 0,this.overrides=void 0,this.appendErrors={audio:0,video:0,audiovideo:0},this.tracks={},this.sourceBuffers=[[null,null],[null,null]],this._onEndStreaming=o=>{var m;this.hls&&((m=this.mediaSource)==null?void 0:m.readyState)==="open"&&this.hls.pauseBuffering()},this._onStartStreaming=o=>{this.hls&&this.hls.resumeBuffering()},this._onMediaSourceOpen=o=>{const{media:m,mediaSource:E}=this;o&&this.log("Media source opened"),!(!m||!E)&&(E.removeEventListener("sourceopen",this._onMediaSourceOpen),m.removeEventListener("emptied",this._onMediaEmptied),this.updateDuration(),this.hls.trigger(s.MEDIA_ATTACHED,{media:m,mediaSource:E}),this.mediaSource!==null&&this.checkPendingTracks())},this._onMediaSourceClose=()=>{this.log("Media source closed")},this._onMediaSourceEnded=()=>{this.log("Media source ended")},this._onMediaEmptied=()=>{const{mediaSrc:o,_objectUrl:m}=this;o!==m&&this.error(`Media element src was set while attaching MediaSource (${m} > ${o})`)},this.hls=t,this.fragmentTracker=n,this.appendSource=ie(oe(t.config.preferManagedMediaSource)),this.initTracks(),this.registerListeners()}hasSourceTypes(){return Object.keys(this.tracks).length>0}destroy(){this.unregisterListeners(),this.details=null,this.lastMpegAudioChunk=this.blockedAudioAppend=null,this.transferData=this.overrides=void 0,this.operationQueue&&(this.operationQueue.destroy(),this.operationQueue=null),this.hls=this.fragmentTracker=null,this._onMediaSourceOpen=this._onMediaSourceClose=null,this._onMediaSourceEnded=null,this._onStartStreaming=this._onEndStreaming=null}registerListeners(){const{hls:t}=this;t.on(s.MEDIA_ATTACHING,this.onMediaAttaching,this),t.on(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(s.MANIFEST_LOADING,this.onManifestLoading,this),t.on(s.MANIFEST_PARSED,this.onManifestParsed,this),t.on(s.BUFFER_RESET,this.onBufferReset,this),t.on(s.BUFFER_APPENDING,this.onBufferAppending,this),t.on(s.BUFFER_CODECS,this.onBufferCodecs,this),t.on(s.BUFFER_EOS,this.onBufferEos,this),t.on(s.BUFFER_FLUSHING,this.onBufferFlushing,this),t.on(s.LEVEL_UPDATED,this.onLevelUpdated,this),t.on(s.FRAG_PARSED,this.onFragParsed,this),t.on(s.FRAG_CHANGED,this.onFragChanged,this),t.on(s.ERROR,this.onError,this)}unregisterListeners(){const{hls:t}=this;t.off(s.MEDIA_ATTACHING,this.onMediaAttaching,this),t.off(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(s.MANIFEST_LOADING,this.onManifestLoading,this),t.off(s.MANIFEST_PARSED,this.onManifestParsed,this),t.off(s.BUFFER_RESET,this.onBufferReset,this),t.off(s.BUFFER_APPENDING,this.onBufferAppending,this),t.off(s.BUFFER_CODECS,this.onBufferCodecs,this),t.off(s.BUFFER_EOS,this.onBufferEos,this),t.off(s.BUFFER_FLUSHING,this.onBufferFlushing,this),t.off(s.LEVEL_UPDATED,this.onLevelUpdated,this),t.off(s.FRAG_PARSED,this.onFragParsed,this),t.off(s.FRAG_CHANGED,this.onFragChanged,this),t.off(s.ERROR,this.onError,this)}transferMedia(){const{media:t,mediaSource:n}=this;if(!t)return null;const o={};if(this.operationQueue){const E=this.isUpdating();E||this.operationQueue.removeBlockers();const C=this.isQueued();(E||C)&&this.warn(`Transfering MediaSource with${C?" operations in queue":""}${E?" updating SourceBuffer(s)":""} ${this.operationQueue}`),this.operationQueue.destroy()}const m=this.transferData;return!this.sourceBufferCount&&m&&m.mediaSource===n?y(o,m.tracks):this.sourceBuffers.forEach(E=>{const[C]=E;C&&(o[C]=y({},this.tracks[C]),this.removeBuffer(C)),E[0]=E[1]=null}),{media:t,mediaSource:n,tracks:o}}initTracks(){const t={};this.sourceBuffers=[[null,null],[null,null]],this.tracks=t,this.resetQueue(),this.resetAppendErrors(),this.lastMpegAudioChunk=this.blockedAudioAppend=null,this.lastVideoAppendEnd=0}onManifestLoading(){this.bufferCodecEventsTotal=0,this.details=null}onManifestParsed(t,n){var o;let m=2;(n.audio&&!n.video||!n.altAudio)&&(m=1),this.bufferCodecEventsTotal=m,this.log(`${m} bufferCodec event(s) expected.`),(o=this.transferData)!=null&&o.mediaSource&&this.sourceBufferCount&&m&&this.bufferCreated()}onMediaAttaching(t,n){const o=this.media=n.media,m=oe(this.appendSource);if(this.transferData=this.overrides=void 0,o&&m){const E=!!n.mediaSource;(E||n.overrides)&&(this.transferData=n,this.overrides=n.overrides);const C=this.mediaSource=n.mediaSource||new m;if(this.assignMediaSource(C),E)this._objectUrl=o.src,this.attachTransferred();else{const U=this._objectUrl=self.URL.createObjectURL(C);if(this.appendSource)try{o.removeAttribute("src");const H=self.ManagedMediaSource;o.disableRemotePlayback=o.disableRemotePlayback||H&&C instanceof H,lc(o),Ac(o,U),o.load()}catch(H){o.src=U}else o.src=U}o.addEventListener("emptied",this._onMediaEmptied)}}assignMediaSource(t){var n,o;this.log(`${((n=this.transferData)==null?void 0:n.mediaSource)===t?"transferred":"created"} media source: ${(o=t.constructor)==null?void 0:o.name}`),t.addEventListener("sourceopen",this._onMediaSourceOpen),t.addEventListener("sourceended",this._onMediaSourceEnded),t.addEventListener("sourceclose",this._onMediaSourceClose),this.appendSource&&(t.addEventListener("startstreaming",this._onStartStreaming),t.addEventListener("endstreaming",this._onEndStreaming))}attachTransferred(){const t=this.media,n=this.transferData;if(!n||!t)return;const o=this.tracks,m=n.tracks,E=m?Object.keys(m):null,C=E?E.length:0,U=()=>{this.media&&this.mediaSourceOpenOrEnded&&this._onMediaSourceOpen()};if(m&&E&&C){if(!this.tracksReady){this.hls.config.startFragPrefetch=!0,this.log("attachTransferred: waiting for SourceBuffer track info");return}if(this.log(`attachTransferred: (bufferCodecEventsTotal ${this.bufferCodecEventsTotal})
required tracks: ${jn(o,(H,$)=>H==="initSegment"?void 0:$)};
transfer tracks: ${jn(m,(H,$)=>H==="initSegment"?void 0:$)}}`),!ue(m,o)){n.mediaSource=null,n.tracks=void 0;const H=t.currentTime,$=this.details,ae=Math.max(H,($==null?void 0:$.fragments[0].start)||0);if(ae-H>1){this.log(`attachTransferred: waiting for playback to reach new tracks start time ${H} -> ${ae}`);return}this.warn(`attachTransferred: resetting MediaSource for incompatible tracks ("${Object.keys(m)}"->"${Object.keys(o)}") start time: ${ae} currentTime: ${H}`),this.onMediaDetaching(s.MEDIA_DETACHING,{}),this.onMediaAttaching(s.MEDIA_ATTACHING,n),t.currentTime=ae;return}this.transferData=void 0,E.forEach(H=>{const $=H,ae=m[$];if(ae){const ce=ae.buffer;if(ce){const xe=this.fragmentTracker,Te=ae.id;if(xe.hasFragments(Te)||xe.hasParts(Te)){const at=yi.getBuffered(ce);xe.detectEvictedFragments($,at,Te,null,!0)}const De=qs($),tt=[$,ce];this.sourceBuffers[De]=tt,ce.updating&&this.operationQueue&&this.operationQueue.prependBlocker($),this.trackSourceBuffer($,ae)}}}),U(),this.bufferCreated()}else this.log("attachTransferred: MediaSource w/o SourceBuffers"),U()}get mediaSourceOpenOrEnded(){var t;const n=(t=this.mediaSource)==null?void 0:t.readyState;return n==="open"||n==="ended"}onMediaDetaching(t,n){const o=!!n.transferMedia;this.transferData=this.overrides=void 0;const{media:m,mediaSource:E,_objectUrl:C}=this;if(E){if(this.log(`media source ${o?"transferring":"detaching"}`),o)this.sourceBuffers.forEach(([U])=>{U&&this.removeBuffer(U)}),this.resetQueue();else{if(this.mediaSourceOpenOrEnded){const U=E.readyState==="open";try{const H=E.sourceBuffers;for(let $=H.length;$--;)U&&H[$].abort(),E.removeSourceBuffer(H[$]);U&&E.endOfStream()}catch(H){this.warn(`onMediaDetaching: ${H.message} while calling endOfStream`)}}this.sourceBufferCount&&this.onBufferReset()}E.removeEventListener("sourceopen",this._onMediaSourceOpen),E.removeEventListener("sourceended",this._onMediaSourceEnded),E.removeEventListener("sourceclose",this._onMediaSourceClose),this.appendSource&&(E.removeEventListener("startstreaming",this._onStartStreaming),E.removeEventListener("endstreaming",this._onEndStreaming)),this.mediaSource=null,this._objectUrl=null}m&&(m.removeEventListener("emptied",this._onMediaEmptied),o||(C&&self.URL.revokeObjectURL(C),this.mediaSrc===C?(m.removeAttribute("src"),this.appendSource&&lc(m),m.load()):this.warn("media|source.src was changed by a third party - skip cleanup")),this.media=null),this.hls.trigger(s.MEDIA_DETACHED,n)}onBufferReset(){this.sourceBuffers.forEach(([t])=>{t&&this.resetBuffer(t)}),this.initTracks()}resetBuffer(t){var n;const o=(n=this.tracks[t])==null?void 0:n.buffer;if(this.removeBuffer(t),o)try{var m;(m=this.mediaSource)!=null&&m.sourceBuffers.length&&this.mediaSource.removeSourceBuffer(o)}catch(E){this.warn(`onBufferReset ${t}`,E)}delete this.tracks[t]}removeBuffer(t){this.removeBufferListeners(t),this.sourceBuffers[qs(t)]=[null,null];const n=this.tracks[t];n&&(n.buffer=void 0)}resetQueue(){this.operationQueue&&this.operationQueue.destroy(),this.operationQueue=new to(this.tracks)}onBufferCodecs(t,n){const o=this.tracks,m=Object.keys(n);this.log(`BUFFER_CODECS: "${m}" (current SB count ${this.sourceBufferCount})`);const E="audiovideo"in n&&(o.audio||o.video)||o.audiovideo&&("audio"in n||"video"in n),C=!E&&this.sourceBufferCount&&this.media&&m.some(U=>!o[U]);if(E||C){this.warn(`Unsupported transition between "${Object.keys(o)}" and "${m}" SourceBuffers`);return}m.forEach(U=>{var H,$,ae;const ce=n[U],{id:xe,codec:Te,levelCodec:De,container:tt,metadata:at,supplemental:Bt}=ce;let dr=o[U];const ar=(H=this.transferData)==null||($=H.tracks)==null?void 0:$[U],Zr=ar!=null&&ar.buffer?ar:dr,Gr=(Zr==null?void 0:Zr.pendingCodec)||(Zr==null?void 0:Zr.codec),fn=Zr==null?void 0:Zr.levelCodec;dr||(dr=o[U]={buffer:void 0,listeners:[],codec:Te,supplemental:Bt,container:tt,levelCodec:De,metadata:at,id:xe});const Vr=qr(Gr,fn),on=Vr==null?void 0:Vr.replace(uc,"$1");let _n=qr(Te,De);const Xr=(ae=_n)==null?void 0:ae.replace(uc,"$1");_n&&Vr&&on!==Xr&&(U.slice(0,5)==="audio"&&(_n=At(_n,this.appendSource)),this.log(`switching codec ${Gr} to ${_n}`),_n!==(dr.pendingCodec||dr.codec)&&(dr.pendingCodec=_n),dr.container=tt,this.appendChangeType(U,tt,_n))}),(this.tracksReady||this.sourceBufferCount)&&(n.tracks=this.sourceBufferTracks),!this.sourceBufferCount&&this.mediaSourceOpenOrEnded&&this.checkPendingTracks()}get sourceBufferTracks(){return Object.keys(this.tracks).reduce((t,n)=>{const o=this.tracks[n];return t[n]={id:o.id,container:o.container,codec:o.codec,levelCodec:o.levelCodec},t},{})}appendChangeType(t,n,o){const m=`${n};codecs=${o}`,E={label:`change-type=${m}`,execute:()=>{const C=this.tracks[t];if(C){const U=C.buffer;U!=null&&U.changeType&&(this.log(`changing ${t} sourceBuffer type to ${m}`),U.changeType(m),C.codec=o,C.container=n)}this.shiftAndExecuteNext(t)},onStart:()=>{},onComplete:()=>{},onError:C=>{this.warn(`Failed to change ${t} SourceBuffer type`,C)}};this.append(E,t,this.isPending(this.tracks[t]))}blockAudio(t){var n;const o=t.start,m=o+t.duration*.05;if(((n=this.fragmentTracker.getAppendedFrag(o,u.MAIN))==null?void 0:n.gap)===!0)return;const C={label:"block-audio",execute:()=>{var U;const H=this.tracks.video;(this.lastVideoAppendEnd>m||H!=null&&H.buffer&&yi.isBuffered(H.buffer,m)||((U=this.fragmentTracker.getAppendedFrag(m,u.MAIN))==null?void 0:U.gap)===!0)&&(this.blockedAudioAppend=null,this.shiftAndExecuteNext("audio"))},onStart:()=>{},onComplete:()=>{},onError:U=>{this.warn("Error executing block-audio operation",U)}};this.blockedAudioAppend={op:C,frag:t},this.append(C,"audio",!0)}unblockAudio(){const{blockedAudioAppend:t,operationQueue:n}=this;t&&n&&(this.blockedAudioAppend=null,n.unblockAudio(t.op))}onBufferAppending(t,n){const{tracks:o}=this,{data:m,type:E,parent:C,frag:U,part:H,chunkMeta:$}=n,ae=$.buffering[E],ce=U.sn,xe=self.performance.now();ae.start=xe;const Te=U.stats.buffering,De=H?H.stats.buffering:null;Te.start===0&&(Te.start=xe),De&&De.start===0&&(De.start=xe);const tt=o.audio;let at=!1;E==="audio"&&(tt==null?void 0:tt.container)==="audio/mpeg"&&(at=!this.lastMpegAudioChunk||$.id===1||this.lastMpegAudioChunk.sn!==$.sn,this.lastMpegAudioChunk=$);const Bt=this.tracks.video,dr=Bt==null?void 0:Bt.buffer;if(dr&&ce!=="initSegment"){const Gr=H||U,fn=this.blockedAudioAppend;if(E==="audio"&&C!=="main"&&!this.blockedAudioAppend){const on=Gr.start+Gr.duration*.05,_n=dr.buffered,Xr=this.currentOp("video");!_n.length&&!Xr?this.blockAudio(Gr):!Xr&&!yi.isBuffered(dr,on)&&this.lastVideoAppendEnd<on&&this.blockAudio(Gr)}else if(E==="video"){const Vr=Gr.end;if(fn){const on=fn.frag.start;(Vr>on||Vr<this.lastVideoAppendEnd||yi.isBuffered(dr,on))&&this.unblockAudio()}this.lastVideoAppendEnd=Vr}}const ar=(H||U).start,Zr={label:`append-${E}`,execute:()=>{if(ae.executeStart=self.performance.now(),at){const Gr=this.tracks[E];if(Gr){const fn=Gr.buffer;if(fn){const Vr=ar-fn.timestampOffset;Math.abs(Vr)>=.1&&(this.log(`Updating audio SourceBuffer timestampOffset to ${ar} (delta: ${Vr}) sn: ${ce})`),fn.timestampOffset=ar)}}}this.appendExecutor(m,E)},onStart:()=>{},onComplete:()=>{const Gr=self.performance.now();ae.executeEnd=ae.end=Gr,Te.first===0&&(Te.first=Gr),De&&De.first===0&&(De.first=Gr);const fn={};this.sourceBuffers.forEach(([Vr,on])=>{Vr&&(fn[Vr]=yi.getBuffered(on))}),this.appendErrors[E]=0,E==="audio"||E==="video"?this.appendErrors.audiovideo=0:(this.appendErrors.audio=0,this.appendErrors.video=0),this.hls.trigger(s.BUFFER_APPENDED,{type:E,frag:U,part:H,chunkMeta:$,parent:U.type,timeRanges:fn})},onError:Gr=>{var fn;const Vr={type:c.MEDIA_ERROR,parent:U.type,details:f.BUFFER_APPEND_ERROR,sourceBufferName:E,frag:U,part:H,chunkMeta:$,error:Gr,err:Gr,fatal:!1},on=(fn=this.media)==null?void 0:fn.error;if(Gr.code===DOMException.QUOTA_EXCEEDED_ERR)Vr.details=f.BUFFER_FULL_ERROR;else if(Gr.code===DOMException.INVALID_STATE_ERR&&this.mediaSourceOpenOrEnded&&!on)Vr.errorAction=Dr(!0);else if(Gr.name===tu&&this.sourceBufferCount===0)Vr.errorAction=Dr(!0);else{const _n=++this.appendErrors[E];this.warn(`Failed ${_n}/${this.hls.config.appendErrorMaxRetry} times to append segment in "${E}" sourceBuffer (${on||"no media error"})`),(_n>=this.hls.config.appendErrorMaxRetry||on)&&(Vr.fatal=!0)}this.hls.trigger(s.ERROR,Vr)}};this.append(Zr,E,this.isPending(this.tracks[E]))}getFlushOp(t,n,o){return this.log(`queuing "${t}" remove ${n}-${o}`),{label:"remove",execute:()=>{this.removeExecutor(t,n,o)},onStart:()=>{},onComplete:()=>{this.hls.trigger(s.BUFFER_FLUSHED,{type:t})},onError:m=>{this.warn(`Failed to remove ${n}-${o} from "${t}" SourceBuffer`,m)}}}onBufferFlushing(t,n){const{type:o,startOffset:m,endOffset:E}=n;o?this.append(this.getFlushOp(o,m,E),o):this.sourceBuffers.forEach(([C])=>{C&&this.append(this.getFlushOp(C,m,E),C)})}onFragParsed(t,n){const{frag:o,part:m}=n,E=[],C=m?m.elementaryStreams:o.elementaryStreams;C[F.AUDIOVIDEO]?E.push("audiovideo"):(C[F.AUDIO]&&E.push("audio"),C[F.VIDEO]&&E.push("video"));const U=()=>{const H=self.performance.now();o.stats.buffering.end=H,m&&(m.stats.buffering.end=H);const $=m?m.stats:o.stats;this.hls.trigger(s.FRAG_BUFFERED,{frag:o,part:m,stats:$,id:o.type})};E.length===0&&this.warn(`Fragments must have at least one ElementaryStreamType set. type: ${o.type} level: ${o.level} sn: ${o.sn}`),this.blockBuffers(U,E).catch(H=>{this.warn(`Fragment buffered callback ${H}`),this.stepOperationQueue(this.sourceBufferTypes)})}onFragChanged(t,n){this.trimBuffers()}get bufferedToEnd(){return this.sourceBufferCount>0&&!this.sourceBuffers.some(([t])=>{var n,o;return t&&(!((n=this.tracks[t])!=null&&n.ended)||((o=this.tracks[t])==null?void 0:o.ending))})}onBufferEos(t,n){var o;this.sourceBuffers.forEach(([C])=>{if(C){const U=this.tracks[C];(!n.type||n.type===C)&&(U.ending=!0,U.ended||(U.ended=!0,this.log(`${C} buffer reached EOS`)))}});const m=((o=this.overrides)==null?void 0:o.endOfStream)!==!1;this.sourceBufferCount>0&&!this.sourceBuffers.some(([C])=>{var U;return C&&!((U=this.tracks[C])!=null&&U.ended)})&&(m?(this.log("Queueing EOS"),this.blockUntilOpen(()=>{this.tracksEnded();const{mediaSource:C}=this;if(!C||C.readyState!=="open"){C&&this.log(`Could not call mediaSource.endOfStream(). mediaSource.readyState: ${C.readyState}`);return}this.log("Calling mediaSource.endOfStream()"),C.endOfStream(),this.hls.trigger(s.BUFFERED_TO_END,void 0)})):(this.tracksEnded(),this.hls.trigger(s.BUFFERED_TO_END,void 0)))}tracksEnded(){this.sourceBuffers.forEach(([t])=>{if(t!==null){const n=this.tracks[t];n&&(n.ending=!1)}})}onLevelUpdated(t,{details:n}){n.fragments.length&&(this.details=n,this.updateDuration())}updateDuration(){const t=this.getDurationAndRange();t&&this.blockUntilOpen(()=>this.updateMediaSource(t))}onError(t,n){if(n.details===f.BUFFER_APPEND_ERROR&&n.frag){var o;const m=(o=n.errorAction)==null?void 0:o.nextAutoLevel;r(m)&&m!==n.frag.level&&this.resetAppendErrors()}}resetAppendErrors(){this.appendErrors={audio:0,video:0,audiovideo:0}}trimBuffers(){const{hls:t,details:n,media:o}=this;if(!o||n===null||!this.sourceBufferCount)return;const m=t.config,E=o.currentTime,C=n.levelTargetDuration,U=n.live&&m.liveBackBufferLength!==null?m.liveBackBufferLength:m.backBufferLength;if(r(U)&&U>=0){const H=Math.max(U,C),$=Math.floor(E/C)*C-H;this.flushBackBuffer(E,C,$)}if(r(m.frontBufferFlushThreshold)&&m.frontBufferFlushThreshold>0){const H=Math.max(m.maxBufferLength,m.frontBufferFlushThreshold),$=Math.max(H,C),ae=Math.floor(E/C)*C+$;this.flushFrontBuffer(E,C,ae)}}flushBackBuffer(t,n,o){this.sourceBuffers.forEach(([m,E])=>{if(E){const U=yi.getBuffered(E);if(U.length>0&&o>U.start(0)){var C;this.hls.trigger(s.BACK_BUFFER_REACHED,{bufferEnd:o});const H=this.tracks[m];if((C=this.details)!=null&&C.live)this.hls.trigger(s.LIVE_BACK_BUFFER_REACHED,{bufferEnd:o});else if(H!=null&&H.ended){this.log(`Cannot flush ${m} back buffer while SourceBuffer is in ended state`);return}this.hls.trigger(s.BUFFER_FLUSHING,{startOffset:0,endOffset:o,type:m})}}})}flushFrontBuffer(t,n,o){this.sourceBuffers.forEach(([m,E])=>{if(E){const C=yi.getBuffered(E),U=C.length;if(U<2)return;const H=C.start(U-1),$=C.end(U-1);if(o>H||t>=H&&t<=$)return;this.hls.trigger(s.BUFFER_FLUSHING,{startOffset:H,endOffset:1/0,type:m})}})}getDurationAndRange(){var t;const{details:n,mediaSource:o}=this;if(!n||!this.media||(o==null?void 0:o.readyState)!=="open")return null;const m=n.edge;if(n.live&&this.hls.config.liveDurationInfinity){if(n.fragments.length&&n.live&&o.setLiveSeekableRange){const $=Math.max(0,n.fragmentStart),ae=Math.max($,m);return{duration:1/0,start:$,end:ae}}return{duration:1/0}}const E=(t=this.overrides)==null?void 0:t.duration;if(E)return r(E)?{duration:E}:null;const C=this.media.duration,U=r(o.duration)?o.duration:0;return m>U&&m>C||!r(C)?{duration:m}:null}updateMediaSource({duration:t,start:n,end:o}){const m=this.mediaSource;!this.media||!m||m.readyState!=="open"||(m.duration!==t&&(r(t)&&this.log(`Updating MediaSource duration to ${t.toFixed(3)}`),m.duration=t),n!==void 0&&o!==void 0&&(this.log(`MediaSource duration is set to ${m.duration}. Setting seekable range to ${n}-${o}.`),m.setLiveSeekableRange(n,o)))}get tracksReady(){const t=this.pendingTrackCount;return t>0&&(t>=this.bufferCodecEventsTotal||this.isPending(this.tracks.audiovideo))}checkPendingTracks(){const{bufferCodecEventsTotal:t,pendingTrackCount:n,tracks:o}=this;if(this.log(`checkPendingTracks (pending: ${n} codec events expected: ${t}) ${jn(o)}`),this.tracksReady){var m;const E=(m=this.transferData)==null?void 0:m.tracks;E&&Object.keys(E).length?this.attachTransferred():this.createSourceBuffers()}}bufferCreated(){if(this.sourceBufferCount){const t={};this.sourceBuffers.forEach(([n,o])=>{if(n){const m=this.tracks[n];t[n]={buffer:o,container:m.container,codec:m.codec,supplemental:m.supplemental,levelCodec:m.levelCodec,id:m.id,metadata:m.metadata}}}),this.hls.trigger(s.BUFFER_CREATED,{tracks:t}),this.log(`SourceBuffers created. Running queue: ${this.operationQueue}`),this.sourceBuffers.forEach(([n])=>{this.executeNext(n)})}else{const t=new Error("could not create source buffer for media codec(s)");this.hls.trigger(s.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_INCOMPATIBLE_CODECS_ERROR,fatal:!0,error:t,reason:t.message})}}createSourceBuffers(){const{tracks:t,sourceBuffers:n,mediaSource:o}=this;if(!o)throw new Error("createSourceBuffers called when mediaSource was null");for(const E in t){const C=E,U=t[C];if(this.isPending(U)){const H=this.getTrackCodec(U,C),$=`${U.container};codecs=${H}`;U.codec=H,this.log(`creating sourceBuffer(${$})${this.currentOp(C)?" Queued":""} ${jn(U)}`);try{const ae=o.addSourceBuffer($),ce=qs(C),xe=[C,ae];n[ce]=xe,U.buffer=ae}catch(ae){var m;this.error(`error while trying to add sourceBuffer: ${ae.message}`),this.shiftAndExecuteNext(C),(m=this.operationQueue)==null||m.removeBlockers(),delete this.tracks[C],this.hls.trigger(s.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_ADD_CODEC_ERROR,fatal:!1,error:ae,sourceBufferName:C,mimeType:$,parent:U.id});return}this.trackSourceBuffer(C,U)}}this.bufferCreated()}getTrackCodec(t,n){const o=t.supplemental;let m=t.codec;o&&(n==="video"||n==="audiovideo")&&Oe(o,"video")&&(m=Kr(m,o));const E=qr(m,t.levelCodec);return E?n.slice(0,5)==="audio"?At(E,this.appendSource):E:""}trackSourceBuffer(t,n){const o=n.buffer;if(!o)return;const m=this.getTrackCodec(n,t);this.tracks[t]={buffer:o,codec:m,container:n.container,levelCodec:n.levelCodec,supplemental:n.supplemental,metadata:n.metadata,id:n.id,listeners:[]},this.removeBufferListeners(t),this.addBufferListener(t,"updatestart",this.onSBUpdateStart),this.addBufferListener(t,"updateend",this.onSBUpdateEnd),this.addBufferListener(t,"error",this.onSBUpdateError),this.appendSource&&this.addBufferListener(t,"bufferedchange",(E,C)=>{const U=C.removedRanges;U!=null&&U.length&&this.hls.trigger(s.BUFFER_FLUSHED,{type:E})})}get mediaSrc(){var t,n;const o=((t=this.media)==null||(n=t.querySelector)==null?void 0:n.call(t,"source"))||this.media;return o==null?void 0:o.src}onSBUpdateStart(t){const n=this.currentOp(t);n&&n.onStart()}onSBUpdateEnd(t){var n;if(((n=this.mediaSource)==null?void 0:n.readyState)==="closed"){this.resetBuffer(t);return}const o=this.currentOp(t);o&&(o.onComplete(),this.shiftAndExecuteNext(t))}onSBUpdateError(t,n){var o;const m=new Error(`${t} SourceBuffer error. MediaSource readyState: ${(o=this.mediaSource)==null?void 0:o.readyState}`);this.error(`${m}`,n),this.hls.trigger(s.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_APPENDING_ERROR,sourceBufferName:t,error:m,fatal:!1});const E=this.currentOp(t);E&&E.onError(m)}removeExecutor(t,n,o){const{media:m,mediaSource:E}=this,C=this.tracks[t],U=C==null?void 0:C.buffer;if(!m||!E||!U){this.warn(`Attempting to remove from the ${t} SourceBuffer, but it does not exist`),this.shiftAndExecuteNext(t);return}const H=r(m.duration)?m.duration:1/0,$=r(E.duration)?E.duration:1/0,ae=Math.max(0,n),ce=Math.min(o,H,$);ce>ae&&(!C.ending||C.ended)?(C.ended=!1,this.log(`Removing [${ae},${ce}] from the ${t} SourceBuffer`),U.remove(ae,ce)):this.shiftAndExecuteNext(t)}appendExecutor(t,n){const o=this.tracks[n],m=o==null?void 0:o.buffer;if(!m)throw new rl(`Attempting to append to the ${n} SourceBuffer, but it does not exist`);o.ending=!1,o.ended=!1,m.appendBuffer(t)}blockUntilOpen(t){if(this.isUpdating()||this.isQueued())this.blockBuffers(t).catch(n=>{this.warn(`SourceBuffer blocked callback ${n}`),this.stepOperationQueue(this.sourceBufferTypes)});else try{t()}catch(n){this.warn(`Callback run without blocking ${this.operationQueue} ${n}`)}}isUpdating(){return this.sourceBuffers.some(([t,n])=>t&&n.updating)}isQueued(){return this.sourceBuffers.some(([t])=>t&&!!this.currentOp(t))}isPending(t){return!!t&&!t.buffer}blockBuffers(t,n=this.sourceBufferTypes){if(!n.length)return this.log("Blocking operation requested, but no SourceBuffers exist"),Promise.resolve().then(t);const{operationQueue:o}=this,m=n.map(C=>this.appendBlocker(C));return n.length>1&&!!this.blockedAudioAppend&&this.unblockAudio(),Promise.all(m).then(C=>{o===this.operationQueue&&(t(),this.stepOperationQueue(this.sourceBufferTypes))})}stepOperationQueue(t){t.forEach(n=>{var o;const m=(o=this.tracks[n])==null?void 0:o.buffer;!m||m.updating||this.shiftAndExecuteNext(n)})}append(t,n,o){this.operationQueue&&this.operationQueue.append(t,n,o)}appendBlocker(t){if(this.operationQueue)return this.operationQueue.appendBlocker(t)}currentOp(t){return this.operationQueue?this.operationQueue.current(t):null}executeNext(t){t&&this.operationQueue&&this.operationQueue.executeNext(t)}shiftAndExecuteNext(t){this.operationQueue&&this.operationQueue.shiftAndExecuteNext(t)}get pendingTrackCount(){return Object.keys(this.tracks).reduce((t,n)=>t+(this.isPending(this.tracks[n])?1:0),0)}get sourceBufferCount(){return this.sourceBuffers.reduce((t,[n])=>t+(n?1:0),0)}get sourceBufferTypes(){return this.sourceBuffers.map(([t])=>t).filter(t=>!!t)}addBufferListener(t,n,o){const m=this.tracks[t];if(!m)return;const E=m.buffer;if(!E)return;const C=o.bind(this,t);m.listeners.push({event:n,listener:C}),E.addEventListener(n,C)}removeBufferListeners(t){const n=this.tracks[t];if(!n)return;const o=n.buffer;o&&(n.listeners.forEach(m=>{o.removeEventListener(m.event,m.listener)}),n.listeners.length=0)}}function lc(P){const t=P.querySelectorAll("source");[].slice.call(t).forEach(n=>{P.removeChild(n)})}function Ac(P,t){const n=self.document.createElement("source");n.type="video/mp4",n.src=t,P.appendChild(n)}function qs(P){return P==="audio"?1:0}class cc{constructor(t){this.hls=void 0,this.autoLevelCapping=void 0,this.firstLevel=void 0,this.media=void 0,this.restrictedLevels=void 0,this.timer=void 0,this.clientRect=void 0,this.streamController=void 0,this.hls=t,this.autoLevelCapping=Number.POSITIVE_INFINITY,this.firstLevel=-1,this.media=null,this.restrictedLevels=[],this.timer=void 0,this.clientRect=null,this.registerListeners()}setStreamController(t){this.streamController=t}destroy(){this.hls&&this.unregisterListener(),this.timer&&this.stopCapping(),this.media=null,this.clientRect=null,this.hls=this.streamController=null}registerListeners(){const{hls:t}=this;t.on(s.FPS_DROP_LEVEL_CAPPING,this.onFpsDropLevelCapping,this),t.on(s.MEDIA_ATTACHING,this.onMediaAttaching,this),t.on(s.MANIFEST_PARSED,this.onManifestParsed,this),t.on(s.LEVELS_UPDATED,this.onLevelsUpdated,this),t.on(s.BUFFER_CODECS,this.onBufferCodecs,this),t.on(s.MEDIA_DETACHING,this.onMediaDetaching,this)}unregisterListener(){const{hls:t}=this;t.off(s.FPS_DROP_LEVEL_CAPPING,this.onFpsDropLevelCapping,this),t.off(s.MEDIA_ATTACHING,this.onMediaAttaching,this),t.off(s.MANIFEST_PARSED,this.onManifestParsed,this),t.off(s.LEVELS_UPDATED,this.onLevelsUpdated,this),t.off(s.BUFFER_CODECS,this.onBufferCodecs,this),t.off(s.MEDIA_DETACHING,this.onMediaDetaching,this)}onFpsDropLevelCapping(t,n){const o=this.hls.levels[n.droppedLevel];this.isLevelAllowed(o)&&this.restrictedLevels.push({bitrate:o.bitrate,height:o.height,width:o.width})}onMediaAttaching(t,n){this.media=n.media instanceof HTMLVideoElement?n.media:null,this.clientRect=null,this.timer&&this.hls.levels.length&&this.detectPlayerSize()}onManifestParsed(t,n){const o=this.hls;this.restrictedLevels=[],this.firstLevel=n.firstLevel,o.config.capLevelToPlayerSize&&n.video&&this.startCapping()}onLevelsUpdated(t,n){this.timer&&r(this.autoLevelCapping)&&this.detectPlayerSize()}onBufferCodecs(t,n){this.hls.config.capLevelToPlayerSize&&n.video&&this.startCapping()}onMediaDetaching(){this.stopCapping(),this.media=null}detectPlayerSize(){if(this.media){if(this.mediaHeight<=0||this.mediaWidth<=0){this.clientRect=null;return}const t=this.hls.levels;if(t.length){const n=this.hls,o=this.getMaxLevel(t.length-1);o!==this.autoLevelCapping&&n.logger.log(`Setting autoLevelCapping to ${o}: ${t[o].height}p@${t[o].bitrate} for media ${this.mediaWidth}x${this.mediaHeight}`),n.autoLevelCapping=o,n.autoLevelEnabled&&n.autoLevelCapping>this.autoLevelCapping&&this.streamController&&this.streamController.nextLevelSwitch(),this.autoLevelCapping=n.autoLevelCapping}}}getMaxLevel(t){const n=this.hls.levels;if(!n.length)return-1;const o=n.filter((m,E)=>this.isLevelAllowed(m)&&E<=t);return this.clientRect=null,cc.getMaxLevelByMediaSize(o,this.mediaWidth,this.mediaHeight)}startCapping(){this.timer||(this.autoLevelCapping=Number.POSITIVE_INFINITY,self.clearInterval(this.timer),this.timer=self.setInterval(this.detectPlayerSize.bind(this),1e3),this.detectPlayerSize())}stopCapping(){this.restrictedLevels=[],this.firstLevel=-1,this.autoLevelCapping=Number.POSITIVE_INFINITY,this.timer&&(self.clearInterval(this.timer),this.timer=void 0)}getDimensions(){if(this.clientRect)return this.clientRect;const t=this.media,n={width:0,height:0};if(t){const o=t.getBoundingClientRect();n.width=o.width,n.height=o.height,!n.width&&!n.height&&(n.width=o.right-o.left||t.width||0,n.height=o.bottom-o.top||t.height||0)}return this.clientRect=n,n}get mediaWidth(){return this.getDimensions().width*this.contentScaleFactor}get mediaHeight(){return this.getDimensions().height*this.contentScaleFactor}get contentScaleFactor(){let t=1;if(!this.hls.config.ignoreDevicePixelRatio)try{t=self.devicePixelRatio}catch(n){}return Math.min(t,this.hls.config.maxDevicePixelRatio)}isLevelAllowed(t){return!this.restrictedLevels.some(o=>t.bitrate===o.bitrate&&t.width===o.width&&t.height===o.height)}static getMaxLevelByMediaSize(t,n,o){if(!(t!=null&&t.length))return-1;const m=(U,H)=>H?U.width!==H.width||U.height!==H.height:!0;let E=t.length-1;const C=Math.max(n,o);for(let U=0;U<t.length;U+=1){const H=t[U];if((H.width>=C||H.height>=C)&&m(H,t[U+1])){E=U;break}}return E}}const Bo={MANIFEST:"m",AUDIO:"a",VIDEO:"v",MUXED:"av",INIT:"i",CAPTION:"c",TIMED_TEXT:"tt",KEY:"k",OTHER:"o"},Cc={HLS:"h"},ro={OBJECT:"CMCD-Object",REQUEST:"CMCD-Request",SESSION:"CMCD-Session",STATUS:"CMCD-Status"},No={[ro.OBJECT]:["br","d","ot","tb"],[ro.REQUEST]:["bl","dl","mtp","nor","nrr","su"],[ro.SESSION]:["cid","pr","sf","sid","st","v"],[ro.STATUS]:["bs","rtp"]};class Wu{constructor(t,n){Array.isArray(t)&&(t=t.map(o=>o instanceof Wu?o:new Wu(o))),this.value=t,this.params=n}}const Tl="Dict";function ru(P){return Array.isArray(P)?JSON.stringify(P):P instanceof Map?"Map{}":P instanceof Set?"Set{}":typeof P=="object"?JSON.stringify(P):String(P)}function Tc(P,t,n,o){return new Error(`failed to ${P} "${ru(t)}" as ${n}`,{cause:o})}function cu(P,t,n){return Tc("serialize",P,t,n)}class Xo{constructor(t){this.description=t}}const pl="Bare Item",xu="Boolean";function fc(P){if(typeof P!="boolean")throw cu(P,xu);return P?"?1":"?0"}const _l="Byte Sequence";function Ra(P){if(ArrayBuffer.isView(P)===!1)throw cu(P,_l);return`:${Wi(P)}:`}const lf="Integer";function zc(P){return P<-999999999999999||999999999999999<P}function Ou(P){if(zc(P))throw cu(P,lf);return P.toString()}function Pc(P){return`@${Ou(P.getTime()/1e3)}`}const cf="Decimal";function dc(P){const t=ka(P,3);if(Math.floor(Math.abs(t)).toString().length>12)throw cu(P,cf);const n=t.toString();return n.includes(".")?n:`${n}.0`}const nu="String",Zc=/[\x00-\x1f\x7f]+/;function hc(P){if(Zc.test(P))throw cu(P,nu);return`"${P.replace(/\\/g,"\\\\").replace(/"/g,'\\"')}"`}function Gl(P){return P.description||P.toString().slice(7,-1)}const Hc="Token";function pc(P){const t=Gl(P);if(/^([a-zA-Z*])([!#$%&'*+\-.^_`|~\w:/]*)$/.test(t)===!1)throw cu(t,Hc);return t}function zo(P){switch(typeof P){case"number":if(!r(P))throw cu(P,pl);return Number.isInteger(P)?Ou(P):dc(P);case"string":return hc(P);case"symbol":return pc(P);case"boolean":return fc(P);case"object":if(P instanceof Date)return Pc(P);if(P instanceof Uint8Array)return Ra(P);if(P instanceof Xo)return pc(P);default:throw cu(P,pl)}}const Gu="Key";function Pl(P){if(/^[a-z*][a-z0-9\-_.*]*$/.test(P)===!1)throw cu(P,Gu);return P}function Eu(P){return P==null?"":Object.entries(P).map(([t,n])=>n===!0?`;${Pl(t)}`:`;${Pl(t)}=${zo(n)}`).join("")}function _c(P){return P instanceof Wu?`${zo(P.value)}${Eu(P.params)}`:zo(P)}function Wc(P){return`(${P.value.map(_c).join(" ")})${Eu(P.params)}`}function Vl(P,t={whitespace:!0}){if(typeof P!="object")throw cu(P,Tl);const n=P instanceof Map?P.entries():Object.entries(P),o=t!=null&&t.whitespace?" ":"";return Array.from(n).map(([m,E])=>{E instanceof Wu||(E=new Wu(E));let C=Pl(m);return E.value===!0?C+=Eu(E.params):(C+="=",Array.isArray(E.value)?C+=Wc(E):C+=_c(E)),C}).join(`,${o}`)}function no(P,t){return Vl(P,t)}function Gc(P){return P==="ot"||P==="sf"||P==="st"}function Ic(P){return typeof P=="number"?r(P):P!=null&&P!==""&&P!==!1}const ku=P=>Math.round(P),Ru=(P,t)=>(t!=null&&t.baseUrl&&(P=ea(P,t.baseUrl)),encodeURIComponent(P)),$s=P=>ku(P/100)*100,ml={br:ku,d:ku,bl:$s,dl:$s,mtp:$s,nor:Ru,rtp:$s,tb:ku};function ff(P,t){const n={};if(P==null||typeof P!="object")return n;const o=Object.keys(P).sort(),m=y({},ml,t==null?void 0:t.formatters),E=t==null?void 0:t.filter;return o.forEach(C=>{if(E!=null&&E(C))return;let U=P[C];const H=m[C];H&&(U=H(U,t)),!(C==="v"&&U===1)&&(C=="pr"&&U===1||Ic(U)&&(Gc(C)&&typeof U=="string"&&(U=new Xo(U)),n[C]=U))}),n}function mc(P,t={}){return P?no(ff(P,t),y({whitespace:!1},t)):""}function Vc(P,t={}){const n={};if(!P)return n;const o=Object.entries(P),m=Object.entries(No).concat(Object.entries((t==null?void 0:t.customHeaderMap)||{})),E=o.reduce((C,U)=>{var H,$;const[ae,ce]=U,xe=((H=m.find(Te=>Te[1].includes(ae)))===null||H===void 0?void 0:H[0])||ro.REQUEST;return($=C[xe])!==null&&$!==void 0||(C[xe]={}),C[xe][ae]=ce,C},{});return Object.entries(E).reduce((C,[U,H])=>(C[U]=mc(H,t),C),n)}function vl(P,t,n){return y(P,Vc(t,n))}const ko="CMCD";function Il(P,t={}){if(!P)return"";const n=mc(P,t);return`${ko}=${encodeURIComponent(n)}`}const Ue=/CMCD=[^&#]+/;function wu(P,t,n){const o=Il(t,n);if(!o)return P;if(Ue.test(P))return P.replace(Ue,o);const m=P.includes("?")?"&":"?";return`${P}${m}${o}`}class Qo{constructor(t){this.hls=void 0,this.config=void 0,this.media=void 0,this.sid=void 0,this.cid=void 0,this.useHeaders=!1,this.includeKeys=void 0,this.initialized=!1,this.starved=!1,this.buffering=!0,this.audioBuffer=void 0,this.videoBuffer=void 0,this.onWaiting=()=>{this.initialized&&(this.starved=!0),this.buffering=!0},this.onPlaying=()=>{this.initialized||(this.initialized=!0),this.buffering=!1},this.applyPlaylistData=m=>{try{this.apply(m,{ot:Bo.MANIFEST,su:!this.initialized})}catch(E){this.hls.logger.warn("Could not generate manifest CMCD data.",E)}},this.applyFragmentData=m=>{try{const{frag:E,part:C}=m,U=this.hls.levels[E.level],H=this.getObjectType(E),$={d:(C||E).duration*1e3,ot:H};(H===Bo.VIDEO||H===Bo.AUDIO||H==Bo.MUXED)&&($.br=U.bitrate/1e3,$.tb=this.getTopBandwidth(H)/1e3,$.bl=this.getBufferLength(H));const ae=C?this.getNextPart(C):this.getNextFrag(E);ae!=null&&ae.url&&ae.url!==E.url&&($.nor=ae.url),this.apply(m,$)}catch(E){this.hls.logger.warn("Could not generate segment CMCD data.",E)}},this.hls=t;const n=this.config=t.config,{cmcd:o}=n;o!=null&&(n.pLoader=this.createPlaylistLoader(),n.fLoader=this.createFragmentLoader(),this.sid=o.sessionId||t.sessionId,this.cid=o.contentId,this.useHeaders=o.useHeaders===!0,this.includeKeys=o.includeKeys,this.registerListeners())}registerListeners(){const t=this.hls;t.on(s.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(s.MEDIA_DETACHED,this.onMediaDetached,this),t.on(s.BUFFER_CREATED,this.onBufferCreated,this)}unregisterListeners(){const t=this.hls;t.off(s.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(s.MEDIA_DETACHED,this.onMediaDetached,this),t.off(s.BUFFER_CREATED,this.onBufferCreated,this)}destroy(){this.unregisterListeners(),this.onMediaDetached(),this.hls=this.config=this.audioBuffer=this.videoBuffer=null,this.onWaiting=this.onPlaying=this.media=null}onMediaAttached(t,n){this.media=n.media,this.media.addEventListener("waiting",this.onWaiting),this.media.addEventListener("playing",this.onPlaying)}onMediaDetached(){this.media&&(this.media.removeEventListener("waiting",this.onWaiting),this.media.removeEventListener("playing",this.onPlaying),this.media=null)}onBufferCreated(t,n){var o,m;this.audioBuffer=(o=n.tracks.audio)==null?void 0:o.buffer,this.videoBuffer=(m=n.tracks.video)==null?void 0:m.buffer}createData(){var t;return{v:1,sf:Cc.HLS,sid:this.sid,cid:this.cid,pr:(t=this.media)==null?void 0:t.playbackRate,mtp:this.hls.bandwidthEstimate/1e3}}apply(t,n={}){y(n,this.createData());const o=n.ot===Bo.INIT||n.ot===Bo.VIDEO||n.ot===Bo.MUXED;this.starved&&o&&(n.bs=!0,n.su=!0,this.starved=!1),n.su==null&&(n.su=this.buffering);const{includeKeys:m}=this;m&&(n=Object.keys(n).reduce((C,U)=>(m.includes(U)&&(C[U]=n[U]),C),{}));const E={baseUrl:t.url};this.useHeaders?(t.headers||(t.headers={}),vl(t.headers,n,E)):t.url=wu(t.url,n,E)}getNextFrag(t){var n;const o=(n=this.hls.levels[t.level])==null?void 0:n.details;if(o){const m=t.sn-o.startSN;return o.fragments[m+1]}}getNextPart(t){var n,o;const{index:m,fragment:E}=t,C=(n=this.hls.levels[E.level])==null||(o=n.details)==null?void 0:o.partList;if(C){const{sn:U}=E;for(let H=C.length-1;H>=0;H--){const $=C[H];if($.index===m&&$.fragment.sn===U)return C[H+1]}}}getObjectType(t){const{type:n}=t;if(n==="subtitle")return Bo.TIMED_TEXT;if(t.sn==="initSegment")return Bo.INIT;if(n==="audio")return Bo.AUDIO;if(n==="main")return this.hls.audioTracks.length?Bo.VIDEO:Bo.MUXED}getTopBandwidth(t){let n=0,o;const m=this.hls;if(t===Bo.AUDIO)o=m.audioTracks;else{const E=m.maxAutoLevel,C=E>-1?E+1:m.levels.length;o=m.levels.slice(0,C)}for(const E of o)E.bitrate>n&&(n=E.bitrate);return n>0?n:NaN}getBufferLength(t){const n=this.media,o=t===Bo.AUDIO?this.audioBuffer:this.videoBuffer;return!o||!n?NaN:yi.bufferInfo(o,n.currentTime,this.config.maxBufferHole).len*1e3}createPlaylistLoader(){const{pLoader:t}=this.config,n=this.applyPlaylistData,o=t||this.config.loader;return class{constructor(E){this.loader=void 0,this.loader=new o(E)}get stats(){return this.loader.stats}get context(){return this.loader.context}destroy(){this.loader.destroy()}abort(){this.loader.abort()}load(E,C,U){n(E),this.loader.load(E,C,U)}}}createFragmentLoader(){const{fLoader:t}=this.config,n=this.applyFragmentData,o=t||this.config.loader;return class{constructor(E){this.loader=void 0,this.loader=new o(E)}get stats(){return this.loader.stats}get context(){return this.loader.context}destroy(){this.loader.destroy()}abort(){this.loader.abort()}load(E,C,U){n(E),this.loader.load(E,C,U)}}}}const Kl=3e5;class $o extends L{constructor(t){super("content-steering",t.logger),this.hls=void 0,this.loader=null,this.uri=null,this.pathwayId=".",this._pathwayPriority=null,this.timeToLoad=300,this.reloadTimer=-1,this.updated=0,this.started=!1,this.enabled=!0,this.levels=null,this.audioTracks=null,this.subtitleTracks=null,this.penalizedPathways={},this.hls=t,this.registerListeners()}registerListeners(){const t=this.hls;t.on(s.MANIFEST_LOADING,this.onManifestLoading,this),t.on(s.MANIFEST_LOADED,this.onManifestLoaded,this),t.on(s.MANIFEST_PARSED,this.onManifestParsed,this),t.on(s.ERROR,this.onError,this)}unregisterListeners(){const t=this.hls;t&&(t.off(s.MANIFEST_LOADING,this.onManifestLoading,this),t.off(s.MANIFEST_LOADED,this.onManifestLoaded,this),t.off(s.MANIFEST_PARSED,this.onManifestParsed,this),t.off(s.ERROR,this.onError,this))}pathways(){return(this.levels||[]).reduce((t,n)=>(t.indexOf(n.pathwayId)===-1&&t.push(n.pathwayId),t),[])}get pathwayPriority(){return this._pathwayPriority}set pathwayPriority(t){this.updatePathwayPriority(t)}startLoad(){if(this.started=!0,this.clearTimeout(),this.enabled&&this.uri){if(this.updated){const t=this.timeToLoad*1e3-(performance.now()-this.updated);if(t>0){this.scheduleRefresh(this.uri,t);return}}this.loadSteeringManifest(this.uri)}}stopLoad(){this.started=!1,this.loader&&(this.loader.destroy(),this.loader=null),this.clearTimeout()}clearTimeout(){this.reloadTimer!==-1&&(self.clearTimeout(this.reloadTimer),this.reloadTimer=-1)}destroy(){this.unregisterListeners(),this.stopLoad(),this.hls=null,this.levels=this.audioTracks=this.subtitleTracks=null}removeLevel(t){const n=this.levels;n&&(this.levels=n.filter(o=>o!==t))}onManifestLoading(){this.stopLoad(),this.enabled=!0,this.timeToLoad=300,this.updated=0,this.uri=null,this.pathwayId=".",this.levels=this.audioTracks=this.subtitleTracks=null}onManifestLoaded(t,n){const{contentSteering:o}=n;o!==null&&(this.pathwayId=o.pathwayId,this.uri=o.uri,this.started&&this.startLoad())}onManifestParsed(t,n){this.audioTracks=n.audioTracks,this.subtitleTracks=n.subtitleTracks}onError(t,n){const{errorAction:o}=n;if((o==null?void 0:o.action)===Ee.SendAlternateToPenaltyBox&&o.flags===it.MoveAllAlternatesMatchingHost){const m=this.levels;let E=this._pathwayPriority,C=this.pathwayId;if(n.context){const{groupId:U,pathwayId:H,type:$}=n.context;U&&m?C=this.getPathwayForGroupId(U,$,C):H&&(C=H)}C in this.penalizedPathways||(this.penalizedPathways[C]=performance.now()),!E&&m&&(E=this.pathways()),E&&E.length>1&&(this.updatePathwayPriority(E),o.resolved=this.pathwayId!==C),o.resolved||this.warn(`Could not resolve ${n.details} ("${n.error.message}") with content-steering for Pathway: ${C} levels: ${m&&m.length} priorities: ${jn(E)} penalized: ${jn(this.penalizedPathways)}`)}}filterParsedLevels(t){this.levels=t;let n=this.getLevelsForPathway(this.pathwayId);if(n.length===0){const o=t[0].pathwayId;this.log(`No levels found in Pathway ${this.pathwayId}. Setting initial Pathway to "${o}"`),n=this.getLevelsForPathway(o),this.pathwayId=o}return n.length!==t.length&&this.log(`Found ${n.length}/${t.length} levels in Pathway "${this.pathwayId}"`),n}getLevelsForPathway(t){return this.levels===null?[]:this.levels.filter(n=>t===n.pathwayId)}updatePathwayPriority(t){this._pathwayPriority=t;let n;const o=this.penalizedPathways,m=performance.now();Object.keys(o).forEach(E=>{m-o[E]>Kl&&delete o[E]});for(let E=0;E<t.length;E++){const C=t[E];if(C in o)continue;if(C===this.pathwayId)return;const U=this.hls.nextLoadLevel,H=this.hls.levels[U];if(n=this.getLevelsForPathway(C),n.length>0){this.log(`Setting Pathway to "${C}"`),this.pathwayId=C,Hn(n),this.hls.trigger(s.LEVELS_UPDATED,{levels:n});const $=this.hls.levels[U];H&&$&&this.levels&&($.attrs["STABLE-VARIANT-ID"]!==H.attrs["STABLE-VARIANT-ID"]&&$.bitrate!==H.bitrate&&this.log(`Unstable Pathways change from bitrate ${H.bitrate} to ${$.bitrate}`),this.hls.nextLoadLevel=U);break}}}getPathwayForGroupId(t,n,o){const m=this.getLevelsForPathway(o).concat(this.levels||[]);for(let E=0;E<m.length;E++)if(n===h.AUDIO_TRACK&&m[E].hasAudioGroup(t)||n===h.SUBTITLE_TRACK&&m[E].hasSubtitleGroup(t))return m[E].pathwayId;return o}clonePathways(t){const n=this.levels;if(!n)return;const o={},m={};t.forEach(E=>{const{ID:C,"BASE-ID":U,"URI-REPLACEMENT":H}=E;if(n.some(ae=>ae.pathwayId===C))return;const $=this.getLevelsForPathway(U).map(ae=>{const ce=new ji(ae.attrs);ce["PATHWAY-ID"]=C;const xe=ce.AUDIO&&`${ce.AUDIO}_clone_${C}`,Te=ce.SUBTITLES&&`${ce.SUBTITLES}_clone_${C}`;xe&&(o[ce.AUDIO]=xe,ce.AUDIO=xe),Te&&(m[ce.SUBTITLES]=Te,ce.SUBTITLES=Te);const De=Yl(ae.uri,ce["STABLE-VARIANT-ID"],"PER-VARIANT-URIS",H),tt=new mr({attrs:ce,audioCodec:ae.audioCodec,bitrate:ae.bitrate,height:ae.height,name:ae.name,url:De,videoCodec:ae.videoCodec,width:ae.width});if(ae.audioGroups)for(let at=1;at<ae.audioGroups.length;at++)tt.addGroupId("audio",`${ae.audioGroups[at]}_clone_${C}`);if(ae.subtitleGroups)for(let at=1;at<ae.subtitleGroups.length;at++)tt.addGroupId("text",`${ae.subtitleGroups[at]}_clone_${C}`);return tt});n.push(...$),fu(this.audioTracks,o,H,C),fu(this.subtitleTracks,m,H,C)})}loadSteeringManifest(t){const n=this.hls.config,o=n.loader;this.loader&&this.loader.destroy(),this.loader=new o(n);let m;try{m=new self.URL(t)}catch(ae){this.enabled=!1,this.log(`Failed to parse Steering Manifest URI: ${t}`);return}if(m.protocol!=="data:"){const ae=(this.hls.bandwidthEstimate||n.abrEwmaDefaultEstimate)|0;m.searchParams.set("_HLS_pathway",this.pathwayId),m.searchParams.set("_HLS_throughput",""+ae)}const E={responseType:"json",url:m.href},C=n.steeringManifestLoadPolicy.default,U=C.errorRetry||C.timeoutRetry||{},H={loadPolicy:C,timeout:C.maxLoadTimeMs,maxRetry:U.maxNumRetry||0,retryDelay:U.retryDelayMs||0,maxRetryDelay:U.maxRetryDelayMs||0},$={onSuccess:(ae,ce,xe,Te)=>{this.log(`Loaded steering manifest: "${m}"`);const De=ae.data;if((De==null?void 0:De.VERSION)!==1){this.log(`Steering VERSION ${De.VERSION} not supported!`);return}this.updated=performance.now(),this.timeToLoad=De.TTL;const{"RELOAD-URI":tt,"PATHWAY-CLONES":at,"PATHWAY-PRIORITY":Bt}=De;if(tt)try{this.uri=new self.URL(tt,m).href}catch(ar){this.enabled=!1,this.log(`Failed to parse Steering Manifest RELOAD-URI: ${tt}`);return}this.scheduleRefresh(this.uri||xe.url),at&&this.clonePathways(at);const dr={steeringManifest:De,url:m.toString()};this.hls.trigger(s.STEERING_MANIFEST_LOADED,dr),Bt&&this.updatePathwayPriority(Bt)},onError:(ae,ce,xe,Te)=>{if(this.log(`Error loading steering manifest: ${ae.code} ${ae.text} (${ce.url})`),this.stopLoad(),ae.code===410){this.enabled=!1,this.log(`Steering manifest ${ce.url} no longer available`);return}let De=this.timeToLoad*1e3;if(ae.code===429){const tt=this.loader;if(typeof(tt==null?void 0:tt.getResponseHeader)=="function"){const at=tt.getResponseHeader("Retry-After");at&&(De=parseFloat(at)*1e3)}this.log(`Steering manifest ${ce.url} rate limited`);return}this.scheduleRefresh(this.uri||ce.url,De)},onTimeout:(ae,ce,xe)=>{this.log(`Timeout loading steering manifest (${ce.url})`),this.scheduleRefresh(this.uri||ce.url)}};this.log(`Requesting steering manifest: ${m}`),this.loader.load(E,H,$)}scheduleRefresh(t,n=this.timeToLoad*1e3){this.clearTimeout(),this.reloadTimer=self.setTimeout(()=>{var o;const m=(o=this.hls)==null?void 0:o.media;if(m&&!m.ended){this.loadSteeringManifest(t);return}this.scheduleRefresh(t,this.timeToLoad*1e3)},n)}}function fu(P,t,n,o){P&&Object.keys(t).forEach(m=>{const E=P.filter(C=>C.groupId===m).map(C=>{const U=y({},C);return U.details=void 0,U.attrs=new ji(U.attrs),U.url=U.attrs.URI=Yl(C.url,C.attrs["STABLE-RENDITION-ID"],"PER-RENDITION-URIS",n),U.groupId=U.attrs["GROUP-ID"]=t[m],U.attrs["PATHWAY-ID"]=o,U});P.push(...E)})}function Yl(P,t,n,o){const{HOST:m,PARAMS:E,[n]:C}=o;let U;t&&(U=C==null?void 0:C[t],U&&(P=U));const H=new self.URL(P);return m&&!U&&(H.host=m),E&&Object.keys(E).sort().forEach($=>{$&&H.searchParams.set($,E[$])}),H.href}class Lu extends L{constructor(t){super("eme",t.logger),this.hls=void 0,this.config=void 0,this.media=null,this.keyFormatPromise=null,this.keySystemAccessPromises={},this._requestLicenseFailureCount=0,this.mediaKeySessions=[],this.keyIdToKeySessionPromise={},this.setMediaKeysQueue=Lu.CDMCleanupPromise?[Lu.CDMCleanupPromise]:[],this.onMediaEncrypted=n=>{const{initDataType:o,initData:m}=n,E=`"${n.type}" event: init data type: "${o}"`;if(this.debug(E),m!==null){if(!this.keyFormatPromise){let C=Object.keys(this.keySystemAccessPromises);C.length||(C=oi(this.config));const U=C.map(hi).filter(H=>!!H);this.keyFormatPromise=this.getKeyFormatPromise(U)}this.keyFormatPromise.then(C=>{const U=mo(C);let H,$;if(o==="sinf"){if(U!==ca.FAIRPLAY){this.warn(`Ignoring unexpected "${n.type}" event with init data type: "${o}" for selected key-system ${U}`);return}const De=qt(new Uint8Array(m));try{const tt=ms(JSON.parse(De).sinf),at=nt(tt);if(!at)throw new Error("'schm' box missing or not cbcs/cenc with schi > tenc");H=new Uint8Array(at.subarray(8,24)),$=ca.FAIRPLAY}catch(tt){this.warn(`${E} Failed to parse sinf: ${tt}`);return}}else{if(U!==ca.WIDEVINE&&U!==ca.PLAYREADY){this.warn(`Ignoring unexpected "${n.type}" event with init data type: "${o}" for selected key-system ${U}`);return}const De=Dt(m),tt=De.filter(Bt=>!!Bt.systemId&&go(Bt.systemId)===U);tt.length>1&&this.warn(`${E} Using first of ${tt.length} pssh found for selected key-system ${U}`);const at=tt[0];if(!at){De.length===0||De.some(Bt=>!Bt.systemId)?this.warn(`${E} contains incomplete or invalid pssh data`):this.log(`ignoring ${E} for ${De.map(Bt=>go(Bt.systemId)).join(",")} pssh data in favor of playlist keys`);return}if($=go(at.systemId),at.version===0&&at.data)if($===ca.WIDEVINE){const Bt=at.data.length-22;H=new Uint8Array(at.data.subarray(Bt,Bt+16))}else $===ca.PLAYREADY&&(H=co(at.data))}if(!$||!H)return;const ae=V.hexDump(H),{keyIdToKeySessionPromise:ce,mediaKeySessions:xe}=this;let Te=ce[ae];for(let De=0;De<xe.length;De++){const tt=xe[De],at=tt.decryptdata;if(!at.keyId)continue;const Bt=V.hexDump(at.keyId);if(ae===Bt||at.uri.replace(/-/g,"").indexOf(ae)!==-1){if(Te=ce[Bt],at.pssh)break;delete ce[Bt],at.pssh=new Uint8Array(m),at.keyId=H,Te=ce[ae]=Te.then(()=>this.generateRequestWithPreferredKeySession(tt,o,m,"encrypted-event-key-match")),Te.catch(dr=>this.handleError(dr));break}}if(!Te){if($!==U){this.log(`Ignoring "${n.type}" event with ${$} init data for selected key-system ${U}`);return}Te=ce[ae]=this.getKeySystemSelectionPromise([$]).then(({keySystem:De,mediaKeys:tt})=>{var at;this.throwIfDestroyed();const Bt=new Qa("ISO-23001-7",ae,(at=hi(De))!=null?at:"");return Bt.pssh=new Uint8Array(m),Bt.keyId=H,this.attemptSetMediaKeys(De,tt).then(()=>{this.throwIfDestroyed();const dr=this.createMediaKeySessionContext({decryptdata:Bt,keySystem:De,mediaKeys:tt});return this.generateRequestWithPreferredKeySession(dr,o,m,"encrypted-event-no-match")})}),Te.catch(De=>this.handleError(De))}})}},this.onWaitingForKey=n=>{this.log(`"${n.type}" event`)},this.hls=t,this.config=t.config,this.registerListeners()}destroy(){const t=this.media;this.unregisterListeners(),this.onMediaDetached(),this._clear(t);const n=this.config;n.requestMediaKeySystemAccessFunc=null,n.licenseXhrSetup=n.licenseResponseCallback=void 0,n.drmSystems=n.drmSystemOptions={},this.hls=this.config=this.keyIdToKeySessionPromise=null,this.onMediaEncrypted=this.onWaitingForKey=null}registerListeners(){this.hls.on(s.MEDIA_ATTACHED,this.onMediaAttached,this),this.hls.on(s.MEDIA_DETACHED,this.onMediaDetached,this),this.hls.on(s.MANIFEST_LOADING,this.onManifestLoading,this),this.hls.on(s.MANIFEST_LOADED,this.onManifestLoaded,this)}unregisterListeners(){this.hls.off(s.MEDIA_ATTACHED,this.onMediaAttached,this),this.hls.off(s.MEDIA_DETACHED,this.onMediaDetached,this),this.hls.off(s.MANIFEST_LOADING,this.onManifestLoading,this),this.hls.off(s.MANIFEST_LOADED,this.onManifestLoaded,this)}getLicenseServerUrl(t){const{drmSystems:n,widevineLicenseUrl:o}=this.config,m=n[t];if(m)return m.licenseUrl;if(t===ca.WIDEVINE&&o)return o}getLicenseServerUrlOrThrow(t){const n=this.getLicenseServerUrl(t);if(n===void 0)throw new Error(`no license server URL configured for key-system "${t}"`);return n}getServerCertificateUrl(t){const{drmSystems:n}=this.config,o=n[t];if(o)return o.serverCertificateUrl;this.log(`No Server Certificate in config.drmSystems["${t}"]`)}attemptKeySystemAccess(t){const n=this.hls.levels,o=(C,U,H)=>!!C&&H.indexOf(C)===U,m=n.map(C=>C.audioCodec).filter(o),E=n.map(C=>C.videoCodec).filter(o);return m.length+E.length===0&&E.push("avc1.42e01e"),new Promise((C,U)=>{const H=$=>{const ae=$.shift();this.getMediaKeysPromise(ae,m,E).then(ce=>C({keySystem:ae,mediaKeys:ce})).catch(ce=>{$.length?H($):ce instanceof So?U(ce):U(new So({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_NO_ACCESS,error:ce,fatal:!0},ce.message))})};H(t)})}requestMediaKeySystemAccess(t,n){const{requestMediaKeySystemAccessFunc:o}=this.config;if(typeof o!="function"){let m=`Configured requestMediaKeySystemAccess is not a function ${o}`;return Fa===null&&self.location.protocol==="http:"&&(m=`navigator.requestMediaKeySystemAccess is not available over insecure protocol ${location.protocol}`),Promise.reject(new Error(m))}return o(t,n)}getMediaKeysPromise(t,n,o){const m=Va(t,n,o,this.config.drmSystemOptions),E=this.keySystemAccessPromises[t];let C=E==null?void 0:E.keySystemAccess;if(!C){this.log(`Requesting encrypted media "${t}" key-system access with config: ${jn(m)}`),C=this.requestMediaKeySystemAccess(t,m);const U=this.keySystemAccessPromises[t]={keySystemAccess:C};return C.catch(H=>{this.log(`Failed to obtain access to key-system "${t}": ${H}`)}),C.then(H=>{this.log(`Access for key-system "${H.keySystem}" obtained`);const $=this.fetchServerCertificate(t);return this.log(`Create media-keys for "${t}"`),U.mediaKeys=H.createMediaKeys().then(ae=>(this.log(`Media-keys created for "${t}"`),$.then(ce=>ce?this.setMediaKeysServerCertificate(ae,t,ce):ae))),U.mediaKeys.catch(ae=>{this.error(`Failed to create media-keys for "${t}"}: ${ae}`)}),U.mediaKeys})}return C.then(()=>E.mediaKeys)}createMediaKeySessionContext({decryptdata:t,keySystem:n,mediaKeys:o}){this.log(`Creating key-system session "${n}" keyId: ${V.hexDump(t.keyId||[])}`);const m=o.createSession(),E={decryptdata:t,keySystem:n,mediaKeys:o,mediaKeysSession:m,keyStatus:"status-pending"};return this.mediaKeySessions.push(E),E}renewKeySession(t){const n=t.decryptdata;if(n.pssh){const o=this.createMediaKeySessionContext(t),m=this.getKeyIdString(n),E="cenc";this.keyIdToKeySessionPromise[m]=this.generateRequestWithPreferredKeySession(o,E,n.pssh.buffer,"expired")}else this.warn("Could not renew expired session. Missing pssh initData.");this.removeSession(t)}getKeyIdString(t){if(!t)throw new Error("Could not read keyId of undefined decryptdata");if(t.keyId===null)throw new Error("keyId is null");return V.hexDump(t.keyId)}updateKeySession(t,n){var o;const m=t.mediaKeysSession;return this.log(`Updating key-session "${m.sessionId}" for keyID ${V.hexDump(((o=t.decryptdata)==null?void 0:o.keyId)||[])}
} (data length: ${n&&n.byteLength})`),m.update(n)}selectKeySystemFormat(t){const n=Object.keys(t.levelkeys||{});return this.keyFormatPromise||(this.log(`Selecting key-system from fragment (sn: ${t.sn} ${t.type}: ${t.level}) key formats ${n.join(", ")}`),this.keyFormatPromise=this.getKeyFormatPromise(n)),this.keyFormatPromise}getKeyFormatPromise(t){return new Promise((n,o)=>{const m=oi(this.config),E=t.map(mo).filter(C=>!!C&&m.indexOf(C)!==-1);return this.getKeySystemSelectionPromise(E).then(({keySystem:C})=>{const U=hi(C);U?n(U):o(new Error(`Unable to find format for key-system "${C}"`))}).catch(o)})}loadKey(t){const n=t.keyInfo.decryptdata,o=this.getKeyIdString(n),m=`(keyId: ${o} format: "${n.keyFormat}" method: ${n.method} uri: ${n.uri})`;this.log(`Starting session for key ${m}`);let E=this.keyIdToKeySessionPromise[o];return E||(E=this.getKeySystemForKeyPromise(n).then(({keySystem:U,mediaKeys:H})=>(this.throwIfDestroyed(),this.log(`Handle encrypted media sn: ${t.frag.sn} ${t.frag.type}: ${t.frag.level} using key ${m}`),this.attemptSetMediaKeys(U,H).then(()=>(this.throwIfDestroyed(),this.createMediaKeySessionContext({keySystem:U,mediaKeys:H,decryptdata:n}))))),(this.keyIdToKeySessionPromise[o]=E.then(U=>{const H="cenc",$=n.pssh?n.pssh.buffer:null;return this.generateRequestWithPreferredKeySession(U,H,$,"playlist-key")})).catch(U=>this.handleError(U))),E}throwIfDestroyed(t="Invalid state"){if(!this.hls)throw new Error("invalid state")}handleError(t){this.hls&&(this.error(t.message),t instanceof So?this.hls.trigger(s.ERROR,t.data):this.hls.trigger(s.ERROR,{type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_NO_KEYS,error:t,fatal:!0}))}getKeySystemForKeyPromise(t){const n=this.getKeyIdString(t),o=this.keyIdToKeySessionPromise[n];if(!o){const m=mo(t.keyFormat),E=m?[m]:oi(this.config);return this.attemptKeySystemAccess(E)}return o}getKeySystemSelectionPromise(t){if(t.length||(t=oi(this.config)),t.length===0)throw new So({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_NO_CONFIGURED_LICENSE,fatal:!0},`Missing key-system license configuration options ${jn({drmSystems:this.config.drmSystems})}`);return this.attemptKeySystemAccess(t)}attemptSetMediaKeys(t,n){const o=this.setMediaKeysQueue.slice();this.log(`Setting media-keys for "${t}"`);const m=Promise.all(o).then(()=>{if(!this.media)throw new Error("Attempted to set mediaKeys without media element attached");return this.media.setMediaKeys(n)});return this.setMediaKeysQueue.push(m),m.then(()=>{this.log(`Media-keys set for "${t}"`),o.push(m),this.setMediaKeysQueue=this.setMediaKeysQueue.filter(E=>o.indexOf(E)===-1)})}generateRequestWithPreferredKeySession(t,n,o,m){var E,C;const U=(E=this.config.drmSystems)==null||(C=E[t.keySystem])==null?void 0:C.generateRequest;if(U)try{const De=U.call(this.hls,n,o,t);if(!De)throw new Error("Invalid response from configured generateRequest filter");n=De.initDataType,o=De.initData?De.initData:null,t.decryptdata.pssh=o?new Uint8Array(o):null}catch(De){var H;if(this.warn(De.message),(H=this.hls)!=null&&H.config.debug)throw De}if(o===null)return this.log(`Skipping key-session request for "${m}" (no initData)`),Promise.resolve(t);const $=this.getKeyIdString(t.decryptdata);this.log(`Generating key-session request for "${m}": ${$} (init data type: ${n} length: ${o?o.byteLength:null})`);const ae=new ks,ce=t._onmessage=De=>{const tt=t.mediaKeysSession;if(!tt){ae.emit("error",new Error("invalid state"));return}const{messageType:at,message:Bt}=De;this.log(`"${at}" message event for session "${tt.sessionId}" message size: ${Bt.byteLength}`),at==="license-request"||at==="license-renewal"?this.renewLicense(t,Bt).catch(dr=>{ae.eventNames().length?ae.emit("error",dr):this.handleError(dr)}):at==="license-release"?t.keySystem===ca.FAIRPLAY&&(this.updateKeySession(t,Bs("acknowledged")),this.removeSession(t)):this.warn(`unhandled media key message type "${at}"`)},xe=t._onkeystatuseschange=De=>{if(!t.mediaKeysSession){ae.emit("error",new Error("invalid state"));return}this.onKeyStatusChange(t);const at=t.keyStatus;ae.emit("keyStatus",at),at==="expired"&&(this.warn(`${t.keySystem} expired for key ${$}`),this.renewKeySession(t))};t.mediaKeysSession.addEventListener("message",ce),t.mediaKeysSession.addEventListener("keystatuseschange",xe);const Te=new Promise((De,tt)=>{ae.on("error",tt),ae.on("keyStatus",at=>{at.startsWith("usable")?De():at==="output-restricted"?tt(new So({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_STATUS_OUTPUT_RESTRICTED,fatal:!1},"HDCP level output restricted")):at==="internal-error"?tt(new So({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_STATUS_INTERNAL_ERROR,fatal:!0},`key status changed to "${at}"`)):at==="expired"?tt(new Error("key expired while generating request")):this.warn(`unhandled key status change "${at}"`)})});return t.mediaKeysSession.generateRequest(n,o).then(()=>{var De;this.log(`Request generated for key-session "${(De=t.mediaKeysSession)==null?void 0:De.sessionId}" keyId: ${$}`)}).catch(De=>{throw new So({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_NO_SESSION,error:De,fatal:!1},`Error generating key-session request: ${De}`)}).then(()=>Te).catch(De=>{throw ae.removeAllListeners(),this.removeSession(t),De}).then(()=>(ae.removeAllListeners(),t))}onKeyStatusChange(t){t.mediaKeysSession.keyStatuses.forEach((n,o)=>{if(typeof o=="string"&&typeof n=="object"){const m=o;o=n,n=m}this.log(`key status change "${n}" for keyStatuses keyId: ${V.hexDump("buffer"in o?new Uint8Array(o.buffer,o.byteOffset,o.byteLength):new Uint8Array(o))} session keyId: ${V.hexDump(new Uint8Array(t.decryptdata.keyId||[]))} uri: ${t.decryptdata.uri}`),t.keyStatus=n})}fetchServerCertificate(t){const n=this.config,o=n.loader,m=new o(n),E=this.getServerCertificateUrl(t);return E?(this.log(`Fetching server certificate for "${t}"`),new Promise((C,U)=>{const H={responseType:"arraybuffer",url:E},$=n.certLoadPolicy.default,ae={loadPolicy:$,timeout:$.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0},ce={onSuccess:(xe,Te,De,tt)=>{C(xe.data)},onError:(xe,Te,De,tt)=>{U(new So({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_SERVER_CERTIFICATE_REQUEST_FAILED,fatal:!0,networkDetails:De,response:b({url:H.url,data:void 0},xe)},`"${t}" certificate request failed (${E}). Status: ${xe.code} (${xe.text})`))},onTimeout:(xe,Te,De)=>{U(new So({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_SERVER_CERTIFICATE_REQUEST_FAILED,fatal:!0,networkDetails:De,response:{url:H.url,data:void 0}},`"${t}" certificate request timed out (${E})`))},onAbort:(xe,Te,De)=>{U(new Error("aborted"))}};m.load(H,ae,ce)})):Promise.resolve()}setMediaKeysServerCertificate(t,n,o){return new Promise((m,E)=>{t.setServerCertificate(o).then(C=>{this.log(`setServerCertificate ${C?"success":"not supported by CDM"} (${o==null?void 0:o.byteLength}) on "${n}"`),m(t)}).catch(C=>{E(new So({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_SERVER_CERTIFICATE_UPDATE_FAILED,error:C,fatal:!0},C.message))})})}renewLicense(t,n){return this.requestLicense(t,new Uint8Array(n)).then(o=>this.updateKeySession(t,new Uint8Array(o)).catch(m=>{throw new So({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_SESSION_UPDATE_FAILED,error:m,fatal:!0},m.message)}))}unpackPlayReadyKeyMessage(t,n){const o=String.fromCharCode.apply(null,new Uint16Array(n.buffer));if(!o.includes("PlayReadyKeyMessage"))return t.setRequestHeader("Content-Type","text/xml; charset=utf-8"),n;const m=new DOMParser().parseFromString(o,"application/xml"),E=m.querySelectorAll("HttpHeader");if(E.length>0){let ae;for(let ce=0,xe=E.length;ce<xe;ce++){var C,U;ae=E[ce];const Te=(C=ae.querySelector("name"))==null?void 0:C.textContent,De=(U=ae.querySelector("value"))==null?void 0:U.textContent;Te&&De&&t.setRequestHeader(Te,De)}}const H=m.querySelector("Challenge"),$=H==null?void 0:H.textContent;if(!$)throw new Error("Cannot find <Challenge> in key message");return Bs(atob($))}setupLicenseXHR(t,n,o,m){const E=this.config.licenseXhrSetup;return E?Promise.resolve().then(()=>{if(!o.decryptdata)throw new Error("Key removed");return E.call(this.hls,t,n,o,m)}).catch(C=>{if(!o.decryptdata)throw C;return t.open("POST",n,!0),E.call(this.hls,t,n,o,m)}).then(C=>(t.readyState||t.open("POST",n,!0),{xhr:t,licenseChallenge:C||m})):(t.open("POST",n,!0),Promise.resolve({xhr:t,licenseChallenge:m}))}requestLicense(t,n){const o=this.config.keyLoadPolicy.default;return new Promise((m,E)=>{const C=this.getLicenseServerUrlOrThrow(t.keySystem);this.log(`Sending license request to URL: ${C}`);const U=new XMLHttpRequest;U.responseType="arraybuffer",U.onreadystatechange=()=>{if(!this.hls||!t.mediaKeysSession)return E(new Error("invalid state"));if(U.readyState===4)if(U.status===200){this._requestLicenseFailureCount=0;let H=U.response;this.log(`License received ${H instanceof ArrayBuffer?H.byteLength:H}`);const $=this.config.licenseResponseCallback;if($)try{H=$.call(this.hls,U,C,t)}catch(ae){this.error(ae)}m(H)}else{const H=o.errorRetry,$=H?H.maxNumRetry:0;if(this._requestLicenseFailureCount++,this._requestLicenseFailureCount>$||U.status>=400&&U.status<500)E(new So({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_LICENSE_REQUEST_FAILED,fatal:!0,networkDetails:U,response:{url:C,data:void 0,code:U.status,text:U.statusText}},`License Request XHR failed (${C}). Status: ${U.status} (${U.statusText})`));else{const ae=$-this._requestLicenseFailureCount+1;this.warn(`Retrying license request, ${ae} attempts left`),this.requestLicense(t,n).then(m,E)}}},t.licenseXhr&&t.licenseXhr.readyState!==XMLHttpRequest.DONE&&t.licenseXhr.abort(),t.licenseXhr=U,this.setupLicenseXHR(U,C,t,n).then(({xhr:H,licenseChallenge:$})=>{t.keySystem==ca.PLAYREADY&&($=this.unpackPlayReadyKeyMessage(H,$)),H.send($)})})}onMediaAttached(t,n){if(!this.config.emeEnabled)return;const o=n.media;this.media=o,o.removeEventListener("encrypted",this.onMediaEncrypted),o.removeEventListener("waitingforkey",this.onWaitingForKey),o.addEventListener("encrypted",this.onMediaEncrypted),o.addEventListener("waitingforkey",this.onWaitingForKey)}onMediaDetached(){const t=this.media;t&&(t.removeEventListener("encrypted",this.onMediaEncrypted),t.removeEventListener("waitingforkey",this.onWaitingForKey),this.media=null)}_clear(t){var n;const o=this.mediaKeySessions;this._requestLicenseFailureCount=0,this.setMediaKeysQueue=[],this.mediaKeySessions=[],this.keyIdToKeySessionPromise={},Qa.clearKeyUriToKeyIdMap();const m=o.length;Lu.CDMCleanupPromise=Promise.all(o.map(E=>this.removeSession(E)).concat(t==null||(n=t.setMediaKeys(null))==null?void 0:n.catch(E=>{var C;this.log(`Could not clear media keys: ${E}`),(C=this.hls)==null||C.trigger(s.ERROR,{type:c.OTHER_ERROR,details:f.KEY_SYSTEM_DESTROY_MEDIA_KEYS_ERROR,fatal:!1,error:new Error(`Could not clear media keys: ${E}`)})}))).then(()=>{m&&(this.log("finished closing key sessions and clearing media keys"),o.length=0)}).catch(E=>{var C;this.log(`Could not close sessions and clear media keys: ${E}`),(C=this.hls)==null||C.trigger(s.ERROR,{type:c.OTHER_ERROR,details:f.KEY_SYSTEM_DESTROY_CLOSE_SESSION_ERROR,fatal:!1,error:new Error(`Could not close sessions and clear media keys: ${E}`)})})}onManifestLoading(){this.keyFormatPromise=null}onManifestLoaded(t,{sessionKeys:n}){if(!(!n||!this.config.emeEnabled)&&!this.keyFormatPromise){const o=n.reduce((m,E)=>(m.indexOf(E.keyFormat)===-1&&m.push(E.keyFormat),m),[]);this.log(`Selecting key-system from session-keys ${o.join(", ")}`),this.keyFormatPromise=this.getKeyFormatPromise(o)}}removeSession(t){const{mediaKeysSession:n,licenseXhr:o}=t;if(n){this.log(`Remove licenses and keys and close session ${n.sessionId}`),t._onmessage&&(n.removeEventListener("message",t._onmessage),t._onmessage=void 0),t._onkeystatuseschange&&(n.removeEventListener("keystatuseschange",t._onkeystatuseschange),t._onkeystatuseschange=void 0),o&&o.readyState!==XMLHttpRequest.DONE&&o.abort(),t.mediaKeysSession=t.decryptdata=t.licenseXhr=void 0;const m=this.mediaKeySessions.indexOf(t);m>-1&&this.mediaKeySessions.splice(m,1);const{drmSystemOptions:E}=this.config;return(lo(E)?new Promise((U,H)=>{self.setTimeout(()=>H(new Error("MediaKeySession.remove() timeout")),8e3),n.remove().then(U)}):Promise.resolve()).catch(U=>{var H;this.log(`Could not remove session: ${U}`),(H=this.hls)==null||H.trigger(s.ERROR,{type:c.OTHER_ERROR,details:f.KEY_SYSTEM_DESTROY_REMOVE_SESSION_ERROR,fatal:!1,error:new Error(`Could not remove session: ${U}`)})}).then(()=>n.close()).catch(U=>{var H;this.log(`Could not close session: ${U}`),(H=this.hls)==null||H.trigger(s.ERROR,{type:c.OTHER_ERROR,details:f.KEY_SYSTEM_DESTROY_CLOSE_SESSION_ERROR,fatal:!1,error:new Error(`Could not close session: ${U}`)})})}}}Lu.CDMCleanupPromise=void 0;class So extends Error{constructor(t,n){super(n),this.data=void 0,t.error||(t.error=new Error(n)),this.data=t,t.err=t.error}}class nl{constructor(t){this.hls=void 0,this.isVideoPlaybackQualityAvailable=!1,this.timer=void 0,this.media=null,this.lastTime=void 0,this.lastDroppedFrames=0,this.lastDecodedFrames=0,this.streamController=void 0,this.hls=t,this.registerListeners()}setStreamController(t){this.streamController=t}registerListeners(){this.hls.on(s.MEDIA_ATTACHING,this.onMediaAttaching,this),this.hls.on(s.MEDIA_DETACHING,this.onMediaDetaching,this)}unregisterListeners(){this.hls.off(s.MEDIA_ATTACHING,this.onMediaAttaching,this),this.hls.off(s.MEDIA_DETACHING,this.onMediaDetaching,this)}destroy(){this.timer&&clearInterval(this.timer),this.unregisterListeners(),this.isVideoPlaybackQualityAvailable=!1,this.media=null}onMediaAttaching(t,n){const o=this.hls.config;if(o.capLevelOnFPSDrop){const m=n.media instanceof self.HTMLVideoElement?n.media:null;this.media=m,m&&typeof m.getVideoPlaybackQuality=="function"&&(this.isVideoPlaybackQualityAvailable=!0),self.clearInterval(this.timer),this.timer=self.setInterval(this.checkFPSInterval.bind(this),o.fpsDroppedMonitoringPeriod)}}onMediaDetaching(){this.media=null}checkFPS(t,n,o){const m=performance.now();if(n){if(this.lastTime){const E=m-this.lastTime,C=o-this.lastDroppedFrames,U=n-this.lastDecodedFrames,H=1e3*C/E,$=this.hls;if($.trigger(s.FPS_DROP,{currentDropped:C,currentDecoded:U,totalDroppedFrames:o}),H>0&&C>$.config.fpsDroppedMonitoringThreshold*U){let ae=$.currentLevel;$.logger.warn("drop FPS ratio greater than max allowed value for currentLevel: "+ae),ae>0&&($.autoLevelCapping===-1||$.autoLevelCapping>=ae)&&(ae=ae-1,$.trigger(s.FPS_DROP_LEVEL_CAPPING,{level:ae,droppedLevel:$.currentLevel}),$.autoLevelCapping=ae,this.streamController.nextLevelSwitch())}}this.lastTime=m,this.lastDroppedFrames=o,this.lastDecodedFrames=n}}checkFPSInterval(){const t=this.media;if(t)if(this.isVideoPlaybackQualityAvailable){const n=t.getVideoPlaybackQuality();this.checkFPS(t,n.totalVideoFrames,n.droppedVideoFrames)}else this.checkFPS(t,t.webkitDecodedFrameCount,t.webkitDroppedFrameCount)}}function Su(P,t){let n;try{n=new Event("addtrack")}catch(o){n=document.createEvent("Event"),n.initEvent("addtrack",!1,!1)}n.track=P,t.dispatchEvent(n)}function vc(P,t){const n=P.mode;if(n==="disabled"&&(P.mode="hidden"),P.cues&&!P.cues.getCueById(t.id))try{if(P.addCue(t),!P.cues.getCueById(t.id))throw new Error(`addCue is failed for: ${t}`)}catch(o){Y.debug(`[texttrack-utils]: ${o}`);try{const m=new self.TextTrackCue(t.startTime,t.endTime,t.text);m.id=t.id,P.addCue(m)}catch(m){Y.debug(`[texttrack-utils]: Legacy TextTrackCue fallback failed: ${m}`)}}n==="disabled"&&(P.mode=n)}function Mu(P,t){const n=P.mode;if(n==="disabled"&&(P.mode="hidden"),P.cues)for(let o=P.cues.length;o--;)t&&P.cues[o].removeEventListener("enter",t),P.removeCue(P.cues[o]);n==="disabled"&&(P.mode=n)}function Zo(P,t,n,o){const m=P.mode;if(m==="disabled"&&(P.mode="hidden"),P.cues&&P.cues.length>0){const E=Au(P.cues,t,n);for(let C=0;C<E.length;C++)(!o||o(E[C]))&&P.removeCue(E[C])}m==="disabled"&&(P.mode=m)}function il(P,t){if(t<=P[0].startTime)return 0;const n=P.length-1;if(t>P[n].endTime)return-1;let o=0,m=n,E;for(;o<=m;)if(E=Math.floor((m+o)/2),t<P[E].startTime)m=E-1;else if(t>P[E].startTime&&o<n)o=E+1;else return E;return P[o].startTime-t<t-P[m].startTime?o:m}function Au(P,t,n){const o=[],m=il(P,t);if(m>-1)for(let E=m,C=P.length;E<C;E++){const U=P[E];if(U.startTime>=t&&U.endTime<=n)o.push(U);else if(U.startTime>n)return o}return o}function Dc(P){const t=[];for(let n=0;n<P.length;n++){const o=P[n];(o.kind==="subtitles"||o.kind==="captions")&&o.label&&t.push(P[n])}return t}class Kc extends lu{constructor(t){super(t,"subtitle-track-controller"),this.media=null,this.tracks=[],this.groupIds=null,this.tracksInGroup=[],this.trackId=-1,this.currentTrack=null,this.selectDefaultTrack=!0,this.queuedDefaultTrack=-1,this.useTextTrackPolling=!1,this.subtitlePollingInterval=-1,this._subtitleDisplay=!0,this.asyncPollTrackChange=()=>this.pollTrackChange(0),this.onTextTracksChanged=()=>{if(this.useTextTrackPolling||self.clearInterval(this.subtitlePollingInterval),!this.media||!this.hls.config.renderTextTracksNatively)return;let n=null;const o=Dc(this.media.textTracks);for(let E=0;E<o.length;E++)if(o[E].mode==="hidden")n=o[E];else if(o[E].mode==="showing"){n=o[E];break}const m=this.findTrackForTextTrack(n);this.subtitleTrack!==m&&this.setSubtitleTrack(m)},this.registerListeners()}destroy(){this.unregisterListeners(),this.tracks.length=0,this.tracksInGroup.length=0,this.currentTrack=null,this.onTextTracksChanged=this.asyncPollTrackChange=null,super.destroy()}get subtitleDisplay(){return this._subtitleDisplay}set subtitleDisplay(t){this._subtitleDisplay=t,this.trackId>-1&&this.toggleTrackModes()}registerListeners(){const{hls:t}=this;t.on(s.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(s.MANIFEST_LOADING,this.onManifestLoading,this),t.on(s.MANIFEST_PARSED,this.onManifestParsed,this),t.on(s.LEVEL_LOADING,this.onLevelLoading,this),t.on(s.LEVEL_SWITCHING,this.onLevelSwitching,this),t.on(s.SUBTITLE_TRACK_LOADED,this.onSubtitleTrackLoaded,this),t.on(s.ERROR,this.onError,this)}unregisterListeners(){const{hls:t}=this;t.off(s.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(s.MANIFEST_LOADING,this.onManifestLoading,this),t.off(s.MANIFEST_PARSED,this.onManifestParsed,this),t.off(s.LEVEL_LOADING,this.onLevelLoading,this),t.off(s.LEVEL_SWITCHING,this.onLevelSwitching,this),t.off(s.SUBTITLE_TRACK_LOADED,this.onSubtitleTrackLoaded,this),t.off(s.ERROR,this.onError,this)}onMediaAttached(t,n){this.media=n.media,this.media&&(this.queuedDefaultTrack>-1&&(this.subtitleTrack=this.queuedDefaultTrack,this.queuedDefaultTrack=-1),this.useTextTrackPolling=!(this.media.textTracks&&"onchange"in this.media.textTracks),this.useTextTrackPolling?this.pollTrackChange(500):this.media.textTracks.addEventListener("change",this.asyncPollTrackChange))}pollTrackChange(t){self.clearInterval(this.subtitlePollingInterval),this.subtitlePollingInterval=self.setInterval(this.onTextTracksChanged,t)}onMediaDetaching(t,n){const o=this.media;if(!o)return;const m=!!n.transferMedia;if(self.clearInterval(this.subtitlePollingInterval),this.useTextTrackPolling||o.textTracks.removeEventListener("change",this.asyncPollTrackChange),this.trackId>-1&&(this.queuedDefaultTrack=this.trackId),this.subtitleTrack=-1,this.media=null,m)return;Dc(o.textTracks).forEach(C=>{Mu(C)})}onManifestLoading(){this.tracks=[],this.groupIds=null,this.tracksInGroup=[],this.trackId=-1,this.currentTrack=null,this.selectDefaultTrack=!0}onManifestParsed(t,n){this.tracks=n.subtitleTracks}onSubtitleTrackLoaded(t,n){const{id:o,groupId:m,details:E}=n,C=this.tracksInGroup[o];if(!C||C.groupId!==m){this.warn(`Subtitle track with id:${o} and group:${m} not found in active group ${C==null?void 0:C.groupId}`);return}const U=C.details;C.details=n.details,this.log(`Subtitle track ${o} "${C.name}" lang:${C.lang} group:${m} loaded [${E.startSN}-${E.endSN}]`),o===this.trackId&&this.playlistLoaded(o,n,U)}onLevelLoading(t,n){this.switchLevel(n.level)}onLevelSwitching(t,n){this.switchLevel(n.level)}switchLevel(t){const n=this.hls.levels[t];if(!n)return;const o=n.subtitleGroups||null,m=this.groupIds;let E=this.currentTrack;if(!o||(m==null?void 0:m.length)!==(o==null?void 0:o.length)||o!=null&&o.some(C=>(m==null?void 0:m.indexOf(C))===-1)){this.groupIds=o,this.trackId=-1,this.currentTrack=null;const C=this.tracks.filter(ae=>!o||o.indexOf(ae.groupId)!==-1);if(C.length)this.selectDefaultTrack&&!C.some(ae=>ae.default)&&(this.selectDefaultTrack=!1),C.forEach((ae,ce)=>{ae.id=ce});else if(!E&&!this.tracksInGroup.length)return;this.tracksInGroup=C;const U=this.hls.config.subtitlePreference;if(!E&&U){this.selectDefaultTrack=!1;const ae=Xi(U,C);if(ae>-1)E=C[ae];else{const ce=Xi(U,this.tracks);E=this.tracks[ce]}}let H=this.findTrackId(E);H===-1&&E&&(H=this.findTrackId(null));const $={subtitleTracks:C};this.log(`Updating subtitle tracks, ${C.length} track(s) found in "${o==null?void 0:o.join(",")}" group-id`),this.hls.trigger(s.SUBTITLE_TRACKS_UPDATED,$),H!==-1&&this.trackId===-1&&this.setSubtitleTrack(H)}}findTrackId(t){const n=this.tracksInGroup,o=this.selectDefaultTrack;for(let m=0;m<n.length;m++){const E=n[m];if(!(o&&!E.default||!o&&!t)&&(!t||qn(E,t)))return m}if(t){for(let m=0;m<n.length;m++){const E=n[m];if(Zu(t.attrs,E.attrs,["LANGUAGE","ASSOC-LANGUAGE","CHARACTERISTICS"]))return m}for(let m=0;m<n.length;m++){const E=n[m];if(Zu(t.attrs,E.attrs,["LANGUAGE"]))return m}}return-1}findTrackForTextTrack(t){if(t){const n=this.tracksInGroup;for(let o=0;o<n.length;o++){const m=n[o];if(ai(m,t))return o}}return-1}onError(t,n){n.fatal||!n.context||n.context.type===h.SUBTITLE_TRACK&&n.context.id===this.trackId&&(!this.groupIds||this.groupIds.indexOf(n.context.groupId)!==-1)&&this.checkRetry(n)}get allSubtitleTracks(){return this.tracks}get subtitleTracks(){return this.tracksInGroup}get subtitleTrack(){return this.trackId}set subtitleTrack(t){this.selectDefaultTrack=!1,this.setSubtitleTrack(t)}setSubtitleOption(t){if(this.hls.config.subtitlePreference=t,t){if(t.id===-1)return this.setSubtitleTrack(-1),null;const n=this.allSubtitleTracks;if(this.selectDefaultTrack=!1,n.length){const o=this.currentTrack;if(o&&qn(t,o))return o;const m=Xi(t,this.tracksInGroup);if(m>-1){const E=this.tracksInGroup[m];return this.setSubtitleTrack(m),E}else{if(o)return null;{const E=Xi(t,n);if(E>-1)return n[E]}}}}return null}loadPlaylist(t){super.loadPlaylist(),this.shouldLoadPlaylist(this.currentTrack)&&this.scheduleLoading(this.currentTrack,t)}loadingPlaylist(t,n){super.loadingPlaylist(t,n);const o=t.id,m=t.groupId,E=this.getUrlWithDirectives(t.url,n),C=t.details,U=C==null?void 0:C.age;this.log(`Loading subtitle ${o} "${t.name}" lang:${t.lang} group:${m}${(n==null?void 0:n.msn)!==void 0?" at sn "+n.msn+" part "+n.part:""}${U&&C.live?" age "+U.toFixed(1)+(C.type?" "+C.type||0:""):""} ${E}`),this.hls.trigger(s.SUBTITLE_TRACK_LOADING,{url:E,id:o,groupId:m,deliveryDirectives:n||null,track:t})}toggleTrackModes(){const{media:t}=this;if(!t)return;const n=Dc(t.textTracks),o=this.currentTrack;let m;if(o&&(m=n.filter(E=>ai(o,E))[0],m||this.warn(`Unable to find subtitle TextTrack with name "${o.name}" and language "${o.lang}"`)),[].slice.call(n).forEach(E=>{E.mode!=="disabled"&&E!==m&&(E.mode="disabled")}),m){const E=this.subtitleDisplay?"showing":"hidden";m.mode!==E&&(m.mode=E)}}setSubtitleTrack(t){const n=this.tracksInGroup;if(!this.media){this.queuedDefaultTrack=t;return}if(t<-1||t>=n.length||!r(t)){this.warn(`Invalid subtitle track id: ${t}`);return}this.selectDefaultTrack=!1;const o=this.currentTrack,m=n[t]||null;if(this.trackId=t,this.currentTrack=m,this.toggleTrackModes(),!m){this.hls.trigger(s.SUBTITLE_TRACK_SWITCH,{id:t});return}const E=!!m.details&&!m.details.live;if(t===this.trackId&&m===o&&E)return;this.log(`Switching to subtitle-track ${t}`+(m?` "${m.name}" lang:${m.lang} group:${m.groupId}`:""));const{id:C,groupId:U="",name:H,type:$,url:ae}=m;this.hls.trigger(s.SUBTITLE_TRACK_SWITCH,{id:C,groupId:U,name:H,type:$,url:ae});const ce=this.switchParams(m.url,o==null?void 0:o.details,m.details);this.loadPlaylist(ce)}}function oo(P){let t=5381,n=P.length;for(;n;)t=t*33^P.charCodeAt(--n);return(t>>>0).toString()}const du=.025;let Dl=function(P){return P[P.Point=0]="Point",P[P.Range=1]="Range",P}({});function Xl(P,t,n){return`${P.identifier}-${n+1}-${oo(t)}`}class Ql{constructor(t,n){this.base=void 0,this._duration=null,this._timelineStart=null,this.appendInPlaceDisabled=void 0,this.appendInPlaceStarted=void 0,this.dateRange=void 0,this.hasPlayed=!1,this.cumulativeDuration=0,this.resumeOffset=NaN,this.playoutLimit=NaN,this.restrictions={skip:!1,jump:!1},this.snapOptions={out:!1,in:!1},this.assetList=[],this.assetListLoader=void 0,this.assetListResponse=null,this.resumeAnchor=void 0,this.error=void 0,this.resetOnResume=void 0,this.base=n,this.dateRange=t,this.setDateRange(t)}setDateRange(t){this.dateRange=t,this.resumeOffset=t.attr.optionalFloat("X-RESUME-OFFSET",this.resumeOffset),this.playoutLimit=t.attr.optionalFloat("X-PLAYOUT-LIMIT",this.playoutLimit),this.restrictions=t.attr.enumeratedStringList("X-RESTRICT",this.restrictions),this.snapOptions=t.attr.enumeratedStringList("X-SNAP",this.snapOptions)}reset(){var t;this.appendInPlaceStarted=!1,(t=this.assetListLoader)==null||t.destroy(),this.assetListLoader=void 0,this.supplementsPrimary||(this.assetListResponse=null,this.assetList=[],this._duration=null)}isAssetPastPlayoutLimit(t){if(t>=this.assetList.length)return!0;const n=this.playoutLimit;return t<=0||isNaN(n)?!1:this.assetList[t].startOffset>n}findAssetIndex(t){return this.assetList.indexOf(t)}get identifier(){return this.dateRange.id}get startDate(){return this.dateRange.startDate}get startTime(){const t=this.dateRange.startTime;if(this.snapOptions.out){const n=this.dateRange.tagAnchor;if(n)return gl(t,n)}return t}get startOffset(){return this.cue.pre?0:this.startTime}get startIsAligned(){if(this.startTime===0||this.snapOptions.out)return!0;const t=this.dateRange.tagAnchor;if(t){const n=this.dateRange.startTime,o=gl(n,t);return n-o<.1}return!1}get resumptionOffset(){const t=this.resumeOffset,n=r(t)?t:this.duration;return this.cumulativeDuration+n}get resumeTime(){const t=this.startOffset+this.resumptionOffset;if(this.snapOptions.in){const n=this.resumeAnchor;if(n)return gl(t,n)}return t}get appendInPlace(){return this.appendInPlaceStarted?!0:this.appendInPlaceDisabled?!1:!!(!this.cue.once&&!this.cue.pre&&this.startIsAligned&&(isNaN(this.playoutLimit)&&isNaN(this.resumeOffset)||this.resumeOffset&&this.duration&&Math.abs(this.resumeOffset-this.duration)<du))}set appendInPlace(t){if(this.appendInPlaceStarted){this.resetOnResume=!t;return}this.appendInPlaceDisabled=!t}get timelineStart(){return this._timelineStart!==null?this._timelineStart:this.startTime}set timelineStart(t){this._timelineStart=t}get duration(){const t=this.playoutLimit;let n;return this._duration!==null?n=this._duration:this.dateRange.duration?n=this.dateRange.duration:n=this.dateRange.plannedDuration||0,!isNaN(t)&&t<n&&(n=t),n}set duration(t){this._duration=t}get cue(){return this.dateRange.cue}get timelineOccupancy(){return this.dateRange.attr["X-TIMELINE-OCCUPIES"]==="RANGE"?Dl.Range:Dl.Point}get supplementsPrimary(){return this.dateRange.attr["X-TIMELINE-STYLE"]==="PRIMARY"}get contentMayVary(){return this.dateRange.attr["X-CONTENT-MAY-VARY"]!=="NO"}get assetUrl(){return this.dateRange.attr["X-ASSET-URI"]}get assetListUrl(){return this.dateRange.attr["X-ASSET-LIST"]}get baseUrl(){return this.base.url}get assetListLoaded(){return this.assetList.length>0||this.assetListResponse!==null}toString(){return df(this)}}function gl(P,t){return P-t.start<t.duration/2&&!(Math.abs(P-(t.start+t.duration))<du)?t.start:t.start+t.duration}function Ol(P,t,n){const o=new self.URL(P,n);return o.protocol!=="data:"&&o.searchParams.set("_HLS_primary_id",t),o}function df(P){return`["${P.identifier}" ${P.cue.pre?"<pre>":P.cue.post?"<post>":""}${P.timelineStart.toFixed(2)}-${P.resumeTime.toFixed(2)}]`}function kl(P){const t=P.timelineStart,n=P.duration||0;return`["${P.identifier}" ${t.toFixed(2)}-${(t+n).toFixed(2)}]`}class ql{constructor(t,n,o,m){this.hls=void 0,this.interstitial=void 0,this.assetItem=void 0,this.tracks=null,this.hasDetails=!1,this.mediaAttached=null,this._currentTime=void 0,this._bufferedEosTime=void 0,this.checkPlayout=()=>{const $=this.interstitial.playoutLimit,ae=this.currentTime;this.startOffset+ae>=$&&this.hls.trigger(s.PLAYOUT_LIMIT_REACHED,{})};const E=this.hls=new t(n);this.interstitial=o,this.assetItem=m;let C=m.uri;try{C=Ol(C,E.sessionId).href}catch(H){}E.loadSource(C);const U=()=>{this.hasDetails=!0};E.once(s.LEVEL_LOADED,U),E.once(s.AUDIO_TRACK_LOADED,U),E.once(s.SUBTITLE_TRACK_LOADED,U),E.on(s.MEDIA_ATTACHING,(H,{media:$})=>{this.removeMediaListeners(),this.mediaAttached=$,this.interstitial.playoutLimit&&$.addEventListener("timeupdate",this.checkPlayout)})}bufferedInPlaceToEnd(t){var n;if(!this.interstitial.appendInPlace)return!1;if((n=this.hls)!=null&&n.bufferedToEnd)return!0;if(!t||!this._bufferedEosTime)return!1;const o=this.timelineOffset,m=yi.bufferInfo(t,o,0);return this.getAssetTime(m.end)>=this._bufferedEosTime-.02}get destroyed(){var t;return!((t=this.hls)!=null&&t.userConfig)}get assetId(){return this.assetItem.identifier}get interstitialId(){return this.assetItem.parentIdentifier}get media(){var t;return((t=this.hls)==null?void 0:t.media)||null}get bufferedEnd(){const t=this.media||this.mediaAttached;if(!t)return this._bufferedEosTime?this._bufferedEosTime:this.currentTime;const n=yi.bufferInfo(t,t.currentTime,.001);return this.getAssetTime(n.end)}get currentTime(){const t=this.media||this.mediaAttached;return t?this.getAssetTime(t.currentTime):this._currentTime||0}get duration(){const t=this.assetItem.duration;return t||0}get remaining(){const t=this.duration;return t?Math.max(0,t-this.currentTime):0}get startOffset(){return this.assetItem.startOffset}get timelineOffset(){var t;return((t=this.hls)==null?void 0:t.config.timelineOffset)||0}set timelineOffset(t){const n=this.timelineOffset;if(t!==n){const o=t-n;if(Math.abs(o)>11111111111111112e-21){if(this.hasDetails)throw new Error("Cannot set timelineOffset after playlists are loaded");this.hls.config.timelineOffset=t}}}getAssetTime(t){const n=this.timelineOffset,o=this.duration;return Math.min(Math.max(0,t-n),o)}removeMediaListeners(){const t=this.mediaAttached;t&&(this._currentTime=t.currentTime,this.bufferSnapShot(),t.removeEventListener("timeupdate",this.checkPlayout))}bufferSnapShot(){if(this.mediaAttached){var t;(t=this.hls)!=null&&t.bufferedToEnd&&(this._bufferedEosTime=this.bufferedEnd)}}destroy(){this.removeMediaListeners(),this.hls.destroy(),this.hls=this.interstitial=null,this.tracks=this.mediaAttached=this.checkPlayout=null}attachMedia(t){this.hls.attachMedia(t)}detachMedia(){this.removeMediaListeners(),this.mediaAttached=null,this.hls.detachMedia()}resumeBuffering(){this.hls.resumeBuffering()}pauseBuffering(){this.hls.pauseBuffering()}transferMedia(){return this.bufferSnapShot(),this.hls.transferMedia()}on(t,n,o){this.hls.on(t,n)}once(t,n,o){this.hls.once(t,n)}off(t,n,o){this.hls.off(t,n)}toString(){var t,n;return`HlsAssetPlayer: ${kl(this.assetItem)} ${(t=this.hls)==null?void 0:t.sessionId} ${(n=this.interstitial)!=null&&n.appendInPlace?"append-in-place":""}`}}const yl=.033;class Yc extends L{constructor(t,n){super("interstitials-sched",n),this.onScheduleUpdate=void 0,this.eventMap={},this.events=null,this.items=null,this.durations={primary:0,playout:0,integrated:0},this.onScheduleUpdate=t}destroy(){this.reset(),this.onScheduleUpdate=null}reset(){this.eventMap={},this.setDurations(0,0,0),this.events&&this.events.forEach(t=>t.reset()),this.events=this.items=null}resetErrorsInRange(t,n){return this.events?this.events.reduce((o,m)=>t<=m.startOffset&&n>m.startOffset?(delete m.error,o+1):o,0):0}get duration(){const t=this.items;return t?t[t.length-1].end:0}get length(){return this.items?this.items.length:0}getEvent(t){return t&&this.eventMap[t]||null}hasEvent(t){return t in this.eventMap}findItemIndex(t,n){if(t.event)return this.findEventIndex(t.event.identifier);let o=-1;t.nextEvent?o=this.findEventIndex(t.nextEvent.identifier)-1:t.previousEvent&&(o=this.findEventIndex(t.previousEvent.identifier)+1);const m=this.items;if(m)for(m[o]||(n===void 0&&(n=t.start),o=this.findItemIndexAtTime(n));o>=0&&(E=m[o])!=null&&E.event;){var E;o--}return o}findItemIndexAtTime(t,n){const o=this.items;if(o)for(let m=0;m<o.length;m++){let E=o[m];if(n&&n!=="primary"&&(E=E[n]),t===E.start||t>E.start&&t<E.end)return m}return-1}findJumpRestrictedIndex(t,n){const o=this.items;if(o)for(let m=t;m<=n&&o[m];m++){const E=o[m].event;if(E!=null&&E.restrictions.jump&&!E.appendInPlace)return m}return-1}findEventIndex(t){const n=this.items;if(n)for(let m=n.length;m--;){var o;if(((o=n[m].event)==null?void 0:o.identifier)===t)return m}return-1}findAssetIndex(t,n){const o=t.assetList,m=o.length;if(m>1)for(let E=0;E<m;E++){const C=o[E];if(!C.error){const U=C.timelineStart;if(n===U||n>U&&n<U+(C.duration||0))return E}}return 0}get assetIdAtEnd(){var t,n;const o=(t=this.items)==null||(n=t[this.length-1])==null?void 0:n.event;if(o){const m=o.assetList,E=m[m.length-1];if(E)return E.identifier}return null}parseInterstitialDateRanges(t,n){const o=t.main.details,{dateRanges:m}=o,E=this.events,C=this.parseDateRanges(m,{url:o.url},n),U=Object.keys(m),H=E?E.filter($=>!U.includes($.identifier)):[];C.length&&C.sort(($,ae)=>{const ce=$.cue.pre,xe=$.cue.post,Te=ae.cue.pre,De=ae.cue.post;if(ce&&!Te)return-1;if(Te&&!ce||xe&&!De)return 1;if(De&&!xe)return-1;if(!ce&&!Te&&!xe&&!De){const tt=$.startTime,at=ae.startTime;if(tt!==at)return tt-at}return $.dateRange.tagOrder-ae.dateRange.tagOrder}),this.events=C,H.forEach($=>{this.removeEvent($)}),this.updateSchedule(t,H)}updateSchedule(t,n=[]){const o=this.events||[];if(o.length||n.length||this.length<2){const m=this.items,E=this.parseSchedule(o,t);(n.length||(m==null?void 0:m.length)!==E.length||E.some((U,H)=>Math.abs(U.playout.start-m[H].playout.start)>.005||Math.abs(U.playout.end-m[H].playout.end)>.005))&&(this.items=E,this.onScheduleUpdate(n,m))}}parseDateRanges(t,n,o){const m=[],E=Object.keys(t);for(let C=0;C<E.length;C++){const U=E[C],H=t[U];if(H.isInterstitial){let $=this.eventMap[U];$?$.setDateRange(H):($=new Ql(H,n),this.eventMap[U]=$,o===!1&&($.appendInPlace=o)),m.push($)}}return m}parseSchedule(t,n){const o=[],m=n.main.details,E=m.live?1/0:m.edge;let C=0;if(t=t.filter(H=>!H.error&&!(H.cue.once&&H.hasPlayed)),t.length){this.resolveOffsets(t,n);let H=0,$=0;if(t.forEach((ae,ce)=>{const xe=ae.cue.pre,Te=ae.cue.post,De=t[ce-1]||null,tt=ae.appendInPlace,at=Te?E:ae.startOffset,Bt=ae.duration,dr=ae.timelineOccupancy===Dl.Range?Bt:0,ar=ae.resumptionOffset,Zr=(De==null?void 0:De.startTime)===at,Gr=at+ae.cumulativeDuration;let fn=tt?Gr+Bt:at+ar;if(xe||!Te&&at<=0){const on=$;$+=dr,ae.timelineStart=Gr;const _n=C;C+=Bt,o.push({event:ae,start:Gr,end:fn,playout:{start:_n,end:C},integrated:{start:on,end:$}})}else if(at<=E){if(!Zr){const Xr=at-H;if(Xr>yl){const Yn=H,di=$;$+=Xr;const os=C;C+=Xr;const ya={previousEvent:t[ce-1]||null,nextEvent:ae,start:Yn,end:Yn+Xr,playout:{start:os,end:C},integrated:{start:di,end:$}};o.push(ya)}else Xr>0&&De&&(De.cumulativeDuration+=Xr,o[o.length-1].end=at)}Te&&(fn=Gr),ae.timelineStart=Gr;const on=$;$+=dr;const _n=C;C+=Bt,o.push({event:ae,start:Gr,end:fn,playout:{start:_n,end:C},integrated:{start:on,end:$}})}else return;const Vr=ae.resumeTime;Te||Vr>E?H=E:H=Vr}),H<E){var U;const ae=H,ce=$,xe=E-H;$+=xe;const Te=C;C+=xe,o.push({previousEvent:((U=o[o.length-1])==null?void 0:U.event)||null,nextEvent:null,start:H,end:ae+xe,playout:{start:Te,end:C},integrated:{start:ce,end:$}})}this.setDurations(E,C,$)}else o.push({previousEvent:null,nextEvent:null,start:0,end:E,playout:{start:0,end:E},integrated:{start:0,end:E}}),this.setDurations(E,E,E);return o}setDurations(t,n,o){this.durations={primary:t,playout:n,integrated:o}}resolveOffsets(t,n){const o=n.main.details,m=o.live?1/0:o.edge;let E=0,C=-1;t.forEach((U,H)=>{const $=U.cue.pre,ae=U.cue.post,ce=$?0:ae?m:U.startTime;this.updateAssetDurations(U),C===ce?U.cumulativeDuration=E:(E=0,C=ce),!ae&&U.snapOptions.in&&(U.resumeAnchor=En(null,o.fragments,U.startOffset+U.resumptionOffset,0,0)||void 0),U.appendInPlace&&!U.appendInPlaceStarted&&(this.primaryCanResumeInPlaceAt(U,n)||(U.appendInPlace=!1)),!U.appendInPlace&&H+1<t.length&&t[H+1].startTime-t[H].resumeTime<yl&&(t[H+1].appendInPlace=!1,t[H+1].appendInPlace&&this.warn(`Could not change append strategy for abutting event ${U}`));const Te=r(U.resumeOffset)?U.resumeOffset:U.duration;E+=Te})}primaryCanResumeInPlaceAt(t,n){const o=t.resumeTime,m=t.startTime+t.resumptionOffset;return Math.abs(o-m)>du?(this.log(`"${t.identifier}" resumption ${o} not aligned with estimated timeline end ${m}`),!1):n?!Object.keys(n).some(C=>{const U=n[C].details,H=U.edge;if(o>=H)return this.log(`"${t.identifier}" resumption ${o} past ${C} playlist end ${H}`),!1;const $=En(null,U.fragments,o);if(!$)return this.log(`"${t.identifier}" resumption ${o} does not align with any fragments in ${C} playlist (${U.fragStart}-${U.fragmentEnd})`),!0;const ae=C==="audio"?.175:0;return Math.abs($.start-o)<du+ae||Math.abs($.end-o)<du+ae?!1:(this.log(`"${t.identifier}" resumption ${o} not aligned with ${C} fragment bounds (${$.start}-${$.end} sn: ${$.sn} cc: ${$.cc})`),!0)}):(this.log(`"${t.identifier}" resumption ${o} can not be aligned with media (none selected)`),!1)}updateAssetDurations(t){if(!t.assetListLoaded)return;const n=t.timelineStart;let o=0,m=!1,E=!1;t.assetList.forEach((C,U)=>{const H=n+o;C.startOffset=o,C.timelineStart=H,m||(m=C.duration===null),E||(E=!!C.error);const $=C.error?0:C.duration||0;o+=$}),m&&!E?t.duration=Math.max(o,t.duration):t.duration=o}removeEvent(t){t.reset(),delete this.eventMap[t.identifier]}}function Fu(P){return`[${P.event?'"'+P.event.identifier+'"':"primary"}: ${P.start.toFixed(2)}-${P.end.toFixed(2)}]`}class Bu{constructor(t){this.hls=void 0,this.hls=t}destroy(){this.hls=null}loadAssetList(t,n){const o=t.assetListUrl;let m;try{m=Ol(o,this.hls.sessionId,t.baseUrl)}catch(xe){const Te=this.assignAssetListError(t,f.ASSET_LIST_LOAD_ERROR,xe,o);this.hls.trigger(s.ERROR,Te);return}n&&m.protocol!=="data:"&&m.searchParams.set("_HLS_start_offset",""+n);const E=this.hls.config,C=E.loader,U=new C(E),H={responseType:"json",url:m.href},$=E.interstitialAssetListLoadPolicy.default,ae={loadPolicy:$,timeout:$.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0},ce={onSuccess:(xe,Te,De,tt)=>{const at=xe.data,Bt=at==null?void 0:at.ASSETS;if(!Array.isArray(Bt)){const dr=this.assignAssetListError(t,f.ASSET_LIST_PARSING_ERROR,new Error("Invalid interstitial asset list"),De.url,Te,tt);this.hls.trigger(s.ERROR,dr);return}t.assetListResponse=at,this.hls.trigger(s.ASSET_LIST_LOADED,{event:t,assetListResponse:at,networkDetails:tt})},onError:(xe,Te,De,tt)=>{const at=this.assignAssetListError(t,f.ASSET_LIST_LOAD_ERROR,new Error(`Error loading X-ASSET-LIST: HTTP status ${xe.code} ${xe.text} (${Te.url})`),Te.url,tt,De);this.hls.trigger(s.ERROR,at)},onTimeout:(xe,Te,De)=>{const tt=this.assignAssetListError(t,f.ASSET_LIST_LOAD_TIMEOUT,new Error(`Timeout loading X-ASSET-LIST (${Te.url})`),Te.url,xe,De);this.hls.trigger(s.ERROR,tt)}};return U.load(H,ae,ce),this.hls.trigger(s.ASSET_LIST_LOADING,{event:t}),U}assignAssetListError(t,n,o,m,E,C){return t.error=o,{type:c.NETWORK_ERROR,details:n,fatal:!1,interstitial:t,url:m,error:o,networkDetails:C,stats:E}}}function iu(P,t,n){qo(P,t,n),P.addEventListener(t,n)}function qo(P,t,n){P.removeEventListener(t,n)}function gc(P){P==null||P.play().catch(()=>{})}class yc extends L{constructor(t,n){super("interstitials",t.logger),this.HlsPlayerClass=void 0,this.hls=void 0,this.assetListLoader=void 0,this.mediaSelection=null,this.altSelection=null,this.media=null,this.detachedData=null,this.requiredTracks=null,this.manager=null,this.playerQueue=[],this.bufferedPos=-1,this.timelinePos=-1,this.schedule=void 0,this.playingItem=null,this.bufferingItem=null,this.waitingItem=null,this.endedItem=null,this.playingAsset=null,this.endedAsset=null,this.bufferingAsset=null,this.shouldPlay=!1,this.onPlay=()=>{this.shouldPlay=!0},this.onPause=()=>{this.shouldPlay=!1},this.onSeeking=()=>{const o=this.currentTime;if(o===void 0||this.playbackDisabled)return;const m=o-this.timelinePos;if(Math.abs(m)<1/7056e5)return;const C=m<=-.01;this.timelinePos=o,this.bufferedPos=o;const U=this.playingItem;if(!U){this.checkBuffer();return}if(C&&this.schedule.resetErrorsInRange(o,o-m)&&this.updateSchedule(),this.checkBuffer(),C&&o<U.start||o>=U.end){var H;const xe=this.schedule.findItemIndexAtTime(this.timelinePos);if(!this.isInterstitial(U)&&(H=this.media)!=null&&H.paused&&(this.shouldPlay=!1),!C){const Te=this.findItemIndex(U);if(xe>Te){const De=this.schedule.findJumpRestrictedIndex(Te+1,xe);if(De>Te){this.setSchedulePosition(De);return}}}this.setSchedulePosition(xe);return}const $=this.playingAsset;if(!$){if(this.playingLastItem&&this.isInterstitial(U)){const xe=U.event.assetList[0];xe&&(this.endedItem=this.playingItem,this.playingItem=null,this.setScheduleToAssetAtTime(o,xe))}return}const ae=$.timelineStart,ce=$.duration||0;(C&&o<ae||o>=ae+ce)&&this.setScheduleToAssetAtTime(o,$)},this.onTimeupdate=()=>{const o=this.currentTime;if(o===void 0||this.playbackDisabled)return;if(o>this.timelinePos)this.timelinePos=o,o>this.bufferedPos&&this.checkBuffer();else return;const m=this.playingItem;if(!m||this.playingLastItem)return;if(o>=m.end){this.timelinePos=m.end;const U=this.findItemIndex(m);this.setSchedulePosition(U+1)}const E=this.playingAsset;if(!E)return;const C=E.timelineStart+(E.duration||0);o>=C&&this.setScheduleToAssetAtTime(o,E)},this.onScheduleUpdate=(o,m)=>{const E=this.schedule,C=this.playingItem,U=E.events||[],H=E.items||[],$=E.durations,ae=o.map(Te=>Te.identifier),ce=!!(U.length||ae.length);if(ce&&this.log(`INTERSTITIALS_UPDATED (${U.length}): ${U}
Schedule: ${H.map(Te=>Fu(Te))}`),ae.length&&this.log(`Removed events ${ae}`),this.playerQueue.forEach(Te=>{if(Te.interstitial.appendInPlace){const De=Te.assetItem.timelineStart,tt=Te.timelineOffset-De;if(tt)try{Te.timelineOffset=De}catch(at){Math.abs(tt)>du&&this.warn(`${at} ("${Te.assetId}" ${Te.timelineOffset}->${De})`)}}}),C){const Te=this.updateItem(C,this.timelinePos);this.itemsMatch(C,Te)&&(this.playingItem=Te,this.waitingItem=this.endedItem=null)}else this.waitingItem=this.updateItem(this.waitingItem),this.endedItem=this.updateItem(this.endedItem);const xe=this.bufferingItem;if(xe){const Te=this.updateItem(xe,this.bufferedPos);this.itemsMatch(xe,Te)?this.bufferingItem=Te:xe.event&&(this.bufferingItem=this.playingItem,this.clearInterstitial(xe.event,null))}if(o.forEach(Te=>{Te.assetList.forEach(De=>{this.clearAssetPlayer(De.identifier,null)})}),ce||m){if(this.hls.trigger(s.INTERSTITIALS_UPDATED,{events:U.slice(0),schedule:H.slice(0),durations:$,removedIds:ae}),this.isInterstitial(C)&&ae.includes(C.event.identifier)){this.warn(`Interstitial "${C.event.identifier}" removed while playing`),this.primaryFallback(C.event);return}this.checkBuffer()}},this.hls=t,this.HlsPlayerClass=n,this.assetListLoader=new Bu(t),this.schedule=new Yc(this.onScheduleUpdate,t.logger),this.registerListeners()}registerListeners(){const t=this.hls;t.on(s.MEDIA_ATTACHING,this.onMediaAttaching,this),t.on(s.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(s.MANIFEST_LOADING,this.onManifestLoading,this),t.on(s.LEVEL_UPDATED,this.onLevelUpdated,this),t.on(s.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),t.on(s.AUDIO_TRACK_UPDATED,this.onAudioTrackUpdated,this),t.on(s.SUBTITLE_TRACK_SWITCH,this.onSubtitleTrackSwitch,this),t.on(s.SUBTITLE_TRACK_UPDATED,this.onSubtitleTrackUpdated,this),t.on(s.EVENT_CUE_ENTER,this.onInterstitialCueEnter,this),t.on(s.ASSET_LIST_LOADED,this.onAssetListLoaded,this),t.on(s.BUFFER_APPENDED,this.onBufferAppended,this),t.on(s.BUFFER_FLUSHED,this.onBufferFlushed,this),t.on(s.BUFFERED_TO_END,this.onBufferedToEnd,this),t.on(s.MEDIA_ENDED,this.onMediaEnded,this),t.on(s.ERROR,this.onError,this),t.on(s.DESTROYING,this.onDestroying,this)}unregisterListeners(){const t=this.hls;t&&(t.off(s.MEDIA_ATTACHING,this.onMediaAttaching,this),t.off(s.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(s.MANIFEST_LOADING,this.onManifestLoading,this),t.off(s.LEVEL_UPDATED,this.onLevelUpdated,this),t.off(s.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),t.off(s.AUDIO_TRACK_UPDATED,this.onAudioTrackUpdated,this),t.off(s.SUBTITLE_TRACK_SWITCH,this.onSubtitleTrackSwitch,this),t.off(s.SUBTITLE_TRACK_UPDATED,this.onSubtitleTrackUpdated,this),t.off(s.EVENT_CUE_ENTER,this.onInterstitialCueEnter,this),t.off(s.ASSET_LIST_LOADED,this.onAssetListLoaded,this),t.off(s.BUFFER_CODECS,this.onBufferCodecs,this),t.off(s.BUFFER_APPENDED,this.onBufferAppended,this),t.off(s.BUFFER_FLUSHED,this.onBufferFlushed,this),t.off(s.BUFFERED_TO_END,this.onBufferedToEnd,this),t.off(s.MEDIA_ENDED,this.onMediaEnded,this),t.off(s.ERROR,this.onError,this),t.off(s.DESTROYING,this.onDestroying,this))}startLoad(){this.resumeBuffering()}stopLoad(){this.pauseBuffering()}resumeBuffering(){var t;(t=this.getBufferingPlayer())==null||t.resumeBuffering()}pauseBuffering(){var t;(t=this.getBufferingPlayer())==null||t.pauseBuffering()}destroy(){this.unregisterListeners(),this.stopLoad(),this.assetListLoader&&this.assetListLoader.destroy(),this.emptyPlayerQueue(),this.clearScheduleState(),this.schedule&&this.schedule.destroy(),this.media=this.detachedData=this.mediaSelection=this.requiredTracks=this.altSelection=this.manager=null,this.hls=this.HlsPlayerClass=this.schedule=this.log=null,this.assetListLoader=null,this.onPlay=this.onPause=this.onSeeking=this.onTimeupdate=null,this.onScheduleUpdate=null}onDestroying(){const t=this.primaryMedia||this.media;t&&this.removeMediaListeners(t)}removeMediaListeners(t){qo(t,"play",this.onPlay),qo(t,"pause",this.onPause),qo(t,"seeking",this.onSeeking),qo(t,"timeupdate",this.onTimeupdate)}onMediaAttaching(t,n){const o=this.media=n.media;iu(o,"seeking",this.onSeeking),iu(o,"timeupdate",this.onTimeupdate),iu(o,"play",this.onPlay),iu(o,"pause",this.onPause)}onMediaAttached(t,n){const o=this.effectivePlayingItem,m=this.detachedData;if(this.detachedData=null,o===null)this.checkStart();else if(!m){this.clearScheduleState();const E=this.findItemIndex(o);this.setSchedulePosition(E)}}clearScheduleState(){this.playingItem=this.bufferingItem=this.waitingItem=this.endedItem=this.playingAsset=this.endedAsset=this.bufferingAsset=null}onMediaDetaching(t,n){const o=!!n.transferMedia,m=this.media;if(this.media=null,!o&&(m&&this.removeMediaListeners(m),this.detachedData)){const E=this.getBufferingPlayer();E&&(this.playingAsset=this.endedAsset=this.bufferingAsset=this.bufferingItem=this.waitingItem=this.detachedData=null,E.detachMedia()),this.shouldPlay=!1}}get interstitialsManager(){if(!this.manager){if(!this.hls)return null;const t=this,n=()=>t.bufferingItem||t.waitingItem,o=ce=>ce&&t.getAssetPlayer(ce.identifier),m=(ce,xe,Te,De,tt)=>{if(ce){let at=ce[xe].start;const Bt=ce.event;if(Bt){if(xe==="playout"||Bt.timelineOccupancy!==Dl.Point){const dr=o(Te);(dr==null?void 0:dr.interstitial)===Bt&&(at+=dr.assetItem.startOffset+dr[tt])}}else{const dr=De==="bufferedPos"?C():t[De];at+=dr-ce.start}return at}return 0},E=(ce,xe)=>{if(ce!==0&&xe!=="primary"&&t.schedule.length){var Te;const De=t.schedule.findItemIndexAtTime(ce),tt=(Te=t.schedule.items)==null?void 0:Te[De];if(tt){const at=tt[xe].start-tt.start;return ce+at}}return ce},C=()=>{const ce=t.bufferedPos;return ce===Number.MAX_VALUE?U("primary"):Math.max(ce,0)},U=ce=>{var xe;return(xe=t.primaryDetails)!=null&&xe.live?t.primaryDetails.edge:t.schedule.durations[ce]},H=(ce,xe)=>{var Te,De;const tt=t.effectivePlayingItem;if(tt!=null&&(Te=tt.event)!=null&&Te.restrictions.skip)return;t.log(`seek to ${ce} "${xe}"`);const at=t.effectivePlayingItem,Bt=t.schedule.findItemIndexAtTime(ce,xe),dr=(De=t.schedule.items)==null?void 0:De[Bt],ar=t.getBufferingPlayer(),Zr=ar==null?void 0:ar.interstitial,Gr=Zr==null?void 0:Zr.appendInPlace,fn=at&&t.itemsMatch(at,dr);if(at&&(Gr||fn)){const on=o(t.playingAsset),_n=(on==null?void 0:on.media)||t.primaryMedia;if(_n){const Xr=xe==="primary"?_n.currentTime:m(at,xe,t.playingAsset,"timelinePos","currentTime"),Yn=ce-Xr,di=(Gr?Xr:_n.currentTime)+Yn;if(di>=0&&(!on||Gr||di<=on.duration)){_n.currentTime=di;return}}}if(dr){let on=ce;if(xe!=="primary"){const Xr=dr[xe].start,Yn=ce-Xr;on=dr.start+Yn}const _n=!t.isInterstitial(dr);if((!t.isInterstitial(at)||at.event.appendInPlace)&&(_n||dr.event.appendInPlace)){const Xr=t.media||(Gr?ar==null?void 0:ar.media:null);Xr&&(Xr.currentTime=on)}else if(at){const Xr=t.findItemIndex(at);if(Bt>Xr){const di=t.schedule.findJumpRestrictedIndex(Xr+1,Bt);if(di>Xr){t.setSchedulePosition(di);return}}let Yn=0;if(_n)t.timelinePos=on,t.checkBuffer();else{var Vr;const di=dr==null||(Vr=dr.event)==null?void 0:Vr.assetList;if(di){const os=ce-(dr[xe]||dr).start;for(let ya=di.length;ya--;){const Ji=di[ya];if(Ji.duration&&os>=Ji.startOffset&&os<Ji.startOffset+Ji.duration){Yn=ya;break}}}}t.setSchedulePosition(Bt,Yn)}}},$=()=>{const ce=t.effectivePlayingItem;if(t.isInterstitial(ce))return ce;const xe=n();return t.isInterstitial(xe)?xe:null},ae={get currentTime(){const ce=$(),xe=t.effectivePlayingItem;return xe&&xe===ce?m(xe,"playout",t.effectivePlayingAsset,"timelinePos","currentTime")-xe.playout.start:0},set currentTime(ce){const xe=$(),Te=t.effectivePlayingItem;Te&&Te===xe&&H(ce+Te.playout.start,"playout")},get duration(){const ce=$();return ce?ce.playout.end-ce.playout.start:0},get assetPlayers(){var ce;const xe=(ce=$())==null?void 0:ce.event.assetList;return xe?xe.map(Te=>t.getAssetPlayer(Te.identifier)):[]},get playingIndex(){var ce;const xe=(ce=$())==null?void 0:ce.event;return xe&&t.effectivePlayingAsset?xe.findAssetIndex(t.effectivePlayingAsset):-1},get scheduleItem(){return $()}};this.manager={get events(){var ce,xe;return((ce=t.schedule)==null||(xe=ce.events)==null?void 0:xe.slice(0))||[]},get schedule(){var ce,xe;return((ce=t.schedule)==null||(xe=ce.items)==null?void 0:xe.slice(0))||[]},get interstitialPlayer(){return $()?ae:null},get playerQueue(){return t.playerQueue.slice(0)},get bufferingAsset(){return t.bufferingAsset},get bufferingItem(){return n()},get bufferingIndex(){const ce=n();return t.findItemIndex(ce)},get playingAsset(){return t.effectivePlayingAsset},get playingItem(){return t.effectivePlayingItem},get playingIndex(){const ce=t.effectivePlayingItem;return t.findItemIndex(ce)},primary:{get bufferedEnd(){return C()},get currentTime(){const ce=t.timelinePos;return ce>0?ce:0},set currentTime(ce){H(ce,"primary")},get duration(){return U("primary")},get seekableStart(){var ce;return((ce=t.primaryDetails)==null?void 0:ce.fragmentStart)||0}},integrated:{get bufferedEnd(){return m(n(),"integrated",t.bufferingAsset,"bufferedPos","bufferedEnd")},get currentTime(){return m(t.effectivePlayingItem,"integrated",t.effectivePlayingAsset,"timelinePos","currentTime")},set currentTime(ce){H(ce,"integrated")},get duration(){return U("integrated")},get seekableStart(){var ce;return E(((ce=t.primaryDetails)==null?void 0:ce.fragmentStart)||0,"integrated")}},skip:()=>{const ce=t.effectivePlayingItem,xe=ce==null?void 0:ce.event;if(xe&&!xe.restrictions.skip){const Te=t.findItemIndex(ce);if(xe.appendInPlace){const De=ce.playout.start+ce.event.duration;H(De+.001,"playout")}else t.advanceAfterAssetEnded(xe,Te,1/0)}}}}return this.manager}get effectivePlayingItem(){return this.waitingItem||this.playingItem||this.endedItem}get effectivePlayingAsset(){return this.playingAsset||this.endedAsset}get playingLastItem(){var t;const n=this.playingItem,o=(t=this.schedule)==null?void 0:t.items;return!this.playbackStarted||!n||!o?!1:this.findItemIndex(n)===o.length-1}get playbackStarted(){return this.effectivePlayingItem!==null}get currentTime(){var t,n,o;if(this.mediaSelection===null)return;const m=this.waitingItem||this.playingItem;if(this.isInterstitial(m)&&!m.event.appendInPlace)return;let E=this.media;!E&&(t=this.bufferingItem)!=null&&(n=t.event)!=null&&n.appendInPlace&&(E=this.primaryMedia);const C=(o=E)==null?void 0:o.currentTime;if(!(C===void 0||!r(C)))return C}get primaryMedia(){var t;return this.media||((t=this.detachedData)==null?void 0:t.media)||null}isInterstitial(t){return!!(t!=null&&t.event)}retreiveMediaSource(t,n){const o=this.getAssetPlayer(t);o&&this.transferMediaFromPlayer(o,n)}transferMediaFromPlayer(t,n){const o=t.interstitial.appendInPlace,m=t.media;if(o&&m===this.primaryMedia){if(this.bufferingAsset=null,(!n||this.isInterstitial(n)&&!n.event.appendInPlace)&&n&&m){this.detachedData={media:m};return}const E=t.transferMedia();this.log(`transfer MediaSource from ${t} ${jn(E)}`),this.detachedData=E}else n&&m&&(this.shouldPlay||(this.shouldPlay=!m.paused))}transferMediaTo(t,n){var o,m;if(t.media===n)return;let E=null;const C=this.hls,U=t!==C,H=U&&t.interstitial.appendInPlace,$=(o=this.detachedData)==null?void 0:o.mediaSource;let ae;if(C.media)H&&(E=C.transferMedia(),this.detachedData=E),ae="Primary";else if($){const Te=this.getBufferingPlayer();Te?(E=Te.transferMedia(),ae=`${Te}`):ae="detached MediaSource"}else ae="detached media";if(!E){if($)E=this.detachedData,this.log(`using detachedData: MediaSource ${jn(E)}`);else if(!this.detachedData||C.media===n){const Te=this.playerQueue;Te.length>1&&Te.forEach(De=>{if(U&&De.interstitial.appendInPlace!==H){const tt=De.interstitial;this.clearInterstitial(De.interstitial,null),tt.appendInPlace=!1,tt.appendInPlace&&this.warn(`Could not change append strategy for queued assets ${tt}`)}}),this.hls.detachMedia(),this.detachedData={media:n}}}const ce=E&&"mediaSource"in E&&((m=E.mediaSource)==null?void 0:m.readyState)!=="closed",xe=ce&&E?E:n;if(this.log(`${ce?"transfering MediaSource":"attaching media"} to ${U?t:"Primary"} from ${ae}`),xe===E){const Te=U&&t.assetId===this.schedule.assetIdAtEnd;xe.overrides={duration:this.schedule.duration,endOfStream:!U||Te,cueRemoval:!U}}t.attachMedia(xe)}onInterstitialCueEnter(){this.onTimeupdate()}checkStart(){const t=this.schedule,n=t.events;if(!n||this.playbackDisabled||!this.media)return;this.bufferedPos===-1&&(this.bufferedPos=0);const o=this.timelinePos,m=this.effectivePlayingItem;if(o===-1){const E=this.hls.startPosition;if(this.timelinePos=E,n.length&&n[0].cue.pre){const C=t.findEventIndex(n[0].identifier);this.setSchedulePosition(C)}else if(E>=0||!this.primaryLive){const C=this.timelinePos=E>0?E:0,U=t.findItemIndexAtTime(C);this.setSchedulePosition(U)}}else if(m&&!this.playingItem){const E=t.findItemIndex(m);this.setSchedulePosition(E)}}advanceAfterAssetEnded(t,n,o){const m=o+1;if(!t.isAssetPastPlayoutLimit(m)&&!t.assetList[m].error)this.setSchedulePosition(n,m);else{const E=this.schedule.items;if(E){const C=n+1,U=E.length;if(C>=U){this.setSchedulePosition(-1);return}const H=t.resumeTime;this.timelinePos<H&&(this.timelinePos=H,this.checkBuffer()),this.setSchedulePosition(C)}}}setScheduleToAssetAtTime(t,n){const o=this.schedule,m=n.parentIdentifier,E=o.getEvent(m);if(E){const C=o.findEventIndex(m),U=o.findAssetIndex(E,t);this.setSchedulePosition(C,U)}}setSchedulePosition(t,n){const o=this.schedule.items;if(!o||this.playbackDisabled)return;this.log(`setSchedulePosition ${t}, ${n}`);const m=t>=0?o[t]:null,E=this.playingItem,C=this.playingLastItem;if(this.isInterstitial(E)){var U;const $=E.event,ae=this.playingAsset,ce=ae==null?void 0:ae.identifier,xe=ce?this.getAssetPlayer(ce):null;if(xe&&ce&&(!this.eventItemsMatch(E,m)||n!==void 0&&ce!==((U=$.assetList)==null?void 0:U[n].identifier))){var H;const Te=$.findAssetIndex(ae);this.log(`INTERSTITIAL_ASSET_ENDED ${Te+1}/${$.assetList.length} ${kl(ae)}`),this.endedAsset=ae,this.playingAsset=null,this.hls.trigger(s.INTERSTITIAL_ASSET_ENDED,{asset:ae,assetListIndex:Te,event:$,schedule:o.slice(0),scheduleIndex:t,player:xe}),this.retreiveMediaSource(ce,m),xe.media&&!((H=this.detachedData)!=null&&H.mediaSource)&&xe.detachMedia()}if(!this.eventItemsMatch(E,m)&&(this.endedItem=E,this.playingItem=null,this.log(`INTERSTITIAL_ENDED ${$} ${Fu(E)}`),$.hasPlayed=!0,this.hls.trigger(s.INTERSTITIAL_ENDED,{event:$,schedule:o.slice(0),scheduleIndex:t}),$.cue.once)){this.updateSchedule();const Te=this.schedule.items;if(m&&Te){const De=this.schedule.findItemIndex(m);this.advanceSchedule(De,Te,n,E,C)}return}}this.advanceSchedule(t,o,n,E,C)}advanceSchedule(t,n,o,m,E){const C=t>=0?n[t]:null,U=this.primaryMedia,H=this.playerQueue;if(H.length&&H.forEach($=>{const ae=$.interstitial,ce=this.schedule.findEventIndex(ae.identifier);(ce<t||ce>t+1)&&this.clearInterstitial(ae,C)}),this.isInterstitial(C)){this.timelinePos=Math.min(Math.max(this.timelinePos,C.start),C.end);const $=C.event;o===void 0&&(o=this.schedule.findAssetIndex($,this.timelinePos));const ae=this.waitingItem;this.assetsBuffered(C,U)||this.setBufferingItem(C);let ce=this.preloadAssets($,o);if(this.eventItemsMatch(C,ae||m)||(this.waitingItem=C,this.log(`INTERSTITIAL_STARTED ${Fu(C)} ${$.appendInPlace?"append in place":""}`),this.hls.trigger(s.INTERSTITIAL_STARTED,{event:$,schedule:n.slice(0),scheduleIndex:t})),!$.assetListLoaded){this.log(`Waiting for ASSET-LIST to complete loading ${$}`);return}if($.assetListLoader&&($.assetListLoader.destroy(),$.assetListLoader=void 0),!U){this.log(`Waiting for attachMedia to start Interstitial ${$}`);return}this.waitingItem=this.endedItem=null,this.playingItem=C;const xe=$.assetList[o];if(!xe){const Te=n[t+1],De=this.media;Te&&De&&!this.isInterstitial(Te)&&De.currentTime<Te.start&&(De.currentTime=this.timelinePos=Te.start),this.advanceAfterAssetEnded($,t,o||0);return}if(ce||(ce=this.getAssetPlayer(xe.identifier)),ce===null||ce.destroyed){const Te=$.assetList.length;this.warn(`asset ${o+1}/${Te} player destroyed ${$}`),ce=this.createAssetPlayer($,xe,o)}if(!this.eventItemsMatch(C,this.bufferingItem)&&$.appendInPlace&&this.isAssetBuffered(xe))return;this.startAssetPlayer(ce,o,n,t,U),this.shouldPlay&&gc(ce.media)}else C!==null?(this.resumePrimary(C,t,m),this.shouldPlay&&gc(this.hls.media)):E&&this.isInterstitial(m)&&(this.endedItem=null,this.playingItem=m,m.event.appendInPlace||this.attachPrimary(this.schedule.durations.primary,null))}get playbackDisabled(){return this.hls.config.enableInterstitialPlayback===!1}get primaryDetails(){var t,n;return(t=this.mediaSelection)==null||(n=t.main)==null?void 0:n.details}get primaryLive(){var t;return!!((t=this.primaryDetails)!=null&&t.live)}resumePrimary(t,n,o){var m;if(this.playingItem=t,this.playingAsset=this.endedAsset=null,this.waitingItem=this.endedItem=null,this.bufferedToItem(t),this.log(`resuming ${Fu(t)}`),!((m=this.detachedData)!=null&&m.mediaSource)){let C=this.timelinePos;(C<t.start||C>=t.end)&&(C=this.getPrimaryResumption(t,n),this.timelinePos=C),this.attachPrimary(C,t)}if(!o)return;const E=this.schedule.items;E&&(this.log(`resumed ${Fu(t)}`),this.hls.trigger(s.INTERSTITIALS_PRIMARY_RESUMED,{schedule:E.slice(0),scheduleIndex:n}),this.checkBuffer())}getPrimaryResumption(t,n){const o=t.start;if(this.primaryLive){const m=this.primaryDetails;if(n===0)return this.hls.startPosition;if(m&&(o<m.fragmentStart||o>m.edge))return this.hls.liveSyncPosition||-1}return o}isAssetBuffered(t){const n=this.getAssetPlayer(t.identifier);return n!=null&&n.hls?n.hls.bufferedToEnd:yi.bufferInfo(this.primaryMedia,this.timelinePos,0).end+1>=t.timelineStart+(t.duration||0)}attachPrimary(t,n,o){n?this.setBufferingItem(n):this.bufferingItem=this.playingItem,this.bufferingAsset=null;const m=this.primaryMedia;if(!m)return;const E=this.hls;E.media?this.checkBuffer():(this.transferMediaTo(E,m),o&&this.startLoadingPrimaryAt(t,o)),o||(this.timelinePos=t,this.startLoadingPrimaryAt(t,o))}startLoadingPrimaryAt(t,n){var o;const m=this.hls;!m.loadingEnabled||!m.media||Math.abs((((o=m.mainForwardBufferInfo)==null?void 0:o.start)||m.media.currentTime)-t)>.5?m.startLoad(t,n):m.bufferingEnabled||m.resumeBuffering()}onManifestLoading(){this.stopLoad(),this.schedule.reset(),this.emptyPlayerQueue(),this.clearScheduleState(),this.shouldPlay=!1,this.bufferedPos=this.timelinePos=-1,this.mediaSelection=this.altSelection=this.manager=this.requiredTracks=null,this.hls.off(s.BUFFER_CODECS,this.onBufferCodecs,this),this.hls.on(s.BUFFER_CODECS,this.onBufferCodecs,this)}onLevelUpdated(t,n){if(n.level===-1)return;const o=this.hls.levels[n.level],m=b(b({},this.mediaSelection||this.altSelection),{},{main:o});this.mediaSelection=m,this.schedule.parseInterstitialDateRanges(m,this.hls.config.interstitialAppendInPlace),!this.effectivePlayingItem&&this.schedule.items&&this.checkStart()}onAudioTrackUpdated(t,n){const o=this.hls.audioTracks[n.id],m=this.mediaSelection;if(!m){this.altSelection=b(b({},this.altSelection),{},{audio:o});return}const E=b(b({},m),{},{audio:o});this.mediaSelection=E}onSubtitleTrackUpdated(t,n){const o=this.hls.subtitleTracks[n.id],m=this.mediaSelection;if(!m){this.altSelection=b(b({},this.altSelection),{},{subtitles:o});return}const E=b(b({},m),{},{subtitles:o});this.mediaSelection=E}onAudioTrackSwitching(t,n){const o=mi(n);this.playerQueue.forEach(m=>m.hls.setAudioOption(n)||m.hls.setAudioOption(o))}onSubtitleTrackSwitch(t,n){const o=mi(n);this.playerQueue.forEach(m=>m.hls.setSubtitleOption(n)||n.id!==-1&&m.hls.setSubtitleOption(o))}onBufferCodecs(t,n){const o=n.tracks;o&&(this.requiredTracks=o)}onBufferAppended(t,n){this.checkBuffer()}onBufferFlushed(t,n){const o=this.playingItem;if(o&&!this.itemsMatch(o,this.bufferingItem)&&!this.isInterstitial(o)){const m=this.timelinePos;this.bufferedPos=m,this.checkBuffer()}}onBufferedToEnd(t){const n=this.schedule.events;if(this.bufferedPos<Number.MAX_VALUE&&n){for(let m=0;m<n.length;m++){const E=n[m];if(E.cue.post){var o;const C=this.schedule.findEventIndex(E.identifier),U=(o=this.schedule.items)==null?void 0:o[C];this.isInterstitial(U)&&this.eventItemsMatch(U,this.bufferingItem)&&this.bufferedToItem(U,0);break}}this.bufferedPos=Number.MAX_VALUE}}onMediaEnded(t){const n=this.playingItem;if(!this.playingLastItem&&n){const o=this.findItemIndex(n);this.setSchedulePosition(o+1)}else this.shouldPlay=!1}updateItem(t,n){const o=this.schedule.items;if(t&&o){const m=this.findItemIndex(t,n);return o[m]||null}return null}itemsMatch(t,n){return!!n&&(t===n||t.event&&n.event&&this.eventItemsMatch(t,n)||!t.event&&!n.event&&this.findItemIndex(t)===this.findItemIndex(n))}eventItemsMatch(t,n){var o;return!!n&&(t===n||t.event.identifier===((o=n.event)==null?void 0:o.identifier))}findItemIndex(t,n){return t?this.schedule.findItemIndex(t,n):-1}updateSchedule(){const t=this.mediaSelection;t&&this.schedule.updateSchedule(t,[])}checkBuffer(t){const n=this.schedule.items;if(!n)return;const o=yi.bufferInfo(this.primaryMedia,this.timelinePos,0);t&&(this.bufferedPos=this.timelinePos),t||(t=o.len<1),this.updateBufferedPos(o.end,n,t)}updateBufferedPos(t,n,o){const m=this.schedule,E=this.bufferingItem;if(this.bufferedPos>t)return;if(n.length===1&&this.itemsMatch(n[0],E)){this.bufferedPos=t;return}const C=this.playingItem,U=this.findItemIndex(C);let H=m.findItemIndexAtTime(t);if(this.bufferedPos<t){var $,ae;const ce=this.findItemIndex(E),xe=Math.min(ce+1,n.length-1),Te=n[xe];if((H===-1&&E&&t>=E.end||($=Te.event)!=null&&$.appendInPlace&&t+.01>=Te.start)&&(H=xe),xe-U>1&&(E==null||(ae=E.event)==null?void 0:ae.appendInPlace)===!1)return;if(this.bufferedPos=t,H>ce&&H>U)this.bufferedToItem(Te);else{const De=this.primaryDetails;this.primaryLive&&De&&t>De.edge-De.targetduration&&Te.start<De.edge+this.hls.config.interstitialLiveLookAhead&&this.isInterstitial(Te)&&this.preloadAssets(Te.event,0)}}else o&&C&&!this.itemsMatch(C,E)&&(H===U?this.bufferedToItem(C):H===U+1&&this.bufferedToItem(n[H]))}assetsBuffered(t,n){return t.event.assetList.length===0?!1:!t.event.assetList.some(m=>{const E=this.getAssetPlayer(m.identifier);return!(E!=null&&E.bufferedInPlaceToEnd(n))})}setBufferingItem(t){const n=this.bufferingItem,o=this.schedule;if(this.itemsMatch(t,n))this.bufferingItem!==t&&(this.bufferingItem=t);else{const{items:m,events:E}=o;if(!m||!E)return n;const C=this.isInterstitial(t),U=this.getBufferingPlayer();if(this.bufferingItem=t,this.bufferedPos=Math.max(t.start,Math.min(t.end,this.timelinePos)),!this.playbackDisabled){const H=U?U.remaining:n?n.end-this.timelinePos:0;this.log(`buffered to boundary ${Fu(t)}`+(n?` (${H.toFixed(2)} remaining)`:"")),C?t.event.assetList.forEach($=>{const ae=this.getAssetPlayer($.identifier);ae&&ae.resumeBuffering()}):(this.hls.resumeBuffering(),this.playerQueue.forEach($=>$.pauseBuffering()))}this.hls.trigger(s.INTERSTITIALS_BUFFERED_TO_BOUNDARY,{events:E.slice(0),schedule:m.slice(0),bufferingIndex:this.findItemIndex(t),playingIndex:this.findItemIndex(this.playingItem)})}return n}bufferedToItem(t,n=0){const o=this.setBufferingItem(t);if(!this.playbackDisabled){if(this.isInterstitial(t))this.bufferedToEvent(t,n);else if(o!==null){this.bufferingAsset=null;const m=this.detachedData;m?m.mediaSource?this.attachPrimary(t.start,t,!0):this.preloadPrimary(t):this.preloadPrimary(t)}}}preloadPrimary(t){const n=this.findItemIndex(t),o=this.getPrimaryResumption(t,n);this.startLoadingPrimaryAt(o)}bufferedToEvent(t,n){const o=t.event,m=o.assetList.length===0&&!o.assetListLoader,E=o.cue.once;if(m||!E){const C=this.preloadAssets(o,n);if(C!=null&&C.interstitial.appendInPlace){const U=o.assetList[n],H=this.primaryMedia;U&&H&&this.bufferAssetPlayer(C,H)}}}preloadAssets(t,n){const o=t.assetUrl,m=t.assetList.length,E=m===0&&!t.assetListLoader,C=t.cue.once;if(E){const H=t.timelineStart;if(t.appendInPlace){var U;const xe=this.playingItem;!this.isInterstitial(xe)&&(xe==null||(U=xe.nextEvent)==null?void 0:U.identifier)===t.identifier&&this.flushFrontBuffer(H+.25)}let $,ae=0;if(!this.playingItem&&this.primaryLive&&(ae=this.hls.startPosition,ae===-1&&(ae=this.hls.liveSyncPosition||0)),ae&&!(t.cue.pre||t.cue.post)){const xe=ae-H;xe>0&&($=Math.round(xe*1e3)/1e3)}if(this.log(`Load interstitial asset ${n+1}/${o?1:m} ${t}${$?` live-start: ${ae} start-offset: ${$}`:""}`),o)return this.createAsset(t,0,0,H,t.duration,o);const ce=this.assetListLoader.loadAssetList(t,$);ce&&(t.assetListLoader=ce)}else if(!C&&m){for(let H=n;H<m;H++){const $=t.assetList[H],ae=this.getAssetPlayerQueueIndex($.identifier);(ae===-1||this.playerQueue[ae].destroyed)&&!$.error&&this.createAssetPlayer(t,$,H)}return this.getAssetPlayer(t.assetList[n].identifier)}return null}flushFrontBuffer(t){const n=this.requiredTracks;if(!n)return;this.log(`Removing front buffer starting at ${t}`),Object.keys(n).forEach(m=>{this.hls.trigger(s.BUFFER_FLUSHING,{startOffset:t,endOffset:1/0,type:m})})}getAssetPlayerQueueIndex(t){const n=this.playerQueue;for(let o=0;o<n.length;o++)if(t===n[o].assetId)return o;return-1}getAssetPlayer(t){const n=this.getAssetPlayerQueueIndex(t);return this.playerQueue[n]||null}getBufferingPlayer(){const{playerQueue:t,primaryMedia:n}=this;if(n){for(let o=0;o<t.length;o++)if(t[o].media===n)return t[o]}return null}createAsset(t,n,o,m,E,C){const U={parentIdentifier:t.identifier,identifier:Xl(t,C,n),duration:E,startOffset:o,timelineStart:m,uri:C};return this.createAssetPlayer(t,U,n)}createAssetPlayer(t,n,o){this.log(`create HLSAssetPlayer for ${kl(n)}`);const m=this.hls,E=m.userConfig;let C=E.videoPreference;const U=m.loadLevelObj||m.levels[m.currentLevel];(C||U)&&(C=y({},C),U.videoCodec&&(C.videoCodec=U.videoCodec),U.videoRange&&(C.allowedVideoRanges=[U.videoRange]));const H=m.audioTracks[m.audioTrack],$=m.subtitleTracks[m.subtitleTrack];let ae=0;if(this.primaryLive||t.appendInPlace){const ar=this.timelinePos-n.timelineStart;if(ar>1){const Zr=n.duration;Zr&&ar<Zr&&(ae=ar)}}const ce=n.identifier,xe=b(b({},E),{},{autoStartLoad:!0,startFragPrefetch:!0,primarySessionId:m.sessionId,assetPlayerId:ce,abrEwmaDefaultEstimate:m.bandwidthEstimate,interstitialsController:void 0,startPosition:ae,liveDurationInfinity:!1,testBandwidth:!1,videoPreference:C,audioPreference:H||E.audioPreference,subtitlePreference:$||E.subtitlePreference});t.appendInPlace&&(t.appendInPlaceStarted=!0,n.timelineStart&&(xe.timelineOffset=n.timelineStart));const Te=xe.cmcd;Te!=null&&Te.sessionId&&Te.contentId&&(xe.cmcd=y({},Te,{contentId:oo(n.uri)})),this.getAssetPlayer(ce)&&this.warn(`Duplicate date range identifier ${t} and asset ${ce}`);const De=new ql(this.HlsPlayerClass,xe,t,n);this.playerQueue.push(De),t.assetList[o]=n;const tt=ar=>{if(ar.live){const fn=new Error(`Interstitials MUST be VOD assets ${t}`),Vr={fatal:!0,type:c.OTHER_ERROR,details:f.INTERSTITIAL_ASSET_ITEM_ERROR,error:fn};this.handleAssetItemError(Vr,t,this.schedule.findEventIndex(t.identifier),o,fn.message);return}const Zr=ar.edge-ar.fragmentStart,Gr=n.duration;(Gr===null||Zr>Gr)&&(this.log(`Interstitial asset "${ce}" duration change ${Gr} > ${Zr}`),n.duration=Zr,this.updateSchedule())};De.on(s.LEVEL_UPDATED,(ar,{details:Zr})=>tt(Zr)),De.on(s.LEVEL_PTS_UPDATED,(ar,{details:Zr})=>tt(Zr));const at=(ar,Zr)=>{const Gr=this.getAssetPlayer(ce);if(Gr&&Zr.tracks){Gr.off(s.BUFFER_CODECS,at),Gr.tracks=Zr.tracks;const fn=this.primaryMedia;this.bufferingAsset===Gr.assetItem&&fn&&!Gr.media&&this.bufferAssetPlayer(Gr,fn)}};De.on(s.BUFFER_CODECS,at);const Bt=()=>{var ar;const Zr=this.getAssetPlayer(ce);if(this.log(`buffered to end of asset ${Zr}`),!Zr)return;const Gr=this.schedule.findEventIndex(t.identifier),fn=t.findAssetIndex(n),Vr=fn+1,on=(ar=this.schedule.items)==null?void 0:ar[Gr];if(this.isInterstitial(on))if(fn!==-1&&!t.isAssetPastPlayoutLimit(Vr)&&!t.assetList[Vr].error)this.bufferedToItem(on,Vr);else{var _n;const Xr=(_n=this.schedule.items)==null?void 0:_n[Gr+1];Xr&&this.bufferedToItem(Xr)}};De.on(s.BUFFERED_TO_END,Bt);const dr=ar=>()=>{if(!this.getAssetPlayer(ce))return;this.shouldPlay=!0;const Gr=this.schedule.findEventIndex(t.identifier);this.advanceAfterAssetEnded(t,Gr,ar)};return De.once(s.MEDIA_ENDED,dr(o)),De.once(s.PLAYOUT_LIMIT_REACHED,dr(1/0)),De.on(s.ERROR,(ar,Zr)=>{const Gr=this.getAssetPlayer(ce);if(Zr.details===f.BUFFER_STALLED_ERROR){if(Gr!=null&&Gr.media){const fn=Gr.currentTime,Vr=Gr.duration-fn;fn&&t.appendInPlace&&Vr/Gr.media.playbackRate<.5?(this.log(`Advancing buffer past end of asset ${ce} ${t} at ${Gr.media.currentTime}`),Bt()):(this.warn(`Stalled at ${fn} of ${fn+Vr} in asset ${ce} ${t}`),this.onTimeupdate(),this.checkBuffer(!0))}return}this.handleAssetItemError(Zr,t,this.schedule.findEventIndex(t.identifier),o,`Asset player error ${Zr.error} ${t}`)}),De.on(s.DESTROYING,()=>{if(!this.getAssetPlayer(ce))return;const Zr=new Error(`Asset player destroyed unexpectedly ${ce}`),Gr={fatal:!0,type:c.OTHER_ERROR,details:f.INTERSTITIAL_ASSET_ITEM_ERROR,error:Zr};this.handleAssetItemError(Gr,t,this.schedule.findEventIndex(t.identifier),o,Zr.message)}),this.hls.trigger(s.INTERSTITIAL_ASSET_PLAYER_CREATED,{asset:n,assetListIndex:o,event:t,player:De}),De}clearInterstitial(t,n){t.assetList.forEach(o=>{this.clearAssetPlayer(o.identifier,n)}),t.reset()}clearAssetPlayer(t,n){const o=this.getAssetPlayerQueueIndex(t);if(o!==-1){this.log(`clearAssetPlayer "${t}" toSegment: ${n&&Fu(n)}`);const m=this.playerQueue[o];this.transferMediaFromPlayer(m,n),this.playerQueue.splice(o,1),m.destroy()}}emptyPlayerQueue(){let t;for(;t=this.playerQueue.pop();)t.destroy();this.playerQueue=[]}startAssetPlayer(t,n,o,m,E){const{interstitial:C,assetItem:U,assetId:H}=t,$=C.assetList.length,ae=this.playingAsset;this.endedAsset=null,this.playingAsset=U,(!ae||ae.identifier!==H)&&(ae&&(this.clearAssetPlayer(ae.identifier,o[m]),delete ae.error),this.log(`INTERSTITIAL_ASSET_STARTED ${n+1}/${$} ${t}`),this.hls.trigger(s.INTERSTITIAL_ASSET_STARTED,{asset:U,assetListIndex:n,event:C,schedule:o.slice(0),scheduleIndex:m,player:t})),this.bufferAssetPlayer(t,E)}bufferAssetPlayer(t,n){var o,m;const{interstitial:E,assetItem:C,assetId:U}=t,H=this.schedule.findEventIndex(E.identifier),$=(o=this.schedule.items)==null?void 0:o[H];if(!$)return;this.setBufferingItem($),this.bufferingAsset=C;const ae=this.getBufferingPlayer();if(ae===t)return;const ce=E.appendInPlace;if(ce&&(ae==null?void 0:ae.interstitial.appendInPlace)===!1)return;const xe=(ae==null?void 0:ae.tracks)||((m=this.detachedData)==null?void 0:m.tracks)||this.requiredTracks;if(ce&&C!==this.playingAsset){if(!t.tracks)return;if(xe&&!ue(xe,t.tracks)){const Te=new Error(`Asset "${U}" SourceBuffer tracks ('${Object.keys(t.tracks)}') are not compatible with primary content tracks ('${Object.keys(xe)}')`),De={fatal:!0,type:c.OTHER_ERROR,details:f.INTERSTITIAL_ASSET_ITEM_ERROR,error:Te},tt=E.findAssetIndex(C);this.handleAssetItemError(De,E,H,tt,Te.message);return}}this.transferMediaTo(t,n)}handleAssetItemError(t,n,o,m,E){if(t.details===f.BUFFER_STALLED_ERROR)return;const C=n.assetList[m]||null;let U=null;if(C){const ce=this.getAssetPlayerQueueIndex(C.identifier);U=this.playerQueue[ce]||null}const H=this.schedule.items,$=y({},t,{fatal:!1,errorAction:Dr(!0),asset:C,assetListIndex:m,event:n,schedule:H,scheduleIndex:o,player:U});if(this.warn(`Asset item error: ${t.error}`),this.hls.trigger(s.INTERSTITIAL_ASSET_ERROR,$),!t.fatal)return;const ae=new Error(E);C&&(this.playingAsset!==C&&this.clearAssetPlayer(C.identifier,null),C.error=ae),n.assetList.some(ce=>!ce.error)?n.appendInPlace&&(n.error=ae):n.error=ae,this.primaryFallback(n)}primaryFallback(t){const n=t.timelineStart,o=this.effectivePlayingItem;if(this.updateSchedule(),o){this.log(`Fallback to primary from event "${t.identifier}" start: ${n} pos: ${this.timelinePos} playing: ${o?Fu(o):"<none>"} error: ${t.error}`),t.appendInPlace&&(this.attachPrimary(n,null),this.flushFrontBuffer(n));let m=this.timelinePos;m===-1&&(m=this.hls.startPosition);const E=this.updateItem(o,m);if(this.itemsMatch(o,E))this.clearInterstitial(t,null);else{const C=this.schedule.findItemIndexAtTime(m);this.setSchedulePosition(C)}}else this.checkStart()}onAssetListLoaded(t,n){var o;const m=n.event,E=m.identifier,C=n.assetListResponse.ASSETS;if(!this.schedule.hasEvent(E))return;const U=m.timelineStart,H=m.duration;let $=0;C.forEach((De,tt)=>{const at=parseFloat(De.DURATION);this.createAsset(m,tt,$,U+$,at,De.URI),$+=at}),m.duration=$,this.log(`Loaded asset-list with duration: ${$} (was: ${H}) ${m}`);const ae=this.waitingItem,ce=(ae==null?void 0:ae.event.identifier)===E;this.updateSchedule();const xe=(o=this.bufferingItem)==null?void 0:o.event;if(ce){var Te;const De=this.schedule.findEventIndex(E),tt=(Te=this.schedule.items)==null?void 0:Te[De];if(tt){if(!this.playingItem&&this.timelinePos>tt.end&&this.schedule.findItemIndexAtTime(this.timelinePos)!==De){m.error=new Error(`Interstitial no longer within playback range ${this.timelinePos} ${m}`),this.primaryFallback(m);return}this.setBufferingItem(tt)}this.setSchedulePosition(De)}else if((xe==null?void 0:xe.identifier)===E&&xe.appendInPlace){const De=m.assetList[0],tt=this.getAssetPlayer(De.identifier),at=this.primaryMedia;De&&tt&&at&&this.bufferAssetPlayer(tt,at)}}onError(t,n){switch(n.details){case f.ASSET_LIST_PARSING_ERROR:case f.ASSET_LIST_LOAD_ERROR:case f.ASSET_LIST_LOAD_TIMEOUT:{const o=n.interstitial;o&&this.primaryFallback(o);break}case f.BUFFER_STALLED_ERROR:{this.onTimeupdate(),this.checkBuffer(!0);break}}}}const Oc=500;class I extends na{constructor(t,n,o){super(t,n,o,"subtitle-stream-controller",u.SUBTITLE),this.currentTrackId=-1,this.tracksBuffered=[],this.mainDetails=null,this.registerListeners()}onHandlerDestroying(){this.unregisterListeners(),super.onHandlerDestroying(),this.mainDetails=null}registerListeners(){super.registerListeners();const{hls:t}=this;t.on(s.LEVEL_LOADED,this.onLevelLoaded,this),t.on(s.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),t.on(s.SUBTITLE_TRACK_SWITCH,this.onSubtitleTrackSwitch,this),t.on(s.SUBTITLE_TRACK_LOADED,this.onSubtitleTrackLoaded,this),t.on(s.SUBTITLE_FRAG_PROCESSED,this.onSubtitleFragProcessed,this),t.on(s.BUFFER_FLUSHING,this.onBufferFlushing,this)}unregisterListeners(){super.unregisterListeners();const{hls:t}=this;t.off(s.LEVEL_LOADED,this.onLevelLoaded,this),t.off(s.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),t.off(s.SUBTITLE_TRACK_SWITCH,this.onSubtitleTrackSwitch,this),t.off(s.SUBTITLE_TRACK_LOADED,this.onSubtitleTrackLoaded,this),t.off(s.SUBTITLE_FRAG_PROCESSED,this.onSubtitleFragProcessed,this),t.off(s.BUFFER_FLUSHING,this.onBufferFlushing,this)}startLoad(t,n){this.stopLoad(),this.state=zr.IDLE,this.setInterval(Oc),this.nextLoadPosition=this.lastCurrentTime=t+this.timelineOffset,this.startPosition=n?-1:t,this.tick()}onManifestLoading(){super.onManifestLoading(),this.mainDetails=null}onMediaDetaching(t,n){this.tracksBuffered=[],super.onMediaDetaching(t,n)}onLevelLoaded(t,n){this.mainDetails=n.details}onSubtitleFragProcessed(t,n){const{frag:o,success:m}=n;if(_e(o)&&(this.fragPrevious=o),this.state=zr.IDLE,!m)return;const E=this.tracksBuffered[this.currentTrackId];if(!E)return;let C;const U=o.start;for(let $=0;$<E.length;$++)if(U>=E[$].start&&U<=E[$].end){C=E[$];break}const H=o.start+o.duration;C?C.end=H:(C={start:U,end:H},E.push(C)),this.fragmentTracker.fragBuffered(o),this.fragBufferedComplete(o,null),this.media&&this.tick()}onBufferFlushing(t,n){const{startOffset:o,endOffset:m}=n;if(o===0&&m!==Number.POSITIVE_INFINITY){const E=m-1;if(E<=0)return;n.endOffsetSubtitles=Math.max(0,E),this.tracksBuffered.forEach(C=>{for(let U=0;U<C.length;){if(C[U].end<=E){C.shift();continue}else if(C[U].start<E)C[U].start=E;else break;U++}}),this.fragmentTracker.removeFragmentsInRange(o,E,u.SUBTITLE)}}onError(t,n){const o=n.frag;(o==null?void 0:o.type)===u.SUBTITLE&&(n.details===f.FRAG_GAP&&this.fragmentTracker.fragBuffered(o,!0),this.fragCurrent&&this.fragCurrent.abortRequests(),this.state!==zr.STOPPED&&(this.state=zr.IDLE))}onSubtitleTracksUpdated(t,{subtitleTracks:n}){if(this.levels&&oc(this.levels,n)){this.levels=n.map(o=>new mr(o));return}this.tracksBuffered=[],this.levels=n.map(o=>{const m=new mr(o);return this.tracksBuffered[m.id]=[],m}),this.fragmentTracker.removeFragmentsInRange(0,Number.POSITIVE_INFINITY,u.SUBTITLE),this.fragPrevious=null,this.mediaBuffer=null}onSubtitleTrackSwitch(t,n){var o;if(this.currentTrackId=n.id,!((o=this.levels)!=null&&o.length)||this.currentTrackId===-1){this.clearInterval();return}const m=this.levels[this.currentTrackId];m!=null&&m.details?this.mediaBuffer=this.mediaBufferTimeRanges:this.mediaBuffer=null,m&&this.state!==zr.STOPPED&&this.setInterval(Oc)}onSubtitleTrackLoaded(t,n){var o;const{currentTrackId:m,levels:E}=this,{details:C,id:U}=n;if(!E){this.warn(`Subtitle tracks were reset while loading level ${U}`);return}const H=E[U];if(U>=E.length||!H)return;this.log(`Subtitle track ${U} loaded [${C.startSN},${C.endSN}]${C.lastPartSn?`[part-${C.lastPartSn}-${C.lastPartIndex}]`:""},duration:${C.totalduration}`),this.mediaBuffer=this.mediaBufferTimeRanges;let $=0;if(C.live||(o=H.details)!=null&&o.live){const ce=this.mainDetails;if(C.deltaUpdateFailed||!ce)return;const xe=ce.fragments[0];if(!H.details)C.hasProgramDateTime&&ce.hasProgramDateTime?(Li(C,ce),$=C.fragmentStart):xe&&($=xe.start,Gn(C,$));else{var ae;$=this.alignPlaylists(C,H.details,(ae=this.levelLastLoaded)==null?void 0:ae.details),$===0&&xe&&($=xe.start,Gn(C,$))}}H.details=C,this.levelLastLoaded=H,U===m&&(this.hls.trigger(s.SUBTITLE_TRACK_UPDATED,{details:C,id:U,groupId:n.groupId}),this.tick(),C.live&&!this.fragCurrent&&this.media&&this.state===zr.IDLE&&(En(null,C.fragments,this.media.currentTime,0)||(this.warn("Subtitle playlist not aligned with playback"),H.details=void 0)))}_handleFragmentLoadComplete(t){const{frag:n,payload:o}=t,m=n.decryptdata,E=this.hls;if(!this.fragContextChanged(n)&&o&&o.byteLength>0&&m!=null&&m.key&&m.iv&&Ia(m.method)){const C=performance.now();this.decrypter.decrypt(new Uint8Array(o),m.key.buffer,m.iv.buffer,Da(m.method)).catch(U=>{throw E.trigger(s.ERROR,{type:c.MEDIA_ERROR,details:f.FRAG_DECRYPT_ERROR,fatal:!1,error:U,reason:U.message,frag:n}),U}).then(U=>{const H=performance.now();E.trigger(s.FRAG_DECRYPTED,{frag:n,payload:U,stats:{tstart:C,tdecrypt:H}})}).catch(U=>{this.warn(`${U.name}: ${U.message}`),this.state=zr.IDLE})}}doTick(){if(!this.media){this.state=zr.IDLE;return}if(this.state===zr.IDLE){const{currentTrackId:t,levels:n}=this,o=n==null?void 0:n[t];if(!o||!n.length||!o.details||this.waitForLive(o))return;const{config:m}=this,E=this.getLoadPosition(),C=yi.bufferedInfo(this.tracksBuffered[this.currentTrackId]||[],E,m.maxBufferHole),{end:U,len:H}=C,$=o.details,ae=this.hls.maxBufferLength+$.levelTargetDuration;if(H>ae)return;const ce=$.fragments,xe=ce.length,Te=$.edge;let De=null;const tt=this.fragPrevious;if(U<Te){const dr=m.maxFragLookUpTolerance,ar=U>Te-dr?0:dr;De=En(tt,ce,Math.max(ce[0].start,U),ar),!De&&tt&&tt.start<ce[0].start&&(De=ce[0])}else De=ce[xe-1];if(De=this.filterReplacedPrimary(De,o.details),!De)return;const at=De.sn-$.startSN,Bt=ce[at-1];if(Bt&&Bt.cc===De.cc&&this.fragmentTracker.getState(Bt)===Er.NOT_LOADED&&(De=Bt),this.fragmentTracker.getState(De)===Er.NOT_LOADED){const dr=this.mapToInitFragWhenRequired(De);dr&&this.loadFragment(dr,o,U)}}}loadFragment(t,n,o){_e(t)?super.loadFragment(t,n,o):this._loadInitSegment(t,n)}get mediaBufferTimeRanges(){return new O(this.tracksBuffered[this.currentTrackId]||[])}}class O{constructor(t){this.buffered=void 0;const n=(o,m,E)=>{if(m=m>>>0,m>E-1)throw new DOMException(`Failed to execute '${o}' on 'TimeRanges': The index provided (${m}) is greater than the maximum bound (${E})`);return t[m][o]};this.buffered={get length(){return t.length},end(o){return n("end",o,t.length)},start(o){return n("start",o,t.length)}}}}const k={42:225,92:233,94:237,95:243,96:250,123:231,124:247,125:209,126:241,127:9608,128:174,129:176,130:189,131:191,132:8482,133:162,134:163,135:9834,136:224,137:32,138:232,139:226,140:234,141:238,142:244,143:251,144:193,145:201,146:211,147:218,148:220,149:252,150:8216,151:161,152:42,153:8217,154:9473,155:169,156:8480,157:8226,158:8220,159:8221,160:192,161:194,162:199,163:200,164:202,165:203,166:235,167:206,168:207,169:239,170:212,171:217,172:249,173:219,174:171,175:187,176:195,177:227,178:205,179:204,180:236,181:210,182:242,183:213,184:245,185:123,186:125,187:92,188:94,189:95,190:124,191:8764,192:196,193:228,194:214,195:246,196:223,197:165,198:164,199:9475,200:197,201:229,202:216,203:248,204:9487,205:9491,206:9495,207:9499},me=P=>String.fromCharCode(k[P]||P),ke=15,en=100,$n={17:1,18:3,21:5,22:7,23:9,16:11,19:12,20:14},dn={17:2,18:4,21:6,22:8,23:10,19:13,20:15},Di={25:1,26:3,29:5,30:7,31:9,24:11,27:12,28:14},Ha={25:2,26:4,29:6,30:8,31:10,27:13,28:15},Oa=["white","green","blue","cyan","red","yellow","magenta","black","transparent"];class Ao{constructor(){this.time=null,this.verboseLevel=0}log(t,n){if(this.verboseLevel>=t){const o=typeof n=="function"?n():n;Y.log(`${this.time} [${t}] ${o}`)}}}const Ma=function(t){const n=[];for(let o=0;o<t.length;o++)n.push(t[o].toString(16));return n};class io{constructor(){this.foreground="white",this.underline=!1,this.italics=!1,this.background="black",this.flash=!1}reset(){this.foreground="white",this.underline=!1,this.italics=!1,this.background="black",this.flash=!1}setStyles(t){const n=["foreground","underline","italics","background","flash"];for(let o=0;o<n.length;o++){const m=n[o];t.hasOwnProperty(m)&&(this[m]=t[m])}}isDefault(){return this.foreground==="white"&&!this.underline&&!this.italics&&this.background==="black"&&!this.flash}equals(t){return this.foreground===t.foreground&&this.underline===t.underline&&this.italics===t.italics&&this.background===t.background&&this.flash===t.flash}copy(t){this.foreground=t.foreground,this.underline=t.underline,this.italics=t.italics,this.background=t.background,this.flash=t.flash}toString(){return"color="+this.foreground+", underline="+this.underline+", italics="+this.italics+", background="+this.background+", flash="+this.flash}}class ys{constructor(){this.uchar=" ",this.penState=new io}reset(){this.uchar=" ",this.penState.reset()}setChar(t,n){this.uchar=t,this.penState.copy(n)}setPenState(t){this.penState.copy(t)}equals(t){return this.uchar===t.uchar&&this.penState.equals(t.penState)}copy(t){this.uchar=t.uchar,this.penState.copy(t.penState)}isEmpty(){return this.uchar===" "&&this.penState.isDefault()}}class kc{constructor(t){this.chars=[],this.pos=0,this.currPenState=new io,this.cueStartTime=null,this.logger=void 0;for(let n=0;n<en;n++)this.chars.push(new ys);this.logger=t}equals(t){for(let n=0;n<en;n++)if(!this.chars[n].equals(t.chars[n]))return!1;return!0}copy(t){for(let n=0;n<en;n++)this.chars[n].copy(t.chars[n])}isEmpty(){let t=!0;for(let n=0;n<en;n++)if(!this.chars[n].isEmpty()){t=!1;break}return t}setCursor(t){this.pos!==t&&(this.pos=t),this.pos<0?(this.logger.log(3,"Negative cursor position "+this.pos),this.pos=0):this.pos>en&&(this.logger.log(3,"Too large cursor position "+this.pos),this.pos=en)}moveCursor(t){const n=this.pos+t;if(t>1)for(let o=this.pos+1;o<n+1;o++)this.chars[o].setPenState(this.currPenState);this.setCursor(n)}backSpace(){this.moveCursor(-1),this.chars[this.pos].setChar(" ",this.currPenState)}insertChar(t){t>=144&&this.backSpace();const n=me(t);if(this.pos>=en){this.logger.log(0,()=>"Cannot insert "+t.toString(16)+" ("+n+") at position "+this.pos+". Skipping it!");return}this.chars[this.pos].setChar(n,this.currPenState),this.moveCursor(1)}clearFromPos(t){let n;for(n=t;n<en;n++)this.chars[n].reset()}clear(){this.clearFromPos(0),this.pos=0,this.currPenState.reset()}clearToEndOfRow(){this.clearFromPos(this.pos)}getTextString(){const t=[];let n=!0;for(let o=0;o<en;o++){const m=this.chars[o].uchar;m!==" "&&(n=!1),t.push(m)}return n?"":t.join("")}setPenStyles(t){this.currPenState.setStyles(t),this.chars[this.pos].setPenState(this.currPenState)}}class Jl{constructor(t){this.rows=[],this.currRow=ke-1,this.nrRollUpRows=null,this.lastOutputScreen=null,this.logger=void 0;for(let n=0;n<ke;n++)this.rows.push(new kc(t));this.logger=t}reset(){for(let t=0;t<ke;t++)this.rows[t].clear();this.currRow=ke-1}equals(t){let n=!0;for(let o=0;o<ke;o++)if(!this.rows[o].equals(t.rows[o])){n=!1;break}return n}copy(t){for(let n=0;n<ke;n++)this.rows[n].copy(t.rows[n])}isEmpty(){let t=!0;for(let n=0;n<ke;n++)if(!this.rows[n].isEmpty()){t=!1;break}return t}backSpace(){this.rows[this.currRow].backSpace()}clearToEndOfRow(){this.rows[this.currRow].clearToEndOfRow()}insertChar(t){this.rows[this.currRow].insertChar(t)}setPen(t){this.rows[this.currRow].setPenStyles(t)}moveCursor(t){this.rows[this.currRow].moveCursor(t)}setCursor(t){this.logger.log(2,"setCursor: "+t),this.rows[this.currRow].setCursor(t)}setPAC(t){this.logger.log(2,()=>"pacData = "+jn(t));let n=t.row-1;if(this.nrRollUpRows&&n<this.nrRollUpRows-1&&(n=this.nrRollUpRows-1),this.nrRollUpRows&&this.currRow!==n){for(let U=0;U<ke;U++)this.rows[U].clear();const E=this.currRow+1-this.nrRollUpRows,C=this.lastOutputScreen;if(C){const U=C.rows[E].cueStartTime,H=this.logger.time;if(U!==null&&H!==null&&U<H)for(let $=0;$<this.nrRollUpRows;$++)this.rows[n-this.nrRollUpRows+$+1].copy(C.rows[E+$])}}this.currRow=n;const o=this.rows[this.currRow];if(t.indent!==null){const E=t.indent,C=Math.max(E-1,0);o.setCursor(t.indent),t.color=o.chars[C].penState.foreground}const m={foreground:t.color,underline:t.underline,italics:t.italics,background:"black",flash:!1};this.setPen(m)}setBkgData(t){this.logger.log(2,()=>"bkgData = "+jn(t)),this.backSpace(),this.setPen(t),this.insertChar(32)}setRollUpRows(t){this.nrRollUpRows=t}rollUp(){if(this.nrRollUpRows===null){this.logger.log(3,"roll_up but nrRollUpRows not set yet");return}this.logger.log(1,()=>this.getDisplayText());const t=this.currRow+1-this.nrRollUpRows,n=this.rows.splice(t,1)[0];n.clear(),this.rows.splice(this.currRow,0,n),this.logger.log(2,"Rolling up")}getDisplayText(t){t=t||!1;const n=[];let o="",m=-1;for(let E=0;E<ke;E++){const C=this.rows[E].getTextString();C&&(m=E+1,t?n.push("Row "+m+": '"+C+"'"):n.push(C.trim()))}return n.length>0&&(t?o="["+n.join(" | ")+"]":o=n.join(`
`)),o}getTextAndFormat(){return this.rows}}class ec{constructor(t,n,o){this.chNr=void 0,this.outputFilter=void 0,this.mode=void 0,this.verbose=void 0,this.displayedMemory=void 0,this.nonDisplayedMemory=void 0,this.lastOutputScreen=void 0,this.currRollUpRow=void 0,this.writeScreen=void 0,this.cueStartTime=void 0,this.logger=void 0,this.chNr=t,this.outputFilter=n,this.mode=null,this.verbose=0,this.displayedMemory=new Jl(o),this.nonDisplayedMemory=new Jl(o),this.lastOutputScreen=new Jl(o),this.currRollUpRow=this.displayedMemory.rows[ke-1],this.writeScreen=this.displayedMemory,this.mode=null,this.cueStartTime=null,this.logger=o}reset(){this.mode=null,this.displayedMemory.reset(),this.nonDisplayedMemory.reset(),this.lastOutputScreen.reset(),this.outputFilter.reset(),this.currRollUpRow=this.displayedMemory.rows[ke-1],this.writeScreen=this.displayedMemory,this.mode=null,this.cueStartTime=null}getHandler(){return this.outputFilter}setHandler(t){this.outputFilter=t}setPAC(t){this.writeScreen.setPAC(t)}setBkgData(t){this.writeScreen.setBkgData(t)}setMode(t){t!==this.mode&&(this.mode=t,this.logger.log(2,()=>"MODE="+t),this.mode==="MODE_POP-ON"?this.writeScreen=this.nonDisplayedMemory:(this.writeScreen=this.displayedMemory,this.writeScreen.reset()),this.mode!=="MODE_ROLL-UP"&&(this.displayedMemory.nrRollUpRows=null,this.nonDisplayedMemory.nrRollUpRows=null),this.mode=t)}insertChars(t){for(let o=0;o<t.length;o++)this.writeScreen.insertChar(t[o]);const n=this.writeScreen===this.displayedMemory?"DISP":"NON_DISP";this.logger.log(2,()=>n+": "+this.writeScreen.getDisplayText(!0)),(this.mode==="MODE_PAINT-ON"||this.mode==="MODE_ROLL-UP")&&(this.logger.log(1,()=>"DISPLAYED: "+this.displayedMemory.getDisplayText(!0)),this.outputDataUpdate())}ccRCL(){this.logger.log(2,"RCL - Resume Caption Loading"),this.setMode("MODE_POP-ON")}ccBS(){this.logger.log(2,"BS - BackSpace"),this.mode!=="MODE_TEXT"&&(this.writeScreen.backSpace(),this.writeScreen===this.displayedMemory&&this.outputDataUpdate())}ccAOF(){}ccAON(){}ccDER(){this.logger.log(2,"DER- Delete to End of Row"),this.writeScreen.clearToEndOfRow(),this.outputDataUpdate()}ccRU(t){this.logger.log(2,"RU("+t+") - Roll Up"),this.writeScreen=this.displayedMemory,this.setMode("MODE_ROLL-UP"),this.writeScreen.setRollUpRows(t)}ccFON(){this.logger.log(2,"FON - Flash On"),this.writeScreen.setPen({flash:!0})}ccRDC(){this.logger.log(2,"RDC - Resume Direct Captioning"),this.setMode("MODE_PAINT-ON")}ccTR(){this.logger.log(2,"TR"),this.setMode("MODE_TEXT")}ccRTD(){this.logger.log(2,"RTD"),this.setMode("MODE_TEXT")}ccEDM(){this.logger.log(2,"EDM - Erase Displayed Memory"),this.displayedMemory.reset(),this.outputDataUpdate(!0)}ccCR(){this.logger.log(2,"CR - Carriage Return"),this.writeScreen.rollUp(),this.outputDataUpdate(!0)}ccENM(){this.logger.log(2,"ENM - Erase Non-displayed Memory"),this.nonDisplayedMemory.reset()}ccEOC(){if(this.logger.log(2,"EOC - End Of Caption"),this.mode==="MODE_POP-ON"){const t=this.displayedMemory;this.displayedMemory=this.nonDisplayedMemory,this.nonDisplayedMemory=t,this.writeScreen=this.nonDisplayedMemory,this.logger.log(1,()=>"DISP: "+this.displayedMemory.getDisplayText())}this.outputDataUpdate(!0)}ccTO(t){this.logger.log(2,"TO("+t+") - Tab Offset"),this.writeScreen.moveCursor(t)}ccMIDROW(t){const n={flash:!1};if(n.underline=t%2===1,n.italics=t>=46,n.italics)n.foreground="white";else{const o=Math.floor(t/2)-16,m=["white","green","blue","cyan","red","yellow","magenta"];n.foreground=m[o]}this.logger.log(2,"MIDROW: "+jn(n)),this.writeScreen.setPen(n)}outputDataUpdate(t=!1){const n=this.logger.time;n!==null&&this.outputFilter&&(this.cueStartTime===null&&!this.displayedMemory.isEmpty()?this.cueStartTime=n:this.displayedMemory.equals(this.lastOutputScreen)||(this.outputFilter.newCue(this.cueStartTime,n,this.lastOutputScreen),t&&this.outputFilter.dispatchCue&&this.outputFilter.dispatchCue(),this.cueStartTime=this.displayedMemory.isEmpty()?null:n),this.lastOutputScreen.copy(this.displayedMemory))}cueSplitAtTime(t){this.outputFilter&&(this.displayedMemory.isEmpty()||(this.outputFilter.newCue&&this.outputFilter.newCue(this.cueStartTime,t,this.displayedMemory),this.cueStartTime=t))}}class bc{constructor(t,n,o){this.channels=void 0,this.currentChannel=0,this.cmdHistory=tc(),this.logger=void 0;const m=this.logger=new Ao;this.channels=[null,new ec(t,n,m),new ec(t+1,o,m)]}getHandler(t){return this.channels[t].getHandler()}setHandler(t,n){this.channels[t].setHandler(n)}addData(t,n){this.logger.time=t;for(let o=0;o<n.length;o+=2){const m=n[o]&127,E=n[o+1]&127;let C=!1,U=null;if(m===0&&E===0)continue;this.logger.log(3,()=>"["+Ma([n[o],n[o+1]])+"] -> ("+Ma([m,E])+")");const H=this.cmdHistory;if(m>=16&&m<=31){if(Oi(m,E,H)){Nu(null,null,H),this.logger.log(3,()=>"Repeated command ("+Ma([m,E])+") is dropped");continue}Nu(m,E,this.cmdHistory),C=this.parseCmd(m,E),C||(C=this.parseMidrow(m,E)),C||(C=this.parsePAC(m,E)),C||(C=this.parseBackgroundAttributes(m,E))}else Nu(null,null,H);if(!C&&(U=this.parseChars(m,E),U)){const ae=this.currentChannel;ae&&ae>0?this.channels[ae].insertChars(U):this.logger.log(2,"No channel found yet. TEXT-MODE?")}!C&&!U&&this.logger.log(2,()=>"Couldn't parse cleaned data "+Ma([m,E])+" orig: "+Ma([n[o],n[o+1]]))}}parseCmd(t,n){const o=(t===20||t===28||t===21||t===29)&&n>=32&&n<=47,m=(t===23||t===31)&&n>=33&&n<=35;if(!(o||m))return!1;const E=t===20||t===21||t===23?1:2,C=this.channels[E];return t===20||t===21||t===28||t===29?n===32?C.ccRCL():n===33?C.ccBS():n===34?C.ccAOF():n===35?C.ccAON():n===36?C.ccDER():n===37?C.ccRU(2):n===38?C.ccRU(3):n===39?C.ccRU(4):n===40?C.ccFON():n===41?C.ccRDC():n===42?C.ccTR():n===43?C.ccRTD():n===44?C.ccEDM():n===45?C.ccCR():n===46?C.ccENM():n===47&&C.ccEOC():C.ccTO(n-32),this.currentChannel=E,!0}parseMidrow(t,n){let o=0;if((t===17||t===25)&&n>=32&&n<=47){if(t===17?o=1:o=2,o!==this.currentChannel)return this.logger.log(0,"Mismatch channel in midrow parsing"),!1;const m=this.channels[o];return m?(m.ccMIDROW(n),this.logger.log(3,()=>"MIDROW ("+Ma([t,n])+")"),!0):!1}return!1}parsePAC(t,n){let o;const m=(t>=17&&t<=23||t>=25&&t<=31)&&n>=64&&n<=127,E=(t===16||t===24)&&n>=64&&n<=95;if(!(m||E))return!1;const C=t<=23?1:2;n>=64&&n<=95?o=C===1?$n[t]:Di[t]:o=C===1?dn[t]:Ha[t];const U=this.channels[C];return U?(U.setPAC(this.interpretPAC(o,n)),this.currentChannel=C,!0):!1}interpretPAC(t,n){let o;const m={color:null,italics:!1,indent:null,underline:!1,row:t};return n>95?o=n-96:o=n-64,m.underline=(o&1)===1,o<=13?m.color=["white","green","blue","cyan","red","yellow","magenta","white"][Math.floor(o/2)]:o<=15?(m.italics=!0,m.color="white"):m.indent=Math.floor((o-16)/2)*4,m}parseChars(t,n){let o,m=null,E=null;if(t>=25?(o=2,E=t-8):(o=1,E=t),E>=17&&E<=19){let C;E===17?C=n+80:E===18?C=n+112:C=n+144,this.logger.log(2,()=>"Special char '"+me(C)+"' in channel "+o),m=[C]}else t>=32&&t<=127&&(m=n===0?[t]:[t,n]);return m&&this.logger.log(3,()=>"Char codes = "+Ma(m).join(",")),m}parseBackgroundAttributes(t,n){const o=(t===16||t===24)&&n>=32&&n<=47,m=(t===23||t===31)&&n>=45&&n<=47;if(!(o||m))return!1;let E;const C={};t===16||t===24?(E=Math.floor((n-32)/2),C.background=Oa[E],n%2===1&&(C.background=C.background+"_semi")):n===45?C.background="transparent":(C.foreground="black",n===47&&(C.underline=!0));const U=t<=23?1:2;return this.channels[U].setBkgData(C),!0}reset(){for(let t=0;t<Object.keys(this.channels).length;t++){const n=this.channels[t];n&&n.reset()}Nu(null,null,this.cmdHistory)}cueSplitAtTime(t){for(let n=0;n<this.channels.length;n++){const o=this.channels[n];o&&o.cueSplitAtTime(t)}}}function Nu(P,t,n){n.a=P,n.b=t}function Oi(P,t,n){return n.a===P&&n.b===t}function tc(){return{a:null,b:null}}var Rl=function(){if(uo!=null&&uo.VTTCue)return self.VTTCue;const P=["","lr","rl"],t=["start","middle","end","left","right"];function n(U,H){if(typeof H!="string"||!Array.isArray(U))return!1;const $=H.toLowerCase();return~U.indexOf($)?$:!1}function o(U){return n(P,U)}function m(U){return n(t,U)}function E(U,...H){let $=1;for(;$<arguments.length;$++){const ae=arguments[$];for(const ce in ae)U[ce]=ae[ce]}return U}function C(U,H,$){const ae=this,ce={enumerable:!0};ae.hasBeenReset=!1;let xe="",Te=!1,De=U,tt=H,at=$,Bt=null,dr="",ar=!0,Zr="auto",Gr="start",fn=50,Vr="middle",on=50,_n="middle";Object.defineProperty(ae,"id",E({},ce,{get:function(){return xe},set:function(Xr){xe=""+Xr}})),Object.defineProperty(ae,"pauseOnExit",E({},ce,{get:function(){return Te},set:function(Xr){Te=!!Xr}})),Object.defineProperty(ae,"startTime",E({},ce,{get:function(){return De},set:function(Xr){if(typeof Xr!="number")throw new TypeError("Start time must be set to a number.");De=Xr,this.hasBeenReset=!0}})),Object.defineProperty(ae,"endTime",E({},ce,{get:function(){return tt},set:function(Xr){if(typeof Xr!="number")throw new TypeError("End time must be set to a number.");tt=Xr,this.hasBeenReset=!0}})),Object.defineProperty(ae,"text",E({},ce,{get:function(){return at},set:function(Xr){at=""+Xr,this.hasBeenReset=!0}})),Object.defineProperty(ae,"region",E({},ce,{get:function(){return Bt},set:function(Xr){Bt=Xr,this.hasBeenReset=!0}})),Object.defineProperty(ae,"vertical",E({},ce,{get:function(){return dr},set:function(Xr){const Yn=o(Xr);if(Yn===!1)throw new SyntaxError("An invalid or illegal string was specified.");dr=Yn,this.hasBeenReset=!0}})),Object.defineProperty(ae,"snapToLines",E({},ce,{get:function(){return ar},set:function(Xr){ar=!!Xr,this.hasBeenReset=!0}})),Object.defineProperty(ae,"line",E({},ce,{get:function(){return Zr},set:function(Xr){if(typeof Xr!="number"&&Xr!=="auto")throw new SyntaxError("An invalid number or illegal string was specified.");Zr=Xr,this.hasBeenReset=!0}})),Object.defineProperty(ae,"lineAlign",E({},ce,{get:function(){return Gr},set:function(Xr){const Yn=m(Xr);if(!Yn)throw new SyntaxError("An invalid or illegal string was specified.");Gr=Yn,this.hasBeenReset=!0}})),Object.defineProperty(ae,"position",E({},ce,{get:function(){return fn},set:function(Xr){if(Xr<0||Xr>100)throw new Error("Position must be between 0 and 100.");fn=Xr,this.hasBeenReset=!0}})),Object.defineProperty(ae,"positionAlign",E({},ce,{get:function(){return Vr},set:function(Xr){const Yn=m(Xr);if(!Yn)throw new SyntaxError("An invalid or illegal string was specified.");Vr=Yn,this.hasBeenReset=!0}})),Object.defineProperty(ae,"size",E({},ce,{get:function(){return on},set:function(Xr){if(Xr<0||Xr>100)throw new Error("Size must be between 0 and 100.");on=Xr,this.hasBeenReset=!0}})),Object.defineProperty(ae,"align",E({},ce,{get:function(){return _n},set:function(Xr){const Yn=m(Xr);if(!Yn)throw new SyntaxError("An invalid or illegal string was specified.");_n=Yn,this.hasBeenReset=!0}})),ae.displayState=void 0}return C.prototype.getCueAsHTML=function(){return self.WebVTT.convertCueToDOMTree(self,this.text)},C}();class Ro{decode(t,n){if(!t)return"";if(typeof t!="string")throw new Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(t))}}function Ws(P){function t(o,m,E,C){return(o|0)*3600+(m|0)*60+(E|0)+parseFloat(C||0)}const n=P.match(/^(?:(\d+):)?(\d{2}):(\d{2})(\.\d+)?/);return n?parseFloat(n[2])>59?t(n[2],n[3],0,n[4]):t(n[1],n[2],n[3],n[4]):null}class Ja{constructor(){this.values=Object.create(null)}set(t,n){!this.get(t)&&n!==""&&(this.values[t]=n)}get(t,n,o){return o?this.has(t)?this.values[t]:n[o]:this.has(t)?this.values[t]:n}has(t){return t in this.values}alt(t,n,o){for(let m=0;m<o.length;++m)if(n===o[m]){this.set(t,n);break}}integer(t,n){/^-?\d+$/.test(n)&&this.set(t,parseInt(n,10))}percent(t,n){if(/^([\d]{1,3})(\.[\d]*)?%$/.test(n)){const o=parseFloat(n);if(o>=0&&o<=100)return this.set(t,o),!0}return!1}}function al(P,t,n,o){const m=o?P.split(o):[P];for(const E in m){if(typeof m[E]!="string")continue;const C=m[E].split(n);if(C.length!==2)continue;const U=C[0],H=C[1];t(U,H)}}const sl=new Rl(0,0,""),bl=sl.align==="middle"?"middle":"center";function xl(P,t,n){const o=P;function m(){const U=Ws(P);if(U===null)throw new Error("Malformed timestamp: "+o);return P=P.replace(/^[^\sa-zA-Z-]+/,""),U}function E(U,H){const $=new Ja;al(U,function(xe,Te){let De;switch(xe){case"region":for(let tt=n.length-1;tt>=0;tt--)if(n[tt].id===Te){$.set(xe,n[tt].region);break}break;case"vertical":$.alt(xe,Te,["rl","lr"]);break;case"line":De=Te.split(","),$.integer(xe,De[0]),$.percent(xe,De[0])&&$.set("snapToLines",!1),$.alt(xe,De[0],["auto"]),De.length===2&&$.alt("lineAlign",De[1],["start",bl,"end"]);break;case"position":De=Te.split(","),$.percent(xe,De[0]),De.length===2&&$.alt("positionAlign",De[1],["start",bl,"end","line-left","line-right","auto"]);break;case"size":$.percent(xe,Te);break;case"align":$.alt(xe,Te,["start",bl,"end","left","right"]);break}},/:/,/\s/),H.region=$.get("region",null),H.vertical=$.get("vertical","");let ae=$.get("line","auto");ae==="auto"&&sl.line===-1&&(ae=-1),H.line=ae,H.lineAlign=$.get("lineAlign","start"),H.snapToLines=$.get("snapToLines",!0),H.size=$.get("size",100),H.align=$.get("align",bl);let ce=$.get("position","auto");ce==="auto"&&sl.position===50&&(ce=H.align==="start"||H.align==="left"?0:H.align==="end"||H.align==="right"?100:50),H.position=ce}function C(){P=P.replace(/^\s+/,"")}if(C(),t.startTime=m(),C(),P.slice(0,3)!=="-->")throw new Error("Malformed time stamp (time stamps must be separated by '-->'): "+o);P=P.slice(3),C(),t.endTime=m(),C(),E(P,t)}function ol(P){return P.replace(/<br(?: \/)?>/gi,`
`)}class Xc{constructor(){this.state="INITIAL",this.buffer="",this.decoder=new Ro,this.regionList=[],this.cue=null,this.oncue=void 0,this.onparsingerror=void 0,this.onflush=void 0}parse(t){const n=this;t&&(n.buffer+=n.decoder.decode(t,{stream:!0}));function o(){let E=n.buffer,C=0;for(E=ol(E);C<E.length&&E[C]!=="\r"&&E[C]!==`
`;)++C;const U=E.slice(0,C);return E[C]==="\r"&&++C,E[C]===`
`&&++C,n.buffer=E.slice(C),U}function m(E){al(E,function(C,U){},/:/)}try{let E="";if(n.state==="INITIAL"){if(!/\r\n|\n/.test(n.buffer))return this;E=o();const U=E.match(/^()?WEBVTT([ \t].*)?$/);if(!(U!=null&&U[0]))throw new Error("Malformed WebVTT signature.");n.state="HEADER"}let C=!1;for(;n.buffer;){if(!/\r\n|\n/.test(n.buffer))return this;switch(C?C=!1:E=o(),n.state){case"HEADER":/:/.test(E)?m(E):E||(n.state="ID");continue;case"NOTE":E||(n.state="ID");continue;case"ID":if(/^NOTE($|[ \t])/.test(E)){n.state="NOTE";break}if(!E)continue;if(n.cue=new Rl(0,0,""),n.state="CUE",E.indexOf("-->")===-1){n.cue.id=E;continue}case"CUE":if(!n.cue){n.state="BADCUE";continue}try{xl(E,n.cue,n.regionList)}catch(U){n.cue=null,n.state="BADCUE";continue}n.state="CUETEXT";continue;case"CUETEXT":{const U=E.indexOf("-->")!==-1;if(!E||U&&(C=!0)){n.oncue&&n.cue&&n.oncue(n.cue),n.cue=null,n.state="ID";continue}if(n.cue===null)continue;n.cue.text&&(n.cue.text+=`
`),n.cue.text+=E}continue;case"BADCUE":E||(n.state="ID")}}}catch(E){n.state==="CUETEXT"&&n.cue&&n.oncue&&n.oncue(n.cue),n.cue=null,n.state=n.state==="INITIAL"?"BADWEBVTT":"BADCUE"}return this}flush(){const t=this;try{if((t.cue||t.state==="HEADER")&&(t.buffer+=`
`,t.parse()),t.state==="INITIAL"||t.state==="BADWEBVTT")throw new Error("Malformed WebVTT signature.")}catch(n){t.onparsingerror&&t.onparsingerror(n)}return t.onflush&&t.onflush(),this}}const Rc=/\r\n|\n\r|\n|\r/g,Vu=function(t,n,o=0){return t.slice(o,o+n.length)===n},Qc=function(t){let n=parseInt(t.slice(-3));const o=parseInt(t.slice(-6,-4)),m=parseInt(t.slice(-9,-7)),E=t.length>9?parseInt(t.substring(0,t.indexOf(":"))):0;if(!r(n)||!r(o)||!r(m)||!r(E))throw Error(`Malformed X-TIMESTAMP-MAP: Local:${t}`);return n+=1e3*o,n+=60*1e3*m,n+=60*60*1e3*E,n};function Ll(P,t,n){return oo(P.toString())+oo(t.toString())+oo(n)}const qc=function(t,n,o){let m=t[n],E=t[m.prevCC];if(!E||!E.new&&m.new){t.ccOffset=t.presentationOffset=m.start,m.new=!1;return}for(;(C=E)!=null&&C.new;){var C;t.ccOffset+=m.start-E.start,m.new=!1,m=E,E=t[m.prevCC]}t.presentationOffset=o};function hu(P,t,n,o,m,E,C){const U=new Xc,H=K(new Uint8Array(P)).trim().replace(Rc,`
`).split(`
`),$=[],ae=t?ws(t.baseTime,t.timescale):0;let ce="00:00.000",xe=0,Te=0,De,tt=!0;U.oncue=function(at){const Bt=n[o];let dr=n.ccOffset;const ar=(xe-ae)/9e4;if(Bt!=null&&Bt.new&&(Te!==void 0?dr=n.ccOffset=Bt.start:qc(n,o,ar)),ar){if(!t){De=new Error("Missing initPTS for VTT MPEGTS");return}dr=ar-n.presentationOffset}const Zr=at.endTime-at.startTime,Gr=za((at.startTime+dr-Te)*9e4,m*9e4)/9e4;at.startTime=Math.max(Gr,0),at.endTime=Math.max(Gr+Zr,0);const fn=at.text.trim();at.text=decodeURIComponent(encodeURIComponent(fn)),at.id||(at.id=Ll(at.startTime,at.endTime,fn)),at.endTime>0&&$.push(at)},U.onparsingerror=function(at){De=at},U.onflush=function(){if(De){C(De);return}E($)},H.forEach(at=>{if(tt)if(Vu(at,"X-TIMESTAMP-MAP=")){tt=!1,at.slice(16).split(",").forEach(Bt=>{Vu(Bt,"LOCAL:")?ce=Bt.slice(6):Vu(Bt,"MPEGTS:")&&(xe=parseInt(Bt.slice(7)))});try{Te=Qc(ce)/1e3}catch(Bt){De=Bt}return}else at===""&&(tt=!1);U.parse(at+`
`)}),U.flush()}const $u="stpp.ttml.im1t",El=/^(\d{2,}):(\d{2}):(\d{2}):(\d{2})\.?(\d+)?$/,rc=/^(\d*(?:\.\d*)?)(h|m|s|ms|f|t)$/,Cu={left:"start",center:"center",right:"end",start:"start",end:"end"};function nc(P,t,n,o){const m=yt(new Uint8Array(P),["mdat"]);if(m.length===0){o(new Error("Could not parse IMSC1 mdat"));return}const E=m.map(U=>K(U)),C=is(t.baseTime,1,t.timescale);try{E.forEach(U=>n(Ml(U,C)))}catch(U){o(U)}}function Ml(P,t){const m=new DOMParser().parseFromString(P,"text/xml").getElementsByTagName("tt")[0];if(!m)throw new Error("Invalid ttml");const E={frameRate:30,subFrameRate:1,frameRateMultiplier:0,tickRate:0},C=Object.keys(E).reduce((ce,xe)=>(ce[xe]=m.getAttribute(`ttp:${xe}`)||E[xe],ce),{}),U=m.getAttribute("xml:space")!=="preserve",H=Kn(Tn(m,"styling","style")),$=Kn(Tn(m,"layout","region")),ae=Tn(m,"body","[begin]");return[].map.call(ae,ce=>{const xe=Bi(ce,U);if(!xe||!ce.hasAttribute("begin"))return null;const Te=ha(ce.getAttribute("begin"),C),De=ha(ce.getAttribute("dur"),C);let tt=ha(ce.getAttribute("end"),C);if(Te===null)throw ua(ce);if(tt===null){if(De===null)throw ua(ce);tt=Te+De}const at=new Rl(Te-t,tt-t,xe);at.id=Ll(at.startTime,at.endTime,at.text);const Bt=$[ce.getAttribute("region")],dr=H[ce.getAttribute("style")],ar=Ea(Bt,dr,H),{textAlign:Zr}=ar;if(Zr){const Gr=Cu[Zr];Gr&&(at.lineAlign=Gr),at.align=Zr}return y(at,ar),at}).filter(ce=>ce!==null)}function Tn(P,t,n){const o=P.getElementsByTagName(t)[0];return o?[].slice.call(o.querySelectorAll(n)):[]}function Kn(P){return P.reduce((t,n)=>{const o=n.getAttribute("xml:id");return o&&(t[o]=n),t},{})}function Bi(P,t){return[].slice.call(P.childNodes).reduce((n,o,m)=>{var E;return o.nodeName==="br"&&m?n+`
`:(E=o.childNodes)!=null&&E.length?Bi(o,t):t?n+o.textContent.trim().replace(/\s+/g," "):n+o.textContent},"")}function Ea(P,t,n){const o="http://www.w3.org/ns/ttml#styling";let m=null;const E=["displayAlign","textAlign","color","backgroundColor","fontSize","fontFamily"],C=P!=null&&P.hasAttribute("style")?P.getAttribute("style"):null;return C&&n.hasOwnProperty(C)&&(m=n[C]),E.reduce((U,H)=>{const $=zi(t,o,H)||zi(P,o,H)||zi(m,o,H);return $&&(U[H]=$),U},{})}function zi(P,t,n){return P&&P.hasAttributeNS(t,n)?P.getAttributeNS(t,n):null}function ua(P){return new Error(`Could not parse ttml timestamp ${P}`)}function ha(P,t){if(!P)return null;let n=Ws(P);return n===null&&(El.test(P)?n=vs(P,t):rc.test(P)&&(n=Ki(P,t))),n}function vs(P,t){const n=El.exec(P),o=(n[4]|0)+(n[5]|0)/t.subFrameRate;return(n[1]|0)*3600+(n[2]|0)*60+(n[3]|0)+o/t.frameRate}function Ki(P,t){const n=rc.exec(P),o=Number(n[1]);switch(n[2]){case"h":return o*3600;case"m":return o*60;case"ms":return o*1e3;case"f":return o/t.frameRate;case"t":return o/t.tickRate}return o}class es{constructor(t,n){this.timelineController=void 0,this.cueRanges=[],this.trackName=void 0,this.startTime=null,this.endTime=null,this.screen=null,this.timelineController=t,this.trackName=n}dispatchCue(){this.startTime!==null&&(this.timelineController.addCues(this.trackName,this.startTime,this.endTime,this.screen,this.cueRanges),this.startTime=null)}newCue(t,n,o){(this.startTime===null||this.startTime>t)&&(this.startTime=t),this.endTime=n,this.screen=o,this.timelineController.createCaptionsTrack(this.trackName)}reset(){this.cueRanges=[],this.startTime=null}}class Ku{constructor(t){this.hls=void 0,this.media=null,this.config=void 0,this.enabled=!0,this.Cues=void 0,this.textTracks=[],this.tracks=[],this.initPTS=[],this.unparsedVttFrags=[],this.captionsTracks={},this.nonNativeCaptionsTracks={},this.cea608Parser1=void 0,this.cea608Parser2=void 0,this.lastCc=-1,this.lastSn=-1,this.lastPartIndex=-1,this.prevCC=-1,this.vttCCs=ll(),this.captionsProperties=void 0,this.hls=t,this.config=t.config,this.Cues=t.config.cueHandler,this.captionsProperties={textTrack1:{label:this.config.captionsTextTrack1Label,languageCode:this.config.captionsTextTrack1LanguageCode},textTrack2:{label:this.config.captionsTextTrack2Label,languageCode:this.config.captionsTextTrack2LanguageCode},textTrack3:{label:this.config.captionsTextTrack3Label,languageCode:this.config.captionsTextTrack3LanguageCode},textTrack4:{label:this.config.captionsTextTrack4Label,languageCode:this.config.captionsTextTrack4LanguageCode}},t.on(s.MEDIA_ATTACHING,this.onMediaAttaching,this),t.on(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(s.MANIFEST_LOADING,this.onManifestLoading,this),t.on(s.MANIFEST_LOADED,this.onManifestLoaded,this),t.on(s.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),t.on(s.FRAG_LOADING,this.onFragLoading,this),t.on(s.FRAG_LOADED,this.onFragLoaded,this),t.on(s.FRAG_PARSING_USERDATA,this.onFragParsingUserdata,this),t.on(s.FRAG_DECRYPTED,this.onFragDecrypted,this),t.on(s.INIT_PTS_FOUND,this.onInitPtsFound,this),t.on(s.SUBTITLE_TRACKS_CLEARED,this.onSubtitleTracksCleared,this),t.on(s.BUFFER_FLUSHING,this.onBufferFlushing,this)}destroy(){const{hls:t}=this;t.off(s.MEDIA_ATTACHING,this.onMediaAttaching,this),t.off(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(s.MANIFEST_LOADING,this.onManifestLoading,this),t.off(s.MANIFEST_LOADED,this.onManifestLoaded,this),t.off(s.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),t.off(s.FRAG_LOADING,this.onFragLoading,this),t.off(s.FRAG_LOADED,this.onFragLoaded,this),t.off(s.FRAG_PARSING_USERDATA,this.onFragParsingUserdata,this),t.off(s.FRAG_DECRYPTED,this.onFragDecrypted,this),t.off(s.INIT_PTS_FOUND,this.onInitPtsFound,this),t.off(s.SUBTITLE_TRACKS_CLEARED,this.onSubtitleTracksCleared,this),t.off(s.BUFFER_FLUSHING,this.onBufferFlushing,this),this.hls=this.config=this.media=null,this.cea608Parser1=this.cea608Parser2=void 0}initCea608Parsers(){const t=new es(this,"textTrack1"),n=new es(this,"textTrack2"),o=new es(this,"textTrack3"),m=new es(this,"textTrack4");this.cea608Parser1=new bc(1,t,n),this.cea608Parser2=new bc(3,o,m)}addCues(t,n,o,m,E){let C=!1;for(let U=E.length;U--;){const H=E[U],$=ul(H[0],H[1],n,o);if($>=0&&(H[0]=Math.min(H[0],n),H[1]=Math.max(H[1],o),C=!0,$/(o-n)>.5))return}if(C||E.push([n,o]),this.config.renderTextTracksNatively){const U=this.captionsTracks[t];this.Cues.newCue(U,n,o,m)}else{const U=this.Cues.newCue(null,n,o,m);this.hls.trigger(s.CUES_PARSED,{type:"captions",cues:U,track:t})}}onInitPtsFound(t,{frag:n,id:o,initPTS:m,timescale:E}){const{unparsedVttFrags:C}=this;o===u.MAIN&&(this.initPTS[n.cc]={baseTime:m,timescale:E}),C.length&&(this.unparsedVttFrags=[],C.forEach(U=>{this.onFragLoaded(s.FRAG_LOADED,U)}))}getExistingTrack(t,n){const{media:o}=this;if(o)for(let m=0;m<o.textTracks.length;m++){const E=o.textTracks[m];if(Yu(E,{name:t,lang:n,characteristics:"transcribes-spoken-dialog,describes-music-and-sound"}))return E}return null}createCaptionsTrack(t){this.config.renderTextTracksNatively?this.createNativeTrack(t):this.createNonNativeTrack(t)}createNativeTrack(t){if(this.captionsTracks[t])return;const{captionsProperties:n,captionsTracks:o,media:m}=this,{label:E,languageCode:C}=n[t],U=this.getExistingTrack(E,C);if(U)o[t]=U,Mu(o[t]),Su(o[t],m);else{const H=this.createTextTrack("captions",E,C);H&&(H[t]=!0,o[t]=H)}}createNonNativeTrack(t){if(this.nonNativeCaptionsTracks[t])return;const n=this.captionsProperties[t];if(!n)return;const o=n.label,m={_id:t,label:o,kind:"captions",default:n.media?!!n.media.default:!1,closedCaptions:n.media};this.nonNativeCaptionsTracks[t]=m,this.hls.trigger(s.NON_NATIVE_TEXT_TRACKS_FOUND,{tracks:[m]})}createTextTrack(t,n,o){const m=this.media;if(m)return m.addTextTrack(t,n,o)}onMediaAttaching(t,n){this.media=n.media,n.mediaSource||this._cleanTracks()}onMediaDetaching(t,n){const o=!!n.transferMedia;if(this.media=null,o)return;const{captionsTracks:m}=this;Object.keys(m).forEach(E=>{Mu(m[E]),delete m[E]}),this.nonNativeCaptionsTracks={}}onManifestLoading(){this.lastCc=-1,this.lastSn=-1,this.lastPartIndex=-1,this.prevCC=-1,this.vttCCs=ll(),this._cleanTracks(),this.tracks=[],this.captionsTracks={},this.nonNativeCaptionsTracks={},this.textTracks=[],this.unparsedVttFrags=[],this.initPTS=[],this.cea608Parser1&&this.cea608Parser2&&(this.cea608Parser1.reset(),this.cea608Parser2.reset())}_cleanTracks(){const{media:t}=this;if(!t)return;const n=t.textTracks;if(n)for(let o=0;o<n.length;o++)Mu(n[o])}onSubtitleTracksUpdated(t,n){const o=n.subtitleTracks||[],m=o.some(E=>E.textCodec===$u);if(this.config.enableWebVTT||m&&this.config.enableIMSC1){if(oc(this.tracks,o)){this.tracks=o;return}if(this.textTracks=[],this.tracks=o,this.config.renderTextTracksNatively){const C=this.media,U=C?Dc(C.textTracks):null;if(this.tracks.forEach((H,$)=>{let ae;if(U){let ce=null;for(let xe=0;xe<U.length;xe++)if(U[xe]&&Yu(U[xe],H)){ce=U[xe],U[xe]=null;break}ce&&(ae=ce)}if(ae)Mu(ae);else{const ce=ju(H);ae=this.createTextTrack(ce,H.name,H.lang),ae&&(ae.mode="disabled")}ae&&this.textTracks.push(ae)}),U!=null&&U.length){const H=U.filter($=>$!==null).map($=>$.label);H.length&&this.hls.logger.warn(`Media element contains unused subtitle tracks: ${H.join(", ")}. Replace media element for each source to clear TextTracks and captions menu.`)}}else if(this.tracks.length){const C=this.tracks.map(U=>({label:U.name,kind:U.type.toLowerCase(),default:U.default,subtitleTrack:U}));this.hls.trigger(s.NON_NATIVE_TEXT_TRACKS_FOUND,{tracks:C})}}}onManifestLoaded(t,n){this.config.enableCEA708Captions&&n.captions&&n.captions.forEach(o=>{const m=/(?:CC|SERVICE)([1-4])/.exec(o.instreamId);if(!m)return;const E=`textTrack${m[1]}`,C=this.captionsProperties[E];C&&(C.label=o.name,o.lang&&(C.languageCode=o.lang),C.media=o)})}closedCaptionsForLevel(t){const n=this.hls.levels[t.level];return n==null?void 0:n.attrs["CLOSED-CAPTIONS"]}onFragLoading(t,n){if(this.enabled&&n.frag.type===u.MAIN){var o,m;const{cea608Parser1:E,cea608Parser2:C,lastSn:U}=this,{cc:H,sn:$}=n.frag,ae=(o=(m=n.part)==null?void 0:m.index)!=null?o:-1;E&&C&&($!==U+1||$===U&&ae!==this.lastPartIndex+1||H!==this.lastCc)&&(E.reset(),C.reset()),this.lastCc=H,this.lastSn=$,this.lastPartIndex=ae}}onFragLoaded(t,n){const{frag:o,payload:m}=n;if(o.type===u.SUBTITLE)if(m.byteLength){const E=o.decryptdata,C="stats"in n;if(E==null||!E.encrypted||C){const U=this.tracks[o.level],H=this.vttCCs;H[o.cc]||(H[o.cc]={start:o.start,prevCC:this.prevCC,new:!0},this.prevCC=o.cc),U&&U.textCodec===$u?this._parseIMSC1(o,m):this._parseVTTs(n)}}else this.hls.trigger(s.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:o,error:new Error("Empty subtitle payload")})}_parseIMSC1(t,n){const o=this.hls;nc(n,this.initPTS[t.cc],m=>{this._appendCues(m,t.level),o.trigger(s.SUBTITLE_FRAG_PROCESSED,{success:!0,frag:t})},m=>{o.logger.log(`Failed to parse IMSC1: ${m}`),o.trigger(s.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:t,error:m})})}_parseVTTs(t){var n;const{frag:o,payload:m}=t,{initPTS:E,unparsedVttFrags:C}=this,U=E.length-1;if(!E[o.cc]&&U===-1){C.push(t);return}const H=this.hls,$=(n=o.initSegment)!=null&&n.data?Gt(o.initSegment.data,new Uint8Array(m)).buffer:m;hu($,this.initPTS[o.cc],this.vttCCs,o.cc,o.start,ae=>{this._appendCues(ae,o.level),H.trigger(s.SUBTITLE_FRAG_PROCESSED,{success:!0,frag:o})},ae=>{const ce=ae.message==="Missing initPTS for VTT MPEGTS";ce?C.push(t):this._fallbackToIMSC1(o,m),H.logger.log(`Failed to parse VTT cue: ${ae}`),!(ce&&U>o.cc)&&H.trigger(s.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:o,error:ae})})}_fallbackToIMSC1(t,n){const o=this.tracks[t.level];o.textCodec||nc(n,this.initPTS[t.cc],()=>{o.textCodec=$u,this._parseIMSC1(t,n)},()=>{o.textCodec="wvtt"})}_appendCues(t,n){const o=this.hls;if(this.config.renderTextTracksNatively){const m=this.textTracks[n];if(!m||m.mode==="disabled")return;t.forEach(E=>vc(m,E))}else{const m=this.tracks[n];if(!m)return;const E=m.default?"default":"subtitles"+n;o.trigger(s.CUES_PARSED,{type:"subtitles",cues:t,track:E})}}onFragDecrypted(t,n){const{frag:o}=n;o.type===u.SUBTITLE&&this.onFragLoaded(s.FRAG_LOADED,n)}onSubtitleTracksCleared(){this.tracks=[],this.captionsTracks={}}onFragParsingUserdata(t,n){if(!this.enabled||!this.config.enableCEA708Captions)return;const{frag:o,samples:m}=n;if(!(o.type===u.MAIN&&this.closedCaptionsForLevel(o)==="NONE"))for(let E=0;E<m.length;E++){const C=m[E].bytes;if(C){this.cea608Parser1||this.initCea608Parsers();const U=this.extractCea608Data(C);this.cea608Parser1.addData(m[E].pts,U[0]),this.cea608Parser2.addData(m[E].pts,U[1])}}}onBufferFlushing(t,{startOffset:n,endOffset:o,endOffsetSubtitles:m,type:E}){const{media:C}=this;if(!(!C||C.currentTime<o)){if(!E||E==="video"){const{captionsTracks:U}=this;Object.keys(U).forEach(H=>Zo(U[H],n,o))}if(this.config.renderTextTracksNatively&&n===0&&m!==void 0){const{textTracks:U}=this;Object.keys(U).forEach(H=>Zo(U[H],n,m))}}}extractCea608Data(t){const n=[[],[]],o=t[0]&31;let m=2;for(let E=0;E<o;E++){const C=t[m++],U=127&t[m++],H=127&t[m++];if(U===0&&H===0)continue;if((4&C)!==0){const ae=3&C;(ae===0||ae===1)&&(n[ae].push(U),n[ae].push(H))}}return n}}function ju(P){return P.characteristics&&/transcribes-spoken-dialog/gi.test(P.characteristics)&&/describes-music-and-sound/gi.test(P.characteristics)?"captions":"subtitles"}function Yu(P,t){return!!P&&P.kind===ju(t)&&ai(t,P)}function ul(P,t,n,o){return Math.min(t,o)-Math.max(P,n)}function ll(){return{ccOffset:0,presentationOffset:0,0:{start:0,prevCC:-1,new:!0}}}const Df=/\s/,wf={newCue(P,t,n,o){const m=[];let E,C,U,H,$;const ae=self.VTTCue||self.TextTrackCue;for(let xe=0;xe<o.rows.length;xe++)if(E=o.rows[xe],U=!0,H=0,$="",!E.isEmpty()){var ce;for(let tt=0;tt<E.chars.length;tt++)Df.test(E.chars[tt].uchar)&&U?H++:($+=E.chars[tt].uchar,U=!1);E.cueStartTime=t,t===n&&(n+=1e-4),H>=16?H--:H++;const Te=ol($.trim()),De=Ll(t,n,Te);P!=null&&(ce=P.cues)!=null&&ce.getCueById(De)||(C=new ae(t,n,Te),C.id=De,C.line=xe+1,C.align="left",C.position=10+Math.min(80,Math.floor(H*8/32)*10),m.push(C))}return P&&m.length&&(m.sort((xe,Te)=>xe.line==="auto"||Te.line==="auto"?0:xe.line>8&&Te.line>8?Te.line-xe.line:xe.line-Te.line),m.forEach(xe=>vc(P,xe))),m}};function Fl(){if(self.fetch&&self.AbortController&&self.ReadableStream&&self.Request)try{return new self.ReadableStream({}),!0}catch(P){}return!1}const Sf=/(\d+)-(\d+)\/(\d+)/;class xc{constructor(t){this.fetchSetup=void 0,this.requestTimeout=void 0,this.request=null,this.response=null,this.controller=void 0,this.context=null,this.config=null,this.callbacks=null,this.stats=void 0,this.loader=null,this.fetchSetup=t.fetchSetup||Of,this.controller=new self.AbortController,this.stats=new z}destroy(){this.loader=this.callbacks=this.context=this.config=this.request=null,this.abortInternal(),this.response=null,this.fetchSetup=this.controller=this.stats=null}abortInternal(){this.controller&&!this.stats.loading.end&&(this.stats.aborted=!0,this.controller.abort())}abort(){var t;this.abortInternal(),(t=this.callbacks)!=null&&t.onAbort&&this.callbacks.onAbort(this.stats,this.context,this.response)}load(t,n,o){const m=this.stats;if(m.loading.start)throw new Error("Loader can only be used once.");m.loading.start=self.performance.now();const E=Jc(t,this.controller.signal),C=t.responseType==="arraybuffer",U=C?"byteLength":"length",{maxTimeToFirstByteMs:H,maxLoadTimeMs:$}=n.loadPolicy;this.context=t,this.config=n,this.callbacks=o,this.request=this.fetchSetup(t,E),self.clearTimeout(this.requestTimeout),n.timeout=H&&r(H)?H:$,this.requestTimeout=self.setTimeout(()=>{this.callbacks&&(this.abortInternal(),this.callbacks.onTimeout(m,t,this.response))},n.timeout),(Iu(this.request)?this.request.then(self.fetch):self.fetch(this.request)).then(ce=>{var xe;this.response=this.loader=ce;const Te=Math.max(self.performance.now(),m.loading.start);if(self.clearTimeout(this.requestTimeout),n.timeout=$,this.requestTimeout=self.setTimeout(()=>{this.callbacks&&(this.abortInternal(),this.callbacks.onTimeout(m,t,this.response))},$-(Te-m.loading.start)),!ce.ok){const{status:tt,statusText:at}=ce;throw new Xu(at||"fetch, bad network response",tt,ce)}m.loading.first=Te,m.total=cl(ce.headers)||m.total;const De=(xe=this.callbacks)==null?void 0:xe.onProgress;return De&&r(n.highWaterMark)?this.loadProgressively(ce,m,t,n.highWaterMark,De):C?ce.arrayBuffer():t.responseType==="json"?ce.json():ce.text()}).then(ce=>{var xe,Te;const De=this.response;if(!De)throw new Error("loader destroyed");self.clearTimeout(this.requestTimeout),m.loading.end=Math.max(self.performance.now(),m.loading.first);const tt=ce[U];tt&&(m.loaded=m.total=tt);const at={url:De.url,data:ce,code:De.status},Bt=(xe=this.callbacks)==null?void 0:xe.onProgress;Bt&&!r(n.highWaterMark)&&Bt(m,t,ce,De),(Te=this.callbacks)==null||Te.onSuccess(at,m,t,De)}).catch(ce=>{var xe;if(self.clearTimeout(this.requestTimeout),m.aborted)return;const Te=ce&&ce.code||0,De=ce?ce.message:null;(xe=this.callbacks)==null||xe.onError({code:Te,text:De},t,ce?ce.details:null,m)})}getCacheAge(){let t=null;if(this.response){const n=this.response.headers.get("age");t=n?parseFloat(n):null}return t}getResponseHeader(t){return this.response?this.response.headers.get(t):null}loadProgressively(t,n,o,m=0,E){const C=new ci,U=t.body.getReader(),H=()=>U.read().then($=>{if($.done)return C.dataLength&&E(n,o,C.flush().buffer,t),Promise.resolve(new ArrayBuffer(0));const ae=$.value,ce=ae.length;return n.loaded+=ce,ce<m||C.dataLength?(C.push(ae),C.dataLength>=m&&E(n,o,C.flush().buffer,t)):E(n,o,ae.buffer,t),H()}).catch(()=>Promise.reject());return H()}}function Jc(P,t){const n={method:"GET",mode:"cors",credentials:"same-origin",signal:t,headers:new self.Headers(y({},P.headers))};return P.rangeEnd&&n.headers.set("Range","bytes="+P.rangeStart+"-"+String(P.rangeEnd-1)),n}function hf(P){const t=Sf.exec(P);if(t)return parseInt(t[2])-parseInt(t[1])+1}function cl(P){const t=P.get("Content-Range");if(t){const o=hf(t);if(r(o))return o}const n=P.get("Content-Length");if(n)return parseInt(n)}function Of(P,t){return new self.Request(P.url,t)}class Xu extends Error{constructor(t,n,o){super(t),this.code=void 0,this.details=void 0,this.code=n,this.details=o}}const Lc=/^age:\s*[\d.]+\s*$/im;class ef{constructor(t){this.xhrSetup=void 0,this.requestTimeout=void 0,this.retryTimeout=void 0,this.retryDelay=void 0,this.config=null,this.callbacks=null,this.context=null,this.loader=null,this.stats=void 0,this.xhrSetup=t&&t.xhrSetup||null,this.stats=new z,this.retryDelay=0}destroy(){this.callbacks=null,this.abortInternal(),this.loader=null,this.config=null,this.context=null,this.xhrSetup=null}abortInternal(){const t=this.loader;self.clearTimeout(this.requestTimeout),self.clearTimeout(this.retryTimeout),t&&(t.onreadystatechange=null,t.onprogress=null,t.readyState!==4&&(this.stats.aborted=!0,t.abort()))}abort(){var t;this.abortInternal(),(t=this.callbacks)!=null&&t.onAbort&&this.callbacks.onAbort(this.stats,this.context,this.loader)}load(t,n,o){if(this.stats.loading.start)throw new Error("Loader can only be used once.");this.stats.loading.start=self.performance.now(),this.context=t,this.config=n,this.callbacks=o,this.loadInternal()}loadInternal(){const{config:t,context:n}=this;if(!t||!n)return;const o=this.loader=new self.XMLHttpRequest,m=this.stats;m.loading.first=0,m.loaded=0,m.aborted=!1;const E=this.xhrSetup;E?Promise.resolve().then(()=>{if(!(this.loader!==o||this.stats.aborted))return E(o,n.url)}).catch(C=>{if(!(this.loader!==o||this.stats.aborted))return o.open("GET",n.url,!0),E(o,n.url)}).then(()=>{this.loader!==o||this.stats.aborted||this.openAndSendXhr(o,n,t)}).catch(C=>{var U;(U=this.callbacks)==null||U.onError({code:o.status,text:C.message},n,o,m)}):this.openAndSendXhr(o,n,t)}openAndSendXhr(t,n,o){t.readyState||t.open("GET",n.url,!0);const m=n.headers,{maxTimeToFirstByteMs:E,maxLoadTimeMs:C}=o.loadPolicy;if(m)for(const U in m)t.setRequestHeader(U,m[U]);n.rangeEnd&&t.setRequestHeader("Range","bytes="+n.rangeStart+"-"+(n.rangeEnd-1)),t.onreadystatechange=this.readystatechange.bind(this),t.onprogress=this.loadprogress.bind(this),t.responseType=n.responseType,self.clearTimeout(this.requestTimeout),o.timeout=E&&r(E)?E:C,this.requestTimeout=self.setTimeout(this.loadtimeout.bind(this),o.timeout),t.send()}readystatechange(){const{context:t,loader:n,stats:o}=this;if(!t||!n)return;const m=n.readyState,E=this.config;if(!o.aborted&&m>=2&&(o.loading.first===0&&(o.loading.first=Math.max(self.performance.now(),o.loading.start),E.timeout!==E.loadPolicy.maxLoadTimeMs&&(self.clearTimeout(this.requestTimeout),E.timeout=E.loadPolicy.maxLoadTimeMs,this.requestTimeout=self.setTimeout(this.loadtimeout.bind(this),E.loadPolicy.maxLoadTimeMs-(o.loading.first-o.loading.start)))),m===4)){self.clearTimeout(this.requestTimeout),n.onreadystatechange=null,n.onprogress=null;const $=n.status,ae=n.responseType==="text"?n.responseText:null;if($>=200&&$<300){const De=ae!=null?ae:n.response;if(De!=null){var C,U;o.loading.end=Math.max(self.performance.now(),o.loading.first);const tt=n.responseType==="arraybuffer"?De.byteLength:De.length;o.loaded=o.total=tt,o.bwEstimate=o.total*8e3/(o.loading.end-o.loading.first);const at=(C=this.callbacks)==null?void 0:C.onProgress;at&&at(o,t,De,n);const Bt={url:n.responseURL,data:De,code:$};(U=this.callbacks)==null||U.onSuccess(Bt,o,t,n);return}}const ce=E.loadPolicy.errorRetry,xe=o.retry,Te={url:t.url,data:void 0,code:$};if(ze(ce,xe,!1,Te))this.retry(ce);else{var H;Y.error(`${$} while loading ${t.url}`),(H=this.callbacks)==null||H.onError({code:$,text:n.statusText},t,n,o)}}}loadtimeout(){if(!this.config)return;const t=this.config.loadPolicy.timeoutRetry,n=this.stats.retry;if(ze(t,n,!0))this.retry(t);else{var o;Y.warn(`timeout while loading ${(o=this.context)==null?void 0:o.url}`);const m=this.callbacks;m&&(this.abortInternal(),m.onTimeout(this.stats,this.context,this.loader))}}retry(t){const{context:n,stats:o}=this;this.retryDelay=Ir(t,o.retry),o.retry++,Y.warn(`${status?"HTTP Status "+status:"Timeout"} while loading ${n==null?void 0:n.url}, retrying ${o.retry}/${t.maxNumRetry} in ${this.retryDelay}ms`),this.abortInternal(),this.loader=null,self.clearTimeout(this.retryTimeout),this.retryTimeout=self.setTimeout(this.loadInternal.bind(this),this.retryDelay)}loadprogress(t){const n=this.stats;n.loaded=t.loaded,t.lengthComputable&&(n.total=t.total)}getCacheAge(){let t=null;if(this.loader&&Lc.test(this.loader.getAllResponseHeaders())){const n=this.loader.getResponseHeader("age");t=n?parseFloat(n):null}return t}getResponseHeader(t){return this.loader&&new RegExp(`^${t}:\\s*[\\d.]+\\s*$`,"im").test(this.loader.getAllResponseHeaders())?this.loader.getResponseHeader(t):null}}const Ho={maxTimeToFirstByteMs:8e3,maxLoadTimeMs:2e4,timeoutRetry:null,errorRetry:null},tf=b(b({autoStartLoad:!0,startPosition:-1,defaultAudioCodec:void 0,debug:!1,capLevelOnFPSDrop:!1,capLevelToPlayerSize:!1,ignoreDevicePixelRatio:!1,maxDevicePixelRatio:Number.POSITIVE_INFINITY,preferManagedMediaSource:!0,initialLiveManifestSize:1,maxBufferLength:30,backBufferLength:1/0,frontBufferFlushThreshold:1/0,maxBufferSize:60*1e3*1e3,maxFragLookUpTolerance:.25,maxBufferHole:.1,detectStallWithCurrentTimeMs:1250,highBufferWatchdogPeriod:2,nudgeOffset:.1,nudgeMaxRetry:3,nudgeOnVideoHole:!0,liveSyncDurationCount:3,liveSyncOnStallIncrease:1,liveMaxLatencyDurationCount:1/0,liveSyncDuration:void 0,liveMaxLatencyDuration:void 0,maxLiveSyncPlaybackRate:1,liveDurationInfinity:!1,liveBackBufferLength:null,maxMaxBufferLength:600,enableWorker:!0,workerPath:null,enableSoftwareAES:!0,startLevel:void 0,startFragPrefetch:!1,fpsDroppedMonitoringPeriod:5e3,fpsDroppedMonitoringThreshold:.2,appendErrorMaxRetry:3,ignorePlaylistParsingErrors:!1,loader:ef,fLoader:void 0,pLoader:void 0,xhrSetup:void 0,licenseXhrSetup:void 0,licenseResponseCallback:void 0,abrController:Gi,bufferController:Hu,capLevelController:cc,errorController:ir,fpsController:nl,stretchShortVideoTrack:!1,maxAudioFramesDrift:1,forceKeyFrameOnDiscontinuity:!0,abrEwmaFastLive:3,abrEwmaSlowLive:9,abrEwmaFastVoD:3,abrEwmaSlowVoD:9,abrEwmaDefaultEstimate:5e5,abrEwmaDefaultEstimateMax:5e6,abrBandWidthFactor:.95,abrBandWidthUpFactor:.7,abrMaxWithRealBitrate:!1,maxStarvationDelay:4,maxLoadingDelay:4,minAutoBitrate:0,emeEnabled:!1,widevineLicenseUrl:void 0,drmSystems:{},drmSystemOptions:{},requestMediaKeySystemAccessFunc:Fa,testBandwidth:!0,progressive:!1,lowLatencyMode:!0,cmcd:void 0,enableDateRangeMetadataCues:!0,enableEmsgMetadataCues:!0,enableEmsgKLVMetadata:!1,enableID3MetadataCues:!0,enableInterstitialPlayback:!0,interstitialAppendInPlace:!0,interstitialLiveLookAhead:10,useMediaCapabilities:!0,certLoadPolicy:{default:Ho},keyLoadPolicy:{default:{maxTimeToFirstByteMs:8e3,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:1,retryDelayMs:1e3,maxRetryDelayMs:2e4,backoff:"linear"},errorRetry:{maxNumRetry:8,retryDelayMs:1e3,maxRetryDelayMs:2e4,backoff:"linear"}}},manifestLoadPolicy:{default:{maxTimeToFirstByteMs:1/0,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:2,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:1,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},playlistLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:2,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:2,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},fragLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:12e4,timeoutRetry:{maxNumRetry:4,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:6,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},steeringManifestLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:2,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:1,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},interstitialAssetListLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:3e4,timeoutRetry:{maxNumRetry:0,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:0,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},manifestLoadingTimeOut:1e4,manifestLoadingMaxRetry:1,manifestLoadingRetryDelay:1e3,manifestLoadingMaxRetryTimeout:64e3,levelLoadingTimeOut:1e4,levelLoadingMaxRetry:4,levelLoadingRetryDelay:1e3,levelLoadingMaxRetryTimeout:64e3,fragLoadingTimeOut:2e4,fragLoadingMaxRetry:6,fragLoadingRetryDelay:1e3,fragLoadingMaxRetryTimeout:64e3},pf()),{},{subtitleStreamController:I,subtitleTrackController:Kc,timelineController:Ku,audioStreamController:Zl,audioTrackController:Sc,emeController:Lu,cmcdController:Qo,contentSteeringController:$o,interstitialsController:yc});function pf(){return{cueHandler:wf,enableWebVTT:!0,enableIMSC1:!0,enableCEA708Captions:!0,captionsTextTrack1Label:"English",captionsTextTrack1LanguageCode:"en",captionsTextTrack2Label:"Spanish",captionsTextTrack2LanguageCode:"es",captionsTextTrack3Label:"Unknown CC",captionsTextTrack3LanguageCode:"",captionsTextTrack4Label:"Unknown CC",captionsTextTrack4LanguageCode:"",renderTextTracksNatively:!0}}function fl(P,t,n){if((t.liveSyncDurationCount||t.liveMaxLatencyDurationCount)&&(t.liveSyncDuration||t.liveMaxLatencyDuration))throw new Error("Illegal hls.js config: don't mix up liveSyncDurationCount/liveMaxLatencyDurationCount and liveSyncDuration/liveMaxLatencyDuration");if(t.liveMaxLatencyDurationCount!==void 0&&(t.liveSyncDurationCount===void 0||t.liveMaxLatencyDurationCount<=t.liveSyncDurationCount))throw new Error('Illegal hls.js config: "liveMaxLatencyDurationCount" must be greater than "liveSyncDurationCount"');if(t.liveMaxLatencyDuration!==void 0&&(t.liveSyncDuration===void 0||t.liveMaxLatencyDuration<=t.liveSyncDuration))throw new Error('Illegal hls.js config: "liveMaxLatencyDuration" must be greater than "liveSyncDuration"');const o=Bl(P),m=["manifest","level","frag"],E=["TimeOut","MaxRetry","RetryDelay","MaxRetryTimeout"];return m.forEach(C=>{const U=`${C==="level"?"playlist":C}LoadPolicy`,H=t[U]===void 0,$=[];E.forEach(ae=>{const ce=`${C}Loading${ae}`,xe=t[ce];if(xe!==void 0&&H){$.push(ce);const Te=o[U].default;switch(t[U]={default:Te},ae){case"TimeOut":Te.maxLoadTimeMs=xe,Te.maxTimeToFirstByteMs=xe;break;case"MaxRetry":Te.errorRetry.maxNumRetry=xe,Te.timeoutRetry.maxNumRetry=xe;break;case"RetryDelay":Te.errorRetry.retryDelayMs=xe,Te.timeoutRetry.retryDelayMs=xe;break;case"MaxRetryTimeout":Te.errorRetry.maxRetryDelayMs=xe,Te.timeoutRetry.maxRetryDelayMs=xe;break}}}),$.length&&n.warn(`hls.js config: "${$.join('", "')}" setting(s) are deprecated, use "${U}": ${jn(t[U])}`)}),b(b({},o),t)}function Bl(P){return P&&typeof P=="object"?Array.isArray(P)?P.map(Bl):Object.keys(P).reduce((t,n)=>(t[n]=Bl(P[n]),t),{}):P}function Wo(P,t){const n=P.loader;n!==xc&&n!==ef?(t.log("[config]: Custom loader detected, cannot enable progressive streaming"),P.progressive=!1):Fl()&&(P.loader=xc,P.progressive=!0,P.enableSoftwareAES=!0,t.log("[config]: Progressive streaming enabled, using FetchLoader"))}const Ec=2,_f=.1,Mc=.05,Fc=100;class mf extends Is{constructor(t,n){super("gap-controller",t.logger),this.hls=null,this.fragmentTracker=null,this.media=null,this.mediaSource=void 0,this.nudgeRetry=0,this.stallReported=!1,this.stalled=null,this.moved=!1,this.seeking=!1,this.buffered={},this.lastCurrentTime=0,this.ended=0,this.waiting=0,this.onMediaPlaying=()=>{this.ended=0,this.waiting=0},this.onMediaWaiting=()=>{var o;(o=this.media)!=null&&o.seeking||(this.waiting=self.performance.now(),this.tick())},this.onMediaEnded=()=>{if(this.hls){var o;this.ended=((o=this.media)==null?void 0:o.currentTime)||1,this.hls.trigger(s.MEDIA_ENDED,{stalled:!1})}},this.hls=t,this.fragmentTracker=n,this.registerListeners()}registerListeners(){const{hls:t}=this;t&&(t.on(s.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(s.BUFFER_APPENDED,this.onBufferAppended,this))}unregisterListeners(){const{hls:t}=this;t&&(t.off(s.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(s.BUFFER_APPENDED,this.onBufferAppended,this))}destroy(){super.destroy(),this.unregisterListeners(),this.media=this.hls=this.fragmentTracker=null,this.mediaSource=void 0}onMediaAttached(t,n){this.setInterval(Fc),this.mediaSource=n.mediaSource;const o=this.media=n.media;iu(o,"playing",this.onMediaPlaying),iu(o,"waiting",this.onMediaWaiting),iu(o,"ended",this.onMediaEnded)}onMediaDetaching(t,n){this.clearInterval();const{media:o}=this;o&&(qo(o,"playing",this.onMediaPlaying),qo(o,"waiting",this.onMediaWaiting),qo(o,"ended",this.onMediaEnded),this.media=null),this.mediaSource=void 0}onBufferAppended(t,n){this.buffered=n.timeRanges}get hasBuffered(){return Object.keys(this.buffered).length>0}tick(){var t;if(!((t=this.media)!=null&&t.readyState)||!this.hasBuffered)return;const n=this.media.currentTime;this.poll(n,this.lastCurrentTime),this.lastCurrentTime=n}poll(t,n){var o,m;const E=(o=this.hls)==null?void 0:o.config;if(!E)return;const{media:C,stalled:U}=this;if(!C)return;const{seeking:H}=C,$=this.seeking&&!H,ae=!this.seeking&&H,ce=C.paused&&!H||C.ended||C.playbackRate===0;if(this.seeking=H,t!==n){n&&(this.ended=0),this.moved=!0,H||(this.nudgeRetry=0,E.nudgeOnVideoHole&&!ce&&t>n&&this.nudgeOnVideoHole(t,n)),this.waiting===0&&this.stallResolved(t);return}if(ae||$){$&&this.stallResolved(t);return}if(ce){this.nudgeRetry=0,this.stallResolved(t),!this.ended&&C.ended&&this.hls&&(this.ended=t||1,this.hls.trigger(s.MEDIA_ENDED,{stalled:!1}));return}if(!yi.getBuffered(C).length){this.nudgeRetry=0;return}const xe=yi.bufferInfo(C,t,0),Te=xe.nextStart||0,De=this.fragmentTracker;if(H&&De&&this.hls){const fn=Bc(this.hls.inFlightFragments,t),Vr=xe.len>Ec,on=!Te||fn||Te-t>Ec&&!De.getPartialFragment(t);if(Vr||on)return;this.moved=!1}const tt=(m=this.hls)==null?void 0:m.latestLevelDetails;if(!this.moved&&this.stalled!==null&&De){if(!(xe.len>0)&&!Te)return;const Vr=Math.max(Te,xe.start||0)-t,_n=!!(tt!=null&&tt.live)?tt.targetduration*2:Ec,Xr=De.getPartialFragment(t);if(Vr>0&&(Vr<=_n||Xr)){C.paused||this._trySkipBufferHole(Xr);return}}const at=E.detectStallWithCurrentTimeMs,Bt=self.performance.now(),dr=this.waiting;if(U===null){dr>0&&Bt-dr<at?this.stalled=dr:this.stalled=Bt;return}const ar=Bt-U;if(!H&&(ar>=at||dr)&&this.hls){var Zr;if(((Zr=this.mediaSource)==null?void 0:Zr.readyState)==="ended"&&!(tt!=null&&tt.live)&&Math.abs(t-((tt==null?void 0:tt.edge)||0))<1){if(this.ended)return;this.ended=t||1,this.hls.trigger(s.MEDIA_ENDED,{stalled:!0});return}if(this._reportStall(xe),!this.media||!this.hls)return}const Gr=yi.bufferInfo(C,t,E.maxBufferHole);this._tryFixBufferStall(Gr,ar)}stallResolved(t){const n=this.stalled;if(n&&this.hls&&(this.stalled=null,this.stallReported)){const o=self.performance.now()-n;this.log(`playback not stuck anymore @${t}, after ${Math.round(o)}ms`),this.stallReported=!1,this.waiting=0,this.hls.trigger(s.STALL_RESOLVED,{})}}nudgeOnVideoHole(t,n){var o;const m=this.buffered.video;if(this.hls&&this.media&&this.fragmentTracker&&(o=this.buffered.audio)!=null&&o.length&&m&&m.length>1&&t>m.end(0)){const E=yi.bufferedInfo(yi.timeRangesToArray(this.buffered.audio),t,0);if(E.len>1&&n>=E.start){const C=yi.timeRangesToArray(m),U=yi.bufferedInfo(C,n,0).bufferedIndex;if(U>-1&&U<C.length-1){const H=yi.bufferedInfo(C,t,0).bufferedIndex,$=C[U].end,ae=C[U+1].start;if((H===-1||H>U)&&ae-$<1&&t-$<2){const ce=new Error(`nudging playhead to flush pipeline after video hole. currentTime: ${t} hole: ${$} -> ${ae} buffered index: ${H}`);this.warn(ce.message),this.media.currentTime+=1e-6;const xe=this.fragmentTracker.getPartialFragment(t)||void 0,Te=yi.bufferInfo(this.media,t,0);this.hls.trigger(s.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_SEEK_OVER_HOLE,fatal:!1,error:ce,reason:ce.message,frag:xe,buffer:Te.len,bufferInfo:Te})}}}}}_tryFixBufferStall(t,n){var o,m;const{fragmentTracker:E,media:C}=this,U=(o=this.hls)==null?void 0:o.config;if(!C||!E||!U)return;const H=C.currentTime,$=(m=this.hls)==null?void 0:m.latestLevelDetails,ae=E.getPartialFragment(H);if((ae||$!=null&&$.live&&H<$.fragmentStart)&&(this._trySkipBufferHole(ae)||!this.media))return;const ce=t.buffered;(ce&&ce.length>1&&t.len>U.maxBufferHole||t.nextStart&&t.nextStart-H<U.maxBufferHole)&&(n>U.highBufferWatchdogPeriod*1e3||this.waiting)&&(this.warn("Trying to nudge playhead over buffer-hole"),this._tryNudgeBuffer(t))}_reportStall(t){const{hls:n,media:o,stallReported:m,stalled:E}=this;if(!m&&E!==null&&o&&n){this.stallReported=!0;const C=new Error(`Playback stalling at @${o.currentTime} due to low buffer (${jn(t)})`);this.warn(C.message),n.trigger(s.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_STALLED_ERROR,fatal:!1,error:C,buffer:t.len,bufferInfo:t,stalled:{start:E}})}}_trySkipBufferHole(t){var n;const{fragmentTracker:o,media:m}=this,E=(n=this.hls)==null?void 0:n.config;if(!m||!o||!E)return 0;const C=m.currentTime,U=yi.bufferInfo(m,C,0),H=C<U.start?U.start:U.nextStart;if(H&&this.hls){const ae=U.len<=E.maxBufferHole,ce=U.len>0&&U.len<1&&m.readyState<3,xe=H-C;if(xe>0&&(ae||ce)){if(xe>E.maxBufferHole){let De=!1;if(C===0){const tt=o.getAppendedFrag(0,u.MAIN);tt&&H<tt.end&&(De=!0)}if(!De){const tt=t||o.getAppendedFrag(C,u.MAIN);if(tt){var $;if(!(($=this.hls.loadLevelObj)!=null&&$.details)||Bc(this.hls.inFlightFragments,H))return 0;let Bt=!1,dr=tt.end;for(;dr<H;){const ar=o.getPartialFragment(dr);if(ar)dr+=ar.duration;else{Bt=!0;break}}if(Bt)return 0}}}const Te=Math.max(H+Mc,C+_f);if(this.warn(`skipping hole, adjusting currentTime from ${C} to ${Te}`),this.moved=!0,m.currentTime=Te,!(t!=null&&t.gap)){const De=new Error(`fragment loaded with buffer holes, seeking from ${C} to ${Te}`);this.hls.trigger(s.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_SEEK_OVER_HOLE,fatal:!1,error:De,reason:De.message,frag:t||void 0,buffer:U.len,bufferInfo:U})}return Te}}return 0}_tryNudgeBuffer(t){const{hls:n,media:o,nudgeRetry:m}=this,E=n==null?void 0:n.config;if(!o||!E)return 0;const C=o.currentTime;if(this.nudgeRetry++,m<E.nudgeMaxRetry){const U=C+(m+1)*E.nudgeOffset,H=new Error(`Nudging 'currentTime' from ${C} to ${U}`);this.warn(H.message),o.currentTime=U,n.trigger(s.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_NUDGE_ON_STALL,error:H,fatal:!1,buffer:t.len,bufferInfo:t})}else{const U=new Error(`Playhead still not moving while enough data buffered @${C} after ${E.nudgeMaxRetry} nudges`);this.error(U.message),n.trigger(s.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_STALLED_ERROR,error:U,fatal:!0,buffer:t.len,bufferInfo:t})}}}function Bc(P,t){const n=Af(P.main);if(n&&n.start<=t)return n;const o=Af(P.audio);return o&&o.start<=t?o:null}function Af(P){if(!P)return null;switch(P.state){case zr.IDLE:case zr.STOPPED:case zr.ENDED:case zr.ERROR:return null}return P.frag}const Mf=.25;function Nc(){if(typeof self!="undefined")return self.VTTCue||self.TextTrackCue}function Ff(P,t,n,o,m){let E=new P(t,n,"");try{E.value=o,m&&(E.type=m)}catch(C){E=new P(t,n,jn(m?b({type:m},o):o))}return E}const rf=(()=>{const P=Nc();try{P&&new P(0,Number.POSITIVE_INFINITY,"")}catch(t){return Number.MAX_VALUE}return Number.POSITIVE_INFINITY})();function vf(P){return Uint8Array.from(P.replace(/^0x/,"").replace(/([\da-fA-F]{2}) ?/g,"0x$1 ").replace(/ +$/,"").split(" ")).buffer}class Hf{constructor(t){this.hls=void 0,this.id3Track=null,this.media=null,this.dateRangeCuesAppended={},this.removeCues=!0,this.onEventCueEnter=()=>{this.hls&&this.hls.trigger(s.EVENT_CUE_ENTER,{})},this.hls=t,this._registerListeners()}destroy(){this._unregisterListeners(),this.id3Track=null,this.media=null,this.dateRangeCuesAppended={},this.hls=this.onEventCueEnter=null}_registerListeners(){const{hls:t}=this;t.on(s.MEDIA_ATTACHING,this.onMediaAttaching,this),t.on(s.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(s.MANIFEST_LOADING,this.onManifestLoading,this),t.on(s.FRAG_PARSING_METADATA,this.onFragParsingMetadata,this),t.on(s.BUFFER_FLUSHING,this.onBufferFlushing,this),t.on(s.LEVEL_UPDATED,this.onLevelUpdated,this),t.on(s.LEVEL_PTS_UPDATED,this.onLevelPtsUpdated,this)}_unregisterListeners(){const{hls:t}=this;t.off(s.MEDIA_ATTACHING,this.onMediaAttaching,this),t.off(s.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(s.MANIFEST_LOADING,this.onManifestLoading,this),t.off(s.FRAG_PARSING_METADATA,this.onFragParsingMetadata,this),t.off(s.BUFFER_FLUSHING,this.onBufferFlushing,this),t.off(s.LEVEL_UPDATED,this.onLevelUpdated,this),t.off(s.LEVEL_PTS_UPDATED,this.onLevelPtsUpdated,this)}onMediaAttaching(t,n){var o;this.media=n.media,((o=n.overrides)==null?void 0:o.cueRemoval)===!1&&(this.removeCues=!1)}onMediaAttached(){const t=this.hls.latestLevelDetails;t&&this.updateDateRangeCues(t)}onMediaDetaching(t,n){this.media=null,!n.transferMedia&&(this.id3Track&&(this.removeCues&&Mu(this.id3Track,this.onEventCueEnter),this.id3Track=null),this.dateRangeCuesAppended={})}onManifestLoading(){this.dateRangeCuesAppended={}}createTrack(t){const n=this.getID3Track(t.textTracks);return n.mode="hidden",n}getID3Track(t){if(this.media){for(let n=0;n<t.length;n++){const o=t[n];if(o.kind==="metadata"&&o.label==="id3")return Su(o,this.media),o}return this.media.addTextTrack("metadata","id3")}}onFragParsingMetadata(t,n){if(!this.media)return;const{hls:{config:{enableEmsgMetadataCues:o,enableID3MetadataCues:m}}}=this;if(!o&&!m)return;const{samples:E}=n;this.id3Track||(this.id3Track=this.createTrack(this.media));const C=Nc();if(C)for(let U=0;U<E.length;U++){const H=E[U].type;if(H===we.emsg&&!o||!m)continue;const $=Ua(E[U].data);if($){const ae=E[U].pts;let ce=ae+E[U].duration;ce>rf&&(ce=rf),ce-ae<=0&&(ce=ae+Mf);for(let Te=0;Te<$.length;Te++){const De=$[Te];if(!As(De)){this.updateId3CueEnds(ae,H);const tt=Ff(C,ae,ce,De,H);tt&&this.id3Track.addCue(tt)}}}}}updateId3CueEnds(t,n){var o;const m=(o=this.id3Track)==null?void 0:o.cues;if(m)for(let E=m.length;E--;){const C=m[E];C.type===n&&C.startTime<t&&C.endTime===rf&&(C.endTime=t)}}onBufferFlushing(t,{startOffset:n,endOffset:o,type:m}){const{id3Track:E,hls:C}=this;if(!C)return;const{config:{enableEmsgMetadataCues:U,enableID3MetadataCues:H}}=C;if(E&&(U||H)){let $;m==="audio"?$=ae=>ae.type===we.audioId3&&H:m==="video"?$=ae=>ae.type===we.emsg&&U:$=ae=>ae.type===we.audioId3&&H||ae.type===we.emsg&&U,Zo(E,n,o,$)}}onLevelUpdated(t,{details:n}){this.updateDateRangeCues(n,!0)}onLevelPtsUpdated(t,n){Math.abs(n.drift)>.01&&this.updateDateRangeCues(n.details)}updateDateRangeCues(t,n){if(!this.media||!t.hasProgramDateTime||!this.hls.config.enableDateRangeMetadataCues)return;const{id3Track:o}=this,{dateRanges:m}=t,E=Object.keys(m);let C=this.dateRangeCuesAppended;if(o&&n){var U;if((U=o.cues)!=null&&U.length){const ae=Object.keys(C).filter(ce=>!E.includes(ce));for(let ce=ae.length;ce--;){const xe=ae[ce],Te=C[xe].cues;delete C[xe],Object.keys(Te).forEach(De=>{try{const tt=Te[De];tt.removeEventListener("enter",this.onEventCueEnter),o.removeCue(tt)}catch(tt){}})}}else C=this.dateRangeCuesAppended={}}const H=t.fragments[t.fragments.length-1];if(E.length===0||!r(H==null?void 0:H.programDateTime))return;this.id3Track||(this.id3Track=this.createTrack(this.media));const $=Nc();for(let ae=0;ae<E.length;ae++){const ce=E[ae],xe=m[ce],Te=xe.startTime,De=C[ce],tt=(De==null?void 0:De.cues)||{};let at=(De==null?void 0:De.durationKnown)||!1,Bt=rf;const{duration:dr,endDate:ar}=xe;if(ar&&dr!==null)Bt=Te+dr,at=!0;else if(xe.endOnNext&&!at){const Gr=E.reduce((fn,Vr)=>{if(Vr!==xe.id){const on=m[Vr];if(on.class===xe.class&&on.startDate>xe.startDate&&(!fn||xe.startDate<fn.startDate))return on}return fn},null);Gr&&(Bt=Gr.startTime,at=!0)}const Zr=Object.keys(xe.attr);for(let Gr=0;Gr<Zr.length;Gr++){const fn=Zr[Gr];if(!Rn(fn))continue;const Vr=tt[fn];if(Vr)at&&!De.durationKnown?Vr.endTime=Bt:Math.abs(Vr.startTime-Te)>.01&&(Vr.startTime=Te,Vr.endTime=Bt);else if($){let on=xe.attr[fn];ja(fn)&&(on=vf(on));const Xr=Ff($,Te,Bt,{key:fn,data:on},we.dateRange);Xr&&(Xr.id=ce,this.id3Track.addCue(Xr),tt[fn]=Xr,this.hls.config.interstitialsController&&(fn==="X-ASSET-LIST"||fn==="X-ASSET-URL")&&Xr.addEventListener("enter",this.onEventCueEnter))}}C[ce]={cues:tt,dateRange:xe,durationKnown:at}}}}class Cf{constructor(t){this.hls=void 0,this.config=void 0,this.media=null,this.currentTime=0,this.stallCount=0,this._latency=null,this._targetLatencyUpdated=!1,this.onTimeupdate=()=>{const{media:n}=this,o=this.levelDetails;if(!n||!o)return;this.currentTime=n.currentTime;const m=this.computeLatency();if(m===null)return;this._latency=m;const{lowLatencyMode:E,maxLiveSyncPlaybackRate:C}=this.config;if(!E||C===1||!o.live)return;const U=this.targetLatency;if(U===null)return;const H=m-U,$=Math.min(this.maxLatency,U+o.targetduration);if(H<$&&H>.05&&this.forwardBufferLength>1){const ce=Math.min(2,Math.max(1,C)),xe=Math.round(2/(1+Math.exp(-.75*H-this.edgeStalled))*20)/20,Te=Math.min(ce,Math.max(1,xe));this.changeMediaPlaybackRate(n,Te)}else n.playbackRate!==1&&n.playbackRate!==0&&this.changeMediaPlaybackRate(n,1)},this.hls=t,this.config=t.config,this.registerListeners()}get levelDetails(){var t;return((t=this.hls)==null?void 0:t.latestLevelDetails)||null}get latency(){return this._latency||0}get maxLatency(){const{config:t}=this;if(t.liveMaxLatencyDuration!==void 0)return t.liveMaxLatencyDuration;const n=this.levelDetails;return n?t.liveMaxLatencyDurationCount*n.targetduration:0}get targetLatency(){const t=this.levelDetails;if(t===null||this.hls===null)return null;const{holdBack:n,partHoldBack:o,targetduration:m}=t,{liveSyncDuration:E,liveSyncDurationCount:C,lowLatencyMode:U}=this.config,H=this.hls.userConfig;let $=U&&o||n;(this._targetLatencyUpdated||H.liveSyncDuration||H.liveSyncDurationCount||$===0)&&($=E!==void 0?E:C*m);const ae=m;return $+Math.min(this.stallCount*this.config.liveSyncOnStallIncrease,ae)}set targetLatency(t){this.stallCount=0,this.config.liveSyncDuration=t,this._targetLatencyUpdated=!0}get liveSyncPosition(){const t=this.estimateLiveEdge(),n=this.targetLatency;if(t===null||n===null)return null;const o=this.levelDetails;if(o===null)return null;const m=o.edge,E=t-n-this.edgeStalled,C=m-o.totalduration,U=m-(this.config.lowLatencyMode&&o.partTarget||o.targetduration);return Math.min(Math.max(C,E),U)}get drift(){const t=this.levelDetails;return t===null?1:t.drift}get edgeStalled(){const t=this.levelDetails;if(t===null)return 0;const n=(this.config.lowLatencyMode&&t.partTarget||t.targetduration)*3;return Math.max(t.age-n,0)}get forwardBufferLength(){const{media:t}=this,n=this.levelDetails;if(!t||!n)return 0;const o=t.buffered.length;return(o?t.buffered.end(o-1):n.edge)-this.currentTime}destroy(){this.unregisterListeners(),this.onMediaDetaching(),this.hls=null}registerListeners(){const{hls:t}=this;t&&(t.on(s.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(s.MANIFEST_LOADING,this.onManifestLoading,this),t.on(s.LEVEL_UPDATED,this.onLevelUpdated,this),t.on(s.ERROR,this.onError,this))}unregisterListeners(){const{hls:t}=this;t&&(t.off(s.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(s.MANIFEST_LOADING,this.onManifestLoading,this),t.off(s.LEVEL_UPDATED,this.onLevelUpdated,this),t.off(s.ERROR,this.onError,this))}onMediaAttached(t,n){this.media=n.media,this.media.addEventListener("timeupdate",this.onTimeupdate)}onMediaDetaching(){this.media&&(this.media.removeEventListener("timeupdate",this.onTimeupdate),this.media=null)}onManifestLoading(){this._latency=null,this.stallCount=0}onLevelUpdated(t,{details:n}){n.advanced&&this.onTimeupdate(),!n.live&&this.media&&this.media.removeEventListener("timeupdate",this.onTimeupdate)}onError(t,n){var o;n.details===f.BUFFER_STALLED_ERROR&&(this.stallCount++,this.hls&&(o=this.levelDetails)!=null&&o.live&&this.hls.logger.warn("[latency-controller]: Stall detected, adjusting target latency"))}changeMediaPlaybackRate(t,n){var o,m;t.playbackRate!==n&&((o=this.hls)==null||o.logger.debug(`[latency-controller]: latency=${this.latency.toFixed(3)}, targetLatency=${(m=this.targetLatency)==null?void 0:m.toFixed(3)}, forwardBufferLength=${this.forwardBufferLength.toFixed(3)}: adjusting playback rate from ${t.playbackRate} to ${n}`),t.playbackRate=n)}estimateLiveEdge(){const t=this.levelDetails;return t===null?null:t.edge+t.age}computeLatency(){const t=this.estimateLiveEdge();return t===null?null:t-this.currentTime}}class Bf extends lu{constructor(t,n){super(t,"level-controller"),this._levels=[],this._firstLevel=-1,this._maxAutoLevel=-1,this._startLevel=void 0,this.currentLevel=null,this.currentLevelIndex=-1,this.manualLevelIndex=-1,this.steering=void 0,this.onParsedComplete=void 0,this.steering=n,this._registerListeners()}_registerListeners(){const{hls:t}=this;t.on(s.MANIFEST_LOADING,this.onManifestLoading,this),t.on(s.MANIFEST_LOADED,this.onManifestLoaded,this),t.on(s.LEVEL_LOADED,this.onLevelLoaded,this),t.on(s.LEVELS_UPDATED,this.onLevelsUpdated,this),t.on(s.FRAG_BUFFERED,this.onFragBuffered,this),t.on(s.ERROR,this.onError,this)}_unregisterListeners(){const{hls:t}=this;t.off(s.MANIFEST_LOADING,this.onManifestLoading,this),t.off(s.MANIFEST_LOADED,this.onManifestLoaded,this),t.off(s.LEVEL_LOADED,this.onLevelLoaded,this),t.off(s.LEVELS_UPDATED,this.onLevelsUpdated,this),t.off(s.FRAG_BUFFERED,this.onFragBuffered,this),t.off(s.ERROR,this.onError,this)}destroy(){this._unregisterListeners(),this.steering=null,this.resetLevels(),super.destroy()}stopLoad(){this._levels.forEach(n=>{n.loadError=0,n.fragmentError=0}),super.stopLoad()}resetLevels(){this._startLevel=void 0,this.manualLevelIndex=-1,this.currentLevelIndex=-1,this.currentLevel=null,this._levels=[],this._maxAutoLevel=-1}onManifestLoading(t,n){this.resetLevels()}onManifestLoaded(t,n){const o=this.hls.config.preferManagedMediaSource,m=[],E={},C={};let U=!1,H=!1,$=!1;n.levels.forEach(ae=>{var ce;const xe=ae.attrs;let{audioCodec:Te,videoCodec:De}=ae;Te&&(ae.audioCodec=Te=At(Te,o)||void 0),((ce=De)==null?void 0:ce.indexOf("avc1"))===0&&(De=ae.videoCodec=Ar(De));const{width:tt,height:at,unknownCodecs:Bt}=ae;let dr=Bt?Bt.length:0;if(Bt)for(let Yn=dr;Yn--;){const di=Bt[Yn];this.isAudioSupported(di)?(ae.audioCodec=Te=Te?`${Te},${di}`:di,dr--,zt.audio[Te.substring(0,4)]=2):this.isVideoSupported(di)&&(ae.videoCodec=De=De?`${De},${di}`:di,dr--,zt.video[De.substring(0,4)]=2)}if(U||(U=!!(tt&&at)),H||(H=!!De),$||($=!!Te),dr||Te&&!this.isAudioSupported(Te)||De&&!this.isVideoSupported(De)){this.log(`Some or all CODECS not supported "${xe.CODECS}"`);return}const{CODECS:ar,"FRAME-RATE":Zr,"HDCP-LEVEL":Gr,"PATHWAY-ID":fn,RESOLUTION:Vr,"VIDEO-RANGE":on}=xe,Xr=`${`${fn||"."}-`}${ae.bitrate}-${Vr}-${Zr}-${ar}-${on}-${Gr}`;if(E[Xr])if(E[Xr].uri!==ae.url&&!ae.attrs["PATHWAY-ID"]){const Yn=C[Xr]+=1;ae.attrs["PATHWAY-ID"]=new Array(Yn+1).join(".");const di=this.createLevel(ae);E[Xr]=di,m.push(di)}else E[Xr].addGroupId("audio",xe.AUDIO),E[Xr].addGroupId("text",xe.SUBTITLES);else{const Yn=this.createLevel(ae);E[Xr]=Yn,C[Xr]=1,m.push(Yn)}}),this.filterAndSortMediaOptions(m,n,U,H,$)}createLevel(t){const n=new mr(t),o=t.supplemental;if(o!=null&&o.videoCodec&&!this.isVideoSupported(o.videoCodec)){const m=new Error(`SUPPLEMENTAL-CODECS not supported "${o.videoCodec}"`);this.log(m.message),n.supportedResult=cn(m,[])}return n}isAudioSupported(t){return Oe(t,"audio",this.hls.config.preferManagedMediaSource)}isVideoSupported(t){return Oe(t,"video",this.hls.config.preferManagedMediaSource)}filterAndSortMediaOptions(t,n,o,m,E){let C=[],U=[],H=t;if((o||m)&&E&&(H=H.filter(({videoCodec:at,videoRange:Bt,width:dr,height:ar})=>(!!at||!!(dr&&ar))&&ot(Bt))),H.length===0){Promise.resolve().then(()=>{if(this.hls){let at="no level with compatible codecs found in manifest",Bt=at;n.levels.length&&(Bt=`one or more CODECS in variant not supported: ${jn(n.levels.map(ar=>ar.attrs.CODECS).filter((ar,Zr,Gr)=>Gr.indexOf(ar)===Zr))}`,this.warn(Bt),at+=` (${Bt})`);const dr=new Error(at);this.hls.trigger(s.ERROR,{type:c.MEDIA_ERROR,details:f.MANIFEST_INCOMPATIBLE_CODECS_ERROR,fatal:!0,url:n.url,error:dr,reason:Bt})}});return}n.audioTracks&&(C=n.audioTracks.filter(at=>!at.audioCodec||this.isAudioSupported(at.audioCodec)),Nf(C)),n.subtitles&&(U=n.subtitles,Nf(U));const $=H.slice(0);H.sort((at,Bt)=>{if(at.attrs["HDCP-LEVEL"]!==Bt.attrs["HDCP-LEVEL"])return(at.attrs["HDCP-LEVEL"]||"")>(Bt.attrs["HDCP-LEVEL"]||"")?1:-1;if(o&&at.height!==Bt.height)return at.height-Bt.height;if(at.frameRate!==Bt.frameRate)return at.frameRate-Bt.frameRate;if(at.videoRange!==Bt.videoRange)return gr.indexOf(at.videoRange)-gr.indexOf(Bt.videoRange);if(at.videoCodec!==Bt.videoCodec){const dr=Ke(at.videoCodec),ar=Ke(Bt.videoCodec);if(dr!==ar)return ar-dr}if(at.uri===Bt.uri&&at.codecSet!==Bt.codecSet){const dr=vt(at.codecSet),ar=vt(Bt.codecSet);if(dr!==ar)return ar-dr}return at.averageBitrate!==Bt.averageBitrate?at.averageBitrate-Bt.averageBitrate:0});let ae=$[0];if(this.steering&&(H=this.steering.filterParsedLevels(H),H.length!==$.length)){for(let at=0;at<$.length;at++)if($[at].pathwayId===H[0].pathwayId){ae=$[at];break}}this._levels=H;for(let at=0;at<H.length;at++)if(H[at]===ae){var ce;this._firstLevel=at;const Bt=ae.bitrate,dr=this.hls.bandwidthEstimate;if(this.log(`manifest loaded, ${H.length} level(s) found, first bitrate: ${Bt}`),((ce=this.hls.userConfig)==null?void 0:ce.abrEwmaDefaultEstimate)===void 0){const ar=Math.min(Bt,this.hls.config.abrEwmaDefaultEstimateMax);ar>dr&&dr===this.hls.abrEwmaDefaultEstimate&&(this.hls.bandwidthEstimate=ar)}break}const xe=E&&!m,Te=this.hls.config,De=!!(Te.audioStreamController&&Te.audioTrackController),tt={levels:H,audioTracks:C,subtitleTracks:U,sessionData:n.sessionData,sessionKeys:n.sessionKeys,firstLevel:this._firstLevel,stats:n.stats,audio:E,video:m,altAudio:De&&!xe&&C.some(at=>!!at.url)};this.hls.trigger(s.MANIFEST_PARSED,tt)}get levels(){return this._levels.length===0?null:this._levels}get loadLevelObj(){return this.currentLevel}get level(){return this.currentLevelIndex}set level(t){const n=this._levels;if(n.length===0)return;if(t<0||t>=n.length){const ae=new Error("invalid level idx"),ce=t<0;if(this.hls.trigger(s.ERROR,{type:c.OTHER_ERROR,details:f.LEVEL_SWITCH_ERROR,level:t,fatal:ce,error:ae,reason:ae.message}),ce)return;t=Math.min(t,n.length-1)}const o=this.currentLevelIndex,m=this.currentLevel,E=m?m.attrs["PATHWAY-ID"]:void 0,C=n[t],U=C.attrs["PATHWAY-ID"];if(this.currentLevelIndex=t,this.currentLevel=C,o===t&&m&&E===U)return;this.log(`Switching to level ${t} (${C.height?C.height+"p ":""}${C.videoRange?C.videoRange+" ":""}${C.codecSet?C.codecSet+" ":""}@${C.bitrate})${U?" with Pathway "+U:""} from level ${o}${E?" with Pathway "+E:""}`);const H={level:t,attrs:C.attrs,details:C.details,bitrate:C.bitrate,averageBitrate:C.averageBitrate,maxBitrate:C.maxBitrate,realBitrate:C.realBitrate,width:C.width,height:C.height,codecSet:C.codecSet,audioCodec:C.audioCodec,videoCodec:C.videoCodec,audioGroups:C.audioGroups,subtitleGroups:C.subtitleGroups,loaded:C.loaded,loadError:C.loadError,fragmentError:C.fragmentError,name:C.name,id:C.id,uri:C.uri,url:C.url,urlId:0,audioGroupIds:C.audioGroupIds,textGroupIds:C.textGroupIds};this.hls.trigger(s.LEVEL_SWITCHING,H);const $=C.details;if(!$||$.live){const ae=this.switchParams(C.uri,m==null?void 0:m.details,$);this.loadPlaylist(ae)}}get manualLevel(){return this.manualLevelIndex}set manualLevel(t){this.manualLevelIndex=t,this._startLevel===void 0&&(this._startLevel=t),t!==-1&&(this.level=t)}get firstLevel(){return this._firstLevel}set firstLevel(t){this._firstLevel=t}get startLevel(){if(this._startLevel===void 0){const t=this.hls.config.startLevel;return t!==void 0?t:this.hls.firstAutoLevel}return this._startLevel}set startLevel(t){this._startLevel=t}get pathways(){return this.steering?this.steering.pathways():[]}get pathwayPriority(){return this.steering?this.steering.pathwayPriority:null}set pathwayPriority(t){if(this.steering){const n=this.steering.pathways(),o=t.filter(m=>n.indexOf(m)!==-1);if(t.length<1){this.warn(`pathwayPriority ${t} should contain at least one pathway from list: ${n}`);return}this.steering.pathwayPriority=o}}onError(t,n){n.fatal||!n.context||n.context.type===h.LEVEL&&n.context.level===this.level&&this.checkRetry(n)}onFragBuffered(t,{frag:n}){if(n!==void 0&&n.type===u.MAIN){const o=n.elementaryStreams;if(!Object.keys(o).some(E=>!!o[E]))return;const m=this._levels[n.level];m!=null&&m.loadError&&(this.log(`Resetting level error count of ${m.loadError} on frag buffered`),m.loadError=0)}}onLevelLoaded(t,n){var o;const{level:m,details:E}=n,C=n.levelInfo;if(!C){var U;this.warn(`Invalid level index ${m}`),(U=n.deliveryDirectives)!=null&&U.skip&&(E.deltaUpdateFailed=!0);return}if(C===this.currentLevel||n.withoutMultiVariant){C.fragmentError===0&&(C.loadError=0);let H=C.details;H===n.details&&H.advanced&&(H=void 0),this.playlistLoaded(m,n,H)}else(o=n.deliveryDirectives)!=null&&o.skip&&(E.deltaUpdateFailed=!0)}loadPlaylist(t){super.loadPlaylist(),this.shouldLoadPlaylist(this.currentLevel)&&this.scheduleLoading(this.currentLevel,t)}loadingPlaylist(t,n){super.loadingPlaylist(t,n);const o=this.getUrlWithDirectives(t.uri,n),m=this.currentLevelIndex,E=t.attrs["PATHWAY-ID"],C=t.details,U=C==null?void 0:C.age;this.log(`Loading level index ${m}${(n==null?void 0:n.msn)!==void 0?" at sn "+n.msn+" part "+n.part:""}${E?" Pathway "+E:""}${U&&C.live?" age "+U.toFixed(1)+(C.type?" "+C.type||0:""):""} ${o}`),this.hls.trigger(s.LEVEL_LOADING,{url:o,level:m,levelInfo:t,pathwayId:t.attrs["PATHWAY-ID"],id:0,deliveryDirectives:n||null})}get nextLoadLevel(){return this.manualLevelIndex!==-1?this.manualLevelIndex:this.hls.nextAutoLevel}set nextLoadLevel(t){this.level=t,this.manualLevelIndex===-1&&(this.hls.nextAutoLevel=t)}removeLevel(t){var n;if(this._levels.length===1)return;const o=this._levels.filter((E,C)=>C!==t?!0:(this.steering&&this.steering.removeLevel(E),E===this.currentLevel&&(this.currentLevel=null,this.currentLevelIndex=-1,E.details&&E.details.fragments.forEach(U=>U.level=-1)),!1));Hn(o),this._levels=o,this.currentLevelIndex>-1&&(n=this.currentLevel)!=null&&n.details&&(this.currentLevelIndex=this.currentLevel.details.fragments[0].level),this.manualLevelIndex>-1&&(this.manualLevelIndex=this.currentLevelIndex);const m=o.length-1;this._firstLevel=Math.min(this._firstLevel,m),this._startLevel&&(this._startLevel=Math.min(this._startLevel,m)),this.hls.trigger(s.LEVELS_UPDATED,{levels:o})}onLevelsUpdated(t,{levels:n}){this._levels=n}checkMaxAutoUpdated(){const{autoLevelCapping:t,maxAutoLevel:n,maxHdcpLevel:o}=this.hls;this._maxAutoLevel!==n&&(this._maxAutoLevel=n,this.hls.trigger(s.MAX_AUTO_LEVEL_UPDATED,{autoLevelCapping:t,levels:this.levels,maxAutoLevel:n,minAutoLevel:this.hls.minAutoLevel,maxHdcpLevel:o}))}}function Nf(P){const t={};P.forEach(n=>{const o=n.groupId||"";n.id=t[o]=t[o]||0,t[o]++})}function nf(){return self.SourceBuffer||self.WebKitSourceBuffer}function $f(){if(!oe())return!1;const t=nf();return!t||t.prototype&&typeof t.prototype.appendBuffer=="function"&&typeof t.prototype.remove=="function"}function Tf(){if(!$f())return!1;const P=oe();return typeof(P==null?void 0:P.isTypeSupported)=="function"&&(["avc1.42E01E,mp4a.40.2","av01.0.01M.08","vp09.00.50.08"].some(t=>P.isTypeSupported(be(t,"video")))||["mp4a.40.2","fLaC"].some(t=>P.isTypeSupported(be(t,"audio"))))}function v(){var P;const t=nf();return typeof(t==null||(P=t.prototype)==null?void 0:P.changeType)=="function"}const A=100;class Z extends na{constructor(t,n,o){super(t,n,o,"stream-controller",u.MAIN),this.audioCodecSwap=!1,this.level=-1,this._forceStartLoad=!1,this._hasEnoughToStart=!1,this.altAudio=0,this.audioOnly=!1,this.fragPlaying=null,this.fragLastKbps=0,this.couldBacktrack=!1,this.backtrackFragment=null,this.audioCodecSwitch=!1,this.videoBuffer=null,this.onMediaPlaying=()=>{this.tick()},this.onMediaSeeked=()=>{const m=this.media,E=m?m.currentTime:null;if(E===null||!r(E)||(this.log(`Media seeked to ${E.toFixed(3)}`),!this.getBufferedFrag(E)))return;const C=this.getFwdBufferInfoAtPos(m,E,u.MAIN,0);if(C===null||C.len===0){this.warn(`Main forward buffer length at ${E} on "seeked" event ${C?C.len:"empty"})`);return}this.tick()},this.registerListeners()}registerListeners(){super.registerListeners();const{hls:t}=this;t.on(s.MANIFEST_PARSED,this.onManifestParsed,this),t.on(s.LEVEL_LOADING,this.onLevelLoading,this),t.on(s.LEVEL_LOADED,this.onLevelLoaded,this),t.on(s.FRAG_LOAD_EMERGENCY_ABORTED,this.onFragLoadEmergencyAborted,this),t.on(s.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),t.on(s.AUDIO_TRACK_SWITCHED,this.onAudioTrackSwitched,this),t.on(s.BUFFER_CREATED,this.onBufferCreated,this),t.on(s.BUFFER_FLUSHED,this.onBufferFlushed,this),t.on(s.LEVELS_UPDATED,this.onLevelsUpdated,this),t.on(s.FRAG_BUFFERED,this.onFragBuffered,this)}unregisterListeners(){super.unregisterListeners();const{hls:t}=this;t.off(s.MANIFEST_PARSED,this.onManifestParsed,this),t.off(s.LEVEL_LOADED,this.onLevelLoaded,this),t.off(s.FRAG_LOAD_EMERGENCY_ABORTED,this.onFragLoadEmergencyAborted,this),t.off(s.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),t.off(s.AUDIO_TRACK_SWITCHED,this.onAudioTrackSwitched,this),t.off(s.BUFFER_CREATED,this.onBufferCreated,this),t.off(s.BUFFER_FLUSHED,this.onBufferFlushed,this),t.off(s.LEVELS_UPDATED,this.onLevelsUpdated,this),t.off(s.FRAG_BUFFERED,this.onFragBuffered,this)}onHandlerDestroying(){this.onMediaPlaying=this.onMediaSeeked=null,this.unregisterListeners(),super.onHandlerDestroying()}startLoad(t,n){if(this.levels){const{lastCurrentTime:o,hls:m}=this;if(this.stopLoad(),this.setInterval(A),this.level=-1,!this.startFragRequested){let E=m.startLevel;E===-1&&(m.config.testBandwidth&&this.levels.length>1?(E=0,this.bitrateTest=!0):E=m.firstAutoLevel),m.nextLoadLevel=E,this.level=m.loadLevel,this._hasEnoughToStart=!!n}o>0&&t===-1&&!n&&(this.log(`Override startPosition with lastCurrentTime @${o.toFixed(3)}`),t=o),this.state=zr.IDLE,this.nextLoadPosition=this.lastCurrentTime=t+this.timelineOffset,this.startPosition=n?-1:t,this.tick()}else this._forceStartLoad=!0,this.state=zr.STOPPED}stopLoad(){this._forceStartLoad=!1,super.stopLoad()}doTick(){switch(this.state){case zr.WAITING_LEVEL:{const{levels:n,level:o}=this,m=n==null?void 0:n[o],E=m==null?void 0:m.details;if(E&&(!E.live||this.levelLastLoaded===m&&!this.waitForLive(m))){if(this.waitForCdnTuneIn(E))break;this.state=zr.IDLE;break}else if(this.hls.nextLoadLevel!==this.level){this.state=zr.IDLE;break}break}case zr.FRAG_LOADING_WAITING_RETRY:{var t;const n=self.performance.now(),o=this.retryDate;if(!o||n>=o||(t=this.media)!=null&&t.seeking){const{levels:m,level:E}=this,C=m==null?void 0:m[E];this.resetStartWhenNotLoaded(C||null),this.state=zr.IDLE}}break}this.state===zr.IDLE&&this.doTickIdle(),this.onTickEnd()}onTickEnd(){var t;super.onTickEnd(),(t=this.media)!=null&&t.readyState&&this.media.seeking===!1&&(this.lastCurrentTime=this.media.currentTime),this.checkFragmentChanged()}doTickIdle(){const{hls:t,levelLastLoaded:n,levels:o,media:m}=this;if(n===null||!m&&!this.primaryPrefetch&&(this.startFragRequested||!t.config.startFragPrefetch)||this.altAudio&&this.audioOnly)return;const E=this.buffering?t.nextLoadLevel:t.loadLevel;if(!(o!=null&&o[E]))return;const C=o[E],U=this.getMainFwdBufferInfo();if(U===null)return;const H=this.getLevelDetails();if(H&&this._streamEnded(U,H)){const tt={};this.altAudio===2&&(tt.type="video"),this.hls.trigger(s.BUFFER_EOS,tt),this.state=zr.ENDED;return}if(!this.buffering)return;t.loadLevel!==E&&t.manualLevel===-1&&this.log(`Adapting to level ${E} from level ${this.level}`),this.level=t.nextLoadLevel=E;const $=C.details;if(!$||this.state===zr.WAITING_LEVEL||this.waitForLive(C)){this.level=E,this.state=zr.WAITING_LEVEL,this.startFragRequested=!1;return}const ae=U.len,ce=this.getMaxBufferLength(C.maxBitrate);if(ae>=ce)return;this.backtrackFragment&&this.backtrackFragment.start>U.end&&(this.backtrackFragment=null);const xe=this.backtrackFragment?this.backtrackFragment.start:U.end;let Te=this.getNextFragment(xe,$);if(this.couldBacktrack&&!this.fragPrevious&&Te&&_e(Te)&&this.fragmentTracker.getState(Te)!==Er.OK){var De;const at=((De=this.backtrackFragment)!=null?De:Te).sn-$.startSN,Bt=$.fragments[at-1];Bt&&Te.cc===Bt.cc&&(Te=Bt,this.fragmentTracker.removeFragment(Bt))}else this.backtrackFragment&&U.len&&(this.backtrackFragment=null);if(Te&&this.isLoopLoading(Te,xe)){if(!Te.gap){const at=this.audioOnly&&!this.altAudio?F.AUDIO:F.VIDEO,Bt=(at===F.VIDEO?this.videoBuffer:this.mediaBuffer)||this.media;Bt&&this.afterBufferFlushed(Bt,at,u.MAIN)}Te=this.getNextFragmentLoopLoading(Te,$,U,u.MAIN,ce)}Te&&(Te.initSegment&&!Te.initSegment.data&&!this.bitrateTest&&(Te=Te.initSegment),this.loadFragment(Te,C,xe))}loadFragment(t,n,o){const m=this.fragmentTracker.getState(t);m===Er.NOT_LOADED||m===Er.PARTIAL?_e(t)?this.bitrateTest?(this.log(`Fragment ${t.sn} of level ${t.level} is being downloaded to test bitrate and will not be buffered`),this._loadBitrateTestFrag(t,n)):super.loadFragment(t,n,o):this._loadInitSegment(t,n):this.clearTrackerIfNeeded(t)}getBufferedFrag(t){return this.fragmentTracker.getBufferedFrag(t,u.MAIN)}followingBufferedFrag(t){return t?this.getBufferedFrag(t.end+.5):null}immediateLevelSwitch(){this.abortCurrentFrag(),this.flushMainBuffer(0,Number.POSITIVE_INFINITY)}nextLevelSwitch(){const{levels:t,media:n}=this;if(n!=null&&n.readyState){let o;const m=this.getAppendedFrag(n.currentTime);m&&m.start>1&&this.flushMainBuffer(0,m.start-1);const E=this.getLevelDetails();if(E!=null&&E.live){const U=this.getMainFwdBufferInfo();if(!U||U.len<E.targetduration*2)return}if(!n.paused&&t){const U=this.hls.nextLoadLevel,H=t[U],$=this.fragLastKbps;$&&this.fragCurrent?o=this.fragCurrent.duration*H.maxBitrate/(1e3*$)+1:o=0}else o=0;const C=this.getBufferedFrag(n.currentTime+o);if(C){const U=this.followingBufferedFrag(C);if(U){this.abortCurrentFrag();const H=U.maxStartPTS?U.maxStartPTS:U.start,$=U.duration,ae=Math.max(C.end,H+Math.min(Math.max($-this.config.maxFragLookUpTolerance,$*(this.couldBacktrack?.5:.125)),$*(this.couldBacktrack?.75:.25)));this.flushMainBuffer(ae,Number.POSITIVE_INFINITY)}}}}abortCurrentFrag(){const t=this.fragCurrent;switch(this.fragCurrent=null,this.backtrackFragment=null,t&&(t.abortRequests(),this.fragmentTracker.removeFragment(t)),this.state){case zr.KEY_LOADING:case zr.FRAG_LOADING:case zr.FRAG_LOADING_WAITING_RETRY:case zr.PARSING:case zr.PARSED:this.state=zr.IDLE;break}this.nextLoadPosition=this.getLoadPosition()}flushMainBuffer(t,n){super.flushMainBuffer(t,n,this.altAudio===2?"video":null)}onMediaAttached(t,n){super.onMediaAttached(t,n);const o=n.media;iu(o,"playing",this.onMediaPlaying),iu(o,"seeked",this.onMediaSeeked)}onMediaDetaching(t,n){const{media:o}=this;o&&(qo(o,"playing",this.onMediaPlaying),qo(o,"seeked",this.onMediaSeeked)),this.videoBuffer=null,this.fragPlaying=null,super.onMediaDetaching(t,n),!n.transferMedia&&(this._hasEnoughToStart=!1)}onManifestLoading(){super.onManifestLoading(),this.log("Trigger BUFFER_RESET"),this.hls.trigger(s.BUFFER_RESET,void 0),this.couldBacktrack=!1,this.fragLastKbps=0,this.fragPlaying=this.backtrackFragment=null,this.altAudio=0,this.audioOnly=!1}onManifestParsed(t,n){let o=!1,m=!1;n.levels.forEach(E=>{const C=E.audioCodec;C&&(o=o||C.indexOf("mp4a.40.2")!==-1,m=m||C.indexOf("mp4a.40.5")!==-1)}),this.audioCodecSwitch=o&&m&&!v(),this.audioCodecSwitch&&this.log("Both AAC/HE-AAC audio found in levels; declaring level codec as HE-AAC"),this.levels=n.levels,this.startFragRequested=!1}onLevelLoading(t,n){const{levels:o}=this;if(!o||this.state!==zr.IDLE)return;const m=n.levelInfo;(!m.details||m.details.live&&(this.levelLastLoaded!==m||m.details.expired)||this.waitForCdnTuneIn(m.details))&&(this.state=zr.WAITING_LEVEL)}onLevelLoaded(t,n){var o;const{levels:m,startFragRequested:E}=this,C=n.level,U=n.details,H=U.totalduration;if(!m){this.warn(`Levels were reset while loading level ${C}`);return}this.log(`Level ${C} loaded [${U.startSN},${U.endSN}]${U.lastPartSn?`[part-${U.lastPartSn}-${U.lastPartIndex}]`:""}, cc [${U.startCC}, ${U.endCC}] duration:${H}`);const $=n.levelInfo,ae=this.fragCurrent;ae&&(this.state===zr.FRAG_LOADING||this.state===zr.FRAG_LOADING_WAITING_RETRY)&&ae.level!==n.level&&ae.loader&&this.abortCurrentFrag();let ce=0;if(U.live||(o=$.details)!=null&&o.live){var xe;if(this.checkLiveUpdate(U),U.deltaUpdateFailed)return;ce=this.alignPlaylists(U,$.details,(xe=this.levelLastLoaded)==null?void 0:xe.details)}if($.details=U,this.levelLastLoaded=$,E||this.setStartPosition(U,ce),this.hls.trigger(s.LEVEL_UPDATED,{details:U,level:C}),this.state===zr.WAITING_LEVEL){if(this.waitForCdnTuneIn(U))return;this.state=zr.IDLE}E&&U.live&&this.synchronizeToLiveEdge(U),this.tick()}synchronizeToLiveEdge(t){const{config:n,media:o}=this;if(!o)return;const m=this.hls.liveSyncPosition,E=this.getLoadPosition(),C=t.fragmentStart,U=t.edge,H=E>=C-n.maxFragLookUpTolerance&&E<=U;if(m!==null&&o.duration>m&&(E<m||!H)){const $=n.liveMaxLatencyDuration!==void 0?n.liveMaxLatencyDuration:n.liveMaxLatencyDurationCount*t.targetduration;(!H&&o.readyState<4||E<U-$)&&(this._hasEnoughToStart||(this.nextLoadPosition=m),o.readyState&&(this.warn(`Playback: ${E.toFixed(3)} is located too far from the end of live sliding playlist: ${U}, reset currentTime to : ${m.toFixed(3)}`),o.currentTime=m))}}_handleFragmentLoadProgress(t){var n;const o=t.frag,{part:m,payload:E}=t,{levels:C}=this;if(!C){this.warn(`Levels were reset while fragment load was in progress. Fragment ${o.sn} of level ${o.level} will not be buffered`);return}const U=C[o.level];if(!U){this.warn(`Level ${o.level} not found on progress`);return}const H=U.details;if(!H){this.warn(`Dropping fragment ${o.sn} of level ${o.level} after level details were reset`),this.fragmentTracker.removeFragment(o);return}const $=U.videoCodec,ae=H.PTSKnown||!H.live,ce=(n=o.initSegment)==null?void 0:n.data,xe=this._getAudioCodec(U),Te=this.transmuxer=this.transmuxer||new Uo(this.hls,u.MAIN,this._handleTransmuxComplete.bind(this),this._handleTransmuxerFlush.bind(this)),De=m?m.index:-1,tt=De!==-1,at=new $a(o.level,o.sn,o.stats.chunkCount,E.byteLength,De,tt),Bt=this.initPTS[o.cc];Te.push(E,ce,xe,$,o,m,H.totalduration,ae,at,Bt)}onAudioTrackSwitching(t,n){const o=this.hls,m=this.altAudio===2;if(ei(n.url,o))this.altAudio=1;else{if(this.mediaBuffer!==this.media){this.log("Switching on main audio, use media.buffered to schedule main fragment loading"),this.mediaBuffer=this.media;const C=this.fragCurrent;C&&(this.log("Switching to main audio track, cancel main fragment load"),C.abortRequests(),this.fragmentTracker.removeFragment(C)),this.resetTransmuxer(),this.resetLoadingState()}else this.audioOnly&&this.resetTransmuxer();if(m){this.fragmentTracker.removeAllFragments(),o.once(s.BUFFER_FLUSHED,()=>{var C;(C=this.hls)==null||C.trigger(s.AUDIO_TRACK_SWITCHED,n)}),o.trigger(s.BUFFER_FLUSHING,{startOffset:0,endOffset:Number.POSITIVE_INFINITY,type:null});return}o.trigger(s.AUDIO_TRACK_SWITCHED,n)}}onAudioTrackSwitched(t,n){const o=ei(n.url,this.hls);if(o){const m=this.videoBuffer;m&&this.mediaBuffer!==m&&(this.log("Switching on alternate audio, use video.buffered to schedule main fragment loading"),this.mediaBuffer=m)}this.altAudio=o?2:0,this.tick()}onBufferCreated(t,n){const o=n.tracks;let m,E,C=!1;for(const U in o){const H=o[U];if(H.id==="main"){if(E=U,m=H,U==="video"){const $=o[U];$&&(this.videoBuffer=$.buffer)}}else C=!0}C&&m?(this.log(`Alternate track found, use ${E}.buffered to schedule main fragment loading`),this.mediaBuffer=m.buffer):this.mediaBuffer=this.media}onFragBuffered(t,n){const{frag:o,part:m}=n,E=o.type===u.MAIN;if(E){if(this.fragContextChanged(o)){this.warn(`Fragment ${o.sn}${m?" p: "+m.index:""} of level ${o.level} finished buffering, but was aborted. state: ${this.state}`),this.state===zr.PARSED&&(this.state=zr.IDLE);return}const U=m?m.stats:o.stats;this.fragLastKbps=Math.round(8*U.total/(U.buffering.end-U.loading.first)),_e(o)&&(this.fragPrevious=o),this.fragBufferedComplete(o,m)}const C=this.media;C&&(!this._hasEnoughToStart&&yi.getBuffered(C).length&&(this._hasEnoughToStart=!0,this.seekToStartPos()),E&&this.tick())}get hasEnoughToStart(){return this._hasEnoughToStart}onError(t,n){var o;if(n.fatal){this.state=zr.ERROR;return}switch(n.details){case f.FRAG_GAP:case f.FRAG_PARSING_ERROR:case f.FRAG_DECRYPT_ERROR:case f.FRAG_LOAD_ERROR:case f.FRAG_LOAD_TIMEOUT:case f.KEY_LOAD_ERROR:case f.KEY_LOAD_TIMEOUT:this.onFragmentOrKeyLoadError(u.MAIN,n);break;case f.LEVEL_LOAD_ERROR:case f.LEVEL_LOAD_TIMEOUT:case f.LEVEL_PARSING_ERROR:!n.levelRetry&&this.state===zr.WAITING_LEVEL&&((o=n.context)==null?void 0:o.type)===h.LEVEL&&(this.state=zr.IDLE);break;case f.BUFFER_ADD_CODEC_ERROR:case f.BUFFER_APPEND_ERROR:if(n.parent!=="main")return;this.resetLoadingState();break;case f.BUFFER_FULL_ERROR:if(n.parent!=="main")return;this.reduceLengthAndFlushBuffer(n)&&this.flushMainBuffer(0,Number.POSITIVE_INFINITY);break;case f.INTERNAL_EXCEPTION:this.recoverWorkerError(n);break}}onFragLoadEmergencyAborted(){this.state=zr.IDLE,this._hasEnoughToStart||(this.startFragRequested=!1,this.nextLoadPosition=this.lastCurrentTime),this.tickImmediate()}onBufferFlushed(t,{type:n}){if(n!==F.AUDIO||!this.altAudio){const o=(n===F.VIDEO?this.videoBuffer:this.mediaBuffer)||this.media;o&&(this.afterBufferFlushed(o,n,u.MAIN),this.tick())}}onLevelsUpdated(t,n){this.level>-1&&this.fragCurrent&&(this.level=this.fragCurrent.level,this.level===-1&&this.resetWhenMissingContext(this.fragCurrent)),this.levels=n.levels}swapAudioCodec(){this.audioCodecSwap=!this.audioCodecSwap}seekToStartPos(){const{media:t}=this;if(!t)return;const n=t.currentTime;let o=this.startPosition;if(o>=0&&n<o){if(t.seeking){this.log(`could not seek to ${o}, already seeking at ${n}`);return}const m=this.timelineOffset;m&&o&&(o+=m);const E=this.getLevelDetails(),C=yi.getBuffered(t),U=C.length?C.start(0):0,H=U-o,$=Math.max(this.config.maxBufferHole,this.config.maxFragLookUpTolerance);H>0&&(H<$||this.loadingParts&&H<2*((E==null?void 0:E.partTarget)||0))&&(this.log(`adjusting start position by ${H} to match buffer start`),o+=H,this.startPosition=o),n<o&&(this.log(`seek to target start position ${o} from current time ${n} buffer start ${U}`),t.currentTime=o)}}_getAudioCodec(t){let n=this.config.defaultAudioCodec||t.audioCodec;return this.audioCodecSwap&&n&&(this.log("Swapping audio codec"),n.indexOf("mp4a.40.5")!==-1?n="mp4a.40.2":n="mp4a.40.5"),n}_loadBitrateTestFrag(t,n){t.bitrateTest=!0,this._doFragLoad(t,n).then(o=>{const{hls:m}=this,E=o==null?void 0:o.frag;if(!E||this.fragContextChanged(E))return;n.fragmentError=0,this.state=zr.IDLE,this.startFragRequested=!1,this.bitrateTest=!1;const C=E.stats;C.parsing.start=C.parsing.end=C.buffering.start=C.buffering.end=self.performance.now(),m.trigger(s.FRAG_LOADED,o),E.bitrateTest=!1})}_handleTransmuxComplete(t){var n;const o=this.playlistType,{hls:m}=this,{remuxResult:E,chunkMeta:C}=t,U=this.getCurrentContext(C);if(!U){this.resetWhenMissingContext(C);return}const{frag:H,part:$,level:ae}=U,{video:ce,text:xe,id3:Te,initSegment:De}=E,{details:tt}=ae,at=this.altAudio?void 0:E.audio;if(this.fragContextChanged(H)){this.fragmentTracker.removeFragment(H);return}if(this.state=zr.PARSING,De){if(De!=null&&De.tracks){const ar=H.initSegment||H;this._bufferInitSegment(ae,De.tracks,ar,C),m.trigger(s.FRAG_PARSING_INIT_SEGMENT,{frag:ar,id:o,tracks:De.tracks})}const Bt=De.initPTS,dr=De.timescale;r(Bt)&&(this.initPTS[H.cc]={baseTime:Bt,timescale:dr},m.trigger(s.INIT_PTS_FOUND,{frag:H,id:o,initPTS:Bt,timescale:dr}))}if(ce&&tt){at&&ce.type==="audiovideo"&&this.logMuxedErr(H);const Bt=tt.fragments[H.sn-1-tt.startSN],dr=H.sn===tt.startSN,ar=!Bt||H.cc>Bt.cc;if(E.independent!==!1){const{startPTS:Zr,endPTS:Gr,startDTS:fn,endDTS:Vr}=ce;if($)$.elementaryStreams[ce.type]={startPTS:Zr,endPTS:Gr,startDTS:fn,endDTS:Vr};else if(ce.firstKeyFrame&&ce.independent&&C.id===1&&!ar&&(this.couldBacktrack=!0),ce.dropped&&ce.independent){const on=this.getMainFwdBufferInfo(),_n=(on?on.end:this.getLoadPosition())+this.config.maxBufferHole,Xr=ce.firstKeyFramePTS?ce.firstKeyFramePTS:Zr;if(!dr&&_n<Xr-this.config.maxBufferHole&&!ar){this.backtrack(H);return}else ar&&(H.gap=!0);H.setElementaryStreamInfo(ce.type,H.start,Gr,H.start,Vr,!0)}else dr&&Zr-(tt.appliedTimelineOffset||0)>Ec&&(H.gap=!0);H.setElementaryStreamInfo(ce.type,Zr,Gr,fn,Vr),this.backtrackFragment&&(this.backtrackFragment=H),this.bufferFragmentData(ce,H,$,C,dr||ar)}else if(dr||ar)H.gap=!0;else{this.backtrack(H);return}}if(at){const{startPTS:Bt,endPTS:dr,startDTS:ar,endDTS:Zr}=at;$&&($.elementaryStreams[F.AUDIO]={startPTS:Bt,endPTS:dr,startDTS:ar,endDTS:Zr}),H.setElementaryStreamInfo(F.AUDIO,Bt,dr,ar,Zr),this.bufferFragmentData(at,H,$,C)}if(tt&&Te!=null&&(n=Te.samples)!=null&&n.length){const Bt={id:o,frag:H,details:tt,samples:Te.samples};m.trigger(s.FRAG_PARSING_METADATA,Bt)}if(tt&&xe){const Bt={id:o,frag:H,details:tt,samples:xe.samples};m.trigger(s.FRAG_PARSING_USERDATA,Bt)}}logMuxedErr(t){this.warn(`${_e(t)?"Media":"Init"} segment with muxed audiovideo where only video expected: ${t.url}`)}_bufferInitSegment(t,n,o,m){if(this.state!==zr.PARSING)return;this.audioOnly=!!n.audio&&!n.video,this.altAudio&&!this.audioOnly&&(delete n.audio,n.audiovideo&&this.logMuxedErr(o));const{audio:E,video:C,audiovideo:U}=n;if(E){let $=qr(E.codec,t.audioCodec);$==="mp4a"&&($="mp4a.40.5");const ae=navigator.userAgent.toLowerCase();if(this.audioCodecSwitch){$&&($.indexOf("mp4a.40.5")!==-1?$="mp4a.40.2":$="mp4a.40.5");const ce=E.metadata;ce&&"channelCount"in ce&&(ce.channelCount||1)!==1&&ae.indexOf("firefox")===-1&&($="mp4a.40.5")}$&&$.indexOf("mp4a.40.5")!==-1&&ae.indexOf("android")!==-1&&E.container!=="audio/mpeg"&&($="mp4a.40.2",this.log(`Android: force audio codec to ${$}`)),t.audioCodec&&t.audioCodec!==$&&this.log(`Swapping manifest audio codec "${t.audioCodec}" for "${$}"`),E.levelCodec=$,E.id=u.MAIN,this.log(`Init audio buffer, container:${E.container}, codecs[selected/level/parsed]=[${$||""}/${t.audioCodec||""}/${E.codec}]`),delete n.audiovideo}if(C){C.levelCodec=t.videoCodec,C.id=u.MAIN;const $=C.codec;if(($==null?void 0:$.length)===4)switch($){case"hvc1":case"hev1":C.codec="hvc1.1.6.L120.90";break;case"av01":C.codec="av01.0.04M.08";break;case"avc1":C.codec="avc1.42e01e";break}this.log(`Init video buffer, container:${C.container}, codecs[level/parsed]=[${t.videoCodec||""}/${$}]${C.codec!==$?" parsed-corrected="+C.codec:""}${C.supplemental?" supplemental="+C.supplemental:""}`),delete n.audiovideo}U&&(this.log(`Init audiovideo buffer, container:${U.container}, codecs[level/parsed]=[${t.codecs}/${U.codec}]`),delete n.video,delete n.audio);const H=Object.keys(n);if(H.length){if(this.hls.trigger(s.BUFFER_CODECS,n),!this.hls)return;H.forEach($=>{const ce=n[$].initSegment;ce!=null&&ce.byteLength&&this.hls.trigger(s.BUFFER_APPENDING,{type:$,data:ce,frag:o,part:null,chunkMeta:m,parent:o.type})})}this.tickImmediate()}getMainFwdBufferInfo(){const t=this.mediaBuffer&&this.altAudio===2?this.mediaBuffer:this.media;return this.getFwdBufferInfo(t,u.MAIN)}get maxBufferLength(){const{levels:t,level:n}=this,o=t==null?void 0:t[n];return o?this.getMaxBufferLength(o.maxBitrate):this.config.maxBufferLength}backtrack(t){this.couldBacktrack=!0,this.backtrackFragment=t,this.resetTransmuxer(),this.flushBufferGap(t),this.fragmentTracker.removeFragment(t),this.fragPrevious=null,this.nextLoadPosition=t.start,this.state=zr.IDLE}checkFragmentChanged(){const t=this.media;let n=null;if(t&&t.readyState>1&&t.seeking===!1){const o=t.currentTime;if(yi.isBuffered(t,o)?n=this.getAppendedFrag(o):yi.isBuffered(t,o+.1)&&(n=this.getAppendedFrag(o+.1)),n){this.backtrackFragment=null;const m=this.fragPlaying,E=n.level;(!m||n.sn!==m.sn||m.level!==E)&&(this.fragPlaying=n,this.hls.trigger(s.FRAG_CHANGED,{frag:n}),(!m||m.level!==E)&&this.hls.trigger(s.LEVEL_SWITCHED,{level:E}))}}}get nextLevel(){const t=this.nextBufferedFrag;return t?t.level:-1}get currentFrag(){var t;if(this.fragPlaying)return this.fragPlaying;const n=((t=this.media)==null?void 0:t.currentTime)||this.lastCurrentTime;return r(n)?this.getAppendedFrag(n):null}get currentProgramDateTime(){var t;const n=((t=this.media)==null?void 0:t.currentTime)||this.lastCurrentTime;if(r(n)){const o=this.getLevelDetails(),m=this.currentFrag||(o?En(null,o.fragments,n):null);if(m){const E=m.programDateTime;if(E!==null){const C=E+(n-m.start)*1e3;return new Date(C)}}}return null}get currentLevel(){const t=this.currentFrag;return t?t.level:-1}get nextBufferedFrag(){const t=this.currentFrag;return t?this.followingBufferedFrag(t):null}get forceStartLoad(){return this._forceStartLoad}}class ve{constructor(t){this.config=void 0,this.keyUriToKeyInfo={},this.emeController=null,this.config=t}abort(t){for(const o in this.keyUriToKeyInfo){const m=this.keyUriToKeyInfo[o].loader;if(m){var n;if(t&&t!==((n=m.context)==null?void 0:n.frag.type))return;m.abort()}}}detach(){for(const t in this.keyUriToKeyInfo){const n=this.keyUriToKeyInfo[t];(n.mediaKeySessionContext||n.decryptdata.isCommonEncryption)&&delete this.keyUriToKeyInfo[t]}}destroy(){this.detach();for(const t in this.keyUriToKeyInfo){const n=this.keyUriToKeyInfo[t].loader;n&&n.destroy()}this.keyUriToKeyInfo={}}createKeyLoadError(t,n=f.KEY_LOAD_ERROR,o,m,E){return new Na({type:c.NETWORK_ERROR,details:n,fatal:!1,frag:t,response:E,error:o,networkDetails:m})}loadClear(t,n){if(this.emeController&&this.config.emeEnabled){const{sn:o,cc:m}=t;for(let E=0;E<n.length;E++){const C=n[E];if(m<=C.cc&&(o==="initSegment"||C.sn==="initSegment"||o<C.sn)){this.emeController.selectKeySystemFormat(C).then(U=>{C.setKeyFormat(U)});break}}}}load(t){return!t.decryptdata&&t.encrypted&&this.emeController&&this.config.emeEnabled?this.emeController.selectKeySystemFormat(t).then(n=>this.loadInternal(t,n)):this.loadInternal(t)}loadInternal(t,n){var o,m;n&&t.setKeyFormat(n);const E=t.decryptdata;if(!E){const $=new Error(n?`Expected frag.decryptdata to be defined after setting format ${n}`:"Missing decryption data on fragment in onKeyLoading");return Promise.reject(this.createKeyLoadError(t,f.KEY_LOAD_ERROR,$))}const C=E.uri;if(!C)return Promise.reject(this.createKeyLoadError(t,f.KEY_LOAD_ERROR,new Error(`Invalid key URI: "${C}"`)));let U=this.keyUriToKeyInfo[C];if((o=U)!=null&&o.decryptdata.key)return E.key=U.decryptdata.key,Promise.resolve({frag:t,keyInfo:U});if((m=U)!=null&&m.keyLoadPromise){var H;switch((H=U.mediaKeySessionContext)==null?void 0:H.keyStatus){case void 0:case"status-pending":case"usable":case"usable-in-future":return U.keyLoadPromise.then($=>(E.key=$.keyInfo.decryptdata.key,{frag:t,keyInfo:U}))}}switch(U=this.keyUriToKeyInfo[C]={decryptdata:E,keyLoadPromise:null,loader:null,mediaKeySessionContext:null},E.method){case"ISO-23001-7":case"SAMPLE-AES":case"SAMPLE-AES-CENC":case"SAMPLE-AES-CTR":return E.keyFormat==="identity"?this.loadKeyHTTP(U,t):this.loadKeyEME(U,t);case"AES-128":case"AES-256":case"AES-256-CTR":return this.loadKeyHTTP(U,t);default:return Promise.reject(this.createKeyLoadError(t,f.KEY_LOAD_ERROR,new Error(`Key supplied with unsupported METHOD: "${E.method}"`)))}}loadKeyEME(t,n){const o={frag:n,keyInfo:t};if(this.emeController&&this.config.emeEnabled){const m=this.emeController.loadKey(o);if(m)return(t.keyLoadPromise=m.then(E=>(t.mediaKeySessionContext=E,o))).catch(E=>{throw t.keyLoadPromise=null,E})}return Promise.resolve(o)}loadKeyHTTP(t,n){const o=this.config,m=o.loader,E=new m(o);return n.keyLoader=t.loader=E,t.keyLoadPromise=new Promise((C,U)=>{const H={keyInfo:t,frag:n,responseType:"arraybuffer",url:t.decryptdata.uri},$=o.keyLoadPolicy.default,ae={loadPolicy:$,timeout:$.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0},ce={onSuccess:(xe,Te,De,tt)=>{const{frag:at,keyInfo:Bt,url:dr}=De;if(!at.decryptdata||Bt!==this.keyUriToKeyInfo[dr])return U(this.createKeyLoadError(at,f.KEY_LOAD_ERROR,new Error("after key load, decryptdata unset or changed"),tt));Bt.decryptdata.key=at.decryptdata.key=new Uint8Array(xe.data),at.keyLoader=null,Bt.loader=null,C({frag:at,keyInfo:Bt})},onError:(xe,Te,De,tt)=>{this.resetLoader(Te),U(this.createKeyLoadError(n,f.KEY_LOAD_ERROR,new Error(`HTTP Error ${xe.code} loading key ${xe.text}`),De,b({url:H.url,data:void 0},xe)))},onTimeout:(xe,Te,De)=>{this.resetLoader(Te),U(this.createKeyLoadError(n,f.KEY_LOAD_TIMEOUT,new Error("key loading timed out"),De))},onAbort:(xe,Te,De)=>{this.resetLoader(Te),U(this.createKeyLoadError(n,f.INTERNAL_ABORTED,new Error("key loading aborted"),De))}};E.load(H,ae,ce)})}resetLoader(t){const{frag:n,keyInfo:o,url:m}=t,E=o.loader;n.keyLoader===E&&(n.keyLoader=null,o.loader=null),delete this.keyUriToKeyInfo[m],E&&E.destroy()}}function Le(P){const{type:t}=P;switch(t){case h.AUDIO_TRACK:return u.AUDIO;case h.SUBTITLE_TRACK:return u.SUBTITLE;default:return u.MAIN}}function lt(P,t){let n=P.url;return(n===void 0||n.indexOf("data:")===0)&&(n=t.url),n}class jt{constructor(t){this.hls=void 0,this.loaders=Object.create(null),this.variableList=null,this.onManifestLoaded=this.checkAutostartLoad,this.hls=t,this.registerListeners()}startLoad(t){}stopLoad(){this.destroyInternalLoaders()}registerListeners(){const{hls:t}=this;t.on(s.MANIFEST_LOADING,this.onManifestLoading,this),t.on(s.LEVEL_LOADING,this.onLevelLoading,this),t.on(s.AUDIO_TRACK_LOADING,this.onAudioTrackLoading,this),t.on(s.SUBTITLE_TRACK_LOADING,this.onSubtitleTrackLoading,this),t.on(s.LEVELS_UPDATED,this.onLevelsUpdated,this)}unregisterListeners(){const{hls:t}=this;t.off(s.MANIFEST_LOADING,this.onManifestLoading,this),t.off(s.LEVEL_LOADING,this.onLevelLoading,this),t.off(s.AUDIO_TRACK_LOADING,this.onAudioTrackLoading,this),t.off(s.SUBTITLE_TRACK_LOADING,this.onSubtitleTrackLoading,this),t.off(s.LEVELS_UPDATED,this.onLevelsUpdated,this)}createInternalLoader(t){const n=this.hls.config,o=n.pLoader,m=n.loader,E=o||m,C=new E(n);return this.loaders[t.type]=C,C}getInternalLoader(t){return this.loaders[t.type]}resetInternalLoader(t){this.loaders[t]&&delete this.loaders[t]}destroyInternalLoaders(){for(const t in this.loaders){const n=this.loaders[t];n&&n.destroy(),this.resetInternalLoader(t)}}destroy(){this.variableList=null,this.unregisterListeners(),this.destroyInternalLoaders()}onManifestLoading(t,n){const{url:o}=n;this.variableList=null,this.load({id:null,level:0,responseType:"text",type:h.MANIFEST,url:o,deliveryDirectives:null,levelOrTrack:null})}onLevelLoading(t,n){const{id:o,level:m,pathwayId:E,url:C,deliveryDirectives:U,levelInfo:H}=n;this.load({id:o,level:m,pathwayId:E,responseType:"text",type:h.LEVEL,url:C,deliveryDirectives:U,levelOrTrack:H})}onAudioTrackLoading(t,n){const{id:o,groupId:m,url:E,deliveryDirectives:C,track:U}=n;this.load({id:o,groupId:m,level:null,responseType:"text",type:h.AUDIO_TRACK,url:E,deliveryDirectives:C,levelOrTrack:U})}onSubtitleTrackLoading(t,n){const{id:o,groupId:m,url:E,deliveryDirectives:C,track:U}=n;this.load({id:o,groupId:m,level:null,responseType:"text",type:h.SUBTITLE_TRACK,url:E,deliveryDirectives:C,levelOrTrack:U})}onLevelsUpdated(t,n){const o=this.loaders[h.LEVEL];if(o){const m=o.context;m&&!n.levels.some(E=>E===m.levelOrTrack)&&(o.abort(),delete this.loaders[h.LEVEL])}}load(t){var n;const o=this.hls.config;let m=this.getInternalLoader(t);if(m){const $=this.hls.logger,ae=m.context;if(ae&&ae.levelOrTrack===t.levelOrTrack&&(ae.url===t.url||ae.deliveryDirectives&&!t.deliveryDirectives)){ae.url===t.url?$.log(`[playlist-loader]: ignore ${t.url} ongoing request`):$.log(`[playlist-loader]: ignore ${t.url} in favor of ${ae.url}`);return}$.log(`[playlist-loader]: aborting previous loader for type: ${t.type}`),m.abort()}let E;if(t.type===h.MANIFEST?E=o.manifestLoadPolicy.default:E=y({},o.playlistLoadPolicy.default,{timeoutRetry:null,errorRetry:null}),m=this.createInternalLoader(t),r((n=t.deliveryDirectives)==null?void 0:n.part)){let $;if(t.type===h.LEVEL&&t.level!==null?$=this.hls.levels[t.level].details:t.type===h.AUDIO_TRACK&&t.id!==null?$=this.hls.audioTracks[t.id].details:t.type===h.SUBTITLE_TRACK&&t.id!==null&&($=this.hls.subtitleTracks[t.id].details),$){const ae=$.partTarget,ce=$.targetduration;if(ae&&ce){const xe=Math.max(ae*3,ce*.8)*1e3;E=y({},E,{maxTimeToFirstByteMs:Math.min(xe,E.maxTimeToFirstByteMs),maxLoadTimeMs:Math.min(xe,E.maxTimeToFirstByteMs)})}}}const C=E.errorRetry||E.timeoutRetry||{},U={loadPolicy:E,timeout:E.maxLoadTimeMs,maxRetry:C.maxNumRetry||0,retryDelay:C.retryDelayMs||0,maxRetryDelay:C.maxRetryDelayMs||0},H={onSuccess:($,ae,ce,xe)=>{const Te=this.getInternalLoader(ce);this.resetInternalLoader(ce.type);const De=$.data;if(De.indexOf("#EXTM3U")!==0){this.handleManifestParsingError($,ce,new Error("no EXTM3U delimiter"),xe||null,ae);return}ae.parsing.start=performance.now(),fs.isMediaPlaylist(De)||ce.type!==h.MANIFEST?this.handleTrackOrLevelPlaylist($,ae,ce,xe||null,Te):this.handleMasterPlaylist($,ae,ce,xe)},onError:($,ae,ce,xe)=>{this.handleNetworkError(ae,ce,!1,$,xe)},onTimeout:($,ae,ce)=>{this.handleNetworkError(ae,ce,!0,void 0,$)}};m.load(t,U,H)}checkAutostartLoad(){if(!this.hls)return;const{config:{autoStartLoad:t,startPosition:n},forceStartLoad:o}=this.hls;(t||o)&&(this.hls.logger.log(`${t?"auto":"force"} startLoad with configured startPosition ${n}`),this.hls.startLoad(n))}handleMasterPlaylist(t,n,o,m){const E=this.hls,C=t.data,U=lt(t,o),H=fs.parseMasterPlaylist(C,U);if(H.playlistParsingError){this.handleManifestParsingError(t,o,H.playlistParsingError,m,n);return}const{contentSteering:$,levels:ae,sessionData:ce,sessionKeys:xe,startTimeOffset:Te,variableList:De}=H;this.variableList=De;const{AUDIO:tt=[],SUBTITLES:at,"CLOSED-CAPTIONS":Bt}=fs.parseMasterPlaylistMedia(C,U,H);tt.length&&!tt.some(ar=>!ar.url)&&ae[0].audioCodec&&!ae[0].attrs.AUDIO&&(this.hls.logger.log("[playlist-loader]: audio codec signaled in quality level, but no embedded audio track signaled, create one"),tt.unshift({type:"main",name:"main",groupId:"main",default:!1,autoselect:!1,forced:!1,id:-1,attrs:new ji({}),bitrate:0,url:""})),E.trigger(s.MANIFEST_LOADED,{levels:ae,audioTracks:tt,subtitles:at,captions:Bt,contentSteering:$,url:U,stats:n,networkDetails:m,sessionData:ce,sessionKeys:xe,startTimeOffset:Te,variableList:De})}handleTrackOrLevelPlaylist(t,n,o,m,E){const C=this.hls,{id:U,level:H,type:$}=o,ae=lt(t,o),ce=r(H)?H:r(U)?U:0,xe=Le(o),Te=fs.parseLevelPlaylist(t.data,ae,ce,xe,0,this.variableList);if($===h.MANIFEST){const De={attrs:new ji({}),bitrate:0,details:Te,name:"",url:ae};Te.requestScheduled=n.loading.start+ur(Te,0),C.trigger(s.MANIFEST_LOADED,{levels:[De],audioTracks:[],url:ae,stats:n,networkDetails:m,sessionData:null,sessionKeys:null,contentSteering:null,startTimeOffset:null,variableList:null})}n.parsing.end=performance.now(),o.levelDetails=Te,this.handlePlaylistLoaded(Te,t,n,o,m,E)}handleManifestParsingError(t,n,o,m,E){this.hls.trigger(s.ERROR,{type:c.NETWORK_ERROR,details:f.MANIFEST_PARSING_ERROR,fatal:n.type===h.MANIFEST,url:t.url,err:o,error:o,reason:o.message,response:t,context:n,networkDetails:m,stats:E})}handleNetworkError(t,n,o=!1,m,E){let C=`A network ${o?"timeout":"error"+(m?" (status "+m.code+")":"")} occurred while loading ${t.type}`;t.type===h.LEVEL?C+=`: ${t.level} id: ${t.id}`:(t.type===h.AUDIO_TRACK||t.type===h.SUBTITLE_TRACK)&&(C+=` id: ${t.id} group-id: "${t.groupId}"`);const U=new Error(C);this.hls.logger.warn(`[playlist-loader]: ${C}`);let H=f.UNKNOWN,$=!1;const ae=this.getInternalLoader(t);switch(t.type){case h.MANIFEST:H=o?f.MANIFEST_LOAD_TIMEOUT:f.MANIFEST_LOAD_ERROR,$=!0;break;case h.LEVEL:H=o?f.LEVEL_LOAD_TIMEOUT:f.LEVEL_LOAD_ERROR,$=!1;break;case h.AUDIO_TRACK:H=o?f.AUDIO_TRACK_LOAD_TIMEOUT:f.AUDIO_TRACK_LOAD_ERROR,$=!1;break;case h.SUBTITLE_TRACK:H=o?f.SUBTITLE_TRACK_LOAD_TIMEOUT:f.SUBTITLE_LOAD_ERROR,$=!1;break}ae&&this.resetInternalLoader(t.type);const ce={type:c.NETWORK_ERROR,details:H,fatal:$,url:t.url,loader:ae,context:t,error:U,networkDetails:n,stats:E};if(m){const xe=(n==null?void 0:n.url)||t.url;ce.response=b({url:xe,data:void 0},m)}this.hls.trigger(s.ERROR,ce)}handlePlaylistLoaded(t,n,o,m,E,C){const U=this.hls,{type:H,level:$,id:ae,groupId:ce,deliveryDirectives:xe}=m,Te=lt(n,m),De=Le(m),tt=typeof m.level=="number"&&De===u.MAIN?$:void 0;if(!t.fragments.length){const Bt=t.playlistParsingError=new Error("No Segments found in Playlist");U.trigger(s.ERROR,{type:c.NETWORK_ERROR,details:f.LEVEL_EMPTY_ERROR,fatal:!1,url:Te,error:Bt,reason:Bt.message,response:n,context:m,level:tt,parent:De,networkDetails:E,stats:o});return}t.targetduration||(t.playlistParsingError=new Error("Missing Target Duration"));const at=t.playlistParsingError;if(at){if(this.hls.logger.warn(at),!U.config.ignorePlaylistParsingErrors){U.trigger(s.ERROR,{type:c.NETWORK_ERROR,details:f.LEVEL_PARSING_ERROR,fatal:!1,url:Te,error:at,reason:at.message,response:n,context:m,level:tt,parent:De,networkDetails:E,stats:o});return}t.playlistParsingError=null}switch(t.live&&C&&(C.getCacheAge&&(t.ageHeader=C.getCacheAge()||0),(!C.getCacheAge||isNaN(t.ageHeader))&&(t.ageHeader=0)),H){case h.MANIFEST:case h.LEVEL:U.trigger(s.LEVEL_LOADED,{details:t,levelInfo:m.levelOrTrack||U.levels[0],level:tt||0,id:ae||0,stats:o,networkDetails:E,deliveryDirectives:xe,withoutMultiVariant:H===h.MANIFEST});break;case h.AUDIO_TRACK:U.trigger(s.AUDIO_TRACK_LOADED,{details:t,track:m.levelOrTrack,id:ae||0,groupId:ce||"",stats:o,networkDetails:E,deliveryDirectives:xe});break;case h.SUBTITLE_TRACK:U.trigger(s.SUBTITLE_TRACK_LOADED,{details:t,track:m.levelOrTrack,id:ae||0,groupId:ce||"",stats:o,networkDetails:E,deliveryDirectives:xe});break}}}class rr{static get version(){return In}static isMSESupported(){return $f()}static isSupported(){return Tf()}static getMediaSource(){return oe()}static get Events(){return s}static get MetadataSchema(){return we}static get ErrorTypes(){return c}static get ErrorDetails(){return f}static get DefaultConfig(){return rr.defaultConfig?rr.defaultConfig:tf}static set DefaultConfig(t){rr.defaultConfig=t}constructor(t={}){this.config=void 0,this.userConfig=void 0,this.logger=void 0,this.coreComponents=void 0,this.networkControllers=void 0,this._emitter=new ks,this._autoLevelCapping=-1,this._maxHdcpLevel=null,this.abrController=void 0,this.bufferController=void 0,this.capLevelController=void 0,this.latencyController=void 0,this.levelController=void 0,this.streamController=void 0,this.audioStreamController=void 0,this.subtititleStreamController=void 0,this.audioTrackController=void 0,this.subtitleTrackController=void 0,this.interstitialsController=void 0,this.gapController=void 0,this.emeController=void 0,this.cmcdController=void 0,this._media=null,this._url=null,this._sessionId=void 0,this.triggeringException=void 0,this.started=!1;const n=this.logger=X(t.debug||!1,"Hls instance",t.assetPlayerId),o=this.config=fl(rr.DefaultConfig,t,n);this.userConfig=t,o.progressive&&Wo(o,n);const{abrController:m,bufferController:E,capLevelController:C,errorController:U,fpsController:H}=o,$=new U(this),ae=this.abrController=new m(this),ce=new Or(this),xe=o.interstitialsController,Te=xe?this.interstitialsController=new xe(this,rr):null,De=this.bufferController=new E(this,ce),tt=this.capLevelController=new C(this),at=new H(this),Bt=new jt(this),dr=o.contentSteeringController,ar=dr?new dr(this):null,Zr=this.levelController=new Bf(this,ar),Gr=new Hf(this),fn=new ve(this.config),Vr=this.streamController=new Z(this,ce,fn),on=this.gapController=new mf(this,ce);tt.setStreamController(Vr),at.setStreamController(Vr);const _n=[Bt,Zr,Vr];Te&&_n.splice(1,0,Te),ar&&_n.splice(1,0,ar),this.networkControllers=_n;const Xr=[ae,De,on,tt,at,Gr,ce];this.audioTrackController=this.createController(o.audioTrackController,_n);const Yn=o.audioStreamController;Yn&&_n.push(this.audioStreamController=new Yn(this,ce,fn)),this.subtitleTrackController=this.createController(o.subtitleTrackController,_n);const di=o.subtitleStreamController;di&&_n.push(this.subtititleStreamController=new di(this,ce,fn)),this.createController(o.timelineController,Xr),fn.emeController=this.emeController=this.createController(o.emeController,Xr),this.cmcdController=this.createController(o.cmcdController,Xr),this.latencyController=this.createController(Cf,Xr),this.coreComponents=Xr,_n.push($);const os=$.onErrorOut;typeof os=="function"&&this.on(s.ERROR,os,$),this.on(s.MANIFEST_LOADED,Bt.onManifestLoaded,Bt)}createController(t,n){if(t){const o=new t(this);return n&&n.push(o),o}return null}on(t,n,o=this){this._emitter.on(t,n,o)}once(t,n,o=this){this._emitter.once(t,n,o)}removeAllListeners(t){this._emitter.removeAllListeners(t)}off(t,n,o=this,m){this._emitter.off(t,n,o,m)}listeners(t){return this._emitter.listeners(t)}emit(t,n,o){return this._emitter.emit(t,n,o)}trigger(t,n){if(this.config.debug)return this.emit(t,t,n);try{return this.emit(t,t,n)}catch(o){if(this.logger.error("An internal error happened while handling event "+t+'. Error message: "'+o.message+'". Here is a stacktrace:',o),!this.triggeringException){this.triggeringException=!0;const m=t===s.ERROR;this.trigger(s.ERROR,{type:c.OTHER_ERROR,details:f.INTERNAL_EXCEPTION,fatal:m,event:t,error:o}),this.triggeringException=!1}}return!1}listenerCount(t){return this._emitter.listenerCount(t)}destroy(){this.logger.log("destroy"),this.trigger(s.DESTROYING,void 0),this.detachMedia(),this.removeAllListeners(),this._autoLevelCapping=-1,this._url=null,this.networkControllers.forEach(n=>n.destroy()),this.networkControllers.length=0,this.coreComponents.forEach(n=>n.destroy()),this.coreComponents.length=0;const t=this.config;t.xhrSetup=t.fetchSetup=void 0,this.userConfig=null}attachMedia(t){if(!t||"media"in t&&!t.media){const E=new Error(`attachMedia failed: invalid argument (${t})`);this.trigger(s.ERROR,{type:c.OTHER_ERROR,details:f.ATTACH_MEDIA_ERROR,fatal:!0,error:E});return}this.logger.log("attachMedia"),this._media&&(this.logger.warn("media must be detached before attaching"),this.detachMedia());const n="media"in t,o=n?t.media:t,m=n?t:{media:o};this._media=o,this.trigger(s.MEDIA_ATTACHING,m)}detachMedia(){this.logger.log("detachMedia"),this.trigger(s.MEDIA_DETACHING,{}),this._media=null}transferMedia(){this._media=null;const t=this.bufferController.transferMedia();return this.trigger(s.MEDIA_DETACHING,{transferMedia:t}),t}loadSource(t){this.stopLoad();const n=this.media,o=this._url,m=this._url=le.buildAbsoluteURL(self.location.href,t,{alwaysNormalize:!0});this._autoLevelCapping=-1,this._maxHdcpLevel=null,this.logger.log(`loadSource:${m}`),n&&o&&(o!==m||this.bufferController.hasSourceTypes())&&(this.detachMedia(),this.attachMedia(n)),this.trigger(s.MANIFEST_LOADING,{url:t})}get url(){return this._url}get hasEnoughToStart(){return this.streamController.hasEnoughToStart}get startPosition(){return this.streamController.startPositionValue}startLoad(t=-1,n){this.logger.log(`startLoad(${t+(n?", <skip seek to start>":"")})`),this.started=!0,this.resumeBuffering();for(let o=0;o<this.networkControllers.length&&(this.networkControllers[o].startLoad(t,n),!(!this.started||!this.networkControllers));o++);}stopLoad(){this.logger.log("stopLoad"),this.started=!1;for(let t=0;t<this.networkControllers.length&&(this.networkControllers[t].stopLoad(),!(this.started||!this.networkControllers));t++);}get loadingEnabled(){return this.started}get bufferingEnabled(){return this.streamController.bufferingEnabled}resumeBuffering(){this.bufferingEnabled||(this.logger.log("resume buffering"),this.networkControllers.forEach(t=>{t.resumeBuffering&&t.resumeBuffering()}))}pauseBuffering(){this.bufferingEnabled&&(this.logger.log("pause buffering"),this.networkControllers.forEach(t=>{t.pauseBuffering&&t.pauseBuffering()}))}get inFlightFragments(){const t={[u.MAIN]:this.streamController.inFlightFrag};return this.audioStreamController&&(t[u.AUDIO]=this.audioStreamController.inFlightFrag),this.subtititleStreamController&&(t[u.SUBTITLE]=this.subtititleStreamController.inFlightFrag),t}swapAudioCodec(){this.logger.log("swapAudioCodec"),this.streamController.swapAudioCodec()}recoverMediaError(){this.logger.log("recoverMediaError");const t=this._media,n=t==null?void 0:t.currentTime;this.detachMedia(),t&&(this.attachMedia(t),n&&this.startLoad(n))}removeLevel(t){this.levelController.removeLevel(t)}get sessionId(){let t=this._sessionId;return t||(t=this._sessionId=ki()),t}get levels(){const t=this.levelController.levels;return t||[]}get latestLevelDetails(){return this.streamController.getLevelDetails()||null}get loadLevelObj(){return this.levelController.loadLevelObj}get currentLevel(){return this.streamController.currentLevel}set currentLevel(t){this.logger.log(`set currentLevel:${t}`),this.levelController.manualLevel=t,this.streamController.immediateLevelSwitch()}get nextLevel(){return this.streamController.nextLevel}set nextLevel(t){this.logger.log(`set nextLevel:${t}`),this.levelController.manualLevel=t,this.streamController.nextLevelSwitch()}get loadLevel(){return this.levelController.level}set loadLevel(t){this.logger.log(`set loadLevel:${t}`),this.levelController.manualLevel=t}get nextLoadLevel(){return this.levelController.nextLoadLevel}set nextLoadLevel(t){this.levelController.nextLoadLevel=t}get firstLevel(){return Math.max(this.levelController.firstLevel,this.minAutoLevel)}set firstLevel(t){this.logger.log(`set firstLevel:${t}`),this.levelController.firstLevel=t}get startLevel(){const t=this.levelController.startLevel;return t===-1&&this.abrController.forcedAutoLevel>-1?this.abrController.forcedAutoLevel:t}set startLevel(t){this.logger.log(`set startLevel:${t}`),t!==-1&&(t=Math.max(t,this.minAutoLevel)),this.levelController.startLevel=t}get capLevelToPlayerSize(){return this.config.capLevelToPlayerSize}set capLevelToPlayerSize(t){const n=!!t;n!==this.config.capLevelToPlayerSize&&(n?this.capLevelController.startCapping():(this.capLevelController.stopCapping(),this.autoLevelCapping=-1,this.streamController.nextLevelSwitch()),this.config.capLevelToPlayerSize=n)}get autoLevelCapping(){return this._autoLevelCapping}get bandwidthEstimate(){const{bwEstimator:t}=this.abrController;return t?t.getEstimate():NaN}set bandwidthEstimate(t){this.abrController.resetEstimator(t)}get abrEwmaDefaultEstimate(){const{bwEstimator:t}=this.abrController;return t?t.defaultEstimate:NaN}get ttfbEstimate(){const{bwEstimator:t}=this.abrController;return t?t.getEstimateTTFB():NaN}set autoLevelCapping(t){this._autoLevelCapping!==t&&(this.logger.log(`set autoLevelCapping:${t}`),this._autoLevelCapping=t,this.levelController.checkMaxAutoUpdated())}get maxHdcpLevel(){return this._maxHdcpLevel}set maxHdcpLevel(t){Cr(t)&&this._maxHdcpLevel!==t&&(this._maxHdcpLevel=t,this.levelController.checkMaxAutoUpdated())}get autoLevelEnabled(){return this.levelController.manualLevel===-1}get manualLevel(){return this.levelController.manualLevel}get minAutoLevel(){const{levels:t,config:{minAutoBitrate:n}}=this;if(!t)return 0;const o=t.length;for(let m=0;m<o;m++)if(t[m].maxBitrate>=n)return m;return 0}get maxAutoLevel(){const{levels:t,autoLevelCapping:n,maxHdcpLevel:o}=this;let m;if(n===-1&&t!=null&&t.length?m=t.length-1:m=n,o)for(let E=m;E--;){const C=t[E].attrs["HDCP-LEVEL"];if(C&&C<=o)return E}return m}get firstAutoLevel(){return this.abrController.firstAutoLevel}get nextAutoLevel(){return this.abrController.nextAutoLevel}set nextAutoLevel(t){this.abrController.nextAutoLevel=t}get playingDate(){return this.streamController.currentProgramDateTime}get mainForwardBufferInfo(){return this.streamController.getMainFwdBufferInfo()}get maxBufferLength(){return this.streamController.maxBufferLength}setAudioOption(t){var n;return((n=this.audioTrackController)==null?void 0:n.setAudioOption(t))||null}setSubtitleOption(t){var n;return((n=this.subtitleTrackController)==null?void 0:n.setSubtitleOption(t))||null}get allAudioTracks(){const t=this.audioTrackController;return t?t.allAudioTracks:[]}get audioTracks(){const t=this.audioTrackController;return t?t.audioTracks:[]}get audioTrack(){const t=this.audioTrackController;return t?t.audioTrack:-1}set audioTrack(t){const n=this.audioTrackController;n&&(n.audioTrack=t)}get allSubtitleTracks(){const t=this.subtitleTrackController;return t?t.allSubtitleTracks:[]}get subtitleTracks(){const t=this.subtitleTrackController;return t?t.subtitleTracks:[]}get subtitleTrack(){const t=this.subtitleTrackController;return t?t.subtitleTrack:-1}get media(){return this._media}set subtitleTrack(t){const n=this.subtitleTrackController;n&&(n.subtitleTrack=t)}get subtitleDisplay(){const t=this.subtitleTrackController;return t?t.subtitleDisplay:!1}set subtitleDisplay(t){const n=this.subtitleTrackController;n&&(n.subtitleDisplay=t)}get lowLatencyMode(){return this.config.lowLatencyMode}set lowLatencyMode(t){this.config.lowLatencyMode=t}get liveSyncPosition(){return this.latencyController.liveSyncPosition}get latency(){return this.latencyController.latency}get maxLatency(){return this.latencyController.maxLatency}get targetLatency(){return this.latencyController.targetLatency}set targetLatency(t){this.latencyController.targetLatency=t}get drift(){return this.latencyController.drift}get forceStartLoad(){return this.streamController.forceStartLoad}get pathways(){return this.levelController.pathways}get pathwayPriority(){return this.levelController.pathwayPriority}set pathwayPriority(t){this.levelController.pathwayPriority=t}get bufferedToEnd(){var t;return!!((t=this.bufferController)!=null&&t.bufferedToEnd)}get interstitialsManager(){var t;return((t=this.interstitialsController)==null?void 0:t.interstitialsManager)||null}getMediaDecodingInfo(t,n=this.allAudioTracks){const o=Si(n);return mt(t,o,navigator.mediaCapabilities)}}rr.defaultConfig=void 0},53280:function(d,g,e){"use strict";e.d(g,{D:function(){return i}});function r(l,c,f){var s=f||{},h=s.noTrailing,u=h===void 0?!1:h,a=s.noLeading,x=a===void 0?!1:a,p=s.debounceMode,y=p===void 0?void 0:p,_,b=!1,S=0;function R(){_&&clearTimeout(_)}function L(D){var M=D||{},N=M.upcomingOnly,j=N===void 0?!1:N;R(),b=!j}function T(){for(var D=arguments.length,M=new Array(D),N=0;N<D;N++)M[N]=arguments[N];var j=this,Q=Date.now()-S;if(b)return;function X(){S=Date.now(),c.apply(j,M)}function Y(){_=void 0}!x&&y&&!_&&X(),R(),y===void 0&&Q>l?x?(S=Date.now(),u||(_=setTimeout(y?Y:X,l))):X():u!==!0&&(_=setTimeout(y?Y:X,y===void 0?l-Q:l))}return T.cancel=L,T}function i(l,c,f){var s=f||{},h=s.atBegin,u=h===void 0?!1:h;return r(l,c,{debounceMode:u!==!1})}}},__webpack_module_cache__={};function __webpack_require__(d){var g=__webpack_module_cache__[d];if(g!==void 0)return g.exports;var e=__webpack_module_cache__[d]={id:d,loaded:!1,exports:{}};return __webpack_modules__[d].call(e.exports,e,e.exports,__webpack_require__),e.loaded=!0,e.exports}__webpack_require__.m=__webpack_modules__,function(){__webpack_require__.amdO={}}(),function(){__webpack_require__.n=function(d){var g=d&&d.__esModule?function(){return d.default}:function(){return d};return __webpack_require__.d(g,{a:g}),g}}(),function(){var d=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},g;__webpack_require__.t=function(e,r){if(r&1&&(e=this(e)),r&8||typeof e=="object"&&e&&(r&4&&e.__esModule||r&16&&typeof e.then=="function"))return e;var i=Object.create(null);__webpack_require__.r(i);var l={};g=g||[null,d({}),d([]),d(d)];for(var c=r&2&&e;typeof c=="object"&&!~g.indexOf(c);c=d(c))Object.getOwnPropertyNames(c).forEach(function(f){l[f]=function(){return e[f]}});return l.default=function(){return e},__webpack_require__.d(i,l),i}}(),function(){__webpack_require__.d=function(d,g){for(var e in g)__webpack_require__.o(g,e)&&!__webpack_require__.o(d,e)&&Object.defineProperty(d,e,{enumerable:!0,get:g[e]})}}(),function(){__webpack_require__.f={},__webpack_require__.e=function(d){return Promise.all(Object.keys(__webpack_require__.f).reduce(function(g,e){return __webpack_require__.f[e](d,g),g},[]))}}(),function(){__webpack_require__.u=function(d){return""+({26:"p__Classrooms__Lists__Graduation__Tasks__Edit__index",67:"p__Message__index",109:"p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index",195:"p__Classrooms__Lists__GroupHomework__Detail__index",264:"p__User__Detail__Order__pages__orderPay__index",265:"p__User__Detail__Topics__index",292:"p__Classrooms__Lists__Exercise__Add__index",310:"p__User__Detail__ExperImentImg__Detail__index",337:"p__Paperlibrary__Random__PreviewEdit__index",342:"p__Classrooms__Lists__ShixunHomeworks__Comment__index",479:"p__Classrooms__Lists__GroupHomework__EditWork__index",485:"p__Question__AddOrEdit__BatchAdd__index",508:"p__Forums__Detail__id",532:"p__ExcellentCourse__index",533:"p__Classrooms__Lists__Video__Statistics__Detail__index",547:"p__Account__index",556:"p__User__Detail__Order__pages__invoice__index",559:"layouts__virtualDetail__index",570:"p__Home__Detail__OnlineNum__index",576:"p__Account__Profile__Edit__index",643:"p__Classrooms__Lists__Polls__QuestionnaireInfo__index",672:"p__Home__Detail__ShixunContext__Detail__index",680:"p__Innovation__index",700:"p__tasks__Jupyter__index",737:"p__Classrooms__Lists__CommonHomework__Detail__components__CodeReview__Detail__index",799:"p__User__Detail__Topics__Poll__Detail__index",869:"p__Guidance__index",895:"p__Classrooms__Lists__Video__Items__videoInfo__index",921:"p__Classrooms__Lists__Exercise__CodeDetails__index",928:"p__RestFul__Edit__index",1006:"p__RestFul__index",1043:"p__Classrooms__Lists__Graduation__Tasks__index",1045:"p__virtualSpaces__Lists__Knowledge__AddAndEdit__index",1048:"p__Classrooms__Lists__ProgramHomework__Detail__Ranking__index",1070:"p__Innovation__PublicMirror__index",1148:"p__Shixuns__Detail__Repository__UploadFile__index",1211:"p__Classrooms__Lists__CommonHomework__EditWork__index",1253:"p__Graduations__Lists__Gradingsummary__index",1257:"p__Classrooms__Lists__ResourceRecommend__index",1265:"p__Classrooms__Lists__Announcement__index",1276:"p__MoopCases__Success__index",1343:"p__User__Detail__ResourceAllocation__index",1416:"p__User__Detail__AccountInfo__CareerCertification__index",1423:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index",1427:"p__Classrooms__Lists__Statistics__index",1450:"p__Classrooms__Lists__ShixunHomeworks__Commitsummary__index",1461:"p__Graduations__Lists__Topics__index",1470:"p__User__Register__index",1475:"p__Shixuns__Detail__Dataset__JupyterData__index",1482:"p__Classrooms__Lists__Graduation__Topics__Edit__index",1512:"p__Classrooms__Lists__Exercise__AnswerCheck__index",1520:"p__Engineering__Lists__StudentList__index",1545:"p__Paperlibrary__Random__ExchangeFromProblemSet__index",1578:"p__Classrooms__Lists__Graduation__Topics__Detail__index",1581:"p__Problemset__Preview__index",1582:"p__Classrooms__Lists__GroupHomework__Add__index",1657:"p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index",1660:"p__User__QQLogin__index",1674:"p__Classrooms__ClassicCases__index",1702:"p__Classrooms__New__index",1713:"p__virtualSpaces__Lists__Settings__index",1717:"layouts__index",1727:"p__Classrooms__Lists__CourseGroup__NotList__index",1783:"p__virtualSpaces__Lists__Experiment__index",1799:"p__Competitions__Entered__Assembly__TeamDateil",1831:"p__Graduations__Index__index",1836:"p__Classrooms__Lists__Attendance__Webview__Teacher__index",1855:"p__MoopCases__InfoPanel__index",1880:"p__User__Detail__Order__pages__apply__index",1939:"p__User__Detail__Order__index",1953:"p__Problemset__NewItem__index",1962:"p__Classrooms__Lists__Engineering__index",2045:"p__Engineering__Lists__TeacherList__index",2076:"p__User__Detail__Competitions__index",2102:"p__Classrooms__Lists__Board__Edit__index",2141:"p__Shixuns__Detail__Split__index",2216:"p__DataSet__Index__index",2240:"p__User__Detail__Videos__Upload__index",2254:"p__Shixuns__Detail__Discuss__index",2300:"p__Api__index",2303:"p__Classrooms__Lists__CommonHomework__Comment__index",2307:"p__Report__index",2338:"p__Classrooms__Lists__CommonHomework__Review__index",2339:"p__virtualSpaces__Lists__Plan__Detail__index",2396:"p__User__Detail__ResourcesCenter__index",2404:"p__Classrooms__Lists__Template__teacher__index",2412:"p__User__Detail__Videos__index",2425:"p__Classrooms__Lists__Board__Detail__index",2443:"p__Graduations__Lists__StageModule__index",2476:"p__Colleges__index",2501:"p__Search__index",2529:"p__User__Detail__id",2539:"p__Graduations__Review__index",2548:"p__Engineering__Norm__Detail__index",2570:"p__Competitions__Detail__index",2603:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Add__index",2659:"p__User__Detail__UserPortrait__index",2707:"p__Innovation__MyDataSet__index",2806:"p__User__Detail__Topics__Exercise__Detail__index",2819:"p__Classrooms__Lists__Template__detail__index",2823:"p__Engineering__Navigation__Home__index",2826:"p__User__Detail__DataSet__index",2829:"p__Messages__Private__index",2865:"p__Innovation__MyMirror__index",2875:"p__Shixuns__Detail__id",2884:"p__Classrooms__Lists__ProgramHomework__Comment__index",2983:"p__Forums__Index__index",3006:"p__Engineering__index",3141:"p__Innovation__Detail__index",3157:"p__User__Detail__ExperImentImg__Add__index",3183:"p__Engineering__Lists__GraduationIndex__index",3212:"p__MoopCases__index",3220:"p__Classrooms__Lists__Video__Upload__index",3247:"p__Paperlibrary__See__index",3260:"p__Paperlibrary__Add__index",3276:"p__Classrooms__Lists__Statistics__UserportraitStatistics__index",3282:"layouts__ShixunDetail__index",3317:"p__Classrooms__Lists__Graduation__Topics__Add__index",3332:"p__Paths__Detail__id",3355:"p__Classrooms__Lists__Polls__index",3356:"p__Classrooms__Lists__Assistant__index",3391:"p__Classrooms__Lists__ProgramHomework__Detail__components__CodeReview__Detail__index",3433:"p__Classrooms__Lists__Exercise__Sumup__Edit__index",3442:"p__Classrooms__Lists__Board__Add__index",3447:"p__User__Detail__Order__pages__orderInformation__index",3451:"p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index",3496:"p__User__Detail__OtherResources__index",3509:"p__HttpStatus__SixActivities",3581:"p__Classrooms__Lists__ShixunHomeworks__Detail__index",3585:"p__Classrooms__Lists__Statistics__StudentSituation__index",3665:"p__tasks__index",3668:"p__Classrooms__Lists__CommonHomework__Detail__index",3747:"p__virtualSpaces__Lists__Homepage__index",3784:"p__Paperlibrary__Random__Detail__index",3862:"p__HttpStatus__403",3873:"p__virtualSpaces__Lists__Lesson__index",3910:"p__HttpStatus__introduction",3935:"p__Classrooms__Lists__GroupHomework__index",3951:"p__Classrooms__Lists__ProgramHomework__Detail__index",4017:"p__Classrooms__Lists__PlaceholderPage__index",4030:"p__Classrooms__Lists__ProgramHomework__AddAndEdit__index",4056:"p__IntrainCourse__index",4058:"p__Demo__index",4078:"p__Messages__Tidings__index",4093:"p__Classrooms__Lists__Attendance__Detail__index",4105:"p__Classrooms__Lists__Exercise__Answer__index",4144:"p__Problemset__Preview__New__index",4164:"p__Classrooms__Lists__Exercise__Detail__index",4216:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Edit__index",4217:"p__Classrooms__Lists__Video__Statistics__index",4227:"p__Paths__Overview__index",4259:"p__User__Detail__Order__pages__result__index",4264:"p__Forums__New__index",4449:"p__Competitions__Exports__index",4492:"p__Graduations__Lists__StudentSelection__index",4496:"p__HttpStatus__HpcCourse",4498:"p__Shixuns__Edit__body__Level__Challenges__NewPractice__index",4504:"p__virtualSpaces__Lists__Survey__index",4514:"p__Account__Results__index",4520:"p__Account__Secure__index",4546:"p__Engineering__Lists__TrainingProgram__Add__index",4565:"p__HttpStatus__500",4572:"p__Classrooms__Lists__ExportList__index",4599:"p__Problemset__index",4601:"p__Paths__Detail__Statistics__index",4610:"p__User__Detail__LearningPath__index",4621:"p__Administration__Profession__index",4662:"p__Classrooms__Lists__GroupHomework__Review__index",4715:"p__virtualSpaces__Lists__Material__Detail__index",4736:"p__User__Detail__Projects__index",4741:"p__Problems__OjForm__NewEdit__index",4757:"p__virtualSpaces__Lists__Workplace__index",4766:"p__Administration__index",4770:"p__Classrooms__Lists__ProgramHomework__Detail__answer__index",4795:"p__Classrooms__Lists__Graduation__Tasks__Add__index",4800:"p__Engineering__Lists__GraduatedMatrix__index",4849:"p__User__Detail__ExperImentImg__index",4862:"p__Paperlibrary__index",4884:"p__Shixuns__Detail__Repository__Commit__index",4889:"p__Classrooms__Lists__Exercise__ImitateAnswer__index",4928:"p__Classrooms__Lists__LearningPath__index",4973:"p__Engineering__Evaluate__List__index",4994:"p__Problems__OjForm__index",5022:"p__Graduations__Lists__Settings__index",5043:"p__User__Detail__Topics__Poll__Edit__index",5048:"p__Classrooms__Lists__Graduation__Topics__index",5096:"p__Shixuns__Detail__AuditSituation__index",5111:"p__Terminal__index",5125:"p__Classrooms__Lists__Exercise__DetailedAnalysis__index",5148:"p__Classrooms__Lists__Polls__Answer__index",5176:"p__User__Detail__Videos__Protocol__index",5179:"p__Administration__Student__Edit__index",5186:"p__Classrooms__Overview__index",5191:"p__User__Detail__Certificate__index",5238:"p__virtualSpaces__Lists__Material__index",5297:"p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index",5319:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index",5335:"p__Engineering__Lists__CourseMatrix__index",5357:"p__Engineering__Lists__TrainingProgram__Edit__index",5359:"p__Messages__Detail__index",5382:"p__DataSet__Detail__index",5402:"p__User__Detail__Topics__Detail__index",5470:"p__Shixuns__Detail__Collaborators__index",5518:"p__Classrooms__Lists__Template__index",5549:"p__Shixuns__New__CreateImg__index",5572:"p__Paths__HigherVocationalEducation__index",5573:"p__Shixuns__Detail__Merge__index",5599:"p__User__Detail__Paths__index",5624:"p__Graduations__Lists__Index__index",5650:"p__Competitions__Update__index",5705:"p__virtualSpaces__Lists__Construction__index",5729:"p__Help__Index",5775:"p__Engineering__Lists__Document__index",5786:"layouts__LoginAndRegister__index",5798:"p__Classrooms__Lists__Video__Statistics__UserDetail__index",5816:"p__Paperlibrary__Random__Edit__index",5825:"p__Classrooms__Lists__Exercise__index",5888:"p__Classrooms__Lists__CommonHomework__Add__index",5891:"p__virtualSpaces__Lists__Resources__index",5895:"p__User__Detail__AccountInfo__Profile__Edit__index",5902:"p__Classrooms__Lists__Exercise__Sumup__index",5915:"p__knowledgegraph__Detail__Statistics__index",5972:"layouts__user__index",5992:"p__Classrooms__Lists__Exercise__ReviewGroup__index",6029:"p__Administration__Student__index",6034:"p__HttpStatus__UserAgents",6052:"p__Paths__Index__index",6063:"p__Graduations__Lists__Personmanage__index",6069:"p__virtualSpaces__Lists__Lesson__Detail__index",6127:"p__Classrooms__Lists__ProgramHomework__Ranking__index",6170:"p__HttpStatus__downloadStudent",6265:"p__virtualSpaces__Lists__Discussion__index",6270:"p__MyProblem__index",6277:"p__Shixuns__Edit__index",6328:"p__Shixuns__Edit__body__Warehouse__index",6366:"p__Innovation__PublicProject__index",6434:"p__User__Detail__Order__pages__records__index",6444:"p__Video__Detail__id",6452:"p__Innovation__PublicDataSet__index",6531:"p__HttpStatus__404",6541:"p__Shixuns__Detail__Dataset__index",6583:"p__User__Detail__Classrooms__index",6587:"p__User__Detail__Videos__Protocol__resource",6634:"p__Innovation__Tasks__index",6651:"p__Engineering__Evaluate__Detail__index",6685:"p__Classrooms__Index__index",6729:"p__Classrooms__Lists__GroupHomework__Edit__index",6741:"p__Engineering__Norm__List__index",6758:"p__Classrooms__Lists__Attachment__index",6784:"p__Innovation__Edit__index",6788:"p__Classrooms__Lists__ProgramHomework__index",6796:"p__virtualSpaces__Lists__Announcement__Detail__index",6805:"p__User__Detail__AccountInfo__RealNameCertification__index",6820:"p__User__Detail__Topics__Normal__index",6845:"p__Shixuns__Detail__Settings__index",6882:"p__Classrooms__New__StartClass__index",6883:"p__Competitions__Index__index",6904:"p__MoopCases__FormPanel__index",6913:"p__Question__AddOrEdit__index",6963:"p__Classrooms__Lists__Engineering__Detail__index",6982:"p__User__Detail__AccountInfo__Profile__index",7008:"p__Shixuns__New__index",7043:"p__User__Detail__Topics__Exercise__Edit__index",7045:"p__Classrooms__Lists__CommonHomework__SubmitWork__index",7046:"p__Shixuns__Detail__Repository__AddFile__index",7058:"p__virtualSpaces__Lists__Survey__Detail__index",7062:"layouts__SimpleLayouts",7178:"p__User__BindAccount__index",7182:"p__User__ResetPassword__index",7224:"p__StatsDashboard__index",7242:"p__Innovation__MyProject__index",7260:"p__Account__Certification__index",7333:"p__User__WechatLogin__index",7395:"p__Classrooms__Lists__Statistics__StudentDetail__index",7460:"p__Question__OjProblem__index",7477:"p__virtualSpaces__Lists__Announcement__index",7482:"p__Classrooms__Lists__Exercise__Notice__index",7527:"p__MyProblem__RecordDetail__index",7545:"p__Graduations__Lists__Archives__index",7560:"p__Administration__College__index",7589:"p__virtualSpaces__Lists__DigitalTopics__index",7614:"p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index",7622:"p__Classrooms__Lists__Polls__Detail__index",7806:"p__Classrooms__Lists__Statistics__StatisticsQuality__index",7852:"p__Classrooms__Lists__ShixunHomeworks__index",7855:"p__User__Detail__ResourcesCenter__Detail__index",7857:"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index",7878:"p__Classrooms__Lists__LiveVideo__index",7884:"p__Shixuns__Exports__index",7922:"p__Classrooms__Lists__CourseGroup__Detail__index",7948:"p__User__Detail__ClassManagement__index",8014:"p__Classrooms__Lists__Teachers__index",8062:"p__User__Detail__Topicbank__index",8072:"p__Classrooms__Lists__GroupHomework__SubmitWork__index",8077:"p__Classrooms__Lists__Students__index",8085:"p__Classrooms__Lists__Exercise__Review__index",8143:"layouts__GraduationsDetail__index",8155:"p__Shixuns__Overview__index",8237:"p__User__Detail__Order__pages__view__index",8241:"p__virtualSpaces__Lists__Plan__index",8302:"p__Classrooms__Lists__Board__index",8307:"p__User__Detail__Shixuns__index",8340:"p__Classrooms__Lists__Attendance__Webview__Student__index",8365:"p__Home__Detail__ShixunContext__index",8398:"p__virtualSpaces__Lists__Resources__Detail__index",8431:"p__Classrooms__Lists__Exercise__Export__index",8435:"p__Classrooms__Lists__Attendance__index",8447:"p__virtualSpaces__Lists__Knowledge__index",8517:"p__User__Detail__Topics__Group__index",8563:"p__virtualSpaces__Lists__Discussion__Detail__index",8634:"p__Classrooms__Lists__CourseGroup__List__index",8639:"p__Forums__Index__redirect",8665:"p__Engineering__Lists__TrainingObjectives__index",8688:"p__Shixuns__Detail__Repository__index",8689:"p__Classrooms__Lists__Statistics__VideoStatistics__index",8723:"p__Classrooms__Lists__Polls__Edit__index",8782:"p__Shixuns__Index__index",8787:"p__Competitions__Entered__index",8797:"p__Competitions__Edit__index",8823:"p__knowledgegraph__Detail__id",8827:"p__Classrooms__Lists__OnlineLearning__index",8866:"p__index",8882:"p__Classrooms__Lists__Graduation__Tasks__Detail__index",8885:"p__Classrooms__Lists__Statistics__StudentStatistics__index",8982:"p__Paths__New__index",8999:"p__Three__index",9076:"p__Account__Binding__index",9133:"p__Shixuns__Detail__Challenges__index",9205:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index",9215:"p__Shixuns__Detail__ForkList__index",9332:"p__Classrooms__Lists__Video__index",9360:"p__User__Detail__virtualSpaces__index",9366:"p__User__Login__index",9391:"p__Engineering__Lists__CurseSetting__index",9404:"monaco-editor",9408:"p__Shixuns__Detail__RankingList__index",9416:"p__Graduations__Lists__Tasks__index",9487:"p__LargeScreen__index",9489:"p__Engineering__Lists__CourseList__index",9507:"p__User__Detail__ResourceGuarantee__index",9519:"p__User__Detail__ClassManagement__Item__index",9590:"p__User__Detail__TeachGroup__index",9647:"p__Question__Index__index",9649:"p__Engineering__Lists__TrainingProgram__index",9674:"p__Shixuns__New__ImagePreview__index",9677:"p__virtualSpaces__Lists__Announcement__AddAndEdit__index",9695:"p__Classrooms__Lists__Polls__Add__index",9715:"p__Classrooms__Lists__CommonHomework__Edit__index",9716:"p__Question__OjProblem__RecordDetail__index",9785:"p__Classrooms__Lists__Template__student__index",9788:"p__Account__Profile__index",9890:"p__Classrooms__Lists__CommonHomework__index",9891:"p__User__Detail__Videos__Success__index",9921:"p__Classrooms__ExamList__index",9922:"p__Classrooms__Lists__Statistics__StudentVideo__index",9944:"p__Classrooms__Lists__Video__Statistics__StudentDetail__index"}[d]||d)+"."+{26:"0dea202d",33:"17dbbcfd",67:"a4a9ebcd",109:"5f9efbf5",169:"d23d080e",195:"67bf9287",264:"6b5fc814",265:"0c6b602d",292:"94ec42a3",310:"e5a97e98",316:"1f60ada6",337:"6b3fed7e",342:"c2c9f1d3",354:"d4d139cf",391:"3b36d1ac",425:"dd4a1bd3",479:"e1864e91",485:"7b227172",508:"6f0dc563",532:"274c5881",533:"99e1be6a",547:"24bbee7d",556:"489891cd",559:"190d18fb",570:"847cbc80",576:"2cdb2f11",599:"ed444d24",629:"44a1d9a5",643:"f21cff49",671:"4a609b8d",672:"30ae0d09",680:"b81db7ca",700:"1de5c1aa",737:"28686f04",741:"ac5fd360",799:"eefcedce",869:"e52598e3",895:"11583a36",921:"5ddbf9e2",928:"3beb70a2",981:"24da50c7",1006:"ece37beb",1043:"fdafa962",1045:"3c2fac40",1048:"5e6c2f33",1070:"28ef2682",1144:"c90eccaf",1148:"b8e79b99",1154:"8cb80842",1211:"d30524c4",1253:"bb5eb91a",1257:"4de335f6",1265:"ebd84518",1274:"5f6ea65a",1276:"5a16a6b9",1343:"233a1c11",1416:"9c6f17e7",1423:"dfa5ddb4",1427:"2e57a93f",1450:"84b901b6",1461:"d4ebf677",1462:"fcf08abc",1470:"42207f91",1475:"94fcda3e",1482:"4dd173ea",1512:"4a0a3fe0",1520:"fadeb118",1545:"c9fb6de0",1578:"bd0dc120",1581:"f2c2e3a6",1582:"019a7d30",1646:"e6e27b60",1657:"3f706c56",1660:"7ef463dc",1674:"c02df625",1702:"71d5057f",1713:"59b6d742",1717:"6eb1feab",1727:"49833928",1783:"3f22c779",1799:"ff17f0c2",1831:"b0dfccc1",1836:"2604d8fb",1855:"a387e74d",1880:"5679481a",1939:"dbb01f87",1953:"5f0ceb61",1962:"82976146",2011:"59d51f98",2045:"d2f02f11",2076:"7404c19f",2102:"60f4af9e",2125:"0917684a",2141:"1d29db04",2216:"c1833a69",2240:"5ec33deb",2249:"f4830452",2254:"42e5364e",2300:"f7b34b30",2303:"2ebfb08e",2307:"154d044a",2338:"e61b04ab",2339:"337b97ab",2386:"192e235c",2396:"d6d9d99c",2404:"98e49c2e",2412:"c4fa9fef",2425:"db1a9388",2443:"05d8f8b1",2476:"a5521d90",2494:"68080a87",2501:"229b1c55",2529:"249b73cb",2538:"de4a3723",2539:"12e53fe3",2548:"aa53f43d",2570:"c769f6c3",2594:"e87d3761",2603:"5ab477af",2659:"eb719cac",2707:"9d094507",2806:"e2cecdf0",2819:"70887c00",2823:"eaac4ef7",2826:"d1e4c436",2829:"27173129",2837:"54a82605",2865:"52404924",2875:"008815aa",2884:"102b37ab",2969:"ab3357d7",2983:"a15c3078",3006:"f4685cae",3133:"9bf3f89c",3141:"209f6193",3157:"04ec4593",3183:"e3f3764c",3198:"8e655451",3212:"a590cf3a",3220:"2d43daee",3247:"c4acf571",3260:"d98d2b9c",3276:"3ce86eb5",3282:"73ee4c8d",3317:"860a753e",3332:"cd63ba35",3355:"439c6aeb",3356:"454b4e33",3391:"4fb7fe3f",3433:"411ff7c4",3442:"49dcbffb",3447:"1ac11541",3451:"0fb3242b",3496:"5bf0479c",3509:"f282bd97",3550:"3dc83156",3581:"c1e0b90d",3585:"590e214b",3665:"0e19fd54",3668:"f226b99e",3697:"481a10d9",3747:"d3131211",3754:"a157c791",3777:"d5b0f2f1",3784:"8148bbba",3805:"9dbcb95e",3862:"43117f72",3873:"7e17e2d1",3885:"f87f7f15",3910:"a3b97753",3935:"74d0c027",3951:"7622c3ed",3987:"5cecd51b",4014:"27a8e97c",4017:"55e12afd",4030:"86e9b69e",4056:"770d69f0",4058:"82246f46",4078:"69d3514c",4088:"236723f3",4093:"9bc8513a",4105:"52656801",4142:"719fc627",4144:"e54263c2",4164:"15449dbe",4216:"d4314c2e",4217:"afffadf3",4227:"b51ae3cb",4259:"5ccef5de",4264:"65eb5a24",4347:"ce21ef2e",4354:"140899b7",4360:"cf5efa52",4449:"a1493e0e",4492:"1c191ebd",4496:"1d514cac",4498:"c1695546",4504:"f8e5e661",4514:"1f94f70e",4520:"3a54f2dc",4546:"4298720f",4565:"ae294bdd",4572:"08645974",4599:"61def4cb",4601:"63673abe",4610:"cc1808e2",4621:"a81fab58",4628:"ece2c60c",4662:"bcb92357",4685:"c33f1528",4715:"16301dd6",4736:"d824f15b",4741:"7389427f",4757:"b238a32e",4766:"851589b4",4770:"3b8de87f",4790:"619413e4",4795:"67a6da46",4797:"a24e92db",4800:"b62d7467",4849:"21509306",4850:"1edda4b7",4862:"c8d60aec",4884:"69806754",4889:"02cea045",4928:"24bb7f6e",4973:"88ec9a09",4994:"1eb4d4eb",5022:"eb28ddb0",5043:"984d40c5",5048:"8cfb53ec",5060:"85dafcc6",5096:"19e486b4",5111:"93fbe33a",5125:"4e912faa",5148:"cb0a67f8",5176:"07ea56f3",5179:"0869e466",5186:"4eeeed30",5191:"99657d05",5238:"5b76b2fb",5265:"d9af1b35",5290:"5dabcdc2",5297:"63a3b27f",5319:"66a7eba6",5321:"1163c84e",5335:"b1a1e258",5354:"7ae70604",5357:"e8bdf5c2",5359:"de83f281",5382:"259d7771",5402:"e83fe768",5416:"454536b7",5434:"38b302a6",5470:"76c24c71",5494:"d89549c4",5518:"fce6a0ca",5549:"29490bcf",5572:"b8ab27b2",5573:"e3d1a632",5599:"464e1ede",5624:"3958c10c",5631:"e00d3d36",5650:"f673f39a",5679:"4a090bef",5705:"956a5d8e",5729:"577116da",5764:"e0d7e586",5775:"0150c295",5786:"a972d493",5798:"a75de45a",5816:"d7f8d6e9",5825:"ef7757a5",5876:"5eded409",5888:"ec966c41",5891:"c04d81ea",5895:"00737b73",5902:"186e99e8",5915:"8ec01b35",5972:"5a6a223f",5992:"5f1dc82e",6029:"8c0f4c18",6034:"6eb56d2c",6045:"d268f87f",6047:"3ce45acd",6052:"393ca4ef",6063:"d206a83e",6069:"c743c39f",6126:"99519171",6127:"7fdafd59",6170:"c4b92aae",6265:"4546a337",6270:"3a32965b",6277:"7960e569",6328:"3c342d9a",6366:"079b846c",6378:"7f3a946a",6411:"c9f1e451",6434:"c37e3f9b",6444:"a6594a6b",6452:"b93f0243",6531:"5b8bb018",6541:"88a2d16d",6583:"bebdb876",6587:"1ee4d88e",6634:"157225e6",6651:"522d5d71",6656:"fc39d1b9",6685:"17de7d52",6729:"b66ca10b",6741:"768bead0",6758:"6b566cc5",6774:"59d4d618",6784:"75cfd5fa",6788:"a188fc6f",6796:"7824b8d9",6805:"cd0ae019",6820:"0de6c32d",6845:"b6a2d206",6882:"213c8701",6883:"6cb80143",6904:"378079b0",6913:"752f60c1",6963:"c49e9b24",6982:"ee2e1b4f",7008:"5c95aa5c",7043:"013a6116",7045:"7a5d15d5",7046:"decbb342",7058:"58b8370a",7062:"ad100896",7084:"46ccce72",7156:"e7466006",7178:"79aa89b4",7182:"6e49e73f",7224:"c699db55",7242:"a3b7c3c1",7260:"6073b632",7331:"2e27a23b",7333:"e5a7f74e",7365:"1005464f",7395:"52bbd294",7460:"6b772578",7477:"b1fbd3e9",7482:"0bb903a2",7527:"c97df39b",7545:"39346160",7560:"8d07ea63",7589:"a7322713",7591:"c8233ce9",7614:"88413be7",7622:"a8b945ff",7686:"4fcec9f9",7706:"c2a79e40",7806:"32fb4e4c",7852:"e566d466",7855:"3df9042b",7857:"91ee9735",7878:"dd237772",7884:"762cfeac",7890:"ca5e41c9",7922:"a1e6a679",7948:"20c6f2cc",7963:"64ac60d4",7964:"29aed9a1",8014:"7d816772",8062:"94652a80",8072:"44c7af88",8077:"e8aa0e66",8085:"6b87f33e",8089:"d536b13a",8143:"94aadb29",8155:"f7b6ed4e",8161:"83c5fa9a",8237:"15956a10",8241:"6a99c283",8302:"4d9f0d89",8307:"1eee8b1c",8340:"99315e52",8350:"07df8a75",8365:"bbdeda3c",8398:"ebed64dd",8431:"19afb64c",8435:"08586dee",8447:"8608658a",8517:"44f4c524",8561:"333e8ec9",8563:"5948b7fe",8634:"90ab7fcc",8639:"ebbaf1d9",8665:"fa8b9a61",8688:"ca9754e3",8689:"5c1f12ab",8723:"bad1175f",8737:"ce7dad23",8776:"0ad26240",8782:"194c5d46",8787:"413475f8",8797:"9b1c9e2f",8823:"9545900f",8827:"f5dae86a",8842:"9f25a3e2",8866:"285c753a",8882:"3f7f0e39",8885:"298e8c35",8898:"d002bcd8",8909:"63bf2ffc",8920:"7f82440c",8963:"790aecdd",8982:"92da064a",8999:"8e67529f",9076:"b772835c",9104:"bbcb2345",9133:"593d45c3",9205:"dc51e560",9215:"9d7b9033",9252:"0d791a59",9260:"cf5f8140",9332:"717ace17",9360:"f95c94f4",9366:"da93f466",9391:"e4cf8c96",9404:"9fcc3d3e",9408:"fb23d40b",9416:"b26810bc",9487:"4d567133",9489:"f0682888",9507:"0d65b8aa",9519:"1a711a91",9554:"ed358e7b",9559:"f794af19",9590:"53a4baeb",9596:"68d80279",9647:"9a6683fa",9649:"fc6bd4a1",9674:"27a54e3b",9677:"9652e855",9695:"c8ddfad8",9715:"cd05d5a5",9716:"9e34dae9",9785:"9d460586",9788:"919db8e6",9890:"74da3f97",9891:"a420aa0f",9895:"b8e31ff2",9921:"1ad8b682",9922:"467a52cb",9928:"5989f5e0",9944:"126ebd53",9950:"74f6dfb2",9968:"17466785"}[d]+".async.js"}}(),function(){__webpack_require__.miniCssF=function(d){return""+({26:"p__Classrooms__Lists__Graduation__Tasks__Edit__index",67:"p__Message__index",109:"p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index",195:"p__Classrooms__Lists__GroupHomework__Detail__index",264:"p__User__Detail__Order__pages__orderPay__index",265:"p__User__Detail__Topics__index",292:"p__Classrooms__Lists__Exercise__Add__index",310:"p__User__Detail__ExperImentImg__Detail__index",337:"p__Paperlibrary__Random__PreviewEdit__index",342:"p__Classrooms__Lists__ShixunHomeworks__Comment__index",479:"p__Classrooms__Lists__GroupHomework__EditWork__index",485:"p__Question__AddOrEdit__BatchAdd__index",508:"p__Forums__Detail__id",532:"p__ExcellentCourse__index",533:"p__Classrooms__Lists__Video__Statistics__Detail__index",547:"p__Account__index",556:"p__User__Detail__Order__pages__invoice__index",559:"layouts__virtualDetail__index",576:"p__Account__Profile__Edit__index",643:"p__Classrooms__Lists__Polls__QuestionnaireInfo__index",680:"p__Innovation__index",700:"p__tasks__Jupyter__index",737:"p__Classrooms__Lists__CommonHomework__Detail__components__CodeReview__Detail__index",799:"p__User__Detail__Topics__Poll__Detail__index",869:"p__Guidance__index",895:"p__Classrooms__Lists__Video__Items__videoInfo__index",921:"p__Classrooms__Lists__Exercise__CodeDetails__index",928:"p__RestFul__Edit__index",1006:"p__RestFul__index",1043:"p__Classrooms__Lists__Graduation__Tasks__index",1045:"p__virtualSpaces__Lists__Knowledge__AddAndEdit__index",1048:"p__Classrooms__Lists__ProgramHomework__Detail__Ranking__index",1070:"p__Innovation__PublicMirror__index",1148:"p__Shixuns__Detail__Repository__UploadFile__index",1211:"p__Classrooms__Lists__CommonHomework__EditWork__index",1253:"p__Graduations__Lists__Gradingsummary__index",1257:"p__Classrooms__Lists__ResourceRecommend__index",1265:"p__Classrooms__Lists__Announcement__index",1276:"p__MoopCases__Success__index",1343:"p__User__Detail__ResourceAllocation__index",1416:"p__User__Detail__AccountInfo__CareerCertification__index",1423:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index",1427:"p__Classrooms__Lists__Statistics__index",1450:"p__Classrooms__Lists__ShixunHomeworks__Commitsummary__index",1461:"p__Graduations__Lists__Topics__index",1470:"p__User__Register__index",1475:"p__Shixuns__Detail__Dataset__JupyterData__index",1482:"p__Classrooms__Lists__Graduation__Topics__Edit__index",1512:"p__Classrooms__Lists__Exercise__AnswerCheck__index",1520:"p__Engineering__Lists__StudentList__index",1545:"p__Paperlibrary__Random__ExchangeFromProblemSet__index",1578:"p__Classrooms__Lists__Graduation__Topics__Detail__index",1581:"p__Problemset__Preview__index",1582:"p__Classrooms__Lists__GroupHomework__Add__index",1657:"p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index",1674:"p__Classrooms__ClassicCases__index",1702:"p__Classrooms__New__index",1713:"p__virtualSpaces__Lists__Settings__index",1717:"layouts__index",1727:"p__Classrooms__Lists__CourseGroup__NotList__index",1783:"p__virtualSpaces__Lists__Experiment__index",1831:"p__Graduations__Index__index",1836:"p__Classrooms__Lists__Attendance__Webview__Teacher__index",1855:"p__MoopCases__InfoPanel__index",1880:"p__User__Detail__Order__pages__apply__index",1939:"p__User__Detail__Order__index",1953:"p__Problemset__NewItem__index",1962:"p__Classrooms__Lists__Engineering__index",2045:"p__Engineering__Lists__TeacherList__index",2076:"p__User__Detail__Competitions__index",2102:"p__Classrooms__Lists__Board__Edit__index",2141:"p__Shixuns__Detail__Split__index",2216:"p__DataSet__Index__index",2240:"p__User__Detail__Videos__Upload__index",2254:"p__Shixuns__Detail__Discuss__index",2303:"p__Classrooms__Lists__CommonHomework__Comment__index",2307:"p__Report__index",2338:"p__Classrooms__Lists__CommonHomework__Review__index",2339:"p__virtualSpaces__Lists__Plan__Detail__index",2396:"p__User__Detail__ResourcesCenter__index",2404:"p__Classrooms__Lists__Template__teacher__index",2412:"p__User__Detail__Videos__index",2425:"p__Classrooms__Lists__Board__Detail__index",2443:"p__Graduations__Lists__StageModule__index",2476:"p__Colleges__index",2501:"p__Search__index",2529:"p__User__Detail__id",2539:"p__Graduations__Review__index",2548:"p__Engineering__Norm__Detail__index",2570:"p__Competitions__Detail__index",2603:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Add__index",2659:"p__User__Detail__UserPortrait__index",2707:"p__Innovation__MyDataSet__index",2806:"p__User__Detail__Topics__Exercise__Detail__index",2819:"p__Classrooms__Lists__Template__detail__index",2823:"p__Engineering__Navigation__Home__index",2826:"p__User__Detail__DataSet__index",2829:"p__Messages__Private__index",2865:"p__Innovation__MyMirror__index",2875:"p__Shixuns__Detail__id",2884:"p__Classrooms__Lists__ProgramHomework__Comment__index",2983:"p__Forums__Index__index",3006:"p__Engineering__index",3141:"p__Innovation__Detail__index",3157:"p__User__Detail__ExperImentImg__Add__index",3183:"p__Engineering__Lists__GraduationIndex__index",3212:"p__MoopCases__index",3220:"p__Classrooms__Lists__Video__Upload__index",3247:"p__Paperlibrary__See__index",3260:"p__Paperlibrary__Add__index",3276:"p__Classrooms__Lists__Statistics__UserportraitStatistics__index",3282:"layouts__ShixunDetail__index",3317:"p__Classrooms__Lists__Graduation__Topics__Add__index",3332:"p__Paths__Detail__id",3355:"p__Classrooms__Lists__Polls__index",3356:"p__Classrooms__Lists__Assistant__index",3391:"p__Classrooms__Lists__ProgramHomework__Detail__components__CodeReview__Detail__index",3433:"p__Classrooms__Lists__Exercise__Sumup__Edit__index",3442:"p__Classrooms__Lists__Board__Add__index",3447:"p__User__Detail__Order__pages__orderInformation__index",3451:"p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index",3496:"p__User__Detail__OtherResources__index",3509:"p__HttpStatus__SixActivities",3581:"p__Classrooms__Lists__ShixunHomeworks__Detail__index",3585:"p__Classrooms__Lists__Statistics__StudentSituation__index",3665:"p__tasks__index",3668:"p__Classrooms__Lists__CommonHomework__Detail__index",3747:"p__virtualSpaces__Lists__Homepage__index",3784:"p__Paperlibrary__Random__Detail__index",3873:"p__virtualSpaces__Lists__Lesson__index",3910:"p__HttpStatus__introduction",3935:"p__Classrooms__Lists__GroupHomework__index",3951:"p__Classrooms__Lists__ProgramHomework__Detail__index",4030:"p__Classrooms__Lists__ProgramHomework__AddAndEdit__index",4056:"p__IntrainCourse__index",4078:"p__Messages__Tidings__index",4093:"p__Classrooms__Lists__Attendance__Detail__index",4105:"p__Classrooms__Lists__Exercise__Answer__index",4144:"p__Problemset__Preview__New__index",4164:"p__Classrooms__Lists__Exercise__Detail__index",4216:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Edit__index",4217:"p__Classrooms__Lists__Video__Statistics__index",4227:"p__Paths__Overview__index",4259:"p__User__Detail__Order__pages__result__index",4264:"p__Forums__New__index",4449:"p__Competitions__Exports__index",4492:"p__Graduations__Lists__StudentSelection__index",4496:"p__HttpStatus__HpcCourse",4498:"p__Shixuns__Edit__body__Level__Challenges__NewPractice__index",4504:"p__virtualSpaces__Lists__Survey__index",4514:"p__Account__Results__index",4520:"p__Account__Secure__index",4546:"p__Engineering__Lists__TrainingProgram__Add__index",4572:"p__Classrooms__Lists__ExportList__index",4599:"p__Problemset__index",4601:"p__Paths__Detail__Statistics__index",4610:"p__User__Detail__LearningPath__index",4621:"p__Administration__Profession__index",4662:"p__Classrooms__Lists__GroupHomework__Review__index",4715:"p__virtualSpaces__Lists__Material__Detail__index",4736:"p__User__Detail__Projects__index",4741:"p__Problems__OjForm__NewEdit__index",4757:"p__virtualSpaces__Lists__Workplace__index",4766:"p__Administration__index",4770:"p__Classrooms__Lists__ProgramHomework__Detail__answer__index",4795:"p__Classrooms__Lists__Graduation__Tasks__Add__index",4800:"p__Engineering__Lists__GraduatedMatrix__index",4849:"p__User__Detail__ExperImentImg__index",4862:"p__Paperlibrary__index",4884:"p__Shixuns__Detail__Repository__Commit__index",4889:"p__Classrooms__Lists__Exercise__ImitateAnswer__index",4928:"p__Classrooms__Lists__LearningPath__index",4973:"p__Engineering__Evaluate__List__index",4994:"p__Problems__OjForm__index",5022:"p__Graduations__Lists__Settings__index",5043:"p__User__Detail__Topics__Poll__Edit__index",5048:"p__Classrooms__Lists__Graduation__Topics__index",5096:"p__Shixuns__Detail__AuditSituation__index",5111:"p__Terminal__index",5125:"p__Classrooms__Lists__Exercise__DetailedAnalysis__index",5148:"p__Classrooms__Lists__Polls__Answer__index",5176:"p__User__Detail__Videos__Protocol__index",5179:"p__Administration__Student__Edit__index",5186:"p__Classrooms__Overview__index",5191:"p__User__Detail__Certificate__index",5238:"p__virtualSpaces__Lists__Material__index",5297:"p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index",5319:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index",5335:"p__Engineering__Lists__CourseMatrix__index",5357:"p__Engineering__Lists__TrainingProgram__Edit__index",5359:"p__Messages__Detail__index",5382:"p__DataSet__Detail__index",5402:"p__User__Detail__Topics__Detail__index",5470:"p__Shixuns__Detail__Collaborators__index",5518:"p__Classrooms__Lists__Template__index",5549:"p__Shixuns__New__CreateImg__index",5572:"p__Paths__HigherVocationalEducation__index",5573:"p__Shixuns__Detail__Merge__index",5599:"p__User__Detail__Paths__index",5624:"p__Graduations__Lists__Index__index",5650:"p__Competitions__Update__index",5705:"p__virtualSpaces__Lists__Construction__index",5729:"p__Help__Index",5775:"p__Engineering__Lists__Document__index",5786:"layouts__LoginAndRegister__index",5798:"p__Classrooms__Lists__Video__Statistics__UserDetail__index",5816:"p__Paperlibrary__Random__Edit__index",5825:"p__Classrooms__Lists__Exercise__index",5888:"p__Classrooms__Lists__CommonHomework__Add__index",5891:"p__virtualSpaces__Lists__Resources__index",5895:"p__User__Detail__AccountInfo__Profile__Edit__index",5915:"p__knowledgegraph__Detail__Statistics__index",5972:"layouts__user__index",5992:"p__Classrooms__Lists__Exercise__ReviewGroup__index",6029:"p__Administration__Student__index",6052:"p__Paths__Index__index",6063:"p__Graduations__Lists__Personmanage__index",6069:"p__virtualSpaces__Lists__Lesson__Detail__index",6127:"p__Classrooms__Lists__ProgramHomework__Ranking__index",6265:"p__virtualSpaces__Lists__Discussion__index",6270:"p__MyProblem__index",6277:"p__Shixuns__Edit__index",6328:"p__Shixuns__Edit__body__Warehouse__index",6366:"p__Innovation__PublicProject__index",6434:"p__User__Detail__Order__pages__records__index",6444:"p__Video__Detail__id",6452:"p__Innovation__PublicDataSet__index",6541:"p__Shixuns__Detail__Dataset__index",6583:"p__User__Detail__Classrooms__index",6587:"p__User__Detail__Videos__Protocol__resource",6634:"p__Innovation__Tasks__index",6651:"p__Engineering__Evaluate__Detail__index",6685:"p__Classrooms__Index__index",6729:"p__Classrooms__Lists__GroupHomework__Edit__index",6741:"p__Engineering__Norm__List__index",6758:"p__Classrooms__Lists__Attachment__index",6784:"p__Innovation__Edit__index",6788:"p__Classrooms__Lists__ProgramHomework__index",6796:"p__virtualSpaces__Lists__Announcement__Detail__index",6805:"p__User__Detail__AccountInfo__RealNameCertification__index",6820:"p__User__Detail__Topics__Normal__index",6845:"p__Shixuns__Detail__Settings__index",6882:"p__Classrooms__New__StartClass__index",6883:"p__Competitions__Index__index",6904:"p__MoopCases__FormPanel__index",6913:"p__Question__AddOrEdit__index",6963:"p__Classrooms__Lists__Engineering__Detail__index",6982:"p__User__Detail__AccountInfo__Profile__index",7008:"p__Shixuns__New__index",7043:"p__User__Detail__Topics__Exercise__Edit__index",7045:"p__Classrooms__Lists__CommonHomework__SubmitWork__index",7046:"p__Shixuns__Detail__Repository__AddFile__index",7058:"p__virtualSpaces__Lists__Survey__Detail__index",7062:"layouts__SimpleLayouts",7178:"p__User__BindAccount__index",7182:"p__User__ResetPassword__index",7224:"p__StatsDashboard__index",7242:"p__Innovation__MyProject__index",7260:"p__Account__Certification__index",7395:"p__Classrooms__Lists__Statistics__StudentDetail__index",7460:"p__Question__OjProblem__index",7477:"p__virtualSpaces__Lists__Announcement__index",7482:"p__Classrooms__Lists__Exercise__Notice__index",7527:"p__MyProblem__RecordDetail__index",7545:"p__Graduations__Lists__Archives__index",7560:"p__Administration__College__index",7589:"p__virtualSpaces__Lists__DigitalTopics__index",7614:"p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index",7622:"p__Classrooms__Lists__Polls__Detail__index",7806:"p__Classrooms__Lists__Statistics__StatisticsQuality__index",7852:"p__Classrooms__Lists__ShixunHomeworks__index",7855:"p__User__Detail__ResourcesCenter__Detail__index",7857:"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index",7878:"p__Classrooms__Lists__LiveVideo__index",7884:"p__Shixuns__Exports__index",7922:"p__Classrooms__Lists__CourseGroup__Detail__index",7948:"p__User__Detail__ClassManagement__index",8014:"p__Classrooms__Lists__Teachers__index",8062:"p__User__Detail__Topicbank__index",8072:"p__Classrooms__Lists__GroupHomework__SubmitWork__index",8077:"p__Classrooms__Lists__Students__index",8085:"p__Classrooms__Lists__Exercise__Review__index",8143:"layouts__GraduationsDetail__index",8155:"p__Shixuns__Overview__index",8237:"p__User__Detail__Order__pages__view__index",8241:"p__virtualSpaces__Lists__Plan__index",8302:"p__Classrooms__Lists__Board__index",8307:"p__User__Detail__Shixuns__index",8398:"p__virtualSpaces__Lists__Resources__Detail__index",8431:"p__Classrooms__Lists__Exercise__Export__index",8435:"p__Classrooms__Lists__Attendance__index",8447:"p__virtualSpaces__Lists__Knowledge__index",8517:"p__User__Detail__Topics__Group__index",8563:"p__virtualSpaces__Lists__Discussion__Detail__index",8634:"p__Classrooms__Lists__CourseGroup__List__index",8665:"p__Engineering__Lists__TrainingObjectives__index",8688:"p__Shixuns__Detail__Repository__index",8689:"p__Classrooms__Lists__Statistics__VideoStatistics__index",8723:"p__Classrooms__Lists__Polls__Edit__index",8782:"p__Shixuns__Index__index",8787:"p__Competitions__Entered__index",8797:"p__Competitions__Edit__index",8823:"p__knowledgegraph__Detail__id",8827:"p__Classrooms__Lists__OnlineLearning__index",8866:"p__index",8882:"p__Classrooms__Lists__Graduation__Tasks__Detail__index",8885:"p__Classrooms__Lists__Statistics__StudentStatistics__index",8982:"p__Paths__New__index",8999:"p__Three__index",9076:"p__Account__Binding__index",9133:"p__Shixuns__Detail__Challenges__index",9205:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index",9215:"p__Shixuns__Detail__ForkList__index",9332:"p__Classrooms__Lists__Video__index",9360:"p__User__Detail__virtualSpaces__index",9366:"p__User__Login__index",9391:"p__Engineering__Lists__CurseSetting__index",9404:"monaco-editor",9408:"p__Shixuns__Detail__RankingList__index",9416:"p__Graduations__Lists__Tasks__index",9487:"p__LargeScreen__index",9489:"p__Engineering__Lists__CourseList__index",9507:"p__User__Detail__ResourceGuarantee__index",9519:"p__User__Detail__ClassManagement__Item__index",9590:"p__User__Detail__TeachGroup__index",9647:"p__Question__Index__index",9649:"p__Engineering__Lists__TrainingProgram__index",9674:"p__Shixuns__New__ImagePreview__index",9677:"p__virtualSpaces__Lists__Announcement__AddAndEdit__index",9695:"p__Classrooms__Lists__Polls__Add__index",9715:"p__Classrooms__Lists__CommonHomework__Edit__index",9716:"p__Question__OjProblem__RecordDetail__index",9785:"p__Classrooms__Lists__Template__student__index",9788:"p__Account__Profile__index",9890:"p__Classrooms__Lists__CommonHomework__index",9891:"p__User__Detail__Videos__Success__index",9921:"p__Classrooms__ExamList__index",9922:"p__Classrooms__Lists__Statistics__StudentVideo__index",9944:"p__Classrooms__Lists__Video__Statistics__StudentDetail__index"}[d]||d)+"."+{26:"91ed81ab",67:"1ad7d0db",109:"1a7fc455",195:"65632591",264:"5fd9b3fc",265:"d92c6f86",292:"9a0e8f6b",310:"06815302",337:"ee05039e",342:"ab091f90",479:"bba9e475",485:"d63578fe",508:"82593858",532:"c829a014",533:"5fee20bc",547:"5581debc",556:"892f4292",559:"c49aa5ba",576:"e4f97d42",643:"22ded693",680:"e67e9e01",700:"1d9948a7",737:"98eb2f74",799:"b3487c4b",869:"6740e24b",895:"ad846737",921:"30cc7e9b",928:"0277270a",1006:"2263131d",1043:"e8c0878b",1045:"0eeb3595",1048:"dafc3f4f",1070:"e67e9e01",1148:"754fff63",1211:"bdb8faab",1253:"46aca33c",1257:"156e8f74",1265:"d902bdae",1276:"bbc6eeec",1343:"b7f33c89",1416:"f1916094",1423:"5c4a76fc",1427:"f91322f7",1450:"1edcc2ed",1461:"917cbb16",1470:"183c9793",1475:"d22fbaa0",1482:"d159af07",1512:"f3653a35",1520:"f7300d0e",1545:"04d6c7d3",1578:"efcb0bdc",1581:"efffd7c0",1582:"8e45b6ff",1657:"ddd6a700",1674:"fdbc1e05",1702:"fca45632",1713:"5ed278a4",1717:"08a9e890",1727:"de83767d",1783:"47d0320e",1831:"8d05bf11",1836:"5f0d3f7f",1855:"b92cccb4",1880:"f67d7892",1939:"48e30d48",1953:"23cbc47f",1962:"84e145fa",2045:"dcfad42d",2076:"09b07fa0",2102:"ec61f9f0",2141:"5eb2f330",2216:"e3ba73cf",2240:"e7cce869",2254:"ccda836f",2303:"87592c17",2307:"b2c54321",2338:"dd6e8a16",2339:"d90c9bd2",2396:"e70f11d6",2404:"08d36549",2412:"6b6ca0ef",2425:"47b23ee4",2443:"78513f2d",2476:"cf85a190",2501:"2441982c",2529:"9d9944da",2539:"43d36117",2548:"75182034",2570:"3dbc6300",2603:"0277270a",2659:"f6071a36",2707:"cabcb16e",2806:"2c7248b3",2819:"9455b08a",2823:"a13b21fb",2826:"0b6be43b",2829:"a5909474",2865:"6ef3cf6b",2875:"d6c8355d",2884:"904823c3",2983:"c8c482f7",3006:"7fce4e74",3141:"72791f8b",3157:"2038b5dc",3183:"b2253f40",3212:"ad1521c1",3220:"a5be3990",3247:"50105eb7",3260:"49ca09b2",3276:"7bbb651d",3282:"2dff97e8",3317:"137440b7",3332:"dab65052",3355:"39e3d07c",3356:"c6a4098f",3391:"f0e498fe",3433:"e6919a98",3442:"bdf7849c",3447:"1653d818",3451:"e3a31387",3496:"44bf4044",3509:"70043ca5",3581:"7630d0f9",3585:"5f288e7b",3665:"5250d444",3668:"86f20630",3747:"e06419ae",3784:"c81d4a51",3873:"bbd9808d",3910:"658d457f",3935:"cd50aa32",3951:"4a9249b1",4030:"f308ee3a",4056:"10eacfff",4078:"aa54548e",4093:"c1f29d01",4105:"e39011c7",4144:"f10aa199",4164:"0e623fec",4216:"0277270a",4217:"387bf824",4227:"79c3b323",4259:"ebd953ac",4264:"36917df0",4449:"e68d8d58",4492:"cdc29460",4496:"77babddd",4498:"b05686dd",4504:"466a61af",4514:"887bdbb6",4520:"e86d61a1",4546:"4101a1f2",4572:"70e5675d",4599:"aca6ff45",4601:"3c8ac557",4610:"687005a6",4621:"ead619d7",4662:"4e7b8c12",4715:"45efe14a",4736:"2968553b",4741:"afeb6eca",4757:"73b754d2",4766:"b5df5a8e",4770:"674b2d2a",4795:"939f9f81",4800:"f50302a4",4849:"2a1dc219",4862:"e8eacc3e",4884:"bd293d3b",4889:"db5cf2c9",4928:"a4b1a237",4973:"129c56e8",4994:"50caae56",5022:"81b1b86b",5043:"247e6954",5048:"aa08c681",5096:"4f6a4d00",5111:"5d09a39a",5125:"57501e4a",5148:"572faeac",5176:"9c49e7fa",5179:"21f01751",5186:"aeb0dc56",5191:"0af389b2",5238:"3d814a61",5297:"5426028f",5319:"34217c3f",5335:"fec6fd9f",5357:"1fbb7d24",5359:"b254a598",5382:"0c911991",5402:"60617d0d",5470:"b25021a2",5518:"9f425be3",5549:"39285664",5572:"c945fbf2",5573:"6ecf393c",5599:"2ae54005",5624:"0208754c",5650:"f8f63f4b",5705:"df6bf207",5729:"46f9b5d4",5775:"8945cad2",5786:"37a81eaa",5798:"ce1cf7da",5816:"d749b200",5825:"73177a8c",5888:"193a7f8f",5891:"3b7a128f",5895:"9ddd624a",5915:"bc9c3e69",5972:"c7a91e8e",5992:"419f5d2f",6029:"2ded5a5a",6052:"59cb6398",6063:"a5f0409a",6069:"b4a6d2ab",6127:"f31505a8",6265:"9459eb93",6270:"cc24b0fc",6277:"12e50919",6328:"de2b9d62",6366:"079fc2d8",6434:"0112f8db",6444:"fd46d237",6452:"50a6d310",6541:"d1c967cd",6583:"7d33505d",6587:"9c49e7fa",6634:"df151169",6651:"b07fe216",6656:"03cdfb68",6685:"f5f5b969",6729:"aea3b7f5",6741:"b838eb14",6758:"558cc090",6784:"1affe817",6788:"9cd39ff5",6796:"89c76e37",6805:"5b253c81",6820:"cebdf1cf",6845:"b7aabf70",6882:"c2d2eada",6883:"7740a702",6904:"44afaa9b",6913:"739202fe",6963:"84e145fa",6982:"3043a9c3",7008:"fe74a83d",7043:"25478869",7045:"48f6fc4c",7046:"c7301ded",7058:"984a456a",7062:"fe78dd10",7178:"6e47d75d",7182:"183c9793",7224:"7caf9754",7242:"4f353f61",7260:"2c380d56",7395:"5c10e8d8",7460:"dedd2038",7477:"832457fc",7482:"c37a3f01",7527:"6b64ff47",7545:"1f6a7624",7560:"d82e43ca",7589:"2a3e68f3",7614:"de9ee12f",7622:"ca0e645a",7806:"80b7b1d6",7852:"fce1e197",7855:"3970a709",7857:"13a29416",7878:"8dfa25f5",7884:"1ca6cde0",7922:"c1d9e2f3",7948:"bed733e5",8014:"9ef39203",8062:"8e384b9f",8072:"540f746b",8077:"0b2c51d9",8085:"0b7f10a8",8143:"b6ca83ad",8155:"d345abd7",8237:"44654223",8241:"02a0cb2f",8302:"b4649ac5",8307:"02e15761",8398:"cf8eb735",8431:"60a111b6",8435:"21d4dff0",8447:"0875c082",8517:"cccfddad",8563:"3a763677",8634:"317d0a2b",8665:"c52575bc",8688:"c044db56",8689:"459af240",8723:"5166ac36",8782:"918afc23",8787:"121de108",8797:"13e5189e",8823:"9e7a9852",8827:"af0ed6a3",8866:"664121ad",8882:"f3e42f72",8885:"de905169",8982:"6e2e337e",8999:"448aa22f",9076:"6a501148",9133:"ab171f08",9205:"49a3e67d",9215:"f737e7e7",9332:"a627cf98",9360:"27c7d4f7",9366:"4f511490",9391:"c11edda0",9404:"d8cf04f7",9408:"d3565b1a",9416:"6ead6660",9487:"a73f5679",9489:"ee2bb5b7",9507:"396e34cd",9519:"88d248ee",9590:"29583579",9647:"452de157",9649:"00fb4211",9674:"d0f91ed7",9677:"26548cb7",9695:"bb84056a",9715:"b6c6645f",9716:"a5750e0d",9785:"08d36549",9788:"781a4d20",9890:"9ebce4ba",9891:"512a9301",9921:"e0db9101",9922:"33690872",9944:"1ba31055"}[d]+".chunk.css"}}(),function(){__webpack_require__.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(d){if(typeof window=="object")return window}}()}(),function(){__webpack_require__.hmd=function(d){return d=Object.create(d),d.children||(d.children=[]),Object.defineProperty(d,"exports",{enumerable:!0,set:function(){throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+d.id)}}),d}}(),function(){__webpack_require__.o=function(d,g){return Object.prototype.hasOwnProperty.call(d,g)}}(),function(){var d={};__webpack_require__.l=function(g,e,r,i){if(d[g]){d[g].push(e);return}var l,c;if(r!==void 0)for(var f=document.getElementsByTagName("script"),s=0;s<f.length;s++){var h=f[s];if(h.getAttribute("src")==g){l=h;break}}l||(c=!0,l=document.createElement("script"),l.charset="utf-8",l.timeout=120,__webpack_require__.nc&&l.setAttribute("nonce",__webpack_require__.nc),l.src=g,l.src.indexOf(window.location.origin+"/")!==0&&(l.crossOrigin="anonymous")),d[g]=[e];var u=function(x,p){l.onerror=l.onload=null,clearTimeout(a);var y=d[g];if(delete d[g],l.parentNode&&l.parentNode.removeChild(l),y&&y.forEach(function(_){return _(p)}),x)return x(p)},a=setTimeout(u.bind(null,void 0,{type:"timeout",target:l}),12e4);l.onerror=u.bind(null,l.onerror),l.onload=u.bind(null,l.onload),c&&document.head.appendChild(l)}}(),function(){__webpack_require__.r=function(d){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(d,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(d,"__esModule",{value:!0})}}(),function(){__webpack_require__.nmd=function(d){return d.paths=[],d.children||(d.children=[]),d}}(),function(){__webpack_require__.p="/react/build/"}(),function(){if(typeof document!="undefined"){var d=function(i,l,c,f,s){var h=document.createElement("link");h.rel="stylesheet",h.type="text/css";var u=function(a){if(h.onerror=h.onload=null,a.type==="load")f();else{var x=a&&(a.type==="load"?"missing":a.type),p=a&&a.target&&a.target.href||l,y=new Error("Loading CSS chunk "+i+` failed.
(`+p+")");y.code="CSS_CHUNK_LOAD_FAILED",y.type=x,y.request=p,h.parentNode.removeChild(h),s(y)}};return h.onerror=h.onload=u,h.href=l,h.href.indexOf(window.location.origin+"/")!==0&&(h.crossOrigin="anonymous"),c?c.parentNode.insertBefore(h,c.nextSibling):document.head.appendChild(h),h},g=function(i,l){for(var c=document.getElementsByTagName("link"),f=0;f<c.length;f++){var s=c[f],h=s.getAttribute("data-href")||s.getAttribute("href");if(s.rel==="stylesheet"&&(h===i||h===l))return s}for(var u=document.getElementsByTagName("style"),f=0;f<u.length;f++){var s=u[f],h=s.getAttribute("data-href");if(h===i||h===l)return s}},e=function(i){return new Promise(function(l,c){var f=__webpack_require__.miniCssF(i),s=__webpack_require__.p+f;if(g(f,s))return l();d(i,s,null,l,c)})},r={4620:0};__webpack_require__.f.miniCss=function(i,l){var c={26:1,67:1,109:1,195:1,264:1,265:1,292:1,310:1,337:1,342:1,479:1,485:1,508:1,532:1,533:1,547:1,556:1,559:1,576:1,643:1,680:1,700:1,737:1,799:1,869:1,895:1,921:1,928:1,1006:1,1043:1,1045:1,1048:1,1070:1,1148:1,1211:1,1253:1,1257:1,1265:1,1276:1,1343:1,1416:1,1423:1,1427:1,1450:1,1461:1,1470:1,1475:1,1482:1,1512:1,1520:1,1545:1,1578:1,1581:1,1582:1,1657:1,1674:1,1702:1,1713:1,1717:1,1727:1,1783:1,1831:1,1836:1,1855:1,1880:1,1939:1,1953:1,1962:1,2045:1,2076:1,2102:1,2141:1,2216:1,2240:1,2254:1,2303:1,2307:1,2338:1,2339:1,2396:1,2404:1,2412:1,2425:1,2443:1,2476:1,2501:1,2529:1,2539:1,2548:1,2570:1,2603:1,2659:1,2707:1,2806:1,2819:1,2823:1,2826:1,2829:1,2865:1,2875:1,2884:1,2983:1,3006:1,3141:1,3157:1,3183:1,3212:1,3220:1,3247:1,3260:1,3276:1,3282:1,3317:1,3332:1,3355:1,3356:1,3391:1,3433:1,3442:1,3447:1,3451:1,3496:1,3509:1,3581:1,3585:1,3665:1,3668:1,3747:1,3784:1,3873:1,3910:1,3935:1,3951:1,4030:1,4056:1,4078:1,4093:1,4105:1,4144:1,4164:1,4216:1,4217:1,4227:1,4259:1,4264:1,4449:1,4492:1,4496:1,4498:1,4504:1,4514:1,4520:1,4546:1,4572:1,4599:1,4601:1,4610:1,4621:1,4662:1,4715:1,4736:1,4741:1,4757:1,4766:1,4770:1,4795:1,4800:1,4849:1,4862:1,4884:1,4889:1,4928:1,4973:1,4994:1,5022:1,5043:1,5048:1,5096:1,5111:1,5125:1,5148:1,5176:1,5179:1,5186:1,5191:1,5238:1,5297:1,5319:1,5335:1,5357:1,5359:1,5382:1,5402:1,5470:1,5518:1,5549:1,5572:1,5573:1,5599:1,5624:1,5650:1,5705:1,5729:1,5775:1,5786:1,5798:1,5816:1,5825:1,5888:1,5891:1,5895:1,5915:1,5972:1,5992:1,6029:1,6052:1,6063:1,6069:1,6127:1,6265:1,6270:1,6277:1,6328:1,6366:1,6434:1,6444:1,6452:1,6541:1,6583:1,6587:1,6634:1,6651:1,6656:1,6685:1,6729:1,6741:1,6758:1,6784:1,6788:1,6796:1,6805:1,6820:1,6845:1,6882:1,6883:1,6904:1,6913:1,6963:1,6982:1,7008:1,7043:1,7045:1,7046:1,7058:1,7062:1,7178:1,7182:1,7224:1,7242:1,7260:1,7395:1,7460:1,7477:1,7482:1,7527:1,7545:1,7560:1,7589:1,7614:1,7622:1,7806:1,7852:1,7855:1,7857:1,7878:1,7884:1,7922:1,7948:1,8014:1,8062:1,8072:1,8077:1,8085:1,8143:1,8155:1,8237:1,8241:1,8302:1,8307:1,8398:1,8431:1,8435:1,8447:1,8517:1,8563:1,8634:1,8665:1,8688:1,8689:1,8723:1,8782:1,8787:1,8797:1,8823:1,8827:1,8866:1,8882:1,8885:1,8982:1,8999:1,9076:1,9133:1,9205:1,9215:1,9332:1,9360:1,9366:1,9391:1,9404:1,9408:1,9416:1,9487:1,9489:1,9507:1,9519:1,9590:1,9647:1,9649:1,9674:1,9677:1,9695:1,9715:1,9716:1,9785:1,9788:1,9890:1,9891:1,9921:1,9922:1,9944:1};r[i]?l.push(r[i]):r[i]!==0&&c[i]&&l.push(r[i]=e(i).then(function(){r[i]=0},function(f){throw delete r[i],f}))}}}(),function(){__webpack_require__.b=document.baseURI||self.location.href;var d={4620:0};__webpack_require__.f.j=function(r,i){var l=__webpack_require__.o(d,r)?d[r]:void 0;if(l!==0)if(l)i.push(l[2]);else if(/^(4599|6883|9404)$/.test(r))d[r]=0;else{var c=new Promise(function(u,a){l=d[r]=[u,a]});i.push(l[2]=c);var f=__webpack_require__.p+__webpack_require__.u(r),s=new Error,h=function(u){if(__webpack_require__.o(d,r)&&(l=d[r],l!==0&&(d[r]=void 0),l)){var a=u&&(u.type==="load"?"missing":u.type),x=u&&u.target&&u.target.src;s.message="Loading chunk "+r+` failed.
(`+a+": "+x+")",s.name="ChunkLoadError",s.type=a,s.request=x,l[1](s)}};__webpack_require__.l(f,h,"chunk-"+r,r)}};var g=function(r,i){var l=i[0],c=i[1],f=i[2],s,h,u=0;if(l.some(function(x){return d[x]!==0})){for(s in c)__webpack_require__.o(c,s)&&(__webpack_require__.m[s]=c[s]);if(f)var a=f(__webpack_require__)}for(r&&r(i);u<l.length;u++)h=l[u],__webpack_require__.o(d,h)&&d[h]&&d[h][0](),d[h]=0},e=self.webpackChunk=self.webpackChunk||[];e.forEach(g.bind(null,0)),e.push=g.bind(null,e.push.bind(e))}();var __webpack_exports__={};(function(){"use strict";var d=__webpack_require__(68557),g=__webpack_require__(44852),e=__webpack_require__(64003),r=__webpack_require__(17898),i=__webpack_require__(40902),l=__webpack_require__(2259),c=__webpack_require__(14589),f=__webpack_require__(69811),s=__webpack_require__(18114),h=__webpack_require__(23844),u=__webpack_require__(39581),a=__webpack_require__(40632),x=__webpack_require__(22690),p=__webpack_require__(7786),y=__webpack_require__(99062),_=__webpack_require__(31808),b=__webpack_require__(99953),S=__webpack_require__(86357),R=__webpack_require__(93074),L=__webpack_require__(96331),T=__webpack_require__(2924),D=__webpack_require__(26425),M=__webpack_require__(32125),N=__webpack_require__(16137),j=__webpack_require__(48435),Q=__webpack_require__(11553),X=__webpack_require__(70365),Y=__webpack_require__(33717),oe=__webpack_require__(17482),ie=__webpack_require__(23708),ue=__webpack_require__(65033),K=__webpack_require__(52732),V=__webpack_require__(99382),G=__webpack_require__(88437),te=__webpack_require__(68440),q=__webpack_require__(13412),J=__webpack_require__(11005),le=__webpack_require__(70348),z=__webpack_require__(19801),F=__webpack_require__(91550),se=__webpack_require__(85223),_e=__webpack_require__(7154),Pe=__webpack_require__(67788),Re=__webpack_require__(96009),Ze=__webpack_require__(9402),$e=__webpack_require__(62489),Ht=__webpack_require__(80881),bt=__webpack_require__(62837),Ot=__webpack_require__(4705),qt=__webpack_require__(13941),er=__webpack_require__(1148),Jt=__webpack_require__(82445),Xe=__webpack_require__(27267),Pt=__webpack_require__(96353),Ut=__webpack_require__(90308),st=__webpack_require__(84818),yt=__webpack_require__(80585),ht=__webpack_require__(89170),Je=__webpack_require__(71012),je=__webpack_require__(84203),ge=__webpack_require__(22112),Se=__webpack_require__(81440),Me=__webpack_require__(25430),Ne=__webpack_require__(70105),He=__webpack_require__(71390),nt=__webpack_require__(96844),ct=__webpack_require__(83578),Vt=__webpack_require__(69762),Wt=__webpack_require__(76880),Ie=__webpack_require__(65009),qe=__webpack_require__(28796),Gt=__webpack_require__(56450),kt=__webpack_require__(78342),Zt=__webpack_require__(13161),Nt=__webpack_require__(54226),Ct=__webpack_require__(70201),Yt=__webpack_require__(34941),We=__webpack_require__(85671),fe=__webpack_require__(35152),pe=__webpack_require__(85660),Dt=__webpack_require__(80031),Ce=__webpack_require__(34434),dt=__webpack_require__(83579),zt=__webpack_require__(74307),Tt=__webpack_require__(97423),Oe=__webpack_require__(93321),St=__webpack_require__(82277),be=__webpack_require__(61425),Ke=__webpack_require__(61873),vt=__webpack_require__(9307),Rt=__webpack_require__(8821),Fe=__webpack_require__(64385),kr=__webpack_require__(64099),At=__webpack_require__(62455),Kr=__webpack_require__(79965),qr=__webpack_require__(59118),Ar=__webpack_require__(275),Br=__webpack_require__(31919),_r=__webpack_require__(51284),Ur=__webpack_require__(10177),sn=__webpack_require__(85690),cn=__webpack_require__(92114),or=__webpack_require__(1017),Lt=__webpack_require__(14480),mt=__webpack_require__(40516),gt=__webpack_require__(76345),$t=__webpack_require__(7282),Cr=__webpack_require__(58055),gr=__webpack_require__(93547),ot=__webpack_require__(31237),Mr=__webpack_require__(17954),yn=__webpack_require__(58580),Zn=__webpack_require__(47146),mr=__webpack_require__(40416),tn=__webpack_require__(7615),hn=__webpack_require__(72820),Fn=__webpack_require__(86070),ti=__webpack_require__(23569),jn=__webpack_require__(55639),Zi=__webpack_require__(63046),xi=__webpack_require__(464),Si=__webpack_require__(51082),Ei=__webpack_require__(83850),mi=__webpack_require__(41990),Xi=__webpack_require__(15787),qn=__webpack_require__(55888),Yi=__webpack_require__(53827),wt=__webpack_require__(78143),ut=__webpack_require__(66419),Jn=__webpack_require__(75765),Ai=__webpack_require__(14645),ei=__webpack_require__(71122),Gi=__webpack_require__(42084),vi=__webpack_require__(25070),si=__webpack_require__(77140),En=__webpack_require__(15954),tr=__webpack_require__(4266),_t=__webpack_require__(49988),rt=__webpack_require__(38823),It=__webpack_require__(24627),pt=__webpack_require__(4045),lr=__webpack_require__(50747),fr=__webpack_require__(43595),Ir=__webpack_require__(92324),Hr=__webpack_require__(23551),ze=__webpack_require__(74521),et=__webpack_require__(57891),Ee=__webpack_require__(84138),it=__webpack_require__(51832),ir=__webpack_require__(37135),Dr=__webpack_require__(6474),Er=__webpack_require__(40135),Or=__webpack_require__(7982),$r=__webpack_require__(14893),bn=__webpack_require__(49233),Pr=__webpack_require__(92130),un=__webpack_require__(42844),rn=__webpack_require__(6536),ln=__webpack_require__(27228),An=__webpack_require__(62921),pa=__webpack_require__(44001),Pi=__webpack_require__(92262),gi=__webpack_require__(54744),pn=__webpack_require__(38214),ui=__webpack_require__(12756),Ni=__webpack_require__(93379),la=__webpack_require__(62007),xs=__webpack_require__(90572),Pa=__webpack_require__(37343),Na=__webpack_require__(45945),Is=__webpack_require__(75551),$a=__webpack_require__(32493),hs=__webpack_require__(20852),oa=__webpack_require__(46302),yi=__webpack_require__(18827),Ga=__webpack_require__(76718),Ds=__webpack_require__(79172),$i=__webpack_require__(32192),ps=__webpack_require__(42828),Co=__webpack_require__(5658),La=__webpack_require__(55629),_s=__webpack_require__(62925),ji=__webpack_require__(9595),Gs=__webpack_require__(58127),Rn=__webpack_require__(70917),ja=__webpack_require__(53427),ns=__webpack_require__(70878),ls=__webpack_require__(49257),Vi=__webpack_require__(72910),Ia=__webpack_require__(34932),Da=__webpack_require__(81046),ms=__webpack_require__(85744),Bs=__webpack_require__(13494),_o=__webpack_require__(56338),To=__webpack_require__(66755),Vo=__webpack_require__(68709),uo=__webpack_require__(4939),ca=__webpack_require__(81927),cs=__webpack_require__(60462),mo=__webpack_require__(72571),vo=__webpack_require__(71200),go=__webpack_require__(85767),hi=__webpack_require__(84432),oi=__webpack_require__(59022),Fa=__webpack_require__(19363),Va=__webpack_require__(51054),Xa=__webpack_require__(60330),lo=__webpack_require__(55234),co=__webpack_require__(88104),Po=__webpack_require__(64336),Qa=__webpack_require__(63914),Lo=__webpack_require__(35246),yo=__webpack_require__(83470),Ko=__webpack_require__(79641),Tu=__webpack_require__(72397),_u=__webpack_require__(24860),fo=__webpack_require__(19320),fs=__webpack_require__(56233),zu=__webpack_require__(59419),Mo=__webpack_require__(64344),Io=__webpack_require__(5316),Us=__webpack_require__(93744),ou=__webpack_require__(19299),jo=__webpack_require__(15286),Do=__webpack_require__(91927),Ls=__webpack_require__(27730),bo=__webpack_require__(58707),mu=__webpack_require__(41356),Fo=__webpack_require__(51606),Qt=__webpack_require__(8966),cr=__webpack_require__(38458),sr=__webpack_require__(71957),vr=__webpack_require__(89466),wr=__webpack_require__(69653),xn=__webpack_require__(96519),Sn=__webpack_require__(95576),Un=__webpack_require__(63079),Ln=__webpack_require__(8995),Gn=__webpack_require__(23080),ur=__webpack_require__(74701),Fr=__webpack_require__(91809),xr=__webpack_require__(77517),mn=__webpack_require__(30149),Hn=__webpack_require__(55410),ft=__webpack_require__(46161),Pn=__webpack_require__(14800),Vn=__webpack_require__(91130),li=__webpack_require__(2722),Qi=__webpack_require__(55885),Nr=__webpack_require__(39034),Li=__webpack_require__(8604),ba=__webpack_require__(64963),zr=__webpack_require__(25178),na=__webpack_require__(1905),Ss=__webpack_require__(94306),ci=__webpack_require__(11762),Vs=__webpack_require__(93164),xo=__webpack_require__(88900),Os=__webpack_require__(54815),xa=__webpack_require__(81138),ds=__webpack_require__(37252),ks=__webpack_require__(81673),In=__webpack_require__(48966),gs=__webpack_require__(13015),Ns=__webpack_require__(78527),Ye=__webpack_require__(20511),Qe=__webpack_require__(78366),Mt=__webpack_require__(27427),Kt=__webpack_require__(43890),hr=__webpack_require__(55844),Rr=__webpack_require__(71361),jr=__webpack_require__(44550),vn=__webpack_require__(413),nn=__webpack_require__(77464),gn=__webpack_require__(77703),Qn=__webpack_require__(93854),ni=__webpack_require__(962),_i=__webpack_require__(44169),Ii=__webpack_require__(56272),Hi=__webpack_require__(43466),Mi=__webpack_require__(48156),wi=__webpack_require__(93236),ma=__webpack_require__(42212),Ci=__webpack_require__(63923),bi=__webpack_require__(2278),fa=__webpack_require__(36955),Ks=__webpack_require__(77326),Es=__webpack_require__(53571),Wi=__webpack_require__(28670),ka=__webpack_require__(31050),ea=__webpack_require__(25321),ki=__webpack_require__(96364),va=__webpack_require__(46304),Ba=__webpack_require__(55163),Ka=__webpack_require__(78722),eo=__webpack_require__(35977),qa=__webpack_require__(81848),so=__webpack_require__(52867),Ya=__webpack_require__(72211),Ys=__webpack_require__(84862),Ms=__webpack_require__(92381),da=__webpack_require__(19517),Ua=__webpack_require__(69667),As=__webpack_require__(80820),ga=__webpack_require__(87873),ye=__webpack_require__(54609),we=__webpack_require__(28566),yr=__webpack_require__(51697),Jr=__webpack_require__(61872),br=__webpack_require__(76077),Qr=__webpack_require__(9196),Cn=__webpack_require__(5369),ri=__webpack_require__(26259),Fi=__webpack_require__(47736),Mn=__webpack_require__(28220),Dn=__webpack_require__(62060),Bn=__webpack_require__(49350),ia=__webpack_require__(20126),Ui=__webpack_require__(18090),ho=__webpack_require__(14309),Xs=__webpack_require__(17822),eu=__webpack_require__(83543),hl=__webpack_require__(13853),qu=__webpack_require__(25188),vu=__webpack_require__(10215),Uc=__webpack_require__(3432),Pu=__webpack_require__(90486),Ve=__webpack_require__(6736),W=__webpack_require__(8774),ee=__webpack_require__(94065),ne=__webpack_require__(93036),he=__webpack_require__(75708),Ae=__webpack_require__(84624),Ge=__webpack_require__(66233),xt=__webpack_require__(43710),Ft=__webpack_require__(92762),nr=__webpack_require__(24467),Tr=__webpack_require__(68465),Wr=__webpack_require__(77004),an=__webpack_require__(83925),wn=__webpack_require__(51117),Nn=__webpack_require__(87236),Wn=__webpack_require__(83733),pi=__webpack_require__(92044),Sr=__webpack_require__(29190),aa=__webpack_require__(10775),sa=__webpack_require__(19593),is=__webpack_require__(26502),Za=__webpack_require__(10174),ws=__webpack_require__(96378),as=__webpack_require__(58216),Aa=__webpack_require__(41401),Fs=__webpack_require__(79908),Rs=__webpack_require__(82531),fi=__webpack_require__(79890),Qs=__webpack_require__(88472),po=__webpack_require__(38944),Oo=__webpack_require__(78423),za=__webpack_require__(65713),Eo=__webpack_require__(22968),zs=__webpack_require__(17564),Al=__webpack_require__(1220),Ju=__webpack_require__(44886),el=__webpack_require__(57019),gu=__webpack_require__(35295),ss=__webpack_require__(80286),uu=__webpack_require__(38487),yu=__webpack_require__(29916),wo=__webpack_require__(25541),tl=__webpack_require__(45612),Iu=__webpack_require__(34926),Yo=__webpack_require__(98080),zl=__webpack_require__(68255),Zs=__webpack_require__(96351),Uo=__webpack_require__(16450),Du=__webpack_require__(60244),Zl=__webpack_require__(86921),lu=__webpack_require__(82928),oc=__webpack_require__(42947),Zu=__webpack_require__(71568),ai=__webpack_require__(94194),Sc=__webpack_require__(30556),to=__webpack_require__(32100),uc=__webpack_require__(93102),tu=__webpack_require__(1821),rl=__webpack_require__(82074),Hu=__webpack_require__(13578),lc=__webpack_require__(59348),Ac=__webpack_require__(62882),qs=__webpack_require__(37457),cc=__webpack_require__(70654),uf=__webpack_require__(90252),Bo=__webpack_require__(29482),Cl=__webpack_require__(51630),Cc=__webpack_require__(61933),Hl=__webpack_require__(619),bu=__webpack_require__(99675),Wl=__webpack_require__(52548),Hs=__webpack_require__(53637),ro=__webpack_require__(57482),No=__webpack_require__(59725),Wu=__webpack_require__(17610),Tl=__webpack_require__(56966),ru=__webpack_require__(11507),Tc=__webpack_require__(16315),cu=__webpack_require__(60239),Xo=__webpack_require__(49381),pl=__webpack_require__(17230),xu=__webpack_require__(62720),fc=__webpack_require__(57151),_l=__webpack_require__(48732),Ra=__webpack_require__(18481),lf=__webpack_require__(55055),zc=__webpack_require__(7195),Ou=__webpack_require__(89179),Pc=__webpack_require__(90965),cf=__webpack_require__(67725),dc=__webpack_require__(59884),nu=__webpack_require__(89202),Zc=__webpack_require__(97815),hc=__webpack_require__(11593),Gl=__webpack_require__(7597),Hc=__webpack_require__(55182),pc=__webpack_require__(34366),zo=__webpack_require__(85425),Gu=__webpack_require__(64522),Pl=__webpack_require__(41599),Eu=__webpack_require__(86465),_c=__webpack_require__(78437),Wc=__webpack_require__(73624),Vl=__webpack_require__(62059),no=__webpack_require__(10305),Gc=__webpack_require__(41208),Ic=__webpack_require__(25204),ku=__webpack_require__(40061),Ru=__webpack_require__(47803),$s=__webpack_require__(7893),ml=__webpack_require__(4890),ff=__webpack_require__(5340),mc=__webpack_require__(61650),Vc=__webpack_require__(58246),vl=__webpack_require__(65873),ko=__webpack_require__(63579),Il=__webpack_require__(87296),Ue=__webpack_require__(59301),wu=__webpack_require__(4676),Qo=__webpack_require__(35338),Kl=__webpack_require__(91231);function $o(Tn){var Kn=Tn.id,Bi=Tn.basename,Ea=Tn.cb,zi=new URLSearchParams({route:Kn,url:window.location.href}).toString(),ua="".concat(fu(window.umiServerLoaderPath||Bi),"__serverLoader?").concat(zi);fetch(ua,{credentials:"include"}).then(function(ha){return ha.json()}).then(Ea).catch(console.error)}function fu(){var Tn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return Tn.endsWith("/")?Tn:"".concat(Tn,"/")}var Yl=__webpack_require__(38127),Lu=__webpack_require__(38329),So=__webpack_require__(8616),nl=["content"],Su=["content"],vc=/^(http:|https:)?\/\//;function Mu(Tn){return vc.test(Tn)||Tn.startsWith("/")&&!Tn.startsWith("/*")||Tn.startsWith("./")||Tn.startsWith("../")}var Zo=function(){return Ue.createElement("noscript",{dangerouslySetInnerHTML:{__html:"<b>Enable JavaScript to run this app.</b>"}})},il=function(Kn){var Bi,Ea=Kn.loaderData,zi=Kn.htmlPageOpts,ua=Kn.manifest,ha=(ua==null||(Bi=ua.assets)===null||Bi===void 0?void 0:Bi["umi.css"])||"";return Ue.createElement("script",{suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:"window.__UMI_LOADER_DATA__ = ".concat(JSON.stringify(Ea||{}),"; window.__UMI_METADATA_LOADER_DATA__ = ").concat(JSON.stringify(zi||{}),"; window.__UMI_BUILD_ClIENT_CSS__ = '").concat(ha,"'")}})};function Au(Tn){var Kn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(typeof Tn=="string")return Mu(Tn)?(0,ko.Z)({src:Tn},Kn):{content:Tn};if((0,So.Z)(Tn)==="object")return(0,ko.Z)((0,ko.Z)({},Tn),Kn);throw new Error("Invalid script type: ".concat((0,So.Z)(Tn)))}function Dc(Tn){return Mu(Tn)?{type:"link",href:Tn}:{type:"style",content:Tn}}var Kc=function(Kn){var Bi,Ea,zi,ua,ha,vs,Ki=Kn.htmlPageOpts;return Ue.createElement(Ue.Fragment,null,(Ki==null?void 0:Ki.title)&&Ue.createElement("title",null,Ki.title),Ki==null||(Bi=Ki.favicons)===null||Bi===void 0?void 0:Bi.map(function(es,Ku){return Ue.createElement("link",{key:Ku,rel:"shortcut icon",href:es})}),(Ki==null?void 0:Ki.description)&&Ue.createElement("meta",{name:"description",content:Ki.description}),(Ki==null||(Ea=Ki.keywords)===null||Ea===void 0?void 0:Ea.length)&&Ue.createElement("meta",{name:"keywords",content:Ki.keywords.join(",")}),Ki==null||(zi=Ki.metas)===null||zi===void 0?void 0:zi.map(function(es){return Ue.createElement("meta",{key:es.name,name:es.name,content:es.content})}),Ki==null||(ua=Ki.links)===null||ua===void 0?void 0:ua.map(function(es,Ku){return Ue.createElement("link",(0,Lu.Z)({key:Ku},es))}),Ki==null||(ha=Ki.styles)===null||ha===void 0?void 0:ha.map(function(es,Ku){var ju=Dc(es),Yu=ju.type,ul=ju.href,ll=ju.content;if(Yu==="link")return Ue.createElement("link",{key:Ku,rel:"stylesheet",href:ul});if(Yu==="style")return Ue.createElement("style",{key:Ku},ll)}),Ki==null||(vs=Ki.headScripts)===null||vs===void 0?void 0:vs.map(function(es,Ku){var ju=Au(es),Yu=ju.content,ul=(0,Yl.Z)(ju,nl);return Ue.createElement("script",(0,Lu.Z)({dangerouslySetInnerHTML:{__html:Yu},key:Ku},ul))}))};function oo(Tn){var Kn,Bi=Tn.children,Ea=Tn.loaderData,zi=Tn.manifest,ua=Tn.htmlPageOpts,ha=Tn.__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,vs=Tn.mountElementId;if(ha!=null&&ha.pureHtml)return Ue.createElement("html",null,Ue.createElement("head",null),Ue.createElement("body",null,Ue.createElement(Zo,null),Ue.createElement("div",{id:vs},Bi),Ue.createElement(il,{manifest:zi,loaderData:Ea,htmlPageOpts:ua})));if(ha!=null&&ha.pureApp)return Ue.createElement(Ue.Fragment,null,Bi);var Ki=typeof window=="undefined"?zi==null?void 0:zi.assets["umi.css"]:window.__UMI_BUILD_ClIENT_CSS__;return Ue.createElement("html",{suppressHydrationWarning:!0,lang:(ua==null?void 0:ua.lang)||"en"},Ue.createElement("head",null,Ue.createElement("meta",{charSet:"utf-8"}),Ue.createElement("meta",{name:"viewport",content:"width=device-width, initial-scale=1"}),Ki&&Ue.createElement("link",{suppressHydrationWarning:!0,rel:"stylesheet",href:Ki}),Ue.createElement(Kc,{htmlPageOpts:ua})),Ue.createElement("body",null,Ue.createElement(Zo,null),Ue.createElement("div",{id:vs},Bi),Ue.createElement(il,{manifest:zi,loaderData:Ea,htmlPageOpts:ua}),ua==null||(Kn=ua.scripts)===null||Kn===void 0?void 0:Kn.map(function(es,Ku){var ju=Au(es),Yu=ju.content,ul=(0,Yl.Z)(ju,Su);return Ue.createElement("script",(0,Lu.Z)({dangerouslySetInnerHTML:{__html:Yu},key:Ku},ul))})))}var du=Ue.createContext(void 0);function Dl(){return Ue.useContext(du)}var Xl=["redirect"];function Ql(Tn){var Kn=Tn.routesById,Bi=Tn.parentId,Ea=Tn.routeComponents,zi=Tn.useStream,ua=zi===void 0?!0:zi;return Object.keys(Kn).filter(function(ha){return Kn[ha].parentId===Bi}).map(function(ha){var vs=Ol((0,ko.Z)((0,ko.Z)({route:Kn[ha],routeComponent:Ea[ha],loadingComponent:Tn.loadingComponent,reactRouter5Compat:Tn.reactRouter5Compat},Tn.reactRouter5Compat&&{hasChildren:Object.keys(Kn).filter(function(es){return Kn[es].parentId===ha}).length>0}),{},{useStream:ua})),Ki=Ql({routesById:Kn,routeComponents:Ea,parentId:vs.id,loadingComponent:Tn.loadingComponent,reactRouter5Compat:Tn.reactRouter5Compat,useStream:ua});return Ki.length>0&&(vs.children=Ki,vs.routes=Ki),vs})}function gl(Tn){var Kn=(0,Qo.UO)(),Bi=(0,Qo.Gn)(Tn.to,Kn),Ea=(0,Kl.T$)(),zi=(0,Qo.TH)();if(Ea!=null&&Ea.keepQuery){var ua=zi.search+zi.hash;Bi+=ua}var ha=(0,ko.Z)((0,ko.Z)({},Tn),{},{to:Bi});return Ue.createElement(Qo.Fg,(0,Lu.Z)({replace:!0},ha))}function Ol(Tn){var Kn=Tn.route,Bi=Tn.useStream,Ea=Bi===void 0?!0:Bi,zi=Kn.redirect,ua=(0,Yl.Z)(Kn,Xl),ha=Tn.reactRouter5Compat?kl:ql;return(0,ko.Z)({element:zi?Ue.createElement(gl,{to:zi}):Ue.createElement(du.Provider,{value:{route:Tn.route}},Ue.createElement(ha,{loader:Ue.memo(Tn.routeComponent),loadingComponent:Tn.loadingComponent||df,hasChildren:Tn.hasChildren,useStream:Ea}))},ua)}function df(){return Ue.createElement("div",null)}function kl(Tn){var Kn=Dl(),Bi=Kn.route,Ea=(0,Kl.Ov)(),zi=Ea.history,ua=Ea.clientRoutes,ha=(0,Qo.UO)(),vs={params:ha,isExact:!0,path:Bi.path,url:zi.location.pathname},Ki=Tn.loader,es={location:zi.location,match:vs,history:zi,params:ha,route:Bi,routes:ua};return Tn.useStream?Ue.createElement(Ue.Suspense,{fallback:Ue.createElement(Tn.loadingComponent,null)},Ue.createElement(Ki,es,Tn.hasChildren&&Ue.createElement(Qo.j3,null))):Ue.createElement(Ki,es,Tn.hasChildren&&Ue.createElement(Qo.j3,null))}function ql(Tn){var Kn=Tn.loader;return Tn.useStream?Ue.createElement(Ue.Suspense,{fallback:Ue.createElement(Tn.loadingComponent,null)},Ue.createElement(Kn,null)):Ue.createElement(Kn,null)}var yl=null;function Yc(){return yl}function Fu(Tn){var Kn=Tn.history,Bi=Ue.useState({action:Kn.action,location:Kn.location}),Ea=(0,Il.Z)(Bi,2),zi=Ea[0],ua=Ea[1];return(0,Ue.useLayoutEffect)(function(){return Kn.listen(ua)},[Kn]),(0,Ue.useLayoutEffect)(function(){function ha(vs){Tn.pluginManager.applyPlugins({key:"onRouteChange",type:"event",args:{routes:Tn.routes,clientRoutes:Tn.clientRoutes,location:vs.location,action:vs.action,basename:Tn.basename,isFirst:!!vs.isFirst}})}return ha({location:zi.location,action:zi.action,isFirst:!0}),Kn.listen(ha)},[Kn,Tn.routes,Tn.clientRoutes]),Ue.createElement(Qo.F0,{navigator:Kn,location:zi.location,basename:Tn.basename},Tn.children)}function Bu(){var Tn=(0,Kl.Ov)(),Kn=Tn.clientRoutes;return(0,Qo.V$)(Kn)}var iu=["innerProvider","i18nProvider","accessProvider","dataflowProvider","outerProvider","rootContainer"],qo=function(Kn,Bi){var Ea=Kn.basename||"/",zi=Ql({routesById:Kn.routes,routeComponents:Kn.routeComponents,loadingComponent:Kn.loadingComponent,reactRouter5Compat:Kn.reactRouter5Compat,useStream:Kn.useStream});Kn.pluginManager.applyPlugins({key:"patchClientRoutes",type:"event",args:{routes:zi}});for(var ua=Ue.createElement(Fu,{basename:Ea,pluginManager:Kn.pluginManager,routes:Kn.routes,clientRoutes:zi,history:Kn.history},Bi),ha=0,vs=iu;ha<vs.length;ha++){var Ki=vs[ha];ua=Kn.pluginManager.applyPlugins({type:"modify",key:Ki,initialValue:ua,args:{routes:Kn.routes,history:Kn.history,plugin:Kn.pluginManager}})}var es=function(){var ju=(0,Ue.useState)({}),Yu=(0,Il.Z)(ju,2),ul=Yu[0],ll=Yu[1],Df=(0,Ue.useState)(window.__UMI_LOADER_DATA__||{}),wf=(0,Il.Z)(Df,2),Fl=wf[0],Sf=wf[1],xc=(0,Ue.useCallback)(function(Jc,hf){var cl,Of=(((cl=(0,Qo.fp)(zi,Jc,Ea))===null||cl===void 0?void 0:cl.map(function(Xu){return Xu.route.id}))||[]).filter(Boolean);Of.forEach(function(Xu){var Lc,ef;if(window.__umi_route_prefetch__){var Ho,tf=(Ho=Kn.routeComponents[Xu])===null||Ho===void 0||(Ho=Ho._payload)===null||Ho===void 0?void 0:Ho._result;typeof tf=="function"&&tf()}var pf=(Lc=Kn.routes[Xu])===null||Lc===void 0?void 0:Lc.clientLoader,fl=!!pf,Bl=(ef=Kn.routes[Xu])===null||ef===void 0?void 0:ef.hasServerLoader;!hf&&Bl&&!fl&&!window.__UMI_LOADER_DATA__&&$o({id:Xu,basename:Ea,cb:function(Fc){Ue.startTransition(function(){Sf(function(mf){return(0,ko.Z)((0,ko.Z)({},mf),{},(0,vl.Z)({},Xu,Fc))})})}});var Wo=!!ul[Xu],Ec=fl&&pf.hydrate||!Bl,_f=Bl&&!window.__UMI_LOADER_DATA__;fl&&!Wo&&(Ec||_f)&&pf({serverLoader:function(){return $o({id:Xu,basename:Ea,cb:function(mf){Ue.startTransition(function(){Sf(function(Bc){return(0,ko.Z)((0,ko.Z)({},Bc),{},(0,vl.Z)({},Xu,mf))})})}})}}).then(function(Mc){ll(function(Fc){return(0,ko.Z)((0,ko.Z)({},Fc),{},(0,vl.Z)({},Xu,Mc))})})})},[ul]);return(0,Ue.useEffect)(function(){return xc(window.location.pathname,!0),Kn.history.listen(function(Jc){xc(Jc.location.pathname)})},[]),(0,Ue.useLayoutEffect)(function(){typeof Kn.callback=="function"&&Kn.callback()},[]),Ue.createElement(Kl.Il.Provider,{value:{routes:Kn.routes,routeComponents:Kn.routeComponents,clientRoutes:zi,pluginManager:Kn.pluginManager,rootElement:Kn.rootElement,basename:Ea,clientLoaderData:ul,serverLoaderData:Fl,preloadRoute:xc,history:Kn.history}},ua)};return es};function gc(Tn){var Kn=Tn.rootElement||document.getElementById("root"),Bi=qo(Tn,Ue.createElement(Bu,null));if(Tn.components)return Bi;if(Tn.hydrate){var Ea=window.__UMI_LOADER_DATA__||{},zi=window.__UMI_METADATA_LOADER_DATA__||{},ua={metadata:zi,loaderData:Ea,mountElementId:Tn.mountElementId},ha=Tn.__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.pureApp||Tn.__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.pureHtml;wu.hydrateRoot(ha?Kn:document,ha?Ue.createElement(Bi,null):Ue.createElement(oo,ua,Ue.createElement(Bi,null)));return}if(wu.createRoot){yl=wu.createRoot(Kn),yl.render(Ue.createElement(Bi,null));return}wu.render(Ue.createElement(Bi,null),Kn)}var yc=(Tn,Kn,Bi)=>new Promise((Ea,zi)=>{var ua=Ki=>{try{vs(Bi.next(Ki))}catch(es){zi(es)}},ha=Ki=>{try{vs(Bi.throw(Ki))}catch(es){zi(es)}},vs=Ki=>Ki.done?Ea(Ki.value):Promise.resolve(Ki.value).then(ua,ha);vs((Bi=Bi.apply(Tn,Kn)).next())});function Oc(){return yc(this,null,function*(){return{routes:{1:{path:"/",parentId:"@@/global-layout",id:"1"},2:{path:"/paperlibrary",parentId:"1",id:"2"},3:{path:"/paperlibrary",parentId:"2",id:"3"},4:{path:"/paperlibrary/add",parentId:"2",id:"4"},5:{path:"/paperlibrary/add/:id",parentId:"2",id:"5"},6:{path:"/paperlibrary/see/:id",parentId:"2",id:"6"},7:{path:"/paperlibrary/edit_select/:id",parentId:"2",id:"7"},8:{path:"/paperlibrary/exchangequestion",parentId:"2",id:"8"},9:{path:"/paths",parentId:"1",id:"9"},10:{path:"/paths",parentId:"9",id:"10"},11:{path:"/paths/higherVocationalEducation",parentId:"9",id:"11"},12:{path:"/paths/new",parentId:"9",id:"12"},13:{path:"/paths/guidance",exact:!0,parentId:"9",id:"13"},14:{path:"/paths/:pathId",parentId:"9",id:"14"},15:{path:"/paths/:pathId/statistics",parentId:"9",id:"15"},16:{path:"/paths/:pathId/edit",parentId:"9",id:"16"},17:{path:"/paths/:pathId/:stageId/program_homework/:categoryId/add",parentId:"9",id:"17"},18:{path:"/paths/:pathId/:stageId/program_homework/:categoryId/edit",parentId:"9",id:"18"},19:{path:"/classrooms",parentId:"1",id:"19"},20:{path:"/classrooms",parentId:"19",id:"20"},21:{path:"/classrooms/examList",parentId:"19",id:"21"},22:{path:"/classrooms/classicCases",parentId:"19",id:"22"},23:{path:"/classrooms/index",parentId:"19",id:"23"},24:{path:"/classrooms/new",parentId:"19",id:"24"},25:{path:"/classrooms/:coursesId/edit",parentId:"19",id:"25"},26:{path:"/classrooms/news/:subjectid/newgold/:id",parentId:"19",id:"26"},27:{path:"/classrooms/:coursesId/newgolds/settings",parentId:"19",id:"27"},28:{path:"/classrooms/:coursesId/shixun_homework/:categoryId/review_detail/:userId",parentId:"19",id:"28"},29:{path:"/classrooms/:coursesId/common_homework/:categoryId/review_detail/:userId",parentId:"19",id:"29"},30:{path:"/classrooms/:coursesId/program_homework/:categoryId/review_detail/:userId",parentId:"19",id:"30"},31:{path:"/classrooms/:coursesId/shixun_homework/:categoryId/detail",parentId:"19",id:"31"},32:{path:"/classrooms/:coursesId/shixun_homework/:categoryId/:homeworkId/comment",parentId:"19",id:"32"},33:{path:"/classrooms/:coursesId/common_homework/:categoryId/:homeworkId/comment",parentId:"19",id:"33"},34:{path:"/classrooms/:coursesId/shixun_homework/:categoryId/:homeworkId/commitsummary",parentId:"19",id:"34"},35:{path:"/classrooms/:coursesId/group_homework/:categoryId/detail",parentId:"19",id:"35"},36:{path:"/classrooms/:coursesId/common_homework/:categoryId/detail",parentId:"19",id:"36"},37:{path:"/classrooms/:coursesId/common_homework/:categoryId/review/:userId",parentId:"19",id:"37"},38:{path:"/classrooms/:coursesId/group_homework/:commonHomeworkId/review/:userId",parentId:"19",id:"38"},39:{path:"/classrooms/:coursesId/group_homework/:commonHomeworkId/post",parentId:"19",id:"39"},40:{path:"/classrooms/:coursesId/group_homework/:commonHomeworkId/:homeworkId/edit",parentId:"19",id:"40"},41:{path:"/classrooms/:coursesId/exercise/:categoryId/detail/:userId/review_detail",parentId:"19",id:"41"},42:{path:"/classrooms/:coursesId/exercise/:categoryId/detail",parentId:"19",id:"42"},43:{path:"/classrooms/:coursesId/exercise/:categoryId/preview_select",parentId:"19",id:"43"},44:{path:"/classrooms/:coursesId/exercise/:categoryId/:login/initate_answer",parentId:"19",id:"44"},45:{path:"/classrooms/:coursesId/exercise/:categoryId/users/:login",parentId:"19",id:"45"},46:{path:"/classrooms/:coursesId/exercisenotice/:categoryId/users/:login",parentId:"19",id:"46"},47:{path:"/classrooms/:coursesId/exercise/:categoryId/random/edit",parentId:"19",id:"47"},48:{path:"/classrooms/:coursesId/exercise/:categoryId/random/preview",parentId:"19",id:"48"},49:{path:"/classrooms/:coursesId/exercise/add",parentId:"19",id:"49"},50:{path:"/classrooms/:coursesId/exercise/add/:exerciseId",parentId:"19",id:"50"},51:{path:"/classrooms/:coursesId/exercise/:exerciseId/reviews/group",parentId:"19",id:"51"},52:{path:"/classrooms/:coursesId/exercise/:exerciseId/review/:userId",parentId:"19",id:"52"},53:{path:"/classrooms/:coursesId/exercise/:exerciseId/centralizeReview/:userId",parentId:"19",id:"53"},54:{path:"/classrooms/:coursesId/exercise/:exerciseId/export_blank",parentId:"19",id:"54"},55:{path:"/classrooms/:coursesId/exercise/:exerciseId/sumup",parentId:"19",id:"55"},56:{path:"/classrooms/:coursesId/exercise/:exerciseId/sumup/edit",parentId:"19",id:"56"},57:{path:"/classrooms/:coursesId/exercise/:exerciseId/analysis/:studentId",parentId:"19",id:"57"},58:{path:"/classrooms/:coursesId/shixun_homework/:exerciseId/analysis/:studentId",parentId:"19",id:"58"},59:{path:"/classrooms/:coursesId/exercise/:exerciseId/analysis/:studentId/code",parentId:"19",id:"59"},60:{path:"/classrooms/:coursesId/shixun_homework/:exerciseId/analysis/:studentId/code",parentId:"19",id:"60"},61:{path:"/classrooms/:coursesId/graduation_topics/:categoryId/detail",parentId:"19",id:"61"},62:{path:"/classrooms/:coursesId/graduation_topics/:categoryId/add",parentId:"19",id:"62"},63:{path:"/classrooms/:coursesId/graduation_topics/:categoryId/edit",parentId:"19",id:"63"},64:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId/add",parentId:"19",id:"64"},65:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId/edit",parentId:"19",id:"65"},66:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId/detail",parentId:"19",id:"66"},67:{path:"/classrooms/:coursesId/common_homework/:categoryId/add",parentId:"19",id:"67"},68:{path:"/classrooms/:coursesId/common_homework/:categoryId/edit",parentId:"19",id:"68"},69:{path:"/classrooms/:coursesId/common_homework/:commonHomeworkId/post",parentId:"19",id:"69"},70:{path:"/classrooms/:coursesId/common_homework/:commonHomeworkId/:homeworkId/edit",parentId:"19",id:"70"},71:{path:"/classrooms/:coursesId/group_homework/:categoryId/add",parentId:"19",id:"71"},72:{path:"/classrooms/:coursesId/group_homework/:categoryId/edit",parentId:"19",id:"72"},73:{path:"/classrooms/:coursesId/poll/:categoryId/add",parentId:"19",id:"73"},74:{path:"/classrooms/:coursesId/poll/:categoryId/edit",parentId:"19",id:"74"},75:{path:"/classrooms/:coursesId/poll/:categoryId/detail",parentId:"19",id:"75"},76:{path:"/classrooms/:coursesId/poll/:categoryId/users/:login",parentId:"19",id:"76"},77:{path:"/classrooms/:coursesId/poll/:categoryId/questionnaireInfo/:login",parentId:"19",id:"77"},78:{path:"/classrooms/:coursesId/board/:categoryId/Add",parentId:"19",id:"78"},79:{path:"/classrooms/:coursesId/board/:categoryId/Edit/:boardId",parentId:"19",id:"79"},80:{path:"/classrooms/:coursesId/board/:categoryId/Detail/:boardId",parentId:"19",id:"80"},81:{path:"/classrooms/:courseId/template/:templateId",parentId:"19",id:"81"},82:{path:"/classrooms/:courseId/common_homework/:homeworkId/lab-report/:reportId",parentId:"19",id:"82"},83:{path:"/classrooms/guidance",parentId:"19",id:"83"},84:{path:"/classrooms/:courseId/common_homework/:homeworkId/lab-report-view/:workId",parentId:"19",id:"84"},85:{path:"/classrooms/:coursesId/exercise/:categoryId/users/:login/check",parentId:"19",id:"85"},86:{path:"/classrooms/:coursesId/Studentdetail/:login",parentId:"19",id:"86"},87:{path:"/classrooms/:coursesId/StudentSituation/:categoryId/:login",parentId:"19",id:"87"},88:{path:"/classrooms/:coursesId/engineering/datail",parentId:"19",id:"88"},89:{path:"/classrooms/:coursesId/program_homework/:categoryId/add",parentId:"19",id:"89"},90:{path:"/classrooms/:coursesId/program_homework/:categoryId/edit",parentId:"19",id:"90"},91:{path:"/classrooms/:coursesId/program_homework/ranking",parentId:"19",id:"91"},92:{path:"/classrooms/:coursesId/program_homework/:categoryId/detail",parentId:"19",id:"92"},93:{path:"/classrooms/:coursesId/program_homework/:categoryId/:homeworkId/ranking",parentId:"19",id:"93"},94:{path:"/classrooms/:coursesId/program_homework/:categoryId/:homeworkId/:user_id/comment",parentId:"19",id:"94"},95:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer",parentId:"19",id:"95"},96:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer/add",parentId:"19",id:"96"},97:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer/:answerid/edit",parentId:"19",id:"97"},98:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer/:answerid/detail",parentId:"19",id:"98"},99:{path:"/classrooms/:videoId/video_info",parentId:"19",id:"99"},100:{path:"/classrooms/",parentId:"19",id:"100"},101:{path:"/classrooms/:coursesId/shixun_homework/:categoryId",parentId:"100",id:"101"},102:{path:"/classrooms/:coursesId/shixun_homework",parentId:"100",id:"102"},103:{path:"/classrooms/:coursesId/graduation_topics/:categoryId",parentId:"100",id:"103"},104:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId",parentId:"100",id:"104"},105:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId",parentId:"100",id:"105"},106:{path:"/classrooms/:coursesId/exercise/:categoryId",parentId:"100",id:"106"},107:{path:"/classrooms/:coursesId/exercise",parentId:"100",id:"107"},108:{path:"/classrooms/:coursesId/poll/:categoryId",parentId:"100",id:"108"},109:{path:"/classrooms/:coursesId/poll",parentId:"100",id:"109"},110:{path:"/classrooms/:coursesId/common_homework/:categoryId",parentId:"100",id:"110"},111:{path:"/classrooms/:coursesId/common_homework",parentId:"100",id:"111"},112:{path:"/classrooms/:coursesId/group_homework/:categoryId",parentId:"100",id:"112"},113:{path:"/classrooms/:coursesId/group_homework",parentId:"100",id:"113"},114:{path:"/classrooms/:coursesId/teachers",parentId:"100",id:"114"},115:{path:"/classrooms/:coursesId/students",parentId:"100",id:"115"},116:{path:"/classrooms/:coursesId/assistant",parentId:"100",id:"116"},117:{path:"/classrooms/:coursesId/program_homework",parentId:"100",id:"117"},118:{path:"/classrooms/:coursesId/program_homework/:categoryId",parentId:"100",id:"118"},119:{path:"/classrooms/:coursesId/engineering",parentId:"100",id:"119"},120:{path:"/classrooms/:coursesId/learning_path",parentId:"100",id:"120"},121:{path:"/classrooms/:coursesId/resource_recommend",parentId:"100",id:"121"},122:{path:"/classrooms/:coursesId/attendance",parentId:"100",id:"122"},123:{path:"/classrooms/:coursesId/attendance/StudetnSign",parentId:"100",id:"123"},124:{path:"/classrooms/:coursesId/attendance/:categoryId/:tabId/detail",parentId:"100",id:"124"},125:{path:"/classrooms/:coursesId/announcement",parentId:"100",id:"125"},126:{path:"/classrooms/:coursesId/announcement/:categoryId",parentId:"100",id:"126"},127:{path:"/classrooms/:coursesId/online_learning",parentId:"100",id:"127"},128:{path:"/classrooms/:coursesId/online_learning/:categoryId",parentId:"100",id:"128"},129:{path:"/classrooms/:coursesId/attachment/:categoryId",parentId:"100",id:"129"},130:{path:"/classrooms/:coursesId/attachment",parentId:"100",id:"130"},131:{path:"/classrooms/:coursesId/video",parentId:"100",id:"131"},132:{path:"/classrooms/:coursesId/video/:categoryId",parentId:"100",id:"132"},133:{path:"/classrooms/:coursesId/video/:categoryId/statistics",parentId:"100",id:"133"},134:{path:"/classrooms/:coursesId/video/:username/upload",parentId:"100",id:"134"},135:{path:"/classrooms/:coursesId/video/:categoryId/statistics/:videoId",parentId:"100",id:"135"},136:{path:"/classrooms/:coursesId/video/:categoryId/statistics/:videoId/:userId",parentId:"100",id:"136"},137:{path:"/classrooms/:coursesId/live_video/:categoryId",parentId:"100",id:"137"},138:{path:"/classrooms/:coursesId/live_video",parentId:"100",id:"138"},139:{path:"/classrooms/:coursesId/video/:categoryId/studentstatistics",parentId:"100",id:"139"},140:{path:"/classrooms/:coursesId/board/:categoryId",parentId:"100",id:"140"},141:{path:"/classrooms/:coursesId/board",parentId:"100",id:"141"},142:{path:"/classrooms/:coursesId/course_group",parentId:"100",id:"142"},143:{path:"/classrooms/:coursesId/course_group/:categoryId",parentId:"100",id:"143"},144:{path:"/classrooms/:coursesId/course_group/:categoryId/detail",parentId:"100",id:"144"},145:{path:"/classrooms/:coursesId/not_course_group/:categoryId",parentId:"100",id:"145"},146:{path:"/classrooms/:coursesId/not_course_group",parentId:"100",id:"146"},147:{path:"/classrooms/:coursesId/statistics/",parentId:"100",id:"147"},148:{path:"/classrooms/:coursesId/statistics/:categoryId",parentId:"100",id:"148"},149:{path:"/classrooms/:coursesId/statistics_video/:categoryId",parentId:"100",id:"149"},150:{path:"/classrooms/:coursesId/statistics_quality/:categoryId",parentId:"100",id:"150"},151:{path:"/classrooms/:coursesId/statistics_user_portrait/:categoryId",parentId:"100",id:"151"},152:{path:"/classrooms/:coursesId/student_statistics/:categoryId",parentId:"100",id:"152"},153:{path:"/classrooms/:coursesId/student_statistics/:categoryId/:listId/:type",parentId:"100",id:"153"},154:{path:"/classrooms/:coursesId/video_statistics/:categoryId/Student/:studentid",parentId:"100",id:"154"},155:{path:"/classrooms/:coursesId/exportlist/:type",parentId:"100",id:"155"},156:{path:"/classrooms/:coursesId",parentId:"100",id:"156"},157:{path:"/classrooms/:coursesId/template",parentId:"100",id:"157"},158:{path:"/competitions",parentId:"1",id:"158"},159:{path:"/competitions/index",parentId:"158",id:"159"},160:{path:"/competitions/:identifier/list",parentId:"158",id:"160"},161:{path:"/competitions/exports",parentId:"158",id:"161"},162:{path:"/competitions",parentId:"158",id:"162"},163:{path:"/competitions/:identifier",parentId:"158",id:"163"},164:{path:"/competitions/index/:identifier",parentId:"158",id:"164"},165:{path:"/competitions/:identifier/detail/enroll",parentId:"158",id:"165"},166:{path:"/competitions/:identifier/detail/UpdateTeanname/:Teannameid",parentId:"158",id:"166"},167:{path:"/competitions/:identifier/detail/teamDetail/:Teamid",parentId:"158",id:"167"},168:{path:"/competitions/detail/:identifier",parentId:"158",id:"168"},169:{path:"/forums",parentId:"1",id:"169"},170:{path:"/forums",parentId:"169",id:"170"},171:{path:"/forums/categories/:memoType",parentId:"169",id:"171"},172:{path:"/forums/new",parentId:"169",id:"172"},173:{path:"/forums/:memoId/edit",parentId:"169",id:"173"},174:{path:"/forums/:memoId",parentId:"169",id:"174"},175:{path:"/problemset",parentId:"1",id:"175"},176:{path:"/problemset",parentId:"175",id:"176"},177:{path:"/problemset/newitem",parentId:"175",id:"177"},178:{path:"/problemset/:type/:id",parentId:"175",id:"178"},179:{path:"/problemset/preview",parentId:"175",id:"179"},180:{path:"/problemset/preview_new",parentId:"175",id:"180"},181:{path:"/problemset/preview_select",parentId:"175",id:"181"},182:{path:"/shixuns",parentId:"1",id:"182"},183:{path:"/shixuns",parentId:"182",id:"183"},184:{path:"/shixuns/exports",parentId:"182",id:"184"},185:{path:"/shixuns/new",parentId:"182",id:"185"},186:{path:"/shixuns/new/CreateImg",parentId:"182",id:"186"},187:{path:"/shixuns/new/:id/imagepreview",parentId:"182",id:"187"},188:{path:"/shixuns/:id/Merge",parentId:"182",id:"188"},189:{path:"/shixuns/:id/Split",parentId:"182",id:"189"},190:{path:"/shixuns/:id/edit",parentId:"182",id:"190"},191:{path:"shixuns/:id/edit/warehouse",parentId:"190",id:"191"},192:{path:"/shixuns/:id/edit/newquestion",parentId:"190",id:"192"},193:{path:"/shixuns/:id/edit/:challengesId/editquestion",parentId:"190",id:"193"},194:{path:"/shixuns/:id/edit/:challengesId/editquestion/:questionId",parentId:"190",id:"194"},195:{path:"/shixuns/:id/edit/new",parentId:"190",id:"195"},196:{path:"/shixuns/:id/edit/:challengesId/editcheckpoint",parentId:"190",id:"196"},197:{path:"/shixuns/:id/edit/:challengesId/tab=2",parentId:"190",id:"197"},198:{path:"/shixuns/:id/edit/:challengesId/tab=3",parentId:"190",id:"198"},199:{path:"/shixuns/:id/edit/:challengesId/tab=4",parentId:"190",id:"199"},200:{path:"/shixuns/:id",parentId:"182",id:"200"},201:{path:"/shixuns/:id/challenges",parentId:"200",id:"201"},202:{path:"/shixuns/:id/repository",parentId:"200",id:"202"},203:{path:"/shixuns/:id/secret_repository",parentId:"200",id:"203"},204:{path:"/shixuns/:id/collaborators",parentId:"200",id:"204"},205:{path:"/shixuns/:id/dataset",parentId:"200",id:"205"},206:{path:"/shixuns/:id/dataset/jupyterEdit",parentId:"200",id:"206"},207:{path:"/shixuns/:id/shixun_discuss",parentId:"200",id:"207"},208:{path:"/shixuns/:id/ranking_list",parentId:"200",id:"208"},209:{path:"/shixuns/:id/settings",parentId:"200",id:"209"},210:{path:"/shixuns/:id/repository/:repoId/commits",parentId:"200",id:"210"},211:{path:"/shixuns/:id/secret_repository/:repoId/commits",parentId:"200",id:"211"},212:{path:"/shixuns/:id/repository/upload_file",parentId:"200",id:"212"},213:{path:"/shixuns/:id/secret_repository/upload_file",parentId:"200",id:"213"},214:{path:"/shixuns/:id/repository/add_file",parentId:"200",id:"214"},215:{path:"/shixuns/:id/secret_repository/add_file",parentId:"200",id:"215"},216:{path:"/shixuns/:id/repository/master/shixun_show/:fileId",exact:!1,parentId:"200",id:"216"},217:{path:"/shixuns/:id/secret_repository/master/shixun_show/:fileId",exact:!1,parentId:"200",id:"217"},218:{path:"/shixuns/:id/audit_situation",parentId:"200",id:"218"},219:{path:"/shixuns/:id/fork_list",parentId:"200",id:"219"},220:{path:"/users",parentId:"1",id:"220"},221:{path:"/users/:username/videos/protocol",parentId:"220",id:"221"},222:{path:"/users/:username/videos/resourceProtocol",parentId:"220",id:"222"},223:{path:"/users/:username/videos/success",parentId:"220",id:"223"},224:{path:"/users/:username/topicbank/:topicstype",parentId:"220",id:"224"},225:{path:"/users/:username/topics/:topicId/:topictype/normal/detail",parentId:"220",id:"225"},226:{path:"/users/:username/topics/:topicId/:topictype/group/detail",parentId:"220",id:"226"},227:{path:"/users/:username/topics/:topicId/:topictype/normal/edit",parentId:"220",id:"227"},228:{path:"/users/:username/topics/:topicId/:topictype/group/edit",parentId:"220",id:"228"},229:{path:"/users/:username/topics/:topicId/:topictype/exercise/edit",parentId:"220",id:"229"},230:{path:"/users/:username/topics/:topicId/:topictype/exercise/detail",parentId:"220",id:"230"},231:{path:"/users/:username/topics/:topicId/:topictype/poll/edit",parentId:"220",id:"231"},232:{path:"/users/:username/topics/:topicId/:topictype/poll/detail",parentId:"220",id:"232"},233:{path:"/users/:username/experiment-img/add",parentId:"220",id:"233"},234:{path:"/users/:username",parentId:"220",id:"234"},235:{path:"/users/:username",parentId:"234",id:"235"},236:{path:"/users/:username/baseInfo/edit",parentId:"234",id:"236"},237:{path:"/users/:username/baseInfo",parentId:"234",id:"237"},238:{path:"/users/:username/realNameCertification",parentId:"234",id:"238"},239:{path:"/users/:username/careerCertification",parentId:"234",id:"239"},240:{path:"/users/:username/classrooms",parentId:"234",id:"240"},241:{path:"/users/:username/shixuns",parentId:"234",id:"241"},242:{path:"/users/:username/dataSet",parentId:"234",id:"242"},243:{path:"/users/:username/userPortrait",parentId:"234",id:"243"},244:{path:"/users/:username/learningPath",parentId:"234",id:"244"},245:{path:"/users/:username/teach-group",parentId:"234",id:"245"},246:{path:"/users/:username/competitions",parentId:"234",id:"246"},247:{path:"/users/:username/experiment-img",parentId:"234",id:"247"},248:{path:"/users/:username/experiment-img/:experid/detail",parentId:"234",id:"248"},249:{path:"/users/:username/certificate",parentId:"234",id:"249"},250:{path:"/users/:username/otherResources",parentId:"234",id:"250"},251:{path:"/users/:username/classmanagement",parentId:"234",id:"251"},252:{path:"/users/:username/classmanagement/:couserid",parentId:"234",id:"252"},253:{path:"/users/:username/paths",parentId:"234",id:"253"},254:{path:"/users/:username/projects",parentId:"234",id:"254"},255:{path:"/users/:username/videos",parentId:"234",id:"255"},256:{path:"/users/:username/videos/upload",parentId:"234",id:"256"},257:{path:"/users/:username/topics/:topicstype",parentId:"234",id:"257"},258:{path:"/users/:username/vspaces",parentId:"234",id:"258"},259:{path:"/users/:username/resourcesCenter",parentId:"234",id:"259"},260:{path:"/users/:username/resourcesCenter/:id/detail",parentId:"234",id:"260"},261:{path:"/users/:username/resourceGuarantee",parentId:"234",id:"261"},262:{path:"/users/:username/resourceAllocation",parentId:"234",id:"262"},263:{parentId:"1",id:"263"},264:{path:"/problems",parentId:"263",id:"264"},265:{path:"/problems",parentId:"264",id:"265"},266:{path:"/problems/batchAdd",parentId:"264",id:"266"},267:{path:"/problems/newcreate",parentId:"263",id:"267"},268:{path:"/problems/newedit/:id",exact:!0,parentId:"263",id:"268"},269:{path:"/problems/:id/edit",exact:!0,parentId:"263",id:"269"},270:{path:"/problems/new",exact:!0,parentId:"263",id:"270"},271:{path:"/problems/:id/oj/:save_identifier",parentId:"263",id:"271"},272:{path:"/problems/:id/record-detail/:submitId",parentId:"263",id:"272"},273:{path:"/problems/add",parentId:"263",id:"273"},274:{path:"/problems/:id/ojedit",parentId:"263",id:"274"},275:{path:"/engineering",parentId:"1",id:"275"},276:{path:"/engineering",parentId:"275",id:"276"},277:{path:"/engineering/teacherList",parentId:"276",id:"277"},278:{path:"/engineering/studentList",parentId:"276",id:"278"},279:{path:"/engineering/training/program",parentId:"276",id:"279"},280:{path:"/engineering/training/program/add",parentId:"276",id:"280"},281:{path:"/engineering/training/program/edit",parentId:"276",id:"281"},282:{path:"/engineering/training/objectives",parentId:"276",id:"282"},283:{path:"/engineering/graduated/index",parentId:"276",id:"283"},284:{path:"/engineering/graduated/matrix",parentId:"276",id:"284"},285:{path:"/engineering/course/list",parentId:"276",id:"285"},286:{path:"/engineering/course/setting",parentId:"276",id:"286"},287:{path:"/engineering/course/matrix",parentId:"276",id:"287"},288:{path:"/engineering/navigation",parentId:"276",id:"288"},289:{path:"/engineering/evaluate/course",parentId:"276",id:"289"},290:{path:"/engineering/evaluate/course/:ec_year_id/:id",parentId:"276",id:"290"},291:{path:"/engineering/evaluate/norm",parentId:"276",id:"291"},292:{path:"/engineering/evaluate/document",parentId:"276",id:"292"},293:{path:"/engineering/evaluate/norm/:ec_year_id/:id",parentId:"276",id:"293"},294:{path:"/engineering/*",redirect:"/404",parentId:"276",id:"294"},295:{path:"/innovation",parentId:"1",id:"295"},296:{path:"/innovation/tasks/:taskId",parentId:"295",id:"296"},297:{path:"/innovation",parentId:"295",id:"297"},298:{path:"/innovation/project",parentId:"297",id:"298"},299:{path:"/innovation/dataset",parentId:"297",id:"299"},300:{path:"/innovation/mirror",parentId:"297",id:"300"},301:{path:"/innovation/my-project",parentId:"297",id:"301"},302:{path:"/innovation/my-dataset",parentId:"297",id:"302"},303:{path:"/innovation/my-mirror",parentId:"297",id:"303"},304:{path:"/innovation/project/create",parentId:"297",id:"304"},305:{path:"/innovation/project/edit/:id",parentId:"297",id:"305"},306:{path:"/innovation/project/detail/:taskId",parentId:"297",id:"306"},307:{path:"/tasks",parentId:"1",id:"307"},308:{path:"/tasks/:taskId",exact:!0,parentId:"307",id:"308"},309:{path:"/tasks/:identifier/jupyter/",exact:!0,parentId:"307",id:"309"},310:{path:"/tasks/:courseId/:homeworkId/:taskId",exact:!0,parentId:"307",id:"310"},311:{path:"/tasks/jupyter/:courseId/:homeworkId/:identifier",exact:!0,parentId:"307",id:"311"},312:{path:"/tasks/:courseId/:exerciseId/:taskId/exercise",exact:!0,parentId:"307",id:"312"},313:{path:"/myproblems",parentId:"1",id:"313"},314:{path:"/myproblems/:id/record-detail/:submitId",exact:!0,parentId:"313",id:"314"},315:{path:"/myproblems/:id",exact:!0,parentId:"313",id:"315"},316:{path:"/account",parentId:"1",id:"316"},317:{path:"/account",parentId:"316",id:"317"},318:{path:"/account/profile",parentId:"317",id:"318"},319:{path:"/account/profile/edit",parentId:"317",id:"319"},320:{path:"/account/certification",parentId:"317",id:"320"},321:{path:"/account/secure",parentId:"317",id:"321"},322:{path:"/account/binding",parentId:"317",id:"322"},323:{path:"/account/Results",parentId:"317",id:"323"},324:{path:"/ch",parentId:"1",id:"324"},325:{path:"/ch/rest/edit/:categoryId/:id",exact:!0,parentId:"324",id:"325"},326:{path:"/ch/rest/",exact:!0,parentId:"324",id:"326"},327:{path:"/ch/rest/:id",exact:!0,parentId:"324",id:"327"},328:{path:"/order",parentId:"1",id:"328"},329:{path:"/order",parentId:"328",id:"329"},330:{path:"/order/invoice",parentId:"328",id:"330"},331:{path:"/order/records",parentId:"328",id:"331"},332:{path:"/order/apply",parentId:"328",id:"332"},333:{path:"/order/view",parentId:"328",id:"333"},334:{path:"/order/:courseId/information",parentId:"328",id:"334"},335:{path:"/order/:courseId/pay",parentId:"328",id:"335"},336:{path:"/order/:orderNum/result",parentId:"328",id:"336"},337:{path:"/messages",parentId:"1",id:"337"},338:{path:"/messages/:userId/user_tidings",parentId:"337",id:"338"},339:{path:"/messages/:userId/private_messages",parentId:"337",id:"339"},340:{path:"/messages/:userId/message_detail",parentId:"337",id:"340"},341:{path:"/vtrs",parentId:"1",id:"341"},342:{path:"/vtrs/:virtual_spacesId",parentId:"341",id:"342"},343:{path:"/vtrs/:virtual_spacesId",exact:!0,parentId:"342",id:"343"},344:{path:"/vtrs/:virtual_spacesId/workplace",exact:!0,parentId:"342",id:"344"},345:{path:"/vtrs/:virtual_spacesId/experiment",parentId:"342",id:"345"},346:{path:"/vtrs/:virtual_spacesId/announcement",parentId:"342",id:"346"},347:{path:"/vtrs/:virtual_spacesId/announcement/add",parentId:"342",id:"347"},348:{path:"/vtrs/:virtual_spacesId/announcement/:id/edit",parentId:"342",id:"348"},349:{path:"/vtrs/:virtual_spacesId/announcement/:id/detail",parentId:"342",id:"349"},350:{path:"/vtrs/:virtual_spacesId/survey",parentId:"342",id:"350"},351:{path:"/vtrs/:virtual_spacesId/survey/:id/detail",parentId:"342",id:"351"},352:{path:"/vtrs/:virtual_spacesId/knowledge",parentId:"342",id:"352"},353:{path:"/vtrs/:virtual_spacesId/knowledge/add",parentId:"342",id:"353"},354:{path:"/vtrs/:virtual_spacesId/knowledge/:id/edit",parentId:"342",id:"354"},355:{path:"/vtrs/:virtual_spacesId/material",parentId:"342",id:"355"},356:{path:"/vtrs/:virtual_spacesId/material/:id/detail",parentId:"342",id:"356"},357:{path:"/vtrs/:virtual_spacesId/lesson",parentId:"342",id:"357"},358:{path:"/vtrs/:virtual_spacesId/lesson/:id/detail",parentId:"342",id:"358"},359:{path:"/vtrs/:virtual_spacesId/lesson/:id/detail/:fileid",parentId:"342",id:"359"},360:{path:"/vtrs/:virtual_spacesId/discussion",parentId:"342",id:"360"},361:{path:"/vtrs/:virtual_spacesId/discussion/:id/detail",parentId:"342",id:"361"},362:{path:"/vtrs/:virtual_spacesId/discussion/:id/detail/:fileid",parentId:"342",id:"362"},363:{path:"/vtrs/:virtual_spacesId/settings",parentId:"342",id:"363"},364:{path:"/vtrs/:virtual_spacesId/resources",parentId:"342",id:"364"},365:{path:"/vtrs/:virtual_spacesId/resources/:id/detail",parentId:"342",id:"365"},366:{path:"/vtrs/:virtual_spacesId/Plan",parentId:"342",id:"366"},367:{path:"/vtrs/:virtual_spacesId/plan/:id/detail",parentId:"342",id:"367"},368:{path:"/vtrs/:virtual_spacesId/digtal",parentId:"342",id:"368"},369:{path:"/vtrs/:virtual_spacesId/homepage",parentId:"342",id:"369"},370:{path:"/vtrs/:virtual_spacesId/*",parentId:"342",id:"370"},371:{path:"/101",parentId:"1",id:"371"},372:{path:"/101/:virtual_spacesId",parentId:"371",id:"372"},373:{path:"/101/:virtual_spacesId",exact:!0,parentId:"372",id:"373"},374:{path:"/101/:virtual_spacesId/workplace",exact:!0,parentId:"372",id:"374"},375:{path:"/101/:virtual_spacesId/experiment",parentId:"372",id:"375"},376:{path:"/101/:virtual_spacesId/announcement",parentId:"372",id:"376"},377:{path:"/101/:virtual_spacesId/announcement/add",parentId:"372",id:"377"},378:{path:"/101/:virtual_spacesId/announcement/:id/edit",parentId:"372",id:"378"},379:{path:"/101/:virtual_spacesId/announcement/:id/detail",parentId:"372",id:"379"},380:{path:"/101/:virtual_spacesId/survey",parentId:"372",id:"380"},381:{path:"/101/:virtual_spacesId/survey/:id/detail",parentId:"372",id:"381"},382:{path:"/101/:virtual_spacesId/knowledge",parentId:"372",id:"382"},383:{path:"/101/:virtual_spacesId/knowledge/add",parentId:"372",id:"383"},384:{path:"/101/:virtual_spacesId/knowledge/:id/edit",parentId:"372",id:"384"},385:{path:"/101/:virtual_spacesId/material",parentId:"372",id:"385"},386:{path:"/101/:virtual_spacesId/material/:id/detail",parentId:"372",id:"386"},387:{path:"/101/:virtual_spacesId/lesson",parentId:"372",id:"387"},388:{path:"/101/:virtual_spacesId/lesson/:id/detail",parentId:"372",id:"388"},389:{path:"/101/:virtual_spacesId/lesson/:id/detail/:fileid",parentId:"372",id:"389"},390:{path:"/101/:virtual_spacesId/discussion",parentId:"372",id:"390"},391:{path:"/101/:virtual_spacesId/discussion/:id/detail",parentId:"372",id:"391"},392:{path:"/101/:virtual_spacesId/discussion/:id/detail/:fileid",parentId:"372",id:"392"},393:{path:"/101/:virtual_spacesId/settings",parentId:"372",id:"393"},394:{path:"/101/:virtual_spacesId/resources",parentId:"372",id:"394"},395:{path:"/101/:virtual_spacesId/resources/:id/detail",parentId:"372",id:"395"},396:{path:"/101/:virtual_spacesId/Plan",parentId:"372",id:"396"},397:{path:"/101/:virtual_spacesId/plan/:id/detail",parentId:"372",id:"397"},398:{path:"/101/:virtual_spacesId/digtal",parentId:"372",id:"398"},399:{path:"/101/:virtual_spacesId/homepage",parentId:"372",id:"399"},400:{path:"/101/:virtual_spacesId/*",parentId:"372",id:"400"},401:{path:"/administration",parentId:"1",id:"401"},402:{path:"/administration",parentId:"401",id:"402"},403:{path:"/administration/college",parentId:"402",id:"403"},404:{path:"/administration/student",parentId:"402",id:"404"},405:{path:"/administration/student/:studentId/edit",parentId:"402",id:"405"},406:{path:"/administration/profession",parentId:"402",id:"406"},407:{path:"/graduations",parentId:"1",id:"407"},408:{path:"/graduations",exact:!0,parentId:"407",id:"408"},409:{path:"/graduations/:id/:moduleKey/:moduleId/review/:itemId",exact:!0,parentId:"407",id:"409"},410:{path:"/graduations/:id",parentId:"407",id:"410"},411:{path:"/graduations/:id/index",parentId:"410",id:"411"},412:{path:"/graduations/:id/topics",parentId:"410",id:"412"},413:{path:"/graduations/:id/student_selection",parentId:"410",id:"413"},414:{path:"/graduations/:id/tasks",parentId:"410",id:"414"},415:{path:"/graduations/:id/opening_report",parentId:"410",id:"415"},416:{path:"/graduations/:id/midterm_report",parentId:"410",id:"416"},417:{path:"/graduations/:id/thesis",parentId:"410",id:"417"},418:{path:"/graduations/:id/final_defense",parentId:"410",id:"418"},419:{path:"/graduations/:id/final_thesis",parentId:"410",id:"419"},420:{path:"/graduations/:id/settings",parentId:"410",id:"420"},421:{path:"/graduations/:id/teachers",parentId:"410",id:"421"},422:{path:"/graduations/:id/students",parentId:"410",id:"422"},423:{path:"/graduations/:id/archives",parentId:"410",id:"423"},424:{path:"/graduations/:id/grading_summary",parentId:"410",id:"424"},425:{path:"/dataset",parentId:"1",id:"425"},426:{path:"/dataset",exact:!0,parentId:"425",id:"426"},427:{path:"/dataset/:id/detail",exact:!0,parentId:"425",id:"427"},428:{path:"/knowledgegraph",parentId:"1",id:"428"},429:{path:"/knowledgegraph/:pathId",parentId:"428",id:"429"},430:{path:"/knowledgegraph/:pathId/statistics",parentId:"428",id:"430"},431:{path:"/onlinenum",parentId:"1",id:"431"},432:{path:"/onlinenum",parentId:"431",id:"432"},433:{path:"/shixuncontext",parentId:"1",id:"433"},434:{path:"/shixuncontext",parentId:"433",id:"434"},435:{path:"/shixuncontext/:Id/detail",parentId:"433",id:"435"},436:{path:"/educoder-demo",exact:!0,parentId:"1",id:"436"},437:{path:"/training",parentId:"1",id:"437"},438:{name:"\u7CBE\u57F9\u8BFE\u7A0B",path:"/training",parentId:"437",id:"438"},439:{path:"/largeScreen",exact:!0,parentId:"1",id:"439"},440:{path:"/quality",parentId:"1",id:"440"},441:{name:"\u7CBE\u54C1\u8BFE\u7A0B",path:"/quality",parentId:"440",id:"441"},442:{path:"/otherlogin",exact:!0,parentId:"1",id:"442"},443:{path:"/otherloginqq",exact:!0,parentId:"1",id:"443"},444:{path:"/otherloginstart",exact:!0,parentId:"1",id:"444"},445:{path:"/pathsoverview",exact:!0,parentId:"1",id:"445"},446:{path:"/shixunsoverview",exact:!0,parentId:"1",id:"446"},447:{path:"/classroomsoverview",exact:!0,parentId:"1",id:"447"},448:{path:"/login",parentId:"1",id:"448"},449:{path:"/login",parentId:"448",id:"449"},450:{path:"/user",parentId:"1",id:"450"},451:{path:"/user/login",parentId:"450",id:"451"},452:{path:"/user/register",parentId:"450",id:"452"},453:{path:"/user/reset-password",parentId:"450",id:"453"},454:{path:"/colleges",parentId:"1",id:"454"},455:{path:"/colleges/:id/statistics",parentId:"454",id:"455"},456:{path:"/help",parentId:"1",id:"456"},457:{path:"/help/:id",parentId:"456",id:"457"},458:{path:"/video",parentId:"1",id:"458"},459:{path:"/video/:videoId",parentId:"458",id:"459"},460:{path:"/terminal",parentId:"1",id:"460"},461:{path:"/report/:taskId/:game_report_id",parentId:"1",id:"461"},462:{path:"/statsDashboard",parentId:"1",id:"462"},463:{path:"/",parentId:"1",id:"463"},464:{path:"/",exact:!0,parentId:"463",id:"464"},465:{path:"/api/*",exact:!0,parentId:"463",id:"465"},466:{path:"/search",exact:!0,parentId:"463",id:"466"},467:{path:"/moop_cases",exact:!0,parentId:"463",id:"467"},468:{path:"/moop_cases/new",exact:!0,parentId:"463",id:"468"},469:{path:"/moop_cases/:caseId",exact:!0,parentId:"463",id:"469"},470:{path:"/moop_cases/:caseId/edit",exact:!0,parentId:"463",id:"470"},471:{path:"/moop_cases/:caseId/publish-success",exact:!0,parentId:"463",id:"471"},472:{path:"/randompaper",exact:!0,parentId:"463",id:"472"},473:{path:"/randompaper/edit/:id",exact:!0,parentId:"463",id:"473"},474:{path:"/randompaper/detail/:id",exact:!0,parentId:"463",id:"474"},475:{path:"/403",parentId:"463",id:"475"},476:{path:"/500",parentId:"463",id:"476"},477:{path:"/404",parentId:"463",id:"477"},478:{path:"/download",parentId:"463",id:"478"},479:{path:"/iwce",parentId:"463",id:"479"},480:{path:"/classrooms/:coursesId/attendance/TeacherSign",parentId:"463",id:"480"},481:{path:"/classrooms/:coursesId/attendance/:categoryId",parentId:"463",id:"481"},482:{path:"/Activities",parentId:"463",id:"482"},483:{path:"/iwce/:itemname",parentId:"463",id:"483"},484:{path:"/hpc-course",parentId:"463",id:"484"},485:{path:"/user_agents",parentId:"463",id:"485"},486:{path:"/three",parentId:"463",id:"486"},487:{path:"/introduction",parentId:"463",id:"487"},488:{path:"/chatgpt",parentId:"463",id:"488"},489:{path:"/*",parentId:"463",id:"489"},"@@/global-layout":{id:"@@/global-layout",path:"/",isLayout:!0}},routeComponents:{1:Ue.lazy(()=>__webpack_require__.e(599).then(__webpack_require__.bind(__webpack_require__,20599))),2:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,90821))),3:Ue.lazy(()=>__webpack_require__.e(4862).then(__webpack_require__.bind(__webpack_require__,76563))),4:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3260)]).then(__webpack_require__.bind(__webpack_require__,8391))),5:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3260)]).then(__webpack_require__.bind(__webpack_require__,8391))),6:Ue.lazy(()=>__webpack_require__.e(3247).then(__webpack_require__.bind(__webpack_require__,64226))),7:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(425),__webpack_require__.e(9596),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,46627))),8:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(425),__webpack_require__.e(9596),__webpack_require__.e(1545)]).then(__webpack_require__.bind(__webpack_require__,91046))),9:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,90821))),10:Ue.lazy(()=>__webpack_require__.e(6052).then(__webpack_require__.bind(__webpack_require__,19372))),11:Ue.lazy(()=>__webpack_require__.e(5572).then(__webpack_require__.bind(__webpack_require__,27851))),12:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8982)]).then(__webpack_require__.bind(__webpack_require__,86364))),13:Ue.lazy(()=>__webpack_require__.e(869).then(__webpack_require__.bind(__webpack_require__,58966))),14:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(3332)]).then(__webpack_require__.bind(__webpack_require__,98287))),15:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4601)]).then(__webpack_require__.bind(__webpack_require__,22834))),16:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8982)]).then(__webpack_require__.bind(__webpack_require__,86364))),17:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(425),__webpack_require__.e(9596),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,46627))),18:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(425),__webpack_require__.e(9596),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,46627))),19:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,90821))),20:Ue.lazy(()=>__webpack_require__.e(6685).then(__webpack_require__.bind(__webpack_require__,46275))),21:Ue.lazy(()=>__webpack_require__.e(9921).then(__webpack_require__.bind(__webpack_require__,20973))),22:Ue.lazy(()=>__webpack_require__.e(1674).then(__webpack_require__.bind(__webpack_require__,31793))),23:Ue.lazy(()=>__webpack_require__.e(6685).then(__webpack_require__.bind(__webpack_require__,46275))),24:Ue.lazy(()=>__webpack_require__.e(1702).then(__webpack_require__.bind(__webpack_require__,37273))),25:Ue.lazy(()=>__webpack_require__.e(1702).then(__webpack_require__.bind(__webpack_require__,37273))),26:Ue.lazy(()=>__webpack_require__.e(6882).then(__webpack_require__.bind(__webpack_require__,45029))),27:Ue.lazy(()=>__webpack_require__.e(6882).then(__webpack_require__.bind(__webpack_require__,45029))),28:Ue.lazy(()=>__webpack_require__.e(109).then(__webpack_require__.bind(__webpack_require__,46922))),29:Ue.lazy(()=>__webpack_require__.e(737).then(__webpack_require__.bind(__webpack_require__,94044))),30:Ue.lazy(()=>__webpack_require__.e(3391).then(__webpack_require__.bind(__webpack_require__,67311))),31:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(3581)]).then(__webpack_require__.bind(__webpack_require__,86230))),32:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(342)]).then(__webpack_require__.bind(__webpack_require__,88924))),33:Ue.lazy(()=>__webpack_require__.e(2303).then(__webpack_require__.bind(__webpack_require__,63437))),34:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1450)]).then(__webpack_require__.bind(__webpack_require__,60922))),35:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(195)]).then(__webpack_require__.bind(__webpack_require__,70731))),36:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3668)]).then(__webpack_require__.bind(__webpack_require__,1086))),37:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(2338)]).then(__webpack_require__.bind(__webpack_require__,83890))),38:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4662)]).then(__webpack_require__.bind(__webpack_require__,75400))),39:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8072)]).then(__webpack_require__.bind(__webpack_require__,52934))),40:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(479)]).then(__webpack_require__.bind(__webpack_require__,34353))),41:Ue.lazy(()=>__webpack_require__.e(5297).then(__webpack_require__.bind(__webpack_require__,30748))),42:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(4164)]).then(__webpack_require__.bind(__webpack_require__,53036))),43:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(425),__webpack_require__.e(9596),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,46627))),44:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(425),__webpack_require__.e(4889)]).then(__webpack_require__.bind(__webpack_require__,60839))),45:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(425),__webpack_require__.e(4105)]).then(__webpack_require__.bind(__webpack_require__,77638))),46:Ue.lazy(()=>__webpack_require__.e(7482).then(__webpack_require__.bind(__webpack_require__,53147))),47:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,12624))),48:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(337)]).then(__webpack_require__.bind(__webpack_require__,23129))),49:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(292)]).then(__webpack_require__.bind(__webpack_require__,23108))),50:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(292)]).then(__webpack_require__.bind(__webpack_require__,23108))),51:Ue.lazy(()=>__webpack_require__.e(5992).then(__webpack_require__.bind(__webpack_require__,10147))),52:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(425),__webpack_require__.e(8085)]).then(__webpack_require__.bind(__webpack_require__,73966))),53:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(425),__webpack_require__.e(8085)]).then(__webpack_require__.bind(__webpack_require__,73966))),54:Ue.lazy(()=>__webpack_require__.e(8431).then(__webpack_require__.bind(__webpack_require__,83922))),55:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5902)]).then(__webpack_require__.bind(__webpack_require__,82856))),56:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(3433)]).then(__webpack_require__.bind(__webpack_require__,31533))),57:Ue.lazy(()=>__webpack_require__.e(5125).then(__webpack_require__.bind(__webpack_require__,3276))),58:Ue.lazy(()=>__webpack_require__.e(5125).then(__webpack_require__.bind(__webpack_require__,3276))),59:Ue.lazy(()=>__webpack_require__.e(921).then(__webpack_require__.bind(__webpack_require__,77329))),60:Ue.lazy(()=>__webpack_require__.e(921).then(__webpack_require__.bind(__webpack_require__,77329))),61:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1578)]).then(__webpack_require__.bind(__webpack_require__,75288))),62:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3317)]).then(__webpack_require__.bind(__webpack_require__,83485))),63:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1482)]).then(__webpack_require__.bind(__webpack_require__,97780))),64:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4795)]).then(__webpack_require__.bind(__webpack_require__,28915))),65:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(26)]).then(__webpack_require__.bind(__webpack_require__,57643))),66:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8882)]).then(__webpack_require__.bind(__webpack_require__,8321))),67:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5888)]).then(__webpack_require__.bind(__webpack_require__,77498))),68:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(9715)]).then(__webpack_require__.bind(__webpack_require__,56010))),69:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7045)]).then(__webpack_require__.bind(__webpack_require__,7769))),70:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1211)]).then(__webpack_require__.bind(__webpack_require__,36618))),71:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1582)]).then(__webpack_require__.bind(__webpack_require__,1910))),72:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6729)]).then(__webpack_require__.bind(__webpack_require__,34104))),73:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(9695)]).then(__webpack_require__.bind(__webpack_require__,3487))),74:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8723)]).then(__webpack_require__.bind(__webpack_require__,17042))),75:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7622)]).then(__webpack_require__.bind(__webpack_require__,72583))),76:Ue.lazy(()=>__webpack_require__.e(5148).then(__webpack_require__.bind(__webpack_require__,61193))),77:Ue.lazy(()=>__webpack_require__.e(643).then(__webpack_require__.bind(__webpack_require__,13750))),78:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3442)]).then(__webpack_require__.bind(__webpack_require__,96046))),79:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(2102)]).then(__webpack_require__.bind(__webpack_require__,22996))),80:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(2425)]).then(__webpack_require__.bind(__webpack_require__,41305))),81:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(2404)]).then(__webpack_require__.bind(__webpack_require__,78554))),82:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(9785)]).then(__webpack_require__.bind(__webpack_require__,74124))),83:Ue.lazy(()=>__webpack_require__.e(869).then(__webpack_require__.bind(__webpack_require__,58966))),84:Ue.lazy(()=>__webpack_require__.e(2819).then(__webpack_require__.bind(__webpack_require__,55998))),85:Ue.lazy(()=>__webpack_require__.e(1512).then(__webpack_require__.bind(__webpack_require__,31905))),86:Ue.lazy(()=>__webpack_require__.e(7395).then(__webpack_require__.bind(__webpack_require__,21229))),87:Ue.lazy(()=>__webpack_require__.e(3585).then(__webpack_require__.bind(__webpack_require__,98731))),88:Ue.lazy(()=>__webpack_require__.e(6963).then(__webpack_require__.bind(__webpack_require__,37244))),89:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4030)]).then(__webpack_require__.bind(__webpack_require__,35171))),90:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4030)]).then(__webpack_require__.bind(__webpack_require__,35171))),91:Ue.lazy(()=>__webpack_require__.e(6127).then(__webpack_require__.bind(__webpack_require__,42383))),92:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3951)]).then(__webpack_require__.bind(__webpack_require__,71073))),93:Ue.lazy(()=>__webpack_require__.e(1048).then(__webpack_require__.bind(__webpack_require__,97838))),94:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(425),__webpack_require__.e(2884)]).then(__webpack_require__.bind(__webpack_require__,22450))),95:Ue.lazy(()=>__webpack_require__.e(4770).then(__webpack_require__.bind(__webpack_require__,57454))),96:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(2603)]).then(__webpack_require__.bind(__webpack_require__,60846))),97:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4216)]).then(__webpack_require__.bind(__webpack_require__,45062))),98:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5319)]).then(__webpack_require__.bind(__webpack_require__,93341))),99:Ue.lazy(()=>__webpack_require__.e(895).then(__webpack_require__.bind(__webpack_require__,25921))),100:Ue.lazy(()=>__webpack_require__.e(3282).then(__webpack_require__.bind(__webpack_require__,93365))),101:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7852)]).then(__webpack_require__.bind(__webpack_require__,20383))),102:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7852)]).then(__webpack_require__.bind(__webpack_require__,20383))),103:Ue.lazy(()=>__webpack_require__.e(5048).then(__webpack_require__.bind(__webpack_require__,77437))),104:Ue.lazy(()=>__webpack_require__.e(1043).then(__webpack_require__.bind(__webpack_require__,15828))),105:Ue.lazy(()=>__webpack_require__.e(1043).then(__webpack_require__.bind(__webpack_require__,15828))),106:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5825)]).then(__webpack_require__.bind(__webpack_require__,80015))),107:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5825)]).then(__webpack_require__.bind(__webpack_require__,80015))),108:Ue.lazy(()=>__webpack_require__.e(3355).then(__webpack_require__.bind(__webpack_require__,3403))),109:Ue.lazy(()=>__webpack_require__.e(3355).then(__webpack_require__.bind(__webpack_require__,3403))),110:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4142),__webpack_require__.e(9890)]).then(__webpack_require__.bind(__webpack_require__,94863))),111:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4142),__webpack_require__.e(9890)]).then(__webpack_require__.bind(__webpack_require__,94863))),112:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4142),__webpack_require__.e(3935)]).then(__webpack_require__.bind(__webpack_require__,14902))),113:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4142),__webpack_require__.e(3935)]).then(__webpack_require__.bind(__webpack_require__,14902))),114:Ue.lazy(()=>__webpack_require__.e(8014).then(__webpack_require__.bind(__webpack_require__,6218))),115:Ue.lazy(()=>__webpack_require__.e(8077).then(__webpack_require__.bind(__webpack_require__,83443))),116:Ue.lazy(()=>__webpack_require__.e(3356).then(__webpack_require__.bind(__webpack_require__,5010))),117:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6788)]).then(__webpack_require__.bind(__webpack_require__,11008))),118:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6788)]).then(__webpack_require__.bind(__webpack_require__,11008))),119:Ue.lazy(()=>__webpack_require__.e(1962).then(__webpack_require__.bind(__webpack_require__,21413))),120:Ue.lazy(()=>__webpack_require__.e(4928).then(__webpack_require__.bind(__webpack_require__,11133))),121:Ue.lazy(()=>__webpack_require__.e(1257).then(__webpack_require__.bind(__webpack_require__,25251))),122:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8435)]).then(__webpack_require__.bind(__webpack_require__,36464))),123:Ue.lazy(()=>__webpack_require__.e(8340).then(__webpack_require__.bind(__webpack_require__,25083))),124:Ue.lazy(()=>__webpack_require__.e(4093).then(__webpack_require__.bind(__webpack_require__,29860))),125:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1265)]).then(__webpack_require__.bind(__webpack_require__,61434))),126:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1265)]).then(__webpack_require__.bind(__webpack_require__,61434))),127:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8827)]).then(__webpack_require__.bind(__webpack_require__,51291))),128:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8827)]).then(__webpack_require__.bind(__webpack_require__,51291))),129:Ue.lazy(()=>__webpack_require__.e(6758).then(__webpack_require__.bind(__webpack_require__,27776))),130:Ue.lazy(()=>__webpack_require__.e(6758).then(__webpack_require__.bind(__webpack_require__,27776))),131:Ue.lazy(()=>__webpack_require__.e(9332).then(__webpack_require__.bind(__webpack_require__,66640))),132:Ue.lazy(()=>__webpack_require__.e(9332).then(__webpack_require__.bind(__webpack_require__,66640))),133:Ue.lazy(()=>__webpack_require__.e(4217).then(__webpack_require__.bind(__webpack_require__,96573))),134:Ue.lazy(()=>__webpack_require__.e(3220).then(__webpack_require__.bind(__webpack_require__,58786))),135:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(533)]).then(__webpack_require__.bind(__webpack_require__,1697))),136:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5798)]).then(__webpack_require__.bind(__webpack_require__,70302))),137:Ue.lazy(()=>__webpack_require__.e(7878).then(__webpack_require__.bind(__webpack_require__,27599))),138:Ue.lazy(()=>__webpack_require__.e(7878).then(__webpack_require__.bind(__webpack_require__,27599))),139:Ue.lazy(()=>__webpack_require__.e(9944).then(__webpack_require__.bind(__webpack_require__,76161))),140:Ue.lazy(()=>__webpack_require__.e(8302).then(__webpack_require__.bind(__webpack_require__,23889))),141:Ue.lazy(()=>__webpack_require__.e(8302).then(__webpack_require__.bind(__webpack_require__,23889))),142:Ue.lazy(()=>__webpack_require__.e(8634).then(__webpack_require__.bind(__webpack_require__,69808))),143:Ue.lazy(()=>__webpack_require__.e(8634).then(__webpack_require__.bind(__webpack_require__,69808))),144:Ue.lazy(()=>__webpack_require__.e(7922).then(__webpack_require__.bind(__webpack_require__,8176))),145:Ue.lazy(()=>__webpack_require__.e(1727).then(__webpack_require__.bind(__webpack_require__,21095))),146:Ue.lazy(()=>__webpack_require__.e(1727).then(__webpack_require__.bind(__webpack_require__,21095))),147:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(1427)]).then(__webpack_require__.bind(__webpack_require__,63679))),148:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(1427)]).then(__webpack_require__.bind(__webpack_require__,63679))),149:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8689)]).then(__webpack_require__.bind(__webpack_require__,99046))),150:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7806)]).then(__webpack_require__.bind(__webpack_require__,82503))),151:Ue.lazy(()=>__webpack_require__.e(3276).then(__webpack_require__.bind(__webpack_require__,15531))),152:Ue.lazy(()=>__webpack_require__.e(8885).then(__webpack_require__.bind(__webpack_require__,50715))),153:Ue.lazy(()=>__webpack_require__.e(3451).then(__webpack_require__.bind(__webpack_require__,90317))),154:Ue.lazy(()=>__webpack_require__.e(9922).then(__webpack_require__.bind(__webpack_require__,1377))),155:Ue.lazy(()=>__webpack_require__.e(4572).then(__webpack_require__.bind(__webpack_require__,65515))),156:Ue.lazy(()=>__webpack_require__.e(4017).then(__webpack_require__.bind(__webpack_require__,99342))),157:Ue.lazy(()=>__webpack_require__.e(5518).then(__webpack_require__.bind(__webpack_require__,26032))),158:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,90821))),159:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(391),__webpack_require__.e(6883)]).then(__webpack_require__.bind(__webpack_require__,80961))),160:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(391),__webpack_require__.e(6883)]).then(__webpack_require__.bind(__webpack_require__,80961))),161:Ue.lazy(()=>__webpack_require__.e(4449).then(__webpack_require__.bind(__webpack_require__,43008))),162:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(391),__webpack_require__.e(6883)]).then(__webpack_require__.bind(__webpack_require__,80961))),163:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5265),__webpack_require__.e(2570)]).then(__webpack_require__.bind(__webpack_require__,79177))),164:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5265),__webpack_require__.e(2570)]).then(__webpack_require__.bind(__webpack_require__,79177))),165:Ue.lazy(()=>__webpack_require__.e(8787).then(__webpack_require__.bind(__webpack_require__,719))),166:Ue.lazy(()=>__webpack_require__.e(5650).then(__webpack_require__.bind(__webpack_require__,14796))),167:Ue.lazy(()=>__webpack_require__.e(1799).then(__webpack_require__.bind(__webpack_require__,5629))),168:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5265),__webpack_require__.e(8797)]).then(__webpack_require__.bind(__webpack_require__,29526))),169:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,90821))),170:Ue.lazy(()=>__webpack_require__.e(8639).then(__webpack_require__.bind(__webpack_require__,37226))),171:Ue.lazy(()=>__webpack_require__.e(2983).then(__webpack_require__.bind(__webpack_require__,24564))),172:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4264)]).then(__webpack_require__.bind(__webpack_require__,96560))),173:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4264)]).then(__webpack_require__.bind(__webpack_require__,96560))),174:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(508)]).then(__webpack_require__.bind(__webpack_require__,35918))),175:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,90821))),176:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(425),__webpack_require__.e(9596),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,46627))),177:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1953)]).then(__webpack_require__.bind(__webpack_require__,85953))),178:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1953)]).then(__webpack_require__.bind(__webpack_require__,85953))),179:Ue.lazy(()=>__webpack_require__.e(1581).then(__webpack_require__.bind(__webpack_require__,6413))),180:Ue.lazy(()=>__webpack_require__.e(4144).then(__webpack_require__.bind(__webpack_require__,37852))),181:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(425),__webpack_require__.e(9596),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,46627))),182:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,90821))),183:Ue.lazy(()=>__webpack_require__.e(8782).then(__webpack_require__.bind(__webpack_require__,20186))),184:Ue.lazy(()=>__webpack_require__.e(7884).then(__webpack_require__.bind(__webpack_require__,15352))),185:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7008)]).then(__webpack_require__.bind(__webpack_require__,98622))),186:Ue.lazy(()=>__webpack_require__.e(5549).then(__webpack_require__.bind(__webpack_require__,84246))),187:Ue.lazy(()=>__webpack_require__.e(9674).then(__webpack_require__.bind(__webpack_require__,28092))),188:Ue.lazy(()=>__webpack_require__.e(5573).then(__webpack_require__.bind(__webpack_require__,40580))),189:Ue.lazy(()=>__webpack_require__.e(2141).then(__webpack_require__.bind(__webpack_require__,2751))),190:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(33),__webpack_require__.e(6277)]).then(__webpack_require__.bind(__webpack_require__,69638))),191:Ue.lazy(()=>__webpack_require__.e(6328).then(__webpack_require__.bind(__webpack_require__,21052))),192:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7857)]).then(__webpack_require__.bind(__webpack_require__,46897))),193:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1657)]).then(__webpack_require__.bind(__webpack_require__,29040))),194:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1657)]).then(__webpack_require__.bind(__webpack_require__,29040))),195:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4498)]).then(__webpack_require__.bind(__webpack_require__,2134))),196:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4498)]).then(__webpack_require__.bind(__webpack_require__,2134))),197:Ue.lazy(()=>__webpack_require__.e(9205).then(__webpack_require__.bind(__webpack_require__,56405))),198:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1423)]).then(__webpack_require__.bind(__webpack_require__,92185))),199:Ue.lazy(()=>__webpack_require__.e(7614).then(__webpack_require__.bind(__webpack_require__,63798))),200:Ue.lazy(()=>__webpack_require__.e(2875).then(__webpack_require__.bind(__webpack_require__,78932))),201:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(9133)]).then(__webpack_require__.bind(__webpack_require__,70624))),202:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,51518))),203:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,51518))),204:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5470)]).then(__webpack_require__.bind(__webpack_require__,18509))),205:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6541)]).then(__webpack_require__.bind(__webpack_require__,52021))),206:Ue.lazy(()=>Promise.all([__webpack_require__.e(33),__webpack_require__.e(1475)]).then(__webpack_require__.bind(__webpack_require__,58100))),207:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(2254)]).then(__webpack_require__.bind(__webpack_require__,71666))),208:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(9408)]).then(__webpack_require__.bind(__webpack_require__,28744))),209:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(6845)]).then(__webpack_require__.bind(__webpack_require__,72281))),210:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4884)]).then(__webpack_require__.bind(__webpack_require__,96146))),211:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4884)]).then(__webpack_require__.bind(__webpack_require__,96146))),212:Ue.lazy(()=>__webpack_require__.e(1148).then(__webpack_require__.bind(__webpack_require__,6850))),213:Ue.lazy(()=>__webpack_require__.e(1148).then(__webpack_require__.bind(__webpack_require__,6850))),214:Ue.lazy(()=>__webpack_require__.e(7046).then(__webpack_require__.bind(__webpack_require__,83283))),215:Ue.lazy(()=>__webpack_require__.e(7046).then(__webpack_require__.bind(__webpack_require__,83283))),216:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,51518))),217:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,51518))),218:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5096)]).then(__webpack_require__.bind(__webpack_require__,68639))),219:Ue.lazy(()=>__webpack_require__.e(9215).then(__webpack_require__.bind(__webpack_require__,5134))),220:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,90821))),221:Ue.lazy(()=>__webpack_require__.e(5176).then(__webpack_require__.bind(__webpack_require__,59622))),222:Ue.lazy(()=>__webpack_require__.e(6587).then(__webpack_require__.bind(__webpack_require__,65866))),223:Ue.lazy(()=>__webpack_require__.e(9891).then(__webpack_require__.bind(__webpack_require__,86974))),224:Ue.lazy(()=>__webpack_require__.e(8062).then(__webpack_require__.bind(__webpack_require__,49690))),225:Ue.lazy(()=>__webpack_require__.e(5402).then(__webpack_require__.bind(__webpack_require__,50650))),226:Ue.lazy(()=>__webpack_require__.e(5402).then(__webpack_require__.bind(__webpack_require__,50650))),227:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6820)]).then(__webpack_require__.bind(__webpack_require__,8191))),228:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8517)]).then(__webpack_require__.bind(__webpack_require__,31721))),229:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7043)]).then(__webpack_require__.bind(__webpack_require__,80751))),230:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(2806)]).then(__webpack_require__.bind(__webpack_require__,53605))),231:Ue.lazy(()=>__webpack_require__.e(5043).then(__webpack_require__.bind(__webpack_require__,8712))),232:Ue.lazy(()=>__webpack_require__.e(799).then(__webpack_require__.bind(__webpack_require__,26021))),233:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3157)]).then(__webpack_require__.bind(__webpack_require__,75992))),234:Ue.lazy(()=>__webpack_require__.e(2529).then(__webpack_require__.bind(__webpack_require__,43116))),235:Ue.lazy(()=>__webpack_require__.e(6583).then(__webpack_require__.bind(__webpack_require__,26501))),236:Ue.lazy(()=>__webpack_require__.e(5895).then(__webpack_require__.bind(__webpack_require__,22802))),237:Ue.lazy(()=>__webpack_require__.e(6982).then(__webpack_require__.bind(__webpack_require__,49451))),238:Ue.lazy(()=>__webpack_require__.e(6805).then(__webpack_require__.bind(__webpack_require__,97118))),239:Ue.lazy(()=>__webpack_require__.e(1416).then(__webpack_require__.bind(__webpack_require__,16430))),240:Ue.lazy(()=>__webpack_require__.e(6583).then(__webpack_require__.bind(__webpack_require__,26501))),241:Ue.lazy(()=>__webpack_require__.e(8307).then(__webpack_require__.bind(__webpack_require__,51705))),242:Ue.lazy(()=>__webpack_require__.e(2826).then(__webpack_require__.bind(__webpack_require__,36806))),243:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2659)]).then(__webpack_require__.bind(__webpack_require__,31324))),244:Ue.lazy(()=>__webpack_require__.e(4610).then(__webpack_require__.bind(__webpack_require__,88755))),245:Ue.lazy(()=>__webpack_require__.e(9590).then(__webpack_require__.bind(__webpack_require__,81187))),246:Ue.lazy(()=>__webpack_require__.e(2076).then(__webpack_require__.bind(__webpack_require__,62484))),247:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4849)]).then(__webpack_require__.bind(__webpack_require__,20267))),248:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(310)]).then(__webpack_require__.bind(__webpack_require__,18460))),249:Ue.lazy(()=>__webpack_require__.e(5191).then(__webpack_require__.bind(__webpack_require__,43173))),250:Ue.lazy(()=>__webpack_require__.e(3496).then(__webpack_require__.bind(__webpack_require__,68861))),251:Ue.lazy(()=>__webpack_require__.e(7948).then(__webpack_require__.bind(__webpack_require__,47412))),252:Ue.lazy(()=>__webpack_require__.e(9519).then(__webpack_require__.bind(__webpack_require__,86576))),253:Ue.lazy(()=>__webpack_require__.e(5599).then(__webpack_require__.bind(__webpack_require__,56543))),254:Ue.lazy(()=>__webpack_require__.e(4736).then(__webpack_require__.bind(__webpack_require__,55199))),255:Ue.lazy(()=>__webpack_require__.e(2412).then(__webpack_require__.bind(__webpack_require__,89993))),256:Ue.lazy(()=>__webpack_require__.e(2240).then(__webpack_require__.bind(__webpack_require__,83184))),257:Ue.lazy(()=>__webpack_require__.e(265).then(__webpack_require__.bind(__webpack_require__,14631))),258:Ue.lazy(()=>__webpack_require__.e(9360).then(__webpack_require__.bind(__webpack_require__,88038))),259:Ue.lazy(()=>__webpack_require__.e(2396).then(__webpack_require__.bind(__webpack_require__,35670))),260:Ue.lazy(()=>__webpack_require__.e(7855).then(__webpack_require__.bind(__webpack_require__,99624))),261:Ue.lazy(()=>__webpack_require__.e(9507).then(__webpack_require__.bind(__webpack_require__,69157))),262:Ue.lazy(()=>__webpack_require__.e(1343).then(__webpack_require__.bind(__webpack_require__,11234))),263:Ue.lazy(()=>__webpack_require__.e(599).then(__webpack_require__.bind(__webpack_require__,20599))),264:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,90821))),265:Ue.lazy(()=>__webpack_require__.e(9647).then(__webpack_require__.bind(__webpack_require__,3447))),266:Ue.lazy(()=>__webpack_require__.e(485).then(__webpack_require__.bind(__webpack_require__,96555))),267:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4741)]).then(__webpack_require__.bind(__webpack_require__,14222))),268:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4741)]).then(__webpack_require__.bind(__webpack_require__,14222))),269:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4994)]).then(__webpack_require__.bind(__webpack_require__,833))),270:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4994)]).then(__webpack_require__.bind(__webpack_require__,833))),271:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7460)]).then(__webpack_require__.bind(__webpack_require__,30197))),272:Ue.lazy(()=>__webpack_require__.e(9716).then(__webpack_require__.bind(__webpack_require__,84958))),273:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6913)]).then(__webpack_require__.bind(__webpack_require__,81171))),274:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6913)]).then(__webpack_require__.bind(__webpack_require__,81171))),275:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,90821))),276:Ue.lazy(()=>__webpack_require__.e(3006).then(__webpack_require__.bind(__webpack_require__,62861))),277:Ue.lazy(()=>__webpack_require__.e(2045).then(__webpack_require__.bind(__webpack_require__,10497))),278:Ue.lazy(()=>__webpack_require__.e(1520).then(__webpack_require__.bind(__webpack_require__,2131))),279:Ue.lazy(()=>__webpack_require__.e(9649).then(__webpack_require__.bind(__webpack_require__,62256))),280:Ue.lazy(()=>__webpack_require__.e(4546).then(__webpack_require__.bind(__webpack_require__,872))),281:Ue.lazy(()=>__webpack_require__.e(5357).then(__webpack_require__.bind(__webpack_require__,64361))),282:Ue.lazy(()=>__webpack_require__.e(8665).then(__webpack_require__.bind(__webpack_require__,85761))),283:Ue.lazy(()=>__webpack_require__.e(3183).then(__webpack_require__.bind(__webpack_require__,93875))),284:Ue.lazy(()=>__webpack_require__.e(4800).then(__webpack_require__.bind(__webpack_require__,21202))),285:Ue.lazy(()=>__webpack_require__.e(9489).then(__webpack_require__.bind(__webpack_require__,91460))),286:Ue.lazy(()=>__webpack_require__.e(9391).then(__webpack_require__.bind(__webpack_require__,17689))),287:Ue.lazy(()=>__webpack_require__.e(5335).then(__webpack_require__.bind(__webpack_require__,37222))),288:Ue.lazy(()=>__webpack_require__.e(2823).then(__webpack_require__.bind(__webpack_require__,14455))),289:Ue.lazy(()=>__webpack_require__.e(4973).then(__webpack_require__.bind(__webpack_require__,41313))),290:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6651)]).then(__webpack_require__.bind(__webpack_require__,46859))),291:Ue.lazy(()=>__webpack_require__.e(6741).then(__webpack_require__.bind(__webpack_require__,5942))),292:Ue.lazy(()=>__webpack_require__.e(5775).then(__webpack_require__.bind(__webpack_require__,15920))),293:Ue.lazy(()=>__webpack_require__.e(2548).then(__webpack_require__.bind(__webpack_require__,76515))),294:Ue.lazy(()=>__webpack_require__.e(599).then(__webpack_require__.bind(__webpack_require__,20599))),295:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,90821))),296:Ue.lazy(()=>__webpack_require__.e(6634).then(__webpack_require__.bind(__webpack_require__,97800))),297:Ue.lazy(()=>__webpack_require__.e(680).then(__webpack_require__.bind(__webpack_require__,89705))),298:Ue.lazy(()=>__webpack_require__.e(6366).then(__webpack_require__.bind(__webpack_require__,47363))),299:Ue.lazy(()=>__webpack_require__.e(6452).then(__webpack_require__.bind(__webpack_require__,16302))),300:Ue.lazy(()=>__webpack_require__.e(1070).then(__webpack_require__.bind(__webpack_require__,90894))),301:Ue.lazy(()=>__webpack_require__.e(7242).then(__webpack_require__.bind(__webpack_require__,13747))),302:Ue.lazy(()=>__webpack_require__.e(2707).then(__webpack_require__.bind(__webpack_require__,14828))),303:Ue.lazy(()=>__webpack_require__.e(2865).then(__webpack_require__.bind(__webpack_require__,99436))),304:Ue.lazy(()=>__webpack_require__.e(6784).then(__webpack_require__.bind(__webpack_require__,19552))),305:Ue.lazy(()=>__webpack_require__.e(6784).then(__webpack_require__.bind(__webpack_require__,19552))),306:Ue.lazy(()=>__webpack_require__.e(3141).then(__webpack_require__.bind(__webpack_require__,562))),307:Ue.lazy(()=>__webpack_require__.e(599).then(__webpack_require__.bind(__webpack_require__,20599))),308:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(425),__webpack_require__.e(3665)]).then(__webpack_require__.bind(__webpack_require__,93386))),309:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(700)]).then(__webpack_require__.bind(__webpack_require__,40678))),310:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(425),__webpack_require__.e(3665)]).then(__webpack_require__.bind(__webpack_require__,93386))),311:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(700)]).then(__webpack_require__.bind(__webpack_require__,40678))),312:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(425),__webpack_require__.e(3665)]).then(__webpack_require__.bind(__webpack_require__,93386))),313:Ue.lazy(()=>__webpack_require__.e(599).then(__webpack_require__.bind(__webpack_require__,20599))),314:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(425),__webpack_require__.e(7527)]).then(__webpack_require__.bind(__webpack_require__,72222))),315:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(425),__webpack_require__.e(6270)]).then(__webpack_require__.bind(__webpack_require__,91176))),316:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,90821))),317:Ue.lazy(()=>__webpack_require__.e(547).then(__webpack_require__.bind(__webpack_require__,21119))),318:Ue.lazy(()=>__webpack_require__.e(9788).then(__webpack_require__.bind(__webpack_require__,64348))),319:Ue.lazy(()=>__webpack_require__.e(576).then(__webpack_require__.bind(__webpack_require__,21496))),320:Ue.lazy(()=>__webpack_require__.e(7260).then(__webpack_require__.bind(__webpack_require__,95335))),321:Ue.lazy(()=>__webpack_require__.e(4520).then(__webpack_require__.bind(__webpack_require__,45423))),322:Ue.lazy(()=>__webpack_require__.e(9076).then(__webpack_require__.bind(__webpack_require__,37196))),323:Ue.lazy(()=>__webpack_require__.e(4514).then(__webpack_require__.bind(__webpack_require__,36178))),324:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,90821))),325:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(928)]).then(__webpack_require__.bind(__webpack_require__,10729))),326:Ue.lazy(()=>__webpack_require__.e(1006).then(__webpack_require__.bind(__webpack_require__,54204))),327:Ue.lazy(()=>__webpack_require__.e(1006).then(__webpack_require__.bind(__webpack_require__,54204))),328:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,90821))),329:Ue.lazy(()=>__webpack_require__.e(1939).then(__webpack_require__.bind(__webpack_require__,23395))),330:Ue.lazy(()=>__webpack_require__.e(556).then(__webpack_require__.bind(__webpack_require__,68703))),331:Ue.lazy(()=>__webpack_require__.e(6434).then(__webpack_require__.bind(__webpack_require__,3819))),332:Ue.lazy(()=>__webpack_require__.e(1880).then(__webpack_require__.bind(__webpack_require__,39983))),333:Ue.lazy(()=>__webpack_require__.e(8237).then(__webpack_require__.bind(__webpack_require__,79046))),334:Ue.lazy(()=>__webpack_require__.e(3447).then(__webpack_require__.bind(__webpack_require__,47873))),335:Ue.lazy(()=>__webpack_require__.e(264).then(__webpack_require__.bind(__webpack_require__,42176))),336:Ue.lazy(()=>__webpack_require__.e(4259).then(__webpack_require__.bind(__webpack_require__,92105))),337:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,90821))),338:Ue.lazy(()=>__webpack_require__.e(4078).then(__webpack_require__.bind(__webpack_require__,97128))),339:Ue.lazy(()=>__webpack_require__.e(2829).then(__webpack_require__.bind(__webpack_require__,82821))),340:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5359)]).then(__webpack_require__.bind(__webpack_require__,5211))),341:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,90821))),342:Ue.lazy(()=>__webpack_require__.e(559).then(__webpack_require__.bind(__webpack_require__,54587))),343:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,40599))),344:Ue.lazy(()=>__webpack_require__.e(4757).then(__webpack_require__.bind(__webpack_require__,89955))),345:Ue.lazy(()=>__webpack_require__.e(1783).then(__webpack_require__.bind(__webpack_require__,61471))),346:Ue.lazy(()=>__webpack_require__.e(7477).then(__webpack_require__.bind(__webpack_require__,3279))),347:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,99661))),348:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,99661))),349:Ue.lazy(()=>__webpack_require__.e(6796).then(__webpack_require__.bind(__webpack_require__,36546))),350:Ue.lazy(()=>__webpack_require__.e(4504).then(__webpack_require__.bind(__webpack_require__,21105))),351:Ue.lazy(()=>__webpack_require__.e(7058).then(__webpack_require__.bind(__webpack_require__,97769))),352:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8447)]).then(__webpack_require__.bind(__webpack_require__,11369))),353:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,97927))),354:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,97927))),355:Ue.lazy(()=>__webpack_require__.e(5238).then(__webpack_require__.bind(__webpack_require__,13793))),356:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4715)]).then(__webpack_require__.bind(__webpack_require__,42100))),357:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3873)]).then(__webpack_require__.bind(__webpack_require__,22330))),358:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,91591))),359:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,91591))),360:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6265)]).then(__webpack_require__.bind(__webpack_require__,14291))),361:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,75673))),362:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,75673))),363:Ue.lazy(()=>__webpack_require__.e(1713).then(__webpack_require__.bind(__webpack_require__,82125))),364:Ue.lazy(()=>__webpack_require__.e(5891).then(__webpack_require__.bind(__webpack_require__,30654))),365:Ue.lazy(()=>__webpack_require__.e(8398).then(__webpack_require__.bind(__webpack_require__,38542))),366:Ue.lazy(()=>__webpack_require__.e(8241).then(__webpack_require__.bind(__webpack_require__,92314))),367:Ue.lazy(()=>__webpack_require__.e(2339).then(__webpack_require__.bind(__webpack_require__,74232))),368:Ue.lazy(()=>__webpack_require__.e(7589).then(__webpack_require__.bind(__webpack_require__,50983))),369:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,40599))),370:Ue.lazy(()=>__webpack_require__.e(5705).then(__webpack_require__.bind(__webpack_require__,84033))),371:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,90821))),372:Ue.lazy(()=>__webpack_require__.e(559).then(__webpack_require__.bind(__webpack_require__,54587))),373:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,40599))),374:Ue.lazy(()=>__webpack_require__.e(4757).then(__webpack_require__.bind(__webpack_require__,89955))),375:Ue.lazy(()=>__webpack_require__.e(1783).then(__webpack_require__.bind(__webpack_require__,61471))),376:Ue.lazy(()=>__webpack_require__.e(7477).then(__webpack_require__.bind(__webpack_require__,3279))),377:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,99661))),378:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,99661))),379:Ue.lazy(()=>__webpack_require__.e(6796).then(__webpack_require__.bind(__webpack_require__,36546))),380:Ue.lazy(()=>__webpack_require__.e(4504).then(__webpack_require__.bind(__webpack_require__,21105))),381:Ue.lazy(()=>__webpack_require__.e(7058).then(__webpack_require__.bind(__webpack_require__,97769))),382:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8447)]).then(__webpack_require__.bind(__webpack_require__,11369))),383:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,97927))),384:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,97927))),385:Ue.lazy(()=>__webpack_require__.e(5238).then(__webpack_require__.bind(__webpack_require__,13793))),386:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4715)]).then(__webpack_require__.bind(__webpack_require__,42100))),387:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3873)]).then(__webpack_require__.bind(__webpack_require__,22330))),388:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,91591))),389:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,91591))),390:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6265)]).then(__webpack_require__.bind(__webpack_require__,14291))),391:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,75673))),392:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,75673))),393:Ue.lazy(()=>__webpack_require__.e(1713).then(__webpack_require__.bind(__webpack_require__,82125))),394:Ue.lazy(()=>__webpack_require__.e(5891).then(__webpack_require__.bind(__webpack_require__,30654))),395:Ue.lazy(()=>__webpack_require__.e(8398).then(__webpack_require__.bind(__webpack_require__,38542))),396:Ue.lazy(()=>__webpack_require__.e(8241).then(__webpack_require__.bind(__webpack_require__,92314))),397:Ue.lazy(()=>__webpack_require__.e(2339).then(__webpack_require__.bind(__webpack_require__,74232))),398:Ue.lazy(()=>__webpack_require__.e(7589).then(__webpack_require__.bind(__webpack_require__,50983))),399:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,40599))),400:Ue.lazy(()=>__webpack_require__.e(5705).then(__webpack_require__.bind(__webpack_require__,84033))),401:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,90821))),402:Ue.lazy(()=>__webpack_require__.e(4766).then(__webpack_require__.bind(__webpack_require__,86476))),403:Ue.lazy(()=>__webpack_require__.e(7560).then(__webpack_require__.bind(__webpack_require__,27454))),404:Ue.lazy(()=>__webpack_require__.e(6029).then(__webpack_require__.bind(__webpack_require__,33675))),405:Ue.lazy(()=>__webpack_require__.e(5179).then(__webpack_require__.bind(__webpack_require__,58197))),406:Ue.lazy(()=>__webpack_require__.e(4621).then(__webpack_require__.bind(__webpack_require__,57857))),407:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,90821))),408:Ue.lazy(()=>__webpack_require__.e(1831).then(__webpack_require__.bind(__webpack_require__,30266))),409:Ue.lazy(()=>__webpack_require__.e(2539).then(__webpack_require__.bind(__webpack_require__,88036))),410:Ue.lazy(()=>__webpack_require__.e(8143).then(__webpack_require__.bind(__webpack_require__,42463))),411:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5624)]).then(__webpack_require__.bind(__webpack_require__,66493))),412:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1461)]).then(__webpack_require__.bind(__webpack_require__,67489))),413:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4492)]).then(__webpack_require__.bind(__webpack_require__,32891))),414:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(9416)]).then(__webpack_require__.bind(__webpack_require__,57895))),415:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,75411))),416:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,75411))),417:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,75411))),418:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,75411))),419:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,75411))),420:Ue.lazy(()=>__webpack_require__.e(5022).then(__webpack_require__.bind(__webpack_require__,98372))),421:Ue.lazy(()=>__webpack_require__.e(6063).then(__webpack_require__.bind(__webpack_require__,16486))),422:Ue.lazy(()=>__webpack_require__.e(6063).then(__webpack_require__.bind(__webpack_require__,16486))),423:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7545)]).then(__webpack_require__.bind(__webpack_require__,9))),424:Ue.lazy(()=>__webpack_require__.e(1253).then(__webpack_require__.bind(__webpack_require__,16459))),425:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,90821))),426:Ue.lazy(()=>__webpack_require__.e(2216).then(__webpack_require__.bind(__webpack_require__,69623))),427:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5382)]).then(__webpack_require__.bind(__webpack_require__,73171))),428:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,90821))),429:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(8823)]).then(__webpack_require__.bind(__webpack_require__,83517))),430:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5915)]).then(__webpack_require__.bind(__webpack_require__,89325))),431:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,90821))),432:Ue.lazy(()=>__webpack_require__.e(570).then(__webpack_require__.bind(__webpack_require__,14103))),433:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,90821))),434:Ue.lazy(()=>__webpack_require__.e(8365).then(__webpack_require__.bind(__webpack_require__,84575))),435:Ue.lazy(()=>__webpack_require__.e(672).then(__webpack_require__.bind(__webpack_require__,6556))),436:Ue.lazy(()=>__webpack_require__.e(4058).then(__webpack_require__.bind(__webpack_require__,38124))),437:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,90821))),438:Ue.lazy(()=>__webpack_require__.e(4056).then(__webpack_require__.bind(__webpack_require__,75503))),439:Ue.lazy(()=>__webpack_require__.e(9487).then(__webpack_require__.bind(__webpack_require__,3518))),440:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,90821))),441:Ue.lazy(()=>__webpack_require__.e(532).then(__webpack_require__.bind(__webpack_require__,36693))),442:Ue.lazy(()=>__webpack_require__.e(7178).then(__webpack_require__.bind(__webpack_require__,11112))),443:Ue.lazy(()=>__webpack_require__.e(1660).then(__webpack_require__.bind(__webpack_require__,19041))),444:Ue.lazy(()=>__webpack_require__.e(7333).then(__webpack_require__.bind(__webpack_require__,76904))),445:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4227)]).then(__webpack_require__.bind(__webpack_require__,63295))),446:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8155)]).then(__webpack_require__.bind(__webpack_require__,4280))),447:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5186)]).then(__webpack_require__.bind(__webpack_require__,29069))),448:Ue.lazy(()=>__webpack_require__.e(5786).then(__webpack_require__.bind(__webpack_require__,28128))),449:Ue.lazy(()=>__webpack_require__.e(9366).then(__webpack_require__.bind(__webpack_require__,54240))),450:Ue.lazy(()=>__webpack_require__.e(5972).then(__webpack_require__.bind(__webpack_require__,23900))),451:Ue.lazy(()=>__webpack_require__.e(9366).then(__webpack_require__.bind(__webpack_require__,54240))),452:Ue.lazy(()=>__webpack_require__.e(1470).then(__webpack_require__.bind(__webpack_require__,39090))),453:Ue.lazy(()=>__webpack_require__.e(7182).then(__webpack_require__.bind(__webpack_require__,20649))),454:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,90821))),455:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2476)]).then(__webpack_require__.bind(__webpack_require__,57915))),456:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,90821))),457:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5729)]).then(__webpack_require__.bind(__webpack_require__,24721))),458:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,90821))),459:Ue.lazy(()=>__webpack_require__.e(6444).then(__webpack_require__.bind(__webpack_require__,62904))),460:Ue.lazy(()=>__webpack_require__.e(5111).then(__webpack_require__.bind(__webpack_require__,87038))),461:Ue.lazy(()=>__webpack_require__.e(2307).then(__webpack_require__.bind(__webpack_require__,33262))),462:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7224)]).then(__webpack_require__.bind(__webpack_require__,13771))),463:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,90821))),464:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(391),__webpack_require__.e(8866)]).then(__webpack_require__.bind(__webpack_require__,14917))),465:Ue.lazy(()=>__webpack_require__.e(2300).then(__webpack_require__.bind(__webpack_require__,33662))),466:Ue.lazy(()=>__webpack_require__.e(2501).then(__webpack_require__.bind(__webpack_require__,57548))),467:Ue.lazy(()=>__webpack_require__.e(3212).then(__webpack_require__.bind(__webpack_require__,13540))),468:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6904)]).then(__webpack_require__.bind(__webpack_require__,88986))),469:Ue.lazy(()=>__webpack_require__.e(1855).then(__webpack_require__.bind(__webpack_require__,93185))),470:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6904)]).then(__webpack_require__.bind(__webpack_require__,88986))),471:Ue.lazy(()=>__webpack_require__.e(1276).then(__webpack_require__.bind(__webpack_require__,86308))),472:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,12624))),473:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,12624))),474:Ue.lazy(()=>__webpack_require__.e(3784).then(__webpack_require__.bind(__webpack_require__,19560))),475:Ue.lazy(()=>__webpack_require__.e(3862).then(__webpack_require__.bind(__webpack_require__,18430))),476:Ue.lazy(()=>__webpack_require__.e(4565).then(__webpack_require__.bind(__webpack_require__,57050))),477:Ue.lazy(()=>__webpack_require__.e(6531).then(__webpack_require__.bind(__webpack_require__,60279))),478:Ue.lazy(()=>__webpack_require__.e(6170).then(__webpack_require__.bind(__webpack_require__,32717))),479:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,22255))),480:Ue.lazy(()=>__webpack_require__.e(1836).then(__webpack_require__.bind(__webpack_require__,79752))),481:Ue.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8435)]).then(__webpack_require__.bind(__webpack_require__,36464))),482:Ue.lazy(()=>__webpack_require__.e(3509).then(__webpack_require__.bind(__webpack_require__,94878))),483:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,22255))),484:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,22255))),485:Ue.lazy(()=>__webpack_require__.e(6034).then(__webpack_require__.bind(__webpack_require__,43982))),486:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8999)]).then(__webpack_require__.bind(__webpack_require__,49851))),487:Ue.lazy(()=>__webpack_require__.e(3910).then(__webpack_require__.bind(__webpack_require__,53727))),488:Ue.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(67)]).then(__webpack_require__.bind(__webpack_require__,73752))),489:Ue.lazy(()=>__webpack_require__.e(6531).then(__webpack_require__.bind(__webpack_require__,60279))),"@@/global-layout":Ue.lazy(()=>__webpack_require__.e(1717).then(__webpack_require__.bind(__webpack_require__,15221)))}}})}var I=__webpack_require__(3191),O=__webpack_require__(58293),k=__webpack_require__(71418),me=__webpack_require__(5755),ke=()=>Ue.createElement(k.Z,{size:"middle",className:me.Z.loading}),en=__webpack_require__(25690),$n=__webpack_require__(61186),dn=__webpack_require__.n($n),Di=__webpack_require__(91392),Ha=__webpack_require__.n(Di),Oa=__webpack_require__(34749),Ao=__webpack_require__.n(Oa),Ma=__webpack_require__(19277),io=__webpack_require__.n(Ma),ys=__webpack_require__(10238),kc=__webpack_require__.n(ys),Jl=__webpack_require__(33656),ec=__webpack_require__.n(Jl),bc=__webpack_require__(90111),Nu=__webpack_require__.n(bc),Oi=__webpack_require__(74959),tc=__webpack_require__.n(Oi),Rl=__webpack_require__(23250),Ro=__webpack_require__.n(Rl),Ws=__webpack_require__(58862),Ja=__webpack_require__.n(Ws),al=__webpack_require__(58319),sl=__webpack_require__.n(al),bl=__webpack_require__(62053),xl=__webpack_require__.n(bl),ol=__webpack_require__(47477),Xc=__webpack_require__.n(ol),Rc=__webpack_require__(59717),Vu=__webpack_require__.n(Rc);dn().extend(Ao()),dn().extend(io()),dn().extend(kc()),dn().extend(ec()),dn().extend(Nu()),dn().extend(tc()),dn().extend(Ro()),dn().extend(Ja()),dn().extend(sl()),dn().extend(xl()),dn().extend(Xc()),dn().extend(Vu()),dn().extend(Ha());var Qc=Object.defineProperty,Ll=Object.getOwnPropertySymbols,qc=Object.prototype.hasOwnProperty,hu=Object.prototype.propertyIsEnumerable,$u=(Tn,Kn,Bi)=>Kn in Tn?Qc(Tn,Kn,{enumerable:!0,configurable:!0,writable:!0,value:Bi}):Tn[Kn]=Bi,El=(Tn,Kn)=>{for(var Bi in Kn||(Kn={}))qc.call(Kn,Bi)&&$u(Tn,Bi,Kn[Bi]);if(Ll)for(var Bi of Ll(Kn))hu.call(Kn,Bi)&&$u(Tn,Bi,Kn[Bi]);return Tn},rc=(Tn,Kn,Bi)=>new Promise((Ea,zi)=>{var ua=Ki=>{try{vs(Bi.next(Ki))}catch(es){zi(es)}},ha=Ki=>{try{vs(Bi.throw(Ki))}catch(es){zi(es)}},vs=Ki=>Ki.done?Ea(Ki.value):Promise.resolve(Ki.value).then(ua,ha);vs((Bi=Bi.apply(Tn,Kn)).next())});const Cu="/react/build/",nc=!1;function Ml(){return rc(this,null,function*(){const Tn=(0,I.gD)(),{routes:Kn,routeComponents:Bi}=yield Oc(Tn);yield Tn.applyPlugins({key:"patchRoutes",type:en.ApplyPluginsType.event,args:{routes:Kn,routeComponents:Bi}});const Ea=Tn.applyPlugins({key:"modifyContextOpts",type:en.ApplyPluginsType.modify,initialValue:{}}),zi=Ea.basename||"/",ua=Ea.historyType||"browser",ha=(0,O.fi)(El({type:ua,basename:zi},Ea.historyOpts));return Tn.applyPlugins({key:"render",type:en.ApplyPluginsType.compose,initialValue(){const vs={useStream:!0,routes:Kn,routeComponents:Bi,pluginManager:Tn,mountElementId:"root",rootElement:Ea.rootElement||document.getElementById("root"),loadingComponent:ke,publicPath:Cu,runtimePublicPath:nc,history:ha,historyType:ua,basename:zi,__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{pureApp:!1,pureHtml:!1},callback:Ea.callback},Ki=Tn.applyPlugins({key:"modifyClientRenderOpts",type:en.ApplyPluginsType.modify,initialValue:vs});return gc(Ki)}})()})}Ml(),typeof window!="undefined"&&(window.g_umi={version:"4.4.11"})})()})();